@lovrabet/dsparser 1.0.22 → 1.0.23-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const a0_0x4dc90e=a0_0x4cfb;(function(_0x2e13da,_0x8903b6){const _0x2758e3=a0_0x4cfb,_0x46bf75=_0x2e13da();while(!![]){try{const _0x28fb45=-parseInt(_0x2758e3(0x163))/0x1+parseInt(_0x2758e3(0x316))/0x2+-parseInt(_0x2758e3(0x12b))/0x3+-parseInt(_0x2758e3(0x252))/0x4*(parseInt(_0x2758e3(0x2e5))/0x5)+-parseInt(_0x2758e3(0x322))/0x6+parseInt(_0x2758e3(0x28d))/0x7+-parseInt(_0x2758e3(0x1c7))/0x8*(-parseInt(_0x2758e3(0x2db))/0x9);if(_0x28fb45===_0x8903b6)break;else _0x46bf75['push'](_0x46bf75['shift']());}catch(_0x1c7ae4){_0x46bf75['push'](_0x46bf75['shift']());}}}(a0_0x1696,0xd8989));function toCamelCase(_0x48be9f){const _0x173b5f=a0_0x4cfb;if(!_0x48be9f)return'';return _0x48be9f[_0x173b5f(0x2ea)](/[_-]/)['map']((_0x12444c,_0x32fd9e)=>{const _0x894f42=_0x173b5f;if(_0x32fd9e===0x0)return _0x12444c[_0x894f42(0x1ff)]();return _0x12444c[_0x894f42(0x198)](0x0)[_0x894f42(0x143)]()+_0x12444c['slice'](0x1)[_0x894f42(0x1ff)]();})[_0x173b5f(0x155)]('');}function toPascalCase(_0x2c7e69){const _0x367e56=a0_0x4cfb;if(!_0x2c7e69)return'';const _0x3b1ba9=toCamelCase(_0x2c7e69);return _0x3b1ba9[_0x367e56(0x198)](0x0)[_0x367e56(0x143)]()+_0x3b1ba9[_0x367e56(0x1c9)](0x1);}function toSnakeCase(_0x39603e){const _0x655b9c=a0_0x4cfb;if(!_0x39603e)return'';return _0x39603e[_0x655b9c(0x304)](/([A-Z])/g,_0x655b9c(0x21d))[_0x655b9c(0x1ff)]()[_0x655b9c(0x304)](/^_/,'');}function toKebabCase(_0x4eefbd){const _0x540314=a0_0x4cfb;if(!_0x4eefbd)return'';return _0x4eefbd['replace'](/([A-Z])/g,'-$1')[_0x540314(0x1ff)]()[_0x540314(0x304)](/^-/,'');}function normalizeFieldName(_0x1bfba2){const _0x84de4b=a0_0x4cfb;if(!_0x1bfba2)return'';return _0x1bfba2[_0x84de4b(0x309)]()[_0x84de4b(0x304)](/\s+/g,'_')[_0x84de4b(0x304)](/[^a-zA-Z0-9_]/g,'_')[_0x84de4b(0x304)](/_+/g,'_')[_0x84de4b(0x304)](/^_|_$/g,'');}function getTableName(_0x8b5c2d){const _0x5acd68=a0_0x4cfb;if(!_0x8b5c2d)return'dataset_000000';if(_0x8b5c2d[_0x5acd68(0x14d)]?.['tableName'])return _0x8b5c2d[_0x5acd68(0x14d)][_0x5acd68(0x23b)];const _0x58d68c=_0x8b5c2d[_0x5acd68(0x297)]||_0x8b5c2d[_0x5acd68(0x275)]||_0x8b5c2d[_0x5acd68(0x15a)];if(_0x58d68c)return generateTableNameFromCode(_0x58d68c);return _0x5acd68(0x1d8);}function getTableKey(_0x54ada0){const _0x3fcf99=a0_0x4cfb;if(typeof _0x54ada0===_0x3fcf99(0x273))return toCamelCase(_0x54ada0);const _0x467abe=getTableName(_0x54ada0);return toCamelCase(_0x467abe);}function generateTableNameFromCode(_0x381ccb){const _0x39d2c5=a0_0x4cfb;if(!_0x381ccb)return _0x39d2c5(0x1d8);const _0x15a9ae=_0x381ccb[_0x39d2c5(0x1c9)](-0x6)[_0x39d2c5(0x288)](0x6,'0');return _0x39d2c5(0x1a7)+_0x15a9ae;}function isVirtualTableName(_0x2df3f3){const _0x3b8783=a0_0x4cfb;return/^dataset_[a-zA-Z0-9]{6}$/[_0x3b8783(0x201)](_0x2df3f3);}function generateDatasetsConfig(_0x5368b2,_0x300e74={}){const _0x2c9388=a0_0x4cfb,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x9044e6,filter:_0x40b05c}=_0x300e74,_0x269ba0={},_0x24d2bf=new Set();for(const _0x30bf2f of _0x5368b2){if(_0x40b05c&&!_0x40b05c(_0x30bf2f))continue;const _0x1b05e3=getTableName(_0x30bf2f);if(enableDeduplication&&_0x24d2bf[_0x2c9388(0x2c0)](_0x1b05e3)){console[_0x2c9388(0x1fc)](_0x2c9388(0x21e)+_0x1b05e3+_0x2c9388(0x154)+_0x30bf2f[_0x2c9388(0x20b)]+'\x20('+_0x30bf2f[_0x2c9388(0x297)]+')');continue;}_0x24d2bf[_0x2c9388(0x195)](_0x1b05e3);const _0x485390=_0x9044e6?_0x9044e6(_0x1b05e3,_0x30bf2f):getTableKey(_0x1b05e3);_0x269ba0[_0x485390]={'key':_0x485390,'tableName':_0x1b05e3,'datasetCode':_0x30bf2f[_0x2c9388(0x297)],'name':_0x30bf2f[_0x2c9388(0x20b)],'id':_0x30bf2f['id']};}return _0x269ba0;}function generateFullDatasetsConfig(_0x4a744f,_0x4c324f={}){const _0x191a4d=a0_0x4cfb,{filter:_0x3f201f,datasetNameGenerator:_0x1cebb0}=_0x4c324f,_0x587292=_0x3f201f?_0x4a744f[_0x191a4d(0x29f)](_0x3f201f):_0x4a744f,_0x3ad49a=groupByTableName(_0x587292),_0x4bed6c={};for(const [_0xba23cd,_0x4f4407]of Object[_0x191a4d(0x1a4)](_0x3ad49a)){if(_0x4f4407[_0x191a4d(0x260)]===0x1){const _0x2d5ed3=_0x4f4407[0x0],_0xbe1c7b=_0x1cebb0?_0x1cebb0(_0xba23cd,_0x2d5ed3):getTableKey(_0xba23cd);_0x4bed6c[_0xbe1c7b]={'key':_0xbe1c7b,'tableName':_0xba23cd,'datasetCode':_0x2d5ed3[_0x191a4d(0x297)],'name':_0x2d5ed3[_0x191a4d(0x20b)],'id':_0x2d5ed3['id']};}else{const _0x12a0f3=[..._0x4f4407]['sort']((_0x75387,_0x81c842)=>{const _0xda1972=Number(_0x75387['id'])||0x0,_0x1559e3=Number(_0x81c842['id'])||0x0;return _0x1559e3-_0xda1972;});_0x12a0f3['forEach']((_0x5d1998,_0x3e3506)=>{const _0x641a51=_0x191a4d,_0x2bcc5b=_0x1cebb0?_0x1cebb0(_0xba23cd,_0x5d1998):getTableKey(_0xba23cd),_0x3ad596=_0x3e3506===0x0?_0x2bcc5b:_0x2bcc5b+'_'+_0x3e3506;_0x4bed6c[_0x3ad596]={'key':_0x3ad596,'tableName':_0xba23cd,'datasetCode':_0x5d1998[_0x641a51(0x297)],'name':_0x5d1998[_0x641a51(0x20b)],'id':_0x5d1998['id']};});}}return _0x4bed6c;}function detectTableNameConflicts(_0x2bef2c){const _0x35782b=a0_0x4cfb,_0xb73196={};for(const _0x1689d4 of _0x2bef2c){const _0x5474f6=getTableName(_0x1689d4);!_0xb73196[_0x5474f6]&&(_0xb73196[_0x5474f6]=[]),_0xb73196[_0x5474f6][_0x35782b(0x17a)](_0x1689d4);}const _0x2b1bdf={};for(const [_0x4423f4,_0x5c6b9e]of Object[_0x35782b(0x1a4)](_0xb73196)){_0x5c6b9e[_0x35782b(0x260)]>0x1&&(_0x2b1bdf[_0x4423f4]=_0x5c6b9e);}return{'hasConflicts':Object['keys'](_0x2b1bdf)[_0x35782b(0x260)]>0x0,'conflicts':_0x2b1bdf};}function createDatasetNameMap(_0x3c86e2){const _0x3c927f=a0_0x4cfb,_0x30eedf={};for(const [_0x369c77,_0x324b59]of Object[_0x3c927f(0x1a4)](_0x3c86e2)){_0x30eedf[_0x369c77]=_0x324b59[_0x3c927f(0x297)]||'';}return _0x30eedf;}function groupByTableName(_0x2e501d){const _0x16b394={};for(const _0x10c4ff of _0x2e501d){const _0xa9d77=getTableName(_0x10c4ff);!_0x16b394[_0xa9d77]&&(_0x16b394[_0xa9d77]=[]),_0x16b394[_0xa9d77]['push'](_0x10c4ff);}return _0x16b394;}function datasetsConfigToArray(_0x4e4f61){return Object['values'](_0x4e4f61);}function adaptDrivenDataDetail(_0x4bf647){const _0x16676b=a0_0x4cfb;return{'id':_0x4bf647['modelId'],'name':_0x4bf647[_0x16676b(0x20b)],'datasetCode':_0x4bf647['modelCode'],'dbtableConfig':_0x4bf647[_0x16676b(0x14d)],'source':_0x4bf647['source'],'version':_0x4bf647[_0x16676b(0x229)],'extend':_0x4bf647[_0x16676b(0x1dd)],'properties':_0x4bf647['properties'],'operations':_0x4bf647[_0x16676b(0x31b)]};}function adaptDrivenDataDetails(_0x5369a0){const _0x171191=a0_0x4cfb;return _0x5369a0[_0x171191(0x287)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x5e1396){const _0x56ca1b=a0_0x4cfb;if(!_0x5e1396['success']||!_0x5e1396[_0x56ca1b(0x263)])throw new Error(_0x56ca1b(0x2e7)+(_0x5e1396[_0x56ca1b(0x237)]||_0x5e1396[_0x56ca1b(0x296)]));return adaptDrivenDataDetail(_0x5e1396['data']);}function extractDatasetsFromListResponse(_0x426270){const _0x43934d=a0_0x4cfb;if(!_0x426270[_0x43934d(0x23a)]||!_0x426270[_0x43934d(0x263)]?.[_0x43934d(0x2e2)])throw new Error(_0x43934d(0x156)+(_0x426270[_0x43934d(0x237)]||_0x426270[_0x43934d(0x296)]));return _0x426270[_0x43934d(0x263)]['tableData'][_0x43934d(0x287)](_0x37e15a=>({..._0x37e15a,'datasetCode':_0x37e15a[_0x43934d(0x275)]||_0x37e15a['datasetCode']}));}function isDrivenDataDetail(_0x10b014){const _0x54cc8b=a0_0x4cfb;return Boolean(_0x10b014&&typeof _0x10b014[_0x54cc8b(0x15a)]===_0x54cc8b(0x273));}function smartAdapt(_0x1cf45a){const _0xa3ef6d=a0_0x4cfb;if(isDrivenDataDetail(_0x1cf45a))return adaptDrivenDataDetail(_0x1cf45a);if(_0x1cf45a[_0xa3ef6d(0x297)])return _0x1cf45a;if(_0x1cf45a['code'])return{..._0x1cf45a,'datasetCode':_0x1cf45a[_0xa3ef6d(0x275)]};return _0x1cf45a;}var DatasetOperationType;function a0_0x1696(){const _0xf7d58e=['where','source','完整的\x20SDK\x20调用代码','toString','200','fullUrl','responseSchema','field_name','length','autoIncrement','Number','data','getEnabledOperations','modifierIdField','phone','getAt','();','getCountByMethod','placeholder','DELETE','getOperationCount','getConflicts','SDK\x20调用','Integer','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:','getRequestFields','支持多个条件','string','\x0a\x0a//\x20','code','当前页码','$eq','Object','hasUpdateTimeField','getVirtualTables','findAll','getOperationCountByType','getEnumMetas','查询单个条件','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','getEnumFields','updateTime','SELECT','INTEGER','ensureFilterOperation','getResponseSchema','getOperationList','map','padStart','getLast','getAllFieldsArray','getAllDatasets','当前页码(可选)','12190759TQoOnb','getOperations','size','getDefaultValue','array','parseRawRequestBody','dbVersion','getName','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','msg','datasetCode','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','datasetKey','系统自动生成','findById','forEach','RADIO','filter','value','getByType','getFilteredOperationAnalyses','sdkCall','isEnum','2024-01-01','DatasetGroupMap(','DatasetGroup(','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','update','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','({\x20currentPage,\x20pageSize\x20});','getOperationRequestFields','required','getBusiness','hasConflicts','getIds','withDeleted','sortOperationsWithFilterFirst','GET_ONE','Object[]','getPath','获取上传脚本','getRequestParams','sortNum','initDataset','\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});','getSelectOptions','_operations','hasOperation','isEnumField','toConfigArray','has','items','getFirst','value2','$startWith','generateDefaultFilterOperation','keys','https://example.com/file.pdf','getTenantCode','hasTableName','requestBody','getDatabaseType','raw','请求示例','errorCode','isSystem','_operationAnalyses','appCode','getAutoIncrement','_fieldList','hasCreateTimeField','GET_FILE_URL','deleted','defaultValue','isCreateTime','getMissingCRUDOperations','generateSingleValueExample','2410137AkRrVl','getFieldOperators','\x20items,\x20','getStats','logicField','hasModifierIdField','properties','tableData','getFieldList','(id);','25UHnoNM','path','获取数据集失败:\x20','支持单值或数组','创建导入','split','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','dblinkInfoDTO','options','_fields','findByTableName','parse','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','IMPORT_TEMPLATE','<p>富文本内容</p>','createAll','getEnabled','DbtableConfig(table:\x20','enabled','排序规则','BIGINT','getOperationStats','({\x20','set','富文本','[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:','customFilter','TIMESTAMP','1.0.0-beta.8','type','hasCreatorIdField','replace','Excel导出','NUMBER','createImport','getAll','trim','VARCHAR','isAutoIncrement','getTableName','[parseFieldExtend]\x20Invalid\x20field:','find','_fieldListWithDeleted','查询列表','groups','getOperators','getUpdateTime','total','toListItem','1272058ZGsggl','getFieldFilterOperators','delete','getDisplayName',':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','operations','();\x0a\x0a//\x20按条件导出(支持与\x20getList\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','`:\x20','getOperationDocMeta','parseRawResponseBody','isPrimaryKeyField','requestFields','3740598GvVaYj','hasDbtableConfig','getRaw','filterBlacklist','getFieldListWithDeleted','4067043cdgpXo','detectConflicts','dbType','getTooltip','empty','fieldName','GET_LIST','TASK_INFO','findByName','orderBy','from','文件上传','updateTimeField','getRequired','每页数量','getFieldRaw','[Field.extend]\x20解析字段\x20','$endWith','getCountByType','getOperationFieldOperators','(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容','GET_ONE_ORIGIN','getFieldCount','children','toUpperCase','null','isUpdateTime','[Field]\x20Invalid\x20field\x20definition','_raw','getFieldDefinition','query','getFilterOperation','$lteq','fieldCount','dbtableConfig','prefix','values','$gte','({\x20/*\x20可选:筛选条件\x20*/\x20});','getFieldOptions','taskInfo','\x22,数据集:\x20','join','获取数据集列表失败:\x20','generateFullSDKExample','modelId','systemAnalysisResult','modelCode','北京市朝阳区','getOneUpdate','hasField','/filter','create','generateUsageExample','user@example.com','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','303997BlsWos','isOperatorApplicableToField','getFullUrl','getFieldSelectItemsSource','STRING','usageExample','repeat','includeDisabled','(id,\x20data);','stringify','BOOLEAN','some','substring','hasConflict','getRawDbtableConfig','DESC','dbName','creatorNameField','isPrimaryKey','DATETIME','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getEnabledNames','now','push','getList','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','isOperationEnabled','$in',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getOperationFieldsOperatorsMap','pageSize','$ne','[generateRequestExample]\x20Invalid\x20field:','getLatest','getModelName','creatorIdField','allFields','getOperationsOverviewData','查询单条(用于更新)','getFileUrl','sort','createDate','hasLogicField','getDatabaseName','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','tenantCode','getSelectItemsSource','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','generateFieldExample','getOperationOperators','add','_operationList','getPrimaryKeys','charAt','object','systemRetain','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','value1','getTableKey','\x20items,\x20conflict,\x20latest:\x20','解析\x20requestBody\x20失败:','isEnabled','responseBody','selectItemsSource','Operation\x20instance\x20not\x20found:\x20','entries','getCount','getOne','dataset_','getDisabledNames','操作成功','$or','generateFromSchema','generateRequestAllExamples','(id,\x20','_extend','getEnabledOperationInstances','context','getUploadFileScript','$lte','hasDblinkInfo','includes','const\x20result\x20=\x20await\x20client.models.','getOperation','dbId','getRequiredFields','getItems','getFieldInstance','getEnumMeta','getLatestDatasets','toObject','getBusinessFields','email','_datasetMap','primaryKey','getRealTables','getType','iterator','currentPage','groupByTableName','32aJWHzX','boolean','slice','fields','UPDATE','(...);\x0a\x20\x20console.log(data);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x20(包含\x20success,\x20errorMsg\x20等)\x0a}','CREATE_IMPORT','getSystemFields','generateExampleValue','groupByType','GET_SELECT_OPTIONS','Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData','description','TEXT',',\x20fields:\x20','DatasetItem(','isMultipleSelectField','dataset_000000','-\x20`','excelExport','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getField','extend','datasetMap','label','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','DrivenDataDetailPlus(','getPrimaryKeyFields','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','suffix','任务信息','BOOL','String','isEmpty','isBusiness','findByCode','generateConfig','getEnumOptions','includeDeleted','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','\x20operations)','pkField','getEnumFieldMeta','min','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getOneOrigin','getApplicableOperators','getFields','getAppCode','isVirtualTable','getEnum','getOperationAnalysis','getEnabledOperationAnalyses','warn','CREATE_EXPORT','DATE','toLowerCase','daily','test','isRequired','toFieldDefinition','toConfig','示例值','EXCEL_EXPORT','every','GET_ONE_UPDATE','创建导出','displayName','name','valueLabels','时间戳','hasFilterOperation','getFiltered','generateAllOperationsSummary','(支持单值或数组)','keyword','multiple','下拉选择','$gteq','createExport','labelField','导入模板','getOperationCountByMethod','getDisabled','getSystem','查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)','_$1','[dsparser]\x20跳过重复的表名\x20\x22','online','isArray','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27','isDeleted','const\x20fileUrl\x20=\x20await\x20client.models.','这是一段较长的文本内容示例','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','getSource','日期时间','generateSDKCallCode','version','(params);','successCode','getFieldsFilterOperatorsMap','no\x20conflicts','getOldest','isRequiredField','enabledOperationCount','0000','generateRequestExample','getCodes','toISOString','toJSON','toArray','errorMsg','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','isSystemField','success','tableName','method','DECIMAL','getSDKInitData','查询单条(原始)','N/A','getExtendField','operation','$contain','String[]','isMultipleSelect','POST','host','createTimeField','selectBestOperator','generateResponseExample','\x20operation\x0a','importTemplate','解析\x20responseBody\x20失败:','getConflictingItems','get','getNames','getMethod','222760AiHcCv','generateSDKInitCode','GET_UPLOAD_FILE_SCRIPT','modifierNameField','getOperationAnalyses','number'];a0_0x1696=function(){return _0xf7d58e;};return a0_0x1696();}(_0xecb39e=>{const _0x235aba=a0_0x4cfb;_0xecb39e[_0x235aba(0x131)]=_0x235aba(0x17b),_0xecb39e[_0x235aba(0x2b3)]=_0x235aba(0x1a6),_0xecb39e[_0x235aba(0x140)]=_0x235aba(0x1f4),_0xecb39e[_0x235aba(0x208)]=_0x235aba(0x15c),_0xecb39e['CREATE']=_0x235aba(0x15f),_0xecb39e[_0x235aba(0x1cb)]='update',_0xecb39e[_0x235aba(0x26b)]=_0x235aba(0x318),_0xecb39e[_0x235aba(0x1d1)]=_0x235aba(0x2bb),_0xecb39e[_0x235aba(0x2d5)]=_0x235aba(0x18a),_0xecb39e[_0x235aba(0x206)]=_0x235aba(0x1da),_0xecb39e[_0x235aba(0x254)]=_0x235aba(0x1b1),_0xecb39e[_0x235aba(0x1cd)]=_0x235aba(0x307),_0xecb39e[_0x235aba(0x1fd)]=_0x235aba(0x216),_0xecb39e[_0x235aba(0x132)]='taskInfo',_0xecb39e[_0x235aba(0x2f2)]=_0x235aba(0x24c);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x4dc90e(0x17b)]:a0_0x4dc90e(0x310),[a0_0x4dc90e(0x1a6)]:'查询单条',[a0_0x4dc90e(0x1f4)]:a0_0x4dc90e(0x23f),[a0_0x4dc90e(0x15c)]:a0_0x4dc90e(0x189),[a0_0x4dc90e(0x15f)]:'创建',[a0_0x4dc90e(0x2a9)]:'更新',[a0_0x4dc90e(0x318)]:'删除',[a0_0x4dc90e(0x2bb)]:'获取下拉选项',[a0_0x4dc90e(0x18a)]:'获取文件URL',[a0_0x4dc90e(0x1da)]:a0_0x4dc90e(0x305),[a0_0x4dc90e(0x1b1)]:a0_0x4dc90e(0x2b6),['createImport']:a0_0x4dc90e(0x2e9),[a0_0x4dc90e(0x216)]:a0_0x4dc90e(0x209),[a0_0x4dc90e(0x153)]:a0_0x4dc90e(0x1e5),[a0_0x4dc90e(0x24c)]:a0_0x4dc90e(0x218)},API_BLACKLIST=[a0_0x4dc90e(0x1f4),'getOneUpdate',a0_0x4dc90e(0x18a)];function parseFieldExtend(_0x43cb57){const _0x44e088=a0_0x4dc90e;if(!_0x43cb57||typeof _0x43cb57!=='object')return!![]&&console[_0x44e088(0x1fc)](_0x44e088(0x30d),_0x43cb57),{};if(!_0x43cb57[_0x44e088(0x1dd)])return{};try{const _0x551d57=typeof _0x43cb57[_0x44e088(0x1dd)]===_0x44e088(0x273)?JSON[_0x44e088(0x2f0)](_0x43cb57[_0x44e088(0x1dd)]):_0x43cb57[_0x44e088(0x1dd)];if(typeof _0x551d57!==_0x44e088(0x199)||_0x551d57===null)return{};return _0x551d57;}catch(_0x3069ed){return{};}}function isPrimaryKeyField(_0x237057,_0x583aec){const _0x1d3ab4=a0_0x4dc90e;if(!_0x237057||typeof _0x237057!==_0x1d3ab4(0x199))return![];if(typeof _0x583aec===_0x1d3ab4(0x273)&&_0x237057['code']===_0x583aec)return!![];const _0x2031fd=parseFieldExtend(_0x237057);return Boolean(_0x2031fd[_0x1d3ab4(0x1c1)]||_0x2031fd[_0x1d3ab4(0x1f0)]);}function isSystemField(_0x29dbf5){const _0x5c7b96=a0_0x4dc90e,_0x24530a=parseFieldExtend(_0x29dbf5);return Boolean(_0x24530a[_0x5c7b96(0x19a)]);}function isRequiredField(_0x2f467f){const _0x598dc2=a0_0x4dc90e,_0x154f9e=parseFieldExtend(_0x2f467f);return Boolean(_0x154f9e[_0x598dc2(0x2ad)]);}function isAutoIncrementField(_0x43c199){const _0x31cff9=a0_0x4dc90e,_0x29cba3=parseFieldExtend(_0x43c199);return Boolean(_0x29cba3[_0x31cff9(0x261)]);}function isCreateTimeField(_0x7de2ef){const _0xd3efba=parseFieldExtend(_0x7de2ef);return Boolean(_0xd3efba['createDate']);}function isModifyTimeField(_0x552f83){const _0x26b7d0=parseFieldExtend(_0x552f83);return Boolean(_0x26b7d0['modifyDate']);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':'长文本','DATE':'日期','DATETIME':a0_0x4dc90e(0x227),'TIMESTAMP':a0_0x4dc90e(0x20d),'SELECT':a0_0x4dc90e(0x214),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0x4dc90e(0x136),'IMAGE':'图片','RICH_TEXT':a0_0x4dc90e(0x2fd),'JSON':'JSON','ARRAY':'数组'};function getDbTypeDisplay(_0x251e61){const _0x521214=a0_0x4dc90e;if(typeof _0x251e61!==_0x521214(0x273))return!![]&&console[_0x521214(0x1fc)](_0x521214(0x1e0),_0x251e61),String(_0x251e61||'-');return DB_TYPE_DISPLAY_MAP[_0x251e61]||_0x251e61;}function formatDbType(_0x593866,_0x9dc02b){const _0x203c22=a0_0x4dc90e;if(!_0x593866||typeof _0x593866!==_0x203c22(0x273))return'-';if(!_0x9dc02b||typeof _0x9dc02b!==_0x203c22(0x257))return _0x593866;const _0xa6e471=['TEXT',_0x203c22(0x176),_0x203c22(0x300),'DATE'];if(_0xa6e471[_0x203c22(0x1b4)](_0x593866[_0x203c22(0x143)]()))return _0x593866;return _0x593866+'('+_0x9dc02b+')';}function parseOperationType(_0x90f79c){const _0x1b1a38=a0_0x4dc90e;if(typeof _0x90f79c!==_0x1b1a38(0x273)){!![]&&console[_0x1b1a38(0x1fc)](_0x1b1a38(0x17c),_0x90f79c);return;}if(Object[_0x1b1a38(0x14f)](DatasetOperationType)[_0x1b1a38(0x1b4)](_0x90f79c))return _0x90f79c;const _0x55099c=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)[_0x1b1a38(0x30e)](([_0x410f78,_0x286e3f])=>_0x286e3f===_0x90f79c);return _0x55099c?_0x55099c[0x0]:undefined;}function shouldIncludeField(_0x984a6c,_0x30ac87,_0x9719a1){const _0x5d5181=a0_0x4dc90e,_0x160449=parseFieldExtend(_0x984a6c),_0x3007e9=isPrimaryKeyField(_0x984a6c,_0x9719a1),_0x4fb910=Boolean(_0x160449['systemRetain']),_0x3bb522=Boolean(_0x160449[_0x5d5181(0x261)]),_0x2f7ab4=Boolean(_0x160449[_0x5d5181(0x18c)]),_0x1933ab=Boolean(_0x160449['modifyDate']);switch(_0x30ac87){case _0x5d5181(0x17b):return!![];case _0x5d5181(0x1a6):case _0x5d5181(0x1f4):case _0x5d5181(0x318):return _0x3007e9;case _0x5d5181(0x15f):if(_0x3007e9&&_0x3bb522)return![];if(_0x4fb910)return![];if(_0x2f7ab4||_0x1933ab)return![];return!![];case _0x5d5181(0x2a9):case _0x5d5181(0x15c):if(_0x3007e9)return!![];if(_0x4fb910)return![];if(_0x2f7ab4||_0x1933ab)return![];return!![];case _0x5d5181(0x2bb):return _0x984a6c[_0x5d5181(0x275)]==='code';default:return!![];}}function getFieldsForOperation(_0x4f4d78,_0x20eacf,_0x2792f6){const _0x4b3f88=a0_0x4dc90e;if(!Array[_0x4b3f88(0x220)](_0x4f4d78))return!![]&&console[_0x4b3f88(0x1fc)](_0x4b3f88(0x18f),_0x4f4d78),[];return _0x4f4d78[_0x4b3f88(0x29f)](_0x281254=>shouldIncludeField(_0x281254,_0x20eacf,_0x2792f6));}function isApiBlacklisted(_0x34fc6a){const _0x250f2c=a0_0x4dc90e;if(typeof _0x34fc6a!==_0x250f2c(0x273))return!![]&&console['warn'](_0x250f2c(0x2eb),_0x34fc6a),![];return API_BLACKLIST[_0x250f2c(0x1b4)](_0x34fc6a);}function filterApiOperations(_0x37ba10){const _0x42aa48=a0_0x4dc90e;if(!Array[_0x42aa48(0x220)](_0x37ba10))return!![]&&console[_0x42aa48(0x1fc)](_0x42aa48(0x177),_0x37ba10),[];return _0x37ba10[_0x42aa48(0x29f)](_0x40363f=>_0x40363f&&typeof _0x40363f===_0x42aa48(0x199)&&!isApiBlacklisted(_0x40363f[_0x42aa48(0x20b)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x4dc90e(0x179)](),'SELECT':({fieldInfo:_0x4d8f53})=>{const _0x293198=a0_0x4dc90e;if(_0x4d8f53?.['options']&&Array[_0x293198(0x220)](_0x4d8f53[_0x293198(0x2ed)])&&_0x4d8f53[_0x293198(0x2ed)][_0x293198(0x260)]>0x0)return _0x4d8f53['options'][0x0][_0x293198(0x2a0)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x2828a7})=>{const _0x59dd7f=a0_0x4dc90e;if(_0x2828a7===_0x59dd7f(0x1c5))return 0x1;if(_0x2828a7===_0x59dd7f(0x181))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x293eb4})=>{const _0x3ab096=a0_0x4dc90e;if(_0x293eb4&&typeof _0x293eb4===_0x3ab096(0x273)){const _0x563f37=_0x293eb4[_0x3ab096(0x1ff)]();if(_0x563f37['includes']('邮箱')||_0x563f37[_0x3ab096(0x1b4)](_0x3ab096(0x1bf)))return _0x3ab096(0x161);if(_0x563f37['includes']('电话')||_0x563f37[_0x3ab096(0x1b4)]('手机')||_0x563f37['includes'](_0x3ab096(0x266)))return'13800138000';if(_0x563f37[_0x3ab096(0x1b4)]('地址')||_0x563f37[_0x3ab096(0x1b4)]('address'))return _0x3ab096(0x15b);if(_0x563f37[_0x3ab096(0x1b4)]('姓名')||_0x563f37['includes'](_0x3ab096(0x20b)))return'张三';}return'示例文本';},'VARCHAR':({description:_0x1e6ac0})=>TYPE_VALUE_GENERATORS[a0_0x4dc90e(0x1d4)]({'description':_0x1e6ac0}),'CHAR':({description:_0x9cc882})=>TYPE_VALUE_GENERATORS[a0_0x4dc90e(0x1d4)]({'description':_0x9cc882}),'STRING':({fieldInfo:_0x508b51,description:_0x4ea124})=>{const _0x1d7eb5=a0_0x4dc90e;if(_0x508b51?.[_0x1d7eb5(0x26a)]&&typeof _0x508b51['placeholder']===_0x1d7eb5(0x273)&&_0x508b51[_0x1d7eb5(0x26a)]!==_0x1d7eb5(0x29b))return _0x508b51[_0x1d7eb5(0x26a)][_0x1d7eb5(0x304)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x1d7eb5(0x1d4)]({'description':_0x4ea124});},'TEXTAREA':()=>a0_0x4dc90e(0x224),'LONGTEXT':()=>a0_0x4dc90e(0x224),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x4dc90e(0x2a0)}),'ARRAY':()=>['item1','item2'],'UPLOAD':()=>a0_0x4dc90e(0x2c7),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0x4dc90e(0x2f3)};function generateExampleValue(_0x4073f0,_0x30b1e1,_0x310233,_0x3ff9a5={}){const _0x22363b=a0_0x4dc90e;typeof _0x4073f0!=='string'&&(!![]&&console[_0x22363b(0x1fc)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x4073f0),_0x4073f0=String(_0x4073f0||''));if(typeof _0x30b1e1!=='string')return!![]&&console[_0x22363b(0x1fc)](_0x22363b(0x299),_0x30b1e1),'示例值';const {isPrimaryKey:_0x82b633,dbtableConfig:_0x54cb45}=_0x3ff9a5;if(_0x82b633)return 0x1;if(_0x54cb45&&typeof _0x54cb45==='object'){const _0x43d762=_0x54cb45['createTimeField']?.[_0x22363b(0x130)]===_0x4073f0,_0x578944=_0x54cb45[_0x22363b(0x137)]?.['fieldName']===_0x4073f0;if(_0x43d762||_0x578944){if(_0x310233&&typeof _0x310233==='string'&&_0x310233[_0x22363b(0x143)]()[_0x22363b(0x1b4)](_0x22363b(0x300)))return Date[_0x22363b(0x179)]();return new Date()[_0x22363b(0x234)]()[_0x22363b(0x304)]('T','\x20')[_0x22363b(0x2ea)]('.')[0x0];}}const _0x33b49b={..._0x3ff9a5,'fieldCode':_0x4073f0};if(_0x310233&&typeof _0x310233===_0x22363b(0x273)){const _0x416f6b=_0x310233[_0x22363b(0x143)](),_0xdb9aed=TYPE_VALUE_GENERATORS[_0x416f6b];if(_0xdb9aed)return _0xdb9aed(_0x33b49b);}if(_0x30b1e1&&typeof _0x30b1e1===_0x22363b(0x273)){const _0x48e478=_0x30b1e1['toUpperCase'](),_0x43ad76=TYPE_VALUE_GENERATORS[_0x48e478];if(_0x43ad76)return _0x43ad76(_0x33b49b);}return _0x22363b(0x205);}function a0_0x4cfb(_0x11f820,_0x5e27a4){const _0x1696e2=a0_0x1696();return a0_0x4cfb=function(_0x4cfb60,_0x212de3){_0x4cfb60=_0x4cfb60-0x12a;let _0x2002d1=_0x1696e2[_0x4cfb60];return _0x2002d1;},a0_0x4cfb(_0x11f820,_0x5e27a4);}function generateExampleFromSchema(_0x1cda76,_0x3f7499){const _0x1f0d8a=a0_0x4dc90e;if(!_0x1cda76||typeof _0x1cda76!=='object')return{};if(Array[_0x1f0d8a(0x220)](_0x1cda76)){if(_0x1cda76[_0x1f0d8a(0x260)]>0x0)return[generateExampleFromSchema(_0x1cda76[0x0],_0x3f7499)];return[];}const _0x1b7ee3={};return Object[_0x1f0d8a(0x2c6)](_0x1cda76)['forEach'](_0x11f249=>{const _0x1ab779=_0x1f0d8a,_0x26c555=_0x1cda76[_0x11f249];if(_0x26c555&&typeof _0x26c555===_0x1ab779(0x199)&&!Array[_0x1ab779(0x220)](_0x26c555)&&_0x26c555['type']){const _0xa02146=_0x26c555,_0xbd3958=_0xa02146['type'],_0x12302b=_0xa02146[_0x1ab779(0x1d3)];typeof _0xbd3958===_0x1ab779(0x273)?_0x1b7ee3[_0x11f249]=generateExampleValue(_0x11f249,_0xbd3958,undefined,{'description':_0x12302b,'dbtableConfig':_0x3f7499}):_0x1b7ee3[_0x11f249]=_0x1ab779(0x205);}else{if(Array[_0x1ab779(0x220)](_0x26c555))_0x1b7ee3[_0x11f249]=_0x26c555[_0x1ab779(0x260)]>0x0?[generateExampleFromSchema(_0x26c555[0x0],_0x3f7499)]:[];else _0x26c555&&typeof _0x26c555===_0x1ab779(0x199)?_0x1b7ee3[_0x11f249]=generateExampleFromSchema(_0x26c555,_0x3f7499):_0x1b7ee3[_0x11f249]=_0x26c555;}}),_0x1b7ee3;}function parseRequestBody(_0x471946){const _0x4cfc14=a0_0x4dc90e;if(!_0x471946)return{};try{return JSON[_0x4cfc14(0x2f0)](_0x471946);}catch(_0x3ed884){return!![]&&console['warn'](_0x4cfc14(0x19f),_0x3ed884),{};}}function parseResponseBody(_0x1a71f7){const _0x2f78d0=a0_0x4dc90e;if(!_0x1a71f7)return null;try{const _0x3ff406=JSON[_0x2f78d0(0x2f0)](_0x1a71f7);return _0x3ff406[_0x2f78d0(0x25c)]||_0x3ff406;}catch(_0x476440){return!![]&&console[_0x2f78d0(0x1fc)](_0x2f78d0(0x24d),_0x476440),null;}}function generateRequestExample(_0x244fb1,_0x2181b2,_0x514df8,_0x451c47){const _0x5472be=a0_0x4dc90e,_0x170219={};if(!Array['isArray'](_0x244fb1))return!![]&&console['warn'](_0x5472be(0x27f),_0x244fb1),_0x170219;return _0x244fb1[_0x5472be(0x29d)](_0x1c4c8a=>{const _0x495b90=_0x5472be;if(!_0x1c4c8a||typeof _0x1c4c8a!=='object'){!![]&&console[_0x495b90(0x1fc)](_0x495b90(0x183),_0x1c4c8a);return;}if(typeof _0x1c4c8a[_0x495b90(0x275)]!==_0x495b90(0x273)||typeof _0x1c4c8a['type']!==_0x495b90(0x273)){!![]&&console[_0x495b90(0x1fc)](_0x495b90(0x1e3),_0x1c4c8a);return;}const _0x241147=parseFieldExtend(_0x1c4c8a),_0x3ad2ce=_0x1c4c8a[_0x495b90(0x275)]===_0x514df8||Boolean(_0x241147?.[_0x495b90(0x1c1)]),_0x230c21=generateExampleValue(_0x1c4c8a[_0x495b90(0x275)],_0x1c4c8a['type'],typeof _0x1c4c8a['dbType']===_0x495b90(0x273)?_0x1c4c8a[_0x495b90(0x12d)]:undefined,{'fieldInfo':_0x241147,'isPrimaryKey':_0x3ad2ce,'description':_0x1c4c8a['description']||_0x1c4c8a[_0x495b90(0x20b)],'dbtableConfig':_0x451c47});_0x170219[_0x1c4c8a[_0x495b90(0x275)]]=_0x230c21;}),_0x2181b2===_0x5472be(0x17b)&&(_0x170219[_0x5472be(0x1c5)]=0x1,_0x170219[_0x5472be(0x181)]=0xa),_0x170219;}function formatEnumValue(_0x447c8c,_0x26751e){const _0x3f6b6d=a0_0x4dc90e;if(_0x447c8c['multiple']&&Array[_0x3f6b6d(0x220)](_0x26751e))return _0x26751e['map'](_0x4b0c03=>_0x447c8c[_0x3f6b6d(0x20c)][String(_0x4b0c03)]||String(_0x4b0c03))[_0x3f6b6d(0x155)](',\x20');return _0x447c8c['valueLabels'][String(_0x26751e)]||String(_0x26751e);}function formatOptionsForDoc(_0x554a4a){const _0x555603=a0_0x4dc90e;return _0x554a4a[_0x555603(0x287)](_0x30e5f1=>_0x30e5f1[_0x555603(0x2a0)]+'('+_0x30e5f1[_0x555603(0x1df)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x32968c,_0x414d51=0x0){const _0x5c2a7a=a0_0x4dc90e,_0x212c12='\x20\x20'[_0x5c2a7a(0x169)](_0x414d51),_0x2c294b=[];return _0x32968c[_0x5c2a7a(0x29d)](_0x3c7260=>{const _0x27c4de=_0x5c2a7a;_0x2c294b[_0x27c4de(0x17a)](_0x212c12+_0x27c4de(0x1d9)+_0x3c7260['value']+_0x27c4de(0x31d)+_0x3c7260[_0x27c4de(0x1df)]),_0x3c7260[_0x27c4de(0x142)]&&_0x3c7260[_0x27c4de(0x142)]['length']>0x0&&_0x2c294b['push'](formatOptionsAsMarkdownList(_0x3c7260[_0x27c4de(0x142)],_0x414d51+0x1));}),_0x2c294b[_0x5c2a7a(0x155)]('\x0a');}class DbtableConfig{['_raw'];constructor(_0x56c471){const _0x1d81f=a0_0x4dc90e;this[_0x1d81f(0x147)]={..._0x56c471};}get[a0_0x4dc90e(0x1b7)](){const _0x33ca71=a0_0x4dc90e;return this[_0x33ca71(0x147)][_0x33ca71(0x1b7)];}get[a0_0x4dc90e(0x23b)](){const _0x1281e6=a0_0x4dc90e;return this[_0x1281e6(0x147)][_0x1281e6(0x23b)];}get[a0_0x4dc90e(0x29a)](){const _0x144aea=a0_0x4dc90e;return this[_0x144aea(0x147)][_0x144aea(0x29a)];}get['pkField'](){const _0x4b5766=a0_0x4dc90e;return this['_raw'][_0x4b5766(0x1f0)];}get[a0_0x4dc90e(0x217)](){return this['_raw']['labelField'];}get[a0_0x4dc90e(0x2df)](){const _0x38c44d=a0_0x4dc90e;return this[_0x38c44d(0x147)][_0x38c44d(0x2df)];}get[a0_0x4dc90e(0x248)](){const _0x5d19ea=a0_0x4dc90e;return this['_raw'][_0x5d19ea(0x248)];}get[a0_0x4dc90e(0x137)](){const _0x290934=a0_0x4dc90e;return this['_raw'][_0x290934(0x137)];}get['creatorIdField'](){const _0x4f1018=a0_0x4dc90e;return this[_0x4f1018(0x147)][_0x4f1018(0x186)];}get[a0_0x4dc90e(0x174)](){return this['_raw']['creatorNameField'];}get[a0_0x4dc90e(0x265)](){const _0x5c23d1=a0_0x4dc90e;return this[_0x5c23d1(0x147)][_0x5c23d1(0x265)];}get[a0_0x4dc90e(0x255)](){const _0x1b6403=a0_0x4dc90e;return this[_0x1b6403(0x147)][_0x1b6403(0x255)];}get[a0_0x4dc90e(0x2ec)](){const _0x523166=a0_0x4dc90e;return this[_0x523166(0x147)]['dblinkInfoDTO'];}['getAllFieldsArray'](){const _0x34d6cb=a0_0x4dc90e;if(!this['_raw']['allFields'])return[];return this['_raw'][_0x34d6cb(0x187)][_0x34d6cb(0x2ea)](',')[_0x34d6cb(0x287)](_0x51fc85=>_0x51fc85[_0x34d6cb(0x309)]())[_0x34d6cb(0x29f)](Boolean);}['getAllFieldsString'](){const _0x447fc3=a0_0x4dc90e;return this[_0x447fc3(0x147)][_0x447fc3(0x187)];}['hasField'](_0x30c841){const _0x492206=a0_0x4dc90e;return this[_0x492206(0x28a)]()[_0x492206(0x1b4)](_0x30c841);}[a0_0x4dc90e(0x2c9)](){const _0x1b14c5=a0_0x4dc90e;return Boolean(this['_raw'][_0x1b14c5(0x23b)]);}[a0_0x4dc90e(0x1b3)](){const _0xb2dc71=a0_0x4dc90e;return Boolean(this[_0xb2dc71(0x147)][_0xb2dc71(0x2ec)]);}[a0_0x4dc90e(0x18d)](){const _0x4b379e=a0_0x4dc90e;return Boolean(this[_0x4b379e(0x147)][_0x4b379e(0x2df)]?.[_0x4b379e(0x130)]);}[a0_0x4dc90e(0x2d4)](){const _0x42d9a1=a0_0x4dc90e;return Boolean(this['_raw'][_0x42d9a1(0x248)]?.[_0x42d9a1(0x130)]);}[a0_0x4dc90e(0x279)](){const _0x196b67=a0_0x4dc90e;return Boolean(this['_raw'][_0x196b67(0x137)]?.[_0x196b67(0x130)]);}['hasCreatorIdField'](){const _0x35fa81=a0_0x4dc90e;return Boolean(this[_0x35fa81(0x147)][_0x35fa81(0x186)]?.[_0x35fa81(0x130)]);}['hasModifierIdField'](){const _0x5d7664=a0_0x4dc90e;return Boolean(this[_0x5d7664(0x147)]['modifierIdField']?.[_0x5d7664(0x130)]);}['isPrimaryKeyField'](_0x2f9816){const _0x451495=a0_0x4dc90e;return this[_0x451495(0x147)]['pkField']===_0x2f9816;}[a0_0x4dc90e(0x239)](_0x1e5812){const _0x25f275=a0_0x4dc90e;return this[_0x25f275(0x320)](_0x1e5812)||this['_raw'][_0x25f275(0x2df)]?.[_0x25f275(0x130)]===_0x1e5812||this[_0x25f275(0x147)][_0x25f275(0x248)]?.[_0x25f275(0x130)]===_0x1e5812||this['_raw'][_0x25f275(0x137)]?.[_0x25f275(0x130)]===_0x1e5812||this[_0x25f275(0x147)][_0x25f275(0x186)]?.[_0x25f275(0x130)]===_0x1e5812||this[_0x25f275(0x147)]['creatorNameField']?.[_0x25f275(0x130)]===_0x1e5812||this['_raw'][_0x25f275(0x265)]?.['fieldName']===_0x1e5812||this[_0x25f275(0x147)][_0x25f275(0x255)]?.[_0x25f275(0x130)]===_0x1e5812;}[a0_0x4dc90e(0x18e)](){const _0x735420=a0_0x4dc90e;return this[_0x735420(0x147)][_0x735420(0x2ec)]?.[_0x735420(0x173)];}[a0_0x4dc90e(0x2cb)](){const _0x4224d2=a0_0x4dc90e;return this[_0x4224d2(0x147)][_0x4224d2(0x2ec)]?.[_0x4224d2(0x12d)];}['getDatabaseVersion'](){const _0x4de188=a0_0x4dc90e;return this['_raw']['dblinkInfoDTO']?.[_0x4de188(0x293)];}[a0_0x4dc90e(0x2c8)](){const _0x2e0530=a0_0x4dc90e;return this[_0x2e0530(0x147)][_0x2e0530(0x2ec)]?.[_0x2e0530(0x190)];}[a0_0x4dc90e(0x1f7)](){const _0x4a348c=a0_0x4dc90e;return this[_0x4a348c(0x147)]['dblinkInfoDTO']?.[_0x4a348c(0x2d1)];}['getSystemAnalysisResult'](){const _0x34fad4=a0_0x4dc90e;return this[_0x34fad4(0x147)][_0x34fad4(0x2ec)]?.[_0x34fad4(0x159)];}[a0_0x4dc90e(0x2de)](){const _0x23aa42=a0_0x4dc90e;return{'hasTableName':this[_0x23aa42(0x2c9)](),'hasDblinkInfo':this[_0x23aa42(0x1b3)](),'fieldCount':this[_0x23aa42(0x28a)]()[_0x23aa42(0x260)],'systemFields':{'hasLogicField':this[_0x23aa42(0x18d)](),'hasCreateTimeField':this[_0x23aa42(0x2d4)](),'hasUpdateTimeField':this[_0x23aa42(0x279)](),'hasCreatorIdField':this[_0x23aa42(0x303)](),'hasModifierIdField':this[_0x23aa42(0x2e0)]()}};}['toConfig'](){const _0x36f707=a0_0x4dc90e;return{'tableName':this[_0x36f707(0x23b)],'pkField':this[_0x36f707(0x1f0)],'datasetKey':this[_0x36f707(0x29a)],'dbId':this[_0x36f707(0x1b7)]};}['toJSON'](){const _0x51d297=a0_0x4dc90e;return{...this[_0x51d297(0x147)]};}[a0_0x4dc90e(0x324)](){return{...this['_raw']};}[a0_0x4dc90e(0x25b)](){const _0x5dc691=a0_0x4dc90e,_0x3b75d4=this[_0x5dc691(0x23b)]||_0x5dc691(0x240),_0x3290dc=this[_0x5dc691(0x28a)]()['length'];return _0x5dc691(0x2f6)+_0x3b75d4+_0x5dc691(0x1d5)+_0x3290dc+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x4dc90e(0x147)];constructor(_0x821cb5){const _0x250de3=a0_0x4dc90e,_0x3d7362=_0x821cb5[_0x250de3(0x297)]||_0x821cb5[_0x250de3(0x275)]||_0x821cb5[_0x250de3(0x15a)];this[_0x250de3(0x147)]={..._0x821cb5,'datasetCode':_0x3d7362};}get['id'](){const _0x31a9f0=a0_0x4dc90e;return this[_0x31a9f0(0x147)]['id'];}get[a0_0x4dc90e(0x20b)](){const _0x5a46e1=a0_0x4dc90e;return this[_0x5a46e1(0x147)][_0x5a46e1(0x20b)];}[a0_0x4dc90e(0x294)](){const _0xbb224=a0_0x4dc90e;return this[_0xbb224(0x20b)];}get[a0_0x4dc90e(0x297)](){const _0x3c2e38=a0_0x4dc90e;return this['_raw'][_0x3c2e38(0x297)]||'';}get[a0_0x4dc90e(0x14d)](){const _0x41c809=a0_0x4dc90e;if(!this['_raw'][_0x41c809(0x14d)])return null;return new DbtableConfig(this[_0x41c809(0x147)][_0x41c809(0x14d)]);}['getRawDbtableConfig'](){const _0x485084=a0_0x4dc90e;return this[_0x485084(0x147)][_0x485084(0x14d)];}['getTableName'](){const _0x38c4f3=a0_0x4dc90e;return getTableName(this[_0x38c4f3(0x147)]);}[a0_0x4dc90e(0x19d)](){const _0xde55c3=a0_0x4dc90e;return getTableKey(this[_0xde55c3(0x30c)]());}[a0_0x4dc90e(0x1f8)](){const _0x51d3c9=a0_0x4dc90e;return isVirtualTableName(this[_0x51d3c9(0x30c)]());}[a0_0x4dc90e(0x185)](){const _0x2aee52=a0_0x4dc90e;return toPascalCase(this[_0x2aee52(0x30c)]());}[a0_0x4dc90e(0x204)](){const _0xfaceb6=a0_0x4dc90e;return{'key':getTableKey(this[_0xfaceb6(0x30c)]()),'tableName':this[_0xfaceb6(0x30c)](),'datasetCode':this[_0xfaceb6(0x297)],'name':this['name']};}[a0_0x4dc90e(0x235)](){return{...this['_raw'],'datasetCode':this['datasetCode']};}[a0_0x4dc90e(0x324)](){return{...this['_raw']};}[a0_0x4dc90e(0x323)](){const _0x24b116=a0_0x4dc90e,_0x53626e=this[_0x24b116(0x14d)];return _0x53626e!==null&&_0x53626e['hasTableName']();}[a0_0x4dc90e(0x241)](_0x4ccb95){const _0x587d18=a0_0x4dc90e;return this[_0x587d18(0x147)][_0x4ccb95];}['hasExtendField'](_0x57bb65){const _0x528be9=a0_0x4dc90e;return _0x57bb65 in this[_0x528be9(0x147)];}[a0_0x4dc90e(0x25b)](){const _0x1126d1=a0_0x4dc90e;return _0x1126d1(0x1d6)+this[_0x1126d1(0x20b)]+',\x20'+this[_0x1126d1(0x297)]+')';}}class Operation{[a0_0x4dc90e(0x20b)];[a0_0x4dc90e(0x147)];[a0_0x4dc90e(0x1b0)];constructor(_0x4105ba,_0x351703,_0x2decbb){const _0x46cbc8=a0_0x4dc90e;this[_0x46cbc8(0x20b)]=_0x4105ba,this['_raw']=_0x351703,this[_0x46cbc8(0x1b0)]=_0x2decbb;}[a0_0x4dc90e(0x294)](){const _0x5ec8d3=a0_0x4dc90e;return this[_0x5ec8d3(0x20b)];}[a0_0x4dc90e(0x319)](){const _0x21198f=a0_0x4dc90e,_0x3cd278=this['getType']();return _0x3cd278?OPERATION_TYPE_DISPLAY_NAME[_0x3cd278]:this[_0x21198f(0x20b)];}[a0_0x4dc90e(0x1c3)](){const _0x169845=a0_0x4dc90e;return parseOperationType(this[_0x169845(0x20b)]);}[a0_0x4dc90e(0x1a0)](){const _0x301761=a0_0x4dc90e;return this[_0x301761(0x147)]!=null&&this[_0x301761(0x147)]!==![];}['getMethod'](){const _0x19beb6=a0_0x4dc90e;if(!this[_0x19beb6(0x1a0)]()||!this[_0x19beb6(0x147)])return'';const _0x36bc3b=this['_raw'][_0x19beb6(0x23c)];return typeof _0x36bc3b===_0x19beb6(0x273)?_0x36bc3b:_0x19beb6(0x246);}['getPath'](){const _0x4e8a25=a0_0x4dc90e;if(!this[_0x4e8a25(0x1a0)]()||!this[_0x4e8a25(0x147)])return'';const _0x59cba1=this[_0x4e8a25(0x147)][_0x4e8a25(0x2e6)];return typeof _0x59cba1===_0x4e8a25(0x273)?_0x59cba1:'';}[a0_0x4dc90e(0x165)](){const _0x58ec5c=a0_0x4dc90e;if(!this['isEnabled']()||!this['_raw'])return'';const {host:_0x439abc,path:_0x22c200}=this[_0x58ec5c(0x147)],_0x29531d=typeof _0x439abc===_0x58ec5c(0x273)?_0x439abc:'',_0x544a8f=typeof _0x22c200==='string'?_0x22c200:'';return _0x29531d&&_0x544a8f?''+_0x29531d+_0x544a8f:_0x544a8f;}['getRequestFields'](){const _0xa850a7=a0_0x4dc90e;return Object[_0xa850a7(0x2c6)](this[_0xa850a7(0x2b7)]());}[a0_0x4dc90e(0x292)](){const _0x3b226e=a0_0x4dc90e;if(!this['isEnabled']()||typeof this[_0x3b226e(0x147)]===_0x3b226e(0x1c8)||!this[_0x3b226e(0x147)]?.[_0x3b226e(0x2ca)])return{};const _0xb921c5=this[_0x3b226e(0x147)]['requestBody'];if(typeof _0xb921c5!=='string')return!![]&&console['warn']('[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:',_0xb921c5),{};return parseRequestBody(_0xb921c5);}[a0_0x4dc90e(0x31f)](){const _0xafb6=a0_0x4dc90e;if(!this['isEnabled']()||typeof this['_raw']===_0xafb6(0x1c8)||!this['_raw']?.['responseBody'])return null;const _0x5577a8=this['_raw'][_0xafb6(0x1a1)];if(typeof _0x5577a8!==_0xafb6(0x273))return!![]&&console[_0xafb6(0x1fc)](_0xafb6(0x2fe),_0x5577a8),null;return parseResponseBody(_0x5577a8);}[a0_0x4dc90e(0x193)](_0x97eed5,_0x597de7,_0x448e0d,_0x186690){const _0x59bc34=a0_0x4dc90e;return generateExampleValue(_0x97eed5,_0x597de7,_0x448e0d,{'isPrimaryKey':_0x186690?.[_0x59bc34(0x175)],'description':_0x186690?.[_0x59bc34(0x1d3)],'dbtableConfig':this[_0x59bc34(0x1b0)]['dbtableConfig']});}[a0_0x4dc90e(0x148)](_0x5384d6){const _0x1f998a=a0_0x4dc90e;if(!Array[_0x1f998a(0x220)](this[_0x1f998a(0x1b0)][_0x1f998a(0x1ca)])){!![]&&console[_0x1f998a(0x1fc)]('[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array');return;}if(typeof _0x5384d6!==_0x1f998a(0x273)){!![]&&console[_0x1f998a(0x1fc)](_0x1f998a(0x19b),_0x5384d6);return;}return this['context'][_0x1f998a(0x1ca)][_0x1f998a(0x30e)](_0x468fb6=>_0x468fb6&&_0x468fb6['code']===_0x5384d6);}[a0_0x4dc90e(0x25b)](){const _0x18ef3a=a0_0x4dc90e,_0x270380=this[_0x18ef3a(0x1a0)]()?'启用':'禁用';return this['getDisplayName']()+'('+this[_0x18ef3a(0x20b)]+',\x20'+_0x270380+')';}['getOperators'](){return[];}[a0_0x4dc90e(0x2dc)](_0x85a5bb){return[];}[a0_0x4dc90e(0x160)](_0xe268b5){const _0x5bea4b=a0_0x4dc90e,_0x28f9e1=this[_0x5bea4b(0x294)](),_0x5b0882=_0x5bea4b(0x238)+_0xe268b5+'.'+_0x28f9e1+_0x5bea4b(0x13f),_0x3850c9=_0x5bea4b(0x2f1)+_0xe268b5+'.'+_0x28f9e1+_0x5bea4b(0x1cc);return{'successCode':_0x5b0882,'errorCode':_0x3850c9};}[a0_0x4dc90e(0x235)](){const _0x3876a6=a0_0x4dc90e;return{'name':this[_0x3876a6(0x294)](),'displayName':this[_0x3876a6(0x319)](),'type':this[_0x3876a6(0x1c3)](),'enabled':this[_0x3876a6(0x1a0)](),'method':this[_0x3876a6(0x251)](),'path':this[_0x3876a6(0x2b5)](),'fullUrl':this['getFullUrl'](),'requestFields':this['getRequestFields'](),'requestParams':this['getRequestParams'](),'responseSchema':this['getResponseSchema'](),'requestExample':this[_0x3876a6(0x232)](),'responseExample':this[_0x3876a6(0x24a)]()};}}class GenericOperation extends Operation{[a0_0x4dc90e(0x2b7)](){const _0x3bb46d=a0_0x4dc90e;return this[_0x3bb46d(0x292)]();}[a0_0x4dc90e(0x285)](){const _0x39e433=a0_0x4dc90e;return this[_0x39e433(0x31f)]();}['generateRequestExample'](){const _0x3278b2=a0_0x4dc90e,_0x4a3591={},_0x52eb54=this['getRequestParams'](),_0x316092=this[_0x3278b2(0x1c3)]();if(Object[_0x3278b2(0x2c6)](_0x52eb54)[_0x3278b2(0x260)]===0x0&&_0x316092){const _0x2ec58d=getFieldsForOperation(this[_0x3278b2(0x1b0)][_0x3278b2(0x1ca)],_0x316092,this[_0x3278b2(0x1b0)][_0x3278b2(0x1f0)]);return _0x2ec58d['forEach'](_0x217d36=>{const _0x2fcd1c=_0x3278b2,_0x2eef17=this['generateFieldExample'](_0x217d36['code'],_0x217d36[_0x2fcd1c(0x302)],typeof _0x217d36[_0x2fcd1c(0x12d)]==='string'?_0x217d36[_0x2fcd1c(0x12d)]:undefined,{'isPrimaryKey':_0x217d36[_0x2fcd1c(0x275)]===this[_0x2fcd1c(0x1b0)]['pkField'],'description':_0x217d36[_0x2fcd1c(0x1d3)]||_0x217d36[_0x2fcd1c(0x20b)]});_0x4a3591[_0x217d36[_0x2fcd1c(0x275)]]=_0x2eef17;}),_0x4a3591;}return Object[_0x3278b2(0x1a4)](_0x52eb54)[_0x3278b2(0x29d)](([_0x41d23f,_0x13fbb9])=>{const _0x3fb96c=_0x3278b2,_0x23eefa=_0x13fbb9;let _0x289edb;if(typeof _0x23eefa[_0x3fb96c(0x302)]===_0x3fb96c(0x273))_0x289edb=_0x23eefa[_0x3fb96c(0x302)];else _0x23eefa[_0x3fb96c(0x302)]&&typeof _0x23eefa[_0x3fb96c(0x302)]===_0x3fb96c(0x199)?_0x289edb=_0x23eefa[_0x3fb96c(0x302)][_0x3fb96c(0x302)]||_0x3fb96c(0x1d4):_0x289edb=_0x3fb96c(0x1d4);const _0xd2bb86=_0x23eefa[_0x3fb96c(0x1d3)],_0x1b6493=this[_0x3fb96c(0x148)](_0x41d23f);if(_0x41d23f===_0x3fb96c(0x1c5))_0x4a3591[_0x41d23f]=0x1;else{if(_0x41d23f===_0x3fb96c(0x181))_0x4a3591[_0x41d23f]=0xa;else _0x41d23f==='id'?_0x4a3591[_0x41d23f]=0x1:_0x4a3591[_0x41d23f]=this[_0x3fb96c(0x193)](_0x41d23f,_0x289edb,typeof _0x1b6493?.[_0x3fb96c(0x12d)]==='string'?_0x1b6493['dbType']:undefined,{'isPrimaryKey':_0x41d23f===this[_0x3fb96c(0x1b0)][_0x3fb96c(0x1f0)]||_0x41d23f==='id','description':_0xd2bb86||_0x1b6493?.[_0x3fb96c(0x1d3)]||_0x1b6493?.[_0x3fb96c(0x20b)]});}}),_0x4a3591;}[a0_0x4dc90e(0x24a)](){const _0x58a3b3=a0_0x4dc90e,_0x41f1a9=this[_0x58a3b3(0x285)]();if(!_0x41f1a9)return{'success':!![],'msg':_0x58a3b3(0x1a9),'errorMsg':'','errorCode':_0x58a3b3(0x231),'data':null};return this['generateFromSchema'](_0x41f1a9);}[a0_0x4dc90e(0x1ab)](_0x4baf47){const _0xfeea8a=a0_0x4dc90e;if(!_0x4baf47||typeof _0x4baf47!==_0xfeea8a(0x199))return{};if(Array[_0xfeea8a(0x220)](_0x4baf47)){if(_0x4baf47[_0xfeea8a(0x260)]>0x0)return[this[_0xfeea8a(0x1ab)](_0x4baf47[0x0])];return[];}const _0x1371fc={};return Object[_0xfeea8a(0x2c6)](_0x4baf47)[_0xfeea8a(0x29d)](_0x19ef63=>{const _0x407775=_0xfeea8a,_0x58bbc1=_0x4baf47[_0x19ef63];if(_0x58bbc1&&typeof _0x58bbc1===_0x407775(0x199)&&!Array[_0x407775(0x220)](_0x58bbc1)&&_0x58bbc1['type']){const _0x46a6be=_0x58bbc1;let _0x352c89;if(typeof _0x46a6be['type']==='string')_0x352c89=_0x46a6be['type'];else _0x46a6be[_0x407775(0x302)]&&typeof _0x46a6be[_0x407775(0x302)]==='object'?_0x352c89=_0x46a6be['type'][_0x407775(0x302)]||'TEXT':_0x352c89=_0x407775(0x1d4);const _0x4eb2a5=_0x46a6be[_0x407775(0x1d3)];_0x1371fc[_0x19ef63]=this[_0x407775(0x193)](_0x19ef63,_0x352c89,undefined,{'description':_0x4eb2a5});}else{if(Array['isArray'](_0x58bbc1))_0x1371fc[_0x19ef63]=_0x58bbc1[_0x407775(0x260)]>0x0?[this[_0x407775(0x1ab)](_0x58bbc1[0x0])]:[];else _0x58bbc1&&typeof _0x58bbc1==='object'?_0x1371fc[_0x19ef63]=this[_0x407775(0x1ab)](_0x58bbc1):_0x1371fc[_0x19ef63]=_0x58bbc1;}}),_0x1371fc;}[a0_0x4dc90e(0x228)](_0x359c27,_0x111541){const _0xe88e06=a0_0x4dc90e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x111541||{},_0x1ec41f=this[_0xe88e06(0x294)](),_0x36e219=this[_0xe88e06(0x1c3)](),_0x334abc=this['getRequestFields'](),_0x2a6cb5=this[_0xe88e06(0x232)](),_0x6b2feb=_0x5ad10f=>{const _0x5ae51a=_0xe88e06;if(Object[_0x5ae51a(0x2c6)](_0x5ad10f)[_0x5ae51a(0x260)]===0x0)return'{}';const _0x39eb1d=JSON[_0x5ae51a(0x16c)](_0x5ad10f,null,0x2)[_0x5ae51a(0x2ea)]('\x0a')['map']((_0x4197df,_0x54145a)=>_0x54145a===0x0?_0x4197df:indent+_0x4197df)[_0x5ae51a(0x155)]('\x0a');return _0x39eb1d;};switch(_0x36e219){case _0xe88e06(0x1a6):case'delete':return'const\x20result\x20=\x20await\x20client.models.'+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x2e4);case _0xe88e06(0x2a9):if(useFullExample&&Object[_0xe88e06(0x2c6)](_0x2a6cb5)[_0xe88e06(0x260)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x1ad)+_0x6b2feb(_0x2a6cb5)+');';return _0xe88e06(0x1b5)+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x16b);case _0xe88e06(0x15f):case _0xe88e06(0x17b):case _0xe88e06(0x2bb):default:if(_0x334abc[_0xe88e06(0x260)]>0x0){if(useFullExample&&Object[_0xe88e06(0x2c6)](_0x2a6cb5)['length']>0x0)return _0xe88e06(0x1b5)+_0x359c27+'.'+_0x1ec41f+'('+_0x6b2feb(_0x2a6cb5)+');';else{const _0x4e1ef4=Object[_0xe88e06(0x2c6)](_0x2a6cb5);if(_0x4e1ef4[_0xe88e06(0x260)]>0x0){const _0x3d716e=_0x4e1ef4[_0xe88e06(0x1c9)](0x0,0x2)[_0xe88e06(0x155)](',\x20');return _0xe88e06(0x1b5)+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x2fb)+_0x3d716e+',\x20...\x20});';}else return _0xe88e06(0x1b5)+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x22a);}}else return _0xe88e06(0x1b5)+_0x359c27+'.'+_0x1ec41f+_0xe88e06(0x268);}}[a0_0x4dc90e(0x1ac)](){const _0x13e127=a0_0x4dc90e;return[{'title':_0x13e127(0x2cd),'data':this[_0x13e127(0x232)]()}];}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x4dc90e(0x2b7)](){const _0x5b90b4=a0_0x4dc90e,_0x425f8e=super[_0x5b90b4(0x2b7)](),_0x117af0=Object[_0x5b90b4(0x2c6)](_0x425f8e);return(_0x117af0[_0x5b90b4(0x260)]===0x0||_0x117af0[_0x5b90b4(0x260)]===0x1&&_0x117af0[0x0]===_0x5b90b4(0x275))&&(!_0x425f8e[_0x5b90b4(0x275)]&&(_0x425f8e['code']={'type':'String','description':'字段编码'}),_0x425f8e['label']={'type':_0x5b90b4(0x1e7),'description':'字段名称'}),_0x425f8e;}[a0_0x4dc90e(0x232)](){const _0x121ee7=a0_0x4dc90e;return{'code':'field_name','label':_0x121ee7(0x25f)};}[a0_0x4dc90e(0x228)](_0x31f63e){const _0x3c0a8c=a0_0x4dc90e,_0x2c00d3=this['getName']();return _0x3c0a8c(0x1b5)+_0x31f63e+'.'+_0x2c00d3+'({\x20code,\x20label\x20});';}}class GetListOperation extends GenericOperation{[a0_0x4dc90e(0x2b7)](){const _0x3e11ff=a0_0x4dc90e,_0x41f763=super[_0x3e11ff(0x2b7)](),{currentPage:_0x2e89f5,pageSize:_0x50dba6,..._0x3a8383}=_0x41f763,_0x4e513e={};return Object[_0x3e11ff(0x1a4)](_0x3a8383)[_0x3e11ff(0x29d)](([_0x59912a,_0x92929f])=>{const _0x54974a=_0x3e11ff;if(typeof _0x92929f===_0x54974a(0x199)&&_0x92929f!==null){const _0x518540=_0x92929f,_0x4af51c=_0x518540[_0x54974a(0x1d3)]||'';_0x4e513e[_0x59912a]={..._0x518540,'description':_0x4af51c?_0x4af51c+_0x54974a(0x211):_0x54974a(0x2e8)};}else _0x4e513e[_0x59912a]=_0x92929f;}),{..._0x4e513e,'currentPage':{...typeof _0x2e89f5==='object'?_0x2e89f5:{},'type':_0x3e11ff(0x262),'description':_0x3e11ff(0x276)},'pageSize':{...typeof _0x50dba6===_0x3e11ff(0x199)?_0x50dba6:{},'type':_0x3e11ff(0x262),'description':_0x3e11ff(0x139)}};}[a0_0x4dc90e(0x232)](_0x4855e0){const _0x36723b=a0_0x4dc90e,{useArrayValues:useArrayValues=!![]}=_0x4855e0||{},_0x444911=super['generateRequestExample'](),{currentPage:_0x26bf82,pageSize:_0x3d0826,..._0x1dd496}=_0x444911;if(!useArrayValues)return{..._0x1dd496,'currentPage':_0x26bf82??0x1,'pageSize':_0x3d0826??0xa};const _0x35d926={},_0x2e9942=['id','status','code',_0x36723b(0x302)];return Object[_0x36723b(0x1a4)](_0x1dd496)['forEach'](([_0x3becd4,_0x34c9a],_0x5958ef)=>{const _0x2d3f8a=_0x36723b,_0x51e192=_0x2e9942[_0x2d3f8a(0x16e)](_0x4b5c3b=>_0x3becd4[_0x2d3f8a(0x1ff)]()[_0x2d3f8a(0x1b4)](_0x4b5c3b))||_0x5958ef%0x3===0x0;if(_0x51e192&&_0x34c9a!==null&&_0x34c9a!==undefined){if(typeof _0x34c9a===_0x2d3f8a(0x257))_0x35d926[_0x3becd4]=[_0x34c9a,_0x34c9a+0x1,_0x34c9a+0x2];else typeof _0x34c9a===_0x2d3f8a(0x273)?_0x35d926[_0x3becd4]=[_0x34c9a,_0x34c9a+'_2',_0x34c9a+'_3']:_0x35d926[_0x3becd4]=[_0x34c9a];}else _0x35d926[_0x3becd4]=_0x34c9a;}),{..._0x35d926,'currentPage':_0x26bf82??0x1,'pageSize':_0x3d0826??0xa};}[a0_0x4dc90e(0x2da)](){const _0x546a0d=a0_0x4dc90e;return this[_0x546a0d(0x232)]({'useArrayValues':![]});}['generateRequestAllExamples'](){const _0xacfab2=a0_0x4dc90e;return[{'title':'单值查询','description':_0xacfab2(0x27e),'data':this[_0xacfab2(0x2da)]()},{'title':'数组查询(支持多选)','description':_0xacfab2(0x272),'data':this[_0xacfab2(0x232)]()}];}[a0_0x4dc90e(0x228)](_0x4fccb1,_0x1b015d){const _0x313bed=a0_0x4dc90e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1b015d||{},_0x1bf823=this['getName'](),_0x54750f=this[_0x313bed(0x232)]({'useArrayValues':!![]}),{currentPage:_0x281ca7,pageSize:_0x5e1c0d,..._0x581038}=_0x54750f;if(useFullExample&&Object[_0x313bed(0x2c6)](_0x54750f)[_0x313bed(0x260)]>0x0){const _0x56dad8=Object[_0x313bed(0x2c6)](_0x581038)[_0x313bed(0x260)]>0x0;if(_0x56dad8){const _0xc70952=this['generateSingleValueExample'](),_0x39da16=_0x57fdc3=>{const _0x104fbc=_0x313bed;return JSON[_0x104fbc(0x16c)](_0x57fdc3,null,0x2)[_0x104fbc(0x2ea)]('\x0a')[_0x104fbc(0x287)]((_0x10deea,_0x502d39)=>_0x502d39===0x0?_0x10deea:indent+_0x10deea)[_0x104fbc(0x155)]('\x0a');};return _0x313bed(0x295)+_0x4fccb1+'.'+_0x1bf823+'('+_0x39da16(_0xc70952)+_0x313bed(0x17f)+_0x4fccb1+'.'+_0x1bf823+'('+_0x39da16(_0x54750f)+');';}else{const _0x2f6826=JSON[_0x313bed(0x16c)](_0x54750f,null,0x2)['split']('\x0a')[_0x313bed(0x287)]((_0x3906aa,_0x4bd930)=>_0x4bd930===0x0?_0x3906aa:indent+_0x3906aa)[_0x313bed(0x155)]('\x0a');return _0x313bed(0x1b5)+_0x4fccb1+'.'+_0x1bf823+'('+_0x2f6826+');';}}if(Object['keys'](_0x581038)[_0x313bed(0x260)]>0x0){const _0x42616a=Object['keys'](_0x581038)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x4fccb1+'.'+_0x1bf823+_0x313bed(0x2fb)+_0x42616a+',\x20currentPage,\x20pageSize,\x20...\x20});';}return _0x313bed(0x1b5)+_0x4fccb1+'.'+_0x1bf823+_0x313bed(0x2ab);}}var FILTER_OPERATORS=[a0_0x4dc90e(0x277),a0_0x4dc90e(0x182),a0_0x4dc90e(0x150),'$gteq',a0_0x4dc90e(0x1b2),a0_0x4dc90e(0x14b),a0_0x4dc90e(0x17e),'$contain','$startWith','$endWith','$and',a0_0x4dc90e(0x1aa)];class FilterOperation extends GenericOperation{constructor(_0x50af0f,_0x20228d,_0x219299){super(_0x50af0f,_0x20228d,_0x219299);}[a0_0x4dc90e(0x312)](){return FILTER_OPERATORS;}[a0_0x4dc90e(0x2dc)](_0x1f01f4){const _0x4a263e=a0_0x4dc90e,_0x11afb0=this[_0x4a263e(0x148)](_0x1f01f4);if(!_0x11afb0)return[];return this[_0x4a263e(0x1f5)](_0x11afb0[_0x4a263e(0x302)]);}['getRequestParams'](){const _0x490d9e=a0_0x4dc90e,_0xd69b56=super[_0x490d9e(0x2b7)]();return{..._0xd69b56,'where':{'type':_0x490d9e(0x278),'description':_0x490d9e(0x21c),'required':![]},'select':{'type':_0x490d9e(0x244),'description':'返回字段列表(字段投影)','required':![]},'orderBy':{'type':_0x490d9e(0x2b4),'description':_0x490d9e(0x2f8),'required':![]},'currentPage':{'type':_0x490d9e(0x262),'description':_0x490d9e(0x276),'required':![],'default':0x1},'pageSize':{'type':_0x490d9e(0x262),'description':_0x490d9e(0x139),'required':![],'default':0xa}};}[a0_0x4dc90e(0x232)](){const _0x103c1b=a0_0x4dc90e,_0x41f989=this[_0x103c1b(0x1b0)][_0x103c1b(0x1ca)]||[];if(_0x41f989[_0x103c1b(0x260)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x1e1acc={},_0x3c28ed=_0x41f989[_0x103c1b(0x1c9)](0x0,Math['min'](0x3,_0x41f989[_0x103c1b(0x260)]));_0x3c28ed[_0x103c1b(0x29d)](_0x2d5821=>{const _0x16390e=_0x103c1b,_0x43f942=this[_0x16390e(0x1f5)](_0x2d5821[_0x16390e(0x302)]);if(_0x43f942['length']===0x0)return;const _0x263949=this['selectBestOperator'](_0x2d5821[_0x16390e(0x302)],_0x43f942),_0x1b8151=this[_0x16390e(0x1cf)](_0x2d5821,_0x263949);_0x1e1acc[_0x2d5821[_0x16390e(0x275)]]={[_0x263949]:_0x1b8151};});const _0x44ec=_0x41f989[_0x103c1b(0x1c9)](0x0,Math[_0x103c1b(0x1f2)](0x5,_0x41f989['length']))[_0x103c1b(0x287)](_0x5f27ae=>_0x5f27ae[_0x103c1b(0x275)]),_0x4b04ea=_0x41f989[0x0]?.[_0x103c1b(0x275)]||'id';return{'where':_0x1e1acc,'select':_0x44ec,'orderBy':[{[_0x4b04ea]:'DESC'}],'currentPage':0x1,'pageSize':0x14};}[a0_0x4dc90e(0x228)](_0x40241,_0x147d90){const _0x1b015f=a0_0x4dc90e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x147d90||{},_0x4f1c24=this['getName'](),_0x465a9d=this['generateRequestExample'](),_0x157376=_0x4412f9=>{const _0x532ca0=a0_0x4cfb;return JSON['stringify'](_0x4412f9,null,0x2)[_0x532ca0(0x2ea)]('\x0a')['map']((_0x307561,_0x533901)=>_0x533901===0x0?_0x307561:indent+_0x307561)['join']('\x0a');};if(useFullExample){const _0x394128=this[_0x1b015f(0x1b0)]['fields']||[],_0x4da5e1={'where':_0x394128[0x0]?{[_0x394128[0x0][_0x1b015f(0x275)]]:{'$eq':this[_0x1b015f(0x1cf)](_0x394128[0x0],'$eq')}}:{},'select':_0x394128['slice'](0x0,0x3)[_0x1b015f(0x287)](_0x1cb274=>_0x1cb274[_0x1b015f(0x275)]),'currentPage':0x1,'pageSize':0x14};let _0x806ff9='';if(_0x394128['length']>=0x3){const _0x42ec07={'$and':[]},_0x3f4741=[];if(_0x394128[_0x1b015f(0x260)]>0x0){const _0x36975b=_0x394128[_0x1b015f(0x30e)](_0x384bf5=>[_0x1b015f(0x306),'INTEGER',_0x1b015f(0x2f9)]['includes'](_0x384bf5[_0x1b015f(0x302)][_0x1b015f(0x143)]()));_0x36975b&&_0x3f4741[_0x1b015f(0x17a)]({[_0x36975b['code']]:{'$gte':0x0,'$lte':0x64}});}if(_0x394128[_0x1b015f(0x260)]>0x1){const _0x17e665=_0x394128['find'](_0x66a1c7=>[_0x1b015f(0x167),_0x1b015f(0x1d4),_0x1b015f(0x30a)][_0x1b015f(0x1b4)](_0x66a1c7[_0x1b015f(0x302)][_0x1b015f(0x143)]()));_0x17e665&&_0x3f4741[_0x1b015f(0x17a)]({[_0x17e665[_0x1b015f(0x275)]]:{'$contain':'keyword'}});}if(_0x3f4741['length']>0x0){_0x42ec07['$and']=_0x3f4741;const _0x39a4b3={'where':_0x42ec07,'select':_0x394128[_0x1b015f(0x1c9)](0x0,0x4)[_0x1b015f(0x287)](_0x59ad93=>_0x59ad93['code']),'orderBy':[{[_0x394128[0x0][_0x1b015f(0x275)]]:_0x1b015f(0x172)}],'currentPage':0x1,'pageSize':0x14};_0x806ff9='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x40241+'.'+_0x4f1c24+'('+_0x157376(_0x39a4b3)+');';}}return _0x1b015f(0x298)+_0x40241+'.'+_0x4f1c24+'('+_0x157376(_0x4da5e1)+');'+_0x806ff9;}const _0xe9ff3c=JSON[_0x1b015f(0x16c)](_0x465a9d,null,0x2)[_0x1b015f(0x2ea)]('\x0a')['map']((_0x46ec4,_0x2199bf)=>_0x2199bf===0x0?_0x46ec4:indent+_0x46ec4)['join']('\x0a');return _0x1b015f(0x1b5)+_0x40241+'.'+_0x4f1c24+'('+_0xe9ff3c+');';}['getApplicableOperators'](_0x4c3be4){const _0x33fd69=a0_0x4dc90e,_0x356968=_0x4c3be4[_0x33fd69(0x143)](),_0x48e244=[];if([_0x33fd69(0x306),'INTEGER',_0x33fd69(0x2f9),_0x33fd69(0x23d)]['includes'](_0x356968))_0x48e244[_0x33fd69(0x17a)](_0x33fd69(0x277),_0x33fd69(0x182),_0x33fd69(0x150),_0x33fd69(0x1b2),_0x33fd69(0x215),'$lteq',_0x33fd69(0x17e));else{if(['STRING',_0x33fd69(0x1d4),_0x33fd69(0x30a)]['includes'](_0x356968))_0x48e244[_0x33fd69(0x17a)](_0x33fd69(0x277),_0x33fd69(0x182),_0x33fd69(0x17e),'$contain',_0x33fd69(0x2c4),_0x33fd69(0x13c));else{if([_0x33fd69(0x1fe),_0x33fd69(0x176),_0x33fd69(0x300)][_0x33fd69(0x1b4)](_0x356968))_0x48e244[_0x33fd69(0x17a)]('$eq',_0x33fd69(0x182),'$gte',_0x33fd69(0x1b2),_0x33fd69(0x215),_0x33fd69(0x14b));else['BOOLEAN',_0x33fd69(0x1e6)][_0x33fd69(0x1b4)](_0x356968)?_0x48e244['push'](_0x33fd69(0x277),'$ne'):_0x48e244[_0x33fd69(0x17a)](_0x33fd69(0x277),_0x33fd69(0x182));}}return _0x48e244;}[a0_0x4dc90e(0x249)](_0x26dec8,_0x3a7faf){const _0x139656=a0_0x4dc90e,_0x5420cd=_0x26dec8[_0x139656(0x143)]();if([_0x139656(0x306),_0x139656(0x283),_0x139656(0x2f9),_0x139656(0x23d)]['includes'](_0x5420cd))return _0x3a7faf[_0x139656(0x1b4)]('$gte')?_0x139656(0x150):'$eq';if([_0x139656(0x167),_0x139656(0x1d4),'VARCHAR'][_0x139656(0x1b4)](_0x5420cd))return _0x3a7faf[_0x139656(0x1b4)](_0x139656(0x243))?_0x139656(0x243):_0x139656(0x277);if([_0x139656(0x1fe),_0x139656(0x176),'TIMESTAMP'][_0x139656(0x1b4)](_0x5420cd))return _0x3a7faf[_0x139656(0x1b4)](_0x139656(0x150))?_0x139656(0x150):_0x139656(0x277);return'$eq';}[a0_0x4dc90e(0x1cf)](_0xf1da5e,_0x5ed65c){const _0x4db17d=a0_0x4dc90e,_0x58dbe1=String(_0xf1da5e[_0x4db17d(0x302)]||'')[_0x4db17d(0x143)]();if(_0xf1da5e[_0x4db17d(0x1dd)])try{const _0x2309b1=typeof _0xf1da5e[_0x4db17d(0x1dd)]==='string'?JSON['parse'](_0xf1da5e['extend']):_0xf1da5e[_0x4db17d(0x1dd)];if(_0x2309b1['options']&&Array['isArray'](_0x2309b1[_0x4db17d(0x2ed)])&&_0x2309b1[_0x4db17d(0x2ed)][_0x4db17d(0x260)]>0x0){if(_0x5ed65c===_0x4db17d(0x17e))return _0x2309b1[_0x4db17d(0x2ed)][_0x4db17d(0x1c9)](0x0,0x2)[_0x4db17d(0x287)](_0x1111f6=>_0x1111f6[_0x4db17d(0x2a0)]);return _0x2309b1[_0x4db17d(0x2ed)][0x0][_0x4db17d(0x2a0)];}}catch{}if(['NUMBER',_0x4db17d(0x283),_0x4db17d(0x2f9),'DECIMAL']['includes'](_0x58dbe1)){if(_0x5ed65c==='$in')return[0x1,0x2,0x3];if(_0x5ed65c===_0x4db17d(0x150)||_0x5ed65c===_0x4db17d(0x215))return 0x0;if(_0x5ed65c===_0x4db17d(0x1b2)||_0x5ed65c===_0x4db17d(0x14b))return 0x64;return 0x1;}if([_0x4db17d(0x167),'TEXT',_0x4db17d(0x30a)][_0x4db17d(0x1b4)](_0x58dbe1)){if(_0x5ed65c==='$in')return[_0x4db17d(0x19c),'value2'];if(_0x5ed65c==='$contain')return _0x4db17d(0x212);if(_0x5ed65c==='$startWith')return _0x4db17d(0x14e);if(_0x5ed65c===_0x4db17d(0x13c))return _0x4db17d(0x1e4);return _0x4db17d(0x2a0);}if(['DATE','DATETIME',_0x4db17d(0x300)]['includes'](_0x58dbe1)){if(_0x5ed65c===_0x4db17d(0x150)||_0x5ed65c===_0x4db17d(0x215))return _0x4db17d(0x2a5);if(_0x5ed65c===_0x4db17d(0x1b2)||_0x5ed65c===_0x4db17d(0x14b))return'2024-12-31';return'2024-01-01';}if([_0x4db17d(0x16d),_0x4db17d(0x1e6)][_0x4db17d(0x1b4)](_0x58dbe1))return!![];return _0x5ed65c===_0x4db17d(0x17e)?['value1',_0x4db17d(0x2c3)]:_0x4db17d(0x2a0);}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x573f59=a0_0x4dc90e,_0x3b4a06=super[_0x573f59(0x2b7)]();if(Object[_0x573f59(0x2c6)](_0x3b4a06)[_0x573f59(0x260)]===0x0){const _0x263fc6={};return this[_0x573f59(0x1b0)][_0x573f59(0x1ca)][_0x573f59(0x29d)](_0x39bf30=>{const _0x1c04ef=_0x573f59;_0x39bf30&&_0x39bf30[_0x1c04ef(0x275)]&&(_0x263fc6[_0x39bf30['code']]={'type':_0x39bf30['type']||_0x1c04ef(0x1d4),'sortNum':_0x39bf30[_0x1c04ef(0x2b8)],'description':_0x39bf30['description']||_0x39bf30[_0x1c04ef(0x20b)]});}),_0x263fc6['currentPage']={'type':_0x573f59(0x26f),'description':_0x573f59(0x28c)},_0x263fc6[_0x573f59(0x181)]={'type':_0x573f59(0x26f),'description':'每页数量(可选)'},_0x263fc6;}return _0x3b4a06;}[a0_0x4dc90e(0x232)](){const _0x603669=a0_0x4dc90e,_0x291bb1=super['generateRequestExample']();if(Object[_0x603669(0x2c6)](_0x291bb1)['length']===0x0)return{'currentPage':0x1,'pageSize':0x64};return{..._0x291bb1,'currentPage':_0x291bb1['currentPage']??0x1,'pageSize':_0x291bb1[_0x603669(0x181)]??0x64};}[a0_0x4dc90e(0x24a)](){const _0x3463db=a0_0x4dc90e;return{'success':!![],'msg':'','errorMsg':'','errorCode':_0x3463db(0x231),'data':'https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','params':null};}[a0_0x4dc90e(0x228)](_0x2bb6b2,_0x3cf975){const _0x4d74d1=a0_0x4dc90e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3cf975||{},_0x152fcb=this[_0x4d74d1(0x294)]();if(useFullExample){const _0x510d8c=this['generateRequestExample'](),{currentPage:_0x48ae89,pageSize:_0xf83ede,..._0x184b35}=_0x510d8c,_0x210a30=Object['keys'](_0x184b35)[_0x4d74d1(0x260)]>0x0;if(_0x210a30){const _0x553c89=_0x66e6c0=>{const _0x301584=_0x4d74d1;return JSON['stringify'](_0x66e6c0,null,0x2)[_0x301584(0x2ea)]('\x0a')[_0x301584(0x287)]((_0x272111,_0x521cc8)=>_0x521cc8===0x0?_0x272111:indent+_0x272111)[_0x301584(0x155)]('\x0a');};return _0x4d74d1(0x1ee)+_0x2bb6b2+'.'+_0x152fcb+_0x4d74d1(0x31c)+_0x2bb6b2+'.'+_0x152fcb+'('+_0x553c89(_0x510d8c)+');';}else{const _0x5c8050=_0x4483ba=>{const _0x3dcdb6=_0x4d74d1;return JSON[_0x3dcdb6(0x16c)](_0x4483ba,null,0x2)[_0x3dcdb6(0x2ea)]('\x0a')[_0x3dcdb6(0x287)]((_0x5115f1,_0xed834f)=>_0xed834f===0x0?_0x5115f1:indent+_0x5115f1)[_0x3dcdb6(0x155)]('\x0a');};return _0x4d74d1(0x1ee)+_0x2bb6b2+'.'+_0x152fcb+_0x4d74d1(0x1db)+_0x2bb6b2+'.'+_0x152fcb+'('+_0x5c8050({'currentPage':0x1,'pageSize':0x64})+');';}}return _0x4d74d1(0x223)+_0x2bb6b2+'.'+_0x152fcb+_0x4d74d1(0x151);}['generateUsageExample'](_0x4f729a){const _0x34caaf=a0_0x4dc90e,_0x3679d8=this[_0x34caaf(0x294)](),_0x2a2569=_0x34caaf(0x1f3)+_0x4f729a+'.'+_0x3679d8+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x4e8c19='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x4f729a+'.'+_0x3679d8+'();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}';return{'successCode':_0x2a2569,'errorCode':_0x4e8c19};}}class OperationFactory{['create'](_0x3dbe77,_0x23a503,_0x4ffd1b){const _0x4f6a48=a0_0x4dc90e;switch(_0x3dbe77){case'getSelectOptions':return new GetSelectOptionsOperation(_0x3dbe77,_0x23a503,_0x4ffd1b);case'getList':return new GetListOperation(_0x3dbe77,_0x23a503,_0x4ffd1b);case _0x4f6a48(0x29f):return new FilterOperation(_0x3dbe77,_0x23a503,_0x4ffd1b);case _0x4f6a48(0x1da):return new ExcelExportOperation(_0x3dbe77,_0x23a503,_0x4ffd1b);default:return new GenericOperation(_0x3dbe77,_0x23a503,_0x4ffd1b);}}['createAll'](_0x491d1e,_0x2f425b){const _0x25b33c=a0_0x4dc90e,_0x53c395=new Map();return Object[_0x25b33c(0x1a4)](_0x491d1e)[_0x25b33c(0x29d)](([_0x55d3ef,_0x12bd51])=>{const _0x1b99c5=_0x25b33c;_0x53c395[_0x1b99c5(0x2fc)](_0x55d3ef,this[_0x1b99c5(0x15f)](_0x55d3ef,_0x12bd51,_0x2f425b));}),_0x53c395;}}class OperationList{[a0_0x4dc90e(0x2bc)];constructor(_0x14f7c9,_0x3445bc){const _0x11e721=a0_0x4dc90e,_0x23ad0f=new OperationFactory();this['_operations']=_0x23ad0f[_0x11e721(0x2f4)](_0x14f7c9,_0x3445bc);}[a0_0x4dc90e(0x24f)](_0x50eceb){const _0x19ed13=a0_0x4dc90e;return this[_0x19ed13(0x2bc)]['get'](_0x50eceb);}[a0_0x4dc90e(0x2c0)](_0x49e51b){const _0x14f015=a0_0x4dc90e;return this[_0x14f015(0x2bc)]['has'](_0x49e51b);}['size'](){const _0x53ed6b=a0_0x4dc90e;return this[_0x53ed6b(0x2bc)][_0x53ed6b(0x28f)];}[a0_0x4dc90e(0x250)](){const _0x67e7b0=a0_0x4dc90e;return Array[_0x67e7b0(0x135)](this[_0x67e7b0(0x2bc)][_0x67e7b0(0x2c6)]());}['toArray'](){const _0xa67442=a0_0x4dc90e,_0x57a9dd=Array[_0xa67442(0x135)](this['_operations'][_0xa67442(0x14f)]());return this['sortOperationsWithFilterFirst'](_0x57a9dd);}[a0_0x4dc90e(0x2f5)](){const _0x18fae2=a0_0x4dc90e;return this[_0x18fae2(0x236)]()[_0x18fae2(0x29f)](_0x2a4d6a=>_0x2a4d6a[_0x18fae2(0x1a0)]());}[a0_0x4dc90e(0x21a)](){const _0x12c5db=a0_0x4dc90e;return this[_0x12c5db(0x236)]()['filter'](_0x40dba1=>!_0x40dba1[_0x12c5db(0x1a0)]());}[a0_0x4dc90e(0x178)](){const _0x238533=a0_0x4dc90e;return this[_0x238533(0x2f5)]()[_0x238533(0x287)](_0xf186ee=>_0xf186ee[_0x238533(0x294)]());}[a0_0x4dc90e(0x1a8)](){const _0x5aa456=a0_0x4dc90e;return this['getDisabled']()[_0x5aa456(0x287)](_0x1d27ac=>_0x1d27ac['getName']());}[a0_0x4dc90e(0x2a1)](_0x18477d){const _0x30b92a=a0_0x4dc90e;return this[_0x30b92a(0x236)]()['filter'](_0x401ef0=>_0x401ef0['getType']()===_0x18477d);}[a0_0x4dc90e(0x29f)](_0x11da2b){const _0x33a903=a0_0x4dc90e;return this[_0x33a903(0x236)]()[_0x33a903(0x29f)](_0x11da2b);}[a0_0x4dc90e(0x20f)](_0x2ba68b={}){const _0x2aa870=a0_0x4dc90e;let _0x306921=this[_0x2aa870(0x236)]();!_0x2ba68b[_0x2aa870(0x16a)]&&(_0x306921=_0x306921[_0x2aa870(0x29f)](_0xccfd78=>_0xccfd78[_0x2aa870(0x1a0)]()));if(_0x2ba68b[_0x2aa870(0x325)]!==![]){const _0x4bc311=_0x306921[_0x2aa870(0x287)](_0x18beeb=>({'name':_0x18beeb[_0x2aa870(0x294)](),'operation':_0x18beeb})),_0xfa9bbb=filterApiOperations(_0x4bc311);_0x306921=_0xfa9bbb[_0x2aa870(0x287)](_0x10c716=>_0x10c716[_0x2aa870(0x242)]),_0x306921=this[_0x2aa870(0x2b2)](_0x306921);}return _0x2ba68b['customFilter']&&(_0x306921=_0x306921[_0x2aa870(0x29f)](_0x2ba68b[_0x2aa870(0x2ff)])),_0x306921;}[a0_0x4dc90e(0x2b2)](_0x14c03e){const _0x3c95bf=a0_0x4dc90e,_0x2a31d7=_0x14c03e['find'](_0x445354=>_0x445354[_0x3c95bf(0x294)]()===_0x3c95bf(0x29f)),_0x47c18c=_0x14c03e[_0x3c95bf(0x29f)](_0x1d17c2=>_0x1d17c2[_0x3c95bf(0x294)]()!=='filter');return _0x2a31d7?[_0x2a31d7,..._0x47c18c]:_0x47c18c;}[a0_0x4dc90e(0x2de)](){const _0x4a8919=a0_0x4dc90e,_0xab11b9=this[_0x4a8919(0x2f5)]();return{'total':this[_0x4a8919(0x28f)](),'enabled':_0xab11b9['length'],'disabled':this[_0x4a8919(0x28f)]()-_0xab11b9[_0x4a8919(0x260)],'byType':this[_0x4a8919(0x13d)](_0xab11b9),'byMethod':this[_0x4a8919(0x269)](_0xab11b9)};}[a0_0x4dc90e(0x13d)](_0x3b4a44){const _0xe661b9=a0_0x4dc90e,_0x3e6ff6={};return _0x3b4a44[_0xe661b9(0x29d)](_0x4595e7=>{const _0x2de3ef=_0x4595e7['getType']();_0x2de3ef&&(_0x3e6ff6[_0x2de3ef]=(_0x3e6ff6[_0x2de3ef]||0x0)+0x1);}),_0x3e6ff6;}[a0_0x4dc90e(0x269)](_0xdc5cb7){const _0x57c305=a0_0x4dc90e,_0x451fcb={};return _0xdc5cb7[_0x57c305(0x29d)](_0x51b22c=>{const _0x2ec12b=_0x51b22c['getMethod']();_0x2ec12b&&(_0x451fcb[_0x2ec12b]=(_0x451fcb[_0x2ec12b]||0x0)+0x1);}),_0x451fcb;}[Symbol[a0_0x4dc90e(0x1c4)]](){const _0xeacddb=a0_0x4dc90e;return this[_0xeacddb(0x2bc)][_0xeacddb(0x14f)]();}[a0_0x4dc90e(0x25b)](){const _0x4e5c0c=a0_0x4dc90e,_0x3468a0=this[_0x4e5c0c(0x2de)]();return'OperationList('+_0x3468a0['enabled']+'/'+_0x3468a0[_0x4e5c0c(0x314)]+_0x4e5c0c(0x1ef);}}class Field{[a0_0x4dc90e(0x147)];[a0_0x4dc90e(0x1ae)]=null;constructor(_0x4d2466){const _0x3a9b68=a0_0x4dc90e;if(!_0x4d2466||typeof _0x4d2466!==_0x3a9b68(0x199))throw new Error(_0x3a9b68(0x146));this[_0x3a9b68(0x147)]=_0x4d2466;}get[a0_0x4dc90e(0x2cc)](){const _0x2e2204=a0_0x4dc90e;return this[_0x2e2204(0x147)];}[a0_0x4dc90e(0x203)](){const _0x4b0de0=a0_0x4dc90e;return this[_0x4b0de0(0x147)];}get['name'](){const _0x2a0921=a0_0x4dc90e;return this[_0x2a0921(0x147)][_0x2a0921(0x20b)]||'';}get['code'](){const _0x3117e2=a0_0x4dc90e;return this['_raw'][_0x3117e2(0x275)]||'';}get[a0_0x4dc90e(0x302)](){const _0x37e8d9=a0_0x4dc90e;return this['_raw'][_0x37e8d9(0x302)]||'';}get[a0_0x4dc90e(0x1d3)](){const _0x377112=a0_0x4dc90e;return this[_0x377112(0x147)][_0x377112(0x1d3)]||'';}get[a0_0x4dc90e(0x2d6)](){const _0x42c903=a0_0x4dc90e;return Boolean(this[_0x42c903(0x147)][_0x42c903(0x2d6)]);}get[a0_0x4dc90e(0x1dd)](){const _0x3d3fa0=a0_0x4dc90e;if(this[_0x3d3fa0(0x1ae)]!==null&&typeof this['_extend']===_0x3d3fa0(0x199))return this[_0x3d3fa0(0x1ae)];const _0xd13b49=this[_0x3d3fa0(0x147)]['extend'];if(!_0xd13b49||typeof _0xd13b49!==_0x3d3fa0(0x273))return this[_0x3d3fa0(0x1ae)]={},this[_0x3d3fa0(0x1ae)];if(_0xd13b49===_0x3d3fa0(0x144)||_0xd13b49['trim']()==='null')return this[_0x3d3fa0(0x1ae)]={},this[_0x3d3fa0(0x1ae)];try{const _0x349d27=JSON[_0x3d3fa0(0x2f0)](_0xd13b49);return this[_0x3d3fa0(0x1ae)]=_0x349d27!==null&&typeof _0x349d27==='object'&&!Array['isArray'](_0x349d27)?_0x349d27:{},this[_0x3d3fa0(0x1ae)];}catch(_0x2ecaed){return!![]&&console[_0x3d3fa0(0x1fc)](_0x3d3fa0(0x13b)+this[_0x3d3fa0(0x275)]+'\x20的\x20extend\x20配置失败:',_0x2ecaed),this['_extend']={},this['_extend'];}}[a0_0x4dc90e(0x202)](){const _0xc6b94c=a0_0x4dc90e;return Boolean(this[_0xc6b94c(0x1dd)][_0xc6b94c(0x2ad)]);}[a0_0x4dc90e(0x175)](){const _0x97fb30=a0_0x4dc90e;return Boolean(this['extend'][_0x97fb30(0x1c1)]);}[a0_0x4dc90e(0x2cf)](){const _0x1659f3=a0_0x4dc90e;return Boolean(this[_0x1659f3(0x1dd)][_0x1659f3(0x19a)]);}[a0_0x4dc90e(0x1e9)](){const _0x54ed45=a0_0x4dc90e;return!this[_0x54ed45(0x2cf)]();}['isDeleted'](){return this['deleted'];}[a0_0x4dc90e(0x30b)](){const _0x55c2bd=a0_0x4dc90e;return Boolean(this[_0x55c2bd(0x1dd)][_0x55c2bd(0x261)]);}[a0_0x4dc90e(0x2d8)](){return Boolean(this['extend']['createTime']);}['isUpdateTime'](){const _0x3a14d1=a0_0x4dc90e;return Boolean(this['extend'][_0x3a14d1(0x281)]);}[a0_0x4dc90e(0x2a4)](){const _0x2b86e0=a0_0x4dc90e,_0x6a0b13=[_0x2b86e0(0x29e),_0x2b86e0(0x282),'CHECKBOX'];return _0x6a0b13[_0x2b86e0(0x1b4)](this[_0x2b86e0(0x302)]);}[a0_0x4dc90e(0x245)](){const _0x1bb2a6=a0_0x4dc90e;return this[_0x1bb2a6(0x302)]==='CHECKBOX';}[a0_0x4dc90e(0x1ec)](){const _0x56bbd2=a0_0x4dc90e,_0x373d09=this[_0x56bbd2(0x1dd)];if(_0x373d09[_0x56bbd2(0x2ed)]&&Array[_0x56bbd2(0x220)](_0x373d09[_0x56bbd2(0x2ed)]))return _0x373d09[_0x56bbd2(0x2ed)];return;}[a0_0x4dc90e(0x191)](){const _0xb38ea2=a0_0x4dc90e,_0x517c70=this[_0xb38ea2(0x1dd)];if(_0x517c70[_0xb38ea2(0x1a2)]&&typeof _0x517c70[_0xb38ea2(0x1a2)]===_0xb38ea2(0x199))return _0x517c70['selectItemsSource'];return;}[a0_0x4dc90e(0x1bb)](){const _0x5c5780=a0_0x4dc90e;if(!this[_0x5c5780(0x2a4)]())return;const _0x34c0b2=this[_0x5c5780(0x1ec)](),_0x3c6f60=this[_0x5c5780(0x191)](),_0x559afe=[],_0x180d99={},_0x2c675b=_0x57b00a=>{const _0x48f2a2=_0x5c5780;_0x57b00a[_0x48f2a2(0x29d)](_0x58845a=>{const _0x50b9e2=_0x48f2a2;_0x559afe[_0x50b9e2(0x17a)](_0x58845a[_0x50b9e2(0x2a0)]),_0x180d99[String(_0x58845a['value'])]=_0x58845a[_0x50b9e2(0x1df)],_0x58845a['children']&&_0x58845a[_0x50b9e2(0x142)][_0x50b9e2(0x260)]>0x0&&_0x2c675b(_0x58845a[_0x50b9e2(0x142)]);});};return _0x34c0b2&&_0x34c0b2[_0x5c5780(0x260)]>0x0&&_0x2c675b(_0x34c0b2),{'code':this[_0x5c5780(0x275)],'name':this[_0x5c5780(0x20b)],'type':this[_0x5c5780(0x302)],'multiple':this[_0x5c5780(0x245)](),'options':_0x34c0b2,'selectItemsSource':_0x3c6f60,'values':_0x559afe,'valueLabels':_0x180d99};}[a0_0x4dc90e(0x290)](){const _0x42d16f=a0_0x4dc90e;return this['extend'][_0x42d16f(0x2d7)];}[a0_0x4dc90e(0x12e)](){const _0x2f86c4=a0_0x4dc90e;return this[_0x2f86c4(0x1dd)]['tooltip'];}['toJSON'](){const _0x194c21=a0_0x4dc90e;return{'name':this[_0x194c21(0x20b)],'code':this[_0x194c21(0x275)],'type':this[_0x194c21(0x302)],'description':this[_0x194c21(0x1d3)],'required':this[_0x194c21(0x202)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x194c21(0x2cf)](),'autoIncrement':this[_0x194c21(0x30b)](),'createTime':this[_0x194c21(0x2d8)](),'updateTime':this[_0x194c21(0x145)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x194c21(0x2a4)]()?this['getEnumMeta']():undefined};}}class FieldList{[a0_0x4dc90e(0x2ee)];constructor(_0xb8dd0f,_0x9291a8){const _0x36d9f3=a0_0x4dc90e;if(!Array[_0x36d9f3(0x220)](_0xb8dd0f))throw new Error(_0x36d9f3(0x162));const _0x49a986=_0x9291a8?.[_0x36d9f3(0x1ed)]??![],_0x550852=_0x49a986?_0xb8dd0f:_0xb8dd0f[_0x36d9f3(0x29f)](_0x4e8e39=>!_0x4e8e39[_0x36d9f3(0x2d6)]);this['_fields']=_0x550852[_0x36d9f3(0x287)](_0x1d244e=>new Field(_0x1d244e));}get[a0_0x4dc90e(0x260)](){const _0x346e3b=a0_0x4dc90e;return this[_0x346e3b(0x2ee)][_0x346e3b(0x260)];}['all'](){const _0x35b446=a0_0x4dc90e;return[...this[_0x35b446(0x2ee)]];}[a0_0x4dc90e(0x2cc)](){const _0x142965=a0_0x4dc90e;return this['_fields'][_0x142965(0x287)](_0x1cbdd0=>_0x1cbdd0[_0x142965(0x2cc)]);}['at'](_0x5d93d9){const _0x184e92=a0_0x4dc90e;return this[_0x184e92(0x2ee)]['at'](_0x5d93d9);}[a0_0x4dc90e(0x30e)](_0x4b50a6){const _0x11316a=a0_0x4dc90e;return this['_fields'][_0x11316a(0x30e)](_0x173857=>_0x173857[_0x11316a(0x275)]===_0x4b50a6);}[a0_0x4dc90e(0x133)](_0xbc1d7b){const _0x56207d=a0_0x4dc90e;return this[_0x56207d(0x2ee)]['find'](_0x2f3eff=>_0x2f3eff[_0x56207d(0x20b)]===_0xbc1d7b);}[a0_0x4dc90e(0x2c0)](_0x4b9d30){const _0xe9ab5b=a0_0x4dc90e;return this[_0xe9ab5b(0x2ee)]['some'](_0x3c3a13=>_0x3c3a13[_0xe9ab5b(0x275)]===_0x4b9d30);}[a0_0x4dc90e(0x29d)](_0x200dd2){const _0x268bda=a0_0x4dc90e;this[_0x268bda(0x2ee)][_0x268bda(0x29d)](_0x200dd2);}['map'](_0x115653){const _0x3a24f8=a0_0x4dc90e;return this[_0x3a24f8(0x2ee)]['map'](_0x115653);}[a0_0x4dc90e(0x29f)](_0x4e318c){const _0x3de8e7=a0_0x4dc90e;return this[_0x3de8e7(0x2ee)][_0x3de8e7(0x29f)](_0x4e318c);}[a0_0x4dc90e(0x207)](_0x20abc0){const _0x19e6d3=a0_0x4dc90e;return this[_0x19e6d3(0x2ee)]['every'](_0x20abc0);}['some'](_0x168222){const _0x2fae3a=a0_0x4dc90e;return this[_0x2fae3a(0x2ee)][_0x2fae3a(0x16e)](_0x168222);}['getRequired'](){const _0x48596e=a0_0x4dc90e;return this[_0x48596e(0x2ee)]['filter'](_0x2accb0=>_0x2accb0['isRequired']());}[a0_0x4dc90e(0x197)](){const _0xd4159=a0_0x4dc90e;return this[_0xd4159(0x2ee)][_0xd4159(0x29f)](_0x6b11e=>_0x6b11e[_0xd4159(0x175)]());}[a0_0x4dc90e(0x21b)](){const _0x5a3c9e=a0_0x4dc90e;return this[_0x5a3c9e(0x2ee)]['filter'](_0x505236=>_0x505236[_0x5a3c9e(0x2cf)]());}[a0_0x4dc90e(0x2ae)](){const _0x517a34=a0_0x4dc90e;return this[_0x517a34(0x2ee)]['filter'](_0x355822=>_0x355822[_0x517a34(0x1e9)]());}['getEnum'](){return this['_fields']['filter'](_0x4816a8=>_0x4816a8['isEnum']());}[a0_0x4dc90e(0x2d2)](){const _0x52b626=a0_0x4dc90e;return this[_0x52b626(0x2ee)]['filter'](_0x529978=>_0x529978['isAutoIncrement']());}['getCreateTime'](){const _0x1f3582=a0_0x4dc90e;return this[_0x1f3582(0x2ee)]['filter'](_0x198a44=>_0x198a44[_0x1f3582(0x2d8)]());}[a0_0x4dc90e(0x313)](){const _0x5a4ff4=a0_0x4dc90e;return this[_0x5a4ff4(0x2ee)][_0x5a4ff4(0x29f)](_0x4ce6af=>_0x4ce6af[_0x5a4ff4(0x145)]());}['getDeleted'](){const _0x59ccd8=a0_0x4dc90e;return this[_0x59ccd8(0x2ee)]['filter'](_0x210e94=>_0x210e94[_0x59ccd8(0x222)]());}['getActive'](){const _0x66692=a0_0x4dc90e;return this[_0x66692(0x2ee)][_0x66692(0x29f)](_0x59537e=>!_0x59537e[_0x66692(0x222)]());}[a0_0x4dc90e(0x1d0)](){const _0x9a35bb=a0_0x4dc90e,_0x35dbdd={};return this[_0x9a35bb(0x2ee)][_0x9a35bb(0x29d)](_0x3fd5d7=>{const _0x5ba7d1=_0x9a35bb,_0x51fe3c=_0x3fd5d7[_0x5ba7d1(0x302)];!_0x35dbdd[_0x51fe3c]&&(_0x35dbdd[_0x51fe3c]=[]),_0x35dbdd[_0x51fe3c][_0x5ba7d1(0x17a)](_0x3fd5d7);}),_0x35dbdd;}[a0_0x4dc90e(0x27d)](){const _0x3232fa=a0_0x4dc90e,_0x2f7142={};return this[_0x3232fa(0x2ee)][_0x3232fa(0x29d)](_0x3884f9=>{const _0x1d37fb=_0x3232fa;if(_0x3884f9[_0x1d37fb(0x2a4)]()){const _0x25b3dc=_0x3884f9[_0x1d37fb(0x1bb)]();_0x25b3dc&&(_0x2f7142[_0x3884f9[_0x1d37fb(0x275)]]=_0x25b3dc);}}),_0x2f7142;}[a0_0x4dc90e(0x2de)](){const _0x22d6cc=a0_0x4dc90e;return{'total':this['length'],'required':this[_0x22d6cc(0x138)]()[_0x22d6cc(0x260)],'primaryKey':this[_0x22d6cc(0x197)]()[_0x22d6cc(0x260)],'system':this[_0x22d6cc(0x21b)]()['length'],'business':this[_0x22d6cc(0x2ae)]()[_0x22d6cc(0x260)],'enum':this[_0x22d6cc(0x1f9)]()[_0x22d6cc(0x260)],'autoIncrement':this[_0x22d6cc(0x2d2)]()['length']};}[a0_0x4dc90e(0x235)](){const _0x18574f=a0_0x4dc90e;return this['_fields'][_0x18574f(0x287)](_0x920a1e=>_0x920a1e[_0x18574f(0x235)]());}['getCodes'](){const _0x1012b7=a0_0x4dc90e;return this['_fields'][_0x1012b7(0x287)](_0x528616=>_0x528616[_0x1012b7(0x275)]);}[a0_0x4dc90e(0x250)](){const _0x3bc682=a0_0x4dc90e;return this[_0x3bc682(0x2ee)][_0x3bc682(0x287)](_0x4b4a7b=>_0x4b4a7b[_0x3bc682(0x20b)]);}static[a0_0x4dc90e(0x135)](_0x297a14){const _0xd10c6d=a0_0x4dc90e,_0x493bbc=_0x297a14[_0xd10c6d(0x287)](_0x170354=>_0x170354[_0xd10c6d(0x2cc)]);return new FieldList(_0x493bbc);}static[a0_0x4dc90e(0x2b1)](_0x1e5648){return new FieldList(_0x1e5648,{'includeDeleted':!![]});}}class DrivenDataDetail extends DatasetItem{[a0_0x4dc90e(0x196)];['_fieldList'];[a0_0x4dc90e(0x30f)];constructor(_0x46a71b){const _0x2290b1=a0_0x4dc90e;super({..._0x46a71b,'id':_0x46a71b[_0x2290b1(0x158)],'datasetCode':_0x46a71b['modelCode']});}get[a0_0x4dc90e(0x259)](){const _0x53d246=a0_0x4dc90e;return this[_0x53d246(0x147)][_0x53d246(0x259)];}[a0_0x4dc90e(0x226)](){const _0x4b5277=a0_0x4dc90e;return this[_0x4b5277(0x259)];}get[a0_0x4dc90e(0x229)](){const _0x21ef12=a0_0x4dc90e;return this[_0x21ef12(0x147)][_0x21ef12(0x229)];}['getFieldList'](){const _0x392f19=a0_0x4dc90e;return!this[_0x392f19(0x2d3)]&&(this[_0x392f19(0x2d3)]=new FieldList(this[_0x392f19(0x147)]['properties']||[])),this[_0x392f19(0x2d3)];}[a0_0x4dc90e(0x12a)](){const _0x23fd32=a0_0x4dc90e;return!this[_0x23fd32(0x30f)]&&(this[_0x23fd32(0x30f)]=FieldList[_0x23fd32(0x2b1)](this[_0x23fd32(0x147)][_0x23fd32(0x2e1)]||[])),this[_0x23fd32(0x30f)];}[a0_0x4dc90e(0x1f6)](){const _0xa390f7=a0_0x4dc90e;return this[_0xa390f7(0x2e3)]()[_0xa390f7(0x2cc)]();}['getFieldsWithDeleted'](){const _0x4557b8=a0_0x4dc90e;return this[_0x4557b8(0x147)][_0x4557b8(0x2e1)]||[];}[a0_0x4dc90e(0x141)](){const _0x45b053=a0_0x4dc90e;return this[_0x45b053(0x2e3)]()[_0x45b053(0x260)];}[a0_0x4dc90e(0x1dc)](_0x44e8c7){const _0x52015d=a0_0x4dc90e,_0x5a1128=this[_0x52015d(0x1ba)](_0x44e8c7);return _0x5a1128?_0x5a1128[_0x52015d(0x2cc)]:undefined;}[a0_0x4dc90e(0x13a)](_0x548eb1){const _0x2ffd7d=a0_0x4dc90e;return this[_0x2ffd7d(0x2e3)]()[_0x2ffd7d(0x30e)](_0x548eb1)?.['raw']||undefined;}[a0_0x4dc90e(0x1ba)](_0x32bd9a){const _0x4a0407=a0_0x4dc90e;if(typeof _0x32bd9a!==_0x4a0407(0x273)){!![]&&console[_0x4a0407(0x1fc)]('[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x32bd9a);return;}return this[_0x4a0407(0x2e3)]()['find'](_0x32bd9a);}[a0_0x4dc90e(0x15d)](_0x303f03){const _0x24904c=a0_0x4dc90e;return this['getFieldList']()[_0x24904c(0x2c0)](_0x303f03);}['parseFieldExtend'](_0x417371){const _0x4a586e=a0_0x4dc90e;if(!_0x417371||typeof _0x417371!=='object')return!![]&&console['warn'](_0x4a586e(0x270),_0x417371),{};if(!_0x417371[_0x4a586e(0x1dd)])return{};try{const _0x7f94e=typeof _0x417371[_0x4a586e(0x1dd)]===_0x4a586e(0x273)?JSON[_0x4a586e(0x2f0)](_0x417371[_0x4a586e(0x1dd)]):_0x417371[_0x4a586e(0x1dd)];if(typeof _0x7f94e!=='object'||_0x7f94e===null)return{};return _0x7f94e;}catch(_0xcce786){return{};}}[a0_0x4dc90e(0x320)](_0x3cd0cf){const _0x4d7271=a0_0x4dc90e;if(!_0x3cd0cf||typeof _0x3cd0cf!==_0x4d7271(0x199))return![];const _0x1c6869=this['getFieldList']()[_0x4d7271(0x30e)](_0x3cd0cf['code']);return _0x1c6869?_0x1c6869[_0x4d7271(0x175)]():![];}[a0_0x4dc90e(0x239)](_0x175f63){const _0x34cbd1=a0_0x4dc90e;if(!_0x175f63||typeof _0x175f63!=='object')return![];const _0x123eb4=this[_0x34cbd1(0x2e3)]()[_0x34cbd1(0x30e)](_0x175f63[_0x34cbd1(0x275)]);return _0x123eb4?_0x123eb4[_0x34cbd1(0x2cf)]():![];}[a0_0x4dc90e(0x22f)](_0x11a3b9){const _0x151794=a0_0x4dc90e;if(!_0x11a3b9||typeof _0x11a3b9!==_0x151794(0x199))return![];const _0x4c6934=this[_0x151794(0x2e3)]()[_0x151794(0x30e)](_0x11a3b9[_0x151794(0x275)]);return _0x4c6934?_0x4c6934['isRequired']():![];}['getPrimaryKeyFields'](){const _0x1bf38f=a0_0x4dc90e;return this[_0x1bf38f(0x2e3)]()['getPrimaryKeys']()[_0x1bf38f(0x287)](_0x4a32db=>_0x4a32db[_0x1bf38f(0x2cc)]);}[a0_0x4dc90e(0x1ce)](){const _0x43fa12=a0_0x4dc90e;return this[_0x43fa12(0x2e3)]()[_0x43fa12(0x21b)]()[_0x43fa12(0x287)](_0x82ca37=>_0x82ca37[_0x43fa12(0x2cc)]);}[a0_0x4dc90e(0x1be)](){const _0x5a33ce=a0_0x4dc90e;return this[_0x5a33ce(0x2e3)]()[_0x5a33ce(0x2ae)]()[_0x5a33ce(0x287)](_0x5f4249=>_0x5f4249['raw']);}[a0_0x4dc90e(0x1b8)](){const _0x431ac=a0_0x4dc90e;return this[_0x431ac(0x2e3)]()[_0x431ac(0x138)]()[_0x431ac(0x287)](_0x24474e=>_0x24474e[_0x431ac(0x2cc)]);}['getFieldsByType'](){const _0x3676cf=a0_0x4dc90e,_0xf00244=this['getFieldList']()[_0x3676cf(0x1d0)](),_0x56548d={};for(const [_0x114480,_0x48a973]of Object[_0x3676cf(0x1a4)](_0xf00244)){_0x56548d[_0x114480]=_0x48a973['map'](_0x378cc5=>_0x378cc5[_0x3676cf(0x2cc)]);}return _0x56548d;}[a0_0x4dc90e(0x2be)](_0x583a3c){const _0x11e9f8=a0_0x4dc90e;if(!_0x583a3c||typeof _0x583a3c!==_0x11e9f8(0x199))return![];const _0x237be7=this[_0x11e9f8(0x2e3)]()[_0x11e9f8(0x30e)](_0x583a3c[_0x11e9f8(0x275)]);return _0x237be7?_0x237be7[_0x11e9f8(0x2a4)]():![];}[a0_0x4dc90e(0x1d7)](_0x4b65c6){const _0x72c20f=a0_0x4dc90e;if(!_0x4b65c6||typeof _0x4b65c6!=='object')return![];const _0xe6847=this[_0x72c20f(0x2e3)]()[_0x72c20f(0x30e)](_0x4b65c6[_0x72c20f(0x275)]);return _0xe6847?_0xe6847['isMultipleSelect']():![];}[a0_0x4dc90e(0x152)](_0x5d6de0){const _0x220935=a0_0x4dc90e;if(!_0x5d6de0||typeof _0x5d6de0!=='object')return[];const _0x5dc5f7=this[_0x220935(0x2e3)]()['find'](_0x5d6de0[_0x220935(0x275)]);if(!_0x5dc5f7||!_0x5dc5f7[_0x220935(0x2a4)]())return[];return _0x5dc5f7[_0x220935(0x1ec)]()||[];}[a0_0x4dc90e(0x166)](_0x49629e){const _0x3b67c2=a0_0x4dc90e;if(!_0x49629e||typeof _0x49629e!==_0x3b67c2(0x199))return;const _0xf42f00=this[_0x3b67c2(0x2e3)]()[_0x3b67c2(0x30e)](_0x49629e[_0x3b67c2(0x275)]);if(!_0xf42f00||!_0xf42f00[_0x3b67c2(0x2a4)]())return;return _0xf42f00[_0x3b67c2(0x191)]();}[a0_0x4dc90e(0x1f1)](_0x2b620e){const _0x4348f8=a0_0x4dc90e;if(!_0x2b620e||typeof _0x2b620e!==_0x4348f8(0x199))return;const _0x1a6705=this[_0x4348f8(0x2e3)]()[_0x4348f8(0x30e)](_0x2b620e[_0x4348f8(0x275)]);if(!_0x1a6705||!_0x1a6705[_0x4348f8(0x2a4)]())return;return _0x1a6705[_0x4348f8(0x1bb)]();}[a0_0x4dc90e(0x280)](){const _0x5a3faa=a0_0x4dc90e;return this[_0x5a3faa(0x2e3)]()[_0x5a3faa(0x1f9)]()[_0x5a3faa(0x287)](_0x2f494d=>_0x2f494d['raw']);}['getEnumFieldsMeta'](){const _0x26a90d=a0_0x4dc90e,_0x2fc16c={};return this['getEnumFields']()[_0x26a90d(0x29d)](_0x259027=>{const _0x5f22a7=_0x26a90d,_0xef4f61=this[_0x5f22a7(0x1f1)](_0x259027);_0xef4f61&&(_0x2fc16c[_0x259027[_0x5f22a7(0x275)]]=_0xef4f61);}),_0x2fc16c;}['validateEnumValue'](_0x594253,_0x3791b6){const _0xba586f=a0_0x4dc90e,_0x6c81e3=this[_0xba586f(0x1f1)](_0x594253);if(!_0x6c81e3)return!![];if(_0x6c81e3['selectItemsSource']&&!_0x6c81e3[_0xba586f(0x2ed)])return!![];if(_0x6c81e3[_0xba586f(0x213)]&&Array[_0xba586f(0x220)](_0x3791b6))return _0x3791b6[_0xba586f(0x207)](_0x3eb3da=>_0x6c81e3[_0xba586f(0x14f)]['includes'](_0x3eb3da));return _0x6c81e3[_0xba586f(0x14f)][_0xba586f(0x1b4)](_0x3791b6);}[a0_0x4dc90e(0x286)](){const _0x1c2f16=a0_0x4dc90e;if(!this[_0x1c2f16(0x196)]){const _0x412dac=this[_0x1c2f16(0x284)](this['_raw']['operations']||{});this[_0x1c2f16(0x196)]=new OperationList(_0x412dac,{'fields':this[_0x1c2f16(0x1f6)](),'pkField':this['_raw'][_0x1c2f16(0x14d)]?.[_0x1c2f16(0x1f0)],'dbtableConfig':this[_0x1c2f16(0x147)][_0x1c2f16(0x14d)]});}return this['_operationList'];}[a0_0x4dc90e(0x284)](_0x2c1e7c){const _0x4588aa=a0_0x4dc90e;if(_0x2c1e7c[_0x4588aa(0x29f)]!==undefined)return _0x2c1e7c;return{..._0x2c1e7c,'filter':this[_0x4588aa(0x2c5)]()};}[a0_0x4dc90e(0x2c5)](){const _0x17bd65=a0_0x4dc90e,_0x4217cf=this[_0x17bd65(0x147)][_0x17bd65(0x31b)]?.[_0x17bd65(0x17b)];let _0x2c2cbc=_0x4217cf?.[_0x17bd65(0x247)],_0x202319='';if(!_0x2c2cbc&&this['_raw'][_0x17bd65(0x31b)]){const _0x37f95b=Object[_0x17bd65(0x14f)](this['_raw'][_0x17bd65(0x31b)]);for(const _0x49d1ed of _0x37f95b){if(_0x49d1ed&&typeof _0x49d1ed===_0x17bd65(0x199)&&_0x17bd65(0x247)in _0x49d1ed){_0x2c2cbc=_0x49d1ed['host'];break;}}}if(_0x4217cf?.[_0x17bd65(0x2e6)]){const _0x56daa3=_0x4217cf[_0x17bd65(0x2e6)],_0x469910=_0x56daa3['lastIndexOf']('/');_0x469910!==-0x1&&(_0x202319=_0x56daa3[_0x17bd65(0x16f)](0x0,_0x469910));}return{'name':_0x17bd65(0x29f),'type':_0x17bd65(0x149),'description':'Filter\x20API\x20-\x20高级查询接口','method':_0x17bd65(0x246),'host':_0x2c2cbc,'path':_0x202319?_0x202319+_0x17bd65(0x15e):_0x17bd65(0x15e),'params':_0x4217cf?.['params']||[{'name':_0x17bd65(0x258),'type':'object','required':![]},{'name':'select','type':_0x17bd65(0x291),'required':![]},{'name':_0x17bd65(0x134),'type':_0x17bd65(0x291),'required':![]},{'name':_0x17bd65(0x1c5),'type':_0x17bd65(0x257),'required':![],'default':0x1},{'name':_0x17bd65(0x181),'type':_0x17bd65(0x257),'required':![],'default':0xa}],'_autoGenerated':!![]};}[a0_0x4dc90e(0x28e)](){const _0x1c6891=a0_0x4dc90e;return this[_0x1c6891(0x286)]()[_0x1c6891(0x236)]();}[a0_0x4dc90e(0x26c)](){const _0x42fa01=a0_0x4dc90e;return this[_0x42fa01(0x286)]()[_0x42fa01(0x28f)]();}[a0_0x4dc90e(0x1b6)](_0x13f05c){const _0x4a4ae6=a0_0x4dc90e;if(typeof _0x13f05c!==_0x4a4ae6(0x273)){!![]&&console[_0x4a4ae6(0x1fc)](_0x4a4ae6(0x2aa),_0x13f05c);return;}return this[_0x4a4ae6(0x286)]()[_0x4a4ae6(0x24f)](_0x13f05c);}[a0_0x4dc90e(0x2bd)](_0x16dd73){const _0x5474a2=a0_0x4dc90e;if(typeof _0x16dd73!==_0x5474a2(0x273))return![];return this['getOperationList']()['has'](_0x16dd73);}[a0_0x4dc90e(0x17d)](_0x43a726){const _0x276f42=a0_0x4dc90e;if(typeof _0x43a726!==_0x276f42(0x273))return![];const _0x5e11a9=this['getOperation'](_0x43a726);return _0x5e11a9?.[_0x276f42(0x1a0)]()||![];}[a0_0x4dc90e(0x264)](){const _0x45345c=a0_0x4dc90e;return this[_0x45345c(0x286)]()[_0x45345c(0x178)]();}['getDisabledOperations'](){const _0xcef581=a0_0x4dc90e;return this['getOperationList']()[_0xcef581(0x1a8)]();}[a0_0x4dc90e(0x1af)](){const _0x32a502=a0_0x4dc90e;return this[_0x32a502(0x286)]()['getEnabled']();}['getDisabledOperationInstances'](){const _0x345b2a=a0_0x4dc90e;return this['getOperationList']()[_0x345b2a(0x21a)]();}[a0_0x4dc90e(0x2de)](){const _0x2ebb5d=a0_0x4dc90e;return{'fieldCount':this[_0x2ebb5d(0x141)](),'systemFieldCount':this[_0x2ebb5d(0x1ce)]()[_0x2ebb5d(0x260)],'businessFieldCount':this['getBusinessFields']()['length'],'requiredFieldCount':this[_0x2ebb5d(0x1b8)]()['length'],'primaryKeyCount':this[_0x2ebb5d(0x1e2)]()[_0x2ebb5d(0x260)],'operationCount':this[_0x2ebb5d(0x26c)](),'enabledOperationCount':this[_0x2ebb5d(0x264)]()[_0x2ebb5d(0x260)]};}[a0_0x4dc90e(0x315)](){const _0x13bd3b=a0_0x4dc90e;return new DatasetItem({'id':this['id'],'name':this[_0x13bd3b(0x20b)],'datasetCode':this[_0x13bd3b(0x297)],'dbtableConfig':this[_0x13bd3b(0x171)]()});}[a0_0x4dc90e(0x25b)](){const _0x27b8de=a0_0x4dc90e;return'DrivenDataDetail('+this[_0x27b8de(0x20b)]+',\x20'+this[_0x27b8de(0x297)]+',\x20'+this[_0x27b8de(0x141)]()+'\x20fields,\x20'+this[_0x27b8de(0x26c)]()+_0x27b8de(0x1ef);}[a0_0x4dc90e(0x14a)](){const _0x5a8862=a0_0x4dc90e,_0x153f2b=this[_0x5a8862(0x1b6)]('filter');return _0x153f2b;}[a0_0x4dc90e(0x20e)](){const _0x105eb9=a0_0x4dc90e;return this[_0x105eb9(0x2bd)](_0x105eb9(0x29f));}[a0_0x4dc90e(0x194)](_0x35e324){const _0x555240=this['getOperation'](_0x35e324);return _0x555240?_0x555240['getOperators']():[];}[a0_0x4dc90e(0x13e)](_0xdf153b,_0x766b56){const _0x2f4a73=a0_0x4dc90e,_0x25b14a=this[_0x2f4a73(0x1b6)](_0xdf153b);return _0x25b14a?_0x25b14a['getFieldOperators'](_0x766b56):[];}[a0_0x4dc90e(0x180)](_0x413646){const _0x38de73=a0_0x4dc90e,_0x1a2c50={};return this[_0x38de73(0x2e3)]()[_0x38de73(0x29d)](_0x12ebf9=>{const _0x62b6bc=_0x38de73,_0x376db7=this[_0x62b6bc(0x13e)](_0x413646,_0x12ebf9['code']);_0x376db7[_0x62b6bc(0x260)]>0x0&&(_0x1a2c50[_0x12ebf9[_0x62b6bc(0x275)]]=_0x376db7);}),_0x1a2c50;}[a0_0x4dc90e(0x164)](_0x358850,_0xa2e158,_0x504ef9){const _0xf5d785=a0_0x4dc90e,_0x319946=this[_0xf5d785(0x13e)](_0x358850,_0xa2e158);return _0x319946['includes'](_0x504ef9);}['getFilterOperators'](){const _0x33f5a5=a0_0x4dc90e;return this['getOperationOperators'](_0x33f5a5(0x29f));}[a0_0x4dc90e(0x317)](_0x3a0267){const _0x1cc2fd=a0_0x4dc90e;return this[_0x1cc2fd(0x13e)](_0x1cc2fd(0x29f),_0x3a0267);}[a0_0x4dc90e(0x22c)](){const _0x55e2e1=a0_0x4dc90e;return this['getOperationFieldsOperatorsMap'](_0x55e2e1(0x29f));}}class DatasetGroup{[a0_0x4dc90e(0x2c1)];constructor(_0x12585a){const _0x27506f=a0_0x4dc90e;this[_0x27506f(0x2c1)]=Array[_0x27506f(0x220)](_0x12585a)?[..._0x12585a]:[_0x12585a],this[_0x27506f(0x2c1)][_0x27506f(0x18b)]((_0x26950d,_0x2a00e7)=>{const _0x3e1f69=Number(_0x26950d['id'])||0x0,_0x27c6c9=Number(_0x2a00e7['id'])||0x0;return _0x27c6c9-_0x3e1f69;});}[a0_0x4dc90e(0x170)](){const _0x55d4cf=a0_0x4dc90e;return this[_0x55d4cf(0x2c1)][_0x55d4cf(0x260)]>0x1;}[a0_0x4dc90e(0x184)](){const _0x5b9d8d=a0_0x4dc90e;return this[_0x5b9d8d(0x2c1)][0x0];}[a0_0x4dc90e(0x22e)](){const _0x1ab01f=a0_0x4dc90e;return this[_0x1ab01f(0x2c1)][this['items'][_0x1ab01f(0x260)]-0x1];}[a0_0x4dc90e(0x308)](){const _0x4a059c=a0_0x4dc90e;return[...this[_0x4a059c(0x2c1)]];}[a0_0x4dc90e(0x1a5)](){const _0x573e1a=a0_0x4dc90e;return this['items'][_0x573e1a(0x260)];}[a0_0x4dc90e(0x267)](_0x87453f){const _0x9db652=a0_0x4dc90e;return this[_0x9db652(0x2c1)][_0x87453f];}[a0_0x4dc90e(0x29c)](_0x719f43){const _0x2761c3=a0_0x4dc90e;return this['items'][_0x2761c3(0x30e)](_0x886a2b=>_0x886a2b['id']===_0x719f43);}[a0_0x4dc90e(0x1ea)](_0x1057a4){const _0x1e534d=a0_0x4dc90e;return this[_0x1e534d(0x2c1)][_0x1e534d(0x30e)](_0xf9adeb=>_0xf9adeb[_0x1e534d(0x297)]===_0x1057a4);}[a0_0x4dc90e(0x2b0)](){const _0x51af9b=a0_0x4dc90e;return this['items'][_0x51af9b(0x287)](_0x381f4f=>_0x381f4f['id'])[_0x51af9b(0x29f)](_0x596c87=>_0x596c87!==undefined);}[a0_0x4dc90e(0x233)](){const _0x511a9d=a0_0x4dc90e;return this['items'][_0x511a9d(0x287)](_0x2f696a=>_0x2f696a['datasetCode']);}[a0_0x4dc90e(0x25b)](){const _0x2c1fba=a0_0x4dc90e;if(this[_0x2c1fba(0x170)]())return _0x2c1fba(0x2a7)+this[_0x2c1fba(0x2c1)][_0x2c1fba(0x260)]+_0x2c1fba(0x19e)+this[_0x2c1fba(0x184)]()['name']+')';return'DatasetGroup('+this[_0x2c1fba(0x2c1)][0x0]['name']+')';}}class DatasetGroupMap{['groups'];constructor(_0x566c1f){const _0x30cd94=a0_0x4dc90e;this[_0x30cd94(0x311)]=new Map();for(const _0x36e8d8 of _0x566c1f){const _0x298ca7=getTableKey(_0x36e8d8);if(!this['groups']['has'](_0x298ca7))this['groups'][_0x30cd94(0x2fc)](_0x298ca7,new DatasetGroup(_0x36e8d8));else{const _0x192243=this['groups'][_0x30cd94(0x24f)](_0x298ca7),_0x3b30af=[..._0x192243[_0x30cd94(0x308)](),_0x36e8d8];this[_0x30cd94(0x311)][_0x30cd94(0x2fc)](_0x298ca7,new DatasetGroup(_0x3b30af));}}}[a0_0x4dc90e(0x24f)](_0x158a2a){const _0x5f879c=a0_0x4dc90e;return this[_0x5f879c(0x311)][_0x5f879c(0x24f)](_0x158a2a);}[a0_0x4dc90e(0x2c0)](_0x5bcfab){const _0x5d2085=a0_0x4dc90e;return this[_0x5d2085(0x311)][_0x5d2085(0x2c0)](_0x5bcfab);}get[a0_0x4dc90e(0x28f)](){const _0x3585e9=a0_0x4dc90e;return this[_0x3585e9(0x311)][_0x3585e9(0x28f)];}[a0_0x4dc90e(0x2c6)](){const _0x1061c4=a0_0x4dc90e;return this['groups'][_0x1061c4(0x2c6)]();}[a0_0x4dc90e(0x14f)](){const _0x5c8194=a0_0x4dc90e;return this['groups'][_0x5c8194(0x14f)]();}['entries'](){const _0x1f7bf6=a0_0x4dc90e;return this[_0x1f7bf6(0x311)][_0x1f7bf6(0x1a4)]();}[Symbol[a0_0x4dc90e(0x1c4)]](){const _0x4e5112=a0_0x4dc90e;return this[_0x4e5112(0x311)][_0x4e5112(0x1a4)]();}['forEach'](_0x2b6d35){const _0x50f13e=a0_0x4dc90e;this['groups'][_0x50f13e(0x29d)]((_0x29eebe,_0x22ea01)=>_0x2b6d35(_0x29eebe,_0x22ea01,this));}[a0_0x4dc90e(0x26d)](){const _0x559409=a0_0x4dc90e,_0x1f3c37=new Map();for(const [_0x17b9dd,_0xa5e860]of this['groups']){_0xa5e860[_0x559409(0x170)]()&&_0x1f3c37[_0x559409(0x2fc)](_0x17b9dd,_0xa5e860);}return _0x1f3c37;}[a0_0x4dc90e(0x2af)](){const _0x5d1f2b=a0_0x4dc90e;for(const _0x1ac642 of this[_0x5d1f2b(0x311)][_0x5d1f2b(0x14f)]()){if(_0x1ac642[_0x5d1f2b(0x170)]())return!![];}return![];}['getConflictStats'](){const _0x1a9e0f=a0_0x4dc90e;let _0x38076f=0x0,_0x54a3dc=0x0;for(const _0x4bcb1c of this[_0x1a9e0f(0x311)]['values']()){_0x4bcb1c[_0x1a9e0f(0x170)]()&&(_0x38076f++,_0x54a3dc+=_0x4bcb1c['getCount']());}return{'conflictGroupCount':_0x38076f,'conflictItemCount':_0x54a3dc,'totalGroups':this[_0x1a9e0f(0x311)][_0x1a9e0f(0x28f)]};}[a0_0x4dc90e(0x28b)](){const _0x4c7701=a0_0x4dc90e,_0x5c3b83=[];for(const _0x21fba7 of this[_0x4c7701(0x311)][_0x4c7701(0x14f)]()){_0x5c3b83[_0x4c7701(0x17a)](..._0x21fba7[_0x4c7701(0x308)]());}return _0x5c3b83;}[a0_0x4dc90e(0x1bc)](){const _0x1fea1d=a0_0x4dc90e,_0x29a167=[];for(const _0x23a6c0 of this['groups']['values']()){_0x29a167[_0x1fea1d(0x17a)](_0x23a6c0['getLatest']());}return _0x29a167;}[a0_0x4dc90e(0x184)](_0x3a89e4){const _0x141597=a0_0x4dc90e;return this[_0x141597(0x311)][_0x141597(0x24f)](_0x3a89e4)?.[_0x141597(0x184)]();}[a0_0x4dc90e(0x308)](_0x36390c){const _0x561bbf=a0_0x4dc90e;return this[_0x561bbf(0x311)]['get'](_0x36390c)?.[_0x561bbf(0x308)]()||[];}['toConfig'](){const _0x78d8d1=a0_0x4dc90e,_0x523984=this['getLatestDatasets'](),_0x58849d=_0x523984[_0x78d8d1(0x287)](_0xb032c8=>_0xb032c8[_0x78d8d1(0x235)]());return generateDatasetsConfig(_0x58849d,{'enableDeduplication':![]});}['toFullConfig'](){const _0x103d31=a0_0x4dc90e,_0x2e0ad7=this[_0x103d31(0x28b)](),_0xbfdbf9=_0x2e0ad7[_0x103d31(0x287)](_0x47e473=>_0x47e473[_0x103d31(0x235)]());return generateFullDatasetsConfig(_0xbfdbf9);}[a0_0x4dc90e(0x1bd)](){const _0x22c91c=a0_0x4dc90e,_0xbc5614={};for(const [_0x455655,_0x546ade]of this[_0x22c91c(0x311)]){_0xbc5614[_0x455655]=_0x546ade;}return _0xbc5614;}[a0_0x4dc90e(0x235)](){const _0xeebf3f=a0_0x4dc90e,_0x3a22ad={};for(const [_0xc6b256,_0x2b66bf]of this[_0xeebf3f(0x311)]){_0x3a22ad[_0xc6b256]=_0x2b66bf[_0xeebf3f(0x308)]()['map'](_0x38e7f8=>_0x38e7f8[_0xeebf3f(0x235)]());}return _0x3a22ad;}[a0_0x4dc90e(0x25b)](){const _0x3c8068=a0_0x4dc90e;return _0x3c8068(0x2a6)+this[_0x3c8068(0x311)][_0x3c8068(0x28f)]+'\x20groups,\x20'+(this[_0x3c8068(0x2af)]()?'has\x20conflicts':_0x3c8068(0x22d))+')';}}class DatasetList{['_datasetMap'];constructor(_0xe59749){const _0x225d76=a0_0x4dc90e;let _0x1b053e;if(Array[_0x225d76(0x220)](_0xe59749))_0x1b053e=_0xe59749;else{if(_0x225d76(0x23a)in _0xe59749){if(!_0xe59749[_0x225d76(0x23a)]||!_0xe59749['data']?.[_0x225d76(0x2e2)])throw new Error(_0x225d76(0x1d2));_0x1b053e=_0xe59749[_0x225d76(0x263)][_0x225d76(0x2e2)][_0x225d76(0x287)](_0x3e6c01=>({..._0x3e6c01,'datasetCode':_0x3e6c01[_0x225d76(0x275)]||_0x3e6c01[_0x225d76(0x297)]}));}else{if('tableData'in _0xe59749){if(!Array[_0x225d76(0x220)](_0xe59749['tableData']))throw new Error(_0x225d76(0x2a8));_0x1b053e=_0xe59749[_0x225d76(0x2e2)][_0x225d76(0x287)](_0x4235f0=>({..._0x4235f0,'datasetCode':_0x4235f0[_0x225d76(0x275)]||_0x4235f0[_0x225d76(0x297)]}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse');}}const _0x5664b6=_0x1b053e[_0x225d76(0x287)](_0x40b4fb=>new DatasetItem(_0x40b4fb));this[_0x225d76(0x1c0)]=new DatasetGroupMap(_0x5664b6);}get['datasetMap'](){return this['_datasetMap'];}['getItems'](){const _0x10ba62=a0_0x4dc90e;return this['_datasetMap'][_0x10ba62(0x28b)]();}[a0_0x4dc90e(0x1a5)](){const _0xa59c09=a0_0x4dc90e;return this['getItems']()[_0xa59c09(0x260)];}[a0_0x4dc90e(0x1e8)](){const _0x4f173c=a0_0x4dc90e;return this['_datasetMap'][_0x4f173c(0x28f)]===0x0;}[a0_0x4dc90e(0x267)](_0x4f6b58){const _0x5a7b42=a0_0x4dc90e;return this[_0x5a7b42(0x1b9)]()[_0x4f6b58];}[a0_0x4dc90e(0x2c2)](){const _0x2f322e=a0_0x4dc90e;return this[_0x2f322e(0x1b9)]()[0x0];}[a0_0x4dc90e(0x289)](){const _0x20492a=a0_0x4dc90e,_0x30018f=this[_0x20492a(0x1b9)]();return _0x30018f[_0x30018f[_0x20492a(0x260)]-0x1];}[a0_0x4dc90e(0x1ea)](_0x225d4b){const _0xf13f7b=a0_0x4dc90e;for(const _0x1434ef of this[_0xf13f7b(0x1c0)][_0xf13f7b(0x14f)]()){const _0x521dc0=_0x1434ef[_0xf13f7b(0x1ea)](_0x225d4b);if(_0x521dc0)return _0x521dc0;}return;}['findByName'](_0x430ac5){const _0x5577cb=a0_0x4dc90e;return this['getItems']()['find'](_0x290701=>_0x290701[_0x5577cb(0x20b)]===_0x430ac5);}[a0_0x4dc90e(0x29c)](_0x1f4855){const _0x4b43e7=a0_0x4dc90e;for(const _0x173a53 of this[_0x4b43e7(0x1c0)][_0x4b43e7(0x14f)]()){const _0x3437c6=_0x173a53[_0x4b43e7(0x29c)](_0x1f4855);if(_0x3437c6)return _0x3437c6;}return;}[a0_0x4dc90e(0x2ef)](_0x58e9fc){const _0x5b4efb=a0_0x4dc90e,_0x3db529=getTableKey(_0x58e9fc);return this[_0x5b4efb(0x1c0)]['getLatest'](_0x3db529);}['filter'](_0x4e974d){const _0x51b66d=a0_0x4dc90e,_0x50dc39=this[_0x51b66d(0x1b9)]()[_0x51b66d(0x29f)](_0x4e974d);return new DatasetList(_0x50dc39['map'](_0x496572=>_0x496572[_0x51b66d(0x235)]()));}[a0_0x4dc90e(0x27b)](_0x86caa0){const _0x56d47b=a0_0x4dc90e;return this[_0x56d47b(0x1b9)]()['filter'](_0x86caa0);}[a0_0x4dc90e(0x29d)](_0x1a3047){const _0x30c983=a0_0x4dc90e;this[_0x30c983(0x1b9)]()['forEach'](_0x1a3047);}[a0_0x4dc90e(0x287)](_0x2c1e00){const _0x31bd4c=a0_0x4dc90e;return this['getItems']()[_0x31bd4c(0x287)](_0x2c1e00);}[Symbol[a0_0x4dc90e(0x1c4)]](){const _0x3a9876=a0_0x4dc90e;return this[_0x3a9876(0x1b9)]()[Symbol[_0x3a9876(0x1c4)]]();}[a0_0x4dc90e(0x27a)](){const _0x186278=a0_0x4dc90e;return this[_0x186278(0x1b9)]()['filter'](_0x5b535=>_0x5b535[_0x186278(0x1f8)]());}['getRealTables'](){const _0x3d30d0=a0_0x4dc90e;return this[_0x3d30d0(0x1b9)]()[_0x3d30d0(0x29f)](_0x4ea7f6=>!_0x4ea7f6[_0x3d30d0(0x1f8)]());}[a0_0x4dc90e(0x1c6)](){const _0x3f3022=a0_0x4dc90e,_0x645e10={};for(const _0x44bef1 of this[_0x3f3022(0x1c0)]['values']()){const _0xec95f5=_0x44bef1['getLatest']()[_0x3f3022(0x30c)]();_0x645e10[_0xec95f5]=_0x44bef1[_0x3f3022(0x308)]();}return _0x645e10;}[a0_0x4dc90e(0x12c)](){const _0x50835e=a0_0x4dc90e,_0xe26a6e={};for(const _0x46d371 of this[_0x50835e(0x1c0)][_0x50835e(0x26d)]()[_0x50835e(0x14f)]()){const _0x5a4df4=_0x46d371['getLatest']()[_0x50835e(0x30c)]();_0xe26a6e[_0x5a4df4]=_0x46d371['getAll']()[_0x50835e(0x287)](_0x595d8c=>_0x595d8c[_0x50835e(0x235)]());}return{'hasConflicts':Object[_0x50835e(0x2c6)](_0xe26a6e)[_0x50835e(0x260)]>0x0,'conflicts':_0xe26a6e};}[a0_0x4dc90e(0x2af)](){const _0x2611b7=a0_0x4dc90e;return this[_0x2611b7(0x1c0)][_0x2611b7(0x2af)]();}[a0_0x4dc90e(0x24e)](){const _0xb6326f=a0_0x4dc90e,_0x65a586=[];for(const _0x20f591 of this[_0xb6326f(0x1c0)][_0xb6326f(0x26d)]()[_0xb6326f(0x14f)]()){_0x65a586[_0xb6326f(0x17a)](..._0x20f591['getAll']());}return _0x65a586;}[a0_0x4dc90e(0x1eb)](_0x1449ea){const _0x15acd7=a0_0x4dc90e;if(!_0x1449ea||Object[_0x15acd7(0x2c6)](_0x1449ea)[_0x15acd7(0x260)]===0x0)return this[_0x15acd7(0x1de)]['toConfig']();const _0x41879f=this[_0x15acd7(0x1b9)]()[_0x15acd7(0x287)](_0x4302ea=>_0x4302ea[_0x15acd7(0x235)]());return generateDatasetsConfig(_0x41879f,_0x1449ea);}['generateConfigArray'](_0x2a7e1b){const _0xb71b60=this['generateConfig'](_0x2a7e1b);return datasetsConfigToArray(_0xb71b60);}[a0_0x4dc90e(0x2bf)](){const _0x31e4c3=a0_0x4dc90e;return this[_0x31e4c3(0x1b9)]()[_0x31e4c3(0x287)](_0x36d562=>_0x36d562['toConfig']());}[a0_0x4dc90e(0x2de)](){const _0x3b8e2c=a0_0x4dc90e;return{'total':this[_0x3b8e2c(0x1a5)](),'virtualTables':this['getVirtualTables']()[_0x3b8e2c(0x260)],'realTables':this[_0x3b8e2c(0x1c2)]()[_0x3b8e2c(0x260)],'hasConflicts':this[_0x3b8e2c(0x2af)](),'conflictCount':this[_0x3b8e2c(0x24e)]()[_0x3b8e2c(0x260)]};}[a0_0x4dc90e(0x236)](){const _0x52370=a0_0x4dc90e;return this[_0x52370(0x1b9)]()[_0x52370(0x287)](_0x1773a7=>_0x1773a7[_0x52370(0x235)]());}[a0_0x4dc90e(0x235)](){const _0x2bc2f1=a0_0x4dc90e;return this[_0x2bc2f1(0x236)]();}[a0_0x4dc90e(0x25b)](){const _0x16526e=a0_0x4dc90e;return'DatasetList('+this[_0x16526e(0x1a5)]()+_0x16526e(0x2dd)+this[_0x16526e(0x1c0)]['size']+'\x20groups)';}static['fromApiResponse'](_0x9e1b9b){return new DatasetList(_0x9e1b9b);}static[a0_0x4dc90e(0x2b9)](_0x6a6426){return new DatasetList(_0x6a6426);}static[a0_0x4dc90e(0x12f)](){return new DatasetList([]);}}function operationToAnalysis(_0x5816a1){const _0x2421ad=a0_0x4dc90e;return{'name':_0x5816a1[_0x2421ad(0x294)](),'displayName':_0x5816a1[_0x2421ad(0x319)](),'type':_0x5816a1['getType'](),'method':_0x5816a1[_0x2421ad(0x251)](),'path':_0x5816a1[_0x2421ad(0x2b5)](),'fullUrl':_0x5816a1['getFullUrl'](),'requestFields':_0x5816a1[_0x2421ad(0x271)](),'requestParams':_0x5816a1[_0x2421ad(0x2b7)](),'responseSchema':_0x5816a1[_0x2421ad(0x285)](),'requestExample':_0x5816a1[_0x2421ad(0x232)](),'responseExample':_0x5816a1[_0x2421ad(0x24a)](),'enabled':_0x5816a1[_0x2421ad(0x1a0)]()};}function operationsToAnalyses(_0x535cd7){const _0x5067c0=a0_0x4dc90e;return _0x535cd7[_0x5067c0(0x287)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x4dc90e(0x2d0)];[a0_0x4dc90e(0x256)](_0x285190=![]){const _0x9a9a50=a0_0x4dc90e;if(!_0x285190&&this['_operationAnalyses'])return this['_operationAnalyses'];const _0x43ee94=this[_0x9a9a50(0x28e)]();return this['_operationAnalyses']=operationsToAnalyses(_0x43ee94),this[_0x9a9a50(0x2d0)];}[a0_0x4dc90e(0x1fb)](){return this['getFilteredOperationAnalyses']({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x4dc90e(0x2a2)](_0x2de41d={}){const _0xfcd697=a0_0x4dc90e;let _0x30fc93=this[_0xfcd697(0x256)]();return!_0x2de41d[_0xfcd697(0x16a)]&&(_0x30fc93=_0x30fc93[_0xfcd697(0x29f)](_0x372b8d=>_0x372b8d['enabled'])),_0x2de41d[_0xfcd697(0x325)]!==![]&&(_0x30fc93=filterApiOperations(_0x30fc93)),_0x2de41d[_0xfcd697(0x2ff)]&&(_0x30fc93=_0x30fc93[_0xfcd697(0x29f)](_0x2de41d[_0xfcd697(0x2ff)])),_0x30fc93=this[_0xfcd697(0x2b2)](_0x30fc93),_0x30fc93;}['sortOperationsWithFilterFirst'](_0x1133fd){const _0x1b3972=a0_0x4dc90e,_0x431554=_0x1133fd[_0x1b3972(0x30e)](_0x1283a7=>_0x1283a7[_0x1b3972(0x20b)]===_0x1b3972(0x29f)),_0x359e71=_0x1133fd[_0x1b3972(0x29f)](_0x4d1847=>_0x4d1847[_0x1b3972(0x20b)]!=='filter');return _0x431554?[_0x431554,..._0x359e71]:_0x359e71;}['getOperationAnalysis'](_0x269759){const _0x21fa35=a0_0x4dc90e,_0xccd38c=this[_0x21fa35(0x256)]();return _0xccd38c[_0x21fa35(0x30e)](_0x4c0f98=>_0x4c0f98['name']===_0x269759);}['getOperationAnalysesByType'](_0x44dfaa){const _0x12c795=a0_0x4dc90e,_0x3967a9=this[_0x12c795(0x256)]();return _0x3967a9[_0x12c795(0x29f)](_0x11e010=>_0x11e010['type']===_0x44dfaa);}[a0_0x4dc90e(0x2ac)](_0x59d539){const _0x4aa7ed=a0_0x4dc90e,_0x411aaf=this[_0x4aa7ed(0x1b6)](_0x59d539);if(!_0x411aaf)return[];const _0x2c3407=_0x411aaf[_0x4aa7ed(0x271)](),_0x228ee8=this[_0x4aa7ed(0x1f6)]();return _0x228ee8['filter'](_0x37f2cc=>_0x2c3407['includes'](_0x37f2cc[_0x4aa7ed(0x275)]));}[a0_0x4dc90e(0x31e)](_0x5070a6,_0x44a12b){const _0x160d00=a0_0x4dc90e,_0x53058c=this['getOperationAnalysis'](_0x5070a6);if(!_0x53058c)return null;const _0x496d2f=this[_0x160d00(0x1b6)](_0x53058c[_0x160d00(0x20b)]);if(!_0x496d2f)throw new Error(_0x160d00(0x1a3)+_0x53058c['name']);const _0x467c7d=this[_0x160d00(0x19d)](),_0x376029=this[_0x160d00(0x30c)](),_0x3945d8=_0x496d2f[_0x160d00(0x228)](_0x467c7d,{'useFullExample':_0x44a12b?.['useFullExample']}),_0x58c148=_0x496d2f['generateUsageExample'](_0x467c7d);return{'operation':_0x53058c,'operationInstance':_0x496d2f,'basicInfo':{'name':_0x53058c[_0x160d00(0x20b)],'displayName':_0x53058c[_0x160d00(0x20a)],'method':_0x53058c[_0x160d00(0x23c)],'path':_0x53058c['path'],'fullUrl':_0x53058c[_0x160d00(0x25d)],'enabled':_0x53058c[_0x160d00(0x2f7)]},'sdkCall':{'datasetCode':this[_0x160d00(0x297)],'modelName':_0x467c7d,'tableName':_0x376029,'operationName':_0x53058c[_0x160d00(0x20b)],'params':_0x53058c[_0x160d00(0x321)],'code':_0x3945d8},'usageExample':_0x58c148};}['getDatasetDocMeta'](_0x20f436={}){const _0xd3f856=a0_0x4dc90e,_0x38c8ef=this[_0xd3f856(0x2a2)](_0x20f436),_0x42d1aa=this[_0xd3f856(0x2de)](),_0x17eb18={'name':this['name'],'code':this[_0xd3f856(0x297)],'tableName':this[_0xd3f856(0x30c)](),'tableKey':this['getTableKey'](),'source':this['source'],'fieldCount':_0x42d1aa[_0xd3f856(0x14c)],'businessFieldCount':_0x42d1aa['businessFieldCount'],'systemFieldCount':_0x42d1aa['systemFieldCount'],'operationCount':_0x42d1aa['operationCount'],'enabledOperationCount':_0x42d1aa[_0xd3f856(0x230)]},_0x3bfc63=_0x38c8ef[_0xd3f856(0x287)](_0x5aa46f=>this[_0xd3f856(0x31e)](_0x5aa46f[_0xd3f856(0x20b)]))[_0xd3f856(0x29f)](_0x2fca98=>_0x2fca98!==null);return{'title':this[_0xd3f856(0x20b)]+'\x20API\x20文档','datasetInfo':_0x17eb18,'operations':_0x3bfc63};}[a0_0x4dc90e(0x23e)](_0x2c2575){const _0x477020=a0_0x4dc90e;return{'appCode':_0x2c2575,'tableKey':this[_0x477020(0x19d)](),'tableName':this[_0x477020(0x30c)](),'datasetCode':this[_0x477020(0x297)]};}[a0_0x4dc90e(0x188)](_0x267429){const _0x5977ea=a0_0x4dc90e,_0x572f29=[{'index':_0x5977ea(0x20b),'label':'接口名称'},{'index':_0x5977ea(0x20a),'label':'操作名称'},{'index':_0x5977ea(0x23c),'label':'方法'},{'index':_0x5977ea(0x2a3),'label':_0x5977ea(0x26e)},{'index':_0x5977ea(0x2e6),'label':'API路径'},{'index':'sdkCallCode','label':_0x5977ea(0x25a)}],_0x231cbc=_0x267429['map'](_0x271674=>{const _0x11d7e0=_0x5977ea,{basicInfo:_0x247cb7,sdkCall:_0x51b1c3}=_0x271674,_0x25aa7f=_0x51b1c3[_0x11d7e0(0x275)][_0x11d7e0(0x304)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x11d7e0(0x304)](/;$/,'');return{'displayName':_0x247cb7['displayName'],'name':_0x247cb7[_0x11d7e0(0x20b)],'method':_0x247cb7['method'],'path':_0x247cb7[_0x11d7e0(0x2e6)],'sdkCall':_0x25aa7f,'sdkCallCode':_0x51b1c3[_0x11d7e0(0x275)]};});return{'tableColumns':_0x572f29,'tableData':_0x231cbc};}['generateOperationSummary'](_0x54fa44){const _0x5c4372=a0_0x4dc90e,_0x1d1eea=this[_0x5c4372(0x1fa)](_0x54fa44);if(!_0x1d1eea)return null;return{'name':_0x1d1eea['name'],'displayName':_0x1d1eea[_0x5c4372(0x20a)],'type':_0x1d1eea[_0x5c4372(0x302)],'method':_0x1d1eea[_0x5c4372(0x23c)],'path':_0x1d1eea[_0x5c4372(0x2e6)],'enabled':_0x1d1eea[_0x5c4372(0x2f7)],'requestFieldCount':_0x1d1eea[_0x5c4372(0x321)][_0x5c4372(0x260)],'hasResponseSchema':_0x1d1eea[_0x5c4372(0x25e)]!==null};}[a0_0x4dc90e(0x210)](_0xe33330={}){const _0xe7d82b=a0_0x4dc90e,_0x42210f=this[_0xe7d82b(0x2a2)](_0xe33330);return{'datasetName':this[_0xe7d82b(0x20b)],'datasetCode':this[_0xe7d82b(0x297)],'tableName':this[_0xe7d82b(0x30c)](),'totalOperations':_0x42210f[_0xe7d82b(0x260)],'operations':_0x42210f['map'](_0x413da1=>({'name':_0x413da1['name'],'displayName':_0x413da1['displayName'],'type':_0x413da1[_0xe7d82b(0x302)],'method':_0x413da1['method'],'path':_0x413da1[_0xe7d82b(0x2e6)],'requestFieldCount':_0x413da1[_0xe7d82b(0x321)][_0xe7d82b(0x260)]}))};}[a0_0x4dc90e(0x2da)](_0x3bc08b){const _0x182687=a0_0x4dc90e,_0x21494b={};return Object[_0x182687(0x1a4)](_0x3bc08b)[_0x182687(0x29d)](([_0x8da7cd,_0x5d19d8])=>{const _0x3c3860=_0x182687;Array[_0x3c3860(0x220)](_0x5d19d8)&&_0x5d19d8[_0x3c3860(0x260)]>0x0?_0x21494b[_0x8da7cd]=_0x5d19d8[0x0]:_0x21494b[_0x8da7cd]=_0x5d19d8;}),_0x21494b;}[a0_0x4dc90e(0x2fa)](){const _0x5b7c93=a0_0x4dc90e,_0x3545f2=this[_0x5b7c93(0x256)](),_0x3f1058=_0x3545f2[_0x5b7c93(0x29f)](_0x2c80aa=>_0x2c80aa['enabled']);return{'total':_0x3545f2[_0x5b7c93(0x260)],'enabled':_0x3f1058[_0x5b7c93(0x260)],'disabled':_0x3545f2['length']-_0x3f1058['length'],'byType':this[_0x5b7c93(0x27c)](_0x3f1058),'byMethod':this[_0x5b7c93(0x219)](_0x3f1058)};}[a0_0x4dc90e(0x27c)](_0x2ae1fa){const _0x222845=a0_0x4dc90e,_0x54b588={};return _0x2ae1fa[_0x222845(0x29d)](_0x34471f=>{const _0x344d08=_0x222845;_0x34471f[_0x344d08(0x302)]&&(_0x54b588[_0x34471f[_0x344d08(0x302)]]=(_0x54b588[_0x34471f[_0x344d08(0x302)]]||0x0)+0x1);}),_0x54b588;}[a0_0x4dc90e(0x219)](_0x3d19fd){const _0x58fae8=a0_0x4dc90e,_0x5d3cbb={};return _0x3d19fd[_0x58fae8(0x29d)](_0x34dd82=>{const _0x244107=_0x58fae8;_0x5d3cbb[_0x34dd82[_0x244107(0x23c)]]=(_0x5d3cbb[_0x34dd82[_0x244107(0x23c)]]||0x0)+0x1;}),_0x5d3cbb;}['supportsCRUD'](){const _0x396ed7=a0_0x4dc90e,_0x3176e1=this[_0x396ed7(0x1fb)](),_0x1c340c=new Set(_0x3176e1['map'](_0x115d9b=>_0x115d9b[_0x396ed7(0x302)])['filter'](Boolean));return _0x1c340c['has']('create')&&_0x1c340c[_0x396ed7(0x2c0)](_0x396ed7(0x17b))&&_0x1c340c[_0x396ed7(0x2c0)]('update')&&_0x1c340c['has'](_0x396ed7(0x318));}[a0_0x4dc90e(0x2d9)](){const _0x5944a2=a0_0x4dc90e,_0x51a031=this[_0x5944a2(0x1fb)](),_0x47c736=new Set(_0x51a031['map'](_0x3fc351=>_0x3fc351['type'])[_0x5944a2(0x29f)](Boolean)),_0x85c003=[_0x5944a2(0x15f),_0x5944a2(0x17b),_0x5944a2(0x2a9),'delete'];return _0x85c003['filter'](_0x4611cf=>!_0x47c736[_0x5944a2(0x2c0)](_0x4611cf));}[a0_0x4dc90e(0x157)](_0x4ab5b9,_0x3a9a81,_0x32871e){const _0x3fdc38=a0_0x4dc90e,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=!![]}=_0x32871e||{},_0x1d8ea9=this[_0x3fdc38(0x31e)](_0x4ab5b9,{'useFullExample':includeRequestExample});if(!_0x1d8ea9)return null;let _0x1b1e77='';return _0x1b1e77+=_0x3fdc38(0x274)+_0x1d8ea9['operation'][_0x3fdc38(0x20a)]+'\x0a//\x20Call\x20the\x20'+_0x1d8ea9['operation']['name']+_0x3fdc38(0x24b)+_0x1d8ea9[_0x3fdc38(0x2a3)][_0x3fdc38(0x275)],includeUsageExample&&_0x1d8ea9[_0x3fdc38(0x168)]&&(_0x1b1e77+=_0x3fdc38(0x192)+_0x1d8ea9[_0x3fdc38(0x168)][_0x3fdc38(0x22b)]+'\x0a\x0a'+_0x1d8ea9[_0x3fdc38(0x168)][_0x3fdc38(0x2ce)]),_0x1b1e77;}['generateAllOperationsFullSDKExample'](_0x2ed973){const _0x4f643d=a0_0x4dc90e,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x2ed973||{},_0x17958e=this[_0x4f643d(0x1fb)]();return _0x17958e['map'](_0x220ec7=>this[_0x4f643d(0x157)](_0x220ec7[_0x4f643d(0x20b)],this[_0x4f643d(0x297)],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))['join']('\x0a');}[a0_0x4dc90e(0x253)](_0x22caa5,_0x336780=a0_0x4dc90e(0x21f),_0x124513=![]){const _0x3e1403=a0_0x4dc90e,_0x3ec8f0=this[_0x3e1403(0x19d)](),_0x863c6c=this['getTableName'](),_0x21a10d=this[_0x3e1403(0x297)],_0x48b0c7=_0x336780===_0x3e1403(0x200)?'\x0a\x20\x20env:\x20\x27'+_0x336780+'\x27,':'',_0x36c8a4=_0x124513?'\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,':'';return _0x3e1403(0x221)+_0x22caa5+'\x27,'+_0x36c8a4+_0x48b0c7+'\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20'+_0x3ec8f0+_0x3e1403(0x31a)+_0x863c6c+_0x3e1403(0x225)+_0x21a10d+_0x3e1403(0x2ba);}[a0_0x4dc90e(0x25b)](){const _0x5a9c07=a0_0x4dc90e,_0x7bbf72=this[_0x5a9c07(0x2fa)]();return _0x5a9c07(0x1e1)+this[_0x5a9c07(0x20b)]+',\x20'+this['datasetCode']+',\x20'+this[_0x5a9c07(0x141)]()+'\x20fields,\x20'+_0x7bbf72[_0x5a9c07(0x2f7)]+'/'+_0x7bbf72['total']+'\x20operations)';}}var VERSION=a0_0x4dc90e(0x301);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isSystemField,isRequiredField,isPrimaryKeyField,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldList,Field,FILTER_OPERATORS,DrivenDataDetailPlus,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
1
+ const a0_0x591580=a0_0x6500;(function(_0x4810cf,_0x29e275){const _0x3ba9c8=a0_0x6500,_0x24b8ab=_0x4810cf();while(!![]){try{const _0x2cfef2=-parseInt(_0x3ba9c8(0x135))/0x1*(-parseInt(_0x3ba9c8(0x173))/0x2)+-parseInt(_0x3ba9c8(0x283))/0x3+parseInt(_0x3ba9c8(0x1cb))/0x4+-parseInt(_0x3ba9c8(0x1cc))/0x5*(-parseInt(_0x3ba9c8(0x17f))/0x6)+parseInt(_0x3ba9c8(0x293))/0x7*(-parseInt(_0x3ba9c8(0x24c))/0x8)+-parseInt(_0x3ba9c8(0x21c))/0x9+-parseInt(_0x3ba9c8(0x15a))/0xa*(-parseInt(_0x3ba9c8(0x2c4))/0xb);if(_0x2cfef2===_0x29e275)break;else _0x24b8ab['push'](_0x24b8ab['shift']());}catch(_0x77230d){_0x24b8ab['push'](_0x24b8ab['shift']());}}}(a0_0x47a7,0xb4209));function toCamelCase(_0x3974f7){const _0x58e82e=a0_0x6500;if(!_0x3974f7)return'';return _0x3974f7[_0x58e82e(0x2d4)](/[_-]/)[_0x58e82e(0x133)]((_0x287c4a,_0x2611f7)=>{const _0x39ea81=_0x58e82e;if(_0x2611f7===0x0)return _0x287c4a[_0x39ea81(0x265)]();return _0x287c4a[_0x39ea81(0x11a)](0x0)[_0x39ea81(0x14d)]()+_0x287c4a[_0x39ea81(0x14f)](0x1)[_0x39ea81(0x265)]();})[_0x58e82e(0x1ad)]('');}function toPascalCase(_0x4a4078){const _0x43b2d6=a0_0x6500;if(!_0x4a4078)return'';const _0x270470=toCamelCase(_0x4a4078);return _0x270470[_0x43b2d6(0x11a)](0x0)['toUpperCase']()+_0x270470[_0x43b2d6(0x14f)](0x1);}function toSnakeCase(_0x38f405){const _0x4ea6bc=a0_0x6500;if(!_0x38f405)return'';return _0x38f405['replace'](/([A-Z])/g,_0x4ea6bc(0x2a3))['toLowerCase']()['replace'](/^_/,'');}function toKebabCase(_0x5ea4e5){const _0x407337=a0_0x6500;if(!_0x5ea4e5)return'';return _0x5ea4e5[_0x407337(0x2a0)](/([A-Z])/g,_0x407337(0x131))[_0x407337(0x265)]()['replace'](/^-/,'');}function normalizeFieldName(_0x23c419){const _0xb36651=a0_0x6500;if(!_0x23c419)return'';return _0x23c419[_0xb36651(0x185)]()[_0xb36651(0x2a0)](/\s+/g,'_')[_0xb36651(0x2a0)](/[^a-zA-Z0-9_]/g,'_')['replace'](/_+/g,'_')[_0xb36651(0x2a0)](/^_|_$/g,'');}function getTableName(_0x3fce34){const _0x3575b2=a0_0x6500;if(!_0x3fce34)return _0x3575b2(0x24a);if(_0x3fce34[_0x3575b2(0x145)]?.[_0x3575b2(0x184)])return _0x3fce34[_0x3575b2(0x145)][_0x3575b2(0x184)];const _0x55e36e=_0x3fce34['datasetCode']||_0x3fce34['code']||_0x3fce34[_0x3575b2(0x281)];if(_0x55e36e)return generateTableNameFromCode(_0x55e36e);return _0x3575b2(0x24a);}function getTableKey(_0x2a717a){if(typeof _0x2a717a==='string')return toCamelCase(_0x2a717a);const _0x343d4c=getTableName(_0x2a717a);return toCamelCase(_0x343d4c);}function generateTableNameFromCode(_0x32a42f){const _0x110da4=a0_0x6500;if(!_0x32a42f)return _0x110da4(0x24a);const _0x1fdace=_0x32a42f[_0x110da4(0x14f)](-0x6)[_0x110da4(0xda)](0x6,'0');return'dataset_'+_0x1fdace;}function isVirtualTableName(_0x37d08e){const _0x300264=a0_0x6500;return/^dataset_[a-zA-Z0-9]{6}$/[_0x300264(0x1e9)](_0x37d08e);}function generateDatasetsConfig(_0x6a8705,_0x37d2ed={}){const _0x26f722=a0_0x6500,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x297463,filter:_0x4b0f6c}=_0x37d2ed,_0x4f28d5={},_0xacea1e=new Set();for(const _0x5f4353 of _0x6a8705){if(_0x4b0f6c&&!_0x4b0f6c(_0x5f4353))continue;const _0x4cd8c2=getTableName(_0x5f4353);if(enableDeduplication&&_0xacea1e[_0x26f722(0x20c)](_0x4cd8c2)){console[_0x26f722(0x1ed)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x4cd8c2+_0x26f722(0x246)+_0x5f4353[_0x26f722(0x194)]+'\x20('+_0x5f4353[_0x26f722(0x242)]+')');continue;}_0xacea1e[_0x26f722(0x1c1)](_0x4cd8c2);const _0x5e17b2=_0x297463?_0x297463(_0x4cd8c2,_0x5f4353):getTableKey(_0x4cd8c2);_0x4f28d5[_0x5e17b2]={'key':_0x5e17b2,'tableName':_0x4cd8c2,'datasetCode':_0x5f4353[_0x26f722(0x242)],'name':_0x5f4353[_0x26f722(0x194)],'id':_0x5f4353['id']};}return _0x4f28d5;}function generateFullDatasetsConfig(_0xb83f50,_0x4dd253={}){const _0x4ad326=a0_0x6500,{filter:_0x1e375a,datasetNameGenerator:_0x27631b}=_0x4dd253,_0x11c231=_0x1e375a?_0xb83f50[_0x4ad326(0x1ae)](_0x1e375a):_0xb83f50,_0x3e6e81=groupByTableName(_0x11c231),_0x2867f0={};for(const [_0x1d601e,_0x5f5cec]of Object[_0x4ad326(0xdd)](_0x3e6e81)){if(_0x5f5cec[_0x4ad326(0x1f5)]===0x1){const _0x5168bb=_0x5f5cec[0x0],_0x102e4f=_0x27631b?_0x27631b(_0x1d601e,_0x5168bb):getTableKey(_0x1d601e);_0x2867f0[_0x102e4f]={'key':_0x102e4f,'tableName':_0x1d601e,'datasetCode':_0x5168bb[_0x4ad326(0x242)],'name':_0x5168bb[_0x4ad326(0x194)],'id':_0x5168bb['id']};}else{const _0x2f7646=[..._0x5f5cec][_0x4ad326(0x20f)]((_0x9f41e3,_0x458ad)=>{const _0x2a3fd6=Number(_0x9f41e3['id'])||0x0,_0x1fb136=Number(_0x458ad['id'])||0x0;return _0x1fb136-_0x2a3fd6;});_0x2f7646[_0x4ad326(0x1df)]((_0x54a680,_0x3a3fa3)=>{const _0x220458=_0x4ad326,_0xcba84c=_0x27631b?_0x27631b(_0x1d601e,_0x54a680):getTableKey(_0x1d601e),_0x1c5a62=_0x3a3fa3===0x0?_0xcba84c:_0xcba84c+'_'+_0x3a3fa3;_0x2867f0[_0x1c5a62]={'key':_0x1c5a62,'tableName':_0x1d601e,'datasetCode':_0x54a680[_0x220458(0x242)],'name':_0x54a680[_0x220458(0x194)],'id':_0x54a680['id']};});}}return _0x2867f0;}function detectTableNameConflicts(_0x451a00){const _0x4558c7=a0_0x6500,_0x4ccc55={};for(const _0x298028 of _0x451a00){const _0x5ed227=getTableName(_0x298028);!_0x4ccc55[_0x5ed227]&&(_0x4ccc55[_0x5ed227]=[]),_0x4ccc55[_0x5ed227][_0x4558c7(0x1ac)](_0x298028);}const _0xab5beb={};for(const [_0x2af00e,_0x45b881]of Object['entries'](_0x4ccc55)){_0x45b881[_0x4558c7(0x1f5)]>0x1&&(_0xab5beb[_0x2af00e]=_0x45b881);}return{'hasConflicts':Object[_0x4558c7(0x2dc)](_0xab5beb)[_0x4558c7(0x1f5)]>0x0,'conflicts':_0xab5beb};}function createDatasetNameMap(_0x305629){const _0x10dd5e=a0_0x6500,_0x19068e={};for(const [_0x4d841e,_0x3bbf35]of Object[_0x10dd5e(0xdd)](_0x305629)){_0x19068e[_0x4d841e]=_0x3bbf35['datasetCode']||'';}return _0x19068e;}function groupByTableName(_0x5017ae){const _0xfa0fc8=a0_0x6500,_0x525b69={};for(const _0x56ede0 of _0x5017ae){const _0x33c6e4=getTableName(_0x56ede0);!_0x525b69[_0x33c6e4]&&(_0x525b69[_0x33c6e4]=[]),_0x525b69[_0x33c6e4][_0xfa0fc8(0x1ac)](_0x56ede0);}return _0x525b69;}function datasetsConfigToArray(_0x23b487){const _0xa77ef9=a0_0x6500;return Object[_0xa77ef9(0x18a)](_0x23b487);}function adaptDrivenDataDetail(_0x420f94){const _0x199cc7=a0_0x6500;return{'id':_0x420f94[_0x199cc7(0x1a5)],'name':_0x420f94[_0x199cc7(0x194)],'datasetCode':_0x420f94[_0x199cc7(0x281)],'dbtableConfig':_0x420f94[_0x199cc7(0x145)],'source':_0x420f94[_0x199cc7(0x297)],'version':_0x420f94[_0x199cc7(0x28e)],'extend':_0x420f94['extend'],'properties':_0x420f94[_0x199cc7(0x2bf)],'operations':_0x420f94['operations']};}function adaptDrivenDataDetails(_0x186462){return _0x186462['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x3e6d80){const _0x3fc5b7=a0_0x6500;if(!_0x3e6d80[_0x3fc5b7(0x10b)]||!_0x3e6d80[_0x3fc5b7(0x220)])throw new Error(_0x3fc5b7(0x27b)+(_0x3e6d80[_0x3fc5b7(0xf7)]||_0x3e6d80[_0x3fc5b7(0x2c6)]));return adaptDrivenDataDetail(_0x3e6d80['data']);}function extractDatasetsFromListResponse(_0x56b05c){const _0xca08de=a0_0x6500;if(!_0x56b05c[_0xca08de(0x10b)]||!_0x56b05c[_0xca08de(0x220)]?.[_0xca08de(0x2bb)])throw new Error(_0xca08de(0x111)+(_0x56b05c[_0xca08de(0xf7)]||_0x56b05c[_0xca08de(0x2c6)]));return _0x56b05c['data'][_0xca08de(0x2bb)][_0xca08de(0x133)](_0x15e66f=>({..._0x15e66f,'datasetCode':_0x15e66f[_0xca08de(0x216)]||_0x15e66f['datasetCode']}));}function isDrivenDataDetail(_0x58f704){const _0x47256d=a0_0x6500;return Boolean(_0x58f704&&typeof _0x58f704[_0x47256d(0x281)]===_0x47256d(0x222));}function smartAdapt(_0x3a26fa){const _0x5dec8f=a0_0x6500;if(isDrivenDataDetail(_0x3a26fa))return adaptDrivenDataDetail(_0x3a26fa);if(_0x3a26fa[_0x5dec8f(0x242)])return _0x3a26fa;if(_0x3a26fa[_0x5dec8f(0x216)])return{..._0x3a26fa,'datasetCode':_0x3a26fa['code']};return _0x3a26fa;}function a0_0x47a7(){const _0x12b74b=['getFieldRaw','OperationList(','sortOperationsWithFilterFirst','value2','dbType','getRequiredFields','push','join','filter','getAllFieldsArray','\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20','getDatabaseVersion','getEnabled','示例文本','[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getField','_fields','\x20Response\x20example:\x0a','params','GET_FILE_URL','IMPORT_TEMPLATE','generateExampleValue','user@example.com','getDisabledOperationInstances','\x20groups)','getFieldFilterOperators','VARCHAR','add','const\x20fileUrl\x20=\x20await\x20client.models.','generateFieldExample','getDatabaseType','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','hasConflict','isOperationEnabled','groupByType','getOperators','parseFieldExtend','296240Epozzr','70gkVusX','now','from','datasetMap','getFilterOperation','isEnum','isAutoIncrement','$lteq','type','fields','getAppCode','创建导入','getOperationCount','({\x20code,\x20label\x20});','getEnumFieldMeta','modifierNameField','hasCreatorIdField','value1','labelField','forEach','getDatabaseName','getCount','getPath',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','const\x20result\x20=\x20await\x20client.models.','allFields','getBusinessFields','getEnum','email','test','[Field]\x20Invalid\x20field\x20definition','getSystemFields','0000','warn','createExport','$ne','$gte','DatasetItem(','some','BOOL','getFiltered','length','1.0.0-beta.8','TEXT','完整的\x20SDK\x20调用代码','getRaw','https://example.com/image.jpg','(id,\x20data);','isSystemField','示例值','getModelName','dblinkInfoDTO','getActive','get','findByTableName','每页数量','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','stringify','parseRawResponseBody','importTemplate','requestBody','getOperationAnalysesByType','field_name','description','has','支持多个条件','长文本','sort','DECIMAL','DrivenDataDetail(','getTableName','isOperatorApplicableToField','createTimeField','value','code','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','logicField','includes','extend','update','13268934nJYXbl','fieldName','getFilterOperators','NUMBER','data','单值查询','string','getOperationList','getOperationStats','富文本','generateSDKInitCode','getCountByType','deleted','getOperationFieldOperators','toString','host','systemAnalysisResult','includeDisabled','操作名称','getSystemAnalysisResult','GET_ONE_UPDATE','\x0a\x20\x20env:\x20\x27','解析\x20responseBody\x20失败:','hasField','GET_ONE','getSelectOptions','getDefaultValue','children','set','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','\x20items,\x20conflict,\x20latest:\x20','(params);','getOperationCountByMethod','getIds','delete','successCode','tenantCode','dbVersion','datasetCode','all','appCode','getEnabledOperationInstances','\x22,数据集:\x20','usageExample','createDate','operation','dataset_000000','查询单条(原始)','104HUDWgT','empty','hasTableName','_datasetMap','generateOperationSummary','getConflictStats','[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:','getConflicts','includeDeleted','isSystem','hasFilterOperation','where','getOldest','请求示例','getOperations','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','$and','getOperationAnalyses','getBusiness','pageSize','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','initDataset','datasetKey','displayName','sdkCallCode','toLowerCase','businessFieldCount','no\x20conflicts','toArray','({\x20','tooltip','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','\x0a//\x20Call\x20the\x20','isRequired','isMultipleSelect','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','UPDATE','$in','parseRawRequestBody','createAll','getOneOrigin','hasUpdateTimeField','iterator','operations','导入模板','getDeleted','every','获取数据集失败:\x20','DATE','generateResponseExample','(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容','`:\x20','label','modelCode','toConfig','3938958WLcIRd','getFullUrl','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','errorCode','getFileUrl','getTableKey','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','generateAllOperationsSummary','_operationList','isPrimaryKey','find','version','total','_fieldList','number','method','420301ovunqM','toConfigArray','查询单条(用于更新)','_operations','source','excelExport','getTooltip','valueLabels','getFields','getFieldList','RADIO','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:',':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','replace','filterBlacklist','responseExample','_$1','createImport','getOperationDocMeta','getTenantCode','suffix','文件上传','getAll','查询列表','generateRequestAllExamples','defaultValue','daily','pkField','findById','generateUsageExample','API路径','query','select','getAt','generateSingleValueExample','-\x20`','validateEnumValue','getOperationRequestFields','raw','isArray','tableData','isPrimaryKeyField','getSystem','$endWith','properties','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','keyword','$startWith','CREATE_EXPORT','26391409rqZGJX','_fieldListWithDeleted','msg','getFieldsByType','create','item1','createTime','getFieldDefinition','creatorNameField','placeholder','getOne','getDisabled','getFieldOperators','getOperationOperators','Integer','generateFullSDKExample','split','();\x0a\x0a//\x20按条件导出(支持与\x20getList\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','boolean','getDisplayName','GET_ONE_ORIGIN','context','getCountByMethod','isBusiness','keys','getAllDatasets','getRequired','getMethod','_raw','findAll','JSON','_operationAnalyses','2024-12-31','getExtendField','isDeleted','getItems','getUploadFileScript','padStart','updateTimeField','DatasetGroup(','entries','required','fromApiResponse','withDeleted','Excel导出','isEnabled','customFilter','path','北京市朝阳区','toListItem','generateSDKCallCode','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','object','sdkCall','isVirtualTable','getUpdateTime','options','detectConflicts','getFirst','解析\x20requestBody\x20失败:','时间戳','systemRetain','({\x20/*\x20可选:筛选条件\x20*/\x20});','String[]','hasModifierIdField','(支持单值或数组)','errorMsg','String','getOperation','getAutoIncrement','ensureFilterOperation','address','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','getDisabledOperations','$contain','repeat','getEnumMetas','EXCEL_EXPORT','getName','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','creatorIdField','\x20operations)','支持单值或数组','$eq','multiple','dbId','success','getMissingCRUDOperations','hasOperation','hasDblinkInfo','modifierIdField','Number','获取数据集列表失败:\x20','BOOLEAN','[parseFieldExtend]\x20Invalid\x20field:','hasLogicField','getOperationFieldsOperatorsMap','当前页码','2024-01-01','获取下拉选项','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','charAt','selectBestOperator','<p>富文本内容</p>','getPrimaryKeys','getRequestFields','isRequiredField','({\x20currentPage,\x20pageSize\x20});','Operation\x20instance\x20not\x20found:\x20','getEnabledNames','getSelectItemsSource','BIGINT','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','requestFields','items','getSource','hasCreateTimeField','$lte','toISOString','getFieldOptions','(id,\x20','\x20items,\x20','200','useFullExample','-$1','$or','map','日期时间','1741inwBIe','min','getPrimaryKeyFields','getConflictingItems','DESC','supportsCRUD','_extend','selectItemsSource','getType','getFieldInstance','CHECKBOX','findByCode','获取上传脚本','\x20operation\x0a','groups','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','dbtableConfig','generateFromSchema','substring','getLatestDatasets','SDK\x20调用','DatasetList(','getFilteredOperationAnalyses','TIMESTAMP','toUpperCase','getSDKInitData','slice','查询单个条件',',\x20fields:\x20','getEnumMeta','findByName','\x0a\x0a//\x20','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','getResponseSchema','hasConflicts','currentPage','10EgsXge','isEmpty','Object','DATETIME','Filter\x20API\x20-\x20高级查询接口','getFieldSelectItemsSource','getDisabledNames','$gteq','getList','POST','操作成功','getNames','online','array','getStats','fieldCount','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','getOperationCountByType','getApplicableOperators','status','getRawDbtableConfig','getEnumFields','null','(...);\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}','INTEGER','1362WromXg','getOneUpdate','getFieldCount','has\x20conflicts','getEnabledOperations','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse','isCreateTime','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27','/filter','enabled','toFullConfig','getRequestParams','277188ASxQGp','isMultipleSelectField','size','responseBody','GET_SELECT_OPTIONS','tableName','trim','getOperationAnalysis','系统自动生成','getLast','STRING','values','getRealTables','这是一段较长的文本内容示例','\x20的\x20extend\x20配置失败:','字段名称','getOperationsOverviewData','item2','https://example.com/file.pdf','generateRequestExample','systemFieldCount','name','primaryKey','prefix','DrivenDataDetailPlus(','getLatest','[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array','isUpdateTime','generateDefaultFilterOperation','responseSchema','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','groupByTableName','isEnumField','getEnabledOperationAnalyses','getEnumOptions','parse','fullUrl','toJSON','modelId'];a0_0x47a7=function(){return _0x12b74b;};return a0_0x47a7();}var DatasetOperationType;(_0x412772=>{const _0x483736=a0_0x6500;_0x412772['GET_LIST']='getList',_0x412772[_0x483736(0x234)]=_0x483736(0x2ce),_0x412772[_0x483736(0x2d8)]=_0x483736(0x274),_0x412772[_0x483736(0x230)]='getOneUpdate',_0x412772['CREATE']=_0x483736(0x2c8),_0x412772[_0x483736(0x270)]=_0x483736(0x21b),_0x412772['DELETE']=_0x483736(0x23e),_0x412772[_0x483736(0x183)]=_0x483736(0x235),_0x412772[_0x483736(0x1b9)]='getFileUrl',_0x412772[_0x483736(0x102)]=_0x483736(0x298),_0x412772['GET_UPLOAD_FILE_SCRIPT']=_0x483736(0xd9),_0x412772['CREATE_IMPORT']=_0x483736(0x2a4),_0x412772[_0x483736(0x2c3)]=_0x483736(0x1ee),_0x412772['TASK_INFO']='taskInfo',_0x412772[_0x483736(0x1ba)]=_0x483736(0x207);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={['getList']:a0_0x591580(0x2aa),[a0_0x591580(0x2ce)]:'查询单条',['getOneOrigin']:a0_0x591580(0x24b),[a0_0x591580(0x174)]:a0_0x591580(0x295),[a0_0x591580(0x2c8)]:'创建',['update']:'更新',[a0_0x591580(0x23e)]:'删除',[a0_0x591580(0x235)]:a0_0x591580(0x118),[a0_0x591580(0x287)]:'获取文件URL',[a0_0x591580(0x298)]:a0_0x591580(0xe1),[a0_0x591580(0xd9)]:a0_0x591580(0x141),[a0_0x591580(0x2a4)]:a0_0x591580(0x1d7),['createExport']:'创建导出',['taskInfo']:'任务信息',['importTemplate']:a0_0x591580(0x278)},API_BLACKLIST=[a0_0x591580(0x274),a0_0x591580(0x174),'getFileUrl'];function parseFieldExtend(_0x5ebfae){const _0x168b7e=a0_0x591580;if(!_0x5ebfae||typeof _0x5ebfae!=='object')return!![]&&console[_0x168b7e(0x1ed)](_0x168b7e(0x113),_0x5ebfae),{};if(!_0x5ebfae[_0x168b7e(0x21a)])return{};try{const _0x2a7a20=typeof _0x5ebfae[_0x168b7e(0x21a)]===_0x168b7e(0x222)?JSON[_0x168b7e(0x1a2)](_0x5ebfae[_0x168b7e(0x21a)]):_0x5ebfae[_0x168b7e(0x21a)];if(typeof _0x2a7a20!==_0x168b7e(0xe9)||_0x2a7a20===null)return{};return _0x2a7a20;}catch(_0x4669a7){return{};}}function a0_0x6500(_0x2098a3,_0x1f808d){const _0x47a74a=a0_0x47a7();return a0_0x6500=function(_0x6500ab,_0x255df9){_0x6500ab=_0x6500ab-0xd0;let _0x50e71e=_0x47a74a[_0x6500ab];return _0x50e71e;},a0_0x6500(_0x2098a3,_0x1f808d);}function isPrimaryKeyField(_0x5db60f,_0x44bae8){const _0x441766=a0_0x591580;if(!_0x5db60f||typeof _0x5db60f!==_0x441766(0xe9))return![];if(typeof _0x44bae8===_0x441766(0x222)&&_0x5db60f[_0x441766(0x216)]===_0x44bae8)return!![];const _0x56533c=parseFieldExtend(_0x5db60f);return Boolean(_0x56533c[_0x441766(0x195)]||_0x56533c[_0x441766(0x2ae)]);}function isSystemField(_0x2a6850){const _0x9ad11f=a0_0x591580,_0x4346b0=parseFieldExtend(_0x2a6850);return Boolean(_0x4346b0[_0x9ad11f(0xf2)]);}function isRequiredField(_0x29853f){const _0x1f2913=a0_0x591580,_0x4adb54=parseFieldExtend(_0x29853f);return Boolean(_0x4adb54[_0x1f2913(0xde)]);}function isAutoIncrementField(_0x26071d){const _0x379a20=parseFieldExtend(_0x26071d);return Boolean(_0x379a20['autoIncrement']);}function isCreateTimeField(_0x48fb8b){const _0x1ff935=a0_0x591580,_0x167d22=parseFieldExtend(_0x48fb8b);return Boolean(_0x167d22[_0x1ff935(0x248)]);}function isModifyTimeField(_0x254650){const _0x10ed8b=parseFieldExtend(_0x254650);return Boolean(_0x10ed8b['modifyDate']);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':a0_0x591580(0x20e),'DATE':'日期','DATETIME':a0_0x591580(0x134),'TIMESTAMP':a0_0x591580(0xf1),'SELECT':'下拉选择','CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0x591580(0x2a8),'IMAGE':'图片','RICH_TEXT':a0_0x591580(0x225),'JSON':a0_0x591580(0xd3),'ARRAY':'数组'};function getDbTypeDisplay(_0x36fd84){const _0x2c603f=a0_0x591580;if(typeof _0x36fd84!==_0x2c603f(0x222))return!![]&&console[_0x2c603f(0x1ed)](_0x2c603f(0x26b),_0x36fd84),String(_0x36fd84||'-');return DB_TYPE_DISPLAY_MAP[_0x36fd84]||_0x36fd84;}function formatDbType(_0xc1f302,_0x1d82a8){const _0x5afe42=a0_0x591580;if(!_0xc1f302||typeof _0xc1f302!==_0x5afe42(0x222))return'-';if(!_0x1d82a8||typeof _0x1d82a8!=='number')return _0xc1f302;const _0x25240f=[_0x5afe42(0x1f7),'DATETIME','TIMESTAMP',_0x5afe42(0x27c)];if(_0x25240f['includes'](_0xc1f302[_0x5afe42(0x14d)]()))return _0xc1f302;return _0xc1f302+'('+_0x1d82a8+')';}function parseOperationType(_0x8b496b){const _0x143c33=a0_0x591580;if(typeof _0x8b496b!=='string'){!![]&&console[_0x143c33(0x1ed)]('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x8b496b);return;}if(Object[_0x143c33(0x18a)](DatasetOperationType)[_0x143c33(0x219)](_0x8b496b))return _0x8b496b;const _0x511dca=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)[_0x143c33(0x28d)](([_0x2459b9,_0xfced49])=>_0xfced49===_0x8b496b);return _0x511dca?_0x511dca[0x0]:undefined;}function shouldIncludeField(_0x14145e,_0x1d2bde,_0x45794d){const _0x4ab616=a0_0x591580,_0x2740b6=parseFieldExtend(_0x14145e),_0xdcd3b6=isPrimaryKeyField(_0x14145e,_0x45794d),_0x2c8f9b=Boolean(_0x2740b6[_0x4ab616(0xf2)]),_0x396df4=Boolean(_0x2740b6['autoIncrement']),_0x3f3d7a=Boolean(_0x2740b6[_0x4ab616(0x248)]),_0x177f1a=Boolean(_0x2740b6['modifyDate']);switch(_0x1d2bde){case _0x4ab616(0x162):return!![];case _0x4ab616(0x2ce):case'getOneOrigin':case _0x4ab616(0x23e):return _0xdcd3b6;case _0x4ab616(0x2c8):if(_0xdcd3b6&&_0x396df4)return![];if(_0x2c8f9b)return![];if(_0x3f3d7a||_0x177f1a)return![];return!![];case'update':case _0x4ab616(0x174):if(_0xdcd3b6)return!![];if(_0x2c8f9b)return![];if(_0x3f3d7a||_0x177f1a)return![];return!![];case'getSelectOptions':return _0x14145e[_0x4ab616(0x216)]===_0x4ab616(0x216);default:return!![];}}function getFieldsForOperation(_0x13e47f,_0x19e839,_0x3fcf77){const _0x3f2300=a0_0x591580;if(!Array['isArray'](_0x13e47f))return!![]&&console['warn'](_0x3f2300(0x217),_0x13e47f),[];return _0x13e47f[_0x3f2300(0x1ae)](_0x3b2fd9=>shouldIncludeField(_0x3b2fd9,_0x19e839,_0x3fcf77));}function isApiBlacklisted(_0x12d036){const _0x42381c=a0_0x591580;if(typeof _0x12d036!==_0x42381c(0x222))return!![]&&console['warn'](_0x42381c(0x26f),_0x12d036),![];return API_BLACKLIST['includes'](_0x12d036);}function filterApiOperations(_0x4412c5){const _0xdc9cd5=a0_0x591580;if(!Array[_0xdc9cd5(0x2ba)](_0x4412c5))return!![]&&console[_0xdc9cd5(0x1ed)](_0xdc9cd5(0x1c5),_0x4412c5),[];return _0x4412c5[_0xdc9cd5(0x1ae)](_0x6f5ab9=>_0x6f5ab9&&typeof _0x6f5ab9===_0xdc9cd5(0xe9)&&!isApiBlacklisted(_0x6f5ab9[_0xdc9cd5(0x194)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x591580(0x1cd)](),'DATE':()=>Date[a0_0x591580(0x1cd)](),'SELECT':({fieldInfo:_0x4c70c9})=>{const _0x2b3800=a0_0x591580;if(_0x4c70c9?.[_0x2b3800(0xed)]&&Array[_0x2b3800(0x2ba)](_0x4c70c9[_0x2b3800(0xed)])&&_0x4c70c9[_0x2b3800(0xed)][_0x2b3800(0x1f5)]>0x0)return _0x4c70c9[_0x2b3800(0xed)][0x0][_0x2b3800(0x215)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x1efb7d})=>{if(_0x1efb7d==='currentPage')return 0x1;if(_0x1efb7d==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x30118a})=>{const _0x248922=a0_0x591580;if(_0x30118a&&typeof _0x30118a===_0x248922(0x222)){const _0x504379=_0x30118a[_0x248922(0x265)]();if(_0x504379[_0x248922(0x219)]('邮箱')||_0x504379[_0x248922(0x219)](_0x248922(0x1e8)))return _0x248922(0x1bc);if(_0x504379[_0x248922(0x219)]('电话')||_0x504379[_0x248922(0x219)]('手机')||_0x504379['includes']('phone'))return'13800138000';if(_0x504379[_0x248922(0x219)]('地址')||_0x504379[_0x248922(0x219)](_0x248922(0xfc)))return _0x248922(0xe5);if(_0x504379[_0x248922(0x219)]('姓名')||_0x504379[_0x248922(0x219)](_0x248922(0x194)))return'张三';}return _0x248922(0x1b3);},'VARCHAR':({description:_0x114c21})=>TYPE_VALUE_GENERATORS[a0_0x591580(0x1f7)]({'description':_0x114c21}),'CHAR':({description:_0x3a0f09})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x3a0f09}),'STRING':({fieldInfo:_0x5f25c8,description:_0x2b99ed})=>{const _0x26a460=a0_0x591580;if(_0x5f25c8?.[_0x26a460(0x2cd)]&&typeof _0x5f25c8[_0x26a460(0x2cd)]===_0x26a460(0x222)&&_0x5f25c8[_0x26a460(0x2cd)]!==_0x26a460(0x187))return _0x5f25c8['placeholder'][_0x26a460(0x2a0)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x26a460(0x1f7)]({'description':_0x2b99ed});},'TEXTAREA':()=>a0_0x591580(0x18c),'LONGTEXT':()=>a0_0x591580(0x18c),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x591580(0x215)}),'ARRAY':()=>[a0_0x591580(0x2c9),a0_0x591580(0x190)],'UPLOAD':()=>a0_0x591580(0x191),'IMAGE':()=>a0_0x591580(0x1fa),'RICH_TEXT':()=>a0_0x591580(0x11c)};function generateExampleValue(_0x7d201c,_0x4dd8eb,_0x4591b5,_0xd352b0={}){const _0x2fe123=a0_0x591580;typeof _0x7d201c!==_0x2fe123(0x222)&&(!![]&&console[_0x2fe123(0x1ed)](_0x2fe123(0x239),_0x7d201c),_0x7d201c=String(_0x7d201c||''));if(typeof _0x4dd8eb!==_0x2fe123(0x222))return!![]&&console[_0x2fe123(0x1ed)](_0x2fe123(0xfd),_0x4dd8eb),_0x2fe123(0x1fd);const {isPrimaryKey:_0x20e74f,dbtableConfig:_0x3e34d8}=_0xd352b0;if(_0x20e74f)return 0x1;if(_0x3e34d8&&typeof _0x3e34d8==='object'){const _0x284ead=_0x3e34d8['createTimeField']?.[_0x2fe123(0x21d)]===_0x7d201c,_0x54423c=_0x3e34d8['updateTimeField']?.[_0x2fe123(0x21d)]===_0x7d201c;if(_0x284ead||_0x54423c){if(_0x4591b5&&typeof _0x4591b5===_0x2fe123(0x222)&&_0x4591b5[_0x2fe123(0x14d)]()['includes'](_0x2fe123(0x14c)))return Date[_0x2fe123(0x1cd)]();return new Date()[_0x2fe123(0x12b)]()[_0x2fe123(0x2a0)]('T','\x20')[_0x2fe123(0x2d4)]('.')[0x0];}}const _0x1c47e1={..._0xd352b0,'fieldCode':_0x7d201c};if(_0x4591b5&&typeof _0x4591b5==='string'){const _0x1937a1=_0x4591b5['toUpperCase'](),_0x30a2d0=TYPE_VALUE_GENERATORS[_0x1937a1];if(_0x30a2d0)return _0x30a2d0(_0x1c47e1);}if(_0x4dd8eb&&typeof _0x4dd8eb==='string'){const _0x13525a=_0x4dd8eb[_0x2fe123(0x14d)](),_0x3ab5d7=TYPE_VALUE_GENERATORS[_0x13525a];if(_0x3ab5d7)return _0x3ab5d7(_0x1c47e1);}return _0x2fe123(0x1fd);}function generateExampleFromSchema(_0x2ea6f9,_0x565dbb){const _0x38bd88=a0_0x591580;if(!_0x2ea6f9||typeof _0x2ea6f9!=='object')return{};if(Array[_0x38bd88(0x2ba)](_0x2ea6f9)){if(_0x2ea6f9[_0x38bd88(0x1f5)]>0x0)return[generateExampleFromSchema(_0x2ea6f9[0x0],_0x565dbb)];return[];}const _0x1f54be={};return Object[_0x38bd88(0x2dc)](_0x2ea6f9)['forEach'](_0x466693=>{const _0x3b6e0f=_0x38bd88,_0x1880b9=_0x2ea6f9[_0x466693];if(_0x1880b9&&typeof _0x1880b9===_0x3b6e0f(0xe9)&&!Array[_0x3b6e0f(0x2ba)](_0x1880b9)&&_0x1880b9[_0x3b6e0f(0x1d4)]){const _0x35b3b1=_0x1880b9,_0x50f769=_0x35b3b1[_0x3b6e0f(0x1d4)],_0x34ab5c=_0x35b3b1[_0x3b6e0f(0x20b)];typeof _0x50f769==='string'?_0x1f54be[_0x466693]=generateExampleValue(_0x466693,_0x50f769,undefined,{'description':_0x34ab5c,'dbtableConfig':_0x565dbb}):_0x1f54be[_0x466693]=_0x3b6e0f(0x1fd);}else{if(Array[_0x3b6e0f(0x2ba)](_0x1880b9))_0x1f54be[_0x466693]=_0x1880b9[_0x3b6e0f(0x1f5)]>0x0?[generateExampleFromSchema(_0x1880b9[0x0],_0x565dbb)]:[];else _0x1880b9&&typeof _0x1880b9===_0x3b6e0f(0xe9)?_0x1f54be[_0x466693]=generateExampleFromSchema(_0x1880b9,_0x565dbb):_0x1f54be[_0x466693]=_0x1880b9;}}),_0x1f54be;}function parseRequestBody(_0xe64b50){const _0x4dcef1=a0_0x591580;if(!_0xe64b50)return{};try{return JSON[_0x4dcef1(0x1a2)](_0xe64b50);}catch(_0x4634e4){return!![]&&console[_0x4dcef1(0x1ed)](_0x4dcef1(0xf0),_0x4634e4),{};}}function parseResponseBody(_0x4bbe03){const _0x330a6e=a0_0x591580;if(!_0x4bbe03)return null;try{const _0x4e0c3c=JSON[_0x330a6e(0x1a2)](_0x4bbe03);return _0x4e0c3c[_0x330a6e(0x12f)]||_0x4e0c3c;}catch(_0x3ca42b){return!![]&&console[_0x330a6e(0x1ed)](_0x330a6e(0x232),_0x3ca42b),null;}}function generateRequestExample(_0x22cf6f,_0x51667b,_0x99c1eb,_0x38bed3){const _0x18a7af=a0_0x591580,_0x8ddeb5={};if(!Array[_0x18a7af(0x2ba)](_0x22cf6f))return!![]&&console[_0x18a7af(0x1ed)](_0x18a7af(0x156),_0x22cf6f),_0x8ddeb5;return _0x22cf6f[_0x18a7af(0x1df)](_0x2c4590=>{const _0x153fc5=_0x18a7af;if(!_0x2c4590||typeof _0x2c4590!==_0x153fc5(0xe9)){!![]&&console[_0x153fc5(0x1ed)]('[generateRequestExample]\x20Invalid\x20field:',_0x2c4590);return;}if(typeof _0x2c4590[_0x153fc5(0x216)]!==_0x153fc5(0x222)||typeof _0x2c4590[_0x153fc5(0x1d4)]!=='string'){!![]&&console['warn'](_0x153fc5(0x104),_0x2c4590);return;}const _0x19e022=parseFieldExtend(_0x2c4590),_0x575a9c=_0x2c4590[_0x153fc5(0x216)]===_0x99c1eb||Boolean(_0x19e022?.[_0x153fc5(0x195)]),_0x42d5eb=generateExampleValue(_0x2c4590['code'],_0x2c4590['type'],typeof _0x2c4590[_0x153fc5(0x1aa)]===_0x153fc5(0x222)?_0x2c4590[_0x153fc5(0x1aa)]:undefined,{'fieldInfo':_0x19e022,'isPrimaryKey':_0x575a9c,'description':_0x2c4590[_0x153fc5(0x20b)]||_0x2c4590[_0x153fc5(0x194)],'dbtableConfig':_0x38bed3});_0x8ddeb5[_0x2c4590['code']]=_0x42d5eb;}),_0x51667b===_0x18a7af(0x162)&&(_0x8ddeb5[_0x18a7af(0x159)]=0x1,_0x8ddeb5[_0x18a7af(0x25f)]=0xa),_0x8ddeb5;}function formatEnumValue(_0xa1aef6,_0x220e2a){const _0x11837d=a0_0x591580;if(_0xa1aef6['multiple']&&Array[_0x11837d(0x2ba)](_0x220e2a))return _0x220e2a[_0x11837d(0x133)](_0xc10bc4=>_0xa1aef6[_0x11837d(0x29a)][String(_0xc10bc4)]||String(_0xc10bc4))['join'](',\x20');return _0xa1aef6['valueLabels'][String(_0x220e2a)]||String(_0x220e2a);}function formatOptionsForDoc(_0x5aa604){const _0x359219=a0_0x591580;return _0x5aa604[_0x359219(0x133)](_0x56cfd5=>_0x56cfd5[_0x359219(0x215)]+'('+_0x56cfd5['label']+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x487314,_0x25580c=0x0){const _0x1b8ca5=a0_0x591580,_0x1d3c6b='\x20\x20'[_0x1b8ca5(0x100)](_0x25580c),_0xb58020=[];return _0x487314[_0x1b8ca5(0x1df)](_0x202808=>{const _0x27eee2=_0x1b8ca5;_0xb58020['push'](_0x1d3c6b+_0x27eee2(0x2b6)+_0x202808[_0x27eee2(0x215)]+_0x27eee2(0x27f)+_0x202808[_0x27eee2(0x280)]),_0x202808[_0x27eee2(0x237)]&&_0x202808[_0x27eee2(0x237)][_0x27eee2(0x1f5)]>0x0&&_0xb58020['push'](formatOptionsAsMarkdownList(_0x202808['children'],_0x25580c+0x1));}),_0xb58020['join']('\x0a');}class DbtableConfig{[a0_0x591580(0xd1)];constructor(_0x38da3b){const _0x596a19=a0_0x591580;this[_0x596a19(0xd1)]={..._0x38da3b};}get[a0_0x591580(0x10a)](){const _0x59e7d4=a0_0x591580;return this[_0x59e7d4(0xd1)][_0x59e7d4(0x10a)];}get[a0_0x591580(0x184)](){const _0x4f73ff=a0_0x591580;return this[_0x4f73ff(0xd1)][_0x4f73ff(0x184)];}get[a0_0x591580(0x262)](){const _0x13469f=a0_0x591580;return this[_0x13469f(0xd1)][_0x13469f(0x262)];}get['pkField'](){const _0x1030b1=a0_0x591580;return this[_0x1030b1(0xd1)]['pkField'];}get[a0_0x591580(0x1de)](){const _0x3cd2a9=a0_0x591580;return this[_0x3cd2a9(0xd1)][_0x3cd2a9(0x1de)];}get[a0_0x591580(0x218)](){const _0x4dd595=a0_0x591580;return this[_0x4dd595(0xd1)][_0x4dd595(0x218)];}get[a0_0x591580(0x214)](){const _0x19fd9a=a0_0x591580;return this[_0x19fd9a(0xd1)][_0x19fd9a(0x214)];}get[a0_0x591580(0xdb)](){const _0x1e023b=a0_0x591580;return this[_0x1e023b(0xd1)][_0x1e023b(0xdb)];}get['creatorIdField'](){const _0x11c4e6=a0_0x591580;return this[_0x11c4e6(0xd1)][_0x11c4e6(0x105)];}get[a0_0x591580(0x2cc)](){const _0x2eb358=a0_0x591580;return this[_0x2eb358(0xd1)]['creatorNameField'];}get[a0_0x591580(0x10f)](){return this['_raw']['modifierIdField'];}get[a0_0x591580(0x1db)](){const _0x80aa6d=a0_0x591580;return this[_0x80aa6d(0xd1)]['modifierNameField'];}get[a0_0x591580(0x1ff)](){const _0x2e114c=a0_0x591580;return this[_0x2e114c(0xd1)][_0x2e114c(0x1ff)];}[a0_0x591580(0x1af)](){const _0x233a6b=a0_0x591580;if(!this[_0x233a6b(0xd1)][_0x233a6b(0x1e5)])return[];return this[_0x233a6b(0xd1)][_0x233a6b(0x1e5)][_0x233a6b(0x2d4)](',')[_0x233a6b(0x133)](_0x1fcad5=>_0x1fcad5[_0x233a6b(0x185)]())[_0x233a6b(0x1ae)](Boolean);}['getAllFieldsString'](){const _0x56a577=a0_0x591580;return this['_raw'][_0x56a577(0x1e5)];}[a0_0x591580(0x233)](_0x363560){const _0x188d03=a0_0x591580;return this[_0x188d03(0x1af)]()[_0x188d03(0x219)](_0x363560);}['hasTableName'](){const _0x13f532=a0_0x591580;return Boolean(this[_0x13f532(0xd1)][_0x13f532(0x184)]);}['hasDblinkInfo'](){const _0x448b6a=a0_0x591580;return Boolean(this[_0x448b6a(0xd1)][_0x448b6a(0x1ff)]);}[a0_0x591580(0x114)](){const _0x53a637=a0_0x591580;return Boolean(this[_0x53a637(0xd1)][_0x53a637(0x218)]?.['fieldName']);}[a0_0x591580(0x129)](){const _0x3dfe69=a0_0x591580;return Boolean(this['_raw'][_0x3dfe69(0x214)]?.['fieldName']);}[a0_0x591580(0x275)](){const _0x2a81e3=a0_0x591580;return Boolean(this[_0x2a81e3(0xd1)]['updateTimeField']?.[_0x2a81e3(0x21d)]);}[a0_0x591580(0x1dc)](){const _0x158c64=a0_0x591580;return Boolean(this[_0x158c64(0xd1)][_0x158c64(0x105)]?.[_0x158c64(0x21d)]);}[a0_0x591580(0xf5)](){const _0x3a70dd=a0_0x591580;return Boolean(this[_0x3a70dd(0xd1)][_0x3a70dd(0x10f)]?.[_0x3a70dd(0x21d)]);}['isPrimaryKeyField'](_0x3b001c){const _0x12d4cd=a0_0x591580;return this[_0x12d4cd(0xd1)][_0x12d4cd(0x2ae)]===_0x3b001c;}[a0_0x591580(0x1fc)](_0x259200){const _0x4438dd=a0_0x591580;return this[_0x4438dd(0x2bc)](_0x259200)||this['_raw']['logicField']?.[_0x4438dd(0x21d)]===_0x259200||this[_0x4438dd(0xd1)][_0x4438dd(0x214)]?.['fieldName']===_0x259200||this[_0x4438dd(0xd1)][_0x4438dd(0xdb)]?.[_0x4438dd(0x21d)]===_0x259200||this[_0x4438dd(0xd1)][_0x4438dd(0x105)]?.[_0x4438dd(0x21d)]===_0x259200||this['_raw'][_0x4438dd(0x2cc)]?.[_0x4438dd(0x21d)]===_0x259200||this['_raw'][_0x4438dd(0x10f)]?.[_0x4438dd(0x21d)]===_0x259200||this['_raw'][_0x4438dd(0x1db)]?.[_0x4438dd(0x21d)]===_0x259200;}[a0_0x591580(0x1e0)](){const _0x2a8e67=a0_0x591580;return this['_raw'][_0x2a8e67(0x1ff)]?.['dbName'];}[a0_0x591580(0x1c4)](){const _0x26feaf=a0_0x591580;return this[_0x26feaf(0xd1)]['dblinkInfoDTO']?.['dbType'];}[a0_0x591580(0x1b1)](){const _0x2d5ba8=a0_0x591580;return this[_0x2d5ba8(0xd1)][_0x2d5ba8(0x1ff)]?.[_0x2d5ba8(0x241)];}[a0_0x591580(0x2a6)](){const _0x140c11=a0_0x591580;return this[_0x140c11(0xd1)][_0x140c11(0x1ff)]?.[_0x140c11(0x240)];}[a0_0x591580(0x1d6)](){const _0x4e8387=a0_0x591580;return this['_raw'][_0x4e8387(0x1ff)]?.[_0x4e8387(0x244)];}[a0_0x591580(0x22f)](){const _0x41f834=a0_0x591580;return this['_raw'][_0x41f834(0x1ff)]?.[_0x41f834(0x22c)];}[a0_0x591580(0x168)](){const _0x3fd7ed=a0_0x591580;return{'hasTableName':this[_0x3fd7ed(0x24e)](),'hasDblinkInfo':this[_0x3fd7ed(0x10e)](),'fieldCount':this[_0x3fd7ed(0x1af)]()[_0x3fd7ed(0x1f5)],'systemFields':{'hasLogicField':this[_0x3fd7ed(0x114)](),'hasCreateTimeField':this[_0x3fd7ed(0x129)](),'hasUpdateTimeField':this[_0x3fd7ed(0x275)](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this['hasModifierIdField']()}};}[a0_0x591580(0x282)](){const _0x5b15ab=a0_0x591580;return{'tableName':this[_0x5b15ab(0x184)],'pkField':this[_0x5b15ab(0x2ae)],'datasetKey':this['datasetKey'],'dbId':this[_0x5b15ab(0x10a)]};}['toJSON'](){const _0x4dee08=a0_0x591580;return{...this[_0x4dee08(0xd1)]};}['getRaw'](){return{...this['_raw']};}[a0_0x591580(0x22a)](){const _0xcfe07e=a0_0x591580,_0x87a646=this['tableName']||'N/A',_0x2bfeca=this[_0xcfe07e(0x1af)]()[_0xcfe07e(0x1f5)];return'DbtableConfig(table:\x20'+_0x87a646+_0xcfe07e(0x151)+_0x2bfeca+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{['_raw'];constructor(_0x349d74){const _0x53498f=a0_0x591580,_0x2f69dd=_0x349d74['datasetCode']||_0x349d74[_0x53498f(0x216)]||_0x349d74[_0x53498f(0x281)];this[_0x53498f(0xd1)]={..._0x349d74,'datasetCode':_0x2f69dd};}get['id'](){const _0x2d323c=a0_0x591580;return this[_0x2d323c(0xd1)]['id'];}get[a0_0x591580(0x194)](){const _0x5e21ac=a0_0x591580;return this[_0x5e21ac(0xd1)][_0x5e21ac(0x194)];}[a0_0x591580(0x103)](){const _0xa984b8=a0_0x591580;return this[_0xa984b8(0x194)];}get[a0_0x591580(0x242)](){const _0x1cb839=a0_0x591580;return this[_0x1cb839(0xd1)][_0x1cb839(0x242)]||'';}get[a0_0x591580(0x145)](){const _0x48c571=a0_0x591580;if(!this['_raw'][_0x48c571(0x145)])return null;return new DbtableConfig(this[_0x48c571(0xd1)][_0x48c571(0x145)]);}['getRawDbtableConfig'](){const _0x24818c=a0_0x591580;return this[_0x24818c(0xd1)][_0x24818c(0x145)];}[a0_0x591580(0x212)](){return getTableName(this['_raw']);}[a0_0x591580(0x288)](){const _0x1c78a4=a0_0x591580;return getTableKey(this[_0x1c78a4(0x212)]());}[a0_0x591580(0xeb)](){const _0x475b80=a0_0x591580;return isVirtualTableName(this[_0x475b80(0x212)]());}[a0_0x591580(0x1fe)](){const _0xf4840b=a0_0x591580;return toPascalCase(this[_0xf4840b(0x212)]());}[a0_0x591580(0x282)](){const _0x18bf1d=a0_0x591580;return{'key':getTableKey(this[_0x18bf1d(0x212)]()),'tableName':this[_0x18bf1d(0x212)](),'datasetCode':this['datasetCode'],'name':this[_0x18bf1d(0x194)]};}[a0_0x591580(0x1a4)](){const _0x5bc30b=a0_0x591580;return{...this[_0x5bc30b(0xd1)],'datasetCode':this[_0x5bc30b(0x242)]};}[a0_0x591580(0x1f9)](){const _0x5436f1=a0_0x591580;return{...this[_0x5436f1(0xd1)]};}['hasDbtableConfig'](){const _0x1b3c0f=a0_0x591580,_0x265d2b=this[_0x1b3c0f(0x145)];return _0x265d2b!==null&&_0x265d2b[_0x1b3c0f(0x24e)]();}[a0_0x591580(0xd6)](_0x2d44b6){const _0x2ff3c0=a0_0x591580;return this[_0x2ff3c0(0xd1)][_0x2d44b6];}['hasExtendField'](_0x46a0ab){const _0x381558=a0_0x591580;return _0x46a0ab in this[_0x381558(0xd1)];}[a0_0x591580(0x22a)](){const _0x49dab1=a0_0x591580;return _0x49dab1(0x1f1)+this[_0x49dab1(0x194)]+',\x20'+this[_0x49dab1(0x242)]+')';}}class Operation{['name'];[a0_0x591580(0xd1)];[a0_0x591580(0x2d9)];constructor(_0x1effe9,_0x369b98,_0x4e4810){const _0x2eca52=a0_0x591580;this['name']=_0x1effe9,this[_0x2eca52(0xd1)]=_0x369b98,this[_0x2eca52(0x2d9)]=_0x4e4810;}[a0_0x591580(0x103)](){const _0x22afcc=a0_0x591580;return this[_0x22afcc(0x194)];}[a0_0x591580(0x2d7)](){const _0x39f485=a0_0x591580,_0x4b9773=this[_0x39f485(0x13d)]();return _0x4b9773?OPERATION_TYPE_DISPLAY_NAME[_0x4b9773]:this[_0x39f485(0x194)];}[a0_0x591580(0x13d)](){const _0xf9778a=a0_0x591580;return parseOperationType(this[_0xf9778a(0x194)]);}[a0_0x591580(0xe2)](){const _0xd639b3=a0_0x591580;return this[_0xd639b3(0xd1)]!=null&&this[_0xd639b3(0xd1)]!==![];}[a0_0x591580(0xd0)](){const _0x20e430=a0_0x591580;if(!this[_0x20e430(0xe2)]()||!this[_0x20e430(0xd1)])return'';const _0x4f3aa4=this['_raw'][_0x20e430(0x292)];return typeof _0x4f3aa4===_0x20e430(0x222)?_0x4f3aa4:_0x20e430(0x163);}['getPath'](){const _0x5db337=a0_0x591580;if(!this[_0x5db337(0xe2)]()||!this['_raw'])return'';const _0x189809=this[_0x5db337(0xd1)]['path'];return typeof _0x189809===_0x5db337(0x222)?_0x189809:'';}['getFullUrl'](){const _0x559a6f=a0_0x591580;if(!this[_0x559a6f(0xe2)]()||!this[_0x559a6f(0xd1)])return'';const {host:_0x1403da,path:_0x329309}=this['_raw'],_0x27ab8a=typeof _0x1403da==='string'?_0x1403da:'',_0x83586e=typeof _0x329309===_0x559a6f(0x222)?_0x329309:'';return _0x27ab8a&&_0x83586e?''+_0x27ab8a+_0x83586e:_0x83586e;}['getRequestFields'](){const _0x11d06d=a0_0x591580;return Object[_0x11d06d(0x2dc)](this[_0x11d06d(0x17e)]());}[a0_0x591580(0x272)](){const _0x3983f4=a0_0x591580;if(!this['isEnabled']()||typeof this[_0x3983f4(0xd1)]===_0x3983f4(0x2d6)||!this['_raw']?.[_0x3983f4(0x208)])return{};const _0x3531c3=this[_0x3983f4(0xd1)][_0x3983f4(0x208)];if(typeof _0x3531c3!=='string')return!![]&&console[_0x3983f4(0x1ed)](_0x3983f4(0x252),_0x3531c3),{};return parseRequestBody(_0x3531c3);}[a0_0x591580(0x206)](){const _0x46aac9=a0_0x591580;if(!this[_0x46aac9(0xe2)]()||typeof this[_0x46aac9(0xd1)]===_0x46aac9(0x2d6)||!this[_0x46aac9(0xd1)]?.['responseBody'])return null;const _0x12abae=this[_0x46aac9(0xd1)][_0x46aac9(0x182)];if(typeof _0x12abae!==_0x46aac9(0x222))return!![]&&console[_0x46aac9(0x1ed)]('[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:',_0x12abae),null;return parseResponseBody(_0x12abae);}[a0_0x591580(0x1c3)](_0x2058b9,_0x1b63a4,_0xa2cd94,_0x56fe00){const _0x2f56f3=a0_0x591580;return generateExampleValue(_0x2058b9,_0x1b63a4,_0xa2cd94,{'isPrimaryKey':_0x56fe00?.['isPrimaryKey'],'description':_0x56fe00?.[_0x2f56f3(0x20b)],'dbtableConfig':this['context'][_0x2f56f3(0x145)]});}[a0_0x591580(0x2cb)](_0x4dd6c0){const _0x542f41=a0_0x591580;if(!Array[_0x542f41(0x2ba)](this[_0x542f41(0x2d9)][_0x542f41(0x1d5)])){!![]&&console[_0x542f41(0x1ed)](_0x542f41(0x199));return;}if(typeof _0x4dd6c0!==_0x542f41(0x222)){!![]&&console['warn'](_0x542f41(0x260),_0x4dd6c0);return;}return this['context'][_0x542f41(0x1d5)]['find'](_0x1bc5e2=>_0x1bc5e2&&_0x1bc5e2['code']===_0x4dd6c0);}[a0_0x591580(0x22a)](){const _0x5d4d18=a0_0x591580,_0x5d3b2c=this[_0x5d4d18(0xe2)]()?'启用':'禁用';return this['getDisplayName']()+'('+this[_0x5d4d18(0x194)]+',\x20'+_0x5d3b2c+')';}[a0_0x591580(0x1c9)](){return[];}[a0_0x591580(0x2d0)](_0x263c15){return[];}[a0_0x591580(0x2b0)](_0x3ebf2b){const _0x1cab96=a0_0x591580,_0x5df625=this[_0x1cab96(0x103)](),_0x10a3d0=_0x1cab96(0x25b)+_0x3ebf2b+'.'+_0x5df625+_0x1cab96(0x27e),_0x292151='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'+_0x3ebf2b+'.'+_0x5df625+_0x1cab96(0x171);return{'successCode':_0x10a3d0,'errorCode':_0x292151};}[a0_0x591580(0x1a4)](){const _0x3db6dd=a0_0x591580;return{'name':this[_0x3db6dd(0x103)](),'displayName':this[_0x3db6dd(0x2d7)](),'type':this[_0x3db6dd(0x13d)](),'enabled':this[_0x3db6dd(0xe2)](),'method':this[_0x3db6dd(0xd0)](),'path':this['getPath'](),'fullUrl':this[_0x3db6dd(0x284)](),'requestFields':this['getRequestFields'](),'requestParams':this['getRequestParams'](),'responseSchema':this[_0x3db6dd(0x157)](),'requestExample':this[_0x3db6dd(0x192)](),'responseExample':this[_0x3db6dd(0x27d)]()};}}class GenericOperation extends Operation{[a0_0x591580(0x17e)](){const _0x3cd035=a0_0x591580;return this[_0x3cd035(0x272)]();}[a0_0x591580(0x157)](){const _0x2ac2fd=a0_0x591580;return this[_0x2ac2fd(0x206)]();}['generateRequestExample'](){const _0x5dafdc=a0_0x591580,_0x54c27c={},_0x48100c=this[_0x5dafdc(0x17e)](),_0x2b2548=this[_0x5dafdc(0x13d)]();if(Object[_0x5dafdc(0x2dc)](_0x48100c)[_0x5dafdc(0x1f5)]===0x0&&_0x2b2548){const _0xac36dd=getFieldsForOperation(this[_0x5dafdc(0x2d9)]['fields'],_0x2b2548,this['context']['pkField']);return _0xac36dd[_0x5dafdc(0x1df)](_0x2900cc=>{const _0x585e53=_0x5dafdc,_0x17dee6=this['generateFieldExample'](_0x2900cc[_0x585e53(0x216)],_0x2900cc[_0x585e53(0x1d4)],typeof _0x2900cc['dbType']===_0x585e53(0x222)?_0x2900cc['dbType']:undefined,{'isPrimaryKey':_0x2900cc[_0x585e53(0x216)]===this[_0x585e53(0x2d9)]['pkField'],'description':_0x2900cc[_0x585e53(0x20b)]||_0x2900cc[_0x585e53(0x194)]});_0x54c27c[_0x2900cc[_0x585e53(0x216)]]=_0x17dee6;}),_0x54c27c;}return Object['entries'](_0x48100c)['forEach'](([_0x2589a2,_0x33ea45])=>{const _0x2e1670=_0x5dafdc,_0x4bc94b=_0x33ea45;let _0x4a379c;if(typeof _0x4bc94b['type']===_0x2e1670(0x222))_0x4a379c=_0x4bc94b[_0x2e1670(0x1d4)];else _0x4bc94b[_0x2e1670(0x1d4)]&&typeof _0x4bc94b[_0x2e1670(0x1d4)]===_0x2e1670(0xe9)?_0x4a379c=_0x4bc94b[_0x2e1670(0x1d4)]['type']||_0x2e1670(0x1f7):_0x4a379c=_0x2e1670(0x1f7);const _0x43a302=_0x4bc94b[_0x2e1670(0x20b)],_0x2ccf28=this[_0x2e1670(0x2cb)](_0x2589a2);if(_0x2589a2===_0x2e1670(0x159))_0x54c27c[_0x2589a2]=0x1;else{if(_0x2589a2===_0x2e1670(0x25f))_0x54c27c[_0x2589a2]=0xa;else _0x2589a2==='id'?_0x54c27c[_0x2589a2]=0x1:_0x54c27c[_0x2589a2]=this['generateFieldExample'](_0x2589a2,_0x4a379c,typeof _0x2ccf28?.[_0x2e1670(0x1aa)]===_0x2e1670(0x222)?_0x2ccf28[_0x2e1670(0x1aa)]:undefined,{'isPrimaryKey':_0x2589a2===this['context']['pkField']||_0x2589a2==='id','description':_0x43a302||_0x2ccf28?.['description']||_0x2ccf28?.[_0x2e1670(0x194)]});}}),_0x54c27c;}['generateResponseExample'](){const _0x3f12df=a0_0x591580,_0x201770=this[_0x3f12df(0x157)]();if(!_0x201770)return{'success':!![],'msg':_0x3f12df(0x164),'errorMsg':'','errorCode':_0x3f12df(0x1ec),'data':null};return this[_0x3f12df(0x146)](_0x201770);}[a0_0x591580(0x146)](_0x1c77d5){const _0x4b985d=a0_0x591580;if(!_0x1c77d5||typeof _0x1c77d5!==_0x4b985d(0xe9))return{};if(Array[_0x4b985d(0x2ba)](_0x1c77d5)){if(_0x1c77d5[_0x4b985d(0x1f5)]>0x0)return[this[_0x4b985d(0x146)](_0x1c77d5[0x0])];return[];}const _0x4b7c5a={};return Object[_0x4b985d(0x2dc)](_0x1c77d5)['forEach'](_0x40273b=>{const _0x12d497=_0x4b985d,_0x19e236=_0x1c77d5[_0x40273b];if(_0x19e236&&typeof _0x19e236===_0x12d497(0xe9)&&!Array[_0x12d497(0x2ba)](_0x19e236)&&_0x19e236['type']){const _0x426e1e=_0x19e236;let _0x4780e9;if(typeof _0x426e1e[_0x12d497(0x1d4)]===_0x12d497(0x222))_0x4780e9=_0x426e1e['type'];else _0x426e1e[_0x12d497(0x1d4)]&&typeof _0x426e1e[_0x12d497(0x1d4)]==='object'?_0x4780e9=_0x426e1e[_0x12d497(0x1d4)][_0x12d497(0x1d4)]||_0x12d497(0x1f7):_0x4780e9=_0x12d497(0x1f7);const _0xc64239=_0x426e1e['description'];_0x4b7c5a[_0x40273b]=this[_0x12d497(0x1c3)](_0x40273b,_0x4780e9,undefined,{'description':_0xc64239});}else{if(Array[_0x12d497(0x2ba)](_0x19e236))_0x4b7c5a[_0x40273b]=_0x19e236['length']>0x0?[this[_0x12d497(0x146)](_0x19e236[0x0])]:[];else _0x19e236&&typeof _0x19e236===_0x12d497(0xe9)?_0x4b7c5a[_0x40273b]=this[_0x12d497(0x146)](_0x19e236):_0x4b7c5a[_0x40273b]=_0x19e236;}}),_0x4b7c5a;}['generateSDKCallCode'](_0x4efdb1,_0x2b57c2){const _0x513e7d=a0_0x591580,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2b57c2||{},_0x2f4cef=this[_0x513e7d(0x103)](),_0x2457ca=this[_0x513e7d(0x13d)](),_0x506122=this['getRequestFields'](),_0x635aef=this[_0x513e7d(0x192)](),_0x511d73=_0x4db565=>{const _0x5640ce=_0x513e7d;if(Object[_0x5640ce(0x2dc)](_0x4db565)[_0x5640ce(0x1f5)]===0x0)return'{}';const _0xbfcacb=JSON[_0x5640ce(0x205)](_0x4db565,null,0x2)[_0x5640ce(0x2d4)]('\x0a')[_0x5640ce(0x133)]((_0xa2d3a4,_0x5c07af)=>_0x5c07af===0x0?_0xa2d3a4:indent+_0xa2d3a4)[_0x5640ce(0x1ad)]('\x0a');return _0xbfcacb;};switch(_0x2457ca){case _0x513e7d(0x2ce):case _0x513e7d(0x23e):return'const\x20result\x20=\x20await\x20client.models.'+_0x4efdb1+'.'+_0x2f4cef+'(id);';case _0x513e7d(0x21b):if(useFullExample&&Object[_0x513e7d(0x2dc)](_0x635aef)[_0x513e7d(0x1f5)]>0x0)return _0x513e7d(0x1e4)+_0x4efdb1+'.'+_0x2f4cef+_0x513e7d(0x12d)+_0x511d73(_0x635aef)+');';return _0x513e7d(0x1e4)+_0x4efdb1+'.'+_0x2f4cef+_0x513e7d(0x1fb);case _0x513e7d(0x2c8):case'getList':case _0x513e7d(0x235):default:if(_0x506122['length']>0x0){if(useFullExample&&Object['keys'](_0x635aef)[_0x513e7d(0x1f5)]>0x0)return _0x513e7d(0x1e4)+_0x4efdb1+'.'+_0x2f4cef+'('+_0x511d73(_0x635aef)+');';else{const _0x35cc11=Object[_0x513e7d(0x2dc)](_0x635aef);if(_0x35cc11['length']>0x0){const _0x6c72a4=_0x35cc11[_0x513e7d(0x14f)](0x0,0x2)['join'](',\x20');return _0x513e7d(0x1e4)+_0x4efdb1+'.'+_0x2f4cef+_0x513e7d(0x269)+_0x6c72a4+',\x20...\x20});';}else return _0x513e7d(0x1e4)+_0x4efdb1+'.'+_0x2f4cef+_0x513e7d(0x23b);}}else return _0x513e7d(0x1e4)+_0x4efdb1+'.'+_0x2f4cef+'();';}}['generateRequestAllExamples'](){const _0x96f8c8=a0_0x591580;return[{'title':_0x96f8c8(0x259),'data':this['generateRequestExample']()}];}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x591580(0x17e)](){const _0x53ea03=a0_0x591580,_0x4da7dc=super[_0x53ea03(0x17e)](),_0x4c6ead=Object[_0x53ea03(0x2dc)](_0x4da7dc);return(_0x4c6ead[_0x53ea03(0x1f5)]===0x0||_0x4c6ead[_0x53ea03(0x1f5)]===0x1&&_0x4c6ead[0x0]===_0x53ea03(0x216))&&(!_0x4da7dc['code']&&(_0x4da7dc[_0x53ea03(0x216)]={'type':_0x53ea03(0xf8),'description':'字段编码'}),_0x4da7dc[_0x53ea03(0x280)]={'type':_0x53ea03(0xf8),'description':_0x53ea03(0x18e)}),_0x4da7dc;}[a0_0x591580(0x192)](){const _0x1742db=a0_0x591580;return{'code':'field_name','label':_0x1742db(0x20a)};}['generateSDKCallCode'](_0x263457){const _0x2d0955=a0_0x591580,_0x54c6a3=this['getName']();return _0x2d0955(0x1e4)+_0x263457+'.'+_0x54c6a3+_0x2d0955(0x1d9);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x5e992c=a0_0x591580,_0x51f466=super['getRequestParams'](),{currentPage:_0x1f6a5f,pageSize:_0x45ad6c,..._0x3cf700}=_0x51f466,_0x146e6e={};return Object['entries'](_0x3cf700)[_0x5e992c(0x1df)](([_0x236e02,_0x5485c3])=>{const _0x209ce5=_0x5e992c;if(typeof _0x5485c3==='object'&&_0x5485c3!==null){const _0x278dd8=_0x5485c3,_0x4e34df=_0x278dd8[_0x209ce5(0x20b)]||'';_0x146e6e[_0x236e02]={..._0x278dd8,'description':_0x4e34df?_0x4e34df+_0x209ce5(0xf6):_0x209ce5(0x107)};}else _0x146e6e[_0x236e02]=_0x5485c3;}),{..._0x146e6e,'currentPage':{...typeof _0x1f6a5f===_0x5e992c(0xe9)?_0x1f6a5f:{},'type':'Number','description':_0x5e992c(0x116)},'pageSize':{...typeof _0x45ad6c===_0x5e992c(0xe9)?_0x45ad6c:{},'type':_0x5e992c(0x110),'description':'每页数量'}};}[a0_0x591580(0x192)](_0x10af6b){const _0x3c7ed3=a0_0x591580,{useArrayValues:useArrayValues=!![]}=_0x10af6b||{},_0x328fe1=super[_0x3c7ed3(0x192)](),{currentPage:_0x14b055,pageSize:_0x405e7e,..._0x46918c}=_0x328fe1;if(!useArrayValues)return{..._0x46918c,'currentPage':_0x14b055??0x1,'pageSize':_0x405e7e??0xa};const _0x22512e={},_0x359376=['id',_0x3c7ed3(0x16d),'code',_0x3c7ed3(0x1d4)];return Object[_0x3c7ed3(0xdd)](_0x46918c)[_0x3c7ed3(0x1df)](([_0x34f059,_0x27dfca],_0x308291)=>{const _0x4e977a=_0x3c7ed3,_0x2a0d4f=_0x359376['some'](_0x4742f6=>_0x34f059['toLowerCase']()['includes'](_0x4742f6))||_0x308291%0x3===0x0;if(_0x2a0d4f&&_0x27dfca!==null&&_0x27dfca!==undefined){if(typeof _0x27dfca===_0x4e977a(0x291))_0x22512e[_0x34f059]=[_0x27dfca,_0x27dfca+0x1,_0x27dfca+0x2];else typeof _0x27dfca===_0x4e977a(0x222)?_0x22512e[_0x34f059]=[_0x27dfca,_0x27dfca+'_2',_0x27dfca+'_3']:_0x22512e[_0x34f059]=[_0x27dfca];}else _0x22512e[_0x34f059]=_0x27dfca;}),{..._0x22512e,'currentPage':_0x14b055??0x1,'pageSize':_0x405e7e??0xa};}[a0_0x591580(0x2b5)](){const _0x7e5996=a0_0x591580;return this[_0x7e5996(0x192)]({'useArrayValues':![]});}[a0_0x591580(0x2ab)](){const _0x4d3693=a0_0x591580;return[{'title':_0x4d3693(0x221),'description':_0x4d3693(0x150),'data':this[_0x4d3693(0x2b5)]()},{'title':'数组查询(支持多选)','description':_0x4d3693(0x20d),'data':this[_0x4d3693(0x192)]()}];}[a0_0x591580(0xe7)](_0x1077d4,_0x3d4676){const _0xaae3f9=a0_0x591580,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3d4676||{},_0x3d62f9=this[_0xaae3f9(0x103)](),_0x2b895c=this[_0xaae3f9(0x192)]({'useArrayValues':!![]}),{currentPage:_0x53a9cf,pageSize:_0x2e747f,..._0xe65d09}=_0x2b895c;if(useFullExample&&Object[_0xaae3f9(0x2dc)](_0x2b895c)[_0xaae3f9(0x1f5)]>0x0){const _0x55d66a=Object[_0xaae3f9(0x2dc)](_0xe65d09)[_0xaae3f9(0x1f5)]>0x0;if(_0x55d66a){const _0x5a207d=this[_0xaae3f9(0x2b5)](),_0x4b8c6d=_0x1f8511=>{const _0x450a56=_0xaae3f9;return JSON[_0x450a56(0x205)](_0x1f8511,null,0x2)[_0x450a56(0x2d4)]('\x0a')[_0x450a56(0x133)]((_0x328eed,_0x1c147d)=>_0x1c147d===0x0?_0x328eed:indent+_0x328eed)['join']('\x0a');};return'//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x1077d4+'.'+_0x3d62f9+'('+_0x4b8c6d(_0x5a207d)+_0xaae3f9(0x1e3)+_0x1077d4+'.'+_0x3d62f9+'('+_0x4b8c6d(_0x2b895c)+');';}else{const _0x2403d0=JSON[_0xaae3f9(0x205)](_0x2b895c,null,0x2)[_0xaae3f9(0x2d4)]('\x0a')[_0xaae3f9(0x133)]((_0xb5925f,_0x228e94)=>_0x228e94===0x0?_0xb5925f:indent+_0xb5925f)[_0xaae3f9(0x1ad)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x1077d4+'.'+_0x3d62f9+'('+_0x2403d0+');';}}if(Object[_0xaae3f9(0x2dc)](_0xe65d09)[_0xaae3f9(0x1f5)]>0x0){const _0x4b0c7f=Object[_0xaae3f9(0x2dc)](_0xe65d09)[0x0];return _0xaae3f9(0x1e4)+_0x1077d4+'.'+_0x3d62f9+_0xaae3f9(0x269)+_0x4b0c7f+',\x20currentPage,\x20pageSize,\x20...\x20});';}return'const\x20result\x20=\x20await\x20client.models.'+_0x1077d4+'.'+_0x3d62f9+_0xaae3f9(0x120);}}var FILTER_OPERATORS=[a0_0x591580(0x108),a0_0x591580(0x1ef),a0_0x591580(0x1f0),a0_0x591580(0x161),'$lte',a0_0x591580(0x1d3),a0_0x591580(0x271),a0_0x591580(0xff),a0_0x591580(0x2c2),a0_0x591580(0x2be),'$and',a0_0x591580(0x132)];class FilterOperation extends GenericOperation{constructor(_0x3d2b8e,_0x38b512,_0x464ed0){super(_0x3d2b8e,_0x38b512,_0x464ed0);}[a0_0x591580(0x1c9)](){return FILTER_OPERATORS;}[a0_0x591580(0x2d0)](_0x455e14){const _0x5b290b=a0_0x591580,_0x50ac58=this[_0x5b290b(0x2cb)](_0x455e14);if(!_0x50ac58)return[];return this[_0x5b290b(0x16c)](_0x50ac58['type']);}[a0_0x591580(0x17e)](){const _0xdd6b35=a0_0x591580,_0x64490f=super[_0xdd6b35(0x17e)]();return{..._0x64490f,'where':{'type':_0xdd6b35(0x15c),'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':_0xdd6b35(0xf4),'description':'返回字段列表(字段投影)','required':![]},'orderBy':{'type':'Object[]','description':'排序规则','required':![]},'currentPage':{'type':_0xdd6b35(0x110),'description':_0xdd6b35(0x116),'required':![],'default':0x1},'pageSize':{'type':_0xdd6b35(0x110),'description':_0xdd6b35(0x203),'required':![],'default':0xa}};}[a0_0x591580(0x192)](){const _0x4c0320=a0_0x591580,_0x1025f0=this['context'][_0x4c0320(0x1d5)]||[];if(_0x1025f0[_0x4c0320(0x1f5)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x4bdccb={},_0x52a4d7=_0x1025f0[_0x4c0320(0x14f)](0x0,Math[_0x4c0320(0x136)](0x3,_0x1025f0[_0x4c0320(0x1f5)]));_0x52a4d7[_0x4c0320(0x1df)](_0x1ac0f9=>{const _0x29a81e=_0x4c0320,_0x25625a=this[_0x29a81e(0x16c)](_0x1ac0f9[_0x29a81e(0x1d4)]);if(_0x25625a[_0x29a81e(0x1f5)]===0x0)return;const _0x24d3ad=this[_0x29a81e(0x11b)](_0x1ac0f9[_0x29a81e(0x1d4)],_0x25625a),_0x482853=this[_0x29a81e(0x1bb)](_0x1ac0f9,_0x24d3ad);_0x4bdccb[_0x1ac0f9['code']]={[_0x24d3ad]:_0x482853};});const _0x4f7296=_0x1025f0[_0x4c0320(0x14f)](0x0,Math['min'](0x5,_0x1025f0[_0x4c0320(0x1f5)]))['map'](_0x4e37c1=>_0x4e37c1[_0x4c0320(0x216)]),_0x2ad35f=_0x1025f0[0x0]?.[_0x4c0320(0x216)]||'id';return{'where':_0x4bdccb,'select':_0x4f7296,'orderBy':[{[_0x2ad35f]:_0x4c0320(0x139)}],'currentPage':0x1,'pageSize':0x14};}[a0_0x591580(0xe7)](_0x3ff702,_0x4acff7){const _0xdb77cb=a0_0x591580,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4acff7||{},_0x4bf06d=this['getName'](),_0x4374b3=this[_0xdb77cb(0x192)](),_0x375fca=_0x584f48=>{const _0x1f118a=_0xdb77cb;return JSON[_0x1f118a(0x205)](_0x584f48,null,0x2)[_0x1f118a(0x2d4)]('\x0a')[_0x1f118a(0x133)]((_0x34e397,_0x4064f3)=>_0x4064f3===0x0?_0x34e397:indent+_0x34e397)[_0x1f118a(0x1ad)]('\x0a');};if(useFullExample){const _0x181333=this[_0xdb77cb(0x2d9)][_0xdb77cb(0x1d5)]||[],_0x34071c={'where':_0x181333[0x0]?{[_0x181333[0x0][_0xdb77cb(0x216)]]:{'$eq':this['generateExampleValue'](_0x181333[0x0],'$eq')}}:{},'select':_0x181333[_0xdb77cb(0x14f)](0x0,0x3)[_0xdb77cb(0x133)](_0x57c858=>_0x57c858[_0xdb77cb(0x216)]),'currentPage':0x1,'pageSize':0x14};let _0x13f583='';if(_0x181333['length']>=0x3){const _0x244bbb={'$and':[]},_0x57f1a1=[];if(_0x181333[_0xdb77cb(0x1f5)]>0x0){const _0x547a81=_0x181333[_0xdb77cb(0x28d)](_0x1fe73d=>[_0xdb77cb(0x21f),_0xdb77cb(0x172),_0xdb77cb(0x124)][_0xdb77cb(0x219)](_0x1fe73d[_0xdb77cb(0x1d4)]['toUpperCase']()));_0x547a81&&_0x57f1a1[_0xdb77cb(0x1ac)]({[_0x547a81['code']]:{'$gte':0x0,'$lte':0x64}});}if(_0x181333[_0xdb77cb(0x1f5)]>0x1){const _0x29ddec=_0x181333[_0xdb77cb(0x28d)](_0x3ea1c4=>[_0xdb77cb(0x189),'TEXT',_0xdb77cb(0x1c0)][_0xdb77cb(0x219)](_0x3ea1c4[_0xdb77cb(0x1d4)][_0xdb77cb(0x14d)]()));_0x29ddec&&_0x57f1a1['push']({[_0x29ddec[_0xdb77cb(0x216)]]:{'$contain':'keyword'}});}if(_0x57f1a1['length']>0x0){_0x244bbb[_0xdb77cb(0x25c)]=_0x57f1a1;const _0x2c1503={'where':_0x244bbb,'select':_0x181333[_0xdb77cb(0x14f)](0x0,0x4)['map'](_0x18ae6d=>_0x18ae6d['code']),'orderBy':[{[_0x181333[0x0][_0xdb77cb(0x216)]]:_0xdb77cb(0x139)}],'currentPage':0x1,'pageSize':0x14};_0x13f583=_0xdb77cb(0x144)+_0x3ff702+'.'+_0x4bf06d+'('+_0x375fca(_0x2c1503)+');';}}return _0xdb77cb(0x19d)+_0x3ff702+'.'+_0x4bf06d+'('+_0x375fca(_0x34071c)+');'+_0x13f583;}const _0x227f7d=JSON[_0xdb77cb(0x205)](_0x4374b3,null,0x2)[_0xdb77cb(0x2d4)]('\x0a')[_0xdb77cb(0x133)]((_0x3554db,_0x158e04)=>_0x158e04===0x0?_0x3554db:indent+_0x3554db)['join']('\x0a');return _0xdb77cb(0x1e4)+_0x3ff702+'.'+_0x4bf06d+'('+_0x227f7d+');';}['getApplicableOperators'](_0x3de026){const _0x18826e=a0_0x591580,_0x22e35f=_0x3de026[_0x18826e(0x14d)](),_0xab8b73=[];if([_0x18826e(0x21f),_0x18826e(0x172),_0x18826e(0x124),'DECIMAL'][_0x18826e(0x219)](_0x22e35f))_0xab8b73[_0x18826e(0x1ac)](_0x18826e(0x108),'$ne',_0x18826e(0x1f0),_0x18826e(0x12a),_0x18826e(0x161),_0x18826e(0x1d3),_0x18826e(0x271));else{if([_0x18826e(0x189),_0x18826e(0x1f7),_0x18826e(0x1c0)][_0x18826e(0x219)](_0x22e35f))_0xab8b73[_0x18826e(0x1ac)](_0x18826e(0x108),'$ne','$in',_0x18826e(0xff),'$startWith',_0x18826e(0x2be));else{if([_0x18826e(0x27c),_0x18826e(0x15d),_0x18826e(0x14c)][_0x18826e(0x219)](_0x22e35f))_0xab8b73[_0x18826e(0x1ac)]('$eq','$ne','$gte','$lte','$gteq','$lteq');else[_0x18826e(0x112),_0x18826e(0x1f3)][_0x18826e(0x219)](_0x22e35f)?_0xab8b73[_0x18826e(0x1ac)]('$eq',_0x18826e(0x1ef)):_0xab8b73[_0x18826e(0x1ac)](_0x18826e(0x108),'$ne');}}return _0xab8b73;}[a0_0x591580(0x11b)](_0x12215d,_0x12db65){const _0x3930f5=a0_0x591580,_0x12bce9=_0x12215d['toUpperCase']();if([_0x3930f5(0x21f),_0x3930f5(0x172),_0x3930f5(0x124),_0x3930f5(0x210)][_0x3930f5(0x219)](_0x12bce9))return _0x12db65[_0x3930f5(0x219)](_0x3930f5(0x1f0))?_0x3930f5(0x1f0):'$eq';if([_0x3930f5(0x189),_0x3930f5(0x1f7),_0x3930f5(0x1c0)][_0x3930f5(0x219)](_0x12bce9))return _0x12db65[_0x3930f5(0x219)]('$contain')?_0x3930f5(0xff):_0x3930f5(0x108);if([_0x3930f5(0x27c),_0x3930f5(0x15d),'TIMESTAMP'][_0x3930f5(0x219)](_0x12bce9))return _0x12db65[_0x3930f5(0x219)](_0x3930f5(0x1f0))?'$gte':'$eq';return'$eq';}[a0_0x591580(0x1bb)](_0x25f85e,_0x20adca){const _0x1b55be=a0_0x591580,_0x22d591=String(_0x25f85e[_0x1b55be(0x1d4)]||'')['toUpperCase']();if(_0x25f85e[_0x1b55be(0x21a)])try{const _0x3bc754=typeof _0x25f85e[_0x1b55be(0x21a)]===_0x1b55be(0x222)?JSON[_0x1b55be(0x1a2)](_0x25f85e['extend']):_0x25f85e['extend'];if(_0x3bc754[_0x1b55be(0xed)]&&Array[_0x1b55be(0x2ba)](_0x3bc754[_0x1b55be(0xed)])&&_0x3bc754[_0x1b55be(0xed)][_0x1b55be(0x1f5)]>0x0){if(_0x20adca===_0x1b55be(0x271))return _0x3bc754['options'][_0x1b55be(0x14f)](0x0,0x2)['map'](_0x331717=>_0x331717[_0x1b55be(0x215)]);return _0x3bc754[_0x1b55be(0xed)][0x0][_0x1b55be(0x215)];}}catch{}if(['NUMBER',_0x1b55be(0x172),'BIGINT',_0x1b55be(0x210)][_0x1b55be(0x219)](_0x22d591)){if(_0x20adca==='$in')return[0x1,0x2,0x3];if(_0x20adca===_0x1b55be(0x1f0)||_0x20adca===_0x1b55be(0x161))return 0x0;if(_0x20adca===_0x1b55be(0x12a)||_0x20adca===_0x1b55be(0x1d3))return 0x64;return 0x1;}if(['STRING',_0x1b55be(0x1f7),_0x1b55be(0x1c0)][_0x1b55be(0x219)](_0x22d591)){if(_0x20adca===_0x1b55be(0x271))return['value1',_0x1b55be(0x1a9)];if(_0x20adca===_0x1b55be(0xff))return _0x1b55be(0x2c1);if(_0x20adca===_0x1b55be(0x2c2))return _0x1b55be(0x196);if(_0x20adca==='$endWith')return _0x1b55be(0x2a7);return _0x1b55be(0x215);}if(['DATE',_0x1b55be(0x15d),_0x1b55be(0x14c)][_0x1b55be(0x219)](_0x22d591)){if(_0x20adca===_0x1b55be(0x1f0)||_0x20adca===_0x1b55be(0x161))return _0x1b55be(0x117);if(_0x20adca===_0x1b55be(0x12a)||_0x20adca===_0x1b55be(0x1d3))return _0x1b55be(0xd5);return _0x1b55be(0x117);}if([_0x1b55be(0x112),_0x1b55be(0x1f3)][_0x1b55be(0x219)](_0x22d591))return!![];return _0x20adca===_0x1b55be(0x271)?[_0x1b55be(0x1dd),_0x1b55be(0x1a9)]:'value';}}class ExcelExportOperation extends GenericOperation{[a0_0x591580(0x17e)](){const _0x516a08=a0_0x591580,_0x528587=super[_0x516a08(0x17e)]();if(Object[_0x516a08(0x2dc)](_0x528587)[_0x516a08(0x1f5)]===0x0){const _0x5b7a12={};return this['context']['fields'][_0x516a08(0x1df)](_0x45b2d3=>{const _0x42a914=_0x516a08;_0x45b2d3&&_0x45b2d3['code']&&(_0x5b7a12[_0x45b2d3['code']]={'type':_0x45b2d3['type']||_0x42a914(0x1f7),'sortNum':_0x45b2d3['sortNum'],'description':_0x45b2d3[_0x42a914(0x20b)]||_0x45b2d3[_0x42a914(0x194)]});}),_0x5b7a12[_0x516a08(0x159)]={'type':_0x516a08(0x2d2),'description':'当前页码(可选)'},_0x5b7a12[_0x516a08(0x25f)]={'type':_0x516a08(0x2d2),'description':'每页数量(可选)'},_0x5b7a12;}return _0x528587;}['generateRequestExample'](){const _0x359f4b=a0_0x591580,_0x44a033=super[_0x359f4b(0x192)]();if(Object[_0x359f4b(0x2dc)](_0x44a033)[_0x359f4b(0x1f5)]===0x0)return{'currentPage':0x1,'pageSize':0x64};return{..._0x44a033,'currentPage':_0x44a033[_0x359f4b(0x159)]??0x1,'pageSize':_0x44a033[_0x359f4b(0x25f)]??0x64};}['generateResponseExample'](){return{'success':!![],'msg':'','errorMsg':'','errorCode':'0000','data':'https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','params':null};}[a0_0x591580(0xe7)](_0x30aced,_0x452332){const _0x3bf37e=a0_0x591580,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x452332||{},_0x2edb45=this[_0x3bf37e(0x103)]();if(useFullExample){const _0x21e8d8=this[_0x3bf37e(0x192)](),{currentPage:_0x32cf8c,pageSize:_0x124ff3,..._0x12a7c1}=_0x21e8d8,_0x533085=Object[_0x3bf37e(0x2dc)](_0x12a7c1)[_0x3bf37e(0x1f5)]>0x0;if(_0x533085){const _0x3428e1=_0xabf2cd=>{const _0x2e0479=_0x3bf37e;return JSON[_0x2e0479(0x205)](_0xabf2cd,null,0x2)[_0x2e0479(0x2d4)]('\x0a')['map']((_0x5ed818,_0x1df3b5)=>_0x1df3b5===0x0?_0x5ed818:indent+_0x5ed818)['join']('\x0a');};return _0x3bf37e(0x204)+_0x30aced+'.'+_0x2edb45+_0x3bf37e(0x2d5)+_0x30aced+'.'+_0x2edb45+'('+_0x3428e1(_0x21e8d8)+');';}else{const _0x454cef=_0x766d8e=>{const _0x4602a8=_0x3bf37e;return JSON[_0x4602a8(0x205)](_0x766d8e,null,0x2)[_0x4602a8(0x2d4)]('\x0a')[_0x4602a8(0x133)]((_0x70f789,_0x418cff)=>_0x418cff===0x0?_0x70f789:indent+_0x70f789)[_0x4602a8(0x1ad)]('\x0a');};return _0x3bf37e(0x204)+_0x30aced+'.'+_0x2edb45+_0x3bf37e(0x289)+_0x30aced+'.'+_0x2edb45+'('+_0x454cef({'currentPage':0x1,'pageSize':0x64})+');';}}return _0x3bf37e(0x1c2)+_0x30aced+'.'+_0x2edb45+_0x3bf37e(0xf3);}[a0_0x591580(0x2b0)](_0x3bc6c7){const _0x2e57e3=a0_0x591580,_0x495b4e=this[_0x2e57e3(0x103)](),_0x16db74=_0x2e57e3(0x119)+_0x3bc6c7+'.'+_0x495b4e+_0x2e57e3(0x16a),_0x1dbdf9=_0x2e57e3(0x125)+_0x3bc6c7+'.'+_0x495b4e+'();\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':_0x16db74,'errorCode':_0x1dbdf9};}}class OperationFactory{['create'](_0x255704,_0x4a7740,_0x4584a1){const _0x9a6a8a=a0_0x591580;switch(_0x255704){case'getSelectOptions':return new GetSelectOptionsOperation(_0x255704,_0x4a7740,_0x4584a1);case'getList':return new GetListOperation(_0x255704,_0x4a7740,_0x4584a1);case _0x9a6a8a(0x1ae):return new FilterOperation(_0x255704,_0x4a7740,_0x4584a1);case _0x9a6a8a(0x298):return new ExcelExportOperation(_0x255704,_0x4a7740,_0x4584a1);default:return new GenericOperation(_0x255704,_0x4a7740,_0x4584a1);}}[a0_0x591580(0x273)](_0x328797,_0x57df10){const _0x2642de=new Map();return Object['entries'](_0x328797)['forEach'](([_0x58ff89,_0x243a4e])=>{const _0xecad6d=a0_0x6500;_0x2642de[_0xecad6d(0x238)](_0x58ff89,this['create'](_0x58ff89,_0x243a4e,_0x57df10));}),_0x2642de;}}class OperationList{['_operations'];constructor(_0x484e26,_0x244062){const _0x2e776e=a0_0x591580,_0x4b3524=new OperationFactory();this[_0x2e776e(0x296)]=_0x4b3524['createAll'](_0x484e26,_0x244062);}[a0_0x591580(0x201)](_0x1fec92){const _0x5da51a=a0_0x591580;return this[_0x5da51a(0x296)][_0x5da51a(0x201)](_0x1fec92);}[a0_0x591580(0x20c)](_0x299f9c){const _0x4e10e0=a0_0x591580;return this[_0x4e10e0(0x296)][_0x4e10e0(0x20c)](_0x299f9c);}['size'](){const _0xa8ddfb=a0_0x591580;return this['_operations'][_0xa8ddfb(0x181)];}[a0_0x591580(0x165)](){return Array['from'](this['_operations']['keys']());}[a0_0x591580(0x268)](){const _0x19bf70=a0_0x591580,_0x5db62a=Array[_0x19bf70(0x1ce)](this['_operations'][_0x19bf70(0x18a)]());return this[_0x19bf70(0x1a8)](_0x5db62a);}[a0_0x591580(0x1b2)](){const _0x4288cb=a0_0x591580;return this[_0x4288cb(0x268)]()[_0x4288cb(0x1ae)](_0x4b756c=>_0x4b756c['isEnabled']());}[a0_0x591580(0x2cf)](){const _0x1e1f82=a0_0x591580;return this[_0x1e1f82(0x268)]()['filter'](_0x16fc8c=>!_0x16fc8c[_0x1e1f82(0xe2)]());}[a0_0x591580(0x122)](){const _0x84c666=a0_0x591580;return this['getEnabled']()[_0x84c666(0x133)](_0xc4abd6=>_0xc4abd6[_0x84c666(0x103)]());}[a0_0x591580(0x160)](){const _0x16a37d=a0_0x591580;return this[_0x16a37d(0x2cf)]()[_0x16a37d(0x133)](_0x56dbac=>_0x56dbac[_0x16a37d(0x103)]());}['getByType'](_0x4d798a){const _0xd2c35b=a0_0x591580;return this[_0xd2c35b(0x268)]()[_0xd2c35b(0x1ae)](_0x58d495=>_0x58d495[_0xd2c35b(0x13d)]()===_0x4d798a);}['filter'](_0x420767){const _0x493f70=a0_0x591580;return this[_0x493f70(0x268)]()[_0x493f70(0x1ae)](_0x420767);}[a0_0x591580(0x1f4)](_0x16ee91={}){const _0x568a95=a0_0x591580;let _0x3d6a19=this[_0x568a95(0x268)]();!_0x16ee91[_0x568a95(0x22d)]&&(_0x3d6a19=_0x3d6a19[_0x568a95(0x1ae)](_0x5c8f5a=>_0x5c8f5a[_0x568a95(0xe2)]()));if(_0x16ee91[_0x568a95(0x2a1)]!==![]){const _0x3793ef=_0x3d6a19['map'](_0x427308=>({'name':_0x427308['getName'](),'operation':_0x427308})),_0x4c531b=filterApiOperations(_0x3793ef);_0x3d6a19=_0x4c531b[_0x568a95(0x133)](_0x516589=>_0x516589[_0x568a95(0x249)]),_0x3d6a19=this[_0x568a95(0x1a8)](_0x3d6a19);}return _0x16ee91[_0x568a95(0xe3)]&&(_0x3d6a19=_0x3d6a19[_0x568a95(0x1ae)](_0x16ee91[_0x568a95(0xe3)])),_0x3d6a19;}[a0_0x591580(0x1a8)](_0x49cecb){const _0x57710a=a0_0x591580,_0x570c91=_0x49cecb[_0x57710a(0x28d)](_0x2eeec2=>_0x2eeec2[_0x57710a(0x103)]()===_0x57710a(0x1ae)),_0x229a6d=_0x49cecb[_0x57710a(0x1ae)](_0x2ea1c9=>_0x2ea1c9[_0x57710a(0x103)]()!==_0x57710a(0x1ae));return _0x570c91?[_0x570c91,..._0x229a6d]:_0x229a6d;}[a0_0x591580(0x168)](){const _0xbf4f9a=a0_0x591580,_0x464141=this[_0xbf4f9a(0x1b2)]();return{'total':this[_0xbf4f9a(0x181)](),'enabled':_0x464141[_0xbf4f9a(0x1f5)],'disabled':this[_0xbf4f9a(0x181)]()-_0x464141['length'],'byType':this[_0xbf4f9a(0x227)](_0x464141),'byMethod':this[_0xbf4f9a(0x2da)](_0x464141)};}[a0_0x591580(0x227)](_0x40d103){const _0x17dd64=a0_0x591580,_0x362529={};return _0x40d103[_0x17dd64(0x1df)](_0x58b492=>{const _0x21c303=_0x17dd64,_0x5a9396=_0x58b492[_0x21c303(0x13d)]();_0x5a9396&&(_0x362529[_0x5a9396]=(_0x362529[_0x5a9396]||0x0)+0x1);}),_0x362529;}[a0_0x591580(0x2da)](_0x1aeac7){const _0x3618d6=a0_0x591580,_0x2e8499={};return _0x1aeac7[_0x3618d6(0x1df)](_0x466573=>{const _0x1ff095=_0x3618d6,_0x198d3a=_0x466573[_0x1ff095(0xd0)]();_0x198d3a&&(_0x2e8499[_0x198d3a]=(_0x2e8499[_0x198d3a]||0x0)+0x1);}),_0x2e8499;}[Symbol[a0_0x591580(0x276)]](){const _0xf4376c=a0_0x591580;return this[_0xf4376c(0x296)][_0xf4376c(0x18a)]();}['toString'](){const _0x215267=a0_0x591580,_0x4b83d8=this[_0x215267(0x168)]();return _0x215267(0x1a7)+_0x4b83d8[_0x215267(0x17c)]+'/'+_0x4b83d8[_0x215267(0x28f)]+_0x215267(0x106);}}class Field{[a0_0x591580(0xd1)];['_extend']=null;constructor(_0x2a9a2b){const _0x27b083=a0_0x591580;if(!_0x2a9a2b||typeof _0x2a9a2b!==_0x27b083(0xe9))throw new Error(_0x27b083(0x1ea));this[_0x27b083(0xd1)]=_0x2a9a2b;}get[a0_0x591580(0x2b9)](){const _0x595c8c=a0_0x591580;return this[_0x595c8c(0xd1)];}['toFieldDefinition'](){const _0x1f2c50=a0_0x591580;return this[_0x1f2c50(0xd1)];}get[a0_0x591580(0x194)](){const _0x2b0962=a0_0x591580;return this['_raw'][_0x2b0962(0x194)]||'';}get[a0_0x591580(0x216)](){const _0x12963d=a0_0x591580;return this[_0x12963d(0xd1)][_0x12963d(0x216)]||'';}get['type'](){const _0x2d984e=a0_0x591580;return this[_0x2d984e(0xd1)][_0x2d984e(0x1d4)]||'';}get['description'](){const _0x4957a0=a0_0x591580;return this['_raw'][_0x4957a0(0x20b)]||'';}get[a0_0x591580(0x228)](){const _0x3e1180=a0_0x591580;return Boolean(this[_0x3e1180(0xd1)][_0x3e1180(0x228)]);}get[a0_0x591580(0x21a)](){const _0xb51c7b=a0_0x591580;if(this[_0xb51c7b(0x13b)]!==null&&typeof this[_0xb51c7b(0x13b)]===_0xb51c7b(0xe9))return this[_0xb51c7b(0x13b)];const _0x41c39c=this['_raw']['extend'];if(!_0x41c39c||typeof _0x41c39c!=='string')return this[_0xb51c7b(0x13b)]={},this['_extend'];if(_0x41c39c===_0xb51c7b(0x170)||_0x41c39c[_0xb51c7b(0x185)]()===_0xb51c7b(0x170))return this['_extend']={},this[_0xb51c7b(0x13b)];try{const _0x1034e9=JSON[_0xb51c7b(0x1a2)](_0x41c39c);return this['_extend']=_0x1034e9!==null&&typeof _0x1034e9===_0xb51c7b(0xe9)&&!Array['isArray'](_0x1034e9)?_0x1034e9:{},this[_0xb51c7b(0x13b)];}catch(_0x152148){return!![]&&console[_0xb51c7b(0x1ed)]('[Field.extend]\x20解析字段\x20'+this['code']+_0xb51c7b(0x18d),_0x152148),this[_0xb51c7b(0x13b)]={},this[_0xb51c7b(0x13b)];}}['isRequired'](){const _0x5f24b4=a0_0x591580;return Boolean(this[_0x5f24b4(0x21a)]['required']);}[a0_0x591580(0x28c)](){const _0x5c0d36=a0_0x591580;return Boolean(this[_0x5c0d36(0x21a)][_0x5c0d36(0x195)]);}[a0_0x591580(0x255)](){const _0x4163a4=a0_0x591580;return Boolean(this['extend'][_0x4163a4(0xf2)]);}[a0_0x591580(0x2db)](){const _0x4db196=a0_0x591580;return!this[_0x4db196(0x255)]();}[a0_0x591580(0xd7)](){const _0x4f2e2d=a0_0x591580;return this[_0x4f2e2d(0x228)];}[a0_0x591580(0x1d2)](){return Boolean(this['extend']['autoIncrement']);}[a0_0x591580(0x179)](){const _0x13e074=a0_0x591580;return Boolean(this[_0x13e074(0x21a)][_0x13e074(0x2ca)]);}[a0_0x591580(0x19a)](){return Boolean(this['extend']['updateTime']);}[a0_0x591580(0x1d1)](){const _0x2ce8ea=a0_0x591580,_0x304ca6=[_0x2ce8ea(0x29d),'SELECT',_0x2ce8ea(0x13f)];return _0x304ca6[_0x2ce8ea(0x219)](this['type']);}[a0_0x591580(0x26e)](){const _0x14b08f=a0_0x591580;return this['type']===_0x14b08f(0x13f);}['getEnumOptions'](){const _0xa82b27=a0_0x591580,_0xb989ec=this[_0xa82b27(0x21a)];if(_0xb989ec['options']&&Array[_0xa82b27(0x2ba)](_0xb989ec[_0xa82b27(0xed)]))return _0xb989ec[_0xa82b27(0xed)];return;}[a0_0x591580(0x123)](){const _0xd2ba5b=a0_0x591580,_0x3b633a=this[_0xd2ba5b(0x21a)];if(_0x3b633a[_0xd2ba5b(0x13c)]&&typeof _0x3b633a['selectItemsSource']===_0xd2ba5b(0xe9))return _0x3b633a[_0xd2ba5b(0x13c)];return;}['getEnumMeta'](){const _0x303b36=a0_0x591580;if(!this[_0x303b36(0x1d1)]())return;const _0x53f4df=this[_0x303b36(0x1a1)](),_0x24093b=this[_0x303b36(0x123)](),_0x40d194=[],_0x5a01b7={},_0x2c5c77=_0x23a8e4=>{const _0x460ec4=_0x303b36;_0x23a8e4[_0x460ec4(0x1df)](_0x243a61=>{const _0x25a1c4=_0x460ec4;_0x40d194['push'](_0x243a61[_0x25a1c4(0x215)]),_0x5a01b7[String(_0x243a61[_0x25a1c4(0x215)])]=_0x243a61[_0x25a1c4(0x280)],_0x243a61[_0x25a1c4(0x237)]&&_0x243a61[_0x25a1c4(0x237)]['length']>0x0&&_0x2c5c77(_0x243a61[_0x25a1c4(0x237)]);});};return _0x53f4df&&_0x53f4df[_0x303b36(0x1f5)]>0x0&&_0x2c5c77(_0x53f4df),{'code':this[_0x303b36(0x216)],'name':this[_0x303b36(0x194)],'type':this[_0x303b36(0x1d4)],'multiple':this['isMultipleSelect'](),'options':_0x53f4df,'selectItemsSource':_0x24093b,'values':_0x40d194,'valueLabels':_0x5a01b7};}[a0_0x591580(0x236)](){const _0xc94117=a0_0x591580;return this[_0xc94117(0x21a)][_0xc94117(0x2ac)];}[a0_0x591580(0x299)](){const _0x34d41a=a0_0x591580;return this['extend'][_0x34d41a(0x26a)];}[a0_0x591580(0x1a4)](){const _0x5c9ccc=a0_0x591580;return{'name':this['name'],'code':this[_0x5c9ccc(0x216)],'type':this[_0x5c9ccc(0x1d4)],'description':this[_0x5c9ccc(0x20b)],'required':this['isRequired'](),'primaryKey':this[_0x5c9ccc(0x28c)](),'system':this['isSystem'](),'autoIncrement':this[_0x5c9ccc(0x1d2)](),'createTime':this[_0x5c9ccc(0x179)](),'updateTime':this['isUpdateTime'](),'isEnum':this['isEnum'](),'enumMeta':this[_0x5c9ccc(0x1d1)]()?this['getEnumMeta']():undefined};}}class FieldList{[a0_0x591580(0x1b6)];constructor(_0x255221,_0x3e842c){const _0xf92481=a0_0x591580;if(!Array['isArray'](_0x255221))throw new Error(_0xf92481(0x2c0));const _0x5a1a45=_0x3e842c?.[_0xf92481(0x254)]??![],_0x37cfa8=_0x5a1a45?_0x255221:_0x255221[_0xf92481(0x1ae)](_0x9393de=>!_0x9393de[_0xf92481(0x228)]);this['_fields']=_0x37cfa8[_0xf92481(0x133)](_0x2809b5=>new Field(_0x2809b5));}get['length'](){const _0x28323d=a0_0x591580;return this[_0x28323d(0x1b6)]['length'];}[a0_0x591580(0x243)](){return[...this['_fields']];}[a0_0x591580(0x2b9)](){const _0x1c23bd=a0_0x591580;return this['_fields'][_0x1c23bd(0x133)](_0x1d66fb=>_0x1d66fb[_0x1c23bd(0x2b9)]);}['at'](_0x15d092){const _0x254a37=a0_0x591580;return this[_0x254a37(0x1b6)]['at'](_0x15d092);}[a0_0x591580(0x28d)](_0x22a40c){const _0x2f8ac8=a0_0x591580;return this[_0x2f8ac8(0x1b6)][_0x2f8ac8(0x28d)](_0x295845=>_0x295845[_0x2f8ac8(0x216)]===_0x22a40c);}[a0_0x591580(0x153)](_0xdb217b){const _0x56e5fd=a0_0x591580;return this[_0x56e5fd(0x1b6)][_0x56e5fd(0x28d)](_0x4d44b5=>_0x4d44b5[_0x56e5fd(0x194)]===_0xdb217b);}['has'](_0x4ee528){const _0x3bd7cb=a0_0x591580;return this['_fields'][_0x3bd7cb(0x1f2)](_0x2c356a=>_0x2c356a[_0x3bd7cb(0x216)]===_0x4ee528);}[a0_0x591580(0x1df)](_0x417f07){const _0xc92f84=a0_0x591580;this[_0xc92f84(0x1b6)][_0xc92f84(0x1df)](_0x417f07);}[a0_0x591580(0x133)](_0x3999f9){const _0x1872bf=a0_0x591580;return this[_0x1872bf(0x1b6)][_0x1872bf(0x133)](_0x3999f9);}[a0_0x591580(0x1ae)](_0x29f0bf){const _0x270025=a0_0x591580;return this['_fields'][_0x270025(0x1ae)](_0x29f0bf);}[a0_0x591580(0x27a)](_0x20d14c){const _0x4cb1f3=a0_0x591580;return this[_0x4cb1f3(0x1b6)][_0x4cb1f3(0x27a)](_0x20d14c);}['some'](_0x31c107){const _0x13df1f=a0_0x591580;return this['_fields'][_0x13df1f(0x1f2)](_0x31c107);}[a0_0x591580(0x2de)](){const _0x538f26=a0_0x591580;return this[_0x538f26(0x1b6)]['filter'](_0x2d1214=>_0x2d1214[_0x538f26(0x26d)]());}['getPrimaryKeys'](){const _0x2ade96=a0_0x591580;return this[_0x2ade96(0x1b6)]['filter'](_0x46ae91=>_0x46ae91[_0x2ade96(0x28c)]());}[a0_0x591580(0x2bd)](){const _0x2e192d=a0_0x591580;return this[_0x2e192d(0x1b6)]['filter'](_0x9c2dec=>_0x9c2dec[_0x2e192d(0x255)]());}[a0_0x591580(0x25e)](){const _0x5069f9=a0_0x591580;return this[_0x5069f9(0x1b6)][_0x5069f9(0x1ae)](_0x4c7bf9=>_0x4c7bf9[_0x5069f9(0x2db)]());}[a0_0x591580(0x1e7)](){const _0x179214=a0_0x591580;return this[_0x179214(0x1b6)][_0x179214(0x1ae)](_0x51c8e1=>_0x51c8e1['isEnum']());}['getAutoIncrement'](){const _0xf1954a=a0_0x591580;return this[_0xf1954a(0x1b6)][_0xf1954a(0x1ae)](_0x2447a8=>_0x2447a8[_0xf1954a(0x1d2)]());}['getCreateTime'](){const _0x2a6207=a0_0x591580;return this[_0x2a6207(0x1b6)][_0x2a6207(0x1ae)](_0x5e830c=>_0x5e830c['isCreateTime']());}[a0_0x591580(0xec)](){const _0x505afa=a0_0x591580;return this[_0x505afa(0x1b6)][_0x505afa(0x1ae)](_0x134e8f=>_0x134e8f[_0x505afa(0x19a)]());}[a0_0x591580(0x279)](){const _0x482192=a0_0x591580;return this['_fields'][_0x482192(0x1ae)](_0x1c7bd4=>_0x1c7bd4['isDeleted']());}[a0_0x591580(0x200)](){const _0x3c5a4f=a0_0x591580;return this[_0x3c5a4f(0x1b6)][_0x3c5a4f(0x1ae)](_0x1cfeaa=>!_0x1cfeaa['isDeleted']());}['groupByType'](){const _0x4acd44=a0_0x591580,_0x214df7={};return this[_0x4acd44(0x1b6)]['forEach'](_0x131965=>{const _0x572270=_0x4acd44,_0x5e3094=_0x131965[_0x572270(0x1d4)];!_0x214df7[_0x5e3094]&&(_0x214df7[_0x5e3094]=[]),_0x214df7[_0x5e3094]['push'](_0x131965);}),_0x214df7;}[a0_0x591580(0x101)](){const _0x1bd07b=a0_0x591580,_0x8b6b8d={};return this[_0x1bd07b(0x1b6)]['forEach'](_0x5134d6=>{const _0x4e23ed=_0x1bd07b;if(_0x5134d6[_0x4e23ed(0x1d1)]()){const _0x32daf0=_0x5134d6[_0x4e23ed(0x152)]();_0x32daf0&&(_0x8b6b8d[_0x5134d6[_0x4e23ed(0x216)]]=_0x32daf0);}}),_0x8b6b8d;}[a0_0x591580(0x168)](){const _0x609f36=a0_0x591580;return{'total':this[_0x609f36(0x1f5)],'required':this[_0x609f36(0x2de)]()['length'],'primaryKey':this[_0x609f36(0x11d)]()[_0x609f36(0x1f5)],'system':this['getSystem']()[_0x609f36(0x1f5)],'business':this[_0x609f36(0x25e)]()[_0x609f36(0x1f5)],'enum':this[_0x609f36(0x1e7)]()[_0x609f36(0x1f5)],'autoIncrement':this[_0x609f36(0xfa)]()[_0x609f36(0x1f5)]};}['toJSON'](){const _0x4e3628=a0_0x591580;return this['_fields'][_0x4e3628(0x133)](_0x593286=>_0x593286['toJSON']());}['getCodes'](){const _0x2fc17b=a0_0x591580;return this[_0x2fc17b(0x1b6)]['map'](_0xebe472=>_0xebe472[_0x2fc17b(0x216)]);}[a0_0x591580(0x165)](){const _0x5021a7=a0_0x591580;return this['_fields'][_0x5021a7(0x133)](_0x4109e2=>_0x4109e2[_0x5021a7(0x194)]);}static['from'](_0x3d543e){const _0x262e55=a0_0x591580,_0x57f542=_0x3d543e[_0x262e55(0x133)](_0x4b9fc0=>_0x4b9fc0['raw']);return new FieldList(_0x57f542);}static[a0_0x591580(0xe0)](_0x35eced){return new FieldList(_0x35eced,{'includeDeleted':!![]});}}class DrivenDataDetail extends DatasetItem{['_operationList'];[a0_0x591580(0x290)];[a0_0x591580(0x2c5)];constructor(_0x3e8661){const _0x4f2587=a0_0x591580;super({..._0x3e8661,'id':_0x3e8661[_0x4f2587(0x1a5)],'datasetCode':_0x3e8661['modelCode']});}get[a0_0x591580(0x297)](){const _0x474d39=a0_0x591580;return this['_raw'][_0x474d39(0x297)];}[a0_0x591580(0x128)](){const _0x5417e3=a0_0x591580;return this[_0x5417e3(0x297)];}get[a0_0x591580(0x28e)](){const _0x3fb87d=a0_0x591580;return this[_0x3fb87d(0xd1)][_0x3fb87d(0x28e)];}['getFieldList'](){const _0x5ea36f=a0_0x591580;return!this[_0x5ea36f(0x290)]&&(this['_fieldList']=new FieldList(this[_0x5ea36f(0xd1)][_0x5ea36f(0x2bf)]||[])),this[_0x5ea36f(0x290)];}['getFieldListWithDeleted'](){const _0x21009e=a0_0x591580;return!this[_0x21009e(0x2c5)]&&(this[_0x21009e(0x2c5)]=FieldList[_0x21009e(0xe0)](this['_raw']['properties']||[])),this[_0x21009e(0x2c5)];}[a0_0x591580(0x29b)](){const _0x4df66c=a0_0x591580;return this[_0x4df66c(0x29c)]()[_0x4df66c(0x2b9)]();}['getFieldsWithDeleted'](){const _0x17fcda=a0_0x591580;return this[_0x17fcda(0xd1)][_0x17fcda(0x2bf)]||[];}[a0_0x591580(0x175)](){const _0xaeeb61=a0_0x591580;return this[_0xaeeb61(0x29c)]()[_0xaeeb61(0x1f5)];}[a0_0x591580(0x1b5)](_0x5f1f83){const _0x541571=a0_0x591580,_0x558757=this[_0x541571(0x13e)](_0x5f1f83);return _0x558757?_0x558757[_0x541571(0x2b9)]:undefined;}[a0_0x591580(0x1a6)](_0xa9276){const _0x3b8301=a0_0x591580;return this[_0x3b8301(0x29c)]()['find'](_0xa9276)?.[_0x3b8301(0x2b9)]||undefined;}[a0_0x591580(0x13e)](_0x16c0ce){const _0x4b3e36=a0_0x591580;if(typeof _0x16c0ce!==_0x4b3e36(0x222)){!![]&&console[_0x4b3e36(0x1ed)](_0x4b3e36(0x1b4),_0x16c0ce);return;}return this[_0x4b3e36(0x29c)]()[_0x4b3e36(0x28d)](_0x16c0ce);}[a0_0x591580(0x233)](_0x21fd72){const _0x5cf0e7=a0_0x591580;return this[_0x5cf0e7(0x29c)]()['has'](_0x21fd72);}[a0_0x591580(0x1ca)](_0x4319f4){const _0x3c8061=a0_0x591580;if(!_0x4319f4||typeof _0x4319f4!=='object')return!![]&&console[_0x3c8061(0x1ed)](_0x3c8061(0x29e),_0x4319f4),{};if(!_0x4319f4['extend'])return{};try{const _0x1851be=typeof _0x4319f4[_0x3c8061(0x21a)]===_0x3c8061(0x222)?JSON['parse'](_0x4319f4[_0x3c8061(0x21a)]):_0x4319f4['extend'];if(typeof _0x1851be!==_0x3c8061(0xe9)||_0x1851be===null)return{};return _0x1851be;}catch(_0x3292fb){return{};}}[a0_0x591580(0x2bc)](_0x4cc73d){const _0x1dd48a=a0_0x591580;if(!_0x4cc73d||typeof _0x4cc73d!==_0x1dd48a(0xe9))return![];const _0x4f201e=this[_0x1dd48a(0x29c)]()[_0x1dd48a(0x28d)](_0x4cc73d['code']);return _0x4f201e?_0x4f201e[_0x1dd48a(0x28c)]():![];}[a0_0x591580(0x1fc)](_0xdbb88f){const _0x89c6ab=a0_0x591580;if(!_0xdbb88f||typeof _0xdbb88f!=='object')return![];const _0x34547f=this[_0x89c6ab(0x29c)]()[_0x89c6ab(0x28d)](_0xdbb88f['code']);return _0x34547f?_0x34547f['isSystem']():![];}[a0_0x591580(0x11f)](_0x203964){const _0x25de99=a0_0x591580;if(!_0x203964||typeof _0x203964!==_0x25de99(0xe9))return![];const _0x387c58=this[_0x25de99(0x29c)]()['find'](_0x203964['code']);return _0x387c58?_0x387c58[_0x25de99(0x26d)]():![];}[a0_0x591580(0x137)](){const _0x22a984=a0_0x591580;return this[_0x22a984(0x29c)]()[_0x22a984(0x11d)]()[_0x22a984(0x133)](_0x34a6eb=>_0x34a6eb['raw']);}[a0_0x591580(0x1eb)](){const _0x50b11c=a0_0x591580;return this[_0x50b11c(0x29c)]()[_0x50b11c(0x2bd)]()[_0x50b11c(0x133)](_0x418137=>_0x418137[_0x50b11c(0x2b9)]);}[a0_0x591580(0x1e6)](){const _0x3df714=a0_0x591580;return this[_0x3df714(0x29c)]()['getBusiness']()[_0x3df714(0x133)](_0x253030=>_0x253030[_0x3df714(0x2b9)]);}[a0_0x591580(0x1ab)](){const _0x3190de=a0_0x591580;return this[_0x3190de(0x29c)]()[_0x3190de(0x2de)]()[_0x3190de(0x133)](_0x4454fd=>_0x4454fd['raw']);}[a0_0x591580(0x2c7)](){const _0x559aa3=a0_0x591580,_0x1df3d6=this[_0x559aa3(0x29c)]()[_0x559aa3(0x1c8)](),_0x1f5385={};for(const [_0x3f9615,_0xe22cc8]of Object[_0x559aa3(0xdd)](_0x1df3d6)){_0x1f5385[_0x3f9615]=_0xe22cc8[_0x559aa3(0x133)](_0x358e22=>_0x358e22[_0x559aa3(0x2b9)]);}return _0x1f5385;}[a0_0x591580(0x19f)](_0x41bdd9){const _0x3b3e29=a0_0x591580;if(!_0x41bdd9||typeof _0x41bdd9!==_0x3b3e29(0xe9))return![];const _0x41bf5e=this['getFieldList']()['find'](_0x41bdd9['code']);return _0x41bf5e?_0x41bf5e[_0x3b3e29(0x1d1)]():![];}[a0_0x591580(0x180)](_0x3bb2b0){const _0x320936=a0_0x591580;if(!_0x3bb2b0||typeof _0x3bb2b0!=='object')return![];const _0x102ad6=this[_0x320936(0x29c)]()[_0x320936(0x28d)](_0x3bb2b0[_0x320936(0x216)]);return _0x102ad6?_0x102ad6['isMultipleSelect']():![];}[a0_0x591580(0x12c)](_0x3c213c){const _0x424949=a0_0x591580;if(!_0x3c213c||typeof _0x3c213c!=='object')return[];const _0x251719=this[_0x424949(0x29c)]()[_0x424949(0x28d)](_0x3c213c[_0x424949(0x216)]);if(!_0x251719||!_0x251719['isEnum']())return[];return _0x251719[_0x424949(0x1a1)]()||[];}[a0_0x591580(0x15f)](_0x23503a){const _0x5cc5bf=a0_0x591580;if(!_0x23503a||typeof _0x23503a!==_0x5cc5bf(0xe9))return;const _0xb66b60=this[_0x5cc5bf(0x29c)]()[_0x5cc5bf(0x28d)](_0x23503a[_0x5cc5bf(0x216)]);if(!_0xb66b60||!_0xb66b60['isEnum']())return;return _0xb66b60['getSelectItemsSource']();}[a0_0x591580(0x1da)](_0x42c965){const _0x38d880=a0_0x591580;if(!_0x42c965||typeof _0x42c965!==_0x38d880(0xe9))return;const _0x59007e=this[_0x38d880(0x29c)]()[_0x38d880(0x28d)](_0x42c965[_0x38d880(0x216)]);if(!_0x59007e||!_0x59007e[_0x38d880(0x1d1)]())return;return _0x59007e[_0x38d880(0x152)]();}[a0_0x591580(0x16f)](){const _0x2058e4=a0_0x591580;return this[_0x2058e4(0x29c)]()[_0x2058e4(0x1e7)]()[_0x2058e4(0x133)](_0x34c5a6=>_0x34c5a6['raw']);}['getEnumFieldsMeta'](){const _0x8abc64=a0_0x591580,_0x3f13d6={};return this[_0x8abc64(0x16f)]()[_0x8abc64(0x1df)](_0x41365a=>{const _0x413381=_0x8abc64,_0x2915e3=this[_0x413381(0x1da)](_0x41365a);_0x2915e3&&(_0x3f13d6[_0x41365a['code']]=_0x2915e3);}),_0x3f13d6;}[a0_0x591580(0x2b7)](_0x539f46,_0x291d28){const _0x4bd17f=a0_0x591580,_0x43eaec=this['getEnumFieldMeta'](_0x539f46);if(!_0x43eaec)return!![];if(_0x43eaec['selectItemsSource']&&!_0x43eaec[_0x4bd17f(0xed)])return!![];if(_0x43eaec[_0x4bd17f(0x109)]&&Array[_0x4bd17f(0x2ba)](_0x291d28))return _0x291d28['every'](_0x52a602=>_0x43eaec['values']['includes'](_0x52a602));return _0x43eaec['values'][_0x4bd17f(0x219)](_0x291d28);}[a0_0x591580(0x223)](){const _0x590718=a0_0x591580;if(!this[_0x590718(0x28b)]){const _0x3af94a=this[_0x590718(0xfb)](this['_raw'][_0x590718(0x277)]||{});this[_0x590718(0x28b)]=new OperationList(_0x3af94a,{'fields':this[_0x590718(0x29b)](),'pkField':this[_0x590718(0xd1)][_0x590718(0x145)]?.[_0x590718(0x2ae)],'dbtableConfig':this[_0x590718(0xd1)][_0x590718(0x145)]});}return this[_0x590718(0x28b)];}[a0_0x591580(0xfb)](_0x964b7c){const _0x524ed1=a0_0x591580;if(_0x964b7c[_0x524ed1(0x1ae)]!==undefined)return _0x964b7c;return{..._0x964b7c,'filter':this[_0x524ed1(0x19b)]()};}[a0_0x591580(0x19b)](){const _0x5094f4=a0_0x591580,_0xaf582e=this[_0x5094f4(0xd1)]['operations']?.[_0x5094f4(0x162)];let _0x3f32f0=_0xaf582e?.['host'],_0x48fa2e='';if(!_0x3f32f0&&this[_0x5094f4(0xd1)][_0x5094f4(0x277)]){const _0x73ad89=Object['values'](this[_0x5094f4(0xd1)]['operations']);for(const _0x1774e2 of _0x73ad89){if(_0x1774e2&&typeof _0x1774e2==='object'&&_0x5094f4(0x22b)in _0x1774e2){_0x3f32f0=_0x1774e2['host'];break;}}}if(_0xaf582e?.['path']){const _0x40d7cf=_0xaf582e[_0x5094f4(0xe4)],_0x2d60b9=_0x40d7cf['lastIndexOf']('/');_0x2d60b9!==-0x1&&(_0x48fa2e=_0x40d7cf[_0x5094f4(0x147)](0x0,_0x2d60b9));}return{'name':'filter','type':_0x5094f4(0x2b2),'description':_0x5094f4(0x15e),'method':_0x5094f4(0x163),'host':_0x3f32f0,'path':_0x48fa2e?_0x48fa2e+_0x5094f4(0x17b):'/filter','params':_0xaf582e?.[_0x5094f4(0x1b8)]||[{'name':_0x5094f4(0x257),'type':'object','required':![]},{'name':_0x5094f4(0x2b3),'type':'array','required':![]},{'name':'orderBy','type':_0x5094f4(0x167),'required':![]},{'name':'currentPage','type':'number','required':![],'default':0x1},{'name':_0x5094f4(0x25f),'type':'number','required':![],'default':0xa}],'_autoGenerated':!![]};}[a0_0x591580(0x25a)](){const _0x13b0c8=a0_0x591580;return this[_0x13b0c8(0x223)]()[_0x13b0c8(0x268)]();}[a0_0x591580(0x1d8)](){const _0x148c77=a0_0x591580;return this[_0x148c77(0x223)]()[_0x148c77(0x181)]();}[a0_0x591580(0xf9)](_0x160678){const _0x5ef03f=a0_0x591580;if(typeof _0x160678!=='string'){!![]&&console[_0x5ef03f(0x1ed)]('[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:',_0x160678);return;}return this[_0x5ef03f(0x223)]()[_0x5ef03f(0x201)](_0x160678);}[a0_0x591580(0x10d)](_0x1fe5e8){const _0x1bab14=a0_0x591580;if(typeof _0x1fe5e8!==_0x1bab14(0x222))return![];return this[_0x1bab14(0x223)]()[_0x1bab14(0x20c)](_0x1fe5e8);}[a0_0x591580(0x1c7)](_0x4a44ac){const _0x3b4cf8=a0_0x591580;if(typeof _0x4a44ac!==_0x3b4cf8(0x222))return![];const _0x20db38=this[_0x3b4cf8(0xf9)](_0x4a44ac);return _0x20db38?.['isEnabled']()||![];}['getEnabledOperations'](){const _0x36a81a=a0_0x591580;return this[_0x36a81a(0x223)]()['getEnabledNames']();}[a0_0x591580(0xfe)](){const _0x4ed33e=a0_0x591580;return this['getOperationList']()[_0x4ed33e(0x160)]();}[a0_0x591580(0x245)](){const _0x53b282=a0_0x591580;return this[_0x53b282(0x223)]()[_0x53b282(0x1b2)]();}[a0_0x591580(0x1bd)](){const _0x587885=a0_0x591580;return this[_0x587885(0x223)]()[_0x587885(0x2cf)]();}[a0_0x591580(0x168)](){const _0x4bef61=a0_0x591580;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this['getSystemFields']()[_0x4bef61(0x1f5)],'businessFieldCount':this[_0x4bef61(0x1e6)]()['length'],'requiredFieldCount':this[_0x4bef61(0x1ab)]()[_0x4bef61(0x1f5)],'primaryKeyCount':this[_0x4bef61(0x137)]()[_0x4bef61(0x1f5)],'operationCount':this[_0x4bef61(0x1d8)](),'enabledOperationCount':this[_0x4bef61(0x177)]()[_0x4bef61(0x1f5)]};}[a0_0x591580(0xe6)](){const _0x96ba38=a0_0x591580;return new DatasetItem({'id':this['id'],'name':this[_0x96ba38(0x194)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x96ba38(0x16e)]()});}[a0_0x591580(0x22a)](){const _0x204267=a0_0x591580;return _0x204267(0x211)+this[_0x204267(0x194)]+',\x20'+this[_0x204267(0x242)]+',\x20'+this[_0x204267(0x175)]()+'\x20fields,\x20'+this[_0x204267(0x1d8)]()+_0x204267(0x106);}[a0_0x591580(0x1d0)](){const _0x3f3fff=a0_0x591580,_0x5ed6ad=this['getOperation'](_0x3f3fff(0x1ae));return _0x5ed6ad;}[a0_0x591580(0x256)](){const _0xeabf88=a0_0x591580;return this[_0xeabf88(0x10d)](_0xeabf88(0x1ae));}[a0_0x591580(0x2d1)](_0x44947e){const _0x14c1b0=a0_0x591580,_0x4615f3=this[_0x14c1b0(0xf9)](_0x44947e);return _0x4615f3?_0x4615f3[_0x14c1b0(0x1c9)]():[];}[a0_0x591580(0x229)](_0x4cffc8,_0x3a0a6a){const _0x569b6b=a0_0x591580,_0x23d107=this[_0x569b6b(0xf9)](_0x4cffc8);return _0x23d107?_0x23d107['getFieldOperators'](_0x3a0a6a):[];}[a0_0x591580(0x115)](_0x11c184){const _0xb18531=a0_0x591580,_0x39e8af={};return this[_0xb18531(0x29c)]()['forEach'](_0x35ff19=>{const _0x20d237=_0xb18531,_0x3283e7=this['getOperationFieldOperators'](_0x11c184,_0x35ff19[_0x20d237(0x216)]);_0x3283e7[_0x20d237(0x1f5)]>0x0&&(_0x39e8af[_0x35ff19[_0x20d237(0x216)]]=_0x3283e7);}),_0x39e8af;}[a0_0x591580(0x213)](_0x23ce37,_0x46ffed,_0x241289){const _0x5f2e4e=a0_0x591580,_0x21c7d7=this[_0x5f2e4e(0x229)](_0x23ce37,_0x46ffed);return _0x21c7d7[_0x5f2e4e(0x219)](_0x241289);}[a0_0x591580(0x21e)](){const _0x3f7d0f=a0_0x591580;return this[_0x3f7d0f(0x2d1)](_0x3f7d0f(0x1ae));}[a0_0x591580(0x1bf)](_0x54a01b){const _0xdc36c3=a0_0x591580;return this[_0xdc36c3(0x229)](_0xdc36c3(0x1ae),_0x54a01b);}['getFieldsFilterOperatorsMap'](){const _0x53c42e=a0_0x591580;return this[_0x53c42e(0x115)](_0x53c42e(0x1ae));}}class DatasetGroup{[a0_0x591580(0x127)];constructor(_0x491d54){const _0x3426f8=a0_0x591580;this['items']=Array['isArray'](_0x491d54)?[..._0x491d54]:[_0x491d54],this[_0x3426f8(0x127)][_0x3426f8(0x20f)]((_0x3894c7,_0x388441)=>{const _0x27f08f=Number(_0x3894c7['id'])||0x0,_0x2abec6=Number(_0x388441['id'])||0x0;return _0x2abec6-_0x27f08f;});}['hasConflict'](){const _0x1e3080=a0_0x591580;return this[_0x1e3080(0x127)]['length']>0x1;}[a0_0x591580(0x198)](){return this['items'][0x0];}[a0_0x591580(0x258)](){const _0x4310b9=a0_0x591580;return this[_0x4310b9(0x127)][this['items']['length']-0x1];}['getAll'](){const _0x5aa601=a0_0x591580;return[...this[_0x5aa601(0x127)]];}[a0_0x591580(0x1e1)](){const _0x2a0032=a0_0x591580;return this['items'][_0x2a0032(0x1f5)];}[a0_0x591580(0x2b4)](_0x5173cc){const _0xe3610c=a0_0x591580;return this[_0xe3610c(0x127)][_0x5173cc];}[a0_0x591580(0x2af)](_0x1c86ff){const _0x3ccd6c=a0_0x591580;return this[_0x3ccd6c(0x127)][_0x3ccd6c(0x28d)](_0x1ae96b=>_0x1ae96b['id']===_0x1c86ff);}[a0_0x591580(0x140)](_0x537ec3){const _0xa242f=a0_0x591580;return this[_0xa242f(0x127)][_0xa242f(0x28d)](_0x4ef8fe=>_0x4ef8fe[_0xa242f(0x242)]===_0x537ec3);}[a0_0x591580(0x23d)](){const _0x6e02ee=a0_0x591580;return this[_0x6e02ee(0x127)][_0x6e02ee(0x133)](_0x336826=>_0x336826['id'])['filter'](_0xe5a2f4=>_0xe5a2f4!==undefined);}['getCodes'](){const _0x28e3f4=a0_0x591580;return this[_0x28e3f4(0x127)][_0x28e3f4(0x133)](_0xd04f25=>_0xd04f25[_0x28e3f4(0x242)]);}[a0_0x591580(0x22a)](){const _0x1a597f=a0_0x591580;if(this['hasConflict']())return'DatasetGroup('+this[_0x1a597f(0x127)][_0x1a597f(0x1f5)]+_0x1a597f(0x23a)+this[_0x1a597f(0x198)]()[_0x1a597f(0x194)]+')';return _0x1a597f(0xdc)+this[_0x1a597f(0x127)][0x0][_0x1a597f(0x194)]+')';}}class DatasetGroupMap{[a0_0x591580(0x143)];constructor(_0x4a0f66){const _0x3262b2=a0_0x591580;this[_0x3262b2(0x143)]=new Map();for(const _0x4565ec of _0x4a0f66){const _0x35cdf9=getTableKey(_0x4565ec);if(!this[_0x3262b2(0x143)]['has'](_0x35cdf9))this[_0x3262b2(0x143)][_0x3262b2(0x238)](_0x35cdf9,new DatasetGroup(_0x4565ec));else{const _0x4d0f83=this[_0x3262b2(0x143)]['get'](_0x35cdf9),_0x14d669=[..._0x4d0f83[_0x3262b2(0x2a9)](),_0x4565ec];this['groups'][_0x3262b2(0x238)](_0x35cdf9,new DatasetGroup(_0x14d669));}}}[a0_0x591580(0x201)](_0x4ac57c){const _0x1b5140=a0_0x591580;return this[_0x1b5140(0x143)]['get'](_0x4ac57c);}[a0_0x591580(0x20c)](_0x488328){const _0x4b2827=a0_0x591580;return this[_0x4b2827(0x143)]['has'](_0x488328);}get[a0_0x591580(0x181)](){const _0x36e3b1=a0_0x591580;return this['groups'][_0x36e3b1(0x181)];}[a0_0x591580(0x2dc)](){const _0x2b5f33=a0_0x591580;return this[_0x2b5f33(0x143)][_0x2b5f33(0x2dc)]();}['values'](){const _0x46b69f=a0_0x591580;return this[_0x46b69f(0x143)][_0x46b69f(0x18a)]();}[a0_0x591580(0xdd)](){const _0x586153=a0_0x591580;return this[_0x586153(0x143)][_0x586153(0xdd)]();}[Symbol[a0_0x591580(0x276)]](){const _0x880287=a0_0x591580;return this[_0x880287(0x143)][_0x880287(0xdd)]();}[a0_0x591580(0x1df)](_0x1b84ff){const _0x1a68ab=a0_0x591580;this[_0x1a68ab(0x143)][_0x1a68ab(0x1df)]((_0x279f5c,_0x4cb454)=>_0x1b84ff(_0x279f5c,_0x4cb454,this));}[a0_0x591580(0x253)](){const _0x26e7e9=a0_0x591580,_0x1ec140=new Map();for(const [_0x182ced,_0x224419]of this[_0x26e7e9(0x143)]){_0x224419[_0x26e7e9(0x1c6)]()&&_0x1ec140[_0x26e7e9(0x238)](_0x182ced,_0x224419);}return _0x1ec140;}[a0_0x591580(0x158)](){const _0x526dac=a0_0x591580;for(const _0x933edf of this['groups'][_0x526dac(0x18a)]()){if(_0x933edf['hasConflict']())return!![];}return![];}[a0_0x591580(0x251)](){const _0x5a0ae3=a0_0x591580;let _0x5759e2=0x0,_0x54fb59=0x0;for(const _0x4d2bd4 of this[_0x5a0ae3(0x143)]['values']()){_0x4d2bd4[_0x5a0ae3(0x1c6)]()&&(_0x5759e2++,_0x54fb59+=_0x4d2bd4[_0x5a0ae3(0x1e1)]());}return{'conflictGroupCount':_0x5759e2,'conflictItemCount':_0x54fb59,'totalGroups':this['groups'][_0x5a0ae3(0x181)]};}[a0_0x591580(0x2dd)](){const _0xbeda67=a0_0x591580,_0x1c7610=[];for(const _0x313033 of this['groups'][_0xbeda67(0x18a)]()){_0x1c7610[_0xbeda67(0x1ac)](..._0x313033[_0xbeda67(0x2a9)]());}return _0x1c7610;}[a0_0x591580(0x148)](){const _0x483961=a0_0x591580,_0x52e475=[];for(const _0x5de57d of this[_0x483961(0x143)][_0x483961(0x18a)]()){_0x52e475[_0x483961(0x1ac)](_0x5de57d['getLatest']());}return _0x52e475;}[a0_0x591580(0x198)](_0x1e2bde){const _0x406e19=a0_0x591580;return this[_0x406e19(0x143)][_0x406e19(0x201)](_0x1e2bde)?.[_0x406e19(0x198)]();}['getAll'](_0x4b1eb8){const _0x1c82bf=a0_0x591580;return this[_0x1c82bf(0x143)][_0x1c82bf(0x201)](_0x4b1eb8)?.['getAll']()||[];}[a0_0x591580(0x282)](){const _0x4fa965=a0_0x591580,_0x46a285=this[_0x4fa965(0x148)](),_0x2586a0=_0x46a285[_0x4fa965(0x133)](_0x25064d=>_0x25064d['toJSON']());return generateDatasetsConfig(_0x2586a0,{'enableDeduplication':![]});}[a0_0x591580(0x17d)](){const _0x1205a0=a0_0x591580,_0x159194=this['getAllDatasets'](),_0x148cf8=_0x159194[_0x1205a0(0x133)](_0x1b251c=>_0x1b251c[_0x1205a0(0x1a4)]());return generateFullDatasetsConfig(_0x148cf8);}['toObject'](){const _0x3b6fca=a0_0x591580,_0xab9f0b={};for(const [_0xe49019,_0x406fc2]of this[_0x3b6fca(0x143)]){_0xab9f0b[_0xe49019]=_0x406fc2;}return _0xab9f0b;}[a0_0x591580(0x1a4)](){const _0x2f31c9=a0_0x591580,_0xba0a5a={};for(const [_0xed5478,_0x24e8e6]of this[_0x2f31c9(0x143)]){_0xba0a5a[_0xed5478]=_0x24e8e6['getAll']()['map'](_0x23bcd3=>_0x23bcd3[_0x2f31c9(0x1a4)]());}return _0xba0a5a;}[a0_0x591580(0x22a)](){const _0x33981e=a0_0x591580;return'DatasetGroupMap('+this[_0x33981e(0x143)]['size']+'\x20groups,\x20'+(this['hasConflicts']()?_0x33981e(0x176):_0x33981e(0x267))+')';}}class DatasetList{[a0_0x591580(0x24f)];constructor(_0x2ea7b3){const _0xad4064=a0_0x591580;let _0x1f3d8e;if(Array[_0xad4064(0x2ba)](_0x2ea7b3))_0x1f3d8e=_0x2ea7b3;else{if(_0xad4064(0x10b)in _0x2ea7b3){if(!_0x2ea7b3[_0xad4064(0x10b)]||!_0x2ea7b3[_0xad4064(0x220)]?.[_0xad4064(0x2bb)])throw new Error('Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData');_0x1f3d8e=_0x2ea7b3[_0xad4064(0x220)][_0xad4064(0x2bb)]['map'](_0x19ce78=>({..._0x19ce78,'datasetCode':_0x19ce78[_0xad4064(0x216)]||_0x19ce78[_0xad4064(0x242)]}));}else{if(_0xad4064(0x2bb)in _0x2ea7b3){if(!Array[_0xad4064(0x2ba)](_0x2ea7b3['tableData']))throw new Error(_0xad4064(0xe8));_0x1f3d8e=_0x2ea7b3[_0xad4064(0x2bb)]['map'](_0x1bf6cb=>({..._0x1bf6cb,'datasetCode':_0x1bf6cb[_0xad4064(0x216)]||_0x1bf6cb[_0xad4064(0x242)]}));}else throw new Error(_0xad4064(0x178));}}const _0xeb3cda=_0x1f3d8e[_0xad4064(0x133)](_0x34ca3e=>new DatasetItem(_0x34ca3e));this[_0xad4064(0x24f)]=new DatasetGroupMap(_0xeb3cda);}get[a0_0x591580(0x1cf)](){return this['_datasetMap'];}[a0_0x591580(0xd8)](){const _0x5cb587=a0_0x591580;return this[_0x5cb587(0x24f)][_0x5cb587(0x2dd)]();}[a0_0x591580(0x1e1)](){const _0x4c33de=a0_0x591580;return this[_0x4c33de(0xd8)]()[_0x4c33de(0x1f5)];}[a0_0x591580(0x15b)](){const _0x2d8162=a0_0x591580;return this[_0x2d8162(0x24f)][_0x2d8162(0x181)]===0x0;}['getAt'](_0x2da3bf){const _0x334338=a0_0x591580;return this[_0x334338(0xd8)]()[_0x2da3bf];}[a0_0x591580(0xef)](){return this['getItems']()[0x0];}[a0_0x591580(0x188)](){const _0x243432=a0_0x591580,_0x16625e=this[_0x243432(0xd8)]();return _0x16625e[_0x16625e[_0x243432(0x1f5)]-0x1];}[a0_0x591580(0x140)](_0x1253f1){const _0x167576=a0_0x591580;for(const _0x2c75fe of this[_0x167576(0x24f)]['values']()){const _0x351f3b=_0x2c75fe['findByCode'](_0x1253f1);if(_0x351f3b)return _0x351f3b;}return;}[a0_0x591580(0x153)](_0x1405c9){const _0x30ec6f=a0_0x591580;return this[_0x30ec6f(0xd8)]()['find'](_0x18e152=>_0x18e152[_0x30ec6f(0x194)]===_0x1405c9);}[a0_0x591580(0x2af)](_0x459943){const _0x5a0f2b=a0_0x591580;for(const _0x132346 of this[_0x5a0f2b(0x24f)][_0x5a0f2b(0x18a)]()){const _0x3eb5f1=_0x132346['findById'](_0x459943);if(_0x3eb5f1)return _0x3eb5f1;}return;}[a0_0x591580(0x202)](_0x9613ad){const _0x5a3b00=a0_0x591580,_0x119247=getTableKey(_0x9613ad);return this['_datasetMap'][_0x5a3b00(0x198)](_0x119247);}['filter'](_0x12d4bc){const _0x1b3b0e=a0_0x591580,_0x135097=this['getItems']()[_0x1b3b0e(0x1ae)](_0x12d4bc);return new DatasetList(_0x135097['map'](_0x87727c=>_0x87727c['toJSON']()));}[a0_0x591580(0xd2)](_0xe287d0){const _0x55aebd=a0_0x591580;return this[_0x55aebd(0xd8)]()[_0x55aebd(0x1ae)](_0xe287d0);}[a0_0x591580(0x1df)](_0x560fe9){const _0x459366=a0_0x591580;this[_0x459366(0xd8)]()[_0x459366(0x1df)](_0x560fe9);}[a0_0x591580(0x133)](_0x3dfec9){const _0x4fab2b=a0_0x591580;return this[_0x4fab2b(0xd8)]()[_0x4fab2b(0x133)](_0x3dfec9);}[Symbol[a0_0x591580(0x276)]](){const _0x32a9e2=a0_0x591580;return this[_0x32a9e2(0xd8)]()[Symbol[_0x32a9e2(0x276)]]();}['getVirtualTables'](){const _0xdcea02=a0_0x591580;return this['getItems']()['filter'](_0x384345=>_0x384345[_0xdcea02(0xeb)]());}[a0_0x591580(0x18b)](){const _0x50eeee=a0_0x591580;return this[_0x50eeee(0xd8)]()['filter'](_0xe64683=>!_0xe64683[_0x50eeee(0xeb)]());}[a0_0x591580(0x19e)](){const _0x4057b2=a0_0x591580,_0x450696={};for(const _0x42e575 of this[_0x4057b2(0x24f)][_0x4057b2(0x18a)]()){const _0x51927e=_0x42e575['getLatest']()[_0x4057b2(0x212)]();_0x450696[_0x51927e]=_0x42e575['getAll']();}return _0x450696;}[a0_0x591580(0xee)](){const _0x3fa746=a0_0x591580,_0x10300f={};for(const _0x1c15f3 of this['_datasetMap']['getConflicts']()[_0x3fa746(0x18a)]()){const _0x3b3151=_0x1c15f3[_0x3fa746(0x198)]()[_0x3fa746(0x212)]();_0x10300f[_0x3b3151]=_0x1c15f3[_0x3fa746(0x2a9)]()[_0x3fa746(0x133)](_0x1b0be4=>_0x1b0be4['toJSON']());}return{'hasConflicts':Object[_0x3fa746(0x2dc)](_0x10300f)[_0x3fa746(0x1f5)]>0x0,'conflicts':_0x10300f};}[a0_0x591580(0x158)](){const _0x44df46=a0_0x591580;return this[_0x44df46(0x24f)][_0x44df46(0x158)]();}[a0_0x591580(0x138)](){const _0x5b65c4=a0_0x591580,_0x33190d=[];for(const _0x27dcaf of this[_0x5b65c4(0x24f)]['getConflicts']()['values']()){_0x33190d['push'](..._0x27dcaf['getAll']());}return _0x33190d;}['generateConfig'](_0x1a731e){const _0x4f72d2=a0_0x591580;if(!_0x1a731e||Object[_0x4f72d2(0x2dc)](_0x1a731e)[_0x4f72d2(0x1f5)]===0x0)return this[_0x4f72d2(0x1cf)][_0x4f72d2(0x282)]();const _0x54da39=this[_0x4f72d2(0xd8)]()[_0x4f72d2(0x133)](_0x38c563=>_0x38c563[_0x4f72d2(0x1a4)]());return generateDatasetsConfig(_0x54da39,_0x1a731e);}['generateConfigArray'](_0x3a74f0){const _0x164667=this['generateConfig'](_0x3a74f0);return datasetsConfigToArray(_0x164667);}[a0_0x591580(0x294)](){const _0x2e1787=a0_0x591580;return this[_0x2e1787(0xd8)]()[_0x2e1787(0x133)](_0x4f9bab=>_0x4f9bab[_0x2e1787(0x282)]());}[a0_0x591580(0x168)](){const _0xe7e26f=a0_0x591580;return{'total':this[_0xe7e26f(0x1e1)](),'virtualTables':this['getVirtualTables']()['length'],'realTables':this['getRealTables']()[_0xe7e26f(0x1f5)],'hasConflicts':this[_0xe7e26f(0x158)](),'conflictCount':this['getConflictingItems']()['length']};}[a0_0x591580(0x268)](){const _0x457de6=a0_0x591580;return this[_0x457de6(0xd8)]()[_0x457de6(0x133)](_0x4b7cf8=>_0x4b7cf8[_0x457de6(0x1a4)]());}[a0_0x591580(0x1a4)](){const _0x3e86f8=a0_0x591580;return this[_0x3e86f8(0x268)]();}[a0_0x591580(0x22a)](){const _0xde537d=a0_0x591580;return _0xde537d(0x14a)+this['getCount']()+_0xde537d(0x12e)+this[_0xde537d(0x24f)][_0xde537d(0x181)]+_0xde537d(0x1be);}static[a0_0x591580(0xdf)](_0x11dbd6){return new DatasetList(_0x11dbd6);}static[a0_0x591580(0x261)](_0x9801ec){return new DatasetList(_0x9801ec);}static[a0_0x591580(0x24d)](){return new DatasetList([]);}}function operationToAnalysis(_0x23a18e){const _0x46d79a=a0_0x591580;return{'name':_0x23a18e[_0x46d79a(0x103)](),'displayName':_0x23a18e['getDisplayName'](),'type':_0x23a18e['getType'](),'method':_0x23a18e['getMethod'](),'path':_0x23a18e[_0x46d79a(0x1e2)](),'fullUrl':_0x23a18e[_0x46d79a(0x284)](),'requestFields':_0x23a18e['getRequestFields'](),'requestParams':_0x23a18e[_0x46d79a(0x17e)](),'responseSchema':_0x23a18e['getResponseSchema'](),'requestExample':_0x23a18e['generateRequestExample'](),'responseExample':_0x23a18e['generateResponseExample'](),'enabled':_0x23a18e[_0x46d79a(0xe2)]()};}function operationsToAnalyses(_0x5e4495){return _0x5e4495['map'](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x591580(0xd4)];[a0_0x591580(0x25d)](_0x358194=![]){const _0x283302=a0_0x591580;if(!_0x358194&&this[_0x283302(0xd4)])return this[_0x283302(0xd4)];const _0xa79a24=this[_0x283302(0x25a)]();return this[_0x283302(0xd4)]=operationsToAnalyses(_0xa79a24),this[_0x283302(0xd4)];}[a0_0x591580(0x1a0)](){return this['getFilteredOperationAnalyses']({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x591580(0x14b)](_0x117719={}){const _0x16be3a=a0_0x591580;let _0x20333b=this[_0x16be3a(0x25d)]();return!_0x117719['includeDisabled']&&(_0x20333b=_0x20333b[_0x16be3a(0x1ae)](_0x1d4138=>_0x1d4138[_0x16be3a(0x17c)])),_0x117719[_0x16be3a(0x2a1)]!==![]&&(_0x20333b=filterApiOperations(_0x20333b)),_0x117719['customFilter']&&(_0x20333b=_0x20333b[_0x16be3a(0x1ae)](_0x117719[_0x16be3a(0xe3)])),_0x20333b=this[_0x16be3a(0x1a8)](_0x20333b),_0x20333b;}[a0_0x591580(0x1a8)](_0x283abd){const _0x12783c=a0_0x591580,_0x219e0b=_0x283abd[_0x12783c(0x28d)](_0x70e8c8=>_0x70e8c8['name']===_0x12783c(0x1ae)),_0x36223d=_0x283abd[_0x12783c(0x1ae)](_0x2bab94=>_0x2bab94[_0x12783c(0x194)]!==_0x12783c(0x1ae));return _0x219e0b?[_0x219e0b,..._0x36223d]:_0x36223d;}[a0_0x591580(0x186)](_0x45571b){const _0x5442f2=a0_0x591580,_0x4394be=this[_0x5442f2(0x25d)]();return _0x4394be[_0x5442f2(0x28d)](_0x28e0c1=>_0x28e0c1[_0x5442f2(0x194)]===_0x45571b);}[a0_0x591580(0x209)](_0x4988f6){const _0x2376a8=a0_0x591580,_0x36296f=this[_0x2376a8(0x25d)]();return _0x36296f[_0x2376a8(0x1ae)](_0x39d3ad=>_0x39d3ad[_0x2376a8(0x1d4)]===_0x4988f6);}[a0_0x591580(0x2b8)](_0x272ee3){const _0x54455b=a0_0x591580,_0x424c66=this['getOperation'](_0x272ee3);if(!_0x424c66)return[];const _0x3c8172=_0x424c66[_0x54455b(0x11e)](),_0x44d3aa=this['getFields']();return _0x44d3aa['filter'](_0x29fc93=>_0x3c8172[_0x54455b(0x219)](_0x29fc93['code']));}['getOperationDocMeta'](_0x1c6ef6,_0x4ed167){const _0x4377b0=a0_0x591580,_0x2d75b9=this['getOperationAnalysis'](_0x1c6ef6);if(!_0x2d75b9)return null;const _0x4ff635=this[_0x4377b0(0xf9)](_0x2d75b9[_0x4377b0(0x194)]);if(!_0x4ff635)throw new Error(_0x4377b0(0x121)+_0x2d75b9[_0x4377b0(0x194)]);const _0x114980=this['getTableKey'](),_0x4fe049=this[_0x4377b0(0x212)](),_0x1d76f5=_0x4ff635['generateSDKCallCode'](_0x114980,{'useFullExample':_0x4ed167?.[_0x4377b0(0x130)]}),_0x11671a=_0x4ff635[_0x4377b0(0x2b0)](_0x114980);return{'operation':_0x2d75b9,'operationInstance':_0x4ff635,'basicInfo':{'name':_0x2d75b9['name'],'displayName':_0x2d75b9['displayName'],'method':_0x2d75b9[_0x4377b0(0x292)],'path':_0x2d75b9[_0x4377b0(0xe4)],'fullUrl':_0x2d75b9[_0x4377b0(0x1a3)],'enabled':_0x2d75b9[_0x4377b0(0x17c)]},'sdkCall':{'datasetCode':this[_0x4377b0(0x242)],'modelName':_0x114980,'tableName':_0x4fe049,'operationName':_0x2d75b9[_0x4377b0(0x194)],'params':_0x2d75b9['requestFields'],'code':_0x1d76f5},'usageExample':_0x11671a};}['getDatasetDocMeta'](_0x1c4fbe={}){const _0x3062ce=a0_0x591580,_0x11deec=this[_0x3062ce(0x14b)](_0x1c4fbe),_0x51c15e=this['getStats'](),_0x392ade={'name':this[_0x3062ce(0x194)],'code':this[_0x3062ce(0x242)],'tableName':this[_0x3062ce(0x212)](),'tableKey':this['getTableKey'](),'source':this['source'],'fieldCount':_0x51c15e[_0x3062ce(0x169)],'businessFieldCount':_0x51c15e[_0x3062ce(0x266)],'systemFieldCount':_0x51c15e[_0x3062ce(0x193)],'operationCount':_0x51c15e['operationCount'],'enabledOperationCount':_0x51c15e['enabledOperationCount']},_0x206d2a=_0x11deec[_0x3062ce(0x133)](_0x4df630=>this[_0x3062ce(0x2a5)](_0x4df630[_0x3062ce(0x194)]))[_0x3062ce(0x1ae)](_0x1887f4=>_0x1887f4!==null);return{'title':this[_0x3062ce(0x194)]+'\x20API\x20文档','datasetInfo':_0x392ade,'operations':_0x206d2a};}[a0_0x591580(0x14e)](_0x354dd9){const _0xf02aa7=a0_0x591580;return{'appCode':_0x354dd9,'tableKey':this[_0xf02aa7(0x288)](),'tableName':this[_0xf02aa7(0x212)](),'datasetCode':this[_0xf02aa7(0x242)]};}[a0_0x591580(0x18f)](_0x543fc4){const _0x5eab52=a0_0x591580,_0x5a748f=[{'index':_0x5eab52(0x194),'label':'接口名称'},{'index':_0x5eab52(0x263),'label':_0x5eab52(0x22e)},{'index':_0x5eab52(0x292),'label':'方法'},{'index':_0x5eab52(0xea),'label':_0x5eab52(0x149)},{'index':_0x5eab52(0xe4),'label':_0x5eab52(0x2b1)},{'index':_0x5eab52(0x264),'label':_0x5eab52(0x1f8)}],_0x36da40=_0x543fc4[_0x5eab52(0x133)](_0x425992=>{const _0x4e4907=_0x5eab52,{basicInfo:_0x1a6fc6,sdkCall:_0x5de13c}=_0x425992,_0x3acfbb=_0x5de13c['code'][_0x4e4907(0x2a0)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x4e4907(0x2a0)](/;$/,'');return{'displayName':_0x1a6fc6[_0x4e4907(0x263)],'name':_0x1a6fc6['name'],'method':_0x1a6fc6[_0x4e4907(0x292)],'path':_0x1a6fc6[_0x4e4907(0xe4)],'sdkCall':_0x3acfbb,'sdkCallCode':_0x5de13c[_0x4e4907(0x216)]};});return{'tableColumns':_0x5a748f,'tableData':_0x36da40};}[a0_0x591580(0x250)](_0x2ed251){const _0x39ee01=a0_0x591580,_0x269319=this[_0x39ee01(0x186)](_0x2ed251);if(!_0x269319)return null;return{'name':_0x269319['name'],'displayName':_0x269319[_0x39ee01(0x263)],'type':_0x269319[_0x39ee01(0x1d4)],'method':_0x269319[_0x39ee01(0x292)],'path':_0x269319[_0x39ee01(0xe4)],'enabled':_0x269319['enabled'],'requestFieldCount':_0x269319[_0x39ee01(0x126)]['length'],'hasResponseSchema':_0x269319[_0x39ee01(0x19c)]!==null};}[a0_0x591580(0x28a)](_0x3b81e7={}){const _0x1bbbed=a0_0x591580,_0x1e0fbe=this[_0x1bbbed(0x14b)](_0x3b81e7);return{'datasetName':this[_0x1bbbed(0x194)],'datasetCode':this['datasetCode'],'tableName':this[_0x1bbbed(0x212)](),'totalOperations':_0x1e0fbe[_0x1bbbed(0x1f5)],'operations':_0x1e0fbe[_0x1bbbed(0x133)](_0x44538f=>({'name':_0x44538f[_0x1bbbed(0x194)],'displayName':_0x44538f[_0x1bbbed(0x263)],'type':_0x44538f[_0x1bbbed(0x1d4)],'method':_0x44538f[_0x1bbbed(0x292)],'path':_0x44538f['path'],'requestFieldCount':_0x44538f['requestFields'][_0x1bbbed(0x1f5)]}))};}[a0_0x591580(0x2b5)](_0x54578c){const _0xfb2639=a0_0x591580,_0x46fd68={};return Object[_0xfb2639(0xdd)](_0x54578c)[_0xfb2639(0x1df)](([_0x3307d3,_0x5994c0])=>{const _0x3e7199=_0xfb2639;Array[_0x3e7199(0x2ba)](_0x5994c0)&&_0x5994c0['length']>0x0?_0x46fd68[_0x3307d3]=_0x5994c0[0x0]:_0x46fd68[_0x3307d3]=_0x5994c0;}),_0x46fd68;}[a0_0x591580(0x224)](){const _0x2db22c=a0_0x591580,_0x4ee133=this[_0x2db22c(0x25d)](),_0x131768=_0x4ee133[_0x2db22c(0x1ae)](_0x23da7c=>_0x23da7c[_0x2db22c(0x17c)]);return{'total':_0x4ee133['length'],'enabled':_0x131768[_0x2db22c(0x1f5)],'disabled':_0x4ee133[_0x2db22c(0x1f5)]-_0x131768['length'],'byType':this[_0x2db22c(0x16b)](_0x131768),'byMethod':this[_0x2db22c(0x23c)](_0x131768)};}['getOperationCountByType'](_0x5ca6d4){const _0x492458=a0_0x591580,_0x49852c={};return _0x5ca6d4[_0x492458(0x1df)](_0x1a5b8c=>{const _0x545cda=_0x492458;_0x1a5b8c[_0x545cda(0x1d4)]&&(_0x49852c[_0x1a5b8c[_0x545cda(0x1d4)]]=(_0x49852c[_0x1a5b8c[_0x545cda(0x1d4)]]||0x0)+0x1);}),_0x49852c;}[a0_0x591580(0x23c)](_0x45afca){const _0x8670ba={};return _0x45afca['forEach'](_0x5aeea6=>{const _0x150ea1=a0_0x6500;_0x8670ba[_0x5aeea6[_0x150ea1(0x292)]]=(_0x8670ba[_0x5aeea6[_0x150ea1(0x292)]]||0x0)+0x1;}),_0x8670ba;}[a0_0x591580(0x13a)](){const _0x2eb66d=a0_0x591580,_0x46f6a5=this[_0x2eb66d(0x1a0)](),_0x55d7ea=new Set(_0x46f6a5[_0x2eb66d(0x133)](_0x39aec5=>_0x39aec5['type'])[_0x2eb66d(0x1ae)](Boolean));return _0x55d7ea[_0x2eb66d(0x20c)]('create')&&_0x55d7ea['has'](_0x2eb66d(0x162))&&_0x55d7ea['has'](_0x2eb66d(0x21b))&&_0x55d7ea[_0x2eb66d(0x20c)](_0x2eb66d(0x23e));}[a0_0x591580(0x10c)](){const _0xbe33a2=a0_0x591580,_0x1370fd=this[_0xbe33a2(0x1a0)](),_0x145ec2=new Set(_0x1370fd['map'](_0x293c23=>_0x293c23[_0xbe33a2(0x1d4)])[_0xbe33a2(0x1ae)](Boolean)),_0x5d83d9=[_0xbe33a2(0x2c8),'getList',_0xbe33a2(0x21b),_0xbe33a2(0x23e)];return _0x5d83d9['filter'](_0x24d494=>!_0x145ec2[_0xbe33a2(0x20c)](_0x24d494));}['generateFullSDKExample'](_0x3c72f4,_0x370de2,_0x25fa59){const _0x28b29c=a0_0x591580,{includeRequestExample:includeRequestExample=!![],includeResponseExample:includeResponseExample=![],includeUsageExample:includeUsageExample=!![]}=_0x25fa59||{},_0x5eb7cc=this[_0x28b29c(0x2a5)](_0x3c72f4,{'useFullExample':includeRequestExample});if(!_0x5eb7cc)return null;let _0x5afe4d='';_0x5afe4d+=_0x28b29c(0x154)+_0x5eb7cc[_0x28b29c(0x249)][_0x28b29c(0x263)]+_0x28b29c(0x26c)+_0x5eb7cc[_0x28b29c(0x249)][_0x28b29c(0x194)]+_0x28b29c(0x142)+_0x5eb7cc[_0x28b29c(0xea)][_0x28b29c(0x216)];if(includeResponseExample&&_0x5eb7cc[_0x28b29c(0x249)]['responseExample']?.[_0x28b29c(0x220)]){const _0x3a6da6=typeof _0x5eb7cc[_0x28b29c(0x249)][_0x28b29c(0x2a2)][_0x28b29c(0x220)]===_0x28b29c(0x222)?_0x5eb7cc[_0x28b29c(0x249)][_0x28b29c(0x2a2)][_0x28b29c(0x220)]:JSON[_0x28b29c(0x205)](_0x5eb7cc['operation'][_0x28b29c(0x2a2)][_0x28b29c(0x220)],null,0x2);_0x5afe4d+=_0x28b29c(0x154)+_0x5eb7cc[_0x28b29c(0x249)][_0x28b29c(0x194)]+_0x28b29c(0x1b7)+_0x3a6da6;}return includeUsageExample&&_0x5eb7cc[_0x28b29c(0x247)]&&(_0x5afe4d+=_0x28b29c(0x155)+_0x5eb7cc['usageExample'][_0x28b29c(0x23f)]+'\x0a\x0a'+_0x5eb7cc[_0x28b29c(0x247)][_0x28b29c(0x286)]),_0x5afe4d;}['generateAllOperationsFullSDKExample'](_0x154779){const _0x289389=a0_0x591580,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x154779||{},_0x5611a3=this[_0x289389(0x1a0)]();return _0x5611a3[_0x289389(0x133)](_0x1f4d25=>this[_0x289389(0x2d3)](_0x1f4d25[_0x289389(0x194)],this['datasetCode'],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x289389(0x1ad)]('\x0a');}[a0_0x591580(0x226)](_0x3dcbcf,_0xfd1c8a=a0_0x591580(0x166),_0xd4cc2c=![]){const _0x4eeae0=a0_0x591580,_0x1315fd=this[_0x4eeae0(0x288)](),_0x3bc696=this[_0x4eeae0(0x212)](),_0x50d1c2=this['datasetCode'],_0x26a8f4=_0xfd1c8a===_0x4eeae0(0x2ad)?_0x4eeae0(0x231)+_0xfd1c8a+'\x27,':'',_0x4624f0=_0xd4cc2c?'\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,':'';return _0x4eeae0(0x17a)+_0x3dcbcf+'\x27,'+_0x4624f0+_0x26a8f4+_0x4eeae0(0x1b0)+_0x1315fd+_0x4eeae0(0x29f)+_0x3bc696+_0x4eeae0(0x285)+_0x50d1c2+'\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});';}[a0_0x591580(0x22a)](){const _0x1f581c=a0_0x591580,_0x2c04f2=this['getOperationStats']();return _0x1f581c(0x197)+this['name']+',\x20'+this[_0x1f581c(0x242)]+',\x20'+this[_0x1f581c(0x175)]()+'\x20fields,\x20'+_0x2c04f2['enabled']+'/'+_0x2c04f2[_0x1f581c(0x28f)]+_0x1f581c(0x106);}}var VERSION=a0_0x591580(0x1f6);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isSystemField,isRequiredField,isPrimaryKeyField,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldList,Field,FILTER_OPERATORS,DrivenDataDetailPlus,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
@@ -181,6 +181,7 @@ export declare class DrivenDataDetailPlus extends DrivenDataDetail {
181
181
  */
182
182
  generateFullSDKExample(operationName: string, appCode: string, options?: {
183
183
  includeRequestExample?: boolean;
184
+ includeResponseExample?: boolean;
184
185
  includeUsageExample?: boolean;
185
186
  }): string | null;
186
187
  generateAllOperationsFullSDKExample(options?: {
@@ -1 +1 @@
1
- {"version":3,"file":"DrivenDataDetailPlus.d.ts","sourceRoot":"","sources":["../../../src/plus/DrivenDataDetailPlus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,oBAAoB,EAAuB,MAAM,8BAA8B,CAAC;AACzF,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EAEvB,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,WAAW;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa;IACb,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,WAAW;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qBAAqB;IACrB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe;IACf,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,aAAa;IACb,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC/C,aAAa;IACb,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,aAAa;IACb,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,WAAW;IACX,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,gBAAgB;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB;IAChB,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,OAAO,CAAC;CAC1D;AAiCD;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,gBAAgB;IACxD,gBAAgB;IAChB,OAAO,CAAC,kBAAkB,CAAC,CAAsB;IAIjD;;OAEG;IACH,oBAAoB,CAAC,OAAO,UAAQ,GAAG,iBAAiB,EAAE;IAY1D;;;OAGG;IACH,2BAA2B,IAAI,iBAAiB,EAAE;IAOlD;;OAEG;IACH,4BAA4B,CAAC,OAAO,GAAE,aAAkB,GAAG,iBAAiB,EAAE;IAwB9E;;;OAGG;IACH,OAAO,CAAC,6BAA6B;IAOrC;;OAEG;IACH,oBAAoB,CAAC,aAAa,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS;IAK1E;;OAEG;IACH,0BAA0B,CAAC,IAAI,EAAE,oBAAoB,GAAG,iBAAiB,EAAE;IAK3E;;OAEG;IACH,yBAAyB,CAAC,aAAa,EAAE,MAAM;IAe/C;;;OAGG;IACH,mBAAmB,CACjB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QACR,wCAAwC;QACxC,cAAc,CAAC,EAAE,OAAO,CAAC;KAC1B,GACA,gBAAgB,GAAG,IAAI;IA+C1B;;;OAGG;IACH,iBAAiB,CAAC,OAAO,GAAE,aAAkB,GAAG,cAAc;IA8B9D;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM;;;;;;IAS9B;;;OAGG;IACH,yBAAyB,CAAC,UAAU,EAAE,gBAAgB,EAAE,GAAG,sBAAsB;IAmCjF;;OAEG;IACH,wBAAwB,CAAC,aAAa,EAAE,MAAM;;;;;;;;;;IAkB9C;;OAEG;IACH,4BAA4B,CAAC,OAAO,GAAE,aAAkB;;;;;;;;;;;;;;IAmBxD;;;OAGG;IACH,OAAO,CAAC,0BAA0B;IAoBlC;;OAEG;IACH,iBAAiB;;;;;;;IAajB;;OAEG;IACH,OAAO,CAAC,uBAAuB;IAY/B;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAUjC;;OAEG;IACH,YAAY,IAAI,OAAO;IAYvB;;OAEG;IACH,wBAAwB,IAAI,oBAAoB,EAAE;IAclD;;;;;;;OAOG;IACH,sBAAsB,CACpB,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;QACR,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,GACA,MAAM,GAAG,IAAI;IAoChB,mCAAmC,CAAC,OAAO,CAAC,EAAE;QAC5C,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,GAAG,MAAM,GAAG,IAAI;IAajB;;;;;OAKG;IACH,mBAAmB,CACjB,OAAO,EAAE,MAAM,EACf,GAAG,GAAE,QAAQ,GAAG,OAAkB,EAClC,SAAS,UAAQ,GAChB,MAAM;IAuBT;;OAEG;IACH,QAAQ,IAAI,MAAM;CAInB"}
1
+ {"version":3,"file":"DrivenDataDetailPlus.d.ts","sourceRoot":"","sources":["../../../src/plus/DrivenDataDetailPlus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,oBAAoB,EAAuB,MAAM,8BAA8B,CAAC;AACzF,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EAEvB,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,WAAW;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa;IACb,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,WAAW;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qBAAqB;IACrB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe;IACf,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,aAAa;IACb,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC/C,aAAa;IACb,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,aAAa;IACb,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,WAAW;IACX,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,gBAAgB;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB;IAChB,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,OAAO,CAAC;CAC1D;AAiCD;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,gBAAgB;IACxD,gBAAgB;IAChB,OAAO,CAAC,kBAAkB,CAAC,CAAsB;IAIjD;;OAEG;IACH,oBAAoB,CAAC,OAAO,UAAQ,GAAG,iBAAiB,EAAE;IAY1D;;;OAGG;IACH,2BAA2B,IAAI,iBAAiB,EAAE;IAOlD;;OAEG;IACH,4BAA4B,CAAC,OAAO,GAAE,aAAkB,GAAG,iBAAiB,EAAE;IAwB9E;;;OAGG;IACH,OAAO,CAAC,6BAA6B;IAOrC;;OAEG;IACH,oBAAoB,CAAC,aAAa,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS;IAK1E;;OAEG;IACH,0BAA0B,CAAC,IAAI,EAAE,oBAAoB,GAAG,iBAAiB,EAAE;IAK3E;;OAEG;IACH,yBAAyB,CAAC,aAAa,EAAE,MAAM;IAe/C;;;OAGG;IACH,mBAAmB,CACjB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QACR,wCAAwC;QACxC,cAAc,CAAC,EAAE,OAAO,CAAC;KAC1B,GACA,gBAAgB,GAAG,IAAI;IA+C1B;;;OAGG;IACH,iBAAiB,CAAC,OAAO,GAAE,aAAkB,GAAG,cAAc;IA8B9D;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM;;;;;;IAS9B;;;OAGG;IACH,yBAAyB,CAAC,UAAU,EAAE,gBAAgB,EAAE,GAAG,sBAAsB;IAmCjF;;OAEG;IACH,wBAAwB,CAAC,aAAa,EAAE,MAAM;;;;;;;;;;IAkB9C;;OAEG;IACH,4BAA4B,CAAC,OAAO,GAAE,aAAkB;;;;;;;;;;;;;;IAmBxD;;;OAGG;IACH,OAAO,CAAC,0BAA0B;IAoBlC;;OAEG;IACH,iBAAiB;;;;;;;IAajB;;OAEG;IACH,OAAO,CAAC,uBAAuB;IAY/B;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAUjC;;OAEG;IACH,YAAY,IAAI,OAAO;IAYvB;;OAEG;IACH,wBAAwB,IAAI,oBAAoB,EAAE;IAclD;;;;;;;OAOG;IACH,sBAAsB,CACpB,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;QACR,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC,sBAAsB,CAAC,EAAE,OAAO,CAAC;QACjC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,GACA,MAAM,GAAG,IAAI;IAqDhB,mCAAmC,CAAC,OAAO,CAAC,EAAE;QAC5C,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,GAAG,MAAM,GAAG,IAAI;IAajB;;;;;OAKG;IACH,mBAAmB,CACjB,OAAO,EAAE,MAAM,EACf,GAAG,GAAE,QAAQ,GAAG,OAAkB,EAClC,SAAS,UAAQ,GAChB,MAAM;IAuBT;;OAEG;IACH,QAAQ,IAAI,MAAM;CAInB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.0.22",
3
+ "version": "1.0.23-beta.2",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",