@lovrabet/dsparser 1.3.4 → 1.3.5-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const a0_0x2f204f=a0_0x5ce8;(function(_0x3fc39b,_0xfa9689){const _0x42026f=a0_0x5ce8,_0x27e524=_0x3fc39b();while(!![]){try{const _0x5b384=-parseInt(_0x42026f(0x327))/0x1*(-parseInt(_0x42026f(0x3d3))/0x2)+-parseInt(_0x42026f(0x280))/0x3+-parseInt(_0x42026f(0x319))/0x4+-parseInt(_0x42026f(0x423))/0x5+-parseInt(_0x42026f(0x3f3))/0x6+-parseInt(_0x42026f(0x268))/0x7+parseInt(_0x42026f(0x334))/0x8;if(_0x5b384===_0xfa9689)break;else _0x27e524['push'](_0x27e524['shift']());}catch(_0x2a3851){_0x27e524['push'](_0x27e524['shift']());}}}(a0_0x2ba4,0x8fc0d));function toCamelCase(_0x22a026){const _0x5c0c19=a0_0x5ce8;if(!_0x22a026)return'';return _0x22a026['split'](/[_-]/)[_0x5c0c19(0x2ec)]((_0x1aded6,_0x56a659)=>{const _0x16e40d=_0x5c0c19;if(_0x56a659===0x0)return _0x1aded6[_0x16e40d(0x3d6)]();return _0x1aded6[_0x16e40d(0x2ba)](0x0)['toUpperCase']()+_0x1aded6['slice'](0x1)[_0x16e40d(0x3d6)]();})[_0x5c0c19(0x39a)]('');}function toPascalCase(_0x1449d8){const _0x1167aa=a0_0x5ce8;if(!_0x1449d8)return'';const _0x3b7cbb=toCamelCase(_0x1449d8);return _0x3b7cbb['charAt'](0x0)[_0x1167aa(0x28b)]()+_0x3b7cbb[_0x1167aa(0x3cc)](0x1);}function toSnakeCase(_0x5d9295){const _0x57d48a=a0_0x5ce8;if(!_0x5d9295)return'';return _0x5d9295[_0x57d48a(0x2bf)](/([A-Z])/g,_0x57d48a(0x39c))['toLowerCase']()[_0x57d48a(0x2bf)](/^_/,'');}function toKebabCase(_0x5b1f7a){const _0xe5085=a0_0x5ce8;if(!_0x5b1f7a)return'';return _0x5b1f7a[_0xe5085(0x2bf)](/([A-Z])/g,_0xe5085(0x3da))[_0xe5085(0x3d6)]()[_0xe5085(0x2bf)](/^-/,'');}function normalizeFieldName(_0x5e0be2){const _0x2f3203=a0_0x5ce8;if(!_0x5e0be2)return'';return _0x5e0be2[_0x2f3203(0x20b)]()[_0x2f3203(0x2bf)](/\s+/g,'_')[_0x2f3203(0x2bf)](/[^a-zA-Z0-9_]/g,'_')[_0x2f3203(0x2bf)](/_+/g,'_')[_0x2f3203(0x2bf)](/^_|_$/g,'');}function getTableName(_0xabf074){const _0x4e48da=a0_0x5ce8;if(!_0xabf074)return _0x4e48da(0x41a);if(_0xabf074['dbtableConfig']?.[_0x4e48da(0x402)])return _0xabf074[_0x4e48da(0x474)][_0x4e48da(0x402)];const _0x3e21fa=_0xabf074['datasetCode']||_0xabf074[_0x4e48da(0x3ad)]||_0xabf074[_0x4e48da(0x204)];if(_0x3e21fa)return generateTableNameFromCode(_0x3e21fa);return _0x4e48da(0x41a);}function getTableKey(_0x23c51a){const _0x46a1ab=a0_0x5ce8;if(typeof _0x23c51a===_0x46a1ab(0x3b1))return toCamelCase(_0x23c51a);const _0x504164=getTableName(_0x23c51a);return toCamelCase(_0x504164);}function generateTableNameFromCode(_0x4d80b2){const _0x13b720=a0_0x5ce8;if(!_0x4d80b2)return _0x13b720(0x41a);const _0x3f823f=_0x4d80b2[_0x13b720(0x3cc)](-0x6)[_0x13b720(0x3a0)](0x6,'0');return'dataset_'+_0x3f823f;}function isVirtualTableName(_0x1babbf){const _0x2defff=a0_0x5ce8;return/^dataset_[a-zA-Z0-9]{6}$/[_0x2defff(0x26c)](_0x1babbf);}function generateModelKeyFromCode(_0x11a4ae){const _0x37ad9c=a0_0x5ce8;if(!_0x11a4ae)return _0x37ad9c(0x2bd);return _0x37ad9c(0x2c1)+_0x11a4ae;}function getDbName(_0x1923c7){const _0x393626=a0_0x5ce8;return _0x1923c7[_0x393626(0x474)]?.[_0x393626(0x25a)]||_0x1923c7[_0x393626(0x474)]?.[_0x393626(0x2ea)]?.[_0x393626(0x25a)]||'';}function generateDatasetsConfig(_0x575f79,_0x17a17e={}){const _0x20c631=a0_0x5ce8,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x455011,filter:_0x4f9992}=_0x17a17e,_0x41a253=_0x4f9992?_0x575f79['filter'](_0x4f9992):_0x575f79,_0x19380f=new Map();for(const _0x14a59b of _0x41a253){const _0x51a2fe=getTableName(_0x14a59b),_0x47d481=getDbName(_0x14a59b);!_0x19380f[_0x20c631(0x434)](_0x51a2fe)&&_0x19380f[_0x20c631(0x31c)](_0x51a2fe,new Set()),_0x19380f[_0x20c631(0x45a)](_0x51a2fe)[_0x20c631(0x36d)](_0x47d481);}const _0x234f9e=new Set();for(const [_0x780d9f,_0x27c3e2]of _0x19380f){_0x27c3e2[_0x20c631(0x43e)]>0x1&&_0x234f9e[_0x20c631(0x36d)](_0x780d9f);}const _0x4b1d81={},_0x2bbc96=new Set();for(const _0x246b2e of _0x41a253){const _0x44872a=getTableName(_0x246b2e);if(enableDeduplication&&_0x2bbc96['has'](_0x44872a)){console[_0x20c631(0x441)](_0x20c631(0x3cd)+_0x44872a+_0x20c631(0x248)+_0x246b2e[_0x20c631(0x1fa)]+'\x20('+_0x246b2e[_0x20c631(0x1ff)]+')');continue;}_0x2bbc96[_0x20c631(0x36d)](_0x44872a);const _0xde6c70=_0x455011?_0x455011(_0x44872a,_0x246b2e):getTableKey(_0x44872a),_0xe28ae9=getDbName(_0x246b2e),_0x31f081=_0x234f9e[_0x20c631(0x434)](_0x44872a)&&_0xe28ae9?getTableKey(_0xe28ae9)+'_'+_0xde6c70:_0xde6c70;_0x4b1d81[_0xde6c70]={'key':_0xde6c70,'alias':_0x31f081,'tableName':_0x44872a,'datasetCode':_0x246b2e[_0x20c631(0x1ff)],'name':_0x246b2e[_0x20c631(0x1fa)],'id':_0x246b2e['id'],'dbName':_0xe28ae9};}return _0x4b1d81;}function generateFullDatasetsConfig(_0x2d1512,_0x3fd1ea={}){const _0x541ec6=a0_0x5ce8,{filter:_0x5c56c1,datasetNameGenerator:_0x41bd3c}=_0x3fd1ea,_0x313b96=_0x5c56c1?_0x2d1512[_0x541ec6(0x417)](_0x5c56c1):_0x2d1512,_0x4b3f17=new Map();for(const _0x698d5f of _0x313b96){const _0x4b7773=getTableName(_0x698d5f),_0x2eb05a=getDbName(_0x698d5f);!_0x4b3f17[_0x541ec6(0x434)](_0x4b7773)&&_0x4b3f17['set'](_0x4b7773,new Set()),_0x4b3f17[_0x541ec6(0x45a)](_0x4b7773)[_0x541ec6(0x36d)](_0x2eb05a);}const _0x482532=new Set();for(const [_0x255fa6,_0x14e305]of _0x4b3f17){_0x14e305[_0x541ec6(0x43e)]>0x1&&_0x482532['add'](_0x255fa6);}const _0x2797be=groupByTableName(_0x313b96),_0xfef202={};for(const [_0x4d3d30,_0x59593d]of Object['entries'](_0x2797be)){if(_0x59593d['length']===0x1){const _0x81595b=_0x59593d[0x0],_0x3a3288=_0x41bd3c?_0x41bd3c(_0x4d3d30,_0x81595b):getTableKey(_0x4d3d30),_0x4a6089=getDbName(_0x81595b),_0x20b916=_0x482532[_0x541ec6(0x434)](_0x4d3d30)&&_0x4a6089?getTableKey(_0x4a6089)+'_'+_0x3a3288:_0x3a3288;_0xfef202[_0x3a3288]={'key':_0x3a3288,'alias':_0x20b916,'tableName':_0x4d3d30,'datasetCode':_0x81595b[_0x541ec6(0x1ff)],'name':_0x81595b['name'],'id':_0x81595b['id'],'dbName':_0x4a6089};}else{const _0x4c57a5=[..._0x59593d][_0x541ec6(0x208)]((_0x15dd04,_0x5b1021)=>{const _0x5beb39=Number(_0x15dd04['id'])||0x0,_0x300f24=Number(_0x5b1021['id'])||0x0;return _0x300f24-_0x5beb39;});_0x4c57a5[_0x541ec6(0x365)]((_0xb8cc21,_0x3ec0f8)=>{const _0x10277b=_0x541ec6,_0x2b1bd2=_0x41bd3c?_0x41bd3c(_0x4d3d30,_0xb8cc21):getTableKey(_0x4d3d30),_0x50e951=_0x3ec0f8===0x0?_0x2b1bd2:_0x2b1bd2+'_'+_0x3ec0f8,_0x457037=getDbName(_0xb8cc21),_0x315140=_0x482532[_0x10277b(0x434)](_0x4d3d30)&&_0x457037?getTableKey(_0x457037)+'_'+_0x50e951:_0x50e951;_0xfef202[_0x50e951]={'key':_0x50e951,'alias':_0x315140,'tableName':_0x4d3d30,'datasetCode':_0xb8cc21[_0x10277b(0x1ff)],'name':_0xb8cc21[_0x10277b(0x1fa)],'id':_0xb8cc21['id'],'dbName':_0x457037};});}}return _0xfef202;}function detectTableNameConflicts(_0x261843){const _0x3e2386=a0_0x5ce8,_0x540bef={};for(const _0x475ac6 of _0x261843){const _0x140681=getTableName(_0x475ac6);!_0x540bef[_0x140681]&&(_0x540bef[_0x140681]=[]),_0x540bef[_0x140681][_0x3e2386(0x214)](_0x475ac6);}const _0x58a1bc={};for(const [_0xebdc9c,_0x4255bc]of Object[_0x3e2386(0x294)](_0x540bef)){_0x4255bc['length']>0x1&&(_0x58a1bc[_0xebdc9c]=_0x4255bc);}return{'hasConflicts':Object['keys'](_0x58a1bc)[_0x3e2386(0x2cb)]>0x0,'conflicts':_0x58a1bc};}function createDatasetNameMap(_0x2ec044){const _0x5618c9=a0_0x5ce8,_0x267dbe={};for(const [_0xff96c2,_0x27e9b2]of Object[_0x5618c9(0x294)](_0x2ec044)){_0x267dbe[_0xff96c2]=_0x27e9b2[_0x5618c9(0x1ff)]||'';}return _0x267dbe;}function groupByTableName(_0x33f966){const _0x5a08cd=a0_0x5ce8,_0x58539f={};for(const _0x1490df of _0x33f966){const _0x484e62=getTableName(_0x1490df);!_0x58539f[_0x484e62]&&(_0x58539f[_0x484e62]=[]),_0x58539f[_0x484e62][_0x5a08cd(0x214)](_0x1490df);}return _0x58539f;}function datasetsConfigToArray(_0x39155c){const _0x27812c=a0_0x5ce8;return Object[_0x27812c(0x28f)](_0x39155c);}function adaptDrivenDataDetail(_0x537978){const _0x412737=a0_0x5ce8,_0x36b63c={};return _0x36b63c['id']=_0x537978[_0x412737(0x29d)],_0x36b63c[_0x412737(0x1fa)]=_0x537978[_0x412737(0x1fa)],_0x36b63c[_0x412737(0x1ff)]=_0x537978['modelCode'],_0x36b63c[_0x412737(0x474)]=_0x537978[_0x412737(0x474)],_0x36b63c['source']=_0x537978[_0x412737(0x32a)],_0x36b63c[_0x412737(0x48c)]=_0x537978['version'],_0x36b63c[_0x412737(0x485)]=_0x537978[_0x412737(0x485)],_0x36b63c['properties']=_0x537978[_0x412737(0x45f)],_0x36b63c[_0x412737(0x36e)]=_0x537978[_0x412737(0x36e)],_0x36b63c;}function adaptDrivenDataDetails(_0x4d4f8d){return _0x4d4f8d['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x55723f){const _0x42e053=a0_0x5ce8;if(!_0x55723f[_0x42e053(0x221)]||!_0x55723f['data'])throw new Error(_0x42e053(0x3d5)+(_0x55723f[_0x42e053(0x1fe)]||_0x55723f[_0x42e053(0x2cd)]));return adaptDrivenDataDetail(_0x55723f[_0x42e053(0x29c)]);}function extractDatasetsFromListResponse(_0x4c4dd1){const _0x2f0293=a0_0x5ce8;if(!_0x4c4dd1[_0x2f0293(0x221)]||!_0x4c4dd1[_0x2f0293(0x29c)]?.[_0x2f0293(0x426)])throw new Error(_0x2f0293(0x2af)+(_0x4c4dd1[_0x2f0293(0x1fe)]||_0x4c4dd1[_0x2f0293(0x2cd)]));return _0x4c4dd1['data'][_0x2f0293(0x426)]['map'](_0x413ece=>({..._0x413ece,'datasetCode':_0x413ece['code']||_0x413ece['datasetCode']}));}function isDrivenDataDetail(_0x57a6cf){const _0xd202dd=a0_0x5ce8;return Boolean(_0x57a6cf&&typeof _0x57a6cf[_0xd202dd(0x204)]==='string');}function smartAdapt(_0x322fdb){const _0x231ffc=a0_0x5ce8;if(isDrivenDataDetail(_0x322fdb))return adaptDrivenDataDetail(_0x322fdb);if(_0x322fdb[_0x231ffc(0x1ff)])return _0x322fdb;if(_0x322fdb[_0x231ffc(0x3ad)]){const _0x4809c9={..._0x322fdb};return _0x4809c9[_0x231ffc(0x1ff)]=_0x322fdb['code'],_0x4809c9;}return _0x322fdb;}var DatasetOperationType;(_0x2da1ba=>{const _0x3bbf44=a0_0x5ce8;_0x2da1ba[_0x3bbf44(0x326)]=_0x3bbf44(0x323),_0x2da1ba[_0x3bbf44(0x384)]=_0x3bbf44(0x257),_0x2da1ba[_0x3bbf44(0x354)]=_0x3bbf44(0x421),_0x2da1ba[_0x3bbf44(0x410)]=_0x3bbf44(0x382),_0x2da1ba[_0x3bbf44(0x468)]=_0x3bbf44(0x492),_0x2da1ba[_0x3bbf44(0x40f)]=_0x3bbf44(0x27c),_0x2da1ba[_0x3bbf44(0x3f5)]=_0x3bbf44(0x4a0),_0x2da1ba[_0x3bbf44(0x403)]=_0x3bbf44(0x3ec),_0x2da1ba[_0x3bbf44(0x352)]=_0x3bbf44(0x470),_0x2da1ba['EXCEL_EXPORT']='excelExport',_0x2da1ba[_0x3bbf44(0x328)]=_0x3bbf44(0x3e6),_0x2da1ba[_0x3bbf44(0x271)]=_0x3bbf44(0x30b),_0x2da1ba[_0x3bbf44(0x2a7)]=_0x3bbf44(0x2ef),_0x2da1ba['TASK_INFO']=_0x3bbf44(0x3d9),_0x2da1ba[_0x3bbf44(0x283)]=_0x3bbf44(0x30c);})(DatasetOperationType||={});function a0_0x2ba4(){const _0x545827=['has','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getEnumFields','getEnabledOperationInstances','TIMESTAMP','//\x20','支持单值或数组','getDisplayName','isOperatorApplicableToField','select','size','排序规则','String[]','warn','hasResponseSchema','SMALLINT','parseRawResponseBody','iterator','-\x20`','getCountByMethod','getFieldName','tooltip','/filter','//\x20Usage\x20examples','getFieldsFilterOperatorsMap','hasCreatorIdField','parseRawRequestBody','some','getFieldOptions','getSelectItemsSource','field_name','usageExample','getDatabaseVersion','hasTableName','(params);','这是一段较长的文本内容示例','dbTypeLen','options','get','FieldListV2(','_fieldListV1WithDeleted','responseSchema','(id,\x20','properties','$gteq','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getFieldDisplayName','getVirtualTables','isSystem','generateFullSDKExample','当前页码(从\x201\x20开始,默认:\x201)','getPath','CREATE','toArray','FieldV1(','getAllDatasets','where','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','sdkCall','_fieldListV1','getFileUrl','getSDKInitData','getOperationsOverviewData','getIndexes','dbtableConfig','北京市朝阳区','includes',',\x20...\x20});','orderBy','getPkField','object','\x20operations,\x20','获取上传脚本','getConflictStats','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','generateOperationSummary','appCode','online','isPrimaryKeyField','$eq','operationCount','extend','({\x20currentPage,\x20pageSize\x20});','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','LONGTEXT','getCreateTime','dataset','isPrimaryKey','version','value1','includeDeleted','getFullUrl','getFieldsWithDeleted','getDbName','create','文件上传','getEnabled','(id);','$contain','getDbTypeForOperation','创建导入','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','generateExampleValue','getEnumOptions','任务信息','getBusinessFields','value2','13800138000','delete','_fields','1.0.0-beta.8','context','isEnabled','_datasetMap','_instance','column','name','isUpdateTime','getPrimaryKeyFields','##\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','errorMsg','datasetCode','FILE','generateUsageExample','forceVersion','getOperators','modelCode','getOperations','getTableKey','BOOLEAN','sort','主键ID(必填)','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','trim','getByType','indexes','getFieldDataSource','fieldName','LONGBLOB','getDisabledOperations','address','getRawDbtableConfig','push','isAutoIncrement','round','getRequestFields','getFieldsByType','DECIMAL','findById','INTEGER','isDeleted','getAll','parse','dbType','({\x20code,\x20label\x20});','success','TINYINT','-\x20其他要更新的字段直接平铺在同一层级','getFieldsV2','getFilteredOperationAnalyses','解析\x20requestBody\x20失败:','\x20operations)','BOOL','alias','getFirst','getFieldNames','();\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}','supportsCRUD','Array','hasUpdateTimeField','\x20groups,\x20','status','SWITCH','doVersion','createAll','getOperationAnalysesByType','$gte','IMAGE','user@example.com','<!--\x5cs*CONDITION:\x5cs*','hasCreateTimeField','no\x20conflicts','主键,用于定位要更新的记录','substring','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','数组查询(支持多选)','聚合函数配置数组','TEXTAREA','getAllFieldsArray','env','currentPage','getFieldListV2','getFieldDescription','generateRequestAllExamples','\x22,数据集:\x20','total_count','columnName','generateSDKCallCode','选项编码(可选)','getId','HTTP\x20请求示例(平铺格式)','parseFieldExtend','_sum','_requestExampleCache','getConflictingItems','const\x20fileUrl\x20=\x20await\x20client.models.','bind','示例值','isFieldPrimaryKey','getOne','_relations','responseBody','dbName','getOperationCount','array','toDatasetName','null','toConfig','getGroupedParams','getDefaultValue','initDataset','[FieldV2]\x20Invalid\x20field\x20definition','BIT','getDisabledOperationInstances','creatorIdField','title','3300878sCWBjJ','isMultipleSelectField','分组字段列表','isNumericField','test','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','function','findAll','getOperation','CREATE_IMPORT','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','primaryKey','includeRequestExample','hasModifierIdField','getEnumFieldMeta','every','toField','generateHTTPRequestExample','getDatasetDocMeta','isEmpty','update','getCountByType','fromField','getUpdateFields','1455060dloWAL','sortNum','_raw','IMPORT_TEMPLATE','getTenantCode','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','getEnumMetas','isRequiredField','relations','item1','_operationAnalyses','toUpperCase','getDisabledNames','getFieldOperators','total','values','demo-app','getOperationsData','getOperationFieldsOperatorsMap','has\x20conflicts','entries','condition','displayName','getFieldCode','modifyDate','getFieldList','phone','getMethod','data','modelId','placeholder','hasOperation','FLOAT','generateAliasExplanation','getBusiness','number','enumValues','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','detectConflicts','CREATE_EXPORT','generateSDKInitCode','1.0','getOperationOperators','POST','method','host','getTooltip','获取数据集列表失败:\x20','//\x20Call\x20the\x20','groups','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','富文本','isBusiness','排序规则(与\x20Filter\x20API\x20一致)','hasLogicField','description','下拉选择','conflictGroupCount','charAt','主键ID','update\x20接口接受两个参数:\x0a\x0a','dataset_unknown','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','replace','getStats','dataset_','getAllFieldsString','isMultipleSelect','toFieldDefinition','daily','findByCode','datasetKey','SDK\x20调用','每页数量(可选)','isArray','length','generateRequestExample','msg','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','includeDisabled','default','API路径','DatasetList(','selectItemsSource','0000','split','getRequestParamsDocInfo','getInternalInstance','stringify','value','getType','getHTTPFields','groupByType','requestBody','customFilter','getEnumMeta','pageSize','时间戳','getFilteredOperations','toString','getOperationAnalysis','creatorNameField','logicField','DatasetGroup(','useArrayValues','查询单条(原始)','dblinkInfoDTO','groupBy','map','$ne','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','createExport','NUMBER','getFieldFilterOperators','defaultValue','getAutoIncrement','raw','keys','String','boolean','\x20fields)','每页数量','getFiltered','generateFieldExample','index','Operation\x20not\x20found:\x20','required','每页数量(默认:\x2020)','2024-12-31','getLatestDatasets','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','createTimeField','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','getName','getFieldV2','getFilterOperators','getDatabaseType','DrivenDataDetailPlusV2(','createImport','importTemplate','dbId','keyword','TIME','min','$startWith','DrivenDataDetail(','RADIO','SDK\x20调用示例(两参数格式)','sortOperationsWithFilterFirst','count','查询列表','[FieldV1.extend]\x20解析字段\x20','3564940oHKYzt','params','pkField','set','CHECKBOX','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','_max','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','fullUrl','valueLabels','getList','\x20operations,\x20v1)',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','GET_LIST','11lDTaej','GET_UPLOAD_FILE_SCRIPT','$lte','source','includeUsageExample',',\x20doType=','getHTTPRequestParamsDocInfo','distinct','getFieldRaw','\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','Number','excelExport','getSystemFields','27253960gdboUA','getDatasetMeta','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','type','DbtableConfig(table:\x20','getEnumFieldsMeta','2.0','https://example.com/file.pdf','deleted','hasDblinkInfo','字段编码','SDK\x20调用时传递两个参数:\x0a','();','getRelationsByField','getAggregates','tenantCode','$in','getDOType','getAllParams','errorCode','查询单条(用于更新)','useFullExample','dbVersion','generateConfigArray','(实际字段:','BIGINT','avg','getFieldListWithDeleted','toListItem','Excel导出','GET_FILE_URL','createTime','GET_ONE_ORIGIN','modifierNameField','getFieldCount','getFilterOperation','toJSON','generateFromSchema','hasFilterOperation','isVirtualTable','TEXT','_operationList','getField','enabled','hasConflict','isEnumField','successCode','**可更新的字段列表:**','getRelatedDataset','forEach','Field(','getRaw','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getSource','email','getRequiredFields','\x20operation','add','operations','获取文件URL','getOperationDocMeta','({\x20','label','multiple','JSON','isEnum','hasField','getEnum','2024-01-01','返回字段列表(字段投影)','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','Filter\x20API\x20-\x20高级查询接口','单值查询','({\x20/*\x20可选:筛选条件\x20*/\x20});','createDate','Integer','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','getConflicts','getOneUpdate','getRequestParams','GET_ONE','createFields','generateConfig','generateDefaultFilterOperation','toTableName','allFields','SELECT','CHAR','max','path','empty','getAt','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','getCount','random','_fieldListWithDeleted','getVersion','doType','query','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','\x20operations,\x20v2)','requestFields','join','DATE','_$1','generateResponseExample','dataIndex','datasetSDKKey','padStart','toFullConfig','getCodes','groupByTableName','having','getFieldInstance','findByName','fields','聚合函数配置数组(type:\x20sum/count/avg/max/min)','Object','ensureFilterOperation','children','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','code','now','日期时间','getFieldDefinition','string','precision','generateAllOperationsFullSDKExample','hasConflicts','INT','hasExtendField','isCreateTime','getDatasetSDKKey','yourModel','getEnabledNames','getEnabledOperationAnalyses','STRING','businessFieldCount','当前页码','_operations','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','DOUBLE','generateSingleValueExample','conflictItemCount','getDatabaseName','const\x20result\x20=\x20await\x20client.models.','[parseFieldExtend]\x20Invalid\x20field:','\x20groups)','labelField','分组后的过滤条件(对聚合结果进行过滤)','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','validateEnumValue','slice','[dsparser]\x20跳过重复的表名\x20\x22','getEnabledOperations','from','VARCHAR','Invalid\x20API\x20response:\x20success\x20is\x20false','$and','1570yBzVCh','datasetInfo','获取数据集失败:\x20','toLowerCase','aggregate','filterBlacklist','taskInfo','-$1','getFields','getLatest','示例文本','all','\x20的\x20extend\x20配置失败:','getOperationStats','getOperationRequestFields','getCode','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','totalGroups','查询单个条件','getUploadFileScript','\x20indexes)','getOperationAnalyses','$lteq','GET','updateTimeField','getSelectOptions','getOperationFieldOperators','hasRelation','DATETIME','generateAllOperationsSummary','getPrimaryKeys','$endWith','1935252iNMUyK','suffix','DELETE','要更新的字段数据对象','autoIncrement','getMissingCRUDOperations','getRelations','generateHTTPExample','getDBConfig','\x20fields,\x20','getRequired','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','toDatasetId','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','getResponseSchema','tableName','GET_SELECT_OPTIONS','isRequired','desc','enabledOperationCount','解析\x20responseBody\x20失败:','长文本','sdkCallCode','getAppCode','getRealTables','_min','_extend','请求示例','UPDATE','GET_ONE_UPDATE','getApplicableOperators','getModelAlias','查询单条','items','_avg','selectBestOperator','filter','getTableName','sum','dataset_000000','HTTP\x20直接调用时使用平铺格式:\x0a','isSystemField','tableKey','getDisabled','getFieldSelectItemsSource','totalCount','getOneOrigin','_datasetMeta','3281080GaFEeZ','操作成功','mapDbTypeToType','tableData','getResponseParamsDocInfo','getNames','系统自动生成','getEnumValues','getActive','paging','_fieldListV2','getSystem','getItems','支持多个条件','find','systemRetain','getOperationList'];a0_0x2ba4=function(){return _0x545827;};return a0_0x2ba4();}const a0_0x1ea050={};a0_0x1ea050[a0_0x2f204f(0x323)]=a0_0x2f204f(0x317),a0_0x1ea050[a0_0x2f204f(0x257)]=a0_0x2f204f(0x413),a0_0x1ea050[a0_0x2f204f(0x421)]=a0_0x2f204f(0x2e9),a0_0x1ea050[a0_0x2f204f(0x382)]=a0_0x2f204f(0x348),a0_0x1ea050[a0_0x2f204f(0x492)]='创建',a0_0x1ea050[a0_0x2f204f(0x27c)]='更新',a0_0x1ea050[a0_0x2f204f(0x4a0)]='删除',a0_0x1ea050['getSelectOptions']='获取下拉选项',a0_0x1ea050[a0_0x2f204f(0x470)]=a0_0x2f204f(0x36f),a0_0x1ea050[a0_0x2f204f(0x332)]=a0_0x2f204f(0x351),a0_0x1ea050[a0_0x2f204f(0x3e6)]=a0_0x2f204f(0x47c),a0_0x1ea050[a0_0x2f204f(0x30b)]=a0_0x2f204f(0x498),a0_0x1ea050['createExport']='创建导出',a0_0x1ea050['taskInfo']=a0_0x2f204f(0x49c),a0_0x1ea050[a0_0x2f204f(0x30c)]='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0x1ea050,API_BLACKLIST=[a0_0x2f204f(0x323),'getOneOrigin',a0_0x2f204f(0x382),'getFileUrl'];function parseFieldExtend(_0x2b3e35){const _0x1cb6bd=a0_0x2f204f;if(!_0x2b3e35||typeof _0x2b3e35!==_0x1cb6bd(0x47a))return!![]&&console[_0x1cb6bd(0x441)](_0x1cb6bd(0x3c6),_0x2b3e35),{};if(!_0x2b3e35[_0x1cb6bd(0x485)])return{};try{const _0xf94842=typeof _0x2b3e35[_0x1cb6bd(0x485)]===_0x1cb6bd(0x3b1)?JSON[_0x1cb6bd(0x21e)](_0x2b3e35[_0x1cb6bd(0x485)]):_0x2b3e35[_0x1cb6bd(0x485)];if(typeof _0xf94842!==_0x1cb6bd(0x47a)||_0xf94842===null)return{};return _0xf94842;}catch{return{};}}function isPrimaryKeyField(_0xfc7c4f,_0x23f958){const _0x28c183=a0_0x2f204f;if(!_0xfc7c4f||typeof _0xfc7c4f!==_0x28c183(0x47a))return![];if(typeof _0x23f958===_0x28c183(0x3b1)&&_0xfc7c4f[_0x28c183(0x3ad)]===_0x23f958)return!![];const _0x485546=parseFieldExtend(_0xfc7c4f);return Boolean(_0x485546[_0x28c183(0x273)]||_0x485546['pkField']);}function isSystemField(_0x26a70a){const _0x9c4b2f=parseFieldExtend(_0x26a70a);return Boolean(_0x9c4b2f['systemRetain']);}function isRequiredField(_0x3a2355){const _0x18abd9=a0_0x2f204f,_0x3b2429=parseFieldExtend(_0x3a2355);return Boolean(_0x3b2429[_0x18abd9(0x2fe)]);}function isAutoIncrementField(_0xe7898a){const _0x496be1=a0_0x2f204f,_0x82cd05=parseFieldExtend(_0xe7898a);return Boolean(_0x82cd05[_0x496be1(0x3f7)]);}function isCreateTimeField(_0x48d852){const _0x2b311d=parseFieldExtend(_0x48d852);return Boolean(_0x2b311d['createDate']);}function isModifyTimeField(_0x4aa4e9){const _0x4648f4=a0_0x2f204f,_0xe4fe4e=parseFieldExtend(_0x4aa4e9);return Boolean(_0xe4fe4e[_0x4648f4(0x298)]);}const a0_0x157ee0={};a0_0x157ee0[a0_0x2f204f(0x2f0)]='数字',a0_0x157ee0[a0_0x2f204f(0x35c)]='文本',a0_0x157ee0['TEXTAREA']=a0_0x2f204f(0x408),a0_0x157ee0[a0_0x2f204f(0x39b)]='日期',a0_0x157ee0[a0_0x2f204f(0x3ef)]=a0_0x2f204f(0x3af),a0_0x157ee0[a0_0x2f204f(0x438)]=a0_0x2f204f(0x2e1),a0_0x157ee0[a0_0x2f204f(0x38a)]=a0_0x2f204f(0x2b8),a0_0x157ee0[a0_0x2f204f(0x31d)]='多选',a0_0x157ee0['RADIO']='单选',a0_0x157ee0[a0_0x2f204f(0x232)]='开关',a0_0x157ee0['UPLOAD']=a0_0x2f204f(0x493),a0_0x157ee0[a0_0x2f204f(0x237)]='图片',a0_0x157ee0['RICH_TEXT']=a0_0x2f204f(0x2b3),a0_0x157ee0[a0_0x2f204f(0x374)]='JSON',a0_0x157ee0['ARRAY']='数组';var DB_TYPE_DISPLAY_MAP=a0_0x157ee0;function getDbTypeDisplay(_0x108dc1){const _0x535a82=a0_0x2f204f;if(typeof _0x108dc1!==_0x535a82(0x3b1))return!![]&&console['warn']('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x108dc1),String(_0x108dc1||'-');return DB_TYPE_DISPLAY_MAP[_0x108dc1]||_0x108dc1;}function formatDbType(_0x36dc4b,_0x55175e){const _0xcf5e5=a0_0x2f204f;if(!_0x36dc4b||typeof _0x36dc4b!==_0xcf5e5(0x3b1))return'-';if(!_0x55175e||typeof _0x55175e!==_0xcf5e5(0x2a3))return _0x36dc4b;const _0x359999=[_0xcf5e5(0x35c),'DATETIME',_0xcf5e5(0x438),'DATE'];if(_0x359999['includes'](_0x36dc4b[_0xcf5e5(0x28b)]()))return _0x36dc4b;return _0x36dc4b+'('+_0x55175e+')';}function parseOperationType(_0x12c963){const _0x4732ad=a0_0x2f204f;if(typeof _0x12c963!==_0x4732ad(0x3b1)){!![]&&console['warn']('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x12c963);return;}if(Object[_0x4732ad(0x28f)](DatasetOperationType)['includes'](_0x12c963))return _0x12c963;const _0x162d79=Object[_0x4732ad(0x294)](OPERATION_TYPE_DISPLAY_NAME)[_0x4732ad(0x431)](([_0x824c18,_0x133184])=>_0x133184===_0x12c963);return _0x162d79?_0x162d79[0x0]:undefined;}function shouldIncludeField(_0x3921cc,_0x4b6713,_0x2500c8){const _0x333295=a0_0x2f204f,_0x198c39=parseFieldExtend(_0x3921cc),_0x440237=isPrimaryKeyField(_0x3921cc,_0x2500c8),_0xfbca8b=Boolean(_0x198c39['systemRetain']),_0xa59b2b=Boolean(_0x198c39['autoIncrement']),_0x1cde69=Boolean(_0x198c39[_0x333295(0x37e)]),_0x20e035=Boolean(_0x198c39['modifyDate']);switch(_0x4b6713){case _0x333295(0x323):return!![];case'getOne':case _0x333295(0x421):case _0x333295(0x4a0):return _0x440237;case _0x333295(0x492):if(_0x440237&&_0xa59b2b)return![];if(_0xfbca8b)return![];if(_0x1cde69||_0x20e035)return![];return!![];case _0x333295(0x27c):case _0x333295(0x382):if(_0x440237)return!![];if(_0xfbca8b)return![];if(_0x1cde69||_0x20e035)return![];return!![];case _0x333295(0x3ec):return _0x3921cc[_0x333295(0x3ad)]===_0x333295(0x3ad);default:return!![];}}function getFieldsForOperation(_0x51f28b,_0x4c20e5,_0x42248d){const _0x59e949=a0_0x2f204f;if(!Array[_0x59e949(0x2ca)](_0x51f28b))return!![]&&console[_0x59e949(0x441)](_0x59e949(0x390),_0x51f28b),[];return _0x51f28b[_0x59e949(0x417)](_0x316848=>shouldIncludeField(_0x316848,_0x4c20e5,_0x42248d));}function isApiBlacklisted(_0x39e3eb){const _0x13e33a=a0_0x2f204f;if(typeof _0x39e3eb!==_0x13e33a(0x3b1))return!![]&&console[_0x13e33a(0x441)](_0x13e33a(0x31e),_0x39e3eb),![];return API_BLACKLIST['includes'](_0x39e3eb);}function filterApiOperations(_0x112bcb){const _0x245ed7=a0_0x2f204f;if(!Array[_0x245ed7(0x2ca)](_0x112bcb))return!![]&&console[_0x245ed7(0x441)]('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x112bcb),[];return _0x112bcb[_0x245ed7(0x417)](_0x3762e9=>_0x3762e9&&typeof _0x3762e9==='object'&&!isApiBlacklisted(_0x3762e9['name']));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x2f204f(0x3ae)](),'DATE':()=>Date[a0_0x2f204f(0x3ae)](),'SELECT':({fieldInfo:_0x41ecc2})=>{const _0x411725=a0_0x2f204f;if(_0x41ecc2?.[_0x411725(0x459)]&&Array[_0x411725(0x2ca)](_0x41ecc2['options'])&&_0x41ecc2[_0x411725(0x459)][_0x411725(0x2cb)]>0x0)return _0x41ecc2[_0x411725(0x459)][0x0][_0x411725(0x2d9)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x83be0b})=>{const _0x399202=a0_0x2f204f;if(_0x83be0b===_0x399202(0x244))return 0x1;if(_0x83be0b===_0x399202(0x2e0))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x223ce6})=>{const _0x13a481=a0_0x2f204f;if(_0x223ce6&&typeof _0x223ce6===_0x13a481(0x3b1)){const _0x3ab688=_0x223ce6[_0x13a481(0x3d6)]();if(_0x3ab688[_0x13a481(0x476)]('邮箱')||_0x3ab688[_0x13a481(0x476)](_0x13a481(0x36a)))return _0x13a481(0x238);if(_0x3ab688[_0x13a481(0x476)]('电话')||_0x3ab688[_0x13a481(0x476)]('手机')||_0x3ab688[_0x13a481(0x476)](_0x13a481(0x29a)))return _0x13a481(0x49f);if(_0x3ab688[_0x13a481(0x476)]('地址')||_0x3ab688[_0x13a481(0x476)](_0x13a481(0x212)))return _0x13a481(0x475);if(_0x3ab688[_0x13a481(0x476)]('姓名')||_0x3ab688['includes'](_0x13a481(0x1fa)))return'张三';}return _0x13a481(0x3dd);},'VARCHAR':({description:_0x52eb21})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x52eb21}),'CHAR':({description:_0x19b73c})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x19b73c}),'STRING':({fieldInfo:_0x19e6dc,description:_0x4caef1})=>{const _0x73c5c6=a0_0x2f204f;if(_0x19e6dc?.[_0x73c5c6(0x29e)]&&typeof _0x19e6dc[_0x73c5c6(0x29e)]===_0x73c5c6(0x3b1)&&_0x19e6dc[_0x73c5c6(0x29e)]!==_0x73c5c6(0x429))return _0x19e6dc['placeholder'][_0x73c5c6(0x2bf)](/^请输入|^请选择/,'');const _0x2425c8={};return _0x2425c8[_0x73c5c6(0x2b7)]=_0x4caef1,TYPE_VALUE_GENERATORS[_0x73c5c6(0x35c)](_0x2425c8);},'TEXTAREA':()=>a0_0x2f204f(0x457),'LONGTEXT':()=>a0_0x2f204f(0x457),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x2f204f(0x2d9)}),'ARRAY':()=>[a0_0x2f204f(0x289),'item2'],'UPLOAD':()=>a0_0x2f204f(0x33b),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>'<p>富文本内容</p>'};function generateExampleValue(_0x2576d4,_0x3cb85a,_0x565bb2,_0x49ffde={}){const _0x48bab6=a0_0x2f204f;typeof _0x2576d4!=='string'&&(!![]&&console['warn'](_0x48bab6(0x3ca),_0x2576d4),_0x2576d4=String(_0x2576d4||''));if(typeof _0x3cb85a!=='string')return!![]&&console[_0x48bab6(0x441)](_0x48bab6(0x336),_0x3cb85a),_0x48bab6(0x255);const {isPrimaryKey:_0x3de8f6,dbtableConfig:_0x447297}=_0x49ffde;if(_0x3de8f6)return 0x1;if(_0x447297&&typeof _0x447297===_0x48bab6(0x47a)){const _0x25a733=_0x447297['createTimeField']?.['fieldName']===_0x2576d4,_0x33443a=_0x447297['updateTimeField']?.[_0x48bab6(0x20f)]===_0x2576d4;if(_0x25a733||_0x33443a){if(_0x565bb2&&typeof _0x565bb2===_0x48bab6(0x3b1)&&_0x565bb2[_0x48bab6(0x28b)]()['includes'](_0x48bab6(0x438)))return Date['now']();return new Date()['toISOString']()[_0x48bab6(0x2bf)]('T','\x20')[_0x48bab6(0x2d5)]('.')[0x0];}}const _0x40e4={..._0x49ffde};_0x40e4['fieldCode']=_0x2576d4;const _0xd5f561=_0x40e4;if(_0x565bb2&&typeof _0x565bb2==='string'){const _0x3d368c=_0x565bb2[_0x48bab6(0x28b)](),_0x30a044=TYPE_VALUE_GENERATORS[_0x3d368c];if(_0x30a044)return _0x30a044(_0xd5f561);}if(_0x3cb85a&&typeof _0x3cb85a===_0x48bab6(0x3b1)){const _0x276a7a=_0x3cb85a[_0x48bab6(0x28b)](),_0x12b7c6=TYPE_VALUE_GENERATORS[_0x276a7a];if(_0x12b7c6)return _0x12b7c6(_0xd5f561);}return'示例值';}function generateExampleFromSchema(_0x17fb71,_0xad0e10){const _0x2368d5=a0_0x2f204f;if(!_0x17fb71||typeof _0x17fb71!==_0x2368d5(0x47a))return{};if(Array['isArray'](_0x17fb71)){if(_0x17fb71[_0x2368d5(0x2cb)]>0x0)return[generateExampleFromSchema(_0x17fb71[0x0],_0xad0e10)];return[];}const _0x5c32d0={};return Object[_0x2368d5(0x2f5)](_0x17fb71)[_0x2368d5(0x365)](_0xefc357=>{const _0x2e3158=_0x2368d5,_0x13615d=_0x17fb71[_0xefc357];if(_0x13615d&&typeof _0x13615d===_0x2e3158(0x47a)&&!Array[_0x2e3158(0x2ca)](_0x13615d)&&_0x13615d[_0x2e3158(0x337)]){const _0x29b037=_0x13615d,_0x844d67=_0x29b037['type'],_0x22a0a6=_0x29b037['description'];if(typeof _0x844d67==='string'){const _0xaa26a7={};_0xaa26a7[_0x2e3158(0x2b7)]=_0x22a0a6,_0xaa26a7[_0x2e3158(0x474)]=_0xad0e10,_0x5c32d0[_0xefc357]=generateExampleValue(_0xefc357,_0x844d67,undefined,_0xaa26a7);}else _0x5c32d0[_0xefc357]=_0x2e3158(0x255);}else{if(Array[_0x2e3158(0x2ca)](_0x13615d))_0x5c32d0[_0xefc357]=_0x13615d[_0x2e3158(0x2cb)]>0x0?[generateExampleFromSchema(_0x13615d[0x0],_0xad0e10)]:[];else _0x13615d&&typeof _0x13615d===_0x2e3158(0x47a)?_0x5c32d0[_0xefc357]=generateExampleFromSchema(_0x13615d,_0xad0e10):_0x5c32d0[_0xefc357]=_0x13615d;}}),_0x5c32d0;}function parseRequestBody(_0x4fa96e){const _0x2b6a4b=a0_0x2f204f;if(!_0x4fa96e)return{};try{return JSON[_0x2b6a4b(0x21e)](_0x4fa96e);}catch(_0x26cb25){return!![]&&console[_0x2b6a4b(0x441)](_0x2b6a4b(0x226),_0x26cb25),{};}}function parseResponseBody(_0x193b0f){const _0x138aef=a0_0x2f204f;if(!_0x193b0f)return null;try{const _0x57bb8b=JSON[_0x138aef(0x21e)](_0x193b0f);return _0x57bb8b['200']||_0x57bb8b;}catch(_0x271be3){return!![]&&console['warn'](_0x138aef(0x407),_0x271be3),null;}}function generateRequestExample(_0x3dc01,_0x3c607b,_0x85edf0,_0x1efb76){const _0x5880da=a0_0x2f204f,_0x80cb9c={};if(!Array[_0x5880da(0x2ca)](_0x3dc01))return!![]&&console[_0x5880da(0x441)](_0x5880da(0x320),_0x3dc01),_0x80cb9c;return _0x3dc01[_0x5880da(0x365)](_0x32d86b=>{const _0x43bcfe=_0x5880da;if(!_0x32d86b||typeof _0x32d86b!==_0x43bcfe(0x47a)){!![]&&console[_0x43bcfe(0x441)]('[generateRequestExample]\x20Invalid\x20field:',_0x32d86b);return;}if(typeof _0x32d86b[_0x43bcfe(0x3ad)]!==_0x43bcfe(0x3b1)||typeof _0x32d86b[_0x43bcfe(0x337)]!==_0x43bcfe(0x3b1)){!![]&&console[_0x43bcfe(0x441)](_0x43bcfe(0x305),_0x32d86b);return;}const _0x389f82=parseFieldExtend(_0x32d86b),_0x196e1e=_0x32d86b[_0x43bcfe(0x3ad)]===_0x85edf0||Boolean(_0x389f82?.[_0x43bcfe(0x273)]),_0x1a410e=generateExampleValue(_0x32d86b['code'],_0x32d86b['type'],typeof _0x32d86b[_0x43bcfe(0x21f)]==='string'?_0x32d86b[_0x43bcfe(0x21f)]:undefined,{'fieldInfo':_0x389f82,'isPrimaryKey':_0x196e1e,'description':_0x32d86b[_0x43bcfe(0x2b7)]||_0x32d86b[_0x43bcfe(0x1fa)],'dbtableConfig':_0x1efb76});_0x80cb9c[_0x32d86b[_0x43bcfe(0x3ad)]]=_0x1a410e;}),_0x3c607b===_0x5880da(0x323)&&(_0x80cb9c[_0x5880da(0x244)]=0x1,_0x80cb9c[_0x5880da(0x2e0)]=0xa),_0x80cb9c;}function formatEnumValue(_0x5dd3da,_0x25b528){const _0x8fc3a7=a0_0x2f204f;if(_0x5dd3da[_0x8fc3a7(0x373)]&&Array[_0x8fc3a7(0x2ca)](_0x25b528))return _0x25b528[_0x8fc3a7(0x2ec)](_0x5f34af=>_0x5dd3da[_0x8fc3a7(0x322)][String(_0x5f34af)]||String(_0x5f34af))[_0x8fc3a7(0x39a)](',\x20');return _0x5dd3da[_0x8fc3a7(0x322)][String(_0x25b528)]||String(_0x25b528);}function formatOptionsForDoc(_0x4c32ab){const _0x2f0e76=a0_0x2f204f;return _0x4c32ab[_0x2f0e76(0x2ec)](_0x3e1875=>_0x3e1875[_0x2f0e76(0x2d9)]+'('+_0x3e1875[_0x2f0e76(0x372)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x2f7cea,_0x1f73e7=0x0){const _0x730dbb='\x20\x20'['repeat'](_0x1f73e7),_0x4d9be9=[];return _0x2f7cea['forEach'](_0x32f7ae=>{const _0x15a634=a0_0x5ce8;_0x4d9be9['push'](_0x730dbb+_0x15a634(0x446)+_0x32f7ae[_0x15a634(0x2d9)]+'`:\x20'+_0x32f7ae[_0x15a634(0x372)]),_0x32f7ae[_0x15a634(0x3ab)]&&_0x32f7ae[_0x15a634(0x3ab)]['length']>0x0&&_0x4d9be9[_0x15a634(0x214)](formatOptionsAsMarkdownList(_0x32f7ae[_0x15a634(0x3ab)],_0x1f73e7+0x1));}),_0x4d9be9['join']('\x0a');}class DbtableConfig{[a0_0x2f204f(0x282)];constructor(_0xc57a05){const _0x184651=a0_0x2f204f,_0x1ec1fc={..._0xc57a05};this[_0x184651(0x282)]=_0x1ec1fc;}get[a0_0x2f204f(0x30d)](){const _0x12a7c8=a0_0x2f204f;return this[_0x12a7c8(0x282)][_0x12a7c8(0x30d)];}get[a0_0x2f204f(0x25a)](){const _0x1dc574=a0_0x2f204f;return this[_0x1dc574(0x282)][_0x1dc574(0x25a)]??this[_0x1dc574(0x282)][_0x1dc574(0x2ea)]?.[_0x1dc574(0x25a)];}get[a0_0x2f204f(0x402)](){const _0x266dc6=a0_0x2f204f;return this[_0x266dc6(0x282)][_0x266dc6(0x402)];}get[a0_0x2f204f(0x2c7)](){const _0x115b09=a0_0x2f204f;return this[_0x115b09(0x282)][_0x115b09(0x2c7)];}get[a0_0x2f204f(0x31b)](){const _0x2ddc54=a0_0x2f204f;return this[_0x2ddc54(0x282)]['pkField'];}get['labelField'](){const _0x158159=a0_0x2f204f;return this[_0x158159(0x282)][_0x158159(0x3c8)];}get[a0_0x2f204f(0x2e6)](){const _0x24f0e2=a0_0x2f204f;return this[_0x24f0e2(0x282)][_0x24f0e2(0x2e6)];}get['createTimeField'](){const _0x700ca1=a0_0x2f204f;return this[_0x700ca1(0x282)][_0x700ca1(0x303)];}get[a0_0x2f204f(0x3eb)](){const _0x4cd4ab=a0_0x2f204f;return this[_0x4cd4ab(0x282)][_0x4cd4ab(0x3eb)];}get['creatorIdField'](){return this['_raw']['creatorIdField'];}get[a0_0x2f204f(0x2e5)](){const _0x3b14e0=a0_0x2f204f;return this[_0x3b14e0(0x282)][_0x3b14e0(0x2e5)];}get['modifierIdField'](){const _0x1b9dea=a0_0x2f204f;return this[_0x1b9dea(0x282)]['modifierIdField'];}get[a0_0x2f204f(0x355)](){const _0x3476d9=a0_0x2f204f;return this[_0x3476d9(0x282)][_0x3476d9(0x355)];}get['dblinkInfoDTO'](){const _0x57d985=a0_0x2f204f;return this[_0x57d985(0x282)][_0x57d985(0x2ea)];}['getAllFieldsArray'](){const _0x4aadca=a0_0x2f204f;if(!this['_raw'][_0x4aadca(0x389)])return[];return this[_0x4aadca(0x282)][_0x4aadca(0x389)][_0x4aadca(0x2d5)](',')[_0x4aadca(0x2ec)](_0x43a7d8=>_0x43a7d8['trim']())[_0x4aadca(0x417)](Boolean);}[a0_0x2f204f(0x2c2)](){const _0x5218b3=a0_0x2f204f;return this[_0x5218b3(0x282)]['allFields'];}[a0_0x2f204f(0x376)](_0xf2d63){const _0x2d2975=a0_0x2f204f;return this[_0x2d2975(0x242)]()['includes'](_0xf2d63);}[a0_0x2f204f(0x455)](){const _0x38a518=a0_0x2f204f;return Boolean(this[_0x38a518(0x282)][_0x38a518(0x402)]);}[a0_0x2f204f(0x33d)](){return Boolean(this['_raw']['dblinkInfoDTO']);}[a0_0x2f204f(0x2b6)](){const _0x3fc41e=a0_0x2f204f;return Boolean(this[_0x3fc41e(0x282)][_0x3fc41e(0x2e6)]?.[_0x3fc41e(0x20f)]);}['hasCreateTimeField'](){const _0x1bbcfa=a0_0x2f204f;return Boolean(this[_0x1bbcfa(0x282)][_0x1bbcfa(0x303)]?.['fieldName']);}[a0_0x2f204f(0x22f)](){const _0x51e6d2=a0_0x2f204f;return Boolean(this[_0x51e6d2(0x282)][_0x51e6d2(0x3eb)]?.['fieldName']);}['hasCreatorIdField'](){const _0x286cef=a0_0x2f204f;return Boolean(this[_0x286cef(0x282)][_0x286cef(0x266)]?.['fieldName']);}[a0_0x2f204f(0x275)](){const _0x2681c7=a0_0x2f204f;return Boolean(this[_0x2681c7(0x282)]['modifierIdField']?.[_0x2681c7(0x20f)]);}[a0_0x2f204f(0x482)](_0x498664){const _0x5e950e=a0_0x2f204f;return this['_raw'][_0x5e950e(0x31b)]===_0x498664;}[a0_0x2f204f(0x41c)](_0x380be9){const _0x20dad2=a0_0x2f204f;return this[_0x20dad2(0x482)](_0x380be9)||this[_0x20dad2(0x282)][_0x20dad2(0x2e6)]?.[_0x20dad2(0x20f)]===_0x380be9||this[_0x20dad2(0x282)][_0x20dad2(0x303)]?.[_0x20dad2(0x20f)]===_0x380be9||this[_0x20dad2(0x282)]['updateTimeField']?.[_0x20dad2(0x20f)]===_0x380be9||this[_0x20dad2(0x282)][_0x20dad2(0x266)]?.['fieldName']===_0x380be9||this[_0x20dad2(0x282)][_0x20dad2(0x2e5)]?.[_0x20dad2(0x20f)]===_0x380be9||this[_0x20dad2(0x282)]['modifierIdField']?.['fieldName']===_0x380be9||this[_0x20dad2(0x282)]['modifierNameField']?.[_0x20dad2(0x20f)]===_0x380be9;}[a0_0x2f204f(0x3c4)](){const _0x3be7e0=a0_0x2f204f;return this[_0x3be7e0(0x282)][_0x3be7e0(0x2ea)]?.[_0x3be7e0(0x25a)];}[a0_0x2f204f(0x309)](){const _0x3590f2=a0_0x2f204f;return this['_raw'][_0x3590f2(0x2ea)]?.[_0x3590f2(0x21f)];}[a0_0x2f204f(0x454)](){const _0x398300=a0_0x2f204f;return this['_raw'][_0x398300(0x2ea)]?.[_0x398300(0x34a)];}[a0_0x2f204f(0x284)](){const _0x8b07c4=a0_0x2f204f;return this[_0x8b07c4(0x282)]['dblinkInfoDTO']?.[_0x8b07c4(0x343)];}[a0_0x2f204f(0x40a)](){const _0x4cd54e=a0_0x2f204f;return this['_raw'][_0x4cd54e(0x2ea)]?.[_0x4cd54e(0x480)];}['getSystemAnalysisResult'](){const _0x52023a=a0_0x2f204f;return this[_0x52023a(0x282)][_0x52023a(0x2ea)]?.['systemAnalysisResult'];}[a0_0x2f204f(0x2c0)](){const _0x17e3e6=a0_0x2f204f;return{'hasTableName':this[_0x17e3e6(0x455)](),'hasDblinkInfo':this['hasDblinkInfo'](),'fieldCount':this[_0x17e3e6(0x242)]()[_0x17e3e6(0x2cb)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x17e3e6(0x23a)](),'hasUpdateTimeField':this[_0x17e3e6(0x22f)](),'hasCreatorIdField':this[_0x17e3e6(0x44d)](),'hasModifierIdField':this[_0x17e3e6(0x275)]()}};}[a0_0x2f204f(0x25f)](){const _0x182c79=a0_0x2f204f,_0x23debf={};return _0x23debf['tableName']=this[_0x182c79(0x402)],_0x23debf[_0x182c79(0x31b)]=this['pkField'],_0x23debf[_0x182c79(0x2c7)]=this[_0x182c79(0x2c7)],_0x23debf['dbId']=this[_0x182c79(0x30d)],_0x23debf;}['toJSON'](){const _0x2f11ff=a0_0x2f204f,_0x581ad4={...this[_0x2f11ff(0x282)]};return _0x581ad4;}[a0_0x2f204f(0x367)](){const _0x28aa84={...this['_raw']};return _0x28aa84;}[a0_0x2f204f(0x2e3)](){const _0x4ce9d6=a0_0x2f204f,_0x99b82f=this[_0x4ce9d6(0x402)]||'N/A',_0x478252=this[_0x4ce9d6(0x242)]()[_0x4ce9d6(0x2cb)];return _0x4ce9d6(0x338)+_0x99b82f+',\x20fields:\x20'+_0x478252+')';}static[a0_0x2f204f(0x38e)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x2f204f(0x282)];constructor(_0x21a972){const _0x4c7793=a0_0x2f204f,_0x5afb9c=_0x21a972[_0x4c7793(0x1ff)]||_0x21a972[_0x4c7793(0x3ad)]||_0x21a972['modelCode'],_0x2999ee={..._0x21a972};_0x2999ee['datasetCode']=_0x5afb9c,this[_0x4c7793(0x282)]=_0x2999ee;}get['id'](){return this['_raw']['id'];}get[a0_0x2f204f(0x1fa)](){const _0x4edb5e=a0_0x2f204f;return this['_raw'][_0x4edb5e(0x1fa)];}[a0_0x2f204f(0x306)](){return this['name'];}get[a0_0x2f204f(0x1ff)](){const _0x148e1f=a0_0x2f204f;return this[_0x148e1f(0x282)][_0x148e1f(0x1ff)]||'';}get['dbtableConfig'](){const _0x31e903=a0_0x2f204f;if(!this[_0x31e903(0x282)][_0x31e903(0x474)])return null;return new DbtableConfig(this[_0x31e903(0x282)][_0x31e903(0x474)]);}['getRawDbtableConfig'](){const _0x18ebb9=a0_0x2f204f;return this[_0x18ebb9(0x282)][_0x18ebb9(0x474)];}[a0_0x2f204f(0x491)](){const _0x1b8181=a0_0x2f204f;return this['dbtableConfig']?.[_0x1b8181(0x25a)]||'';}['getTableName'](){const _0x125c1d=a0_0x2f204f;return getTableName(this[_0x125c1d(0x282)]);}['getTableKey'](){const _0x1de44f=a0_0x2f204f;return getTableKey(this[_0x1de44f(0x418)]());}[a0_0x2f204f(0x3b8)](){const _0x4aff76=a0_0x2f204f;return generateModelKeyFromCode(this[_0x4aff76(0x1ff)]);}['isVirtualTable'](){return isVirtualTableName(this['getTableName']());}['getModelName'](){const _0x4e3b09=a0_0x2f204f;return getTableKey(this[_0x4e3b09(0x418)]());}[a0_0x2f204f(0x25f)](){const _0x4ece0b=a0_0x2f204f,_0x425139=getTableKey(this[_0x4ece0b(0x418)]());return{'key':_0x425139,'alias':_0x425139,'tableName':this['getTableName'](),'datasetCode':this['datasetCode'],'name':this['name']};}[a0_0x2f204f(0x358)](){const _0x3335ae=a0_0x2f204f,_0xcf799e={...this[_0x3335ae(0x282)]};return _0xcf799e[_0x3335ae(0x1ff)]=this[_0x3335ae(0x1ff)],_0xcf799e;}[a0_0x2f204f(0x367)](){const _0x175165=a0_0x2f204f,_0x8e487c={...this[_0x175165(0x282)]};return _0x8e487c;}['hasDbtableConfig'](){const _0x402529=a0_0x2f204f,_0x598a82=this[_0x402529(0x474)];return _0x598a82!==null&&_0x598a82[_0x402529(0x455)]();}['getExtendField'](_0x11bded){const _0x539ce6=a0_0x2f204f;return this[_0x539ce6(0x282)][_0x11bded];}[a0_0x2f204f(0x3b6)](_0x13ad18){return _0x13ad18 in this['_raw'];}[a0_0x2f204f(0x2e3)](){const _0x3b5556=a0_0x2f204f;return'DatasetItem('+this[_0x3b5556(0x1fa)]+',\x20'+this[_0x3b5556(0x1ff)]+')';}}class Operation{[a0_0x2f204f(0x1fa)];[a0_0x2f204f(0x282)];[a0_0x2f204f(0x1f5)];constructor(_0x39ba68,_0x4d1351,_0x4e29f1){const _0x925fa9=a0_0x2f204f;this[_0x925fa9(0x1fa)]=_0x39ba68,this[_0x925fa9(0x282)]=_0x4d1351,this[_0x925fa9(0x1f5)]=_0x4e29f1;}[a0_0x2f204f(0x306)](){const _0x53e36f=a0_0x2f204f;return this[_0x53e36f(0x1fa)];}['getDisplayName'](){return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this['name'];}[a0_0x2f204f(0x2da)](){const _0x39b8f7=a0_0x2f204f;return parseOperationType(this[_0x39b8f7(0x1fa)]);}[a0_0x2f204f(0x1f6)](){const _0x1bc060=a0_0x2f204f;return this[_0x1bc060(0x282)]!==null&&this[_0x1bc060(0x282)]!==![];}[a0_0x2f204f(0x29b)](){const _0x33c282=a0_0x2f204f,_0x46f0f=this[_0x33c282(0x282)];if(_0x46f0f===![]||_0x46f0f===null)return'';return _0x46f0f[_0x33c282(0x2ac)]||_0x33c282(0x3ea);}[a0_0x2f204f(0x467)](){const _0x2c7f52=a0_0x2f204f,_0x46ea7d=this[_0x2c7f52(0x282)];if(_0x46ea7d===![]||_0x46ea7d===null)return'';return _0x46ea7d[_0x2c7f52(0x38d)]||'';}[a0_0x2f204f(0x48f)](){const _0x4a4b41=a0_0x2f204f,_0x5ca157=this[_0x4a4b41(0x282)];let _0x5d4939='';_0x5ca157!==![]&&_0x5ca157!==null&&_0x5ca157['host']&&(_0x5d4939=_0x5ca157[_0x4a4b41(0x2ad)]);const _0xb6d824=this[_0x4a4b41(0x467)]();return _0x5d4939&&_0xb6d824?''+_0x5d4939+_0xb6d824:_0xb6d824;}[a0_0x2f204f(0x44e)](){const _0x55c58d=a0_0x2f204f,_0x21f0bf=this['_raw'];if(_0x21f0bf===![]||_0x21f0bf===null||!_0x21f0bf[_0x55c58d(0x2dd)])return{};try{return JSON['parse'](_0x21f0bf[_0x55c58d(0x2dd)]);}catch{return{};}}['parseRawResponseBody'](){const _0x3746ca=a0_0x2f204f,_0x4b6171=this[_0x3746ca(0x282)];if(_0x4b6171===![]||_0x4b6171===null||!_0x4b6171[_0x3746ca(0x259)])return null;try{return JSON['parse'](_0x4b6171[_0x3746ca(0x259)]);}catch{return null;}}[a0_0x2f204f(0x383)](){const _0x216a5d=a0_0x2f204f;return this[_0x216a5d(0x44e)]();}[a0_0x2f204f(0x401)](){return this['parseRawResponseBody']();}[a0_0x2f204f(0x217)](){const _0xd391d4=a0_0x2f204f,_0x45095c=this['getRequestParams']();return Object[_0xd391d4(0x2f5)](_0x45095c);}[a0_0x2f204f(0x2cc)](){const _0x476fd1=a0_0x2f204f,_0x119952=this['getRequestParams'](),_0x3b8f8c={};return Object[_0x476fd1(0x294)](_0x119952)[_0x476fd1(0x365)](([_0x583d0d,_0x15b0b3])=>{const _0x1adfb1=_0x476fd1,_0x35e9e6=_0x15b0b3;_0x3b8f8c[_0x583d0d]=generateExampleValue(_0x583d0d,_0x35e9e6[_0x1adfb1(0x337)]||_0x1adfb1(0x2f6),undefined,{'description':_0x35e9e6[_0x1adfb1(0x2b7)]});}),_0x3b8f8c;}['generateHTTPExample'](){const _0x466045=a0_0x2f204f;return this[_0x466045(0x2cc)]();}[a0_0x2f204f(0x39d)](){const _0x511342=a0_0x2f204f,_0x11b1e1=this[_0x511342(0x444)]();if(!_0x11b1e1){const _0x4dd73c={};return _0x4dd73c['success']=!![],_0x4dd73c['msg']='操作成功',_0x4dd73c[_0x511342(0x1fe)]='',_0x4dd73c[_0x511342(0x347)]=_0x511342(0x2d4),_0x4dd73c[_0x511342(0x29c)]=null,_0x4dd73c;}return this[_0x511342(0x359)](_0x11b1e1);}['generateFromSchema'](_0x44d269){const _0x2adb9f=a0_0x2f204f;if(!_0x44d269||typeof _0x44d269!=='object')return{};if(Array['isArray'](_0x44d269))return _0x44d269['length']>0x0?[this[_0x2adb9f(0x359)](_0x44d269[0x0])]:[];const _0xe4644={};for(const [_0x1cb8d2,_0x8de92]of Object[_0x2adb9f(0x294)](_0x44d269)){if(_0x8de92&&typeof _0x8de92==='object'&&!Array[_0x2adb9f(0x2ca)](_0x8de92)){const _0x12f4a7=_0x8de92;_0xe4644[_0x1cb8d2]=generateExampleValue(_0x1cb8d2,_0x12f4a7['type']||'String',undefined,{'description':_0x12f4a7[_0x2adb9f(0x2b7)]});}else Array[_0x2adb9f(0x2ca)](_0x8de92)?_0xe4644[_0x1cb8d2]=_0x8de92[_0x2adb9f(0x2cb)]>0x0?[this[_0x2adb9f(0x359)](_0x8de92[0x0])]:[]:_0xe4644[_0x1cb8d2]=_0x8de92;}return _0xe4644;}[a0_0x2f204f(0x2fb)](_0x2f6cc3,_0x2641d4,_0x239568,_0x3debd0){return generateExampleValue(_0x2f6cc3,_0x2641d4,_0x239568,_0x3debd0);}[a0_0x2f204f(0x24b)](_0x42aa28,_0x4e0cc5){const _0x3013e6=a0_0x2f204f,_0x432b86=this['getName']();return _0x3013e6(0x3c5)+_0x42aa28+'.'+_0x432b86+_0x3013e6(0x340);}[a0_0x2f204f(0x201)](_0x5248cc){const _0x5a5218=a0_0x2f204f,_0x490f71=this[_0x5a5218(0x306)](),_0x488eef=_0x5248cc||_0x5a5218(0x3b9),_0x2c5f9c={};return _0x2c5f9c[_0x5a5218(0x362)]='const\x20data\x20=\x20await\x20client.models.'+_0x488eef+'.'+_0x490f71+_0x5a5218(0x340),_0x2c5f9c[_0x5a5218(0x347)]=_0x5a5218(0x3ac)+_0x488eef+'.'+_0x490f71+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x2c5f9c;}[a0_0x2f204f(0x2d6)](){const _0x4cad45=a0_0x2f204f,_0x4ebf4d=this[_0x4cad45(0x383)](),_0x23c820=Object[_0x4cad45(0x294)](_0x4ebf4d)[_0x4cad45(0x2ec)](([_0x33a499,_0x389eb0])=>{const _0xa78065=_0x4cad45,_0x445645=_0x389eb0,_0x42dd7c={};return _0x42dd7c['name']=_0x33a499,_0x42dd7c['type']=_0x445645[_0xa78065(0x337)]||'String',_0x42dd7c['description']=_0x445645[_0xa78065(0x2b7)]||'-',_0x42dd7c[_0xa78065(0x2fe)]=_0x445645[_0xa78065(0x2fe)],_0x42dd7c;}),_0x224022={};return _0x224022[_0x4cad45(0x31a)]=_0x23c820,_0x224022;}[a0_0x2f204f(0x427)](){const _0xe0fc1=a0_0x2f204f,_0x1de307=this[_0xe0fc1(0x444)]();if(!_0x1de307){const _0x2ffa49={};return _0x2ffa49['params']=[],_0x2ffa49;}const _0x104b54=Object[_0xe0fc1(0x294)](_0x1de307)[_0xe0fc1(0x2ec)](([_0x29844f,_0x20cd78])=>{const _0x4c2be6=_0xe0fc1,_0x2412ea=_0x20cd78,_0x47bfa5={};return _0x47bfa5[_0x4c2be6(0x1fa)]=_0x29844f,_0x47bfa5[_0x4c2be6(0x337)]=_0x2412ea[_0x4c2be6(0x337)]||'String',_0x47bfa5['description']=_0x2412ea[_0x4c2be6(0x2b7)]||'-',_0x47bfa5;}),_0x3f2628={};return _0x3f2628['params']=_0x104b54,_0x3f2628;}[a0_0x2f204f(0x333)](){return[];}['getBusinessFields'](){const _0x5223be=a0_0x2f204f;return this[_0x5223be(0x1f5)][_0x5223be(0x3a7)]||[];}[a0_0x2f204f(0x346)](){const _0xe36010=a0_0x2f204f;return{'systemFields':this['getSystemFields'](),'businessFields':this[_0xe36010(0x49d)]()};}[a0_0x2f204f(0x3b0)](_0x1947f8){const _0x147522=a0_0x2f204f;return this[_0x147522(0x1f5)][_0x147522(0x3a7)][_0x147522(0x431)](_0x27590c=>_0x27590c?.[_0x147522(0x3ad)]===_0x1947f8);}['getFieldCode'](_0x18981b){const _0x3dbcfc=a0_0x2f204f;return _0x18981b[_0x3dbcfc(0x3ad)];}['getFieldType'](_0x2a43af){const _0x426598=a0_0x2f204f;return _0x2a43af[_0x426598(0x337)];}[a0_0x2f204f(0x462)](_0x599ac4){return _0x599ac4['name'];}[a0_0x2f204f(0x246)](_0x3495eb){return _0x3495eb['description'];}[a0_0x2f204f(0x450)](_0x5b002d){const _0x4c7d5d=a0_0x2f204f;return _0x5b002d[_0x4c7d5d(0x49b)]()||null;}[a0_0x2f204f(0x256)](_0x5166fa){return _0x5166fa['isPrimaryKey']();}[a0_0x2f204f(0x203)](){return[];}[a0_0x2f204f(0x28d)](_0x31c91a){return[];}[a0_0x2f204f(0x358)](){const _0x5c9058=a0_0x2f204f;return{'name':this[_0x5c9058(0x306)](),'displayName':this[_0x5c9058(0x43b)](),'type':this[_0x5c9058(0x2da)](),'enabled':this[_0x5c9058(0x1f6)](),'method':this[_0x5c9058(0x29b)](),'path':this[_0x5c9058(0x467)](),'fullUrl':this['getFullUrl'](),'requestParams':this[_0x5c9058(0x383)](),'requestExample':this[_0x5c9058(0x2cc)](),'responseExample':this['generateResponseExample']()};}[a0_0x2f204f(0x2e3)](){const _0x9735e2=a0_0x2f204f,_0x550567=this[_0x9735e2(0x1f6)]()?'启用':'禁用';return this[_0x9735e2(0x43b)]()+'('+this['name']+',\x20'+_0x550567+')';}}class GenericOperation extends Operation{[a0_0x2f204f(0x251)];['getRequestParams'](){const _0x5a47ed=a0_0x2f204f;return this[_0x5a47ed(0x44e)]();}[a0_0x2f204f(0x401)](){return this['parseRawResponseBody']();}[a0_0x2f204f(0x2cc)](){const _0x9be6d3=a0_0x2f204f;if(this[_0x9be6d3(0x251)])return this[_0x9be6d3(0x251)];const _0x52d17={},_0x327038=this[_0x9be6d3(0x383)](),_0x448a17=this['getType']();if(Object['keys'](_0x327038)[_0x9be6d3(0x2cb)]===0x0&&_0x448a17){const _0x406ed6=this[_0x9be6d3(0x49d)]();return _0x406ed6[_0x9be6d3(0x365)](_0x102847=>{const _0x12726d=_0x9be6d3,_0x35811b=_0x102847[_0x12726d(0x3ad)],_0x49b835=_0x102847[_0x12726d(0x337)],_0x377e1e=this[_0x12726d(0x2fb)](_0x35811b,_0x49b835,_0x102847['getDbTypeForOperation'](),{'isPrimaryKey':_0x102847[_0x12726d(0x48b)](),'description':_0x102847[_0x12726d(0x2b7)]||_0x102847[_0x12726d(0x1fa)]});_0x52d17[_0x35811b]=_0x377e1e;}),this[_0x9be6d3(0x251)]=_0x52d17,_0x52d17;}return Object[_0x9be6d3(0x294)](_0x327038)[_0x9be6d3(0x365)](([_0x4ef6e9,_0x260768])=>{const _0x3812e4=_0x9be6d3,_0x2072a9=_0x260768;let _0x369cf6;if(typeof _0x2072a9[_0x3812e4(0x337)]===_0x3812e4(0x3b1))_0x369cf6=_0x2072a9[_0x3812e4(0x337)];else _0x2072a9[_0x3812e4(0x337)]&&typeof _0x2072a9['type']===_0x3812e4(0x47a)?_0x369cf6=_0x2072a9['type'][_0x3812e4(0x337)]||_0x3812e4(0x35c):_0x369cf6=_0x3812e4(0x35c);const _0x2a8195=_0x2072a9['description'],_0x1136be=this[_0x3812e4(0x3b0)](_0x4ef6e9);if(_0x4ef6e9===_0x3812e4(0x244))_0x52d17[_0x4ef6e9]=0x1;else{if(_0x4ef6e9===_0x3812e4(0x2e0))_0x52d17[_0x4ef6e9]=0xa;else{if(_0x4ef6e9==='id')_0x52d17[_0x4ef6e9]=0x1;else{const _0x543bc5=_0x1136be?_0x1136be[_0x3812e4(0x497)]():undefined,_0x597129=_0x1136be?_0x1136be[_0x3812e4(0x2b7)]:undefined,_0x2ed8e8=_0x1136be?_0x1136be[_0x3812e4(0x1fa)]:undefined;_0x52d17[_0x4ef6e9]=this[_0x3812e4(0x2fb)](_0x4ef6e9,_0x369cf6,_0x543bc5||undefined,{'isPrimaryKey':_0x4ef6e9===this[_0x3812e4(0x1f5)][_0x3812e4(0x31b)]||_0x4ef6e9==='id','description':_0x2a8195||_0x597129||_0x2ed8e8});}}}}),this[_0x9be6d3(0x251)]=_0x52d17,_0x52d17;}[a0_0x2f204f(0x39d)](){const _0x3b3eaf=a0_0x2f204f,_0x2ad62a=this['getResponseSchema']();if(!_0x2ad62a){const _0x295e47={};return _0x295e47[_0x3b3eaf(0x221)]=!![],_0x295e47[_0x3b3eaf(0x2cd)]=_0x3b3eaf(0x424),_0x295e47['errorMsg']='',_0x295e47[_0x3b3eaf(0x347)]=_0x3b3eaf(0x2d4),_0x295e47[_0x3b3eaf(0x29c)]=null,_0x295e47;}return this[_0x3b3eaf(0x359)](_0x2ad62a);}[a0_0x2f204f(0x359)](_0x1f196a){const _0x4323a9=a0_0x2f204f;if(!_0x1f196a||typeof _0x1f196a!=='object')return{};if(Array[_0x4323a9(0x2ca)](_0x1f196a)){if(_0x1f196a[_0x4323a9(0x2cb)]>0x0)return[this[_0x4323a9(0x359)](_0x1f196a[0x0])];return[];}const _0xa9dfac={};return Object[_0x4323a9(0x2f5)](_0x1f196a)[_0x4323a9(0x365)](_0x45402c=>{const _0x2fd56f=_0x4323a9,_0x5c83d8=_0x1f196a[_0x45402c];if(_0x5c83d8&&typeof _0x5c83d8===_0x2fd56f(0x47a)&&!Array[_0x2fd56f(0x2ca)](_0x5c83d8)&&_0x5c83d8[_0x2fd56f(0x337)]){const _0x232899=_0x5c83d8;let _0x4f47ca;if(typeof _0x232899[_0x2fd56f(0x337)]===_0x2fd56f(0x3b1))_0x4f47ca=_0x232899[_0x2fd56f(0x337)];else _0x232899['type']&&typeof _0x232899[_0x2fd56f(0x337)]===_0x2fd56f(0x47a)?_0x4f47ca=_0x232899[_0x2fd56f(0x337)][_0x2fd56f(0x337)]||_0x2fd56f(0x35c):_0x4f47ca='TEXT';const _0x5a8dec=_0x232899[_0x2fd56f(0x2b7)],_0x47b423={};_0x47b423[_0x2fd56f(0x2b7)]=_0x5a8dec,_0xa9dfac[_0x45402c]=this[_0x2fd56f(0x2fb)](_0x45402c,_0x4f47ca,undefined,_0x47b423);}else{if(Array['isArray'](_0x5c83d8))_0xa9dfac[_0x45402c]=_0x5c83d8[_0x2fd56f(0x2cb)]>0x0?[this[_0x2fd56f(0x359)](_0x5c83d8[0x0])]:[];else _0x5c83d8&&typeof _0x5c83d8===_0x2fd56f(0x47a)?_0xa9dfac[_0x45402c]=this[_0x2fd56f(0x359)](_0x5c83d8):_0xa9dfac[_0x45402c]=_0x5c83d8;}}),_0xa9dfac;}['generateSDKCallCode'](_0x30b48d,_0x1cf3ab){const _0x53a752=a0_0x2f204f,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1cf3ab||{},_0x49309a=this[_0x53a752(0x306)](),_0x16118d=this[_0x53a752(0x2da)](),_0x531f49=this[_0x53a752(0x217)](),_0xa97d56=this['generateRequestExample'](),_0x1df4a9=_0x4c412c=>{const _0x418d17=_0x53a752;if(Object['keys'](_0x4c412c)[_0x418d17(0x2cb)]===0x0)return'{}';const _0x2a2bf2=JSON['stringify'](_0x4c412c,null,0x2)[_0x418d17(0x2d5)]('\x0a')[_0x418d17(0x2ec)]((_0x338dc9,_0x561fb1)=>_0x561fb1===0x0?_0x338dc9:indent+_0x338dc9)['join']('\x0a');return _0x2a2bf2;};switch(_0x16118d){case _0x53a752(0x257):case _0x53a752(0x4a0):return _0x53a752(0x3c5)+_0x30b48d+'.'+_0x49309a+_0x53a752(0x495);case'update':if(useFullExample&&Object[_0x53a752(0x2f5)](_0xa97d56)[_0x53a752(0x2cb)]>0x0)return _0x53a752(0x3c5)+_0x30b48d+'.'+_0x49309a+_0x53a752(0x45e)+_0x1df4a9(_0xa97d56)+');';return _0x53a752(0x3c5)+_0x30b48d+'.'+_0x49309a+'(id,\x20data);';case _0x53a752(0x492):case _0x53a752(0x323):case _0x53a752(0x3ec):default:if(_0x531f49[_0x53a752(0x2cb)]>0x0){if(useFullExample&&Object[_0x53a752(0x2f5)](_0xa97d56)[_0x53a752(0x2cb)]>0x0)return _0x53a752(0x3c5)+_0x30b48d+'.'+_0x49309a+'('+_0x1df4a9(_0xa97d56)+');';else{const _0x2eb8af=Object[_0x53a752(0x2f5)](_0xa97d56);if(_0x2eb8af[_0x53a752(0x2cb)]>0x0){const _0x2616c1=_0x2eb8af[_0x53a752(0x3cc)](0x0,0x2)['join'](',\x20');return _0x53a752(0x3c5)+_0x30b48d+'.'+_0x49309a+_0x53a752(0x371)+_0x2616c1+_0x53a752(0x477);}else return _0x53a752(0x3c5)+_0x30b48d+'.'+_0x49309a+_0x53a752(0x456);}}else return'const\x20result\x20=\x20await\x20client.models.'+_0x30b48d+'.'+_0x49309a+_0x53a752(0x340);}}['generateRequestAllExamples'](){const _0x3f04c1=a0_0x2f204f;return[{'title':_0x3f04c1(0x40e),'data':this[_0x3f04c1(0x2cc)]()}];}['getSystemFields'](){const _0x216875=a0_0x2f204f,_0x3e9150=this['getType'](),_0x4ac897=[];switch(_0x3e9150){case _0x216875(0x257):case _0x216875(0x4a0):const _0x5d33b3={};_0x5d33b3[_0x216875(0x3ad)]='id',_0x5d33b3[_0x216875(0x337)]=_0x216875(0x2f0),_0x5d33b3['description']=_0x216875(0x2bb),_0x4ac897['push'](_0x5d33b3);break;case'getList':const _0x2edc64={};_0x2edc64[_0x216875(0x3ad)]=_0x216875(0x244),_0x2edc64[_0x216875(0x337)]=_0x216875(0x2f0),_0x2edc64[_0x216875(0x2b7)]=_0x216875(0x3be);const _0x55f18e={};_0x55f18e[_0x216875(0x3ad)]=_0x216875(0x2e0),_0x55f18e[_0x216875(0x337)]=_0x216875(0x2f0),_0x55f18e[_0x216875(0x2b7)]='每页条数',_0x4ac897[_0x216875(0x214)](_0x2edc64,_0x55f18e);break;case _0x216875(0x3ec):const _0x104e1c={};_0x104e1c[_0x216875(0x3ad)]=_0x216875(0x3ad),_0x104e1c[_0x216875(0x337)]=_0x216875(0x3bc),_0x104e1c[_0x216875(0x2b7)]=_0x216875(0x24c),_0x4ac897['push'](_0x104e1c);break;default:break;}return _0x4ac897;}[a0_0x2f204f(0x49d)](){const _0x38c502=a0_0x2f204f,_0x170540=this['getType'](),_0x23eb9e=this[_0x38c502(0x1f5)][_0x38c502(0x3a7)]||[];switch(_0x170540){case _0x38c502(0x257):case _0x38c502(0x4a0):return[];case _0x38c502(0x492):return _0x23eb9e[_0x38c502(0x417)](_0xc7d6c2=>{const _0x2e35d6=_0x38c502;if(_0xc7d6c2['deleted'])return![];if(_0xc7d6c2['isPrimaryKey']()&&_0xc7d6c2[_0x2e35d6(0x215)]())return![];if(_0xc7d6c2[_0x2e35d6(0x464)]())return![];if(_0xc7d6c2[_0x2e35d6(0x3b7)]()||_0xc7d6c2[_0x2e35d6(0x1fb)]())return![];return!![];});case'update':return _0x23eb9e[_0x38c502(0x417)](_0x5be2f3=>{const _0x422547=_0x38c502;if(_0x5be2f3['deleted'])return![];if(_0x5be2f3[_0x422547(0x48b)]())return![];if(_0x5be2f3[_0x422547(0x464)]())return![];if(_0x5be2f3[_0x422547(0x3b7)]()||_0x5be2f3[_0x422547(0x1fb)]())return![];if(_0x5be2f3[_0x422547(0x215)]())return![];return!![];});case _0x38c502(0x323):case _0x38c502(0x3ec):return _0x23eb9e['filter'](_0x186d6d=>!_0x186d6d[_0x38c502(0x33c)]&&_0x186d6d[_0x38c502(0x2b4)]());default:return _0x23eb9e[_0x38c502(0x417)](_0x2e9eb4=>!_0x2e9eb4[_0x38c502(0x33c)]&&_0x2e9eb4[_0x38c502(0x2b4)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x2f204f(0x383)](){const _0x3be0ee=a0_0x2f204f,_0x3b87fd=super[_0x3be0ee(0x383)](),_0x4eef0c=Object['keys'](_0x3b87fd);if(_0x4eef0c[_0x3be0ee(0x2cb)]===0x0||_0x4eef0c[_0x3be0ee(0x2cb)]===0x1&&_0x4eef0c[0x0]===_0x3be0ee(0x3ad)){if(!_0x3b87fd[_0x3be0ee(0x3ad)]){const _0x63e4ca={};_0x63e4ca[_0x3be0ee(0x337)]=_0x3be0ee(0x2f6),_0x63e4ca[_0x3be0ee(0x2b7)]=_0x3be0ee(0x33e),_0x3b87fd[_0x3be0ee(0x3ad)]=_0x63e4ca;}const _0x5703d0={};_0x5703d0[_0x3be0ee(0x337)]=_0x3be0ee(0x2f6),_0x5703d0[_0x3be0ee(0x2b7)]='字段名称',_0x3b87fd[_0x3be0ee(0x372)]=_0x5703d0;}return _0x3b87fd;}[a0_0x2f204f(0x49d)](){return[];}[a0_0x2f204f(0x333)](){const _0x44eb16=a0_0x2f204f,_0x4fbe10={};_0x4fbe10[_0x44eb16(0x3ad)]=_0x44eb16(0x3ad),_0x4fbe10[_0x44eb16(0x337)]=_0x44eb16(0x2f6),_0x4fbe10['description']='字段编码';const _0x34c3d3={};return _0x34c3d3['code']=_0x44eb16(0x372),_0x34c3d3[_0x44eb16(0x337)]='String',_0x34c3d3[_0x44eb16(0x2b7)]='字段名称',[_0x4fbe10,_0x34c3d3];}['generateRequestExample'](){const _0x520d42=a0_0x2f204f,_0xadd7a4={};return _0xadd7a4['code']=_0x520d42(0x452),_0xadd7a4[_0x520d42(0x372)]='field_name',_0xadd7a4;}[a0_0x2f204f(0x24b)](_0x591d26){const _0x4d3496=a0_0x2f204f,_0x254510=this[_0x4d3496(0x306)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x591d26+'.'+_0x254510+_0x4d3496(0x220);}}class GetListOperation extends GenericOperation{[a0_0x2f204f(0x383)](){const _0x21d662=a0_0x2f204f,_0x19851e=super['getRequestParams'](),{currentPage:_0x304ebe,pageSize:_0x1e1ff4,..._0x4335c3}=_0x19851e,_0x51137f={};Object[_0x21d662(0x294)](_0x4335c3)['forEach'](([_0x23a346,_0x14bb5a])=>{const _0x47a0e5=_0x21d662;if(typeof _0x14bb5a===_0x47a0e5(0x47a)&&_0x14bb5a!==null){const _0x262859=_0x14bb5a,_0x218721=_0x262859[_0x47a0e5(0x2b7)]||'',_0x2c7bb6={..._0x262859};_0x2c7bb6[_0x47a0e5(0x2b7)]=_0x218721?_0x218721+'(支持单值或数组)':_0x47a0e5(0x43a),_0x51137f[_0x23a346]=_0x2c7bb6;}else _0x51137f[_0x23a346]=_0x14bb5a;});const _0x37659b={...typeof _0x304ebe==='object'?_0x304ebe:{}};_0x37659b[_0x21d662(0x337)]=_0x21d662(0x331),_0x37659b['description']=_0x21d662(0x3be);const _0x114264={...typeof _0x1e1ff4===_0x21d662(0x47a)?_0x1e1ff4:{}};_0x114264[_0x21d662(0x337)]='Number',_0x114264[_0x21d662(0x2b7)]=_0x21d662(0x2f9);const _0x45e465={..._0x51137f};return _0x45e465[_0x21d662(0x244)]=_0x37659b,_0x45e465['pageSize']=_0x114264,_0x45e465;}[a0_0x2f204f(0x2cc)](_0x56654a){const _0x4fd24e=a0_0x2f204f,{useArrayValues:useArrayValues=!![]}=_0x56654a||{},_0x5743fd=super[_0x4fd24e(0x2cc)](),{currentPage:_0x136b59,pageSize:_0xaf7101,..._0x56cffc}=_0x5743fd;if(!useArrayValues){const _0x2de5e1={..._0x56cffc};return _0x2de5e1[_0x4fd24e(0x244)]=_0x136b59??0x1,_0x2de5e1[_0x4fd24e(0x2e0)]=_0xaf7101??0xa,_0x2de5e1;}const _0x160775={},_0x3742b6=['id',_0x4fd24e(0x231),_0x4fd24e(0x3ad),_0x4fd24e(0x337)];Object['entries'](_0x56cffc)[_0x4fd24e(0x365)](([_0x37eeb3,_0x253d43],_0xf6cac2)=>{const _0x129eb3=_0x4fd24e,_0xae6d21=_0x3742b6[_0x129eb3(0x44f)](_0xedba85=>_0x37eeb3[_0x129eb3(0x3d6)]()[_0x129eb3(0x476)](_0xedba85))||_0xf6cac2%0x3===0x0;if(_0xae6d21&&_0x253d43!==null&&_0x253d43!==undefined){if(typeof _0x253d43===_0x129eb3(0x2a3))_0x160775[_0x37eeb3]=[_0x253d43,_0x253d43+0x1,_0x253d43+0x2];else typeof _0x253d43===_0x129eb3(0x3b1)?_0x160775[_0x37eeb3]=[_0x253d43,_0x253d43+'_2',_0x253d43+'_3']:_0x160775[_0x37eeb3]=[_0x253d43];}else _0x160775[_0x37eeb3]=_0x253d43;});const _0x373114={..._0x160775};return _0x373114['currentPage']=_0x136b59??0x1,_0x373114['pageSize']=_0xaf7101??0xa,_0x373114;}[a0_0x2f204f(0x3c2)](){const _0x1db0b9=a0_0x2f204f,_0x111635={};return _0x111635[_0x1db0b9(0x2e8)]=![],this[_0x1db0b9(0x2cc)](_0x111635);}[a0_0x2f204f(0x247)](){const _0xede31f=a0_0x2f204f;return[{'title':_0xede31f(0x37c),'description':_0xede31f(0x3e5),'data':this[_0xede31f(0x3c2)]()},{'title':_0xede31f(0x23f),'description':_0xede31f(0x430),'data':this['generateRequestExample']()}];}[a0_0x2f204f(0x24b)](_0x1abfa7,_0x1f99f){const _0x5d055a=a0_0x2f204f,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1f99f||{},_0x218615=this[_0x5d055a(0x306)](),_0x31268a={};_0x31268a[_0x5d055a(0x2e8)]=!![];const _0x16c9fd=this[_0x5d055a(0x2cc)](_0x31268a),{currentPage:_0x40de10,pageSize:_0x2b3540,..._0x29cc52}=_0x16c9fd;if(useFullExample&&Object[_0x5d055a(0x2f5)](_0x16c9fd)[_0x5d055a(0x2cb)]>0x0){const _0x4ae90c=Object[_0x5d055a(0x2f5)](_0x29cc52)['length']>0x0;if(_0x4ae90c){const _0x4199dd=this['generateSingleValueExample'](),_0x24fa52=_0x119b0f=>{const _0x2e4ae1=_0x5d055a;return JSON['stringify'](_0x119b0f,null,0x2)[_0x2e4ae1(0x2d5)]('\x0a')[_0x2e4ae1(0x2ec)]((_0x28613d,_0x34f4a3)=>_0x34f4a3===0x0?_0x28613d:indent+_0x28613d)['join']('\x0a');};return _0x5d055a(0x46d)+_0x1abfa7+'.'+_0x218615+'('+_0x24fa52(_0x4199dd)+_0x5d055a(0x325)+_0x1abfa7+'.'+_0x218615+'('+_0x24fa52(_0x16c9fd)+');';}else{const _0x264c24=JSON[_0x5d055a(0x2d8)](_0x16c9fd,null,0x2)['split']('\x0a')[_0x5d055a(0x2ec)]((_0x4c1914,_0x3a150b)=>_0x3a150b===0x0?_0x4c1914:indent+_0x4c1914)[_0x5d055a(0x39a)]('\x0a');return _0x5d055a(0x3c5)+_0x1abfa7+'.'+_0x218615+'('+_0x264c24+');';}}if(Object['keys'](_0x29cc52)[_0x5d055a(0x2cb)]>0x0){const _0x3ae417=Object[_0x5d055a(0x2f5)](_0x29cc52)[0x0];return _0x5d055a(0x3c5)+_0x1abfa7+'.'+_0x218615+'({\x20'+_0x3ae417+',\x20currentPage,\x20pageSize,\x20...\x20});';}return'const\x20result\x20=\x20await\x20client.models.'+_0x1abfa7+'.'+_0x218615+_0x5d055a(0x486);}}var AGGREGATE_FUNCTIONS=[a0_0x2f204f(0x419),a0_0x2f204f(0x316),a0_0x2f204f(0x34e),a0_0x2f204f(0x38c),a0_0x2f204f(0x310)],FILTER_OPERATORS=[a0_0x2f204f(0x483),a0_0x2f204f(0x2ed),a0_0x2f204f(0x236),a0_0x2f204f(0x460),a0_0x2f204f(0x329),'$lteq','$in',a0_0x2f204f(0x496),a0_0x2f204f(0x311),a0_0x2f204f(0x3f2),a0_0x2f204f(0x3d2),'$or'];class FilterOperation extends GenericOperation{constructor(_0x54a7ee,_0x5f1a4d,_0x587dcb){super(_0x54a7ee,_0x5f1a4d,_0x587dcb);}[a0_0x2f204f(0x203)](){return FILTER_OPERATORS;}[a0_0x2f204f(0x28d)](_0x3fda74){const _0x259c40=a0_0x2f204f,_0x512d58=this['getFieldDefinition'](_0x3fda74);if(!_0x512d58)return[];return this[_0x259c40(0x411)](_0x512d58);}[a0_0x2f204f(0x383)](){const _0x4a5e80=a0_0x2f204f,_0x280e03=super[_0x4a5e80(0x383)](),_0x981731={};_0x981731['type']=_0x4a5e80(0x3a9),_0x981731[_0x4a5e80(0x2b7)]='查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)',_0x981731[_0x4a5e80(0x2fe)]=![];const _0x275402={};_0x275402[_0x4a5e80(0x337)]=_0x4a5e80(0x440),_0x275402[_0x4a5e80(0x2b7)]=_0x4a5e80(0x379),_0x275402[_0x4a5e80(0x2fe)]=![];const _0x4e4818={};_0x4e4818[_0x4a5e80(0x337)]='Object[]',_0x4e4818[_0x4a5e80(0x2b7)]=_0x4a5e80(0x43f),_0x4e4818[_0x4a5e80(0x2fe)]=![];const _0x5259c6={};_0x5259c6[_0x4a5e80(0x337)]=_0x4a5e80(0x331),_0x5259c6['description']=_0x4a5e80(0x3be),_0x5259c6[_0x4a5e80(0x2fe)]=![],_0x5259c6[_0x4a5e80(0x2d0)]=0x1;const _0x1b5c54={};_0x1b5c54[_0x4a5e80(0x337)]=_0x4a5e80(0x331),_0x1b5c54[_0x4a5e80(0x2b7)]='每页数量',_0x1b5c54[_0x4a5e80(0x2fe)]=![],_0x1b5c54[_0x4a5e80(0x2d0)]=0xa;const _0x5654e8={..._0x280e03};return _0x5654e8[_0x4a5e80(0x46c)]=_0x981731,_0x5654e8[_0x4a5e80(0x43d)]=_0x275402,_0x5654e8[_0x4a5e80(0x478)]=_0x4e4818,_0x5654e8[_0x4a5e80(0x244)]=_0x5259c6,_0x5654e8['pageSize']=_0x1b5c54,_0x5654e8;}[a0_0x2f204f(0x333)](){const _0xdb62d1=a0_0x2f204f,_0x12e300=this[_0xdb62d1(0x383)](),_0x59569c=[],_0x258992=[_0xdb62d1(0x46c),_0xdb62d1(0x43d),_0xdb62d1(0x478),_0xdb62d1(0x244),_0xdb62d1(0x2e0)];return Object[_0xdb62d1(0x294)](_0x12e300)[_0xdb62d1(0x365)](([_0x49501f,_0x45fcc6])=>{const _0x314207=_0xdb62d1;if(_0x258992['includes'](_0x49501f)){const _0x3787d4=_0x45fcc6,_0x2d16f6={};_0x2d16f6[_0x314207(0x3ad)]=_0x49501f,_0x2d16f6[_0x314207(0x337)]=_0x3787d4[_0x314207(0x337)]||'Object',_0x2d16f6[_0x314207(0x2b7)]=_0x3787d4[_0x314207(0x2b7)]||'-',_0x59569c[_0x314207(0x214)](_0x2d16f6);}}),_0x59569c;}[a0_0x2f204f(0x49d)](){const _0x4e7445=a0_0x2f204f;return this[_0x4e7445(0x1f5)][_0x4e7445(0x3a7)]||[];}[a0_0x2f204f(0x260)](){const _0x151eca=a0_0x2f204f;return{'systemParams':this[_0x151eca(0x333)](),'businessFields':this[_0x151eca(0x49d)]()};}[a0_0x2f204f(0x2cc)](){const _0x572215=a0_0x2f204f,_0x4d1947=this['context'][_0x572215(0x3a7)]||[];if(_0x4d1947[_0x572215(0x2cb)]===0x0){const _0x5da758={};return _0x5da758[_0x572215(0x46c)]={},_0x5da758[_0x572215(0x244)]=0x1,_0x5da758[_0x572215(0x2e0)]=0x14,_0x5da758;}const _0x55701e={},_0x9a11c=_0x4d1947['slice'](0x0,Math[_0x572215(0x310)](0x3,_0x4d1947[_0x572215(0x2cb)]));_0x9a11c[_0x572215(0x365)](_0x3f61ee=>{const _0x357b4f=_0x572215,_0x42f6d7=this[_0x357b4f(0x411)](_0x3f61ee);if(_0x42f6d7[_0x357b4f(0x2cb)]===0x0)return;const _0x4dbb5e=this[_0x357b4f(0x416)](_0x3f61ee,_0x42f6d7),_0x25f185=this['generateExampleValue'](_0x3f61ee,_0x4dbb5e),_0x493ddc={};_0x493ddc[_0x4dbb5e]=_0x25f185,_0x55701e[_0x3f61ee[_0x357b4f(0x3ad)]]=_0x493ddc;});const _0x4c3563=_0x4d1947[_0x572215(0x3cc)](0x0,Math['min'](0x5,_0x4d1947[_0x572215(0x2cb)]))['map'](_0x3379c7=>_0x3379c7[_0x572215(0x3ad)]),_0x3fdac3=_0x4d1947[0x0]?_0x4d1947[0x0][_0x572215(0x3ad)]:'id',_0x7d713d={};_0x7d713d[_0x3fdac3]='DESC';const _0x3387be={};return _0x3387be['where']=_0x55701e,_0x3387be[_0x572215(0x43d)]=_0x4c3563,_0x3387be[_0x572215(0x478)]=[_0x7d713d],_0x3387be['currentPage']=0x1,_0x3387be['pageSize']=0x14,_0x3387be;}[a0_0x2f204f(0x24b)](_0x5f1270,_0x54a3da){const _0x25a2da=a0_0x2f204f,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x54a3da||{},_0x337a48=this['getName'](),_0x75bcf7=this['generateRequestExample'](),_0x23f032=_0x162e91=>{const _0x409bb6=a0_0x5ce8;return JSON[_0x409bb6(0x2d8)](_0x162e91,null,0x2)['split']('\x0a')['map']((_0x59c97c,_0x448a01)=>_0x448a01===0x0?_0x59c97c:indent+_0x59c97c)[_0x409bb6(0x39a)]('\x0a');};if(useFullExample){const _0x2f93a9=this[_0x25a2da(0x1f5)][_0x25a2da(0x3a7)]||[],_0x3eeaad={'where':_0x2f93a9[0x0]?{[_0x2f93a9[0x0][_0x25a2da(0x3ad)]]:{'$eq':this[_0x25a2da(0x49a)](_0x2f93a9[0x0],'$eq')}}:{},'select':_0x2f93a9['slice'](0x0,0x3)[_0x25a2da(0x2ec)](_0x9d5b28=>_0x9d5b28[_0x25a2da(0x3ad)]),'currentPage':0x1,'pageSize':0x14};let _0x36146a='';if(_0x2f93a9['length']>=0x3){const _0x56ef78={};_0x56ef78[_0x25a2da(0x3d2)]=[];const _0x10a604=_0x56ef78,_0x14ec36=[];if(_0x2f93a9['length']>0x0){const _0x397f27=_0x2f93a9['find'](_0xe7e2e8=>{const _0x2fe071=_0x25a2da,_0x585ffd=_0xe7e2e8[_0x2fe071(0x497)]();return[_0x2fe071(0x2f0),'INTEGER',_0x2fe071(0x34d),_0x2fe071(0x3b5),_0x2fe071(0x222),_0x2fe071(0x443)][_0x2fe071(0x476)](_0x585ffd);});if(_0x397f27){const _0x2bcf7c={};_0x2bcf7c[_0x25a2da(0x236)]=0x0,_0x2bcf7c['$lte']=0x64;const _0x5a482b={[_0x397f27[_0x25a2da(0x3ad)]]:_0x2bcf7c};_0x14ec36['push'](_0x5a482b);}}if(_0x2f93a9[_0x25a2da(0x2cb)]>0x1){const _0x12552d=_0x2f93a9[_0x25a2da(0x431)](_0x3cfda4=>{const _0x5a054f=_0x25a2da,_0x1607da=_0x3cfda4[_0x5a054f(0x497)]();return[_0x5a054f(0x3bc),_0x5a054f(0x35c),_0x5a054f(0x3d0),'CHAR',_0x5a054f(0x488)][_0x5a054f(0x476)](_0x1607da);});if(_0x12552d){const _0x45fb0a={};_0x45fb0a[_0x25a2da(0x496)]='keyword';const _0x2be0ac={[_0x12552d[_0x25a2da(0x3ad)]]:_0x45fb0a};_0x14ec36[_0x25a2da(0x214)](_0x2be0ac);}}if(_0x14ec36[_0x25a2da(0x2cb)]>0x0){_0x10a604['$and']=_0x14ec36;const _0x528f3e={'where':_0x10a604,'select':_0x2f93a9[_0x25a2da(0x3cc)](0x0,0x4)[_0x25a2da(0x2ec)](_0x483b62=>_0x483b62[_0x25a2da(0x3ad)]),'orderBy':[{[_0x2f93a9[0x0][_0x25a2da(0x3ad)]]:'DESC'}],'currentPage':0x1,'pageSize':0x14};_0x36146a=_0x25a2da(0x397)+_0x5f1270+'.'+_0x337a48+'('+_0x23f032(_0x528f3e)+');';}}return _0x25a2da(0x23e)+_0x5f1270+'.'+_0x337a48+'('+_0x23f032(_0x3eeaad)+');'+_0x36146a;}const _0x412dec=JSON['stringify'](_0x75bcf7,null,0x2)[_0x25a2da(0x2d5)]('\x0a')[_0x25a2da(0x2ec)]((_0x341421,_0x2853c9)=>_0x2853c9===0x0?_0x341421:indent+_0x341421)[_0x25a2da(0x39a)]('\x0a');return _0x25a2da(0x3c5)+_0x5f1270+'.'+_0x337a48+'('+_0x412dec+');';}['getApplicableOperators'](_0x5c5977){const _0x2b3465=a0_0x2f204f,_0x4045a2=_0x5c5977['getDbTypeForOperation'](),_0x2a57cd=[];if([_0x2b3465(0x2f0),_0x2b3465(0x21b),_0x2b3465(0x34d),_0x2b3465(0x219)][_0x2b3465(0x476)](_0x4045a2)||[_0x2b3465(0x3b5),_0x2b3465(0x222),_0x2b3465(0x443),_0x2b3465(0x3c1),_0x2b3465(0x2a0)][_0x2b3465(0x476)](_0x4045a2))_0x2a57cd[_0x2b3465(0x214)](_0x2b3465(0x483),_0x2b3465(0x2ed),_0x2b3465(0x236),_0x2b3465(0x329),_0x2b3465(0x460),_0x2b3465(0x3e9),'$in');else{if(['STRING',_0x2b3465(0x35c),_0x2b3465(0x3d0)][_0x2b3465(0x476)](_0x4045a2)||['CHAR',_0x2b3465(0x488)]['includes'](_0x4045a2))_0x2a57cd[_0x2b3465(0x214)]('$eq',_0x2b3465(0x2ed),_0x2b3465(0x344),'$contain','$startWith',_0x2b3465(0x3f2));else{if([_0x2b3465(0x39b),_0x2b3465(0x3ef),_0x2b3465(0x438)][_0x2b3465(0x476)](_0x4045a2)||['TIME'][_0x2b3465(0x476)](_0x4045a2))_0x2a57cd['push'](_0x2b3465(0x483),'$ne',_0x2b3465(0x236),_0x2b3465(0x329),'$gteq',_0x2b3465(0x3e9));else[_0x2b3465(0x207),_0x2b3465(0x228),_0x2b3465(0x264)]['includes'](_0x4045a2)?_0x2a57cd[_0x2b3465(0x214)](_0x2b3465(0x483),'$ne'):_0x2a57cd['push'](_0x2b3465(0x483),_0x2b3465(0x2ed));}}return _0x2a57cd;}[a0_0x2f204f(0x416)](_0x27ef58,_0x5e0497){const _0x4fe558=a0_0x2f204f,_0xcc52d=_0x27ef58[_0x4fe558(0x497)]();if(['NUMBER',_0x4fe558(0x21b),_0x4fe558(0x34d),_0x4fe558(0x219)][_0x4fe558(0x476)](_0xcc52d)||[_0x4fe558(0x3b5),'TINYINT',_0x4fe558(0x443),'DOUBLE',_0x4fe558(0x2a0)]['includes'](_0xcc52d))return _0x5e0497['includes'](_0x4fe558(0x236))?_0x4fe558(0x236):_0x4fe558(0x483);if([_0x4fe558(0x3bc),'TEXT',_0x4fe558(0x3d0)][_0x4fe558(0x476)](_0xcc52d)||['CHAR','LONGTEXT'][_0x4fe558(0x476)](_0xcc52d))return _0x5e0497[_0x4fe558(0x476)]('$contain')?_0x4fe558(0x496):_0x4fe558(0x483);if([_0x4fe558(0x39b),_0x4fe558(0x3ef),_0x4fe558(0x438),_0x4fe558(0x30f)][_0x4fe558(0x476)](_0xcc52d))return _0x5e0497[_0x4fe558(0x476)](_0x4fe558(0x236))?_0x4fe558(0x236):_0x4fe558(0x483);return _0x4fe558(0x483);}[a0_0x2f204f(0x49a)](_0xec4442,_0x252268){const _0x503f0b=a0_0x2f204f,_0x2093f5=_0xec4442[_0x503f0b(0x497)](),_0x265ffa=_0xec4442['getEnumOptions']();if(_0x265ffa&&_0x265ffa[_0x503f0b(0x2cb)]>0x0){if(_0x252268===_0x503f0b(0x344))return _0x265ffa[_0x503f0b(0x3cc)](0x0,0x2)['map'](_0xfadccd=>_0xfadccd[_0x503f0b(0x2d9)]);return _0x265ffa[0x0][_0x503f0b(0x2d9)];}if([_0x503f0b(0x2f0),'INTEGER',_0x503f0b(0x34d),_0x503f0b(0x219)][_0x503f0b(0x476)](_0x2093f5)||['INT',_0x503f0b(0x222),_0x503f0b(0x443),_0x503f0b(0x3c1),_0x503f0b(0x2a0)]['includes'](_0x2093f5)){if(_0x252268==='$in')return[0x1,0x2,0x3];if(_0x252268===_0x503f0b(0x236)||_0x252268===_0x503f0b(0x460))return 0x0;if(_0x252268==='$lte'||_0x252268===_0x503f0b(0x3e9))return 0x64;return 0x1;}if([_0x503f0b(0x3bc),_0x503f0b(0x35c),_0x503f0b(0x3d0)][_0x503f0b(0x476)](_0x2093f5)||[_0x503f0b(0x38b),_0x503f0b(0x488)][_0x503f0b(0x476)](_0x2093f5)){if(_0x252268===_0x503f0b(0x344))return[_0x503f0b(0x48d),'value2'];if(_0x252268===_0x503f0b(0x496))return _0x503f0b(0x30e);if(_0x252268===_0x503f0b(0x311))return'prefix';if(_0x252268===_0x503f0b(0x3f2))return'suffix';return'value';}if(['DATE',_0x503f0b(0x3ef),_0x503f0b(0x438),'TIME'][_0x503f0b(0x476)](_0x2093f5)){if(_0x252268===_0x503f0b(0x236)||_0x252268===_0x503f0b(0x460))return _0x503f0b(0x378);if(_0x252268===_0x503f0b(0x329)||_0x252268===_0x503f0b(0x3e9))return _0x503f0b(0x300);return _0x503f0b(0x378);}if([_0x503f0b(0x207),_0x503f0b(0x228),_0x503f0b(0x264)][_0x503f0b(0x476)](_0x2093f5))return!![];return _0x252268===_0x503f0b(0x344)?[_0x503f0b(0x48d),'value2']:_0x503f0b(0x2d9);}[a0_0x2f204f(0x2d6)](){const _0xc541e3=a0_0x2f204f,_0x4ee4e0=super[_0xc541e3(0x383)](),_0x123f9a=Object[_0xc541e3(0x294)](_0x4ee4e0)['filter'](([_0x3a83fc])=>_0x3a83fc!=='currentPage'&&_0x3a83fc!==_0xc541e3(0x2e0))['map'](([_0x2b50d2,_0x311672])=>{const _0x5370cf=_0xc541e3,_0x43dc94=_0x311672,_0x13ea34={};return _0x13ea34[_0x5370cf(0x1fa)]=_0x2b50d2,_0x13ea34[_0x5370cf(0x337)]=_0x43dc94['type']||_0x5370cf(0x2f6),_0x13ea34[_0x5370cf(0x2b7)]=_0x43dc94[_0x5370cf(0x2b7)]||'-',_0x13ea34[_0x5370cf(0x2fe)]=_0x43dc94[_0x5370cf(0x2fe)],_0x13ea34;}),_0x256891={};return _0x256891['description']=_0xc541e3(0x330),_0x256891['params']=_0x123f9a,_0x256891;}}class ExcelExportOperation extends GenericOperation{[a0_0x2f204f(0x383)](){const _0xc84fc1=a0_0x2f204f,_0x5d6df5=super[_0xc84fc1(0x383)]();if(Object[_0xc84fc1(0x2f5)](_0x5d6df5)['length']===0x0){const _0x1df626={};this['context'][_0xc84fc1(0x3a7)][_0xc84fc1(0x365)](_0xdc5113=>{const _0x12a46b=_0xc84fc1;if(_0xdc5113){const _0x20e16c=_0xdc5113['code'],_0x457cd1=_0xdc5113['getDbTypeForOperation'](),_0x3807c7={};_0x3807c7['type']=_0x457cd1||_0x12a46b(0x35c),_0x3807c7[_0x12a46b(0x281)]=_0xdc5113[_0x12a46b(0x281)],_0x3807c7[_0x12a46b(0x2b7)]=_0xdc5113['description']||_0xdc5113[_0x12a46b(0x1fa)],_0x1df626[_0x20e16c]=_0x3807c7;}});const _0x4fa75f={};_0x4fa75f['type']=_0xc84fc1(0x37f),_0x4fa75f[_0xc84fc1(0x2b7)]='当前页码(可选)',_0x1df626[_0xc84fc1(0x244)]=_0x4fa75f;const _0x3f5c28={};return _0x3f5c28['type']='Integer',_0x3f5c28['description']=_0xc84fc1(0x2c9),_0x1df626[_0xc84fc1(0x2e0)]=_0x3f5c28,_0x1df626;}return _0x5d6df5;}[a0_0x2f204f(0x2cc)](){const _0x3fceb8=a0_0x2f204f,_0xb62878=super[_0x3fceb8(0x2cc)]();if(Object[_0x3fceb8(0x2f5)](_0xb62878)[_0x3fceb8(0x2cb)]===0x0){const _0x29df95={};return _0x29df95[_0x3fceb8(0x244)]=0x1,_0x29df95[_0x3fceb8(0x2e0)]=0x64,_0x29df95;}const _0x51bf71={..._0xb62878};return _0x51bf71[_0x3fceb8(0x244)]=_0xb62878[_0x3fceb8(0x244)]??0x1,_0x51bf71[_0x3fceb8(0x2e0)]=_0xb62878[_0x3fceb8(0x2e0)]??0x64,_0x51bf71;}[a0_0x2f204f(0x39d)](){const _0x2f2855=a0_0x2f204f,_0x1104b6={};return _0x1104b6['success']=!![],_0x1104b6[_0x2f2855(0x2cd)]='',_0x1104b6[_0x2f2855(0x1fe)]='',_0x1104b6[_0x2f2855(0x347)]=_0x2f2855(0x2d4),_0x1104b6[_0x2f2855(0x29c)]=_0x2f2855(0x3fe),_0x1104b6[_0x2f2855(0x31a)]=null,_0x1104b6;}['generateSDKCallCode'](_0x294584,_0x56578){const _0x1bd5e7=a0_0x2f204f,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x56578||{},_0xb58d5c=this['getName']();if(useFullExample){const _0x11af4f=this[_0x1bd5e7(0x2cc)](),{currentPage:_0x453801,pageSize:_0x29892a,..._0x5d23ec}=_0x11af4f,_0x3df0d1=Object[_0x1bd5e7(0x2f5)](_0x5d23ec)[_0x1bd5e7(0x2cb)]>0x0;if(_0x3df0d1){const _0x23cf82=_0xe8a4d4=>{const _0x56eb0a=_0x1bd5e7;return JSON[_0x56eb0a(0x2d8)](_0xe8a4d4,null,0x2)[_0x56eb0a(0x2d5)]('\x0a')[_0x56eb0a(0x2ec)]((_0x1f5ce8,_0x49787d)=>_0x49787d===0x0?_0x1f5ce8:indent+_0x1f5ce8)[_0x56eb0a(0x39a)]('\x0a');};return _0x1bd5e7(0x272)+_0x294584+'.'+_0xb58d5c+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x294584+'.'+_0xb58d5c+'('+_0x23cf82(_0x11af4f)+');';}else{const _0x551ece=_0x65f56e=>{const _0x1135b8=_0x1bd5e7;return JSON[_0x1135b8(0x2d8)](_0x65f56e,null,0x2)[_0x1135b8(0x2d5)]('\x0a')[_0x1135b8(0x2ec)]((_0x80bb0f,_0xc60018)=>_0xc60018===0x0?_0x80bb0f:indent+_0x80bb0f)[_0x1135b8(0x39a)]('\x0a');},_0x581f97={};return _0x581f97[_0x1bd5e7(0x244)]=0x1,_0x581f97['pageSize']=0x64,'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x294584+'.'+_0xb58d5c+_0x1bd5e7(0x3c0)+_0x294584+'.'+_0xb58d5c+'('+_0x551ece(_0x581f97)+');';}}return _0x1bd5e7(0x253)+_0x294584+'.'+_0xb58d5c+_0x1bd5e7(0x37d);}[a0_0x2f204f(0x201)](_0x4eb7d0){const _0x38611d=a0_0x2f204f,_0x4360a7=this[_0x38611d(0x306)](),_0x47e932=_0x4eb7d0||'yourModel',_0x41b554=_0x38611d(0x26d)+_0x47e932+'.'+_0x4360a7+_0x38611d(0x400),_0x3971c1=_0x38611d(0x2ce)+_0x47e932+'.'+_0x4360a7+_0x38611d(0x22c),_0x4ed9dc={};return _0x4ed9dc['successCode']=_0x41b554,_0x4ed9dc[_0x38611d(0x347)]=_0x3971c1,_0x4ed9dc;}}class UpdateOperation extends GenericOperation{[a0_0x2f204f(0x27f)](){return this['parseRawRequestBody']();}[a0_0x2f204f(0x383)](){const _0x9fba2d=a0_0x2f204f,_0x575285=this['getUpdateFields'](),_0x3f7576={};_0x3f7576[_0x9fba2d(0x337)]=_0x9fba2d(0x2f0),_0x3f7576['description']=_0x9fba2d(0x209),_0x3f7576[_0x9fba2d(0x2fe)]=!![];const _0x4e7e36={};_0x4e7e36[_0x9fba2d(0x337)]='object',_0x4e7e36[_0x9fba2d(0x2b7)]=_0x9fba2d(0x3f6),_0x4e7e36[_0x9fba2d(0x2fe)]=!![],_0x4e7e36[_0x9fba2d(0x45f)]=_0x575285;const _0x32fd50={};return _0x32fd50['id']=_0x3f7576,_0x32fd50[_0x9fba2d(0x29c)]=_0x4e7e36,_0x32fd50;}['getUpdatableFields'](){const _0x39fda4=a0_0x2f204f;return this[_0x39fda4(0x27f)]();}[a0_0x2f204f(0x2db)](){const _0x429657=a0_0x2f204f,_0x2b1c20=this[_0x429657(0x1f5)]['fields']||[],_0xa31d41=this['context'][_0x429657(0x31b)],_0x118012=_0x2b1c20[_0x429657(0x431)](_0x2db4b9=>_0x2db4b9[_0x429657(0x48b)]()||_0x2db4b9[_0x429657(0x3ad)]===_0xa31d41),_0x393322=_0x2b1c20[_0x429657(0x417)](_0x2f33f8=>{const _0x176b3a=_0x429657;if(_0x2f33f8[_0x176b3a(0x33c)])return![];if(_0x2f33f8===_0x118012||_0x2f33f8[_0x176b3a(0x48b)]())return![];if(_0x2f33f8[_0x176b3a(0x3b7)]()||_0x2f33f8[_0x176b3a(0x1fb)]())return![];if(_0x2f33f8[_0x176b3a(0x215)]())return![];return!![];});return _0x118012?[_0x118012,..._0x393322]:_0x393322;}[a0_0x2f204f(0x32d)](){const _0x329a74=a0_0x2f204f,_0x285f0b=this[_0x329a74(0x2db)](),_0x55806d=this[_0x329a74(0x1f5)][_0x329a74(0x31b)],_0x37cb0f=_0x285f0b[_0x329a74(0x2ec)](_0x4f9cf5=>{const _0x22d6c2=_0x329a74,_0x4c7dba=_0x4f9cf5['isPrimaryKey']()||_0x4f9cf5[_0x22d6c2(0x3ad)]===_0x55806d,_0x4f6811=_0x4c7dba?'id':_0x4f9cf5[_0x22d6c2(0x3ad)],_0x945513={};return _0x945513[_0x22d6c2(0x1fa)]=_0x4f6811,_0x945513[_0x22d6c2(0x337)]=_0x4f9cf5[_0x22d6c2(0x337)],_0x945513['description']=_0x4c7dba?_0x22d6c2(0x23c)+(_0x55806d&&_0x55806d!==_0x4f9cf5[_0x22d6c2(0x3ad)]?_0x22d6c2(0x34c)+_0x4f9cf5['code']+')':''):_0x4f9cf5[_0x22d6c2(0x2b7)]||_0x4f9cf5[_0x22d6c2(0x1fa)],_0x945513;}),_0x12d0f5={};return _0x12d0f5[_0x329a74(0x2b7)]=_0x329a74(0x2ee),_0x12d0f5[_0x329a74(0x31a)]=_0x37cb0f,_0x12d0f5;}[a0_0x2f204f(0x2d6)](){const _0x3cefc4=a0_0x2f204f,_0x46ecaa=this['getUpdateFields'](),_0x582c0c=Object[_0x3cefc4(0x294)](_0x46ecaa)['map'](([_0x60cba6,_0x2142b9])=>{const _0x2b37f1=_0x3cefc4,_0x14fd27=_0x2142b9,_0x1dc317={};return _0x1dc317[_0x2b37f1(0x1fa)]=_0x60cba6,_0x1dc317[_0x2b37f1(0x337)]=_0x14fd27[_0x2b37f1(0x337)]||_0x2b37f1(0x2f6),_0x1dc317[_0x2b37f1(0x2b7)]=_0x14fd27[_0x2b37f1(0x2b7)]||'-',_0x1dc317;}),_0x3ddc43={};return _0x3ddc43[_0x3cefc4(0x2b7)]=_0x3cefc4(0x2bc)+'**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a'+'-\x20主键ID,用于定位要更新的记录\x0a\x0a'+_0x3cefc4(0x380)+_0x3cefc4(0x3e3)+_0x3cefc4(0x363),_0x3ddc43['params']=_0x582c0c,_0x3ddc43;}[a0_0x2f204f(0x2cc)](){const _0x117688=a0_0x2f204f,_0x1f8f49=this[_0x117688(0x27f)](),_0x40ec1a={};Object[_0x117688(0x294)](_0x1f8f49)[_0x117688(0x365)](([_0x4347f6,_0x597502])=>{const _0x2dcccd=_0x117688,_0x43f8bf=_0x597502;let _0x154fbc;if(typeof _0x43f8bf[_0x2dcccd(0x337)]===_0x2dcccd(0x3b1))_0x154fbc=_0x43f8bf[_0x2dcccd(0x337)];else _0x43f8bf[_0x2dcccd(0x337)]&&typeof _0x43f8bf[_0x2dcccd(0x337)]==='object'?_0x154fbc=_0x43f8bf[_0x2dcccd(0x337)][_0x2dcccd(0x337)]||_0x2dcccd(0x35c):_0x154fbc=_0x2dcccd(0x35c);const _0x3f4c4c=_0x43f8bf[_0x2dcccd(0x2b7)],_0x1d714b=this['getFieldDefinition'](_0x4347f6);_0x40ec1a[_0x4347f6]=this[_0x2dcccd(0x2fb)](_0x4347f6,_0x154fbc,_0x1d714b?.[_0x2dcccd(0x497)](),{'isPrimaryKey':![],'description':_0x3f4c4c||_0x1d714b?.[_0x2dcccd(0x2b7)]||_0x1d714b?.[_0x2dcccd(0x1fa)]});});const _0x1aecd4={};return _0x1aecd4['id']=0x1,_0x1aecd4['data']=_0x40ec1a,_0x1aecd4;}[a0_0x2f204f(0x247)](){const _0x5caebb=a0_0x2f204f,_0x53bc0b=this[_0x5caebb(0x2cc)](),_0x43cc79={};return _0x43cc79[_0x5caebb(0x267)]=_0x5caebb(0x314),_0x43cc79[_0x5caebb(0x2b7)]=_0x5caebb(0x33f)+_0x5caebb(0x499)+_0x5caebb(0x304),_0x43cc79[_0x5caebb(0x29c)]=_0x53bc0b,[_0x43cc79,{'title':_0x5caebb(0x24e),'description':_0x5caebb(0x41b)+'-\x20主键使用\x20`id`\x20字段\x0a'+_0x5caebb(0x223),'data':this[_0x5caebb(0x279)]()}];}['generateHTTPRequestExample'](){const _0x423072=a0_0x2f204f,_0xb62587=this[_0x423072(0x27f)](),_0x3cc2e4={};_0x3cc2e4['id']=0x1;const _0x5c9fae=_0x3cc2e4;return Object[_0x423072(0x294)](_0xb62587)[_0x423072(0x365)](([_0xeedb60,_0x185fd6])=>{const _0x17af11=_0x423072,_0x32f3c6=_0x185fd6;let _0xd7942b;if(typeof _0x32f3c6[_0x17af11(0x337)]==='string')_0xd7942b=_0x32f3c6[_0x17af11(0x337)];else _0x32f3c6[_0x17af11(0x337)]&&typeof _0x32f3c6['type']===_0x17af11(0x47a)?_0xd7942b=_0x32f3c6[_0x17af11(0x337)][_0x17af11(0x337)]||_0x17af11(0x35c):_0xd7942b=_0x17af11(0x35c);const _0x1af2d5=_0x32f3c6[_0x17af11(0x2b7)],_0x4b2104=this['getFieldDefinition'](_0xeedb60);if(_0x4b2104?.[_0x17af11(0x48b)]())return;_0x5c9fae[_0xeedb60]=this[_0x17af11(0x2fb)](_0xeedb60,_0xd7942b,_0x4b2104?.[_0x17af11(0x497)](),{'isPrimaryKey':![],'description':_0x1af2d5||_0x4b2104?.[_0x17af11(0x2b7)]||_0x4b2104?.[_0x17af11(0x1fa)]});}),_0x5c9fae;}[a0_0x2f204f(0x3fa)](){const _0x5a319=a0_0x2f204f;return this[_0x5a319(0x279)]();}['generateSDKCallCode'](_0x3944cd,_0x904e4f){const _0x179c5d=a0_0x2f204f,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x904e4f||{},_0x1c7296=this[_0x179c5d(0x306)]();if(useFullExample){const _0x371bc8=this[_0x179c5d(0x2cc)](),_0x57a0df=JSON['stringify'](_0x371bc8[_0x179c5d(0x29c)],null,0x2)[_0x179c5d(0x2d5)]('\x0a')['map']((_0x23e099,_0x3085bc)=>_0x3085bc===0x0?_0x23e099:indent+_0x23e099)['join']('\x0a');return _0x179c5d(0x3c5)+_0x3944cd+'.'+_0x1c7296+'('+_0x371bc8['id']+',\x20'+_0x57a0df+');';}return'const\x20result\x20=\x20await\x20client.models.'+_0x3944cd+'.'+_0x1c7296+'(id,\x20data);';}}class AggregateOperation extends GenericOperation{constructor(_0x6b8438,_0x44144d,_0x4fab1d){super(_0x6b8438,_0x44144d,_0x4fab1d);}['normalizeDbType'](_0x328dac){const _0x261205=a0_0x2f204f;return _0x328dac[_0x261205(0x2bf)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x261205(0x20b)]()['toUpperCase']();}[a0_0x2f204f(0x342)](){return AGGREGATE_FUNCTIONS;}[a0_0x2f204f(0x383)](){const _0x5c4bea=a0_0x2f204f,_0xb6f3b0=super[_0x5c4bea(0x383)](),_0xf9d484={};_0xf9d484['type']='String[]',_0xf9d484[_0x5c4bea(0x2b7)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)',_0xf9d484[_0x5c4bea(0x2fe)]=![];const _0x34ce67={};_0x34ce67['type']=_0x5c4bea(0x3a9),_0x34ce67[_0x5c4bea(0x2b7)]=_0x5c4bea(0x47e),_0x34ce67[_0x5c4bea(0x2fe)]=![];const _0x2f47b7={};_0x2f47b7['type']='String[]',_0x2f47b7['description']=_0x5c4bea(0x26a),_0x2f47b7['required']=![];const _0x355e03={};_0x355e03[_0x5c4bea(0x337)]='Array',_0x355e03[_0x5c4bea(0x2b7)]=_0x5c4bea(0x240),_0x355e03[_0x5c4bea(0x2fe)]=![];const _0x223120={};_0x223120['type']=_0x5c4bea(0x22e),_0x223120['description']=_0x5c4bea(0x3c9),_0x223120[_0x5c4bea(0x2fe)]=![];const _0x1af5e4={};_0x1af5e4['type']=_0x5c4bea(0x22e),_0x1af5e4[_0x5c4bea(0x2b7)]=_0x5c4bea(0x2b5),_0x1af5e4[_0x5c4bea(0x2fe)]=![];const _0xa4530e={};_0xa4530e[_0x5c4bea(0x337)]='Number',_0xa4530e[_0x5c4bea(0x2b7)]=_0x5c4bea(0x466),_0xa4530e['required']=![];const _0x18d87a={};_0x18d87a[_0x5c4bea(0x337)]='Number',_0x18d87a[_0x5c4bea(0x2b7)]='每页数量(默认:\x2020)',_0x18d87a[_0x5c4bea(0x2fe)]=![];const _0x591666={..._0xb6f3b0};return _0x591666[_0x5c4bea(0x43d)]=_0xf9d484,_0x591666[_0x5c4bea(0x46c)]=_0x34ce67,_0x591666[_0x5c4bea(0x2eb)]=_0x2f47b7,_0x591666['aggregate']=_0x355e03,_0x591666['having']=_0x223120,_0x591666[_0x5c4bea(0x478)]=_0x1af5e4,_0x591666[_0x5c4bea(0x244)]=_0xa4530e,_0x591666['pageSize']=_0x18d87a,_0x591666;}[a0_0x2f204f(0x333)](){const _0x1ecc26=a0_0x2f204f,_0x2cfb29={};_0x2cfb29[_0x1ecc26(0x3ad)]=_0x1ecc26(0x43d),_0x2cfb29[_0x1ecc26(0x337)]=_0x1ecc26(0x440),_0x2cfb29[_0x1ecc26(0x2b7)]=_0x1ecc26(0x368);const _0x24df1f={};_0x24df1f[_0x1ecc26(0x3ad)]=_0x1ecc26(0x46c),_0x24df1f[_0x1ecc26(0x337)]=_0x1ecc26(0x3a9),_0x24df1f[_0x1ecc26(0x2b7)]=_0x1ecc26(0x47e);const _0x3591b0={};_0x3591b0['code']=_0x1ecc26(0x2eb),_0x3591b0[_0x1ecc26(0x337)]=_0x1ecc26(0x440),_0x3591b0[_0x1ecc26(0x2b7)]='分组字段列表';const _0x1c4a0b={};_0x1c4a0b['code']=_0x1ecc26(0x3d7),_0x1c4a0b['type']='Array',_0x1c4a0b[_0x1ecc26(0x2b7)]=_0x1ecc26(0x3a8);const _0x361751={};_0x361751[_0x1ecc26(0x3ad)]=_0x1ecc26(0x3a4),_0x361751[_0x1ecc26(0x337)]=_0x1ecc26(0x22e),_0x361751[_0x1ecc26(0x2b7)]=_0x1ecc26(0x3c9);const _0x5d993a={};_0x5d993a[_0x1ecc26(0x3ad)]=_0x1ecc26(0x478),_0x5d993a[_0x1ecc26(0x337)]=_0x1ecc26(0x22e),_0x5d993a[_0x1ecc26(0x2b7)]='排序规则(与\x20Filter\x20API\x20一致)';const _0x558483={};_0x558483[_0x1ecc26(0x3ad)]=_0x1ecc26(0x244),_0x558483[_0x1ecc26(0x337)]=_0x1ecc26(0x331),_0x558483['description']=_0x1ecc26(0x466);const _0x451cbc={};return _0x451cbc[_0x1ecc26(0x3ad)]=_0x1ecc26(0x2e0),_0x451cbc[_0x1ecc26(0x337)]=_0x1ecc26(0x331),_0x451cbc[_0x1ecc26(0x2b7)]=_0x1ecc26(0x2ff),[_0x2cfb29,_0x24df1f,_0x3591b0,_0x1c4a0b,_0x361751,_0x5d993a,_0x558483,_0x451cbc];}[a0_0x2f204f(0x2cc)](){const _0x5a7094=a0_0x2f204f,_0x388f5e=this[_0x5a7094(0x1f5)]['fields']||[];if(_0x388f5e[_0x5a7094(0x2cb)]===0x0){const _0x2fea68={};return _0x2fea68['where']={},_0x2fea68[_0x5a7094(0x2eb)]=[],_0x2fea68['aggregate']=[],_0x2fea68;}const _0x1acc59={},_0x4b001b=_0x388f5e[_0x5a7094(0x3cc)](0x0,Math[_0x5a7094(0x310)](0x3,_0x388f5e[_0x5a7094(0x2cb)]));_0x4b001b['forEach'](_0x50c64b=>{const _0x1e17c4=_0x5a7094,_0x409ea0=this[_0x1e17c4(0x411)](_0x50c64b);if(_0x409ea0[_0x1e17c4(0x2cb)]===0x0)return;const _0x51dfdf=this[_0x1e17c4(0x416)](_0x50c64b,_0x409ea0),_0x4fe8bc=this['generateExampleValue'](_0x50c64b,_0x51dfdf),_0x6048e5={};_0x6048e5[_0x51dfdf]=_0x4fe8bc,_0x1acc59[_0x50c64b[_0x1e17c4(0x3ad)]]=_0x6048e5;});const _0x25b508=_0x388f5e[_0x5a7094(0x3cc)](0x0,Math[_0x5a7094(0x310)](0x2,_0x388f5e[_0x5a7094(0x2cb)]))[_0x5a7094(0x2ec)](_0x1933e2=>_0x1933e2[_0x5a7094(0x3ad)]),_0x130c2f=[],_0x234e3e=_0x388f5e[_0x5a7094(0x417)](_0x576302=>this[_0x5a7094(0x26b)](_0x576302));if(_0x234e3e[_0x5a7094(0x2cb)]>0x0){const _0x16daeb=_0x234e3e[0x0],_0x777719=_0x16daeb['code'],_0x5d0e21={};_0x5d0e21[_0x5a7094(0x337)]='sum',_0x5d0e21[_0x5a7094(0x1f9)]=_0x777719,_0x5d0e21[_0x5a7094(0x229)]=_0x777719+_0x5a7094(0x250),_0x5d0e21[_0x5a7094(0x32e)]=![],_0x5d0e21[_0x5a7094(0x216)]=!![],_0x5d0e21[_0x5a7094(0x3b2)]=0x2,_0x130c2f['push'](_0x5d0e21);const _0x12938f={};_0x12938f[_0x5a7094(0x337)]=_0x5a7094(0x34e),_0x12938f[_0x5a7094(0x1f9)]=_0x777719,_0x12938f[_0x5a7094(0x229)]=_0x777719+_0x5a7094(0x415),_0x12938f[_0x5a7094(0x32e)]=![],_0x12938f[_0x5a7094(0x216)]=!![],_0x12938f[_0x5a7094(0x3b2)]=0x2,_0x130c2f[_0x5a7094(0x214)](_0x12938f);const _0x1ec8ba={};_0x1ec8ba['type']='max',_0x1ec8ba[_0x5a7094(0x1f9)]=_0x777719,_0x1ec8ba[_0x5a7094(0x229)]=_0x777719+_0x5a7094(0x31f),_0x1ec8ba['distinct']=![],_0x1ec8ba[_0x5a7094(0x216)]=!![],_0x1ec8ba['precision']=0x2,_0x130c2f['push'](_0x1ec8ba);const _0x50a6f0={};_0x50a6f0[_0x5a7094(0x337)]='min',_0x50a6f0[_0x5a7094(0x1f9)]=_0x777719,_0x50a6f0[_0x5a7094(0x229)]=_0x777719+_0x5a7094(0x40c),_0x50a6f0[_0x5a7094(0x32e)]=![],_0x50a6f0[_0x5a7094(0x216)]=!![],_0x50a6f0[_0x5a7094(0x3b2)]=0x2,_0x130c2f[_0x5a7094(0x214)](_0x50a6f0);}else{if(_0x388f5e[_0x5a7094(0x2cb)]>0x0){const _0x617997=_0x388f5e[0x0],_0x425dab=_0x617997[_0x5a7094(0x3ad)],_0x1dc62b={};_0x1dc62b[_0x5a7094(0x337)]=_0x5a7094(0x316),_0x1dc62b[_0x5a7094(0x1f9)]=_0x425dab,_0x1dc62b[_0x5a7094(0x229)]=_0x5a7094(0x249),_0x1dc62b[_0x5a7094(0x32e)]=!![],_0x130c2f[_0x5a7094(0x214)](_0x1dc62b);}}const _0x7eeffe=[];if(_0x388f5e[_0x5a7094(0x2cb)]>0x0){const _0x43fc11=_0x388f5e[0x0][_0x5a7094(0x3ad)],_0x3e021b={};_0x3e021b[_0x43fc11]='desc',_0x7eeffe[_0x5a7094(0x214)](_0x3e021b);}const _0x4cb8cb=[..._0x25b508,..._0x130c2f['map'](_0x4bdca1=>_0x4bdca1[_0x5a7094(0x229)])],_0x2ea6a3=[];if(_0x130c2f[_0x5a7094(0x2cb)]>0x0){const _0x54a8c0={};_0x54a8c0[_0x5a7094(0x236)]=0x0;const _0x4d241a={};_0x4d241a[_0x5a7094(0x24a)]=_0x130c2f[0x0][_0x5a7094(0x229)],_0x4d241a[_0x5a7094(0x295)]=_0x54a8c0,_0x2ea6a3['push'](_0x4d241a);}const _0x1a42f5={};return _0x1a42f5[_0x5a7094(0x43d)]=_0x4cb8cb,_0x1a42f5['where']=_0x1acc59,_0x1a42f5[_0x5a7094(0x2eb)]=_0x25b508,_0x1a42f5[_0x5a7094(0x3d7)]=_0x130c2f,_0x1a42f5[_0x5a7094(0x3a4)]=_0x2ea6a3[_0x5a7094(0x2cb)]>0x0?_0x2ea6a3:undefined,_0x1a42f5[_0x5a7094(0x478)]=_0x7eeffe,_0x1a42f5[_0x5a7094(0x244)]=0x1,_0x1a42f5[_0x5a7094(0x2e0)]=0x14,_0x1a42f5;}[a0_0x2f204f(0x24b)](_0x3c8293,_0x4a9c3c){const _0x58b8b2=a0_0x2f204f,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4a9c3c||{},_0x407441=this['getName'](),_0x31cba4=this[_0x58b8b2(0x2cc)](),_0x112669=_0x314229=>{const _0x5cf645=_0x58b8b2;return JSON[_0x5cf645(0x2d8)](_0x314229,null,0x2)['split']('\x0a')[_0x5cf645(0x2ec)]((_0x55fe33,_0x30e70c)=>_0x30e70c===0x0?_0x55fe33:indent+_0x55fe33)[_0x5cf645(0x39a)]('\x0a');};if(useFullExample){const _0x11b281=this[_0x58b8b2(0x1f5)][_0x58b8b2(0x3a7)]||[],_0x17973c=_0x11b281[_0x58b8b2(0x417)](_0x9bd016=>this['isNumericField'](_0x9bd016)),_0xa3372d={'where':_0x11b281[0x0]?{[_0x11b281[0x0][_0x58b8b2(0x3ad)]]:{'$eq':this[_0x58b8b2(0x49a)](_0x11b281[0x0],_0x58b8b2(0x483))}}:{},'aggregate':_0x17973c[_0x58b8b2(0x2cb)]>0x0?[{'type':_0x58b8b2(0x419),'column':_0x17973c[0x0][_0x58b8b2(0x3ad)],'alias':_0x17973c[0x0][_0x58b8b2(0x3ad)]+_0x58b8b2(0x250),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x58b8b2(0x316),'column':_0x11b281[0x0][_0x58b8b2(0x3ad)],'alias':_0x58b8b2(0x249),'distinct':!![]}],'orderBy':[{[_0x11b281[0x0][_0x58b8b2(0x3ad)]]:_0x58b8b2(0x405)}]};let _0x5f1158='';return _0x11b281[_0x58b8b2(0x2cb)]>=0x3&&(_0x5f1158=_0x58b8b2(0x37a)+_0x3c8293+'.'+_0x407441+'('+_0x112669(_0x31cba4)+');'),_0x58b8b2(0x302)+_0x3c8293+'.'+_0x407441+'('+_0x112669(_0xa3372d)+');'+_0x5f1158;}const _0x2ce20a=JSON['stringify'](_0x31cba4,null,0x2)[_0x58b8b2(0x2d5)]('\x0a')['map']((_0x55af5a,_0x595074)=>_0x595074===0x0?_0x55af5a:indent+_0x55af5a)[_0x58b8b2(0x39a)]('\x0a');return _0x58b8b2(0x3c5)+_0x3c8293+'.'+_0x407441+'('+_0x2ce20a+');';}[a0_0x2f204f(0x26b)](_0x32f8fc){const _0x124a00=a0_0x2f204f,_0x5ac55b=_0x32f8fc[_0x124a00(0x497)]();return[_0x124a00(0x2f0),_0x124a00(0x21b),'BIGINT','DECIMAL'][_0x124a00(0x476)](_0x5ac55b)||['INT',_0x124a00(0x222),'SMALLINT','DOUBLE',_0x124a00(0x2a0)][_0x124a00(0x476)](_0x5ac55b);}['getApplicableOperators'](_0x2a7946){const _0x398b1c=a0_0x2f204f,_0x3e1fd5=_0x2a7946[_0x398b1c(0x497)](),_0x18c53a=[];if([_0x398b1c(0x2f0),'INTEGER',_0x398b1c(0x34d),_0x398b1c(0x219)][_0x398b1c(0x476)](_0x3e1fd5)||[_0x398b1c(0x3b5),_0x398b1c(0x222),'SMALLINT','DOUBLE',_0x398b1c(0x2a0)][_0x398b1c(0x476)](_0x3e1fd5))_0x18c53a['push'](_0x398b1c(0x483),_0x398b1c(0x2ed),_0x398b1c(0x236),_0x398b1c(0x329),_0x398b1c(0x460),_0x398b1c(0x3e9),'$in');else{if([_0x398b1c(0x3bc),_0x398b1c(0x35c),'VARCHAR'][_0x398b1c(0x476)](_0x3e1fd5)||[_0x398b1c(0x38b),'LONGTEXT'][_0x398b1c(0x476)](_0x3e1fd5))_0x18c53a[_0x398b1c(0x214)](_0x398b1c(0x483),_0x398b1c(0x2ed),_0x398b1c(0x344),'$contain',_0x398b1c(0x311),'$endWith');else{if([_0x398b1c(0x39b),_0x398b1c(0x3ef),'TIMESTAMP'][_0x398b1c(0x476)](_0x3e1fd5)||[_0x398b1c(0x30f)][_0x398b1c(0x476)](_0x3e1fd5))_0x18c53a[_0x398b1c(0x214)](_0x398b1c(0x483),_0x398b1c(0x2ed),'$gte',_0x398b1c(0x329),_0x398b1c(0x460),'$lteq');else[_0x398b1c(0x207),'BOOL',_0x398b1c(0x264)][_0x398b1c(0x476)](_0x3e1fd5)?_0x18c53a['push'](_0x398b1c(0x483),_0x398b1c(0x2ed)):_0x18c53a[_0x398b1c(0x214)](_0x398b1c(0x483),_0x398b1c(0x2ed));}}return _0x18c53a;}[a0_0x2f204f(0x416)](_0x2eb04a,_0x262f28){const _0x39126c=a0_0x2f204f,_0x57dc91=_0x2eb04a['getDbTypeForOperation']();if([_0x39126c(0x2f0),'INTEGER',_0x39126c(0x34d),'DECIMAL'][_0x39126c(0x476)](_0x57dc91)||[_0x39126c(0x3b5),'TINYINT',_0x39126c(0x443),_0x39126c(0x3c1),'FLOAT'][_0x39126c(0x476)](_0x57dc91))return _0x262f28[_0x39126c(0x476)]('$gte')?_0x39126c(0x236):'$eq';if([_0x39126c(0x3bc),'TEXT',_0x39126c(0x3d0)]['includes'](_0x57dc91)||['CHAR',_0x39126c(0x488)][_0x39126c(0x476)](_0x57dc91))return _0x262f28['includes'](_0x39126c(0x496))?'$contain':'$eq';if([_0x39126c(0x39b),_0x39126c(0x3ef),_0x39126c(0x438),'TIME']['includes'](_0x57dc91))return _0x262f28[_0x39126c(0x476)](_0x39126c(0x236))?_0x39126c(0x236):_0x39126c(0x483);return _0x39126c(0x483);}[a0_0x2f204f(0x49a)](_0x5acadd,_0x2ed537){const _0x426f37=a0_0x2f204f,_0x261617=_0x5acadd[_0x426f37(0x497)](),_0x1fbee6=_0x5acadd[_0x426f37(0x49b)]();if(_0x1fbee6&&_0x1fbee6[_0x426f37(0x2cb)]>0x0){if(_0x2ed537==='$in')return _0x1fbee6[_0x426f37(0x3cc)](0x0,0x2)['map'](_0x5a8503=>_0x5a8503['value']);return _0x1fbee6[0x0][_0x426f37(0x2d9)];}if([_0x426f37(0x2f0),_0x426f37(0x21b),_0x426f37(0x34d),'DECIMAL']['includes'](_0x261617)||[_0x426f37(0x3b5),_0x426f37(0x222),_0x426f37(0x443),_0x426f37(0x3c1),_0x426f37(0x2a0)][_0x426f37(0x476)](_0x261617)){if(_0x2ed537===_0x426f37(0x344))return[0x1,0x2,0x3];if(_0x2ed537===_0x426f37(0x236)||_0x2ed537===_0x426f37(0x460))return 0x0;if(_0x2ed537===_0x426f37(0x329)||_0x2ed537==='$lteq')return 0x64;return 0x1;}if([_0x426f37(0x3bc),_0x426f37(0x35c),'VARCHAR'][_0x426f37(0x476)](_0x261617)||[_0x426f37(0x38b),_0x426f37(0x488)]['includes'](_0x261617)){if(_0x2ed537===_0x426f37(0x344))return[_0x426f37(0x48d),'value2'];if(_0x2ed537===_0x426f37(0x496))return _0x426f37(0x30e);if(_0x2ed537==='$startWith')return'prefix';if(_0x2ed537===_0x426f37(0x3f2))return _0x426f37(0x3f4);return _0x426f37(0x2d9);}if([_0x426f37(0x39b),_0x426f37(0x3ef),_0x426f37(0x438),'TIME'][_0x426f37(0x476)](_0x261617)){if(_0x2ed537===_0x426f37(0x236)||_0x2ed537===_0x426f37(0x460))return _0x426f37(0x378);if(_0x2ed537===_0x426f37(0x329)||_0x2ed537===_0x426f37(0x3e9))return'2024-12-31';return'2024-01-01';}if([_0x426f37(0x207),_0x426f37(0x228),_0x426f37(0x264)][_0x426f37(0x476)](_0x261617))return!![];return _0x2ed537===_0x426f37(0x344)?[_0x426f37(0x48d),_0x426f37(0x49e)]:_0x426f37(0x2d9);}['getRequestParamsDocInfo'](){const _0x4997d2=a0_0x2f204f,_0xc03986=this[_0x4997d2(0x383)](),_0x2b9e02=Object[_0x4997d2(0x294)](_0xc03986)['filter'](([_0x3224a4])=>_0x3224a4!==_0x4997d2(0x244)&&_0x3224a4!=='pageSize')[_0x4997d2(0x2ec)](([_0x3c74fb,_0x34e09a])=>{const _0x50aa00=_0x4997d2,_0x1631b5=_0x34e09a,_0x3c524f={};return _0x3c524f[_0x50aa00(0x1fa)]=_0x3c74fb,_0x3c524f[_0x50aa00(0x337)]=_0x1631b5['type']||_0x50aa00(0x2f6),_0x3c524f[_0x50aa00(0x2b7)]=_0x1631b5[_0x50aa00(0x2b7)]||'-',_0x3c524f['required']=_0x1631b5[_0x50aa00(0x2fe)],_0x3c524f;}),_0x3c827c={};return _0x3c827c[_0x4997d2(0x2b7)]='\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',_0x3c827c[_0x4997d2(0x31a)]=_0x2b9e02,_0x3c827c;}['generateResponseExample'](){const _0x118e7f=a0_0x2f204f,_0x4900aa=this[_0x118e7f(0x2cc)]()['aggregate'],_0x50c2bc=[{}],_0x3428c0=[];_0x4900aa?.[_0x118e7f(0x365)](_0x304c99=>{const _0x3afc3c=_0x118e7f,_0x3a8ea9={};_0x3a8ea9['title']=_0x304c99[_0x3afc3c(0x229)],_0x3a8ea9[_0x3afc3c(0x39e)]=_0x304c99[_0x3afc3c(0x229)],_0x3428c0[_0x3afc3c(0x214)](_0x3a8ea9),_0x50c2bc[0x0][_0x304c99[_0x3afc3c(0x229)]]=_0x304c99['type']===_0x3afc3c(0x316)?0x64:Math[_0x3afc3c(0x216)](Math[_0x3afc3c(0x392)]()*0x64*0x64)/0x64;});const _0x532f1a={};_0x532f1a[_0x118e7f(0x2e0)]=0x1,_0x532f1a[_0x118e7f(0x420)]=0x64,_0x532f1a[_0x118e7f(0x244)]=0x1;const _0x2c2868={};_0x2c2868[_0x118e7f(0x42c)]=_0x532f1a,_0x2c2868['tableData']=_0x50c2bc,_0x2c2868['tableColumns']=_0x3428c0;const _0x1dfc80={};return _0x1dfc80[_0x118e7f(0x221)]=!![],_0x1dfc80[_0x118e7f(0x2cd)]='',_0x1dfc80['errorMsg']='',_0x1dfc80[_0x118e7f(0x347)]='0000',_0x1dfc80[_0x118e7f(0x29c)]=_0x2c2868,_0x1dfc80[_0x118e7f(0x31a)]=null,_0x1dfc80;}}class OperationFactory{['create'](_0x4995a7,_0x44c531,_0xea4ebd){const _0x2a04d6=a0_0x2f204f;switch(_0x4995a7){case _0x2a04d6(0x3ec):return new GetSelectOptionsOperation(_0x4995a7,_0x44c531,_0xea4ebd);case'getList':return new GetListOperation(_0x4995a7,_0x44c531,_0xea4ebd);case'filter':return new FilterOperation(_0x4995a7,_0x44c531,_0xea4ebd);case _0x2a04d6(0x332):return new ExcelExportOperation(_0x4995a7,_0x44c531,_0xea4ebd);case'update':return new UpdateOperation(_0x4995a7,_0x44c531,_0xea4ebd);case _0x2a04d6(0x3d7):return new AggregateOperation(_0x4995a7,_0x44c531,_0xea4ebd);default:return new GenericOperation(_0x4995a7,_0x44c531,_0xea4ebd);}}['createAll'](_0x4ee4a1,_0x2696e6){const _0x5ddb80=a0_0x2f204f,_0x11d60a=new Map();return Object[_0x5ddb80(0x294)](_0x4ee4a1)['forEach'](([_0x40f32b,_0x8434d5])=>{const _0x2f8cff=_0x5ddb80;_0x11d60a[_0x2f8cff(0x31c)](_0x40f32b,this['create'](_0x40f32b,_0x8434d5,_0x2696e6));}),_0x11d60a;}}class OperationList{[a0_0x2f204f(0x3bf)];constructor(_0x4c19f0,_0x22f76b){const _0x312406=a0_0x2f204f,_0x299d3f=new OperationFactory();this[_0x312406(0x3bf)]=_0x299d3f[_0x312406(0x234)](_0x4c19f0,_0x22f76b);}['get'](_0x6d18ff){const _0x10d945=a0_0x2f204f;return this['_operations'][_0x10d945(0x45a)](_0x6d18ff);}[a0_0x2f204f(0x434)](_0x14bf60){const _0x5af7ba=a0_0x2f204f;return this[_0x5af7ba(0x3bf)]['has'](_0x14bf60);}[a0_0x2f204f(0x43e)](){const _0x2df73f=a0_0x2f204f;return this[_0x2df73f(0x3bf)][_0x2df73f(0x43e)];}['getNames'](){const _0x4746c5=a0_0x2f204f;return Array[_0x4746c5(0x3cf)](this['_operations']['keys']());}[a0_0x2f204f(0x469)](){const _0x35582e=a0_0x2f204f,_0x281795=Array[_0x35582e(0x3cf)](this['_operations'][_0x35582e(0x28f)]());return this[_0x35582e(0x315)](_0x281795);}['getEnabled'](){const _0x51fd8f=a0_0x2f204f;return this[_0x51fd8f(0x469)]()['filter'](_0x28e255=>_0x28e255[_0x51fd8f(0x1f6)]());}[a0_0x2f204f(0x41e)](){const _0x5c025e=a0_0x2f204f;return this[_0x5c025e(0x469)]()[_0x5c025e(0x417)](_0x18f871=>!_0x18f871[_0x5c025e(0x1f6)]());}[a0_0x2f204f(0x3ba)](){const _0x35862b=a0_0x2f204f;return this[_0x35862b(0x494)]()[_0x35862b(0x2ec)](_0x54bbea=>_0x54bbea[_0x35862b(0x306)]());}[a0_0x2f204f(0x28c)](){const _0xdb5f6c=a0_0x2f204f;return this[_0xdb5f6c(0x41e)]()['map'](_0x451b7b=>_0x451b7b[_0xdb5f6c(0x306)]());}[a0_0x2f204f(0x20c)](_0x5cd000){const _0x63e684=a0_0x2f204f;return this[_0x63e684(0x469)]()[_0x63e684(0x417)](_0x2bcd23=>_0x2bcd23[_0x63e684(0x2da)]()===_0x5cd000);}[a0_0x2f204f(0x417)](_0x292e5c){const _0x181ab0=a0_0x2f204f;return this[_0x181ab0(0x469)]()[_0x181ab0(0x417)](_0x292e5c);}[a0_0x2f204f(0x2fa)](_0xa63518={}){const _0x3db64b=a0_0x2f204f;let _0x6448b0=this['toArray']();!_0xa63518[_0x3db64b(0x2cf)]&&(_0x6448b0=_0x6448b0[_0x3db64b(0x417)](_0x2b532b=>_0x2b532b[_0x3db64b(0x1f6)]()));if(_0xa63518['filterBlacklist']!==![]){const _0x375a96=_0x6448b0['map'](_0x492c37=>({'name':_0x492c37[_0x3db64b(0x306)](),'operation':_0x492c37})),_0x11ac3f=filterApiOperations(_0x375a96);_0x6448b0=_0x11ac3f[_0x3db64b(0x2ec)](_0x56347c=>_0x56347c['operation']),_0x6448b0=this[_0x3db64b(0x315)](_0x6448b0);}return _0xa63518[_0x3db64b(0x2de)]&&(_0x6448b0=_0x6448b0[_0x3db64b(0x417)](_0xa63518[_0x3db64b(0x2de)])),_0x6448b0;}[a0_0x2f204f(0x315)](_0x2eb3a3){const _0x599fce=a0_0x2f204f,_0x97676a=_0x2eb3a3['find'](_0x29d423=>_0x29d423[_0x599fce(0x306)]()===_0x599fce(0x417)),_0x3081fd=_0x2eb3a3[_0x599fce(0x417)](_0x4c806f=>_0x4c806f[_0x599fce(0x306)]()!=='filter');return _0x97676a?[_0x97676a,..._0x3081fd]:_0x3081fd;}[a0_0x2f204f(0x2c0)](){const _0x22a8f5=a0_0x2f204f,_0x450137=this['getEnabled']();return{'total':this[_0x22a8f5(0x43e)](),'enabled':_0x450137['length'],'disabled':this[_0x22a8f5(0x43e)]()-_0x450137[_0x22a8f5(0x2cb)],'byType':this[_0x22a8f5(0x27d)](_0x450137),'byMethod':this[_0x22a8f5(0x447)](_0x450137)};}['getCountByType'](_0x104236){const _0x84e014=a0_0x2f204f,_0x50b557={};return _0x104236[_0x84e014(0x365)](_0x5d1e8f=>{const _0x5a6827=_0x84e014,_0xd418f8=_0x5d1e8f[_0x5a6827(0x2da)]();_0xd418f8&&(_0x50b557[_0xd418f8]=(_0x50b557[_0xd418f8]||0x0)+0x1);}),_0x50b557;}['getCountByMethod'](_0x2e5dcf){const _0x50e11d=a0_0x2f204f,_0x1d2b63={};return _0x2e5dcf[_0x50e11d(0x365)](_0x553df0=>{const _0x28dfbc=_0x50e11d,_0x465a22=_0x553df0[_0x28dfbc(0x29b)]();_0x465a22&&(_0x1d2b63[_0x465a22]=(_0x1d2b63[_0x465a22]||0x0)+0x1);}),_0x1d2b63;}[Symbol[a0_0x2f204f(0x445)]](){const _0x334abf=a0_0x2f204f;return this[_0x334abf(0x3bf)][_0x334abf(0x28f)]();}[a0_0x2f204f(0x2e3)](){const _0x47a410=a0_0x2f204f,_0x42ada5=this[_0x47a410(0x2c0)]();return'OperationList('+_0x42ada5[_0x47a410(0x35f)]+'/'+_0x42ada5['total']+_0x47a410(0x227);}}class DBConfig{['raw'];['dbId'];[a0_0x2f204f(0x25a)];[a0_0x2f204f(0x21f)];[a0_0x2f204f(0x34a)];[a0_0x2f204f(0x402)];[a0_0x2f204f(0x2c7)];['pkField'];[a0_0x2f204f(0x343)];[a0_0x2f204f(0x480)];constructor(_0x1e510d,_0x2b78c6){const _0x2ffc16=a0_0x2f204f;this[_0x2ffc16(0x2f4)]=_0x2b78c6,this[_0x2ffc16(0x30d)]=_0x1e510d[_0x2ffc16(0x30d)],this[_0x2ffc16(0x25a)]=_0x1e510d['dbName'],this[_0x2ffc16(0x21f)]=_0x1e510d[_0x2ffc16(0x21f)],this['dbVersion']=_0x1e510d[_0x2ffc16(0x34a)],this[_0x2ffc16(0x402)]=_0x1e510d['tableName'],this['datasetKey']=_0x1e510d[_0x2ffc16(0x2c7)],this[_0x2ffc16(0x31b)]=_0x1e510d['pkField'],this['tenantCode']=_0x1e510d[_0x2ffc16(0x343)],this[_0x2ffc16(0x480)]=_0x1e510d[_0x2ffc16(0x480)];}[a0_0x2f204f(0x367)](){const _0x383fa5=a0_0x2f204f;return this[_0x383fa5(0x2f4)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x2f204f(0x35d)];['_fieldList'];['_fieldListWithDeleted'];constructor(_0x5a0d74){const _0x22797c=a0_0x2f204f,_0x4c807f={..._0x5a0d74};_0x4c807f['id']=_0x5a0d74[_0x22797c(0x29d)]||_0x5a0d74['id'],_0x4c807f[_0x22797c(0x1ff)]=_0x5a0d74[_0x22797c(0x204)]||_0x5a0d74['datasetCode']||_0x5a0d74[_0x22797c(0x3ad)],super(_0x4c807f);}[a0_0x2f204f(0x335)](){return;}['getRelations'](){return[];}[a0_0x2f204f(0x473)](){return[];}get[a0_0x2f204f(0x32a)](){const _0x2b9e66=a0_0x2f204f;return this[_0x2b9e66(0x369)]();}[a0_0x2f204f(0x299)](){const _0x144e1b=a0_0x2f204f;if(!this['_fieldList']){const _0x20df54=this['getFieldDataSource']();throw new Error(_0x144e1b(0x2be));}return this['_fieldList'];}[a0_0x2f204f(0x34f)](){const _0x4a64d1=a0_0x2f204f;if(!this[_0x4a64d1(0x393)]){const _0x1360d8=this[_0x4a64d1(0x20e)]();throw new Error(_0x4a64d1(0x2b2));}return this[_0x4a64d1(0x393)];}[a0_0x2f204f(0x3db)](){return[];}[a0_0x2f204f(0x490)](){const _0x38c4f9=a0_0x2f204f,_0x598f3e=this[_0x38c4f9(0x20e)]();return _0x598f3e[_0x38c4f9(0x3a7)];}['getFieldCount'](){const _0x57043d=a0_0x2f204f;return this[_0x57043d(0x3db)]()[_0x57043d(0x2cb)];}[a0_0x2f204f(0x35e)](_0x31fd00){const _0x356e94=a0_0x2f204f,_0x500be2=this[_0x356e94(0x3a5)](_0x31fd00);return _0x500be2?_0x500be2[_0x356e94(0x2f4)]:undefined;}[a0_0x2f204f(0x32f)](_0x3bf1ac){return;}[a0_0x2f204f(0x24f)](_0x568e76){const _0x320b02=a0_0x2f204f;if(!_0x568e76||typeof _0x568e76!==_0x320b02(0x47a))return!![]&&console['warn']('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0x568e76),{};if(_0x320b02(0x31b)in _0x568e76){const _0x3b7440=_0x568e76;return{'primaryKey':typeof _0x3b7440[_0x320b02(0x31b)]===_0x320b02(0x2f7)?_0x3b7440[_0x320b02(0x31b)]:Boolean(_0x3b7440['pkField']),'required':_0x3b7440['required'],'systemRetain':Boolean(_0x3b7440[_0x320b02(0x432)]),'autoIncrement':_0x3b7440['autoIncrement']??undefined};}if(!(_0x320b02(0x485)in _0x568e76)||!_0x568e76[_0x320b02(0x485)])return{};try{const _0x85dd77=typeof _0x568e76[_0x320b02(0x485)]===_0x320b02(0x3b1)?JSON[_0x320b02(0x21e)](_0x568e76[_0x320b02(0x485)]):_0x568e76[_0x320b02(0x485)];if(typeof _0x85dd77!=='object'||_0x85dd77===null)return{};return _0x85dd77;}catch{return{};}}[a0_0x2f204f(0x433)](){const _0xebb58e=a0_0x2f204f;if(!this[_0xebb58e(0x35d)]){const _0x2f253b=this[_0xebb58e(0x3aa)](this[_0xebb58e(0x291)]()||{});this[_0xebb58e(0x35d)]=new OperationList(_0x2f253b,{'fields':this[_0xebb58e(0x299)]()['all'](),'pkField':this[_0xebb58e(0x282)]['dbtableConfig']?.['pkField'],'dbtableConfig':this['_raw']['dbtableConfig']||null});}return this[_0xebb58e(0x35d)];}[a0_0x2f204f(0x3aa)](_0x13b7c0){const _0x2bb59e=a0_0x2f204f;if(_0x13b7c0[_0x2bb59e(0x417)]!==undefined)return _0x13b7c0;return{..._0x13b7c0,'filter':this[_0x2bb59e(0x387)]()};}[a0_0x2f204f(0x387)](){const _0x269232=a0_0x2f204f,_0x3c47d5=this[_0x269232(0x291)]()?.[_0x269232(0x323)];let _0x37fed2=_0x3c47d5?.[_0x269232(0x2ad)],_0xa9f7a3='';if(!_0x37fed2&&this[_0x269232(0x291)]()){const _0x1edb01=Object[_0x269232(0x28f)](this[_0x269232(0x291)]());for(const _0x33aecc of _0x1edb01){if(_0x33aecc&&typeof _0x33aecc===_0x269232(0x47a)&&_0x269232(0x2ad)in _0x33aecc){_0x37fed2=_0x33aecc['host'];break;}}}if(_0x3c47d5?.[_0x269232(0x38d)]){const _0x1d791b=_0x3c47d5[_0x269232(0x38d)],_0x3e0d13=_0x1d791b['lastIndexOf']('/');_0x3e0d13!==-0x1&&(_0xa9f7a3=_0x1d791b[_0x269232(0x23d)](0x0,_0x3e0d13));}const _0x2cedd7={};_0x2cedd7['name']='where',_0x2cedd7[_0x269232(0x337)]=_0x269232(0x47a),_0x2cedd7[_0x269232(0x2fe)]=![];const _0x3b950a={};_0x3b950a[_0x269232(0x1fa)]='select',_0x3b950a[_0x269232(0x337)]=_0x269232(0x25c),_0x3b950a['required']=![];const _0x64da10={};_0x64da10[_0x269232(0x1fa)]=_0x269232(0x478),_0x64da10['type']='array',_0x64da10[_0x269232(0x2fe)]=![];const _0x5b78e9={};_0x5b78e9[_0x269232(0x1fa)]=_0x269232(0x244),_0x5b78e9[_0x269232(0x337)]=_0x269232(0x2a3),_0x5b78e9['required']=![],_0x5b78e9['default']=0x1;const _0xff644e={};_0xff644e[_0x269232(0x1fa)]=_0x269232(0x2e0),_0xff644e['type']=_0x269232(0x2a3),_0xff644e[_0x269232(0x2fe)]=![],_0xff644e['default']=0xa;const _0x4c1bb4={};return _0x4c1bb4['name']=_0x269232(0x417),_0x4c1bb4[_0x269232(0x337)]=_0x269232(0x396),_0x4c1bb4[_0x269232(0x2b7)]=_0x269232(0x37b),_0x4c1bb4[_0x269232(0x2ac)]=_0x269232(0x2ab),_0x4c1bb4['host']=_0x37fed2,_0x4c1bb4['path']=_0xa9f7a3?_0xa9f7a3+_0x269232(0x44a):'/filter',_0x4c1bb4[_0x269232(0x31a)]=_0x3c47d5?.[_0x269232(0x31a)]||[_0x2cedd7,_0x3b950a,_0x64da10,_0x5b78e9,_0xff644e],_0x4c1bb4['_autoGenerated']=!![],_0x4c1bb4;}[a0_0x2f204f(0x205)](){const _0x307a6d=a0_0x2f204f;return this['getOperationList']()[_0x307a6d(0x469)]();}[a0_0x2f204f(0x25b)](){const _0x2c6957=a0_0x2f204f;return this[_0x2c6957(0x433)]()['size']();}[a0_0x2f204f(0x270)](_0x449fd9){const _0x3c4d8f=a0_0x2f204f;if(typeof _0x449fd9!==_0x3c4d8f(0x3b1)){!![]&&console['warn'](_0x3c4d8f(0x2a5),_0x449fd9);return;}return this['getOperationList']()[_0x3c4d8f(0x45a)](_0x449fd9);}[a0_0x2f204f(0x29f)](_0x314e6e){const _0x13e4cd=a0_0x2f204f;if(typeof _0x314e6e!==_0x13e4cd(0x3b1))return![];return this[_0x13e4cd(0x433)]()['has'](_0x314e6e);}['isOperationEnabled'](_0x2809f5){const _0x4fc582=a0_0x2f204f;if(typeof _0x2809f5!==_0x4fc582(0x3b1))return![];const _0x20610e=this[_0x4fc582(0x270)](_0x2809f5);return _0x20610e?.[_0x4fc582(0x1f6)]()||![];}[a0_0x2f204f(0x3ce)](){const _0x6058fc=a0_0x2f204f;return this[_0x6058fc(0x433)]()['getEnabledNames']();}[a0_0x2f204f(0x211)](){const _0x58d197=a0_0x2f204f;return this[_0x58d197(0x433)]()[_0x58d197(0x28c)]();}['getEnabledOperationInstances'](){const _0x47e9fb=a0_0x2f204f;return this[_0x47e9fb(0x433)]()[_0x47e9fb(0x494)]();}[a0_0x2f204f(0x265)](){const _0x2608d4=a0_0x2f204f;return this[_0x2608d4(0x433)]()['getDisabled']();}['getFilteredOperations'](_0x575834={}){const _0x3a4915=a0_0x2f204f;return this['getOperationList']()[_0x3a4915(0x2fa)](_0x575834);}[a0_0x2f204f(0x2c0)](){const _0x4eaf51=a0_0x2f204f;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this[_0x4eaf51(0x333)]()['length'],'businessFieldCount':this[_0x4eaf51(0x49d)]()[_0x4eaf51(0x2cb)],'requiredFieldCount':this[_0x4eaf51(0x36b)]()[_0x4eaf51(0x2cb)],'primaryKeyCount':this[_0x4eaf51(0x1fc)]()[_0x4eaf51(0x2cb)],'operationCount':this[_0x4eaf51(0x25b)](),'enabledOperationCount':this[_0x4eaf51(0x3ce)]()['length']};}['getFieldCode'](_0x554d26){const _0x41d75f=a0_0x2f204f;if(!_0x554d26||typeof _0x554d26!==_0x41d75f(0x47a))return'';if(_0x41d75f(0x3ad)in _0x554d26&&typeof _0x554d26[_0x41d75f(0x3ad)]===_0x41d75f(0x3b1))return _0x554d26[_0x41d75f(0x3ad)];if(_0x41d75f(0x1fa)in _0x554d26&&typeof _0x554d26[_0x41d75f(0x1fa)]===_0x41d75f(0x3b1))return _0x554d26[_0x41d75f(0x1fa)];return'';}[a0_0x2f204f(0x376)](_0x37e7a9){const _0x55dc07=a0_0x2f204f;return this[_0x55dc07(0x299)]()[_0x55dc07(0x434)](_0x37e7a9);}[a0_0x2f204f(0x482)](_0x1e54a2){const _0x587578=a0_0x2f204f;if(!_0x1e54a2||typeof _0x1e54a2!==_0x587578(0x47a))return![];const _0x3bbfa0=this['getFieldCode'](_0x1e54a2),_0x52c75b=this[_0x587578(0x3a5)](_0x3bbfa0);return _0x52c75b?_0x52c75b[_0x587578(0x48b)]():![];}['isSystemField'](_0x4b619a){const _0x3e8a04=a0_0x2f204f;if(!_0x4b619a||typeof _0x4b619a!=='object')return![];const _0x1905bb=this[_0x3e8a04(0x297)](_0x4b619a),_0x2ca684=this[_0x3e8a04(0x3a5)](_0x1905bb);return _0x2ca684?_0x2ca684['isSystem']():![];}[a0_0x2f204f(0x287)](_0x5a1362){const _0x2b9e80=a0_0x2f204f;if(!_0x5a1362||typeof _0x5a1362!==_0x2b9e80(0x47a))return![];const _0x11d8d7=this[_0x2b9e80(0x297)](_0x5a1362),_0x57d7d8=this[_0x2b9e80(0x3a5)](_0x11d8d7);return _0x57d7d8?_0x57d7d8['isRequired']():![];}[a0_0x2f204f(0x361)](_0x1762f6){const _0x5b1e68=a0_0x2f204f;if(!_0x1762f6||typeof _0x1762f6!==_0x5b1e68(0x47a))return![];const _0x4655f5=this[_0x5b1e68(0x297)](_0x1762f6),_0x1123d2=this[_0x5b1e68(0x3a5)](_0x4655f5);return _0x1123d2?_0x1123d2[_0x5b1e68(0x375)]():![];}[a0_0x2f204f(0x269)](_0x21af72){const _0x53b174=a0_0x2f204f;if(!_0x21af72||typeof _0x21af72!==_0x53b174(0x47a))return![];const _0x8816fc=this[_0x53b174(0x297)](_0x21af72),_0x6de51d=this[_0x53b174(0x3a5)](_0x8816fc);return _0x6de51d?_0x6de51d['isMultipleSelect']():![];}['getFieldOptions'](_0x69656a){const _0x38cb3f=a0_0x2f204f;if(!_0x69656a||typeof _0x69656a!==_0x38cb3f(0x47a))return[];const _0x334989=this[_0x38cb3f(0x297)](_0x69656a),_0x2b5ed8=this[_0x38cb3f(0x3a5)](_0x334989);if(!_0x2b5ed8||!_0x2b5ed8[_0x38cb3f(0x375)]())return[];return _0x2b5ed8[_0x38cb3f(0x49b)]()||[];}['getFieldSelectItemsSource'](_0x32d193){const _0x444376=a0_0x2f204f;if(!_0x32d193||typeof _0x32d193!=='object')return;const _0x17def5=this[_0x444376(0x297)](_0x32d193),_0x31c91e=this[_0x444376(0x3a5)](_0x17def5);if(!_0x31c91e||!_0x31c91e[_0x444376(0x375)]())return;return _0x31c91e[_0x444376(0x451)]();}[a0_0x2f204f(0x276)](_0xf4fd7d){const _0x4a9969=a0_0x2f204f;if(!_0xf4fd7d||typeof _0xf4fd7d!==_0x4a9969(0x47a))return;const _0x4a71d6=this[_0x4a9969(0x297)](_0xf4fd7d),_0x5080c7=this[_0x4a9969(0x3a5)](_0x4a71d6);if(!_0x5080c7||!_0x5080c7[_0x4a9969(0x375)]())return;return _0x5080c7[_0x4a9969(0x2df)]();}[a0_0x2f204f(0x1fc)](){const _0x2c4380=a0_0x2f204f;return this['getFieldList']()['getPrimaryKeys']()[_0x2c4380(0x2ec)](_0x481fb4=>_0x481fb4[_0x2c4380(0x2f4)]);}['getSystemFields'](){const _0x42b04f=a0_0x2f204f;return this[_0x42b04f(0x299)]()['getSystem']()[_0x42b04f(0x2ec)](_0x350063=>_0x350063[_0x42b04f(0x2f4)]);}['getBusinessFields'](){const _0x386f8d=a0_0x2f204f;return this[_0x386f8d(0x299)]()[_0x386f8d(0x2a2)]()[_0x386f8d(0x2ec)](_0x334087=>_0x334087[_0x386f8d(0x2f4)]);}['getRequiredFields'](){const _0x4f2c25=a0_0x2f204f;return this[_0x4f2c25(0x299)]()[_0x4f2c25(0x3fd)]()[_0x4f2c25(0x2ec)](_0x2f3654=>_0x2f3654['raw']);}['getFieldsByType'](){const _0x5ab6a8=a0_0x2f204f,_0x50d457=this[_0x5ab6a8(0x299)]()[_0x5ab6a8(0x2dc)](),_0x2d016b={};for(const [_0x3b94fc,_0x470ef4]of Object[_0x5ab6a8(0x294)](_0x50d457)){_0x2d016b[_0x3b94fc]=_0x470ef4[_0x5ab6a8(0x2ec)](_0x32f183=>_0x32f183[_0x5ab6a8(0x2f4)]);}return _0x2d016b;}[a0_0x2f204f(0x436)](){const _0x2dc6a8=a0_0x2f204f;return this[_0x2dc6a8(0x299)]()[_0x2dc6a8(0x377)]()[_0x2dc6a8(0x2ec)](_0x28d8c5=>_0x28d8c5[_0x2dc6a8(0x2f4)]);}['getEnumFieldsMeta'](){const _0x3c50bd=a0_0x2f204f,_0x92096d={};return this[_0x3c50bd(0x436)]()[_0x3c50bd(0x365)](_0x1e4f18=>{const _0x79dc2=_0x3c50bd,_0x24c305=this[_0x79dc2(0x276)](_0x1e4f18);if(_0x24c305){const _0x18ba8f=this[_0x79dc2(0x297)](_0x1e4f18);_0x92096d[_0x18ba8f]=_0x24c305;}}),_0x92096d;}[a0_0x2f204f(0x3cb)](_0x38318f,_0x1f142a){const _0x3e73f0=a0_0x2f204f,_0x17787a=this[_0x3e73f0(0x276)](_0x38318f);if(!_0x17787a)return!![];if(_0x17787a[_0x3e73f0(0x2d3)]&&!_0x17787a[_0x3e73f0(0x459)])return!![];const _0x281caf=this[_0x3e73f0(0x297)](_0x38318f),_0x58b0a1=this[_0x3e73f0(0x3a5)](_0x281caf),_0x1c2fb2=_0x58b0a1?_0x58b0a1['isMultipleSelect']():![];if(_0x1c2fb2&&Array[_0x3e73f0(0x2ca)](_0x1f142a))return _0x1f142a[_0x3e73f0(0x277)](_0x35718c=>_0x17787a[_0x3e73f0(0x28f)][_0x3e73f0(0x476)](_0x35718c));return _0x17787a['values']['includes'](_0x1f142a);}[a0_0x2f204f(0x350)](){const _0x126c2f=a0_0x2f204f;return new DatasetItem({'id':this['id'],'name':this[_0x126c2f(0x1fa)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x126c2f(0x213)]()});}[a0_0x2f204f(0x2e3)](){const _0x5cf102=a0_0x2f204f;return _0x5cf102(0x312)+this[_0x5cf102(0x1fa)]+',\x20'+this[_0x5cf102(0x1ff)]+',\x20'+this[_0x5cf102(0x356)]()+_0x5cf102(0x3fc)+this[_0x5cf102(0x25b)]()+_0x5cf102(0x47b)+this[_0x5cf102(0x394)]()+')';}[a0_0x2f204f(0x308)](){const _0x3d229d=a0_0x2f204f;return this[_0x3d229d(0x2aa)]('filter');}[a0_0x2f204f(0x2f1)](_0x198fbb){const _0x1eb432=a0_0x2f204f;return this[_0x1eb432(0x3ed)](_0x1eb432(0x417),_0x198fbb);}[a0_0x2f204f(0x44c)](){const _0xa58c25=a0_0x2f204f;return this[_0xa58c25(0x292)](_0xa58c25(0x417));}[a0_0x2f204f(0x2aa)](_0x553736){const _0x496275=a0_0x2f204f,_0x4568ca=this[_0x496275(0x270)](_0x553736);return _0x4568ca?_0x4568ca[_0x496275(0x203)]():[];}[a0_0x2f204f(0x3ed)](_0x1df106,_0x10868f){const _0x2b31ca=a0_0x2f204f,_0x401c2a=this[_0x2b31ca(0x270)](_0x1df106);return _0x401c2a?_0x401c2a[_0x2b31ca(0x28d)](_0x10868f):[];}[a0_0x2f204f(0x292)](_0xdeefc){const _0x560fc6=a0_0x2f204f,_0x4e8fe2={};return this['getFieldList']()[_0x560fc6(0x365)](_0x3fb6bd=>{const _0x246209=_0x560fc6,_0x38c185=this[_0x246209(0x3ed)](_0xdeefc,_0x3fb6bd[_0x246209(0x3ad)]);_0x38c185['length']>0x0&&(_0x4e8fe2[_0x3fb6bd[_0x246209(0x3ad)]]=_0x38c185);}),_0x4e8fe2;}[a0_0x2f204f(0x43c)](_0x46c93c,_0x36540f,_0x49fee1){const _0x5862b5=a0_0x2f204f,_0xa0ea50=this['getOperationFieldOperators'](_0x46c93c,_0x36540f);return _0xa0ea50[_0x5862b5(0x476)](_0x49fee1);}}class FieldBase{get[a0_0x2f204f(0x21f)](){return;}get[a0_0x2f204f(0x458)](){return;}get[a0_0x2f204f(0x296)](){return;}get[a0_0x2f204f(0x395)](){return;}['isBusiness'](){return!this['isSystem']();}[a0_0x2f204f(0x21c)](){const _0x3a84a9=a0_0x2f204f;return this[_0x3a84a9(0x33c)];}[a0_0x2f204f(0x375)](){const _0x275782=a0_0x2f204f,_0xe310c9=[_0x275782(0x313),_0x275782(0x38a),_0x275782(0x31d)];return _0xe310c9[_0x275782(0x476)](this[_0x275782(0x337)]);}[a0_0x2f204f(0x2c3)](){const _0x20c94b=a0_0x2f204f;return this[_0x20c94b(0x337)]==='CHECKBOX';}[a0_0x2f204f(0x42a)](){const _0x1e34c5=this['getEnumMeta']();return _0x1e34c5?.['values']||[];}['getEnumMeta'](){const _0x4295b7=a0_0x2f204f;if(!this['isEnum']())return;const _0x4b900c=this[_0x4295b7(0x49b)](),_0x5adfc2=this[_0x4295b7(0x451)](),_0x197c28=[],_0x311027={},_0x24e042=_0x2e69b8=>{const _0x583265=_0x4295b7;_0x2e69b8[_0x583265(0x365)](_0x179d73=>{const _0x4a38a6=_0x583265;_0x197c28[_0x4a38a6(0x214)](_0x179d73[_0x4a38a6(0x2d9)]),_0x311027[String(_0x179d73['value'])]=_0x179d73[_0x4a38a6(0x372)],_0x179d73[_0x4a38a6(0x3ab)]&&_0x179d73[_0x4a38a6(0x3ab)][_0x4a38a6(0x2cb)]>0x0&&_0x24e042(_0x179d73[_0x4a38a6(0x3ab)]);});};return _0x4b900c&&_0x4b900c[_0x4295b7(0x2cb)]>0x0&&_0x24e042(_0x4b900c),{'code':this[_0x4295b7(0x3ad)],'name':this[_0x4295b7(0x1fa)],'type':this[_0x4295b7(0x337)],'multiple':this[_0x4295b7(0x2c3)](),'options':_0x4b900c,'selectItemsSource':_0x5adfc2,'values':_0x197c28,'valueLabels':_0x311027};}get[a0_0x2f204f(0x2a4)](){const _0x503e46=a0_0x2f204f;return this[_0x503e46(0x42a)]();}['toString'](){const _0x21b86a=a0_0x2f204f;return _0x21b86a(0x366)+this[_0x21b86a(0x1fa)]+',\x20'+this['code']+',\x20'+this[_0x21b86a(0x337)]+',\x20'+this['getVersion']()+')';}}class FieldV1 extends FieldBase{[a0_0x2f204f(0x282)];[a0_0x2f204f(0x40d)]=null;constructor(_0x407f2b){const _0x5e5ee5=a0_0x2f204f;super();if(!_0x407f2b||typeof _0x407f2b!==_0x5e5ee5(0x47a))throw new Error('[Field]\x20Invalid\x20field\x20definition');this[_0x5e5ee5(0x282)]=_0x407f2b;}[a0_0x2f204f(0x2c4)](){const _0x1189d0=a0_0x2f204f;return this[_0x1189d0(0x282)];}[a0_0x2f204f(0x394)](){return'v1';}get[a0_0x2f204f(0x2f4)](){const _0x7e8c57=a0_0x2f204f;return this[_0x7e8c57(0x282)];}get[a0_0x2f204f(0x1fa)](){const _0x2804c9=a0_0x2f204f;return this[_0x2804c9(0x282)][_0x2804c9(0x1fa)]||'';}get[a0_0x2f204f(0x3ad)](){const _0x48ad77=a0_0x2f204f;return this[_0x48ad77(0x282)][_0x48ad77(0x3ad)]||'';}get[a0_0x2f204f(0x337)](){const _0x428b39=a0_0x2f204f;return this[_0x428b39(0x282)]['type']||'';}get['description'](){const _0x6976fa=a0_0x2f204f;return this[_0x6976fa(0x282)][_0x6976fa(0x2b7)]||'';}get['deleted'](){const _0x3f4ca0=a0_0x2f204f;return Boolean(this['_raw'][_0x3f4ca0(0x33c)]);}get['dbType'](){const _0x26d38d=a0_0x2f204f;return this['_raw'][_0x26d38d(0x21f)];}get['dbTypeLen'](){return this['_raw']['dbTypeLen'];}get['displayName'](){const _0x181fd8=a0_0x2f204f;return this[_0x181fd8(0x282)][_0x181fd8(0x229)];}get[a0_0x2f204f(0x395)](){return;}get[a0_0x2f204f(0x485)](){const _0x4ef3ef=a0_0x2f204f;if(this[_0x4ef3ef(0x40d)]!==null&&typeof this[_0x4ef3ef(0x40d)]===_0x4ef3ef(0x47a))return this['_extend'];const _0x2c5603=this[_0x4ef3ef(0x282)]['extend'];if(!_0x2c5603||typeof _0x2c5603!==_0x4ef3ef(0x3b1))return this[_0x4ef3ef(0x40d)]={},this[_0x4ef3ef(0x40d)];if(_0x2c5603==='null'||_0x2c5603[_0x4ef3ef(0x20b)]()===_0x4ef3ef(0x25e))return this[_0x4ef3ef(0x40d)]={},this[_0x4ef3ef(0x40d)];try{const _0x288c7e=JSON[_0x4ef3ef(0x21e)](_0x2c5603);return this[_0x4ef3ef(0x40d)]=_0x288c7e!==null&&typeof _0x288c7e===_0x4ef3ef(0x47a)&&!Array[_0x4ef3ef(0x2ca)](_0x288c7e)?_0x288c7e:{},this['_extend'];}catch(_0x43d46a){return!![]&&console[_0x4ef3ef(0x441)](_0x4ef3ef(0x318)+this[_0x4ef3ef(0x3ad)]+_0x4ef3ef(0x3df),_0x43d46a),this['_extend']={},this[_0x4ef3ef(0x40d)];}}['isRequired'](){return Boolean(this['extend']['required']);}[a0_0x2f204f(0x48b)](){const _0x435669=a0_0x2f204f;return Boolean(this[_0x435669(0x485)][_0x435669(0x273)]||this[_0x435669(0x485)]['pkField']);}[a0_0x2f204f(0x464)](){const _0x52a2b9=a0_0x2f204f;return Boolean(this[_0x52a2b9(0x485)][_0x52a2b9(0x432)]);}[a0_0x2f204f(0x215)](){const _0x11e1ab=a0_0x2f204f;return Boolean(this[_0x11e1ab(0x485)][_0x11e1ab(0x3f7)]);}[a0_0x2f204f(0x3b7)](){const _0x42c98e=a0_0x2f204f;return Boolean(this['extend'][_0x42c98e(0x353)]);}['isUpdateTime'](){const _0x1ac782=a0_0x2f204f;return Boolean(this[_0x1ac782(0x485)]['updateTime']);}['getDisplayName'](){const _0x22b705=a0_0x2f204f;return this[_0x22b705(0x1fa)];}['getFieldName'](){const _0x5663fe=a0_0x2f204f;return this[_0x5663fe(0x3ad)];}['isEnum'](){const _0x2ade30=a0_0x2f204f,_0x19c23f=[_0x2ade30(0x313),'SELECT','CHECKBOX'];if(_0x19c23f['includes'](this[_0x2ade30(0x337)]))return!![];const _0x443e84=this[_0x2ade30(0x485)];return Boolean(_0x443e84[_0x2ade30(0x459)]&&Array[_0x2ade30(0x2ca)](_0x443e84[_0x2ade30(0x459)])&&_0x443e84[_0x2ade30(0x459)][_0x2ade30(0x2cb)]>0x0||_0x443e84[_0x2ade30(0x2d3)]);}[a0_0x2f204f(0x2c3)](){const _0x57d7eb=a0_0x2f204f;if(this[_0x57d7eb(0x337)]===_0x57d7eb(0x31d))return!![];return Boolean(this['extend']['multiple']);}['getEnumOptions'](){const _0x1d3256=a0_0x2f204f,_0x1a619b=this[_0x1d3256(0x485)];if(_0x1a619b[_0x1d3256(0x459)]&&Array[_0x1d3256(0x2ca)](_0x1a619b['options']))return _0x1a619b[_0x1d3256(0x459)];return;}[a0_0x2f204f(0x451)](){const _0x52df43=a0_0x2f204f,_0x5cf654=this['extend'];if(_0x5cf654['selectItemsSource']&&typeof _0x5cf654[_0x52df43(0x2d3)]===_0x52df43(0x47a))return _0x5cf654[_0x52df43(0x2d3)];return;}[a0_0x2f204f(0x497)](){const _0x27528b=a0_0x2f204f;return this[_0x27528b(0x337)][_0x27528b(0x28b)]();}[a0_0x2f204f(0x261)](){const _0x96e2ba=a0_0x2f204f;return this['extend'][_0x96e2ba(0x2f2)];}[a0_0x2f204f(0x2ae)](){const _0x42d0c7=a0_0x2f204f;return this[_0x42d0c7(0x485)][_0x42d0c7(0x449)];}[a0_0x2f204f(0x358)](){const _0x44d03c=a0_0x2f204f;return{'name':this[_0x44d03c(0x1fa)],'code':this[_0x44d03c(0x3ad)],'type':this[_0x44d03c(0x337)],'description':this['description'],'required':this[_0x44d03c(0x404)](),'primaryKey':this[_0x44d03c(0x48b)](),'system':this[_0x44d03c(0x464)](),'autoIncrement':this[_0x44d03c(0x215)](),'createTime':this[_0x44d03c(0x3b7)](),'updateTime':this[_0x44d03c(0x1fb)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x44d03c(0x375)]()?this['getEnumMeta']():undefined};}[a0_0x2f204f(0x2e3)](){const _0x401e32=a0_0x2f204f;return _0x401e32(0x46a)+this['name']+',\x20'+this['code']+',\x20'+this[_0x401e32(0x337)]+')';}}class FieldListBase{['_fields'];constructor(_0x418271,_0x1dd6d2){const _0x10c197=a0_0x2f204f;if(!Array[_0x10c197(0x2ca)](_0x418271))throw new Error('[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array');const _0x37c216=_0x1dd6d2?.['includeDeleted']??![],_0x46a170=_0x37c216?_0x418271:_0x418271['filter'](_0x10a484=>{const _0xbe291e=_0x10c197,_0x5e6bac=_0x10a484;return!_0x5e6bac[_0xbe291e(0x33c)];});this[_0x10c197(0x4a1)]=this[_0x10c197(0x385)](_0x46a170);}get['length'](){const _0x145619=a0_0x2f204f;return this[_0x145619(0x4a1)][_0x145619(0x2cb)];}[a0_0x2f204f(0x3de)](){const _0x29aaf2=a0_0x2f204f;return[...this[_0x29aaf2(0x4a1)]];}['at'](_0x35cc09){return this['_fields']['at'](_0x35cc09);}[a0_0x2f204f(0x431)](_0x4d3ae9){const _0x57e125=a0_0x2f204f;return this[_0x57e125(0x4a1)]['find'](_0x26172a=>_0x26172a[_0x57e125(0x3ad)]===_0x4d3ae9);}[a0_0x2f204f(0x3a6)](_0x3e79e5){const _0x3df1ff=a0_0x2f204f;return this[_0x3df1ff(0x4a1)][_0x3df1ff(0x431)](_0x4b8fd3=>_0x4b8fd3[_0x3df1ff(0x1fa)]===_0x3e79e5);}['has'](_0x190103){const _0x1db8de=a0_0x2f204f;return this[_0x1db8de(0x4a1)][_0x1db8de(0x44f)](_0x46cda8=>_0x46cda8[_0x1db8de(0x3ad)]===_0x190103);}[a0_0x2f204f(0x365)](_0x24ff06){const _0x391979=a0_0x2f204f;this[_0x391979(0x4a1)][_0x391979(0x365)](_0x24ff06);}[a0_0x2f204f(0x2ec)](_0x1e804f){const _0x66970e=a0_0x2f204f;return this['_fields'][_0x66970e(0x2ec)](_0x1e804f);}[a0_0x2f204f(0x417)](_0x549098){const _0x2eefb9=a0_0x2f204f;return this[_0x2eefb9(0x4a1)][_0x2eefb9(0x417)](_0x549098);}[a0_0x2f204f(0x277)](_0x5626b6){const _0xdae20d=a0_0x2f204f;return this[_0xdae20d(0x4a1)]['every'](_0x5626b6);}[a0_0x2f204f(0x44f)](_0x3b0df9){const _0x3a5561=a0_0x2f204f;return this['_fields'][_0x3a5561(0x44f)](_0x3b0df9);}[a0_0x2f204f(0x3fd)](){const _0x2d0b7f=a0_0x2f204f;return this['_fields'][_0x2d0b7f(0x417)](_0x4aaf29=>_0x4aaf29[_0x2d0b7f(0x404)]());}['getPrimaryKeys'](){const _0x53db3c=a0_0x2f204f;return this[_0x53db3c(0x4a1)][_0x53db3c(0x417)](_0x1f1fc3=>_0x1f1fc3[_0x53db3c(0x48b)]());}['getSystem'](){const _0x354218=a0_0x2f204f;return this[_0x354218(0x4a1)]['filter'](_0x2458dd=>_0x2458dd[_0x354218(0x464)]());}[a0_0x2f204f(0x2a2)](){const _0x344f69=a0_0x2f204f;return this[_0x344f69(0x4a1)][_0x344f69(0x417)](_0x418d18=>_0x418d18[_0x344f69(0x2b4)]());}[a0_0x2f204f(0x377)](){const _0x37efa5=a0_0x2f204f;return this['_fields'][_0x37efa5(0x417)](_0x544a94=>_0x544a94[_0x37efa5(0x375)]());}[a0_0x2f204f(0x2f3)](){const _0x487fea=a0_0x2f204f;return this[_0x487fea(0x4a1)]['filter'](_0x47c447=>_0x47c447[_0x487fea(0x215)]());}[a0_0x2f204f(0x489)](){const _0x33cc69=a0_0x2f204f;return this[_0x33cc69(0x4a1)]['filter'](_0x33f153=>_0x33f153[_0x33cc69(0x3b7)]());}['getUpdateTime'](){const _0x14211b=a0_0x2f204f;return this[_0x14211b(0x4a1)][_0x14211b(0x417)](_0xf7f63c=>_0xf7f63c[_0x14211b(0x1fb)]());}['getDeleted'](){const _0x1cf453=a0_0x2f204f;return this['_fields'][_0x1cf453(0x417)](_0x10162f=>_0x10162f[_0x1cf453(0x21c)]());}[a0_0x2f204f(0x42b)](){const _0x72926e=a0_0x2f204f;return this['_fields']['filter'](_0x269a02=>!_0x269a02[_0x72926e(0x21c)]());}[a0_0x2f204f(0x2dc)](){const _0x2fae28=a0_0x2f204f,_0x5204d3={};return this['_fields'][_0x2fae28(0x365)](_0x3aa552=>{const _0xb46c16=_0x2fae28,_0x4b3ef1=_0x3aa552[_0xb46c16(0x337)];!_0x5204d3[_0x4b3ef1]&&(_0x5204d3[_0x4b3ef1]=[]),_0x5204d3[_0x4b3ef1]['push'](_0x3aa552);}),_0x5204d3;}[a0_0x2f204f(0x286)](){const _0x355244=a0_0x2f204f,_0x58d6ab={};return this[_0x355244(0x4a1)][_0x355244(0x365)](_0x28af18=>{const _0x365eef=_0x355244;if(_0x28af18['isEnum']()){const _0x2e35af=_0x28af18[_0x365eef(0x2df)]();_0x2e35af&&(_0x58d6ab[_0x28af18[_0x365eef(0x3ad)]]=_0x2e35af);}}),_0x58d6ab;}[a0_0x2f204f(0x2c0)](){const _0x4c2ebd=a0_0x2f204f;return{'total':this[_0x4c2ebd(0x2cb)],'required':this[_0x4c2ebd(0x3fd)]()[_0x4c2ebd(0x2cb)],'primaryKey':this[_0x4c2ebd(0x3f1)]()[_0x4c2ebd(0x2cb)],'system':this[_0x4c2ebd(0x42e)]()[_0x4c2ebd(0x2cb)],'business':this[_0x4c2ebd(0x2a2)]()[_0x4c2ebd(0x2cb)],'enum':this[_0x4c2ebd(0x377)]()['length'],'autoIncrement':this['getAutoIncrement']()[_0x4c2ebd(0x2cb)]};}['getCodes'](){const _0x1afa21=a0_0x2f204f;return this['_fields']['map'](_0xb22509=>_0xb22509[_0x1afa21(0x3ad)]);}[a0_0x2f204f(0x428)](){const _0x31663c=a0_0x2f204f;return this[_0x31663c(0x4a1)]['map'](_0x531c30=>_0x531c30['getDisplayName']());}[a0_0x2f204f(0x22b)](){const _0x485510=a0_0x2f204f;return this[_0x485510(0x4a1)][_0x485510(0x2ec)](_0x4c82c6=>_0x4c82c6[_0x485510(0x448)]());}[a0_0x2f204f(0x358)](){const _0x4e6faa=a0_0x2f204f;return this['_fields'][_0x4e6faa(0x2ec)](_0x3893cf=>_0x3893cf[_0x4e6faa(0x358)]());}[a0_0x2f204f(0x2e3)](){const _0x2f3f30=a0_0x2f204f;return'FieldList('+this[_0x2f3f30(0x2cb)]+_0x2f3f30(0x2f8);}}class FieldListV1 extends FieldListBase{constructor(_0x414dfc,_0x444317){super(_0x414dfc,_0x444317);}['createFields'](_0x3f4a1e){return _0x3f4a1e['map'](_0x3c2ea2=>new FieldV1(_0x3c2ea2));}[a0_0x2f204f(0x3de)](){return[...this['_fields']];}['at'](_0xc3601){const _0x3c6fbe=a0_0x2f204f;return this[_0x3c6fbe(0x4a1)]['at'](_0xc3601);}[a0_0x2f204f(0x431)](_0x7905b1){const _0x5019db=a0_0x2f204f;return this[_0x5019db(0x4a1)][_0x5019db(0x431)](_0x2de2af=>_0x2de2af['code']===_0x7905b1);}[a0_0x2f204f(0x3a6)](_0x426d9a){const _0x351922=a0_0x2f204f;return this[_0x351922(0x4a1)][_0x351922(0x431)](_0x5baf88=>_0x5baf88['name']===_0x426d9a);}[a0_0x2f204f(0x417)](_0x489f98){const _0x3df31d=a0_0x2f204f;return this['_fields'][_0x3df31d(0x417)](_0x489f98);}[a0_0x2f204f(0x2ec)](_0x173993){const _0x17188f=a0_0x2f204f;return this['_fields'][_0x17188f(0x2ec)](_0x173993);}[a0_0x2f204f(0x3fd)](){const _0x3b1236=a0_0x2f204f;return this[_0x3b1236(0x4a1)][_0x3b1236(0x417)](_0x52bb2a=>_0x52bb2a['isRequired']());}[a0_0x2f204f(0x3f1)](){const _0x355363=a0_0x2f204f;return this[_0x355363(0x4a1)][_0x355363(0x417)](_0x46a936=>_0x46a936[_0x355363(0x48b)]());}[a0_0x2f204f(0x42e)](){const _0x56d6b4=a0_0x2f204f;return this[_0x56d6b4(0x4a1)]['filter'](_0x3b9a31=>_0x3b9a31[_0x56d6b4(0x464)]());}[a0_0x2f204f(0x2a2)](){const _0x318d32=a0_0x2f204f;return this['_fields'][_0x318d32(0x417)](_0x180e46=>_0x180e46['isBusiness']());}[a0_0x2f204f(0x377)](){const _0x4fe3ec=a0_0x2f204f;return this[_0x4fe3ec(0x4a1)]['filter'](_0x2590b7=>_0x2590b7[_0x4fe3ec(0x375)]());}[a0_0x2f204f(0x2dc)](){const _0x4654d3=a0_0x2f204f,_0x2b9a4f={};return this[_0x4654d3(0x4a1)]['forEach'](_0x57b786=>{const _0x65f75d=_0x4654d3,_0x46b713=_0x57b786[_0x65f75d(0x337)];!_0x2b9a4f[_0x46b713]&&(_0x2b9a4f[_0x46b713]=[]),_0x2b9a4f[_0x46b713][_0x65f75d(0x214)](_0x57b786);}),_0x2b9a4f;}[a0_0x2f204f(0x2f4)](){const _0x9cd71e=a0_0x2f204f;return this[_0x9cd71e(0x4a1)][_0x9cd71e(0x2ec)](_0x20bb03=>_0x20bb03['raw']);}static['from'](_0x380866){const _0x3d4bf2=a0_0x2f204f,_0xc77d7f=_0x380866[_0x3d4bf2(0x2ec)](_0x242082=>_0x242082[_0x3d4bf2(0x2f4)]);return new FieldListV1(_0xc77d7f);}static['withDeleted'](_0xdce9ac){const _0x25a0d3=a0_0x2f204f,_0x2f86bc={};return _0x2f86bc[_0x25a0d3(0x48e)]=!![],new FieldListV1(_0xdce9ac,_0x2f86bc);}}class FieldV2 extends FieldBase{[a0_0x2f204f(0x282)];constructor(_0x1c7cee){const _0x290a7c=a0_0x2f204f;super();if(!_0x1c7cee||typeof _0x1c7cee!==_0x290a7c(0x47a))throw new Error(_0x290a7c(0x263));this['_raw']=_0x1c7cee;}['getVersion'](){return'v2';}get[a0_0x2f204f(0x2f4)](){return this['_raw'];}get[a0_0x2f204f(0x1fa)](){const _0x9ff4e2=a0_0x2f204f;return this[_0x9ff4e2(0x282)][_0x9ff4e2(0x1fa)]||'';}get[a0_0x2f204f(0x3ad)](){const _0x2948e9=a0_0x2f204f;return this[_0x2948e9(0x282)][_0x2948e9(0x1fa)]||'';}get[a0_0x2f204f(0x296)](){const _0x4bb02e=a0_0x2f204f;return this[_0x4bb02e(0x282)][_0x4bb02e(0x296)]||'';}get[a0_0x2f204f(0x337)](){const _0x3dae5b=a0_0x2f204f;return this[_0x3dae5b(0x425)](this['_raw']['dbType']);}get[a0_0x2f204f(0x2b7)](){const _0x529ffa=a0_0x2f204f;return this['_raw'][_0x529ffa(0x2b7)]||'';}get['deleted'](){const _0x5a7bf5=a0_0x2f204f;return Boolean(this[_0x5a7bf5(0x282)]['deleted']);}[a0_0x2f204f(0x404)](){const _0x4dc037=a0_0x2f204f;return Boolean(this['_raw'][_0x4dc037(0x2fe)]);}[a0_0x2f204f(0x48b)](){const _0x2a9d19=a0_0x2f204f;return Boolean(this[_0x2a9d19(0x282)]['pkField']);}['isSystem'](){const _0xaecbd6=a0_0x2f204f;return Boolean(this[_0xaecbd6(0x282)][_0xaecbd6(0x432)]);}['isAutoIncrement'](){const _0xc13616=a0_0x2f204f;return Boolean(this['_raw'][_0xc13616(0x3f7)]);}[a0_0x2f204f(0x3b7)](){const _0x2a0c54=a0_0x2f204f;return this[_0x2a0c54(0x282)][_0x2a0c54(0x432)]===_0x2a0c54(0x353);}['isUpdateTime'](){const _0x3d165e=a0_0x2f204f;return this['_raw'][_0x3d165e(0x432)]==='updateTime';}['getDisplayName'](){const _0x5ee04d=a0_0x2f204f;return this['_raw'][_0x5ee04d(0x296)]||'';}[a0_0x2f204f(0x448)](){const _0x3df372=a0_0x2f204f;return this[_0x3df372(0x282)][_0x3df372(0x1fa)]||'';}[a0_0x2f204f(0x375)](){const _0x22d87b=a0_0x2f204f;return Boolean(this[_0x22d87b(0x282)][_0x22d87b(0x459)]&&Array[_0x22d87b(0x2ca)](this[_0x22d87b(0x282)]['options'])&&this[_0x22d87b(0x282)][_0x22d87b(0x459)][_0x22d87b(0x2cb)]>0x0);}[a0_0x2f204f(0x2c3)](){const _0x44c019=a0_0x2f204f,_0x1b5d7c=this[_0x44c019(0x282)][_0x44c019(0x485)];if(!_0x1b5d7c)return![];try{const _0x2a231f=JSON['parse'](_0x1b5d7c);if(_0x2a231f&&typeof _0x2a231f===_0x44c019(0x47a)&&'multiple'in _0x2a231f)return Boolean(_0x2a231f[_0x44c019(0x373)]);}catch{}return![];}[a0_0x2f204f(0x49b)](){const _0x482972=a0_0x2f204f;if(this[_0x482972(0x282)][_0x482972(0x459)]&&Array[_0x482972(0x2ca)](this[_0x482972(0x282)][_0x482972(0x459)]))return this[_0x482972(0x282)][_0x482972(0x459)];return;}[a0_0x2f204f(0x451)](){const _0x38660c=a0_0x2f204f,_0x44d952=this[_0x38660c(0x282)]['extend'];if(!_0x44d952)return;try{const _0x297a50=JSON['parse'](_0x44d952);if(_0x297a50&&typeof _0x297a50===_0x38660c(0x47a)&&_0x38660c(0x2d3)in _0x297a50)return _0x297a50[_0x38660c(0x2d3)];}catch{}return;}['getDbTypeForOperation'](){const _0x3b1f74=a0_0x2f204f;return this[_0x3b1f74(0x282)][_0x3b1f74(0x21f)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()[_0x3b1f74(0x28b)]();}[a0_0x2f204f(0x261)](){return;}[a0_0x2f204f(0x2ae)](){return;}get[a0_0x2f204f(0x21f)](){const _0x26cfc0=a0_0x2f204f;return this['_raw'][_0x26cfc0(0x21f)];}get[a0_0x2f204f(0x458)](){const _0x3deddb=a0_0x2f204f;return this[_0x3deddb(0x282)][_0x3deddb(0x458)];}[a0_0x2f204f(0x345)](){const _0x103acd=a0_0x2f204f;return this[_0x103acd(0x282)][_0x103acd(0x395)]??null;}get[a0_0x2f204f(0x395)](){const _0x12a239=a0_0x2f204f;return this[_0x12a239(0x282)][_0x12a239(0x395)]??null;}[a0_0x2f204f(0x358)](){const _0x24d2f0=a0_0x2f204f;return{'name':this[_0x24d2f0(0x1fa)],'code':this[_0x24d2f0(0x3ad)],'type':this[_0x24d2f0(0x337)],'dbType':this[_0x24d2f0(0x21f)],'dbTypeLen':this[_0x24d2f0(0x458)],'doType':this['getDOType'](),'displayName':this[_0x24d2f0(0x296)],'description':this[_0x24d2f0(0x2b7)],'required':this[_0x24d2f0(0x404)](),'primaryKey':this['isPrimaryKey'](),'system':this['isSystem'](),'autoIncrement':this[_0x24d2f0(0x215)](),'isEnum':this['isEnum'](),'enumMeta':this['isEnum']()?this[_0x24d2f0(0x2df)]():undefined};}['toString'](){const _0x19434e=a0_0x2f204f;return'FieldV2('+this[_0x19434e(0x1fa)]+',\x20'+this[_0x19434e(0x3ad)]+',\x20'+this[_0x19434e(0x21f)]+_0x19434e(0x32c)+this[_0x19434e(0x345)]()+')';}[a0_0x2f204f(0x425)](_0x5b17b0){const _0x27558c=a0_0x2f204f,_0x36d193={};_0x36d193['VARCHAR']=_0x27558c(0x35c),_0x36d193[_0x27558c(0x38b)]=_0x27558c(0x35c),_0x36d193[_0x27558c(0x35c)]='TEXTAREA',_0x36d193[_0x27558c(0x488)]=_0x27558c(0x241),_0x36d193['INT']='NUMBER',_0x36d193[_0x27558c(0x34d)]=_0x27558c(0x2f0),_0x36d193[_0x27558c(0x222)]=_0x27558c(0x2f0),_0x36d193['SMALLINT']='NUMBER',_0x36d193['DECIMAL']=_0x27558c(0x2f0),_0x36d193[_0x27558c(0x3c1)]=_0x27558c(0x2f0),_0x36d193[_0x27558c(0x2a0)]=_0x27558c(0x2f0),_0x36d193[_0x27558c(0x3ef)]=_0x27558c(0x39b),_0x36d193[_0x27558c(0x438)]=_0x27558c(0x39b),_0x36d193[_0x27558c(0x39b)]=_0x27558c(0x39b),_0x36d193[_0x27558c(0x30f)]=_0x27558c(0x30f),_0x36d193[_0x27558c(0x207)]=_0x27558c(0x232),_0x36d193[_0x27558c(0x264)]='SWITCH',_0x36d193['BLOB']=_0x27558c(0x200),_0x36d193[_0x27558c(0x210)]='FILE';const _0x4741c7=_0x36d193,_0x354001=_0x5b17b0[_0x27558c(0x28b)]();return _0x4741c7[_0x354001]||_0x27558c(0x35c);}}class FieldListV2 extends FieldListBase{constructor(_0x2e00f5,_0x3dea52){super(_0x2e00f5,_0x3dea52);}[a0_0x2f204f(0x385)](_0x282b25){return _0x282b25['map'](_0x26a117=>new FieldV2(_0x26a117));}[a0_0x2f204f(0x3de)](){const _0xdffe63=a0_0x2f204f;return[...this[_0xdffe63(0x4a1)]];}['at'](_0x54bda7){const _0x41b0bd=a0_0x2f204f;return this[_0x41b0bd(0x4a1)]['at'](_0x54bda7);}[a0_0x2f204f(0x431)](_0x59d8c3){const _0x595508=a0_0x2f204f;return this['_fields']['find'](_0x4134b0=>_0x4134b0[_0x595508(0x3ad)]===_0x59d8c3);}['findByName'](_0x2adfa5){const _0x4ccc7b=a0_0x2f204f;return this[_0x4ccc7b(0x4a1)][_0x4ccc7b(0x431)](_0x1c6cf8=>_0x1c6cf8[_0x4ccc7b(0x43b)]()===_0x2adfa5);}[a0_0x2f204f(0x417)](_0x45ac76){const _0x480c89=a0_0x2f204f;return this['_fields'][_0x480c89(0x417)](_0x45ac76);}[a0_0x2f204f(0x2ec)](_0x2f2cea){return this['_fields']['map'](_0x2f2cea);}[a0_0x2f204f(0x3fd)](){const _0x53d450=a0_0x2f204f;return this[_0x53d450(0x4a1)][_0x53d450(0x417)](_0xe6eaed=>_0xe6eaed[_0x53d450(0x404)]());}['getPrimaryKeys'](){const _0x21fda2=a0_0x2f204f;return this[_0x21fda2(0x4a1)][_0x21fda2(0x417)](_0x295bb=>_0x295bb[_0x21fda2(0x48b)]());}[a0_0x2f204f(0x42e)](){const _0x2c1442=a0_0x2f204f;return this['_fields'][_0x2c1442(0x417)](_0x3d5fe4=>_0x3d5fe4['isSystem']());}[a0_0x2f204f(0x2a2)](){const _0x374a9a=a0_0x2f204f;return this['_fields']['filter'](_0x4038c3=>_0x4038c3[_0x374a9a(0x2b4)]());}[a0_0x2f204f(0x377)](){const _0x3d7634=a0_0x2f204f;return this[_0x3d7634(0x4a1)][_0x3d7634(0x417)](_0x46f10a=>_0x46f10a[_0x3d7634(0x375)]());}['groupByType'](){const _0x4b10af=a0_0x2f204f,_0x309ca6={};return this[_0x4b10af(0x4a1)]['forEach'](_0xd57ea5=>{const _0x4963a1=_0x4b10af,_0x17cbe2=_0xd57ea5[_0x4963a1(0x337)];!_0x309ca6[_0x17cbe2]&&(_0x309ca6[_0x17cbe2]=[]),_0x309ca6[_0x17cbe2][_0x4963a1(0x214)](_0xd57ea5);}),_0x309ca6;}[a0_0x2f204f(0x2f4)](){const _0x3e21ba=a0_0x2f204f;return this[_0x3e21ba(0x4a1)][_0x3e21ba(0x2ec)](_0x9cfd34=>_0x9cfd34[_0x3e21ba(0x2f4)]);}static['from'](_0x1e7072){const _0x529a77=a0_0x2f204f,_0x2fe53a=_0x1e7072['map'](_0x258f3a=>_0x258f3a[_0x529a77(0x2f4)]);return new FieldListV2(_0x2fe53a);}static['withDeleted'](_0x3dd17){const _0xf7049a=a0_0x2f204f,_0x568c70={};return _0x568c70[_0xf7049a(0x48e)]=!![],new FieldListV2(_0x3dd17,_0x568c70);}[a0_0x2f204f(0x2e3)](){const _0x4ec3d7=a0_0x2f204f;return _0x4ec3d7(0x45b)+this[_0x4ec3d7(0x2cb)]+_0x4ec3d7(0x2f8);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x2f204f(0x46f)];[a0_0x2f204f(0x45c)];constructor(_0x4452cd){super(_0x4452cd);}[a0_0x2f204f(0x299)](){const _0x42b0b6=a0_0x2f204f;if(!this[_0x42b0b6(0x46f)]){const _0x46c203={};_0x46c203[_0x42b0b6(0x48e)]=![],this[_0x42b0b6(0x46f)]=new FieldListV1(this[_0x42b0b6(0x282)]['properties']||[],_0x46c203);}return this[_0x42b0b6(0x46f)];}[a0_0x2f204f(0x34f)](){const _0x2d8393=a0_0x2f204f;if(!this[_0x2d8393(0x45c)]){const _0x5d46d3={};_0x5d46d3[_0x2d8393(0x48e)]=!![],this['_fieldListV1WithDeleted']=new FieldListV1(this['_raw'][_0x2d8393(0x45f)]||[],_0x5d46d3);}return this[_0x2d8393(0x45c)];}[a0_0x2f204f(0x3db)](){const _0x593dd5=a0_0x2f204f;return(this['_raw'][_0x593dd5(0x45f)]||[])[_0x593dd5(0x417)](_0x4491a8=>!_0x4491a8[_0x593dd5(0x33c)]);}['getFieldCount'](){const _0x58159b=a0_0x2f204f;return this[_0x58159b(0x299)]()[_0x58159b(0x2cb)];}[a0_0x2f204f(0x32f)](_0x3416cc){const _0x243294=a0_0x2f204f;return this[_0x243294(0x282)][_0x243294(0x45f)]?.[_0x243294(0x431)](_0x4e04c1=>_0x4e04c1[_0x243294(0x3ad)]===_0x3416cc);}[a0_0x2f204f(0x394)](){return'v1';}['getFieldDataSource'](){const _0x1c6a55=a0_0x2f204f,_0xfa42b3={};return _0xfa42b3[_0x1c6a55(0x3a7)]=this[_0x1c6a55(0x282)][_0x1c6a55(0x45f)]||[],_0xfa42b3[_0x1c6a55(0x48e)]=![],_0xfa42b3;}[a0_0x2f204f(0x291)](){const _0x189699=a0_0x2f204f;return this['_raw'][_0x189699(0x36e)];}['getSource'](){const _0x26dfc7=a0_0x2f204f;return this['_raw'][_0x26dfc7(0x32a)];}['getDBConfig'](){const _0x38b36f=a0_0x2f204f,_0x22bf2f=this['getRawDbtableConfig'](),_0xfcbdcb=_0x22bf2f?.[_0x38b36f(0x2ea)],_0xa7c2d6={};return _0xa7c2d6['dbId']=_0x22bf2f?.[_0x38b36f(0x30d)],_0xa7c2d6['dbName']=_0x22bf2f?.[_0x38b36f(0x25a)]??_0xfcbdcb?.['dbName'],_0xa7c2d6[_0x38b36f(0x21f)]=_0xfcbdcb?.[_0x38b36f(0x21f)],_0xa7c2d6[_0x38b36f(0x34a)]=_0xfcbdcb?.[_0x38b36f(0x34a)],_0xa7c2d6[_0x38b36f(0x402)]=_0x22bf2f?.[_0x38b36f(0x402)],_0xa7c2d6[_0x38b36f(0x2c7)]=_0x22bf2f?.[_0x38b36f(0x2c7)],_0xa7c2d6[_0x38b36f(0x31b)]=_0x22bf2f?.[_0x38b36f(0x31b)],_0xa7c2d6[_0x38b36f(0x343)]=_0xfcbdcb?.[_0x38b36f(0x343)],_0xa7c2d6[_0x38b36f(0x480)]=_0xfcbdcb?.['appCode'],new DBConfig(_0xa7c2d6,_0x22bf2f);}get['version'](){const _0x14f499=a0_0x2f204f;return this[_0x14f499(0x282)][_0x14f499(0x48c)];}[a0_0x2f204f(0x3a5)](_0xc767ed){const _0x228671=a0_0x2f204f;if(typeof _0xc767ed!==_0x228671(0x3b1)){!![]&&console['warn'](_0x228671(0x435),_0xc767ed);return;}return this[_0x228671(0x299)]()[_0x228671(0x431)](_0xc767ed);}[a0_0x2f204f(0x269)](_0x46d632){const _0x3460a9=a0_0x2f204f;if(!_0x46d632||typeof _0x46d632!=='object')return![];const _0x25e1fa=this['getFieldInstance'](_0x46d632[_0x3460a9(0x3ad)]);return _0x25e1fa?_0x25e1fa[_0x3460a9(0x2c3)]():![];}['getFilterOperation'](){const _0x3866d8=a0_0x2f204f,_0x5aee70=this[_0x3866d8(0x270)](_0x3866d8(0x417));return _0x5aee70;}[a0_0x2f204f(0x35a)](){const _0xbc41e6=a0_0x2f204f;return this['hasOperation'](_0xbc41e6(0x417));}[a0_0x2f204f(0x350)](){const _0x8c1eb4=a0_0x2f204f;return new DatasetItem({'id':this['id'],'name':this[_0x8c1eb4(0x1fa)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x8c1eb4(0x213)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x2f204f(0x42d)];[a0_0x2f204f(0x422)];[a0_0x2f204f(0x258)];constructor(_0x17f8ee){const _0x1ee4e9=a0_0x2f204f;super(_0x17f8ee),this['_datasetMeta']=_0x17f8ee[_0x1ee4e9(0x48a)],this['_relations']=_0x17f8ee[_0x1ee4e9(0x288)]||[];}[a0_0x2f204f(0x394)](){return'v2';}[a0_0x2f204f(0x20e)](){const _0x1b4f1b=a0_0x2f204f,_0x470d2a={};return _0x470d2a[_0x1b4f1b(0x3a7)]=this[_0x1b4f1b(0x282)]['fields'],_0x470d2a['includeDeleted']=![],_0x470d2a;}[a0_0x2f204f(0x291)](){const _0x23465a=a0_0x2f204f;return this['_raw'][_0x23465a(0x36e)];}[a0_0x2f204f(0x369)](){const _0x194a5e=a0_0x2f204f;return this[_0x194a5e(0x282)][_0x194a5e(0x32a)];}[a0_0x2f204f(0x3fb)](){const _0x1c928e=a0_0x2f204f,_0x3c8ddb=this[_0x1c928e(0x282)]['dbtableConfig'],_0x1716ad=_0x3c8ddb?.['dblinkInfoDTO'],_0x3bb85d={};return _0x3bb85d['dbId']=_0x3c8ddb?.[_0x1c928e(0x30d)],_0x3bb85d[_0x1c928e(0x25a)]=_0x3c8ddb?.[_0x1c928e(0x25a)]??_0x1716ad?.[_0x1c928e(0x25a)],_0x3bb85d[_0x1c928e(0x21f)]=_0x1716ad?.['dbType'],_0x3bb85d['dbVersion']=_0x1716ad?.['dbVersion'],_0x3bb85d['tableName']=_0x3c8ddb?.['tableName'],_0x3bb85d[_0x1c928e(0x2c7)]=_0x3c8ddb?.[_0x1c928e(0x2c7)],_0x3bb85d[_0x1c928e(0x31b)]=_0x3c8ddb?.[_0x1c928e(0x31b)],_0x3bb85d[_0x1c928e(0x343)]=_0x3c8ddb?.[_0x1c928e(0x343)]??_0x1716ad?.['tenantCode'],_0x3bb85d[_0x1c928e(0x480)]=_0x3c8ddb?.[_0x1c928e(0x480)]??_0x1716ad?.[_0x1c928e(0x480)],new DBConfig(_0x3bb85d,_0x3c8ddb);}[a0_0x2f204f(0x299)](){const _0x2cedaf=a0_0x2f204f;return this[_0x2cedaf(0x245)]();}['getFields'](){const _0x4920ac=a0_0x2f204f;return this[_0x4920ac(0x282)][_0x4920ac(0x3a7)];}[a0_0x2f204f(0x356)](){const _0x7262de=a0_0x2f204f;return this[_0x7262de(0x282)][_0x7262de(0x3a7)]['length'];}[a0_0x2f204f(0x32f)](_0x421b82){const _0x564c0f=a0_0x2f204f;return this[_0x564c0f(0x282)]['fields']['find'](_0x3d115f=>_0x3d115f[_0x564c0f(0x1fa)]===_0x421b82);}[a0_0x2f204f(0x335)](){return this['_datasetMeta'];}[a0_0x2f204f(0x3f9)](){const _0x132ad1=a0_0x2f204f;return this[_0x132ad1(0x258)];}[a0_0x2f204f(0x473)](){const _0x564c62=a0_0x2f204f;return this[_0x564c62(0x422)][_0x564c62(0x20d)]||[];}[a0_0x2f204f(0x341)](_0x31c908){const _0x575e2f=a0_0x2f204f;return this[_0x575e2f(0x258)][_0x575e2f(0x417)](_0x366fad=>_0x366fad['fromField']===_0x31c908);}[a0_0x2f204f(0x3ee)](_0x5b1af0){const _0x59e030=a0_0x2f204f;return this[_0x59e030(0x258)][_0x59e030(0x44f)](_0x46f91e=>_0x46f91e[_0x59e030(0x27e)]===_0x5b1af0);}[a0_0x2f204f(0x364)](_0x413147){const _0x29e059=a0_0x2f204f,_0x435c8f=this[_0x29e059(0x258)][_0x29e059(0x431)](_0x36b4f2=>_0x36b4f2[_0x29e059(0x27e)]===_0x413147);if(!_0x435c8f)return;const _0x2ca8ba={};return _0x2ca8ba['datasetId']=_0x435c8f[_0x29e059(0x3ff)],_0x2ca8ba[_0x29e059(0x1ff)]=_0x435c8f['toDatasetCode'],_0x2ca8ba['datasetName']=_0x435c8f[_0x29e059(0x25d)],_0x2ca8ba[_0x29e059(0x402)]=_0x435c8f[_0x29e059(0x388)],_0x2ca8ba[_0x29e059(0x278)]=_0x435c8f[_0x29e059(0x278)],_0x2ca8ba;}['getForeignKeyFields'](){const _0x110296=a0_0x2f204f;return this[_0x110296(0x258)][_0x110296(0x2ec)](_0x28ec7e=>_0x28ec7e[_0x110296(0x27e)]);}['getFieldListV2'](){const _0x16703e=a0_0x2f204f;if(!this[_0x16703e(0x42d)]){const _0x16ad38=this['_raw']['fields']||[];this[_0x16703e(0x42d)]=new FieldListV2(_0x16ad38);}return this['_fieldListV2'];}[a0_0x2f204f(0x3a5)](_0x166383){const _0x4dcbd4=a0_0x2f204f;if(typeof _0x166383!==_0x4dcbd4(0x3b1)){!![]&&console[_0x4dcbd4(0x441)](_0x4dcbd4(0x461),_0x166383);return;}return this[_0x4dcbd4(0x245)]()[_0x4dcbd4(0x431)](_0x166383);}[a0_0x2f204f(0x269)](_0x6f594e){const _0xe28167=a0_0x2f204f;if(!_0x6f594e||typeof _0x6f594e!==_0xe28167(0x47a))return![];const _0x4a8b10=_0x6f594e[_0xe28167(0x1fa)]||_0x6f594e[_0xe28167(0x3ad)],_0x220448=this[_0xe28167(0x3a5)](_0x4a8b10);return _0x220448?_0x220448[_0xe28167(0x2c3)]():![];}[a0_0x2f204f(0x433)](){const _0x111c5a=a0_0x2f204f;if(!this[_0x111c5a(0x35d)]){const _0x1d5c27=this[_0x111c5a(0x3aa)](this[_0x111c5a(0x291)]()||{});this['_operationList']=new OperationList(_0x1d5c27,{'fields':this['getFieldListV2']()[_0x111c5a(0x3de)](),'pkField':this[_0x111c5a(0x282)][_0x111c5a(0x474)]?.[_0x111c5a(0x31b)],'dbtableConfig':this[_0x111c5a(0x282)][_0x111c5a(0x474)]||null});}return this[_0x111c5a(0x35d)];}[a0_0x2f204f(0x357)](){const _0x355065=a0_0x2f204f,_0x57b001=this[_0x355065(0x270)]('filter');return _0x57b001;}[a0_0x2f204f(0x35a)](){const _0x3cf018=a0_0x2f204f;return this[_0x3cf018(0x29f)](_0x3cf018(0x417));}[a0_0x2f204f(0x350)](){const _0x2e19f6=a0_0x2f204f;return new DatasetItem({'id':this['id'],'name':this[_0x2e19f6(0x1fa)],'datasetCode':this[_0x2e19f6(0x1ff)],'dbtableConfig':this[_0x2e19f6(0x213)]()});}[a0_0x2f204f(0x2e3)](){const _0x5d8d7a=a0_0x2f204f,_0x4e4fbf=this['_relations'][_0x5d8d7a(0x2cb)],_0x54e63e=this[_0x5d8d7a(0x473)]()['length'];return'DrivenDataDetailV2('+this[_0x5d8d7a(0x1fa)]+',\x20'+this[_0x5d8d7a(0x1ff)]+',\x20'+this[_0x5d8d7a(0x356)]()+_0x5d8d7a(0x3fc)+this[_0x5d8d7a(0x25b)]()+_0x5d8d7a(0x47b)+_0x4e4fbf+'\x20relations,\x20'+_0x54e63e+_0x5d8d7a(0x3e7);}[a0_0x2f204f(0x224)](){const _0x48ff9e=a0_0x2f204f;return this[_0x48ff9e(0x282)][_0x48ff9e(0x3a7)];}[a0_0x2f204f(0x307)](_0x387aa8){const _0x453afb=a0_0x2f204f;return this[_0x453afb(0x282)][_0x453afb(0x3a7)][_0x453afb(0x431)](_0x57d9b9=>_0x57d9b9['name']===_0x387aa8);}}function detectDatasetVersion(_0x2b218f){const _0x4e08bb=a0_0x2f204f;if(_0x2b218f[_0x4e08bb(0x233)]==='v2'&&_0x4e08bb(0x3a7)in _0x2b218f&&Array[_0x4e08bb(0x2ca)](_0x2b218f[_0x4e08bb(0x3a7)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x2f204f(0x1f8)];constructor(_0x2de3e2){const _0xd04fc=a0_0x2f204f;super(_0x2de3e2);const _0x1d69d1=detectDatasetVersion(_0x2de3e2);this[_0xd04fc(0x1f8)]=_0x1d69d1==='v2'?new DrivenDataDetailV2(_0x2de3e2):new DrivenDataDetailV1(_0x2de3e2);}get['id'](){const _0x5b1d13=a0_0x2f204f;return this[_0x5b1d13(0x1f8)]['id'];}get[a0_0x2f204f(0x1fa)](){return this['_instance']['name'];}get[a0_0x2f204f(0x1ff)](){const _0x39aec1=a0_0x2f204f;return this[_0x39aec1(0x1f8)][_0x39aec1(0x1ff)];}get[a0_0x2f204f(0x48c)](){const _0x4700d7=a0_0x2f204f;return this[_0x4700d7(0x1f8)][_0x4700d7(0x394)]()==='v2'?_0x4700d7(0x33a):_0x4700d7(0x2a9);}[a0_0x2f204f(0x394)](){const _0x1d6ff8=a0_0x2f204f;return this[_0x1d6ff8(0x1f8)]['getVersion']();}[a0_0x2f204f(0x24d)](){const _0x387709=a0_0x2f204f;return this[_0x387709(0x1f8)]['id'];}[a0_0x2f204f(0x3e2)](){const _0x5d15a3=a0_0x2f204f;return this[_0x5d15a3(0x1f8)][_0x5d15a3(0x1ff)];}[a0_0x2f204f(0x306)](){return this['_instance']['name'];}[a0_0x2f204f(0x20e)](){const _0xe5bf3b=a0_0x2f204f;return this[_0xe5bf3b(0x1f8)][_0xe5bf3b(0x20e)]();}[a0_0x2f204f(0x291)](){const _0x30fcef=a0_0x2f204f;return this['_instance'][_0x30fcef(0x291)]();}[a0_0x2f204f(0x369)](){const _0x1ef690=a0_0x2f204f;return this[_0x1ef690(0x1f8)][_0x1ef690(0x369)]();}[a0_0x2f204f(0x34f)](){const _0x52e695=a0_0x2f204f;return this['_instance'][_0x52e695(0x34f)]();}['getFieldList'](){const _0x16e02d=a0_0x2f204f;return this[_0x16e02d(0x1f8)]['getFieldList']();}[a0_0x2f204f(0x490)](){const _0x3cee12=a0_0x2f204f;return this[_0x3cee12(0x1f8)][_0x3cee12(0x490)]();}[a0_0x2f204f(0x3db)](){const _0x351881=a0_0x2f204f;return this[_0x351881(0x1f8)][_0x351881(0x3db)]();}[a0_0x2f204f(0x356)](){const _0x2d89ed=a0_0x2f204f;return this[_0x2d89ed(0x1f8)][_0x2d89ed(0x356)]();}[a0_0x2f204f(0x479)](){const _0xfe0a7c=a0_0x2f204f,_0x51d6d0=this[_0xfe0a7c(0x1f8)][_0xfe0a7c(0x213)]();return _0x51d6d0?.[_0xfe0a7c(0x31b)];}[a0_0x2f204f(0x3fb)](){const _0x465e37=a0_0x2f204f;return this[_0x465e37(0x1f8)][_0x465e37(0x3fb)]();}['getFieldInstance'](_0x46ad2c){const _0x5458cd=a0_0x2f204f;return this[_0x5458cd(0x1f8)]['getFieldInstance'](_0x46ad2c);}[a0_0x2f204f(0x1fc)](){const _0x45b96a=a0_0x2f204f;return this[_0x45b96a(0x1f8)][_0x45b96a(0x1fc)]();}[a0_0x2f204f(0x333)](){const _0x2997f2=a0_0x2f204f;return this['_instance'][_0x2997f2(0x333)]();}[a0_0x2f204f(0x49d)](){const _0x8ea16e=a0_0x2f204f;return this[_0x8ea16e(0x1f8)]['getBusinessFields']();}[a0_0x2f204f(0x36b)](){const _0x5c0b8f=a0_0x2f204f;return this[_0x5c0b8f(0x1f8)][_0x5c0b8f(0x36b)]();}[a0_0x2f204f(0x218)](){const _0x231aa5=a0_0x2f204f;return this['_instance'][_0x231aa5(0x218)]();}['getEnumFields'](){const _0x1d4690=a0_0x2f204f;return this[_0x1d4690(0x1f8)][_0x1d4690(0x436)]();}[a0_0x2f204f(0x339)](){const _0x15f085=a0_0x2f204f;return this['_instance'][_0x15f085(0x339)]();}[a0_0x2f204f(0x205)](){const _0x279b44=a0_0x2f204f;return this[_0x279b44(0x1f8)]['getOperations']();}[a0_0x2f204f(0x25b)](){const _0x721ebe=a0_0x2f204f;return this['_instance'][_0x721ebe(0x25b)]();}[a0_0x2f204f(0x3ce)](){const _0x44fa9d=a0_0x2f204f;return this[_0x44fa9d(0x1f8)][_0x44fa9d(0x3ce)]();}[a0_0x2f204f(0x211)](){const _0x5326a8=a0_0x2f204f;return this[_0x5326a8(0x1f8)][_0x5326a8(0x211)]();}[a0_0x2f204f(0x437)](){const _0x91c5d5=a0_0x2f204f;return this['_instance'][_0x91c5d5(0x437)]();}['getDisabledOperationInstances'](){const _0x142422=a0_0x2f204f;return this['_instance'][_0x142422(0x265)]();}[a0_0x2f204f(0x2c0)](){const _0x1c8a4b=a0_0x2f204f;return this[_0x1c8a4b(0x1f8)][_0x1c8a4b(0x2c0)]();}[a0_0x2f204f(0x335)](){return this['_instance']['getDatasetMeta']();}[a0_0x2f204f(0x3f9)](){const _0x3d2127=a0_0x2f204f;return this[_0x3d2127(0x1f8)]['getRelations']();}[a0_0x2f204f(0x473)](){const _0x31f818=a0_0x2f204f;return this[_0x31f818(0x1f8)][_0x31f818(0x473)]();}[a0_0x2f204f(0x308)](){const _0x34e793=a0_0x2f204f;return this[_0x34e793(0x1f8)][_0x34e793(0x308)]();}[a0_0x2f204f(0x44c)](){const _0x2d7e3b=a0_0x2f204f;return this['_instance'][_0x2d7e3b(0x44c)]();}[a0_0x2f204f(0x358)](){const _0x3f4708=a0_0x2f204f;return this[_0x3f4708(0x1f8)][_0x3f4708(0x358)]();}[a0_0x2f204f(0x357)](){const _0x470ae0=a0_0x2f204f;return this['_instance'][_0x470ae0(0x357)]();}['hasFilterOperation'](){const _0x59b78b=a0_0x2f204f;return this['_instance'][_0x59b78b(0x35a)]();}[a0_0x2f204f(0x350)](){const _0x4af981=a0_0x2f204f;return this[_0x4af981(0x1f8)][_0x4af981(0x350)]();}[a0_0x2f204f(0x2e3)](){const _0x308613=a0_0x2f204f;return this[_0x308613(0x1f8)]['toString']();}[a0_0x2f204f(0x2d7)](){return this['_instance'];}}function detectDatasetVersion2(_0x3ddc12){const _0x1128e6=a0_0x2f204f;if(_0x3ddc12[_0x1128e6(0x233)]==='v2'&&_0x1128e6(0x3a7)in _0x3ddc12&&Array[_0x1128e6(0x2ca)](_0x3ddc12[_0x1128e6(0x3a7)]))return'v2';return'v1';}function createDrivenDataDetail(_0x5e692c,_0xf69a50={}){const {forceVersion:_0x19de1d}=_0xf69a50;if(_0x19de1d==='v2')return new DrivenDataDetailV2(_0x5e692c);if(_0x19de1d==='v1')return new DrivenDataDetailV1(_0x5e692c);const _0x5351a5=detectDatasetVersion2(_0x5e692c);if(_0x5351a5==='v2')return new DrivenDataDetailV2(_0x5e692c);return new DrivenDataDetailV1(_0x5e692c);}function isV2Data(_0x1aaffc){return detectDatasetVersion2(_0x1aaffc)==='v2';}function isV1Data(_0x5b3dde){return detectDatasetVersion2(_0x5b3dde)==='v1';}function isV2Instance(_0x6c76a4){const _0xd4e7c5=a0_0x2f204f;return _0x6c76a4[_0xd4e7c5(0x394)]()==='v2';}function a0_0x5ce8(_0x472781,_0x470345){_0x472781=_0x472781-0x1f4;const _0x2ba480=a0_0x2ba4();let _0x5ce8c6=_0x2ba480[_0x472781];return _0x5ce8c6;}function isV1Instance(_0x149e18){const _0x2b00d2=a0_0x2f204f;return _0x149e18[_0x2b00d2(0x394)]()==='v1';}class DatasetGroup{[a0_0x2f204f(0x414)];constructor(_0x4c4771){const _0xbd4427=a0_0x2f204f;this[_0xbd4427(0x414)]=Array[_0xbd4427(0x2ca)](_0x4c4771)?[..._0x4c4771]:[_0x4c4771],this[_0xbd4427(0x414)]['sort']((_0x4b0e25,_0x17d648)=>{const _0x4f46e2=Number(_0x4b0e25['id'])||0x0,_0x40775c=Number(_0x17d648['id'])||0x0;return _0x40775c-_0x4f46e2;});}[a0_0x2f204f(0x360)](){const _0x5d6a49=a0_0x2f204f;return this[_0x5d6a49(0x414)][_0x5d6a49(0x2cb)]>0x1;}['getLatest'](){const _0x3fe0ee=a0_0x2f204f;return this[_0x3fe0ee(0x414)][0x0];}['getOldest'](){const _0x50add4=a0_0x2f204f;return this['items'][this['items'][_0x50add4(0x2cb)]-0x1];}[a0_0x2f204f(0x21d)](){return[...this['items']];}[a0_0x2f204f(0x391)](){const _0x4d799c=a0_0x2f204f;return this['items'][_0x4d799c(0x2cb)];}[a0_0x2f204f(0x38f)](_0x236a6d){const _0x371ca2=a0_0x2f204f;return this[_0x371ca2(0x414)][_0x236a6d];}['findById'](_0x42dc65){const _0x29de5b=a0_0x2f204f;return this['items'][_0x29de5b(0x431)](_0x1309e3=>_0x1309e3['id']===_0x42dc65);}[a0_0x2f204f(0x2c6)](_0x3e6fc3){const _0x583737=a0_0x2f204f;return this[_0x583737(0x414)][_0x583737(0x431)](_0x5afbc2=>_0x5afbc2['datasetCode']===_0x3e6fc3);}['getIds'](){const _0x4856ae=a0_0x2f204f;return this[_0x4856ae(0x414)]['map'](_0x513749=>_0x513749['id'])[_0x4856ae(0x417)](_0x149f76=>_0x149f76!==undefined);}[a0_0x2f204f(0x3a2)](){const _0x1ac629=a0_0x2f204f;return this[_0x1ac629(0x414)][_0x1ac629(0x2ec)](_0x19d777=>_0x19d777[_0x1ac629(0x1ff)]);}['toString'](){const _0x18c8de=a0_0x2f204f;if(this[_0x18c8de(0x360)]())return _0x18c8de(0x2e7)+this[_0x18c8de(0x414)][_0x18c8de(0x2cb)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x18c8de(0x3dc)]()[_0x18c8de(0x1fa)]+')';return'DatasetGroup('+this[_0x18c8de(0x414)][0x0][_0x18c8de(0x1fa)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x3c0c3d){const _0x440b3f=a0_0x2f204f;this[_0x440b3f(0x2b1)]=new Map();for(const _0x35fd36 of _0x3c0c3d){const _0x3c5eda=getTableKey(_0x35fd36);if(!this[_0x440b3f(0x2b1)][_0x440b3f(0x434)](_0x3c5eda))this[_0x440b3f(0x2b1)][_0x440b3f(0x31c)](_0x3c5eda,new DatasetGroup(_0x35fd36));else{const _0x2df030=this['groups'][_0x440b3f(0x45a)](_0x3c5eda),_0xbe8e8a=[..._0x2df030[_0x440b3f(0x21d)](),_0x35fd36];this[_0x440b3f(0x2b1)]['set'](_0x3c5eda,new DatasetGroup(_0xbe8e8a));}}}['get'](_0x43b478){const _0x1b2931=a0_0x2f204f;return this[_0x1b2931(0x2b1)]['get'](_0x43b478);}['has'](_0xca2a21){const _0x35cd74=a0_0x2f204f;return this[_0x35cd74(0x2b1)][_0x35cd74(0x434)](_0xca2a21);}get[a0_0x2f204f(0x43e)](){const _0x15d1f2=a0_0x2f204f;return this[_0x15d1f2(0x2b1)][_0x15d1f2(0x43e)];}[a0_0x2f204f(0x2f5)](){const _0x1e051f=a0_0x2f204f;return this[_0x1e051f(0x2b1)][_0x1e051f(0x2f5)]();}[a0_0x2f204f(0x28f)](){return this['groups']['values']();}[a0_0x2f204f(0x294)](){const _0x2d38e8=a0_0x2f204f;return this[_0x2d38e8(0x2b1)][_0x2d38e8(0x294)]();}[Symbol['iterator']](){const _0x5da725=a0_0x2f204f;return this['groups'][_0x5da725(0x294)]();}['forEach'](_0x4d98db){const _0x346fa3=a0_0x2f204f;this[_0x346fa3(0x2b1)][_0x346fa3(0x365)]((_0x5cede0,_0x63dc5c)=>_0x4d98db(_0x5cede0,_0x63dc5c,this));}['getConflicts'](){const _0x2e0f5f=a0_0x2f204f,_0x1008b8=new Map();for(const [_0x12fc0d,_0x58d5fb]of this[_0x2e0f5f(0x2b1)]){_0x58d5fb['hasConflict']()&&_0x1008b8['set'](_0x12fc0d,_0x58d5fb);}return _0x1008b8;}[a0_0x2f204f(0x3b4)](){const _0x30581b=a0_0x2f204f;for(const _0x44c9c8 of this[_0x30581b(0x2b1)][_0x30581b(0x28f)]()){if(_0x44c9c8[_0x30581b(0x360)]())return!![];}return![];}[a0_0x2f204f(0x47d)](){const _0x2d1c63=a0_0x2f204f;let _0x504c5d=0x0,_0x31cb4e=0x0;for(const _0x202ed9 of this['groups'][_0x2d1c63(0x28f)]()){_0x202ed9[_0x2d1c63(0x360)]()&&(_0x504c5d++,_0x31cb4e+=_0x202ed9['getCount']());}const _0x56bc37={};return _0x56bc37[_0x2d1c63(0x2b9)]=_0x504c5d,_0x56bc37[_0x2d1c63(0x3c3)]=_0x31cb4e,_0x56bc37[_0x2d1c63(0x3e4)]=this[_0x2d1c63(0x2b1)][_0x2d1c63(0x43e)],_0x56bc37;}['getAllDatasets'](){const _0x4aa58c=a0_0x2f204f,_0x2dee4=[];for(const _0x1ab79d of this['groups'][_0x4aa58c(0x28f)]()){_0x2dee4[_0x4aa58c(0x214)](..._0x1ab79d['getAll']());}return _0x2dee4;}['getLatestDatasets'](){const _0x35bdbd=a0_0x2f204f,_0x4c0d9d=[];for(const _0x44d760 of this[_0x35bdbd(0x2b1)][_0x35bdbd(0x28f)]()){_0x4c0d9d[_0x35bdbd(0x214)](_0x44d760[_0x35bdbd(0x3dc)]());}return _0x4c0d9d;}['getLatest'](_0x6657ca){const _0x349a1a=a0_0x2f204f;return this['groups']['get'](_0x6657ca)?.[_0x349a1a(0x3dc)]();}[a0_0x2f204f(0x21d)](_0x34aeb8){const _0x394691=a0_0x2f204f;return this[_0x394691(0x2b1)][_0x394691(0x45a)](_0x34aeb8)?.[_0x394691(0x21d)]()||[];}[a0_0x2f204f(0x25f)](){const _0x505726=a0_0x2f204f,_0x401c17=this[_0x505726(0x301)](),_0x5a00c1=_0x401c17[_0x505726(0x2ec)](_0x3f8f0f=>_0x3f8f0f[_0x505726(0x358)]()),_0x4be31={};return _0x4be31['enableDeduplication']=![],generateDatasetsConfig(_0x5a00c1,_0x4be31);}[a0_0x2f204f(0x3a1)](){const _0x56ae2d=a0_0x2f204f,_0x1b7c9e=this[_0x56ae2d(0x46b)](),_0x457d2c=_0x1b7c9e['map'](_0x4c4304=>_0x4c4304[_0x56ae2d(0x358)]());return generateFullDatasetsConfig(_0x457d2c);}['toObject'](){const _0x4a68fd=a0_0x2f204f,_0x255e4f={};for(const [_0x71f9a,_0xcdc421]of this[_0x4a68fd(0x2b1)]){_0x255e4f[_0x71f9a]=_0xcdc421;}return _0x255e4f;}[a0_0x2f204f(0x358)](){const _0x4ff5c6=a0_0x2f204f,_0x206ef2={};for(const [_0x99bbb,_0x197783]of this[_0x4ff5c6(0x2b1)]){_0x206ef2[_0x99bbb]=_0x197783[_0x4ff5c6(0x21d)]()[_0x4ff5c6(0x2ec)](_0xd19b56=>_0xd19b56['toJSON']());}return _0x206ef2;}[a0_0x2f204f(0x2e3)](){const _0x23f217=a0_0x2f204f;return'DatasetGroupMap('+this['groups'][_0x23f217(0x43e)]+_0x23f217(0x230)+(this[_0x23f217(0x3b4)]()?_0x23f217(0x293):_0x23f217(0x23b))+')';}}class DatasetList{[a0_0x2f204f(0x1f7)];constructor(_0x1722cd){const _0x18f971=a0_0x2f204f;let _0x59724f;if(Array[_0x18f971(0x2ca)](_0x1722cd))_0x59724f=_0x1722cd;else{if(_0x18f971(0x221)in _0x1722cd){if(!_0x1722cd[_0x18f971(0x221)])throw new Error(_0x18f971(0x3d1));if(Array[_0x18f971(0x2ca)](_0x1722cd['data']))_0x59724f=_0x1722cd[_0x18f971(0x29c)][_0x18f971(0x2ec)](_0x2c1a7b=>({..._0x2c1a7b,'datasetCode':_0x2c1a7b[_0x18f971(0x3ad)]||_0x2c1a7b[_0x18f971(0x1ff)]}));else{if(_0x1722cd[_0x18f971(0x29c)]?.[_0x18f971(0x426)])_0x59724f=_0x1722cd[_0x18f971(0x29c)][_0x18f971(0x426)][_0x18f971(0x2ec)](_0x3317e0=>({..._0x3317e0,'datasetCode':_0x3317e0[_0x18f971(0x3ad)]||_0x3317e0[_0x18f971(0x1ff)]}));else throw new Error(_0x18f971(0x285));}}else{if(_0x18f971(0x426)in _0x1722cd){if(!Array[_0x18f971(0x2ca)](_0x1722cd[_0x18f971(0x426)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0x59724f=_0x1722cd[_0x18f971(0x426)][_0x18f971(0x2ec)](_0x3393f7=>({..._0x3393f7,'datasetCode':_0x3393f7[_0x18f971(0x3ad)]||_0x3393f7['datasetCode']}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse');}}const _0x461f12=_0x59724f['map'](_0x377b98=>new DatasetItem(_0x377b98));this['_datasetMap']=new DatasetGroupMap(_0x461f12);}get['datasetMap'](){const _0x22d8f5=a0_0x2f204f;return this[_0x22d8f5(0x1f7)];}[a0_0x2f204f(0x42f)](){const _0x4f55db=a0_0x2f204f;return this[_0x4f55db(0x1f7)][_0x4f55db(0x46b)]();}[a0_0x2f204f(0x391)](){const _0x3a6bf8=a0_0x2f204f;return this['getItems']()[_0x3a6bf8(0x2cb)];}[a0_0x2f204f(0x27b)](){const _0x5ad23b=a0_0x2f204f;return this[_0x5ad23b(0x1f7)][_0x5ad23b(0x43e)]===0x0;}[a0_0x2f204f(0x38f)](_0x220e58){return this['getItems']()[_0x220e58];}[a0_0x2f204f(0x22a)](){const _0x5b33a4=a0_0x2f204f;return this[_0x5b33a4(0x42f)]()[0x0];}['getLast'](){const _0x120085=a0_0x2f204f,_0x44d169=this[_0x120085(0x42f)]();return _0x44d169[_0x44d169[_0x120085(0x2cb)]-0x1];}[a0_0x2f204f(0x2c6)](_0x5ad087){const _0x3f637d=a0_0x2f204f;for(const _0x286c3f of this[_0x3f637d(0x1f7)]['values']()){const _0x66265=_0x286c3f[_0x3f637d(0x2c6)](_0x5ad087);if(_0x66265)return _0x66265;}return;}[a0_0x2f204f(0x3a6)](_0x31c412){return this['getItems']()['find'](_0x3afdff=>_0x3afdff['name']===_0x31c412);}[a0_0x2f204f(0x21a)](_0x150288){const _0x570768=a0_0x2f204f;for(const _0x37f298 of this[_0x570768(0x1f7)][_0x570768(0x28f)]()){const _0x314ec6=_0x37f298['findById'](_0x150288);if(_0x314ec6)return _0x314ec6;}return;}['findByTableName'](_0x128b95){const _0x3f097d=a0_0x2f204f,_0x2b5e05=getTableKey(_0x128b95);return this[_0x3f097d(0x1f7)][_0x3f097d(0x3dc)](_0x2b5e05);}[a0_0x2f204f(0x417)](_0x353708){const _0x32d616=a0_0x2f204f,_0xd1a6eb=this['getItems']()[_0x32d616(0x417)](_0x353708);return new DatasetList(_0xd1a6eb[_0x32d616(0x2ec)](_0x21379f=>_0x21379f[_0x32d616(0x358)]()));}[a0_0x2f204f(0x26f)](_0x486f19){const _0x2b0f39=a0_0x2f204f;return this['getItems']()[_0x2b0f39(0x417)](_0x486f19);}[a0_0x2f204f(0x365)](_0x44ac7a){const _0x494a37=a0_0x2f204f;this['getItems']()[_0x494a37(0x365)](_0x44ac7a);}[a0_0x2f204f(0x2ec)](_0x1389ac){const _0x5c3f0b=a0_0x2f204f;return this[_0x5c3f0b(0x42f)]()[_0x5c3f0b(0x2ec)](_0x1389ac);}[Symbol[a0_0x2f204f(0x445)]](){const _0x43365f=a0_0x2f204f;return this[_0x43365f(0x42f)]()[Symbol[_0x43365f(0x445)]]();}['getVirtualTables'](){const _0x222bd9=a0_0x2f204f;return this[_0x222bd9(0x42f)]()[_0x222bd9(0x417)](_0x6dfe29=>_0x6dfe29[_0x222bd9(0x35b)]());}['getRealTables'](){const _0x1ccd36=a0_0x2f204f;return this[_0x1ccd36(0x42f)]()[_0x1ccd36(0x417)](_0x181585=>!_0x181585['isVirtualTable']());}[a0_0x2f204f(0x3a3)](){const _0x491daf=a0_0x2f204f,_0x1e2ca8={};for(const _0x53606a of this[_0x491daf(0x1f7)][_0x491daf(0x28f)]()){const _0x5c39cc=_0x53606a['getLatest']()[_0x491daf(0x418)]();_0x1e2ca8[_0x5c39cc]=_0x53606a['getAll']();}return _0x1e2ca8;}[a0_0x2f204f(0x2a6)](){const _0x594f98=a0_0x2f204f,_0x4410b2={};for(const _0x7bddb6 of this[_0x594f98(0x1f7)][_0x594f98(0x381)]()[_0x594f98(0x28f)]()){const _0x39b872=_0x7bddb6[_0x594f98(0x3dc)]()['getTableName']();_0x4410b2[_0x39b872]=_0x7bddb6['getAll']()[_0x594f98(0x2ec)](_0x2d3f15=>_0x2d3f15['toJSON']());}return{'hasConflicts':Object[_0x594f98(0x2f5)](_0x4410b2)[_0x594f98(0x2cb)]>0x0,'conflicts':_0x4410b2};}[a0_0x2f204f(0x3b4)](){const _0xc4a5b9=a0_0x2f204f;return this[_0xc4a5b9(0x1f7)][_0xc4a5b9(0x3b4)]();}[a0_0x2f204f(0x252)](){const _0x732b09=a0_0x2f204f,_0x4b3242=[];for(const _0x56cd17 of this[_0x732b09(0x1f7)][_0x732b09(0x381)]()[_0x732b09(0x28f)]()){_0x4b3242[_0x732b09(0x214)](..._0x56cd17[_0x732b09(0x21d)]());}return _0x4b3242;}['generateConfig'](_0x4948a2){const _0x56fe8e=a0_0x2f204f;if(!_0x4948a2||Object[_0x56fe8e(0x2f5)](_0x4948a2)['length']===0x0)return this['datasetMap'][_0x56fe8e(0x25f)]();const _0x121f3c=this[_0x56fe8e(0x42f)]()[_0x56fe8e(0x2ec)](_0x43a1b4=>_0x43a1b4['toJSON']());return generateDatasetsConfig(_0x121f3c,_0x4948a2);}[a0_0x2f204f(0x34b)](_0x5f2516){const _0x39c9af=a0_0x2f204f,_0x1e2b7a=this[_0x39c9af(0x386)](_0x5f2516);return datasetsConfigToArray(_0x1e2b7a);}['toConfigArray'](){const _0x1d58c0=a0_0x2f204f;return this[_0x1d58c0(0x42f)]()[_0x1d58c0(0x2ec)](_0x35ece0=>_0x35ece0['toConfig']());}['getStats'](){const _0x3bd83c=a0_0x2f204f;return{'total':this[_0x3bd83c(0x391)](),'virtualTables':this[_0x3bd83c(0x463)]()['length'],'realTables':this[_0x3bd83c(0x40b)]()['length'],'hasConflicts':this['hasConflicts'](),'conflictCount':this[_0x3bd83c(0x252)]()[_0x3bd83c(0x2cb)]};}[a0_0x2f204f(0x469)](){const _0x27905b=a0_0x2f204f;return this['getItems']()[_0x27905b(0x2ec)](_0x399dd5=>_0x399dd5['toJSON']());}[a0_0x2f204f(0x358)](){return this['toArray']();}['toString'](){const _0x3b7890=a0_0x2f204f;return _0x3b7890(0x2d2)+this[_0x3b7890(0x391)]()+'\x20items,\x20'+this['_datasetMap']['size']+_0x3b7890(0x3c7);}static['fromApiResponse'](_0x298dc1){return new DatasetList(_0x298dc1);}static[a0_0x2f204f(0x262)](_0x2c93cd){return new DatasetList(_0x2c93cd);}static[a0_0x2f204f(0x38e)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x2f204f(0x20a);function renderTemplate(_0x508269,_0x294482,_0x405059={}){const _0x1adacf=a0_0x2f204f;let _0x1b12b4=_0x508269;return Object['entries'](_0x405059)['forEach'](([_0xcd2144,_0xd689f7])=>{const _0x5099d5=a0_0x5ce8,_0x59b1b5=new RegExp(_0x5099d5(0x239)+_0xcd2144+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x1b12b4=_0x1b12b4[_0x5099d5(0x2bf)](_0x59b1b5,_0xd689f7?'$1':'');}),Object['entries'](_0x294482)[_0x1adacf(0x365)](([_0x4885bb,_0x29d7e1])=>{const _0x439744=_0x1adacf;if(_0x29d7e1!==undefined){const _0x30ecb2=new RegExp('\x5c{\x5c{'+_0x4885bb+'\x5c}\x5c}','g');_0x1b12b4=_0x1b12b4[_0x439744(0x2bf)](_0x30ecb2,_0x29d7e1);}}),_0x1b12b4;}function generateSDKInitCode(_0x4f35e6,_0x4a6c86,_0x3b5dcf,_0x2f44ca,_0x26af4c){const _0x3ec889=a0_0x2f204f,_0xa446f9={};_0xa446f9[_0x3ec889(0x480)]=_0x4f35e6,_0xa446f9[_0x3ec889(0x1ff)]=_0x4a6c86,_0xa446f9[_0x3ec889(0x229)]=_0x3b5dcf,_0xa446f9['env']=_0x2f44ca==='daily'?_0x3ec889(0x2c5):undefined;const _0x9e6483={};return _0x9e6483[_0x3ec889(0x243)]=_0x2f44ca!==undefined&&_0x2f44ca!=='online',_0x9e6483['isOpenAPI']=_0x26af4c===!![],renderTemplate(SDK_INIT_TEMPLATE,_0xa446f9,_0x9e6483);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x2f204f(0x1fd);function generateAliasExplanation(_0x5e8c48,_0x38bd53,_0x53f168,_0x1b7edc){const _0x13e6a6=a0_0x2f204f,_0x17c28b=_0x13e6a6(0x2c1)+_0x5e8c48,_0xa7fa6c=_0x13e6a6(0x487),_0x1a7633={};return _0x1a7633[_0x13e6a6(0x1ff)]=_0x5e8c48,_0x1a7633[_0x13e6a6(0x39f)]=_0x17c28b,_0x1a7633[_0x13e6a6(0x402)]=_0x38bd53,_0x1a7633['alias']=_0x53f168,_0x1a7633['appCode']=_0x1b7edc,_0x1a7633['exampleWhere']=_0xa7fa6c,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x1a7633,{});}function DrivenDataDetailPlusMixin(_0x599981){const _0x3e1200=a0_0x2f204f;return class extends _0x599981{[_0x3e1200(0x471)](_0x23b0d6){const _0xa381e8=_0x3e1200,_0xf71a0e=this;return{'appCode':_0x23b0d6,'datasetSDKKey':_0xf71a0e['getDatasetSDKKey'](),'alias':_0xf71a0e[_0xa381e8(0x412)](),'tableName':_0xf71a0e[_0xa381e8(0x418)](),'datasetCode':_0xf71a0e[_0xa381e8(0x1ff)]};}['generateSDKInitCode'](_0x3c9d07,_0x169abb=_0x3e1200(0x481),_0x1721b6=![]){const _0x2a2a0c=_0x3e1200,_0x32a875=this;return generateSDKInitCode(_0x3c9d07,_0x32a875['datasetCode'],_0x32a875[_0x2a2a0c(0x412)](),_0x169abb===_0x2a2a0c(0x2c5)?_0x169abb:undefined,_0x1721b6);}[_0x3e1200(0x465)](_0xd3b3da,_0x5ccf3d,_0x58c0c4={}){const _0x21b8db=_0x3e1200,_0x874f08=this,_0x2a8212=_0x874f08[_0x21b8db(0x205)]()[_0x21b8db(0x431)](_0x38f984=>_0x38f984['getName']()===_0xd3b3da);if(!_0x2a8212)return null;const _0x302ea3={};_0x302ea3[_0x21b8db(0x349)]=_0x58c0c4[_0x21b8db(0x274)]!==![];const _0x287bf7=_0x874f08[_0x21b8db(0x370)](_0xd3b3da,_0x302ea3);if(!_0x287bf7)return null;const _0x261fd4=[];return _0x261fd4[_0x21b8db(0x214)](_0x21b8db(0x2b0)+_0x2a8212[_0x21b8db(0x306)]()+_0x21b8db(0x36c)),_0x261fd4[_0x21b8db(0x214)](_0x287bf7[_0x21b8db(0x46e)]['code']),_0x261fd4[_0x21b8db(0x214)](''),_0x58c0c4[_0x21b8db(0x32b)]!==![]&&(_0x261fd4[_0x21b8db(0x214)](_0x21b8db(0x44b)),_0x261fd4['push'](_0x287bf7[_0x21b8db(0x453)][_0x21b8db(0x362)]),_0x261fd4['push'](''),_0x261fd4[_0x21b8db(0x214)](_0x287bf7[_0x21b8db(0x453)][_0x21b8db(0x347)])),_0x261fd4['join']('\x0a');}[_0x3e1200(0x3b3)](_0x4b13b0={}){const _0x3b2c45=_0x3e1200,_0x4b4bc5=this,_0x19e5ab=_0x4b4bc5[_0x3b2c45(0x3bb)](),_0x4d8716=[];return _0x19e5ab['forEach']((_0x2d475d,_0x38aa8c)=>{const _0x591e4a=_0x3b2c45,_0x1c2055=this[_0x591e4a(0x465)](_0x2d475d[_0x591e4a(0x1fa)],_0x591e4a(0x290),_0x4b13b0);_0x1c2055&&(_0x4d8716['push'](_0x591e4a(0x439)+(_0x38aa8c+0x1)+'.\x20'+_0x2d475d[_0x591e4a(0x296)]),_0x4d8716['push'](_0x1c2055),_0x4d8716[_0x591e4a(0x214)](''));}),_0x4d8716[_0x3b2c45(0x39a)]('\x0a');}[_0x3e1200(0x47f)](_0x4a52a0){const _0x5e5bc9=_0x3e1200,_0x41bc76=this,_0x625842=_0x41bc76[_0x5e5bc9(0x2e4)](_0x4a52a0);if(!_0x625842)return null;const _0x56d567={};return _0x56d567[_0x5e5bc9(0x1fa)]=_0x625842[_0x5e5bc9(0x1fa)],_0x56d567[_0x5e5bc9(0x296)]=_0x625842[_0x5e5bc9(0x296)],_0x56d567[_0x5e5bc9(0x2ac)]=_0x625842[_0x5e5bc9(0x2ac)],_0x56d567[_0x5e5bc9(0x38d)]=_0x625842['path'],_0x56d567[_0x5e5bc9(0x35f)]=_0x625842[_0x5e5bc9(0x35f)],_0x56d567['requestFieldCount']=_0x625842[_0x5e5bc9(0x399)][_0x5e5bc9(0x2cb)],_0x56d567[_0x5e5bc9(0x442)]=_0x625842[_0x5e5bc9(0x45d)]!==null,_0x56d567;}[_0x3e1200(0x3f0)](_0xcab49f={}){const _0xea076b=_0x3e1200,_0x4c9457=this,_0x231e41=_0x4c9457[_0xea076b(0x3bb)]();return{'datasetName':_0x4c9457[_0xea076b(0x1fa)],'datasetCode':_0x4c9457[_0xea076b(0x1ff)],'tableName':_0x4c9457[_0xea076b(0x418)](),'totalOperations':_0x231e41['length'],'operations':_0x231e41[_0xea076b(0x2ec)](_0x2606ad=>({'name':_0x2606ad[_0xea076b(0x1fa)],'displayName':_0x2606ad[_0xea076b(0x296)],'method':_0x2606ad[_0xea076b(0x2ac)],'enabled':_0x2606ad[_0xea076b(0x35f)]}))};}['getOperationRequestFields'](_0x52683b){const _0x57f76b=_0x3e1200,_0x446549=this,_0x2641c1=_0x446549[_0x57f76b(0x2e4)](_0x52683b);if(!_0x2641c1)return[];return _0x2641c1[_0x57f76b(0x399)]['map'](_0x4bc576=>{const _0x22aaba=_0x57f76b,_0x366e3b=_0x446549['getFieldInstance'](_0x4bc576);if(!_0x366e3b)return null;const _0x4eefc4={};return _0x4eefc4['code']=_0x4bc576,_0x4eefc4['name']=_0x366e3b[_0x22aaba(0x1fa)]||_0x4bc576,_0x4eefc4;})[_0x57f76b(0x417)](_0x3d8b88=>_0x3d8b88!==null);}[_0x3e1200(0x3f8)](){const _0x4b5653=_0x3e1200,_0x2de235=this,_0x11d13c=new Set(_0x2de235[_0x4b5653(0x3bb)]()[_0x4b5653(0x2ec)](_0x422401=>String(_0x422401[_0x4b5653(0x337)]))),_0x49c54b=['create',_0x4b5653(0x323),_0x4b5653(0x27c),_0x4b5653(0x4a0)];return _0x49c54b[_0x4b5653(0x417)](_0x3c9696=>!_0x11d13c[_0x4b5653(0x434)](String(_0x3c9696)));}[_0x3e1200(0x2a1)](_0x5e5ff7=_0x3e1200(0x290)){const _0xfc691e=_0x3e1200,_0x4b0d83=this;return generateAliasExplanation(_0x4b0d83[_0xfc691e(0x1ff)],_0x4b0d83[_0xfc691e(0x418)](),_0x4b0d83[_0xfc691e(0x412)](),_0x5e5ff7);}};}function operationToAnalysis(_0x5dfab1){const _0x432e18=a0_0x2f204f;return{'name':_0x5dfab1[_0x432e18(0x306)](),'displayName':_0x5dfab1[_0x432e18(0x43b)](),'type':_0x5dfab1[_0x432e18(0x2da)](),'method':_0x5dfab1[_0x432e18(0x29b)](),'path':_0x5dfab1['getPath'](),'fullUrl':_0x5dfab1[_0x432e18(0x48f)](),'requestFields':_0x5dfab1[_0x432e18(0x217)](),'requestParams':_0x5dfab1[_0x432e18(0x383)](),'responseSchema':_0x5dfab1['getResponseSchema'](),'requestExample':_0x5dfab1[_0x432e18(0x2cc)](),'responseExample':_0x5dfab1[_0x432e18(0x39d)](),'enabled':_0x5dfab1[_0x432e18(0x1f6)]()};}function operationsToAnalyses(_0x5a99b1){const _0x5198f6=a0_0x2f204f;if(!Array[_0x5198f6(0x2ca)](_0x5a99b1))return!![]&&console[_0x5198f6(0x441)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0x5a99b1),[];return _0x5a99b1['map'](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x215187){const _0x570e54=a0_0x2f204f,_0x43df32=_0x215187[_0x570e54(0x431)](_0x3564a8=>_0x3564a8['name']===_0x570e54(0x417)),_0x42be8d=_0x215187['filter'](_0x196f9d=>_0x196f9d[_0x570e54(0x1fa)]!==_0x570e54(0x417));return _0x43df32?[_0x43df32,..._0x42be8d]:_0x42be8d;}function filterOperationAnalyses(_0x1875d3,_0x337be8={}){const _0x57ccf8=a0_0x2f204f;let _0x23e6ff=_0x1875d3;return!_0x337be8[_0x57ccf8(0x2cf)]&&(_0x23e6ff=_0x23e6ff[_0x57ccf8(0x417)](_0xb9f9ec=>_0xb9f9ec[_0x57ccf8(0x35f)])),_0x337be8[_0x57ccf8(0x3d8)]!==![]&&(_0x23e6ff=filterApiOperations(_0x23e6ff)),_0x337be8['customFilter']&&(_0x23e6ff=_0x23e6ff['filter'](_0x337be8[_0x57ccf8(0x2de)])),sortOperationsWithFilterFirst(_0x23e6ff);}function getOperationStats(_0x4e41d2){const _0x3890dd=a0_0x2f204f,_0x2b46eb=_0x4e41d2[_0x3890dd(0x417)](_0x1394d5=>_0x1394d5['enabled']);return{'total':_0x4e41d2[_0x3890dd(0x2cb)],'enabled':_0x2b46eb[_0x3890dd(0x2cb)],'disabled':_0x4e41d2['length']-_0x2b46eb['length'],'byType':getCountByType(_0x2b46eb),'byMethod':getCountByMethod(_0x2b46eb)};}function getCountByType(_0x51df0d){const _0x335639=a0_0x2f204f,_0x4a976e={};return _0x51df0d[_0x335639(0x365)](_0x42eb33=>{const _0x35459e=_0x335639;if(_0x42eb33['type'])_0x4a976e[_0x42eb33['type']]=(_0x4a976e[_0x42eb33[_0x35459e(0x337)]]||0x0)+0x1;}),_0x4a976e;}function getCountByMethod(_0x1ea183){const _0x95ccb=a0_0x2f204f,_0x14365f={};return _0x1ea183[_0x95ccb(0x365)](_0x36e15d=>{_0x14365f[_0x36e15d['method']]=(_0x14365f[_0x36e15d['method']]||0x0)+0x1;}),_0x14365f;}function supportsCRUD(_0x1e4679){const _0x1c5b70=a0_0x2f204f,_0x50c66d=new Set(_0x1e4679['map'](_0x4574d5=>_0x4574d5[_0x1c5b70(0x337)])[_0x1c5b70(0x417)](Boolean));return _0x50c66d[_0x1c5b70(0x434)](_0x1c5b70(0x492))&&_0x50c66d[_0x1c5b70(0x434)]('getList')&&_0x50c66d[_0x1c5b70(0x434)](_0x1c5b70(0x27c))&&_0x50c66d[_0x1c5b70(0x434)](_0x1c5b70(0x4a0));}function createOperationDocMeta(_0x34ee6,_0x572092,_0x1fcb12,_0x384eba,_0x236004,_0x15b759){const _0x8a7a41=a0_0x2f204f,_0x11db06={};return _0x11db06['useFullExample']=_0x15b759?.[_0x8a7a41(0x349)],{'operation':_0x34ee6,'operationInstance':_0x572092,'basicInfo':{'name':_0x34ee6[_0x8a7a41(0x1fa)],'displayName':_0x34ee6[_0x8a7a41(0x296)],'method':_0x34ee6[_0x8a7a41(0x2ac)],'path':_0x34ee6[_0x8a7a41(0x38d)],'fullUrl':_0x34ee6[_0x8a7a41(0x321)],'enabled':_0x34ee6[_0x8a7a41(0x35f)]},'sdkCall':{'datasetCode':_0x1fcb12,'datasetSDKKey':_0x384eba,'tableName':_0x236004,'operationName':_0x34ee6[_0x8a7a41(0x1fa)],'params':_0x34ee6['requestFields'],'code':_0x572092[_0x8a7a41(0x24b)](_0x384eba,_0x11db06)},'usageExample':_0x572092['generateUsageExample'](_0x384eba)};}function createOperationsOverviewData(_0x4f7da3){const _0x45af4e=a0_0x2f204f,_0x406d60={};_0x406d60['index']=_0x45af4e(0x1fa),_0x406d60['label']='接口名称';const _0x5c3764={};_0x5c3764[_0x45af4e(0x2fc)]='displayName',_0x5c3764[_0x45af4e(0x372)]='操作名称';const _0x3ee431={};_0x3ee431['index']=_0x45af4e(0x2ac),_0x3ee431['label']='方法';const _0x208498={};_0x208498['index']=_0x45af4e(0x46e),_0x208498[_0x45af4e(0x372)]=_0x45af4e(0x2c8);const _0x5a8602={};_0x5a8602[_0x45af4e(0x2fc)]=_0x45af4e(0x38d),_0x5a8602['label']=_0x45af4e(0x2d1);const _0x28cb26={};_0x28cb26[_0x45af4e(0x2fc)]=_0x45af4e(0x409),_0x28cb26[_0x45af4e(0x372)]='完整的\x20SDK\x20调用代码';const _0x2fdab7=[_0x406d60,_0x5c3764,_0x3ee431,_0x208498,_0x5a8602,_0x28cb26],_0x194e39=_0x4f7da3[_0x45af4e(0x2ec)](_0xb5879b=>{const _0x3f5ff=_0x45af4e,{basicInfo:_0x50f511,sdkCall:_0x3425d1}=_0xb5879b,_0x3902d4=_0x3425d1['code']['replace'](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,''),_0x5a03c0={};return _0x5a03c0[_0x3f5ff(0x296)]=_0x50f511['displayName'],_0x5a03c0[_0x3f5ff(0x1fa)]=_0x50f511[_0x3f5ff(0x1fa)],_0x5a03c0[_0x3f5ff(0x2ac)]=_0x50f511['method'],_0x5a03c0[_0x3f5ff(0x38d)]=_0x50f511['path'],_0x5a03c0[_0x3f5ff(0x46e)]=_0x3902d4,_0x5a03c0[_0x3f5ff(0x409)]=_0x3425d1[_0x3f5ff(0x3ad)],_0x5a03c0;}),_0x52dc83={};return _0x52dc83['tableColumns']=_0x2fdab7,_0x52dc83[_0x45af4e(0x426)]=_0x194e39,_0x52dc83;}function createDatasetDocMeta(_0x29b9f7,_0x14e6c0,_0x233f04,_0x1353a,_0x3f1552,_0x301c90,_0x760bd3,_0x1a600c,_0x5604a7){const _0x276521=a0_0x2f204f,_0x5ca032={};return _0x5ca032[_0x276521(0x267)]=_0x29b9f7+'\x20API\x20文档',_0x5ca032[_0x276521(0x3d4)]={},_0x5ca032['operations']=_0x5604a7,_0x5ca032[_0x276521(0x3d4)]['name']=_0x29b9f7,_0x5ca032[_0x276521(0x3d4)][_0x276521(0x3ad)]=_0x14e6c0,_0x5ca032[_0x276521(0x3d4)]['tableName']=_0x233f04,_0x5ca032[_0x276521(0x3d4)]['datasetSDKKey']=_0x1353a,_0x5ca032[_0x276521(0x3d4)][_0x276521(0x41d)]=_0x3f1552,_0x5ca032[_0x276521(0x3d4)][_0x276521(0x32a)]=_0x301c90,_0x5ca032[_0x276521(0x3d4)]['fieldCount']=_0x760bd3,_0x5ca032[_0x276521(0x3d4)][_0x276521(0x3bd)]=0x0,_0x5ca032[_0x276521(0x3d4)]['systemFieldCount']=0x0,_0x5ca032[_0x276521(0x3d4)][_0x276521(0x484)]=_0x1a600c,_0x5ca032[_0x276521(0x3d4)][_0x276521(0x406)]=_0x5604a7['length'],_0x5ca032;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x2f204f(0x28a)];[a0_0x2f204f(0x394)](){return'v1';}['getModelAlias'](){const _0x2ed93b=a0_0x2f204f;return this[_0x2ed93b(0x206)]();}[a0_0x2f204f(0x3e8)](_0xc3716b=![]){const _0x201134=a0_0x2f204f;if(!_0xc3716b&&this[_0x201134(0x28a)])return this[_0x201134(0x28a)];const _0x5f0f6d=this[_0x201134(0x205)]();return this['_operationAnalyses']=operationsToAnalyses(_0x5f0f6d),this['_operationAnalyses'];}[a0_0x2f204f(0x3bb)](){const _0x570e43=a0_0x2f204f,_0x5bc70b={};return _0x5bc70b['includeDisabled']=![],_0x5bc70b[_0x570e43(0x3d8)]=!![],this['getFilteredOperationAnalyses'](_0x5bc70b);}[a0_0x2f204f(0x225)](_0x3f8970={}){const _0xf1d33c=a0_0x2f204f;return filterOperationAnalyses(this[_0xf1d33c(0x3e8)](),_0x3f8970);}[a0_0x2f204f(0x2e4)](_0x3c42ca){const _0x583145=a0_0x2f204f;return this[_0x583145(0x3e8)]()['find'](_0x57deec=>_0x57deec[_0x583145(0x1fa)]===_0x3c42ca);}[a0_0x2f204f(0x235)](_0x36de25){const _0x2ab29e=a0_0x2f204f;return this[_0x2ab29e(0x3e8)]()[_0x2ab29e(0x417)](_0x3b37b6=>_0x3b37b6[_0x2ab29e(0x337)]===_0x36de25);}[a0_0x2f204f(0x370)](_0x2db082,_0x555eee){const _0x3e8e29=a0_0x2f204f,_0xe94b42=this['getOperationAnalysis'](_0x2db082);if(!_0xe94b42)return null;const _0x1e5f81=this['getOperations']()[_0x3e8e29(0x431)](_0x3c2a1a=>_0x3c2a1a[_0x3e8e29(0x306)]()===_0xe94b42[_0x3e8e29(0x1fa)]);if(!_0x1e5f81)throw new Error(_0x3e8e29(0x2fd)+_0xe94b42[_0x3e8e29(0x1fa)]);return createOperationDocMeta(_0xe94b42,_0x1e5f81,this[_0x3e8e29(0x1ff)],this['getDatasetSDKKey'](),this[_0x3e8e29(0x418)](),_0x555eee);}[a0_0x2f204f(0x27a)](_0x21c664={}){const _0x278c40=a0_0x2f204f,_0x20ae36=this[_0x278c40(0x225)](_0x21c664),_0x2e9f26=_0x20ae36['map'](_0x3233b0=>this['getOperationDocMeta'](_0x3233b0[_0x278c40(0x1fa)]))[_0x278c40(0x417)](_0x5c29ac=>_0x5c29ac!==null);return createDatasetDocMeta(this['name'],this[_0x278c40(0x1ff)],this[_0x278c40(0x418)](),this[_0x278c40(0x3b8)](),this[_0x278c40(0x206)](),this[_0x278c40(0x32a)],this[_0x278c40(0x356)](),this['getOperationCount'](),_0x2e9f26);}[a0_0x2f204f(0x472)](_0xd81f9b){return createOperationsOverviewData(_0xd81f9b);}[a0_0x2f204f(0x22d)](){const _0x51ced7=a0_0x2f204f;return supportsCRUD(this[_0x51ced7(0x3bb)]());}['getOperationStats'](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x2f204f(0x2e3)](){const _0x170f25=a0_0x2f204f,_0x577e4d=this[_0x170f25(0x3e0)]();return'DrivenDataDetailPlus('+this[_0x170f25(0x1fa)]+',\x20'+this[_0x170f25(0x1ff)]+',\x20'+this[_0x170f25(0x356)]()+_0x170f25(0x3fc)+_0x577e4d[_0x170f25(0x35f)]+'/'+_0x577e4d[_0x170f25(0x28e)]+_0x170f25(0x324);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{['_operationAnalyses'];[a0_0x2f204f(0x394)](){return'v2';}[a0_0x2f204f(0x412)](){return this['getTableKey']();}[a0_0x2f204f(0x3e8)](_0xa5ad74=![]){const _0x1031d2=a0_0x2f204f;if(!_0xa5ad74&&this[_0x1031d2(0x28a)])return this[_0x1031d2(0x28a)];const _0x4d8485=this['getOperations']();return this['_operationAnalyses']=operationsToAnalyses(_0x4d8485),this[_0x1031d2(0x28a)];}['getEnabledOperationAnalyses'](){const _0x1d9de2=a0_0x2f204f,_0x4509ad={};return _0x4509ad[_0x1d9de2(0x2cf)]=![],_0x4509ad[_0x1d9de2(0x3d8)]=!![],this[_0x1d9de2(0x225)](_0x4509ad);}[a0_0x2f204f(0x225)](_0x524a21={}){const _0x42e717=a0_0x2f204f;return filterOperationAnalyses(this[_0x42e717(0x3e8)](),_0x524a21);}['getOperationAnalysis'](_0xbea399){const _0x4d3b30=a0_0x2f204f;return this[_0x4d3b30(0x3e8)]()[_0x4d3b30(0x431)](_0x58c926=>_0x58c926[_0x4d3b30(0x1fa)]===_0xbea399);}[a0_0x2f204f(0x235)](_0x2cb4d0){const _0x144393=a0_0x2f204f;return this[_0x144393(0x3e8)]()['filter'](_0x4310d3=>_0x4310d3[_0x144393(0x337)]===_0x2cb4d0);}[a0_0x2f204f(0x370)](_0x37dc62,_0x9d8b09){const _0x4f5401=a0_0x2f204f,_0x81eaa7=this[_0x4f5401(0x2e4)](_0x37dc62);if(!_0x81eaa7)return null;const _0xc51e4=this[_0x4f5401(0x205)]()[_0x4f5401(0x431)](_0x23101e=>_0x23101e[_0x4f5401(0x306)]()===_0x81eaa7[_0x4f5401(0x1fa)]);if(!_0xc51e4)throw new Error(_0x4f5401(0x2fd)+_0x81eaa7[_0x4f5401(0x1fa)]);return createOperationDocMeta(_0x81eaa7,_0xc51e4,this[_0x4f5401(0x1ff)],this['getDatasetSDKKey'](),this['getTableName'](),_0x9d8b09);}[a0_0x2f204f(0x27a)](_0x315cf1={}){const _0x276ba2=a0_0x2f204f,_0x202f18=this[_0x276ba2(0x225)](_0x315cf1),_0x248fe8=_0x202f18['map'](_0x3d74c8=>this[_0x276ba2(0x370)](_0x3d74c8[_0x276ba2(0x1fa)]))['filter'](_0x2cb21a=>_0x2cb21a!==null);return createDatasetDocMeta(this[_0x276ba2(0x1fa)],this[_0x276ba2(0x1ff)],this['getTableName'](),this['getDatasetSDKKey'](),this[_0x276ba2(0x206)](),this['source'],this[_0x276ba2(0x356)](),this['getOperationCount'](),_0x248fe8);}[a0_0x2f204f(0x472)](_0x59512d){return createOperationsOverviewData(_0x59512d);}['supportsCRUD'](){return supportsCRUD(this['getEnabledOperationAnalyses']());}[a0_0x2f204f(0x3e0)](){const _0x35e9aa=a0_0x2f204f;return getOperationStats(this[_0x35e9aa(0x3e8)]());}['toString'](){const _0x4365f5=a0_0x2f204f,_0xb6d95=this['getOperationStats']();return _0x4365f5(0x30a)+this[_0x4365f5(0x1fa)]+',\x20'+this[_0x4365f5(0x1ff)]+',\x20'+this[_0x4365f5(0x356)]()+_0x4365f5(0x3fc)+_0xb6d95[_0x4365f5(0x35f)]+'/'+_0xb6d95[_0x4365f5(0x28e)]+_0x4365f5(0x398);}}function detectDatasetVersion3(_0x4983a9){const _0x1600e7=a0_0x2f204f;if(_0x4983a9[_0x1600e7(0x233)]==='v2'&&_0x1600e7(0x3a7)in _0x4983a9&&Array['isArray'](_0x4983a9[_0x1600e7(0x3a7)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x2f204f(0x1f8)];constructor(_0x32d99c){const _0x4c6dbc=a0_0x2f204f,_0x274a33=detectDatasetVersion3(_0x32d99c);return this[_0x4c6dbc(0x1f8)]=_0x274a33==='v2'?new DrivenDataDetailPlusV2(_0x32d99c):new DrivenDataDetailPlusV1(_0x32d99c),new Proxy(this,{'get'(_0x2af533,_0x11bbd0){const _0x4a5e11=_0x4c6dbc;if(_0x11bbd0 in _0x2af533){const _0x393b28=_0x2af533[_0x11bbd0];return typeof _0x393b28==='function'?_0x393b28[_0x4a5e11(0x254)](_0x2af533):_0x393b28;}if(_0x11bbd0 in _0x2af533[_0x4a5e11(0x1f8)]){const _0x3df37d=_0x2af533['_instance'][_0x11bbd0];return typeof _0x3df37d===_0x4a5e11(0x26e)?_0x3df37d[_0x4a5e11(0x254)](_0x2af533['_instance']):_0x3df37d;}return;},'set'(_0x100b37,_0x895946,_0x591f5e){return _0x100b37[_0x895946]=_0x591f5e,!![];},'getPrototypeOf'(_0x32355e){return DrivenDataDetailPlus['prototype'];}});}get['name'](){return this['_instance']['name'];}get['id'](){const _0x313f88=a0_0x2f204f;return this[_0x313f88(0x1f8)]['id'];}get[a0_0x2f204f(0x1ff)](){const _0x4f5656=a0_0x2f204f;return this[_0x4f5656(0x1f8)][_0x4f5656(0x1ff)];}get['source'](){const _0x161c74=a0_0x2f204f;return this[_0x161c74(0x1f8)][_0x161c74(0x32a)];}get[a0_0x2f204f(0x474)](){const _0x4ef73f=a0_0x2f204f;return this[_0x4ef73f(0x1f8)][_0x4ef73f(0x3fb)]();}['getVersion'](){const _0x4a6521=a0_0x2f204f,_0x1029ff=this[_0x4a6521(0x1f8)][_0x4a6521(0x394)]();return _0x1029ff==='v2'?'v2':'v1';}[a0_0x2f204f(0x356)](){const _0x4b727d=a0_0x2f204f;return this[_0x4b727d(0x1f8)][_0x4b727d(0x356)]();}['getOperationCount'](){const _0x18caa3=a0_0x2f204f;return this[_0x18caa3(0x1f8)][_0x18caa3(0x25b)]();}[a0_0x2f204f(0x3db)](){const _0x5c0ac3=a0_0x2f204f;return this['_instance'][_0x5c0ac3(0x3db)]();}['getOperations'](){const _0x1a3326=a0_0x2f204f;return this[_0x1a3326(0x1f8)]['getOperations']();}[a0_0x2f204f(0x2e2)](_0x2932e7){const _0x456a83=a0_0x2f204f;return this[_0x456a83(0x1f8)][_0x456a83(0x2e2)](_0x2932e7);}['getFieldInstance'](_0x59e653){const _0x17aca3=a0_0x2f204f;return this[_0x17aca3(0x1f8)][_0x17aca3(0x3a5)](_0x59e653);}[a0_0x2f204f(0x418)](){const _0x4cceb9=a0_0x2f204f;return this['_instance'][_0x4cceb9(0x418)]();}[a0_0x2f204f(0x206)](){const _0x39d11c=a0_0x2f204f;return this['_instance'][_0x39d11c(0x206)]();}[a0_0x2f204f(0x3b8)](){const _0x32db86=a0_0x2f204f;return this[_0x32db86(0x1f8)][_0x32db86(0x3b8)]();}[a0_0x2f204f(0x299)](){const _0x2da560=a0_0x2f204f;return this[_0x2da560(0x1f8)][_0x2da560(0x299)]();}[a0_0x2f204f(0x436)](){const _0x3768d7=a0_0x2f204f;return this[_0x3768d7(0x1f8)][_0x3768d7(0x436)]();}[a0_0x2f204f(0x339)](){const _0x5c66d5=a0_0x2f204f;return this[_0x5c66d5(0x1f8)][_0x5c66d5(0x339)]();}[a0_0x2f204f(0x269)](_0x3b5ca7){const _0x440e28=a0_0x2f204f;return this[_0x440e28(0x1f8)][_0x440e28(0x269)](_0x3b5ca7);}[a0_0x2f204f(0x35e)](_0x2dc486){const _0x294d8b=a0_0x2f204f;return this[_0x294d8b(0x1f8)][_0x294d8b(0x35e)](_0x2dc486);}[a0_0x2f204f(0x450)](_0xdf6861){const _0x2bf544=a0_0x2f204f;return this[_0x2bf544(0x1f8)][_0x2bf544(0x450)](_0xdf6861);}[a0_0x2f204f(0x41f)](_0x4bceed){const _0x35e7c7=a0_0x2f204f;return this[_0x35e7c7(0x1f8)]['getFieldSelectItemsSource'](_0x4bceed);}[a0_0x2f204f(0x276)](_0x2e7df5){const _0x110914=a0_0x2f204f;return this['_instance'][_0x110914(0x276)](_0x2e7df5);}[a0_0x2f204f(0x3cb)](_0x1a9cd1,_0x1dd44e){const _0x23ae9d=a0_0x2f204f;return this[_0x23ae9d(0x1f8)][_0x23ae9d(0x3cb)](_0x1a9cd1,_0x1dd44e);}[a0_0x2f204f(0x287)](_0x547f51){const _0x211541=a0_0x2f204f;return this['_instance'][_0x211541(0x287)](_0x547f51);}[a0_0x2f204f(0x2c0)](){const _0x418fb2=a0_0x2f204f;return this[_0x418fb2(0x1f8)][_0x418fb2(0x2c0)]();}['getFilterOperation'](){const _0x2c5f42=a0_0x2f204f;return this['_instance'][_0x2c5f42(0x357)]();}[a0_0x2f204f(0x35a)](){const _0xd0faf6=a0_0x2f204f;return this[_0xd0faf6(0x1f8)][_0xd0faf6(0x35a)]();}[a0_0x2f204f(0x29f)](_0x38df6e){return this['_instance']['hasOperation'](_0x38df6e);}[a0_0x2f204f(0x3fb)](){const _0xc01201=a0_0x2f204f;return this[_0xc01201(0x1f8)][_0xc01201(0x3fb)]();}[a0_0x2f204f(0x213)](){const _0x5cc5c5=a0_0x2f204f;return this['_instance'][_0x5cc5c5(0x213)]();}[a0_0x2f204f(0x369)](){const _0x22a842=a0_0x2f204f;return this['_instance'][_0x22a842(0x369)]();}['getOperationAnalyses'](_0x3ff5fc){const _0x435338=a0_0x2f204f;return this[_0x435338(0x1f8)][_0x435338(0x3e8)](_0x3ff5fc);}['getEnabledOperationAnalyses'](){const _0x163b14=a0_0x2f204f;return this['_instance'][_0x163b14(0x3bb)]();}['getFilteredOperationAnalyses'](_0x131461){const _0xbada56=a0_0x2f204f;return this[_0xbada56(0x1f8)][_0xbada56(0x225)](_0x131461);}['getOperationAnalysis'](_0x5c46c5){const _0x216a60=a0_0x2f204f;return this['_instance'][_0x216a60(0x2e4)](_0x5c46c5);}[a0_0x2f204f(0x235)](_0x1cff07){return this['_instance']['getOperationAnalysesByType'](_0x1cff07);}[a0_0x2f204f(0x370)](_0xf7ea04,_0x5817b1){const _0xf8c3b0=a0_0x2f204f;return this['_instance'][_0xf8c3b0(0x370)](_0xf7ea04,_0x5817b1);}[a0_0x2f204f(0x27a)](_0x3d1c9b){const _0x3da413=a0_0x2f204f;return this[_0x3da413(0x1f8)][_0x3da413(0x27a)](_0x3d1c9b);}[a0_0x2f204f(0x472)](_0x91c807){const _0x396923=a0_0x2f204f;return this[_0x396923(0x1f8)]['getOperationsOverviewData'](_0x91c807);}[a0_0x2f204f(0x412)](){const _0xad1871=a0_0x2f204f;return this['_instance'][_0xad1871(0x412)]();}[a0_0x2f204f(0x22d)](){return this['_instance']['supportsCRUD']();}[a0_0x2f204f(0x3e0)](){const _0x461e5b=a0_0x2f204f;return this[_0x461e5b(0x1f8)][_0x461e5b(0x3e0)]();}['toString'](){const _0xd12469=a0_0x2f204f;return this[_0xd12469(0x1f8)][_0xd12469(0x2e3)]();}['getOperation'](_0x18fc4e){const _0x38c29c=a0_0x2f204f;return this[_0x38c29c(0x1f8)][_0x38c29c(0x270)](_0x18fc4e);}[a0_0x2f204f(0x471)](_0x544714){const _0x2ed72c=a0_0x2f204f;return this['_instance'][_0x2ed72c(0x471)](_0x544714);}[a0_0x2f204f(0x2a8)](_0x3ca14c,_0x175890,_0x2ee6a8){const _0x46b594=a0_0x2f204f;return this[_0x46b594(0x1f8)][_0x46b594(0x2a8)](_0x3ca14c,_0x175890,_0x2ee6a8);}[a0_0x2f204f(0x465)](_0x5141f3,_0x1fe884,_0x354e50){const _0x18ad84=a0_0x2f204f;return this[_0x18ad84(0x1f8)]['generateFullSDKExample'](_0x5141f3,_0x1fe884,_0x354e50);}[a0_0x2f204f(0x3b3)](_0xca60da){const _0x34708a=a0_0x2f204f;return this['_instance'][_0x34708a(0x3b3)](_0xca60da);}[a0_0x2f204f(0x47f)](_0x41436c){const _0x3a2f8e=a0_0x2f204f;return this[_0x3a2f8e(0x1f8)]['generateOperationSummary'](_0x41436c);}['generateAllOperationsSummary'](_0x8449a4){const _0x1e8c56=a0_0x2f204f;return this[_0x1e8c56(0x1f8)]['generateAllOperationsSummary'](_0x8449a4);}[a0_0x2f204f(0x3e1)](_0x5224ab){const _0x2e366=a0_0x2f204f;return this[_0x2e366(0x1f8)][_0x2e366(0x3e1)](_0x5224ab);}[a0_0x2f204f(0x3f8)](){const _0x5bb268=a0_0x2f204f;return this['_instance'][_0x5bb268(0x3f8)]();}['generateAliasExplanation'](){const _0x3d0b24=a0_0x2f204f;return this[_0x3d0b24(0x1f8)][_0x3d0b24(0x2a1)]();}[a0_0x2f204f(0x2d7)](){return this['_instance'];}}function createDrivenDataDetailPlus(_0xa6b2c3,_0x520657={}){const _0x254cd6=a0_0x2f204f;if(_0x520657[_0x254cd6(0x202)]==='v1')return new DrivenDataDetailPlusV1(_0xa6b2c3);if(_0x520657[_0x254cd6(0x202)]==='v2')return new DrivenDataDetailPlusV2(_0xa6b2c3);if(_0xa6b2c3[_0x254cd6(0x233)]==='v2'||_0x254cd6(0x48a)in _0xa6b2c3)return new DrivenDataDetailPlusV2(_0xa6b2c3);return new DrivenDataDetailPlusV1(_0xa6b2c3);}function isPlusV2Instance(_0xe30b62){const _0x444e02=a0_0x2f204f;return _0xe30b62[_0x444e02(0x394)]()==='v2';}function isPlusV1Instance(_0x275f3a){const _0x3d0227=a0_0x2f204f;return _0x275f3a[_0x3d0227(0x394)]()==='v1';}var VERSION=a0_0x2f204f(0x1f4);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_0x342bd1=a0_0x380d;(function(_0x3751a3,_0x16cd76){const _0x739e28=a0_0x380d,_0xafd7b6=_0x3751a3();while(!![]){try{const _0x26d850=parseInt(_0x739e28(0x429))/0x1*(-parseInt(_0x739e28(0x23a))/0x2)+-parseInt(_0x739e28(0x408))/0x3+parseInt(_0x739e28(0x3f4))/0x4*(parseInt(_0x739e28(0x267))/0x5)+parseInt(_0x739e28(0x215))/0x6*(-parseInt(_0x739e28(0x3a2))/0x7)+-parseInt(_0x739e28(0x2fa))/0x8+-parseInt(_0x739e28(0x385))/0x9*(parseInt(_0x739e28(0x39d))/0xa)+parseInt(_0x739e28(0x44d))/0xb;if(_0x26d850===_0x16cd76)break;else _0xafd7b6['push'](_0xafd7b6['shift']());}catch(_0x38dc57){_0xafd7b6['push'](_0xafd7b6['shift']());}}}(a0_0x3171,0xe102c));function toCamelCase(_0x1ddb2b){const _0xf97159=a0_0x380d;if(!_0x1ddb2b)return'';return _0x1ddb2b[_0xf97159(0x257)](/[_-]/)[_0xf97159(0x2bc)]((_0x291771,_0x52e2f5)=>{const _0x15bd7f=_0xf97159;if(_0x52e2f5===0x0)return _0x291771['toLowerCase']();return _0x291771['charAt'](0x0)[_0x15bd7f(0x2b5)]()+_0x291771[_0x15bd7f(0x3eb)](0x1)['toLowerCase']();})['join']('');}function toPascalCase(_0x1dfcea){const _0x54d651=a0_0x380d;if(!_0x1dfcea)return'';const _0x2135c1=toCamelCase(_0x1dfcea);return _0x2135c1[_0x54d651(0x25d)](0x0)[_0x54d651(0x2b5)]()+_0x2135c1[_0x54d651(0x3eb)](0x1);}function toSnakeCase(_0x5668a5){const _0x1e33eb=a0_0x380d;if(!_0x5668a5)return'';return _0x5668a5[_0x1e33eb(0x36e)](/([A-Z])/g,'_$1')[_0x1e33eb(0x2fc)]()['replace'](/^_/,'');}function toKebabCase(_0x5f2234){const _0x222f3a=a0_0x380d;if(!_0x5f2234)return'';return _0x5f2234['replace'](/([A-Z])/g,_0x222f3a(0x43c))['toLowerCase']()[_0x222f3a(0x36e)](/^-/,'');}function normalizeFieldName(_0x4647cc){const _0x324e03=a0_0x380d;if(!_0x4647cc)return'';return _0x4647cc[_0x324e03(0x266)]()[_0x324e03(0x36e)](/\s+/g,'_')[_0x324e03(0x36e)](/[^a-zA-Z0-9_]/g,'_')[_0x324e03(0x36e)](/_+/g,'_')[_0x324e03(0x36e)](/^_|_$/g,'');}function getTableName(_0x2f4a1f){const _0x17604c=a0_0x380d;if(!_0x2f4a1f)return'dataset_000000';if(_0x2f4a1f[_0x17604c(0x1b2)]?.[_0x17604c(0x269)])return _0x2f4a1f[_0x17604c(0x1b2)][_0x17604c(0x269)];const _0x44204b=_0x2f4a1f['datasetCode']||_0x2f4a1f['code']||_0x2f4a1f['modelCode'];if(_0x44204b)return generateTableNameFromCode(_0x44204b);return _0x17604c(0x386);}function getTableKey(_0x3d8ac9){if(typeof _0x3d8ac9==='string')return toCamelCase(_0x3d8ac9);const _0x411f2f=getTableName(_0x3d8ac9);return toCamelCase(_0x411f2f);}function generateTableNameFromCode(_0xea6ff5){const _0x5bdaab=a0_0x380d;if(!_0xea6ff5)return _0x5bdaab(0x386);const _0x20fe8f=_0xea6ff5['slice'](-0x6)[_0x5bdaab(0x354)](0x6,'0');return _0x5bdaab(0x21c)+_0x20fe8f;}function isVirtualTableName(_0x302529){const _0xb16030=a0_0x380d;return/^dataset_[a-zA-Z0-9]{6}$/[_0xb16030(0x2d6)](_0x302529);}function generateModelKeyFromCode(_0x271e03){const _0x3e36e7=a0_0x380d;if(!_0x271e03)return'dataset_unknown';return _0x3e36e7(0x21c)+_0x271e03;}function getDbName(_0x36955a){const _0x3d862a=a0_0x380d;return _0x36955a[_0x3d862a(0x1b2)]?.[_0x3d862a(0x406)]||_0x36955a['dbtableConfig']?.[_0x3d862a(0x42c)]?.[_0x3d862a(0x406)]||'';}function generateDatasetsConfig(_0x4f88c2,_0x7c9ca3={}){const _0xba0a5c=a0_0x380d,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x4d7361,filter:_0x62dba2}=_0x7c9ca3,_0x38e5b3=_0x62dba2?_0x4f88c2['filter'](_0x62dba2):_0x4f88c2,_0x480bfb=new Map();for(const _0x25d213 of _0x38e5b3){const _0x219e82=getTableName(_0x25d213),_0x1d7b3e=getDbName(_0x25d213);!_0x480bfb[_0xba0a5c(0x2a1)](_0x219e82)&&_0x480bfb[_0xba0a5c(0x3a0)](_0x219e82,new Set()),_0x480bfb[_0xba0a5c(0x394)](_0x219e82)[_0xba0a5c(0x3e1)](_0x1d7b3e);}const _0x3db026=new Set();for(const [_0x1df1e1,_0x59460c]of _0x480bfb){_0x59460c[_0xba0a5c(0x1b1)]>0x1&&_0x3db026['add'](_0x1df1e1);}const _0x561ff0={},_0x36f708=new Set();for(const _0x36b228 of _0x38e5b3){const _0x5be6dc=getTableName(_0x36b228);if(enableDeduplication&&_0x36f708[_0xba0a5c(0x2a1)](_0x5be6dc)){console[_0xba0a5c(0x1fc)](_0xba0a5c(0x1b5)+_0x5be6dc+_0xba0a5c(0x23b)+_0x36b228[_0xba0a5c(0x351)]+'\x20('+_0x36b228[_0xba0a5c(0x37f)]+')');continue;}_0x36f708['add'](_0x5be6dc);const _0x57a2ac=_0x4d7361?_0x4d7361(_0x5be6dc,_0x36b228):getTableKey(_0x5be6dc),_0x4b7ff2=getDbName(_0x36b228),_0x57666e=_0x3db026[_0xba0a5c(0x2a1)](_0x5be6dc)&&_0x4b7ff2?getTableKey(_0x4b7ff2)+'_'+_0x57a2ac:_0x57a2ac;_0x561ff0[_0x57a2ac]={'key':_0x57a2ac,'alias':_0x57666e,'tableName':_0x5be6dc,'datasetCode':_0x36b228[_0xba0a5c(0x37f)],'name':_0x36b228['name'],'id':_0x36b228['id'],'dbName':_0x4b7ff2};}return _0x561ff0;}function generateFullDatasetsConfig(_0x406aca,_0x28f448={}){const _0x5de1c2=a0_0x380d,{filter:_0x25c97d,datasetNameGenerator:_0x57ff3a}=_0x28f448,_0x3a16fb=_0x25c97d?_0x406aca['filter'](_0x25c97d):_0x406aca,_0x44c69d=new Map();for(const _0x4d6b82 of _0x3a16fb){const _0x3272b0=getTableName(_0x4d6b82),_0x184574=getDbName(_0x4d6b82);!_0x44c69d['has'](_0x3272b0)&&_0x44c69d[_0x5de1c2(0x3a0)](_0x3272b0,new Set()),_0x44c69d[_0x5de1c2(0x394)](_0x3272b0)[_0x5de1c2(0x3e1)](_0x184574);}const _0x5ee61c=new Set();for(const [_0x5dd3bf,_0xdc973f]of _0x44c69d){_0xdc973f[_0x5de1c2(0x1b1)]>0x1&&_0x5ee61c[_0x5de1c2(0x3e1)](_0x5dd3bf);}const _0x150701=groupByTableName(_0x3a16fb),_0x510e05={};for(const [_0x3835c5,_0x56809a]of Object['entries'](_0x150701)){if(_0x56809a[_0x5de1c2(0x345)]===0x1){const _0x4498f4=_0x56809a[0x0],_0x1c692d=_0x57ff3a?_0x57ff3a(_0x3835c5,_0x4498f4):getTableKey(_0x3835c5),_0x15bee6=getDbName(_0x4498f4),_0x568ffa=_0x5ee61c['has'](_0x3835c5)&&_0x15bee6?getTableKey(_0x15bee6)+'_'+_0x1c692d:_0x1c692d;_0x510e05[_0x1c692d]={'key':_0x1c692d,'alias':_0x568ffa,'tableName':_0x3835c5,'datasetCode':_0x4498f4[_0x5de1c2(0x37f)],'name':_0x4498f4['name'],'id':_0x4498f4['id'],'dbName':_0x15bee6};}else{const _0x86e245=[..._0x56809a][_0x5de1c2(0x457)]((_0x1d06cf,_0x54c2e0)=>{const _0x8768cd=Number(_0x1d06cf['id'])||0x0,_0x4aff88=Number(_0x54c2e0['id'])||0x0;return _0x4aff88-_0x8768cd;});_0x86e245[_0x5de1c2(0x40c)]((_0x42dc95,_0x196779)=>{const _0x57e7a2=_0x5de1c2,_0x136179=_0x57ff3a?_0x57ff3a(_0x3835c5,_0x42dc95):getTableKey(_0x3835c5),_0x37a474=_0x196779===0x0?_0x136179:_0x136179+'_'+_0x196779,_0x17248a=getDbName(_0x42dc95),_0x434aec=_0x5ee61c[_0x57e7a2(0x2a1)](_0x3835c5)&&_0x17248a?getTableKey(_0x17248a)+'_'+_0x37a474:_0x37a474;_0x510e05[_0x37a474]={'key':_0x37a474,'alias':_0x434aec,'tableName':_0x3835c5,'datasetCode':_0x42dc95[_0x57e7a2(0x37f)],'name':_0x42dc95[_0x57e7a2(0x351)],'id':_0x42dc95['id'],'dbName':_0x17248a};});}}return _0x510e05;}function detectTableNameConflicts(_0x447bd6){const _0x4bae68=a0_0x380d,_0x33f31f={};for(const _0x17e7d3 of _0x447bd6){const _0x1fe142=getTableName(_0x17e7d3);!_0x33f31f[_0x1fe142]&&(_0x33f31f[_0x1fe142]=[]),_0x33f31f[_0x1fe142]['push'](_0x17e7d3);}const _0x453135={};for(const [_0x25e6a1,_0x4d10d7]of Object[_0x4bae68(0x241)](_0x33f31f)){_0x4d10d7[_0x4bae68(0x345)]>0x1&&(_0x453135[_0x25e6a1]=_0x4d10d7);}return{'hasConflicts':Object[_0x4bae68(0x1ea)](_0x453135)[_0x4bae68(0x345)]>0x0,'conflicts':_0x453135};}function createDatasetNameMap(_0x3ebe40){const _0x4ee942=a0_0x380d,_0x239190={};for(const [_0xcb9873,_0x2682d0]of Object[_0x4ee942(0x241)](_0x3ebe40)){_0x239190[_0xcb9873]=_0x2682d0['datasetCode']||'';}return _0x239190;}function groupByTableName(_0x4415c2){const _0x19e13b={};for(const _0x3b1ee1 of _0x4415c2){const _0x42d8de=getTableName(_0x3b1ee1);!_0x19e13b[_0x42d8de]&&(_0x19e13b[_0x42d8de]=[]),_0x19e13b[_0x42d8de]['push'](_0x3b1ee1);}return _0x19e13b;}function datasetsConfigToArray(_0x15d5fb){const _0x47dec0=a0_0x380d;return Object[_0x47dec0(0x31e)](_0x15d5fb);}function adaptDrivenDataDetail(_0x384a9b){const _0x4c4671=a0_0x380d,_0x4970f1={};return _0x4970f1['id']=_0x384a9b[_0x4c4671(0x470)],_0x4970f1[_0x4c4671(0x351)]=_0x384a9b['name'],_0x4970f1[_0x4c4671(0x37f)]=_0x384a9b[_0x4c4671(0x1d5)],_0x4970f1['dbtableConfig']=_0x384a9b[_0x4c4671(0x1b2)],_0x4970f1[_0x4c4671(0x328)]=_0x384a9b[_0x4c4671(0x328)],_0x4970f1['version']=_0x384a9b[_0x4c4671(0x3f5)],_0x4970f1[_0x4c4671(0x2f8)]=_0x384a9b[_0x4c4671(0x2f8)],_0x4970f1[_0x4c4671(0x395)]=_0x384a9b['properties'],_0x4970f1[_0x4c4671(0x325)]=_0x384a9b[_0x4c4671(0x325)],_0x4970f1;}function adaptDrivenDataDetails(_0x3d6a9f){const _0x28ef67=a0_0x380d;return _0x3d6a9f[_0x28ef67(0x2bc)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x20c6c9){const _0x39fba9=a0_0x380d;if(!_0x20c6c9['success']||!_0x20c6c9[_0x39fba9(0x24c)])throw new Error('获取数据集失败:\x20'+(_0x20c6c9[_0x39fba9(0x291)]||_0x20c6c9[_0x39fba9(0x2c4)]));return adaptDrivenDataDetail(_0x20c6c9[_0x39fba9(0x24c)]);}function extractDatasetsFromListResponse(_0x5b49fc){const _0x4ff9b9=a0_0x380d;if(!_0x5b49fc['success']||!_0x5b49fc[_0x4ff9b9(0x24c)]?.[_0x4ff9b9(0x1bd)])throw new Error(_0x4ff9b9(0x33a)+(_0x5b49fc['errorMsg']||_0x5b49fc[_0x4ff9b9(0x2c4)]));return _0x5b49fc[_0x4ff9b9(0x24c)][_0x4ff9b9(0x1bd)]['map'](_0x37d866=>({..._0x37d866,'datasetCode':_0x37d866[_0x4ff9b9(0x2bd)]||_0x37d866[_0x4ff9b9(0x37f)]}));}function isDrivenDataDetail(_0x3fa4a2){const _0x50fddd=a0_0x380d;return Boolean(_0x3fa4a2&&typeof _0x3fa4a2[_0x50fddd(0x1d5)]===_0x50fddd(0x3d2));}function smartAdapt(_0x542763){const _0x5d9185=a0_0x380d;if(isDrivenDataDetail(_0x542763))return adaptDrivenDataDetail(_0x542763);if(_0x542763[_0x5d9185(0x37f)])return _0x542763;if(_0x542763[_0x5d9185(0x2bd)]){const _0x5e0d5f={..._0x542763};return _0x5e0d5f[_0x5d9185(0x37f)]=_0x542763['code'],_0x5e0d5f;}return _0x542763;}var DatasetOperationType;(_0xb4fbc5=>{const _0x45bb9e=a0_0x380d;_0xb4fbc5['GET_LIST']=_0x45bb9e(0x3c5),_0xb4fbc5['GET_ONE']=_0x45bb9e(0x3cb),_0xb4fbc5[_0x45bb9e(0x26b)]='getOneOrigin',_0xb4fbc5[_0x45bb9e(0x1dc)]=_0x45bb9e(0x1c5),_0xb4fbc5[_0x45bb9e(0x352)]=_0x45bb9e(0x34f),_0xb4fbc5[_0x45bb9e(0x3aa)]=_0x45bb9e(0x1dd),_0xb4fbc5[_0x45bb9e(0x43e)]=_0x45bb9e(0x305),_0xb4fbc5['GET_SELECT_OPTIONS']='getSelectOptions',_0xb4fbc5[_0x45bb9e(0x286)]=_0x45bb9e(0x238),_0xb4fbc5[_0x45bb9e(0x41d)]='excelExport',_0xb4fbc5[_0x45bb9e(0x28b)]=_0x45bb9e(0x1bc),_0xb4fbc5['CREATE_IMPORT']=_0x45bb9e(0x23e),_0xb4fbc5[_0x45bb9e(0x441)]=_0x45bb9e(0x45f),_0xb4fbc5['TASK_INFO']=_0x45bb9e(0x20a),_0xb4fbc5['IMPORT_TEMPLATE']='importTemplate';})(DatasetOperationType||={});const a0_0x8081bd={};a0_0x8081bd[a0_0x342bd1(0x3c5)]=a0_0x342bd1(0x2e7),a0_0x8081bd[a0_0x342bd1(0x3cb)]=a0_0x342bd1(0x21a),a0_0x8081bd[a0_0x342bd1(0x338)]=a0_0x342bd1(0x33c),a0_0x8081bd['getOneUpdate']=a0_0x342bd1(0x33f),a0_0x8081bd['create']='创建',a0_0x8081bd[a0_0x342bd1(0x1dd)]='更新',a0_0x8081bd[a0_0x342bd1(0x305)]='删除',a0_0x8081bd[a0_0x342bd1(0x205)]=a0_0x342bd1(0x259),a0_0x8081bd[a0_0x342bd1(0x238)]=a0_0x342bd1(0x34b),a0_0x8081bd['excelExport']=a0_0x342bd1(0x28c),a0_0x8081bd[a0_0x342bd1(0x1bc)]=a0_0x342bd1(0x397),a0_0x8081bd[a0_0x342bd1(0x23e)]=a0_0x342bd1(0x23f),a0_0x8081bd[a0_0x342bd1(0x45f)]=a0_0x342bd1(0x1e4),a0_0x8081bd[a0_0x342bd1(0x20a)]=a0_0x342bd1(0x224),a0_0x8081bd[a0_0x342bd1(0x391)]='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0x8081bd,API_BLACKLIST=[a0_0x342bd1(0x3c5),a0_0x342bd1(0x338),a0_0x342bd1(0x1c5),a0_0x342bd1(0x238)];function parseFieldExtend(_0x582b72){const _0x1e9469=a0_0x342bd1;if(!_0x582b72||typeof _0x582b72!=='object')return!![]&&console[_0x1e9469(0x1fc)](_0x1e9469(0x3d4),_0x582b72),{};if(!_0x582b72[_0x1e9469(0x2f8)])return{};try{const _0x45087a=typeof _0x582b72[_0x1e9469(0x2f8)]===_0x1e9469(0x3d2)?JSON['parse'](_0x582b72['extend']):_0x582b72[_0x1e9469(0x2f8)];if(typeof _0x45087a!=='object'||_0x45087a===null)return{};return _0x45087a;}catch{return{};}}function isPrimaryKeyField(_0x445566,_0x1887e6){const _0x29e73a=a0_0x342bd1;if(!_0x445566||typeof _0x445566!==_0x29e73a(0x1eb))return![];if(typeof _0x1887e6==='string'&&_0x445566[_0x29e73a(0x2bd)]===_0x1887e6)return!![];const _0x328001=parseFieldExtend(_0x445566);return Boolean(_0x328001[_0x29e73a(0x358)]||_0x328001['pkField']);}function isSystemField(_0x510b52){const _0x51ec04=a0_0x342bd1,_0x444009=parseFieldExtend(_0x510b52);return Boolean(_0x444009[_0x51ec04(0x3c7)]);}function isRequiredField(_0x88b613){const _0x4d127a=a0_0x342bd1,_0x1d569a=parseFieldExtend(_0x88b613);return Boolean(_0x1d569a[_0x4d127a(0x22c)]);}function isAutoIncrementField(_0x469a0d){const _0x209e51=a0_0x342bd1,_0x463cd9=parseFieldExtend(_0x469a0d);return Boolean(_0x463cd9[_0x209e51(0x468)]);}function isCreateTimeField(_0x1fe6d1){const _0xf38f26=parseFieldExtend(_0x1fe6d1);return Boolean(_0xf38f26['createDate']);}function isModifyTimeField(_0x2be0b3){const _0x2fc07a=a0_0x342bd1,_0x2c422=parseFieldExtend(_0x2be0b3);return Boolean(_0x2c422[_0x2fc07a(0x414)]);}const a0_0x434cc9={};a0_0x434cc9[a0_0x342bd1(0x42e)]='数字',a0_0x434cc9[a0_0x342bd1(0x2f1)]='文本',a0_0x434cc9[a0_0x342bd1(0x1d8)]='长文本',a0_0x434cc9[a0_0x342bd1(0x3db)]='日期',a0_0x434cc9[a0_0x342bd1(0x302)]=a0_0x342bd1(0x3b5),a0_0x434cc9[a0_0x342bd1(0x1da)]=a0_0x342bd1(0x404),a0_0x434cc9[a0_0x342bd1(0x237)]=a0_0x342bd1(0x29d),a0_0x434cc9[a0_0x342bd1(0x29e)]='多选',a0_0x434cc9['RADIO']='单选',a0_0x434cc9['SWITCH']='开关',a0_0x434cc9['UPLOAD']=a0_0x342bd1(0x42a),a0_0x434cc9[a0_0x342bd1(0x2ae)]='图片',a0_0x434cc9[a0_0x342bd1(0x1e9)]=a0_0x342bd1(0x1c8),a0_0x434cc9['JSON']=a0_0x342bd1(0x277),a0_0x434cc9[a0_0x342bd1(0x227)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x434cc9;function getDbTypeDisplay(_0x509376){const _0x5251d1=a0_0x342bd1;if(typeof _0x509376!=='string')return!![]&&console[_0x5251d1(0x1fc)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x509376),String(_0x509376||'-');return DB_TYPE_DISPLAY_MAP[_0x509376]||_0x509376;}function formatDbType(_0x323ed5,_0x1fb275){const _0x5dd2d5=a0_0x342bd1;if(!_0x323ed5||typeof _0x323ed5!==_0x5dd2d5(0x3d2))return'-';if(!_0x1fb275||typeof _0x1fb275!==_0x5dd2d5(0x44b))return _0x323ed5;const _0x431d70=['TEXT','DATETIME','TIMESTAMP','DATE'];if(_0x431d70[_0x5dd2d5(0x461)](_0x323ed5['toUpperCase']()))return _0x323ed5;return _0x323ed5+'('+_0x1fb275+')';}function parseOperationType(_0x5650ed){const _0xb3264f=a0_0x342bd1;if(typeof _0x5650ed!==_0xb3264f(0x3d2)){!![]&&console[_0xb3264f(0x1fc)](_0xb3264f(0x2f7),_0x5650ed);return;}if(Object[_0xb3264f(0x31e)](DatasetOperationType)['includes'](_0x5650ed))return _0x5650ed;const _0x132734=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x44669a,_0x3fbe25])=>_0x3fbe25===_0x5650ed);return _0x132734?_0x132734[0x0]:undefined;}function shouldIncludeField(_0x14bd0c,_0x164ce7,_0x3e5a64){const _0x1df5b2=a0_0x342bd1,_0x5955dc=parseFieldExtend(_0x14bd0c),_0x5a1219=isPrimaryKeyField(_0x14bd0c,_0x3e5a64),_0xf8de08=Boolean(_0x5955dc[_0x1df5b2(0x3c7)]),_0x4da8b0=Boolean(_0x5955dc[_0x1df5b2(0x468)]),_0x5791d9=Boolean(_0x5955dc[_0x1df5b2(0x2ef)]),_0x2f2f5e=Boolean(_0x5955dc[_0x1df5b2(0x414)]);switch(_0x164ce7){case'getList':return!![];case _0x1df5b2(0x3cb):case _0x1df5b2(0x338):case _0x1df5b2(0x305):return _0x5a1219;case _0x1df5b2(0x34f):if(_0x5a1219&&_0x4da8b0)return![];if(_0xf8de08)return![];if(_0x5791d9||_0x2f2f5e)return![];return!![];case _0x1df5b2(0x1dd):case _0x1df5b2(0x1c5):if(_0x5a1219)return!![];if(_0xf8de08)return![];if(_0x5791d9||_0x2f2f5e)return![];return!![];case _0x1df5b2(0x205):return _0x14bd0c[_0x1df5b2(0x2bd)]===_0x1df5b2(0x2bd);default:return!![];}}function getFieldsForOperation(_0xc9b761,_0x3a85e0,_0x5da485){const _0x150548=a0_0x342bd1;if(!Array['isArray'](_0xc9b761))return!![]&&console[_0x150548(0x1fc)](_0x150548(0x1d6),_0xc9b761),[];return _0xc9b761['filter'](_0x2d684d=>shouldIncludeField(_0x2d684d,_0x3a85e0,_0x5da485));}function isApiBlacklisted(_0x430686){const _0xbc5e25=a0_0x342bd1;if(typeof _0x430686!==_0xbc5e25(0x3d2))return!![]&&console[_0xbc5e25(0x1fc)](_0xbc5e25(0x3da),_0x430686),![];return API_BLACKLIST[_0xbc5e25(0x461)](_0x430686);}function filterApiOperations(_0x276ef8){const _0x2dbaf0=a0_0x342bd1;if(!Array[_0x2dbaf0(0x200)](_0x276ef8))return!![]&&console[_0x2dbaf0(0x1fc)](_0x2dbaf0(0x309),_0x276ef8),[];return _0x276ef8[_0x2dbaf0(0x282)](_0x5f4501=>_0x5f4501&&typeof _0x5f4501===_0x2dbaf0(0x1eb)&&!isApiBlacklisted(_0x5f4501[_0x2dbaf0(0x351)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x342bd1(0x2e9)](),'SELECT':({fieldInfo:_0x4aced7})=>{const _0x1dfc66=a0_0x342bd1;if(_0x4aced7?.[_0x1dfc66(0x23c)]&&Array['isArray'](_0x4aced7['options'])&&_0x4aced7[_0x1dfc66(0x23c)][_0x1dfc66(0x345)]>0x0)return _0x4aced7[_0x1dfc66(0x23c)][0x0][_0x1dfc66(0x3d9)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x286f08})=>{const _0x2e7522=a0_0x342bd1;if(_0x286f08===_0x2e7522(0x401))return 0x1;if(_0x286f08===_0x2e7522(0x3ac))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0xb13b98})=>{const _0x4f039f=a0_0x342bd1;if(_0xb13b98&&typeof _0xb13b98===_0x4f039f(0x3d2)){const _0x4f022a=_0xb13b98[_0x4f039f(0x2fc)]();if(_0x4f022a['includes']('邮箱')||_0x4f022a['includes'](_0x4f039f(0x255)))return _0x4f039f(0x3c4);if(_0x4f022a[_0x4f039f(0x461)]('电话')||_0x4f022a[_0x4f039f(0x461)]('手机')||_0x4f022a[_0x4f039f(0x461)](_0x4f039f(0x2ba)))return _0x4f039f(0x262);if(_0x4f022a[_0x4f039f(0x461)]('地址')||_0x4f022a['includes'](_0x4f039f(0x1e7)))return _0x4f039f(0x3e2);if(_0x4f022a[_0x4f039f(0x461)]('姓名')||_0x4f022a[_0x4f039f(0x461)](_0x4f039f(0x351)))return'张三';}return _0x4f039f(0x3f8);},'VARCHAR':({description:_0xa68b16})=>TYPE_VALUE_GENERATORS[a0_0x342bd1(0x2f1)]({'description':_0xa68b16}),'CHAR':({description:_0x4f8879})=>TYPE_VALUE_GENERATORS[a0_0x342bd1(0x2f1)]({'description':_0x4f8879}),'STRING':({fieldInfo:_0x15fec0,description:_0x5038e2})=>{const _0x19cf6d=a0_0x342bd1;if(_0x15fec0?.[_0x19cf6d(0x35a)]&&typeof _0x15fec0[_0x19cf6d(0x35a)]===_0x19cf6d(0x3d2)&&_0x15fec0[_0x19cf6d(0x35a)]!==_0x19cf6d(0x40e))return _0x15fec0[_0x19cf6d(0x35a)]['replace'](/^请输入|^请选择/,'');const _0x37f015={};return _0x37f015['description']=_0x5038e2,TYPE_VALUE_GENERATORS[_0x19cf6d(0x2f1)](_0x37f015);},'TEXTAREA':()=>a0_0x342bd1(0x3c1),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x342bd1(0x3d9)}),'ARRAY':()=>[a0_0x342bd1(0x356),a0_0x342bd1(0x475)],'UPLOAD':()=>a0_0x342bd1(0x432),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>'<p>富文本内容</p>'};function generateExampleValue(_0x4e91f0,_0x82a8db,_0xd36935,_0x2b1645={}){const _0xf36b1e=a0_0x342bd1;typeof _0x4e91f0!=='string'&&(!![]&&console[_0xf36b1e(0x1fc)](_0xf36b1e(0x24e),_0x4e91f0),_0x4e91f0=String(_0x4e91f0||''));if(typeof _0x82a8db!==_0xf36b1e(0x3d2))return!![]&&console['warn'](_0xf36b1e(0x41a),_0x82a8db),_0xf36b1e(0x21e);const {isPrimaryKey:_0x119825,dbtableConfig:_0x25c12b}=_0x2b1645;if(_0x119825)return 0x1;if(_0x25c12b&&typeof _0x25c12b===_0xf36b1e(0x1eb)){const _0x5bb2a5=_0x25c12b['createTimeField']?.['fieldName']===_0x4e91f0,_0x140010=_0x25c12b[_0xf36b1e(0x418)]?.['fieldName']===_0x4e91f0;if(_0x5bb2a5||_0x140010){if(_0xd36935&&typeof _0xd36935===_0xf36b1e(0x3d2)&&_0xd36935[_0xf36b1e(0x2b5)]()['includes']('TIMESTAMP'))return Date[_0xf36b1e(0x2e9)]();return new Date()[_0xf36b1e(0x3f0)]()[_0xf36b1e(0x36e)]('T','\x20')[_0xf36b1e(0x257)]('.')[0x0];}}const _0x39638b={..._0x2b1645};_0x39638b[_0xf36b1e(0x344)]=_0x4e91f0;const _0x12b45c=_0x39638b;if(_0xd36935&&typeof _0xd36935===_0xf36b1e(0x3d2)){const _0x137339=_0xd36935[_0xf36b1e(0x2b5)](),_0x161144=TYPE_VALUE_GENERATORS[_0x137339];if(_0x161144)return _0x161144(_0x12b45c);}if(_0x82a8db&&typeof _0x82a8db===_0xf36b1e(0x3d2)){const _0x5cbd07=_0x82a8db[_0xf36b1e(0x2b5)](),_0x20ec34=TYPE_VALUE_GENERATORS[_0x5cbd07];if(_0x20ec34)return _0x20ec34(_0x12b45c);}return _0xf36b1e(0x21e);}function generateExampleFromSchema(_0x2543bc,_0xa7de41){const _0x114585=a0_0x342bd1;if(!_0x2543bc||typeof _0x2543bc!==_0x114585(0x1eb))return{};if(Array[_0x114585(0x200)](_0x2543bc)){if(_0x2543bc[_0x114585(0x345)]>0x0)return[generateExampleFromSchema(_0x2543bc[0x0],_0xa7de41)];return[];}const _0x5db34a={};return Object['keys'](_0x2543bc)['forEach'](_0x4d2dfb=>{const _0x18d55b=_0x114585,_0x3f86ab=_0x2543bc[_0x4d2dfb];if(_0x3f86ab&&typeof _0x3f86ab==='object'&&!Array[_0x18d55b(0x200)](_0x3f86ab)&&_0x3f86ab[_0x18d55b(0x399)]){const _0x1afa66=_0x3f86ab,_0x30277e=_0x1afa66[_0x18d55b(0x399)],_0x2d15b7=_0x1afa66['description'];if(typeof _0x30277e===_0x18d55b(0x3d2)){const _0x1fecf0={};_0x1fecf0[_0x18d55b(0x1ca)]=_0x2d15b7,_0x1fecf0[_0x18d55b(0x1b2)]=_0xa7de41,_0x5db34a[_0x4d2dfb]=generateExampleValue(_0x4d2dfb,_0x30277e,undefined,_0x1fecf0);}else _0x5db34a[_0x4d2dfb]=_0x18d55b(0x21e);}else{if(Array[_0x18d55b(0x200)](_0x3f86ab))_0x5db34a[_0x4d2dfb]=_0x3f86ab[_0x18d55b(0x345)]>0x0?[generateExampleFromSchema(_0x3f86ab[0x0],_0xa7de41)]:[];else _0x3f86ab&&typeof _0x3f86ab==='object'?_0x5db34a[_0x4d2dfb]=generateExampleFromSchema(_0x3f86ab,_0xa7de41):_0x5db34a[_0x4d2dfb]=_0x3f86ab;}}),_0x5db34a;}function parseRequestBody(_0x2c64f5){const _0x272bfa=a0_0x342bd1;if(!_0x2c64f5)return{};try{return JSON[_0x272bfa(0x2aa)](_0x2c64f5);}catch(_0x29f822){return!![]&&console[_0x272bfa(0x1fc)](_0x272bfa(0x3a6),_0x29f822),{};}}function parseResponseBody(_0x117418){const _0x83cd85=a0_0x342bd1;if(!_0x117418)return null;try{const _0x2d8289=JSON[_0x83cd85(0x2aa)](_0x117418);return _0x2d8289[_0x83cd85(0x362)]||_0x2d8289;}catch(_0xe52fed){return!![]&&console[_0x83cd85(0x1fc)](_0x83cd85(0x42f),_0xe52fed),null;}}function generateRequestExample(_0x3d345b,_0x413b7f,_0x535427,_0xc774ac){const _0x3ba2a1=a0_0x342bd1,_0x574aa5={};if(!Array['isArray'](_0x3d345b))return!![]&&console['warn']('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x3d345b),_0x574aa5;return _0x3d345b['forEach'](_0x41e28b=>{const _0x4e9684=a0_0x380d;if(!_0x41e28b||typeof _0x41e28b!==_0x4e9684(0x1eb)){!![]&&console[_0x4e9684(0x1fc)]('[generateRequestExample]\x20Invalid\x20field:',_0x41e28b);return;}if(typeof _0x41e28b[_0x4e9684(0x2bd)]!==_0x4e9684(0x3d2)||typeof _0x41e28b['type']!=='string'){!![]&&console[_0x4e9684(0x1fc)](_0x4e9684(0x2c0),_0x41e28b);return;}const _0x1f8285=parseFieldExtend(_0x41e28b),_0x1dc54d=_0x41e28b[_0x4e9684(0x2bd)]===_0x535427||Boolean(_0x1f8285?.['primaryKey']),_0x317460=generateExampleValue(_0x41e28b['code'],_0x41e28b[_0x4e9684(0x399)],typeof _0x41e28b[_0x4e9684(0x2e0)]===_0x4e9684(0x3d2)?_0x41e28b[_0x4e9684(0x2e0)]:undefined,{'fieldInfo':_0x1f8285,'isPrimaryKey':_0x1dc54d,'description':_0x41e28b['description']||_0x41e28b['name'],'dbtableConfig':_0xc774ac});_0x574aa5[_0x41e28b[_0x4e9684(0x2bd)]]=_0x317460;}),_0x413b7f===_0x3ba2a1(0x3c5)&&(_0x574aa5[_0x3ba2a1(0x401)]=0x1,_0x574aa5[_0x3ba2a1(0x3ac)]=0xa),_0x574aa5;}function formatEnumValue(_0x5e6412,_0x10267d){const _0x3127f6=a0_0x342bd1;if(_0x5e6412[_0x3127f6(0x3df)]&&Array[_0x3127f6(0x200)](_0x10267d))return _0x10267d[_0x3127f6(0x2bc)](_0x1ad002=>_0x5e6412['valueLabels'][String(_0x1ad002)]||String(_0x1ad002))[_0x3127f6(0x314)](',\x20');return _0x5e6412[_0x3127f6(0x20b)][String(_0x10267d)]||String(_0x10267d);}function formatOptionsForDoc(_0x398b66){const _0x2935ed=a0_0x342bd1;return _0x398b66['map'](_0x4d8f97=>_0x4d8f97[_0x2935ed(0x3d9)]+'('+_0x4d8f97[_0x2935ed(0x469)]+')')[_0x2935ed(0x314)](',\x20');}function formatOptionsAsMarkdownList(_0x16a0ba,_0x1f6d4e=0x0){const _0x51dbab=a0_0x342bd1,_0x4cfd8f='\x20\x20'[_0x51dbab(0x366)](_0x1f6d4e),_0x9cd3ab=[];return _0x16a0ba[_0x51dbab(0x40c)](_0x2262cb=>{const _0x53e5fc=_0x51dbab;_0x9cd3ab[_0x53e5fc(0x37b)](_0x4cfd8f+_0x53e5fc(0x2ad)+_0x2262cb[_0x53e5fc(0x3d9)]+_0x53e5fc(0x443)+_0x2262cb[_0x53e5fc(0x469)]),_0x2262cb[_0x53e5fc(0x217)]&&_0x2262cb['children']['length']>0x0&&_0x9cd3ab['push'](formatOptionsAsMarkdownList(_0x2262cb['children'],_0x1f6d4e+0x1));}),_0x9cd3ab[_0x51dbab(0x314)]('\x0a');}class DbtableConfig{['_raw'];constructor(_0x1a7531){const _0x293ebc=a0_0x342bd1,_0xff2830={..._0x1a7531};this[_0x293ebc(0x3c9)]=_0xff2830;}get['dbId'](){const _0x25d3a7=a0_0x342bd1;return this['_raw'][_0x25d3a7(0x442)];}get[a0_0x342bd1(0x406)](){const _0x26df64=a0_0x342bd1;return this[_0x26df64(0x3c9)]['dbName']??this[_0x26df64(0x3c9)][_0x26df64(0x42c)]?.['dbName'];}get[a0_0x342bd1(0x269)](){const _0xeec7cb=a0_0x342bd1;return this[_0xeec7cb(0x3c9)][_0xeec7cb(0x269)];}get[a0_0x342bd1(0x1fd)](){const _0x11265c=a0_0x342bd1;return this[_0x11265c(0x3c9)][_0x11265c(0x1fd)];}get[a0_0x342bd1(0x2ab)](){const _0x3ea05f=a0_0x342bd1;return this[_0x3ea05f(0x3c9)]['pkField'];}get[a0_0x342bd1(0x459)](){const _0x579f36=a0_0x342bd1;return this[_0x579f36(0x3c9)][_0x579f36(0x459)];}get['logicField'](){const _0x48eecc=a0_0x342bd1;return this['_raw'][_0x48eecc(0x1ed)];}get[a0_0x342bd1(0x287)](){const _0x1e48f3=a0_0x342bd1;return this[_0x1e48f3(0x3c9)][_0x1e48f3(0x287)];}get[a0_0x342bd1(0x418)](){const _0x1cad0e=a0_0x342bd1;return this[_0x1cad0e(0x3c9)][_0x1cad0e(0x418)];}get[a0_0x342bd1(0x41e)](){const _0x4115a3=a0_0x342bd1;return this[_0x4115a3(0x3c9)][_0x4115a3(0x41e)];}get[a0_0x342bd1(0x1c2)](){const _0x59be8d=a0_0x342bd1;return this[_0x59be8d(0x3c9)]['creatorNameField'];}get['modifierIdField'](){const _0x1ad2e0=a0_0x342bd1;return this[_0x1ad2e0(0x3c9)][_0x1ad2e0(0x245)];}get['modifierNameField'](){const _0xcd33b2=a0_0x342bd1;return this[_0xcd33b2(0x3c9)]['modifierNameField'];}get['dblinkInfoDTO'](){return this['_raw']['dblinkInfoDTO'];}[a0_0x342bd1(0x207)](){const _0x16dfec=a0_0x342bd1;if(!this[_0x16dfec(0x3c9)][_0x16dfec(0x339)])return[];return this[_0x16dfec(0x3c9)][_0x16dfec(0x339)]['split'](',')[_0x16dfec(0x2bc)](_0x27ee26=>_0x27ee26[_0x16dfec(0x266)]())[_0x16dfec(0x282)](Boolean);}[a0_0x342bd1(0x3dd)](){const _0x3a2149=a0_0x342bd1;return this[_0x3a2149(0x3c9)][_0x3a2149(0x339)];}[a0_0x342bd1(0x39b)](_0x1df857){const _0x10c9d0=a0_0x342bd1;return this['getAllFieldsArray']()[_0x10c9d0(0x461)](_0x1df857);}[a0_0x342bd1(0x3a8)](){const _0x566284=a0_0x342bd1;return Boolean(this[_0x566284(0x3c9)][_0x566284(0x269)]);}[a0_0x342bd1(0x392)](){const _0x45c5c6=a0_0x342bd1;return Boolean(this[_0x45c5c6(0x3c9)]['dblinkInfoDTO']);}['hasLogicField'](){const _0xbdccf2=a0_0x342bd1;return Boolean(this[_0xbdccf2(0x3c9)][_0xbdccf2(0x1ed)]?.['fieldName']);}[a0_0x342bd1(0x1b8)](){const _0x530e1f=a0_0x342bd1;return Boolean(this[_0x530e1f(0x3c9)][_0x530e1f(0x287)]?.[_0x530e1f(0x234)]);}[a0_0x342bd1(0x201)](){const _0xd06d18=a0_0x342bd1;return Boolean(this[_0xd06d18(0x3c9)][_0xd06d18(0x418)]?.[_0xd06d18(0x234)]);}[a0_0x342bd1(0x430)](){const _0x1ce75e=a0_0x342bd1;return Boolean(this['_raw'][_0x1ce75e(0x41e)]?.['fieldName']);}[a0_0x342bd1(0x452)](){const _0x322585=a0_0x342bd1;return Boolean(this[_0x322585(0x3c9)][_0x322585(0x245)]?.[_0x322585(0x234)]);}[a0_0x342bd1(0x1c0)](_0x417f3a){const _0x3e12ee=a0_0x342bd1;return this[_0x3e12ee(0x3c9)][_0x3e12ee(0x2ab)]===_0x417f3a;}['isSystemField'](_0x25fb63){const _0x1295c5=a0_0x342bd1;return this[_0x1295c5(0x1c0)](_0x25fb63)||this[_0x1295c5(0x3c9)]['logicField']?.[_0x1295c5(0x234)]===_0x25fb63||this[_0x1295c5(0x3c9)]['createTimeField']?.['fieldName']===_0x25fb63||this[_0x1295c5(0x3c9)][_0x1295c5(0x418)]?.[_0x1295c5(0x234)]===_0x25fb63||this['_raw'][_0x1295c5(0x41e)]?.[_0x1295c5(0x234)]===_0x25fb63||this[_0x1295c5(0x3c9)]['creatorNameField']?.['fieldName']===_0x25fb63||this[_0x1295c5(0x3c9)][_0x1295c5(0x245)]?.['fieldName']===_0x25fb63||this['_raw'][_0x1295c5(0x44f)]?.[_0x1295c5(0x234)]===_0x25fb63;}['getDatabaseName'](){const _0x117421=a0_0x342bd1;return this[_0x117421(0x3c9)][_0x117421(0x42c)]?.['dbName'];}[a0_0x342bd1(0x335)](){const _0x2d1634=a0_0x342bd1;return this[_0x2d1634(0x3c9)][_0x2d1634(0x42c)]?.[_0x2d1634(0x2e0)];}[a0_0x342bd1(0x2d4)](){const _0x468146=a0_0x342bd1;return this[_0x468146(0x3c9)][_0x468146(0x42c)]?.[_0x468146(0x23d)];}[a0_0x342bd1(0x306)](){const _0x390c21=a0_0x342bd1;return this['_raw'][_0x390c21(0x42c)]?.['tenantCode'];}[a0_0x342bd1(0x1ce)](){const _0x514b60=a0_0x342bd1;return this['_raw']['dblinkInfoDTO']?.[_0x514b60(0x223)];}[a0_0x342bd1(0x3fe)](){const _0x30792a=a0_0x342bd1;return this[_0x30792a(0x3c9)]['dblinkInfoDTO']?.['systemAnalysisResult'];}[a0_0x342bd1(0x1cb)](){const _0x3e662e=a0_0x342bd1;return{'hasTableName':this[_0x3e662e(0x3a8)](),'hasDblinkInfo':this[_0x3e662e(0x392)](),'fieldCount':this['getAllFieldsArray']()[_0x3e662e(0x345)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x3e662e(0x1b8)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this[_0x3e662e(0x430)](),'hasModifierIdField':this['hasModifierIdField']()}};}[a0_0x342bd1(0x1c7)](){const _0x3cc191=a0_0x342bd1,_0x463a33={};return _0x463a33[_0x3cc191(0x269)]=this[_0x3cc191(0x269)],_0x463a33[_0x3cc191(0x2ab)]=this[_0x3cc191(0x2ab)],_0x463a33[_0x3cc191(0x1fd)]=this[_0x3cc191(0x1fd)],_0x463a33[_0x3cc191(0x442)]=this[_0x3cc191(0x442)],_0x463a33;}[a0_0x342bd1(0x463)](){const _0x7375b9=a0_0x342bd1,_0x114873={...this[_0x7375b9(0x3c9)]};return _0x114873;}[a0_0x342bd1(0x289)](){const _0x5ec3b9=a0_0x342bd1,_0x338fac={...this[_0x5ec3b9(0x3c9)]};return _0x338fac;}[a0_0x342bd1(0x279)](){const _0x5f2117=a0_0x342bd1,_0x2c2091=this[_0x5f2117(0x269)]||_0x5f2117(0x28a),_0x46eaa3=this[_0x5f2117(0x207)]()[_0x5f2117(0x345)];return _0x5f2117(0x466)+_0x2c2091+_0x5f2117(0x43d)+_0x46eaa3+')';}static[a0_0x342bd1(0x26c)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x342bd1(0x3c9)];constructor(_0x5026bd){const _0x12a569=a0_0x342bd1,_0xf0bec7=_0x5026bd[_0x12a569(0x37f)]||_0x5026bd[_0x12a569(0x2bd)]||_0x5026bd[_0x12a569(0x1d5)],_0x5de90c={..._0x5026bd};_0x5de90c['datasetCode']=_0xf0bec7,this['_raw']=_0x5de90c;}get['id'](){const _0x224bc3=a0_0x342bd1;return this[_0x224bc3(0x3c9)]['id'];}get[a0_0x342bd1(0x351)](){const _0x19ba80=a0_0x342bd1;return this[_0x19ba80(0x3c9)][_0x19ba80(0x351)];}[a0_0x342bd1(0x3c3)](){return this['name'];}get[a0_0x342bd1(0x37f)](){const _0x4a65cd=a0_0x342bd1;return this[_0x4a65cd(0x3c9)][_0x4a65cd(0x37f)]||'';}get[a0_0x342bd1(0x1b2)](){const _0x3141a3=a0_0x342bd1;if(!this[_0x3141a3(0x3c9)][_0x3141a3(0x1b2)])return null;return new DbtableConfig(this['_raw'][_0x3141a3(0x1b2)]);}[a0_0x342bd1(0x304)](){const _0x37baae=a0_0x342bd1;return this[_0x37baae(0x3c9)]['dbtableConfig'];}['getDbName'](){const _0x18adef=a0_0x342bd1;return this['dbtableConfig']?.[_0x18adef(0x406)]||'';}['getTableName'](){const _0x344fdc=a0_0x342bd1;return getTableName(this[_0x344fdc(0x3c9)]);}['getTableKey'](){return getTableKey(this['getTableName']());}[a0_0x342bd1(0x434)](){return generateModelKeyFromCode(this['datasetCode']);}['isVirtualTable'](){const _0x57ba57=a0_0x342bd1;return isVirtualTableName(this[_0x57ba57(0x2a7)]());}[a0_0x342bd1(0x296)](){const _0x39a92d=a0_0x342bd1;return getTableKey(this[_0x39a92d(0x2a7)]());}[a0_0x342bd1(0x1c7)](){const _0x181efd=a0_0x342bd1,_0x438bad=getTableKey(this[_0x181efd(0x2a7)]());return{'key':_0x438bad,'alias':_0x438bad,'tableName':this[_0x181efd(0x2a7)](),'datasetCode':this[_0x181efd(0x37f)],'name':this[_0x181efd(0x351)]};}[a0_0x342bd1(0x463)](){const _0x31797e=a0_0x342bd1,_0x597855={...this['_raw']};return _0x597855[_0x31797e(0x37f)]=this[_0x31797e(0x37f)],_0x597855;}['getRaw'](){const _0x425d42=a0_0x342bd1,_0x3581ab={...this[_0x425d42(0x3c9)]};return _0x3581ab;}[a0_0x342bd1(0x41c)](){const _0x59f03c=a0_0x342bd1,_0x1c362b=this[_0x59f03c(0x1b2)];return _0x1c362b!==null&&_0x1c362b[_0x59f03c(0x3a8)]();}[a0_0x342bd1(0x2da)](_0x1a4173){const _0x583443=a0_0x342bd1;return this[_0x583443(0x3c9)][_0x1a4173];}['hasExtendField'](_0x3ee16e){const _0x108289=a0_0x342bd1;return _0x3ee16e in this[_0x108289(0x3c9)];}[a0_0x342bd1(0x279)](){const _0x6f7c13=a0_0x342bd1;return _0x6f7c13(0x446)+this['name']+',\x20'+this[_0x6f7c13(0x37f)]+')';}}class Operation{[a0_0x342bd1(0x351)];[a0_0x342bd1(0x3c9)];[a0_0x342bd1(0x244)];constructor(_0x2ffcc6,_0x2ac200,_0x1fdaef){const _0x589c99=a0_0x342bd1;this[_0x589c99(0x351)]=_0x2ffcc6,this[_0x589c99(0x3c9)]=_0x2ac200,this[_0x589c99(0x244)]=_0x1fdaef;}[a0_0x342bd1(0x3c3)](){return this['name'];}[a0_0x342bd1(0x26d)](){const _0x8f8b7c=a0_0x342bd1;return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this[_0x8f8b7c(0x351)];}[a0_0x342bd1(0x2a0)](){const _0x1ef496=a0_0x342bd1;return parseOperationType(this[_0x1ef496(0x351)]);}[a0_0x342bd1(0x2f2)](){const _0x4a385f=a0_0x342bd1;return this['_raw']!==null&&this[_0x4a385f(0x3c9)]!==![];}[a0_0x342bd1(0x38b)](){const _0x29d65a=a0_0x342bd1,_0x17d30c=this[_0x29d65a(0x3c9)];if(_0x17d30c===![]||_0x17d30c===null)return'';return _0x17d30c['method']||_0x29d65a(0x2d5);}[a0_0x342bd1(0x3bb)](){const _0x16b215=a0_0x342bd1,_0x177823=this[_0x16b215(0x3c9)];if(_0x177823===![]||_0x177823===null)return'';return _0x177823[_0x16b215(0x361)]||'';}[a0_0x342bd1(0x40f)](){const _0x3f236c=a0_0x342bd1,_0x5f0362=this[_0x3f236c(0x3c9)];let _0x1fe043='';_0x5f0362!==![]&&_0x5f0362!==null&&_0x5f0362[_0x3f236c(0x3d8)]&&(_0x1fe043=_0x5f0362[_0x3f236c(0x3d8)]);const _0x2ebcf1=this[_0x3f236c(0x3bb)]();return _0x1fe043&&_0x2ebcf1?''+_0x1fe043+_0x2ebcf1:_0x2ebcf1;}['parseRawRequestBody'](){const _0x427376=a0_0x342bd1,_0x404a5d=this['_raw'];if(_0x404a5d===![]||_0x404a5d===null||!_0x404a5d[_0x427376(0x31a)])return{};try{return JSON[_0x427376(0x2aa)](_0x404a5d[_0x427376(0x31a)]);}catch{return{};}}[a0_0x342bd1(0x45a)](){const _0x4f8a3e=a0_0x342bd1,_0x284f7f=this[_0x4f8a3e(0x3c9)];if(_0x284f7f===![]||_0x284f7f===null||!_0x284f7f[_0x4f8a3e(0x2a2)])return null;try{return JSON[_0x4f8a3e(0x2aa)](_0x284f7f['responseBody']);}catch{return null;}}[a0_0x342bd1(0x3c0)](){const _0x1c8d36=a0_0x342bd1;return this[_0x1c8d36(0x431)]();}['getResponseSchema'](){return this['parseRawResponseBody']();}['getRequestFields'](){const _0x2dd7e7=a0_0x342bd1,_0x33b7cd=this[_0x2dd7e7(0x3c0)]();return Object[_0x2dd7e7(0x1ea)](_0x33b7cd);}[a0_0x342bd1(0x2c9)](){const _0x86e8ed=a0_0x342bd1,_0x4d6e04=this[_0x86e8ed(0x3c0)](),_0x4f0e3f={};return Object[_0x86e8ed(0x241)](_0x4d6e04)[_0x86e8ed(0x40c)](([_0x1bc9ec,_0x9f3b94])=>{const _0x3357ee=_0x86e8ed,_0x511ce4=_0x9f3b94;_0x4f0e3f[_0x1bc9ec]=generateExampleValue(_0x1bc9ec,_0x511ce4[_0x3357ee(0x399)]||'String',undefined,{'description':_0x511ce4['description']});}),_0x4f0e3f;}[a0_0x342bd1(0x39c)](){const _0x55290b=a0_0x342bd1;return this[_0x55290b(0x2c9)]();}['generateResponseExample'](){const _0x5ec40e=a0_0x342bd1,_0x1b40ff=this[_0x5ec40e(0x45a)]();if(!_0x1b40ff){const _0x3c016e={};return _0x3c016e[_0x5ec40e(0x284)]=!![],_0x3c016e[_0x5ec40e(0x2c4)]='操作成功',_0x3c016e[_0x5ec40e(0x291)]='',_0x3c016e['errorCode']=_0x5ec40e(0x310),_0x3c016e['data']=null,_0x3c016e;}return this['generateFromSchema'](_0x1b40ff);}[a0_0x342bd1(0x379)](_0x139631){const _0x3dd422=a0_0x342bd1;if(!_0x139631||typeof _0x139631!=='object')return{};if(Array[_0x3dd422(0x200)](_0x139631))return _0x139631[_0x3dd422(0x345)]>0x0?[this[_0x3dd422(0x379)](_0x139631[0x0])]:[];const _0x2b770b={};for(const [_0x1d876c,_0x5aa7e5]of Object[_0x3dd422(0x241)](_0x139631)){if(_0x5aa7e5&&typeof _0x5aa7e5===_0x3dd422(0x1eb)&&!Array[_0x3dd422(0x200)](_0x5aa7e5)){const _0x14109a=_0x5aa7e5;_0x2b770b[_0x1d876c]=generateExampleValue(_0x1d876c,_0x14109a[_0x3dd422(0x399)]||_0x3dd422(0x36d),undefined,{'description':_0x14109a[_0x3dd422(0x1ca)]});}else Array[_0x3dd422(0x200)](_0x5aa7e5)?_0x2b770b[_0x1d876c]=_0x5aa7e5[_0x3dd422(0x345)]>0x0?[this[_0x3dd422(0x379)](_0x5aa7e5[0x0])]:[]:_0x2b770b[_0x1d876c]=_0x5aa7e5;}return _0x2b770b;}['generateFieldExample'](_0x52dddf,_0x213564,_0x164839,_0x36549e){return generateExampleValue(_0x52dddf,_0x213564,_0x164839,_0x36549e);}[a0_0x342bd1(0x1b3)](_0x3299f0,_0x1a3da1){const _0x36faa6=a0_0x342bd1,_0x44fad9=this[_0x36faa6(0x3c3)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x3299f0+'.'+_0x44fad9+'();';}[a0_0x342bd1(0x278)](_0x3bf143){const _0x382dc6=a0_0x342bd1,_0x5b2101=this['getName'](),_0x4cf39c=_0x3bf143||_0x382dc6(0x45c),_0x4797af={};return _0x4797af['successCode']='const\x20data\x20=\x20await\x20client.models.'+_0x4cf39c+'.'+_0x5b2101+'();',_0x4797af[_0x382dc6(0x3f3)]=_0x382dc6(0x2e2)+_0x4cf39c+'.'+_0x5b2101+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x4797af;}[a0_0x342bd1(0x21b)](){const _0xc4dbc=a0_0x342bd1,_0x2eb7f5=this[_0xc4dbc(0x3c0)](),_0x109a41=Object[_0xc4dbc(0x241)](_0x2eb7f5)['map'](([_0x4ad462,_0x1787d2])=>{const _0x1e05ee=_0xc4dbc,_0x1466e8=_0x1787d2,_0x1f546b={};return _0x1f546b['name']=_0x4ad462,_0x1f546b[_0x1e05ee(0x399)]=_0x1466e8['type']||_0x1e05ee(0x36d),_0x1f546b['description']=_0x1466e8[_0x1e05ee(0x1ca)]||'-',_0x1f546b['required']=_0x1466e8[_0x1e05ee(0x22c)],_0x1f546b;}),_0xa3967b={};return _0xa3967b[_0xc4dbc(0x2af)]=_0x109a41,_0xa3967b;}[a0_0x342bd1(0x218)](){const _0x501ba9=a0_0x342bd1,_0x23afc6=this[_0x501ba9(0x45a)]();if(!_0x23afc6){const _0x5da78f={};return _0x5da78f[_0x501ba9(0x2af)]=[],_0x5da78f;}const _0x59d436=Object[_0x501ba9(0x241)](_0x23afc6)[_0x501ba9(0x2bc)](([_0x1b4edb,_0x3207ff])=>{const _0x32dea8=_0x501ba9,_0x5013d9=_0x3207ff,_0x250910={};return _0x250910[_0x32dea8(0x351)]=_0x1b4edb,_0x250910[_0x32dea8(0x399)]=_0x5013d9['type']||_0x32dea8(0x36d),_0x250910[_0x32dea8(0x1ca)]=_0x5013d9[_0x32dea8(0x1ca)]||'-',_0x250910;}),_0x86adc9={};return _0x86adc9[_0x501ba9(0x2af)]=_0x59d436,_0x86adc9;}['getSystemFields'](){return[];}['getBusinessFields'](){const _0x1e1741=a0_0x342bd1;return this[_0x1e1741(0x244)][_0x1e1741(0x202)]||[];}['getAllParams'](){const _0x3712a5=a0_0x342bd1;return{'systemFields':this[_0x3712a5(0x374)](),'businessFields':this[_0x3712a5(0x3fd)]()};}[a0_0x342bd1(0x216)](_0x4b1045){const _0x24151d=a0_0x342bd1;return this[_0x24151d(0x244)][_0x24151d(0x202)][_0x24151d(0x396)](_0xf234f2=>_0xf234f2?.[_0x24151d(0x2bd)]===_0x4b1045);}['getFieldCode'](_0x36c477){const _0x56d968=a0_0x342bd1;return _0x36c477[_0x56d968(0x2bd)];}['getFieldType'](_0x5ee4cd){const _0x5974fd=a0_0x342bd1;return _0x5ee4cd[_0x5974fd(0x399)];}[a0_0x342bd1(0x2e1)](_0x1d50c7){return _0x1d50c7['name'];}[a0_0x342bd1(0x423)](_0x4f2f30){const _0x4b354d=a0_0x342bd1;return _0x4f2f30[_0x4b354d(0x1ca)];}[a0_0x342bd1(0x2b1)](_0x59d816){const _0x425253=a0_0x342bd1;return _0x59d816[_0x425253(0x3ad)]()||null;}[a0_0x342bd1(0x34d)](_0x20ff40){return _0x20ff40['isPrimaryKey']();}[a0_0x342bd1(0x46d)](){return[];}[a0_0x342bd1(0x467)](_0xa55c68){return[];}['toJSON'](){const _0xc2b75=a0_0x342bd1;return{'name':this[_0xc2b75(0x3c3)](),'displayName':this[_0xc2b75(0x26d)](),'type':this[_0xc2b75(0x2a0)](),'enabled':this[_0xc2b75(0x2f2)](),'method':this[_0xc2b75(0x38b)](),'path':this['getPath'](),'fullUrl':this[_0xc2b75(0x40f)](),'requestParams':this[_0xc2b75(0x3c0)](),'requestExample':this[_0xc2b75(0x2c9)](),'responseExample':this[_0xc2b75(0x22b)]()};}['toString'](){const _0x56d3ff=a0_0x342bd1,_0x25acdb=this[_0x56d3ff(0x2f2)]()?'启用':'禁用';return this[_0x56d3ff(0x26d)]()+'('+this[_0x56d3ff(0x351)]+',\x20'+_0x25acdb+')';}}class GenericOperation extends Operation{[a0_0x342bd1(0x293)];[a0_0x342bd1(0x3c0)](){const _0x745c72=a0_0x342bd1;return this[_0x745c72(0x431)]();}[a0_0x342bd1(0x450)](){const _0x1b8abe=a0_0x342bd1;return this[_0x1b8abe(0x45a)]();}[a0_0x342bd1(0x2c9)](){const _0x240558=a0_0x342bd1;if(this['_requestExampleCache'])return this[_0x240558(0x293)];const _0xc270b0={},_0x116ced=this['getRequestParams'](),_0x32d1a2=this[_0x240558(0x2a0)]();if(Object[_0x240558(0x1ea)](_0x116ced)['length']===0x0&&_0x32d1a2){const _0x2bf272=this['getBusinessFields']();return _0x2bf272['forEach'](_0x3ccccd=>{const _0x133986=_0x240558,_0x36e378=_0x3ccccd[_0x133986(0x2bd)],_0x4b4647=_0x3ccccd['type'],_0x45be5a=this[_0x133986(0x371)](_0x36e378,_0x4b4647,_0x3ccccd['getDbTypeForOperation'](),{'isPrimaryKey':_0x3ccccd[_0x133986(0x353)](),'description':_0x3ccccd[_0x133986(0x1ca)]||_0x3ccccd['name']});_0xc270b0[_0x36e378]=_0x45be5a;}),this[_0x240558(0x293)]=_0xc270b0,_0xc270b0;}return Object['entries'](_0x116ced)['forEach'](([_0x227b47,_0x4d9a3d])=>{const _0x77daf9=_0x240558,_0x2ace1f=_0x4d9a3d;let _0x354e8a;if(typeof _0x2ace1f[_0x77daf9(0x399)]===_0x77daf9(0x3d2))_0x354e8a=_0x2ace1f['type'];else _0x2ace1f[_0x77daf9(0x399)]&&typeof _0x2ace1f[_0x77daf9(0x399)]==='object'?_0x354e8a=_0x2ace1f[_0x77daf9(0x399)][_0x77daf9(0x399)]||_0x77daf9(0x2f1):_0x354e8a=_0x77daf9(0x2f1);const _0x22b900=_0x2ace1f['description'],_0x2b9981=this[_0x77daf9(0x216)](_0x227b47);if(_0x227b47===_0x77daf9(0x401))_0xc270b0[_0x227b47]=0x1;else{if(_0x227b47===_0x77daf9(0x3ac))_0xc270b0[_0x227b47]=0xa;else{if(_0x227b47==='id')_0xc270b0[_0x227b47]=0x1;else{const _0x456239=_0x2b9981?_0x2b9981[_0x77daf9(0x31d)]():undefined,_0x18cbab=_0x2b9981?_0x2b9981['description']:undefined,_0x4274c6=_0x2b9981?_0x2b9981[_0x77daf9(0x351)]:undefined;_0xc270b0[_0x227b47]=this[_0x77daf9(0x371)](_0x227b47,_0x354e8a,_0x456239||undefined,{'isPrimaryKey':_0x227b47===this[_0x77daf9(0x244)][_0x77daf9(0x2ab)]||_0x227b47==='id','description':_0x22b900||_0x18cbab||_0x4274c6});}}}}),this[_0x240558(0x293)]=_0xc270b0,_0xc270b0;}['generateResponseExample'](){const _0x309e77=a0_0x342bd1,_0x2051a7=this[_0x309e77(0x450)]();if(!_0x2051a7){const _0x282409={};return _0x282409['success']=!![],_0x282409[_0x309e77(0x2c4)]=_0x309e77(0x370),_0x282409[_0x309e77(0x291)]='',_0x282409[_0x309e77(0x3f3)]='0000',_0x282409[_0x309e77(0x24c)]=null,_0x282409;}return this[_0x309e77(0x379)](_0x2051a7);}[a0_0x342bd1(0x379)](_0x3afe93){const _0x5bbbfe=a0_0x342bd1;if(!_0x3afe93||typeof _0x3afe93!==_0x5bbbfe(0x1eb))return{};if(Array[_0x5bbbfe(0x200)](_0x3afe93)){if(_0x3afe93['length']>0x0)return[this['generateFromSchema'](_0x3afe93[0x0])];return[];}const _0x2bd220={};return Object['keys'](_0x3afe93)[_0x5bbbfe(0x40c)](_0x2d5289=>{const _0x1ed4ae=_0x5bbbfe,_0x540be0=_0x3afe93[_0x2d5289];if(_0x540be0&&typeof _0x540be0===_0x1ed4ae(0x1eb)&&!Array['isArray'](_0x540be0)&&_0x540be0[_0x1ed4ae(0x399)]){const _0x481a8a=_0x540be0;let _0x855399;if(typeof _0x481a8a[_0x1ed4ae(0x399)]===_0x1ed4ae(0x3d2))_0x855399=_0x481a8a[_0x1ed4ae(0x399)];else _0x481a8a[_0x1ed4ae(0x399)]&&typeof _0x481a8a['type']==='object'?_0x855399=_0x481a8a[_0x1ed4ae(0x399)]['type']||_0x1ed4ae(0x2f1):_0x855399=_0x1ed4ae(0x2f1);const _0x3d167c=_0x481a8a[_0x1ed4ae(0x1ca)],_0x1e6644={};_0x1e6644['description']=_0x3d167c,_0x2bd220[_0x2d5289]=this[_0x1ed4ae(0x371)](_0x2d5289,_0x855399,undefined,_0x1e6644);}else{if(Array['isArray'](_0x540be0))_0x2bd220[_0x2d5289]=_0x540be0[_0x1ed4ae(0x345)]>0x0?[this[_0x1ed4ae(0x379)](_0x540be0[0x0])]:[];else _0x540be0&&typeof _0x540be0==='object'?_0x2bd220[_0x2d5289]=this[_0x1ed4ae(0x379)](_0x540be0):_0x2bd220[_0x2d5289]=_0x540be0;}}),_0x2bd220;}[a0_0x342bd1(0x1b3)](_0x5aaa9d,_0x2c277e){const _0x4a937f=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2c277e||{},_0x145fe9=this[_0x4a937f(0x3c3)](),_0x1ba940=this[_0x4a937f(0x2a0)](),_0x229c43=this['getRequestFields'](),_0x16130b=this[_0x4a937f(0x2c9)](),_0x2b6eb1=_0x48e3e9=>{const _0x243850=_0x4a937f;if(Object['keys'](_0x48e3e9)['length']===0x0)return'{}';const _0x1b40dc=JSON['stringify'](_0x48e3e9,null,0x2)[_0x243850(0x257)]('\x0a')['map']((_0x4f97b6,_0x4d9c0c)=>_0x4d9c0c===0x0?_0x4f97b6:indent+_0x4f97b6)[_0x243850(0x314)]('\x0a');return _0x1b40dc;};switch(_0x1ba940){case _0x4a937f(0x3cb):case _0x4a937f(0x305):return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x3fb);case _0x4a937f(0x1dd):if(useFullExample&&Object['keys'](_0x16130b)[_0x4a937f(0x345)]>0x0)return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x448)+_0x2b6eb1(_0x16130b)+');';return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+'(id,\x20data);';case'create':case _0x4a937f(0x3c5):case _0x4a937f(0x205):default:if(_0x229c43[_0x4a937f(0x345)]>0x0){if(useFullExample&&Object[_0x4a937f(0x1ea)](_0x16130b)[_0x4a937f(0x345)]>0x0)return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+'('+_0x2b6eb1(_0x16130b)+');';else{const _0x4801eb=Object['keys'](_0x16130b);if(_0x4801eb[_0x4a937f(0x345)]>0x0){const _0x5ae919=_0x4801eb[_0x4a937f(0x3eb)](0x0,0x2)[_0x4a937f(0x314)](',\x20');return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x2d2)+_0x5ae919+_0x4a937f(0x3e4);}else return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x298);}}else return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x36f);}}['generateRequestAllExamples'](){const _0x4805be=a0_0x342bd1;return[{'title':_0x4805be(0x1f3),'data':this[_0x4805be(0x2c9)]()}];}[a0_0x342bd1(0x374)](){const _0x1bb8e7=a0_0x342bd1,_0x7a773f=this[_0x1bb8e7(0x2a0)](),_0x299ccf=[];switch(_0x7a773f){case _0x1bb8e7(0x3cb):case _0x1bb8e7(0x305):const _0x471b4b={};_0x471b4b[_0x1bb8e7(0x2bd)]='id',_0x471b4b[_0x1bb8e7(0x399)]=_0x1bb8e7(0x42e),_0x471b4b[_0x1bb8e7(0x1ca)]='主键ID',_0x299ccf[_0x1bb8e7(0x37b)](_0x471b4b);break;case'getList':const _0x2f0afa={};_0x2f0afa[_0x1bb8e7(0x2bd)]=_0x1bb8e7(0x401),_0x2f0afa[_0x1bb8e7(0x399)]=_0x1bb8e7(0x42e),_0x2f0afa[_0x1bb8e7(0x1ca)]='当前页码';const _0x2246cd={};_0x2246cd['code']=_0x1bb8e7(0x3ac),_0x2246cd[_0x1bb8e7(0x399)]=_0x1bb8e7(0x42e),_0x2246cd[_0x1bb8e7(0x1ca)]=_0x1bb8e7(0x3a3),_0x299ccf['push'](_0x2f0afa,_0x2246cd);break;case _0x1bb8e7(0x205):const _0x3a0ad2={};_0x3a0ad2[_0x1bb8e7(0x2bd)]=_0x1bb8e7(0x2bd),_0x3a0ad2[_0x1bb8e7(0x399)]=_0x1bb8e7(0x388),_0x3a0ad2[_0x1bb8e7(0x1ca)]=_0x1bb8e7(0x2e6),_0x299ccf['push'](_0x3a0ad2);break;default:break;}return _0x299ccf;}[a0_0x342bd1(0x3fd)](){const _0x49a398=a0_0x342bd1,_0x2da76d=this[_0x49a398(0x2a0)](),_0x4e980a=this['context'][_0x49a398(0x202)]||[];switch(_0x2da76d){case _0x49a398(0x3cb):case _0x49a398(0x305):return[];case _0x49a398(0x34f):return _0x4e980a[_0x49a398(0x282)](_0x25ef3e=>{const _0x40f0a5=_0x49a398;if(_0x25ef3e['deleted'])return![];if(_0x25ef3e['isPrimaryKey']()&&_0x25ef3e[_0x40f0a5(0x31c)]())return![];if(_0x25ef3e[_0x40f0a5(0x270)]())return![];if(_0x25ef3e[_0x40f0a5(0x276)]()||_0x25ef3e[_0x40f0a5(0x402)]())return![];return!![];});case'update':return _0x4e980a[_0x49a398(0x282)](_0x31e0c6=>{const _0x3caf1b=_0x49a398;if(_0x31e0c6[_0x3caf1b(0x331)])return![];if(_0x31e0c6[_0x3caf1b(0x353)]())return![];if(_0x31e0c6[_0x3caf1b(0x270)]())return![];if(_0x31e0c6[_0x3caf1b(0x276)]()||_0x31e0c6[_0x3caf1b(0x402)]())return![];if(_0x31e0c6[_0x3caf1b(0x31c)]())return![];return!![];});case'getList':case'getSelectOptions':return _0x4e980a['filter'](_0x12bddd=>!_0x12bddd[_0x49a398(0x331)]&&_0x12bddd['isBusiness']());default:return _0x4e980a[_0x49a398(0x282)](_0x2459ca=>!_0x2459ca[_0x49a398(0x331)]&&_0x2459ca['isBusiness']());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x342bd1(0x3c0)](){const _0x308b0e=a0_0x342bd1,_0x2e87fa=super[_0x308b0e(0x3c0)](),_0x3e71e7=Object[_0x308b0e(0x1ea)](_0x2e87fa);if(_0x3e71e7[_0x308b0e(0x345)]===0x0||_0x3e71e7['length']===0x1&&_0x3e71e7[0x0]===_0x308b0e(0x2bd)){if(!_0x2e87fa['code']){const _0x492558={};_0x492558[_0x308b0e(0x399)]='String',_0x492558['description']=_0x308b0e(0x445),_0x2e87fa[_0x308b0e(0x2bd)]=_0x492558;}const _0x2a16cb={};_0x2a16cb[_0x308b0e(0x399)]=_0x308b0e(0x36d),_0x2a16cb[_0x308b0e(0x1ca)]=_0x308b0e(0x2ed),_0x2e87fa[_0x308b0e(0x469)]=_0x2a16cb;}return _0x2e87fa;}[a0_0x342bd1(0x3fd)](){return[];}[a0_0x342bd1(0x374)](){const _0x49eb3d=a0_0x342bd1,_0x15b0a0={};_0x15b0a0[_0x49eb3d(0x2bd)]='code',_0x15b0a0[_0x49eb3d(0x399)]=_0x49eb3d(0x36d),_0x15b0a0[_0x49eb3d(0x1ca)]=_0x49eb3d(0x445);const _0xd30341={};return _0xd30341[_0x49eb3d(0x2bd)]=_0x49eb3d(0x469),_0xd30341[_0x49eb3d(0x399)]='String',_0xd30341[_0x49eb3d(0x1ca)]=_0x49eb3d(0x2ed),[_0x15b0a0,_0xd30341];}[a0_0x342bd1(0x2c9)](){const _0x54077a=a0_0x342bd1,_0xf12e12={};return _0xf12e12[_0x54077a(0x2bd)]=_0x54077a(0x31f),_0xf12e12[_0x54077a(0x469)]='field_name',_0xf12e12;}['generateSDKCallCode'](_0x46d8fa){const _0x1fd10c=a0_0x342bd1,_0x2233a8=this['getName']();return _0x1fd10c(0x20f)+_0x46d8fa+'.'+_0x2233a8+_0x1fd10c(0x225);}}class GetListOperation extends GenericOperation{[a0_0x342bd1(0x3c0)](){const _0xe54ec9=a0_0x342bd1,_0x5979d3=super[_0xe54ec9(0x3c0)](),{currentPage:_0xb6bf9a,pageSize:_0x3319da,..._0x3037b4}=_0x5979d3,_0x26ce9f={};Object[_0xe54ec9(0x241)](_0x3037b4)[_0xe54ec9(0x40c)](([_0x1f2719,_0x142c85])=>{const _0x1eb2cb=_0xe54ec9;if(typeof _0x142c85===_0x1eb2cb(0x1eb)&&_0x142c85!==null){const _0x4551bf=_0x142c85,_0x49664d=_0x4551bf['description']||'',_0x4b3364={..._0x4551bf};_0x4b3364[_0x1eb2cb(0x1ca)]=_0x49664d?_0x49664d+_0x1eb2cb(0x44e):_0x1eb2cb(0x3f6),_0x26ce9f[_0x1f2719]=_0x4b3364;}else _0x26ce9f[_0x1f2719]=_0x142c85;});const _0x5c0643={...typeof _0xb6bf9a===_0xe54ec9(0x1eb)?_0xb6bf9a:{}};_0x5c0643[_0xe54ec9(0x399)]=_0xe54ec9(0x464),_0x5c0643['description']=_0xe54ec9(0x239);const _0x3867b7={...typeof _0x3319da==='object'?_0x3319da:{}};_0x3867b7[_0xe54ec9(0x399)]=_0xe54ec9(0x464),_0x3867b7[_0xe54ec9(0x1ca)]=_0xe54ec9(0x1db);const _0x3b03f7={..._0x26ce9f};return _0x3b03f7[_0xe54ec9(0x401)]=_0x5c0643,_0x3b03f7['pageSize']=_0x3867b7,_0x3b03f7;}['generateRequestExample'](_0x1966f7){const _0x25bc23=a0_0x342bd1,{useArrayValues:useArrayValues=!![]}=_0x1966f7||{},_0x58b64c=super[_0x25bc23(0x2c9)](),{currentPage:_0x315770,pageSize:_0x50b177,..._0x3e4cf6}=_0x58b64c;if(!useArrayValues){const _0x283243={..._0x3e4cf6};return _0x283243[_0x25bc23(0x401)]=_0x315770??0x1,_0x283243[_0x25bc23(0x3ac)]=_0x50b177??0xa,_0x283243;}const _0x3443d0={},_0xf967e8=['id',_0x25bc23(0x1e2),'code',_0x25bc23(0x399)];Object[_0x25bc23(0x241)](_0x3e4cf6)['forEach'](([_0x15a762,_0x1831cd],_0x40bfe3)=>{const _0x4c3f8f=_0x25bc23,_0x2f83a3=_0xf967e8[_0x4c3f8f(0x2a9)](_0x4c6d0d=>_0x15a762[_0x4c3f8f(0x2fc)]()[_0x4c3f8f(0x461)](_0x4c6d0d))||_0x40bfe3%0x3===0x0;if(_0x2f83a3&&_0x1831cd!==null&&_0x1831cd!==undefined){if(typeof _0x1831cd===_0x4c3f8f(0x44b))_0x3443d0[_0x15a762]=[_0x1831cd,_0x1831cd+0x1,_0x1831cd+0x2];else typeof _0x1831cd===_0x4c3f8f(0x3d2)?_0x3443d0[_0x15a762]=[_0x1831cd,_0x1831cd+'_2',_0x1831cd+'_3']:_0x3443d0[_0x15a762]=[_0x1831cd];}else _0x3443d0[_0x15a762]=_0x1831cd;});const _0x5c96a4={..._0x3443d0};return _0x5c96a4[_0x25bc23(0x401)]=_0x315770??0x1,_0x5c96a4['pageSize']=_0x50b177??0xa,_0x5c96a4;}[a0_0x342bd1(0x26f)](){const _0x4c54ce={};return _0x4c54ce['useArrayValues']=![],this['generateRequestExample'](_0x4c54ce);}[a0_0x342bd1(0x28e)](){const _0x39780a=a0_0x342bd1;return[{'title':_0x39780a(0x2a6),'description':_0x39780a(0x453),'data':this[_0x39780a(0x26f)]()},{'title':_0x39780a(0x283),'description':_0x39780a(0x260),'data':this['generateRequestExample']()}];}[a0_0x342bd1(0x1b3)](_0x324130,_0x1e4f80){const _0x26688e=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1e4f80||{},_0x4c7a4d=this[_0x26688e(0x3c3)](),_0x517305={};_0x517305['useArrayValues']=!![];const _0x56f81b=this[_0x26688e(0x2c9)](_0x517305),{currentPage:_0x574920,pageSize:_0x4dd292,..._0x1777df}=_0x56f81b;if(useFullExample&&Object[_0x26688e(0x1ea)](_0x56f81b)['length']>0x0){const _0x491441=Object['keys'](_0x1777df)[_0x26688e(0x345)]>0x0;if(_0x491441){const _0x554c61=this[_0x26688e(0x26f)](),_0xc62ed9=_0x3a9d78=>{const _0x488d60=_0x26688e;return JSON['stringify'](_0x3a9d78,null,0x2)[_0x488d60(0x257)]('\x0a')[_0x488d60(0x2bc)]((_0xa5e705,_0x28d9a6)=>_0x28d9a6===0x0?_0xa5e705:indent+_0xa5e705)['join']('\x0a');};return _0x26688e(0x1b4)+_0x324130+'.'+_0x4c7a4d+'('+_0xc62ed9(_0x554c61)+_0x26688e(0x2f9)+_0x324130+'.'+_0x4c7a4d+'('+_0xc62ed9(_0x56f81b)+');';}else{const _0x57ac48=JSON[_0x26688e(0x301)](_0x56f81b,null,0x2)['split']('\x0a')[_0x26688e(0x2bc)]((_0x3ed998,_0x463d91)=>_0x463d91===0x0?_0x3ed998:indent+_0x3ed998)[_0x26688e(0x314)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x324130+'.'+_0x4c7a4d+'('+_0x57ac48+');';}}if(Object[_0x26688e(0x1ea)](_0x1777df)[_0x26688e(0x345)]>0x0){const _0x1c0bf2=Object[_0x26688e(0x1ea)](_0x1777df)[0x0];return _0x26688e(0x20f)+_0x324130+'.'+_0x4c7a4d+_0x26688e(0x2d2)+_0x1c0bf2+_0x26688e(0x3c6);}return _0x26688e(0x20f)+_0x324130+'.'+_0x4c7a4d+_0x26688e(0x29b);}}var AGGREGATE_FUNCTIONS=[a0_0x342bd1(0x32a),a0_0x342bd1(0x3b3),a0_0x342bd1(0x32f),'max','min'],FILTER_OPERATORS=[a0_0x342bd1(0x1e5),'$ne',a0_0x342bd1(0x2be),a0_0x342bd1(0x2a4),a0_0x342bd1(0x380),'$lteq',a0_0x342bd1(0x46a),a0_0x342bd1(0x313),a0_0x342bd1(0x3e7),a0_0x342bd1(0x1c1),a0_0x342bd1(0x2b7),a0_0x342bd1(0x1d1)];class FilterOperation extends GenericOperation{constructor(_0x50d0f5,_0x55ae98,_0x3fea8b){super(_0x50d0f5,_0x55ae98,_0x3fea8b);}['getOperators'](){return FILTER_OPERATORS;}['getFieldOperators'](_0x4a595c){const _0x2a37b5=a0_0x342bd1,_0x2e0d72=this[_0x2a37b5(0x216)](_0x4a595c);if(!_0x2e0d72)return[];return this[_0x2a37b5(0x2c8)](_0x2e0d72);}['getRequestParams'](){const _0x10ad7b=a0_0x342bd1,_0x4e7bce=super['getRequestParams'](),_0xa8caab={};_0xa8caab[_0x10ad7b(0x399)]=_0x10ad7b(0x3ba),_0xa8caab[_0x10ad7b(0x1ca)]='查询条件(支持\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)',_0xa8caab[_0x10ad7b(0x22c)]=![];const _0x49acda={};_0x49acda[_0x10ad7b(0x399)]=_0x10ad7b(0x1ee),_0x49acda['description']=_0x10ad7b(0x30d),_0x49acda[_0x10ad7b(0x22c)]=![];const _0x4d25bc={};_0x4d25bc[_0x10ad7b(0x399)]=_0x10ad7b(0x1c6),_0x4d25bc[_0x10ad7b(0x1ca)]=_0x10ad7b(0x3de),_0x4d25bc[_0x10ad7b(0x22c)]=![];const _0x69d45a={};_0x69d45a['type']='Number',_0x69d45a[_0x10ad7b(0x1ca)]=_0x10ad7b(0x239),_0x69d45a[_0x10ad7b(0x22c)]=![],_0x69d45a[_0x10ad7b(0x348)]=0x1;const _0x45cf47={};_0x45cf47[_0x10ad7b(0x399)]=_0x10ad7b(0x464),_0x45cf47[_0x10ad7b(0x1ca)]='每页数量',_0x45cf47[_0x10ad7b(0x22c)]=![],_0x45cf47['default']=0xa;const _0x4898a0={..._0x4e7bce};return _0x4898a0['where']=_0xa8caab,_0x4898a0['select']=_0x49acda,_0x4898a0[_0x10ad7b(0x1f5)]=_0x4d25bc,_0x4898a0[_0x10ad7b(0x401)]=_0x69d45a,_0x4898a0[_0x10ad7b(0x3ac)]=_0x45cf47,_0x4898a0;}['getSystemFields'](){const _0x3443ed=a0_0x342bd1,_0x531222=this[_0x3443ed(0x3c0)](),_0x5b1715=[],_0x3707a2=['where',_0x3443ed(0x438),'orderBy',_0x3443ed(0x401),_0x3443ed(0x3ac)];return Object[_0x3443ed(0x241)](_0x531222)[_0x3443ed(0x40c)](([_0x162303,_0x57c496])=>{const _0x83eff2=_0x3443ed;if(_0x3707a2[_0x83eff2(0x461)](_0x162303)){const _0x3758eb=_0x57c496,_0xf4024a={};_0xf4024a[_0x83eff2(0x2bd)]=_0x162303,_0xf4024a[_0x83eff2(0x399)]=_0x3758eb[_0x83eff2(0x399)]||_0x83eff2(0x3ba),_0xf4024a[_0x83eff2(0x1ca)]=_0x3758eb['description']||'-',_0x5b1715[_0x83eff2(0x37b)](_0xf4024a);}}),_0x5b1715;}[a0_0x342bd1(0x3fd)](){const _0x5979f6=a0_0x342bd1;return this[_0x5979f6(0x244)][_0x5979f6(0x202)]||[];}[a0_0x342bd1(0x285)](){const _0x1c4399=a0_0x342bd1;return{'systemParams':this[_0x1c4399(0x374)](),'businessFields':this['getBusinessFields']()};}[a0_0x342bd1(0x2c9)](){const _0x354ead=a0_0x342bd1,_0x6de9fe=this[_0x354ead(0x244)][_0x354ead(0x202)]||[];if(_0x6de9fe[_0x354ead(0x345)]===0x0){const _0x3e763f={};return _0x3e763f['where']={},_0x3e763f[_0x354ead(0x401)]=0x1,_0x3e763f[_0x354ead(0x3ac)]=0x14,_0x3e763f;}const _0x1b1b7f={},_0x39ac4a=_0x6de9fe[_0x354ead(0x3eb)](0x0,Math['min'](0x3,_0x6de9fe[_0x354ead(0x345)]));_0x39ac4a[_0x354ead(0x40c)](_0x4ef14c=>{const _0x3ebb1c=_0x354ead,_0x3fc94a=this[_0x3ebb1c(0x2c8)](_0x4ef14c);if(_0x3fc94a[_0x3ebb1c(0x345)]===0x0)return;const _0x1a5cc6=this['selectBestOperator'](_0x4ef14c,_0x3fc94a),_0xbd9786=this[_0x3ebb1c(0x2fd)](_0x4ef14c,_0x1a5cc6),_0x3a27c7={};_0x3a27c7[_0x1a5cc6]=_0xbd9786,_0x1b1b7f[_0x4ef14c[_0x3ebb1c(0x2bd)]]=_0x3a27c7;});const _0x499534=_0x6de9fe[_0x354ead(0x3eb)](0x0,Math[_0x354ead(0x1e8)](0x5,_0x6de9fe[_0x354ead(0x345)]))[_0x354ead(0x2bc)](_0xe1cfdd=>_0xe1cfdd[_0x354ead(0x2bd)]),_0x5116b5=_0x6de9fe[0x0]?_0x6de9fe[0x0]['code']:'id',_0x556dbd={};_0x556dbd[_0x5116b5]='DESC';const _0x183d95={};return _0x183d95['where']=_0x1b1b7f,_0x183d95[_0x354ead(0x438)]=_0x499534,_0x183d95[_0x354ead(0x1f5)]=[_0x556dbd],_0x183d95[_0x354ead(0x401)]=0x1,_0x183d95[_0x354ead(0x3ac)]=0x14,_0x183d95;}[a0_0x342bd1(0x1b3)](_0x2c23a7,_0x5e5f3b){const _0xc16af=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5e5f3b||{},_0x2d6761=this['getName'](),_0x128305=this[_0xc16af(0x2c9)](),_0x4288f6=_0x57a6be=>{const _0x501294=_0xc16af;return JSON[_0x501294(0x301)](_0x57a6be,null,0x2)[_0x501294(0x257)]('\x0a')['map']((_0x450228,_0x335299)=>_0x335299===0x0?_0x450228:indent+_0x450228)['join']('\x0a');};if(useFullExample){const _0x57c0a5=this[_0xc16af(0x244)]['fields']||[],_0x3f1b99={'where':_0x57c0a5[0x0]?{[_0x57c0a5[0x0]['code']]:{'$eq':this['generateExampleValue'](_0x57c0a5[0x0],_0xc16af(0x1e5))}}:{},'select':_0x57c0a5['slice'](0x0,0x3)['map'](_0x43bf57=>_0x43bf57[_0xc16af(0x2bd)]),'currentPage':0x1,'pageSize':0x14};let _0x3918dd='';if(_0x57c0a5['length']>=0x3){const _0x124f73={};_0x124f73[_0xc16af(0x2b7)]=[];const _0x478feb=_0x124f73,_0x268251=[];if(_0x57c0a5['length']>0x0){const _0x2e32b5=_0x57c0a5[_0xc16af(0x396)](_0x475173=>{const _0x54cec7=_0xc16af,_0x49c758=_0x475173[_0x54cec7(0x31d)]();return[_0x54cec7(0x42e),_0x54cec7(0x232),_0x54cec7(0x39a),_0x54cec7(0x336),'TINYINT',_0x54cec7(0x2d9)]['includes'](_0x49c758);});if(_0x2e32b5){const _0x4fb8a6={};_0x4fb8a6[_0xc16af(0x2be)]=0x0,_0x4fb8a6[_0xc16af(0x380)]=0x64;const _0x5ba3be={[_0x2e32b5[_0xc16af(0x2bd)]]:_0x4fb8a6};_0x268251[_0xc16af(0x37b)](_0x5ba3be);}}if(_0x57c0a5['length']>0x1){const _0x5bd6ea=_0x57c0a5[_0xc16af(0x396)](_0x42ff3a=>{const _0x654a38=_0xc16af,_0x4fe708=_0x42ff3a[_0x654a38(0x31d)]();return[_0x654a38(0x388),'TEXT',_0x654a38(0x355),_0x654a38(0x407),_0x654a38(0x387)]['includes'](_0x4fe708);});if(_0x5bd6ea){const _0x249d2c={};_0x249d2c['$contain']=_0xc16af(0x426);const _0x336734={[_0x5bd6ea[_0xc16af(0x2bd)]]:_0x249d2c};_0x268251[_0xc16af(0x37b)](_0x336734);}}if(_0x268251[_0xc16af(0x345)]>0x0){_0x478feb[_0xc16af(0x2b7)]=_0x268251;const _0x3134cb={'where':_0x478feb,'select':_0x57c0a5[_0xc16af(0x3eb)](0x0,0x4)[_0xc16af(0x2bc)](_0x11c016=>_0x11c016['code']),'orderBy':[{[_0x57c0a5[0x0][_0xc16af(0x2bd)]]:_0xc16af(0x316)}],'currentPage':0x1,'pageSize':0x14};_0x3918dd=_0xc16af(0x38c)+_0x2c23a7+'.'+_0x2d6761+'('+_0x4288f6(_0x3134cb)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x2c23a7+'.'+_0x2d6761+'('+_0x4288f6(_0x3f1b99)+');'+_0x3918dd;}const _0x4f2829=JSON[_0xc16af(0x301)](_0x128305,null,0x2)[_0xc16af(0x257)]('\x0a')['map']((_0x44a04e,_0x4011a1)=>_0x4011a1===0x0?_0x44a04e:indent+_0x44a04e)[_0xc16af(0x314)]('\x0a');return _0xc16af(0x20f)+_0x2c23a7+'.'+_0x2d6761+'('+_0x4f2829+');';}[a0_0x342bd1(0x2c8)](_0x2fb29a){const _0x492e24=a0_0x342bd1,_0x5449a0=_0x2fb29a[_0x492e24(0x31d)](),_0x5274fc=[];if([_0x492e24(0x42e),_0x492e24(0x232),_0x492e24(0x39a),_0x492e24(0x349)][_0x492e24(0x461)](_0x5449a0)||[_0x492e24(0x336),'TINYINT',_0x492e24(0x2d9),'DOUBLE',_0x492e24(0x44a)]['includes'](_0x5449a0))_0x5274fc[_0x492e24(0x37b)]('$eq',_0x492e24(0x428),_0x492e24(0x2be),_0x492e24(0x380),_0x492e24(0x2a4),_0x492e24(0x35d),_0x492e24(0x46a));else{if([_0x492e24(0x388),'TEXT',_0x492e24(0x355)][_0x492e24(0x461)](_0x5449a0)||[_0x492e24(0x407),_0x492e24(0x387)][_0x492e24(0x461)](_0x5449a0))_0x5274fc[_0x492e24(0x37b)](_0x492e24(0x1e5),_0x492e24(0x428),_0x492e24(0x46a),_0x492e24(0x313),_0x492e24(0x3e7),_0x492e24(0x1c1));else{if([_0x492e24(0x3db),'DATETIME',_0x492e24(0x1da)][_0x492e24(0x461)](_0x5449a0)||[_0x492e24(0x1c4)][_0x492e24(0x461)](_0x5449a0))_0x5274fc['push'](_0x492e24(0x1e5),'$ne','$gte',_0x492e24(0x380),'$gteq',_0x492e24(0x35d));else['BOOLEAN',_0x492e24(0x43a),_0x492e24(0x37d)][_0x492e24(0x461)](_0x5449a0)?_0x5274fc['push'](_0x492e24(0x1e5),_0x492e24(0x428)):_0x5274fc['push']('$eq',_0x492e24(0x428));}}return _0x5274fc;}['selectBestOperator'](_0x2be9a8,_0x23102b){const _0x1b6e65=a0_0x342bd1,_0x131627=_0x2be9a8[_0x1b6e65(0x31d)]();if([_0x1b6e65(0x42e),_0x1b6e65(0x232),_0x1b6e65(0x39a),'DECIMAL'][_0x1b6e65(0x461)](_0x131627)||[_0x1b6e65(0x336),_0x1b6e65(0x2d7),_0x1b6e65(0x2d9),_0x1b6e65(0x21d),'FLOAT'][_0x1b6e65(0x461)](_0x131627))return _0x23102b[_0x1b6e65(0x461)](_0x1b6e65(0x2be))?_0x1b6e65(0x2be):_0x1b6e65(0x1e5);if([_0x1b6e65(0x388),_0x1b6e65(0x2f1),_0x1b6e65(0x355)][_0x1b6e65(0x461)](_0x131627)||[_0x1b6e65(0x407),_0x1b6e65(0x387)][_0x1b6e65(0x461)](_0x131627))return _0x23102b[_0x1b6e65(0x461)](_0x1b6e65(0x313))?_0x1b6e65(0x313):_0x1b6e65(0x1e5);if([_0x1b6e65(0x3db),'DATETIME','TIMESTAMP','TIME'][_0x1b6e65(0x461)](_0x131627))return _0x23102b['includes'](_0x1b6e65(0x2be))?_0x1b6e65(0x2be):'$eq';return _0x1b6e65(0x1e5);}[a0_0x342bd1(0x2fd)](_0x1398bb,_0xbdc69){const _0x15b01d=a0_0x342bd1,_0x25e4d4=_0x1398bb[_0x15b01d(0x31d)](),_0x1dd8fb=_0x1398bb['getEnumOptions']();if(_0x1dd8fb&&_0x1dd8fb[_0x15b01d(0x345)]>0x0){if(_0xbdc69===_0x15b01d(0x46a))return _0x1dd8fb['slice'](0x0,0x2)[_0x15b01d(0x2bc)](_0x2a66fa=>_0x2a66fa[_0x15b01d(0x3d9)]);return _0x1dd8fb[0x0][_0x15b01d(0x3d9)];}if(['NUMBER',_0x15b01d(0x232),_0x15b01d(0x39a),_0x15b01d(0x349)][_0x15b01d(0x461)](_0x25e4d4)||[_0x15b01d(0x336),'TINYINT',_0x15b01d(0x2d9),'DOUBLE','FLOAT'][_0x15b01d(0x461)](_0x25e4d4)){if(_0xbdc69==='$in')return[0x1,0x2,0x3];if(_0xbdc69===_0x15b01d(0x2be)||_0xbdc69===_0x15b01d(0x2a4))return 0x0;if(_0xbdc69===_0x15b01d(0x380)||_0xbdc69===_0x15b01d(0x35d))return 0x64;return 0x1;}if([_0x15b01d(0x388),'TEXT','VARCHAR'][_0x15b01d(0x461)](_0x25e4d4)||[_0x15b01d(0x407),'LONGTEXT'][_0x15b01d(0x461)](_0x25e4d4)){if(_0xbdc69===_0x15b01d(0x46a))return[_0x15b01d(0x229),'value2'];if(_0xbdc69===_0x15b01d(0x313))return'keyword';if(_0xbdc69===_0x15b01d(0x3e7))return _0x15b01d(0x1ba);if(_0xbdc69===_0x15b01d(0x1c1))return _0x15b01d(0x369);return _0x15b01d(0x3d9);}if([_0x15b01d(0x3db),_0x15b01d(0x302),'TIMESTAMP',_0x15b01d(0x1c4)][_0x15b01d(0x461)](_0x25e4d4)){if(_0xbdc69===_0x15b01d(0x2be)||_0xbdc69===_0x15b01d(0x2a4))return _0x15b01d(0x308);if(_0xbdc69==='$lte'||_0xbdc69===_0x15b01d(0x35d))return _0x15b01d(0x3cc);return _0x15b01d(0x308);}if(['BOOLEAN',_0x15b01d(0x43a),_0x15b01d(0x37d)][_0x15b01d(0x461)](_0x25e4d4))return!![];return _0xbdc69==='$in'?[_0x15b01d(0x229),'value2']:_0x15b01d(0x3d9);}[a0_0x342bd1(0x21b)](){const _0x5d2016=a0_0x342bd1,_0x2b81c6=super[_0x5d2016(0x3c0)](),_0x4ccc58=Object[_0x5d2016(0x241)](_0x2b81c6)[_0x5d2016(0x282)](([_0x41ddc0])=>_0x41ddc0!==_0x5d2016(0x401)&&_0x41ddc0!==_0x5d2016(0x3ac))['map'](([_0x81f1c2,_0x531b70])=>{const _0x20b5d6=_0x5d2016,_0xd6322d=_0x531b70,_0x352dc2={};return _0x352dc2[_0x20b5d6(0x351)]=_0x81f1c2,_0x352dc2[_0x20b5d6(0x399)]=_0xd6322d[_0x20b5d6(0x399)]||_0x20b5d6(0x36d),_0x352dc2[_0x20b5d6(0x1ca)]=_0xd6322d['description']||'-',_0x352dc2[_0x20b5d6(0x22c)]=_0xd6322d[_0x20b5d6(0x22c)],_0x352dc2;}),_0x18058f={};return _0x18058f[_0x5d2016(0x1ca)]=_0x5d2016(0x2dd),_0x18058f['params']=_0x4ccc58,_0x18058f;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x57bfd5=a0_0x342bd1,_0x3faabf=super[_0x57bfd5(0x3c0)]();if(Object[_0x57bfd5(0x1ea)](_0x3faabf)[_0x57bfd5(0x345)]===0x0){const _0x44e14f={};this[_0x57bfd5(0x244)][_0x57bfd5(0x202)]['forEach'](_0x559694=>{const _0x1d2f28=_0x57bfd5;if(_0x559694){const _0x251b4d=_0x559694[_0x1d2f28(0x2bd)],_0x97e7a9=_0x559694[_0x1d2f28(0x31d)](),_0x2dab99={};_0x2dab99['type']=_0x97e7a9||_0x1d2f28(0x2f1),_0x2dab99[_0x1d2f28(0x1e6)]=_0x559694[_0x1d2f28(0x1e6)],_0x2dab99[_0x1d2f28(0x1ca)]=_0x559694[_0x1d2f28(0x1ca)]||_0x559694[_0x1d2f28(0x351)],_0x44e14f[_0x251b4d]=_0x2dab99;}});const _0x2f064e={};_0x2f064e[_0x57bfd5(0x399)]=_0x57bfd5(0x3e9),_0x2f064e[_0x57bfd5(0x1ca)]=_0x57bfd5(0x36c),_0x44e14f['currentPage']=_0x2f064e;const _0x457c2a={};return _0x457c2a[_0x57bfd5(0x399)]=_0x57bfd5(0x3e9),_0x457c2a[_0x57bfd5(0x1ca)]=_0x57bfd5(0x42d),_0x44e14f[_0x57bfd5(0x3ac)]=_0x457c2a,_0x44e14f;}return _0x3faabf;}[a0_0x342bd1(0x2c9)](){const _0x5c41c8=a0_0x342bd1,_0x2c9b4a=super[_0x5c41c8(0x2c9)]();if(Object[_0x5c41c8(0x1ea)](_0x2c9b4a)[_0x5c41c8(0x345)]===0x0){const _0x1af30d={};return _0x1af30d[_0x5c41c8(0x401)]=0x1,_0x1af30d[_0x5c41c8(0x3ac)]=0x64,_0x1af30d;}const _0x33b976={..._0x2c9b4a};return _0x33b976[_0x5c41c8(0x401)]=_0x2c9b4a['currentPage']??0x1,_0x33b976[_0x5c41c8(0x3ac)]=_0x2c9b4a[_0x5c41c8(0x3ac)]??0x64,_0x33b976;}[a0_0x342bd1(0x22b)](){const _0xdb6e75=a0_0x342bd1,_0x43c269={};return _0x43c269[_0xdb6e75(0x284)]=!![],_0x43c269[_0xdb6e75(0x2c4)]='',_0x43c269[_0xdb6e75(0x291)]='',_0x43c269[_0xdb6e75(0x3f3)]=_0xdb6e75(0x310),_0x43c269[_0xdb6e75(0x24c)]=_0xdb6e75(0x372),_0x43c269[_0xdb6e75(0x2af)]=null,_0x43c269;}[a0_0x342bd1(0x1b3)](_0x42e1e,_0x32f990){const _0x4889ff=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x32f990||{},_0x2541f9=this[_0x4889ff(0x3c3)]();if(useFullExample){const _0x1c8e9e=this[_0x4889ff(0x2c9)](),{currentPage:_0x4b1769,pageSize:_0x39311f,..._0x3a2415}=_0x1c8e9e,_0x5b7b88=Object[_0x4889ff(0x1ea)](_0x3a2415)[_0x4889ff(0x345)]>0x0;if(_0x5b7b88){const _0x34ac32=_0x41b623=>{const _0x5d32ed=_0x4889ff;return JSON[_0x5d32ed(0x301)](_0x41b623,null,0x2)['split']('\x0a')['map']((_0x4be04b,_0x46f60c)=>_0x46f60c===0x0?_0x4be04b:indent+_0x4be04b)[_0x5d32ed(0x314)]('\x0a');};return _0x4889ff(0x437)+_0x42e1e+'.'+_0x2541f9+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x42e1e+'.'+_0x2541f9+'('+_0x34ac32(_0x1c8e9e)+');';}else{const _0x174acf=_0x5fb860=>{return JSON['stringify'](_0x5fb860,null,0x2)['split']('\x0a')['map']((_0x1d929d,_0x1daa33)=>_0x1daa33===0x0?_0x1d929d:indent+_0x1d929d)['join']('\x0a');},_0x3c5cce={};return _0x3c5cce[_0x4889ff(0x401)]=0x1,_0x3c5cce[_0x4889ff(0x3ac)]=0x64,_0x4889ff(0x437)+_0x42e1e+'.'+_0x2541f9+_0x4889ff(0x398)+_0x42e1e+'.'+_0x2541f9+'('+_0x174acf(_0x3c5cce)+');';}}return _0x4889ff(0x35f)+_0x42e1e+'.'+_0x2541f9+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}['generateUsageExample'](_0x25da14){const _0x23d3ca=a0_0x342bd1,_0x3b441b=this[_0x23d3ca(0x3c3)](),_0xe664d1=_0x25da14||_0x23d3ca(0x45c),_0x445527=_0x23d3ca(0x1de)+_0xe664d1+'.'+_0x3b441b+_0x23d3ca(0x3a9),_0x35092c=_0x23d3ca(0x41b)+_0xe664d1+'.'+_0x3b441b+_0x23d3ca(0x1fb),_0x3ee66c={};return _0x3ee66c[_0x23d3ca(0x236)]=_0x445527,_0x3ee66c[_0x23d3ca(0x3f3)]=_0x35092c,_0x3ee66c;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x55dcd9=a0_0x342bd1;return this[_0x55dcd9(0x431)]();}['getRequestParams'](){const _0x1c84f5=a0_0x342bd1,_0x1e34a6=this['getUpdateFields'](),_0x1ffea9={};_0x1ffea9[_0x1c84f5(0x399)]=_0x1c84f5(0x42e),_0x1ffea9[_0x1c84f5(0x1ca)]=_0x1c84f5(0x1d7),_0x1ffea9[_0x1c84f5(0x22c)]=!![];const _0x339dac={};_0x339dac['type']='object',_0x339dac['description']='要更新的字段数据对象',_0x339dac[_0x1c84f5(0x22c)]=!![],_0x339dac[_0x1c84f5(0x395)]=_0x1e34a6;const _0x2d4938={};return _0x2d4938['id']=_0x1ffea9,_0x2d4938[_0x1c84f5(0x24c)]=_0x339dac,_0x2d4938;}[a0_0x342bd1(0x1ae)](){const _0x48bd21=a0_0x342bd1;return this[_0x48bd21(0x307)]();}[a0_0x342bd1(0x2eb)](){const _0x4609f2=a0_0x342bd1,_0x5bc5e0=this[_0x4609f2(0x244)][_0x4609f2(0x202)]||[],_0x3db044=this['context'][_0x4609f2(0x2ab)],_0x3097c1=_0x5bc5e0[_0x4609f2(0x396)](_0x9dae87=>_0x9dae87[_0x4609f2(0x353)]()||_0x9dae87[_0x4609f2(0x2bd)]===_0x3db044),_0x3cfcac=_0x5bc5e0[_0x4609f2(0x282)](_0x3138d4=>{const _0x1a4cca=_0x4609f2;if(_0x3138d4[_0x1a4cca(0x331)])return![];if(_0x3138d4===_0x3097c1||_0x3138d4['isPrimaryKey']())return![];if(_0x3138d4['isCreateTime']()||_0x3138d4[_0x1a4cca(0x402)]())return![];if(_0x3138d4[_0x1a4cca(0x31c)]())return![];return!![];});return _0x3097c1?[_0x3097c1,..._0x3cfcac]:_0x3cfcac;}[a0_0x342bd1(0x22a)](){const _0x14c5de=a0_0x342bd1,_0x12cc17=this[_0x14c5de(0x2eb)](),_0x38c0e7=this[_0x14c5de(0x244)][_0x14c5de(0x2ab)],_0x2de22d=_0x12cc17[_0x14c5de(0x2bc)](_0x1369f8=>{const _0x5d59b3=_0x14c5de,_0x558aae=_0x1369f8['isPrimaryKey']()||_0x1369f8[_0x5d59b3(0x2bd)]===_0x38c0e7,_0x4dd68d=_0x558aae?'id':_0x1369f8['code'],_0x36f2bd={};return _0x36f2bd[_0x5d59b3(0x351)]=_0x4dd68d,_0x36f2bd[_0x5d59b3(0x399)]=_0x1369f8[_0x5d59b3(0x399)],_0x36f2bd[_0x5d59b3(0x1ca)]=_0x558aae?'主键,用于定位要更新的记录'+(_0x38c0e7&&_0x38c0e7!==_0x1369f8['code']?_0x5d59b3(0x419)+_0x1369f8[_0x5d59b3(0x2bd)]+')':''):_0x1369f8[_0x5d59b3(0x1ca)]||_0x1369f8[_0x5d59b3(0x351)],_0x36f2bd;}),_0x310c6e={};return _0x310c6e[_0x14c5de(0x1ca)]=_0x14c5de(0x290),_0x310c6e[_0x14c5de(0x2af)]=_0x2de22d,_0x310c6e;}['getRequestParamsDocInfo'](){const _0x28ee30=a0_0x342bd1,_0x1122ef=this['getUpdateFields'](),_0x2239c0=Object['entries'](_0x1122ef)[_0x28ee30(0x2bc)](([_0x208b24,_0x58011f])=>{const _0x2e346c=_0x28ee30,_0x3293cb=_0x58011f,_0x3d8689={};return _0x3d8689[_0x2e346c(0x351)]=_0x208b24,_0x3d8689['type']=_0x3293cb[_0x2e346c(0x399)]||_0x2e346c(0x36d),_0x3d8689[_0x2e346c(0x1ca)]=_0x3293cb['description']||'-',_0x3d8689;}),_0x5c2733={};return _0x5c2733[_0x28ee30(0x1ca)]='update\x20接口接受两个参数:\x0a\x0a'+_0x28ee30(0x2ce)+_0x28ee30(0x3a4)+'**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a'+_0x28ee30(0x1fe)+'**可更新的字段列表:**',_0x5c2733[_0x28ee30(0x2af)]=_0x2239c0,_0x5c2733;}[a0_0x342bd1(0x2c9)](){const _0x552f94=a0_0x342bd1,_0x2804d7=this['getUpdateFields'](),_0x2e5261={};Object[_0x552f94(0x241)](_0x2804d7)['forEach'](([_0x3acea3,_0x34186e])=>{const _0x517aff=_0x552f94,_0x458a37=_0x34186e;let _0x5207ca;if(typeof _0x458a37[_0x517aff(0x399)]===_0x517aff(0x3d2))_0x5207ca=_0x458a37[_0x517aff(0x399)];else _0x458a37[_0x517aff(0x399)]&&typeof _0x458a37[_0x517aff(0x399)]===_0x517aff(0x1eb)?_0x5207ca=_0x458a37[_0x517aff(0x399)][_0x517aff(0x399)]||_0x517aff(0x2f1):_0x5207ca='TEXT';const _0x5f07bd=_0x458a37[_0x517aff(0x1ca)],_0x3172c6=this['getFieldDefinition'](_0x3acea3);_0x2e5261[_0x3acea3]=this['generateFieldExample'](_0x3acea3,_0x5207ca,_0x3172c6?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x5f07bd||_0x3172c6?.[_0x517aff(0x1ca)]||_0x3172c6?.[_0x517aff(0x351)]});});const _0x550c2f={};return _0x550c2f['id']=0x1,_0x550c2f[_0x552f94(0x24c)]=_0x2e5261,_0x550c2f;}[a0_0x342bd1(0x28e)](){const _0x1f4cd7=a0_0x342bd1,_0x3f00e9=this['generateRequestExample'](),_0x5dbbd7={};return _0x5dbbd7[_0x1f4cd7(0x254)]='SDK\x20调用示例(两参数格式)',_0x5dbbd7['description']=_0x1f4cd7(0x1d9)+_0x1f4cd7(0x412)+_0x1f4cd7(0x3ce),_0x5dbbd7['data']=_0x3f00e9,[_0x5dbbd7,{'title':_0x1f4cd7(0x41f),'description':_0x1f4cd7(0x1bb)+_0x1f4cd7(0x27c)+'-\x20其他要更新的字段直接平铺在同一层级','data':this[_0x1f4cd7(0x38d)]()}];}[a0_0x342bd1(0x38d)](){const _0x16554f=a0_0x342bd1,_0x30b529=this[_0x16554f(0x307)](),_0x14f53c={};_0x14f53c['id']=0x1;const _0x5943dc=_0x14f53c;return Object[_0x16554f(0x241)](_0x30b529)[_0x16554f(0x40c)](([_0x2f67a1,_0x1f0b1b])=>{const _0x18b154=_0x16554f,_0x3bd656=_0x1f0b1b;let _0x265c97;if(typeof _0x3bd656['type']===_0x18b154(0x3d2))_0x265c97=_0x3bd656[_0x18b154(0x399)];else _0x3bd656[_0x18b154(0x399)]&&typeof _0x3bd656[_0x18b154(0x399)]==='object'?_0x265c97=_0x3bd656['type'][_0x18b154(0x399)]||_0x18b154(0x2f1):_0x265c97='TEXT';const _0x5ac00a=_0x3bd656['description'],_0x27dc92=this['getFieldDefinition'](_0x2f67a1);if(_0x27dc92?.['isPrimaryKey']())return;_0x5943dc[_0x2f67a1]=this['generateFieldExample'](_0x2f67a1,_0x265c97,_0x27dc92?.[_0x18b154(0x31d)](),{'isPrimaryKey':![],'description':_0x5ac00a||_0x27dc92?.['description']||_0x27dc92?.[_0x18b154(0x351)]});}),_0x5943dc;}['generateHTTPExample'](){return this['generateHTTPRequestExample']();}[a0_0x342bd1(0x1b3)](_0x25b45a,_0x149280){const _0x557949=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x149280||{},_0x252602=this['getName']();if(useFullExample){const _0x3b15b8=this['generateRequestExample'](),_0x39d9de=JSON[_0x557949(0x301)](_0x3b15b8[_0x557949(0x24c)],null,0x2)[_0x557949(0x257)]('\x0a')['map']((_0x4110ad,_0x13758c)=>_0x13758c===0x0?_0x4110ad:indent+_0x4110ad)[_0x557949(0x314)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x25b45a+'.'+_0x252602+'('+_0x3b15b8['id']+',\x20'+_0x39d9de+');';}return'const\x20result\x20=\x20await\x20client.models.'+_0x25b45a+'.'+_0x252602+_0x557949(0x3ff);}}class AggregateOperation extends GenericOperation{constructor(_0xb2758,_0x465a1a,_0x12d715){super(_0xb2758,_0x465a1a,_0x12d715);}[a0_0x342bd1(0x253)](_0x5de3d4){const _0xa97bff=a0_0x342bd1;return _0x5de3d4[_0xa97bff(0x36e)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0xa97bff(0x266)]()[_0xa97bff(0x2b5)]();}[a0_0x342bd1(0x37e)](){return AGGREGATE_FUNCTIONS;}[a0_0x342bd1(0x3c0)](){const _0x20de02=a0_0x342bd1,_0x47541a=super[_0x20de02(0x3c0)](),_0x3aa962={};_0x3aa962[_0x20de02(0x399)]=_0x20de02(0x1ee),_0x3aa962[_0x20de02(0x1ca)]=_0x20de02(0x36b),_0x3aa962[_0x20de02(0x22c)]=![];const _0x45ea91={};_0x45ea91[_0x20de02(0x399)]=_0x20de02(0x3ba),_0x45ea91['description']=_0x20de02(0x27f),_0x45ea91[_0x20de02(0x22c)]=![];const _0x1be6c1={};_0x1be6c1[_0x20de02(0x399)]=_0x20de02(0x1ee),_0x1be6c1[_0x20de02(0x1ca)]=_0x20de02(0x294),_0x1be6c1['required']=![];const _0x315d06={};_0x315d06[_0x20de02(0x399)]=_0x20de02(0x421),_0x315d06[_0x20de02(0x1ca)]='聚合函数配置数组',_0x315d06['required']=![];const _0x5c91cc={};_0x5c91cc[_0x20de02(0x399)]=_0x20de02(0x421),_0x5c91cc[_0x20de02(0x1ca)]=_0x20de02(0x1f4),_0x5c91cc[_0x20de02(0x22c)]=![];const _0xf1a55f={};_0xf1a55f['type']=_0x20de02(0x421),_0xf1a55f[_0x20de02(0x1ca)]=_0x20de02(0x444),_0xf1a55f[_0x20de02(0x22c)]=![];const _0x53d87f={};_0x53d87f[_0x20de02(0x399)]=_0x20de02(0x464),_0x53d87f['description']=_0x20de02(0x3bf),_0x53d87f[_0x20de02(0x22c)]=![];const _0x42e60e={};_0x42e60e[_0x20de02(0x399)]=_0x20de02(0x464),_0x42e60e['description']='每页数量(默认:\x2020)',_0x42e60e['required']=![];const _0x28f807={..._0x47541a};return _0x28f807[_0x20de02(0x438)]=_0x3aa962,_0x28f807['where']=_0x45ea91,_0x28f807[_0x20de02(0x383)]=_0x1be6c1,_0x28f807[_0x20de02(0x268)]=_0x315d06,_0x28f807[_0x20de02(0x3a5)]=_0x5c91cc,_0x28f807[_0x20de02(0x1f5)]=_0xf1a55f,_0x28f807[_0x20de02(0x401)]=_0x53d87f,_0x28f807[_0x20de02(0x3ac)]=_0x42e60e,_0x28f807;}['getSystemFields'](){const _0x237232=a0_0x342bd1,_0x221f2b={};_0x221f2b[_0x237232(0x2bd)]='select',_0x221f2b[_0x237232(0x399)]='String[]',_0x221f2b['description']=_0x237232(0x36b);const _0x21e8f5={};_0x21e8f5[_0x237232(0x2bd)]=_0x237232(0x2df),_0x21e8f5[_0x237232(0x399)]=_0x237232(0x3ba),_0x21e8f5['description']=_0x237232(0x27f);const _0x22d0d7={};_0x22d0d7['code']=_0x237232(0x383),_0x22d0d7[_0x237232(0x399)]=_0x237232(0x1ee),_0x22d0d7['description']=_0x237232(0x294);const _0x49eead={};_0x49eead[_0x237232(0x2bd)]='aggregate',_0x49eead[_0x237232(0x399)]=_0x237232(0x421),_0x49eead[_0x237232(0x1ca)]=_0x237232(0x35b);const _0x3394d0={};_0x3394d0['code']=_0x237232(0x3a5),_0x3394d0[_0x237232(0x399)]='Array',_0x3394d0[_0x237232(0x1ca)]=_0x237232(0x1f4);const _0x2ebc68={};_0x2ebc68[_0x237232(0x2bd)]=_0x237232(0x1f5),_0x2ebc68['type']=_0x237232(0x421),_0x2ebc68['description']=_0x237232(0x444);const _0x28df2a={};_0x28df2a[_0x237232(0x2bd)]=_0x237232(0x401),_0x28df2a['type']='Number',_0x28df2a[_0x237232(0x1ca)]='当前页码(从\x201\x20开始,默认:\x201)';const _0x350f03={};return _0x350f03[_0x237232(0x2bd)]=_0x237232(0x3ac),_0x350f03[_0x237232(0x399)]=_0x237232(0x464),_0x350f03[_0x237232(0x1ca)]=_0x237232(0x288),[_0x221f2b,_0x21e8f5,_0x22d0d7,_0x49eead,_0x3394d0,_0x2ebc68,_0x28df2a,_0x350f03];}[a0_0x342bd1(0x2c9)](){const _0xa269ac=a0_0x342bd1,_0x35b129=this[_0xa269ac(0x244)][_0xa269ac(0x202)]||[];if(_0x35b129[_0xa269ac(0x345)]===0x0){const _0xe1e7d6={};return _0xe1e7d6[_0xa269ac(0x2df)]={},_0xe1e7d6[_0xa269ac(0x383)]=[],_0xe1e7d6[_0xa269ac(0x268)]=[],_0xe1e7d6;}const _0xd275c8={},_0xdf3751=_0x35b129[_0xa269ac(0x3eb)](0x0,Math['min'](0x3,_0x35b129[_0xa269ac(0x345)]));_0xdf3751['forEach'](_0x131800=>{const _0x26c7ff=_0xa269ac,_0x1fce74=this[_0x26c7ff(0x2c8)](_0x131800);if(_0x1fce74['length']===0x0)return;const _0xf0f46e=this[_0x26c7ff(0x2fb)](_0x131800,_0x1fce74),_0x470bd1=this[_0x26c7ff(0x2fd)](_0x131800,_0xf0f46e),_0x4ee50d={};_0x4ee50d[_0xf0f46e]=_0x470bd1,_0xd275c8[_0x131800[_0x26c7ff(0x2bd)]]=_0x4ee50d;});const _0x3b8d21=_0x35b129[_0xa269ac(0x3eb)](0x0,Math[_0xa269ac(0x1e8)](0x2,_0x35b129[_0xa269ac(0x345)]))[_0xa269ac(0x2bc)](_0x4f6e29=>_0x4f6e29['code']),_0xffd573=[],_0x1ce4c7=_0x35b129[_0xa269ac(0x282)](_0x2c747f=>this[_0xa269ac(0x248)](_0x2c747f));if(_0x1ce4c7[_0xa269ac(0x345)]>0x0){const _0x5b3123=_0x1ce4c7[0x0],_0x266073=_0x5b3123[_0xa269ac(0x2bd)],_0x5c07d4={};_0x5c07d4[_0xa269ac(0x399)]=_0xa269ac(0x32a),_0x5c07d4[_0xa269ac(0x299)]=_0x266073,_0x5c07d4[_0xa269ac(0x347)]=_0x266073+_0xa269ac(0x3b1),_0x5c07d4[_0xa269ac(0x1ff)]=![],_0x5c07d4[_0xa269ac(0x1c9)]=!![],_0x5c07d4['precision']=0x2,_0xffd573[_0xa269ac(0x37b)](_0x5c07d4);const _0x5a7d2d={};_0x5a7d2d['type']=_0xa269ac(0x32f),_0x5a7d2d[_0xa269ac(0x299)]=_0x266073,_0x5a7d2d['alias']=_0x266073+_0xa269ac(0x37c),_0x5a7d2d['distinct']=![],_0x5a7d2d[_0xa269ac(0x1c9)]=!![],_0x5a7d2d[_0xa269ac(0x24d)]=0x2,_0xffd573[_0xa269ac(0x37b)](_0x5a7d2d);const _0x7b7564={};_0x7b7564[_0xa269ac(0x399)]=_0xa269ac(0x3fc),_0x7b7564[_0xa269ac(0x299)]=_0x266073,_0x7b7564[_0xa269ac(0x347)]=_0x266073+'_max',_0x7b7564['distinct']=![],_0x7b7564['round']=!![],_0x7b7564[_0xa269ac(0x24d)]=0x2,_0xffd573['push'](_0x7b7564);const _0x2e815f={};_0x2e815f[_0xa269ac(0x399)]=_0xa269ac(0x1e8),_0x2e815f[_0xa269ac(0x299)]=_0x266073,_0x2e815f[_0xa269ac(0x347)]=_0x266073+_0xa269ac(0x210),_0x2e815f['distinct']=![],_0x2e815f[_0xa269ac(0x1c9)]=!![],_0x2e815f['precision']=0x2,_0xffd573[_0xa269ac(0x37b)](_0x2e815f);}else{if(_0x35b129[_0xa269ac(0x345)]>0x0){const _0x43276a=_0x35b129[0x0],_0x3f0724=_0x43276a[_0xa269ac(0x2bd)],_0x10620c={};_0x10620c[_0xa269ac(0x399)]='count',_0x10620c['column']=_0x3f0724,_0x10620c[_0xa269ac(0x347)]='total_count',_0x10620c[_0xa269ac(0x1ff)]=!![],_0xffd573['push'](_0x10620c);}}const _0x56552=[];if(_0x35b129[_0xa269ac(0x345)]>0x0){const _0x5779d2=_0x35b129[0x0][_0xa269ac(0x2bd)],_0x690c09={};_0x690c09[_0x5779d2]=_0xa269ac(0x24a),_0x56552[_0xa269ac(0x37b)](_0x690c09);}const _0x66457a=[..._0x3b8d21,..._0xffd573['map'](_0x163608=>_0x163608[_0xa269ac(0x347)])],_0x297167=[];if(_0xffd573[_0xa269ac(0x345)]>0x0){const _0x1cee9e={};_0x1cee9e[_0xa269ac(0x2be)]=0x0;const _0x32b8eb={};_0x32b8eb[_0xa269ac(0x230)]=_0xffd573[0x0][_0xa269ac(0x347)],_0x32b8eb[_0xa269ac(0x212)]=_0x1cee9e,_0x297167[_0xa269ac(0x37b)](_0x32b8eb);}const _0x1eed95={};return _0x1eed95[_0xa269ac(0x438)]=_0x66457a,_0x1eed95[_0xa269ac(0x2df)]=_0xd275c8,_0x1eed95[_0xa269ac(0x383)]=_0x3b8d21,_0x1eed95[_0xa269ac(0x268)]=_0xffd573,_0x1eed95[_0xa269ac(0x3a5)]=_0x297167[_0xa269ac(0x345)]>0x0?_0x297167:undefined,_0x1eed95[_0xa269ac(0x1f5)]=_0x56552,_0x1eed95['currentPage']=0x1,_0x1eed95[_0xa269ac(0x3ac)]=0x14,_0x1eed95;}['generateSDKCallCode'](_0x47c357,_0x4305d9){const _0x54d402=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4305d9||{},_0x2ae87f=this[_0x54d402(0x3c3)](),_0x476d97=this['generateRequestExample'](),_0x2139f9=_0x11677c=>{const _0x161236=_0x54d402;return JSON[_0x161236(0x301)](_0x11677c,null,0x2)[_0x161236(0x257)]('\x0a')['map']((_0x3c99a6,_0x211c99)=>_0x211c99===0x0?_0x3c99a6:indent+_0x3c99a6)[_0x161236(0x314)]('\x0a');};if(useFullExample){const _0x3f5fa3=this[_0x54d402(0x244)][_0x54d402(0x202)]||[],_0x5c6576=_0x3f5fa3[_0x54d402(0x282)](_0x2eab67=>this[_0x54d402(0x248)](_0x2eab67)),_0x4b6e1d={'where':_0x3f5fa3[0x0]?{[_0x3f5fa3[0x0]['code']]:{'$eq':this[_0x54d402(0x2fd)](_0x3f5fa3[0x0],'$eq')}}:{},'aggregate':_0x5c6576['length']>0x0?[{'type':'sum','column':_0x5c6576[0x0][_0x54d402(0x2bd)],'alias':_0x5c6576[0x0][_0x54d402(0x2bd)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':'count','column':_0x3f5fa3[0x0][_0x54d402(0x2bd)],'alias':_0x54d402(0x21f),'distinct':!![]}],'orderBy':[{[_0x3f5fa3[0x0][_0x54d402(0x2bd)]]:'desc'}]};let _0x3928fc='';return _0x3f5fa3[_0x54d402(0x345)]>=0x3&&(_0x3928fc=_0x54d402(0x1e0)+_0x47c357+'.'+_0x2ae87f+'('+_0x2139f9(_0x476d97)+');'),_0x54d402(0x3cd)+_0x47c357+'.'+_0x2ae87f+'('+_0x2139f9(_0x4b6e1d)+');'+_0x3928fc;}const _0x2c1b71=JSON[_0x54d402(0x301)](_0x476d97,null,0x2)[_0x54d402(0x257)]('\x0a')[_0x54d402(0x2bc)]((_0x104f33,_0x25b21e)=>_0x25b21e===0x0?_0x104f33:indent+_0x104f33)['join']('\x0a');return _0x54d402(0x20f)+_0x47c357+'.'+_0x2ae87f+'('+_0x2c1b71+');';}[a0_0x342bd1(0x248)](_0x282541){const _0x394320=a0_0x342bd1,_0x4d15a3=_0x282541[_0x394320(0x31d)]();return[_0x394320(0x42e),'INTEGER','BIGINT','DECIMAL'][_0x394320(0x461)](_0x4d15a3)||[_0x394320(0x336),_0x394320(0x2d7),'SMALLINT',_0x394320(0x21d),_0x394320(0x44a)][_0x394320(0x461)](_0x4d15a3);}[a0_0x342bd1(0x2c8)](_0x188230){const _0x21749c=a0_0x342bd1,_0x4ed0e8=_0x188230['getDbTypeForOperation'](),_0x4f6bbc=[];if([_0x21749c(0x42e),_0x21749c(0x232),_0x21749c(0x39a),_0x21749c(0x349)][_0x21749c(0x461)](_0x4ed0e8)||[_0x21749c(0x336),_0x21749c(0x2d7),_0x21749c(0x2d9),_0x21749c(0x21d),_0x21749c(0x44a)][_0x21749c(0x461)](_0x4ed0e8))_0x4f6bbc[_0x21749c(0x37b)]('$eq',_0x21749c(0x428),'$gte','$lte',_0x21749c(0x2a4),'$lteq',_0x21749c(0x46a));else{if(['STRING',_0x21749c(0x2f1),_0x21749c(0x355)]['includes'](_0x4ed0e8)||[_0x21749c(0x407),_0x21749c(0x387)][_0x21749c(0x461)](_0x4ed0e8))_0x4f6bbc[_0x21749c(0x37b)](_0x21749c(0x1e5),_0x21749c(0x428),'$in','$contain','$startWith','$endWith');else{if([_0x21749c(0x3db),_0x21749c(0x302),_0x21749c(0x1da)][_0x21749c(0x461)](_0x4ed0e8)||[_0x21749c(0x1c4)][_0x21749c(0x461)](_0x4ed0e8))_0x4f6bbc['push'](_0x21749c(0x1e5),'$ne',_0x21749c(0x2be),_0x21749c(0x380),_0x21749c(0x2a4),_0x21749c(0x35d));else[_0x21749c(0x2de),_0x21749c(0x43a),'BIT'][_0x21749c(0x461)](_0x4ed0e8)?_0x4f6bbc['push'](_0x21749c(0x1e5),'$ne'):_0x4f6bbc[_0x21749c(0x37b)]('$eq','$ne');}}return _0x4f6bbc;}[a0_0x342bd1(0x2fb)](_0x22c328,_0x394543){const _0x40e825=a0_0x342bd1,_0x2ed9a2=_0x22c328['getDbTypeForOperation']();if([_0x40e825(0x42e),_0x40e825(0x232),_0x40e825(0x39a),_0x40e825(0x349)][_0x40e825(0x461)](_0x2ed9a2)||[_0x40e825(0x336),_0x40e825(0x2d7),_0x40e825(0x2d9),_0x40e825(0x21d),_0x40e825(0x44a)]['includes'](_0x2ed9a2))return _0x394543['includes'](_0x40e825(0x2be))?'$gte':'$eq';if([_0x40e825(0x388),_0x40e825(0x2f1),'VARCHAR']['includes'](_0x2ed9a2)||[_0x40e825(0x407),_0x40e825(0x387)][_0x40e825(0x461)](_0x2ed9a2))return _0x394543['includes'](_0x40e825(0x313))?'$contain':'$eq';if([_0x40e825(0x3db),'DATETIME',_0x40e825(0x1da),_0x40e825(0x1c4)][_0x40e825(0x461)](_0x2ed9a2))return _0x394543[_0x40e825(0x461)]('$gte')?_0x40e825(0x2be):_0x40e825(0x1e5);return _0x40e825(0x1e5);}[a0_0x342bd1(0x2fd)](_0x38c9f0,_0xa4c874){const _0x422d31=a0_0x342bd1,_0x219de0=_0x38c9f0[_0x422d31(0x31d)](),_0x234c8b=_0x38c9f0[_0x422d31(0x3ad)]();if(_0x234c8b&&_0x234c8b[_0x422d31(0x345)]>0x0){if(_0xa4c874==='$in')return _0x234c8b[_0x422d31(0x3eb)](0x0,0x2)[_0x422d31(0x2bc)](_0x172d73=>_0x172d73[_0x422d31(0x3d9)]);return _0x234c8b[0x0]['value'];}if([_0x422d31(0x42e),'INTEGER','BIGINT','DECIMAL'][_0x422d31(0x461)](_0x219de0)||[_0x422d31(0x336),'TINYINT',_0x422d31(0x2d9),_0x422d31(0x21d),_0x422d31(0x44a)][_0x422d31(0x461)](_0x219de0)){if(_0xa4c874===_0x422d31(0x46a))return[0x1,0x2,0x3];if(_0xa4c874===_0x422d31(0x2be)||_0xa4c874==='$gteq')return 0x0;if(_0xa4c874==='$lte'||_0xa4c874==='$lteq')return 0x64;return 0x1;}if([_0x422d31(0x388),_0x422d31(0x2f1),_0x422d31(0x355)]['includes'](_0x219de0)||['CHAR',_0x422d31(0x387)]['includes'](_0x219de0)){if(_0xa4c874==='$in')return['value1',_0x422d31(0x1ec)];if(_0xa4c874===_0x422d31(0x313))return _0x422d31(0x426);if(_0xa4c874===_0x422d31(0x3e7))return _0x422d31(0x1ba);if(_0xa4c874==='$endWith')return _0x422d31(0x369);return _0x422d31(0x3d9);}if([_0x422d31(0x3db),_0x422d31(0x302),_0x422d31(0x1da),_0x422d31(0x1c4)][_0x422d31(0x461)](_0x219de0)){if(_0xa4c874===_0x422d31(0x2be)||_0xa4c874===_0x422d31(0x2a4))return _0x422d31(0x308);if(_0xa4c874===_0x422d31(0x380)||_0xa4c874===_0x422d31(0x35d))return _0x422d31(0x3cc);return _0x422d31(0x308);}if(['BOOLEAN',_0x422d31(0x43a),_0x422d31(0x37d)]['includes'](_0x219de0))return!![];return _0xa4c874===_0x422d31(0x46a)?[_0x422d31(0x229),_0x422d31(0x1ec)]:_0x422d31(0x3d9);}['getRequestParamsDocInfo'](){const _0x2f128a=a0_0x342bd1,_0xd9fbd5=this[_0x2f128a(0x3c0)](),_0x443b01=Object[_0x2f128a(0x241)](_0xd9fbd5)[_0x2f128a(0x282)](([_0x55a5d])=>_0x55a5d!==_0x2f128a(0x401)&&_0x55a5d!=='pageSize')[_0x2f128a(0x2bc)](([_0x48f2f6,_0x39da80])=>{const _0x3d7691=_0x2f128a,_0x39b3ff=_0x39da80,_0x11fd7f={};return _0x11fd7f[_0x3d7691(0x351)]=_0x48f2f6,_0x11fd7f['type']=_0x39b3ff['type']||_0x3d7691(0x36d),_0x11fd7f[_0x3d7691(0x1ca)]=_0x39b3ff['description']||'-',_0x11fd7f[_0x3d7691(0x22c)]=_0x39b3ff['required'],_0x11fd7f;}),_0x60dc={};return _0x60dc[_0x2f128a(0x1ca)]='\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',_0x60dc['params']=_0x443b01,_0x60dc;}['generateResponseExample'](){const _0x2bf04d=a0_0x342bd1,_0x3a326f=this[_0x2bf04d(0x2c9)]()[_0x2bf04d(0x268)],_0x222846=[{}],_0x1ef250=[];_0x3a326f?.['forEach'](_0x32f393=>{const _0x527772=_0x2bf04d,_0x58e90e={};_0x58e90e['title']=_0x32f393[_0x527772(0x347)],_0x58e90e[_0x527772(0x30c)]=_0x32f393[_0x527772(0x347)],_0x1ef250[_0x527772(0x37b)](_0x58e90e),_0x222846[0x0][_0x32f393[_0x527772(0x347)]]=_0x32f393[_0x527772(0x399)]==='count'?0x64:Math['round'](Math[_0x527772(0x2b3)]()*0x64*0x64)/0x64;});const _0x5cec4c={};_0x5cec4c[_0x2bf04d(0x3ac)]=0x1,_0x5cec4c['totalCount']=0x64,_0x5cec4c[_0x2bf04d(0x401)]=0x1;const _0x27df85={};_0x27df85['paging']=_0x5cec4c,_0x27df85[_0x2bf04d(0x1bd)]=_0x222846,_0x27df85[_0x2bf04d(0x32e)]=_0x1ef250;const _0x2489aa={};return _0x2489aa[_0x2bf04d(0x284)]=!![],_0x2489aa[_0x2bf04d(0x2c4)]='',_0x2489aa[_0x2bf04d(0x291)]='',_0x2489aa[_0x2bf04d(0x3f3)]='0000',_0x2489aa['data']=_0x27df85,_0x2489aa[_0x2bf04d(0x2af)]=null,_0x2489aa;}}class OperationFactory{[a0_0x342bd1(0x34f)](_0x1f163c,_0x48be34,_0x2a5c2e){const _0x3cfbb9=a0_0x342bd1;switch(_0x1f163c){case _0x3cfbb9(0x205):return new GetSelectOptionsOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case'getList':return new GetListOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case _0x3cfbb9(0x282):return new FilterOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case _0x3cfbb9(0x271):return new ExcelExportOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case'update':return new UpdateOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case _0x3cfbb9(0x268):return new AggregateOperation(_0x1f163c,_0x48be34,_0x2a5c2e);default:return new GenericOperation(_0x1f163c,_0x48be34,_0x2a5c2e);}}[a0_0x342bd1(0x333)](_0x2714f4,_0x10ae10){const _0x104906=a0_0x342bd1,_0x452ab3=new Map();return Object[_0x104906(0x241)](_0x2714f4)['forEach'](([_0x20afd8,_0x290ed6])=>{const _0x394f1e=_0x104906;_0x452ab3[_0x394f1e(0x3a0)](_0x20afd8,this['create'](_0x20afd8,_0x290ed6,_0x10ae10));}),_0x452ab3;}}class OperationList{[a0_0x342bd1(0x2c5)];constructor(_0xfbdf9b,_0x24a9c8){const _0x454b7a=new OperationFactory();this['_operations']=_0x454b7a['createAll'](_0xfbdf9b,_0x24a9c8);}[a0_0x342bd1(0x394)](_0x5ed0f1){const _0x37b532=a0_0x342bd1;return this['_operations'][_0x37b532(0x394)](_0x5ed0f1);}['has'](_0x40ddd5){const _0x37e9d4=a0_0x342bd1;return this[_0x37e9d4(0x2c5)][_0x37e9d4(0x2a1)](_0x40ddd5);}[a0_0x342bd1(0x1b1)](){const _0xa8876a=a0_0x342bd1;return this[_0xa8876a(0x2c5)][_0xa8876a(0x1b1)];}[a0_0x342bd1(0x33b)](){const _0x385142=a0_0x342bd1;return Array[_0x385142(0x30f)](this[_0x385142(0x2c5)][_0x385142(0x1ea)]());}[a0_0x342bd1(0x3bd)](){const _0x4bea62=a0_0x342bd1,_0x45de67=Array[_0x4bea62(0x30f)](this[_0x4bea62(0x2c5)][_0x4bea62(0x31e)]());return this[_0x4bea62(0x3a1)](_0x45de67);}[a0_0x342bd1(0x384)](){const _0x57c333=a0_0x342bd1;return this[_0x57c333(0x3bd)]()[_0x57c333(0x282)](_0x9508e6=>_0x9508e6['isEnabled']());}[a0_0x342bd1(0x206)](){const _0x2c7d52=a0_0x342bd1;return this[_0x2c7d52(0x3bd)]()['filter'](_0x1b40b1=>!_0x1b40b1[_0x2c7d52(0x2f2)]());}['getEnabledNames'](){const _0x21e1ff=a0_0x342bd1;return this[_0x21e1ff(0x384)]()[_0x21e1ff(0x2bc)](_0x6aa026=>_0x6aa026[_0x21e1ff(0x3c3)]());}[a0_0x342bd1(0x454)](){const _0x7f2f98=a0_0x342bd1;return this[_0x7f2f98(0x206)]()[_0x7f2f98(0x2bc)](_0x1bc827=>_0x1bc827[_0x7f2f98(0x3c3)]());}[a0_0x342bd1(0x359)](_0x109656){const _0x3338c7=a0_0x342bd1;return this[_0x3338c7(0x3bd)]()['filter'](_0x148503=>_0x148503[_0x3338c7(0x2a0)]()===_0x109656);}['filter'](_0x38675a){const _0x1e71ec=a0_0x342bd1;return this[_0x1e71ec(0x3bd)]()[_0x1e71ec(0x282)](_0x38675a);}[a0_0x342bd1(0x365)](_0x48a32e={}){const _0x446d8a=a0_0x342bd1;let _0x3ba5e9=this[_0x446d8a(0x3bd)]();!_0x48a32e[_0x446d8a(0x433)]&&(_0x3ba5e9=_0x3ba5e9[_0x446d8a(0x282)](_0x3a5a64=>_0x3a5a64[_0x446d8a(0x2f2)]()));if(_0x48a32e[_0x446d8a(0x3be)]!==![]){const _0x183ac0=_0x3ba5e9['map'](_0x64f4ee=>({'name':_0x64f4ee[_0x446d8a(0x3c3)](),'operation':_0x64f4ee})),_0x2bb5a8=filterApiOperations(_0x183ac0);_0x3ba5e9=_0x2bb5a8[_0x446d8a(0x2bc)](_0x57965c=>_0x57965c['operation']),_0x3ba5e9=this[_0x446d8a(0x3a1)](_0x3ba5e9);}return _0x48a32e['customFilter']&&(_0x3ba5e9=_0x3ba5e9[_0x446d8a(0x282)](_0x48a32e[_0x446d8a(0x251)])),_0x3ba5e9;}[a0_0x342bd1(0x3a1)](_0x38f0b4){const _0x3afdef=a0_0x342bd1,_0x33390b=_0x38f0b4['find'](_0x1b939c=>_0x1b939c[_0x3afdef(0x3c3)]()===_0x3afdef(0x282)),_0x55c99f=_0x38f0b4['filter'](_0x419418=>_0x419418['getName']()!==_0x3afdef(0x282));return _0x33390b?[_0x33390b,..._0x55c99f]:_0x55c99f;}[a0_0x342bd1(0x1cb)](){const _0x403bf7=a0_0x342bd1,_0x4ab785=this[_0x403bf7(0x384)]();return{'total':this['size'](),'enabled':_0x4ab785[_0x403bf7(0x345)],'disabled':this['size']()-_0x4ab785['length'],'byType':this[_0x403bf7(0x2a8)](_0x4ab785),'byMethod':this['getCountByMethod'](_0x4ab785)};}[a0_0x342bd1(0x2a8)](_0x8e4dd2){const _0x33b12f={};return _0x8e4dd2['forEach'](_0x7a5d70=>{const _0xa5db38=a0_0x380d,_0x551bef=_0x7a5d70[_0xa5db38(0x2a0)]();_0x551bef&&(_0x33b12f[_0x551bef]=(_0x33b12f[_0x551bef]||0x0)+0x1);}),_0x33b12f;}[a0_0x342bd1(0x3a7)](_0x6f0a87){const _0x136622={};return _0x6f0a87['forEach'](_0x2fb759=>{const _0x5e6b58=a0_0x380d,_0x426b82=_0x2fb759[_0x5e6b58(0x38b)]();_0x426b82&&(_0x136622[_0x426b82]=(_0x136622[_0x426b82]||0x0)+0x1);}),_0x136622;}[Symbol[a0_0x342bd1(0x24b)]](){const _0x56a341=a0_0x342bd1;return this[_0x56a341(0x2c5)][_0x56a341(0x31e)]();}[a0_0x342bd1(0x279)](){const _0x229eff=a0_0x342bd1,_0x2c16e5=this[_0x229eff(0x1cb)]();return _0x229eff(0x350)+_0x2c16e5['enabled']+'/'+_0x2c16e5[_0x229eff(0x263)]+_0x229eff(0x2cc);}}class DBConfig{[a0_0x342bd1(0x43b)];[a0_0x342bd1(0x442)];['dbName'];[a0_0x342bd1(0x2e0)];[a0_0x342bd1(0x23d)];[a0_0x342bd1(0x269)];[a0_0x342bd1(0x1fd)];[a0_0x342bd1(0x2ab)];['tenantCode'];[a0_0x342bd1(0x223)];constructor(_0x5378e3,_0x450f02){const _0x4d9d38=a0_0x342bd1;this[_0x4d9d38(0x43b)]=_0x450f02,this[_0x4d9d38(0x442)]=_0x5378e3[_0x4d9d38(0x442)],this[_0x4d9d38(0x406)]=_0x5378e3[_0x4d9d38(0x406)],this[_0x4d9d38(0x2e0)]=_0x5378e3['dbType'],this['dbVersion']=_0x5378e3[_0x4d9d38(0x23d)],this[_0x4d9d38(0x269)]=_0x5378e3[_0x4d9d38(0x269)],this[_0x4d9d38(0x1fd)]=_0x5378e3[_0x4d9d38(0x1fd)],this[_0x4d9d38(0x2ab)]=_0x5378e3[_0x4d9d38(0x2ab)],this[_0x4d9d38(0x264)]=_0x5378e3['tenantCode'],this[_0x4d9d38(0x223)]=_0x5378e3[_0x4d9d38(0x223)];}[a0_0x342bd1(0x289)](){const _0x380452=a0_0x342bd1;return this[_0x380452(0x43b)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x342bd1(0x219)];[a0_0x342bd1(0x378)];[a0_0x342bd1(0x2ee)];constructor(_0x16f8ac){const _0x39ecf8=a0_0x342bd1,_0x397542={..._0x16f8ac};_0x397542['id']=_0x16f8ac[_0x39ecf8(0x470)]||_0x16f8ac['id'],_0x397542[_0x39ecf8(0x37f)]=_0x16f8ac['modelCode']||_0x16f8ac['datasetCode']||_0x16f8ac['code'],super(_0x397542);}[a0_0x342bd1(0x377)](){return;}[a0_0x342bd1(0x247)](){return[];}[a0_0x342bd1(0x451)](){return[];}get[a0_0x342bd1(0x328)](){const _0x71fdf4=a0_0x342bd1;return this[_0x71fdf4(0x2e3)]();}[a0_0x342bd1(0x28f)](){const _0xeb9668=a0_0x342bd1;if(!this['_fieldList']){const _0x48eeb8=this[_0xeb9668(0x228)]();throw new Error(_0xeb9668(0x2ec));}return this[_0xeb9668(0x378)];}[a0_0x342bd1(0x364)](){const _0x2f89e1=a0_0x342bd1;if(!this['_fieldListWithDeleted']){const _0x155772=this[_0x2f89e1(0x228)]();throw new Error(_0x2f89e1(0x3bc));}return this[_0x2f89e1(0x2ee)];}['getFields'](){return[];}[a0_0x342bd1(0x326)](){const _0x2ddda6=a0_0x342bd1,_0xcdb048=this[_0x2ddda6(0x228)]();return _0xcdb048[_0x2ddda6(0x202)];}[a0_0x342bd1(0x2ca)](){const _0x1343f2=a0_0x342bd1;return this[_0x1343f2(0x34a)]()['length'];}[a0_0x342bd1(0x2fe)](_0x3a7ff4){const _0x5c6d0e=a0_0x342bd1,_0x4cf368=this['getFieldInstance'](_0x3a7ff4);return _0x4cf368?_0x4cf368[_0x5c6d0e(0x43b)]:undefined;}[a0_0x342bd1(0x246)](_0x4bb864){return;}[a0_0x342bd1(0x3ee)](_0x4e7819){const _0x32a837=a0_0x342bd1;if(!_0x4e7819||typeof _0x4e7819!==_0x32a837(0x1eb))return!![]&&console[_0x32a837(0x1fc)](_0x32a837(0x2ea),_0x4e7819),{};if(_0x32a837(0x2ab)in _0x4e7819){const _0x99587c=_0x4e7819;return{'primaryKey':typeof _0x99587c['pkField']===_0x32a837(0x32b)?_0x99587c[_0x32a837(0x2ab)]:Boolean(_0x99587c['pkField']),'required':_0x99587c[_0x32a837(0x22c)],'systemRetain':Boolean(_0x99587c['systemRetain']),'autoIncrement':_0x99587c[_0x32a837(0x468)]??undefined};}if(!(_0x32a837(0x2f8)in _0x4e7819)||!_0x4e7819[_0x32a837(0x2f8)])return{};try{const _0x45b0e4=typeof _0x4e7819[_0x32a837(0x2f8)]===_0x32a837(0x3d2)?JSON['parse'](_0x4e7819['extend']):_0x4e7819['extend'];if(typeof _0x45b0e4!==_0x32a837(0x1eb)||_0x45b0e4===null)return{};return _0x45b0e4;}catch{return{};}}[a0_0x342bd1(0x2b0)](){const _0x25ac1e=a0_0x342bd1;if(!this[_0x25ac1e(0x219)]){const _0x5f1dae=this[_0x25ac1e(0x424)](this[_0x25ac1e(0x2d0)]()||{});this[_0x25ac1e(0x219)]=new OperationList(_0x5f1dae,{'fields':this['getFieldList']()['all'](),'pkField':this[_0x25ac1e(0x3c9)][_0x25ac1e(0x1b2)]?.[_0x25ac1e(0x2ab)],'dbtableConfig':this[_0x25ac1e(0x3c9)][_0x25ac1e(0x1b2)]||null});}return this[_0x25ac1e(0x219)];}[a0_0x342bd1(0x424)](_0x59f8c0){const _0x13a392=a0_0x342bd1;if(_0x59f8c0['filter']!==undefined)return _0x59f8c0;return{..._0x59f8c0,'filter':this[_0x13a392(0x447)]()};}['generateDefaultFilterOperation'](){const _0x56d4be=a0_0x342bd1,_0x5dd9c9=this[_0x56d4be(0x2d0)]()?.[_0x56d4be(0x3c5)];let _0x1209b3=_0x5dd9c9?.[_0x56d4be(0x3d8)],_0x1788f5='';if(!_0x1209b3&&this[_0x56d4be(0x2d0)]()){const _0x30782a=Object[_0x56d4be(0x31e)](this[_0x56d4be(0x2d0)]());for(const _0x2a8d32 of _0x30782a){if(_0x2a8d32&&typeof _0x2a8d32===_0x56d4be(0x1eb)&&'host'in _0x2a8d32){_0x1209b3=_0x2a8d32[_0x56d4be(0x3d8)];break;}}}if(_0x5dd9c9?.['path']){const _0x2f857e=_0x5dd9c9[_0x56d4be(0x361)],_0x66ec20=_0x2f857e[_0x56d4be(0x1cd)]('/');_0x66ec20!==-0x1&&(_0x1788f5=_0x2f857e[_0x56d4be(0x3ec)](0x0,_0x66ec20));}const _0x1158fe={};_0x1158fe['name']=_0x56d4be(0x2df),_0x1158fe[_0x56d4be(0x399)]=_0x56d4be(0x1eb),_0x1158fe[_0x56d4be(0x22c)]=![];const _0x25ebf4={};_0x25ebf4[_0x56d4be(0x351)]=_0x56d4be(0x438),_0x25ebf4[_0x56d4be(0x399)]='array',_0x25ebf4[_0x56d4be(0x22c)]=![];const _0x5b7593={};_0x5b7593[_0x56d4be(0x351)]=_0x56d4be(0x1f5),_0x5b7593[_0x56d4be(0x399)]=_0x56d4be(0x261),_0x5b7593[_0x56d4be(0x22c)]=![];const _0x49e073={};_0x49e073[_0x56d4be(0x351)]=_0x56d4be(0x401),_0x49e073['type']=_0x56d4be(0x44b),_0x49e073[_0x56d4be(0x22c)]=![],_0x49e073[_0x56d4be(0x348)]=0x1;const _0x5e694b={};_0x5e694b[_0x56d4be(0x351)]=_0x56d4be(0x3ac),_0x5e694b[_0x56d4be(0x399)]=_0x56d4be(0x44b),_0x5e694b['required']=![],_0x5e694b[_0x56d4be(0x348)]=0xa;const _0x431f3f={};return _0x431f3f[_0x56d4be(0x351)]=_0x56d4be(0x282),_0x431f3f['type']='query',_0x431f3f['description']=_0x56d4be(0x1af),_0x431f3f['method']='POST',_0x431f3f[_0x56d4be(0x3d8)]=_0x1209b3,_0x431f3f['path']=_0x1788f5?_0x1788f5+_0x56d4be(0x2ac):'/filter',_0x431f3f[_0x56d4be(0x2af)]=_0x5dd9c9?.[_0x56d4be(0x2af)]||[_0x1158fe,_0x25ebf4,_0x5b7593,_0x49e073,_0x5e694b],_0x431f3f[_0x56d4be(0x375)]=!![],_0x431f3f;}['getOperations'](){const _0x178b74=a0_0x342bd1;return this['getOperationList']()[_0x178b74(0x3bd)]();}[a0_0x342bd1(0x42b)](){const _0x3ac941=a0_0x342bd1;return this[_0x3ac941(0x2b0)]()[_0x3ac941(0x1b1)]();}[a0_0x342bd1(0x465)](_0x1a12e9){const _0x4ef76c=a0_0x342bd1;if(typeof _0x1a12e9!==_0x4ef76c(0x3d2)){!![]&&console[_0x4ef76c(0x1fc)](_0x4ef76c(0x1cf),_0x1a12e9);return;}return this[_0x4ef76c(0x2b0)]()[_0x4ef76c(0x394)](_0x1a12e9);}['hasOperation'](_0x59e1d4){const _0x4a88b8=a0_0x342bd1;if(typeof _0x59e1d4!=='string')return![];return this[_0x4a88b8(0x2b0)]()['has'](_0x59e1d4);}[a0_0x342bd1(0x417)](_0x32ac14){const _0x305cc4=a0_0x342bd1;if(typeof _0x32ac14!==_0x305cc4(0x3d2))return![];const _0xa7dd8b=this[_0x305cc4(0x465)](_0x32ac14);return _0xa7dd8b?.[_0x305cc4(0x2f2)]()||![];}['getEnabledOperations'](){const _0x968c20=a0_0x342bd1;return this[_0x968c20(0x2b0)]()[_0x968c20(0x40d)]();}['getDisabledOperations'](){const _0x2bdf59=a0_0x342bd1;return this[_0x2bdf59(0x2b0)]()[_0x2bdf59(0x454)]();}[a0_0x342bd1(0x30b)](){const _0x458d56=a0_0x342bd1;return this[_0x458d56(0x2b0)]()['getEnabled']();}['getDisabledOperationInstances'](){const _0x290f21=a0_0x342bd1;return this['getOperationList']()[_0x290f21(0x206)]();}['getFilteredOperations'](_0x4fa1a3={}){return this['getOperationList']()['getFiltered'](_0x4fa1a3);}[a0_0x342bd1(0x1cb)](){const _0xd9cf75=a0_0x342bd1;return{'fieldCount':this[_0xd9cf75(0x2ca)](),'systemFieldCount':this['getSystemFields']()[_0xd9cf75(0x345)],'businessFieldCount':this[_0xd9cf75(0x3fd)]()['length'],'requiredFieldCount':this['getRequiredFields']()[_0xd9cf75(0x345)],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this[_0xd9cf75(0x42b)](),'enabledOperationCount':this[_0xd9cf75(0x3b6)]()['length']};}[a0_0x342bd1(0x25a)](_0x376b9e){const _0x4a6a24=a0_0x342bd1;if(!_0x376b9e||typeof _0x376b9e!==_0x4a6a24(0x1eb))return'';if(_0x4a6a24(0x2bd)in _0x376b9e&&typeof _0x376b9e[_0x4a6a24(0x2bd)]===_0x4a6a24(0x3d2))return _0x376b9e[_0x4a6a24(0x2bd)];if(_0x4a6a24(0x351)in _0x376b9e&&typeof _0x376b9e[_0x4a6a24(0x351)]===_0x4a6a24(0x3d2))return _0x376b9e[_0x4a6a24(0x351)];return'';}[a0_0x342bd1(0x39b)](_0x55c559){const _0x697f72=a0_0x342bd1;return this[_0x697f72(0x28f)]()[_0x697f72(0x2a1)](_0x55c559);}[a0_0x342bd1(0x1c0)](_0x4ab09c){const _0x5bcecb=a0_0x342bd1;if(!_0x4ab09c||typeof _0x4ab09c!==_0x5bcecb(0x1eb))return![];const _0x1cde0c=this['getFieldCode'](_0x4ab09c),_0x235bba=this[_0x5bcecb(0x2cb)](_0x1cde0c);return _0x235bba?_0x235bba[_0x5bcecb(0x353)]():![];}[a0_0x342bd1(0x2b4)](_0x5c148d){const _0x39e1cd=a0_0x342bd1;if(!_0x5c148d||typeof _0x5c148d!=='object')return![];const _0x5bb787=this['getFieldCode'](_0x5c148d),_0x158b65=this[_0x39e1cd(0x2cb)](_0x5bb787);return _0x158b65?_0x158b65[_0x39e1cd(0x270)]():![];}[a0_0x342bd1(0x1ef)](_0x28896c){const _0x263ae3=a0_0x342bd1;if(!_0x28896c||typeof _0x28896c!=='object')return![];const _0x2e879d=this[_0x263ae3(0x25a)](_0x28896c),_0x42b351=this[_0x263ae3(0x2cb)](_0x2e879d);return _0x42b351?_0x42b351[_0x263ae3(0x303)]():![];}[a0_0x342bd1(0x346)](_0x51d871){const _0x2a8856=a0_0x342bd1;if(!_0x51d871||typeof _0x51d871!==_0x2a8856(0x1eb))return![];const _0x4dfe23=this[_0x2a8856(0x25a)](_0x51d871),_0x427d6d=this[_0x2a8856(0x2cb)](_0x4dfe23);return _0x427d6d?_0x427d6d[_0x2a8856(0x2b6)]():![];}[a0_0x342bd1(0x3f9)](_0x4a62f0){const _0x286798=a0_0x342bd1;if(!_0x4a62f0||typeof _0x4a62f0!==_0x286798(0x1eb))return![];const _0x19f06a=this[_0x286798(0x25a)](_0x4a62f0),_0x32002d=this[_0x286798(0x2cb)](_0x19f06a);return _0x32002d?_0x32002d['isMultipleSelect']():![];}['getFieldOptions'](_0xd664bf){const _0x5a4063=a0_0x342bd1;if(!_0xd664bf||typeof _0xd664bf!==_0x5a4063(0x1eb))return[];const _0x81099b=this['getFieldCode'](_0xd664bf),_0xa65556=this[_0x5a4063(0x2cb)](_0x81099b);if(!_0xa65556||!_0xa65556['isEnum']())return[];return _0xa65556[_0x5a4063(0x3ad)]()||[];}[a0_0x342bd1(0x43f)](_0x1bba45){const _0x12d0c7=a0_0x342bd1;if(!_0x1bba45||typeof _0x1bba45!==_0x12d0c7(0x1eb))return;const _0x2bac36=this[_0x12d0c7(0x25a)](_0x1bba45),_0x495244=this[_0x12d0c7(0x2cb)](_0x2bac36);if(!_0x495244||!_0x495244[_0x12d0c7(0x2b6)]())return;return _0x495244['getSelectItemsSource']();}[a0_0x342bd1(0x211)](_0x564547){const _0x4f2b69=a0_0x342bd1;if(!_0x564547||typeof _0x564547!==_0x4f2b69(0x1eb))return;const _0x1977fd=this['getFieldCode'](_0x564547),_0x5310d5=this[_0x4f2b69(0x2cb)](_0x1977fd);if(!_0x5310d5||!_0x5310d5[_0x4f2b69(0x2b6)]())return;return _0x5310d5[_0x4f2b69(0x1f0)]();}[a0_0x342bd1(0x209)](){const _0x5b2ff5=a0_0x342bd1;return this['getFieldList']()['getPrimaryKeys']()[_0x5b2ff5(0x2bc)](_0x4160ae=>_0x4160ae[_0x5b2ff5(0x43b)]);}[a0_0x342bd1(0x374)](){const _0x7d28ca=a0_0x342bd1;return this['getFieldList']()[_0x7d28ca(0x26a)]()[_0x7d28ca(0x2bc)](_0x1c44e4=>_0x1c44e4['raw']);}[a0_0x342bd1(0x3fd)](){const _0x5a49f3=a0_0x342bd1;return this[_0x5a49f3(0x28f)]()[_0x5a49f3(0x409)]()['map'](_0x189208=>_0x189208[_0x5a49f3(0x43b)]);}['getRequiredFields'](){const _0x6880ff=a0_0x342bd1;return this[_0x6880ff(0x28f)]()[_0x6880ff(0x272)]()['map'](_0x3f8eb4=>_0x3f8eb4['raw']);}[a0_0x342bd1(0x3ef)](){const _0x34a1a5=a0_0x342bd1,_0x255567=this[_0x34a1a5(0x28f)]()['groupByType'](),_0x193d9d={};for(const [_0x257948,_0x2e51e1]of Object['entries'](_0x255567)){_0x193d9d[_0x257948]=_0x2e51e1[_0x34a1a5(0x2bc)](_0xd82d3f=>_0xd82d3f[_0x34a1a5(0x43b)]);}return _0x193d9d;}['getEnumFields'](){const _0x223505=a0_0x342bd1;return this[_0x223505(0x28f)]()[_0x223505(0x46f)]()[_0x223505(0x2bc)](_0x400e77=>_0x400e77[_0x223505(0x43b)]);}[a0_0x342bd1(0x31b)](){const _0x527557=a0_0x342bd1,_0x179770={};return this[_0x527557(0x252)]()['forEach'](_0x52f75f=>{const _0x5f06e3=_0x527557,_0x2fe1a5=this[_0x5f06e3(0x211)](_0x52f75f);if(_0x2fe1a5){const _0x2bd5c6=this['getFieldCode'](_0x52f75f);_0x179770[_0x2bd5c6]=_0x2fe1a5;}}),_0x179770;}[a0_0x342bd1(0x220)](_0x2ddf39,_0x37a5da){const _0x52eba7=a0_0x342bd1,_0x47ed29=this[_0x52eba7(0x211)](_0x2ddf39);if(!_0x47ed29)return!![];if(_0x47ed29[_0x52eba7(0x45d)]&&!_0x47ed29['options'])return!![];const _0x14f5ad=this[_0x52eba7(0x25a)](_0x2ddf39),_0x2be9ad=this[_0x52eba7(0x2cb)](_0x14f5ad),_0x591b38=_0x2be9ad?_0x2be9ad['isMultipleSelect']():![];if(_0x591b38&&Array[_0x52eba7(0x200)](_0x37a5da))return _0x37a5da[_0x52eba7(0x27e)](_0x424c47=>_0x47ed29[_0x52eba7(0x31e)][_0x52eba7(0x461)](_0x424c47));return _0x47ed29[_0x52eba7(0x31e)][_0x52eba7(0x461)](_0x37a5da);}['toListItem'](){const _0x9e8d80=a0_0x342bd1;return new DatasetItem({'id':this['id'],'name':this[_0x9e8d80(0x351)],'datasetCode':this[_0x9e8d80(0x37f)],'dbtableConfig':this[_0x9e8d80(0x304)]()});}[a0_0x342bd1(0x279)](){const _0x5f4db9=a0_0x342bd1;return _0x5f4db9(0x3ab)+this[_0x5f4db9(0x351)]+',\x20'+this[_0x5f4db9(0x37f)]+',\x20'+this[_0x5f4db9(0x2ca)]()+'\x20fields,\x20'+this['getOperationCount']()+_0x5f4db9(0x2c7)+this['getVersion']()+')';}[a0_0x342bd1(0x2ff)](){const _0x19e879=a0_0x342bd1;return this[_0x19e879(0x22f)](_0x19e879(0x282));}[a0_0x342bd1(0x1f9)](_0x3fe328){const _0x3f448c=a0_0x342bd1;return this[_0x3f448c(0x340)](_0x3f448c(0x282),_0x3fe328);}[a0_0x342bd1(0x265)](){const _0x5387ef=a0_0x342bd1;return this['getOperationFieldsOperatorsMap'](_0x5387ef(0x282));}[a0_0x342bd1(0x22f)](_0x15546e){const _0x339bda=a0_0x342bd1,_0xf88bf2=this[_0x339bda(0x465)](_0x15546e);return _0xf88bf2?_0xf88bf2[_0x339bda(0x46d)]():[];}[a0_0x342bd1(0x340)](_0x16039d,_0x45c860){const _0x91eeef=a0_0x342bd1,_0x5a2da1=this['getOperation'](_0x16039d);return _0x5a2da1?_0x5a2da1[_0x91eeef(0x467)](_0x45c860):[];}['getOperationFieldsOperatorsMap'](_0x9da66){const _0x8668cb=a0_0x342bd1,_0x489a81={};return this[_0x8668cb(0x28f)]()[_0x8668cb(0x40c)](_0x197775=>{const _0x5b7de4=_0x8668cb,_0x264e6c=this[_0x5b7de4(0x340)](_0x9da66,_0x197775[_0x5b7de4(0x2bd)]);_0x264e6c[_0x5b7de4(0x345)]>0x0&&(_0x489a81[_0x197775[_0x5b7de4(0x2bd)]]=_0x264e6c);}),_0x489a81;}[a0_0x342bd1(0x46c)](_0x3267f6,_0x30c61f,_0x840210){const _0x26b443=a0_0x342bd1,_0x291b2c=this[_0x26b443(0x340)](_0x3267f6,_0x30c61f);return _0x291b2c['includes'](_0x840210);}}function a0_0x3171(){const _0x1d353d=['isFieldPrimaryKey','doVersion','create','OperationList(','name','CREATE','isPrimaryKey','padStart','VARCHAR','item1','Field(','primaryKey','getByType','placeholder','聚合函数配置数组(type:\x20sum/count/avg/max/min)','createTime','$lteq','toTableName','const\x20fileUrl\x20=\x20await\x20client.models.','items','path','200','getAllDatasets','getFieldListWithDeleted','getFiltered','repeat','requestFieldCount','\x20items,\x20conflict,\x20latest:\x20','suffix','getDisabledOperationInstances','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','当前页码(可选)','String','replace','();','操作成功','generateFieldExample','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','findByTableName','getSystemFields','_autoGenerated','\x20items,\x20','getDatasetMeta','_fieldList','generateFromSchema','getInternalInstance','push','_avg','BIT','getAggregates','datasetCode','$lte','getOperationsOverviewData','generateFullSDKExample','groupBy','getEnabled','5013ravfiQ','dataset_000000','LONGTEXT','STRING','接口名称','[Field]\x20Invalid\x20field\x20definition','getMethod','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','generateHTTPRequestExample','totalGroups','sdkCallCode','toField','importTemplate','hasDblinkInfo','getSDKInitData','get','properties','find','获取上传脚本','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','type','BIGINT','hasField','generateHTTPExample','30270VoSTGN','tableKey','API路径','set','sortOperationsWithFilterFirst','2947PKpYjl','每页条数','-\x20主键ID,用于定位要更新的记录\x0a\x0a','having','解析\x20requestBody\x20失败:','getCountByMethod','hasTableName','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','UPDATE','DrivenDataDetail(','pageSize','getEnumOptions','fullUrl','getConflictingItems','getDatasetDocMeta','_sum','FieldV2(','count','usageExample','日期时间','getEnabledOperations','_datasetMeta','2.0','getAutoIncrement','Object','getPath','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','toArray','filterBlacklist','当前页码(从\x201\x20开始,默认:\x201)','getRequestParams','这是一段较长的文本内容示例','tooltip','getName','user@example.com','getList',',\x20currentPage,\x20pageSize,\x20...\x20});','systemRetain','getRelatedDataset','_raw','FieldList(','getOne','2024-12-31','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','\x20operations,\x20v2)','displayName','toConfigArray','string','mapDbTypeToType','[parseFieldExtend]\x20Invalid\x20field:','getFilterOperation','isBusiness','SWITCH','host','value','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','DATE','getMissingCRUDOperations','getAllFieldsString','排序规则','multiple','hasConflict','add','北京市朝阳区','getDOType',',\x20...\x20});','findById','\x20groups,\x20','$startWith','exampleWhere','Integer','LONGBLOB','slice','substring','dataset','parseFieldExtend','getFieldsByType','toISOString','groupByType','toListItem','errorCode','2240YILyQO','version','支持单值或数组','null','示例文本','isMultipleSelectField','toFieldDefinition','(id);','max','getBusinessFields','getSystemAnalysisResult','(id,\x20data);','_fields','currentPage','isUpdateTime','getVersion','时间戳','updateTime','dbName','CHAR','5412219mPoQDw','getBusiness','getTooltip','all','forEach','getEnabledNames','系统自动生成','getFullUrl','datasetSDKKey','getDBConfig','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','operationCount','modifyDate','includeRequestExample','fromApiResponse','isOperationEnabled','updateTimeField','(实际字段:','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','hasDbtableConfig','EXCEL_EXPORT','creatorIdField','HTTP\x20请求示例(平铺格式)','getPrimaryKeys','Array','getDeleted','getFieldDescription','ensureFilterOperation','defaultValue','keyword','_datasetMap','$ne','50497nOuDZN','文件上传','getOperationCount','dblinkInfoDTO','每页数量(可选)','NUMBER','解析\x20responseBody\x20失败:','hasCreatorIdField','parseRawRequestBody','https://example.com/file.pdf','includeDisabled','getDatasetSDKKey','method','getFieldListV2','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','select','datasetName','BOOL','raw','-$1',',\x20fields:\x20','DELETE','getFieldSelectItemsSource','getFilteredOperations','CREATE_EXPORT','dbId','`:\x20','排序规则(与\x20Filter\x20API\x20一致)','字段编码','DatasetItem(','generateDefaultFilterOperation','(id,\x20','\x20的\x20extend\x20配置失败:','FLOAT','number','enabled','51530754MZkXCd','(支持单值或数组)','modifierNameField','getResponseSchema','getIndexes','hasModifierIdField','查询单个条件','getDisabledNames','\x20indexes)','[FieldV2]\x20Invalid\x20field\x20definition','sort','supportsCRUD','labelField','parseRawResponseBody','findByCode','yourModel','selectItemsSource','SDK\x20调用','createExport','responseSchema','includes','isOpenAPI','toJSON','Number','getOperation','DbtableConfig(table:\x20','getFieldOperators','autoIncrement','label','$in','isDeleted','isOperatorApplicableToField','getOperators','generateAllOperationsSummary','getEnum','modelId','initDataset','doType','_operationAnalyses','_fieldListV1','item2','Invalid\x20API\x20response:\x20success\x20is\x20false','getUpdatableFields','Filter\x20API\x20-\x20高级查询接口','datasetInfo','size','dbtableConfig','generateSDKCallCode','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','[dsparser]\x20跳过重复的表名\x20\x22','getLast','generateSDKInitCode','hasCreateTimeField','hasConflicts','prefix','HTTP\x20直接调用时使用平铺格式:\x0a','getUploadFileScript','tableData','getDefaultValue','online','isPrimaryKeyField','$endWith','creatorNameField','FieldV1(','TIME','getOneUpdate','Object[]','toConfig','富文本','round','description','getStats','fromField','lastIndexOf','getAppCode','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getCreateTime','$or','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','<!--\x5cs*CONDITION:\x5cs*','\x20operation','modelCode','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','主键ID(必填)','TEXTAREA','SDK\x20调用时传递两个参数:\x0a','TIMESTAMP','每页数量','GET_ONE_UPDATE','update','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getOperations','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','no\x20conflicts','status','isMultipleSelect','创建导出','$eq','sortNum','address','min','RICH_TEXT','keys','object','value2','logicField','String[]','isRequiredField','getEnumMeta','getRequiredFields','hasRelation','请求示例','分组后的过滤条件(对聚合结果进行过滤)','orderBy','getOperationRequestFields','enabledOperationCount','getEnumValues','getFieldFilterOperators','getFieldName','();\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}','warn','datasetKey','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','distinct','isArray','hasUpdateTimeField','fields','getOperationStats','Operation\x20not\x20found:\x20','getSelectOptions','getDisabled','getAllFieldsArray','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getPrimaryKeyFields','taskInfo','valueLabels','##\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','findByName','withDeleted','const\x20result\x20=\x20await\x20client.models.','_min','getEnumFieldMeta','condition','getUpdateTime','getOperationDocMeta','450HQAEXv','getFieldDefinition','children','getResponseParamsDocInfo','_operationList','查询单条','getRequestParamsDocInfo','dataset_','DOUBLE','示例值','total_count','validateEnumValue','getDisabledOperations','getEnabledOperationAnalyses','appCode','任务信息','({\x20code,\x20label\x20});','getFilteredOperationAnalyses','ARRAY','getFieldDataSource','value1','getHTTPRequestParamsDocInfo','generateResponseExample','required','generateOperationSummary','getCodes','getOperationOperators','columnName','getLatestDatasets','INTEGER','getAll','fieldName','DatasetList(','successCode','SELECT','getFileUrl','当前页码','6LRLjlT','\x22,数据集:\x20','options','dbVersion','createImport','创建导入','groups','entries','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','完整的\x20SDK\x20调用代码','context','modifierIdField','getFieldRaw','getRelations','isNumericField','getOperationAnalysis','desc','iterator','data','precision','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','_instance','\x20fields,\x20','customFilter','getEnumFields','normalizeDbType','title','email','DrivenDataDetailPlusV2(','split','bind','获取下拉选项','getFieldCode','env','getVirtualTables','charAt','systemFieldCount','enumValues','支持多个条件','array','13800138000','total','tenantCode','getFieldsFilterOperatorsMap','trim','590yFsKGI','aggregate','tableName','getSystem','GET_ONE_ORIGIN','empty','getDisplayName','getIds','generateSingleValueExample','isSystem','excelExport','getRequired','getTableKey','detectConflicts','enableDeduplication','isCreateTime','JSON','generateUsageExample','toString','操作名称','toObject','-\x20主键使用\x20`id`\x20字段\x0a','getConflictStats','every','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','getRealTables','getLatest','filter','数组查询(支持多选)','success','getGroupedParams','GET_FILE_URL','createTimeField','每页数量(默认:\x2020)','getRaw','N/A','GET_UPLOAD_FILE_SCRIPT','Excel导出','\x5c}\x5c}','generateRequestAllExamples','getFieldList','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','errorMsg','daily','_requestExampleCache','分组字段列表','_extend','getModelName','generateAliasExplanation','(params);','column','_relations','({\x20currentPage,\x20pageSize\x20});','\x20fields)','下拉选择','CHECKBOX','datasetMap','getType','has','responseBody','getId','$gteq','forceVersion','单值查询','getTableName','getCountByType','some','parse','pkField','/filter','-\x20`','IMAGE','params','getOperationList','getFieldOptions','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','random','isSystemField','toUpperCase','isEnum','$and','getFirst','toDatasetId','phone','getAt','map','code','$gte','\x20API\x20文档','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','createFields','DrivenDataDetailV2(','RADIO','msg','_operations','getActive','\x20operations,\x20','getApplicableOperators','generateRequestExample','getFieldCount','getFieldInstance','\x20operations)','getRelationsByField','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','getEnumMetas','getOperationsData','_fieldListV2','({\x20','toDatasetName','getDatabaseVersion','GET','test','TINYINT','DatasetGroup(','SMALLINT','getExtendField','\x20relations,\x20','groupByTableName','\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','BOOLEAN','where','dbType','getFieldDisplayName','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','getSource','relations','generateAllOperationsFullSDKExample','选项编码(可选)','查询列表','getCount','now','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','getHTTPFields','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','字段名称','_fieldListWithDeleted','createDate','has\x20conflicts','TEXT','isEnabled','\x20operations,\x20v1)','1.0.0-beta.8','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','getConflicts','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','extend',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','1246976dIrcFe','selectBestOperator','toLowerCase','generateExampleValue','getField','getFilterOperators','toDatasetCode','stringify','DATETIME','isRequired','getRawDbtableConfig','delete','getTenantCode','getUpdateFields','2024-01-01','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','generateConfig','getEnabledOperationInstances','dataIndex','返回字段列表(字段投影)','function','from','0000','getOperationAnalysesByType','includeDeleted','$contain','join','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','DESC','hasFilterOperation','sdkCall','demo-app','requestBody','getEnumFieldsMeta','isAutoIncrement','getDbTypeForOperation','values','field_name','prototype','useFullExample','isEmpty','getFieldNames','DatasetGroupMap(','operations','getFieldsWithDeleted','BLOB','source','index','sum','boolean','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getCode','tableColumns','avg','getOperationAnalyses','deleted','getModelAlias','createAll','requestFields','getDatabaseType','INT','getItems','getOneOrigin','allFields','获取数据集列表失败:\x20','getNames','查询单条(原始)','_fieldListV1WithDeleted','FieldListV2(','查询单条(用于更新)','getOperationFieldOperators','hasOperation','isVirtualTable','generateConfigArray','fieldCode','length','isEnumField','alias','default','DECIMAL','getFields','获取文件URL','dbTypeLen'];a0_0x3171=function(){return _0x1d353d;};return a0_0x3171();}class FieldBase{get[a0_0x342bd1(0x2e0)](){return;}get[a0_0x342bd1(0x34c)](){return;}get[a0_0x342bd1(0x3d0)](){return;}get[a0_0x342bd1(0x472)](){return;}['isBusiness'](){const _0x5cd4b4=a0_0x342bd1;return!this[_0x5cd4b4(0x270)]();}[a0_0x342bd1(0x46b)](){return this['deleted'];}[a0_0x342bd1(0x2b6)](){const _0x5114e9=a0_0x342bd1,_0x447eb2=[_0x5114e9(0x2c3),_0x5114e9(0x237),_0x5114e9(0x29e)];return _0x447eb2['includes'](this[_0x5114e9(0x399)]);}[a0_0x342bd1(0x1e3)](){const _0x1fb590=a0_0x342bd1;return this[_0x1fb590(0x399)]===_0x1fb590(0x29e);}[a0_0x342bd1(0x1f8)](){const _0x18befa=a0_0x342bd1,_0x5814fb=this[_0x18befa(0x1f0)]();return _0x5814fb?.[_0x18befa(0x31e)]||[];}[a0_0x342bd1(0x1f0)](){const _0x376fdc=a0_0x342bd1;if(!this['isEnum']())return;const _0x48115c=this['getEnumOptions'](),_0x390f6f=this['getSelectItemsSource'](),_0x2c473d=[],_0x2192c0={},_0x389672=_0x358e59=>{_0x358e59['forEach'](_0x358181=>{const _0x435a95=a0_0x380d;_0x2c473d[_0x435a95(0x37b)](_0x358181['value']),_0x2192c0[String(_0x358181['value'])]=_0x358181[_0x435a95(0x469)],_0x358181[_0x435a95(0x217)]&&_0x358181[_0x435a95(0x217)][_0x435a95(0x345)]>0x0&&_0x389672(_0x358181[_0x435a95(0x217)]);});};return _0x48115c&&_0x48115c[_0x376fdc(0x345)]>0x0&&_0x389672(_0x48115c),{'code':this[_0x376fdc(0x2bd)],'name':this[_0x376fdc(0x351)],'type':this[_0x376fdc(0x399)],'multiple':this[_0x376fdc(0x1e3)](),'options':_0x48115c,'selectItemsSource':_0x390f6f,'values':_0x2c473d,'valueLabels':_0x2192c0};}get[a0_0x342bd1(0x25f)](){const _0x28bab0=a0_0x342bd1;return this[_0x28bab0(0x1f8)]();}[a0_0x342bd1(0x279)](){const _0x46b73b=a0_0x342bd1;return _0x46b73b(0x357)+this['name']+',\x20'+this[_0x46b73b(0x2bd)]+',\x20'+this[_0x46b73b(0x399)]+',\x20'+this[_0x46b73b(0x403)]()+')';}}class FieldV1 extends FieldBase{[a0_0x342bd1(0x3c9)];[a0_0x342bd1(0x295)]=null;constructor(_0xc94e99){const _0xbca735=a0_0x342bd1;super();if(!_0xc94e99||typeof _0xc94e99!==_0xbca735(0x1eb))throw new Error(_0xbca735(0x38a));this[_0xbca735(0x3c9)]=_0xc94e99;}[a0_0x342bd1(0x3fa)](){const _0x10cf80=a0_0x342bd1;return this[_0x10cf80(0x3c9)];}[a0_0x342bd1(0x403)](){return'v1';}get[a0_0x342bd1(0x43b)](){const _0x17121c=a0_0x342bd1;return this[_0x17121c(0x3c9)];}get['name'](){const _0x30e4f8=a0_0x342bd1;return this['_raw'][_0x30e4f8(0x351)]||'';}get['code'](){const _0x246adc=a0_0x342bd1;return this[_0x246adc(0x3c9)][_0x246adc(0x2bd)]||'';}get[a0_0x342bd1(0x399)](){const _0x4c1666=a0_0x342bd1;return this['_raw'][_0x4c1666(0x399)]||'';}get['description'](){return this['_raw']['description']||'';}get[a0_0x342bd1(0x331)](){return Boolean(this['_raw']['deleted']);}get[a0_0x342bd1(0x2e0)](){const _0x252f2f=a0_0x342bd1;return this[_0x252f2f(0x3c9)]['dbType'];}get[a0_0x342bd1(0x34c)](){const _0x1b4c6=a0_0x342bd1;return this[_0x1b4c6(0x3c9)]['dbTypeLen'];}get[a0_0x342bd1(0x3d0)](){const _0x151a02=a0_0x342bd1;return this[_0x151a02(0x3c9)][_0x151a02(0x347)];}get[a0_0x342bd1(0x472)](){return;}get[a0_0x342bd1(0x2f8)](){const _0x4dfe8f=a0_0x342bd1;if(this[_0x4dfe8f(0x295)]!==null&&typeof this[_0x4dfe8f(0x295)]===_0x4dfe8f(0x1eb))return this[_0x4dfe8f(0x295)];const _0x5b8ec0=this[_0x4dfe8f(0x3c9)][_0x4dfe8f(0x2f8)];if(!_0x5b8ec0||typeof _0x5b8ec0!=='string')return this[_0x4dfe8f(0x295)]={},this[_0x4dfe8f(0x295)];if(_0x5b8ec0===_0x4dfe8f(0x3f7)||_0x5b8ec0['trim']()===_0x4dfe8f(0x3f7))return this[_0x4dfe8f(0x295)]={},this[_0x4dfe8f(0x295)];try{const _0x5b4597=JSON[_0x4dfe8f(0x2aa)](_0x5b8ec0);return this[_0x4dfe8f(0x295)]=_0x5b4597!==null&&typeof _0x5b4597==='object'&&!Array[_0x4dfe8f(0x200)](_0x5b4597)?_0x5b4597:{},this[_0x4dfe8f(0x295)];}catch(_0x2396e6){return!![]&&console[_0x4dfe8f(0x1fc)]('[FieldV1.extend]\x20解析字段\x20'+this[_0x4dfe8f(0x2bd)]+_0x4dfe8f(0x449),_0x2396e6),this[_0x4dfe8f(0x295)]={},this[_0x4dfe8f(0x295)];}}[a0_0x342bd1(0x303)](){const _0x402856=a0_0x342bd1;return Boolean(this[_0x402856(0x2f8)]['required']);}[a0_0x342bd1(0x353)](){const _0x1780c3=a0_0x342bd1;return Boolean(this[_0x1780c3(0x2f8)][_0x1780c3(0x358)]||this[_0x1780c3(0x2f8)][_0x1780c3(0x2ab)]);}[a0_0x342bd1(0x270)](){return Boolean(this['extend']['systemRetain']);}[a0_0x342bd1(0x31c)](){const _0x5f274e=a0_0x342bd1;return Boolean(this[_0x5f274e(0x2f8)][_0x5f274e(0x468)]);}[a0_0x342bd1(0x276)](){const _0x33cddb=a0_0x342bd1;return Boolean(this[_0x33cddb(0x2f8)][_0x33cddb(0x35c)]);}[a0_0x342bd1(0x402)](){const _0x1bd808=a0_0x342bd1;return Boolean(this[_0x1bd808(0x2f8)][_0x1bd808(0x405)]);}[a0_0x342bd1(0x26d)](){const _0x1b0f00=a0_0x342bd1;return this[_0x1b0f00(0x351)];}['getFieldName'](){const _0x1e9bda=a0_0x342bd1;return this[_0x1e9bda(0x2bd)];}['isEnum'](){const _0xa4ba72=a0_0x342bd1,_0x37acac=[_0xa4ba72(0x2c3),_0xa4ba72(0x237),_0xa4ba72(0x29e)];if(_0x37acac['includes'](this[_0xa4ba72(0x399)]))return!![];const _0x3b7e09=this[_0xa4ba72(0x2f8)];return Boolean(_0x3b7e09[_0xa4ba72(0x23c)]&&Array[_0xa4ba72(0x200)](_0x3b7e09[_0xa4ba72(0x23c)])&&_0x3b7e09['options'][_0xa4ba72(0x345)]>0x0||_0x3b7e09[_0xa4ba72(0x45d)]);}[a0_0x342bd1(0x1e3)](){const _0x174024=a0_0x342bd1;if(this[_0x174024(0x399)]==='CHECKBOX')return!![];return Boolean(this[_0x174024(0x2f8)][_0x174024(0x3df)]);}[a0_0x342bd1(0x3ad)](){const _0x4f1461=a0_0x342bd1,_0x211e76=this[_0x4f1461(0x2f8)];if(_0x211e76['options']&&Array[_0x4f1461(0x200)](_0x211e76[_0x4f1461(0x23c)]))return _0x211e76['options'];return;}['getSelectItemsSource'](){const _0x1766db=a0_0x342bd1,_0x4debbb=this[_0x1766db(0x2f8)];if(_0x4debbb['selectItemsSource']&&typeof _0x4debbb[_0x1766db(0x45d)]===_0x1766db(0x1eb))return _0x4debbb['selectItemsSource'];return;}[a0_0x342bd1(0x31d)](){const _0x8946a=a0_0x342bd1;return this[_0x8946a(0x399)][_0x8946a(0x2b5)]();}[a0_0x342bd1(0x1be)](){const _0x2fea90=a0_0x342bd1;return this[_0x2fea90(0x2f8)][_0x2fea90(0x425)];}['getTooltip'](){const _0x12756a=a0_0x342bd1;return this[_0x12756a(0x2f8)][_0x12756a(0x3c2)];}[a0_0x342bd1(0x463)](){const _0x104b41=a0_0x342bd1;return{'name':this[_0x104b41(0x351)],'code':this[_0x104b41(0x2bd)],'type':this['type'],'dbType':this[_0x104b41(0x2e0)],'dbTypeLen':this[_0x104b41(0x34c)],'description':this[_0x104b41(0x1ca)],'required':this[_0x104b41(0x303)](),'primaryKey':this['isPrimaryKey'](),'system':this['isSystem'](),'autoIncrement':this[_0x104b41(0x31c)](),'createTime':this[_0x104b41(0x276)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x104b41(0x2b6)](),'enumMeta':this['isEnum']()?this[_0x104b41(0x1f0)]():undefined};}[a0_0x342bd1(0x279)](){const _0x4f37ad=a0_0x342bd1;return _0x4f37ad(0x1c3)+this[_0x4f37ad(0x351)]+',\x20'+this[_0x4f37ad(0x2bd)]+',\x20'+this['type']+')';}}class FieldListBase{[a0_0x342bd1(0x400)];constructor(_0xcbf762,_0xf89eb4){const _0x5587b7=a0_0x342bd1;if(!Array[_0x5587b7(0x200)](_0xcbf762))throw new Error(_0x5587b7(0x315));const _0x8c7089=_0xf89eb4?.['includeDeleted']??![],_0x29d91b=_0x8c7089?_0xcbf762:_0xcbf762[_0x5587b7(0x282)](_0x88b537=>{const _0x9605e6=_0x5587b7,_0x3c4d1f=_0x88b537;return!_0x3c4d1f[_0x9605e6(0x331)];});this[_0x5587b7(0x400)]=this['createFields'](_0x29d91b);}get['length'](){const _0x5338cb=a0_0x342bd1;return this[_0x5338cb(0x400)]['length'];}[a0_0x342bd1(0x40b)](){const _0x452407=a0_0x342bd1;return[...this[_0x452407(0x400)]];}['at'](_0x255b11){const _0x3c3071=a0_0x342bd1;return this[_0x3c3071(0x400)]['at'](_0x255b11);}[a0_0x342bd1(0x396)](_0x4ed073){const _0x3567fd=a0_0x342bd1;return this[_0x3567fd(0x400)]['find'](_0x17b1c9=>_0x17b1c9['code']===_0x4ed073);}[a0_0x342bd1(0x20d)](_0x411c4c){const _0x41c32f=a0_0x342bd1;return this[_0x41c32f(0x400)]['find'](_0x41952b=>_0x41952b[_0x41c32f(0x351)]===_0x411c4c);}[a0_0x342bd1(0x2a1)](_0xdba94){const _0x437ee1=a0_0x342bd1;return this[_0x437ee1(0x400)][_0x437ee1(0x2a9)](_0x55d5bc=>_0x55d5bc[_0x437ee1(0x2bd)]===_0xdba94);}[a0_0x342bd1(0x40c)](_0x281759){const _0x819914=a0_0x342bd1;this[_0x819914(0x400)]['forEach'](_0x281759);}[a0_0x342bd1(0x2bc)](_0x2a196d){const _0x2b3017=a0_0x342bd1;return this[_0x2b3017(0x400)][_0x2b3017(0x2bc)](_0x2a196d);}[a0_0x342bd1(0x282)](_0x2c3505){const _0x2265a3=a0_0x342bd1;return this[_0x2265a3(0x400)][_0x2265a3(0x282)](_0x2c3505);}['every'](_0x40c239){const _0x522ab2=a0_0x342bd1;return this[_0x522ab2(0x400)][_0x522ab2(0x27e)](_0x40c239);}['some'](_0x378387){return this['_fields']['some'](_0x378387);}[a0_0x342bd1(0x272)](){const _0x305f96=a0_0x342bd1;return this['_fields'][_0x305f96(0x282)](_0x630bf5=>_0x630bf5[_0x305f96(0x303)]());}['getPrimaryKeys'](){const _0x5e4fd1=a0_0x342bd1;return this[_0x5e4fd1(0x400)]['filter'](_0x32d518=>_0x32d518[_0x5e4fd1(0x353)]());}[a0_0x342bd1(0x26a)](){const _0x356ac8=a0_0x342bd1;return this[_0x356ac8(0x400)][_0x356ac8(0x282)](_0xf7a3c=>_0xf7a3c['isSystem']());}[a0_0x342bd1(0x409)](){const _0x41a005=a0_0x342bd1;return this[_0x41a005(0x400)][_0x41a005(0x282)](_0x63a45a=>_0x63a45a['isBusiness']());}[a0_0x342bd1(0x46f)](){const _0x3fcbb7=a0_0x342bd1;return this[_0x3fcbb7(0x400)][_0x3fcbb7(0x282)](_0x26b10c=>_0x26b10c[_0x3fcbb7(0x2b6)]());}[a0_0x342bd1(0x3b9)](){const _0x5dfa7a=a0_0x342bd1;return this[_0x5dfa7a(0x400)]['filter'](_0x461618=>_0x461618[_0x5dfa7a(0x31c)]());}[a0_0x342bd1(0x1d0)](){const _0x24ba61=a0_0x342bd1;return this[_0x24ba61(0x400)][_0x24ba61(0x282)](_0x24401a=>_0x24401a['isCreateTime']());}[a0_0x342bd1(0x213)](){const _0x2cf0fa=a0_0x342bd1;return this[_0x2cf0fa(0x400)][_0x2cf0fa(0x282)](_0x4ec8c3=>_0x4ec8c3[_0x2cf0fa(0x402)]());}[a0_0x342bd1(0x422)](){const _0x125440=a0_0x342bd1;return this['_fields'][_0x125440(0x282)](_0xfbb099=>_0xfbb099[_0x125440(0x46b)]());}[a0_0x342bd1(0x2c6)](){const _0x5b5901=a0_0x342bd1;return this['_fields'][_0x5b5901(0x282)](_0x449be8=>!_0x449be8[_0x5b5901(0x46b)]());}[a0_0x342bd1(0x3f1)](){const _0x306ecb=a0_0x342bd1,_0x41ceb2={};return this[_0x306ecb(0x400)][_0x306ecb(0x40c)](_0x3e37f3=>{const _0xdc56f3=_0x306ecb,_0xcf0466=_0x3e37f3[_0xdc56f3(0x399)];!_0x41ceb2[_0xcf0466]&&(_0x41ceb2[_0xcf0466]=[]),_0x41ceb2[_0xcf0466]['push'](_0x3e37f3);}),_0x41ceb2;}[a0_0x342bd1(0x2cf)](){const _0x464d71=a0_0x342bd1,_0x3775d7={};return this[_0x464d71(0x400)]['forEach'](_0x3fff53=>{const _0x307377=_0x464d71;if(_0x3fff53[_0x307377(0x2b6)]()){const _0x49d002=_0x3fff53[_0x307377(0x1f0)]();_0x49d002&&(_0x3775d7[_0x3fff53[_0x307377(0x2bd)]]=_0x49d002);}}),_0x3775d7;}[a0_0x342bd1(0x1cb)](){const _0x13ecfc=a0_0x342bd1;return{'total':this[_0x13ecfc(0x345)],'required':this[_0x13ecfc(0x272)]()['length'],'primaryKey':this['getPrimaryKeys']()['length'],'system':this[_0x13ecfc(0x26a)]()[_0x13ecfc(0x345)],'business':this['getBusiness']()[_0x13ecfc(0x345)],'enum':this[_0x13ecfc(0x46f)]()[_0x13ecfc(0x345)],'autoIncrement':this[_0x13ecfc(0x3b9)]()[_0x13ecfc(0x345)]};}[a0_0x342bd1(0x22e)](){const _0x4107ab=a0_0x342bd1;return this['_fields'][_0x4107ab(0x2bc)](_0x37c71f=>_0x37c71f[_0x4107ab(0x2bd)]);}[a0_0x342bd1(0x33b)](){const _0x5bfd1d=a0_0x342bd1;return this['_fields']['map'](_0x5192f5=>_0x5192f5[_0x5bfd1d(0x26d)]());}[a0_0x342bd1(0x323)](){const _0x49e492=a0_0x342bd1;return this['_fields'][_0x49e492(0x2bc)](_0x3e60bb=>_0x3e60bb[_0x49e492(0x1fa)]());}[a0_0x342bd1(0x463)](){const _0x7d0d2f=a0_0x342bd1;return this[_0x7d0d2f(0x400)][_0x7d0d2f(0x2bc)](_0x52b2e3=>_0x52b2e3[_0x7d0d2f(0x463)]());}[a0_0x342bd1(0x279)](){const _0x3ad63c=a0_0x342bd1;return _0x3ad63c(0x3ca)+this[_0x3ad63c(0x345)]+_0x3ad63c(0x29c);}}class FieldListV1 extends FieldListBase{constructor(_0xc4400a,_0x4689b4){super(_0xc4400a,_0x4689b4);}[a0_0x342bd1(0x2c1)](_0x4b8eb5){const _0x1ffe1b=a0_0x342bd1;return _0x4b8eb5[_0x1ffe1b(0x2bc)](_0xd5dc07=>new FieldV1(_0xd5dc07));}[a0_0x342bd1(0x40b)](){const _0x30bd77=a0_0x342bd1;return[...this[_0x30bd77(0x400)]];}['at'](_0x36f155){const _0x54033a=a0_0x342bd1;return this[_0x54033a(0x400)]['at'](_0x36f155);}[a0_0x342bd1(0x396)](_0x5bcb09){const _0x55ba6d=a0_0x342bd1;return this[_0x55ba6d(0x400)]['find'](_0x4f283c=>_0x4f283c[_0x55ba6d(0x2bd)]===_0x5bcb09);}[a0_0x342bd1(0x20d)](_0x5116ed){const _0x407946=a0_0x342bd1;return this[_0x407946(0x400)][_0x407946(0x396)](_0xc13638=>_0xc13638[_0x407946(0x351)]===_0x5116ed);}[a0_0x342bd1(0x282)](_0x37e2de){const _0x28463d=a0_0x342bd1;return this[_0x28463d(0x400)][_0x28463d(0x282)](_0x37e2de);}[a0_0x342bd1(0x2bc)](_0x53528c){const _0x2605db=a0_0x342bd1;return this['_fields'][_0x2605db(0x2bc)](_0x53528c);}[a0_0x342bd1(0x272)](){const _0xf3b2cd=a0_0x342bd1;return this[_0xf3b2cd(0x400)]['filter'](_0x372462=>_0x372462[_0xf3b2cd(0x303)]());}['getPrimaryKeys'](){const _0x458046=a0_0x342bd1;return this[_0x458046(0x400)][_0x458046(0x282)](_0x2ce677=>_0x2ce677[_0x458046(0x353)]());}['getSystem'](){const _0x212202=a0_0x342bd1;return this[_0x212202(0x400)][_0x212202(0x282)](_0x2ecad7=>_0x2ecad7[_0x212202(0x270)]());}[a0_0x342bd1(0x409)](){const _0x3b74fc=a0_0x342bd1;return this[_0x3b74fc(0x400)][_0x3b74fc(0x282)](_0x30ab99=>_0x30ab99[_0x3b74fc(0x3d6)]());}[a0_0x342bd1(0x46f)](){const _0x27ea30=a0_0x342bd1;return this['_fields'][_0x27ea30(0x282)](_0x2d140f=>_0x2d140f[_0x27ea30(0x2b6)]());}['groupByType'](){const _0x15fcd1=a0_0x342bd1,_0x4b5ef5={};return this['_fields'][_0x15fcd1(0x40c)](_0x10a345=>{const _0xa3e5d3=_0x15fcd1,_0x189df5=_0x10a345[_0xa3e5d3(0x399)];!_0x4b5ef5[_0x189df5]&&(_0x4b5ef5[_0x189df5]=[]),_0x4b5ef5[_0x189df5][_0xa3e5d3(0x37b)](_0x10a345);}),_0x4b5ef5;}['raw'](){const _0x7d534=a0_0x342bd1;return this['_fields'][_0x7d534(0x2bc)](_0x4b02cf=>_0x4b02cf[_0x7d534(0x43b)]);}static['from'](_0x45ac93){const _0x196524=a0_0x342bd1,_0x6e231b=_0x45ac93[_0x196524(0x2bc)](_0x48450f=>_0x48450f['raw']);return new FieldListV1(_0x6e231b);}static[a0_0x342bd1(0x20e)](_0x52dcc7){const _0xbc7547=a0_0x342bd1,_0x369744={};return _0x369744[_0xbc7547(0x312)]=!![],new FieldListV1(_0x52dcc7,_0x369744);}}class FieldV2 extends FieldBase{[a0_0x342bd1(0x3c9)];constructor(_0xe9ebb1){const _0x14d16f=a0_0x342bd1;super();if(!_0xe9ebb1||typeof _0xe9ebb1!==_0x14d16f(0x1eb))throw new Error(_0x14d16f(0x456));this[_0x14d16f(0x3c9)]=_0xe9ebb1;}[a0_0x342bd1(0x403)](){return'v2';}get['raw'](){const _0x205989=a0_0x342bd1;return this[_0x205989(0x3c9)];}get['name'](){const _0xa45ba4=a0_0x342bd1;return this[_0xa45ba4(0x3c9)]['name']||'';}get['code'](){const _0x24e6e9=a0_0x342bd1;return this['_raw'][_0x24e6e9(0x351)]||'';}get[a0_0x342bd1(0x3d0)](){const _0x1e418f=a0_0x342bd1;return this[_0x1e418f(0x3c9)]['displayName']||'';}get[a0_0x342bd1(0x399)](){const _0x4799fc=a0_0x342bd1;return this[_0x4799fc(0x3d3)](this['_raw'][_0x4799fc(0x2e0)]);}get[a0_0x342bd1(0x1ca)](){const _0x1c7da3=a0_0x342bd1;return this['_raw'][_0x1c7da3(0x1ca)]||'';}get[a0_0x342bd1(0x331)](){const _0x327bc5=a0_0x342bd1;return Boolean(this[_0x327bc5(0x3c9)][_0x327bc5(0x331)]);}[a0_0x342bd1(0x303)](){const _0x208e24=a0_0x342bd1;return Boolean(this[_0x208e24(0x3c9)][_0x208e24(0x22c)]);}['isPrimaryKey'](){const _0x5bf27d=a0_0x342bd1;return Boolean(this[_0x5bf27d(0x3c9)]['pkField']);}['isSystem'](){const _0x54bc18=a0_0x342bd1;return Boolean(this[_0x54bc18(0x3c9)][_0x54bc18(0x3c7)]);}[a0_0x342bd1(0x31c)](){const _0x323e23=a0_0x342bd1;return Boolean(this[_0x323e23(0x3c9)][_0x323e23(0x468)]);}['isCreateTime'](){const _0x38aa9a=a0_0x342bd1;return this[_0x38aa9a(0x3c9)]['systemRetain']===_0x38aa9a(0x35c);}['isUpdateTime'](){const _0x42505b=a0_0x342bd1;return this[_0x42505b(0x3c9)][_0x42505b(0x3c7)]===_0x42505b(0x405);}[a0_0x342bd1(0x26d)](){return this['_raw']['displayName']||'';}['getFieldName'](){const _0x21b1a9=a0_0x342bd1;return this['_raw'][_0x21b1a9(0x351)]||'';}['isEnum'](){const _0x3fb8aa=a0_0x342bd1;return Boolean(this['_raw'][_0x3fb8aa(0x23c)]&&Array[_0x3fb8aa(0x200)](this['_raw']['options'])&&this[_0x3fb8aa(0x3c9)]['options'][_0x3fb8aa(0x345)]>0x0);}[a0_0x342bd1(0x1e3)](){const _0x39f7c2=a0_0x342bd1,_0x3bc4e1=this[_0x39f7c2(0x3c9)][_0x39f7c2(0x2f8)];if(!_0x3bc4e1)return![];try{const _0x19f53f=JSON[_0x39f7c2(0x2aa)](_0x3bc4e1);if(_0x19f53f&&typeof _0x19f53f===_0x39f7c2(0x1eb)&&_0x39f7c2(0x3df)in _0x19f53f)return Boolean(_0x19f53f[_0x39f7c2(0x3df)]);}catch{}return![];}[a0_0x342bd1(0x3ad)](){const _0x32dd9a=a0_0x342bd1;if(this[_0x32dd9a(0x3c9)][_0x32dd9a(0x23c)]&&Array[_0x32dd9a(0x200)](this[_0x32dd9a(0x3c9)]['options']))return this[_0x32dd9a(0x3c9)][_0x32dd9a(0x23c)];return;}['getSelectItemsSource'](){const _0x252162=a0_0x342bd1,_0x2ba0d7=this[_0x252162(0x3c9)][_0x252162(0x2f8)];if(!_0x2ba0d7)return;try{const _0x3ebbdc=JSON[_0x252162(0x2aa)](_0x2ba0d7);if(_0x3ebbdc&&typeof _0x3ebbdc==='object'&&_0x252162(0x45d)in _0x3ebbdc)return _0x3ebbdc['selectItemsSource'];}catch{}return;}[a0_0x342bd1(0x31d)](){const _0x173673=a0_0x342bd1;return this[_0x173673(0x3c9)][_0x173673(0x2e0)][_0x173673(0x36e)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x173673(0x266)]()[_0x173673(0x2b5)]();}[a0_0x342bd1(0x1be)](){return;}[a0_0x342bd1(0x40a)](){return;}get['dbType'](){const _0x2cc92f=a0_0x342bd1;return this[_0x2cc92f(0x3c9)]['dbType'];}get[a0_0x342bd1(0x34c)](){const _0x5016a9=a0_0x342bd1;return this[_0x5016a9(0x3c9)][_0x5016a9(0x34c)];}[a0_0x342bd1(0x3e3)](){const _0x44a3f8=a0_0x342bd1;return this[_0x44a3f8(0x3c9)][_0x44a3f8(0x472)]??null;}get[a0_0x342bd1(0x472)](){const _0x297875=a0_0x342bd1;return this[_0x297875(0x3c9)]['doType']??null;}[a0_0x342bd1(0x463)](){const _0x2f3639=a0_0x342bd1;return{'name':this[_0x2f3639(0x351)],'code':this['code'],'type':this[_0x2f3639(0x399)],'dbType':this['dbType'],'dbTypeLen':this['dbTypeLen'],'doType':this[_0x2f3639(0x3e3)](),'displayName':this['displayName'],'description':this[_0x2f3639(0x1ca)],'required':this[_0x2f3639(0x303)](),'primaryKey':this[_0x2f3639(0x353)](),'system':this['isSystem'](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x2f3639(0x276)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x2f3639(0x2b6)](),'enumMeta':this[_0x2f3639(0x2b6)]()?this[_0x2f3639(0x1f0)]():undefined};}[a0_0x342bd1(0x279)](){const _0x5cf901=a0_0x342bd1;return _0x5cf901(0x3b2)+this['name']+',\x20'+this['code']+',\x20'+this[_0x5cf901(0x2e0)]+',\x20doType='+this[_0x5cf901(0x3e3)]()+')';}[a0_0x342bd1(0x3d3)](_0x29fcd1){const _0x3321a1=a0_0x342bd1,_0x3a8442={};_0x3a8442['VARCHAR']='TEXT',_0x3a8442[_0x3321a1(0x407)]='TEXT',_0x3a8442[_0x3321a1(0x2f1)]=_0x3321a1(0x1d8),_0x3a8442['LONGTEXT']=_0x3321a1(0x1d8),_0x3a8442[_0x3321a1(0x336)]=_0x3321a1(0x42e),_0x3a8442['BIGINT']=_0x3321a1(0x42e),_0x3a8442[_0x3321a1(0x2d7)]='NUMBER',_0x3a8442[_0x3321a1(0x2d9)]='NUMBER',_0x3a8442[_0x3321a1(0x349)]=_0x3321a1(0x42e),_0x3a8442[_0x3321a1(0x21d)]=_0x3321a1(0x42e),_0x3a8442[_0x3321a1(0x44a)]='NUMBER',_0x3a8442[_0x3321a1(0x302)]='DATE',_0x3a8442[_0x3321a1(0x1da)]=_0x3321a1(0x3db),_0x3a8442[_0x3321a1(0x3db)]=_0x3321a1(0x3db),_0x3a8442[_0x3321a1(0x1c4)]='TIME',_0x3a8442[_0x3321a1(0x2de)]=_0x3321a1(0x3d7),_0x3a8442[_0x3321a1(0x37d)]='SWITCH',_0x3a8442[_0x3321a1(0x327)]='FILE',_0x3a8442[_0x3321a1(0x3ea)]='FILE';const _0x3e9482=_0x3a8442,_0x556798=_0x29fcd1['toUpperCase']();return _0x3e9482[_0x556798]||_0x3321a1(0x2f1);}}class FieldListV2 extends FieldListBase{constructor(_0x40cb1c,_0x127407){super(_0x40cb1c,_0x127407);}[a0_0x342bd1(0x2c1)](_0x20fb35){return _0x20fb35['map'](_0x129eb9=>new FieldV2(_0x129eb9));}[a0_0x342bd1(0x40b)](){const _0x47d664=a0_0x342bd1;return[...this[_0x47d664(0x400)]];}['at'](_0x41ff20){return this['_fields']['at'](_0x41ff20);}['find'](_0x2fb641){const _0x5749d9=a0_0x342bd1;return this[_0x5749d9(0x400)][_0x5749d9(0x396)](_0x229fd9=>_0x229fd9['code']===_0x2fb641);}['findByName'](_0x5aba05){const _0x5318b7=a0_0x342bd1;return this['_fields'][_0x5318b7(0x396)](_0x9b824c=>_0x9b824c[_0x5318b7(0x26d)]()===_0x5aba05);}[a0_0x342bd1(0x282)](_0x281c72){const _0xecaabd=a0_0x342bd1;return this[_0xecaabd(0x400)]['filter'](_0x281c72);}[a0_0x342bd1(0x2bc)](_0x37d5f4){const _0x19fc37=a0_0x342bd1;return this[_0x19fc37(0x400)][_0x19fc37(0x2bc)](_0x37d5f4);}['getRequired'](){const _0x3e99bc=a0_0x342bd1;return this[_0x3e99bc(0x400)][_0x3e99bc(0x282)](_0x169cb0=>_0x169cb0[_0x3e99bc(0x303)]());}[a0_0x342bd1(0x420)](){const _0xec0c53=a0_0x342bd1;return this['_fields'][_0xec0c53(0x282)](_0x136aee=>_0x136aee['isPrimaryKey']());}['getSystem'](){const _0x2515ce=a0_0x342bd1;return this[_0x2515ce(0x400)][_0x2515ce(0x282)](_0x53838a=>_0x53838a[_0x2515ce(0x270)]());}['getBusiness'](){const _0x5a5387=a0_0x342bd1;return this['_fields'][_0x5a5387(0x282)](_0xc85589=>_0xc85589[_0x5a5387(0x3d6)]());}[a0_0x342bd1(0x46f)](){const _0x9744b2=a0_0x342bd1;return this['_fields'][_0x9744b2(0x282)](_0x30e9af=>_0x30e9af[_0x9744b2(0x2b6)]());}['groupByType'](){const _0x388af7=a0_0x342bd1,_0xba95f6={};return this[_0x388af7(0x400)][_0x388af7(0x40c)](_0x261d57=>{const _0x33a974=_0x388af7,_0x4ca955=_0x261d57[_0x33a974(0x399)];!_0xba95f6[_0x4ca955]&&(_0xba95f6[_0x4ca955]=[]),_0xba95f6[_0x4ca955][_0x33a974(0x37b)](_0x261d57);}),_0xba95f6;}[a0_0x342bd1(0x43b)](){const _0x55fd1e=a0_0x342bd1;return this[_0x55fd1e(0x400)]['map'](_0x5322a8=>_0x5322a8[_0x55fd1e(0x43b)]);}static['from'](_0x20898e){const _0x1d031f=a0_0x342bd1,_0x3da03a=_0x20898e[_0x1d031f(0x2bc)](_0x495af4=>_0x495af4[_0x1d031f(0x43b)]);return new FieldListV2(_0x3da03a);}static[a0_0x342bd1(0x20e)](_0x203648){const _0x2296e5=a0_0x342bd1,_0x42c96f={};return _0x42c96f[_0x2296e5(0x312)]=!![],new FieldListV2(_0x203648,_0x42c96f);}[a0_0x342bd1(0x279)](){const _0x4569f7=a0_0x342bd1;return _0x4569f7(0x33e)+this[_0x4569f7(0x345)]+_0x4569f7(0x29c);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x342bd1(0x474)];[a0_0x342bd1(0x33d)];constructor(_0x40617b){super(_0x40617b);}[a0_0x342bd1(0x28f)](){const _0x5b0049=a0_0x342bd1;if(!this[_0x5b0049(0x474)]){const _0x14b7e6={};_0x14b7e6['includeDeleted']=![],this[_0x5b0049(0x474)]=new FieldListV1(this[_0x5b0049(0x3c9)]['properties']||[],_0x14b7e6);}return this[_0x5b0049(0x474)];}[a0_0x342bd1(0x364)](){const _0x318471=a0_0x342bd1;if(!this['_fieldListV1WithDeleted']){const _0x339565={};_0x339565['includeDeleted']=!![],this[_0x318471(0x33d)]=new FieldListV1(this['_raw'][_0x318471(0x395)]||[],_0x339565);}return this[_0x318471(0x33d)];}[a0_0x342bd1(0x34a)](){const _0x21f449=a0_0x342bd1;return(this[_0x21f449(0x3c9)][_0x21f449(0x395)]||[])[_0x21f449(0x282)](_0x56dd6c=>!_0x56dd6c[_0x21f449(0x331)]);}[a0_0x342bd1(0x2ca)](){const _0x2d2e4d=a0_0x342bd1;return this[_0x2d2e4d(0x28f)]()['length'];}['getFieldRaw'](_0x337d0a){const _0x4e6492=a0_0x342bd1;return this[_0x4e6492(0x3c9)][_0x4e6492(0x395)]?.[_0x4e6492(0x396)](_0x6786a3=>_0x6786a3[_0x4e6492(0x2bd)]===_0x337d0a);}['getVersion'](){return'v1';}[a0_0x342bd1(0x228)](){const _0x429094=a0_0x342bd1,_0x10e97e={};return _0x10e97e[_0x429094(0x202)]=this[_0x429094(0x3c9)][_0x429094(0x395)]||[],_0x10e97e[_0x429094(0x312)]=![],_0x10e97e;}[a0_0x342bd1(0x2d0)](){const _0x31b0a4=a0_0x342bd1;return this['_raw'][_0x31b0a4(0x325)];}[a0_0x342bd1(0x2e3)](){const _0x399c08=a0_0x342bd1;return this['_raw'][_0x399c08(0x328)];}[a0_0x342bd1(0x411)](){const _0x57b31f=a0_0x342bd1,_0x898465=this['getRawDbtableConfig'](),_0x2a9b2b=_0x898465?.['dblinkInfoDTO'],_0x46ec95={};return _0x46ec95[_0x57b31f(0x442)]=_0x898465?.[_0x57b31f(0x442)],_0x46ec95['dbName']=_0x898465?.[_0x57b31f(0x406)]??_0x2a9b2b?.['dbName'],_0x46ec95[_0x57b31f(0x2e0)]=_0x2a9b2b?.[_0x57b31f(0x2e0)],_0x46ec95[_0x57b31f(0x23d)]=_0x2a9b2b?.[_0x57b31f(0x23d)],_0x46ec95[_0x57b31f(0x269)]=_0x898465?.['tableName'],_0x46ec95[_0x57b31f(0x1fd)]=_0x898465?.[_0x57b31f(0x1fd)],_0x46ec95['pkField']=_0x898465?.[_0x57b31f(0x2ab)],_0x46ec95['tenantCode']=_0x2a9b2b?.[_0x57b31f(0x264)],_0x46ec95['appCode']=_0x2a9b2b?.[_0x57b31f(0x223)],new DBConfig(_0x46ec95,_0x898465);}get[a0_0x342bd1(0x3f5)](){const _0x390790=a0_0x342bd1;return this[_0x390790(0x3c9)]['version'];}['getFieldInstance'](_0x3b8e49){const _0x2939d2=a0_0x342bd1;if(typeof _0x3b8e49!==_0x2939d2(0x3d2)){!![]&&console[_0x2939d2(0x1fc)]('[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x3b8e49);return;}return this[_0x2939d2(0x28f)]()[_0x2939d2(0x396)](_0x3b8e49);}[a0_0x342bd1(0x3f9)](_0xa678da){const _0x3fbd02=a0_0x342bd1;if(!_0xa678da||typeof _0xa678da!==_0x3fbd02(0x1eb))return![];const _0x8cb2f2=this['getFieldInstance'](_0xa678da['code']);return _0x8cb2f2?_0x8cb2f2[_0x3fbd02(0x1e3)]():![];}[a0_0x342bd1(0x3d5)](){const _0x4927f0=a0_0x342bd1,_0x2784e1=this[_0x4927f0(0x465)](_0x4927f0(0x282));return _0x2784e1;}['hasFilterOperation'](){const _0x837b14=a0_0x342bd1;return this['hasOperation'](_0x837b14(0x282));}[a0_0x342bd1(0x3f2)](){const _0x445eda=a0_0x342bd1;return new DatasetItem({'id':this['id'],'name':this[_0x445eda(0x351)],'datasetCode':this[_0x445eda(0x37f)],'dbtableConfig':this[_0x445eda(0x304)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];[a0_0x342bd1(0x3b7)];[a0_0x342bd1(0x29a)];constructor(_0x3d1ebe){const _0x15ca5f=a0_0x342bd1;super(_0x3d1ebe),this[_0x15ca5f(0x3b7)]=_0x3d1ebe['dataset'],this['_relations']=_0x3d1ebe[_0x15ca5f(0x2e4)]||[];}[a0_0x342bd1(0x403)](){return'v2';}[a0_0x342bd1(0x228)](){const _0x1dae1a=a0_0x342bd1,_0xded554={};return _0xded554[_0x1dae1a(0x202)]=this['_raw'][_0x1dae1a(0x202)],_0xded554[_0x1dae1a(0x312)]=![],_0xded554;}[a0_0x342bd1(0x2d0)](){const _0x38a09a=a0_0x342bd1;return this[_0x38a09a(0x3c9)]['operations'];}[a0_0x342bd1(0x2e3)](){const _0x1a9b74=a0_0x342bd1;return this[_0x1a9b74(0x3c9)]['source'];}['getDBConfig'](){const _0x5a4197=a0_0x342bd1,_0x89f10c=this[_0x5a4197(0x3c9)][_0x5a4197(0x1b2)],_0x1a3bf4=_0x89f10c?.['dblinkInfoDTO'],_0x163acb={};return _0x163acb[_0x5a4197(0x442)]=_0x89f10c?.[_0x5a4197(0x442)],_0x163acb[_0x5a4197(0x406)]=_0x89f10c?.[_0x5a4197(0x406)]??_0x1a3bf4?.[_0x5a4197(0x406)],_0x163acb[_0x5a4197(0x2e0)]=_0x1a3bf4?.['dbType'],_0x163acb[_0x5a4197(0x23d)]=_0x1a3bf4?.[_0x5a4197(0x23d)],_0x163acb[_0x5a4197(0x269)]=_0x89f10c?.[_0x5a4197(0x269)],_0x163acb['datasetKey']=_0x89f10c?.[_0x5a4197(0x1fd)],_0x163acb[_0x5a4197(0x2ab)]=_0x89f10c?.[_0x5a4197(0x2ab)],_0x163acb[_0x5a4197(0x264)]=_0x89f10c?.[_0x5a4197(0x264)]??_0x1a3bf4?.[_0x5a4197(0x264)],_0x163acb[_0x5a4197(0x223)]=_0x89f10c?.[_0x5a4197(0x223)]??_0x1a3bf4?.[_0x5a4197(0x223)],new DBConfig(_0x163acb,_0x89f10c);}[a0_0x342bd1(0x28f)](){return this['getFieldListV2']();}[a0_0x342bd1(0x34a)](){const _0x2be976=a0_0x342bd1;return this[_0x2be976(0x3c9)]['fields'];}['getFieldCount'](){const _0x4afdcf=a0_0x342bd1;return this[_0x4afdcf(0x3c9)][_0x4afdcf(0x202)][_0x4afdcf(0x345)];}[a0_0x342bd1(0x246)](_0x1047e0){const _0x271d82=a0_0x342bd1;return this['_raw']['fields'][_0x271d82(0x396)](_0x38722b=>_0x38722b[_0x271d82(0x351)]===_0x1047e0);}['getDatasetMeta'](){const _0x1a2e21=a0_0x342bd1;return this[_0x1a2e21(0x3b7)];}[a0_0x342bd1(0x247)](){const _0x20b43a=a0_0x342bd1;return this[_0x20b43a(0x29a)];}[a0_0x342bd1(0x451)](){const _0x37e93c=a0_0x342bd1;return this[_0x37e93c(0x3b7)]['indexes']||[];}[a0_0x342bd1(0x2cd)](_0x5bb189){const _0x36fd83=a0_0x342bd1;return this[_0x36fd83(0x29a)]['filter'](_0x3c7b21=>_0x3c7b21[_0x36fd83(0x1cc)]===_0x5bb189);}[a0_0x342bd1(0x1f2)](_0x3952a4){return this['_relations']['some'](_0x5b4062=>_0x5b4062['fromField']===_0x3952a4);}[a0_0x342bd1(0x3c8)](_0x9ce469){const _0xdb74bf=a0_0x342bd1,_0x2418e5=this[_0xdb74bf(0x29a)][_0xdb74bf(0x396)](_0x4e5504=>_0x4e5504['fromField']===_0x9ce469);if(!_0x2418e5)return;const _0x470087={};return _0x470087['datasetId']=_0x2418e5[_0xdb74bf(0x2b9)],_0x470087[_0xdb74bf(0x37f)]=_0x2418e5[_0xdb74bf(0x300)],_0x470087[_0xdb74bf(0x439)]=_0x2418e5[_0xdb74bf(0x2d3)],_0x470087[_0xdb74bf(0x269)]=_0x2418e5[_0xdb74bf(0x35e)],_0x470087[_0xdb74bf(0x390)]=_0x2418e5[_0xdb74bf(0x390)],_0x470087;}['getForeignKeyFields'](){const _0xf211d1=a0_0x342bd1;return this[_0xf211d1(0x29a)]['map'](_0x4f2f3c=>_0x4f2f3c[_0xf211d1(0x1cc)]);}['getFieldListV2'](){const _0x202c47=a0_0x342bd1;if(!this[_0x202c47(0x2d1)]){const _0x3d539d=this[_0x202c47(0x3c9)][_0x202c47(0x202)]||[];this[_0x202c47(0x2d1)]=new FieldListV2(_0x3d539d);}return this[_0x202c47(0x2d1)];}[a0_0x342bd1(0x2cb)](_0x4591c1){const _0x354ca3=a0_0x342bd1;if(typeof _0x4591c1!=='string'){!![]&&console[_0x354ca3(0x1fc)](_0x354ca3(0x208),_0x4591c1);return;}return this[_0x354ca3(0x436)]()[_0x354ca3(0x396)](_0x4591c1);}[a0_0x342bd1(0x3f9)](_0x536619){const _0x4065e3=a0_0x342bd1;if(!_0x536619||typeof _0x536619!==_0x4065e3(0x1eb))return![];const _0x292dff=_0x536619[_0x4065e3(0x351)]||_0x536619['code'],_0x48ce5b=this[_0x4065e3(0x2cb)](_0x292dff);return _0x48ce5b?_0x48ce5b[_0x4065e3(0x1e3)]():![];}[a0_0x342bd1(0x2b0)](){const _0x3cb9f2=a0_0x342bd1;if(!this['_operationList']){const _0x56c840=this['ensureFilterOperation'](this[_0x3cb9f2(0x2d0)]()||{});this['_operationList']=new OperationList(_0x56c840,{'fields':this[_0x3cb9f2(0x436)]()[_0x3cb9f2(0x40b)](),'pkField':this['_raw'][_0x3cb9f2(0x1b2)]?.[_0x3cb9f2(0x2ab)],'dbtableConfig':this[_0x3cb9f2(0x3c9)][_0x3cb9f2(0x1b2)]||null});}return this['_operationList'];}[a0_0x342bd1(0x3d5)](){const _0x5528bf=a0_0x342bd1,_0xac4915=this[_0x5528bf(0x465)](_0x5528bf(0x282));return _0xac4915;}[a0_0x342bd1(0x317)](){const _0xe8fb63=a0_0x342bd1;return this[_0xe8fb63(0x341)](_0xe8fb63(0x282));}[a0_0x342bd1(0x3f2)](){const _0x1dc424=a0_0x342bd1;return new DatasetItem({'id':this['id'],'name':this[_0x1dc424(0x351)],'datasetCode':this[_0x1dc424(0x37f)],'dbtableConfig':this[_0x1dc424(0x304)]()});}[a0_0x342bd1(0x279)](){const _0x577edf=a0_0x342bd1,_0x1a4ea1=this[_0x577edf(0x29a)][_0x577edf(0x345)],_0x24371c=this[_0x577edf(0x451)]()[_0x577edf(0x345)];return _0x577edf(0x2c2)+this[_0x577edf(0x351)]+',\x20'+this['datasetCode']+',\x20'+this[_0x577edf(0x2ca)]()+'\x20fields,\x20'+this[_0x577edf(0x42b)]()+_0x577edf(0x2c7)+_0x1a4ea1+_0x577edf(0x2db)+_0x24371c+_0x577edf(0x455);}['getFieldsV2'](){const _0x36691d=a0_0x342bd1;return this[_0x36691d(0x3c9)][_0x36691d(0x202)];}['getFieldV2'](_0x256908){const _0x180869=a0_0x342bd1;return this[_0x180869(0x3c9)]['fields'][_0x180869(0x396)](_0x800e3d=>_0x800e3d[_0x180869(0x351)]===_0x256908);}}function detectDatasetVersion(_0x3391fc){const _0x199aad=a0_0x342bd1;if(_0x3391fc['doVersion']==='v2'&&_0x199aad(0x202)in _0x3391fc&&Array[_0x199aad(0x200)](_0x3391fc['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x342bd1(0x24f)];constructor(_0x37f368){super(_0x37f368);const _0x3feaf8=detectDatasetVersion(_0x37f368);this['_instance']=_0x3feaf8==='v2'?new DrivenDataDetailV2(_0x37f368):new DrivenDataDetailV1(_0x37f368);}get['id'](){return this['_instance']['id'];}get[a0_0x342bd1(0x351)](){const _0x56b4a9=a0_0x342bd1;return this[_0x56b4a9(0x24f)][_0x56b4a9(0x351)];}get[a0_0x342bd1(0x37f)](){const _0x3bfd69=a0_0x342bd1;return this[_0x3bfd69(0x24f)][_0x3bfd69(0x37f)];}get[a0_0x342bd1(0x3f5)](){const _0x2710b4=a0_0x342bd1;return this[_0x2710b4(0x24f)][_0x2710b4(0x403)]()==='v2'?_0x2710b4(0x3b8):'1.0';}[a0_0x342bd1(0x403)](){const _0x1180a5=a0_0x342bd1;return this['_instance'][_0x1180a5(0x403)]();}[a0_0x342bd1(0x2a3)](){const _0x24fedb=a0_0x342bd1;return this[_0x24fedb(0x24f)]['id'];}[a0_0x342bd1(0x32d)](){const _0x15575d=a0_0x342bd1;return this[_0x15575d(0x24f)][_0x15575d(0x37f)];}[a0_0x342bd1(0x3c3)](){const _0x21ac1d=a0_0x342bd1;return this[_0x21ac1d(0x24f)]['name'];}[a0_0x342bd1(0x228)](){const _0x4b1a8b=a0_0x342bd1;return this[_0x4b1a8b(0x24f)][_0x4b1a8b(0x228)]();}[a0_0x342bd1(0x2d0)](){const _0x42a4a0=a0_0x342bd1;return this[_0x42a4a0(0x24f)]['getOperationsData']();}[a0_0x342bd1(0x2e3)](){const _0x491703=a0_0x342bd1;return this[_0x491703(0x24f)][_0x491703(0x2e3)]();}[a0_0x342bd1(0x364)](){const _0x2040a6=a0_0x342bd1;return this['_instance'][_0x2040a6(0x364)]();}['getFieldList'](){const _0x36ee3c=a0_0x342bd1;return this[_0x36ee3c(0x24f)][_0x36ee3c(0x28f)]();}['getFieldsWithDeleted'](){const _0x310585=a0_0x342bd1;return this[_0x310585(0x24f)][_0x310585(0x326)]();}[a0_0x342bd1(0x34a)](){const _0x29f085=a0_0x342bd1;return this[_0x29f085(0x24f)][_0x29f085(0x34a)]();}[a0_0x342bd1(0x2ca)](){const _0x33ec4c=a0_0x342bd1;return this[_0x33ec4c(0x24f)][_0x33ec4c(0x2ca)]();}['getPkField'](){const _0x5dfb89=a0_0x342bd1,_0x34ec6b=this[_0x5dfb89(0x24f)][_0x5dfb89(0x304)]();return _0x34ec6b?.[_0x5dfb89(0x2ab)];}['getDBConfig'](){const _0x5e14df=a0_0x342bd1;return this[_0x5e14df(0x24f)][_0x5e14df(0x411)]();}[a0_0x342bd1(0x2cb)](_0x465fbc){const _0x4b2f0c=a0_0x342bd1;return this[_0x4b2f0c(0x24f)]['getFieldInstance'](_0x465fbc);}['getPrimaryKeyFields'](){const _0x3aba20=a0_0x342bd1;return this[_0x3aba20(0x24f)][_0x3aba20(0x209)]();}[a0_0x342bd1(0x374)](){const _0x397572=a0_0x342bd1;return this[_0x397572(0x24f)][_0x397572(0x374)]();}['getBusinessFields'](){const _0x3fa939=a0_0x342bd1;return this['_instance'][_0x3fa939(0x3fd)]();}[a0_0x342bd1(0x1f1)](){const _0x1f113f=a0_0x342bd1;return this[_0x1f113f(0x24f)][_0x1f113f(0x1f1)]();}[a0_0x342bd1(0x3ef)](){const _0x1d126d=a0_0x342bd1;return this[_0x1d126d(0x24f)][_0x1d126d(0x3ef)]();}[a0_0x342bd1(0x252)](){const _0x324716=a0_0x342bd1;return this[_0x324716(0x24f)]['getEnumFields']();}['getEnumFieldsMeta'](){const _0x4e1c11=a0_0x342bd1;return this[_0x4e1c11(0x24f)][_0x4e1c11(0x31b)]();}[a0_0x342bd1(0x1df)](){const _0x1b1fb2=a0_0x342bd1;return this[_0x1b1fb2(0x24f)]['getOperations']();}['getOperationCount'](){const _0x243778=a0_0x342bd1;return this[_0x243778(0x24f)][_0x243778(0x42b)]();}[a0_0x342bd1(0x3b6)](){const _0x254c20=a0_0x342bd1;return this[_0x254c20(0x24f)][_0x254c20(0x3b6)]();}['getDisabledOperations'](){const _0x56d250=a0_0x342bd1;return this[_0x56d250(0x24f)][_0x56d250(0x221)]();}['getEnabledOperationInstances'](){const _0x56c925=a0_0x342bd1;return this[_0x56c925(0x24f)]['getEnabledOperationInstances']();}[a0_0x342bd1(0x36a)](){const _0x6393aa=a0_0x342bd1;return this[_0x6393aa(0x24f)][_0x6393aa(0x36a)]();}['getStats'](){const _0x1939f4=a0_0x342bd1;return this[_0x1939f4(0x24f)][_0x1939f4(0x1cb)]();}['getDatasetMeta'](){const _0x2431b3=a0_0x342bd1;return this[_0x2431b3(0x24f)][_0x2431b3(0x377)]();}[a0_0x342bd1(0x247)](){const _0x2d7d28=a0_0x342bd1;return this[_0x2d7d28(0x24f)][_0x2d7d28(0x247)]();}[a0_0x342bd1(0x451)](){const _0x52cd7b=a0_0x342bd1;return this[_0x52cd7b(0x24f)][_0x52cd7b(0x451)]();}['getFilterOperators'](){const _0xf09ed8=a0_0x342bd1;return this[_0xf09ed8(0x24f)][_0xf09ed8(0x2ff)]();}['getFieldsFilterOperatorsMap'](){const _0x4a7bb0=a0_0x342bd1;return this[_0x4a7bb0(0x24f)][_0x4a7bb0(0x265)]();}[a0_0x342bd1(0x463)](){const _0x458973=a0_0x342bd1;return this[_0x458973(0x24f)][_0x458973(0x463)]();}['getFilterOperation'](){const _0x94f732=a0_0x342bd1;return this[_0x94f732(0x24f)]['getFilterOperation']();}[a0_0x342bd1(0x317)](){const _0x19e424=a0_0x342bd1;return this[_0x19e424(0x24f)]['hasFilterOperation']();}[a0_0x342bd1(0x3f2)](){const _0x18d960=a0_0x342bd1;return this[_0x18d960(0x24f)][_0x18d960(0x3f2)]();}[a0_0x342bd1(0x279)](){const _0x57eacf=a0_0x342bd1;return this['_instance'][_0x57eacf(0x279)]();}['getInternalInstance'](){return this['_instance'];}}function detectDatasetVersion2(_0x5e254c){const _0xc6ab41=a0_0x342bd1;if(_0x5e254c[_0xc6ab41(0x34e)]==='v2'&&_0xc6ab41(0x202)in _0x5e254c&&Array[_0xc6ab41(0x200)](_0x5e254c[_0xc6ab41(0x202)]))return'v2';return'v1';}function createDrivenDataDetail(_0x2c5d27,_0x594eb9={}){const {forceVersion:_0x8ff862}=_0x594eb9;if(_0x8ff862==='v2')return new DrivenDataDetailV2(_0x2c5d27);if(_0x8ff862==='v1')return new DrivenDataDetailV1(_0x2c5d27);const _0x27705b=detectDatasetVersion2(_0x2c5d27);if(_0x27705b==='v2')return new DrivenDataDetailV2(_0x2c5d27);return new DrivenDataDetailV1(_0x2c5d27);}function isV2Data(_0xacc279){return detectDatasetVersion2(_0xacc279)==='v2';}function isV1Data(_0x589568){return detectDatasetVersion2(_0x589568)==='v1';}function isV2Instance(_0x522671){const _0x82320e=a0_0x342bd1;return _0x522671[_0x82320e(0x403)]()==='v2';}function isV1Instance(_0x12dc03){const _0xba456c=a0_0x342bd1;return _0x12dc03[_0xba456c(0x403)]()==='v1';}class DatasetGroup{[a0_0x342bd1(0x360)];constructor(_0x1dff72){const _0xb88823=a0_0x342bd1;this[_0xb88823(0x360)]=Array['isArray'](_0x1dff72)?[..._0x1dff72]:[_0x1dff72],this[_0xb88823(0x360)]['sort']((_0x234afb,_0x7d6ba9)=>{const _0x4758ab=Number(_0x234afb['id'])||0x0,_0x47b93b=Number(_0x7d6ba9['id'])||0x0;return _0x47b93b-_0x4758ab;});}[a0_0x342bd1(0x3e0)](){const _0x281bb1=a0_0x342bd1;return this[_0x281bb1(0x360)]['length']>0x1;}[a0_0x342bd1(0x281)](){const _0x492ab4=a0_0x342bd1;return this[_0x492ab4(0x360)][0x0];}['getOldest'](){const _0x45262e=a0_0x342bd1;return this[_0x45262e(0x360)][this[_0x45262e(0x360)][_0x45262e(0x345)]-0x1];}[a0_0x342bd1(0x233)](){const _0x4cbc30=a0_0x342bd1;return[...this[_0x4cbc30(0x360)]];}['getCount'](){const _0x629ea4=a0_0x342bd1;return this[_0x629ea4(0x360)][_0x629ea4(0x345)];}[a0_0x342bd1(0x2bb)](_0x252c3e){const _0x57196a=a0_0x342bd1;return this[_0x57196a(0x360)][_0x252c3e];}[a0_0x342bd1(0x3e5)](_0x1b2b5c){const _0x5ea8dc=a0_0x342bd1;return this[_0x5ea8dc(0x360)][_0x5ea8dc(0x396)](_0x5413d1=>_0x5413d1['id']===_0x1b2b5c);}[a0_0x342bd1(0x45b)](_0xc5c937){const _0x5c7615=a0_0x342bd1;return this[_0x5c7615(0x360)]['find'](_0x1f79d1=>_0x1f79d1[_0x5c7615(0x37f)]===_0xc5c937);}[a0_0x342bd1(0x26e)](){const _0x1988ce=a0_0x342bd1;return this[_0x1988ce(0x360)][_0x1988ce(0x2bc)](_0x5e8742=>_0x5e8742['id'])[_0x1988ce(0x282)](_0x54feef=>_0x54feef!==undefined);}[a0_0x342bd1(0x22e)](){const _0x2eb6be=a0_0x342bd1;return this[_0x2eb6be(0x360)][_0x2eb6be(0x2bc)](_0xed3c0a=>_0xed3c0a[_0x2eb6be(0x37f)]);}[a0_0x342bd1(0x279)](){const _0x100a87=a0_0x342bd1;if(this[_0x100a87(0x3e0)]())return _0x100a87(0x2d8)+this[_0x100a87(0x360)][_0x100a87(0x345)]+_0x100a87(0x368)+this[_0x100a87(0x281)]()[_0x100a87(0x351)]+')';return'DatasetGroup('+this[_0x100a87(0x360)][0x0][_0x100a87(0x351)]+')';}}class DatasetGroupMap{[a0_0x342bd1(0x240)];constructor(_0x446aee){const _0x3fd391=a0_0x342bd1;this[_0x3fd391(0x240)]=new Map();for(const _0x123895 of _0x446aee){const _0x1bf448=getTableKey(_0x123895);if(!this[_0x3fd391(0x240)][_0x3fd391(0x2a1)](_0x1bf448))this[_0x3fd391(0x240)][_0x3fd391(0x3a0)](_0x1bf448,new DatasetGroup(_0x123895));else{const _0x35e632=this[_0x3fd391(0x240)][_0x3fd391(0x394)](_0x1bf448),_0x47c9b6=[..._0x35e632[_0x3fd391(0x233)](),_0x123895];this[_0x3fd391(0x240)][_0x3fd391(0x3a0)](_0x1bf448,new DatasetGroup(_0x47c9b6));}}}['get'](_0x437101){return this['groups']['get'](_0x437101);}[a0_0x342bd1(0x2a1)](_0x6001){const _0x457147=a0_0x342bd1;return this[_0x457147(0x240)][_0x457147(0x2a1)](_0x6001);}get[a0_0x342bd1(0x1b1)](){const _0x90aa47=a0_0x342bd1;return this[_0x90aa47(0x240)][_0x90aa47(0x1b1)];}[a0_0x342bd1(0x1ea)](){const _0xe95dc=a0_0x342bd1;return this[_0xe95dc(0x240)][_0xe95dc(0x1ea)]();}['values'](){const _0x2e0fd3=a0_0x342bd1;return this[_0x2e0fd3(0x240)][_0x2e0fd3(0x31e)]();}['entries'](){const _0x27400a=a0_0x342bd1;return this['groups'][_0x27400a(0x241)]();}[Symbol[a0_0x342bd1(0x24b)]](){const _0xb0aeea=a0_0x342bd1;return this[_0xb0aeea(0x240)][_0xb0aeea(0x241)]();}['forEach'](_0x57b107){const _0x12a8d0=a0_0x342bd1;this[_0x12a8d0(0x240)]['forEach']((_0x1dc3fc,_0x4eb9f2)=>_0x57b107(_0x1dc3fc,_0x4eb9f2,this));}['getConflicts'](){const _0x16e874=a0_0x342bd1,_0x57a2ee=new Map();for(const [_0x30021f,_0x1bc6b0]of this['groups']){_0x1bc6b0[_0x16e874(0x3e0)]()&&_0x57a2ee['set'](_0x30021f,_0x1bc6b0);}return _0x57a2ee;}[a0_0x342bd1(0x1b9)](){const _0x24a396=a0_0x342bd1;for(const _0x453ba7 of this[_0x24a396(0x240)][_0x24a396(0x31e)]()){if(_0x453ba7[_0x24a396(0x3e0)]())return!![];}return![];}[a0_0x342bd1(0x27d)](){const _0x57310e=a0_0x342bd1;let _0x3c14e0=0x0,_0x24e269=0x0;for(const _0x1113db of this[_0x57310e(0x240)][_0x57310e(0x31e)]()){_0x1113db[_0x57310e(0x3e0)]()&&(_0x3c14e0++,_0x24e269+=_0x1113db[_0x57310e(0x2e8)]());}const _0x5f5c6d={};return _0x5f5c6d['conflictGroupCount']=_0x3c14e0,_0x5f5c6d['conflictItemCount']=_0x24e269,_0x5f5c6d[_0x57310e(0x38e)]=this[_0x57310e(0x240)][_0x57310e(0x1b1)],_0x5f5c6d;}[a0_0x342bd1(0x363)](){const _0x10777d=a0_0x342bd1,_0x232567=[];for(const _0x4bf078 of this[_0x10777d(0x240)][_0x10777d(0x31e)]()){_0x232567[_0x10777d(0x37b)](..._0x4bf078[_0x10777d(0x233)]());}return _0x232567;}['getLatestDatasets'](){const _0x326980=a0_0x342bd1,_0x29cc9f=[];for(const _0x20856a of this[_0x326980(0x240)][_0x326980(0x31e)]()){_0x29cc9f[_0x326980(0x37b)](_0x20856a['getLatest']());}return _0x29cc9f;}[a0_0x342bd1(0x281)](_0x547939){const _0x3ac39d=a0_0x342bd1;return this[_0x3ac39d(0x240)][_0x3ac39d(0x394)](_0x547939)?.[_0x3ac39d(0x281)]();}[a0_0x342bd1(0x233)](_0x3c8993){const _0x35597b=a0_0x342bd1;return this[_0x35597b(0x240)][_0x35597b(0x394)](_0x3c8993)?.[_0x35597b(0x233)]()||[];}[a0_0x342bd1(0x1c7)](){const _0x49f0fa=a0_0x342bd1,_0x3d346e=this[_0x49f0fa(0x231)](),_0xc5916e=_0x3d346e[_0x49f0fa(0x2bc)](_0x433bbb=>_0x433bbb['toJSON']()),_0x1e744e={};return _0x1e744e[_0x49f0fa(0x275)]=![],generateDatasetsConfig(_0xc5916e,_0x1e744e);}['toFullConfig'](){const _0x2841e9=a0_0x342bd1,_0x2c75e9=this[_0x2841e9(0x363)](),_0x123bad=_0x2c75e9[_0x2841e9(0x2bc)](_0x3858d4=>_0x3858d4[_0x2841e9(0x463)]());return generateFullDatasetsConfig(_0x123bad);}[a0_0x342bd1(0x27b)](){const _0x1304e2=a0_0x342bd1,_0x5b1f55={};for(const [_0x502cf1,_0x8227e]of this[_0x1304e2(0x240)]){_0x5b1f55[_0x502cf1]=_0x8227e;}return _0x5b1f55;}[a0_0x342bd1(0x463)](){const _0xe5e4b7=a0_0x342bd1,_0x280ac1={};for(const [_0x330592,_0x28ee13]of this[_0xe5e4b7(0x240)]){_0x280ac1[_0x330592]=_0x28ee13[_0xe5e4b7(0x233)]()[_0xe5e4b7(0x2bc)](_0x31cefa=>_0x31cefa[_0xe5e4b7(0x463)]());}return _0x280ac1;}[a0_0x342bd1(0x279)](){const _0x36e782=a0_0x342bd1;return _0x36e782(0x324)+this['groups'][_0x36e782(0x1b1)]+_0x36e782(0x3e6)+(this[_0x36e782(0x1b9)]()?_0x36e782(0x2f0):_0x36e782(0x1e1))+')';}}class DatasetList{[a0_0x342bd1(0x427)];constructor(_0x4dc2e8){const _0x58e699=a0_0x342bd1;let _0x1837fc;if(Array[_0x58e699(0x200)](_0x4dc2e8))_0x1837fc=_0x4dc2e8;else{if(_0x58e699(0x284)in _0x4dc2e8){if(!_0x4dc2e8[_0x58e699(0x284)])throw new Error(_0x58e699(0x1ad));if(Array['isArray'](_0x4dc2e8[_0x58e699(0x24c)]))_0x1837fc=_0x4dc2e8['data']['map'](_0x108d30=>({..._0x108d30,'datasetCode':_0x108d30[_0x58e699(0x2bd)]||_0x108d30['datasetCode']}));else{if(_0x4dc2e8[_0x58e699(0x24c)]?.[_0x58e699(0x1bd)])_0x1837fc=_0x4dc2e8[_0x58e699(0x24c)][_0x58e699(0x1bd)]['map'](_0x4bc140=>({..._0x4bc140,'datasetCode':_0x4bc140[_0x58e699(0x2bd)]||_0x4bc140[_0x58e699(0x37f)]}));else throw new Error(_0x58e699(0x2f5));}}else{if(_0x58e699(0x1bd)in _0x4dc2e8){if(!Array['isArray'](_0x4dc2e8[_0x58e699(0x1bd)]))throw new Error(_0x58e699(0x1d2));_0x1837fc=_0x4dc2e8['tableData'][_0x58e699(0x2bc)](_0x401e8a=>({..._0x401e8a,'datasetCode':_0x401e8a['code']||_0x401e8a[_0x58e699(0x37f)]}));}else throw new Error(_0x58e699(0x2b2));}}const _0x41d39c=_0x1837fc[_0x58e699(0x2bc)](_0x4e8411=>new DatasetItem(_0x4e8411));this[_0x58e699(0x427)]=new DatasetGroupMap(_0x41d39c);}get[a0_0x342bd1(0x29f)](){return this['_datasetMap'];}['getItems'](){const _0x528c73=a0_0x342bd1;return this[_0x528c73(0x427)][_0x528c73(0x363)]();}[a0_0x342bd1(0x2e8)](){const _0x15592f=a0_0x342bd1;return this['getItems']()[_0x15592f(0x345)];}[a0_0x342bd1(0x322)](){const _0x511520=a0_0x342bd1;return this[_0x511520(0x427)][_0x511520(0x1b1)]===0x0;}[a0_0x342bd1(0x2bb)](_0x498326){const _0x12e995=a0_0x342bd1;return this[_0x12e995(0x337)]()[_0x498326];}[a0_0x342bd1(0x2b8)](){const _0x53acdb=a0_0x342bd1;return this[_0x53acdb(0x337)]()[0x0];}[a0_0x342bd1(0x1b6)](){const _0x4e723e=this['getItems']();return _0x4e723e[_0x4e723e['length']-0x1];}[a0_0x342bd1(0x45b)](_0x20df79){const _0x2e363f=a0_0x342bd1;for(const _0x1456a8 of this[_0x2e363f(0x427)][_0x2e363f(0x31e)]()){const _0x5cd9d7=_0x1456a8[_0x2e363f(0x45b)](_0x20df79);if(_0x5cd9d7)return _0x5cd9d7;}return;}[a0_0x342bd1(0x20d)](_0x350b6f){const _0x39d510=a0_0x342bd1;return this[_0x39d510(0x337)]()[_0x39d510(0x396)](_0x44d54a=>_0x44d54a[_0x39d510(0x351)]===_0x350b6f);}[a0_0x342bd1(0x3e5)](_0xd435dc){const _0x5e0254=a0_0x342bd1;for(const _0x83c817 of this[_0x5e0254(0x427)][_0x5e0254(0x31e)]()){const _0x12398b=_0x83c817[_0x5e0254(0x3e5)](_0xd435dc);if(_0x12398b)return _0x12398b;}return;}[a0_0x342bd1(0x373)](_0x51e2fd){const _0xcc8212=a0_0x342bd1,_0xf589f9=getTableKey(_0x51e2fd);return this[_0xcc8212(0x427)]['getLatest'](_0xf589f9);}[a0_0x342bd1(0x282)](_0xc9257f){const _0x2af5cf=a0_0x342bd1,_0x1d9fac=this[_0x2af5cf(0x337)]()[_0x2af5cf(0x282)](_0xc9257f);return new DatasetList(_0x1d9fac[_0x2af5cf(0x2bc)](_0x14fd47=>_0x14fd47[_0x2af5cf(0x463)]()));}['findAll'](_0x46357a){const _0x358209=a0_0x342bd1;return this[_0x358209(0x337)]()[_0x358209(0x282)](_0x46357a);}['forEach'](_0x3281e8){const _0x189eef=a0_0x342bd1;this[_0x189eef(0x337)]()[_0x189eef(0x40c)](_0x3281e8);}[a0_0x342bd1(0x2bc)](_0x3d28a2){const _0x3ef3a4=a0_0x342bd1;return this[_0x3ef3a4(0x337)]()[_0x3ef3a4(0x2bc)](_0x3d28a2);}[Symbol['iterator']](){const _0x5a0556=a0_0x342bd1;return this[_0x5a0556(0x337)]()[Symbol[_0x5a0556(0x24b)]]();}[a0_0x342bd1(0x25c)](){const _0x416c84=a0_0x342bd1;return this['getItems']()[_0x416c84(0x282)](_0x12d97b=>_0x12d97b[_0x416c84(0x342)]());}[a0_0x342bd1(0x280)](){return this['getItems']()['filter'](_0x473868=>!_0x473868['isVirtualTable']());}[a0_0x342bd1(0x2dc)](){const _0x5d1cf1=a0_0x342bd1,_0x33301f={};for(const _0x4bbbb8 of this[_0x5d1cf1(0x427)]['values']()){const _0x57bbb3=_0x4bbbb8[_0x5d1cf1(0x281)]()[_0x5d1cf1(0x2a7)]();_0x33301f[_0x57bbb3]=_0x4bbbb8[_0x5d1cf1(0x233)]();}return _0x33301f;}[a0_0x342bd1(0x274)](){const _0x2f8112=a0_0x342bd1,_0x19f9af={};for(const _0x3093e1 of this['_datasetMap']['getConflicts']()[_0x2f8112(0x31e)]()){const _0x2c9407=_0x3093e1['getLatest']()['getTableName']();_0x19f9af[_0x2c9407]=_0x3093e1['getAll']()[_0x2f8112(0x2bc)](_0x208bd7=>_0x208bd7['toJSON']());}return{'hasConflicts':Object[_0x2f8112(0x1ea)](_0x19f9af)[_0x2f8112(0x345)]>0x0,'conflicts':_0x19f9af};}['hasConflicts'](){const _0x461f44=a0_0x342bd1;return this['_datasetMap'][_0x461f44(0x1b9)]();}[a0_0x342bd1(0x3af)](){const _0x2575de=a0_0x342bd1,_0x5b8cc1=[];for(const _0x58cc59 of this[_0x2575de(0x427)][_0x2575de(0x2f6)]()['values']()){_0x5b8cc1[_0x2575de(0x37b)](..._0x58cc59[_0x2575de(0x233)]());}return _0x5b8cc1;}[a0_0x342bd1(0x30a)](_0x13f21a){const _0x6b23b8=a0_0x342bd1;if(!_0x13f21a||Object[_0x6b23b8(0x1ea)](_0x13f21a)[_0x6b23b8(0x345)]===0x0)return this[_0x6b23b8(0x29f)][_0x6b23b8(0x1c7)]();const _0x2bba22=this['getItems']()['map'](_0x571cc3=>_0x571cc3[_0x6b23b8(0x463)]());return generateDatasetsConfig(_0x2bba22,_0x13f21a);}[a0_0x342bd1(0x343)](_0x20ae27){const _0x404d82=a0_0x342bd1,_0x5ce2f8=this[_0x404d82(0x30a)](_0x20ae27);return datasetsConfigToArray(_0x5ce2f8);}[a0_0x342bd1(0x3d1)](){const _0x3cc235=a0_0x342bd1;return this[_0x3cc235(0x337)]()[_0x3cc235(0x2bc)](_0x224db8=>_0x224db8[_0x3cc235(0x1c7)]());}[a0_0x342bd1(0x1cb)](){const _0x5cd2e2=a0_0x342bd1;return{'total':this[_0x5cd2e2(0x2e8)](),'virtualTables':this[_0x5cd2e2(0x25c)]()[_0x5cd2e2(0x345)],'realTables':this[_0x5cd2e2(0x280)]()[_0x5cd2e2(0x345)],'hasConflicts':this[_0x5cd2e2(0x1b9)](),'conflictCount':this[_0x5cd2e2(0x3af)]()[_0x5cd2e2(0x345)]};}[a0_0x342bd1(0x3bd)](){const _0x4e606e=a0_0x342bd1;return this[_0x4e606e(0x337)]()[_0x4e606e(0x2bc)](_0xb53749=>_0xb53749['toJSON']());}[a0_0x342bd1(0x463)](){const _0x4d8fd5=a0_0x342bd1;return this[_0x4d8fd5(0x3bd)]();}[a0_0x342bd1(0x279)](){const _0x4e6071=a0_0x342bd1;return _0x4e6071(0x235)+this[_0x4e6071(0x2e8)]()+_0x4e6071(0x376)+this[_0x4e6071(0x427)][_0x4e6071(0x1b1)]+'\x20groups)';}static[a0_0x342bd1(0x416)](_0x436d2f){return new DatasetList(_0x436d2f);}static[a0_0x342bd1(0x471)](_0x8240b7){return new DatasetList(_0x8240b7);}static[a0_0x342bd1(0x26c)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x342bd1(0x242);function renderTemplate(_0x282e39,_0x31c4b4,_0x32508f={}){let _0x35a86b=_0x282e39;return Object['entries'](_0x32508f)['forEach'](([_0x468c83,_0x1eadcd])=>{const _0x3101a6=a0_0x380d,_0x234d63=new RegExp(_0x3101a6(0x1d3)+_0x468c83+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x35a86b=_0x35a86b[_0x3101a6(0x36e)](_0x234d63,_0x1eadcd?'$1':'');}),Object['entries'](_0x31c4b4)['forEach'](([_0x22cb23,_0x450adf])=>{const _0x4dae89=a0_0x380d;if(_0x450adf!==undefined){const _0x2e4698=new RegExp('\x5c{\x5c{'+_0x22cb23+_0x4dae89(0x28d),'g');_0x35a86b=_0x35a86b[_0x4dae89(0x36e)](_0x2e4698,_0x450adf);}}),_0x35a86b;}function generateSDKInitCode(_0x321f36,_0x3f5048,_0x43f359,_0x36352a,_0x1c147c){const _0x289e9d=a0_0x342bd1,_0x50a435={};_0x50a435[_0x289e9d(0x223)]=_0x321f36,_0x50a435[_0x289e9d(0x37f)]=_0x3f5048,_0x50a435[_0x289e9d(0x347)]=_0x43f359,_0x50a435['env']=_0x36352a===_0x289e9d(0x292)?'daily':undefined;const _0x10ee8b={};return _0x10ee8b[_0x289e9d(0x25b)]=_0x36352a!==undefined&&_0x36352a!==_0x289e9d(0x1bf),_0x10ee8b[_0x289e9d(0x462)]=_0x1c147c===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x50a435,_0x10ee8b);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x342bd1(0x20c);function generateAliasExplanation(_0x1a4f72,_0x1b0b8d,_0x5b0213,_0x143403){const _0x1a64cf=a0_0x342bd1,_0x236cd6=_0x1a64cf(0x21c)+_0x1a4f72,_0xf09f25=_0x1a64cf(0x32c),_0x27d882={};return _0x27d882[_0x1a64cf(0x37f)]=_0x1a4f72,_0x27d882[_0x1a64cf(0x410)]=_0x236cd6,_0x27d882[_0x1a64cf(0x269)]=_0x1b0b8d,_0x27d882[_0x1a64cf(0x347)]=_0x5b0213,_0x27d882[_0x1a64cf(0x223)]=_0x143403,_0x27d882[_0x1a64cf(0x3e8)]=_0xf09f25,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x27d882,{});}function DrivenDataDetailPlusMixin(_0x7bad11){const _0x4d6bfe=a0_0x342bd1;return class extends _0x7bad11{[_0x4d6bfe(0x393)](_0x1eac1b){const _0x447e88=_0x4d6bfe,_0x5687c7=this;return{'appCode':_0x1eac1b,'datasetSDKKey':_0x5687c7[_0x447e88(0x434)](),'alias':_0x5687c7[_0x447e88(0x332)](),'tableName':_0x5687c7[_0x447e88(0x2a7)](),'datasetCode':_0x5687c7[_0x447e88(0x37f)]};}[_0x4d6bfe(0x1b7)](_0x88f3e3,_0x36b456=_0x4d6bfe(0x1bf),_0x3326fe=![]){const _0x4b28cb=_0x4d6bfe,_0x4c327c=this;return generateSDKInitCode(_0x88f3e3,_0x4c327c[_0x4b28cb(0x37f)],_0x4c327c['getModelAlias'](),_0x36b456===_0x4b28cb(0x292)?_0x36b456:undefined,_0x3326fe);}[_0x4d6bfe(0x382)](_0x301b79,_0x1410e7,_0x5442a1={}){const _0xf10128=_0x4d6bfe,_0x1e33e7=this,_0x401b86=_0x1e33e7[_0xf10128(0x1df)]()[_0xf10128(0x396)](_0x23d833=>_0x23d833[_0xf10128(0x3c3)]()===_0x301b79);if(!_0x401b86)return null;const _0x350080={};_0x350080[_0xf10128(0x321)]=_0x5442a1[_0xf10128(0x415)]!==![];const _0x25dab3=_0x1e33e7[_0xf10128(0x214)](_0x301b79,_0x350080);if(!_0x25dab3)return null;const _0x120f5d=[];return _0x120f5d[_0xf10128(0x37b)]('//\x20Call\x20the\x20'+_0x401b86[_0xf10128(0x3c3)]()+_0xf10128(0x1d4)),_0x120f5d[_0xf10128(0x37b)](_0x25dab3['sdkCall'][_0xf10128(0x2bd)]),_0x120f5d[_0xf10128(0x37b)](''),_0x5442a1['includeUsageExample']!==![]&&(_0x120f5d[_0xf10128(0x37b)]('//\x20Usage\x20examples'),_0x120f5d[_0xf10128(0x37b)](_0x25dab3[_0xf10128(0x3b4)][_0xf10128(0x236)]),_0x120f5d[_0xf10128(0x37b)](''),_0x120f5d[_0xf10128(0x37b)](_0x25dab3[_0xf10128(0x3b4)]['errorCode'])),_0x120f5d[_0xf10128(0x314)]('\x0a');}[_0x4d6bfe(0x2e5)](_0x2d277b={}){const _0x58ddfc=_0x4d6bfe,_0x1758a9=this,_0x568aa4=_0x1758a9['getEnabledOperationAnalyses'](),_0x20e3a1=[];return _0x568aa4[_0x58ddfc(0x40c)]((_0x17f194,_0x10bf1c)=>{const _0x3ddaea=_0x58ddfc,_0x51a9c9=this['generateFullSDKExample'](_0x17f194[_0x3ddaea(0x351)],_0x3ddaea(0x319),_0x2d277b);_0x51a9c9&&(_0x20e3a1[_0x3ddaea(0x37b)]('//\x20'+(_0x10bf1c+0x1)+'.\x20'+_0x17f194['displayName']),_0x20e3a1['push'](_0x51a9c9),_0x20e3a1[_0x3ddaea(0x37b)](''));}),_0x20e3a1[_0x58ddfc(0x314)]('\x0a');}['generateOperationSummary'](_0x35fe8f){const _0x4f6005=_0x4d6bfe,_0x35b0da=this,_0x535e19=_0x35b0da[_0x4f6005(0x249)](_0x35fe8f);if(!_0x535e19)return null;const _0x2be669={};return _0x2be669[_0x4f6005(0x351)]=_0x535e19[_0x4f6005(0x351)],_0x2be669['displayName']=_0x535e19[_0x4f6005(0x3d0)],_0x2be669[_0x4f6005(0x435)]=_0x535e19[_0x4f6005(0x435)],_0x2be669[_0x4f6005(0x361)]=_0x535e19[_0x4f6005(0x361)],_0x2be669[_0x4f6005(0x44c)]=_0x535e19[_0x4f6005(0x44c)],_0x2be669[_0x4f6005(0x367)]=_0x535e19[_0x4f6005(0x334)][_0x4f6005(0x345)],_0x2be669['hasResponseSchema']=_0x535e19[_0x4f6005(0x460)]!==null,_0x2be669;}['generateAllOperationsSummary'](_0x54bd8f={}){const _0x4bcc17=_0x4d6bfe,_0x2ed4e5=this,_0x2b0782=_0x2ed4e5[_0x4bcc17(0x222)]();return{'datasetName':_0x2ed4e5[_0x4bcc17(0x351)],'datasetCode':_0x2ed4e5[_0x4bcc17(0x37f)],'tableName':_0x2ed4e5[_0x4bcc17(0x2a7)](),'totalOperations':_0x2b0782[_0x4bcc17(0x345)],'operations':_0x2b0782[_0x4bcc17(0x2bc)](_0x1a0b99=>({'name':_0x1a0b99[_0x4bcc17(0x351)],'displayName':_0x1a0b99['displayName'],'method':_0x1a0b99['method'],'enabled':_0x1a0b99['enabled']}))};}[_0x4d6bfe(0x1f6)](_0x5569fe){const _0x776998=_0x4d6bfe,_0x72040d=this,_0x59c2e4=_0x72040d[_0x776998(0x249)](_0x5569fe);if(!_0x59c2e4)return[];return _0x59c2e4[_0x776998(0x334)][_0x776998(0x2bc)](_0x473211=>{const _0x11c7f0=_0x776998,_0x95a2e=_0x72040d['getFieldInstance'](_0x473211);if(!_0x95a2e)return null;const _0x5dbc7c={};return _0x5dbc7c['code']=_0x473211,_0x5dbc7c[_0x11c7f0(0x351)]=_0x95a2e['name']||_0x473211,_0x5dbc7c;})[_0x776998(0x282)](_0x11a27a=>_0x11a27a!==null);}[_0x4d6bfe(0x3dc)](){const _0x4fb739=_0x4d6bfe,_0x21280f=this,_0x41cbb0=new Set(_0x21280f['getEnabledOperationAnalyses']()[_0x4fb739(0x2bc)](_0x4a1911=>String(_0x4a1911['type']))),_0x2bde97=[_0x4fb739(0x34f),'getList',_0x4fb739(0x1dd),_0x4fb739(0x305)];return _0x2bde97['filter'](_0x2d92f4=>!_0x41cbb0[_0x4fb739(0x2a1)](String(_0x2d92f4)));}[_0x4d6bfe(0x297)](_0x385591='demo-app'){const _0xe014cd=_0x4d6bfe,_0x1de8e6=this;return generateAliasExplanation(_0x1de8e6[_0xe014cd(0x37f)],_0x1de8e6[_0xe014cd(0x2a7)](),_0x1de8e6[_0xe014cd(0x332)](),_0x385591);}};}function operationToAnalysis(_0x242122){const _0x672b32=a0_0x342bd1;return{'name':_0x242122[_0x672b32(0x3c3)](),'displayName':_0x242122['getDisplayName'](),'type':_0x242122[_0x672b32(0x2a0)](),'method':_0x242122['getMethod'](),'path':_0x242122['getPath'](),'fullUrl':_0x242122[_0x672b32(0x40f)](),'requestFields':_0x242122['getRequestFields'](),'requestParams':_0x242122[_0x672b32(0x3c0)](),'responseSchema':_0x242122['getResponseSchema'](),'requestExample':_0x242122[_0x672b32(0x2c9)](),'responseExample':_0x242122[_0x672b32(0x22b)](),'enabled':_0x242122[_0x672b32(0x2f2)]()};}function operationsToAnalyses(_0xd4be41){const _0x23062f=a0_0x342bd1;if(!Array['isArray'](_0xd4be41))return!![]&&console['warn']('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0xd4be41),[];return _0xd4be41[_0x23062f(0x2bc)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x24647f){const _0x5cc4ef=a0_0x342bd1,_0x18a0ef=_0x24647f[_0x5cc4ef(0x396)](_0x40b7d1=>_0x40b7d1['name']===_0x5cc4ef(0x282)),_0xa8bfc=_0x24647f['filter'](_0x3bf325=>_0x3bf325[_0x5cc4ef(0x351)]!=='filter');return _0x18a0ef?[_0x18a0ef,..._0xa8bfc]:_0xa8bfc;}function filterOperationAnalyses(_0x50ca0d,_0x207f9b={}){const _0x3704af=a0_0x342bd1;let _0x1fabbd=_0x50ca0d;return!_0x207f9b[_0x3704af(0x433)]&&(_0x1fabbd=_0x1fabbd['filter'](_0x5a1e19=>_0x5a1e19['enabled'])),_0x207f9b[_0x3704af(0x3be)]!==![]&&(_0x1fabbd=filterApiOperations(_0x1fabbd)),_0x207f9b[_0x3704af(0x251)]&&(_0x1fabbd=_0x1fabbd[_0x3704af(0x282)](_0x207f9b[_0x3704af(0x251)])),sortOperationsWithFilterFirst(_0x1fabbd);}function getOperationStats(_0xc55c59){const _0x10adc2=a0_0x342bd1,_0x34ff70=_0xc55c59[_0x10adc2(0x282)](_0xbcb2ed=>_0xbcb2ed[_0x10adc2(0x44c)]);return{'total':_0xc55c59['length'],'enabled':_0x34ff70[_0x10adc2(0x345)],'disabled':_0xc55c59[_0x10adc2(0x345)]-_0x34ff70[_0x10adc2(0x345)],'byType':getCountByType(_0x34ff70),'byMethod':getCountByMethod(_0x34ff70)};}function getCountByType(_0x2cfdf5){const _0x4ec380=a0_0x342bd1,_0x160722={};return _0x2cfdf5[_0x4ec380(0x40c)](_0xa1c1b7=>{const _0x596b94=_0x4ec380;if(_0xa1c1b7[_0x596b94(0x399)])_0x160722[_0xa1c1b7[_0x596b94(0x399)]]=(_0x160722[_0xa1c1b7[_0x596b94(0x399)]]||0x0)+0x1;}),_0x160722;}function getCountByMethod(_0x3f61f3){const _0x4a584f={};return _0x3f61f3['forEach'](_0x28a12b=>{const _0x9f7f6b=a0_0x380d;_0x4a584f[_0x28a12b[_0x9f7f6b(0x435)]]=(_0x4a584f[_0x28a12b[_0x9f7f6b(0x435)]]||0x0)+0x1;}),_0x4a584f;}function supportsCRUD(_0x123fa0){const _0x57dc2f=a0_0x342bd1,_0x40a87c=new Set(_0x123fa0['map'](_0x5e40f8=>_0x5e40f8[_0x57dc2f(0x399)])[_0x57dc2f(0x282)](Boolean));return _0x40a87c[_0x57dc2f(0x2a1)](_0x57dc2f(0x34f))&&_0x40a87c['has']('getList')&&_0x40a87c[_0x57dc2f(0x2a1)](_0x57dc2f(0x1dd))&&_0x40a87c['has'](_0x57dc2f(0x305));}function createOperationDocMeta(_0x5bd0c5,_0x1fa2d1,_0x5d0d97,_0x174316,_0x3c9e22,_0x276a40){const _0x54a8f2=a0_0x342bd1,_0x59d7a8={};return _0x59d7a8[_0x54a8f2(0x321)]=_0x276a40?.[_0x54a8f2(0x321)],{'operation':_0x5bd0c5,'operationInstance':_0x1fa2d1,'basicInfo':{'name':_0x5bd0c5[_0x54a8f2(0x351)],'displayName':_0x5bd0c5[_0x54a8f2(0x3d0)],'method':_0x5bd0c5[_0x54a8f2(0x435)],'path':_0x5bd0c5['path'],'fullUrl':_0x5bd0c5[_0x54a8f2(0x3ae)],'enabled':_0x5bd0c5[_0x54a8f2(0x44c)]},'sdkCall':{'datasetCode':_0x5d0d97,'datasetSDKKey':_0x174316,'tableName':_0x3c9e22,'operationName':_0x5bd0c5[_0x54a8f2(0x351)],'params':_0x5bd0c5[_0x54a8f2(0x334)],'code':_0x1fa2d1[_0x54a8f2(0x1b3)](_0x174316,_0x59d7a8)},'usageExample':_0x1fa2d1[_0x54a8f2(0x278)](_0x174316)};}function createOperationsOverviewData(_0x393baf){const _0x46ccf2=a0_0x342bd1,_0x3bd4ee={};_0x3bd4ee[_0x46ccf2(0x329)]=_0x46ccf2(0x351),_0x3bd4ee[_0x46ccf2(0x469)]=_0x46ccf2(0x389);const _0x391ece={};_0x391ece[_0x46ccf2(0x329)]=_0x46ccf2(0x3d0),_0x391ece['label']=_0x46ccf2(0x27a);const _0x5d5f05={};_0x5d5f05[_0x46ccf2(0x329)]=_0x46ccf2(0x435),_0x5d5f05['label']='方法';const _0x2205b7={};_0x2205b7[_0x46ccf2(0x329)]=_0x46ccf2(0x318),_0x2205b7[_0x46ccf2(0x469)]=_0x46ccf2(0x45e);const _0xf06ad4={};_0xf06ad4[_0x46ccf2(0x329)]=_0x46ccf2(0x361),_0xf06ad4[_0x46ccf2(0x469)]=_0x46ccf2(0x39f);const _0x403083={};_0x403083[_0x46ccf2(0x329)]=_0x46ccf2(0x38f),_0x403083[_0x46ccf2(0x469)]=_0x46ccf2(0x243);const _0x42db42=[_0x3bd4ee,_0x391ece,_0x5d5f05,_0x2205b7,_0xf06ad4,_0x403083],_0xdc65ae=_0x393baf[_0x46ccf2(0x2bc)](_0x2abd58=>{const _0x39e824=_0x46ccf2,{basicInfo:_0x5d88b2,sdkCall:_0x231788}=_0x2abd58,_0x27ca7f=_0x231788[_0x39e824(0x2bd)][_0x39e824(0x36e)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x39e824(0x36e)](/;$/,''),_0x5a20cf={};return _0x5a20cf[_0x39e824(0x3d0)]=_0x5d88b2[_0x39e824(0x3d0)],_0x5a20cf[_0x39e824(0x351)]=_0x5d88b2[_0x39e824(0x351)],_0x5a20cf['method']=_0x5d88b2[_0x39e824(0x435)],_0x5a20cf[_0x39e824(0x361)]=_0x5d88b2[_0x39e824(0x361)],_0x5a20cf['sdkCall']=_0x27ca7f,_0x5a20cf[_0x39e824(0x38f)]=_0x231788[_0x39e824(0x2bd)],_0x5a20cf;}),_0x53dfbc={};return _0x53dfbc[_0x46ccf2(0x32e)]=_0x42db42,_0x53dfbc[_0x46ccf2(0x1bd)]=_0xdc65ae,_0x53dfbc;}function createDatasetDocMeta(_0x1818b1,_0xe1b981,_0x229701,_0x122a01,_0x18ee97,_0x56b69e,_0x130869,_0x25322e,_0x2c00cc){const _0x1c0cb3=a0_0x342bd1,_0x41fafd={};return _0x41fafd[_0x1c0cb3(0x254)]=_0x1818b1+_0x1c0cb3(0x2bf),_0x41fafd[_0x1c0cb3(0x1b0)]={},_0x41fafd[_0x1c0cb3(0x325)]=_0x2c00cc,_0x41fafd[_0x1c0cb3(0x1b0)]['name']=_0x1818b1,_0x41fafd[_0x1c0cb3(0x1b0)]['code']=_0xe1b981,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x269)]=_0x229701,_0x41fafd[_0x1c0cb3(0x1b0)]['datasetSDKKey']=_0x122a01,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x39e)]=_0x18ee97,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x328)]=_0x56b69e,_0x41fafd[_0x1c0cb3(0x1b0)]['fieldCount']=_0x130869,_0x41fafd[_0x1c0cb3(0x1b0)]['businessFieldCount']=0x0,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x25e)]=0x0,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x413)]=_0x25322e,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x1f7)]=_0x2c00cc[_0x1c0cb3(0x345)],_0x41fafd;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}['getModelAlias'](){const _0x3b3f75=a0_0x342bd1;return this[_0x3b3f75(0x273)]();}[a0_0x342bd1(0x330)](_0x5af8e4=![]){const _0x39e022=a0_0x342bd1;if(!_0x5af8e4&&this['_operationAnalyses'])return this[_0x39e022(0x473)];const _0x152c77=this[_0x39e022(0x1df)]();return this[_0x39e022(0x473)]=operationsToAnalyses(_0x152c77),this[_0x39e022(0x473)];}[a0_0x342bd1(0x222)](){const _0x4f4c34=a0_0x342bd1,_0xd2b72f={};return _0xd2b72f[_0x4f4c34(0x433)]=![],_0xd2b72f['filterBlacklist']=!![],this[_0x4f4c34(0x226)](_0xd2b72f);}[a0_0x342bd1(0x226)](_0x4f7518={}){const _0x1aaefd=a0_0x342bd1;return filterOperationAnalyses(this[_0x1aaefd(0x330)](),_0x4f7518);}['getOperationAnalysis'](_0x4f6704){const _0x4fa8ae=a0_0x342bd1;return this[_0x4fa8ae(0x330)]()['find'](_0x57f57c=>_0x57f57c['name']===_0x4f6704);}[a0_0x342bd1(0x311)](_0x3379ea){const _0x123f0a=a0_0x342bd1;return this[_0x123f0a(0x330)]()[_0x123f0a(0x282)](_0x3900d2=>_0x3900d2[_0x123f0a(0x399)]===_0x3379ea);}[a0_0x342bd1(0x214)](_0x6c8c1,_0x6edc87){const _0x5554c6=a0_0x342bd1,_0x4b7fdd=this[_0x5554c6(0x249)](_0x6c8c1);if(!_0x4b7fdd)return null;const _0xdb9feb=this['getOperations']()[_0x5554c6(0x396)](_0x4baa22=>_0x4baa22[_0x5554c6(0x3c3)]()===_0x4b7fdd[_0x5554c6(0x351)]);if(!_0xdb9feb)throw new Error(_0x5554c6(0x204)+_0x4b7fdd['name']);return createOperationDocMeta(_0x4b7fdd,_0xdb9feb,this[_0x5554c6(0x37f)],this['getDatasetSDKKey'](),this[_0x5554c6(0x2a7)](),_0x6edc87);}['getDatasetDocMeta'](_0x46290f={}){const _0x1e8f8b=a0_0x342bd1,_0x151c27=this[_0x1e8f8b(0x226)](_0x46290f),_0x356300=_0x151c27['map'](_0x1a0cfa=>this[_0x1e8f8b(0x214)](_0x1a0cfa['name']))['filter'](_0x28908b=>_0x28908b!==null);return createDatasetDocMeta(this[_0x1e8f8b(0x351)],this['datasetCode'],this[_0x1e8f8b(0x2a7)](),this['getDatasetSDKKey'](),this[_0x1e8f8b(0x273)](),this[_0x1e8f8b(0x328)],this['getFieldCount'](),this[_0x1e8f8b(0x42b)](),_0x356300);}[a0_0x342bd1(0x381)](_0x342fcb){return createOperationsOverviewData(_0x342fcb);}[a0_0x342bd1(0x458)](){const _0x570e95=a0_0x342bd1;return supportsCRUD(this[_0x570e95(0x222)]());}[a0_0x342bd1(0x203)](){const _0x46ac0e=a0_0x342bd1;return getOperationStats(this[_0x46ac0e(0x330)]());}[a0_0x342bd1(0x279)](){const _0x3144b6=a0_0x342bd1,_0x30b691=this['getOperationStats']();return'DrivenDataDetailPlus('+this[_0x3144b6(0x351)]+',\x20'+this[_0x3144b6(0x37f)]+',\x20'+this['getFieldCount']()+'\x20fields,\x20'+_0x30b691[_0x3144b6(0x44c)]+'/'+_0x30b691[_0x3144b6(0x263)]+_0x3144b6(0x2f3);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x342bd1(0x473)];[a0_0x342bd1(0x403)](){return'v2';}[a0_0x342bd1(0x332)](){const _0x119c03=a0_0x342bd1;return this[_0x119c03(0x273)]();}[a0_0x342bd1(0x330)](_0x13ab88=![]){const _0x5863ac=a0_0x342bd1;if(!_0x13ab88&&this[_0x5863ac(0x473)])return this[_0x5863ac(0x473)];const _0x187b62=this[_0x5863ac(0x1df)]();return this[_0x5863ac(0x473)]=operationsToAnalyses(_0x187b62),this[_0x5863ac(0x473)];}[a0_0x342bd1(0x222)](){const _0x15fcf2=a0_0x342bd1,_0x5a06da={};return _0x5a06da[_0x15fcf2(0x433)]=![],_0x5a06da[_0x15fcf2(0x3be)]=!![],this[_0x15fcf2(0x226)](_0x5a06da);}[a0_0x342bd1(0x226)](_0x4346b9={}){const _0x3623fb=a0_0x342bd1;return filterOperationAnalyses(this[_0x3623fb(0x330)](),_0x4346b9);}[a0_0x342bd1(0x249)](_0xb6fc57){const _0x50117c=a0_0x342bd1;return this[_0x50117c(0x330)]()['find'](_0x595ce4=>_0x595ce4[_0x50117c(0x351)]===_0xb6fc57);}[a0_0x342bd1(0x311)](_0x29c997){const _0x43f9fa=a0_0x342bd1;return this[_0x43f9fa(0x330)]()[_0x43f9fa(0x282)](_0x1999f9=>_0x1999f9[_0x43f9fa(0x399)]===_0x29c997);}[a0_0x342bd1(0x214)](_0x3bf3fa,_0x4e87e2){const _0x1792a0=a0_0x342bd1,_0x16a9ac=this[_0x1792a0(0x249)](_0x3bf3fa);if(!_0x16a9ac)return null;const _0x21b05a=this[_0x1792a0(0x1df)]()[_0x1792a0(0x396)](_0x320ba9=>_0x320ba9[_0x1792a0(0x3c3)]()===_0x16a9ac[_0x1792a0(0x351)]);if(!_0x21b05a)throw new Error(_0x1792a0(0x204)+_0x16a9ac['name']);return createOperationDocMeta(_0x16a9ac,_0x21b05a,this[_0x1792a0(0x37f)],this[_0x1792a0(0x434)](),this[_0x1792a0(0x2a7)](),_0x4e87e2);}[a0_0x342bd1(0x3b0)](_0x2b7673={}){const _0x274d7c=a0_0x342bd1,_0x23fcdc=this[_0x274d7c(0x226)](_0x2b7673),_0x1767b8=_0x23fcdc[_0x274d7c(0x2bc)](_0x192c04=>this[_0x274d7c(0x214)](_0x192c04[_0x274d7c(0x351)]))['filter'](_0x3805d5=>_0x3805d5!==null);return createDatasetDocMeta(this[_0x274d7c(0x351)],this['datasetCode'],this[_0x274d7c(0x2a7)](),this[_0x274d7c(0x434)](),this[_0x274d7c(0x273)](),this[_0x274d7c(0x328)],this['getFieldCount'](),this[_0x274d7c(0x42b)](),_0x1767b8);}['getOperationsOverviewData'](_0x508461){return createOperationsOverviewData(_0x508461);}[a0_0x342bd1(0x458)](){const _0x1fa83b=a0_0x342bd1;return supportsCRUD(this[_0x1fa83b(0x222)]());}[a0_0x342bd1(0x203)](){const _0x19be32=a0_0x342bd1;return getOperationStats(this[_0x19be32(0x330)]());}[a0_0x342bd1(0x279)](){const _0x309f5c=a0_0x342bd1,_0x25057e=this['getOperationStats']();return _0x309f5c(0x256)+this['name']+',\x20'+this[_0x309f5c(0x37f)]+',\x20'+this[_0x309f5c(0x2ca)]()+_0x309f5c(0x250)+_0x25057e[_0x309f5c(0x44c)]+'/'+_0x25057e[_0x309f5c(0x263)]+_0x309f5c(0x3cf);}}function detectDatasetVersion3(_0x1af110){const _0x256e0b=a0_0x342bd1;if(_0x1af110[_0x256e0b(0x34e)]==='v2'&&_0x256e0b(0x202)in _0x1af110&&Array[_0x256e0b(0x200)](_0x1af110['fields']))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x342bd1(0x24f)];constructor(_0x5023af){const _0x499503=a0_0x342bd1,_0x540165=detectDatasetVersion3(_0x5023af);return this[_0x499503(0x24f)]=_0x540165==='v2'?new DrivenDataDetailPlusV2(_0x5023af):new DrivenDataDetailPlusV1(_0x5023af),new Proxy(this,{'get'(_0x29d62c,_0x1eeddc){const _0x3cac9d=_0x499503;if(_0x1eeddc in _0x29d62c){const _0x2deeef=_0x29d62c[_0x1eeddc];return typeof _0x2deeef===_0x3cac9d(0x30e)?_0x2deeef['bind'](_0x29d62c):_0x2deeef;}if(_0x1eeddc in _0x29d62c['_instance']){const _0x2304b4=_0x29d62c[_0x3cac9d(0x24f)][_0x1eeddc];return typeof _0x2304b4===_0x3cac9d(0x30e)?_0x2304b4[_0x3cac9d(0x258)](_0x29d62c[_0x3cac9d(0x24f)]):_0x2304b4;}return;},'set'(_0x582629,_0x30a50d,_0x2efa78){return _0x582629[_0x30a50d]=_0x2efa78,!![];},'getPrototypeOf'(_0x32aec5){const _0x32a21e=_0x499503;return DrivenDataDetailPlus[_0x32a21e(0x320)];}});}get[a0_0x342bd1(0x351)](){const _0x4d8c65=a0_0x342bd1;return this[_0x4d8c65(0x24f)][_0x4d8c65(0x351)];}get['id'](){const _0x15535a=a0_0x342bd1;return this[_0x15535a(0x24f)]['id'];}get[a0_0x342bd1(0x37f)](){const _0xd636a5=a0_0x342bd1;return this[_0xd636a5(0x24f)][_0xd636a5(0x37f)];}get['source'](){const _0x378e3f=a0_0x342bd1;return this[_0x378e3f(0x24f)][_0x378e3f(0x328)];}get[a0_0x342bd1(0x1b2)](){const _0x49803f=a0_0x342bd1;return this[_0x49803f(0x24f)][_0x49803f(0x411)]();}[a0_0x342bd1(0x403)](){const _0x147d8d=a0_0x342bd1,_0x578849=this[_0x147d8d(0x24f)][_0x147d8d(0x403)]();return _0x578849==='v2'?'v2':'v1';}[a0_0x342bd1(0x2ca)](){const _0x26e198=a0_0x342bd1;return this[_0x26e198(0x24f)][_0x26e198(0x2ca)]();}[a0_0x342bd1(0x42b)](){const _0x1fb87d=a0_0x342bd1;return this[_0x1fb87d(0x24f)][_0x1fb87d(0x42b)]();}[a0_0x342bd1(0x34a)](){const _0x4a5f6a=a0_0x342bd1;return this[_0x4a5f6a(0x24f)][_0x4a5f6a(0x34a)]();}[a0_0x342bd1(0x1df)](){const _0x48d328=a0_0x342bd1;return this[_0x48d328(0x24f)][_0x48d328(0x1df)]();}[a0_0x342bd1(0x440)](_0xccc810){const _0x24ca66=a0_0x342bd1;return this[_0x24ca66(0x24f)][_0x24ca66(0x440)](_0xccc810);}[a0_0x342bd1(0x2cb)](_0x288a88){return this['_instance']['getFieldInstance'](_0x288a88);}[a0_0x342bd1(0x2a7)](){const _0x2837b4=a0_0x342bd1;return this[_0x2837b4(0x24f)][_0x2837b4(0x2a7)]();}[a0_0x342bd1(0x273)](){const _0x514614=a0_0x342bd1;return this[_0x514614(0x24f)]['getTableKey']();}['getDatasetSDKKey'](){const _0x12e11a=a0_0x342bd1;return this['_instance'][_0x12e11a(0x434)]();}['getFieldList'](){const _0x143c6e=a0_0x342bd1;return this[_0x143c6e(0x24f)][_0x143c6e(0x28f)]();}[a0_0x342bd1(0x252)](){const _0x3be6e0=a0_0x342bd1;return this['_instance'][_0x3be6e0(0x252)]();}['getEnumFieldsMeta'](){const _0x127851=a0_0x342bd1;return this[_0x127851(0x24f)][_0x127851(0x31b)]();}['isMultipleSelectField'](_0x10166d){const _0x39c7eb=a0_0x342bd1;return this[_0x39c7eb(0x24f)][_0x39c7eb(0x3f9)](_0x10166d);}['getField'](_0x1495bb){const _0x20fda3=a0_0x342bd1;return this[_0x20fda3(0x24f)][_0x20fda3(0x2fe)](_0x1495bb);}[a0_0x342bd1(0x2b1)](_0xc6feed){const _0x5a2875=a0_0x342bd1;return this[_0x5a2875(0x24f)]['getFieldOptions'](_0xc6feed);}[a0_0x342bd1(0x43f)](_0x109e67){const _0x56aec0=a0_0x342bd1;return this[_0x56aec0(0x24f)]['getFieldSelectItemsSource'](_0x109e67);}['getEnumFieldMeta'](_0x45f6db){const _0x58e4aa=a0_0x342bd1;return this['_instance'][_0x58e4aa(0x211)](_0x45f6db);}['validateEnumValue'](_0x38ecd3,_0x587b75){const _0x314678=a0_0x342bd1;return this['_instance'][_0x314678(0x220)](_0x38ecd3,_0x587b75);}['isRequiredField'](_0x31425c){const _0x5c73af=a0_0x342bd1;return this[_0x5c73af(0x24f)][_0x5c73af(0x1ef)](_0x31425c);}[a0_0x342bd1(0x1cb)](){const _0x4403c4=a0_0x342bd1;return this[_0x4403c4(0x24f)][_0x4403c4(0x1cb)]();}[a0_0x342bd1(0x3d5)](){const _0x456b11=a0_0x342bd1;return this[_0x456b11(0x24f)]['getFilterOperation']();}[a0_0x342bd1(0x317)](){const _0x24240d=a0_0x342bd1;return this['_instance'][_0x24240d(0x317)]();}[a0_0x342bd1(0x341)](_0x219a86){const _0x5c83a4=a0_0x342bd1;return this[_0x5c83a4(0x24f)]['hasOperation'](_0x219a86);}['getDBConfig'](){return this['_instance']['getDBConfig']();}[a0_0x342bd1(0x304)](){const _0x17f8bb=a0_0x342bd1;return this['_instance'][_0x17f8bb(0x304)]();}[a0_0x342bd1(0x2e3)](){const _0x271271=a0_0x342bd1;return this[_0x271271(0x24f)][_0x271271(0x2e3)]();}[a0_0x342bd1(0x330)](_0x3e2f32){const _0xed5a09=a0_0x342bd1;return this[_0xed5a09(0x24f)][_0xed5a09(0x330)](_0x3e2f32);}[a0_0x342bd1(0x222)](){const _0x1c31d2=a0_0x342bd1;return this[_0x1c31d2(0x24f)]['getEnabledOperationAnalyses']();}[a0_0x342bd1(0x226)](_0x409095){const _0x42540f=a0_0x342bd1;return this[_0x42540f(0x24f)][_0x42540f(0x226)](_0x409095);}[a0_0x342bd1(0x249)](_0x1101c7){const _0x363343=a0_0x342bd1;return this[_0x363343(0x24f)]['getOperationAnalysis'](_0x1101c7);}[a0_0x342bd1(0x311)](_0x2eca59){const _0x597dc6=a0_0x342bd1;return this['_instance'][_0x597dc6(0x311)](_0x2eca59);}[a0_0x342bd1(0x214)](_0x331a23,_0x12883d){const _0x2fa2ca=a0_0x342bd1;return this['_instance'][_0x2fa2ca(0x214)](_0x331a23,_0x12883d);}[a0_0x342bd1(0x3b0)](_0x5520af){const _0x505b03=a0_0x342bd1;return this[_0x505b03(0x24f)]['getDatasetDocMeta'](_0x5520af);}[a0_0x342bd1(0x381)](_0x2c813c){const _0x452d19=a0_0x342bd1;return this[_0x452d19(0x24f)][_0x452d19(0x381)](_0x2c813c);}[a0_0x342bd1(0x332)](){const _0x4b3c06=a0_0x342bd1;return this[_0x4b3c06(0x24f)][_0x4b3c06(0x332)]();}[a0_0x342bd1(0x458)](){const _0x473206=a0_0x342bd1;return this[_0x473206(0x24f)][_0x473206(0x458)]();}['getOperationStats'](){const _0xd8dcd8=a0_0x342bd1;return this[_0xd8dcd8(0x24f)]['getOperationStats']();}[a0_0x342bd1(0x279)](){const _0x4413cc=a0_0x342bd1;return this[_0x4413cc(0x24f)][_0x4413cc(0x279)]();}[a0_0x342bd1(0x465)](_0x256514){const _0xf1fe43=a0_0x342bd1;return this[_0xf1fe43(0x24f)][_0xf1fe43(0x465)](_0x256514);}[a0_0x342bd1(0x393)](_0xd580eb){const _0x3071c7=a0_0x342bd1;return this[_0x3071c7(0x24f)][_0x3071c7(0x393)](_0xd580eb);}[a0_0x342bd1(0x1b7)](_0x388d7f,_0x242c0a,_0x75417){const _0x1e0f67=a0_0x342bd1;return this['_instance'][_0x1e0f67(0x1b7)](_0x388d7f,_0x242c0a,_0x75417);}[a0_0x342bd1(0x382)](_0x12c1fd,_0x596ec2,_0x5a4838){const _0x147241=a0_0x342bd1;return this[_0x147241(0x24f)][_0x147241(0x382)](_0x12c1fd,_0x596ec2,_0x5a4838);}[a0_0x342bd1(0x2e5)](_0x317eb6){const _0x6c43d4=a0_0x342bd1;return this['_instance'][_0x6c43d4(0x2e5)](_0x317eb6);}['generateOperationSummary'](_0x198db0){const _0x3ddb1d=a0_0x342bd1;return this[_0x3ddb1d(0x24f)][_0x3ddb1d(0x22d)](_0x198db0);}[a0_0x342bd1(0x46e)](_0x489065){const _0x1926bd=a0_0x342bd1;return this[_0x1926bd(0x24f)][_0x1926bd(0x46e)](_0x489065);}[a0_0x342bd1(0x1f6)](_0x303d4e){const _0x2877b2=a0_0x342bd1;return this['_instance'][_0x2877b2(0x1f6)](_0x303d4e);}['getMissingCRUDOperations'](){const _0x24843a=a0_0x342bd1;return this[_0x24843a(0x24f)][_0x24843a(0x3dc)]();}['generateAliasExplanation'](){const _0x19c895=a0_0x342bd1;return this[_0x19c895(0x24f)]['generateAliasExplanation']();}[a0_0x342bd1(0x37a)](){const _0x3d99b3=a0_0x342bd1;return this[_0x3d99b3(0x24f)];}}function createDrivenDataDetailPlus(_0x1e5008,_0x111baf={}){const _0x17f8ed=a0_0x342bd1;if(_0x111baf[_0x17f8ed(0x2a5)]==='v1')return new DrivenDataDetailPlusV1(_0x1e5008);if(_0x111baf[_0x17f8ed(0x2a5)]==='v2')return new DrivenDataDetailPlusV2(_0x1e5008);if(_0x1e5008[_0x17f8ed(0x34e)]==='v2'||_0x17f8ed(0x3ed)in _0x1e5008)return new DrivenDataDetailPlusV2(_0x1e5008);return new DrivenDataDetailPlusV1(_0x1e5008);}function isPlusV2Instance(_0x434bae){const _0xdc2b61=a0_0x342bd1;return _0x434bae[_0xdc2b61(0x403)]()==='v2';}function isPlusV1Instance(_0x18b81c){const _0x5baf71=a0_0x342bd1;return _0x18b81c[_0x5baf71(0x403)]()==='v1';}var VERSION=a0_0x342bd1(0x2f4);function a0_0x380d(_0x1f89e2,_0x2168ec){_0x1f89e2=_0x1f89e2-0x1ad;const _0x3171e4=a0_0x3171();let _0x380d4b=_0x3171e4[_0x1f89e2];return _0x380d4b;}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 +1 @@
1
- {"version":3,"file":"FieldV1.d.ts","sourceRoot":"","sources":["../../../../src/core/field/FieldV1.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EAElB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,UAAU,iBAAkB,SAAQ,eAAe;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,gBAAgB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;IAEzC,yBAAyB;IACzB,OAAO,CAAC,OAAO,CAAkC;gBAErC,eAAe,EAAE,iBAAiB;IAQ9C;;;OAGG;IACH,iBAAiB,IAAI,iBAAiB;IAMtC,aAAa;IACb,UAAU,IAAI,YAAY;IAM1B,eAAe;IACf,IAAI,GAAG,IAAI,iBAAiB,CAE3B;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,cAAc;IACd,IAAI,OAAO,IAAI,OAAO,CAErB;IAID,iCAAiC;IACjC,IAAI,MAAM,IAAI,MAAM,GAAG,SAAS,CAE/B;IAED,mCAAmC;IACnC,IAAI,SAAS,IAAI,MAAM,GAAG,SAAS,CAElC;IAED,wBAAwB;IACxB,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,kCAAkC;IAClC,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAEtC;IAID;;OAEG;IACH,IAAI,MAAM,IAAI,iBAAiB,CAqC9B;IAID,aAAa;IACb,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,YAAY,IAAI,OAAO;IAKvB,eAAe;IACf,QAAQ,IAAI,OAAO;IAInB,aAAa;IACb,eAAe,IAAI,OAAO;IAI1B,eAAe;IACf,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,YAAY,IAAI,OAAO;IAMvB;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAMtB;;;OAGG;IACM,MAAM,IAAI,OAAO;IAc1B;;;OAGG;IACM,gBAAgB,IAAI,OAAO;IASpC,eAAe;IACf,cAAc,IAAI,WAAW,EAAE,GAAG,SAAS;IAQ3C,kBAAkB;IAClB,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAUrD;;;;OAIG;IACH,qBAAqB,IAAI,MAAM;IAI/B,YAAY;IACZ,eAAe,IAAI,OAAO;IAI1B,aAAa;IACb,UAAU,IAAI,MAAM,GAAG,SAAS;IAIhC,kBAAkB;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAiBjC,aAAa;IACJ,QAAQ,IAAI,MAAM;CAG5B;AAED;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"FieldV1.d.ts","sourceRoot":"","sources":["../../../../src/core/field/FieldV1.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EAElB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,UAAU,iBAAkB,SAAQ,eAAe;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,gBAAgB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;IAEzC,yBAAyB;IACzB,OAAO,CAAC,OAAO,CAAkC;gBAErC,eAAe,EAAE,iBAAiB;IAQ9C;;;OAGG;IACH,iBAAiB,IAAI,iBAAiB;IAMtC,aAAa;IACb,UAAU,IAAI,YAAY;IAM1B,eAAe;IACf,IAAI,GAAG,IAAI,iBAAiB,CAE3B;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,cAAc;IACd,IAAI,OAAO,IAAI,OAAO,CAErB;IAID,iCAAiC;IACjC,IAAI,MAAM,IAAI,MAAM,GAAG,SAAS,CAE/B;IAED,mCAAmC;IACnC,IAAI,SAAS,IAAI,MAAM,GAAG,SAAS,CAElC;IAED,wBAAwB;IACxB,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,kCAAkC;IAClC,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAEtC;IAID;;OAEG;IACH,IAAI,MAAM,IAAI,iBAAiB,CAqC9B;IAID,aAAa;IACb,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,YAAY,IAAI,OAAO;IAKvB,eAAe;IACf,QAAQ,IAAI,OAAO;IAInB,aAAa;IACb,eAAe,IAAI,OAAO;IAI1B,eAAe;IACf,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,YAAY,IAAI,OAAO;IAMvB;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAMtB;;;OAGG;IACM,MAAM,IAAI,OAAO;IAc1B;;;OAGG;IACM,gBAAgB,IAAI,OAAO;IASpC,eAAe;IACf,cAAc,IAAI,WAAW,EAAE,GAAG,SAAS;IAQ3C,kBAAkB;IAClB,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAUrD;;;;OAIG;IACH,qBAAqB,IAAI,MAAM;IAI/B,YAAY;IACZ,eAAe,IAAI,OAAO;IAI1B,aAAa;IACb,UAAU,IAAI,MAAM,GAAG,SAAS;IAIhC,kBAAkB;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAmBjC,aAAa;IACJ,QAAQ,IAAI,MAAM;CAG5B;AAED;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FieldV2.d.ts","sourceRoot":"","sources":["../../../../src/core/field/FieldV2.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE3E;;;;;;GAMG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,gBAAgB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;gBAE7B,eAAe,EAAE,iBAAiB;IAU9C,aAAa;IACb,UAAU,IAAI,YAAY;IAM1B,eAAe;IACf,IAAI,GAAG,IAAI,iBAAiB,CAE3B;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,cAAc;IACd,IAAI,OAAO,IAAI,OAAO,CAErB;IAID,aAAa;IACb,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,QAAQ,IAAI,OAAO;IAInB,aAAa;IACb,eAAe,IAAI,OAAO;IAI1B,eAAe;IACf,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,YAAY,IAAI,OAAO;IAMvB;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAMtB;;;OAGG;IACM,MAAM,IAAI,OAAO;IAM1B;;;OAGG;IACM,gBAAgB,IAAI,OAAO;IAkBpC;;;OAGG;IACH,cAAc,IAAI,WAAW,EAAE,GAAG,SAAS;IAO3C;;;OAGG;IACH,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAoBrD;;;;OAIG;IACH,qBAAqB,IAAI,MAAM;IAQ/B,+CAA+C;IAC/C,eAAe,IAAI,OAAO;IAK1B,2CAA2C;IAC3C,UAAU,IAAI,MAAM,GAAG,SAAS;IAIhC,cAAc;IACd,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,gBAAgB;IAChB,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;OAIG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI;IAI1B,oBAAoB;IACpB,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAEtC;IAED,kBAAkB;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAmBjC,aAAa;IACJ,QAAQ,IAAI,MAAM;IAM3B;;;;OAIG;IACH,OAAO,CAAC,eAAe;CA+BxB"}
1
+ {"version":3,"file":"FieldV2.d.ts","sourceRoot":"","sources":["../../../../src/core/field/FieldV2.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE3E;;;;;;GAMG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,gBAAgB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;gBAE7B,eAAe,EAAE,iBAAiB;IAU9C,aAAa;IACb,UAAU,IAAI,YAAY;IAM1B,eAAe;IACf,IAAI,GAAG,IAAI,iBAAiB,CAE3B;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,cAAc;IACd,IAAI,OAAO,IAAI,OAAO,CAErB;IAID,aAAa;IACb,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,QAAQ,IAAI,OAAO;IAInB,aAAa;IACb,eAAe,IAAI,OAAO;IAI1B,eAAe;IACf,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,YAAY,IAAI,OAAO;IAMvB;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAMtB;;;OAGG;IACM,MAAM,IAAI,OAAO;IAM1B;;;OAGG;IACM,gBAAgB,IAAI,OAAO;IAkBpC;;;OAGG;IACH,cAAc,IAAI,WAAW,EAAE,GAAG,SAAS;IAO3C;;;OAGG;IACH,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAoBrD;;;;OAIG;IACH,qBAAqB,IAAI,MAAM;IAQ/B,+CAA+C;IAC/C,eAAe,IAAI,OAAO;IAK1B,2CAA2C;IAC3C,UAAU,IAAI,MAAM,GAAG,SAAS;IAIhC,cAAc;IACd,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,gBAAgB;IAChB,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;OAIG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI;IAI1B,oBAAoB;IACpB,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAEtC;IAED,kBAAkB;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAqBjC,aAAa;IACJ,QAAQ,IAAI,MAAM;IAM3B;;;;OAIG;IACH,OAAO,CAAC,eAAe;CA+BxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.3.4",
3
+ "version": "1.3.5-beta.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",