@lovrabet/dsparser 1.0.23-beta.1 → 1.0.25
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_0x2920d5=a0_0x5328;(function(_0x1cbd08,_0x598d36){const _0x5ca5ab=a0_0x5328,_0x32c37a=_0x1cbd08();while(!![]){try{const _0x5c238c=parseInt(_0x5ca5ab(0x107))/0x1*(parseInt(_0x5ca5ab(0x1c4))/0x2)+parseInt(_0x5ca5ab(0x23e))/0x3*(parseInt(_0x5ca5ab(0x15a))/0x4)+parseInt(_0x5ca5ab(0xe4))/0x5+-parseInt(_0x5ca5ab(0x1e1))/0x6*(parseInt(_0x5ca5ab(0xe2))/0x7)+-parseInt(_0x5ca5ab(0xef))/0x8*(parseInt(_0x5ca5ab(0x27f))/0x9)+parseInt(_0x5ca5ab(0x2e2))/0xa*(parseInt(_0x5ca5ab(0x167))/0xb)+parseInt(_0x5ca5ab(0x1a7))/0xc*(-parseInt(_0x5ca5ab(0x27c))/0xd);if(_0x5c238c===_0x598d36)break;else _0x32c37a['push'](_0x32c37a['shift']());}catch(_0x45744d){_0x32c37a['push'](_0x32c37a['shift']());}}}(a0_0x55b5,0x43702));function toCamelCase(_0x4936d3){const _0x1329d2=a0_0x5328;if(!_0x4936d3)return'';return _0x4936d3[_0x1329d2(0x1c6)](/[_-]/)[_0x1329d2(0x166)]((_0x36e9f3,_0x217bb0)=>{const _0x40e282=_0x1329d2;if(_0x217bb0===0x0)return _0x36e9f3[_0x40e282(0x276)]();return _0x36e9f3[_0x40e282(0x1ba)](0x0)[_0x40e282(0x29d)]()+_0x36e9f3[_0x40e282(0x112)](0x1)[_0x40e282(0x276)]();})[_0x1329d2(0x24a)]('');}function toPascalCase(_0x2d0ef4){const _0x27cc60=a0_0x5328;if(!_0x2d0ef4)return'';const _0x4fcee7=toCamelCase(_0x2d0ef4);return _0x4fcee7[_0x27cc60(0x1ba)](0x0)[_0x27cc60(0x29d)]()+_0x4fcee7[_0x27cc60(0x112)](0x1);}function toSnakeCase(_0x484409){const _0x17b0b7=a0_0x5328;if(!_0x484409)return'';return _0x484409[_0x17b0b7(0x2cd)](/([A-Z])/g,_0x17b0b7(0x239))['toLowerCase']()[_0x17b0b7(0x2cd)](/^_/,'');}function toKebabCase(_0x9b83b6){const _0x1f007d=a0_0x5328;if(!_0x9b83b6)return'';return _0x9b83b6['replace'](/([A-Z])/g,'-$1')[_0x1f007d(0x276)]()[_0x1f007d(0x2cd)](/^-/,'');}function normalizeFieldName(_0x11393a){const _0x2f591a=a0_0x5328;if(!_0x11393a)return'';return _0x11393a[_0x2f591a(0x28c)]()[_0x2f591a(0x2cd)](/\s+/g,'_')[_0x2f591a(0x2cd)](/[^a-zA-Z0-9_]/g,'_')[_0x2f591a(0x2cd)](/_+/g,'_')[_0x2f591a(0x2cd)](/^_|_$/g,'');}function getTableName(_0x12dee2){const _0x1b068a=a0_0x5328;if(!_0x12dee2)return _0x1b068a(0x278);if(_0x12dee2[_0x1b068a(0x26d)]?.[_0x1b068a(0x1f5)])return _0x12dee2['dbtableConfig'][_0x1b068a(0x1f5)];const _0x4e50c1=_0x12dee2['datasetCode']||_0x12dee2[_0x1b068a(0x25f)]||_0x12dee2[_0x1b068a(0x12f)];if(_0x4e50c1)return generateTableNameFromCode(_0x4e50c1);return _0x1b068a(0x278);}function getTableKey(_0xe18a4){const _0x1ec91b=a0_0x5328;if(typeof _0xe18a4===_0x1ec91b(0x12e))return toCamelCase(_0xe18a4);const _0x2ff0d0=getTableName(_0xe18a4);return toCamelCase(_0x2ff0d0);}function generateTableNameFromCode(_0x3ca491){const _0x3062fa=a0_0x5328;if(!_0x3ca491)return'dataset_000000';const _0x185b0b=_0x3ca491['slice'](-0x6)[_0x3062fa(0x207)](0x6,'0');return _0x3062fa(0x2d2)+_0x185b0b;}function isVirtualTableName(_0x3b23e9){const _0x29f1ab=a0_0x5328;return/^dataset_[a-zA-Z0-9]{6}$/[_0x29f1ab(0x1c0)](_0x3b23e9);}function generateDatasetsConfig(_0x42ec5b,_0xf7392b={}){const _0xd388b5=a0_0x5328,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x138395,filter:_0x35671e}=_0xf7392b,_0x5c1a25={},_0x38b071=new Set();for(const _0x5c1730 of _0x42ec5b){if(_0x35671e&&!_0x35671e(_0x5c1730))continue;const _0xbf8a0=getTableName(_0x5c1730);if(enableDeduplication&&_0x38b071['has'](_0xbf8a0)){console[_0xd388b5(0xd8)](_0xd388b5(0x2c8)+_0xbf8a0+_0xd388b5(0x1a3)+_0x5c1730[_0xd388b5(0x180)]+'\x20('+_0x5c1730[_0xd388b5(0x12a)]+')');continue;}_0x38b071['add'](_0xbf8a0);const _0x136946=_0x138395?_0x138395(_0xbf8a0,_0x5c1730):getTableKey(_0xbf8a0);_0x5c1a25[_0x136946]={'key':_0x136946,'tableName':_0xbf8a0,'datasetCode':_0x5c1730[_0xd388b5(0x12a)],'name':_0x5c1730['name'],'id':_0x5c1730['id']};}return _0x5c1a25;}function generateFullDatasetsConfig(_0x56c240,_0x121a6c={}){const _0x114800=a0_0x5328,{filter:_0x4e7837,datasetNameGenerator:_0x3bf082}=_0x121a6c,_0x145ea2=_0x4e7837?_0x56c240[_0x114800(0x153)](_0x4e7837):_0x56c240,_0x45be39=groupByTableName(_0x145ea2),_0x42b3c2={};for(const [_0x2f3b19,_0x251f0d]of Object[_0x114800(0x265)](_0x45be39)){if(_0x251f0d[_0x114800(0x22e)]===0x1){const _0x148cee=_0x251f0d[0x0],_0x222569=_0x3bf082?_0x3bf082(_0x2f3b19,_0x148cee):getTableKey(_0x2f3b19);_0x42b3c2[_0x222569]={'key':_0x222569,'tableName':_0x2f3b19,'datasetCode':_0x148cee[_0x114800(0x12a)],'name':_0x148cee[_0x114800(0x180)],'id':_0x148cee['id']};}else{const _0x503bf1=[..._0x251f0d][_0x114800(0x26b)]((_0x235af9,_0x12023)=>{const _0x58e2cd=Number(_0x235af9['id'])||0x0,_0x2ecacc=Number(_0x12023['id'])||0x0;return _0x2ecacc-_0x58e2cd;});_0x503bf1[_0x114800(0x164)]((_0x2732b9,_0xea125c)=>{const _0x4dab73=_0x114800,_0x284aca=_0x3bf082?_0x3bf082(_0x2f3b19,_0x2732b9):getTableKey(_0x2f3b19),_0x24298f=_0xea125c===0x0?_0x284aca:_0x284aca+'_'+_0xea125c;_0x42b3c2[_0x24298f]={'key':_0x24298f,'tableName':_0x2f3b19,'datasetCode':_0x2732b9['datasetCode'],'name':_0x2732b9[_0x4dab73(0x180)],'id':_0x2732b9['id']};});}}return _0x42b3c2;}function detectTableNameConflicts(_0x3e0bfc){const _0x170fef=a0_0x5328,_0x5a7c8f={};for(const _0x52f5e2 of _0x3e0bfc){const _0x19f7e1=getTableName(_0x52f5e2);!_0x5a7c8f[_0x19f7e1]&&(_0x5a7c8f[_0x19f7e1]=[]),_0x5a7c8f[_0x19f7e1][_0x170fef(0x125)](_0x52f5e2);}const _0x2d9f64={};for(const [_0x19ec2a,_0x12e0e9]of Object[_0x170fef(0x265)](_0x5a7c8f)){_0x12e0e9[_0x170fef(0x22e)]>0x1&&(_0x2d9f64[_0x19ec2a]=_0x12e0e9);}return{'hasConflicts':Object[_0x170fef(0x292)](_0x2d9f64)['length']>0x0,'conflicts':_0x2d9f64};}function createDatasetNameMap(_0x47a5ab){const _0x3ccfb2=a0_0x5328,_0x1599e0={};for(const [_0x438778,_0x537263]of Object[_0x3ccfb2(0x265)](_0x47a5ab)){_0x1599e0[_0x438778]=_0x537263['datasetCode']||'';}return _0x1599e0;}function groupByTableName(_0x12117c){const _0x4ec209=a0_0x5328,_0x53993e={};for(const _0x31fe3d of _0x12117c){const _0xf79f0b=getTableName(_0x31fe3d);!_0x53993e[_0xf79f0b]&&(_0x53993e[_0xf79f0b]=[]),_0x53993e[_0xf79f0b][_0x4ec209(0x125)](_0x31fe3d);}return _0x53993e;}function datasetsConfigToArray(_0x3d88b){const _0x22d3d0=a0_0x5328;return Object[_0x22d3d0(0x2bc)](_0x3d88b);}function adaptDrivenDataDetail(_0x2c8b9b){const _0x20a3fb=a0_0x5328;return{'id':_0x2c8b9b[_0x20a3fb(0x237)],'name':_0x2c8b9b[_0x20a3fb(0x180)],'datasetCode':_0x2c8b9b['modelCode'],'dbtableConfig':_0x2c8b9b[_0x20a3fb(0x26d)],'source':_0x2c8b9b[_0x20a3fb(0x10d)],'version':_0x2c8b9b[_0x20a3fb(0x157)],'extend':_0x2c8b9b[_0x20a3fb(0x129)],'properties':_0x2c8b9b['properties'],'operations':_0x2c8b9b[_0x20a3fb(0x138)]};}function adaptDrivenDataDetails(_0x7540dd){const _0x481ef7=a0_0x5328;return _0x7540dd[_0x481ef7(0x166)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x3867be){const _0x2ac055=a0_0x5328;if(!_0x3867be[_0x2ac055(0x1db)]||!_0x3867be['data'])throw new Error(_0x2ac055(0x2a0)+(_0x3867be[_0x2ac055(0x11e)]||_0x3867be[_0x2ac055(0x1b5)]));return adaptDrivenDataDetail(_0x3867be[_0x2ac055(0x185)]);}function extractDatasetsFromListResponse(_0x5a6b63){const _0x4c9c7d=a0_0x5328;if(!_0x5a6b63[_0x4c9c7d(0x1db)]||!_0x5a6b63[_0x4c9c7d(0x185)]?.[_0x4c9c7d(0x193)])throw new Error(_0x4c9c7d(0x187)+(_0x5a6b63[_0x4c9c7d(0x11e)]||_0x5a6b63[_0x4c9c7d(0x1b5)]));return _0x5a6b63[_0x4c9c7d(0x185)][_0x4c9c7d(0x193)][_0x4c9c7d(0x166)](_0x1a8b65=>({..._0x1a8b65,'datasetCode':_0x1a8b65['code']||_0x1a8b65[_0x4c9c7d(0x12a)]}));}function isDrivenDataDetail(_0x4efa50){const _0xa9e07c=a0_0x5328;return Boolean(_0x4efa50&&typeof _0x4efa50['modelCode']===_0xa9e07c(0x12e));}function smartAdapt(_0x4852cb){const _0x33eb66=a0_0x5328;if(isDrivenDataDetail(_0x4852cb))return adaptDrivenDataDetail(_0x4852cb);if(_0x4852cb['datasetCode'])return _0x4852cb;if(_0x4852cb['code'])return{..._0x4852cb,'datasetCode':_0x4852cb[_0x33eb66(0x25f)]};return _0x4852cb;}var DatasetOperationType;(_0x375e82=>{const _0x46741b=a0_0x5328;_0x375e82[_0x46741b(0x281)]='getList',_0x375e82[_0x46741b(0x1b4)]=_0x46741b(0x1fb),_0x375e82[_0x46741b(0x2b6)]=_0x46741b(0x249),_0x375e82['GET_ONE_UPDATE']='getOneUpdate',_0x375e82[_0x46741b(0x1d7)]=_0x46741b(0x1d8),_0x375e82[_0x46741b(0x1c3)]='update',_0x375e82[_0x46741b(0x145)]=_0x46741b(0x152),_0x375e82['GET_SELECT_OPTIONS']=_0x46741b(0x294),_0x375e82['GET_FILE_URL']='getFileUrl',_0x375e82[_0x46741b(0x279)]=_0x46741b(0x2d6),_0x375e82[_0x46741b(0x212)]=_0x46741b(0x219),_0x375e82[_0x46741b(0xf8)]=_0x46741b(0x24e),_0x375e82['CREATE_EXPORT']=_0x46741b(0x277),_0x375e82[_0x46741b(0xe9)]=_0x46741b(0x1e2),_0x375e82[_0x46741b(0x1c5)]=_0x46741b(0x10e);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x2920d5(0x196)]:a0_0x2920d5(0x2d3),[a0_0x2920d5(0x1fb)]:a0_0x2920d5(0x21c),[a0_0x2920d5(0x249)]:a0_0x2920d5(0xee),[a0_0x2920d5(0x2b8)]:a0_0x2920d5(0x148),[a0_0x2920d5(0x1d8)]:'创建',[a0_0x2920d5(0x2a1)]:'更新',[a0_0x2920d5(0x152)]:'删除',[a0_0x2920d5(0x294)]:a0_0x2920d5(0x1a4),[a0_0x2920d5(0x1d6)]:a0_0x2920d5(0x131),[a0_0x2920d5(0x2d6)]:a0_0x2920d5(0x29f),[a0_0x2920d5(0x219)]:'获取上传脚本',[a0_0x2920d5(0x24e)]:a0_0x2920d5(0x1a6),[a0_0x2920d5(0x277)]:a0_0x2920d5(0x18d),[a0_0x2920d5(0x1e2)]:a0_0x2920d5(0x272),[a0_0x2920d5(0x10e)]:a0_0x2920d5(0x22a)},API_BLACKLIST=[a0_0x2920d5(0x249),a0_0x2920d5(0x2b8),a0_0x2920d5(0x1d6)];function parseFieldExtend(_0x1e7cf2){const _0x42c88d=a0_0x2920d5;if(!_0x1e7cf2||typeof _0x1e7cf2!==_0x42c88d(0x222))return!![]&&console['warn']('[parseFieldExtend]\x20Invalid\x20field:',_0x1e7cf2),{};if(!_0x1e7cf2[_0x42c88d(0x129)])return{};try{const _0x117696=typeof _0x1e7cf2[_0x42c88d(0x129)]===_0x42c88d(0x12e)?JSON['parse'](_0x1e7cf2['extend']):_0x1e7cf2[_0x42c88d(0x129)];if(typeof _0x117696!==_0x42c88d(0x222)||_0x117696===null)return{};return _0x117696;}catch(_0x1ecbf5){return{};}}function isPrimaryKeyField(_0x364aba,_0x3b033f){const _0x436b9f=a0_0x2920d5;if(!_0x364aba||typeof _0x364aba!==_0x436b9f(0x222))return![];if(typeof _0x3b033f===_0x436b9f(0x12e)&&_0x364aba[_0x436b9f(0x25f)]===_0x3b033f)return!![];const _0x3714e7=parseFieldExtend(_0x364aba);return Boolean(_0x3714e7['primaryKey']||_0x3714e7[_0x436b9f(0x22d)]);}function a0_0x55b5(){const _0x370d34=['2024-01-01','generateFromSchema','set','DrivenDataDetail(','createTimeField','getCountByMethod','fields','select','toISOString','size','isEnum','isSystemField','-\x20`','systemRetain','deleted','tableName','generateResponseExample','\x20的\x20extend\x20配置失败:','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','[Field.extend]\x20解析字段\x20','getConflicts','getOne','ensureFilterOperation','[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:','getOperationAnalyses','generateExampleValue','(id,\x20data);','$lteq','hasConflict','getDefaultValue','这是一段较长的文本内容示例','[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:','isEnabled','padStart','createAll','getEnumMetas','getDisabledNames','label','富文本','2024-12-31','getFieldList','Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData','getConflictStats','getDatabaseVersion','GET_UPLOAD_FILE_SCRIPT','getOperationCountByMethod','repeat','getAutoIncrement','toArray','creatorNameField','13800138000','getUploadFileScript','1.0.0-beta.8','hasConflicts','查询单条','null','_operationAnalyses','getEnumMeta','enabledOperationCount','fieldCount','object','getIds','toConfig','valueLabels','isPrimaryKeyField','getOperationRequestFields','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27','VARCHAR','导入模板','sdkCallCode','stringify','pkField','length','raw','BOOLEAN','getFields','getEnumFields','getAllFieldsArray','getStats','getFilteredOperationAnalyses','placeholder','modelId','requestBody','_$1','logicField','getSystem','\x20Response\x20example:\x0a','DatasetList(','2157SDivha','$or','labelField','getOperationAnalysesByType','$eq','getDatasetDocMeta','(id,\x20','options','getTableKey','dbType','getPrimaryKeys','getOneOrigin','join','getDisplayName','createDate','getTableName','createImport','\x20API\x20文档','getResponseSchema','getFieldSelectItemsSource','hasField','isSystem','method','[Field]\x20Invalid\x20field\x20definition','total','substring','STRING','getDisabledOperationInstances','getPath','getFieldDefinition','getName','no\x20conflicts','isRequiredField','code','primaryKey','getFieldsWithDeleted','getEnabled','getRaw','isOperatorApplicableToField','entries','getRawDbtableConfig','fieldName','getSDKInitData','hasUpdateTimeField','iterator','sort','getRequired','dbtableConfig','toString','日期时间','();\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}','getOperationAnalysis','任务信息','includes','findByName','\x20groups,\x20','toLowerCase','createExport','dataset_000000','EXCEL_EXPORT','INTEGER','getFieldOperators','6429995ggoseo','modifyDate','\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});','9VifjdO','查询条件(支持\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)','GET_LIST','_fieldListWithDeleted','successCode','isUpdateTime','getDatabaseName','filterBlacklist','getFilterOperation','DatasetGroup(','getFilterOperators','示例文本','getPrimaryKeyFields','trim','OperationList(','POST','findByCode','返回字段列表(字段投影)','getDisabled','keys','解析\x20responseBody\x20失败:','getSelectOptions','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','lastIndexOf','(id);','TEXT','getLatestDatasets','getOperationCount','getOperators','responseSchema','toUpperCase','currentPage','Excel导出','获取数据集失败:\x20','update','getAllDatasets','getOperationFieldsOperatorsMap','\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,','getOperation','({\x20','dblinkInfoDTO','文件上传','getSystemAnalysisResult','$lte','operation','getDisabledOperations','from','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','hasFilterOperation','getAt','some','getRequiredFields',':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','\x20operations)','number','GET_ONE_ORIGIN','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','getOneUpdate','datasetKey','getVirtualTables','CHECKBOX','values','const\x20result\x20=\x20await\x20client.models.','toFullConfig','autoIncrement','系统自动生成','String','type','\x0a//\x20Call\x20the\x20','SDK\x20调用','generateSDKCallCode','getEnabledNames','\x0a\x20\x20env:\x20\x27','[dsparser]\x20跳过重复的表名\x20\x22','has\x20conflicts','getEnabledOperations','/filter','下拉选择','replace','dbName','supportsCRUD','sdkCall','generateDefaultFilterOperation','dataset_','查询列表','getAllFieldsString','N/A','excelExport','toConfigArray','empty','getBusiness','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','getDeleted','isAutoIncrement','isEmpty','Object','isDeleted','toObject','DESC','10Dmmzwb','value2','modifierIdField','warn','parseRawResponseBody','updateTime','generateFieldExample','description','API路径','hasDbtableConfig','_operationList','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','(params);','18809NQqkOC','includeDisabled','1436670mKdIdk','北京市朝阳区','getAll','Integer','every','TASK_INFO','getMethod','getSystemFields','_raw','displayName','查询单条(原始)','237784NokEnR','getFullUrl','parse','isEnumField','getSource','示例值','parseRawRequestBody','responseBody','isMultipleSelectField','CREATE_IMPORT','value','getOperationStats','$gteq','systemFieldCount','requestFields','sortNum','now','字段编码','multiple','DATETIME','has','DatasetGroupMap(','appCode','children','24326mkwWLT','TIMESTAMP','isBusiness','getOperationFieldOperators','modifierNameField','getOldest','source','importTemplate','DrivenDataDetailPlus(','操作成功','groupByType','slice','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','getFieldsByType','isCreateTime','getFieldRaw','getFieldCount','getType',',\x20currentPage,\x20pageSize,\x20...\x20});','DbtableConfig(table:\x20','prefix','getRealTables','generateRequestAllExamples','errorMsg','$startWith','hasTableName','NUMBER','完整的\x20SDK\x20调用代码','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','generateRequestExample','push','groups','数组查询(支持多选)','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','extend','datasetCode','selectItemsSource','Object[]','hasDblinkInfo','string','modelCode','\x20groups)','获取文件URL','\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20','当前页码(可选)','customFilter','isRequired','updateTimeField','BOOL','operations','isVirtualTable','min','field_name','getEnumOptions','_operations','getOperationDocMeta','请求示例','getFieldInstance','[generateRequestExample]\x20Invalid\x20field:','selectBestOperator','每页数量(可选)','isMultipleSelect','DELETE','getEnum','dbVersion','查询单条(用于更新)','getEnumFieldMeta','getSelectItemsSource','getFiltered','$endWith','allFields','DECIMAL','getBusinessFields','where','array','delete','filter','getApplicableOperators','datasetMap','defaultValue','version','hasLogicField','({\x20currentPage,\x20pageSize\x20});','700sinnul','item2','$in','SELECT','DATE','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:','isArray','sortOperationsWithFilterFirst','_fields','RADIO','forEach','find','map','653598qepglw','BIGINT','get','getCodes','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','generateUsageExample','enabled','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','toFieldDefinition','hasOperation','isPrimaryKey','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','keyword','online','getCount','getAppCode','当前页码','properties','findById','context','getLast','\x20fields,\x20','creatorIdField','tenantCode','_fieldList','name','getEnabledOperationInstances','suffix','toJSON','$contain','data','单值查询','获取数据集列表失败:\x20','();\x0a\x0a//\x20按条件导出(支持与\x20getList\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','https://example.com/image.jpg','$ne','\x20operation\x0a','hasCreateTimeField','创建导出','getFieldFilterOperators','getOperationOperators','解析\x20requestBody\x20失败:','getUpdateTime','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','tableData','$and','getConflictingItems','getList','();','getCreateTime','(...);\x0a\x20\x20console.log(data);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x20(包含\x20success,\x20errorMsg\x20等)\x0a}','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse','查询单个条件','getEnumFieldsMeta','validateEnumValue','_datasetMap','getTenantCode','字段名称','value1','支持单值或数组','\x22,数据集:\x20','获取下拉选项','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','创建导入','12ZaiuPd','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','getOperationCountByType',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getEnabledOperationAnalyses','host','daily','email','getLatest','0000','getRequestParams','getTooltip','responseExample','GET_ONE','msg','Number','path','hasCreatorIdField','required','charAt','支持多个条件','parseFieldExtend','getNames','boolean','withDeleted','test','items','getDatabaseType','UPDATE','40fBreVP','IMPORT_TEMPLATE','split','businessFieldCount','$gte','({\x20code,\x20label\x20});','generateSingleValueExample','getCountByType','\x20items,\x20','getRequestFields','pageSize','generateFullSDKExample','hasExtendField','user@example.com','排序规则','useFullExample','orderBy','Filter\x20API\x20-\x20高级查询接口','getFileUrl','CREATE','create','getItems','generateConfig','success','_extend','getOperationList','getExtendField','query','每页数量','354wrCTHY','taskInfo','String[]','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','systemAnalysisResult'];a0_0x55b5=function(){return _0x370d34;};return a0_0x55b5();}function isSystemField(_0x211d9d){const _0x3a54e6=a0_0x2920d5,_0x2735ca=parseFieldExtend(_0x211d9d);return Boolean(_0x2735ca[_0x3a54e6(0x1f3)]);}function isRequiredField(_0x43aa84){const _0x416b40=a0_0x2920d5,_0x14f6d5=parseFieldExtend(_0x43aa84);return Boolean(_0x14f6d5[_0x416b40(0x1b9)]);}function isAutoIncrementField(_0x3001b5){const _0x451dd0=a0_0x2920d5,_0x225236=parseFieldExtend(_0x3001b5);return Boolean(_0x225236[_0x451dd0(0x2bf)]);}function isCreateTimeField(_0x23b268){const _0x3e7305=a0_0x2920d5,_0x77f22c=parseFieldExtend(_0x23b268);return Boolean(_0x77f22c[_0x3e7305(0x24c)]);}function isModifyTimeField(_0x199be0){const _0x1d563e=a0_0x2920d5,_0x51782d=parseFieldExtend(_0x199be0);return Boolean(_0x51782d[_0x1d563e(0x27d)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':'长文本','DATE':'日期','DATETIME':a0_0x2920d5(0x26f),'TIMESTAMP':'时间戳','SELECT':a0_0x2920d5(0x2cc),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0x2920d5(0x2a8),'IMAGE':'图片','RICH_TEXT':a0_0x2920d5(0x20c),'JSON':'JSON','ARRAY':'数组'};function getDbTypeDisplay(_0x1fb8c6){const _0xcb18b7=a0_0x2920d5;if(typeof _0x1fb8c6!==_0xcb18b7(0x12e))return!![]&&console[_0xcb18b7(0xd8)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x1fb8c6),String(_0x1fb8c6||'-');return DB_TYPE_DISPLAY_MAP[_0x1fb8c6]||_0x1fb8c6;}function formatDbType(_0x2b647f,_0x49297c){const _0x17e9e8=a0_0x2920d5;if(!_0x2b647f||typeof _0x2b647f!==_0x17e9e8(0x12e))return'-';if(!_0x49297c||typeof _0x49297c!==_0x17e9e8(0x2b5))return _0x2b647f;const _0x32436b=[_0x17e9e8(0x298),_0x17e9e8(0x102),_0x17e9e8(0x108),'DATE'];if(_0x32436b[_0x17e9e8(0x273)](_0x2b647f[_0x17e9e8(0x29d)]()))return _0x2b647f;return _0x2b647f+'('+_0x49297c+')';}function parseOperationType(_0x4c87a4){const _0x50c796=a0_0x2920d5;if(typeof _0x4c87a4!==_0x50c796(0x12e)){!![]&&console[_0x50c796(0xd8)]('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x4c87a4);return;}if(Object[_0x50c796(0x2bc)](DatasetOperationType)['includes'](_0x4c87a4))return _0x4c87a4;const _0xf282b1=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)[_0x50c796(0x165)](([_0x5899e6,_0xd63edc])=>_0xd63edc===_0x4c87a4);return _0xf282b1?_0xf282b1[0x0]:undefined;}function shouldIncludeField(_0x490af,_0x3fdb3f,_0x5369da){const _0x194b05=a0_0x2920d5,_0x1671bd=parseFieldExtend(_0x490af),_0x391de4=isPrimaryKeyField(_0x490af,_0x5369da),_0x455fc1=Boolean(_0x1671bd[_0x194b05(0x1f3)]),_0x2a7bdf=Boolean(_0x1671bd[_0x194b05(0x2bf)]),_0xd6815=Boolean(_0x1671bd['createDate']),_0x13aca7=Boolean(_0x1671bd[_0x194b05(0x27d)]);switch(_0x3fdb3f){case _0x194b05(0x196):return!![];case _0x194b05(0x1fb):case _0x194b05(0x249):case _0x194b05(0x152):return _0x391de4;case'create':if(_0x391de4&&_0x2a7bdf)return![];if(_0x455fc1)return![];if(_0xd6815||_0x13aca7)return![];return!![];case _0x194b05(0x2a1):case'getOneUpdate':if(_0x391de4)return!![];if(_0x455fc1)return![];if(_0xd6815||_0x13aca7)return![];return!![];case _0x194b05(0x294):return _0x490af['code']==='code';default:return!![];}}function getFieldsForOperation(_0x340852,_0x2f0e03,_0x1aa9ed){const _0x1b3a9b=a0_0x2920d5;if(!Array['isArray'](_0x340852))return!![]&&console['warn'](_0x1b3a9b(0x192),_0x340852),[];return _0x340852[_0x1b3a9b(0x153)](_0x72fdd9=>shouldIncludeField(_0x72fdd9,_0x2f0e03,_0x1aa9ed));}function isApiBlacklisted(_0xad54ef){const _0x55b1f9=a0_0x2920d5;if(typeof _0xad54ef!==_0x55b1f9(0x12e))return!![]&&console[_0x55b1f9(0xd8)]('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0xad54ef),![];return API_BLACKLIST[_0x55b1f9(0x273)](_0xad54ef);}function filterApiOperations(_0x445a7c){const _0x1d88aa=a0_0x2920d5;if(!Array['isArray'](_0x445a7c))return!![]&&console[_0x1d88aa(0xd8)](_0x1d88aa(0x128),_0x445a7c),[];return _0x445a7c[_0x1d88aa(0x153)](_0x3a3b91=>_0x3a3b91&&typeof _0x3a3b91===_0x1d88aa(0x222)&&!isApiBlacklisted(_0x3a3b91[_0x1d88aa(0x180)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x2920d5(0xff)](),'SELECT':({fieldInfo:_0x2cc0fc})=>{const _0x21a888=a0_0x2920d5;if(_0x2cc0fc?.['options']&&Array[_0x21a888(0x160)](_0x2cc0fc['options'])&&_0x2cc0fc[_0x21a888(0x245)][_0x21a888(0x22e)]>0x0)return _0x2cc0fc['options'][0x0][_0x21a888(0xf9)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x436796})=>{const _0x234bf0=a0_0x2920d5;if(_0x436796==='currentPage')return 0x1;if(_0x436796===_0x234bf0(0x1ce))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x2ea69f})=>{const _0xebda7d=a0_0x2920d5;if(_0x2ea69f&&typeof _0x2ea69f==='string'){const _0x31b5a1=_0x2ea69f[_0xebda7d(0x276)]();if(_0x31b5a1['includes']('邮箱')||_0x31b5a1[_0xebda7d(0x273)](_0xebda7d(0x1ae)))return _0xebda7d(0x1d1);if(_0x31b5a1[_0xebda7d(0x273)]('电话')||_0x31b5a1[_0xebda7d(0x273)]('手机')||_0x31b5a1[_0xebda7d(0x273)]('phone'))return _0xebda7d(0x218);if(_0x31b5a1['includes']('地址')||_0x31b5a1[_0xebda7d(0x273)]('address'))return _0xebda7d(0xe5);if(_0x31b5a1[_0xebda7d(0x273)]('姓名')||_0x31b5a1[_0xebda7d(0x273)](_0xebda7d(0x180)))return'张三';}return _0xebda7d(0x28a);},'VARCHAR':({description:_0x11e269})=>TYPE_VALUE_GENERATORS[a0_0x2920d5(0x298)]({'description':_0x11e269}),'CHAR':({description:_0x1a45ca})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x1a45ca}),'STRING':({fieldInfo:_0x14598c,description:_0x574364})=>{const _0x39dc89=a0_0x2920d5;if(_0x14598c?.[_0x39dc89(0x236)]&&typeof _0x14598c['placeholder']===_0x39dc89(0x12e)&&_0x14598c['placeholder']!==_0x39dc89(0x2c0))return _0x14598c[_0x39dc89(0x236)]['replace'](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x39dc89(0x298)]({'description':_0x574364});},'TEXTAREA':()=>a0_0x2920d5(0x204),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x2920d5(0xf9)}),'ARRAY':()=>['item1',a0_0x2920d5(0x15b)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x2920d5(0x189),'RICH_TEXT':()=>'<p>富文本内容</p>'};function generateExampleValue(_0xb0a00e,_0x325b47,_0x2981e3,_0x286837={}){const _0x1305fa=a0_0x2920d5;typeof _0xb0a00e!==_0x1305fa(0x12e)&&(!![]&&console[_0x1305fa(0xd8)](_0x1305fa(0x16e),_0xb0a00e),_0xb0a00e=String(_0xb0a00e||''));if(typeof _0x325b47!==_0x1305fa(0x12e))return!![]&&console[_0x1305fa(0xd8)](_0x1305fa(0x1e4),_0x325b47),_0x1305fa(0xf4);const {isPrimaryKey:_0x4f21a8,dbtableConfig:_0x59559e}=_0x286837;if(_0x4f21a8)return 0x1;if(_0x59559e&&typeof _0x59559e==='object'){const _0x404d43=_0x59559e[_0x1305fa(0x1ea)]?.[_0x1305fa(0x267)]===_0xb0a00e,_0x2861a6=_0x59559e[_0x1305fa(0x136)]?.[_0x1305fa(0x267)]===_0xb0a00e;if(_0x404d43||_0x2861a6){if(_0x2981e3&&typeof _0x2981e3===_0x1305fa(0x12e)&&_0x2981e3[_0x1305fa(0x29d)]()[_0x1305fa(0x273)]('TIMESTAMP'))return Date[_0x1305fa(0xff)]();return new Date()[_0x1305fa(0x1ee)]()[_0x1305fa(0x2cd)]('T','\x20')['split']('.')[0x0];}}const _0x251ee3={..._0x286837,'fieldCode':_0xb0a00e};if(_0x2981e3&&typeof _0x2981e3===_0x1305fa(0x12e)){const _0x174626=_0x2981e3['toUpperCase'](),_0x19f8cf=TYPE_VALUE_GENERATORS[_0x174626];if(_0x19f8cf)return _0x19f8cf(_0x251ee3);}if(_0x325b47&&typeof _0x325b47===_0x1305fa(0x12e)){const _0x382449=_0x325b47[_0x1305fa(0x29d)](),_0xbd3bbb=TYPE_VALUE_GENERATORS[_0x382449];if(_0xbd3bbb)return _0xbd3bbb(_0x251ee3);}return _0x1305fa(0xf4);}function generateExampleFromSchema(_0x3ab136,_0x5ba3dd){const _0x3fdff0=a0_0x2920d5;if(!_0x3ab136||typeof _0x3ab136!==_0x3fdff0(0x222))return{};if(Array['isArray'](_0x3ab136)){if(_0x3ab136[_0x3fdff0(0x22e)]>0x0)return[generateExampleFromSchema(_0x3ab136[0x0],_0x5ba3dd)];return[];}const _0x450fb9={};return Object[_0x3fdff0(0x292)](_0x3ab136)['forEach'](_0x32f5f1=>{const _0x12cbe5=_0x3fdff0,_0x9088fd=_0x3ab136[_0x32f5f1];if(_0x9088fd&&typeof _0x9088fd==='object'&&!Array[_0x12cbe5(0x160)](_0x9088fd)&&_0x9088fd[_0x12cbe5(0x2c2)]){const _0x39a98a=_0x9088fd,_0x67468e=_0x39a98a[_0x12cbe5(0x2c2)],_0x10f3a3=_0x39a98a['description'];typeof _0x67468e==='string'?_0x450fb9[_0x32f5f1]=generateExampleValue(_0x32f5f1,_0x67468e,undefined,{'description':_0x10f3a3,'dbtableConfig':_0x5ba3dd}):_0x450fb9[_0x32f5f1]=_0x12cbe5(0xf4);}else{if(Array['isArray'](_0x9088fd))_0x450fb9[_0x32f5f1]=_0x9088fd[_0x12cbe5(0x22e)]>0x0?[generateExampleFromSchema(_0x9088fd[0x0],_0x5ba3dd)]:[];else _0x9088fd&&typeof _0x9088fd===_0x12cbe5(0x222)?_0x450fb9[_0x32f5f1]=generateExampleFromSchema(_0x9088fd,_0x5ba3dd):_0x450fb9[_0x32f5f1]=_0x9088fd;}}),_0x450fb9;}function parseRequestBody(_0x412f09){const _0xa4297b=a0_0x2920d5;if(!_0x412f09)return{};try{return JSON[_0xa4297b(0xf1)](_0x412f09);}catch(_0x5657ca){return!![]&&console['warn'](_0xa4297b(0x190),_0x5657ca),{};}}function parseResponseBody(_0x18d2bc){const _0x58d423=a0_0x2920d5;if(!_0x18d2bc)return null;try{const _0x4076c6=JSON[_0x58d423(0xf1)](_0x18d2bc);return _0x4076c6['200']||_0x4076c6;}catch(_0x5cd0fb){return!![]&&console['warn'](_0x58d423(0x293),_0x5cd0fb),null;}}function generateRequestExample(_0x28da55,_0x18a03d,_0xe912c0,_0x26f68f){const _0x5e7318=a0_0x2920d5,_0x1f6ec2={};if(!Array[_0x5e7318(0x160)](_0x28da55))return!![]&&console[_0x5e7318(0xd8)](_0x5e7318(0x1a8),_0x28da55),_0x1f6ec2;return _0x28da55[_0x5e7318(0x164)](_0x19fcb3=>{const _0x4a3b1a=_0x5e7318;if(!_0x19fcb3||typeof _0x19fcb3!==_0x4a3b1a(0x222)){!![]&&console['warn'](_0x4a3b1a(0x141),_0x19fcb3);return;}if(typeof _0x19fcb3['code']!==_0x4a3b1a(0x12e)||typeof _0x19fcb3[_0x4a3b1a(0x2c2)]!==_0x4a3b1a(0x12e)){!![]&&console[_0x4a3b1a(0xd8)]('[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:',_0x19fcb3);return;}const _0x4e130c=parseFieldExtend(_0x19fcb3),_0x526c2a=_0x19fcb3[_0x4a3b1a(0x25f)]===_0xe912c0||Boolean(_0x4e130c?.[_0x4a3b1a(0x260)]),_0x89d601=generateExampleValue(_0x19fcb3[_0x4a3b1a(0x25f)],_0x19fcb3[_0x4a3b1a(0x2c2)],typeof _0x19fcb3[_0x4a3b1a(0x247)]===_0x4a3b1a(0x12e)?_0x19fcb3[_0x4a3b1a(0x247)]:undefined,{'fieldInfo':_0x4e130c,'isPrimaryKey':_0x526c2a,'description':_0x19fcb3['description']||_0x19fcb3[_0x4a3b1a(0x180)],'dbtableConfig':_0x26f68f});_0x1f6ec2[_0x19fcb3['code']]=_0x89d601;}),_0x18a03d===_0x5e7318(0x196)&&(_0x1f6ec2[_0x5e7318(0x29e)]=0x1,_0x1f6ec2[_0x5e7318(0x1ce)]=0xa),_0x1f6ec2;}function formatEnumValue(_0x3269ff,_0x4417fa){const _0x490e2b=a0_0x2920d5;if(_0x3269ff[_0x490e2b(0x101)]&&Array[_0x490e2b(0x160)](_0x4417fa))return _0x4417fa['map'](_0x3eba80=>_0x3269ff['valueLabels'][String(_0x3eba80)]||String(_0x3eba80))['join'](',\x20');return _0x3269ff[_0x490e2b(0x225)][String(_0x4417fa)]||String(_0x4417fa);}function formatOptionsForDoc(_0x361d6e){const _0x49d072=a0_0x2920d5;return _0x361d6e[_0x49d072(0x166)](_0x5e7686=>_0x5e7686[_0x49d072(0xf9)]+'('+_0x5e7686['label']+')')[_0x49d072(0x24a)](',\x20');}function formatOptionsAsMarkdownList(_0x231266,_0x4797b9=0x0){const _0x4792f1=a0_0x2920d5,_0x15142d='\x20\x20'[_0x4792f1(0x214)](_0x4797b9),_0x4a44e6=[];return _0x231266[_0x4792f1(0x164)](_0x557874=>{const _0x3cfb4d=_0x4792f1;_0x4a44e6[_0x3cfb4d(0x125)](_0x15142d+_0x3cfb4d(0x1f2)+_0x557874[_0x3cfb4d(0xf9)]+'`:\x20'+_0x557874[_0x3cfb4d(0x20b)]),_0x557874['children']&&_0x557874[_0x3cfb4d(0x106)][_0x3cfb4d(0x22e)]>0x0&&_0x4a44e6[_0x3cfb4d(0x125)](formatOptionsAsMarkdownList(_0x557874[_0x3cfb4d(0x106)],_0x4797b9+0x1));}),_0x4a44e6['join']('\x0a');}function a0_0x5328(_0xf47742,_0x4990d1){const _0x55b5ce=a0_0x55b5();return a0_0x5328=function(_0x532891,_0x38dace){_0x532891=_0x532891-0xd6;let _0x1422b6=_0x55b5ce[_0x532891];return _0x1422b6;},a0_0x5328(_0xf47742,_0x4990d1);}class DbtableConfig{[a0_0x2920d5(0xec)];constructor(_0x138c07){const _0x160790=a0_0x2920d5;this[_0x160790(0xec)]={..._0x138c07};}get['dbId'](){return this['_raw']['dbId'];}get[a0_0x2920d5(0x1f5)](){const _0x65fc9b=a0_0x2920d5;return this[_0x65fc9b(0xec)][_0x65fc9b(0x1f5)];}get['datasetKey'](){const _0x2f7581=a0_0x2920d5;return this[_0x2f7581(0xec)]['datasetKey'];}get[a0_0x2920d5(0x22d)](){const _0x18d4d7=a0_0x2920d5;return this[_0x18d4d7(0xec)][_0x18d4d7(0x22d)];}get[a0_0x2920d5(0x240)](){return this['_raw']['labelField'];}get[a0_0x2920d5(0x23a)](){const _0x4bf0dc=a0_0x2920d5;return this[_0x4bf0dc(0xec)][_0x4bf0dc(0x23a)];}get[a0_0x2920d5(0x1ea)](){const _0x302888=a0_0x2920d5;return this[_0x302888(0xec)][_0x302888(0x1ea)];}get[a0_0x2920d5(0x136)](){const _0x5525ed=a0_0x2920d5;return this[_0x5525ed(0xec)][_0x5525ed(0x136)];}get['creatorIdField'](){const _0x52ae5c=a0_0x2920d5;return this[_0x52ae5c(0xec)][_0x52ae5c(0x17d)];}get[a0_0x2920d5(0x217)](){const _0x4e1647=a0_0x2920d5;return this['_raw'][_0x4e1647(0x217)];}get[a0_0x2920d5(0xd7)](){const _0x41ba98=a0_0x2920d5;return this[_0x41ba98(0xec)][_0x41ba98(0xd7)];}get['modifierNameField'](){const _0x59abd1=a0_0x2920d5;return this[_0x59abd1(0xec)][_0x59abd1(0x10b)];}get[a0_0x2920d5(0x2a7)](){const _0x1cdb5d=a0_0x2920d5;return this['_raw'][_0x1cdb5d(0x2a7)];}[a0_0x2920d5(0x233)](){const _0x25db5c=a0_0x2920d5;if(!this[_0x25db5c(0xec)][_0x25db5c(0x14d)])return[];return this['_raw']['allFields'][_0x25db5c(0x1c6)](',')[_0x25db5c(0x166)](_0x135124=>_0x135124[_0x25db5c(0x28c)]())[_0x25db5c(0x153)](Boolean);}[a0_0x2920d5(0x2d4)](){const _0x992034=a0_0x2920d5;return this[_0x992034(0xec)]['allFields'];}[a0_0x2920d5(0x252)](_0x171bde){const _0x33df74=a0_0x2920d5;return this[_0x33df74(0x233)]()[_0x33df74(0x273)](_0x171bde);}['hasTableName'](){return Boolean(this['_raw']['tableName']);}[a0_0x2920d5(0x12d)](){const _0x58af11=a0_0x2920d5;return Boolean(this[_0x58af11(0xec)][_0x58af11(0x2a7)]);}[a0_0x2920d5(0x158)](){const _0x3c1da3=a0_0x2920d5;return Boolean(this[_0x3c1da3(0xec)]['logicField']?.[_0x3c1da3(0x267)]);}[a0_0x2920d5(0x18c)](){const _0x24ea6a=a0_0x2920d5;return Boolean(this[_0x24ea6a(0xec)][_0x24ea6a(0x1ea)]?.[_0x24ea6a(0x267)]);}['hasUpdateTimeField'](){const _0x2fc5d5=a0_0x2920d5;return Boolean(this[_0x2fc5d5(0xec)]['updateTimeField']?.['fieldName']);}[a0_0x2920d5(0x1b8)](){const _0x1df534=a0_0x2920d5;return Boolean(this[_0x1df534(0xec)]['creatorIdField']?.[_0x1df534(0x267)]);}['hasModifierIdField'](){const _0x7f91c8=a0_0x2920d5;return Boolean(this[_0x7f91c8(0xec)][_0x7f91c8(0xd7)]?.['fieldName']);}[a0_0x2920d5(0x226)](_0x44fda2){const _0x2b0774=a0_0x2920d5;return this['_raw'][_0x2b0774(0x22d)]===_0x44fda2;}[a0_0x2920d5(0x1f1)](_0x2b2f7c){const _0x857e75=a0_0x2920d5;return this[_0x857e75(0x226)](_0x2b2f7c)||this[_0x857e75(0xec)][_0x857e75(0x23a)]?.[_0x857e75(0x267)]===_0x2b2f7c||this[_0x857e75(0xec)][_0x857e75(0x1ea)]?.[_0x857e75(0x267)]===_0x2b2f7c||this[_0x857e75(0xec)][_0x857e75(0x136)]?.['fieldName']===_0x2b2f7c||this['_raw'][_0x857e75(0x17d)]?.['fieldName']===_0x2b2f7c||this[_0x857e75(0xec)][_0x857e75(0x217)]?.['fieldName']===_0x2b2f7c||this[_0x857e75(0xec)][_0x857e75(0xd7)]?.[_0x857e75(0x267)]===_0x2b2f7c||this[_0x857e75(0xec)][_0x857e75(0x10b)]?.[_0x857e75(0x267)]===_0x2b2f7c;}[a0_0x2920d5(0x285)](){const _0x5b0110=a0_0x2920d5;return this[_0x5b0110(0xec)]['dblinkInfoDTO']?.[_0x5b0110(0x2ce)];}[a0_0x2920d5(0x1c2)](){const _0x1d37f9=a0_0x2920d5;return this['_raw'][_0x1d37f9(0x2a7)]?.[_0x1d37f9(0x247)];}[a0_0x2920d5(0x211)](){const _0x498a43=a0_0x2920d5;return this[_0x498a43(0xec)]['dblinkInfoDTO']?.[_0x498a43(0x147)];}[a0_0x2920d5(0x19f)](){const _0x154e2e=a0_0x2920d5;return this[_0x154e2e(0xec)]['dblinkInfoDTO']?.[_0x154e2e(0x17e)];}[a0_0x2920d5(0x176)](){const _0x32150c=a0_0x2920d5;return this[_0x32150c(0xec)]['dblinkInfoDTO']?.[_0x32150c(0x105)];}[a0_0x2920d5(0x2a9)](){const _0x20ca80=a0_0x2920d5;return this['_raw']['dblinkInfoDTO']?.[_0x20ca80(0x1e5)];}[a0_0x2920d5(0x234)](){const _0x3013c6=a0_0x2920d5;return{'hasTableName':this[_0x3013c6(0x120)](),'hasDblinkInfo':this['hasDblinkInfo'](),'fieldCount':this[_0x3013c6(0x233)]()[_0x3013c6(0x22e)],'systemFields':{'hasLogicField':this[_0x3013c6(0x158)](),'hasCreateTimeField':this['hasCreateTimeField'](),'hasUpdateTimeField':this[_0x3013c6(0x269)](),'hasCreatorIdField':this[_0x3013c6(0x1b8)](),'hasModifierIdField':this['hasModifierIdField']()}};}['toConfig'](){const _0x4a8127=a0_0x2920d5;return{'tableName':this[_0x4a8127(0x1f5)],'pkField':this['pkField'],'datasetKey':this[_0x4a8127(0x2b9)],'dbId':this['dbId']};}[a0_0x2920d5(0x183)](){const _0x51da33=a0_0x2920d5;return{...this[_0x51da33(0xec)]};}[a0_0x2920d5(0x263)](){return{...this['_raw']};}[a0_0x2920d5(0x26e)](){const _0x32f2ef=a0_0x2920d5,_0x142eec=this[_0x32f2ef(0x1f5)]||_0x32f2ef(0x2d5),_0x341839=this[_0x32f2ef(0x233)]()['length'];return _0x32f2ef(0x11a)+_0x142eec+',\x20fields:\x20'+_0x341839+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{['_raw'];constructor(_0x7760ab){const _0x25f847=a0_0x2920d5,_0x42915f=_0x7760ab[_0x25f847(0x12a)]||_0x7760ab[_0x25f847(0x25f)]||_0x7760ab['modelCode'];this[_0x25f847(0xec)]={..._0x7760ab,'datasetCode':_0x42915f};}get['id'](){const _0x16f174=a0_0x2920d5;return this[_0x16f174(0xec)]['id'];}get[a0_0x2920d5(0x180)](){const _0x352d2e=a0_0x2920d5;return this[_0x352d2e(0xec)][_0x352d2e(0x180)];}[a0_0x2920d5(0x25c)](){const _0x277be5=a0_0x2920d5;return this[_0x277be5(0x180)];}get[a0_0x2920d5(0x12a)](){const _0x5b6c64=a0_0x2920d5;return this['_raw'][_0x5b6c64(0x12a)]||'';}get[a0_0x2920d5(0x26d)](){const _0x5c0216=a0_0x2920d5;if(!this['_raw'][_0x5c0216(0x26d)])return null;return new DbtableConfig(this[_0x5c0216(0xec)][_0x5c0216(0x26d)]);}[a0_0x2920d5(0x266)](){const _0xa259c0=a0_0x2920d5;return this[_0xa259c0(0xec)][_0xa259c0(0x26d)];}[a0_0x2920d5(0x24d)](){const _0x352821=a0_0x2920d5;return getTableName(this[_0x352821(0xec)]);}[a0_0x2920d5(0x246)](){return getTableKey(this['getTableName']());}[a0_0x2920d5(0x139)](){const _0x436a46=a0_0x2920d5;return isVirtualTableName(this[_0x436a46(0x24d)]());}['getModelName'](){const _0x38476a=a0_0x2920d5;return toPascalCase(this[_0x38476a(0x24d)]());}[a0_0x2920d5(0x224)](){const _0x3294f8=a0_0x2920d5;return{'key':getTableKey(this[_0x3294f8(0x24d)]()),'tableName':this['getTableName'](),'datasetCode':this['datasetCode'],'name':this[_0x3294f8(0x180)]};}[a0_0x2920d5(0x183)](){const _0x4588cb=a0_0x2920d5;return{...this[_0x4588cb(0xec)],'datasetCode':this[_0x4588cb(0x12a)]};}[a0_0x2920d5(0x263)](){return{...this['_raw']};}[a0_0x2920d5(0xde)](){const _0x10543a=a0_0x2920d5,_0x268421=this[_0x10543a(0x26d)];return _0x268421!==null&&_0x268421[_0x10543a(0x120)]();}[a0_0x2920d5(0x1de)](_0x5ec271){const _0x1e53bf=a0_0x2920d5;return this[_0x1e53bf(0xec)][_0x5ec271];}[a0_0x2920d5(0x1d0)](_0x4179bf){const _0x458042=a0_0x2920d5;return _0x4179bf in this[_0x458042(0xec)];}[a0_0x2920d5(0x26e)](){const _0x4012c0=a0_0x2920d5;return'DatasetItem('+this['name']+',\x20'+this[_0x4012c0(0x12a)]+')';}}class Operation{[a0_0x2920d5(0x180)];[a0_0x2920d5(0xec)];[a0_0x2920d5(0x17a)];constructor(_0x3e1d3b,_0x5a4a01,_0x23191d){const _0x1a0fba=a0_0x2920d5;this['name']=_0x3e1d3b,this[_0x1a0fba(0xec)]=_0x5a4a01,this[_0x1a0fba(0x17a)]=_0x23191d;}['getName'](){const _0x122729=a0_0x2920d5;return this[_0x122729(0x180)];}[a0_0x2920d5(0x24b)](){const _0x968c50=a0_0x2920d5,_0x535e57=this[_0x968c50(0x118)]();return _0x535e57?OPERATION_TYPE_DISPLAY_NAME[_0x535e57]:this[_0x968c50(0x180)];}[a0_0x2920d5(0x118)](){const _0x28f819=a0_0x2920d5;return parseOperationType(this[_0x28f819(0x180)]);}['isEnabled'](){const _0x128410=a0_0x2920d5;return this[_0x128410(0xec)]!=null&&this['_raw']!==![];}[a0_0x2920d5(0xea)](){const _0xb0ebaa=a0_0x2920d5;if(!this['isEnabled']()||!this[_0xb0ebaa(0xec)])return'';const _0x57d99c=this[_0xb0ebaa(0xec)]['method'];return typeof _0x57d99c===_0xb0ebaa(0x12e)?_0x57d99c:_0xb0ebaa(0x28e);}[a0_0x2920d5(0x25a)](){const _0x438158=a0_0x2920d5;if(!this[_0x438158(0x206)]()||!this[_0x438158(0xec)])return'';const _0x59dcd4=this[_0x438158(0xec)][_0x438158(0x1b7)];return typeof _0x59dcd4===_0x438158(0x12e)?_0x59dcd4:'';}[a0_0x2920d5(0xf0)](){const _0x3ebd07=a0_0x2920d5;if(!this[_0x3ebd07(0x206)]()||!this[_0x3ebd07(0xec)])return'';const {host:_0x3533e8,path:_0x19d076}=this[_0x3ebd07(0xec)],_0x5afb27=typeof _0x3533e8===_0x3ebd07(0x12e)?_0x3533e8:'',_0x3ab90d=typeof _0x19d076===_0x3ebd07(0x12e)?_0x19d076:'';return _0x5afb27&&_0x3ab90d?''+_0x5afb27+_0x3ab90d:_0x3ab90d;}[a0_0x2920d5(0x1cd)](){const _0x46b52a=a0_0x2920d5;return Object[_0x46b52a(0x292)](this[_0x46b52a(0x1b1)]());}[a0_0x2920d5(0xf5)](){const _0x51ad9f=a0_0x2920d5;if(!this[_0x51ad9f(0x206)]()||typeof this[_0x51ad9f(0xec)]==='boolean'||!this[_0x51ad9f(0xec)]?.['requestBody'])return{};const _0x1a1075=this[_0x51ad9f(0xec)][_0x51ad9f(0x238)];if(typeof _0x1a1075!=='string')return!![]&&console[_0x51ad9f(0xd8)](_0x51ad9f(0x205),_0x1a1075),{};return parseRequestBody(_0x1a1075);}[a0_0x2920d5(0xd9)](){const _0x1a791b=a0_0x2920d5;if(!this[_0x1a791b(0x206)]()||typeof this[_0x1a791b(0xec)]===_0x1a791b(0x1be)||!this[_0x1a791b(0xec)]?.[_0x1a791b(0xf6)])return null;const _0x467eb1=this[_0x1a791b(0xec)][_0x1a791b(0xf6)];if(typeof _0x467eb1!=='string')return!![]&&console[_0x1a791b(0xd8)](_0x1a791b(0x1fd),_0x467eb1),null;return parseResponseBody(_0x467eb1);}[a0_0x2920d5(0xdb)](_0x3cdcbb,_0x45266f,_0x63c2e0,_0x73c2c5){const _0x2efd18=a0_0x2920d5;return generateExampleValue(_0x3cdcbb,_0x45266f,_0x63c2e0,{'isPrimaryKey':_0x73c2c5?.['isPrimaryKey'],'description':_0x73c2c5?.[_0x2efd18(0xdc)],'dbtableConfig':this[_0x2efd18(0x17a)][_0x2efd18(0x26d)]});}['getFieldDefinition'](_0x78f937){const _0x4210e2=a0_0x2920d5;if(!Array[_0x4210e2(0x160)](this[_0x4210e2(0x17a)][_0x4210e2(0x1ec)])){!![]&&console['warn']('[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array');return;}if(typeof _0x78f937!==_0x4210e2(0x12e)){!![]&&console[_0x4210e2(0xd8)](_0x4210e2(0x113),_0x78f937);return;}return this[_0x4210e2(0x17a)]['fields']['find'](_0x40646b=>_0x40646b&&_0x40646b[_0x4210e2(0x25f)]===_0x78f937);}[a0_0x2920d5(0x26e)](){const _0x321377=a0_0x2920d5,_0x3c2c3b=this[_0x321377(0x206)]()?'启用':'禁用';return this[_0x321377(0x24b)]()+'('+this['name']+',\x20'+_0x3c2c3b+')';}[a0_0x2920d5(0x29b)](){return[];}[a0_0x2920d5(0x27b)](_0x49c9e6){return[];}[a0_0x2920d5(0x16c)](_0x34f257){const _0x2b22e2=a0_0x2920d5,_0x7d27f1=this[_0x2b22e2(0x25c)](),_0x37bfab=_0x2b22e2(0xe0)+_0x34f257+'.'+_0x7d27f1+'(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容',_0x3cf22c='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'+_0x34f257+'.'+_0x7d27f1+_0x2b22e2(0x199);return{'successCode':_0x37bfab,'errorCode':_0x3cf22c};}[a0_0x2920d5(0x183)](){const _0x3f3485=a0_0x2920d5;return{'name':this[_0x3f3485(0x25c)](),'displayName':this['getDisplayName'](),'type':this[_0x3f3485(0x118)](),'enabled':this[_0x3f3485(0x206)](),'method':this[_0x3f3485(0xea)](),'path':this['getPath'](),'fullUrl':this['getFullUrl'](),'requestFields':this[_0x3f3485(0x1cd)](),'requestParams':this[_0x3f3485(0x1b1)](),'responseSchema':this[_0x3f3485(0x250)](),'requestExample':this[_0x3f3485(0x124)](),'responseExample':this['generateResponseExample']()};}}class GenericOperation extends Operation{[a0_0x2920d5(0x1b1)](){const _0x5eed66=a0_0x2920d5;return this[_0x5eed66(0xf5)]();}[a0_0x2920d5(0x250)](){const _0x564c1e=a0_0x2920d5;return this[_0x564c1e(0xd9)]();}[a0_0x2920d5(0x124)](){const _0x1deacb=a0_0x2920d5,_0x5bd3c2={},_0xad75e=this[_0x1deacb(0x1b1)](),_0xbc414d=this[_0x1deacb(0x118)]();if(Object[_0x1deacb(0x292)](_0xad75e)[_0x1deacb(0x22e)]===0x0&&_0xbc414d){const _0xa19df7=getFieldsForOperation(this['context'][_0x1deacb(0x1ec)],_0xbc414d,this['context']['pkField']);return _0xa19df7[_0x1deacb(0x164)](_0x3a1bf0=>{const _0x5f3a89=_0x1deacb,_0x2cc0f3=this[_0x5f3a89(0xdb)](_0x3a1bf0['code'],_0x3a1bf0['type'],typeof _0x3a1bf0['dbType']==='string'?_0x3a1bf0['dbType']:undefined,{'isPrimaryKey':_0x3a1bf0[_0x5f3a89(0x25f)]===this['context'][_0x5f3a89(0x22d)],'description':_0x3a1bf0['description']||_0x3a1bf0[_0x5f3a89(0x180)]});_0x5bd3c2[_0x3a1bf0['code']]=_0x2cc0f3;}),_0x5bd3c2;}return Object[_0x1deacb(0x265)](_0xad75e)[_0x1deacb(0x164)](([_0x60ce43,_0x48a641])=>{const _0x2fcbf7=_0x1deacb,_0x5f5b9b=_0x48a641;let _0x5f2e9e;if(typeof _0x5f5b9b[_0x2fcbf7(0x2c2)]===_0x2fcbf7(0x12e))_0x5f2e9e=_0x5f5b9b[_0x2fcbf7(0x2c2)];else _0x5f5b9b['type']&&typeof _0x5f5b9b[_0x2fcbf7(0x2c2)]===_0x2fcbf7(0x222)?_0x5f2e9e=_0x5f5b9b[_0x2fcbf7(0x2c2)][_0x2fcbf7(0x2c2)]||_0x2fcbf7(0x298):_0x5f2e9e=_0x2fcbf7(0x298);const _0x433ead=_0x5f5b9b[_0x2fcbf7(0xdc)],_0x4c8336=this['getFieldDefinition'](_0x60ce43);if(_0x60ce43===_0x2fcbf7(0x29e))_0x5bd3c2[_0x60ce43]=0x1;else{if(_0x60ce43==='pageSize')_0x5bd3c2[_0x60ce43]=0xa;else _0x60ce43==='id'?_0x5bd3c2[_0x60ce43]=0x1:_0x5bd3c2[_0x60ce43]=this[_0x2fcbf7(0xdb)](_0x60ce43,_0x5f2e9e,typeof _0x4c8336?.['dbType']===_0x2fcbf7(0x12e)?_0x4c8336[_0x2fcbf7(0x247)]:undefined,{'isPrimaryKey':_0x60ce43===this[_0x2fcbf7(0x17a)][_0x2fcbf7(0x22d)]||_0x60ce43==='id','description':_0x433ead||_0x4c8336?.[_0x2fcbf7(0xdc)]||_0x4c8336?.[_0x2fcbf7(0x180)]});}}),_0x5bd3c2;}[a0_0x2920d5(0x1f6)](){const _0x38a7bc=a0_0x2920d5,_0x48c5dd=this[_0x38a7bc(0x250)]();if(!_0x48c5dd)return{'success':!![],'msg':_0x38a7bc(0x110),'errorMsg':'','errorCode':_0x38a7bc(0x1b0),'data':null};return this[_0x38a7bc(0x1e7)](_0x48c5dd);}[a0_0x2920d5(0x1e7)](_0x5a083e){const _0x370d85=a0_0x2920d5;if(!_0x5a083e||typeof _0x5a083e!==_0x370d85(0x222))return{};if(Array[_0x370d85(0x160)](_0x5a083e)){if(_0x5a083e[_0x370d85(0x22e)]>0x0)return[this[_0x370d85(0x1e7)](_0x5a083e[0x0])];return[];}const _0x1d5fbd={};return Object[_0x370d85(0x292)](_0x5a083e)['forEach'](_0x588c69=>{const _0x3a88b8=_0x370d85,_0x1777d3=_0x5a083e[_0x588c69];if(_0x1777d3&&typeof _0x1777d3===_0x3a88b8(0x222)&&!Array[_0x3a88b8(0x160)](_0x1777d3)&&_0x1777d3['type']){const _0x397f64=_0x1777d3;let _0x7fa96;if(typeof _0x397f64[_0x3a88b8(0x2c2)]===_0x3a88b8(0x12e))_0x7fa96=_0x397f64[_0x3a88b8(0x2c2)];else _0x397f64[_0x3a88b8(0x2c2)]&&typeof _0x397f64['type']==='object'?_0x7fa96=_0x397f64[_0x3a88b8(0x2c2)][_0x3a88b8(0x2c2)]||_0x3a88b8(0x298):_0x7fa96=_0x3a88b8(0x298);const _0x4c2923=_0x397f64[_0x3a88b8(0xdc)];_0x1d5fbd[_0x588c69]=this['generateFieldExample'](_0x588c69,_0x7fa96,undefined,{'description':_0x4c2923});}else{if(Array['isArray'](_0x1777d3))_0x1d5fbd[_0x588c69]=_0x1777d3['length']>0x0?[this[_0x3a88b8(0x1e7)](_0x1777d3[0x0])]:[];else _0x1777d3&&typeof _0x1777d3===_0x3a88b8(0x222)?_0x1d5fbd[_0x588c69]=this[_0x3a88b8(0x1e7)](_0x1777d3):_0x1d5fbd[_0x588c69]=_0x1777d3;}}),_0x1d5fbd;}[a0_0x2920d5(0x2c5)](_0x3bc7d6,_0x163265){const _0x5eb104=a0_0x2920d5,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x163265||{},_0x4733d0=this['getName'](),_0x27923a=this[_0x5eb104(0x118)](),_0x4a01fd=this[_0x5eb104(0x1cd)](),_0x2dd31b=this[_0x5eb104(0x124)](),_0x2b3a2b=_0x1b1bfc=>{const _0x32ac4a=_0x5eb104;if(Object['keys'](_0x1b1bfc)[_0x32ac4a(0x22e)]===0x0)return'{}';const _0x472a38=JSON['stringify'](_0x1b1bfc,null,0x2)['split']('\x0a')[_0x32ac4a(0x166)]((_0xe0523c,_0x20bb31)=>_0x20bb31===0x0?_0xe0523c:indent+_0xe0523c)[_0x32ac4a(0x24a)]('\x0a');return _0x472a38;};switch(_0x27923a){case'getOne':case'delete':return _0x5eb104(0x2bd)+_0x3bc7d6+'.'+_0x4733d0+_0x5eb104(0x297);case _0x5eb104(0x2a1):if(useFullExample&&Object[_0x5eb104(0x292)](_0x2dd31b)[_0x5eb104(0x22e)]>0x0)return _0x5eb104(0x2bd)+_0x3bc7d6+'.'+_0x4733d0+_0x5eb104(0x244)+_0x2b3a2b(_0x2dd31b)+');';return _0x5eb104(0x2bd)+_0x3bc7d6+'.'+_0x4733d0+_0x5eb104(0x200);case'create':case _0x5eb104(0x196):case _0x5eb104(0x294):default:if(_0x4a01fd['length']>0x0){if(useFullExample&&Object['keys'](_0x2dd31b)['length']>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x3bc7d6+'.'+_0x4733d0+'('+_0x2b3a2b(_0x2dd31b)+');';else{const _0x2c3390=Object[_0x5eb104(0x292)](_0x2dd31b);if(_0x2c3390[_0x5eb104(0x22e)]>0x0){const _0x1d3541=_0x2c3390['slice'](0x0,0x2)[_0x5eb104(0x24a)](',\x20');return'const\x20result\x20=\x20await\x20client.models.'+_0x3bc7d6+'.'+_0x4733d0+_0x5eb104(0x2a6)+_0x1d3541+',\x20...\x20});';}else return _0x5eb104(0x2bd)+_0x3bc7d6+'.'+_0x4733d0+_0x5eb104(0xe1);}}else return _0x5eb104(0x2bd)+_0x3bc7d6+'.'+_0x4733d0+_0x5eb104(0x197);}}[a0_0x2920d5(0x11d)](){const _0x3a4b58=a0_0x2920d5;return[{'title':_0x3a4b58(0x13f),'data':this['generateRequestExample']()}];}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x3a105a=a0_0x2920d5,_0xaefc26=super[_0x3a105a(0x1b1)](),_0x7518bb=Object['keys'](_0xaefc26);return(_0x7518bb['length']===0x0||_0x7518bb[_0x3a105a(0x22e)]===0x1&&_0x7518bb[0x0]===_0x3a105a(0x25f))&&(!_0xaefc26[_0x3a105a(0x25f)]&&(_0xaefc26[_0x3a105a(0x25f)]={'type':_0x3a105a(0x2c1),'description':_0x3a105a(0x100)}),_0xaefc26[_0x3a105a(0x20b)]={'type':_0x3a105a(0x2c1),'description':_0x3a105a(0x1a0)}),_0xaefc26;}[a0_0x2920d5(0x124)](){const _0x6c3585=a0_0x2920d5;return{'code':_0x6c3585(0x13b),'label':'field_name'};}[a0_0x2920d5(0x2c5)](_0x425ef5){const _0x5c55d0=a0_0x2920d5,_0x16972b=this[_0x5c55d0(0x25c)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x425ef5+'.'+_0x16972b+_0x5c55d0(0x1c9);}}class GetListOperation extends GenericOperation{[a0_0x2920d5(0x1b1)](){const _0x4f978a=a0_0x2920d5,_0x3902e1=super[_0x4f978a(0x1b1)](),{currentPage:_0x17236c,pageSize:_0x1a0990,..._0x174a4f}=_0x3902e1,_0x5eb3cc={};return Object[_0x4f978a(0x265)](_0x174a4f)['forEach'](([_0x1943da,_0x451d7e])=>{const _0x1cf1bb=_0x4f978a;if(typeof _0x451d7e===_0x1cf1bb(0x222)&&_0x451d7e!==null){const _0x50cce6=_0x451d7e,_0x3274bf=_0x50cce6['description']||'';_0x5eb3cc[_0x1943da]={..._0x50cce6,'description':_0x3274bf?_0x3274bf+'(支持单值或数组)':_0x1cf1bb(0x1a2)};}else _0x5eb3cc[_0x1943da]=_0x451d7e;}),{..._0x5eb3cc,'currentPage':{...typeof _0x17236c===_0x4f978a(0x222)?_0x17236c:{},'type':_0x4f978a(0x1b6),'description':_0x4f978a(0x177)},'pageSize':{...typeof _0x1a0990===_0x4f978a(0x222)?_0x1a0990:{},'type':_0x4f978a(0x1b6),'description':'每页数量'}};}[a0_0x2920d5(0x124)](_0x2c8821){const _0x35c667=a0_0x2920d5,{useArrayValues:useArrayValues=!![]}=_0x2c8821||{},_0x4ad1bf=super['generateRequestExample'](),{currentPage:_0x30e69f,pageSize:_0x36e6d6,..._0x2e5a03}=_0x4ad1bf;if(!useArrayValues)return{..._0x2e5a03,'currentPage':_0x30e69f??0x1,'pageSize':_0x36e6d6??0xa};const _0x17367d={},_0x44c3a1=['id','status','code','type'];return Object[_0x35c667(0x265)](_0x2e5a03)[_0x35c667(0x164)](([_0x59b864,_0x22c3ae],_0x54500d)=>{const _0x1e7c19=_0x35c667,_0x12c26a=_0x44c3a1['some'](_0x3ac60b=>_0x59b864['toLowerCase']()[_0x1e7c19(0x273)](_0x3ac60b))||_0x54500d%0x3===0x0;if(_0x12c26a&&_0x22c3ae!==null&&_0x22c3ae!==undefined){if(typeof _0x22c3ae===_0x1e7c19(0x2b5))_0x17367d[_0x59b864]=[_0x22c3ae,_0x22c3ae+0x1,_0x22c3ae+0x2];else typeof _0x22c3ae==='string'?_0x17367d[_0x59b864]=[_0x22c3ae,_0x22c3ae+'_2',_0x22c3ae+'_3']:_0x17367d[_0x59b864]=[_0x22c3ae];}else _0x17367d[_0x59b864]=_0x22c3ae;}),{..._0x17367d,'currentPage':_0x30e69f??0x1,'pageSize':_0x36e6d6??0xa};}['generateSingleValueExample'](){const _0x515151=a0_0x2920d5;return this[_0x515151(0x124)]({'useArrayValues':![]});}[a0_0x2920d5(0x11d)](){const _0x181429=a0_0x2920d5;return[{'title':_0x181429(0x186),'description':_0x181429(0x19b),'data':this[_0x181429(0x1ca)]()},{'title':_0x181429(0x127),'description':_0x181429(0x1bb),'data':this[_0x181429(0x124)]()}];}['generateSDKCallCode'](_0x16dfb3,_0x2f1f12){const _0x20956d=a0_0x2920d5,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2f1f12||{},_0x4bc3e5=this[_0x20956d(0x25c)](),_0x40f86d=this[_0x20956d(0x124)]({'useArrayValues':!![]}),{currentPage:_0x325989,pageSize:_0x1e5961,..._0x3661d0}=_0x40f86d;if(useFullExample&&Object[_0x20956d(0x292)](_0x40f86d)['length']>0x0){const _0x3e7259=Object[_0x20956d(0x292)](_0x3661d0)[_0x20956d(0x22e)]>0x0;if(_0x3e7259){const _0x559243=this['generateSingleValueExample'](),_0x216593=_0x3bb0f8=>{const _0x44bbe3=_0x20956d;return JSON[_0x44bbe3(0x22c)](_0x3bb0f8,null,0x2)[_0x44bbe3(0x1c6)]('\x0a')[_0x44bbe3(0x166)]((_0x3972b9,_0x4fceb7)=>_0x4fceb7===0x0?_0x3972b9:indent+_0x3972b9)[_0x44bbe3(0x24a)]('\x0a');};return'//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x16dfb3+'.'+_0x4bc3e5+'('+_0x216593(_0x559243)+_0x20956d(0x1aa)+_0x16dfb3+'.'+_0x4bc3e5+'('+_0x216593(_0x40f86d)+');';}else{const _0x25e578=JSON['stringify'](_0x40f86d,null,0x2)[_0x20956d(0x1c6)]('\x0a')['map']((_0x250777,_0x18f05e)=>_0x18f05e===0x0?_0x250777:indent+_0x250777)[_0x20956d(0x24a)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x16dfb3+'.'+_0x4bc3e5+'('+_0x25e578+');';}}if(Object[_0x20956d(0x292)](_0x3661d0)[_0x20956d(0x22e)]>0x0){const _0x5e73ca=Object['keys'](_0x3661d0)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x16dfb3+'.'+_0x4bc3e5+_0x20956d(0x2a6)+_0x5e73ca+_0x20956d(0x119);}return'const\x20result\x20=\x20await\x20client.models.'+_0x16dfb3+'.'+_0x4bc3e5+_0x20956d(0x159);}}var FILTER_OPERATORS=['$eq','$ne',a0_0x2920d5(0x1c8),a0_0x2920d5(0xfb),a0_0x2920d5(0x2aa),a0_0x2920d5(0x201),a0_0x2920d5(0x15c),a0_0x2920d5(0x184),a0_0x2920d5(0x11f),a0_0x2920d5(0x14c),a0_0x2920d5(0x194),a0_0x2920d5(0x23f)];class FilterOperation extends GenericOperation{constructor(_0x25dbe5,_0x46dada,_0x1ea1ed){super(_0x25dbe5,_0x46dada,_0x1ea1ed);}[a0_0x2920d5(0x29b)](){return FILTER_OPERATORS;}['getFieldOperators'](_0x810065){const _0x5a5b33=a0_0x2920d5,_0x579851=this[_0x5a5b33(0x25b)](_0x810065);if(!_0x579851)return[];return this[_0x5a5b33(0x154)](_0x579851['type']);}[a0_0x2920d5(0x1b1)](){const _0x403f9b=a0_0x2920d5,_0x5e6164=super[_0x403f9b(0x1b1)]();return{..._0x5e6164,'where':{'type':_0x403f9b(0x2de),'description':_0x403f9b(0x280),'required':![]},'select':{'type':_0x403f9b(0x1e3),'description':_0x403f9b(0x290),'required':![]},'orderBy':{'type':_0x403f9b(0x12c),'description':_0x403f9b(0x1d2),'required':![]},'currentPage':{'type':_0x403f9b(0x1b6),'description':_0x403f9b(0x177),'required':![],'default':0x1},'pageSize':{'type':'Number','description':_0x403f9b(0x1e0),'required':![],'default':0xa}};}['generateRequestExample'](){const _0x55f415=a0_0x2920d5,_0x28e91c=this[_0x55f415(0x17a)][_0x55f415(0x1ec)]||[];if(_0x28e91c[_0x55f415(0x22e)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x38e281={},_0xa35eba=_0x28e91c[_0x55f415(0x112)](0x0,Math[_0x55f415(0x13a)](0x3,_0x28e91c['length']));_0xa35eba[_0x55f415(0x164)](_0x3c6a0c=>{const _0x3c978e=_0x55f415,_0x4b2e4b=this[_0x3c978e(0x154)](_0x3c6a0c[_0x3c978e(0x2c2)]);if(_0x4b2e4b[_0x3c978e(0x22e)]===0x0)return;const _0x38b475=this[_0x3c978e(0x142)](_0x3c6a0c[_0x3c978e(0x2c2)],_0x4b2e4b),_0x3684ff=this[_0x3c978e(0x1ff)](_0x3c6a0c,_0x38b475);_0x38e281[_0x3c6a0c[_0x3c978e(0x25f)]]={[_0x38b475]:_0x3684ff};});const _0x139100=_0x28e91c['slice'](0x0,Math[_0x55f415(0x13a)](0x5,_0x28e91c['length']))[_0x55f415(0x166)](_0x597ac0=>_0x597ac0[_0x55f415(0x25f)]),_0x248853=_0x28e91c[0x0]?.[_0x55f415(0x25f)]||'id';return{'where':_0x38e281,'select':_0x139100,'orderBy':[{[_0x248853]:_0x55f415(0x2e1)}],'currentPage':0x1,'pageSize':0x14};}[a0_0x2920d5(0x2c5)](_0x3376b0,_0x3a1412){const _0x30f8cc=a0_0x2920d5,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3a1412||{},_0x2ae483=this[_0x30f8cc(0x25c)](),_0xe64997=this[_0x30f8cc(0x124)](),_0x45bd28=_0x172672=>{const _0x5025a0=_0x30f8cc;return JSON[_0x5025a0(0x22c)](_0x172672,null,0x2)[_0x5025a0(0x1c6)]('\x0a')[_0x5025a0(0x166)]((_0x5c40bb,_0x1d7bf7)=>_0x1d7bf7===0x0?_0x5c40bb:indent+_0x5c40bb)[_0x5025a0(0x24a)]('\x0a');};if(useFullExample){const _0x34a1ad=this[_0x30f8cc(0x17a)]['fields']||[],_0x1be5f0={'where':_0x34a1ad[0x0]?{[_0x34a1ad[0x0][_0x30f8cc(0x25f)]]:{'$eq':this['generateExampleValue'](_0x34a1ad[0x0],_0x30f8cc(0x242))}}:{},'select':_0x34a1ad[_0x30f8cc(0x112)](0x0,0x3)[_0x30f8cc(0x166)](_0x4a9801=>_0x4a9801['code']),'currentPage':0x1,'pageSize':0x14};let _0xea376e='';if(_0x34a1ad[_0x30f8cc(0x22e)]>=0x3){const _0x3e851d={'$and':[]},_0x111bff=[];if(_0x34a1ad[_0x30f8cc(0x22e)]>0x0){const _0x15fdfd=_0x34a1ad[_0x30f8cc(0x165)](_0x223845=>[_0x30f8cc(0x121),'INTEGER',_0x30f8cc(0x168)][_0x30f8cc(0x273)](_0x223845['type'][_0x30f8cc(0x29d)]()));_0x15fdfd&&_0x111bff[_0x30f8cc(0x125)]({[_0x15fdfd[_0x30f8cc(0x25f)]]:{'$gte':0x0,'$lte':0x64}});}if(_0x34a1ad[_0x30f8cc(0x22e)]>0x1){const _0x24857f=_0x34a1ad[_0x30f8cc(0x165)](_0xe84f1e=>[_0x30f8cc(0x258),_0x30f8cc(0x298),_0x30f8cc(0x229)][_0x30f8cc(0x273)](_0xe84f1e[_0x30f8cc(0x2c2)]['toUpperCase']()));_0x24857f&&_0x111bff[_0x30f8cc(0x125)]({[_0x24857f['code']]:{'$contain':_0x30f8cc(0x173)}});}if(_0x111bff['length']>0x0){_0x3e851d[_0x30f8cc(0x194)]=_0x111bff;const _0x5bb453={'where':_0x3e851d,'select':_0x34a1ad[_0x30f8cc(0x112)](0x0,0x4)[_0x30f8cc(0x166)](_0x331f2d=>_0x331f2d[_0x30f8cc(0x25f)]),'orderBy':[{[_0x34a1ad[0x0]['code']]:_0x30f8cc(0x2e1)}],'currentPage':0x1,'pageSize':0x14};_0xea376e=_0x30f8cc(0x2da)+_0x3376b0+'.'+_0x2ae483+'('+_0x45bd28(_0x5bb453)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x3376b0+'.'+_0x2ae483+'('+_0x45bd28(_0x1be5f0)+');'+_0xea376e;}const _0x34351b=JSON[_0x30f8cc(0x22c)](_0xe64997,null,0x2)[_0x30f8cc(0x1c6)]('\x0a')[_0x30f8cc(0x166)]((_0x144666,_0x24ca83)=>_0x24ca83===0x0?_0x144666:indent+_0x144666)[_0x30f8cc(0x24a)]('\x0a');return _0x30f8cc(0x2bd)+_0x3376b0+'.'+_0x2ae483+'('+_0x34351b+');';}[a0_0x2920d5(0x154)](_0x455e75){const _0x338389=a0_0x2920d5,_0x188643=_0x455e75[_0x338389(0x29d)](),_0x61b74=[];if([_0x338389(0x121),_0x338389(0x27a),_0x338389(0x168),_0x338389(0x14e)][_0x338389(0x273)](_0x188643))_0x61b74['push'](_0x338389(0x242),'$ne',_0x338389(0x1c8),'$lte',_0x338389(0xfb),_0x338389(0x201),_0x338389(0x15c));else{if([_0x338389(0x258),_0x338389(0x298),_0x338389(0x229)][_0x338389(0x273)](_0x188643))_0x61b74[_0x338389(0x125)](_0x338389(0x242),_0x338389(0x18a),_0x338389(0x15c),_0x338389(0x184),_0x338389(0x11f),'$endWith');else{if([_0x338389(0x15e),_0x338389(0x102),_0x338389(0x108)][_0x338389(0x273)](_0x188643))_0x61b74[_0x338389(0x125)]('$eq',_0x338389(0x18a),_0x338389(0x1c8),_0x338389(0x2aa),'$gteq',_0x338389(0x201));else['BOOLEAN',_0x338389(0x137)][_0x338389(0x273)](_0x188643)?_0x61b74[_0x338389(0x125)]('$eq',_0x338389(0x18a)):_0x61b74[_0x338389(0x125)](_0x338389(0x242),_0x338389(0x18a));}}return _0x61b74;}[a0_0x2920d5(0x142)](_0xd4b292,_0x3bef5b){const _0x3aa9d9=a0_0x2920d5,_0x529e46=_0xd4b292[_0x3aa9d9(0x29d)]();if([_0x3aa9d9(0x121),_0x3aa9d9(0x27a),_0x3aa9d9(0x168),_0x3aa9d9(0x14e)][_0x3aa9d9(0x273)](_0x529e46))return _0x3bef5b[_0x3aa9d9(0x273)](_0x3aa9d9(0x1c8))?_0x3aa9d9(0x1c8):_0x3aa9d9(0x242);if([_0x3aa9d9(0x258),_0x3aa9d9(0x298),_0x3aa9d9(0x229)]['includes'](_0x529e46))return _0x3bef5b['includes'](_0x3aa9d9(0x184))?_0x3aa9d9(0x184):_0x3aa9d9(0x242);if(['DATE',_0x3aa9d9(0x102),_0x3aa9d9(0x108)][_0x3aa9d9(0x273)](_0x529e46))return _0x3bef5b[_0x3aa9d9(0x273)](_0x3aa9d9(0x1c8))?_0x3aa9d9(0x1c8):_0x3aa9d9(0x242);return _0x3aa9d9(0x242);}['generateExampleValue'](_0x4435fc,_0x16edef){const _0x1abce5=a0_0x2920d5,_0x26d6a8=String(_0x4435fc['type']||'')[_0x1abce5(0x29d)]();if(_0x4435fc[_0x1abce5(0x129)])try{const _0x406f0f=typeof _0x4435fc[_0x1abce5(0x129)]===_0x1abce5(0x12e)?JSON[_0x1abce5(0xf1)](_0x4435fc['extend']):_0x4435fc['extend'];if(_0x406f0f[_0x1abce5(0x245)]&&Array[_0x1abce5(0x160)](_0x406f0f[_0x1abce5(0x245)])&&_0x406f0f['options']['length']>0x0){if(_0x16edef===_0x1abce5(0x15c))return _0x406f0f[_0x1abce5(0x245)][_0x1abce5(0x112)](0x0,0x2)[_0x1abce5(0x166)](_0x505b0f=>_0x505b0f['value']);return _0x406f0f[_0x1abce5(0x245)][0x0][_0x1abce5(0xf9)];}}catch{}if(['NUMBER',_0x1abce5(0x27a),'BIGINT','DECIMAL'][_0x1abce5(0x273)](_0x26d6a8)){if(_0x16edef===_0x1abce5(0x15c))return[0x1,0x2,0x3];if(_0x16edef===_0x1abce5(0x1c8)||_0x16edef===_0x1abce5(0xfb))return 0x0;if(_0x16edef===_0x1abce5(0x2aa)||_0x16edef==='$lteq')return 0x64;return 0x1;}if([_0x1abce5(0x258),_0x1abce5(0x298),_0x1abce5(0x229)][_0x1abce5(0x273)](_0x26d6a8)){if(_0x16edef==='$in')return[_0x1abce5(0x1a1),_0x1abce5(0xd6)];if(_0x16edef==='$contain')return _0x1abce5(0x173);if(_0x16edef===_0x1abce5(0x11f))return _0x1abce5(0x11b);if(_0x16edef===_0x1abce5(0x14c))return _0x1abce5(0x182);return _0x1abce5(0xf9);}if([_0x1abce5(0x15e),_0x1abce5(0x102),_0x1abce5(0x108)]['includes'](_0x26d6a8)){if(_0x16edef===_0x1abce5(0x1c8)||_0x16edef===_0x1abce5(0xfb))return _0x1abce5(0x1e6);if(_0x16edef==='$lte'||_0x16edef==='$lteq')return _0x1abce5(0x20d);return'2024-01-01';}if([_0x1abce5(0x230),_0x1abce5(0x137)][_0x1abce5(0x273)](_0x26d6a8))return!![];return _0x16edef==='$in'?[_0x1abce5(0x1a1),_0x1abce5(0xd6)]:_0x1abce5(0xf9);}}class ExcelExportOperation extends GenericOperation{[a0_0x2920d5(0x1b1)](){const _0x399c57=a0_0x2920d5,_0x5db3d5=super[_0x399c57(0x1b1)]();if(Object[_0x399c57(0x292)](_0x5db3d5)[_0x399c57(0x22e)]===0x0){const _0x43aa4b={};return this[_0x399c57(0x17a)][_0x399c57(0x1ec)][_0x399c57(0x164)](_0x3ee6fb=>{const _0x589a79=_0x399c57;_0x3ee6fb&&_0x3ee6fb[_0x589a79(0x25f)]&&(_0x43aa4b[_0x3ee6fb[_0x589a79(0x25f)]]={'type':_0x3ee6fb[_0x589a79(0x2c2)]||_0x589a79(0x298),'sortNum':_0x3ee6fb[_0x589a79(0xfe)],'description':_0x3ee6fb[_0x589a79(0xdc)]||_0x3ee6fb[_0x589a79(0x180)]});}),_0x43aa4b[_0x399c57(0x29e)]={'type':_0x399c57(0xe7),'description':_0x399c57(0x133)},_0x43aa4b[_0x399c57(0x1ce)]={'type':_0x399c57(0xe7),'description':_0x399c57(0x143)},_0x43aa4b;}return _0x5db3d5;}[a0_0x2920d5(0x124)](){const _0x5a3024=a0_0x2920d5,_0xf2555=super['generateRequestExample']();if(Object[_0x5a3024(0x292)](_0xf2555)[_0x5a3024(0x22e)]===0x0)return{'currentPage':0x1,'pageSize':0x64};return{..._0xf2555,'currentPage':_0xf2555['currentPage']??0x1,'pageSize':_0xf2555['pageSize']??0x64};}[a0_0x2920d5(0x1f6)](){const _0x3d33d8=a0_0x2920d5;return{'success':!![],'msg':'','errorMsg':'','errorCode':_0x3d33d8(0x1b0),'data':_0x3d33d8(0x1f8),'params':null};}['generateSDKCallCode'](_0x46056a,_0x369e2b){const _0x5d29a9=a0_0x2920d5,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x369e2b||{},_0x478d75=this[_0x5d29a9(0x25c)]();if(useFullExample){const _0x4fffc5=this[_0x5d29a9(0x124)](),{currentPage:_0x590b11,pageSize:_0x3f630f,..._0x22ca2e}=_0x4fffc5,_0x292313=Object[_0x5d29a9(0x292)](_0x22ca2e)[_0x5d29a9(0x22e)]>0x0;if(_0x292313){const _0x5a28a0=_0x4dbe92=>{const _0x3739e7=_0x5d29a9;return JSON[_0x3739e7(0x22c)](_0x4dbe92,null,0x2)[_0x3739e7(0x1c6)]('\x0a')[_0x3739e7(0x166)]((_0x5e73f8,_0x18b6a3)=>_0x18b6a3===0x0?_0x5e73f8:indent+_0x5e73f8)[_0x3739e7(0x24a)]('\x0a');};return _0x5d29a9(0x16b)+_0x46056a+'.'+_0x478d75+_0x5d29a9(0x188)+_0x46056a+'.'+_0x478d75+'('+_0x5a28a0(_0x4fffc5)+');';}else{const _0x3dbb08=_0x1a57d9=>{const _0x256ef4=_0x5d29a9;return JSON[_0x256ef4(0x22c)](_0x1a57d9,null,0x2)[_0x256ef4(0x1c6)]('\x0a')['map']((_0xc3d104,_0xe61827)=>_0xe61827===0x0?_0xc3d104:indent+_0xc3d104)['join']('\x0a');};return _0x5d29a9(0x16b)+_0x46056a+'.'+_0x478d75+_0x5d29a9(0x2ae)+_0x46056a+'.'+_0x478d75+'('+_0x3dbb08({'currentPage':0x1,'pageSize':0x64})+');';}}return'const\x20fileUrl\x20=\x20await\x20client.models.'+_0x46056a+'.'+_0x478d75+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}[a0_0x2920d5(0x16c)](_0x24b8ed){const _0x3c5ec5=a0_0x2920d5,_0x3d0de3=this['getName'](),_0x54e6e6=_0x3c5ec5(0x123)+_0x24b8ed+'.'+_0x3d0de3+_0x3c5ec5(0x1a5),_0x52b86d='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x24b8ed+'.'+_0x3d0de3+_0x3c5ec5(0x270);return{'successCode':_0x54e6e6,'errorCode':_0x52b86d};}}class OperationFactory{['create'](_0x6113a5,_0x14ed1c,_0x22f84c){const _0x2ce126=a0_0x2920d5;switch(_0x6113a5){case'getSelectOptions':return new GetSelectOptionsOperation(_0x6113a5,_0x14ed1c,_0x22f84c);case _0x2ce126(0x196):return new GetListOperation(_0x6113a5,_0x14ed1c,_0x22f84c);case _0x2ce126(0x153):return new FilterOperation(_0x6113a5,_0x14ed1c,_0x22f84c);case _0x2ce126(0x2d6):return new ExcelExportOperation(_0x6113a5,_0x14ed1c,_0x22f84c);default:return new GenericOperation(_0x6113a5,_0x14ed1c,_0x22f84c);}}[a0_0x2920d5(0x208)](_0x214f44,_0x755cc5){const _0x122782=a0_0x2920d5,_0x5c94c5=new Map();return Object[_0x122782(0x265)](_0x214f44)['forEach'](([_0x102477,_0x3774b6])=>{const _0x463691=_0x122782;_0x5c94c5[_0x463691(0x1e8)](_0x102477,this[_0x463691(0x1d8)](_0x102477,_0x3774b6,_0x755cc5));}),_0x5c94c5;}}class OperationList{['_operations'];constructor(_0x2bc21d,_0x50986f){const _0x230f0b=a0_0x2920d5,_0x41eeea=new OperationFactory();this['_operations']=_0x41eeea[_0x230f0b(0x208)](_0x2bc21d,_0x50986f);}[a0_0x2920d5(0x169)](_0x38a61b){return this['_operations']['get'](_0x38a61b);}[a0_0x2920d5(0x103)](_0x81df2d){const _0x4c27d1=a0_0x2920d5;return this['_operations'][_0x4c27d1(0x103)](_0x81df2d);}[a0_0x2920d5(0x1ef)](){return this['_operations']['size'];}[a0_0x2920d5(0x1bd)](){const _0x2c83dc=a0_0x2920d5;return Array[_0x2c83dc(0x2ad)](this[_0x2c83dc(0x13d)]['keys']());}[a0_0x2920d5(0x216)](){const _0x3d250f=a0_0x2920d5,_0x231cde=Array[_0x3d250f(0x2ad)](this['_operations'][_0x3d250f(0x2bc)]());return this[_0x3d250f(0x161)](_0x231cde);}[a0_0x2920d5(0x262)](){const _0x4b5ce3=a0_0x2920d5;return this[_0x4b5ce3(0x216)]()[_0x4b5ce3(0x153)](_0x2722b2=>_0x2722b2[_0x4b5ce3(0x206)]());}['getDisabled'](){const _0x3c9af8=a0_0x2920d5;return this[_0x3c9af8(0x216)]()['filter'](_0x4e8bf1=>!_0x4e8bf1[_0x3c9af8(0x206)]());}[a0_0x2920d5(0x2c6)](){const _0x1c0dbc=a0_0x2920d5;return this[_0x1c0dbc(0x262)]()[_0x1c0dbc(0x166)](_0x9caa12=>_0x9caa12[_0x1c0dbc(0x25c)]());}['getDisabledNames'](){const _0x6a2f30=a0_0x2920d5;return this[_0x6a2f30(0x291)]()[_0x6a2f30(0x166)](_0x5e3993=>_0x5e3993[_0x6a2f30(0x25c)]());}['getByType'](_0x3b4e25){const _0x4e0183=a0_0x2920d5;return this[_0x4e0183(0x216)]()[_0x4e0183(0x153)](_0x28ae56=>_0x28ae56[_0x4e0183(0x118)]()===_0x3b4e25);}['filter'](_0x4092f1){const _0x53f7f3=a0_0x2920d5;return this[_0x53f7f3(0x216)]()[_0x53f7f3(0x153)](_0x4092f1);}[a0_0x2920d5(0x14b)](_0xd6da6c={}){const _0x2f663a=a0_0x2920d5;let _0x52ef24=this['toArray']();!_0xd6da6c[_0x2f663a(0xe3)]&&(_0x52ef24=_0x52ef24[_0x2f663a(0x153)](_0x238941=>_0x238941[_0x2f663a(0x206)]()));if(_0xd6da6c[_0x2f663a(0x286)]!==![]){const _0x41482c=_0x52ef24['map'](_0x136ddf=>({'name':_0x136ddf[_0x2f663a(0x25c)](),'operation':_0x136ddf})),_0x533c13=filterApiOperations(_0x41482c);_0x52ef24=_0x533c13[_0x2f663a(0x166)](_0x5a2f2f=>_0x5a2f2f[_0x2f663a(0x2ab)]),_0x52ef24=this[_0x2f663a(0x161)](_0x52ef24);}return _0xd6da6c[_0x2f663a(0x134)]&&(_0x52ef24=_0x52ef24[_0x2f663a(0x153)](_0xd6da6c[_0x2f663a(0x134)])),_0x52ef24;}[a0_0x2920d5(0x161)](_0x2f42e1){const _0x2026cf=a0_0x2920d5,_0x3725a0=_0x2f42e1[_0x2026cf(0x165)](_0x1516a1=>_0x1516a1[_0x2026cf(0x25c)]()===_0x2026cf(0x153)),_0x1709fb=_0x2f42e1['filter'](_0xe5cc35=>_0xe5cc35[_0x2026cf(0x25c)]()!==_0x2026cf(0x153));return _0x3725a0?[_0x3725a0,..._0x1709fb]:_0x1709fb;}[a0_0x2920d5(0x234)](){const _0x9619a5=a0_0x2920d5,_0x5a08eb=this[_0x9619a5(0x262)]();return{'total':this['size'](),'enabled':_0x5a08eb[_0x9619a5(0x22e)],'disabled':this[_0x9619a5(0x1ef)]()-_0x5a08eb['length'],'byType':this[_0x9619a5(0x1cb)](_0x5a08eb),'byMethod':this['getCountByMethod'](_0x5a08eb)};}[a0_0x2920d5(0x1cb)](_0x574841){const _0x1448a7=a0_0x2920d5,_0x2807dc={};return _0x574841[_0x1448a7(0x164)](_0x70198=>{const _0x504fd8=_0x1448a7,_0x53a7b2=_0x70198[_0x504fd8(0x118)]();_0x53a7b2&&(_0x2807dc[_0x53a7b2]=(_0x2807dc[_0x53a7b2]||0x0)+0x1);}),_0x2807dc;}[a0_0x2920d5(0x1eb)](_0x45d443){const _0x1a3c6c=a0_0x2920d5,_0x20a97e={};return _0x45d443[_0x1a3c6c(0x164)](_0x371a7e=>{const _0xa3bd0d=_0x1a3c6c,_0x35a7e6=_0x371a7e[_0xa3bd0d(0xea)]();_0x35a7e6&&(_0x20a97e[_0x35a7e6]=(_0x20a97e[_0x35a7e6]||0x0)+0x1);}),_0x20a97e;}[Symbol[a0_0x2920d5(0x26a)]](){const _0x194ac5=a0_0x2920d5;return this[_0x194ac5(0x13d)][_0x194ac5(0x2bc)]();}[a0_0x2920d5(0x26e)](){const _0x153a83=a0_0x2920d5,_0x4196ba=this['getStats']();return _0x153a83(0x28d)+_0x4196ba[_0x153a83(0x16d)]+'/'+_0x4196ba[_0x153a83(0x256)]+_0x153a83(0x2b4);}}class Field{['_raw'];[a0_0x2920d5(0x1dc)]=null;constructor(_0x122e84){const _0x2aa5c6=a0_0x2920d5;if(!_0x122e84||typeof _0x122e84!=='object')throw new Error(_0x2aa5c6(0x255));this[_0x2aa5c6(0xec)]=_0x122e84;}get[a0_0x2920d5(0x22f)](){const _0x481429=a0_0x2920d5;return this[_0x481429(0xec)];}[a0_0x2920d5(0x16f)](){const _0x5321a3=a0_0x2920d5;return this[_0x5321a3(0xec)];}get[a0_0x2920d5(0x180)](){const _0x4c5235=a0_0x2920d5;return this['_raw'][_0x4c5235(0x180)]||'';}get['code'](){const _0x36609a=a0_0x2920d5;return this[_0x36609a(0xec)][_0x36609a(0x25f)]||'';}get['type'](){return this['_raw']['type']||'';}get['description'](){return this['_raw']['description']||'';}get[a0_0x2920d5(0x1f4)](){const _0x5628e3=a0_0x2920d5;return Boolean(this[_0x5628e3(0xec)]['deleted']);}get[a0_0x2920d5(0x129)](){const _0x1fe5e1=a0_0x2920d5;if(this['_extend']!==null&&typeof this[_0x1fe5e1(0x1dc)]===_0x1fe5e1(0x222))return this[_0x1fe5e1(0x1dc)];const _0x22816c=this['_raw'][_0x1fe5e1(0x129)];if(!_0x22816c||typeof _0x22816c!==_0x1fe5e1(0x12e))return this['_extend']={},this[_0x1fe5e1(0x1dc)];if(_0x22816c==='null'||_0x22816c['trim']()===_0x1fe5e1(0x21d))return this[_0x1fe5e1(0x1dc)]={},this[_0x1fe5e1(0x1dc)];try{const _0x363aa3=JSON[_0x1fe5e1(0xf1)](_0x22816c);return this['_extend']=_0x363aa3!==null&&typeof _0x363aa3===_0x1fe5e1(0x222)&&!Array[_0x1fe5e1(0x160)](_0x363aa3)?_0x363aa3:{},this[_0x1fe5e1(0x1dc)];}catch(_0x56e0b6){return!![]&&console[_0x1fe5e1(0xd8)](_0x1fe5e1(0x1f9)+this[_0x1fe5e1(0x25f)]+_0x1fe5e1(0x1f7),_0x56e0b6),this[_0x1fe5e1(0x1dc)]={},this['_extend'];}}[a0_0x2920d5(0x135)](){const _0x1f4e54=a0_0x2920d5;return Boolean(this[_0x1f4e54(0x129)]['required']);}[a0_0x2920d5(0x171)](){return Boolean(this['extend']['primaryKey']);}['isSystem'](){const _0x12c06f=a0_0x2920d5;return Boolean(this[_0x12c06f(0x129)][_0x12c06f(0x1f3)]);}[a0_0x2920d5(0x109)](){const _0x19fc94=a0_0x2920d5;return!this[_0x19fc94(0x253)]();}[a0_0x2920d5(0x2df)](){return this['deleted'];}['isAutoIncrement'](){const _0x24a52f=a0_0x2920d5;return Boolean(this[_0x24a52f(0x129)][_0x24a52f(0x2bf)]);}['isCreateTime'](){const _0x3c9cf3=a0_0x2920d5;return Boolean(this[_0x3c9cf3(0x129)]['createTime']);}[a0_0x2920d5(0x284)](){const _0xde3b3b=a0_0x2920d5;return Boolean(this[_0xde3b3b(0x129)][_0xde3b3b(0xda)]);}[a0_0x2920d5(0x1f0)](){const _0x269c91=a0_0x2920d5,_0x356713=[_0x269c91(0x163),_0x269c91(0x15d),_0x269c91(0x2bb)];return _0x356713[_0x269c91(0x273)](this['type']);}[a0_0x2920d5(0x144)](){const _0x110d82=a0_0x2920d5;return this[_0x110d82(0x2c2)]===_0x110d82(0x2bb);}[a0_0x2920d5(0x13c)](){const _0x1ef9c7=a0_0x2920d5,_0x41e530=this[_0x1ef9c7(0x129)];if(_0x41e530[_0x1ef9c7(0x245)]&&Array[_0x1ef9c7(0x160)](_0x41e530['options']))return _0x41e530[_0x1ef9c7(0x245)];return;}[a0_0x2920d5(0x14a)](){const _0x567d95=a0_0x2920d5,_0xa4359=this['extend'];if(_0xa4359['selectItemsSource']&&typeof _0xa4359[_0x567d95(0x12b)]==='object')return _0xa4359[_0x567d95(0x12b)];return;}[a0_0x2920d5(0x21f)](){const _0xf992dd=a0_0x2920d5;if(!this[_0xf992dd(0x1f0)]())return;const _0x8543df=this['getEnumOptions'](),_0x63d2f=this[_0xf992dd(0x14a)](),_0x295ad0=[],_0x4a35b5={},_0x499774=_0x21aae1=>{const _0x5ac036=_0xf992dd;_0x21aae1[_0x5ac036(0x164)](_0x5de4dd=>{const _0x18abfa=_0x5ac036;_0x295ad0[_0x18abfa(0x125)](_0x5de4dd[_0x18abfa(0xf9)]),_0x4a35b5[String(_0x5de4dd[_0x18abfa(0xf9)])]=_0x5de4dd[_0x18abfa(0x20b)],_0x5de4dd['children']&&_0x5de4dd[_0x18abfa(0x106)][_0x18abfa(0x22e)]>0x0&&_0x499774(_0x5de4dd[_0x18abfa(0x106)]);});};return _0x8543df&&_0x8543df[_0xf992dd(0x22e)]>0x0&&_0x499774(_0x8543df),{'code':this[_0xf992dd(0x25f)],'name':this[_0xf992dd(0x180)],'type':this['type'],'multiple':this[_0xf992dd(0x144)](),'options':_0x8543df,'selectItemsSource':_0x63d2f,'values':_0x295ad0,'valueLabels':_0x4a35b5};}[a0_0x2920d5(0x203)](){const _0x3a8b2f=a0_0x2920d5;return this[_0x3a8b2f(0x129)][_0x3a8b2f(0x156)];}[a0_0x2920d5(0x1b2)](){return this['extend']['tooltip'];}['toJSON'](){const _0x700c8b=a0_0x2920d5;return{'name':this['name'],'code':this[_0x700c8b(0x25f)],'type':this['type'],'description':this['description'],'required':this[_0x700c8b(0x135)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x700c8b(0x253)](),'autoIncrement':this[_0x700c8b(0x2dc)](),'createTime':this['isCreateTime'](),'updateTime':this[_0x700c8b(0x284)](),'isEnum':this[_0x700c8b(0x1f0)](),'enumMeta':this['isEnum']()?this['getEnumMeta']():undefined};}}class FieldList{[a0_0x2920d5(0x162)];constructor(_0x2fa582,_0x1eff3d){const _0x2f5a8a=a0_0x2920d5;if(!Array[_0x2f5a8a(0x160)](_0x2fa582))throw new Error(_0x2f5a8a(0x2b7));const _0x49bac9=_0x1eff3d?.['includeDeleted']??![],_0x20e7c0=_0x49bac9?_0x2fa582:_0x2fa582[_0x2f5a8a(0x153)](_0x3afc76=>!_0x3afc76[_0x2f5a8a(0x1f4)]);this['_fields']=_0x20e7c0['map'](_0x2c9be5=>new Field(_0x2c9be5));}get[a0_0x2920d5(0x22e)](){return this['_fields']['length'];}['all'](){const _0x34dd84=a0_0x2920d5;return[...this[_0x34dd84(0x162)]];}['raw'](){const _0x5c0d0c=a0_0x2920d5;return this[_0x5c0d0c(0x162)]['map'](_0x3eaf76=>_0x3eaf76[_0x5c0d0c(0x22f)]);}['at'](_0x552ed2){const _0x3fd136=a0_0x2920d5;return this[_0x3fd136(0x162)]['at'](_0x552ed2);}['find'](_0x3e9925){const _0x5e2855=a0_0x2920d5;return this['_fields'][_0x5e2855(0x165)](_0x4695a5=>_0x4695a5[_0x5e2855(0x25f)]===_0x3e9925);}[a0_0x2920d5(0x274)](_0x46def6){const _0x4cb0c3=a0_0x2920d5;return this[_0x4cb0c3(0x162)]['find'](_0x3713ac=>_0x3713ac[_0x4cb0c3(0x180)]===_0x46def6);}[a0_0x2920d5(0x103)](_0x5d835f){const _0x4b3255=a0_0x2920d5;return this[_0x4b3255(0x162)][_0x4b3255(0x2b1)](_0x5b6881=>_0x5b6881[_0x4b3255(0x25f)]===_0x5d835f);}[a0_0x2920d5(0x164)](_0x4fdede){const _0x3fb8d8=a0_0x2920d5;this[_0x3fb8d8(0x162)][_0x3fb8d8(0x164)](_0x4fdede);}['map'](_0x2781b3){const _0x2657c7=a0_0x2920d5;return this[_0x2657c7(0x162)]['map'](_0x2781b3);}[a0_0x2920d5(0x153)](_0x50bc84){const _0x11adac=a0_0x2920d5;return this['_fields'][_0x11adac(0x153)](_0x50bc84);}[a0_0x2920d5(0xe8)](_0x450dc9){const _0x2831de=a0_0x2920d5;return this[_0x2831de(0x162)][_0x2831de(0xe8)](_0x450dc9);}[a0_0x2920d5(0x2b1)](_0x38bee3){const _0x11163f=a0_0x2920d5;return this[_0x11163f(0x162)]['some'](_0x38bee3);}[a0_0x2920d5(0x26c)](){const _0x2222a0=a0_0x2920d5;return this[_0x2222a0(0x162)][_0x2222a0(0x153)](_0x1a36b0=>_0x1a36b0[_0x2222a0(0x135)]());}[a0_0x2920d5(0x248)](){const _0x4ed847=a0_0x2920d5;return this[_0x4ed847(0x162)]['filter'](_0x585bf8=>_0x585bf8[_0x4ed847(0x171)]());}[a0_0x2920d5(0x23b)](){const _0x5a41cc=a0_0x2920d5;return this['_fields']['filter'](_0x3611c8=>_0x3611c8[_0x5a41cc(0x253)]());}[a0_0x2920d5(0x2d9)](){const _0xf8a961=a0_0x2920d5;return this[_0xf8a961(0x162)][_0xf8a961(0x153)](_0x1399ca=>_0x1399ca[_0xf8a961(0x109)]());}[a0_0x2920d5(0x146)](){const _0x31db79=a0_0x2920d5;return this[_0x31db79(0x162)][_0x31db79(0x153)](_0x4a901e=>_0x4a901e['isEnum']());}['getAutoIncrement'](){const _0x12decb=a0_0x2920d5;return this[_0x12decb(0x162)][_0x12decb(0x153)](_0x4fb8ca=>_0x4fb8ca[_0x12decb(0x2dc)]());}[a0_0x2920d5(0x198)](){const _0x21a2cb=a0_0x2920d5;return this['_fields'][_0x21a2cb(0x153)](_0x275595=>_0x275595[_0x21a2cb(0x115)]());}[a0_0x2920d5(0x191)](){const _0x903dc0=a0_0x2920d5;return this['_fields'][_0x903dc0(0x153)](_0x173db7=>_0x173db7[_0x903dc0(0x284)]());}[a0_0x2920d5(0x2db)](){const _0x30f7ff=a0_0x2920d5;return this['_fields'][_0x30f7ff(0x153)](_0x2178d8=>_0x2178d8[_0x30f7ff(0x2df)]());}['getActive'](){const _0x224547=a0_0x2920d5;return this[_0x224547(0x162)]['filter'](_0x1c9ff6=>!_0x1c9ff6[_0x224547(0x2df)]());}[a0_0x2920d5(0x111)](){const _0x2a7bc0=a0_0x2920d5,_0x887a53={};return this[_0x2a7bc0(0x162)][_0x2a7bc0(0x164)](_0x2d540a=>{const _0x1d79e5=_0x2a7bc0,_0x387f51=_0x2d540a[_0x1d79e5(0x2c2)];!_0x887a53[_0x387f51]&&(_0x887a53[_0x387f51]=[]),_0x887a53[_0x387f51][_0x1d79e5(0x125)](_0x2d540a);}),_0x887a53;}[a0_0x2920d5(0x209)](){const _0xfa8424={};return this['_fields']['forEach'](_0x73101a=>{const _0x41e006=a0_0x5328;if(_0x73101a[_0x41e006(0x1f0)]()){const _0x41ac42=_0x73101a[_0x41e006(0x21f)]();_0x41ac42&&(_0xfa8424[_0x73101a[_0x41e006(0x25f)]]=_0x41ac42);}}),_0xfa8424;}[a0_0x2920d5(0x234)](){const _0x3d2ddd=a0_0x2920d5;return{'total':this['length'],'required':this[_0x3d2ddd(0x26c)]()['length'],'primaryKey':this[_0x3d2ddd(0x248)]()[_0x3d2ddd(0x22e)],'system':this['getSystem']()[_0x3d2ddd(0x22e)],'business':this['getBusiness']()[_0x3d2ddd(0x22e)],'enum':this['getEnum']()[_0x3d2ddd(0x22e)],'autoIncrement':this[_0x3d2ddd(0x215)]()[_0x3d2ddd(0x22e)]};}[a0_0x2920d5(0x183)](){const _0x37b781=a0_0x2920d5;return this[_0x37b781(0x162)][_0x37b781(0x166)](_0xa5a685=>_0xa5a685[_0x37b781(0x183)]());}[a0_0x2920d5(0x16a)](){const _0x1de9ba=a0_0x2920d5;return this[_0x1de9ba(0x162)][_0x1de9ba(0x166)](_0x4b59fc=>_0x4b59fc['code']);}[a0_0x2920d5(0x1bd)](){const _0x5c7c2c=a0_0x2920d5;return this[_0x5c7c2c(0x162)]['map'](_0x21f079=>_0x21f079['name']);}static[a0_0x2920d5(0x2ad)](_0x494636){const _0x4261d4=a0_0x2920d5,_0x42ac17=_0x494636[_0x4261d4(0x166)](_0x23a544=>_0x23a544[_0x4261d4(0x22f)]);return new FieldList(_0x42ac17);}static['withDeleted'](_0x16c8e8){return new FieldList(_0x16c8e8,{'includeDeleted':!![]});}}class DrivenDataDetail extends DatasetItem{[a0_0x2920d5(0xdf)];[a0_0x2920d5(0x17f)];['_fieldListWithDeleted'];constructor(_0x2c7d89){const _0x3c1936=a0_0x2920d5;super({..._0x2c7d89,'id':_0x2c7d89[_0x3c1936(0x237)],'datasetCode':_0x2c7d89[_0x3c1936(0x12f)]});}get['source'](){const _0x445f9f=a0_0x2920d5;return this[_0x445f9f(0xec)][_0x445f9f(0x10d)];}[a0_0x2920d5(0xf3)](){const _0x3f9e59=a0_0x2920d5;return this[_0x3f9e59(0x10d)];}get[a0_0x2920d5(0x157)](){const _0x18393c=a0_0x2920d5;return this[_0x18393c(0xec)][_0x18393c(0x157)];}['getFieldList'](){const _0x2d719b=a0_0x2920d5;return!this[_0x2d719b(0x17f)]&&(this[_0x2d719b(0x17f)]=new FieldList(this[_0x2d719b(0xec)][_0x2d719b(0x178)]||[])),this['_fieldList'];}['getFieldListWithDeleted'](){const _0x198909=a0_0x2920d5;return!this[_0x198909(0x282)]&&(this['_fieldListWithDeleted']=FieldList[_0x198909(0x1bf)](this[_0x198909(0xec)][_0x198909(0x178)]||[])),this['_fieldListWithDeleted'];}['getFields'](){const _0x1cc1bc=a0_0x2920d5;return this[_0x1cc1bc(0x20e)]()[_0x1cc1bc(0x22f)]();}[a0_0x2920d5(0x261)](){const _0x1b3beb=a0_0x2920d5;return this[_0x1b3beb(0xec)][_0x1b3beb(0x178)]||[];}[a0_0x2920d5(0x117)](){const _0x4d5eb1=a0_0x2920d5;return this[_0x4d5eb1(0x20e)]()['length'];}['getField'](_0x275582){const _0x1fd20d=a0_0x2920d5,_0x354b6d=this[_0x1fd20d(0x140)](_0x275582);return _0x354b6d?_0x354b6d[_0x1fd20d(0x22f)]:undefined;}[a0_0x2920d5(0x116)](_0xef2e41){const _0x40efa8=a0_0x2920d5;return this[_0x40efa8(0x20e)]()[_0x40efa8(0x165)](_0xef2e41)?.[_0x40efa8(0x22f)]||undefined;}['getFieldInstance'](_0x4d5cd1){const _0x34f8bf=a0_0x2920d5;if(typeof _0x4d5cd1!=='string'){!![]&&console[_0x34f8bf(0xd8)]('[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x4d5cd1);return;}return this[_0x34f8bf(0x20e)]()[_0x34f8bf(0x165)](_0x4d5cd1);}[a0_0x2920d5(0x252)](_0x2baee2){const _0x30754f=a0_0x2920d5;return this[_0x30754f(0x20e)]()[_0x30754f(0x103)](_0x2baee2);}[a0_0x2920d5(0x1bc)](_0x26ab3f){const _0x372e40=a0_0x2920d5;if(!_0x26ab3f||typeof _0x26ab3f!==_0x372e40(0x222))return!![]&&console[_0x372e40(0xd8)](_0x372e40(0x15f),_0x26ab3f),{};if(!_0x26ab3f[_0x372e40(0x129)])return{};try{const _0x4f45e0=typeof _0x26ab3f[_0x372e40(0x129)]===_0x372e40(0x12e)?JSON[_0x372e40(0xf1)](_0x26ab3f[_0x372e40(0x129)]):_0x26ab3f['extend'];if(typeof _0x4f45e0!==_0x372e40(0x222)||_0x4f45e0===null)return{};return _0x4f45e0;}catch(_0x384b75){return{};}}[a0_0x2920d5(0x226)](_0x1e52ea){const _0x2c7a91=a0_0x2920d5;if(!_0x1e52ea||typeof _0x1e52ea!==_0x2c7a91(0x222))return![];const _0x5cadae=this[_0x2c7a91(0x20e)]()[_0x2c7a91(0x165)](_0x1e52ea[_0x2c7a91(0x25f)]);return _0x5cadae?_0x5cadae[_0x2c7a91(0x171)]():![];}[a0_0x2920d5(0x1f1)](_0x4f74e3){const _0x2a103b=a0_0x2920d5;if(!_0x4f74e3||typeof _0x4f74e3!==_0x2a103b(0x222))return![];const _0x58fef8=this[_0x2a103b(0x20e)]()[_0x2a103b(0x165)](_0x4f74e3[_0x2a103b(0x25f)]);return _0x58fef8?_0x58fef8[_0x2a103b(0x253)]():![];}[a0_0x2920d5(0x25e)](_0x14c700){const _0xaa1fd8=a0_0x2920d5;if(!_0x14c700||typeof _0x14c700!=='object')return![];const _0xb77112=this[_0xaa1fd8(0x20e)]()[_0xaa1fd8(0x165)](_0x14c700[_0xaa1fd8(0x25f)]);return _0xb77112?_0xb77112[_0xaa1fd8(0x135)]():![];}[a0_0x2920d5(0x28b)](){const _0x68c78c=a0_0x2920d5;return this[_0x68c78c(0x20e)]()[_0x68c78c(0x248)]()['map'](_0xd17989=>_0xd17989[_0x68c78c(0x22f)]);}['getSystemFields'](){const _0x365d7b=a0_0x2920d5;return this['getFieldList']()[_0x365d7b(0x23b)]()[_0x365d7b(0x166)](_0x4c0f57=>_0x4c0f57[_0x365d7b(0x22f)]);}[a0_0x2920d5(0x14f)](){const _0x458213=a0_0x2920d5;return this[_0x458213(0x20e)]()[_0x458213(0x2d9)]()[_0x458213(0x166)](_0x270025=>_0x270025[_0x458213(0x22f)]);}[a0_0x2920d5(0x2b2)](){const _0x56d2ca=a0_0x2920d5;return this[_0x56d2ca(0x20e)]()[_0x56d2ca(0x26c)]()['map'](_0x1f7a7a=>_0x1f7a7a[_0x56d2ca(0x22f)]);}[a0_0x2920d5(0x114)](){const _0x2148f9=a0_0x2920d5,_0x4874b1=this['getFieldList']()[_0x2148f9(0x111)](),_0x5984a8={};for(const [_0xb21901,_0x1b9fb1]of Object[_0x2148f9(0x265)](_0x4874b1)){_0x5984a8[_0xb21901]=_0x1b9fb1[_0x2148f9(0x166)](_0x35ab84=>_0x35ab84[_0x2148f9(0x22f)]);}return _0x5984a8;}[a0_0x2920d5(0xf2)](_0x5e4f37){const _0x229d6e=a0_0x2920d5;if(!_0x5e4f37||typeof _0x5e4f37!==_0x229d6e(0x222))return![];const _0x334df1=this[_0x229d6e(0x20e)]()['find'](_0x5e4f37[_0x229d6e(0x25f)]);return _0x334df1?_0x334df1['isEnum']():![];}[a0_0x2920d5(0xf7)](_0x396fb2){const _0x38a503=a0_0x2920d5;if(!_0x396fb2||typeof _0x396fb2!==_0x38a503(0x222))return![];const _0x30bb20=this['getFieldList']()[_0x38a503(0x165)](_0x396fb2[_0x38a503(0x25f)]);return _0x30bb20?_0x30bb20['isMultipleSelect']():![];}['getFieldOptions'](_0x14490b){const _0x58ca17=a0_0x2920d5;if(!_0x14490b||typeof _0x14490b!=='object')return[];const _0x115ce7=this['getFieldList']()['find'](_0x14490b[_0x58ca17(0x25f)]);if(!_0x115ce7||!_0x115ce7[_0x58ca17(0x1f0)]())return[];return _0x115ce7['getEnumOptions']()||[];}[a0_0x2920d5(0x251)](_0x2eb027){const _0x45015e=a0_0x2920d5;if(!_0x2eb027||typeof _0x2eb027!==_0x45015e(0x222))return;const _0x1af8bb=this['getFieldList']()[_0x45015e(0x165)](_0x2eb027[_0x45015e(0x25f)]);if(!_0x1af8bb||!_0x1af8bb[_0x45015e(0x1f0)]())return;return _0x1af8bb[_0x45015e(0x14a)]();}[a0_0x2920d5(0x149)](_0x392ecc){const _0x343057=a0_0x2920d5;if(!_0x392ecc||typeof _0x392ecc!==_0x343057(0x222))return;const _0x39de9f=this[_0x343057(0x20e)]()[_0x343057(0x165)](_0x392ecc[_0x343057(0x25f)]);if(!_0x39de9f||!_0x39de9f['isEnum']())return;return _0x39de9f['getEnumMeta']();}[a0_0x2920d5(0x232)](){const _0x23f027=a0_0x2920d5;return this[_0x23f027(0x20e)]()[_0x23f027(0x146)]()[_0x23f027(0x166)](_0x6b03db=>_0x6b03db[_0x23f027(0x22f)]);}[a0_0x2920d5(0x19c)](){const _0x2d44b0=a0_0x2920d5,_0x2905a9={};return this['getEnumFields']()[_0x2d44b0(0x164)](_0x2198ea=>{const _0x5a96b7=_0x2d44b0,_0x207ebd=this[_0x5a96b7(0x149)](_0x2198ea);_0x207ebd&&(_0x2905a9[_0x2198ea[_0x5a96b7(0x25f)]]=_0x207ebd);}),_0x2905a9;}[a0_0x2920d5(0x19d)](_0x342e53,_0x45b0bd){const _0x4c4749=a0_0x2920d5,_0x300879=this['getEnumFieldMeta'](_0x342e53);if(!_0x300879)return!![];if(_0x300879[_0x4c4749(0x12b)]&&!_0x300879[_0x4c4749(0x245)])return!![];if(_0x300879[_0x4c4749(0x101)]&&Array[_0x4c4749(0x160)](_0x45b0bd))return _0x45b0bd[_0x4c4749(0xe8)](_0x87896e=>_0x300879[_0x4c4749(0x2bc)][_0x4c4749(0x273)](_0x87896e));return _0x300879[_0x4c4749(0x2bc)][_0x4c4749(0x273)](_0x45b0bd);}[a0_0x2920d5(0x1dd)](){const _0x56588f=a0_0x2920d5;if(!this[_0x56588f(0xdf)]){const _0x24b082=this[_0x56588f(0x1fc)](this[_0x56588f(0xec)][_0x56588f(0x138)]||{});this[_0x56588f(0xdf)]=new OperationList(_0x24b082,{'fields':this[_0x56588f(0x231)](),'pkField':this[_0x56588f(0xec)]['dbtableConfig']?.[_0x56588f(0x22d)],'dbtableConfig':this[_0x56588f(0xec)][_0x56588f(0x26d)]});}return this[_0x56588f(0xdf)];}[a0_0x2920d5(0x1fc)](_0x5f54b0){const _0x1c4756=a0_0x2920d5;if(_0x5f54b0[_0x1c4756(0x153)]!==undefined)return _0x5f54b0;return{..._0x5f54b0,'filter':this['generateDefaultFilterOperation']()};}[a0_0x2920d5(0x2d1)](){const _0x435fd6=a0_0x2920d5,_0x2dfde3=this['_raw'][_0x435fd6(0x138)]?.[_0x435fd6(0x196)];let _0x5e84e4=_0x2dfde3?.[_0x435fd6(0x1ac)],_0x442d99='';if(!_0x5e84e4&&this[_0x435fd6(0xec)][_0x435fd6(0x138)]){const _0x1b6909=Object['values'](this['_raw'][_0x435fd6(0x138)]);for(const _0x199289 of _0x1b6909){if(_0x199289&&typeof _0x199289===_0x435fd6(0x222)&&_0x435fd6(0x1ac)in _0x199289){_0x5e84e4=_0x199289[_0x435fd6(0x1ac)];break;}}}if(_0x2dfde3?.['path']){const _0x451a50=_0x2dfde3['path'],_0x33033a=_0x451a50[_0x435fd6(0x296)]('/');_0x33033a!==-0x1&&(_0x442d99=_0x451a50[_0x435fd6(0x257)](0x0,_0x33033a));}return{'name':_0x435fd6(0x153),'type':_0x435fd6(0x1df),'description':_0x435fd6(0x1d5),'method':'POST','host':_0x5e84e4,'path':_0x442d99?_0x442d99+_0x435fd6(0x2cb):_0x435fd6(0x2cb),'params':_0x2dfde3?.['params']||[{'name':_0x435fd6(0x150),'type':_0x435fd6(0x222),'required':![]},{'name':_0x435fd6(0x1ed),'type':'array','required':![]},{'name':_0x435fd6(0x1d4),'type':_0x435fd6(0x151),'required':![]},{'name':_0x435fd6(0x29e),'type':_0x435fd6(0x2b5),'required':![],'default':0x1},{'name':'pageSize','type':_0x435fd6(0x2b5),'required':![],'default':0xa}],'_autoGenerated':!![]};}['getOperations'](){const _0x15e918=a0_0x2920d5;return this[_0x15e918(0x1dd)]()['toArray']();}[a0_0x2920d5(0x29a)](){const _0x23d188=a0_0x2920d5;return this[_0x23d188(0x1dd)]()['size']();}[a0_0x2920d5(0x2a5)](_0x388418){const _0x53c755=a0_0x2920d5;if(typeof _0x388418!==_0x53c755(0x12e)){!![]&&console[_0x53c755(0xd8)](_0x53c755(0x172),_0x388418);return;}return this[_0x53c755(0x1dd)]()[_0x53c755(0x169)](_0x388418);}[a0_0x2920d5(0x170)](_0x319103){const _0xec6d58=a0_0x2920d5;if(typeof _0x319103!==_0xec6d58(0x12e))return![];return this[_0xec6d58(0x1dd)]()[_0xec6d58(0x103)](_0x319103);}['isOperationEnabled'](_0x39e1c1){const _0x4c843c=a0_0x2920d5;if(typeof _0x39e1c1!==_0x4c843c(0x12e))return![];const _0x2fe767=this[_0x4c843c(0x2a5)](_0x39e1c1);return _0x2fe767?.['isEnabled']()||![];}[a0_0x2920d5(0x2ca)](){const _0x236a5d=a0_0x2920d5;return this[_0x236a5d(0x1dd)]()[_0x236a5d(0x2c6)]();}[a0_0x2920d5(0x2ac)](){const _0x1ad197=a0_0x2920d5;return this[_0x1ad197(0x1dd)]()[_0x1ad197(0x20a)]();}[a0_0x2920d5(0x181)](){const _0x314161=a0_0x2920d5;return this[_0x314161(0x1dd)]()[_0x314161(0x262)]();}[a0_0x2920d5(0x259)](){const _0x22ae46=a0_0x2920d5;return this[_0x22ae46(0x1dd)]()['getDisabled']();}[a0_0x2920d5(0x234)](){const _0x5083f5=a0_0x2920d5;return{'fieldCount':this[_0x5083f5(0x117)](),'systemFieldCount':this[_0x5083f5(0xeb)]()[_0x5083f5(0x22e)],'businessFieldCount':this[_0x5083f5(0x14f)]()[_0x5083f5(0x22e)],'requiredFieldCount':this[_0x5083f5(0x2b2)]()[_0x5083f5(0x22e)],'primaryKeyCount':this[_0x5083f5(0x28b)]()[_0x5083f5(0x22e)],'operationCount':this['getOperationCount'](),'enabledOperationCount':this['getEnabledOperations']()['length']};}['toListItem'](){return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x2920d5(0x26e)](){const _0x5d2a70=a0_0x2920d5;return _0x5d2a70(0x1e9)+this[_0x5d2a70(0x180)]+',\x20'+this[_0x5d2a70(0x12a)]+',\x20'+this[_0x5d2a70(0x117)]()+_0x5d2a70(0x17c)+this[_0x5d2a70(0x29a)]()+_0x5d2a70(0x2b4);}[a0_0x2920d5(0x287)](){const _0x29bbc1=a0_0x2920d5,_0x35f845=this['getOperation'](_0x29bbc1(0x153));return _0x35f845;}[a0_0x2920d5(0x2af)](){const _0x59ac30=a0_0x2920d5;return this[_0x59ac30(0x170)](_0x59ac30(0x153));}['getOperationOperators'](_0x44a49b){const _0x1455ee=a0_0x2920d5,_0x31b929=this['getOperation'](_0x44a49b);return _0x31b929?_0x31b929[_0x1455ee(0x29b)]():[];}[a0_0x2920d5(0x10a)](_0x2747c1,_0x15c63c){const _0x4b3d1f=a0_0x2920d5,_0x3ecc76=this['getOperation'](_0x2747c1);return _0x3ecc76?_0x3ecc76[_0x4b3d1f(0x27b)](_0x15c63c):[];}[a0_0x2920d5(0x2a3)](_0x2b89d6){const _0x3b216d=a0_0x2920d5,_0x4775d2={};return this[_0x3b216d(0x20e)]()[_0x3b216d(0x164)](_0x97407c=>{const _0x523895=_0x3b216d,_0x394189=this['getOperationFieldOperators'](_0x2b89d6,_0x97407c[_0x523895(0x25f)]);_0x394189[_0x523895(0x22e)]>0x0&&(_0x4775d2[_0x97407c['code']]=_0x394189);}),_0x4775d2;}[a0_0x2920d5(0x264)](_0x47624b,_0x16e12c,_0x1364a1){const _0x5bfb3e=a0_0x2920d5,_0x516eed=this[_0x5bfb3e(0x10a)](_0x47624b,_0x16e12c);return _0x516eed[_0x5bfb3e(0x273)](_0x1364a1);}[a0_0x2920d5(0x289)](){const _0x32ef9c=a0_0x2920d5;return this[_0x32ef9c(0x18f)]('filter');}[a0_0x2920d5(0x18e)](_0x6b09c3){const _0x3abac2=a0_0x2920d5;return this[_0x3abac2(0x10a)]('filter',_0x6b09c3);}['getFieldsFilterOperatorsMap'](){const _0x10087a=a0_0x2920d5;return this[_0x10087a(0x2a3)](_0x10087a(0x153));}}class DatasetGroup{[a0_0x2920d5(0x1c1)];constructor(_0x2be59d){const _0x301351=a0_0x2920d5;this[_0x301351(0x1c1)]=Array[_0x301351(0x160)](_0x2be59d)?[..._0x2be59d]:[_0x2be59d],this[_0x301351(0x1c1)][_0x301351(0x26b)]((_0x5a0fe3,_0x2f2a01)=>{const _0x4121f4=Number(_0x5a0fe3['id'])||0x0,_0x496f10=Number(_0x2f2a01['id'])||0x0;return _0x496f10-_0x4121f4;});}[a0_0x2920d5(0x202)](){const _0x377619=a0_0x2920d5;return this['items'][_0x377619(0x22e)]>0x1;}[a0_0x2920d5(0x1af)](){return this['items'][0x0];}[a0_0x2920d5(0x10c)](){const _0x564e1f=a0_0x2920d5;return this[_0x564e1f(0x1c1)][this[_0x564e1f(0x1c1)][_0x564e1f(0x22e)]-0x1];}[a0_0x2920d5(0xe6)](){const _0xafd1b5=a0_0x2920d5;return[...this[_0xafd1b5(0x1c1)]];}[a0_0x2920d5(0x175)](){const _0x17b617=a0_0x2920d5;return this[_0x17b617(0x1c1)]['length'];}[a0_0x2920d5(0x2b0)](_0x39963e){const _0x57ae07=a0_0x2920d5;return this[_0x57ae07(0x1c1)][_0x39963e];}[a0_0x2920d5(0x179)](_0x43676b){const _0x414822=a0_0x2920d5;return this[_0x414822(0x1c1)][_0x414822(0x165)](_0x2af142=>_0x2af142['id']===_0x43676b);}[a0_0x2920d5(0x28f)](_0x8b414c){const _0x1f060b=a0_0x2920d5;return this[_0x1f060b(0x1c1)]['find'](_0x113899=>_0x113899[_0x1f060b(0x12a)]===_0x8b414c);}[a0_0x2920d5(0x223)](){const _0x41f8fc=a0_0x2920d5;return this[_0x41f8fc(0x1c1)][_0x41f8fc(0x166)](_0x10c9e0=>_0x10c9e0['id'])[_0x41f8fc(0x153)](_0x4d7494=>_0x4d7494!==undefined);}[a0_0x2920d5(0x16a)](){const _0x56b0ef=a0_0x2920d5;return this[_0x56b0ef(0x1c1)][_0x56b0ef(0x166)](_0x261eaa=>_0x261eaa[_0x56b0ef(0x12a)]);}[a0_0x2920d5(0x26e)](){const _0x37c745=a0_0x2920d5;if(this[_0x37c745(0x202)]())return _0x37c745(0x288)+this[_0x37c745(0x1c1)]['length']+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x37c745(0x1af)]()[_0x37c745(0x180)]+')';return _0x37c745(0x288)+this[_0x37c745(0x1c1)][0x0][_0x37c745(0x180)]+')';}}class DatasetGroupMap{[a0_0x2920d5(0x126)];constructor(_0x41b709){const _0x15847b=a0_0x2920d5;this[_0x15847b(0x126)]=new Map();for(const _0x3d9093 of _0x41b709){const _0x1ad11a=getTableKey(_0x3d9093);if(!this['groups']['has'](_0x1ad11a))this[_0x15847b(0x126)][_0x15847b(0x1e8)](_0x1ad11a,new DatasetGroup(_0x3d9093));else{const _0x4c073f=this[_0x15847b(0x126)][_0x15847b(0x169)](_0x1ad11a),_0x29d0e4=[..._0x4c073f['getAll'](),_0x3d9093];this[_0x15847b(0x126)][_0x15847b(0x1e8)](_0x1ad11a,new DatasetGroup(_0x29d0e4));}}}[a0_0x2920d5(0x169)](_0x52488a){const _0x476260=a0_0x2920d5;return this[_0x476260(0x126)][_0x476260(0x169)](_0x52488a);}[a0_0x2920d5(0x103)](_0xcfefc9){const _0x4e338e=a0_0x2920d5;return this[_0x4e338e(0x126)]['has'](_0xcfefc9);}get[a0_0x2920d5(0x1ef)](){const _0x1461c1=a0_0x2920d5;return this[_0x1461c1(0x126)]['size'];}[a0_0x2920d5(0x292)](){const _0x4c9a88=a0_0x2920d5;return this[_0x4c9a88(0x126)][_0x4c9a88(0x292)]();}[a0_0x2920d5(0x2bc)](){const _0x80ea6c=a0_0x2920d5;return this[_0x80ea6c(0x126)][_0x80ea6c(0x2bc)]();}[a0_0x2920d5(0x265)](){const _0x1f076d=a0_0x2920d5;return this['groups'][_0x1f076d(0x265)]();}[Symbol[a0_0x2920d5(0x26a)]](){const _0x558fb8=a0_0x2920d5;return this['groups'][_0x558fb8(0x265)]();}[a0_0x2920d5(0x164)](_0xa778c){const _0x4655d0=a0_0x2920d5;this[_0x4655d0(0x126)][_0x4655d0(0x164)]((_0x1e786a,_0x3f92ba)=>_0xa778c(_0x1e786a,_0x3f92ba,this));}['getConflicts'](){const _0x416ec8=a0_0x2920d5,_0x2ccb07=new Map();for(const [_0x2d00cd,_0x4d91f6]of this[_0x416ec8(0x126)]){_0x4d91f6[_0x416ec8(0x202)]()&&_0x2ccb07[_0x416ec8(0x1e8)](_0x2d00cd,_0x4d91f6);}return _0x2ccb07;}[a0_0x2920d5(0x21b)](){const _0x5dfb07=a0_0x2920d5;for(const _0x4d49ce of this[_0x5dfb07(0x126)]['values']()){if(_0x4d49ce['hasConflict']())return!![];}return![];}[a0_0x2920d5(0x210)](){const _0x3ded5e=a0_0x2920d5;let _0x5603f0=0x0,_0x3a5344=0x0;for(const _0x3ac3f5 of this[_0x3ded5e(0x126)][_0x3ded5e(0x2bc)]()){_0x3ac3f5[_0x3ded5e(0x202)]()&&(_0x5603f0++,_0x3a5344+=_0x3ac3f5[_0x3ded5e(0x175)]());}return{'conflictGroupCount':_0x5603f0,'conflictItemCount':_0x3a5344,'totalGroups':this[_0x3ded5e(0x126)][_0x3ded5e(0x1ef)]};}[a0_0x2920d5(0x2a2)](){const _0x59494d=a0_0x2920d5,_0x58494a=[];for(const _0x42be7e of this[_0x59494d(0x126)][_0x59494d(0x2bc)]()){_0x58494a['push'](..._0x42be7e[_0x59494d(0xe6)]());}return _0x58494a;}['getLatestDatasets'](){const _0x29ba9c=a0_0x2920d5,_0x47ab01=[];for(const _0x2c8947 of this[_0x29ba9c(0x126)]['values']()){_0x47ab01[_0x29ba9c(0x125)](_0x2c8947[_0x29ba9c(0x1af)]());}return _0x47ab01;}[a0_0x2920d5(0x1af)](_0x55b454){const _0x58fc19=a0_0x2920d5;return this[_0x58fc19(0x126)][_0x58fc19(0x169)](_0x55b454)?.[_0x58fc19(0x1af)]();}['getAll'](_0x1a9328){const _0x39a2f3=a0_0x2920d5;return this['groups'][_0x39a2f3(0x169)](_0x1a9328)?.[_0x39a2f3(0xe6)]()||[];}[a0_0x2920d5(0x224)](){const _0x5c1802=a0_0x2920d5,_0x1eac05=this[_0x5c1802(0x299)](),_0x2756e1=_0x1eac05['map'](_0x3093e4=>_0x3093e4[_0x5c1802(0x183)]());return generateDatasetsConfig(_0x2756e1,{'enableDeduplication':![]});}[a0_0x2920d5(0x2be)](){const _0x31d506=a0_0x2920d5,_0x22d6c8=this['getAllDatasets'](),_0x400702=_0x22d6c8[_0x31d506(0x166)](_0x9c3638=>_0x9c3638[_0x31d506(0x183)]());return generateFullDatasetsConfig(_0x400702);}[a0_0x2920d5(0x2e0)](){const _0x591751=a0_0x2920d5,_0x3102d9={};for(const [_0x54c398,_0x11e0dd]of this[_0x591751(0x126)]){_0x3102d9[_0x54c398]=_0x11e0dd;}return _0x3102d9;}[a0_0x2920d5(0x183)](){const _0x48e2aa=a0_0x2920d5,_0x278cde={};for(const [_0x5a15d7,_0xba9494]of this[_0x48e2aa(0x126)]){_0x278cde[_0x5a15d7]=_0xba9494[_0x48e2aa(0xe6)]()[_0x48e2aa(0x166)](_0x1fe893=>_0x1fe893[_0x48e2aa(0x183)]());}return _0x278cde;}[a0_0x2920d5(0x26e)](){const _0x485792=a0_0x2920d5;return _0x485792(0x104)+this[_0x485792(0x126)][_0x485792(0x1ef)]+_0x485792(0x275)+(this[_0x485792(0x21b)]()?_0x485792(0x2c9):_0x485792(0x25d))+')';}}class DatasetList{[a0_0x2920d5(0x19e)];constructor(_0x2d52ff){const _0x40687d=a0_0x2920d5;let _0x542847;if(Array[_0x40687d(0x160)](_0x2d52ff))_0x542847=_0x2d52ff;else{if(_0x40687d(0x1db)in _0x2d52ff){if(!_0x2d52ff[_0x40687d(0x1db)]||!_0x2d52ff[_0x40687d(0x185)]?.['tableData'])throw new Error(_0x40687d(0x20f));_0x542847=_0x2d52ff[_0x40687d(0x185)][_0x40687d(0x193)][_0x40687d(0x166)](_0x51419d=>({..._0x51419d,'datasetCode':_0x51419d['code']||_0x51419d[_0x40687d(0x12a)]}));}else{if(_0x40687d(0x193)in _0x2d52ff){if(!Array['isArray'](_0x2d52ff[_0x40687d(0x193)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0x542847=_0x2d52ff['tableData'][_0x40687d(0x166)](_0x4af16e=>({..._0x4af16e,'datasetCode':_0x4af16e['code']||_0x4af16e[_0x40687d(0x12a)]}));}else throw new Error(_0x40687d(0x19a));}}const _0x2fadb2=_0x542847[_0x40687d(0x166)](_0xcb32e6=>new DatasetItem(_0xcb32e6));this[_0x40687d(0x19e)]=new DatasetGroupMap(_0x2fadb2);}get['datasetMap'](){const _0x38db19=a0_0x2920d5;return this[_0x38db19(0x19e)];}[a0_0x2920d5(0x1d9)](){const _0x448e8c=a0_0x2920d5;return this[_0x448e8c(0x19e)][_0x448e8c(0x2a2)]();}['getCount'](){const _0x2fc12c=a0_0x2920d5;return this['getItems']()[_0x2fc12c(0x22e)];}[a0_0x2920d5(0x2dd)](){return this['_datasetMap']['size']===0x0;}[a0_0x2920d5(0x2b0)](_0xd9955d){const _0x331341=a0_0x2920d5;return this[_0x331341(0x1d9)]()[_0xd9955d];}['getFirst'](){const _0x395074=a0_0x2920d5;return this[_0x395074(0x1d9)]()[0x0];}[a0_0x2920d5(0x17b)](){const _0x3d194c=a0_0x2920d5,_0x76f24a=this[_0x3d194c(0x1d9)]();return _0x76f24a[_0x76f24a[_0x3d194c(0x22e)]-0x1];}[a0_0x2920d5(0x28f)](_0x1ec5e5){const _0x4e5bec=a0_0x2920d5;for(const _0x512f67 of this['_datasetMap'][_0x4e5bec(0x2bc)]()){const _0x5b0f65=_0x512f67[_0x4e5bec(0x28f)](_0x1ec5e5);if(_0x5b0f65)return _0x5b0f65;}return;}[a0_0x2920d5(0x274)](_0x4710ac){const _0x12e6b1=a0_0x2920d5;return this[_0x12e6b1(0x1d9)]()[_0x12e6b1(0x165)](_0x1867da=>_0x1867da[_0x12e6b1(0x180)]===_0x4710ac);}[a0_0x2920d5(0x179)](_0x3c76fb){const _0x2e412c=a0_0x2920d5;for(const _0x19c696 of this[_0x2e412c(0x19e)][_0x2e412c(0x2bc)]()){const _0x2a1c52=_0x19c696['findById'](_0x3c76fb);if(_0x2a1c52)return _0x2a1c52;}return;}['findByTableName'](_0x2a7a40){const _0x4753bc=a0_0x2920d5,_0xe6c999=getTableKey(_0x2a7a40);return this[_0x4753bc(0x19e)][_0x4753bc(0x1af)](_0xe6c999);}['filter'](_0x18ebee){const _0x233279=a0_0x2920d5,_0x44202d=this[_0x233279(0x1d9)]()[_0x233279(0x153)](_0x18ebee);return new DatasetList(_0x44202d[_0x233279(0x166)](_0x40d25d=>_0x40d25d['toJSON']()));}['findAll'](_0x114101){const _0x8d3305=a0_0x2920d5;return this[_0x8d3305(0x1d9)]()[_0x8d3305(0x153)](_0x114101);}[a0_0x2920d5(0x164)](_0x37a33a){const _0x5e6fed=a0_0x2920d5;this[_0x5e6fed(0x1d9)]()[_0x5e6fed(0x164)](_0x37a33a);}[a0_0x2920d5(0x166)](_0x4166e4){return this['getItems']()['map'](_0x4166e4);}[Symbol[a0_0x2920d5(0x26a)]](){const _0x197591=a0_0x2920d5;return this[_0x197591(0x1d9)]()[Symbol[_0x197591(0x26a)]]();}[a0_0x2920d5(0x2ba)](){const _0x23a7cd=a0_0x2920d5;return this['getItems']()[_0x23a7cd(0x153)](_0x5f32c1=>_0x5f32c1['isVirtualTable']());}[a0_0x2920d5(0x11c)](){const _0x201609=a0_0x2920d5;return this[_0x201609(0x1d9)]()['filter'](_0xb8aef2=>!_0xb8aef2[_0x201609(0x139)]());}['groupByTableName'](){const _0x2c9967=a0_0x2920d5,_0x4db5ab={};for(const _0x13bf3e of this[_0x2c9967(0x19e)][_0x2c9967(0x2bc)]()){const _0x5728d8=_0x13bf3e['getLatest']()[_0x2c9967(0x24d)]();_0x4db5ab[_0x5728d8]=_0x13bf3e[_0x2c9967(0xe6)]();}return _0x4db5ab;}['detectConflicts'](){const _0x1ffd0b=a0_0x2920d5,_0x4a38f3={};for(const _0x5bb4e8 of this['_datasetMap'][_0x1ffd0b(0x1fa)]()[_0x1ffd0b(0x2bc)]()){const _0x18d288=_0x5bb4e8[_0x1ffd0b(0x1af)]()[_0x1ffd0b(0x24d)]();_0x4a38f3[_0x18d288]=_0x5bb4e8[_0x1ffd0b(0xe6)]()[_0x1ffd0b(0x166)](_0x2bcfe5=>_0x2bcfe5[_0x1ffd0b(0x183)]());}return{'hasConflicts':Object['keys'](_0x4a38f3)[_0x1ffd0b(0x22e)]>0x0,'conflicts':_0x4a38f3};}[a0_0x2920d5(0x21b)](){const _0xc88e51=a0_0x2920d5;return this[_0xc88e51(0x19e)][_0xc88e51(0x21b)]();}['getConflictingItems'](){const _0x1b1313=a0_0x2920d5,_0x364da8=[];for(const _0x3f69b3 of this[_0x1b1313(0x19e)][_0x1b1313(0x1fa)]()[_0x1b1313(0x2bc)]()){_0x364da8[_0x1b1313(0x125)](..._0x3f69b3[_0x1b1313(0xe6)]());}return _0x364da8;}[a0_0x2920d5(0x1da)](_0x233e77){const _0x44a3d4=a0_0x2920d5;if(!_0x233e77||Object[_0x44a3d4(0x292)](_0x233e77)[_0x44a3d4(0x22e)]===0x0)return this[_0x44a3d4(0x155)][_0x44a3d4(0x224)]();const _0xda92ba=this['getItems']()['map'](_0x1154f1=>_0x1154f1['toJSON']());return generateDatasetsConfig(_0xda92ba,_0x233e77);}['generateConfigArray'](_0x369963){const _0x3771de=a0_0x2920d5,_0x260227=this[_0x3771de(0x1da)](_0x369963);return datasetsConfigToArray(_0x260227);}[a0_0x2920d5(0x2d7)](){const _0x5a827f=a0_0x2920d5;return this[_0x5a827f(0x1d9)]()['map'](_0x5eceb7=>_0x5eceb7[_0x5a827f(0x224)]());}[a0_0x2920d5(0x234)](){const _0xab4bee=a0_0x2920d5;return{'total':this['getCount'](),'virtualTables':this[_0xab4bee(0x2ba)]()[_0xab4bee(0x22e)],'realTables':this['getRealTables']()[_0xab4bee(0x22e)],'hasConflicts':this[_0xab4bee(0x21b)](),'conflictCount':this[_0xab4bee(0x195)]()[_0xab4bee(0x22e)]};}[a0_0x2920d5(0x216)](){const _0x1bb070=a0_0x2920d5;return this['getItems']()['map'](_0x104aef=>_0x104aef[_0x1bb070(0x183)]());}[a0_0x2920d5(0x183)](){const _0x5202ac=a0_0x2920d5;return this[_0x5202ac(0x216)]();}['toString'](){const _0xb86b19=a0_0x2920d5;return _0xb86b19(0x23d)+this[_0xb86b19(0x175)]()+_0xb86b19(0x1cc)+this[_0xb86b19(0x19e)][_0xb86b19(0x1ef)]+_0xb86b19(0x130);}static['fromApiResponse'](_0x21e693){return new DatasetList(_0x21e693);}static['initDataset'](_0x4034a7){return new DatasetList(_0x4034a7);}static[a0_0x2920d5(0x2d8)](){return new DatasetList([]);}}function operationToAnalysis(_0x5ecbc2){const _0x12c027=a0_0x2920d5;return{'name':_0x5ecbc2['getName'](),'displayName':_0x5ecbc2['getDisplayName'](),'type':_0x5ecbc2[_0x12c027(0x118)](),'method':_0x5ecbc2[_0x12c027(0xea)](),'path':_0x5ecbc2[_0x12c027(0x25a)](),'fullUrl':_0x5ecbc2['getFullUrl'](),'requestFields':_0x5ecbc2[_0x12c027(0x1cd)](),'requestParams':_0x5ecbc2[_0x12c027(0x1b1)](),'responseSchema':_0x5ecbc2['getResponseSchema'](),'requestExample':_0x5ecbc2[_0x12c027(0x124)](),'responseExample':_0x5ecbc2[_0x12c027(0x1f6)](),'enabled':_0x5ecbc2['isEnabled']()};}function operationsToAnalyses(_0x2cc389){const _0x4c5e6c=a0_0x2920d5;return _0x2cc389[_0x4c5e6c(0x166)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x2920d5(0x21e)];[a0_0x2920d5(0x1fe)](_0x1b5a68=![]){const _0x225997=a0_0x2920d5;if(!_0x1b5a68&&this['_operationAnalyses'])return this[_0x225997(0x21e)];const _0x2cadf1=this['getOperations']();return this['_operationAnalyses']=operationsToAnalyses(_0x2cadf1),this['_operationAnalyses'];}[a0_0x2920d5(0x1ab)](){const _0x58045a=a0_0x2920d5;return this[_0x58045a(0x235)]({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x2920d5(0x235)](_0xbfe379={}){const _0x397a9f=a0_0x2920d5;let _0x4f5274=this['getOperationAnalyses']();return!_0xbfe379['includeDisabled']&&(_0x4f5274=_0x4f5274['filter'](_0x34ddfb=>_0x34ddfb[_0x397a9f(0x16d)])),_0xbfe379[_0x397a9f(0x286)]!==![]&&(_0x4f5274=filterApiOperations(_0x4f5274)),_0xbfe379[_0x397a9f(0x134)]&&(_0x4f5274=_0x4f5274['filter'](_0xbfe379[_0x397a9f(0x134)])),_0x4f5274=this['sortOperationsWithFilterFirst'](_0x4f5274),_0x4f5274;}[a0_0x2920d5(0x161)](_0x46afdb){const _0xcc071d=a0_0x2920d5,_0x1471de=_0x46afdb[_0xcc071d(0x165)](_0x4a4008=>_0x4a4008[_0xcc071d(0x180)]===_0xcc071d(0x153)),_0xca396f=_0x46afdb[_0xcc071d(0x153)](_0x17fe1e=>_0x17fe1e[_0xcc071d(0x180)]!==_0xcc071d(0x153));return _0x1471de?[_0x1471de,..._0xca396f]:_0xca396f;}[a0_0x2920d5(0x271)](_0x47a516){const _0x4e7b1e=a0_0x2920d5,_0x2c79df=this[_0x4e7b1e(0x1fe)]();return _0x2c79df[_0x4e7b1e(0x165)](_0x455f36=>_0x455f36[_0x4e7b1e(0x180)]===_0x47a516);}[a0_0x2920d5(0x241)](_0x25889b){const _0xbebc68=a0_0x2920d5,_0x3c9fa4=this[_0xbebc68(0x1fe)]();return _0x3c9fa4['filter'](_0x30df4c=>_0x30df4c['type']===_0x25889b);}[a0_0x2920d5(0x227)](_0x5a49b9){const _0x528fd0=a0_0x2920d5,_0x53bc95=this[_0x528fd0(0x2a5)](_0x5a49b9);if(!_0x53bc95)return[];const _0x3dae6a=_0x53bc95[_0x528fd0(0x1cd)](),_0x540edd=this[_0x528fd0(0x231)]();return _0x540edd[_0x528fd0(0x153)](_0x47c4d9=>_0x3dae6a['includes'](_0x47c4d9[_0x528fd0(0x25f)]));}[a0_0x2920d5(0x13e)](_0x5ac242,_0x1db3e4){const _0x16c888=a0_0x2920d5,_0x4419f1=this[_0x16c888(0x271)](_0x5ac242);if(!_0x4419f1)return null;const _0x170aa7=this['getOperation'](_0x4419f1['name']);if(!_0x170aa7)throw new Error('Operation\x20instance\x20not\x20found:\x20'+_0x4419f1[_0x16c888(0x180)]);const _0x998c88=this[_0x16c888(0x246)](),_0x2571a0=this[_0x16c888(0x24d)](),_0x2fb97e=_0x170aa7[_0x16c888(0x2c5)](_0x998c88,{'useFullExample':_0x1db3e4?.[_0x16c888(0x1d3)]}),_0xf3820c=_0x170aa7[_0x16c888(0x16c)](_0x998c88);return{'operation':_0x4419f1,'operationInstance':_0x170aa7,'basicInfo':{'name':_0x4419f1['name'],'displayName':_0x4419f1['displayName'],'method':_0x4419f1['method'],'path':_0x4419f1[_0x16c888(0x1b7)],'fullUrl':_0x4419f1['fullUrl'],'enabled':_0x4419f1['enabled']},'sdkCall':{'datasetCode':this['datasetCode'],'modelName':_0x998c88,'tableName':_0x2571a0,'operationName':_0x4419f1[_0x16c888(0x180)],'params':_0x4419f1[_0x16c888(0xfd)],'code':_0x2fb97e},'usageExample':_0xf3820c};}[a0_0x2920d5(0x243)](_0x3b221b={}){const _0x37e6ff=a0_0x2920d5,_0x30833c=this['getFilteredOperationAnalyses'](_0x3b221b),_0x173092=this[_0x37e6ff(0x234)](),_0x5ba734={'name':this[_0x37e6ff(0x180)],'code':this[_0x37e6ff(0x12a)],'tableName':this[_0x37e6ff(0x24d)](),'tableKey':this['getTableKey'](),'source':this[_0x37e6ff(0x10d)],'fieldCount':_0x173092[_0x37e6ff(0x221)],'businessFieldCount':_0x173092[_0x37e6ff(0x1c7)],'systemFieldCount':_0x173092[_0x37e6ff(0xfc)],'operationCount':_0x173092['operationCount'],'enabledOperationCount':_0x173092[_0x37e6ff(0x220)]},_0x2a5d22=_0x30833c[_0x37e6ff(0x166)](_0x27a905=>this['getOperationDocMeta'](_0x27a905[_0x37e6ff(0x180)]))[_0x37e6ff(0x153)](_0x5f5613=>_0x5f5613!==null);return{'title':this[_0x37e6ff(0x180)]+_0x37e6ff(0x24f),'datasetInfo':_0x5ba734,'operations':_0x2a5d22};}[a0_0x2920d5(0x268)](_0x3644a9){const _0x4584e1=a0_0x2920d5;return{'appCode':_0x3644a9,'tableKey':this[_0x4584e1(0x246)](),'tableName':this[_0x4584e1(0x24d)](),'datasetCode':this[_0x4584e1(0x12a)]};}['getOperationsOverviewData'](_0xda5835){const _0x51d960=a0_0x2920d5,_0x349756=[{'index':'name','label':'接口名称'},{'index':'displayName','label':'操作名称'},{'index':_0x51d960(0x254),'label':'方法'},{'index':_0x51d960(0x2d0),'label':_0x51d960(0x2c4)},{'index':_0x51d960(0x1b7),'label':_0x51d960(0xdd)},{'index':_0x51d960(0x22b),'label':_0x51d960(0x122)}],_0x35f736=_0xda5835[_0x51d960(0x166)](_0x1f1d99=>{const _0x2d7255=_0x51d960,{basicInfo:_0x2ad4d9,sdkCall:_0x18c7a3}=_0x1f1d99,_0x4e3b8b=_0x18c7a3[_0x2d7255(0x25f)][_0x2d7255(0x2cd)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x2d7255(0x2cd)](/;$/,'');return{'displayName':_0x2ad4d9[_0x2d7255(0xed)],'name':_0x2ad4d9[_0x2d7255(0x180)],'method':_0x2ad4d9[_0x2d7255(0x254)],'path':_0x2ad4d9[_0x2d7255(0x1b7)],'sdkCall':_0x4e3b8b,'sdkCallCode':_0x18c7a3[_0x2d7255(0x25f)]};});return{'tableColumns':_0x349756,'tableData':_0x35f736};}['generateOperationSummary'](_0x12a98d){const _0x27f1a4=a0_0x2920d5,_0x1124ad=this[_0x27f1a4(0x271)](_0x12a98d);if(!_0x1124ad)return null;return{'name':_0x1124ad[_0x27f1a4(0x180)],'displayName':_0x1124ad['displayName'],'type':_0x1124ad['type'],'method':_0x1124ad[_0x27f1a4(0x254)],'path':_0x1124ad['path'],'enabled':_0x1124ad['enabled'],'requestFieldCount':_0x1124ad['requestFields'][_0x27f1a4(0x22e)],'hasResponseSchema':_0x1124ad[_0x27f1a4(0x29c)]!==null};}['generateAllOperationsSummary'](_0x384aec={}){const _0x311c39=a0_0x2920d5,_0x5143b9=this[_0x311c39(0x235)](_0x384aec);return{'datasetName':this[_0x311c39(0x180)],'datasetCode':this[_0x311c39(0x12a)],'tableName':this[_0x311c39(0x24d)](),'totalOperations':_0x5143b9[_0x311c39(0x22e)],'operations':_0x5143b9[_0x311c39(0x166)](_0x391c2c=>({'name':_0x391c2c['name'],'displayName':_0x391c2c[_0x311c39(0xed)],'type':_0x391c2c[_0x311c39(0x2c2)],'method':_0x391c2c[_0x311c39(0x254)],'path':_0x391c2c[_0x311c39(0x1b7)],'requestFieldCount':_0x391c2c[_0x311c39(0xfd)][_0x311c39(0x22e)]}))};}[a0_0x2920d5(0x1ca)](_0x151d5e){const _0x143371=a0_0x2920d5,_0x5ba3c4={};return Object[_0x143371(0x265)](_0x151d5e)[_0x143371(0x164)](([_0x37de89,_0x2e6902])=>{const _0x162593=_0x143371;Array['isArray'](_0x2e6902)&&_0x2e6902[_0x162593(0x22e)]>0x0?_0x5ba3c4[_0x37de89]=_0x2e6902[0x0]:_0x5ba3c4[_0x37de89]=_0x2e6902;}),_0x5ba3c4;}['getOperationStats'](){const _0x561e20=a0_0x2920d5,_0x2d91e0=this[_0x561e20(0x1fe)](),_0xded49d=_0x2d91e0[_0x561e20(0x153)](_0x286b00=>_0x286b00['enabled']);return{'total':_0x2d91e0[_0x561e20(0x22e)],'enabled':_0xded49d[_0x561e20(0x22e)],'disabled':_0x2d91e0['length']-_0xded49d['length'],'byType':this[_0x561e20(0x1a9)](_0xded49d),'byMethod':this[_0x561e20(0x213)](_0xded49d)};}[a0_0x2920d5(0x1a9)](_0x3ba77e){const _0x311d81=a0_0x2920d5,_0x329e34={};return _0x3ba77e[_0x311d81(0x164)](_0xeeed7a=>{const _0x57d00f=_0x311d81;_0xeeed7a[_0x57d00f(0x2c2)]&&(_0x329e34[_0xeeed7a['type']]=(_0x329e34[_0xeeed7a[_0x57d00f(0x2c2)]]||0x0)+0x1);}),_0x329e34;}[a0_0x2920d5(0x213)](_0x5088a6){const _0x1789e6=a0_0x2920d5,_0x142572={};return _0x5088a6[_0x1789e6(0x164)](_0x28a633=>{const _0x56dee9=_0x1789e6;_0x142572[_0x28a633[_0x56dee9(0x254)]]=(_0x142572[_0x28a633['method']]||0x0)+0x1;}),_0x142572;}[a0_0x2920d5(0x2cf)](){const _0x1a2140=a0_0x2920d5,_0x2c5eb5=this['getEnabledOperationAnalyses'](),_0x3f0c78=new Set(_0x2c5eb5[_0x1a2140(0x166)](_0x424005=>_0x424005[_0x1a2140(0x2c2)])[_0x1a2140(0x153)](Boolean));return _0x3f0c78['has']('create')&&_0x3f0c78['has'](_0x1a2140(0x196))&&_0x3f0c78['has'](_0x1a2140(0x2a1))&&_0x3f0c78[_0x1a2140(0x103)](_0x1a2140(0x152));}['getMissingCRUDOperations'](){const _0x473724=a0_0x2920d5,_0x3f897c=this['getEnabledOperationAnalyses'](),_0x3fc315=new Set(_0x3f897c[_0x473724(0x166)](_0x531d2f=>_0x531d2f[_0x473724(0x2c2)])[_0x473724(0x153)](Boolean)),_0x2b1585=['create',_0x473724(0x196),'update',_0x473724(0x152)];return _0x2b1585[_0x473724(0x153)](_0x586f94=>!_0x3fc315['has'](_0x586f94));}[a0_0x2920d5(0x1cf)](_0x5e8f1b,_0xf3d777,_0x5bcb75){const _0x2b631d=a0_0x2920d5,{includeRequestExample:includeRequestExample=!![],includeResponseExample:includeResponseExample=!![],includeUsageExample:includeUsageExample=!![]}=_0x5bcb75||{},_0x163075=this[_0x2b631d(0x13e)](_0x5e8f1b,{'useFullExample':includeRequestExample});if(!_0x163075)return null;let _0x50330b='';_0x50330b+='\x0a\x0a//\x20'+_0x163075['operation'][_0x2b631d(0xed)]+_0x2b631d(0x2c3)+_0x163075[_0x2b631d(0x2ab)][_0x2b631d(0x180)]+_0x2b631d(0x18b)+_0x163075['sdkCall'][_0x2b631d(0x25f)];if(includeResponseExample&&_0x163075[_0x2b631d(0x2ab)][_0x2b631d(0x1b3)]?.[_0x2b631d(0x185)]){const _0x1b5ad6=typeof _0x163075[_0x2b631d(0x2ab)][_0x2b631d(0x1b3)][_0x2b631d(0x185)]===_0x2b631d(0x12e)?_0x163075[_0x2b631d(0x2ab)][_0x2b631d(0x1b3)]['data']:JSON[_0x2b631d(0x22c)](_0x163075[_0x2b631d(0x2ab)][_0x2b631d(0x1b3)]['data'],null,0x2);_0x50330b+='\x0a//\x20'+_0x163075[_0x2b631d(0x2ab)][_0x2b631d(0x180)]+_0x2b631d(0x23c)+_0x1b5ad6;}return includeUsageExample&&_0x163075['usageExample']&&(_0x50330b+='\x0a\x0a//\x20Usage\x20examples:\x0a\x0a'+_0x163075['usageExample'][_0x2b631d(0x283)]+'\x0a\x0a'+_0x163075['usageExample']['errorCode']),_0x50330b;}['generateAllOperationsFullSDKExample'](_0x3fe2f0){const _0x17e99e=a0_0x2920d5,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x3fe2f0||{},_0x546fe9=this[_0x17e99e(0x1ab)]();return _0x546fe9[_0x17e99e(0x166)](_0x1a256e=>this[_0x17e99e(0x1cf)](_0x1a256e[_0x17e99e(0x180)],this[_0x17e99e(0x12a)],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x17e99e(0x24a)]('\x0a');}['generateSDKInitCode'](_0x542e2e,_0x24191d=a0_0x2920d5(0x174),_0x1ba4b1=![]){const _0x29b6b7=a0_0x2920d5,_0x4cfbf3=this['getTableKey'](),_0x5c1c6f=this[_0x29b6b7(0x24d)](),_0xb3d78d=this[_0x29b6b7(0x12a)],_0x579bac=_0x24191d===_0x29b6b7(0x1ad)?_0x29b6b7(0x2c7)+_0x24191d+'\x27,':'',_0x26f0c1=_0x1ba4b1?_0x29b6b7(0x2a4):'';return _0x29b6b7(0x228)+_0x542e2e+'\x27,'+_0x26f0c1+_0x579bac+_0x29b6b7(0x132)+_0x4cfbf3+_0x29b6b7(0x2b3)+_0x5c1c6f+_0x29b6b7(0x295)+_0xb3d78d+_0x29b6b7(0x27e);}[a0_0x2920d5(0x26e)](){const _0x2d2bba=a0_0x2920d5,_0x342f76=this[_0x2d2bba(0xfa)]();return _0x2d2bba(0x10f)+this[_0x2d2bba(0x180)]+',\x20'+this[_0x2d2bba(0x12a)]+',\x20'+this[_0x2d2bba(0x117)]()+_0x2d2bba(0x17c)+_0x342f76[_0x2d2bba(0x16d)]+'/'+_0x342f76[_0x2d2bba(0x256)]+_0x2d2bba(0x2b4);}}var VERSION=a0_0x2920d5(0x21a);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isSystemField,isRequiredField,isPrimaryKeyField,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldList,Field,FILTER_OPERATORS,DrivenDataDetailPlus,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
1
|
+
const a0_0x4fb166=a0_0xfeb9;(function(_0x249c85,_0x4e9c87){const _0x338826=a0_0xfeb9,_0x37a40e=_0x249c85();while(!![]){try{const _0x289a1e=parseInt(_0x338826(0x30a))/0x1*(-parseInt(_0x338826(0x1e2))/0x2)+parseInt(_0x338826(0x37c))/0x3+parseInt(_0x338826(0x349))/0x4*(-parseInt(_0x338826(0x24f))/0x5)+parseInt(_0x338826(0x346))/0x6*(-parseInt(_0x338826(0x3ad))/0x7)+-parseInt(_0x338826(0x232))/0x8+parseInt(_0x338826(0x337))/0x9+parseInt(_0x338826(0x243))/0xa;if(_0x289a1e===_0x4e9c87)break;else _0x37a40e['push'](_0x37a40e['shift']());}catch(_0x12cae8){_0x37a40e['push'](_0x37a40e['shift']());}}}(a0_0x4d74,0xb1265));function toCamelCase(_0x3e942f){const _0x2b480b=a0_0xfeb9;if(!_0x3e942f)return'';return _0x3e942f[_0x2b480b(0x3c0)](/[_-]/)[_0x2b480b(0x2ca)]((_0x5acddd,_0x4adebd)=>{const _0x42b7ce=_0x2b480b;if(_0x4adebd===0x0)return _0x5acddd[_0x42b7ce(0x35d)]();return _0x5acddd[_0x42b7ce(0x2d2)](0x0)[_0x42b7ce(0x35b)]()+_0x5acddd[_0x42b7ce(0x330)](0x1)[_0x42b7ce(0x35d)]();})['join']('');}function toPascalCase(_0x3f8b3a){const _0x5ab76e=a0_0xfeb9;if(!_0x3f8b3a)return'';const _0x313542=toCamelCase(_0x3f8b3a);return _0x313542['charAt'](0x0)[_0x5ab76e(0x35b)]()+_0x313542[_0x5ab76e(0x330)](0x1);}function toSnakeCase(_0x2badc5){const _0x5c0e71=a0_0xfeb9;if(!_0x2badc5)return'';return _0x2badc5[_0x5c0e71(0x2ee)](/([A-Z])/g,'_$1')[_0x5c0e71(0x35d)]()['replace'](/^_/,'');}function toKebabCase(_0x1ea564){const _0x1b529b=a0_0xfeb9;if(!_0x1ea564)return'';return _0x1ea564[_0x1b529b(0x2ee)](/([A-Z])/g,_0x1b529b(0x322))[_0x1b529b(0x35d)]()[_0x1b529b(0x2ee)](/^-/,'');}function normalizeFieldName(_0x236e44){const _0x549d1d=a0_0xfeb9;if(!_0x236e44)return'';return _0x236e44[_0x549d1d(0x34e)]()[_0x549d1d(0x2ee)](/\s+/g,'_')[_0x549d1d(0x2ee)](/[^a-zA-Z0-9_]/g,'_')[_0x549d1d(0x2ee)](/_+/g,'_')[_0x549d1d(0x2ee)](/^_|_$/g,'');}function getTableName(_0x39eafe){const _0xb2f55c=a0_0xfeb9;if(!_0x39eafe)return _0xb2f55c(0x28c);if(_0x39eafe[_0xb2f55c(0x2fe)]?.[_0xb2f55c(0x383)])return _0x39eafe[_0xb2f55c(0x2fe)][_0xb2f55c(0x383)];const _0x4c4ead=_0x39eafe['datasetCode']||_0x39eafe['code']||_0x39eafe[_0xb2f55c(0x290)];if(_0x4c4ead)return generateTableNameFromCode(_0x4c4ead);return'dataset_000000';}function getTableKey(_0x16f728){const _0x24c25a=a0_0xfeb9;if(typeof _0x16f728===_0x24c25a(0x233))return toCamelCase(_0x16f728);const _0x201fa7=getTableName(_0x16f728);return toCamelCase(_0x201fa7);}function generateTableNameFromCode(_0x158618){const _0x5180c7=a0_0xfeb9;if(!_0x158618)return _0x5180c7(0x28c);const _0x4be8d6=_0x158618[_0x5180c7(0x330)](-0x6)[_0x5180c7(0x3be)](0x6,'0');return _0x5180c7(0x335)+_0x4be8d6;}function isVirtualTableName(_0x2a4612){const _0x5ec86a=a0_0xfeb9;return/^dataset_[a-zA-Z0-9]{6}$/[_0x5ec86a(0x2f9)](_0x2a4612);}function generateDatasetsConfig(_0x3c6555,_0x176169={}){const _0x11d8a4=a0_0xfeb9,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x2014cb,filter:_0x38444f}=_0x176169,_0x2f63b9={},_0x15bc29=new Set();for(const _0x55cf6b of _0x3c6555){if(_0x38444f&&!_0x38444f(_0x55cf6b))continue;const _0x19101b=getTableName(_0x55cf6b);if(enableDeduplication&&_0x15bc29['has'](_0x19101b)){console[_0x11d8a4(0x248)](_0x11d8a4(0x2e6)+_0x19101b+'\x22,数据集:\x20'+_0x55cf6b[_0x11d8a4(0x272)]+'\x20('+_0x55cf6b[_0x11d8a4(0x314)]+')');continue;}_0x15bc29[_0x11d8a4(0x338)](_0x19101b);const _0x250131=_0x2014cb?_0x2014cb(_0x19101b,_0x55cf6b):getTableKey(_0x19101b);_0x2f63b9[_0x250131]={'key':_0x250131,'tableName':_0x19101b,'datasetCode':_0x55cf6b[_0x11d8a4(0x314)],'name':_0x55cf6b[_0x11d8a4(0x272)],'id':_0x55cf6b['id']};}return _0x2f63b9;}function generateFullDatasetsConfig(_0x53de04,_0x2f2b2f={}){const _0x514e88=a0_0xfeb9,{filter:_0x20cdba,datasetNameGenerator:_0xdd37f1}=_0x2f2b2f,_0xcd1294=_0x20cdba?_0x53de04[_0x514e88(0x1fa)](_0x20cdba):_0x53de04,_0xcfe180=groupByTableName(_0xcd1294),_0x5ccd7f={};for(const [_0x2a5d9c,_0x5bf292]of Object[_0x514e88(0x1d9)](_0xcfe180)){if(_0x5bf292[_0x514e88(0x398)]===0x1){const _0x3a16b2=_0x5bf292[0x0],_0x3ad674=_0xdd37f1?_0xdd37f1(_0x2a5d9c,_0x3a16b2):getTableKey(_0x2a5d9c);_0x5ccd7f[_0x3ad674]={'key':_0x3ad674,'tableName':_0x2a5d9c,'datasetCode':_0x3a16b2['datasetCode'],'name':_0x3a16b2[_0x514e88(0x272)],'id':_0x3a16b2['id']};}else{const _0x532a93=[..._0x5bf292][_0x514e88(0x323)]((_0x12e3bb,_0xa20f6e)=>{const _0x460e14=Number(_0x12e3bb['id'])||0x0,_0x2e71e7=Number(_0xa20f6e['id'])||0x0;return _0x2e71e7-_0x460e14;});_0x532a93[_0x514e88(0x3a3)]((_0x545f86,_0x3b436a)=>{const _0x36768b=_0x514e88,_0x2f0704=_0xdd37f1?_0xdd37f1(_0x2a5d9c,_0x545f86):getTableKey(_0x2a5d9c),_0x55daf8=_0x3b436a===0x0?_0x2f0704:_0x2f0704+'_'+_0x3b436a;_0x5ccd7f[_0x55daf8]={'key':_0x55daf8,'tableName':_0x2a5d9c,'datasetCode':_0x545f86[_0x36768b(0x314)],'name':_0x545f86[_0x36768b(0x272)],'id':_0x545f86['id']};});}}return _0x5ccd7f;}function detectTableNameConflicts(_0x2407a4){const _0x975c65=a0_0xfeb9,_0x5aff08={};for(const _0x293bd5 of _0x2407a4){const _0x3a132f=getTableName(_0x293bd5);!_0x5aff08[_0x3a132f]&&(_0x5aff08[_0x3a132f]=[]),_0x5aff08[_0x3a132f]['push'](_0x293bd5);}const _0x4fe9b5={};for(const [_0x295172,_0x462d54]of Object[_0x975c65(0x1d9)](_0x5aff08)){_0x462d54[_0x975c65(0x398)]>0x1&&(_0x4fe9b5[_0x295172]=_0x462d54);}return{'hasConflicts':Object[_0x975c65(0x3cb)](_0x4fe9b5)['length']>0x0,'conflicts':_0x4fe9b5};}function createDatasetNameMap(_0x39af15){const _0x239ecc={};for(const [_0x47e126,_0x5bb8a9]of Object['entries'](_0x39af15)){_0x239ecc[_0x47e126]=_0x5bb8a9['datasetCode']||'';}return _0x239ecc;}function groupByTableName(_0x573389){const _0x1547f2=a0_0xfeb9,_0x28e761={};for(const _0x142cad of _0x573389){const _0x1f613b=getTableName(_0x142cad);!_0x28e761[_0x1f613b]&&(_0x28e761[_0x1f613b]=[]),_0x28e761[_0x1f613b][_0x1547f2(0x29d)](_0x142cad);}return _0x28e761;}function datasetsConfigToArray(_0x42de6b){const _0x2a398d=a0_0xfeb9;return Object[_0x2a398d(0x3b1)](_0x42de6b);}function a0_0x4d74(){const _0x19a4af=['\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20','(...);\x0a\x20\x20console.log(data);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x20(包含\x20success,\x20errorMsg\x20等)\x0a}','where','stringify','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','TEXT','parseRawRequestBody','slice','groupByType','success','$lteq','isEnum','dataset_','min','4018455gsbeXo','add','获取数据集列表失败:\x20','generateFromSchema','/filter','这是一段较长的文本内容示例','getSystem','\x0a\x0a//\x20','Number','_fieldListWithDeleted','API路径','\x20fields,\x20','完整的\x20SDK\x20调用代码','$eq','dbType','22692rWYBZf','getFieldsFilterOperatorsMap','\x20Response\x20example:\x0a','68320sPkCbm','host','[Field]\x20Invalid\x20field\x20definition','responseExample','getSystemFields','trim','getOperationFieldsOperatorsMap','toString','请求示例','currentPage','keyword','hasLogicField','isUpdateTime','getEnabledOperations','generateUsageExample','type','getOneUpdate','({\x20currentPage,\x20pageSize\x20});','toUpperCase','OperationList(','toLowerCase','repeat','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','BOOLEAN','getPrimaryKeys','getNames','params','getOneOrigin','ensureFilterOperation','toConfigArray','getIds','requestBody','BOOL','getStats','selectBestOperator','options','INTEGER','daily','每页数量(可选)','generateConfigArray','2024-01-01','_datasetMap','getModelName','importTemplate','getRaw','user@example.com','getEnumMeta','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','getFieldInstance','sortOperationsWithFilterFirst','日期时间','1716615HONven','join','const\x20fileUrl\x20=\x20await\x20client.models.','(id,\x20data);','enabled','getOperators','getAll','tableName','getEnabledOperationInstances','SELECT','getDisabledOperationInstances','datasetKey','getBusiness','长文本','tableData','getItems','示例文本','isBusiness','dbId','DrivenDataDetailPlus(','getBusinessFields','includeDisabled','version','getSelectOptions','$lte','DatasetList(','getCountByMethod','({\x20/*\x20可选:筛选条件\x20*/\x20});','length','getFiltered','generateAllOperationsFullSDKExample','isEnumField','POST','customFilter','getCodes','getFilteredOperationAnalyses','msg','isAutoIncrement','getOperationStats','forEach','DatasetGroupMap(','pageSize','logicField','N/A','isCreateTime','fieldName','has\x20conflicts','excelExport','getAt','1400IoWwVd','getDatabaseName','getUploadFileScript','getEnumFieldMeta','values','(id,\x20','dbName','_operations','$in','systemFieldCount','getOperationAnalysesByType','\x20groups,\x20','getCount','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse','boolean','data','findById','padStart','systemAnalysisResult','split','字段编码','getByType','getConflicts','generateFieldExample','getDefaultValue','updateTime','查询条件(支持\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)','getOperations','generateSingleValueExample','$contain','keys','getFieldOptions','getMethod','查询单条(原始)','hasCreatorIdField','[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:','getDisplayName','\x20的\x20extend\x20配置失败:','isSystemField','getPath','generateFullSDKExample','entries','getRawDbtableConfig','getConflictStats','字段名称','getTableName','select','all','文件上传','every','12242YtTkcP','primaryKey','some','modifyDate','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','当前页码','IMPORT_TEMPLATE','获取文件URL','CREATE','getSystemAnalysisResult','getOperation','hasOperation','Operation\x20instance\x20not\x20found:\x20','DATETIME','generateOperationSummary','hasModifierIdField','operationCount','email','initDataset','suffix','getDisabledNames','null','getEnabled','generateRequestAllExamples','filter','delete','deleted','autoIncrement','\x0a//\x20Call\x20the\x20','\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});','getFieldFilterOperators','查询列表','getOperationList','getRequired','createExport','generateSDKCallCode','toFieldDefinition','generateExampleValue','const\x20result\x20=\x20await\x20client.models.','BIGINT','selectItemsSource','pkField','getName','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','empty','description','getOperationFieldOperators','responseBody','解析\x20responseBody\x20失败:','modifierIdField','DATE','\x20items,\x20','createImport','has','13800138000','(params);','includeDeleted','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','Object','https://example.com/image.jpg','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','modifierNameField','获取数据集失败:\x20','isEnabled','toConfig','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getResponseSchema','getLatest','filterBlacklist','value','(id);','[generateRequestExample]\x20Invalid\x20field:',',\x20currentPage,\x20pageSize,\x20...\x20});','getDisabledOperations','size','getOperationDocMeta','getFields','defaultValue','displayName','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','4678024VApFLR','string','operation','GET_SELECT_OPTIONS','getOldest','getOne','tenantCode','total','toFullConfig','STRING','lastIndexOf','getUpdateTime','getAppCode','generateSDKInitCode','enabledOperationCount','generateDefaultFilterOperation','modelId','12961590UQKwem','getRequestParams','source','parseRawResponseBody','status','warn','sortNum',',\x20fields:\x20','isDeleted','getSelectItemsSource','_operationAnalyses','DELETE','35xcjlhF','createTimeField','no\x20conflicts','updateTimeField','parseFieldExtend','VARCHAR','示例值','value2','$and','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:','from','getFieldRaw','getFieldDefinition','appCode','getFieldsByType','isVirtualTable','2024-12-31','getAllDatasets','支持单值或数组','isPrimaryKey','isSystem','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','getFileUrl','getEnumFieldsMeta','multiple','_raw','isOperationEnabled','getFieldsWithDeleted','_operationList','DECIMAL','field_name','DESC','label','getOperationCountByType','createAll','name','getConflictingItems','requestFields','generateAllOperationsSummary','CHECKBOX','value1','creatorNameField','online','getLatestDatasets','getFieldOperators','NUMBER','findByName','Excel导出','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','isArray','getFilterOperators','getEnumOptions','getFieldListWithDeleted','update','datasetMap','({\x20','解析\x20requestBody\x20失败:','TASK_INFO','GET_ONE','findByTableName','systemRetain','dataset_000000','path','$startWith','toJSON','modelCode','sdkCallCode','array','\x20operations)','_fields','getDisabled','createDate','substring','hasConflicts','isPrimaryKeyField','getRequestFields','$endWith','[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array','push','getEnum','findAll','getVirtualTables','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','getField','时间戳','导入模板','orderBy','taskInfo','getOperationCountByMethod','now','dbVersion','get','hasFilterOperation','errorMsg','find','parse','generateResponseExample','hasCreateTimeField','$gte','({\x20code,\x20label\x20});','creatorIdField','item1','getFullUrl','properties','number','placeholder','getOperationAnalysis','create','hasTableName','object','getOperationOperators','\x20items,\x20conflict,\x20latest:\x20','toListItem','SDK\x20调用','set','children','getPrimaryKeyFields','raw','isMultipleSelect','getEnumFields','labelField','iterator','CREATE_EXPORT','map','getFieldCount','getExtendField','创建导出','<p>富文本内容</p>','getEnabledNames','hasDblinkInfo','[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','charAt','富文本','getAllFieldsArray','$ne','toObject','getOperationCount','address','getFieldList','usageExample','_extend','getRealTables','groups','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','hasField','获取上传脚本','hasUpdateTimeField','`:\x20','下拉选择','prefix','DatasetGroup(','[dsparser]\x20跳过重复的表名\x20\x22','查询单条(用于更新)','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','fields','fullUrl','getEnabledOperationAnalyses','operations','getOperationRequestFields','replace','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','getAutoIncrement','TIMESTAMP','getDatabaseVersion','getCountByType','_fieldList','generateConfig','每页数量','getOperationAnalyses','findByCode','test','getSDKInitData','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','includes','getType','dbtableConfig','required','getTableKey','isRequired','查询单个条件','\x20groups)','200','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','getRequiredFields','String','errorCode','RADIO','21dhdhor','getTooltip','sdkCall','generateRequestExample','extend','items','code','method','item2','getApplicableOperators','datasetCode','dblinkInfoDTO','DrivenDataDetail(','toArray','getList','GET_LIST','context','(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容','fromApiResponse','\x20operation\x0a','getAllFieldsString','responseSchema','allFields','[parseFieldExtend]\x20Invalid\x20field:','-$1','sort',',\x20...\x20});','$gteq','hasConflict','withDeleted'];a0_0x4d74=function(){return _0x19a4af;};return a0_0x4d74();}function adaptDrivenDataDetail(_0x5be55a){const _0x34173e=a0_0xfeb9;return{'id':_0x5be55a[_0x34173e(0x242)],'name':_0x5be55a[_0x34173e(0x272)],'datasetCode':_0x5be55a['modelCode'],'dbtableConfig':_0x5be55a[_0x34173e(0x2fe)],'source':_0x5be55a[_0x34173e(0x245)],'version':_0x5be55a[_0x34173e(0x392)],'extend':_0x5be55a[_0x34173e(0x30e)],'properties':_0x5be55a[_0x34173e(0x2b6)],'operations':_0x5be55a[_0x34173e(0x2ec)]};}function adaptDrivenDataDetails(_0x87d7a0){const _0x230933=a0_0xfeb9;return _0x87d7a0[_0x230933(0x2ca)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x52a87d){const _0x3d34ea=a0_0xfeb9;if(!_0x52a87d[_0x3d34ea(0x332)]||!_0x52a87d[_0x3d34ea(0x3bc)])throw new Error(_0x3d34ea(0x220)+(_0x52a87d['errorMsg']||_0x52a87d[_0x3d34ea(0x3a0)]));return adaptDrivenDataDetail(_0x52a87d[_0x3d34ea(0x3bc)]);}function extractDatasetsFromListResponse(_0x3c7a9d){const _0x397d0f=a0_0xfeb9;if(!_0x3c7a9d[_0x397d0f(0x332)]||!_0x3c7a9d[_0x397d0f(0x3bc)]?.[_0x397d0f(0x38a)])throw new Error(_0x397d0f(0x339)+(_0x3c7a9d[_0x397d0f(0x2ac)]||_0x3c7a9d[_0x397d0f(0x3a0)]));return _0x3c7a9d[_0x397d0f(0x3bc)][_0x397d0f(0x38a)][_0x397d0f(0x2ca)](_0x54b565=>({..._0x54b565,'datasetCode':_0x54b565[_0x397d0f(0x310)]||_0x54b565['datasetCode']}));}function isDrivenDataDetail(_0x20b46e){const _0xad2863=a0_0xfeb9;return Boolean(_0x20b46e&&typeof _0x20b46e[_0xad2863(0x290)]==='string');}function smartAdapt(_0xce6ae8){const _0x1b4cc5=a0_0xfeb9;if(isDrivenDataDetail(_0xce6ae8))return adaptDrivenDataDetail(_0xce6ae8);if(_0xce6ae8['datasetCode'])return _0xce6ae8;if(_0xce6ae8[_0x1b4cc5(0x310)])return{..._0xce6ae8,'datasetCode':_0xce6ae8[_0x1b4cc5(0x310)]};return _0xce6ae8;}var DatasetOperationType;(_0x3b1cd9=>{const _0xeeec7=a0_0xfeb9;_0x3b1cd9[_0xeeec7(0x319)]=_0xeeec7(0x318),_0x3b1cd9[_0xeeec7(0x289)]=_0xeeec7(0x237),_0x3b1cd9['GET_ONE_ORIGIN']='getOneOrigin',_0x3b1cd9['GET_ONE_UPDATE']=_0xeeec7(0x359),_0x3b1cd9[_0xeeec7(0x1ea)]='create',_0x3b1cd9['UPDATE']=_0xeeec7(0x284),_0x3b1cd9[_0xeeec7(0x24e)]=_0xeeec7(0x1fb),_0x3b1cd9[_0xeeec7(0x235)]='getSelectOptions',_0x3b1cd9['GET_FILE_URL']='getFileUrl',_0x3b1cd9['EXCEL_EXPORT']=_0xeeec7(0x3ab),_0x3b1cd9['GET_UPLOAD_FILE_SCRIPT']=_0xeeec7(0x3af),_0x3b1cd9['CREATE_IMPORT']=_0xeeec7(0x216),_0x3b1cd9[_0xeeec7(0x2c9)]=_0xeeec7(0x204),_0x3b1cd9[_0xeeec7(0x288)]='taskInfo',_0x3b1cd9[_0xeeec7(0x1e8)]=_0xeeec7(0x374);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x4fb166(0x318)]:a0_0x4fb166(0x201),['getOne']:'查询单条',[a0_0x4fb166(0x364)]:a0_0x4fb166(0x3ce),['getOneUpdate']:a0_0x4fb166(0x2e7),['create']:'创建',[a0_0x4fb166(0x284)]:'更新',[a0_0x4fb166(0x1fb)]:'删除',['getSelectOptions']:'获取下拉选项',[a0_0x4fb166(0x265)]:a0_0x4fb166(0x1e9),[a0_0x4fb166(0x3ab)]:a0_0x4fb166(0x27e),[a0_0x4fb166(0x3af)]:a0_0x4fb166(0x2e0),[a0_0x4fb166(0x216)]:'创建导入',[a0_0x4fb166(0x204)]:a0_0x4fb166(0x2cd),[a0_0x4fb166(0x2a6)]:'任务信息',[a0_0x4fb166(0x374)]:a0_0x4fb166(0x2a4)},API_BLACKLIST=[a0_0x4fb166(0x364),a0_0x4fb166(0x359),a0_0x4fb166(0x265)];function parseFieldExtend(_0x159614){const _0x3ad9bb=a0_0x4fb166;if(!_0x159614||typeof _0x159614!==_0x3ad9bb(0x2bc))return!![]&&console[_0x3ad9bb(0x248)](_0x3ad9bb(0x321),_0x159614),{};if(!_0x159614[_0x3ad9bb(0x30e)])return{};try{const _0x58c7fc=typeof _0x159614[_0x3ad9bb(0x30e)]==='string'?JSON[_0x3ad9bb(0x2ae)](_0x159614[_0x3ad9bb(0x30e)]):_0x159614[_0x3ad9bb(0x30e)];if(typeof _0x58c7fc!=='object'||_0x58c7fc===null)return{};return _0x58c7fc;}catch(_0x2bce57){return{};}}function isPrimaryKeyField(_0x39819f,_0x5b29af){const _0x5c419e=a0_0x4fb166;if(!_0x39819f||typeof _0x39819f!==_0x5c419e(0x2bc))return![];if(typeof _0x5b29af===_0x5c419e(0x233)&&_0x39819f['code']===_0x5b29af)return!![];const _0x439f56=parseFieldExtend(_0x39819f);return Boolean(_0x439f56[_0x5c419e(0x1e3)]||_0x439f56['pkField']);}function isSystemField(_0xc8cca4){const _0x2e4997=a0_0x4fb166,_0x450d72=parseFieldExtend(_0xc8cca4);return Boolean(_0x450d72[_0x2e4997(0x28b)]);}function isRequiredField(_0xcf851){const _0x8a2df=a0_0x4fb166,_0x4f7cda=parseFieldExtend(_0xcf851);return Boolean(_0x4f7cda[_0x8a2df(0x2ff)]);}function isAutoIncrementField(_0x53cf45){const _0xf1df33=a0_0x4fb166,_0x3ba1c9=parseFieldExtend(_0x53cf45);return Boolean(_0x3ba1c9[_0xf1df33(0x1fd)]);}function isCreateTimeField(_0x546bc0){const _0x59983c=a0_0x4fb166,_0x55cdae=parseFieldExtend(_0x546bc0);return Boolean(_0x55cdae[_0x59983c(0x296)]);}function isModifyTimeField(_0x2fa264){const _0x45f70f=a0_0x4fb166,_0x1476dc=parseFieldExtend(_0x2fa264);return Boolean(_0x1476dc[_0x45f70f(0x1e5)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':a0_0x4fb166(0x389),'DATE':'日期','DATETIME':a0_0x4fb166(0x37b),'TIMESTAMP':a0_0x4fb166(0x2a3),'SELECT':a0_0x4fb166(0x2e3),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0x4fb166(0x1e0),'IMAGE':'图片','RICH_TEXT':a0_0x4fb166(0x2d3),'JSON':'JSON','ARRAY':'数组'};function getDbTypeDisplay(_0xcd950e){const _0x4b6f67=a0_0x4fb166;if(typeof _0xcd950e!==_0x4b6f67(0x233))return!![]&&console[_0x4b6f67(0x248)](_0x4b6f67(0x2e8),_0xcd950e),String(_0xcd950e||'-');return DB_TYPE_DISPLAY_MAP[_0xcd950e]||_0xcd950e;}function formatDbType(_0x220704,_0x3441a1){const _0x1e07e0=a0_0x4fb166;if(!_0x220704||typeof _0x220704!==_0x1e07e0(0x233))return'-';if(!_0x3441a1||typeof _0x3441a1!==_0x1e07e0(0x2b7))return _0x220704;const _0x317690=[_0x1e07e0(0x32e),_0x1e07e0(0x1ef),_0x1e07e0(0x2f1),_0x1e07e0(0x214)];if(_0x317690[_0x1e07e0(0x2fc)](_0x220704[_0x1e07e0(0x35b)]()))return _0x220704;return _0x220704+'('+_0x3441a1+')';}function parseOperationType(_0x466ba8){const _0xabc349=a0_0x4fb166;if(typeof _0x466ba8!=='string'){!![]&&console['warn']('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x466ba8);return;}if(Object['values'](DatasetOperationType)['includes'](_0x466ba8))return _0x466ba8;const _0x4c2373=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)[_0xabc349(0x2ad)](([_0xa40cc9,_0x1df681])=>_0x1df681===_0x466ba8);return _0x4c2373?_0x4c2373[0x0]:undefined;}function shouldIncludeField(_0x40e698,_0x3cff9f,_0x3e58e7){const _0x532cfe=a0_0x4fb166,_0x4a811b=parseFieldExtend(_0x40e698),_0x48f476=isPrimaryKeyField(_0x40e698,_0x3e58e7),_0x57ba41=Boolean(_0x4a811b[_0x532cfe(0x28b)]),_0x43d576=Boolean(_0x4a811b[_0x532cfe(0x1fd)]),_0x1bc449=Boolean(_0x4a811b[_0x532cfe(0x296)]),_0x2c5d0c=Boolean(_0x4a811b[_0x532cfe(0x1e5)]);switch(_0x3cff9f){case _0x532cfe(0x318):return!![];case'getOne':case _0x532cfe(0x364):case _0x532cfe(0x1fb):return _0x48f476;case'create':if(_0x48f476&&_0x43d576)return![];if(_0x57ba41)return![];if(_0x1bc449||_0x2c5d0c)return![];return!![];case _0x532cfe(0x284):case'getOneUpdate':if(_0x48f476)return!![];if(_0x57ba41)return![];if(_0x1bc449||_0x2c5d0c)return![];return!![];case _0x532cfe(0x393):return _0x40e698[_0x532cfe(0x310)]===_0x532cfe(0x310);default:return!![];}}function getFieldsForOperation(_0x397d58,_0x47a5ec,_0x17eafa){const _0x582f26=a0_0x4fb166;if(!Array[_0x582f26(0x280)](_0x397d58))return!![]&&console['warn'](_0x582f26(0x2a1),_0x397d58),[];return _0x397d58[_0x582f26(0x1fa)](_0x32fefe=>shouldIncludeField(_0x32fefe,_0x47a5ec,_0x17eafa));}function isApiBlacklisted(_0x3644fd){const _0x538385=a0_0x4fb166;if(typeof _0x3644fd!==_0x538385(0x233))return!![]&&console[_0x538385(0x248)](_0x538385(0x20d),_0x3644fd),![];return API_BLACKLIST[_0x538385(0x2fc)](_0x3644fd);}function filterApiOperations(_0x22d06b){const _0x23a855=a0_0x4fb166;if(!Array[_0x23a855(0x280)](_0x22d06b))return!![]&&console['warn']('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x22d06b),[];return _0x22d06b[_0x23a855(0x1fa)](_0x1bf909=>_0x1bf909&&typeof _0x1bf909===_0x23a855(0x2bc)&&!isApiBlacklisted(_0x1bf909[_0x23a855(0x272)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x4fb166(0x2a8)](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x332119})=>{const _0x411e94=a0_0x4fb166;if(_0x332119?.[_0x411e94(0x36c)]&&Array[_0x411e94(0x280)](_0x332119[_0x411e94(0x36c)])&&_0x332119[_0x411e94(0x36c)]['length']>0x0)return _0x332119['options'][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x5e5157})=>{const _0x5b328f=a0_0x4fb166;if(_0x5e5157===_0x5b328f(0x352))return 0x1;if(_0x5e5157==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x1b3bd3})=>{const _0x3b9097=a0_0x4fb166;if(_0x1b3bd3&&typeof _0x1b3bd3===_0x3b9097(0x233)){const _0x280c58=_0x1b3bd3['toLowerCase']();if(_0x280c58[_0x3b9097(0x2fc)]('邮箱')||_0x280c58['includes'](_0x3b9097(0x1f3)))return _0x3b9097(0x376);if(_0x280c58[_0x3b9097(0x2fc)]('电话')||_0x280c58['includes']('手机')||_0x280c58[_0x3b9097(0x2fc)]('phone'))return _0x3b9097(0x218);if(_0x280c58[_0x3b9097(0x2fc)]('地址')||_0x280c58[_0x3b9097(0x2fc)](_0x3b9097(0x2d8)))return'北京市朝阳区';if(_0x280c58['includes']('姓名')||_0x280c58[_0x3b9097(0x2fc)]('name'))return'张三';}return _0x3b9097(0x38c);},'VARCHAR':({description:_0xaa533a})=>TYPE_VALUE_GENERATORS[a0_0x4fb166(0x32e)]({'description':_0xaa533a}),'CHAR':({description:_0x2451a8})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x2451a8}),'STRING':({fieldInfo:_0x3cae4e,description:_0x16fa04})=>{const _0x4a1d0c=a0_0x4fb166;if(_0x3cae4e?.[_0x4a1d0c(0x2b8)]&&typeof _0x3cae4e[_0x4a1d0c(0x2b8)]==='string'&&_0x3cae4e[_0x4a1d0c(0x2b8)]!=='系统自动生成')return _0x3cae4e[_0x4a1d0c(0x2b8)][_0x4a1d0c(0x2ee)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS['TEXT']({'description':_0x16fa04});},'TEXTAREA':()=>a0_0x4fb166(0x33c),'LONGTEXT':()=>a0_0x4fb166(0x33c),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x4fb166(0x227)}),'ARRAY':()=>[a0_0x4fb166(0x2b4),a0_0x4fb166(0x312)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x4fb166(0x21d),'RICH_TEXT':()=>a0_0x4fb166(0x2ce)};function generateExampleValue(_0x3ec4bd,_0x12f98b,_0x3d18f8,_0x5cfd57={}){const _0x1b720e=a0_0x4fb166;typeof _0x3ec4bd!==_0x1b720e(0x233)&&(!![]&&console[_0x1b720e(0x248)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x3ec4bd),_0x3ec4bd=String(_0x3ec4bd||''));if(typeof _0x12f98b!==_0x1b720e(0x233))return!![]&&console[_0x1b720e(0x248)](_0x1b720e(0x32d),_0x12f98b),_0x1b720e(0x255);const {isPrimaryKey:_0x36b2c6,dbtableConfig:_0x1eafd0}=_0x5cfd57;if(_0x36b2c6)return 0x1;if(_0x1eafd0&&typeof _0x1eafd0===_0x1b720e(0x2bc)){const _0x130937=_0x1eafd0[_0x1b720e(0x250)]?.['fieldName']===_0x3ec4bd,_0x188fbe=_0x1eafd0[_0x1b720e(0x252)]?.[_0x1b720e(0x3a9)]===_0x3ec4bd;if(_0x130937||_0x188fbe){if(_0x3d18f8&&typeof _0x3d18f8===_0x1b720e(0x233)&&_0x3d18f8[_0x1b720e(0x35b)]()[_0x1b720e(0x2fc)](_0x1b720e(0x2f1)))return Date[_0x1b720e(0x2a8)]();return new Date()['toISOString']()['replace']('T','\x20')['split']('.')[0x0];}}const _0x28aaab={..._0x5cfd57,'fieldCode':_0x3ec4bd};if(_0x3d18f8&&typeof _0x3d18f8===_0x1b720e(0x233)){const _0x1c14cd=_0x3d18f8[_0x1b720e(0x35b)](),_0x225dbf=TYPE_VALUE_GENERATORS[_0x1c14cd];if(_0x225dbf)return _0x225dbf(_0x28aaab);}if(_0x12f98b&&typeof _0x12f98b===_0x1b720e(0x233)){const _0x178ee8=_0x12f98b[_0x1b720e(0x35b)](),_0x434690=TYPE_VALUE_GENERATORS[_0x178ee8];if(_0x434690)return _0x434690(_0x28aaab);}return _0x1b720e(0x255);}function generateExampleFromSchema(_0x355284,_0x590b99){const _0x301b4d=a0_0x4fb166;if(!_0x355284||typeof _0x355284!==_0x301b4d(0x2bc))return{};if(Array[_0x301b4d(0x280)](_0x355284)){if(_0x355284[_0x301b4d(0x398)]>0x0)return[generateExampleFromSchema(_0x355284[0x0],_0x590b99)];return[];}const _0x56de6c={};return Object[_0x301b4d(0x3cb)](_0x355284)[_0x301b4d(0x3a3)](_0x2c4ed1=>{const _0xc3b4d6=_0x301b4d,_0x3847b5=_0x355284[_0x2c4ed1];if(_0x3847b5&&typeof _0x3847b5===_0xc3b4d6(0x2bc)&&!Array[_0xc3b4d6(0x280)](_0x3847b5)&&_0x3847b5[_0xc3b4d6(0x358)]){const _0x5a3e00=_0x3847b5,_0x3d3e32=_0x5a3e00['type'],_0x473a7c=_0x5a3e00[_0xc3b4d6(0x20f)];typeof _0x3d3e32===_0xc3b4d6(0x233)?_0x56de6c[_0x2c4ed1]=generateExampleValue(_0x2c4ed1,_0x3d3e32,undefined,{'description':_0x473a7c,'dbtableConfig':_0x590b99}):_0x56de6c[_0x2c4ed1]=_0xc3b4d6(0x255);}else{if(Array[_0xc3b4d6(0x280)](_0x3847b5))_0x56de6c[_0x2c4ed1]=_0x3847b5[_0xc3b4d6(0x398)]>0x0?[generateExampleFromSchema(_0x3847b5[0x0],_0x590b99)]:[];else _0x3847b5&&typeof _0x3847b5===_0xc3b4d6(0x2bc)?_0x56de6c[_0x2c4ed1]=generateExampleFromSchema(_0x3847b5,_0x590b99):_0x56de6c[_0x2c4ed1]=_0x3847b5;}}),_0x56de6c;}function parseRequestBody(_0x23eddb){const _0x53ceb4=a0_0x4fb166;if(!_0x23eddb)return{};try{return JSON[_0x53ceb4(0x2ae)](_0x23eddb);}catch(_0x25b8cd){return!![]&&console[_0x53ceb4(0x248)](_0x53ceb4(0x287),_0x25b8cd),{};}}function parseResponseBody(_0xdeaced){const _0x4069d4=a0_0x4fb166;if(!_0xdeaced)return null;try{const _0x17548a=JSON[_0x4069d4(0x2ae)](_0xdeaced);return _0x17548a[_0x4069d4(0x304)]||_0x17548a;}catch(_0x474799){return!![]&&console[_0x4069d4(0x248)](_0x4069d4(0x212),_0x474799),null;}}function generateRequestExample(_0x530403,_0x1ccf72,_0x4a10b1,_0x483f2e){const _0x53018d=a0_0x4fb166,_0x2baa7c={};if(!Array[_0x53018d(0x280)](_0x530403))return!![]&&console[_0x53018d(0x248)](_0x53018d(0x2ef),_0x530403),_0x2baa7c;return _0x530403[_0x53018d(0x3a3)](_0x2113f9=>{const _0x13efd2=_0x53018d;if(!_0x2113f9||typeof _0x2113f9!=='object'){!![]&&console[_0x13efd2(0x248)](_0x13efd2(0x229),_0x2113f9);return;}if(typeof _0x2113f9[_0x13efd2(0x310)]!==_0x13efd2(0x233)||typeof _0x2113f9[_0x13efd2(0x358)]!==_0x13efd2(0x233)){!![]&&console['warn']('[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:',_0x2113f9);return;}const _0x1662bd=parseFieldExtend(_0x2113f9),_0x4781f9=_0x2113f9[_0x13efd2(0x310)]===_0x4a10b1||Boolean(_0x1662bd?.[_0x13efd2(0x1e3)]),_0x2de546=generateExampleValue(_0x2113f9[_0x13efd2(0x310)],_0x2113f9[_0x13efd2(0x358)],typeof _0x2113f9['dbType']===_0x13efd2(0x233)?_0x2113f9['dbType']:undefined,{'fieldInfo':_0x1662bd,'isPrimaryKey':_0x4781f9,'description':_0x2113f9[_0x13efd2(0x20f)]||_0x2113f9['name'],'dbtableConfig':_0x483f2e});_0x2baa7c[_0x2113f9['code']]=_0x2de546;}),_0x1ccf72===_0x53018d(0x318)&&(_0x2baa7c[_0x53018d(0x352)]=0x1,_0x2baa7c[_0x53018d(0x3a5)]=0xa),_0x2baa7c;}function formatEnumValue(_0x468623,_0x5cd0c3){const _0x37391b=a0_0x4fb166;if(_0x468623['multiple']&&Array[_0x37391b(0x280)](_0x5cd0c3))return _0x5cd0c3['map'](_0x5b00ce=>_0x468623['valueLabels'][String(_0x5b00ce)]||String(_0x5b00ce))['join'](',\x20');return _0x468623['valueLabels'][String(_0x5cd0c3)]||String(_0x5cd0c3);}function formatOptionsForDoc(_0x287b01){const _0x31527c=a0_0x4fb166;return _0x287b01[_0x31527c(0x2ca)](_0x400b92=>_0x400b92[_0x31527c(0x227)]+'('+_0x400b92[_0x31527c(0x26f)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x247911,_0x28599f=0x0){const _0x9f84d=a0_0x4fb166,_0x364322='\x20\x20'[_0x9f84d(0x35e)](_0x28599f),_0x3d1220=[];return _0x247911[_0x9f84d(0x3a3)](_0x2285ab=>{const _0x2eea08=_0x9f84d;_0x3d1220['push'](_0x364322+'-\x20`'+_0x2285ab['value']+_0x2eea08(0x2e2)+_0x2285ab[_0x2eea08(0x26f)]),_0x2285ab['children']&&_0x2285ab[_0x2eea08(0x2c2)][_0x2eea08(0x398)]>0x0&&_0x3d1220[_0x2eea08(0x29d)](formatOptionsAsMarkdownList(_0x2285ab[_0x2eea08(0x2c2)],_0x28599f+0x1));}),_0x3d1220[_0x9f84d(0x37d)]('\x0a');}class DbtableConfig{[a0_0x4fb166(0x268)];constructor(_0x394889){this['_raw']={..._0x394889};}get[a0_0x4fb166(0x38e)](){const _0x36790a=a0_0x4fb166;return this[_0x36790a(0x268)]['dbId'];}get['tableName'](){const _0x5ac271=a0_0x4fb166;return this[_0x5ac271(0x268)][_0x5ac271(0x383)];}get[a0_0x4fb166(0x387)](){const _0x5a7c61=a0_0x4fb166;return this[_0x5a7c61(0x268)][_0x5a7c61(0x387)];}get[a0_0x4fb166(0x20b)](){const _0x309c92=a0_0x4fb166;return this['_raw'][_0x309c92(0x20b)];}get[a0_0x4fb166(0x2c7)](){const _0x43aadb=a0_0x4fb166;return this[_0x43aadb(0x268)][_0x43aadb(0x2c7)];}get[a0_0x4fb166(0x3a6)](){const _0x1e5a01=a0_0x4fb166;return this[_0x1e5a01(0x268)]['logicField'];}get['createTimeField'](){const _0x1c3a5b=a0_0x4fb166;return this[_0x1c3a5b(0x268)][_0x1c3a5b(0x250)];}get[a0_0x4fb166(0x252)](){const _0x216500=a0_0x4fb166;return this[_0x216500(0x268)][_0x216500(0x252)];}get['creatorIdField'](){const _0x14c2fb=a0_0x4fb166;return this[_0x14c2fb(0x268)][_0x14c2fb(0x2b3)];}get[a0_0x4fb166(0x278)](){const _0x85abbe=a0_0x4fb166;return this[_0x85abbe(0x268)]['creatorNameField'];}get[a0_0x4fb166(0x213)](){const _0x152e8a=a0_0x4fb166;return this[_0x152e8a(0x268)][_0x152e8a(0x213)];}get[a0_0x4fb166(0x21f)](){const _0x299c7d=a0_0x4fb166;return this[_0x299c7d(0x268)]['modifierNameField'];}get[a0_0x4fb166(0x315)](){return this['_raw']['dblinkInfoDTO'];}[a0_0x4fb166(0x2d4)](){const _0x281cec=a0_0x4fb166;if(!this['_raw'][_0x281cec(0x320)])return[];return this['_raw'][_0x281cec(0x320)][_0x281cec(0x3c0)](',')[_0x281cec(0x2ca)](_0x7573ff=>_0x7573ff[_0x281cec(0x34e)]())[_0x281cec(0x1fa)](Boolean);}[a0_0x4fb166(0x31e)](){const _0x3cb26f=a0_0x4fb166;return this[_0x3cb26f(0x268)]['allFields'];}[a0_0x4fb166(0x2df)](_0x49e714){const _0xd2b0ad=a0_0x4fb166;return this['getAllFieldsArray']()[_0xd2b0ad(0x2fc)](_0x49e714);}[a0_0x4fb166(0x2bb)](){const _0x3f834a=a0_0x4fb166;return Boolean(this[_0x3f834a(0x268)][_0x3f834a(0x383)]);}[a0_0x4fb166(0x2d0)](){const _0x5f5bfd=a0_0x4fb166;return Boolean(this[_0x5f5bfd(0x268)]['dblinkInfoDTO']);}[a0_0x4fb166(0x354)](){const _0x49462a=a0_0x4fb166;return Boolean(this[_0x49462a(0x268)][_0x49462a(0x3a6)]?.[_0x49462a(0x3a9)]);}[a0_0x4fb166(0x2b0)](){const _0x50e041=a0_0x4fb166;return Boolean(this[_0x50e041(0x268)][_0x50e041(0x250)]?.['fieldName']);}[a0_0x4fb166(0x2e1)](){const _0x5a0d58=a0_0x4fb166;return Boolean(this['_raw']['updateTimeField']?.[_0x5a0d58(0x3a9)]);}[a0_0x4fb166(0x1d2)](){const _0x24737e=a0_0x4fb166;return Boolean(this[_0x24737e(0x268)]['creatorIdField']?.[_0x24737e(0x3a9)]);}[a0_0x4fb166(0x1f1)](){const _0x14c8e4=a0_0x4fb166;return Boolean(this[_0x14c8e4(0x268)]['modifierIdField']?.['fieldName']);}[a0_0x4fb166(0x299)](_0x596e9c){const _0x2768da=a0_0x4fb166;return this[_0x2768da(0x268)][_0x2768da(0x20b)]===_0x596e9c;}[a0_0x4fb166(0x1d6)](_0x35f5c0){const _0x3626b5=a0_0x4fb166;return this[_0x3626b5(0x299)](_0x35f5c0)||this[_0x3626b5(0x268)][_0x3626b5(0x3a6)]?.[_0x3626b5(0x3a9)]===_0x35f5c0||this[_0x3626b5(0x268)][_0x3626b5(0x250)]?.[_0x3626b5(0x3a9)]===_0x35f5c0||this['_raw'][_0x3626b5(0x252)]?.[_0x3626b5(0x3a9)]===_0x35f5c0||this[_0x3626b5(0x268)][_0x3626b5(0x2b3)]?.[_0x3626b5(0x3a9)]===_0x35f5c0||this[_0x3626b5(0x268)][_0x3626b5(0x278)]?.[_0x3626b5(0x3a9)]===_0x35f5c0||this[_0x3626b5(0x268)][_0x3626b5(0x213)]?.[_0x3626b5(0x3a9)]===_0x35f5c0||this[_0x3626b5(0x268)][_0x3626b5(0x21f)]?.[_0x3626b5(0x3a9)]===_0x35f5c0;}[a0_0x4fb166(0x3ae)](){const _0x50e140=a0_0x4fb166;return this[_0x50e140(0x268)][_0x50e140(0x315)]?.[_0x50e140(0x3b3)];}['getDatabaseType'](){return this['_raw']['dblinkInfoDTO']?.['dbType'];}[a0_0x4fb166(0x2f2)](){const _0x1ee06b=a0_0x4fb166;return this['_raw'][_0x1ee06b(0x315)]?.[_0x1ee06b(0x2a9)];}['getTenantCode'](){const _0x499e25=a0_0x4fb166;return this['_raw']['dblinkInfoDTO']?.[_0x499e25(0x238)];}[a0_0x4fb166(0x23e)](){const _0x48c953=a0_0x4fb166;return this[_0x48c953(0x268)][_0x48c953(0x315)]?.[_0x48c953(0x25c)];}[a0_0x4fb166(0x1eb)](){const _0x57ec3b=a0_0x4fb166;return this[_0x57ec3b(0x268)][_0x57ec3b(0x315)]?.[_0x57ec3b(0x3bf)];}['getStats'](){const _0x151f8a=a0_0x4fb166;return{'hasTableName':this['hasTableName'](),'hasDblinkInfo':this[_0x151f8a(0x2d0)](),'fieldCount':this[_0x151f8a(0x2d4)]()[_0x151f8a(0x398)],'systemFields':{'hasLogicField':this[_0x151f8a(0x354)](),'hasCreateTimeField':this[_0x151f8a(0x2b0)](),'hasUpdateTimeField':this[_0x151f8a(0x2e1)](),'hasCreatorIdField':this[_0x151f8a(0x1d2)](),'hasModifierIdField':this[_0x151f8a(0x1f1)]()}};}[a0_0x4fb166(0x222)](){const _0x338ca4=a0_0x4fb166;return{'tableName':this[_0x338ca4(0x383)],'pkField':this['pkField'],'datasetKey':this[_0x338ca4(0x387)],'dbId':this[_0x338ca4(0x38e)]};}[a0_0x4fb166(0x28f)](){const _0x32d4f3=a0_0x4fb166;return{...this[_0x32d4f3(0x268)]};}[a0_0x4fb166(0x375)](){const _0x14d875=a0_0x4fb166;return{...this[_0x14d875(0x268)]};}[a0_0x4fb166(0x350)](){const _0x132020=a0_0x4fb166,_0xe3103f=this[_0x132020(0x383)]||_0x132020(0x3a7),_0x594ac7=this['getAllFieldsArray']()[_0x132020(0x398)];return'DbtableConfig(table:\x20'+_0xe3103f+_0x132020(0x24a)+_0x594ac7+')';}static[a0_0x4fb166(0x20e)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x4fb166(0x268)];constructor(_0x149ced){const _0x29f9ad=a0_0x4fb166,_0x9549a0=_0x149ced[_0x29f9ad(0x314)]||_0x149ced['code']||_0x149ced[_0x29f9ad(0x290)];this[_0x29f9ad(0x268)]={..._0x149ced,'datasetCode':_0x9549a0};}get['id'](){return this['_raw']['id'];}get[a0_0x4fb166(0x272)](){const _0x4a869a=a0_0x4fb166;return this['_raw'][_0x4a869a(0x272)];}[a0_0x4fb166(0x20c)](){const _0x477294=a0_0x4fb166;return this[_0x477294(0x272)];}get['datasetCode'](){const _0x19fcb7=a0_0x4fb166;return this[_0x19fcb7(0x268)][_0x19fcb7(0x314)]||'';}get[a0_0x4fb166(0x2fe)](){const _0x3a3385=a0_0x4fb166;if(!this[_0x3a3385(0x268)][_0x3a3385(0x2fe)])return null;return new DbtableConfig(this[_0x3a3385(0x268)]['dbtableConfig']);}[a0_0x4fb166(0x1da)](){const _0x5a2d8e=a0_0x4fb166;return this[_0x5a2d8e(0x268)][_0x5a2d8e(0x2fe)];}[a0_0x4fb166(0x1dd)](){const _0xe3348e=a0_0x4fb166;return getTableName(this[_0xe3348e(0x268)]);}[a0_0x4fb166(0x300)](){const _0x13084e=a0_0x4fb166;return getTableKey(this[_0x13084e(0x1dd)]());}['isVirtualTable'](){const _0x584a11=a0_0x4fb166;return isVirtualTableName(this[_0x584a11(0x1dd)]());}[a0_0x4fb166(0x373)](){return toPascalCase(this['getTableName']());}[a0_0x4fb166(0x222)](){const _0x553806=a0_0x4fb166;return{'key':getTableKey(this['getTableName']()),'tableName':this[_0x553806(0x1dd)](),'datasetCode':this[_0x553806(0x314)],'name':this[_0x553806(0x272)]};}[a0_0x4fb166(0x28f)](){const _0x3abb5a=a0_0x4fb166;return{...this[_0x3abb5a(0x268)],'datasetCode':this['datasetCode']};}[a0_0x4fb166(0x375)](){const _0x5e064e=a0_0x4fb166;return{...this[_0x5e064e(0x268)]};}['hasDbtableConfig'](){const _0x1ced73=a0_0x4fb166,_0x5e9848=this[_0x1ced73(0x2fe)];return _0x5e9848!==null&&_0x5e9848[_0x1ced73(0x2bb)]();}[a0_0x4fb166(0x2cc)](_0x5a0c91){const _0x344774=a0_0x4fb166;return this[_0x344774(0x268)][_0x5a0c91];}['hasExtendField'](_0x1bd945){const _0x332fc8=a0_0x4fb166;return _0x1bd945 in this[_0x332fc8(0x268)];}[a0_0x4fb166(0x350)](){const _0x1d6fd2=a0_0x4fb166;return'DatasetItem('+this[_0x1d6fd2(0x272)]+',\x20'+this[_0x1d6fd2(0x314)]+')';}}class Operation{[a0_0x4fb166(0x272)];[a0_0x4fb166(0x268)];[a0_0x4fb166(0x31a)];constructor(_0x16db5b,_0x26b761,_0x430c21){const _0x3745a6=a0_0x4fb166;this['name']=_0x16db5b,this[_0x3745a6(0x268)]=_0x26b761,this[_0x3745a6(0x31a)]=_0x430c21;}[a0_0x4fb166(0x20c)](){const _0x1b90ca=a0_0x4fb166;return this[_0x1b90ca(0x272)];}[a0_0x4fb166(0x1d4)](){const _0x7aad00=a0_0x4fb166,_0x25f257=this[_0x7aad00(0x2fd)]();return _0x25f257?OPERATION_TYPE_DISPLAY_NAME[_0x25f257]:this[_0x7aad00(0x272)];}[a0_0x4fb166(0x2fd)](){const _0x4bb92a=a0_0x4fb166;return parseOperationType(this[_0x4bb92a(0x272)]);}[a0_0x4fb166(0x221)](){const _0x422f02=a0_0x4fb166;return this[_0x422f02(0x268)]!=null&&this['_raw']!==![];}[a0_0x4fb166(0x3cd)](){const _0x16d6fd=a0_0x4fb166;if(!this[_0x16d6fd(0x221)]()||!this['_raw'])return'';const _0x5127ee=this[_0x16d6fd(0x268)][_0x16d6fd(0x311)];return typeof _0x5127ee===_0x16d6fd(0x233)?_0x5127ee:'POST';}[a0_0x4fb166(0x1d7)](){const _0x190575=a0_0x4fb166;if(!this['isEnabled']()||!this[_0x190575(0x268)])return'';const _0x3f98fb=this['_raw']['path'];return typeof _0x3f98fb==='string'?_0x3f98fb:'';}[a0_0x4fb166(0x2b5)](){const _0x2e31c7=a0_0x4fb166;if(!this['isEnabled']()||!this['_raw'])return'';const {host:_0x459308,path:_0x3feec2}=this['_raw'],_0xe10906=typeof _0x459308==='string'?_0x459308:'',_0x47de34=typeof _0x3feec2===_0x2e31c7(0x233)?_0x3feec2:'';return _0xe10906&&_0x47de34?''+_0xe10906+_0x47de34:_0x47de34;}[a0_0x4fb166(0x29a)](){const _0x5b7ee0=a0_0x4fb166;return Object[_0x5b7ee0(0x3cb)](this[_0x5b7ee0(0x244)]());}[a0_0x4fb166(0x32f)](){const _0x1ff7e8=a0_0x4fb166;if(!this[_0x1ff7e8(0x221)]()||typeof this[_0x1ff7e8(0x268)]===_0x1ff7e8(0x3bb)||!this['_raw']?.['requestBody'])return{};const _0x52e892=this[_0x1ff7e8(0x268)][_0x1ff7e8(0x368)];if(typeof _0x52e892!==_0x1ff7e8(0x233))return!![]&&console[_0x1ff7e8(0x248)](_0x1ff7e8(0x1d3),_0x52e892),{};return parseRequestBody(_0x52e892);}[a0_0x4fb166(0x246)](){const _0xe7858e=a0_0x4fb166;if(!this[_0xe7858e(0x221)]()||typeof this[_0xe7858e(0x268)]===_0xe7858e(0x3bb)||!this[_0xe7858e(0x268)]?.[_0xe7858e(0x211)])return null;const _0x50f5c=this['_raw'][_0xe7858e(0x211)];if(typeof _0x50f5c!==_0xe7858e(0x233))return!![]&&console[_0xe7858e(0x248)]('[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:',_0x50f5c),null;return parseResponseBody(_0x50f5c);}['generateFieldExample'](_0x211e85,_0x3a5e92,_0x579696,_0x525532){const _0x5e7748=a0_0x4fb166;return generateExampleValue(_0x211e85,_0x3a5e92,_0x579696,{'isPrimaryKey':_0x525532?.[_0x5e7748(0x262)],'description':_0x525532?.[_0x5e7748(0x20f)],'dbtableConfig':this[_0x5e7748(0x31a)][_0x5e7748(0x2fe)]});}[a0_0x4fb166(0x25b)](_0x42ffdc){const _0x209952=a0_0x4fb166;if(!Array[_0x209952(0x280)](this[_0x209952(0x31a)][_0x209952(0x2e9)])){!![]&&console[_0x209952(0x248)](_0x209952(0x29c));return;}if(typeof _0x42ffdc!==_0x209952(0x233)){!![]&&console[_0x209952(0x248)](_0x209952(0x2de),_0x42ffdc);return;}return this[_0x209952(0x31a)][_0x209952(0x2e9)][_0x209952(0x2ad)](_0x3c2ff3=>_0x3c2ff3&&_0x3c2ff3[_0x209952(0x310)]===_0x42ffdc);}['toString'](){const _0x29c3ec=a0_0x4fb166,_0x210b3b=this[_0x29c3ec(0x221)]()?'启用':'禁用';return this[_0x29c3ec(0x1d4)]()+'('+this[_0x29c3ec(0x272)]+',\x20'+_0x210b3b+')';}[a0_0x4fb166(0x381)](){return[];}[a0_0x4fb166(0x27b)](_0x1193e4){return[];}[a0_0x4fb166(0x357)](_0x34b7be){const _0x27dbf7=a0_0x4fb166,_0x338c76=this['getName'](),_0x5130e3=_0x27dbf7(0x378)+_0x34b7be+'.'+_0x338c76+_0x27dbf7(0x31b),_0x38da51=_0x27dbf7(0x27f)+_0x34b7be+'.'+_0x338c76+_0x27dbf7(0x329);return{'successCode':_0x5130e3,'errorCode':_0x38da51};}['toJSON'](){const _0x5b4017=a0_0x4fb166;return{'name':this[_0x5b4017(0x20c)](),'displayName':this[_0x5b4017(0x1d4)](),'type':this[_0x5b4017(0x2fd)](),'enabled':this[_0x5b4017(0x221)](),'method':this['getMethod'](),'path':this[_0x5b4017(0x1d7)](),'fullUrl':this[_0x5b4017(0x2b5)](),'requestFields':this[_0x5b4017(0x29a)](),'requestParams':this[_0x5b4017(0x244)](),'responseSchema':this[_0x5b4017(0x224)](),'requestExample':this[_0x5b4017(0x30d)](),'responseExample':this[_0x5b4017(0x2af)]()};}}class GenericOperation extends Operation{['getRequestParams'](){return this['parseRawRequestBody']();}[a0_0x4fb166(0x224)](){const _0xabd1cf=a0_0x4fb166;return this[_0xabd1cf(0x246)]();}[a0_0x4fb166(0x30d)](){const _0x13b82b=a0_0x4fb166,_0x2e387f={},_0x171fc3=this[_0x13b82b(0x244)](),_0x7b8f8=this[_0x13b82b(0x2fd)]();if(Object[_0x13b82b(0x3cb)](_0x171fc3)['length']===0x0&&_0x7b8f8){const _0x3fa324=getFieldsForOperation(this['context'][_0x13b82b(0x2e9)],_0x7b8f8,this['context'][_0x13b82b(0x20b)]);return _0x3fa324[_0x13b82b(0x3a3)](_0x379d8a=>{const _0x3d346e=_0x13b82b,_0x16853f=this[_0x3d346e(0x3c4)](_0x379d8a[_0x3d346e(0x310)],_0x379d8a[_0x3d346e(0x358)],typeof _0x379d8a[_0x3d346e(0x345)]===_0x3d346e(0x233)?_0x379d8a[_0x3d346e(0x345)]:undefined,{'isPrimaryKey':_0x379d8a['code']===this[_0x3d346e(0x31a)][_0x3d346e(0x20b)],'description':_0x379d8a[_0x3d346e(0x20f)]||_0x379d8a[_0x3d346e(0x272)]});_0x2e387f[_0x379d8a[_0x3d346e(0x310)]]=_0x16853f;}),_0x2e387f;}return Object[_0x13b82b(0x1d9)](_0x171fc3)[_0x13b82b(0x3a3)](([_0x20305a,_0x5445e2])=>{const _0x4628f1=_0x13b82b,_0x4b0d3b=_0x5445e2;let _0x1cffed;if(typeof _0x4b0d3b[_0x4628f1(0x358)]===_0x4628f1(0x233))_0x1cffed=_0x4b0d3b[_0x4628f1(0x358)];else _0x4b0d3b[_0x4628f1(0x358)]&&typeof _0x4b0d3b[_0x4628f1(0x358)]===_0x4628f1(0x2bc)?_0x1cffed=_0x4b0d3b['type'][_0x4628f1(0x358)]||_0x4628f1(0x32e):_0x1cffed=_0x4628f1(0x32e);const _0x4313ae=_0x4b0d3b[_0x4628f1(0x20f)],_0x4c354c=this[_0x4628f1(0x25b)](_0x20305a);if(_0x20305a===_0x4628f1(0x352))_0x2e387f[_0x20305a]=0x1;else{if(_0x20305a===_0x4628f1(0x3a5))_0x2e387f[_0x20305a]=0xa;else _0x20305a==='id'?_0x2e387f[_0x20305a]=0x1:_0x2e387f[_0x20305a]=this['generateFieldExample'](_0x20305a,_0x1cffed,typeof _0x4c354c?.[_0x4628f1(0x345)]==='string'?_0x4c354c['dbType']:undefined,{'isPrimaryKey':_0x20305a===this['context'][_0x4628f1(0x20b)]||_0x20305a==='id','description':_0x4313ae||_0x4c354c?.[_0x4628f1(0x20f)]||_0x4c354c?.[_0x4628f1(0x272)]});}}),_0x2e387f;}['generateResponseExample'](){const _0x2d9cdb=a0_0x4fb166,_0x11e89d=this[_0x2d9cdb(0x224)]();if(!_0x11e89d)return{'success':!![],'msg':'操作成功','errorMsg':'','errorCode':'0000','data':null};return this[_0x2d9cdb(0x33a)](_0x11e89d);}['generateFromSchema'](_0x4ddf92){const _0x38d467=a0_0x4fb166;if(!_0x4ddf92||typeof _0x4ddf92!==_0x38d467(0x2bc))return{};if(Array[_0x38d467(0x280)](_0x4ddf92)){if(_0x4ddf92[_0x38d467(0x398)]>0x0)return[this['generateFromSchema'](_0x4ddf92[0x0])];return[];}const _0x5b06c4={};return Object[_0x38d467(0x3cb)](_0x4ddf92)[_0x38d467(0x3a3)](_0x6cb417=>{const _0x1b0b9d=_0x38d467,_0x4fe49d=_0x4ddf92[_0x6cb417];if(_0x4fe49d&&typeof _0x4fe49d===_0x1b0b9d(0x2bc)&&!Array[_0x1b0b9d(0x280)](_0x4fe49d)&&_0x4fe49d[_0x1b0b9d(0x358)]){const _0x132264=_0x4fe49d;let _0x1a38a7;if(typeof _0x132264['type']==='string')_0x1a38a7=_0x132264[_0x1b0b9d(0x358)];else _0x132264[_0x1b0b9d(0x358)]&&typeof _0x132264[_0x1b0b9d(0x358)]===_0x1b0b9d(0x2bc)?_0x1a38a7=_0x132264[_0x1b0b9d(0x358)][_0x1b0b9d(0x358)]||_0x1b0b9d(0x32e):_0x1a38a7=_0x1b0b9d(0x32e);const _0x12d6b5=_0x132264[_0x1b0b9d(0x20f)];_0x5b06c4[_0x6cb417]=this[_0x1b0b9d(0x3c4)](_0x6cb417,_0x1a38a7,undefined,{'description':_0x12d6b5});}else{if(Array[_0x1b0b9d(0x280)](_0x4fe49d))_0x5b06c4[_0x6cb417]=_0x4fe49d[_0x1b0b9d(0x398)]>0x0?[this['generateFromSchema'](_0x4fe49d[0x0])]:[];else _0x4fe49d&&typeof _0x4fe49d===_0x1b0b9d(0x2bc)?_0x5b06c4[_0x6cb417]=this['generateFromSchema'](_0x4fe49d):_0x5b06c4[_0x6cb417]=_0x4fe49d;}}),_0x5b06c4;}[a0_0x4fb166(0x205)](_0x4220b1,_0x49b20c){const _0x3797c6=a0_0x4fb166,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x49b20c||{},_0x496775=this[_0x3797c6(0x20c)](),_0x2a9cad=this['getType'](),_0x10493b=this[_0x3797c6(0x29a)](),_0x509c7e=this[_0x3797c6(0x30d)](),_0x4b04b9=_0x1678d1=>{const _0x234973=_0x3797c6;if(Object['keys'](_0x1678d1)[_0x234973(0x398)]===0x0)return'{}';const _0x42c909=JSON[_0x234973(0x32b)](_0x1678d1,null,0x2)[_0x234973(0x3c0)]('\x0a')['map']((_0x5bd371,_0x51f58b)=>_0x51f58b===0x0?_0x5bd371:indent+_0x5bd371)[_0x234973(0x37d)]('\x0a');return _0x42c909;};switch(_0x2a9cad){case'getOne':case _0x3797c6(0x1fb):return _0x3797c6(0x208)+_0x4220b1+'.'+_0x496775+_0x3797c6(0x228);case _0x3797c6(0x284):if(useFullExample&&Object[_0x3797c6(0x3cb)](_0x509c7e)[_0x3797c6(0x398)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x4220b1+'.'+_0x496775+_0x3797c6(0x3b2)+_0x4b04b9(_0x509c7e)+');';return _0x3797c6(0x208)+_0x4220b1+'.'+_0x496775+_0x3797c6(0x37f);case _0x3797c6(0x2ba):case _0x3797c6(0x318):case _0x3797c6(0x393):default:if(_0x10493b['length']>0x0){if(useFullExample&&Object['keys'](_0x509c7e)[_0x3797c6(0x398)]>0x0)return _0x3797c6(0x208)+_0x4220b1+'.'+_0x496775+'('+_0x4b04b9(_0x509c7e)+');';else{const _0x5aa475=Object['keys'](_0x509c7e);if(_0x5aa475[_0x3797c6(0x398)]>0x0){const _0x61679=_0x5aa475[_0x3797c6(0x330)](0x0,0x2)[_0x3797c6(0x37d)](',\x20');return _0x3797c6(0x208)+_0x4220b1+'.'+_0x496775+_0x3797c6(0x286)+_0x61679+_0x3797c6(0x324);}else return _0x3797c6(0x208)+_0x4220b1+'.'+_0x496775+_0x3797c6(0x219);}}else return _0x3797c6(0x208)+_0x4220b1+'.'+_0x496775+'();';}}[a0_0x4fb166(0x1f9)](){const _0x59fa4d=a0_0x4fb166;return[{'title':_0x59fa4d(0x351),'data':this['generateRequestExample']()}];}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x2f50ed=a0_0x4fb166,_0xe539e3=super[_0x2f50ed(0x244)](),_0x229591=Object[_0x2f50ed(0x3cb)](_0xe539e3);return(_0x229591[_0x2f50ed(0x398)]===0x0||_0x229591['length']===0x1&&_0x229591[0x0]===_0x2f50ed(0x310))&&(!_0xe539e3[_0x2f50ed(0x310)]&&(_0xe539e3[_0x2f50ed(0x310)]={'type':_0x2f50ed(0x307),'description':_0x2f50ed(0x3c1)}),_0xe539e3[_0x2f50ed(0x26f)]={'type':_0x2f50ed(0x307),'description':_0x2f50ed(0x1dc)}),_0xe539e3;}[a0_0x4fb166(0x30d)](){const _0x27a9ee=a0_0x4fb166;return{'code':_0x27a9ee(0x26d),'label':'field_name'};}[a0_0x4fb166(0x205)](_0x3e3ad6){const _0x202e1d=a0_0x4fb166,_0x34b713=this['getName']();return'const\x20result\x20=\x20await\x20client.models.'+_0x3e3ad6+'.'+_0x34b713+_0x202e1d(0x2b2);}}class GetListOperation extends GenericOperation{[a0_0x4fb166(0x244)](){const _0x22b02a=a0_0x4fb166,_0x41b225=super[_0x22b02a(0x244)](),{currentPage:_0x1669cd,pageSize:_0x23e48e,..._0x161c7f}=_0x41b225,_0x756961={};return Object[_0x22b02a(0x1d9)](_0x161c7f)[_0x22b02a(0x3a3)](([_0x3188fd,_0x176fa7])=>{const _0x52ce2=_0x22b02a;if(typeof _0x176fa7===_0x52ce2(0x2bc)&&_0x176fa7!==null){const _0x5bfd61=_0x176fa7,_0x428d6a=_0x5bfd61[_0x52ce2(0x20f)]||'';_0x756961[_0x3188fd]={..._0x5bfd61,'description':_0x428d6a?_0x428d6a+'(支持单值或数组)':_0x52ce2(0x261)};}else _0x756961[_0x3188fd]=_0x176fa7;}),{..._0x756961,'currentPage':{...typeof _0x1669cd===_0x22b02a(0x2bc)?_0x1669cd:{},'type':_0x22b02a(0x33f),'description':_0x22b02a(0x1e7)},'pageSize':{...typeof _0x23e48e===_0x22b02a(0x2bc)?_0x23e48e:{},'type':_0x22b02a(0x33f),'description':'每页数量'}};}[a0_0x4fb166(0x30d)](_0xe1a265){const _0x36281b=a0_0x4fb166,{useArrayValues:useArrayValues=!![]}=_0xe1a265||{},_0xd255fb=super[_0x36281b(0x30d)](),{currentPage:_0x40caa7,pageSize:_0x4f3033,..._0x4b475c}=_0xd255fb;if(!useArrayValues)return{..._0x4b475c,'currentPage':_0x40caa7??0x1,'pageSize':_0x4f3033??0xa};const _0x57be58={},_0x472f2f=['id',_0x36281b(0x247),_0x36281b(0x310),_0x36281b(0x358)];return Object[_0x36281b(0x1d9)](_0x4b475c)[_0x36281b(0x3a3)](([_0x284969,_0x375db7],_0x1c5fb2)=>{const _0x3e4f88=_0x36281b,_0x2a6764=_0x472f2f[_0x3e4f88(0x1e4)](_0x4d70e7=>_0x284969[_0x3e4f88(0x35d)]()['includes'](_0x4d70e7))||_0x1c5fb2%0x3===0x0;if(_0x2a6764&&_0x375db7!==null&&_0x375db7!==undefined){if(typeof _0x375db7===_0x3e4f88(0x2b7))_0x57be58[_0x284969]=[_0x375db7,_0x375db7+0x1,_0x375db7+0x2];else typeof _0x375db7===_0x3e4f88(0x233)?_0x57be58[_0x284969]=[_0x375db7,_0x375db7+'_2',_0x375db7+'_3']:_0x57be58[_0x284969]=[_0x375db7];}else _0x57be58[_0x284969]=_0x375db7;}),{..._0x57be58,'currentPage':_0x40caa7??0x1,'pageSize':_0x4f3033??0xa};}['generateSingleValueExample'](){const _0x5bbf40=a0_0x4fb166;return this[_0x5bbf40(0x30d)]({'useArrayValues':![]});}[a0_0x4fb166(0x1f9)](){const _0x3d90fe=a0_0x4fb166;return[{'title':'单值查询','description':_0x3d90fe(0x302),'data':this[_0x3d90fe(0x3c9)]()},{'title':'数组查询(支持多选)','description':'支持多个条件','data':this[_0x3d90fe(0x30d)]()}];}[a0_0x4fb166(0x205)](_0x494c8a,_0x2f346a){const _0x28580c=a0_0x4fb166,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2f346a||{},_0x2f4882=this[_0x28580c(0x20c)](),_0x2c4fd1=this[_0x28580c(0x30d)]({'useArrayValues':!![]}),{currentPage:_0x3cbf4b,pageSize:_0x3e52c3,..._0x1ae65a}=_0x2c4fd1;if(useFullExample&&Object[_0x28580c(0x3cb)](_0x2c4fd1)[_0x28580c(0x398)]>0x0){const _0x3f151c=Object[_0x28580c(0x3cb)](_0x1ae65a)[_0x28580c(0x398)]>0x0;if(_0x3f151c){const _0x36f88c=this['generateSingleValueExample'](),_0x985e0d=_0x5517c3=>{const _0x418fac=_0x28580c;return JSON[_0x418fac(0x32b)](_0x5517c3,null,0x2)[_0x418fac(0x3c0)]('\x0a')[_0x418fac(0x2ca)]((_0x1c2082,_0x42beeb)=>_0x42beeb===0x0?_0x1c2082:indent+_0x1c2082)[_0x418fac(0x37d)]('\x0a');};return _0x28580c(0x231)+_0x494c8a+'.'+_0x2f4882+'('+_0x985e0d(_0x36f88c)+');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x494c8a+'.'+_0x2f4882+'('+_0x985e0d(_0x2c4fd1)+');';}else{const _0x40328d=JSON['stringify'](_0x2c4fd1,null,0x2)[_0x28580c(0x3c0)]('\x0a')[_0x28580c(0x2ca)]((_0x22db44,_0x1203dd)=>_0x1203dd===0x0?_0x22db44:indent+_0x22db44)[_0x28580c(0x37d)]('\x0a');return _0x28580c(0x208)+_0x494c8a+'.'+_0x2f4882+'('+_0x40328d+');';}}if(Object[_0x28580c(0x3cb)](_0x1ae65a)[_0x28580c(0x398)]>0x0){const _0x19fee3=Object[_0x28580c(0x3cb)](_0x1ae65a)[0x0];return _0x28580c(0x208)+_0x494c8a+'.'+_0x2f4882+'({\x20'+_0x19fee3+_0x28580c(0x22a);}return _0x28580c(0x208)+_0x494c8a+'.'+_0x2f4882+_0x28580c(0x35a);}}var FILTER_OPERATORS=[a0_0x4fb166(0x344),a0_0x4fb166(0x2d5),'$gte','$gteq',a0_0x4fb166(0x394),a0_0x4fb166(0x333),a0_0x4fb166(0x3b5),a0_0x4fb166(0x3ca),a0_0x4fb166(0x28e),a0_0x4fb166(0x29b),'$and','$or'];class FilterOperation extends GenericOperation{constructor(_0x511702,_0x3fbb8f,_0x1249bd){super(_0x511702,_0x3fbb8f,_0x1249bd);}[a0_0x4fb166(0x381)](){return FILTER_OPERATORS;}[a0_0x4fb166(0x27b)](_0x39cf60){const _0xbcbf61=a0_0x4fb166,_0x1b133e=this[_0xbcbf61(0x25b)](_0x39cf60);if(!_0x1b133e)return[];return this[_0xbcbf61(0x313)](_0x1b133e[_0xbcbf61(0x358)]);}[a0_0x4fb166(0x244)](){const _0xde54ea=a0_0x4fb166,_0x3bbae5=super[_0xde54ea(0x244)]();return{..._0x3bbae5,'where':{'type':_0xde54ea(0x21c),'description':_0xde54ea(0x3c7),'required':![]},'select':{'type':'String[]','description':'返回字段列表(字段投影)','required':![]},'orderBy':{'type':'Object[]','description':'排序规则','required':![]},'currentPage':{'type':_0xde54ea(0x33f),'description':_0xde54ea(0x1e7),'required':![],'default':0x1},'pageSize':{'type':'Number','description':_0xde54ea(0x2f6),'required':![],'default':0xa}};}[a0_0x4fb166(0x30d)](){const _0x86e3d2=a0_0x4fb166,_0x2d9601=this[_0x86e3d2(0x31a)][_0x86e3d2(0x2e9)]||[];if(_0x2d9601[_0x86e3d2(0x398)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x3bc20b={},_0x55fd3c=_0x2d9601[_0x86e3d2(0x330)](0x0,Math[_0x86e3d2(0x336)](0x3,_0x2d9601[_0x86e3d2(0x398)]));_0x55fd3c[_0x86e3d2(0x3a3)](_0x38cb5a=>{const _0x49ab4f=_0x86e3d2,_0x52bb5f=this[_0x49ab4f(0x313)](_0x38cb5a[_0x49ab4f(0x358)]);if(_0x52bb5f[_0x49ab4f(0x398)]===0x0)return;const _0x5ab18d=this[_0x49ab4f(0x36b)](_0x38cb5a[_0x49ab4f(0x358)],_0x52bb5f),_0x15185c=this['generateExampleValue'](_0x38cb5a,_0x5ab18d);_0x3bc20b[_0x38cb5a[_0x49ab4f(0x310)]]={[_0x5ab18d]:_0x15185c};});const _0x14066a=_0x2d9601['slice'](0x0,Math['min'](0x5,_0x2d9601[_0x86e3d2(0x398)]))[_0x86e3d2(0x2ca)](_0x6e5bc2=>_0x6e5bc2[_0x86e3d2(0x310)]),_0x39325d=_0x2d9601[0x0]?.[_0x86e3d2(0x310)]||'id';return{'where':_0x3bc20b,'select':_0x14066a,'orderBy':[{[_0x39325d]:_0x86e3d2(0x26e)}],'currentPage':0x1,'pageSize':0x14};}[a0_0x4fb166(0x205)](_0x2b0151,_0x4a0045){const _0xe9cdf1=a0_0x4fb166,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4a0045||{},_0x39d5d1=this[_0xe9cdf1(0x20c)](),_0x177020=this[_0xe9cdf1(0x30d)](),_0x198bc6=_0x202b41=>{const _0x1777a3=_0xe9cdf1;return JSON[_0x1777a3(0x32b)](_0x202b41,null,0x2)[_0x1777a3(0x3c0)]('\x0a')[_0x1777a3(0x2ca)]((_0x4f1b5a,_0x7bb5f6)=>_0x7bb5f6===0x0?_0x4f1b5a:indent+_0x4f1b5a)[_0x1777a3(0x37d)]('\x0a');};if(useFullExample){const _0x12e086=this[_0xe9cdf1(0x31a)]['fields']||[],_0x394166={'where':_0x12e086[0x0]?{[_0x12e086[0x0][_0xe9cdf1(0x310)]]:{'$eq':this[_0xe9cdf1(0x207)](_0x12e086[0x0],_0xe9cdf1(0x344))}}:{},'select':_0x12e086[_0xe9cdf1(0x330)](0x0,0x3)['map'](_0x1e7a1f=>_0x1e7a1f['code']),'currentPage':0x1,'pageSize':0x14};let _0x3be9bf='';if(_0x12e086[_0xe9cdf1(0x398)]>=0x3){const _0x5c31ab={'$and':[]},_0x281a6f=[];if(_0x12e086[_0xe9cdf1(0x398)]>0x0){const _0x4c17db=_0x12e086[_0xe9cdf1(0x2ad)](_0x38be19=>['NUMBER',_0xe9cdf1(0x36d),'BIGINT'][_0xe9cdf1(0x2fc)](_0x38be19['type'][_0xe9cdf1(0x35b)]()));_0x4c17db&&_0x281a6f[_0xe9cdf1(0x29d)]({[_0x4c17db[_0xe9cdf1(0x310)]]:{'$gte':0x0,'$lte':0x64}});}if(_0x12e086['length']>0x1){const _0x4fe674=_0x12e086['find'](_0x108aae=>[_0xe9cdf1(0x23b),'TEXT',_0xe9cdf1(0x254)]['includes'](_0x108aae[_0xe9cdf1(0x358)][_0xe9cdf1(0x35b)]()));_0x4fe674&&_0x281a6f[_0xe9cdf1(0x29d)]({[_0x4fe674['code']]:{'$contain':_0xe9cdf1(0x353)}});}if(_0x281a6f[_0xe9cdf1(0x398)]>0x0){_0x5c31ab[_0xe9cdf1(0x257)]=_0x281a6f;const _0xd4510={'where':_0x5c31ab,'select':_0x12e086[_0xe9cdf1(0x330)](0x0,0x4)[_0xe9cdf1(0x2ca)](_0x4212b8=>_0x4212b8[_0xe9cdf1(0x310)]),'orderBy':[{[_0x12e086[0x0][_0xe9cdf1(0x310)]]:_0xe9cdf1(0x26e)}],'currentPage':0x1,'pageSize':0x14};_0x3be9bf=_0xe9cdf1(0x1e6)+_0x2b0151+'.'+_0x39d5d1+'('+_0x198bc6(_0xd4510)+');';}}return _0xe9cdf1(0x2fb)+_0x2b0151+'.'+_0x39d5d1+'('+_0x198bc6(_0x394166)+');'+_0x3be9bf;}const _0x4ed203=JSON[_0xe9cdf1(0x32b)](_0x177020,null,0x2)[_0xe9cdf1(0x3c0)]('\x0a')['map']((_0xdd572c,_0x479073)=>_0x479073===0x0?_0xdd572c:indent+_0xdd572c)[_0xe9cdf1(0x37d)]('\x0a');return _0xe9cdf1(0x208)+_0x2b0151+'.'+_0x39d5d1+'('+_0x4ed203+');';}[a0_0x4fb166(0x313)](_0x2da363){const _0x4ef551=a0_0x4fb166,_0xf5be9e=_0x2da363[_0x4ef551(0x35b)](),_0x587a90=[];if([_0x4ef551(0x27c),_0x4ef551(0x36d),_0x4ef551(0x209),_0x4ef551(0x26c)][_0x4ef551(0x2fc)](_0xf5be9e))_0x587a90[_0x4ef551(0x29d)](_0x4ef551(0x344),_0x4ef551(0x2d5),_0x4ef551(0x2b1),_0x4ef551(0x394),_0x4ef551(0x325),_0x4ef551(0x333),_0x4ef551(0x3b5));else{if(['STRING','TEXT',_0x4ef551(0x254)][_0x4ef551(0x2fc)](_0xf5be9e))_0x587a90[_0x4ef551(0x29d)](_0x4ef551(0x344),_0x4ef551(0x2d5),_0x4ef551(0x3b5),_0x4ef551(0x3ca),_0x4ef551(0x28e),_0x4ef551(0x29b));else{if([_0x4ef551(0x214),'DATETIME',_0x4ef551(0x2f1)][_0x4ef551(0x2fc)](_0xf5be9e))_0x587a90[_0x4ef551(0x29d)](_0x4ef551(0x344),'$ne',_0x4ef551(0x2b1),_0x4ef551(0x394),_0x4ef551(0x325),_0x4ef551(0x333));else[_0x4ef551(0x360),_0x4ef551(0x369)]['includes'](_0xf5be9e)?_0x587a90[_0x4ef551(0x29d)](_0x4ef551(0x344),_0x4ef551(0x2d5)):_0x587a90[_0x4ef551(0x29d)](_0x4ef551(0x344),_0x4ef551(0x2d5));}}return _0x587a90;}[a0_0x4fb166(0x36b)](_0x11da61,_0x23d2e8){const _0x25a0f9=a0_0x4fb166,_0x10f667=_0x11da61[_0x25a0f9(0x35b)]();if([_0x25a0f9(0x27c),_0x25a0f9(0x36d),_0x25a0f9(0x209),_0x25a0f9(0x26c)][_0x25a0f9(0x2fc)](_0x10f667))return _0x23d2e8[_0x25a0f9(0x2fc)](_0x25a0f9(0x2b1))?_0x25a0f9(0x2b1):'$eq';if(['STRING',_0x25a0f9(0x32e),_0x25a0f9(0x254)][_0x25a0f9(0x2fc)](_0x10f667))return _0x23d2e8[_0x25a0f9(0x2fc)]('$contain')?_0x25a0f9(0x3ca):_0x25a0f9(0x344);if([_0x25a0f9(0x214),_0x25a0f9(0x1ef),_0x25a0f9(0x2f1)][_0x25a0f9(0x2fc)](_0x10f667))return _0x23d2e8[_0x25a0f9(0x2fc)](_0x25a0f9(0x2b1))?_0x25a0f9(0x2b1):'$eq';return'$eq';}['generateExampleValue'](_0x25082b,_0x1ce77c){const _0x5826ce=a0_0x4fb166,_0x2ce9fb=String(_0x25082b[_0x5826ce(0x358)]||'')[_0x5826ce(0x35b)]();if(_0x25082b[_0x5826ce(0x30e)])try{const _0x1ded08=typeof _0x25082b['extend']==='string'?JSON[_0x5826ce(0x2ae)](_0x25082b['extend']):_0x25082b[_0x5826ce(0x30e)];if(_0x1ded08[_0x5826ce(0x36c)]&&Array[_0x5826ce(0x280)](_0x1ded08['options'])&&_0x1ded08['options'][_0x5826ce(0x398)]>0x0){if(_0x1ce77c===_0x5826ce(0x3b5))return _0x1ded08['options'][_0x5826ce(0x330)](0x0,0x2)['map'](_0x534494=>_0x534494[_0x5826ce(0x227)]);return _0x1ded08['options'][0x0][_0x5826ce(0x227)];}}catch{}if([_0x5826ce(0x27c),'INTEGER','BIGINT',_0x5826ce(0x26c)][_0x5826ce(0x2fc)](_0x2ce9fb)){if(_0x1ce77c==='$in')return[0x1,0x2,0x3];if(_0x1ce77c==='$gte'||_0x1ce77c==='$gteq')return 0x0;if(_0x1ce77c===_0x5826ce(0x394)||_0x1ce77c===_0x5826ce(0x333))return 0x64;return 0x1;}if([_0x5826ce(0x23b),_0x5826ce(0x32e),_0x5826ce(0x254)]['includes'](_0x2ce9fb)){if(_0x1ce77c==='$in')return[_0x5826ce(0x277),_0x5826ce(0x256)];if(_0x1ce77c===_0x5826ce(0x3ca))return _0x5826ce(0x353);if(_0x1ce77c===_0x5826ce(0x28e))return _0x5826ce(0x2e4);if(_0x1ce77c==='$endWith')return _0x5826ce(0x1f5);return'value';}if([_0x5826ce(0x214),_0x5826ce(0x1ef),_0x5826ce(0x2f1)][_0x5826ce(0x2fc)](_0x2ce9fb)){if(_0x1ce77c===_0x5826ce(0x2b1)||_0x1ce77c===_0x5826ce(0x325))return _0x5826ce(0x371);if(_0x1ce77c===_0x5826ce(0x394)||_0x1ce77c===_0x5826ce(0x333))return _0x5826ce(0x25f);return _0x5826ce(0x371);}if([_0x5826ce(0x360),'BOOL'][_0x5826ce(0x2fc)](_0x2ce9fb))return!![];return _0x1ce77c==='$in'?[_0x5826ce(0x277),_0x5826ce(0x256)]:'value';}}class ExcelExportOperation extends GenericOperation{[a0_0x4fb166(0x244)](){const _0x18528c=a0_0x4fb166,_0x2e4c17=super[_0x18528c(0x244)]();if(Object['keys'](_0x2e4c17)[_0x18528c(0x398)]===0x0){const _0x10c637={};return this['context'][_0x18528c(0x2e9)][_0x18528c(0x3a3)](_0xc4473b=>{const _0x497d53=_0x18528c;_0xc4473b&&_0xc4473b[_0x497d53(0x310)]&&(_0x10c637[_0xc4473b[_0x497d53(0x310)]]={'type':_0xc4473b[_0x497d53(0x358)]||'TEXT','sortNum':_0xc4473b[_0x497d53(0x249)],'description':_0xc4473b['description']||_0xc4473b[_0x497d53(0x272)]});}),_0x10c637[_0x18528c(0x352)]={'type':'Integer','description':'当前页码(可选)'},_0x10c637[_0x18528c(0x3a5)]={'type':'Integer','description':_0x18528c(0x36f)},_0x10c637;}return _0x2e4c17;}[a0_0x4fb166(0x30d)](){const _0x4cd23a=a0_0x4fb166,_0x205716=super['generateRequestExample']();if(Object[_0x4cd23a(0x3cb)](_0x205716)[_0x4cd23a(0x398)]===0x0)return{'currentPage':0x1,'pageSize':0x64};return{..._0x205716,'currentPage':_0x205716[_0x4cd23a(0x352)]??0x1,'pageSize':_0x205716[_0x4cd23a(0x3a5)]??0x64};}[a0_0x4fb166(0x2af)](){return{'success':!![],'msg':'','errorMsg':'','errorCode':'0000','data':'https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','params':null};}[a0_0x4fb166(0x205)](_0x5a7324,_0x25803d){const _0x16d82c=a0_0x4fb166,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x25803d||{},_0x74529f=this[_0x16d82c(0x20c)]();if(useFullExample){const _0xf791e=this[_0x16d82c(0x30d)](),{currentPage:_0x2271df,pageSize:_0x51b790,..._0x20567a}=_0xf791e,_0x50cccf=Object['keys'](_0x20567a)[_0x16d82c(0x398)]>0x0;if(_0x50cccf){const _0x4c99fb=_0x5be672=>{const _0xc37f93=_0x16d82c;return JSON['stringify'](_0x5be672,null,0x2)[_0xc37f93(0x3c0)]('\x0a')[_0xc37f93(0x2ca)]((_0x5637f3,_0x55e700)=>_0x55e700===0x0?_0x5637f3:indent+_0x5637f3)[_0xc37f93(0x37d)]('\x0a');};return _0x16d82c(0x35f)+_0x5a7324+'.'+_0x74529f+'();\x0a\x0a//\x20按条件导出(支持与\x20getList\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5a7324+'.'+_0x74529f+'('+_0x4c99fb(_0xf791e)+');';}else{const _0x35e4fe=_0x406e2f=>{const _0x4107d3=_0x16d82c;return JSON[_0x4107d3(0x32b)](_0x406e2f,null,0x2)[_0x4107d3(0x3c0)]('\x0a')['map']((_0x56749c,_0x5f5833)=>_0x5f5833===0x0?_0x56749c:indent+_0x56749c)[_0x4107d3(0x37d)]('\x0a');};return _0x16d82c(0x35f)+_0x5a7324+'.'+_0x74529f+'();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5a7324+'.'+_0x74529f+'('+_0x35e4fe({'currentPage':0x1,'pageSize':0x64})+');';}}return _0x16d82c(0x37e)+_0x5a7324+'.'+_0x74529f+_0x16d82c(0x397);}[a0_0x4fb166(0x357)](_0x2f5117){const _0x26b8d5=a0_0x4fb166,_0x551aa6=this[_0x26b8d5(0x20c)](),_0x57b1fa=_0x26b8d5(0x21e)+_0x2f5117+'.'+_0x551aa6+_0x26b8d5(0x21b),_0x40912f='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x2f5117+'.'+_0x551aa6+'();\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}';return{'successCode':_0x57b1fa,'errorCode':_0x40912f};}}class OperationFactory{[a0_0x4fb166(0x2ba)](_0x5e8b3f,_0x5f2b1c,_0x3e4360){const _0x3b2e22=a0_0x4fb166;switch(_0x5e8b3f){case _0x3b2e22(0x393):return new GetSelectOptionsOperation(_0x5e8b3f,_0x5f2b1c,_0x3e4360);case'getList':return new GetListOperation(_0x5e8b3f,_0x5f2b1c,_0x3e4360);case _0x3b2e22(0x1fa):return new FilterOperation(_0x5e8b3f,_0x5f2b1c,_0x3e4360);case _0x3b2e22(0x3ab):return new ExcelExportOperation(_0x5e8b3f,_0x5f2b1c,_0x3e4360);default:return new GenericOperation(_0x5e8b3f,_0x5f2b1c,_0x3e4360);}}[a0_0x4fb166(0x271)](_0x11fa5a,_0x1d8494){const _0x19efc8=new Map();return Object['entries'](_0x11fa5a)['forEach'](([_0x462ffd,_0x18b622])=>{const _0x50a30e=a0_0xfeb9;_0x19efc8[_0x50a30e(0x2c1)](_0x462ffd,this[_0x50a30e(0x2ba)](_0x462ffd,_0x18b622,_0x1d8494));}),_0x19efc8;}}class OperationList{[a0_0x4fb166(0x3b4)];constructor(_0x5e3adb,_0x3b41ac){const _0x297153=a0_0x4fb166,_0x297533=new OperationFactory();this[_0x297153(0x3b4)]=_0x297533['createAll'](_0x5e3adb,_0x3b41ac);}['get'](_0x2735c4){return this['_operations']['get'](_0x2735c4);}[a0_0x4fb166(0x217)](_0x5604dd){const _0x2c9aa1=a0_0x4fb166;return this[_0x2c9aa1(0x3b4)][_0x2c9aa1(0x217)](_0x5604dd);}[a0_0x4fb166(0x22c)](){const _0x149b21=a0_0x4fb166;return this[_0x149b21(0x3b4)][_0x149b21(0x22c)];}[a0_0x4fb166(0x362)](){const _0x4d7d7c=a0_0x4fb166;return Array[_0x4d7d7c(0x259)](this[_0x4d7d7c(0x3b4)][_0x4d7d7c(0x3cb)]());}[a0_0x4fb166(0x317)](){const _0x213dea=a0_0x4fb166,_0x4dfab2=Array[_0x213dea(0x259)](this[_0x213dea(0x3b4)][_0x213dea(0x3b1)]());return this['sortOperationsWithFilterFirst'](_0x4dfab2);}[a0_0x4fb166(0x1f8)](){const _0x5820b8=a0_0x4fb166;return this[_0x5820b8(0x317)]()[_0x5820b8(0x1fa)](_0x5b4f94=>_0x5b4f94[_0x5820b8(0x221)]());}[a0_0x4fb166(0x295)](){const _0x1c456f=a0_0x4fb166;return this['toArray']()[_0x1c456f(0x1fa)](_0x5c329c=>!_0x5c329c[_0x1c456f(0x221)]());}[a0_0x4fb166(0x2cf)](){const _0x268bad=a0_0x4fb166;return this[_0x268bad(0x1f8)]()['map'](_0x55d143=>_0x55d143[_0x268bad(0x20c)]());}[a0_0x4fb166(0x1f6)](){const _0x39109d=a0_0x4fb166;return this[_0x39109d(0x295)]()[_0x39109d(0x2ca)](_0x4e6037=>_0x4e6037['getName']());}[a0_0x4fb166(0x3c2)](_0x43ecf6){const _0x53b91f=a0_0x4fb166;return this['toArray']()[_0x53b91f(0x1fa)](_0x4f5940=>_0x4f5940[_0x53b91f(0x2fd)]()===_0x43ecf6);}[a0_0x4fb166(0x1fa)](_0x86e5ff){const _0x3cdd13=a0_0x4fb166;return this[_0x3cdd13(0x317)]()['filter'](_0x86e5ff);}[a0_0x4fb166(0x399)](_0x58ba04={}){const _0x2e7e0a=a0_0x4fb166;let _0x2e0b33=this[_0x2e7e0a(0x317)]();!_0x58ba04[_0x2e7e0a(0x391)]&&(_0x2e0b33=_0x2e0b33[_0x2e7e0a(0x1fa)](_0xa85808=>_0xa85808[_0x2e7e0a(0x221)]()));if(_0x58ba04[_0x2e7e0a(0x226)]!==![]){const _0x3f5a07=_0x2e0b33[_0x2e7e0a(0x2ca)](_0xa0a762=>({'name':_0xa0a762['getName'](),'operation':_0xa0a762})),_0x4b1048=filterApiOperations(_0x3f5a07);_0x2e0b33=_0x4b1048[_0x2e7e0a(0x2ca)](_0x42c42e=>_0x42c42e['operation']),_0x2e0b33=this[_0x2e7e0a(0x37a)](_0x2e0b33);}return _0x58ba04['customFilter']&&(_0x2e0b33=_0x2e0b33[_0x2e7e0a(0x1fa)](_0x58ba04[_0x2e7e0a(0x39d)])),_0x2e0b33;}[a0_0x4fb166(0x37a)](_0x27abe3){const _0x3ea7f9=a0_0x4fb166,_0x44da08=_0x27abe3[_0x3ea7f9(0x2ad)](_0x524ed4=>_0x524ed4[_0x3ea7f9(0x20c)]()==='filter'),_0x1d073e=_0x27abe3['filter'](_0x3858a0=>_0x3858a0[_0x3ea7f9(0x20c)]()!=='filter');return _0x44da08?[_0x44da08,..._0x1d073e]:_0x1d073e;}['getStats'](){const _0x18f64a=a0_0x4fb166,_0x3d765e=this[_0x18f64a(0x1f8)]();return{'total':this['size'](),'enabled':_0x3d765e[_0x18f64a(0x398)],'disabled':this[_0x18f64a(0x22c)]()-_0x3d765e[_0x18f64a(0x398)],'byType':this[_0x18f64a(0x2f3)](_0x3d765e),'byMethod':this[_0x18f64a(0x396)](_0x3d765e)};}[a0_0x4fb166(0x2f3)](_0xcb18c3){const _0x5602b1={};return _0xcb18c3['forEach'](_0x25b9e9=>{const _0x5b9f0c=a0_0xfeb9,_0x1264e2=_0x25b9e9[_0x5b9f0c(0x2fd)]();_0x1264e2&&(_0x5602b1[_0x1264e2]=(_0x5602b1[_0x1264e2]||0x0)+0x1);}),_0x5602b1;}['getCountByMethod'](_0x20c73b){const _0x3f9d01={};return _0x20c73b['forEach'](_0x4ed345=>{const _0x3dbfcc=a0_0xfeb9,_0x23247c=_0x4ed345[_0x3dbfcc(0x3cd)]();_0x23247c&&(_0x3f9d01[_0x23247c]=(_0x3f9d01[_0x23247c]||0x0)+0x1);}),_0x3f9d01;}[Symbol[a0_0x4fb166(0x2c8)]](){const _0x5e1bfd=a0_0x4fb166;return this[_0x5e1bfd(0x3b4)][_0x5e1bfd(0x3b1)]();}[a0_0x4fb166(0x350)](){const _0x407955=a0_0x4fb166,_0x43f389=this[_0x407955(0x36a)]();return _0x407955(0x35c)+_0x43f389[_0x407955(0x380)]+'/'+_0x43f389[_0x407955(0x239)]+_0x407955(0x293);}}class Field{[a0_0x4fb166(0x268)];[a0_0x4fb166(0x2db)]=null;constructor(_0x413481){const _0x592a4b=a0_0x4fb166;if(!_0x413481||typeof _0x413481!==_0x592a4b(0x2bc))throw new Error(_0x592a4b(0x34b));this['_raw']=_0x413481;}get[a0_0x4fb166(0x2c4)](){return this['_raw'];}[a0_0x4fb166(0x206)](){const _0x2d489e=a0_0x4fb166;return this[_0x2d489e(0x268)];}get[a0_0x4fb166(0x272)](){const _0x118f12=a0_0x4fb166;return this[_0x118f12(0x268)][_0x118f12(0x272)]||'';}get[a0_0x4fb166(0x310)](){const _0x5229fb=a0_0x4fb166;return this[_0x5229fb(0x268)][_0x5229fb(0x310)]||'';}get[a0_0x4fb166(0x358)](){const _0xefadf0=a0_0x4fb166;return this[_0xefadf0(0x268)][_0xefadf0(0x358)]||'';}get[a0_0x4fb166(0x20f)](){const _0x3860bd=a0_0x4fb166;return this[_0x3860bd(0x268)][_0x3860bd(0x20f)]||'';}get[a0_0x4fb166(0x1fc)](){return Boolean(this['_raw']['deleted']);}get[a0_0x4fb166(0x30e)](){const _0xf19746=a0_0x4fb166;if(this[_0xf19746(0x2db)]!==null&&typeof this[_0xf19746(0x2db)]===_0xf19746(0x2bc))return this[_0xf19746(0x2db)];const _0x58dc78=this['_raw'][_0xf19746(0x30e)];if(!_0x58dc78||typeof _0x58dc78!=='string')return this[_0xf19746(0x2db)]={},this['_extend'];if(_0x58dc78===_0xf19746(0x1f7)||_0x58dc78['trim']()===_0xf19746(0x1f7))return this[_0xf19746(0x2db)]={},this['_extend'];try{const _0x106e90=JSON[_0xf19746(0x2ae)](_0x58dc78);return this['_extend']=_0x106e90!==null&&typeof _0x106e90===_0xf19746(0x2bc)&&!Array[_0xf19746(0x280)](_0x106e90)?_0x106e90:{},this[_0xf19746(0x2db)];}catch(_0x494370){return!![]&&console[_0xf19746(0x248)]('[Field.extend]\x20解析字段\x20'+this[_0xf19746(0x310)]+_0xf19746(0x1d5),_0x494370),this[_0xf19746(0x2db)]={},this['_extend'];}}[a0_0x4fb166(0x301)](){const _0x37d474=a0_0x4fb166;return Boolean(this[_0x37d474(0x30e)][_0x37d474(0x2ff)]);}[a0_0x4fb166(0x262)](){const _0x3265d6=a0_0x4fb166;return Boolean(this['extend'][_0x3265d6(0x1e3)]);}[a0_0x4fb166(0x263)](){const _0x242539=a0_0x4fb166;return Boolean(this['extend'][_0x242539(0x28b)]);}[a0_0x4fb166(0x38d)](){const _0x34690d=a0_0x4fb166;return!this[_0x34690d(0x263)]();}[a0_0x4fb166(0x24b)](){const _0x5db6a4=a0_0x4fb166;return this[_0x5db6a4(0x1fc)];}[a0_0x4fb166(0x3a1)](){const _0x1f6efd=a0_0x4fb166;return Boolean(this[_0x1f6efd(0x30e)][_0x1f6efd(0x1fd)]);}['isCreateTime'](){return Boolean(this['extend']['createTime']);}[a0_0x4fb166(0x355)](){const _0x21c0d4=a0_0x4fb166;return Boolean(this[_0x21c0d4(0x30e)][_0x21c0d4(0x3c6)]);}[a0_0x4fb166(0x334)](){const _0x127cf3=a0_0x4fb166,_0x16dfea=[_0x127cf3(0x309),_0x127cf3(0x385),_0x127cf3(0x276)];return _0x16dfea[_0x127cf3(0x2fc)](this[_0x127cf3(0x358)]);}[a0_0x4fb166(0x2c5)](){const _0x2e874c=a0_0x4fb166;return this[_0x2e874c(0x358)]===_0x2e874c(0x276);}[a0_0x4fb166(0x282)](){const _0x3e8896=a0_0x4fb166,_0x131884=this['extend'];if(_0x131884['options']&&Array['isArray'](_0x131884[_0x3e8896(0x36c)]))return _0x131884['options'];return;}['getSelectItemsSource'](){const _0x29d9f2=a0_0x4fb166,_0x228f1b=this[_0x29d9f2(0x30e)];if(_0x228f1b[_0x29d9f2(0x20a)]&&typeof _0x228f1b['selectItemsSource']===_0x29d9f2(0x2bc))return _0x228f1b['selectItemsSource'];return;}[a0_0x4fb166(0x377)](){const _0x1589f1=a0_0x4fb166;if(!this['isEnum']())return;const _0x176ade=this['getEnumOptions'](),_0x498815=this[_0x1589f1(0x24c)](),_0xa38a96=[],_0x1f486e={},_0x5bd1d4=_0x2e5c6c=>{const _0x4b921d=_0x1589f1;_0x2e5c6c[_0x4b921d(0x3a3)](_0x3394fd=>{const _0x3a3276=_0x4b921d;_0xa38a96[_0x3a3276(0x29d)](_0x3394fd[_0x3a3276(0x227)]),_0x1f486e[String(_0x3394fd[_0x3a3276(0x227)])]=_0x3394fd[_0x3a3276(0x26f)],_0x3394fd[_0x3a3276(0x2c2)]&&_0x3394fd[_0x3a3276(0x2c2)]['length']>0x0&&_0x5bd1d4(_0x3394fd[_0x3a3276(0x2c2)]);});};return _0x176ade&&_0x176ade[_0x1589f1(0x398)]>0x0&&_0x5bd1d4(_0x176ade),{'code':this[_0x1589f1(0x310)],'name':this[_0x1589f1(0x272)],'type':this[_0x1589f1(0x358)],'multiple':this[_0x1589f1(0x2c5)](),'options':_0x176ade,'selectItemsSource':_0x498815,'values':_0xa38a96,'valueLabels':_0x1f486e};}[a0_0x4fb166(0x3c5)](){const _0x4a0706=a0_0x4fb166;return this[_0x4a0706(0x30e)][_0x4a0706(0x22f)];}[a0_0x4fb166(0x30b)](){const _0x5852ef=a0_0x4fb166;return this[_0x5852ef(0x30e)]['tooltip'];}[a0_0x4fb166(0x28f)](){const _0x512299=a0_0x4fb166;return{'name':this[_0x512299(0x272)],'code':this['code'],'type':this['type'],'description':this[_0x512299(0x20f)],'required':this[_0x512299(0x301)](),'primaryKey':this[_0x512299(0x262)](),'system':this[_0x512299(0x263)](),'autoIncrement':this[_0x512299(0x3a1)](),'createTime':this[_0x512299(0x3a8)](),'updateTime':this[_0x512299(0x355)](),'isEnum':this[_0x512299(0x334)](),'enumMeta':this[_0x512299(0x334)]()?this[_0x512299(0x377)]():undefined};}}class FieldList{[a0_0x4fb166(0x294)];constructor(_0x58e67d,_0x35a727){const _0x2b4418=a0_0x4fb166;if(!Array[_0x2b4418(0x280)](_0x58e67d))throw new Error('[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array');const _0x2b5c6b=_0x35a727?.[_0x2b4418(0x21a)]??![],_0x311cdf=_0x2b5c6b?_0x58e67d:_0x58e67d[_0x2b4418(0x1fa)](_0x30b54c=>!_0x30b54c[_0x2b4418(0x1fc)]);this['_fields']=_0x311cdf['map'](_0x4a39c0=>new Field(_0x4a39c0));}get[a0_0x4fb166(0x398)](){const _0x595b20=a0_0x4fb166;return this[_0x595b20(0x294)][_0x595b20(0x398)];}[a0_0x4fb166(0x1df)](){const _0x4e8622=a0_0x4fb166;return[...this[_0x4e8622(0x294)]];}[a0_0x4fb166(0x2c4)](){const _0x3bd8d4=a0_0x4fb166;return this[_0x3bd8d4(0x294)][_0x3bd8d4(0x2ca)](_0x382e54=>_0x382e54[_0x3bd8d4(0x2c4)]);}['at'](_0x5bcbf0){const _0xac68b4=a0_0x4fb166;return this[_0xac68b4(0x294)]['at'](_0x5bcbf0);}['find'](_0x2fe1ac){const _0x123147=a0_0x4fb166;return this[_0x123147(0x294)][_0x123147(0x2ad)](_0x3a7989=>_0x3a7989[_0x123147(0x310)]===_0x2fe1ac);}['findByName'](_0x3aefe5){const _0x390f25=a0_0x4fb166;return this[_0x390f25(0x294)]['find'](_0x32a4a9=>_0x32a4a9['name']===_0x3aefe5);}['has'](_0x357446){const _0x23456e=a0_0x4fb166;return this[_0x23456e(0x294)][_0x23456e(0x1e4)](_0x36c86e=>_0x36c86e[_0x23456e(0x310)]===_0x357446);}['forEach'](_0x5e0c41){const _0x286811=a0_0x4fb166;this['_fields'][_0x286811(0x3a3)](_0x5e0c41);}[a0_0x4fb166(0x2ca)](_0x43c048){const _0xe9605=a0_0x4fb166;return this[_0xe9605(0x294)][_0xe9605(0x2ca)](_0x43c048);}['filter'](_0x5d233b){const _0xd096ae=a0_0x4fb166;return this[_0xd096ae(0x294)][_0xd096ae(0x1fa)](_0x5d233b);}[a0_0x4fb166(0x1e1)](_0x36387c){const _0x18a0cd=a0_0x4fb166;return this[_0x18a0cd(0x294)][_0x18a0cd(0x1e1)](_0x36387c);}[a0_0x4fb166(0x1e4)](_0x171191){const _0x268b79=a0_0x4fb166;return this[_0x268b79(0x294)]['some'](_0x171191);}['getRequired'](){const _0x213aed=a0_0x4fb166;return this['_fields'][_0x213aed(0x1fa)](_0x3cccff=>_0x3cccff[_0x213aed(0x301)]());}['getPrimaryKeys'](){const _0x51564d=a0_0x4fb166;return this[_0x51564d(0x294)][_0x51564d(0x1fa)](_0x5cd313=>_0x5cd313[_0x51564d(0x262)]());}['getSystem'](){const _0x3ac053=a0_0x4fb166;return this[_0x3ac053(0x294)]['filter'](_0x3f8644=>_0x3f8644['isSystem']());}['getBusiness'](){const _0x14b5e4=a0_0x4fb166;return this[_0x14b5e4(0x294)]['filter'](_0x19d0fd=>_0x19d0fd['isBusiness']());}[a0_0x4fb166(0x29e)](){const _0x3d39b1=a0_0x4fb166;return this[_0x3d39b1(0x294)]['filter'](_0x47c6d4=>_0x47c6d4[_0x3d39b1(0x334)]());}[a0_0x4fb166(0x2f0)](){const _0x4176a4=a0_0x4fb166;return this[_0x4176a4(0x294)]['filter'](_0x6bcda=>_0x6bcda[_0x4176a4(0x3a1)]());}['getCreateTime'](){const _0xf55707=a0_0x4fb166;return this[_0xf55707(0x294)][_0xf55707(0x1fa)](_0x1f7d1e=>_0x1f7d1e['isCreateTime']());}[a0_0x4fb166(0x23d)](){const _0xd1ec79=a0_0x4fb166;return this[_0xd1ec79(0x294)]['filter'](_0x4ad4e9=>_0x4ad4e9[_0xd1ec79(0x355)]());}['getDeleted'](){const _0x1bfd9f=a0_0x4fb166;return this['_fields'][_0x1bfd9f(0x1fa)](_0x513bfd=>_0x513bfd[_0x1bfd9f(0x24b)]());}['getActive'](){const _0x2b58b0=a0_0x4fb166;return this[_0x2b58b0(0x294)][_0x2b58b0(0x1fa)](_0x176a95=>!_0x176a95[_0x2b58b0(0x24b)]());}[a0_0x4fb166(0x331)](){const _0x1f8d23=a0_0x4fb166,_0xa8b0a4={};return this['_fields'][_0x1f8d23(0x3a3)](_0x552efe=>{const _0x131d09=_0x1f8d23,_0x17eb9f=_0x552efe['type'];!_0xa8b0a4[_0x17eb9f]&&(_0xa8b0a4[_0x17eb9f]=[]),_0xa8b0a4[_0x17eb9f][_0x131d09(0x29d)](_0x552efe);}),_0xa8b0a4;}['getEnumMetas'](){const _0x502c97=a0_0x4fb166,_0x21683e={};return this[_0x502c97(0x294)][_0x502c97(0x3a3)](_0x24260d=>{const _0x3c4c0a=_0x502c97;if(_0x24260d[_0x3c4c0a(0x334)]()){const _0x4eb29d=_0x24260d[_0x3c4c0a(0x377)]();_0x4eb29d&&(_0x21683e[_0x24260d['code']]=_0x4eb29d);}}),_0x21683e;}[a0_0x4fb166(0x36a)](){const _0x5b614b=a0_0x4fb166;return{'total':this[_0x5b614b(0x398)],'required':this[_0x5b614b(0x203)]()[_0x5b614b(0x398)],'primaryKey':this['getPrimaryKeys']()[_0x5b614b(0x398)],'system':this[_0x5b614b(0x33d)]()[_0x5b614b(0x398)],'business':this[_0x5b614b(0x388)]()[_0x5b614b(0x398)],'enum':this[_0x5b614b(0x29e)]()[_0x5b614b(0x398)],'autoIncrement':this['getAutoIncrement']()[_0x5b614b(0x398)]};}['toJSON'](){const _0x221f75=a0_0x4fb166;return this['_fields'][_0x221f75(0x2ca)](_0x40640d=>_0x40640d[_0x221f75(0x28f)]());}[a0_0x4fb166(0x39e)](){const _0x511cb3=a0_0x4fb166;return this[_0x511cb3(0x294)]['map'](_0x328ae4=>_0x328ae4['code']);}['getNames'](){const _0x4a3ab8=a0_0x4fb166;return this[_0x4a3ab8(0x294)][_0x4a3ab8(0x2ca)](_0x4b761f=>_0x4b761f[_0x4a3ab8(0x272)]);}static[a0_0x4fb166(0x259)](_0x2e5f43){const _0x2ebf66=a0_0x4fb166,_0x4a26ed=_0x2e5f43[_0x2ebf66(0x2ca)](_0x3ba9cf=>_0x3ba9cf[_0x2ebf66(0x2c4)]);return new FieldList(_0x4a26ed);}static[a0_0x4fb166(0x327)](_0xd6170e){return new FieldList(_0xd6170e,{'includeDeleted':!![]});}}class DrivenDataDetail extends DatasetItem{[a0_0x4fb166(0x26b)];[a0_0x4fb166(0x2f4)];['_fieldListWithDeleted'];constructor(_0x33f9b2){const _0x41e9c3=a0_0x4fb166;super({..._0x33f9b2,'id':_0x33f9b2[_0x41e9c3(0x242)],'datasetCode':_0x33f9b2[_0x41e9c3(0x290)]});}get[a0_0x4fb166(0x245)](){const _0x297b08=a0_0x4fb166;return this[_0x297b08(0x268)][_0x297b08(0x245)];}['getSource'](){const _0x9a2fe=a0_0x4fb166;return this[_0x9a2fe(0x245)];}get[a0_0x4fb166(0x392)](){return this['_raw']['version'];}[a0_0x4fb166(0x2d9)](){const _0x33d389=a0_0x4fb166;return!this[_0x33d389(0x2f4)]&&(this[_0x33d389(0x2f4)]=new FieldList(this[_0x33d389(0x268)][_0x33d389(0x2b6)]||[])),this[_0x33d389(0x2f4)];}[a0_0x4fb166(0x283)](){const _0x2ec07b=a0_0x4fb166;return!this[_0x2ec07b(0x340)]&&(this[_0x2ec07b(0x340)]=FieldList[_0x2ec07b(0x327)](this['_raw'][_0x2ec07b(0x2b6)]||[])),this[_0x2ec07b(0x340)];}[a0_0x4fb166(0x22e)](){const _0xc1c824=a0_0x4fb166;return this[_0xc1c824(0x2d9)]()[_0xc1c824(0x2c4)]();}[a0_0x4fb166(0x26a)](){const _0x30f15b=a0_0x4fb166;return this[_0x30f15b(0x268)][_0x30f15b(0x2b6)]||[];}[a0_0x4fb166(0x2cb)](){const _0x57abd5=a0_0x4fb166;return this['getFieldList']()[_0x57abd5(0x398)];}[a0_0x4fb166(0x2a2)](_0xf1c33a){const _0x30a972=a0_0x4fb166,_0xc1aee3=this[_0x30a972(0x379)](_0xf1c33a);return _0xc1aee3?_0xc1aee3[_0x30a972(0x2c4)]:undefined;}[a0_0x4fb166(0x25a)](_0x416de7){const _0x22f948=a0_0x4fb166;return this[_0x22f948(0x2d9)]()[_0x22f948(0x2ad)](_0x416de7)?.['raw']||undefined;}[a0_0x4fb166(0x379)](_0x54c5af){const _0x3b4504=a0_0x4fb166;if(typeof _0x54c5af!==_0x3b4504(0x233)){!![]&&console[_0x3b4504(0x248)](_0x3b4504(0x2d1),_0x54c5af);return;}return this[_0x3b4504(0x2d9)]()[_0x3b4504(0x2ad)](_0x54c5af);}[a0_0x4fb166(0x2df)](_0x4df412){const _0x419082=a0_0x4fb166;return this[_0x419082(0x2d9)]()['has'](_0x4df412);}[a0_0x4fb166(0x253)](_0xcd3d54){const _0x5bc03d=a0_0x4fb166;if(!_0xcd3d54||typeof _0xcd3d54!==_0x5bc03d(0x2bc))return!![]&&console[_0x5bc03d(0x248)](_0x5bc03d(0x258),_0xcd3d54),{};if(!_0xcd3d54['extend'])return{};try{const _0x3a16f4=typeof _0xcd3d54['extend']===_0x5bc03d(0x233)?JSON['parse'](_0xcd3d54[_0x5bc03d(0x30e)]):_0xcd3d54[_0x5bc03d(0x30e)];if(typeof _0x3a16f4!==_0x5bc03d(0x2bc)||_0x3a16f4===null)return{};return _0x3a16f4;}catch(_0x2ee725){return{};}}['isPrimaryKeyField'](_0x34f54d){const _0x1b0d3c=a0_0x4fb166;if(!_0x34f54d||typeof _0x34f54d!==_0x1b0d3c(0x2bc))return![];const _0x38f600=this[_0x1b0d3c(0x2d9)]()[_0x1b0d3c(0x2ad)](_0x34f54d[_0x1b0d3c(0x310)]);return _0x38f600?_0x38f600[_0x1b0d3c(0x262)]():![];}[a0_0x4fb166(0x1d6)](_0x583876){const _0x39ab03=a0_0x4fb166;if(!_0x583876||typeof _0x583876!==_0x39ab03(0x2bc))return![];const _0x48cb9e=this[_0x39ab03(0x2d9)]()['find'](_0x583876[_0x39ab03(0x310)]);return _0x48cb9e?_0x48cb9e[_0x39ab03(0x263)]():![];}['isRequiredField'](_0x1bdc7e){const _0x39f76d=a0_0x4fb166;if(!_0x1bdc7e||typeof _0x1bdc7e!==_0x39f76d(0x2bc))return![];const _0x53eb4e=this[_0x39f76d(0x2d9)]()[_0x39f76d(0x2ad)](_0x1bdc7e[_0x39f76d(0x310)]);return _0x53eb4e?_0x53eb4e[_0x39f76d(0x301)]():![];}[a0_0x4fb166(0x2c3)](){const _0x3e2881=a0_0x4fb166;return this[_0x3e2881(0x2d9)]()[_0x3e2881(0x361)]()[_0x3e2881(0x2ca)](_0x405566=>_0x405566[_0x3e2881(0x2c4)]);}[a0_0x4fb166(0x34d)](){const _0x540990=a0_0x4fb166;return this[_0x540990(0x2d9)]()[_0x540990(0x33d)]()[_0x540990(0x2ca)](_0x128a7b=>_0x128a7b[_0x540990(0x2c4)]);}[a0_0x4fb166(0x390)](){const _0x550f9d=a0_0x4fb166;return this['getFieldList']()[_0x550f9d(0x388)]()[_0x550f9d(0x2ca)](_0x2a852f=>_0x2a852f['raw']);}[a0_0x4fb166(0x306)](){const _0x950811=a0_0x4fb166;return this[_0x950811(0x2d9)]()['getRequired']()[_0x950811(0x2ca)](_0x29a5b8=>_0x29a5b8['raw']);}[a0_0x4fb166(0x25d)](){const _0x4d6552=a0_0x4fb166,_0x3021c1=this[_0x4d6552(0x2d9)]()[_0x4d6552(0x331)](),_0x1671ca={};for(const [_0x106703,_0x2eecb1]of Object['entries'](_0x3021c1)){_0x1671ca[_0x106703]=_0x2eecb1['map'](_0x271c0=>_0x271c0[_0x4d6552(0x2c4)]);}return _0x1671ca;}[a0_0x4fb166(0x39b)](_0x2791e9){const _0x1b2820=a0_0x4fb166;if(!_0x2791e9||typeof _0x2791e9!==_0x1b2820(0x2bc))return![];const _0x29e210=this['getFieldList']()[_0x1b2820(0x2ad)](_0x2791e9[_0x1b2820(0x310)]);return _0x29e210?_0x29e210['isEnum']():![];}['isMultipleSelectField'](_0x4b7132){const _0x2d525b=a0_0x4fb166;if(!_0x4b7132||typeof _0x4b7132!==_0x2d525b(0x2bc))return![];const _0x2d1bbf=this[_0x2d525b(0x2d9)]()[_0x2d525b(0x2ad)](_0x4b7132[_0x2d525b(0x310)]);return _0x2d1bbf?_0x2d1bbf[_0x2d525b(0x2c5)]():![];}[a0_0x4fb166(0x3cc)](_0x14e9c9){const _0x750a55=a0_0x4fb166;if(!_0x14e9c9||typeof _0x14e9c9!==_0x750a55(0x2bc))return[];const _0x3336d4=this[_0x750a55(0x2d9)]()[_0x750a55(0x2ad)](_0x14e9c9['code']);if(!_0x3336d4||!_0x3336d4[_0x750a55(0x334)]())return[];return _0x3336d4['getEnumOptions']()||[];}['getFieldSelectItemsSource'](_0x3ca384){const _0x1713b0=a0_0x4fb166;if(!_0x3ca384||typeof _0x3ca384!==_0x1713b0(0x2bc))return;const _0x5980d9=this['getFieldList']()[_0x1713b0(0x2ad)](_0x3ca384[_0x1713b0(0x310)]);if(!_0x5980d9||!_0x5980d9[_0x1713b0(0x334)]())return;return _0x5980d9[_0x1713b0(0x24c)]();}[a0_0x4fb166(0x3b0)](_0x36d274){const _0x210914=a0_0x4fb166;if(!_0x36d274||typeof _0x36d274!=='object')return;const _0x2f5234=this[_0x210914(0x2d9)]()['find'](_0x36d274['code']);if(!_0x2f5234||!_0x2f5234[_0x210914(0x334)]())return;return _0x2f5234['getEnumMeta']();}['getEnumFields'](){const _0x258467=a0_0x4fb166;return this['getFieldList']()[_0x258467(0x29e)]()[_0x258467(0x2ca)](_0x4ba37d=>_0x4ba37d['raw']);}[a0_0x4fb166(0x266)](){const _0x4bfa6a=a0_0x4fb166,_0x33bbbd={};return this[_0x4bfa6a(0x2c6)]()[_0x4bfa6a(0x3a3)](_0x3ea9b7=>{const _0x2adf41=_0x4bfa6a,_0x3e6b7a=this['getEnumFieldMeta'](_0x3ea9b7);_0x3e6b7a&&(_0x33bbbd[_0x3ea9b7[_0x2adf41(0x310)]]=_0x3e6b7a);}),_0x33bbbd;}['validateEnumValue'](_0x5be63c,_0xae5228){const _0xbfceee=a0_0x4fb166,_0x507589=this['getEnumFieldMeta'](_0x5be63c);if(!_0x507589)return!![];if(_0x507589[_0xbfceee(0x20a)]&&!_0x507589['options'])return!![];if(_0x507589[_0xbfceee(0x267)]&&Array['isArray'](_0xae5228))return _0xae5228[_0xbfceee(0x1e1)](_0x1f9b68=>_0x507589[_0xbfceee(0x3b1)][_0xbfceee(0x2fc)](_0x1f9b68));return _0x507589[_0xbfceee(0x3b1)][_0xbfceee(0x2fc)](_0xae5228);}['getOperationList'](){const _0x1e3a85=a0_0x4fb166;if(!this[_0x1e3a85(0x26b)]){const _0x36885d=this['ensureFilterOperation'](this[_0x1e3a85(0x268)][_0x1e3a85(0x2ec)]||{});this[_0x1e3a85(0x26b)]=new OperationList(_0x36885d,{'fields':this['getFields'](),'pkField':this[_0x1e3a85(0x268)][_0x1e3a85(0x2fe)]?.[_0x1e3a85(0x20b)],'dbtableConfig':this[_0x1e3a85(0x268)][_0x1e3a85(0x2fe)]});}return this['_operationList'];}[a0_0x4fb166(0x365)](_0x569ed6){const _0x522890=a0_0x4fb166;if(_0x569ed6[_0x522890(0x1fa)]!==undefined)return _0x569ed6;return{..._0x569ed6,'filter':this['generateDefaultFilterOperation']()};}[a0_0x4fb166(0x241)](){const _0x26a9e2=a0_0x4fb166,_0x58bf29=this[_0x26a9e2(0x268)][_0x26a9e2(0x2ec)]?.[_0x26a9e2(0x318)];let _0x2c553b=_0x58bf29?.['host'],_0x1e34ee='';if(!_0x2c553b&&this['_raw']['operations']){const _0x3183ad=Object[_0x26a9e2(0x3b1)](this[_0x26a9e2(0x268)]['operations']);for(const _0x43b452 of _0x3183ad){if(_0x43b452&&typeof _0x43b452==='object'&&_0x26a9e2(0x34a)in _0x43b452){_0x2c553b=_0x43b452[_0x26a9e2(0x34a)];break;}}}if(_0x58bf29?.[_0x26a9e2(0x28d)]){const _0x294a1c=_0x58bf29[_0x26a9e2(0x28d)],_0x23d8dc=_0x294a1c[_0x26a9e2(0x23c)]('/');_0x23d8dc!==-0x1&&(_0x1e34ee=_0x294a1c[_0x26a9e2(0x297)](0x0,_0x23d8dc));}return{'name':'filter','type':'query','description':'Filter\x20API\x20-\x20高级查询接口','method':_0x26a9e2(0x39c),'host':_0x2c553b,'path':_0x1e34ee?_0x1e34ee+_0x26a9e2(0x33b):_0x26a9e2(0x33b),'params':_0x58bf29?.[_0x26a9e2(0x363)]||[{'name':_0x26a9e2(0x32a),'type':_0x26a9e2(0x2bc),'required':![]},{'name':_0x26a9e2(0x1de),'type':'array','required':![]},{'name':_0x26a9e2(0x2a5),'type':_0x26a9e2(0x292),'required':![]},{'name':_0x26a9e2(0x352),'type':_0x26a9e2(0x2b7),'required':![],'default':0x1},{'name':_0x26a9e2(0x3a5),'type':_0x26a9e2(0x2b7),'required':![],'default':0xa}],'_autoGenerated':!![]};}[a0_0x4fb166(0x3c8)](){const _0x52130b=a0_0x4fb166;return this['getOperationList']()[_0x52130b(0x317)]();}[a0_0x4fb166(0x2d7)](){const _0x599185=a0_0x4fb166;return this[_0x599185(0x202)]()[_0x599185(0x22c)]();}[a0_0x4fb166(0x1ec)](_0x4cf6bd){const _0x25a3ac=a0_0x4fb166;if(typeof _0x4cf6bd!==_0x25a3ac(0x233)){!![]&&console[_0x25a3ac(0x248)](_0x25a3ac(0x223),_0x4cf6bd);return;}return this[_0x25a3ac(0x202)]()['get'](_0x4cf6bd);}[a0_0x4fb166(0x1ed)](_0x13c6e9){const _0x30798d=a0_0x4fb166;if(typeof _0x13c6e9!=='string')return![];return this[_0x30798d(0x202)]()['has'](_0x13c6e9);}[a0_0x4fb166(0x269)](_0x11bd40){const _0x323541=a0_0x4fb166;if(typeof _0x11bd40!==_0x323541(0x233))return![];const _0x3f9fcd=this['getOperation'](_0x11bd40);return _0x3f9fcd?.['isEnabled']()||![];}['getEnabledOperations'](){const _0x4912c3=a0_0x4fb166;return this['getOperationList']()[_0x4912c3(0x2cf)]();}[a0_0x4fb166(0x22b)](){const _0x539293=a0_0x4fb166;return this[_0x539293(0x202)]()[_0x539293(0x1f6)]();}[a0_0x4fb166(0x384)](){const _0x299a35=a0_0x4fb166;return this[_0x299a35(0x202)]()[_0x299a35(0x1f8)]();}[a0_0x4fb166(0x386)](){const _0x49a42e=a0_0x4fb166;return this[_0x49a42e(0x202)]()[_0x49a42e(0x295)]();}[a0_0x4fb166(0x36a)](){const _0x3b9e3d=a0_0x4fb166;return{'fieldCount':this[_0x3b9e3d(0x2cb)](),'systemFieldCount':this['getSystemFields']()[_0x3b9e3d(0x398)],'businessFieldCount':this[_0x3b9e3d(0x390)]()[_0x3b9e3d(0x398)],'requiredFieldCount':this['getRequiredFields']()[_0x3b9e3d(0x398)],'primaryKeyCount':this[_0x3b9e3d(0x2c3)]()['length'],'operationCount':this[_0x3b9e3d(0x2d7)](),'enabledOperationCount':this[_0x3b9e3d(0x356)]()[_0x3b9e3d(0x398)]};}[a0_0x4fb166(0x2bf)](){const _0x7a8e9b=a0_0x4fb166;return new DatasetItem({'id':this['id'],'name':this[_0x7a8e9b(0x272)],'datasetCode':this[_0x7a8e9b(0x314)],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x4fb166(0x350)](){const _0x3d074a=a0_0x4fb166;return _0x3d074a(0x316)+this[_0x3d074a(0x272)]+',\x20'+this['datasetCode']+',\x20'+this[_0x3d074a(0x2cb)]()+_0x3d074a(0x342)+this[_0x3d074a(0x2d7)]()+_0x3d074a(0x293);}['getFilterOperation'](){const _0x4acf91=a0_0x4fb166,_0x1d2ba4=this['getOperation'](_0x4acf91(0x1fa));return _0x1d2ba4;}[a0_0x4fb166(0x2ab)](){const _0x5dbd85=a0_0x4fb166;return this[_0x5dbd85(0x1ed)](_0x5dbd85(0x1fa));}[a0_0x4fb166(0x2bd)](_0x1f9d75){const _0x17c190=a0_0x4fb166,_0x49768d=this[_0x17c190(0x1ec)](_0x1f9d75);return _0x49768d?_0x49768d['getOperators']():[];}[a0_0x4fb166(0x210)](_0x19998f,_0x4f17c8){const _0x43759b=a0_0x4fb166,_0x27cc34=this[_0x43759b(0x1ec)](_0x19998f);return _0x27cc34?_0x27cc34[_0x43759b(0x27b)](_0x4f17c8):[];}[a0_0x4fb166(0x34f)](_0x24ba0a){const _0x49f382={};return this['getFieldList']()['forEach'](_0xded4a9=>{const _0x4bbf31=a0_0xfeb9,_0x3da059=this[_0x4bbf31(0x210)](_0x24ba0a,_0xded4a9[_0x4bbf31(0x310)]);_0x3da059['length']>0x0&&(_0x49f382[_0xded4a9[_0x4bbf31(0x310)]]=_0x3da059);}),_0x49f382;}['isOperatorApplicableToField'](_0x48d5c6,_0x1567c1,_0x3cb5a0){const _0x1178ab=a0_0x4fb166,_0x548dd1=this[_0x1178ab(0x210)](_0x48d5c6,_0x1567c1);return _0x548dd1['includes'](_0x3cb5a0);}[a0_0x4fb166(0x281)](){const _0x2f5336=a0_0x4fb166;return this['getOperationOperators'](_0x2f5336(0x1fa));}[a0_0x4fb166(0x200)](_0x47e6a6){const _0x14f6f5=a0_0x4fb166;return this[_0x14f6f5(0x210)](_0x14f6f5(0x1fa),_0x47e6a6);}[a0_0x4fb166(0x347)](){const _0x1c630d=a0_0x4fb166;return this[_0x1c630d(0x34f)](_0x1c630d(0x1fa));}}class DatasetGroup{[a0_0x4fb166(0x30f)];constructor(_0x14d412){const _0x25be4e=a0_0x4fb166;this[_0x25be4e(0x30f)]=Array[_0x25be4e(0x280)](_0x14d412)?[..._0x14d412]:[_0x14d412],this['items'][_0x25be4e(0x323)]((_0x1f4fd3,_0x538811)=>{const _0x1f15e6=Number(_0x1f4fd3['id'])||0x0,_0x36d460=Number(_0x538811['id'])||0x0;return _0x36d460-_0x1f15e6;});}[a0_0x4fb166(0x326)](){const _0x2dc593=a0_0x4fb166;return this['items'][_0x2dc593(0x398)]>0x1;}[a0_0x4fb166(0x225)](){const _0xd042e2=a0_0x4fb166;return this[_0xd042e2(0x30f)][0x0];}[a0_0x4fb166(0x236)](){const _0x53c359=a0_0x4fb166;return this[_0x53c359(0x30f)][this[_0x53c359(0x30f)][_0x53c359(0x398)]-0x1];}[a0_0x4fb166(0x382)](){const _0x18a11f=a0_0x4fb166;return[...this[_0x18a11f(0x30f)]];}[a0_0x4fb166(0x3b9)](){const _0x189c00=a0_0x4fb166;return this[_0x189c00(0x30f)][_0x189c00(0x398)];}[a0_0x4fb166(0x3ac)](_0x1b82bf){return this['items'][_0x1b82bf];}[a0_0x4fb166(0x3bd)](_0x56abb8){const _0x5e94e8=a0_0x4fb166;return this[_0x5e94e8(0x30f)][_0x5e94e8(0x2ad)](_0x52e17e=>_0x52e17e['id']===_0x56abb8);}[a0_0x4fb166(0x2f8)](_0x23b869){const _0x9f741a=a0_0x4fb166;return this[_0x9f741a(0x30f)][_0x9f741a(0x2ad)](_0xc8bebf=>_0xc8bebf[_0x9f741a(0x314)]===_0x23b869);}[a0_0x4fb166(0x367)](){const _0x4661f6=a0_0x4fb166;return this['items'][_0x4661f6(0x2ca)](_0x13ff5f=>_0x13ff5f['id'])['filter'](_0x1b0897=>_0x1b0897!==undefined);}[a0_0x4fb166(0x39e)](){const _0x48c134=a0_0x4fb166;return this['items'][_0x48c134(0x2ca)](_0x1cc4a0=>_0x1cc4a0[_0x48c134(0x314)]);}['toString'](){const _0x259e36=a0_0x4fb166;if(this[_0x259e36(0x326)]())return _0x259e36(0x2e5)+this[_0x259e36(0x30f)][_0x259e36(0x398)]+_0x259e36(0x2be)+this[_0x259e36(0x225)]()[_0x259e36(0x272)]+')';return _0x259e36(0x2e5)+this[_0x259e36(0x30f)][0x0]['name']+')';}}class DatasetGroupMap{['groups'];constructor(_0x1ed00){const _0x49cc86=a0_0x4fb166;this[_0x49cc86(0x2dd)]=new Map();for(const _0x3e0e6e of _0x1ed00){const _0x3e0476=getTableKey(_0x3e0e6e);if(!this['groups'][_0x49cc86(0x217)](_0x3e0476))this['groups']['set'](_0x3e0476,new DatasetGroup(_0x3e0e6e));else{const _0x517db2=this[_0x49cc86(0x2dd)]['get'](_0x3e0476),_0x5462f7=[..._0x517db2[_0x49cc86(0x382)](),_0x3e0e6e];this[_0x49cc86(0x2dd)][_0x49cc86(0x2c1)](_0x3e0476,new DatasetGroup(_0x5462f7));}}}[a0_0x4fb166(0x2aa)](_0x3f74b3){const _0x4a41ce=a0_0x4fb166;return this[_0x4a41ce(0x2dd)][_0x4a41ce(0x2aa)](_0x3f74b3);}[a0_0x4fb166(0x217)](_0x53dd50){const _0x29eff6=a0_0x4fb166;return this[_0x29eff6(0x2dd)]['has'](_0x53dd50);}get[a0_0x4fb166(0x22c)](){const _0x54b916=a0_0x4fb166;return this[_0x54b916(0x2dd)]['size'];}[a0_0x4fb166(0x3cb)](){const _0x396033=a0_0x4fb166;return this[_0x396033(0x2dd)][_0x396033(0x3cb)]();}[a0_0x4fb166(0x3b1)](){const _0xcc69f1=a0_0x4fb166;return this[_0xcc69f1(0x2dd)][_0xcc69f1(0x3b1)]();}['entries'](){const _0xf04eaf=a0_0x4fb166;return this[_0xf04eaf(0x2dd)][_0xf04eaf(0x1d9)]();}[Symbol[a0_0x4fb166(0x2c8)]](){const _0x2bf426=a0_0x4fb166;return this[_0x2bf426(0x2dd)][_0x2bf426(0x1d9)]();}[a0_0x4fb166(0x3a3)](_0x13c5b4){const _0x412cb6=a0_0x4fb166;this[_0x412cb6(0x2dd)][_0x412cb6(0x3a3)]((_0x5f2924,_0x4a8b8c)=>_0x13c5b4(_0x5f2924,_0x4a8b8c,this));}['getConflicts'](){const _0xce91ab=a0_0x4fb166,_0x5c5172=new Map();for(const [_0x1d63d2,_0x4f578d]of this[_0xce91ab(0x2dd)]){_0x4f578d[_0xce91ab(0x326)]()&&_0x5c5172[_0xce91ab(0x2c1)](_0x1d63d2,_0x4f578d);}return _0x5c5172;}[a0_0x4fb166(0x298)](){const _0x19e54d=a0_0x4fb166;for(const _0x1d8a71 of this[_0x19e54d(0x2dd)][_0x19e54d(0x3b1)]()){if(_0x1d8a71[_0x19e54d(0x326)]())return!![];}return![];}[a0_0x4fb166(0x1db)](){const _0x37185d=a0_0x4fb166;let _0x4b759c=0x0,_0x130a66=0x0;for(const _0x4ce4a4 of this[_0x37185d(0x2dd)][_0x37185d(0x3b1)]()){_0x4ce4a4[_0x37185d(0x326)]()&&(_0x4b759c++,_0x130a66+=_0x4ce4a4[_0x37185d(0x3b9)]());}return{'conflictGroupCount':_0x4b759c,'conflictItemCount':_0x130a66,'totalGroups':this[_0x37185d(0x2dd)][_0x37185d(0x22c)]};}[a0_0x4fb166(0x260)](){const _0x278924=a0_0x4fb166,_0x10dd94=[];for(const _0x17f61e of this[_0x278924(0x2dd)][_0x278924(0x3b1)]()){_0x10dd94[_0x278924(0x29d)](..._0x17f61e[_0x278924(0x382)]());}return _0x10dd94;}[a0_0x4fb166(0x27a)](){const _0x3eaf63=a0_0x4fb166,_0x265e5e=[];for(const _0xa11e37 of this[_0x3eaf63(0x2dd)][_0x3eaf63(0x3b1)]()){_0x265e5e[_0x3eaf63(0x29d)](_0xa11e37['getLatest']());}return _0x265e5e;}[a0_0x4fb166(0x225)](_0x5d194c){const _0x38d1c1=a0_0x4fb166;return this[_0x38d1c1(0x2dd)]['get'](_0x5d194c)?.[_0x38d1c1(0x225)]();}[a0_0x4fb166(0x382)](_0x187038){const _0x322687=a0_0x4fb166;return this['groups'][_0x322687(0x2aa)](_0x187038)?.[_0x322687(0x382)]()||[];}[a0_0x4fb166(0x222)](){const _0x2a21a6=a0_0x4fb166,_0x1f34cf=this[_0x2a21a6(0x27a)](),_0x2864af=_0x1f34cf[_0x2a21a6(0x2ca)](_0x43e46c=>_0x43e46c['toJSON']());return generateDatasetsConfig(_0x2864af,{'enableDeduplication':![]});}[a0_0x4fb166(0x23a)](){const _0x291721=a0_0x4fb166,_0x23a6e1=this[_0x291721(0x260)](),_0x3883aa=_0x23a6e1[_0x291721(0x2ca)](_0x34585f=>_0x34585f[_0x291721(0x28f)]());return generateFullDatasetsConfig(_0x3883aa);}[a0_0x4fb166(0x2d6)](){const _0x9c7cb2={};for(const [_0x47e36e,_0xac3b64]of this['groups']){_0x9c7cb2[_0x47e36e]=_0xac3b64;}return _0x9c7cb2;}[a0_0x4fb166(0x28f)](){const _0x32fdd9=a0_0x4fb166,_0xbfe40b={};for(const [_0x3a98d0,_0x1d781d]of this[_0x32fdd9(0x2dd)]){_0xbfe40b[_0x3a98d0]=_0x1d781d[_0x32fdd9(0x382)]()[_0x32fdd9(0x2ca)](_0x13a936=>_0x13a936[_0x32fdd9(0x28f)]());}return _0xbfe40b;}[a0_0x4fb166(0x350)](){const _0x89b85c=a0_0x4fb166;return _0x89b85c(0x3a4)+this[_0x89b85c(0x2dd)]['size']+_0x89b85c(0x3b8)+(this[_0x89b85c(0x298)]()?_0x89b85c(0x3aa):_0x89b85c(0x251))+')';}}function a0_0xfeb9(_0x2ddecf,_0x42a554){const _0x4d744d=a0_0x4d74();return a0_0xfeb9=function(_0xfeb91b,_0x3c5bfe){_0xfeb91b=_0xfeb91b-0x1d2;let _0x344ece=_0x4d744d[_0xfeb91b];return _0x344ece;},a0_0xfeb9(_0x2ddecf,_0x42a554);}class DatasetList{['_datasetMap'];constructor(_0x1e8257){const _0x5ee022=a0_0x4fb166;let _0x1fb590;if(Array[_0x5ee022(0x280)](_0x1e8257))_0x1fb590=_0x1e8257;else{if('success'in _0x1e8257){if(!_0x1e8257[_0x5ee022(0x332)]||!_0x1e8257[_0x5ee022(0x3bc)]?.[_0x5ee022(0x38a)])throw new Error('Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData');_0x1fb590=_0x1e8257[_0x5ee022(0x3bc)][_0x5ee022(0x38a)][_0x5ee022(0x2ca)](_0x481a05=>({..._0x481a05,'datasetCode':_0x481a05[_0x5ee022(0x310)]||_0x481a05[_0x5ee022(0x314)]}));}else{if(_0x5ee022(0x38a)in _0x1e8257){if(!Array[_0x5ee022(0x280)](_0x1e8257[_0x5ee022(0x38a)]))throw new Error(_0x5ee022(0x305));_0x1fb590=_0x1e8257[_0x5ee022(0x38a)]['map'](_0x1be63d=>({..._0x1be63d,'datasetCode':_0x1be63d['code']||_0x1be63d['datasetCode']}));}else throw new Error(_0x5ee022(0x3ba));}}const _0x4c303d=_0x1fb590[_0x5ee022(0x2ca)](_0x432f30=>new DatasetItem(_0x432f30));this[_0x5ee022(0x372)]=new DatasetGroupMap(_0x4c303d);}get['datasetMap'](){const _0x299817=a0_0x4fb166;return this[_0x299817(0x372)];}['getItems'](){const _0x3f7382=a0_0x4fb166;return this['_datasetMap'][_0x3f7382(0x260)]();}['getCount'](){const _0x280413=a0_0x4fb166;return this[_0x280413(0x38b)]()[_0x280413(0x398)];}['isEmpty'](){const _0x31d1ab=a0_0x4fb166;return this[_0x31d1ab(0x372)]['size']===0x0;}[a0_0x4fb166(0x3ac)](_0x189a11){const _0x411715=a0_0x4fb166;return this[_0x411715(0x38b)]()[_0x189a11];}['getFirst'](){const _0x313462=a0_0x4fb166;return this[_0x313462(0x38b)]()[0x0];}['getLast'](){const _0x1bd81c=a0_0x4fb166,_0x16e196=this[_0x1bd81c(0x38b)]();return _0x16e196[_0x16e196[_0x1bd81c(0x398)]-0x1];}[a0_0x4fb166(0x2f8)](_0x290e62){const _0x38d3e9=a0_0x4fb166;for(const _0x1cc0fd of this['_datasetMap']['values']()){const _0x51b3b9=_0x1cc0fd[_0x38d3e9(0x2f8)](_0x290e62);if(_0x51b3b9)return _0x51b3b9;}return;}[a0_0x4fb166(0x27d)](_0x302408){const _0x4378bd=a0_0x4fb166;return this[_0x4378bd(0x38b)]()[_0x4378bd(0x2ad)](_0x3c63b5=>_0x3c63b5[_0x4378bd(0x272)]===_0x302408);}['findById'](_0x33ea80){const _0x1f0c84=a0_0x4fb166;for(const _0x517757 of this[_0x1f0c84(0x372)][_0x1f0c84(0x3b1)]()){const _0x56bbdf=_0x517757[_0x1f0c84(0x3bd)](_0x33ea80);if(_0x56bbdf)return _0x56bbdf;}return;}[a0_0x4fb166(0x28a)](_0x13e8e4){const _0x4687da=a0_0x4fb166,_0x3f7124=getTableKey(_0x13e8e4);return this[_0x4687da(0x372)]['getLatest'](_0x3f7124);}['filter'](_0x3dab52){const _0x2054e6=a0_0x4fb166,_0x276b11=this[_0x2054e6(0x38b)]()[_0x2054e6(0x1fa)](_0x3dab52);return new DatasetList(_0x276b11[_0x2054e6(0x2ca)](_0x4ba1b4=>_0x4ba1b4[_0x2054e6(0x28f)]()));}[a0_0x4fb166(0x29f)](_0x4947d5){const _0x53efb0=a0_0x4fb166;return this[_0x53efb0(0x38b)]()[_0x53efb0(0x1fa)](_0x4947d5);}['forEach'](_0x1f91b6){const _0x1c54f0=a0_0x4fb166;this[_0x1c54f0(0x38b)]()[_0x1c54f0(0x3a3)](_0x1f91b6);}[a0_0x4fb166(0x2ca)](_0x368598){const _0xd20e68=a0_0x4fb166;return this[_0xd20e68(0x38b)]()[_0xd20e68(0x2ca)](_0x368598);}[Symbol['iterator']](){const _0x92d181=a0_0x4fb166;return this[_0x92d181(0x38b)]()[Symbol['iterator']]();}[a0_0x4fb166(0x2a0)](){const _0x396cdf=a0_0x4fb166;return this[_0x396cdf(0x38b)]()[_0x396cdf(0x1fa)](_0x140a5e=>_0x140a5e['isVirtualTable']());}[a0_0x4fb166(0x2dc)](){const _0x41836b=a0_0x4fb166;return this[_0x41836b(0x38b)]()[_0x41836b(0x1fa)](_0x47dfad=>!_0x47dfad[_0x41836b(0x25e)]());}['groupByTableName'](){const _0x54a633=a0_0x4fb166,_0x4c8f80={};for(const _0x127818 of this[_0x54a633(0x372)][_0x54a633(0x3b1)]()){const _0x4b3364=_0x127818[_0x54a633(0x225)]()['getTableName']();_0x4c8f80[_0x4b3364]=_0x127818['getAll']();}return _0x4c8f80;}['detectConflicts'](){const _0x3cd835=a0_0x4fb166,_0x585308={};for(const _0x3da906 of this[_0x3cd835(0x372)]['getConflicts']()[_0x3cd835(0x3b1)]()){const _0x3cd9f1=_0x3da906['getLatest']()[_0x3cd835(0x1dd)]();_0x585308[_0x3cd9f1]=_0x3da906[_0x3cd835(0x382)]()[_0x3cd835(0x2ca)](_0x2258cc=>_0x2258cc[_0x3cd835(0x28f)]());}return{'hasConflicts':Object[_0x3cd835(0x3cb)](_0x585308)[_0x3cd835(0x398)]>0x0,'conflicts':_0x585308};}[a0_0x4fb166(0x298)](){const _0x1c882a=a0_0x4fb166;return this[_0x1c882a(0x372)][_0x1c882a(0x298)]();}[a0_0x4fb166(0x273)](){const _0x59efc3=a0_0x4fb166,_0xf3955=[];for(const _0x22ab7e of this[_0x59efc3(0x372)][_0x59efc3(0x3c3)]()['values']()){_0xf3955[_0x59efc3(0x29d)](..._0x22ab7e[_0x59efc3(0x382)]());}return _0xf3955;}[a0_0x4fb166(0x2f5)](_0x1572ac){const _0x28f190=a0_0x4fb166;if(!_0x1572ac||Object[_0x28f190(0x3cb)](_0x1572ac)[_0x28f190(0x398)]===0x0)return this[_0x28f190(0x285)]['toConfig']();const _0x3860ad=this[_0x28f190(0x38b)]()[_0x28f190(0x2ca)](_0x4b74c1=>_0x4b74c1[_0x28f190(0x28f)]());return generateDatasetsConfig(_0x3860ad,_0x1572ac);}[a0_0x4fb166(0x370)](_0x1d4237){const _0x54c94b=a0_0x4fb166,_0x28b9c8=this[_0x54c94b(0x2f5)](_0x1d4237);return datasetsConfigToArray(_0x28b9c8);}[a0_0x4fb166(0x366)](){const _0x584dfb=a0_0x4fb166;return this[_0x584dfb(0x38b)]()[_0x584dfb(0x2ca)](_0x3fb24d=>_0x3fb24d['toConfig']());}['getStats'](){const _0x1c35c2=a0_0x4fb166;return{'total':this['getCount'](),'virtualTables':this['getVirtualTables']()[_0x1c35c2(0x398)],'realTables':this[_0x1c35c2(0x2dc)]()[_0x1c35c2(0x398)],'hasConflicts':this['hasConflicts'](),'conflictCount':this['getConflictingItems']()[_0x1c35c2(0x398)]};}[a0_0x4fb166(0x317)](){const _0x922ffc=a0_0x4fb166;return this['getItems']()[_0x922ffc(0x2ca)](_0x2dfc2b=>_0x2dfc2b[_0x922ffc(0x28f)]());}[a0_0x4fb166(0x28f)](){const _0x5e30e2=a0_0x4fb166;return this[_0x5e30e2(0x317)]();}[a0_0x4fb166(0x350)](){const _0x9dfe25=a0_0x4fb166;return _0x9dfe25(0x395)+this['getCount']()+_0x9dfe25(0x215)+this[_0x9dfe25(0x372)][_0x9dfe25(0x22c)]+_0x9dfe25(0x303);}static[a0_0x4fb166(0x31c)](_0x100d16){return new DatasetList(_0x100d16);}static[a0_0x4fb166(0x1f4)](_0x146dbe){return new DatasetList(_0x146dbe);}static[a0_0x4fb166(0x20e)](){return new DatasetList([]);}}function operationToAnalysis(_0x28ae1c){const _0xae57e8=a0_0x4fb166;return{'name':_0x28ae1c[_0xae57e8(0x20c)](),'displayName':_0x28ae1c[_0xae57e8(0x1d4)](),'type':_0x28ae1c[_0xae57e8(0x2fd)](),'method':_0x28ae1c['getMethod'](),'path':_0x28ae1c['getPath'](),'fullUrl':_0x28ae1c[_0xae57e8(0x2b5)](),'requestFields':_0x28ae1c[_0xae57e8(0x29a)](),'requestParams':_0x28ae1c['getRequestParams'](),'responseSchema':_0x28ae1c[_0xae57e8(0x224)](),'requestExample':_0x28ae1c[_0xae57e8(0x30d)](),'responseExample':_0x28ae1c[_0xae57e8(0x2af)](),'enabled':_0x28ae1c[_0xae57e8(0x221)]()};}function operationsToAnalyses(_0x5a14bf){const _0x2d04f1=a0_0x4fb166;return _0x5a14bf[_0x2d04f1(0x2ca)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x4fb166(0x24d)];[a0_0x4fb166(0x2f7)](_0x197a95=![]){const _0x1e101=a0_0x4fb166;if(!_0x197a95&&this[_0x1e101(0x24d)])return this['_operationAnalyses'];const _0x47f8f2=this[_0x1e101(0x3c8)]();return this['_operationAnalyses']=operationsToAnalyses(_0x47f8f2),this[_0x1e101(0x24d)];}['getEnabledOperationAnalyses'](){const _0x36f019=a0_0x4fb166;return this[_0x36f019(0x39f)]({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x4fb166(0x39f)](_0x353dbc={}){const _0x243149=a0_0x4fb166;let _0x597a6d=this['getOperationAnalyses']();return!_0x353dbc[_0x243149(0x391)]&&(_0x597a6d=_0x597a6d[_0x243149(0x1fa)](_0x2dd1fc=>_0x2dd1fc['enabled'])),_0x353dbc[_0x243149(0x226)]!==![]&&(_0x597a6d=filterApiOperations(_0x597a6d)),_0x353dbc[_0x243149(0x39d)]&&(_0x597a6d=_0x597a6d[_0x243149(0x1fa)](_0x353dbc[_0x243149(0x39d)])),_0x597a6d=this[_0x243149(0x37a)](_0x597a6d),_0x597a6d;}[a0_0x4fb166(0x37a)](_0x479eaa){const _0x16bab2=a0_0x4fb166,_0x49b7a0=_0x479eaa[_0x16bab2(0x2ad)](_0x458535=>_0x458535['name']==='filter'),_0x16842c=_0x479eaa[_0x16bab2(0x1fa)](_0x5f5404=>_0x5f5404[_0x16bab2(0x272)]!==_0x16bab2(0x1fa));return _0x49b7a0?[_0x49b7a0,..._0x16842c]:_0x16842c;}[a0_0x4fb166(0x2b9)](_0x4121dd){const _0x161b7c=a0_0x4fb166,_0x2c996a=this[_0x161b7c(0x2f7)]();return _0x2c996a[_0x161b7c(0x2ad)](_0x2853db=>_0x2853db[_0x161b7c(0x272)]===_0x4121dd);}[a0_0x4fb166(0x3b7)](_0x359492){const _0x3f8cb6=a0_0x4fb166,_0xb44af1=this[_0x3f8cb6(0x2f7)]();return _0xb44af1['filter'](_0x3eeb6f=>_0x3eeb6f[_0x3f8cb6(0x358)]===_0x359492);}[a0_0x4fb166(0x2ed)](_0x55b849){const _0x4b1e8b=a0_0x4fb166,_0x4a67e6=this[_0x4b1e8b(0x1ec)](_0x55b849);if(!_0x4a67e6)return[];const _0x5f02e9=_0x4a67e6[_0x4b1e8b(0x29a)](),_0x3f6189=this['getFields']();return _0x3f6189[_0x4b1e8b(0x1fa)](_0x2ace76=>_0x5f02e9[_0x4b1e8b(0x2fc)](_0x2ace76['code']));}[a0_0x4fb166(0x22d)](_0x2c0906,_0xefc0d4){const _0x5c460a=a0_0x4fb166,_0x258c7e=this[_0x5c460a(0x2b9)](_0x2c0906);if(!_0x258c7e)return null;const _0x2ed1ea=this[_0x5c460a(0x1ec)](_0x258c7e['name']);if(!_0x2ed1ea)throw new Error(_0x5c460a(0x1ee)+_0x258c7e[_0x5c460a(0x272)]);const _0x182a32=this[_0x5c460a(0x300)](),_0x2e8a26=this[_0x5c460a(0x1dd)](),_0x1f23f9=_0x2ed1ea['generateSDKCallCode'](_0x182a32,{'useFullExample':_0xefc0d4?.['useFullExample']}),_0x210fa3=_0x2ed1ea[_0x5c460a(0x357)](_0x182a32);return{'operation':_0x258c7e,'operationInstance':_0x2ed1ea,'basicInfo':{'name':_0x258c7e['name'],'displayName':_0x258c7e[_0x5c460a(0x230)],'method':_0x258c7e[_0x5c460a(0x311)],'path':_0x258c7e['path'],'fullUrl':_0x258c7e[_0x5c460a(0x2ea)],'enabled':_0x258c7e[_0x5c460a(0x380)]},'sdkCall':{'datasetCode':this[_0x5c460a(0x314)],'modelName':_0x182a32,'tableName':_0x2e8a26,'operationName':_0x258c7e['name'],'params':_0x258c7e['requestFields'],'code':_0x1f23f9},'usageExample':_0x210fa3};}['getDatasetDocMeta'](_0x180671={}){const _0x16d60a=a0_0x4fb166,_0x1930ba=this[_0x16d60a(0x39f)](_0x180671),_0x1b7cb7=this[_0x16d60a(0x36a)](),_0x2bd480={'name':this[_0x16d60a(0x272)],'code':this[_0x16d60a(0x314)],'tableName':this['getTableName'](),'tableKey':this['getTableKey'](),'source':this[_0x16d60a(0x245)],'fieldCount':_0x1b7cb7['fieldCount'],'businessFieldCount':_0x1b7cb7['businessFieldCount'],'systemFieldCount':_0x1b7cb7[_0x16d60a(0x3b6)],'operationCount':_0x1b7cb7[_0x16d60a(0x1f2)],'enabledOperationCount':_0x1b7cb7[_0x16d60a(0x240)]},_0x44f649=_0x1930ba[_0x16d60a(0x2ca)](_0x3c0766=>this[_0x16d60a(0x22d)](_0x3c0766[_0x16d60a(0x272)]))[_0x16d60a(0x1fa)](_0x3b8283=>_0x3b8283!==null);return{'title':this[_0x16d60a(0x272)]+'\x20API\x20文档','datasetInfo':_0x2bd480,'operations':_0x44f649};}[a0_0x4fb166(0x2fa)](_0x544cbf){const _0x240fdb=a0_0x4fb166;return{'appCode':_0x544cbf,'tableKey':this[_0x240fdb(0x300)](),'tableName':this[_0x240fdb(0x1dd)](),'datasetCode':this['datasetCode']};}['getOperationsOverviewData'](_0x24b446){const _0xfa3cc7=a0_0x4fb166,_0x52f3c0=[{'index':_0xfa3cc7(0x272),'label':'接口名称'},{'index':_0xfa3cc7(0x230),'label':'操作名称'},{'index':_0xfa3cc7(0x311),'label':'方法'},{'index':_0xfa3cc7(0x30c),'label':_0xfa3cc7(0x2c0)},{'index':_0xfa3cc7(0x28d),'label':_0xfa3cc7(0x341)},{'index':_0xfa3cc7(0x291),'label':_0xfa3cc7(0x343)}],_0x486357=_0x24b446['map'](_0x85b091=>{const _0x538086=_0xfa3cc7,{basicInfo:_0x25b591,sdkCall:_0x5473aa}=_0x85b091,_0xf93769=_0x5473aa[_0x538086(0x310)][_0x538086(0x2ee)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,'');return{'displayName':_0x25b591['displayName'],'name':_0x25b591['name'],'method':_0x25b591[_0x538086(0x311)],'path':_0x25b591[_0x538086(0x28d)],'sdkCall':_0xf93769,'sdkCallCode':_0x5473aa[_0x538086(0x310)]};});return{'tableColumns':_0x52f3c0,'tableData':_0x486357};}[a0_0x4fb166(0x1f0)](_0x41e723){const _0x4815a4=a0_0x4fb166,_0x9827b7=this[_0x4815a4(0x2b9)](_0x41e723);if(!_0x9827b7)return null;return{'name':_0x9827b7[_0x4815a4(0x272)],'displayName':_0x9827b7[_0x4815a4(0x230)],'type':_0x9827b7[_0x4815a4(0x358)],'method':_0x9827b7['method'],'path':_0x9827b7[_0x4815a4(0x28d)],'enabled':_0x9827b7[_0x4815a4(0x380)],'requestFieldCount':_0x9827b7[_0x4815a4(0x274)][_0x4815a4(0x398)],'hasResponseSchema':_0x9827b7[_0x4815a4(0x31f)]!==null};}[a0_0x4fb166(0x275)](_0x1a531d={}){const _0x25f2aa=a0_0x4fb166,_0x3831fe=this[_0x25f2aa(0x39f)](_0x1a531d);return{'datasetName':this['name'],'datasetCode':this['datasetCode'],'tableName':this['getTableName'](),'totalOperations':_0x3831fe[_0x25f2aa(0x398)],'operations':_0x3831fe['map'](_0x2ad3f8=>({'name':_0x2ad3f8['name'],'displayName':_0x2ad3f8[_0x25f2aa(0x230)],'type':_0x2ad3f8[_0x25f2aa(0x358)],'method':_0x2ad3f8[_0x25f2aa(0x311)],'path':_0x2ad3f8[_0x25f2aa(0x28d)],'requestFieldCount':_0x2ad3f8[_0x25f2aa(0x274)][_0x25f2aa(0x398)]}))};}[a0_0x4fb166(0x3c9)](_0x2b5f2e){const _0x15887d=a0_0x4fb166,_0x1d0186={};return Object[_0x15887d(0x1d9)](_0x2b5f2e)[_0x15887d(0x3a3)](([_0x2dfa3e,_0x520061])=>{const _0x35ea2f=_0x15887d;Array['isArray'](_0x520061)&&_0x520061[_0x35ea2f(0x398)]>0x0?_0x1d0186[_0x2dfa3e]=_0x520061[0x0]:_0x1d0186[_0x2dfa3e]=_0x520061;}),_0x1d0186;}[a0_0x4fb166(0x3a2)](){const _0x1f3daa=a0_0x4fb166,_0x20833f=this[_0x1f3daa(0x2f7)](),_0xd09c03=_0x20833f[_0x1f3daa(0x1fa)](_0x4e9e2a=>_0x4e9e2a['enabled']);return{'total':_0x20833f[_0x1f3daa(0x398)],'enabled':_0xd09c03[_0x1f3daa(0x398)],'disabled':_0x20833f[_0x1f3daa(0x398)]-_0xd09c03['length'],'byType':this[_0x1f3daa(0x270)](_0xd09c03),'byMethod':this['getOperationCountByMethod'](_0xd09c03)};}[a0_0x4fb166(0x270)](_0x15a38d){const _0x66fc1c=a0_0x4fb166,_0x4e04ad={};return _0x15a38d[_0x66fc1c(0x3a3)](_0x29f1f3=>{const _0x5d129f=_0x66fc1c;_0x29f1f3['type']&&(_0x4e04ad[_0x29f1f3[_0x5d129f(0x358)]]=(_0x4e04ad[_0x29f1f3[_0x5d129f(0x358)]]||0x0)+0x1);}),_0x4e04ad;}[a0_0x4fb166(0x2a7)](_0x5c6b94){const _0x5ea5aa={};return _0x5c6b94['forEach'](_0x364032=>{const _0xaa9813=a0_0xfeb9;_0x5ea5aa[_0x364032['method']]=(_0x5ea5aa[_0x364032[_0xaa9813(0x311)]]||0x0)+0x1;}),_0x5ea5aa;}['supportsCRUD'](){const _0x4f5076=a0_0x4fb166,_0x3f523c=this[_0x4f5076(0x2eb)](),_0xcb0a89=new Set(_0x3f523c[_0x4f5076(0x2ca)](_0x205714=>_0x205714['type'])[_0x4f5076(0x1fa)](Boolean));return _0xcb0a89[_0x4f5076(0x217)](_0x4f5076(0x2ba))&&_0xcb0a89[_0x4f5076(0x217)](_0x4f5076(0x318))&&_0xcb0a89[_0x4f5076(0x217)](_0x4f5076(0x284))&&_0xcb0a89[_0x4f5076(0x217)]('delete');}['getMissingCRUDOperations'](){const _0x2f4b89=a0_0x4fb166,_0x177031=this['getEnabledOperationAnalyses'](),_0x242fce=new Set(_0x177031[_0x2f4b89(0x2ca)](_0x1b2c4e=>_0x1b2c4e[_0x2f4b89(0x358)])[_0x2f4b89(0x1fa)](Boolean)),_0xc665f8=['create',_0x2f4b89(0x318),_0x2f4b89(0x284),_0x2f4b89(0x1fb)];return _0xc665f8[_0x2f4b89(0x1fa)](_0x1b4a65=>!_0x242fce[_0x2f4b89(0x217)](_0x1b4a65));}[a0_0x4fb166(0x1d8)](_0x420205,_0x59e626,_0x587de4){const _0x15adb0=a0_0x4fb166,{includeRequestExample:includeRequestExample=!![],includeResponseExample:includeResponseExample=![],includeUsageExample:includeUsageExample=!![]}=_0x587de4||{},_0x513652=this[_0x15adb0(0x22d)](_0x420205,{'useFullExample':includeRequestExample});if(!_0x513652)return null;let _0x528266='';_0x528266+='\x0a\x0a//\x20'+_0x513652[_0x15adb0(0x234)][_0x15adb0(0x230)]+_0x15adb0(0x1fe)+_0x513652[_0x15adb0(0x234)][_0x15adb0(0x272)]+_0x15adb0(0x31d)+_0x513652[_0x15adb0(0x30c)][_0x15adb0(0x310)];if(includeResponseExample&&_0x513652[_0x15adb0(0x234)][_0x15adb0(0x34c)]?.[_0x15adb0(0x3bc)]){const _0x4ec16e=typeof _0x513652[_0x15adb0(0x234)][_0x15adb0(0x34c)][_0x15adb0(0x3bc)]===_0x15adb0(0x233)?_0x513652[_0x15adb0(0x234)]['responseExample']['data']:JSON[_0x15adb0(0x32b)](_0x513652[_0x15adb0(0x234)][_0x15adb0(0x34c)][_0x15adb0(0x3bc)],null,0x2);_0x528266+=_0x15adb0(0x33e)+_0x513652[_0x15adb0(0x234)][_0x15adb0(0x272)]+_0x15adb0(0x348)+_0x4ec16e;}return includeUsageExample&&_0x513652[_0x15adb0(0x2da)]&&(_0x528266+=_0x15adb0(0x32c)+_0x513652['usageExample']['successCode']+'\x0a\x0a'+_0x513652[_0x15adb0(0x2da)][_0x15adb0(0x308)]),_0x528266;}[a0_0x4fb166(0x39a)](_0x9ceb60){const _0x1dc73f=a0_0x4fb166,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x9ceb60||{},_0x3e7726=this[_0x1dc73f(0x2eb)]();return _0x3e7726[_0x1dc73f(0x2ca)](_0x4d1cb4=>this[_0x1dc73f(0x1d8)](_0x4d1cb4[_0x1dc73f(0x272)],this[_0x1dc73f(0x314)],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x1dc73f(0x37d)]('\x0a');}[a0_0x4fb166(0x23f)](_0x5d6ae1,_0x2ddf46=a0_0x4fb166(0x279),_0x47bd7a=![]){const _0x386797=a0_0x4fb166,_0xdc8a39=this[_0x386797(0x300)](),_0x370bbd=this[_0x386797(0x1dd)](),_0x195dc4=this[_0x386797(0x314)],_0x2295a7=_0x2ddf46===_0x386797(0x36e)?'\x0a\x20\x20env:\x20\x27'+_0x2ddf46+'\x27,':'',_0x4123c0=_0x47bd7a?'\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,':'';return'import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27'+_0x5d6ae1+'\x27,'+_0x4123c0+_0x2295a7+_0x386797(0x328)+_0xdc8a39+':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27'+_0x370bbd+_0x386797(0x264)+_0x195dc4+_0x386797(0x1ff);}['toString'](){const _0x6b5836=a0_0x4fb166,_0x514453=this['getOperationStats']();return _0x6b5836(0x38f)+this[_0x6b5836(0x272)]+',\x20'+this[_0x6b5836(0x314)]+',\x20'+this[_0x6b5836(0x2cb)]()+_0x6b5836(0x342)+_0x514453[_0x6b5836(0x380)]+'/'+_0x514453['total']+_0x6b5836(0x293);}}var VERSION='1.0.0-beta.8';export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isSystemField,isRequiredField,isPrimaryKeyField,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldList,Field,FILTER_OPERATORS,DrivenDataDetailPlus,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrivenDataDetailPlus.d.ts","sourceRoot":"","sources":["../../../src/plus/DrivenDataDetailPlus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,oBAAoB,EAAuB,MAAM,8BAA8B,CAAC;AACzF,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EAEvB,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,WAAW;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa;IACb,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,WAAW;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qBAAqB;IACrB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe;IACf,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,aAAa;IACb,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC/C,aAAa;IACb,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,aAAa;IACb,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,WAAW;IACX,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,gBAAgB;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB;IAChB,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,OAAO,CAAC;CAC1D;AAiCD;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,gBAAgB;IACxD,gBAAgB;IAChB,OAAO,CAAC,kBAAkB,CAAC,CAAsB;IAIjD;;OAEG;IACH,oBAAoB,CAAC,OAAO,UAAQ,GAAG,iBAAiB,EAAE;IAY1D;;;OAGG;IACH,2BAA2B,IAAI,iBAAiB,EAAE;IAOlD;;OAEG;IACH,4BAA4B,CAAC,OAAO,GAAE,aAAkB,GAAG,iBAAiB,EAAE;IAwB9E;;;OAGG;IACH,OAAO,CAAC,6BAA6B;IAOrC;;OAEG;IACH,oBAAoB,CAAC,aAAa,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS;IAK1E;;OAEG;IACH,0BAA0B,CAAC,IAAI,EAAE,oBAAoB,GAAG,iBAAiB,EAAE;IAK3E;;OAEG;IACH,yBAAyB,CAAC,aAAa,EAAE,MAAM;IAe/C;;;OAGG;IACH,mBAAmB,CACjB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QACR,wCAAwC;QACxC,cAAc,CAAC,EAAE,OAAO,CAAC;KAC1B,GACA,gBAAgB,GAAG,IAAI;IA+C1B;;;OAGG;IACH,iBAAiB,CAAC,OAAO,GAAE,aAAkB,GAAG,cAAc;IA8B9D;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM;;;;;;IAS9B;;;OAGG;IACH,yBAAyB,CAAC,UAAU,EAAE,gBAAgB,EAAE,GAAG,sBAAsB;IAmCjF;;OAEG;IACH,wBAAwB,CAAC,aAAa,EAAE,MAAM;;;;;;;;;;IAkB9C;;OAEG;IACH,4BAA4B,CAAC,OAAO,GAAE,aAAkB;;;;;;;;;;;;;;IAmBxD;;;OAGG;IACH,OAAO,CAAC,0BAA0B;IAoBlC;;OAEG;IACH,iBAAiB;;;;;;;IAajB;;OAEG;IACH,OAAO,CAAC,uBAAuB;IAY/B;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAUjC;;OAEG;IACH,YAAY,IAAI,OAAO;IAYvB;;OAEG;IACH,wBAAwB,IAAI,oBAAoB,EAAE;IAclD;;;;;;;OAOG;IACH,sBAAsB,CACpB,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;QACR,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC,sBAAsB,CAAC,EAAE,OAAO,CAAC;QACjC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,GACA,MAAM,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"DrivenDataDetailPlus.d.ts","sourceRoot":"","sources":["../../../src/plus/DrivenDataDetailPlus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,oBAAoB,EAAuB,MAAM,8BAA8B,CAAC;AACzF,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EAEvB,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,WAAW;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa;IACb,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,WAAW;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qBAAqB;IACrB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe;IACf,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,aAAa;IACb,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC/C,aAAa;IACb,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,aAAa;IACb,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,WAAW;IACX,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,gBAAgB;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB;IAChB,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,OAAO,CAAC;CAC1D;AAiCD;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,gBAAgB;IACxD,gBAAgB;IAChB,OAAO,CAAC,kBAAkB,CAAC,CAAsB;IAIjD;;OAEG;IACH,oBAAoB,CAAC,OAAO,UAAQ,GAAG,iBAAiB,EAAE;IAY1D;;;OAGG;IACH,2BAA2B,IAAI,iBAAiB,EAAE;IAOlD;;OAEG;IACH,4BAA4B,CAAC,OAAO,GAAE,aAAkB,GAAG,iBAAiB,EAAE;IAwB9E;;;OAGG;IACH,OAAO,CAAC,6BAA6B;IAOrC;;OAEG;IACH,oBAAoB,CAAC,aAAa,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS;IAK1E;;OAEG;IACH,0BAA0B,CAAC,IAAI,EAAE,oBAAoB,GAAG,iBAAiB,EAAE;IAK3E;;OAEG;IACH,yBAAyB,CAAC,aAAa,EAAE,MAAM;IAe/C;;;OAGG;IACH,mBAAmB,CACjB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QACR,wCAAwC;QACxC,cAAc,CAAC,EAAE,OAAO,CAAC;KAC1B,GACA,gBAAgB,GAAG,IAAI;IA+C1B;;;OAGG;IACH,iBAAiB,CAAC,OAAO,GAAE,aAAkB,GAAG,cAAc;IA8B9D;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM;;;;;;IAS9B;;;OAGG;IACH,yBAAyB,CAAC,UAAU,EAAE,gBAAgB,EAAE,GAAG,sBAAsB;IAmCjF;;OAEG;IACH,wBAAwB,CAAC,aAAa,EAAE,MAAM;;;;;;;;;;IAkB9C;;OAEG;IACH,4BAA4B,CAAC,OAAO,GAAE,aAAkB;;;;;;;;;;;;;;IAmBxD;;;OAGG;IACH,OAAO,CAAC,0BAA0B;IAoBlC;;OAEG;IACH,iBAAiB;;;;;;;IAajB;;OAEG;IACH,OAAO,CAAC,uBAAuB;IAY/B;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAUjC;;OAEG;IACH,YAAY,IAAI,OAAO;IAYvB;;OAEG;IACH,wBAAwB,IAAI,oBAAoB,EAAE;IAclD;;;;;;;OAOG;IACH,sBAAsB,CACpB,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;QACR,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC,sBAAsB,CAAC,EAAE,OAAO,CAAC;QACjC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,GACA,MAAM,GAAG,IAAI;IAqDhB,mCAAmC,CAAC,OAAO,CAAC,EAAE;QAC5C,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,GAAG,MAAM,GAAG,IAAI;IAajB;;;;;OAKG;IACH,mBAAmB,CACjB,OAAO,EAAE,MAAM,EACf,GAAG,GAAE,QAAQ,GAAG,OAAkB,EAClC,SAAS,UAAQ,GAChB,MAAM;IAuBT;;OAEG;IACH,QAAQ,IAAI,MAAM;CAInB"}
|