@lovrabet/dsparser 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const a0_0x3cc277=a0_0x1880;function a0_0xf8c9(){const _0x525dc8=['IMPORT_TEMPLATE','创建导出','multiple','\x20items,\x20conflict,\x20latest:\x20','sdkCallCode','msg','sdkCall','getMethod','372jyRNQy','createImport','fullUrl','getDisabledNames','generateFromSchema','hasConflicts','getTableKey','getRequestParams','displayName','enabledOperationCount','查询单条(用于更新)','size','[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:','status','parseRawResponseBody','appCode','taskInfo','number','操作名称','下拉选择','DatasetGroup(','GET_SELECT_OPTIONS','findByTableName','getAll','toUpperCase','\x20的\x20extend\x20配置失败:','entries','N/A','hasCreatorIdField','311240cuHTvm','isPrimaryKeyField','查询列表','isArray','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','split','generateUsageExample','[DrivenDataDetail.getField]\x20code\x20is\x20not\x20a\x20string:','groups','placeholder','type','getFieldSelectItemsSource','toConfig','isOperationEnabled','dbtableConfig','dataset_000000','item2','DrivenDataDetail(','查询单条','DELETE','-\x20`','hasDblinkInfo','getOperationAnalyses','接口名称','<p>富文本内容</p>','2012232CyLghO','`:\x20','getDisabledOperations','解析\x20responseBody\x20失败:','TIMESTAMP','hasCreateTimeField','getFiltered','systemAnalysisResult','任务信息','getOperation','operations','\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});','当前页码','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','modifierIdField','findAll','toObject','autoIncrement','enabled','find','完整的\x20SDK\x20调用代码','getType','delete','SDK\x20调用','getEnumFieldMeta','dbVersion','toFullConfig','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','online','Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData','requestFields','getSelectOptions','_operationAnalyses','getResponseSchema','\x0a\x20\x20env:\x20\x27','getFields','(id);','success','generateSDKInitCode','fieldName','generateFullSDKExample','getFileUrl','items','no\x20conflicts','getDatabaseVersion','getDatasetDocMeta','generateOperationSummary','usageExample','getSystemAnalysisResult','getFirst','initDataset','stringify','getEnabledOperations','generateRequestExample','Number','padStart','解析\x20requestBody\x20失败:','datasetMap','1ZsapkP','DATE','method','({\x20','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','replace','excelExport','getConflictingItems','getOperationCountByMethod','创建导入','[parseFieldExtend]\x20Invalid\x20field:','getAllDatasets','\x0a\x0a//\x20Call\x20the\x20operation\x0a','getFullUrl','UPDATE','findByName','getIds','getOneUpdate','长文本','const\x20result\x20=\x20await\x20client.models.','getDisabledOperationInstances','getOperationAnalysis','getNames','generateFieldExample','hasLogicField','forEach','hasTableName','5147720qPZuya','getEnabledNames',',\x20fields:\x20','\x20groups)','DrivenDataDetailPlus(','getField','getOneOrigin','Operation\x20instance\x20not\x20found:\x20','logicField','getList','dbName','getLatestDatasets','({\x20currentPage,\x20pageSize\x20});','toListItem','phone','getItems','这是一段较长的文本内容示例','currentPage','required','https://example.com/file.pdf','\x20items,\x20','getFilteredOperationAnalyses','CREATE_EXPORT','sort','tableName','responseBody','path','getFieldDefinition','导入模板','modifierNameField','detectConflicts','source','email','getFieldsByType','properties','getDisabled','errorMsg','includeDisabled','labelField','toString','value','[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array','getVirtualTables','create','updateTimeField','toArray','isPrimaryKey','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','getModelName','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','北京市朝阳区','businessFieldCount','\x20operations)','toConfigArray','dbType','toJSON','customFilter','CHECKBOX','(id,\x20','isEnumField','user@example.com','slice','filterBlacklist','label','getBusinessFields','fields','join','[DrivenDataDetail.parseFieldExtend]\x20解析字段\x20','_datasetMap','200','字段名称','getOperationsOverviewData','\x20fields,\x20','modelId','selectItemsSource','[generateRequestExample]\x20Invalid\x20field:','getOne','({\x20code,\x20label\x20});','hasField','pkField','data','每页数量','valueLabels','getOperationDocMeta','set','getStats','getEnumFieldsMeta','supportsCRUD','filter','generateConfigArray','hasDbtableConfig','version','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','values','getCodes','includes','13800138000','getName','[dsparser]\x20跳过重复的表名\x20\x22','parseRawRequestBody','getCountByType','JSON','repeat','findByCode','code','示例值','responseSchema','operation','isEmpty','findById','generateConfig','String','field_name','toLowerCase','some','createAll','has','description','dblinkInfoDTO','getTenantCode','4xzERiy','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','parseFieldExtend','getDisplayName','字段编码','creatorIdField','获取数据集列表失败:\x20','_operations','length','_operationList','getOperationStats','hasModifierIdField','\x20groups,\x20','get','children','getOperationAnalysesByType','isRequiredField','GET_UPLOAD_FILE_SCRIPT','getLatest','modifyDate','warn','getTableName','2240mUprJK','datasetCode','1153018BZzkxo','DatasetItem(','string','getPrimaryKeyFields','getConflictStats','getMissingCRUDOperations','map','object','1.0.0-beta.8','时间戳','RADIO','SELECT','name','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','importTemplate','iterator','generateAllOperationsSummary','useFullExample','getRequestFields','generateSDKCallCode','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','parse','boolean','getEnabled','systemFieldCount','EXCEL_EXPORT','getSystemFields','systemRetain','getPath','getConflicts','getCount','获取数据集失败:\x20','getDatabaseType','支持单值或数组','652420sNuNsq','日期时间','getOldest','from','查询单条(原始)','getLast','153MiubAO','creatorNameField','isVirtualTable','getRealTables','\x22,数据集:\x20','[parseFieldExtend]\x20解析字段\x20','allFields','address',',\x20currentPage,\x20pageSize,\x20...\x20});','API路径','GET_ONE_UPDATE',',\x20...\x20});','hasExtendField','TEXT','getFieldOptions','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','getOperationList','generateResponseExample','(id,\x20data);','isMultipleSelectField','createExport','获取上传脚本','getAllFieldsArray','操作成功','getOperationCountByType','empty','getAllFieldsString','push','GET_LIST','createTimeField','getOperations','extend','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','DatasetList(','getEnumFields','getFieldCount','(支持单值或数组)','getDatabaseName','isSystemField','isEnabled','fieldCount','GET_FILE_URL','now','4202649YJwDGQ','update','pageSize','getByType','getSDKInitData','datasetKey','dbId','hasConflict','富文本','charAt','requestBody','getOperationRequestFields','();','getOperationCount','_raw','POST','modelCode','getUploadFileScript','_$1','operationCount','tableData','total','options','keys','tenantCode','groupByTableName','[DrivenDataDetail.parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:','context'];a0_0xf8c9=function(){return _0x525dc8;};return a0_0xf8c9();}(function(_0x5e3e3e,_0x5096ab){const _0x5c2c2a=a0_0x1880,_0x17d89a=_0x5e3e3e();while(!![]){try{const _0x419322=parseInt(_0x5c2c2a(0x2e0))/0x1*(parseInt(_0x5c2c2a(0x1f9))/0x2)+parseInt(_0x5c2c2a(0x2a6))/0x3+parseInt(_0x5c2c2a(0x1e1))/0x4*(-parseInt(_0x5c2c2a(0x21b))/0x5)+-parseInt(_0x5c2c2a(0x270))/0x6*(-parseInt(_0x5c2c2a(0x1f7))/0x7)+parseInt(_0x5c2c2a(0x28d))/0x8*(-parseInt(_0x5c2c2a(0x221))/0x9)+-parseInt(_0x5c2c2a(0x2fb))/0xa+parseInt(_0x5c2c2a(0x24c))/0xb;if(_0x419322===_0x5096ab)break;else _0x17d89a['push'](_0x17d89a['shift']());}catch(_0x3868ab){_0x17d89a['push'](_0x17d89a['shift']());}}}(a0_0xf8c9,0x539ef));function toCamelCase(_0x4685c8){const _0x29e96f=a0_0x1880;if(!_0x4685c8)return'';return _0x4685c8[_0x29e96f(0x292)](/[_-]/)[_0x29e96f(0x1ff)]((_0x11dc8e,_0x200fc8)=>{const _0x2855dd=_0x29e96f;if(_0x200fc8===0x0)return _0x11dc8e[_0x2855dd(0x1da)]();return _0x11dc8e[_0x2855dd(0x255)](0x0)[_0x2855dd(0x288)]()+_0x11dc8e['slice'](0x1)[_0x2855dd(0x1da)]();})[_0x29e96f(0x1ab)]('');}function toPascalCase(_0x436274){const _0x271a6f=a0_0x1880;if(!_0x436274)return'';const _0x35489d=toCamelCase(_0x436274);return _0x35489d['charAt'](0x0)[_0x271a6f(0x288)]()+_0x35489d[_0x271a6f(0x1a6)](0x1);}function toSnakeCase(_0x20f123){const _0x4b4600=a0_0x1880;if(!_0x20f123)return'';return _0x20f123['replace'](/([A-Z])/g,_0x4b4600(0x25e))[_0x4b4600(0x1da)]()[_0x4b4600(0x2e5)](/^_/,'');}function toKebabCase(_0x49a621){const _0x2867a1=a0_0x1880;if(!_0x49a621)return'';return _0x49a621[_0x2867a1(0x2e5)](/([A-Z])/g,'-$1')[_0x2867a1(0x1da)]()[_0x2867a1(0x2e5)](/^-/,'');}function normalizeFieldName(_0x17d94b){const _0x5de787=a0_0x1880;if(!_0x17d94b)return'';return _0x17d94b['trim']()['replace'](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')[_0x5de787(0x2e5)](/_+/g,'_')[_0x5de787(0x2e5)](/^_|_$/g,'');}function getTableName(_0x3a8c44){const _0x58e8c9=a0_0x1880;if(!_0x3a8c44)return'dataset_000000';if(_0x3a8c44[_0x58e8c9(0x29b)]?.['tableName'])return _0x3a8c44[_0x58e8c9(0x29b)][_0x58e8c9(0x181)];const _0x674121=_0x3a8c44[_0x58e8c9(0x1f8)]||_0x3a8c44['code']||_0x3a8c44[_0x58e8c9(0x25c)];if(_0x674121)return generateTableNameFromCode(_0x674121);return _0x58e8c9(0x29c);}function getTableKey(_0x1e0ee4){if(typeof _0x1e0ee4==='string')return toCamelCase(_0x1e0ee4);const _0x8be039=getTableName(_0x1e0ee4);return toCamelCase(_0x8be039);}function generateTableNameFromCode(_0x5603a3){const _0x2fa28c=a0_0x1880;if(!_0x5603a3)return _0x2fa28c(0x29c);const _0x44554a=_0x5603a3[_0x2fa28c(0x1a6)](-0x6)[_0x2fa28c(0x2dd)](0x6,'0');return'dataset_'+_0x44554a;}function isVirtualTableName(_0x3b5367){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x3b5367);}function generateDatasetsConfig(_0x5d9d14,_0x2c3c33={}){const _0x2417c1=a0_0x1880,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x4f4b49,filter:_0x429df4}=_0x2c3c33,_0x8e4db8={},_0xb41de3=new Set();for(const _0x42e8ac of _0x5d9d14){if(_0x429df4&&!_0x429df4(_0x42e8ac))continue;const _0x53d8a7=getTableName(_0x42e8ac);if(enableDeduplication&&_0xb41de3[_0x2417c1(0x1dd)](_0x53d8a7)){console[_0x2417c1(0x1f5)](_0x2417c1(0x1cb)+_0x53d8a7+_0x2417c1(0x225)+_0x42e8ac[_0x2417c1(0x205)]+'\x20('+_0x42e8ac[_0x2417c1(0x1f8)]+')');continue;}_0xb41de3['add'](_0x53d8a7);const _0x24e179=_0x4f4b49?_0x4f4b49(_0x53d8a7,_0x42e8ac):getTableKey(_0x53d8a7);_0x8e4db8[_0x24e179]={'key':_0x24e179,'tableName':_0x53d8a7,'datasetCode':_0x42e8ac['datasetCode'],'name':_0x42e8ac[_0x2417c1(0x205)],'id':_0x42e8ac['id']};}return _0x8e4db8;}function generateFullDatasetsConfig(_0x712be8,_0x1e2667={}){const _0x191a78=a0_0x1880,{filter:_0xfd16f2,datasetNameGenerator:_0x266229}=_0x1e2667,_0x4a1b65=_0xfd16f2?_0x712be8[_0x191a78(0x1c1)](_0xfd16f2):_0x712be8,_0x1728b1=groupByTableName(_0x4a1b65),_0x1ff01a={};for(const [_0x2fd2f4,_0x899ef3]of Object['entries'](_0x1728b1)){if(_0x899ef3[_0x191a78(0x1e9)]===0x1){const _0x73c464=_0x899ef3[0x0],_0x306f92=_0x266229?_0x266229(_0x2fd2f4,_0x73c464):getTableKey(_0x2fd2f4);_0x1ff01a[_0x306f92]={'key':_0x306f92,'tableName':_0x2fd2f4,'datasetCode':_0x73c464[_0x191a78(0x1f8)],'name':_0x73c464[_0x191a78(0x205)],'id':_0x73c464['id']};}else{const _0x25bb1d=[..._0x899ef3][_0x191a78(0x180)]((_0x339654,_0x331db8)=>{const _0xb87beb=Number(_0x339654['id'])||0x0,_0x1dcf7f=Number(_0x331db8['id'])||0x0;return _0x1dcf7f-_0xb87beb;});_0x25bb1d[_0x191a78(0x2f9)]((_0x438546,_0xfdefa)=>{const _0x25ed09=_0x191a78,_0x3f2427=_0x266229?_0x266229(_0x2fd2f4,_0x438546):getTableKey(_0x2fd2f4),_0x2008d3=_0xfdefa===0x0?_0x3f2427:_0x3f2427+'_'+_0xfdefa;_0x1ff01a[_0x2008d3]={'key':_0x2008d3,'tableName':_0x2fd2f4,'datasetCode':_0x438546[_0x25ed09(0x1f8)],'name':_0x438546['name'],'id':_0x438546['id']};});}}return _0x1ff01a;}function detectTableNameConflicts(_0x33213a){const _0xa2f327=a0_0x1880,_0x1fcc7e={};for(const _0x4e2568 of _0x33213a){const _0x47d14f=getTableName(_0x4e2568);!_0x1fcc7e[_0x47d14f]&&(_0x1fcc7e[_0x47d14f]=[]),_0x1fcc7e[_0x47d14f][_0xa2f327(0x23c)](_0x4e2568);}const _0x3d1bad={};for(const [_0x511fdd,_0x46bf2e]of Object[_0xa2f327(0x28a)](_0x1fcc7e)){_0x46bf2e[_0xa2f327(0x1e9)]>0x1&&(_0x3d1bad[_0x511fdd]=_0x46bf2e);}return{'hasConflicts':Object['keys'](_0x3d1bad)[_0xa2f327(0x1e9)]>0x0,'conflicts':_0x3d1bad};}function createDatasetNameMap(_0x12bc2e){const _0x50aeda=a0_0x1880,_0x11fc6f={};for(const [_0x78421f,_0x4c0047]of Object[_0x50aeda(0x28a)](_0x12bc2e)){_0x11fc6f[_0x78421f]=_0x4c0047[_0x50aeda(0x1f8)]||'';}return _0x11fc6f;}function groupByTableName(_0x432f9e){const _0x3d617e=a0_0x1880,_0x3c3644={};for(const _0x1cb44e of _0x432f9e){const _0x4b838b=getTableName(_0x1cb44e);!_0x3c3644[_0x4b838b]&&(_0x3c3644[_0x4b838b]=[]),_0x3c3644[_0x4b838b][_0x3d617e(0x23c)](_0x1cb44e);}return _0x3c3644;}function datasetsConfigToArray(_0x5b55f5){return Object['values'](_0x5b55f5);}function adaptDrivenDataDetail(_0x172d92){const _0x22250a=a0_0x1880;return{'id':_0x172d92[_0x22250a(0x1b2)],'name':_0x172d92[_0x22250a(0x205)],'datasetCode':_0x172d92[_0x22250a(0x25c)],'dbtableConfig':_0x172d92[_0x22250a(0x29b)],'source':_0x172d92[_0x22250a(0x188)],'version':_0x172d92['version'],'extend':_0x172d92[_0x22250a(0x240)],'properties':_0x172d92['properties'],'operations':_0x172d92[_0x22250a(0x2b0)]};}function adaptDrivenDataDetails(_0x4bcfbc){return _0x4bcfbc['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x30f7b0){const _0x122f53=a0_0x1880;if(!_0x30f7b0[_0x122f53(0x2cb)]||!_0x30f7b0[_0x122f53(0x1b9)])throw new Error(_0x122f53(0x218)+(_0x30f7b0[_0x122f53(0x18d)]||_0x30f7b0[_0x122f53(0x26d)]));return adaptDrivenDataDetail(_0x30f7b0[_0x122f53(0x1b9)]);}function extractDatasetsFromListResponse(_0x273b75){const _0x1f3608=a0_0x1880;if(!_0x273b75[_0x1f3608(0x2cb)]||!_0x273b75[_0x1f3608(0x1b9)]?.['tableData'])throw new Error(_0x1f3608(0x1e7)+(_0x273b75[_0x1f3608(0x18d)]||_0x273b75[_0x1f3608(0x26d)]));return _0x273b75[_0x1f3608(0x1b9)][_0x1f3608(0x260)]['map'](_0x43a9e0=>({..._0x43a9e0,'datasetCode':_0x43a9e0[_0x1f3608(0x1d1)]||_0x43a9e0[_0x1f3608(0x1f8)]}));}function isDrivenDataDetail(_0x57eeb4){const _0xcf9911=a0_0x1880;return Boolean(_0x57eeb4&&typeof _0x57eeb4[_0xcf9911(0x25c)]===_0xcf9911(0x1fb));}function smartAdapt(_0x1c0ffd){const _0x4f17d1=a0_0x1880;if(isDrivenDataDetail(_0x1c0ffd))return adaptDrivenDataDetail(_0x1c0ffd);if(_0x1c0ffd[_0x4f17d1(0x1f8)])return _0x1c0ffd;if(_0x1c0ffd['code'])return{..._0x1c0ffd,'datasetCode':_0x1c0ffd[_0x4f17d1(0x1d1)]};return _0x1c0ffd;}var DatasetOperationType;(_0x1c4881=>{const _0x2b3484=a0_0x1880;_0x1c4881[_0x2b3484(0x23d)]='getList',_0x1c4881['GET_ONE']=_0x2b3484(0x1b5),_0x1c4881['GET_ONE_ORIGIN']=_0x2b3484(0x301),_0x1c4881[_0x2b3484(0x22b)]=_0x2b3484(0x2f1),_0x1c4881['CREATE']=_0x2b3484(0x194),_0x1c4881[_0x2b3484(0x2ee)]=_0x2b3484(0x24d),_0x1c4881[_0x2b3484(0x2a0)]='delete',_0x1c4881[_0x2b3484(0x285)]=_0x2b3484(0x2c5),_0x1c4881[_0x2b3484(0x24a)]=_0x2b3484(0x2cf),_0x1c4881[_0x2b3484(0x212)]='excelExport',_0x1c4881[_0x2b3484(0x1f2)]=_0x2b3484(0x25d),_0x1c4881['CREATE_IMPORT']='createImport',_0x1c4881[_0x2b3484(0x17f)]=_0x2b3484(0x235),_0x1c4881['TASK_INFO']=_0x2b3484(0x280),_0x1c4881[_0x2b3484(0x268)]=_0x2b3484(0x207);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x3cc277(0x304)]:a0_0x3cc277(0x28f),['getOne']:a0_0x3cc277(0x29f),[a0_0x3cc277(0x301)]:a0_0x3cc277(0x21f),[a0_0x3cc277(0x2f1)]:a0_0x3cc277(0x27a),[a0_0x3cc277(0x194)]:'创建',[a0_0x3cc277(0x24d)]:'更新',[a0_0x3cc277(0x2bc)]:'删除',[a0_0x3cc277(0x2c5)]:'获取下拉选项',['getFileUrl']:'获取文件URL',[a0_0x3cc277(0x2e6)]:'Excel导出',['getUploadFileScript']:a0_0x3cc277(0x236),[a0_0x3cc277(0x271)]:a0_0x3cc277(0x2e9),[a0_0x3cc277(0x235)]:a0_0x3cc277(0x269),['taskInfo']:a0_0x3cc277(0x2ae),[a0_0x3cc277(0x207)]:a0_0x3cc277(0x185)},API_BLACKLIST=[a0_0x3cc277(0x2e6),a0_0x3cc277(0x301),a0_0x3cc277(0x2f1),a0_0x3cc277(0x2cf)];function parseFieldExtend(_0x4a2d0d){const _0x1ce209=a0_0x3cc277;if(!_0x4a2d0d||typeof _0x4a2d0d!=='object')return console[_0x1ce209(0x1f5)](_0x1ce209(0x2ea),_0x4a2d0d),{};if(!_0x4a2d0d['extend'])return{};try{const _0x3616b0=typeof _0x4a2d0d['extend']==='string'?JSON[_0x1ce209(0x20e)](_0x4a2d0d['extend']):_0x4a2d0d[_0x1ce209(0x240)];if(typeof _0x3616b0!==_0x1ce209(0x200)||_0x3616b0===null)return console[_0x1ce209(0x1f5)]('[parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:',_0x3616b0),{};return _0x3616b0;}catch(_0x852c1a){return console['warn'](_0x1ce209(0x226)+_0x4a2d0d[_0x1ce209(0x1d1)]+_0x1ce209(0x289),_0x852c1a),{};}}function isPrimaryKeyField(_0x36c9fe,_0x454ae4){const _0x4b67f2=a0_0x3cc277;if(!_0x36c9fe||typeof _0x36c9fe!==_0x4b67f2(0x200))return![];if(typeof _0x454ae4===_0x4b67f2(0x1fb)&&_0x36c9fe[_0x4b67f2(0x1d1)]===_0x454ae4)return!![];const _0x107d36=parseFieldExtend(_0x36c9fe);return Boolean(_0x107d36['primaryKey']||_0x107d36[_0x4b67f2(0x1b8)]);}function isSystemField(_0x5139e9){const _0x5230df=a0_0x3cc277,_0x4a1ee5=parseFieldExtend(_0x5139e9);return Boolean(_0x4a1ee5[_0x5230df(0x214)]);}function isRequiredField(_0x5aefd7){const _0xffd96d=a0_0x3cc277,_0x186961=parseFieldExtend(_0x5aefd7);return Boolean(_0x186961[_0xffd96d(0x30d)]);}function isAutoIncrementField(_0x1342ea){const _0x431e21=a0_0x3cc277,_0x42bea9=parseFieldExtend(_0x1342ea);return Boolean(_0x42bea9[_0x431e21(0x2b7)]);}function isCreateTimeField(_0x2d3831){const _0x5b6fef=parseFieldExtend(_0x2d3831);return Boolean(_0x5b6fef['createDate']);}function isModifyTimeField(_0x447509){const _0x491df0=a0_0x3cc277,_0x23f73f=parseFieldExtend(_0x447509);return Boolean(_0x23f73f[_0x491df0(0x1f4)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':a0_0x3cc277(0x2f2),'DATE':'日期','DATETIME':a0_0x3cc277(0x21c),'TIMESTAMP':a0_0x3cc277(0x202),'SELECT':a0_0x3cc277(0x283),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':'文件上传','IMAGE':'图片','RICH_TEXT':a0_0x3cc277(0x254),'JSON':a0_0x3cc277(0x1ce),'ARRAY':'数组'};function getDbTypeDisplay(_0x58a4ba){const _0x3a33e7=a0_0x3cc277;if(typeof _0x58a4ba!==_0x3a33e7(0x1fb))return console[_0x3a33e7(0x1f5)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x58a4ba),String(_0x58a4ba||'-');return DB_TYPE_DISPLAY_MAP[_0x58a4ba]||_0x58a4ba;}function a0_0x1880(_0x410b19,_0x4a98db){const _0xf8c97=a0_0xf8c9();return a0_0x1880=function(_0x188091,_0x2efbde){_0x188091=_0x188091-0x17f;let _0x54818e=_0xf8c97[_0x188091];return _0x54818e;},a0_0x1880(_0x410b19,_0x4a98db);}function formatDbType(_0x127edd,_0x565856){const _0x200423=a0_0x3cc277;if(!_0x127edd||typeof _0x127edd!==_0x200423(0x1fb))return'-';if(!_0x565856||typeof _0x565856!==_0x200423(0x281))return _0x127edd;const _0x1daf37=[_0x200423(0x22e),'DATETIME',_0x200423(0x2aa),_0x200423(0x2e1)];if(_0x1daf37[_0x200423(0x1c8)](_0x127edd[_0x200423(0x288)]()))return _0x127edd;return _0x127edd+'('+_0x565856+')';}function parseOperationType(_0x1df4a2){const _0x284963=a0_0x3cc277;if(typeof _0x1df4a2!==_0x284963(0x1fb)){console[_0x284963(0x1f5)]('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x1df4a2);return;}if(Object['values'](DatasetOperationType)[_0x284963(0x1c8)](_0x1df4a2))return _0x1df4a2;const _0x187121=Object[_0x284963(0x28a)](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x3582a8,_0x4c7655])=>_0x4c7655===_0x1df4a2);return _0x187121?_0x187121[0x0]:undefined;}function shouldIncludeField(_0x14d210,_0x197492,_0x302c01){const _0x1d4b69=a0_0x3cc277,_0x25614b=parseFieldExtend(_0x14d210),_0x4eb6bd=isPrimaryKeyField(_0x14d210,_0x302c01),_0x5950dd=Boolean(_0x25614b['systemRetain']),_0x332e87=Boolean(_0x25614b[_0x1d4b69(0x2b7)]),_0x5f14a3=Boolean(_0x25614b['createDate']),_0x590786=Boolean(_0x25614b['modifyDate']);switch(_0x197492){case _0x1d4b69(0x304):return!![];case _0x1d4b69(0x1b5):case'getOneOrigin':case _0x1d4b69(0x2bc):return _0x4eb6bd;case _0x1d4b69(0x194):if(_0x4eb6bd&&_0x332e87)return![];if(_0x5950dd&&(_0x5f14a3||_0x590786))return![];return!![];case _0x1d4b69(0x24d):case _0x1d4b69(0x2f1):if(_0x4eb6bd)return!![];if(_0x5950dd&&(_0x5f14a3||_0x590786))return![];return!![];case _0x1d4b69(0x2c5):return _0x14d210[_0x1d4b69(0x1d1)]===_0x1d4b69(0x1d1);default:return!![];}}function getFieldsForOperation(_0x2ace88,_0x455849,_0x24ea60){const _0x4714d4=a0_0x3cc277;if(!Array[_0x4714d4(0x290)](_0x2ace88))return console[_0x4714d4(0x1f5)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x2ace88),[];return _0x2ace88[_0x4714d4(0x1c1)](_0x3f2763=>shouldIncludeField(_0x3f2763,_0x455849,_0x24ea60));}function isApiBlacklisted(_0x466382){const _0x190eed=a0_0x3cc277;if(typeof _0x466382!=='string')return console[_0x190eed(0x1f5)](_0x190eed(0x2e4),_0x466382),![];return API_BLACKLIST['includes'](_0x466382);}function filterApiOperations(_0x10d64a){const _0x356604=a0_0x3cc277;if(!Array[_0x356604(0x290)](_0x10d64a))return console[_0x356604(0x1f5)](_0x356604(0x291),_0x10d64a),[];return _0x10d64a[_0x356604(0x1c1)](_0x325677=>_0x325677&&typeof _0x325677===_0x356604(0x200)&&!isApiBlacklisted(_0x325677[_0x356604(0x205)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x3cc277(0x24b)](),'DATE':()=>Date[a0_0x3cc277(0x24b)](),'SELECT':({fieldInfo:_0x590f2f})=>{const _0x119b46=a0_0x3cc277;if(_0x590f2f?.[_0x119b46(0x262)]&&Array[_0x119b46(0x290)](_0x590f2f[_0x119b46(0x262)])&&_0x590f2f['options'][_0x119b46(0x1e9)]>0x0)return _0x590f2f[_0x119b46(0x262)][0x0][_0x119b46(0x191)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x53ad4e})=>{const _0x194a28=a0_0x3cc277;if(_0x53ad4e==='currentPage')return 0x1;if(_0x53ad4e===_0x194a28(0x24e))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x35505b})=>{const _0x34a0b6=a0_0x3cc277;if(_0x35505b&&typeof _0x35505b===_0x34a0b6(0x1fb)){const _0xa5979b=_0x35505b[_0x34a0b6(0x1da)]();if(_0xa5979b[_0x34a0b6(0x1c8)]('邮箱')||_0xa5979b[_0x34a0b6(0x1c8)](_0x34a0b6(0x189)))return _0x34a0b6(0x1a5);if(_0xa5979b[_0x34a0b6(0x1c8)]('电话')||_0xa5979b[_0x34a0b6(0x1c8)]('手机')||_0xa5979b[_0x34a0b6(0x1c8)](_0x34a0b6(0x309)))return _0x34a0b6(0x1c9);if(_0xa5979b[_0x34a0b6(0x1c8)]('地址')||_0xa5979b[_0x34a0b6(0x1c8)](_0x34a0b6(0x228)))return _0x34a0b6(0x19b);if(_0xa5979b[_0x34a0b6(0x1c8)]('姓名')||_0xa5979b['includes']('name'))return'张三';}return'示例文本';},'VARCHAR':({description:_0x155180})=>TYPE_VALUE_GENERATORS[a0_0x3cc277(0x22e)]({'description':_0x155180}),'CHAR':({description:_0x34dec1})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x34dec1}),'STRING':({fieldInfo:_0x3d307c,description:_0x33a465})=>{const _0x29fadd=a0_0x3cc277;if(_0x3d307c?.[_0x29fadd(0x296)]&&typeof _0x3d307c[_0x29fadd(0x296)]==='string'&&_0x3d307c['placeholder']!=='系统自动生成')return _0x3d307c['placeholder'][_0x29fadd(0x2e5)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x29fadd(0x22e)]({'description':_0x33a465});},'TEXTAREA':()=>a0_0x3cc277(0x30b),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>['item1',a0_0x3cc277(0x29d)],'UPLOAD':()=>a0_0x3cc277(0x30e),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0x3cc277(0x2a5)};function generateExampleValue(_0x350d2d,_0x37be47,_0x2f664d,_0x38d9d0={}){const _0x2f9670=a0_0x3cc277;typeof _0x350d2d!==_0x2f9670(0x1fb)&&(console[_0x2f9670(0x1f5)](_0x2f9670(0x2b3),_0x350d2d),_0x350d2d=String(_0x350d2d||''));if(typeof _0x37be47!==_0x2f9670(0x1fb))return console[_0x2f9670(0x1f5)](_0x2f9670(0x19a),_0x37be47),'示例值';const {isPrimaryKey:_0x49e169,dbtableConfig:_0x565619}=_0x38d9d0;if(_0x49e169)return 0x1;if(_0x565619&&typeof _0x565619===_0x2f9670(0x200)){const _0x2ca89e=_0x565619['createTimeField']?.['fieldName']===_0x350d2d,_0x4f53bc=_0x565619['updateTimeField']?.[_0x2f9670(0x2cd)]===_0x350d2d;if(_0x2ca89e||_0x4f53bc){if(_0x2f664d&&typeof _0x2f664d==='string'&&_0x2f664d[_0x2f9670(0x288)]()[_0x2f9670(0x1c8)](_0x2f9670(0x2aa)))return Date['now']();return new Date()['toISOString']()['replace']('T','\x20')[_0x2f9670(0x292)]('.')[0x0];}}const _0x82b793={..._0x38d9d0,'fieldCode':_0x350d2d};if(_0x2f664d&&typeof _0x2f664d===_0x2f9670(0x1fb)){const _0x22cec6=_0x2f664d[_0x2f9670(0x288)](),_0x348acb=TYPE_VALUE_GENERATORS[_0x22cec6];if(_0x348acb)return _0x348acb(_0x82b793);}if(_0x37be47&&typeof _0x37be47===_0x2f9670(0x1fb)){const _0x1511e4=_0x37be47['toUpperCase'](),_0x180ddb=TYPE_VALUE_GENERATORS[_0x1511e4];if(_0x180ddb)return _0x180ddb(_0x82b793);}return'示例值';}function generateExampleFromSchema(_0xfc10b4,_0x30ab90){const _0x2ebb00=a0_0x3cc277;if(!_0xfc10b4||typeof _0xfc10b4!==_0x2ebb00(0x200))return{};if(Array[_0x2ebb00(0x290)](_0xfc10b4)){if(_0xfc10b4[_0x2ebb00(0x1e9)]>0x0)return[generateExampleFromSchema(_0xfc10b4[0x0],_0x30ab90)];return[];}const _0x2b2d67={};return Object[_0x2ebb00(0x263)](_0xfc10b4)[_0x2ebb00(0x2f9)](_0x7b7c04=>{const _0x2ef600=_0x2ebb00,_0x19fa71=_0xfc10b4[_0x7b7c04];if(_0x19fa71&&typeof _0x19fa71==='object'&&!Array[_0x2ef600(0x290)](_0x19fa71)&&_0x19fa71['type']){const _0x309edc=_0x19fa71,_0x4f61b6=_0x309edc[_0x2ef600(0x297)],_0x49e8c7=_0x309edc[_0x2ef600(0x1de)];typeof _0x4f61b6===_0x2ef600(0x1fb)?_0x2b2d67[_0x7b7c04]=generateExampleValue(_0x7b7c04,_0x4f61b6,undefined,{'description':_0x49e8c7,'dbtableConfig':_0x30ab90}):_0x2b2d67[_0x7b7c04]=_0x2ef600(0x1d2);}else{if(Array[_0x2ef600(0x290)](_0x19fa71))_0x2b2d67[_0x7b7c04]=_0x19fa71['length']>0x0?[generateExampleFromSchema(_0x19fa71[0x0],_0x30ab90)]:[];else _0x19fa71&&typeof _0x19fa71===_0x2ef600(0x200)?_0x2b2d67[_0x7b7c04]=generateExampleFromSchema(_0x19fa71,_0x30ab90):_0x2b2d67[_0x7b7c04]=_0x19fa71;}}),_0x2b2d67;}function parseRequestBody(_0x2da1b0){const _0x4e5ba1=a0_0x3cc277;if(!_0x2da1b0)return{};try{return JSON[_0x4e5ba1(0x20e)](_0x2da1b0);}catch(_0x200e44){return console[_0x4e5ba1(0x1f5)](_0x4e5ba1(0x2de),_0x200e44),{};}}function parseResponseBody(_0xdfadc8){const _0x79f3a9=a0_0x3cc277;if(!_0xdfadc8)return null;try{const _0x52708c=JSON[_0x79f3a9(0x20e)](_0xdfadc8);return _0x52708c[_0x79f3a9(0x1ae)]||_0x52708c;}catch(_0x276d06){return console[_0x79f3a9(0x1f5)](_0x79f3a9(0x2a9),_0x276d06),null;}}function generateRequestExample(_0x3cea4a,_0x28467c,_0xdd3692,_0x22cf08){const _0x34454d=a0_0x3cc277,_0x5817fd={};if(!Array[_0x34454d(0x290)](_0x3cea4a))return console[_0x34454d(0x1f5)](_0x34454d(0x241),_0x3cea4a),_0x5817fd;return _0x3cea4a[_0x34454d(0x2f9)](_0x4166c4=>{const _0x311e39=_0x34454d;if(!_0x4166c4||typeof _0x4166c4!=='object'){console['warn'](_0x311e39(0x1b4),_0x4166c4);return;}if(typeof _0x4166c4['code']!==_0x311e39(0x1fb)||typeof _0x4166c4[_0x311e39(0x297)]!==_0x311e39(0x1fb)){console[_0x311e39(0x1f5)](_0x311e39(0x206),_0x4166c4);return;}const _0x1c199a=parseFieldExtend(_0x4166c4),_0x3eaf7d=_0x4166c4[_0x311e39(0x1d1)]===_0xdd3692||Boolean(_0x1c199a?.['primaryKey']),_0x16c15a=generateExampleValue(_0x4166c4['code'],_0x4166c4[_0x311e39(0x297)],typeof _0x4166c4[_0x311e39(0x19f)]===_0x311e39(0x1fb)?_0x4166c4[_0x311e39(0x19f)]:undefined,{'fieldInfo':_0x1c199a,'isPrimaryKey':_0x3eaf7d,'description':_0x4166c4[_0x311e39(0x1de)]||_0x4166c4[_0x311e39(0x205)],'dbtableConfig':_0x22cf08});_0x5817fd[_0x4166c4[_0x311e39(0x1d1)]]=_0x16c15a;}),_0x28467c===_0x34454d(0x304)&&(_0x5817fd[_0x34454d(0x30c)]=0x1,_0x5817fd[_0x34454d(0x24e)]=0xa),_0x5817fd;}function formatEnumValue(_0xacf008,_0x4d3737){const _0x5c82c3=a0_0x3cc277;if(_0xacf008[_0x5c82c3(0x26a)]&&Array[_0x5c82c3(0x290)](_0x4d3737))return _0x4d3737['map'](_0xbfc7fc=>_0xacf008[_0x5c82c3(0x1bb)][String(_0xbfc7fc)]||String(_0xbfc7fc))[_0x5c82c3(0x1ab)](',\x20');return _0xacf008[_0x5c82c3(0x1bb)][String(_0x4d3737)]||String(_0x4d3737);}function formatOptionsForDoc(_0x314ff5){const _0xb6127f=a0_0x3cc277;return _0x314ff5[_0xb6127f(0x1ff)](_0x190010=>_0x190010[_0xb6127f(0x191)]+'('+_0x190010[_0xb6127f(0x1a8)]+')')[_0xb6127f(0x1ab)](',\x20');}function formatOptionsAsMarkdownList(_0x5e739a,_0x1c0e96=0x0){const _0x47080c=a0_0x3cc277,_0x286573='\x20\x20'[_0x47080c(0x1cf)](_0x1c0e96),_0x113319=[];return _0x5e739a[_0x47080c(0x2f9)](_0x3e9196=>{const _0x42aaa1=_0x47080c;_0x113319['push'](_0x286573+_0x42aaa1(0x2a1)+_0x3e9196['value']+_0x42aaa1(0x2a7)+_0x3e9196['label']),_0x3e9196[_0x42aaa1(0x1ef)]&&_0x3e9196[_0x42aaa1(0x1ef)][_0x42aaa1(0x1e9)]>0x0&&_0x113319[_0x42aaa1(0x23c)](formatOptionsAsMarkdownList(_0x3e9196['children'],_0x1c0e96+0x1));}),_0x113319[_0x47080c(0x1ab)]('\x0a');}class DbtableConfig{['_raw'];constructor(_0x1a8816){const _0x6e7a0c=a0_0x3cc277;this[_0x6e7a0c(0x25a)]={..._0x1a8816};}get['dbId'](){return this['_raw']['dbId'];}get[a0_0x3cc277(0x181)](){const _0x362fa2=a0_0x3cc277;return this[_0x362fa2(0x25a)]['tableName'];}get[a0_0x3cc277(0x251)](){const _0x5d1a93=a0_0x3cc277;return this[_0x5d1a93(0x25a)][_0x5d1a93(0x251)];}get['pkField'](){const _0x39a8be=a0_0x3cc277;return this['_raw'][_0x39a8be(0x1b8)];}get['labelField'](){const _0x1d8718=a0_0x3cc277;return this[_0x1d8718(0x25a)][_0x1d8718(0x18f)];}get[a0_0x3cc277(0x303)](){const _0x4c46aa=a0_0x3cc277;return this['_raw'][_0x4c46aa(0x303)];}get['createTimeField'](){const _0x46e7d3=a0_0x3cc277;return this[_0x46e7d3(0x25a)]['createTimeField'];}get['updateTimeField'](){const _0x41a15f=a0_0x3cc277;return this[_0x41a15f(0x25a)][_0x41a15f(0x195)];}get[a0_0x3cc277(0x1e6)](){const _0x46f80e=a0_0x3cc277;return this[_0x46f80e(0x25a)]['creatorIdField'];}get['creatorNameField'](){const _0x4eb937=a0_0x3cc277;return this[_0x4eb937(0x25a)][_0x4eb937(0x222)];}get[a0_0x3cc277(0x2b4)](){const _0x272682=a0_0x3cc277;return this[_0x272682(0x25a)][_0x272682(0x2b4)];}get[a0_0x3cc277(0x186)](){const _0x53cfe4=a0_0x3cc277;return this[_0x53cfe4(0x25a)][_0x53cfe4(0x186)];}get[a0_0x3cc277(0x1df)](){const _0x38ede3=a0_0x3cc277;return this[_0x38ede3(0x25a)][_0x38ede3(0x1df)];}[a0_0x3cc277(0x237)](){const _0x4d2197=a0_0x3cc277;if(!this[_0x4d2197(0x25a)]['allFields'])return[];return this[_0x4d2197(0x25a)]['allFields'][_0x4d2197(0x292)](',')[_0x4d2197(0x1ff)](_0x3f382e=>_0x3f382e['trim']())['filter'](Boolean);}[a0_0x3cc277(0x23b)](){const _0x13ffc9=a0_0x3cc277;return this['_raw'][_0x13ffc9(0x227)];}[a0_0x3cc277(0x1b7)](_0x324acb){const _0x8891fb=a0_0x3cc277;return this[_0x8891fb(0x237)]()[_0x8891fb(0x1c8)](_0x324acb);}[a0_0x3cc277(0x2fa)](){const _0xd39e99=a0_0x3cc277;return Boolean(this[_0xd39e99(0x25a)]['tableName']);}['hasDblinkInfo'](){const _0x1de93e=a0_0x3cc277;return Boolean(this[_0x1de93e(0x25a)][_0x1de93e(0x1df)]);}[a0_0x3cc277(0x2f8)](){const _0x2af8f0=a0_0x3cc277;return Boolean(this[_0x2af8f0(0x25a)][_0x2af8f0(0x303)]?.['fieldName']);}[a0_0x3cc277(0x2ab)](){const _0x52a544=a0_0x3cc277;return Boolean(this['_raw'][_0x52a544(0x23e)]?.[_0x52a544(0x2cd)]);}['hasUpdateTimeField'](){const _0x34cf0a=a0_0x3cc277;return Boolean(this[_0x34cf0a(0x25a)][_0x34cf0a(0x195)]?.[_0x34cf0a(0x2cd)]);}[a0_0x3cc277(0x28c)](){const _0x5b3147=a0_0x3cc277;return Boolean(this['_raw']['creatorIdField']?.[_0x5b3147(0x2cd)]);}['hasModifierIdField'](){const _0x4d55f4=a0_0x3cc277;return Boolean(this['_raw'][_0x4d55f4(0x2b4)]?.['fieldName']);}[a0_0x3cc277(0x28e)](_0x5dfb2d){const _0x7a1774=a0_0x3cc277;return this[_0x7a1774(0x25a)][_0x7a1774(0x1b8)]===_0x5dfb2d;}[a0_0x3cc277(0x247)](_0x16af66){const _0x5c921d=a0_0x3cc277;return this[_0x5c921d(0x28e)](_0x16af66)||this[_0x5c921d(0x25a)][_0x5c921d(0x303)]?.[_0x5c921d(0x2cd)]===_0x16af66||this[_0x5c921d(0x25a)]['createTimeField']?.[_0x5c921d(0x2cd)]===_0x16af66||this[_0x5c921d(0x25a)][_0x5c921d(0x195)]?.[_0x5c921d(0x2cd)]===_0x16af66||this[_0x5c921d(0x25a)][_0x5c921d(0x1e6)]?.[_0x5c921d(0x2cd)]===_0x16af66||this[_0x5c921d(0x25a)][_0x5c921d(0x222)]?.[_0x5c921d(0x2cd)]===_0x16af66||this[_0x5c921d(0x25a)][_0x5c921d(0x2b4)]?.['fieldName']===_0x16af66||this[_0x5c921d(0x25a)]['modifierNameField']?.[_0x5c921d(0x2cd)]===_0x16af66;}[a0_0x3cc277(0x246)](){const _0x2df53c=a0_0x3cc277;return this[_0x2df53c(0x25a)][_0x2df53c(0x1df)]?.[_0x2df53c(0x305)];}[a0_0x3cc277(0x219)](){const _0x220d0d=a0_0x3cc277;return this['_raw'][_0x220d0d(0x1df)]?.[_0x220d0d(0x19f)];}[a0_0x3cc277(0x2d2)](){const _0x506845=a0_0x3cc277;return this[_0x506845(0x25a)][_0x506845(0x1df)]?.[_0x506845(0x2bf)];}[a0_0x3cc277(0x1e0)](){const _0x3ab77d=a0_0x3cc277;return this[_0x3ab77d(0x25a)][_0x3ab77d(0x1df)]?.[_0x3ab77d(0x264)];}['getAppCode'](){const _0x509335=a0_0x3cc277;return this['_raw'][_0x509335(0x1df)]?.[_0x509335(0x27f)];}[a0_0x3cc277(0x2d6)](){const _0x4157d9=a0_0x3cc277;return this[_0x4157d9(0x25a)]['dblinkInfoDTO']?.[_0x4157d9(0x2ad)];}[a0_0x3cc277(0x1be)](){const _0x22e0f3=a0_0x3cc277;return{'hasTableName':this[_0x22e0f3(0x2fa)](),'hasDblinkInfo':this[_0x22e0f3(0x2a2)](),'fieldCount':this[_0x22e0f3(0x237)]()['length'],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x22e0f3(0x2ab)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x22e0f3(0x1ec)]()}};}['toConfig'](){const _0x481286=a0_0x3cc277;return{'tableName':this['tableName'],'pkField':this['pkField'],'datasetKey':this[_0x481286(0x251)],'dbId':this[_0x481286(0x252)]};}[a0_0x3cc277(0x1a0)](){const _0x17e6cb=a0_0x3cc277;return{...this[_0x17e6cb(0x25a)]};}['getRaw'](){const _0x372bc7=a0_0x3cc277;return{...this[_0x372bc7(0x25a)]};}['toString'](){const _0x421183=a0_0x3cc277,_0x6c6c51=this[_0x421183(0x181)]||_0x421183(0x28b),_0x4a5cee=this[_0x421183(0x237)]()[_0x421183(0x1e9)];return'DbtableConfig(table:\x20'+_0x6c6c51+_0x421183(0x2fd)+_0x4a5cee+')';}static[a0_0x3cc277(0x23a)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x3cc277(0x25a)];constructor(_0x4d1bb0){const _0x543d32=a0_0x3cc277,_0x176b86=_0x4d1bb0[_0x543d32(0x1f8)]||_0x4d1bb0[_0x543d32(0x1d1)]||_0x4d1bb0[_0x543d32(0x25c)];this['_raw']={..._0x4d1bb0,'datasetCode':_0x176b86};}get['id'](){const _0x4b962d=a0_0x3cc277;return this[_0x4b962d(0x25a)]['id'];}get[a0_0x3cc277(0x205)](){const _0x5ed16a=a0_0x3cc277;return this['_raw'][_0x5ed16a(0x205)];}['getName'](){const _0x44d466=a0_0x3cc277;return this[_0x44d466(0x205)];}get[a0_0x3cc277(0x1f8)](){const _0x24dabf=a0_0x3cc277;return this[_0x24dabf(0x25a)]['datasetCode']||'';}get['dbtableConfig'](){const _0x233f8f=a0_0x3cc277;if(!this[_0x233f8f(0x25a)]['dbtableConfig'])return null;return new DbtableConfig(this[_0x233f8f(0x25a)][_0x233f8f(0x29b)]);}['getRawDbtableConfig'](){const _0x4ef4c2=a0_0x3cc277;return this[_0x4ef4c2(0x25a)]['dbtableConfig'];}[a0_0x3cc277(0x1f6)](){const _0x3a0e03=a0_0x3cc277;return getTableName(this[_0x3a0e03(0x25a)]);}[a0_0x3cc277(0x276)](){const _0x1af525=a0_0x3cc277;return getTableKey(this[_0x1af525(0x1f6)]());}[a0_0x3cc277(0x223)](){const _0x37ccfb=a0_0x3cc277;return isVirtualTableName(this[_0x37ccfb(0x1f6)]());}[a0_0x3cc277(0x199)](){return toPascalCase(this['getTableName']());}[a0_0x3cc277(0x299)](){const _0x37e7ac=a0_0x3cc277;return{'key':getTableKey(this[_0x37e7ac(0x1f6)]()),'tableName':this[_0x37e7ac(0x1f6)](),'datasetCode':this[_0x37e7ac(0x1f8)],'name':this[_0x37e7ac(0x205)]};}['toJSON'](){const _0x427af4=a0_0x3cc277;return{...this[_0x427af4(0x25a)],'datasetCode':this[_0x427af4(0x1f8)]};}['getRaw'](){const _0x816e3e=a0_0x3cc277;return{...this[_0x816e3e(0x25a)]};}[a0_0x3cc277(0x1c3)](){const _0x1a6887=a0_0x3cc277,_0x14f572=this[_0x1a6887(0x29b)];return _0x14f572!==null&&_0x14f572[_0x1a6887(0x2fa)]();}['getExtendField'](_0x525373){const _0x2cb479=a0_0x3cc277;return this[_0x2cb479(0x25a)][_0x525373];}[a0_0x3cc277(0x22d)](_0x10ae63){const _0x54e7be=a0_0x3cc277;return _0x10ae63 in this[_0x54e7be(0x25a)];}[a0_0x3cc277(0x190)](){const _0x5a7c77=a0_0x3cc277;return _0x5a7c77(0x1fa)+this[_0x5a7c77(0x205)]+',\x20'+this[_0x5a7c77(0x1f8)]+')';}}class Operation{['name'];['_raw'];[a0_0x3cc277(0x267)];constructor(_0x396a40,_0x4e6e0d,_0x1c7e42){const _0x3ab9ef=a0_0x3cc277;this[_0x3ab9ef(0x205)]=_0x396a40,this[_0x3ab9ef(0x25a)]=_0x4e6e0d,this['context']=_0x1c7e42;}[a0_0x3cc277(0x1ca)](){return this['name'];}[a0_0x3cc277(0x1e4)](){const _0x15bdc3=a0_0x3cc277,_0x15dfc2=this['getType']();return _0x15dfc2?OPERATION_TYPE_DISPLAY_NAME[_0x15dfc2]:this[_0x15bdc3(0x205)];}[a0_0x3cc277(0x2bb)](){return parseOperationType(this['name']);}[a0_0x3cc277(0x248)](){const _0x726ae1=a0_0x3cc277;return this[_0x726ae1(0x25a)]!=null&&this[_0x726ae1(0x25a)]!==![];}[a0_0x3cc277(0x26f)](){const _0xf84439=a0_0x3cc277;if(!this[_0xf84439(0x248)]()||!this[_0xf84439(0x25a)])return'';const _0x59094c=this[_0xf84439(0x25a)]['method'];return typeof _0x59094c===_0xf84439(0x1fb)?_0x59094c:_0xf84439(0x25b);}[a0_0x3cc277(0x215)](){const _0x306a19=a0_0x3cc277;if(!this[_0x306a19(0x248)]()||!this[_0x306a19(0x25a)])return'';const _0x2ef965=this['_raw'][_0x306a19(0x183)];return typeof _0x2ef965===_0x306a19(0x1fb)?_0x2ef965:'';}[a0_0x3cc277(0x2ed)](){const _0x528c53=a0_0x3cc277;if(!this[_0x528c53(0x248)]()||!this[_0x528c53(0x25a)])return'';const {host:_0x100b44,path:_0x59dbc1}=this[_0x528c53(0x25a)],_0xf69a68=typeof _0x100b44==='string'?_0x100b44:'',_0x4b0e0c=typeof _0x59dbc1==='string'?_0x59dbc1:'';return _0xf69a68&&_0x4b0e0c?''+_0xf69a68+_0x4b0e0c:_0x4b0e0c;}[a0_0x3cc277(0x20b)](){const _0x598b56=a0_0x3cc277;return Object['keys'](this[_0x598b56(0x277)]());}[a0_0x3cc277(0x1cc)](){const _0x144ebb=a0_0x3cc277;if(!this[_0x144ebb(0x248)]()||typeof this['_raw']===_0x144ebb(0x20f)||!this[_0x144ebb(0x25a)]?.[_0x144ebb(0x256)])return{};const _0x22f570=this[_0x144ebb(0x25a)][_0x144ebb(0x256)];if(typeof _0x22f570!==_0x144ebb(0x1fb))return console[_0x144ebb(0x1f5)]('[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:',_0x22f570),{};return parseRequestBody(_0x22f570);}[a0_0x3cc277(0x27e)](){const _0x4e5ec0=a0_0x3cc277;if(!this[_0x4e5ec0(0x248)]()||typeof this['_raw']==='boolean'||!this[_0x4e5ec0(0x25a)]?.['responseBody'])return null;const _0x3a0288=this[_0x4e5ec0(0x25a)][_0x4e5ec0(0x182)];if(typeof _0x3a0288!=='string')return console[_0x4e5ec0(0x1f5)](_0x4e5ec0(0x27c),_0x3a0288),null;return parseResponseBody(_0x3a0288);}[a0_0x3cc277(0x2f7)](_0x346222,_0x449824,_0x144a2a,_0x5866aa){const _0x3830b6=a0_0x3cc277;return generateExampleValue(_0x346222,_0x449824,_0x144a2a,{'isPrimaryKey':_0x5866aa?.[_0x3830b6(0x197)],'description':_0x5866aa?.[_0x3830b6(0x1de)],'dbtableConfig':this[_0x3830b6(0x267)][_0x3830b6(0x29b)]});}[a0_0x3cc277(0x184)](_0x3eff06){const _0x2a6b81=a0_0x3cc277;if(!Array[_0x2a6b81(0x290)](this[_0x2a6b81(0x267)][_0x2a6b81(0x1aa)])){console[_0x2a6b81(0x1f5)](_0x2a6b81(0x192));return;}if(typeof _0x3eff06!=='string'){console[_0x2a6b81(0x1f5)](_0x2a6b81(0x1e2),_0x3eff06);return;}return this['context'][_0x2a6b81(0x1aa)][_0x2a6b81(0x2b9)](_0x3bf0fb=>_0x3bf0fb&&_0x3bf0fb['code']===_0x3eff06);}[a0_0x3cc277(0x190)](){const _0xbed59a=a0_0x3cc277,_0x26f9a1=this['isEnabled']()?'启用':'禁用';return this[_0xbed59a(0x1e4)]()+'('+this[_0xbed59a(0x205)]+',\x20'+_0x26f9a1+')';}[a0_0x3cc277(0x293)](_0x49e199){const _0x355840=a0_0x3cc277,_0x549c62=this[_0x355840(0x1ca)](),_0x354b27=_0x355840(0x230)+_0x49e199+'.'+_0x549c62+'(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容',_0x1bfca1='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'+_0x49e199+'.'+_0x549c62+'(...);\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}';return{'successCode':_0x354b27,'errorCode':_0x1bfca1};}['toJSON'](){const _0x1b4871=a0_0x3cc277;return{'name':this['getName'](),'displayName':this[_0x1b4871(0x1e4)](),'type':this[_0x1b4871(0x2bb)](),'enabled':this[_0x1b4871(0x248)](),'method':this[_0x1b4871(0x26f)](),'path':this[_0x1b4871(0x215)](),'fullUrl':this[_0x1b4871(0x2ed)](),'requestFields':this[_0x1b4871(0x20b)](),'requestParams':this[_0x1b4871(0x277)](),'responseSchema':this[_0x1b4871(0x2c7)](),'requestExample':this['generateRequestExample'](),'responseExample':this[_0x1b4871(0x232)]()};}}class GenericOperation extends Operation{[a0_0x3cc277(0x277)](){const _0x42fd66=a0_0x3cc277;return this[_0x42fd66(0x1cc)]();}[a0_0x3cc277(0x2c7)](){return this['parseRawResponseBody']();}[a0_0x3cc277(0x2db)](){const _0x221eef=a0_0x3cc277,_0x3fb933={},_0x40d36b=this[_0x221eef(0x277)](),_0x10716a=this[_0x221eef(0x2bb)]();if(Object[_0x221eef(0x263)](_0x40d36b)[_0x221eef(0x1e9)]===0x0&&_0x10716a){const _0x3e4507=getFieldsForOperation(this[_0x221eef(0x267)][_0x221eef(0x1aa)],_0x10716a,this[_0x221eef(0x267)][_0x221eef(0x1b8)]);return _0x3e4507[_0x221eef(0x2f9)](_0x1824b0=>{const _0x498b0b=_0x221eef,_0x3b133b=this[_0x498b0b(0x2f7)](_0x1824b0['code'],_0x1824b0[_0x498b0b(0x297)],typeof _0x1824b0[_0x498b0b(0x19f)]===_0x498b0b(0x1fb)?_0x1824b0[_0x498b0b(0x19f)]:undefined,{'isPrimaryKey':_0x1824b0[_0x498b0b(0x1d1)]===this[_0x498b0b(0x267)][_0x498b0b(0x1b8)],'description':_0x1824b0[_0x498b0b(0x1de)]||_0x1824b0[_0x498b0b(0x205)]});_0x3fb933[_0x1824b0[_0x498b0b(0x1d1)]]=_0x3b133b;}),_0x3fb933;}return Object[_0x221eef(0x28a)](_0x40d36b)[_0x221eef(0x2f9)](([_0x2cb736,_0x4dede6])=>{const _0x28f3cb=_0x221eef,_0x2db6ed=_0x4dede6;let _0xd0be1c;if(typeof _0x2db6ed[_0x28f3cb(0x297)]===_0x28f3cb(0x1fb))_0xd0be1c=_0x2db6ed[_0x28f3cb(0x297)];else _0x2db6ed[_0x28f3cb(0x297)]&&typeof _0x2db6ed[_0x28f3cb(0x297)]===_0x28f3cb(0x200)?_0xd0be1c=_0x2db6ed[_0x28f3cb(0x297)][_0x28f3cb(0x297)]||'TEXT':_0xd0be1c=_0x28f3cb(0x22e);const _0x5320a2=_0x2db6ed[_0x28f3cb(0x1de)],_0x1e3f38=this['getFieldDefinition'](_0x2cb736);if(_0x2cb736===_0x28f3cb(0x30c))_0x3fb933[_0x2cb736]=0x1;else{if(_0x2cb736===_0x28f3cb(0x24e))_0x3fb933[_0x2cb736]=0xa;else _0x2cb736==='id'?_0x3fb933[_0x2cb736]=0x1:_0x3fb933[_0x2cb736]=this[_0x28f3cb(0x2f7)](_0x2cb736,_0xd0be1c,typeof _0x1e3f38?.['dbType']===_0x28f3cb(0x1fb)?_0x1e3f38[_0x28f3cb(0x19f)]:undefined,{'isPrimaryKey':_0x2cb736===this[_0x28f3cb(0x267)][_0x28f3cb(0x1b8)]||_0x2cb736==='id','description':_0x5320a2||_0x1e3f38?.[_0x28f3cb(0x1de)]||_0x1e3f38?.['name']});}}),_0x3fb933;}[a0_0x3cc277(0x232)](){const _0x3dc10a=a0_0x3cc277,_0x5a9eee=this[_0x3dc10a(0x2c7)]();if(!_0x5a9eee)return{'success':!![],'msg':_0x3dc10a(0x238),'errorMsg':'','errorCode':'0000','data':null};return this['generateFromSchema'](_0x5a9eee);}[a0_0x3cc277(0x274)](_0x22f2d7){const _0x58c439=a0_0x3cc277;if(!_0x22f2d7||typeof _0x22f2d7!==_0x58c439(0x200))return{};if(Array['isArray'](_0x22f2d7)){if(_0x22f2d7[_0x58c439(0x1e9)]>0x0)return[this[_0x58c439(0x274)](_0x22f2d7[0x0])];return[];}const _0x1ac7cc={};return Object[_0x58c439(0x263)](_0x22f2d7)[_0x58c439(0x2f9)](_0x4cbb89=>{const _0x49b79f=_0x58c439,_0x50ff29=_0x22f2d7[_0x4cbb89];if(_0x50ff29&&typeof _0x50ff29===_0x49b79f(0x200)&&!Array['isArray'](_0x50ff29)&&_0x50ff29[_0x49b79f(0x297)]){const _0x3a67c5=_0x50ff29;let _0x1d8a21;if(typeof _0x3a67c5['type']===_0x49b79f(0x1fb))_0x1d8a21=_0x3a67c5['type'];else _0x3a67c5[_0x49b79f(0x297)]&&typeof _0x3a67c5[_0x49b79f(0x297)]===_0x49b79f(0x200)?_0x1d8a21=_0x3a67c5[_0x49b79f(0x297)][_0x49b79f(0x297)]||'TEXT':_0x1d8a21=_0x49b79f(0x22e);const _0x2c519e=_0x3a67c5[_0x49b79f(0x1de)];_0x1ac7cc[_0x4cbb89]=this[_0x49b79f(0x2f7)](_0x4cbb89,_0x1d8a21,undefined,{'description':_0x2c519e});}else{if(Array[_0x49b79f(0x290)](_0x50ff29))_0x1ac7cc[_0x4cbb89]=_0x50ff29['length']>0x0?[this['generateFromSchema'](_0x50ff29[0x0])]:[];else _0x50ff29&&typeof _0x50ff29===_0x49b79f(0x200)?_0x1ac7cc[_0x4cbb89]=this['generateFromSchema'](_0x50ff29):_0x1ac7cc[_0x4cbb89]=_0x50ff29;}}),_0x1ac7cc;}[a0_0x3cc277(0x20c)](_0x29a8d3,_0x5487b4){const _0x4075e9=a0_0x3cc277,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5487b4||{},_0x5b3488=this['getName'](),_0x2a2e82=this['getType'](),_0xf491f5=this[_0x4075e9(0x20b)](),_0x5d06a9=this['generateRequestExample'](),_0x9f9aa8=_0x3aa3e9=>{const _0x281f96=_0x4075e9;if(Object['keys'](_0x3aa3e9)[_0x281f96(0x1e9)]===0x0)return'{}';const _0x43efe1=JSON[_0x281f96(0x2d9)](_0x3aa3e9,null,0x2)[_0x281f96(0x292)]('\x0a')[_0x281f96(0x1ff)]((_0x347a82,_0x43571b)=>_0x43571b===0x0?_0x347a82:indent+_0x347a82)[_0x281f96(0x1ab)]('\x0a');return _0x43efe1;};switch(_0x2a2e82){case _0x4075e9(0x1b5):case _0x4075e9(0x2bc):return _0x4075e9(0x2f3)+_0x29a8d3+'.'+_0x5b3488+_0x4075e9(0x2ca);case _0x4075e9(0x24d):if(useFullExample&&Object[_0x4075e9(0x263)](_0x5d06a9)['length']>0x0)return _0x4075e9(0x2f3)+_0x29a8d3+'.'+_0x5b3488+_0x4075e9(0x1a3)+_0x9f9aa8(_0x5d06a9)+');';return _0x4075e9(0x2f3)+_0x29a8d3+'.'+_0x5b3488+_0x4075e9(0x233);case _0x4075e9(0x194):case _0x4075e9(0x304):case _0x4075e9(0x2c5):default:if(_0xf491f5[_0x4075e9(0x1e9)]>0x0){if(useFullExample&&Object[_0x4075e9(0x263)](_0x5d06a9)[_0x4075e9(0x1e9)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x29a8d3+'.'+_0x5b3488+'('+_0x9f9aa8(_0x5d06a9)+');';else{const _0x44261e=Object[_0x4075e9(0x263)](_0x5d06a9);if(_0x44261e[_0x4075e9(0x1e9)]>0x0){const _0x43c120=_0x44261e[_0x4075e9(0x1a6)](0x0,0x2)[_0x4075e9(0x1ab)](',\x20');return'const\x20result\x20=\x20await\x20client.models.'+_0x29a8d3+'.'+_0x5b3488+_0x4075e9(0x2e3)+_0x43c120+_0x4075e9(0x22c);}else return'const\x20result\x20=\x20await\x20client.models.'+_0x29a8d3+'.'+_0x5b3488+'(params);';}}else return _0x4075e9(0x2f3)+_0x29a8d3+'.'+_0x5b3488+_0x4075e9(0x258);}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x3cc277(0x277)](){const _0x7ebc2c=a0_0x3cc277,_0x30f359=super[_0x7ebc2c(0x277)](),_0x48cdf8=Object[_0x7ebc2c(0x263)](_0x30f359);return(_0x48cdf8[_0x7ebc2c(0x1e9)]===0x0||_0x48cdf8[_0x7ebc2c(0x1e9)]===0x1&&_0x48cdf8[0x0]==='code')&&(!_0x30f359[_0x7ebc2c(0x1d1)]&&(_0x30f359[_0x7ebc2c(0x1d1)]={'type':'String','description':_0x7ebc2c(0x1e5)}),_0x30f359[_0x7ebc2c(0x1a8)]={'type':_0x7ebc2c(0x1d8),'description':_0x7ebc2c(0x1af)}),_0x30f359;}[a0_0x3cc277(0x2db)](){const _0x30d6b4=a0_0x3cc277;return{'code':_0x30d6b4(0x1d9),'label':_0x30d6b4(0x1d9)};}['generateSDKCallCode'](_0x36345b){const _0x32b52e=a0_0x3cc277,_0x4ae2c6=this['getName']();return _0x32b52e(0x2f3)+_0x36345b+'.'+_0x4ae2c6+_0x32b52e(0x1b6);}}class GetListOperation extends GenericOperation{[a0_0x3cc277(0x277)](){const _0x57e03e=a0_0x3cc277,_0x4e086d=super[_0x57e03e(0x277)](),{currentPage:_0x3c55bf,pageSize:_0xfc6111,..._0x1f118c}=_0x4e086d,_0x1a8ca5={};return Object[_0x57e03e(0x28a)](_0x1f118c)['forEach'](([_0x27e284,_0x51899d])=>{const _0x3e1a5e=_0x57e03e;if(typeof _0x51899d===_0x3e1a5e(0x200)&&_0x51899d!==null){const _0x43eb8a=_0x51899d,_0x4e708b=_0x43eb8a[_0x3e1a5e(0x1de)]||'';_0x1a8ca5[_0x27e284]={..._0x43eb8a,'description':_0x4e708b?_0x4e708b+_0x3e1a5e(0x245):_0x3e1a5e(0x21a)};}else _0x1a8ca5[_0x27e284]=_0x51899d;}),{..._0x1a8ca5,'currentPage':{...typeof _0x3c55bf===_0x57e03e(0x200)?_0x3c55bf:{},'type':_0x57e03e(0x2dc),'description':_0x57e03e(0x2b2)},'pageSize':{...typeof _0xfc6111===_0x57e03e(0x200)?_0xfc6111:{},'type':_0x57e03e(0x2dc),'description':_0x57e03e(0x1ba)}};}[a0_0x3cc277(0x2db)](){const _0x3a88a8=a0_0x3cc277,_0x1a1805=super[_0x3a88a8(0x2db)](),{currentPage:_0x21ca5a,pageSize:_0x27d10a,..._0x33cb27}=_0x1a1805,_0x1f9189={},_0x319506=['id',_0x3a88a8(0x27d),'code',_0x3a88a8(0x297)];return Object[_0x3a88a8(0x28a)](_0x33cb27)[_0x3a88a8(0x2f9)](([_0x214365,_0x210af4],_0x78f7a7)=>{const _0x305fda=_0x3a88a8,_0x275d62=_0x319506[_0x305fda(0x1db)](_0x32474b=>_0x214365[_0x305fda(0x1da)]()[_0x305fda(0x1c8)](_0x32474b))||_0x78f7a7%0x3===0x0;if(_0x275d62&&_0x210af4!==null&&_0x210af4!==undefined){if(typeof _0x210af4===_0x305fda(0x281))_0x1f9189[_0x214365]=[_0x210af4,_0x210af4+0x1,_0x210af4+0x2];else typeof _0x210af4===_0x305fda(0x1fb)?_0x1f9189[_0x214365]=[_0x210af4,_0x210af4+'_2',_0x210af4+'_3']:_0x1f9189[_0x214365]=[_0x210af4];}else _0x1f9189[_0x214365]=_0x210af4;}),{..._0x1f9189,'currentPage':_0x21ca5a??0x1,'pageSize':_0x27d10a??0xa};}[a0_0x3cc277(0x20c)](_0x40a0df,_0x5290c2){const _0x30e2cc=a0_0x3cc277,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5290c2||{},_0x1c82d2=this['getName'](),_0x25518e=this[_0x30e2cc(0x2db)](),{currentPage:_0xb0a03e,pageSize:_0x2f84bc,..._0x32300e}=_0x25518e;if(useFullExample&&Object[_0x30e2cc(0x263)](_0x25518e)['length']>0x0){const _0x3c0119=JSON['stringify'](_0x25518e,null,0x2)[_0x30e2cc(0x292)]('\x0a')[_0x30e2cc(0x1ff)]((_0x516c28,_0x568a04)=>_0x568a04===0x0?_0x516c28:indent+_0x516c28)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x40a0df+'.'+_0x1c82d2+'('+_0x3c0119+');';}if(Object[_0x30e2cc(0x263)](_0x32300e)['length']>0x0){const _0x8de0f0=Object[_0x30e2cc(0x263)](_0x32300e)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x40a0df+'.'+_0x1c82d2+_0x30e2cc(0x2e3)+_0x8de0f0+_0x30e2cc(0x229);}return _0x30e2cc(0x2f3)+_0x40a0df+'.'+_0x1c82d2+_0x30e2cc(0x307);}}class OperationFactory{[a0_0x3cc277(0x194)](_0x23c293,_0x1a2b79,_0x4f91ce){const _0x4e1558=a0_0x3cc277;switch(_0x23c293){case _0x4e1558(0x2c5):return new GetSelectOptionsOperation(_0x23c293,_0x1a2b79,_0x4f91ce);case _0x4e1558(0x304):return new GetListOperation(_0x23c293,_0x1a2b79,_0x4f91ce);default:return new GenericOperation(_0x23c293,_0x1a2b79,_0x4f91ce);}}[a0_0x3cc277(0x1dc)](_0x582b93,_0x11c87b){const _0x5d1bfb=a0_0x3cc277,_0x1b61a7=new Map();return Object['entries'](_0x582b93)[_0x5d1bfb(0x2f9)](([_0x1f53ce,_0x517a08])=>{const _0x24dbc5=_0x5d1bfb;_0x1b61a7[_0x24dbc5(0x1bd)](_0x1f53ce,this['create'](_0x1f53ce,_0x517a08,_0x11c87b));}),_0x1b61a7;}}class OperationList{[a0_0x3cc277(0x1e8)];constructor(_0xa1a95c,_0x2be6ca){const _0x1a8ac2=a0_0x3cc277,_0x1496fc=new OperationFactory();this[_0x1a8ac2(0x1e8)]=_0x1496fc[_0x1a8ac2(0x1dc)](_0xa1a95c,_0x2be6ca);}[a0_0x3cc277(0x1ee)](_0x5f17d0){const _0xd4cd5d=a0_0x3cc277;return this[_0xd4cd5d(0x1e8)][_0xd4cd5d(0x1ee)](_0x5f17d0);}[a0_0x3cc277(0x1dd)](_0x2a231a){const _0x47955c=a0_0x3cc277;return this['_operations'][_0x47955c(0x1dd)](_0x2a231a);}[a0_0x3cc277(0x27b)](){const _0x462a2d=a0_0x3cc277;return this[_0x462a2d(0x1e8)][_0x462a2d(0x27b)];}[a0_0x3cc277(0x2f6)](){const _0xd91875=a0_0x3cc277;return Array[_0xd91875(0x21e)](this[_0xd91875(0x1e8)]['keys']());}[a0_0x3cc277(0x196)](){const _0x5b9a58=a0_0x3cc277;return Array['from'](this[_0x5b9a58(0x1e8)][_0x5b9a58(0x1c6)]());}[a0_0x3cc277(0x210)](){const _0x494803=a0_0x3cc277;return this[_0x494803(0x196)]()[_0x494803(0x1c1)](_0x59d36e=>_0x59d36e[_0x494803(0x248)]());}['getDisabled'](){const _0x22cf66=a0_0x3cc277;return this['toArray']()[_0x22cf66(0x1c1)](_0x241c75=>!_0x241c75[_0x22cf66(0x248)]());}[a0_0x3cc277(0x2fc)](){const _0x394398=a0_0x3cc277;return this[_0x394398(0x210)]()[_0x394398(0x1ff)](_0x448ef0=>_0x448ef0[_0x394398(0x1ca)]());}[a0_0x3cc277(0x273)](){const _0x45abad=a0_0x3cc277;return this[_0x45abad(0x18c)]()['map'](_0xb45b04=>_0xb45b04['getName']());}[a0_0x3cc277(0x24f)](_0x4b6682){const _0x327a7e=a0_0x3cc277;return this[_0x327a7e(0x196)]()[_0x327a7e(0x1c1)](_0x18f601=>_0x18f601[_0x327a7e(0x2bb)]()===_0x4b6682);}[a0_0x3cc277(0x1c1)](_0x5ce7fc){const _0x56fc0b=a0_0x3cc277;return this[_0x56fc0b(0x196)]()[_0x56fc0b(0x1c1)](_0x5ce7fc);}[a0_0x3cc277(0x2ac)](_0x6ba34e={}){const _0x4204ed=a0_0x3cc277;let _0x20dd11=this[_0x4204ed(0x196)]();!_0x6ba34e[_0x4204ed(0x18e)]&&(_0x20dd11=_0x20dd11[_0x4204ed(0x1c1)](_0x5a9cd4=>_0x5a9cd4[_0x4204ed(0x248)]()));if(_0x6ba34e['filterBlacklist']!==![]){const _0x2d673e=_0x20dd11['map'](_0x10ea0a=>({'name':_0x10ea0a[_0x4204ed(0x1ca)](),'operation':_0x10ea0a})),_0x358670=filterApiOperations(_0x2d673e);_0x20dd11=_0x358670[_0x4204ed(0x1ff)](_0x362d77=>_0x362d77[_0x4204ed(0x1d4)]);}return _0x6ba34e[_0x4204ed(0x1a1)]&&(_0x20dd11=_0x20dd11[_0x4204ed(0x1c1)](_0x6ba34e[_0x4204ed(0x1a1)])),_0x20dd11;}[a0_0x3cc277(0x1be)](){const _0x590d0b=a0_0x3cc277,_0x408b9d=this[_0x590d0b(0x210)]();return{'total':this[_0x590d0b(0x27b)](),'enabled':_0x408b9d['length'],'disabled':this[_0x590d0b(0x27b)]()-_0x408b9d[_0x590d0b(0x1e9)],'byType':this[_0x590d0b(0x1cd)](_0x408b9d),'byMethod':this['getCountByMethod'](_0x408b9d)};}[a0_0x3cc277(0x1cd)](_0x6507ac){const _0x54ad54=a0_0x3cc277,_0x5d1c86={};return _0x6507ac[_0x54ad54(0x2f9)](_0x4b6eb2=>{const _0x2ae83e=_0x54ad54,_0x750f3d=_0x4b6eb2[_0x2ae83e(0x2bb)]();_0x750f3d&&(_0x5d1c86[_0x750f3d]=(_0x5d1c86[_0x750f3d]||0x0)+0x1);}),_0x5d1c86;}['getCountByMethod'](_0x47cb52){const _0x1d2fbc=a0_0x3cc277,_0x113199={};return _0x47cb52[_0x1d2fbc(0x2f9)](_0x50a282=>{const _0x46eede=_0x1d2fbc,_0x2c3083=_0x50a282[_0x46eede(0x26f)]();_0x2c3083&&(_0x113199[_0x2c3083]=(_0x113199[_0x2c3083]||0x0)+0x1);}),_0x113199;}[Symbol[a0_0x3cc277(0x208)]](){const _0x5a8297=a0_0x3cc277;return this[_0x5a8297(0x1e8)][_0x5a8297(0x1c6)]();}[a0_0x3cc277(0x190)](){const _0x54aaa1=a0_0x3cc277,_0x2345b1=this[_0x54aaa1(0x1be)]();return'OperationList('+_0x2345b1['enabled']+'/'+_0x2345b1[_0x54aaa1(0x261)]+'\x20operations)';}}class DrivenDataDetail extends DatasetItem{[a0_0x3cc277(0x1ea)];constructor(_0x4b5bc6){const _0x1cf006=a0_0x3cc277;super({..._0x4b5bc6,'id':_0x4b5bc6[_0x1cf006(0x1b2)],'datasetCode':_0x4b5bc6[_0x1cf006(0x25c)]});}get['source'](){const _0x507a19=a0_0x3cc277;return this[_0x507a19(0x25a)][_0x507a19(0x188)];}['getSource'](){const _0x4d47c6=a0_0x3cc277;return this[_0x4d47c6(0x188)];}get['version'](){const _0x33a4c1=a0_0x3cc277;return this[_0x33a4c1(0x25a)][_0x33a4c1(0x1c4)];}[a0_0x3cc277(0x2c9)](){const _0x9e6d41=a0_0x3cc277;return this[_0x9e6d41(0x25a)][_0x9e6d41(0x18b)]||[];}[a0_0x3cc277(0x244)](){const _0xc6157=a0_0x3cc277;return this['getFields']()[_0xc6157(0x1e9)];}['getField'](_0x48ef83){const _0x5913f1=a0_0x3cc277;if(typeof _0x48ef83!==_0x5913f1(0x1fb)){console['warn'](_0x5913f1(0x294),_0x48ef83);return;}return this['getFields']()[_0x5913f1(0x2b9)](_0x211f45=>_0x211f45&&_0x211f45[_0x5913f1(0x1d1)]===_0x48ef83);}[a0_0x3cc277(0x1b7)](_0xc0b420){const _0x183086=a0_0x3cc277;return Boolean(this[_0x183086(0x300)](_0xc0b420));}[a0_0x3cc277(0x1e3)](_0x1ea33f){const _0x187cc6=a0_0x3cc277;if(!_0x1ea33f||typeof _0x1ea33f!==_0x187cc6(0x200))return console[_0x187cc6(0x1f5)]('[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:',_0x1ea33f),{};if(!_0x1ea33f[_0x187cc6(0x240)])return{};try{const _0xa00b64=typeof _0x1ea33f[_0x187cc6(0x240)]===_0x187cc6(0x1fb)?JSON[_0x187cc6(0x20e)](_0x1ea33f['extend']):_0x1ea33f[_0x187cc6(0x240)];if(typeof _0xa00b64!==_0x187cc6(0x200)||_0xa00b64===null)return console[_0x187cc6(0x1f5)](_0x187cc6(0x266),_0xa00b64),{};return _0xa00b64;}catch(_0x1c8159){return console['warn'](_0x187cc6(0x1ac)+_0x1ea33f[_0x187cc6(0x1d1)]+'\x20的\x20extend\x20配置失败:',_0x1c8159),{};}}[a0_0x3cc277(0x28e)](_0x596944){const _0x2ae892=a0_0x3cc277;if(!_0x596944||typeof _0x596944!==_0x2ae892(0x200))return![];const _0x2443e0=this['parseFieldExtend'](_0x596944);return Boolean(_0x2443e0['primaryKey']);}[a0_0x3cc277(0x247)](_0xccab89){const _0x5b99a1=a0_0x3cc277;if(!_0xccab89||typeof _0xccab89!==_0x5b99a1(0x200))return![];const _0x2c7051=this[_0x5b99a1(0x1e3)](_0xccab89);return Boolean(_0x2c7051[_0x5b99a1(0x214)]);}[a0_0x3cc277(0x1f1)](_0xbe23c){const _0x52193e=a0_0x3cc277;if(!_0xbe23c||typeof _0xbe23c!==_0x52193e(0x200))return![];const _0x31af84=this[_0x52193e(0x1e3)](_0xbe23c);return Boolean(_0x31af84[_0x52193e(0x30d)]);}[a0_0x3cc277(0x1fc)](){const _0x117b9a=a0_0x3cc277;return this[_0x117b9a(0x2c9)]()[_0x117b9a(0x1c1)](_0x2d0e9a=>this[_0x117b9a(0x28e)](_0x2d0e9a));}[a0_0x3cc277(0x213)](){const _0x4eed1c=a0_0x3cc277;return this['getFields']()[_0x4eed1c(0x1c1)](_0x3bce5e=>this[_0x4eed1c(0x247)](_0x3bce5e));}[a0_0x3cc277(0x1a9)](){const _0x1d1aa1=a0_0x3cc277;return this['getFields']()[_0x1d1aa1(0x1c1)](_0x5743a8=>!this[_0x1d1aa1(0x247)](_0x5743a8));}['getRequiredFields'](){const _0xecd877=a0_0x3cc277;return this[_0xecd877(0x2c9)]()[_0xecd877(0x1c1)](_0x224a0c=>this[_0xecd877(0x1f1)](_0x224a0c));}[a0_0x3cc277(0x18a)](){const _0x2ddd38=a0_0x3cc277,_0x35671a={};for(const _0x21100a of this[_0x2ddd38(0x2c9)]()){!_0x35671a[_0x21100a['type']]&&(_0x35671a[_0x21100a[_0x2ddd38(0x297)]]=[]),_0x35671a[_0x21100a[_0x2ddd38(0x297)]][_0x2ddd38(0x23c)](_0x21100a);}return _0x35671a;}[a0_0x3cc277(0x1a4)](_0x3940fd){const _0x434adb=a0_0x3cc277;if(!_0x3940fd||typeof _0x3940fd!==_0x434adb(0x200))return![];const _0x43d130=[_0x434adb(0x203),_0x434adb(0x204),_0x434adb(0x1a2)];return _0x43d130[_0x434adb(0x1c8)](_0x3940fd[_0x434adb(0x297)]);}[a0_0x3cc277(0x234)](_0x2fa2f6){const _0x2b288d=a0_0x3cc277;if(!_0x2fa2f6||typeof _0x2fa2f6!==_0x2b288d(0x200))return![];return _0x2fa2f6[_0x2b288d(0x297)]===_0x2b288d(0x1a2);}[a0_0x3cc277(0x22f)](_0x31fa99){const _0x214307=a0_0x3cc277;if(!this[_0x214307(0x1a4)](_0x31fa99))return[];const _0x4392fb=this[_0x214307(0x1e3)](_0x31fa99);if(Array['isArray'](_0x4392fb['options'])&&_0x4392fb[_0x214307(0x262)][_0x214307(0x1e9)]>0x0)return _0x4392fb['options'];return[];}[a0_0x3cc277(0x298)](_0x225319){const _0xc9083a=a0_0x3cc277;if(!this[_0xc9083a(0x1a4)](_0x225319))return;const _0x42e011=this[_0xc9083a(0x1e3)](_0x225319);return _0x42e011[_0xc9083a(0x1b3)];}[a0_0x3cc277(0x2be)](_0x57cc88){const _0x48dbe5=a0_0x3cc277;if(!this[_0x48dbe5(0x1a4)](_0x57cc88))return;const _0x5c903b=this[_0x48dbe5(0x22f)](_0x57cc88),_0x200f22=this[_0x48dbe5(0x298)](_0x57cc88),_0x5c0bf5=[],_0x4098c8={},_0x2fc57e=_0x1a7437=>{const _0xa3234c=_0x48dbe5;_0x1a7437[_0xa3234c(0x2f9)](_0x5a4a70=>{const _0x4e5672=_0xa3234c;_0x5c0bf5['push'](_0x5a4a70[_0x4e5672(0x191)]),_0x4098c8[String(_0x5a4a70[_0x4e5672(0x191)])]=_0x5a4a70[_0x4e5672(0x1a8)],_0x5a4a70[_0x4e5672(0x1ef)]&&_0x5a4a70[_0x4e5672(0x1ef)][_0x4e5672(0x1e9)]>0x0&&_0x2fc57e(_0x5a4a70[_0x4e5672(0x1ef)]);});};return _0x5c903b[_0x48dbe5(0x1e9)]>0x0&&_0x2fc57e(_0x5c903b),{'code':_0x57cc88[_0x48dbe5(0x1d1)],'name':_0x57cc88[_0x48dbe5(0x205)],'type':_0x57cc88['type'],'multiple':this[_0x48dbe5(0x234)](_0x57cc88),'options':_0x5c903b[_0x48dbe5(0x1e9)]>0x0?_0x5c903b:undefined,'selectItemsSource':_0x200f22,'values':_0x5c0bf5,'valueLabels':_0x4098c8};}[a0_0x3cc277(0x243)](){const _0x2ad4b1=a0_0x3cc277;return this['getFields']()['filter'](_0x2ee300=>this[_0x2ad4b1(0x1a4)](_0x2ee300));}[a0_0x3cc277(0x1bf)](){const _0x3e127b=a0_0x3cc277,_0x39ada9={};return this[_0x3e127b(0x243)]()[_0x3e127b(0x2f9)](_0x3626d4=>{const _0x2513e6=_0x3e127b,_0xe57757=this['getEnumFieldMeta'](_0x3626d4);_0xe57757&&(_0x39ada9[_0x3626d4[_0x2513e6(0x1d1)]]=_0xe57757);}),_0x39ada9;}['validateEnumValue'](_0x1f5171,_0x270595){const _0x1b5ed7=a0_0x3cc277,_0x42077a=this['getEnumFieldMeta'](_0x1f5171);if(!_0x42077a)return!![];if(_0x42077a['selectItemsSource']&&!_0x42077a['options'])return!![];if(_0x42077a[_0x1b5ed7(0x26a)]&&Array[_0x1b5ed7(0x290)](_0x270595))return _0x270595['every'](_0x259b49=>_0x42077a['values'][_0x1b5ed7(0x1c8)](_0x259b49));return _0x42077a[_0x1b5ed7(0x1c6)][_0x1b5ed7(0x1c8)](_0x270595);}['getOperationList'](){const _0x57de5b=a0_0x3cc277;return!this[_0x57de5b(0x1ea)]&&(this[_0x57de5b(0x1ea)]=new OperationList(this[_0x57de5b(0x25a)]['operations']||{},{'fields':this[_0x57de5b(0x2c9)](),'pkField':this[_0x57de5b(0x25a)][_0x57de5b(0x29b)]?.['pkField'],'dbtableConfig':this[_0x57de5b(0x25a)]['dbtableConfig']})),this['_operationList'];}[a0_0x3cc277(0x23f)](){const _0x29ec1a=a0_0x3cc277;return this['getOperationList']()[_0x29ec1a(0x196)]();}[a0_0x3cc277(0x259)](){const _0x13b4f1=a0_0x3cc277;return this[_0x13b4f1(0x231)]()[_0x13b4f1(0x27b)]();}[a0_0x3cc277(0x2af)](_0x135c8f){const _0x514e06=a0_0x3cc277;if(typeof _0x135c8f!==_0x514e06(0x1fb)){console[_0x514e06(0x1f5)](_0x514e06(0x1c5),_0x135c8f);return;}return this[_0x514e06(0x231)]()[_0x514e06(0x1ee)](_0x135c8f);}['hasOperation'](_0x3d01cc){const _0x49ddaa=a0_0x3cc277;if(typeof _0x3d01cc!=='string')return![];return this[_0x49ddaa(0x231)]()[_0x49ddaa(0x1dd)](_0x3d01cc);}[a0_0x3cc277(0x29a)](_0x17b099){const _0x3ac006=a0_0x3cc277;if(typeof _0x17b099!==_0x3ac006(0x1fb))return![];const _0x49f75c=this[_0x3ac006(0x2af)](_0x17b099);return _0x49f75c?.['isEnabled']()||![];}['getEnabledOperations'](){const _0x54ba33=a0_0x3cc277;return this[_0x54ba33(0x231)]()[_0x54ba33(0x2fc)]();}[a0_0x3cc277(0x2a8)](){const _0x56f2d1=a0_0x3cc277;return this[_0x56f2d1(0x231)]()[_0x56f2d1(0x273)]();}['getEnabledOperationInstances'](){const _0x390e4c=a0_0x3cc277;return this[_0x390e4c(0x231)]()[_0x390e4c(0x210)]();}[a0_0x3cc277(0x2f4)](){const _0x3db1c6=a0_0x3cc277;return this[_0x3db1c6(0x231)]()[_0x3db1c6(0x18c)]();}['getStats'](){const _0x1f5520=a0_0x3cc277;return{'fieldCount':this[_0x1f5520(0x244)](),'systemFieldCount':this[_0x1f5520(0x213)]()[_0x1f5520(0x1e9)],'businessFieldCount':this[_0x1f5520(0x1a9)]()[_0x1f5520(0x1e9)],'requiredFieldCount':this['getRequiredFields']()[_0x1f5520(0x1e9)],'primaryKeyCount':this[_0x1f5520(0x1fc)]()[_0x1f5520(0x1e9)],'operationCount':this[_0x1f5520(0x259)](),'enabledOperationCount':this[_0x1f5520(0x2da)]()[_0x1f5520(0x1e9)]};}[a0_0x3cc277(0x308)](){const _0x318c49=a0_0x3cc277;return new DatasetItem({'id':this['id'],'name':this[_0x318c49(0x205)],'datasetCode':this[_0x318c49(0x1f8)],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x3cc277(0x190)](){const _0x19e20d=a0_0x3cc277;return _0x19e20d(0x29e)+this[_0x19e20d(0x205)]+',\x20'+this[_0x19e20d(0x1f8)]+',\x20'+this['getFieldCount']()+_0x19e20d(0x1b1)+this[_0x19e20d(0x259)]()+_0x19e20d(0x19d);}}class DatasetGroup{[a0_0x3cc277(0x2d0)];constructor(_0x2b01b6){const _0x230897=a0_0x3cc277;this[_0x230897(0x2d0)]=Array[_0x230897(0x290)](_0x2b01b6)?[..._0x2b01b6]:[_0x2b01b6],this['items'][_0x230897(0x180)]((_0x3cd25c,_0x79b1dc)=>{const _0x292f94=Number(_0x3cd25c['id'])||0x0,_0x3bddff=Number(_0x79b1dc['id'])||0x0;return _0x3bddff-_0x292f94;});}[a0_0x3cc277(0x253)](){const _0x57ed22=a0_0x3cc277;return this[_0x57ed22(0x2d0)]['length']>0x1;}[a0_0x3cc277(0x1f3)](){const _0x131b68=a0_0x3cc277;return this[_0x131b68(0x2d0)][0x0];}[a0_0x3cc277(0x21d)](){const _0x53677f=a0_0x3cc277;return this[_0x53677f(0x2d0)][this[_0x53677f(0x2d0)][_0x53677f(0x1e9)]-0x1];}[a0_0x3cc277(0x287)](){const _0x31e4a0=a0_0x3cc277;return[...this[_0x31e4a0(0x2d0)]];}[a0_0x3cc277(0x217)](){const _0x21c977=a0_0x3cc277;return this[_0x21c977(0x2d0)][_0x21c977(0x1e9)];}['getAt'](_0x2cd882){const _0x5c6b44=a0_0x3cc277;return this[_0x5c6b44(0x2d0)][_0x2cd882];}[a0_0x3cc277(0x1d6)](_0x2f1fb6){const _0x45438e=a0_0x3cc277;return this[_0x45438e(0x2d0)][_0x45438e(0x2b9)](_0x21c620=>_0x21c620['id']===_0x2f1fb6);}[a0_0x3cc277(0x1d0)](_0x1e3011){const _0xf66cc8=a0_0x3cc277;return this[_0xf66cc8(0x2d0)]['find'](_0x3d7e1c=>_0x3d7e1c[_0xf66cc8(0x1f8)]===_0x1e3011);}[a0_0x3cc277(0x2f0)](){const _0x4d05e9=a0_0x3cc277;return this[_0x4d05e9(0x2d0)][_0x4d05e9(0x1ff)](_0x33a874=>_0x33a874['id'])['filter'](_0x2dafba=>_0x2dafba!==undefined);}[a0_0x3cc277(0x1c7)](){const _0x55229f=a0_0x3cc277;return this[_0x55229f(0x2d0)][_0x55229f(0x1ff)](_0xc224bf=>_0xc224bf[_0x55229f(0x1f8)]);}[a0_0x3cc277(0x190)](){const _0x496ca2=a0_0x3cc277;if(this[_0x496ca2(0x253)]())return _0x496ca2(0x284)+this['items'][_0x496ca2(0x1e9)]+_0x496ca2(0x26b)+this[_0x496ca2(0x1f3)]()[_0x496ca2(0x205)]+')';return _0x496ca2(0x284)+this[_0x496ca2(0x2d0)][0x0][_0x496ca2(0x205)]+')';}}class DatasetGroupMap{[a0_0x3cc277(0x295)];constructor(_0x2379b0){const _0x48527d=a0_0x3cc277;this['groups']=new Map();for(const _0x395c80 of _0x2379b0){const _0x45f697=getTableKey(_0x395c80);if(!this[_0x48527d(0x295)]['has'](_0x45f697))this[_0x48527d(0x295)][_0x48527d(0x1bd)](_0x45f697,new DatasetGroup(_0x395c80));else{const _0x1c06ac=this[_0x48527d(0x295)]['get'](_0x45f697),_0x4fdf23=[..._0x1c06ac[_0x48527d(0x287)](),_0x395c80];this['groups']['set'](_0x45f697,new DatasetGroup(_0x4fdf23));}}}[a0_0x3cc277(0x1ee)](_0x2ddd7b){return this['groups']['get'](_0x2ddd7b);}[a0_0x3cc277(0x1dd)](_0x1d21b1){const _0xca5362=a0_0x3cc277;return this[_0xca5362(0x295)][_0xca5362(0x1dd)](_0x1d21b1);}get['size'](){const _0x35b0a3=a0_0x3cc277;return this[_0x35b0a3(0x295)][_0x35b0a3(0x27b)];}['keys'](){const _0x28c900=a0_0x3cc277;return this[_0x28c900(0x295)][_0x28c900(0x263)]();}[a0_0x3cc277(0x1c6)](){const _0x482b04=a0_0x3cc277;return this['groups'][_0x482b04(0x1c6)]();}['entries'](){const _0x60df58=a0_0x3cc277;return this[_0x60df58(0x295)][_0x60df58(0x28a)]();}[Symbol[a0_0x3cc277(0x208)]](){const _0x1857a0=a0_0x3cc277;return this[_0x1857a0(0x295)][_0x1857a0(0x28a)]();}[a0_0x3cc277(0x2f9)](_0x44c77a){const _0x53d88b=a0_0x3cc277;this[_0x53d88b(0x295)][_0x53d88b(0x2f9)]((_0x4b8ff0,_0xd32792)=>_0x44c77a(_0x4b8ff0,_0xd32792,this));}[a0_0x3cc277(0x216)](){const _0x2837a9=a0_0x3cc277,_0x547202=new Map();for(const [_0x27a125,_0x56135c]of this[_0x2837a9(0x295)]){_0x56135c[_0x2837a9(0x253)]()&&_0x547202['set'](_0x27a125,_0x56135c);}return _0x547202;}[a0_0x3cc277(0x275)](){const _0x5bb370=a0_0x3cc277;for(const _0x4323f8 of this['groups'][_0x5bb370(0x1c6)]()){if(_0x4323f8[_0x5bb370(0x253)]())return!![];}return![];}[a0_0x3cc277(0x1fd)](){const _0x4863e9=a0_0x3cc277;let _0x45b12f=0x0,_0xe53463=0x0;for(const _0x3b0353 of this[_0x4863e9(0x295)]['values']()){_0x3b0353[_0x4863e9(0x253)]()&&(_0x45b12f++,_0xe53463+=_0x3b0353[_0x4863e9(0x217)]());}return{'conflictGroupCount':_0x45b12f,'conflictItemCount':_0xe53463,'totalGroups':this[_0x4863e9(0x295)]['size']};}[a0_0x3cc277(0x2eb)](){const _0x54f8b5=a0_0x3cc277,_0x3d7058=[];for(const _0x5b5cdb of this[_0x54f8b5(0x295)][_0x54f8b5(0x1c6)]()){_0x3d7058[_0x54f8b5(0x23c)](..._0x5b5cdb['getAll']());}return _0x3d7058;}[a0_0x3cc277(0x306)](){const _0x5402dd=a0_0x3cc277,_0x314063=[];for(const _0x172b0b of this[_0x5402dd(0x295)][_0x5402dd(0x1c6)]()){_0x314063[_0x5402dd(0x23c)](_0x172b0b[_0x5402dd(0x1f3)]());}return _0x314063;}[a0_0x3cc277(0x1f3)](_0xab1bf4){const _0x53dfc8=a0_0x3cc277;return this['groups'][_0x53dfc8(0x1ee)](_0xab1bf4)?.[_0x53dfc8(0x1f3)]();}[a0_0x3cc277(0x287)](_0x1dcc29){const _0xd20265=a0_0x3cc277;return this[_0xd20265(0x295)][_0xd20265(0x1ee)](_0x1dcc29)?.['getAll']()||[];}[a0_0x3cc277(0x299)](){const _0x1f6b8b=a0_0x3cc277,_0x43b00c=this['getLatestDatasets'](),_0x27c3eb=_0x43b00c[_0x1f6b8b(0x1ff)](_0x17488e=>_0x17488e[_0x1f6b8b(0x1a0)]());return generateDatasetsConfig(_0x27c3eb,{'enableDeduplication':![]});}[a0_0x3cc277(0x2c0)](){const _0x5fa834=a0_0x3cc277,_0x5c8bd0=this['getAllDatasets'](),_0x5d80af=_0x5c8bd0[_0x5fa834(0x1ff)](_0x6d02e4=>_0x6d02e4[_0x5fa834(0x1a0)]());return generateFullDatasetsConfig(_0x5d80af);}[a0_0x3cc277(0x2b6)](){const _0x310a42={};for(const [_0x3031f4,_0x22eb70]of this['groups']){_0x310a42[_0x3031f4]=_0x22eb70;}return _0x310a42;}[a0_0x3cc277(0x1a0)](){const _0x5222cc=a0_0x3cc277,_0x589863={};for(const [_0x27219c,_0x13f996]of this[_0x5222cc(0x295)]){_0x589863[_0x27219c]=_0x13f996['getAll']()['map'](_0x191c1c=>_0x191c1c[_0x5222cc(0x1a0)]());}return _0x589863;}[a0_0x3cc277(0x190)](){const _0x2156a3=a0_0x3cc277;return'DatasetGroupMap('+this[_0x2156a3(0x295)][_0x2156a3(0x27b)]+_0x2156a3(0x1ed)+(this['hasConflicts']()?'has\x20conflicts':_0x2156a3(0x2d1))+')';}}class DatasetList{['_datasetMap'];constructor(_0x4a0511){const _0x31a523=a0_0x3cc277;let _0x559993;if(Array['isArray'](_0x4a0511))_0x559993=_0x4a0511;else{if(_0x31a523(0x2cb)in _0x4a0511){if(!_0x4a0511[_0x31a523(0x2cb)]||!_0x4a0511[_0x31a523(0x1b9)]?.[_0x31a523(0x260)])throw new Error(_0x31a523(0x2c3));_0x559993=_0x4a0511[_0x31a523(0x1b9)][_0x31a523(0x260)]['map'](_0x14596f=>({..._0x14596f,'datasetCode':_0x14596f[_0x31a523(0x1d1)]||_0x14596f[_0x31a523(0x1f8)]}));}else{if(_0x31a523(0x260)in _0x4a0511){if(!Array['isArray'](_0x4a0511[_0x31a523(0x260)]))throw new Error(_0x31a523(0x20d));_0x559993=_0x4a0511['tableData'][_0x31a523(0x1ff)](_0x5a5a7e=>({..._0x5a5a7e,'datasetCode':_0x5a5a7e[_0x31a523(0x1d1)]||_0x5a5a7e['datasetCode']}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse');}}const _0xe053f9=_0x559993[_0x31a523(0x1ff)](_0x4f136d=>new DatasetItem(_0x4f136d));this[_0x31a523(0x1ad)]=new DatasetGroupMap(_0xe053f9);}get[a0_0x3cc277(0x2df)](){const _0x3e3024=a0_0x3cc277;return this[_0x3e3024(0x1ad)];}['getItems'](){const _0x4a3068=a0_0x3cc277;return this[_0x4a3068(0x1ad)][_0x4a3068(0x2eb)]();}[a0_0x3cc277(0x217)](){const _0x2e2869=a0_0x3cc277;return this[_0x2e2869(0x30a)]()[_0x2e2869(0x1e9)];}[a0_0x3cc277(0x1d5)](){const _0x350042=a0_0x3cc277;return this[_0x350042(0x1ad)][_0x350042(0x27b)]===0x0;}['getAt'](_0x25bfc6){const _0xebd5e8=a0_0x3cc277;return this[_0xebd5e8(0x30a)]()[_0x25bfc6];}[a0_0x3cc277(0x2d7)](){const _0x3cbff5=a0_0x3cc277;return this[_0x3cbff5(0x30a)]()[0x0];}[a0_0x3cc277(0x220)](){const _0x363014=a0_0x3cc277,_0x370732=this[_0x363014(0x30a)]();return _0x370732[_0x370732[_0x363014(0x1e9)]-0x1];}[a0_0x3cc277(0x1d0)](_0x1f6102){const _0x23fbc0=a0_0x3cc277;for(const _0x4bd0e8 of this[_0x23fbc0(0x1ad)]['values']()){const _0x597dab=_0x4bd0e8[_0x23fbc0(0x1d0)](_0x1f6102);if(_0x597dab)return _0x597dab;}return;}[a0_0x3cc277(0x2ef)](_0x11a59d){const _0x1a0b48=a0_0x3cc277;return this[_0x1a0b48(0x30a)]()['find'](_0x48402e=>_0x48402e['name']===_0x11a59d);}[a0_0x3cc277(0x1d6)](_0x3fb054){const _0x2cf95b=a0_0x3cc277;for(const _0x191850 of this[_0x2cf95b(0x1ad)][_0x2cf95b(0x1c6)]()){const _0x5695f8=_0x191850[_0x2cf95b(0x1d6)](_0x3fb054);if(_0x5695f8)return _0x5695f8;}return;}[a0_0x3cc277(0x286)](_0x186015){const _0x578874=a0_0x3cc277,_0x1fdcc7=getTableKey(_0x186015);return this[_0x578874(0x1ad)][_0x578874(0x1f3)](_0x1fdcc7);}['filter'](_0x495d48){const _0x1a8625=a0_0x3cc277,_0x313bf8=this[_0x1a8625(0x30a)]()[_0x1a8625(0x1c1)](_0x495d48);return new DatasetList(_0x313bf8[_0x1a8625(0x1ff)](_0x4298a2=>_0x4298a2[_0x1a8625(0x1a0)]()));}[a0_0x3cc277(0x2b5)](_0x47e247){const _0x1b0929=a0_0x3cc277;return this[_0x1b0929(0x30a)]()[_0x1b0929(0x1c1)](_0x47e247);}[a0_0x3cc277(0x2f9)](_0x33e002){const _0x15f557=a0_0x3cc277;this['getItems']()[_0x15f557(0x2f9)](_0x33e002);}[a0_0x3cc277(0x1ff)](_0x43ec20){const _0x48d645=a0_0x3cc277;return this[_0x48d645(0x30a)]()['map'](_0x43ec20);}[Symbol[a0_0x3cc277(0x208)]](){const _0x18afeb=a0_0x3cc277;return this[_0x18afeb(0x30a)]()[Symbol[_0x18afeb(0x208)]]();}[a0_0x3cc277(0x193)](){const _0x2396e7=a0_0x3cc277;return this[_0x2396e7(0x30a)]()[_0x2396e7(0x1c1)](_0x1e7408=>_0x1e7408[_0x2396e7(0x223)]());}[a0_0x3cc277(0x224)](){const _0x488b86=a0_0x3cc277;return this['getItems']()[_0x488b86(0x1c1)](_0x4596ad=>!_0x4596ad[_0x488b86(0x223)]());}[a0_0x3cc277(0x265)](){const _0x355523=a0_0x3cc277,_0x512407={};for(const _0x2cd5ae of this[_0x355523(0x1ad)][_0x355523(0x1c6)]()){const _0x59545d=_0x2cd5ae[_0x355523(0x1f3)]()['getTableName']();_0x512407[_0x59545d]=_0x2cd5ae['getAll']();}return _0x512407;}[a0_0x3cc277(0x187)](){const _0xf57819=a0_0x3cc277,_0x4c3306={};for(const _0x5953c9 of this[_0xf57819(0x1ad)][_0xf57819(0x216)]()[_0xf57819(0x1c6)]()){const _0xe17a78=_0x5953c9[_0xf57819(0x1f3)]()[_0xf57819(0x1f6)]();_0x4c3306[_0xe17a78]=_0x5953c9[_0xf57819(0x287)]()[_0xf57819(0x1ff)](_0x3b544c=>_0x3b544c['toJSON']());}return{'hasConflicts':Object['keys'](_0x4c3306)['length']>0x0,'conflicts':_0x4c3306};}[a0_0x3cc277(0x275)](){return this['_datasetMap']['hasConflicts']();}[a0_0x3cc277(0x2e7)](){const _0x3a7444=a0_0x3cc277,_0x88652c=[];for(const _0xdb98f7 of this['_datasetMap'][_0x3a7444(0x216)]()[_0x3a7444(0x1c6)]()){_0x88652c[_0x3a7444(0x23c)](..._0xdb98f7[_0x3a7444(0x287)]());}return _0x88652c;}[a0_0x3cc277(0x1d7)](_0x1c8c14){const _0x57ebd5=a0_0x3cc277;if(!_0x1c8c14||Object[_0x57ebd5(0x263)](_0x1c8c14)[_0x57ebd5(0x1e9)]===0x0)return this['datasetMap']['toConfig']();const _0x2f3c25=this[_0x57ebd5(0x30a)]()['map'](_0x574394=>_0x574394[_0x57ebd5(0x1a0)]());return generateDatasetsConfig(_0x2f3c25,_0x1c8c14);}[a0_0x3cc277(0x1c2)](_0x491172){const _0x4ead32=this['generateConfig'](_0x491172);return datasetsConfigToArray(_0x4ead32);}[a0_0x3cc277(0x19e)](){const _0xf65696=a0_0x3cc277;return this[_0xf65696(0x30a)]()[_0xf65696(0x1ff)](_0x5ef9be=>_0x5ef9be['toConfig']());}[a0_0x3cc277(0x1be)](){const _0x505073=a0_0x3cc277;return{'total':this['getCount'](),'virtualTables':this[_0x505073(0x193)]()[_0x505073(0x1e9)],'realTables':this[_0x505073(0x224)]()[_0x505073(0x1e9)],'hasConflicts':this[_0x505073(0x275)](),'conflictCount':this[_0x505073(0x2e7)]()['length']};}['toArray'](){const _0x37ce16=a0_0x3cc277;return this[_0x37ce16(0x30a)]()['map'](_0x29f083=>_0x29f083[_0x37ce16(0x1a0)]());}[a0_0x3cc277(0x1a0)](){const _0x5e97e3=a0_0x3cc277;return this[_0x5e97e3(0x196)]();}['toString'](){const _0x356940=a0_0x3cc277;return _0x356940(0x242)+this[_0x356940(0x217)]()+_0x356940(0x30f)+this[_0x356940(0x1ad)][_0x356940(0x27b)]+_0x356940(0x2fe);}static['fromApiResponse'](_0x21df3f){return new DatasetList(_0x21df3f);}static[a0_0x3cc277(0x2d8)](_0xba886){return new DatasetList(_0xba886);}static['empty'](){return new DatasetList([]);}}function operationToAnalysis(_0x48f24c){const _0xc51de3=a0_0x3cc277;return{'name':_0x48f24c[_0xc51de3(0x1ca)](),'displayName':_0x48f24c['getDisplayName'](),'type':_0x48f24c['getType'](),'method':_0x48f24c[_0xc51de3(0x26f)](),'path':_0x48f24c['getPath'](),'fullUrl':_0x48f24c['getFullUrl'](),'requestFields':_0x48f24c['getRequestFields'](),'requestParams':_0x48f24c[_0xc51de3(0x277)](),'responseSchema':_0x48f24c[_0xc51de3(0x2c7)](),'requestExample':_0x48f24c[_0xc51de3(0x2db)](),'responseExample':_0x48f24c['generateResponseExample'](),'enabled':_0x48f24c[_0xc51de3(0x248)]()};}function operationsToAnalyses(_0x19b8a5){const _0x186dd8=a0_0x3cc277;return _0x19b8a5[_0x186dd8(0x1ff)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x3cc277(0x2c6)];[a0_0x3cc277(0x2a3)](_0x1efbfd=![]){const _0x7c5be1=a0_0x3cc277;if(!_0x1efbfd&&this[_0x7c5be1(0x2c6)])return this[_0x7c5be1(0x2c6)];const _0x3cf935=this[_0x7c5be1(0x23f)]();return this['_operationAnalyses']=operationsToAnalyses(_0x3cf935),this['_operationAnalyses'];}['getEnabledOperationAnalyses'](){return this['getFilteredOperationAnalyses']({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x3cc277(0x310)](_0x22cb48={}){const _0x45bd13=a0_0x3cc277;let _0xcb4232=this['getOperationAnalyses']();return!_0x22cb48[_0x45bd13(0x18e)]&&(_0xcb4232=_0xcb4232[_0x45bd13(0x1c1)](_0x26025b=>_0x26025b[_0x45bd13(0x2b8)])),_0x22cb48[_0x45bd13(0x1a7)]!==![]&&(_0xcb4232=filterApiOperations(_0xcb4232)),_0x22cb48[_0x45bd13(0x1a1)]&&(_0xcb4232=_0xcb4232[_0x45bd13(0x1c1)](_0x22cb48['customFilter'])),_0xcb4232;}[a0_0x3cc277(0x2f5)](_0x4021b7){const _0x1e60ad=a0_0x3cc277,_0x4c2fd5=this[_0x1e60ad(0x2a3)]();return _0x4c2fd5[_0x1e60ad(0x2b9)](_0xbe95f3=>_0xbe95f3['name']===_0x4021b7);}[a0_0x3cc277(0x1f0)](_0x561fbf){const _0x570c95=a0_0x3cc277,_0x42c46d=this[_0x570c95(0x2a3)]();return _0x42c46d[_0x570c95(0x1c1)](_0x88ae3d=>_0x88ae3d['type']===_0x561fbf);}[a0_0x3cc277(0x257)](_0x2e0f3b){const _0x1ad973=a0_0x3cc277,_0x2e8cd8=this[_0x1ad973(0x2af)](_0x2e0f3b);if(!_0x2e8cd8)return[];const _0x4df08e=_0x2e8cd8[_0x1ad973(0x20b)](),_0xdf093e=this[_0x1ad973(0x2c9)]();return _0xdf093e[_0x1ad973(0x1c1)](_0x2384d7=>_0x4df08e[_0x1ad973(0x1c8)](_0x2384d7[_0x1ad973(0x1d1)]));}[a0_0x3cc277(0x1bc)](_0x46cb35,_0x4cd012){const _0x4d1d37=a0_0x3cc277,_0x4dabf9=this['getOperationAnalysis'](_0x46cb35);if(!_0x4dabf9)return null;const _0x1a52e3=this[_0x4d1d37(0x2af)](_0x4dabf9[_0x4d1d37(0x205)]);if(!_0x1a52e3)throw new Error(_0x4d1d37(0x302)+_0x4dabf9[_0x4d1d37(0x205)]);const _0x11f6e9=this[_0x4d1d37(0x276)](),_0x4195f4=this[_0x4d1d37(0x1f6)](),_0x27e7c5=_0x1a52e3[_0x4d1d37(0x20c)](_0x11f6e9,{'useFullExample':_0x4cd012?.[_0x4d1d37(0x20a)]}),_0x42f997=_0x1a52e3['generateUsageExample'](_0x11f6e9);return{'operation':_0x4dabf9,'basicInfo':{'name':_0x4dabf9['name'],'displayName':_0x4dabf9[_0x4d1d37(0x278)],'method':_0x4dabf9[_0x4d1d37(0x2e2)],'path':_0x4dabf9[_0x4d1d37(0x183)],'fullUrl':_0x4dabf9[_0x4d1d37(0x272)],'enabled':_0x4dabf9[_0x4d1d37(0x2b8)]},'sdkCall':{'datasetCode':this[_0x4d1d37(0x1f8)],'modelName':_0x11f6e9,'tableName':_0x4195f4,'operationName':_0x4dabf9[_0x4d1d37(0x205)],'params':_0x4dabf9['requestFields'],'code':_0x27e7c5},'usageExample':_0x42f997};}[a0_0x3cc277(0x2d3)](_0x44a052={}){const _0x581114=a0_0x3cc277,_0x3bcb96=this['getFilteredOperationAnalyses'](_0x44a052),_0x18004a=this[_0x581114(0x1be)](),_0x5e355a={'name':this[_0x581114(0x205)],'code':this[_0x581114(0x1f8)],'tableName':this[_0x581114(0x1f6)](),'tableKey':this[_0x581114(0x276)](),'source':this['source'],'fieldCount':_0x18004a[_0x581114(0x249)],'businessFieldCount':_0x18004a[_0x581114(0x19c)],'systemFieldCount':_0x18004a[_0x581114(0x211)],'operationCount':_0x18004a[_0x581114(0x25f)],'enabledOperationCount':_0x18004a[_0x581114(0x279)]},_0x1f7af6=_0x3bcb96[_0x581114(0x1ff)](_0x38383d=>this[_0x581114(0x1bc)](_0x38383d[_0x581114(0x205)]))[_0x581114(0x1c1)](_0x4552b6=>_0x4552b6!==null);return{'title':this['name']+'\x20API\x20文档','datasetInfo':_0x5e355a,'operations':_0x1f7af6};}[a0_0x3cc277(0x250)](_0x2f6344){const _0x5eebc8=a0_0x3cc277;return{'appCode':_0x2f6344,'tableKey':this[_0x5eebc8(0x276)](),'tableName':this[_0x5eebc8(0x1f6)](),'datasetCode':this[_0x5eebc8(0x1f8)]};}[a0_0x3cc277(0x1b0)](_0x3b9bb4){const _0x583f9d=a0_0x3cc277,_0x26502f=[{'index':_0x583f9d(0x205),'label':_0x583f9d(0x2a4)},{'index':_0x583f9d(0x278),'label':_0x583f9d(0x282)},{'index':_0x583f9d(0x2e2),'label':'方法'},{'index':'sdkCall','label':_0x583f9d(0x2bd)},{'index':_0x583f9d(0x183),'label':_0x583f9d(0x22a)},{'index':_0x583f9d(0x26c),'label':_0x583f9d(0x2ba)}],_0xb50062=_0x3b9bb4[_0x583f9d(0x1ff)](_0x178007=>{const _0x3d1edc=_0x583f9d,{basicInfo:_0x4782e4,sdkCall:_0x2c2f4e}=_0x178007,_0x594cc5=_0x2c2f4e['code'][_0x3d1edc(0x2e5)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x3d1edc(0x2e5)](/;$/,'');return{'displayName':_0x4782e4[_0x3d1edc(0x278)],'name':_0x4782e4[_0x3d1edc(0x205)],'method':_0x4782e4[_0x3d1edc(0x2e2)],'path':_0x4782e4[_0x3d1edc(0x183)],'sdkCall':_0x594cc5,'sdkCallCode':_0x2c2f4e[_0x3d1edc(0x1d1)]};});return{'tableColumns':_0x26502f,'tableData':_0xb50062};}[a0_0x3cc277(0x2d4)](_0x113364){const _0x53deb2=a0_0x3cc277,_0x5082bc=this[_0x53deb2(0x2f5)](_0x113364);if(!_0x5082bc)return null;return{'name':_0x5082bc['name'],'displayName':_0x5082bc[_0x53deb2(0x278)],'type':_0x5082bc['type'],'method':_0x5082bc[_0x53deb2(0x2e2)],'path':_0x5082bc[_0x53deb2(0x183)],'enabled':_0x5082bc[_0x53deb2(0x2b8)],'requestFieldCount':_0x5082bc[_0x53deb2(0x2c4)][_0x53deb2(0x1e9)],'hasResponseSchema':_0x5082bc[_0x53deb2(0x1d3)]!==null};}[a0_0x3cc277(0x209)](_0x13b10e={}){const _0x3b1765=a0_0x3cc277,_0x29a322=this[_0x3b1765(0x310)](_0x13b10e);return{'datasetName':this[_0x3b1765(0x205)],'datasetCode':this[_0x3b1765(0x1f8)],'tableName':this[_0x3b1765(0x1f6)](),'totalOperations':_0x29a322[_0x3b1765(0x1e9)],'operations':_0x29a322[_0x3b1765(0x1ff)](_0x2c383f=>({'name':_0x2c383f['name'],'displayName':_0x2c383f[_0x3b1765(0x278)],'type':_0x2c383f[_0x3b1765(0x297)],'method':_0x2c383f[_0x3b1765(0x2e2)],'path':_0x2c383f['path'],'requestFieldCount':_0x2c383f[_0x3b1765(0x2c4)][_0x3b1765(0x1e9)]}))};}['generateSingleValueExample'](_0x58932d){const _0x13f25a=a0_0x3cc277,_0x1d5656={};return Object[_0x13f25a(0x28a)](_0x58932d)[_0x13f25a(0x2f9)](([_0x3d04a5,_0x1e979e])=>{const _0x303652=_0x13f25a;Array['isArray'](_0x1e979e)&&_0x1e979e[_0x303652(0x1e9)]>0x0?_0x1d5656[_0x3d04a5]=_0x1e979e[0x0]:_0x1d5656[_0x3d04a5]=_0x1e979e;}),_0x1d5656;}[a0_0x3cc277(0x1eb)](){const _0x1c62d4=a0_0x3cc277,_0x5e611d=this[_0x1c62d4(0x2a3)](),_0x316549=_0x5e611d[_0x1c62d4(0x1c1)](_0x43e8f2=>_0x43e8f2[_0x1c62d4(0x2b8)]);return{'total':_0x5e611d['length'],'enabled':_0x316549[_0x1c62d4(0x1e9)],'disabled':_0x5e611d[_0x1c62d4(0x1e9)]-_0x316549['length'],'byType':this['getOperationCountByType'](_0x316549),'byMethod':this[_0x1c62d4(0x2e8)](_0x316549)};}[a0_0x3cc277(0x239)](_0x1daac4){const _0x4b5640=a0_0x3cc277,_0x4b5823={};return _0x1daac4[_0x4b5640(0x2f9)](_0x20bd2a=>{const _0x42ec5f=_0x4b5640;_0x20bd2a[_0x42ec5f(0x297)]&&(_0x4b5823[_0x20bd2a[_0x42ec5f(0x297)]]=(_0x4b5823[_0x20bd2a[_0x42ec5f(0x297)]]||0x0)+0x1);}),_0x4b5823;}[a0_0x3cc277(0x2e8)](_0x401000){const _0x386330=a0_0x3cc277,_0x4488cc={};return _0x401000[_0x386330(0x2f9)](_0x335e4f=>{const _0x4eb9d0=_0x386330;_0x4488cc[_0x335e4f[_0x4eb9d0(0x2e2)]]=(_0x4488cc[_0x335e4f[_0x4eb9d0(0x2e2)]]||0x0)+0x1;}),_0x4488cc;}[a0_0x3cc277(0x1c0)](){const _0x348e08=a0_0x3cc277,_0x141fce=this['getEnabledOperationAnalyses'](),_0x3e49b7=new Set(_0x141fce[_0x348e08(0x1ff)](_0x173cae=>_0x173cae[_0x348e08(0x297)])[_0x348e08(0x1c1)](Boolean));return _0x3e49b7[_0x348e08(0x1dd)]('create')&&_0x3e49b7[_0x348e08(0x1dd)](_0x348e08(0x304))&&_0x3e49b7['has'](_0x348e08(0x24d))&&_0x3e49b7[_0x348e08(0x1dd)]('delete');}[a0_0x3cc277(0x1fe)](){const _0x4973fb=a0_0x3cc277,_0x4d2aa6=this['getEnabledOperationAnalyses'](),_0x2d0e82=new Set(_0x4d2aa6['map'](_0x122628=>_0x122628[_0x4973fb(0x297)])[_0x4973fb(0x1c1)](Boolean)),_0x27724c=[_0x4973fb(0x194),_0x4973fb(0x304),_0x4973fb(0x24d),'delete'];return _0x27724c[_0x4973fb(0x1c1)](_0x433419=>!_0x2d0e82[_0x4973fb(0x1dd)](_0x433419));}[a0_0x3cc277(0x2ce)](_0x59fe0a,_0x2c5398,_0x3db648=a0_0x3cc277(0x2c2),_0x3e10da){const _0x503d00=a0_0x3cc277,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=!![]}=_0x3e10da||{},_0x3cdddb=this['getOperationDocMeta'](_0x59fe0a,{'useFullExample':includeRequestExample});if(!_0x3cdddb)return null;const _0xd45985=this[_0x503d00(0x2cc)](_0x2c5398,_0x3db648);let _0x40fcd2=_0xd45985;return _0x40fcd2+=_0x503d00(0x2ec)+_0x3cdddb[_0x503d00(0x26e)][_0x503d00(0x1d1)],includeUsageExample&&_0x3cdddb['usageExample']&&(_0x40fcd2+=_0x503d00(0x2c1)+_0x3cdddb['usageExample']['successCode']+'\x0a\x0a'+_0x3cdddb[_0x503d00(0x2d5)]['errorCode']),_0x40fcd2;}[a0_0x3cc277(0x2cc)](_0x5a65ba,_0x4ed8c8=a0_0x3cc277(0x2c2)){const _0x105cf9=a0_0x3cc277,_0x497dec=this[_0x105cf9(0x276)](),_0x4d51ff=this[_0x105cf9(0x1f6)](),_0xc553a3=this[_0x105cf9(0x1f8)],_0x3b756e=_0x4ed8c8==='daily'?_0x105cf9(0x2c8)+_0x4ed8c8+'\x27,':'';return'import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27'+_0x5a65ba+'\x27,\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,'+_0x3b756e+'\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20'+_0x497dec+':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27'+_0x4d51ff+_0x105cf9(0x198)+_0xc553a3+_0x105cf9(0x2b1);}['toString'](){const _0x3826bb=a0_0x3cc277,_0xb37f4f=this['getOperationStats']();return _0x3826bb(0x2ff)+this[_0x3826bb(0x205)]+',\x20'+this[_0x3826bb(0x1f8)]+',\x20'+this[_0x3826bb(0x244)]()+_0x3826bb(0x1b1)+_0xb37f4f[_0x3826bb(0x2b8)]+'/'+_0xb37f4f['total']+_0x3826bb(0x19d);}}var VERSION=a0_0x3cc277(0x201);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_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};
@@ -174,7 +174,11 @@ export declare class DrivenDataDetailPlus extends DrivenDataDetail {
174
174
  * @param options 可选配置
175
175
  * @returns 完整的可运行 SDK 示例代码
176
176
  */
177
- generateFullSDKExample(operationName: string, appCode: string, env?: 'online' | 'daily', options?: {
177
+ generateFullSDKExample(operationName: string, appCode: string, options?: {
178
+ includeRequestExample?: boolean;
179
+ includeUsageExample?: boolean;
180
+ }): string | null;
181
+ generateAllOperationsFullSDKExample(options?: {
178
182
  includeRequestExample?: boolean;
179
183
  includeUsageExample?: boolean;
180
184
  }): string | null;
@@ -184,7 +188,7 @@ export declare class DrivenDataDetailPlus extends DrivenDataDetail {
184
188
  * @param env 环境('online' 或 'daily'),默认 'online'。只有 daily 时才输出 env 配置
185
189
  * @returns SDK 初始化代码
186
190
  */
187
- generateSDKInitCode(appCode: string, env?: 'online' | 'daily'): string;
191
+ generateSDKInitCode(appCode: string, env?: 'online' | 'daily', isOpenAPI?: boolean): string;
188
192
  /**
189
193
  * 转换为字符串(用于调试)
190
194
  */
@@ -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;IA8C1B;;;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,GAAG,GAAE,QAAQ,GAAG,OAAkB,EAClC,OAAO,CAAC,EAAE;QACR,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,GACA,MAAM,GAAG,IAAI;IAsChB;;;;;OAKG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,GAAE,QAAQ,GAAG,OAAkB,GAAG,MAAM;IAuBhF;;OAEG;IACH,QAAQ,IAAI,MAAM;CAInB"}
1
+ {"version":3,"file":"DrivenDataDetailPlus.d.ts","sourceRoot":"","sources":["../../../src/plus/DrivenDataDetailPlus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,oBAAoB,EAAuB,MAAM,8BAA8B,CAAC;AACzF,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EAEvB,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,WAAW;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa;IACb,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,WAAW;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qBAAqB;IACrB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe;IACf,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,aAAa;IACb,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC/C,aAAa;IACb,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,aAAa;IACb,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,WAAW;IACX,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,gBAAgB;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB;IAChB,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,OAAO,CAAC;CAC1D;AAiCD;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,gBAAgB;IACxD,gBAAgB;IAChB,OAAO,CAAC,kBAAkB,CAAC,CAAsB;IAIjD;;OAEG;IACH,oBAAoB,CAAC,OAAO,UAAQ,GAAG,iBAAiB,EAAE;IAY1D;;;OAGG;IACH,2BAA2B,IAAI,iBAAiB,EAAE;IAOlD;;OAEG;IACH,4BAA4B,CAAC,OAAO,GAAE,aAAkB,GAAG,iBAAiB,EAAE;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;IA8C1B;;;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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",