@lovrabet/dsparser 1.0.13 → 1.0.14
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 +1 -1
- package/dist/src/core/operations/GenericOperation.d.ts +10 -0
- package/dist/src/core/operations/GenericOperation.d.ts.map +1 -1
- package/dist/src/core/operations/GetListOperation.d.ts +19 -1
- package/dist/src/core/operations/GetListOperation.d.ts.map +1 -1
- package/dist/src/plus/DrivenDataDetailPlus.d.ts.map +1 -1
- package/dist/src/plus/types.d.ts +3 -0
- package/dist/src/plus/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x54b9fe=a0_0x599e;(function(_0x4fd5ab,_0x1821f6){const _0x231c0b=a0_0x599e,_0x54f2f4=_0x4fd5ab();while(!![]){try{const _0x4e0cab=parseInt(_0x231c0b(0x355))/0x1*(parseInt(_0x231c0b(0x2e1))/0x2)+parseInt(_0x231c0b(0x235))/0x3+-parseInt(_0x231c0b(0x308))/0x4+-parseInt(_0x231c0b(0x2a4))/0x5+-parseInt(_0x231c0b(0x332))/0x6+parseInt(_0x231c0b(0x34a))/0x7*(parseInt(_0x231c0b(0x32f))/0x8)+parseInt(_0x231c0b(0x2c2))/0x9*(parseInt(_0x231c0b(0x327))/0xa);if(_0x4e0cab===_0x1821f6)break;else _0x54f2f4['push'](_0x54f2f4['shift']());}catch(_0x4f3401){_0x54f2f4['push'](_0x54f2f4['shift']());}}}(a0_0x23b2,0x41ff8));function toCamelCase(_0x49b0d8){const _0x5579ac=a0_0x599e;if(!_0x49b0d8)return'';return _0x49b0d8[_0x5579ac(0x240)](/[_-]/)[_0x5579ac(0x25b)]((_0x39743c,_0x3925c5)=>{const _0xef3b65=_0x5579ac;if(_0x3925c5===0x0)return _0x39743c[_0xef3b65(0x207)]();return _0x39743c['charAt'](0x0)[_0xef3b65(0x1f5)]()+_0x39743c[_0xef3b65(0x2ef)](0x1)['toLowerCase']();})[_0x5579ac(0x318)]('');}function toPascalCase(_0x3e67fc){const _0x5b08c4=a0_0x599e;if(!_0x3e67fc)return'';const _0x24f1bb=toCamelCase(_0x3e67fc);return _0x24f1bb[_0x5b08c4(0x2d0)](0x0)['toUpperCase']()+_0x24f1bb[_0x5b08c4(0x2ef)](0x1);}function toSnakeCase(_0x13f574){const _0x1074d1=a0_0x599e;if(!_0x13f574)return'';return _0x13f574[_0x1074d1(0x289)](/([A-Z])/g,_0x1074d1(0x320))[_0x1074d1(0x207)]()[_0x1074d1(0x289)](/^_/,'');}function toKebabCase(_0x315dcf){const _0x52a710=a0_0x599e;if(!_0x315dcf)return'';return _0x315dcf['replace'](/([A-Z])/g,_0x52a710(0x209))[_0x52a710(0x207)]()[_0x52a710(0x289)](/^-/,'');}function normalizeFieldName(_0x55302f){const _0x3c7216=a0_0x599e;if(!_0x55302f)return'';return _0x55302f[_0x3c7216(0x24c)]()[_0x3c7216(0x289)](/\s+/g,'_')[_0x3c7216(0x289)](/[^a-zA-Z0-9_]/g,'_')[_0x3c7216(0x289)](/_+/g,'_')['replace'](/^_|_$/g,'');}function getTableName(_0x351e3c){const _0x784fca=a0_0x599e;if(!_0x351e3c)return _0x784fca(0x317);if(_0x351e3c[_0x784fca(0x34e)]?.[_0x784fca(0x22b)])return _0x351e3c[_0x784fca(0x34e)][_0x784fca(0x22b)];const _0x3dc560=_0x351e3c['datasetCode']||_0x351e3c['code']||_0x351e3c[_0x784fca(0x379)];if(_0x3dc560)return generateTableNameFromCode(_0x3dc560);return _0x784fca(0x317);}function getTableKey(_0x3e3585){const _0x39aaf9=a0_0x599e;if(typeof _0x3e3585===_0x39aaf9(0x21b))return toCamelCase(_0x3e3585);const _0x25215f=getTableName(_0x3e3585);return toCamelCase(_0x25215f);}function a0_0x599e(_0xd085e9,_0x2e1363){const _0x23b257=a0_0x23b2();return a0_0x599e=function(_0x599ed4,_0x3e99c8){_0x599ed4=_0x599ed4-0x1e6;let _0x11d0b3=_0x23b257[_0x599ed4];return _0x11d0b3;},a0_0x599e(_0xd085e9,_0x2e1363);}function generateTableNameFromCode(_0x47239c){const _0x574003=a0_0x599e;if(!_0x47239c)return _0x574003(0x317);const _0x38f35c=_0x47239c['slice'](-0x6)[_0x574003(0x368)](0x6,'0');return'dataset_'+_0x38f35c;}function isVirtualTableName(_0x285fc4){const _0x571042=a0_0x599e;return/^dataset_[a-zA-Z0-9]{6}$/[_0x571042(0x21e)](_0x285fc4);}function generateDatasetsConfig(_0x354cc0,_0x2d2666={}){const _0x1e988d=a0_0x599e,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x184ad8,filter:_0x1b441c}=_0x2d2666,_0x82d1b={},_0x54654b=new Set();for(const _0x29ea68 of _0x354cc0){if(_0x1b441c&&!_0x1b441c(_0x29ea68))continue;const _0x191c9d=getTableName(_0x29ea68);if(enableDeduplication&&_0x54654b[_0x1e988d(0x1fc)](_0x191c9d)){console[_0x1e988d(0x21a)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x191c9d+_0x1e988d(0x28c)+_0x29ea68[_0x1e988d(0x374)]+'\x20('+_0x29ea68[_0x1e988d(0x257)]+')');continue;}_0x54654b[_0x1e988d(0x241)](_0x191c9d);const _0x1234d3=_0x184ad8?_0x184ad8(_0x191c9d,_0x29ea68):getTableKey(_0x191c9d);_0x82d1b[_0x1234d3]={'key':_0x1234d3,'tableName':_0x191c9d,'datasetCode':_0x29ea68[_0x1e988d(0x257)],'name':_0x29ea68[_0x1e988d(0x374)],'id':_0x29ea68['id']};}return _0x82d1b;}function generateFullDatasetsConfig(_0x28c45c,_0x55edf5={}){const _0x4e0c28=a0_0x599e,{filter:_0x4a774a,datasetNameGenerator:_0xb9bf00}=_0x55edf5,_0x1758b0=_0x4a774a?_0x28c45c[_0x4e0c28(0x23b)](_0x4a774a):_0x28c45c,_0x3e62e4=groupByTableName(_0x1758b0),_0x53f677={};for(const [_0x253351,_0x29db5a]of Object['entries'](_0x3e62e4)){if(_0x29db5a['length']===0x1){const _0x2599e9=_0x29db5a[0x0],_0x18d2f7=_0xb9bf00?_0xb9bf00(_0x253351,_0x2599e9):getTableKey(_0x253351);_0x53f677[_0x18d2f7]={'key':_0x18d2f7,'tableName':_0x253351,'datasetCode':_0x2599e9[_0x4e0c28(0x257)],'name':_0x2599e9['name'],'id':_0x2599e9['id']};}else{const _0x256c9e=[..._0x29db5a]['sort']((_0x17aeea,_0x54c6ed)=>{const _0x41d6a8=Number(_0x17aeea['id'])||0x0,_0xbc13c4=Number(_0x54c6ed['id'])||0x0;return _0xbc13c4-_0x41d6a8;});_0x256c9e['forEach']((_0x24f54b,_0x1a3b1e)=>{const _0x1ad019=_0x4e0c28,_0xc265a8=_0xb9bf00?_0xb9bf00(_0x253351,_0x24f54b):getTableKey(_0x253351),_0x30371a=_0x1a3b1e===0x0?_0xc265a8:_0xc265a8+'_'+_0x1a3b1e;_0x53f677[_0x30371a]={'key':_0x30371a,'tableName':_0x253351,'datasetCode':_0x24f54b[_0x1ad019(0x257)],'name':_0x24f54b[_0x1ad019(0x374)],'id':_0x24f54b['id']};});}}return _0x53f677;}function detectTableNameConflicts(_0x44a4e0){const _0x3c33dd=a0_0x599e,_0x3fcdc5={};for(const _0x3fb41c of _0x44a4e0){const _0x1a8211=getTableName(_0x3fb41c);!_0x3fcdc5[_0x1a8211]&&(_0x3fcdc5[_0x1a8211]=[]),_0x3fcdc5[_0x1a8211][_0x3c33dd(0x272)](_0x3fb41c);}const _0x1d3c7c={};for(const [_0x22a2c7,_0x448868]of Object[_0x3c33dd(0x315)](_0x3fcdc5)){_0x448868[_0x3c33dd(0x301)]>0x1&&(_0x1d3c7c[_0x22a2c7]=_0x448868);}return{'hasConflicts':Object[_0x3c33dd(0x2ab)](_0x1d3c7c)[_0x3c33dd(0x301)]>0x0,'conflicts':_0x1d3c7c};}function createDatasetNameMap(_0x4a8906){const _0x1edd43=a0_0x599e,_0x5c50a1={};for(const [_0x4db70a,_0x455504]of Object[_0x1edd43(0x315)](_0x4a8906)){_0x5c50a1[_0x4db70a]=_0x455504['datasetCode']||'';}return _0x5c50a1;}function groupByTableName(_0x596b1b){const _0x535149=a0_0x599e,_0x3385e9={};for(const _0x2cfd19 of _0x596b1b){const _0x472033=getTableName(_0x2cfd19);!_0x3385e9[_0x472033]&&(_0x3385e9[_0x472033]=[]),_0x3385e9[_0x472033][_0x535149(0x272)](_0x2cfd19);}return _0x3385e9;}function datasetsConfigToArray(_0x553fa3){return Object['values'](_0x553fa3);}function adaptDrivenDataDetail(_0xbcb8b9){const _0x30ccb0=a0_0x599e;return{'id':_0xbcb8b9['modelId'],'name':_0xbcb8b9[_0x30ccb0(0x374)],'datasetCode':_0xbcb8b9['modelCode'],'dbtableConfig':_0xbcb8b9[_0x30ccb0(0x34e)],'source':_0xbcb8b9[_0x30ccb0(0x292)],'version':_0xbcb8b9['version'],'extend':_0xbcb8b9[_0x30ccb0(0x346)],'properties':_0xbcb8b9['properties'],'operations':_0xbcb8b9['operations']};}function a0_0x23b2(){const _0x555b5c=['getFields','operation','getItems','[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:','placeholder','getDisabled','getOperationAnalyses','fields','getFieldOptions','generateSingleValueExample','hasTableName','getOperationAnalysis','getBusinessFields','isPrimaryKeyField','获取数据集失败:\x20','EXCEL_EXPORT','toUpperCase','\x0a\x0a//\x20','getCountByType','getFilteredOperationAnalyses','number','hasUpdateTimeField','generateSDKCallCode','has','getIds','dblinkInfoDTO','stringify','getOneOrigin','some','\x20的\x20extend\x20配置失败:','toFullConfig','hasCreateTimeField','支持单值或数组','查询单条(用于更新)','toLowerCase','DrivenDataDetail(','-$1','IMPORT_TEMPLATE','getFileUrl','getFiltered','DELETE','type','getName','getOperations','path','toJSON','(...);\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}','DatasetItem(','description','(params);','options','createExport','groupByTableName','warn','string','获取数据集列表失败:\x20','generateFullSDKExample','test','getEnabled','时间戳','version','enabled','DatasetList(','systemFieldCount','getSystemFields','customFilter','from',':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','createAll','fieldName','tableName','hasOperation','parse','getEnabledOperationAnalyses','hasConflict','getList','文件上传','createDate','includeDisabled','modelId','563421fOTyWO','forEach','value','getAt','item1','labelField','filter','generateRequestExample','获取文件URL','getConflicts','解析\x20requestBody\x20失败:','split','add','sdkCall','getOne','phone','isPrimaryKey','\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20','method','parseFieldExtend','getEnabledOperations','getRequestParams','getLatest','trim','getConflictingItems','responseBody','tableData','Operation\x20instance\x20not\x20found:\x20','selectItemsSource','dbName','sort','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','taskInfo','parseRawRequestBody','datasetCode',',\x20currentPage,\x20pageSize,\x20...\x20});','datasetKey','getTenantCode','map','status','\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,','findAll','size','isEnumField','generateOperationSummary','[DrivenDataDetail.parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:','toConfig','getOneUpdate','label','GET_UPLOAD_FILE_SCRIPT','getDatabaseName','includes','isArray','(id,\x20data);','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse','hasField','get',',\x20...\x20});','findById','GET_ONE_ORIGIN','String','push','set','errorCode','getPath','这是一段较长的文本内容示例','requestFields','getEnumFields','创建导出','富文本','create','0000','getLast','查询单条(原始)','`:\x20','getResponseSchema','示例文本','createTimeField','has\x20conflicts','filterBlacklist','Excel导出','fieldCount','getDatabaseType','getOperationAnalysesByType','replace','getDisabledOperationInstances','generateAllOperationsSummary','\x22,数据集:\x20','allFields','delete','generateSDKInitCode','getOperationCount','<p>富文本内容</p>','source','getType','DrivenDataDetailPlus(','解析\x20responseBody\x20失败:','getOperationCountByType','context','getConflictStats','getRaw','1.0.0-beta.8','_operationList','_operations','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','businessFieldCount','generateAllOperationsFullSDKExample','fromApiResponse','getField','generateFieldExample','getNames','1834475OQIBAH','POST','isOperationEnabled','OperationList(','getFieldCount','getOperationList','DatasetGroupMap(','keys','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','primaryKey','boolean','({\x20currentPage,\x20pageSize\x20});','系统自动生成','no\x20conflicts','systemRetain','modifierIdField','getOperationDocMeta','hasCreatorIdField','getTableKey','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','getMissingCRUDOperations','DATETIME','updateTimeField','\x20fields,\x20','supportsCRUD','Number','getOperationRequestFields','getEnumFieldMeta','dbType','13788wqHSDV','\x20API\x20文档','getOperationsOverviewData','getFullUrl','getDisabledNames','item2','findByCode','getOperation','toObject','CHECKBOX','\x20items,\x20conflict,\x20latest:\x20','Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData','getOperationStats','email','charAt','getEnabledOperationInstances','msg','responseSchema','SELECT','(id);','field_name','_raw','successCode','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:','multiple','https://example.com/file.pdf','getSource','generateUsageExample','repeat','pkField','获取下拉选项','2lhkfgD','code','useFullExample','errorMsg','toISOString','values','generateConfigArray','\x0a//\x20Call\x20the\x20','UPDATE','getDatabaseVersion','toString','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','hasConflicts','示例值','slice','[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:','hasLogicField','({\x20','pageSize','getFieldsByType','getLatestDatasets','getDisplayName','object','DbtableConfig(table:\x20','[DrivenDataDetail.parseFieldExtend]\x20解析字段\x20','modifyDate','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','isEnabled','getAllDatasets','getCount','(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容','length','address','isRequiredField','getTableName','DATE','modifierNameField','每页数量','1592384Jfxecw','完整的\x20SDK\x20调用代码','getAll','getAppCode','iterator','({\x20code,\x20label\x20});','isMultipleSelectField','creatorIdField','required','online','TIMESTAMP','API路径','getPrimaryKeyFields','entries','now','dataset_000000','join','getDatasetDocMeta','generateConfig','currentPage','isSystemField','dbId','getAllFieldsArray','\x20operations)','_$1','字段名称','getByType','creatorNameField','getRequiredFields','const\x20result\x20=\x20await\x20client.models.','logicField','4810PzwVgP','CREATE_IMPORT','200','parseRawResponseBody','total','getFieldSelectItemsSource','usageExample','getEnabledNames','376XbkvIl','requestBody','hasModifierIdField','1465914fZOAOF','initDataset','getOperationCountByMethod','getSelectOptions','getRawDbtableConfig','displayName','北京市朝阳区','enabledOperationCount','GET_SELECT_OPTIONS','generateResponseExample','update','创建导入','data','DatasetGroup(','appCode','empty','N/A','(id,\x20','toArray','children','extend','isVirtualTable','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','_datasetMap','45626RzcmMq','validateEnumValue','GET_LIST','generateFromSchema','dbtableConfig','valueLabels','getCodes','_operationAnalyses','getMethod','excelExport','https://example.com/image.jpg','48593qQDEru','tenantCode','items','createImport','查询单条','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','GET_FILE_URL','importTemplate','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27','getRealTables','(支持单值或数组)','当前页码','findByName','hasDblinkInfo','TEXT','getSystemAnalysisResult','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','JSON','success','padStart','-\x20`','查询列表','find','datasetMap','getFieldDefinition','getRequestFields','GET_ONE_UPDATE','isEmpty','getStats','getUploadFileScript','任务信息','name','();','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','dbVersion','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','modelCode','groups','systemAnalysisResult','getSDKInitData','[parseFieldExtend]\x20Invalid\x20field:','getModelName'];a0_0x23b2=function(){return _0x555b5c;};return a0_0x23b2();}function adaptDrivenDataDetails(_0x534aff){return _0x534aff['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x479638){const _0x2e8128=a0_0x599e;if(!_0x479638[_0x2e8128(0x367)]||!_0x479638[_0x2e8128(0x33e)])throw new Error(_0x2e8128(0x1f3)+(_0x479638['errorMsg']||_0x479638[_0x2e8128(0x2d2)]));return adaptDrivenDataDetail(_0x479638['data']);}function extractDatasetsFromListResponse(_0x356395){const _0x2823e0=a0_0x599e;if(!_0x356395[_0x2823e0(0x367)]||!_0x356395['data']?.[_0x2823e0(0x24f)])throw new Error(_0x2823e0(0x21c)+(_0x356395[_0x2823e0(0x2e4)]||_0x356395[_0x2823e0(0x2d2)]));return _0x356395[_0x2823e0(0x33e)][_0x2823e0(0x24f)][_0x2823e0(0x25b)](_0x21964e=>({..._0x21964e,'datasetCode':_0x21964e['code']||_0x21964e[_0x2823e0(0x257)]}));}function isDrivenDataDetail(_0x165e59){const _0x5472de=a0_0x599e;return Boolean(_0x165e59&&typeof _0x165e59[_0x5472de(0x379)]===_0x5472de(0x21b));}function smartAdapt(_0x325a7b){const _0x5da719=a0_0x599e;if(isDrivenDataDetail(_0x325a7b))return adaptDrivenDataDetail(_0x325a7b);if(_0x325a7b[_0x5da719(0x257)])return _0x325a7b;if(_0x325a7b[_0x5da719(0x2e2)])return{..._0x325a7b,'datasetCode':_0x325a7b[_0x5da719(0x2e2)]};return _0x325a7b;}var DatasetOperationType;(_0xb2251c=>{const _0x44c8c4=a0_0x599e;_0xb2251c[_0x44c8c4(0x34c)]=_0x44c8c4(0x230),_0xb2251c['GET_ONE']=_0x44c8c4(0x243),_0xb2251c[_0x44c8c4(0x270)]=_0x44c8c4(0x200),_0xb2251c[_0x44c8c4(0x36f)]='getOneUpdate',_0xb2251c['CREATE']=_0x44c8c4(0x27b),_0xb2251c[_0x44c8c4(0x2e9)]='update',_0xb2251c[_0x44c8c4(0x20d)]='delete',_0xb2251c[_0x44c8c4(0x33a)]=_0x44c8c4(0x335),_0xb2251c[_0x44c8c4(0x35b)]=_0x44c8c4(0x20b),_0xb2251c[_0x44c8c4(0x1f4)]=_0x44c8c4(0x353),_0xb2251c[_0x44c8c4(0x266)]='getUploadFileScript',_0xb2251c[_0x44c8c4(0x328)]=_0x44c8c4(0x358),_0xb2251c['CREATE_EXPORT']=_0x44c8c4(0x218),_0xb2251c['TASK_INFO']=_0x44c8c4(0x255),_0xb2251c[_0x44c8c4(0x20a)]=_0x44c8c4(0x35c);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x54b9fe(0x230)]:a0_0x54b9fe(0x36a),['getOne']:a0_0x54b9fe(0x359),[a0_0x54b9fe(0x200)]:a0_0x54b9fe(0x27e),[a0_0x54b9fe(0x264)]:a0_0x54b9fe(0x206),['create']:'创建',[a0_0x54b9fe(0x33c)]:'更新',[a0_0x54b9fe(0x28e)]:'删除',[a0_0x54b9fe(0x335)]:a0_0x54b9fe(0x2e0),[a0_0x54b9fe(0x20b)]:a0_0x54b9fe(0x23d),['excelExport']:a0_0x54b9fe(0x285),[a0_0x54b9fe(0x372)]:'获取上传脚本',['createImport']:a0_0x54b9fe(0x33d),[a0_0x54b9fe(0x218)]:a0_0x54b9fe(0x279),[a0_0x54b9fe(0x255)]:a0_0x54b9fe(0x373),[a0_0x54b9fe(0x35c)]:'导入模板'},API_BLACKLIST=[a0_0x54b9fe(0x200),a0_0x54b9fe(0x264),a0_0x54b9fe(0x20b)];function parseFieldExtend(_0x18cf6e){const _0x49be8f=a0_0x54b9fe;if(!_0x18cf6e||typeof _0x18cf6e!==_0x49be8f(0x2f7))return console[_0x49be8f(0x21a)](_0x49be8f(0x37d),_0x18cf6e),{};if(!_0x18cf6e['extend'])return{};try{const _0x5510db=typeof _0x18cf6e[_0x49be8f(0x346)]===_0x49be8f(0x21b)?JSON[_0x49be8f(0x22d)](_0x18cf6e[_0x49be8f(0x346)]):_0x18cf6e['extend'];if(typeof _0x5510db!==_0x49be8f(0x2f7)||_0x5510db===null)return console[_0x49be8f(0x21a)]('[parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:',_0x5510db),{};return _0x5510db;}catch(_0x343042){return console[_0x49be8f(0x21a)]('[parseFieldExtend]\x20解析字段\x20'+_0x18cf6e[_0x49be8f(0x2e2)]+_0x49be8f(0x202),_0x343042),{};}}function isPrimaryKeyField(_0x1fb50b,_0xacd1e7){const _0x512ffe=a0_0x54b9fe;if(!_0x1fb50b||typeof _0x1fb50b!==_0x512ffe(0x2f7))return![];if(typeof _0xacd1e7===_0x512ffe(0x21b)&&_0x1fb50b['code']===_0xacd1e7)return!![];const _0x3ef219=parseFieldExtend(_0x1fb50b);return Boolean(_0x3ef219['primaryKey']||_0x3ef219[_0x512ffe(0x2df)]);}function isSystemField(_0x3a4fff){const _0x56e03e=a0_0x54b9fe,_0x3054e1=parseFieldExtend(_0x3a4fff);return Boolean(_0x3054e1[_0x56e03e(0x2b3)]);}function isRequiredField(_0x1ab9ef){const _0x3811f4=a0_0x54b9fe,_0x2cfb16=parseFieldExtend(_0x1ab9ef);return Boolean(_0x2cfb16[_0x3811f4(0x310)]);}function isAutoIncrementField(_0x46d07c){const _0x326883=parseFieldExtend(_0x46d07c);return Boolean(_0x326883['autoIncrement']);}function isCreateTimeField(_0x13a357){const _0x16aa4b=a0_0x54b9fe,_0x47170a=parseFieldExtend(_0x13a357);return Boolean(_0x47170a[_0x16aa4b(0x232)]);}function isModifyTimeField(_0x56e566){const _0x478efa=a0_0x54b9fe,_0x56180f=parseFieldExtend(_0x56e566);return Boolean(_0x56180f[_0x478efa(0x2fa)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':'长文本','DATE':'日期','DATETIME':'日期时间','TIMESTAMP':a0_0x54b9fe(0x220),'SELECT':'下拉选择','CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0x54b9fe(0x231),'IMAGE':'图片','RICH_TEXT':a0_0x54b9fe(0x27a),'JSON':a0_0x54b9fe(0x366),'ARRAY':'数组'};function getDbTypeDisplay(_0x3a5a22){const _0x346b48=a0_0x54b9fe;if(typeof _0x3a5a22!==_0x346b48(0x21b))return console[_0x346b48(0x21a)](_0x346b48(0x35a),_0x3a5a22),String(_0x3a5a22||'-');return DB_TYPE_DISPLAY_MAP[_0x3a5a22]||_0x3a5a22;}function formatDbType(_0x43e7ff,_0x2e3523){const _0x3f30be=a0_0x54b9fe;if(!_0x43e7ff||typeof _0x43e7ff!==_0x3f30be(0x21b))return'-';if(!_0x2e3523||typeof _0x2e3523!==_0x3f30be(0x1f9))return _0x43e7ff;const _0x14c44c=[_0x3f30be(0x363),_0x3f30be(0x2ba),_0x3f30be(0x312),_0x3f30be(0x305)];if(_0x14c44c['includes'](_0x43e7ff[_0x3f30be(0x1f5)]()))return _0x43e7ff;return _0x43e7ff+'('+_0x2e3523+')';}function parseOperationType(_0x5ea7e4){const _0x550afe=a0_0x54b9fe;if(typeof _0x5ea7e4!==_0x550afe(0x21b)){console['warn'](_0x550afe(0x2ac),_0x5ea7e4);return;}if(Object['values'](DatasetOperationType)[_0x550afe(0x268)](_0x5ea7e4))return _0x5ea7e4;const _0x3798b6=Object[_0x550afe(0x315)](OPERATION_TYPE_DISPLAY_NAME)[_0x550afe(0x36b)](([_0x94c524,_0x3de221])=>_0x3de221===_0x5ea7e4);return _0x3798b6?_0x3798b6[0x0]:undefined;}function shouldIncludeField(_0x56281c,_0x4e14b9,_0x534deb){const _0x12c58b=a0_0x54b9fe,_0x2eeb35=parseFieldExtend(_0x56281c),_0x1bf806=isPrimaryKeyField(_0x56281c,_0x534deb),_0x4ad66e=Boolean(_0x2eeb35['systemRetain']),_0x156647=Boolean(_0x2eeb35['autoIncrement']),_0x44ccf7=Boolean(_0x2eeb35['createDate']),_0x2422da=Boolean(_0x2eeb35['modifyDate']);switch(_0x4e14b9){case _0x12c58b(0x230):return!![];case _0x12c58b(0x243):case'getOneOrigin':case _0x12c58b(0x28e):return _0x1bf806;case'create':if(_0x1bf806&&_0x156647)return![];if(_0x4ad66e&&(_0x44ccf7||_0x2422da))return![];return!![];case _0x12c58b(0x33c):case'getOneUpdate':if(_0x1bf806)return!![];if(_0x4ad66e&&(_0x44ccf7||_0x2422da))return![];return!![];case'getSelectOptions':return _0x56281c['code']==='code';default:return!![];}}function getFieldsForOperation(_0x5e9c7d,_0x500c9e,_0x22da36){const _0x239026=a0_0x54b9fe;if(!Array[_0x239026(0x269)](_0x5e9c7d))return console[_0x239026(0x21a)](_0x239026(0x365),_0x5e9c7d),[];return _0x5e9c7d[_0x239026(0x23b)](_0x1ad18d=>shouldIncludeField(_0x1ad18d,_0x500c9e,_0x22da36));}function isApiBlacklisted(_0x3af21a){const _0x1953e7=a0_0x54b9fe;if(typeof _0x3af21a!==_0x1953e7(0x21b))return console['warn']('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0x3af21a),![];return API_BLACKLIST[_0x1953e7(0x268)](_0x3af21a);}function filterApiOperations(_0xf67c25){const _0x3965f2=a0_0x54b9fe;if(!Array[_0x3965f2(0x269)](_0xf67c25))return console[_0x3965f2(0x21a)](_0x3965f2(0x2ad),_0xf67c25),[];return _0xf67c25[_0x3965f2(0x23b)](_0x4df759=>_0x4df759&&typeof _0x4df759===_0x3965f2(0x2f7)&&!isApiBlacklisted(_0x4df759[_0x3965f2(0x374)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x54b9fe(0x316)](),'DATE':()=>Date[a0_0x54b9fe(0x316)](),'SELECT':({fieldInfo:_0x485f82})=>{const _0x308166=a0_0x54b9fe;if(_0x485f82?.[_0x308166(0x217)]&&Array[_0x308166(0x269)](_0x485f82[_0x308166(0x217)])&&_0x485f82[_0x308166(0x217)][_0x308166(0x301)]>0x0)return _0x485f82[_0x308166(0x217)][0x0][_0x308166(0x237)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x3f37ce})=>{if(_0x3f37ce==='currentPage')return 0x1;if(_0x3f37ce==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x4c8db2})=>{const _0x51a4b0=a0_0x54b9fe;if(_0x4c8db2&&typeof _0x4c8db2===_0x51a4b0(0x21b)){const _0x247a54=_0x4c8db2['toLowerCase']();if(_0x247a54['includes']('邮箱')||_0x247a54[_0x51a4b0(0x268)](_0x51a4b0(0x2cf)))return'user@example.com';if(_0x247a54[_0x51a4b0(0x268)]('电话')||_0x247a54[_0x51a4b0(0x268)]('手机')||_0x247a54[_0x51a4b0(0x268)](_0x51a4b0(0x244)))return'13800138000';if(_0x247a54['includes']('地址')||_0x247a54[_0x51a4b0(0x268)](_0x51a4b0(0x302)))return _0x51a4b0(0x338);if(_0x247a54[_0x51a4b0(0x268)]('姓名')||_0x247a54[_0x51a4b0(0x268)](_0x51a4b0(0x374)))return'张三';}return _0x51a4b0(0x281);},'VARCHAR':({description:_0x228cdc})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x228cdc}),'CHAR':({description:_0x28166a})=>TYPE_VALUE_GENERATORS[a0_0x54b9fe(0x363)]({'description':_0x28166a}),'STRING':({fieldInfo:_0x23fb48,description:_0x1516eb})=>{const _0x31426e=a0_0x54b9fe;if(_0x23fb48?.[_0x31426e(0x1e9)]&&typeof _0x23fb48[_0x31426e(0x1e9)]==='string'&&_0x23fb48[_0x31426e(0x1e9)]!==_0x31426e(0x2b1))return _0x23fb48[_0x31426e(0x1e9)][_0x31426e(0x289)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x31426e(0x363)]({'description':_0x1516eb});},'TEXTAREA':()=>a0_0x54b9fe(0x276),'LONGTEXT':()=>a0_0x54b9fe(0x276),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x54b9fe(0x239),a0_0x54b9fe(0x2c7)],'UPLOAD':()=>a0_0x54b9fe(0x2db),'IMAGE':()=>a0_0x54b9fe(0x354),'RICH_TEXT':()=>a0_0x54b9fe(0x291)};function generateExampleValue(_0x5782c8,_0x5e8514,_0x87def6,_0xd02f90={}){const _0x3c2ab2=a0_0x54b9fe;typeof _0x5782c8!==_0x3c2ab2(0x21b)&&(console[_0x3c2ab2(0x21a)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x5782c8),_0x5782c8=String(_0x5782c8||''));if(typeof _0x5e8514!=='string')return console[_0x3c2ab2(0x21a)](_0x3c2ab2(0x378),_0x5e8514),_0x3c2ab2(0x2ee);const {isPrimaryKey:_0x458ccc,dbtableConfig:_0x3f2932}=_0xd02f90;if(_0x458ccc)return 0x1;if(_0x3f2932&&typeof _0x3f2932===_0x3c2ab2(0x2f7)){const _0x212907=_0x3f2932[_0x3c2ab2(0x282)]?.[_0x3c2ab2(0x22a)]===_0x5782c8,_0x146772=_0x3f2932[_0x3c2ab2(0x2bb)]?.[_0x3c2ab2(0x22a)]===_0x5782c8;if(_0x212907||_0x146772){if(_0x87def6&&typeof _0x87def6===_0x3c2ab2(0x21b)&&_0x87def6[_0x3c2ab2(0x1f5)]()[_0x3c2ab2(0x268)](_0x3c2ab2(0x312)))return Date['now']();return new Date()[_0x3c2ab2(0x2e5)]()['replace']('T','\x20')[_0x3c2ab2(0x240)]('.')[0x0];}}const _0x3b9bf3={..._0xd02f90,'fieldCode':_0x5782c8};if(_0x87def6&&typeof _0x87def6===_0x3c2ab2(0x21b)){const _0x114fed=_0x87def6[_0x3c2ab2(0x1f5)](),_0x36c720=TYPE_VALUE_GENERATORS[_0x114fed];if(_0x36c720)return _0x36c720(_0x3b9bf3);}if(_0x5e8514&&typeof _0x5e8514===_0x3c2ab2(0x21b)){const _0x49d1e2=_0x5e8514[_0x3c2ab2(0x1f5)](),_0x73ef41=TYPE_VALUE_GENERATORS[_0x49d1e2];if(_0x73ef41)return _0x73ef41(_0x3b9bf3);}return'示例值';}function generateExampleFromSchema(_0x20b6c5,_0x50d4b8){const _0x31a148=a0_0x54b9fe;if(!_0x20b6c5||typeof _0x20b6c5!==_0x31a148(0x2f7))return{};if(Array['isArray'](_0x20b6c5)){if(_0x20b6c5['length']>0x0)return[generateExampleFromSchema(_0x20b6c5[0x0],_0x50d4b8)];return[];}const _0xad31ca={};return Object[_0x31a148(0x2ab)](_0x20b6c5)[_0x31a148(0x236)](_0x275dbc=>{const _0x46d864=_0x31a148,_0x5623a4=_0x20b6c5[_0x275dbc];if(_0x5623a4&&typeof _0x5623a4==='object'&&!Array[_0x46d864(0x269)](_0x5623a4)&&_0x5623a4[_0x46d864(0x20e)]){const _0x488d0a=_0x5623a4,_0x3cd4b9=_0x488d0a[_0x46d864(0x20e)],_0x2e9db8=_0x488d0a[_0x46d864(0x215)];typeof _0x3cd4b9==='string'?_0xad31ca[_0x275dbc]=generateExampleValue(_0x275dbc,_0x3cd4b9,undefined,{'description':_0x2e9db8,'dbtableConfig':_0x50d4b8}):_0xad31ca[_0x275dbc]=_0x46d864(0x2ee);}else{if(Array[_0x46d864(0x269)](_0x5623a4))_0xad31ca[_0x275dbc]=_0x5623a4['length']>0x0?[generateExampleFromSchema(_0x5623a4[0x0],_0x50d4b8)]:[];else _0x5623a4&&typeof _0x5623a4==='object'?_0xad31ca[_0x275dbc]=generateExampleFromSchema(_0x5623a4,_0x50d4b8):_0xad31ca[_0x275dbc]=_0x5623a4;}}),_0xad31ca;}function parseRequestBody(_0x23b8ae){const _0x3ddd0c=a0_0x54b9fe;if(!_0x23b8ae)return{};try{return JSON[_0x3ddd0c(0x22d)](_0x23b8ae);}catch(_0x4031a8){return console[_0x3ddd0c(0x21a)](_0x3ddd0c(0x23f),_0x4031a8),{};}}function parseResponseBody(_0x4c87c8){const _0x46f9a9=a0_0x54b9fe;if(!_0x4c87c8)return null;try{const _0x582c71=JSON[_0x46f9a9(0x22d)](_0x4c87c8);return _0x582c71[_0x46f9a9(0x329)]||_0x582c71;}catch(_0x3ca1e8){return console[_0x46f9a9(0x21a)](_0x46f9a9(0x295),_0x3ca1e8),null;}}function generateRequestExample(_0x517a4a,_0x3a4aba,_0x375e63,_0x14311b){const _0x561143=a0_0x54b9fe,_0x3ea7d4={};if(!Array[_0x561143(0x269)](_0x517a4a))return console[_0x561143(0x21a)](_0x561143(0x2ec),_0x517a4a),_0x3ea7d4;return _0x517a4a[_0x561143(0x236)](_0x485108=>{const _0x17c6c1=_0x561143;if(!_0x485108||typeof _0x485108!==_0x17c6c1(0x2f7)){console[_0x17c6c1(0x21a)]('[generateRequestExample]\x20Invalid\x20field:',_0x485108);return;}if(typeof _0x485108[_0x17c6c1(0x2e2)]!=='string'||typeof _0x485108[_0x17c6c1(0x20e)]!==_0x17c6c1(0x21b)){console[_0x17c6c1(0x21a)](_0x17c6c1(0x2fb),_0x485108);return;}const _0x166cb4=parseFieldExtend(_0x485108),_0x3421b5=_0x485108[_0x17c6c1(0x2e2)]===_0x375e63||Boolean(_0x166cb4?.[_0x17c6c1(0x2ae)]),_0xde9d7b=generateExampleValue(_0x485108[_0x17c6c1(0x2e2)],_0x485108[_0x17c6c1(0x20e)],typeof _0x485108[_0x17c6c1(0x2c1)]==='string'?_0x485108[_0x17c6c1(0x2c1)]:undefined,{'fieldInfo':_0x166cb4,'isPrimaryKey':_0x3421b5,'description':_0x485108[_0x17c6c1(0x215)]||_0x485108[_0x17c6c1(0x374)],'dbtableConfig':_0x14311b});_0x3ea7d4[_0x485108[_0x17c6c1(0x2e2)]]=_0xde9d7b;}),_0x3a4aba===_0x561143(0x230)&&(_0x3ea7d4['currentPage']=0x1,_0x3ea7d4['pageSize']=0xa),_0x3ea7d4;}function formatEnumValue(_0x349eb8,_0x585027){const _0x207488=a0_0x54b9fe;if(_0x349eb8['multiple']&&Array[_0x207488(0x269)](_0x585027))return _0x585027[_0x207488(0x25b)](_0x385681=>_0x349eb8[_0x207488(0x34f)][String(_0x385681)]||String(_0x385681))['join'](',\x20');return _0x349eb8[_0x207488(0x34f)][String(_0x585027)]||String(_0x585027);}function formatOptionsForDoc(_0x4786d8){const _0x505f50=a0_0x54b9fe;return _0x4786d8[_0x505f50(0x25b)](_0x206a8d=>_0x206a8d['value']+'('+_0x206a8d[_0x505f50(0x265)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0xc92215,_0x1a89ba=0x0){const _0x2b3878=a0_0x54b9fe,_0x908d3b='\x20\x20'[_0x2b3878(0x2de)](_0x1a89ba),_0x585382=[];return _0xc92215[_0x2b3878(0x236)](_0x38a6a2=>{const _0x1454aa=_0x2b3878;_0x585382[_0x1454aa(0x272)](_0x908d3b+_0x1454aa(0x369)+_0x38a6a2[_0x1454aa(0x237)]+_0x1454aa(0x27f)+_0x38a6a2[_0x1454aa(0x265)]),_0x38a6a2['children']&&_0x38a6a2[_0x1454aa(0x345)][_0x1454aa(0x301)]>0x0&&_0x585382[_0x1454aa(0x272)](formatOptionsAsMarkdownList(_0x38a6a2[_0x1454aa(0x345)],_0x1a89ba+0x1));}),_0x585382[_0x2b3878(0x318)]('\x0a');}class DbtableConfig{[a0_0x54b9fe(0x2d7)];constructor(_0x42c4bd){const _0x5aa8a4=a0_0x54b9fe;this[_0x5aa8a4(0x2d7)]={..._0x42c4bd};}get[a0_0x54b9fe(0x31d)](){const _0x4f76c5=a0_0x54b9fe;return this[_0x4f76c5(0x2d7)]['dbId'];}get[a0_0x54b9fe(0x22b)](){const _0x43b337=a0_0x54b9fe;return this['_raw'][_0x43b337(0x22b)];}get[a0_0x54b9fe(0x259)](){const _0x90c680=a0_0x54b9fe;return this[_0x90c680(0x2d7)][_0x90c680(0x259)];}get[a0_0x54b9fe(0x2df)](){const _0x3fc5ce=a0_0x54b9fe;return this['_raw'][_0x3fc5ce(0x2df)];}get[a0_0x54b9fe(0x23a)](){const _0x540c71=a0_0x54b9fe;return this[_0x540c71(0x2d7)][_0x540c71(0x23a)];}get[a0_0x54b9fe(0x326)](){const _0x18cbe3=a0_0x54b9fe;return this[_0x18cbe3(0x2d7)]['logicField'];}get[a0_0x54b9fe(0x282)](){const _0x5a7422=a0_0x54b9fe;return this[_0x5a7422(0x2d7)][_0x5a7422(0x282)];}get[a0_0x54b9fe(0x2bb)](){const _0x442fda=a0_0x54b9fe;return this['_raw'][_0x442fda(0x2bb)];}get[a0_0x54b9fe(0x30f)](){const _0x4585e2=a0_0x54b9fe;return this[_0x4585e2(0x2d7)][_0x4585e2(0x30f)];}get[a0_0x54b9fe(0x323)](){const _0x1e980a=a0_0x54b9fe;return this[_0x1e980a(0x2d7)][_0x1e980a(0x323)];}get[a0_0x54b9fe(0x2b4)](){const _0x218796=a0_0x54b9fe;return this[_0x218796(0x2d7)][_0x218796(0x2b4)];}get['modifierNameField'](){const _0x595a7e=a0_0x54b9fe;return this[_0x595a7e(0x2d7)][_0x595a7e(0x306)];}get[a0_0x54b9fe(0x1fe)](){const _0x15d856=a0_0x54b9fe;return this['_raw'][_0x15d856(0x1fe)];}[a0_0x54b9fe(0x31e)](){const _0x42312a=a0_0x54b9fe;if(!this[_0x42312a(0x2d7)][_0x42312a(0x28d)])return[];return this[_0x42312a(0x2d7)][_0x42312a(0x28d)][_0x42312a(0x240)](',')[_0x42312a(0x25b)](_0xd2ca94=>_0xd2ca94['trim']())[_0x42312a(0x23b)](Boolean);}['getAllFieldsString'](){const _0xd2e25d=a0_0x54b9fe;return this[_0xd2e25d(0x2d7)][_0xd2e25d(0x28d)];}['hasField'](_0x3bfb0e){const _0x50756b=a0_0x54b9fe;return this[_0x50756b(0x31e)]()[_0x50756b(0x268)](_0x3bfb0e);}[a0_0x54b9fe(0x1ef)](){const _0x1c5a73=a0_0x54b9fe;return Boolean(this['_raw'][_0x1c5a73(0x22b)]);}[a0_0x54b9fe(0x362)](){const _0x1875e9=a0_0x54b9fe;return Boolean(this[_0x1875e9(0x2d7)][_0x1875e9(0x1fe)]);}[a0_0x54b9fe(0x2f1)](){const _0x20c3db=a0_0x54b9fe;return Boolean(this['_raw'][_0x20c3db(0x326)]?.['fieldName']);}[a0_0x54b9fe(0x204)](){const _0xf7c332=a0_0x54b9fe;return Boolean(this[_0xf7c332(0x2d7)][_0xf7c332(0x282)]?.[_0xf7c332(0x22a)]);}[a0_0x54b9fe(0x1fa)](){const _0x31f57b=a0_0x54b9fe;return Boolean(this[_0x31f57b(0x2d7)]['updateTimeField']?.[_0x31f57b(0x22a)]);}[a0_0x54b9fe(0x2b6)](){const _0x4d2252=a0_0x54b9fe;return Boolean(this[_0x4d2252(0x2d7)][_0x4d2252(0x30f)]?.['fieldName']);}[a0_0x54b9fe(0x331)](){const _0xcee4bf=a0_0x54b9fe;return Boolean(this[_0xcee4bf(0x2d7)][_0xcee4bf(0x2b4)]?.[_0xcee4bf(0x22a)]);}['isPrimaryKeyField'](_0x2211d9){const _0x3e8ad1=a0_0x54b9fe;return this[_0x3e8ad1(0x2d7)][_0x3e8ad1(0x2df)]===_0x2211d9;}['isSystemField'](_0x3cabdf){const _0x4a466f=a0_0x54b9fe;return this[_0x4a466f(0x1f2)](_0x3cabdf)||this[_0x4a466f(0x2d7)][_0x4a466f(0x326)]?.[_0x4a466f(0x22a)]===_0x3cabdf||this[_0x4a466f(0x2d7)][_0x4a466f(0x282)]?.[_0x4a466f(0x22a)]===_0x3cabdf||this[_0x4a466f(0x2d7)][_0x4a466f(0x2bb)]?.[_0x4a466f(0x22a)]===_0x3cabdf||this['_raw'][_0x4a466f(0x30f)]?.['fieldName']===_0x3cabdf||this[_0x4a466f(0x2d7)]['creatorNameField']?.[_0x4a466f(0x22a)]===_0x3cabdf||this[_0x4a466f(0x2d7)][_0x4a466f(0x2b4)]?.[_0x4a466f(0x22a)]===_0x3cabdf||this['_raw']['modifierNameField']?.[_0x4a466f(0x22a)]===_0x3cabdf;}[a0_0x54b9fe(0x267)](){const _0x737f4=a0_0x54b9fe;return this['_raw'][_0x737f4(0x1fe)]?.[_0x737f4(0x252)];}[a0_0x54b9fe(0x287)](){const _0x17370d=a0_0x54b9fe;return this[_0x17370d(0x2d7)][_0x17370d(0x1fe)]?.[_0x17370d(0x2c1)];}[a0_0x54b9fe(0x2ea)](){const _0x4c8fea=a0_0x54b9fe;return this[_0x4c8fea(0x2d7)][_0x4c8fea(0x1fe)]?.[_0x4c8fea(0x377)];}[a0_0x54b9fe(0x25a)](){const _0xa6ecdb=a0_0x54b9fe;return this[_0xa6ecdb(0x2d7)][_0xa6ecdb(0x1fe)]?.[_0xa6ecdb(0x356)];}[a0_0x54b9fe(0x30b)](){const _0xf31aeb=a0_0x54b9fe;return this[_0xf31aeb(0x2d7)][_0xf31aeb(0x1fe)]?.[_0xf31aeb(0x340)];}[a0_0x54b9fe(0x364)](){const _0x322ffc=a0_0x54b9fe;return this['_raw'][_0x322ffc(0x1fe)]?.[_0x322ffc(0x37b)];}[a0_0x54b9fe(0x371)](){const _0x425e6f=a0_0x54b9fe;return{'hasTableName':this['hasTableName'](),'hasDblinkInfo':this[_0x425e6f(0x362)](),'fieldCount':this[_0x425e6f(0x31e)]()[_0x425e6f(0x301)],'systemFields':{'hasLogicField':this[_0x425e6f(0x2f1)](),'hasCreateTimeField':this[_0x425e6f(0x204)](),'hasUpdateTimeField':this[_0x425e6f(0x1fa)](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this['hasModifierIdField']()}};}['toConfig'](){const _0x34aad4=a0_0x54b9fe;return{'tableName':this['tableName'],'pkField':this[_0x34aad4(0x2df)],'datasetKey':this[_0x34aad4(0x259)],'dbId':this[_0x34aad4(0x31d)]};}[a0_0x54b9fe(0x212)](){const _0x1581fb=a0_0x54b9fe;return{...this[_0x1581fb(0x2d7)]};}[a0_0x54b9fe(0x299)](){const _0x1564db=a0_0x54b9fe;return{...this[_0x1564db(0x2d7)]};}[a0_0x54b9fe(0x2eb)](){const _0x5b71fd=a0_0x54b9fe,_0xb9e66a=this[_0x5b71fd(0x22b)]||_0x5b71fd(0x342),_0x3e854c=this[_0x5b71fd(0x31e)]()[_0x5b71fd(0x301)];return _0x5b71fd(0x2f8)+_0xb9e66a+',\x20fields:\x20'+_0x3e854c+')';}static[a0_0x54b9fe(0x341)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x54b9fe(0x2d7)];constructor(_0x201f1d){const _0xe2928c=a0_0x54b9fe,_0x23dfbf=_0x201f1d[_0xe2928c(0x257)]||_0x201f1d['code']||_0x201f1d[_0xe2928c(0x379)];this[_0xe2928c(0x2d7)]={..._0x201f1d,'datasetCode':_0x23dfbf};}get['id'](){const _0x454ecf=a0_0x54b9fe;return this[_0x454ecf(0x2d7)]['id'];}get[a0_0x54b9fe(0x374)](){const _0x1dda37=a0_0x54b9fe;return this[_0x1dda37(0x2d7)][_0x1dda37(0x374)];}[a0_0x54b9fe(0x20f)](){const _0x2af5dc=a0_0x54b9fe;return this[_0x2af5dc(0x374)];}get[a0_0x54b9fe(0x257)](){const _0x3fd7ae=a0_0x54b9fe;return this[_0x3fd7ae(0x2d7)][_0x3fd7ae(0x257)]||'';}get[a0_0x54b9fe(0x34e)](){const _0x5ad97e=a0_0x54b9fe;if(!this['_raw'][_0x5ad97e(0x34e)])return null;return new DbtableConfig(this[_0x5ad97e(0x2d7)][_0x5ad97e(0x34e)]);}['getRawDbtableConfig'](){const _0x21bb73=a0_0x54b9fe;return this['_raw'][_0x21bb73(0x34e)];}['getTableName'](){return getTableName(this['_raw']);}['getTableKey'](){const _0x33facd=a0_0x54b9fe;return getTableKey(this[_0x33facd(0x304)]());}['isVirtualTable'](){const _0x376b6=a0_0x54b9fe;return isVirtualTableName(this[_0x376b6(0x304)]());}[a0_0x54b9fe(0x37e)](){const _0x30c672=a0_0x54b9fe;return toPascalCase(this[_0x30c672(0x304)]());}['toConfig'](){const _0x4c625f=a0_0x54b9fe;return{'key':getTableKey(this[_0x4c625f(0x304)]()),'tableName':this[_0x4c625f(0x304)](),'datasetCode':this[_0x4c625f(0x257)],'name':this[_0x4c625f(0x374)]};}[a0_0x54b9fe(0x212)](){const _0x4b59ba=a0_0x54b9fe;return{...this['_raw'],'datasetCode':this[_0x4b59ba(0x257)]};}[a0_0x54b9fe(0x299)](){return{...this['_raw']};}['hasDbtableConfig'](){const _0x3901de=a0_0x54b9fe,_0xe8d928=this[_0x3901de(0x34e)];return _0xe8d928!==null&&_0xe8d928[_0x3901de(0x1ef)]();}['getExtendField'](_0x37e15e){const _0x463a01=a0_0x54b9fe;return this[_0x463a01(0x2d7)][_0x37e15e];}['hasExtendField'](_0x3e06af){return _0x3e06af in this['_raw'];}['toString'](){const _0x58295d=a0_0x54b9fe;return _0x58295d(0x214)+this[_0x58295d(0x374)]+',\x20'+this[_0x58295d(0x257)]+')';}}class Operation{[a0_0x54b9fe(0x374)];[a0_0x54b9fe(0x2d7)];[a0_0x54b9fe(0x297)];constructor(_0x5b9485,_0x14bd38,_0x554095){const _0x48c1f3=a0_0x54b9fe;this[_0x48c1f3(0x374)]=_0x5b9485,this['_raw']=_0x14bd38,this['context']=_0x554095;}[a0_0x54b9fe(0x20f)](){const _0x591807=a0_0x54b9fe;return this[_0x591807(0x374)];}['getDisplayName'](){const _0x23b32c=a0_0x54b9fe,_0x27f27f=this[_0x23b32c(0x293)]();return _0x27f27f?OPERATION_TYPE_DISPLAY_NAME[_0x27f27f]:this[_0x23b32c(0x374)];}[a0_0x54b9fe(0x293)](){const _0x2246dd=a0_0x54b9fe;return parseOperationType(this[_0x2246dd(0x374)]);}[a0_0x54b9fe(0x2fd)](){const _0x39a346=a0_0x54b9fe;return this[_0x39a346(0x2d7)]!=null&&this[_0x39a346(0x2d7)]!==![];}[a0_0x54b9fe(0x352)](){const _0x2cec3c=a0_0x54b9fe;if(!this['isEnabled']()||!this[_0x2cec3c(0x2d7)])return'';const _0x35976a=this['_raw'][_0x2cec3c(0x247)];return typeof _0x35976a===_0x2cec3c(0x21b)?_0x35976a:_0x2cec3c(0x2a5);}[a0_0x54b9fe(0x275)](){const _0x4d2b4d=a0_0x54b9fe;if(!this[_0x4d2b4d(0x2fd)]()||!this[_0x4d2b4d(0x2d7)])return'';const _0x411161=this[_0x4d2b4d(0x2d7)]['path'];return typeof _0x411161==='string'?_0x411161:'';}[a0_0x54b9fe(0x2c5)](){const _0x4b2a90=a0_0x54b9fe;if(!this[_0x4b2a90(0x2fd)]()||!this[_0x4b2a90(0x2d7)])return'';const {host:_0x3425d4,path:_0x334f4d}=this['_raw'],_0x269d27=typeof _0x3425d4===_0x4b2a90(0x21b)?_0x3425d4:'',_0x52ecef=typeof _0x334f4d===_0x4b2a90(0x21b)?_0x334f4d:'';return _0x269d27&&_0x52ecef?''+_0x269d27+_0x52ecef:_0x52ecef;}[a0_0x54b9fe(0x36e)](){const _0x13ec54=a0_0x54b9fe;return Object[_0x13ec54(0x2ab)](this[_0x13ec54(0x24a)]());}[a0_0x54b9fe(0x256)](){const _0x14c245=a0_0x54b9fe;if(!this[_0x14c245(0x2fd)]()||typeof this['_raw']===_0x14c245(0x2af)||!this[_0x14c245(0x2d7)]?.[_0x14c245(0x330)])return{};const _0x55ee95=this[_0x14c245(0x2d7)]['requestBody'];if(typeof _0x55ee95!==_0x14c245(0x21b))return console[_0x14c245(0x21a)](_0x14c245(0x1e8),_0x55ee95),{};return parseRequestBody(_0x55ee95);}[a0_0x54b9fe(0x32a)](){const _0x12f17b=a0_0x54b9fe;if(!this['isEnabled']()||typeof this[_0x12f17b(0x2d7)]===_0x12f17b(0x2af)||!this['_raw']?.[_0x12f17b(0x24e)])return null;const _0x5b38d5=this[_0x12f17b(0x2d7)][_0x12f17b(0x24e)];if(typeof _0x5b38d5!==_0x12f17b(0x21b))return console['warn'](_0x12f17b(0x2f0),_0x5b38d5),null;return parseResponseBody(_0x5b38d5);}[a0_0x54b9fe(0x2a2)](_0x9144ca,_0x29bac8,_0x8ccca0,_0x173dc1){const _0x1bd54f=a0_0x54b9fe;return generateExampleValue(_0x9144ca,_0x29bac8,_0x8ccca0,{'isPrimaryKey':_0x173dc1?.[_0x1bd54f(0x245)],'description':_0x173dc1?.[_0x1bd54f(0x215)],'dbtableConfig':this[_0x1bd54f(0x297)][_0x1bd54f(0x34e)]});}[a0_0x54b9fe(0x36d)](_0x57638f){const _0x552e96=a0_0x54b9fe;if(!Array[_0x552e96(0x269)](this[_0x552e96(0x297)][_0x552e96(0x1ec)])){console[_0x552e96(0x21a)]('[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array');return;}if(typeof _0x57638f!==_0x552e96(0x21b)){console[_0x552e96(0x21a)](_0x552e96(0x376),_0x57638f);return;}return this[_0x552e96(0x297)][_0x552e96(0x1ec)][_0x552e96(0x36b)](_0x11f091=>_0x11f091&&_0x11f091['code']===_0x57638f);}['toString'](){const _0x4362ed=a0_0x54b9fe,_0x28f4b2=this[_0x4362ed(0x2fd)]()?'启用':'禁用';return this[_0x4362ed(0x2f6)]()+'('+this[_0x4362ed(0x374)]+',\x20'+_0x28f4b2+')';}[a0_0x54b9fe(0x2dd)](_0x2ed5f2){const _0x5793ce=a0_0x54b9fe,_0x4f826b=this[_0x5793ce(0x20f)](),_0x378a35=_0x5793ce(0x348)+_0x2ed5f2+'.'+_0x4f826b+_0x5793ce(0x300),_0x2144ad=_0x5793ce(0x29d)+_0x2ed5f2+'.'+_0x4f826b+_0x5793ce(0x213);return{'successCode':_0x378a35,'errorCode':_0x2144ad};}[a0_0x54b9fe(0x212)](){const _0x4109d7=a0_0x54b9fe;return{'name':this['getName'](),'displayName':this['getDisplayName'](),'type':this['getType'](),'enabled':this[_0x4109d7(0x2fd)](),'method':this[_0x4109d7(0x352)](),'path':this[_0x4109d7(0x275)](),'fullUrl':this[_0x4109d7(0x2c5)](),'requestFields':this['getRequestFields'](),'requestParams':this[_0x4109d7(0x24a)](),'responseSchema':this[_0x4109d7(0x280)](),'requestExample':this[_0x4109d7(0x23c)](),'responseExample':this[_0x4109d7(0x33b)]()};}}class GenericOperation extends Operation{['getRequestParams'](){return this['parseRawRequestBody']();}['getResponseSchema'](){return this['parseRawResponseBody']();}[a0_0x54b9fe(0x23c)](){const _0x2becb2=a0_0x54b9fe,_0x146df5={},_0x3c9517=this['getRequestParams'](),_0x4f69ef=this[_0x2becb2(0x293)]();if(Object[_0x2becb2(0x2ab)](_0x3c9517)[_0x2becb2(0x301)]===0x0&&_0x4f69ef){const _0x327fd5=getFieldsForOperation(this['context'][_0x2becb2(0x1ec)],_0x4f69ef,this[_0x2becb2(0x297)]['pkField']);return _0x327fd5[_0x2becb2(0x236)](_0x5c4b79=>{const _0x2f0333=_0x2becb2,_0x35c029=this[_0x2f0333(0x2a2)](_0x5c4b79[_0x2f0333(0x2e2)],_0x5c4b79[_0x2f0333(0x20e)],typeof _0x5c4b79['dbType']==='string'?_0x5c4b79[_0x2f0333(0x2c1)]:undefined,{'isPrimaryKey':_0x5c4b79[_0x2f0333(0x2e2)]===this[_0x2f0333(0x297)][_0x2f0333(0x2df)],'description':_0x5c4b79[_0x2f0333(0x215)]||_0x5c4b79[_0x2f0333(0x374)]});_0x146df5[_0x5c4b79[_0x2f0333(0x2e2)]]=_0x35c029;}),_0x146df5;}return Object['entries'](_0x3c9517)[_0x2becb2(0x236)](([_0x2ba054,_0x41dffd])=>{const _0x19f53e=_0x2becb2,_0x559fad=_0x41dffd;let _0x1defa8;if(typeof _0x559fad['type']===_0x19f53e(0x21b))_0x1defa8=_0x559fad['type'];else _0x559fad[_0x19f53e(0x20e)]&&typeof _0x559fad['type']===_0x19f53e(0x2f7)?_0x1defa8=_0x559fad[_0x19f53e(0x20e)][_0x19f53e(0x20e)]||'TEXT':_0x1defa8=_0x19f53e(0x363);const _0x25c39d=_0x559fad[_0x19f53e(0x215)],_0x29cb4a=this[_0x19f53e(0x36d)](_0x2ba054);if(_0x2ba054===_0x19f53e(0x31b))_0x146df5[_0x2ba054]=0x1;else{if(_0x2ba054===_0x19f53e(0x2f3))_0x146df5[_0x2ba054]=0xa;else _0x2ba054==='id'?_0x146df5[_0x2ba054]=0x1:_0x146df5[_0x2ba054]=this['generateFieldExample'](_0x2ba054,_0x1defa8,typeof _0x29cb4a?.[_0x19f53e(0x2c1)]===_0x19f53e(0x21b)?_0x29cb4a[_0x19f53e(0x2c1)]:undefined,{'isPrimaryKey':_0x2ba054===this[_0x19f53e(0x297)][_0x19f53e(0x2df)]||_0x2ba054==='id','description':_0x25c39d||_0x29cb4a?.[_0x19f53e(0x215)]||_0x29cb4a?.['name']});}}),_0x146df5;}['generateResponseExample'](){const _0x5d4eca=a0_0x54b9fe,_0x4b75cc=this[_0x5d4eca(0x280)]();if(!_0x4b75cc)return{'success':!![],'msg':'操作成功','errorMsg':'','errorCode':_0x5d4eca(0x27c),'data':null};return this[_0x5d4eca(0x34d)](_0x4b75cc);}[a0_0x54b9fe(0x34d)](_0x2e7fb7){const _0x2f3be2=a0_0x54b9fe;if(!_0x2e7fb7||typeof _0x2e7fb7!==_0x2f3be2(0x2f7))return{};if(Array[_0x2f3be2(0x269)](_0x2e7fb7)){if(_0x2e7fb7[_0x2f3be2(0x301)]>0x0)return[this[_0x2f3be2(0x34d)](_0x2e7fb7[0x0])];return[];}const _0x48ab46={};return Object['keys'](_0x2e7fb7)[_0x2f3be2(0x236)](_0x57ce6f=>{const _0x530353=_0x2f3be2,_0x35dc2c=_0x2e7fb7[_0x57ce6f];if(_0x35dc2c&&typeof _0x35dc2c==='object'&&!Array[_0x530353(0x269)](_0x35dc2c)&&_0x35dc2c[_0x530353(0x20e)]){const _0x283d72=_0x35dc2c;let _0x388d27;if(typeof _0x283d72['type']===_0x530353(0x21b))_0x388d27=_0x283d72[_0x530353(0x20e)];else _0x283d72[_0x530353(0x20e)]&&typeof _0x283d72[_0x530353(0x20e)]==='object'?_0x388d27=_0x283d72['type'][_0x530353(0x20e)]||'TEXT':_0x388d27=_0x530353(0x363);const _0x5e4175=_0x283d72[_0x530353(0x215)];_0x48ab46[_0x57ce6f]=this[_0x530353(0x2a2)](_0x57ce6f,_0x388d27,undefined,{'description':_0x5e4175});}else{if(Array['isArray'](_0x35dc2c))_0x48ab46[_0x57ce6f]=_0x35dc2c[_0x530353(0x301)]>0x0?[this[_0x530353(0x34d)](_0x35dc2c[0x0])]:[];else _0x35dc2c&&typeof _0x35dc2c==='object'?_0x48ab46[_0x57ce6f]=this[_0x530353(0x34d)](_0x35dc2c):_0x48ab46[_0x57ce6f]=_0x35dc2c;}}),_0x48ab46;}[a0_0x54b9fe(0x1fb)](_0x432a37,_0x3d91a0){const _0x5ed45d=a0_0x54b9fe,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3d91a0||{},_0x540df3=this[_0x5ed45d(0x20f)](),_0x2e588f=this[_0x5ed45d(0x293)](),_0x52008a=this['getRequestFields'](),_0x1a97f5=this['generateRequestExample'](),_0x6cdb8b=_0x5bf2b8=>{const _0x36b003=_0x5ed45d;if(Object[_0x36b003(0x2ab)](_0x5bf2b8)[_0x36b003(0x301)]===0x0)return'{}';const _0x2d8b08=JSON[_0x36b003(0x1ff)](_0x5bf2b8,null,0x2)['split']('\x0a')[_0x36b003(0x25b)]((_0x3db1a4,_0x4df66d)=>_0x4df66d===0x0?_0x3db1a4:indent+_0x3db1a4)['join']('\x0a');return _0x2d8b08;};switch(_0x2e588f){case _0x5ed45d(0x243):case _0x5ed45d(0x28e):return _0x5ed45d(0x325)+_0x432a37+'.'+_0x540df3+_0x5ed45d(0x2d5);case'update':if(useFullExample&&Object['keys'](_0x1a97f5)[_0x5ed45d(0x301)]>0x0)return _0x5ed45d(0x325)+_0x432a37+'.'+_0x540df3+_0x5ed45d(0x343)+_0x6cdb8b(_0x1a97f5)+');';return _0x5ed45d(0x325)+_0x432a37+'.'+_0x540df3+_0x5ed45d(0x26a);case'create':case _0x5ed45d(0x230):case'getSelectOptions':default:if(_0x52008a[_0x5ed45d(0x301)]>0x0){if(useFullExample&&Object[_0x5ed45d(0x2ab)](_0x1a97f5)[_0x5ed45d(0x301)]>0x0)return _0x5ed45d(0x325)+_0x432a37+'.'+_0x540df3+'('+_0x6cdb8b(_0x1a97f5)+');';else{const _0x381f47=Object[_0x5ed45d(0x2ab)](_0x1a97f5);if(_0x381f47[_0x5ed45d(0x301)]>0x0){const _0x22950e=_0x381f47['slice'](0x0,0x2)[_0x5ed45d(0x318)](',\x20');return _0x5ed45d(0x325)+_0x432a37+'.'+_0x540df3+_0x5ed45d(0x2f2)+_0x22950e+_0x5ed45d(0x26e);}else return'const\x20result\x20=\x20await\x20client.models.'+_0x432a37+'.'+_0x540df3+_0x5ed45d(0x216);}}else return _0x5ed45d(0x325)+_0x432a37+'.'+_0x540df3+_0x5ed45d(0x375);}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x54b9fe(0x24a)](){const _0x2e428e=a0_0x54b9fe,_0x5bc86b=super[_0x2e428e(0x24a)](),_0x5e90ae=Object[_0x2e428e(0x2ab)](_0x5bc86b);return(_0x5e90ae[_0x2e428e(0x301)]===0x0||_0x5e90ae[_0x2e428e(0x301)]===0x1&&_0x5e90ae[0x0]===_0x2e428e(0x2e2))&&(!_0x5bc86b[_0x2e428e(0x2e2)]&&(_0x5bc86b[_0x2e428e(0x2e2)]={'type':'String','description':'字段编码'}),_0x5bc86b[_0x2e428e(0x265)]={'type':_0x2e428e(0x271),'description':_0x2e428e(0x321)}),_0x5bc86b;}[a0_0x54b9fe(0x23c)](){const _0x3f5937=a0_0x54b9fe;return{'code':_0x3f5937(0x2d6),'label':_0x3f5937(0x2d6)};}[a0_0x54b9fe(0x1fb)](_0xcf973b){const _0x521f79=a0_0x54b9fe,_0x2f74ff=this[_0x521f79(0x20f)]();return _0x521f79(0x325)+_0xcf973b+'.'+_0x2f74ff+_0x521f79(0x30d);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x299d29=a0_0x54b9fe,_0x1e004f=super[_0x299d29(0x24a)](),{currentPage:_0x930ee4,pageSize:_0x48ca49,..._0x182b2f}=_0x1e004f,_0x34b96c={};return Object['entries'](_0x182b2f)['forEach'](([_0x2502d2,_0xf03307])=>{const _0x4d493b=_0x299d29;if(typeof _0xf03307===_0x4d493b(0x2f7)&&_0xf03307!==null){const _0x3a7ffd=_0xf03307,_0x396ef0=_0x3a7ffd[_0x4d493b(0x215)]||'';_0x34b96c[_0x2502d2]={..._0x3a7ffd,'description':_0x396ef0?_0x396ef0+_0x4d493b(0x35f):_0x4d493b(0x205)};}else _0x34b96c[_0x2502d2]=_0xf03307;}),{..._0x34b96c,'currentPage':{...typeof _0x930ee4===_0x299d29(0x2f7)?_0x930ee4:{},'type':'Number','description':_0x299d29(0x360)},'pageSize':{...typeof _0x48ca49===_0x299d29(0x2f7)?_0x48ca49:{},'type':_0x299d29(0x2be),'description':_0x299d29(0x307)}};}[a0_0x54b9fe(0x23c)](){const _0x1cb7dc=a0_0x54b9fe,_0x3a6775=super['generateRequestExample'](),{currentPage:_0x228f3a,pageSize:_0x390ea1,..._0x27aabe}=_0x3a6775,_0x52da4b={},_0xc83908=['id',_0x1cb7dc(0x25c),_0x1cb7dc(0x2e2),'type'];return Object['entries'](_0x27aabe)[_0x1cb7dc(0x236)](([_0x4ecd5d,_0x2988e9],_0x230f36)=>{const _0x5bde58=_0x1cb7dc,_0x3c6c1a=_0xc83908[_0x5bde58(0x201)](_0x5a5f96=>_0x4ecd5d[_0x5bde58(0x207)]()[_0x5bde58(0x268)](_0x5a5f96))||_0x230f36%0x3===0x0;if(_0x3c6c1a&&_0x2988e9!==null&&_0x2988e9!==undefined){if(typeof _0x2988e9===_0x5bde58(0x1f9))_0x52da4b[_0x4ecd5d]=[_0x2988e9,_0x2988e9+0x1,_0x2988e9+0x2];else typeof _0x2988e9==='string'?_0x52da4b[_0x4ecd5d]=[_0x2988e9,_0x2988e9+'_2',_0x2988e9+'_3']:_0x52da4b[_0x4ecd5d]=[_0x2988e9];}else _0x52da4b[_0x4ecd5d]=_0x2988e9;}),{..._0x52da4b,'currentPage':_0x228f3a??0x1,'pageSize':_0x390ea1??0xa};}[a0_0x54b9fe(0x1fb)](_0x26144e,_0x4f36d3){const _0x24acd9=a0_0x54b9fe,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4f36d3||{},_0x388385=this[_0x24acd9(0x20f)](),_0x2537a4=this[_0x24acd9(0x23c)](),{currentPage:_0x1b0653,pageSize:_0x43effd,..._0x5e4701}=_0x2537a4;if(useFullExample&&Object[_0x24acd9(0x2ab)](_0x2537a4)[_0x24acd9(0x301)]>0x0){const _0x2fb231=JSON[_0x24acd9(0x1ff)](_0x2537a4,null,0x2)[_0x24acd9(0x240)]('\x0a')[_0x24acd9(0x25b)]((_0x334601,_0x343a22)=>_0x343a22===0x0?_0x334601:indent+_0x334601)[_0x24acd9(0x318)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x26144e+'.'+_0x388385+'('+_0x2fb231+');';}if(Object[_0x24acd9(0x2ab)](_0x5e4701)[_0x24acd9(0x301)]>0x0){const _0xf809fa=Object[_0x24acd9(0x2ab)](_0x5e4701)[0x0];return _0x24acd9(0x325)+_0x26144e+'.'+_0x388385+_0x24acd9(0x2f2)+_0xf809fa+_0x24acd9(0x258);}return _0x24acd9(0x325)+_0x26144e+'.'+_0x388385+_0x24acd9(0x2b0);}}class OperationFactory{[a0_0x54b9fe(0x27b)](_0x2d0fe2,_0x34f47a,_0x539881){const _0x27374a=a0_0x54b9fe;switch(_0x2d0fe2){case'getSelectOptions':return new GetSelectOptionsOperation(_0x2d0fe2,_0x34f47a,_0x539881);case _0x27374a(0x230):return new GetListOperation(_0x2d0fe2,_0x34f47a,_0x539881);default:return new GenericOperation(_0x2d0fe2,_0x34f47a,_0x539881);}}[a0_0x54b9fe(0x229)](_0xd6d5ee,_0x1947ab){const _0x47d374=a0_0x54b9fe,_0x4a0929=new Map();return Object[_0x47d374(0x315)](_0xd6d5ee)[_0x47d374(0x236)](([_0x2d5529,_0x2734dc])=>{const _0x3347fa=_0x47d374;_0x4a0929[_0x3347fa(0x273)](_0x2d5529,this[_0x3347fa(0x27b)](_0x2d5529,_0x2734dc,_0x1947ab));}),_0x4a0929;}}class OperationList{[a0_0x54b9fe(0x29c)];constructor(_0x48edf0,_0x18b3b4){const _0x3128fc=a0_0x54b9fe,_0x390baa=new OperationFactory();this[_0x3128fc(0x29c)]=_0x390baa[_0x3128fc(0x229)](_0x48edf0,_0x18b3b4);}[a0_0x54b9fe(0x26d)](_0x70b4bc){return this['_operations']['get'](_0x70b4bc);}[a0_0x54b9fe(0x1fc)](_0x426a3d){const _0x3402be=a0_0x54b9fe;return this[_0x3402be(0x29c)][_0x3402be(0x1fc)](_0x426a3d);}['size'](){const _0x33e6bc=a0_0x54b9fe;return this[_0x33e6bc(0x29c)][_0x33e6bc(0x25f)];}[a0_0x54b9fe(0x2a3)](){const _0x253771=a0_0x54b9fe;return Array[_0x253771(0x227)](this[_0x253771(0x29c)][_0x253771(0x2ab)]());}[a0_0x54b9fe(0x344)](){const _0x1a2e92=a0_0x54b9fe;return Array['from'](this[_0x1a2e92(0x29c)][_0x1a2e92(0x2e6)]());}['getEnabled'](){const _0x205763=a0_0x54b9fe;return this[_0x205763(0x344)]()[_0x205763(0x23b)](_0x1e554b=>_0x1e554b[_0x205763(0x2fd)]());}[a0_0x54b9fe(0x1ea)](){const _0x19cf10=a0_0x54b9fe;return this['toArray']()[_0x19cf10(0x23b)](_0x531cd0=>!_0x531cd0['isEnabled']());}[a0_0x54b9fe(0x32e)](){const _0x2cd193=a0_0x54b9fe;return this[_0x2cd193(0x21f)]()[_0x2cd193(0x25b)](_0x4bfe08=>_0x4bfe08[_0x2cd193(0x20f)]());}[a0_0x54b9fe(0x2c6)](){const _0x198ab3=a0_0x54b9fe;return this[_0x198ab3(0x1ea)]()[_0x198ab3(0x25b)](_0x3ac380=>_0x3ac380['getName']());}[a0_0x54b9fe(0x322)](_0x1aac44){const _0x2adf32=a0_0x54b9fe;return this[_0x2adf32(0x344)]()[_0x2adf32(0x23b)](_0x21ee7c=>_0x21ee7c['getType']()===_0x1aac44);}['filter'](_0x1aea44){const _0x470c03=a0_0x54b9fe;return this[_0x470c03(0x344)]()['filter'](_0x1aea44);}[a0_0x54b9fe(0x20c)](_0x538a38={}){const _0x4760c2=a0_0x54b9fe;let _0x34c5ff=this[_0x4760c2(0x344)]();!_0x538a38[_0x4760c2(0x233)]&&(_0x34c5ff=_0x34c5ff[_0x4760c2(0x23b)](_0x155709=>_0x155709[_0x4760c2(0x2fd)]()));if(_0x538a38['filterBlacklist']!==![]){const _0x2dfb76=_0x34c5ff['map'](_0x5c4638=>({'name':_0x5c4638['getName'](),'operation':_0x5c4638})),_0x38e778=filterApiOperations(_0x2dfb76);_0x34c5ff=_0x38e778[_0x4760c2(0x25b)](_0x1984f0=>_0x1984f0[_0x4760c2(0x1e6)]);}return _0x538a38[_0x4760c2(0x226)]&&(_0x34c5ff=_0x34c5ff[_0x4760c2(0x23b)](_0x538a38[_0x4760c2(0x226)])),_0x34c5ff;}[a0_0x54b9fe(0x371)](){const _0x4099ca=a0_0x54b9fe,_0x2e4482=this[_0x4099ca(0x21f)]();return{'total':this[_0x4099ca(0x25f)](),'enabled':_0x2e4482[_0x4099ca(0x301)],'disabled':this[_0x4099ca(0x25f)]()-_0x2e4482['length'],'byType':this[_0x4099ca(0x1f7)](_0x2e4482),'byMethod':this['getCountByMethod'](_0x2e4482)};}[a0_0x54b9fe(0x1f7)](_0x136990){const _0x4c8ac3=a0_0x54b9fe,_0x59dd94={};return _0x136990[_0x4c8ac3(0x236)](_0x88e6bb=>{const _0x3fdd6f=_0x4c8ac3,_0x549d00=_0x88e6bb[_0x3fdd6f(0x293)]();_0x549d00&&(_0x59dd94[_0x549d00]=(_0x59dd94[_0x549d00]||0x0)+0x1);}),_0x59dd94;}['getCountByMethod'](_0x46f9c5){const _0x5ddf9d=a0_0x54b9fe,_0x1afd06={};return _0x46f9c5[_0x5ddf9d(0x236)](_0x2e9e46=>{const _0xa7f52a=_0x2e9e46['getMethod']();_0xa7f52a&&(_0x1afd06[_0xa7f52a]=(_0x1afd06[_0xa7f52a]||0x0)+0x1);}),_0x1afd06;}[Symbol[a0_0x54b9fe(0x30c)]](){const _0x58482c=a0_0x54b9fe;return this[_0x58482c(0x29c)]['values']();}[a0_0x54b9fe(0x2eb)](){const _0x40578f=a0_0x54b9fe,_0x286ba2=this['getStats']();return _0x40578f(0x2a7)+_0x286ba2[_0x40578f(0x222)]+'/'+_0x286ba2['total']+_0x40578f(0x31f);}}class DrivenDataDetail extends DatasetItem{[a0_0x54b9fe(0x29b)];constructor(_0x274c8d){const _0x36eb09=a0_0x54b9fe;super({..._0x274c8d,'id':_0x274c8d[_0x36eb09(0x234)],'datasetCode':_0x274c8d['modelCode']});}get[a0_0x54b9fe(0x292)](){const _0x464c45=a0_0x54b9fe;return this[_0x464c45(0x2d7)]['source'];}[a0_0x54b9fe(0x2dc)](){const _0x54667b=a0_0x54b9fe;return this[_0x54667b(0x292)];}get['version'](){const _0x34886e=a0_0x54b9fe;return this[_0x34886e(0x2d7)][_0x34886e(0x221)];}['getFields'](){const _0x4c60fa=a0_0x54b9fe;return this[_0x4c60fa(0x2d7)]['properties']||[];}[a0_0x54b9fe(0x2a8)](){const _0x2db392=a0_0x54b9fe;return this[_0x2db392(0x37f)]()[_0x2db392(0x301)];}[a0_0x54b9fe(0x2a1)](_0x52f115){const _0x62da3e=a0_0x54b9fe;if(typeof _0x52f115!==_0x62da3e(0x21b)){console['warn']('[DrivenDataDetail.getField]\x20code\x20is\x20not\x20a\x20string:',_0x52f115);return;}return this[_0x62da3e(0x37f)]()['find'](_0x5f1a61=>_0x5f1a61&&_0x5f1a61[_0x62da3e(0x2e2)]===_0x52f115);}[a0_0x54b9fe(0x26c)](_0x273235){const _0x134bea=a0_0x54b9fe;return Boolean(this[_0x134bea(0x2a1)](_0x273235));}['parseFieldExtend'](_0x4fc14f){const _0x4114ea=a0_0x54b9fe;if(!_0x4fc14f||typeof _0x4fc14f!==_0x4114ea(0x2f7))return console[_0x4114ea(0x21a)](_0x4114ea(0x2d9),_0x4fc14f),{};if(!_0x4fc14f[_0x4114ea(0x346)])return{};try{const _0x21caad=typeof _0x4fc14f[_0x4114ea(0x346)]===_0x4114ea(0x21b)?JSON['parse'](_0x4fc14f[_0x4114ea(0x346)]):_0x4fc14f['extend'];if(typeof _0x21caad!==_0x4114ea(0x2f7)||_0x21caad===null)return console[_0x4114ea(0x21a)](_0x4114ea(0x262),_0x21caad),{};return _0x21caad;}catch(_0xb453b7){return console[_0x4114ea(0x21a)](_0x4114ea(0x2f9)+_0x4fc14f[_0x4114ea(0x2e2)]+_0x4114ea(0x202),_0xb453b7),{};}}[a0_0x54b9fe(0x1f2)](_0x1b3b0c){const _0x42ee6e=a0_0x54b9fe;if(!_0x1b3b0c||typeof _0x1b3b0c!==_0x42ee6e(0x2f7))return![];const _0x3d3af2=this['parseFieldExtend'](_0x1b3b0c);return Boolean(_0x3d3af2[_0x42ee6e(0x2ae)]);}[a0_0x54b9fe(0x31c)](_0x3c823d){const _0x5f35de=a0_0x54b9fe;if(!_0x3c823d||typeof _0x3c823d!==_0x5f35de(0x2f7))return![];const _0x526be7=this[_0x5f35de(0x248)](_0x3c823d);return Boolean(_0x526be7[_0x5f35de(0x2b3)]);}[a0_0x54b9fe(0x303)](_0x579860){const _0xd00ae2=a0_0x54b9fe;if(!_0x579860||typeof _0x579860!==_0xd00ae2(0x2f7))return![];const _0x57bf14=this['parseFieldExtend'](_0x579860);return Boolean(_0x57bf14[_0xd00ae2(0x310)]);}[a0_0x54b9fe(0x314)](){const _0x34d431=a0_0x54b9fe;return this[_0x34d431(0x37f)]()[_0x34d431(0x23b)](_0x34637e=>this[_0x34d431(0x1f2)](_0x34637e));}[a0_0x54b9fe(0x225)](){const _0x43418c=a0_0x54b9fe;return this[_0x43418c(0x37f)]()[_0x43418c(0x23b)](_0x16ce77=>this[_0x43418c(0x31c)](_0x16ce77));}[a0_0x54b9fe(0x1f1)](){const _0x9a6fe9=a0_0x54b9fe;return this['getFields']()['filter'](_0x164ecc=>!this[_0x9a6fe9(0x31c)](_0x164ecc));}[a0_0x54b9fe(0x324)](){const _0xfc84c6=a0_0x54b9fe;return this[_0xfc84c6(0x37f)]()[_0xfc84c6(0x23b)](_0x80f3b0=>this[_0xfc84c6(0x303)](_0x80f3b0));}[a0_0x54b9fe(0x2f4)](){const _0x3a7ad5=a0_0x54b9fe,_0x52e33f={};for(const _0x4b11cf of this[_0x3a7ad5(0x37f)]()){!_0x52e33f[_0x4b11cf[_0x3a7ad5(0x20e)]]&&(_0x52e33f[_0x4b11cf['type']]=[]),_0x52e33f[_0x4b11cf[_0x3a7ad5(0x20e)]]['push'](_0x4b11cf);}return _0x52e33f;}['isEnumField'](_0x187a16){const _0x47434b=a0_0x54b9fe;if(!_0x187a16||typeof _0x187a16!==_0x47434b(0x2f7))return![];const _0x3d5d6b=['RADIO',_0x47434b(0x2d4),_0x47434b(0x2cb)];return _0x3d5d6b[_0x47434b(0x268)](_0x187a16[_0x47434b(0x20e)]);}[a0_0x54b9fe(0x30e)](_0x5d5f72){const _0x3559a3=a0_0x54b9fe;if(!_0x5d5f72||typeof _0x5d5f72!=='object')return![];return _0x5d5f72[_0x3559a3(0x20e)]===_0x3559a3(0x2cb);}[a0_0x54b9fe(0x1ed)](_0x5515ca){const _0x24d616=a0_0x54b9fe;if(!this[_0x24d616(0x260)](_0x5515ca))return[];const _0x2ac101=this[_0x24d616(0x248)](_0x5515ca);if(Array[_0x24d616(0x269)](_0x2ac101[_0x24d616(0x217)])&&_0x2ac101['options'][_0x24d616(0x301)]>0x0)return _0x2ac101[_0x24d616(0x217)];return[];}[a0_0x54b9fe(0x32c)](_0x5a8620){const _0xebf06d=a0_0x54b9fe;if(!this[_0xebf06d(0x260)](_0x5a8620))return;const _0x49389d=this[_0xebf06d(0x248)](_0x5a8620);return _0x49389d[_0xebf06d(0x251)];}[a0_0x54b9fe(0x2c0)](_0x20e0ec){const _0x3fd1e4=a0_0x54b9fe;if(!this['isEnumField'](_0x20e0ec))return;const _0x5b2f2a=this[_0x3fd1e4(0x1ed)](_0x20e0ec),_0x4951bd=this[_0x3fd1e4(0x32c)](_0x20e0ec),_0x128cf3=[],_0x29e73f={},_0x5edeb0=_0x1898f9=>{const _0x5edb7f=_0x3fd1e4;_0x1898f9[_0x5edb7f(0x236)](_0x548963=>{const _0x22368d=_0x5edb7f;_0x128cf3[_0x22368d(0x272)](_0x548963['value']),_0x29e73f[String(_0x548963[_0x22368d(0x237)])]=_0x548963[_0x22368d(0x265)],_0x548963[_0x22368d(0x345)]&&_0x548963['children']['length']>0x0&&_0x5edeb0(_0x548963[_0x22368d(0x345)]);});};return _0x5b2f2a['length']>0x0&&_0x5edeb0(_0x5b2f2a),{'code':_0x20e0ec[_0x3fd1e4(0x2e2)],'name':_0x20e0ec['name'],'type':_0x20e0ec[_0x3fd1e4(0x20e)],'multiple':this[_0x3fd1e4(0x30e)](_0x20e0ec),'options':_0x5b2f2a[_0x3fd1e4(0x301)]>0x0?_0x5b2f2a:undefined,'selectItemsSource':_0x4951bd,'values':_0x128cf3,'valueLabels':_0x29e73f};}[a0_0x54b9fe(0x278)](){const _0x2790bb=a0_0x54b9fe;return this[_0x2790bb(0x37f)]()[_0x2790bb(0x23b)](_0x576cc8=>this[_0x2790bb(0x260)](_0x576cc8));}['getEnumFieldsMeta'](){const _0x58a23f=a0_0x54b9fe,_0x215402={};return this['getEnumFields']()[_0x58a23f(0x236)](_0x593072=>{const _0x32b14d=_0x58a23f,_0x5e4184=this[_0x32b14d(0x2c0)](_0x593072);_0x5e4184&&(_0x215402[_0x593072[_0x32b14d(0x2e2)]]=_0x5e4184);}),_0x215402;}[a0_0x54b9fe(0x34b)](_0x1f5ce0,_0x29e290){const _0x18b5a3=a0_0x54b9fe,_0x25b6b7=this[_0x18b5a3(0x2c0)](_0x1f5ce0);if(!_0x25b6b7)return!![];if(_0x25b6b7[_0x18b5a3(0x251)]&&!_0x25b6b7['options'])return!![];if(_0x25b6b7[_0x18b5a3(0x2da)]&&Array[_0x18b5a3(0x269)](_0x29e290))return _0x29e290['every'](_0x23581d=>_0x25b6b7[_0x18b5a3(0x2e6)][_0x18b5a3(0x268)](_0x23581d));return _0x25b6b7['values'][_0x18b5a3(0x268)](_0x29e290);}[a0_0x54b9fe(0x2a9)](){const _0x342796=a0_0x54b9fe;return!this[_0x342796(0x29b)]&&(this[_0x342796(0x29b)]=new OperationList(this[_0x342796(0x2d7)]['operations']||{},{'fields':this[_0x342796(0x37f)](),'pkField':this['_raw']['dbtableConfig']?.['pkField'],'dbtableConfig':this[_0x342796(0x2d7)][_0x342796(0x34e)]})),this[_0x342796(0x29b)];}[a0_0x54b9fe(0x210)](){const _0x315cee=a0_0x54b9fe;return this[_0x315cee(0x2a9)]()['toArray']();}[a0_0x54b9fe(0x290)](){const _0x1263e4=a0_0x54b9fe;return this[_0x1263e4(0x2a9)]()[_0x1263e4(0x25f)]();}[a0_0x54b9fe(0x2c9)](_0x4ef788){const _0x411cb6=a0_0x54b9fe;if(typeof _0x4ef788!=='string'){console[_0x411cb6(0x21a)](_0x411cb6(0x254),_0x4ef788);return;}return this[_0x411cb6(0x2a9)]()[_0x411cb6(0x26d)](_0x4ef788);}[a0_0x54b9fe(0x22c)](_0x2b6b25){const _0x17a6cb=a0_0x54b9fe;if(typeof _0x2b6b25!==_0x17a6cb(0x21b))return![];return this['getOperationList']()['has'](_0x2b6b25);}[a0_0x54b9fe(0x2a6)](_0x3ed9d0){const _0x3077e9=a0_0x54b9fe;if(typeof _0x3ed9d0!==_0x3077e9(0x21b))return![];const _0x2238f4=this[_0x3077e9(0x2c9)](_0x3ed9d0);return _0x2238f4?.['isEnabled']()||![];}[a0_0x54b9fe(0x249)](){const _0x5c5241=a0_0x54b9fe;return this[_0x5c5241(0x2a9)]()[_0x5c5241(0x32e)]();}['getDisabledOperations'](){const _0x2e29f5=a0_0x54b9fe;return this['getOperationList']()[_0x2e29f5(0x2c6)]();}[a0_0x54b9fe(0x2d1)](){const _0x1116e6=a0_0x54b9fe;return this[_0x1116e6(0x2a9)]()['getEnabled']();}[a0_0x54b9fe(0x28a)](){const _0x193442=a0_0x54b9fe;return this[_0x193442(0x2a9)]()[_0x193442(0x1ea)]();}[a0_0x54b9fe(0x371)](){const _0x8648c5=a0_0x54b9fe;return{'fieldCount':this[_0x8648c5(0x2a8)](),'systemFieldCount':this[_0x8648c5(0x225)]()['length'],'businessFieldCount':this[_0x8648c5(0x1f1)]()[_0x8648c5(0x301)],'requiredFieldCount':this[_0x8648c5(0x324)]()[_0x8648c5(0x301)],'primaryKeyCount':this[_0x8648c5(0x314)]()[_0x8648c5(0x301)],'operationCount':this[_0x8648c5(0x290)](),'enabledOperationCount':this[_0x8648c5(0x249)]()['length']};}['toListItem'](){const _0x20fb52=a0_0x54b9fe;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x20fb52(0x257)],'dbtableConfig':this[_0x20fb52(0x336)]()});}[a0_0x54b9fe(0x2eb)](){const _0x3bead1=a0_0x54b9fe;return _0x3bead1(0x208)+this[_0x3bead1(0x374)]+',\x20'+this['datasetCode']+',\x20'+this['getFieldCount']()+_0x3bead1(0x2bc)+this['getOperationCount']()+_0x3bead1(0x31f);}}class DatasetGroup{['items'];constructor(_0x455ef6){const _0x46c405=a0_0x54b9fe;this[_0x46c405(0x357)]=Array[_0x46c405(0x269)](_0x455ef6)?[..._0x455ef6]:[_0x455ef6],this['items'][_0x46c405(0x253)]((_0xabe210,_0x8e923b)=>{const _0x36f544=Number(_0xabe210['id'])||0x0,_0x5167d5=Number(_0x8e923b['id'])||0x0;return _0x5167d5-_0x36f544;});}[a0_0x54b9fe(0x22f)](){const _0x36ae81=a0_0x54b9fe;return this[_0x36ae81(0x357)][_0x36ae81(0x301)]>0x1;}['getLatest'](){return this['items'][0x0];}['getOldest'](){const _0x5bd104=a0_0x54b9fe;return this[_0x5bd104(0x357)][this[_0x5bd104(0x357)][_0x5bd104(0x301)]-0x1];}['getAll'](){const _0x5cb146=a0_0x54b9fe;return[...this[_0x5cb146(0x357)]];}[a0_0x54b9fe(0x2ff)](){const _0x2388ae=a0_0x54b9fe;return this[_0x2388ae(0x357)][_0x2388ae(0x301)];}[a0_0x54b9fe(0x238)](_0x24e4ee){const _0x346a15=a0_0x54b9fe;return this[_0x346a15(0x357)][_0x24e4ee];}['findById'](_0x4c5174){return this['items']['find'](_0x3027bb=>_0x3027bb['id']===_0x4c5174);}[a0_0x54b9fe(0x2c8)](_0x4900fc){const _0x47ac9a=a0_0x54b9fe;return this['items']['find'](_0x1d8694=>_0x1d8694[_0x47ac9a(0x257)]===_0x4900fc);}[a0_0x54b9fe(0x1fd)](){const _0x5da277=a0_0x54b9fe;return this[_0x5da277(0x357)]['map'](_0x28f847=>_0x28f847['id'])[_0x5da277(0x23b)](_0x26f549=>_0x26f549!==undefined);}[a0_0x54b9fe(0x350)](){const _0x57855c=a0_0x54b9fe;return this['items'][_0x57855c(0x25b)](_0x5ad771=>_0x5ad771[_0x57855c(0x257)]);}[a0_0x54b9fe(0x2eb)](){const _0x2b395f=a0_0x54b9fe;if(this[_0x2b395f(0x22f)]())return'DatasetGroup('+this[_0x2b395f(0x357)]['length']+_0x2b395f(0x2cc)+this[_0x2b395f(0x24b)]()[_0x2b395f(0x374)]+')';return _0x2b395f(0x33f)+this[_0x2b395f(0x357)][0x0][_0x2b395f(0x374)]+')';}}class DatasetGroupMap{[a0_0x54b9fe(0x37a)];constructor(_0x3ea858){const _0x126321=a0_0x54b9fe;this['groups']=new Map();for(const _0x1382ff of _0x3ea858){const _0x586707=getTableKey(_0x1382ff);if(!this[_0x126321(0x37a)][_0x126321(0x1fc)](_0x586707))this[_0x126321(0x37a)]['set'](_0x586707,new DatasetGroup(_0x1382ff));else{const _0x47d28e=this['groups'][_0x126321(0x26d)](_0x586707),_0x1202ca=[..._0x47d28e[_0x126321(0x30a)](),_0x1382ff];this[_0x126321(0x37a)]['set'](_0x586707,new DatasetGroup(_0x1202ca));}}}[a0_0x54b9fe(0x26d)](_0x4d4153){const _0xfc2d3e=a0_0x54b9fe;return this[_0xfc2d3e(0x37a)][_0xfc2d3e(0x26d)](_0x4d4153);}[a0_0x54b9fe(0x1fc)](_0x499df3){const _0x256432=a0_0x54b9fe;return this[_0x256432(0x37a)][_0x256432(0x1fc)](_0x499df3);}get['size'](){const _0xefe463=a0_0x54b9fe;return this[_0xefe463(0x37a)][_0xefe463(0x25f)];}[a0_0x54b9fe(0x2ab)](){const _0x5f48cf=a0_0x54b9fe;return this[_0x5f48cf(0x37a)][_0x5f48cf(0x2ab)]();}['values'](){const _0x3636fd=a0_0x54b9fe;return this[_0x3636fd(0x37a)][_0x3636fd(0x2e6)]();}[a0_0x54b9fe(0x315)](){const _0x548f4b=a0_0x54b9fe;return this[_0x548f4b(0x37a)][_0x548f4b(0x315)]();}[Symbol[a0_0x54b9fe(0x30c)]](){const _0x292b8c=a0_0x54b9fe;return this[_0x292b8c(0x37a)][_0x292b8c(0x315)]();}['forEach'](_0x58240b){const _0x43f9eb=a0_0x54b9fe;this[_0x43f9eb(0x37a)][_0x43f9eb(0x236)]((_0x11dcf1,_0x4bba90)=>_0x58240b(_0x11dcf1,_0x4bba90,this));}[a0_0x54b9fe(0x23e)](){const _0x22977f=a0_0x54b9fe,_0x17edf1=new Map();for(const [_0x4bd41a,_0x34061c]of this[_0x22977f(0x37a)]){_0x34061c['hasConflict']()&&_0x17edf1[_0x22977f(0x273)](_0x4bd41a,_0x34061c);}return _0x17edf1;}[a0_0x54b9fe(0x2ed)](){const _0x52292a=a0_0x54b9fe;for(const _0x4d1214 of this[_0x52292a(0x37a)][_0x52292a(0x2e6)]()){if(_0x4d1214['hasConflict']())return!![];}return![];}[a0_0x54b9fe(0x298)](){const _0xa9e8c8=a0_0x54b9fe;let _0x6984ca=0x0,_0x189631=0x0;for(const _0x4e083d of this['groups'][_0xa9e8c8(0x2e6)]()){_0x4e083d[_0xa9e8c8(0x22f)]()&&(_0x6984ca++,_0x189631+=_0x4e083d[_0xa9e8c8(0x2ff)]());}return{'conflictGroupCount':_0x6984ca,'conflictItemCount':_0x189631,'totalGroups':this['groups'][_0xa9e8c8(0x25f)]};}[a0_0x54b9fe(0x2fe)](){const _0x1e47be=a0_0x54b9fe,_0x26d8cd=[];for(const _0x56ceaa of this[_0x1e47be(0x37a)][_0x1e47be(0x2e6)]()){_0x26d8cd[_0x1e47be(0x272)](..._0x56ceaa[_0x1e47be(0x30a)]());}return _0x26d8cd;}[a0_0x54b9fe(0x2f5)](){const _0x4e363d=a0_0x54b9fe,_0x1ad62a=[];for(const _0x36da34 of this[_0x4e363d(0x37a)]['values']()){_0x1ad62a[_0x4e363d(0x272)](_0x36da34[_0x4e363d(0x24b)]());}return _0x1ad62a;}['getLatest'](_0x64887b){const _0x58cbc9=a0_0x54b9fe;return this[_0x58cbc9(0x37a)][_0x58cbc9(0x26d)](_0x64887b)?.['getLatest']();}[a0_0x54b9fe(0x30a)](_0x1354b0){const _0xcd93e=a0_0x54b9fe;return this[_0xcd93e(0x37a)][_0xcd93e(0x26d)](_0x1354b0)?.[_0xcd93e(0x30a)]()||[];}['toConfig'](){const _0x7db608=a0_0x54b9fe,_0x521ec4=this[_0x7db608(0x2f5)](),_0x27e02a=_0x521ec4[_0x7db608(0x25b)](_0x55f13d=>_0x55f13d['toJSON']());return generateDatasetsConfig(_0x27e02a,{'enableDeduplication':![]});}[a0_0x54b9fe(0x203)](){const _0x57abeb=a0_0x54b9fe,_0x2e67d1=this[_0x57abeb(0x2fe)](),_0x44bd94=_0x2e67d1[_0x57abeb(0x25b)](_0x5a489e=>_0x5a489e[_0x57abeb(0x212)]());return generateFullDatasetsConfig(_0x44bd94);}[a0_0x54b9fe(0x2ca)](){const _0x2741df=a0_0x54b9fe,_0x31247e={};for(const [_0x47f4e4,_0x56caf4]of this[_0x2741df(0x37a)]){_0x31247e[_0x47f4e4]=_0x56caf4;}return _0x31247e;}['toJSON'](){const _0x1d998a=a0_0x54b9fe,_0x223de2={};for(const [_0x1c5528,_0x530a12]of this[_0x1d998a(0x37a)]){_0x223de2[_0x1c5528]=_0x530a12[_0x1d998a(0x30a)]()['map'](_0x3bca50=>_0x3bca50['toJSON']());}return _0x223de2;}[a0_0x54b9fe(0x2eb)](){const _0x247cee=a0_0x54b9fe;return _0x247cee(0x2aa)+this[_0x247cee(0x37a)][_0x247cee(0x25f)]+'\x20groups,\x20'+(this[_0x247cee(0x2ed)]()?_0x247cee(0x283):_0x247cee(0x2b2))+')';}}class DatasetList{['_datasetMap'];constructor(_0x51514d){const _0x13ad99=a0_0x54b9fe;let _0x44a021;if(Array[_0x13ad99(0x269)](_0x51514d))_0x44a021=_0x51514d;else{if(_0x13ad99(0x367)in _0x51514d){if(!_0x51514d[_0x13ad99(0x367)]||!_0x51514d['data']?.[_0x13ad99(0x24f)])throw new Error(_0x13ad99(0x2cd));_0x44a021=_0x51514d[_0x13ad99(0x33e)][_0x13ad99(0x24f)][_0x13ad99(0x25b)](_0x460284=>({..._0x460284,'datasetCode':_0x460284[_0x13ad99(0x2e2)]||_0x460284[_0x13ad99(0x257)]}));}else{if('tableData'in _0x51514d){if(!Array[_0x13ad99(0x269)](_0x51514d[_0x13ad99(0x24f)]))throw new Error(_0x13ad99(0x2fc));_0x44a021=_0x51514d[_0x13ad99(0x24f)][_0x13ad99(0x25b)](_0x59e98a=>({..._0x59e98a,'datasetCode':_0x59e98a[_0x13ad99(0x2e2)]||_0x59e98a['datasetCode']}));}else throw new Error(_0x13ad99(0x26b));}}const _0x21d9e2=_0x44a021[_0x13ad99(0x25b)](_0x1f9555=>new DatasetItem(_0x1f9555));this[_0x13ad99(0x349)]=new DatasetGroupMap(_0x21d9e2);}get['datasetMap'](){const _0x124594=a0_0x54b9fe;return this[_0x124594(0x349)];}[a0_0x54b9fe(0x1e7)](){const _0x154de7=a0_0x54b9fe;return this[_0x154de7(0x349)][_0x154de7(0x2fe)]();}[a0_0x54b9fe(0x2ff)](){return this['getItems']()['length'];}[a0_0x54b9fe(0x370)](){const _0x1bde18=a0_0x54b9fe;return this[_0x1bde18(0x349)][_0x1bde18(0x25f)]===0x0;}[a0_0x54b9fe(0x238)](_0x3ba5d1){const _0x29cb70=a0_0x54b9fe;return this[_0x29cb70(0x1e7)]()[_0x3ba5d1];}['getFirst'](){const _0x302f80=a0_0x54b9fe;return this[_0x302f80(0x1e7)]()[0x0];}[a0_0x54b9fe(0x27d)](){const _0x3a482c=a0_0x54b9fe,_0x377c56=this['getItems']();return _0x377c56[_0x377c56[_0x3a482c(0x301)]-0x1];}[a0_0x54b9fe(0x2c8)](_0x4631cb){const _0x235aca=a0_0x54b9fe;for(const _0x51f1bb of this[_0x235aca(0x349)]['values']()){const _0x3f70e1=_0x51f1bb['findByCode'](_0x4631cb);if(_0x3f70e1)return _0x3f70e1;}return;}[a0_0x54b9fe(0x361)](_0x3e85bb){const _0x138d03=a0_0x54b9fe;return this[_0x138d03(0x1e7)]()['find'](_0x33d21b=>_0x33d21b['name']===_0x3e85bb);}[a0_0x54b9fe(0x26f)](_0x3db2e4){const _0xfd43ca=a0_0x54b9fe;for(const _0x5f53b2 of this[_0xfd43ca(0x349)][_0xfd43ca(0x2e6)]()){const _0xa55c96=_0x5f53b2[_0xfd43ca(0x26f)](_0x3db2e4);if(_0xa55c96)return _0xa55c96;}return;}['findByTableName'](_0x1a64c0){const _0x5f2ef2=a0_0x54b9fe,_0x366b45=getTableKey(_0x1a64c0);return this[_0x5f2ef2(0x349)][_0x5f2ef2(0x24b)](_0x366b45);}['filter'](_0x4b023b){const _0xafe2b5=a0_0x54b9fe,_0x566b27=this['getItems']()[_0xafe2b5(0x23b)](_0x4b023b);return new DatasetList(_0x566b27[_0xafe2b5(0x25b)](_0xf0a9f6=>_0xf0a9f6[_0xafe2b5(0x212)]()));}[a0_0x54b9fe(0x25e)](_0x3525ac){return this['getItems']()['filter'](_0x3525ac);}[a0_0x54b9fe(0x236)](_0x2b4088){const _0x1d19a5=a0_0x54b9fe;this[_0x1d19a5(0x1e7)]()[_0x1d19a5(0x236)](_0x2b4088);}[a0_0x54b9fe(0x25b)](_0x1f70da){const _0xc94438=a0_0x54b9fe;return this[_0xc94438(0x1e7)]()['map'](_0x1f70da);}[Symbol[a0_0x54b9fe(0x30c)]](){const _0x17a622=a0_0x54b9fe;return this['getItems']()[Symbol[_0x17a622(0x30c)]]();}['getVirtualTables'](){const _0x22edcb=a0_0x54b9fe;return this[_0x22edcb(0x1e7)]()['filter'](_0x8e1e92=>_0x8e1e92['isVirtualTable']());}['getRealTables'](){const _0x3fef4c=a0_0x54b9fe;return this['getItems']()[_0x3fef4c(0x23b)](_0x4caf73=>!_0x4caf73[_0x3fef4c(0x347)]());}[a0_0x54b9fe(0x219)](){const _0x2ab7d3=a0_0x54b9fe,_0x2c6122={};for(const _0x320c75 of this['_datasetMap'][_0x2ab7d3(0x2e6)]()){const _0x6d6ced=_0x320c75[_0x2ab7d3(0x24b)]()[_0x2ab7d3(0x304)]();_0x2c6122[_0x6d6ced]=_0x320c75[_0x2ab7d3(0x30a)]();}return _0x2c6122;}['detectConflicts'](){const _0x4ff013=a0_0x54b9fe,_0x582dfd={};for(const _0x488a2c of this[_0x4ff013(0x349)][_0x4ff013(0x23e)]()[_0x4ff013(0x2e6)]()){const _0x461b69=_0x488a2c[_0x4ff013(0x24b)]()['getTableName']();_0x582dfd[_0x461b69]=_0x488a2c[_0x4ff013(0x30a)]()[_0x4ff013(0x25b)](_0x1c3077=>_0x1c3077[_0x4ff013(0x212)]());}return{'hasConflicts':Object[_0x4ff013(0x2ab)](_0x582dfd)[_0x4ff013(0x301)]>0x0,'conflicts':_0x582dfd};}['hasConflicts'](){const _0x42312b=a0_0x54b9fe;return this[_0x42312b(0x349)]['hasConflicts']();}[a0_0x54b9fe(0x24d)](){const _0x35fac5=a0_0x54b9fe,_0x503238=[];for(const _0x29ee11 of this[_0x35fac5(0x349)][_0x35fac5(0x23e)]()[_0x35fac5(0x2e6)]()){_0x503238[_0x35fac5(0x272)](..._0x29ee11[_0x35fac5(0x30a)]());}return _0x503238;}[a0_0x54b9fe(0x31a)](_0x1a533f){const _0x1bb07d=a0_0x54b9fe;if(!_0x1a533f||Object['keys'](_0x1a533f)[_0x1bb07d(0x301)]===0x0)return this[_0x1bb07d(0x36c)][_0x1bb07d(0x263)]();const _0x14d6f9=this[_0x1bb07d(0x1e7)]()['map'](_0x41eafc=>_0x41eafc[_0x1bb07d(0x212)]());return generateDatasetsConfig(_0x14d6f9,_0x1a533f);}[a0_0x54b9fe(0x2e7)](_0x2e3055){const _0x277929=a0_0x54b9fe,_0x21a954=this[_0x277929(0x31a)](_0x2e3055);return datasetsConfigToArray(_0x21a954);}['toConfigArray'](){const _0x543bb1=a0_0x54b9fe;return this[_0x543bb1(0x1e7)]()[_0x543bb1(0x25b)](_0x13c7e2=>_0x13c7e2[_0x543bb1(0x263)]());}[a0_0x54b9fe(0x371)](){const _0x2ccf83=a0_0x54b9fe;return{'total':this[_0x2ccf83(0x2ff)](),'virtualTables':this['getVirtualTables']()['length'],'realTables':this[_0x2ccf83(0x35e)]()['length'],'hasConflicts':this[_0x2ccf83(0x2ed)](),'conflictCount':this[_0x2ccf83(0x24d)]()[_0x2ccf83(0x301)]};}[a0_0x54b9fe(0x344)](){const _0x5a6a51=a0_0x54b9fe;return this[_0x5a6a51(0x1e7)]()[_0x5a6a51(0x25b)](_0x29291d=>_0x29291d[_0x5a6a51(0x212)]());}[a0_0x54b9fe(0x212)](){const _0x2b8749=a0_0x54b9fe;return this[_0x2b8749(0x344)]();}['toString'](){const _0x48b344=a0_0x54b9fe;return _0x48b344(0x223)+this[_0x48b344(0x2ff)]()+'\x20items,\x20'+this['_datasetMap'][_0x48b344(0x25f)]+'\x20groups)';}static[a0_0x54b9fe(0x2a0)](_0x20013f){return new DatasetList(_0x20013f);}static[a0_0x54b9fe(0x333)](_0x31341b){return new DatasetList(_0x31341b);}static[a0_0x54b9fe(0x341)](){return new DatasetList([]);}}function operationToAnalysis(_0x3767e0){const _0x1b8c70=a0_0x54b9fe;return{'name':_0x3767e0['getName'](),'displayName':_0x3767e0['getDisplayName'](),'type':_0x3767e0[_0x1b8c70(0x293)](),'method':_0x3767e0[_0x1b8c70(0x352)](),'path':_0x3767e0[_0x1b8c70(0x275)](),'fullUrl':_0x3767e0[_0x1b8c70(0x2c5)](),'requestFields':_0x3767e0[_0x1b8c70(0x36e)](),'requestParams':_0x3767e0[_0x1b8c70(0x24a)](),'responseSchema':_0x3767e0[_0x1b8c70(0x280)](),'requestExample':_0x3767e0[_0x1b8c70(0x23c)](),'responseExample':_0x3767e0[_0x1b8c70(0x33b)](),'enabled':_0x3767e0['isEnabled']()};}function operationsToAnalyses(_0x40be1c){const _0x47bc87=a0_0x54b9fe;return _0x40be1c[_0x47bc87(0x25b)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x54b9fe(0x351)];['getOperationAnalyses'](_0x476860=![]){const _0x513260=a0_0x54b9fe;if(!_0x476860&&this[_0x513260(0x351)])return this[_0x513260(0x351)];const _0xa0d21f=this['getOperations']();return this['_operationAnalyses']=operationsToAnalyses(_0xa0d21f),this['_operationAnalyses'];}[a0_0x54b9fe(0x22e)](){const _0x100946=a0_0x54b9fe;return this[_0x100946(0x1f8)]({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x54b9fe(0x1f8)](_0x4e0f46={}){const _0x1c69ac=a0_0x54b9fe;let _0x4e904d=this[_0x1c69ac(0x1eb)]();return!_0x4e0f46['includeDisabled']&&(_0x4e904d=_0x4e904d['filter'](_0x4f8206=>_0x4f8206['enabled'])),_0x4e0f46[_0x1c69ac(0x284)]!==![]&&(_0x4e904d=filterApiOperations(_0x4e904d)),_0x4e0f46['customFilter']&&(_0x4e904d=_0x4e904d[_0x1c69ac(0x23b)](_0x4e0f46[_0x1c69ac(0x226)])),_0x4e904d;}[a0_0x54b9fe(0x1f0)](_0x26de59){const _0x3e4a0a=a0_0x54b9fe,_0x3e343d=this['getOperationAnalyses']();return _0x3e343d[_0x3e4a0a(0x36b)](_0x33ce9d=>_0x33ce9d[_0x3e4a0a(0x374)]===_0x26de59);}[a0_0x54b9fe(0x288)](_0x105f9b){const _0x1eac8f=a0_0x54b9fe,_0xa6b193=this[_0x1eac8f(0x1eb)]();return _0xa6b193[_0x1eac8f(0x23b)](_0x85af4c=>_0x85af4c[_0x1eac8f(0x20e)]===_0x105f9b);}[a0_0x54b9fe(0x2bf)](_0x44665d){const _0xf6e3d6=a0_0x54b9fe,_0x49359c=this['getOperation'](_0x44665d);if(!_0x49359c)return[];const _0x2c437c=_0x49359c[_0xf6e3d6(0x36e)](),_0x30687a=this[_0xf6e3d6(0x37f)]();return _0x30687a[_0xf6e3d6(0x23b)](_0x479e3d=>_0x2c437c[_0xf6e3d6(0x268)](_0x479e3d[_0xf6e3d6(0x2e2)]));}[a0_0x54b9fe(0x2b5)](_0x182225,_0xca5a27){const _0x14d229=a0_0x54b9fe,_0x3fbe43=this[_0x14d229(0x1f0)](_0x182225);if(!_0x3fbe43)return null;const _0x381e90=this[_0x14d229(0x2c9)](_0x3fbe43[_0x14d229(0x374)]);if(!_0x381e90)throw new Error(_0x14d229(0x250)+_0x3fbe43[_0x14d229(0x374)]);const _0x1792c8=this[_0x14d229(0x2b7)](),_0x20f686=this[_0x14d229(0x304)](),_0x245541=_0x381e90['generateSDKCallCode'](_0x1792c8,{'useFullExample':_0xca5a27?.[_0x14d229(0x2e3)]}),_0x174223=_0x381e90[_0x14d229(0x2dd)](_0x1792c8);return{'operation':_0x3fbe43,'basicInfo':{'name':_0x3fbe43[_0x14d229(0x374)],'displayName':_0x3fbe43[_0x14d229(0x337)],'method':_0x3fbe43[_0x14d229(0x247)],'path':_0x3fbe43[_0x14d229(0x211)],'fullUrl':_0x3fbe43['fullUrl'],'enabled':_0x3fbe43['enabled']},'sdkCall':{'datasetCode':this[_0x14d229(0x257)],'modelName':_0x1792c8,'tableName':_0x20f686,'operationName':_0x3fbe43[_0x14d229(0x374)],'params':_0x3fbe43[_0x14d229(0x277)],'code':_0x245541},'usageExample':_0x174223};}[a0_0x54b9fe(0x319)](_0x122807={}){const _0x1ef69a=a0_0x54b9fe,_0x3a7b6c=this['getFilteredOperationAnalyses'](_0x122807),_0x5b5329=this[_0x1ef69a(0x371)](),_0x545e4f={'name':this[_0x1ef69a(0x374)],'code':this[_0x1ef69a(0x257)],'tableName':this[_0x1ef69a(0x304)](),'tableKey':this['getTableKey'](),'source':this[_0x1ef69a(0x292)],'fieldCount':_0x5b5329[_0x1ef69a(0x286)],'businessFieldCount':_0x5b5329[_0x1ef69a(0x29e)],'systemFieldCount':_0x5b5329[_0x1ef69a(0x224)],'operationCount':_0x5b5329['operationCount'],'enabledOperationCount':_0x5b5329[_0x1ef69a(0x339)]},_0x3f5c27=_0x3a7b6c[_0x1ef69a(0x25b)](_0x4dd481=>this['getOperationDocMeta'](_0x4dd481[_0x1ef69a(0x374)]))['filter'](_0x4aa136=>_0x4aa136!==null);return{'title':this[_0x1ef69a(0x374)]+_0x1ef69a(0x2c3),'datasetInfo':_0x545e4f,'operations':_0x3f5c27};}[a0_0x54b9fe(0x37c)](_0xc7a4b9){const _0x122f5b=a0_0x54b9fe;return{'appCode':_0xc7a4b9,'tableKey':this[_0x122f5b(0x2b7)](),'tableName':this[_0x122f5b(0x304)](),'datasetCode':this[_0x122f5b(0x257)]};}[a0_0x54b9fe(0x2c4)](_0x28ed31){const _0x5dc9c3=a0_0x54b9fe,_0x3111bb=[{'index':'name','label':'接口名称'},{'index':_0x5dc9c3(0x337),'label':'操作名称'},{'index':_0x5dc9c3(0x247),'label':'方法'},{'index':'sdkCall','label':'SDK\x20调用'},{'index':'path','label':_0x5dc9c3(0x313)},{'index':'sdkCallCode','label':_0x5dc9c3(0x309)}],_0x56be0f=_0x28ed31[_0x5dc9c3(0x25b)](_0x6b0218=>{const _0x1dfbde=_0x5dc9c3,{basicInfo:_0x46c941,sdkCall:_0x42b4bb}=_0x6b0218,_0xa03e90=_0x42b4bb[_0x1dfbde(0x2e2)][_0x1dfbde(0x289)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x1dfbde(0x289)](/;$/,'');return{'displayName':_0x46c941[_0x1dfbde(0x337)],'name':_0x46c941['name'],'method':_0x46c941['method'],'path':_0x46c941[_0x1dfbde(0x211)],'sdkCall':_0xa03e90,'sdkCallCode':_0x42b4bb[_0x1dfbde(0x2e2)]};});return{'tableColumns':_0x3111bb,'tableData':_0x56be0f};}[a0_0x54b9fe(0x261)](_0x3d2c03){const _0x9953a=a0_0x54b9fe,_0x57596b=this[_0x9953a(0x1f0)](_0x3d2c03);if(!_0x57596b)return null;return{'name':_0x57596b[_0x9953a(0x374)],'displayName':_0x57596b[_0x9953a(0x337)],'type':_0x57596b['type'],'method':_0x57596b[_0x9953a(0x247)],'path':_0x57596b[_0x9953a(0x211)],'enabled':_0x57596b['enabled'],'requestFieldCount':_0x57596b[_0x9953a(0x277)][_0x9953a(0x301)],'hasResponseSchema':_0x57596b[_0x9953a(0x2d3)]!==null};}[a0_0x54b9fe(0x28b)](_0x10353f={}){const _0x3721ac=a0_0x54b9fe,_0x4f9396=this['getFilteredOperationAnalyses'](_0x10353f);return{'datasetName':this['name'],'datasetCode':this[_0x3721ac(0x257)],'tableName':this[_0x3721ac(0x304)](),'totalOperations':_0x4f9396[_0x3721ac(0x301)],'operations':_0x4f9396['map'](_0x3edced=>({'name':_0x3edced[_0x3721ac(0x374)],'displayName':_0x3edced['displayName'],'type':_0x3edced[_0x3721ac(0x20e)],'method':_0x3edced[_0x3721ac(0x247)],'path':_0x3edced[_0x3721ac(0x211)],'requestFieldCount':_0x3edced[_0x3721ac(0x277)][_0x3721ac(0x301)]}))};}[a0_0x54b9fe(0x1ee)](_0x136588){const _0x10e430=a0_0x54b9fe,_0x5d2aa6={};return Object[_0x10e430(0x315)](_0x136588)[_0x10e430(0x236)](([_0x15e5de,_0x2ea880])=>{const _0x6a0b6c=_0x10e430;Array[_0x6a0b6c(0x269)](_0x2ea880)&&_0x2ea880['length']>0x0?_0x5d2aa6[_0x15e5de]=_0x2ea880[0x0]:_0x5d2aa6[_0x15e5de]=_0x2ea880;}),_0x5d2aa6;}['getOperationStats'](){const _0x145804=a0_0x54b9fe,_0x2269d3=this[_0x145804(0x1eb)](),_0x113e51=_0x2269d3['filter'](_0x2cdade=>_0x2cdade[_0x145804(0x222)]);return{'total':_0x2269d3[_0x145804(0x301)],'enabled':_0x113e51['length'],'disabled':_0x2269d3[_0x145804(0x301)]-_0x113e51[_0x145804(0x301)],'byType':this[_0x145804(0x296)](_0x113e51),'byMethod':this[_0x145804(0x334)](_0x113e51)};}[a0_0x54b9fe(0x296)](_0x456668){const _0x346e92={};return _0x456668['forEach'](_0x53b817=>{const _0x3c477e=a0_0x599e;_0x53b817[_0x3c477e(0x20e)]&&(_0x346e92[_0x53b817[_0x3c477e(0x20e)]]=(_0x346e92[_0x53b817['type']]||0x0)+0x1);}),_0x346e92;}[a0_0x54b9fe(0x334)](_0x221646){const _0x1bca6c={};return _0x221646['forEach'](_0xf0f3b=>{const _0x59e6c9=a0_0x599e;_0x1bca6c[_0xf0f3b[_0x59e6c9(0x247)]]=(_0x1bca6c[_0xf0f3b[_0x59e6c9(0x247)]]||0x0)+0x1;}),_0x1bca6c;}[a0_0x54b9fe(0x2bd)](){const _0xe5a48b=a0_0x54b9fe,_0xf2b49d=this[_0xe5a48b(0x22e)](),_0x1c7357=new Set(_0xf2b49d[_0xe5a48b(0x25b)](_0x155539=>_0x155539[_0xe5a48b(0x20e)])[_0xe5a48b(0x23b)](Boolean));return _0x1c7357[_0xe5a48b(0x1fc)]('create')&&_0x1c7357[_0xe5a48b(0x1fc)](_0xe5a48b(0x230))&&_0x1c7357[_0xe5a48b(0x1fc)](_0xe5a48b(0x33c))&&_0x1c7357[_0xe5a48b(0x1fc)](_0xe5a48b(0x28e));}[a0_0x54b9fe(0x2b9)](){const _0x51dd9e=a0_0x54b9fe,_0x3e5d0e=this['getEnabledOperationAnalyses'](),_0x417767=new Set(_0x3e5d0e['map'](_0x934770=>_0x934770[_0x51dd9e(0x20e)])[_0x51dd9e(0x23b)](Boolean)),_0x4e833a=['create',_0x51dd9e(0x230),_0x51dd9e(0x33c),_0x51dd9e(0x28e)];return _0x4e833a[_0x51dd9e(0x23b)](_0x201c7d=>!_0x417767[_0x51dd9e(0x1fc)](_0x201c7d));}['generateFullSDKExample'](_0x1f7b42,_0x288dbd,_0x5215d0){const _0x59c1b2=a0_0x54b9fe,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=!![]}=_0x5215d0||{},_0x4c8a07=this['getOperationDocMeta'](_0x1f7b42,{'useFullExample':includeRequestExample});if(!_0x4c8a07)return null;let _0x133d80='';return _0x133d80+=_0x59c1b2(0x1f6)+_0x4c8a07[_0x59c1b2(0x1e6)][_0x59c1b2(0x337)]+_0x59c1b2(0x2e8)+_0x4c8a07['operation'][_0x59c1b2(0x374)]+'\x20operation\x0a'+_0x4c8a07[_0x59c1b2(0x242)][_0x59c1b2(0x2e2)],includeUsageExample&&_0x4c8a07[_0x59c1b2(0x32d)]&&(_0x133d80+='\x0a\x0a//\x20Usage\x20examples:\x0a\x0a'+_0x4c8a07[_0x59c1b2(0x32d)][_0x59c1b2(0x2d8)]+'\x0a\x0a'+_0x4c8a07[_0x59c1b2(0x32d)][_0x59c1b2(0x274)]),_0x133d80;}[a0_0x54b9fe(0x29f)](_0x588bc1){const _0x5ede5e=a0_0x54b9fe,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x588bc1||{},_0x459fc4=this['getEnabledOperationAnalyses']();return _0x459fc4[_0x5ede5e(0x25b)](_0x5b827c=>this[_0x5ede5e(0x21d)](_0x5b827c[_0x5ede5e(0x374)],this['datasetCode'],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))['join']('\x0a');}[a0_0x54b9fe(0x28f)](_0x2b9f2f,_0x54b328=a0_0x54b9fe(0x311),_0x232b89=![]){const _0x5ce3ac=a0_0x54b9fe,_0xe720eb=this[_0x5ce3ac(0x2b7)](),_0x58ab18=this['getTableName'](),_0x5ccac5=this[_0x5ce3ac(0x257)],_0x32f555=_0x54b328==='daily'?'\x0a\x20\x20env:\x20\x27'+_0x54b328+'\x27,':'',_0x40686b=_0x232b89?_0x5ce3ac(0x25d):'';return _0x5ce3ac(0x35d)+_0x2b9f2f+'\x27,'+_0x40686b+_0x32f555+_0x5ce3ac(0x246)+_0xe720eb+_0x5ce3ac(0x228)+_0x58ab18+_0x5ce3ac(0x2b8)+_0x5ccac5+'\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});';}[a0_0x54b9fe(0x2eb)](){const _0x3bff57=a0_0x54b9fe,_0xbebf5=this[_0x3bff57(0x2ce)]();return _0x3bff57(0x294)+this[_0x3bff57(0x374)]+',\x20'+this['datasetCode']+',\x20'+this[_0x3bff57(0x2a8)]()+'\x20fields,\x20'+_0xbebf5[_0x3bff57(0x222)]+'/'+_0xbebf5[_0x3bff57(0x32b)]+_0x3bff57(0x31f);}}var VERSION=a0_0x54b9fe(0x29a);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,DrivenDataDetailPlus,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
1
|
+
const a0_0xba2960=a0_0x35b1;(function(_0x2d94ab,_0x448700){const _0x2c1333=a0_0x35b1,_0x1a0762=_0x2d94ab();while(!![]){try{const _0x32a4de=-parseInt(_0x2c1333(0x25d))/0x1+-parseInt(_0x2c1333(0x349))/0x2+-parseInt(_0x2c1333(0x1d4))/0x3*(parseInt(_0x2c1333(0x1ca))/0x4)+-parseInt(_0x2c1333(0x247))/0x5+-parseInt(_0x2c1333(0x336))/0x6*(parseInt(_0x2c1333(0x205))/0x7)+parseInt(_0x2c1333(0x215))/0x8*(parseInt(_0x2c1333(0x224))/0x9)+parseInt(_0x2c1333(0x27c))/0xa;if(_0x32a4de===_0x448700)break;else _0x1a0762['push'](_0x1a0762['shift']());}catch(_0x4789bc){_0x1a0762['push'](_0x1a0762['shift']());}}}(a0_0x2f14,0x42fdb));function toCamelCase(_0x346043){const _0x4fa157=a0_0x35b1;if(!_0x346043)return'';return _0x346043['split'](/[_-]/)[_0x4fa157(0x2de)]((_0x1c14e0,_0x2ca723)=>{const _0x2991db=_0x4fa157;if(_0x2ca723===0x0)return _0x1c14e0[_0x2991db(0x250)]();return _0x1c14e0[_0x2991db(0x204)](0x0)[_0x2991db(0x27f)]()+_0x1c14e0[_0x2991db(0x203)](0x1)[_0x2991db(0x250)]();})[_0x4fa157(0x31c)]('');}function toPascalCase(_0x491750){const _0x504b3d=a0_0x35b1;if(!_0x491750)return'';const _0x255ca4=toCamelCase(_0x491750);return _0x255ca4[_0x504b3d(0x204)](0x0)[_0x504b3d(0x27f)]()+_0x255ca4[_0x504b3d(0x203)](0x1);}function a0_0x35b1(_0x421e3a,_0x1b143b){const _0x2f141a=a0_0x2f14();return a0_0x35b1=function(_0x35b120,_0x460586){_0x35b120=_0x35b120-0x1b6;let _0x4f4910=_0x2f141a[_0x35b120];return _0x4f4910;},a0_0x35b1(_0x421e3a,_0x1b143b);}function toSnakeCase(_0x232081){const _0x297a8c=a0_0x35b1;if(!_0x232081)return'';return _0x232081[_0x297a8c(0x1ea)](/([A-Z])/g,'_$1')[_0x297a8c(0x250)]()[_0x297a8c(0x1ea)](/^_/,'');}function toKebabCase(_0x50af03){const _0xe76f2b=a0_0x35b1;if(!_0x50af03)return'';return _0x50af03[_0xe76f2b(0x1ea)](/([A-Z])/g,_0xe76f2b(0x256))[_0xe76f2b(0x250)]()['replace'](/^-/,'');}function normalizeFieldName(_0x55a2c4){const _0x1f14de=a0_0x35b1;if(!_0x55a2c4)return'';return _0x55a2c4[_0x1f14de(0x328)]()[_0x1f14de(0x1ea)](/\s+/g,'_')[_0x1f14de(0x1ea)](/[^a-zA-Z0-9_]/g,'_')['replace'](/_+/g,'_')[_0x1f14de(0x1ea)](/^_|_$/g,'');}function getTableName(_0x4151d3){const _0x4c1fae=a0_0x35b1;if(!_0x4151d3)return _0x4c1fae(0x2b5);if(_0x4151d3[_0x4c1fae(0x1fd)]?.['tableName'])return _0x4151d3[_0x4c1fae(0x1fd)]['tableName'];const _0x42d030=_0x4151d3[_0x4c1fae(0x2d1)]||_0x4151d3[_0x4c1fae(0x316)]||_0x4151d3[_0x4c1fae(0x2a7)];if(_0x42d030)return generateTableNameFromCode(_0x42d030);return _0x4c1fae(0x2b5);}function getTableKey(_0x474157){if(typeof _0x474157==='string')return toCamelCase(_0x474157);const _0x4b9adf=getTableName(_0x474157);return toCamelCase(_0x4b9adf);}function generateTableNameFromCode(_0x467404){const _0x44b73b=a0_0x35b1;if(!_0x467404)return _0x44b73b(0x2b5);const _0x443203=_0x467404['slice'](-0x6)['padStart'](0x6,'0');return _0x44b73b(0x2c1)+_0x443203;}function isVirtualTableName(_0x16f27a){const _0x2b0ec7=a0_0x35b1;return/^dataset_[a-zA-Z0-9]{6}$/[_0x2b0ec7(0x1b6)](_0x16f27a);}function generateDatasetsConfig(_0x3cb793,_0x5bd70c={}){const _0x21939e=a0_0x35b1,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x40f52c,filter:_0x4f2910}=_0x5bd70c,_0x139eee={},_0x27f05a=new Set();for(const _0x399ac0 of _0x3cb793){if(_0x4f2910&&!_0x4f2910(_0x399ac0))continue;const _0x3fd6e1=getTableName(_0x399ac0);if(enableDeduplication&&_0x27f05a[_0x21939e(0x235)](_0x3fd6e1)){console[_0x21939e(0x1c8)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x3fd6e1+_0x21939e(0x2e6)+_0x399ac0[_0x21939e(0x1ed)]+'\x20('+_0x399ac0[_0x21939e(0x2d1)]+')');continue;}_0x27f05a['add'](_0x3fd6e1);const _0x5b3c0a=_0x40f52c?_0x40f52c(_0x3fd6e1,_0x399ac0):getTableKey(_0x3fd6e1);_0x139eee[_0x5b3c0a]={'key':_0x5b3c0a,'tableName':_0x3fd6e1,'datasetCode':_0x399ac0[_0x21939e(0x2d1)],'name':_0x399ac0[_0x21939e(0x1ed)],'id':_0x399ac0['id']};}return _0x139eee;}function generateFullDatasetsConfig(_0x5b3a43,_0x5785db={}){const _0x413484=a0_0x35b1,{filter:_0x5db58e,datasetNameGenerator:_0x2c0afe}=_0x5785db,_0x2d9e6f=_0x5db58e?_0x5b3a43[_0x413484(0x1e5)](_0x5db58e):_0x5b3a43,_0x561bba=groupByTableName(_0x2d9e6f),_0x344884={};for(const [_0x32fe5f,_0x23d418]of Object[_0x413484(0x299)](_0x561bba)){if(_0x23d418['length']===0x1){const _0xfa0d64=_0x23d418[0x0],_0x11c6f8=_0x2c0afe?_0x2c0afe(_0x32fe5f,_0xfa0d64):getTableKey(_0x32fe5f);_0x344884[_0x11c6f8]={'key':_0x11c6f8,'tableName':_0x32fe5f,'datasetCode':_0xfa0d64['datasetCode'],'name':_0xfa0d64[_0x413484(0x1ed)],'id':_0xfa0d64['id']};}else{const _0x341f0d=[..._0x23d418]['sort']((_0x5aaf97,_0x2e0396)=>{const _0x548f52=Number(_0x5aaf97['id'])||0x0,_0x7f2089=Number(_0x2e0396['id'])||0x0;return _0x7f2089-_0x548f52;});_0x341f0d[_0x413484(0x1d0)]((_0xd9a63a,_0x1eda8d)=>{const _0x3d9119=_0x413484,_0x35388d=_0x2c0afe?_0x2c0afe(_0x32fe5f,_0xd9a63a):getTableKey(_0x32fe5f),_0x2de7da=_0x1eda8d===0x0?_0x35388d:_0x35388d+'_'+_0x1eda8d;_0x344884[_0x2de7da]={'key':_0x2de7da,'tableName':_0x32fe5f,'datasetCode':_0xd9a63a[_0x3d9119(0x2d1)],'name':_0xd9a63a[_0x3d9119(0x1ed)],'id':_0xd9a63a['id']};});}}return _0x344884;}function detectTableNameConflicts(_0xc6040f){const _0x225728=a0_0x35b1,_0x2cecce={};for(const _0x367b29 of _0xc6040f){const _0x5da8d5=getTableName(_0x367b29);!_0x2cecce[_0x5da8d5]&&(_0x2cecce[_0x5da8d5]=[]),_0x2cecce[_0x5da8d5][_0x225728(0x344)](_0x367b29);}const _0x272dc3={};for(const [_0xe5c030,_0x4f7940]of Object[_0x225728(0x299)](_0x2cecce)){_0x4f7940['length']>0x1&&(_0x272dc3[_0xe5c030]=_0x4f7940);}return{'hasConflicts':Object[_0x225728(0x2d7)](_0x272dc3)[_0x225728(0x322)]>0x0,'conflicts':_0x272dc3};}function createDatasetNameMap(_0x3d59d1){const _0x288d59=a0_0x35b1,_0x285f71={};for(const [_0x2d18a1,_0x58deae]of Object[_0x288d59(0x299)](_0x3d59d1)){_0x285f71[_0x2d18a1]=_0x58deae[_0x288d59(0x2d1)]||'';}return _0x285f71;}function groupByTableName(_0x1d46d2){const _0x318b80={};for(const _0x3d2ac2 of _0x1d46d2){const _0x5183ed=getTableName(_0x3d2ac2);!_0x318b80[_0x5183ed]&&(_0x318b80[_0x5183ed]=[]),_0x318b80[_0x5183ed]['push'](_0x3d2ac2);}return _0x318b80;}function datasetsConfigToArray(_0x571362){const _0x21ec71=a0_0x35b1;return Object[_0x21ec71(0x2cc)](_0x571362);}function adaptDrivenDataDetail(_0x3ed676){const _0x2b38cd=a0_0x35b1;return{'id':_0x3ed676[_0x2b38cd(0x320)],'name':_0x3ed676[_0x2b38cd(0x1ed)],'datasetCode':_0x3ed676['modelCode'],'dbtableConfig':_0x3ed676[_0x2b38cd(0x1fd)],'source':_0x3ed676[_0x2b38cd(0x265)],'version':_0x3ed676[_0x2b38cd(0x2fe)],'extend':_0x3ed676[_0x2b38cd(0x2c5)],'properties':_0x3ed676['properties'],'operations':_0x3ed676[_0x2b38cd(0x1fe)]};}function adaptDrivenDataDetails(_0x30b590){const _0x45417a=a0_0x35b1;return _0x30b590[_0x45417a(0x2de)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x504451){const _0x110987=a0_0x35b1;if(!_0x504451['success']||!_0x504451[_0x110987(0x278)])throw new Error('获取数据集失败:\x20'+(_0x504451[_0x110987(0x227)]||_0x504451['msg']));return adaptDrivenDataDetail(_0x504451[_0x110987(0x278)]);}function extractDatasetsFromListResponse(_0xc3add8){const _0xb5d0a1=a0_0x35b1;if(!_0xc3add8[_0xb5d0a1(0x240)]||!_0xc3add8[_0xb5d0a1(0x278)]?.[_0xb5d0a1(0x213)])throw new Error('获取数据集列表失败:\x20'+(_0xc3add8[_0xb5d0a1(0x227)]||_0xc3add8[_0xb5d0a1(0x2e3)]));return _0xc3add8[_0xb5d0a1(0x278)][_0xb5d0a1(0x213)][_0xb5d0a1(0x2de)](_0x4fa68b=>({..._0x4fa68b,'datasetCode':_0x4fa68b[_0xb5d0a1(0x316)]||_0x4fa68b[_0xb5d0a1(0x2d1)]}));}function isDrivenDataDetail(_0x4a1120){const _0x1cfbfe=a0_0x35b1;return Boolean(_0x4a1120&&typeof _0x4a1120[_0x1cfbfe(0x2a7)]===_0x1cfbfe(0x1d1));}function smartAdapt(_0x566c7e){const _0x637b1c=a0_0x35b1;if(isDrivenDataDetail(_0x566c7e))return adaptDrivenDataDetail(_0x566c7e);if(_0x566c7e['datasetCode'])return _0x566c7e;if(_0x566c7e[_0x637b1c(0x316)])return{..._0x566c7e,'datasetCode':_0x566c7e[_0x637b1c(0x316)]};return _0x566c7e;}var DatasetOperationType;(_0x313170=>{const _0x937641=a0_0x35b1;_0x313170[_0x937641(0x306)]=_0x937641(0x218),_0x313170[_0x937641(0x228)]=_0x937641(0x23e),_0x313170['GET_ONE_ORIGIN']=_0x937641(0x302),_0x313170['GET_ONE_UPDATE']=_0x937641(0x2c6),_0x313170['CREATE']=_0x937641(0x1ee),_0x313170[_0x937641(0x1b9)]='update',_0x313170[_0x937641(0x2fa)]=_0x937641(0x32a),_0x313170[_0x937641(0x318)]=_0x937641(0x1c7),_0x313170[_0x937641(0x2a3)]='getFileUrl',_0x313170[_0x937641(0x219)]=_0x937641(0x259),_0x313170[_0x937641(0x1d5)]=_0x937641(0x1c2),_0x313170['CREATE_IMPORT']=_0x937641(0x22c),_0x313170['CREATE_EXPORT']=_0x937641(0x1b7),_0x313170['TASK_INFO']=_0x937641(0x2b3),_0x313170['IMPORT_TEMPLATE']=_0x937641(0x232);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0xba2960(0x218)]:a0_0xba2960(0x2d5),[a0_0xba2960(0x23e)]:a0_0xba2960(0x209),[a0_0xba2960(0x302)]:a0_0xba2960(0x21d),[a0_0xba2960(0x2c6)]:a0_0xba2960(0x1f4),['create']:'创建',[a0_0xba2960(0x2d6)]:'更新',[a0_0xba2960(0x32a)]:'删除',['getSelectOptions']:a0_0xba2960(0x22e),[a0_0xba2960(0x29e)]:a0_0xba2960(0x220),['excelExport']:a0_0xba2960(0x223),[a0_0xba2960(0x1c2)]:a0_0xba2960(0x2fd),[a0_0xba2960(0x22c)]:'创建导入',[a0_0xba2960(0x1b7)]:a0_0xba2960(0x296),[a0_0xba2960(0x2b3)]:a0_0xba2960(0x2ca),[a0_0xba2960(0x232)]:a0_0xba2960(0x20a)},API_BLACKLIST=[a0_0xba2960(0x302),'getOneUpdate',a0_0xba2960(0x29e)];function parseFieldExtend(_0xbe8a59){const _0x230406=a0_0xba2960;if(!_0xbe8a59||typeof _0xbe8a59!=='object')return console[_0x230406(0x1c8)](_0x230406(0x2f7),_0xbe8a59),{};if(!_0xbe8a59[_0x230406(0x2c5)])return{};try{const _0x2b0bad=typeof _0xbe8a59[_0x230406(0x2c5)]===_0x230406(0x1d1)?JSON[_0x230406(0x2c7)](_0xbe8a59[_0x230406(0x2c5)]):_0xbe8a59[_0x230406(0x2c5)];if(typeof _0x2b0bad!==_0x230406(0x338)||_0x2b0bad===null)return console['warn'](_0x230406(0x234),_0x2b0bad),{};return _0x2b0bad;}catch(_0x166948){return console['warn'](_0x230406(0x303)+_0xbe8a59[_0x230406(0x316)]+_0x230406(0x260),_0x166948),{};}}function isPrimaryKeyField(_0x36ea5c,_0x43c175){const _0x335995=a0_0xba2960;if(!_0x36ea5c||typeof _0x36ea5c!==_0x335995(0x338))return![];if(typeof _0x43c175===_0x335995(0x1d1)&&_0x36ea5c['code']===_0x43c175)return!![];const _0x5b972f=parseFieldExtend(_0x36ea5c);return Boolean(_0x5b972f[_0x335995(0x1bc)]||_0x5b972f[_0x335995(0x225)]);}function isSystemField(_0x4d16d1){const _0xffd964=parseFieldExtend(_0x4d16d1);return Boolean(_0xffd964['systemRetain']);}function isRequiredField(_0x5b0b33){const _0x1e70c5=parseFieldExtend(_0x5b0b33);return Boolean(_0x1e70c5['required']);}function isAutoIncrementField(_0x20de7b){const _0xc7a1a0=parseFieldExtend(_0x20de7b);return Boolean(_0xc7a1a0['autoIncrement']);}function isCreateTimeField(_0x4a4391){const _0x33cb8c=a0_0xba2960,_0x2cb544=parseFieldExtend(_0x4a4391);return Boolean(_0x2cb544[_0x33cb8c(0x2fb)]);}function isModifyTimeField(_0x3b1fb8){const _0x2ae8c6=a0_0xba2960,_0x1d7287=parseFieldExtend(_0x3b1fb8);return Boolean(_0x1d7287[_0x2ae8c6(0x257)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':a0_0xba2960(0x254),'DATE':'日期','DATETIME':a0_0xba2960(0x231),'TIMESTAMP':a0_0xba2960(0x263),'SELECT':a0_0xba2960(0x2f5),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0xba2960(0x1f8),'IMAGE':'图片','RICH_TEXT':'富文本','JSON':a0_0xba2960(0x1f6),'ARRAY':'数组'};function getDbTypeDisplay(_0x1cc583){const _0x495a2a=a0_0xba2960;if(typeof _0x1cc583!==_0x495a2a(0x1d1))return console[_0x495a2a(0x1c8)](_0x495a2a(0x2fc),_0x1cc583),String(_0x1cc583||'-');return DB_TYPE_DISPLAY_MAP[_0x1cc583]||_0x1cc583;}function formatDbType(_0x500049,_0x1127fa){const _0x437dce=a0_0xba2960;if(!_0x500049||typeof _0x500049!=='string')return'-';if(!_0x1127fa||typeof _0x1127fa!==_0x437dce(0x33b))return _0x500049;const _0x707d87=[_0x437dce(0x2e8),_0x437dce(0x2b0),_0x437dce(0x251),_0x437dce(0x1d9)];if(_0x707d87['includes'](_0x500049[_0x437dce(0x27f)]()))return _0x500049;return _0x500049+'('+_0x1127fa+')';}function parseOperationType(_0x2b20b8){const _0x3cf3e2=a0_0xba2960;if(typeof _0x2b20b8!==_0x3cf3e2(0x1d1)){console['warn'](_0x3cf3e2(0x266),_0x2b20b8);return;}if(Object[_0x3cf3e2(0x2cc)](DatasetOperationType)[_0x3cf3e2(0x262)](_0x2b20b8))return _0x2b20b8;const _0x3958e=Object[_0x3cf3e2(0x299)](OPERATION_TYPE_DISPLAY_NAME)[_0x3cf3e2(0x32f)](([_0x3ca510,_0x534cb0])=>_0x534cb0===_0x2b20b8);return _0x3958e?_0x3958e[0x0]:undefined;}function shouldIncludeField(_0x23d18b,_0x162b58,_0x5236d9){const _0x4d00c2=a0_0xba2960,_0x3d60c9=parseFieldExtend(_0x23d18b),_0x144a9b=isPrimaryKeyField(_0x23d18b,_0x5236d9),_0x5f42a2=Boolean(_0x3d60c9[_0x4d00c2(0x211)]),_0x1704ff=Boolean(_0x3d60c9['autoIncrement']),_0x47072b=Boolean(_0x3d60c9['createDate']),_0x291e27=Boolean(_0x3d60c9['modifyDate']);switch(_0x162b58){case _0x4d00c2(0x218):return!![];case _0x4d00c2(0x23e):case _0x4d00c2(0x302):case _0x4d00c2(0x32a):return _0x144a9b;case _0x4d00c2(0x1ee):if(_0x144a9b&&_0x1704ff)return![];if(_0x5f42a2&&(_0x47072b||_0x291e27))return![];return!![];case _0x4d00c2(0x2d6):case'getOneUpdate':if(_0x144a9b)return!![];if(_0x5f42a2&&(_0x47072b||_0x291e27))return![];return!![];case _0x4d00c2(0x1c7):return _0x23d18b[_0x4d00c2(0x316)]===_0x4d00c2(0x316);default:return!![];}}function getFieldsForOperation(_0x884b53,_0x5cf38a,_0x3fb73a){const _0x42f48b=a0_0xba2960;if(!Array[_0x42f48b(0x1c3)](_0x884b53))return console[_0x42f48b(0x1c8)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x884b53),[];return _0x884b53[_0x42f48b(0x1e5)](_0x3dabd9=>shouldIncludeField(_0x3dabd9,_0x5cf38a,_0x3fb73a));}function isApiBlacklisted(_0x5e3a57){const _0x489403=a0_0xba2960;if(typeof _0x5e3a57!=='string')return console[_0x489403(0x1c8)](_0x489403(0x2b2),_0x5e3a57),![];return API_BLACKLIST['includes'](_0x5e3a57);}function filterApiOperations(_0x1ef8cb){const _0x1a4121=a0_0xba2960;if(!Array[_0x1a4121(0x1c3)](_0x1ef8cb))return console[_0x1a4121(0x1c8)](_0x1a4121(0x2ab),_0x1ef8cb),[];return _0x1ef8cb['filter'](_0x2ee64a=>_0x2ee64a&&typeof _0x2ee64a===_0x1a4121(0x338)&&!isApiBlacklisted(_0x2ee64a['name']));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0xba2960(0x261)](),'SELECT':({fieldInfo:_0x4f0840})=>{const _0x370f18=a0_0xba2960;if(_0x4f0840?.[_0x370f18(0x25e)]&&Array[_0x370f18(0x1c3)](_0x4f0840[_0x370f18(0x25e)])&&_0x4f0840[_0x370f18(0x25e)][_0x370f18(0x322)]>0x0)return _0x4f0840[_0x370f18(0x25e)][0x0][_0x370f18(0x25c)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x31e120})=>{const _0x3aa7b9=a0_0xba2960;if(_0x31e120===_0x3aa7b9(0x339))return 0x1;if(_0x31e120===_0x3aa7b9(0x340))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x553498})=>{const _0x1aa6e2=a0_0xba2960;if(_0x553498&&typeof _0x553498===_0x1aa6e2(0x1d1)){const _0x616134=_0x553498[_0x1aa6e2(0x250)]();if(_0x616134['includes']('邮箱')||_0x616134[_0x1aa6e2(0x262)]('email'))return _0x1aa6e2(0x294);if(_0x616134[_0x1aa6e2(0x262)]('电话')||_0x616134['includes']('手机')||_0x616134[_0x1aa6e2(0x262)]('phone'))return'13800138000';if(_0x616134['includes']('地址')||_0x616134[_0x1aa6e2(0x262)](_0x1aa6e2(0x1bf)))return _0x1aa6e2(0x1d8);if(_0x616134[_0x1aa6e2(0x262)]('姓名')||_0x616134[_0x1aa6e2(0x262)](_0x1aa6e2(0x1ed)))return'张三';}return _0x1aa6e2(0x1fc);},'VARCHAR':({description:_0x561831})=>TYPE_VALUE_GENERATORS[a0_0xba2960(0x2e8)]({'description':_0x561831}),'CHAR':({description:_0x4d62f0})=>TYPE_VALUE_GENERATORS[a0_0xba2960(0x2e8)]({'description':_0x4d62f0}),'STRING':({fieldInfo:_0x3afe33,description:_0x52c8dd})=>{const _0x24663c=a0_0xba2960;if(_0x3afe33?.[_0x24663c(0x237)]&&typeof _0x3afe33[_0x24663c(0x237)]===_0x24663c(0x1d1)&&_0x3afe33[_0x24663c(0x237)]!==_0x24663c(0x1ba))return _0x3afe33[_0x24663c(0x237)][_0x24663c(0x1ea)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x24663c(0x2e8)]({'description':_0x52c8dd});},'TEXTAREA':()=>a0_0xba2960(0x21b),'LONGTEXT':()=>a0_0xba2960(0x21b),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0xba2960(0x25c)}),'ARRAY':()=>[a0_0xba2960(0x2e9),a0_0xba2960(0x21a)],'UPLOAD':()=>a0_0xba2960(0x229),'IMAGE':()=>a0_0xba2960(0x270),'RICH_TEXT':()=>'<p>富文本内容</p>'};function generateExampleValue(_0x330389,_0x823741,_0x4152bc,_0x1b25a3={}){const _0x2f645a=a0_0xba2960;typeof _0x330389!==_0x2f645a(0x1d1)&&(console[_0x2f645a(0x1c8)](_0x2f645a(0x350),_0x330389),_0x330389=String(_0x330389||''));if(typeof _0x823741!=='string')return console[_0x2f645a(0x1c8)](_0x2f645a(0x1d2),_0x823741),_0x2f645a(0x258);const {isPrimaryKey:_0x22eb83,dbtableConfig:_0x530b7a}=_0x1b25a3;if(_0x22eb83)return 0x1;if(_0x530b7a&&typeof _0x530b7a===_0x2f645a(0x338)){const _0x25068a=_0x530b7a[_0x2f645a(0x245)]?.[_0x2f645a(0x207)]===_0x330389,_0x5aa08=_0x530b7a[_0x2f645a(0x2c9)]?.[_0x2f645a(0x207)]===_0x330389;if(_0x25068a||_0x5aa08){if(_0x4152bc&&typeof _0x4152bc===_0x2f645a(0x1d1)&&_0x4152bc[_0x2f645a(0x27f)]()[_0x2f645a(0x262)](_0x2f645a(0x251)))return Date['now']();return new Date()['toISOString']()[_0x2f645a(0x1ea)]('T','\x20')[_0x2f645a(0x216)]('.')[0x0];}}const _0x2dcc3d={..._0x1b25a3,'fieldCode':_0x330389};if(_0x4152bc&&typeof _0x4152bc==='string'){const _0x30e6e4=_0x4152bc[_0x2f645a(0x27f)](),_0x488984=TYPE_VALUE_GENERATORS[_0x30e6e4];if(_0x488984)return _0x488984(_0x2dcc3d);}if(_0x823741&&typeof _0x823741===_0x2f645a(0x1d1)){const _0x1c5bab=_0x823741[_0x2f645a(0x27f)](),_0x1d298f=TYPE_VALUE_GENERATORS[_0x1c5bab];if(_0x1d298f)return _0x1d298f(_0x2dcc3d);}return _0x2f645a(0x258);}function generateExampleFromSchema(_0x324c49,_0x528f64){const _0xcdf1c4=a0_0xba2960;if(!_0x324c49||typeof _0x324c49!==_0xcdf1c4(0x338))return{};if(Array[_0xcdf1c4(0x1c3)](_0x324c49)){if(_0x324c49[_0xcdf1c4(0x322)]>0x0)return[generateExampleFromSchema(_0x324c49[0x0],_0x528f64)];return[];}const _0x4fa052={};return Object[_0xcdf1c4(0x2d7)](_0x324c49)['forEach'](_0x26aea2=>{const _0x443b59=_0xcdf1c4,_0x291fb1=_0x324c49[_0x26aea2];if(_0x291fb1&&typeof _0x291fb1===_0x443b59(0x338)&&!Array[_0x443b59(0x1c3)](_0x291fb1)&&_0x291fb1[_0x443b59(0x2f8)]){const _0x2f4d74=_0x291fb1,_0x1a20ca=_0x2f4d74[_0x443b59(0x2f8)],_0x532cb4=_0x2f4d74[_0x443b59(0x2d4)];typeof _0x1a20ca==='string'?_0x4fa052[_0x26aea2]=generateExampleValue(_0x26aea2,_0x1a20ca,undefined,{'description':_0x532cb4,'dbtableConfig':_0x528f64}):_0x4fa052[_0x26aea2]=_0x443b59(0x258);}else{if(Array[_0x443b59(0x1c3)](_0x291fb1))_0x4fa052[_0x26aea2]=_0x291fb1[_0x443b59(0x322)]>0x0?[generateExampleFromSchema(_0x291fb1[0x0],_0x528f64)]:[];else _0x291fb1&&typeof _0x291fb1===_0x443b59(0x338)?_0x4fa052[_0x26aea2]=generateExampleFromSchema(_0x291fb1,_0x528f64):_0x4fa052[_0x26aea2]=_0x291fb1;}}),_0x4fa052;}function parseRequestBody(_0x5ce3b9){const _0x5c70c9=a0_0xba2960;if(!_0x5ce3b9)return{};try{return JSON[_0x5c70c9(0x2c7)](_0x5ce3b9);}catch(_0x7c8f63){return console[_0x5c70c9(0x1c8)]('解析\x20requestBody\x20失败:',_0x7c8f63),{};}}function parseResponseBody(_0x4482a9){const _0x31cdd5=a0_0xba2960;if(!_0x4482a9)return null;try{const _0x4becbb=JSON[_0x31cdd5(0x2c7)](_0x4482a9);return _0x4becbb[_0x31cdd5(0x1e8)]||_0x4becbb;}catch(_0x14e753){return console[_0x31cdd5(0x1c8)](_0x31cdd5(0x31b),_0x14e753),null;}}function generateRequestExample(_0x3639c0,_0xaa6681,_0x1ef7d8,_0x439c66){const _0x2f3008=a0_0xba2960,_0x337644={};if(!Array[_0x2f3008(0x1c3)](_0x3639c0))return console[_0x2f3008(0x1c8)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x3639c0),_0x337644;return _0x3639c0['forEach'](_0x2c3669=>{const _0x1f7a00=_0x2f3008;if(!_0x2c3669||typeof _0x2c3669!==_0x1f7a00(0x338)){console[_0x1f7a00(0x1c8)]('[generateRequestExample]\x20Invalid\x20field:',_0x2c3669);return;}if(typeof _0x2c3669[_0x1f7a00(0x316)]!==_0x1f7a00(0x1d1)||typeof _0x2c3669['type']!==_0x1f7a00(0x1d1)){console[_0x1f7a00(0x1c8)]('[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:',_0x2c3669);return;}const _0x323b7b=parseFieldExtend(_0x2c3669),_0x42e1ea=_0x2c3669[_0x1f7a00(0x316)]===_0x1ef7d8||Boolean(_0x323b7b?.[_0x1f7a00(0x1bc)]),_0x31c99a=generateExampleValue(_0x2c3669[_0x1f7a00(0x316)],_0x2c3669[_0x1f7a00(0x2f8)],typeof _0x2c3669[_0x1f7a00(0x2ff)]===_0x1f7a00(0x1d1)?_0x2c3669['dbType']:undefined,{'fieldInfo':_0x323b7b,'isPrimaryKey':_0x42e1ea,'description':_0x2c3669[_0x1f7a00(0x2d4)]||_0x2c3669[_0x1f7a00(0x1ed)],'dbtableConfig':_0x439c66});_0x337644[_0x2c3669[_0x1f7a00(0x316)]]=_0x31c99a;}),_0xaa6681===_0x2f3008(0x218)&&(_0x337644[_0x2f3008(0x339)]=0x1,_0x337644[_0x2f3008(0x340)]=0xa),_0x337644;}function formatEnumValue(_0x3c028a,_0x27142e){const _0x4af7dc=a0_0xba2960;if(_0x3c028a[_0x4af7dc(0x33c)]&&Array[_0x4af7dc(0x1c3)](_0x27142e))return _0x27142e['map'](_0x35376b=>_0x3c028a[_0x4af7dc(0x2aa)][String(_0x35376b)]||String(_0x35376b))['join'](',\x20');return _0x3c028a[_0x4af7dc(0x2aa)][String(_0x27142e)]||String(_0x27142e);}function a0_0x2f14(){const _0x1f0c7e=['字段编码','iterator','[DrivenDataDetail.parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:','(...);\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}','isSystemField','getCodes','_raw','(id);','filter','getFieldOptions','getRequiredFields','200','接口名称','replace','isEnabled','getTenantCode','name','create','labelField','stringify','toObject','sdkCallCode','\x20items,\x20conflict,\x20latest:\x20','查询单条(用于更新)','toListItem','JSON','tableName','文件上传','getOperations','modifierIdField','getConflictStats','示例文本','dbtableConfig','operations',',\x20currentPage,\x20pageSize,\x20...\x20});','isPrimaryKeyField','getEnabledNames','getFilteredOperationAnalyses','slice','charAt','1192002bFogUq','getDatabaseType','fieldName','操作名称','查询单条','导入模板','getPath','\x20groups)','filterBlacklist','getPrimaryKeyFields','DatasetGroupMap(','fieldCount','systemRetain','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','tableData','dbVersion','8uMjLOb','split','logicField','getList','EXCEL_EXPORT','item2','这是一段较长的文本内容示例','单值查询','查询单条(原始)','`:\x20','dblinkInfoDTO','获取文件URL','_operationAnalyses','creatorNameField','Excel导出','2889945LmZbCe','pkField','groups','errorMsg','GET_ONE','https://example.com/file.pdf','getItems','\x0a\x20\x20env:\x20\x27','createImport','字段名称','获取下拉选项','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','getOperationList','日期时间','importTemplate','_operationList','[parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:','has',':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','placeholder','getDisabledOperations','fromApiResponse','fields','查询单个条件','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse','findByName','getOne','getType','success','size','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','hasUpdateTimeField','(params);','createTimeField','\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,','1933620QWfZQu','(id,\x20data);','generateOperationSummary','getConflicts','[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:','getOperationAnalysesByType','\x20operation\x0a','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','\x0a//\x20Call\x20the\x20','toLowerCase','TIMESTAMP','getFieldSelectItemsSource','CHECKBOX','长文本','getRequestFields','-$1','modifyDate','示例值','excelExport','isPrimaryKey','getDatasetDocMeta','value','528987GBsVNt','options','({\x20','\x20的\x20extend\x20配置失败:','now','includes','时间戳','hasCreateTimeField','source','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','systemAnalysisResult','displayName','toJSON','selectItemsSource','fullUrl','API路径','parseRawResponseBody','SELECT','parseRawRequestBody','https://example.com/image.jpg','1.0.0-beta.8','getStats','getRaw','getLatest','getMethod','requestFields','required','data','generateAllOperationsFullSDKExample','findAll','getAllFieldsArray','20295380GmTymQ','set','(id,\x20','toUpperCase','generateUsageExample','({\x20code,\x20label\x20});','detectConflicts',',\x20fields:\x20','getBusinessFields','-\x20`','getDatabaseName','getDatabaseVersion','total','DatasetList(','getCountByMethod','responseBody','getTableName','getEnabled','some','getEnumFields','generateConfig','getOldest','daily','getExtendField','user@example.com','\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});','创建导出','getLatestDatasets','groupByTableName','entries','hasTableName','context','Operation\x20instance\x20not\x20found:\x20','getOperation','getFileUrl','_operations','generateSDKCallCode','getOperationAnalysis','\x20fields,\x20','GET_FILE_URL','\x20groups,\x20','has\x20conflicts','parseFieldExtend','modelCode','operationCount','isEmpty','valueLabels','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','includeDisabled','toArray','hasDblinkInfo','hasConflicts','DATETIME','isRequiredField','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','taskInfo','hasDbtableConfig','dataset_000000','支持单值或数组','systemFieldCount','findById','getDisabled','数组查询(支持多选)','status',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','operation','POST','SDK\x20调用','businessFieldCount','dataset_','hasConflict','method','getEnabledOperationAnalyses','extend','getOneUpdate','parse','hasModifierIdField','updateTimeField','任务信息','initDataset','values','allFields','getCount','getAppCode','getAt','datasetCode','const\x20result\x20=\x20await\x20client.models.','getEnumFieldMeta','description','查询列表','update','keys','getTableKey','generateFullSDKExample','creatorIdField','DatasetItem(','_datasetMap','支持多个条件','map','getOperationStats','操作成功','getAllDatasets','generateRequestExample','msg','isVirtualTable','getFullUrl','\x22,数据集:\x20','RADIO','TEXT','item1','generateSingleValueExample','successCode','完整的\x20SDK\x20调用代码','\x20API\x20文档','datasetKey','generateAllOperationsSummary','from','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','String','getModelName','items','下拉选择','generateRequestAllExamples','[parseFieldExtend]\x20Invalid\x20field:','type','getAllFieldsString','DELETE','createDate','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','获取上传脚本','version','dbType','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:','isEnumField','getOneOrigin','[parseFieldExtend]\x20解析字段\x20','toString','getSystemAnalysisResult','GET_LIST','getField','getFields','hasLogicField','no\x20conflicts','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','hasCreatorIdField','modifierNameField','isMultipleSelectField','[DrivenDataDetail.parseFieldExtend]\x20解析字段\x20','\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20','\x20items,\x20','getOperationCountByType','label','every','\x20operations)','code','getOperationAnalyses','GET_SELECT_OPTIONS','generateSDKInitCode','getRawDbtableConfig','解析\x20responseBody\x20失败:','join','getVirtualTables','(支持单值或数组)','dbId','modelId','[DrivenDataDetail.getField]\x20code\x20is\x20not\x20a\x20string:','length','getOperationsOverviewData','\x0a\x0a//\x20','get','0000','datasetMap','trim','getDisabledNames','delete','getAll','getResponseSchema','getName','getOperationRequestFields','find','generateConfigArray','({\x20currentPage,\x20pageSize\x20});','getDisplayName','enabled','();','isOperationEnabled','18TUbNvH','getCountByType','object','currentPage','field_name','number','multiple','generateFromSchema','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','DbtableConfig(table:\x20','pageSize','hasField','generateFieldExample','getNames','push','getFieldDefinition','DatasetGroup(','getOperationCountByMethod','appCode','767876gouWRp','sort','path','getSystemFields','usageExample','findByCode','boolean','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',',\x20...\x20});','test','createExport','getOperationDocMeta','UPDATE','系统自动生成','getConflictingItems','primaryKey','toConfig','customFilter','address','empty','getFieldsByType','getUploadFileScript','isArray','getOperationCount','getRequestParams','getFieldCount','getSelectOptions','warn','getIds','151852GUUVyl','getEnumFieldsMeta','generateResponseExample','[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27','Number','forEach','string','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','errorCode','21uxUXbC','GET_UPLOAD_FILE_SCRIPT','sdkCall','findByTableName','北京市朝阳区','DATE','DrivenDataDetail(','children','[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array'];a0_0x2f14=function(){return _0x1f0c7e;};return a0_0x2f14();}function formatOptionsForDoc(_0x2a1f01){const _0x43d549=a0_0xba2960;return _0x2a1f01[_0x43d549(0x2de)](_0x15cbf2=>_0x15cbf2[_0x43d549(0x25c)]+'('+_0x15cbf2['label']+')')[_0x43d549(0x31c)](',\x20');}function formatOptionsAsMarkdownList(_0x46e848,_0x1dff5f=0x0){const _0x30e1a1=a0_0xba2960,_0x1da0de='\x20\x20'['repeat'](_0x1dff5f),_0x3c4ed8=[];return _0x46e848[_0x30e1a1(0x1d0)](_0x16166b=>{const _0x4fa4f1=_0x30e1a1;_0x3c4ed8['push'](_0x1da0de+_0x4fa4f1(0x285)+_0x16166b[_0x4fa4f1(0x25c)]+_0x4fa4f1(0x21e)+_0x16166b[_0x4fa4f1(0x313)]),_0x16166b['children']&&_0x16166b[_0x4fa4f1(0x1db)]['length']>0x0&&_0x3c4ed8[_0x4fa4f1(0x344)](formatOptionsAsMarkdownList(_0x16166b['children'],_0x1dff5f+0x1));}),_0x3c4ed8['join']('\x0a');}class DbtableConfig{[a0_0xba2960(0x1e3)];constructor(_0x1f7a66){this['_raw']={..._0x1f7a66};}get[a0_0xba2960(0x31f)](){const _0x4ae624=a0_0xba2960;return this['_raw'][_0x4ae624(0x31f)];}get[a0_0xba2960(0x1f7)](){return this['_raw']['tableName'];}get[a0_0xba2960(0x2ee)](){return this['_raw']['datasetKey'];}get[a0_0xba2960(0x225)](){return this['_raw']['pkField'];}get['labelField'](){const _0x104d33=a0_0xba2960;return this[_0x104d33(0x1e3)][_0x104d33(0x1ef)];}get[a0_0xba2960(0x217)](){const _0x51b2f3=a0_0xba2960;return this[_0x51b2f3(0x1e3)][_0x51b2f3(0x217)];}get[a0_0xba2960(0x245)](){const _0x27715c=a0_0xba2960;return this[_0x27715c(0x1e3)]['createTimeField'];}get['updateTimeField'](){const _0x149248=a0_0xba2960;return this[_0x149248(0x1e3)][_0x149248(0x2c9)];}get[a0_0xba2960(0x2da)](){const _0x44bcbb=a0_0xba2960;return this[_0x44bcbb(0x1e3)][_0x44bcbb(0x2da)];}get['creatorNameField'](){const _0x2a7bee=a0_0xba2960;return this[_0x2a7bee(0x1e3)][_0x2a7bee(0x222)];}get[a0_0xba2960(0x1fa)](){const _0xafe2e6=a0_0xba2960;return this['_raw'][_0xafe2e6(0x1fa)];}get[a0_0xba2960(0x30d)](){const _0xc1aba4=a0_0xba2960;return this['_raw'][_0xc1aba4(0x30d)];}get[a0_0xba2960(0x21f)](){const _0x4217a2=a0_0xba2960;return this[_0x4217a2(0x1e3)]['dblinkInfoDTO'];}[a0_0xba2960(0x27b)](){const _0x586a8b=a0_0xba2960;if(!this[_0x586a8b(0x1e3)][_0x586a8b(0x2cd)])return[];return this[_0x586a8b(0x1e3)][_0x586a8b(0x2cd)]['split'](',')[_0x586a8b(0x2de)](_0x1f51af=>_0x1f51af['trim']())['filter'](Boolean);}[a0_0xba2960(0x2f9)](){const _0xad8b81=a0_0xba2960;return this[_0xad8b81(0x1e3)][_0xad8b81(0x2cd)];}[a0_0xba2960(0x341)](_0x4d9ea1){const _0x43ae25=a0_0xba2960;return this[_0x43ae25(0x27b)]()['includes'](_0x4d9ea1);}[a0_0xba2960(0x29a)](){const _0x573797=a0_0xba2960;return Boolean(this[_0x573797(0x1e3)][_0x573797(0x1f7)]);}[a0_0xba2960(0x2ae)](){const _0x89fd69=a0_0xba2960;return Boolean(this[_0x89fd69(0x1e3)]['dblinkInfoDTO']);}[a0_0xba2960(0x309)](){const _0x4daa19=a0_0xba2960;return Boolean(this[_0x4daa19(0x1e3)]['logicField']?.['fieldName']);}['hasCreateTimeField'](){const _0x23e02b=a0_0xba2960;return Boolean(this[_0x23e02b(0x1e3)]['createTimeField']?.[_0x23e02b(0x207)]);}[a0_0xba2960(0x243)](){const _0x320964=a0_0xba2960;return Boolean(this[_0x320964(0x1e3)]['updateTimeField']?.[_0x320964(0x207)]);}[a0_0xba2960(0x30c)](){const _0x92cfa8=a0_0xba2960;return Boolean(this[_0x92cfa8(0x1e3)]['creatorIdField']?.['fieldName']);}[a0_0xba2960(0x2c8)](){const _0x3dfb6e=a0_0xba2960;return Boolean(this['_raw'][_0x3dfb6e(0x1fa)]?.['fieldName']);}[a0_0xba2960(0x200)](_0x4e3f24){return this['_raw']['pkField']===_0x4e3f24;}[a0_0xba2960(0x1e1)](_0x27c770){const _0x24e04f=a0_0xba2960;return this[_0x24e04f(0x200)](_0x27c770)||this['_raw'][_0x24e04f(0x217)]?.[_0x24e04f(0x207)]===_0x27c770||this[_0x24e04f(0x1e3)][_0x24e04f(0x245)]?.[_0x24e04f(0x207)]===_0x27c770||this[_0x24e04f(0x1e3)][_0x24e04f(0x2c9)]?.[_0x24e04f(0x207)]===_0x27c770||this['_raw']['creatorIdField']?.['fieldName']===_0x27c770||this[_0x24e04f(0x1e3)]['creatorNameField']?.[_0x24e04f(0x207)]===_0x27c770||this[_0x24e04f(0x1e3)][_0x24e04f(0x1fa)]?.[_0x24e04f(0x207)]===_0x27c770||this['_raw'][_0x24e04f(0x30d)]?.[_0x24e04f(0x207)]===_0x27c770;}[a0_0xba2960(0x286)](){const _0x56e1dc=a0_0xba2960;return this['_raw'][_0x56e1dc(0x21f)]?.['dbName'];}[a0_0xba2960(0x206)](){const _0x1b0ae3=a0_0xba2960;return this['_raw']['dblinkInfoDTO']?.[_0x1b0ae3(0x2ff)];}[a0_0xba2960(0x287)](){const _0x55e134=a0_0xba2960;return this[_0x55e134(0x1e3)]['dblinkInfoDTO']?.[_0x55e134(0x214)];}[a0_0xba2960(0x1ec)](){const _0x4404e5=a0_0xba2960;return this['_raw'][_0x4404e5(0x21f)]?.['tenantCode'];}[a0_0xba2960(0x2cf)](){const _0x60f8df=a0_0xba2960;return this['_raw'][_0x60f8df(0x21f)]?.[_0x60f8df(0x348)];}[a0_0xba2960(0x305)](){const _0x14054d=a0_0xba2960;return this[_0x14054d(0x1e3)][_0x14054d(0x21f)]?.[_0x14054d(0x267)];}[a0_0xba2960(0x272)](){const _0x1aeeb3=a0_0xba2960;return{'hasTableName':this[_0x1aeeb3(0x29a)](),'hasDblinkInfo':this[_0x1aeeb3(0x2ae)](),'fieldCount':this[_0x1aeeb3(0x27b)]()[_0x1aeeb3(0x322)],'systemFields':{'hasLogicField':this[_0x1aeeb3(0x309)](),'hasCreateTimeField':this[_0x1aeeb3(0x264)](),'hasUpdateTimeField':this[_0x1aeeb3(0x243)](),'hasCreatorIdField':this[_0x1aeeb3(0x30c)](),'hasModifierIdField':this[_0x1aeeb3(0x2c8)]()}};}['toConfig'](){const _0x5028c4=a0_0xba2960;return{'tableName':this['tableName'],'pkField':this[_0x5028c4(0x225)],'datasetKey':this[_0x5028c4(0x2ee)],'dbId':this[_0x5028c4(0x31f)]};}[a0_0xba2960(0x269)](){const _0x517604=a0_0xba2960;return{...this[_0x517604(0x1e3)]};}['getRaw'](){const _0x39cbea=a0_0xba2960;return{...this[_0x39cbea(0x1e3)]};}[a0_0xba2960(0x304)](){const _0x3f126c=a0_0xba2960,_0x46f64b=this[_0x3f126c(0x1f7)]||'N/A',_0xbe7de=this['getAllFieldsArray']()['length'];return _0x3f126c(0x33f)+_0x46f64b+_0x3f126c(0x283)+_0xbe7de+')';}static[a0_0xba2960(0x1c0)](){return new DbtableConfig({});}}class DatasetItem{[a0_0xba2960(0x1e3)];constructor(_0x54cf87){const _0x2461d1=a0_0xba2960,_0x14f6ca=_0x54cf87[_0x2461d1(0x2d1)]||_0x54cf87['code']||_0x54cf87[_0x2461d1(0x2a7)];this[_0x2461d1(0x1e3)]={..._0x54cf87,'datasetCode':_0x14f6ca};}get['id'](){const _0xd11c75=a0_0xba2960;return this[_0xd11c75(0x1e3)]['id'];}get['name'](){return this['_raw']['name'];}['getName'](){const _0xe3ad4e=a0_0xba2960;return this[_0xe3ad4e(0x1ed)];}get[a0_0xba2960(0x2d1)](){const _0x4d59de=a0_0xba2960;return this[_0x4d59de(0x1e3)][_0x4d59de(0x2d1)]||'';}get['dbtableConfig'](){const _0x38fe26=a0_0xba2960;if(!this[_0x38fe26(0x1e3)][_0x38fe26(0x1fd)])return null;return new DbtableConfig(this[_0x38fe26(0x1e3)][_0x38fe26(0x1fd)]);}[a0_0xba2960(0x31a)](){const _0x36543e=a0_0xba2960;return this[_0x36543e(0x1e3)][_0x36543e(0x1fd)];}[a0_0xba2960(0x28c)](){return getTableName(this['_raw']);}[a0_0xba2960(0x2d8)](){return getTableKey(this['getTableName']());}['isVirtualTable'](){const _0x51e3f4=a0_0xba2960;return isVirtualTableName(this[_0x51e3f4(0x28c)]());}[a0_0xba2960(0x2f3)](){const _0x47cb99=a0_0xba2960;return toPascalCase(this[_0x47cb99(0x28c)]());}[a0_0xba2960(0x1bd)](){const _0x4398bb=a0_0xba2960;return{'key':getTableKey(this[_0x4398bb(0x28c)]()),'tableName':this[_0x4398bb(0x28c)](),'datasetCode':this[_0x4398bb(0x2d1)],'name':this[_0x4398bb(0x1ed)]};}[a0_0xba2960(0x269)](){const _0x3b15eb=a0_0xba2960;return{...this[_0x3b15eb(0x1e3)],'datasetCode':this['datasetCode']};}[a0_0xba2960(0x273)](){return{...this['_raw']};}[a0_0xba2960(0x2b4)](){const _0x17043d=a0_0xba2960,_0x238846=this[_0x17043d(0x1fd)];return _0x238846!==null&&_0x238846[_0x17043d(0x29a)]();}[a0_0xba2960(0x293)](_0x116414){const _0x56f26a=a0_0xba2960;return this[_0x56f26a(0x1e3)][_0x116414];}['hasExtendField'](_0x44fff5){const _0x352833=a0_0xba2960;return _0x44fff5 in this[_0x352833(0x1e3)];}['toString'](){const _0x162f09=a0_0xba2960;return _0x162f09(0x2db)+this[_0x162f09(0x1ed)]+',\x20'+this['datasetCode']+')';}}class Operation{[a0_0xba2960(0x1ed)];['_raw'];[a0_0xba2960(0x29b)];constructor(_0x32cf19,_0x411955,_0x5917c6){const _0x4eaf6c=a0_0xba2960;this[_0x4eaf6c(0x1ed)]=_0x32cf19,this[_0x4eaf6c(0x1e3)]=_0x411955,this[_0x4eaf6c(0x29b)]=_0x5917c6;}[a0_0xba2960(0x32d)](){const _0x236f93=a0_0xba2960;return this[_0x236f93(0x1ed)];}[a0_0xba2960(0x332)](){const _0x3640fa=a0_0xba2960,_0xa76bfd=this[_0x3640fa(0x23f)]();return _0xa76bfd?OPERATION_TYPE_DISPLAY_NAME[_0xa76bfd]:this[_0x3640fa(0x1ed)];}[a0_0xba2960(0x23f)](){const _0x3464b3=a0_0xba2960;return parseOperationType(this[_0x3464b3(0x1ed)]);}[a0_0xba2960(0x1eb)](){const _0x344838=a0_0xba2960;return this[_0x344838(0x1e3)]!=null&&this['_raw']!==![];}[a0_0xba2960(0x275)](){const _0x24c6c1=a0_0xba2960;if(!this[_0x24c6c1(0x1eb)]()||!this[_0x24c6c1(0x1e3)])return'';const _0x1e800c=this['_raw']['method'];return typeof _0x1e800c===_0x24c6c1(0x1d1)?_0x1e800c:_0x24c6c1(0x2be);}[a0_0xba2960(0x20b)](){const _0x5fecd4=a0_0xba2960;if(!this[_0x5fecd4(0x1eb)]()||!this[_0x5fecd4(0x1e3)])return'';const _0x2d66dc=this['_raw']['path'];return typeof _0x2d66dc===_0x5fecd4(0x1d1)?_0x2d66dc:'';}[a0_0xba2960(0x2e5)](){const _0x4836e5=a0_0xba2960;if(!this[_0x4836e5(0x1eb)]()||!this[_0x4836e5(0x1e3)])return'';const {host:_0x388513,path:_0x3653f5}=this[_0x4836e5(0x1e3)],_0x4ca796=typeof _0x388513===_0x4836e5(0x1d1)?_0x388513:'',_0x5c78e8=typeof _0x3653f5===_0x4836e5(0x1d1)?_0x3653f5:'';return _0x4ca796&&_0x5c78e8?''+_0x4ca796+_0x5c78e8:_0x5c78e8;}[a0_0xba2960(0x255)](){const _0x19cbfb=a0_0xba2960;return Object[_0x19cbfb(0x2d7)](this[_0x19cbfb(0x1c5)]());}['parseRawRequestBody'](){const _0x35eb0e=a0_0xba2960;if(!this['isEnabled']()||typeof this[_0x35eb0e(0x1e3)]==='boolean'||!this['_raw']?.['requestBody'])return{};const _0x178a0c=this[_0x35eb0e(0x1e3)]['requestBody'];if(typeof _0x178a0c!=='string')return console['warn'](_0x35eb0e(0x24b),_0x178a0c),{};return parseRequestBody(_0x178a0c);}[a0_0xba2960(0x26d)](){const _0x3d5f82=a0_0xba2960;if(!this[_0x3d5f82(0x1eb)]()||typeof this[_0x3d5f82(0x1e3)]===_0x3d5f82(0x34f)||!this[_0x3d5f82(0x1e3)]?.['responseBody'])return null;const _0x1b306a=this[_0x3d5f82(0x1e3)][_0x3d5f82(0x28b)];if(typeof _0x1b306a!==_0x3d5f82(0x1d1))return console['warn'](_0x3d5f82(0x1cd),_0x1b306a),null;return parseResponseBody(_0x1b306a);}[a0_0xba2960(0x342)](_0x52f8f7,_0x485534,_0x222e08,_0x367af9){const _0x23392f=a0_0xba2960;return generateExampleValue(_0x52f8f7,_0x485534,_0x222e08,{'isPrimaryKey':_0x367af9?.[_0x23392f(0x25a)],'description':_0x367af9?.[_0x23392f(0x2d4)],'dbtableConfig':this[_0x23392f(0x29b)]['dbtableConfig']});}[a0_0xba2960(0x345)](_0x1f74f0){const _0x1f9b93=a0_0xba2960;if(!Array[_0x1f9b93(0x1c3)](this['context'][_0x1f9b93(0x23a)])){console[_0x1f9b93(0x1c8)](_0x1f9b93(0x1dc));return;}if(typeof _0x1f74f0!==_0x1f9b93(0x1d1)){console['warn'](_0x1f9b93(0x242),_0x1f74f0);return;}return this[_0x1f9b93(0x29b)][_0x1f9b93(0x23a)]['find'](_0x21e132=>_0x21e132&&_0x21e132['code']===_0x1f74f0);}[a0_0xba2960(0x304)](){const _0xff4dd3=a0_0xba2960,_0x469253=this[_0xff4dd3(0x1eb)]()?'启用':'禁用';return this[_0xff4dd3(0x332)]()+'('+this[_0xff4dd3(0x1ed)]+',\x20'+_0x469253+')';}['generateUsageExample'](_0x1d9177){const _0x969dfc=a0_0xba2960,_0xf4f5a6=this['getName'](),_0x1d53f9=_0x969dfc(0x30b)+_0x1d9177+'.'+_0xf4f5a6+'(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容',_0x5716ac=_0x969dfc(0x22f)+_0x1d9177+'.'+_0xf4f5a6+_0x969dfc(0x1e0);return{'successCode':_0x1d53f9,'errorCode':_0x5716ac};}[a0_0xba2960(0x269)](){const _0x1ae2cc=a0_0xba2960;return{'name':this[_0x1ae2cc(0x32d)](),'displayName':this[_0x1ae2cc(0x332)](),'type':this['getType'](),'enabled':this[_0x1ae2cc(0x1eb)](),'method':this['getMethod'](),'path':this[_0x1ae2cc(0x20b)](),'fullUrl':this[_0x1ae2cc(0x2e5)](),'requestFields':this[_0x1ae2cc(0x255)](),'requestParams':this['getRequestParams'](),'responseSchema':this[_0x1ae2cc(0x32c)](),'requestExample':this['generateRequestExample'](),'responseExample':this[_0x1ae2cc(0x1cc)]()};}}class GenericOperation extends Operation{[a0_0xba2960(0x1c5)](){const _0x445898=a0_0xba2960;return this[_0x445898(0x26f)]();}[a0_0xba2960(0x32c)](){return this['parseRawResponseBody']();}[a0_0xba2960(0x2e2)](){const _0x3439ff=a0_0xba2960,_0x42a026={},_0x5102ea=this[_0x3439ff(0x1c5)](),_0x32c300=this['getType']();if(Object['keys'](_0x5102ea)['length']===0x0&&_0x32c300){const _0x52d3cf=getFieldsForOperation(this[_0x3439ff(0x29b)][_0x3439ff(0x23a)],_0x32c300,this[_0x3439ff(0x29b)][_0x3439ff(0x225)]);return _0x52d3cf[_0x3439ff(0x1d0)](_0x44f1b1=>{const _0x4d321b=_0x3439ff,_0x55e254=this[_0x4d321b(0x342)](_0x44f1b1[_0x4d321b(0x316)],_0x44f1b1['type'],typeof _0x44f1b1['dbType']==='string'?_0x44f1b1[_0x4d321b(0x2ff)]:undefined,{'isPrimaryKey':_0x44f1b1[_0x4d321b(0x316)]===this['context'][_0x4d321b(0x225)],'description':_0x44f1b1[_0x4d321b(0x2d4)]||_0x44f1b1[_0x4d321b(0x1ed)]});_0x42a026[_0x44f1b1[_0x4d321b(0x316)]]=_0x55e254;}),_0x42a026;}return Object[_0x3439ff(0x299)](_0x5102ea)[_0x3439ff(0x1d0)](([_0x29f5fe,_0x709f54])=>{const _0x2e733f=_0x3439ff,_0x13e2e7=_0x709f54;let _0x10cf45;if(typeof _0x13e2e7[_0x2e733f(0x2f8)]==='string')_0x10cf45=_0x13e2e7['type'];else _0x13e2e7['type']&&typeof _0x13e2e7[_0x2e733f(0x2f8)]==='object'?_0x10cf45=_0x13e2e7[_0x2e733f(0x2f8)]['type']||_0x2e733f(0x2e8):_0x10cf45=_0x2e733f(0x2e8);const _0x29b873=_0x13e2e7[_0x2e733f(0x2d4)],_0x58d340=this[_0x2e733f(0x345)](_0x29f5fe);if(_0x29f5fe===_0x2e733f(0x339))_0x42a026[_0x29f5fe]=0x1;else{if(_0x29f5fe===_0x2e733f(0x340))_0x42a026[_0x29f5fe]=0xa;else _0x29f5fe==='id'?_0x42a026[_0x29f5fe]=0x1:_0x42a026[_0x29f5fe]=this['generateFieldExample'](_0x29f5fe,_0x10cf45,typeof _0x58d340?.[_0x2e733f(0x2ff)]===_0x2e733f(0x1d1)?_0x58d340['dbType']:undefined,{'isPrimaryKey':_0x29f5fe===this['context'][_0x2e733f(0x225)]||_0x29f5fe==='id','description':_0x29b873||_0x58d340?.[_0x2e733f(0x2d4)]||_0x58d340?.['name']});}}),_0x42a026;}['generateResponseExample'](){const _0x503b9e=a0_0xba2960,_0x4ef44a=this['getResponseSchema']();if(!_0x4ef44a)return{'success':!![],'msg':_0x503b9e(0x2e0),'errorMsg':'','errorCode':_0x503b9e(0x326),'data':null};return this[_0x503b9e(0x33d)](_0x4ef44a);}[a0_0xba2960(0x33d)](_0xe1d6af){const _0x1a1c9f=a0_0xba2960;if(!_0xe1d6af||typeof _0xe1d6af!==_0x1a1c9f(0x338))return{};if(Array[_0x1a1c9f(0x1c3)](_0xe1d6af)){if(_0xe1d6af[_0x1a1c9f(0x322)]>0x0)return[this['generateFromSchema'](_0xe1d6af[0x0])];return[];}const _0x6c0a39={};return Object[_0x1a1c9f(0x2d7)](_0xe1d6af)['forEach'](_0x5e828f=>{const _0x53a32f=_0x1a1c9f,_0x1d8900=_0xe1d6af[_0x5e828f];if(_0x1d8900&&typeof _0x1d8900===_0x53a32f(0x338)&&!Array['isArray'](_0x1d8900)&&_0x1d8900[_0x53a32f(0x2f8)]){const _0x439a93=_0x1d8900;let _0x3c80e6;if(typeof _0x439a93['type']==='string')_0x3c80e6=_0x439a93[_0x53a32f(0x2f8)];else _0x439a93[_0x53a32f(0x2f8)]&&typeof _0x439a93['type']===_0x53a32f(0x338)?_0x3c80e6=_0x439a93['type'][_0x53a32f(0x2f8)]||_0x53a32f(0x2e8):_0x3c80e6=_0x53a32f(0x2e8);const _0x3eb73c=_0x439a93['description'];_0x6c0a39[_0x5e828f]=this[_0x53a32f(0x342)](_0x5e828f,_0x3c80e6,undefined,{'description':_0x3eb73c});}else{if(Array['isArray'](_0x1d8900))_0x6c0a39[_0x5e828f]=_0x1d8900[_0x53a32f(0x322)]>0x0?[this[_0x53a32f(0x33d)](_0x1d8900[0x0])]:[];else _0x1d8900&&typeof _0x1d8900===_0x53a32f(0x338)?_0x6c0a39[_0x5e828f]=this['generateFromSchema'](_0x1d8900):_0x6c0a39[_0x5e828f]=_0x1d8900;}}),_0x6c0a39;}[a0_0xba2960(0x2a0)](_0x168f62,_0x29db6e){const _0x34bb2f=a0_0xba2960,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x29db6e||{},_0x365f30=this[_0x34bb2f(0x32d)](),_0x2d547b=this[_0x34bb2f(0x23f)](),_0x47742f=this[_0x34bb2f(0x255)](),_0x50d953=this[_0x34bb2f(0x2e2)](),_0x4c433c=_0x26fec2=>{const _0x1fa1da=_0x34bb2f;if(Object['keys'](_0x26fec2)[_0x1fa1da(0x322)]===0x0)return'{}';const _0xc571fe=JSON[_0x1fa1da(0x1f0)](_0x26fec2,null,0x2)['split']('\x0a')[_0x1fa1da(0x2de)]((_0x133140,_0x2cfe6f)=>_0x2cfe6f===0x0?_0x133140:indent+_0x133140)[_0x1fa1da(0x31c)]('\x0a');return _0xc571fe;};switch(_0x2d547b){case _0x34bb2f(0x23e):case _0x34bb2f(0x32a):return _0x34bb2f(0x2d2)+_0x168f62+'.'+_0x365f30+_0x34bb2f(0x1e4);case'update':if(useFullExample&&Object[_0x34bb2f(0x2d7)](_0x50d953)['length']>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x168f62+'.'+_0x365f30+_0x34bb2f(0x27e)+_0x4c433c(_0x50d953)+');';return _0x34bb2f(0x2d2)+_0x168f62+'.'+_0x365f30+_0x34bb2f(0x248);case _0x34bb2f(0x1ee):case _0x34bb2f(0x218):case _0x34bb2f(0x1c7):default:if(_0x47742f[_0x34bb2f(0x322)]>0x0){if(useFullExample&&Object[_0x34bb2f(0x2d7)](_0x50d953)[_0x34bb2f(0x322)]>0x0)return _0x34bb2f(0x2d2)+_0x168f62+'.'+_0x365f30+'('+_0x4c433c(_0x50d953)+');';else{const _0x255c9a=Object[_0x34bb2f(0x2d7)](_0x50d953);if(_0x255c9a[_0x34bb2f(0x322)]>0x0){const _0xc4cb9f=_0x255c9a['slice'](0x0,0x2)[_0x34bb2f(0x31c)](',\x20');return _0x34bb2f(0x2d2)+_0x168f62+'.'+_0x365f30+'({\x20'+_0xc4cb9f+_0x34bb2f(0x351);}else return _0x34bb2f(0x2d2)+_0x168f62+'.'+_0x365f30+_0x34bb2f(0x244);}}else return _0x34bb2f(0x2d2)+_0x168f62+'.'+_0x365f30+_0x34bb2f(0x334);}}[a0_0xba2960(0x2f6)](){const _0x48af84=a0_0xba2960;return[{'title':'请求示例','data':this[_0x48af84(0x2e2)]()}];}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x32c1e6=a0_0xba2960,_0x2828ea=super[_0x32c1e6(0x1c5)](),_0x499010=Object[_0x32c1e6(0x2d7)](_0x2828ea);return(_0x499010[_0x32c1e6(0x322)]===0x0||_0x499010[_0x32c1e6(0x322)]===0x1&&_0x499010[0x0]==='code')&&(!_0x2828ea[_0x32c1e6(0x316)]&&(_0x2828ea['code']={'type':_0x32c1e6(0x2f2),'description':_0x32c1e6(0x1dd)}),_0x2828ea[_0x32c1e6(0x313)]={'type':_0x32c1e6(0x2f2),'description':_0x32c1e6(0x22d)}),_0x2828ea;}[a0_0xba2960(0x2e2)](){const _0x1c9d7f=a0_0xba2960;return{'code':_0x1c9d7f(0x33a),'label':'field_name'};}[a0_0xba2960(0x2a0)](_0x4452e2){const _0x25b498=a0_0xba2960,_0x308142=this[_0x25b498(0x32d)]();return _0x25b498(0x2d2)+_0x4452e2+'.'+_0x308142+_0x25b498(0x281);}}class GetListOperation extends GenericOperation{[a0_0xba2960(0x1c5)](){const _0x1ccda4=a0_0xba2960,_0x21a6af=super[_0x1ccda4(0x1c5)](),{currentPage:_0x376208,pageSize:_0x4f9e86,..._0x12bba3}=_0x21a6af,_0x2f57cf={};return Object[_0x1ccda4(0x299)](_0x12bba3)[_0x1ccda4(0x1d0)](([_0x5ee5df,_0xb7e7d9])=>{const _0x3703eb=_0x1ccda4;if(typeof _0xb7e7d9===_0x3703eb(0x338)&&_0xb7e7d9!==null){const _0x260c7e=_0xb7e7d9,_0xfbc1=_0x260c7e[_0x3703eb(0x2d4)]||'';_0x2f57cf[_0x5ee5df]={..._0x260c7e,'description':_0xfbc1?_0xfbc1+_0x3703eb(0x31e):_0x3703eb(0x2b6)};}else _0x2f57cf[_0x5ee5df]=_0xb7e7d9;}),{..._0x2f57cf,'currentPage':{...typeof _0x376208===_0x1ccda4(0x338)?_0x376208:{},'type':_0x1ccda4(0x1cf),'description':'当前页码'},'pageSize':{...typeof _0x4f9e86===_0x1ccda4(0x338)?_0x4f9e86:{},'type':_0x1ccda4(0x1cf),'description':'每页数量'}};}[a0_0xba2960(0x2e2)](_0x17ee50){const _0x1edd57=a0_0xba2960,{useArrayValues:useArrayValues=!![]}=_0x17ee50||{},_0x4a08ec=super[_0x1edd57(0x2e2)](),{currentPage:_0x2e009f,pageSize:_0x54b264,..._0x5bc5a2}=_0x4a08ec;if(!useArrayValues)return{..._0x5bc5a2,'currentPage':_0x2e009f??0x1,'pageSize':_0x54b264??0xa};const _0x1ad941={},_0x3facb0=['id',_0x1edd57(0x2bb),_0x1edd57(0x316),_0x1edd57(0x2f8)];return Object[_0x1edd57(0x299)](_0x5bc5a2)[_0x1edd57(0x1d0)](([_0x2a6764,_0x5c2603],_0x223efe)=>{const _0x4fad6d=_0x1edd57,_0x336100=_0x3facb0[_0x4fad6d(0x28e)](_0x49b2e0=>_0x2a6764[_0x4fad6d(0x250)]()['includes'](_0x49b2e0))||_0x223efe%0x3===0x0;if(_0x336100&&_0x5c2603!==null&&_0x5c2603!==undefined){if(typeof _0x5c2603==='number')_0x1ad941[_0x2a6764]=[_0x5c2603,_0x5c2603+0x1,_0x5c2603+0x2];else typeof _0x5c2603===_0x4fad6d(0x1d1)?_0x1ad941[_0x2a6764]=[_0x5c2603,_0x5c2603+'_2',_0x5c2603+'_3']:_0x1ad941[_0x2a6764]=[_0x5c2603];}else _0x1ad941[_0x2a6764]=_0x5c2603;}),{..._0x1ad941,'currentPage':_0x2e009f??0x1,'pageSize':_0x54b264??0xa};}['generateSingleValueExample'](){const _0xc9237e=a0_0xba2960;return this[_0xc9237e(0x2e2)]({'useArrayValues':![]});}['generateRequestAllExamples'](){const _0x19b897=a0_0xba2960;return[{'title':_0x19b897(0x21c),'description':_0x19b897(0x23b),'data':this[_0x19b897(0x2ea)]()},{'title':_0x19b897(0x2ba),'description':_0x19b897(0x2dd),'data':this[_0x19b897(0x2e2)]()}];}[a0_0xba2960(0x2a0)](_0x43ca1b,_0x3f20ae){const _0x431e78=a0_0xba2960,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3f20ae||{},_0x315c24=this['getName'](),_0x2df0c2=this['generateRequestExample']({'useArrayValues':!![]}),{currentPage:_0x2eadc7,pageSize:_0x1b8e8b,..._0x1df0f9}=_0x2df0c2;if(useFullExample&&Object['keys'](_0x2df0c2)[_0x431e78(0x322)]>0x0){const _0x256bba=Object[_0x431e78(0x2d7)](_0x1df0f9)[_0x431e78(0x322)]>0x0;if(_0x256bba){const _0x433fc6=this[_0x431e78(0x2ea)](),_0x57bdfc=_0x5dc582=>{const _0x100817=_0x431e78;return JSON[_0x100817(0x1f0)](_0x5dc582,null,0x2)[_0x100817(0x216)]('\x0a')[_0x100817(0x2de)]((_0x27d314,_0x52e633)=>_0x52e633===0x0?_0x27d314:indent+_0x27d314)[_0x100817(0x31c)]('\x0a');};return _0x431e78(0x33e)+_0x43ca1b+'.'+_0x315c24+'('+_0x57bdfc(_0x433fc6)+_0x431e78(0x2bc)+_0x43ca1b+'.'+_0x315c24+'('+_0x57bdfc(_0x2df0c2)+');';}else{const _0x410022=JSON['stringify'](_0x2df0c2,null,0x2)[_0x431e78(0x216)]('\x0a')['map']((_0x3096b4,_0x4e2aa9)=>_0x4e2aa9===0x0?_0x3096b4:indent+_0x3096b4)[_0x431e78(0x31c)]('\x0a');return _0x431e78(0x2d2)+_0x43ca1b+'.'+_0x315c24+'('+_0x410022+');';}}if(Object[_0x431e78(0x2d7)](_0x1df0f9)['length']>0x0){const _0x1d6b0a=Object[_0x431e78(0x2d7)](_0x1df0f9)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x43ca1b+'.'+_0x315c24+_0x431e78(0x25f)+_0x1d6b0a+_0x431e78(0x1ff);}return'const\x20result\x20=\x20await\x20client.models.'+_0x43ca1b+'.'+_0x315c24+_0x431e78(0x331);}}class OperationFactory{[a0_0xba2960(0x1ee)](_0x106151,_0x47734a,_0x194726){const _0x30e0cf=a0_0xba2960;switch(_0x106151){case _0x30e0cf(0x1c7):return new GetSelectOptionsOperation(_0x106151,_0x47734a,_0x194726);case _0x30e0cf(0x218):return new GetListOperation(_0x106151,_0x47734a,_0x194726);default:return new GenericOperation(_0x106151,_0x47734a,_0x194726);}}['createAll'](_0x261c79,_0x1b3566){const _0x280248=a0_0xba2960,_0xb274ab=new Map();return Object[_0x280248(0x299)](_0x261c79)[_0x280248(0x1d0)](([_0x59ff12,_0x48dc7d])=>{const _0x29f458=_0x280248;_0xb274ab['set'](_0x59ff12,this[_0x29f458(0x1ee)](_0x59ff12,_0x48dc7d,_0x1b3566));}),_0xb274ab;}}class OperationList{['_operations'];constructor(_0x2329e7,_0x5b761d){const _0x285e72=a0_0xba2960,_0x55ce60=new OperationFactory();this[_0x285e72(0x29f)]=_0x55ce60['createAll'](_0x2329e7,_0x5b761d);}[a0_0xba2960(0x325)](_0x1a5903){const _0x43b4aa=a0_0xba2960;return this[_0x43b4aa(0x29f)][_0x43b4aa(0x325)](_0x1a5903);}[a0_0xba2960(0x235)](_0xa9d4d){const _0x5eeed5=a0_0xba2960;return this[_0x5eeed5(0x29f)]['has'](_0xa9d4d);}[a0_0xba2960(0x241)](){const _0x400c9a=a0_0xba2960;return this[_0x400c9a(0x29f)][_0x400c9a(0x241)];}[a0_0xba2960(0x343)](){const _0x2317ab=a0_0xba2960;return Array[_0x2317ab(0x2f0)](this[_0x2317ab(0x29f)][_0x2317ab(0x2d7)]());}[a0_0xba2960(0x2ad)](){const _0x562c79=a0_0xba2960;return Array[_0x562c79(0x2f0)](this['_operations'][_0x562c79(0x2cc)]());}[a0_0xba2960(0x28d)](){const _0x4282c2=a0_0xba2960;return this[_0x4282c2(0x2ad)]()[_0x4282c2(0x1e5)](_0x4e5db0=>_0x4e5db0[_0x4282c2(0x1eb)]());}[a0_0xba2960(0x2b9)](){const _0x5c64b0=a0_0xba2960;return this[_0x5c64b0(0x2ad)]()[_0x5c64b0(0x1e5)](_0x1f9839=>!_0x1f9839[_0x5c64b0(0x1eb)]());}[a0_0xba2960(0x201)](){const _0xdb4ed8=a0_0xba2960;return this[_0xdb4ed8(0x28d)]()[_0xdb4ed8(0x2de)](_0xb3cd12=>_0xb3cd12['getName']());}[a0_0xba2960(0x329)](){const _0x5d408f=a0_0xba2960;return this[_0x5d408f(0x2b9)]()[_0x5d408f(0x2de)](_0x3b5c0f=>_0x3b5c0f[_0x5d408f(0x32d)]());}['getByType'](_0x22954c){const _0x5a22a1=a0_0xba2960;return this[_0x5a22a1(0x2ad)]()[_0x5a22a1(0x1e5)](_0x17521d=>_0x17521d[_0x5a22a1(0x23f)]()===_0x22954c);}['filter'](_0x2b6a57){const _0x554672=a0_0xba2960;return this[_0x554672(0x2ad)]()['filter'](_0x2b6a57);}['getFiltered'](_0x38a85f={}){const _0x30b20d=a0_0xba2960;let _0x1c8cd1=this[_0x30b20d(0x2ad)]();!_0x38a85f[_0x30b20d(0x2ac)]&&(_0x1c8cd1=_0x1c8cd1[_0x30b20d(0x1e5)](_0x51a7f4=>_0x51a7f4[_0x30b20d(0x1eb)]()));if(_0x38a85f[_0x30b20d(0x20d)]!==![]){const _0x42e178=_0x1c8cd1[_0x30b20d(0x2de)](_0x199ac5=>({'name':_0x199ac5[_0x30b20d(0x32d)](),'operation':_0x199ac5})),_0x500c78=filterApiOperations(_0x42e178);_0x1c8cd1=_0x500c78[_0x30b20d(0x2de)](_0x564c9e=>_0x564c9e[_0x30b20d(0x2bd)]);}return _0x38a85f[_0x30b20d(0x1be)]&&(_0x1c8cd1=_0x1c8cd1[_0x30b20d(0x1e5)](_0x38a85f[_0x30b20d(0x1be)])),_0x1c8cd1;}[a0_0xba2960(0x272)](){const _0x1f7c30=a0_0xba2960,_0x158708=this['getEnabled']();return{'total':this['size'](),'enabled':_0x158708[_0x1f7c30(0x322)],'disabled':this[_0x1f7c30(0x241)]()-_0x158708['length'],'byType':this[_0x1f7c30(0x337)](_0x158708),'byMethod':this[_0x1f7c30(0x28a)](_0x158708)};}['getCountByType'](_0x30b425){const _0x558899=a0_0xba2960,_0xdff75={};return _0x30b425[_0x558899(0x1d0)](_0x2c22ff=>{const _0x4b988a=_0x558899,_0x3edf76=_0x2c22ff[_0x4b988a(0x23f)]();_0x3edf76&&(_0xdff75[_0x3edf76]=(_0xdff75[_0x3edf76]||0x0)+0x1);}),_0xdff75;}[a0_0xba2960(0x28a)](_0x167bb8){const _0x194db8=a0_0xba2960,_0x3a32ef={};return _0x167bb8[_0x194db8(0x1d0)](_0xded016=>{const _0x5814b4=_0x194db8,_0x55efc5=_0xded016[_0x5814b4(0x275)]();_0x55efc5&&(_0x3a32ef[_0x55efc5]=(_0x3a32ef[_0x55efc5]||0x0)+0x1);}),_0x3a32ef;}[Symbol['iterator']](){const _0x26d0c8=a0_0xba2960;return this[_0x26d0c8(0x29f)][_0x26d0c8(0x2cc)]();}[a0_0xba2960(0x304)](){const _0x886ee3=a0_0xba2960,_0x30926d=this[_0x886ee3(0x272)]();return'OperationList('+_0x30926d[_0x886ee3(0x333)]+'/'+_0x30926d[_0x886ee3(0x288)]+_0x886ee3(0x315);}}class DrivenDataDetail extends DatasetItem{[a0_0xba2960(0x233)];constructor(_0x5672a7){const _0x46adb5=a0_0xba2960;super({..._0x5672a7,'id':_0x5672a7[_0x46adb5(0x320)],'datasetCode':_0x5672a7[_0x46adb5(0x2a7)]});}get[a0_0xba2960(0x265)](){const _0x333832=a0_0xba2960;return this[_0x333832(0x1e3)]['source'];}['getSource'](){const _0x514ede=a0_0xba2960;return this[_0x514ede(0x265)];}get['version'](){const _0x2d99a5=a0_0xba2960;return this[_0x2d99a5(0x1e3)]['version'];}[a0_0xba2960(0x308)](){return this['_raw']['properties']||[];}['getFieldCount'](){const _0x7be4a0=a0_0xba2960;return this[_0x7be4a0(0x308)]()['length'];}[a0_0xba2960(0x307)](_0x279ec5){const _0x1fd949=a0_0xba2960;if(typeof _0x279ec5!==_0x1fd949(0x1d1)){console[_0x1fd949(0x1c8)](_0x1fd949(0x321),_0x279ec5);return;}return this[_0x1fd949(0x308)]()[_0x1fd949(0x32f)](_0x4335ad=>_0x4335ad&&_0x4335ad[_0x1fd949(0x316)]===_0x279ec5);}[a0_0xba2960(0x341)](_0x4e78c7){const _0x57b696=a0_0xba2960;return Boolean(this[_0x57b696(0x307)](_0x4e78c7));}[a0_0xba2960(0x2a6)](_0x52e71b){const _0x591201=a0_0xba2960;if(!_0x52e71b||typeof _0x52e71b!=='object')return console['warn'](_0x591201(0x300),_0x52e71b),{};if(!_0x52e71b[_0x591201(0x2c5)])return{};try{const _0x4b820a=typeof _0x52e71b['extend']==='string'?JSON[_0x591201(0x2c7)](_0x52e71b['extend']):_0x52e71b[_0x591201(0x2c5)];if(typeof _0x4b820a!==_0x591201(0x338)||_0x4b820a===null)return console[_0x591201(0x1c8)](_0x591201(0x1df),_0x4b820a),{};return _0x4b820a;}catch(_0x14527d){return console[_0x591201(0x1c8)](_0x591201(0x30f)+_0x52e71b['code']+_0x591201(0x260),_0x14527d),{};}}[a0_0xba2960(0x200)](_0x475404){const _0x5351c5=a0_0xba2960;if(!_0x475404||typeof _0x475404!==_0x5351c5(0x338))return![];const _0x12c2d0=this[_0x5351c5(0x2a6)](_0x475404);return Boolean(_0x12c2d0[_0x5351c5(0x1bc)]);}[a0_0xba2960(0x1e1)](_0x57008b){const _0x36a892=a0_0xba2960;if(!_0x57008b||typeof _0x57008b!==_0x36a892(0x338))return![];const _0x5d6a83=this['parseFieldExtend'](_0x57008b);return Boolean(_0x5d6a83[_0x36a892(0x211)]);}['isRequiredField'](_0x42ed24){const _0x1e7814=a0_0xba2960;if(!_0x42ed24||typeof _0x42ed24!=='object')return![];const _0x1670a7=this[_0x1e7814(0x2a6)](_0x42ed24);return Boolean(_0x1670a7[_0x1e7814(0x277)]);}[a0_0xba2960(0x20e)](){const _0x146f2c=a0_0xba2960;return this[_0x146f2c(0x308)]()[_0x146f2c(0x1e5)](_0x1b2b1e=>this['isPrimaryKeyField'](_0x1b2b1e));}[a0_0xba2960(0x34c)](){const _0x3ef8d2=a0_0xba2960;return this[_0x3ef8d2(0x308)]()[_0x3ef8d2(0x1e5)](_0x181b94=>this[_0x3ef8d2(0x1e1)](_0x181b94));}['getBusinessFields'](){const _0x1d465c=a0_0xba2960;return this['getFields']()[_0x1d465c(0x1e5)](_0x2cc2fa=>!this[_0x1d465c(0x1e1)](_0x2cc2fa));}[a0_0xba2960(0x1e7)](){const _0x5d5710=a0_0xba2960;return this[_0x5d5710(0x308)]()['filter'](_0x1b6401=>this[_0x5d5710(0x2b1)](_0x1b6401));}[a0_0xba2960(0x1c1)](){const _0x14d57e=a0_0xba2960,_0xd70bf2={};for(const _0x3fdc62 of this[_0x14d57e(0x308)]()){!_0xd70bf2[_0x3fdc62[_0x14d57e(0x2f8)]]&&(_0xd70bf2[_0x3fdc62[_0x14d57e(0x2f8)]]=[]),_0xd70bf2[_0x3fdc62[_0x14d57e(0x2f8)]]['push'](_0x3fdc62);}return _0xd70bf2;}[a0_0xba2960(0x301)](_0x205aa7){const _0x3d0f45=a0_0xba2960;if(!_0x205aa7||typeof _0x205aa7!==_0x3d0f45(0x338))return![];const _0x1987a9=[_0x3d0f45(0x2e7),_0x3d0f45(0x26e),_0x3d0f45(0x253)];return _0x1987a9[_0x3d0f45(0x262)](_0x205aa7[_0x3d0f45(0x2f8)]);}[a0_0xba2960(0x30e)](_0x5a1a94){const _0x5a098b=a0_0xba2960;if(!_0x5a1a94||typeof _0x5a1a94!==_0x5a098b(0x338))return![];return _0x5a1a94[_0x5a098b(0x2f8)]===_0x5a098b(0x253);}[a0_0xba2960(0x1e6)](_0x399d5b){const _0x43b59d=a0_0xba2960;if(!this['isEnumField'](_0x399d5b))return[];const _0x4be7ff=this['parseFieldExtend'](_0x399d5b);if(Array[_0x43b59d(0x1c3)](_0x4be7ff['options'])&&_0x4be7ff[_0x43b59d(0x25e)]['length']>0x0)return _0x4be7ff['options'];return[];}[a0_0xba2960(0x252)](_0x15257f){const _0x4ca4be=a0_0xba2960;if(!this[_0x4ca4be(0x301)](_0x15257f))return;const _0x12c27b=this[_0x4ca4be(0x2a6)](_0x15257f);return _0x12c27b['selectItemsSource'];}[a0_0xba2960(0x2d3)](_0x228081){const _0x3dfd15=a0_0xba2960;if(!this[_0x3dfd15(0x301)](_0x228081))return;const _0x3bd483=this[_0x3dfd15(0x1e6)](_0x228081),_0x2df555=this[_0x3dfd15(0x252)](_0x228081),_0x6cf949=[],_0x54ae1c={},_0xc69827=_0x4f8fd9=>{_0x4f8fd9['forEach'](_0x51b209=>{const _0x2fa1c9=a0_0x35b1;_0x6cf949['push'](_0x51b209[_0x2fa1c9(0x25c)]),_0x54ae1c[String(_0x51b209['value'])]=_0x51b209[_0x2fa1c9(0x313)],_0x51b209[_0x2fa1c9(0x1db)]&&_0x51b209[_0x2fa1c9(0x1db)][_0x2fa1c9(0x322)]>0x0&&_0xc69827(_0x51b209[_0x2fa1c9(0x1db)]);});};return _0x3bd483[_0x3dfd15(0x322)]>0x0&&_0xc69827(_0x3bd483),{'code':_0x228081['code'],'name':_0x228081[_0x3dfd15(0x1ed)],'type':_0x228081['type'],'multiple':this[_0x3dfd15(0x30e)](_0x228081),'options':_0x3bd483[_0x3dfd15(0x322)]>0x0?_0x3bd483:undefined,'selectItemsSource':_0x2df555,'values':_0x6cf949,'valueLabels':_0x54ae1c};}['getEnumFields'](){const _0x15b428=a0_0xba2960;return this[_0x15b428(0x308)]()[_0x15b428(0x1e5)](_0x5b1644=>this[_0x15b428(0x301)](_0x5b1644));}[a0_0xba2960(0x1cb)](){const _0x4b358e=a0_0xba2960,_0x42d74c={};return this[_0x4b358e(0x28f)]()[_0x4b358e(0x1d0)](_0x2836ef=>{const _0xd3518a=_0x4b358e,_0x5e0b56=this['getEnumFieldMeta'](_0x2836ef);_0x5e0b56&&(_0x42d74c[_0x2836ef[_0xd3518a(0x316)]]=_0x5e0b56);}),_0x42d74c;}['validateEnumValue'](_0x53cc5e,_0x3a7813){const _0xc04049=a0_0xba2960,_0x759fd4=this[_0xc04049(0x2d3)](_0x53cc5e);if(!_0x759fd4)return!![];if(_0x759fd4[_0xc04049(0x26a)]&&!_0x759fd4[_0xc04049(0x25e)])return!![];if(_0x759fd4[_0xc04049(0x33c)]&&Array[_0xc04049(0x1c3)](_0x3a7813))return _0x3a7813[_0xc04049(0x314)](_0xc526f1=>_0x759fd4[_0xc04049(0x2cc)][_0xc04049(0x262)](_0xc526f1));return _0x759fd4[_0xc04049(0x2cc)][_0xc04049(0x262)](_0x3a7813);}['getOperationList'](){const _0x474066=a0_0xba2960;return!this[_0x474066(0x233)]&&(this['_operationList']=new OperationList(this[_0x474066(0x1e3)]['operations']||{},{'fields':this[_0x474066(0x308)](),'pkField':this['_raw'][_0x474066(0x1fd)]?.[_0x474066(0x225)],'dbtableConfig':this[_0x474066(0x1e3)]['dbtableConfig']})),this[_0x474066(0x233)];}[a0_0xba2960(0x1f9)](){const _0x20ea9c=a0_0xba2960;return this[_0x20ea9c(0x230)]()[_0x20ea9c(0x2ad)]();}['getOperationCount'](){const _0x56bd92=a0_0xba2960;return this[_0x56bd92(0x230)]()[_0x56bd92(0x241)]();}[a0_0xba2960(0x29d)](_0x2fd315){const _0x54a1ad=a0_0xba2960;if(typeof _0x2fd315!=='string'){console['warn'](_0x54a1ad(0x212),_0x2fd315);return;}return this[_0x54a1ad(0x230)]()[_0x54a1ad(0x325)](_0x2fd315);}['hasOperation'](_0x267d4b){const _0x59df0e=a0_0xba2960;if(typeof _0x267d4b!==_0x59df0e(0x1d1))return![];return this['getOperationList']()[_0x59df0e(0x235)](_0x267d4b);}[a0_0xba2960(0x335)](_0x180522){const _0x21a274=a0_0xba2960;if(typeof _0x180522!==_0x21a274(0x1d1))return![];const _0x4b99c3=this[_0x21a274(0x29d)](_0x180522);return _0x4b99c3?.[_0x21a274(0x1eb)]()||![];}['getEnabledOperations'](){const _0x1197c1=a0_0xba2960;return this[_0x1197c1(0x230)]()['getEnabledNames']();}[a0_0xba2960(0x238)](){const _0xdbb284=a0_0xba2960;return this[_0xdbb284(0x230)]()['getDisabledNames']();}['getEnabledOperationInstances'](){const _0x2cfeaa=a0_0xba2960;return this[_0x2cfeaa(0x230)]()['getEnabled']();}['getDisabledOperationInstances'](){const _0x124ef3=a0_0xba2960;return this[_0x124ef3(0x230)]()[_0x124ef3(0x2b9)]();}[a0_0xba2960(0x272)](){const _0x35baa2=a0_0xba2960;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this[_0x35baa2(0x34c)]()[_0x35baa2(0x322)],'businessFieldCount':this[_0x35baa2(0x284)]()[_0x35baa2(0x322)],'requiredFieldCount':this[_0x35baa2(0x1e7)]()[_0x35baa2(0x322)],'primaryKeyCount':this[_0x35baa2(0x20e)]()['length'],'operationCount':this[_0x35baa2(0x1c4)](),'enabledOperationCount':this['getEnabledOperations']()['length']};}[a0_0xba2960(0x1f5)](){const _0x228533=a0_0xba2960;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x228533(0x31a)]()});}[a0_0xba2960(0x304)](){const _0x3f4c4b=a0_0xba2960;return _0x3f4c4b(0x1da)+this[_0x3f4c4b(0x1ed)]+',\x20'+this[_0x3f4c4b(0x2d1)]+',\x20'+this[_0x3f4c4b(0x1c6)]()+'\x20fields,\x20'+this['getOperationCount']()+'\x20operations)';}}class DatasetGroup{[a0_0xba2960(0x2f4)];constructor(_0x5a7f13){const _0x47c4dd=a0_0xba2960;this[_0x47c4dd(0x2f4)]=Array[_0x47c4dd(0x1c3)](_0x5a7f13)?[..._0x5a7f13]:[_0x5a7f13],this['items'][_0x47c4dd(0x34a)]((_0x3af19a,_0x56b45e)=>{const _0x1a1b87=Number(_0x3af19a['id'])||0x0,_0x39395f=Number(_0x56b45e['id'])||0x0;return _0x39395f-_0x1a1b87;});}[a0_0xba2960(0x2c2)](){const _0x21813a=a0_0xba2960;return this[_0x21813a(0x2f4)][_0x21813a(0x322)]>0x1;}['getLatest'](){const _0x50b690=a0_0xba2960;return this[_0x50b690(0x2f4)][0x0];}[a0_0xba2960(0x291)](){const _0x1b2a48=a0_0xba2960;return this[_0x1b2a48(0x2f4)][this['items'][_0x1b2a48(0x322)]-0x1];}[a0_0xba2960(0x32b)](){const _0x4532ed=a0_0xba2960;return[...this[_0x4532ed(0x2f4)]];}['getCount'](){const _0x44a1ff=a0_0xba2960;return this['items'][_0x44a1ff(0x322)];}['getAt'](_0x44aaf1){const _0x73a270=a0_0xba2960;return this[_0x73a270(0x2f4)][_0x44aaf1];}[a0_0xba2960(0x2b8)](_0xfe51bd){const _0x2898a2=a0_0xba2960;return this[_0x2898a2(0x2f4)][_0x2898a2(0x32f)](_0x2230af=>_0x2230af['id']===_0xfe51bd);}[a0_0xba2960(0x34e)](_0xbbd3fa){const _0x3cdd8f=a0_0xba2960;return this['items'][_0x3cdd8f(0x32f)](_0x3efe33=>_0x3efe33[_0x3cdd8f(0x2d1)]===_0xbbd3fa);}[a0_0xba2960(0x1c9)](){const _0x26deb6=a0_0xba2960;return this[_0x26deb6(0x2f4)][_0x26deb6(0x2de)](_0x262266=>_0x262266['id'])[_0x26deb6(0x1e5)](_0xf560a3=>_0xf560a3!==undefined);}[a0_0xba2960(0x1e2)](){const _0x426fb0=a0_0xba2960;return this[_0x426fb0(0x2f4)][_0x426fb0(0x2de)](_0x293b23=>_0x293b23[_0x426fb0(0x2d1)]);}['toString'](){const _0x2c0a84=a0_0xba2960;if(this[_0x2c0a84(0x2c2)]())return _0x2c0a84(0x346)+this[_0x2c0a84(0x2f4)][_0x2c0a84(0x322)]+_0x2c0a84(0x1f3)+this[_0x2c0a84(0x274)]()['name']+')';return _0x2c0a84(0x346)+this[_0x2c0a84(0x2f4)][0x0][_0x2c0a84(0x1ed)]+')';}}class DatasetGroupMap{[a0_0xba2960(0x226)];constructor(_0x426da){const _0xd4d375=a0_0xba2960;this[_0xd4d375(0x226)]=new Map();for(const _0x4934f6 of _0x426da){const _0x26867d=getTableKey(_0x4934f6);if(!this[_0xd4d375(0x226)]['has'](_0x26867d))this[_0xd4d375(0x226)][_0xd4d375(0x27d)](_0x26867d,new DatasetGroup(_0x4934f6));else{const _0x1139fa=this['groups'][_0xd4d375(0x325)](_0x26867d),_0x295b4e=[..._0x1139fa[_0xd4d375(0x32b)](),_0x4934f6];this[_0xd4d375(0x226)][_0xd4d375(0x27d)](_0x26867d,new DatasetGroup(_0x295b4e));}}}[a0_0xba2960(0x325)](_0x53bd81){const _0x517529=a0_0xba2960;return this[_0x517529(0x226)][_0x517529(0x325)](_0x53bd81);}[a0_0xba2960(0x235)](_0xdb4917){const _0x394a07=a0_0xba2960;return this[_0x394a07(0x226)][_0x394a07(0x235)](_0xdb4917);}get[a0_0xba2960(0x241)](){const _0x6410cc=a0_0xba2960;return this[_0x6410cc(0x226)]['size'];}[a0_0xba2960(0x2d7)](){const _0x233495=a0_0xba2960;return this['groups'][_0x233495(0x2d7)]();}[a0_0xba2960(0x2cc)](){const _0x4ee023=a0_0xba2960;return this[_0x4ee023(0x226)]['values']();}['entries'](){const _0x49f00a=a0_0xba2960;return this[_0x49f00a(0x226)][_0x49f00a(0x299)]();}[Symbol['iterator']](){const _0x5d1383=a0_0xba2960;return this[_0x5d1383(0x226)][_0x5d1383(0x299)]();}[a0_0xba2960(0x1d0)](_0x195e98){const _0x447ef2=a0_0xba2960;this[_0x447ef2(0x226)][_0x447ef2(0x1d0)]((_0x3b10ac,_0x31f0f4)=>_0x195e98(_0x3b10ac,_0x31f0f4,this));}[a0_0xba2960(0x24a)](){const _0x17369f=a0_0xba2960,_0x36d25b=new Map();for(const [_0x45c5b4,_0x163dbc]of this[_0x17369f(0x226)]){_0x163dbc[_0x17369f(0x2c2)]()&&_0x36d25b[_0x17369f(0x27d)](_0x45c5b4,_0x163dbc);}return _0x36d25b;}[a0_0xba2960(0x2af)](){const _0x174470=a0_0xba2960;for(const _0x1564a of this[_0x174470(0x226)]['values']()){if(_0x1564a['hasConflict']())return!![];}return![];}[a0_0xba2960(0x1fb)](){const _0x185b28=a0_0xba2960;let _0x39a575=0x0,_0x4c5dc6=0x0;for(const _0x1b9fb5 of this[_0x185b28(0x226)][_0x185b28(0x2cc)]()){_0x1b9fb5[_0x185b28(0x2c2)]()&&(_0x39a575++,_0x4c5dc6+=_0x1b9fb5[_0x185b28(0x2ce)]());}return{'conflictGroupCount':_0x39a575,'conflictItemCount':_0x4c5dc6,'totalGroups':this[_0x185b28(0x226)][_0x185b28(0x241)]};}[a0_0xba2960(0x2e1)](){const _0x2b8545=a0_0xba2960,_0x3c3bfd=[];for(const _0x3eaa31 of this[_0x2b8545(0x226)][_0x2b8545(0x2cc)]()){_0x3c3bfd[_0x2b8545(0x344)](..._0x3eaa31['getAll']());}return _0x3c3bfd;}[a0_0xba2960(0x297)](){const _0x4550e1=a0_0xba2960,_0x1726a5=[];for(const _0x36ecbd of this['groups'][_0x4550e1(0x2cc)]()){_0x1726a5[_0x4550e1(0x344)](_0x36ecbd['getLatest']());}return _0x1726a5;}[a0_0xba2960(0x274)](_0x3c612d){const _0x365df2=a0_0xba2960;return this[_0x365df2(0x226)][_0x365df2(0x325)](_0x3c612d)?.[_0x365df2(0x274)]();}[a0_0xba2960(0x32b)](_0x27c15e){const _0x119ab7=a0_0xba2960;return this[_0x119ab7(0x226)][_0x119ab7(0x325)](_0x27c15e)?.[_0x119ab7(0x32b)]()||[];}[a0_0xba2960(0x1bd)](){const _0x10c330=a0_0xba2960,_0x5e211a=this[_0x10c330(0x297)](),_0x2e867a=_0x5e211a['map'](_0x2c9e0b=>_0x2c9e0b[_0x10c330(0x269)]());return generateDatasetsConfig(_0x2e867a,{'enableDeduplication':![]});}['toFullConfig'](){const _0x3b838a=a0_0xba2960,_0xd194a4=this[_0x3b838a(0x2e1)](),_0x16a056=_0xd194a4[_0x3b838a(0x2de)](_0xe0df56=>_0xe0df56[_0x3b838a(0x269)]());return generateFullDatasetsConfig(_0x16a056);}[a0_0xba2960(0x1f1)](){const _0xe7f8e9=a0_0xba2960,_0x175f6d={};for(const [_0x2271fc,_0x14e4d7]of this[_0xe7f8e9(0x226)]){_0x175f6d[_0x2271fc]=_0x14e4d7;}return _0x175f6d;}[a0_0xba2960(0x269)](){const _0x26d3dd=a0_0xba2960,_0x10be90={};for(const [_0x297a0a,_0x23c74b]of this['groups']){_0x10be90[_0x297a0a]=_0x23c74b[_0x26d3dd(0x32b)]()[_0x26d3dd(0x2de)](_0x58614c=>_0x58614c[_0x26d3dd(0x269)]());}return _0x10be90;}[a0_0xba2960(0x304)](){const _0x4c2612=a0_0xba2960;return _0x4c2612(0x20f)+this[_0x4c2612(0x226)]['size']+_0x4c2612(0x2a4)+(this[_0x4c2612(0x2af)]()?_0x4c2612(0x2a5):_0x4c2612(0x30a))+')';}}class DatasetList{[a0_0xba2960(0x2dc)];constructor(_0x1a0972){const _0x2626f7=a0_0xba2960;let _0x83e885;if(Array[_0x2626f7(0x1c3)](_0x1a0972))_0x83e885=_0x1a0972;else{if(_0x2626f7(0x240)in _0x1a0972){if(!_0x1a0972['success']||!_0x1a0972[_0x2626f7(0x278)]?.[_0x2626f7(0x213)])throw new Error('Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData');_0x83e885=_0x1a0972[_0x2626f7(0x278)]['tableData'][_0x2626f7(0x2de)](_0x45c4dd=>({..._0x45c4dd,'datasetCode':_0x45c4dd['code']||_0x45c4dd[_0x2626f7(0x2d1)]}));}else{if(_0x2626f7(0x213)in _0x1a0972){if(!Array['isArray'](_0x1a0972[_0x2626f7(0x213)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0x83e885=_0x1a0972['tableData']['map'](_0x56ec75=>({..._0x56ec75,'datasetCode':_0x56ec75['code']||_0x56ec75['datasetCode']}));}else throw new Error(_0x2626f7(0x23c));}}const _0x3074b9=_0x83e885[_0x2626f7(0x2de)](_0x4c3f8a=>new DatasetItem(_0x4c3f8a));this['_datasetMap']=new DatasetGroupMap(_0x3074b9);}get[a0_0xba2960(0x327)](){const _0x177bcd=a0_0xba2960;return this[_0x177bcd(0x2dc)];}[a0_0xba2960(0x22a)](){const _0x183f7e=a0_0xba2960;return this[_0x183f7e(0x2dc)][_0x183f7e(0x2e1)]();}[a0_0xba2960(0x2ce)](){const _0xff6c00=a0_0xba2960;return this[_0xff6c00(0x22a)]()[_0xff6c00(0x322)];}[a0_0xba2960(0x2a9)](){return this['_datasetMap']['size']===0x0;}[a0_0xba2960(0x2d0)](_0x227e84){const _0x5c7b60=a0_0xba2960;return this[_0x5c7b60(0x22a)]()[_0x227e84];}['getFirst'](){const _0x3741ba=a0_0xba2960;return this[_0x3741ba(0x22a)]()[0x0];}['getLast'](){const _0x282e5c=a0_0xba2960,_0x2dced5=this[_0x282e5c(0x22a)]();return _0x2dced5[_0x2dced5['length']-0x1];}['findByCode'](_0x367350){const _0x3589d0=a0_0xba2960;for(const _0x3d444a of this[_0x3589d0(0x2dc)][_0x3589d0(0x2cc)]()){const _0x15545e=_0x3d444a[_0x3589d0(0x34e)](_0x367350);if(_0x15545e)return _0x15545e;}return;}[a0_0xba2960(0x23d)](_0xdb2d8){const _0x5f54f9=a0_0xba2960;return this[_0x5f54f9(0x22a)]()['find'](_0xfdc0bf=>_0xfdc0bf[_0x5f54f9(0x1ed)]===_0xdb2d8);}[a0_0xba2960(0x2b8)](_0x261659){const _0x3b35c3=a0_0xba2960;for(const _0xaf80cf of this[_0x3b35c3(0x2dc)][_0x3b35c3(0x2cc)]()){const _0x476f20=_0xaf80cf[_0x3b35c3(0x2b8)](_0x261659);if(_0x476f20)return _0x476f20;}return;}[a0_0xba2960(0x1d7)](_0x41bbf6){const _0x5e6588=a0_0xba2960,_0x3b5d9a=getTableKey(_0x41bbf6);return this['_datasetMap'][_0x5e6588(0x274)](_0x3b5d9a);}[a0_0xba2960(0x1e5)](_0x4a18fd){const _0x1e1162=a0_0xba2960,_0x453d8e=this[_0x1e1162(0x22a)]()[_0x1e1162(0x1e5)](_0x4a18fd);return new DatasetList(_0x453d8e[_0x1e1162(0x2de)](_0xed3f93=>_0xed3f93['toJSON']()));}[a0_0xba2960(0x27a)](_0xfc30aa){const _0x16d83a=a0_0xba2960;return this['getItems']()[_0x16d83a(0x1e5)](_0xfc30aa);}[a0_0xba2960(0x1d0)](_0x1d2e72){const _0xef950c=a0_0xba2960;this[_0xef950c(0x22a)]()['forEach'](_0x1d2e72);}[a0_0xba2960(0x2de)](_0x9e3f03){const _0x5ac995=a0_0xba2960;return this[_0x5ac995(0x22a)]()[_0x5ac995(0x2de)](_0x9e3f03);}[Symbol['iterator']](){const _0x1dd15b=a0_0xba2960;return this[_0x1dd15b(0x22a)]()[Symbol[_0x1dd15b(0x1de)]]();}[a0_0xba2960(0x31d)](){const _0x1b382c=a0_0xba2960;return this[_0x1b382c(0x22a)]()['filter'](_0x5e2732=>_0x5e2732[_0x1b382c(0x2e4)]());}['getRealTables'](){const _0x495888=a0_0xba2960;return this[_0x495888(0x22a)]()['filter'](_0x2a8911=>!_0x2a8911[_0x495888(0x2e4)]());}[a0_0xba2960(0x298)](){const _0x58e129=a0_0xba2960,_0x3b5a2e={};for(const _0xac518a of this[_0x58e129(0x2dc)]['values']()){const _0x31dcf4=_0xac518a['getLatest']()[_0x58e129(0x28c)]();_0x3b5a2e[_0x31dcf4]=_0xac518a['getAll']();}return _0x3b5a2e;}[a0_0xba2960(0x282)](){const _0x3d1e79=a0_0xba2960,_0x4e4a54={};for(const _0x3e3d65 of this[_0x3d1e79(0x2dc)][_0x3d1e79(0x24a)]()[_0x3d1e79(0x2cc)]()){const _0x4d21cc=_0x3e3d65[_0x3d1e79(0x274)]()['getTableName']();_0x4e4a54[_0x4d21cc]=_0x3e3d65['getAll']()[_0x3d1e79(0x2de)](_0x23c8bc=>_0x23c8bc[_0x3d1e79(0x269)]());}return{'hasConflicts':Object[_0x3d1e79(0x2d7)](_0x4e4a54)['length']>0x0,'conflicts':_0x4e4a54};}[a0_0xba2960(0x2af)](){const _0x33d18a=a0_0xba2960;return this[_0x33d18a(0x2dc)][_0x33d18a(0x2af)]();}[a0_0xba2960(0x1bb)](){const _0x3258b3=a0_0xba2960,_0x43b851=[];for(const _0x526b03 of this[_0x3258b3(0x2dc)][_0x3258b3(0x24a)]()[_0x3258b3(0x2cc)]()){_0x43b851['push'](..._0x526b03[_0x3258b3(0x32b)]());}return _0x43b851;}[a0_0xba2960(0x290)](_0x189485){const _0x19bd68=a0_0xba2960;if(!_0x189485||Object['keys'](_0x189485)[_0x19bd68(0x322)]===0x0)return this[_0x19bd68(0x327)][_0x19bd68(0x1bd)]();const _0x39a2ef=this['getItems']()[_0x19bd68(0x2de)](_0x939fc6=>_0x939fc6[_0x19bd68(0x269)]());return generateDatasetsConfig(_0x39a2ef,_0x189485);}[a0_0xba2960(0x330)](_0x36afce){const _0x460bcc=this['generateConfig'](_0x36afce);return datasetsConfigToArray(_0x460bcc);}['toConfigArray'](){const _0x381abb=a0_0xba2960;return this['getItems']()[_0x381abb(0x2de)](_0x3ae370=>_0x3ae370[_0x381abb(0x1bd)]());}[a0_0xba2960(0x272)](){const _0xc3fd73=a0_0xba2960;return{'total':this[_0xc3fd73(0x2ce)](),'virtualTables':this['getVirtualTables']()[_0xc3fd73(0x322)],'realTables':this['getRealTables']()[_0xc3fd73(0x322)],'hasConflicts':this[_0xc3fd73(0x2af)](),'conflictCount':this['getConflictingItems']()['length']};}[a0_0xba2960(0x2ad)](){const _0x171e77=a0_0xba2960;return this[_0x171e77(0x22a)]()[_0x171e77(0x2de)](_0x59a3a6=>_0x59a3a6[_0x171e77(0x269)]());}['toJSON'](){const _0x42b958=a0_0xba2960;return this[_0x42b958(0x2ad)]();}[a0_0xba2960(0x304)](){const _0x4a6274=a0_0xba2960;return _0x4a6274(0x289)+this[_0x4a6274(0x2ce)]()+_0x4a6274(0x311)+this[_0x4a6274(0x2dc)][_0x4a6274(0x241)]+_0x4a6274(0x20c);}static[a0_0xba2960(0x239)](_0x5bf76e){return new DatasetList(_0x5bf76e);}static[a0_0xba2960(0x2cb)](_0x505184){return new DatasetList(_0x505184);}static[a0_0xba2960(0x1c0)](){return new DatasetList([]);}}function operationToAnalysis(_0x340d0c){const _0x5363e5=a0_0xba2960;return{'name':_0x340d0c[_0x5363e5(0x32d)](),'displayName':_0x340d0c[_0x5363e5(0x332)](),'type':_0x340d0c[_0x5363e5(0x23f)](),'method':_0x340d0c['getMethod'](),'path':_0x340d0c[_0x5363e5(0x20b)](),'fullUrl':_0x340d0c['getFullUrl'](),'requestFields':_0x340d0c[_0x5363e5(0x255)](),'requestParams':_0x340d0c[_0x5363e5(0x1c5)](),'responseSchema':_0x340d0c[_0x5363e5(0x32c)](),'requestExample':_0x340d0c['generateRequestExample'](),'responseExample':_0x340d0c[_0x5363e5(0x1cc)](),'enabled':_0x340d0c[_0x5363e5(0x1eb)]()};}function operationsToAnalyses(_0x2890f1){const _0x54a3e2=a0_0xba2960;return _0x2890f1[_0x54a3e2(0x2de)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0xba2960(0x221)];[a0_0xba2960(0x317)](_0x10439d=![]){const _0x424853=a0_0xba2960;if(!_0x10439d&&this[_0x424853(0x221)])return this['_operationAnalyses'];const _0x3eebbe=this['getOperations']();return this['_operationAnalyses']=operationsToAnalyses(_0x3eebbe),this[_0x424853(0x221)];}[a0_0xba2960(0x2c4)](){const _0x1be8af=a0_0xba2960;return this[_0x1be8af(0x202)]({'includeDisabled':![],'filterBlacklist':!![]});}['getFilteredOperationAnalyses'](_0x523d70={}){const _0x374f1e=a0_0xba2960;let _0x54c372=this['getOperationAnalyses']();return!_0x523d70[_0x374f1e(0x2ac)]&&(_0x54c372=_0x54c372[_0x374f1e(0x1e5)](_0x372a98=>_0x372a98[_0x374f1e(0x333)])),_0x523d70[_0x374f1e(0x20d)]!==![]&&(_0x54c372=filterApiOperations(_0x54c372)),_0x523d70['customFilter']&&(_0x54c372=_0x54c372[_0x374f1e(0x1e5)](_0x523d70[_0x374f1e(0x1be)])),_0x54c372;}['getOperationAnalysis'](_0x56d293){const _0x6ff501=a0_0xba2960,_0x17e005=this['getOperationAnalyses']();return _0x17e005['find'](_0x5dd122=>_0x5dd122[_0x6ff501(0x1ed)]===_0x56d293);}[a0_0xba2960(0x24c)](_0xac6853){const _0xe3f24d=a0_0xba2960,_0x31e074=this[_0xe3f24d(0x317)]();return _0x31e074['filter'](_0x110dd1=>_0x110dd1[_0xe3f24d(0x2f8)]===_0xac6853);}[a0_0xba2960(0x32e)](_0x1a91d8){const _0x167dc9=a0_0xba2960,_0x4560d6=this[_0x167dc9(0x29d)](_0x1a91d8);if(!_0x4560d6)return[];const _0x2594a2=_0x4560d6['getRequestFields'](),_0x8863da=this[_0x167dc9(0x308)]();return _0x8863da[_0x167dc9(0x1e5)](_0x2a07eb=>_0x2594a2[_0x167dc9(0x262)](_0x2a07eb[_0x167dc9(0x316)]));}['getOperationDocMeta'](_0x23071c,_0x1b96fd){const _0x3ad754=a0_0xba2960,_0x3bd3db=this[_0x3ad754(0x2a1)](_0x23071c);if(!_0x3bd3db)return null;const _0x28a73d=this[_0x3ad754(0x29d)](_0x3bd3db[_0x3ad754(0x1ed)]);if(!_0x28a73d)throw new Error(_0x3ad754(0x29c)+_0x3bd3db[_0x3ad754(0x1ed)]);const _0x2130fe=this[_0x3ad754(0x2d8)](),_0x2a04ea=this[_0x3ad754(0x28c)](),_0x244d39=_0x28a73d[_0x3ad754(0x2a0)](_0x2130fe,{'useFullExample':_0x1b96fd?.['useFullExample']}),_0x45a4c6=_0x28a73d[_0x3ad754(0x280)](_0x2130fe);return{'operation':_0x3bd3db,'operationInstance':_0x28a73d,'basicInfo':{'name':_0x3bd3db[_0x3ad754(0x1ed)],'displayName':_0x3bd3db['displayName'],'method':_0x3bd3db[_0x3ad754(0x2c3)],'path':_0x3bd3db[_0x3ad754(0x34b)],'fullUrl':_0x3bd3db[_0x3ad754(0x26b)],'enabled':_0x3bd3db[_0x3ad754(0x333)]},'sdkCall':{'datasetCode':this[_0x3ad754(0x2d1)],'modelName':_0x2130fe,'tableName':_0x2a04ea,'operationName':_0x3bd3db['name'],'params':_0x3bd3db[_0x3ad754(0x276)],'code':_0x244d39},'usageExample':_0x45a4c6};}[a0_0xba2960(0x25b)](_0x36ecdf={}){const _0x2b95ad=a0_0xba2960,_0x337cda=this[_0x2b95ad(0x202)](_0x36ecdf),_0x298536=this[_0x2b95ad(0x272)](),_0x4a0334={'name':this[_0x2b95ad(0x1ed)],'code':this['datasetCode'],'tableName':this[_0x2b95ad(0x28c)](),'tableKey':this['getTableKey'](),'source':this[_0x2b95ad(0x265)],'fieldCount':_0x298536[_0x2b95ad(0x210)],'businessFieldCount':_0x298536[_0x2b95ad(0x2c0)],'systemFieldCount':_0x298536[_0x2b95ad(0x2b7)],'operationCount':_0x298536[_0x2b95ad(0x2a8)],'enabledOperationCount':_0x298536['enabledOperationCount']},_0x4538ee=_0x337cda[_0x2b95ad(0x2de)](_0x36dee8=>this[_0x2b95ad(0x1b8)](_0x36dee8['name']))[_0x2b95ad(0x1e5)](_0x33a419=>_0x33a419!==null);return{'title':this[_0x2b95ad(0x1ed)]+_0x2b95ad(0x2ed),'datasetInfo':_0x4a0334,'operations':_0x4538ee};}['getSDKInitData'](_0x2df96a){const _0x5bc78a=a0_0xba2960;return{'appCode':_0x2df96a,'tableKey':this['getTableKey'](),'tableName':this[_0x5bc78a(0x28c)](),'datasetCode':this[_0x5bc78a(0x2d1)]};}[a0_0xba2960(0x323)](_0xe6a9c){const _0x40ec6f=a0_0xba2960,_0x3fa8f3=[{'index':_0x40ec6f(0x1ed),'label':_0x40ec6f(0x1e9)},{'index':_0x40ec6f(0x268),'label':_0x40ec6f(0x208)},{'index':_0x40ec6f(0x2c3),'label':'方法'},{'index':_0x40ec6f(0x1d6),'label':_0x40ec6f(0x2bf)},{'index':_0x40ec6f(0x34b),'label':_0x40ec6f(0x26c)},{'index':_0x40ec6f(0x1f2),'label':_0x40ec6f(0x2ec)}],_0x330f79=_0xe6a9c['map'](_0x5b433b=>{const _0x5cce2b=_0x40ec6f,{basicInfo:_0x54078a,sdkCall:_0x3a25fa}=_0x5b433b,_0x3e638a=_0x3a25fa[_0x5cce2b(0x316)][_0x5cce2b(0x1ea)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,'');return{'displayName':_0x54078a[_0x5cce2b(0x268)],'name':_0x54078a[_0x5cce2b(0x1ed)],'method':_0x54078a['method'],'path':_0x54078a[_0x5cce2b(0x34b)],'sdkCall':_0x3e638a,'sdkCallCode':_0x3a25fa[_0x5cce2b(0x316)]};});return{'tableColumns':_0x3fa8f3,'tableData':_0x330f79};}[a0_0xba2960(0x249)](_0x208734){const _0x5ed54f=a0_0xba2960,_0xf98f3e=this['getOperationAnalysis'](_0x208734);if(!_0xf98f3e)return null;return{'name':_0xf98f3e['name'],'displayName':_0xf98f3e[_0x5ed54f(0x268)],'type':_0xf98f3e[_0x5ed54f(0x2f8)],'method':_0xf98f3e[_0x5ed54f(0x2c3)],'path':_0xf98f3e[_0x5ed54f(0x34b)],'enabled':_0xf98f3e[_0x5ed54f(0x333)],'requestFieldCount':_0xf98f3e[_0x5ed54f(0x276)]['length'],'hasResponseSchema':_0xf98f3e['responseSchema']!==null};}[a0_0xba2960(0x2ef)](_0xce4e58={}){const _0x18cb62=a0_0xba2960,_0x19497f=this[_0x18cb62(0x202)](_0xce4e58);return{'datasetName':this[_0x18cb62(0x1ed)],'datasetCode':this['datasetCode'],'tableName':this[_0x18cb62(0x28c)](),'totalOperations':_0x19497f['length'],'operations':_0x19497f[_0x18cb62(0x2de)](_0x49a738=>({'name':_0x49a738['name'],'displayName':_0x49a738['displayName'],'type':_0x49a738['type'],'method':_0x49a738[_0x18cb62(0x2c3)],'path':_0x49a738[_0x18cb62(0x34b)],'requestFieldCount':_0x49a738[_0x18cb62(0x276)][_0x18cb62(0x322)]}))};}[a0_0xba2960(0x2ea)](_0x310c9a){const _0x519072=a0_0xba2960,_0x17cbd3={};return Object[_0x519072(0x299)](_0x310c9a)[_0x519072(0x1d0)](([_0xaf9361,_0x16fc3e])=>{Array['isArray'](_0x16fc3e)&&_0x16fc3e['length']>0x0?_0x17cbd3[_0xaf9361]=_0x16fc3e[0x0]:_0x17cbd3[_0xaf9361]=_0x16fc3e;}),_0x17cbd3;}[a0_0xba2960(0x2df)](){const _0x4cf9a=a0_0xba2960,_0x2c91b2=this[_0x4cf9a(0x317)](),_0x405dde=_0x2c91b2['filter'](_0x51ea2a=>_0x51ea2a[_0x4cf9a(0x333)]);return{'total':_0x2c91b2['length'],'enabled':_0x405dde[_0x4cf9a(0x322)],'disabled':_0x2c91b2[_0x4cf9a(0x322)]-_0x405dde[_0x4cf9a(0x322)],'byType':this[_0x4cf9a(0x312)](_0x405dde),'byMethod':this[_0x4cf9a(0x347)](_0x405dde)};}[a0_0xba2960(0x312)](_0x335c96){const _0x2948b8=a0_0xba2960,_0x47ed14={};return _0x335c96[_0x2948b8(0x1d0)](_0xd08e2f=>{const _0x19a616=_0x2948b8;_0xd08e2f[_0x19a616(0x2f8)]&&(_0x47ed14[_0xd08e2f['type']]=(_0x47ed14[_0xd08e2f[_0x19a616(0x2f8)]]||0x0)+0x1);}),_0x47ed14;}[a0_0xba2960(0x347)](_0x2d9cd8){const _0x17c030=a0_0xba2960,_0xf8f0ea={};return _0x2d9cd8[_0x17c030(0x1d0)](_0x23e14d=>{const _0x3ee9c4=_0x17c030;_0xf8f0ea[_0x23e14d[_0x3ee9c4(0x2c3)]]=(_0xf8f0ea[_0x23e14d['method']]||0x0)+0x1;}),_0xf8f0ea;}['supportsCRUD'](){const _0x328c52=a0_0xba2960,_0x523382=this['getEnabledOperationAnalyses'](),_0x3d1447=new Set(_0x523382[_0x328c52(0x2de)](_0x5cd238=>_0x5cd238[_0x328c52(0x2f8)])[_0x328c52(0x1e5)](Boolean));return _0x3d1447[_0x328c52(0x235)](_0x328c52(0x1ee))&&_0x3d1447[_0x328c52(0x235)](_0x328c52(0x218))&&_0x3d1447[_0x328c52(0x235)](_0x328c52(0x2d6))&&_0x3d1447['has']('delete');}['getMissingCRUDOperations'](){const _0x1ac15f=a0_0xba2960,_0x191905=this['getEnabledOperationAnalyses'](),_0x37357d=new Set(_0x191905[_0x1ac15f(0x2de)](_0x323bb3=>_0x323bb3['type'])['filter'](Boolean)),_0x4d2044=[_0x1ac15f(0x1ee),_0x1ac15f(0x218),_0x1ac15f(0x2d6),_0x1ac15f(0x32a)];return _0x4d2044[_0x1ac15f(0x1e5)](_0x3ff022=>!_0x37357d['has'](_0x3ff022));}[a0_0xba2960(0x2d9)](_0x37ded8,_0x3c584b,_0x73051){const _0x3a2c66=a0_0xba2960,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=!![]}=_0x73051||{},_0x6641a7=this[_0x3a2c66(0x1b8)](_0x37ded8,{'useFullExample':includeRequestExample});if(!_0x6641a7)return null;let _0x310de0='';return _0x310de0+=_0x3a2c66(0x324)+_0x6641a7['operation']['displayName']+_0x3a2c66(0x24f)+_0x6641a7[_0x3a2c66(0x2bd)][_0x3a2c66(0x1ed)]+_0x3a2c66(0x24d)+_0x6641a7[_0x3a2c66(0x1d6)]['code'],includeUsageExample&&_0x6641a7[_0x3a2c66(0x34d)]&&(_0x310de0+=_0x3a2c66(0x24e)+_0x6641a7[_0x3a2c66(0x34d)][_0x3a2c66(0x2eb)]+'\x0a\x0a'+_0x6641a7['usageExample'][_0x3a2c66(0x1d3)]),_0x310de0;}[a0_0xba2960(0x279)](_0x19343c){const _0x53f4e2=a0_0xba2960,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x19343c||{},_0x371ba1=this[_0x53f4e2(0x2c4)]();return _0x371ba1['map'](_0x5e5aff=>this[_0x53f4e2(0x2d9)](_0x5e5aff[_0x53f4e2(0x1ed)],this[_0x53f4e2(0x2d1)],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x53f4e2(0x31c)]('\x0a');}[a0_0xba2960(0x319)](_0x3b706f,_0x26d260='online',_0x16ab05=![]){const _0x552c33=a0_0xba2960,_0x119256=this['getTableKey'](),_0x5b69c2=this[_0x552c33(0x28c)](),_0x28cbe9=this[_0x552c33(0x2d1)],_0x4f0bce=_0x26d260===_0x552c33(0x292)?_0x552c33(0x22b)+_0x26d260+'\x27,':'',_0x87202a=_0x16ab05?_0x552c33(0x246):'';return _0x552c33(0x1ce)+_0x3b706f+'\x27,'+_0x87202a+_0x4f0bce+_0x552c33(0x310)+_0x119256+_0x552c33(0x236)+_0x5b69c2+_0x552c33(0x2f1)+_0x28cbe9+_0x552c33(0x295);}[a0_0xba2960(0x304)](){const _0x4e3e1e=a0_0xba2960,_0x14e2cc=this[_0x4e3e1e(0x2df)]();return'DrivenDataDetailPlus('+this[_0x4e3e1e(0x1ed)]+',\x20'+this[_0x4e3e1e(0x2d1)]+',\x20'+this['getFieldCount']()+_0x4e3e1e(0x2a2)+_0x14e2cc['enabled']+'/'+_0x14e2cc[_0x4e3e1e(0x288)]+_0x4e3e1e(0x315);}}var VERSION=a0_0xba2960(0x271);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,DrivenDataDetailPlus,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
@@ -36,5 +36,15 @@ export declare class GenericOperation extends Operation {
|
|
|
36
36
|
useFullExample?: boolean;
|
|
37
37
|
indent?: string;
|
|
38
38
|
}): string;
|
|
39
|
+
/**
|
|
40
|
+
* 生成所有请求示例列表
|
|
41
|
+
* 返回一个或多个请求示例,用于文档生成
|
|
42
|
+
* 默认返回单个示例,子类可以重写返回多个示例
|
|
43
|
+
*/
|
|
44
|
+
generateRequestAllExamples(): Array<{
|
|
45
|
+
title: string;
|
|
46
|
+
description?: string;
|
|
47
|
+
data: Record<string, unknown>;
|
|
48
|
+
}>;
|
|
39
49
|
}
|
|
40
50
|
//# sourceMappingURL=GenericOperation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/GenericOperation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C;;OAEG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI3C;;OAEG;IACH,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAInD;;OAEG;IACH,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IA0EjD;;OAEG;IACH,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAkBlD;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAsD1B;;;OAGG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GACA,MAAM;
|
|
1
|
+
{"version":3,"file":"GenericOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/GenericOperation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C;;OAEG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI3C;;OAEG;IACH,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAInD;;OAEG;IACH,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IA0EjD;;OAEG;IACH,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAkBlD;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAsD1B;;;OAGG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GACA,MAAM;IA2DT;;;;OAIG;IACH,0BAA0B,IAAI,KAAK,CAAC;QAClC,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC;CAQH"}
|
|
@@ -24,11 +24,29 @@ export declare class GetListOperation extends GenericOperation {
|
|
|
24
24
|
* 特殊处理:
|
|
25
25
|
* 1. 展示部分字段的数组用法(服务端支持)
|
|
26
26
|
* 2. 分页参数排在最后
|
|
27
|
+
* @param options.useArrayValues 是否使用数组值(默认 true)
|
|
27
28
|
*/
|
|
28
|
-
generateRequestExample(
|
|
29
|
+
generateRequestExample(options?: {
|
|
30
|
+
useArrayValues?: boolean;
|
|
31
|
+
}): Record<string, unknown>;
|
|
32
|
+
/**
|
|
33
|
+
* 生成单值请求示例(不使用数组)
|
|
34
|
+
* 用于文档生成时展示单值查询示例
|
|
35
|
+
*/
|
|
36
|
+
generateSingleValueExample(): Record<string, unknown>;
|
|
37
|
+
/**
|
|
38
|
+
* 重载:生成所有请求示例列表
|
|
39
|
+
* getList 操作特殊处理:返回单值查询和数组查询两个示例
|
|
40
|
+
*/
|
|
41
|
+
generateRequestAllExamples(): Array<{
|
|
42
|
+
title: string;
|
|
43
|
+
description?: string;
|
|
44
|
+
data: Record<string, unknown>;
|
|
45
|
+
}>;
|
|
29
46
|
/**
|
|
30
47
|
* 重载:生成 SDK 调用代码示例
|
|
31
48
|
* getList 操作特殊处理:展示分页和筛选参数
|
|
49
|
+
* 完整示例模式下,同时展示单值查询和数组查询两种模式
|
|
32
50
|
*/
|
|
33
51
|
generateSDKCallCode(tableKey: string, options?: {
|
|
34
52
|
useFullExample?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetListOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/GetListOperation.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,gBAAgB;IACpD;;;;;OAKG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAsC3C
|
|
1
|
+
{"version":3,"file":"GetListOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/GetListOperation.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,gBAAgB;IACpD;;;;;OAKG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAsC3C;;;;;;OAMG;IACH,sBAAsB,CAAC,OAAO,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAmDvF;;;OAGG;IACH,0BAA0B,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAIrD;;;OAGG;IACH,0BAA0B,IAAI,KAAK,CAAC;QAClC,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC;IAeF;;;;OAIG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GACA,MAAM;CA8CV"}
|
|
@@ -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;IAqB9E;;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;
|
|
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;IAqB9E;;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"}
|
package/dist/src/plus/types.d.ts
CHANGED
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
* 用于将数据与呈现分离
|
|
4
4
|
*/
|
|
5
5
|
import type { OperationAnalysis } from './DrivenDataDetailPlus.js';
|
|
6
|
+
import type { Operation } from '../core/operations/Operation.js';
|
|
6
7
|
/**
|
|
7
8
|
* 操作文档元数据
|
|
8
9
|
*/
|
|
9
10
|
export interface OperationDocMeta {
|
|
10
11
|
/** 操作分析结果(包含所有原始数据) */
|
|
11
12
|
operation: OperationAnalysis;
|
|
13
|
+
/** Operation 实例(用于调用方法,如 generateSingleValueExample) */
|
|
14
|
+
operationInstance: Operation;
|
|
12
15
|
/** 基本信息(快捷访问) */
|
|
13
16
|
basicInfo: {
|
|
14
17
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/plus/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/plus/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,uBAAuB;IACvB,SAAS,EAAE,iBAAiB,CAAC;IAE7B,wDAAwD;IACxD,iBAAiB,EAAE,SAAS,CAAC;IAE7B,iBAAiB;IACjB,SAAS,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;IAEF,eAAe;IACf,OAAO,EAAE;QACP,YAAY;QACZ,WAAW,EAAE,MAAM,CAAC;QACpB,8CAA8C;QAC9C,SAAS,EAAE,MAAM,CAAC;QAClB,0CAA0C;QAC1C,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW;QACX,aAAa,EAAE,MAAM,CAAC;QACtB,WAAW;QACX,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,qBAAqB;QACrB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IAEF,WAAW;IACX,YAAY,EAAE;QACZ,eAAe;QACf,WAAW,EAAE,MAAM,CAAC;QACpB,eAAe;QACf,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,YAAY;IACZ,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,YAAY;IACZ,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,WAAW;IACX,KAAK,EAAE,MAAM,CAAC;IAEd,YAAY;IACZ,WAAW,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,gBAAgB,EAAE,MAAM,CAAC;QACzB,cAAc,EAAE,MAAM,CAAC;QACvB,qBAAqB,EAAE,MAAM,CAAC;KAC/B,CAAC;IAEF,WAAW;IACX,UAAU,EAAE,gBAAgB,EAAE,CAAC;CAChC"}
|