@lovrabet/dsparser 1.2.7-beta.0 → 1.2.7-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_0x53bff1=a0_0x1dcc;(function(_0x217a42,_0x5d930d){const _0x3aec49=a0_0x1dcc,_0x2a87cd=_0x217a42();while(!![]){try{const _0x32d65d=parseInt(_0x3aec49(0x1d0))/0x1+-parseInt(_0x3aec49(0x28d))/0x2*(-parseInt(_0x3aec49(0x306))/0x3)+parseInt(_0x3aec49(0x1ff))/0x4+-parseInt(_0x3aec49(0x308))/0x5*(parseInt(_0x3aec49(0x1e2))/0x6)+parseInt(_0x3aec49(0x1f5))/0x7*(-parseInt(_0x3aec49(0x245))/0x8)+-parseInt(_0x3aec49(0x290))/0x9*(-parseInt(_0x3aec49(0x208))/0xa)+parseInt(_0x3aec49(0x136))/0xb;if(_0x32d65d===_0x5d930d)break;else _0x2a87cd['push'](_0x2a87cd['shift']());}catch(_0x21a989){_0x2a87cd['push'](_0x2a87cd['shift']());}}}(a0_0x57ac,0x99a42));function toCamelCase(_0x55cbc5){const _0x64d9c9=a0_0x1dcc;if(!_0x55cbc5)return'';return _0x55cbc5[_0x64d9c9(0xf8)](/[_-]/)[_0x64d9c9(0x1e1)]((_0x27d279,_0x32990f)=>{const _0x398e7c=_0x64d9c9;if(_0x32990f===0x0)return _0x27d279[_0x398e7c(0x184)]();return _0x27d279[_0x398e7c(0x117)](0x0)['toUpperCase']()+_0x27d279[_0x398e7c(0x27a)](0x1)['toLowerCase']();})[_0x64d9c9(0x2e8)]('');}function toPascalCase(_0xdc959e){const _0xb34566=a0_0x1dcc;if(!_0xdc959e)return'';const _0x5db2de=toCamelCase(_0xdc959e);return _0x5db2de[_0xb34566(0x117)](0x0)[_0xb34566(0x311)]()+_0x5db2de['slice'](0x1);}function toSnakeCase(_0x1d210b){const _0x6c266c=a0_0x1dcc;if(!_0x1d210b)return'';return _0x1d210b[_0x6c266c(0x254)](/([A-Z])/g,_0x6c266c(0x263))[_0x6c266c(0x184)]()[_0x6c266c(0x254)](/^_/,'');}function a0_0x57ac(){const _0x116618=['getOneOrigin','创建导入','toLowerCase','getFieldListWithDeleted','getFilterOperators','POST','UPDATE','tenantCode','hasModifierIdField','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','查询单条(原始)','getRequestParamsDocInfo','getRequired','N/A','CHECKBOX','\x27\x20\x20//\x20人类友好的别名,可通过\x20client.models.','parseFieldExtend','displayName','NUMBER','dbVersion','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','getOneUpdate','getFilterOperation','useFullExample','getEnabledOperationAnalyses','generateUsageExample','operation','operationCount','1.0.0-beta.8',',\x20...\x20});','$eq','$contain','getConflictingItems','getFieldFilterOperators','importTemplate','now','getDatasetSDKKey','_min','getEnabledNames','字段编码','stringify','getFirst','https://example.com/file.pdf','array','find','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','fields','(id,\x20data);','forEach','selectItemsSource','$gte','\x20fields,\x20','update\x20接口接受两个参数:\x0a\x0a','null','TIMESTAMP','getOperationFieldOperators','isEnabled','DATE','toFullConfig','String[]','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','items','2024-12-31','单值查询','getModelAlias','update\x20接口接受两个参数:\x0a','dataset_','requestFields','TASK_INFO','dbType','datasetCode','iterator','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','GET_UPLOAD_FILE_SCRIPT','getAt','hasCreateTimeField','filter','API路径','96980cgixFP','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','toJSON','VARCHAR','isCreateTime','\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,','getTenantCode','logicField','getStats','Object[]','每页数量','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','hasOperation','code','includeDeleted','generateFromSchema','delete','map','3648ZoVwLD','success','getDisplayName','ensureFilterOperation','排序规则','generateExampleValue','请求示例','[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:','任务信息','\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a','isSystemField','responseSchema','getConflicts','modifyDate','$endWith','getRequestParams','supportsCRUD','getName','allFields','3202409WMocDW','getOperators','$and','更新请求示例','[parseFieldExtend]\x20Invalid\x20field:','tableName','Excel导出','getExtendField','tooltip','desc','2769888JXHMpx','multiple','getType','({\x20code,\x20label\x20});','status','DESC','获取下拉选项','getOperationCountByMethod','isEmpty','90wHCSxi','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','dbName','raw','dataset_000000','({\x20','isEnum','getEnumFields','every','generateRequestExample','systemFieldCount','getFieldCount','modifierIdField','String','generateAllOperationsFullSDKExample','[Field.extend]\x20解析字段\x20','getUpdatableFields','isMultipleSelect','sortOperationsWithFilterFirst','北京市朝阳区','hasLogicField','getDefaultValue','generateAllOperationsSummary','主键ID(必填)','includes','generateOperationSummary','\x0a//\x20Call\x20the\x20','context','getPrimaryKeys','DELETE','当前页码','sortNum','INTEGER','pageSize','value2','查询单个条件','getMethod','Invalid\x20API\x20response:\x20success\x20is\x20false','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','GET_SELECT_OPTIONS','getOperationOperators','getOperationAnalyses','13800138000','createExport','updateTimeField','getLast','creatorIdField','字段名称','getSystem','online','path','primaryKey','required','getDatasetDocMeta','getFileUrl','getFiltered','get','createImport','getSource','repeat','hasConflict','8OAicvh','\x20的\x20extend\x20配置失败:','options','hasField','enabled','EXCEL_EXPORT','isBusiness','getFieldsByType','_fieldList','isPrimaryKey','systemAnalysisResult','from','\x20items,\x20','$lteq','getEnumMeta','replace','isEnumField','getDisabledNames','isUpdateTime','getApplicableOperators','\x20items,\x20conflict,\x20latest:\x20','getAll','数组查询(支持多选)','getPath',',\x20currentPage,\x20pageSize,\x20...\x20});','\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregates`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20{\x20columnName:\x20string,\x20condition:\x20WhereCondition\x20}[];\x20//\x20分组过滤条件(可选,不设置则不分组)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20field:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**可用聚合字段**\x0a','getAllFieldsString','sdkCall','findById','支持单值或数组','_$1','getOne','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','/filter','sum','suffix','email','getModelName','errorMsg','日期时间','toObject','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','isRequired','getAllFieldsArray','detectConflicts','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','getAllDatasets','getVirtualTables','(params);','(id);','value1','usageExample','slice','createTimeField','datasetMap','DatasetGroupMap(','STRING','hasUpdateTimeField','getFullUrl','https://example.com/image.jpg','isVirtualTable','getOperationAnalysis','createDate','getOperationCountByType',',\x20fields:\x20','getOperation','TEXT','parseRawRequestBody','keys','add','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','96706FuwpVb','操作名称','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','40995CnFasJ','getSelectOptions','getMissingCRUDOperations','getBusiness','SDK\x20调用','getEnabled','获取文件URL','excelExport','[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','total_count','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','BIGINT','\x20API\x20文档','getFieldSelectItemsSource','_operationAnalyses','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','getLatest','generateSDKInitCode','sdkCallCode','orderBy','getSelectItemsSource','getFieldInstance','value','toArray','test','version','generateSingleValueExample','type','getOperationList','getUploadFileScript','下拉选择','getLatestDatasets','sort','getRawDbtableConfig','size','createTime','responseBody','parse','isPrimaryKeyField','systemRetain','pkField','每页数量(可选)','groupByTableName','BOOLEAN','source','isRequiredField','\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','getCountByType','示例值','query','\x20groups,\x20','generateFieldExample','_fields','CREATE','appCode','getOperationStats','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','解析\x20requestBody\x20失败:','GET_ONE','has\x20conflicts','creatorNameField','businessFieldCount','\x22,数据集:\x20','getOldest','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','defaultValue','lastIndexOf','entries','dblinkInfoDTO','where','isNumericField','const\x20result\x20=\x20await\x20client.models.','modelCode','getConflictStats','getOperationsOverviewData','[dsparser]\x20跳过重复的表名\x20\x22','msg','查询列表','$or','findAll','string','toListItem','generateDefaultFilterOperation','getEnabledOperations','user@example.com','getFieldsWithDeleted','createAll','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','join','CREATE_EXPORT','[generateRequestExample]\x20Invalid\x20field:','0000','getSystemFields','[Field]\x20Invalid\x20field\x20definition','label','_max','getOperationDocMeta','data','导入模板','has','warn','create','DECIMAL','dbtableConfig','分组字段列表','getDeleted','_extend','operations','getOperationAnalysesByType','responseExample','all','(...);\x0aconsole.log(data);\x20','返回字段列表(字段投影)','generateSDKCallCode','prefix','min','getOperations','length','6nSefVH','Array','1745rWZJnc','aggregate','getFieldList','({\x20/*\x20可选:筛选条件\x20*/\x20});','toFieldDefinition','hasDblinkInfo','initDataset','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','toUpperCase','getOperationCount','_raw','getFieldDefinition','200','hasConflicts','update','updateTime','toISOString','dataset_unknown','push','tableData','_requestExampleCache','validateEnumValue','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27','getCount','\x0a\x20\x20env:\x20\x27','getUpdateTime','address','getRequiredFields','_fieldListWithDeleted','object','findByName','getFieldOperators','DbtableConfig(table:\x20','要更新的字段数据对象','getList','getDisabled','getEnum','getDisabledOperations','getSystemAnalysisResult','这是一段较长的文本内容示例','properties','IMPORT_TEMPLATE','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','Number','empty','_operations','OperationList(','DATETIME','keyword','操作成功','generateConfig','获取数据集列表失败:\x20','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','includeDisabled','boolean','JSON','deleted','split','selectBestOperator','({\x20currentPage,\x20pageSize\x20});','name','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','\x0a##\x20模型访问方式说明\x0a\x0aSDK\x20提供两种模型访问方式:\x0a\x0a###\x201.\x20标准方式(推荐用于程序化场景)\x0a\x0a使用\x20`dataset_[完整datasetCode]`\x20格式(即\x20datasetSDKKey),这是通用的、稳定的访问方式:\x0a\x0a```javascript\x0a//\x20标准访问方式\x0aconst\x20result\x20=\x20await\x20client.models.','\x20operation\x0a','_datasetMap','getFieldsFilterOperatorsMap','description','当前页码(可选)','getEnumFieldMeta','getAggregates','getEnumMetas','field_name','getOperationFieldsOperatorsMap',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getAutoIncrement','Filter\x20API\x20-\x20高级查询接口','getResponseSchema','children','getCodes','\x20Response\x20example:\x0a','getNames','generateRequestAllExamples','2024-01-01','autoIncrement','_operationList','extend','$startWith','generateConfigArray','charAt','fromApiResponse','\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27','GET_LIST','getField','labelField','getCountByMethod','getSDKInitData','时间戳','fullUrl','-$1','getBusinessFields','-\x20主键ID,用于定位要更新的记录\x0a\x0a','findByCode','完整的\x20SDK\x20调用代码','dbId','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','values','withDeleted','groups','.filter({...});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会产生命名冲突\x0a-\x20适合程序自动生成代码\x0a-\x20与\x20datasetCode\x20直接对应,便于追溯\x0a\x0a###\x202.\x20别名方式(推荐用于人工编码场景)\x0a\x0a使用\x20camelCase\x20格式的别名,更加人类友好:\x0a\x0a```javascript\x0a//\x20别名访问方式(需要在\x20registerModels\x20时配置\x20alias)\x0aconst\x20result\x20=\x20await\x20client.models.','GET_ONE_UPDATE','\x20groups)','method','datasetKey','requestBody','total','DatasetGroup(','getItems','获取上传脚本','some','4090240WWjcGA','alias','RADIO','DrivenDataDetail(','hasTableName','getRequestFields','CREATE_IMPORT','\x20访问\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});','getIds','.filter({...});\x0a```\x0a\x0a**优点**:\x0a-\x20可读性强,符合编程命名习惯\x0a-\x20便于记忆和手工编写\x0a-\x20代码更加简洁美观\x0a\x0a**注意**:使用别名方式需要在\x20`registerModels`\x20时配置\x20`alias`\x20字段。\x0a','phone','$lte','params','taskInfo','getEnumOptions','avg','(支持单值或数组)','getRealTables','聚合函数配置数组','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','$in','GET_ONE_ORIGIN','number','filterBlacklist','getDbName','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','hasExtendField','getTableName','getUpdateFields','isArray','generateResponseExample','getTableKey','$ne','placeholder','max','host','fieldName','round','$gteq','DatasetList(','(...);\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}','toString','_sum','hasCreatorIdField','parseRawResponseBody','富文本','valueLabels','isSystem','Operation\x20instance\x20not\x20found:\x20','isOperatorApplicableToField','getDisabledOperationInstances','set','count','generateFullSDKExample','getDatabaseName','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','item1','trim','isAutoIncrement','();','BOOL','长文本','groupByType','SELECT','isDeleted','modifierNameField','customFilter','getFilteredOperationAnalyses','getByType','toConfig','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','currentPage','toConfigArray','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','getRaw','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'];a0_0x57ac=function(){return _0x116618;};return a0_0x57ac();}function toKebabCase(_0x97ef9a){const _0x272b8c=a0_0x1dcc;if(!_0x97ef9a)return'';return _0x97ef9a[_0x272b8c(0x254)](/([A-Z])/g,_0x272b8c(0x121))[_0x272b8c(0x184)]()[_0x272b8c(0x254)](/^-/,'');}function normalizeFieldName(_0x329516){const _0x3e9681=a0_0x1dcc;if(!_0x329516)return'';return _0x329516['trim']()[_0x3e9681(0x254)](/\s+/g,'_')[_0x3e9681(0x254)](/[^a-zA-Z0-9_]/g,'_')['replace'](/_+/g,'_')[_0x3e9681(0x254)](/^_|_$/g,'');}function getTableName(_0x25f802){const _0xbbb1f1=a0_0x1dcc;if(!_0x25f802)return _0xbbb1f1(0x20c);if(_0x25f802[_0xbbb1f1(0x2f7)]?.[_0xbbb1f1(0x1fa)])return _0x25f802[_0xbbb1f1(0x2f7)][_0xbbb1f1(0x1fa)];const _0x18275b=_0x25f802['datasetCode']||_0x25f802[_0xbbb1f1(0x1dd)]||_0x25f802[_0xbbb1f1(0x2d8)];if(_0x18275b)return generateTableNameFromCode(_0x18275b);return _0xbbb1f1(0x20c);}function getTableKey(_0x5eeb99){if(typeof _0x5eeb99==='string')return toCamelCase(_0x5eeb99);const _0x31ea0f=getTableName(_0x5eeb99);return toCamelCase(_0x31ea0f);}function generateTableNameFromCode(_0x1d0ee2){const _0x5ef2ea=a0_0x1dcc;if(!_0x1d0ee2)return _0x5ef2ea(0x20c);const _0x526acf=_0x1d0ee2[_0x5ef2ea(0x27a)](-0x6)['padStart'](0x6,'0');return'dataset_'+_0x526acf;}function isVirtualTableName(_0x3dab7a){const _0x349441=a0_0x1dcc;return/^dataset_[a-zA-Z0-9]{6}$/[_0x349441(0x2a8)](_0x3dab7a);}function generateModelKeyFromCode(_0x44e2eb){const _0x4d057f=a0_0x1dcc;if(!_0x44e2eb)return _0x4d057f(0xd0);return _0x4d057f(0x1c4)+_0x44e2eb;}function getDbName(_0x5e3444){const _0x20a4cd=a0_0x1dcc;return _0x5e3444[_0x20a4cd(0x2f7)]?.[_0x20a4cd(0x20a)]||_0x5e3444[_0x20a4cd(0x2f7)]?.['dblinkInfoDTO']?.[_0x20a4cd(0x20a)]||'';}function generateDatasetsConfig(_0xb5e2d9,_0x34ae43={}){const _0x572022=a0_0x1dcc,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x2fb35d,filter:_0xeb4901}=_0x34ae43,_0x3c0924=_0xeb4901?_0xb5e2d9[_0x572022(0x1ce)](_0xeb4901):_0xb5e2d9,_0x17d625=new Map();for(const _0x4f6b91 of _0x3c0924){const _0x526f54=getTableName(_0x4f6b91),_0x58d4e7=getDbName(_0x4f6b91);!_0x17d625[_0x572022(0x2f3)](_0x526f54)&&_0x17d625[_0x572022(0x169)](_0x526f54,new Set()),_0x17d625[_0x572022(0x240)](_0x526f54)['add'](_0x58d4e7);}const _0x2ed0a3=new Set();for(const [_0x11db95,_0x28a2d4]of _0x17d625){_0x28a2d4[_0x572022(0x2b2)]>0x1&&_0x2ed0a3['add'](_0x11db95);}const _0xd4e8d5={},_0x312212=new Set();for(const _0x8123e4 of _0x3c0924){const _0x275c97=getTableName(_0x8123e4);if(enableDeduplication&&_0x312212['has'](_0x275c97)){console[_0x572022(0x2f4)](_0x572022(0x2db)+_0x275c97+_0x572022(0x2ce)+_0x8123e4[_0x572022(0xfb)]+'\x20('+_0x8123e4[_0x572022(0x1c8)]+')');continue;}_0x312212[_0x572022(0x28b)](_0x275c97);const _0x50ac2d=_0x2fb35d?_0x2fb35d(_0x275c97,_0x8123e4):getTableKey(_0x275c97),_0x152ffa=getDbName(_0x8123e4),_0x1ab35c=_0x2ed0a3[_0x572022(0x2f3)](_0x275c97)&&_0x152ffa?getTableKey(_0x152ffa)+'_'+_0x50ac2d:_0x50ac2d;_0xd4e8d5[_0x50ac2d]={'key':_0x50ac2d,'alias':_0x1ab35c,'tableName':_0x275c97,'datasetCode':_0x8123e4[_0x572022(0x1c8)],'name':_0x8123e4['name'],'id':_0x8123e4['id'],'dbName':_0x152ffa};}return _0xd4e8d5;}function generateFullDatasetsConfig(_0xf11fa9,_0x22e3a9={}){const _0x138a35=a0_0x1dcc,{filter:_0x54c802,datasetNameGenerator:_0x19a726}=_0x22e3a9,_0x23c4e0=_0x54c802?_0xf11fa9['filter'](_0x54c802):_0xf11fa9,_0x4a418b=new Map();for(const _0x1272d1 of _0x23c4e0){const _0x4c9136=getTableName(_0x1272d1),_0x59efe2=getDbName(_0x1272d1);!_0x4a418b[_0x138a35(0x2f3)](_0x4c9136)&&_0x4a418b[_0x138a35(0x169)](_0x4c9136,new Set()),_0x4a418b[_0x138a35(0x240)](_0x4c9136)['add'](_0x59efe2);}const _0x5b93d6=new Set();for(const [_0x514a64,_0x3648ff]of _0x4a418b){_0x3648ff[_0x138a35(0x2b2)]>0x1&&_0x5b93d6[_0x138a35(0x28b)](_0x514a64);}const _0xe14fdd=groupByTableName(_0x23c4e0),_0x280025={};for(const [_0x540656,_0x4f584a]of Object['entries'](_0xe14fdd)){if(_0x4f584a[_0x138a35(0x305)]===0x1){const _0x578d4d=_0x4f584a[0x0],_0x46c05e=_0x19a726?_0x19a726(_0x540656,_0x578d4d):getTableKey(_0x540656),_0xe1e0b9=getDbName(_0x578d4d),_0x3c7e36=_0x5b93d6[_0x138a35(0x2f3)](_0x540656)&&_0xe1e0b9?getTableKey(_0xe1e0b9)+'_'+_0x46c05e:_0x46c05e;_0x280025[_0x46c05e]={'key':_0x46c05e,'alias':_0x3c7e36,'tableName':_0x540656,'datasetCode':_0x578d4d['datasetCode'],'name':_0x578d4d[_0x138a35(0xfb)],'id':_0x578d4d['id'],'dbName':_0xe1e0b9};}else{const _0x3d3306=[..._0x4f584a][_0x138a35(0x2b0)]((_0x25d25e,_0x3a2968)=>{const _0x4dff7d=Number(_0x25d25e['id'])||0x0,_0xbd8c5a=Number(_0x3a2968['id'])||0x0;return _0xbd8c5a-_0x4dff7d;});_0x3d3306[_0x138a35(0x1b2)]((_0x113954,_0x54950f)=>{const _0x185dfc=_0x138a35,_0x1e60d5=_0x19a726?_0x19a726(_0x540656,_0x113954):getTableKey(_0x540656),_0x49e6f7=_0x54950f===0x0?_0x1e60d5:_0x1e60d5+'_'+_0x54950f,_0x2fd4b6=getDbName(_0x113954),_0xd076a=_0x5b93d6[_0x185dfc(0x2f3)](_0x540656)&&_0x2fd4b6?getTableKey(_0x2fd4b6)+'_'+_0x49e6f7:_0x49e6f7;_0x280025[_0x49e6f7]={'key':_0x49e6f7,'alias':_0xd076a,'tableName':_0x540656,'datasetCode':_0x113954['datasetCode'],'name':_0x113954['name'],'id':_0x113954['id'],'dbName':_0x2fd4b6};});}}return _0x280025;}function detectTableNameConflicts(_0x129ae4){const _0x258391=a0_0x1dcc,_0x22b847={};for(const _0x350673 of _0x129ae4){const _0x1d7643=getTableName(_0x350673);!_0x22b847[_0x1d7643]&&(_0x22b847[_0x1d7643]=[]),_0x22b847[_0x1d7643][_0x258391(0xd1)](_0x350673);}const _0x5c3f28={};for(const [_0x5179ff,_0x5dd130]of Object[_0x258391(0x2d3)](_0x22b847)){_0x5dd130['length']>0x1&&(_0x5c3f28[_0x5179ff]=_0x5dd130);}return{'hasConflicts':Object[_0x258391(0x28a)](_0x5c3f28)['length']>0x0,'conflicts':_0x5c3f28};}function createDatasetNameMap(_0x209cdc){const _0x1aebb4=a0_0x1dcc,_0x3b9ee6={};for(const [_0x2fa1f0,_0x3f0667]of Object[_0x1aebb4(0x2d3)](_0x209cdc)){_0x3b9ee6[_0x2fa1f0]=_0x3f0667['datasetCode']||'';}return _0x3b9ee6;}function groupByTableName(_0x4cc5e8){const _0x20c42d={};for(const _0x2e939c of _0x4cc5e8){const _0x375082=getTableName(_0x2e939c);!_0x20c42d[_0x375082]&&(_0x20c42d[_0x375082]=[]),_0x20c42d[_0x375082]['push'](_0x2e939c);}return _0x20c42d;}function datasetsConfigToArray(_0x22bf41){const _0x12827d=a0_0x1dcc;return Object[_0x12827d(0x128)](_0x22bf41);}function adaptDrivenDataDetail(_0xc820f){const _0x358656=a0_0x1dcc;return{'id':_0xc820f['modelId'],'name':_0xc820f[_0x358656(0xfb)],'datasetCode':_0xc820f[_0x358656(0x2d8)],'dbtableConfig':_0xc820f[_0x358656(0x2f7)],'source':_0xc820f[_0x358656(0x2bc)],'version':_0xc820f[_0x358656(0x2a9)],'extend':_0xc820f['extend'],'properties':_0xc820f[_0x358656(0xe7)],'operations':_0xc820f[_0x358656(0x2fb)]};}function adaptDrivenDataDetails(_0x3cd7eb){const _0x103e8a=a0_0x1dcc;return _0x3cd7eb[_0x103e8a(0x1e1)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x2df0f9){const _0x8e4637=a0_0x1dcc;if(!_0x2df0f9['success']||!_0x2df0f9['data'])throw new Error('获取数据集失败:\x20'+(_0x2df0f9[_0x8e4637(0x26b)]||_0x2df0f9['msg']));return adaptDrivenDataDetail(_0x2df0f9[_0x8e4637(0x2f1)]);}function extractDatasetsFromListResponse(_0x3a4900){const _0x4595f5=a0_0x1dcc;if(!_0x3a4900[_0x4595f5(0x1e3)]||!_0x3a4900[_0x4595f5(0x2f1)]?.['tableData'])throw new Error(_0x4595f5(0xf2)+(_0x3a4900['errorMsg']||_0x3a4900[_0x4595f5(0x2dc)]));return _0x3a4900[_0x4595f5(0x2f1)][_0x4595f5(0xd2)][_0x4595f5(0x1e1)](_0x439d94=>({..._0x439d94,'datasetCode':_0x439d94[_0x4595f5(0x1dd)]||_0x439d94[_0x4595f5(0x1c8)]}));}function isDrivenDataDetail(_0x343f9c){const _0x35dc9a=a0_0x1dcc;return Boolean(_0x343f9c&&typeof _0x343f9c[_0x35dc9a(0x2d8)]==='string');}function smartAdapt(_0x48bf3d){const _0x7d7ccd=a0_0x1dcc;if(isDrivenDataDetail(_0x48bf3d))return adaptDrivenDataDetail(_0x48bf3d);if(_0x48bf3d[_0x7d7ccd(0x1c8)])return _0x48bf3d;if(_0x48bf3d['code'])return{..._0x48bf3d,'datasetCode':_0x48bf3d[_0x7d7ccd(0x1dd)]};return _0x48bf3d;}var DatasetOperationType;(_0x58fd9e=>{const _0x50f359=a0_0x1dcc;_0x58fd9e[_0x50f359(0x11a)]=_0x50f359(0xe1),_0x58fd9e[_0x50f359(0x2ca)]=_0x50f359(0x264),_0x58fd9e[_0x50f359(0x14b)]=_0x50f359(0x182),_0x58fd9e[_0x50f359(0x12c)]=_0x50f359(0x197),_0x58fd9e[_0x50f359(0x2c5)]=_0x50f359(0x2f5),_0x58fd9e[_0x50f359(0x188)]=_0x50f359(0xcd),_0x58fd9e[_0x50f359(0x225)]=_0x50f359(0x1e0),_0x58fd9e[_0x50f359(0x22f)]=_0x50f359(0x291),_0x58fd9e['GET_FILE_URL']=_0x50f359(0x23e),_0x58fd9e[_0x50f359(0x24a)]='excelExport',_0x58fd9e[_0x50f359(0x1cb)]=_0x50f359(0x2ad),_0x58fd9e[_0x50f359(0x13c)]=_0x50f359(0x241),_0x58fd9e[_0x50f359(0x2e9)]='createExport',_0x58fd9e[_0x50f359(0x1c6)]=_0x50f359(0x143),_0x58fd9e[_0x50f359(0xe8)]=_0x50f359(0x1a4);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x53bff1(0xe1)]:a0_0x53bff1(0x2dd),[a0_0x53bff1(0x264)]:'查询单条',[a0_0x53bff1(0x182)]:a0_0x53bff1(0x18c),[a0_0x53bff1(0x197)]:'查询单条(用于更新)',[a0_0x53bff1(0x2f5)]:'创建',[a0_0x53bff1(0xcd)]:'更新',[a0_0x53bff1(0x1e0)]:'删除',['getSelectOptions']:a0_0x53bff1(0x205),[a0_0x53bff1(0x23e)]:a0_0x53bff1(0x296),[a0_0x53bff1(0x297)]:a0_0x53bff1(0x1fb),[a0_0x53bff1(0x2ad)]:a0_0x53bff1(0x134),['createImport']:a0_0x53bff1(0x183),[a0_0x53bff1(0x233)]:'创建导出',[a0_0x53bff1(0x143)]:a0_0x53bff1(0x1ea),['importTemplate']:a0_0x53bff1(0x2f2)},API_BLACKLIST=['getList',a0_0x53bff1(0x182),a0_0x53bff1(0x197),a0_0x53bff1(0x23e)];function parseFieldExtend(_0x6bd65f){const _0x5a60cf=a0_0x53bff1;if(!_0x6bd65f||typeof _0x6bd65f!==_0x5a60cf(0xdc))return!![]&&console[_0x5a60cf(0x2f4)](_0x5a60cf(0x1f9),_0x6bd65f),{};if(!_0x6bd65f[_0x5a60cf(0x114)])return{};try{const _0x1c0d55=typeof _0x6bd65f['extend']===_0x5a60cf(0x2e0)?JSON['parse'](_0x6bd65f[_0x5a60cf(0x114)]):_0x6bd65f['extend'];if(typeof _0x1c0d55!==_0x5a60cf(0xdc)||_0x1c0d55===null)return{};return _0x1c0d55;}catch{return{};}}function isPrimaryKeyField(_0x4eb971,_0x9da0a9){const _0x35d6c5=a0_0x53bff1;if(!_0x4eb971||typeof _0x4eb971!==_0x35d6c5(0xdc))return![];if(typeof _0x9da0a9===_0x35d6c5(0x2e0)&&_0x4eb971[_0x35d6c5(0x1dd)]===_0x9da0a9)return!![];const _0x1e8b44=parseFieldExtend(_0x4eb971);return Boolean(_0x1e8b44[_0x35d6c5(0x23b)]||_0x1e8b44[_0x35d6c5(0x2b8)]);}function isSystemField(_0x41b5b5){const _0x59ef34=parseFieldExtend(_0x41b5b5);return Boolean(_0x59ef34['systemRetain']);}function isRequiredField(_0x477af2){const _0x35a261=a0_0x53bff1,_0x5828d8=parseFieldExtend(_0x477af2);return Boolean(_0x5828d8[_0x35a261(0x23c)]);}function isAutoIncrementField(_0x181e20){const _0x1890a5=parseFieldExtend(_0x181e20);return Boolean(_0x1890a5['autoIncrement']);}function isCreateTimeField(_0x3abfa9){const _0x2abfd4=a0_0x53bff1,_0x1aee4b=parseFieldExtend(_0x3abfa9);return Boolean(_0x1aee4b[_0x2abfd4(0x284)]);}function isModifyTimeField(_0x491761){const _0x321591=a0_0x53bff1,_0x5a7d70=parseFieldExtend(_0x491761);return Boolean(_0x5a7d70[_0x321591(0x1ef)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':a0_0x53bff1(0x173),'DATE':'日期','DATETIME':a0_0x53bff1(0x26c),'TIMESTAMP':a0_0x53bff1(0x11f),'SELECT':a0_0x53bff1(0x2ae),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':'文件上传','IMAGE':'图片','RICH_TEXT':a0_0x53bff1(0x163),'JSON':a0_0x53bff1(0xf6),'ARRAY':'数组'};function getDbTypeDisplay(_0x202e37){const _0x196c38=a0_0x53bff1;if(typeof _0x202e37!==_0x196c38(0x2e0))return!![]&&console[_0x196c38(0x2f4)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x202e37),String(_0x202e37||'-');return DB_TYPE_DISPLAY_MAP[_0x202e37]||_0x202e37;}function formatDbType(_0x210656,_0x3be58e){const _0x5d0be3=a0_0x53bff1;if(!_0x210656||typeof _0x210656!==_0x5d0be3(0x2e0))return'-';if(!_0x3be58e||typeof _0x3be58e!==_0x5d0be3(0x14c))return _0x210656;const _0x596cf3=[_0x5d0be3(0x288),_0x5d0be3(0xee),'TIMESTAMP',_0x5d0be3(0x1bb)];if(_0x596cf3[_0x5d0be3(0x220)](_0x210656[_0x5d0be3(0x311)]()))return _0x210656;return _0x210656+'('+_0x3be58e+')';}function parseOperationType(_0x694fec){const _0x1ac948=a0_0x53bff1;if(typeof _0x694fec!==_0x1ac948(0x2e0)){!![]&&console[_0x1ac948(0x2f4)](_0x1ac948(0xfc),_0x694fec);return;}if(Object[_0x1ac948(0x128)](DatasetOperationType)['includes'](_0x694fec))return _0x694fec;const _0x8edb29=Object[_0x1ac948(0x2d3)](OPERATION_TYPE_DISPLAY_NAME)[_0x1ac948(0x1ae)](([_0x5ab3d5,_0x1f77b3])=>_0x1f77b3===_0x694fec);return _0x8edb29?_0x8edb29[0x0]:undefined;}function shouldIncludeField(_0x5afd29,_0x34dd63,_0x341fbe){const _0x132224=a0_0x53bff1,_0x2f4cf0=parseFieldExtend(_0x5afd29),_0x10d535=isPrimaryKeyField(_0x5afd29,_0x341fbe),_0x38abe8=Boolean(_0x2f4cf0[_0x132224(0x2b7)]),_0x28d4e9=Boolean(_0x2f4cf0[_0x132224(0x112)]),_0x34d6ae=Boolean(_0x2f4cf0['createDate']),_0x5663eb=Boolean(_0x2f4cf0['modifyDate']);switch(_0x34dd63){case _0x132224(0xe1):return!![];case'getOne':case _0x132224(0x182):case _0x132224(0x1e0):return _0x10d535;case _0x132224(0x2f5):if(_0x10d535&&_0x28d4e9)return![];if(_0x38abe8)return![];if(_0x34d6ae||_0x5663eb)return![];return!![];case _0x132224(0xcd):case'getOneUpdate':if(_0x10d535)return!![];if(_0x38abe8)return![];if(_0x34d6ae||_0x5663eb)return![];return!![];case _0x132224(0x291):return _0x5afd29[_0x132224(0x1dd)]===_0x132224(0x1dd);default:return!![];}}function getFieldsForOperation(_0x30106e,_0x22fcf2,_0x571198){const _0x13da5c=a0_0x53bff1;if(!Array[_0x13da5c(0x153)](_0x30106e))return!![]&&console[_0x13da5c(0x2f4)](_0x13da5c(0x272),_0x30106e),[];return _0x30106e[_0x13da5c(0x1ce)](_0x597734=>shouldIncludeField(_0x597734,_0x22fcf2,_0x571198));}function isApiBlacklisted(_0x4bb7ca){const _0x4488d3=a0_0x53bff1;if(typeof _0x4bb7ca!==_0x4488d3(0x2e0))return!![]&&console['warn'](_0x4488d3(0x149),_0x4bb7ca),![];return API_BLACKLIST[_0x4488d3(0x220)](_0x4bb7ca);}function filterApiOperations(_0x59aef9){const _0x5e729d=a0_0x53bff1;if(!Array[_0x5e729d(0x153)](_0x59aef9))return!![]&&console['warn'](_0x5e729d(0xe9),_0x59aef9),[];return _0x59aef9[_0x5e729d(0x1ce)](_0x19d8dc=>_0x19d8dc&&typeof _0x19d8dc===_0x5e729d(0xdc)&&!isApiBlacklisted(_0x19d8dc[_0x5e729d(0xfb)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x53bff1(0x1a5)](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x1c6b11})=>{const _0xc94879=a0_0x53bff1;if(_0x1c6b11?.['options']&&Array[_0xc94879(0x153)](_0x1c6b11[_0xc94879(0x247)])&&_0x1c6b11['options'][_0xc94879(0x305)]>0x0)return _0x1c6b11[_0xc94879(0x247)][0x0][_0xc94879(0x2a6)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0xc410bf})=>{const _0x33c7a7=a0_0x53bff1;if(_0xc410bf==='currentPage')return 0x1;if(_0xc410bf===_0x33c7a7(0x229))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x5bb2ee})=>{const _0x407700=a0_0x53bff1;if(_0x5bb2ee&&typeof _0x5bb2ee===_0x407700(0x2e0)){const _0x6102fa=_0x5bb2ee['toLowerCase']();if(_0x6102fa[_0x407700(0x220)]('邮箱')||_0x6102fa[_0x407700(0x220)](_0x407700(0x269)))return _0x407700(0x2e4);if(_0x6102fa[_0x407700(0x220)]('电话')||_0x6102fa['includes']('手机')||_0x6102fa['includes'](_0x407700(0x140)))return _0x407700(0x232);if(_0x6102fa[_0x407700(0x220)]('地址')||_0x6102fa[_0x407700(0x220)](_0x407700(0xd9)))return _0x407700(0x21b);if(_0x6102fa['includes']('姓名')||_0x6102fa[_0x407700(0x220)](_0x407700(0xfb)))return'张三';}return'示例文本';},'VARCHAR':({description:_0x392f71})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x392f71}),'CHAR':({description:_0x1936da})=>TYPE_VALUE_GENERATORS[a0_0x53bff1(0x288)]({'description':_0x1936da}),'STRING':({fieldInfo:_0x260b01,description:_0x17a771})=>{const _0x29c2d0=a0_0x53bff1;if(_0x260b01?.['placeholder']&&typeof _0x260b01[_0x29c2d0(0x157)]===_0x29c2d0(0x2e0)&&_0x260b01['placeholder']!=='系统自动生成')return _0x260b01[_0x29c2d0(0x157)][_0x29c2d0(0x254)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS['TEXT']({'description':_0x17a771});},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x53bff1(0xe6),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x53bff1(0x2a6)}),'ARRAY':()=>[a0_0x53bff1(0x16e),'item2'],'UPLOAD':()=>a0_0x53bff1(0x1ac),'IMAGE':()=>a0_0x53bff1(0x281),'RICH_TEXT':()=>'<p>富文本内容</p>'};function generateExampleValue(_0x1c7314,_0x806cc1,_0x545c1d,_0x35dcf2={}){const _0x26dcff=a0_0x53bff1;typeof _0x1c7314!==_0x26dcff(0x2e0)&&(!![]&&console['warn'](_0x26dcff(0x29f),_0x1c7314),_0x1c7314=String(_0x1c7314||''));if(typeof _0x806cc1!=='string')return!![]&&console[_0x26dcff(0x2f4)]('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x806cc1),_0x26dcff(0x2c0);const {isPrimaryKey:_0x46bd3b,dbtableConfig:_0x7af142}=_0x35dcf2;if(_0x46bd3b)return 0x1;if(_0x7af142&&typeof _0x7af142==='object'){const _0x4063d3=_0x7af142[_0x26dcff(0x27b)]?.[_0x26dcff(0x15a)]===_0x1c7314,_0x570ada=_0x7af142[_0x26dcff(0x234)]?.[_0x26dcff(0x15a)]===_0x1c7314;if(_0x4063d3||_0x570ada){if(_0x545c1d&&typeof _0x545c1d===_0x26dcff(0x2e0)&&_0x545c1d[_0x26dcff(0x311)]()[_0x26dcff(0x220)]('TIMESTAMP'))return Date[_0x26dcff(0x1a5)]();return new Date()[_0x26dcff(0xcf)]()[_0x26dcff(0x254)]('T','\x20')[_0x26dcff(0xf8)]('.')[0x0];}}const _0x1708a7={..._0x35dcf2,'fieldCode':_0x1c7314};if(_0x545c1d&&typeof _0x545c1d==='string'){const _0x1d3f6f=_0x545c1d['toUpperCase'](),_0x15d934=TYPE_VALUE_GENERATORS[_0x1d3f6f];if(_0x15d934)return _0x15d934(_0x1708a7);}if(_0x806cc1&&typeof _0x806cc1===_0x26dcff(0x2e0)){const _0x11cd6b=_0x806cc1[_0x26dcff(0x311)](),_0x5e4ebf=TYPE_VALUE_GENERATORS[_0x11cd6b];if(_0x5e4ebf)return _0x5e4ebf(_0x1708a7);}return _0x26dcff(0x2c0);}function generateExampleFromSchema(_0x382a97,_0x48b9a0){const _0x153262=a0_0x53bff1;if(!_0x382a97||typeof _0x382a97!=='object')return{};if(Array[_0x153262(0x153)](_0x382a97)){if(_0x382a97['length']>0x0)return[generateExampleFromSchema(_0x382a97[0x0],_0x48b9a0)];return[];}const _0x484343={};return Object[_0x153262(0x28a)](_0x382a97)[_0x153262(0x1b2)](_0x2b1be2=>{const _0x2438aa=_0x153262,_0xc3988f=_0x382a97[_0x2b1be2];if(_0xc3988f&&typeof _0xc3988f===_0x2438aa(0xdc)&&!Array['isArray'](_0xc3988f)&&_0xc3988f[_0x2438aa(0x2ab)]){const _0x2cf21a=_0xc3988f,_0x28bf03=_0x2cf21a[_0x2438aa(0x2ab)],_0x252138=_0x2cf21a[_0x2438aa(0x101)];typeof _0x28bf03===_0x2438aa(0x2e0)?_0x484343[_0x2b1be2]=generateExampleValue(_0x2b1be2,_0x28bf03,undefined,{'description':_0x252138,'dbtableConfig':_0x48b9a0}):_0x484343[_0x2b1be2]=_0x2438aa(0x2c0);}else{if(Array[_0x2438aa(0x153)](_0xc3988f))_0x484343[_0x2b1be2]=_0xc3988f[_0x2438aa(0x305)]>0x0?[generateExampleFromSchema(_0xc3988f[0x0],_0x48b9a0)]:[];else _0xc3988f&&typeof _0xc3988f===_0x2438aa(0xdc)?_0x484343[_0x2b1be2]=generateExampleFromSchema(_0xc3988f,_0x48b9a0):_0x484343[_0x2b1be2]=_0xc3988f;}}),_0x484343;}function parseRequestBody(_0x1ef3d3){const _0x4b89c0=a0_0x53bff1;if(!_0x1ef3d3)return{};try{return JSON[_0x4b89c0(0x2b5)](_0x1ef3d3);}catch(_0x4b55b2){return!![]&&console[_0x4b89c0(0x2f4)](_0x4b89c0(0x2c9),_0x4b55b2),{};}}function parseResponseBody(_0x427823){const _0x2a2019=a0_0x53bff1;if(!_0x427823)return null;try{const _0x151264=JSON[_0x2a2019(0x2b5)](_0x427823);return _0x151264[_0x2a2019(0x315)]||_0x151264;}catch(_0x5ab70b){return!![]&&console[_0x2a2019(0x2f4)]('解析\x20responseBody\x20失败:',_0x5ab70b),null;}}function generateRequestExample(_0x409e3e,_0x53ab17,_0x37e64e,_0x12be2e){const _0x37f4b4=a0_0x53bff1,_0x5c7a77={};if(!Array['isArray'](_0x409e3e))return!![]&&console[_0x37f4b4(0x2f4)](_0x37f4b4(0x127),_0x409e3e),_0x5c7a77;return _0x409e3e['forEach'](_0x22e1bf=>{const _0x1e7277=_0x37f4b4;if(!_0x22e1bf||typeof _0x22e1bf!==_0x1e7277(0xdc)){!![]&&console[_0x1e7277(0x2f4)](_0x1e7277(0x2ea),_0x22e1bf);return;}if(typeof _0x22e1bf[_0x1e7277(0x1dd)]!==_0x1e7277(0x2e0)||typeof _0x22e1bf[_0x1e7277(0x2ab)]!==_0x1e7277(0x2e0)){!![]&&console[_0x1e7277(0x2f4)](_0x1e7277(0x17c),_0x22e1bf);return;}const _0x3bec07=parseFieldExtend(_0x22e1bf),_0x1fec20=_0x22e1bf[_0x1e7277(0x1dd)]===_0x37e64e||Boolean(_0x3bec07?.[_0x1e7277(0x23b)]),_0x409531=generateExampleValue(_0x22e1bf[_0x1e7277(0x1dd)],_0x22e1bf[_0x1e7277(0x2ab)],typeof _0x22e1bf[_0x1e7277(0x1c7)]==='string'?_0x22e1bf[_0x1e7277(0x1c7)]:undefined,{'fieldInfo':_0x3bec07,'isPrimaryKey':_0x1fec20,'description':_0x22e1bf[_0x1e7277(0x101)]||_0x22e1bf[_0x1e7277(0xfb)],'dbtableConfig':_0x12be2e});_0x5c7a77[_0x22e1bf[_0x1e7277(0x1dd)]]=_0x409531;}),_0x53ab17===_0x37f4b4(0xe1)&&(_0x5c7a77[_0x37f4b4(0x17d)]=0x1,_0x5c7a77[_0x37f4b4(0x229)]=0xa),_0x5c7a77;}function formatEnumValue(_0x56f8be,_0xc284ce){const _0x4d78cd=a0_0x53bff1;if(_0x56f8be['multiple']&&Array[_0x4d78cd(0x153)](_0xc284ce))return _0xc284ce[_0x4d78cd(0x1e1)](_0x32aa5e=>_0x56f8be[_0x4d78cd(0x164)][String(_0x32aa5e)]||String(_0x32aa5e))[_0x4d78cd(0x2e8)](',\x20');return _0x56f8be[_0x4d78cd(0x164)][String(_0xc284ce)]||String(_0xc284ce);}function formatOptionsForDoc(_0x258364){const _0x1d3fed=a0_0x53bff1;return _0x258364[_0x1d3fed(0x1e1)](_0x5da442=>_0x5da442[_0x1d3fed(0x2a6)]+'('+_0x5da442[_0x1d3fed(0x2ee)]+')')[_0x1d3fed(0x2e8)](',\x20');}function formatOptionsAsMarkdownList(_0x286bb7,_0x5cead6=0x0){const _0x3aa87a=a0_0x53bff1,_0x4ea440='\x20\x20'[_0x3aa87a(0x243)](_0x5cead6),_0x21f477=[];return _0x286bb7[_0x3aa87a(0x1b2)](_0xb98dbd=>{const _0x2869c3=_0x3aa87a;_0x21f477[_0x2869c3(0xd1)](_0x4ea440+'-\x20`'+_0xb98dbd[_0x2869c3(0x2a6)]+'`:\x20'+_0xb98dbd[_0x2869c3(0x2ee)]),_0xb98dbd[_0x2869c3(0x10c)]&&_0xb98dbd[_0x2869c3(0x10c)][_0x2869c3(0x305)]>0x0&&_0x21f477[_0x2869c3(0xd1)](formatOptionsAsMarkdownList(_0xb98dbd[_0x2869c3(0x10c)],_0x5cead6+0x1));}),_0x21f477[_0x3aa87a(0x2e8)]('\x0a');}class DbtableConfig{[a0_0x53bff1(0x313)];constructor(_0xc4a22){this['_raw']={..._0xc4a22};}get['dbId'](){const _0x315d61=a0_0x53bff1;return this[_0x315d61(0x313)][_0x315d61(0x126)];}get[a0_0x53bff1(0x20a)](){const _0x38bfd3=a0_0x53bff1;return this[_0x38bfd3(0x313)][_0x38bfd3(0x20a)]??this[_0x38bfd3(0x313)][_0x38bfd3(0x2d4)]?.[_0x38bfd3(0x20a)];}get['tableName'](){const _0x5466f8=a0_0x53bff1;return this[_0x5466f8(0x313)][_0x5466f8(0x1fa)];}get['datasetKey'](){const _0x19ffe1=a0_0x53bff1;return this[_0x19ffe1(0x313)][_0x19ffe1(0x12f)];}get['pkField'](){const _0xbe443=a0_0x53bff1;return this[_0xbe443(0x313)][_0xbe443(0x2b8)];}get[a0_0x53bff1(0x11c)](){const _0x234742=a0_0x53bff1;return this['_raw'][_0x234742(0x11c)];}get[a0_0x53bff1(0x1d7)](){const _0x13e814=a0_0x53bff1;return this[_0x13e814(0x313)]['logicField'];}get[a0_0x53bff1(0x27b)](){const _0x555b85=a0_0x53bff1;return this[_0x555b85(0x313)][_0x555b85(0x27b)];}get[a0_0x53bff1(0x234)](){const _0x405e65=a0_0x53bff1;return this[_0x405e65(0x313)][_0x405e65(0x234)];}get['creatorIdField'](){const _0x4513dd=a0_0x53bff1;return this[_0x4513dd(0x313)][_0x4513dd(0x236)];}get['creatorNameField'](){const _0x155bae=a0_0x53bff1;return this[_0x155bae(0x313)][_0x155bae(0x2cc)];}get[a0_0x53bff1(0x214)](){const _0x1aa66f=a0_0x53bff1;return this[_0x1aa66f(0x313)]['modifierIdField'];}get[a0_0x53bff1(0x177)](){const _0x392410=a0_0x53bff1;return this[_0x392410(0x313)][_0x392410(0x177)];}get['dblinkInfoDTO'](){const _0x316fb4=a0_0x53bff1;return this[_0x316fb4(0x313)][_0x316fb4(0x2d4)];}[a0_0x53bff1(0x270)](){const _0x40721a=a0_0x53bff1;if(!this['_raw'][_0x40721a(0x1f4)])return[];return this[_0x40721a(0x313)][_0x40721a(0x1f4)][_0x40721a(0xf8)](',')[_0x40721a(0x1e1)](_0x2a9736=>_0x2a9736['trim']())['filter'](Boolean);}[a0_0x53bff1(0x25f)](){const _0x40997f=a0_0x53bff1;return this['_raw'][_0x40997f(0x1f4)];}[a0_0x53bff1(0x248)](_0x5342dd){const _0x1441e6=a0_0x53bff1;return this[_0x1441e6(0x270)]()[_0x1441e6(0x220)](_0x5342dd);}[a0_0x53bff1(0x13a)](){const _0x2404f4=a0_0x53bff1;return Boolean(this[_0x2404f4(0x313)][_0x2404f4(0x1fa)]);}[a0_0x53bff1(0x30d)](){const _0x4160e8=a0_0x53bff1;return Boolean(this[_0x4160e8(0x313)][_0x4160e8(0x2d4)]);}[a0_0x53bff1(0x21c)](){const _0x11d07b=a0_0x53bff1;return Boolean(this[_0x11d07b(0x313)][_0x11d07b(0x1d7)]?.[_0x11d07b(0x15a)]);}[a0_0x53bff1(0x1cd)](){const _0x3383e5=a0_0x53bff1;return Boolean(this[_0x3383e5(0x313)][_0x3383e5(0x27b)]?.[_0x3383e5(0x15a)]);}[a0_0x53bff1(0x27f)](){const _0x1d50f4=a0_0x53bff1;return Boolean(this['_raw'][_0x1d50f4(0x234)]?.[_0x1d50f4(0x15a)]);}[a0_0x53bff1(0x161)](){const _0x3605c7=a0_0x53bff1;return Boolean(this[_0x3605c7(0x313)]['creatorIdField']?.[_0x3605c7(0x15a)]);}[a0_0x53bff1(0x18a)](){const _0x4ae99a=a0_0x53bff1;return Boolean(this[_0x4ae99a(0x313)][_0x4ae99a(0x214)]?.[_0x4ae99a(0x15a)]);}[a0_0x53bff1(0x2b6)](_0x28a384){const _0x372cab=a0_0x53bff1;return this[_0x372cab(0x313)][_0x372cab(0x2b8)]===_0x28a384;}[a0_0x53bff1(0x1ec)](_0x5efff1){const _0x35002e=a0_0x53bff1;return this[_0x35002e(0x2b6)](_0x5efff1)||this[_0x35002e(0x313)][_0x35002e(0x1d7)]?.['fieldName']===_0x5efff1||this[_0x35002e(0x313)]['createTimeField']?.[_0x35002e(0x15a)]===_0x5efff1||this[_0x35002e(0x313)]['updateTimeField']?.[_0x35002e(0x15a)]===_0x5efff1||this[_0x35002e(0x313)][_0x35002e(0x236)]?.['fieldName']===_0x5efff1||this[_0x35002e(0x313)][_0x35002e(0x2cc)]?.[_0x35002e(0x15a)]===_0x5efff1||this['_raw'][_0x35002e(0x214)]?.[_0x35002e(0x15a)]===_0x5efff1||this[_0x35002e(0x313)][_0x35002e(0x177)]?.[_0x35002e(0x15a)]===_0x5efff1;}[a0_0x53bff1(0x16c)](){const _0x30feeb=a0_0x53bff1;return this['_raw'][_0x30feeb(0x2d4)]?.['dbName'];}['getDatabaseType'](){const _0x452662=a0_0x53bff1;return this[_0x452662(0x313)][_0x452662(0x2d4)]?.[_0x452662(0x1c7)];}['getDatabaseVersion'](){const _0xa53112=a0_0x53bff1;return this[_0xa53112(0x313)]['dblinkInfoDTO']?.[_0xa53112(0x195)];}[a0_0x53bff1(0x1d6)](){const _0x19dfe9=a0_0x53bff1;return this[_0x19dfe9(0x313)][_0x19dfe9(0x2d4)]?.[_0x19dfe9(0x189)];}['getAppCode'](){const _0xadfbf5=a0_0x53bff1;return this[_0xadfbf5(0x313)][_0xadfbf5(0x2d4)]?.[_0xadfbf5(0x2c6)];}[a0_0x53bff1(0xe5)](){const _0x56f228=a0_0x53bff1;return this[_0x56f228(0x313)][_0x56f228(0x2d4)]?.[_0x56f228(0x24f)];}[a0_0x53bff1(0x1d8)](){const _0x2de74b=a0_0x53bff1;return{'hasTableName':this[_0x2de74b(0x13a)](),'hasDblinkInfo':this[_0x2de74b(0x30d)](),'fieldCount':this[_0x2de74b(0x270)]()['length'],'systemFields':{'hasLogicField':this[_0x2de74b(0x21c)](),'hasCreateTimeField':this[_0x2de74b(0x1cd)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x2de74b(0x18a)]()}};}[a0_0x53bff1(0x17b)](){const _0x22fb57=a0_0x53bff1;return{'tableName':this['tableName'],'pkField':this[_0x22fb57(0x2b8)],'datasetKey':this[_0x22fb57(0x12f)],'dbId':this[_0x22fb57(0x126)]};}[a0_0x53bff1(0x1d2)](){const _0x1ef892=a0_0x53bff1;return{...this[_0x1ef892(0x313)]};}[a0_0x53bff1(0x180)](){return{...this['_raw']};}[a0_0x53bff1(0x15f)](){const _0x5b20a3=a0_0x53bff1,_0x50fbdf=this[_0x5b20a3(0x1fa)]||_0x5b20a3(0x18f),_0x566504=this[_0x5b20a3(0x270)]()[_0x5b20a3(0x305)];return _0x5b20a3(0xdf)+_0x50fbdf+_0x5b20a3(0x286)+_0x566504+')';}static[a0_0x53bff1(0xeb)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x53bff1(0x313)];constructor(_0x3c2712){const _0x3135f7=a0_0x53bff1,_0x22ae0e=_0x3c2712['datasetCode']||_0x3c2712[_0x3135f7(0x1dd)]||_0x3c2712[_0x3135f7(0x2d8)];this[_0x3135f7(0x313)]={..._0x3c2712,'datasetCode':_0x22ae0e};}get['id'](){const _0x27445f=a0_0x53bff1;return this[_0x27445f(0x313)]['id'];}get[a0_0x53bff1(0xfb)](){const _0x2f82b0=a0_0x53bff1;return this[_0x2f82b0(0x313)][_0x2f82b0(0xfb)];}[a0_0x53bff1(0x1f3)](){const _0x4f06e5=a0_0x53bff1;return this[_0x4f06e5(0xfb)];}get['datasetCode'](){const _0x1413aa=a0_0x53bff1;return this['_raw'][_0x1413aa(0x1c8)]||'';}get[a0_0x53bff1(0x2f7)](){const _0xca2fd1=a0_0x53bff1;if(!this[_0xca2fd1(0x313)][_0xca2fd1(0x2f7)])return null;return new DbtableConfig(this[_0xca2fd1(0x313)]['dbtableConfig']);}[a0_0x53bff1(0x2b1)](){const _0x1c1300=a0_0x53bff1;return this[_0x1c1300(0x313)][_0x1c1300(0x2f7)];}[a0_0x53bff1(0x14e)](){const _0x569fed=a0_0x53bff1;return this[_0x569fed(0x2f7)]?.[_0x569fed(0x20a)]||'';}[a0_0x53bff1(0x151)](){return getTableName(this['_raw']);}[a0_0x53bff1(0x155)](){const _0xb30d90=a0_0x53bff1;return getTableKey(this[_0xb30d90(0x151)]());}[a0_0x53bff1(0x1a6)](){const _0x3d1f65=a0_0x53bff1;return generateModelKeyFromCode(this[_0x3d1f65(0x1c8)]);}[a0_0x53bff1(0x282)](){return isVirtualTableName(this['getTableName']());}[a0_0x53bff1(0x26a)](){return getTableKey(this['getTableName']());}['toConfig'](){const _0x5a3c63=a0_0x53bff1,_0x24d745=getTableKey(this[_0x5a3c63(0x151)]());return{'key':_0x24d745,'alias':_0x24d745,'tableName':this[_0x5a3c63(0x151)](),'datasetCode':this[_0x5a3c63(0x1c8)],'name':this[_0x5a3c63(0xfb)]};}[a0_0x53bff1(0x1d2)](){const _0x8a35f9=a0_0x53bff1;return{...this['_raw'],'datasetCode':this[_0x8a35f9(0x1c8)]};}[a0_0x53bff1(0x180)](){const _0x4647b0=a0_0x53bff1;return{...this[_0x4647b0(0x313)]};}['hasDbtableConfig'](){const _0x2ddc2f=a0_0x53bff1,_0x5218a9=this['dbtableConfig'];return _0x5218a9!==null&&_0x5218a9[_0x2ddc2f(0x13a)]();}[a0_0x53bff1(0x1fc)](_0x70153){const _0x4f9e06=a0_0x53bff1;return this[_0x4f9e06(0x313)][_0x70153];}[a0_0x53bff1(0x150)](_0xb8f0ab){return _0xb8f0ab in this['_raw'];}[a0_0x53bff1(0x15f)](){const _0x40a4cc=a0_0x53bff1;return'DatasetItem('+this['name']+',\x20'+this[_0x40a4cc(0x1c8)]+')';}}class Operation{[a0_0x53bff1(0xfb)];['_raw'];[a0_0x53bff1(0x223)];constructor(_0x452c92,_0x52a49e,_0xcacc6e){const _0x4926c0=a0_0x53bff1;this[_0x4926c0(0xfb)]=_0x452c92,this[_0x4926c0(0x313)]=_0x52a49e,this['context']=_0xcacc6e;}[a0_0x53bff1(0x1f3)](){const _0x230095=a0_0x53bff1;return this[_0x230095(0xfb)];}[a0_0x53bff1(0x1e4)](){const _0x514af9=a0_0x53bff1,_0x3b4854=this[_0x514af9(0x201)]();return _0x3b4854?OPERATION_TYPE_DISPLAY_NAME[_0x3b4854]:this['name'];}['getType'](){const _0x2ef59c=a0_0x53bff1;return parseOperationType(this[_0x2ef59c(0xfb)]);}['isEnabled'](){const _0x5925ad=a0_0x53bff1;return this[_0x5925ad(0x313)]!=null&&this[_0x5925ad(0x313)]!==![];}['getMethod'](){const _0x16fb55=a0_0x53bff1;if(!this[_0x16fb55(0x1ba)]()||!this[_0x16fb55(0x313)])return'';const _0x22a7fa=this[_0x16fb55(0x313)]['method'];return typeof _0x22a7fa===_0x16fb55(0x2e0)?_0x22a7fa:_0x16fb55(0x187);}[a0_0x53bff1(0x25c)](){const _0x127826=a0_0x53bff1;if(!this['isEnabled']()||!this[_0x127826(0x313)])return'';const _0x57cb02=this[_0x127826(0x313)]['path'];return typeof _0x57cb02===_0x127826(0x2e0)?_0x57cb02:'';}['getFullUrl'](){const _0x845b9a=a0_0x53bff1;if(!this[_0x845b9a(0x1ba)]()||!this[_0x845b9a(0x313)])return'';const {host:_0x59490f,path:_0x8bf190}=this[_0x845b9a(0x313)],_0x5638d7=typeof _0x59490f===_0x845b9a(0x2e0)?_0x59490f:'',_0x58013e=typeof _0x8bf190===_0x845b9a(0x2e0)?_0x8bf190:'';return _0x5638d7&&_0x58013e?''+_0x5638d7+_0x58013e:_0x58013e;}[a0_0x53bff1(0x13b)](){return Object['keys'](this['getRequestParams']());}[a0_0x53bff1(0x18d)](){const _0x5de936=a0_0x53bff1,_0x5ba7aa=this[_0x5de936(0x1f1)]();return{'params':Object[_0x5de936(0x2d3)](_0x5ba7aa)[_0x5de936(0x1e1)](([_0x36b148,_0x18e972])=>{const _0x28babc=_0x5de936,_0x39810a=_0x18e972;return{'name':_0x36b148,'type':_0x39810a[_0x28babc(0x2ab)]||_0x28babc(0x215),'description':_0x39810a['description']||'-','required':_0x39810a['required']};})};}['parseRawRequestBody'](){const _0x570e5b=a0_0x53bff1;if(!this[_0x570e5b(0x1ba)]()||typeof this['_raw']===_0x570e5b(0xf5)||!this[_0x570e5b(0x313)]?.['requestBody'])return{};const _0x409b44=this[_0x570e5b(0x313)][_0x570e5b(0x130)];if(typeof _0x409b44!=='string')return!![]&&console[_0x570e5b(0x2f4)](_0x570e5b(0x1e9),_0x409b44),{};return parseRequestBody(_0x409b44);}['parseRawResponseBody'](){const _0x167c13=a0_0x53bff1;if(!this[_0x167c13(0x1ba)]()||typeof this['_raw']===_0x167c13(0xf5)||!this[_0x167c13(0x313)]?.[_0x167c13(0x2b4)])return null;const _0x47bdc7=this[_0x167c13(0x313)][_0x167c13(0x2b4)];if(typeof _0x47bdc7!==_0x167c13(0x2e0))return!![]&&console['warn']('[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:',_0x47bdc7),null;return parseResponseBody(_0x47bdc7);}[a0_0x53bff1(0x2c3)](_0x2d0018,_0x261ff8,_0x57ad1a,_0x3d120b){const _0x27508c=a0_0x53bff1;return generateExampleValue(_0x2d0018,_0x261ff8,_0x57ad1a,{'isPrimaryKey':_0x3d120b?.[_0x27508c(0x24e)],'description':_0x3d120b?.[_0x27508c(0x101)],'dbtableConfig':this[_0x27508c(0x223)]['dbtableConfig']});}['getFieldDefinition'](_0x4a45cb){const _0x4a6a9d=a0_0x53bff1;if(!Array['isArray'](this[_0x4a6a9d(0x223)][_0x4a6a9d(0x1b0)])){!![]&&console[_0x4a6a9d(0x2f4)]('[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array');return;}if(typeof _0x4a45cb!==_0x4a6a9d(0x2e0)){!![]&&console[_0x4a6a9d(0x2f4)](_0x4a6a9d(0x209),_0x4a45cb);return;}return this[_0x4a6a9d(0x223)][_0x4a6a9d(0x1b0)][_0x4a6a9d(0x1ae)](_0x5209d7=>_0x5209d7&&_0x5209d7[_0x4a6a9d(0x1dd)]===_0x4a45cb);}[a0_0x53bff1(0x15f)](){const _0x463134=a0_0x53bff1,_0x244f09=this[_0x463134(0x1ba)]()?'启用':'禁用';return this[_0x463134(0x1e4)]()+'('+this[_0x463134(0xfb)]+',\x20'+_0x244f09+')';}['getOperators'](){return[];}[a0_0x53bff1(0xde)](_0x5dbca2){return[];}[a0_0x53bff1(0x19b)](_0x32e74d){const _0x585d12=a0_0x53bff1,_0x48437d=this['getName'](),_0x2010da=_0x585d12(0x28c)+_0x32e74d+'.'+_0x48437d+_0x585d12(0x2ff),_0x581e50=_0x585d12(0x22e)+_0x32e74d+'.'+_0x48437d+_0x585d12(0x15e);return{'successCode':_0x2010da,'errorCode':_0x581e50};}['toJSON'](){const _0x996a4f=a0_0x53bff1;return{'name':this['getName'](),'displayName':this[_0x996a4f(0x1e4)](),'type':this[_0x996a4f(0x201)](),'enabled':this[_0x996a4f(0x1ba)](),'method':this['getMethod'](),'path':this[_0x996a4f(0x25c)](),'fullUrl':this[_0x996a4f(0x280)](),'requestFields':this[_0x996a4f(0x13b)](),'requestParams':this[_0x996a4f(0x1f1)](),'responseSchema':this['getResponseSchema'](),'requestExample':this['generateRequestExample'](),'responseExample':this['generateResponseExample']()};}}class GenericOperation extends Operation{[a0_0x53bff1(0xd3)];[a0_0x53bff1(0x1f1)](){const _0x6cb35c=a0_0x53bff1;return this[_0x6cb35c(0x289)]();}[a0_0x53bff1(0x10b)](){const _0x11f1d3=a0_0x53bff1;return this[_0x11f1d3(0x162)]();}[a0_0x53bff1(0x211)](){const _0xf73a1=a0_0x53bff1;if(this[_0xf73a1(0xd3)])return this[_0xf73a1(0xd3)];const _0x7ea231={},_0x23a880=this[_0xf73a1(0x1f1)](),_0x147862=this[_0xf73a1(0x201)]();if(Object[_0xf73a1(0x28a)](_0x23a880)[_0xf73a1(0x305)]===0x0&&_0x147862){const _0x3d0fd8=getFieldsForOperation(this[_0xf73a1(0x223)][_0xf73a1(0x1b0)],_0x147862,this[_0xf73a1(0x223)][_0xf73a1(0x2b8)]);return _0x3d0fd8[_0xf73a1(0x1b2)](_0x3ef6b6=>{const _0x4d52eb=_0xf73a1,_0x5a7c15=this[_0x4d52eb(0x2c3)](_0x3ef6b6[_0x4d52eb(0x1dd)],_0x3ef6b6['type'],typeof _0x3ef6b6['dbType']===_0x4d52eb(0x2e0)?_0x3ef6b6[_0x4d52eb(0x1c7)]:undefined,{'isPrimaryKey':_0x3ef6b6[_0x4d52eb(0x1dd)]===this[_0x4d52eb(0x223)][_0x4d52eb(0x2b8)],'description':_0x3ef6b6[_0x4d52eb(0x101)]||_0x3ef6b6[_0x4d52eb(0xfb)]});_0x7ea231[_0x3ef6b6[_0x4d52eb(0x1dd)]]=_0x5a7c15;}),this[_0xf73a1(0xd3)]=_0x7ea231,_0x7ea231;}return Object['entries'](_0x23a880)[_0xf73a1(0x1b2)](([_0x1fa516,_0x284912])=>{const _0x536cd0=_0xf73a1,_0x155ab3=_0x284912;let _0x5a2ded;if(typeof _0x155ab3[_0x536cd0(0x2ab)]===_0x536cd0(0x2e0))_0x5a2ded=_0x155ab3[_0x536cd0(0x2ab)];else _0x155ab3[_0x536cd0(0x2ab)]&&typeof _0x155ab3['type']==='object'?_0x5a2ded=_0x155ab3[_0x536cd0(0x2ab)]['type']||_0x536cd0(0x288):_0x5a2ded=_0x536cd0(0x288);const _0x1f0d5c=_0x155ab3[_0x536cd0(0x101)],_0xd7bb0f=this[_0x536cd0(0x314)](_0x1fa516);if(_0x1fa516===_0x536cd0(0x17d))_0x7ea231[_0x1fa516]=0x1;else{if(_0x1fa516==='pageSize')_0x7ea231[_0x1fa516]=0xa;else _0x1fa516==='id'?_0x7ea231[_0x1fa516]=0x1:_0x7ea231[_0x1fa516]=this['generateFieldExample'](_0x1fa516,_0x5a2ded,typeof _0xd7bb0f?.[_0x536cd0(0x1c7)]===_0x536cd0(0x2e0)?_0xd7bb0f['dbType']:undefined,{'isPrimaryKey':_0x1fa516===this['context'][_0x536cd0(0x2b8)]||_0x1fa516==='id','description':_0x1f0d5c||_0xd7bb0f?.[_0x536cd0(0x101)]||_0xd7bb0f?.[_0x536cd0(0xfb)]});}}),this[_0xf73a1(0xd3)]=_0x7ea231,_0x7ea231;}[a0_0x53bff1(0x154)](){const _0x2392a3=a0_0x53bff1,_0x56491d=this[_0x2392a3(0x10b)]();if(!_0x56491d)return{'success':!![],'msg':_0x2392a3(0xf0),'errorMsg':'','errorCode':_0x2392a3(0x2eb),'data':null};return this[_0x2392a3(0x1df)](_0x56491d);}[a0_0x53bff1(0x1df)](_0x1afdf2){const _0x3c82d7=a0_0x53bff1;if(!_0x1afdf2||typeof _0x1afdf2!==_0x3c82d7(0xdc))return{};if(Array['isArray'](_0x1afdf2)){if(_0x1afdf2['length']>0x0)return[this[_0x3c82d7(0x1df)](_0x1afdf2[0x0])];return[];}const _0x3778bd={};return Object[_0x3c82d7(0x28a)](_0x1afdf2)[_0x3c82d7(0x1b2)](_0xe380c0=>{const _0x50d26b=_0x3c82d7,_0x67cdf2=_0x1afdf2[_0xe380c0];if(_0x67cdf2&&typeof _0x67cdf2==='object'&&!Array[_0x50d26b(0x153)](_0x67cdf2)&&_0x67cdf2[_0x50d26b(0x2ab)]){const _0xc80f2d=_0x67cdf2;let _0xd63529;if(typeof _0xc80f2d[_0x50d26b(0x2ab)]===_0x50d26b(0x2e0))_0xd63529=_0xc80f2d[_0x50d26b(0x2ab)];else _0xc80f2d[_0x50d26b(0x2ab)]&&typeof _0xc80f2d[_0x50d26b(0x2ab)]===_0x50d26b(0xdc)?_0xd63529=_0xc80f2d[_0x50d26b(0x2ab)]['type']||_0x50d26b(0x288):_0xd63529='TEXT';const _0x458122=_0xc80f2d['description'];_0x3778bd[_0xe380c0]=this['generateFieldExample'](_0xe380c0,_0xd63529,undefined,{'description':_0x458122});}else{if(Array['isArray'](_0x67cdf2))_0x3778bd[_0xe380c0]=_0x67cdf2[_0x50d26b(0x305)]>0x0?[this['generateFromSchema'](_0x67cdf2[0x0])]:[];else _0x67cdf2&&typeof _0x67cdf2==='object'?_0x3778bd[_0xe380c0]=this[_0x50d26b(0x1df)](_0x67cdf2):_0x3778bd[_0xe380c0]=_0x67cdf2;}}),_0x3778bd;}[a0_0x53bff1(0x301)](_0x4a92ea,_0xa143f2){const _0x182d6c=a0_0x53bff1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0xa143f2||{},_0x3a77eb=this[_0x182d6c(0x1f3)](),_0x5f5468=this[_0x182d6c(0x201)](),_0x14debd=this['getRequestFields'](),_0xfd1974=this[_0x182d6c(0x211)](),_0x13ab5f=_0x5d4609=>{const _0x581594=_0x182d6c;if(Object[_0x581594(0x28a)](_0x5d4609)[_0x581594(0x305)]===0x0)return'{}';const _0xfe3833=JSON['stringify'](_0x5d4609,null,0x2)[_0x581594(0xf8)]('\x0a')[_0x581594(0x1e1)]((_0x1f4760,_0x59a39c)=>_0x59a39c===0x0?_0x1f4760:indent+_0x1f4760)[_0x581594(0x2e8)]('\x0a');return _0xfe3833;};switch(_0x5f5468){case'getOne':case _0x182d6c(0x1e0):return _0x182d6c(0x2d7)+_0x4a92ea+'.'+_0x3a77eb+_0x182d6c(0x277);case'update':if(useFullExample&&Object[_0x182d6c(0x28a)](_0xfd1974)['length']>0x0)return _0x182d6c(0x2d7)+_0x4a92ea+'.'+_0x3a77eb+'(id,\x20'+_0x13ab5f(_0xfd1974)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x4a92ea+'.'+_0x3a77eb+_0x182d6c(0x1b1);case _0x182d6c(0x2f5):case _0x182d6c(0xe1):case'getSelectOptions':default:if(_0x14debd[_0x182d6c(0x305)]>0x0){if(useFullExample&&Object['keys'](_0xfd1974)[_0x182d6c(0x305)]>0x0)return _0x182d6c(0x2d7)+_0x4a92ea+'.'+_0x3a77eb+'('+_0x13ab5f(_0xfd1974)+');';else{const _0x11127a=Object[_0x182d6c(0x28a)](_0xfd1974);if(_0x11127a[_0x182d6c(0x305)]>0x0){const _0x1df1f5=_0x11127a['slice'](0x0,0x2)[_0x182d6c(0x2e8)](',\x20');return _0x182d6c(0x2d7)+_0x4a92ea+'.'+_0x3a77eb+'({\x20'+_0x1df1f5+_0x182d6c(0x19f);}else return'const\x20result\x20=\x20await\x20client.models.'+_0x4a92ea+'.'+_0x3a77eb+_0x182d6c(0x276);}}else return _0x182d6c(0x2d7)+_0x4a92ea+'.'+_0x3a77eb+_0x182d6c(0x171);}}['generateRequestAllExamples'](){const _0xa9270b=a0_0x53bff1;return[{'title':_0xa9270b(0x1e8),'data':this['generateRequestExample']()}];}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x53bff1(0x1f1)](){const _0x2e1726=a0_0x53bff1,_0x578faf=super[_0x2e1726(0x1f1)](),_0x301e83=Object[_0x2e1726(0x28a)](_0x578faf);return(_0x301e83[_0x2e1726(0x305)]===0x0||_0x301e83['length']===0x1&&_0x301e83[0x0]==='code')&&(!_0x578faf[_0x2e1726(0x1dd)]&&(_0x578faf[_0x2e1726(0x1dd)]={'type':'String','description':_0x2e1726(0x1a9)}),_0x578faf['label']={'type':_0x2e1726(0x215),'description':_0x2e1726(0x237)}),_0x578faf;}['generateRequestExample'](){const _0x2e3d14=a0_0x53bff1;return{'code':'field_name','label':_0x2e3d14(0x106)};}[a0_0x53bff1(0x301)](_0x4ec1ac){const _0x9d5458=a0_0x53bff1,_0x41b848=this[_0x9d5458(0x1f3)]();return _0x9d5458(0x2d7)+_0x4ec1ac+'.'+_0x41b848+_0x9d5458(0x202);}}class GetListOperation extends GenericOperation{[a0_0x53bff1(0x1f1)](){const _0x44d4d1=a0_0x53bff1,_0x163a66=super[_0x44d4d1(0x1f1)](),{currentPage:_0x2a1c1c,pageSize:_0x2fe1eb,..._0x5c83df}=_0x163a66,_0x12e4e2={};return Object['entries'](_0x5c83df)[_0x44d4d1(0x1b2)](([_0x5dee5c,_0x27d7b6])=>{const _0x440894=_0x44d4d1;if(typeof _0x27d7b6===_0x440894(0xdc)&&_0x27d7b6!==null){const _0x32a2f1=_0x27d7b6,_0x5310e8=_0x32a2f1['description']||'';_0x12e4e2[_0x5dee5c]={..._0x32a2f1,'description':_0x5310e8?_0x5310e8+_0x440894(0x146):_0x440894(0x262)};}else _0x12e4e2[_0x5dee5c]=_0x27d7b6;}),{..._0x12e4e2,'currentPage':{...typeof _0x2a1c1c===_0x44d4d1(0xdc)?_0x2a1c1c:{},'type':_0x44d4d1(0xea),'description':_0x44d4d1(0x226)},'pageSize':{...typeof _0x2fe1eb===_0x44d4d1(0xdc)?_0x2fe1eb:{},'type':'Number','description':'每页数量'}};}[a0_0x53bff1(0x211)](_0x4cffbb){const _0x49e28e=a0_0x53bff1,{useArrayValues:useArrayValues=!![]}=_0x4cffbb||{},_0xbac407=super[_0x49e28e(0x211)](),{currentPage:_0x48d423,pageSize:_0x1c6b13,..._0x2b3c79}=_0xbac407;if(!useArrayValues)return{..._0x2b3c79,'currentPage':_0x48d423??0x1,'pageSize':_0x1c6b13??0xa};const _0x5e5418={},_0x47d202=['id',_0x49e28e(0x203),_0x49e28e(0x1dd),_0x49e28e(0x2ab)];return Object[_0x49e28e(0x2d3)](_0x2b3c79)[_0x49e28e(0x1b2)](([_0x43ac2a,_0x4a130b],_0x58546b)=>{const _0x454901=_0x49e28e,_0x582368=_0x47d202[_0x454901(0x135)](_0x424327=>_0x43ac2a[_0x454901(0x184)]()[_0x454901(0x220)](_0x424327))||_0x58546b%0x3===0x0;if(_0x582368&&_0x4a130b!==null&&_0x4a130b!==undefined){if(typeof _0x4a130b==='number')_0x5e5418[_0x43ac2a]=[_0x4a130b,_0x4a130b+0x1,_0x4a130b+0x2];else typeof _0x4a130b===_0x454901(0x2e0)?_0x5e5418[_0x43ac2a]=[_0x4a130b,_0x4a130b+'_2',_0x4a130b+'_3']:_0x5e5418[_0x43ac2a]=[_0x4a130b];}else _0x5e5418[_0x43ac2a]=_0x4a130b;}),{..._0x5e5418,'currentPage':_0x48d423??0x1,'pageSize':_0x1c6b13??0xa};}[a0_0x53bff1(0x2aa)](){const _0x191830=a0_0x53bff1;return this[_0x191830(0x211)]({'useArrayValues':![]});}['generateRequestAllExamples'](){const _0x3469f2=a0_0x53bff1;return[{'title':_0x3469f2(0x1c1),'description':_0x3469f2(0x22b),'data':this['generateSingleValueExample']()},{'title':_0x3469f2(0x25b),'description':'支持多个条件','data':this[_0x3469f2(0x211)]()}];}[a0_0x53bff1(0x301)](_0x231778,_0x175bd1){const _0x2b981c=a0_0x53bff1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x175bd1||{},_0x15ea2b=this[_0x2b981c(0x1f3)](),_0x1a6414=this[_0x2b981c(0x211)]({'useArrayValues':!![]}),{currentPage:_0x4cabbc,pageSize:_0x283e8c,..._0x47c772}=_0x1a6414;if(useFullExample&&Object[_0x2b981c(0x28a)](_0x1a6414)[_0x2b981c(0x305)]>0x0){const _0x461b68=Object['keys'](_0x47c772)[_0x2b981c(0x305)]>0x0;if(_0x461b68){const _0x329418=this[_0x2b981c(0x2aa)](),_0x34b258=_0x1fcdf2=>{const _0x3ad6eb=_0x2b981c;return JSON[_0x3ad6eb(0x1aa)](_0x1fcdf2,null,0x2)[_0x3ad6eb(0xf8)]('\x0a')[_0x3ad6eb(0x1e1)]((_0x316143,_0x54a0bc)=>_0x54a0bc===0x0?_0x316143:indent+_0x316143)[_0x3ad6eb(0x2e8)]('\x0a');};return _0x2b981c(0x265)+_0x231778+'.'+_0x15ea2b+'('+_0x34b258(_0x329418)+_0x2b981c(0x108)+_0x231778+'.'+_0x15ea2b+'('+_0x34b258(_0x1a6414)+');';}else{const _0x2a4215=JSON['stringify'](_0x1a6414,null,0x2)[_0x2b981c(0xf8)]('\x0a')[_0x2b981c(0x1e1)]((_0x43f6db,_0x4c0686)=>_0x4c0686===0x0?_0x43f6db:indent+_0x43f6db)[_0x2b981c(0x2e8)]('\x0a');return _0x2b981c(0x2d7)+_0x231778+'.'+_0x15ea2b+'('+_0x2a4215+');';}}if(Object[_0x2b981c(0x28a)](_0x47c772)[_0x2b981c(0x305)]>0x0){const _0x1b140b=Object[_0x2b981c(0x28a)](_0x47c772)[0x0];return _0x2b981c(0x2d7)+_0x231778+'.'+_0x15ea2b+_0x2b981c(0x20d)+_0x1b140b+_0x2b981c(0x25d);}return _0x2b981c(0x2d7)+_0x231778+'.'+_0x15ea2b+_0x2b981c(0xfa);}}var FILTER_OPERATORS=[a0_0x53bff1(0x1a0),'$ne','$gte','$gteq','$lte','$lteq','$in',a0_0x53bff1(0x1a1),a0_0x53bff1(0x115),a0_0x53bff1(0x1f0),a0_0x53bff1(0x1f7),a0_0x53bff1(0x2de)];class FilterOperation extends GenericOperation{constructor(_0x5c3964,_0x341354,_0x35abfe){super(_0x5c3964,_0x341354,_0x35abfe);}[a0_0x53bff1(0x1f6)](){return FILTER_OPERATORS;}[a0_0x53bff1(0xde)](_0x4b8907){const _0x10612d=a0_0x53bff1,_0x5d5b86=this[_0x10612d(0x314)](_0x4b8907);if(!_0x5d5b86)return[];return this[_0x10612d(0x258)](_0x5d5b86['type']);}[a0_0x53bff1(0x1f1)](){const _0x5b2611=a0_0x53bff1,_0x406bfb=super[_0x5b2611(0x1f1)]();return{..._0x406bfb,'where':{'type':'Object','description':'查询条件(支持\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)','required':![]},'select':{'type':_0x5b2611(0x1bd),'description':_0x5b2611(0x300),'required':![]},'orderBy':{'type':_0x5b2611(0x1d9),'description':_0x5b2611(0x1e6),'required':![]},'currentPage':{'type':_0x5b2611(0xea),'description':_0x5b2611(0x226),'required':![],'default':0x1},'pageSize':{'type':_0x5b2611(0xea),'description':_0x5b2611(0x1da),'required':![],'default':0xa}};}[a0_0x53bff1(0x211)](){const _0x318d4b=a0_0x53bff1,_0x1a9778=this[_0x318d4b(0x223)]['fields']||[];if(_0x1a9778[_0x318d4b(0x305)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0xd4f636={},_0x4bf08e=_0x1a9778[_0x318d4b(0x27a)](0x0,Math[_0x318d4b(0x303)](0x3,_0x1a9778[_0x318d4b(0x305)]));_0x4bf08e[_0x318d4b(0x1b2)](_0x58c535=>{const _0x26280c=_0x318d4b,_0x3b53cb=this[_0x26280c(0x258)](_0x58c535[_0x26280c(0x2ab)]);if(_0x3b53cb[_0x26280c(0x305)]===0x0)return;const _0x3c7627=this[_0x26280c(0xf9)](_0x58c535[_0x26280c(0x2ab)],_0x3b53cb),_0x31f312=this['generateExampleValue'](_0x58c535,_0x3c7627);_0xd4f636[_0x58c535[_0x26280c(0x1dd)]]={[_0x3c7627]:_0x31f312};});const _0x3a4b80=_0x1a9778[_0x318d4b(0x27a)](0x0,Math['min'](0x5,_0x1a9778[_0x318d4b(0x305)]))[_0x318d4b(0x1e1)](_0x395dce=>_0x395dce[_0x318d4b(0x1dd)]),_0x7a1843=_0x1a9778[0x0]?.[_0x318d4b(0x1dd)]||'id';return{'where':_0xd4f636,'select':_0x3a4b80,'orderBy':[{[_0x7a1843]:_0x318d4b(0x204)}],'currentPage':0x1,'pageSize':0x14};}['generateSDKCallCode'](_0x3305eb,_0x376c59){const _0x206e24=a0_0x53bff1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x376c59||{},_0x24999b=this['getName'](),_0x2fba5f=this[_0x206e24(0x211)](),_0x11c2fe=_0x48d59d=>{const _0x34493a=_0x206e24;return JSON[_0x34493a(0x1aa)](_0x48d59d,null,0x2)[_0x34493a(0xf8)]('\x0a')[_0x34493a(0x1e1)]((_0x41a647,_0x2d727e)=>_0x2d727e===0x0?_0x41a647:indent+_0x41a647)['join']('\x0a');};if(useFullExample){const _0x5d63ad=this[_0x206e24(0x223)][_0x206e24(0x1b0)]||[],_0x475a7f={'where':_0x5d63ad[0x0]?{[_0x5d63ad[0x0][_0x206e24(0x1dd)]]:{'$eq':this[_0x206e24(0x1e7)](_0x5d63ad[0x0],'$eq')}}:{},'select':_0x5d63ad[_0x206e24(0x27a)](0x0,0x3)[_0x206e24(0x1e1)](_0x3de78d=>_0x3de78d[_0x206e24(0x1dd)]),'currentPage':0x1,'pageSize':0x14};let _0x2613c3='';if(_0x5d63ad[_0x206e24(0x305)]>=0x3){const _0x38c949={'$and':[]},_0x40b316=[];if(_0x5d63ad['length']>0x0){const _0xe19b07=_0x5d63ad[_0x206e24(0x1ae)](_0x593f14=>[_0x206e24(0x194),_0x206e24(0x228),_0x206e24(0x29b)][_0x206e24(0x220)](_0x593f14[_0x206e24(0x2ab)][_0x206e24(0x311)]()));_0xe19b07&&_0x40b316[_0x206e24(0xd1)]({[_0xe19b07[_0x206e24(0x1dd)]]:{'$gte':0x0,'$lte':0x64}});}if(_0x5d63ad[_0x206e24(0x305)]>0x1){const _0x489e6f=_0x5d63ad[_0x206e24(0x1ae)](_0x42c4f2=>[_0x206e24(0x27e),_0x206e24(0x288),'VARCHAR'][_0x206e24(0x220)](_0x42c4f2[_0x206e24(0x2ab)][_0x206e24(0x311)]()));_0x489e6f&&_0x40b316['push']({[_0x489e6f[_0x206e24(0x1dd)]]:{'$contain':_0x206e24(0xef)}});}if(_0x40b316[_0x206e24(0x305)]>0x0){_0x38c949[_0x206e24(0x1f7)]=_0x40b316;const _0x2326e9={'where':_0x38c949,'select':_0x5d63ad[_0x206e24(0x27a)](0x0,0x4)[_0x206e24(0x1e1)](_0x5829bf=>_0x5829bf['code']),'orderBy':[{[_0x5d63ad[0x0][_0x206e24(0x1dd)]]:'DESC'}],'currentPage':0x1,'pageSize':0x14};_0x2613c3=_0x206e24(0x181)+_0x3305eb+'.'+_0x24999b+'('+_0x11c2fe(_0x2326e9)+');';}}return _0x206e24(0x16d)+_0x3305eb+'.'+_0x24999b+'('+_0x11c2fe(_0x475a7f)+');'+_0x2613c3;}const _0x578bc5=JSON['stringify'](_0x2fba5f,null,0x2)[_0x206e24(0xf8)]('\x0a')[_0x206e24(0x1e1)]((_0x388529,_0x4f0cb5)=>_0x4f0cb5===0x0?_0x388529:indent+_0x388529)[_0x206e24(0x2e8)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x3305eb+'.'+_0x24999b+'('+_0x578bc5+');';}[a0_0x53bff1(0x258)](_0x549566){const _0x562186=a0_0x53bff1,_0x2f2fb6=_0x549566[_0x562186(0x311)](),_0x4897f8=[];if([_0x562186(0x194),_0x562186(0x228),'BIGINT',_0x562186(0x2f6)][_0x562186(0x220)](_0x2f2fb6))_0x4897f8[_0x562186(0xd1)](_0x562186(0x1a0),'$ne',_0x562186(0x1b4),_0x562186(0x141),_0x562186(0x15c),_0x562186(0x252),_0x562186(0x14a));else{if([_0x562186(0x27e),_0x562186(0x288),_0x562186(0x1d3)][_0x562186(0x220)](_0x2f2fb6))_0x4897f8[_0x562186(0xd1)](_0x562186(0x1a0),'$ne',_0x562186(0x14a),_0x562186(0x1a1),_0x562186(0x115),_0x562186(0x1f0));else{if(['DATE',_0x562186(0xee),'TIMESTAMP'][_0x562186(0x220)](_0x2f2fb6))_0x4897f8[_0x562186(0xd1)](_0x562186(0x1a0),'$ne','$gte',_0x562186(0x141),'$gteq',_0x562186(0x252));else[_0x562186(0x2bb),_0x562186(0x172)]['includes'](_0x2f2fb6)?_0x4897f8[_0x562186(0xd1)](_0x562186(0x1a0),_0x562186(0x156)):_0x4897f8[_0x562186(0xd1)](_0x562186(0x1a0),'$ne');}}return _0x4897f8;}[a0_0x53bff1(0xf9)](_0x1e31c8,_0x53ed3e){const _0x5c4865=a0_0x53bff1,_0xaeb488=_0x1e31c8[_0x5c4865(0x311)]();if([_0x5c4865(0x194),_0x5c4865(0x228),'BIGINT',_0x5c4865(0x2f6)][_0x5c4865(0x220)](_0xaeb488))return _0x53ed3e[_0x5c4865(0x220)](_0x5c4865(0x1b4))?_0x5c4865(0x1b4):_0x5c4865(0x1a0);if([_0x5c4865(0x27e),'TEXT','VARCHAR'][_0x5c4865(0x220)](_0xaeb488))return _0x53ed3e[_0x5c4865(0x220)]('$contain')?_0x5c4865(0x1a1):'$eq';if([_0x5c4865(0x1bb),'DATETIME',_0x5c4865(0x1b8)]['includes'](_0xaeb488))return _0x53ed3e[_0x5c4865(0x220)]('$gte')?_0x5c4865(0x1b4):'$eq';return _0x5c4865(0x1a0);}['generateExampleValue'](_0x5ef852,_0x3ad995){const _0x4a363b=a0_0x53bff1,_0x32b3d3=String(_0x5ef852['type']||'')[_0x4a363b(0x311)]();if(_0x5ef852[_0x4a363b(0x114)])try{const _0x425299=typeof _0x5ef852[_0x4a363b(0x114)]===_0x4a363b(0x2e0)?JSON[_0x4a363b(0x2b5)](_0x5ef852[_0x4a363b(0x114)]):_0x5ef852['extend'];if(_0x425299[_0x4a363b(0x247)]&&Array['isArray'](_0x425299[_0x4a363b(0x247)])&&_0x425299[_0x4a363b(0x247)]['length']>0x0){if(_0x3ad995==='$in')return _0x425299['options'][_0x4a363b(0x27a)](0x0,0x2)[_0x4a363b(0x1e1)](_0x3a8d0c=>_0x3a8d0c[_0x4a363b(0x2a6)]);return _0x425299[_0x4a363b(0x247)][0x0]['value'];}}catch{}if([_0x4a363b(0x194),_0x4a363b(0x228),_0x4a363b(0x29b),_0x4a363b(0x2f6)][_0x4a363b(0x220)](_0x32b3d3)){if(_0x3ad995===_0x4a363b(0x14a))return[0x1,0x2,0x3];if(_0x3ad995===_0x4a363b(0x1b4)||_0x3ad995===_0x4a363b(0x15c))return 0x0;if(_0x3ad995===_0x4a363b(0x141)||_0x3ad995===_0x4a363b(0x252))return 0x64;return 0x1;}if(['STRING',_0x4a363b(0x288),_0x4a363b(0x1d3)][_0x4a363b(0x220)](_0x32b3d3)){if(_0x3ad995==='$in')return['value1','value2'];if(_0x3ad995===_0x4a363b(0x1a1))return _0x4a363b(0xef);if(_0x3ad995===_0x4a363b(0x115))return _0x4a363b(0x302);if(_0x3ad995===_0x4a363b(0x1f0))return _0x4a363b(0x268);return'value';}if(['DATE',_0x4a363b(0xee),'TIMESTAMP'][_0x4a363b(0x220)](_0x32b3d3)){if(_0x3ad995==='$gte'||_0x3ad995===_0x4a363b(0x15c))return _0x4a363b(0x111);if(_0x3ad995===_0x4a363b(0x141)||_0x3ad995==='$lteq')return _0x4a363b(0x1c0);return'2024-01-01';}if([_0x4a363b(0x2bb),_0x4a363b(0x172)][_0x4a363b(0x220)](_0x32b3d3))return!![];return _0x3ad995==='$in'?[_0x4a363b(0x278),_0x4a363b(0x22a)]:_0x4a363b(0x2a6);}['getRequestParamsDocInfo'](){const _0x1e1d4f=a0_0x53bff1,_0x91611a=super[_0x1e1d4f(0x1f1)](),_0x25203e=Object['entries'](_0x91611a)[_0x1e1d4f(0x1e1)](([_0x119ca3,_0x34d7ec])=>{const _0xd461c5=_0x1e1d4f,_0x31fe48=_0x34d7ec;return{'name':_0x119ca3,'type':_0x31fe48[_0xd461c5(0x2ab)]||_0xd461c5(0x215),'description':_0x31fe48[_0xd461c5(0x101)]||'-','required':_0x31fe48['required']};});return{'description':_0x1e1d4f(0x1eb),'params':_0x25203e};}}var AGGREGATE_FUNCTIONS=[a0_0x53bff1(0x267),a0_0x53bff1(0x16a),a0_0x53bff1(0x145),a0_0x53bff1(0x158),'min'];class AggregateOperation extends GenericOperation{constructor(_0x50486f,_0x42b6c1,_0x500a12){super(_0x50486f,_0x42b6c1,_0x500a12);}[a0_0x53bff1(0x104)](){return AGGREGATE_FUNCTIONS;}['getRequestParams'](){const _0x1d9e4b=a0_0x53bff1,_0x191ba2=super[_0x1d9e4b(0x1f1)]();return{..._0x191ba2,'where':{'type':'Object','description':_0x1d9e4b(0xf3),'required':![]},'groupBy':{'type':'String[]','description':_0x1d9e4b(0x2f8),'required':![]},'aggregates':{'type':_0x1d9e4b(0x307),'description':_0x1d9e4b(0x148),'required':![]}};}['generateRequestExample'](){const _0x50032e=a0_0x53bff1,_0x1bb7ba=this[_0x50032e(0x223)][_0x50032e(0x1b0)]||[];if(_0x1bb7ba[_0x50032e(0x305)]===0x0)return{'where':{},'groupBy':[],'aggregates':[]};const _0xdfae6a={},_0x5d54c0=_0x1bb7ba[_0x50032e(0x27a)](0x0,Math[_0x50032e(0x303)](0x3,_0x1bb7ba['length']));_0x5d54c0[_0x50032e(0x1b2)](_0x483879=>{const _0x1e721c=_0x50032e,_0x20b5e3=this[_0x1e721c(0x258)](_0x483879['type']);if(_0x20b5e3[_0x1e721c(0x305)]===0x0)return;const _0x324920=this['selectBestOperator'](_0x483879['type'],_0x20b5e3),_0x3f6877=this[_0x1e721c(0x1e7)](_0x483879,_0x324920);_0xdfae6a[_0x483879[_0x1e721c(0x1dd)]]={[_0x324920]:_0x3f6877};});const _0x3719fd=_0x1bb7ba['slice'](0x0,Math[_0x50032e(0x303)](0x2,_0x1bb7ba[_0x50032e(0x305)]))[_0x50032e(0x1e1)](_0x49d2dd=>_0x49d2dd[_0x50032e(0x1dd)]),_0x33e73f=[],_0x37ee59=_0x1bb7ba[_0x50032e(0x1ce)](_0x2a8289=>this[_0x50032e(0x2d6)](_0x2a8289['type']));if(_0x37ee59[_0x50032e(0x305)]>0x0){const _0x4ad66d=_0x37ee59[0x0];_0x33e73f[_0x50032e(0xd1)]({'type':_0x50032e(0x267),'field':_0x4ad66d[_0x50032e(0x1dd)],'alias':_0x4ad66d['code']+_0x50032e(0x160),'distinct':![],'round':!![],'precision':0x2}),_0x33e73f[_0x50032e(0xd1)]({'type':'avg','field':_0x4ad66d[_0x50032e(0x1dd)],'alias':_0x4ad66d['code']+'_avg','distinct':![],'round':!![],'precision':0x2}),_0x33e73f['push']({'type':_0x50032e(0x158),'field':_0x4ad66d[_0x50032e(0x1dd)],'alias':_0x4ad66d[_0x50032e(0x1dd)]+_0x50032e(0x2ef),'distinct':![],'round':!![],'precision':0x2}),_0x33e73f[_0x50032e(0xd1)]({'type':_0x50032e(0x303),'field':_0x4ad66d[_0x50032e(0x1dd)],'alias':_0x4ad66d[_0x50032e(0x1dd)]+_0x50032e(0x1a7),'distinct':![],'round':!![],'precision':0x2});}else{if(_0x1bb7ba[_0x50032e(0x305)]>0x0){const _0x544efe=_0x1bb7ba[0x0];_0x33e73f['push']({'type':_0x50032e(0x16a),'field':_0x544efe[_0x50032e(0x1dd)],'alias':'total_count','distinct':!![]});}}const _0x3e1127=[];return _0x1bb7ba[_0x50032e(0x305)]>0x0&&_0x3e1127[_0x50032e(0xd1)]({[_0x1bb7ba[0x0][_0x50032e(0x1dd)]]:_0x50032e(0x1fe)}),{'where':_0xdfae6a,'groupBy':_0x3719fd,'aggregates':_0x33e73f,'orderBy':_0x3e1127};}[a0_0x53bff1(0x301)](_0x361606,_0x5b6cc0){const _0x587555=a0_0x53bff1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5b6cc0||{},_0xb52b51=this['getName'](),_0x1a4c3a=this[_0x587555(0x211)](),_0x15d2e3=_0x2e6fce=>{const _0x2af376=_0x587555;return JSON['stringify'](_0x2e6fce,null,0x2)[_0x2af376(0xf8)]('\x0a')[_0x2af376(0x1e1)]((_0x8488d3,_0x28ff23)=>_0x28ff23===0x0?_0x8488d3:indent+_0x8488d3)['join']('\x0a');};if(useFullExample){const _0x176bd7=this[_0x587555(0x223)][_0x587555(0x1b0)]||[],_0x3b22ee=_0x176bd7['filter'](_0xccfac9=>this[_0x587555(0x2d6)](_0xccfac9['type'])),_0x1eaa8e={'where':_0x176bd7[0x0]?{[_0x176bd7[0x0][_0x587555(0x1dd)]]:{'$eq':this['generateExampleValue'](_0x176bd7[0x0],_0x587555(0x1a0))}}:{},'aggregates':_0x3b22ee[_0x587555(0x305)]>0x0?[{'type':_0x587555(0x267),'field':_0x3b22ee[0x0][_0x587555(0x1dd)],'alias':_0x3b22ee[0x0][_0x587555(0x1dd)]+_0x587555(0x160),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x587555(0x16a),'field':_0x176bd7[0x0]?.[_0x587555(0x1dd)],'alias':_0x587555(0x299),'distinct':!![]}],'orderBy':[{[_0x176bd7[0x0]['code']]:_0x587555(0x1fe)}]};let _0x17a30f='';return _0x176bd7[_0x587555(0x305)]>=0x3&&(_0x17a30f=_0x587555(0x2c8)+_0x361606+'.'+_0xb52b51+'('+_0x15d2e3(_0x1a4c3a)+');'),_0x587555(0x1be)+_0x361606+'.'+_0xb52b51+'('+_0x15d2e3(_0x1eaa8e)+');'+_0x17a30f;}const _0x33fbe7=JSON[_0x587555(0x1aa)](_0x1a4c3a,null,0x2)[_0x587555(0xf8)]('\x0a')['map']((_0xbe299b,_0x5d3e57)=>_0x5d3e57===0x0?_0xbe299b:indent+_0xbe299b)['join']('\x0a');return _0x587555(0x2d7)+_0x361606+'.'+_0xb52b51+'('+_0x33fbe7+');';}['isNumericField'](_0x2bfd1e){const _0x1482b5=a0_0x53bff1,_0x6a4486=_0x2bfd1e[_0x1482b5(0x311)]();return['NUMBER',_0x1482b5(0x228),_0x1482b5(0x29b),_0x1482b5(0x2f6)][_0x1482b5(0x220)](_0x6a4486);}['getApplicableOperators'](_0x5a3f42){const _0x301533=a0_0x53bff1,_0x122199=_0x5a3f42['toUpperCase'](),_0x1e9ee9=[];if([_0x301533(0x194),_0x301533(0x228),_0x301533(0x29b),'DECIMAL'][_0x301533(0x220)](_0x122199))_0x1e9ee9[_0x301533(0xd1)]('$eq',_0x301533(0x156),_0x301533(0x1b4),_0x301533(0x141),_0x301533(0x15c),'$lteq','$in');else{if([_0x301533(0x27e),'TEXT',_0x301533(0x1d3)][_0x301533(0x220)](_0x122199))_0x1e9ee9[_0x301533(0xd1)](_0x301533(0x1a0),_0x301533(0x156),_0x301533(0x14a),_0x301533(0x1a1),'$startWith',_0x301533(0x1f0));else{if([_0x301533(0x1bb),_0x301533(0xee),'TIMESTAMP'][_0x301533(0x220)](_0x122199))_0x1e9ee9[_0x301533(0xd1)](_0x301533(0x1a0),_0x301533(0x156),_0x301533(0x1b4),_0x301533(0x141),_0x301533(0x15c),_0x301533(0x252));else[_0x301533(0x2bb),_0x301533(0x172)][_0x301533(0x220)](_0x122199)?_0x1e9ee9[_0x301533(0xd1)](_0x301533(0x1a0),'$ne'):_0x1e9ee9[_0x301533(0xd1)](_0x301533(0x1a0),_0x301533(0x156));}}return _0x1e9ee9;}['selectBestOperator'](_0x4b127d,_0x5ba36d){const _0x2eda95=a0_0x53bff1,_0x448353=_0x4b127d[_0x2eda95(0x311)]();if([_0x2eda95(0x194),_0x2eda95(0x228),_0x2eda95(0x29b),'DECIMAL']['includes'](_0x448353))return _0x5ba36d['includes'](_0x2eda95(0x1b4))?'$gte':_0x2eda95(0x1a0);if([_0x2eda95(0x27e),_0x2eda95(0x288),'VARCHAR'][_0x2eda95(0x220)](_0x448353))return _0x5ba36d[_0x2eda95(0x220)](_0x2eda95(0x1a1))?_0x2eda95(0x1a1):_0x2eda95(0x1a0);if(['DATE',_0x2eda95(0xee),'TIMESTAMP'][_0x2eda95(0x220)](_0x448353))return _0x5ba36d[_0x2eda95(0x220)](_0x2eda95(0x1b4))?_0x2eda95(0x1b4):_0x2eda95(0x1a0);return _0x2eda95(0x1a0);}['generateExampleValue'](_0x4a9ebb,_0x54b1e6){const _0x3d5f3d=a0_0x53bff1,_0x111524=String(_0x4a9ebb['type']||'')[_0x3d5f3d(0x311)]();if(_0x4a9ebb[_0x3d5f3d(0x114)])try{const _0x376b9e=typeof _0x4a9ebb[_0x3d5f3d(0x114)]===_0x3d5f3d(0x2e0)?JSON[_0x3d5f3d(0x2b5)](_0x4a9ebb[_0x3d5f3d(0x114)]):_0x4a9ebb['extend'];if(_0x376b9e[_0x3d5f3d(0x247)]&&Array['isArray'](_0x376b9e[_0x3d5f3d(0x247)])&&_0x376b9e[_0x3d5f3d(0x247)][_0x3d5f3d(0x305)]>0x0){if(_0x54b1e6===_0x3d5f3d(0x14a))return _0x376b9e['options'][_0x3d5f3d(0x27a)](0x0,0x2)[_0x3d5f3d(0x1e1)](_0x2bbf40=>_0x2bbf40['value']);return _0x376b9e['options'][0x0]['value'];}}catch{}if([_0x3d5f3d(0x194),'INTEGER','BIGINT',_0x3d5f3d(0x2f6)][_0x3d5f3d(0x220)](_0x111524)){if(_0x54b1e6===_0x3d5f3d(0x14a))return[0x1,0x2,0x3];if(_0x54b1e6===_0x3d5f3d(0x1b4)||_0x54b1e6===_0x3d5f3d(0x15c))return 0x0;if(_0x54b1e6==='$lte'||_0x54b1e6===_0x3d5f3d(0x252))return 0x64;return 0x1;}if([_0x3d5f3d(0x27e),'TEXT',_0x3d5f3d(0x1d3)][_0x3d5f3d(0x220)](_0x111524)){if(_0x54b1e6===_0x3d5f3d(0x14a))return['value1','value2'];if(_0x54b1e6===_0x3d5f3d(0x1a1))return _0x3d5f3d(0xef);if(_0x54b1e6==='$startWith')return _0x3d5f3d(0x302);if(_0x54b1e6===_0x3d5f3d(0x1f0))return _0x3d5f3d(0x268);return _0x3d5f3d(0x2a6);}if(['DATE','DATETIME',_0x3d5f3d(0x1b8)][_0x3d5f3d(0x220)](_0x111524)){if(_0x54b1e6===_0x3d5f3d(0x1b4)||_0x54b1e6===_0x3d5f3d(0x15c))return'2024-01-01';if(_0x54b1e6==='$lte'||_0x54b1e6===_0x3d5f3d(0x252))return _0x3d5f3d(0x1c0);return _0x3d5f3d(0x111);}if([_0x3d5f3d(0x2bb),_0x3d5f3d(0x172)][_0x3d5f3d(0x220)](_0x111524))return!![];return _0x54b1e6==='$in'?[_0x3d5f3d(0x278),'value2']:_0x3d5f3d(0x2a6);}[a0_0x53bff1(0x18d)](){const _0x53e269=a0_0x53bff1,_0x4778cd=super[_0x53e269(0x1f1)](),_0x25f7cd=Object[_0x53e269(0x2d3)](_0x4778cd)[_0x53e269(0x1e1)](([_0x3a8f3c,_0x3e5631])=>{const _0x9082e8=_0x53e269,_0x4a9179=_0x3e5631;return{'name':_0x3a8f3c,'type':_0x4a9179[_0x9082e8(0x2ab)]||'String','description':_0x4a9179[_0x9082e8(0x101)]||'-','required':_0x4a9179[_0x9082e8(0x23c)]};});return{'description':_0x53e269(0x25e),'params':_0x25f7cd};}[a0_0x53bff1(0x154)](){const _0x10fc30=a0_0x53bff1,_0x17a179=this[_0x10fc30(0x211)]()['aggregates'],_0xf0cb52=[{}],_0x14ea1f=[];return _0x17a179?.[_0x10fc30(0x1b2)](_0x72d20f=>{const _0x328db7=_0x10fc30;_0x14ea1f[_0x328db7(0xd1)]({'title':_0x72d20f['alias'],'dataIndex':_0x72d20f['alias']}),_0xf0cb52[0x0][_0x72d20f[_0x328db7(0x137)]]=_0x72d20f[_0x328db7(0x2ab)]==='count'?0x64:Math[_0x328db7(0x15b)](Math['random']()*0x64*0x64)/0x64;}),{'success':!![],'msg':'','errorMsg':'','errorCode':_0x10fc30(0x2eb),'data':{'paging':{'pageSize':0x1,'totalCount':0x64,'currentPage':0x1},'tableData':_0xf0cb52,'tableColumns':_0x14ea1f},'params':null};}}class ExcelExportOperation extends GenericOperation{[a0_0x53bff1(0x1f1)](){const _0x4eb03=a0_0x53bff1,_0x54bb9a=super[_0x4eb03(0x1f1)]();if(Object[_0x4eb03(0x28a)](_0x54bb9a)['length']===0x0){const _0x1e6d7e={};return this['context']['fields'][_0x4eb03(0x1b2)](_0x33dcba=>{const _0x32f68a=_0x4eb03;_0x33dcba&&_0x33dcba[_0x32f68a(0x1dd)]&&(_0x1e6d7e[_0x33dcba[_0x32f68a(0x1dd)]]={'type':_0x33dcba[_0x32f68a(0x2ab)]||_0x32f68a(0x288),'sortNum':_0x33dcba[_0x32f68a(0x227)],'description':_0x33dcba[_0x32f68a(0x101)]||_0x33dcba[_0x32f68a(0xfb)]});}),_0x1e6d7e[_0x4eb03(0x17d)]={'type':'Integer','description':_0x4eb03(0x102)},_0x1e6d7e['pageSize']={'type':'Integer','description':_0x4eb03(0x2b9)},_0x1e6d7e;}return _0x54bb9a;}[a0_0x53bff1(0x211)](){const _0x6aeaa4=a0_0x53bff1,_0x536724=super['generateRequestExample']();if(Object[_0x6aeaa4(0x28a)](_0x536724)['length']===0x0)return{'currentPage':0x1,'pageSize':0x64};return{..._0x536724,'currentPage':_0x536724[_0x6aeaa4(0x17d)]??0x1,'pageSize':_0x536724[_0x6aeaa4(0x229)]??0x64};}[a0_0x53bff1(0x154)](){const _0x320c40=a0_0x53bff1;return{'success':!![],'msg':'','errorMsg':'','errorCode':'0000','data':_0x320c40(0x273),'params':null};}[a0_0x53bff1(0x301)](_0x58fe74,_0x36b7f5){const _0x314dbd=a0_0x53bff1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x36b7f5||{},_0x4bbd34=this[_0x314dbd(0x1f3)]();if(useFullExample){const _0x4fb9c2=this[_0x314dbd(0x211)](),{currentPage:_0x5c6922,pageSize:_0x270a43,..._0x41e732}=_0x4fb9c2,_0x2e180b=Object[_0x314dbd(0x28a)](_0x41e732)[_0x314dbd(0x305)]>0x0;if(_0x2e180b){const _0x114e88=_0xe49080=>{const _0xdee70c=_0x314dbd;return JSON[_0xdee70c(0x1aa)](_0xe49080,null,0x2)[_0xdee70c(0xf8)]('\x0a')[_0xdee70c(0x1e1)]((_0x64c22,_0x77e0a1)=>_0x77e0a1===0x0?_0x64c22:indent+_0x64c22)[_0xdee70c(0x2e8)]('\x0a');};return _0x314dbd(0x1ca)+_0x58fe74+'.'+_0x4bbd34+_0x314dbd(0x29a)+_0x58fe74+'.'+_0x4bbd34+'('+_0x114e88(_0x4fb9c2)+');';}else{const _0x2e4871=_0x2d88a3=>{const _0x5aa587=_0x314dbd;return JSON['stringify'](_0x2d88a3,null,0x2)[_0x5aa587(0xf8)]('\x0a')[_0x5aa587(0x1e1)]((_0x47b26c,_0x2c2985)=>_0x2c2985===0x0?_0x47b26c:indent+_0x47b26c)[_0x5aa587(0x2e8)]('\x0a');};return _0x314dbd(0x1ca)+_0x58fe74+'.'+_0x4bbd34+_0x314dbd(0x30f)+_0x58fe74+'.'+_0x4bbd34+'('+_0x2e4871({'currentPage':0x1,'pageSize':0x64})+');';}}return'const\x20fileUrl\x20=\x20await\x20client.models.'+_0x58fe74+'.'+_0x4bbd34+_0x314dbd(0x30b);}[a0_0x53bff1(0x19b)](_0x351672){const _0x1bc4cf=a0_0x53bff1,_0x3815a1=this['getName'](),_0x55c966=_0x1bc4cf(0x18b)+_0x351672+'.'+_0x3815a1+_0x1bc4cf(0x310),_0x125c71=_0x1bc4cf(0x2e7)+_0x351672+'.'+_0x3815a1+_0x1bc4cf(0x2d0);return{'successCode':_0x55c966,'errorCode':_0x125c71};}}class UpdateOperation extends GenericOperation{[a0_0x53bff1(0x152)](){const _0x5895f3=a0_0x53bff1;return this[_0x5895f3(0x289)]();}['getRequestParams'](){const _0x5a79e9=a0_0x53bff1,_0x40797e=this['getUpdateFields']();return{'id':{'type':_0x5a79e9(0x194),'description':_0x5a79e9(0x21f),'required':!![]},'data':{'type':_0x5a79e9(0xdc),'description':_0x5a79e9(0xe0),'required':!![],'properties':_0x40797e}};}[a0_0x53bff1(0x218)](){const _0x4e73b4=a0_0x53bff1;return this[_0x4e73b4(0x152)]();}['getRequestParamsDocInfo'](){const _0x4c2473=a0_0x53bff1,_0x389e6c=this[_0x4c2473(0x152)](),_0x2714c5=Object[_0x4c2473(0x2d3)](_0x389e6c)[_0x4c2473(0x1e1)](([_0x55d126,_0x1d33e1])=>{const _0x5033bb=_0x4c2473,_0x355150=_0x1d33e1;return{'name':_0x55d126,'type':_0x355150[_0x5033bb(0x2ab)]||_0x5033bb(0x215),'description':_0x355150[_0x5033bb(0x101)]||'-'};});return{'description':_0x4c2473(0x1b6)+_0x4c2473(0x28f)+_0x4c2473(0x123)+'**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a'+_0x4c2473(0x17f)+'**可更新的字段列表:**','params':_0x2714c5};}[a0_0x53bff1(0x211)](){const _0x13c29b=a0_0x53bff1,_0x417025=this[_0x13c29b(0x152)](),_0xdfdcd1={};return Object['entries'](_0x417025)[_0x13c29b(0x1b2)](([_0x486113,_0x3a9b00])=>{const _0x5ac104=_0x13c29b,_0x44db99=_0x3a9b00;let _0x58efd2;if(typeof _0x44db99[_0x5ac104(0x2ab)]==='string')_0x58efd2=_0x44db99[_0x5ac104(0x2ab)];else _0x44db99[_0x5ac104(0x2ab)]&&typeof _0x44db99[_0x5ac104(0x2ab)]==='object'?_0x58efd2=_0x44db99['type'][_0x5ac104(0x2ab)]||'TEXT':_0x58efd2=_0x5ac104(0x288);const _0x5b3ed8=_0x44db99['description'],_0xdc93ef=this['getFieldDefinition'](_0x486113);_0xdfdcd1[_0x486113]=this[_0x5ac104(0x2c3)](_0x486113,_0x58efd2,typeof _0xdc93ef?.['dbType']===_0x5ac104(0x2e0)?_0xdc93ef[_0x5ac104(0x1c7)]:undefined,{'isPrimaryKey':![],'description':_0x5b3ed8||_0xdc93ef?.[_0x5ac104(0x101)]||_0xdc93ef?.[_0x5ac104(0xfb)]});}),{'id':0x1,'data':_0xdfdcd1};}[a0_0x53bff1(0x110)](){const _0x44e984=a0_0x53bff1,_0x5d28b3=this['generateRequestExample']();return[{'title':_0x44e984(0x1f8),'description':_0x44e984(0x1c3)+'-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a'+_0x44e984(0x1af),'data':_0x5d28b3}];}[a0_0x53bff1(0x301)](_0x695f8a,_0x4249cc){const _0x2adfd7=a0_0x53bff1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4249cc||{},_0x44d01b=this[_0x2adfd7(0x1f3)]();if(useFullExample){const _0x105cd3=this['generateRequestExample'](),_0x4f2a99=JSON[_0x2adfd7(0x1aa)](_0x105cd3[_0x2adfd7(0x2f1)],null,0x2)[_0x2adfd7(0xf8)]('\x0a')['map']((_0x568cd3,_0x485f4f)=>_0x485f4f===0x0?_0x568cd3:indent+_0x568cd3)[_0x2adfd7(0x2e8)]('\x0a');return _0x2adfd7(0x2d7)+_0x695f8a+'.'+_0x44d01b+'('+_0x105cd3['id']+',\x20'+_0x4f2a99+');';}return _0x2adfd7(0x2d7)+_0x695f8a+'.'+_0x44d01b+_0x2adfd7(0x1b1);}}class OperationFactory{[a0_0x53bff1(0x2f5)](_0x503303,_0x2de849,_0x2c102a){const _0x45f27e=a0_0x53bff1;switch(_0x503303){case _0x45f27e(0x291):return new GetSelectOptionsOperation(_0x503303,_0x2de849,_0x2c102a);case'getList':return new GetListOperation(_0x503303,_0x2de849,_0x2c102a);case _0x45f27e(0x1ce):return new FilterOperation(_0x503303,_0x2de849,_0x2c102a);case _0x45f27e(0x297):return new ExcelExportOperation(_0x503303,_0x2de849,_0x2c102a);case _0x45f27e(0xcd):return new UpdateOperation(_0x503303,_0x2de849,_0x2c102a);case _0x45f27e(0x309):return new AggregateOperation(_0x503303,_0x2de849,_0x2c102a);default:return new GenericOperation(_0x503303,_0x2de849,_0x2c102a);}}[a0_0x53bff1(0x2e6)](_0x7ba517,_0x579887){const _0x15c89f=a0_0x53bff1,_0x3de03c=new Map();return Object['entries'](_0x7ba517)[_0x15c89f(0x1b2)](([_0x1057d7,_0x163e79])=>{const _0x10aeb5=_0x15c89f;_0x3de03c[_0x10aeb5(0x169)](_0x1057d7,this[_0x10aeb5(0x2f5)](_0x1057d7,_0x163e79,_0x579887));}),_0x3de03c;}}function a0_0x1dcc(_0x1a565e,_0x436a0d){const _0x57acdb=a0_0x57ac();return a0_0x1dcc=function(_0x1dcc09,_0x29b043){_0x1dcc09=_0x1dcc09-0xcc;let _0x7be125=_0x57acdb[_0x1dcc09];return _0x7be125;},a0_0x1dcc(_0x1a565e,_0x436a0d);}class OperationList{[a0_0x53bff1(0xec)];constructor(_0x12cabc,_0x5a2620){const _0x573f9c=a0_0x53bff1,_0x17e938=new OperationFactory();this[_0x573f9c(0xec)]=_0x17e938[_0x573f9c(0x2e6)](_0x12cabc,_0x5a2620);}[a0_0x53bff1(0x240)](_0x105c3f){const _0x24ea56=a0_0x53bff1;return this[_0x24ea56(0xec)]['get'](_0x105c3f);}[a0_0x53bff1(0x2f3)](_0xe483bd){const _0x40203f=a0_0x53bff1;return this[_0x40203f(0xec)][_0x40203f(0x2f3)](_0xe483bd);}['size'](){const _0x52828b=a0_0x53bff1;return this['_operations'][_0x52828b(0x2b2)];}[a0_0x53bff1(0x10f)](){const _0x4f0dff=a0_0x53bff1;return Array[_0x4f0dff(0x250)](this['_operations']['keys']());}[a0_0x53bff1(0x2a7)](){const _0x18549a=a0_0x53bff1,_0x4811d9=Array[_0x18549a(0x250)](this['_operations'][_0x18549a(0x128)]());return this['sortOperationsWithFilterFirst'](_0x4811d9);}[a0_0x53bff1(0x295)](){const _0x331dc7=a0_0x53bff1;return this['toArray']()[_0x331dc7(0x1ce)](_0xa231af=>_0xa231af[_0x331dc7(0x1ba)]());}[a0_0x53bff1(0xe2)](){const _0x58bac2=a0_0x53bff1;return this[_0x58bac2(0x2a7)]()[_0x58bac2(0x1ce)](_0x4d8afb=>!_0x4d8afb[_0x58bac2(0x1ba)]());}[a0_0x53bff1(0x1a8)](){const _0x41ee27=a0_0x53bff1;return this[_0x41ee27(0x295)]()[_0x41ee27(0x1e1)](_0x321d3d=>_0x321d3d['getName']());}[a0_0x53bff1(0x256)](){const _0x4ca196=a0_0x53bff1;return this[_0x4ca196(0xe2)]()['map'](_0x28f4c2=>_0x28f4c2[_0x4ca196(0x1f3)]());}[a0_0x53bff1(0x17a)](_0x16c1b4){const _0x316461=a0_0x53bff1;return this[_0x316461(0x2a7)]()[_0x316461(0x1ce)](_0x1c89a8=>_0x1c89a8[_0x316461(0x201)]()===_0x16c1b4);}[a0_0x53bff1(0x1ce)](_0x863a3b){const _0x47ea05=a0_0x53bff1;return this[_0x47ea05(0x2a7)]()[_0x47ea05(0x1ce)](_0x863a3b);}[a0_0x53bff1(0x23f)](_0x1d1288={}){const _0x52728c=a0_0x53bff1;let _0x4ad14a=this[_0x52728c(0x2a7)]();!_0x1d1288['includeDisabled']&&(_0x4ad14a=_0x4ad14a['filter'](_0x3ef32f=>_0x3ef32f[_0x52728c(0x1ba)]()));if(_0x1d1288[_0x52728c(0x14d)]!==![]){const _0x3a591f=_0x4ad14a[_0x52728c(0x1e1)](_0x3c9287=>({'name':_0x3c9287['getName'](),'operation':_0x3c9287})),_0x19821c=filterApiOperations(_0x3a591f);_0x4ad14a=_0x19821c['map'](_0x15452f=>_0x15452f[_0x52728c(0x19c)]),_0x4ad14a=this[_0x52728c(0x21a)](_0x4ad14a);}return _0x1d1288['customFilter']&&(_0x4ad14a=_0x4ad14a['filter'](_0x1d1288['customFilter'])),_0x4ad14a;}['sortOperationsWithFilterFirst'](_0x26f826){const _0x1d4ac9=a0_0x53bff1,_0x347e4e=_0x26f826['find'](_0x134859=>_0x134859[_0x1d4ac9(0x1f3)]()===_0x1d4ac9(0x1ce)),_0x3a22fb=_0x26f826[_0x1d4ac9(0x1ce)](_0xa8bf71=>_0xa8bf71[_0x1d4ac9(0x1f3)]()!==_0x1d4ac9(0x1ce));return _0x347e4e?[_0x347e4e,..._0x3a22fb]:_0x3a22fb;}[a0_0x53bff1(0x1d8)](){const _0x5bee17=a0_0x53bff1,_0x12f266=this[_0x5bee17(0x295)]();return{'total':this[_0x5bee17(0x2b2)](),'enabled':_0x12f266[_0x5bee17(0x305)],'disabled':this[_0x5bee17(0x2b2)]()-_0x12f266[_0x5bee17(0x305)],'byType':this['getCountByType'](_0x12f266),'byMethod':this['getCountByMethod'](_0x12f266)};}[a0_0x53bff1(0x2bf)](_0xf0a81f){const _0x1adcfa=a0_0x53bff1,_0x24ce25={};return _0xf0a81f[_0x1adcfa(0x1b2)](_0x5e5de8=>{const _0x31bf59=_0x5e5de8['getType']();_0x31bf59&&(_0x24ce25[_0x31bf59]=(_0x24ce25[_0x31bf59]||0x0)+0x1);}),_0x24ce25;}[a0_0x53bff1(0x11d)](_0x4c5a67){const _0x579bd7=a0_0x53bff1,_0x5d5025={};return _0x4c5a67[_0x579bd7(0x1b2)](_0x23677f=>{const _0x113db3=_0x579bd7,_0x2dc5fa=_0x23677f[_0x113db3(0x22c)]();_0x2dc5fa&&(_0x5d5025[_0x2dc5fa]=(_0x5d5025[_0x2dc5fa]||0x0)+0x1);}),_0x5d5025;}[Symbol[a0_0x53bff1(0x1c9)]](){const _0x27d872=a0_0x53bff1;return this[_0x27d872(0xec)][_0x27d872(0x128)]();}[a0_0x53bff1(0x15f)](){const _0x288e00=a0_0x53bff1,_0x46c53a=this[_0x288e00(0x1d8)]();return _0x288e00(0xed)+_0x46c53a['enabled']+'/'+_0x46c53a[_0x288e00(0x131)]+'\x20operations)';}}class Field{[a0_0x53bff1(0x313)];[a0_0x53bff1(0x2fa)]=null;constructor(_0xeeb9ad){const _0x339693=a0_0x53bff1;if(!_0xeeb9ad||typeof _0xeeb9ad!==_0x339693(0xdc))throw new Error(_0x339693(0x2ed));this[_0x339693(0x313)]=_0xeeb9ad;}get[a0_0x53bff1(0x20b)](){const _0x4b632e=a0_0x53bff1;return this[_0x4b632e(0x313)];}[a0_0x53bff1(0x30c)](){const _0x4992ec=a0_0x53bff1;return this[_0x4992ec(0x313)];}get[a0_0x53bff1(0xfb)](){const _0x51f1d8=a0_0x53bff1;return this[_0x51f1d8(0x313)]['name']||'';}get['code'](){const _0x1a5cab=a0_0x53bff1;return this[_0x1a5cab(0x313)][_0x1a5cab(0x1dd)]||'';}get[a0_0x53bff1(0x2ab)](){const _0x550484=a0_0x53bff1;return this[_0x550484(0x313)][_0x550484(0x2ab)]||'';}get[a0_0x53bff1(0x101)](){const _0x17a092=a0_0x53bff1;return this[_0x17a092(0x313)][_0x17a092(0x101)]||'';}get[a0_0x53bff1(0xf7)](){const _0x88ff6a=a0_0x53bff1;return Boolean(this[_0x88ff6a(0x313)][_0x88ff6a(0xf7)]);}get[a0_0x53bff1(0x114)](){const _0x103f13=a0_0x53bff1;if(this[_0x103f13(0x2fa)]!==null&&typeof this[_0x103f13(0x2fa)]===_0x103f13(0xdc))return this[_0x103f13(0x2fa)];const _0x7970ac=this[_0x103f13(0x313)][_0x103f13(0x114)];if(!_0x7970ac||typeof _0x7970ac!==_0x103f13(0x2e0))return this[_0x103f13(0x2fa)]={},this['_extend'];if(_0x7970ac===_0x103f13(0x1b7)||_0x7970ac[_0x103f13(0x16f)]()==='null')return this['_extend']={},this[_0x103f13(0x2fa)];try{const _0x23c350=JSON[_0x103f13(0x2b5)](_0x7970ac);return this[_0x103f13(0x2fa)]=_0x23c350!==null&&typeof _0x23c350===_0x103f13(0xdc)&&!Array[_0x103f13(0x153)](_0x23c350)?_0x23c350:{},this[_0x103f13(0x2fa)];}catch(_0x135ca1){return!![]&&console[_0x103f13(0x2f4)](_0x103f13(0x217)+this['code']+_0x103f13(0x246),_0x135ca1),this[_0x103f13(0x2fa)]={},this[_0x103f13(0x2fa)];}}[a0_0x53bff1(0x26f)](){const _0x2d57d5=a0_0x53bff1;return Boolean(this['extend'][_0x2d57d5(0x23c)]);}[a0_0x53bff1(0x24e)](){const _0xa1f169=a0_0x53bff1;return Boolean(this[_0xa1f169(0x114)][_0xa1f169(0x23b)]);}['isSystem'](){const _0x4ccff3=a0_0x53bff1;return Boolean(this[_0x4ccff3(0x114)][_0x4ccff3(0x2b7)]);}[a0_0x53bff1(0x24b)](){const _0x3b55e7=a0_0x53bff1;return!this[_0x3b55e7(0x165)]();}[a0_0x53bff1(0x176)](){const _0x41fa2f=a0_0x53bff1;return this[_0x41fa2f(0xf7)];}['isAutoIncrement'](){const _0x45739d=a0_0x53bff1;return Boolean(this[_0x45739d(0x114)]['autoIncrement']);}[a0_0x53bff1(0x1d4)](){const _0x3b5912=a0_0x53bff1;return Boolean(this[_0x3b5912(0x114)][_0x3b5912(0x2b3)]);}[a0_0x53bff1(0x257)](){const _0xf15248=a0_0x53bff1;return Boolean(this[_0xf15248(0x114)][_0xf15248(0xce)]);}[a0_0x53bff1(0x20e)](){const _0xae700f=a0_0x53bff1,_0x596c05=[_0xae700f(0x138),_0xae700f(0x175),_0xae700f(0x190)];return _0x596c05[_0xae700f(0x220)](this['type']);}[a0_0x53bff1(0x219)](){return this['type']==='CHECKBOX';}[a0_0x53bff1(0x144)](){const _0x1c03f3=a0_0x53bff1,_0x218620=this['extend'];if(_0x218620[_0x1c03f3(0x247)]&&Array[_0x1c03f3(0x153)](_0x218620[_0x1c03f3(0x247)]))return _0x218620[_0x1c03f3(0x247)];return;}['getSelectItemsSource'](){const _0x2644b1=a0_0x53bff1,_0xadea62=this[_0x2644b1(0x114)];if(_0xadea62[_0x2644b1(0x1b3)]&&typeof _0xadea62['selectItemsSource']===_0x2644b1(0xdc))return _0xadea62[_0x2644b1(0x1b3)];return;}[a0_0x53bff1(0x253)](){const _0x407836=a0_0x53bff1;if(!this['isEnum']())return;const _0x3697f2=this['getEnumOptions'](),_0x527c9a=this[_0x407836(0x2a4)](),_0x46220d=[],_0x23545c={},_0x4bd831=_0x3f96c5=>{const _0x3474bd=_0x407836;_0x3f96c5[_0x3474bd(0x1b2)](_0x294808=>{const _0x424252=_0x3474bd;_0x46220d['push'](_0x294808['value']),_0x23545c[String(_0x294808[_0x424252(0x2a6)])]=_0x294808[_0x424252(0x2ee)],_0x294808[_0x424252(0x10c)]&&_0x294808[_0x424252(0x10c)][_0x424252(0x305)]>0x0&&_0x4bd831(_0x294808[_0x424252(0x10c)]);});};return _0x3697f2&&_0x3697f2[_0x407836(0x305)]>0x0&&_0x4bd831(_0x3697f2),{'code':this[_0x407836(0x1dd)],'name':this[_0x407836(0xfb)],'type':this['type'],'multiple':this['isMultipleSelect'](),'options':_0x3697f2,'selectItemsSource':_0x527c9a,'values':_0x46220d,'valueLabels':_0x23545c};}[a0_0x53bff1(0x21d)](){const _0x4ec6cf=a0_0x53bff1;return this[_0x4ec6cf(0x114)][_0x4ec6cf(0x2d1)];}['getTooltip'](){const _0x31f4d2=a0_0x53bff1;return this[_0x31f4d2(0x114)][_0x31f4d2(0x1fd)];}[a0_0x53bff1(0x1d2)](){const _0xa7ca6a=a0_0x53bff1;return{'name':this[_0xa7ca6a(0xfb)],'code':this[_0xa7ca6a(0x1dd)],'type':this[_0xa7ca6a(0x2ab)],'description':this[_0xa7ca6a(0x101)],'required':this['isRequired'](),'primaryKey':this[_0xa7ca6a(0x24e)](),'system':this['isSystem'](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0xa7ca6a(0x1d4)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0xa7ca6a(0x20e)](),'enumMeta':this[_0xa7ca6a(0x20e)]()?this['getEnumMeta']():undefined};}}class FieldList{[a0_0x53bff1(0x2c4)];constructor(_0x109c70,_0x944d6a){const _0x3926db=a0_0x53bff1;if(!Array[_0x3926db(0x153)](_0x109c70))throw new Error(_0x3926db(0x26e));const _0x34883c=_0x944d6a?.[_0x3926db(0x1de)]??![],_0x5df281=_0x34883c?_0x109c70:_0x109c70[_0x3926db(0x1ce)](_0x2d7d57=>!_0x2d7d57['deleted']);this['_fields']=_0x5df281[_0x3926db(0x1e1)](_0x126cc9=>new Field(_0x126cc9));}get[a0_0x53bff1(0x305)](){const _0x44cdac=a0_0x53bff1;return this['_fields'][_0x44cdac(0x305)];}[a0_0x53bff1(0x2fe)](){const _0x3cdcab=a0_0x53bff1;return[...this[_0x3cdcab(0x2c4)]];}['raw'](){const _0x3cac0e=a0_0x53bff1;return this[_0x3cac0e(0x2c4)][_0x3cac0e(0x1e1)](_0x67e9ce=>_0x67e9ce[_0x3cac0e(0x20b)]);}['at'](_0x18fd1c){return this['_fields']['at'](_0x18fd1c);}[a0_0x53bff1(0x1ae)](_0x2aa85e){const _0x13f745=a0_0x53bff1;return this['_fields'][_0x13f745(0x1ae)](_0x303f87=>_0x303f87[_0x13f745(0x1dd)]===_0x2aa85e);}[a0_0x53bff1(0xdd)](_0x4bff61){const _0x4e00fa=a0_0x53bff1;return this[_0x4e00fa(0x2c4)][_0x4e00fa(0x1ae)](_0x2ff8a1=>_0x2ff8a1[_0x4e00fa(0xfb)]===_0x4bff61);}[a0_0x53bff1(0x2f3)](_0x2409ae){const _0x3cf416=a0_0x53bff1;return this[_0x3cf416(0x2c4)]['some'](_0x3cb097=>_0x3cb097[_0x3cf416(0x1dd)]===_0x2409ae);}[a0_0x53bff1(0x1b2)](_0x215dff){const _0x5ba447=a0_0x53bff1;this[_0x5ba447(0x2c4)][_0x5ba447(0x1b2)](_0x215dff);}[a0_0x53bff1(0x1e1)](_0x19523a){const _0x16482a=a0_0x53bff1;return this['_fields'][_0x16482a(0x1e1)](_0x19523a);}[a0_0x53bff1(0x1ce)](_0x42f2f4){const _0x2f6fb6=a0_0x53bff1;return this[_0x2f6fb6(0x2c4)]['filter'](_0x42f2f4);}[a0_0x53bff1(0x210)](_0x35445b){const _0x25d424=a0_0x53bff1;return this[_0x25d424(0x2c4)][_0x25d424(0x210)](_0x35445b);}[a0_0x53bff1(0x135)](_0x148239){return this['_fields']['some'](_0x148239);}[a0_0x53bff1(0x18e)](){const _0x49d0ac=a0_0x53bff1;return this[_0x49d0ac(0x2c4)][_0x49d0ac(0x1ce)](_0x2bafd0=>_0x2bafd0[_0x49d0ac(0x26f)]());}[a0_0x53bff1(0x224)](){const _0x4acd40=a0_0x53bff1;return this[_0x4acd40(0x2c4)][_0x4acd40(0x1ce)](_0x34225c=>_0x34225c['isPrimaryKey']());}[a0_0x53bff1(0x238)](){const _0xa791f6=a0_0x53bff1;return this[_0xa791f6(0x2c4)][_0xa791f6(0x1ce)](_0x5d4638=>_0x5d4638[_0xa791f6(0x165)]());}['getBusiness'](){const _0x2fe759=a0_0x53bff1;return this[_0x2fe759(0x2c4)][_0x2fe759(0x1ce)](_0x43a5a4=>_0x43a5a4[_0x2fe759(0x24b)]());}[a0_0x53bff1(0xe3)](){const _0x390f30=a0_0x53bff1;return this['_fields'][_0x390f30(0x1ce)](_0x18ee43=>_0x18ee43[_0x390f30(0x20e)]());}[a0_0x53bff1(0x109)](){const _0x547338=a0_0x53bff1;return this[_0x547338(0x2c4)][_0x547338(0x1ce)](_0x58a16a=>_0x58a16a[_0x547338(0x170)]());}['getCreateTime'](){const _0x55c097=a0_0x53bff1;return this['_fields'][_0x55c097(0x1ce)](_0x52a989=>_0x52a989[_0x55c097(0x1d4)]());}[a0_0x53bff1(0xd8)](){const _0x4b2c84=a0_0x53bff1;return this[_0x4b2c84(0x2c4)]['filter'](_0x5c9e3c=>_0x5c9e3c[_0x4b2c84(0x257)]());}[a0_0x53bff1(0x2f9)](){const _0x28308d=a0_0x53bff1;return this[_0x28308d(0x2c4)]['filter'](_0x2853ed=>_0x2853ed['isDeleted']());}['getActive'](){const _0x57efb2=a0_0x53bff1;return this[_0x57efb2(0x2c4)][_0x57efb2(0x1ce)](_0x4379c6=>!_0x4379c6['isDeleted']());}[a0_0x53bff1(0x174)](){const _0x3582bb=a0_0x53bff1,_0x3b4b8c={};return this[_0x3582bb(0x2c4)][_0x3582bb(0x1b2)](_0x46af8b=>{const _0x283018=_0x3582bb,_0x307c0c=_0x46af8b[_0x283018(0x2ab)];!_0x3b4b8c[_0x307c0c]&&(_0x3b4b8c[_0x307c0c]=[]),_0x3b4b8c[_0x307c0c][_0x283018(0xd1)](_0x46af8b);}),_0x3b4b8c;}[a0_0x53bff1(0x105)](){const _0x5e2876=a0_0x53bff1,_0xb41f52={};return this[_0x5e2876(0x2c4)][_0x5e2876(0x1b2)](_0x4fb472=>{const _0x67b7ee=_0x5e2876;if(_0x4fb472['isEnum']()){const _0x3c62c6=_0x4fb472['getEnumMeta']();_0x3c62c6&&(_0xb41f52[_0x4fb472[_0x67b7ee(0x1dd)]]=_0x3c62c6);}}),_0xb41f52;}[a0_0x53bff1(0x1d8)](){const _0x4f2cdd=a0_0x53bff1;return{'total':this[_0x4f2cdd(0x305)],'required':this[_0x4f2cdd(0x18e)]()[_0x4f2cdd(0x305)],'primaryKey':this[_0x4f2cdd(0x224)]()['length'],'system':this[_0x4f2cdd(0x238)]()[_0x4f2cdd(0x305)],'business':this[_0x4f2cdd(0x293)]()['length'],'enum':this['getEnum']()[_0x4f2cdd(0x305)],'autoIncrement':this[_0x4f2cdd(0x109)]()['length']};}[a0_0x53bff1(0x1d2)](){const _0x276eeb=a0_0x53bff1;return this[_0x276eeb(0x2c4)][_0x276eeb(0x1e1)](_0x4d9c08=>_0x4d9c08[_0x276eeb(0x1d2)]());}[a0_0x53bff1(0x10d)](){const _0x45d0d6=a0_0x53bff1;return this[_0x45d0d6(0x2c4)][_0x45d0d6(0x1e1)](_0x2c293b=>_0x2c293b[_0x45d0d6(0x1dd)]);}[a0_0x53bff1(0x10f)](){const _0x4db5de=a0_0x53bff1;return this['_fields'][_0x4db5de(0x1e1)](_0x3b6aa6=>_0x3b6aa6[_0x4db5de(0xfb)]);}static[a0_0x53bff1(0x250)](_0x112f95){const _0x1b564d=a0_0x53bff1,_0x12f733=_0x112f95[_0x1b564d(0x1e1)](_0x122794=>_0x122794[_0x1b564d(0x20b)]);return new FieldList(_0x12f733);}static[a0_0x53bff1(0x129)](_0x28200d){return new FieldList(_0x28200d,{'includeDeleted':!![]});}}class DrivenDataDetail extends DatasetItem{[a0_0x53bff1(0x113)];[a0_0x53bff1(0x24d)];[a0_0x53bff1(0xdb)];constructor(_0x1c6c7f){super({..._0x1c6c7f,'id':_0x1c6c7f['modelId'],'datasetCode':_0x1c6c7f['modelCode']});}get[a0_0x53bff1(0x2bc)](){const _0x2ec6b1=a0_0x53bff1;return this[_0x2ec6b1(0x313)]['source'];}[a0_0x53bff1(0x242)](){const _0x735f4f=a0_0x53bff1;return this[_0x735f4f(0x2bc)];}get[a0_0x53bff1(0x2a9)](){const _0x348b25=a0_0x53bff1;return this[_0x348b25(0x313)][_0x348b25(0x2a9)];}['getFieldList'](){const _0x181da5=a0_0x53bff1;return!this[_0x181da5(0x24d)]&&(this['_fieldList']=new FieldList(this[_0x181da5(0x313)]['properties']||[])),this[_0x181da5(0x24d)];}[a0_0x53bff1(0x185)](){const _0x652086=a0_0x53bff1;return!this[_0x652086(0xdb)]&&(this[_0x652086(0xdb)]=FieldList[_0x652086(0x129)](this[_0x652086(0x313)][_0x652086(0xe7)]||[])),this[_0x652086(0xdb)];}['getFields'](){const _0x3b27a0=a0_0x53bff1;return this['getFieldList']()[_0x3b27a0(0x20b)]();}[a0_0x53bff1(0x2e5)](){const _0x3f094b=a0_0x53bff1;return this[_0x3f094b(0x313)][_0x3f094b(0xe7)]||[];}[a0_0x53bff1(0x213)](){const _0x161ca3=a0_0x53bff1;return this[_0x161ca3(0x30a)]()[_0x161ca3(0x305)];}[a0_0x53bff1(0x11b)](_0x345685){const _0x398bf8=this['getFieldInstance'](_0x345685);return _0x398bf8?_0x398bf8['raw']:undefined;}['getFieldRaw'](_0x26265b){const _0x350fed=a0_0x53bff1;return this[_0x350fed(0x30a)]()[_0x350fed(0x1ae)](_0x26265b)?.[_0x350fed(0x20b)]||undefined;}[a0_0x53bff1(0x2a5)](_0xf06d63){const _0xa5a4e9=a0_0x53bff1;if(typeof _0xf06d63!==_0xa5a4e9(0x2e0)){!![]&&console[_0xa5a4e9(0x2f4)](_0xa5a4e9(0x298),_0xf06d63);return;}return this[_0xa5a4e9(0x30a)]()[_0xa5a4e9(0x1ae)](_0xf06d63);}['hasField'](_0x5c63f4){const _0x4c3be9=a0_0x53bff1;return this[_0x4c3be9(0x30a)]()[_0x4c3be9(0x2f3)](_0x5c63f4);}[a0_0x53bff1(0x192)](_0x5a171a){const _0x26a70d=a0_0x53bff1;if(!_0x5a171a||typeof _0x5a171a!==_0x26a70d(0xdc))return!![]&&console[_0x26a70d(0x2f4)]('[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:',_0x5a171a),{};if(!_0x5a171a[_0x26a70d(0x114)])return{};try{const _0x45dd4e=typeof _0x5a171a[_0x26a70d(0x114)]===_0x26a70d(0x2e0)?JSON[_0x26a70d(0x2b5)](_0x5a171a[_0x26a70d(0x114)]):_0x5a171a[_0x26a70d(0x114)];if(typeof _0x45dd4e!=='object'||_0x45dd4e===null)return{};return _0x45dd4e;}catch{return{};}}['isPrimaryKeyField'](_0x4a70df){const _0x7ed3dd=a0_0x53bff1;if(!_0x4a70df||typeof _0x4a70df!=='object')return![];const _0x59e150=this['getFieldList']()['find'](_0x4a70df[_0x7ed3dd(0x1dd)]);return _0x59e150?_0x59e150['isPrimaryKey']():![];}[a0_0x53bff1(0x1ec)](_0x112b54){const _0x1e9910=a0_0x53bff1;if(!_0x112b54||typeof _0x112b54!=='object')return![];const _0x42506b=this[_0x1e9910(0x30a)]()[_0x1e9910(0x1ae)](_0x112b54['code']);return _0x42506b?_0x42506b[_0x1e9910(0x165)]():![];}[a0_0x53bff1(0x2bd)](_0x28e0c2){const _0x5d2c9f=a0_0x53bff1;if(!_0x28e0c2||typeof _0x28e0c2!==_0x5d2c9f(0xdc))return![];const _0x118658=this['getFieldList']()[_0x5d2c9f(0x1ae)](_0x28e0c2['code']);return _0x118658?_0x118658[_0x5d2c9f(0x26f)]():![];}['getPrimaryKeyFields'](){const _0x27b9cd=a0_0x53bff1;return this['getFieldList']()[_0x27b9cd(0x224)]()['map'](_0x448f34=>_0x448f34[_0x27b9cd(0x20b)]);}[a0_0x53bff1(0x2ec)](){const _0x104a93=a0_0x53bff1;return this[_0x104a93(0x30a)]()[_0x104a93(0x238)]()[_0x104a93(0x1e1)](_0x2fa8e0=>_0x2fa8e0['raw']);}[a0_0x53bff1(0x122)](){const _0x4cfb04=a0_0x53bff1;return this[_0x4cfb04(0x30a)]()[_0x4cfb04(0x293)]()[_0x4cfb04(0x1e1)](_0x1ee6d4=>_0x1ee6d4[_0x4cfb04(0x20b)]);}[a0_0x53bff1(0xda)](){const _0x1846b7=a0_0x53bff1;return this[_0x1846b7(0x30a)]()['getRequired']()[_0x1846b7(0x1e1)](_0x2a5c65=>_0x2a5c65[_0x1846b7(0x20b)]);}[a0_0x53bff1(0x24c)](){const _0x5f5acb=a0_0x53bff1,_0x41e350=this['getFieldList']()[_0x5f5acb(0x174)](),_0x3fb74d={};for(const [_0x46f532,_0x32ea1d]of Object[_0x5f5acb(0x2d3)](_0x41e350)){_0x3fb74d[_0x46f532]=_0x32ea1d[_0x5f5acb(0x1e1)](_0x4af120=>_0x4af120[_0x5f5acb(0x20b)]);}return _0x3fb74d;}[a0_0x53bff1(0x255)](_0x9b0b36){const _0x194a89=a0_0x53bff1;if(!_0x9b0b36||typeof _0x9b0b36!==_0x194a89(0xdc))return![];const _0x25f7dd=this[_0x194a89(0x30a)]()[_0x194a89(0x1ae)](_0x9b0b36[_0x194a89(0x1dd)]);return _0x25f7dd?_0x25f7dd[_0x194a89(0x20e)]():![];}['isMultipleSelectField'](_0x27c241){const _0x3bf573=a0_0x53bff1;if(!_0x27c241||typeof _0x27c241!==_0x3bf573(0xdc))return![];const _0x314439=this[_0x3bf573(0x30a)]()[_0x3bf573(0x1ae)](_0x27c241[_0x3bf573(0x1dd)]);return _0x314439?_0x314439[_0x3bf573(0x219)]():![];}['getFieldOptions'](_0x5d6b87){const _0x500f26=a0_0x53bff1;if(!_0x5d6b87||typeof _0x5d6b87!=='object')return[];const _0x216109=this[_0x500f26(0x30a)]()[_0x500f26(0x1ae)](_0x5d6b87[_0x500f26(0x1dd)]);if(!_0x216109||!_0x216109[_0x500f26(0x20e)]())return[];return _0x216109['getEnumOptions']()||[];}[a0_0x53bff1(0x29d)](_0x1c2b35){const _0x38405b=a0_0x53bff1;if(!_0x1c2b35||typeof _0x1c2b35!==_0x38405b(0xdc))return;const _0x1888e4=this[_0x38405b(0x30a)]()[_0x38405b(0x1ae)](_0x1c2b35[_0x38405b(0x1dd)]);if(!_0x1888e4||!_0x1888e4['isEnum']())return;return _0x1888e4[_0x38405b(0x2a4)]();}[a0_0x53bff1(0x103)](_0x51a38c){const _0x19f142=a0_0x53bff1;if(!_0x51a38c||typeof _0x51a38c!==_0x19f142(0xdc))return;const _0x359b21=this[_0x19f142(0x30a)]()[_0x19f142(0x1ae)](_0x51a38c[_0x19f142(0x1dd)]);if(!_0x359b21||!_0x359b21[_0x19f142(0x20e)]())return;return _0x359b21[_0x19f142(0x253)]();}[a0_0x53bff1(0x20f)](){const _0xcdab82=a0_0x53bff1;return this[_0xcdab82(0x30a)]()['getEnum']()[_0xcdab82(0x1e1)](_0x513d06=>_0x513d06['raw']);}['getEnumFieldsMeta'](){const _0x450e38=a0_0x53bff1,_0x522df1={};return this[_0x450e38(0x20f)]()[_0x450e38(0x1b2)](_0x4a8191=>{const _0x323311=_0x450e38,_0xff4d0f=this[_0x323311(0x103)](_0x4a8191);_0xff4d0f&&(_0x522df1[_0x4a8191[_0x323311(0x1dd)]]=_0xff4d0f);}),_0x522df1;}[a0_0x53bff1(0xd4)](_0x4a2c25,_0x1ef41f){const _0x7c40aa=a0_0x53bff1,_0x570cf7=this[_0x7c40aa(0x103)](_0x4a2c25);if(!_0x570cf7)return!![];if(_0x570cf7['selectItemsSource']&&!_0x570cf7[_0x7c40aa(0x247)])return!![];if(_0x570cf7[_0x7c40aa(0x200)]&&Array[_0x7c40aa(0x153)](_0x1ef41f))return _0x1ef41f[_0x7c40aa(0x210)](_0x31a95e=>_0x570cf7[_0x7c40aa(0x128)][_0x7c40aa(0x220)](_0x31a95e));return _0x570cf7[_0x7c40aa(0x128)][_0x7c40aa(0x220)](_0x1ef41f);}[a0_0x53bff1(0x2ac)](){const _0x1d0df7=a0_0x53bff1;if(!this[_0x1d0df7(0x113)]){const _0x39500e=this[_0x1d0df7(0x1e5)](this[_0x1d0df7(0x313)][_0x1d0df7(0x2fb)]||{});this['_operationList']=new OperationList(_0x39500e,{'fields':this['getFields'](),'pkField':this[_0x1d0df7(0x313)][_0x1d0df7(0x2f7)]?.[_0x1d0df7(0x2b8)],'dbtableConfig':this[_0x1d0df7(0x313)][_0x1d0df7(0x2f7)]});}return this[_0x1d0df7(0x113)];}['ensureFilterOperation'](_0x3cda60){const _0x31ad95=a0_0x53bff1;if(_0x3cda60[_0x31ad95(0x1ce)]!==undefined)return _0x3cda60;return{..._0x3cda60,'filter':this['generateDefaultFilterOperation']()};}[a0_0x53bff1(0x2e2)](){const _0x421656=a0_0x53bff1,_0x570a8d=this[_0x421656(0x313)][_0x421656(0x2fb)]?.['getList'];let _0x4553a4=_0x570a8d?.[_0x421656(0x159)],_0x5841e3='';if(!_0x4553a4&&this[_0x421656(0x313)][_0x421656(0x2fb)]){const _0x4c568f=Object[_0x421656(0x128)](this[_0x421656(0x313)]['operations']);for(const _0x5a3e9c of _0x4c568f){if(_0x5a3e9c&&typeof _0x5a3e9c===_0x421656(0xdc)&&'host'in _0x5a3e9c){_0x4553a4=_0x5a3e9c[_0x421656(0x159)];break;}}}if(_0x570a8d?.[_0x421656(0x23a)]){const _0x1bfae5=_0x570a8d['path'],_0x4187e6=_0x1bfae5[_0x421656(0x2d2)]('/');_0x4187e6!==-0x1&&(_0x5841e3=_0x1bfae5['substring'](0x0,_0x4187e6));}return{'name':'filter','type':_0x421656(0x2c1),'description':_0x421656(0x10a),'method':_0x421656(0x187),'host':_0x4553a4,'path':_0x5841e3?_0x5841e3+_0x421656(0x266):_0x421656(0x266),'params':_0x570a8d?.[_0x421656(0x142)]||[{'name':_0x421656(0x2d5),'type':_0x421656(0xdc),'required':![]},{'name':'select','type':_0x421656(0x1ad),'required':![]},{'name':_0x421656(0x2a3),'type':_0x421656(0x1ad),'required':![]},{'name':_0x421656(0x17d),'type':_0x421656(0x14c),'required':![],'default':0x1},{'name':_0x421656(0x229),'type':'number','required':![],'default':0xa}],'_autoGenerated':!![]};}['getOperations'](){const _0x3141fb=a0_0x53bff1;return this[_0x3141fb(0x2ac)]()[_0x3141fb(0x2a7)]();}[a0_0x53bff1(0x312)](){const _0x3e2040=a0_0x53bff1;return this[_0x3e2040(0x2ac)]()['size']();}['getOperation'](_0x482ec9){const _0x5a3d8a=a0_0x53bff1;if(typeof _0x482ec9!==_0x5a3d8a(0x2e0)){!![]&&console[_0x5a3d8a(0x2f4)]('[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:',_0x482ec9);return;}return this[_0x5a3d8a(0x2ac)]()[_0x5a3d8a(0x240)](_0x482ec9);}[a0_0x53bff1(0x1dc)](_0x485228){const _0x77c462=a0_0x53bff1;if(typeof _0x485228!==_0x77c462(0x2e0))return![];return this[_0x77c462(0x2ac)]()['has'](_0x485228);}['isOperationEnabled'](_0x5a2f4c){const _0x51bc63=a0_0x53bff1;if(typeof _0x5a2f4c!==_0x51bc63(0x2e0))return![];const _0x22fa9e=this[_0x51bc63(0x287)](_0x5a2f4c);return _0x22fa9e?.['isEnabled']()||![];}[a0_0x53bff1(0x2e3)](){const _0x5311ac=a0_0x53bff1;return this[_0x5311ac(0x2ac)]()[_0x5311ac(0x1a8)]();}[a0_0x53bff1(0xe4)](){const _0x5c3e9c=a0_0x53bff1;return this[_0x5c3e9c(0x2ac)]()[_0x5c3e9c(0x256)]();}['getEnabledOperationInstances'](){return this['getOperationList']()['getEnabled']();}[a0_0x53bff1(0x168)](){const _0x51533b=a0_0x53bff1;return this['getOperationList']()[_0x51533b(0xe2)]();}[a0_0x53bff1(0x1d8)](){const _0x5ac8e2=a0_0x53bff1;return{'fieldCount':this[_0x5ac8e2(0x213)](),'systemFieldCount':this[_0x5ac8e2(0x2ec)]()[_0x5ac8e2(0x305)],'businessFieldCount':this[_0x5ac8e2(0x122)]()[_0x5ac8e2(0x305)],'requiredFieldCount':this[_0x5ac8e2(0xda)]()['length'],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this['getOperationCount'](),'enabledOperationCount':this[_0x5ac8e2(0x2e3)]()['length']};}[a0_0x53bff1(0x2e1)](){const _0x40bc93=a0_0x53bff1;return new DatasetItem({'id':this['id'],'name':this[_0x40bc93(0xfb)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x40bc93(0x2b1)]()});}[a0_0x53bff1(0x15f)](){const _0x5c839a=a0_0x53bff1;return _0x5c839a(0x139)+this['name']+',\x20'+this['datasetCode']+',\x20'+this[_0x5c839a(0x213)]()+'\x20fields,\x20'+this[_0x5c839a(0x312)]()+'\x20operations)';}[a0_0x53bff1(0x198)](){const _0x163056=a0_0x53bff1,_0x6ccfcb=this[_0x163056(0x287)](_0x163056(0x1ce));return _0x6ccfcb;}['hasFilterOperation'](){const _0x484be5=a0_0x53bff1;return this['hasOperation'](_0x484be5(0x1ce));}[a0_0x53bff1(0x230)](_0x342d72){const _0x517cd3=a0_0x53bff1,_0x14b125=this[_0x517cd3(0x287)](_0x342d72);return _0x14b125?_0x14b125['getOperators']():[];}['getOperationFieldOperators'](_0xcc3ac6,_0x943781){const _0x8dd8b4=a0_0x53bff1,_0x5495f2=this[_0x8dd8b4(0x287)](_0xcc3ac6);return _0x5495f2?_0x5495f2['getFieldOperators'](_0x943781):[];}[a0_0x53bff1(0x107)](_0x31c6db){const _0x5ad1b3=a0_0x53bff1,_0xb6b71b={};return this[_0x5ad1b3(0x30a)]()['forEach'](_0x49a676=>{const _0x42e232=_0x5ad1b3,_0x44de04=this[_0x42e232(0x1b9)](_0x31c6db,_0x49a676[_0x42e232(0x1dd)]);_0x44de04[_0x42e232(0x305)]>0x0&&(_0xb6b71b[_0x49a676[_0x42e232(0x1dd)]]=_0x44de04);}),_0xb6b71b;}[a0_0x53bff1(0x167)](_0x3a74f1,_0x37202f,_0x55551f){const _0x18d32b=a0_0x53bff1,_0xb0061d=this[_0x18d32b(0x1b9)](_0x3a74f1,_0x37202f);return _0xb0061d['includes'](_0x55551f);}[a0_0x53bff1(0x186)](){return this['getOperationOperators']('filter');}[a0_0x53bff1(0x1a3)](_0x4e55ed){const _0x2f8474=a0_0x53bff1;return this[_0x2f8474(0x1b9)](_0x2f8474(0x1ce),_0x4e55ed);}[a0_0x53bff1(0x100)](){const _0x4c2ea2=a0_0x53bff1;return this['getOperationFieldsOperatorsMap'](_0x4c2ea2(0x1ce));}}class DatasetGroup{[a0_0x53bff1(0x1bf)];constructor(_0x500fe3){const _0x3ddb40=a0_0x53bff1;this[_0x3ddb40(0x1bf)]=Array['isArray'](_0x500fe3)?[..._0x500fe3]:[_0x500fe3],this[_0x3ddb40(0x1bf)][_0x3ddb40(0x2b0)]((_0x21dd32,_0x40da55)=>{const _0x39d1ad=Number(_0x21dd32['id'])||0x0,_0x179a2e=Number(_0x40da55['id'])||0x0;return _0x179a2e-_0x39d1ad;});}[a0_0x53bff1(0x244)](){const _0xf2894d=a0_0x53bff1;return this['items'][_0xf2894d(0x305)]>0x1;}['getLatest'](){return this['items'][0x0];}[a0_0x53bff1(0x2cf)](){const _0x223527=a0_0x53bff1;return this[_0x223527(0x1bf)][this[_0x223527(0x1bf)]['length']-0x1];}[a0_0x53bff1(0x25a)](){const _0x53d1fa=a0_0x53bff1;return[...this[_0x53d1fa(0x1bf)]];}[a0_0x53bff1(0xd6)](){const _0x361824=a0_0x53bff1;return this['items'][_0x361824(0x305)];}[a0_0x53bff1(0x1cc)](_0x213377){const _0x2cbcd7=a0_0x53bff1;return this[_0x2cbcd7(0x1bf)][_0x213377];}[a0_0x53bff1(0x261)](_0x51bb45){const _0x1e8df7=a0_0x53bff1;return this['items'][_0x1e8df7(0x1ae)](_0x837e90=>_0x837e90['id']===_0x51bb45);}[a0_0x53bff1(0x124)](_0x50cbe4){const _0x448a35=a0_0x53bff1;return this[_0x448a35(0x1bf)][_0x448a35(0x1ae)](_0x23a60c=>_0x23a60c[_0x448a35(0x1c8)]===_0x50cbe4);}[a0_0x53bff1(0x13e)](){const _0x554177=a0_0x53bff1;return this['items']['map'](_0x56af64=>_0x56af64['id'])[_0x554177(0x1ce)](_0x316141=>_0x316141!==undefined);}['getCodes'](){const _0x32837a=a0_0x53bff1;return this[_0x32837a(0x1bf)][_0x32837a(0x1e1)](_0x46a111=>_0x46a111[_0x32837a(0x1c8)]);}[a0_0x53bff1(0x15f)](){const _0x5049a0=a0_0x53bff1;if(this[_0x5049a0(0x244)]())return _0x5049a0(0x132)+this[_0x5049a0(0x1bf)][_0x5049a0(0x305)]+_0x5049a0(0x259)+this[_0x5049a0(0x2a0)]()[_0x5049a0(0xfb)]+')';return _0x5049a0(0x132)+this[_0x5049a0(0x1bf)][0x0][_0x5049a0(0xfb)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x23a566){const _0x1a4210=a0_0x53bff1;this['groups']=new Map();for(const _0x8288b5 of _0x23a566){const _0x1a0b2b=getTableKey(_0x8288b5);if(!this['groups'][_0x1a4210(0x2f3)](_0x1a0b2b))this[_0x1a4210(0x12a)]['set'](_0x1a0b2b,new DatasetGroup(_0x8288b5));else{const _0x5637b5=this[_0x1a4210(0x12a)][_0x1a4210(0x240)](_0x1a0b2b),_0x4d2a03=[..._0x5637b5[_0x1a4210(0x25a)](),_0x8288b5];this['groups'][_0x1a4210(0x169)](_0x1a0b2b,new DatasetGroup(_0x4d2a03));}}}['get'](_0x601143){const _0x326730=a0_0x53bff1;return this[_0x326730(0x12a)][_0x326730(0x240)](_0x601143);}[a0_0x53bff1(0x2f3)](_0x318fc5){const _0x53bfa0=a0_0x53bff1;return this[_0x53bfa0(0x12a)]['has'](_0x318fc5);}get[a0_0x53bff1(0x2b2)](){const _0x2b31ba=a0_0x53bff1;return this[_0x2b31ba(0x12a)]['size'];}['keys'](){const _0x2310ba=a0_0x53bff1;return this[_0x2310ba(0x12a)][_0x2310ba(0x28a)]();}[a0_0x53bff1(0x128)](){const _0x4cc74d=a0_0x53bff1;return this[_0x4cc74d(0x12a)][_0x4cc74d(0x128)]();}['entries'](){const _0xbe4b5e=a0_0x53bff1;return this[_0xbe4b5e(0x12a)]['entries']();}[Symbol[a0_0x53bff1(0x1c9)]](){const _0x48008a=a0_0x53bff1;return this[_0x48008a(0x12a)][_0x48008a(0x2d3)]();}['forEach'](_0x1ed307){const _0x30dcaa=a0_0x53bff1;this[_0x30dcaa(0x12a)][_0x30dcaa(0x1b2)]((_0x23fe84,_0x580d61)=>_0x1ed307(_0x23fe84,_0x580d61,this));}['getConflicts'](){const _0x21474d=a0_0x53bff1,_0x44b9c7=new Map();for(const [_0x1af32e,_0x415e2a]of this[_0x21474d(0x12a)]){_0x415e2a[_0x21474d(0x244)]()&&_0x44b9c7[_0x21474d(0x169)](_0x1af32e,_0x415e2a);}return _0x44b9c7;}[a0_0x53bff1(0xcc)](){const _0x3b29c7=a0_0x53bff1;for(const _0xc5d706 of this[_0x3b29c7(0x12a)][_0x3b29c7(0x128)]()){if(_0xc5d706[_0x3b29c7(0x244)]())return!![];}return![];}[a0_0x53bff1(0x2d9)](){const _0x2bd267=a0_0x53bff1;let _0x2299d1=0x0,_0x55e828=0x0;for(const _0x241b50 of this[_0x2bd267(0x12a)][_0x2bd267(0x128)]()){_0x241b50[_0x2bd267(0x244)]()&&(_0x2299d1++,_0x55e828+=_0x241b50[_0x2bd267(0xd6)]());}return{'conflictGroupCount':_0x2299d1,'conflictItemCount':_0x55e828,'totalGroups':this[_0x2bd267(0x12a)][_0x2bd267(0x2b2)]};}[a0_0x53bff1(0x274)](){const _0x548e61=a0_0x53bff1,_0x4b21c4=[];for(const _0x22b6db of this[_0x548e61(0x12a)][_0x548e61(0x128)]()){_0x4b21c4[_0x548e61(0xd1)](..._0x22b6db[_0x548e61(0x25a)]());}return _0x4b21c4;}[a0_0x53bff1(0x2af)](){const _0x3cd5c0=a0_0x53bff1,_0x5e50b4=[];for(const _0x15ff47 of this[_0x3cd5c0(0x12a)][_0x3cd5c0(0x128)]()){_0x5e50b4[_0x3cd5c0(0xd1)](_0x15ff47[_0x3cd5c0(0x2a0)]());}return _0x5e50b4;}[a0_0x53bff1(0x2a0)](_0x55fbcc){const _0x3f0df0=a0_0x53bff1;return this[_0x3f0df0(0x12a)][_0x3f0df0(0x240)](_0x55fbcc)?.[_0x3f0df0(0x2a0)]();}['getAll'](_0x184d00){const _0x43e928=a0_0x53bff1;return this[_0x43e928(0x12a)]['get'](_0x184d00)?.[_0x43e928(0x25a)]()||[];}['toConfig'](){const _0x2978db=a0_0x53bff1,_0x16d2a9=this[_0x2978db(0x2af)](),_0x523b15=_0x16d2a9[_0x2978db(0x1e1)](_0x19bb25=>_0x19bb25['toJSON']());return generateDatasetsConfig(_0x523b15,{'enableDeduplication':![]});}[a0_0x53bff1(0x1bc)](){const _0x44b3f5=a0_0x53bff1,_0x5282f3=this[_0x44b3f5(0x274)](),_0x405ad3=_0x5282f3[_0x44b3f5(0x1e1)](_0x40b788=>_0x40b788[_0x44b3f5(0x1d2)]());return generateFullDatasetsConfig(_0x405ad3);}[a0_0x53bff1(0x26d)](){const _0x1cfee0=a0_0x53bff1,_0x589555={};for(const [_0x551c37,_0x331072]of this[_0x1cfee0(0x12a)]){_0x589555[_0x551c37]=_0x331072;}return _0x589555;}[a0_0x53bff1(0x1d2)](){const _0x521509=a0_0x53bff1,_0x192a29={};for(const [_0xc0a05f,_0x5cd3bf]of this[_0x521509(0x12a)]){_0x192a29[_0xc0a05f]=_0x5cd3bf[_0x521509(0x25a)]()[_0x521509(0x1e1)](_0x598887=>_0x598887[_0x521509(0x1d2)]());}return _0x192a29;}[a0_0x53bff1(0x15f)](){const _0x3c3d99=a0_0x53bff1;return _0x3c3d99(0x27d)+this[_0x3c3d99(0x12a)][_0x3c3d99(0x2b2)]+_0x3c3d99(0x2c2)+(this[_0x3c3d99(0xcc)]()?_0x3c3d99(0x2cb):'no\x20conflicts')+')';}}class DatasetList{[a0_0x53bff1(0xff)];constructor(_0x725b47){const _0x45ec68=a0_0x53bff1;let _0x1a5f99;if(Array['isArray'](_0x725b47))_0x1a5f99=_0x725b47;else{if(_0x45ec68(0x1e3)in _0x725b47){if(!_0x725b47[_0x45ec68(0x1e3)])throw new Error(_0x45ec68(0x22d));if(Array[_0x45ec68(0x153)](_0x725b47[_0x45ec68(0x2f1)]))_0x1a5f99=_0x725b47[_0x45ec68(0x2f1)][_0x45ec68(0x1e1)](_0x398f60=>({..._0x398f60,'datasetCode':_0x398f60[_0x45ec68(0x1dd)]||_0x398f60[_0x45ec68(0x1c8)]}));else{if(_0x725b47[_0x45ec68(0x2f1)]?.[_0x45ec68(0xd2)])_0x1a5f99=_0x725b47[_0x45ec68(0x2f1)][_0x45ec68(0xd2)]['map'](_0x26e03d=>({..._0x26e03d,'datasetCode':_0x26e03d['code']||_0x26e03d[_0x45ec68(0x1c8)]}));else throw new Error(_0x45ec68(0x1db));}}else{if(_0x45ec68(0xd2)in _0x725b47){if(!Array[_0x45ec68(0x153)](_0x725b47[_0x45ec68(0xd2)]))throw new Error(_0x45ec68(0x1d1));_0x1a5f99=_0x725b47[_0x45ec68(0xd2)]['map'](_0x3bc59a=>({..._0x3bc59a,'datasetCode':_0x3bc59a[_0x45ec68(0x1dd)]||_0x3bc59a[_0x45ec68(0x1c8)]}));}else throw new Error(_0x45ec68(0x14f));}}const _0x30fca0=_0x1a5f99['map'](_0x298b84=>new DatasetItem(_0x298b84));this[_0x45ec68(0xff)]=new DatasetGroupMap(_0x30fca0);}get[a0_0x53bff1(0x27c)](){const _0x26de6a=a0_0x53bff1;return this[_0x26de6a(0xff)];}[a0_0x53bff1(0x133)](){const _0x152f1d=a0_0x53bff1;return this[_0x152f1d(0xff)][_0x152f1d(0x274)]();}[a0_0x53bff1(0xd6)](){const _0x1c8e4d=a0_0x53bff1;return this[_0x1c8e4d(0x133)]()[_0x1c8e4d(0x305)];}[a0_0x53bff1(0x207)](){const _0x3dfc74=a0_0x53bff1;return this[_0x3dfc74(0xff)][_0x3dfc74(0x2b2)]===0x0;}[a0_0x53bff1(0x1cc)](_0x1a7ca1){const _0x3888a9=a0_0x53bff1;return this[_0x3888a9(0x133)]()[_0x1a7ca1];}[a0_0x53bff1(0x1ab)](){const _0xedf15f=a0_0x53bff1;return this[_0xedf15f(0x133)]()[0x0];}[a0_0x53bff1(0x235)](){const _0x3f94e7=a0_0x53bff1,_0x1e8949=this[_0x3f94e7(0x133)]();return _0x1e8949[_0x1e8949['length']-0x1];}[a0_0x53bff1(0x124)](_0x4a395f){const _0x512b39=a0_0x53bff1;for(const _0x5c4830 of this[_0x512b39(0xff)][_0x512b39(0x128)]()){const _0x190ade=_0x5c4830[_0x512b39(0x124)](_0x4a395f);if(_0x190ade)return _0x190ade;}return;}[a0_0x53bff1(0xdd)](_0x27ebbd){const _0x2ec95c=a0_0x53bff1;return this['getItems']()[_0x2ec95c(0x1ae)](_0x571cfd=>_0x571cfd[_0x2ec95c(0xfb)]===_0x27ebbd);}[a0_0x53bff1(0x261)](_0x4976ae){const _0x40073d=a0_0x53bff1;for(const _0x5cac74 of this['_datasetMap'][_0x40073d(0x128)]()){const _0x3bd908=_0x5cac74[_0x40073d(0x261)](_0x4976ae);if(_0x3bd908)return _0x3bd908;}return;}['findByTableName'](_0x5bc885){const _0x1f1aa6=a0_0x53bff1,_0x18d3c9=getTableKey(_0x5bc885);return this[_0x1f1aa6(0xff)][_0x1f1aa6(0x2a0)](_0x18d3c9);}['filter'](_0x5f1d60){const _0x4f30af=a0_0x53bff1,_0x2b16f1=this[_0x4f30af(0x133)]()[_0x4f30af(0x1ce)](_0x5f1d60);return new DatasetList(_0x2b16f1[_0x4f30af(0x1e1)](_0x1afab5=>_0x1afab5[_0x4f30af(0x1d2)]()));}[a0_0x53bff1(0x2df)](_0xc4e71f){const _0x105395=a0_0x53bff1;return this[_0x105395(0x133)]()[_0x105395(0x1ce)](_0xc4e71f);}[a0_0x53bff1(0x1b2)](_0x454ae1){const _0x2f30a6=a0_0x53bff1;this[_0x2f30a6(0x133)]()['forEach'](_0x454ae1);}[a0_0x53bff1(0x1e1)](_0x1ff576){const _0x12c263=a0_0x53bff1;return this[_0x12c263(0x133)]()['map'](_0x1ff576);}[Symbol[a0_0x53bff1(0x1c9)]](){const _0x23f70d=a0_0x53bff1;return this[_0x23f70d(0x133)]()[Symbol[_0x23f70d(0x1c9)]]();}['getVirtualTables'](){const _0x5d5d7b=a0_0x53bff1;return this[_0x5d5d7b(0x133)]()[_0x5d5d7b(0x1ce)](_0x7168d6=>_0x7168d6[_0x5d5d7b(0x282)]());}[a0_0x53bff1(0x147)](){const _0x8238f6=a0_0x53bff1;return this['getItems']()[_0x8238f6(0x1ce)](_0x384bf0=>!_0x384bf0[_0x8238f6(0x282)]());}[a0_0x53bff1(0x2ba)](){const _0x52f4b9=a0_0x53bff1,_0x5ce3ec={};for(const _0x2d696a of this[_0x52f4b9(0xff)]['values']()){const _0x235974=_0x2d696a['getLatest']()[_0x52f4b9(0x151)]();_0x5ce3ec[_0x235974]=_0x2d696a[_0x52f4b9(0x25a)]();}return _0x5ce3ec;}[a0_0x53bff1(0x271)](){const _0x16710d=a0_0x53bff1,_0x1960b2={};for(const _0x4062a0 of this[_0x16710d(0xff)][_0x16710d(0x1ee)]()[_0x16710d(0x128)]()){const _0xfc6b9=_0x4062a0[_0x16710d(0x2a0)]()[_0x16710d(0x151)]();_0x1960b2[_0xfc6b9]=_0x4062a0['getAll']()[_0x16710d(0x1e1)](_0x2a4443=>_0x2a4443[_0x16710d(0x1d2)]());}return{'hasConflicts':Object[_0x16710d(0x28a)](_0x1960b2)[_0x16710d(0x305)]>0x0,'conflicts':_0x1960b2};}[a0_0x53bff1(0xcc)](){const _0xaa52d9=a0_0x53bff1;return this[_0xaa52d9(0xff)][_0xaa52d9(0xcc)]();}[a0_0x53bff1(0x1a2)](){const _0x2a29a0=a0_0x53bff1,_0xaba50=[];for(const _0x4f6577 of this[_0x2a29a0(0xff)][_0x2a29a0(0x1ee)]()[_0x2a29a0(0x128)]()){_0xaba50[_0x2a29a0(0xd1)](..._0x4f6577[_0x2a29a0(0x25a)]());}return _0xaba50;}[a0_0x53bff1(0xf1)](_0x209207){const _0x56042c=a0_0x53bff1;if(!_0x209207||Object[_0x56042c(0x28a)](_0x209207)[_0x56042c(0x305)]===0x0)return this[_0x56042c(0x27c)]['toConfig']();const _0x3556ac=this[_0x56042c(0x133)]()[_0x56042c(0x1e1)](_0x33e815=>_0x33e815[_0x56042c(0x1d2)]());return generateDatasetsConfig(_0x3556ac,_0x209207);}[a0_0x53bff1(0x116)](_0x17a61b){const _0x1bdbb7=a0_0x53bff1,_0x125438=this[_0x1bdbb7(0xf1)](_0x17a61b);return datasetsConfigToArray(_0x125438);}[a0_0x53bff1(0x17e)](){const _0x3166c7=a0_0x53bff1;return this[_0x3166c7(0x133)]()[_0x3166c7(0x1e1)](_0x3abf5a=>_0x3abf5a['toConfig']());}[a0_0x53bff1(0x1d8)](){const _0x268e73=a0_0x53bff1;return{'total':this[_0x268e73(0xd6)](),'virtualTables':this[_0x268e73(0x275)]()[_0x268e73(0x305)],'realTables':this[_0x268e73(0x147)]()[_0x268e73(0x305)],'hasConflicts':this[_0x268e73(0xcc)](),'conflictCount':this[_0x268e73(0x1a2)]()[_0x268e73(0x305)]};}[a0_0x53bff1(0x2a7)](){const _0xe255a=a0_0x53bff1;return this[_0xe255a(0x133)]()[_0xe255a(0x1e1)](_0x535fc6=>_0x535fc6[_0xe255a(0x1d2)]());}[a0_0x53bff1(0x1d2)](){const _0x580df0=a0_0x53bff1;return this[_0x580df0(0x2a7)]();}[a0_0x53bff1(0x15f)](){const _0x240672=a0_0x53bff1;return _0x240672(0x15d)+this[_0x240672(0xd6)]()+_0x240672(0x251)+this[_0x240672(0xff)][_0x240672(0x2b2)]+_0x240672(0x12d);}static[a0_0x53bff1(0x118)](_0x2974f8){return new DatasetList(_0x2974f8);}static[a0_0x53bff1(0x30e)](_0xebb13e){return new DatasetList(_0xebb13e);}static[a0_0x53bff1(0xeb)](){return new DatasetList([]);}}function operationToAnalysis(_0x24a763){const _0xbce7b=a0_0x53bff1;return{'name':_0x24a763[_0xbce7b(0x1f3)](),'displayName':_0x24a763[_0xbce7b(0x1e4)](),'type':_0x24a763[_0xbce7b(0x201)](),'method':_0x24a763[_0xbce7b(0x22c)](),'path':_0x24a763[_0xbce7b(0x25c)](),'fullUrl':_0x24a763[_0xbce7b(0x280)](),'requestFields':_0x24a763[_0xbce7b(0x13b)](),'requestParams':_0x24a763['getRequestParams'](),'responseSchema':_0x24a763[_0xbce7b(0x10b)](),'requestExample':_0x24a763[_0xbce7b(0x211)](),'responseExample':_0x24a763[_0xbce7b(0x154)](),'enabled':_0x24a763[_0xbce7b(0x1ba)]()};}function operationsToAnalyses(_0x183c22){return _0x183c22['map'](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{['_operationAnalyses'];[a0_0x53bff1(0x1c2)](){const _0x1b9ba4=a0_0x53bff1;return this[_0x1b9ba4(0x155)]();}['getOperationAnalyses'](_0x597762=![]){const _0x33ad9b=a0_0x53bff1;if(!_0x597762&&this[_0x33ad9b(0x29e)])return this[_0x33ad9b(0x29e)];const _0x34fe7d=this[_0x33ad9b(0x304)]();return this[_0x33ad9b(0x29e)]=operationsToAnalyses(_0x34fe7d),this[_0x33ad9b(0x29e)];}[a0_0x53bff1(0x19a)](){const _0x2efab9=a0_0x53bff1;return this[_0x2efab9(0x179)]({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x53bff1(0x179)](_0x5a07a4={}){const _0x41e9b0=a0_0x53bff1;let _0x1f7a7c=this[_0x41e9b0(0x231)]();return!_0x5a07a4[_0x41e9b0(0xf4)]&&(_0x1f7a7c=_0x1f7a7c[_0x41e9b0(0x1ce)](_0x3617fe=>_0x3617fe['enabled'])),_0x5a07a4[_0x41e9b0(0x14d)]!==![]&&(_0x1f7a7c=filterApiOperations(_0x1f7a7c)),_0x5a07a4[_0x41e9b0(0x178)]&&(_0x1f7a7c=_0x1f7a7c[_0x41e9b0(0x1ce)](_0x5a07a4[_0x41e9b0(0x178)])),_0x1f7a7c=this[_0x41e9b0(0x21a)](_0x1f7a7c),_0x1f7a7c;}['sortOperationsWithFilterFirst'](_0x1d154e){const _0x2b741a=a0_0x53bff1,_0x1e3aca=_0x1d154e[_0x2b741a(0x1ae)](_0x3082c0=>_0x3082c0[_0x2b741a(0xfb)]==='filter'),_0x7b6e96=_0x1d154e['filter'](_0x3df6b6=>_0x3df6b6['name']!==_0x2b741a(0x1ce));return _0x1e3aca?[_0x1e3aca,..._0x7b6e96]:_0x7b6e96;}[a0_0x53bff1(0x283)](_0x5f34a8){const _0x5507d2=a0_0x53bff1,_0x2eed80=this[_0x5507d2(0x231)]();return _0x2eed80['find'](_0x22ae22=>_0x22ae22['name']===_0x5f34a8);}[a0_0x53bff1(0x2fc)](_0xfb3196){const _0x343bbd=a0_0x53bff1,_0x51ddc5=this['getOperationAnalyses']();return _0x51ddc5[_0x343bbd(0x1ce)](_0x4ec5de=>_0x4ec5de[_0x343bbd(0x2ab)]===_0xfb3196);}['getOperationRequestFields'](_0xb4588d){const _0x1b5e33=a0_0x53bff1,_0x58f7c8=this[_0x1b5e33(0x287)](_0xb4588d);if(!_0x58f7c8)return[];const _0x22d73a=_0x58f7c8[_0x1b5e33(0x13b)](),_0x4dc9ef=this['getFields']();return _0x4dc9ef[_0x1b5e33(0x1ce)](_0x390d02=>_0x22d73a[_0x1b5e33(0x220)](_0x390d02[_0x1b5e33(0x1dd)]));}[a0_0x53bff1(0x2f0)](_0x8da353,_0x3fafab){const _0x3cecdf=a0_0x53bff1,_0x49d6ae=this[_0x3cecdf(0x283)](_0x8da353);if(!_0x49d6ae)return null;const _0x356b7c=this[_0x3cecdf(0x287)](_0x49d6ae[_0x3cecdf(0xfb)]);if(!_0x356b7c)throw new Error(_0x3cecdf(0x166)+_0x49d6ae['name']);const _0x633b57=this[_0x3cecdf(0x1a6)](),_0x3f9473=this[_0x3cecdf(0x151)](),_0xe02954=_0x356b7c[_0x3cecdf(0x301)](_0x633b57,{'useFullExample':_0x3fafab?.[_0x3cecdf(0x199)]}),_0x4cc830=_0x356b7c[_0x3cecdf(0x19b)](_0x633b57);return{'operation':_0x49d6ae,'operationInstance':_0x356b7c,'basicInfo':{'name':_0x49d6ae[_0x3cecdf(0xfb)],'displayName':_0x49d6ae['displayName'],'method':_0x49d6ae[_0x3cecdf(0x12e)],'path':_0x49d6ae[_0x3cecdf(0x23a)],'fullUrl':_0x49d6ae[_0x3cecdf(0x120)],'enabled':_0x49d6ae[_0x3cecdf(0x249)]},'sdkCall':{'datasetCode':this['datasetCode'],'datasetSDKKey':_0x633b57,'tableName':_0x3f9473,'operationName':_0x49d6ae['name'],'params':_0x49d6ae[_0x3cecdf(0x1c5)],'code':_0xe02954},'usageExample':_0x4cc830};}[a0_0x53bff1(0x23d)](_0x588a6c={}){const _0x395940=a0_0x53bff1,_0x1f9b37=this['getFilteredOperationAnalyses'](_0x588a6c),_0x1c4918=this[_0x395940(0x1d8)](),_0x443654=_0x1f9b37['map'](_0x244d28=>this[_0x395940(0x2f0)](_0x244d28['name']))['filter'](_0x1f2c8c=>_0x1f2c8c!==null),_0x502c61=this[_0x395940(0x1a6)](),_0x145487={'name':this[_0x395940(0xfb)],'code':this[_0x395940(0x1c8)],'tableName':this[_0x395940(0x151)](),'datasetSDKKey':_0x502c61,'tableKey':this[_0x395940(0x155)](),'source':this[_0x395940(0x2bc)],'fieldCount':_0x1c4918['fieldCount'],'businessFieldCount':_0x1c4918[_0x395940(0x2cd)],'systemFieldCount':_0x1c4918[_0x395940(0x212)],'operationCount':_0x1c4918[_0x395940(0x19d)],'enabledOperationCount':_0x443654[_0x395940(0x305)]};return{'title':this[_0x395940(0xfb)]+_0x395940(0x29c),'datasetInfo':_0x145487,'operations':_0x443654};}[a0_0x53bff1(0x2da)](_0x1bb725){const _0x2a6c8d=a0_0x53bff1,_0x42f095=[{'index':_0x2a6c8d(0xfb),'label':'接口名称'},{'index':_0x2a6c8d(0x193),'label':_0x2a6c8d(0x28e)},{'index':'method','label':'方法'},{'index':_0x2a6c8d(0x260),'label':_0x2a6c8d(0x294)},{'index':_0x2a6c8d(0x23a),'label':_0x2a6c8d(0x1cf)},{'index':_0x2a6c8d(0x2a2),'label':_0x2a6c8d(0x125)}],_0x306c5d=_0x1bb725['map'](_0xcc7e2f=>{const _0x41b51c=_0x2a6c8d,{basicInfo:_0x58f637,sdkCall:_0x3432e1}=_0xcc7e2f,_0x59b064=_0x3432e1[_0x41b51c(0x1dd)][_0x41b51c(0x254)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x41b51c(0x254)](/;$/,'');return{'displayName':_0x58f637[_0x41b51c(0x193)],'name':_0x58f637[_0x41b51c(0xfb)],'method':_0x58f637[_0x41b51c(0x12e)],'path':_0x58f637['path'],'sdkCall':_0x59b064,'sdkCallCode':_0x3432e1[_0x41b51c(0x1dd)]};});return{'tableColumns':_0x42f095,'tableData':_0x306c5d};}[a0_0x53bff1(0x221)](_0x11a163){const _0x334dc=a0_0x53bff1,_0x4f1478=this['getOperationAnalysis'](_0x11a163);if(!_0x4f1478)return null;return{'name':_0x4f1478[_0x334dc(0xfb)],'displayName':_0x4f1478[_0x334dc(0x193)],'type':_0x4f1478[_0x334dc(0x2ab)],'method':_0x4f1478['method'],'path':_0x4f1478[_0x334dc(0x23a)],'enabled':_0x4f1478[_0x334dc(0x249)],'requestFieldCount':_0x4f1478['requestFields']['length'],'hasResponseSchema':_0x4f1478[_0x334dc(0x1ed)]!==null};}[a0_0x53bff1(0x21e)](_0x3cbf0e={}){const _0x3308cc=a0_0x53bff1,_0x6269a9=this[_0x3308cc(0x179)](_0x3cbf0e);return{'datasetName':this[_0x3308cc(0xfb)],'datasetCode':this[_0x3308cc(0x1c8)],'tableName':this[_0x3308cc(0x151)](),'totalOperations':_0x6269a9['length'],'operations':_0x6269a9[_0x3308cc(0x1e1)](_0x3d8e87=>({'name':_0x3d8e87[_0x3308cc(0xfb)],'displayName':_0x3d8e87[_0x3308cc(0x193)],'type':_0x3d8e87[_0x3308cc(0x2ab)],'method':_0x3d8e87[_0x3308cc(0x12e)],'path':_0x3d8e87[_0x3308cc(0x23a)],'requestFieldCount':_0x3d8e87['requestFields'][_0x3308cc(0x305)]}))};}[a0_0x53bff1(0x2aa)](_0x907e81){const _0x5419de=a0_0x53bff1,_0x27f6fc={};return Object[_0x5419de(0x2d3)](_0x907e81)[_0x5419de(0x1b2)](([_0x2b1092,_0xbdb689])=>{Array['isArray'](_0xbdb689)&&_0xbdb689['length']>0x0?_0x27f6fc[_0x2b1092]=_0xbdb689[0x0]:_0x27f6fc[_0x2b1092]=_0xbdb689;}),_0x27f6fc;}[a0_0x53bff1(0x2c7)](){const _0x513c8f=a0_0x53bff1,_0x5565ff=this['getOperationAnalyses'](),_0x6e51ff=_0x5565ff[_0x513c8f(0x1ce)](_0x424018=>_0x424018['enabled']);return{'total':_0x5565ff[_0x513c8f(0x305)],'enabled':_0x6e51ff[_0x513c8f(0x305)],'disabled':_0x5565ff[_0x513c8f(0x305)]-_0x6e51ff[_0x513c8f(0x305)],'byType':this[_0x513c8f(0x285)](_0x6e51ff),'byMethod':this[_0x513c8f(0x206)](_0x6e51ff)};}[a0_0x53bff1(0x285)](_0x3e6568){const _0x43dbd3=a0_0x53bff1,_0x14cf79={};return _0x3e6568[_0x43dbd3(0x1b2)](_0x40b88b=>{const _0x357692=_0x43dbd3;_0x40b88b[_0x357692(0x2ab)]&&(_0x14cf79[_0x40b88b[_0x357692(0x2ab)]]=(_0x14cf79[_0x40b88b[_0x357692(0x2ab)]]||0x0)+0x1);}),_0x14cf79;}[a0_0x53bff1(0x206)](_0x1030fc){const _0x14dedf={};return _0x1030fc['forEach'](_0x147bda=>{const _0x12f078=a0_0x1dcc;_0x14dedf[_0x147bda['method']]=(_0x14dedf[_0x147bda[_0x12f078(0x12e)]]||0x0)+0x1;}),_0x14dedf;}[a0_0x53bff1(0x1f2)](){const _0x222293=a0_0x53bff1,_0x31b2c9=this['getEnabledOperationAnalyses'](),_0x5a5b1a=new Set(_0x31b2c9[_0x222293(0x1e1)](_0x24f3bc=>_0x24f3bc['type'])[_0x222293(0x1ce)](Boolean));return _0x5a5b1a[_0x222293(0x2f3)]('create')&&_0x5a5b1a[_0x222293(0x2f3)]('getList')&&_0x5a5b1a[_0x222293(0x2f3)](_0x222293(0xcd))&&_0x5a5b1a[_0x222293(0x2f3)](_0x222293(0x1e0));}[a0_0x53bff1(0x292)](){const _0x514403=a0_0x53bff1,_0x29ddaa=this['getEnabledOperationAnalyses'](),_0x5a2850=new Set(_0x29ddaa[_0x514403(0x1e1)](_0x2cf104=>_0x2cf104['type'])[_0x514403(0x1ce)](Boolean)),_0x5d1fee=[_0x514403(0x2f5),_0x514403(0xe1),'update','delete'];return _0x5d1fee['filter'](_0x3858cd=>!_0x5a2850[_0x514403(0x2f3)](_0x3858cd));}[a0_0x53bff1(0x16b)](_0x21ae21,_0x1cf5b1,_0x4cb17f){const _0x92fc8f=a0_0x53bff1,{includeRequestExample:includeRequestExample=!![],includeResponseExample:includeResponseExample=![],includeUsageExample:includeUsageExample=!![]}=_0x4cb17f||{},_0x424ca9=this['getOperationDocMeta'](_0x21ae21,{'useFullExample':includeRequestExample});if(!_0x424ca9)return null;let _0x3bad69='';_0x3bad69+='\x0a\x0a//\x20'+_0x424ca9[_0x92fc8f(0x19c)]['displayName']+_0x92fc8f(0x222)+_0x424ca9[_0x92fc8f(0x19c)][_0x92fc8f(0xfb)]+_0x92fc8f(0xfe)+_0x424ca9['sdkCall']['code'];if(includeResponseExample&&_0x424ca9[_0x92fc8f(0x19c)]['responseExample']?.[_0x92fc8f(0x2f1)]){const _0x347d98=typeof _0x424ca9['operation'][_0x92fc8f(0x2fd)][_0x92fc8f(0x2f1)]===_0x92fc8f(0x2e0)?_0x424ca9[_0x92fc8f(0x19c)][_0x92fc8f(0x2fd)][_0x92fc8f(0x2f1)]:JSON[_0x92fc8f(0x1aa)](_0x424ca9[_0x92fc8f(0x19c)][_0x92fc8f(0x2fd)][_0x92fc8f(0x2f1)],null,0x2);_0x3bad69+='\x0a\x0a//\x20'+_0x424ca9[_0x92fc8f(0x19c)][_0x92fc8f(0xfb)]+_0x92fc8f(0x10e)+_0x347d98;}return includeUsageExample&&_0x424ca9[_0x92fc8f(0x279)]&&(_0x3bad69+=_0x92fc8f(0x196)+_0x424ca9[_0x92fc8f(0x279)]['successCode']+'\x0a\x0a'+_0x424ca9['usageExample']['errorCode']),_0x3bad69;}[a0_0x53bff1(0x216)](_0x118f4a){const _0x350daa=a0_0x53bff1,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x118f4a||{},_0x229c0b=this[_0x350daa(0x19a)]();return _0x229c0b['map'](_0x286dd7=>this[_0x350daa(0x16b)](_0x286dd7[_0x350daa(0xfb)],this[_0x350daa(0x1c8)],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x350daa(0x2e8)]('\x0a');}[a0_0x53bff1(0x11e)](_0x117836){const _0x3ccd45=a0_0x53bff1,_0x4a4f45=this[_0x3ccd45(0x1a6)]();return{'appCode':_0x117836,'datasetSDKKey':_0x4a4f45,'tableKey':this[_0x3ccd45(0x155)](),'alias':this[_0x3ccd45(0x1c2)](),'tableName':this[_0x3ccd45(0x151)](),'datasetCode':this['datasetCode']};}[a0_0x53bff1(0x2a1)](_0x428942,_0x47ade3=a0_0x53bff1(0x239),_0x59d731=![]){const _0x42ee57=a0_0x53bff1,{alias:_0x27d316,tableName:_0x457b0d,datasetCode:_0x2527c2}=this[_0x42ee57(0x11e)](_0x428942),_0x2a49d3=_0x47ade3==='daily'?_0x42ee57(0xd7)+_0x47ade3+'\x27,':'',_0x2d8b8a=_0x59d731?_0x42ee57(0x1d5):'';return _0x42ee57(0xd5)+_0x428942+'\x27,'+_0x2d8b8a+_0x2a49d3+_0x42ee57(0x2be)+_0x457b0d+'\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27'+_0x2527c2+_0x42ee57(0x119)+_0x27d316+_0x42ee57(0x191)+_0x27d316+_0x42ee57(0x13d);}['generateAliasExplanation'](){const _0x2eb329=a0_0x53bff1,_0x455917=this[_0x2eb329(0x1a6)](),_0x5ca999=this['getModelAlias']();return _0x2eb329(0xfd)+_0x455917+_0x2eb329(0x12b)+_0x5ca999+_0x2eb329(0x13f);}[a0_0x53bff1(0x15f)](){const _0x3113de=a0_0x53bff1,_0x406a54=this['getOperationStats']();return'DrivenDataDetailPlus('+this[_0x3113de(0xfb)]+',\x20'+this[_0x3113de(0x1c8)]+',\x20'+this[_0x3113de(0x213)]()+_0x3113de(0x1b5)+_0x406a54['enabled']+'/'+_0x406a54[_0x3113de(0x131)]+'\x20operations)';}}var VERSION=a0_0x53bff1(0x19e);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_0x2d7fe0=a0_0x56ae;(function(_0x49b136,_0x220d65){const _0x5ee9c5=a0_0x56ae,_0x25f031=_0x49b136();while(!![]){try{const _0x51522d=parseInt(_0x5ee9c5(0x1e6))/0x1*(-parseInt(_0x5ee9c5(0x146))/0x2)+-parseInt(_0x5ee9c5(0x11c))/0x3+-parseInt(_0x5ee9c5(0x12a))/0x4+-parseInt(_0x5ee9c5(0x195))/0x5*(parseInt(_0x5ee9c5(0x2bd))/0x6)+parseInt(_0x5ee9c5(0x18a))/0x7*(-parseInt(_0x5ee9c5(0x136))/0x8)+-parseInt(_0x5ee9c5(0x126))/0x9*(parseInt(_0x5ee9c5(0x31b))/0xa)+parseInt(_0x5ee9c5(0x337))/0xb;if(_0x51522d===_0x220d65)break;else _0x25f031['push'](_0x25f031['shift']());}catch(_0x5db197){_0x25f031['push'](_0x25f031['shift']());}}}(a0_0x494a,0x89784));function toCamelCase(_0x3416a5){const _0x9f011c=a0_0x56ae;if(!_0x3416a5)return'';return _0x3416a5['split'](/[_-]/)[_0x9f011c(0x20b)]((_0x3fa3f9,_0x502cca)=>{const _0x4bfec2=_0x9f011c;if(_0x502cca===0x0)return _0x3fa3f9[_0x4bfec2(0x1a2)]();return _0x3fa3f9['charAt'](0x0)[_0x4bfec2(0x142)]()+_0x3fa3f9[_0x4bfec2(0x1ba)](0x1)['toLowerCase']();})['join']('');}function toPascalCase(_0x5c0919){const _0x172061=a0_0x56ae;if(!_0x5c0919)return'';const _0x4b669a=toCamelCase(_0x5c0919);return _0x4b669a[_0x172061(0x17d)](0x0)[_0x172061(0x142)]()+_0x4b669a[_0x172061(0x1ba)](0x1);}function toSnakeCase(_0xd6c8c7){const _0x389081=a0_0x56ae;if(!_0xd6c8c7)return'';return _0xd6c8c7[_0x389081(0x184)](/([A-Z])/g,_0x389081(0x28e))[_0x389081(0x1a2)]()['replace'](/^_/,'');}function toKebabCase(_0x25e2b6){const _0x4a5b34=a0_0x56ae;if(!_0x25e2b6)return'';return _0x25e2b6[_0x4a5b34(0x184)](/([A-Z])/g,_0x4a5b34(0x2e6))[_0x4a5b34(0x1a2)]()[_0x4a5b34(0x184)](/^-/,'');}function normalizeFieldName(_0x51104a){const _0x355cb4=a0_0x56ae;if(!_0x51104a)return'';return _0x51104a[_0x355cb4(0x26e)]()[_0x355cb4(0x184)](/\s+/g,'_')[_0x355cb4(0x184)](/[^a-zA-Z0-9_]/g,'_')[_0x355cb4(0x184)](/_+/g,'_')[_0x355cb4(0x184)](/^_|_$/g,'');}function getTableName(_0x33c2e4){const _0x5eedb3=a0_0x56ae;if(!_0x33c2e4)return _0x5eedb3(0x228);if(_0x33c2e4[_0x5eedb3(0x129)]?.[_0x5eedb3(0x23c)])return _0x33c2e4['dbtableConfig']['tableName'];const _0x11eb41=_0x33c2e4[_0x5eedb3(0x1bd)]||_0x33c2e4[_0x5eedb3(0x11d)]||_0x33c2e4[_0x5eedb3(0x30b)];if(_0x11eb41)return generateTableNameFromCode(_0x11eb41);return _0x5eedb3(0x228);}function getTableKey(_0x18bd1c){if(typeof _0x18bd1c==='string')return toCamelCase(_0x18bd1c);const _0x115994=getTableName(_0x18bd1c);return toCamelCase(_0x115994);}function generateTableNameFromCode(_0x243078){const _0xf16d42=a0_0x56ae;if(!_0x243078)return _0xf16d42(0x228);const _0x4f8f20=_0x243078[_0xf16d42(0x1ba)](-0x6)[_0xf16d42(0x116)](0x6,'0');return _0xf16d42(0x156)+_0x4f8f20;}function isVirtualTableName(_0x3384fd){const _0x105b12=a0_0x56ae;return/^dataset_[a-zA-Z0-9]{6}$/[_0x105b12(0x278)](_0x3384fd);}function generateModelKeyFromCode(_0x44a00f){const _0x1e6dba=a0_0x56ae;if(!_0x44a00f)return _0x1e6dba(0x16d);return'dataset_'+_0x44a00f;}function getDbName(_0x405c0c){const _0x24eb67=a0_0x56ae;return _0x405c0c[_0x24eb67(0x129)]?.[_0x24eb67(0x1b0)]||_0x405c0c[_0x24eb67(0x129)]?.[_0x24eb67(0x323)]?.[_0x24eb67(0x1b0)]||'';}function generateDatasetsConfig(_0x2dceef,_0xa33638={}){const _0x506c8a=a0_0x56ae,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x2e54e3,filter:_0x409580}=_0xa33638,_0x5e18b6=_0x409580?_0x2dceef[_0x506c8a(0x16c)](_0x409580):_0x2dceef,_0x248b7e=new Map();for(const _0x52e7ae of _0x5e18b6){const _0x5223a2=getTableName(_0x52e7ae),_0xbd58d0=getDbName(_0x52e7ae);!_0x248b7e[_0x506c8a(0x214)](_0x5223a2)&&_0x248b7e[_0x506c8a(0x18d)](_0x5223a2,new Set()),_0x248b7e[_0x506c8a(0x30f)](_0x5223a2)[_0x506c8a(0x2fa)](_0xbd58d0);}const _0x434697=new Set();for(const [_0x18d224,_0x559a15]of _0x248b7e){_0x559a15['size']>0x1&&_0x434697['add'](_0x18d224);}const _0x12020e={},_0x37db7a=new Set();for(const _0x13a1a5 of _0x5e18b6){const _0x4f2b7e=getTableName(_0x13a1a5);if(enableDeduplication&&_0x37db7a['has'](_0x4f2b7e)){console[_0x506c8a(0x235)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x4f2b7e+'\x22,数据集:\x20'+_0x13a1a5[_0x506c8a(0x14d)]+'\x20('+_0x13a1a5[_0x506c8a(0x1bd)]+')');continue;}_0x37db7a[_0x506c8a(0x2fa)](_0x4f2b7e);const _0x2d80d7=_0x2e54e3?_0x2e54e3(_0x4f2b7e,_0x13a1a5):getTableKey(_0x4f2b7e),_0x446b03=getDbName(_0x13a1a5),_0x456747=_0x434697[_0x506c8a(0x214)](_0x4f2b7e)&&_0x446b03?getTableKey(_0x446b03)+'_'+_0x2d80d7:_0x2d80d7;_0x12020e[_0x2d80d7]={'key':_0x2d80d7,'alias':_0x456747,'tableName':_0x4f2b7e,'datasetCode':_0x13a1a5[_0x506c8a(0x1bd)],'name':_0x13a1a5['name'],'id':_0x13a1a5['id'],'dbName':_0x446b03};}return _0x12020e;}function generateFullDatasetsConfig(_0x19edb8,_0x462d0a={}){const _0x1226ca=a0_0x56ae,{filter:_0x5b8a72,datasetNameGenerator:_0x391e1e}=_0x462d0a,_0x162ebf=_0x5b8a72?_0x19edb8[_0x1226ca(0x16c)](_0x5b8a72):_0x19edb8,_0x423e91=new Map();for(const _0x1d3ac9 of _0x162ebf){const _0x5aea2d=getTableName(_0x1d3ac9),_0x149d8e=getDbName(_0x1d3ac9);!_0x423e91[_0x1226ca(0x214)](_0x5aea2d)&&_0x423e91[_0x1226ca(0x18d)](_0x5aea2d,new Set()),_0x423e91[_0x1226ca(0x30f)](_0x5aea2d)[_0x1226ca(0x2fa)](_0x149d8e);}const _0x7d4ec6=new Set();for(const [_0xdfd444,_0x27924c]of _0x423e91){_0x27924c[_0x1226ca(0x135)]>0x1&&_0x7d4ec6[_0x1226ca(0x2fa)](_0xdfd444);}const _0x488dd9=groupByTableName(_0x162ebf),_0x241021={};for(const [_0xbf90e8,_0x58bbd8]of Object['entries'](_0x488dd9)){if(_0x58bbd8[_0x1226ca(0x26b)]===0x1){const _0x2f53b5=_0x58bbd8[0x0],_0x50ba27=_0x391e1e?_0x391e1e(_0xbf90e8,_0x2f53b5):getTableKey(_0xbf90e8),_0x1525f4=getDbName(_0x2f53b5),_0x5887cc=_0x7d4ec6[_0x1226ca(0x214)](_0xbf90e8)&&_0x1525f4?getTableKey(_0x1525f4)+'_'+_0x50ba27:_0x50ba27;_0x241021[_0x50ba27]={'key':_0x50ba27,'alias':_0x5887cc,'tableName':_0xbf90e8,'datasetCode':_0x2f53b5[_0x1226ca(0x1bd)],'name':_0x2f53b5[_0x1226ca(0x14d)],'id':_0x2f53b5['id'],'dbName':_0x1525f4};}else{const _0x466b36=[..._0x58bbd8][_0x1226ca(0x2f6)]((_0x33493f,_0x13bfb8)=>{const _0x226181=Number(_0x33493f['id'])||0x0,_0x1c6e71=Number(_0x13bfb8['id'])||0x0;return _0x1c6e71-_0x226181;});_0x466b36['forEach']((_0x659159,_0x258002)=>{const _0x4d9c2f=_0x1226ca,_0x1c6db1=_0x391e1e?_0x391e1e(_0xbf90e8,_0x659159):getTableKey(_0xbf90e8),_0x17e056=_0x258002===0x0?_0x1c6db1:_0x1c6db1+'_'+_0x258002,_0x40610e=getDbName(_0x659159),_0x256d46=_0x7d4ec6[_0x4d9c2f(0x214)](_0xbf90e8)&&_0x40610e?getTableKey(_0x40610e)+'_'+_0x17e056:_0x17e056;_0x241021[_0x17e056]={'key':_0x17e056,'alias':_0x256d46,'tableName':_0xbf90e8,'datasetCode':_0x659159['datasetCode'],'name':_0x659159[_0x4d9c2f(0x14d)],'id':_0x659159['id'],'dbName':_0x40610e};});}}return _0x241021;}function detectTableNameConflicts(_0x50ad36){const _0x50e4c1=a0_0x56ae,_0x33f75e={};for(const _0x354dad of _0x50ad36){const _0x689b5e=getTableName(_0x354dad);!_0x33f75e[_0x689b5e]&&(_0x33f75e[_0x689b5e]=[]),_0x33f75e[_0x689b5e][_0x50e4c1(0x32d)](_0x354dad);}const _0x236adf={};for(const [_0x22d7a1,_0x50cc75]of Object['entries'](_0x33f75e)){_0x50cc75[_0x50e4c1(0x26b)]>0x1&&(_0x236adf[_0x22d7a1]=_0x50cc75);}return{'hasConflicts':Object[_0x50e4c1(0x26d)](_0x236adf)[_0x50e4c1(0x26b)]>0x0,'conflicts':_0x236adf};}function createDatasetNameMap(_0x16428b){const _0x46eaf3=a0_0x56ae,_0x5a38a4={};for(const [_0x33e952,_0x29a4a6]of Object[_0x46eaf3(0x152)](_0x16428b)){_0x5a38a4[_0x33e952]=_0x29a4a6[_0x46eaf3(0x1bd)]||'';}return _0x5a38a4;}function groupByTableName(_0x5272b3){const _0x42d73b=a0_0x56ae,_0x37ef34={};for(const _0x2c2144 of _0x5272b3){const _0x2adac4=getTableName(_0x2c2144);!_0x37ef34[_0x2adac4]&&(_0x37ef34[_0x2adac4]=[]),_0x37ef34[_0x2adac4][_0x42d73b(0x32d)](_0x2c2144);}return _0x37ef34;}function datasetsConfigToArray(_0x1a0a69){const _0x3cb05b=a0_0x56ae;return Object[_0x3cb05b(0x2a4)](_0x1a0a69);}function adaptDrivenDataDetail(_0x160022){const _0x2cda14=a0_0x56ae;return{'id':_0x160022[_0x2cda14(0x237)],'name':_0x160022['name'],'datasetCode':_0x160022[_0x2cda14(0x30b)],'dbtableConfig':_0x160022[_0x2cda14(0x129)],'source':_0x160022[_0x2cda14(0x227)],'version':_0x160022[_0x2cda14(0x144)],'extend':_0x160022[_0x2cda14(0x13a)],'properties':_0x160022['properties'],'operations':_0x160022[_0x2cda14(0x1d7)]};}function adaptDrivenDataDetails(_0x221228){const _0x2c2e69=a0_0x56ae;return _0x221228[_0x2c2e69(0x20b)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x4b4288){const _0x12d84c=a0_0x56ae;if(!_0x4b4288['success']||!_0x4b4288['data'])throw new Error('获取数据集失败:\x20'+(_0x4b4288['errorMsg']||_0x4b4288[_0x12d84c(0x32a)]));return adaptDrivenDataDetail(_0x4b4288['data']);}function extractDatasetsFromListResponse(_0x562d22){const _0x12f689=a0_0x56ae;if(!_0x562d22[_0x12f689(0x255)]||!_0x562d22[_0x12f689(0x2a7)]?.[_0x12f689(0x19d)])throw new Error(_0x12f689(0x282)+(_0x562d22['errorMsg']||_0x562d22['msg']));return _0x562d22[_0x12f689(0x2a7)][_0x12f689(0x19d)][_0x12f689(0x20b)](_0x509566=>({..._0x509566,'datasetCode':_0x509566[_0x12f689(0x11d)]||_0x509566[_0x12f689(0x1bd)]}));}function isDrivenDataDetail(_0x201dc2){const _0x1d9b54=a0_0x56ae;return Boolean(_0x201dc2&&typeof _0x201dc2[_0x1d9b54(0x30b)]===_0x1d9b54(0x132));}function smartAdapt(_0x5602be){const _0x463bff=a0_0x56ae;if(isDrivenDataDetail(_0x5602be))return adaptDrivenDataDetail(_0x5602be);if(_0x5602be[_0x463bff(0x1bd)])return _0x5602be;if(_0x5602be['code'])return{..._0x5602be,'datasetCode':_0x5602be[_0x463bff(0x11d)]};return _0x5602be;}var DatasetOperationType;(_0x2e3c70=>{const _0x36ad2c=a0_0x56ae;_0x2e3c70[_0x36ad2c(0x319)]=_0x36ad2c(0x2ab),_0x2e3c70['GET_ONE']=_0x36ad2c(0x14c),_0x2e3c70[_0x36ad2c(0x113)]=_0x36ad2c(0x16e),_0x2e3c70[_0x36ad2c(0x203)]=_0x36ad2c(0x1fc),_0x2e3c70[_0x36ad2c(0x2f1)]=_0x36ad2c(0x2e5),_0x2e3c70[_0x36ad2c(0x30e)]=_0x36ad2c(0x20f),_0x2e3c70[_0x36ad2c(0x29a)]=_0x36ad2c(0x194),_0x2e3c70[_0x36ad2c(0x262)]='getSelectOptions',_0x2e3c70[_0x36ad2c(0x2f8)]=_0x36ad2c(0x139),_0x2e3c70[_0x36ad2c(0x271)]=_0x36ad2c(0x2ae),_0x2e3c70[_0x36ad2c(0x1d1)]=_0x36ad2c(0x318),_0x2e3c70[_0x36ad2c(0x17c)]=_0x36ad2c(0x295),_0x2e3c70['CREATE_EXPORT']=_0x36ad2c(0x23e),_0x2e3c70['TASK_INFO']=_0x36ad2c(0x1c0),_0x2e3c70[_0x36ad2c(0x111)]=_0x36ad2c(0x149);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x2d7fe0(0x2ab)]:a0_0x2d7fe0(0x1f3),[a0_0x2d7fe0(0x14c)]:a0_0x2d7fe0(0x11b),['getOneOrigin']:a0_0x2d7fe0(0x1dd),[a0_0x2d7fe0(0x1fc)]:a0_0x2d7fe0(0x260),['create']:'创建',[a0_0x2d7fe0(0x20f)]:'更新',[a0_0x2d7fe0(0x194)]:'删除',['getSelectOptions']:a0_0x2d7fe0(0x25e),['getFileUrl']:a0_0x2d7fe0(0x22d),[a0_0x2d7fe0(0x2ae)]:a0_0x2d7fe0(0x33b),[a0_0x2d7fe0(0x318)]:'获取上传脚本',[a0_0x2d7fe0(0x295)]:'创建导入',[a0_0x2d7fe0(0x23e)]:a0_0x2d7fe0(0x234),[a0_0x2d7fe0(0x1c0)]:a0_0x2d7fe0(0x205),[a0_0x2d7fe0(0x149)]:a0_0x2d7fe0(0x151)},API_BLACKLIST=[a0_0x2d7fe0(0x2ab),a0_0x2d7fe0(0x16e),a0_0x2d7fe0(0x1fc),a0_0x2d7fe0(0x139)];function a0_0x494a(){const _0x3bdb47=['[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','getConflictStats','where','获取文件URL','getModelAlias','DbtableConfig(table:\x20','context','method','();','createTime','创建导出','warn','requestBody','modelId','\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,','\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27','getSystemAnalysisResult','<p>富文本内容</p>','tableName','hasTableName','createExport','\x20groups)','(id,\x20data);','keyword','createAll','withDeleted','host','getFieldOptions','getEnabledOperationAnalyses','getEnumMeta','_sum','getDatabaseType','getFieldsWithDeleted','valueLabels','createDate','getOperationCountByMethod','generateSDKCallCode','tooltip','getOperations','DatasetItem(','detectConflicts','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','Object','success','\x0a\x0a//\x20','properties','toFullConfig','要更新的字段数据对象','path','当前页码(可选)','includeDeleted','status','获取下拉选项','creatorNameField','查询单条(用于更新)','hasCreateTimeField','GET_SELECT_OPTIONS','getPrimaryKeys','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','hasConflict','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','select','daily','DESC','getOperationAnalyses','length','getAllFieldsArray','keys','trim','hasFilterOperation','/filter','EXCEL_EXPORT','getPrimaryKeyFields','useFullExample','getModelName','groups','({\x20code,\x20label\x20});','includeDisabled','test','parseRawResponseBody','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getOperationFieldsOperatorsMap','getFieldList','字段编码','required','聚合函数配置数组','isMultipleSelect','findByCode','获取数据集列表失败:\x20','generateAliasExplanation','now','getEnabledNames','DatasetGroup(','getBusiness','getFieldListWithDeleted','query','isUpdateTime','toConfigArray','0000','fieldName','_$1','parse','getAt','generateUsageExample','substring','getType',',\x20...\x20});','createImport','getCreateTime','_max','getOldest','\x20API\x20文档','DELETE','field_name','deleted','\x20fields,\x20','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','null','getConflicts','\x20items,\x20conflict,\x20latest:\x20','number','-\x20`','values','DATE','getTooltip','data','getApplicableOperators','getRequestParamsDocInfo','getDefaultValue','getList','\x20Response\x20example:\x0a','currentPage','excelExport','解析\x20requestBody\x20失败:','$in','INTEGER','getOperationOperators','businessFieldCount','fullUrl','defaultValue','_raw','isOperationEnabled','hasCreatorIdField','systemRetain','createTimeField','max','getDisplayName','6tJOrCz','isEmpty','getBusinessFields','\x0a//\x20Call\x20the\x20','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','parseFieldExtend','stringify','getLatest','count','getCountByMethod','BIGINT','dbId','generateFromSchema','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','接口名称','getConflictingItems','查询条件(支持\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)','dbVersion','getDisabledNames','getEnumMetas','no\x20conflicts','getFieldsByType','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','appCode','(params);','完整的\x20SDK\x20调用代码','customFilter','toConfig','raw','primaryKey','usageExample','update\x20接口接受两个参数:\x0a','const\x20fileUrl\x20=\x20await\x20client.models.','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','options','当前页码','items','getField','getRequestParams','isAutoIncrement','create','-$1','generateAllOperationsSummary','getResponseSchema','isRequired','字段名称','getEnumFieldMeta','isDeleted','getIds','Array','hasDblinkInfo','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','CREATE','getDeleted','$contain','这是一段较长的文本内容示例','isArray','sort','update\x20接口接受两个参数:\x0a\x0a','GET_FILE_URL','const\x20result\x20=\x20await\x20client.models.','add','getSource','isEnum','Object[]','generateSingleValueExample','pageSize','getFieldOperators','allFields','hasConflicts','getPath','find','getDisabled','每页数量','getNames','Number','empty','toObject','modelCode','modifyDate','_operations','UPDATE','get','_operationAnalyses','\x20items,\x20','北京市朝阳区','updateTimeField','\x20operations)','请求示例','[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:','getOperationDocMeta','getUploadFileScript','GET_LIST','generateSDKInitCode','503210eZYpMv','getEnum','lastIndexOf','getAutoIncrement','getExtendField','groupByTableName','modifierIdField','datasetKey','dblinkInfoDTO','responseBody','_fieldListWithDeleted','[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:','[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array','CHECKBOX','DATETIME','msg','支持单值或数组','DrivenDataDetail(','push','getFullUrl','errorCode','\x0a##\x20模型访问方式说明\x0a\x0aSDK\x20提供两种模型访问方式:\x0a\x0a###\x201.\x20标准方式(推荐用于程序化场景)\x0a\x0a使用\x20`dataset_[完整datasetCode]`\x20格式(即\x20datasetSDKKey),这是通用的、稳定的访问方式:\x0a\x0a```javascript\x0a//\x20标准访问方式\x0aconst\x20result\x20=\x20await\x20client.models.','解析\x20responseBody\x20失败:','getOperationStats','getLast','alias','文件上传','getMethod','33860651krHFRr','$and','generateOperationSummary','getFieldDefinition','Excel导出','\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregate`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20{\x20columnName:\x20string,\x20condition:\x20WhereCondition\x20}[];\x20//\x20分组过滤条件(可选,不设置则不分组)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20column:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**可用聚合字段**\x0a','getRequired','total','all','getAggregates','getOperationsOverviewData','isPrimaryKeyField','sortNum','getRealTables','item1','IMPORT_TEMPLATE','pkField','GET_ONE_ORIGIN','主键ID(必填)','getSelectItemsSource','padStart','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','join','findById','查询单个条件','查询单条','3194838ThjonJ','code','requestFields','VARCHAR','_fields','systemAnalysisResult','getSDKInitData','sortOperationsWithFilterFirst','fields','supportsCRUD','9RRZjaU','generateRequestAllExamples','isNumericField','dbtableConfig','354756clEMtX','getDatasetDocMeta','getEnumOptions','BOOL','generateResponseExample','selectBestOperator','13800138000','generateExampleValue','string','toListItem','_requestExampleCache','size','24rAJgmh','$lte','$endWith','getFileUrl','extend','logicField','\x20的\x20extend\x20配置失败:','filterBlacklist','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','getAllDatasets','getCount','params','toUpperCase','has\x20conflicts','version','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','10gvGdal','isSystemField','getRaw','importTemplate','getTenantCode','$gteq','getOne','name','parseRawRequestBody','getFieldSelectItemsSource','getFilterOperators','导入模板','entries','getOperation','generateConfig',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','dataset_','tenantCode','getItems','email','(id,\x20','\x20groups,\x20','getUpdatableFields','findAll','modifierNameField','getFilteredOperationAnalyses','-\x20主键ID,用于定位要更新的记录\x0a\x0a','some','hasModifierIdField','String[]','hasLogicField','getOperationAnalysesByType','更新请求示例','toArray','STRING','findByTableName','getTableKey','getEnumFieldsMeta','filter','dataset_unknown','getOneOrigin','toString','getOperationCountByType','每页数量(可选)','getRequiredFields','getUpdateTime','total_count','DatasetList(','$ne','getAppCode','creatorIdField','placeholder','hasField','dbType','CREATE_IMPORT','charAt','getFilterOperation','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','generateFieldExample','getOperationFieldOperators','getStats','getSelectOptions','replace','200','sdkCall','online','prefix','generateRequestExample','1850513IStjcM','labelField','responseExample','set','iterator','示例值','selectItemsSource','getLatestDatasets','split','getOperationList','delete','1628810yFRPWz','TIMESTAMP','isVirtualTable','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','operation','系统自动生成','getFieldFilterOperators','value1','tableData','includes','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','datasetMap','N/A','toLowerCase','getEnabledOperationInstances','API路径','getFieldInstance','aggregate','getEnabled','getDatasetSDKKey','\x0a\x20\x20env:\x20\x27','_fieldList','generateConfigArray','initDataset','responseSchema','富文本','_datasetMap','dbName','value2','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','getName','(支持单值或数组)','$startWith','orderBy','getEnabledOperations','generateFullSDKExample','slice','示例文本','返回字段列表(字段投影)','datasetCode','hasUpdateTimeField','isBusiness','taskInfo','DatasetGroupMap(','fieldCount','$lteq','getActive','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','updateTime','getUpdateFields','getAll','displayName','RADIO','isEnabled','getOperationAnalysis','getDatabaseVersion','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','repeat','GET_UPLOAD_FILE_SCRIPT','.filter({...});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会产生命名冲突\x0a-\x20适合程序自动生成代码\x0a-\x20与\x20datasetCode\x20直接对应,便于追溯\x0a\x0a###\x202.\x20别名方式(推荐用于人工编码场景)\x0a\x0a使用\x20camelCase\x20格式的别名,更加人类友好:\x0a\x0a```javascript\x0a//\x20别名访问方式(需要在\x20registerModels\x20时配置\x20alias)\x0aconst\x20result\x20=\x20await\x20client.models.','toJSON','isCreateTime','phone','BOOLEAN','operations','sum','multiple','getOperationRequestFields','.filter({...});\x0a```\x0a\x0a**优点**:\x0a-\x20可读性强,符合编程命名习惯\x0a-\x20便于记忆和手工编写\x0a-\x20代码更加简洁美观\x0a\x0a**注意**:使用别名方式需要在\x20`registerModels`\x20时配置\x20`alias`\x20字段。\x0a','getAllFieldsString','查询单条(原始)','支持多个条件','长文本','下拉选择','avg','TEXT','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','value','(id);','38474qBBDJw','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','findByName','enabled','from','type','[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getSystemFields','groupByType','every','$gte','forEach','object','查询列表','getDbName','getRequestFields','getSystem','$or','getTableName','getCountByType','NUMBER','getFiltered','getOneUpdate','操作成功','String','$eq','min','DECIMAL','label','GET_ONE_UPDATE','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','任务信息','(...);\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}','_operationList','array','\x27\x20\x20//\x20人类友好的别名,可通过\x20client.models.','successCode','map','isSystem','getMissingCRUDOperations','getOperationCount','update','getFieldCount','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27','SELECT','isRequiredField','has','JSON','validateEnumValue','autoIncrement','1.0.0-beta.8','description','2024-12-31','getFields','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','isPrimaryKey','Invalid\x20API\x20response:\x20success\x20is\x20false','getOperators','2024-01-01','getEnumFields','children','_extend','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','https://example.com/file.pdf','generateDefaultFilterOperation','source','dataset_000000','getFirst'];a0_0x494a=function(){return _0x3bdb47;};return a0_0x494a();}function parseFieldExtend(_0x10b36f){const _0x2add86=a0_0x2d7fe0;if(!_0x10b36f||typeof _0x10b36f!==_0x2add86(0x1f2))return!![]&&console[_0x2add86(0x235)]('[parseFieldExtend]\x20Invalid\x20field:',_0x10b36f),{};if(!_0x10b36f['extend'])return{};try{const _0x2cce4c=typeof _0x10b36f[_0x2add86(0x13a)]===_0x2add86(0x132)?JSON[_0x2add86(0x28f)](_0x10b36f[_0x2add86(0x13a)]):_0x10b36f[_0x2add86(0x13a)];if(typeof _0x2cce4c!==_0x2add86(0x1f2)||_0x2cce4c===null)return{};return _0x2cce4c;}catch{return{};}}function a0_0x56ae(_0x54c0d6,_0x462300){const _0x494a54=a0_0x494a();return a0_0x56ae=function(_0x56ae50,_0x2b1ce7){_0x56ae50=_0x56ae50-0x10a;let _0xeb3608=_0x494a54[_0x56ae50];return _0xeb3608;},a0_0x56ae(_0x54c0d6,_0x462300);}function isPrimaryKeyField(_0x153273,_0x3cd2ad){const _0x33be9a=a0_0x2d7fe0;if(!_0x153273||typeof _0x153273!==_0x33be9a(0x1f2))return![];if(typeof _0x3cd2ad===_0x33be9a(0x132)&&_0x153273[_0x33be9a(0x11d)]===_0x3cd2ad)return!![];const _0x47d91f=parseFieldExtend(_0x153273);return Boolean(_0x47d91f['primaryKey']||_0x47d91f[_0x33be9a(0x112)]);}function isSystemField(_0x32f48c){const _0x94321f=a0_0x2d7fe0,_0x4181e4=parseFieldExtend(_0x32f48c);return Boolean(_0x4181e4[_0x94321f(0x2b9)]);}function isRequiredField(_0x18d67f){const _0x1c8e5c=parseFieldExtend(_0x18d67f);return Boolean(_0x1c8e5c['required']);}function isAutoIncrementField(_0x880954){const _0x39eefe=parseFieldExtend(_0x880954);return Boolean(_0x39eefe['autoIncrement']);}function isCreateTimeField(_0x4dd890){const _0x41fa26=a0_0x2d7fe0,_0x4eaadf=parseFieldExtend(_0x4dd890);return Boolean(_0x4eaadf[_0x41fa26(0x24c)]);}function isModifyTimeField(_0x5a25f6){const _0x314619=a0_0x2d7fe0,_0xbe2e09=parseFieldExtend(_0x5a25f6);return Boolean(_0xbe2e09[_0x314619(0x30c)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':a0_0x2d7fe0(0x1df),'DATE':'日期','DATETIME':'日期时间','TIMESTAMP':'时间戳','SELECT':a0_0x2d7fe0(0x1e0),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0x2d7fe0(0x335),'IMAGE':'图片','RICH_TEXT':a0_0x2d7fe0(0x1ae),'JSON':a0_0x2d7fe0(0x215),'ARRAY':'数组'};function getDbTypeDisplay(_0x3d3d79){const _0x1c1ae0=a0_0x2d7fe0;if(typeof _0x3d3d79!==_0x1c1ae0(0x132))return!![]&&console[_0x1c1ae0(0x235)](_0x1c1ae0(0x253),_0x3d3d79),String(_0x3d3d79||'-');return DB_TYPE_DISPLAY_MAP[_0x3d3d79]||_0x3d3d79;}function formatDbType(_0x462f45,_0x3e3707){const _0x2a27de=a0_0x2d7fe0;if(!_0x462f45||typeof _0x462f45!=='string')return'-';if(!_0x3e3707||typeof _0x3e3707!==_0x2a27de(0x2a2))return _0x462f45;const _0x2834a9=['TEXT',_0x2a27de(0x329),'TIMESTAMP',_0x2a27de(0x2a5)];if(_0x2834a9[_0x2a27de(0x19e)](_0x462f45[_0x2a27de(0x142)]()))return _0x462f45;return _0x462f45+'('+_0x3e3707+')';}function parseOperationType(_0xbc603d){const _0x590ea2=a0_0x2d7fe0;if(typeof _0xbc603d!=='string'){!![]&&console[_0x590ea2(0x235)]('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0xbc603d);return;}if(Object[_0x590ea2(0x2a4)](DatasetOperationType)[_0x590ea2(0x19e)](_0xbc603d))return _0xbc603d;const _0x558086=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)[_0x590ea2(0x304)](([_0x47ec07,_0x10a022])=>_0x10a022===_0xbc603d);return _0x558086?_0x558086[0x0]:undefined;}function shouldIncludeField(_0x1083f5,_0x4b6a56,_0x5a9776){const _0x214cde=a0_0x2d7fe0,_0x139fb2=parseFieldExtend(_0x1083f5),_0x14e8db=isPrimaryKeyField(_0x1083f5,_0x5a9776),_0x3d4f6a=Boolean(_0x139fb2['systemRetain']),_0x3a46ef=Boolean(_0x139fb2[_0x214cde(0x217)]),_0x4b7b72=Boolean(_0x139fb2[_0x214cde(0x24c)]),_0x884ccb=Boolean(_0x139fb2[_0x214cde(0x30c)]);switch(_0x4b6a56){case _0x214cde(0x2ab):return!![];case'getOne':case _0x214cde(0x16e):case _0x214cde(0x194):return _0x14e8db;case _0x214cde(0x2e5):if(_0x14e8db&&_0x3a46ef)return![];if(_0x3d4f6a)return![];if(_0x4b7b72||_0x884ccb)return![];return!![];case _0x214cde(0x20f):case _0x214cde(0x1fc):if(_0x14e8db)return!![];if(_0x3d4f6a)return![];if(_0x4b7b72||_0x884ccb)return![];return!![];case _0x214cde(0x183):return _0x1083f5[_0x214cde(0x11d)]===_0x214cde(0x11d);default:return!![];}}function getFieldsForOperation(_0x4e685e,_0x450597,_0x2a2c78){const _0x353dde=a0_0x2d7fe0;if(!Array['isArray'](_0x4e685e))return!![]&&console[_0x353dde(0x235)](_0x353dde(0x1b2),_0x4e685e),[];return _0x4e685e[_0x353dde(0x16c)](_0x14a926=>shouldIncludeField(_0x14a926,_0x450597,_0x2a2c78));}function isApiBlacklisted(_0x1027b5){const _0x20d980=a0_0x2d7fe0;if(typeof _0x1027b5!=='string')return!![]&&console[_0x20d980(0x235)]('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0x1027b5),![];return API_BLACKLIST[_0x20d980(0x19e)](_0x1027b5);}function filterApiOperations(_0x3d21ea){const _0x4dc4bf=a0_0x2d7fe0;if(!Array['isArray'](_0x3d21ea))return!![]&&console[_0x4dc4bf(0x235)](_0x4dc4bf(0x224),_0x3d21ea),[];return _0x3d21ea['filter'](_0x2d173b=>_0x2d173b&&typeof _0x2d173b==='object'&&!isApiBlacklisted(_0x2d173b[_0x4dc4bf(0x14d)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x2d7fe0(0x284)](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x7e6e87})=>{const _0x34e3dc=a0_0x2d7fe0;if(_0x7e6e87?.[_0x34e3dc(0x2df)]&&Array[_0x34e3dc(0x2f5)](_0x7e6e87['options'])&&_0x7e6e87[_0x34e3dc(0x2df)][_0x34e3dc(0x26b)]>0x0)return _0x7e6e87[_0x34e3dc(0x2df)][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x407f93})=>{const _0x33e6ed=a0_0x2d7fe0;if(_0x407f93===_0x33e6ed(0x2ad))return 0x1;if(_0x407f93===_0x33e6ed(0x2ff))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x5cd7d6})=>{const _0x4599a0=a0_0x2d7fe0;if(_0x5cd7d6&&typeof _0x5cd7d6===_0x4599a0(0x132)){const _0xdd1a9f=_0x5cd7d6[_0x4599a0(0x1a2)]();if(_0xdd1a9f[_0x4599a0(0x19e)]('邮箱')||_0xdd1a9f[_0x4599a0(0x19e)](_0x4599a0(0x159)))return'user@example.com';if(_0xdd1a9f[_0x4599a0(0x19e)]('电话')||_0xdd1a9f[_0x4599a0(0x19e)]('手机')||_0xdd1a9f[_0x4599a0(0x19e)](_0x4599a0(0x1d5)))return _0x4599a0(0x130);if(_0xdd1a9f[_0x4599a0(0x19e)]('地址')||_0xdd1a9f[_0x4599a0(0x19e)]('address'))return _0x4599a0(0x312);if(_0xdd1a9f[_0x4599a0(0x19e)]('姓名')||_0xdd1a9f['includes']('name'))return'张三';}return _0x4599a0(0x1bb);},'VARCHAR':({description:_0x4d852c})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x4d852c}),'CHAR':({description:_0x16ceaf})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x16ceaf}),'STRING':({fieldInfo:_0x51accc,description:_0x22aa92})=>{const _0x3b5682=a0_0x2d7fe0;if(_0x51accc?.[_0x3b5682(0x179)]&&typeof _0x51accc[_0x3b5682(0x179)]===_0x3b5682(0x132)&&_0x51accc[_0x3b5682(0x179)]!==_0x3b5682(0x19a))return _0x51accc[_0x3b5682(0x179)]['replace'](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS['TEXT']({'description':_0x22aa92});},'TEXTAREA':()=>a0_0x2d7fe0(0x2f4),'LONGTEXT':()=>a0_0x2d7fe0(0x2f4),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x2d7fe0(0x1e4)}),'ARRAY':()=>[a0_0x2d7fe0(0x110),'item2'],'UPLOAD':()=>a0_0x2d7fe0(0x225),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0x2d7fe0(0x23b)};function generateExampleValue(_0xfdbd8e,_0x5a834e,_0x4cf3cc,_0x35cfd6={}){const _0x3926d2=a0_0x2d7fe0;typeof _0xfdbd8e!==_0x3926d2(0x132)&&(!![]&&console[_0x3926d2(0x235)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0xfdbd8e),_0xfdbd8e=String(_0xfdbd8e||''));if(typeof _0x5a834e!=='string')return!![]&&console[_0x3926d2(0x235)](_0x3926d2(0x2f0),_0x5a834e),_0x3926d2(0x18f);const {isPrimaryKey:_0x451ed6,dbtableConfig:_0x4e5398}=_0x35cfd6;if(_0x451ed6)return 0x1;if(_0x4e5398&&typeof _0x4e5398===_0x3926d2(0x1f2)){const _0x2bfe2e=_0x4e5398['createTimeField']?.[_0x3926d2(0x28d)]===_0xfdbd8e,_0xbe3efc=_0x4e5398[_0x3926d2(0x313)]?.[_0x3926d2(0x28d)]===_0xfdbd8e;if(_0x2bfe2e||_0xbe3efc){if(_0x4cf3cc&&typeof _0x4cf3cc===_0x3926d2(0x132)&&_0x4cf3cc[_0x3926d2(0x142)]()[_0x3926d2(0x19e)](_0x3926d2(0x196)))return Date[_0x3926d2(0x284)]();return new Date()['toISOString']()[_0x3926d2(0x184)]('T','\x20')['split']('.')[0x0];}}const _0x3fe99b={..._0x35cfd6,'fieldCode':_0xfdbd8e};if(_0x4cf3cc&&typeof _0x4cf3cc===_0x3926d2(0x132)){const _0xda484e=_0x4cf3cc[_0x3926d2(0x142)](),_0x38b0e3=TYPE_VALUE_GENERATORS[_0xda484e];if(_0x38b0e3)return _0x38b0e3(_0x3fe99b);}if(_0x5a834e&&typeof _0x5a834e===_0x3926d2(0x132)){const _0x535f67=_0x5a834e[_0x3926d2(0x142)](),_0x68ec96=TYPE_VALUE_GENERATORS[_0x535f67];if(_0x68ec96)return _0x68ec96(_0x3fe99b);}return _0x3926d2(0x18f);}function generateExampleFromSchema(_0x495977,_0x33477a){const _0x112135=a0_0x2d7fe0;if(!_0x495977||typeof _0x495977!==_0x112135(0x1f2))return{};if(Array[_0x112135(0x2f5)](_0x495977)){if(_0x495977[_0x112135(0x26b)]>0x0)return[generateExampleFromSchema(_0x495977[0x0],_0x33477a)];return[];}const _0x5cbf5b={};return Object[_0x112135(0x26d)](_0x495977)[_0x112135(0x1f1)](_0x45b1b6=>{const _0x55db3c=_0x112135,_0xbb946e=_0x495977[_0x45b1b6];if(_0xbb946e&&typeof _0xbb946e===_0x55db3c(0x1f2)&&!Array[_0x55db3c(0x2f5)](_0xbb946e)&&_0xbb946e[_0x55db3c(0x1eb)]){const _0x105893=_0xbb946e,_0x308fe9=_0x105893[_0x55db3c(0x1eb)],_0x4ad3cd=_0x105893['description'];typeof _0x308fe9===_0x55db3c(0x132)?_0x5cbf5b[_0x45b1b6]=generateExampleValue(_0x45b1b6,_0x308fe9,undefined,{'description':_0x4ad3cd,'dbtableConfig':_0x33477a}):_0x5cbf5b[_0x45b1b6]=_0x55db3c(0x18f);}else{if(Array[_0x55db3c(0x2f5)](_0xbb946e))_0x5cbf5b[_0x45b1b6]=_0xbb946e[_0x55db3c(0x26b)]>0x0?[generateExampleFromSchema(_0xbb946e[0x0],_0x33477a)]:[];else _0xbb946e&&typeof _0xbb946e===_0x55db3c(0x1f2)?_0x5cbf5b[_0x45b1b6]=generateExampleFromSchema(_0xbb946e,_0x33477a):_0x5cbf5b[_0x45b1b6]=_0xbb946e;}}),_0x5cbf5b;}function parseRequestBody(_0x40e7a1){const _0x29a4f5=a0_0x2d7fe0;if(!_0x40e7a1)return{};try{return JSON['parse'](_0x40e7a1);}catch(_0x6a1537){return!![]&&console[_0x29a4f5(0x235)](_0x29a4f5(0x2af),_0x6a1537),{};}}function parseResponseBody(_0x53c6f6){const _0x12164f=a0_0x2d7fe0;if(!_0x53c6f6)return null;try{const _0xeaf41c=JSON['parse'](_0x53c6f6);return _0xeaf41c[_0x12164f(0x185)]||_0xeaf41c;}catch(_0x491d24){return!![]&&console[_0x12164f(0x235)](_0x12164f(0x331),_0x491d24),null;}}function generateRequestExample(_0x3e7750,_0x6fbfa6,_0x372c85,_0x2748b6){const _0x25c471=a0_0x2d7fe0,_0x3f6aad={};if(!Array[_0x25c471(0x2f5)](_0x3e7750))return!![]&&console[_0x25c471(0x235)](_0x25c471(0x22a),_0x3e7750),_0x3f6aad;return _0x3e7750[_0x25c471(0x1f1)](_0x55bf94=>{const _0x1f779c=_0x25c471;if(!_0x55bf94||typeof _0x55bf94!=='object'){!![]&&console[_0x1f779c(0x235)]('[generateRequestExample]\x20Invalid\x20field:',_0x55bf94);return;}if(typeof _0x55bf94[_0x1f779c(0x11d)]!=='string'||typeof _0x55bf94[_0x1f779c(0x1eb)]!==_0x1f779c(0x132)){!![]&&console[_0x1f779c(0x235)]('[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:',_0x55bf94);return;}const _0xd399e4=parseFieldExtend(_0x55bf94),_0x4140f0=_0x55bf94[_0x1f779c(0x11d)]===_0x372c85||Boolean(_0xd399e4?.[_0x1f779c(0x2da)]),_0x360cf2=generateExampleValue(_0x55bf94[_0x1f779c(0x11d)],_0x55bf94['type'],typeof _0x55bf94['dbType']===_0x1f779c(0x132)?_0x55bf94[_0x1f779c(0x17b)]:undefined,{'fieldInfo':_0xd399e4,'isPrimaryKey':_0x4140f0,'description':_0x55bf94[_0x1f779c(0x219)]||_0x55bf94['name'],'dbtableConfig':_0x2748b6});_0x3f6aad[_0x55bf94[_0x1f779c(0x11d)]]=_0x360cf2;}),_0x6fbfa6===_0x25c471(0x2ab)&&(_0x3f6aad[_0x25c471(0x2ad)]=0x1,_0x3f6aad[_0x25c471(0x2ff)]=0xa),_0x3f6aad;}function formatEnumValue(_0xf27ab0,_0x436725){const _0x136254=a0_0x2d7fe0;if(_0xf27ab0['multiple']&&Array[_0x136254(0x2f5)](_0x436725))return _0x436725[_0x136254(0x20b)](_0x5928b1=>_0xf27ab0[_0x136254(0x24b)][String(_0x5928b1)]||String(_0x5928b1))[_0x136254(0x118)](',\x20');return _0xf27ab0[_0x136254(0x24b)][String(_0x436725)]||String(_0x436725);}function formatOptionsForDoc(_0x4fd332){const _0x3e8298=a0_0x2d7fe0;return _0x4fd332[_0x3e8298(0x20b)](_0x53973b=>_0x53973b[_0x3e8298(0x1e4)]+'('+_0x53973b[_0x3e8298(0x202)]+')')[_0x3e8298(0x118)](',\x20');}function formatOptionsAsMarkdownList(_0x36ee3e,_0x388c4a=0x0){const _0x68f194=a0_0x2d7fe0,_0x23c0bf='\x20\x20'[_0x68f194(0x1d0)](_0x388c4a),_0x3bd213=[];return _0x36ee3e[_0x68f194(0x1f1)](_0x3af0e8=>{const _0x5cf0b8=_0x68f194;_0x3bd213[_0x5cf0b8(0x32d)](_0x23c0bf+_0x5cf0b8(0x2a3)+_0x3af0e8['value']+'`:\x20'+_0x3af0e8[_0x5cf0b8(0x202)]),_0x3af0e8[_0x5cf0b8(0x222)]&&_0x3af0e8[_0x5cf0b8(0x222)]['length']>0x0&&_0x3bd213['push'](formatOptionsAsMarkdownList(_0x3af0e8['children'],_0x388c4a+0x1));}),_0x3bd213[_0x68f194(0x118)]('\x0a');}class DbtableConfig{[a0_0x2d7fe0(0x2b6)];constructor(_0x5a1fa0){const _0x1fe731=a0_0x2d7fe0;this[_0x1fe731(0x2b6)]={..._0x5a1fa0};}get['dbId'](){const _0x21ab3a=a0_0x2d7fe0;return this[_0x21ab3a(0x2b6)]['dbId'];}get[a0_0x2d7fe0(0x1b0)](){const _0x474c6d=a0_0x2d7fe0;return this[_0x474c6d(0x2b6)][_0x474c6d(0x1b0)]??this[_0x474c6d(0x2b6)][_0x474c6d(0x323)]?.[_0x474c6d(0x1b0)];}get['tableName'](){const _0x12fe7a=a0_0x2d7fe0;return this['_raw'][_0x12fe7a(0x23c)];}get[a0_0x2d7fe0(0x322)](){const _0x4d409b=a0_0x2d7fe0;return this[_0x4d409b(0x2b6)]['datasetKey'];}get[a0_0x2d7fe0(0x112)](){const _0x250c23=a0_0x2d7fe0;return this[_0x250c23(0x2b6)]['pkField'];}get[a0_0x2d7fe0(0x18b)](){const _0x50bce2=a0_0x2d7fe0;return this['_raw'][_0x50bce2(0x18b)];}get['logicField'](){const _0x51ecfa=a0_0x2d7fe0;return this['_raw'][_0x51ecfa(0x13b)];}get[a0_0x2d7fe0(0x2ba)](){const _0x370c5e=a0_0x2d7fe0;return this[_0x370c5e(0x2b6)][_0x370c5e(0x2ba)];}get[a0_0x2d7fe0(0x313)](){const _0x45db57=a0_0x2d7fe0;return this['_raw'][_0x45db57(0x313)];}get[a0_0x2d7fe0(0x178)](){const _0x733738=a0_0x2d7fe0;return this[_0x733738(0x2b6)]['creatorIdField'];}get[a0_0x2d7fe0(0x25f)](){const _0x162b67=a0_0x2d7fe0;return this[_0x162b67(0x2b6)]['creatorNameField'];}get['modifierIdField'](){const _0x3a31da=a0_0x2d7fe0;return this[_0x3a31da(0x2b6)][_0x3a31da(0x321)];}get[a0_0x2d7fe0(0x15e)](){const _0x200fa4=a0_0x2d7fe0;return this[_0x200fa4(0x2b6)][_0x200fa4(0x15e)];}get['dblinkInfoDTO'](){const _0x3d1f68=a0_0x2d7fe0;return this[_0x3d1f68(0x2b6)]['dblinkInfoDTO'];}[a0_0x2d7fe0(0x26c)](){const _0x501ec5=a0_0x2d7fe0;if(!this[_0x501ec5(0x2b6)]['allFields'])return[];return this[_0x501ec5(0x2b6)]['allFields']['split'](',')[_0x501ec5(0x20b)](_0x42af2a=>_0x42af2a['trim']())[_0x501ec5(0x16c)](Boolean);}[a0_0x2d7fe0(0x1dc)](){const _0x3dd59a=a0_0x2d7fe0;return this[_0x3dd59a(0x2b6)][_0x3dd59a(0x301)];}[a0_0x2d7fe0(0x17a)](_0x24e340){const _0x27d0ca=a0_0x2d7fe0;return this[_0x27d0ca(0x26c)]()[_0x27d0ca(0x19e)](_0x24e340);}[a0_0x2d7fe0(0x23d)](){return Boolean(this['_raw']['tableName']);}[a0_0x2d7fe0(0x2ef)](){const _0xe0e2d6=a0_0x2d7fe0;return Boolean(this[_0xe0e2d6(0x2b6)][_0xe0e2d6(0x323)]);}[a0_0x2d7fe0(0x164)](){const _0x11e5be=a0_0x2d7fe0;return Boolean(this['_raw'][_0x11e5be(0x13b)]?.[_0x11e5be(0x28d)]);}[a0_0x2d7fe0(0x261)](){const _0x6c5d86=a0_0x2d7fe0;return Boolean(this[_0x6c5d86(0x2b6)][_0x6c5d86(0x2ba)]?.[_0x6c5d86(0x28d)]);}[a0_0x2d7fe0(0x1be)](){const _0x43d9f1=a0_0x2d7fe0;return Boolean(this[_0x43d9f1(0x2b6)][_0x43d9f1(0x313)]?.[_0x43d9f1(0x28d)]);}[a0_0x2d7fe0(0x2b8)](){const _0x2cb01d=a0_0x2d7fe0;return Boolean(this['_raw'][_0x2cb01d(0x178)]?.['fieldName']);}[a0_0x2d7fe0(0x162)](){const _0x2be7a7=a0_0x2d7fe0;return Boolean(this[_0x2be7a7(0x2b6)][_0x2be7a7(0x321)]?.[_0x2be7a7(0x28d)]);}['isPrimaryKeyField'](_0x14e9d4){const _0x283212=a0_0x2d7fe0;return this[_0x283212(0x2b6)][_0x283212(0x112)]===_0x14e9d4;}['isSystemField'](_0x2d6edc){const _0xc2e094=a0_0x2d7fe0;return this[_0xc2e094(0x10d)](_0x2d6edc)||this[_0xc2e094(0x2b6)][_0xc2e094(0x13b)]?.[_0xc2e094(0x28d)]===_0x2d6edc||this[_0xc2e094(0x2b6)][_0xc2e094(0x2ba)]?.[_0xc2e094(0x28d)]===_0x2d6edc||this[_0xc2e094(0x2b6)][_0xc2e094(0x313)]?.[_0xc2e094(0x28d)]===_0x2d6edc||this[_0xc2e094(0x2b6)][_0xc2e094(0x178)]?.[_0xc2e094(0x28d)]===_0x2d6edc||this[_0xc2e094(0x2b6)]['creatorNameField']?.[_0xc2e094(0x28d)]===_0x2d6edc||this[_0xc2e094(0x2b6)][_0xc2e094(0x321)]?.[_0xc2e094(0x28d)]===_0x2d6edc||this['_raw'][_0xc2e094(0x15e)]?.[_0xc2e094(0x28d)]===_0x2d6edc;}['getDatabaseName'](){const _0x34be12=a0_0x2d7fe0;return this[_0x34be12(0x2b6)][_0x34be12(0x323)]?.[_0x34be12(0x1b0)];}[a0_0x2d7fe0(0x249)](){const _0x528907=a0_0x2d7fe0;return this[_0x528907(0x2b6)][_0x528907(0x323)]?.[_0x528907(0x17b)];}[a0_0x2d7fe0(0x1ce)](){const _0x54fa2b=a0_0x2d7fe0;return this[_0x54fa2b(0x2b6)][_0x54fa2b(0x323)]?.[_0x54fa2b(0x2ce)];}[a0_0x2d7fe0(0x14a)](){const _0x32a49d=a0_0x2d7fe0;return this[_0x32a49d(0x2b6)][_0x32a49d(0x323)]?.[_0x32a49d(0x157)];}[a0_0x2d7fe0(0x177)](){const _0x5ce2ae=a0_0x2d7fe0;return this['_raw'][_0x5ce2ae(0x323)]?.[_0x5ce2ae(0x2d4)];}[a0_0x2d7fe0(0x23a)](){const _0x3f3bf4=a0_0x2d7fe0;return this[_0x3f3bf4(0x2b6)]['dblinkInfoDTO']?.[_0x3f3bf4(0x121)];}[a0_0x2d7fe0(0x182)](){const _0x1cb954=a0_0x2d7fe0;return{'hasTableName':this[_0x1cb954(0x23d)](),'hasDblinkInfo':this['hasDblinkInfo'](),'fieldCount':this[_0x1cb954(0x26c)]()[_0x1cb954(0x26b)],'systemFields':{'hasLogicField':this[_0x1cb954(0x164)](),'hasCreateTimeField':this['hasCreateTimeField'](),'hasUpdateTimeField':this[_0x1cb954(0x1be)](),'hasCreatorIdField':this[_0x1cb954(0x2b8)](),'hasModifierIdField':this[_0x1cb954(0x162)]()}};}[a0_0x2d7fe0(0x2d8)](){const _0x45f816=a0_0x2d7fe0;return{'tableName':this[_0x45f816(0x23c)],'pkField':this['pkField'],'datasetKey':this[_0x45f816(0x322)],'dbId':this[_0x45f816(0x2c8)]};}['toJSON'](){return{...this['_raw']};}['getRaw'](){const _0x5e6db6=a0_0x2d7fe0;return{...this[_0x5e6db6(0x2b6)]};}['toString'](){const _0xd7aa50=a0_0x2d7fe0,_0x56fbee=this[_0xd7aa50(0x23c)]||_0xd7aa50(0x1a1),_0x307328=this[_0xd7aa50(0x26c)]()[_0xd7aa50(0x26b)];return _0xd7aa50(0x22f)+_0x56fbee+',\x20fields:\x20'+_0x307328+')';}static[a0_0x2d7fe0(0x309)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x2d7fe0(0x2b6)];constructor(_0x3d4e28){const _0x4f5458=a0_0x2d7fe0,_0xd0259e=_0x3d4e28[_0x4f5458(0x1bd)]||_0x3d4e28[_0x4f5458(0x11d)]||_0x3d4e28[_0x4f5458(0x30b)];this[_0x4f5458(0x2b6)]={..._0x3d4e28,'datasetCode':_0xd0259e};}get['id'](){const _0x117e61=a0_0x2d7fe0;return this[_0x117e61(0x2b6)]['id'];}get[a0_0x2d7fe0(0x14d)](){const _0x353d5f=a0_0x2d7fe0;return this['_raw'][_0x353d5f(0x14d)];}[a0_0x2d7fe0(0x1b4)](){const _0x31cfde=a0_0x2d7fe0;return this[_0x31cfde(0x14d)];}get['datasetCode'](){const _0x1b1a9f=a0_0x2d7fe0;return this[_0x1b1a9f(0x2b6)]['datasetCode']||'';}get['dbtableConfig'](){const _0x59830c=a0_0x2d7fe0;if(!this[_0x59830c(0x2b6)][_0x59830c(0x129)])return null;return new DbtableConfig(this[_0x59830c(0x2b6)]['dbtableConfig']);}['getRawDbtableConfig'](){const _0x1f3d19=a0_0x2d7fe0;return this[_0x1f3d19(0x2b6)][_0x1f3d19(0x129)];}[a0_0x2d7fe0(0x1f4)](){return this['dbtableConfig']?.['dbName']||'';}[a0_0x2d7fe0(0x1f8)](){const _0xb6c72d=a0_0x2d7fe0;return getTableName(this[_0xb6c72d(0x2b6)]);}[a0_0x2d7fe0(0x16a)](){const _0x951570=a0_0x2d7fe0;return getTableKey(this[_0x951570(0x1f8)]());}[a0_0x2d7fe0(0x1a8)](){const _0x2e2354=a0_0x2d7fe0;return generateModelKeyFromCode(this[_0x2e2354(0x1bd)]);}[a0_0x2d7fe0(0x197)](){const _0x5133ef=a0_0x2d7fe0;return isVirtualTableName(this[_0x5133ef(0x1f8)]());}[a0_0x2d7fe0(0x274)](){const _0x27623b=a0_0x2d7fe0;return getTableKey(this[_0x27623b(0x1f8)]());}[a0_0x2d7fe0(0x2d8)](){const _0x5dc072=a0_0x2d7fe0,_0x41d991=getTableKey(this['getTableName']());return{'key':_0x41d991,'alias':_0x41d991,'tableName':this['getTableName'](),'datasetCode':this[_0x5dc072(0x1bd)],'name':this[_0x5dc072(0x14d)]};}[a0_0x2d7fe0(0x1d3)](){const _0x2d1d0c=a0_0x2d7fe0;return{...this[_0x2d1d0c(0x2b6)],'datasetCode':this['datasetCode']};}[a0_0x2d7fe0(0x148)](){const _0x500b0c=a0_0x2d7fe0;return{...this[_0x500b0c(0x2b6)]};}['hasDbtableConfig'](){const _0x140bbe=a0_0x2d7fe0,_0x44ed54=this[_0x140bbe(0x129)];return _0x44ed54!==null&&_0x44ed54[_0x140bbe(0x23d)]();}[a0_0x2d7fe0(0x31f)](_0x48ae93){const _0x50be83=a0_0x2d7fe0;return this[_0x50be83(0x2b6)][_0x48ae93];}['hasExtendField'](_0x5a4f04){const _0x492db4=a0_0x2d7fe0;return _0x5a4f04 in this[_0x492db4(0x2b6)];}[a0_0x2d7fe0(0x16f)](){const _0x18cea4=a0_0x2d7fe0;return _0x18cea4(0x251)+this['name']+',\x20'+this['datasetCode']+')';}}class Operation{[a0_0x2d7fe0(0x14d)];[a0_0x2d7fe0(0x2b6)];[a0_0x2d7fe0(0x230)];constructor(_0x13d016,_0x40f9be,_0x731875){const _0x450c3f=a0_0x2d7fe0;this[_0x450c3f(0x14d)]=_0x13d016,this[_0x450c3f(0x2b6)]=_0x40f9be,this['context']=_0x731875;}[a0_0x2d7fe0(0x1b4)](){const _0x1ee215=a0_0x2d7fe0;return this[_0x1ee215(0x14d)];}['getDisplayName'](){const _0x33d28e=a0_0x2d7fe0,_0x5b0637=this[_0x33d28e(0x293)]();return _0x5b0637?OPERATION_TYPE_DISPLAY_NAME[_0x5b0637]:this['name'];}[a0_0x2d7fe0(0x293)](){const _0x5b827d=a0_0x2d7fe0;return parseOperationType(this[_0x5b827d(0x14d)]);}[a0_0x2d7fe0(0x1cc)](){const _0xb22875=a0_0x2d7fe0;return this[_0xb22875(0x2b6)]!=null&&this[_0xb22875(0x2b6)]!==![];}[a0_0x2d7fe0(0x336)](){const _0x21ef1e=a0_0x2d7fe0;if(!this[_0x21ef1e(0x1cc)]()||!this[_0x21ef1e(0x2b6)])return'';const _0x872eb5=this['_raw'][_0x21ef1e(0x231)];return typeof _0x872eb5==='string'?_0x872eb5:'POST';}[a0_0x2d7fe0(0x303)](){const _0x512e8c=a0_0x2d7fe0;if(!this['isEnabled']()||!this[_0x512e8c(0x2b6)])return'';const _0x225aec=this[_0x512e8c(0x2b6)][_0x512e8c(0x25a)];return typeof _0x225aec===_0x512e8c(0x132)?_0x225aec:'';}[a0_0x2d7fe0(0x32e)](){const _0x55e39e=a0_0x2d7fe0;if(!this[_0x55e39e(0x1cc)]()||!this[_0x55e39e(0x2b6)])return'';const {host:_0x41fa07,path:_0xf47c4c}=this[_0x55e39e(0x2b6)],_0x2d8ed4=typeof _0x41fa07===_0x55e39e(0x132)?_0x41fa07:'',_0x3c419f=typeof _0xf47c4c==='string'?_0xf47c4c:'';return _0x2d8ed4&&_0x3c419f?''+_0x2d8ed4+_0x3c419f:_0x3c419f;}['getRequestFields'](){const _0x213b73=a0_0x2d7fe0;return Object[_0x213b73(0x26d)](this[_0x213b73(0x2e3)]());}[a0_0x2d7fe0(0x2a9)](){const _0x424c07=a0_0x2d7fe0,_0xd54061=this[_0x424c07(0x2e3)]();return{'params':Object[_0x424c07(0x152)](_0xd54061)[_0x424c07(0x20b)](([_0x1aebb7,_0x4c08c4])=>{const _0x184d5f=_0x424c07,_0x1fb553=_0x4c08c4;return{'name':_0x1aebb7,'type':_0x1fb553['type']||_0x184d5f(0x1fe),'description':_0x1fb553['description']||'-','required':_0x1fb553[_0x184d5f(0x27e)]};})};}[a0_0x2d7fe0(0x14e)](){const _0x3ffd03=a0_0x2d7fe0;if(!this['isEnabled']()||typeof this[_0x3ffd03(0x2b6)]==='boolean'||!this[_0x3ffd03(0x2b6)]?.[_0x3ffd03(0x236)])return{};const _0x4718a8=this['_raw'][_0x3ffd03(0x236)];if(typeof _0x4718a8!=='string')return!![]&&console[_0x3ffd03(0x235)](_0x3ffd03(0x316),_0x4718a8),{};return parseRequestBody(_0x4718a8);}['parseRawResponseBody'](){const _0x17a18d=a0_0x2d7fe0;if(!this[_0x17a18d(0x1cc)]()||typeof this[_0x17a18d(0x2b6)]==='boolean'||!this[_0x17a18d(0x2b6)]?.[_0x17a18d(0x324)])return null;const _0x131f12=this['_raw'][_0x17a18d(0x324)];if(typeof _0x131f12!==_0x17a18d(0x132))return!![]&&console[_0x17a18d(0x235)](_0x17a18d(0x326),_0x131f12),null;return parseResponseBody(_0x131f12);}[a0_0x2d7fe0(0x180)](_0x104f35,_0x34fcfd,_0x49670a,_0x5d0887){const _0x209379=a0_0x2d7fe0;return generateExampleValue(_0x104f35,_0x34fcfd,_0x49670a,{'isPrimaryKey':_0x5d0887?.[_0x209379(0x21d)],'description':_0x5d0887?.[_0x209379(0x219)],'dbtableConfig':this[_0x209379(0x230)]['dbtableConfig']});}[a0_0x2d7fe0(0x33a)](_0x12378b){const _0x1561e6=a0_0x2d7fe0;if(!Array[_0x1561e6(0x2f5)](this[_0x1561e6(0x230)][_0x1561e6(0x124)])){!![]&&console[_0x1561e6(0x235)](_0x1561e6(0x327));return;}if(typeof _0x12378b!==_0x1561e6(0x132)){!![]&&console[_0x1561e6(0x235)]('[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x12378b);return;}return this[_0x1561e6(0x230)][_0x1561e6(0x124)]['find'](_0x2ca8a6=>_0x2ca8a6&&_0x2ca8a6[_0x1561e6(0x11d)]===_0x12378b);}[a0_0x2d7fe0(0x16f)](){const _0x396d83=a0_0x2d7fe0,_0x5d1dfe=this['isEnabled']()?'启用':'禁用';return this[_0x396d83(0x2bc)]()+'('+this['name']+',\x20'+_0x5d1dfe+')';}[a0_0x2d7fe0(0x21f)](){return[];}[a0_0x2d7fe0(0x300)](_0x55ee6d){return[];}[a0_0x2d7fe0(0x291)](_0x1e8067){const _0x38775c=a0_0x2d7fe0,_0x3be432=this['getName'](),_0x380074=_0x38775c(0x19f)+_0x1e8067+'.'+_0x3be432+'(...);\x0aconsole.log(data);\x20',_0x1cc959=_0x38775c(0x1e3)+_0x1e8067+'.'+_0x3be432+_0x38775c(0x206);return{'successCode':_0x380074,'errorCode':_0x1cc959};}[a0_0x2d7fe0(0x1d3)](){const _0x14d0bb=a0_0x2d7fe0;return{'name':this[_0x14d0bb(0x1b4)](),'displayName':this[_0x14d0bb(0x2bc)](),'type':this[_0x14d0bb(0x293)](),'enabled':this[_0x14d0bb(0x1cc)](),'method':this[_0x14d0bb(0x336)](),'path':this['getPath'](),'fullUrl':this[_0x14d0bb(0x32e)](),'requestFields':this[_0x14d0bb(0x1f5)](),'requestParams':this[_0x14d0bb(0x2e3)](),'responseSchema':this['getResponseSchema'](),'requestExample':this[_0x14d0bb(0x189)](),'responseExample':this[_0x14d0bb(0x12e)]()};}}class GenericOperation extends Operation{[a0_0x2d7fe0(0x134)];[a0_0x2d7fe0(0x2e3)](){const _0x3a0f0b=a0_0x2d7fe0;return this[_0x3a0f0b(0x14e)]();}[a0_0x2d7fe0(0x2e8)](){const _0x1f535f=a0_0x2d7fe0;return this[_0x1f535f(0x279)]();}[a0_0x2d7fe0(0x189)](){const _0xce6ef9=a0_0x2d7fe0;if(this['_requestExampleCache'])return this[_0xce6ef9(0x134)];const _0x56d84d={},_0x268ecf=this[_0xce6ef9(0x2e3)](),_0x3196e1=this[_0xce6ef9(0x293)]();if(Object[_0xce6ef9(0x26d)](_0x268ecf)[_0xce6ef9(0x26b)]===0x0&&_0x3196e1){const _0x46e6c8=getFieldsForOperation(this['context'][_0xce6ef9(0x124)],_0x3196e1,this[_0xce6ef9(0x230)]['pkField']);return _0x46e6c8[_0xce6ef9(0x1f1)](_0x27abe8=>{const _0x2a779d=_0xce6ef9,_0x3f9743=this[_0x2a779d(0x180)](_0x27abe8[_0x2a779d(0x11d)],_0x27abe8[_0x2a779d(0x1eb)],typeof _0x27abe8[_0x2a779d(0x17b)]===_0x2a779d(0x132)?_0x27abe8[_0x2a779d(0x17b)]:undefined,{'isPrimaryKey':_0x27abe8[_0x2a779d(0x11d)]===this[_0x2a779d(0x230)]['pkField'],'description':_0x27abe8[_0x2a779d(0x219)]||_0x27abe8['name']});_0x56d84d[_0x27abe8['code']]=_0x3f9743;}),this[_0xce6ef9(0x134)]=_0x56d84d,_0x56d84d;}return Object['entries'](_0x268ecf)[_0xce6ef9(0x1f1)](([_0x39404c,_0x46c964])=>{const _0x2be9cc=_0xce6ef9,_0x333d7c=_0x46c964;let _0x5cc1bd;if(typeof _0x333d7c[_0x2be9cc(0x1eb)]===_0x2be9cc(0x132))_0x5cc1bd=_0x333d7c['type'];else _0x333d7c[_0x2be9cc(0x1eb)]&&typeof _0x333d7c[_0x2be9cc(0x1eb)]===_0x2be9cc(0x1f2)?_0x5cc1bd=_0x333d7c[_0x2be9cc(0x1eb)]['type']||'TEXT':_0x5cc1bd=_0x2be9cc(0x1e2);const _0x313a97=_0x333d7c[_0x2be9cc(0x219)],_0x3d2696=this['getFieldDefinition'](_0x39404c);if(_0x39404c==='currentPage')_0x56d84d[_0x39404c]=0x1;else{if(_0x39404c===_0x2be9cc(0x2ff))_0x56d84d[_0x39404c]=0xa;else _0x39404c==='id'?_0x56d84d[_0x39404c]=0x1:_0x56d84d[_0x39404c]=this[_0x2be9cc(0x180)](_0x39404c,_0x5cc1bd,typeof _0x3d2696?.[_0x2be9cc(0x17b)]==='string'?_0x3d2696[_0x2be9cc(0x17b)]:undefined,{'isPrimaryKey':_0x39404c===this['context']['pkField']||_0x39404c==='id','description':_0x313a97||_0x3d2696?.[_0x2be9cc(0x219)]||_0x3d2696?.[_0x2be9cc(0x14d)]});}}),this[_0xce6ef9(0x134)]=_0x56d84d,_0x56d84d;}['generateResponseExample'](){const _0x4a6399=a0_0x2d7fe0,_0x211b87=this['getResponseSchema']();if(!_0x211b87)return{'success':!![],'msg':_0x4a6399(0x1fd),'errorMsg':'','errorCode':'0000','data':null};return this[_0x4a6399(0x2c9)](_0x211b87);}['generateFromSchema'](_0x59c9dd){const _0x56ae58=a0_0x2d7fe0;if(!_0x59c9dd||typeof _0x59c9dd!=='object')return{};if(Array[_0x56ae58(0x2f5)](_0x59c9dd)){if(_0x59c9dd[_0x56ae58(0x26b)]>0x0)return[this['generateFromSchema'](_0x59c9dd[0x0])];return[];}const _0x2c0fdf={};return Object['keys'](_0x59c9dd)[_0x56ae58(0x1f1)](_0xa3fb83=>{const _0x50d0fa=_0x56ae58,_0xa70db8=_0x59c9dd[_0xa3fb83];if(_0xa70db8&&typeof _0xa70db8===_0x50d0fa(0x1f2)&&!Array[_0x50d0fa(0x2f5)](_0xa70db8)&&_0xa70db8[_0x50d0fa(0x1eb)]){const _0x311ee0=_0xa70db8;let _0x28f6b4;if(typeof _0x311ee0[_0x50d0fa(0x1eb)]===_0x50d0fa(0x132))_0x28f6b4=_0x311ee0['type'];else _0x311ee0[_0x50d0fa(0x1eb)]&&typeof _0x311ee0[_0x50d0fa(0x1eb)]===_0x50d0fa(0x1f2)?_0x28f6b4=_0x311ee0[_0x50d0fa(0x1eb)][_0x50d0fa(0x1eb)]||'TEXT':_0x28f6b4=_0x50d0fa(0x1e2);const _0x88783b=_0x311ee0[_0x50d0fa(0x219)];_0x2c0fdf[_0xa3fb83]=this[_0x50d0fa(0x180)](_0xa3fb83,_0x28f6b4,undefined,{'description':_0x88783b});}else{if(Array[_0x50d0fa(0x2f5)](_0xa70db8))_0x2c0fdf[_0xa3fb83]=_0xa70db8[_0x50d0fa(0x26b)]>0x0?[this[_0x50d0fa(0x2c9)](_0xa70db8[0x0])]:[];else _0xa70db8&&typeof _0xa70db8===_0x50d0fa(0x1f2)?_0x2c0fdf[_0xa3fb83]=this[_0x50d0fa(0x2c9)](_0xa70db8):_0x2c0fdf[_0xa3fb83]=_0xa70db8;}}),_0x2c0fdf;}['generateSDKCallCode'](_0x1bc955,_0x535cad){const _0x3fdba3=a0_0x2d7fe0,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x535cad||{},_0x4c6c1b=this['getName'](),_0x49a370=this['getType'](),_0x2ce5bf=this[_0x3fdba3(0x1f5)](),_0x32a4a5=this[_0x3fdba3(0x189)](),_0x4d2f42=_0x4595d0=>{const _0x3579ce=_0x3fdba3;if(Object[_0x3579ce(0x26d)](_0x4595d0)[_0x3579ce(0x26b)]===0x0)return'{}';const _0x43c622=JSON['stringify'](_0x4595d0,null,0x2)[_0x3579ce(0x192)]('\x0a')['map']((_0x5dc76b,_0x176897)=>_0x176897===0x0?_0x5dc76b:indent+_0x5dc76b)[_0x3579ce(0x118)]('\x0a');return _0x43c622;};switch(_0x49a370){case _0x3fdba3(0x14c):case _0x3fdba3(0x194):return _0x3fdba3(0x2f9)+_0x1bc955+'.'+_0x4c6c1b+_0x3fdba3(0x1e5);case'update':if(useFullExample&&Object[_0x3fdba3(0x26d)](_0x32a4a5)[_0x3fdba3(0x26b)]>0x0)return _0x3fdba3(0x2f9)+_0x1bc955+'.'+_0x4c6c1b+_0x3fdba3(0x15a)+_0x4d2f42(_0x32a4a5)+');';return _0x3fdba3(0x2f9)+_0x1bc955+'.'+_0x4c6c1b+'(id,\x20data);';case _0x3fdba3(0x2e5):case _0x3fdba3(0x2ab):case _0x3fdba3(0x183):default:if(_0x2ce5bf[_0x3fdba3(0x26b)]>0x0){if(useFullExample&&Object[_0x3fdba3(0x26d)](_0x32a4a5)[_0x3fdba3(0x26b)]>0x0)return _0x3fdba3(0x2f9)+_0x1bc955+'.'+_0x4c6c1b+'('+_0x4d2f42(_0x32a4a5)+');';else{const _0x575104=Object['keys'](_0x32a4a5);if(_0x575104[_0x3fdba3(0x26b)]>0x0){const _0x31b880=_0x575104['slice'](0x0,0x2)[_0x3fdba3(0x118)](',\x20');return _0x3fdba3(0x2f9)+_0x1bc955+'.'+_0x4c6c1b+'({\x20'+_0x31b880+_0x3fdba3(0x294);}else return _0x3fdba3(0x2f9)+_0x1bc955+'.'+_0x4c6c1b+_0x3fdba3(0x2d5);}}else return _0x3fdba3(0x2f9)+_0x1bc955+'.'+_0x4c6c1b+_0x3fdba3(0x232);}}[a0_0x2d7fe0(0x127)](){const _0x4d96d0=a0_0x2d7fe0;return[{'title':_0x4d96d0(0x315),'data':this[_0x4d96d0(0x189)]()}];}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x22a22a=a0_0x2d7fe0,_0x4bd894=super[_0x22a22a(0x2e3)](),_0x3cb363=Object[_0x22a22a(0x26d)](_0x4bd894);return(_0x3cb363['length']===0x0||_0x3cb363['length']===0x1&&_0x3cb363[0x0]===_0x22a22a(0x11d))&&(!_0x4bd894[_0x22a22a(0x11d)]&&(_0x4bd894[_0x22a22a(0x11d)]={'type':_0x22a22a(0x1fe),'description':_0x22a22a(0x27d)}),_0x4bd894['label']={'type':'String','description':_0x22a22a(0x2ea)}),_0x4bd894;}[a0_0x2d7fe0(0x189)](){const _0x5e64d0=a0_0x2d7fe0;return{'code':_0x5e64d0(0x29b),'label':_0x5e64d0(0x29b)};}['generateSDKCallCode'](_0x34d41a){const _0x14ed3b=a0_0x2d7fe0,_0x435594=this[_0x14ed3b(0x1b4)]();return _0x14ed3b(0x2f9)+_0x34d41a+'.'+_0x435594+_0x14ed3b(0x276);}}class GetListOperation extends GenericOperation{[a0_0x2d7fe0(0x2e3)](){const _0x5958f9=a0_0x2d7fe0,_0x23ce3e=super['getRequestParams'](),{currentPage:_0x2f75a7,pageSize:_0x484726,..._0x2f5616}=_0x23ce3e,_0x4fd34c={};return Object[_0x5958f9(0x152)](_0x2f5616)[_0x5958f9(0x1f1)](([_0x5512c2,_0x1c1359])=>{const _0x4993e8=_0x5958f9;if(typeof _0x1c1359===_0x4993e8(0x1f2)&&_0x1c1359!==null){const _0x10009d=_0x1c1359,_0x101368=_0x10009d[_0x4993e8(0x219)]||'';_0x4fd34c[_0x5512c2]={..._0x10009d,'description':_0x101368?_0x101368+_0x4993e8(0x1b5):_0x4993e8(0x32b)};}else _0x4fd34c[_0x5512c2]=_0x1c1359;}),{..._0x4fd34c,'currentPage':{...typeof _0x2f75a7==='object'?_0x2f75a7:{},'type':_0x5958f9(0x308),'description':'当前页码'},'pageSize':{...typeof _0x484726==='object'?_0x484726:{},'type':_0x5958f9(0x308),'description':'每页数量'}};}[a0_0x2d7fe0(0x189)](_0x36796e){const _0x456932=a0_0x2d7fe0,{useArrayValues:useArrayValues=!![]}=_0x36796e||{},_0x549870=super[_0x456932(0x189)](),{currentPage:_0x8da4e9,pageSize:_0x235170,..._0x1f3724}=_0x549870;if(!useArrayValues)return{..._0x1f3724,'currentPage':_0x8da4e9??0x1,'pageSize':_0x235170??0xa};const _0x2a79d4={},_0x521c0c=['id',_0x456932(0x25d),'code',_0x456932(0x1eb)];return Object['entries'](_0x1f3724)[_0x456932(0x1f1)](([_0x2a4263,_0x12908b],_0x3b719e)=>{const _0x2a38da=_0x456932,_0x67a4db=_0x521c0c[_0x2a38da(0x161)](_0x28ec30=>_0x2a4263[_0x2a38da(0x1a2)]()[_0x2a38da(0x19e)](_0x28ec30))||_0x3b719e%0x3===0x0;if(_0x67a4db&&_0x12908b!==null&&_0x12908b!==undefined){if(typeof _0x12908b===_0x2a38da(0x2a2))_0x2a79d4[_0x2a4263]=[_0x12908b,_0x12908b+0x1,_0x12908b+0x2];else typeof _0x12908b===_0x2a38da(0x132)?_0x2a79d4[_0x2a4263]=[_0x12908b,_0x12908b+'_2',_0x12908b+'_3']:_0x2a79d4[_0x2a4263]=[_0x12908b];}else _0x2a79d4[_0x2a4263]=_0x12908b;}),{..._0x2a79d4,'currentPage':_0x8da4e9??0x1,'pageSize':_0x235170??0xa};}[a0_0x2d7fe0(0x2fe)](){const _0x1a87a2=a0_0x2d7fe0;return this[_0x1a87a2(0x189)]({'useArrayValues':![]});}['generateRequestAllExamples'](){const _0xd73727=a0_0x2d7fe0;return[{'title':'单值查询','description':_0xd73727(0x11a),'data':this[_0xd73727(0x2fe)]()},{'title':'数组查询(支持多选)','description':_0xd73727(0x1de),'data':this['generateRequestExample']()}];}['generateSDKCallCode'](_0x2d2563,_0x269be0){const _0x5eab76=a0_0x2d7fe0,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x269be0||{},_0x5eded4=this[_0x5eab76(0x1b4)](),_0x4551cb=this[_0x5eab76(0x189)]({'useArrayValues':!![]}),{currentPage:_0x3907cf,pageSize:_0x129141,..._0x2a2000}=_0x4551cb;if(useFullExample&&Object[_0x5eab76(0x26d)](_0x4551cb)[_0x5eab76(0x26b)]>0x0){const _0x3d61c3=Object[_0x5eab76(0x26d)](_0x2a2000)[_0x5eab76(0x26b)]>0x0;if(_0x3d61c3){const _0x33831d=this[_0x5eab76(0x2fe)](),_0x20eff7=_0x130cdc=>{return JSON['stringify'](_0x130cdc,null,0x2)['split']('\x0a')['map']((_0x1319f6,_0x593eed)=>_0x593eed===0x0?_0x1319f6:indent+_0x1319f6)['join']('\x0a');};return _0x5eab76(0x198)+_0x2d2563+'.'+_0x5eded4+'('+_0x20eff7(_0x33831d)+_0x5eab76(0x155)+_0x2d2563+'.'+_0x5eded4+'('+_0x20eff7(_0x4551cb)+');';}else{const _0x24893a=JSON['stringify'](_0x4551cb,null,0x2)[_0x5eab76(0x192)]('\x0a')[_0x5eab76(0x20b)]((_0x2760c7,_0xfda851)=>_0xfda851===0x0?_0x2760c7:indent+_0x2760c7)[_0x5eab76(0x118)]('\x0a');return _0x5eab76(0x2f9)+_0x2d2563+'.'+_0x5eded4+'('+_0x24893a+');';}}if(Object['keys'](_0x2a2000)[_0x5eab76(0x26b)]>0x0){const _0x46ab3c=Object[_0x5eab76(0x26d)](_0x2a2000)[0x0];return _0x5eab76(0x2f9)+_0x2d2563+'.'+_0x5eded4+'({\x20'+_0x46ab3c+',\x20currentPage,\x20pageSize,\x20...\x20});';}return _0x5eab76(0x2f9)+_0x2d2563+'.'+_0x5eded4+'({\x20currentPage,\x20pageSize\x20});';}}var FILTER_OPERATORS=[a0_0x2d7fe0(0x1ff),a0_0x2d7fe0(0x176),a0_0x2d7fe0(0x1f0),a0_0x2d7fe0(0x14b),'$lte',a0_0x2d7fe0(0x1c3),a0_0x2d7fe0(0x2b0),'$contain',a0_0x2d7fe0(0x1b6),a0_0x2d7fe0(0x138),'$and',a0_0x2d7fe0(0x1f7)];class FilterOperation extends GenericOperation{constructor(_0x24c526,_0x3ea3bc,_0x4259b3){super(_0x24c526,_0x3ea3bc,_0x4259b3);}[a0_0x2d7fe0(0x21f)](){return FILTER_OPERATORS;}[a0_0x2d7fe0(0x300)](_0x5e95a3){const _0x5b76c0=a0_0x2d7fe0,_0x102b6e=this[_0x5b76c0(0x33a)](_0x5e95a3);if(!_0x102b6e)return[];return this[_0x5b76c0(0x2a8)](_0x102b6e[_0x5b76c0(0x1eb)]);}['getRequestParams'](){const _0x17167a=a0_0x2d7fe0,_0x5b015b=super['getRequestParams']();return{..._0x5b015b,'where':{'type':_0x17167a(0x254),'description':_0x17167a(0x2cd),'required':![]},'select':{'type':_0x17167a(0x163),'description':_0x17167a(0x1bc),'required':![]},'orderBy':{'type':_0x17167a(0x2fd),'description':'排序规则','required':![]},'currentPage':{'type':_0x17167a(0x308),'description':_0x17167a(0x2e0),'required':![],'default':0x1},'pageSize':{'type':_0x17167a(0x308),'description':_0x17167a(0x306),'required':![],'default':0xa}};}[a0_0x2d7fe0(0x189)](){const _0x5ed098=a0_0x2d7fe0,_0x9758b9=this[_0x5ed098(0x230)]['fields']||[];if(_0x9758b9[_0x5ed098(0x26b)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x20ec81={},_0x26bfe0=_0x9758b9[_0x5ed098(0x1ba)](0x0,Math['min'](0x3,_0x9758b9[_0x5ed098(0x26b)]));_0x26bfe0[_0x5ed098(0x1f1)](_0x1f4860=>{const _0x276ee8=_0x5ed098,_0x70c2d0=this[_0x276ee8(0x2a8)](_0x1f4860[_0x276ee8(0x1eb)]);if(_0x70c2d0[_0x276ee8(0x26b)]===0x0)return;const _0x4e6bcd=this[_0x276ee8(0x12f)](_0x1f4860['type'],_0x70c2d0),_0x27fbdf=this[_0x276ee8(0x131)](_0x1f4860,_0x4e6bcd);_0x20ec81[_0x1f4860[_0x276ee8(0x11d)]]={[_0x4e6bcd]:_0x27fbdf};});const _0xf6842b=_0x9758b9[_0x5ed098(0x1ba)](0x0,Math[_0x5ed098(0x200)](0x5,_0x9758b9[_0x5ed098(0x26b)]))['map'](_0x3ffcd0=>_0x3ffcd0['code']),_0xcf626a=_0x9758b9[0x0]?.[_0x5ed098(0x11d)]||'id';return{'where':_0x20ec81,'select':_0xf6842b,'orderBy':[{[_0xcf626a]:'DESC'}],'currentPage':0x1,'pageSize':0x14};}[a0_0x2d7fe0(0x24e)](_0x489fc2,_0x2eb9ad){const _0x136eb2=a0_0x2d7fe0,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2eb9ad||{},_0x252d35=this[_0x136eb2(0x1b4)](),_0xbe88a6=this[_0x136eb2(0x189)](),_0x2f0409=_0x532cc4=>{const _0x241ee0=_0x136eb2;return JSON[_0x241ee0(0x2c3)](_0x532cc4,null,0x2)[_0x241ee0(0x192)]('\x0a')[_0x241ee0(0x20b)]((_0xa1d154,_0x5c1f3c)=>_0x5c1f3c===0x0?_0xa1d154:indent+_0xa1d154)[_0x241ee0(0x118)]('\x0a');};if(useFullExample){const _0x5a2867=this[_0x136eb2(0x230)][_0x136eb2(0x124)]||[],_0x2e222a={'where':_0x5a2867[0x0]?{[_0x5a2867[0x0][_0x136eb2(0x11d)]]:{'$eq':this[_0x136eb2(0x131)](_0x5a2867[0x0],_0x136eb2(0x1ff))}}:{},'select':_0x5a2867[_0x136eb2(0x1ba)](0x0,0x3)[_0x136eb2(0x20b)](_0x5c9dd3=>_0x5c9dd3['code']),'currentPage':0x1,'pageSize':0x14};let _0x1cc06b='';if(_0x5a2867[_0x136eb2(0x26b)]>=0x3){const _0x178ff={'$and':[]},_0xc3c709=[];if(_0x5a2867[_0x136eb2(0x26b)]>0x0){const _0x34507f=_0x5a2867[_0x136eb2(0x304)](_0x196fa2=>['NUMBER',_0x136eb2(0x2b1),_0x136eb2(0x2c7)]['includes'](_0x196fa2[_0x136eb2(0x1eb)][_0x136eb2(0x142)]()));_0x34507f&&_0xc3c709['push']({[_0x34507f[_0x136eb2(0x11d)]]:{'$gte':0x0,'$lte':0x64}});}if(_0x5a2867[_0x136eb2(0x26b)]>0x1){const _0x1f1b12=_0x5a2867[_0x136eb2(0x304)](_0x54373e=>[_0x136eb2(0x168),_0x136eb2(0x1e2),_0x136eb2(0x11f)]['includes'](_0x54373e[_0x136eb2(0x1eb)][_0x136eb2(0x142)]()));_0x1f1b12&&_0xc3c709[_0x136eb2(0x32d)]({[_0x1f1b12['code']]:{'$contain':_0x136eb2(0x241)}});}if(_0xc3c709[_0x136eb2(0x26b)]>0x0){_0x178ff[_0x136eb2(0x338)]=_0xc3c709;const _0x113163={'where':_0x178ff,'select':_0x5a2867[_0x136eb2(0x1ba)](0x0,0x4)[_0x136eb2(0x20b)](_0x2c4e4e=>_0x2c4e4e['code']),'orderBy':[{[_0x5a2867[0x0][_0x136eb2(0x11d)]]:_0x136eb2(0x269)}],'currentPage':0x1,'pageSize':0x14};_0x1cc06b=_0x136eb2(0x2de)+_0x489fc2+'.'+_0x252d35+'('+_0x2f0409(_0x113163)+');';}}return _0x136eb2(0x266)+_0x489fc2+'.'+_0x252d35+'('+_0x2f0409(_0x2e222a)+');'+_0x1cc06b;}const _0x38eb89=JSON['stringify'](_0xbe88a6,null,0x2)['split']('\x0a')[_0x136eb2(0x20b)]((_0x287879,_0x15fa2a)=>_0x15fa2a===0x0?_0x287879:indent+_0x287879)['join']('\x0a');return _0x136eb2(0x2f9)+_0x489fc2+'.'+_0x252d35+'('+_0x38eb89+');';}[a0_0x2d7fe0(0x2a8)](_0x5ed72b){const _0x41cf37=a0_0x2d7fe0,_0x578743=_0x5ed72b[_0x41cf37(0x142)](),_0x26e743=[];if(['NUMBER','INTEGER',_0x41cf37(0x2c7),_0x41cf37(0x201)]['includes'](_0x578743))_0x26e743[_0x41cf37(0x32d)](_0x41cf37(0x1ff),_0x41cf37(0x176),_0x41cf37(0x1f0),_0x41cf37(0x137),_0x41cf37(0x14b),_0x41cf37(0x1c3),_0x41cf37(0x2b0));else{if([_0x41cf37(0x168),_0x41cf37(0x1e2),_0x41cf37(0x11f)][_0x41cf37(0x19e)](_0x578743))_0x26e743[_0x41cf37(0x32d)](_0x41cf37(0x1ff),'$ne',_0x41cf37(0x2b0),'$contain','$startWith',_0x41cf37(0x138));else{if([_0x41cf37(0x2a5),_0x41cf37(0x329),_0x41cf37(0x196)][_0x41cf37(0x19e)](_0x578743))_0x26e743[_0x41cf37(0x32d)](_0x41cf37(0x1ff),_0x41cf37(0x176),_0x41cf37(0x1f0),_0x41cf37(0x137),_0x41cf37(0x14b),_0x41cf37(0x1c3));else[_0x41cf37(0x1d6),_0x41cf37(0x12d)][_0x41cf37(0x19e)](_0x578743)?_0x26e743[_0x41cf37(0x32d)](_0x41cf37(0x1ff),_0x41cf37(0x176)):_0x26e743[_0x41cf37(0x32d)](_0x41cf37(0x1ff),'$ne');}}return _0x26e743;}[a0_0x2d7fe0(0x12f)](_0x3153af,_0x124cbe){const _0x2a81fb=a0_0x2d7fe0,_0x49943f=_0x3153af[_0x2a81fb(0x142)]();if([_0x2a81fb(0x1fa),_0x2a81fb(0x2b1),'BIGINT',_0x2a81fb(0x201)]['includes'](_0x49943f))return _0x124cbe[_0x2a81fb(0x19e)](_0x2a81fb(0x1f0))?_0x2a81fb(0x1f0):_0x2a81fb(0x1ff);if(['STRING',_0x2a81fb(0x1e2),_0x2a81fb(0x11f)]['includes'](_0x49943f))return _0x124cbe['includes']('$contain')?'$contain':_0x2a81fb(0x1ff);if([_0x2a81fb(0x2a5),_0x2a81fb(0x329),'TIMESTAMP'][_0x2a81fb(0x19e)](_0x49943f))return _0x124cbe[_0x2a81fb(0x19e)](_0x2a81fb(0x1f0))?_0x2a81fb(0x1f0):_0x2a81fb(0x1ff);return'$eq';}[a0_0x2d7fe0(0x131)](_0x4cdec5,_0x37806a){const _0x3055d5=a0_0x2d7fe0,_0x3e3b0b=String(_0x4cdec5[_0x3055d5(0x1eb)]||'')[_0x3055d5(0x142)]();if(_0x4cdec5['extend'])try{const _0x3a139d=typeof _0x4cdec5[_0x3055d5(0x13a)]===_0x3055d5(0x132)?JSON[_0x3055d5(0x28f)](_0x4cdec5['extend']):_0x4cdec5['extend'];if(_0x3a139d[_0x3055d5(0x2df)]&&Array[_0x3055d5(0x2f5)](_0x3a139d['options'])&&_0x3a139d[_0x3055d5(0x2df)][_0x3055d5(0x26b)]>0x0){if(_0x37806a===_0x3055d5(0x2b0))return _0x3a139d[_0x3055d5(0x2df)][_0x3055d5(0x1ba)](0x0,0x2)[_0x3055d5(0x20b)](_0x2189c3=>_0x2189c3[_0x3055d5(0x1e4)]);return _0x3a139d[_0x3055d5(0x2df)][0x0]['value'];}}catch{}if([_0x3055d5(0x1fa),_0x3055d5(0x2b1),'BIGINT',_0x3055d5(0x201)][_0x3055d5(0x19e)](_0x3e3b0b)){if(_0x37806a==='$in')return[0x1,0x2,0x3];if(_0x37806a==='$gte'||_0x37806a===_0x3055d5(0x14b))return 0x0;if(_0x37806a==='$lte'||_0x37806a==='$lteq')return 0x64;return 0x1;}if([_0x3055d5(0x168),_0x3055d5(0x1e2),_0x3055d5(0x11f)][_0x3055d5(0x19e)](_0x3e3b0b)){if(_0x37806a===_0x3055d5(0x2b0))return[_0x3055d5(0x19c),_0x3055d5(0x1b1)];if(_0x37806a===_0x3055d5(0x2f3))return _0x3055d5(0x241);if(_0x37806a===_0x3055d5(0x1b6))return _0x3055d5(0x188);if(_0x37806a===_0x3055d5(0x138))return'suffix';return _0x3055d5(0x1e4);}if([_0x3055d5(0x2a5),_0x3055d5(0x329),_0x3055d5(0x196)][_0x3055d5(0x19e)](_0x3e3b0b)){if(_0x37806a==='$gte'||_0x37806a==='$gteq')return _0x3055d5(0x220);if(_0x37806a===_0x3055d5(0x137)||_0x37806a===_0x3055d5(0x1c3))return _0x3055d5(0x21a);return _0x3055d5(0x220);}if([_0x3055d5(0x1d6),_0x3055d5(0x12d)][_0x3055d5(0x19e)](_0x3e3b0b))return!![];return _0x37806a===_0x3055d5(0x2b0)?[_0x3055d5(0x19c),_0x3055d5(0x1b1)]:_0x3055d5(0x1e4);}[a0_0x2d7fe0(0x2a9)](){const _0xaad402=a0_0x2d7fe0,_0x4a5921=super['getRequestParams'](),_0xacd7ac=Object[_0xaad402(0x152)](_0x4a5921)[_0xaad402(0x20b)](([_0xcb2148,_0x2b0c56])=>{const _0x544d17=_0xaad402,_0x5a467f=_0x2b0c56;return{'name':_0xcb2148,'type':_0x5a467f[_0x544d17(0x1eb)]||'String','description':_0x5a467f[_0x544d17(0x219)]||'-','required':_0x5a467f[_0x544d17(0x27e)]};});return{'description':'\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a','params':_0xacd7ac};}}var AGGREGATE_FUNCTIONS=[a0_0x2d7fe0(0x1d8),a0_0x2d7fe0(0x2c5),a0_0x2d7fe0(0x1e1),a0_0x2d7fe0(0x2bb),a0_0x2d7fe0(0x200)];class AggregateOperation extends GenericOperation{constructor(_0x288d19,_0x5c1769,_0x26ddc2){super(_0x288d19,_0x5c1769,_0x26ddc2);}[a0_0x2d7fe0(0x10b)](){return AGGREGATE_FUNCTIONS;}[a0_0x2d7fe0(0x2e3)](){const _0x3088e7=a0_0x2d7fe0,_0x183335=super[_0x3088e7(0x2e3)]();return{..._0x183335,'where':{'type':'Object','description':_0x3088e7(0x17f),'required':![]},'groupBy':{'type':'String[]','description':'分组字段列表','required':![]},'aggregate':{'type':_0x3088e7(0x2ee),'description':_0x3088e7(0x27f),'required':![]}};}[a0_0x2d7fe0(0x189)](){const _0xd17c81=a0_0x2d7fe0,_0x3917c5=this['context'][_0xd17c81(0x124)]||[];if(_0x3917c5['length']===0x0)return{'where':{},'groupBy':[],'aggregate':[]};const _0x34eab7={},_0x513281=_0x3917c5[_0xd17c81(0x1ba)](0x0,Math['min'](0x3,_0x3917c5[_0xd17c81(0x26b)]));_0x513281['forEach'](_0x1957f8=>{const _0x46da6d=_0xd17c81,_0x27ee33=this[_0x46da6d(0x2a8)](_0x1957f8[_0x46da6d(0x1eb)]);if(_0x27ee33[_0x46da6d(0x26b)]===0x0)return;const _0x803188=this['selectBestOperator'](_0x1957f8[_0x46da6d(0x1eb)],_0x27ee33),_0x569f5a=this[_0x46da6d(0x131)](_0x1957f8,_0x803188);_0x34eab7[_0x1957f8[_0x46da6d(0x11d)]]={[_0x803188]:_0x569f5a};});const _0x5a9945=_0x3917c5[_0xd17c81(0x1ba)](0x0,Math[_0xd17c81(0x200)](0x2,_0x3917c5[_0xd17c81(0x26b)]))[_0xd17c81(0x20b)](_0x1f7065=>_0x1f7065['code']),_0x48ced2=[],_0x1bde45=_0x3917c5[_0xd17c81(0x16c)](_0xdb6659=>this[_0xd17c81(0x128)](_0xdb6659[_0xd17c81(0x1eb)]));if(_0x1bde45['length']>0x0){const _0x595913=_0x1bde45[0x0];_0x48ced2[_0xd17c81(0x32d)]({'type':_0xd17c81(0x1d8),'column':_0x595913[_0xd17c81(0x11d)],'alias':_0x595913[_0xd17c81(0x11d)]+_0xd17c81(0x248),'distinct':![],'round':!![],'precision':0x2}),_0x48ced2[_0xd17c81(0x32d)]({'type':_0xd17c81(0x1e1),'column':_0x595913[_0xd17c81(0x11d)],'alias':_0x595913[_0xd17c81(0x11d)]+'_avg','distinct':![],'round':!![],'precision':0x2}),_0x48ced2[_0xd17c81(0x32d)]({'type':_0xd17c81(0x2bb),'column':_0x595913[_0xd17c81(0x11d)],'alias':_0x595913[_0xd17c81(0x11d)]+_0xd17c81(0x297),'distinct':![],'round':!![],'precision':0x2}),_0x48ced2['push']({'type':'min','column':_0x595913[_0xd17c81(0x11d)],'alias':_0x595913[_0xd17c81(0x11d)]+'_min','distinct':![],'round':!![],'precision':0x2});}else{if(_0x3917c5[_0xd17c81(0x26b)]>0x0){const _0x295540=_0x3917c5[0x0];_0x48ced2['push']({'type':'count','column':_0x295540[_0xd17c81(0x11d)],'alias':'total_count','distinct':!![]});}}const _0x3ee7f4=[];return _0x3917c5[_0xd17c81(0x26b)]>0x0&&_0x3ee7f4['push']({[_0x3917c5[0x0][_0xd17c81(0x11d)]]:'desc'}),{'where':_0x34eab7,'groupBy':_0x5a9945,'aggregate':_0x48ced2,'orderBy':_0x3ee7f4};}[a0_0x2d7fe0(0x24e)](_0x3b0d92,_0x3c9559){const _0x5c8f01=a0_0x2d7fe0,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3c9559||{},_0x573852=this['getName'](),_0x2ac13d=this[_0x5c8f01(0x189)](),_0x43e314=_0x30ec30=>{const _0x424630=_0x5c8f01;return JSON[_0x424630(0x2c3)](_0x30ec30,null,0x2)[_0x424630(0x192)]('\x0a')[_0x424630(0x20b)]((_0x5cf130,_0x39b14e)=>_0x39b14e===0x0?_0x5cf130:indent+_0x5cf130)[_0x424630(0x118)]('\x0a');};if(useFullExample){const _0x1e4c26=this[_0x5c8f01(0x230)][_0x5c8f01(0x124)]||[],_0x473023=_0x1e4c26[_0x5c8f01(0x16c)](_0x542792=>this['isNumericField'](_0x542792[_0x5c8f01(0x1eb)])),_0x4cb4d5={'where':_0x1e4c26[0x0]?{[_0x1e4c26[0x0][_0x5c8f01(0x11d)]]:{'$eq':this[_0x5c8f01(0x131)](_0x1e4c26[0x0],'$eq')}}:{},'aggregate':_0x473023[_0x5c8f01(0x26b)]>0x0?[{'type':_0x5c8f01(0x1d8),'column':_0x473023[0x0][_0x5c8f01(0x11d)],'alias':_0x473023[0x0]['code']+_0x5c8f01(0x248),'distinct':![],'round':!![],'precision':0x2}]:[{'type':'count','column':_0x1e4c26[0x0]?.[_0x5c8f01(0x11d)],'alias':_0x5c8f01(0x174),'distinct':!![]}],'orderBy':[{[_0x1e4c26[0x0]['code']]:'desc'}]};let _0x4da4ca='';return _0x1e4c26['length']>=0x3&&(_0x4da4ca=_0x5c8f01(0x21c)+_0x3b0d92+'.'+_0x573852+'('+_0x43e314(_0x2ac13d)+');'),_0x5c8f01(0x2ca)+_0x3b0d92+'.'+_0x573852+'('+_0x43e314(_0x4cb4d5)+');'+_0x4da4ca;}const _0x2461e3=JSON[_0x5c8f01(0x2c3)](_0x2ac13d,null,0x2)[_0x5c8f01(0x192)]('\x0a')[_0x5c8f01(0x20b)]((_0x2b8fbe,_0xb80aa5)=>_0xb80aa5===0x0?_0x2b8fbe:indent+_0x2b8fbe)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x3b0d92+'.'+_0x573852+'('+_0x2461e3+');';}['isNumericField'](_0x497321){const _0x23d97e=a0_0x2d7fe0,_0x173943=_0x497321[_0x23d97e(0x142)]();return[_0x23d97e(0x1fa),_0x23d97e(0x2b1),_0x23d97e(0x2c7),_0x23d97e(0x201)]['includes'](_0x173943);}[a0_0x2d7fe0(0x2a8)](_0x119bc2){const _0x4ceab8=a0_0x2d7fe0,_0x22b8f4=_0x119bc2[_0x4ceab8(0x142)](),_0x41b38b=[];if([_0x4ceab8(0x1fa),_0x4ceab8(0x2b1),_0x4ceab8(0x2c7),'DECIMAL'][_0x4ceab8(0x19e)](_0x22b8f4))_0x41b38b[_0x4ceab8(0x32d)]('$eq',_0x4ceab8(0x176),_0x4ceab8(0x1f0),_0x4ceab8(0x137),_0x4ceab8(0x14b),'$lteq','$in');else{if([_0x4ceab8(0x168),_0x4ceab8(0x1e2),'VARCHAR'][_0x4ceab8(0x19e)](_0x22b8f4))_0x41b38b[_0x4ceab8(0x32d)]('$eq','$ne',_0x4ceab8(0x2b0),_0x4ceab8(0x2f3),_0x4ceab8(0x1b6),_0x4ceab8(0x138));else{if(['DATE','DATETIME','TIMESTAMP'][_0x4ceab8(0x19e)](_0x22b8f4))_0x41b38b[_0x4ceab8(0x32d)](_0x4ceab8(0x1ff),_0x4ceab8(0x176),_0x4ceab8(0x1f0),_0x4ceab8(0x137),_0x4ceab8(0x14b),_0x4ceab8(0x1c3));else[_0x4ceab8(0x1d6),'BOOL'][_0x4ceab8(0x19e)](_0x22b8f4)?_0x41b38b[_0x4ceab8(0x32d)](_0x4ceab8(0x1ff),'$ne'):_0x41b38b[_0x4ceab8(0x32d)]('$eq',_0x4ceab8(0x176));}}return _0x41b38b;}[a0_0x2d7fe0(0x12f)](_0x2a5965,_0x2ebc6f){const _0x4d6017=a0_0x2d7fe0,_0x19cda7=_0x2a5965[_0x4d6017(0x142)]();if([_0x4d6017(0x1fa),_0x4d6017(0x2b1),'BIGINT',_0x4d6017(0x201)][_0x4d6017(0x19e)](_0x19cda7))return _0x2ebc6f['includes'](_0x4d6017(0x1f0))?_0x4d6017(0x1f0):_0x4d6017(0x1ff);if([_0x4d6017(0x168),_0x4d6017(0x1e2),_0x4d6017(0x11f)][_0x4d6017(0x19e)](_0x19cda7))return _0x2ebc6f[_0x4d6017(0x19e)](_0x4d6017(0x2f3))?_0x4d6017(0x2f3):_0x4d6017(0x1ff);if(['DATE',_0x4d6017(0x329),_0x4d6017(0x196)][_0x4d6017(0x19e)](_0x19cda7))return _0x2ebc6f[_0x4d6017(0x19e)]('$gte')?'$gte':_0x4d6017(0x1ff);return _0x4d6017(0x1ff);}[a0_0x2d7fe0(0x131)](_0x2aa5d3,_0x5ac682){const _0x2f7438=a0_0x2d7fe0,_0x292619=String(_0x2aa5d3[_0x2f7438(0x1eb)]||'')[_0x2f7438(0x142)]();if(_0x2aa5d3[_0x2f7438(0x13a)])try{const _0x35ca5e=typeof _0x2aa5d3['extend']===_0x2f7438(0x132)?JSON['parse'](_0x2aa5d3[_0x2f7438(0x13a)]):_0x2aa5d3[_0x2f7438(0x13a)];if(_0x35ca5e[_0x2f7438(0x2df)]&&Array[_0x2f7438(0x2f5)](_0x35ca5e[_0x2f7438(0x2df)])&&_0x35ca5e[_0x2f7438(0x2df)][_0x2f7438(0x26b)]>0x0){if(_0x5ac682===_0x2f7438(0x2b0))return _0x35ca5e['options']['slice'](0x0,0x2)[_0x2f7438(0x20b)](_0x47781b=>_0x47781b[_0x2f7438(0x1e4)]);return _0x35ca5e[_0x2f7438(0x2df)][0x0]['value'];}}catch{}if([_0x2f7438(0x1fa),'INTEGER','BIGINT',_0x2f7438(0x201)][_0x2f7438(0x19e)](_0x292619)){if(_0x5ac682===_0x2f7438(0x2b0))return[0x1,0x2,0x3];if(_0x5ac682===_0x2f7438(0x1f0)||_0x5ac682===_0x2f7438(0x14b))return 0x0;if(_0x5ac682===_0x2f7438(0x137)||_0x5ac682===_0x2f7438(0x1c3))return 0x64;return 0x1;}if([_0x2f7438(0x168),_0x2f7438(0x1e2),'VARCHAR'][_0x2f7438(0x19e)](_0x292619)){if(_0x5ac682==='$in')return[_0x2f7438(0x19c),'value2'];if(_0x5ac682===_0x2f7438(0x2f3))return _0x2f7438(0x241);if(_0x5ac682===_0x2f7438(0x1b6))return _0x2f7438(0x188);if(_0x5ac682==='$endWith')return'suffix';return _0x2f7438(0x1e4);}if([_0x2f7438(0x2a5),_0x2f7438(0x329),_0x2f7438(0x196)][_0x2f7438(0x19e)](_0x292619)){if(_0x5ac682===_0x2f7438(0x1f0)||_0x5ac682===_0x2f7438(0x14b))return _0x2f7438(0x220);if(_0x5ac682===_0x2f7438(0x137)||_0x5ac682===_0x2f7438(0x1c3))return'2024-12-31';return _0x2f7438(0x220);}if([_0x2f7438(0x1d6),_0x2f7438(0x12d)]['includes'](_0x292619))return!![];return _0x5ac682==='$in'?['value1',_0x2f7438(0x1b1)]:_0x2f7438(0x1e4);}[a0_0x2d7fe0(0x2a9)](){const _0x3bd5cd=a0_0x2d7fe0,_0x268672=super['getRequestParams'](),_0x3ed85c=Object[_0x3bd5cd(0x152)](_0x268672)['map'](([_0x2b3024,_0x305fbc])=>{const _0x562dcc=_0x3bd5cd,_0x5cf9cb=_0x305fbc;return{'name':_0x2b3024,'type':_0x5cf9cb['type']||_0x562dcc(0x1fe),'description':_0x5cf9cb[_0x562dcc(0x219)]||'-','required':_0x5cf9cb[_0x562dcc(0x27e)]};});return{'description':_0x3bd5cd(0x33c),'params':_0x3ed85c};}['generateResponseExample'](){const _0x4e89ea=a0_0x2d7fe0,_0xab3b=this[_0x4e89ea(0x189)]()['aggregate'],_0x54a1f1=[{}],_0x3768a4=[];return _0xab3b?.[_0x4e89ea(0x1f1)](_0x1f07fe=>{const _0x41f945=_0x4e89ea;_0x3768a4['push']({'title':_0x1f07fe[_0x41f945(0x334)],'dataIndex':_0x1f07fe[_0x41f945(0x334)]}),_0x54a1f1[0x0][_0x1f07fe[_0x41f945(0x334)]]=_0x1f07fe['type']===_0x41f945(0x2c5)?0x64:Math['round'](Math['random']()*0x64*0x64)/0x64;}),{'success':!![],'msg':'','errorMsg':'','errorCode':_0x4e89ea(0x28c),'data':{'paging':{'pageSize':0x1,'totalCount':0x64,'currentPage':0x1},'tableData':_0x54a1f1,'tableColumns':_0x3768a4},'params':null};}}class ExcelExportOperation extends GenericOperation{[a0_0x2d7fe0(0x2e3)](){const _0x33093f=a0_0x2d7fe0,_0x47d192=super[_0x33093f(0x2e3)]();if(Object[_0x33093f(0x26d)](_0x47d192)[_0x33093f(0x26b)]===0x0){const _0x4e0bf5={};return this[_0x33093f(0x230)][_0x33093f(0x124)][_0x33093f(0x1f1)](_0x10ae1c=>{const _0x463178=_0x33093f;_0x10ae1c&&_0x10ae1c[_0x463178(0x11d)]&&(_0x4e0bf5[_0x10ae1c[_0x463178(0x11d)]]={'type':_0x10ae1c['type']||_0x463178(0x1e2),'sortNum':_0x10ae1c[_0x463178(0x10e)],'description':_0x10ae1c[_0x463178(0x219)]||_0x10ae1c[_0x463178(0x14d)]});}),_0x4e0bf5['currentPage']={'type':'Integer','description':_0x33093f(0x25b)},_0x4e0bf5[_0x33093f(0x2ff)]={'type':'Integer','description':_0x33093f(0x171)},_0x4e0bf5;}return _0x47d192;}['generateRequestExample'](){const _0x10fbf1=a0_0x2d7fe0,_0x53f58e=super[_0x10fbf1(0x189)]();if(Object[_0x10fbf1(0x26d)](_0x53f58e)[_0x10fbf1(0x26b)]===0x0)return{'currentPage':0x1,'pageSize':0x64};return{..._0x53f58e,'currentPage':_0x53f58e[_0x10fbf1(0x2ad)]??0x1,'pageSize':_0x53f58e['pageSize']??0x64};}[a0_0x2d7fe0(0x12e)](){const _0x5bd6dd=a0_0x2d7fe0;return{'success':!![],'msg':'','errorMsg':'','errorCode':'0000','data':_0x5bd6dd(0x204),'params':null};}[a0_0x2d7fe0(0x24e)](_0x5b71ab,_0x3aadb7){const _0x2dbdb4=a0_0x2d7fe0,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3aadb7||{},_0x45fbcb=this[_0x2dbdb4(0x1b4)]();if(useFullExample){const _0x2236ba=this[_0x2dbdb4(0x189)](),{currentPage:_0x5ecd4b,pageSize:_0x159624,..._0x14958d}=_0x2236ba,_0x5676ae=Object[_0x2dbdb4(0x26d)](_0x14958d)[_0x2dbdb4(0x26b)]>0x0;if(_0x5676ae){const _0x1b97d1=_0x4ecb24=>{const _0x3e0029=_0x2dbdb4;return JSON[_0x3e0029(0x2c3)](_0x4ecb24,null,0x2)[_0x3e0029(0x192)]('\x0a')[_0x3e0029(0x20b)]((_0xd37c49,_0x33d159)=>_0x33d159===0x0?_0xd37c49:indent+_0xd37c49)['join']('\x0a');};return _0x2dbdb4(0x1e7)+_0x5b71ab+'.'+_0x45fbcb+_0x2dbdb4(0x117)+_0x5b71ab+'.'+_0x45fbcb+'('+_0x1b97d1(_0x2236ba)+');';}else{const _0x211e98=_0x50add2=>{const _0x2d2326=_0x2dbdb4;return JSON[_0x2d2326(0x2c3)](_0x50add2,null,0x2)[_0x2d2326(0x192)]('\x0a')[_0x2d2326(0x20b)]((_0xbdf151,_0x509e7a)=>_0x509e7a===0x0?_0xbdf151:indent+_0xbdf151)[_0x2d2326(0x118)]('\x0a');};return _0x2dbdb4(0x1e7)+_0x5b71ab+'.'+_0x45fbcb+'();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5b71ab+'.'+_0x45fbcb+'('+_0x211e98({'currentPage':0x1,'pageSize':0x64})+');';}}return _0x2dbdb4(0x2dd)+_0x5b71ab+'.'+_0x45fbcb+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}['generateUsageExample'](_0x434972){const _0x5e3e95=a0_0x2d7fe0,_0x48d5ad=this[_0x5e3e95(0x1b4)](),_0x1dc44c=_0x5e3e95(0x145)+_0x434972+'.'+_0x48d5ad+_0x5e3e95(0x1c5),_0x4549a2='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x434972+'.'+_0x48d5ad+'();\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':_0x1dc44c,'errorCode':_0x4549a2};}}class UpdateOperation extends GenericOperation{[a0_0x2d7fe0(0x1c8)](){const _0x5c8f83=a0_0x2d7fe0;return this[_0x5c8f83(0x14e)]();}['getRequestParams'](){const _0x562f0c=a0_0x2d7fe0,_0x275c78=this['getUpdateFields']();return{'id':{'type':_0x562f0c(0x1fa),'description':_0x562f0c(0x114),'required':!![]},'data':{'type':_0x562f0c(0x1f2),'description':_0x562f0c(0x259),'required':!![],'properties':_0x275c78}};}[a0_0x2d7fe0(0x15c)](){return this['getUpdateFields']();}[a0_0x2d7fe0(0x2a9)](){const _0x1d9f59=a0_0x2d7fe0,_0x3876aa=this[_0x1d9f59(0x1c8)](),_0x1773d0=Object[_0x1d9f59(0x152)](_0x3876aa)[_0x1d9f59(0x20b)](([_0xce9543,_0xe16b3])=>{const _0x2c4d84=_0x1d9f59,_0x548e82=_0xe16b3;return{'name':_0xce9543,'type':_0x548e82[_0x2c4d84(0x1eb)]||_0x2c4d84(0x1fe),'description':_0x548e82[_0x2c4d84(0x219)]||'-'};});return{'description':_0x1d9f59(0x2f7)+'**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a'+_0x1d9f59(0x160)+_0x1d9f59(0x13e)+_0x1d9f59(0x2c1)+'**可更新的字段列表:**','params':_0x1773d0};}[a0_0x2d7fe0(0x189)](){const _0x17e437=a0_0x2d7fe0,_0x1b17f6=this['getUpdateFields'](),_0x18c852={};return Object['entries'](_0x1b17f6)[_0x17e437(0x1f1)](([_0x180f60,_0x339d75])=>{const _0x4a7ce7=_0x17e437,_0x3372e7=_0x339d75;let _0x1f8b55;if(typeof _0x3372e7[_0x4a7ce7(0x1eb)]===_0x4a7ce7(0x132))_0x1f8b55=_0x3372e7[_0x4a7ce7(0x1eb)];else _0x3372e7[_0x4a7ce7(0x1eb)]&&typeof _0x3372e7['type']===_0x4a7ce7(0x1f2)?_0x1f8b55=_0x3372e7[_0x4a7ce7(0x1eb)][_0x4a7ce7(0x1eb)]||_0x4a7ce7(0x1e2):_0x1f8b55=_0x4a7ce7(0x1e2);const _0x1cde5d=_0x3372e7['description'],_0x4da589=this[_0x4a7ce7(0x33a)](_0x180f60);_0x18c852[_0x180f60]=this['generateFieldExample'](_0x180f60,_0x1f8b55,typeof _0x4da589?.['dbType']===_0x4a7ce7(0x132)?_0x4da589[_0x4a7ce7(0x17b)]:undefined,{'isPrimaryKey':![],'description':_0x1cde5d||_0x4da589?.[_0x4a7ce7(0x219)]||_0x4da589?.['name']});}),{'id':0x1,'data':_0x18c852};}['generateRequestAllExamples'](){const _0x5118e9=a0_0x2d7fe0,_0x3a03bd=this[_0x5118e9(0x189)]();return[{'title':_0x5118e9(0x166),'description':_0x5118e9(0x2dc)+'-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a'+_0x5118e9(0x264),'data':_0x3a03bd}];}[a0_0x2d7fe0(0x24e)](_0x308b70,_0x4b8bce){const _0xa5d2cb=a0_0x2d7fe0,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4b8bce||{},_0xb693a2=this[_0xa5d2cb(0x1b4)]();if(useFullExample){const _0x3a4840=this[_0xa5d2cb(0x189)](),_0x366f1d=JSON[_0xa5d2cb(0x2c3)](_0x3a4840[_0xa5d2cb(0x2a7)],null,0x2)[_0xa5d2cb(0x192)]('\x0a')[_0xa5d2cb(0x20b)]((_0x40afb0,_0x3459ed)=>_0x3459ed===0x0?_0x40afb0:indent+_0x40afb0)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x308b70+'.'+_0xb693a2+'('+_0x3a4840['id']+',\x20'+_0x366f1d+');';}return _0xa5d2cb(0x2f9)+_0x308b70+'.'+_0xb693a2+_0xa5d2cb(0x240);}}class OperationFactory{[a0_0x2d7fe0(0x2e5)](_0x4cfa00,_0x665bf5,_0x586b8d){const _0x5172db=a0_0x2d7fe0;switch(_0x4cfa00){case _0x5172db(0x183):return new GetSelectOptionsOperation(_0x4cfa00,_0x665bf5,_0x586b8d);case _0x5172db(0x2ab):return new GetListOperation(_0x4cfa00,_0x665bf5,_0x586b8d);case _0x5172db(0x16c):return new FilterOperation(_0x4cfa00,_0x665bf5,_0x586b8d);case'excelExport':return new ExcelExportOperation(_0x4cfa00,_0x665bf5,_0x586b8d);case'update':return new UpdateOperation(_0x4cfa00,_0x665bf5,_0x586b8d);case _0x5172db(0x1a6):return new AggregateOperation(_0x4cfa00,_0x665bf5,_0x586b8d);default:return new GenericOperation(_0x4cfa00,_0x665bf5,_0x586b8d);}}[a0_0x2d7fe0(0x242)](_0x3f72c7,_0x2c9ddd){const _0x382896=a0_0x2d7fe0,_0x3436bd=new Map();return Object[_0x382896(0x152)](_0x3f72c7)[_0x382896(0x1f1)](([_0x436c9d,_0xf5a56e])=>{const _0xe2e1fe=_0x382896;_0x3436bd[_0xe2e1fe(0x18d)](_0x436c9d,this[_0xe2e1fe(0x2e5)](_0x436c9d,_0xf5a56e,_0x2c9ddd));}),_0x3436bd;}}class OperationList{[a0_0x2d7fe0(0x30d)];constructor(_0x5637dd,_0x28993c){const _0x4d4462=a0_0x2d7fe0,_0x4b1d14=new OperationFactory();this[_0x4d4462(0x30d)]=_0x4b1d14[_0x4d4462(0x242)](_0x5637dd,_0x28993c);}[a0_0x2d7fe0(0x30f)](_0xc9e2b4){const _0x15174f=a0_0x2d7fe0;return this[_0x15174f(0x30d)][_0x15174f(0x30f)](_0xc9e2b4);}[a0_0x2d7fe0(0x214)](_0x475f11){const _0x5b1a47=a0_0x2d7fe0;return this[_0x5b1a47(0x30d)][_0x5b1a47(0x214)](_0x475f11);}[a0_0x2d7fe0(0x135)](){const _0x32451e=a0_0x2d7fe0;return this[_0x32451e(0x30d)][_0x32451e(0x135)];}[a0_0x2d7fe0(0x307)](){const _0x5f328f=a0_0x2d7fe0;return Array['from'](this[_0x5f328f(0x30d)][_0x5f328f(0x26d)]());}[a0_0x2d7fe0(0x167)](){const _0xd1098d=a0_0x2d7fe0,_0x1682ab=Array[_0xd1098d(0x1ea)](this['_operations'][_0xd1098d(0x2a4)]());return this[_0xd1098d(0x123)](_0x1682ab);}[a0_0x2d7fe0(0x1a7)](){const _0x527498=a0_0x2d7fe0;return this[_0x527498(0x167)]()['filter'](_0x5d7c8b=>_0x5d7c8b[_0x527498(0x1cc)]());}['getDisabled'](){const _0x112a8c=a0_0x2d7fe0;return this[_0x112a8c(0x167)]()['filter'](_0x2fd494=>!_0x2fd494['isEnabled']());}[a0_0x2d7fe0(0x285)](){const _0xe0f4d8=a0_0x2d7fe0;return this[_0xe0f4d8(0x1a7)]()[_0xe0f4d8(0x20b)](_0x681ed7=>_0x681ed7[_0xe0f4d8(0x1b4)]());}['getDisabledNames'](){const _0x4db5a1=a0_0x2d7fe0;return this[_0x4db5a1(0x305)]()['map'](_0x3d177b=>_0x3d177b[_0x4db5a1(0x1b4)]());}['getByType'](_0x45f98f){const _0x419ec3=a0_0x2d7fe0;return this[_0x419ec3(0x167)]()[_0x419ec3(0x16c)](_0x3cc0af=>_0x3cc0af['getType']()===_0x45f98f);}[a0_0x2d7fe0(0x16c)](_0x2d3a99){const _0x5e09a7=a0_0x2d7fe0;return this[_0x5e09a7(0x167)]()['filter'](_0x2d3a99);}[a0_0x2d7fe0(0x1fb)](_0x519873={}){const _0x39576a=a0_0x2d7fe0;let _0x1c005f=this['toArray']();!_0x519873[_0x39576a(0x277)]&&(_0x1c005f=_0x1c005f[_0x39576a(0x16c)](_0x14fd64=>_0x14fd64[_0x39576a(0x1cc)]()));if(_0x519873['filterBlacklist']!==![]){const _0x56b865=_0x1c005f[_0x39576a(0x20b)](_0x5e1a59=>({'name':_0x5e1a59[_0x39576a(0x1b4)](),'operation':_0x5e1a59})),_0x5c6767=filterApiOperations(_0x56b865);_0x1c005f=_0x5c6767[_0x39576a(0x20b)](_0x351a8f=>_0x351a8f[_0x39576a(0x199)]),_0x1c005f=this['sortOperationsWithFilterFirst'](_0x1c005f);}return _0x519873[_0x39576a(0x2d7)]&&(_0x1c005f=_0x1c005f[_0x39576a(0x16c)](_0x519873['customFilter'])),_0x1c005f;}[a0_0x2d7fe0(0x123)](_0xb305a3){const _0xc23681=a0_0x2d7fe0,_0x4153dd=_0xb305a3['find'](_0x6dd368=>_0x6dd368['getName']()===_0xc23681(0x16c)),_0x544027=_0xb305a3['filter'](_0x493ae0=>_0x493ae0[_0xc23681(0x1b4)]()!=='filter');return _0x4153dd?[_0x4153dd,..._0x544027]:_0x544027;}[a0_0x2d7fe0(0x182)](){const _0x495b74=a0_0x2d7fe0,_0x3e183c=this[_0x495b74(0x1a7)]();return{'total':this[_0x495b74(0x135)](),'enabled':_0x3e183c[_0x495b74(0x26b)],'disabled':this[_0x495b74(0x135)]()-_0x3e183c[_0x495b74(0x26b)],'byType':this[_0x495b74(0x1f9)](_0x3e183c),'byMethod':this[_0x495b74(0x2c6)](_0x3e183c)};}[a0_0x2d7fe0(0x1f9)](_0x57e932){const _0x209938={};return _0x57e932['forEach'](_0x12d015=>{const _0x1bad23=a0_0x56ae,_0x507ad0=_0x12d015[_0x1bad23(0x293)]();_0x507ad0&&(_0x209938[_0x507ad0]=(_0x209938[_0x507ad0]||0x0)+0x1);}),_0x209938;}[a0_0x2d7fe0(0x2c6)](_0x496c7d){const _0x1ba4da=a0_0x2d7fe0,_0x5f0f36={};return _0x496c7d[_0x1ba4da(0x1f1)](_0x12cfd7=>{const _0x485bf0=_0x1ba4da,_0x463ae3=_0x12cfd7[_0x485bf0(0x336)]();_0x463ae3&&(_0x5f0f36[_0x463ae3]=(_0x5f0f36[_0x463ae3]||0x0)+0x1);}),_0x5f0f36;}[Symbol[a0_0x2d7fe0(0x18e)]](){const _0x223b08=a0_0x2d7fe0;return this[_0x223b08(0x30d)][_0x223b08(0x2a4)]();}['toString'](){const _0xa002e9=a0_0x2d7fe0,_0x11692c=this[_0xa002e9(0x182)]();return'OperationList('+_0x11692c[_0xa002e9(0x1e9)]+'/'+_0x11692c[_0xa002e9(0x33e)]+_0xa002e9(0x314);}}class Field{['_raw'];[a0_0x2d7fe0(0x223)]=null;constructor(_0x202398){if(!_0x202398||typeof _0x202398!=='object')throw new Error('[Field]\x20Invalid\x20field\x20definition');this['_raw']=_0x202398;}get[a0_0x2d7fe0(0x2d9)](){return this['_raw'];}['toFieldDefinition'](){return this['_raw'];}get[a0_0x2d7fe0(0x14d)](){const _0x3f9c0f=a0_0x2d7fe0;return this[_0x3f9c0f(0x2b6)]['name']||'';}get[a0_0x2d7fe0(0x11d)](){const _0x237330=a0_0x2d7fe0;return this[_0x237330(0x2b6)][_0x237330(0x11d)]||'';}get['type'](){const _0x2ea4d8=a0_0x2d7fe0;return this[_0x2ea4d8(0x2b6)][_0x2ea4d8(0x1eb)]||'';}get[a0_0x2d7fe0(0x219)](){return this['_raw']['description']||'';}get[a0_0x2d7fe0(0x29c)](){const _0x7a7a6a=a0_0x2d7fe0;return Boolean(this[_0x7a7a6a(0x2b6)][_0x7a7a6a(0x29c)]);}get[a0_0x2d7fe0(0x13a)](){const _0xbac1b5=a0_0x2d7fe0;if(this[_0xbac1b5(0x223)]!==null&&typeof this[_0xbac1b5(0x223)]===_0xbac1b5(0x1f2))return this[_0xbac1b5(0x223)];const _0x2fa0a1=this['_raw'][_0xbac1b5(0x13a)];if(!_0x2fa0a1||typeof _0x2fa0a1!=='string')return this[_0xbac1b5(0x223)]={},this[_0xbac1b5(0x223)];if(_0x2fa0a1===_0xbac1b5(0x29f)||_0x2fa0a1[_0xbac1b5(0x26e)]()===_0xbac1b5(0x29f))return this[_0xbac1b5(0x223)]={},this[_0xbac1b5(0x223)];try{const _0x57b5c7=JSON[_0xbac1b5(0x28f)](_0x2fa0a1);return this[_0xbac1b5(0x223)]=_0x57b5c7!==null&&typeof _0x57b5c7==='object'&&!Array[_0xbac1b5(0x2f5)](_0x57b5c7)?_0x57b5c7:{},this['_extend'];}catch(_0x5ef124){return!![]&&console[_0xbac1b5(0x235)]('[Field.extend]\x20解析字段\x20'+this[_0xbac1b5(0x11d)]+_0xbac1b5(0x13c),_0x5ef124),this[_0xbac1b5(0x223)]={},this[_0xbac1b5(0x223)];}}[a0_0x2d7fe0(0x2e9)](){return Boolean(this['extend']['required']);}['isPrimaryKey'](){const _0x5c1d3f=a0_0x2d7fe0;return Boolean(this[_0x5c1d3f(0x13a)][_0x5c1d3f(0x2da)]);}[a0_0x2d7fe0(0x20c)](){const _0x141f1f=a0_0x2d7fe0;return Boolean(this[_0x141f1f(0x13a)][_0x141f1f(0x2b9)]);}[a0_0x2d7fe0(0x1bf)](){const _0x4e7ae3=a0_0x2d7fe0;return!this[_0x4e7ae3(0x20c)]();}['isDeleted'](){const _0x58d0e3=a0_0x2d7fe0;return this[_0x58d0e3(0x29c)];}['isAutoIncrement'](){const _0xf80791=a0_0x2d7fe0;return Boolean(this['extend'][_0xf80791(0x217)]);}['isCreateTime'](){const _0x31eec0=a0_0x2d7fe0;return Boolean(this[_0x31eec0(0x13a)][_0x31eec0(0x233)]);}[a0_0x2d7fe0(0x28a)](){const _0x5cc4f=a0_0x2d7fe0;return Boolean(this[_0x5cc4f(0x13a)][_0x5cc4f(0x1c7)]);}[a0_0x2d7fe0(0x2fc)](){const _0x26d4b3=a0_0x2d7fe0,_0x4f2349=[_0x26d4b3(0x1cb),_0x26d4b3(0x212),_0x26d4b3(0x328)];return _0x4f2349['includes'](this[_0x26d4b3(0x1eb)]);}['isMultipleSelect'](){const _0x561932=a0_0x2d7fe0;return this[_0x561932(0x1eb)]==='CHECKBOX';}[a0_0x2d7fe0(0x12c)](){const _0xf26982=a0_0x2d7fe0,_0x5df301=this[_0xf26982(0x13a)];if(_0x5df301['options']&&Array['isArray'](_0x5df301[_0xf26982(0x2df)]))return _0x5df301['options'];return;}[a0_0x2d7fe0(0x115)](){const _0x3750f8=a0_0x2d7fe0,_0x4f9141=this['extend'];if(_0x4f9141[_0x3750f8(0x190)]&&typeof _0x4f9141[_0x3750f8(0x190)]==='object')return _0x4f9141['selectItemsSource'];return;}[a0_0x2d7fe0(0x247)](){const _0x58701f=a0_0x2d7fe0;if(!this[_0x58701f(0x2fc)]())return;const _0x166f1a=this[_0x58701f(0x12c)](),_0x104bce=this[_0x58701f(0x115)](),_0x4afa8a=[],_0x2752ba={},_0x3419cb=_0x538ec2=>{const _0x4c303f=_0x58701f;_0x538ec2[_0x4c303f(0x1f1)](_0x4303ae=>{const _0x146624=_0x4c303f;_0x4afa8a[_0x146624(0x32d)](_0x4303ae[_0x146624(0x1e4)]),_0x2752ba[String(_0x4303ae['value'])]=_0x4303ae[_0x146624(0x202)],_0x4303ae[_0x146624(0x222)]&&_0x4303ae[_0x146624(0x222)]['length']>0x0&&_0x3419cb(_0x4303ae[_0x146624(0x222)]);});};return _0x166f1a&&_0x166f1a[_0x58701f(0x26b)]>0x0&&_0x3419cb(_0x166f1a),{'code':this[_0x58701f(0x11d)],'name':this[_0x58701f(0x14d)],'type':this[_0x58701f(0x1eb)],'multiple':this['isMultipleSelect'](),'options':_0x166f1a,'selectItemsSource':_0x104bce,'values':_0x4afa8a,'valueLabels':_0x2752ba};}[a0_0x2d7fe0(0x2aa)](){const _0x526429=a0_0x2d7fe0;return this[_0x526429(0x13a)][_0x526429(0x2b5)];}[a0_0x2d7fe0(0x2a6)](){const _0x54e58e=a0_0x2d7fe0;return this[_0x54e58e(0x13a)][_0x54e58e(0x24f)];}['toJSON'](){const _0x34b7ef=a0_0x2d7fe0;return{'name':this[_0x34b7ef(0x14d)],'code':this[_0x34b7ef(0x11d)],'type':this[_0x34b7ef(0x1eb)],'description':this[_0x34b7ef(0x219)],'required':this[_0x34b7ef(0x2e9)](),'primaryKey':this[_0x34b7ef(0x21d)](),'system':this[_0x34b7ef(0x20c)](),'autoIncrement':this[_0x34b7ef(0x2e4)](),'createTime':this[_0x34b7ef(0x1d4)](),'updateTime':this[_0x34b7ef(0x28a)](),'isEnum':this[_0x34b7ef(0x2fc)](),'enumMeta':this[_0x34b7ef(0x2fc)]()?this[_0x34b7ef(0x247)]():undefined};}}class FieldList{[a0_0x2d7fe0(0x120)];constructor(_0x319002,_0x37aa75){const _0x5b3c3c=a0_0x2d7fe0;if(!Array[_0x5b3c3c(0x2f5)](_0x319002))throw new Error(_0x5b3c3c(0x2d3));const _0x1938b2=_0x37aa75?.[_0x5b3c3c(0x25c)]??![],_0x1275b5=_0x1938b2?_0x319002:_0x319002[_0x5b3c3c(0x16c)](_0x17bda4=>!_0x17bda4[_0x5b3c3c(0x29c)]);this[_0x5b3c3c(0x120)]=_0x1275b5[_0x5b3c3c(0x20b)](_0x42e98c=>new Field(_0x42e98c));}get[a0_0x2d7fe0(0x26b)](){const _0x3c12d2=a0_0x2d7fe0;return this['_fields'][_0x3c12d2(0x26b)];}[a0_0x2d7fe0(0x10a)](){const _0x3375e1=a0_0x2d7fe0;return[...this[_0x3375e1(0x120)]];}[a0_0x2d7fe0(0x2d9)](){const _0x5433a2=a0_0x2d7fe0;return this[_0x5433a2(0x120)][_0x5433a2(0x20b)](_0x2d7492=>_0x2d7492['raw']);}['at'](_0x2e597b){const _0x3aa900=a0_0x2d7fe0;return this[_0x3aa900(0x120)]['at'](_0x2e597b);}[a0_0x2d7fe0(0x304)](_0x3a117b){const _0x520fcb=a0_0x2d7fe0;return this[_0x520fcb(0x120)][_0x520fcb(0x304)](_0x4486ec=>_0x4486ec['code']===_0x3a117b);}[a0_0x2d7fe0(0x1e8)](_0x4b704f){const _0x4a29b5=a0_0x2d7fe0;return this[_0x4a29b5(0x120)][_0x4a29b5(0x304)](_0x26e637=>_0x26e637[_0x4a29b5(0x14d)]===_0x4b704f);}['has'](_0x5b6bba){const _0x185eea=a0_0x2d7fe0;return this['_fields'][_0x185eea(0x161)](_0x473092=>_0x473092[_0x185eea(0x11d)]===_0x5b6bba);}[a0_0x2d7fe0(0x1f1)](_0xf437ff){const _0x2e601e=a0_0x2d7fe0;this[_0x2e601e(0x120)][_0x2e601e(0x1f1)](_0xf437ff);}[a0_0x2d7fe0(0x20b)](_0x59c018){const _0x440ba0=a0_0x2d7fe0;return this[_0x440ba0(0x120)]['map'](_0x59c018);}[a0_0x2d7fe0(0x16c)](_0x12122e){const _0x20cfe7=a0_0x2d7fe0;return this['_fields'][_0x20cfe7(0x16c)](_0x12122e);}['every'](_0x2aa9b7){const _0x58ad8b=a0_0x2d7fe0;return this[_0x58ad8b(0x120)][_0x58ad8b(0x1ef)](_0x2aa9b7);}[a0_0x2d7fe0(0x161)](_0x57740a){const _0x8e8ef8=a0_0x2d7fe0;return this['_fields'][_0x8e8ef8(0x161)](_0x57740a);}['getRequired'](){const _0x12f384=a0_0x2d7fe0;return this[_0x12f384(0x120)]['filter'](_0x1a0e0a=>_0x1a0e0a[_0x12f384(0x2e9)]());}[a0_0x2d7fe0(0x263)](){const _0x34c906=a0_0x2d7fe0;return this[_0x34c906(0x120)]['filter'](_0x44ea03=>_0x44ea03['isPrimaryKey']());}[a0_0x2d7fe0(0x1f6)](){const _0x21261=a0_0x2d7fe0;return this['_fields'][_0x21261(0x16c)](_0x4e3bad=>_0x4e3bad['isSystem']());}[a0_0x2d7fe0(0x287)](){const _0x15512b=a0_0x2d7fe0;return this[_0x15512b(0x120)][_0x15512b(0x16c)](_0x41f00e=>_0x41f00e[_0x15512b(0x1bf)]());}[a0_0x2d7fe0(0x31c)](){const _0x2ee397=a0_0x2d7fe0;return this['_fields'][_0x2ee397(0x16c)](_0x1a445f=>_0x1a445f['isEnum']());}[a0_0x2d7fe0(0x31e)](){const _0x1ea866=a0_0x2d7fe0;return this[_0x1ea866(0x120)][_0x1ea866(0x16c)](_0x51af63=>_0x51af63[_0x1ea866(0x2e4)]());}[a0_0x2d7fe0(0x296)](){const _0xcb7583=a0_0x2d7fe0;return this[_0xcb7583(0x120)][_0xcb7583(0x16c)](_0x487d96=>_0x487d96[_0xcb7583(0x1d4)]());}[a0_0x2d7fe0(0x173)](){const _0x4bb71e=a0_0x2d7fe0;return this[_0x4bb71e(0x120)][_0x4bb71e(0x16c)](_0x55a3b9=>_0x55a3b9[_0x4bb71e(0x28a)]());}[a0_0x2d7fe0(0x2f2)](){const _0x4a4471=a0_0x2d7fe0;return this[_0x4a4471(0x120)]['filter'](_0x2c4642=>_0x2c4642[_0x4a4471(0x2ec)]());}[a0_0x2d7fe0(0x1c4)](){const _0x2233e4=a0_0x2d7fe0;return this[_0x2233e4(0x120)][_0x2233e4(0x16c)](_0x2405cd=>!_0x2405cd[_0x2233e4(0x2ec)]());}[a0_0x2d7fe0(0x1ee)](){const _0x3c1f09=a0_0x2d7fe0,_0x5c2299={};return this['_fields'][_0x3c1f09(0x1f1)](_0x5c6d9a=>{const _0x2f1cb6=_0x5c6d9a['type'];!_0x5c2299[_0x2f1cb6]&&(_0x5c2299[_0x2f1cb6]=[]),_0x5c2299[_0x2f1cb6]['push'](_0x5c6d9a);}),_0x5c2299;}[a0_0x2d7fe0(0x2d0)](){const _0x4f99a3=a0_0x2d7fe0,_0x53cd85={};return this['_fields'][_0x4f99a3(0x1f1)](_0x153413=>{const _0x1f4a03=_0x4f99a3;if(_0x153413[_0x1f4a03(0x2fc)]()){const _0x9c2a39=_0x153413[_0x1f4a03(0x247)]();_0x9c2a39&&(_0x53cd85[_0x153413[_0x1f4a03(0x11d)]]=_0x9c2a39);}}),_0x53cd85;}['getStats'](){const _0x1d68a8=a0_0x2d7fe0;return{'total':this[_0x1d68a8(0x26b)],'required':this[_0x1d68a8(0x33d)]()['length'],'primaryKey':this[_0x1d68a8(0x263)]()[_0x1d68a8(0x26b)],'system':this[_0x1d68a8(0x1f6)]()[_0x1d68a8(0x26b)],'business':this[_0x1d68a8(0x287)]()[_0x1d68a8(0x26b)],'enum':this['getEnum']()[_0x1d68a8(0x26b)],'autoIncrement':this['getAutoIncrement']()[_0x1d68a8(0x26b)]};}[a0_0x2d7fe0(0x1d3)](){const _0x47d9a1=a0_0x2d7fe0;return this['_fields'][_0x47d9a1(0x20b)](_0x104131=>_0x104131[_0x47d9a1(0x1d3)]());}['getCodes'](){const _0x42f100=a0_0x2d7fe0;return this[_0x42f100(0x120)][_0x42f100(0x20b)](_0x108e3f=>_0x108e3f[_0x42f100(0x11d)]);}[a0_0x2d7fe0(0x307)](){const _0x55a482=a0_0x2d7fe0;return this[_0x55a482(0x120)][_0x55a482(0x20b)](_0x4f90c3=>_0x4f90c3[_0x55a482(0x14d)]);}static['from'](_0x1bccb6){const _0x1eb998=a0_0x2d7fe0,_0x6e9dfd=_0x1bccb6['map'](_0x35c566=>_0x35c566[_0x1eb998(0x2d9)]);return new FieldList(_0x6e9dfd);}static[a0_0x2d7fe0(0x243)](_0xb0de9e){return new FieldList(_0xb0de9e,{'includeDeleted':!![]});}}class DrivenDataDetail extends DatasetItem{['_operationList'];[a0_0x2d7fe0(0x1aa)];[a0_0x2d7fe0(0x325)];constructor(_0x20861c){const _0x1fbc9f=a0_0x2d7fe0;super({..._0x20861c,'id':_0x20861c[_0x1fbc9f(0x237)],'datasetCode':_0x20861c['modelCode']});}get['source'](){const _0x225103=a0_0x2d7fe0;return this[_0x225103(0x2b6)][_0x225103(0x227)];}[a0_0x2d7fe0(0x2fb)](){return this['source'];}get[a0_0x2d7fe0(0x144)](){const _0x114947=a0_0x2d7fe0;return this[_0x114947(0x2b6)][_0x114947(0x144)];}[a0_0x2d7fe0(0x27c)](){const _0x250c5e=a0_0x2d7fe0;return!this[_0x250c5e(0x1aa)]&&(this[_0x250c5e(0x1aa)]=new FieldList(this[_0x250c5e(0x2b6)][_0x250c5e(0x257)]||[])),this['_fieldList'];}[a0_0x2d7fe0(0x288)](){const _0x2ede68=a0_0x2d7fe0;return!this[_0x2ede68(0x325)]&&(this['_fieldListWithDeleted']=FieldList[_0x2ede68(0x243)](this[_0x2ede68(0x2b6)][_0x2ede68(0x257)]||[])),this['_fieldListWithDeleted'];}[a0_0x2d7fe0(0x21b)](){return this['getFieldList']()['raw']();}[a0_0x2d7fe0(0x24a)](){const _0x54deb6=a0_0x2d7fe0;return this[_0x54deb6(0x2b6)][_0x54deb6(0x257)]||[];}[a0_0x2d7fe0(0x210)](){const _0xf23d97=a0_0x2d7fe0;return this[_0xf23d97(0x27c)]()['length'];}[a0_0x2d7fe0(0x2e2)](_0x425f77){const _0x4c1e6b=a0_0x2d7fe0,_0x508ad4=this[_0x4c1e6b(0x1a5)](_0x425f77);return _0x508ad4?_0x508ad4[_0x4c1e6b(0x2d9)]:undefined;}['getFieldRaw'](_0x402366){return this['getFieldList']()['find'](_0x402366)?.['raw']||undefined;}[a0_0x2d7fe0(0x1a5)](_0xa63325){const _0x39888e=a0_0x2d7fe0;if(typeof _0xa63325!==_0x39888e(0x132)){!![]&&console[_0x39888e(0x235)](_0x39888e(0x1ec),_0xa63325);return;}return this[_0x39888e(0x27c)]()[_0x39888e(0x304)](_0xa63325);}['hasField'](_0x319470){const _0x50dbef=a0_0x2d7fe0;return this['getFieldList']()[_0x50dbef(0x214)](_0x319470);}[a0_0x2d7fe0(0x2c2)](_0x178bff){const _0x451189=a0_0x2d7fe0;if(!_0x178bff||typeof _0x178bff!==_0x451189(0x1f2))return!![]&&console[_0x451189(0x235)]('[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:',_0x178bff),{};if(!_0x178bff['extend'])return{};try{const _0x253669=typeof _0x178bff[_0x451189(0x13a)]===_0x451189(0x132)?JSON[_0x451189(0x28f)](_0x178bff[_0x451189(0x13a)]):_0x178bff[_0x451189(0x13a)];if(typeof _0x253669!==_0x451189(0x1f2)||_0x253669===null)return{};return _0x253669;}catch{return{};}}[a0_0x2d7fe0(0x10d)](_0x708050){const _0x3e59a9=a0_0x2d7fe0;if(!_0x708050||typeof _0x708050!=='object')return![];const _0x4dd146=this[_0x3e59a9(0x27c)]()[_0x3e59a9(0x304)](_0x708050['code']);return _0x4dd146?_0x4dd146['isPrimaryKey']():![];}[a0_0x2d7fe0(0x147)](_0x458e3f){const _0x2ccc48=a0_0x2d7fe0;if(!_0x458e3f||typeof _0x458e3f!==_0x2ccc48(0x1f2))return![];const _0x9e31b0=this[_0x2ccc48(0x27c)]()[_0x2ccc48(0x304)](_0x458e3f[_0x2ccc48(0x11d)]);return _0x9e31b0?_0x9e31b0[_0x2ccc48(0x20c)]():![];}[a0_0x2d7fe0(0x213)](_0x39fd8e){const _0x70f275=a0_0x2d7fe0;if(!_0x39fd8e||typeof _0x39fd8e!==_0x70f275(0x1f2))return![];const _0x41ee15=this[_0x70f275(0x27c)]()[_0x70f275(0x304)](_0x39fd8e[_0x70f275(0x11d)]);return _0x41ee15?_0x41ee15[_0x70f275(0x2e9)]():![];}[a0_0x2d7fe0(0x272)](){const _0x4c95c0=a0_0x2d7fe0;return this[_0x4c95c0(0x27c)]()[_0x4c95c0(0x263)]()['map'](_0x30feb1=>_0x30feb1[_0x4c95c0(0x2d9)]);}[a0_0x2d7fe0(0x1ed)](){const _0x5e4b0d=a0_0x2d7fe0;return this[_0x5e4b0d(0x27c)]()['getSystem']()[_0x5e4b0d(0x20b)](_0x202a2a=>_0x202a2a[_0x5e4b0d(0x2d9)]);}[a0_0x2d7fe0(0x2bf)](){const _0x42c1a6=a0_0x2d7fe0;return this[_0x42c1a6(0x27c)]()[_0x42c1a6(0x287)]()['map'](_0x11c5d6=>_0x11c5d6[_0x42c1a6(0x2d9)]);}[a0_0x2d7fe0(0x172)](){const _0x599bc0=a0_0x2d7fe0;return this['getFieldList']()[_0x599bc0(0x33d)]()[_0x599bc0(0x20b)](_0x2dfe08=>_0x2dfe08[_0x599bc0(0x2d9)]);}[a0_0x2d7fe0(0x2d2)](){const _0x27f57e=a0_0x2d7fe0,_0x3b6e9b=this[_0x27f57e(0x27c)]()['groupByType'](),_0xf819a1={};for(const [_0x4b5127,_0x25414d]of Object[_0x27f57e(0x152)](_0x3b6e9b)){_0xf819a1[_0x4b5127]=_0x25414d['map'](_0x444fbd=>_0x444fbd[_0x27f57e(0x2d9)]);}return _0xf819a1;}['isEnumField'](_0x4110e5){const _0x3bbede=a0_0x2d7fe0;if(!_0x4110e5||typeof _0x4110e5!==_0x3bbede(0x1f2))return![];const _0x2bf455=this[_0x3bbede(0x27c)]()[_0x3bbede(0x304)](_0x4110e5[_0x3bbede(0x11d)]);return _0x2bf455?_0x2bf455[_0x3bbede(0x2fc)]():![];}['isMultipleSelectField'](_0x1b2087){const _0xcd8121=a0_0x2d7fe0;if(!_0x1b2087||typeof _0x1b2087!=='object')return![];const _0xc1feaf=this[_0xcd8121(0x27c)]()[_0xcd8121(0x304)](_0x1b2087['code']);return _0xc1feaf?_0xc1feaf[_0xcd8121(0x280)]():![];}[a0_0x2d7fe0(0x245)](_0x15ba26){const _0x23678c=a0_0x2d7fe0;if(!_0x15ba26||typeof _0x15ba26!==_0x23678c(0x1f2))return[];const _0x1beba6=this[_0x23678c(0x27c)]()['find'](_0x15ba26['code']);if(!_0x1beba6||!_0x1beba6[_0x23678c(0x2fc)]())return[];return _0x1beba6[_0x23678c(0x12c)]()||[];}[a0_0x2d7fe0(0x14f)](_0x3fd0ce){const _0x3e9ad4=a0_0x2d7fe0;if(!_0x3fd0ce||typeof _0x3fd0ce!==_0x3e9ad4(0x1f2))return;const _0x2e12b7=this[_0x3e9ad4(0x27c)]()[_0x3e9ad4(0x304)](_0x3fd0ce[_0x3e9ad4(0x11d)]);if(!_0x2e12b7||!_0x2e12b7[_0x3e9ad4(0x2fc)]())return;return _0x2e12b7['getSelectItemsSource']();}[a0_0x2d7fe0(0x2eb)](_0x4f7744){const _0x329dfe=a0_0x2d7fe0;if(!_0x4f7744||typeof _0x4f7744!=='object')return;const _0x31e089=this[_0x329dfe(0x27c)]()['find'](_0x4f7744[_0x329dfe(0x11d)]);if(!_0x31e089||!_0x31e089[_0x329dfe(0x2fc)]())return;return _0x31e089['getEnumMeta']();}[a0_0x2d7fe0(0x221)](){const _0x5882c2=a0_0x2d7fe0;return this[_0x5882c2(0x27c)]()[_0x5882c2(0x31c)]()[_0x5882c2(0x20b)](_0x5ad8f2=>_0x5ad8f2['raw']);}[a0_0x2d7fe0(0x16b)](){const _0x166615=a0_0x2d7fe0,_0x3cd947={};return this[_0x166615(0x221)]()['forEach'](_0x160b37=>{const _0x5342f4=_0x166615,_0x5e8ce7=this['getEnumFieldMeta'](_0x160b37);_0x5e8ce7&&(_0x3cd947[_0x160b37[_0x5342f4(0x11d)]]=_0x5e8ce7);}),_0x3cd947;}[a0_0x2d7fe0(0x216)](_0x28a61f,_0x4a5c1c){const _0x5ca8eb=a0_0x2d7fe0,_0xd4c0c9=this[_0x5ca8eb(0x2eb)](_0x28a61f);if(!_0xd4c0c9)return!![];if(_0xd4c0c9[_0x5ca8eb(0x190)]&&!_0xd4c0c9['options'])return!![];if(_0xd4c0c9[_0x5ca8eb(0x1d9)]&&Array[_0x5ca8eb(0x2f5)](_0x4a5c1c))return _0x4a5c1c[_0x5ca8eb(0x1ef)](_0x1c3cdc=>_0xd4c0c9[_0x5ca8eb(0x2a4)][_0x5ca8eb(0x19e)](_0x1c3cdc));return _0xd4c0c9['values'][_0x5ca8eb(0x19e)](_0x4a5c1c);}[a0_0x2d7fe0(0x193)](){const _0x20da39=a0_0x2d7fe0;if(!this[_0x20da39(0x207)]){const _0x385947=this['ensureFilterOperation'](this[_0x20da39(0x2b6)][_0x20da39(0x1d7)]||{});this[_0x20da39(0x207)]=new OperationList(_0x385947,{'fields':this[_0x20da39(0x21b)](),'pkField':this[_0x20da39(0x2b6)][_0x20da39(0x129)]?.[_0x20da39(0x112)],'dbtableConfig':this[_0x20da39(0x2b6)][_0x20da39(0x129)]});}return this['_operationList'];}['ensureFilterOperation'](_0x38944a){const _0x14bcaf=a0_0x2d7fe0;if(_0x38944a[_0x14bcaf(0x16c)]!==undefined)return _0x38944a;return{..._0x38944a,'filter':this[_0x14bcaf(0x226)]()};}[a0_0x2d7fe0(0x226)](){const _0x5891b7=a0_0x2d7fe0,_0x4cfd9a=this[_0x5891b7(0x2b6)][_0x5891b7(0x1d7)]?.[_0x5891b7(0x2ab)];let _0x2f36c3=_0x4cfd9a?.[_0x5891b7(0x244)],_0x39d456='';if(!_0x2f36c3&&this['_raw'][_0x5891b7(0x1d7)]){const _0x25b6fa=Object[_0x5891b7(0x2a4)](this[_0x5891b7(0x2b6)][_0x5891b7(0x1d7)]);for(const _0x505b78 of _0x25b6fa){if(_0x505b78&&typeof _0x505b78==='object'&&_0x5891b7(0x244)in _0x505b78){_0x2f36c3=_0x505b78[_0x5891b7(0x244)];break;}}}if(_0x4cfd9a?.[_0x5891b7(0x25a)]){const _0x2c043a=_0x4cfd9a[_0x5891b7(0x25a)],_0x12df69=_0x2c043a[_0x5891b7(0x31d)]('/');_0x12df69!==-0x1&&(_0x39d456=_0x2c043a[_0x5891b7(0x292)](0x0,_0x12df69));}return{'name':_0x5891b7(0x16c),'type':_0x5891b7(0x289),'description':'Filter\x20API\x20-\x20高级查询接口','method':'POST','host':_0x2f36c3,'path':_0x39d456?_0x39d456+_0x5891b7(0x270):_0x5891b7(0x270),'params':_0x4cfd9a?.[_0x5891b7(0x141)]||[{'name':_0x5891b7(0x22c),'type':_0x5891b7(0x1f2),'required':![]},{'name':_0x5891b7(0x267),'type':_0x5891b7(0x208),'required':![]},{'name':_0x5891b7(0x1b7),'type':_0x5891b7(0x208),'required':![]},{'name':_0x5891b7(0x2ad),'type':'number','required':![],'default':0x1},{'name':_0x5891b7(0x2ff),'type':_0x5891b7(0x2a2),'required':![],'default':0xa}],'_autoGenerated':!![]};}[a0_0x2d7fe0(0x250)](){const _0x3be3bc=a0_0x2d7fe0;return this[_0x3be3bc(0x193)]()[_0x3be3bc(0x167)]();}[a0_0x2d7fe0(0x20e)](){const _0xeb8135=a0_0x2d7fe0;return this[_0xeb8135(0x193)]()[_0xeb8135(0x135)]();}['getOperation'](_0x48d054){const _0x46b551=a0_0x2d7fe0;if(typeof _0x48d054!==_0x46b551(0x132)){!![]&&console['warn'](_0x46b551(0x27a),_0x48d054);return;}return this[_0x46b551(0x193)]()['get'](_0x48d054);}['hasOperation'](_0x11b4df){const _0x3ae399=a0_0x2d7fe0;if(typeof _0x11b4df!==_0x3ae399(0x132))return![];return this[_0x3ae399(0x193)]()[_0x3ae399(0x214)](_0x11b4df);}[a0_0x2d7fe0(0x2b7)](_0x3dad4b){const _0x3ca56f=a0_0x2d7fe0;if(typeof _0x3dad4b!==_0x3ca56f(0x132))return![];const _0x2fc1f7=this[_0x3ca56f(0x153)](_0x3dad4b);return _0x2fc1f7?.[_0x3ca56f(0x1cc)]()||![];}[a0_0x2d7fe0(0x1b8)](){const _0x313813=a0_0x2d7fe0;return this['getOperationList']()[_0x313813(0x285)]();}['getDisabledOperations'](){const _0x2c4a79=a0_0x2d7fe0;return this['getOperationList']()[_0x2c4a79(0x2cf)]();}[a0_0x2d7fe0(0x1a3)](){return this['getOperationList']()['getEnabled']();}['getDisabledOperationInstances'](){const _0x5961b8=a0_0x2d7fe0;return this[_0x5961b8(0x193)]()[_0x5961b8(0x305)]();}[a0_0x2d7fe0(0x182)](){const _0x541354=a0_0x2d7fe0;return{'fieldCount':this[_0x541354(0x210)](),'systemFieldCount':this[_0x541354(0x1ed)]()['length'],'businessFieldCount':this['getBusinessFields']()['length'],'requiredFieldCount':this[_0x541354(0x172)]()['length'],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this[_0x541354(0x20e)](),'enabledOperationCount':this['getEnabledOperations']()[_0x541354(0x26b)]};}[a0_0x2d7fe0(0x133)](){const _0x45dd78=a0_0x2d7fe0;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x45dd78(0x1bd)],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x2d7fe0(0x16f)](){const _0x28d81e=a0_0x2d7fe0;return _0x28d81e(0x32c)+this[_0x28d81e(0x14d)]+',\x20'+this[_0x28d81e(0x1bd)]+',\x20'+this[_0x28d81e(0x210)]()+_0x28d81e(0x29d)+this[_0x28d81e(0x20e)]()+_0x28d81e(0x314);}[a0_0x2d7fe0(0x17e)](){const _0x4117cc=a0_0x2d7fe0,_0x150138=this[_0x4117cc(0x153)]('filter');return _0x150138;}[a0_0x2d7fe0(0x26f)](){return this['hasOperation']('filter');}[a0_0x2d7fe0(0x2b2)](_0x3529c5){const _0x4565e9=a0_0x2d7fe0,_0x214237=this[_0x4565e9(0x153)](_0x3529c5);return _0x214237?_0x214237['getOperators']():[];}[a0_0x2d7fe0(0x181)](_0x561e29,_0x315dfc){const _0x2c329f=a0_0x2d7fe0,_0xc7a221=this[_0x2c329f(0x153)](_0x561e29);return _0xc7a221?_0xc7a221[_0x2c329f(0x300)](_0x315dfc):[];}[a0_0x2d7fe0(0x27b)](_0x7daa18){const _0xcfcc25=a0_0x2d7fe0,_0x313af3={};return this[_0xcfcc25(0x27c)]()[_0xcfcc25(0x1f1)](_0x2477bb=>{const _0x8cca42=_0xcfcc25,_0x125313=this[_0x8cca42(0x181)](_0x7daa18,_0x2477bb[_0x8cca42(0x11d)]);_0x125313[_0x8cca42(0x26b)]>0x0&&(_0x313af3[_0x2477bb['code']]=_0x125313);}),_0x313af3;}['isOperatorApplicableToField'](_0x27b5d7,_0x1f714d,_0x7da13d){const _0x2bd472=a0_0x2d7fe0,_0x5039d3=this[_0x2bd472(0x181)](_0x27b5d7,_0x1f714d);return _0x5039d3[_0x2bd472(0x19e)](_0x7da13d);}[a0_0x2d7fe0(0x150)](){const _0xd6cf83=a0_0x2d7fe0;return this[_0xd6cf83(0x2b2)](_0xd6cf83(0x16c));}[a0_0x2d7fe0(0x19b)](_0x1616e5){const _0x447fde=a0_0x2d7fe0;return this['getOperationFieldOperators'](_0x447fde(0x16c),_0x1616e5);}['getFieldsFilterOperatorsMap'](){const _0x4007a7=a0_0x2d7fe0;return this['getOperationFieldsOperatorsMap'](_0x4007a7(0x16c));}}class DatasetGroup{[a0_0x2d7fe0(0x2e1)];constructor(_0x38f884){const _0x3426a9=a0_0x2d7fe0;this['items']=Array[_0x3426a9(0x2f5)](_0x38f884)?[..._0x38f884]:[_0x38f884],this[_0x3426a9(0x2e1)]['sort']((_0x1f8c76,_0x32d47a)=>{const _0x1cd717=Number(_0x1f8c76['id'])||0x0,_0x504753=Number(_0x32d47a['id'])||0x0;return _0x504753-_0x1cd717;});}[a0_0x2d7fe0(0x265)](){const _0x1cbc97=a0_0x2d7fe0;return this[_0x1cbc97(0x2e1)][_0x1cbc97(0x26b)]>0x1;}[a0_0x2d7fe0(0x2c4)](){const _0x36ba3c=a0_0x2d7fe0;return this[_0x36ba3c(0x2e1)][0x0];}[a0_0x2d7fe0(0x298)](){const _0x62669f=a0_0x2d7fe0;return this[_0x62669f(0x2e1)][this[_0x62669f(0x2e1)][_0x62669f(0x26b)]-0x1];}[a0_0x2d7fe0(0x1c9)](){return[...this['items']];}[a0_0x2d7fe0(0x140)](){const _0x2ee9b5=a0_0x2d7fe0;return this[_0x2ee9b5(0x2e1)][_0x2ee9b5(0x26b)];}[a0_0x2d7fe0(0x290)](_0xfaf51d){const _0x3c3868=a0_0x2d7fe0;return this[_0x3c3868(0x2e1)][_0xfaf51d];}['findById'](_0x13ab36){const _0x387768=a0_0x2d7fe0;return this[_0x387768(0x2e1)][_0x387768(0x304)](_0xaa60b2=>_0xaa60b2['id']===_0x13ab36);}[a0_0x2d7fe0(0x281)](_0x13ce71){const _0x59d48c=a0_0x2d7fe0;return this['items'][_0x59d48c(0x304)](_0x2b2169=>_0x2b2169[_0x59d48c(0x1bd)]===_0x13ce71);}[a0_0x2d7fe0(0x2ed)](){return this['items']['map'](_0x491704=>_0x491704['id'])['filter'](_0x4f25e5=>_0x4f25e5!==undefined);}['getCodes'](){const _0x3361a8=a0_0x2d7fe0;return this[_0x3361a8(0x2e1)][_0x3361a8(0x20b)](_0x3e632b=>_0x3e632b[_0x3361a8(0x1bd)]);}[a0_0x2d7fe0(0x16f)](){const _0x610774=a0_0x2d7fe0;if(this['hasConflict']())return'DatasetGroup('+this[_0x610774(0x2e1)][_0x610774(0x26b)]+_0x610774(0x2a1)+this[_0x610774(0x2c4)]()[_0x610774(0x14d)]+')';return _0x610774(0x286)+this[_0x610774(0x2e1)][0x0][_0x610774(0x14d)]+')';}}class DatasetGroupMap{[a0_0x2d7fe0(0x275)];constructor(_0x5f0f49){const _0x41de80=a0_0x2d7fe0;this['groups']=new Map();for(const _0x451230 of _0x5f0f49){const _0x2712d0=getTableKey(_0x451230);if(!this[_0x41de80(0x275)]['has'](_0x2712d0))this['groups']['set'](_0x2712d0,new DatasetGroup(_0x451230));else{const _0x1eabb7=this[_0x41de80(0x275)]['get'](_0x2712d0),_0x53a2cf=[..._0x1eabb7[_0x41de80(0x1c9)](),_0x451230];this[_0x41de80(0x275)][_0x41de80(0x18d)](_0x2712d0,new DatasetGroup(_0x53a2cf));}}}['get'](_0x1d1a31){const _0x10178d=a0_0x2d7fe0;return this[_0x10178d(0x275)][_0x10178d(0x30f)](_0x1d1a31);}[a0_0x2d7fe0(0x214)](_0x2e98c7){const _0x5334f3=a0_0x2d7fe0;return this[_0x5334f3(0x275)]['has'](_0x2e98c7);}get[a0_0x2d7fe0(0x135)](){const _0x588abb=a0_0x2d7fe0;return this['groups'][_0x588abb(0x135)];}[a0_0x2d7fe0(0x26d)](){const _0x131dd3=a0_0x2d7fe0;return this[_0x131dd3(0x275)]['keys']();}[a0_0x2d7fe0(0x2a4)](){const _0x50f008=a0_0x2d7fe0;return this['groups'][_0x50f008(0x2a4)]();}[a0_0x2d7fe0(0x152)](){const _0x1052d2=a0_0x2d7fe0;return this[_0x1052d2(0x275)]['entries']();}[Symbol[a0_0x2d7fe0(0x18e)]](){const _0x23e9bc=a0_0x2d7fe0;return this[_0x23e9bc(0x275)]['entries']();}[a0_0x2d7fe0(0x1f1)](_0x447524){const _0x22e9e2=a0_0x2d7fe0;this['groups'][_0x22e9e2(0x1f1)]((_0x106ae6,_0x3957a3)=>_0x447524(_0x106ae6,_0x3957a3,this));}[a0_0x2d7fe0(0x2a0)](){const _0x41756d=a0_0x2d7fe0,_0x1cbc49=new Map();for(const [_0x7184dc,_0x5a61df]of this['groups']){_0x5a61df[_0x41756d(0x265)]()&&_0x1cbc49[_0x41756d(0x18d)](_0x7184dc,_0x5a61df);}return _0x1cbc49;}[a0_0x2d7fe0(0x302)](){const _0x35763b=a0_0x2d7fe0;for(const _0x4f58ef of this['groups'][_0x35763b(0x2a4)]()){if(_0x4f58ef['hasConflict']())return!![];}return![];}[a0_0x2d7fe0(0x22b)](){const _0x378bdc=a0_0x2d7fe0;let _0x2623d4=0x0,_0x52c9f7=0x0;for(const _0x1868b5 of this['groups'][_0x378bdc(0x2a4)]()){_0x1868b5['hasConflict']()&&(_0x2623d4++,_0x52c9f7+=_0x1868b5['getCount']());}return{'conflictGroupCount':_0x2623d4,'conflictItemCount':_0x52c9f7,'totalGroups':this[_0x378bdc(0x275)]['size']};}[a0_0x2d7fe0(0x13f)](){const _0x399e18=a0_0x2d7fe0,_0x3738f4=[];for(const _0x572b48 of this['groups']['values']()){_0x3738f4['push'](..._0x572b48[_0x399e18(0x1c9)]());}return _0x3738f4;}[a0_0x2d7fe0(0x191)](){const _0x2cd3a7=a0_0x2d7fe0,_0x4935c5=[];for(const _0x5723ab of this['groups'][_0x2cd3a7(0x2a4)]()){_0x4935c5[_0x2cd3a7(0x32d)](_0x5723ab[_0x2cd3a7(0x2c4)]());}return _0x4935c5;}['getLatest'](_0x191999){const _0x57d8f2=a0_0x2d7fe0;return this[_0x57d8f2(0x275)][_0x57d8f2(0x30f)](_0x191999)?.[_0x57d8f2(0x2c4)]();}['getAll'](_0x1b3885){const _0x39d213=a0_0x2d7fe0;return this['groups'][_0x39d213(0x30f)](_0x1b3885)?.[_0x39d213(0x1c9)]()||[];}[a0_0x2d7fe0(0x2d8)](){const _0x3d2dc7=a0_0x2d7fe0,_0x1e1c48=this['getLatestDatasets'](),_0x3d6ef5=_0x1e1c48[_0x3d2dc7(0x20b)](_0x15e988=>_0x15e988[_0x3d2dc7(0x1d3)]());return generateDatasetsConfig(_0x3d6ef5,{'enableDeduplication':![]});}[a0_0x2d7fe0(0x258)](){const _0x491c89=a0_0x2d7fe0,_0x1d9934=this[_0x491c89(0x13f)](),_0x23f614=_0x1d9934['map'](_0x23568a=>_0x23568a[_0x491c89(0x1d3)]());return generateFullDatasetsConfig(_0x23f614);}[a0_0x2d7fe0(0x30a)](){const _0x5b8ade=a0_0x2d7fe0,_0x4a039f={};for(const [_0x365413,_0xad0f9c]of this[_0x5b8ade(0x275)]){_0x4a039f[_0x365413]=_0xad0f9c;}return _0x4a039f;}['toJSON'](){const _0x566e15=a0_0x2d7fe0,_0x2c693f={};for(const [_0x21fdf2,_0x1ffaec]of this['groups']){_0x2c693f[_0x21fdf2]=_0x1ffaec[_0x566e15(0x1c9)]()[_0x566e15(0x20b)](_0x110193=>_0x110193[_0x566e15(0x1d3)]());}return _0x2c693f;}[a0_0x2d7fe0(0x16f)](){const _0x1d5d28=a0_0x2d7fe0;return _0x1d5d28(0x1c1)+this[_0x1d5d28(0x275)][_0x1d5d28(0x135)]+_0x1d5d28(0x15b)+(this[_0x1d5d28(0x302)]()?_0x1d5d28(0x143):_0x1d5d28(0x2d1))+')';}}class DatasetList{[a0_0x2d7fe0(0x1af)];constructor(_0x2b8699){const _0x4ad3b3=a0_0x2d7fe0;let _0x25a306;if(Array[_0x4ad3b3(0x2f5)](_0x2b8699))_0x25a306=_0x2b8699;else{if('success'in _0x2b8699){if(!_0x2b8699[_0x4ad3b3(0x255)])throw new Error(_0x4ad3b3(0x21e));if(Array[_0x4ad3b3(0x2f5)](_0x2b8699[_0x4ad3b3(0x2a7)]))_0x25a306=_0x2b8699['data'][_0x4ad3b3(0x20b)](_0x220c2a=>({..._0x220c2a,'datasetCode':_0x220c2a[_0x4ad3b3(0x11d)]||_0x220c2a[_0x4ad3b3(0x1bd)]}));else{if(_0x2b8699[_0x4ad3b3(0x2a7)]?.[_0x4ad3b3(0x19d)])_0x25a306=_0x2b8699[_0x4ad3b3(0x2a7)]['tableData'][_0x4ad3b3(0x20b)](_0x428d10=>({..._0x428d10,'datasetCode':_0x428d10[_0x4ad3b3(0x11d)]||_0x428d10[_0x4ad3b3(0x1bd)]}));else throw new Error(_0x4ad3b3(0x1b3));}}else{if(_0x4ad3b3(0x19d)in _0x2b8699){if(!Array[_0x4ad3b3(0x2f5)](_0x2b8699[_0x4ad3b3(0x19d)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0x25a306=_0x2b8699[_0x4ad3b3(0x19d)][_0x4ad3b3(0x20b)](_0x2d9386=>({..._0x2d9386,'datasetCode':_0x2d9386[_0x4ad3b3(0x11d)]||_0x2d9386[_0x4ad3b3(0x1bd)]}));}else throw new Error(_0x4ad3b3(0x29e));}}const _0x1ec969=_0x25a306[_0x4ad3b3(0x20b)](_0x5abb34=>new DatasetItem(_0x5abb34));this[_0x4ad3b3(0x1af)]=new DatasetGroupMap(_0x1ec969);}get[a0_0x2d7fe0(0x1a0)](){return this['_datasetMap'];}[a0_0x2d7fe0(0x158)](){const _0x2a4b87=a0_0x2d7fe0;return this[_0x2a4b87(0x1af)][_0x2a4b87(0x13f)]();}[a0_0x2d7fe0(0x140)](){const _0x4d3f6a=a0_0x2d7fe0;return this[_0x4d3f6a(0x158)]()[_0x4d3f6a(0x26b)];}[a0_0x2d7fe0(0x2be)](){const _0x361c3f=a0_0x2d7fe0;return this[_0x361c3f(0x1af)][_0x361c3f(0x135)]===0x0;}[a0_0x2d7fe0(0x290)](_0x3e4386){const _0x11961f=a0_0x2d7fe0;return this[_0x11961f(0x158)]()[_0x3e4386];}[a0_0x2d7fe0(0x229)](){const _0x3c316e=a0_0x2d7fe0;return this[_0x3c316e(0x158)]()[0x0];}[a0_0x2d7fe0(0x333)](){const _0x432fd8=a0_0x2d7fe0,_0x1e0b92=this[_0x432fd8(0x158)]();return _0x1e0b92[_0x1e0b92[_0x432fd8(0x26b)]-0x1];}[a0_0x2d7fe0(0x281)](_0x5730e9){const _0x290efa=a0_0x2d7fe0;for(const _0x581969 of this[_0x290efa(0x1af)][_0x290efa(0x2a4)]()){const _0x1b5788=_0x581969[_0x290efa(0x281)](_0x5730e9);if(_0x1b5788)return _0x1b5788;}return;}['findByName'](_0x32a347){const _0x4d3cf4=a0_0x2d7fe0;return this[_0x4d3cf4(0x158)]()[_0x4d3cf4(0x304)](_0x262fb7=>_0x262fb7['name']===_0x32a347);}[a0_0x2d7fe0(0x119)](_0x3bef12){const _0xbb4f7c=a0_0x2d7fe0;for(const _0x4b3afa of this[_0xbb4f7c(0x1af)][_0xbb4f7c(0x2a4)]()){const _0x2886ac=_0x4b3afa[_0xbb4f7c(0x119)](_0x3bef12);if(_0x2886ac)return _0x2886ac;}return;}[a0_0x2d7fe0(0x169)](_0xe56680){const _0x55d708=a0_0x2d7fe0,_0x40841e=getTableKey(_0xe56680);return this[_0x55d708(0x1af)][_0x55d708(0x2c4)](_0x40841e);}[a0_0x2d7fe0(0x16c)](_0x2b3224){const _0x378511=a0_0x2d7fe0,_0x5b4c80=this['getItems']()[_0x378511(0x16c)](_0x2b3224);return new DatasetList(_0x5b4c80[_0x378511(0x20b)](_0xdd0be7=>_0xdd0be7[_0x378511(0x1d3)]()));}[a0_0x2d7fe0(0x15d)](_0x32543f){const _0x5cc669=a0_0x2d7fe0;return this['getItems']()[_0x5cc669(0x16c)](_0x32543f);}[a0_0x2d7fe0(0x1f1)](_0x5bcaa1){const _0x56feb7=a0_0x2d7fe0;this[_0x56feb7(0x158)]()[_0x56feb7(0x1f1)](_0x5bcaa1);}[a0_0x2d7fe0(0x20b)](_0x1b9f34){const _0x5ec8e8=a0_0x2d7fe0;return this[_0x5ec8e8(0x158)]()[_0x5ec8e8(0x20b)](_0x1b9f34);}[Symbol[a0_0x2d7fe0(0x18e)]](){const _0x5a5d5c=a0_0x2d7fe0;return this[_0x5a5d5c(0x158)]()[Symbol[_0x5a5d5c(0x18e)]]();}['getVirtualTables'](){const _0x1c3acb=a0_0x2d7fe0;return this[_0x1c3acb(0x158)]()[_0x1c3acb(0x16c)](_0x5f255f=>_0x5f255f[_0x1c3acb(0x197)]());}[a0_0x2d7fe0(0x10f)](){const _0x37152a=a0_0x2d7fe0;return this['getItems']()[_0x37152a(0x16c)](_0x4c2b14=>!_0x4c2b14['isVirtualTable']());}[a0_0x2d7fe0(0x320)](){const _0x124efb=a0_0x2d7fe0,_0x2d9103={};for(const _0x17000c of this[_0x124efb(0x1af)]['values']()){const _0x3e0b8f=_0x17000c[_0x124efb(0x2c4)]()[_0x124efb(0x1f8)]();_0x2d9103[_0x3e0b8f]=_0x17000c[_0x124efb(0x1c9)]();}return _0x2d9103;}[a0_0x2d7fe0(0x252)](){const _0x35df3a=a0_0x2d7fe0,_0x3f90f6={};for(const _0x3f2f8e of this[_0x35df3a(0x1af)][_0x35df3a(0x2a0)]()['values']()){const _0x51a2b0=_0x3f2f8e[_0x35df3a(0x2c4)]()[_0x35df3a(0x1f8)]();_0x3f90f6[_0x51a2b0]=_0x3f2f8e['getAll']()[_0x35df3a(0x20b)](_0x20a2cc=>_0x20a2cc[_0x35df3a(0x1d3)]());}return{'hasConflicts':Object['keys'](_0x3f90f6)[_0x35df3a(0x26b)]>0x0,'conflicts':_0x3f90f6};}[a0_0x2d7fe0(0x302)](){return this['_datasetMap']['hasConflicts']();}[a0_0x2d7fe0(0x2cc)](){const _0x3045c7=a0_0x2d7fe0,_0x3f902b=[];for(const _0x4cc907 of this[_0x3045c7(0x1af)][_0x3045c7(0x2a0)]()[_0x3045c7(0x2a4)]()){_0x3f902b[_0x3045c7(0x32d)](..._0x4cc907[_0x3045c7(0x1c9)]());}return _0x3f902b;}[a0_0x2d7fe0(0x154)](_0x2c8f62){const _0x5eada7=a0_0x2d7fe0;if(!_0x2c8f62||Object[_0x5eada7(0x26d)](_0x2c8f62)[_0x5eada7(0x26b)]===0x0)return this['datasetMap'][_0x5eada7(0x2d8)]();const _0x59cbc1=this[_0x5eada7(0x158)]()[_0x5eada7(0x20b)](_0x55bc6a=>_0x55bc6a['toJSON']());return generateDatasetsConfig(_0x59cbc1,_0x2c8f62);}[a0_0x2d7fe0(0x1ab)](_0x430eb6){const _0x4027fb=a0_0x2d7fe0,_0x6ebc21=this[_0x4027fb(0x154)](_0x430eb6);return datasetsConfigToArray(_0x6ebc21);}[a0_0x2d7fe0(0x28b)](){const _0x6fb219=a0_0x2d7fe0;return this['getItems']()[_0x6fb219(0x20b)](_0x2f6153=>_0x2f6153[_0x6fb219(0x2d8)]());}[a0_0x2d7fe0(0x182)](){const _0x3d32f=a0_0x2d7fe0;return{'total':this[_0x3d32f(0x140)](),'virtualTables':this['getVirtualTables']()[_0x3d32f(0x26b)],'realTables':this[_0x3d32f(0x10f)]()[_0x3d32f(0x26b)],'hasConflicts':this[_0x3d32f(0x302)](),'conflictCount':this[_0x3d32f(0x2cc)]()[_0x3d32f(0x26b)]};}[a0_0x2d7fe0(0x167)](){const _0x41a687=a0_0x2d7fe0;return this[_0x41a687(0x158)]()[_0x41a687(0x20b)](_0xf6cf41=>_0xf6cf41['toJSON']());}[a0_0x2d7fe0(0x1d3)](){const _0xd197c9=a0_0x2d7fe0;return this[_0xd197c9(0x167)]();}[a0_0x2d7fe0(0x16f)](){const _0x567957=a0_0x2d7fe0;return _0x567957(0x175)+this[_0x567957(0x140)]()+_0x567957(0x311)+this[_0x567957(0x1af)]['size']+_0x567957(0x23f);}static['fromApiResponse'](_0xdfc212){return new DatasetList(_0xdfc212);}static[a0_0x2d7fe0(0x1ac)](_0x427b8b){return new DatasetList(_0x427b8b);}static['empty'](){return new DatasetList([]);}}function operationToAnalysis(_0x7a8ae3){const _0x2cd848=a0_0x2d7fe0;return{'name':_0x7a8ae3['getName'](),'displayName':_0x7a8ae3[_0x2cd848(0x2bc)](),'type':_0x7a8ae3[_0x2cd848(0x293)](),'method':_0x7a8ae3[_0x2cd848(0x336)](),'path':_0x7a8ae3['getPath'](),'fullUrl':_0x7a8ae3[_0x2cd848(0x32e)](),'requestFields':_0x7a8ae3['getRequestFields'](),'requestParams':_0x7a8ae3['getRequestParams'](),'responseSchema':_0x7a8ae3['getResponseSchema'](),'requestExample':_0x7a8ae3[_0x2cd848(0x189)](),'responseExample':_0x7a8ae3[_0x2cd848(0x12e)](),'enabled':_0x7a8ae3[_0x2cd848(0x1cc)]()};}function operationsToAnalyses(_0x14d0da){const _0x1241af=a0_0x2d7fe0;return _0x14d0da[_0x1241af(0x20b)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x2d7fe0(0x310)];[a0_0x2d7fe0(0x22e)](){const _0x4f600b=a0_0x2d7fe0;return this[_0x4f600b(0x16a)]();}[a0_0x2d7fe0(0x26a)](_0x10584d=![]){const _0x278270=a0_0x2d7fe0;if(!_0x10584d&&this[_0x278270(0x310)])return this[_0x278270(0x310)];const _0x5c59b2=this[_0x278270(0x250)]();return this[_0x278270(0x310)]=operationsToAnalyses(_0x5c59b2),this[_0x278270(0x310)];}[a0_0x2d7fe0(0x246)](){const _0x1cfa27=a0_0x2d7fe0;return this[_0x1cfa27(0x15f)]({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x2d7fe0(0x15f)](_0x2a233d={}){const _0x6b48bc=a0_0x2d7fe0;let _0x11753a=this[_0x6b48bc(0x26a)]();return!_0x2a233d['includeDisabled']&&(_0x11753a=_0x11753a[_0x6b48bc(0x16c)](_0x29d5f8=>_0x29d5f8['enabled'])),_0x2a233d[_0x6b48bc(0x13d)]!==![]&&(_0x11753a=filterApiOperations(_0x11753a)),_0x2a233d[_0x6b48bc(0x2d7)]&&(_0x11753a=_0x11753a[_0x6b48bc(0x16c)](_0x2a233d[_0x6b48bc(0x2d7)])),_0x11753a=this['sortOperationsWithFilterFirst'](_0x11753a),_0x11753a;}[a0_0x2d7fe0(0x123)](_0x4f405f){const _0x7d7268=a0_0x2d7fe0,_0xa55e06=_0x4f405f[_0x7d7268(0x304)](_0x6d563a=>_0x6d563a[_0x7d7268(0x14d)]===_0x7d7268(0x16c)),_0x28c77e=_0x4f405f[_0x7d7268(0x16c)](_0x325aa4=>_0x325aa4[_0x7d7268(0x14d)]!==_0x7d7268(0x16c));return _0xa55e06?[_0xa55e06,..._0x28c77e]:_0x28c77e;}[a0_0x2d7fe0(0x1cd)](_0x5a09cb){const _0x2c97f1=a0_0x2d7fe0,_0x5873b2=this[_0x2c97f1(0x26a)]();return _0x5873b2['find'](_0x4ed8c0=>_0x4ed8c0[_0x2c97f1(0x14d)]===_0x5a09cb);}[a0_0x2d7fe0(0x165)](_0x523ac6){const _0x1b78c6=a0_0x2d7fe0,_0x5e57bb=this[_0x1b78c6(0x26a)]();return _0x5e57bb[_0x1b78c6(0x16c)](_0x147fb0=>_0x147fb0[_0x1b78c6(0x1eb)]===_0x523ac6);}[a0_0x2d7fe0(0x1da)](_0x4fb300){const _0x166b78=a0_0x2d7fe0,_0xc76138=this[_0x166b78(0x153)](_0x4fb300);if(!_0xc76138)return[];const _0x387009=_0xc76138[_0x166b78(0x1f5)](),_0x4da7be=this['getFields']();return _0x4da7be[_0x166b78(0x16c)](_0x3b7444=>_0x387009[_0x166b78(0x19e)](_0x3b7444[_0x166b78(0x11d)]));}[a0_0x2d7fe0(0x317)](_0x31763d,_0x30b1dd){const _0x583f57=a0_0x2d7fe0,_0x317ee2=this[_0x583f57(0x1cd)](_0x31763d);if(!_0x317ee2)return null;const _0x408484=this[_0x583f57(0x153)](_0x317ee2[_0x583f57(0x14d)]);if(!_0x408484)throw new Error('Operation\x20instance\x20not\x20found:\x20'+_0x317ee2[_0x583f57(0x14d)]);const _0x5363ab=this['getDatasetSDKKey'](),_0x20b6d9=this[_0x583f57(0x1f8)](),_0x5511da=_0x408484['generateSDKCallCode'](_0x5363ab,{'useFullExample':_0x30b1dd?.[_0x583f57(0x273)]}),_0x478d73=_0x408484[_0x583f57(0x291)](_0x5363ab);return{'operation':_0x317ee2,'operationInstance':_0x408484,'basicInfo':{'name':_0x317ee2[_0x583f57(0x14d)],'displayName':_0x317ee2[_0x583f57(0x1ca)],'method':_0x317ee2[_0x583f57(0x231)],'path':_0x317ee2[_0x583f57(0x25a)],'fullUrl':_0x317ee2[_0x583f57(0x2b4)],'enabled':_0x317ee2['enabled']},'sdkCall':{'datasetCode':this[_0x583f57(0x1bd)],'datasetSDKKey':_0x5363ab,'tableName':_0x20b6d9,'operationName':_0x317ee2[_0x583f57(0x14d)],'params':_0x317ee2[_0x583f57(0x11e)],'code':_0x5511da},'usageExample':_0x478d73};}[a0_0x2d7fe0(0x12b)](_0x1e01e0={}){const _0xef7c5=a0_0x2d7fe0,_0x286bd0=this[_0xef7c5(0x15f)](_0x1e01e0),_0x3d9f82=this[_0xef7c5(0x182)](),_0x31de95=_0x286bd0[_0xef7c5(0x20b)](_0x1e46ae=>this[_0xef7c5(0x317)](_0x1e46ae[_0xef7c5(0x14d)]))[_0xef7c5(0x16c)](_0x37cb5e=>_0x37cb5e!==null),_0x1462c3=this[_0xef7c5(0x1a8)](),_0x55f63d={'name':this['name'],'code':this[_0xef7c5(0x1bd)],'tableName':this[_0xef7c5(0x1f8)](),'datasetSDKKey':_0x1462c3,'tableKey':this[_0xef7c5(0x16a)](),'source':this['source'],'fieldCount':_0x3d9f82[_0xef7c5(0x1c2)],'businessFieldCount':_0x3d9f82[_0xef7c5(0x2b3)],'systemFieldCount':_0x3d9f82['systemFieldCount'],'operationCount':_0x3d9f82['operationCount'],'enabledOperationCount':_0x31de95[_0xef7c5(0x26b)]};return{'title':this[_0xef7c5(0x14d)]+_0xef7c5(0x299),'datasetInfo':_0x55f63d,'operations':_0x31de95};}[a0_0x2d7fe0(0x10c)](_0x4e8c0c){const _0x26b60c=a0_0x2d7fe0,_0x3fdbda=[{'index':'name','label':_0x26b60c(0x2cb)},{'index':'displayName','label':'操作名称'},{'index':'method','label':'方法'},{'index':'sdkCall','label':'SDK\x20调用'},{'index':_0x26b60c(0x25a),'label':_0x26b60c(0x1a4)},{'index':'sdkCallCode','label':_0x26b60c(0x2d6)}],_0x402a73=_0x4e8c0c[_0x26b60c(0x20b)](_0x26ce9c=>{const _0xba585e=_0x26b60c,{basicInfo:_0x226ca3,sdkCall:_0xb46a3e}=_0x26ce9c,_0x564f4d=_0xb46a3e[_0xba585e(0x11d)]['replace'](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,'');return{'displayName':_0x226ca3[_0xba585e(0x1ca)],'name':_0x226ca3['name'],'method':_0x226ca3[_0xba585e(0x231)],'path':_0x226ca3[_0xba585e(0x25a)],'sdkCall':_0x564f4d,'sdkCallCode':_0xb46a3e[_0xba585e(0x11d)]};});return{'tableColumns':_0x3fdbda,'tableData':_0x402a73};}[a0_0x2d7fe0(0x339)](_0x586bb5){const _0x585436=a0_0x2d7fe0,_0x2c667d=this['getOperationAnalysis'](_0x586bb5);if(!_0x2c667d)return null;return{'name':_0x2c667d[_0x585436(0x14d)],'displayName':_0x2c667d[_0x585436(0x1ca)],'type':_0x2c667d['type'],'method':_0x2c667d[_0x585436(0x231)],'path':_0x2c667d[_0x585436(0x25a)],'enabled':_0x2c667d['enabled'],'requestFieldCount':_0x2c667d[_0x585436(0x11e)][_0x585436(0x26b)],'hasResponseSchema':_0x2c667d[_0x585436(0x1ad)]!==null};}[a0_0x2d7fe0(0x2e7)](_0x3c7004={}){const _0x3602af=a0_0x2d7fe0,_0x5c6dc8=this[_0x3602af(0x15f)](_0x3c7004);return{'datasetName':this[_0x3602af(0x14d)],'datasetCode':this[_0x3602af(0x1bd)],'tableName':this['getTableName'](),'totalOperations':_0x5c6dc8[_0x3602af(0x26b)],'operations':_0x5c6dc8[_0x3602af(0x20b)](_0x5f3845=>({'name':_0x5f3845[_0x3602af(0x14d)],'displayName':_0x5f3845[_0x3602af(0x1ca)],'type':_0x5f3845['type'],'method':_0x5f3845[_0x3602af(0x231)],'path':_0x5f3845[_0x3602af(0x25a)],'requestFieldCount':_0x5f3845[_0x3602af(0x11e)][_0x3602af(0x26b)]}))};}[a0_0x2d7fe0(0x2fe)](_0x253581){const _0x40cdc5=a0_0x2d7fe0,_0xa43071={};return Object[_0x40cdc5(0x152)](_0x253581)[_0x40cdc5(0x1f1)](([_0x4355a5,_0x1f8628])=>{const _0x1239f4=_0x40cdc5;Array['isArray'](_0x1f8628)&&_0x1f8628[_0x1239f4(0x26b)]>0x0?_0xa43071[_0x4355a5]=_0x1f8628[0x0]:_0xa43071[_0x4355a5]=_0x1f8628;}),_0xa43071;}[a0_0x2d7fe0(0x332)](){const _0x4a72fe=a0_0x2d7fe0,_0x18d556=this[_0x4a72fe(0x26a)](),_0x40b1bf=_0x18d556[_0x4a72fe(0x16c)](_0x4a9f17=>_0x4a9f17[_0x4a72fe(0x1e9)]);return{'total':_0x18d556[_0x4a72fe(0x26b)],'enabled':_0x40b1bf[_0x4a72fe(0x26b)],'disabled':_0x18d556[_0x4a72fe(0x26b)]-_0x40b1bf['length'],'byType':this['getOperationCountByType'](_0x40b1bf),'byMethod':this[_0x4a72fe(0x24d)](_0x40b1bf)};}[a0_0x2d7fe0(0x170)](_0x50cfda){const _0x59594b=a0_0x2d7fe0,_0x31b604={};return _0x50cfda[_0x59594b(0x1f1)](_0x264d3f=>{const _0x48a5ef=_0x59594b;_0x264d3f['type']&&(_0x31b604[_0x264d3f[_0x48a5ef(0x1eb)]]=(_0x31b604[_0x264d3f[_0x48a5ef(0x1eb)]]||0x0)+0x1);}),_0x31b604;}[a0_0x2d7fe0(0x24d)](_0x4faee9){const _0x1227ab={};return _0x4faee9['forEach'](_0x3616db=>{const _0xf957fd=a0_0x56ae;_0x1227ab[_0x3616db[_0xf957fd(0x231)]]=(_0x1227ab[_0x3616db[_0xf957fd(0x231)]]||0x0)+0x1;}),_0x1227ab;}[a0_0x2d7fe0(0x125)](){const _0x4edf92=a0_0x2d7fe0,_0x792fc=this[_0x4edf92(0x246)](),_0x12e0b2=new Set(_0x792fc[_0x4edf92(0x20b)](_0x776245=>_0x776245['type'])[_0x4edf92(0x16c)](Boolean));return _0x12e0b2['has'](_0x4edf92(0x2e5))&&_0x12e0b2[_0x4edf92(0x214)](_0x4edf92(0x2ab))&&_0x12e0b2['has']('update')&&_0x12e0b2[_0x4edf92(0x214)](_0x4edf92(0x194));}[a0_0x2d7fe0(0x20d)](){const _0x5c19eb=a0_0x2d7fe0,_0x581733=this[_0x5c19eb(0x246)](),_0x2914db=new Set(_0x581733[_0x5c19eb(0x20b)](_0x939d40=>_0x939d40[_0x5c19eb(0x1eb)])[_0x5c19eb(0x16c)](Boolean)),_0x5e810e=[_0x5c19eb(0x2e5),_0x5c19eb(0x2ab),_0x5c19eb(0x20f),'delete'];return _0x5e810e['filter'](_0x23c4a4=>!_0x2914db['has'](_0x23c4a4));}['generateFullSDKExample'](_0x237a3e,_0x20a05f,_0x24d61e){const _0x39443b=a0_0x2d7fe0,{includeRequestExample:includeRequestExample=!![],includeResponseExample:includeResponseExample=![],includeUsageExample:includeUsageExample=!![]}=_0x24d61e||{},_0x580eec=this[_0x39443b(0x317)](_0x237a3e,{'useFullExample':includeRequestExample});if(!_0x580eec)return null;let _0x224890='';_0x224890+=_0x39443b(0x256)+_0x580eec[_0x39443b(0x199)][_0x39443b(0x1ca)]+_0x39443b(0x2c0)+_0x580eec[_0x39443b(0x199)][_0x39443b(0x14d)]+'\x20operation\x0a'+_0x580eec[_0x39443b(0x186)][_0x39443b(0x11d)];if(includeResponseExample&&_0x580eec[_0x39443b(0x199)][_0x39443b(0x18c)]?.['data']){const _0x4f4f5e=typeof _0x580eec[_0x39443b(0x199)][_0x39443b(0x18c)][_0x39443b(0x2a7)]===_0x39443b(0x132)?_0x580eec[_0x39443b(0x199)][_0x39443b(0x18c)][_0x39443b(0x2a7)]:JSON[_0x39443b(0x2c3)](_0x580eec[_0x39443b(0x199)][_0x39443b(0x18c)]['data'],null,0x2);_0x224890+='\x0a\x0a//\x20'+_0x580eec[_0x39443b(0x199)]['name']+_0x39443b(0x2ac)+_0x4f4f5e;}return includeUsageExample&&_0x580eec[_0x39443b(0x2db)]&&(_0x224890+=_0x39443b(0x1c6)+_0x580eec[_0x39443b(0x2db)][_0x39443b(0x20a)]+'\x0a\x0a'+_0x580eec['usageExample'][_0x39443b(0x32f)]),_0x224890;}['generateAllOperationsFullSDKExample'](_0x9c809a){const _0x33f4c1=a0_0x2d7fe0,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x9c809a||{},_0x44107c=this[_0x33f4c1(0x246)]();return _0x44107c[_0x33f4c1(0x20b)](_0x3caa6f=>this[_0x33f4c1(0x1b9)](_0x3caa6f['name'],this[_0x33f4c1(0x1bd)],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x33f4c1(0x118)]('\x0a');}[a0_0x2d7fe0(0x122)](_0x2f711e){const _0x1fff64=a0_0x2d7fe0,_0x4539b7=this[_0x1fff64(0x1a8)]();return{'appCode':_0x2f711e,'datasetSDKKey':_0x4539b7,'tableKey':this[_0x1fff64(0x16a)](),'alias':this['getModelAlias'](),'tableName':this[_0x1fff64(0x1f8)](),'datasetCode':this[_0x1fff64(0x1bd)]};}[a0_0x2d7fe0(0x31a)](_0x4b2698,_0x3af016=a0_0x2d7fe0(0x187),_0x4699a3=![]){const _0x35f41d=a0_0x2d7fe0,{alias:_0x43fffb,tableName:_0x57d1f7,datasetCode:_0x240d44}=this[_0x35f41d(0x122)](_0x4b2698),_0x497b7c=_0x3af016===_0x35f41d(0x268)?_0x35f41d(0x1a9)+_0x3af016+'\x27,':'',_0x424fa6=_0x4699a3?_0x35f41d(0x238):'';return _0x35f41d(0x211)+_0x4b2698+'\x27,'+_0x424fa6+_0x497b7c+'\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27'+_0x57d1f7+_0x35f41d(0x1cf)+_0x240d44+_0x35f41d(0x239)+_0x43fffb+_0x35f41d(0x209)+_0x43fffb+'\x20访问\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});';}[a0_0x2d7fe0(0x283)](){const _0x323ec7=a0_0x2d7fe0,_0x311bef=this[_0x323ec7(0x1a8)](),_0x2de036=this[_0x323ec7(0x22e)]();return _0x323ec7(0x330)+_0x311bef+_0x323ec7(0x1d2)+_0x2de036+_0x323ec7(0x1db);}[a0_0x2d7fe0(0x16f)](){const _0x36d069=a0_0x2d7fe0,_0x35c9a6=this['getOperationStats']();return'DrivenDataDetailPlus('+this[_0x36d069(0x14d)]+',\x20'+this[_0x36d069(0x1bd)]+',\x20'+this[_0x36d069(0x210)]()+'\x20fields,\x20'+_0x35c9a6['enabled']+'/'+_0x35c9a6[_0x36d069(0x33e)]+'\x20operations)';}}var VERSION=a0_0x2d7fe0(0x218);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,8 +1,8 @@
1
1
  /**
2
2
  * Aggregate 操作
3
3
  * 特殊处理:
4
- * 1. 参数包含 where(查询条件)、groupBy(分组字段)、aggregates(聚合函数)
5
- * 2. aggregates 支持多种聚合函数:sum, count, avg, max, min, countDistinct
4
+ * 1. 参数包含 where(查询条件)、groupBy(分组字段)、aggregate(聚合函数)
5
+ * 2. aggregate 支持多种聚合函数:sum, count, avg, max, min, countDistinct
6
6
  * 3. 自动生成基于字段类型的聚合查询示例
7
7
  */
8
8
  import { GenericOperation } from './GenericOperation.js';
@@ -16,7 +16,7 @@ export type AggregateFunction = (typeof AGGREGATE_FUNCTIONS)[number];
16
16
  /** Aggregate 入参聚合配置项 */
17
17
  export interface AggregateConfig {
18
18
  type: 'sum' | 'count' | 'avg' | 'max' | 'min';
19
- field: string;
19
+ column: string;
20
20
  alias: string;
21
21
  distinct?: boolean;
22
22
  round?: boolean;
@@ -77,7 +77,7 @@ export declare class AggregateOperation extends GenericOperation {
77
77
  getRequestParamsDocInfo(): RequestParamsDocInfo;
78
78
  /**
79
79
  * 重写生成响应示例数据
80
- * 1. 根据request请求中的aggregates生成响应示例数据
80
+ * 1. 根据request请求中的aggregate生成响应示例数据
81
81
  * 2. 响应示例数据中每个字段的值为随机数
82
82
  */
83
83
  generateResponseExample(): Record<string, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"AggregateOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/AggregateOperation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAG7E;;GAEG;AACH,eAAO,MAAM,mBAAmB,gDAMtB,CAAC;AAEX,uBAAuB;AACvB,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,wBAAwB;AACxB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,KAAK,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,qBAAa,kBAAmB,SAAQ,gBAAgB;gBAC1C,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB;IAIrE;;OAEG;IACH,aAAa,IAAI,SAAS,MAAM,EAAE;IAIlC;;;OAGG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAwB3C;;;;;;OAMG;IACH,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAyGjD;;;OAGG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GACA,MAAM;IAyET;;OAEG;IACH,OAAO,CAAC,cAAc;IAKtB;;OAEG;IACH,OAAO,CAAC,sBAAsB;IA4B9B;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAsB1B;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAiD5B;;;;OAIG;IACM,uBAAuB,IAAI,oBAAoB;IAoDxD;;;;OAIG;IACM,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CA8B5D"}
1
+ {"version":3,"file":"AggregateOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/AggregateOperation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAG7E;;GAEG;AACH,eAAO,MAAM,mBAAmB,gDAMtB,CAAC;AAEX,uBAAuB;AACvB,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,wBAAwB;AACxB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,KAAK,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,qBAAa,kBAAmB,SAAQ,gBAAgB;gBAC1C,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB;IAIrE;;OAEG;IACH,aAAa,IAAI,SAAS,MAAM,EAAE;IAIlC;;;OAGG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAwB3C;;;;;;OAMG;IACH,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAyGjD;;;OAGG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GACA,MAAM;IAyET;;OAEG;IACH,OAAO,CAAC,cAAc;IAKtB;;OAEG;IACH,OAAO,CAAC,sBAAsB;IA4B9B;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAsB1B;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAiD5B;;;;OAIG;IACM,uBAAuB,IAAI,oBAAoB;IAoDxD;;;;OAIG;IACM,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CA8B5D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.2.7-beta.0",
3
+ "version": "1.2.7-beta.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",