@lovrabet/dsparser 1.0.22 → 1.0.23-beta.1
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_0x4dc90e=a0_0x4cfb;(function(_0x2e13da,_0x8903b6){const _0x2758e3=a0_0x4cfb,_0x46bf75=_0x2e13da();while(!![]){try{const _0x28fb45=-parseInt(_0x2758e3(0x163))/0x1+parseInt(_0x2758e3(0x316))/0x2+-parseInt(_0x2758e3(0x12b))/0x3+-parseInt(_0x2758e3(0x252))/0x4*(parseInt(_0x2758e3(0x2e5))/0x5)+-parseInt(_0x2758e3(0x322))/0x6+parseInt(_0x2758e3(0x28d))/0x7+-parseInt(_0x2758e3(0x1c7))/0x8*(-parseInt(_0x2758e3(0x2db))/0x9);if(_0x28fb45===_0x8903b6)break;else _0x46bf75['push'](_0x46bf75['shift']());}catch(_0x1c7ae4){_0x46bf75['push'](_0x46bf75['shift']());}}}(a0_0x1696,0xd8989));function toCamelCase(_0x48be9f){const _0x173b5f=a0_0x4cfb;if(!_0x48be9f)return'';return _0x48be9f[_0x173b5f(0x2ea)](/[_-]/)['map']((_0x12444c,_0x32fd9e)=>{const _0x894f42=_0x173b5f;if(_0x32fd9e===0x0)return _0x12444c[_0x894f42(0x1ff)]();return _0x12444c[_0x894f42(0x198)](0x0)[_0x894f42(0x143)]()+_0x12444c['slice'](0x1)[_0x894f42(0x1ff)]();})[_0x173b5f(0x155)]('');}function toPascalCase(_0x2c7e69){const _0x367e56=a0_0x4cfb;if(!_0x2c7e69)return'';const _0x3b1ba9=toCamelCase(_0x2c7e69);return _0x3b1ba9[_0x367e56(0x198)](0x0)[_0x367e56(0x143)]()+_0x3b1ba9[_0x367e56(0x1c9)](0x1);}function toSnakeCase(_0x39603e){const _0x655b9c=a0_0x4cfb;if(!_0x39603e)return'';return _0x39603e[_0x655b9c(0x304)](/([A-Z])/g,_0x655b9c(0x21d))[_0x655b9c(0x1ff)]()[_0x655b9c(0x304)](/^_/,'');}function toKebabCase(_0x4eefbd){const _0x540314=a0_0x4cfb;if(!_0x4eefbd)return'';return _0x4eefbd['replace'](/([A-Z])/g,'-$1')[_0x540314(0x1ff)]()[_0x540314(0x304)](/^-/,'');}function normalizeFieldName(_0x1bfba2){const _0x84de4b=a0_0x4cfb;if(!_0x1bfba2)return'';return _0x1bfba2[_0x84de4b(0x309)]()[_0x84de4b(0x304)](/\s+/g,'_')[_0x84de4b(0x304)](/[^a-zA-Z0-9_]/g,'_')[_0x84de4b(0x304)](/_+/g,'_')[_0x84de4b(0x304)](/^_|_$/g,'');}function getTableName(_0x8b5c2d){const _0x5acd68=a0_0x4cfb;if(!_0x8b5c2d)return'dataset_000000';if(_0x8b5c2d[_0x5acd68(0x14d)]?.['tableName'])return _0x8b5c2d[_0x5acd68(0x14d)][_0x5acd68(0x23b)];const _0x58d68c=_0x8b5c2d[_0x5acd68(0x297)]||_0x8b5c2d[_0x5acd68(0x275)]||_0x8b5c2d[_0x5acd68(0x15a)];if(_0x58d68c)return generateTableNameFromCode(_0x58d68c);return _0x5acd68(0x1d8);}function getTableKey(_0x54ada0){const _0x3fcf99=a0_0x4cfb;if(typeof _0x54ada0===_0x3fcf99(0x273))return toCamelCase(_0x54ada0);const _0x467abe=getTableName(_0x54ada0);return toCamelCase(_0x467abe);}function generateTableNameFromCode(_0x381ccb){const _0x39d2c5=a0_0x4cfb;if(!_0x381ccb)return _0x39d2c5(0x1d8);const _0x15a9ae=_0x381ccb[_0x39d2c5(0x1c9)](-0x6)[_0x39d2c5(0x288)](0x6,'0');return _0x39d2c5(0x1a7)+_0x15a9ae;}function isVirtualTableName(_0x2df3f3){const _0x3b8783=a0_0x4cfb;return/^dataset_[a-zA-Z0-9]{6}$/[_0x3b8783(0x201)](_0x2df3f3);}function generateDatasetsConfig(_0x5368b2,_0x300e74={}){const _0x2c9388=a0_0x4cfb,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x9044e6,filter:_0x40b05c}=_0x300e74,_0x269ba0={},_0x24d2bf=new Set();for(const _0x30bf2f of _0x5368b2){if(_0x40b05c&&!_0x40b05c(_0x30bf2f))continue;const _0x1b05e3=getTableName(_0x30bf2f);if(enableDeduplication&&_0x24d2bf[_0x2c9388(0x2c0)](_0x1b05e3)){console[_0x2c9388(0x1fc)](_0x2c9388(0x21e)+_0x1b05e3+_0x2c9388(0x154)+_0x30bf2f[_0x2c9388(0x20b)]+'\x20('+_0x30bf2f[_0x2c9388(0x297)]+')');continue;}_0x24d2bf[_0x2c9388(0x195)](_0x1b05e3);const _0x485390=_0x9044e6?_0x9044e6(_0x1b05e3,_0x30bf2f):getTableKey(_0x1b05e3);_0x269ba0[_0x485390]={'key':_0x485390,'tableName':_0x1b05e3,'datasetCode':_0x30bf2f[_0x2c9388(0x297)],'name':_0x30bf2f[_0x2c9388(0x20b)],'id':_0x30bf2f['id']};}return _0x269ba0;}function generateFullDatasetsConfig(_0x4a744f,_0x4c324f={}){const _0x191a4d=a0_0x4cfb,{filter:_0x3f201f,datasetNameGenerator:_0x1cebb0}=_0x4c324f,_0x587292=_0x3f201f?_0x4a744f[_0x191a4d(0x29f)](_0x3f201f):_0x4a744f,_0x3ad49a=groupByTableName(_0x587292),_0x4bed6c={};for(const [_0xba23cd,_0x4f4407]of Object[_0x191a4d(0x1a4)](_0x3ad49a)){if(_0x4f4407[_0x191a4d(0x260)]===0x1){const _0x2d5ed3=_0x4f4407[0x0],_0xbe1c7b=_0x1cebb0?_0x1cebb0(_0xba23cd,_0x2d5ed3):getTableKey(_0xba23cd);_0x4bed6c[_0xbe1c7b]={'key':_0xbe1c7b,'tableName':_0xba23cd,'datasetCode':_0x2d5ed3[_0x191a4d(0x297)],'name':_0x2d5ed3[_0x191a4d(0x20b)],'id':_0x2d5ed3['id']};}else{const _0x12a0f3=[..._0x4f4407]['sort']((_0x75387,_0x81c842)=>{const _0xda1972=Number(_0x75387['id'])||0x0,_0x1559e3=Number(_0x81c842['id'])||0x0;return _0x1559e3-_0xda1972;});_0x12a0f3['forEach']((_0x5d1998,_0x3e3506)=>{const _0x641a51=_0x191a4d,_0x2bcc5b=_0x1cebb0?_0x1cebb0(_0xba23cd,_0x5d1998):getTableKey(_0xba23cd),_0x3ad596=_0x3e3506===0x0?_0x2bcc5b:_0x2bcc5b+'_'+_0x3e3506;_0x4bed6c[_0x3ad596]={'key':_0x3ad596,'tableName':_0xba23cd,'datasetCode':_0x5d1998[_0x641a51(0x297)],'name':_0x5d1998[_0x641a51(0x20b)],'id':_0x5d1998['id']};});}}return _0x4bed6c;}function detectTableNameConflicts(_0x2bef2c){const _0x35782b=a0_0x4cfb,_0xb73196={};for(const _0x1689d4 of _0x2bef2c){const _0x5474f6=getTableName(_0x1689d4);!_0xb73196[_0x5474f6]&&(_0xb73196[_0x5474f6]=[]),_0xb73196[_0x5474f6][_0x35782b(0x17a)](_0x1689d4);}const _0x2b1bdf={};for(const [_0x4423f4,_0x5c6b9e]of Object[_0x35782b(0x1a4)](_0xb73196)){_0x5c6b9e[_0x35782b(0x260)]>0x1&&(_0x2b1bdf[_0x4423f4]=_0x5c6b9e);}return{'hasConflicts':Object['keys'](_0x2b1bdf)[_0x35782b(0x260)]>0x0,'conflicts':_0x2b1bdf};}function createDatasetNameMap(_0x3c86e2){const _0x3c927f=a0_0x4cfb,_0x30eedf={};for(const [_0x369c77,_0x324b59]of Object[_0x3c927f(0x1a4)](_0x3c86e2)){_0x30eedf[_0x369c77]=_0x324b59[_0x3c927f(0x297)]||'';}return _0x30eedf;}function groupByTableName(_0x2e501d){const _0x16b394={};for(const _0x10c4ff of _0x2e501d){const _0xa9d77=getTableName(_0x10c4ff);!_0x16b394[_0xa9d77]&&(_0x16b394[_0xa9d77]=[]),_0x16b394[_0xa9d77]['push'](_0x10c4ff);}return _0x16b394;}function datasetsConfigToArray(_0x4e4f61){return Object['values'](_0x4e4f61);}function adaptDrivenDataDetail(_0x4bf647){const _0x16676b=a0_0x4cfb;return{'id':_0x4bf647['modelId'],'name':_0x4bf647[_0x16676b(0x20b)],'datasetCode':_0x4bf647['modelCode'],'dbtableConfig':_0x4bf647[_0x16676b(0x14d)],'source':_0x4bf647['source'],'version':_0x4bf647[_0x16676b(0x229)],'extend':_0x4bf647[_0x16676b(0x1dd)],'properties':_0x4bf647['properties'],'operations':_0x4bf647[_0x16676b(0x31b)]};}function adaptDrivenDataDetails(_0x5369a0){const _0x171191=a0_0x4cfb;return _0x5369a0[_0x171191(0x287)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x5e1396){const _0x56ca1b=a0_0x4cfb;if(!_0x5e1396['success']||!_0x5e1396[_0x56ca1b(0x263)])throw new Error(_0x56ca1b(0x2e7)+(_0x5e1396[_0x56ca1b(0x237)]||_0x5e1396[_0x56ca1b(0x296)]));return adaptDrivenDataDetail(_0x5e1396['data']);}function extractDatasetsFromListResponse(_0x426270){const _0x43934d=a0_0x4cfb;if(!_0x426270[_0x43934d(0x23a)]||!_0x426270[_0x43934d(0x263)]?.[_0x43934d(0x2e2)])throw new Error(_0x43934d(0x156)+(_0x426270[_0x43934d(0x237)]||_0x426270[_0x43934d(0x296)]));return _0x426270[_0x43934d(0x263)]['tableData'][_0x43934d(0x287)](_0x37e15a=>({..._0x37e15a,'datasetCode':_0x37e15a[_0x43934d(0x275)]||_0x37e15a['datasetCode']}));}function isDrivenDataDetail(_0x10b014){const _0x54cc8b=a0_0x4cfb;return Boolean(_0x10b014&&typeof _0x10b014[_0x54cc8b(0x15a)]===_0x54cc8b(0x273));}function smartAdapt(_0x1cf45a){const _0xa3ef6d=a0_0x4cfb;if(isDrivenDataDetail(_0x1cf45a))return adaptDrivenDataDetail(_0x1cf45a);if(_0x1cf45a[_0xa3ef6d(0x297)])return _0x1cf45a;if(_0x1cf45a['code'])return{..._0x1cf45a,'datasetCode':_0x1cf45a[_0xa3ef6d(0x275)]};return _0x1cf45a;}var DatasetOperationType;function a0_0x1696(){const _0xf7d58e=['where','source','完整的\x20SDK\x20调用代码','toString','200','fullUrl','responseSchema','field_name','length','autoIncrement','Number','data','getEnabledOperations','modifierIdField','phone','getAt','();','getCountByMethod','placeholder','DELETE','getOperationCount','getConflicts','SDK\x20调用','Integer','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:','getRequestFields','支持多个条件','string','\x0a\x0a//\x20','code','当前页码','$eq','Object','hasUpdateTimeField','getVirtualTables','findAll','getOperationCountByType','getEnumMetas','查询单个条件','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','getEnumFields','updateTime','SELECT','INTEGER','ensureFilterOperation','getResponseSchema','getOperationList','map','padStart','getLast','getAllFieldsArray','getAllDatasets','当前页码(可选)','12190759TQoOnb','getOperations','size','getDefaultValue','array','parseRawRequestBody','dbVersion','getName','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','msg','datasetCode','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','datasetKey','系统自动生成','findById','forEach','RADIO','filter','value','getByType','getFilteredOperationAnalyses','sdkCall','isEnum','2024-01-01','DatasetGroupMap(','DatasetGroup(','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','update','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','({\x20currentPage,\x20pageSize\x20});','getOperationRequestFields','required','getBusiness','hasConflicts','getIds','withDeleted','sortOperationsWithFilterFirst','GET_ONE','Object[]','getPath','获取上传脚本','getRequestParams','sortNum','initDataset','\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});','getSelectOptions','_operations','hasOperation','isEnumField','toConfigArray','has','items','getFirst','value2','$startWith','generateDefaultFilterOperation','keys','https://example.com/file.pdf','getTenantCode','hasTableName','requestBody','getDatabaseType','raw','请求示例','errorCode','isSystem','_operationAnalyses','appCode','getAutoIncrement','_fieldList','hasCreateTimeField','GET_FILE_URL','deleted','defaultValue','isCreateTime','getMissingCRUDOperations','generateSingleValueExample','2410137AkRrVl','getFieldOperators','\x20items,\x20','getStats','logicField','hasModifierIdField','properties','tableData','getFieldList','(id);','25UHnoNM','path','获取数据集失败:\x20','支持单值或数组','创建导入','split','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','dblinkInfoDTO','options','_fields','findByTableName','parse','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','IMPORT_TEMPLATE','<p>富文本内容</p>','createAll','getEnabled','DbtableConfig(table:\x20','enabled','排序规则','BIGINT','getOperationStats','({\x20','set','富文本','[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:','customFilter','TIMESTAMP','1.0.0-beta.8','type','hasCreatorIdField','replace','Excel导出','NUMBER','createImport','getAll','trim','VARCHAR','isAutoIncrement','getTableName','[parseFieldExtend]\x20Invalid\x20field:','find','_fieldListWithDeleted','查询列表','groups','getOperators','getUpdateTime','total','toListItem','1272058ZGsggl','getFieldFilterOperators','delete','getDisplayName',':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','operations','();\x0a\x0a//\x20按条件导出(支持与\x20getList\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','`:\x20','getOperationDocMeta','parseRawResponseBody','isPrimaryKeyField','requestFields','3740598GvVaYj','hasDbtableConfig','getRaw','filterBlacklist','getFieldListWithDeleted','4067043cdgpXo','detectConflicts','dbType','getTooltip','empty','fieldName','GET_LIST','TASK_INFO','findByName','orderBy','from','文件上传','updateTimeField','getRequired','每页数量','getFieldRaw','[Field.extend]\x20解析字段\x20','$endWith','getCountByType','getOperationFieldOperators','(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容','GET_ONE_ORIGIN','getFieldCount','children','toUpperCase','null','isUpdateTime','[Field]\x20Invalid\x20field\x20definition','_raw','getFieldDefinition','query','getFilterOperation','$lteq','fieldCount','dbtableConfig','prefix','values','$gte','({\x20/*\x20可选:筛选条件\x20*/\x20});','getFieldOptions','taskInfo','\x22,数据集:\x20','join','获取数据集列表失败:\x20','generateFullSDKExample','modelId','systemAnalysisResult','modelCode','北京市朝阳区','getOneUpdate','hasField','/filter','create','generateUsageExample','user@example.com','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','303997BlsWos','isOperatorApplicableToField','getFullUrl','getFieldSelectItemsSource','STRING','usageExample','repeat','includeDisabled','(id,\x20data);','stringify','BOOLEAN','some','substring','hasConflict','getRawDbtableConfig','DESC','dbName','creatorNameField','isPrimaryKey','DATETIME','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getEnabledNames','now','push','getList','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','isOperationEnabled','$in',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getOperationFieldsOperatorsMap','pageSize','$ne','[generateRequestExample]\x20Invalid\x20field:','getLatest','getModelName','creatorIdField','allFields','getOperationsOverviewData','查询单条(用于更新)','getFileUrl','sort','createDate','hasLogicField','getDatabaseName','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','tenantCode','getSelectItemsSource','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','generateFieldExample','getOperationOperators','add','_operationList','getPrimaryKeys','charAt','object','systemRetain','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','value1','getTableKey','\x20items,\x20conflict,\x20latest:\x20','解析\x20requestBody\x20失败:','isEnabled','responseBody','selectItemsSource','Operation\x20instance\x20not\x20found:\x20','entries','getCount','getOne','dataset_','getDisabledNames','操作成功','$or','generateFromSchema','generateRequestAllExamples','(id,\x20','_extend','getEnabledOperationInstances','context','getUploadFileScript','$lte','hasDblinkInfo','includes','const\x20result\x20=\x20await\x20client.models.','getOperation','dbId','getRequiredFields','getItems','getFieldInstance','getEnumMeta','getLatestDatasets','toObject','getBusinessFields','email','_datasetMap','primaryKey','getRealTables','getType','iterator','currentPage','groupByTableName','32aJWHzX','boolean','slice','fields','UPDATE','(...);\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}','CREATE_IMPORT','getSystemFields','generateExampleValue','groupByType','GET_SELECT_OPTIONS','Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData','description','TEXT',',\x20fields:\x20','DatasetItem(','isMultipleSelectField','dataset_000000','-\x20`','excelExport','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getField','extend','datasetMap','label','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','DrivenDataDetailPlus(','getPrimaryKeyFields','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','suffix','任务信息','BOOL','String','isEmpty','isBusiness','findByCode','generateConfig','getEnumOptions','includeDeleted','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','\x20operations)','pkField','getEnumFieldMeta','min','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getOneOrigin','getApplicableOperators','getFields','getAppCode','isVirtualTable','getEnum','getOperationAnalysis','getEnabledOperationAnalyses','warn','CREATE_EXPORT','DATE','toLowerCase','daily','test','isRequired','toFieldDefinition','toConfig','示例值','EXCEL_EXPORT','every','GET_ONE_UPDATE','创建导出','displayName','name','valueLabels','时间戳','hasFilterOperation','getFiltered','generateAllOperationsSummary','(支持单值或数组)','keyword','multiple','下拉选择','$gteq','createExport','labelField','导入模板','getOperationCountByMethod','getDisabled','getSystem','查询条件(支持\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)','_$1','[dsparser]\x20跳过重复的表名\x20\x22','online','isArray','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27','isDeleted','const\x20fileUrl\x20=\x20await\x20client.models.','这是一段较长的文本内容示例','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','getSource','日期时间','generateSDKCallCode','version','(params);','successCode','getFieldsFilterOperatorsMap','no\x20conflicts','getOldest','isRequiredField','enabledOperationCount','0000','generateRequestExample','getCodes','toISOString','toJSON','toArray','errorMsg','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','isSystemField','success','tableName','method','DECIMAL','getSDKInitData','查询单条(原始)','N/A','getExtendField','operation','$contain','String[]','isMultipleSelect','POST','host','createTimeField','selectBestOperator','generateResponseExample','\x20operation\x0a','importTemplate','解析\x20responseBody\x20失败:','getConflictingItems','get','getNames','getMethod','222760AiHcCv','generateSDKInitCode','GET_UPLOAD_FILE_SCRIPT','modifierNameField','getOperationAnalyses','number'];a0_0x1696=function(){return _0xf7d58e;};return a0_0x1696();}(_0xecb39e=>{const _0x235aba=a0_0x4cfb;_0xecb39e[_0x235aba(0x131)]=_0x235aba(0x17b),_0xecb39e[_0x235aba(0x2b3)]=_0x235aba(0x1a6),_0xecb39e[_0x235aba(0x140)]=_0x235aba(0x1f4),_0xecb39e[_0x235aba(0x208)]=_0x235aba(0x15c),_0xecb39e['CREATE']=_0x235aba(0x15f),_0xecb39e[_0x235aba(0x1cb)]='update',_0xecb39e[_0x235aba(0x26b)]=_0x235aba(0x318),_0xecb39e[_0x235aba(0x1d1)]=_0x235aba(0x2bb),_0xecb39e[_0x235aba(0x2d5)]=_0x235aba(0x18a),_0xecb39e[_0x235aba(0x206)]=_0x235aba(0x1da),_0xecb39e[_0x235aba(0x254)]=_0x235aba(0x1b1),_0xecb39e[_0x235aba(0x1cd)]=_0x235aba(0x307),_0xecb39e[_0x235aba(0x1fd)]=_0x235aba(0x216),_0xecb39e[_0x235aba(0x132)]='taskInfo',_0xecb39e[_0x235aba(0x2f2)]=_0x235aba(0x24c);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x4dc90e(0x17b)]:a0_0x4dc90e(0x310),[a0_0x4dc90e(0x1a6)]:'查询单条',[a0_0x4dc90e(0x1f4)]:a0_0x4dc90e(0x23f),[a0_0x4dc90e(0x15c)]:a0_0x4dc90e(0x189),[a0_0x4dc90e(0x15f)]:'创建',[a0_0x4dc90e(0x2a9)]:'更新',[a0_0x4dc90e(0x318)]:'删除',[a0_0x4dc90e(0x2bb)]:'获取下拉选项',[a0_0x4dc90e(0x18a)]:'获取文件URL',[a0_0x4dc90e(0x1da)]:a0_0x4dc90e(0x305),[a0_0x4dc90e(0x1b1)]:a0_0x4dc90e(0x2b6),['createImport']:a0_0x4dc90e(0x2e9),[a0_0x4dc90e(0x216)]:a0_0x4dc90e(0x209),[a0_0x4dc90e(0x153)]:a0_0x4dc90e(0x1e5),[a0_0x4dc90e(0x24c)]:a0_0x4dc90e(0x218)},API_BLACKLIST=[a0_0x4dc90e(0x1f4),'getOneUpdate',a0_0x4dc90e(0x18a)];function parseFieldExtend(_0x43cb57){const _0x44e088=a0_0x4dc90e;if(!_0x43cb57||typeof _0x43cb57!=='object')return!![]&&console[_0x44e088(0x1fc)](_0x44e088(0x30d),_0x43cb57),{};if(!_0x43cb57[_0x44e088(0x1dd)])return{};try{const _0x551d57=typeof _0x43cb57[_0x44e088(0x1dd)]===_0x44e088(0x273)?JSON[_0x44e088(0x2f0)](_0x43cb57[_0x44e088(0x1dd)]):_0x43cb57[_0x44e088(0x1dd)];if(typeof _0x551d57!==_0x44e088(0x199)||_0x551d57===null)return{};return _0x551d57;}catch(_0x3069ed){return{};}}function isPrimaryKeyField(_0x237057,_0x583aec){const _0x1d3ab4=a0_0x4dc90e;if(!_0x237057||typeof _0x237057!==_0x1d3ab4(0x199))return![];if(typeof _0x583aec===_0x1d3ab4(0x273)&&_0x237057['code']===_0x583aec)return!![];const _0x2031fd=parseFieldExtend(_0x237057);return Boolean(_0x2031fd[_0x1d3ab4(0x1c1)]||_0x2031fd[_0x1d3ab4(0x1f0)]);}function isSystemField(_0x29dbf5){const _0x5c7b96=a0_0x4dc90e,_0x24530a=parseFieldExtend(_0x29dbf5);return Boolean(_0x24530a[_0x5c7b96(0x19a)]);}function isRequiredField(_0x2f467f){const _0x598dc2=a0_0x4dc90e,_0x154f9e=parseFieldExtend(_0x2f467f);return Boolean(_0x154f9e[_0x598dc2(0x2ad)]);}function isAutoIncrementField(_0x43c199){const _0x31cff9=a0_0x4dc90e,_0x29cba3=parseFieldExtend(_0x43c199);return Boolean(_0x29cba3[_0x31cff9(0x261)]);}function isCreateTimeField(_0x7de2ef){const _0xd3efba=parseFieldExtend(_0x7de2ef);return Boolean(_0xd3efba['createDate']);}function isModifyTimeField(_0x552f83){const _0x26b7d0=parseFieldExtend(_0x552f83);return Boolean(_0x26b7d0['modifyDate']);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':'长文本','DATE':'日期','DATETIME':a0_0x4dc90e(0x227),'TIMESTAMP':a0_0x4dc90e(0x20d),'SELECT':a0_0x4dc90e(0x214),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0x4dc90e(0x136),'IMAGE':'图片','RICH_TEXT':a0_0x4dc90e(0x2fd),'JSON':'JSON','ARRAY':'数组'};function getDbTypeDisplay(_0x251e61){const _0x521214=a0_0x4dc90e;if(typeof _0x251e61!==_0x521214(0x273))return!![]&&console[_0x521214(0x1fc)](_0x521214(0x1e0),_0x251e61),String(_0x251e61||'-');return DB_TYPE_DISPLAY_MAP[_0x251e61]||_0x251e61;}function formatDbType(_0x593866,_0x9dc02b){const _0x203c22=a0_0x4dc90e;if(!_0x593866||typeof _0x593866!==_0x203c22(0x273))return'-';if(!_0x9dc02b||typeof _0x9dc02b!==_0x203c22(0x257))return _0x593866;const _0xa6e471=['TEXT',_0x203c22(0x176),_0x203c22(0x300),'DATE'];if(_0xa6e471[_0x203c22(0x1b4)](_0x593866[_0x203c22(0x143)]()))return _0x593866;return _0x593866+'('+_0x9dc02b+')';}function parseOperationType(_0x90f79c){const _0x1b1a38=a0_0x4dc90e;if(typeof _0x90f79c!==_0x1b1a38(0x273)){!![]&&console[_0x1b1a38(0x1fc)](_0x1b1a38(0x17c),_0x90f79c);return;}if(Object[_0x1b1a38(0x14f)](DatasetOperationType)[_0x1b1a38(0x1b4)](_0x90f79c))return _0x90f79c;const _0x55099c=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)[_0x1b1a38(0x30e)](([_0x410f78,_0x286e3f])=>_0x286e3f===_0x90f79c);return _0x55099c?_0x55099c[0x0]:undefined;}function shouldIncludeField(_0x984a6c,_0x30ac87,_0x9719a1){const _0x5d5181=a0_0x4dc90e,_0x160449=parseFieldExtend(_0x984a6c),_0x3007e9=isPrimaryKeyField(_0x984a6c,_0x9719a1),_0x4fb910=Boolean(_0x160449['systemRetain']),_0x3bb522=Boolean(_0x160449[_0x5d5181(0x261)]),_0x2f7ab4=Boolean(_0x160449[_0x5d5181(0x18c)]),_0x1933ab=Boolean(_0x160449['modifyDate']);switch(_0x30ac87){case _0x5d5181(0x17b):return!![];case _0x5d5181(0x1a6):case _0x5d5181(0x1f4):case _0x5d5181(0x318):return _0x3007e9;case _0x5d5181(0x15f):if(_0x3007e9&&_0x3bb522)return![];if(_0x4fb910)return![];if(_0x2f7ab4||_0x1933ab)return![];return!![];case _0x5d5181(0x2a9):case _0x5d5181(0x15c):if(_0x3007e9)return!![];if(_0x4fb910)return![];if(_0x2f7ab4||_0x1933ab)return![];return!![];case _0x5d5181(0x2bb):return _0x984a6c[_0x5d5181(0x275)]==='code';default:return!![];}}function getFieldsForOperation(_0x4f4d78,_0x20eacf,_0x2792f6){const _0x4b3f88=a0_0x4dc90e;if(!Array[_0x4b3f88(0x220)](_0x4f4d78))return!![]&&console[_0x4b3f88(0x1fc)](_0x4b3f88(0x18f),_0x4f4d78),[];return _0x4f4d78[_0x4b3f88(0x29f)](_0x281254=>shouldIncludeField(_0x281254,_0x20eacf,_0x2792f6));}function isApiBlacklisted(_0x34fc6a){const _0x250f2c=a0_0x4dc90e;if(typeof _0x34fc6a!==_0x250f2c(0x273))return!![]&&console['warn'](_0x250f2c(0x2eb),_0x34fc6a),![];return API_BLACKLIST[_0x250f2c(0x1b4)](_0x34fc6a);}function filterApiOperations(_0x37ba10){const _0x42aa48=a0_0x4dc90e;if(!Array[_0x42aa48(0x220)](_0x37ba10))return!![]&&console[_0x42aa48(0x1fc)](_0x42aa48(0x177),_0x37ba10),[];return _0x37ba10[_0x42aa48(0x29f)](_0x40363f=>_0x40363f&&typeof _0x40363f===_0x42aa48(0x199)&&!isApiBlacklisted(_0x40363f[_0x42aa48(0x20b)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x4dc90e(0x179)](),'SELECT':({fieldInfo:_0x4d8f53})=>{const _0x293198=a0_0x4dc90e;if(_0x4d8f53?.['options']&&Array[_0x293198(0x220)](_0x4d8f53[_0x293198(0x2ed)])&&_0x4d8f53[_0x293198(0x2ed)][_0x293198(0x260)]>0x0)return _0x4d8f53['options'][0x0][_0x293198(0x2a0)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x2828a7})=>{const _0x59dd7f=a0_0x4dc90e;if(_0x2828a7===_0x59dd7f(0x1c5))return 0x1;if(_0x2828a7===_0x59dd7f(0x181))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x293eb4})=>{const _0x3ab096=a0_0x4dc90e;if(_0x293eb4&&typeof _0x293eb4===_0x3ab096(0x273)){const _0x563f37=_0x293eb4[_0x3ab096(0x1ff)]();if(_0x563f37['includes']('邮箱')||_0x563f37[_0x3ab096(0x1b4)](_0x3ab096(0x1bf)))return _0x3ab096(0x161);if(_0x563f37['includes']('电话')||_0x563f37[_0x3ab096(0x1b4)]('手机')||_0x563f37['includes'](_0x3ab096(0x266)))return'13800138000';if(_0x563f37[_0x3ab096(0x1b4)]('地址')||_0x563f37[_0x3ab096(0x1b4)]('address'))return _0x3ab096(0x15b);if(_0x563f37[_0x3ab096(0x1b4)]('姓名')||_0x563f37['includes'](_0x3ab096(0x20b)))return'张三';}return'示例文本';},'VARCHAR':({description:_0x1e6ac0})=>TYPE_VALUE_GENERATORS[a0_0x4dc90e(0x1d4)]({'description':_0x1e6ac0}),'CHAR':({description:_0x9cc882})=>TYPE_VALUE_GENERATORS[a0_0x4dc90e(0x1d4)]({'description':_0x9cc882}),'STRING':({fieldInfo:_0x508b51,description:_0x4ea124})=>{const _0x1d7eb5=a0_0x4dc90e;if(_0x508b51?.[_0x1d7eb5(0x26a)]&&typeof _0x508b51['placeholder']===_0x1d7eb5(0x273)&&_0x508b51[_0x1d7eb5(0x26a)]!==_0x1d7eb5(0x29b))return _0x508b51[_0x1d7eb5(0x26a)][_0x1d7eb5(0x304)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x1d7eb5(0x1d4)]({'description':_0x4ea124});},'TEXTAREA':()=>a0_0x4dc90e(0x224),'LONGTEXT':()=>a0_0x4dc90e(0x224),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x4dc90e(0x2a0)}),'ARRAY':()=>['item1','item2'],'UPLOAD':()=>a0_0x4dc90e(0x2c7),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0x4dc90e(0x2f3)};function generateExampleValue(_0x4073f0,_0x30b1e1,_0x310233,_0x3ff9a5={}){const _0x22363b=a0_0x4dc90e;typeof _0x4073f0!=='string'&&(!![]&&console[_0x22363b(0x1fc)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x4073f0),_0x4073f0=String(_0x4073f0||''));if(typeof _0x30b1e1!=='string')return!![]&&console[_0x22363b(0x1fc)](_0x22363b(0x299),_0x30b1e1),'示例值';const {isPrimaryKey:_0x82b633,dbtableConfig:_0x54cb45}=_0x3ff9a5;if(_0x82b633)return 0x1;if(_0x54cb45&&typeof _0x54cb45==='object'){const _0x43d762=_0x54cb45['createTimeField']?.[_0x22363b(0x130)]===_0x4073f0,_0x578944=_0x54cb45[_0x22363b(0x137)]?.['fieldName']===_0x4073f0;if(_0x43d762||_0x578944){if(_0x310233&&typeof _0x310233==='string'&&_0x310233[_0x22363b(0x143)]()[_0x22363b(0x1b4)](_0x22363b(0x300)))return Date[_0x22363b(0x179)]();return new Date()[_0x22363b(0x234)]()[_0x22363b(0x304)]('T','\x20')[_0x22363b(0x2ea)]('.')[0x0];}}const _0x33b49b={..._0x3ff9a5,'fieldCode':_0x4073f0};if(_0x310233&&typeof _0x310233===_0x22363b(0x273)){const _0x416f6b=_0x310233[_0x22363b(0x143)](),_0xdb9aed=TYPE_VALUE_GENERATORS[_0x416f6b];if(_0xdb9aed)return _0xdb9aed(_0x33b49b);}if(_0x30b1e1&&typeof _0x30b1e1===_0x22363b(0x273)){const _0x48e478=_0x30b1e1['toUpperCase'](),_0x43ad76=TYPE_VALUE_GENERATORS[_0x48e478];if(_0x43ad76)return _0x43ad76(_0x33b49b);}return _0x22363b(0x205);}function a0_0x4cfb(_0x11f820,_0x5e27a4){const _0x1696e2=a0_0x1696();return a0_0x4cfb=function(_0x4cfb60,_0x212de3){_0x4cfb60=_0x4cfb60-0x12a;let _0x2002d1=_0x1696e2[_0x4cfb60];return _0x2002d1;},a0_0x4cfb(_0x11f820,_0x5e27a4);}function generateExampleFromSchema(_0x1cda76,_0x3f7499){const _0x1f0d8a=a0_0x4dc90e;if(!_0x1cda76||typeof _0x1cda76!=='object')return{};if(Array[_0x1f0d8a(0x220)](_0x1cda76)){if(_0x1cda76[_0x1f0d8a(0x260)]>0x0)return[generateExampleFromSchema(_0x1cda76[0x0],_0x3f7499)];return[];}const _0x1b7ee3={};return Object[_0x1f0d8a(0x2c6)](_0x1cda76)['forEach'](_0x11f249=>{const _0x1ab779=_0x1f0d8a,_0x26c555=_0x1cda76[_0x11f249];if(_0x26c555&&typeof _0x26c555===_0x1ab779(0x199)&&!Array[_0x1ab779(0x220)](_0x26c555)&&_0x26c555['type']){const _0xa02146=_0x26c555,_0xbd3958=_0xa02146['type'],_0x12302b=_0xa02146[_0x1ab779(0x1d3)];typeof _0xbd3958===_0x1ab779(0x273)?_0x1b7ee3[_0x11f249]=generateExampleValue(_0x11f249,_0xbd3958,undefined,{'description':_0x12302b,'dbtableConfig':_0x3f7499}):_0x1b7ee3[_0x11f249]=_0x1ab779(0x205);}else{if(Array[_0x1ab779(0x220)](_0x26c555))_0x1b7ee3[_0x11f249]=_0x26c555[_0x1ab779(0x260)]>0x0?[generateExampleFromSchema(_0x26c555[0x0],_0x3f7499)]:[];else _0x26c555&&typeof _0x26c555===_0x1ab779(0x199)?_0x1b7ee3[_0x11f249]=generateExampleFromSchema(_0x26c555,_0x3f7499):_0x1b7ee3[_0x11f249]=_0x26c555;}}),_0x1b7ee3;}function parseRequestBody(_0x471946){const _0x4cfc14=a0_0x4dc90e;if(!_0x471946)return{};try{return JSON[_0x4cfc14(0x2f0)](_0x471946);}catch(_0x3ed884){return!![]&&console['warn'](_0x4cfc14(0x19f),_0x3ed884),{};}}function parseResponseBody(_0x1a71f7){const _0x2f78d0=a0_0x4dc90e;if(!_0x1a71f7)return null;try{const _0x3ff406=JSON[_0x2f78d0(0x2f0)](_0x1a71f7);return _0x3ff406[_0x2f78d0(0x25c)]||_0x3ff406;}catch(_0x476440){return!![]&&console[_0x2f78d0(0x1fc)](_0x2f78d0(0x24d),_0x476440),null;}}function generateRequestExample(_0x244fb1,_0x2181b2,_0x514df8,_0x451c47){const _0x5472be=a0_0x4dc90e,_0x170219={};if(!Array['isArray'](_0x244fb1))return!![]&&console['warn'](_0x5472be(0x27f),_0x244fb1),_0x170219;return _0x244fb1[_0x5472be(0x29d)](_0x1c4c8a=>{const _0x495b90=_0x5472be;if(!_0x1c4c8a||typeof _0x1c4c8a!=='object'){!![]&&console[_0x495b90(0x1fc)](_0x495b90(0x183),_0x1c4c8a);return;}if(typeof _0x1c4c8a[_0x495b90(0x275)]!==_0x495b90(0x273)||typeof _0x1c4c8a['type']!==_0x495b90(0x273)){!![]&&console[_0x495b90(0x1fc)](_0x495b90(0x1e3),_0x1c4c8a);return;}const _0x241147=parseFieldExtend(_0x1c4c8a),_0x3ad2ce=_0x1c4c8a[_0x495b90(0x275)]===_0x514df8||Boolean(_0x241147?.[_0x495b90(0x1c1)]),_0x230c21=generateExampleValue(_0x1c4c8a[_0x495b90(0x275)],_0x1c4c8a['type'],typeof _0x1c4c8a['dbType']===_0x495b90(0x273)?_0x1c4c8a[_0x495b90(0x12d)]:undefined,{'fieldInfo':_0x241147,'isPrimaryKey':_0x3ad2ce,'description':_0x1c4c8a['description']||_0x1c4c8a[_0x495b90(0x20b)],'dbtableConfig':_0x451c47});_0x170219[_0x1c4c8a[_0x495b90(0x275)]]=_0x230c21;}),_0x2181b2===_0x5472be(0x17b)&&(_0x170219[_0x5472be(0x1c5)]=0x1,_0x170219[_0x5472be(0x181)]=0xa),_0x170219;}function formatEnumValue(_0x447c8c,_0x26751e){const _0x3f6b6d=a0_0x4dc90e;if(_0x447c8c['multiple']&&Array[_0x3f6b6d(0x220)](_0x26751e))return _0x26751e['map'](_0x4b0c03=>_0x447c8c[_0x3f6b6d(0x20c)][String(_0x4b0c03)]||String(_0x4b0c03))[_0x3f6b6d(0x155)](',\x20');return _0x447c8c['valueLabels'][String(_0x26751e)]||String(_0x26751e);}function formatOptionsForDoc(_0x554a4a){const _0x555603=a0_0x4dc90e;return _0x554a4a[_0x555603(0x287)](_0x30e5f1=>_0x30e5f1[_0x555603(0x2a0)]+'('+_0x30e5f1[_0x555603(0x1df)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x32968c,_0x414d51=0x0){const _0x5c2a7a=a0_0x4dc90e,_0x212c12='\x20\x20'[_0x5c2a7a(0x169)](_0x414d51),_0x2c294b=[];return _0x32968c[_0x5c2a7a(0x29d)](_0x3c7260=>{const _0x27c4de=_0x5c2a7a;_0x2c294b[_0x27c4de(0x17a)](_0x212c12+_0x27c4de(0x1d9)+_0x3c7260['value']+_0x27c4de(0x31d)+_0x3c7260[_0x27c4de(0x1df)]),_0x3c7260[_0x27c4de(0x142)]&&_0x3c7260[_0x27c4de(0x142)]['length']>0x0&&_0x2c294b['push'](formatOptionsAsMarkdownList(_0x3c7260[_0x27c4de(0x142)],_0x414d51+0x1));}),_0x2c294b[_0x5c2a7a(0x155)]('\x0a');}class DbtableConfig{['_raw'];constructor(_0x56c471){const _0x1d81f=a0_0x4dc90e;this[_0x1d81f(0x147)]={..._0x56c471};}get[a0_0x4dc90e(0x1b7)](){const _0x33ca71=a0_0x4dc90e;return this[_0x33ca71(0x147)][_0x33ca71(0x1b7)];}get[a0_0x4dc90e(0x23b)](){const _0x1281e6=a0_0x4dc90e;return this[_0x1281e6(0x147)][_0x1281e6(0x23b)];}get[a0_0x4dc90e(0x29a)](){const _0x144aea=a0_0x4dc90e;return this[_0x144aea(0x147)][_0x144aea(0x29a)];}get['pkField'](){const _0x4b5766=a0_0x4dc90e;return this['_raw'][_0x4b5766(0x1f0)];}get[a0_0x4dc90e(0x217)](){return this['_raw']['labelField'];}get[a0_0x4dc90e(0x2df)](){const _0x38c44d=a0_0x4dc90e;return this[_0x38c44d(0x147)][_0x38c44d(0x2df)];}get[a0_0x4dc90e(0x248)](){const _0x5d19ea=a0_0x4dc90e;return this['_raw'][_0x5d19ea(0x248)];}get[a0_0x4dc90e(0x137)](){const _0x290934=a0_0x4dc90e;return this['_raw'][_0x290934(0x137)];}get['creatorIdField'](){const _0x4f1018=a0_0x4dc90e;return this[_0x4f1018(0x147)][_0x4f1018(0x186)];}get[a0_0x4dc90e(0x174)](){return this['_raw']['creatorNameField'];}get[a0_0x4dc90e(0x265)](){const _0x5c23d1=a0_0x4dc90e;return this[_0x5c23d1(0x147)][_0x5c23d1(0x265)];}get[a0_0x4dc90e(0x255)](){const _0x1b6403=a0_0x4dc90e;return this[_0x1b6403(0x147)][_0x1b6403(0x255)];}get[a0_0x4dc90e(0x2ec)](){const _0x523166=a0_0x4dc90e;return this[_0x523166(0x147)]['dblinkInfoDTO'];}['getAllFieldsArray'](){const _0x34d6cb=a0_0x4dc90e;if(!this['_raw']['allFields'])return[];return this['_raw'][_0x34d6cb(0x187)][_0x34d6cb(0x2ea)](',')[_0x34d6cb(0x287)](_0x51fc85=>_0x51fc85[_0x34d6cb(0x309)]())[_0x34d6cb(0x29f)](Boolean);}['getAllFieldsString'](){const _0x447fc3=a0_0x4dc90e;return this[_0x447fc3(0x147)][_0x447fc3(0x187)];}['hasField'](_0x30c841){const _0x492206=a0_0x4dc90e;return this[_0x492206(0x28a)]()[_0x492206(0x1b4)](_0x30c841);}[a0_0x4dc90e(0x2c9)](){const _0x1b14c5=a0_0x4dc90e;return Boolean(this['_raw'][_0x1b14c5(0x23b)]);}[a0_0x4dc90e(0x1b3)](){const _0xb2dc71=a0_0x4dc90e;return Boolean(this[_0xb2dc71(0x147)][_0xb2dc71(0x2ec)]);}[a0_0x4dc90e(0x18d)](){const _0x4b379e=a0_0x4dc90e;return Boolean(this[_0x4b379e(0x147)][_0x4b379e(0x2df)]?.[_0x4b379e(0x130)]);}[a0_0x4dc90e(0x2d4)](){const _0x42d9a1=a0_0x4dc90e;return Boolean(this['_raw'][_0x42d9a1(0x248)]?.[_0x42d9a1(0x130)]);}[a0_0x4dc90e(0x279)](){const _0x196b67=a0_0x4dc90e;return Boolean(this['_raw'][_0x196b67(0x137)]?.[_0x196b67(0x130)]);}['hasCreatorIdField'](){const _0x35fa81=a0_0x4dc90e;return Boolean(this[_0x35fa81(0x147)][_0x35fa81(0x186)]?.[_0x35fa81(0x130)]);}['hasModifierIdField'](){const _0x5d7664=a0_0x4dc90e;return Boolean(this[_0x5d7664(0x147)]['modifierIdField']?.[_0x5d7664(0x130)]);}['isPrimaryKeyField'](_0x2f9816){const _0x451495=a0_0x4dc90e;return this[_0x451495(0x147)]['pkField']===_0x2f9816;}[a0_0x4dc90e(0x239)](_0x1e5812){const _0x25f275=a0_0x4dc90e;return this[_0x25f275(0x320)](_0x1e5812)||this['_raw'][_0x25f275(0x2df)]?.[_0x25f275(0x130)]===_0x1e5812||this[_0x25f275(0x147)][_0x25f275(0x248)]?.[_0x25f275(0x130)]===_0x1e5812||this['_raw'][_0x25f275(0x137)]?.[_0x25f275(0x130)]===_0x1e5812||this[_0x25f275(0x147)][_0x25f275(0x186)]?.[_0x25f275(0x130)]===_0x1e5812||this[_0x25f275(0x147)]['creatorNameField']?.[_0x25f275(0x130)]===_0x1e5812||this['_raw'][_0x25f275(0x265)]?.['fieldName']===_0x1e5812||this[_0x25f275(0x147)][_0x25f275(0x255)]?.[_0x25f275(0x130)]===_0x1e5812;}[a0_0x4dc90e(0x18e)](){const _0x735420=a0_0x4dc90e;return this[_0x735420(0x147)][_0x735420(0x2ec)]?.[_0x735420(0x173)];}[a0_0x4dc90e(0x2cb)](){const _0x4224d2=a0_0x4dc90e;return this[_0x4224d2(0x147)][_0x4224d2(0x2ec)]?.[_0x4224d2(0x12d)];}['getDatabaseVersion'](){const _0x4de188=a0_0x4dc90e;return this['_raw']['dblinkInfoDTO']?.[_0x4de188(0x293)];}[a0_0x4dc90e(0x2c8)](){const _0x2e0530=a0_0x4dc90e;return this[_0x2e0530(0x147)][_0x2e0530(0x2ec)]?.[_0x2e0530(0x190)];}[a0_0x4dc90e(0x1f7)](){const _0x4a348c=a0_0x4dc90e;return this[_0x4a348c(0x147)]['dblinkInfoDTO']?.[_0x4a348c(0x2d1)];}['getSystemAnalysisResult'](){const _0x34fad4=a0_0x4dc90e;return this[_0x34fad4(0x147)][_0x34fad4(0x2ec)]?.[_0x34fad4(0x159)];}[a0_0x4dc90e(0x2de)](){const _0x23aa42=a0_0x4dc90e;return{'hasTableName':this[_0x23aa42(0x2c9)](),'hasDblinkInfo':this[_0x23aa42(0x1b3)](),'fieldCount':this[_0x23aa42(0x28a)]()[_0x23aa42(0x260)],'systemFields':{'hasLogicField':this[_0x23aa42(0x18d)](),'hasCreateTimeField':this[_0x23aa42(0x2d4)](),'hasUpdateTimeField':this[_0x23aa42(0x279)](),'hasCreatorIdField':this[_0x23aa42(0x303)](),'hasModifierIdField':this[_0x23aa42(0x2e0)]()}};}['toConfig'](){const _0x36f707=a0_0x4dc90e;return{'tableName':this[_0x36f707(0x23b)],'pkField':this[_0x36f707(0x1f0)],'datasetKey':this[_0x36f707(0x29a)],'dbId':this[_0x36f707(0x1b7)]};}['toJSON'](){const _0x51d297=a0_0x4dc90e;return{...this[_0x51d297(0x147)]};}[a0_0x4dc90e(0x324)](){return{...this['_raw']};}[a0_0x4dc90e(0x25b)](){const _0x5dc691=a0_0x4dc90e,_0x3b75d4=this[_0x5dc691(0x23b)]||_0x5dc691(0x240),_0x3290dc=this[_0x5dc691(0x28a)]()['length'];return _0x5dc691(0x2f6)+_0x3b75d4+_0x5dc691(0x1d5)+_0x3290dc+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x4dc90e(0x147)];constructor(_0x821cb5){const _0x250de3=a0_0x4dc90e,_0x3d7362=_0x821cb5[_0x250de3(0x297)]||_0x821cb5[_0x250de3(0x275)]||_0x821cb5[_0x250de3(0x15a)];this[_0x250de3(0x147)]={..._0x821cb5,'datasetCode':_0x3d7362};}get['id'](){const _0x31a9f0=a0_0x4dc90e;return this[_0x31a9f0(0x147)]['id'];}get[a0_0x4dc90e(0x20b)](){const _0x5a46e1=a0_0x4dc90e;return this[_0x5a46e1(0x147)][_0x5a46e1(0x20b)];}[a0_0x4dc90e(0x294)](){const _0xbb224=a0_0x4dc90e;return this[_0xbb224(0x20b)];}get[a0_0x4dc90e(0x297)](){const _0x3c2e38=a0_0x4dc90e;return this['_raw'][_0x3c2e38(0x297)]||'';}get[a0_0x4dc90e(0x14d)](){const _0x41c809=a0_0x4dc90e;if(!this['_raw'][_0x41c809(0x14d)])return null;return new DbtableConfig(this[_0x41c809(0x147)][_0x41c809(0x14d)]);}['getRawDbtableConfig'](){const _0x485084=a0_0x4dc90e;return this[_0x485084(0x147)][_0x485084(0x14d)];}['getTableName'](){const _0x38c4f3=a0_0x4dc90e;return getTableName(this[_0x38c4f3(0x147)]);}[a0_0x4dc90e(0x19d)](){const _0xde55c3=a0_0x4dc90e;return getTableKey(this[_0xde55c3(0x30c)]());}[a0_0x4dc90e(0x1f8)](){const _0x51d3c9=a0_0x4dc90e;return isVirtualTableName(this[_0x51d3c9(0x30c)]());}[a0_0x4dc90e(0x185)](){const _0x2aee52=a0_0x4dc90e;return toPascalCase(this[_0x2aee52(0x30c)]());}[a0_0x4dc90e(0x204)](){const _0xfaceb6=a0_0x4dc90e;return{'key':getTableKey(this[_0xfaceb6(0x30c)]()),'tableName':this[_0xfaceb6(0x30c)](),'datasetCode':this[_0xfaceb6(0x297)],'name':this['name']};}[a0_0x4dc90e(0x235)](){return{...this['_raw'],'datasetCode':this['datasetCode']};}[a0_0x4dc90e(0x324)](){return{...this['_raw']};}[a0_0x4dc90e(0x323)](){const _0x24b116=a0_0x4dc90e,_0x53626e=this[_0x24b116(0x14d)];return _0x53626e!==null&&_0x53626e['hasTableName']();}[a0_0x4dc90e(0x241)](_0x4ccb95){const _0x587d18=a0_0x4dc90e;return this[_0x587d18(0x147)][_0x4ccb95];}['hasExtendField'](_0x57bb65){const _0x528be9=a0_0x4dc90e;return _0x57bb65 in this[_0x528be9(0x147)];}[a0_0x4dc90e(0x25b)](){const _0x1126d1=a0_0x4dc90e;return _0x1126d1(0x1d6)+this[_0x1126d1(0x20b)]+',\x20'+this[_0x1126d1(0x297)]+')';}}class Operation{[a0_0x4dc90e(0x20b)];[a0_0x4dc90e(0x147)];[a0_0x4dc90e(0x1b0)];constructor(_0x4105ba,_0x351703,_0x2decbb){const _0x46cbc8=a0_0x4dc90e;this[_0x46cbc8(0x20b)]=_0x4105ba,this['_raw']=_0x351703,this[_0x46cbc8(0x1b0)]=_0x2decbb;}[a0_0x4dc90e(0x294)](){const _0x5ec8d3=a0_0x4dc90e;return this[_0x5ec8d3(0x20b)];}[a0_0x4dc90e(0x319)](){const _0x21198f=a0_0x4dc90e,_0x3cd278=this['getType']();return _0x3cd278?OPERATION_TYPE_DISPLAY_NAME[_0x3cd278]:this[_0x21198f(0x20b)];}[a0_0x4dc90e(0x1c3)](){const _0x169845=a0_0x4dc90e;return parseOperationType(this[_0x169845(0x20b)]);}[a0_0x4dc90e(0x1a0)](){const _0x301761=a0_0x4dc90e;return this[_0x301761(0x147)]!=null&&this[_0x301761(0x147)]!==![];}['getMethod'](){const _0x19beb6=a0_0x4dc90e;if(!this[_0x19beb6(0x1a0)]()||!this[_0x19beb6(0x147)])return'';const _0x36bc3b=this['_raw'][_0x19beb6(0x23c)];return typeof _0x36bc3b===_0x19beb6(0x273)?_0x36bc3b:_0x19beb6(0x246);}['getPath'](){const _0x4e8a25=a0_0x4dc90e;if(!this[_0x4e8a25(0x1a0)]()||!this[_0x4e8a25(0x147)])return'';const _0x59cba1=this[_0x4e8a25(0x147)][_0x4e8a25(0x2e6)];return typeof _0x59cba1===_0x4e8a25(0x273)?_0x59cba1:'';}[a0_0x4dc90e(0x165)](){const _0x58ec5c=a0_0x4dc90e;if(!this['isEnabled']()||!this['_raw'])return'';const {host:_0x439abc,path:_0x22c200}=this[_0x58ec5c(0x147)],_0x29531d=typeof _0x439abc===_0x58ec5c(0x273)?_0x439abc:'',_0x544a8f=typeof _0x22c200==='string'?_0x22c200:'';return _0x29531d&&_0x544a8f?''+_0x29531d+_0x544a8f:_0x544a8f;}['getRequestFields'](){const _0xa850a7=a0_0x4dc90e;return Object[_0xa850a7(0x2c6)](this[_0xa850a7(0x2b7)]());}[a0_0x4dc90e(0x292)](){const _0x3b226e=a0_0x4dc90e;if(!this['isEnabled']()||typeof this[_0x3b226e(0x147)]===_0x3b226e(0x1c8)||!this[_0x3b226e(0x147)]?.[_0x3b226e(0x2ca)])return{};const _0xb921c5=this[_0x3b226e(0x147)]['requestBody'];if(typeof _0xb921c5!=='string')return!![]&&console['warn']('[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:',_0xb921c5),{};return parseRequestBody(_0xb921c5);}[a0_0x4dc90e(0x31f)](){const _0xafb6=a0_0x4dc90e;if(!this['isEnabled']()||typeof this['_raw']===_0xafb6(0x1c8)||!this['_raw']?.['responseBody'])return null;const _0x5577a8=this['_raw'][_0xafb6(0x1a1)];if(typeof _0x5577a8!==_0xafb6(0x273))return!![]&&console[_0xafb6(0x1fc)](_0xafb6(0x2fe),_0x5577a8),null;return parseResponseBody(_0x5577a8);}[a0_0x4dc90e(0x193)](_0x97eed5,_0x597de7,_0x448e0d,_0x186690){const _0x59bc34=a0_0x4dc90e;return generateExampleValue(_0x97eed5,_0x597de7,_0x448e0d,{'isPrimaryKey':_0x186690?.[_0x59bc34(0x175)],'description':_0x186690?.[_0x59bc34(0x1d3)],'dbtableConfig':this[_0x59bc34(0x1b0)]['dbtableConfig']});}[a0_0x4dc90e(0x148)](_0x5384d6){const _0x1f998a=a0_0x4dc90e;if(!Array[_0x1f998a(0x220)](this[_0x1f998a(0x1b0)][_0x1f998a(0x1ca)])){!![]&&console[_0x1f998a(0x1fc)]('[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array');return;}if(typeof _0x5384d6!==_0x1f998a(0x273)){!![]&&console[_0x1f998a(0x1fc)](_0x1f998a(0x19b),_0x5384d6);return;}return this['context'][_0x1f998a(0x1ca)][_0x1f998a(0x30e)](_0x468fb6=>_0x468fb6&&_0x468fb6['code']===_0x5384d6);}[a0_0x4dc90e(0x25b)](){const _0x18ef3a=a0_0x4dc90e,_0x270380=this[_0x18ef3a(0x1a0)]()?'启用':'禁用';return this['getDisplayName']()+'('+this[_0x18ef3a(0x20b)]+',\x20'+_0x270380+')';}['getOperators'](){return[];}[a0_0x4dc90e(0x2dc)](_0x85a5bb){return[];}[a0_0x4dc90e(0x160)](_0xe268b5){const _0x5bea4b=a0_0x4dc90e,_0x28f9e1=this[_0x5bea4b(0x294)](),_0x5b0882=_0x5bea4b(0x238)+_0xe268b5+'.'+_0x28f9e1+_0x5bea4b(0x13f),_0x3850c9=_0x5bea4b(0x2f1)+_0xe268b5+'.'+_0x28f9e1+_0x5bea4b(0x1cc);return{'successCode':_0x5b0882,'errorCode':_0x3850c9};}[a0_0x4dc90e(0x235)](){const _0x3876a6=a0_0x4dc90e;return{'name':this[_0x3876a6(0x294)](),'displayName':this[_0x3876a6(0x319)](),'type':this[_0x3876a6(0x1c3)](),'enabled':this[_0x3876a6(0x1a0)](),'method':this[_0x3876a6(0x251)](),'path':this[_0x3876a6(0x2b5)](),'fullUrl':this['getFullUrl'](),'requestFields':this['getRequestFields'](),'requestParams':this['getRequestParams'](),'responseSchema':this['getResponseSchema'](),'requestExample':this[_0x3876a6(0x232)](),'responseExample':this[_0x3876a6(0x24a)]()};}}class GenericOperation extends Operation{[a0_0x4dc90e(0x2b7)](){const _0x3bb46d=a0_0x4dc90e;return this[_0x3bb46d(0x292)]();}[a0_0x4dc90e(0x285)](){const _0x39e433=a0_0x4dc90e;return this[_0x39e433(0x31f)]();}['generateRequestExample'](){const _0x3278b2=a0_0x4dc90e,_0x4a3591={},_0x52eb54=this['getRequestParams'](),_0x316092=this[_0x3278b2(0x1c3)]();if(Object[_0x3278b2(0x2c6)](_0x52eb54)[_0x3278b2(0x260)]===0x0&&_0x316092){const _0x2ec58d=getFieldsForOperation(this[_0x3278b2(0x1b0)][_0x3278b2(0x1ca)],_0x316092,this[_0x3278b2(0x1b0)][_0x3278b2(0x1f0)]);return _0x2ec58d['forEach'](_0x217d36=>{const _0x2fcd1c=_0x3278b2,_0x2eef17=this['generateFieldExample'](_0x217d36['code'],_0x217d36[_0x2fcd1c(0x302)],typeof _0x217d36[_0x2fcd1c(0x12d)]==='string'?_0x217d36[_0x2fcd1c(0x12d)]:undefined,{'isPrimaryKey':_0x217d36[_0x2fcd1c(0x275)]===this[_0x2fcd1c(0x1b0)]['pkField'],'description':_0x217d36[_0x2fcd1c(0x1d3)]||_0x217d36[_0x2fcd1c(0x20b)]});_0x4a3591[_0x217d36[_0x2fcd1c(0x275)]]=_0x2eef17;}),_0x4a3591;}return Object[_0x3278b2(0x1a4)](_0x52eb54)[_0x3278b2(0x29d)](([_0x41d23f,_0x13fbb9])=>{const _0x3fb96c=_0x3278b2,_0x23eefa=_0x13fbb9;let _0x289edb;if(typeof _0x23eefa[_0x3fb96c(0x302)]===_0x3fb96c(0x273))_0x289edb=_0x23eefa[_0x3fb96c(0x302)];else _0x23eefa[_0x3fb96c(0x302)]&&typeof _0x23eefa[_0x3fb96c(0x302)]===_0x3fb96c(0x199)?_0x289edb=_0x23eefa[_0x3fb96c(0x302)][_0x3fb96c(0x302)]||_0x3fb96c(0x1d4):_0x289edb=_0x3fb96c(0x1d4);const _0xd2bb86=_0x23eefa[_0x3fb96c(0x1d3)],_0x1b6493=this[_0x3fb96c(0x148)](_0x41d23f);if(_0x41d23f===_0x3fb96c(0x1c5))_0x4a3591[_0x41d23f]=0x1;else{if(_0x41d23f===_0x3fb96c(0x181))_0x4a3591[_0x41d23f]=0xa;else _0x41d23f==='id'?_0x4a3591[_0x41d23f]=0x1:_0x4a3591[_0x41d23f]=this[_0x3fb96c(0x193)](_0x41d23f,_0x289edb,typeof _0x1b6493?.[_0x3fb96c(0x12d)]==='string'?_0x1b6493['dbType']:undefined,{'isPrimaryKey':_0x41d23f===this[_0x3fb96c(0x1b0)][_0x3fb96c(0x1f0)]||_0x41d23f==='id','description':_0xd2bb86||_0x1b6493?.[_0x3fb96c(0x1d3)]||_0x1b6493?.[_0x3fb96c(0x20b)]});}}),_0x4a3591;}[a0_0x4dc90e(0x24a)](){const _0x58a3b3=a0_0x4dc90e,_0x41f1a9=this[_0x58a3b3(0x285)]();if(!_0x41f1a9)return{'success':!![],'msg':_0x58a3b3(0x1a9),'errorMsg':'','errorCode':_0x58a3b3(0x231),'data':null};return this['generateFromSchema'](_0x41f1a9);}[a0_0x4dc90e(0x1ab)](_0x4baf47){const _0xfeea8a=a0_0x4dc90e;if(!_0x4baf47||typeof _0x4baf47!==_0xfeea8a(0x199))return{};if(Array[_0xfeea8a(0x220)](_0x4baf47)){if(_0x4baf47[_0xfeea8a(0x260)]>0x0)return[this[_0xfeea8a(0x1ab)](_0x4baf47[0x0])];return[];}const _0x1371fc={};return Object[_0xfeea8a(0x2c6)](_0x4baf47)[_0xfeea8a(0x29d)](_0x19ef63=>{const _0x407775=_0xfeea8a,_0x58bbc1=_0x4baf47[_0x19ef63];if(_0x58bbc1&&typeof _0x58bbc1===_0x407775(0x199)&&!Array[_0x407775(0x220)](_0x58bbc1)&&_0x58bbc1['type']){const _0x46a6be=_0x58bbc1;let _0x352c89;if(typeof _0x46a6be['type']==='string')_0x352c89=_0x46a6be['type'];else _0x46a6be[_0x407775(0x302)]&&typeof _0x46a6be[_0x407775(0x302)]==='object'?_0x352c89=_0x46a6be['type'][_0x407775(0x302)]||'TEXT':_0x352c89=_0x407775(0x1d4);const _0x4eb2a5=_0x46a6be[_0x407775(0x1d3)];_0x1371fc[_0x19ef63]=this[_0x407775(0x193)](_0x19ef63,_0x352c89,undefined,{'description':_0x4eb2a5});}else{if(Array['isArray'](_0x58bbc1))_0x1371fc[_0x19ef63]=_0x58bbc1[_0x407775(0x260)]>0x0?[this[_0x407775(0x1ab)](_0x58bbc1[0x0])]:[];else _0x58bbc1&&typeof _0x58bbc1==='object'?_0x1371fc[_0x19ef63]=this[_0x407775(0x1ab)](_0x58bbc1):_0x1371fc[_0x19ef63]=_0x58bbc1;}}),_0x1371fc;}[a0_0x4dc90e(0x228)](_0x359c27,_0x111541){const _0xe88e06=a0_0x4dc90e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x111541||{},_0x1ec41f=this[_0xe88e06(0x294)](),_0x36e219=this[_0xe88e06(0x1c3)](),_0x334abc=this['getRequestFields'](),_0x2a6cb5=this[_0xe88e06(0x232)](),_0x6b2feb=_0x5ad10f=>{const _0x5ae51a=_0xe88e06;if(Object[_0x5ae51a(0x2c6)](_0x5ad10f)[_0x5ae51a(0x260)]===0x0)return'{}';const _0x39eb1d=JSON[_0x5ae51a(0x16c)](_0x5ad10f,null,0x2)[_0x5ae51a(0x2ea)]('\x0a')['map']((_0x4197df,_0x54145a)=>_0x54145a===0x0?_0x4197df:indent+_0x4197df)[_0x5ae51a(0x155)]('\x0a');return _0x39eb1d;};switch(_0x36e219){case _0xe88e06(0x1a6):case'delete':return'const\x20result\x20=\x20await\x20client.models.'+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x2e4);case _0xe88e06(0x2a9):if(useFullExample&&Object[_0xe88e06(0x2c6)](_0x2a6cb5)[_0xe88e06(0x260)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x1ad)+_0x6b2feb(_0x2a6cb5)+');';return _0xe88e06(0x1b5)+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x16b);case _0xe88e06(0x15f):case _0xe88e06(0x17b):case _0xe88e06(0x2bb):default:if(_0x334abc[_0xe88e06(0x260)]>0x0){if(useFullExample&&Object[_0xe88e06(0x2c6)](_0x2a6cb5)['length']>0x0)return _0xe88e06(0x1b5)+_0x359c27+'.'+_0x1ec41f+'('+_0x6b2feb(_0x2a6cb5)+');';else{const _0x4e1ef4=Object[_0xe88e06(0x2c6)](_0x2a6cb5);if(_0x4e1ef4[_0xe88e06(0x260)]>0x0){const _0x3d716e=_0x4e1ef4[_0xe88e06(0x1c9)](0x0,0x2)[_0xe88e06(0x155)](',\x20');return _0xe88e06(0x1b5)+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x2fb)+_0x3d716e+',\x20...\x20});';}else return _0xe88e06(0x1b5)+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x22a);}}else return _0xe88e06(0x1b5)+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x268);}}[a0_0x4dc90e(0x1ac)](){const _0x13e127=a0_0x4dc90e;return[{'title':_0x13e127(0x2cd),'data':this[_0x13e127(0x232)]()}];}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x4dc90e(0x2b7)](){const _0x5b90b4=a0_0x4dc90e,_0x425f8e=super[_0x5b90b4(0x2b7)](),_0x117af0=Object[_0x5b90b4(0x2c6)](_0x425f8e);return(_0x117af0[_0x5b90b4(0x260)]===0x0||_0x117af0[_0x5b90b4(0x260)]===0x1&&_0x117af0[0x0]===_0x5b90b4(0x275))&&(!_0x425f8e[_0x5b90b4(0x275)]&&(_0x425f8e['code']={'type':'String','description':'字段编码'}),_0x425f8e['label']={'type':_0x5b90b4(0x1e7),'description':'字段名称'}),_0x425f8e;}[a0_0x4dc90e(0x232)](){const _0x121ee7=a0_0x4dc90e;return{'code':'field_name','label':_0x121ee7(0x25f)};}[a0_0x4dc90e(0x228)](_0x31f63e){const _0x3c0a8c=a0_0x4dc90e,_0x2c00d3=this['getName']();return _0x3c0a8c(0x1b5)+_0x31f63e+'.'+_0x2c00d3+'({\x20code,\x20label\x20});';}}class GetListOperation extends GenericOperation{[a0_0x4dc90e(0x2b7)](){const _0x3e11ff=a0_0x4dc90e,_0x41f763=super[_0x3e11ff(0x2b7)](),{currentPage:_0x2e89f5,pageSize:_0x50dba6,..._0x3a8383}=_0x41f763,_0x4e513e={};return Object[_0x3e11ff(0x1a4)](_0x3a8383)[_0x3e11ff(0x29d)](([_0x59912a,_0x92929f])=>{const _0x54974a=_0x3e11ff;if(typeof _0x92929f===_0x54974a(0x199)&&_0x92929f!==null){const _0x518540=_0x92929f,_0x4af51c=_0x518540[_0x54974a(0x1d3)]||'';_0x4e513e[_0x59912a]={..._0x518540,'description':_0x4af51c?_0x4af51c+_0x54974a(0x211):_0x54974a(0x2e8)};}else _0x4e513e[_0x59912a]=_0x92929f;}),{..._0x4e513e,'currentPage':{...typeof _0x2e89f5==='object'?_0x2e89f5:{},'type':_0x3e11ff(0x262),'description':_0x3e11ff(0x276)},'pageSize':{...typeof _0x50dba6===_0x3e11ff(0x199)?_0x50dba6:{},'type':_0x3e11ff(0x262),'description':_0x3e11ff(0x139)}};}[a0_0x4dc90e(0x232)](_0x4855e0){const _0x36723b=a0_0x4dc90e,{useArrayValues:useArrayValues=!![]}=_0x4855e0||{},_0x444911=super['generateRequestExample'](),{currentPage:_0x26bf82,pageSize:_0x3d0826,..._0x1dd496}=_0x444911;if(!useArrayValues)return{..._0x1dd496,'currentPage':_0x26bf82??0x1,'pageSize':_0x3d0826??0xa};const _0x35d926={},_0x2e9942=['id','status','code',_0x36723b(0x302)];return Object[_0x36723b(0x1a4)](_0x1dd496)['forEach'](([_0x3becd4,_0x34c9a],_0x5958ef)=>{const _0x2d3f8a=_0x36723b,_0x51e192=_0x2e9942[_0x2d3f8a(0x16e)](_0x4b5c3b=>_0x3becd4[_0x2d3f8a(0x1ff)]()[_0x2d3f8a(0x1b4)](_0x4b5c3b))||_0x5958ef%0x3===0x0;if(_0x51e192&&_0x34c9a!==null&&_0x34c9a!==undefined){if(typeof _0x34c9a===_0x2d3f8a(0x257))_0x35d926[_0x3becd4]=[_0x34c9a,_0x34c9a+0x1,_0x34c9a+0x2];else typeof _0x34c9a===_0x2d3f8a(0x273)?_0x35d926[_0x3becd4]=[_0x34c9a,_0x34c9a+'_2',_0x34c9a+'_3']:_0x35d926[_0x3becd4]=[_0x34c9a];}else _0x35d926[_0x3becd4]=_0x34c9a;}),{..._0x35d926,'currentPage':_0x26bf82??0x1,'pageSize':_0x3d0826??0xa};}[a0_0x4dc90e(0x2da)](){const _0x546a0d=a0_0x4dc90e;return this[_0x546a0d(0x232)]({'useArrayValues':![]});}['generateRequestAllExamples'](){const _0xacfab2=a0_0x4dc90e;return[{'title':'单值查询','description':_0xacfab2(0x27e),'data':this[_0xacfab2(0x2da)]()},{'title':'数组查询(支持多选)','description':_0xacfab2(0x272),'data':this[_0xacfab2(0x232)]()}];}[a0_0x4dc90e(0x228)](_0x4fccb1,_0x1b015d){const _0x313bed=a0_0x4dc90e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1b015d||{},_0x1bf823=this['getName'](),_0x54750f=this[_0x313bed(0x232)]({'useArrayValues':!![]}),{currentPage:_0x281ca7,pageSize:_0x5e1c0d,..._0x581038}=_0x54750f;if(useFullExample&&Object[_0x313bed(0x2c6)](_0x54750f)[_0x313bed(0x260)]>0x0){const _0x56dad8=Object[_0x313bed(0x2c6)](_0x581038)[_0x313bed(0x260)]>0x0;if(_0x56dad8){const _0xc70952=this['generateSingleValueExample'](),_0x39da16=_0x57fdc3=>{const _0x104fbc=_0x313bed;return JSON[_0x104fbc(0x16c)](_0x57fdc3,null,0x2)[_0x104fbc(0x2ea)]('\x0a')[_0x104fbc(0x287)]((_0x10deea,_0x502d39)=>_0x502d39===0x0?_0x10deea:indent+_0x10deea)[_0x104fbc(0x155)]('\x0a');};return _0x313bed(0x295)+_0x4fccb1+'.'+_0x1bf823+'('+_0x39da16(_0xc70952)+_0x313bed(0x17f)+_0x4fccb1+'.'+_0x1bf823+'('+_0x39da16(_0x54750f)+');';}else{const _0x2f6826=JSON[_0x313bed(0x16c)](_0x54750f,null,0x2)['split']('\x0a')[_0x313bed(0x287)]((_0x3906aa,_0x4bd930)=>_0x4bd930===0x0?_0x3906aa:indent+_0x3906aa)[_0x313bed(0x155)]('\x0a');return _0x313bed(0x1b5)+_0x4fccb1+'.'+_0x1bf823+'('+_0x2f6826+');';}}if(Object['keys'](_0x581038)[_0x313bed(0x260)]>0x0){const _0x42616a=Object['keys'](_0x581038)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x4fccb1+'.'+_0x1bf823+_0x313bed(0x2fb)+_0x42616a+',\x20currentPage,\x20pageSize,\x20...\x20});';}return _0x313bed(0x1b5)+_0x4fccb1+'.'+_0x1bf823+_0x313bed(0x2ab);}}var FILTER_OPERATORS=[a0_0x4dc90e(0x277),a0_0x4dc90e(0x182),a0_0x4dc90e(0x150),'$gteq',a0_0x4dc90e(0x1b2),a0_0x4dc90e(0x14b),a0_0x4dc90e(0x17e),'$contain','$startWith','$endWith','$and',a0_0x4dc90e(0x1aa)];class FilterOperation extends GenericOperation{constructor(_0x50af0f,_0x20228d,_0x219299){super(_0x50af0f,_0x20228d,_0x219299);}[a0_0x4dc90e(0x312)](){return FILTER_OPERATORS;}[a0_0x4dc90e(0x2dc)](_0x1f01f4){const _0x4a263e=a0_0x4dc90e,_0x11afb0=this[_0x4a263e(0x148)](_0x1f01f4);if(!_0x11afb0)return[];return this[_0x4a263e(0x1f5)](_0x11afb0[_0x4a263e(0x302)]);}['getRequestParams'](){const _0x490d9e=a0_0x4dc90e,_0xd69b56=super[_0x490d9e(0x2b7)]();return{..._0xd69b56,'where':{'type':_0x490d9e(0x278),'description':_0x490d9e(0x21c),'required':![]},'select':{'type':_0x490d9e(0x244),'description':'返回字段列表(字段投影)','required':![]},'orderBy':{'type':_0x490d9e(0x2b4),'description':_0x490d9e(0x2f8),'required':![]},'currentPage':{'type':_0x490d9e(0x262),'description':_0x490d9e(0x276),'required':![],'default':0x1},'pageSize':{'type':_0x490d9e(0x262),'description':_0x490d9e(0x139),'required':![],'default':0xa}};}[a0_0x4dc90e(0x232)](){const _0x103c1b=a0_0x4dc90e,_0x41f989=this[_0x103c1b(0x1b0)][_0x103c1b(0x1ca)]||[];if(_0x41f989[_0x103c1b(0x260)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x1e1acc={},_0x3c28ed=_0x41f989[_0x103c1b(0x1c9)](0x0,Math['min'](0x3,_0x41f989[_0x103c1b(0x260)]));_0x3c28ed[_0x103c1b(0x29d)](_0x2d5821=>{const _0x16390e=_0x103c1b,_0x43f942=this[_0x16390e(0x1f5)](_0x2d5821[_0x16390e(0x302)]);if(_0x43f942['length']===0x0)return;const _0x263949=this['selectBestOperator'](_0x2d5821[_0x16390e(0x302)],_0x43f942),_0x1b8151=this[_0x16390e(0x1cf)](_0x2d5821,_0x263949);_0x1e1acc[_0x2d5821[_0x16390e(0x275)]]={[_0x263949]:_0x1b8151};});const _0x44ec=_0x41f989[_0x103c1b(0x1c9)](0x0,Math[_0x103c1b(0x1f2)](0x5,_0x41f989['length']))[_0x103c1b(0x287)](_0x5f27ae=>_0x5f27ae[_0x103c1b(0x275)]),_0x4b04ea=_0x41f989[0x0]?.[_0x103c1b(0x275)]||'id';return{'where':_0x1e1acc,'select':_0x44ec,'orderBy':[{[_0x4b04ea]:'DESC'}],'currentPage':0x1,'pageSize':0x14};}[a0_0x4dc90e(0x228)](_0x40241,_0x147d90){const _0x1b015f=a0_0x4dc90e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x147d90||{},_0x4f1c24=this['getName'](),_0x465a9d=this['generateRequestExample'](),_0x157376=_0x4412f9=>{const _0x532ca0=a0_0x4cfb;return JSON['stringify'](_0x4412f9,null,0x2)[_0x532ca0(0x2ea)]('\x0a')['map']((_0x307561,_0x533901)=>_0x533901===0x0?_0x307561:indent+_0x307561)['join']('\x0a');};if(useFullExample){const _0x394128=this[_0x1b015f(0x1b0)]['fields']||[],_0x4da5e1={'where':_0x394128[0x0]?{[_0x394128[0x0][_0x1b015f(0x275)]]:{'$eq':this[_0x1b015f(0x1cf)](_0x394128[0x0],'$eq')}}:{},'select':_0x394128['slice'](0x0,0x3)[_0x1b015f(0x287)](_0x1cb274=>_0x1cb274[_0x1b015f(0x275)]),'currentPage':0x1,'pageSize':0x14};let _0x806ff9='';if(_0x394128['length']>=0x3){const _0x42ec07={'$and':[]},_0x3f4741=[];if(_0x394128[_0x1b015f(0x260)]>0x0){const _0x36975b=_0x394128[_0x1b015f(0x30e)](_0x384bf5=>[_0x1b015f(0x306),'INTEGER',_0x1b015f(0x2f9)]['includes'](_0x384bf5[_0x1b015f(0x302)][_0x1b015f(0x143)]()));_0x36975b&&_0x3f4741[_0x1b015f(0x17a)]({[_0x36975b['code']]:{'$gte':0x0,'$lte':0x64}});}if(_0x394128[_0x1b015f(0x260)]>0x1){const _0x17e665=_0x394128['find'](_0x66a1c7=>[_0x1b015f(0x167),_0x1b015f(0x1d4),_0x1b015f(0x30a)][_0x1b015f(0x1b4)](_0x66a1c7[_0x1b015f(0x302)][_0x1b015f(0x143)]()));_0x17e665&&_0x3f4741[_0x1b015f(0x17a)]({[_0x17e665[_0x1b015f(0x275)]]:{'$contain':'keyword'}});}if(_0x3f4741['length']>0x0){_0x42ec07['$and']=_0x3f4741;const _0x39a4b3={'where':_0x42ec07,'select':_0x394128[_0x1b015f(0x1c9)](0x0,0x4)[_0x1b015f(0x287)](_0x59ad93=>_0x59ad93['code']),'orderBy':[{[_0x394128[0x0][_0x1b015f(0x275)]]:_0x1b015f(0x172)}],'currentPage':0x1,'pageSize':0x14};_0x806ff9='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x40241+'.'+_0x4f1c24+'('+_0x157376(_0x39a4b3)+');';}}return _0x1b015f(0x298)+_0x40241+'.'+_0x4f1c24+'('+_0x157376(_0x4da5e1)+');'+_0x806ff9;}const _0xe9ff3c=JSON[_0x1b015f(0x16c)](_0x465a9d,null,0x2)[_0x1b015f(0x2ea)]('\x0a')['map']((_0x46ec4,_0x2199bf)=>_0x2199bf===0x0?_0x46ec4:indent+_0x46ec4)['join']('\x0a');return _0x1b015f(0x1b5)+_0x40241+'.'+_0x4f1c24+'('+_0xe9ff3c+');';}['getApplicableOperators'](_0x4c3be4){const _0x33fd69=a0_0x4dc90e,_0x356968=_0x4c3be4[_0x33fd69(0x143)](),_0x48e244=[];if([_0x33fd69(0x306),'INTEGER',_0x33fd69(0x2f9),_0x33fd69(0x23d)]['includes'](_0x356968))_0x48e244[_0x33fd69(0x17a)](_0x33fd69(0x277),_0x33fd69(0x182),_0x33fd69(0x150),_0x33fd69(0x1b2),_0x33fd69(0x215),'$lteq',_0x33fd69(0x17e));else{if(['STRING',_0x33fd69(0x1d4),_0x33fd69(0x30a)]['includes'](_0x356968))_0x48e244[_0x33fd69(0x17a)](_0x33fd69(0x277),_0x33fd69(0x182),_0x33fd69(0x17e),'$contain',_0x33fd69(0x2c4),_0x33fd69(0x13c));else{if([_0x33fd69(0x1fe),_0x33fd69(0x176),_0x33fd69(0x300)][_0x33fd69(0x1b4)](_0x356968))_0x48e244[_0x33fd69(0x17a)]('$eq',_0x33fd69(0x182),'$gte',_0x33fd69(0x1b2),_0x33fd69(0x215),_0x33fd69(0x14b));else['BOOLEAN',_0x33fd69(0x1e6)][_0x33fd69(0x1b4)](_0x356968)?_0x48e244['push'](_0x33fd69(0x277),'$ne'):_0x48e244[_0x33fd69(0x17a)](_0x33fd69(0x277),_0x33fd69(0x182));}}return _0x48e244;}[a0_0x4dc90e(0x249)](_0x26dec8,_0x3a7faf){const _0x139656=a0_0x4dc90e,_0x5420cd=_0x26dec8[_0x139656(0x143)]();if([_0x139656(0x306),_0x139656(0x283),_0x139656(0x2f9),_0x139656(0x23d)]['includes'](_0x5420cd))return _0x3a7faf[_0x139656(0x1b4)]('$gte')?_0x139656(0x150):'$eq';if([_0x139656(0x167),_0x139656(0x1d4),'VARCHAR'][_0x139656(0x1b4)](_0x5420cd))return _0x3a7faf[_0x139656(0x1b4)](_0x139656(0x243))?_0x139656(0x243):_0x139656(0x277);if([_0x139656(0x1fe),_0x139656(0x176),'TIMESTAMP'][_0x139656(0x1b4)](_0x5420cd))return _0x3a7faf[_0x139656(0x1b4)](_0x139656(0x150))?_0x139656(0x150):_0x139656(0x277);return'$eq';}[a0_0x4dc90e(0x1cf)](_0xf1da5e,_0x5ed65c){const _0x4db17d=a0_0x4dc90e,_0x58dbe1=String(_0xf1da5e[_0x4db17d(0x302)]||'')[_0x4db17d(0x143)]();if(_0xf1da5e[_0x4db17d(0x1dd)])try{const _0x2309b1=typeof _0xf1da5e[_0x4db17d(0x1dd)]==='string'?JSON['parse'](_0xf1da5e['extend']):_0xf1da5e[_0x4db17d(0x1dd)];if(_0x2309b1['options']&&Array['isArray'](_0x2309b1[_0x4db17d(0x2ed)])&&_0x2309b1[_0x4db17d(0x2ed)][_0x4db17d(0x260)]>0x0){if(_0x5ed65c===_0x4db17d(0x17e))return _0x2309b1[_0x4db17d(0x2ed)][_0x4db17d(0x1c9)](0x0,0x2)[_0x4db17d(0x287)](_0x1111f6=>_0x1111f6[_0x4db17d(0x2a0)]);return _0x2309b1[_0x4db17d(0x2ed)][0x0][_0x4db17d(0x2a0)];}}catch{}if(['NUMBER',_0x4db17d(0x283),_0x4db17d(0x2f9),'DECIMAL']['includes'](_0x58dbe1)){if(_0x5ed65c==='$in')return[0x1,0x2,0x3];if(_0x5ed65c===_0x4db17d(0x150)||_0x5ed65c===_0x4db17d(0x215))return 0x0;if(_0x5ed65c===_0x4db17d(0x1b2)||_0x5ed65c===_0x4db17d(0x14b))return 0x64;return 0x1;}if([_0x4db17d(0x167),'TEXT',_0x4db17d(0x30a)][_0x4db17d(0x1b4)](_0x58dbe1)){if(_0x5ed65c==='$in')return[_0x4db17d(0x19c),'value2'];if(_0x5ed65c==='$contain')return _0x4db17d(0x212);if(_0x5ed65c==='$startWith')return _0x4db17d(0x14e);if(_0x5ed65c===_0x4db17d(0x13c))return _0x4db17d(0x1e4);return _0x4db17d(0x2a0);}if(['DATE','DATETIME',_0x4db17d(0x300)]['includes'](_0x58dbe1)){if(_0x5ed65c===_0x4db17d(0x150)||_0x5ed65c===_0x4db17d(0x215))return _0x4db17d(0x2a5);if(_0x5ed65c===_0x4db17d(0x1b2)||_0x5ed65c===_0x4db17d(0x14b))return'2024-12-31';return'2024-01-01';}if([_0x4db17d(0x16d),_0x4db17d(0x1e6)][_0x4db17d(0x1b4)](_0x58dbe1))return!![];return _0x5ed65c===_0x4db17d(0x17e)?['value1',_0x4db17d(0x2c3)]:_0x4db17d(0x2a0);}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x573f59=a0_0x4dc90e,_0x3b4a06=super[_0x573f59(0x2b7)]();if(Object[_0x573f59(0x2c6)](_0x3b4a06)[_0x573f59(0x260)]===0x0){const _0x263fc6={};return this[_0x573f59(0x1b0)][_0x573f59(0x1ca)][_0x573f59(0x29d)](_0x39bf30=>{const _0x1c04ef=_0x573f59;_0x39bf30&&_0x39bf30[_0x1c04ef(0x275)]&&(_0x263fc6[_0x39bf30['code']]={'type':_0x39bf30['type']||_0x1c04ef(0x1d4),'sortNum':_0x39bf30[_0x1c04ef(0x2b8)],'description':_0x39bf30['description']||_0x39bf30[_0x1c04ef(0x20b)]});}),_0x263fc6['currentPage']={'type':_0x573f59(0x26f),'description':_0x573f59(0x28c)},_0x263fc6[_0x573f59(0x181)]={'type':_0x573f59(0x26f),'description':'每页数量(可选)'},_0x263fc6;}return _0x3b4a06;}[a0_0x4dc90e(0x232)](){const _0x603669=a0_0x4dc90e,_0x291bb1=super['generateRequestExample']();if(Object[_0x603669(0x2c6)](_0x291bb1)['length']===0x0)return{'currentPage':0x1,'pageSize':0x64};return{..._0x291bb1,'currentPage':_0x291bb1['currentPage']??0x1,'pageSize':_0x291bb1[_0x603669(0x181)]??0x64};}[a0_0x4dc90e(0x24a)](){const _0x3463db=a0_0x4dc90e;return{'success':!![],'msg':'','errorMsg':'','errorCode':_0x3463db(0x231),'data':'https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','params':null};}[a0_0x4dc90e(0x228)](_0x2bb6b2,_0x3cf975){const _0x4d74d1=a0_0x4dc90e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3cf975||{},_0x152fcb=this[_0x4d74d1(0x294)]();if(useFullExample){const _0x510d8c=this['generateRequestExample'](),{currentPage:_0x48ae89,pageSize:_0xf83ede,..._0x184b35}=_0x510d8c,_0x210a30=Object['keys'](_0x184b35)[_0x4d74d1(0x260)]>0x0;if(_0x210a30){const _0x553c89=_0x66e6c0=>{const _0x301584=_0x4d74d1;return JSON['stringify'](_0x66e6c0,null,0x2)[_0x301584(0x2ea)]('\x0a')[_0x301584(0x287)]((_0x272111,_0x521cc8)=>_0x521cc8===0x0?_0x272111:indent+_0x272111)[_0x301584(0x155)]('\x0a');};return _0x4d74d1(0x1ee)+_0x2bb6b2+'.'+_0x152fcb+_0x4d74d1(0x31c)+_0x2bb6b2+'.'+_0x152fcb+'('+_0x553c89(_0x510d8c)+');';}else{const _0x5c8050=_0x4483ba=>{const _0x3dcdb6=_0x4d74d1;return JSON[_0x3dcdb6(0x16c)](_0x4483ba,null,0x2)[_0x3dcdb6(0x2ea)]('\x0a')[_0x3dcdb6(0x287)]((_0x5115f1,_0xed834f)=>_0xed834f===0x0?_0x5115f1:indent+_0x5115f1)[_0x3dcdb6(0x155)]('\x0a');};return _0x4d74d1(0x1ee)+_0x2bb6b2+'.'+_0x152fcb+_0x4d74d1(0x1db)+_0x2bb6b2+'.'+_0x152fcb+'('+_0x5c8050({'currentPage':0x1,'pageSize':0x64})+');';}}return _0x4d74d1(0x223)+_0x2bb6b2+'.'+_0x152fcb+_0x4d74d1(0x151);}['generateUsageExample'](_0x4f729a){const _0x34caaf=a0_0x4dc90e,_0x3679d8=this[_0x34caaf(0x294)](),_0x2a2569=_0x34caaf(0x1f3)+_0x4f729a+'.'+_0x3679d8+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x4e8c19='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x4f729a+'.'+_0x3679d8+'();\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':_0x2a2569,'errorCode':_0x4e8c19};}}class OperationFactory{['create'](_0x3dbe77,_0x23a503,_0x4ffd1b){const _0x4f6a48=a0_0x4dc90e;switch(_0x3dbe77){case'getSelectOptions':return new GetSelectOptionsOperation(_0x3dbe77,_0x23a503,_0x4ffd1b);case'getList':return new GetListOperation(_0x3dbe77,_0x23a503,_0x4ffd1b);case _0x4f6a48(0x29f):return new FilterOperation(_0x3dbe77,_0x23a503,_0x4ffd1b);case _0x4f6a48(0x1da):return new ExcelExportOperation(_0x3dbe77,_0x23a503,_0x4ffd1b);default:return new GenericOperation(_0x3dbe77,_0x23a503,_0x4ffd1b);}}['createAll'](_0x491d1e,_0x2f425b){const _0x25b33c=a0_0x4dc90e,_0x53c395=new Map();return Object[_0x25b33c(0x1a4)](_0x491d1e)[_0x25b33c(0x29d)](([_0x55d3ef,_0x12bd51])=>{const _0x1b99c5=_0x25b33c;_0x53c395[_0x1b99c5(0x2fc)](_0x55d3ef,this[_0x1b99c5(0x15f)](_0x55d3ef,_0x12bd51,_0x2f425b));}),_0x53c395;}}class OperationList{[a0_0x4dc90e(0x2bc)];constructor(_0x14f7c9,_0x3445bc){const _0x11e721=a0_0x4dc90e,_0x23ad0f=new OperationFactory();this['_operations']=_0x23ad0f[_0x11e721(0x2f4)](_0x14f7c9,_0x3445bc);}[a0_0x4dc90e(0x24f)](_0x50eceb){const _0x19ed13=a0_0x4dc90e;return this[_0x19ed13(0x2bc)]['get'](_0x50eceb);}[a0_0x4dc90e(0x2c0)](_0x49e51b){const _0x14f015=a0_0x4dc90e;return this[_0x14f015(0x2bc)]['has'](_0x49e51b);}['size'](){const _0x53ed6b=a0_0x4dc90e;return this[_0x53ed6b(0x2bc)][_0x53ed6b(0x28f)];}[a0_0x4dc90e(0x250)](){const _0x67e7b0=a0_0x4dc90e;return Array[_0x67e7b0(0x135)](this[_0x67e7b0(0x2bc)][_0x67e7b0(0x2c6)]());}['toArray'](){const _0xa67442=a0_0x4dc90e,_0x57a9dd=Array[_0xa67442(0x135)](this['_operations'][_0xa67442(0x14f)]());return this['sortOperationsWithFilterFirst'](_0x57a9dd);}[a0_0x4dc90e(0x2f5)](){const _0x18fae2=a0_0x4dc90e;return this[_0x18fae2(0x236)]()[_0x18fae2(0x29f)](_0x2a4d6a=>_0x2a4d6a[_0x18fae2(0x1a0)]());}[a0_0x4dc90e(0x21a)](){const _0x12c5db=a0_0x4dc90e;return this[_0x12c5db(0x236)]()['filter'](_0x40dba1=>!_0x40dba1[_0x12c5db(0x1a0)]());}[a0_0x4dc90e(0x178)](){const _0x238533=a0_0x4dc90e;return this[_0x238533(0x2f5)]()[_0x238533(0x287)](_0xf186ee=>_0xf186ee[_0x238533(0x294)]());}[a0_0x4dc90e(0x1a8)](){const _0x5aa456=a0_0x4dc90e;return this['getDisabled']()[_0x5aa456(0x287)](_0x1d27ac=>_0x1d27ac['getName']());}[a0_0x4dc90e(0x2a1)](_0x18477d){const _0x30b92a=a0_0x4dc90e;return this[_0x30b92a(0x236)]()['filter'](_0x401ef0=>_0x401ef0['getType']()===_0x18477d);}[a0_0x4dc90e(0x29f)](_0x11da2b){const _0x33a903=a0_0x4dc90e;return this[_0x33a903(0x236)]()[_0x33a903(0x29f)](_0x11da2b);}[a0_0x4dc90e(0x20f)](_0x2ba68b={}){const _0x2aa870=a0_0x4dc90e;let _0x306921=this[_0x2aa870(0x236)]();!_0x2ba68b[_0x2aa870(0x16a)]&&(_0x306921=_0x306921[_0x2aa870(0x29f)](_0xccfd78=>_0xccfd78[_0x2aa870(0x1a0)]()));if(_0x2ba68b[_0x2aa870(0x325)]!==![]){const _0x4bc311=_0x306921[_0x2aa870(0x287)](_0x18beeb=>({'name':_0x18beeb[_0x2aa870(0x294)](),'operation':_0x18beeb})),_0xfa9bbb=filterApiOperations(_0x4bc311);_0x306921=_0xfa9bbb[_0x2aa870(0x287)](_0x10c716=>_0x10c716[_0x2aa870(0x242)]),_0x306921=this[_0x2aa870(0x2b2)](_0x306921);}return _0x2ba68b['customFilter']&&(_0x306921=_0x306921[_0x2aa870(0x29f)](_0x2ba68b[_0x2aa870(0x2ff)])),_0x306921;}[a0_0x4dc90e(0x2b2)](_0x14c03e){const _0x3c95bf=a0_0x4dc90e,_0x2a31d7=_0x14c03e['find'](_0x445354=>_0x445354[_0x3c95bf(0x294)]()===_0x3c95bf(0x29f)),_0x47c18c=_0x14c03e[_0x3c95bf(0x29f)](_0x1d17c2=>_0x1d17c2[_0x3c95bf(0x294)]()!=='filter');return _0x2a31d7?[_0x2a31d7,..._0x47c18c]:_0x47c18c;}[a0_0x4dc90e(0x2de)](){const _0x4a8919=a0_0x4dc90e,_0xab11b9=this[_0x4a8919(0x2f5)]();return{'total':this[_0x4a8919(0x28f)](),'enabled':_0xab11b9['length'],'disabled':this[_0x4a8919(0x28f)]()-_0xab11b9[_0x4a8919(0x260)],'byType':this[_0x4a8919(0x13d)](_0xab11b9),'byMethod':this[_0x4a8919(0x269)](_0xab11b9)};}[a0_0x4dc90e(0x13d)](_0x3b4a44){const _0xe661b9=a0_0x4dc90e,_0x3e6ff6={};return _0x3b4a44[_0xe661b9(0x29d)](_0x4595e7=>{const _0x2de3ef=_0x4595e7['getType']();_0x2de3ef&&(_0x3e6ff6[_0x2de3ef]=(_0x3e6ff6[_0x2de3ef]||0x0)+0x1);}),_0x3e6ff6;}[a0_0x4dc90e(0x269)](_0xdc5cb7){const _0x57c305=a0_0x4dc90e,_0x451fcb={};return _0xdc5cb7[_0x57c305(0x29d)](_0x51b22c=>{const _0x2ec12b=_0x51b22c['getMethod']();_0x2ec12b&&(_0x451fcb[_0x2ec12b]=(_0x451fcb[_0x2ec12b]||0x0)+0x1);}),_0x451fcb;}[Symbol[a0_0x4dc90e(0x1c4)]](){const _0xeacddb=a0_0x4dc90e;return this[_0xeacddb(0x2bc)][_0xeacddb(0x14f)]();}[a0_0x4dc90e(0x25b)](){const _0x4e5c0c=a0_0x4dc90e,_0x3468a0=this[_0x4e5c0c(0x2de)]();return'OperationList('+_0x3468a0['enabled']+'/'+_0x3468a0[_0x4e5c0c(0x314)]+_0x4e5c0c(0x1ef);}}class Field{[a0_0x4dc90e(0x147)];[a0_0x4dc90e(0x1ae)]=null;constructor(_0x4d2466){const _0x3a9b68=a0_0x4dc90e;if(!_0x4d2466||typeof _0x4d2466!==_0x3a9b68(0x199))throw new Error(_0x3a9b68(0x146));this[_0x3a9b68(0x147)]=_0x4d2466;}get[a0_0x4dc90e(0x2cc)](){const _0x2e2204=a0_0x4dc90e;return this[_0x2e2204(0x147)];}[a0_0x4dc90e(0x203)](){const _0x4b0de0=a0_0x4dc90e;return this[_0x4b0de0(0x147)];}get['name'](){const _0x2a0921=a0_0x4dc90e;return this[_0x2a0921(0x147)][_0x2a0921(0x20b)]||'';}get['code'](){const _0x3117e2=a0_0x4dc90e;return this['_raw'][_0x3117e2(0x275)]||'';}get[a0_0x4dc90e(0x302)](){const _0x37e8d9=a0_0x4dc90e;return this['_raw'][_0x37e8d9(0x302)]||'';}get[a0_0x4dc90e(0x1d3)](){const _0x377112=a0_0x4dc90e;return this[_0x377112(0x147)][_0x377112(0x1d3)]||'';}get[a0_0x4dc90e(0x2d6)](){const _0x42c903=a0_0x4dc90e;return Boolean(this[_0x42c903(0x147)][_0x42c903(0x2d6)]);}get[a0_0x4dc90e(0x1dd)](){const _0x3d3fa0=a0_0x4dc90e;if(this[_0x3d3fa0(0x1ae)]!==null&&typeof this['_extend']===_0x3d3fa0(0x199))return this[_0x3d3fa0(0x1ae)];const _0xd13b49=this[_0x3d3fa0(0x147)]['extend'];if(!_0xd13b49||typeof _0xd13b49!==_0x3d3fa0(0x273))return this[_0x3d3fa0(0x1ae)]={},this[_0x3d3fa0(0x1ae)];if(_0xd13b49===_0x3d3fa0(0x144)||_0xd13b49['trim']()==='null')return this[_0x3d3fa0(0x1ae)]={},this[_0x3d3fa0(0x1ae)];try{const _0x349d27=JSON[_0x3d3fa0(0x2f0)](_0xd13b49);return this[_0x3d3fa0(0x1ae)]=_0x349d27!==null&&typeof _0x349d27==='object'&&!Array['isArray'](_0x349d27)?_0x349d27:{},this[_0x3d3fa0(0x1ae)];}catch(_0x2ecaed){return!![]&&console[_0x3d3fa0(0x1fc)](_0x3d3fa0(0x13b)+this[_0x3d3fa0(0x275)]+'\x20的\x20extend\x20配置失败:',_0x2ecaed),this['_extend']={},this['_extend'];}}[a0_0x4dc90e(0x202)](){const _0xc6b94c=a0_0x4dc90e;return Boolean(this[_0xc6b94c(0x1dd)][_0xc6b94c(0x2ad)]);}[a0_0x4dc90e(0x175)](){const _0x97fb30=a0_0x4dc90e;return Boolean(this['extend'][_0x97fb30(0x1c1)]);}[a0_0x4dc90e(0x2cf)](){const _0x1659f3=a0_0x4dc90e;return Boolean(this[_0x1659f3(0x1dd)][_0x1659f3(0x19a)]);}[a0_0x4dc90e(0x1e9)](){const _0x54ed45=a0_0x4dc90e;return!this[_0x54ed45(0x2cf)]();}['isDeleted'](){return this['deleted'];}[a0_0x4dc90e(0x30b)](){const _0x55c2bd=a0_0x4dc90e;return Boolean(this[_0x55c2bd(0x1dd)][_0x55c2bd(0x261)]);}[a0_0x4dc90e(0x2d8)](){return Boolean(this['extend']['createTime']);}['isUpdateTime'](){const _0x3a14d1=a0_0x4dc90e;return Boolean(this['extend'][_0x3a14d1(0x281)]);}[a0_0x4dc90e(0x2a4)](){const _0x2b86e0=a0_0x4dc90e,_0x6a0b13=[_0x2b86e0(0x29e),_0x2b86e0(0x282),'CHECKBOX'];return _0x6a0b13[_0x2b86e0(0x1b4)](this[_0x2b86e0(0x302)]);}[a0_0x4dc90e(0x245)](){const _0x1bb2a6=a0_0x4dc90e;return this[_0x1bb2a6(0x302)]==='CHECKBOX';}[a0_0x4dc90e(0x1ec)](){const _0x56bbd2=a0_0x4dc90e,_0x373d09=this[_0x56bbd2(0x1dd)];if(_0x373d09[_0x56bbd2(0x2ed)]&&Array[_0x56bbd2(0x220)](_0x373d09[_0x56bbd2(0x2ed)]))return _0x373d09[_0x56bbd2(0x2ed)];return;}[a0_0x4dc90e(0x191)](){const _0xb38ea2=a0_0x4dc90e,_0x517c70=this[_0xb38ea2(0x1dd)];if(_0x517c70[_0xb38ea2(0x1a2)]&&typeof _0x517c70[_0xb38ea2(0x1a2)]===_0xb38ea2(0x199))return _0x517c70['selectItemsSource'];return;}[a0_0x4dc90e(0x1bb)](){const _0x5c5780=a0_0x4dc90e;if(!this[_0x5c5780(0x2a4)]())return;const _0x34c0b2=this[_0x5c5780(0x1ec)](),_0x3c6f60=this[_0x5c5780(0x191)](),_0x559afe=[],_0x180d99={},_0x2c675b=_0x57b00a=>{const _0x48f2a2=_0x5c5780;_0x57b00a[_0x48f2a2(0x29d)](_0x58845a=>{const _0x50b9e2=_0x48f2a2;_0x559afe[_0x50b9e2(0x17a)](_0x58845a[_0x50b9e2(0x2a0)]),_0x180d99[String(_0x58845a['value'])]=_0x58845a[_0x50b9e2(0x1df)],_0x58845a['children']&&_0x58845a[_0x50b9e2(0x142)][_0x50b9e2(0x260)]>0x0&&_0x2c675b(_0x58845a[_0x50b9e2(0x142)]);});};return _0x34c0b2&&_0x34c0b2[_0x5c5780(0x260)]>0x0&&_0x2c675b(_0x34c0b2),{'code':this[_0x5c5780(0x275)],'name':this[_0x5c5780(0x20b)],'type':this[_0x5c5780(0x302)],'multiple':this[_0x5c5780(0x245)](),'options':_0x34c0b2,'selectItemsSource':_0x3c6f60,'values':_0x559afe,'valueLabels':_0x180d99};}[a0_0x4dc90e(0x290)](){const _0x42d16f=a0_0x4dc90e;return this['extend'][_0x42d16f(0x2d7)];}[a0_0x4dc90e(0x12e)](){const _0x2f86c4=a0_0x4dc90e;return this[_0x2f86c4(0x1dd)]['tooltip'];}['toJSON'](){const _0x194c21=a0_0x4dc90e;return{'name':this[_0x194c21(0x20b)],'code':this[_0x194c21(0x275)],'type':this[_0x194c21(0x302)],'description':this[_0x194c21(0x1d3)],'required':this[_0x194c21(0x202)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x194c21(0x2cf)](),'autoIncrement':this[_0x194c21(0x30b)](),'createTime':this[_0x194c21(0x2d8)](),'updateTime':this[_0x194c21(0x145)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x194c21(0x2a4)]()?this['getEnumMeta']():undefined};}}class FieldList{[a0_0x4dc90e(0x2ee)];constructor(_0xb8dd0f,_0x9291a8){const _0x36d9f3=a0_0x4dc90e;if(!Array[_0x36d9f3(0x220)](_0xb8dd0f))throw new Error(_0x36d9f3(0x162));const _0x49a986=_0x9291a8?.[_0x36d9f3(0x1ed)]??![],_0x550852=_0x49a986?_0xb8dd0f:_0xb8dd0f[_0x36d9f3(0x29f)](_0x4e8e39=>!_0x4e8e39[_0x36d9f3(0x2d6)]);this['_fields']=_0x550852[_0x36d9f3(0x287)](_0x1d244e=>new Field(_0x1d244e));}get[a0_0x4dc90e(0x260)](){const _0x346e3b=a0_0x4dc90e;return this[_0x346e3b(0x2ee)][_0x346e3b(0x260)];}['all'](){const _0x35b446=a0_0x4dc90e;return[...this[_0x35b446(0x2ee)]];}[a0_0x4dc90e(0x2cc)](){const _0x142965=a0_0x4dc90e;return this['_fields'][_0x142965(0x287)](_0x1cbdd0=>_0x1cbdd0[_0x142965(0x2cc)]);}['at'](_0x5d93d9){const _0x184e92=a0_0x4dc90e;return this[_0x184e92(0x2ee)]['at'](_0x5d93d9);}[a0_0x4dc90e(0x30e)](_0x4b50a6){const _0x11316a=a0_0x4dc90e;return this['_fields'][_0x11316a(0x30e)](_0x173857=>_0x173857[_0x11316a(0x275)]===_0x4b50a6);}[a0_0x4dc90e(0x133)](_0xbc1d7b){const _0x56207d=a0_0x4dc90e;return this[_0x56207d(0x2ee)]['find'](_0x2f3eff=>_0x2f3eff[_0x56207d(0x20b)]===_0xbc1d7b);}[a0_0x4dc90e(0x2c0)](_0x4b9d30){const _0xe9ab5b=a0_0x4dc90e;return this[_0xe9ab5b(0x2ee)]['some'](_0x3c3a13=>_0x3c3a13[_0xe9ab5b(0x275)]===_0x4b9d30);}[a0_0x4dc90e(0x29d)](_0x200dd2){const _0x268bda=a0_0x4dc90e;this[_0x268bda(0x2ee)][_0x268bda(0x29d)](_0x200dd2);}['map'](_0x115653){const _0x3a24f8=a0_0x4dc90e;return this[_0x3a24f8(0x2ee)]['map'](_0x115653);}[a0_0x4dc90e(0x29f)](_0x4e318c){const _0x3de8e7=a0_0x4dc90e;return this[_0x3de8e7(0x2ee)][_0x3de8e7(0x29f)](_0x4e318c);}[a0_0x4dc90e(0x207)](_0x20abc0){const _0x19e6d3=a0_0x4dc90e;return this[_0x19e6d3(0x2ee)]['every'](_0x20abc0);}['some'](_0x168222){const _0x2fae3a=a0_0x4dc90e;return this[_0x2fae3a(0x2ee)][_0x2fae3a(0x16e)](_0x168222);}['getRequired'](){const _0x48596e=a0_0x4dc90e;return this[_0x48596e(0x2ee)]['filter'](_0x2accb0=>_0x2accb0['isRequired']());}[a0_0x4dc90e(0x197)](){const _0xd4159=a0_0x4dc90e;return this[_0xd4159(0x2ee)][_0xd4159(0x29f)](_0x6b11e=>_0x6b11e[_0xd4159(0x175)]());}[a0_0x4dc90e(0x21b)](){const _0x5a3c9e=a0_0x4dc90e;return this[_0x5a3c9e(0x2ee)]['filter'](_0x505236=>_0x505236[_0x5a3c9e(0x2cf)]());}[a0_0x4dc90e(0x2ae)](){const _0x517a34=a0_0x4dc90e;return this[_0x517a34(0x2ee)]['filter'](_0x355822=>_0x355822[_0x517a34(0x1e9)]());}['getEnum'](){return this['_fields']['filter'](_0x4816a8=>_0x4816a8['isEnum']());}[a0_0x4dc90e(0x2d2)](){const _0x52b626=a0_0x4dc90e;return this[_0x52b626(0x2ee)]['filter'](_0x529978=>_0x529978['isAutoIncrement']());}['getCreateTime'](){const _0x1f3582=a0_0x4dc90e;return this[_0x1f3582(0x2ee)]['filter'](_0x198a44=>_0x198a44[_0x1f3582(0x2d8)]());}[a0_0x4dc90e(0x313)](){const _0x5a4ff4=a0_0x4dc90e;return this[_0x5a4ff4(0x2ee)][_0x5a4ff4(0x29f)](_0x4ce6af=>_0x4ce6af[_0x5a4ff4(0x145)]());}['getDeleted'](){const _0x59ccd8=a0_0x4dc90e;return this[_0x59ccd8(0x2ee)]['filter'](_0x210e94=>_0x210e94[_0x59ccd8(0x222)]());}['getActive'](){const _0x66692=a0_0x4dc90e;return this[_0x66692(0x2ee)][_0x66692(0x29f)](_0x59537e=>!_0x59537e[_0x66692(0x222)]());}[a0_0x4dc90e(0x1d0)](){const _0x9a35bb=a0_0x4dc90e,_0x35dbdd={};return this[_0x9a35bb(0x2ee)][_0x9a35bb(0x29d)](_0x3fd5d7=>{const _0x5ba7d1=_0x9a35bb,_0x51fe3c=_0x3fd5d7[_0x5ba7d1(0x302)];!_0x35dbdd[_0x51fe3c]&&(_0x35dbdd[_0x51fe3c]=[]),_0x35dbdd[_0x51fe3c][_0x5ba7d1(0x17a)](_0x3fd5d7);}),_0x35dbdd;}[a0_0x4dc90e(0x27d)](){const _0x3232fa=a0_0x4dc90e,_0x2f7142={};return this[_0x3232fa(0x2ee)][_0x3232fa(0x29d)](_0x3884f9=>{const _0x1d37fb=_0x3232fa;if(_0x3884f9[_0x1d37fb(0x2a4)]()){const _0x25b3dc=_0x3884f9[_0x1d37fb(0x1bb)]();_0x25b3dc&&(_0x2f7142[_0x3884f9[_0x1d37fb(0x275)]]=_0x25b3dc);}}),_0x2f7142;}[a0_0x4dc90e(0x2de)](){const _0x22d6cc=a0_0x4dc90e;return{'total':this['length'],'required':this[_0x22d6cc(0x138)]()[_0x22d6cc(0x260)],'primaryKey':this[_0x22d6cc(0x197)]()[_0x22d6cc(0x260)],'system':this[_0x22d6cc(0x21b)]()['length'],'business':this[_0x22d6cc(0x2ae)]()[_0x22d6cc(0x260)],'enum':this[_0x22d6cc(0x1f9)]()[_0x22d6cc(0x260)],'autoIncrement':this[_0x22d6cc(0x2d2)]()['length']};}[a0_0x4dc90e(0x235)](){const _0x18574f=a0_0x4dc90e;return this['_fields'][_0x18574f(0x287)](_0x920a1e=>_0x920a1e[_0x18574f(0x235)]());}['getCodes'](){const _0x1012b7=a0_0x4dc90e;return this['_fields'][_0x1012b7(0x287)](_0x528616=>_0x528616[_0x1012b7(0x275)]);}[a0_0x4dc90e(0x250)](){const _0x3bc682=a0_0x4dc90e;return this[_0x3bc682(0x2ee)][_0x3bc682(0x287)](_0x4b4a7b=>_0x4b4a7b[_0x3bc682(0x20b)]);}static[a0_0x4dc90e(0x135)](_0x297a14){const _0xd10c6d=a0_0x4dc90e,_0x493bbc=_0x297a14[_0xd10c6d(0x287)](_0x170354=>_0x170354[_0xd10c6d(0x2cc)]);return new FieldList(_0x493bbc);}static[a0_0x4dc90e(0x2b1)](_0x1e5648){return new FieldList(_0x1e5648,{'includeDeleted':!![]});}}class DrivenDataDetail extends DatasetItem{[a0_0x4dc90e(0x196)];['_fieldList'];[a0_0x4dc90e(0x30f)];constructor(_0x46a71b){const _0x2290b1=a0_0x4dc90e;super({..._0x46a71b,'id':_0x46a71b[_0x2290b1(0x158)],'datasetCode':_0x46a71b['modelCode']});}get[a0_0x4dc90e(0x259)](){const _0x53d246=a0_0x4dc90e;return this[_0x53d246(0x147)][_0x53d246(0x259)];}[a0_0x4dc90e(0x226)](){const _0x4b5277=a0_0x4dc90e;return this[_0x4b5277(0x259)];}get[a0_0x4dc90e(0x229)](){const _0x21ef12=a0_0x4dc90e;return this[_0x21ef12(0x147)][_0x21ef12(0x229)];}['getFieldList'](){const _0x392f19=a0_0x4dc90e;return!this[_0x392f19(0x2d3)]&&(this[_0x392f19(0x2d3)]=new FieldList(this[_0x392f19(0x147)]['properties']||[])),this[_0x392f19(0x2d3)];}[a0_0x4dc90e(0x12a)](){const _0x23fd32=a0_0x4dc90e;return!this[_0x23fd32(0x30f)]&&(this[_0x23fd32(0x30f)]=FieldList[_0x23fd32(0x2b1)](this[_0x23fd32(0x147)][_0x23fd32(0x2e1)]||[])),this[_0x23fd32(0x30f)];}[a0_0x4dc90e(0x1f6)](){const _0xa390f7=a0_0x4dc90e;return this[_0xa390f7(0x2e3)]()[_0xa390f7(0x2cc)]();}['getFieldsWithDeleted'](){const _0x4557b8=a0_0x4dc90e;return this[_0x4557b8(0x147)][_0x4557b8(0x2e1)]||[];}[a0_0x4dc90e(0x141)](){const _0x45b053=a0_0x4dc90e;return this[_0x45b053(0x2e3)]()[_0x45b053(0x260)];}[a0_0x4dc90e(0x1dc)](_0x44e8c7){const _0x52015d=a0_0x4dc90e,_0x5a1128=this[_0x52015d(0x1ba)](_0x44e8c7);return _0x5a1128?_0x5a1128[_0x52015d(0x2cc)]:undefined;}[a0_0x4dc90e(0x13a)](_0x548eb1){const _0x2ffd7d=a0_0x4dc90e;return this[_0x2ffd7d(0x2e3)]()[_0x2ffd7d(0x30e)](_0x548eb1)?.['raw']||undefined;}[a0_0x4dc90e(0x1ba)](_0x32bd9a){const _0x4a0407=a0_0x4dc90e;if(typeof _0x32bd9a!==_0x4a0407(0x273)){!![]&&console[_0x4a0407(0x1fc)]('[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x32bd9a);return;}return this[_0x4a0407(0x2e3)]()['find'](_0x32bd9a);}[a0_0x4dc90e(0x15d)](_0x303f03){const _0x24904c=a0_0x4dc90e;return this['getFieldList']()[_0x24904c(0x2c0)](_0x303f03);}['parseFieldExtend'](_0x417371){const _0x4a586e=a0_0x4dc90e;if(!_0x417371||typeof _0x417371!=='object')return!![]&&console['warn'](_0x4a586e(0x270),_0x417371),{};if(!_0x417371[_0x4a586e(0x1dd)])return{};try{const _0x7f94e=typeof _0x417371[_0x4a586e(0x1dd)]===_0x4a586e(0x273)?JSON[_0x4a586e(0x2f0)](_0x417371[_0x4a586e(0x1dd)]):_0x417371[_0x4a586e(0x1dd)];if(typeof _0x7f94e!=='object'||_0x7f94e===null)return{};return _0x7f94e;}catch(_0xcce786){return{};}}[a0_0x4dc90e(0x320)](_0x3cd0cf){const _0x4d7271=a0_0x4dc90e;if(!_0x3cd0cf||typeof _0x3cd0cf!==_0x4d7271(0x199))return![];const _0x1c6869=this['getFieldList']()[_0x4d7271(0x30e)](_0x3cd0cf['code']);return _0x1c6869?_0x1c6869[_0x4d7271(0x175)]():![];}[a0_0x4dc90e(0x239)](_0x175f63){const _0x34cbd1=a0_0x4dc90e;if(!_0x175f63||typeof _0x175f63!=='object')return![];const _0x123eb4=this[_0x34cbd1(0x2e3)]()[_0x34cbd1(0x30e)](_0x175f63[_0x34cbd1(0x275)]);return _0x123eb4?_0x123eb4[_0x34cbd1(0x2cf)]():![];}[a0_0x4dc90e(0x22f)](_0x11a3b9){const _0x151794=a0_0x4dc90e;if(!_0x11a3b9||typeof _0x11a3b9!==_0x151794(0x199))return![];const _0x4c6934=this[_0x151794(0x2e3)]()[_0x151794(0x30e)](_0x11a3b9[_0x151794(0x275)]);return _0x4c6934?_0x4c6934['isRequired']():![];}['getPrimaryKeyFields'](){const _0x1bf38f=a0_0x4dc90e;return this[_0x1bf38f(0x2e3)]()['getPrimaryKeys']()[_0x1bf38f(0x287)](_0x4a32db=>_0x4a32db[_0x1bf38f(0x2cc)]);}[a0_0x4dc90e(0x1ce)](){const _0x43fa12=a0_0x4dc90e;return this[_0x43fa12(0x2e3)]()[_0x43fa12(0x21b)]()[_0x43fa12(0x287)](_0x82ca37=>_0x82ca37[_0x43fa12(0x2cc)]);}[a0_0x4dc90e(0x1be)](){const _0x5a33ce=a0_0x4dc90e;return this[_0x5a33ce(0x2e3)]()[_0x5a33ce(0x2ae)]()[_0x5a33ce(0x287)](_0x5f4249=>_0x5f4249['raw']);}[a0_0x4dc90e(0x1b8)](){const _0x431ac=a0_0x4dc90e;return this[_0x431ac(0x2e3)]()[_0x431ac(0x138)]()[_0x431ac(0x287)](_0x24474e=>_0x24474e[_0x431ac(0x2cc)]);}['getFieldsByType'](){const _0x3676cf=a0_0x4dc90e,_0xf00244=this['getFieldList']()[_0x3676cf(0x1d0)](),_0x56548d={};for(const [_0x114480,_0x48a973]of Object[_0x3676cf(0x1a4)](_0xf00244)){_0x56548d[_0x114480]=_0x48a973['map'](_0x378cc5=>_0x378cc5[_0x3676cf(0x2cc)]);}return _0x56548d;}[a0_0x4dc90e(0x2be)](_0x583a3c){const _0x11e9f8=a0_0x4dc90e;if(!_0x583a3c||typeof _0x583a3c!==_0x11e9f8(0x199))return![];const _0x237be7=this[_0x11e9f8(0x2e3)]()[_0x11e9f8(0x30e)](_0x583a3c[_0x11e9f8(0x275)]);return _0x237be7?_0x237be7[_0x11e9f8(0x2a4)]():![];}[a0_0x4dc90e(0x1d7)](_0x4b65c6){const _0x72c20f=a0_0x4dc90e;if(!_0x4b65c6||typeof _0x4b65c6!=='object')return![];const _0xe6847=this[_0x72c20f(0x2e3)]()[_0x72c20f(0x30e)](_0x4b65c6[_0x72c20f(0x275)]);return _0xe6847?_0xe6847['isMultipleSelect']():![];}[a0_0x4dc90e(0x152)](_0x5d6de0){const _0x220935=a0_0x4dc90e;if(!_0x5d6de0||typeof _0x5d6de0!=='object')return[];const _0x5dc5f7=this[_0x220935(0x2e3)]()['find'](_0x5d6de0[_0x220935(0x275)]);if(!_0x5dc5f7||!_0x5dc5f7[_0x220935(0x2a4)]())return[];return _0x5dc5f7[_0x220935(0x1ec)]()||[];}[a0_0x4dc90e(0x166)](_0x49629e){const _0x3b67c2=a0_0x4dc90e;if(!_0x49629e||typeof _0x49629e!==_0x3b67c2(0x199))return;const _0xf42f00=this[_0x3b67c2(0x2e3)]()[_0x3b67c2(0x30e)](_0x49629e[_0x3b67c2(0x275)]);if(!_0xf42f00||!_0xf42f00[_0x3b67c2(0x2a4)]())return;return _0xf42f00[_0x3b67c2(0x191)]();}[a0_0x4dc90e(0x1f1)](_0x2b620e){const _0x4348f8=a0_0x4dc90e;if(!_0x2b620e||typeof _0x2b620e!==_0x4348f8(0x199))return;const _0x1a6705=this[_0x4348f8(0x2e3)]()[_0x4348f8(0x30e)](_0x2b620e[_0x4348f8(0x275)]);if(!_0x1a6705||!_0x1a6705[_0x4348f8(0x2a4)]())return;return _0x1a6705[_0x4348f8(0x1bb)]();}[a0_0x4dc90e(0x280)](){const _0x5a3faa=a0_0x4dc90e;return this[_0x5a3faa(0x2e3)]()[_0x5a3faa(0x1f9)]()[_0x5a3faa(0x287)](_0x2f494d=>_0x2f494d['raw']);}['getEnumFieldsMeta'](){const _0x26a90d=a0_0x4dc90e,_0x2fc16c={};return this['getEnumFields']()[_0x26a90d(0x29d)](_0x259027=>{const _0x5f22a7=_0x26a90d,_0xef4f61=this[_0x5f22a7(0x1f1)](_0x259027);_0xef4f61&&(_0x2fc16c[_0x259027[_0x5f22a7(0x275)]]=_0xef4f61);}),_0x2fc16c;}['validateEnumValue'](_0x594253,_0x3791b6){const _0xba586f=a0_0x4dc90e,_0x6c81e3=this[_0xba586f(0x1f1)](_0x594253);if(!_0x6c81e3)return!![];if(_0x6c81e3['selectItemsSource']&&!_0x6c81e3[_0xba586f(0x2ed)])return!![];if(_0x6c81e3[_0xba586f(0x213)]&&Array[_0xba586f(0x220)](_0x3791b6))return _0x3791b6[_0xba586f(0x207)](_0x3eb3da=>_0x6c81e3[_0xba586f(0x14f)]['includes'](_0x3eb3da));return _0x6c81e3[_0xba586f(0x14f)][_0xba586f(0x1b4)](_0x3791b6);}[a0_0x4dc90e(0x286)](){const _0x1c2f16=a0_0x4dc90e;if(!this[_0x1c2f16(0x196)]){const _0x412dac=this[_0x1c2f16(0x284)](this['_raw']['operations']||{});this[_0x1c2f16(0x196)]=new OperationList(_0x412dac,{'fields':this[_0x1c2f16(0x1f6)](),'pkField':this['_raw'][_0x1c2f16(0x14d)]?.[_0x1c2f16(0x1f0)],'dbtableConfig':this[_0x1c2f16(0x147)][_0x1c2f16(0x14d)]});}return this['_operationList'];}[a0_0x4dc90e(0x284)](_0x2c1e7c){const _0x4588aa=a0_0x4dc90e;if(_0x2c1e7c[_0x4588aa(0x29f)]!==undefined)return _0x2c1e7c;return{..._0x2c1e7c,'filter':this[_0x4588aa(0x2c5)]()};}[a0_0x4dc90e(0x2c5)](){const _0x17bd65=a0_0x4dc90e,_0x4217cf=this[_0x17bd65(0x147)][_0x17bd65(0x31b)]?.[_0x17bd65(0x17b)];let _0x2c2cbc=_0x4217cf?.[_0x17bd65(0x247)],_0x202319='';if(!_0x2c2cbc&&this['_raw'][_0x17bd65(0x31b)]){const _0x37f95b=Object[_0x17bd65(0x14f)](this['_raw'][_0x17bd65(0x31b)]);for(const _0x49d1ed of _0x37f95b){if(_0x49d1ed&&typeof _0x49d1ed===_0x17bd65(0x199)&&_0x17bd65(0x247)in _0x49d1ed){_0x2c2cbc=_0x49d1ed['host'];break;}}}if(_0x4217cf?.[_0x17bd65(0x2e6)]){const _0x56daa3=_0x4217cf[_0x17bd65(0x2e6)],_0x469910=_0x56daa3['lastIndexOf']('/');_0x469910!==-0x1&&(_0x202319=_0x56daa3[_0x17bd65(0x16f)](0x0,_0x469910));}return{'name':_0x17bd65(0x29f),'type':_0x17bd65(0x149),'description':'Filter\x20API\x20-\x20高级查询接口','method':_0x17bd65(0x246),'host':_0x2c2cbc,'path':_0x202319?_0x202319+_0x17bd65(0x15e):_0x17bd65(0x15e),'params':_0x4217cf?.['params']||[{'name':_0x17bd65(0x258),'type':'object','required':![]},{'name':'select','type':_0x17bd65(0x291),'required':![]},{'name':_0x17bd65(0x134),'type':_0x17bd65(0x291),'required':![]},{'name':_0x17bd65(0x1c5),'type':_0x17bd65(0x257),'required':![],'default':0x1},{'name':_0x17bd65(0x181),'type':_0x17bd65(0x257),'required':![],'default':0xa}],'_autoGenerated':!![]};}[a0_0x4dc90e(0x28e)](){const _0x1c6891=a0_0x4dc90e;return this[_0x1c6891(0x286)]()[_0x1c6891(0x236)]();}[a0_0x4dc90e(0x26c)](){const _0x42fa01=a0_0x4dc90e;return this[_0x42fa01(0x286)]()[_0x42fa01(0x28f)]();}[a0_0x4dc90e(0x1b6)](_0x13f05c){const _0x4a4ae6=a0_0x4dc90e;if(typeof _0x13f05c!==_0x4a4ae6(0x273)){!![]&&console[_0x4a4ae6(0x1fc)](_0x4a4ae6(0x2aa),_0x13f05c);return;}return this[_0x4a4ae6(0x286)]()[_0x4a4ae6(0x24f)](_0x13f05c);}[a0_0x4dc90e(0x2bd)](_0x16dd73){const _0x5474a2=a0_0x4dc90e;if(typeof _0x16dd73!==_0x5474a2(0x273))return![];return this['getOperationList']()['has'](_0x16dd73);}[a0_0x4dc90e(0x17d)](_0x43a726){const _0x276f42=a0_0x4dc90e;if(typeof _0x43a726!==_0x276f42(0x273))return![];const _0x5e11a9=this['getOperation'](_0x43a726);return _0x5e11a9?.[_0x276f42(0x1a0)]()||![];}[a0_0x4dc90e(0x264)](){const _0x45345c=a0_0x4dc90e;return this[_0x45345c(0x286)]()[_0x45345c(0x178)]();}['getDisabledOperations'](){const _0xcef581=a0_0x4dc90e;return this['getOperationList']()[_0xcef581(0x1a8)]();}[a0_0x4dc90e(0x1af)](){const _0x32a502=a0_0x4dc90e;return this[_0x32a502(0x286)]()['getEnabled']();}['getDisabledOperationInstances'](){const _0x345b2a=a0_0x4dc90e;return this['getOperationList']()[_0x345b2a(0x21a)]();}[a0_0x4dc90e(0x2de)](){const _0x2ebb5d=a0_0x4dc90e;return{'fieldCount':this[_0x2ebb5d(0x141)](),'systemFieldCount':this[_0x2ebb5d(0x1ce)]()[_0x2ebb5d(0x260)],'businessFieldCount':this['getBusinessFields']()['length'],'requiredFieldCount':this[_0x2ebb5d(0x1b8)]()['length'],'primaryKeyCount':this[_0x2ebb5d(0x1e2)]()[_0x2ebb5d(0x260)],'operationCount':this[_0x2ebb5d(0x26c)](),'enabledOperationCount':this[_0x2ebb5d(0x264)]()[_0x2ebb5d(0x260)]};}[a0_0x4dc90e(0x315)](){const _0x13bd3b=a0_0x4dc90e;return new DatasetItem({'id':this['id'],'name':this[_0x13bd3b(0x20b)],'datasetCode':this[_0x13bd3b(0x297)],'dbtableConfig':this[_0x13bd3b(0x171)]()});}[a0_0x4dc90e(0x25b)](){const _0x27b8de=a0_0x4dc90e;return'DrivenDataDetail('+this[_0x27b8de(0x20b)]+',\x20'+this[_0x27b8de(0x297)]+',\x20'+this[_0x27b8de(0x141)]()+'\x20fields,\x20'+this[_0x27b8de(0x26c)]()+_0x27b8de(0x1ef);}[a0_0x4dc90e(0x14a)](){const _0x5a8862=a0_0x4dc90e,_0x153f2b=this[_0x5a8862(0x1b6)]('filter');return _0x153f2b;}[a0_0x4dc90e(0x20e)](){const _0x105eb9=a0_0x4dc90e;return this[_0x105eb9(0x2bd)](_0x105eb9(0x29f));}[a0_0x4dc90e(0x194)](_0x35e324){const _0x555240=this['getOperation'](_0x35e324);return _0x555240?_0x555240['getOperators']():[];}[a0_0x4dc90e(0x13e)](_0xdf153b,_0x766b56){const _0x2f4a73=a0_0x4dc90e,_0x25b14a=this[_0x2f4a73(0x1b6)](_0xdf153b);return _0x25b14a?_0x25b14a['getFieldOperators'](_0x766b56):[];}[a0_0x4dc90e(0x180)](_0x413646){const _0x38de73=a0_0x4dc90e,_0x1a2c50={};return this[_0x38de73(0x2e3)]()[_0x38de73(0x29d)](_0x12ebf9=>{const _0x62b6bc=_0x38de73,_0x376db7=this[_0x62b6bc(0x13e)](_0x413646,_0x12ebf9['code']);_0x376db7[_0x62b6bc(0x260)]>0x0&&(_0x1a2c50[_0x12ebf9[_0x62b6bc(0x275)]]=_0x376db7);}),_0x1a2c50;}[a0_0x4dc90e(0x164)](_0x358850,_0xa2e158,_0x504ef9){const _0xf5d785=a0_0x4dc90e,_0x319946=this[_0xf5d785(0x13e)](_0x358850,_0xa2e158);return _0x319946['includes'](_0x504ef9);}['getFilterOperators'](){const _0x33f5a5=a0_0x4dc90e;return this['getOperationOperators'](_0x33f5a5(0x29f));}[a0_0x4dc90e(0x317)](_0x3a0267){const _0x1cc2fd=a0_0x4dc90e;return this[_0x1cc2fd(0x13e)](_0x1cc2fd(0x29f),_0x3a0267);}[a0_0x4dc90e(0x22c)](){const _0x55e2e1=a0_0x4dc90e;return this['getOperationFieldsOperatorsMap'](_0x55e2e1(0x29f));}}class DatasetGroup{[a0_0x4dc90e(0x2c1)];constructor(_0x12585a){const _0x27506f=a0_0x4dc90e;this[_0x27506f(0x2c1)]=Array[_0x27506f(0x220)](_0x12585a)?[..._0x12585a]:[_0x12585a],this[_0x27506f(0x2c1)][_0x27506f(0x18b)]((_0x26950d,_0x2a00e7)=>{const _0x3e1f69=Number(_0x26950d['id'])||0x0,_0x27c6c9=Number(_0x2a00e7['id'])||0x0;return _0x27c6c9-_0x3e1f69;});}[a0_0x4dc90e(0x170)](){const _0x55d4cf=a0_0x4dc90e;return this[_0x55d4cf(0x2c1)][_0x55d4cf(0x260)]>0x1;}[a0_0x4dc90e(0x184)](){const _0x5b9d8d=a0_0x4dc90e;return this[_0x5b9d8d(0x2c1)][0x0];}[a0_0x4dc90e(0x22e)](){const _0x1ab01f=a0_0x4dc90e;return this[_0x1ab01f(0x2c1)][this['items'][_0x1ab01f(0x260)]-0x1];}[a0_0x4dc90e(0x308)](){const _0x4a059c=a0_0x4dc90e;return[...this[_0x4a059c(0x2c1)]];}[a0_0x4dc90e(0x1a5)](){const _0x573e1a=a0_0x4dc90e;return this['items'][_0x573e1a(0x260)];}[a0_0x4dc90e(0x267)](_0x87453f){const _0x9db652=a0_0x4dc90e;return this[_0x9db652(0x2c1)][_0x87453f];}[a0_0x4dc90e(0x29c)](_0x719f43){const _0x2761c3=a0_0x4dc90e;return this['items'][_0x2761c3(0x30e)](_0x886a2b=>_0x886a2b['id']===_0x719f43);}[a0_0x4dc90e(0x1ea)](_0x1057a4){const _0x1e534d=a0_0x4dc90e;return this[_0x1e534d(0x2c1)][_0x1e534d(0x30e)](_0xf9adeb=>_0xf9adeb[_0x1e534d(0x297)]===_0x1057a4);}[a0_0x4dc90e(0x2b0)](){const _0x51af9b=a0_0x4dc90e;return this['items'][_0x51af9b(0x287)](_0x381f4f=>_0x381f4f['id'])[_0x51af9b(0x29f)](_0x596c87=>_0x596c87!==undefined);}[a0_0x4dc90e(0x233)](){const _0x511a9d=a0_0x4dc90e;return this['items'][_0x511a9d(0x287)](_0x2f696a=>_0x2f696a['datasetCode']);}[a0_0x4dc90e(0x25b)](){const _0x2c1fba=a0_0x4dc90e;if(this[_0x2c1fba(0x170)]())return _0x2c1fba(0x2a7)+this[_0x2c1fba(0x2c1)][_0x2c1fba(0x260)]+_0x2c1fba(0x19e)+this[_0x2c1fba(0x184)]()['name']+')';return'DatasetGroup('+this[_0x2c1fba(0x2c1)][0x0]['name']+')';}}class DatasetGroupMap{['groups'];constructor(_0x566c1f){const _0x30cd94=a0_0x4dc90e;this[_0x30cd94(0x311)]=new Map();for(const _0x36e8d8 of _0x566c1f){const _0x298ca7=getTableKey(_0x36e8d8);if(!this['groups']['has'](_0x298ca7))this['groups'][_0x30cd94(0x2fc)](_0x298ca7,new DatasetGroup(_0x36e8d8));else{const _0x192243=this['groups'][_0x30cd94(0x24f)](_0x298ca7),_0x3b30af=[..._0x192243[_0x30cd94(0x308)](),_0x36e8d8];this[_0x30cd94(0x311)][_0x30cd94(0x2fc)](_0x298ca7,new DatasetGroup(_0x3b30af));}}}[a0_0x4dc90e(0x24f)](_0x158a2a){const _0x5f879c=a0_0x4dc90e;return this[_0x5f879c(0x311)][_0x5f879c(0x24f)](_0x158a2a);}[a0_0x4dc90e(0x2c0)](_0x5bcfab){const _0x5d2085=a0_0x4dc90e;return this[_0x5d2085(0x311)][_0x5d2085(0x2c0)](_0x5bcfab);}get[a0_0x4dc90e(0x28f)](){const _0x3585e9=a0_0x4dc90e;return this[_0x3585e9(0x311)][_0x3585e9(0x28f)];}[a0_0x4dc90e(0x2c6)](){const _0x1061c4=a0_0x4dc90e;return this['groups'][_0x1061c4(0x2c6)]();}[a0_0x4dc90e(0x14f)](){const _0x5c8194=a0_0x4dc90e;return this['groups'][_0x5c8194(0x14f)]();}['entries'](){const _0x1f7bf6=a0_0x4dc90e;return this[_0x1f7bf6(0x311)][_0x1f7bf6(0x1a4)]();}[Symbol[a0_0x4dc90e(0x1c4)]](){const _0x4e5112=a0_0x4dc90e;return this[_0x4e5112(0x311)][_0x4e5112(0x1a4)]();}['forEach'](_0x2b6d35){const _0x50f13e=a0_0x4dc90e;this['groups'][_0x50f13e(0x29d)]((_0x29eebe,_0x22ea01)=>_0x2b6d35(_0x29eebe,_0x22ea01,this));}[a0_0x4dc90e(0x26d)](){const _0x559409=a0_0x4dc90e,_0x1f3c37=new Map();for(const [_0x17b9dd,_0xa5e860]of this['groups']){_0xa5e860[_0x559409(0x170)]()&&_0x1f3c37[_0x559409(0x2fc)](_0x17b9dd,_0xa5e860);}return _0x1f3c37;}[a0_0x4dc90e(0x2af)](){const _0x5d1f2b=a0_0x4dc90e;for(const _0x1ac642 of this[_0x5d1f2b(0x311)][_0x5d1f2b(0x14f)]()){if(_0x1ac642[_0x5d1f2b(0x170)]())return!![];}return![];}['getConflictStats'](){const _0x1a9e0f=a0_0x4dc90e;let _0x38076f=0x0,_0x54a3dc=0x0;for(const _0x4bcb1c of this[_0x1a9e0f(0x311)]['values']()){_0x4bcb1c[_0x1a9e0f(0x170)]()&&(_0x38076f++,_0x54a3dc+=_0x4bcb1c['getCount']());}return{'conflictGroupCount':_0x38076f,'conflictItemCount':_0x54a3dc,'totalGroups':this[_0x1a9e0f(0x311)][_0x1a9e0f(0x28f)]};}[a0_0x4dc90e(0x28b)](){const _0x4c7701=a0_0x4dc90e,_0x5c3b83=[];for(const _0x21fba7 of this[_0x4c7701(0x311)][_0x4c7701(0x14f)]()){_0x5c3b83[_0x4c7701(0x17a)](..._0x21fba7[_0x4c7701(0x308)]());}return _0x5c3b83;}[a0_0x4dc90e(0x1bc)](){const _0x1fea1d=a0_0x4dc90e,_0x29a167=[];for(const _0x23a6c0 of this['groups']['values']()){_0x29a167[_0x1fea1d(0x17a)](_0x23a6c0['getLatest']());}return _0x29a167;}[a0_0x4dc90e(0x184)](_0x3a89e4){const _0x141597=a0_0x4dc90e;return this[_0x141597(0x311)][_0x141597(0x24f)](_0x3a89e4)?.[_0x141597(0x184)]();}[a0_0x4dc90e(0x308)](_0x36390c){const _0x561bbf=a0_0x4dc90e;return this[_0x561bbf(0x311)]['get'](_0x36390c)?.[_0x561bbf(0x308)]()||[];}['toConfig'](){const _0x78d8d1=a0_0x4dc90e,_0x523984=this['getLatestDatasets'](),_0x58849d=_0x523984[_0x78d8d1(0x287)](_0xb032c8=>_0xb032c8[_0x78d8d1(0x235)]());return generateDatasetsConfig(_0x58849d,{'enableDeduplication':![]});}['toFullConfig'](){const _0x103d31=a0_0x4dc90e,_0x2e0ad7=this[_0x103d31(0x28b)](),_0xbfdbf9=_0x2e0ad7[_0x103d31(0x287)](_0x47e473=>_0x47e473[_0x103d31(0x235)]());return generateFullDatasetsConfig(_0xbfdbf9);}[a0_0x4dc90e(0x1bd)](){const _0x22c91c=a0_0x4dc90e,_0xbc5614={};for(const [_0x455655,_0x546ade]of this[_0x22c91c(0x311)]){_0xbc5614[_0x455655]=_0x546ade;}return _0xbc5614;}[a0_0x4dc90e(0x235)](){const _0xeebf3f=a0_0x4dc90e,_0x3a22ad={};for(const [_0xc6b256,_0x2b66bf]of this[_0xeebf3f(0x311)]){_0x3a22ad[_0xc6b256]=_0x2b66bf[_0xeebf3f(0x308)]()['map'](_0x38e7f8=>_0x38e7f8[_0xeebf3f(0x235)]());}return _0x3a22ad;}[a0_0x4dc90e(0x25b)](){const _0x3c8068=a0_0x4dc90e;return _0x3c8068(0x2a6)+this[_0x3c8068(0x311)][_0x3c8068(0x28f)]+'\x20groups,\x20'+(this[_0x3c8068(0x2af)]()?'has\x20conflicts':_0x3c8068(0x22d))+')';}}class DatasetList{['_datasetMap'];constructor(_0xe59749){const _0x225d76=a0_0x4dc90e;let _0x1b053e;if(Array[_0x225d76(0x220)](_0xe59749))_0x1b053e=_0xe59749;else{if(_0x225d76(0x23a)in _0xe59749){if(!_0xe59749[_0x225d76(0x23a)]||!_0xe59749['data']?.[_0x225d76(0x2e2)])throw new Error(_0x225d76(0x1d2));_0x1b053e=_0xe59749[_0x225d76(0x263)][_0x225d76(0x2e2)][_0x225d76(0x287)](_0x3e6c01=>({..._0x3e6c01,'datasetCode':_0x3e6c01[_0x225d76(0x275)]||_0x3e6c01[_0x225d76(0x297)]}));}else{if('tableData'in _0xe59749){if(!Array[_0x225d76(0x220)](_0xe59749['tableData']))throw new Error(_0x225d76(0x2a8));_0x1b053e=_0xe59749[_0x225d76(0x2e2)][_0x225d76(0x287)](_0x4235f0=>({..._0x4235f0,'datasetCode':_0x4235f0[_0x225d76(0x275)]||_0x4235f0[_0x225d76(0x297)]}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse');}}const _0x5664b6=_0x1b053e[_0x225d76(0x287)](_0x40b4fb=>new DatasetItem(_0x40b4fb));this[_0x225d76(0x1c0)]=new DatasetGroupMap(_0x5664b6);}get['datasetMap'](){return this['_datasetMap'];}['getItems'](){const _0x10ba62=a0_0x4dc90e;return this['_datasetMap'][_0x10ba62(0x28b)]();}[a0_0x4dc90e(0x1a5)](){const _0xa59c09=a0_0x4dc90e;return this['getItems']()[_0xa59c09(0x260)];}[a0_0x4dc90e(0x1e8)](){const _0x4f173c=a0_0x4dc90e;return this['_datasetMap'][_0x4f173c(0x28f)]===0x0;}[a0_0x4dc90e(0x267)](_0x4f6b58){const _0x5a7b42=a0_0x4dc90e;return this[_0x5a7b42(0x1b9)]()[_0x4f6b58];}[a0_0x4dc90e(0x2c2)](){const _0x2f322e=a0_0x4dc90e;return this[_0x2f322e(0x1b9)]()[0x0];}[a0_0x4dc90e(0x289)](){const _0x20492a=a0_0x4dc90e,_0x30018f=this[_0x20492a(0x1b9)]();return _0x30018f[_0x30018f[_0x20492a(0x260)]-0x1];}[a0_0x4dc90e(0x1ea)](_0x225d4b){const _0xf13f7b=a0_0x4dc90e;for(const _0x1434ef of this[_0xf13f7b(0x1c0)][_0xf13f7b(0x14f)]()){const _0x521dc0=_0x1434ef[_0xf13f7b(0x1ea)](_0x225d4b);if(_0x521dc0)return _0x521dc0;}return;}['findByName'](_0x430ac5){const _0x5577cb=a0_0x4dc90e;return this['getItems']()['find'](_0x290701=>_0x290701[_0x5577cb(0x20b)]===_0x430ac5);}[a0_0x4dc90e(0x29c)](_0x1f4855){const _0x4b43e7=a0_0x4dc90e;for(const _0x173a53 of this[_0x4b43e7(0x1c0)][_0x4b43e7(0x14f)]()){const _0x3437c6=_0x173a53[_0x4b43e7(0x29c)](_0x1f4855);if(_0x3437c6)return _0x3437c6;}return;}[a0_0x4dc90e(0x2ef)](_0x58e9fc){const _0x5b4efb=a0_0x4dc90e,_0x3db529=getTableKey(_0x58e9fc);return this[_0x5b4efb(0x1c0)]['getLatest'](_0x3db529);}['filter'](_0x4e974d){const _0x51b66d=a0_0x4dc90e,_0x50dc39=this[_0x51b66d(0x1b9)]()[_0x51b66d(0x29f)](_0x4e974d);return new DatasetList(_0x50dc39['map'](_0x496572=>_0x496572[_0x51b66d(0x235)]()));}[a0_0x4dc90e(0x27b)](_0x86caa0){const _0x56d47b=a0_0x4dc90e;return this[_0x56d47b(0x1b9)]()['filter'](_0x86caa0);}[a0_0x4dc90e(0x29d)](_0x1a3047){const _0x30c983=a0_0x4dc90e;this[_0x30c983(0x1b9)]()['forEach'](_0x1a3047);}[a0_0x4dc90e(0x287)](_0x2c1e00){const _0x31bd4c=a0_0x4dc90e;return this['getItems']()[_0x31bd4c(0x287)](_0x2c1e00);}[Symbol[a0_0x4dc90e(0x1c4)]](){const _0x3a9876=a0_0x4dc90e;return this[_0x3a9876(0x1b9)]()[Symbol[_0x3a9876(0x1c4)]]();}[a0_0x4dc90e(0x27a)](){const _0x186278=a0_0x4dc90e;return this[_0x186278(0x1b9)]()['filter'](_0x5b535=>_0x5b535[_0x186278(0x1f8)]());}['getRealTables'](){const _0x3d30d0=a0_0x4dc90e;return this[_0x3d30d0(0x1b9)]()[_0x3d30d0(0x29f)](_0x4ea7f6=>!_0x4ea7f6[_0x3d30d0(0x1f8)]());}[a0_0x4dc90e(0x1c6)](){const _0x3f3022=a0_0x4dc90e,_0x645e10={};for(const _0x44bef1 of this[_0x3f3022(0x1c0)]['values']()){const _0xec95f5=_0x44bef1['getLatest']()[_0x3f3022(0x30c)]();_0x645e10[_0xec95f5]=_0x44bef1[_0x3f3022(0x308)]();}return _0x645e10;}[a0_0x4dc90e(0x12c)](){const _0x50835e=a0_0x4dc90e,_0xe26a6e={};for(const _0x46d371 of this[_0x50835e(0x1c0)][_0x50835e(0x26d)]()[_0x50835e(0x14f)]()){const _0x5a4df4=_0x46d371['getLatest']()[_0x50835e(0x30c)]();_0xe26a6e[_0x5a4df4]=_0x46d371['getAll']()[_0x50835e(0x287)](_0x595d8c=>_0x595d8c[_0x50835e(0x235)]());}return{'hasConflicts':Object[_0x50835e(0x2c6)](_0xe26a6e)[_0x50835e(0x260)]>0x0,'conflicts':_0xe26a6e};}[a0_0x4dc90e(0x2af)](){const _0x2611b7=a0_0x4dc90e;return this[_0x2611b7(0x1c0)][_0x2611b7(0x2af)]();}[a0_0x4dc90e(0x24e)](){const _0xb6326f=a0_0x4dc90e,_0x65a586=[];for(const _0x20f591 of this[_0xb6326f(0x1c0)][_0xb6326f(0x26d)]()[_0xb6326f(0x14f)]()){_0x65a586[_0xb6326f(0x17a)](..._0x20f591['getAll']());}return _0x65a586;}[a0_0x4dc90e(0x1eb)](_0x1449ea){const _0x15acd7=a0_0x4dc90e;if(!_0x1449ea||Object[_0x15acd7(0x2c6)](_0x1449ea)[_0x15acd7(0x260)]===0x0)return this[_0x15acd7(0x1de)]['toConfig']();const _0x41879f=this[_0x15acd7(0x1b9)]()[_0x15acd7(0x287)](_0x4302ea=>_0x4302ea[_0x15acd7(0x235)]());return generateDatasetsConfig(_0x41879f,_0x1449ea);}['generateConfigArray'](_0x2a7e1b){const _0xb71b60=this['generateConfig'](_0x2a7e1b);return datasetsConfigToArray(_0xb71b60);}[a0_0x4dc90e(0x2bf)](){const _0x31e4c3=a0_0x4dc90e;return this[_0x31e4c3(0x1b9)]()[_0x31e4c3(0x287)](_0x36d562=>_0x36d562['toConfig']());}[a0_0x4dc90e(0x2de)](){const _0x3b8e2c=a0_0x4dc90e;return{'total':this[_0x3b8e2c(0x1a5)](),'virtualTables':this['getVirtualTables']()[_0x3b8e2c(0x260)],'realTables':this[_0x3b8e2c(0x1c2)]()[_0x3b8e2c(0x260)],'hasConflicts':this[_0x3b8e2c(0x2af)](),'conflictCount':this[_0x3b8e2c(0x24e)]()[_0x3b8e2c(0x260)]};}[a0_0x4dc90e(0x236)](){const _0x52370=a0_0x4dc90e;return this[_0x52370(0x1b9)]()[_0x52370(0x287)](_0x1773a7=>_0x1773a7[_0x52370(0x235)]());}[a0_0x4dc90e(0x235)](){const _0x2bc2f1=a0_0x4dc90e;return this[_0x2bc2f1(0x236)]();}[a0_0x4dc90e(0x25b)](){const _0x16526e=a0_0x4dc90e;return'DatasetList('+this[_0x16526e(0x1a5)]()+_0x16526e(0x2dd)+this[_0x16526e(0x1c0)]['size']+'\x20groups)';}static['fromApiResponse'](_0x9e1b9b){return new DatasetList(_0x9e1b9b);}static[a0_0x4dc90e(0x2b9)](_0x6a6426){return new DatasetList(_0x6a6426);}static[a0_0x4dc90e(0x12f)](){return new DatasetList([]);}}function operationToAnalysis(_0x5816a1){const _0x2421ad=a0_0x4dc90e;return{'name':_0x5816a1[_0x2421ad(0x294)](),'displayName':_0x5816a1[_0x2421ad(0x319)](),'type':_0x5816a1['getType'](),'method':_0x5816a1[_0x2421ad(0x251)](),'path':_0x5816a1[_0x2421ad(0x2b5)](),'fullUrl':_0x5816a1['getFullUrl'](),'requestFields':_0x5816a1[_0x2421ad(0x271)](),'requestParams':_0x5816a1[_0x2421ad(0x2b7)](),'responseSchema':_0x5816a1[_0x2421ad(0x285)](),'requestExample':_0x5816a1[_0x2421ad(0x232)](),'responseExample':_0x5816a1[_0x2421ad(0x24a)](),'enabled':_0x5816a1[_0x2421ad(0x1a0)]()};}function operationsToAnalyses(_0x535cd7){const _0x5067c0=a0_0x4dc90e;return _0x535cd7[_0x5067c0(0x287)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x4dc90e(0x2d0)];[a0_0x4dc90e(0x256)](_0x285190=![]){const _0x9a9a50=a0_0x4dc90e;if(!_0x285190&&this['_operationAnalyses'])return this['_operationAnalyses'];const _0x43ee94=this[_0x9a9a50(0x28e)]();return this['_operationAnalyses']=operationsToAnalyses(_0x43ee94),this[_0x9a9a50(0x2d0)];}[a0_0x4dc90e(0x1fb)](){return this['getFilteredOperationAnalyses']({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x4dc90e(0x2a2)](_0x2de41d={}){const _0xfcd697=a0_0x4dc90e;let _0x30fc93=this[_0xfcd697(0x256)]();return!_0x2de41d[_0xfcd697(0x16a)]&&(_0x30fc93=_0x30fc93[_0xfcd697(0x29f)](_0x372b8d=>_0x372b8d['enabled'])),_0x2de41d[_0xfcd697(0x325)]!==![]&&(_0x30fc93=filterApiOperations(_0x30fc93)),_0x2de41d[_0xfcd697(0x2ff)]&&(_0x30fc93=_0x30fc93[_0xfcd697(0x29f)](_0x2de41d[_0xfcd697(0x2ff)])),_0x30fc93=this[_0xfcd697(0x2b2)](_0x30fc93),_0x30fc93;}['sortOperationsWithFilterFirst'](_0x1133fd){const _0x1b3972=a0_0x4dc90e,_0x431554=_0x1133fd[_0x1b3972(0x30e)](_0x1283a7=>_0x1283a7[_0x1b3972(0x20b)]===_0x1b3972(0x29f)),_0x359e71=_0x1133fd[_0x1b3972(0x29f)](_0x4d1847=>_0x4d1847[_0x1b3972(0x20b)]!=='filter');return _0x431554?[_0x431554,..._0x359e71]:_0x359e71;}['getOperationAnalysis'](_0x269759){const _0x21fa35=a0_0x4dc90e,_0xccd38c=this[_0x21fa35(0x256)]();return _0xccd38c[_0x21fa35(0x30e)](_0x4c0f98=>_0x4c0f98['name']===_0x269759);}['getOperationAnalysesByType'](_0x44dfaa){const _0x12c795=a0_0x4dc90e,_0x3967a9=this[_0x12c795(0x256)]();return _0x3967a9[_0x12c795(0x29f)](_0x11e010=>_0x11e010['type']===_0x44dfaa);}[a0_0x4dc90e(0x2ac)](_0x59d539){const _0x4aa7ed=a0_0x4dc90e,_0x411aaf=this[_0x4aa7ed(0x1b6)](_0x59d539);if(!_0x411aaf)return[];const _0x2c3407=_0x411aaf[_0x4aa7ed(0x271)](),_0x228ee8=this[_0x4aa7ed(0x1f6)]();return _0x228ee8['filter'](_0x37f2cc=>_0x2c3407['includes'](_0x37f2cc[_0x4aa7ed(0x275)]));}[a0_0x4dc90e(0x31e)](_0x5070a6,_0x44a12b){const _0x160d00=a0_0x4dc90e,_0x53058c=this['getOperationAnalysis'](_0x5070a6);if(!_0x53058c)return null;const _0x496d2f=this[_0x160d00(0x1b6)](_0x53058c[_0x160d00(0x20b)]);if(!_0x496d2f)throw new Error(_0x160d00(0x1a3)+_0x53058c['name']);const _0x467c7d=this[_0x160d00(0x19d)](),_0x376029=this[_0x160d00(0x30c)](),_0x3945d8=_0x496d2f[_0x160d00(0x228)](_0x467c7d,{'useFullExample':_0x44a12b?.['useFullExample']}),_0x58c148=_0x496d2f['generateUsageExample'](_0x467c7d);return{'operation':_0x53058c,'operationInstance':_0x496d2f,'basicInfo':{'name':_0x53058c[_0x160d00(0x20b)],'displayName':_0x53058c[_0x160d00(0x20a)],'method':_0x53058c[_0x160d00(0x23c)],'path':_0x53058c['path'],'fullUrl':_0x53058c[_0x160d00(0x25d)],'enabled':_0x53058c[_0x160d00(0x2f7)]},'sdkCall':{'datasetCode':this[_0x160d00(0x297)],'modelName':_0x467c7d,'tableName':_0x376029,'operationName':_0x53058c[_0x160d00(0x20b)],'params':_0x53058c[_0x160d00(0x321)],'code':_0x3945d8},'usageExample':_0x58c148};}['getDatasetDocMeta'](_0x20f436={}){const _0xd3f856=a0_0x4dc90e,_0x38c8ef=this[_0xd3f856(0x2a2)](_0x20f436),_0x42d1aa=this[_0xd3f856(0x2de)](),_0x17eb18={'name':this['name'],'code':this[_0xd3f856(0x297)],'tableName':this[_0xd3f856(0x30c)](),'tableKey':this['getTableKey'](),'source':this['source'],'fieldCount':_0x42d1aa[_0xd3f856(0x14c)],'businessFieldCount':_0x42d1aa['businessFieldCount'],'systemFieldCount':_0x42d1aa['systemFieldCount'],'operationCount':_0x42d1aa['operationCount'],'enabledOperationCount':_0x42d1aa[_0xd3f856(0x230)]},_0x3bfc63=_0x38c8ef[_0xd3f856(0x287)](_0x5aa46f=>this[_0xd3f856(0x31e)](_0x5aa46f[_0xd3f856(0x20b)]))[_0xd3f856(0x29f)](_0x2fca98=>_0x2fca98!==null);return{'title':this[_0xd3f856(0x20b)]+'\x20API\x20文档','datasetInfo':_0x17eb18,'operations':_0x3bfc63};}[a0_0x4dc90e(0x23e)](_0x2c2575){const _0x477020=a0_0x4dc90e;return{'appCode':_0x2c2575,'tableKey':this[_0x477020(0x19d)](),'tableName':this[_0x477020(0x30c)](),'datasetCode':this[_0x477020(0x297)]};}[a0_0x4dc90e(0x188)](_0x267429){const _0x5977ea=a0_0x4dc90e,_0x572f29=[{'index':_0x5977ea(0x20b),'label':'接口名称'},{'index':_0x5977ea(0x20a),'label':'操作名称'},{'index':_0x5977ea(0x23c),'label':'方法'},{'index':_0x5977ea(0x2a3),'label':_0x5977ea(0x26e)},{'index':_0x5977ea(0x2e6),'label':'API路径'},{'index':'sdkCallCode','label':_0x5977ea(0x25a)}],_0x231cbc=_0x267429['map'](_0x271674=>{const _0x11d7e0=_0x5977ea,{basicInfo:_0x247cb7,sdkCall:_0x51b1c3}=_0x271674,_0x25aa7f=_0x51b1c3[_0x11d7e0(0x275)][_0x11d7e0(0x304)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x11d7e0(0x304)](/;$/,'');return{'displayName':_0x247cb7['displayName'],'name':_0x247cb7[_0x11d7e0(0x20b)],'method':_0x247cb7['method'],'path':_0x247cb7[_0x11d7e0(0x2e6)],'sdkCall':_0x25aa7f,'sdkCallCode':_0x51b1c3[_0x11d7e0(0x275)]};});return{'tableColumns':_0x572f29,'tableData':_0x231cbc};}['generateOperationSummary'](_0x54fa44){const _0x5c4372=a0_0x4dc90e,_0x1d1eea=this[_0x5c4372(0x1fa)](_0x54fa44);if(!_0x1d1eea)return null;return{'name':_0x1d1eea['name'],'displayName':_0x1d1eea[_0x5c4372(0x20a)],'type':_0x1d1eea[_0x5c4372(0x302)],'method':_0x1d1eea[_0x5c4372(0x23c)],'path':_0x1d1eea[_0x5c4372(0x2e6)],'enabled':_0x1d1eea[_0x5c4372(0x2f7)],'requestFieldCount':_0x1d1eea[_0x5c4372(0x321)][_0x5c4372(0x260)],'hasResponseSchema':_0x1d1eea[_0x5c4372(0x25e)]!==null};}[a0_0x4dc90e(0x210)](_0xe33330={}){const _0xe7d82b=a0_0x4dc90e,_0x42210f=this[_0xe7d82b(0x2a2)](_0xe33330);return{'datasetName':this[_0xe7d82b(0x20b)],'datasetCode':this[_0xe7d82b(0x297)],'tableName':this[_0xe7d82b(0x30c)](),'totalOperations':_0x42210f[_0xe7d82b(0x260)],'operations':_0x42210f['map'](_0x413da1=>({'name':_0x413da1['name'],'displayName':_0x413da1['displayName'],'type':_0x413da1[_0xe7d82b(0x302)],'method':_0x413da1['method'],'path':_0x413da1[_0xe7d82b(0x2e6)],'requestFieldCount':_0x413da1[_0xe7d82b(0x321)][_0xe7d82b(0x260)]}))};}[a0_0x4dc90e(0x2da)](_0x3bc08b){const _0x182687=a0_0x4dc90e,_0x21494b={};return Object[_0x182687(0x1a4)](_0x3bc08b)[_0x182687(0x29d)](([_0x8da7cd,_0x5d19d8])=>{const _0x3c3860=_0x182687;Array[_0x3c3860(0x220)](_0x5d19d8)&&_0x5d19d8[_0x3c3860(0x260)]>0x0?_0x21494b[_0x8da7cd]=_0x5d19d8[0x0]:_0x21494b[_0x8da7cd]=_0x5d19d8;}),_0x21494b;}[a0_0x4dc90e(0x2fa)](){const _0x5b7c93=a0_0x4dc90e,_0x3545f2=this[_0x5b7c93(0x256)](),_0x3f1058=_0x3545f2[_0x5b7c93(0x29f)](_0x2c80aa=>_0x2c80aa['enabled']);return{'total':_0x3545f2[_0x5b7c93(0x260)],'enabled':_0x3f1058[_0x5b7c93(0x260)],'disabled':_0x3545f2['length']-_0x3f1058['length'],'byType':this[_0x5b7c93(0x27c)](_0x3f1058),'byMethod':this[_0x5b7c93(0x219)](_0x3f1058)};}[a0_0x4dc90e(0x27c)](_0x2ae1fa){const _0x222845=a0_0x4dc90e,_0x54b588={};return _0x2ae1fa[_0x222845(0x29d)](_0x34471f=>{const _0x344d08=_0x222845;_0x34471f[_0x344d08(0x302)]&&(_0x54b588[_0x34471f[_0x344d08(0x302)]]=(_0x54b588[_0x34471f[_0x344d08(0x302)]]||0x0)+0x1);}),_0x54b588;}[a0_0x4dc90e(0x219)](_0x3d19fd){const _0x58fae8=a0_0x4dc90e,_0x5d3cbb={};return _0x3d19fd[_0x58fae8(0x29d)](_0x34dd82=>{const _0x244107=_0x58fae8;_0x5d3cbb[_0x34dd82[_0x244107(0x23c)]]=(_0x5d3cbb[_0x34dd82[_0x244107(0x23c)]]||0x0)+0x1;}),_0x5d3cbb;}['supportsCRUD'](){const _0x396ed7=a0_0x4dc90e,_0x3176e1=this[_0x396ed7(0x1fb)](),_0x1c340c=new Set(_0x3176e1['map'](_0x115d9b=>_0x115d9b[_0x396ed7(0x302)])['filter'](Boolean));return _0x1c340c['has']('create')&&_0x1c340c[_0x396ed7(0x2c0)](_0x396ed7(0x17b))&&_0x1c340c[_0x396ed7(0x2c0)]('update')&&_0x1c340c['has'](_0x396ed7(0x318));}[a0_0x4dc90e(0x2d9)](){const _0x5944a2=a0_0x4dc90e,_0x51a031=this[_0x5944a2(0x1fb)](),_0x47c736=new Set(_0x51a031['map'](_0x3fc351=>_0x3fc351['type'])[_0x5944a2(0x29f)](Boolean)),_0x85c003=[_0x5944a2(0x15f),_0x5944a2(0x17b),_0x5944a2(0x2a9),'delete'];return _0x85c003['filter'](_0x4611cf=>!_0x47c736[_0x5944a2(0x2c0)](_0x4611cf));}[a0_0x4dc90e(0x157)](_0x4ab5b9,_0x3a9a81,_0x32871e){const _0x3fdc38=a0_0x4dc90e,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=!![]}=_0x32871e||{},_0x1d8ea9=this[_0x3fdc38(0x31e)](_0x4ab5b9,{'useFullExample':includeRequestExample});if(!_0x1d8ea9)return null;let _0x1b1e77='';return _0x1b1e77+=_0x3fdc38(0x274)+_0x1d8ea9['operation'][_0x3fdc38(0x20a)]+'\x0a//\x20Call\x20the\x20'+_0x1d8ea9['operation']['name']+_0x3fdc38(0x24b)+_0x1d8ea9[_0x3fdc38(0x2a3)][_0x3fdc38(0x275)],includeUsageExample&&_0x1d8ea9[_0x3fdc38(0x168)]&&(_0x1b1e77+=_0x3fdc38(0x192)+_0x1d8ea9[_0x3fdc38(0x168)][_0x3fdc38(0x22b)]+'\x0a\x0a'+_0x1d8ea9[_0x3fdc38(0x168)][_0x3fdc38(0x2ce)]),_0x1b1e77;}['generateAllOperationsFullSDKExample'](_0x2ed973){const _0x4f643d=a0_0x4dc90e,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x2ed973||{},_0x17958e=this[_0x4f643d(0x1fb)]();return _0x17958e['map'](_0x220ec7=>this[_0x4f643d(0x157)](_0x220ec7[_0x4f643d(0x20b)],this[_0x4f643d(0x297)],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))['join']('\x0a');}[a0_0x4dc90e(0x253)](_0x22caa5,_0x336780=a0_0x4dc90e(0x21f),_0x124513=![]){const _0x3e1403=a0_0x4dc90e,_0x3ec8f0=this[_0x3e1403(0x19d)](),_0x863c6c=this['getTableName'](),_0x21a10d=this[_0x3e1403(0x297)],_0x48b0c7=_0x336780===_0x3e1403(0x200)?'\x0a\x20\x20env:\x20\x27'+_0x336780+'\x27,':'',_0x36c8a4=_0x124513?'\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,':'';return _0x3e1403(0x221)+_0x22caa5+'\x27,'+_0x36c8a4+_0x48b0c7+'\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20'+_0x3ec8f0+_0x3e1403(0x31a)+_0x863c6c+_0x3e1403(0x225)+_0x21a10d+_0x3e1403(0x2ba);}[a0_0x4dc90e(0x25b)](){const _0x5a9c07=a0_0x4dc90e,_0x7bbf72=this[_0x5a9c07(0x2fa)]();return _0x5a9c07(0x1e1)+this[_0x5a9c07(0x20b)]+',\x20'+this['datasetCode']+',\x20'+this[_0x5a9c07(0x141)]()+'\x20fields,\x20'+_0x7bbf72[_0x5a9c07(0x2f7)]+'/'+_0x7bbf72['total']+'\x20operations)';}}var VERSION=a0_0x4dc90e(0x301);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_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};
|
|
@@ -181,6 +181,7 @@ export declare class DrivenDataDetailPlus extends DrivenDataDetail {
|
|
|
181
181
|
*/
|
|
182
182
|
generateFullSDKExample(operationName: string, appCode: string, options?: {
|
|
183
183
|
includeRequestExample?: boolean;
|
|
184
|
+
includeResponseExample?: boolean;
|
|
184
185
|
includeUsageExample?: boolean;
|
|
185
186
|
}): string | null;
|
|
186
187
|
generateAllOperationsFullSDKExample(options?: {
|
|
@@ -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,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;IAoDhB,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"}
|