@lovrabet/dsparser 1.3.4-beta.0 → 1.3.5-beta.0

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_0x22ad23=a0_0xc40c;(function(_0x259286,_0x21847b){const _0x601fa8=a0_0xc40c,_0x33f980=_0x259286();while(!![]){try{const _0x2128ba=parseInt(_0x601fa8(0x2d1))/0x1*(-parseInt(_0x601fa8(0x2fd))/0x2)+-parseInt(_0x601fa8(0x253))/0x3+-parseInt(_0x601fa8(0x3b8))/0x4*(-parseInt(_0x601fa8(0x2a8))/0x5)+parseInt(_0x601fa8(0x396))/0x6*(-parseInt(_0x601fa8(0x36d))/0x7)+-parseInt(_0x601fa8(0x1c5))/0x8*(-parseInt(_0x601fa8(0x26b))/0x9)+parseInt(_0x601fa8(0x459))/0xa+parseInt(_0x601fa8(0x234))/0xb;if(_0x2128ba===_0x21847b)break;else _0x33f980['push'](_0x33f980['shift']());}catch(_0xdbdff){_0x33f980['push'](_0x33f980['shift']());}}}(a0_0x147e,0xd757e));function toCamelCase(_0x256f23){const _0x43fbd7=a0_0xc40c;if(!_0x256f23)return'';return _0x256f23['split'](/[_-]/)[_0x43fbd7(0x276)]((_0x197749,_0x5c8df4)=>{const _0x5e200d=_0x43fbd7;if(_0x5c8df4===0x0)return _0x197749[_0x5e200d(0x1fc)]();return _0x197749[_0x5e200d(0x20b)](0x0)[_0x5e200d(0x244)]()+_0x197749[_0x5e200d(0x1a9)](0x1)[_0x5e200d(0x1fc)]();})[_0x43fbd7(0x32e)]('');}function toPascalCase(_0x7ec066){const _0x45a354=a0_0xc40c;if(!_0x7ec066)return'';const _0x505f7c=toCamelCase(_0x7ec066);return _0x505f7c[_0x45a354(0x20b)](0x0)['toUpperCase']()+_0x505f7c[_0x45a354(0x1a9)](0x1);}function toSnakeCase(_0x378e58){const _0x47de1a=a0_0xc40c;if(!_0x378e58)return'';return _0x378e58['replace'](/([A-Z])/g,_0x47de1a(0x2bf))['toLowerCase']()[_0x47de1a(0x382)](/^_/,'');}function toKebabCase(_0x44577d){const _0x1c31ba=a0_0xc40c;if(!_0x44577d)return'';return _0x44577d['replace'](/([A-Z])/g,_0x1c31ba(0x2f7))[_0x1c31ba(0x1fc)]()[_0x1c31ba(0x382)](/^-/,'');}function normalizeFieldName(_0x569856){const _0x579408=a0_0xc40c;if(!_0x569856)return'';return _0x569856[_0x579408(0x384)]()[_0x579408(0x382)](/\s+/g,'_')[_0x579408(0x382)](/[^a-zA-Z0-9_]/g,'_')[_0x579408(0x382)](/_+/g,'_')['replace'](/^_|_$/g,'');}function getTableName(_0x587ea8){const _0x40db0f=a0_0xc40c;if(!_0x587ea8)return _0x40db0f(0x34d);if(_0x587ea8[_0x40db0f(0x1b5)]?.[_0x40db0f(0x2c7)])return _0x587ea8[_0x40db0f(0x1b5)]['tableName'];const _0x17d077=_0x587ea8[_0x40db0f(0x233)]||_0x587ea8[_0x40db0f(0x1af)]||_0x587ea8[_0x40db0f(0x203)];if(_0x17d077)return generateTableNameFromCode(_0x17d077);return _0x40db0f(0x34d);}function getTableKey(_0x48abd1){const _0x35ee1d=a0_0xc40c;if(typeof _0x48abd1===_0x35ee1d(0x1bd))return toCamelCase(_0x48abd1);const _0x35f52c=getTableName(_0x48abd1);return toCamelCase(_0x35f52c);}function generateTableNameFromCode(_0x5a9572){const _0xba0ff8=a0_0xc40c;if(!_0x5a9572)return _0xba0ff8(0x34d);const _0x487fde=_0x5a9572[_0xba0ff8(0x1a9)](-0x6)[_0xba0ff8(0x366)](0x6,'0');return _0xba0ff8(0x1f1)+_0x487fde;}function isVirtualTableName(_0x3904af){const _0xcd982e=a0_0xc40c;return/^dataset_[a-zA-Z0-9]{6}$/[_0xcd982e(0x357)](_0x3904af);}function generateModelKeyFromCode(_0x40a2dd){const _0x2cebfc=a0_0xc40c;if(!_0x40a2dd)return'dataset_unknown';return _0x2cebfc(0x1f1)+_0x40a2dd;}function getDbName(_0x3a29a9){const _0x117b09=a0_0xc40c;return _0x3a29a9[_0x117b09(0x1b5)]?.[_0x117b09(0x3da)]||_0x3a29a9[_0x117b09(0x1b5)]?.[_0x117b09(0x2e0)]?.[_0x117b09(0x3da)]||'';}function generateDatasetsConfig(_0x31e3dd,_0x59a33c={}){const _0x43b309=a0_0xc40c,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x13cb03,filter:_0x3f4082}=_0x59a33c,_0x5b60fe=_0x3f4082?_0x31e3dd[_0x43b309(0x314)](_0x3f4082):_0x31e3dd,_0x24c8ad=new Map();for(const _0xdd9115 of _0x5b60fe){const _0x2c455a=getTableName(_0xdd9115),_0x70bbbc=getDbName(_0xdd9115);!_0x24c8ad[_0x43b309(0x41c)](_0x2c455a)&&_0x24c8ad['set'](_0x2c455a,new Set()),_0x24c8ad[_0x43b309(0x393)](_0x2c455a)['add'](_0x70bbbc);}const _0x5e977b=new Set();for(const [_0x25ffb1,_0x51c705]of _0x24c8ad){_0x51c705[_0x43b309(0x416)]>0x1&&_0x5e977b[_0x43b309(0x23a)](_0x25ffb1);}const _0x2e5a4e={},_0xdc8911=new Set();for(const _0x6adc07 of _0x5b60fe){const _0x14342d=getTableName(_0x6adc07);if(enableDeduplication&&_0xdc8911[_0x43b309(0x41c)](_0x14342d)){console[_0x43b309(0x288)](_0x43b309(0x355)+_0x14342d+_0x43b309(0x2fb)+_0x6adc07['name']+'\x20('+_0x6adc07[_0x43b309(0x233)]+')');continue;}_0xdc8911[_0x43b309(0x23a)](_0x14342d);const _0x20b93a=_0x13cb03?_0x13cb03(_0x14342d,_0x6adc07):getTableKey(_0x14342d),_0x17dfac=getDbName(_0x6adc07),_0x2355ae=_0x5e977b['has'](_0x14342d)&&_0x17dfac?getTableKey(_0x17dfac)+'_'+_0x20b93a:_0x20b93a;_0x2e5a4e[_0x20b93a]={'key':_0x20b93a,'alias':_0x2355ae,'tableName':_0x14342d,'datasetCode':_0x6adc07[_0x43b309(0x233)],'name':_0x6adc07[_0x43b309(0x36f)],'id':_0x6adc07['id'],'dbName':_0x17dfac};}return _0x2e5a4e;}function generateFullDatasetsConfig(_0x2821a1,_0x128050={}){const _0x3c7549=a0_0xc40c,{filter:_0x4ddbce,datasetNameGenerator:_0x177dfb}=_0x128050,_0x4dba2b=_0x4ddbce?_0x2821a1['filter'](_0x4ddbce):_0x2821a1,_0x6ad5a3=new Map();for(const _0xe4b0bd of _0x4dba2b){const _0x4105c9=getTableName(_0xe4b0bd),_0x4e09d9=getDbName(_0xe4b0bd);!_0x6ad5a3[_0x3c7549(0x41c)](_0x4105c9)&&_0x6ad5a3[_0x3c7549(0x295)](_0x4105c9,new Set()),_0x6ad5a3[_0x3c7549(0x393)](_0x4105c9)[_0x3c7549(0x23a)](_0x4e09d9);}const _0x4d7718=new Set();for(const [_0x2c9444,_0x287734]of _0x6ad5a3){_0x287734[_0x3c7549(0x416)]>0x1&&_0x4d7718['add'](_0x2c9444);}const _0x52a570=groupByTableName(_0x4dba2b),_0xd3f7f1={};for(const [_0x2cc873,_0x1563d3]of Object['entries'](_0x52a570)){if(_0x1563d3[_0x3c7549(0x43e)]===0x1){const _0x55bdea=_0x1563d3[0x0],_0x1aa1a9=_0x177dfb?_0x177dfb(_0x2cc873,_0x55bdea):getTableKey(_0x2cc873),_0x3bba0f=getDbName(_0x55bdea),_0x1f765d=_0x4d7718[_0x3c7549(0x41c)](_0x2cc873)&&_0x3bba0f?getTableKey(_0x3bba0f)+'_'+_0x1aa1a9:_0x1aa1a9;_0xd3f7f1[_0x1aa1a9]={'key':_0x1aa1a9,'alias':_0x1f765d,'tableName':_0x2cc873,'datasetCode':_0x55bdea['datasetCode'],'name':_0x55bdea['name'],'id':_0x55bdea['id'],'dbName':_0x3bba0f};}else{const _0x550f8b=[..._0x1563d3]['sort']((_0x298200,_0x195ad4)=>{const _0x27aa52=Number(_0x298200['id'])||0x0,_0x2489ec=Number(_0x195ad4['id'])||0x0;return _0x2489ec-_0x27aa52;});_0x550f8b[_0x3c7549(0x35e)]((_0x3261e6,_0x3f4fcf)=>{const _0x4d20e5=_0x3c7549,_0x4bf3aa=_0x177dfb?_0x177dfb(_0x2cc873,_0x3261e6):getTableKey(_0x2cc873),_0x4aeaec=_0x3f4fcf===0x0?_0x4bf3aa:_0x4bf3aa+'_'+_0x3f4fcf,_0x6bf4de=getDbName(_0x3261e6),_0x1558ae=_0x4d7718[_0x4d20e5(0x41c)](_0x2cc873)&&_0x6bf4de?getTableKey(_0x6bf4de)+'_'+_0x4aeaec:_0x4aeaec;_0xd3f7f1[_0x4aeaec]={'key':_0x4aeaec,'alias':_0x1558ae,'tableName':_0x2cc873,'datasetCode':_0x3261e6['datasetCode'],'name':_0x3261e6[_0x4d20e5(0x36f)],'id':_0x3261e6['id'],'dbName':_0x6bf4de};});}}return _0xd3f7f1;}function detectTableNameConflicts(_0x1551f9){const _0x15f2d8=a0_0xc40c,_0x260180={};for(const _0x243bc2 of _0x1551f9){const _0x7ed4ab=getTableName(_0x243bc2);!_0x260180[_0x7ed4ab]&&(_0x260180[_0x7ed4ab]=[]),_0x260180[_0x7ed4ab][_0x15f2d8(0x44f)](_0x243bc2);}const _0x367470={};for(const [_0x3220b7,_0x3a4ba4]of Object[_0x15f2d8(0x3e9)](_0x260180)){_0x3a4ba4[_0x15f2d8(0x43e)]>0x1&&(_0x367470[_0x3220b7]=_0x3a4ba4);}return{'hasConflicts':Object[_0x15f2d8(0x3ae)](_0x367470)[_0x15f2d8(0x43e)]>0x0,'conflicts':_0x367470};}function createDatasetNameMap(_0x3ac078){const _0x2d236f=a0_0xc40c,_0x3a2d4e={};for(const [_0x5a5838,_0x130894]of Object['entries'](_0x3ac078)){_0x3a2d4e[_0x5a5838]=_0x130894[_0x2d236f(0x233)]||'';}return _0x3a2d4e;}function groupByTableName(_0x23f29d){const _0xc87758=a0_0xc40c,_0xe77c8f={};for(const _0x3c6f3b of _0x23f29d){const _0x2f3fe8=getTableName(_0x3c6f3b);!_0xe77c8f[_0x2f3fe8]&&(_0xe77c8f[_0x2f3fe8]=[]),_0xe77c8f[_0x2f3fe8][_0xc87758(0x44f)](_0x3c6f3b);}return _0xe77c8f;}function datasetsConfigToArray(_0x2609ef){const _0x3cbe1c=a0_0xc40c;return Object[_0x3cbe1c(0x30c)](_0x2609ef);}function adaptDrivenDataDetail(_0x507587){const _0x11985c=a0_0xc40c,_0xcf3c03={};return _0xcf3c03['id']=_0x507587[_0x11985c(0x458)],_0xcf3c03[_0x11985c(0x36f)]=_0x507587['name'],_0xcf3c03['datasetCode']=_0x507587[_0x11985c(0x203)],_0xcf3c03[_0x11985c(0x1b5)]=_0x507587[_0x11985c(0x1b5)],_0xcf3c03['source']=_0x507587[_0x11985c(0x437)],_0xcf3c03[_0x11985c(0x354)]=_0x507587['version'],_0xcf3c03[_0x11985c(0x1f2)]=_0x507587['extend'],_0xcf3c03[_0x11985c(0x435)]=_0x507587[_0x11985c(0x435)],_0xcf3c03['operations']=_0x507587['operations'],_0xcf3c03;}function adaptDrivenDataDetails(_0x593925){return _0x593925['map'](adaptDrivenDataDetail);}function a0_0x147e(){const _0x4bd255=['getFilterOperation','alias','getFieldType','DbtableConfig(table:\x20','usageExample','get','getDisplayName','bind','54EXtzpb','toField','\x20operations,\x20v1)','GET_ONE','获取下拉选项','hasDblinkInfo','isBusiness','hasUpdateTimeField','pageSize','1.0','getOperationDocMeta','labelField','DOUBLE','path','当前页码','getFieldFilterOperators','操作名称','validateEnumValue','getTenantCode','isOperationEnabled','主键ID','delete','hasOperation','选项编码(可选)','keys','\x20indexes)','getPath','getFieldsFilterOperatorsMap','\x20items,\x20','tenantCode','hasField','useArrayValues','useFullExample','aggregate','32TLyqSm','_datasetMeta','getOperation','RADIO','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','创建导出','$ne','selectBestOperator','customFilter','Integer','select','toArray','no\x20conflicts','getRawDbtableConfig','count','some','items','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','({\x20currentPage,\x20pageSize\x20});','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','iterator','includeUsageExample','$startWith','示例文本','const\x20fileUrl\x20=\x20await\x20client.models.','total_count','[Field]\x20Invalid\x20field\x20definition','getFieldDescription','富文本','getExtendField','getFieldCode','create','\x5c}\x5c}','$contain','dbName','getFieldOperators','isMultipleSelect','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','generateAllOperationsFullSDKExample','\x20groups)','getCreateTime','find','where','当前页码(从\x201\x20开始,默认:\x201)','dbType','`:\x20','isAutoIncrement','raw','null','entries','hasDbtableConfig','2024-12-31','200','yourModel','fields','allFields','getOperationAnalyses','请求示例','getVirtualTables','分组字段列表','(实际字段:','isSystem','getDBConfig','_fieldListV1WithDeleted','generateUsageExample','getBusinessFields','isNumericField','title','SDK\x20调用时传递两个参数:\x0a','getFieldCount','<p>富文本内容</p>','-\x20主键ID,用于定位要更新的记录\x0a\x0a','IMAGE','sdkCall','getDOType','getFieldOptions','indexes','groupByTableName','_datasetMap','_operationList','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','currentPage','random','getLatestDatasets','generateFullSDKExample','fieldName','getDbTypeForOperation','systemFieldCount','$gteq','$eq','getDatabaseName','/filter','getFiltered','FieldList(','size','field_name','_relations','hasExtendField','msg','autoIncrement','has','generateHTTPExample','_operations','getBusiness','stringify','generateExampleValue','getConflictingItems','prototype','UPLOAD','getOneOrigin','daily','getOldest','index','IMPORT_TEMPLATE','[FieldV1.extend]\x20解析字段\x20','doVersion','(params);','_fieldListV2','getResponseSchema','getField','Filter\x20API\x20-\x20高级查询接口','getUpdateTime','getRelations','getRequestParams','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','properties','getFieldInstance','source','getModelAlias','SELECT','description','generateSDKCallCode','系统自动生成','getFields','length','getOperationsOverviewData','dbTypeLen','relations','getConflicts','排序规则(与\x20Filter\x20API\x20一致)','totalGroups','getCodes','total','isOpenAPI','getDatabaseType','getFieldDataSource','env','requestBody','isOperatorApplicableToField','导入模板','String','push','logicField','modifyDate','email','DrivenDataDetailPlus(','toConfigArray','createImport','getCountByType','placeholder','modelId','7762930QWCyxi','getTableName','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','operationCount','systemRetain','getAllFieldsString','fromApiResponse','generateAllOperationsSummary','CREATE_IMPORT',',\x20doType=','getDisabledOperationInstances','isPrimaryKeyField','createExport','excelExport','tableKey','errorCode','getRaw','getIds','toListItem','getOperationCount','sort','TIMESTAMP','BIT','substring','slice','demo-app','getRequiredFields','$endWith','主键,用于定位要更新的记录','长文本','code','获取数据集失败:\x20','({\x20/*\x20可选:筛选条件\x20*/\x20});','address','required','Object','dbtableConfig','responseSchema','_fieldListV1','2024-01-01','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','INTEGER','_operationAnalyses','children','string','getRelatedDataset','responseBody','LONGTEXT','having','getEnumFieldMeta','from','getEnabled','2483952okNsNu','String[]','parseRawResponseBody','getStats','isEnabled','(id,\x20data);','getAllDatasets','TEXT','当前页码(可选)','getFilterOperators','BOOL','getDatasetDocMeta','sdkCallCode','getFieldRaw','toConfig','success','normalizeDbType','FLOAT','查询列表','dbVersion','object','_requestExampleCache','分组后的过滤条件(对聚合结果进行过滤)','_autoGenerated','NUMBER','label','getDisabled','groupBy','EXCEL_EXPORT','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','getSystem','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/node-sdk\x27;\x0a\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27{{appCode}}\x27,\x0a<!--\x20CONDITION:\x20env\x20-->\x0a\x20\x20env:\x20\x27{{env}}\x27,\x0a<!--\x20/CONDITION\x20-->\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27{{datasetCode}}\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27{{alias}}\x27,\x0a\x20\x20\x20\x20}\x0a\x20\x20],\x0a<!--\x20CONDITION:\x20isOpenAPI\x20-->\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,\x0a<!--\x20/CONDITION\x20-->\x0a});\x0a\x0aexport\x20default\x20client;\x0a','getOperationAnalysesByType','hasTableName','0000','getAppCode','generateConfigArray','getType','操作成功','_avg','获取文件URL','示例值','<!--\x5cs*CONDITION:\x5cs*','isPrimaryKey','dataset_','extend','getFieldList','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','({\x20','getRelationsByField','getEnumFieldsMeta','getPkField','getDatasetMeta','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','toLowerCase','getConflictStats','getOperators','DatasetGroupMap(','generateRequestAllExamples','获取数据集列表失败:\x20','generateSingleValueExample','modelCode','\x20fields,\x20','toTableName','DATE','default','generateFieldExample','getEnumValues','displayName','charAt','CHAR','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','\x20API\x20文档','DELETE','createTime','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','getAllFieldsArray','all','toDatasetCode','prefix','POST','avg','getFullUrl','getOperationList','includeDisabled','keyword','DrivenDataDetailPlusV2(','fullUrl','接口名称','tooltip','isEnumField','[generateRequestExample]\x20Invalid\x20field:','[FieldV2]\x20Invalid\x20field\x20definition','distinct','getLast','Operation\x20not\x20found:\x20','\x20relations,\x20','getForeignKeyFields','查询单条','getEnabledOperationInstances','({\x20code,\x20label\x20});','type','data','forceVersion','update','13800138000','successCode','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','_extend','datasetCode','9577755HZlsAv','SMALLINT','CREATE_EXPORT','-\x20其他要更新的字段直接平铺在同一层级','getEnumOptions','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','add','getDefaultValue','_min','defaultValue','includeDeleted','every','dbId','VARCHAR','\x20groups,\x20','DrivenDataDetailV2(','toUpperCase','supportsCRUD','ARRAY','BIGINT','\x20operations,\x20v2)','const\x20result\x20=\x20await\x20client.models.','(支持单值或数组)','-\x20主键使用\x20`id`\x20字段\x0a','systemAnalysisResult','getFilteredOperations','getName','getOperationFieldOperators','返回字段列表(字段投影)','getOperationStats','getFieldListWithDeleted','4015254sHpHIn','context','requestFields','enumValues','单值查询','getFieldDisplayName','getByType','createDate','getFilteredOperationAnalyses','getEnumFields','\x5c{\x5c{','valueLabels','online','时间戳','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','UPDATE','TINYINT','getFieldName','ensureFilterOperation','getFieldsByType','taskInfo','host','下拉选择','doType','18kgLJKe','\x20operations,\x20',',\x20...\x20});','isRequiredField','文件上传','DECIMAL','conflictItemCount','Field(','getOperationsData','findByCode','dataIndex','map','RICH_TEXT','数组查询(支持多选)','getItems','sortNum','isVirtualTable','method','getModelName','API路径','enabled','businessFieldCount','getFieldsWithDeleted','BLOB','2.0','generateSDKInitCode','exampleWhere','getDatasetSDKKey','precision','warn','$or','deleted','toDatasetId','generateHTTPRequestExample','isDeleted','STRING','filterBlacklist','DatasetItem(','empty','isArray','importTemplate','appCode','set','HTTP\x20直接调用时使用平铺格式:\x0a','getMissingCRUDOperations','https://example.com/file.pdf','hasLogicField','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','value','includes','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','**可更新的字段列表:**','findByName','getCode','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','getSystemFields','DatasetGroup(','getFieldV2','getFieldListV2','hasConflict','GET_LIST','954910dPFRPr','boolean','_fields','getDbName','getUpdatableFields','primaryKey','Object[]','hasCreatorIdField','generateFromSchema','getFieldDefinition','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','isUpdateTime','datasetMap','_raw','_max','getVersion','updateTimeField','parse','$and','聚合函数配置数组(type:\x20sum/count/avg/max/min)','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','hasFilterOperation','user@example.com','_$1','column','isRequired','getOperationRequestFields','Array','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','INT','hasCreateTimeField','tableName','getTableKey','CHECKBOX','detectConflicts','requestFieldCount','getPrimaryKeyFields','generateConfig','这是一段较长的文本内容示例','isEmpty','DatasetList(','9MZGrWh','mapDbTypeToType','FieldV2(','-\x20`','modifierIdField','tableData','findAll','//\x20Usage\x20examples','每页数量','fieldCount','TEXTAREA','主键ID(必填)','getLatest','getOneUpdate','status','dblinkInfoDTO','getSource','HTTP\x20请求示例(平铺格式)','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getOne','getIndexes','getEnumMeta','getHTTPFields','_fieldListWithDeleted','hasConflicts','Invalid\x20API\x20response:\x20success\x20is\x20false','getFieldsV2','JSON','orderBy','conflictGroupCount','_sum','round','parseRawRequestBody','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','BOOLEAN','完整的\x20SDK\x20调用代码','generateRequestExample','getDisabledNames','-$1','LONGBLOB','DATETIME','generateAliasExplanation','\x22,数据集:\x20','toISOString','342328oPBThn','getOperations','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','getApplicableOperators','_instance','number','getFieldNames','toFullConfig','日期时间','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','value2','SWITCH','\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregate`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20HavingCondition[];\x20//\x20分组后的过滤条件(可选,对聚合结果进行过滤)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20column:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a\x0ainterface\x20HavingCondition\x20{\x0a\x20\x20columnName:\x20string;\x20//\x20聚合字段的别名(alias)\x0a\x20\x20condition:\x20WhereCondition;\x20//\x20聚合字段的过滤条件(支持与\x20where\x20相同的操作符)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**HavingCondition\x20使用示例**\x0a\x0a```ts\x0ahaving:\x20[\x0a\x20\x20{\x20columnName:\x20\x22total_amount\x22,\x20condition:\x20{\x20$gte:\x2010000\x20}\x20},\x0a\x20\x20{\x20columnName:\x20\x22count\x22,\x20condition:\x20{\x20$lte:\x20100\x20}\x20}\x0a]\x0a```\x0a\x0a**可用聚合字段**\x0a','isSystemField','$lte','values','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getSystemAnalysisResult','fromField','lastIndexOf','聚合函数配置数组','(id,\x20','params','filter','N/A','\x20operation','getDeleted','modifierNameField','toFieldDefinition','isMultipleSelectField','array','withDeleted','$gte','$lteq','getSelectOptions','getUploadFileScript','getOperationOperators','\x20fields)','datasetKey','getRequestParamsDocInfo','findByTableName','字段编码','TASK_INFO','getCount','getList',',\x20currentPage,\x20pageSize,\x20...\x20});','getEnabledOperations','getAutoIncrement','creatorNameField','join','getEnum','\x20operations)','getOperationFieldsOperatorsMap','TIME','suffix','getFieldSelectItemsSource','pkField','getAll','查询单条(原始)','selectItemsSource','creatorIdField','generateDefaultFilterOperation','value1','Excel导出','getAt','getMethod','解析\x20requestBody\x20失败:','FieldV1(','getUpdateFields','generateResponseExample','split','每页数量(可选)','$in','toJSON','has\x20conflicts',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getDatabaseVersion','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','desc','Number','dataset_000000','function','排序规则','generateOperationSummary','updateTime','findById','multiple','version','[dsparser]\x20跳过重复的表名\x20\x22','getNames','test','isCreateTime','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','toString','getTooltip','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','createTimeField','forEach','DESC','getRealTables','sortOperationsWithFilterFirst','getFileUrl','支持多个条件','datasetInfo','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','padStart','getSDKInitData','options','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','toObject','getSelectItemsSource','now','27146dZjiov','getRequestFields','name','createAll','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','解析\x20responseBody\x20失败:','getEnabledOperationAnalyses','_fieldList','enableDeduplication','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getCountByMethod','sum','groups','initDataset','getEnabledNames','min','CREATE','getDisabledOperations','();','groupByType','getInternalInstance','replace','columnName','trim','operations','getOperationAnalysis','getPrimaryKeys','errorMsg','isEnum','query','createFields','getAllParams','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'];a0_0x147e=function(){return _0x4bd255;};return a0_0x147e();}function extractDatasetFromResponse(_0x4ae6b2){const _0x43a08d=a0_0xc40c;if(!_0x4ae6b2[_0x43a08d(0x1d4)]||!_0x4ae6b2[_0x43a08d(0x22c)])throw new Error(_0x43a08d(0x1b0)+(_0x4ae6b2[_0x43a08d(0x388)]||_0x4ae6b2[_0x43a08d(0x41a)]));return adaptDrivenDataDetail(_0x4ae6b2['data']);}function extractDatasetsFromListResponse(_0x396412){const _0x10daa2=a0_0xc40c;if(!_0x396412[_0x10daa2(0x1d4)]||!_0x396412[_0x10daa2(0x22c)]?.['tableData'])throw new Error(_0x10daa2(0x201)+(_0x396412[_0x10daa2(0x388)]||_0x396412['msg']));return _0x396412[_0x10daa2(0x22c)]['tableData'][_0x10daa2(0x276)](_0x4e3958=>({..._0x4e3958,'datasetCode':_0x4e3958[_0x10daa2(0x1af)]||_0x4e3958[_0x10daa2(0x233)]}));}function isDrivenDataDetail(_0xf2158b){const _0x48890d=a0_0xc40c;return Boolean(_0xf2158b&&typeof _0xf2158b[_0x48890d(0x203)]===_0x48890d(0x1bd));}function smartAdapt(_0x19ce1f){const _0xb81e79=a0_0xc40c;if(isDrivenDataDetail(_0x19ce1f))return adaptDrivenDataDetail(_0x19ce1f);if(_0x19ce1f['datasetCode'])return _0x19ce1f;if(_0x19ce1f[_0xb81e79(0x1af)]){const _0x2f8f8f={..._0x19ce1f};return _0x2f8f8f[_0xb81e79(0x233)]=_0x19ce1f[_0xb81e79(0x1af)],_0x2f8f8f;}return _0x19ce1f;}var DatasetOperationType;(_0xb90fd5=>{const _0x1bb3a0=a0_0xc40c;_0xb90fd5[_0x1bb3a0(0x2a7)]='getList',_0xb90fd5[_0x1bb3a0(0x399)]=_0x1bb3a0(0x2e4),_0xb90fd5['GET_ONE_ORIGIN']=_0x1bb3a0(0x425),_0xb90fd5['GET_ONE_UPDATE']='getOneUpdate',_0xb90fd5[_0x1bb3a0(0x37d)]='create',_0xb90fd5[_0x1bb3a0(0x262)]=_0x1bb3a0(0x22e),_0xb90fd5[_0x1bb3a0(0x20f)]=_0x1bb3a0(0x3ab),_0xb90fd5['GET_SELECT_OPTIONS']=_0x1bb3a0(0x31f),_0xb90fd5['GET_FILE_URL']=_0x1bb3a0(0x362),_0xb90fd5[_0x1bb3a0(0x1e1)]='excelExport',_0xb90fd5['GET_UPLOAD_FILE_SCRIPT']=_0x1bb3a0(0x320),_0xb90fd5[_0x1bb3a0(0x461)]=_0x1bb3a0(0x455),_0xb90fd5[_0x1bb3a0(0x236)]=_0x1bb3a0(0x465),_0xb90fd5[_0x1bb3a0(0x327)]='taskInfo',_0xb90fd5[_0x1bb3a0(0x429)]='importTemplate';})(DatasetOperationType||={});const a0_0x4e76ed={};a0_0x4e76ed[a0_0x22ad23(0x329)]=a0_0x22ad23(0x1d7),a0_0x4e76ed[a0_0x22ad23(0x2e4)]=a0_0x22ad23(0x228),a0_0x4e76ed[a0_0x22ad23(0x425)]=a0_0x22ad23(0x337),a0_0x4e76ed[a0_0x22ad23(0x2de)]='查询单条(用于更新)',a0_0x4e76ed[a0_0x22ad23(0x3d7)]='创建',a0_0x4e76ed[a0_0x22ad23(0x22e)]='更新',a0_0x4e76ed['delete']='删除',a0_0x4e76ed[a0_0x22ad23(0x31f)]=a0_0x22ad23(0x39a),a0_0x4e76ed[a0_0x22ad23(0x362)]=a0_0x22ad23(0x1ed),a0_0x4e76ed['excelExport']=a0_0x22ad23(0x33c),a0_0x4e76ed['getUploadFileScript']='获取上传脚本',a0_0x4e76ed[a0_0x22ad23(0x455)]='创建导入',a0_0x4e76ed[a0_0x22ad23(0x465)]=a0_0x22ad23(0x3bd),a0_0x4e76ed[a0_0x22ad23(0x267)]='任务信息',a0_0x4e76ed[a0_0x22ad23(0x293)]=a0_0x22ad23(0x44d);var OPERATION_TYPE_DISPLAY_NAME=a0_0x4e76ed,API_BLACKLIST=['getList',a0_0x22ad23(0x425),a0_0x22ad23(0x2de),a0_0x22ad23(0x362)];function parseFieldExtend(_0x1826bd){const _0x4118f1=a0_0x22ad23;if(!_0x1826bd||typeof _0x1826bd!==_0x4118f1(0x1d9))return!![]&&console[_0x4118f1(0x288)]('[parseFieldExtend]\x20Invalid\x20field:',_0x1826bd),{};if(!_0x1826bd[_0x4118f1(0x1f2)])return{};try{const _0x199669=typeof _0x1826bd[_0x4118f1(0x1f2)]===_0x4118f1(0x1bd)?JSON['parse'](_0x1826bd[_0x4118f1(0x1f2)]):_0x1826bd[_0x4118f1(0x1f2)];if(typeof _0x199669!==_0x4118f1(0x1d9)||_0x199669===null)return{};return _0x199669;}catch{return{};}}function isPrimaryKeyField(_0x17cb2a,_0xa8da44){const _0x38749c=a0_0x22ad23;if(!_0x17cb2a||typeof _0x17cb2a!==_0x38749c(0x1d9))return![];if(typeof _0xa8da44===_0x38749c(0x1bd)&&_0x17cb2a[_0x38749c(0x1af)]===_0xa8da44)return!![];const _0x123c19=parseFieldExtend(_0x17cb2a);return Boolean(_0x123c19[_0x38749c(0x2ad)]||_0x123c19[_0x38749c(0x335)]);}function isSystemField(_0x25dadb){const _0x4f928c=a0_0x22ad23,_0x7051ec=parseFieldExtend(_0x25dadb);return Boolean(_0x7051ec[_0x4f928c(0x45d)]);}function isRequiredField(_0x552640){const _0x2f8842=parseFieldExtend(_0x552640);return Boolean(_0x2f8842['required']);}function isAutoIncrementField(_0x454f86){const _0x1b734c=a0_0x22ad23,_0x31eeba=parseFieldExtend(_0x454f86);return Boolean(_0x31eeba[_0x1b734c(0x41b)]);}function isCreateTimeField(_0x133671){const _0x4a81f5=parseFieldExtend(_0x133671);return Boolean(_0x4a81f5['createDate']);}function isModifyTimeField(_0x250b1f){const _0x163f5c=a0_0x22ad23,_0x33771f=parseFieldExtend(_0x250b1f);return Boolean(_0x33771f[_0x163f5c(0x451)]);}const a0_0x2916f7={};a0_0x2916f7[a0_0x22ad23(0x1dd)]='数字',a0_0x2916f7['TEXT']='文本',a0_0x2916f7[a0_0x22ad23(0x2db)]=a0_0x22ad23(0x1ae),a0_0x2916f7[a0_0x22ad23(0x206)]='日期',a0_0x2916f7[a0_0x22ad23(0x2f9)]=a0_0x22ad23(0x305),a0_0x2916f7[a0_0x22ad23(0x1a6)]=a0_0x22ad23(0x260),a0_0x2916f7[a0_0x22ad23(0x439)]=a0_0x22ad23(0x269),a0_0x2916f7[a0_0x22ad23(0x2c9)]='多选',a0_0x2916f7[a0_0x22ad23(0x3bb)]='单选',a0_0x2916f7['SWITCH']='开关',a0_0x2916f7[a0_0x22ad23(0x424)]=a0_0x22ad23(0x26f),a0_0x2916f7[a0_0x22ad23(0x400)]='图片',a0_0x2916f7[a0_0x22ad23(0x277)]=a0_0x22ad23(0x3d4),a0_0x2916f7[a0_0x22ad23(0x2ec)]='JSON',a0_0x2916f7[a0_0x22ad23(0x246)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x2916f7;function getDbTypeDisplay(_0x50eebe){const _0x10d627=a0_0x22ad23;if(typeof _0x50eebe!==_0x10d627(0x1bd))return!![]&&console[_0x10d627(0x288)](_0x10d627(0x2a1),_0x50eebe),String(_0x50eebe||'-');return DB_TYPE_DISPLAY_MAP[_0x50eebe]||_0x50eebe;}function formatDbType(_0x473010,_0x5712b7){const _0x5d740f=a0_0x22ad23;if(!_0x473010||typeof _0x473010!==_0x5d740f(0x1bd))return'-';if(!_0x5712b7||typeof _0x5712b7!==_0x5d740f(0x302))return _0x473010;const _0x22566e=[_0x5d740f(0x1cc),_0x5d740f(0x2f9),_0x5d740f(0x1a6),'DATE'];if(_0x22566e[_0x5d740f(0x29c)](_0x473010[_0x5d740f(0x244)]()))return _0x473010;return _0x473010+'('+_0x5712b7+')';}function parseOperationType(_0x45b3bc){const _0x4f8ff4=a0_0x22ad23;if(typeof _0x45b3bc!==_0x4f8ff4(0x1bd)){!![]&&console[_0x4f8ff4(0x288)](_0x4f8ff4(0x45b),_0x45b3bc);return;}if(Object['values'](DatasetOperationType)[_0x4f8ff4(0x29c)](_0x45b3bc))return _0x45b3bc;const _0x4232ef=Object[_0x4f8ff4(0x3e9)](OPERATION_TYPE_DISPLAY_NAME)[_0x4f8ff4(0x3e1)](([_0x70d48c,_0x28bcaa])=>_0x28bcaa===_0x45b3bc);return _0x4232ef?_0x4232ef[0x0]:undefined;}function shouldIncludeField(_0x4ad207,_0x35becc,_0x47caac){const _0x4e2fc0=a0_0x22ad23,_0x3c5dbc=parseFieldExtend(_0x4ad207),_0xa02155=isPrimaryKeyField(_0x4ad207,_0x47caac),_0x689227=Boolean(_0x3c5dbc[_0x4e2fc0(0x45d)]),_0x46e0b9=Boolean(_0x3c5dbc['autoIncrement']),_0x3b9a8a=Boolean(_0x3c5dbc[_0x4e2fc0(0x25a)]),_0x35efa4=Boolean(_0x3c5dbc[_0x4e2fc0(0x451)]);switch(_0x35becc){case _0x4e2fc0(0x329):return!![];case _0x4e2fc0(0x2e4):case'getOneOrigin':case'delete':return _0xa02155;case _0x4e2fc0(0x3d7):if(_0xa02155&&_0x46e0b9)return![];if(_0x689227)return![];if(_0x3b9a8a||_0x35efa4)return![];return!![];case'update':case _0x4e2fc0(0x2de):if(_0xa02155)return!![];if(_0x689227)return![];if(_0x3b9a8a||_0x35efa4)return![];return!![];case _0x4e2fc0(0x31f):return _0x4ad207[_0x4e2fc0(0x1af)]==='code';default:return!![];}}function getFieldsForOperation(_0x4bb7e2,_0xd4a3d7,_0x5dd2db){const _0x5ba980=a0_0x22ad23;if(!Array[_0x5ba980(0x292)](_0x4bb7e2))return!![]&&console[_0x5ba980(0x288)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x4bb7e2),[];return _0x4bb7e2[_0x5ba980(0x314)](_0x873e6c=>shouldIncludeField(_0x873e6c,_0xd4a3d7,_0x5dd2db));}function isApiBlacklisted(_0x367f10){const _0x5c5a6b=a0_0x22ad23;if(typeof _0x367f10!==_0x5c5a6b(0x1bd))return!![]&&console['warn'](_0x5c5a6b(0x34a),_0x367f10),![];return API_BLACKLIST[_0x5c5a6b(0x29c)](_0x367f10);}function filterApiOperations(_0x5a3d71){const _0x57ad61=a0_0x22ad23;if(!Array['isArray'](_0x5a3d71))return!![]&&console[_0x57ad61(0x288)]('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x5a3d71),[];return _0x5a3d71[_0x57ad61(0x314)](_0x4a27df=>_0x4a27df&&typeof _0x4a27df===_0x57ad61(0x1d9)&&!isApiBlacklisted(_0x4a27df[_0x57ad61(0x36f)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x22ad23(0x36c)](),'DATE':()=>Date[a0_0x22ad23(0x36c)](),'SELECT':({fieldInfo:_0x58265b})=>{const _0x58439b=a0_0x22ad23;if(_0x58265b?.[_0x58439b(0x368)]&&Array[_0x58439b(0x292)](_0x58265b[_0x58439b(0x368)])&&_0x58265b[_0x58439b(0x368)][_0x58439b(0x43e)]>0x0)return _0x58265b[_0x58439b(0x368)][0x0][_0x58439b(0x29b)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x30e40c})=>{const _0x4094b3=a0_0x22ad23;if(_0x30e40c===_0x4094b3(0x409))return 0x1;if(_0x30e40c==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x4ce9f1})=>{const _0x213af2=a0_0x22ad23;if(_0x4ce9f1&&typeof _0x4ce9f1==='string'){const _0x4d4593=_0x4ce9f1[_0x213af2(0x1fc)]();if(_0x4d4593['includes']('邮箱')||_0x4d4593[_0x213af2(0x29c)](_0x213af2(0x452)))return _0x213af2(0x2be);if(_0x4d4593[_0x213af2(0x29c)]('电话')||_0x4d4593['includes']('手机')||_0x4d4593['includes']('phone'))return _0x213af2(0x22f);if(_0x4d4593[_0x213af2(0x29c)]('地址')||_0x4d4593['includes'](_0x213af2(0x1b2)))return'北京市朝阳区';if(_0x4d4593['includes']('姓名')||_0x4d4593[_0x213af2(0x29c)](_0x213af2(0x36f)))return'张三';}return _0x213af2(0x3cf);},'VARCHAR':({description:_0x310a90})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x310a90}),'CHAR':({description:_0x263a7c})=>TYPE_VALUE_GENERATORS[a0_0x22ad23(0x1cc)]({'description':_0x263a7c}),'STRING':({fieldInfo:_0x3fc68f,description:_0x3eadb5})=>{const _0xfaec15=a0_0x22ad23;if(_0x3fc68f?.[_0xfaec15(0x457)]&&typeof _0x3fc68f[_0xfaec15(0x457)]===_0xfaec15(0x1bd)&&_0x3fc68f[_0xfaec15(0x457)]!==_0xfaec15(0x43c))return _0x3fc68f[_0xfaec15(0x457)][_0xfaec15(0x382)](/^请输入|^请选择/,'');const _0x2c521d={};return _0x2c521d[_0xfaec15(0x43a)]=_0x3eadb5,TYPE_VALUE_GENERATORS[_0xfaec15(0x1cc)](_0x2c521d);},'TEXTAREA':()=>a0_0x22ad23(0x2ce),'LONGTEXT':()=>a0_0x22ad23(0x2ce),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x22ad23(0x29b)}),'ARRAY':()=>['item1','item2'],'UPLOAD':()=>a0_0x22ad23(0x298),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0x22ad23(0x3fe)};function generateExampleValue(_0x5b23d4,_0x2c37a4,_0x85bee2,_0x4fe1b6={}){const _0xa5432d=a0_0x22ad23;typeof _0x5b23d4!==_0xa5432d(0x1bd)&&(!![]&&console['warn'](_0xa5432d(0x1b9),_0x5b23d4),_0x5b23d4=String(_0x5b23d4||''));if(typeof _0x2c37a4!=='string')return!![]&&console[_0xa5432d(0x288)](_0xa5432d(0x3c9),_0x2c37a4),'示例值';const {isPrimaryKey:_0x5ab8b7,dbtableConfig:_0x280c82}=_0x4fe1b6;if(_0x5ab8b7)return 0x1;if(_0x280c82&&typeof _0x280c82==='object'){const _0x56f565=_0x280c82[_0xa5432d(0x35d)]?.['fieldName']===_0x5b23d4,_0x5597a8=_0x280c82[_0xa5432d(0x2b8)]?.['fieldName']===_0x5b23d4;if(_0x56f565||_0x5597a8){if(_0x85bee2&&typeof _0x85bee2===_0xa5432d(0x1bd)&&_0x85bee2['toUpperCase']()[_0xa5432d(0x29c)](_0xa5432d(0x1a6)))return Date[_0xa5432d(0x36c)]();return new Date()[_0xa5432d(0x2fc)]()[_0xa5432d(0x382)]('T','\x20')[_0xa5432d(0x343)]('.')[0x0];}}const _0x2e7ee3={..._0x4fe1b6};_0x2e7ee3['fieldCode']=_0x5b23d4;const _0x1b3fec=_0x2e7ee3;if(_0x85bee2&&typeof _0x85bee2===_0xa5432d(0x1bd)){const _0xe754bb=_0x85bee2[_0xa5432d(0x244)](),_0x15c74f=TYPE_VALUE_GENERATORS[_0xe754bb];if(_0x15c74f)return _0x15c74f(_0x1b3fec);}if(_0x2c37a4&&typeof _0x2c37a4===_0xa5432d(0x1bd)){const _0x2d8108=_0x2c37a4[_0xa5432d(0x244)](),_0x43bb5e=TYPE_VALUE_GENERATORS[_0x2d8108];if(_0x43bb5e)return _0x43bb5e(_0x1b3fec);}return _0xa5432d(0x1ee);}function generateExampleFromSchema(_0x52b80b,_0x3ed487){const _0x1cd22e=a0_0x22ad23;if(!_0x52b80b||typeof _0x52b80b!==_0x1cd22e(0x1d9))return{};if(Array[_0x1cd22e(0x292)](_0x52b80b)){if(_0x52b80b['length']>0x0)return[generateExampleFromSchema(_0x52b80b[0x0],_0x3ed487)];return[];}const _0x3baf1f={};return Object[_0x1cd22e(0x3ae)](_0x52b80b)[_0x1cd22e(0x35e)](_0x3ce737=>{const _0x4bffef=_0x1cd22e,_0x5c5eb7=_0x52b80b[_0x3ce737];if(_0x5c5eb7&&typeof _0x5c5eb7===_0x4bffef(0x1d9)&&!Array['isArray'](_0x5c5eb7)&&_0x5c5eb7[_0x4bffef(0x22b)]){const _0x3113b0=_0x5c5eb7,_0x23ca29=_0x3113b0[_0x4bffef(0x22b)],_0x1adf63=_0x3113b0[_0x4bffef(0x43a)];if(typeof _0x23ca29===_0x4bffef(0x1bd)){const _0x48d137={};_0x48d137['description']=_0x1adf63,_0x48d137['dbtableConfig']=_0x3ed487,_0x3baf1f[_0x3ce737]=generateExampleValue(_0x3ce737,_0x23ca29,undefined,_0x48d137);}else _0x3baf1f[_0x3ce737]=_0x4bffef(0x1ee);}else{if(Array[_0x4bffef(0x292)](_0x5c5eb7))_0x3baf1f[_0x3ce737]=_0x5c5eb7[_0x4bffef(0x43e)]>0x0?[generateExampleFromSchema(_0x5c5eb7[0x0],_0x3ed487)]:[];else _0x5c5eb7&&typeof _0x5c5eb7===_0x4bffef(0x1d9)?_0x3baf1f[_0x3ce737]=generateExampleFromSchema(_0x5c5eb7,_0x3ed487):_0x3baf1f[_0x3ce737]=_0x5c5eb7;}}),_0x3baf1f;}function parseRequestBody(_0x5ca44b){const _0x5a0a74=a0_0x22ad23;if(!_0x5ca44b)return{};try{return JSON[_0x5a0a74(0x2b9)](_0x5ca44b);}catch(_0x2d3bd1){return!![]&&console[_0x5a0a74(0x288)](_0x5a0a74(0x33f),_0x2d3bd1),{};}}function parseResponseBody(_0x2d64a8){const _0xa09f4e=a0_0x22ad23;if(!_0x2d64a8)return null;try{const _0x1c2188=JSON['parse'](_0x2d64a8);return _0x1c2188[_0xa09f4e(0x3ec)]||_0x1c2188;}catch(_0x332ec1){return!![]&&console[_0xa09f4e(0x288)](_0xa09f4e(0x372),_0x332ec1),null;}}function generateRequestExample(_0x4f9463,_0x2835c1,_0x31a54b,_0x200d9b){const _0x3dabec=a0_0x22ad23,_0x5339ee={};if(!Array[_0x3dabec(0x292)](_0x4f9463))return!![]&&console[_0x3dabec(0x288)](_0x3dabec(0x29d),_0x4f9463),_0x5339ee;return _0x4f9463['forEach'](_0x558fd3=>{const _0xe7977e=_0x3dabec;if(!_0x558fd3||typeof _0x558fd3!==_0xe7977e(0x1d9)){!![]&&console[_0xe7977e(0x288)](_0xe7977e(0x221),_0x558fd3);return;}if(typeof _0x558fd3['code']!==_0xe7977e(0x1bd)||typeof _0x558fd3[_0xe7977e(0x22b)]!==_0xe7977e(0x1bd)){!![]&&console['warn']('[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:',_0x558fd3);return;}const _0x2713dc=parseFieldExtend(_0x558fd3),_0x236cd9=_0x558fd3[_0xe7977e(0x1af)]===_0x31a54b||Boolean(_0x2713dc?.[_0xe7977e(0x2ad)]),_0x475c73=generateExampleValue(_0x558fd3[_0xe7977e(0x1af)],_0x558fd3['type'],typeof _0x558fd3[_0xe7977e(0x3e4)]===_0xe7977e(0x1bd)?_0x558fd3[_0xe7977e(0x3e4)]:undefined,{'fieldInfo':_0x2713dc,'isPrimaryKey':_0x236cd9,'description':_0x558fd3[_0xe7977e(0x43a)]||_0x558fd3[_0xe7977e(0x36f)],'dbtableConfig':_0x200d9b});_0x5339ee[_0x558fd3[_0xe7977e(0x1af)]]=_0x475c73;}),_0x2835c1===_0x3dabec(0x329)&&(_0x5339ee[_0x3dabec(0x409)]=0x1,_0x5339ee[_0x3dabec(0x39e)]=0xa),_0x5339ee;}function formatEnumValue(_0x4de56f,_0x237bad){const _0x52afdd=a0_0x22ad23;if(_0x4de56f[_0x52afdd(0x353)]&&Array[_0x52afdd(0x292)](_0x237bad))return _0x237bad[_0x52afdd(0x276)](_0x3fd743=>_0x4de56f[_0x52afdd(0x25e)][String(_0x3fd743)]||String(_0x3fd743))[_0x52afdd(0x32e)](',\x20');return _0x4de56f[_0x52afdd(0x25e)][String(_0x237bad)]||String(_0x237bad);}function formatOptionsForDoc(_0x1c5499){const _0x3c37b2=a0_0x22ad23;return _0x1c5499[_0x3c37b2(0x276)](_0x3f35b2=>_0x3f35b2['value']+'('+_0x3f35b2[_0x3c37b2(0x1de)]+')')[_0x3c37b2(0x32e)](',\x20');}function formatOptionsAsMarkdownList(_0x194b5f,_0x1787e2=0x0){const _0x12ecea=a0_0x22ad23,_0x4ecb14='\x20\x20'['repeat'](_0x1787e2),_0x37ab22=[];return _0x194b5f[_0x12ecea(0x35e)](_0x101e22=>{const _0x250074=_0x12ecea;_0x37ab22[_0x250074(0x44f)](_0x4ecb14+_0x250074(0x2d4)+_0x101e22['value']+_0x250074(0x3e5)+_0x101e22['label']),_0x101e22['children']&&_0x101e22['children'][_0x250074(0x43e)]>0x0&&_0x37ab22['push'](formatOptionsAsMarkdownList(_0x101e22[_0x250074(0x1bc)],_0x1787e2+0x1));}),_0x37ab22['join']('\x0a');}class DbtableConfig{[a0_0x22ad23(0x2b5)];constructor(_0x37a88c){const _0x85ec17=a0_0x22ad23,_0x4a34be={..._0x37a88c};this[_0x85ec17(0x2b5)]=_0x4a34be;}get['dbId'](){const _0x172086=a0_0x22ad23;return this[_0x172086(0x2b5)][_0x172086(0x240)];}get[a0_0x22ad23(0x3da)](){const _0x4dd829=a0_0x22ad23;return this['_raw'][_0x4dd829(0x3da)]??this[_0x4dd829(0x2b5)]['dblinkInfoDTO']?.[_0x4dd829(0x3da)];}get[a0_0x22ad23(0x2c7)](){const _0x2a8ece=a0_0x22ad23;return this['_raw'][_0x2a8ece(0x2c7)];}get[a0_0x22ad23(0x323)](){const _0x20f5df=a0_0x22ad23;return this[_0x20f5df(0x2b5)][_0x20f5df(0x323)];}get[a0_0x22ad23(0x335)](){const _0x5675bf=a0_0x22ad23;return this[_0x5675bf(0x2b5)][_0x5675bf(0x335)];}get[a0_0x22ad23(0x3a1)](){const _0x1ef507=a0_0x22ad23;return this[_0x1ef507(0x2b5)][_0x1ef507(0x3a1)];}get[a0_0x22ad23(0x450)](){const _0x44f2e0=a0_0x22ad23;return this[_0x44f2e0(0x2b5)][_0x44f2e0(0x450)];}get['createTimeField'](){const _0x51f1d0=a0_0x22ad23;return this[_0x51f1d0(0x2b5)][_0x51f1d0(0x35d)];}get[a0_0x22ad23(0x2b8)](){const _0x4bfde5=a0_0x22ad23;return this[_0x4bfde5(0x2b5)]['updateTimeField'];}get[a0_0x22ad23(0x339)](){const _0x489ed2=a0_0x22ad23;return this['_raw'][_0x489ed2(0x339)];}get[a0_0x22ad23(0x32d)](){const _0x3a80e6=a0_0x22ad23;return this[_0x3a80e6(0x2b5)][_0x3a80e6(0x32d)];}get[a0_0x22ad23(0x2d5)](){const _0x346d74=a0_0x22ad23;return this[_0x346d74(0x2b5)][_0x346d74(0x2d5)];}get[a0_0x22ad23(0x318)](){return this['_raw']['modifierNameField'];}get['dblinkInfoDTO'](){const _0x231971=a0_0x22ad23;return this[_0x231971(0x2b5)][_0x231971(0x2e0)];}['getAllFieldsArray'](){const _0x2051fd=a0_0x22ad23;if(!this[_0x2051fd(0x2b5)][_0x2051fd(0x3ef)])return[];return this[_0x2051fd(0x2b5)][_0x2051fd(0x3ef)][_0x2051fd(0x343)](',')[_0x2051fd(0x276)](_0x4db5c7=>_0x4db5c7[_0x2051fd(0x384)]())[_0x2051fd(0x314)](Boolean);}[a0_0x22ad23(0x45e)](){const _0x495fec=a0_0x22ad23;return this['_raw'][_0x495fec(0x3ef)];}[a0_0x22ad23(0x3b4)](_0x1e8c33){const _0x512d7f=a0_0x22ad23;return this[_0x512d7f(0x212)]()[_0x512d7f(0x29c)](_0x1e8c33);}['hasTableName'](){const _0x2722e6=a0_0x22ad23;return Boolean(this['_raw'][_0x2722e6(0x2c7)]);}['hasDblinkInfo'](){return Boolean(this['_raw']['dblinkInfoDTO']);}[a0_0x22ad23(0x299)](){const _0x29beea=a0_0x22ad23;return Boolean(this[_0x29beea(0x2b5)][_0x29beea(0x450)]?.[_0x29beea(0x40d)]);}[a0_0x22ad23(0x2c6)](){const _0x1e2f2e=a0_0x22ad23;return Boolean(this['_raw'][_0x1e2f2e(0x35d)]?.[_0x1e2f2e(0x40d)]);}['hasUpdateTimeField'](){const _0x4dc225=a0_0x22ad23;return Boolean(this['_raw']['updateTimeField']?.[_0x4dc225(0x40d)]);}[a0_0x22ad23(0x2af)](){const _0x31f7b9=a0_0x22ad23;return Boolean(this['_raw'][_0x31f7b9(0x339)]?.[_0x31f7b9(0x40d)]);}['hasModifierIdField'](){const _0x3fc963=a0_0x22ad23;return Boolean(this['_raw'][_0x3fc963(0x2d5)]?.[_0x3fc963(0x40d)]);}[a0_0x22ad23(0x464)](_0x5ae4a9){const _0x4c0445=a0_0x22ad23;return this[_0x4c0445(0x2b5)]['pkField']===_0x5ae4a9;}['isSystemField'](_0x2c4a5d){const _0x47de61=a0_0x22ad23;return this[_0x47de61(0x464)](_0x2c4a5d)||this[_0x47de61(0x2b5)][_0x47de61(0x450)]?.[_0x47de61(0x40d)]===_0x2c4a5d||this[_0x47de61(0x2b5)][_0x47de61(0x35d)]?.[_0x47de61(0x40d)]===_0x2c4a5d||this[_0x47de61(0x2b5)][_0x47de61(0x2b8)]?.[_0x47de61(0x40d)]===_0x2c4a5d||this[_0x47de61(0x2b5)][_0x47de61(0x339)]?.[_0x47de61(0x40d)]===_0x2c4a5d||this[_0x47de61(0x2b5)][_0x47de61(0x32d)]?.[_0x47de61(0x40d)]===_0x2c4a5d||this[_0x47de61(0x2b5)][_0x47de61(0x2d5)]?.[_0x47de61(0x40d)]===_0x2c4a5d||this['_raw']['modifierNameField']?.[_0x47de61(0x40d)]===_0x2c4a5d;}[a0_0x22ad23(0x412)](){const _0x14dc6a=a0_0x22ad23;return this[_0x14dc6a(0x2b5)][_0x14dc6a(0x2e0)]?.[_0x14dc6a(0x3da)];}[a0_0x22ad23(0x448)](){const _0x5842f6=a0_0x22ad23;return this[_0x5842f6(0x2b5)][_0x5842f6(0x2e0)]?.[_0x5842f6(0x3e4)];}[a0_0x22ad23(0x349)](){const _0x40646c=a0_0x22ad23;return this['_raw'][_0x40646c(0x2e0)]?.[_0x40646c(0x1d8)];}[a0_0x22ad23(0x3a8)](){const _0x3afe18=a0_0x22ad23;return this[_0x3afe18(0x2b5)][_0x3afe18(0x2e0)]?.[_0x3afe18(0x3b3)];}[a0_0x22ad23(0x1e8)](){const _0x1925d9=a0_0x22ad23;return this[_0x1925d9(0x2b5)]['dblinkInfoDTO']?.[_0x1925d9(0x294)];}[a0_0x22ad23(0x30e)](){const _0x2c300e=a0_0x22ad23;return this[_0x2c300e(0x2b5)][_0x2c300e(0x2e0)]?.[_0x2c300e(0x24c)];}['getStats'](){const _0x2c40fc=a0_0x22ad23;return{'hasTableName':this[_0x2c40fc(0x1e6)](),'hasDblinkInfo':this[_0x2c40fc(0x39b)](),'fieldCount':this[_0x2c40fc(0x212)]()[_0x2c40fc(0x43e)],'systemFields':{'hasLogicField':this[_0x2c40fc(0x299)](),'hasCreateTimeField':this[_0x2c40fc(0x2c6)](),'hasUpdateTimeField':this[_0x2c40fc(0x39d)](),'hasCreatorIdField':this[_0x2c40fc(0x2af)](),'hasModifierIdField':this['hasModifierIdField']()}};}[a0_0x22ad23(0x1d3)](){const _0x251d2c=a0_0x22ad23,_0x6396da={};return _0x6396da[_0x251d2c(0x2c7)]=this['tableName'],_0x6396da[_0x251d2c(0x335)]=this[_0x251d2c(0x335)],_0x6396da[_0x251d2c(0x323)]=this[_0x251d2c(0x323)],_0x6396da[_0x251d2c(0x240)]=this[_0x251d2c(0x240)],_0x6396da;}[a0_0x22ad23(0x346)](){const _0x4b7cc1=a0_0x22ad23,_0x20e474={...this[_0x4b7cc1(0x2b5)]};return _0x20e474;}[a0_0x22ad23(0x469)](){const _0xacc8be=a0_0x22ad23,_0x1f73e7={...this[_0xacc8be(0x2b5)]};return _0x1f73e7;}[a0_0x22ad23(0x35a)](){const _0x2e81db=a0_0x22ad23,_0x124b6b=this[_0x2e81db(0x2c7)]||_0x2e81db(0x315),_0x4a9e29=this[_0x2e81db(0x212)]()[_0x2e81db(0x43e)];return _0x2e81db(0x391)+_0x124b6b+',\x20fields:\x20'+_0x4a9e29+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x22ad23(0x2b5)];constructor(_0x4d0189){const _0x465dfa=a0_0x22ad23,_0x4a5040=_0x4d0189[_0x465dfa(0x233)]||_0x4d0189[_0x465dfa(0x1af)]||_0x4d0189[_0x465dfa(0x203)],_0x3a8714={..._0x4d0189};_0x3a8714[_0x465dfa(0x233)]=_0x4a5040,this['_raw']=_0x3a8714;}get['id'](){const _0x243325=a0_0x22ad23;return this[_0x243325(0x2b5)]['id'];}get['name'](){const _0x128b22=a0_0x22ad23;return this[_0x128b22(0x2b5)][_0x128b22(0x36f)];}[a0_0x22ad23(0x24e)](){const _0x44fe7c=a0_0x22ad23;return this[_0x44fe7c(0x36f)];}get[a0_0x22ad23(0x233)](){const _0xc99823=a0_0x22ad23;return this[_0xc99823(0x2b5)][_0xc99823(0x233)]||'';}get[a0_0x22ad23(0x1b5)](){const _0x5928a7=a0_0x22ad23;if(!this[_0x5928a7(0x2b5)][_0x5928a7(0x1b5)])return null;return new DbtableConfig(this['_raw']['dbtableConfig']);}[a0_0x22ad23(0x3c5)](){const _0x5124f8=a0_0x22ad23;return this[_0x5124f8(0x2b5)][_0x5124f8(0x1b5)];}[a0_0x22ad23(0x2ab)](){const _0x55f004=a0_0x22ad23;return this['dbtableConfig']?.[_0x55f004(0x3da)]||'';}['getTableName'](){return getTableName(this['_raw']);}['getTableKey'](){return getTableKey(this['getTableName']());}[a0_0x22ad23(0x286)](){const _0x2122c2=a0_0x22ad23;return generateModelKeyFromCode(this[_0x2122c2(0x233)]);}['isVirtualTable'](){const _0x34d7d=a0_0x22ad23;return isVirtualTableName(this[_0x34d7d(0x45a)]());}[a0_0x22ad23(0x27d)](){const _0x225f08=a0_0x22ad23;return getTableKey(this[_0x225f08(0x45a)]());}['toConfig'](){const _0x1b323d=a0_0x22ad23,_0x392607=getTableKey(this[_0x1b323d(0x45a)]());return{'key':_0x392607,'alias':_0x392607,'tableName':this[_0x1b323d(0x45a)](),'datasetCode':this['datasetCode'],'name':this[_0x1b323d(0x36f)]};}[a0_0x22ad23(0x346)](){const _0x536554=a0_0x22ad23,_0x350974={...this[_0x536554(0x2b5)]};return _0x350974[_0x536554(0x233)]=this[_0x536554(0x233)],_0x350974;}[a0_0x22ad23(0x469)](){const _0x328ac6={...this['_raw']};return _0x328ac6;}[a0_0x22ad23(0x3ea)](){const _0x29511a=a0_0x22ad23,_0x2c0153=this['dbtableConfig'];return _0x2c0153!==null&&_0x2c0153[_0x29511a(0x1e6)]();}[a0_0x22ad23(0x3d5)](_0x54aa10){const _0x3fab54=a0_0x22ad23;return this[_0x3fab54(0x2b5)][_0x54aa10];}[a0_0x22ad23(0x419)](_0x174feb){const _0x1e1fc4=a0_0x22ad23;return _0x174feb in this[_0x1e1fc4(0x2b5)];}[a0_0x22ad23(0x35a)](){const _0x4a081b=a0_0x22ad23;return _0x4a081b(0x290)+this[_0x4a081b(0x36f)]+',\x20'+this[_0x4a081b(0x233)]+')';}}class Operation{[a0_0x22ad23(0x36f)];[a0_0x22ad23(0x2b5)];['context'];constructor(_0x51c256,_0x2b8c57,_0x50a74b){const _0x1ceea3=a0_0x22ad23;this[_0x1ceea3(0x36f)]=_0x51c256,this['_raw']=_0x2b8c57,this[_0x1ceea3(0x254)]=_0x50a74b;}['getName'](){const _0x50f0b7=a0_0x22ad23;return this[_0x50f0b7(0x36f)];}[a0_0x22ad23(0x394)](){const _0x3e8f27=a0_0x22ad23;return OPERATION_TYPE_DISPLAY_NAME[this[_0x3e8f27(0x36f)]]||this['name'];}[a0_0x22ad23(0x1ea)](){const _0x5f398d=a0_0x22ad23;return parseOperationType(this[_0x5f398d(0x36f)]);}[a0_0x22ad23(0x1c9)](){const _0x20566f=a0_0x22ad23;return this[_0x20566f(0x2b5)]!==null&&this[_0x20566f(0x2b5)]!==![];}[a0_0x22ad23(0x33e)](){const _0x20df32=this['_raw'];if(_0x20df32===![]||_0x20df32===null)return'';return _0x20df32['method']||'GET';}[a0_0x22ad23(0x3b0)](){const _0x10eae8=a0_0x22ad23,_0x48c536=this[_0x10eae8(0x2b5)];if(_0x48c536===![]||_0x48c536===null)return'';return _0x48c536['path']||'';}[a0_0x22ad23(0x218)](){const _0x4e5dd2=a0_0x22ad23,_0x399b44=this[_0x4e5dd2(0x2b5)];let _0x5ad576='';_0x399b44!==![]&&_0x399b44!==null&&_0x399b44[_0x4e5dd2(0x268)]&&(_0x5ad576=_0x399b44[_0x4e5dd2(0x268)]);const _0x528ede=this[_0x4e5dd2(0x3b0)]();return _0x5ad576&&_0x528ede?''+_0x5ad576+_0x528ede:_0x528ede;}[a0_0x22ad23(0x2f1)](){const _0x2eafdc=a0_0x22ad23,_0x56c6a9=this['_raw'];if(_0x56c6a9===![]||_0x56c6a9===null||!_0x56c6a9[_0x2eafdc(0x44b)])return{};try{return JSON[_0x2eafdc(0x2b9)](_0x56c6a9['requestBody']);}catch{return{};}}[a0_0x22ad23(0x1c7)](){const _0x6ced51=a0_0x22ad23,_0x4505c2=this['_raw'];if(_0x4505c2===![]||_0x4505c2===null||!_0x4505c2[_0x6ced51(0x1bf)])return null;try{return JSON[_0x6ced51(0x2b9)](_0x4505c2[_0x6ced51(0x1bf)]);}catch{return null;}}[a0_0x22ad23(0x433)](){const _0x27dd07=a0_0x22ad23;return this[_0x27dd07(0x2f1)]();}[a0_0x22ad23(0x42e)](){const _0x125651=a0_0x22ad23;return this[_0x125651(0x1c7)]();}[a0_0x22ad23(0x36e)](){const _0x1d0581=a0_0x22ad23,_0x633703=this['getRequestParams']();return Object[_0x1d0581(0x3ae)](_0x633703);}[a0_0x22ad23(0x2f5)](){const _0x41e039=a0_0x22ad23,_0x337e05=this['getRequestParams'](),_0x37ee57={};return Object[_0x41e039(0x3e9)](_0x337e05)[_0x41e039(0x35e)](([_0x30aa4a,_0x5cdfcc])=>{const _0x419fd2=_0x41e039,_0x32a458=_0x5cdfcc;_0x37ee57[_0x30aa4a]=generateExampleValue(_0x30aa4a,_0x32a458[_0x419fd2(0x22b)]||_0x419fd2(0x44e),undefined,{'description':_0x32a458[_0x419fd2(0x43a)]});}),_0x37ee57;}['generateHTTPExample'](){return this['generateRequestExample']();}[a0_0x22ad23(0x342)](){const _0x191190=a0_0x22ad23,_0x39ef7f=this[_0x191190(0x1c7)]();if(!_0x39ef7f){const _0x53399e={};return _0x53399e['success']=!![],_0x53399e[_0x191190(0x41a)]=_0x191190(0x1eb),_0x53399e['errorMsg']='',_0x53399e[_0x191190(0x468)]=_0x191190(0x1e7),_0x53399e['data']=null,_0x53399e;}return this['generateFromSchema'](_0x39ef7f);}[a0_0x22ad23(0x2b0)](_0x5e59a5){const _0x2c7bd5=a0_0x22ad23;if(!_0x5e59a5||typeof _0x5e59a5!==_0x2c7bd5(0x1d9))return{};if(Array['isArray'](_0x5e59a5))return _0x5e59a5['length']>0x0?[this['generateFromSchema'](_0x5e59a5[0x0])]:[];const _0x1bc629={};for(const [_0x4e190f,_0x51d95b]of Object[_0x2c7bd5(0x3e9)](_0x5e59a5)){if(_0x51d95b&&typeof _0x51d95b===_0x2c7bd5(0x1d9)&&!Array[_0x2c7bd5(0x292)](_0x51d95b)){const _0x5c5e73=_0x51d95b;_0x1bc629[_0x4e190f]=generateExampleValue(_0x4e190f,_0x5c5e73[_0x2c7bd5(0x22b)]||_0x2c7bd5(0x44e),undefined,{'description':_0x5c5e73[_0x2c7bd5(0x43a)]});}else Array[_0x2c7bd5(0x292)](_0x51d95b)?_0x1bc629[_0x4e190f]=_0x51d95b[_0x2c7bd5(0x43e)]>0x0?[this[_0x2c7bd5(0x2b0)](_0x51d95b[0x0])]:[]:_0x1bc629[_0x4e190f]=_0x51d95b;}return _0x1bc629;}[a0_0x22ad23(0x208)](_0x170640,_0xd50729,_0x227edd,_0x35e9f9){return generateExampleValue(_0x170640,_0xd50729,_0x227edd,_0x35e9f9);}[a0_0x22ad23(0x43b)](_0x304a05,_0x271689){const _0x2a07b3=a0_0x22ad23,_0x386ee4=this[_0x2a07b3(0x24e)]();return _0x2a07b3(0x249)+_0x304a05+'.'+_0x386ee4+_0x2a07b3(0x37f);}[a0_0x22ad23(0x3f8)](_0x38c3b7){const _0x6dc516=a0_0x22ad23,_0x220f6c=this[_0x6dc516(0x24e)](),_0x39e3dc=_0x38c3b7||_0x6dc516(0x3ed),_0x105339={};return _0x105339['successCode']='const\x20data\x20=\x20await\x20client.models.'+_0x39e3dc+'.'+_0x220f6c+'();',_0x105339['errorCode']=_0x6dc516(0x38d)+_0x39e3dc+'.'+_0x220f6c+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x105339;}[a0_0x22ad23(0x324)](){const _0x567bc9=a0_0x22ad23,_0x1bce63=this['getRequestParams'](),_0x6534c6=Object[_0x567bc9(0x3e9)](_0x1bce63)['map'](([_0x174a7f,_0xa286e9])=>{const _0x1a7032=_0x567bc9,_0x51c8e7=_0xa286e9,_0x34625c={};return _0x34625c[_0x1a7032(0x36f)]=_0x174a7f,_0x34625c[_0x1a7032(0x22b)]=_0x51c8e7[_0x1a7032(0x22b)]||_0x1a7032(0x44e),_0x34625c['description']=_0x51c8e7['description']||'-',_0x34625c[_0x1a7032(0x1b3)]=_0x51c8e7['required'],_0x34625c;}),_0x336866={};return _0x336866[_0x567bc9(0x313)]=_0x6534c6,_0x336866;}['getResponseParamsDocInfo'](){const _0x28cb91=a0_0x22ad23,_0x1b2bb2=this['parseRawResponseBody']();if(!_0x1b2bb2){const _0x596222={};return _0x596222[_0x28cb91(0x313)]=[],_0x596222;}const _0x2c96ce=Object[_0x28cb91(0x3e9)](_0x1b2bb2)[_0x28cb91(0x276)](([_0x59b91f,_0x4bded7])=>{const _0x5b8fd5=_0x28cb91,_0x2ae782=_0x4bded7,_0x251a8f={};return _0x251a8f[_0x5b8fd5(0x36f)]=_0x59b91f,_0x251a8f[_0x5b8fd5(0x22b)]=_0x2ae782[_0x5b8fd5(0x22b)]||_0x5b8fd5(0x44e),_0x251a8f[_0x5b8fd5(0x43a)]=_0x2ae782[_0x5b8fd5(0x43a)]||'-',_0x251a8f;}),_0x34cded={};return _0x34cded[_0x28cb91(0x313)]=_0x2c96ce,_0x34cded;}[a0_0x22ad23(0x2a2)](){return[];}[a0_0x22ad23(0x3f9)](){const _0x36df0d=a0_0x22ad23;return this['context'][_0x36df0d(0x3ee)]||[];}[a0_0x22ad23(0x38c)](){const _0x1dad1e=a0_0x22ad23;return{'systemFields':this['getSystemFields'](),'businessFields':this[_0x1dad1e(0x3f9)]()};}['getFieldDefinition'](_0x59a06c){const _0x2a10ea=a0_0x22ad23;return this[_0x2a10ea(0x254)][_0x2a10ea(0x3ee)][_0x2a10ea(0x3e1)](_0x5015c8=>_0x5015c8?.[_0x2a10ea(0x1af)]===_0x59a06c);}[a0_0x22ad23(0x3d6)](_0x434c7e){return _0x434c7e['code'];}[a0_0x22ad23(0x390)](_0x26ea33){const _0xfcc1d3=a0_0x22ad23;return _0x26ea33[_0xfcc1d3(0x22b)];}[a0_0x22ad23(0x258)](_0x2eac69){const _0x34ff2b=a0_0x22ad23;return _0x2eac69[_0x34ff2b(0x36f)];}[a0_0x22ad23(0x3d3)](_0x203ac7){const _0x48735b=a0_0x22ad23;return _0x203ac7[_0x48735b(0x43a)];}['getFieldOptions'](_0x243124){const _0x3fddcf=a0_0x22ad23;return _0x243124[_0x3fddcf(0x238)]()||null;}['isFieldPrimaryKey'](_0x2a773c){return _0x2a773c['isPrimaryKey']();}[a0_0x22ad23(0x1fe)](){return[];}[a0_0x22ad23(0x3db)](_0x868ae4){return[];}[a0_0x22ad23(0x346)](){const _0x4b2d0c=a0_0x22ad23;return{'name':this['getName'](),'displayName':this[_0x4b2d0c(0x394)](),'type':this[_0x4b2d0c(0x1ea)](),'enabled':this[_0x4b2d0c(0x1c9)](),'method':this[_0x4b2d0c(0x33e)](),'path':this['getPath'](),'fullUrl':this[_0x4b2d0c(0x218)](),'requestParams':this[_0x4b2d0c(0x433)](),'requestExample':this[_0x4b2d0c(0x2f5)](),'responseExample':this['generateResponseExample']()};}[a0_0x22ad23(0x35a)](){const _0x476567=a0_0x22ad23,_0x3548c9=this[_0x476567(0x1c9)]()?'启用':'禁用';return this[_0x476567(0x394)]()+'('+this[_0x476567(0x36f)]+',\x20'+_0x3548c9+')';}}class GenericOperation extends Operation{['_requestExampleCache'];[a0_0x22ad23(0x433)](){const _0x33ca92=a0_0x22ad23;return this[_0x33ca92(0x2f1)]();}[a0_0x22ad23(0x42e)](){const _0x21ee46=a0_0x22ad23;return this[_0x21ee46(0x1c7)]();}[a0_0x22ad23(0x2f5)](){const _0x111274=a0_0x22ad23;if(this[_0x111274(0x1da)])return this['_requestExampleCache'];const _0x2b235b={},_0x3ea249=this[_0x111274(0x433)](),_0x8b81ca=this[_0x111274(0x1ea)]();if(Object[_0x111274(0x3ae)](_0x3ea249)['length']===0x0&&_0x8b81ca){const _0xc41365=this[_0x111274(0x3f9)]();return _0xc41365[_0x111274(0x35e)](_0x28ce16=>{const _0x4343e7=_0x111274,_0x1b3dc1=_0x28ce16[_0x4343e7(0x1af)],_0x1d95c5=_0x28ce16[_0x4343e7(0x22b)],_0x14bb4a=this['generateFieldExample'](_0x1b3dc1,_0x1d95c5,_0x28ce16[_0x4343e7(0x40e)](),{'isPrimaryKey':_0x28ce16['isPrimaryKey'](),'description':_0x28ce16[_0x4343e7(0x43a)]||_0x28ce16[_0x4343e7(0x36f)]});_0x2b235b[_0x1b3dc1]=_0x14bb4a;}),this['_requestExampleCache']=_0x2b235b,_0x2b235b;}return Object[_0x111274(0x3e9)](_0x3ea249)[_0x111274(0x35e)](([_0x28de16,_0x274bb5])=>{const _0x4b658c=_0x111274,_0x1d9b47=_0x274bb5;let _0x492b3d;if(typeof _0x1d9b47['type']===_0x4b658c(0x1bd))_0x492b3d=_0x1d9b47['type'];else _0x1d9b47[_0x4b658c(0x22b)]&&typeof _0x1d9b47[_0x4b658c(0x22b)]===_0x4b658c(0x1d9)?_0x492b3d=_0x1d9b47[_0x4b658c(0x22b)][_0x4b658c(0x22b)]||_0x4b658c(0x1cc):_0x492b3d=_0x4b658c(0x1cc);const _0x1d7ca4=_0x1d9b47[_0x4b658c(0x43a)],_0x2aaa60=this['getFieldDefinition'](_0x28de16);if(_0x28de16===_0x4b658c(0x409))_0x2b235b[_0x28de16]=0x1;else{if(_0x28de16==='pageSize')_0x2b235b[_0x28de16]=0xa;else{if(_0x28de16==='id')_0x2b235b[_0x28de16]=0x1;else{const _0x2e00b5=_0x2aaa60?_0x2aaa60[_0x4b658c(0x40e)]():undefined,_0x458bd6=_0x2aaa60?_0x2aaa60[_0x4b658c(0x43a)]:undefined,_0x42cb30=_0x2aaa60?_0x2aaa60[_0x4b658c(0x36f)]:undefined;_0x2b235b[_0x28de16]=this[_0x4b658c(0x208)](_0x28de16,_0x492b3d,_0x2e00b5||undefined,{'isPrimaryKey':_0x28de16===this[_0x4b658c(0x254)][_0x4b658c(0x335)]||_0x28de16==='id','description':_0x1d7ca4||_0x458bd6||_0x42cb30});}}}}),this['_requestExampleCache']=_0x2b235b,_0x2b235b;}[a0_0x22ad23(0x342)](){const _0x2e8bac=a0_0x22ad23,_0x111205=this[_0x2e8bac(0x42e)]();if(!_0x111205){const _0x44f6a4={};return _0x44f6a4[_0x2e8bac(0x1d4)]=!![],_0x44f6a4[_0x2e8bac(0x41a)]=_0x2e8bac(0x1eb),_0x44f6a4['errorMsg']='',_0x44f6a4['errorCode']='0000',_0x44f6a4[_0x2e8bac(0x22c)]=null,_0x44f6a4;}return this[_0x2e8bac(0x2b0)](_0x111205);}['generateFromSchema'](_0x2c4fdd){const _0x2d5f12=a0_0x22ad23;if(!_0x2c4fdd||typeof _0x2c4fdd!==_0x2d5f12(0x1d9))return{};if(Array[_0x2d5f12(0x292)](_0x2c4fdd)){if(_0x2c4fdd[_0x2d5f12(0x43e)]>0x0)return[this['generateFromSchema'](_0x2c4fdd[0x0])];return[];}const _0x5f3b37={};return Object[_0x2d5f12(0x3ae)](_0x2c4fdd)[_0x2d5f12(0x35e)](_0x49707e=>{const _0x38b871=_0x2d5f12,_0x4f666c=_0x2c4fdd[_0x49707e];if(_0x4f666c&&typeof _0x4f666c===_0x38b871(0x1d9)&&!Array[_0x38b871(0x292)](_0x4f666c)&&_0x4f666c[_0x38b871(0x22b)]){const _0x2e9f01=_0x4f666c;let _0x3576bc;if(typeof _0x2e9f01[_0x38b871(0x22b)]==='string')_0x3576bc=_0x2e9f01['type'];else _0x2e9f01[_0x38b871(0x22b)]&&typeof _0x2e9f01['type']===_0x38b871(0x1d9)?_0x3576bc=_0x2e9f01[_0x38b871(0x22b)][_0x38b871(0x22b)]||'TEXT':_0x3576bc=_0x38b871(0x1cc);const _0x17fcba=_0x2e9f01['description'],_0x27eb0b={};_0x27eb0b['description']=_0x17fcba,_0x5f3b37[_0x49707e]=this[_0x38b871(0x208)](_0x49707e,_0x3576bc,undefined,_0x27eb0b);}else{if(Array[_0x38b871(0x292)](_0x4f666c))_0x5f3b37[_0x49707e]=_0x4f666c[_0x38b871(0x43e)]>0x0?[this['generateFromSchema'](_0x4f666c[0x0])]:[];else _0x4f666c&&typeof _0x4f666c===_0x38b871(0x1d9)?_0x5f3b37[_0x49707e]=this[_0x38b871(0x2b0)](_0x4f666c):_0x5f3b37[_0x49707e]=_0x4f666c;}}),_0x5f3b37;}[a0_0x22ad23(0x43b)](_0x5d853f,_0x1b93f2){const _0x5f4a26=a0_0x22ad23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1b93f2||{},_0x1e574a=this[_0x5f4a26(0x24e)](),_0x1446ae=this[_0x5f4a26(0x1ea)](),_0x9cc495=this[_0x5f4a26(0x36e)](),_0x343aa4=this[_0x5f4a26(0x2f5)](),_0x478a75=_0x51c36e=>{const _0x30e2a8=_0x5f4a26;if(Object['keys'](_0x51c36e)[_0x30e2a8(0x43e)]===0x0)return'{}';const _0x4d30bd=JSON[_0x30e2a8(0x420)](_0x51c36e,null,0x2)[_0x30e2a8(0x343)]('\x0a')[_0x30e2a8(0x276)]((_0x504310,_0x32c182)=>_0x32c182===0x0?_0x504310:indent+_0x504310)[_0x30e2a8(0x32e)]('\x0a');return _0x4d30bd;};switch(_0x1446ae){case _0x5f4a26(0x2e4):case _0x5f4a26(0x3ab):return _0x5f4a26(0x249)+_0x5d853f+'.'+_0x1e574a+'(id);';case _0x5f4a26(0x22e):if(useFullExample&&Object[_0x5f4a26(0x3ae)](_0x343aa4)[_0x5f4a26(0x43e)]>0x0)return _0x5f4a26(0x249)+_0x5d853f+'.'+_0x1e574a+_0x5f4a26(0x312)+_0x478a75(_0x343aa4)+');';return _0x5f4a26(0x249)+_0x5d853f+'.'+_0x1e574a+_0x5f4a26(0x1ca);case _0x5f4a26(0x3d7):case _0x5f4a26(0x329):case'getSelectOptions':default:if(_0x9cc495[_0x5f4a26(0x43e)]>0x0){if(useFullExample&&Object[_0x5f4a26(0x3ae)](_0x343aa4)[_0x5f4a26(0x43e)]>0x0)return _0x5f4a26(0x249)+_0x5d853f+'.'+_0x1e574a+'('+_0x478a75(_0x343aa4)+');';else{const _0x4d33f1=Object['keys'](_0x343aa4);if(_0x4d33f1[_0x5f4a26(0x43e)]>0x0){const _0x25402b=_0x4d33f1[_0x5f4a26(0x1a9)](0x0,0x2)[_0x5f4a26(0x32e)](',\x20');return _0x5f4a26(0x249)+_0x5d853f+'.'+_0x1e574a+'({\x20'+_0x25402b+_0x5f4a26(0x26d);}else return _0x5f4a26(0x249)+_0x5d853f+'.'+_0x1e574a+_0x5f4a26(0x42c);}}else return _0x5f4a26(0x249)+_0x5d853f+'.'+_0x1e574a+_0x5f4a26(0x37f);}}['generateRequestAllExamples'](){const _0x2f3b7a=a0_0x22ad23;return[{'title':_0x2f3b7a(0x3f1),'data':this['generateRequestExample']()}];}[a0_0x22ad23(0x2a2)](){const _0x29f828=a0_0x22ad23,_0x3dcdbb=this['getType'](),_0x38bd4c=[];switch(_0x3dcdbb){case _0x29f828(0x2e4):case _0x29f828(0x3ab):const _0x20a20f={};_0x20a20f[_0x29f828(0x1af)]='id',_0x20a20f['type']='NUMBER',_0x20a20f['description']=_0x29f828(0x3aa),_0x38bd4c['push'](_0x20a20f);break;case _0x29f828(0x329):const _0x2ff449={};_0x2ff449[_0x29f828(0x1af)]=_0x29f828(0x409),_0x2ff449[_0x29f828(0x22b)]=_0x29f828(0x1dd),_0x2ff449[_0x29f828(0x43a)]=_0x29f828(0x3a4);const _0x224b0d={};_0x224b0d[_0x29f828(0x1af)]=_0x29f828(0x39e),_0x224b0d['type']=_0x29f828(0x1dd),_0x224b0d[_0x29f828(0x43a)]='每页条数',_0x38bd4c[_0x29f828(0x44f)](_0x2ff449,_0x224b0d);break;case _0x29f828(0x31f):const _0x204cc1={};_0x204cc1[_0x29f828(0x1af)]='code',_0x204cc1['type']=_0x29f828(0x28e),_0x204cc1[_0x29f828(0x43a)]=_0x29f828(0x3ad),_0x38bd4c['push'](_0x204cc1);break;default:break;}return _0x38bd4c;}[a0_0x22ad23(0x3f9)](){const _0x1269ee=a0_0x22ad23,_0x538f42=this['getType'](),_0x2dc505=this[_0x1269ee(0x254)][_0x1269ee(0x3ee)]||[];switch(_0x538f42){case _0x1269ee(0x2e4):case'delete':return[];case _0x1269ee(0x3d7):return _0x2dc505['filter'](_0x359110=>{const _0x2a8ac1=_0x1269ee;if(_0x359110[_0x2a8ac1(0x28a)])return![];if(_0x359110[_0x2a8ac1(0x1f0)]()&&_0x359110[_0x2a8ac1(0x3e6)]())return![];if(_0x359110['isSystem']())return![];if(_0x359110['isCreateTime']()||_0x359110[_0x2a8ac1(0x2b3)]())return![];return!![];});case'update':return _0x2dc505[_0x1269ee(0x314)](_0x1063e0=>{const _0x114281=_0x1269ee;if(_0x1063e0[_0x114281(0x28a)])return![];if(_0x1063e0[_0x114281(0x1f0)]())return![];if(_0x1063e0['isSystem']())return![];if(_0x1063e0[_0x114281(0x358)]()||_0x1063e0[_0x114281(0x2b3)]())return![];if(_0x1063e0['isAutoIncrement']())return![];return!![];});case _0x1269ee(0x329):case'getSelectOptions':return _0x2dc505[_0x1269ee(0x314)](_0x448420=>!_0x448420['deleted']&&_0x448420['isBusiness']());default:return _0x2dc505[_0x1269ee(0x314)](_0x1f8b32=>!_0x1f8b32['deleted']&&_0x1f8b32[_0x1269ee(0x39c)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x334b23=a0_0x22ad23,_0x285778=super['getRequestParams'](),_0x4814eb=Object[_0x334b23(0x3ae)](_0x285778);if(_0x4814eb[_0x334b23(0x43e)]===0x0||_0x4814eb[_0x334b23(0x43e)]===0x1&&_0x4814eb[0x0]===_0x334b23(0x1af)){if(!_0x285778[_0x334b23(0x1af)]){const _0x406bf6={};_0x406bf6[_0x334b23(0x22b)]=_0x334b23(0x44e),_0x406bf6[_0x334b23(0x43a)]=_0x334b23(0x326),_0x285778[_0x334b23(0x1af)]=_0x406bf6;}const _0x4db448={};_0x4db448[_0x334b23(0x22b)]=_0x334b23(0x44e),_0x4db448['description']='字段名称',_0x285778['label']=_0x4db448;}return _0x285778;}[a0_0x22ad23(0x3f9)](){return[];}[a0_0x22ad23(0x2a2)](){const _0x570a02=a0_0x22ad23,_0x2ce36b={};_0x2ce36b[_0x570a02(0x1af)]=_0x570a02(0x1af),_0x2ce36b[_0x570a02(0x22b)]=_0x570a02(0x44e),_0x2ce36b['description']=_0x570a02(0x326);const _0xdddfd7={};return _0xdddfd7['code']=_0x570a02(0x1de),_0xdddfd7[_0x570a02(0x22b)]='String',_0xdddfd7[_0x570a02(0x43a)]='字段名称',[_0x2ce36b,_0xdddfd7];}[a0_0x22ad23(0x2f5)](){const _0x28faff=a0_0x22ad23,_0x5512d1={};return _0x5512d1['code']=_0x28faff(0x417),_0x5512d1['label']=_0x28faff(0x417),_0x5512d1;}[a0_0x22ad23(0x43b)](_0x3752f2){const _0x3e9805=a0_0x22ad23,_0x2ef2db=this[_0x3e9805(0x24e)]();return _0x3e9805(0x249)+_0x3752f2+'.'+_0x2ef2db+_0x3e9805(0x22a);}}class GetListOperation extends GenericOperation{[a0_0x22ad23(0x433)](){const _0x4beb81=a0_0x22ad23,_0x4b0577=super[_0x4beb81(0x433)](),{currentPage:_0x198b6a,pageSize:_0x527e77,..._0x166cd2}=_0x4b0577,_0x5ea333={};Object[_0x4beb81(0x3e9)](_0x166cd2)[_0x4beb81(0x35e)](([_0x37658d,_0x5081ad])=>{const _0x243e3d=_0x4beb81;if(typeof _0x5081ad===_0x243e3d(0x1d9)&&_0x5081ad!==null){const _0x3c5992=_0x5081ad,_0x468e6e=_0x3c5992[_0x243e3d(0x43a)]||'',_0x354d9b={..._0x3c5992};_0x354d9b['description']=_0x468e6e?_0x468e6e+_0x243e3d(0x24a):'支持单值或数组',_0x5ea333[_0x37658d]=_0x354d9b;}else _0x5ea333[_0x37658d]=_0x5081ad;});const _0x251019={...typeof _0x198b6a===_0x4beb81(0x1d9)?_0x198b6a:{}};_0x251019[_0x4beb81(0x22b)]=_0x4beb81(0x34c),_0x251019[_0x4beb81(0x43a)]=_0x4beb81(0x3a4);const _0x37e827={...typeof _0x527e77===_0x4beb81(0x1d9)?_0x527e77:{}};_0x37e827[_0x4beb81(0x22b)]=_0x4beb81(0x34c),_0x37e827[_0x4beb81(0x43a)]=_0x4beb81(0x2d9);const _0x3ca6c9={..._0x5ea333};return _0x3ca6c9[_0x4beb81(0x409)]=_0x251019,_0x3ca6c9[_0x4beb81(0x39e)]=_0x37e827,_0x3ca6c9;}[a0_0x22ad23(0x2f5)](_0x3862d7){const _0x36fcc4=a0_0x22ad23,{useArrayValues:useArrayValues=!![]}=_0x3862d7||{},_0x406e83=super[_0x36fcc4(0x2f5)](),{currentPage:_0x55e5fd,pageSize:_0x50c24c,..._0x297b77}=_0x406e83;if(!useArrayValues){const _0x2d3886={..._0x297b77};return _0x2d3886[_0x36fcc4(0x409)]=_0x55e5fd??0x1,_0x2d3886[_0x36fcc4(0x39e)]=_0x50c24c??0xa,_0x2d3886;}const _0x58698b={},_0x3f8046=['id',_0x36fcc4(0x2df),_0x36fcc4(0x1af),'type'];Object['entries'](_0x297b77)['forEach'](([_0x26e34f,_0x193828],_0x64b537)=>{const _0x3beccd=_0x36fcc4,_0x291749=_0x3f8046[_0x3beccd(0x3c7)](_0x25d7bb=>_0x26e34f[_0x3beccd(0x1fc)]()[_0x3beccd(0x29c)](_0x25d7bb))||_0x64b537%0x3===0x0;if(_0x291749&&_0x193828!==null&&_0x193828!==undefined){if(typeof _0x193828===_0x3beccd(0x302))_0x58698b[_0x26e34f]=[_0x193828,_0x193828+0x1,_0x193828+0x2];else typeof _0x193828===_0x3beccd(0x1bd)?_0x58698b[_0x26e34f]=[_0x193828,_0x193828+'_2',_0x193828+'_3']:_0x58698b[_0x26e34f]=[_0x193828];}else _0x58698b[_0x26e34f]=_0x193828;});const _0x4bcdd1={..._0x58698b};return _0x4bcdd1[_0x36fcc4(0x409)]=_0x55e5fd??0x1,_0x4bcdd1[_0x36fcc4(0x39e)]=_0x50c24c??0xa,_0x4bcdd1;}['generateSingleValueExample'](){const _0x436681=a0_0x22ad23,_0x59f0fc={};return _0x59f0fc[_0x436681(0x3b5)]=![],this[_0x436681(0x2f5)](_0x59f0fc);}[a0_0x22ad23(0x200)](){const _0x5551de=a0_0x22ad23;return[{'title':_0x5551de(0x257),'description':'查询单个条件','data':this[_0x5551de(0x202)]()},{'title':_0x5551de(0x278),'description':_0x5551de(0x363),'data':this[_0x5551de(0x2f5)]()}];}[a0_0x22ad23(0x43b)](_0x4b7890,_0x30dd15){const _0x515e40=a0_0x22ad23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x30dd15||{},_0x3dac9c=this['getName'](),_0x25827e={};_0x25827e[_0x515e40(0x3b5)]=!![];const _0x2c6973=this[_0x515e40(0x2f5)](_0x25827e),{currentPage:_0x161ba3,pageSize:_0x239540,..._0x976531}=_0x2c6973;if(useFullExample&&Object['keys'](_0x2c6973)[_0x515e40(0x43e)]>0x0){const _0x5cd1d5=Object['keys'](_0x976531)[_0x515e40(0x43e)]>0x0;if(_0x5cd1d5){const _0x16f4a4=this['generateSingleValueExample'](),_0x263760=_0x2d7ff0=>{const _0x233dd0=_0x515e40;return JSON[_0x233dd0(0x420)](_0x2d7ff0,null,0x2)[_0x233dd0(0x343)]('\x0a')[_0x233dd0(0x276)]((_0x10135e,_0x501856)=>_0x501856===0x0?_0x10135e:indent+_0x10135e)[_0x233dd0(0x32e)]('\x0a');};return'//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x4b7890+'.'+_0x3dac9c+'('+_0x263760(_0x16f4a4)+_0x515e40(0x348)+_0x4b7890+'.'+_0x3dac9c+'('+_0x263760(_0x2c6973)+');';}else{const _0x1a69d4=JSON[_0x515e40(0x420)](_0x2c6973,null,0x2)[_0x515e40(0x343)]('\x0a')[_0x515e40(0x276)]((_0x45466d,_0x2f64fa)=>_0x2f64fa===0x0?_0x45466d:indent+_0x45466d)[_0x515e40(0x32e)]('\x0a');return _0x515e40(0x249)+_0x4b7890+'.'+_0x3dac9c+'('+_0x1a69d4+');';}}if(Object[_0x515e40(0x3ae)](_0x976531)[_0x515e40(0x43e)]>0x0){const _0x41464a=Object['keys'](_0x976531)[0x0];return _0x515e40(0x249)+_0x4b7890+'.'+_0x3dac9c+_0x515e40(0x1f5)+_0x41464a+_0x515e40(0x32a);}return'const\x20result\x20=\x20await\x20client.models.'+_0x4b7890+'.'+_0x3dac9c+_0x515e40(0x3ca);}}var AGGREGATE_FUNCTIONS=[a0_0x22ad23(0x378),a0_0x22ad23(0x3c6),a0_0x22ad23(0x217),'max',a0_0x22ad23(0x37c)],FILTER_OPERATORS=[a0_0x22ad23(0x411),'$ne',a0_0x22ad23(0x31d),a0_0x22ad23(0x410),'$lte',a0_0x22ad23(0x31e),a0_0x22ad23(0x345),a0_0x22ad23(0x3d9),a0_0x22ad23(0x3ce),a0_0x22ad23(0x1ac),a0_0x22ad23(0x2ba),a0_0x22ad23(0x289)];class FilterOperation extends GenericOperation{constructor(_0x58bb88,_0x5b08a3,_0x217abd){super(_0x58bb88,_0x5b08a3,_0x217abd);}[a0_0x22ad23(0x1fe)](){return FILTER_OPERATORS;}[a0_0x22ad23(0x3db)](_0x23805d){const _0x5be088=a0_0x22ad23,_0x6284c5=this[_0x5be088(0x2b1)](_0x23805d);if(!_0x6284c5)return[];return this['getApplicableOperators'](_0x6284c5);}[a0_0x22ad23(0x433)](){const _0x33d088=a0_0x22ad23,_0x2c6cb2=super[_0x33d088(0x433)](),_0xff88d={};_0xff88d[_0x33d088(0x22b)]=_0x33d088(0x1b4),_0xff88d[_0x33d088(0x43a)]='查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)',_0xff88d['required']=![];const _0x197af3={};_0x197af3['type']='String[]',_0x197af3['description']=_0x33d088(0x250),_0x197af3[_0x33d088(0x1b3)]=![];const _0xb25bc8={};_0xb25bc8[_0x33d088(0x22b)]=_0x33d088(0x2ae),_0xb25bc8[_0x33d088(0x43a)]=_0x33d088(0x34f),_0xb25bc8[_0x33d088(0x1b3)]=![];const _0x4edc0f={};_0x4edc0f[_0x33d088(0x22b)]=_0x33d088(0x34c),_0x4edc0f[_0x33d088(0x43a)]=_0x33d088(0x3a4),_0x4edc0f['required']=![],_0x4edc0f['default']=0x1;const _0x4d3278={};_0x4d3278[_0x33d088(0x22b)]=_0x33d088(0x34c),_0x4d3278['description']='每页数量',_0x4d3278[_0x33d088(0x1b3)]=![],_0x4d3278[_0x33d088(0x207)]=0xa;const _0x56aa76={..._0x2c6cb2};return _0x56aa76[_0x33d088(0x3e2)]=_0xff88d,_0x56aa76[_0x33d088(0x3c2)]=_0x197af3,_0x56aa76[_0x33d088(0x2ed)]=_0xb25bc8,_0x56aa76[_0x33d088(0x409)]=_0x4edc0f,_0x56aa76[_0x33d088(0x39e)]=_0x4d3278,_0x56aa76;}[a0_0x22ad23(0x2a2)](){const _0x5611db=a0_0x22ad23,_0x20cca8=this['getRequestParams'](),_0x132235=[],_0x214500=['where',_0x5611db(0x3c2),_0x5611db(0x2ed),_0x5611db(0x409),_0x5611db(0x39e)];return Object[_0x5611db(0x3e9)](_0x20cca8)['forEach'](([_0x5a6930,_0x5de2a8])=>{const _0x29a64a=_0x5611db;if(_0x214500['includes'](_0x5a6930)){const _0x17915a=_0x5de2a8,_0x24d1ea={};_0x24d1ea[_0x29a64a(0x1af)]=_0x5a6930,_0x24d1ea[_0x29a64a(0x22b)]=_0x17915a['type']||_0x29a64a(0x1b4),_0x24d1ea['description']=_0x17915a[_0x29a64a(0x43a)]||'-',_0x132235[_0x29a64a(0x44f)](_0x24d1ea);}}),_0x132235;}[a0_0x22ad23(0x3f9)](){const _0x12ee26=a0_0x22ad23;return this[_0x12ee26(0x254)]['fields']||[];}['getGroupedParams'](){const _0x555bef=a0_0x22ad23;return{'systemParams':this[_0x555bef(0x2a2)](),'businessFields':this[_0x555bef(0x3f9)]()};}[a0_0x22ad23(0x2f5)](){const _0x1bbb4c=a0_0x22ad23,_0xb0b9d8=this[_0x1bbb4c(0x254)]['fields']||[];if(_0xb0b9d8[_0x1bbb4c(0x43e)]===0x0){const _0x2bcab9={};return _0x2bcab9[_0x1bbb4c(0x3e2)]={},_0x2bcab9[_0x1bbb4c(0x409)]=0x1,_0x2bcab9[_0x1bbb4c(0x39e)]=0x14,_0x2bcab9;}const _0x443cb7={},_0xbf7ceb=_0xb0b9d8[_0x1bbb4c(0x1a9)](0x0,Math[_0x1bbb4c(0x37c)](0x3,_0xb0b9d8['length']));_0xbf7ceb['forEach'](_0x372a2a=>{const _0x4f8a70=_0x1bbb4c,_0x187178=this[_0x4f8a70(0x300)](_0x372a2a);if(_0x187178[_0x4f8a70(0x43e)]===0x0)return;const _0x415b25=this[_0x4f8a70(0x3bf)](_0x372a2a,_0x187178),_0x1bac7f=this[_0x4f8a70(0x421)](_0x372a2a,_0x415b25),_0x175b1d={};_0x175b1d[_0x415b25]=_0x1bac7f,_0x443cb7[_0x372a2a[_0x4f8a70(0x1af)]]=_0x175b1d;});const _0x4186c4=_0xb0b9d8['slice'](0x0,Math[_0x1bbb4c(0x37c)](0x5,_0xb0b9d8['length']))[_0x1bbb4c(0x276)](_0x28b8c9=>_0x28b8c9['code']),_0x277758=_0xb0b9d8[0x0]?_0xb0b9d8[0x0][_0x1bbb4c(0x1af)]:'id',_0x3083f9={};_0x3083f9[_0x277758]=_0x1bbb4c(0x35f);const _0x1914f7={};return _0x1914f7[_0x1bbb4c(0x3e2)]=_0x443cb7,_0x1914f7['select']=_0x4186c4,_0x1914f7[_0x1bbb4c(0x2ed)]=[_0x3083f9],_0x1914f7[_0x1bbb4c(0x409)]=0x1,_0x1914f7['pageSize']=0x14,_0x1914f7;}[a0_0x22ad23(0x43b)](_0x5c24cd,_0x1a9259){const _0x455e3b=a0_0x22ad23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1a9259||{},_0x1f3f9e=this[_0x455e3b(0x24e)](),_0x2eb487=this['generateRequestExample'](),_0x20b3a0=_0x1ea1cb=>{const _0x8fa00a=_0x455e3b;return JSON['stringify'](_0x1ea1cb,null,0x2)[_0x8fa00a(0x343)]('\x0a')[_0x8fa00a(0x276)]((_0xf09fe0,_0x3c3909)=>_0x3c3909===0x0?_0xf09fe0:indent+_0xf09fe0)['join']('\x0a');};if(useFullExample){const _0x44ad19=this[_0x455e3b(0x254)][_0x455e3b(0x3ee)]||[],_0x6baa14={'where':_0x44ad19[0x0]?{[_0x44ad19[0x0][_0x455e3b(0x1af)]]:{'$eq':this[_0x455e3b(0x421)](_0x44ad19[0x0],_0x455e3b(0x411))}}:{},'select':_0x44ad19[_0x455e3b(0x1a9)](0x0,0x3)[_0x455e3b(0x276)](_0x53e0f6=>_0x53e0f6[_0x455e3b(0x1af)]),'currentPage':0x1,'pageSize':0x14};let _0x224999='';if(_0x44ad19[_0x455e3b(0x43e)]>=0x3){const _0x4dd778={};_0x4dd778['$and']=[];const _0x23aa26=_0x4dd778,_0x80308=[];if(_0x44ad19[_0x455e3b(0x43e)]>0x0){const _0x1b9535=_0x44ad19['find'](_0x5e0770=>{const _0x187ee0=_0x455e3b,_0x53f29c=_0x5e0770[_0x187ee0(0x40e)]();return[_0x187ee0(0x1dd),_0x187ee0(0x1ba),_0x187ee0(0x247),_0x187ee0(0x2c5),'TINYINT',_0x187ee0(0x235)][_0x187ee0(0x29c)](_0x53f29c);});if(_0x1b9535){const _0x592125={};_0x592125[_0x455e3b(0x31d)]=0x0,_0x592125[_0x455e3b(0x30b)]=0x64;const _0x42200a={[_0x1b9535['code']]:_0x592125};_0x80308['push'](_0x42200a);}}if(_0x44ad19[_0x455e3b(0x43e)]>0x1){const _0x1d3d61=_0x44ad19[_0x455e3b(0x3e1)](_0x17f06d=>{const _0x144bd1=_0x455e3b,_0x514b0b=_0x17f06d[_0x144bd1(0x40e)]();return[_0x144bd1(0x28e),'TEXT',_0x144bd1(0x241),'CHAR',_0x144bd1(0x1c0)]['includes'](_0x514b0b);});if(_0x1d3d61){const _0x3b4d5b={};_0x3b4d5b['$contain']=_0x455e3b(0x21b);const _0x5b4f8f={[_0x1d3d61['code']]:_0x3b4d5b};_0x80308[_0x455e3b(0x44f)](_0x5b4f8f);}}if(_0x80308[_0x455e3b(0x43e)]>0x0){_0x23aa26[_0x455e3b(0x2ba)]=_0x80308;const _0x3007a4={'where':_0x23aa26,'select':_0x44ad19[_0x455e3b(0x1a9)](0x0,0x4)[_0x455e3b(0x276)](_0x8875ce=>_0x8875ce['code']),'orderBy':[{[_0x44ad19[0x0][_0x455e3b(0x1af)]]:'DESC'}],'currentPage':0x1,'pageSize':0x14};_0x224999=_0x455e3b(0x211)+_0x5c24cd+'.'+_0x1f3f9e+'('+_0x20b3a0(_0x3007a4)+');';}}return _0x455e3b(0x1fb)+_0x5c24cd+'.'+_0x1f3f9e+'('+_0x20b3a0(_0x6baa14)+');'+_0x224999;}const _0x324bbe=JSON['stringify'](_0x2eb487,null,0x2)[_0x455e3b(0x343)]('\x0a')[_0x455e3b(0x276)]((_0x204eda,_0x3d5a66)=>_0x3d5a66===0x0?_0x204eda:indent+_0x204eda)[_0x455e3b(0x32e)]('\x0a');return _0x455e3b(0x249)+_0x5c24cd+'.'+_0x1f3f9e+'('+_0x324bbe+');';}[a0_0x22ad23(0x300)](_0x2061ad){const _0x212836=a0_0x22ad23,_0x1ad6bf=_0x2061ad['getDbTypeForOperation'](),_0x29b48e=[];if(['NUMBER',_0x212836(0x1ba),_0x212836(0x247),'DECIMAL'][_0x212836(0x29c)](_0x1ad6bf)||[_0x212836(0x2c5),_0x212836(0x263),_0x212836(0x235),_0x212836(0x3a2),_0x212836(0x1d6)][_0x212836(0x29c)](_0x1ad6bf))_0x29b48e[_0x212836(0x44f)](_0x212836(0x411),_0x212836(0x3be),'$gte',_0x212836(0x30b),_0x212836(0x410),'$lteq',_0x212836(0x345));else{if(['STRING',_0x212836(0x1cc),'VARCHAR']['includes'](_0x1ad6bf)||[_0x212836(0x20c),'LONGTEXT'][_0x212836(0x29c)](_0x1ad6bf))_0x29b48e[_0x212836(0x44f)](_0x212836(0x411),_0x212836(0x3be),'$in',_0x212836(0x3d9),_0x212836(0x3ce),_0x212836(0x1ac));else{if([_0x212836(0x206),_0x212836(0x2f9),_0x212836(0x1a6)][_0x212836(0x29c)](_0x1ad6bf)||[_0x212836(0x332)][_0x212836(0x29c)](_0x1ad6bf))_0x29b48e[_0x212836(0x44f)](_0x212836(0x411),'$ne',_0x212836(0x31d),_0x212836(0x30b),_0x212836(0x410),_0x212836(0x31e));else[_0x212836(0x2f3),'BOOL',_0x212836(0x1a7)][_0x212836(0x29c)](_0x1ad6bf)?_0x29b48e[_0x212836(0x44f)]('$eq',_0x212836(0x3be)):_0x29b48e[_0x212836(0x44f)](_0x212836(0x411),_0x212836(0x3be));}}return _0x29b48e;}[a0_0x22ad23(0x3bf)](_0x169a3a,_0x599f22){const _0x524e50=a0_0x22ad23,_0x26e5d6=_0x169a3a[_0x524e50(0x40e)]();if([_0x524e50(0x1dd),_0x524e50(0x1ba),'BIGINT',_0x524e50(0x270)][_0x524e50(0x29c)](_0x26e5d6)||[_0x524e50(0x2c5),'TINYINT',_0x524e50(0x235),_0x524e50(0x3a2),_0x524e50(0x1d6)][_0x524e50(0x29c)](_0x26e5d6))return _0x599f22[_0x524e50(0x29c)]('$gte')?'$gte':'$eq';if(['STRING','TEXT',_0x524e50(0x241)][_0x524e50(0x29c)](_0x26e5d6)||['CHAR',_0x524e50(0x1c0)]['includes'](_0x26e5d6))return _0x599f22[_0x524e50(0x29c)](_0x524e50(0x3d9))?'$contain':_0x524e50(0x411);if(['DATE',_0x524e50(0x2f9),_0x524e50(0x1a6),_0x524e50(0x332)][_0x524e50(0x29c)](_0x26e5d6))return _0x599f22[_0x524e50(0x29c)](_0x524e50(0x31d))?_0x524e50(0x31d):_0x524e50(0x411);return _0x524e50(0x411);}[a0_0x22ad23(0x421)](_0xea002b,_0x3b00e3){const _0x26d2fc=a0_0x22ad23,_0x189279=_0xea002b[_0x26d2fc(0x40e)](),_0x4f4769=_0xea002b['getEnumOptions']();if(_0x4f4769&&_0x4f4769['length']>0x0){if(_0x3b00e3==='$in')return _0x4f4769[_0x26d2fc(0x1a9)](0x0,0x2)['map'](_0x563976=>_0x563976[_0x26d2fc(0x29b)]);return _0x4f4769[0x0][_0x26d2fc(0x29b)];}if([_0x26d2fc(0x1dd),'INTEGER','BIGINT',_0x26d2fc(0x270)][_0x26d2fc(0x29c)](_0x189279)||['INT',_0x26d2fc(0x263),_0x26d2fc(0x235),_0x26d2fc(0x3a2),_0x26d2fc(0x1d6)][_0x26d2fc(0x29c)](_0x189279)){if(_0x3b00e3===_0x26d2fc(0x345))return[0x1,0x2,0x3];if(_0x3b00e3==='$gte'||_0x3b00e3==='$gteq')return 0x0;if(_0x3b00e3===_0x26d2fc(0x30b)||_0x3b00e3==='$lteq')return 0x64;return 0x1;}if([_0x26d2fc(0x28e),_0x26d2fc(0x1cc),'VARCHAR'][_0x26d2fc(0x29c)](_0x189279)||[_0x26d2fc(0x20c),_0x26d2fc(0x1c0)]['includes'](_0x189279)){if(_0x3b00e3===_0x26d2fc(0x345))return['value1',_0x26d2fc(0x307)];if(_0x3b00e3===_0x26d2fc(0x3d9))return'keyword';if(_0x3b00e3==='$startWith')return _0x26d2fc(0x215);if(_0x3b00e3===_0x26d2fc(0x1ac))return'suffix';return _0x26d2fc(0x29b);}if([_0x26d2fc(0x206),'DATETIME',_0x26d2fc(0x1a6),'TIME'][_0x26d2fc(0x29c)](_0x189279)){if(_0x3b00e3===_0x26d2fc(0x31d)||_0x3b00e3===_0x26d2fc(0x410))return _0x26d2fc(0x1b8);if(_0x3b00e3===_0x26d2fc(0x30b)||_0x3b00e3===_0x26d2fc(0x31e))return _0x26d2fc(0x3eb);return _0x26d2fc(0x1b8);}if([_0x26d2fc(0x2f3),_0x26d2fc(0x1cf),_0x26d2fc(0x1a7)]['includes'](_0x189279))return!![];return _0x3b00e3==='$in'?[_0x26d2fc(0x33b),_0x26d2fc(0x307)]:_0x26d2fc(0x29b);}[a0_0x22ad23(0x324)](){const _0xd06fa6=a0_0x22ad23,_0x1969ab=super['getRequestParams'](),_0x3910af=Object[_0xd06fa6(0x3e9)](_0x1969ab)[_0xd06fa6(0x314)](([_0x7e117])=>_0x7e117!==_0xd06fa6(0x409)&&_0x7e117!=='pageSize')[_0xd06fa6(0x276)](([_0x3020c8,_0x23238c])=>{const _0x29760e=_0xd06fa6,_0x2c2fa7=_0x23238c,_0x24c18c={};return _0x24c18c[_0x29760e(0x36f)]=_0x3020c8,_0x24c18c['type']=_0x2c2fa7[_0x29760e(0x22b)]||'String',_0x24c18c['description']=_0x2c2fa7[_0x29760e(0x43a)]||'-',_0x24c18c[_0x29760e(0x1b3)]=_0x2c2fa7[_0x29760e(0x1b3)],_0x24c18c;}),_0x492351={};return _0x492351[_0xd06fa6(0x43a)]='\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a',_0x492351[_0xd06fa6(0x313)]=_0x3910af,_0x492351;}}class ExcelExportOperation extends GenericOperation{[a0_0x22ad23(0x433)](){const _0xedcc69=a0_0x22ad23,_0x8ee4ca=super[_0xedcc69(0x433)]();if(Object[_0xedcc69(0x3ae)](_0x8ee4ca)['length']===0x0){const _0x1e9cba={};this[_0xedcc69(0x254)]['fields'][_0xedcc69(0x35e)](_0x2d6ad5=>{const _0x5d744d=_0xedcc69;if(_0x2d6ad5){const _0x4f2b38=_0x2d6ad5[_0x5d744d(0x1af)],_0x2d41d6=_0x2d6ad5[_0x5d744d(0x40e)](),_0x1bf86d={};_0x1bf86d[_0x5d744d(0x22b)]=_0x2d41d6||_0x5d744d(0x1cc),_0x1bf86d[_0x5d744d(0x27a)]=_0x2d6ad5[_0x5d744d(0x27a)],_0x1bf86d[_0x5d744d(0x43a)]=_0x2d6ad5[_0x5d744d(0x43a)]||_0x2d6ad5[_0x5d744d(0x36f)],_0x1e9cba[_0x4f2b38]=_0x1bf86d;}});const _0x9d20c8={};_0x9d20c8[_0xedcc69(0x22b)]='Integer',_0x9d20c8['description']=_0xedcc69(0x1cd),_0x1e9cba[_0xedcc69(0x409)]=_0x9d20c8;const _0x442bea={};return _0x442bea[_0xedcc69(0x22b)]=_0xedcc69(0x3c1),_0x442bea[_0xedcc69(0x43a)]=_0xedcc69(0x344),_0x1e9cba[_0xedcc69(0x39e)]=_0x442bea,_0x1e9cba;}return _0x8ee4ca;}[a0_0x22ad23(0x2f5)](){const _0x30cc2a=a0_0x22ad23,_0x1ce93c=super[_0x30cc2a(0x2f5)]();if(Object['keys'](_0x1ce93c)[_0x30cc2a(0x43e)]===0x0){const _0xce9d5f={};return _0xce9d5f[_0x30cc2a(0x409)]=0x1,_0xce9d5f[_0x30cc2a(0x39e)]=0x64,_0xce9d5f;}const _0x32abc4={..._0x1ce93c};return _0x32abc4[_0x30cc2a(0x409)]=_0x1ce93c['currentPage']??0x1,_0x32abc4[_0x30cc2a(0x39e)]=_0x1ce93c['pageSize']??0x64,_0x32abc4;}[a0_0x22ad23(0x342)](){const _0x4bc915=a0_0x22ad23,_0x2c0e86={};return _0x2c0e86['success']=!![],_0x2c0e86[_0x4bc915(0x41a)]='',_0x2c0e86[_0x4bc915(0x388)]='',_0x2c0e86[_0x4bc915(0x468)]=_0x4bc915(0x1e7),_0x2c0e86['data']=_0x4bc915(0x1fa),_0x2c0e86[_0x4bc915(0x313)]=null,_0x2c0e86;}[a0_0x22ad23(0x43b)](_0x122f47,_0x579042){const _0x169af0=a0_0x22ad23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x579042||{},_0x1fce1b=this[_0x169af0(0x24e)]();if(useFullExample){const _0x11414d=this[_0x169af0(0x2f5)](),{currentPage:_0x5cb47b,pageSize:_0x25f893,..._0xa648a9}=_0x11414d,_0x107200=Object[_0x169af0(0x3ae)](_0xa648a9)[_0x169af0(0x43e)]>0x0;if(_0x107200){const _0x12d5ec=_0x37cd5f=>{const _0x39f678=_0x169af0;return JSON[_0x39f678(0x420)](_0x37cd5f,null,0x2)[_0x39f678(0x343)]('\x0a')[_0x39f678(0x276)]((_0x156519,_0x48d042)=>_0x48d042===0x0?_0x156519:indent+_0x156519)[_0x39f678(0x32e)]('\x0a');};return _0x169af0(0x261)+_0x122f47+'.'+_0x1fce1b+_0x169af0(0x365)+_0x122f47+'.'+_0x1fce1b+'('+_0x12d5ec(_0x11414d)+');';}else{const _0x56af79=_0x245d64=>{const _0x1be56e=_0x169af0;return JSON['stringify'](_0x245d64,null,0x2)['split']('\x0a')[_0x1be56e(0x276)]((_0x255099,_0x174a76)=>_0x174a76===0x0?_0x255099:indent+_0x255099)[_0x1be56e(0x32e)]('\x0a');},_0x1ee3ea={};return _0x1ee3ea[_0x169af0(0x409)]=0x1,_0x1ee3ea[_0x169af0(0x39e)]=0x64,_0x169af0(0x261)+_0x122f47+'.'+_0x1fce1b+_0x169af0(0x2e3)+_0x122f47+'.'+_0x1fce1b+'('+_0x56af79(_0x1ee3ea)+');';}}return _0x169af0(0x3d0)+_0x122f47+'.'+_0x1fce1b+_0x169af0(0x1b1);}[a0_0x22ad23(0x3f8)](_0x3f2057){const _0x52dba7=a0_0x22ad23,_0x15d828=this[_0x52dba7(0x24e)](),_0x208913=_0x3f2057||_0x52dba7(0x3ed),_0xdc11dc=_0x52dba7(0x376)+_0x208913+'.'+_0x15d828+_0x52dba7(0x1f4),_0x2a30dd=_0x52dba7(0x434)+_0x208913+'.'+_0x15d828+_0x52dba7(0x306),_0x3916f4={};return _0x3916f4['successCode']=_0xdc11dc,_0x3916f4[_0x52dba7(0x468)]=_0x2a30dd,_0x3916f4;}}class UpdateOperation extends GenericOperation{[a0_0x22ad23(0x341)](){const _0x18350b=a0_0x22ad23;return this[_0x18350b(0x2f1)]();}[a0_0x22ad23(0x433)](){const _0xdf705e=a0_0x22ad23,_0x15cf74=this[_0xdf705e(0x341)](),_0x45ccdb={};_0x45ccdb['type']='NUMBER',_0x45ccdb['description']=_0xdf705e(0x2dc),_0x45ccdb['required']=!![];const _0x5c8f88={};_0x5c8f88['type']='object',_0x5c8f88['description']='要更新的字段数据对象',_0x5c8f88[_0xdf705e(0x1b3)]=!![],_0x5c8f88['properties']=_0x15cf74;const _0x509023={};return _0x509023['id']=_0x45ccdb,_0x509023[_0xdf705e(0x22c)]=_0x5c8f88,_0x509023;}[a0_0x22ad23(0x2ac)](){const _0x425bec=a0_0x22ad23;return this[_0x425bec(0x341)]();}['getHTTPFields'](){const _0x4f44a0=a0_0x22ad23,_0x1c7f29=this[_0x4f44a0(0x254)][_0x4f44a0(0x3ee)]||[],_0x33e1ad=this[_0x4f44a0(0x254)][_0x4f44a0(0x335)],_0x350307=_0x1c7f29[_0x4f44a0(0x3e1)](_0x5c13be=>_0x5c13be[_0x4f44a0(0x1f0)]()||_0x5c13be[_0x4f44a0(0x1af)]===_0x33e1ad),_0x4d8be1=_0x1c7f29[_0x4f44a0(0x314)](_0x8387f1=>{const _0x509ecf=_0x4f44a0;if(_0x8387f1[_0x509ecf(0x28a)])return![];if(_0x8387f1===_0x350307||_0x8387f1['isPrimaryKey']())return![];if(_0x8387f1['isCreateTime']()||_0x8387f1[_0x509ecf(0x2b3)]())return![];if(_0x8387f1[_0x509ecf(0x3e6)]())return![];return!![];});return _0x350307?[_0x350307,..._0x4d8be1]:_0x4d8be1;}['getHTTPRequestParamsDocInfo'](){const _0x24424f=a0_0x22ad23,_0x110350=this[_0x24424f(0x2e7)](),_0x1a3190=this[_0x24424f(0x254)][_0x24424f(0x335)],_0x56ba30=_0x110350[_0x24424f(0x276)](_0x229d40=>{const _0x5dace2=_0x24424f,_0x15d03d=_0x229d40['isPrimaryKey']()||_0x229d40[_0x5dace2(0x1af)]===_0x1a3190,_0x361c42=_0x15d03d?'id':_0x229d40[_0x5dace2(0x1af)],_0x3ac66a={};return _0x3ac66a[_0x5dace2(0x36f)]=_0x361c42,_0x3ac66a[_0x5dace2(0x22b)]=_0x229d40['type'],_0x3ac66a[_0x5dace2(0x43a)]=_0x15d03d?_0x5dace2(0x1ad)+(_0x1a3190&&_0x1a3190!==_0x229d40[_0x5dace2(0x1af)]?_0x5dace2(0x3f4)+_0x229d40[_0x5dace2(0x1af)]+')':''):_0x229d40[_0x5dace2(0x43a)]||_0x229d40[_0x5dace2(0x36f)],_0x3ac66a;}),_0x5d029a={};return _0x5d029a[_0x24424f(0x43a)]=_0x24424f(0x359),_0x5d029a[_0x24424f(0x313)]=_0x56ba30,_0x5d029a;}['getRequestParamsDocInfo'](){const _0x1cff33=a0_0x22ad23,_0xe8da14=this[_0x1cff33(0x341)](),_0x279e39=Object[_0x1cff33(0x3e9)](_0xe8da14)[_0x1cff33(0x276)](([_0x84297f,_0x31b8a0])=>{const _0x15dd67=_0x1cff33,_0x245be3=_0x31b8a0,_0x477712={};return _0x477712[_0x15dd67(0x36f)]=_0x84297f,_0x477712[_0x15dd67(0x22b)]=_0x245be3['type']||_0x15dd67(0x44e),_0x477712[_0x15dd67(0x43a)]=_0x245be3[_0x15dd67(0x43a)]||'-',_0x477712;}),_0x4f3e21={};return _0x4f3e21['description']='update\x20接口接受两个参数:\x0a\x0a'+_0x1cff33(0x2ff)+_0x1cff33(0x3ff)+_0x1cff33(0x231)+'-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a'+_0x1cff33(0x29e),_0x4f3e21[_0x1cff33(0x313)]=_0x279e39,_0x4f3e21;}[a0_0x22ad23(0x2f5)](){const _0x411089=a0_0x22ad23,_0x3e720b=this['getUpdateFields'](),_0x3dcc5f={};Object[_0x411089(0x3e9)](_0x3e720b)[_0x411089(0x35e)](([_0x5ea061,_0x58ed30])=>{const _0x46d44a=_0x411089,_0x170098=_0x58ed30;let _0x363494;if(typeof _0x170098[_0x46d44a(0x22b)]==='string')_0x363494=_0x170098[_0x46d44a(0x22b)];else _0x170098[_0x46d44a(0x22b)]&&typeof _0x170098[_0x46d44a(0x22b)]===_0x46d44a(0x1d9)?_0x363494=_0x170098['type'][_0x46d44a(0x22b)]||'TEXT':_0x363494='TEXT';const _0x513a89=_0x170098[_0x46d44a(0x43a)],_0x2d6947=this[_0x46d44a(0x2b1)](_0x5ea061);_0x3dcc5f[_0x5ea061]=this[_0x46d44a(0x208)](_0x5ea061,_0x363494,_0x2d6947?.[_0x46d44a(0x40e)](),{'isPrimaryKey':![],'description':_0x513a89||_0x2d6947?.['description']||_0x2d6947?.['name']});});const _0x5b178d={};return _0x5b178d['id']=0x1,_0x5b178d[_0x411089(0x22c)]=_0x3dcc5f,_0x5b178d;}['generateRequestAllExamples'](){const _0x5b5d42=a0_0x22ad23,_0x3cda44=this[_0x5b5d42(0x2f5)](),_0x41a601={};return _0x41a601[_0x5b5d42(0x3fb)]='SDK\x20调用示例(两参数格式)',_0x41a601['description']=_0x5b5d42(0x3fc)+_0x5b5d42(0x2bc)+'-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段',_0x41a601[_0x5b5d42(0x22c)]=_0x3cda44,[_0x41a601,{'title':_0x5b5d42(0x2e2),'description':_0x5b5d42(0x296)+_0x5b5d42(0x24b)+_0x5b5d42(0x237),'data':this[_0x5b5d42(0x28c)]()}];}[a0_0x22ad23(0x28c)](){const _0x23c498=a0_0x22ad23,_0x4508d7=this['getUpdateFields'](),_0x3cda23={};_0x3cda23['id']=0x1;const _0x33b649=_0x3cda23;return Object['entries'](_0x4508d7)[_0x23c498(0x35e)](([_0x4bff5c,_0x548997])=>{const _0x119504=_0x23c498,_0x1bf69c=_0x548997;let _0x2a7072;if(typeof _0x1bf69c[_0x119504(0x22b)]===_0x119504(0x1bd))_0x2a7072=_0x1bf69c[_0x119504(0x22b)];else _0x1bf69c['type']&&typeof _0x1bf69c[_0x119504(0x22b)]===_0x119504(0x1d9)?_0x2a7072=_0x1bf69c[_0x119504(0x22b)]['type']||'TEXT':_0x2a7072=_0x119504(0x1cc);const _0x4535b6=_0x1bf69c[_0x119504(0x43a)],_0xfedb3a=this[_0x119504(0x2b1)](_0x4bff5c);if(_0xfedb3a?.[_0x119504(0x1f0)]())return;_0x33b649[_0x4bff5c]=this['generateFieldExample'](_0x4bff5c,_0x2a7072,_0xfedb3a?.[_0x119504(0x40e)](),{'isPrimaryKey':![],'description':_0x4535b6||_0xfedb3a?.[_0x119504(0x43a)]||_0xfedb3a?.[_0x119504(0x36f)]});}),_0x33b649;}[a0_0x22ad23(0x41d)](){const _0x3a998d=a0_0x22ad23;return this[_0x3a998d(0x28c)]();}[a0_0x22ad23(0x43b)](_0xd54214,_0x522b26){const _0x2b66da=a0_0x22ad23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x522b26||{},_0x5932f1=this[_0x2b66da(0x24e)]();if(useFullExample){const _0x3d2dec=this[_0x2b66da(0x2f5)](),_0x469c97=JSON[_0x2b66da(0x420)](_0x3d2dec['data'],null,0x2)['split']('\x0a')[_0x2b66da(0x276)]((_0x3f3ff2,_0x31f5e5)=>_0x31f5e5===0x0?_0x3f3ff2:indent+_0x3f3ff2)['join']('\x0a');return _0x2b66da(0x249)+_0xd54214+'.'+_0x5932f1+'('+_0x3d2dec['id']+',\x20'+_0x469c97+');';}return'const\x20result\x20=\x20await\x20client.models.'+_0xd54214+'.'+_0x5932f1+_0x2b66da(0x1ca);}}class AggregateOperation extends GenericOperation{constructor(_0x829429,_0x56158b,_0x58508b){super(_0x829429,_0x56158b,_0x58508b);}[a0_0x22ad23(0x1d5)](_0x32accb){const _0x5b8b68=a0_0x22ad23;return _0x32accb[_0x5b8b68(0x382)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x5b8b68(0x384)]()[_0x5b8b68(0x244)]();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}[a0_0x22ad23(0x433)](){const _0x465d65=a0_0x22ad23,_0x36219d=super[_0x465d65(0x433)](),_0x1b8f89={};_0x1b8f89['type']='String[]',_0x1b8f89[_0x465d65(0x43a)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)',_0x1b8f89[_0x465d65(0x1b3)]=![];const _0x436200={};_0x436200[_0x465d65(0x22b)]=_0x465d65(0x1b4),_0x436200[_0x465d65(0x43a)]='查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)',_0x436200[_0x465d65(0x1b3)]=![];const _0x451b4e={};_0x451b4e[_0x465d65(0x22b)]=_0x465d65(0x1c6),_0x451b4e[_0x465d65(0x43a)]='分组字段列表',_0x451b4e[_0x465d65(0x1b3)]=![];const _0x43abad={};_0x43abad['type']=_0x465d65(0x2c3),_0x43abad[_0x465d65(0x43a)]=_0x465d65(0x311),_0x43abad[_0x465d65(0x1b3)]=![];const _0x3ab1b0={};_0x3ab1b0[_0x465d65(0x22b)]='Array',_0x3ab1b0['description']=_0x465d65(0x1db),_0x3ab1b0[_0x465d65(0x1b3)]=![];const _0x2998c8={};_0x2998c8['type']=_0x465d65(0x2c3),_0x2998c8[_0x465d65(0x43a)]=_0x465d65(0x443),_0x2998c8['required']=![];const _0x2ba38d={};_0x2ba38d[_0x465d65(0x22b)]=_0x465d65(0x34c),_0x2ba38d[_0x465d65(0x43a)]=_0x465d65(0x3e3),_0x2ba38d[_0x465d65(0x1b3)]=![];const _0xed97a3={};_0xed97a3['type']=_0x465d65(0x34c),_0xed97a3[_0x465d65(0x43a)]='每页数量(默认:\x2020)',_0xed97a3[_0x465d65(0x1b3)]=![];const _0x4bd2ec={..._0x36219d};return _0x4bd2ec['select']=_0x1b8f89,_0x4bd2ec[_0x465d65(0x3e2)]=_0x436200,_0x4bd2ec[_0x465d65(0x1e0)]=_0x451b4e,_0x4bd2ec[_0x465d65(0x3b7)]=_0x43abad,_0x4bd2ec['having']=_0x3ab1b0,_0x4bd2ec[_0x465d65(0x2ed)]=_0x2998c8,_0x4bd2ec['currentPage']=_0x2ba38d,_0x4bd2ec['pageSize']=_0xed97a3,_0x4bd2ec;}[a0_0x22ad23(0x2a2)](){const _0x2f7362=a0_0x22ad23,_0x2ea024={};_0x2ea024['code']=_0x2f7362(0x3c2),_0x2ea024[_0x2f7362(0x22b)]=_0x2f7362(0x1c6),_0x2ea024[_0x2f7362(0x43a)]=_0x2f7362(0x30d);const _0x1cf529={};_0x1cf529[_0x2f7362(0x1af)]='where',_0x1cf529['type']=_0x2f7362(0x1b4),_0x1cf529[_0x2f7362(0x43a)]=_0x2f7362(0x239);const _0xfea4ba={};_0xfea4ba['code']=_0x2f7362(0x1e0),_0xfea4ba['type']=_0x2f7362(0x1c6),_0xfea4ba[_0x2f7362(0x43a)]=_0x2f7362(0x3f3);const _0x1fb253={};_0x1fb253[_0x2f7362(0x1af)]=_0x2f7362(0x3b7),_0x1fb253[_0x2f7362(0x22b)]=_0x2f7362(0x2c3),_0x1fb253[_0x2f7362(0x43a)]=_0x2f7362(0x2bb);const _0x4852c7={};_0x4852c7[_0x2f7362(0x1af)]=_0x2f7362(0x1c1),_0x4852c7['type']=_0x2f7362(0x2c3),_0x4852c7['description']=_0x2f7362(0x1db);const _0x5e20fb={};_0x5e20fb[_0x2f7362(0x1af)]='orderBy',_0x5e20fb[_0x2f7362(0x22b)]=_0x2f7362(0x2c3),_0x5e20fb[_0x2f7362(0x43a)]=_0x2f7362(0x443);const _0x3c209e={};_0x3c209e[_0x2f7362(0x1af)]=_0x2f7362(0x409),_0x3c209e[_0x2f7362(0x22b)]=_0x2f7362(0x34c),_0x3c209e['description']=_0x2f7362(0x3e3);const _0x5a8dc8={};return _0x5a8dc8[_0x2f7362(0x1af)]=_0x2f7362(0x39e),_0x5a8dc8[_0x2f7362(0x22b)]='Number',_0x5a8dc8[_0x2f7362(0x43a)]='每页数量(默认:\x2020)',[_0x2ea024,_0x1cf529,_0xfea4ba,_0x1fb253,_0x4852c7,_0x5e20fb,_0x3c209e,_0x5a8dc8];}[a0_0x22ad23(0x2f5)](){const _0x4535cd=a0_0x22ad23,_0x506f55=this[_0x4535cd(0x254)][_0x4535cd(0x3ee)]||[];if(_0x506f55[_0x4535cd(0x43e)]===0x0){const _0x5ec0f5={};return _0x5ec0f5[_0x4535cd(0x3e2)]={},_0x5ec0f5[_0x4535cd(0x1e0)]=[],_0x5ec0f5['aggregate']=[],_0x5ec0f5;}const _0x55daab={},_0xa82e5=_0x506f55['slice'](0x0,Math[_0x4535cd(0x37c)](0x3,_0x506f55[_0x4535cd(0x43e)]));_0xa82e5[_0x4535cd(0x35e)](_0x481163=>{const _0x1f061d=_0x4535cd,_0x2a1a24=this['getApplicableOperators'](_0x481163);if(_0x2a1a24[_0x1f061d(0x43e)]===0x0)return;const _0x39ca65=this[_0x1f061d(0x3bf)](_0x481163,_0x2a1a24),_0x48e944=this[_0x1f061d(0x421)](_0x481163,_0x39ca65),_0x7ff23f={};_0x7ff23f[_0x39ca65]=_0x48e944,_0x55daab[_0x481163[_0x1f061d(0x1af)]]=_0x7ff23f;});const _0x3b795e=_0x506f55[_0x4535cd(0x1a9)](0x0,Math[_0x4535cd(0x37c)](0x2,_0x506f55[_0x4535cd(0x43e)]))[_0x4535cd(0x276)](_0x3444bf=>_0x3444bf[_0x4535cd(0x1af)]),_0x51c077=[],_0x542884=_0x506f55[_0x4535cd(0x314)](_0x445fa5=>this[_0x4535cd(0x3fa)](_0x445fa5));if(_0x542884[_0x4535cd(0x43e)]>0x0){const _0x317773=_0x542884[0x0],_0x4f7454=_0x317773[_0x4535cd(0x1af)],_0x2786ac={};_0x2786ac[_0x4535cd(0x22b)]=_0x4535cd(0x378),_0x2786ac[_0x4535cd(0x2c0)]=_0x4f7454,_0x2786ac['alias']=_0x4f7454+'_sum',_0x2786ac[_0x4535cd(0x223)]=![],_0x2786ac['round']=!![],_0x2786ac[_0x4535cd(0x287)]=0x2,_0x51c077['push'](_0x2786ac);const _0x2b54d4={};_0x2b54d4['type']=_0x4535cd(0x217),_0x2b54d4['column']=_0x4f7454,_0x2b54d4[_0x4535cd(0x38f)]=_0x4f7454+_0x4535cd(0x1ec),_0x2b54d4[_0x4535cd(0x223)]=![],_0x2b54d4[_0x4535cd(0x2f0)]=!![],_0x2b54d4[_0x4535cd(0x287)]=0x2,_0x51c077[_0x4535cd(0x44f)](_0x2b54d4);const _0x2781a0={};_0x2781a0[_0x4535cd(0x22b)]='max',_0x2781a0[_0x4535cd(0x2c0)]=_0x4f7454,_0x2781a0[_0x4535cd(0x38f)]=_0x4f7454+_0x4535cd(0x2b6),_0x2781a0[_0x4535cd(0x223)]=![],_0x2781a0[_0x4535cd(0x2f0)]=!![],_0x2781a0[_0x4535cd(0x287)]=0x2,_0x51c077[_0x4535cd(0x44f)](_0x2781a0);const _0x8917b8={};_0x8917b8[_0x4535cd(0x22b)]=_0x4535cd(0x37c),_0x8917b8[_0x4535cd(0x2c0)]=_0x4f7454,_0x8917b8['alias']=_0x4f7454+_0x4535cd(0x23c),_0x8917b8[_0x4535cd(0x223)]=![],_0x8917b8[_0x4535cd(0x2f0)]=!![],_0x8917b8[_0x4535cd(0x287)]=0x2,_0x51c077[_0x4535cd(0x44f)](_0x8917b8);}else{if(_0x506f55['length']>0x0){const _0x525965=_0x506f55[0x0],_0x57d17b=_0x525965[_0x4535cd(0x1af)],_0x151d3e={};_0x151d3e[_0x4535cd(0x22b)]=_0x4535cd(0x3c6),_0x151d3e[_0x4535cd(0x2c0)]=_0x57d17b,_0x151d3e[_0x4535cd(0x38f)]='total_count',_0x151d3e['distinct']=!![],_0x51c077[_0x4535cd(0x44f)](_0x151d3e);}}const _0x41da1d=[];if(_0x506f55['length']>0x0){const _0x5675ca=_0x506f55[0x0][_0x4535cd(0x1af)],_0x8875f9={};_0x8875f9[_0x5675ca]='desc',_0x41da1d[_0x4535cd(0x44f)](_0x8875f9);}const _0x4d0e5a=[..._0x3b795e,..._0x51c077['map'](_0x5015a4=>_0x5015a4[_0x4535cd(0x38f)])],_0x192be8=[];if(_0x51c077[_0x4535cd(0x43e)]>0x0){const _0x165bbd={};_0x165bbd['$gte']=0x0;const _0x147523={};_0x147523[_0x4535cd(0x383)]=_0x51c077[0x0]['alias'],_0x147523['condition']=_0x165bbd,_0x192be8['push'](_0x147523);}const _0x571a0e={};return _0x571a0e[_0x4535cd(0x3c2)]=_0x4d0e5a,_0x571a0e[_0x4535cd(0x3e2)]=_0x55daab,_0x571a0e[_0x4535cd(0x1e0)]=_0x3b795e,_0x571a0e[_0x4535cd(0x3b7)]=_0x51c077,_0x571a0e[_0x4535cd(0x1c1)]=_0x192be8[_0x4535cd(0x43e)]>0x0?_0x192be8:undefined,_0x571a0e[_0x4535cd(0x2ed)]=_0x41da1d,_0x571a0e['currentPage']=0x1,_0x571a0e[_0x4535cd(0x39e)]=0x14,_0x571a0e;}['generateSDKCallCode'](_0x359d54,_0x52acc8){const _0x269382=a0_0x22ad23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x52acc8||{},_0x3ff2cd=this[_0x269382(0x24e)](),_0xb9aada=this[_0x269382(0x2f5)](),_0x3c8d3f=_0x83d123=>{const _0x367623=_0x269382;return JSON[_0x367623(0x420)](_0x83d123,null,0x2)['split']('\x0a')[_0x367623(0x276)]((_0x18128a,_0x25ea53)=>_0x25ea53===0x0?_0x18128a:indent+_0x18128a)['join']('\x0a');};if(useFullExample){const _0x20ecfd=this[_0x269382(0x254)][_0x269382(0x3ee)]||[],_0x3cd1b9=_0x20ecfd[_0x269382(0x314)](_0xcc3017=>this[_0x269382(0x3fa)](_0xcc3017)),_0x4bf817={'where':_0x20ecfd[0x0]?{[_0x20ecfd[0x0][_0x269382(0x1af)]]:{'$eq':this[_0x269382(0x421)](_0x20ecfd[0x0],_0x269382(0x411))}}:{},'aggregate':_0x3cd1b9[_0x269382(0x43e)]>0x0?[{'type':'sum','column':_0x3cd1b9[0x0]['code'],'alias':_0x3cd1b9[0x0][_0x269382(0x1af)]+_0x269382(0x2ef),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x269382(0x3c6),'column':_0x20ecfd[0x0][_0x269382(0x1af)],'alias':_0x269382(0x3d1),'distinct':!![]}],'orderBy':[{[_0x20ecfd[0x0][_0x269382(0x1af)]]:_0x269382(0x34b)}]};let _0x3cae77='';return _0x20ecfd[_0x269382(0x43e)]>=0x3&&(_0x3cae77=_0x269382(0x2b2)+_0x359d54+'.'+_0x3ff2cd+'('+_0x3c8d3f(_0xb9aada)+');'),_0x269382(0x408)+_0x359d54+'.'+_0x3ff2cd+'('+_0x3c8d3f(_0x4bf817)+');'+_0x3cae77;}const _0x5aa151=JSON['stringify'](_0xb9aada,null,0x2)[_0x269382(0x343)]('\x0a')[_0x269382(0x276)]((_0x5974d6,_0x2f01e6)=>_0x2f01e6===0x0?_0x5974d6:indent+_0x5974d6)[_0x269382(0x32e)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x359d54+'.'+_0x3ff2cd+'('+_0x5aa151+');';}[a0_0x22ad23(0x3fa)](_0x489746){const _0x44a9fa=a0_0x22ad23,_0xc2eff8=_0x489746[_0x44a9fa(0x40e)]();return[_0x44a9fa(0x1dd),'INTEGER','BIGINT','DECIMAL'][_0x44a9fa(0x29c)](_0xc2eff8)||[_0x44a9fa(0x2c5),_0x44a9fa(0x263),_0x44a9fa(0x235),_0x44a9fa(0x3a2),'FLOAT'][_0x44a9fa(0x29c)](_0xc2eff8);}['getApplicableOperators'](_0x3ba485){const _0x5e9a4e=a0_0x22ad23,_0x30c5e3=_0x3ba485[_0x5e9a4e(0x40e)](),_0x4788eb=[];if([_0x5e9a4e(0x1dd),_0x5e9a4e(0x1ba),_0x5e9a4e(0x247),_0x5e9a4e(0x270)][_0x5e9a4e(0x29c)](_0x30c5e3)||[_0x5e9a4e(0x2c5),_0x5e9a4e(0x263),'SMALLINT',_0x5e9a4e(0x3a2),_0x5e9a4e(0x1d6)]['includes'](_0x30c5e3))_0x4788eb[_0x5e9a4e(0x44f)](_0x5e9a4e(0x411),_0x5e9a4e(0x3be),_0x5e9a4e(0x31d),_0x5e9a4e(0x30b),_0x5e9a4e(0x410),_0x5e9a4e(0x31e),_0x5e9a4e(0x345));else{if([_0x5e9a4e(0x28e),_0x5e9a4e(0x1cc),_0x5e9a4e(0x241)][_0x5e9a4e(0x29c)](_0x30c5e3)||[_0x5e9a4e(0x20c),_0x5e9a4e(0x1c0)][_0x5e9a4e(0x29c)](_0x30c5e3))_0x4788eb[_0x5e9a4e(0x44f)](_0x5e9a4e(0x411),'$ne',_0x5e9a4e(0x345),_0x5e9a4e(0x3d9),'$startWith',_0x5e9a4e(0x1ac));else{if([_0x5e9a4e(0x206),_0x5e9a4e(0x2f9),_0x5e9a4e(0x1a6)]['includes'](_0x30c5e3)||[_0x5e9a4e(0x332)][_0x5e9a4e(0x29c)](_0x30c5e3))_0x4788eb[_0x5e9a4e(0x44f)](_0x5e9a4e(0x411),_0x5e9a4e(0x3be),_0x5e9a4e(0x31d),_0x5e9a4e(0x30b),_0x5e9a4e(0x410),_0x5e9a4e(0x31e));else[_0x5e9a4e(0x2f3),_0x5e9a4e(0x1cf),_0x5e9a4e(0x1a7)]['includes'](_0x30c5e3)?_0x4788eb[_0x5e9a4e(0x44f)](_0x5e9a4e(0x411),_0x5e9a4e(0x3be)):_0x4788eb[_0x5e9a4e(0x44f)](_0x5e9a4e(0x411),'$ne');}}return _0x4788eb;}[a0_0x22ad23(0x3bf)](_0x91e541,_0x4d3fc2){const _0x2eb871=a0_0x22ad23,_0x23ade8=_0x91e541[_0x2eb871(0x40e)]();if(['NUMBER','INTEGER',_0x2eb871(0x247),_0x2eb871(0x270)]['includes'](_0x23ade8)||['INT',_0x2eb871(0x263),'SMALLINT',_0x2eb871(0x3a2),_0x2eb871(0x1d6)][_0x2eb871(0x29c)](_0x23ade8))return _0x4d3fc2['includes']('$gte')?'$gte':_0x2eb871(0x411);if([_0x2eb871(0x28e),'TEXT',_0x2eb871(0x241)][_0x2eb871(0x29c)](_0x23ade8)||[_0x2eb871(0x20c),'LONGTEXT'][_0x2eb871(0x29c)](_0x23ade8))return _0x4d3fc2['includes'](_0x2eb871(0x3d9))?'$contain':'$eq';if([_0x2eb871(0x206),'DATETIME',_0x2eb871(0x1a6),_0x2eb871(0x332)]['includes'](_0x23ade8))return _0x4d3fc2[_0x2eb871(0x29c)]('$gte')?_0x2eb871(0x31d):'$eq';return _0x2eb871(0x411);}[a0_0x22ad23(0x421)](_0x316ceb,_0x2783f6){const _0x154d13=a0_0x22ad23,_0x2e20ac=_0x316ceb[_0x154d13(0x40e)](),_0x19bb8e=_0x316ceb[_0x154d13(0x238)]();if(_0x19bb8e&&_0x19bb8e[_0x154d13(0x43e)]>0x0){if(_0x2783f6===_0x154d13(0x345))return _0x19bb8e['slice'](0x0,0x2)[_0x154d13(0x276)](_0x7b44ec=>_0x7b44ec[_0x154d13(0x29b)]);return _0x19bb8e[0x0][_0x154d13(0x29b)];}if([_0x154d13(0x1dd),'INTEGER',_0x154d13(0x247),_0x154d13(0x270)][_0x154d13(0x29c)](_0x2e20ac)||[_0x154d13(0x2c5),_0x154d13(0x263),_0x154d13(0x235),'DOUBLE','FLOAT'][_0x154d13(0x29c)](_0x2e20ac)){if(_0x2783f6===_0x154d13(0x345))return[0x1,0x2,0x3];if(_0x2783f6===_0x154d13(0x31d)||_0x2783f6===_0x154d13(0x410))return 0x0;if(_0x2783f6==='$lte'||_0x2783f6==='$lteq')return 0x64;return 0x1;}if([_0x154d13(0x28e),_0x154d13(0x1cc),_0x154d13(0x241)]['includes'](_0x2e20ac)||[_0x154d13(0x20c),_0x154d13(0x1c0)][_0x154d13(0x29c)](_0x2e20ac)){if(_0x2783f6==='$in')return[_0x154d13(0x33b),_0x154d13(0x307)];if(_0x2783f6===_0x154d13(0x3d9))return'keyword';if(_0x2783f6==='$startWith')return _0x154d13(0x215);if(_0x2783f6===_0x154d13(0x1ac))return _0x154d13(0x333);return _0x154d13(0x29b);}if(['DATE',_0x154d13(0x2f9),_0x154d13(0x1a6),_0x154d13(0x332)]['includes'](_0x2e20ac)){if(_0x2783f6===_0x154d13(0x31d)||_0x2783f6===_0x154d13(0x410))return _0x154d13(0x1b8);if(_0x2783f6==='$lte'||_0x2783f6===_0x154d13(0x31e))return'2024-12-31';return _0x154d13(0x1b8);}if([_0x154d13(0x2f3),_0x154d13(0x1cf),_0x154d13(0x1a7)][_0x154d13(0x29c)](_0x2e20ac))return!![];return _0x2783f6==='$in'?[_0x154d13(0x33b),_0x154d13(0x307)]:'value';}['getRequestParamsDocInfo'](){const _0x568307=a0_0x22ad23,_0x52be00=this[_0x568307(0x433)](),_0x1f2880=Object[_0x568307(0x3e9)](_0x52be00)[_0x568307(0x314)](([_0x2f671e])=>_0x2f671e!=='currentPage'&&_0x2f671e!==_0x568307(0x39e))[_0x568307(0x276)](([_0x50d4d1,_0xf58a2a])=>{const _0x34072f=_0x568307,_0x1d1d8e=_0xf58a2a,_0x181a15={};return _0x181a15['name']=_0x50d4d1,_0x181a15[_0x34072f(0x22b)]=_0x1d1d8e['type']||'String',_0x181a15[_0x34072f(0x43a)]=_0x1d1d8e['description']||'-',_0x181a15[_0x34072f(0x1b3)]=_0x1d1d8e[_0x34072f(0x1b3)],_0x181a15;}),_0x134786={};return _0x134786[_0x568307(0x43a)]=_0x568307(0x309),_0x134786[_0x568307(0x313)]=_0x1f2880,_0x134786;}[a0_0x22ad23(0x342)](){const _0x3be62a=a0_0x22ad23,_0x104305=this[_0x3be62a(0x2f5)]()[_0x3be62a(0x3b7)],_0xf7b890=[{}],_0x181ebd=[];_0x104305?.[_0x3be62a(0x35e)](_0x26b0e5=>{const _0x4163b8=_0x3be62a,_0x542f34={};_0x542f34[_0x4163b8(0x3fb)]=_0x26b0e5[_0x4163b8(0x38f)],_0x542f34[_0x4163b8(0x275)]=_0x26b0e5['alias'],_0x181ebd[_0x4163b8(0x44f)](_0x542f34),_0xf7b890[0x0][_0x26b0e5['alias']]=_0x26b0e5['type']===_0x4163b8(0x3c6)?0x64:Math[_0x4163b8(0x2f0)](Math[_0x4163b8(0x40a)]()*0x64*0x64)/0x64;});const _0xe1e7f1={};_0xe1e7f1[_0x3be62a(0x39e)]=0x1,_0xe1e7f1['totalCount']=0x64,_0xe1e7f1[_0x3be62a(0x409)]=0x1;const _0x301e94={};_0x301e94['paging']=_0xe1e7f1,_0x301e94[_0x3be62a(0x2d6)]=_0xf7b890,_0x301e94['tableColumns']=_0x181ebd;const _0x3cc491={};return _0x3cc491[_0x3be62a(0x1d4)]=!![],_0x3cc491['msg']='',_0x3cc491[_0x3be62a(0x388)]='',_0x3cc491[_0x3be62a(0x468)]=_0x3be62a(0x1e7),_0x3cc491['data']=_0x301e94,_0x3cc491['params']=null,_0x3cc491;}}class OperationFactory{[a0_0x22ad23(0x3d7)](_0x21a686,_0xc13019,_0x1b306f){const _0x18d60c=a0_0x22ad23;switch(_0x21a686){case _0x18d60c(0x31f):return new GetSelectOptionsOperation(_0x21a686,_0xc13019,_0x1b306f);case _0x18d60c(0x329):return new GetListOperation(_0x21a686,_0xc13019,_0x1b306f);case _0x18d60c(0x314):return new FilterOperation(_0x21a686,_0xc13019,_0x1b306f);case _0x18d60c(0x466):return new ExcelExportOperation(_0x21a686,_0xc13019,_0x1b306f);case _0x18d60c(0x22e):return new UpdateOperation(_0x21a686,_0xc13019,_0x1b306f);case _0x18d60c(0x3b7):return new AggregateOperation(_0x21a686,_0xc13019,_0x1b306f);default:return new GenericOperation(_0x21a686,_0xc13019,_0x1b306f);}}[a0_0x22ad23(0x370)](_0x1ce990,_0x56273c){const _0x3ce0cc=a0_0x22ad23,_0x57154f=new Map();return Object[_0x3ce0cc(0x3e9)](_0x1ce990)['forEach'](([_0x1a1848,_0x313226])=>{const _0x50f5e8=_0x3ce0cc;_0x57154f[_0x50f5e8(0x295)](_0x1a1848,this[_0x50f5e8(0x3d7)](_0x1a1848,_0x313226,_0x56273c));}),_0x57154f;}}class OperationList{[a0_0x22ad23(0x41e)];constructor(_0x469628,_0x4dddcd){const _0x15b519=a0_0x22ad23,_0x20e66a=new OperationFactory();this[_0x15b519(0x41e)]=_0x20e66a['createAll'](_0x469628,_0x4dddcd);}[a0_0x22ad23(0x393)](_0x56bad8){const _0x164e60=a0_0x22ad23;return this[_0x164e60(0x41e)][_0x164e60(0x393)](_0x56bad8);}['has'](_0x30c11e){const _0x876451=a0_0x22ad23;return this[_0x876451(0x41e)][_0x876451(0x41c)](_0x30c11e);}[a0_0x22ad23(0x416)](){const _0x49fc2b=a0_0x22ad23;return this[_0x49fc2b(0x41e)][_0x49fc2b(0x416)];}[a0_0x22ad23(0x356)](){const _0x342ad3=a0_0x22ad23;return Array[_0x342ad3(0x1c3)](this[_0x342ad3(0x41e)][_0x342ad3(0x3ae)]());}[a0_0x22ad23(0x3c3)](){const _0x3d4759=a0_0x22ad23,_0x71143d=Array['from'](this[_0x3d4759(0x41e)][_0x3d4759(0x30c)]());return this[_0x3d4759(0x361)](_0x71143d);}['getEnabled'](){const _0x2f73ae=a0_0x22ad23;return this['toArray']()[_0x2f73ae(0x314)](_0x32df19=>_0x32df19[_0x2f73ae(0x1c9)]());}[a0_0x22ad23(0x1df)](){const _0x250f9d=a0_0x22ad23;return this[_0x250f9d(0x3c3)]()[_0x250f9d(0x314)](_0x3c61e2=>!_0x3c61e2['isEnabled']());}[a0_0x22ad23(0x37b)](){const _0x2ec298=a0_0x22ad23;return this[_0x2ec298(0x1c4)]()[_0x2ec298(0x276)](_0xa92117=>_0xa92117['getName']());}[a0_0x22ad23(0x2f6)](){const _0x32b580=a0_0x22ad23;return this[_0x32b580(0x1df)]()[_0x32b580(0x276)](_0x43ea05=>_0x43ea05['getName']());}[a0_0x22ad23(0x259)](_0x384c93){const _0x59f983=a0_0x22ad23;return this['toArray']()[_0x59f983(0x314)](_0xf625f=>_0xf625f[_0x59f983(0x1ea)]()===_0x384c93);}['filter'](_0x41236c){const _0x3f5c67=a0_0x22ad23;return this[_0x3f5c67(0x3c3)]()['filter'](_0x41236c);}['getFiltered'](_0xbb1e67={}){const _0x565671=a0_0x22ad23;let _0x58299c=this[_0x565671(0x3c3)]();!_0xbb1e67[_0x565671(0x21a)]&&(_0x58299c=_0x58299c[_0x565671(0x314)](_0x586892=>_0x586892['isEnabled']()));if(_0xbb1e67[_0x565671(0x28f)]!==![]){const _0x515149=_0x58299c['map'](_0xadf5c4=>({'name':_0xadf5c4[_0x565671(0x24e)](),'operation':_0xadf5c4})),_0x5294ad=filterApiOperations(_0x515149);_0x58299c=_0x5294ad[_0x565671(0x276)](_0x392840=>_0x392840['operation']),_0x58299c=this[_0x565671(0x361)](_0x58299c);}return _0xbb1e67[_0x565671(0x3c0)]&&(_0x58299c=_0x58299c[_0x565671(0x314)](_0xbb1e67['customFilter'])),_0x58299c;}[a0_0x22ad23(0x361)](_0x467550){const _0x11987a=a0_0x22ad23,_0x19c250=_0x467550[_0x11987a(0x3e1)](_0x5185a4=>_0x5185a4['getName']()===_0x11987a(0x314)),_0x1f2c3e=_0x467550['filter'](_0x2c3341=>_0x2c3341[_0x11987a(0x24e)]()!==_0x11987a(0x314));return _0x19c250?[_0x19c250,..._0x1f2c3e]:_0x1f2c3e;}[a0_0x22ad23(0x1c8)](){const _0x142ed8=a0_0x22ad23,_0xf8088f=this['getEnabled']();return{'total':this[_0x142ed8(0x416)](),'enabled':_0xf8088f['length'],'disabled':this[_0x142ed8(0x416)]()-_0xf8088f[_0x142ed8(0x43e)],'byType':this[_0x142ed8(0x456)](_0xf8088f),'byMethod':this[_0x142ed8(0x377)](_0xf8088f)};}[a0_0x22ad23(0x456)](_0x448ec0){const _0x475e8f=a0_0x22ad23,_0x37530c={};return _0x448ec0[_0x475e8f(0x35e)](_0x205144=>{const _0x1a247f=_0x475e8f,_0x2f27eb=_0x205144[_0x1a247f(0x1ea)]();_0x2f27eb&&(_0x37530c[_0x2f27eb]=(_0x37530c[_0x2f27eb]||0x0)+0x1);}),_0x37530c;}[a0_0x22ad23(0x377)](_0x502a7c){const _0x2b077f=a0_0x22ad23,_0x17f7e3={};return _0x502a7c[_0x2b077f(0x35e)](_0x2a103e=>{const _0x3e6f9d=_0x2b077f,_0x36f6e9=_0x2a103e[_0x3e6f9d(0x33e)]();_0x36f6e9&&(_0x17f7e3[_0x36f6e9]=(_0x17f7e3[_0x36f6e9]||0x0)+0x1);}),_0x17f7e3;}[Symbol['iterator']](){const _0x1a98c7=a0_0x22ad23;return this[_0x1a98c7(0x41e)]['values']();}[a0_0x22ad23(0x35a)](){const _0x552ea3=a0_0x22ad23,_0x5293ec=this[_0x552ea3(0x1c8)]();return'OperationList('+_0x5293ec[_0x552ea3(0x27f)]+'/'+_0x5293ec[_0x552ea3(0x446)]+_0x552ea3(0x330);}}class DBConfig{[a0_0x22ad23(0x3e7)];['dbId'];[a0_0x22ad23(0x3da)];[a0_0x22ad23(0x3e4)];['dbVersion'];[a0_0x22ad23(0x2c7)];[a0_0x22ad23(0x323)];[a0_0x22ad23(0x335)];['tenantCode'];[a0_0x22ad23(0x294)];constructor(_0x58748b,_0x147ae4){const _0x1091ad=a0_0x22ad23;this[_0x1091ad(0x3e7)]=_0x147ae4,this['dbId']=_0x58748b['dbId'],this[_0x1091ad(0x3da)]=_0x58748b['dbName'],this['dbType']=_0x58748b['dbType'],this[_0x1091ad(0x1d8)]=_0x58748b[_0x1091ad(0x1d8)],this[_0x1091ad(0x2c7)]=_0x58748b[_0x1091ad(0x2c7)],this[_0x1091ad(0x323)]=_0x58748b[_0x1091ad(0x323)],this[_0x1091ad(0x335)]=_0x58748b[_0x1091ad(0x335)],this['tenantCode']=_0x58748b[_0x1091ad(0x3b3)],this['appCode']=_0x58748b[_0x1091ad(0x294)];}[a0_0x22ad23(0x469)](){const _0x33f576=a0_0x22ad23;return this[_0x33f576(0x3e7)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x22ad23(0x407)];[a0_0x22ad23(0x374)];[a0_0x22ad23(0x2e8)];constructor(_0x321db5){const _0x1f6e43=a0_0x22ad23,_0x14b70d={..._0x321db5};_0x14b70d['id']=_0x321db5['modelId']||_0x321db5['id'],_0x14b70d[_0x1f6e43(0x233)]=_0x321db5[_0x1f6e43(0x203)]||_0x321db5[_0x1f6e43(0x233)]||_0x321db5[_0x1f6e43(0x1af)],super(_0x14b70d);}[a0_0x22ad23(0x1f9)](){return;}['getRelations'](){return[];}[a0_0x22ad23(0x2e5)](){return[];}get[a0_0x22ad23(0x437)](){const _0x36736c=a0_0x22ad23;return this[_0x36736c(0x2e1)]();}[a0_0x22ad23(0x1f3)](){const _0x36c940=a0_0x22ad23;if(!this[_0x36c940(0x374)]){const _0x1bf3b8=this[_0x36c940(0x449)]();throw new Error(_0x36c940(0x3dd));}return this[_0x36c940(0x374)];}['getFieldListWithDeleted'](){const _0x401d10=a0_0x22ad23;if(!this[_0x401d10(0x2e8)]){const _0x212bb0=this[_0x401d10(0x449)]();throw new Error('getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass');}return this[_0x401d10(0x2e8)];}[a0_0x22ad23(0x43d)](){return[];}[a0_0x22ad23(0x281)](){const _0x861658=a0_0x22ad23,_0x229e91=this[_0x861658(0x449)]();return _0x229e91[_0x861658(0x3ee)];}[a0_0x22ad23(0x3fd)](){const _0x395115=a0_0x22ad23;return this[_0x395115(0x43d)]()[_0x395115(0x43e)];}[a0_0x22ad23(0x42f)](_0x194ff3){const _0xb008ad=a0_0x22ad23,_0x5d48ba=this[_0xb008ad(0x436)](_0x194ff3);return _0x5d48ba?_0x5d48ba[_0xb008ad(0x3e7)]:undefined;}[a0_0x22ad23(0x1d2)](_0x52aa2f){return;}['parseFieldExtend'](_0x2bddc8){const _0x40e098=a0_0x22ad23;if(!_0x2bddc8||typeof _0x2bddc8!==_0x40e098(0x1d9))return!![]&&console[_0x40e098(0x288)](_0x40e098(0x369),_0x2bddc8),{};if(_0x40e098(0x335)in _0x2bddc8){const _0x43b799=_0x2bddc8;return{'primaryKey':typeof _0x43b799[_0x40e098(0x335)]===_0x40e098(0x2a9)?_0x43b799[_0x40e098(0x335)]:Boolean(_0x43b799['pkField']),'required':_0x43b799['required'],'systemRetain':Boolean(_0x43b799['systemRetain']),'autoIncrement':_0x43b799[_0x40e098(0x41b)]??undefined};}if(!(_0x40e098(0x1f2)in _0x2bddc8)||!_0x2bddc8[_0x40e098(0x1f2)])return{};try{const _0x47cc5f=typeof _0x2bddc8[_0x40e098(0x1f2)]==='string'?JSON[_0x40e098(0x2b9)](_0x2bddc8[_0x40e098(0x1f2)]):_0x2bddc8[_0x40e098(0x1f2)];if(typeof _0x47cc5f!=='object'||_0x47cc5f===null)return{};return _0x47cc5f;}catch{return{};}}[a0_0x22ad23(0x219)](){const _0x270e00=a0_0x22ad23;if(!this[_0x270e00(0x407)]){const _0x186828=this[_0x270e00(0x265)](this[_0x270e00(0x273)]()||{});this['_operationList']=new OperationList(_0x186828,{'fields':this[_0x270e00(0x1f3)]()['all'](),'pkField':this['_raw'][_0x270e00(0x1b5)]?.[_0x270e00(0x335)],'dbtableConfig':this['_raw'][_0x270e00(0x1b5)]||null});}return this[_0x270e00(0x407)];}['ensureFilterOperation'](_0x510751){const _0x43766b=a0_0x22ad23;if(_0x510751[_0x43766b(0x314)]!==undefined)return _0x510751;return{..._0x510751,'filter':this[_0x43766b(0x33a)]()};}[a0_0x22ad23(0x33a)](){const _0x56f741=a0_0x22ad23,_0xa2888a=this['getOperationsData']()?.[_0x56f741(0x329)];let _0x3f31f8=_0xa2888a?.[_0x56f741(0x268)],_0x53b515='';if(!_0x3f31f8&&this[_0x56f741(0x273)]()){const _0x279adc=Object['values'](this[_0x56f741(0x273)]());for(const _0x597d83 of _0x279adc){if(_0x597d83&&typeof _0x597d83===_0x56f741(0x1d9)&&'host'in _0x597d83){_0x3f31f8=_0x597d83['host'];break;}}}if(_0xa2888a?.[_0x56f741(0x3a3)]){const _0x5742d4=_0xa2888a[_0x56f741(0x3a3)],_0x3e43b1=_0x5742d4[_0x56f741(0x310)]('/');_0x3e43b1!==-0x1&&(_0x53b515=_0x5742d4[_0x56f741(0x1a8)](0x0,_0x3e43b1));}const _0x524451={};_0x524451['name']=_0x56f741(0x3e2),_0x524451[_0x56f741(0x22b)]='object',_0x524451[_0x56f741(0x1b3)]=![];const _0x44e65d={};_0x44e65d[_0x56f741(0x36f)]=_0x56f741(0x3c2),_0x44e65d[_0x56f741(0x22b)]=_0x56f741(0x31b),_0x44e65d[_0x56f741(0x1b3)]=![];const _0x2b1d61={};_0x2b1d61[_0x56f741(0x36f)]=_0x56f741(0x2ed),_0x2b1d61['type']=_0x56f741(0x31b),_0x2b1d61[_0x56f741(0x1b3)]=![];const _0x54b982={};_0x54b982[_0x56f741(0x36f)]=_0x56f741(0x409),_0x54b982[_0x56f741(0x22b)]=_0x56f741(0x302),_0x54b982[_0x56f741(0x1b3)]=![],_0x54b982[_0x56f741(0x207)]=0x1;const _0x3bbdb9={};_0x3bbdb9[_0x56f741(0x36f)]='pageSize',_0x3bbdb9['type']=_0x56f741(0x302),_0x3bbdb9['required']=![],_0x3bbdb9[_0x56f741(0x207)]=0xa;const _0x57fc0a={};return _0x57fc0a[_0x56f741(0x36f)]=_0x56f741(0x314),_0x57fc0a[_0x56f741(0x22b)]=_0x56f741(0x38a),_0x57fc0a['description']=_0x56f741(0x430),_0x57fc0a['method']=_0x56f741(0x216),_0x57fc0a[_0x56f741(0x268)]=_0x3f31f8,_0x57fc0a[_0x56f741(0x3a3)]=_0x53b515?_0x53b515+_0x56f741(0x413):_0x56f741(0x413),_0x57fc0a[_0x56f741(0x313)]=_0xa2888a?.[_0x56f741(0x313)]||[_0x524451,_0x44e65d,_0x2b1d61,_0x54b982,_0x3bbdb9],_0x57fc0a[_0x56f741(0x1dc)]=!![],_0x57fc0a;}[a0_0x22ad23(0x2fe)](){const _0x16b122=a0_0x22ad23;return this[_0x16b122(0x219)]()['toArray']();}[a0_0x22ad23(0x1a4)](){const _0x5c7f32=a0_0x22ad23;return this[_0x5c7f32(0x219)]()[_0x5c7f32(0x416)]();}[a0_0x22ad23(0x3ba)](_0x4f34b9){const _0x2e2e26=a0_0x22ad23;if(typeof _0x4f34b9!==_0x2e2e26(0x1bd)){!![]&&console[_0x2e2e26(0x288)](_0x2e2e26(0x3cb),_0x4f34b9);return;}return this[_0x2e2e26(0x219)]()[_0x2e2e26(0x393)](_0x4f34b9);}['hasOperation'](_0x4bb455){const _0x2b1e48=a0_0x22ad23;if(typeof _0x4bb455!==_0x2b1e48(0x1bd))return![];return this[_0x2b1e48(0x219)]()[_0x2b1e48(0x41c)](_0x4bb455);}[a0_0x22ad23(0x3a9)](_0x286531){const _0x3b9e9e=a0_0x22ad23;if(typeof _0x286531!=='string')return![];const _0x3d8dfa=this[_0x3b9e9e(0x3ba)](_0x286531);return _0x3d8dfa?.[_0x3b9e9e(0x1c9)]()||![];}[a0_0x22ad23(0x32b)](){const _0x1e02f7=a0_0x22ad23;return this[_0x1e02f7(0x219)]()[_0x1e02f7(0x37b)]();}[a0_0x22ad23(0x37e)](){const _0x1e5981=a0_0x22ad23;return this[_0x1e5981(0x219)]()[_0x1e5981(0x2f6)]();}[a0_0x22ad23(0x229)](){const _0x11fd8a=a0_0x22ad23;return this['getOperationList']()[_0x11fd8a(0x1c4)]();}[a0_0x22ad23(0x463)](){const _0x23f624=a0_0x22ad23;return this[_0x23f624(0x219)]()[_0x23f624(0x1df)]();}['getFilteredOperations'](_0x4b7ae6={}){const _0x3ebc9f=a0_0x22ad23;return this[_0x3ebc9f(0x219)]()[_0x3ebc9f(0x414)](_0x4b7ae6);}[a0_0x22ad23(0x1c8)](){const _0x5638f5=a0_0x22ad23;return{'fieldCount':this[_0x5638f5(0x3fd)](),'systemFieldCount':this[_0x5638f5(0x2a2)]()[_0x5638f5(0x43e)],'businessFieldCount':this['getBusinessFields']()[_0x5638f5(0x43e)],'requiredFieldCount':this[_0x5638f5(0x1ab)]()[_0x5638f5(0x43e)],'primaryKeyCount':this[_0x5638f5(0x2cc)]()[_0x5638f5(0x43e)],'operationCount':this[_0x5638f5(0x1a4)](),'enabledOperationCount':this[_0x5638f5(0x32b)]()[_0x5638f5(0x43e)]};}['getFieldCode'](_0x4abf70){const _0xb2daf4=a0_0x22ad23;if(!_0x4abf70||typeof _0x4abf70!==_0xb2daf4(0x1d9))return'';if(_0xb2daf4(0x1af)in _0x4abf70&&typeof _0x4abf70[_0xb2daf4(0x1af)]===_0xb2daf4(0x1bd))return _0x4abf70[_0xb2daf4(0x1af)];if(_0xb2daf4(0x36f)in _0x4abf70&&typeof _0x4abf70['name']===_0xb2daf4(0x1bd))return _0x4abf70[_0xb2daf4(0x36f)];return'';}[a0_0x22ad23(0x3b4)](_0x38491e){const _0xfea804=a0_0x22ad23;return this[_0xfea804(0x1f3)]()[_0xfea804(0x41c)](_0x38491e);}[a0_0x22ad23(0x464)](_0x38a8dc){const _0x26361c=a0_0x22ad23;if(!_0x38a8dc||typeof _0x38a8dc!==_0x26361c(0x1d9))return![];const _0x5eea1b=this[_0x26361c(0x3d6)](_0x38a8dc),_0xb467d3=this[_0x26361c(0x436)](_0x5eea1b);return _0xb467d3?_0xb467d3[_0x26361c(0x1f0)]():![];}[a0_0x22ad23(0x30a)](_0x180b31){const _0x26ff0d=a0_0x22ad23;if(!_0x180b31||typeof _0x180b31!==_0x26ff0d(0x1d9))return![];const _0x202af9=this[_0x26ff0d(0x3d6)](_0x180b31),_0x3f1f4d=this[_0x26ff0d(0x436)](_0x202af9);return _0x3f1f4d?_0x3f1f4d[_0x26ff0d(0x3f5)]():![];}['isRequiredField'](_0x436c4b){const _0x59b51c=a0_0x22ad23;if(!_0x436c4b||typeof _0x436c4b!==_0x59b51c(0x1d9))return![];const _0x3c97b7=this[_0x59b51c(0x3d6)](_0x436c4b),_0x13ec55=this[_0x59b51c(0x436)](_0x3c97b7);return _0x13ec55?_0x13ec55[_0x59b51c(0x2c1)]():![];}[a0_0x22ad23(0x220)](_0x37f206){const _0x4294d1=a0_0x22ad23;if(!_0x37f206||typeof _0x37f206!==_0x4294d1(0x1d9))return![];const _0x26ac7d=this['getFieldCode'](_0x37f206),_0x556a20=this['getFieldInstance'](_0x26ac7d);return _0x556a20?_0x556a20[_0x4294d1(0x389)]():![];}[a0_0x22ad23(0x31a)](_0x138f57){const _0x5cba10=a0_0x22ad23;if(!_0x138f57||typeof _0x138f57!==_0x5cba10(0x1d9))return![];const _0x3cc3de=this[_0x5cba10(0x3d6)](_0x138f57),_0x18e84d=this['getFieldInstance'](_0x3cc3de);return _0x18e84d?_0x18e84d['isMultipleSelect']():![];}[a0_0x22ad23(0x403)](_0x2e5d2a){const _0x66d038=a0_0x22ad23;if(!_0x2e5d2a||typeof _0x2e5d2a!==_0x66d038(0x1d9))return[];const _0x2cb7a4=this[_0x66d038(0x3d6)](_0x2e5d2a),_0x491588=this[_0x66d038(0x436)](_0x2cb7a4);if(!_0x491588||!_0x491588[_0x66d038(0x389)]())return[];return _0x491588[_0x66d038(0x238)]()||[];}[a0_0x22ad23(0x334)](_0xcc4484){const _0x4f255d=a0_0x22ad23;if(!_0xcc4484||typeof _0xcc4484!==_0x4f255d(0x1d9))return;const _0x5a860c=this[_0x4f255d(0x3d6)](_0xcc4484),_0x4c059c=this[_0x4f255d(0x436)](_0x5a860c);if(!_0x4c059c||!_0x4c059c[_0x4f255d(0x389)]())return;return _0x4c059c['getSelectItemsSource']();}[a0_0x22ad23(0x1c2)](_0x4e2ef6){const _0x3870c2=a0_0x22ad23;if(!_0x4e2ef6||typeof _0x4e2ef6!==_0x3870c2(0x1d9))return;const _0x27a9f8=this[_0x3870c2(0x3d6)](_0x4e2ef6),_0x4614c5=this[_0x3870c2(0x436)](_0x27a9f8);if(!_0x4614c5||!_0x4614c5[_0x3870c2(0x389)]())return;return _0x4614c5[_0x3870c2(0x2e6)]();}[a0_0x22ad23(0x2cc)](){const _0x287e5c=a0_0x22ad23;return this[_0x287e5c(0x1f3)]()[_0x287e5c(0x387)]()[_0x287e5c(0x276)](_0x45cbb6=>_0x45cbb6['raw']);}[a0_0x22ad23(0x2a2)](){const _0x4892e6=a0_0x22ad23;return this[_0x4892e6(0x1f3)]()[_0x4892e6(0x1e3)]()[_0x4892e6(0x276)](_0x2c4de0=>_0x2c4de0[_0x4892e6(0x3e7)]);}[a0_0x22ad23(0x3f9)](){const _0x22c0de=a0_0x22ad23;return this['getFieldList']()[_0x22c0de(0x41f)]()[_0x22c0de(0x276)](_0x16e79e=>_0x16e79e[_0x22c0de(0x3e7)]);}[a0_0x22ad23(0x1ab)](){const _0x30d57d=a0_0x22ad23;return this['getFieldList']()['getRequired']()['map'](_0x143394=>_0x143394[_0x30d57d(0x3e7)]);}[a0_0x22ad23(0x266)](){const _0x5d8105=a0_0x22ad23,_0x4f9a06=this[_0x5d8105(0x1f3)]()['groupByType'](),_0xe9741c={};for(const [_0x353f04,_0x2636fc]of Object[_0x5d8105(0x3e9)](_0x4f9a06)){_0xe9741c[_0x353f04]=_0x2636fc[_0x5d8105(0x276)](_0x3fa286=>_0x3fa286[_0x5d8105(0x3e7)]);}return _0xe9741c;}[a0_0x22ad23(0x25c)](){const _0x14f3b6=a0_0x22ad23;return this[_0x14f3b6(0x1f3)]()['getEnum']()[_0x14f3b6(0x276)](_0x3d9cc5=>_0x3d9cc5['raw']);}[a0_0x22ad23(0x1f7)](){const _0x1cb1b3=a0_0x22ad23,_0x5cf641={};return this['getEnumFields']()[_0x1cb1b3(0x35e)](_0x14fced=>{const _0x541262=_0x1cb1b3,_0x52dbb3=this[_0x541262(0x1c2)](_0x14fced);if(_0x52dbb3){const _0x5936ff=this[_0x541262(0x3d6)](_0x14fced);_0x5cf641[_0x5936ff]=_0x52dbb3;}}),_0x5cf641;}['validateEnumValue'](_0x321d91,_0x480914){const _0x1bf323=a0_0x22ad23,_0x13b460=this['getEnumFieldMeta'](_0x321d91);if(!_0x13b460)return!![];if(_0x13b460[_0x1bf323(0x338)]&&!_0x13b460['options'])return!![];const _0x25132d=this[_0x1bf323(0x3d6)](_0x321d91),_0x33e21d=this[_0x1bf323(0x436)](_0x25132d),_0x15fa7e=_0x33e21d?_0x33e21d['isMultipleSelect']():![];if(_0x15fa7e&&Array[_0x1bf323(0x292)](_0x480914))return _0x480914[_0x1bf323(0x23f)](_0x133f3a=>_0x13b460[_0x1bf323(0x30c)][_0x1bf323(0x29c)](_0x133f3a));return _0x13b460[_0x1bf323(0x30c)][_0x1bf323(0x29c)](_0x480914);}['toListItem'](){const _0x33e94f=a0_0x22ad23;return new DatasetItem({'id':this['id'],'name':this[_0x33e94f(0x36f)],'datasetCode':this[_0x33e94f(0x233)],'dbtableConfig':this[_0x33e94f(0x3c5)]()});}[a0_0x22ad23(0x35a)](){const _0x140a51=a0_0x22ad23;return'DrivenDataDetail('+this['name']+',\x20'+this[_0x140a51(0x233)]+',\x20'+this[_0x140a51(0x3fd)]()+_0x140a51(0x204)+this[_0x140a51(0x1a4)]()+'\x20operations,\x20'+this['getVersion']()+')';}[a0_0x22ad23(0x1ce)](){return this['getOperationOperators']('filter');}[a0_0x22ad23(0x3a5)](_0x147039){const _0x52914c=a0_0x22ad23;return this[_0x52914c(0x24f)](_0x52914c(0x314),_0x147039);}[a0_0x22ad23(0x3b1)](){const _0x230f3c=a0_0x22ad23;return this[_0x230f3c(0x331)](_0x230f3c(0x314));}[a0_0x22ad23(0x321)](_0xb13122){const _0x4fd02a=a0_0x22ad23,_0x31f457=this['getOperation'](_0xb13122);return _0x31f457?_0x31f457[_0x4fd02a(0x1fe)]():[];}['getOperationFieldOperators'](_0x2e0345,_0x1713be){const _0xcffde2=a0_0x22ad23,_0x886b1f=this[_0xcffde2(0x3ba)](_0x2e0345);return _0x886b1f?_0x886b1f[_0xcffde2(0x3db)](_0x1713be):[];}[a0_0x22ad23(0x331)](_0x3c3413){const _0x1fb997=a0_0x22ad23,_0x12a49c={};return this['getFieldList']()[_0x1fb997(0x35e)](_0x18b54e=>{const _0x3bdc2b=_0x1fb997,_0x8ebde6=this[_0x3bdc2b(0x24f)](_0x3c3413,_0x18b54e[_0x3bdc2b(0x1af)]);_0x8ebde6[_0x3bdc2b(0x43e)]>0x0&&(_0x12a49c[_0x18b54e['code']]=_0x8ebde6);}),_0x12a49c;}[a0_0x22ad23(0x44c)](_0x112e9a,_0x4fd871,_0x1efafe){const _0x345029=a0_0x22ad23,_0x586289=this['getOperationFieldOperators'](_0x112e9a,_0x4fd871);return _0x586289[_0x345029(0x29c)](_0x1efafe);}}class FieldBase{get[a0_0x22ad23(0x3e4)](){return;}get[a0_0x22ad23(0x440)](){return;}get[a0_0x22ad23(0x20a)](){return;}get[a0_0x22ad23(0x26a)](){return;}['isBusiness'](){const _0x3480ab=a0_0x22ad23;return!this[_0x3480ab(0x3f5)]();}['isDeleted'](){const _0x47a949=a0_0x22ad23;return this[_0x47a949(0x28a)];}[a0_0x22ad23(0x389)](){const _0x171813=a0_0x22ad23,_0x136cdc=['RADIO',_0x171813(0x439),'CHECKBOX'];return _0x136cdc['includes'](this[_0x171813(0x22b)]);}['isMultipleSelect'](){const _0x4b22dd=a0_0x22ad23;return this['type']===_0x4b22dd(0x2c9);}[a0_0x22ad23(0x209)](){const _0x195b78=a0_0x22ad23,_0x4c2425=this[_0x195b78(0x2e6)]();return _0x4c2425?.[_0x195b78(0x30c)]||[];}[a0_0x22ad23(0x2e6)](){const _0x46a186=a0_0x22ad23;if(!this[_0x46a186(0x389)]())return;const _0x34e5f4=this['getEnumOptions'](),_0xdd5125=this[_0x46a186(0x36b)](),_0x509bc7=[],_0x5519a2={},_0x89ce24=_0x570ff3=>{_0x570ff3['forEach'](_0x82b81e=>{const _0x31182f=a0_0xc40c;_0x509bc7[_0x31182f(0x44f)](_0x82b81e[_0x31182f(0x29b)]),_0x5519a2[String(_0x82b81e[_0x31182f(0x29b)])]=_0x82b81e[_0x31182f(0x1de)],_0x82b81e[_0x31182f(0x1bc)]&&_0x82b81e[_0x31182f(0x1bc)][_0x31182f(0x43e)]>0x0&&_0x89ce24(_0x82b81e[_0x31182f(0x1bc)]);});};return _0x34e5f4&&_0x34e5f4['length']>0x0&&_0x89ce24(_0x34e5f4),{'code':this[_0x46a186(0x1af)],'name':this[_0x46a186(0x36f)],'type':this[_0x46a186(0x22b)],'multiple':this[_0x46a186(0x3dc)](),'options':_0x34e5f4,'selectItemsSource':_0xdd5125,'values':_0x509bc7,'valueLabels':_0x5519a2};}get[a0_0x22ad23(0x256)](){const _0x501603=a0_0x22ad23;return this[_0x501603(0x209)]();}[a0_0x22ad23(0x35a)](){const _0xdb4299=a0_0x22ad23;return _0xdb4299(0x272)+this[_0xdb4299(0x36f)]+',\x20'+this['code']+',\x20'+this['type']+',\x20'+this['getVersion']()+')';}}class FieldV1 extends FieldBase{[a0_0x22ad23(0x2b5)];[a0_0x22ad23(0x232)]=null;constructor(_0x27eae2){const _0x218609=a0_0x22ad23;super();if(!_0x27eae2||typeof _0x27eae2!==_0x218609(0x1d9))throw new Error(_0x218609(0x3d2));this[_0x218609(0x2b5)]=_0x27eae2;}[a0_0x22ad23(0x319)](){const _0x2803c8=a0_0x22ad23;return this[_0x2803c8(0x2b5)];}['getVersion'](){return'v1';}get[a0_0x22ad23(0x3e7)](){const _0x3a4174=a0_0x22ad23;return this[_0x3a4174(0x2b5)];}get[a0_0x22ad23(0x36f)](){const _0x4223f5=a0_0x22ad23;return this[_0x4223f5(0x2b5)][_0x4223f5(0x36f)]||'';}get[a0_0x22ad23(0x1af)](){const _0x14d1e0=a0_0x22ad23;return this[_0x14d1e0(0x2b5)][_0x14d1e0(0x1af)]||'';}get[a0_0x22ad23(0x22b)](){const _0x46d9df=a0_0x22ad23;return this[_0x46d9df(0x2b5)][_0x46d9df(0x22b)]||'';}get[a0_0x22ad23(0x43a)](){const _0x5bfd6a=a0_0x22ad23;return this[_0x5bfd6a(0x2b5)][_0x5bfd6a(0x43a)]||'';}get[a0_0x22ad23(0x28a)](){const _0x5519c3=a0_0x22ad23;return Boolean(this['_raw'][_0x5519c3(0x28a)]);}get[a0_0x22ad23(0x3e4)](){const _0x4f6369=a0_0x22ad23;return this[_0x4f6369(0x2b5)][_0x4f6369(0x3e4)];}get['dbTypeLen'](){const _0x7da434=a0_0x22ad23;return this[_0x7da434(0x2b5)][_0x7da434(0x440)];}get[a0_0x22ad23(0x20a)](){const _0x1cbe61=a0_0x22ad23;return this[_0x1cbe61(0x2b5)]['alias'];}get[a0_0x22ad23(0x26a)](){return;}get[a0_0x22ad23(0x1f2)](){const _0x1342d2=a0_0x22ad23;if(this[_0x1342d2(0x232)]!==null&&typeof this[_0x1342d2(0x232)]===_0x1342d2(0x1d9))return this[_0x1342d2(0x232)];const _0x397834=this[_0x1342d2(0x2b5)][_0x1342d2(0x1f2)];if(!_0x397834||typeof _0x397834!==_0x1342d2(0x1bd))return this['_extend']={},this['_extend'];if(_0x397834===_0x1342d2(0x3e8)||_0x397834['trim']()===_0x1342d2(0x3e8))return this[_0x1342d2(0x232)]={},this['_extend'];try{const _0xd1c32=JSON[_0x1342d2(0x2b9)](_0x397834);return this[_0x1342d2(0x232)]=_0xd1c32!==null&&typeof _0xd1c32===_0x1342d2(0x1d9)&&!Array[_0x1342d2(0x292)](_0xd1c32)?_0xd1c32:{},this[_0x1342d2(0x232)];}catch(_0xbd4943){return!![]&&console[_0x1342d2(0x288)](_0x1342d2(0x42a)+this[_0x1342d2(0x1af)]+'\x20的\x20extend\x20配置失败:',_0xbd4943),this['_extend']={},this[_0x1342d2(0x232)];}}['isRequired'](){const _0x2d2813=a0_0x22ad23;return Boolean(this[_0x2d2813(0x1f2)]['required']);}['isPrimaryKey'](){const _0x521e40=a0_0x22ad23;return Boolean(this[_0x521e40(0x1f2)][_0x521e40(0x2ad)]||this[_0x521e40(0x1f2)]['pkField']);}['isSystem'](){const _0x53e0ae=a0_0x22ad23;return Boolean(this[_0x53e0ae(0x1f2)]['systemRetain']);}[a0_0x22ad23(0x3e6)](){const _0x3dab2d=a0_0x22ad23;return Boolean(this['extend'][_0x3dab2d(0x41b)]);}['isCreateTime'](){const _0x3ef7c2=a0_0x22ad23;return Boolean(this[_0x3ef7c2(0x1f2)][_0x3ef7c2(0x210)]);}[a0_0x22ad23(0x2b3)](){const _0x418163=a0_0x22ad23;return Boolean(this['extend'][_0x418163(0x351)]);}['getDisplayName'](){return this['name'];}[a0_0x22ad23(0x264)](){return this['code'];}['isEnum'](){const _0x328c6a=a0_0x22ad23,_0x28f099=['RADIO',_0x328c6a(0x439),_0x328c6a(0x2c9)];if(_0x28f099['includes'](this['type']))return!![];const _0x1587cc=this[_0x328c6a(0x1f2)];return Boolean(_0x1587cc['options']&&Array['isArray'](_0x1587cc['options'])&&_0x1587cc[_0x328c6a(0x368)][_0x328c6a(0x43e)]>0x0||_0x1587cc[_0x328c6a(0x338)]);}[a0_0x22ad23(0x3dc)](){const _0x403f9e=a0_0x22ad23;if(this[_0x403f9e(0x22b)]===_0x403f9e(0x2c9))return!![];return Boolean(this['extend']['multiple']);}['getEnumOptions'](){const _0x4f0012=a0_0x22ad23,_0x251a94=this['extend'];if(_0x251a94[_0x4f0012(0x368)]&&Array[_0x4f0012(0x292)](_0x251a94[_0x4f0012(0x368)]))return _0x251a94[_0x4f0012(0x368)];return;}['getSelectItemsSource'](){const _0x5f43ee=a0_0x22ad23,_0x220552=this[_0x5f43ee(0x1f2)];if(_0x220552[_0x5f43ee(0x338)]&&typeof _0x220552['selectItemsSource']==='object')return _0x220552[_0x5f43ee(0x338)];return;}[a0_0x22ad23(0x40e)](){const _0x18a392=a0_0x22ad23;return this['type'][_0x18a392(0x244)]();}[a0_0x22ad23(0x23b)](){const _0x5d9736=a0_0x22ad23;return this[_0x5d9736(0x1f2)][_0x5d9736(0x23d)];}[a0_0x22ad23(0x35b)](){const _0x133803=a0_0x22ad23;return this['extend'][_0x133803(0x21f)];}['toJSON'](){const _0x51bcf2=a0_0x22ad23;return{'name':this[_0x51bcf2(0x36f)],'code':this[_0x51bcf2(0x1af)],'type':this['type'],'description':this[_0x51bcf2(0x43a)],'required':this[_0x51bcf2(0x2c1)](),'primaryKey':this[_0x51bcf2(0x1f0)](),'system':this[_0x51bcf2(0x3f5)](),'autoIncrement':this[_0x51bcf2(0x3e6)](),'createTime':this[_0x51bcf2(0x358)](),'updateTime':this[_0x51bcf2(0x2b3)](),'isEnum':this[_0x51bcf2(0x389)](),'enumMeta':this[_0x51bcf2(0x389)]()?this[_0x51bcf2(0x2e6)]():undefined};}['toString'](){const _0x2af5b2=a0_0x22ad23;return _0x2af5b2(0x340)+this[_0x2af5b2(0x36f)]+',\x20'+this['code']+',\x20'+this[_0x2af5b2(0x22b)]+')';}}class FieldListBase{[a0_0x22ad23(0x2aa)];constructor(_0x453aa3,_0x494c9e){const _0x5954f7=a0_0x22ad23;if(!Array[_0x5954f7(0x292)](_0x453aa3))throw new Error(_0x5954f7(0x35c));const _0x295343=_0x494c9e?.[_0x5954f7(0x23e)]??![],_0x35e2b1=_0x295343?_0x453aa3:_0x453aa3[_0x5954f7(0x314)](_0x966a24=>{const _0x7a9ef9=_0x5954f7,_0x44d0c5=_0x966a24;return!_0x44d0c5[_0x7a9ef9(0x28a)];});this[_0x5954f7(0x2aa)]=this[_0x5954f7(0x38b)](_0x35e2b1);}get[a0_0x22ad23(0x43e)](){const _0x11bad=a0_0x22ad23;return this[_0x11bad(0x2aa)][_0x11bad(0x43e)];}[a0_0x22ad23(0x213)](){const _0x457815=a0_0x22ad23;return[...this[_0x457815(0x2aa)]];}['at'](_0x342e20){const _0x1b1ccd=a0_0x22ad23;return this[_0x1b1ccd(0x2aa)]['at'](_0x342e20);}[a0_0x22ad23(0x3e1)](_0x5231af){const _0xdf487f=a0_0x22ad23;return this[_0xdf487f(0x2aa)]['find'](_0x1083d5=>_0x1083d5[_0xdf487f(0x1af)]===_0x5231af);}[a0_0x22ad23(0x29f)](_0x5a0620){const _0x2a976e=a0_0x22ad23;return this['_fields']['find'](_0x5284e8=>_0x5284e8[_0x2a976e(0x36f)]===_0x5a0620);}[a0_0x22ad23(0x41c)](_0x18ad02){const _0x11d2c9=a0_0x22ad23;return this[_0x11d2c9(0x2aa)]['some'](_0x1871d6=>_0x1871d6[_0x11d2c9(0x1af)]===_0x18ad02);}[a0_0x22ad23(0x35e)](_0xa7e632){const _0x290572=a0_0x22ad23;this[_0x290572(0x2aa)][_0x290572(0x35e)](_0xa7e632);}[a0_0x22ad23(0x276)](_0x5636f1){const _0x102d11=a0_0x22ad23;return this[_0x102d11(0x2aa)][_0x102d11(0x276)](_0x5636f1);}['filter'](_0x1cd67d){const _0x35841c=a0_0x22ad23;return this[_0x35841c(0x2aa)][_0x35841c(0x314)](_0x1cd67d);}[a0_0x22ad23(0x23f)](_0x31f6b2){const _0x5be6cb=a0_0x22ad23;return this['_fields'][_0x5be6cb(0x23f)](_0x31f6b2);}['some'](_0x541697){return this['_fields']['some'](_0x541697);}['getRequired'](){const _0x4086a2=a0_0x22ad23;return this[_0x4086a2(0x2aa)][_0x4086a2(0x314)](_0x12660e=>_0x12660e[_0x4086a2(0x2c1)]());}[a0_0x22ad23(0x387)](){const _0xcacb16=a0_0x22ad23;return this['_fields']['filter'](_0x165b37=>_0x165b37[_0xcacb16(0x1f0)]());}[a0_0x22ad23(0x1e3)](){const _0x54124f=a0_0x22ad23;return this[_0x54124f(0x2aa)][_0x54124f(0x314)](_0x333e14=>_0x333e14[_0x54124f(0x3f5)]());}['getBusiness'](){const _0x72cfc1=a0_0x22ad23;return this[_0x72cfc1(0x2aa)][_0x72cfc1(0x314)](_0x42a92b=>_0x42a92b[_0x72cfc1(0x39c)]());}[a0_0x22ad23(0x32f)](){const _0x4c3a2b=a0_0x22ad23;return this[_0x4c3a2b(0x2aa)][_0x4c3a2b(0x314)](_0x592949=>_0x592949[_0x4c3a2b(0x389)]());}[a0_0x22ad23(0x32c)](){const _0x2a3524=a0_0x22ad23;return this[_0x2a3524(0x2aa)][_0x2a3524(0x314)](_0x277768=>_0x277768[_0x2a3524(0x3e6)]());}[a0_0x22ad23(0x3e0)](){const _0x3290b3=a0_0x22ad23;return this['_fields'][_0x3290b3(0x314)](_0x496130=>_0x496130[_0x3290b3(0x358)]());}[a0_0x22ad23(0x431)](){const _0x438def=a0_0x22ad23;return this['_fields'][_0x438def(0x314)](_0x22c72a=>_0x22c72a[_0x438def(0x2b3)]());}[a0_0x22ad23(0x317)](){const _0x6f7a00=a0_0x22ad23;return this[_0x6f7a00(0x2aa)][_0x6f7a00(0x314)](_0x473fa5=>_0x473fa5['isDeleted']());}['getActive'](){const _0xac903b=a0_0x22ad23;return this[_0xac903b(0x2aa)][_0xac903b(0x314)](_0x4f88dd=>!_0x4f88dd[_0xac903b(0x28d)]());}[a0_0x22ad23(0x380)](){const _0x234b34=a0_0x22ad23,_0x114cf4={};return this[_0x234b34(0x2aa)]['forEach'](_0x16ffc5=>{const _0x3764b0=_0x234b34,_0x1b6bc1=_0x16ffc5[_0x3764b0(0x22b)];!_0x114cf4[_0x1b6bc1]&&(_0x114cf4[_0x1b6bc1]=[]),_0x114cf4[_0x1b6bc1][_0x3764b0(0x44f)](_0x16ffc5);}),_0x114cf4;}['getEnumMetas'](){const _0x416348=a0_0x22ad23,_0x1650eb={};return this['_fields'][_0x416348(0x35e)](_0x90cffc=>{const _0x135798=_0x416348;if(_0x90cffc[_0x135798(0x389)]()){const _0x70ed04=_0x90cffc['getEnumMeta']();_0x70ed04&&(_0x1650eb[_0x90cffc[_0x135798(0x1af)]]=_0x70ed04);}}),_0x1650eb;}['getStats'](){const _0x4d8945=a0_0x22ad23;return{'total':this[_0x4d8945(0x43e)],'required':this['getRequired']()[_0x4d8945(0x43e)],'primaryKey':this[_0x4d8945(0x387)]()[_0x4d8945(0x43e)],'system':this[_0x4d8945(0x1e3)]()[_0x4d8945(0x43e)],'business':this['getBusiness']()[_0x4d8945(0x43e)],'enum':this['getEnum']()['length'],'autoIncrement':this[_0x4d8945(0x32c)]()[_0x4d8945(0x43e)]};}[a0_0x22ad23(0x445)](){const _0x1840f8=a0_0x22ad23;return this[_0x1840f8(0x2aa)][_0x1840f8(0x276)](_0x21911f=>_0x21911f[_0x1840f8(0x1af)]);}[a0_0x22ad23(0x356)](){const _0x55e351=a0_0x22ad23;return this[_0x55e351(0x2aa)][_0x55e351(0x276)](_0x4ea0f0=>_0x4ea0f0[_0x55e351(0x394)]());}[a0_0x22ad23(0x303)](){const _0x2a6f1b=a0_0x22ad23;return this[_0x2a6f1b(0x2aa)]['map'](_0x2598f9=>_0x2598f9[_0x2a6f1b(0x264)]());}[a0_0x22ad23(0x346)](){const _0x1a3abc=a0_0x22ad23;return this[_0x1a3abc(0x2aa)][_0x1a3abc(0x276)](_0x4de364=>_0x4de364[_0x1a3abc(0x346)]());}[a0_0x22ad23(0x35a)](){const _0x47cc11=a0_0x22ad23;return _0x47cc11(0x415)+this[_0x47cc11(0x43e)]+'\x20fields)';}}class FieldListV1 extends FieldListBase{constructor(_0x106458,_0x23a824){super(_0x106458,_0x23a824);}[a0_0x22ad23(0x38b)](_0x4ee211){const _0x1edf43=a0_0x22ad23;return _0x4ee211[_0x1edf43(0x276)](_0x5d7811=>new FieldV1(_0x5d7811));}['all'](){const _0x3b5e88=a0_0x22ad23;return[...this[_0x3b5e88(0x2aa)]];}['at'](_0x2963ca){const _0x523b27=a0_0x22ad23;return this[_0x523b27(0x2aa)]['at'](_0x2963ca);}['find'](_0x11aa26){const _0xd53ed=a0_0x22ad23;return this[_0xd53ed(0x2aa)][_0xd53ed(0x3e1)](_0x1d66f9=>_0x1d66f9[_0xd53ed(0x1af)]===_0x11aa26);}[a0_0x22ad23(0x29f)](_0x18e5be){const _0x489461=a0_0x22ad23;return this['_fields'][_0x489461(0x3e1)](_0xe38408=>_0xe38408[_0x489461(0x36f)]===_0x18e5be);}[a0_0x22ad23(0x314)](_0x1974ce){const _0x8bdcad=a0_0x22ad23;return this[_0x8bdcad(0x2aa)]['filter'](_0x1974ce);}[a0_0x22ad23(0x276)](_0x430b92){const _0x1abe1e=a0_0x22ad23;return this['_fields'][_0x1abe1e(0x276)](_0x430b92);}['getRequired'](){const _0x24b198=a0_0x22ad23;return this[_0x24b198(0x2aa)][_0x24b198(0x314)](_0x7a2bdc=>_0x7a2bdc[_0x24b198(0x2c1)]());}[a0_0x22ad23(0x387)](){const _0x2105de=a0_0x22ad23;return this['_fields'][_0x2105de(0x314)](_0x4a9061=>_0x4a9061[_0x2105de(0x1f0)]());}[a0_0x22ad23(0x1e3)](){const _0x57f8df=a0_0x22ad23;return this[_0x57f8df(0x2aa)]['filter'](_0x2750e0=>_0x2750e0[_0x57f8df(0x3f5)]());}['getBusiness'](){const _0x5df33e=a0_0x22ad23;return this['_fields'][_0x5df33e(0x314)](_0x4d12cc=>_0x4d12cc['isBusiness']());}[a0_0x22ad23(0x32f)](){const _0x4a45a6=a0_0x22ad23;return this[_0x4a45a6(0x2aa)][_0x4a45a6(0x314)](_0x572bc8=>_0x572bc8[_0x4a45a6(0x389)]());}[a0_0x22ad23(0x380)](){const _0x26b8df=a0_0x22ad23,_0x34cec0={};return this[_0x26b8df(0x2aa)][_0x26b8df(0x35e)](_0x2adde6=>{const _0x1ba380=_0x26b8df,_0x98e067=_0x2adde6['type'];!_0x34cec0[_0x98e067]&&(_0x34cec0[_0x98e067]=[]),_0x34cec0[_0x98e067][_0x1ba380(0x44f)](_0x2adde6);}),_0x34cec0;}[a0_0x22ad23(0x3e7)](){const _0x5e0239=a0_0x22ad23;return this['_fields'][_0x5e0239(0x276)](_0x521f99=>_0x521f99[_0x5e0239(0x3e7)]);}static[a0_0x22ad23(0x1c3)](_0x573f75){const _0x4108ad=a0_0x22ad23,_0xf027ab=_0x573f75[_0x4108ad(0x276)](_0x4b0335=>_0x4b0335['raw']);return new FieldListV1(_0xf027ab);}static['withDeleted'](_0x2d7f30){const _0x1f00d6={};return _0x1f00d6['includeDeleted']=!![],new FieldListV1(_0x2d7f30,_0x1f00d6);}}class FieldV2 extends FieldBase{[a0_0x22ad23(0x2b5)];constructor(_0xc2cff2){const _0x56f1e0=a0_0x22ad23;super();if(!_0xc2cff2||typeof _0xc2cff2!==_0x56f1e0(0x1d9))throw new Error(_0x56f1e0(0x222));this[_0x56f1e0(0x2b5)]=_0xc2cff2;}['getVersion'](){return'v2';}get[a0_0x22ad23(0x3e7)](){const _0x1d2d37=a0_0x22ad23;return this[_0x1d2d37(0x2b5)];}get['name'](){const _0x75957e=a0_0x22ad23;return this[_0x75957e(0x2b5)][_0x75957e(0x36f)]||'';}get[a0_0x22ad23(0x1af)](){const _0x4e04f7=a0_0x22ad23;return this[_0x4e04f7(0x2b5)][_0x4e04f7(0x36f)]||'';}get[a0_0x22ad23(0x20a)](){const _0x8612cc=a0_0x22ad23;return this[_0x8612cc(0x2b5)][_0x8612cc(0x20a)]||'';}get['type'](){const _0x4c30b8=a0_0x22ad23;return this[_0x4c30b8(0x2d2)](this[_0x4c30b8(0x2b5)][_0x4c30b8(0x3e4)]);}get['description'](){const _0x2ccaba=a0_0x22ad23;return this['_raw'][_0x2ccaba(0x43a)]||'';}get[a0_0x22ad23(0x28a)](){const _0x198825=a0_0x22ad23;return Boolean(this[_0x198825(0x2b5)][_0x198825(0x28a)]);}[a0_0x22ad23(0x2c1)](){const _0x3989f2=a0_0x22ad23;return Boolean(this[_0x3989f2(0x2b5)][_0x3989f2(0x1b3)]);}[a0_0x22ad23(0x1f0)](){const _0x1c3b24=a0_0x22ad23;return Boolean(this[_0x1c3b24(0x2b5)][_0x1c3b24(0x335)]);}[a0_0x22ad23(0x3f5)](){const _0x21a937=a0_0x22ad23;return Boolean(this[_0x21a937(0x2b5)][_0x21a937(0x45d)]);}[a0_0x22ad23(0x3e6)](){return Boolean(this['_raw']['autoIncrement']);}['isCreateTime'](){const _0x2c3cde=a0_0x22ad23;return this[_0x2c3cde(0x2b5)][_0x2c3cde(0x45d)]===_0x2c3cde(0x210);}[a0_0x22ad23(0x2b3)](){const _0xc301f5=a0_0x22ad23;return this[_0xc301f5(0x2b5)][_0xc301f5(0x45d)]===_0xc301f5(0x351);}[a0_0x22ad23(0x394)](){const _0x46ea57=a0_0x22ad23;return this[_0x46ea57(0x2b5)][_0x46ea57(0x20a)]||'';}['getFieldName'](){const _0x1e74d4=a0_0x22ad23;return this[_0x1e74d4(0x2b5)][_0x1e74d4(0x36f)]||'';}[a0_0x22ad23(0x389)](){const _0x3d3c9e=a0_0x22ad23;return Boolean(this[_0x3d3c9e(0x2b5)][_0x3d3c9e(0x368)]&&Array[_0x3d3c9e(0x292)](this[_0x3d3c9e(0x2b5)][_0x3d3c9e(0x368)])&&this[_0x3d3c9e(0x2b5)][_0x3d3c9e(0x368)][_0x3d3c9e(0x43e)]>0x0);}['isMultipleSelect'](){const _0x34457f=a0_0x22ad23,_0x58c07d=this[_0x34457f(0x2b5)]['extend'];if(!_0x58c07d)return![];try{const _0x12440f=JSON['parse'](_0x58c07d);if(_0x12440f&&typeof _0x12440f===_0x34457f(0x1d9)&&_0x34457f(0x353)in _0x12440f)return Boolean(_0x12440f[_0x34457f(0x353)]);}catch{}return![];}[a0_0x22ad23(0x238)](){const _0x5b832b=a0_0x22ad23;if(this[_0x5b832b(0x2b5)][_0x5b832b(0x368)]&&Array[_0x5b832b(0x292)](this['_raw'][_0x5b832b(0x368)]))return this['_raw'][_0x5b832b(0x368)];return;}['getSelectItemsSource'](){const _0x543280=a0_0x22ad23,_0x2053fe=this[_0x543280(0x2b5)][_0x543280(0x1f2)];if(!_0x2053fe)return;try{const _0x2de6d6=JSON[_0x543280(0x2b9)](_0x2053fe);if(_0x2de6d6&&typeof _0x2de6d6==='object'&&'selectItemsSource'in _0x2de6d6)return _0x2de6d6[_0x543280(0x338)];}catch{}return;}[a0_0x22ad23(0x40e)](){const _0x1dcad6=a0_0x22ad23;return this['_raw'][_0x1dcad6(0x3e4)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x1dcad6(0x384)]()[_0x1dcad6(0x244)]();}['getDefaultValue'](){return;}[a0_0x22ad23(0x35b)](){return;}get[a0_0x22ad23(0x3e4)](){const _0x2345b3=a0_0x22ad23;return this[_0x2345b3(0x2b5)][_0x2345b3(0x3e4)];}get[a0_0x22ad23(0x440)](){const _0x5a1b70=a0_0x22ad23;return this['_raw'][_0x5a1b70(0x440)];}[a0_0x22ad23(0x402)](){const _0x58f1ef=a0_0x22ad23;return this[_0x58f1ef(0x2b5)][_0x58f1ef(0x26a)]??null;}get[a0_0x22ad23(0x26a)](){const _0x1cf7ea=a0_0x22ad23;return this[_0x1cf7ea(0x2b5)][_0x1cf7ea(0x26a)]??null;}[a0_0x22ad23(0x346)](){const _0x4341a1=a0_0x22ad23;return{'name':this['name'],'code':this[_0x4341a1(0x1af)],'type':this['type'],'dbType':this[_0x4341a1(0x3e4)],'dbTypeLen':this[_0x4341a1(0x440)],'doType':this[_0x4341a1(0x402)](),'displayName':this[_0x4341a1(0x20a)],'description':this[_0x4341a1(0x43a)],'required':this[_0x4341a1(0x2c1)](),'primaryKey':this[_0x4341a1(0x1f0)](),'system':this[_0x4341a1(0x3f5)](),'autoIncrement':this[_0x4341a1(0x3e6)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x4341a1(0x389)]()?this[_0x4341a1(0x2e6)]():undefined};}['toString'](){const _0xfb2ca5=a0_0x22ad23;return _0xfb2ca5(0x2d3)+this[_0xfb2ca5(0x36f)]+',\x20'+this['code']+',\x20'+this[_0xfb2ca5(0x3e4)]+_0xfb2ca5(0x462)+this[_0xfb2ca5(0x402)]()+')';}['mapDbTypeToType'](_0x3a89ea){const _0x29d814=a0_0x22ad23,_0x13ab00={};_0x13ab00[_0x29d814(0x241)]=_0x29d814(0x1cc),_0x13ab00[_0x29d814(0x20c)]=_0x29d814(0x1cc),_0x13ab00[_0x29d814(0x1cc)]=_0x29d814(0x2db),_0x13ab00['LONGTEXT']='TEXTAREA',_0x13ab00[_0x29d814(0x2c5)]=_0x29d814(0x1dd),_0x13ab00[_0x29d814(0x247)]='NUMBER',_0x13ab00[_0x29d814(0x263)]=_0x29d814(0x1dd),_0x13ab00[_0x29d814(0x235)]=_0x29d814(0x1dd),_0x13ab00[_0x29d814(0x270)]=_0x29d814(0x1dd),_0x13ab00[_0x29d814(0x3a2)]=_0x29d814(0x1dd),_0x13ab00[_0x29d814(0x1d6)]=_0x29d814(0x1dd),_0x13ab00[_0x29d814(0x2f9)]='DATE',_0x13ab00[_0x29d814(0x1a6)]=_0x29d814(0x206),_0x13ab00[_0x29d814(0x206)]='DATE',_0x13ab00[_0x29d814(0x332)]=_0x29d814(0x332),_0x13ab00[_0x29d814(0x2f3)]=_0x29d814(0x308),_0x13ab00[_0x29d814(0x1a7)]='SWITCH',_0x13ab00[_0x29d814(0x282)]='FILE',_0x13ab00[_0x29d814(0x2f8)]='FILE';const _0x10dd49=_0x13ab00,_0x4ebf2a=_0x3a89ea[_0x29d814(0x244)]();return _0x10dd49[_0x4ebf2a]||'TEXT';}}class FieldListV2 extends FieldListBase{constructor(_0x160cda,_0x17077e){super(_0x160cda,_0x17077e);}[a0_0x22ad23(0x38b)](_0x3b148a){const _0x36ef73=a0_0x22ad23;return _0x3b148a[_0x36ef73(0x276)](_0x357cd6=>new FieldV2(_0x357cd6));}[a0_0x22ad23(0x213)](){const _0x37d71f=a0_0x22ad23;return[...this[_0x37d71f(0x2aa)]];}['at'](_0x484c7f){const _0x1b2971=a0_0x22ad23;return this[_0x1b2971(0x2aa)]['at'](_0x484c7f);}['find'](_0xe12272){const _0x17de40=a0_0x22ad23;return this[_0x17de40(0x2aa)][_0x17de40(0x3e1)](_0x2b56ca=>_0x2b56ca[_0x17de40(0x1af)]===_0xe12272);}[a0_0x22ad23(0x29f)](_0x4b1dc3){const _0xdbfc19=a0_0x22ad23;return this['_fields'][_0xdbfc19(0x3e1)](_0x32736b=>_0x32736b[_0xdbfc19(0x394)]()===_0x4b1dc3);}['filter'](_0xbc729b){const _0x34d4eb=a0_0x22ad23;return this[_0x34d4eb(0x2aa)][_0x34d4eb(0x314)](_0xbc729b);}[a0_0x22ad23(0x276)](_0x44edc3){const _0x14f6c7=a0_0x22ad23;return this[_0x14f6c7(0x2aa)]['map'](_0x44edc3);}['getRequired'](){const _0x3ef6cb=a0_0x22ad23;return this['_fields'][_0x3ef6cb(0x314)](_0x363b58=>_0x363b58[_0x3ef6cb(0x2c1)]());}[a0_0x22ad23(0x387)](){const _0x5101d1=a0_0x22ad23;return this[_0x5101d1(0x2aa)]['filter'](_0x5dad6e=>_0x5dad6e[_0x5101d1(0x1f0)]());}['getSystem'](){const _0x1d7862=a0_0x22ad23;return this['_fields'][_0x1d7862(0x314)](_0x58a63f=>_0x58a63f[_0x1d7862(0x3f5)]());}[a0_0x22ad23(0x41f)](){const _0x43a429=a0_0x22ad23;return this[_0x43a429(0x2aa)][_0x43a429(0x314)](_0xab1559=>_0xab1559[_0x43a429(0x39c)]());}['getEnum'](){const _0x459f46=a0_0x22ad23;return this[_0x459f46(0x2aa)][_0x459f46(0x314)](_0x2b1f60=>_0x2b1f60['isEnum']());}[a0_0x22ad23(0x380)](){const _0x7d3e5a=a0_0x22ad23,_0x489f83={};return this['_fields'][_0x7d3e5a(0x35e)](_0x38f9af=>{const _0xd0b120=_0x7d3e5a,_0x15d22e=_0x38f9af[_0xd0b120(0x22b)];!_0x489f83[_0x15d22e]&&(_0x489f83[_0x15d22e]=[]),_0x489f83[_0x15d22e][_0xd0b120(0x44f)](_0x38f9af);}),_0x489f83;}[a0_0x22ad23(0x3e7)](){const _0x21d0bc=a0_0x22ad23;return this[_0x21d0bc(0x2aa)][_0x21d0bc(0x276)](_0x230288=>_0x230288['raw']);}static['from'](_0x550a6a){const _0xd48b9d=a0_0x22ad23,_0x2e1cca=_0x550a6a[_0xd48b9d(0x276)](_0x4ff0d0=>_0x4ff0d0[_0xd48b9d(0x3e7)]);return new FieldListV2(_0x2e1cca);}static[a0_0x22ad23(0x31c)](_0x1a3c7a){const _0x30b31d=a0_0x22ad23,_0x18a7d5={};return _0x18a7d5[_0x30b31d(0x23e)]=!![],new FieldListV2(_0x1a3c7a,_0x18a7d5);}[a0_0x22ad23(0x35a)](){const _0x3371ef=a0_0x22ad23;return'FieldListV2('+this['length']+_0x3371ef(0x322);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x22ad23(0x1b7)];['_fieldListV1WithDeleted'];constructor(_0x397668){super(_0x397668);}[a0_0x22ad23(0x1f3)](){const _0x5baaf5=a0_0x22ad23;if(!this['_fieldListV1']){const _0x1df37c={};_0x1df37c[_0x5baaf5(0x23e)]=![],this[_0x5baaf5(0x1b7)]=new FieldListV1(this[_0x5baaf5(0x2b5)][_0x5baaf5(0x435)]||[],_0x1df37c);}return this[_0x5baaf5(0x1b7)];}[a0_0x22ad23(0x252)](){const _0xb05734=a0_0x22ad23;if(!this['_fieldListV1WithDeleted']){const _0x49e7ef={};_0x49e7ef[_0xb05734(0x23e)]=!![],this[_0xb05734(0x3f7)]=new FieldListV1(this[_0xb05734(0x2b5)][_0xb05734(0x435)]||[],_0x49e7ef);}return this[_0xb05734(0x3f7)];}[a0_0x22ad23(0x43d)](){const _0x340579=a0_0x22ad23;return(this[_0x340579(0x2b5)][_0x340579(0x435)]||[])['filter'](_0xae79f3=>!_0xae79f3[_0x340579(0x28a)]);}[a0_0x22ad23(0x3fd)](){const _0x5baa94=a0_0x22ad23;return this[_0x5baa94(0x1f3)]()[_0x5baa94(0x43e)];}[a0_0x22ad23(0x1d2)](_0x52570a){const _0x30a264=a0_0x22ad23;return this[_0x30a264(0x2b5)]['properties']?.[_0x30a264(0x3e1)](_0x45c3bb=>_0x45c3bb[_0x30a264(0x1af)]===_0x52570a);}['getVersion'](){return'v1';}[a0_0x22ad23(0x449)](){const _0x47678f=a0_0x22ad23,_0x2f67a4={};return _0x2f67a4['fields']=this['_raw'][_0x47678f(0x435)]||[],_0x2f67a4[_0x47678f(0x23e)]=![],_0x2f67a4;}['getOperationsData'](){const _0x5c599c=a0_0x22ad23;return this[_0x5c599c(0x2b5)][_0x5c599c(0x385)];}['getSource'](){const _0x550887=a0_0x22ad23;return this[_0x550887(0x2b5)][_0x550887(0x437)];}[a0_0x22ad23(0x3f6)](){const _0x4f9df5=a0_0x22ad23,_0x5c64a1=this[_0x4f9df5(0x3c5)](),_0x4e8ba7=_0x5c64a1?.[_0x4f9df5(0x2e0)],_0x3c8a02={};return _0x3c8a02[_0x4f9df5(0x240)]=_0x5c64a1?.['dbId'],_0x3c8a02[_0x4f9df5(0x3da)]=_0x5c64a1?.[_0x4f9df5(0x3da)]??_0x4e8ba7?.[_0x4f9df5(0x3da)],_0x3c8a02['dbType']=_0x4e8ba7?.[_0x4f9df5(0x3e4)],_0x3c8a02[_0x4f9df5(0x1d8)]=_0x4e8ba7?.[_0x4f9df5(0x1d8)],_0x3c8a02[_0x4f9df5(0x2c7)]=_0x5c64a1?.['tableName'],_0x3c8a02[_0x4f9df5(0x323)]=_0x5c64a1?.[_0x4f9df5(0x323)],_0x3c8a02['pkField']=_0x5c64a1?.[_0x4f9df5(0x335)],_0x3c8a02['tenantCode']=_0x4e8ba7?.[_0x4f9df5(0x3b3)],_0x3c8a02[_0x4f9df5(0x294)]=_0x4e8ba7?.[_0x4f9df5(0x294)],new DBConfig(_0x3c8a02,_0x5c64a1);}get[a0_0x22ad23(0x354)](){const _0x2a2315=a0_0x22ad23;return this[_0x2a2315(0x2b5)][_0x2a2315(0x354)];}[a0_0x22ad23(0x436)](_0x4dd8a9){const _0x5b1bfe=a0_0x22ad23;if(typeof _0x4dd8a9!==_0x5b1bfe(0x1bd)){!![]&&console[_0x5b1bfe(0x288)](_0x5b1bfe(0x29a),_0x4dd8a9);return;}return this[_0x5b1bfe(0x1f3)]()[_0x5b1bfe(0x3e1)](_0x4dd8a9);}[a0_0x22ad23(0x31a)](_0x2c595b){const _0x1d48ab=a0_0x22ad23;if(!_0x2c595b||typeof _0x2c595b!=='object')return![];const _0x5d62a3=this['getFieldInstance'](_0x2c595b[_0x1d48ab(0x1af)]);return _0x5d62a3?_0x5d62a3[_0x1d48ab(0x3dc)]():![];}[a0_0x22ad23(0x38e)](){const _0x4ad195=a0_0x22ad23,_0x40d453=this[_0x4ad195(0x3ba)](_0x4ad195(0x314));return _0x40d453;}[a0_0x22ad23(0x2bd)](){const _0x393bff=a0_0x22ad23;return this[_0x393bff(0x3ac)](_0x393bff(0x314));}[a0_0x22ad23(0x1a3)](){const _0x4d60da=a0_0x22ad23;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x4d60da(0x233)],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];[a0_0x22ad23(0x3b9)];['_relations'];constructor(_0x2212f1){const _0x4899a8=a0_0x22ad23;super(_0x2212f1),this[_0x4899a8(0x3b9)]=_0x2212f1['dataset'],this[_0x4899a8(0x418)]=_0x2212f1[_0x4899a8(0x441)]||[];}[a0_0x22ad23(0x2b7)](){return'v2';}[a0_0x22ad23(0x449)](){const _0x10b47d=a0_0x22ad23,_0x1869df={};return _0x1869df[_0x10b47d(0x3ee)]=this['_raw'][_0x10b47d(0x3ee)],_0x1869df[_0x10b47d(0x23e)]=![],_0x1869df;}[a0_0x22ad23(0x273)](){const _0xebae01=a0_0x22ad23;return this[_0xebae01(0x2b5)][_0xebae01(0x385)];}[a0_0x22ad23(0x2e1)](){const _0x266228=a0_0x22ad23;return this[_0x266228(0x2b5)][_0x266228(0x437)];}[a0_0x22ad23(0x3f6)](){const _0x3b7c64=a0_0x22ad23,_0x25ba7a=this[_0x3b7c64(0x2b5)]['dbtableConfig'],_0x9ea556=_0x25ba7a?.['dblinkInfoDTO'],_0x479d06={};return _0x479d06[_0x3b7c64(0x240)]=_0x25ba7a?.[_0x3b7c64(0x240)],_0x479d06['dbName']=_0x25ba7a?.[_0x3b7c64(0x3da)]??_0x9ea556?.[_0x3b7c64(0x3da)],_0x479d06[_0x3b7c64(0x3e4)]=_0x9ea556?.['dbType'],_0x479d06[_0x3b7c64(0x1d8)]=_0x9ea556?.[_0x3b7c64(0x1d8)],_0x479d06[_0x3b7c64(0x2c7)]=_0x25ba7a?.['tableName'],_0x479d06['datasetKey']=_0x25ba7a?.['datasetKey'],_0x479d06[_0x3b7c64(0x335)]=_0x25ba7a?.[_0x3b7c64(0x335)],_0x479d06[_0x3b7c64(0x3b3)]=_0x25ba7a?.[_0x3b7c64(0x3b3)]??_0x9ea556?.['tenantCode'],_0x479d06[_0x3b7c64(0x294)]=_0x25ba7a?.['appCode']??_0x9ea556?.[_0x3b7c64(0x294)],new DBConfig(_0x479d06,_0x25ba7a);}[a0_0x22ad23(0x1f3)](){const _0x2d1632=a0_0x22ad23;return this[_0x2d1632(0x2a5)]();}[a0_0x22ad23(0x43d)](){const _0x47c13e=a0_0x22ad23;return this[_0x47c13e(0x2b5)][_0x47c13e(0x3ee)];}['getFieldCount'](){const _0x244b5a=a0_0x22ad23;return this[_0x244b5a(0x2b5)][_0x244b5a(0x3ee)][_0x244b5a(0x43e)];}[a0_0x22ad23(0x1d2)](_0x46ebcd){const _0x4616b9=a0_0x22ad23;return this[_0x4616b9(0x2b5)][_0x4616b9(0x3ee)][_0x4616b9(0x3e1)](_0x5314d2=>_0x5314d2[_0x4616b9(0x36f)]===_0x46ebcd);}['getDatasetMeta'](){const _0x23c5fd=a0_0x22ad23;return this[_0x23c5fd(0x3b9)];}[a0_0x22ad23(0x432)](){const _0x399b56=a0_0x22ad23;return this[_0x399b56(0x418)];}[a0_0x22ad23(0x2e5)](){const _0x27333c=a0_0x22ad23;return this[_0x27333c(0x3b9)][_0x27333c(0x404)]||[];}[a0_0x22ad23(0x1f6)](_0x48cdd8){const _0x8f768a=a0_0x22ad23;return this[_0x8f768a(0x418)]['filter'](_0x1ee314=>_0x1ee314[_0x8f768a(0x30f)]===_0x48cdd8);}['hasRelation'](_0x3314ad){const _0x78ebe=a0_0x22ad23;return this[_0x78ebe(0x418)][_0x78ebe(0x3c7)](_0x365981=>_0x365981['fromField']===_0x3314ad);}[a0_0x22ad23(0x1be)](_0x2d1ae0){const _0x599d14=a0_0x22ad23,_0x91c093=this[_0x599d14(0x418)][_0x599d14(0x3e1)](_0x99b5c1=>_0x99b5c1['fromField']===_0x2d1ae0);if(!_0x91c093)return;const _0x56687b={};return _0x56687b['datasetId']=_0x91c093[_0x599d14(0x28b)],_0x56687b[_0x599d14(0x233)]=_0x91c093[_0x599d14(0x214)],_0x56687b['datasetName']=_0x91c093['toDatasetName'],_0x56687b['tableName']=_0x91c093[_0x599d14(0x205)],_0x56687b[_0x599d14(0x397)]=_0x91c093[_0x599d14(0x397)],_0x56687b;}[a0_0x22ad23(0x227)](){const _0x41a165=a0_0x22ad23;return this['_relations'][_0x41a165(0x276)](_0xde80bb=>_0xde80bb[_0x41a165(0x30f)]);}[a0_0x22ad23(0x2a5)](){const _0x1cc7d3=a0_0x22ad23;if(!this[_0x1cc7d3(0x42d)]){const _0x33b542=this[_0x1cc7d3(0x2b5)][_0x1cc7d3(0x3ee)]||[];this[_0x1cc7d3(0x42d)]=new FieldListV2(_0x33b542);}return this[_0x1cc7d3(0x42d)];}[a0_0x22ad23(0x436)](_0x5aea05){const _0x24e4ea=a0_0x22ad23;if(typeof _0x5aea05!==_0x24e4ea(0x1bd)){!![]&&console[_0x24e4ea(0x288)]('[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x5aea05);return;}return this[_0x24e4ea(0x2a5)]()[_0x24e4ea(0x3e1)](_0x5aea05);}['isMultipleSelectField'](_0x31498d){const _0x5a07c6=a0_0x22ad23;if(!_0x31498d||typeof _0x31498d!==_0x5a07c6(0x1d9))return![];const _0x16d70a=_0x31498d['name']||_0x31498d['code'],_0x587a4f=this[_0x5a07c6(0x436)](_0x16d70a);return _0x587a4f?_0x587a4f['isMultipleSelect']():![];}[a0_0x22ad23(0x219)](){const _0x41810d=a0_0x22ad23;if(!this[_0x41810d(0x407)]){const _0x64e0a3=this[_0x41810d(0x265)](this[_0x41810d(0x273)]()||{});this[_0x41810d(0x407)]=new OperationList(_0x64e0a3,{'fields':this[_0x41810d(0x2a5)]()[_0x41810d(0x213)](),'pkField':this[_0x41810d(0x2b5)][_0x41810d(0x1b5)]?.[_0x41810d(0x335)],'dbtableConfig':this[_0x41810d(0x2b5)][_0x41810d(0x1b5)]||null});}return this[_0x41810d(0x407)];}[a0_0x22ad23(0x38e)](){const _0x4cec90=a0_0x22ad23,_0x54a17c=this[_0x4cec90(0x3ba)](_0x4cec90(0x314));return _0x54a17c;}[a0_0x22ad23(0x2bd)](){const _0x24b287=a0_0x22ad23;return this[_0x24b287(0x3ac)](_0x24b287(0x314));}['toListItem'](){const _0x293d9e=a0_0x22ad23;return new DatasetItem({'id':this['id'],'name':this[_0x293d9e(0x36f)],'datasetCode':this[_0x293d9e(0x233)],'dbtableConfig':this[_0x293d9e(0x3c5)]()});}['toString'](){const _0x458d2f=a0_0x22ad23,_0x196146=this[_0x458d2f(0x418)][_0x458d2f(0x43e)],_0x17ca12=this['getIndexes']()[_0x458d2f(0x43e)];return _0x458d2f(0x243)+this[_0x458d2f(0x36f)]+',\x20'+this[_0x458d2f(0x233)]+',\x20'+this['getFieldCount']()+_0x458d2f(0x204)+this[_0x458d2f(0x1a4)]()+_0x458d2f(0x26c)+_0x196146+_0x458d2f(0x226)+_0x17ca12+_0x458d2f(0x3af);}[a0_0x22ad23(0x2eb)](){return this['_raw']['fields'];}[a0_0x22ad23(0x2a4)](_0x17dbe4){const _0x318b8b=a0_0x22ad23;return this[_0x318b8b(0x2b5)][_0x318b8b(0x3ee)][_0x318b8b(0x3e1)](_0x11d7b1=>_0x11d7b1[_0x318b8b(0x36f)]===_0x17dbe4);}}function detectDatasetVersion(_0x3e7764){const _0x39fa9c=a0_0x22ad23;if(_0x3e7764[_0x39fa9c(0x42b)]==='v2'&&_0x39fa9c(0x3ee)in _0x3e7764&&Array[_0x39fa9c(0x292)](_0x3e7764[_0x39fa9c(0x3ee)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x22ad23(0x301)];constructor(_0x2dda55){const _0x551fb6=a0_0x22ad23;super(_0x2dda55);const _0xa8a984=detectDatasetVersion(_0x2dda55);this[_0x551fb6(0x301)]=_0xa8a984==='v2'?new DrivenDataDetailV2(_0x2dda55):new DrivenDataDetailV1(_0x2dda55);}get['id'](){const _0x118795=a0_0x22ad23;return this[_0x118795(0x301)]['id'];}get['name'](){const _0x43237d=a0_0x22ad23;return this[_0x43237d(0x301)][_0x43237d(0x36f)];}get[a0_0x22ad23(0x233)](){const _0x20160f=a0_0x22ad23;return this['_instance'][_0x20160f(0x233)];}get[a0_0x22ad23(0x354)](){const _0x413454=a0_0x22ad23;return this['_instance'][_0x413454(0x2b7)]()==='v2'?_0x413454(0x283):_0x413454(0x39f);}[a0_0x22ad23(0x2b7)](){const _0x34b43d=a0_0x22ad23;return this['_instance'][_0x34b43d(0x2b7)]();}['getId'](){return this['_instance']['id'];}[a0_0x22ad23(0x2a0)](){const _0x20db70=a0_0x22ad23;return this[_0x20db70(0x301)][_0x20db70(0x233)];}[a0_0x22ad23(0x24e)](){const _0x32e284=a0_0x22ad23;return this['_instance'][_0x32e284(0x36f)];}[a0_0x22ad23(0x449)](){const _0x2810e5=a0_0x22ad23;return this[_0x2810e5(0x301)][_0x2810e5(0x449)]();}[a0_0x22ad23(0x273)](){const _0x3e6c10=a0_0x22ad23;return this[_0x3e6c10(0x301)][_0x3e6c10(0x273)]();}[a0_0x22ad23(0x2e1)](){const _0xe30d=a0_0x22ad23;return this[_0xe30d(0x301)][_0xe30d(0x2e1)]();}['getFieldListWithDeleted'](){const _0x7da8d7=a0_0x22ad23;return this[_0x7da8d7(0x301)][_0x7da8d7(0x252)]();}[a0_0x22ad23(0x1f3)](){const _0x5867e9=a0_0x22ad23;return this[_0x5867e9(0x301)]['getFieldList']();}['getFieldsWithDeleted'](){const _0x4e81b7=a0_0x22ad23;return this['_instance'][_0x4e81b7(0x281)]();}[a0_0x22ad23(0x43d)](){const _0x2a5ddf=a0_0x22ad23;return this[_0x2a5ddf(0x301)][_0x2a5ddf(0x43d)]();}[a0_0x22ad23(0x3fd)](){const _0x17ffe9=a0_0x22ad23;return this['_instance'][_0x17ffe9(0x3fd)]();}[a0_0x22ad23(0x1f8)](){const _0x49f9a1=a0_0x22ad23,_0x30e2d9=this[_0x49f9a1(0x301)][_0x49f9a1(0x3c5)]();return _0x30e2d9?.['pkField'];}[a0_0x22ad23(0x3f6)](){const _0x13539a=a0_0x22ad23;return this[_0x13539a(0x301)][_0x13539a(0x3f6)]();}[a0_0x22ad23(0x436)](_0x5efd8c){const _0x54cd6e=a0_0x22ad23;return this[_0x54cd6e(0x301)][_0x54cd6e(0x436)](_0x5efd8c);}[a0_0x22ad23(0x2cc)](){const _0x4a53e4=a0_0x22ad23;return this[_0x4a53e4(0x301)][_0x4a53e4(0x2cc)]();}['getSystemFields'](){const _0x5b6214=a0_0x22ad23;return this[_0x5b6214(0x301)][_0x5b6214(0x2a2)]();}[a0_0x22ad23(0x3f9)](){const _0x45dcc7=a0_0x22ad23;return this[_0x45dcc7(0x301)][_0x45dcc7(0x3f9)]();}[a0_0x22ad23(0x1ab)](){const _0x165d26=a0_0x22ad23;return this[_0x165d26(0x301)]['getRequiredFields']();}['getFieldsByType'](){const _0x4d51f9=a0_0x22ad23;return this[_0x4d51f9(0x301)]['getFieldsByType']();}['getEnumFields'](){const _0x22b6dd=a0_0x22ad23;return this[_0x22b6dd(0x301)][_0x22b6dd(0x25c)]();}['getEnumFieldsMeta'](){const _0x1f5ef8=a0_0x22ad23;return this[_0x1f5ef8(0x301)][_0x1f5ef8(0x1f7)]();}[a0_0x22ad23(0x2fe)](){const _0x5975be=a0_0x22ad23;return this[_0x5975be(0x301)]['getOperations']();}[a0_0x22ad23(0x1a4)](){const _0x50a9f9=a0_0x22ad23;return this[_0x50a9f9(0x301)]['getOperationCount']();}[a0_0x22ad23(0x32b)](){const _0x16351e=a0_0x22ad23;return this[_0x16351e(0x301)]['getEnabledOperations']();}[a0_0x22ad23(0x37e)](){const _0x5d49c0=a0_0x22ad23;return this[_0x5d49c0(0x301)][_0x5d49c0(0x37e)]();}['getEnabledOperationInstances'](){const _0x365f53=a0_0x22ad23;return this[_0x365f53(0x301)]['getEnabledOperationInstances']();}[a0_0x22ad23(0x463)](){const _0x19c09f=a0_0x22ad23;return this['_instance'][_0x19c09f(0x463)]();}['getStats'](){const _0x1a46c8=a0_0x22ad23;return this[_0x1a46c8(0x301)][_0x1a46c8(0x1c8)]();}[a0_0x22ad23(0x1f9)](){const _0x56d7fc=a0_0x22ad23;return this[_0x56d7fc(0x301)][_0x56d7fc(0x1f9)]();}['getRelations'](){const _0x1e2ed8=a0_0x22ad23;return this[_0x1e2ed8(0x301)][_0x1e2ed8(0x432)]();}[a0_0x22ad23(0x2e5)](){return this['_instance']['getIndexes']();}[a0_0x22ad23(0x1ce)](){const _0x5184b7=a0_0x22ad23;return this[_0x5184b7(0x301)]['getFilterOperators']();}[a0_0x22ad23(0x3b1)](){const _0xbacbb6=a0_0x22ad23;return this[_0xbacbb6(0x301)]['getFieldsFilterOperatorsMap']();}['toJSON'](){const _0x424fa4=a0_0x22ad23;return this['_instance'][_0x424fa4(0x346)]();}[a0_0x22ad23(0x38e)](){const _0x6ed87d=a0_0x22ad23;return this[_0x6ed87d(0x301)][_0x6ed87d(0x38e)]();}[a0_0x22ad23(0x2bd)](){const _0x137c5f=a0_0x22ad23;return this[_0x137c5f(0x301)][_0x137c5f(0x2bd)]();}[a0_0x22ad23(0x1a3)](){const _0x4a5d3a=a0_0x22ad23;return this[_0x4a5d3a(0x301)]['toListItem']();}[a0_0x22ad23(0x35a)](){const _0x277ebe=a0_0x22ad23;return this['_instance'][_0x277ebe(0x35a)]();}[a0_0x22ad23(0x381)](){const _0x181acc=a0_0x22ad23;return this[_0x181acc(0x301)];}}function detectDatasetVersion2(_0x44d271){const _0x379936=a0_0x22ad23;if(_0x44d271[_0x379936(0x42b)]==='v2'&&_0x379936(0x3ee)in _0x44d271&&Array[_0x379936(0x292)](_0x44d271[_0x379936(0x3ee)]))return'v2';return'v1';}function createDrivenDataDetail(_0xac85cf,_0x140dcf={}){const {forceVersion:_0x3fe4e8}=_0x140dcf;if(_0x3fe4e8==='v2')return new DrivenDataDetailV2(_0xac85cf);if(_0x3fe4e8==='v1')return new DrivenDataDetailV1(_0xac85cf);const _0x17190b=detectDatasetVersion2(_0xac85cf);if(_0x17190b==='v2')return new DrivenDataDetailV2(_0xac85cf);return new DrivenDataDetailV1(_0xac85cf);}function isV2Data(_0x4453ab){return detectDatasetVersion2(_0x4453ab)==='v2';}function isV1Data(_0x3203f6){return detectDatasetVersion2(_0x3203f6)==='v1';}function a0_0xc40c(_0x5d0091,_0x39bee2){const _0x147ee4=a0_0x147e();return a0_0xc40c=function(_0xc40cf5,_0x51b836){_0xc40cf5=_0xc40cf5-0x1a3;let _0x39d236=_0x147ee4[_0xc40cf5];return _0x39d236;},a0_0xc40c(_0x5d0091,_0x39bee2);}function isV2Instance(_0x2209fe){const _0x22ff20=a0_0x22ad23;return _0x2209fe[_0x22ff20(0x2b7)]()==='v2';}function isV1Instance(_0x46faf6){return _0x46faf6['getVersion']()==='v1';}class DatasetGroup{[a0_0x22ad23(0x3c8)];constructor(_0x18984c){const _0x2a07cf=a0_0x22ad23;this[_0x2a07cf(0x3c8)]=Array[_0x2a07cf(0x292)](_0x18984c)?[..._0x18984c]:[_0x18984c],this['items'][_0x2a07cf(0x1a5)]((_0x3ab010,_0x239815)=>{const _0x25c377=Number(_0x3ab010['id'])||0x0,_0x298b61=Number(_0x239815['id'])||0x0;return _0x298b61-_0x25c377;});}[a0_0x22ad23(0x2a6)](){const _0x21167f=a0_0x22ad23;return this[_0x21167f(0x3c8)][_0x21167f(0x43e)]>0x1;}[a0_0x22ad23(0x2dd)](){return this['items'][0x0];}[a0_0x22ad23(0x427)](){const _0xd85932=a0_0x22ad23;return this['items'][this['items'][_0xd85932(0x43e)]-0x1];}[a0_0x22ad23(0x336)](){return[...this['items']];}['getCount'](){const _0x50e8e1=a0_0x22ad23;return this[_0x50e8e1(0x3c8)][_0x50e8e1(0x43e)];}[a0_0x22ad23(0x33d)](_0x52d310){const _0x44acf3=a0_0x22ad23;return this[_0x44acf3(0x3c8)][_0x52d310];}['findById'](_0x25247d){const _0x40b0be=a0_0x22ad23;return this[_0x40b0be(0x3c8)][_0x40b0be(0x3e1)](_0x39c2bf=>_0x39c2bf['id']===_0x25247d);}[a0_0x22ad23(0x274)](_0x4f7ca3){const _0x41bc7c=a0_0x22ad23;return this[_0x41bc7c(0x3c8)][_0x41bc7c(0x3e1)](_0x5c2333=>_0x5c2333[_0x41bc7c(0x233)]===_0x4f7ca3);}[a0_0x22ad23(0x46a)](){const _0x5f5989=a0_0x22ad23;return this['items']['map'](_0x2610a0=>_0x2610a0['id'])[_0x5f5989(0x314)](_0x430f1f=>_0x430f1f!==undefined);}[a0_0x22ad23(0x445)](){const _0x494835=a0_0x22ad23;return this[_0x494835(0x3c8)][_0x494835(0x276)](_0x134996=>_0x134996[_0x494835(0x233)]);}[a0_0x22ad23(0x35a)](){const _0x51551c=a0_0x22ad23;if(this[_0x51551c(0x2a6)]())return _0x51551c(0x2a3)+this[_0x51551c(0x3c8)][_0x51551c(0x43e)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x51551c(0x2dd)]()['name']+')';return'DatasetGroup('+this[_0x51551c(0x3c8)][0x0][_0x51551c(0x36f)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x4b7cc8){const _0x2f4ded=a0_0x22ad23;this['groups']=new Map();for(const _0x12feef of _0x4b7cc8){const _0x5a25ea=getTableKey(_0x12feef);if(!this[_0x2f4ded(0x379)]['has'](_0x5a25ea))this[_0x2f4ded(0x379)]['set'](_0x5a25ea,new DatasetGroup(_0x12feef));else{const _0x430587=this[_0x2f4ded(0x379)][_0x2f4ded(0x393)](_0x5a25ea),_0x321db8=[..._0x430587[_0x2f4ded(0x336)](),_0x12feef];this[_0x2f4ded(0x379)][_0x2f4ded(0x295)](_0x5a25ea,new DatasetGroup(_0x321db8));}}}[a0_0x22ad23(0x393)](_0x23fcd3){const _0xe4e642=a0_0x22ad23;return this['groups'][_0xe4e642(0x393)](_0x23fcd3);}[a0_0x22ad23(0x41c)](_0x324f18){const _0xe43bd7=a0_0x22ad23;return this[_0xe43bd7(0x379)][_0xe43bd7(0x41c)](_0x324f18);}get[a0_0x22ad23(0x416)](){const _0x149c6d=a0_0x22ad23;return this[_0x149c6d(0x379)][_0x149c6d(0x416)];}[a0_0x22ad23(0x3ae)](){const _0x15ba98=a0_0x22ad23;return this[_0x15ba98(0x379)][_0x15ba98(0x3ae)]();}['values'](){const _0x5542dd=a0_0x22ad23;return this[_0x5542dd(0x379)]['values']();}[a0_0x22ad23(0x3e9)](){const _0xdabc24=a0_0x22ad23;return this[_0xdabc24(0x379)][_0xdabc24(0x3e9)]();}[Symbol['iterator']](){const _0x4ddfb1=a0_0x22ad23;return this[_0x4ddfb1(0x379)][_0x4ddfb1(0x3e9)]();}[a0_0x22ad23(0x35e)](_0x5111fa){const _0x5c3269=a0_0x22ad23;this[_0x5c3269(0x379)]['forEach']((_0x554bb4,_0x1d3cef)=>_0x5111fa(_0x554bb4,_0x1d3cef,this));}[a0_0x22ad23(0x442)](){const _0x14eb4f=a0_0x22ad23,_0x308b51=new Map();for(const [_0x1f6527,_0x53e439]of this[_0x14eb4f(0x379)]){_0x53e439[_0x14eb4f(0x2a6)]()&&_0x308b51[_0x14eb4f(0x295)](_0x1f6527,_0x53e439);}return _0x308b51;}['hasConflicts'](){const _0x3046eb=a0_0x22ad23;for(const _0x15dc08 of this[_0x3046eb(0x379)][_0x3046eb(0x30c)]()){if(_0x15dc08[_0x3046eb(0x2a6)]())return!![];}return![];}[a0_0x22ad23(0x1fd)](){const _0x43e009=a0_0x22ad23;let _0x431dc5=0x0,_0x599782=0x0;for(const _0x41dba2 of this[_0x43e009(0x379)][_0x43e009(0x30c)]()){_0x41dba2[_0x43e009(0x2a6)]()&&(_0x431dc5++,_0x599782+=_0x41dba2['getCount']());}const _0x3ae5b9={};return _0x3ae5b9[_0x43e009(0x2ee)]=_0x431dc5,_0x3ae5b9[_0x43e009(0x271)]=_0x599782,_0x3ae5b9[_0x43e009(0x444)]=this[_0x43e009(0x379)]['size'],_0x3ae5b9;}[a0_0x22ad23(0x1cb)](){const _0x38149f=a0_0x22ad23,_0x4d5369=[];for(const _0x12ed9a of this[_0x38149f(0x379)][_0x38149f(0x30c)]()){_0x4d5369[_0x38149f(0x44f)](..._0x12ed9a[_0x38149f(0x336)]());}return _0x4d5369;}[a0_0x22ad23(0x40b)](){const _0x17af26=a0_0x22ad23,_0x41d3c9=[];for(const _0x2a80e8 of this['groups'][_0x17af26(0x30c)]()){_0x41d3c9[_0x17af26(0x44f)](_0x2a80e8[_0x17af26(0x2dd)]());}return _0x41d3c9;}[a0_0x22ad23(0x2dd)](_0x5978dc){const _0x9a01b6=a0_0x22ad23;return this[_0x9a01b6(0x379)][_0x9a01b6(0x393)](_0x5978dc)?.[_0x9a01b6(0x2dd)]();}[a0_0x22ad23(0x336)](_0x2ccec1){const _0x3e9cd6=a0_0x22ad23;return this[_0x3e9cd6(0x379)][_0x3e9cd6(0x393)](_0x2ccec1)?.[_0x3e9cd6(0x336)]()||[];}['toConfig'](){const _0x41e8c7=a0_0x22ad23,_0x15a2d5=this[_0x41e8c7(0x40b)](),_0xe6f82e=_0x15a2d5[_0x41e8c7(0x276)](_0x1313ff=>_0x1313ff[_0x41e8c7(0x346)]()),_0x2901de={};return _0x2901de[_0x41e8c7(0x375)]=![],generateDatasetsConfig(_0xe6f82e,_0x2901de);}[a0_0x22ad23(0x304)](){const _0xfb01f9=a0_0x22ad23,_0x1069ae=this[_0xfb01f9(0x1cb)](),_0x3e4d1e=_0x1069ae['map'](_0x352b7e=>_0x352b7e[_0xfb01f9(0x346)]());return generateFullDatasetsConfig(_0x3e4d1e);}[a0_0x22ad23(0x36a)](){const _0x29a5b5=a0_0x22ad23,_0x742fe={};for(const [_0x466627,_0x4690e4]of this[_0x29a5b5(0x379)]){_0x742fe[_0x466627]=_0x4690e4;}return _0x742fe;}['toJSON'](){const _0x218f6b=a0_0x22ad23,_0x497e9e={};for(const [_0x2eec2b,_0x3faa4d]of this[_0x218f6b(0x379)]){_0x497e9e[_0x2eec2b]=_0x3faa4d[_0x218f6b(0x336)]()[_0x218f6b(0x276)](_0xe98629=>_0xe98629[_0x218f6b(0x346)]());}return _0x497e9e;}[a0_0x22ad23(0x35a)](){const _0x240cd6=a0_0x22ad23;return _0x240cd6(0x1ff)+this[_0x240cd6(0x379)][_0x240cd6(0x416)]+_0x240cd6(0x242)+(this['hasConflicts']()?_0x240cd6(0x347):_0x240cd6(0x3c4))+')';}}class DatasetList{[a0_0x22ad23(0x406)];constructor(_0x159f91){const _0x4c5a7a=a0_0x22ad23;let _0x2f0728;if(Array[_0x4c5a7a(0x292)](_0x159f91))_0x2f0728=_0x159f91;else{if(_0x4c5a7a(0x1d4)in _0x159f91){if(!_0x159f91['success'])throw new Error(_0x4c5a7a(0x2ea));if(Array['isArray'](_0x159f91[_0x4c5a7a(0x22c)]))_0x2f0728=_0x159f91[_0x4c5a7a(0x22c)][_0x4c5a7a(0x276)](_0x4d0331=>({..._0x4d0331,'datasetCode':_0x4d0331[_0x4c5a7a(0x1af)]||_0x4d0331['datasetCode']}));else{if(_0x159f91[_0x4c5a7a(0x22c)]?.['tableData'])_0x2f0728=_0x159f91['data'][_0x4c5a7a(0x2d6)][_0x4c5a7a(0x276)](_0x4e44ac=>({..._0x4e44ac,'datasetCode':_0x4e44ac[_0x4c5a7a(0x1af)]||_0x4e44ac[_0x4c5a7a(0x233)]}));else throw new Error(_0x4c5a7a(0x371));}}else{if(_0x4c5a7a(0x2d6)in _0x159f91){if(!Array[_0x4c5a7a(0x292)](_0x159f91[_0x4c5a7a(0x2d6)]))throw new Error(_0x4c5a7a(0x1e2));_0x2f0728=_0x159f91['tableData'][_0x4c5a7a(0x276)](_0x39d62f=>({..._0x39d62f,'datasetCode':_0x39d62f[_0x4c5a7a(0x1af)]||_0x39d62f[_0x4c5a7a(0x233)]}));}else throw new Error(_0x4c5a7a(0x3bc));}}const _0x3a145d=_0x2f0728[_0x4c5a7a(0x276)](_0x32f63c=>new DatasetItem(_0x32f63c));this[_0x4c5a7a(0x406)]=new DatasetGroupMap(_0x3a145d);}get[a0_0x22ad23(0x2b4)](){const _0x4e6085=a0_0x22ad23;return this[_0x4e6085(0x406)];}[a0_0x22ad23(0x279)](){const _0x5e15c1=a0_0x22ad23;return this[_0x5e15c1(0x406)][_0x5e15c1(0x1cb)]();}[a0_0x22ad23(0x328)](){const _0x515b42=a0_0x22ad23;return this['getItems']()[_0x515b42(0x43e)];}[a0_0x22ad23(0x2cf)](){const _0x4f3c4f=a0_0x22ad23;return this[_0x4f3c4f(0x406)]['size']===0x0;}[a0_0x22ad23(0x33d)](_0x26f431){const _0x570c23=a0_0x22ad23;return this[_0x570c23(0x279)]()[_0x26f431];}['getFirst'](){const _0x289468=a0_0x22ad23;return this[_0x289468(0x279)]()[0x0];}[a0_0x22ad23(0x224)](){const _0x496a06=a0_0x22ad23,_0x3e77e4=this[_0x496a06(0x279)]();return _0x3e77e4[_0x3e77e4['length']-0x1];}['findByCode'](_0x83970e){const _0xd85418=a0_0x22ad23;for(const _0x3be284 of this['_datasetMap'][_0xd85418(0x30c)]()){const _0x2c9beb=_0x3be284[_0xd85418(0x274)](_0x83970e);if(_0x2c9beb)return _0x2c9beb;}return;}[a0_0x22ad23(0x29f)](_0x5991ad){const _0x3d55ed=a0_0x22ad23;return this['getItems']()['find'](_0x36c58d=>_0x36c58d[_0x3d55ed(0x36f)]===_0x5991ad);}[a0_0x22ad23(0x352)](_0x39f530){const _0x376efc=a0_0x22ad23;for(const _0x5e499a of this[_0x376efc(0x406)][_0x376efc(0x30c)]()){const _0x37eeb3=_0x5e499a[_0x376efc(0x352)](_0x39f530);if(_0x37eeb3)return _0x37eeb3;}return;}[a0_0x22ad23(0x325)](_0x3cf4ad){const _0x170f5f=a0_0x22ad23,_0x3644b7=getTableKey(_0x3cf4ad);return this[_0x170f5f(0x406)][_0x170f5f(0x2dd)](_0x3644b7);}[a0_0x22ad23(0x314)](_0x401b82){const _0x11fa30=a0_0x22ad23,_0x5d19c1=this[_0x11fa30(0x279)]()[_0x11fa30(0x314)](_0x401b82);return new DatasetList(_0x5d19c1['map'](_0x2f4381=>_0x2f4381[_0x11fa30(0x346)]()));}[a0_0x22ad23(0x2d7)](_0x282467){const _0x33434a=a0_0x22ad23;return this[_0x33434a(0x279)]()[_0x33434a(0x314)](_0x282467);}[a0_0x22ad23(0x35e)](_0x456ec5){const _0x38d589=a0_0x22ad23;this['getItems']()[_0x38d589(0x35e)](_0x456ec5);}[a0_0x22ad23(0x276)](_0x1cfdbf){const _0x573c97=a0_0x22ad23;return this['getItems']()[_0x573c97(0x276)](_0x1cfdbf);}[Symbol['iterator']](){const _0x59660a=a0_0x22ad23;return this[_0x59660a(0x279)]()[Symbol[_0x59660a(0x3cc)]]();}[a0_0x22ad23(0x3f2)](){const _0x580b25=a0_0x22ad23;return this['getItems']()[_0x580b25(0x314)](_0x363af9=>_0x363af9['isVirtualTable']());}[a0_0x22ad23(0x360)](){const _0x45de95=a0_0x22ad23;return this[_0x45de95(0x279)]()['filter'](_0x240902=>!_0x240902[_0x45de95(0x27b)]());}[a0_0x22ad23(0x405)](){const _0xb889d3=a0_0x22ad23,_0x1f898d={};for(const _0x30f58b of this[_0xb889d3(0x406)][_0xb889d3(0x30c)]()){const _0x1dc399=_0x30f58b[_0xb889d3(0x2dd)]()[_0xb889d3(0x45a)]();_0x1f898d[_0x1dc399]=_0x30f58b[_0xb889d3(0x336)]();}return _0x1f898d;}[a0_0x22ad23(0x2ca)](){const _0x4cf8e4=a0_0x22ad23,_0x1d8c76={};for(const _0xc41b32 of this[_0x4cf8e4(0x406)][_0x4cf8e4(0x442)]()[_0x4cf8e4(0x30c)]()){const _0x504f67=_0xc41b32[_0x4cf8e4(0x2dd)]()['getTableName']();_0x1d8c76[_0x504f67]=_0xc41b32[_0x4cf8e4(0x336)]()[_0x4cf8e4(0x276)](_0x394849=>_0x394849['toJSON']());}return{'hasConflicts':Object[_0x4cf8e4(0x3ae)](_0x1d8c76)[_0x4cf8e4(0x43e)]>0x0,'conflicts':_0x1d8c76};}[a0_0x22ad23(0x2e9)](){return this['_datasetMap']['hasConflicts']();}['getConflictingItems'](){const _0x1ac084=a0_0x22ad23,_0x2bcefb=[];for(const _0x58b099 of this[_0x1ac084(0x406)][_0x1ac084(0x442)]()[_0x1ac084(0x30c)]()){_0x2bcefb[_0x1ac084(0x44f)](..._0x58b099[_0x1ac084(0x336)]());}return _0x2bcefb;}[a0_0x22ad23(0x2cd)](_0x12b784){const _0x555515=a0_0x22ad23;if(!_0x12b784||Object['keys'](_0x12b784)[_0x555515(0x43e)]===0x0)return this[_0x555515(0x2b4)][_0x555515(0x1d3)]();const _0x1887cb=this[_0x555515(0x279)]()[_0x555515(0x276)](_0x4983ca=>_0x4983ca['toJSON']());return generateDatasetsConfig(_0x1887cb,_0x12b784);}[a0_0x22ad23(0x1e9)](_0x2266e5){const _0x1e0854=a0_0x22ad23,_0x53c5c5=this[_0x1e0854(0x2cd)](_0x2266e5);return datasetsConfigToArray(_0x53c5c5);}[a0_0x22ad23(0x454)](){const _0x471019=a0_0x22ad23;return this['getItems']()[_0x471019(0x276)](_0xb6f86d=>_0xb6f86d[_0x471019(0x1d3)]());}['getStats'](){const _0x7b46a9=a0_0x22ad23;return{'total':this['getCount'](),'virtualTables':this[_0x7b46a9(0x3f2)]()[_0x7b46a9(0x43e)],'realTables':this[_0x7b46a9(0x360)]()[_0x7b46a9(0x43e)],'hasConflicts':this[_0x7b46a9(0x2e9)](),'conflictCount':this[_0x7b46a9(0x422)]()[_0x7b46a9(0x43e)]};}[a0_0x22ad23(0x3c3)](){const _0x160cca=a0_0x22ad23;return this[_0x160cca(0x279)]()[_0x160cca(0x276)](_0xf8684=>_0xf8684[_0x160cca(0x346)]());}[a0_0x22ad23(0x346)](){const _0x120bc7=a0_0x22ad23;return this[_0x120bc7(0x3c3)]();}[a0_0x22ad23(0x35a)](){const _0x4afb2e=a0_0x22ad23;return _0x4afb2e(0x2d0)+this[_0x4afb2e(0x328)]()+_0x4afb2e(0x3b2)+this[_0x4afb2e(0x406)][_0x4afb2e(0x416)]+_0x4afb2e(0x3df);}static[a0_0x22ad23(0x45f)](_0x49a260){return new DatasetList(_0x49a260);}static[a0_0x22ad23(0x37a)](_0x25a3de){return new DatasetList(_0x25a3de);}static[a0_0x22ad23(0x291)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x22ad23(0x1e4);function renderTemplate(_0x9cf2a7,_0x1d7467,_0x2c584c={}){const _0x208796=a0_0x22ad23;let _0x4024d0=_0x9cf2a7;return Object[_0x208796(0x3e9)](_0x2c584c)[_0x208796(0x35e)](([_0x2cf8fd,_0x368626])=>{const _0x54e941=_0x208796,_0x5859cc=new RegExp(_0x54e941(0x1ef)+_0x2cf8fd+_0x54e941(0x2c4),'g');_0x4024d0=_0x4024d0['replace'](_0x5859cc,_0x368626?'$1':'');}),Object[_0x208796(0x3e9)](_0x1d7467)[_0x208796(0x35e)](([_0xbfa734,_0x4995e0])=>{const _0x125c42=_0x208796;if(_0x4995e0!==undefined){const _0x224555=new RegExp(_0x125c42(0x25d)+_0xbfa734+_0x125c42(0x3d8),'g');_0x4024d0=_0x4024d0[_0x125c42(0x382)](_0x224555,_0x4995e0);}}),_0x4024d0;}function generateSDKInitCode(_0x1c82fc,_0x20500d,_0x222ce0,_0x3a5792,_0x1685a0){const _0x2c649c=a0_0x22ad23,_0x6de0b1={};_0x6de0b1[_0x2c649c(0x294)]=_0x1c82fc,_0x6de0b1[_0x2c649c(0x233)]=_0x20500d,_0x6de0b1[_0x2c649c(0x38f)]=_0x222ce0,_0x6de0b1[_0x2c649c(0x44a)]=_0x3a5792==='daily'?_0x2c649c(0x426):undefined;const _0x36bc89={};return _0x36bc89[_0x2c649c(0x44a)]=_0x3a5792!==undefined&&_0x3a5792!==_0x2c649c(0x25f),_0x36bc89[_0x2c649c(0x447)]=_0x1685a0===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x6de0b1,_0x36bc89);}var ALIAS_EXPLANATION_TEMPLATE='##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a';function generateAliasExplanation(_0x5b5cf7,_0x2fad57,_0xcceecf,_0x2ad129){const _0x4a0484=a0_0x22ad23,_0x53143d=_0x4a0484(0x1f1)+_0x5b5cf7,_0x140cae=_0x4a0484(0x2f2),_0xb296d8={};return _0xb296d8[_0x4a0484(0x233)]=_0x5b5cf7,_0xb296d8['datasetSDKKey']=_0x53143d,_0xb296d8['tableName']=_0x2fad57,_0xb296d8[_0x4a0484(0x38f)]=_0xcceecf,_0xb296d8[_0x4a0484(0x294)]=_0x2ad129,_0xb296d8[_0x4a0484(0x285)]=_0x140cae,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0xb296d8,{});}function DrivenDataDetailPlusMixin(_0x223807){const _0x1c25a5=a0_0x22ad23;return class extends _0x223807{[_0x1c25a5(0x367)](_0x166e6b){const _0x5a8a6f=_0x1c25a5,_0x4928d9=this;return{'appCode':_0x166e6b,'datasetSDKKey':_0x4928d9[_0x5a8a6f(0x286)](),'alias':_0x4928d9[_0x5a8a6f(0x438)](),'tableName':_0x4928d9['getTableName'](),'datasetCode':_0x4928d9[_0x5a8a6f(0x233)]};}['generateSDKInitCode'](_0x3b2004,_0x2ce51a=_0x1c25a5(0x25f),_0x205011=![]){const _0x56a9fa=_0x1c25a5,_0xfd8a7d=this;return generateSDKInitCode(_0x3b2004,_0xfd8a7d[_0x56a9fa(0x233)],_0xfd8a7d[_0x56a9fa(0x438)](),_0x2ce51a===_0x56a9fa(0x426)?_0x2ce51a:undefined,_0x205011);}[_0x1c25a5(0x40c)](_0x1853b9,_0x284191,_0x29a090={}){const _0x590711=_0x1c25a5,_0x1d6ebe=this,_0x552fa9=_0x1d6ebe[_0x590711(0x2fe)]()[_0x590711(0x3e1)](_0x3a0173=>_0x3a0173[_0x590711(0x24e)]()===_0x1853b9);if(!_0x552fa9)return null;const _0x561816={};_0x561816[_0x590711(0x3b6)]=_0x29a090['includeRequestExample']!==![];const _0x201141=_0x1d6ebe[_0x590711(0x3a0)](_0x1853b9,_0x561816);if(!_0x201141)return null;const _0x2fda78=[];return _0x2fda78[_0x590711(0x44f)]('//\x20Call\x20the\x20'+_0x552fa9[_0x590711(0x24e)]()+_0x590711(0x316)),_0x2fda78['push'](_0x201141[_0x590711(0x401)][_0x590711(0x1af)]),_0x2fda78['push'](''),_0x29a090[_0x590711(0x3cd)]!==![]&&(_0x2fda78['push'](_0x590711(0x2d8)),_0x2fda78[_0x590711(0x44f)](_0x201141[_0x590711(0x392)][_0x590711(0x230)]),_0x2fda78[_0x590711(0x44f)](''),_0x2fda78[_0x590711(0x44f)](_0x201141[_0x590711(0x392)][_0x590711(0x468)])),_0x2fda78[_0x590711(0x32e)]('\x0a');}[_0x1c25a5(0x3de)](_0x2b4370={}){const _0x3fe110=_0x1c25a5,_0x3be0be=this,_0x4a77f1=_0x3be0be[_0x3fe110(0x373)](),_0x536f73=[];return _0x4a77f1[_0x3fe110(0x35e)]((_0x237c47,_0x5bb16a)=>{const _0x50c7c5=_0x3fe110,_0xbaae74=this[_0x50c7c5(0x40c)](_0x237c47[_0x50c7c5(0x36f)],'demo-app',_0x2b4370);_0xbaae74&&(_0x536f73[_0x50c7c5(0x44f)]('//\x20'+(_0x5bb16a+0x1)+'.\x20'+_0x237c47[_0x50c7c5(0x20a)]),_0x536f73['push'](_0xbaae74),_0x536f73[_0x50c7c5(0x44f)](''));}),_0x536f73[_0x3fe110(0x32e)]('\x0a');}['generateOperationSummary'](_0x138c1a){const _0x43cffc=_0x1c25a5,_0x541bc1=this,_0x4bb0a7=_0x541bc1[_0x43cffc(0x386)](_0x138c1a);if(!_0x4bb0a7)return null;const _0x5020fc={};return _0x5020fc[_0x43cffc(0x36f)]=_0x4bb0a7[_0x43cffc(0x36f)],_0x5020fc[_0x43cffc(0x20a)]=_0x4bb0a7[_0x43cffc(0x20a)],_0x5020fc[_0x43cffc(0x27c)]=_0x4bb0a7[_0x43cffc(0x27c)],_0x5020fc[_0x43cffc(0x3a3)]=_0x4bb0a7[_0x43cffc(0x3a3)],_0x5020fc[_0x43cffc(0x27f)]=_0x4bb0a7['enabled'],_0x5020fc[_0x43cffc(0x2cb)]=_0x4bb0a7['requestFields'][_0x43cffc(0x43e)],_0x5020fc['hasResponseSchema']=_0x4bb0a7[_0x43cffc(0x1b6)]!==null,_0x5020fc;}[_0x1c25a5(0x460)](_0x5d0edd={}){const _0xa05969=_0x1c25a5,_0x3ee3f3=this,_0x12f23f=_0x3ee3f3[_0xa05969(0x373)]();return{'datasetName':_0x3ee3f3[_0xa05969(0x36f)],'datasetCode':_0x3ee3f3[_0xa05969(0x233)],'tableName':_0x3ee3f3[_0xa05969(0x45a)](),'totalOperations':_0x12f23f[_0xa05969(0x43e)],'operations':_0x12f23f[_0xa05969(0x276)](_0x3a2a58=>({'name':_0x3a2a58['name'],'displayName':_0x3a2a58[_0xa05969(0x20a)],'method':_0x3a2a58['method'],'enabled':_0x3a2a58[_0xa05969(0x27f)]}))};}[_0x1c25a5(0x2c2)](_0xd40b00){const _0x194daa=_0x1c25a5,_0x388a2f=this,_0x1e1f9a=_0x388a2f['getOperationAnalysis'](_0xd40b00);if(!_0x1e1f9a)return[];return _0x1e1f9a[_0x194daa(0x255)]['map'](_0x36dee5=>{const _0x492bec=_0x194daa,_0x34c5cc=_0x388a2f[_0x492bec(0x436)](_0x36dee5);if(!_0x34c5cc)return null;const _0xac4d2e={};return _0xac4d2e[_0x492bec(0x1af)]=_0x36dee5,_0xac4d2e[_0x492bec(0x36f)]=_0x34c5cc['name']||_0x36dee5,_0xac4d2e;})[_0x194daa(0x314)](_0xa23a48=>_0xa23a48!==null);}['getMissingCRUDOperations'](){const _0x32e3e0=_0x1c25a5,_0x58e014=this,_0x322c98=new Set(_0x58e014[_0x32e3e0(0x373)]()[_0x32e3e0(0x276)](_0x5b0edd=>String(_0x5b0edd[_0x32e3e0(0x22b)]))),_0x4e9b95=['create',_0x32e3e0(0x329),_0x32e3e0(0x22e),_0x32e3e0(0x3ab)];return _0x4e9b95['filter'](_0x14f451=>!_0x322c98[_0x32e3e0(0x41c)](String(_0x14f451)));}[_0x1c25a5(0x2fa)](_0x593482=_0x1c25a5(0x1aa)){const _0x1cb16d=_0x1c25a5,_0x111955=this;return generateAliasExplanation(_0x111955[_0x1cb16d(0x233)],_0x111955[_0x1cb16d(0x45a)](),_0x111955[_0x1cb16d(0x438)](),_0x593482);}};}function operationToAnalysis(_0x4c974e){const _0x550b4b=a0_0x22ad23;return{'name':_0x4c974e['getName'](),'displayName':_0x4c974e[_0x550b4b(0x394)](),'type':_0x4c974e['getType'](),'method':_0x4c974e[_0x550b4b(0x33e)](),'path':_0x4c974e[_0x550b4b(0x3b0)](),'fullUrl':_0x4c974e['getFullUrl'](),'requestFields':_0x4c974e[_0x550b4b(0x36e)](),'requestParams':_0x4c974e[_0x550b4b(0x433)](),'responseSchema':_0x4c974e['getResponseSchema'](),'requestExample':_0x4c974e[_0x550b4b(0x2f5)](),'responseExample':_0x4c974e[_0x550b4b(0x342)](),'enabled':_0x4c974e[_0x550b4b(0x1c9)]()};}function operationsToAnalyses(_0xe36131){const _0x106c31=a0_0x22ad23;if(!Array['isArray'](_0xe36131))return!![]&&console[_0x106c31(0x288)](_0x106c31(0x20d),_0xe36131),[];return _0xe36131[_0x106c31(0x276)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x2c38d3){const _0x2a1a78=a0_0x22ad23,_0x16e33a=_0x2c38d3[_0x2a1a78(0x3e1)](_0x57dfa2=>_0x57dfa2['name']==='filter'),_0x2c379f=_0x2c38d3[_0x2a1a78(0x314)](_0x34f5d5=>_0x34f5d5['name']!=='filter');return _0x16e33a?[_0x16e33a,..._0x2c379f]:_0x2c379f;}function filterOperationAnalyses(_0x617e7,_0x2c34a3={}){const _0x40403=a0_0x22ad23;let _0x5894ea=_0x617e7;return!_0x2c34a3['includeDisabled']&&(_0x5894ea=_0x5894ea['filter'](_0x561c7e=>_0x561c7e[_0x40403(0x27f)])),_0x2c34a3[_0x40403(0x28f)]!==![]&&(_0x5894ea=filterApiOperations(_0x5894ea)),_0x2c34a3[_0x40403(0x3c0)]&&(_0x5894ea=_0x5894ea[_0x40403(0x314)](_0x2c34a3[_0x40403(0x3c0)])),sortOperationsWithFilterFirst(_0x5894ea);}function getOperationStats(_0x3d9054){const _0x27ad00=a0_0x22ad23,_0x2011a3=_0x3d9054['filter'](_0x38f58e=>_0x38f58e[_0x27ad00(0x27f)]);return{'total':_0x3d9054[_0x27ad00(0x43e)],'enabled':_0x2011a3[_0x27ad00(0x43e)],'disabled':_0x3d9054[_0x27ad00(0x43e)]-_0x2011a3[_0x27ad00(0x43e)],'byType':getCountByType(_0x2011a3),'byMethod':getCountByMethod(_0x2011a3)};}function getCountByType(_0x4889f1){const _0x32f0f0={};return _0x4889f1['forEach'](_0x154eb7=>{const _0x1a41f7=a0_0xc40c;if(_0x154eb7['type'])_0x32f0f0[_0x154eb7[_0x1a41f7(0x22b)]]=(_0x32f0f0[_0x154eb7['type']]||0x0)+0x1;}),_0x32f0f0;}function getCountByMethod(_0x4353eb){const _0x4a641d={};return _0x4353eb['forEach'](_0x429655=>{const _0x583be5=a0_0xc40c;_0x4a641d[_0x429655[_0x583be5(0x27c)]]=(_0x4a641d[_0x429655[_0x583be5(0x27c)]]||0x0)+0x1;}),_0x4a641d;}function supportsCRUD(_0x2aff38){const _0x50c778=a0_0x22ad23,_0x4dd53a=new Set(_0x2aff38[_0x50c778(0x276)](_0x5a7696=>_0x5a7696[_0x50c778(0x22b)])[_0x50c778(0x314)](Boolean));return _0x4dd53a[_0x50c778(0x41c)](_0x50c778(0x3d7))&&_0x4dd53a[_0x50c778(0x41c)](_0x50c778(0x329))&&_0x4dd53a[_0x50c778(0x41c)]('update')&&_0x4dd53a['has'](_0x50c778(0x3ab));}function createOperationDocMeta(_0x3a96d9,_0x1be46e,_0x64d180,_0x30d471,_0x3a46e8,_0x572000){const _0x1af849=a0_0x22ad23,_0x341d3={};return _0x341d3[_0x1af849(0x3b6)]=_0x572000?.[_0x1af849(0x3b6)],{'operation':_0x3a96d9,'operationInstance':_0x1be46e,'basicInfo':{'name':_0x3a96d9[_0x1af849(0x36f)],'displayName':_0x3a96d9[_0x1af849(0x20a)],'method':_0x3a96d9[_0x1af849(0x27c)],'path':_0x3a96d9['path'],'fullUrl':_0x3a96d9[_0x1af849(0x21d)],'enabled':_0x3a96d9[_0x1af849(0x27f)]},'sdkCall':{'datasetCode':_0x64d180,'datasetSDKKey':_0x30d471,'tableName':_0x3a46e8,'operationName':_0x3a96d9[_0x1af849(0x36f)],'params':_0x3a96d9[_0x1af849(0x255)],'code':_0x1be46e['generateSDKCallCode'](_0x30d471,_0x341d3)},'usageExample':_0x1be46e[_0x1af849(0x3f8)](_0x30d471)};}function createOperationsOverviewData(_0x194c6a){const _0x19e795=a0_0x22ad23,_0x65f289={};_0x65f289['index']=_0x19e795(0x36f),_0x65f289[_0x19e795(0x1de)]=_0x19e795(0x21e);const _0x4f39a0={};_0x4f39a0[_0x19e795(0x428)]='displayName',_0x4f39a0[_0x19e795(0x1de)]=_0x19e795(0x3a6);const _0x1ef4cb={};_0x1ef4cb[_0x19e795(0x428)]=_0x19e795(0x27c),_0x1ef4cb[_0x19e795(0x1de)]='方法';const _0x3840bc={};_0x3840bc[_0x19e795(0x428)]='sdkCall',_0x3840bc['label']='SDK\x20调用';const _0x5d8891={};_0x5d8891['index']='path',_0x5d8891[_0x19e795(0x1de)]=_0x19e795(0x27e);const _0x1fe1e5={};_0x1fe1e5['index']=_0x19e795(0x1d1),_0x1fe1e5[_0x19e795(0x1de)]=_0x19e795(0x2f4);const _0x2c067f=[_0x65f289,_0x4f39a0,_0x1ef4cb,_0x3840bc,_0x5d8891,_0x1fe1e5],_0x2a4643=_0x194c6a[_0x19e795(0x276)](_0x4650b1=>{const _0x28e9a2=_0x19e795,{basicInfo:_0x54e468,sdkCall:_0x2bce9c}=_0x4650b1,_0x33cade=_0x2bce9c[_0x28e9a2(0x1af)][_0x28e9a2(0x382)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x28e9a2(0x382)](/;$/,''),_0x1404e2={};return _0x1404e2['displayName']=_0x54e468['displayName'],_0x1404e2[_0x28e9a2(0x36f)]=_0x54e468['name'],_0x1404e2[_0x28e9a2(0x27c)]=_0x54e468[_0x28e9a2(0x27c)],_0x1404e2[_0x28e9a2(0x3a3)]=_0x54e468['path'],_0x1404e2[_0x28e9a2(0x401)]=_0x33cade,_0x1404e2[_0x28e9a2(0x1d1)]=_0x2bce9c['code'],_0x1404e2;}),_0x11ce37={};return _0x11ce37['tableColumns']=_0x2c067f,_0x11ce37[_0x19e795(0x2d6)]=_0x2a4643,_0x11ce37;}function createDatasetDocMeta(_0x27de0a,_0x30bd31,_0x373fc0,_0x11356a,_0x47c993,_0x5ade4b,_0x37a453,_0x764da8,_0x28b557){const _0x5bf00c=a0_0x22ad23,_0x5923ae={};return _0x5923ae[_0x5bf00c(0x3fb)]=_0x27de0a+_0x5bf00c(0x20e),_0x5923ae[_0x5bf00c(0x364)]={},_0x5923ae['operations']=_0x28b557,_0x5923ae[_0x5bf00c(0x364)][_0x5bf00c(0x36f)]=_0x27de0a,_0x5923ae[_0x5bf00c(0x364)][_0x5bf00c(0x1af)]=_0x30bd31,_0x5923ae[_0x5bf00c(0x364)][_0x5bf00c(0x2c7)]=_0x373fc0,_0x5923ae[_0x5bf00c(0x364)]['datasetSDKKey']=_0x11356a,_0x5923ae[_0x5bf00c(0x364)][_0x5bf00c(0x467)]=_0x47c993,_0x5923ae[_0x5bf00c(0x364)][_0x5bf00c(0x437)]=_0x5ade4b,_0x5923ae[_0x5bf00c(0x364)][_0x5bf00c(0x2da)]=_0x37a453,_0x5923ae[_0x5bf00c(0x364)][_0x5bf00c(0x280)]=0x0,_0x5923ae[_0x5bf00c(0x364)][_0x5bf00c(0x40f)]=0x0,_0x5923ae[_0x5bf00c(0x364)][_0x5bf00c(0x45c)]=_0x764da8,_0x5923ae[_0x5bf00c(0x364)]['enabledOperationCount']=_0x28b557[_0x5bf00c(0x43e)],_0x5923ae;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x22ad23(0x1bb)];['getVersion'](){return'v1';}['getModelAlias'](){const _0x285aea=a0_0x22ad23;return this[_0x285aea(0x2c8)]();}['getOperationAnalyses'](_0x17e1d1=![]){const _0x42c113=a0_0x22ad23;if(!_0x17e1d1&&this[_0x42c113(0x1bb)])return this[_0x42c113(0x1bb)];const _0x2a25ef=this[_0x42c113(0x2fe)]();return this[_0x42c113(0x1bb)]=operationsToAnalyses(_0x2a25ef),this[_0x42c113(0x1bb)];}['getEnabledOperationAnalyses'](){const _0x50840a=a0_0x22ad23,_0x339b6d={};return _0x339b6d[_0x50840a(0x21a)]=![],_0x339b6d[_0x50840a(0x28f)]=!![],this[_0x50840a(0x25b)](_0x339b6d);}[a0_0x22ad23(0x25b)](_0x567b6f={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x567b6f);}[a0_0x22ad23(0x386)](_0x24f69e){const _0xa025de=a0_0x22ad23;return this[_0xa025de(0x3f0)]()[_0xa025de(0x3e1)](_0x16a90c=>_0x16a90c[_0xa025de(0x36f)]===_0x24f69e);}[a0_0x22ad23(0x1e5)](_0x2f3e97){const _0x54612b=a0_0x22ad23;return this[_0x54612b(0x3f0)]()[_0x54612b(0x314)](_0x2c8026=>_0x2c8026[_0x54612b(0x22b)]===_0x2f3e97);}['getOperationDocMeta'](_0x19c5a6,_0x23ca3d){const _0x2a8bc2=a0_0x22ad23,_0x2d7745=this['getOperationAnalysis'](_0x19c5a6);if(!_0x2d7745)return null;const _0x386269=this[_0x2a8bc2(0x2fe)]()['find'](_0x3a5465=>_0x3a5465[_0x2a8bc2(0x24e)]()===_0x2d7745[_0x2a8bc2(0x36f)]);if(!_0x386269)throw new Error('Operation\x20not\x20found:\x20'+_0x2d7745[_0x2a8bc2(0x36f)]);return createOperationDocMeta(_0x2d7745,_0x386269,this[_0x2a8bc2(0x233)],this[_0x2a8bc2(0x286)](),this[_0x2a8bc2(0x45a)](),_0x23ca3d);}['getDatasetDocMeta'](_0x47ff6f={}){const _0x4facf6=a0_0x22ad23,_0x285d87=this[_0x4facf6(0x25b)](_0x47ff6f),_0x21922f=_0x285d87[_0x4facf6(0x276)](_0x23ecea=>this[_0x4facf6(0x3a0)](_0x23ecea[_0x4facf6(0x36f)]))[_0x4facf6(0x314)](_0x31d06a=>_0x31d06a!==null);return createDatasetDocMeta(this['name'],this['datasetCode'],this[_0x4facf6(0x45a)](),this[_0x4facf6(0x286)](),this[_0x4facf6(0x2c8)](),this[_0x4facf6(0x437)],this['getFieldCount'](),this[_0x4facf6(0x1a4)](),_0x21922f);}[a0_0x22ad23(0x43f)](_0x4de1e0){return createOperationsOverviewData(_0x4de1e0);}[a0_0x22ad23(0x245)](){const _0x490ea3=a0_0x22ad23;return supportsCRUD(this[_0x490ea3(0x373)]());}[a0_0x22ad23(0x251)](){const _0xa57b86=a0_0x22ad23;return getOperationStats(this[_0xa57b86(0x3f0)]());}[a0_0x22ad23(0x35a)](){const _0x375039=a0_0x22ad23,_0x44ac61=this['getOperationStats']();return _0x375039(0x453)+this[_0x375039(0x36f)]+',\x20'+this[_0x375039(0x233)]+',\x20'+this['getFieldCount']()+_0x375039(0x204)+_0x44ac61[_0x375039(0x27f)]+'/'+_0x44ac61['total']+_0x375039(0x398);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x22ad23(0x1bb)];[a0_0x22ad23(0x2b7)](){return'v2';}[a0_0x22ad23(0x438)](){const _0x3f0920=a0_0x22ad23;return this[_0x3f0920(0x2c8)]();}[a0_0x22ad23(0x3f0)](_0x52de12=![]){const _0x5384b1=a0_0x22ad23;if(!_0x52de12&&this[_0x5384b1(0x1bb)])return this[_0x5384b1(0x1bb)];const _0x38b3cd=this[_0x5384b1(0x2fe)]();return this[_0x5384b1(0x1bb)]=operationsToAnalyses(_0x38b3cd),this[_0x5384b1(0x1bb)];}[a0_0x22ad23(0x373)](){const _0x23a25f=a0_0x22ad23,_0x2d9f2e={};return _0x2d9f2e[_0x23a25f(0x21a)]=![],_0x2d9f2e[_0x23a25f(0x28f)]=!![],this['getFilteredOperationAnalyses'](_0x2d9f2e);}[a0_0x22ad23(0x25b)](_0x4dde18={}){const _0x343886=a0_0x22ad23;return filterOperationAnalyses(this[_0x343886(0x3f0)](),_0x4dde18);}[a0_0x22ad23(0x386)](_0x284061){const _0x1a6118=a0_0x22ad23;return this[_0x1a6118(0x3f0)]()[_0x1a6118(0x3e1)](_0x3a6682=>_0x3a6682[_0x1a6118(0x36f)]===_0x284061);}[a0_0x22ad23(0x1e5)](_0xa46212){const _0x4fc169=a0_0x22ad23;return this['getOperationAnalyses']()[_0x4fc169(0x314)](_0x48affa=>_0x48affa[_0x4fc169(0x22b)]===_0xa46212);}[a0_0x22ad23(0x3a0)](_0x24d134,_0x3a91d0){const _0x35849d=a0_0x22ad23,_0x2b2975=this[_0x35849d(0x386)](_0x24d134);if(!_0x2b2975)return null;const _0x2d6eea=this[_0x35849d(0x2fe)]()[_0x35849d(0x3e1)](_0x483c5c=>_0x483c5c[_0x35849d(0x24e)]()===_0x2b2975[_0x35849d(0x36f)]);if(!_0x2d6eea)throw new Error(_0x35849d(0x225)+_0x2b2975[_0x35849d(0x36f)]);return createOperationDocMeta(_0x2b2975,_0x2d6eea,this[_0x35849d(0x233)],this['getDatasetSDKKey'](),this[_0x35849d(0x45a)](),_0x3a91d0);}[a0_0x22ad23(0x1d0)](_0x22eab6={}){const _0x4318fb=a0_0x22ad23,_0x5adb31=this[_0x4318fb(0x25b)](_0x22eab6),_0x4f17ac=_0x5adb31[_0x4318fb(0x276)](_0x24cf7e=>this[_0x4318fb(0x3a0)](_0x24cf7e['name']))[_0x4318fb(0x314)](_0x3d6027=>_0x3d6027!==null);return createDatasetDocMeta(this[_0x4318fb(0x36f)],this[_0x4318fb(0x233)],this[_0x4318fb(0x45a)](),this['getDatasetSDKKey'](),this[_0x4318fb(0x2c8)](),this[_0x4318fb(0x437)],this[_0x4318fb(0x3fd)](),this[_0x4318fb(0x1a4)](),_0x4f17ac);}[a0_0x22ad23(0x43f)](_0x2502d7){return createOperationsOverviewData(_0x2502d7);}['supportsCRUD'](){const _0x2c9c4c=a0_0x22ad23;return supportsCRUD(this[_0x2c9c4c(0x373)]());}[a0_0x22ad23(0x251)](){const _0xdaf425=a0_0x22ad23;return getOperationStats(this[_0xdaf425(0x3f0)]());}[a0_0x22ad23(0x35a)](){const _0x31f1cb=a0_0x22ad23,_0x5f1b6d=this[_0x31f1cb(0x251)]();return _0x31f1cb(0x21c)+this['name']+',\x20'+this[_0x31f1cb(0x233)]+',\x20'+this[_0x31f1cb(0x3fd)]()+'\x20fields,\x20'+_0x5f1b6d[_0x31f1cb(0x27f)]+'/'+_0x5f1b6d['total']+_0x31f1cb(0x248);}}function detectDatasetVersion3(_0x156bc6){const _0x1156bd=a0_0x22ad23;if(_0x156bc6['doVersion']==='v2'&&'fields'in _0x156bc6&&Array[_0x1156bd(0x292)](_0x156bc6[_0x1156bd(0x3ee)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x22ad23(0x301)];constructor(_0x51f4be){const _0x474d1d=a0_0x22ad23,_0x3d570a=detectDatasetVersion3(_0x51f4be);return this[_0x474d1d(0x301)]=_0x3d570a==='v2'?new DrivenDataDetailPlusV2(_0x51f4be):new DrivenDataDetailPlusV1(_0x51f4be),new Proxy(this,{'get'(_0x5ecac2,_0x4f4da6){const _0x15db0a=_0x474d1d;if(_0x4f4da6 in _0x5ecac2){const _0x2f6a18=_0x5ecac2[_0x4f4da6];return typeof _0x2f6a18==='function'?_0x2f6a18[_0x15db0a(0x395)](_0x5ecac2):_0x2f6a18;}if(_0x4f4da6 in _0x5ecac2[_0x15db0a(0x301)]){const _0x272824=_0x5ecac2[_0x15db0a(0x301)][_0x4f4da6];return typeof _0x272824===_0x15db0a(0x34e)?_0x272824[_0x15db0a(0x395)](_0x5ecac2[_0x15db0a(0x301)]):_0x272824;}return;},'set'(_0x557f0f,_0x198fe3,_0x56ebb6){return _0x557f0f[_0x198fe3]=_0x56ebb6,!![];},'getPrototypeOf'(_0x4ea87f){const _0x3469d2=_0x474d1d;return DrivenDataDetailPlus[_0x3469d2(0x423)];}});}get['name'](){const _0x59f591=a0_0x22ad23;return this[_0x59f591(0x301)][_0x59f591(0x36f)];}get['id'](){return this['_instance']['id'];}get[a0_0x22ad23(0x233)](){const _0x26416e=a0_0x22ad23;return this[_0x26416e(0x301)]['datasetCode'];}get['source'](){const _0x208cf2=a0_0x22ad23;return this[_0x208cf2(0x301)][_0x208cf2(0x437)];}get[a0_0x22ad23(0x1b5)](){const _0x5394b1=a0_0x22ad23;return this[_0x5394b1(0x301)][_0x5394b1(0x3f6)]();}[a0_0x22ad23(0x2b7)](){const _0x9e0a9c=a0_0x22ad23,_0x4ce1d6=this[_0x9e0a9c(0x301)][_0x9e0a9c(0x2b7)]();return _0x4ce1d6==='v2'?'v2':'v1';}[a0_0x22ad23(0x3fd)](){const _0x40035b=a0_0x22ad23;return this[_0x40035b(0x301)]['getFieldCount']();}[a0_0x22ad23(0x1a4)](){const _0x55e774=a0_0x22ad23;return this[_0x55e774(0x301)][_0x55e774(0x1a4)]();}[a0_0x22ad23(0x43d)](){const _0x12df03=a0_0x22ad23;return this[_0x12df03(0x301)]['getFields']();}[a0_0x22ad23(0x2fe)](){const _0x35fe06=a0_0x22ad23;return this[_0x35fe06(0x301)][_0x35fe06(0x2fe)]();}['getFilteredOperations'](_0xe93411){const _0x326843=a0_0x22ad23;return this[_0x326843(0x301)][_0x326843(0x24d)](_0xe93411);}[a0_0x22ad23(0x436)](_0x1bc80c){const _0x4c5f7b=a0_0x22ad23;return this[_0x4c5f7b(0x301)]['getFieldInstance'](_0x1bc80c);}['getTableName'](){const _0x2aa6b9=a0_0x22ad23;return this[_0x2aa6b9(0x301)][_0x2aa6b9(0x45a)]();}[a0_0x22ad23(0x2c8)](){const _0x406df4=a0_0x22ad23;return this['_instance'][_0x406df4(0x2c8)]();}[a0_0x22ad23(0x286)](){const _0x75abc7=a0_0x22ad23;return this[_0x75abc7(0x301)][_0x75abc7(0x286)]();}[a0_0x22ad23(0x1f3)](){const _0x4c2820=a0_0x22ad23;return this[_0x4c2820(0x301)][_0x4c2820(0x1f3)]();}[a0_0x22ad23(0x25c)](){const _0x5efa36=a0_0x22ad23;return this[_0x5efa36(0x301)][_0x5efa36(0x25c)]();}[a0_0x22ad23(0x1f7)](){const _0xfb3a15=a0_0x22ad23;return this[_0xfb3a15(0x301)][_0xfb3a15(0x1f7)]();}[a0_0x22ad23(0x31a)](_0x41005f){const _0x1863e4=a0_0x22ad23;return this[_0x1863e4(0x301)][_0x1863e4(0x31a)](_0x41005f);}[a0_0x22ad23(0x42f)](_0x4049d2){const _0x18861a=a0_0x22ad23;return this[_0x18861a(0x301)][_0x18861a(0x42f)](_0x4049d2);}['getFieldOptions'](_0x2bbe55){const _0x2eb0a8=a0_0x22ad23;return this[_0x2eb0a8(0x301)][_0x2eb0a8(0x403)](_0x2bbe55);}[a0_0x22ad23(0x334)](_0x3c25d1){const _0x4ca820=a0_0x22ad23;return this['_instance'][_0x4ca820(0x334)](_0x3c25d1);}[a0_0x22ad23(0x1c2)](_0x44482b){const _0x589db3=a0_0x22ad23;return this[_0x589db3(0x301)][_0x589db3(0x1c2)](_0x44482b);}[a0_0x22ad23(0x3a7)](_0x659598,_0x384904){const _0x6d85e6=a0_0x22ad23;return this['_instance'][_0x6d85e6(0x3a7)](_0x659598,_0x384904);}[a0_0x22ad23(0x26e)](_0x4ebd3b){const _0x2e3a8d=a0_0x22ad23;return this[_0x2e3a8d(0x301)][_0x2e3a8d(0x26e)](_0x4ebd3b);}[a0_0x22ad23(0x1c8)](){const _0x4d3e68=a0_0x22ad23;return this[_0x4d3e68(0x301)]['getStats']();}[a0_0x22ad23(0x38e)](){const _0x229a83=a0_0x22ad23;return this[_0x229a83(0x301)]['getFilterOperation']();}[a0_0x22ad23(0x2bd)](){const _0x30cb77=a0_0x22ad23;return this['_instance'][_0x30cb77(0x2bd)]();}[a0_0x22ad23(0x3ac)](_0x26de69){const _0x52d990=a0_0x22ad23;return this[_0x52d990(0x301)][_0x52d990(0x3ac)](_0x26de69);}[a0_0x22ad23(0x3f6)](){const _0xf303c3=a0_0x22ad23;return this[_0xf303c3(0x301)][_0xf303c3(0x3f6)]();}[a0_0x22ad23(0x3c5)](){const _0x2616c9=a0_0x22ad23;return this[_0x2616c9(0x301)][_0x2616c9(0x3c5)]();}[a0_0x22ad23(0x2e1)](){const _0x5a6329=a0_0x22ad23;return this['_instance'][_0x5a6329(0x2e1)]();}[a0_0x22ad23(0x3f0)](_0x24120a){const _0x495a0b=a0_0x22ad23;return this[_0x495a0b(0x301)]['getOperationAnalyses'](_0x24120a);}['getEnabledOperationAnalyses'](){const _0x37866b=a0_0x22ad23;return this[_0x37866b(0x301)][_0x37866b(0x373)]();}[a0_0x22ad23(0x25b)](_0x7d4b51){const _0x261324=a0_0x22ad23;return this[_0x261324(0x301)]['getFilteredOperationAnalyses'](_0x7d4b51);}[a0_0x22ad23(0x386)](_0x56751c){const _0x403ab7=a0_0x22ad23;return this[_0x403ab7(0x301)][_0x403ab7(0x386)](_0x56751c);}[a0_0x22ad23(0x1e5)](_0x465920){const _0x418c6e=a0_0x22ad23;return this[_0x418c6e(0x301)][_0x418c6e(0x1e5)](_0x465920);}['getOperationDocMeta'](_0x14734a,_0x375d82){const _0x319bd6=a0_0x22ad23;return this[_0x319bd6(0x301)][_0x319bd6(0x3a0)](_0x14734a,_0x375d82);}['getDatasetDocMeta'](_0x313f6e){const _0x50004c=a0_0x22ad23;return this[_0x50004c(0x301)][_0x50004c(0x1d0)](_0x313f6e);}[a0_0x22ad23(0x43f)](_0x577424){const _0x5b7a88=a0_0x22ad23;return this[_0x5b7a88(0x301)]['getOperationsOverviewData'](_0x577424);}['getModelAlias'](){const _0xc55fc5=a0_0x22ad23;return this[_0xc55fc5(0x301)]['getModelAlias']();}[a0_0x22ad23(0x245)](){const _0x2202e4=a0_0x22ad23;return this[_0x2202e4(0x301)][_0x2202e4(0x245)]();}['getOperationStats'](){return this['_instance']['getOperationStats']();}[a0_0x22ad23(0x35a)](){const _0x3769a5=a0_0x22ad23;return this[_0x3769a5(0x301)][_0x3769a5(0x35a)]();}[a0_0x22ad23(0x3ba)](_0x38ae22){const _0x4fd3d9=a0_0x22ad23;return this[_0x4fd3d9(0x301)]['getOperation'](_0x38ae22);}[a0_0x22ad23(0x367)](_0x2eac5d){const _0x1d3bc6=a0_0x22ad23;return this[_0x1d3bc6(0x301)]['getSDKInitData'](_0x2eac5d);}[a0_0x22ad23(0x284)](_0x35924d,_0x2eb8fc,_0x632c7c){const _0x9dd6d5=a0_0x22ad23;return this['_instance'][_0x9dd6d5(0x284)](_0x35924d,_0x2eb8fc,_0x632c7c);}['generateFullSDKExample'](_0x2000c6,_0x306863,_0x54b854){const _0x1c6c56=a0_0x22ad23;return this[_0x1c6c56(0x301)][_0x1c6c56(0x40c)](_0x2000c6,_0x306863,_0x54b854);}['generateAllOperationsFullSDKExample'](_0x2496fe){const _0x292162=a0_0x22ad23;return this[_0x292162(0x301)][_0x292162(0x3de)](_0x2496fe);}[a0_0x22ad23(0x350)](_0x5ac7cf){const _0x16cdc8=a0_0x22ad23;return this[_0x16cdc8(0x301)][_0x16cdc8(0x350)](_0x5ac7cf);}[a0_0x22ad23(0x460)](_0x3b1a84){const _0x1768ff=a0_0x22ad23;return this[_0x1768ff(0x301)][_0x1768ff(0x460)](_0x3b1a84);}[a0_0x22ad23(0x2c2)](_0x4638b5){const _0x846f6=a0_0x22ad23;return this[_0x846f6(0x301)][_0x846f6(0x2c2)](_0x4638b5);}['getMissingCRUDOperations'](){const _0x234f94=a0_0x22ad23;return this[_0x234f94(0x301)][_0x234f94(0x297)]();}[a0_0x22ad23(0x2fa)](){const _0x595ec8=a0_0x22ad23;return this[_0x595ec8(0x301)][_0x595ec8(0x2fa)]();}[a0_0x22ad23(0x381)](){const _0x3f9411=a0_0x22ad23;return this[_0x3f9411(0x301)];}}function createDrivenDataDetailPlus(_0x2a045a,_0x2e1f49={}){const _0x387f35=a0_0x22ad23;if(_0x2e1f49[_0x387f35(0x22d)]==='v1')return new DrivenDataDetailPlusV1(_0x2a045a);if(_0x2e1f49[_0x387f35(0x22d)]==='v2')return new DrivenDataDetailPlusV2(_0x2a045a);if(_0x2a045a[_0x387f35(0x42b)]==='v2'||'dataset'in _0x2a045a)return new DrivenDataDetailPlusV2(_0x2a045a);return new DrivenDataDetailPlusV1(_0x2a045a);}function isPlusV2Instance(_0x335287){const _0x155b77=a0_0x22ad23;return _0x335287[_0x155b77(0x2b7)]()==='v2';}function isPlusV1Instance(_0x4c774f){const _0x518bab=a0_0x22ad23;return _0x4c774f[_0x518bab(0x2b7)]()==='v1';}var VERSION='1.0.0-beta.8';export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
1
+ const a0_0x342bd1=a0_0x380d;(function(_0x3751a3,_0x16cd76){const _0x739e28=a0_0x380d,_0xafd7b6=_0x3751a3();while(!![]){try{const _0x26d850=parseInt(_0x739e28(0x429))/0x1*(-parseInt(_0x739e28(0x23a))/0x2)+-parseInt(_0x739e28(0x408))/0x3+parseInt(_0x739e28(0x3f4))/0x4*(parseInt(_0x739e28(0x267))/0x5)+parseInt(_0x739e28(0x215))/0x6*(-parseInt(_0x739e28(0x3a2))/0x7)+-parseInt(_0x739e28(0x2fa))/0x8+-parseInt(_0x739e28(0x385))/0x9*(parseInt(_0x739e28(0x39d))/0xa)+parseInt(_0x739e28(0x44d))/0xb;if(_0x26d850===_0x16cd76)break;else _0xafd7b6['push'](_0xafd7b6['shift']());}catch(_0x38dc57){_0xafd7b6['push'](_0xafd7b6['shift']());}}}(a0_0x3171,0xe102c));function toCamelCase(_0x1ddb2b){const _0xf97159=a0_0x380d;if(!_0x1ddb2b)return'';return _0x1ddb2b[_0xf97159(0x257)](/[_-]/)[_0xf97159(0x2bc)]((_0x291771,_0x52e2f5)=>{const _0x15bd7f=_0xf97159;if(_0x52e2f5===0x0)return _0x291771['toLowerCase']();return _0x291771['charAt'](0x0)[_0x15bd7f(0x2b5)]()+_0x291771[_0x15bd7f(0x3eb)](0x1)['toLowerCase']();})['join']('');}function toPascalCase(_0x1dfcea){const _0x54d651=a0_0x380d;if(!_0x1dfcea)return'';const _0x2135c1=toCamelCase(_0x1dfcea);return _0x2135c1[_0x54d651(0x25d)](0x0)[_0x54d651(0x2b5)]()+_0x2135c1[_0x54d651(0x3eb)](0x1);}function toSnakeCase(_0x5668a5){const _0x1e33eb=a0_0x380d;if(!_0x5668a5)return'';return _0x5668a5[_0x1e33eb(0x36e)](/([A-Z])/g,'_$1')[_0x1e33eb(0x2fc)]()['replace'](/^_/,'');}function toKebabCase(_0x5f2234){const _0x222f3a=a0_0x380d;if(!_0x5f2234)return'';return _0x5f2234['replace'](/([A-Z])/g,_0x222f3a(0x43c))['toLowerCase']()[_0x222f3a(0x36e)](/^-/,'');}function normalizeFieldName(_0x4647cc){const _0x324e03=a0_0x380d;if(!_0x4647cc)return'';return _0x4647cc[_0x324e03(0x266)]()[_0x324e03(0x36e)](/\s+/g,'_')[_0x324e03(0x36e)](/[^a-zA-Z0-9_]/g,'_')[_0x324e03(0x36e)](/_+/g,'_')[_0x324e03(0x36e)](/^_|_$/g,'');}function getTableName(_0x2f4a1f){const _0x17604c=a0_0x380d;if(!_0x2f4a1f)return'dataset_000000';if(_0x2f4a1f[_0x17604c(0x1b2)]?.[_0x17604c(0x269)])return _0x2f4a1f[_0x17604c(0x1b2)][_0x17604c(0x269)];const _0x44204b=_0x2f4a1f['datasetCode']||_0x2f4a1f['code']||_0x2f4a1f['modelCode'];if(_0x44204b)return generateTableNameFromCode(_0x44204b);return _0x17604c(0x386);}function getTableKey(_0x3d8ac9){if(typeof _0x3d8ac9==='string')return toCamelCase(_0x3d8ac9);const _0x411f2f=getTableName(_0x3d8ac9);return toCamelCase(_0x411f2f);}function generateTableNameFromCode(_0xea6ff5){const _0x5bdaab=a0_0x380d;if(!_0xea6ff5)return _0x5bdaab(0x386);const _0x20fe8f=_0xea6ff5['slice'](-0x6)[_0x5bdaab(0x354)](0x6,'0');return _0x5bdaab(0x21c)+_0x20fe8f;}function isVirtualTableName(_0x302529){const _0xb16030=a0_0x380d;return/^dataset_[a-zA-Z0-9]{6}$/[_0xb16030(0x2d6)](_0x302529);}function generateModelKeyFromCode(_0x271e03){const _0x3e36e7=a0_0x380d;if(!_0x271e03)return'dataset_unknown';return _0x3e36e7(0x21c)+_0x271e03;}function getDbName(_0x36955a){const _0x3d862a=a0_0x380d;return _0x36955a[_0x3d862a(0x1b2)]?.[_0x3d862a(0x406)]||_0x36955a['dbtableConfig']?.[_0x3d862a(0x42c)]?.[_0x3d862a(0x406)]||'';}function generateDatasetsConfig(_0x4f88c2,_0x7c9ca3={}){const _0xba0a5c=a0_0x380d,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x4d7361,filter:_0x62dba2}=_0x7c9ca3,_0x38e5b3=_0x62dba2?_0x4f88c2['filter'](_0x62dba2):_0x4f88c2,_0x480bfb=new Map();for(const _0x25d213 of _0x38e5b3){const _0x219e82=getTableName(_0x25d213),_0x1d7b3e=getDbName(_0x25d213);!_0x480bfb[_0xba0a5c(0x2a1)](_0x219e82)&&_0x480bfb[_0xba0a5c(0x3a0)](_0x219e82,new Set()),_0x480bfb[_0xba0a5c(0x394)](_0x219e82)[_0xba0a5c(0x3e1)](_0x1d7b3e);}const _0x3db026=new Set();for(const [_0x1df1e1,_0x59460c]of _0x480bfb){_0x59460c[_0xba0a5c(0x1b1)]>0x1&&_0x3db026['add'](_0x1df1e1);}const _0x561ff0={},_0x36f708=new Set();for(const _0x36b228 of _0x38e5b3){const _0x5be6dc=getTableName(_0x36b228);if(enableDeduplication&&_0x36f708[_0xba0a5c(0x2a1)](_0x5be6dc)){console[_0xba0a5c(0x1fc)](_0xba0a5c(0x1b5)+_0x5be6dc+_0xba0a5c(0x23b)+_0x36b228[_0xba0a5c(0x351)]+'\x20('+_0x36b228[_0xba0a5c(0x37f)]+')');continue;}_0x36f708['add'](_0x5be6dc);const _0x57a2ac=_0x4d7361?_0x4d7361(_0x5be6dc,_0x36b228):getTableKey(_0x5be6dc),_0x4b7ff2=getDbName(_0x36b228),_0x57666e=_0x3db026[_0xba0a5c(0x2a1)](_0x5be6dc)&&_0x4b7ff2?getTableKey(_0x4b7ff2)+'_'+_0x57a2ac:_0x57a2ac;_0x561ff0[_0x57a2ac]={'key':_0x57a2ac,'alias':_0x57666e,'tableName':_0x5be6dc,'datasetCode':_0x36b228[_0xba0a5c(0x37f)],'name':_0x36b228['name'],'id':_0x36b228['id'],'dbName':_0x4b7ff2};}return _0x561ff0;}function generateFullDatasetsConfig(_0x406aca,_0x28f448={}){const _0x5de1c2=a0_0x380d,{filter:_0x25c97d,datasetNameGenerator:_0x57ff3a}=_0x28f448,_0x3a16fb=_0x25c97d?_0x406aca['filter'](_0x25c97d):_0x406aca,_0x44c69d=new Map();for(const _0x4d6b82 of _0x3a16fb){const _0x3272b0=getTableName(_0x4d6b82),_0x184574=getDbName(_0x4d6b82);!_0x44c69d['has'](_0x3272b0)&&_0x44c69d[_0x5de1c2(0x3a0)](_0x3272b0,new Set()),_0x44c69d[_0x5de1c2(0x394)](_0x3272b0)[_0x5de1c2(0x3e1)](_0x184574);}const _0x5ee61c=new Set();for(const [_0x5dd3bf,_0xdc973f]of _0x44c69d){_0xdc973f[_0x5de1c2(0x1b1)]>0x1&&_0x5ee61c[_0x5de1c2(0x3e1)](_0x5dd3bf);}const _0x150701=groupByTableName(_0x3a16fb),_0x510e05={};for(const [_0x3835c5,_0x56809a]of Object['entries'](_0x150701)){if(_0x56809a[_0x5de1c2(0x345)]===0x1){const _0x4498f4=_0x56809a[0x0],_0x1c692d=_0x57ff3a?_0x57ff3a(_0x3835c5,_0x4498f4):getTableKey(_0x3835c5),_0x15bee6=getDbName(_0x4498f4),_0x568ffa=_0x5ee61c['has'](_0x3835c5)&&_0x15bee6?getTableKey(_0x15bee6)+'_'+_0x1c692d:_0x1c692d;_0x510e05[_0x1c692d]={'key':_0x1c692d,'alias':_0x568ffa,'tableName':_0x3835c5,'datasetCode':_0x4498f4[_0x5de1c2(0x37f)],'name':_0x4498f4['name'],'id':_0x4498f4['id'],'dbName':_0x15bee6};}else{const _0x86e245=[..._0x56809a][_0x5de1c2(0x457)]((_0x1d06cf,_0x54c2e0)=>{const _0x8768cd=Number(_0x1d06cf['id'])||0x0,_0x4aff88=Number(_0x54c2e0['id'])||0x0;return _0x4aff88-_0x8768cd;});_0x86e245[_0x5de1c2(0x40c)]((_0x42dc95,_0x196779)=>{const _0x57e7a2=_0x5de1c2,_0x136179=_0x57ff3a?_0x57ff3a(_0x3835c5,_0x42dc95):getTableKey(_0x3835c5),_0x37a474=_0x196779===0x0?_0x136179:_0x136179+'_'+_0x196779,_0x17248a=getDbName(_0x42dc95),_0x434aec=_0x5ee61c[_0x57e7a2(0x2a1)](_0x3835c5)&&_0x17248a?getTableKey(_0x17248a)+'_'+_0x37a474:_0x37a474;_0x510e05[_0x37a474]={'key':_0x37a474,'alias':_0x434aec,'tableName':_0x3835c5,'datasetCode':_0x42dc95[_0x57e7a2(0x37f)],'name':_0x42dc95[_0x57e7a2(0x351)],'id':_0x42dc95['id'],'dbName':_0x17248a};});}}return _0x510e05;}function detectTableNameConflicts(_0x447bd6){const _0x4bae68=a0_0x380d,_0x33f31f={};for(const _0x17e7d3 of _0x447bd6){const _0x1fe142=getTableName(_0x17e7d3);!_0x33f31f[_0x1fe142]&&(_0x33f31f[_0x1fe142]=[]),_0x33f31f[_0x1fe142]['push'](_0x17e7d3);}const _0x453135={};for(const [_0x25e6a1,_0x4d10d7]of Object[_0x4bae68(0x241)](_0x33f31f)){_0x4d10d7[_0x4bae68(0x345)]>0x1&&(_0x453135[_0x25e6a1]=_0x4d10d7);}return{'hasConflicts':Object[_0x4bae68(0x1ea)](_0x453135)[_0x4bae68(0x345)]>0x0,'conflicts':_0x453135};}function createDatasetNameMap(_0x3ebe40){const _0x4ee942=a0_0x380d,_0x239190={};for(const [_0xcb9873,_0x2682d0]of Object[_0x4ee942(0x241)](_0x3ebe40)){_0x239190[_0xcb9873]=_0x2682d0['datasetCode']||'';}return _0x239190;}function groupByTableName(_0x4415c2){const _0x19e13b={};for(const _0x3b1ee1 of _0x4415c2){const _0x42d8de=getTableName(_0x3b1ee1);!_0x19e13b[_0x42d8de]&&(_0x19e13b[_0x42d8de]=[]),_0x19e13b[_0x42d8de]['push'](_0x3b1ee1);}return _0x19e13b;}function datasetsConfigToArray(_0x15d5fb){const _0x47dec0=a0_0x380d;return Object[_0x47dec0(0x31e)](_0x15d5fb);}function adaptDrivenDataDetail(_0x384a9b){const _0x4c4671=a0_0x380d,_0x4970f1={};return _0x4970f1['id']=_0x384a9b[_0x4c4671(0x470)],_0x4970f1[_0x4c4671(0x351)]=_0x384a9b['name'],_0x4970f1[_0x4c4671(0x37f)]=_0x384a9b[_0x4c4671(0x1d5)],_0x4970f1['dbtableConfig']=_0x384a9b[_0x4c4671(0x1b2)],_0x4970f1[_0x4c4671(0x328)]=_0x384a9b[_0x4c4671(0x328)],_0x4970f1['version']=_0x384a9b[_0x4c4671(0x3f5)],_0x4970f1[_0x4c4671(0x2f8)]=_0x384a9b[_0x4c4671(0x2f8)],_0x4970f1[_0x4c4671(0x395)]=_0x384a9b['properties'],_0x4970f1[_0x4c4671(0x325)]=_0x384a9b[_0x4c4671(0x325)],_0x4970f1;}function adaptDrivenDataDetails(_0x3d6a9f){const _0x28ef67=a0_0x380d;return _0x3d6a9f[_0x28ef67(0x2bc)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x20c6c9){const _0x39fba9=a0_0x380d;if(!_0x20c6c9['success']||!_0x20c6c9[_0x39fba9(0x24c)])throw new Error('获取数据集失败:\x20'+(_0x20c6c9[_0x39fba9(0x291)]||_0x20c6c9[_0x39fba9(0x2c4)]));return adaptDrivenDataDetail(_0x20c6c9[_0x39fba9(0x24c)]);}function extractDatasetsFromListResponse(_0x5b49fc){const _0x4ff9b9=a0_0x380d;if(!_0x5b49fc['success']||!_0x5b49fc[_0x4ff9b9(0x24c)]?.[_0x4ff9b9(0x1bd)])throw new Error(_0x4ff9b9(0x33a)+(_0x5b49fc['errorMsg']||_0x5b49fc[_0x4ff9b9(0x2c4)]));return _0x5b49fc[_0x4ff9b9(0x24c)][_0x4ff9b9(0x1bd)]['map'](_0x37d866=>({..._0x37d866,'datasetCode':_0x37d866[_0x4ff9b9(0x2bd)]||_0x37d866[_0x4ff9b9(0x37f)]}));}function isDrivenDataDetail(_0x3fa4a2){const _0x50fddd=a0_0x380d;return Boolean(_0x3fa4a2&&typeof _0x3fa4a2[_0x50fddd(0x1d5)]===_0x50fddd(0x3d2));}function smartAdapt(_0x542763){const _0x5d9185=a0_0x380d;if(isDrivenDataDetail(_0x542763))return adaptDrivenDataDetail(_0x542763);if(_0x542763[_0x5d9185(0x37f)])return _0x542763;if(_0x542763[_0x5d9185(0x2bd)]){const _0x5e0d5f={..._0x542763};return _0x5e0d5f[_0x5d9185(0x37f)]=_0x542763['code'],_0x5e0d5f;}return _0x542763;}var DatasetOperationType;(_0xb4fbc5=>{const _0x45bb9e=a0_0x380d;_0xb4fbc5['GET_LIST']=_0x45bb9e(0x3c5),_0xb4fbc5['GET_ONE']=_0x45bb9e(0x3cb),_0xb4fbc5[_0x45bb9e(0x26b)]='getOneOrigin',_0xb4fbc5[_0x45bb9e(0x1dc)]=_0x45bb9e(0x1c5),_0xb4fbc5[_0x45bb9e(0x352)]=_0x45bb9e(0x34f),_0xb4fbc5[_0x45bb9e(0x3aa)]=_0x45bb9e(0x1dd),_0xb4fbc5[_0x45bb9e(0x43e)]=_0x45bb9e(0x305),_0xb4fbc5['GET_SELECT_OPTIONS']='getSelectOptions',_0xb4fbc5[_0x45bb9e(0x286)]=_0x45bb9e(0x238),_0xb4fbc5[_0x45bb9e(0x41d)]='excelExport',_0xb4fbc5[_0x45bb9e(0x28b)]=_0x45bb9e(0x1bc),_0xb4fbc5['CREATE_IMPORT']=_0x45bb9e(0x23e),_0xb4fbc5[_0x45bb9e(0x441)]=_0x45bb9e(0x45f),_0xb4fbc5['TASK_INFO']=_0x45bb9e(0x20a),_0xb4fbc5['IMPORT_TEMPLATE']='importTemplate';})(DatasetOperationType||={});const a0_0x8081bd={};a0_0x8081bd[a0_0x342bd1(0x3c5)]=a0_0x342bd1(0x2e7),a0_0x8081bd[a0_0x342bd1(0x3cb)]=a0_0x342bd1(0x21a),a0_0x8081bd[a0_0x342bd1(0x338)]=a0_0x342bd1(0x33c),a0_0x8081bd['getOneUpdate']=a0_0x342bd1(0x33f),a0_0x8081bd['create']='创建',a0_0x8081bd[a0_0x342bd1(0x1dd)]='更新',a0_0x8081bd[a0_0x342bd1(0x305)]='删除',a0_0x8081bd[a0_0x342bd1(0x205)]=a0_0x342bd1(0x259),a0_0x8081bd[a0_0x342bd1(0x238)]=a0_0x342bd1(0x34b),a0_0x8081bd['excelExport']=a0_0x342bd1(0x28c),a0_0x8081bd[a0_0x342bd1(0x1bc)]=a0_0x342bd1(0x397),a0_0x8081bd[a0_0x342bd1(0x23e)]=a0_0x342bd1(0x23f),a0_0x8081bd[a0_0x342bd1(0x45f)]=a0_0x342bd1(0x1e4),a0_0x8081bd[a0_0x342bd1(0x20a)]=a0_0x342bd1(0x224),a0_0x8081bd[a0_0x342bd1(0x391)]='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0x8081bd,API_BLACKLIST=[a0_0x342bd1(0x3c5),a0_0x342bd1(0x338),a0_0x342bd1(0x1c5),a0_0x342bd1(0x238)];function parseFieldExtend(_0x582b72){const _0x1e9469=a0_0x342bd1;if(!_0x582b72||typeof _0x582b72!=='object')return!![]&&console[_0x1e9469(0x1fc)](_0x1e9469(0x3d4),_0x582b72),{};if(!_0x582b72[_0x1e9469(0x2f8)])return{};try{const _0x45087a=typeof _0x582b72[_0x1e9469(0x2f8)]===_0x1e9469(0x3d2)?JSON['parse'](_0x582b72['extend']):_0x582b72[_0x1e9469(0x2f8)];if(typeof _0x45087a!=='object'||_0x45087a===null)return{};return _0x45087a;}catch{return{};}}function isPrimaryKeyField(_0x445566,_0x1887e6){const _0x29e73a=a0_0x342bd1;if(!_0x445566||typeof _0x445566!==_0x29e73a(0x1eb))return![];if(typeof _0x1887e6==='string'&&_0x445566[_0x29e73a(0x2bd)]===_0x1887e6)return!![];const _0x328001=parseFieldExtend(_0x445566);return Boolean(_0x328001[_0x29e73a(0x358)]||_0x328001['pkField']);}function isSystemField(_0x510b52){const _0x51ec04=a0_0x342bd1,_0x444009=parseFieldExtend(_0x510b52);return Boolean(_0x444009[_0x51ec04(0x3c7)]);}function isRequiredField(_0x88b613){const _0x4d127a=a0_0x342bd1,_0x1d569a=parseFieldExtend(_0x88b613);return Boolean(_0x1d569a[_0x4d127a(0x22c)]);}function isAutoIncrementField(_0x469a0d){const _0x209e51=a0_0x342bd1,_0x463cd9=parseFieldExtend(_0x469a0d);return Boolean(_0x463cd9[_0x209e51(0x468)]);}function isCreateTimeField(_0x1fe6d1){const _0xf38f26=parseFieldExtend(_0x1fe6d1);return Boolean(_0xf38f26['createDate']);}function isModifyTimeField(_0x2be0b3){const _0x2fc07a=a0_0x342bd1,_0x2c422=parseFieldExtend(_0x2be0b3);return Boolean(_0x2c422[_0x2fc07a(0x414)]);}const a0_0x434cc9={};a0_0x434cc9[a0_0x342bd1(0x42e)]='数字',a0_0x434cc9[a0_0x342bd1(0x2f1)]='文本',a0_0x434cc9[a0_0x342bd1(0x1d8)]='长文本',a0_0x434cc9[a0_0x342bd1(0x3db)]='日期',a0_0x434cc9[a0_0x342bd1(0x302)]=a0_0x342bd1(0x3b5),a0_0x434cc9[a0_0x342bd1(0x1da)]=a0_0x342bd1(0x404),a0_0x434cc9[a0_0x342bd1(0x237)]=a0_0x342bd1(0x29d),a0_0x434cc9[a0_0x342bd1(0x29e)]='多选',a0_0x434cc9['RADIO']='单选',a0_0x434cc9['SWITCH']='开关',a0_0x434cc9['UPLOAD']=a0_0x342bd1(0x42a),a0_0x434cc9[a0_0x342bd1(0x2ae)]='图片',a0_0x434cc9[a0_0x342bd1(0x1e9)]=a0_0x342bd1(0x1c8),a0_0x434cc9['JSON']=a0_0x342bd1(0x277),a0_0x434cc9[a0_0x342bd1(0x227)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x434cc9;function getDbTypeDisplay(_0x509376){const _0x5251d1=a0_0x342bd1;if(typeof _0x509376!=='string')return!![]&&console[_0x5251d1(0x1fc)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x509376),String(_0x509376||'-');return DB_TYPE_DISPLAY_MAP[_0x509376]||_0x509376;}function formatDbType(_0x323ed5,_0x1fb275){const _0x5dd2d5=a0_0x342bd1;if(!_0x323ed5||typeof _0x323ed5!==_0x5dd2d5(0x3d2))return'-';if(!_0x1fb275||typeof _0x1fb275!==_0x5dd2d5(0x44b))return _0x323ed5;const _0x431d70=['TEXT','DATETIME','TIMESTAMP','DATE'];if(_0x431d70[_0x5dd2d5(0x461)](_0x323ed5['toUpperCase']()))return _0x323ed5;return _0x323ed5+'('+_0x1fb275+')';}function parseOperationType(_0x5650ed){const _0xb3264f=a0_0x342bd1;if(typeof _0x5650ed!==_0xb3264f(0x3d2)){!![]&&console[_0xb3264f(0x1fc)](_0xb3264f(0x2f7),_0x5650ed);return;}if(Object[_0xb3264f(0x31e)](DatasetOperationType)['includes'](_0x5650ed))return _0x5650ed;const _0x132734=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x44669a,_0x3fbe25])=>_0x3fbe25===_0x5650ed);return _0x132734?_0x132734[0x0]:undefined;}function shouldIncludeField(_0x14bd0c,_0x164ce7,_0x3e5a64){const _0x1df5b2=a0_0x342bd1,_0x5955dc=parseFieldExtend(_0x14bd0c),_0x5a1219=isPrimaryKeyField(_0x14bd0c,_0x3e5a64),_0xf8de08=Boolean(_0x5955dc[_0x1df5b2(0x3c7)]),_0x4da8b0=Boolean(_0x5955dc[_0x1df5b2(0x468)]),_0x5791d9=Boolean(_0x5955dc[_0x1df5b2(0x2ef)]),_0x2f2f5e=Boolean(_0x5955dc[_0x1df5b2(0x414)]);switch(_0x164ce7){case'getList':return!![];case _0x1df5b2(0x3cb):case _0x1df5b2(0x338):case _0x1df5b2(0x305):return _0x5a1219;case _0x1df5b2(0x34f):if(_0x5a1219&&_0x4da8b0)return![];if(_0xf8de08)return![];if(_0x5791d9||_0x2f2f5e)return![];return!![];case _0x1df5b2(0x1dd):case _0x1df5b2(0x1c5):if(_0x5a1219)return!![];if(_0xf8de08)return![];if(_0x5791d9||_0x2f2f5e)return![];return!![];case _0x1df5b2(0x205):return _0x14bd0c[_0x1df5b2(0x2bd)]===_0x1df5b2(0x2bd);default:return!![];}}function getFieldsForOperation(_0xc9b761,_0x3a85e0,_0x5da485){const _0x150548=a0_0x342bd1;if(!Array['isArray'](_0xc9b761))return!![]&&console[_0x150548(0x1fc)](_0x150548(0x1d6),_0xc9b761),[];return _0xc9b761['filter'](_0x2d684d=>shouldIncludeField(_0x2d684d,_0x3a85e0,_0x5da485));}function isApiBlacklisted(_0x430686){const _0xbc5e25=a0_0x342bd1;if(typeof _0x430686!==_0xbc5e25(0x3d2))return!![]&&console[_0xbc5e25(0x1fc)](_0xbc5e25(0x3da),_0x430686),![];return API_BLACKLIST[_0xbc5e25(0x461)](_0x430686);}function filterApiOperations(_0x276ef8){const _0x2dbaf0=a0_0x342bd1;if(!Array[_0x2dbaf0(0x200)](_0x276ef8))return!![]&&console[_0x2dbaf0(0x1fc)](_0x2dbaf0(0x309),_0x276ef8),[];return _0x276ef8[_0x2dbaf0(0x282)](_0x5f4501=>_0x5f4501&&typeof _0x5f4501===_0x2dbaf0(0x1eb)&&!isApiBlacklisted(_0x5f4501[_0x2dbaf0(0x351)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x342bd1(0x2e9)](),'SELECT':({fieldInfo:_0x4aced7})=>{const _0x1dfc66=a0_0x342bd1;if(_0x4aced7?.[_0x1dfc66(0x23c)]&&Array['isArray'](_0x4aced7['options'])&&_0x4aced7[_0x1dfc66(0x23c)][_0x1dfc66(0x345)]>0x0)return _0x4aced7[_0x1dfc66(0x23c)][0x0][_0x1dfc66(0x3d9)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x286f08})=>{const _0x2e7522=a0_0x342bd1;if(_0x286f08===_0x2e7522(0x401))return 0x1;if(_0x286f08===_0x2e7522(0x3ac))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0xb13b98})=>{const _0x4f039f=a0_0x342bd1;if(_0xb13b98&&typeof _0xb13b98===_0x4f039f(0x3d2)){const _0x4f022a=_0xb13b98[_0x4f039f(0x2fc)]();if(_0x4f022a['includes']('邮箱')||_0x4f022a['includes'](_0x4f039f(0x255)))return _0x4f039f(0x3c4);if(_0x4f022a[_0x4f039f(0x461)]('电话')||_0x4f022a[_0x4f039f(0x461)]('手机')||_0x4f022a[_0x4f039f(0x461)](_0x4f039f(0x2ba)))return _0x4f039f(0x262);if(_0x4f022a[_0x4f039f(0x461)]('地址')||_0x4f022a['includes'](_0x4f039f(0x1e7)))return _0x4f039f(0x3e2);if(_0x4f022a[_0x4f039f(0x461)]('姓名')||_0x4f022a[_0x4f039f(0x461)](_0x4f039f(0x351)))return'张三';}return _0x4f039f(0x3f8);},'VARCHAR':({description:_0xa68b16})=>TYPE_VALUE_GENERATORS[a0_0x342bd1(0x2f1)]({'description':_0xa68b16}),'CHAR':({description:_0x4f8879})=>TYPE_VALUE_GENERATORS[a0_0x342bd1(0x2f1)]({'description':_0x4f8879}),'STRING':({fieldInfo:_0x15fec0,description:_0x5038e2})=>{const _0x19cf6d=a0_0x342bd1;if(_0x15fec0?.[_0x19cf6d(0x35a)]&&typeof _0x15fec0[_0x19cf6d(0x35a)]===_0x19cf6d(0x3d2)&&_0x15fec0[_0x19cf6d(0x35a)]!==_0x19cf6d(0x40e))return _0x15fec0[_0x19cf6d(0x35a)]['replace'](/^请输入|^请选择/,'');const _0x37f015={};return _0x37f015['description']=_0x5038e2,TYPE_VALUE_GENERATORS[_0x19cf6d(0x2f1)](_0x37f015);},'TEXTAREA':()=>a0_0x342bd1(0x3c1),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x342bd1(0x3d9)}),'ARRAY':()=>[a0_0x342bd1(0x356),a0_0x342bd1(0x475)],'UPLOAD':()=>a0_0x342bd1(0x432),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>'<p>富文本内容</p>'};function generateExampleValue(_0x4e91f0,_0x82a8db,_0xd36935,_0x2b1645={}){const _0xf36b1e=a0_0x342bd1;typeof _0x4e91f0!=='string'&&(!![]&&console[_0xf36b1e(0x1fc)](_0xf36b1e(0x24e),_0x4e91f0),_0x4e91f0=String(_0x4e91f0||''));if(typeof _0x82a8db!==_0xf36b1e(0x3d2))return!![]&&console['warn'](_0xf36b1e(0x41a),_0x82a8db),_0xf36b1e(0x21e);const {isPrimaryKey:_0x119825,dbtableConfig:_0x25c12b}=_0x2b1645;if(_0x119825)return 0x1;if(_0x25c12b&&typeof _0x25c12b===_0xf36b1e(0x1eb)){const _0x5bb2a5=_0x25c12b['createTimeField']?.['fieldName']===_0x4e91f0,_0x140010=_0x25c12b[_0xf36b1e(0x418)]?.['fieldName']===_0x4e91f0;if(_0x5bb2a5||_0x140010){if(_0xd36935&&typeof _0xd36935===_0xf36b1e(0x3d2)&&_0xd36935[_0xf36b1e(0x2b5)]()['includes']('TIMESTAMP'))return Date[_0xf36b1e(0x2e9)]();return new Date()[_0xf36b1e(0x3f0)]()[_0xf36b1e(0x36e)]('T','\x20')[_0xf36b1e(0x257)]('.')[0x0];}}const _0x39638b={..._0x2b1645};_0x39638b[_0xf36b1e(0x344)]=_0x4e91f0;const _0x12b45c=_0x39638b;if(_0xd36935&&typeof _0xd36935===_0xf36b1e(0x3d2)){const _0x137339=_0xd36935[_0xf36b1e(0x2b5)](),_0x161144=TYPE_VALUE_GENERATORS[_0x137339];if(_0x161144)return _0x161144(_0x12b45c);}if(_0x82a8db&&typeof _0x82a8db===_0xf36b1e(0x3d2)){const _0x5cbd07=_0x82a8db[_0xf36b1e(0x2b5)](),_0x20ec34=TYPE_VALUE_GENERATORS[_0x5cbd07];if(_0x20ec34)return _0x20ec34(_0x12b45c);}return _0xf36b1e(0x21e);}function generateExampleFromSchema(_0x2543bc,_0xa7de41){const _0x114585=a0_0x342bd1;if(!_0x2543bc||typeof _0x2543bc!==_0x114585(0x1eb))return{};if(Array[_0x114585(0x200)](_0x2543bc)){if(_0x2543bc[_0x114585(0x345)]>0x0)return[generateExampleFromSchema(_0x2543bc[0x0],_0xa7de41)];return[];}const _0x5db34a={};return Object['keys'](_0x2543bc)['forEach'](_0x4d2dfb=>{const _0x18d55b=_0x114585,_0x3f86ab=_0x2543bc[_0x4d2dfb];if(_0x3f86ab&&typeof _0x3f86ab==='object'&&!Array[_0x18d55b(0x200)](_0x3f86ab)&&_0x3f86ab[_0x18d55b(0x399)]){const _0x1afa66=_0x3f86ab,_0x30277e=_0x1afa66[_0x18d55b(0x399)],_0x2d15b7=_0x1afa66['description'];if(typeof _0x30277e===_0x18d55b(0x3d2)){const _0x1fecf0={};_0x1fecf0[_0x18d55b(0x1ca)]=_0x2d15b7,_0x1fecf0[_0x18d55b(0x1b2)]=_0xa7de41,_0x5db34a[_0x4d2dfb]=generateExampleValue(_0x4d2dfb,_0x30277e,undefined,_0x1fecf0);}else _0x5db34a[_0x4d2dfb]=_0x18d55b(0x21e);}else{if(Array[_0x18d55b(0x200)](_0x3f86ab))_0x5db34a[_0x4d2dfb]=_0x3f86ab[_0x18d55b(0x345)]>0x0?[generateExampleFromSchema(_0x3f86ab[0x0],_0xa7de41)]:[];else _0x3f86ab&&typeof _0x3f86ab==='object'?_0x5db34a[_0x4d2dfb]=generateExampleFromSchema(_0x3f86ab,_0xa7de41):_0x5db34a[_0x4d2dfb]=_0x3f86ab;}}),_0x5db34a;}function parseRequestBody(_0x2c64f5){const _0x272bfa=a0_0x342bd1;if(!_0x2c64f5)return{};try{return JSON[_0x272bfa(0x2aa)](_0x2c64f5);}catch(_0x29f822){return!![]&&console[_0x272bfa(0x1fc)](_0x272bfa(0x3a6),_0x29f822),{};}}function parseResponseBody(_0x117418){const _0x83cd85=a0_0x342bd1;if(!_0x117418)return null;try{const _0x2d8289=JSON[_0x83cd85(0x2aa)](_0x117418);return _0x2d8289[_0x83cd85(0x362)]||_0x2d8289;}catch(_0xe52fed){return!![]&&console[_0x83cd85(0x1fc)](_0x83cd85(0x42f),_0xe52fed),null;}}function generateRequestExample(_0x3d345b,_0x413b7f,_0x535427,_0xc774ac){const _0x3ba2a1=a0_0x342bd1,_0x574aa5={};if(!Array['isArray'](_0x3d345b))return!![]&&console['warn']('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x3d345b),_0x574aa5;return _0x3d345b['forEach'](_0x41e28b=>{const _0x4e9684=a0_0x380d;if(!_0x41e28b||typeof _0x41e28b!==_0x4e9684(0x1eb)){!![]&&console[_0x4e9684(0x1fc)]('[generateRequestExample]\x20Invalid\x20field:',_0x41e28b);return;}if(typeof _0x41e28b[_0x4e9684(0x2bd)]!==_0x4e9684(0x3d2)||typeof _0x41e28b['type']!=='string'){!![]&&console[_0x4e9684(0x1fc)](_0x4e9684(0x2c0),_0x41e28b);return;}const _0x1f8285=parseFieldExtend(_0x41e28b),_0x1dc54d=_0x41e28b[_0x4e9684(0x2bd)]===_0x535427||Boolean(_0x1f8285?.['primaryKey']),_0x317460=generateExampleValue(_0x41e28b['code'],_0x41e28b[_0x4e9684(0x399)],typeof _0x41e28b[_0x4e9684(0x2e0)]===_0x4e9684(0x3d2)?_0x41e28b[_0x4e9684(0x2e0)]:undefined,{'fieldInfo':_0x1f8285,'isPrimaryKey':_0x1dc54d,'description':_0x41e28b['description']||_0x41e28b['name'],'dbtableConfig':_0xc774ac});_0x574aa5[_0x41e28b[_0x4e9684(0x2bd)]]=_0x317460;}),_0x413b7f===_0x3ba2a1(0x3c5)&&(_0x574aa5[_0x3ba2a1(0x401)]=0x1,_0x574aa5[_0x3ba2a1(0x3ac)]=0xa),_0x574aa5;}function formatEnumValue(_0x5e6412,_0x10267d){const _0x3127f6=a0_0x342bd1;if(_0x5e6412[_0x3127f6(0x3df)]&&Array[_0x3127f6(0x200)](_0x10267d))return _0x10267d[_0x3127f6(0x2bc)](_0x1ad002=>_0x5e6412['valueLabels'][String(_0x1ad002)]||String(_0x1ad002))[_0x3127f6(0x314)](',\x20');return _0x5e6412[_0x3127f6(0x20b)][String(_0x10267d)]||String(_0x10267d);}function formatOptionsForDoc(_0x398b66){const _0x2935ed=a0_0x342bd1;return _0x398b66['map'](_0x4d8f97=>_0x4d8f97[_0x2935ed(0x3d9)]+'('+_0x4d8f97[_0x2935ed(0x469)]+')')[_0x2935ed(0x314)](',\x20');}function formatOptionsAsMarkdownList(_0x16a0ba,_0x1f6d4e=0x0){const _0x51dbab=a0_0x342bd1,_0x4cfd8f='\x20\x20'[_0x51dbab(0x366)](_0x1f6d4e),_0x9cd3ab=[];return _0x16a0ba[_0x51dbab(0x40c)](_0x2262cb=>{const _0x53e5fc=_0x51dbab;_0x9cd3ab[_0x53e5fc(0x37b)](_0x4cfd8f+_0x53e5fc(0x2ad)+_0x2262cb[_0x53e5fc(0x3d9)]+_0x53e5fc(0x443)+_0x2262cb[_0x53e5fc(0x469)]),_0x2262cb[_0x53e5fc(0x217)]&&_0x2262cb['children']['length']>0x0&&_0x9cd3ab['push'](formatOptionsAsMarkdownList(_0x2262cb['children'],_0x1f6d4e+0x1));}),_0x9cd3ab[_0x51dbab(0x314)]('\x0a');}class DbtableConfig{['_raw'];constructor(_0x1a7531){const _0x293ebc=a0_0x342bd1,_0xff2830={..._0x1a7531};this[_0x293ebc(0x3c9)]=_0xff2830;}get['dbId'](){const _0x25d3a7=a0_0x342bd1;return this['_raw'][_0x25d3a7(0x442)];}get[a0_0x342bd1(0x406)](){const _0x26df64=a0_0x342bd1;return this[_0x26df64(0x3c9)]['dbName']??this[_0x26df64(0x3c9)][_0x26df64(0x42c)]?.['dbName'];}get[a0_0x342bd1(0x269)](){const _0xeec7cb=a0_0x342bd1;return this[_0xeec7cb(0x3c9)][_0xeec7cb(0x269)];}get[a0_0x342bd1(0x1fd)](){const _0x11265c=a0_0x342bd1;return this[_0x11265c(0x3c9)][_0x11265c(0x1fd)];}get[a0_0x342bd1(0x2ab)](){const _0x3ea05f=a0_0x342bd1;return this[_0x3ea05f(0x3c9)]['pkField'];}get[a0_0x342bd1(0x459)](){const _0x579f36=a0_0x342bd1;return this[_0x579f36(0x3c9)][_0x579f36(0x459)];}get['logicField'](){const _0x48eecc=a0_0x342bd1;return this['_raw'][_0x48eecc(0x1ed)];}get[a0_0x342bd1(0x287)](){const _0x1e48f3=a0_0x342bd1;return this[_0x1e48f3(0x3c9)][_0x1e48f3(0x287)];}get[a0_0x342bd1(0x418)](){const _0x1cad0e=a0_0x342bd1;return this[_0x1cad0e(0x3c9)][_0x1cad0e(0x418)];}get[a0_0x342bd1(0x41e)](){const _0x4115a3=a0_0x342bd1;return this[_0x4115a3(0x3c9)][_0x4115a3(0x41e)];}get[a0_0x342bd1(0x1c2)](){const _0x59be8d=a0_0x342bd1;return this[_0x59be8d(0x3c9)]['creatorNameField'];}get['modifierIdField'](){const _0x1ad2e0=a0_0x342bd1;return this[_0x1ad2e0(0x3c9)][_0x1ad2e0(0x245)];}get['modifierNameField'](){const _0xcd33b2=a0_0x342bd1;return this[_0xcd33b2(0x3c9)]['modifierNameField'];}get['dblinkInfoDTO'](){return this['_raw']['dblinkInfoDTO'];}[a0_0x342bd1(0x207)](){const _0x16dfec=a0_0x342bd1;if(!this[_0x16dfec(0x3c9)][_0x16dfec(0x339)])return[];return this[_0x16dfec(0x3c9)][_0x16dfec(0x339)]['split'](',')[_0x16dfec(0x2bc)](_0x27ee26=>_0x27ee26[_0x16dfec(0x266)]())[_0x16dfec(0x282)](Boolean);}[a0_0x342bd1(0x3dd)](){const _0x3a2149=a0_0x342bd1;return this[_0x3a2149(0x3c9)][_0x3a2149(0x339)];}[a0_0x342bd1(0x39b)](_0x1df857){const _0x10c9d0=a0_0x342bd1;return this['getAllFieldsArray']()[_0x10c9d0(0x461)](_0x1df857);}[a0_0x342bd1(0x3a8)](){const _0x566284=a0_0x342bd1;return Boolean(this[_0x566284(0x3c9)][_0x566284(0x269)]);}[a0_0x342bd1(0x392)](){const _0x45c5c6=a0_0x342bd1;return Boolean(this[_0x45c5c6(0x3c9)]['dblinkInfoDTO']);}['hasLogicField'](){const _0xbdccf2=a0_0x342bd1;return Boolean(this[_0xbdccf2(0x3c9)][_0xbdccf2(0x1ed)]?.['fieldName']);}[a0_0x342bd1(0x1b8)](){const _0x530e1f=a0_0x342bd1;return Boolean(this[_0x530e1f(0x3c9)][_0x530e1f(0x287)]?.[_0x530e1f(0x234)]);}[a0_0x342bd1(0x201)](){const _0xd06d18=a0_0x342bd1;return Boolean(this[_0xd06d18(0x3c9)][_0xd06d18(0x418)]?.[_0xd06d18(0x234)]);}[a0_0x342bd1(0x430)](){const _0x1ce75e=a0_0x342bd1;return Boolean(this['_raw'][_0x1ce75e(0x41e)]?.['fieldName']);}[a0_0x342bd1(0x452)](){const _0x322585=a0_0x342bd1;return Boolean(this[_0x322585(0x3c9)][_0x322585(0x245)]?.[_0x322585(0x234)]);}[a0_0x342bd1(0x1c0)](_0x417f3a){const _0x3e12ee=a0_0x342bd1;return this[_0x3e12ee(0x3c9)][_0x3e12ee(0x2ab)]===_0x417f3a;}['isSystemField'](_0x25fb63){const _0x1295c5=a0_0x342bd1;return this[_0x1295c5(0x1c0)](_0x25fb63)||this[_0x1295c5(0x3c9)]['logicField']?.[_0x1295c5(0x234)]===_0x25fb63||this[_0x1295c5(0x3c9)]['createTimeField']?.['fieldName']===_0x25fb63||this[_0x1295c5(0x3c9)][_0x1295c5(0x418)]?.[_0x1295c5(0x234)]===_0x25fb63||this['_raw'][_0x1295c5(0x41e)]?.[_0x1295c5(0x234)]===_0x25fb63||this[_0x1295c5(0x3c9)]['creatorNameField']?.['fieldName']===_0x25fb63||this[_0x1295c5(0x3c9)][_0x1295c5(0x245)]?.['fieldName']===_0x25fb63||this['_raw'][_0x1295c5(0x44f)]?.[_0x1295c5(0x234)]===_0x25fb63;}['getDatabaseName'](){const _0x117421=a0_0x342bd1;return this[_0x117421(0x3c9)][_0x117421(0x42c)]?.['dbName'];}[a0_0x342bd1(0x335)](){const _0x2d1634=a0_0x342bd1;return this[_0x2d1634(0x3c9)][_0x2d1634(0x42c)]?.[_0x2d1634(0x2e0)];}[a0_0x342bd1(0x2d4)](){const _0x468146=a0_0x342bd1;return this[_0x468146(0x3c9)][_0x468146(0x42c)]?.[_0x468146(0x23d)];}[a0_0x342bd1(0x306)](){const _0x390c21=a0_0x342bd1;return this['_raw'][_0x390c21(0x42c)]?.['tenantCode'];}[a0_0x342bd1(0x1ce)](){const _0x514b60=a0_0x342bd1;return this['_raw']['dblinkInfoDTO']?.[_0x514b60(0x223)];}[a0_0x342bd1(0x3fe)](){const _0x30792a=a0_0x342bd1;return this[_0x30792a(0x3c9)]['dblinkInfoDTO']?.['systemAnalysisResult'];}[a0_0x342bd1(0x1cb)](){const _0x3e662e=a0_0x342bd1;return{'hasTableName':this[_0x3e662e(0x3a8)](),'hasDblinkInfo':this[_0x3e662e(0x392)](),'fieldCount':this['getAllFieldsArray']()[_0x3e662e(0x345)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x3e662e(0x1b8)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this[_0x3e662e(0x430)](),'hasModifierIdField':this['hasModifierIdField']()}};}[a0_0x342bd1(0x1c7)](){const _0x3cc191=a0_0x342bd1,_0x463a33={};return _0x463a33[_0x3cc191(0x269)]=this[_0x3cc191(0x269)],_0x463a33[_0x3cc191(0x2ab)]=this[_0x3cc191(0x2ab)],_0x463a33[_0x3cc191(0x1fd)]=this[_0x3cc191(0x1fd)],_0x463a33[_0x3cc191(0x442)]=this[_0x3cc191(0x442)],_0x463a33;}[a0_0x342bd1(0x463)](){const _0x7375b9=a0_0x342bd1,_0x114873={...this[_0x7375b9(0x3c9)]};return _0x114873;}[a0_0x342bd1(0x289)](){const _0x5ec3b9=a0_0x342bd1,_0x338fac={...this[_0x5ec3b9(0x3c9)]};return _0x338fac;}[a0_0x342bd1(0x279)](){const _0x5f2117=a0_0x342bd1,_0x2c2091=this[_0x5f2117(0x269)]||_0x5f2117(0x28a),_0x46eaa3=this[_0x5f2117(0x207)]()[_0x5f2117(0x345)];return _0x5f2117(0x466)+_0x2c2091+_0x5f2117(0x43d)+_0x46eaa3+')';}static[a0_0x342bd1(0x26c)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x342bd1(0x3c9)];constructor(_0x5026bd){const _0x12a569=a0_0x342bd1,_0xf0bec7=_0x5026bd[_0x12a569(0x37f)]||_0x5026bd[_0x12a569(0x2bd)]||_0x5026bd[_0x12a569(0x1d5)],_0x5de90c={..._0x5026bd};_0x5de90c['datasetCode']=_0xf0bec7,this['_raw']=_0x5de90c;}get['id'](){const _0x224bc3=a0_0x342bd1;return this[_0x224bc3(0x3c9)]['id'];}get[a0_0x342bd1(0x351)](){const _0x19ba80=a0_0x342bd1;return this[_0x19ba80(0x3c9)][_0x19ba80(0x351)];}[a0_0x342bd1(0x3c3)](){return this['name'];}get[a0_0x342bd1(0x37f)](){const _0x4a65cd=a0_0x342bd1;return this[_0x4a65cd(0x3c9)][_0x4a65cd(0x37f)]||'';}get[a0_0x342bd1(0x1b2)](){const _0x3141a3=a0_0x342bd1;if(!this[_0x3141a3(0x3c9)][_0x3141a3(0x1b2)])return null;return new DbtableConfig(this['_raw'][_0x3141a3(0x1b2)]);}[a0_0x342bd1(0x304)](){const _0x37baae=a0_0x342bd1;return this[_0x37baae(0x3c9)]['dbtableConfig'];}['getDbName'](){const _0x18adef=a0_0x342bd1;return this['dbtableConfig']?.[_0x18adef(0x406)]||'';}['getTableName'](){const _0x344fdc=a0_0x342bd1;return getTableName(this[_0x344fdc(0x3c9)]);}['getTableKey'](){return getTableKey(this['getTableName']());}[a0_0x342bd1(0x434)](){return generateModelKeyFromCode(this['datasetCode']);}['isVirtualTable'](){const _0x57ba57=a0_0x342bd1;return isVirtualTableName(this[_0x57ba57(0x2a7)]());}[a0_0x342bd1(0x296)](){const _0x39a92d=a0_0x342bd1;return getTableKey(this[_0x39a92d(0x2a7)]());}[a0_0x342bd1(0x1c7)](){const _0x181efd=a0_0x342bd1,_0x438bad=getTableKey(this[_0x181efd(0x2a7)]());return{'key':_0x438bad,'alias':_0x438bad,'tableName':this[_0x181efd(0x2a7)](),'datasetCode':this[_0x181efd(0x37f)],'name':this[_0x181efd(0x351)]};}[a0_0x342bd1(0x463)](){const _0x31797e=a0_0x342bd1,_0x597855={...this['_raw']};return _0x597855[_0x31797e(0x37f)]=this[_0x31797e(0x37f)],_0x597855;}['getRaw'](){const _0x425d42=a0_0x342bd1,_0x3581ab={...this[_0x425d42(0x3c9)]};return _0x3581ab;}[a0_0x342bd1(0x41c)](){const _0x59f03c=a0_0x342bd1,_0x1c362b=this[_0x59f03c(0x1b2)];return _0x1c362b!==null&&_0x1c362b[_0x59f03c(0x3a8)]();}[a0_0x342bd1(0x2da)](_0x1a4173){const _0x583443=a0_0x342bd1;return this[_0x583443(0x3c9)][_0x1a4173];}['hasExtendField'](_0x3ee16e){const _0x108289=a0_0x342bd1;return _0x3ee16e in this[_0x108289(0x3c9)];}[a0_0x342bd1(0x279)](){const _0x6f7c13=a0_0x342bd1;return _0x6f7c13(0x446)+this['name']+',\x20'+this[_0x6f7c13(0x37f)]+')';}}class Operation{[a0_0x342bd1(0x351)];[a0_0x342bd1(0x3c9)];[a0_0x342bd1(0x244)];constructor(_0x2ffcc6,_0x2ac200,_0x1fdaef){const _0x589c99=a0_0x342bd1;this[_0x589c99(0x351)]=_0x2ffcc6,this[_0x589c99(0x3c9)]=_0x2ac200,this[_0x589c99(0x244)]=_0x1fdaef;}[a0_0x342bd1(0x3c3)](){return this['name'];}[a0_0x342bd1(0x26d)](){const _0x8f8b7c=a0_0x342bd1;return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this[_0x8f8b7c(0x351)];}[a0_0x342bd1(0x2a0)](){const _0x1ef496=a0_0x342bd1;return parseOperationType(this[_0x1ef496(0x351)]);}[a0_0x342bd1(0x2f2)](){const _0x4a385f=a0_0x342bd1;return this['_raw']!==null&&this[_0x4a385f(0x3c9)]!==![];}[a0_0x342bd1(0x38b)](){const _0x29d65a=a0_0x342bd1,_0x17d30c=this[_0x29d65a(0x3c9)];if(_0x17d30c===![]||_0x17d30c===null)return'';return _0x17d30c['method']||_0x29d65a(0x2d5);}[a0_0x342bd1(0x3bb)](){const _0x16b215=a0_0x342bd1,_0x177823=this[_0x16b215(0x3c9)];if(_0x177823===![]||_0x177823===null)return'';return _0x177823[_0x16b215(0x361)]||'';}[a0_0x342bd1(0x40f)](){const _0x3f236c=a0_0x342bd1,_0x5f0362=this[_0x3f236c(0x3c9)];let _0x1fe043='';_0x5f0362!==![]&&_0x5f0362!==null&&_0x5f0362[_0x3f236c(0x3d8)]&&(_0x1fe043=_0x5f0362[_0x3f236c(0x3d8)]);const _0x2ebcf1=this[_0x3f236c(0x3bb)]();return _0x1fe043&&_0x2ebcf1?''+_0x1fe043+_0x2ebcf1:_0x2ebcf1;}['parseRawRequestBody'](){const _0x427376=a0_0x342bd1,_0x404a5d=this['_raw'];if(_0x404a5d===![]||_0x404a5d===null||!_0x404a5d[_0x427376(0x31a)])return{};try{return JSON[_0x427376(0x2aa)](_0x404a5d[_0x427376(0x31a)]);}catch{return{};}}[a0_0x342bd1(0x45a)](){const _0x4f8a3e=a0_0x342bd1,_0x284f7f=this[_0x4f8a3e(0x3c9)];if(_0x284f7f===![]||_0x284f7f===null||!_0x284f7f[_0x4f8a3e(0x2a2)])return null;try{return JSON[_0x4f8a3e(0x2aa)](_0x284f7f['responseBody']);}catch{return null;}}[a0_0x342bd1(0x3c0)](){const _0x1c8d36=a0_0x342bd1;return this[_0x1c8d36(0x431)]();}['getResponseSchema'](){return this['parseRawResponseBody']();}['getRequestFields'](){const _0x2dd7e7=a0_0x342bd1,_0x33b7cd=this[_0x2dd7e7(0x3c0)]();return Object[_0x2dd7e7(0x1ea)](_0x33b7cd);}[a0_0x342bd1(0x2c9)](){const _0x86e8ed=a0_0x342bd1,_0x4d6e04=this[_0x86e8ed(0x3c0)](),_0x4f0e3f={};return Object[_0x86e8ed(0x241)](_0x4d6e04)[_0x86e8ed(0x40c)](([_0x1bc9ec,_0x9f3b94])=>{const _0x3357ee=_0x86e8ed,_0x511ce4=_0x9f3b94;_0x4f0e3f[_0x1bc9ec]=generateExampleValue(_0x1bc9ec,_0x511ce4[_0x3357ee(0x399)]||'String',undefined,{'description':_0x511ce4['description']});}),_0x4f0e3f;}[a0_0x342bd1(0x39c)](){const _0x55290b=a0_0x342bd1;return this[_0x55290b(0x2c9)]();}['generateResponseExample'](){const _0x5ec40e=a0_0x342bd1,_0x1b40ff=this[_0x5ec40e(0x45a)]();if(!_0x1b40ff){const _0x3c016e={};return _0x3c016e[_0x5ec40e(0x284)]=!![],_0x3c016e[_0x5ec40e(0x2c4)]='操作成功',_0x3c016e[_0x5ec40e(0x291)]='',_0x3c016e['errorCode']=_0x5ec40e(0x310),_0x3c016e['data']=null,_0x3c016e;}return this['generateFromSchema'](_0x1b40ff);}[a0_0x342bd1(0x379)](_0x139631){const _0x3dd422=a0_0x342bd1;if(!_0x139631||typeof _0x139631!=='object')return{};if(Array[_0x3dd422(0x200)](_0x139631))return _0x139631[_0x3dd422(0x345)]>0x0?[this[_0x3dd422(0x379)](_0x139631[0x0])]:[];const _0x2b770b={};for(const [_0x1d876c,_0x5aa7e5]of Object[_0x3dd422(0x241)](_0x139631)){if(_0x5aa7e5&&typeof _0x5aa7e5===_0x3dd422(0x1eb)&&!Array[_0x3dd422(0x200)](_0x5aa7e5)){const _0x14109a=_0x5aa7e5;_0x2b770b[_0x1d876c]=generateExampleValue(_0x1d876c,_0x14109a[_0x3dd422(0x399)]||_0x3dd422(0x36d),undefined,{'description':_0x14109a[_0x3dd422(0x1ca)]});}else Array[_0x3dd422(0x200)](_0x5aa7e5)?_0x2b770b[_0x1d876c]=_0x5aa7e5[_0x3dd422(0x345)]>0x0?[this[_0x3dd422(0x379)](_0x5aa7e5[0x0])]:[]:_0x2b770b[_0x1d876c]=_0x5aa7e5;}return _0x2b770b;}['generateFieldExample'](_0x52dddf,_0x213564,_0x164839,_0x36549e){return generateExampleValue(_0x52dddf,_0x213564,_0x164839,_0x36549e);}[a0_0x342bd1(0x1b3)](_0x3299f0,_0x1a3da1){const _0x36faa6=a0_0x342bd1,_0x44fad9=this[_0x36faa6(0x3c3)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x3299f0+'.'+_0x44fad9+'();';}[a0_0x342bd1(0x278)](_0x3bf143){const _0x382dc6=a0_0x342bd1,_0x5b2101=this['getName'](),_0x4cf39c=_0x3bf143||_0x382dc6(0x45c),_0x4797af={};return _0x4797af['successCode']='const\x20data\x20=\x20await\x20client.models.'+_0x4cf39c+'.'+_0x5b2101+'();',_0x4797af[_0x382dc6(0x3f3)]=_0x382dc6(0x2e2)+_0x4cf39c+'.'+_0x5b2101+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x4797af;}[a0_0x342bd1(0x21b)](){const _0xc4dbc=a0_0x342bd1,_0x2eb7f5=this[_0xc4dbc(0x3c0)](),_0x109a41=Object[_0xc4dbc(0x241)](_0x2eb7f5)['map'](([_0x4ad462,_0x1787d2])=>{const _0x1e05ee=_0xc4dbc,_0x1466e8=_0x1787d2,_0x1f546b={};return _0x1f546b['name']=_0x4ad462,_0x1f546b[_0x1e05ee(0x399)]=_0x1466e8['type']||_0x1e05ee(0x36d),_0x1f546b['description']=_0x1466e8[_0x1e05ee(0x1ca)]||'-',_0x1f546b['required']=_0x1466e8[_0x1e05ee(0x22c)],_0x1f546b;}),_0xa3967b={};return _0xa3967b[_0xc4dbc(0x2af)]=_0x109a41,_0xa3967b;}[a0_0x342bd1(0x218)](){const _0x501ba9=a0_0x342bd1,_0x23afc6=this[_0x501ba9(0x45a)]();if(!_0x23afc6){const _0x5da78f={};return _0x5da78f[_0x501ba9(0x2af)]=[],_0x5da78f;}const _0x59d436=Object[_0x501ba9(0x241)](_0x23afc6)[_0x501ba9(0x2bc)](([_0x1b4edb,_0x3207ff])=>{const _0x32dea8=_0x501ba9,_0x5013d9=_0x3207ff,_0x250910={};return _0x250910[_0x32dea8(0x351)]=_0x1b4edb,_0x250910[_0x32dea8(0x399)]=_0x5013d9['type']||_0x32dea8(0x36d),_0x250910[_0x32dea8(0x1ca)]=_0x5013d9[_0x32dea8(0x1ca)]||'-',_0x250910;}),_0x86adc9={};return _0x86adc9[_0x501ba9(0x2af)]=_0x59d436,_0x86adc9;}['getSystemFields'](){return[];}['getBusinessFields'](){const _0x1e1741=a0_0x342bd1;return this[_0x1e1741(0x244)][_0x1e1741(0x202)]||[];}['getAllParams'](){const _0x3712a5=a0_0x342bd1;return{'systemFields':this[_0x3712a5(0x374)](),'businessFields':this[_0x3712a5(0x3fd)]()};}[a0_0x342bd1(0x216)](_0x4b1045){const _0x24151d=a0_0x342bd1;return this[_0x24151d(0x244)][_0x24151d(0x202)][_0x24151d(0x396)](_0xf234f2=>_0xf234f2?.[_0x24151d(0x2bd)]===_0x4b1045);}['getFieldCode'](_0x36c477){const _0x56d968=a0_0x342bd1;return _0x36c477[_0x56d968(0x2bd)];}['getFieldType'](_0x5ee4cd){const _0x5974fd=a0_0x342bd1;return _0x5ee4cd[_0x5974fd(0x399)];}[a0_0x342bd1(0x2e1)](_0x1d50c7){return _0x1d50c7['name'];}[a0_0x342bd1(0x423)](_0x4f2f30){const _0x4b354d=a0_0x342bd1;return _0x4f2f30[_0x4b354d(0x1ca)];}[a0_0x342bd1(0x2b1)](_0x59d816){const _0x425253=a0_0x342bd1;return _0x59d816[_0x425253(0x3ad)]()||null;}[a0_0x342bd1(0x34d)](_0x20ff40){return _0x20ff40['isPrimaryKey']();}[a0_0x342bd1(0x46d)](){return[];}[a0_0x342bd1(0x467)](_0xa55c68){return[];}['toJSON'](){const _0xc2b75=a0_0x342bd1;return{'name':this[_0xc2b75(0x3c3)](),'displayName':this[_0xc2b75(0x26d)](),'type':this[_0xc2b75(0x2a0)](),'enabled':this[_0xc2b75(0x2f2)](),'method':this[_0xc2b75(0x38b)](),'path':this['getPath'](),'fullUrl':this[_0xc2b75(0x40f)](),'requestParams':this[_0xc2b75(0x3c0)](),'requestExample':this[_0xc2b75(0x2c9)](),'responseExample':this[_0xc2b75(0x22b)]()};}['toString'](){const _0x56d3ff=a0_0x342bd1,_0x25acdb=this[_0x56d3ff(0x2f2)]()?'启用':'禁用';return this[_0x56d3ff(0x26d)]()+'('+this[_0x56d3ff(0x351)]+',\x20'+_0x25acdb+')';}}class GenericOperation extends Operation{[a0_0x342bd1(0x293)];[a0_0x342bd1(0x3c0)](){const _0x745c72=a0_0x342bd1;return this[_0x745c72(0x431)]();}[a0_0x342bd1(0x450)](){const _0x1b8abe=a0_0x342bd1;return this[_0x1b8abe(0x45a)]();}[a0_0x342bd1(0x2c9)](){const _0x240558=a0_0x342bd1;if(this['_requestExampleCache'])return this[_0x240558(0x293)];const _0xc270b0={},_0x116ced=this['getRequestParams'](),_0x32d1a2=this[_0x240558(0x2a0)]();if(Object[_0x240558(0x1ea)](_0x116ced)['length']===0x0&&_0x32d1a2){const _0x2bf272=this['getBusinessFields']();return _0x2bf272['forEach'](_0x3ccccd=>{const _0x133986=_0x240558,_0x36e378=_0x3ccccd[_0x133986(0x2bd)],_0x4b4647=_0x3ccccd['type'],_0x45be5a=this[_0x133986(0x371)](_0x36e378,_0x4b4647,_0x3ccccd['getDbTypeForOperation'](),{'isPrimaryKey':_0x3ccccd[_0x133986(0x353)](),'description':_0x3ccccd[_0x133986(0x1ca)]||_0x3ccccd['name']});_0xc270b0[_0x36e378]=_0x45be5a;}),this[_0x240558(0x293)]=_0xc270b0,_0xc270b0;}return Object['entries'](_0x116ced)['forEach'](([_0x227b47,_0x4d9a3d])=>{const _0x77daf9=_0x240558,_0x2ace1f=_0x4d9a3d;let _0x354e8a;if(typeof _0x2ace1f[_0x77daf9(0x399)]===_0x77daf9(0x3d2))_0x354e8a=_0x2ace1f['type'];else _0x2ace1f[_0x77daf9(0x399)]&&typeof _0x2ace1f[_0x77daf9(0x399)]==='object'?_0x354e8a=_0x2ace1f[_0x77daf9(0x399)][_0x77daf9(0x399)]||_0x77daf9(0x2f1):_0x354e8a=_0x77daf9(0x2f1);const _0x22b900=_0x2ace1f['description'],_0x2b9981=this[_0x77daf9(0x216)](_0x227b47);if(_0x227b47===_0x77daf9(0x401))_0xc270b0[_0x227b47]=0x1;else{if(_0x227b47===_0x77daf9(0x3ac))_0xc270b0[_0x227b47]=0xa;else{if(_0x227b47==='id')_0xc270b0[_0x227b47]=0x1;else{const _0x456239=_0x2b9981?_0x2b9981[_0x77daf9(0x31d)]():undefined,_0x18cbab=_0x2b9981?_0x2b9981['description']:undefined,_0x4274c6=_0x2b9981?_0x2b9981[_0x77daf9(0x351)]:undefined;_0xc270b0[_0x227b47]=this[_0x77daf9(0x371)](_0x227b47,_0x354e8a,_0x456239||undefined,{'isPrimaryKey':_0x227b47===this[_0x77daf9(0x244)][_0x77daf9(0x2ab)]||_0x227b47==='id','description':_0x22b900||_0x18cbab||_0x4274c6});}}}}),this[_0x240558(0x293)]=_0xc270b0,_0xc270b0;}['generateResponseExample'](){const _0x309e77=a0_0x342bd1,_0x2051a7=this[_0x309e77(0x450)]();if(!_0x2051a7){const _0x282409={};return _0x282409['success']=!![],_0x282409[_0x309e77(0x2c4)]=_0x309e77(0x370),_0x282409[_0x309e77(0x291)]='',_0x282409[_0x309e77(0x3f3)]='0000',_0x282409[_0x309e77(0x24c)]=null,_0x282409;}return this[_0x309e77(0x379)](_0x2051a7);}[a0_0x342bd1(0x379)](_0x3afe93){const _0x5bbbfe=a0_0x342bd1;if(!_0x3afe93||typeof _0x3afe93!==_0x5bbbfe(0x1eb))return{};if(Array[_0x5bbbfe(0x200)](_0x3afe93)){if(_0x3afe93['length']>0x0)return[this['generateFromSchema'](_0x3afe93[0x0])];return[];}const _0x2bd220={};return Object['keys'](_0x3afe93)[_0x5bbbfe(0x40c)](_0x2d5289=>{const _0x1ed4ae=_0x5bbbfe,_0x540be0=_0x3afe93[_0x2d5289];if(_0x540be0&&typeof _0x540be0===_0x1ed4ae(0x1eb)&&!Array['isArray'](_0x540be0)&&_0x540be0[_0x1ed4ae(0x399)]){const _0x481a8a=_0x540be0;let _0x855399;if(typeof _0x481a8a[_0x1ed4ae(0x399)]===_0x1ed4ae(0x3d2))_0x855399=_0x481a8a[_0x1ed4ae(0x399)];else _0x481a8a[_0x1ed4ae(0x399)]&&typeof _0x481a8a['type']==='object'?_0x855399=_0x481a8a[_0x1ed4ae(0x399)]['type']||_0x1ed4ae(0x2f1):_0x855399=_0x1ed4ae(0x2f1);const _0x3d167c=_0x481a8a[_0x1ed4ae(0x1ca)],_0x1e6644={};_0x1e6644['description']=_0x3d167c,_0x2bd220[_0x2d5289]=this[_0x1ed4ae(0x371)](_0x2d5289,_0x855399,undefined,_0x1e6644);}else{if(Array['isArray'](_0x540be0))_0x2bd220[_0x2d5289]=_0x540be0[_0x1ed4ae(0x345)]>0x0?[this[_0x1ed4ae(0x379)](_0x540be0[0x0])]:[];else _0x540be0&&typeof _0x540be0==='object'?_0x2bd220[_0x2d5289]=this[_0x1ed4ae(0x379)](_0x540be0):_0x2bd220[_0x2d5289]=_0x540be0;}}),_0x2bd220;}[a0_0x342bd1(0x1b3)](_0x5aaa9d,_0x2c277e){const _0x4a937f=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2c277e||{},_0x145fe9=this[_0x4a937f(0x3c3)](),_0x1ba940=this[_0x4a937f(0x2a0)](),_0x229c43=this['getRequestFields'](),_0x16130b=this[_0x4a937f(0x2c9)](),_0x2b6eb1=_0x48e3e9=>{const _0x243850=_0x4a937f;if(Object['keys'](_0x48e3e9)['length']===0x0)return'{}';const _0x1b40dc=JSON['stringify'](_0x48e3e9,null,0x2)[_0x243850(0x257)]('\x0a')['map']((_0x4f97b6,_0x4d9c0c)=>_0x4d9c0c===0x0?_0x4f97b6:indent+_0x4f97b6)[_0x243850(0x314)]('\x0a');return _0x1b40dc;};switch(_0x1ba940){case _0x4a937f(0x3cb):case _0x4a937f(0x305):return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x3fb);case _0x4a937f(0x1dd):if(useFullExample&&Object['keys'](_0x16130b)[_0x4a937f(0x345)]>0x0)return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x448)+_0x2b6eb1(_0x16130b)+');';return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+'(id,\x20data);';case'create':case _0x4a937f(0x3c5):case _0x4a937f(0x205):default:if(_0x229c43[_0x4a937f(0x345)]>0x0){if(useFullExample&&Object[_0x4a937f(0x1ea)](_0x16130b)[_0x4a937f(0x345)]>0x0)return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+'('+_0x2b6eb1(_0x16130b)+');';else{const _0x4801eb=Object['keys'](_0x16130b);if(_0x4801eb[_0x4a937f(0x345)]>0x0){const _0x5ae919=_0x4801eb[_0x4a937f(0x3eb)](0x0,0x2)[_0x4a937f(0x314)](',\x20');return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x2d2)+_0x5ae919+_0x4a937f(0x3e4);}else return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x298);}}else return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x36f);}}['generateRequestAllExamples'](){const _0x4805be=a0_0x342bd1;return[{'title':_0x4805be(0x1f3),'data':this[_0x4805be(0x2c9)]()}];}[a0_0x342bd1(0x374)](){const _0x1bb8e7=a0_0x342bd1,_0x7a773f=this[_0x1bb8e7(0x2a0)](),_0x299ccf=[];switch(_0x7a773f){case _0x1bb8e7(0x3cb):case _0x1bb8e7(0x305):const _0x471b4b={};_0x471b4b[_0x1bb8e7(0x2bd)]='id',_0x471b4b[_0x1bb8e7(0x399)]=_0x1bb8e7(0x42e),_0x471b4b[_0x1bb8e7(0x1ca)]='主键ID',_0x299ccf[_0x1bb8e7(0x37b)](_0x471b4b);break;case'getList':const _0x2f0afa={};_0x2f0afa[_0x1bb8e7(0x2bd)]=_0x1bb8e7(0x401),_0x2f0afa[_0x1bb8e7(0x399)]=_0x1bb8e7(0x42e),_0x2f0afa[_0x1bb8e7(0x1ca)]='当前页码';const _0x2246cd={};_0x2246cd['code']=_0x1bb8e7(0x3ac),_0x2246cd[_0x1bb8e7(0x399)]=_0x1bb8e7(0x42e),_0x2246cd[_0x1bb8e7(0x1ca)]=_0x1bb8e7(0x3a3),_0x299ccf['push'](_0x2f0afa,_0x2246cd);break;case _0x1bb8e7(0x205):const _0x3a0ad2={};_0x3a0ad2[_0x1bb8e7(0x2bd)]=_0x1bb8e7(0x2bd),_0x3a0ad2[_0x1bb8e7(0x399)]=_0x1bb8e7(0x388),_0x3a0ad2[_0x1bb8e7(0x1ca)]=_0x1bb8e7(0x2e6),_0x299ccf['push'](_0x3a0ad2);break;default:break;}return _0x299ccf;}[a0_0x342bd1(0x3fd)](){const _0x49a398=a0_0x342bd1,_0x2da76d=this[_0x49a398(0x2a0)](),_0x4e980a=this['context'][_0x49a398(0x202)]||[];switch(_0x2da76d){case _0x49a398(0x3cb):case _0x49a398(0x305):return[];case _0x49a398(0x34f):return _0x4e980a[_0x49a398(0x282)](_0x25ef3e=>{const _0x40f0a5=_0x49a398;if(_0x25ef3e['deleted'])return![];if(_0x25ef3e['isPrimaryKey']()&&_0x25ef3e[_0x40f0a5(0x31c)]())return![];if(_0x25ef3e[_0x40f0a5(0x270)]())return![];if(_0x25ef3e[_0x40f0a5(0x276)]()||_0x25ef3e[_0x40f0a5(0x402)]())return![];return!![];});case'update':return _0x4e980a[_0x49a398(0x282)](_0x31e0c6=>{const _0x3caf1b=_0x49a398;if(_0x31e0c6[_0x3caf1b(0x331)])return![];if(_0x31e0c6[_0x3caf1b(0x353)]())return![];if(_0x31e0c6[_0x3caf1b(0x270)]())return![];if(_0x31e0c6[_0x3caf1b(0x276)]()||_0x31e0c6[_0x3caf1b(0x402)]())return![];if(_0x31e0c6[_0x3caf1b(0x31c)]())return![];return!![];});case'getList':case'getSelectOptions':return _0x4e980a['filter'](_0x12bddd=>!_0x12bddd[_0x49a398(0x331)]&&_0x12bddd['isBusiness']());default:return _0x4e980a[_0x49a398(0x282)](_0x2459ca=>!_0x2459ca[_0x49a398(0x331)]&&_0x2459ca['isBusiness']());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x342bd1(0x3c0)](){const _0x308b0e=a0_0x342bd1,_0x2e87fa=super[_0x308b0e(0x3c0)](),_0x3e71e7=Object[_0x308b0e(0x1ea)](_0x2e87fa);if(_0x3e71e7[_0x308b0e(0x345)]===0x0||_0x3e71e7['length']===0x1&&_0x3e71e7[0x0]===_0x308b0e(0x2bd)){if(!_0x2e87fa['code']){const _0x492558={};_0x492558[_0x308b0e(0x399)]='String',_0x492558['description']=_0x308b0e(0x445),_0x2e87fa[_0x308b0e(0x2bd)]=_0x492558;}const _0x2a16cb={};_0x2a16cb[_0x308b0e(0x399)]=_0x308b0e(0x36d),_0x2a16cb[_0x308b0e(0x1ca)]=_0x308b0e(0x2ed),_0x2e87fa[_0x308b0e(0x469)]=_0x2a16cb;}return _0x2e87fa;}[a0_0x342bd1(0x3fd)](){return[];}[a0_0x342bd1(0x374)](){const _0x49eb3d=a0_0x342bd1,_0x15b0a0={};_0x15b0a0[_0x49eb3d(0x2bd)]='code',_0x15b0a0[_0x49eb3d(0x399)]=_0x49eb3d(0x36d),_0x15b0a0[_0x49eb3d(0x1ca)]=_0x49eb3d(0x445);const _0xd30341={};return _0xd30341[_0x49eb3d(0x2bd)]=_0x49eb3d(0x469),_0xd30341[_0x49eb3d(0x399)]='String',_0xd30341[_0x49eb3d(0x1ca)]=_0x49eb3d(0x2ed),[_0x15b0a0,_0xd30341];}[a0_0x342bd1(0x2c9)](){const _0x54077a=a0_0x342bd1,_0xf12e12={};return _0xf12e12[_0x54077a(0x2bd)]=_0x54077a(0x31f),_0xf12e12[_0x54077a(0x469)]='field_name',_0xf12e12;}['generateSDKCallCode'](_0x46d8fa){const _0x1fd10c=a0_0x342bd1,_0x2233a8=this['getName']();return _0x1fd10c(0x20f)+_0x46d8fa+'.'+_0x2233a8+_0x1fd10c(0x225);}}class GetListOperation extends GenericOperation{[a0_0x342bd1(0x3c0)](){const _0xe54ec9=a0_0x342bd1,_0x5979d3=super[_0xe54ec9(0x3c0)](),{currentPage:_0xb6bf9a,pageSize:_0x3319da,..._0x3037b4}=_0x5979d3,_0x26ce9f={};Object[_0xe54ec9(0x241)](_0x3037b4)[_0xe54ec9(0x40c)](([_0x1f2719,_0x142c85])=>{const _0x1eb2cb=_0xe54ec9;if(typeof _0x142c85===_0x1eb2cb(0x1eb)&&_0x142c85!==null){const _0x4551bf=_0x142c85,_0x49664d=_0x4551bf['description']||'',_0x4b3364={..._0x4551bf};_0x4b3364[_0x1eb2cb(0x1ca)]=_0x49664d?_0x49664d+_0x1eb2cb(0x44e):_0x1eb2cb(0x3f6),_0x26ce9f[_0x1f2719]=_0x4b3364;}else _0x26ce9f[_0x1f2719]=_0x142c85;});const _0x5c0643={...typeof _0xb6bf9a===_0xe54ec9(0x1eb)?_0xb6bf9a:{}};_0x5c0643[_0xe54ec9(0x399)]=_0xe54ec9(0x464),_0x5c0643['description']=_0xe54ec9(0x239);const _0x3867b7={...typeof _0x3319da==='object'?_0x3319da:{}};_0x3867b7[_0xe54ec9(0x399)]=_0xe54ec9(0x464),_0x3867b7[_0xe54ec9(0x1ca)]=_0xe54ec9(0x1db);const _0x3b03f7={..._0x26ce9f};return _0x3b03f7[_0xe54ec9(0x401)]=_0x5c0643,_0x3b03f7['pageSize']=_0x3867b7,_0x3b03f7;}['generateRequestExample'](_0x1966f7){const _0x25bc23=a0_0x342bd1,{useArrayValues:useArrayValues=!![]}=_0x1966f7||{},_0x58b64c=super[_0x25bc23(0x2c9)](),{currentPage:_0x315770,pageSize:_0x50b177,..._0x3e4cf6}=_0x58b64c;if(!useArrayValues){const _0x283243={..._0x3e4cf6};return _0x283243[_0x25bc23(0x401)]=_0x315770??0x1,_0x283243[_0x25bc23(0x3ac)]=_0x50b177??0xa,_0x283243;}const _0x3443d0={},_0xf967e8=['id',_0x25bc23(0x1e2),'code',_0x25bc23(0x399)];Object[_0x25bc23(0x241)](_0x3e4cf6)['forEach'](([_0x15a762,_0x1831cd],_0x40bfe3)=>{const _0x4c3f8f=_0x25bc23,_0x2f83a3=_0xf967e8[_0x4c3f8f(0x2a9)](_0x4c6d0d=>_0x15a762[_0x4c3f8f(0x2fc)]()[_0x4c3f8f(0x461)](_0x4c6d0d))||_0x40bfe3%0x3===0x0;if(_0x2f83a3&&_0x1831cd!==null&&_0x1831cd!==undefined){if(typeof _0x1831cd===_0x4c3f8f(0x44b))_0x3443d0[_0x15a762]=[_0x1831cd,_0x1831cd+0x1,_0x1831cd+0x2];else typeof _0x1831cd===_0x4c3f8f(0x3d2)?_0x3443d0[_0x15a762]=[_0x1831cd,_0x1831cd+'_2',_0x1831cd+'_3']:_0x3443d0[_0x15a762]=[_0x1831cd];}else _0x3443d0[_0x15a762]=_0x1831cd;});const _0x5c96a4={..._0x3443d0};return _0x5c96a4[_0x25bc23(0x401)]=_0x315770??0x1,_0x5c96a4['pageSize']=_0x50b177??0xa,_0x5c96a4;}[a0_0x342bd1(0x26f)](){const _0x4c54ce={};return _0x4c54ce['useArrayValues']=![],this['generateRequestExample'](_0x4c54ce);}[a0_0x342bd1(0x28e)](){const _0x39780a=a0_0x342bd1;return[{'title':_0x39780a(0x2a6),'description':_0x39780a(0x453),'data':this[_0x39780a(0x26f)]()},{'title':_0x39780a(0x283),'description':_0x39780a(0x260),'data':this['generateRequestExample']()}];}[a0_0x342bd1(0x1b3)](_0x324130,_0x1e4f80){const _0x26688e=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1e4f80||{},_0x4c7a4d=this[_0x26688e(0x3c3)](),_0x517305={};_0x517305['useArrayValues']=!![];const _0x56f81b=this[_0x26688e(0x2c9)](_0x517305),{currentPage:_0x574920,pageSize:_0x4dd292,..._0x1777df}=_0x56f81b;if(useFullExample&&Object[_0x26688e(0x1ea)](_0x56f81b)['length']>0x0){const _0x491441=Object['keys'](_0x1777df)[_0x26688e(0x345)]>0x0;if(_0x491441){const _0x554c61=this[_0x26688e(0x26f)](),_0xc62ed9=_0x3a9d78=>{const _0x488d60=_0x26688e;return JSON['stringify'](_0x3a9d78,null,0x2)[_0x488d60(0x257)]('\x0a')[_0x488d60(0x2bc)]((_0xa5e705,_0x28d9a6)=>_0x28d9a6===0x0?_0xa5e705:indent+_0xa5e705)['join']('\x0a');};return _0x26688e(0x1b4)+_0x324130+'.'+_0x4c7a4d+'('+_0xc62ed9(_0x554c61)+_0x26688e(0x2f9)+_0x324130+'.'+_0x4c7a4d+'('+_0xc62ed9(_0x56f81b)+');';}else{const _0x57ac48=JSON[_0x26688e(0x301)](_0x56f81b,null,0x2)['split']('\x0a')[_0x26688e(0x2bc)]((_0x3ed998,_0x463d91)=>_0x463d91===0x0?_0x3ed998:indent+_0x3ed998)[_0x26688e(0x314)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x324130+'.'+_0x4c7a4d+'('+_0x57ac48+');';}}if(Object[_0x26688e(0x1ea)](_0x1777df)[_0x26688e(0x345)]>0x0){const _0x1c0bf2=Object[_0x26688e(0x1ea)](_0x1777df)[0x0];return _0x26688e(0x20f)+_0x324130+'.'+_0x4c7a4d+_0x26688e(0x2d2)+_0x1c0bf2+_0x26688e(0x3c6);}return _0x26688e(0x20f)+_0x324130+'.'+_0x4c7a4d+_0x26688e(0x29b);}}var AGGREGATE_FUNCTIONS=[a0_0x342bd1(0x32a),a0_0x342bd1(0x3b3),a0_0x342bd1(0x32f),'max','min'],FILTER_OPERATORS=[a0_0x342bd1(0x1e5),'$ne',a0_0x342bd1(0x2be),a0_0x342bd1(0x2a4),a0_0x342bd1(0x380),'$lteq',a0_0x342bd1(0x46a),a0_0x342bd1(0x313),a0_0x342bd1(0x3e7),a0_0x342bd1(0x1c1),a0_0x342bd1(0x2b7),a0_0x342bd1(0x1d1)];class FilterOperation extends GenericOperation{constructor(_0x50d0f5,_0x55ae98,_0x3fea8b){super(_0x50d0f5,_0x55ae98,_0x3fea8b);}['getOperators'](){return FILTER_OPERATORS;}['getFieldOperators'](_0x4a595c){const _0x2a37b5=a0_0x342bd1,_0x2e0d72=this[_0x2a37b5(0x216)](_0x4a595c);if(!_0x2e0d72)return[];return this[_0x2a37b5(0x2c8)](_0x2e0d72);}['getRequestParams'](){const _0x10ad7b=a0_0x342bd1,_0x4e7bce=super['getRequestParams'](),_0xa8caab={};_0xa8caab[_0x10ad7b(0x399)]=_0x10ad7b(0x3ba),_0xa8caab[_0x10ad7b(0x1ca)]='查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)',_0xa8caab[_0x10ad7b(0x22c)]=![];const _0x49acda={};_0x49acda[_0x10ad7b(0x399)]=_0x10ad7b(0x1ee),_0x49acda['description']=_0x10ad7b(0x30d),_0x49acda[_0x10ad7b(0x22c)]=![];const _0x4d25bc={};_0x4d25bc[_0x10ad7b(0x399)]=_0x10ad7b(0x1c6),_0x4d25bc[_0x10ad7b(0x1ca)]=_0x10ad7b(0x3de),_0x4d25bc[_0x10ad7b(0x22c)]=![];const _0x69d45a={};_0x69d45a['type']='Number',_0x69d45a[_0x10ad7b(0x1ca)]=_0x10ad7b(0x239),_0x69d45a[_0x10ad7b(0x22c)]=![],_0x69d45a[_0x10ad7b(0x348)]=0x1;const _0x45cf47={};_0x45cf47[_0x10ad7b(0x399)]=_0x10ad7b(0x464),_0x45cf47[_0x10ad7b(0x1ca)]='每页数量',_0x45cf47[_0x10ad7b(0x22c)]=![],_0x45cf47['default']=0xa;const _0x4898a0={..._0x4e7bce};return _0x4898a0['where']=_0xa8caab,_0x4898a0['select']=_0x49acda,_0x4898a0[_0x10ad7b(0x1f5)]=_0x4d25bc,_0x4898a0[_0x10ad7b(0x401)]=_0x69d45a,_0x4898a0[_0x10ad7b(0x3ac)]=_0x45cf47,_0x4898a0;}['getSystemFields'](){const _0x3443ed=a0_0x342bd1,_0x531222=this[_0x3443ed(0x3c0)](),_0x5b1715=[],_0x3707a2=['where',_0x3443ed(0x438),'orderBy',_0x3443ed(0x401),_0x3443ed(0x3ac)];return Object[_0x3443ed(0x241)](_0x531222)[_0x3443ed(0x40c)](([_0x162303,_0x57c496])=>{const _0x83eff2=_0x3443ed;if(_0x3707a2[_0x83eff2(0x461)](_0x162303)){const _0x3758eb=_0x57c496,_0xf4024a={};_0xf4024a[_0x83eff2(0x2bd)]=_0x162303,_0xf4024a[_0x83eff2(0x399)]=_0x3758eb[_0x83eff2(0x399)]||_0x83eff2(0x3ba),_0xf4024a[_0x83eff2(0x1ca)]=_0x3758eb['description']||'-',_0x5b1715[_0x83eff2(0x37b)](_0xf4024a);}}),_0x5b1715;}[a0_0x342bd1(0x3fd)](){const _0x5979f6=a0_0x342bd1;return this[_0x5979f6(0x244)][_0x5979f6(0x202)]||[];}[a0_0x342bd1(0x285)](){const _0x1c4399=a0_0x342bd1;return{'systemParams':this[_0x1c4399(0x374)](),'businessFields':this['getBusinessFields']()};}[a0_0x342bd1(0x2c9)](){const _0x354ead=a0_0x342bd1,_0x6de9fe=this[_0x354ead(0x244)][_0x354ead(0x202)]||[];if(_0x6de9fe[_0x354ead(0x345)]===0x0){const _0x3e763f={};return _0x3e763f['where']={},_0x3e763f[_0x354ead(0x401)]=0x1,_0x3e763f[_0x354ead(0x3ac)]=0x14,_0x3e763f;}const _0x1b1b7f={},_0x39ac4a=_0x6de9fe[_0x354ead(0x3eb)](0x0,Math['min'](0x3,_0x6de9fe[_0x354ead(0x345)]));_0x39ac4a[_0x354ead(0x40c)](_0x4ef14c=>{const _0x3ebb1c=_0x354ead,_0x3fc94a=this[_0x3ebb1c(0x2c8)](_0x4ef14c);if(_0x3fc94a[_0x3ebb1c(0x345)]===0x0)return;const _0x1a5cc6=this['selectBestOperator'](_0x4ef14c,_0x3fc94a),_0xbd9786=this[_0x3ebb1c(0x2fd)](_0x4ef14c,_0x1a5cc6),_0x3a27c7={};_0x3a27c7[_0x1a5cc6]=_0xbd9786,_0x1b1b7f[_0x4ef14c[_0x3ebb1c(0x2bd)]]=_0x3a27c7;});const _0x499534=_0x6de9fe[_0x354ead(0x3eb)](0x0,Math[_0x354ead(0x1e8)](0x5,_0x6de9fe[_0x354ead(0x345)]))[_0x354ead(0x2bc)](_0xe1cfdd=>_0xe1cfdd[_0x354ead(0x2bd)]),_0x5116b5=_0x6de9fe[0x0]?_0x6de9fe[0x0]['code']:'id',_0x556dbd={};_0x556dbd[_0x5116b5]='DESC';const _0x183d95={};return _0x183d95['where']=_0x1b1b7f,_0x183d95[_0x354ead(0x438)]=_0x499534,_0x183d95[_0x354ead(0x1f5)]=[_0x556dbd],_0x183d95[_0x354ead(0x401)]=0x1,_0x183d95[_0x354ead(0x3ac)]=0x14,_0x183d95;}[a0_0x342bd1(0x1b3)](_0x2c23a7,_0x5e5f3b){const _0xc16af=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5e5f3b||{},_0x2d6761=this['getName'](),_0x128305=this[_0xc16af(0x2c9)](),_0x4288f6=_0x57a6be=>{const _0x501294=_0xc16af;return JSON[_0x501294(0x301)](_0x57a6be,null,0x2)[_0x501294(0x257)]('\x0a')['map']((_0x450228,_0x335299)=>_0x335299===0x0?_0x450228:indent+_0x450228)['join']('\x0a');};if(useFullExample){const _0x57c0a5=this[_0xc16af(0x244)]['fields']||[],_0x3f1b99={'where':_0x57c0a5[0x0]?{[_0x57c0a5[0x0]['code']]:{'$eq':this['generateExampleValue'](_0x57c0a5[0x0],_0xc16af(0x1e5))}}:{},'select':_0x57c0a5['slice'](0x0,0x3)['map'](_0x43bf57=>_0x43bf57[_0xc16af(0x2bd)]),'currentPage':0x1,'pageSize':0x14};let _0x3918dd='';if(_0x57c0a5['length']>=0x3){const _0x124f73={};_0x124f73[_0xc16af(0x2b7)]=[];const _0x478feb=_0x124f73,_0x268251=[];if(_0x57c0a5['length']>0x0){const _0x2e32b5=_0x57c0a5[_0xc16af(0x396)](_0x475173=>{const _0x54cec7=_0xc16af,_0x49c758=_0x475173[_0x54cec7(0x31d)]();return[_0x54cec7(0x42e),_0x54cec7(0x232),_0x54cec7(0x39a),_0x54cec7(0x336),'TINYINT',_0x54cec7(0x2d9)]['includes'](_0x49c758);});if(_0x2e32b5){const _0x4fb8a6={};_0x4fb8a6[_0xc16af(0x2be)]=0x0,_0x4fb8a6[_0xc16af(0x380)]=0x64;const _0x5ba3be={[_0x2e32b5[_0xc16af(0x2bd)]]:_0x4fb8a6};_0x268251[_0xc16af(0x37b)](_0x5ba3be);}}if(_0x57c0a5['length']>0x1){const _0x5bd6ea=_0x57c0a5[_0xc16af(0x396)](_0x42ff3a=>{const _0x654a38=_0xc16af,_0x4fe708=_0x42ff3a[_0x654a38(0x31d)]();return[_0x654a38(0x388),'TEXT',_0x654a38(0x355),_0x654a38(0x407),_0x654a38(0x387)]['includes'](_0x4fe708);});if(_0x5bd6ea){const _0x249d2c={};_0x249d2c['$contain']=_0xc16af(0x426);const _0x336734={[_0x5bd6ea[_0xc16af(0x2bd)]]:_0x249d2c};_0x268251[_0xc16af(0x37b)](_0x336734);}}if(_0x268251[_0xc16af(0x345)]>0x0){_0x478feb[_0xc16af(0x2b7)]=_0x268251;const _0x3134cb={'where':_0x478feb,'select':_0x57c0a5[_0xc16af(0x3eb)](0x0,0x4)[_0xc16af(0x2bc)](_0x11c016=>_0x11c016['code']),'orderBy':[{[_0x57c0a5[0x0][_0xc16af(0x2bd)]]:_0xc16af(0x316)}],'currentPage':0x1,'pageSize':0x14};_0x3918dd=_0xc16af(0x38c)+_0x2c23a7+'.'+_0x2d6761+'('+_0x4288f6(_0x3134cb)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x2c23a7+'.'+_0x2d6761+'('+_0x4288f6(_0x3f1b99)+');'+_0x3918dd;}const _0x4f2829=JSON[_0xc16af(0x301)](_0x128305,null,0x2)[_0xc16af(0x257)]('\x0a')['map']((_0x44a04e,_0x4011a1)=>_0x4011a1===0x0?_0x44a04e:indent+_0x44a04e)[_0xc16af(0x314)]('\x0a');return _0xc16af(0x20f)+_0x2c23a7+'.'+_0x2d6761+'('+_0x4f2829+');';}[a0_0x342bd1(0x2c8)](_0x2fb29a){const _0x492e24=a0_0x342bd1,_0x5449a0=_0x2fb29a[_0x492e24(0x31d)](),_0x5274fc=[];if([_0x492e24(0x42e),_0x492e24(0x232),_0x492e24(0x39a),_0x492e24(0x349)][_0x492e24(0x461)](_0x5449a0)||[_0x492e24(0x336),'TINYINT',_0x492e24(0x2d9),'DOUBLE',_0x492e24(0x44a)]['includes'](_0x5449a0))_0x5274fc[_0x492e24(0x37b)]('$eq',_0x492e24(0x428),_0x492e24(0x2be),_0x492e24(0x380),_0x492e24(0x2a4),_0x492e24(0x35d),_0x492e24(0x46a));else{if([_0x492e24(0x388),'TEXT',_0x492e24(0x355)][_0x492e24(0x461)](_0x5449a0)||[_0x492e24(0x407),_0x492e24(0x387)][_0x492e24(0x461)](_0x5449a0))_0x5274fc[_0x492e24(0x37b)](_0x492e24(0x1e5),_0x492e24(0x428),_0x492e24(0x46a),_0x492e24(0x313),_0x492e24(0x3e7),_0x492e24(0x1c1));else{if([_0x492e24(0x3db),'DATETIME',_0x492e24(0x1da)][_0x492e24(0x461)](_0x5449a0)||[_0x492e24(0x1c4)][_0x492e24(0x461)](_0x5449a0))_0x5274fc['push'](_0x492e24(0x1e5),'$ne','$gte',_0x492e24(0x380),'$gteq',_0x492e24(0x35d));else['BOOLEAN',_0x492e24(0x43a),_0x492e24(0x37d)][_0x492e24(0x461)](_0x5449a0)?_0x5274fc['push'](_0x492e24(0x1e5),_0x492e24(0x428)):_0x5274fc['push']('$eq',_0x492e24(0x428));}}return _0x5274fc;}['selectBestOperator'](_0x2be9a8,_0x23102b){const _0x1b6e65=a0_0x342bd1,_0x131627=_0x2be9a8[_0x1b6e65(0x31d)]();if([_0x1b6e65(0x42e),_0x1b6e65(0x232),_0x1b6e65(0x39a),'DECIMAL'][_0x1b6e65(0x461)](_0x131627)||[_0x1b6e65(0x336),_0x1b6e65(0x2d7),_0x1b6e65(0x2d9),_0x1b6e65(0x21d),'FLOAT'][_0x1b6e65(0x461)](_0x131627))return _0x23102b[_0x1b6e65(0x461)](_0x1b6e65(0x2be))?_0x1b6e65(0x2be):_0x1b6e65(0x1e5);if([_0x1b6e65(0x388),_0x1b6e65(0x2f1),_0x1b6e65(0x355)][_0x1b6e65(0x461)](_0x131627)||[_0x1b6e65(0x407),_0x1b6e65(0x387)][_0x1b6e65(0x461)](_0x131627))return _0x23102b[_0x1b6e65(0x461)](_0x1b6e65(0x313))?_0x1b6e65(0x313):_0x1b6e65(0x1e5);if([_0x1b6e65(0x3db),'DATETIME','TIMESTAMP','TIME'][_0x1b6e65(0x461)](_0x131627))return _0x23102b['includes'](_0x1b6e65(0x2be))?_0x1b6e65(0x2be):'$eq';return _0x1b6e65(0x1e5);}[a0_0x342bd1(0x2fd)](_0x1398bb,_0xbdc69){const _0x15b01d=a0_0x342bd1,_0x25e4d4=_0x1398bb[_0x15b01d(0x31d)](),_0x1dd8fb=_0x1398bb['getEnumOptions']();if(_0x1dd8fb&&_0x1dd8fb[_0x15b01d(0x345)]>0x0){if(_0xbdc69===_0x15b01d(0x46a))return _0x1dd8fb['slice'](0x0,0x2)[_0x15b01d(0x2bc)](_0x2a66fa=>_0x2a66fa[_0x15b01d(0x3d9)]);return _0x1dd8fb[0x0][_0x15b01d(0x3d9)];}if(['NUMBER',_0x15b01d(0x232),_0x15b01d(0x39a),_0x15b01d(0x349)][_0x15b01d(0x461)](_0x25e4d4)||[_0x15b01d(0x336),'TINYINT',_0x15b01d(0x2d9),'DOUBLE','FLOAT'][_0x15b01d(0x461)](_0x25e4d4)){if(_0xbdc69==='$in')return[0x1,0x2,0x3];if(_0xbdc69===_0x15b01d(0x2be)||_0xbdc69===_0x15b01d(0x2a4))return 0x0;if(_0xbdc69===_0x15b01d(0x380)||_0xbdc69===_0x15b01d(0x35d))return 0x64;return 0x1;}if([_0x15b01d(0x388),'TEXT','VARCHAR'][_0x15b01d(0x461)](_0x25e4d4)||[_0x15b01d(0x407),'LONGTEXT'][_0x15b01d(0x461)](_0x25e4d4)){if(_0xbdc69===_0x15b01d(0x46a))return[_0x15b01d(0x229),'value2'];if(_0xbdc69===_0x15b01d(0x313))return'keyword';if(_0xbdc69===_0x15b01d(0x3e7))return _0x15b01d(0x1ba);if(_0xbdc69===_0x15b01d(0x1c1))return _0x15b01d(0x369);return _0x15b01d(0x3d9);}if([_0x15b01d(0x3db),_0x15b01d(0x302),'TIMESTAMP',_0x15b01d(0x1c4)][_0x15b01d(0x461)](_0x25e4d4)){if(_0xbdc69===_0x15b01d(0x2be)||_0xbdc69===_0x15b01d(0x2a4))return _0x15b01d(0x308);if(_0xbdc69==='$lte'||_0xbdc69===_0x15b01d(0x35d))return _0x15b01d(0x3cc);return _0x15b01d(0x308);}if(['BOOLEAN',_0x15b01d(0x43a),_0x15b01d(0x37d)][_0x15b01d(0x461)](_0x25e4d4))return!![];return _0xbdc69==='$in'?[_0x15b01d(0x229),'value2']:_0x15b01d(0x3d9);}[a0_0x342bd1(0x21b)](){const _0x5d2016=a0_0x342bd1,_0x2b81c6=super[_0x5d2016(0x3c0)](),_0x4ccc58=Object[_0x5d2016(0x241)](_0x2b81c6)[_0x5d2016(0x282)](([_0x41ddc0])=>_0x41ddc0!==_0x5d2016(0x401)&&_0x41ddc0!==_0x5d2016(0x3ac))['map'](([_0x81f1c2,_0x531b70])=>{const _0x20b5d6=_0x5d2016,_0xd6322d=_0x531b70,_0x352dc2={};return _0x352dc2[_0x20b5d6(0x351)]=_0x81f1c2,_0x352dc2[_0x20b5d6(0x399)]=_0xd6322d[_0x20b5d6(0x399)]||_0x20b5d6(0x36d),_0x352dc2[_0x20b5d6(0x1ca)]=_0xd6322d['description']||'-',_0x352dc2[_0x20b5d6(0x22c)]=_0xd6322d[_0x20b5d6(0x22c)],_0x352dc2;}),_0x18058f={};return _0x18058f[_0x5d2016(0x1ca)]=_0x5d2016(0x2dd),_0x18058f['params']=_0x4ccc58,_0x18058f;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x57bfd5=a0_0x342bd1,_0x3faabf=super[_0x57bfd5(0x3c0)]();if(Object[_0x57bfd5(0x1ea)](_0x3faabf)[_0x57bfd5(0x345)]===0x0){const _0x44e14f={};this[_0x57bfd5(0x244)][_0x57bfd5(0x202)]['forEach'](_0x559694=>{const _0x1d2f28=_0x57bfd5;if(_0x559694){const _0x251b4d=_0x559694[_0x1d2f28(0x2bd)],_0x97e7a9=_0x559694[_0x1d2f28(0x31d)](),_0x2dab99={};_0x2dab99['type']=_0x97e7a9||_0x1d2f28(0x2f1),_0x2dab99[_0x1d2f28(0x1e6)]=_0x559694[_0x1d2f28(0x1e6)],_0x2dab99[_0x1d2f28(0x1ca)]=_0x559694[_0x1d2f28(0x1ca)]||_0x559694[_0x1d2f28(0x351)],_0x44e14f[_0x251b4d]=_0x2dab99;}});const _0x2f064e={};_0x2f064e[_0x57bfd5(0x399)]=_0x57bfd5(0x3e9),_0x2f064e[_0x57bfd5(0x1ca)]=_0x57bfd5(0x36c),_0x44e14f['currentPage']=_0x2f064e;const _0x457c2a={};return _0x457c2a[_0x57bfd5(0x399)]=_0x57bfd5(0x3e9),_0x457c2a[_0x57bfd5(0x1ca)]=_0x57bfd5(0x42d),_0x44e14f[_0x57bfd5(0x3ac)]=_0x457c2a,_0x44e14f;}return _0x3faabf;}[a0_0x342bd1(0x2c9)](){const _0x5c41c8=a0_0x342bd1,_0x2c9b4a=super[_0x5c41c8(0x2c9)]();if(Object[_0x5c41c8(0x1ea)](_0x2c9b4a)[_0x5c41c8(0x345)]===0x0){const _0x1af30d={};return _0x1af30d[_0x5c41c8(0x401)]=0x1,_0x1af30d[_0x5c41c8(0x3ac)]=0x64,_0x1af30d;}const _0x33b976={..._0x2c9b4a};return _0x33b976[_0x5c41c8(0x401)]=_0x2c9b4a['currentPage']??0x1,_0x33b976[_0x5c41c8(0x3ac)]=_0x2c9b4a[_0x5c41c8(0x3ac)]??0x64,_0x33b976;}[a0_0x342bd1(0x22b)](){const _0xdb6e75=a0_0x342bd1,_0x43c269={};return _0x43c269[_0xdb6e75(0x284)]=!![],_0x43c269[_0xdb6e75(0x2c4)]='',_0x43c269[_0xdb6e75(0x291)]='',_0x43c269[_0xdb6e75(0x3f3)]=_0xdb6e75(0x310),_0x43c269[_0xdb6e75(0x24c)]=_0xdb6e75(0x372),_0x43c269[_0xdb6e75(0x2af)]=null,_0x43c269;}[a0_0x342bd1(0x1b3)](_0x42e1e,_0x32f990){const _0x4889ff=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x32f990||{},_0x2541f9=this[_0x4889ff(0x3c3)]();if(useFullExample){const _0x1c8e9e=this[_0x4889ff(0x2c9)](),{currentPage:_0x4b1769,pageSize:_0x39311f,..._0x3a2415}=_0x1c8e9e,_0x5b7b88=Object[_0x4889ff(0x1ea)](_0x3a2415)[_0x4889ff(0x345)]>0x0;if(_0x5b7b88){const _0x34ac32=_0x41b623=>{const _0x5d32ed=_0x4889ff;return JSON[_0x5d32ed(0x301)](_0x41b623,null,0x2)['split']('\x0a')['map']((_0x4be04b,_0x46f60c)=>_0x46f60c===0x0?_0x4be04b:indent+_0x4be04b)[_0x5d32ed(0x314)]('\x0a');};return _0x4889ff(0x437)+_0x42e1e+'.'+_0x2541f9+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x42e1e+'.'+_0x2541f9+'('+_0x34ac32(_0x1c8e9e)+');';}else{const _0x174acf=_0x5fb860=>{return JSON['stringify'](_0x5fb860,null,0x2)['split']('\x0a')['map']((_0x1d929d,_0x1daa33)=>_0x1daa33===0x0?_0x1d929d:indent+_0x1d929d)['join']('\x0a');},_0x3c5cce={};return _0x3c5cce[_0x4889ff(0x401)]=0x1,_0x3c5cce[_0x4889ff(0x3ac)]=0x64,_0x4889ff(0x437)+_0x42e1e+'.'+_0x2541f9+_0x4889ff(0x398)+_0x42e1e+'.'+_0x2541f9+'('+_0x174acf(_0x3c5cce)+');';}}return _0x4889ff(0x35f)+_0x42e1e+'.'+_0x2541f9+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}['generateUsageExample'](_0x25da14){const _0x23d3ca=a0_0x342bd1,_0x3b441b=this[_0x23d3ca(0x3c3)](),_0xe664d1=_0x25da14||_0x23d3ca(0x45c),_0x445527=_0x23d3ca(0x1de)+_0xe664d1+'.'+_0x3b441b+_0x23d3ca(0x3a9),_0x35092c=_0x23d3ca(0x41b)+_0xe664d1+'.'+_0x3b441b+_0x23d3ca(0x1fb),_0x3ee66c={};return _0x3ee66c[_0x23d3ca(0x236)]=_0x445527,_0x3ee66c[_0x23d3ca(0x3f3)]=_0x35092c,_0x3ee66c;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x55dcd9=a0_0x342bd1;return this[_0x55dcd9(0x431)]();}['getRequestParams'](){const _0x1c84f5=a0_0x342bd1,_0x1e34a6=this['getUpdateFields'](),_0x1ffea9={};_0x1ffea9[_0x1c84f5(0x399)]=_0x1c84f5(0x42e),_0x1ffea9[_0x1c84f5(0x1ca)]=_0x1c84f5(0x1d7),_0x1ffea9[_0x1c84f5(0x22c)]=!![];const _0x339dac={};_0x339dac['type']='object',_0x339dac['description']='要更新的字段数据对象',_0x339dac[_0x1c84f5(0x22c)]=!![],_0x339dac[_0x1c84f5(0x395)]=_0x1e34a6;const _0x2d4938={};return _0x2d4938['id']=_0x1ffea9,_0x2d4938[_0x1c84f5(0x24c)]=_0x339dac,_0x2d4938;}[a0_0x342bd1(0x1ae)](){const _0x48bd21=a0_0x342bd1;return this[_0x48bd21(0x307)]();}[a0_0x342bd1(0x2eb)](){const _0x4609f2=a0_0x342bd1,_0x5bc5e0=this[_0x4609f2(0x244)][_0x4609f2(0x202)]||[],_0x3db044=this['context'][_0x4609f2(0x2ab)],_0x3097c1=_0x5bc5e0[_0x4609f2(0x396)](_0x9dae87=>_0x9dae87[_0x4609f2(0x353)]()||_0x9dae87[_0x4609f2(0x2bd)]===_0x3db044),_0x3cfcac=_0x5bc5e0[_0x4609f2(0x282)](_0x3138d4=>{const _0x1a4cca=_0x4609f2;if(_0x3138d4[_0x1a4cca(0x331)])return![];if(_0x3138d4===_0x3097c1||_0x3138d4['isPrimaryKey']())return![];if(_0x3138d4['isCreateTime']()||_0x3138d4[_0x1a4cca(0x402)]())return![];if(_0x3138d4[_0x1a4cca(0x31c)]())return![];return!![];});return _0x3097c1?[_0x3097c1,..._0x3cfcac]:_0x3cfcac;}[a0_0x342bd1(0x22a)](){const _0x14c5de=a0_0x342bd1,_0x12cc17=this[_0x14c5de(0x2eb)](),_0x38c0e7=this[_0x14c5de(0x244)][_0x14c5de(0x2ab)],_0x2de22d=_0x12cc17[_0x14c5de(0x2bc)](_0x1369f8=>{const _0x5d59b3=_0x14c5de,_0x558aae=_0x1369f8['isPrimaryKey']()||_0x1369f8[_0x5d59b3(0x2bd)]===_0x38c0e7,_0x4dd68d=_0x558aae?'id':_0x1369f8['code'],_0x36f2bd={};return _0x36f2bd[_0x5d59b3(0x351)]=_0x4dd68d,_0x36f2bd[_0x5d59b3(0x399)]=_0x1369f8[_0x5d59b3(0x399)],_0x36f2bd[_0x5d59b3(0x1ca)]=_0x558aae?'主键,用于定位要更新的记录'+(_0x38c0e7&&_0x38c0e7!==_0x1369f8['code']?_0x5d59b3(0x419)+_0x1369f8[_0x5d59b3(0x2bd)]+')':''):_0x1369f8[_0x5d59b3(0x1ca)]||_0x1369f8[_0x5d59b3(0x351)],_0x36f2bd;}),_0x310c6e={};return _0x310c6e[_0x14c5de(0x1ca)]=_0x14c5de(0x290),_0x310c6e[_0x14c5de(0x2af)]=_0x2de22d,_0x310c6e;}['getRequestParamsDocInfo'](){const _0x28ee30=a0_0x342bd1,_0x1122ef=this['getUpdateFields'](),_0x2239c0=Object['entries'](_0x1122ef)[_0x28ee30(0x2bc)](([_0x208b24,_0x58011f])=>{const _0x2e346c=_0x28ee30,_0x3293cb=_0x58011f,_0x3d8689={};return _0x3d8689[_0x2e346c(0x351)]=_0x208b24,_0x3d8689['type']=_0x3293cb[_0x2e346c(0x399)]||_0x2e346c(0x36d),_0x3d8689[_0x2e346c(0x1ca)]=_0x3293cb['description']||'-',_0x3d8689;}),_0x5c2733={};return _0x5c2733[_0x28ee30(0x1ca)]='update\x20接口接受两个参数:\x0a\x0a'+_0x28ee30(0x2ce)+_0x28ee30(0x3a4)+'**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a'+_0x28ee30(0x1fe)+'**可更新的字段列表:**',_0x5c2733[_0x28ee30(0x2af)]=_0x2239c0,_0x5c2733;}[a0_0x342bd1(0x2c9)](){const _0x552f94=a0_0x342bd1,_0x2804d7=this['getUpdateFields'](),_0x2e5261={};Object[_0x552f94(0x241)](_0x2804d7)['forEach'](([_0x3acea3,_0x34186e])=>{const _0x517aff=_0x552f94,_0x458a37=_0x34186e;let _0x5207ca;if(typeof _0x458a37[_0x517aff(0x399)]===_0x517aff(0x3d2))_0x5207ca=_0x458a37[_0x517aff(0x399)];else _0x458a37[_0x517aff(0x399)]&&typeof _0x458a37[_0x517aff(0x399)]===_0x517aff(0x1eb)?_0x5207ca=_0x458a37[_0x517aff(0x399)][_0x517aff(0x399)]||_0x517aff(0x2f1):_0x5207ca='TEXT';const _0x5f07bd=_0x458a37[_0x517aff(0x1ca)],_0x3172c6=this['getFieldDefinition'](_0x3acea3);_0x2e5261[_0x3acea3]=this['generateFieldExample'](_0x3acea3,_0x5207ca,_0x3172c6?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x5f07bd||_0x3172c6?.[_0x517aff(0x1ca)]||_0x3172c6?.[_0x517aff(0x351)]});});const _0x550c2f={};return _0x550c2f['id']=0x1,_0x550c2f[_0x552f94(0x24c)]=_0x2e5261,_0x550c2f;}[a0_0x342bd1(0x28e)](){const _0x1f4cd7=a0_0x342bd1,_0x3f00e9=this['generateRequestExample'](),_0x5dbbd7={};return _0x5dbbd7[_0x1f4cd7(0x254)]='SDK\x20调用示例(两参数格式)',_0x5dbbd7['description']=_0x1f4cd7(0x1d9)+_0x1f4cd7(0x412)+_0x1f4cd7(0x3ce),_0x5dbbd7['data']=_0x3f00e9,[_0x5dbbd7,{'title':_0x1f4cd7(0x41f),'description':_0x1f4cd7(0x1bb)+_0x1f4cd7(0x27c)+'-\x20其他要更新的字段直接平铺在同一层级','data':this[_0x1f4cd7(0x38d)]()}];}[a0_0x342bd1(0x38d)](){const _0x16554f=a0_0x342bd1,_0x30b529=this[_0x16554f(0x307)](),_0x14f53c={};_0x14f53c['id']=0x1;const _0x5943dc=_0x14f53c;return Object[_0x16554f(0x241)](_0x30b529)[_0x16554f(0x40c)](([_0x2f67a1,_0x1f0b1b])=>{const _0x18b154=_0x16554f,_0x3bd656=_0x1f0b1b;let _0x265c97;if(typeof _0x3bd656['type']===_0x18b154(0x3d2))_0x265c97=_0x3bd656[_0x18b154(0x399)];else _0x3bd656[_0x18b154(0x399)]&&typeof _0x3bd656[_0x18b154(0x399)]==='object'?_0x265c97=_0x3bd656['type'][_0x18b154(0x399)]||_0x18b154(0x2f1):_0x265c97='TEXT';const _0x5ac00a=_0x3bd656['description'],_0x27dc92=this['getFieldDefinition'](_0x2f67a1);if(_0x27dc92?.['isPrimaryKey']())return;_0x5943dc[_0x2f67a1]=this['generateFieldExample'](_0x2f67a1,_0x265c97,_0x27dc92?.[_0x18b154(0x31d)](),{'isPrimaryKey':![],'description':_0x5ac00a||_0x27dc92?.['description']||_0x27dc92?.[_0x18b154(0x351)]});}),_0x5943dc;}['generateHTTPExample'](){return this['generateHTTPRequestExample']();}[a0_0x342bd1(0x1b3)](_0x25b45a,_0x149280){const _0x557949=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x149280||{},_0x252602=this['getName']();if(useFullExample){const _0x3b15b8=this['generateRequestExample'](),_0x39d9de=JSON[_0x557949(0x301)](_0x3b15b8[_0x557949(0x24c)],null,0x2)[_0x557949(0x257)]('\x0a')['map']((_0x4110ad,_0x13758c)=>_0x13758c===0x0?_0x4110ad:indent+_0x4110ad)[_0x557949(0x314)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x25b45a+'.'+_0x252602+'('+_0x3b15b8['id']+',\x20'+_0x39d9de+');';}return'const\x20result\x20=\x20await\x20client.models.'+_0x25b45a+'.'+_0x252602+_0x557949(0x3ff);}}class AggregateOperation extends GenericOperation{constructor(_0xb2758,_0x465a1a,_0x12d715){super(_0xb2758,_0x465a1a,_0x12d715);}[a0_0x342bd1(0x253)](_0x5de3d4){const _0xa97bff=a0_0x342bd1;return _0x5de3d4[_0xa97bff(0x36e)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0xa97bff(0x266)]()[_0xa97bff(0x2b5)]();}[a0_0x342bd1(0x37e)](){return AGGREGATE_FUNCTIONS;}[a0_0x342bd1(0x3c0)](){const _0x20de02=a0_0x342bd1,_0x47541a=super[_0x20de02(0x3c0)](),_0x3aa962={};_0x3aa962[_0x20de02(0x399)]=_0x20de02(0x1ee),_0x3aa962[_0x20de02(0x1ca)]=_0x20de02(0x36b),_0x3aa962[_0x20de02(0x22c)]=![];const _0x45ea91={};_0x45ea91[_0x20de02(0x399)]=_0x20de02(0x3ba),_0x45ea91['description']=_0x20de02(0x27f),_0x45ea91[_0x20de02(0x22c)]=![];const _0x1be6c1={};_0x1be6c1[_0x20de02(0x399)]=_0x20de02(0x1ee),_0x1be6c1[_0x20de02(0x1ca)]=_0x20de02(0x294),_0x1be6c1['required']=![];const _0x315d06={};_0x315d06[_0x20de02(0x399)]=_0x20de02(0x421),_0x315d06[_0x20de02(0x1ca)]='聚合函数配置数组',_0x315d06['required']=![];const _0x5c91cc={};_0x5c91cc[_0x20de02(0x399)]=_0x20de02(0x421),_0x5c91cc[_0x20de02(0x1ca)]=_0x20de02(0x1f4),_0x5c91cc[_0x20de02(0x22c)]=![];const _0xf1a55f={};_0xf1a55f['type']=_0x20de02(0x421),_0xf1a55f[_0x20de02(0x1ca)]=_0x20de02(0x444),_0xf1a55f[_0x20de02(0x22c)]=![];const _0x53d87f={};_0x53d87f[_0x20de02(0x399)]=_0x20de02(0x464),_0x53d87f['description']=_0x20de02(0x3bf),_0x53d87f[_0x20de02(0x22c)]=![];const _0x42e60e={};_0x42e60e[_0x20de02(0x399)]=_0x20de02(0x464),_0x42e60e['description']='每页数量(默认:\x2020)',_0x42e60e['required']=![];const _0x28f807={..._0x47541a};return _0x28f807[_0x20de02(0x438)]=_0x3aa962,_0x28f807['where']=_0x45ea91,_0x28f807[_0x20de02(0x383)]=_0x1be6c1,_0x28f807[_0x20de02(0x268)]=_0x315d06,_0x28f807[_0x20de02(0x3a5)]=_0x5c91cc,_0x28f807[_0x20de02(0x1f5)]=_0xf1a55f,_0x28f807[_0x20de02(0x401)]=_0x53d87f,_0x28f807[_0x20de02(0x3ac)]=_0x42e60e,_0x28f807;}['getSystemFields'](){const _0x237232=a0_0x342bd1,_0x221f2b={};_0x221f2b[_0x237232(0x2bd)]='select',_0x221f2b[_0x237232(0x399)]='String[]',_0x221f2b['description']=_0x237232(0x36b);const _0x21e8f5={};_0x21e8f5[_0x237232(0x2bd)]=_0x237232(0x2df),_0x21e8f5[_0x237232(0x399)]=_0x237232(0x3ba),_0x21e8f5['description']=_0x237232(0x27f);const _0x22d0d7={};_0x22d0d7['code']=_0x237232(0x383),_0x22d0d7[_0x237232(0x399)]=_0x237232(0x1ee),_0x22d0d7['description']=_0x237232(0x294);const _0x49eead={};_0x49eead[_0x237232(0x2bd)]='aggregate',_0x49eead[_0x237232(0x399)]=_0x237232(0x421),_0x49eead[_0x237232(0x1ca)]=_0x237232(0x35b);const _0x3394d0={};_0x3394d0['code']=_0x237232(0x3a5),_0x3394d0[_0x237232(0x399)]='Array',_0x3394d0[_0x237232(0x1ca)]=_0x237232(0x1f4);const _0x2ebc68={};_0x2ebc68[_0x237232(0x2bd)]=_0x237232(0x1f5),_0x2ebc68['type']=_0x237232(0x421),_0x2ebc68['description']=_0x237232(0x444);const _0x28df2a={};_0x28df2a[_0x237232(0x2bd)]=_0x237232(0x401),_0x28df2a['type']='Number',_0x28df2a[_0x237232(0x1ca)]='当前页码(从\x201\x20开始,默认:\x201)';const _0x350f03={};return _0x350f03[_0x237232(0x2bd)]=_0x237232(0x3ac),_0x350f03[_0x237232(0x399)]=_0x237232(0x464),_0x350f03[_0x237232(0x1ca)]=_0x237232(0x288),[_0x221f2b,_0x21e8f5,_0x22d0d7,_0x49eead,_0x3394d0,_0x2ebc68,_0x28df2a,_0x350f03];}[a0_0x342bd1(0x2c9)](){const _0xa269ac=a0_0x342bd1,_0x35b129=this[_0xa269ac(0x244)][_0xa269ac(0x202)]||[];if(_0x35b129[_0xa269ac(0x345)]===0x0){const _0xe1e7d6={};return _0xe1e7d6[_0xa269ac(0x2df)]={},_0xe1e7d6[_0xa269ac(0x383)]=[],_0xe1e7d6[_0xa269ac(0x268)]=[],_0xe1e7d6;}const _0xd275c8={},_0xdf3751=_0x35b129[_0xa269ac(0x3eb)](0x0,Math['min'](0x3,_0x35b129[_0xa269ac(0x345)]));_0xdf3751['forEach'](_0x131800=>{const _0x26c7ff=_0xa269ac,_0x1fce74=this[_0x26c7ff(0x2c8)](_0x131800);if(_0x1fce74['length']===0x0)return;const _0xf0f46e=this[_0x26c7ff(0x2fb)](_0x131800,_0x1fce74),_0x470bd1=this[_0x26c7ff(0x2fd)](_0x131800,_0xf0f46e),_0x4ee50d={};_0x4ee50d[_0xf0f46e]=_0x470bd1,_0xd275c8[_0x131800[_0x26c7ff(0x2bd)]]=_0x4ee50d;});const _0x3b8d21=_0x35b129[_0xa269ac(0x3eb)](0x0,Math[_0xa269ac(0x1e8)](0x2,_0x35b129[_0xa269ac(0x345)]))[_0xa269ac(0x2bc)](_0x4f6e29=>_0x4f6e29['code']),_0xffd573=[],_0x1ce4c7=_0x35b129[_0xa269ac(0x282)](_0x2c747f=>this[_0xa269ac(0x248)](_0x2c747f));if(_0x1ce4c7[_0xa269ac(0x345)]>0x0){const _0x5b3123=_0x1ce4c7[0x0],_0x266073=_0x5b3123[_0xa269ac(0x2bd)],_0x5c07d4={};_0x5c07d4[_0xa269ac(0x399)]=_0xa269ac(0x32a),_0x5c07d4[_0xa269ac(0x299)]=_0x266073,_0x5c07d4[_0xa269ac(0x347)]=_0x266073+_0xa269ac(0x3b1),_0x5c07d4[_0xa269ac(0x1ff)]=![],_0x5c07d4[_0xa269ac(0x1c9)]=!![],_0x5c07d4['precision']=0x2,_0xffd573[_0xa269ac(0x37b)](_0x5c07d4);const _0x5a7d2d={};_0x5a7d2d['type']=_0xa269ac(0x32f),_0x5a7d2d[_0xa269ac(0x299)]=_0x266073,_0x5a7d2d['alias']=_0x266073+_0xa269ac(0x37c),_0x5a7d2d['distinct']=![],_0x5a7d2d[_0xa269ac(0x1c9)]=!![],_0x5a7d2d[_0xa269ac(0x24d)]=0x2,_0xffd573[_0xa269ac(0x37b)](_0x5a7d2d);const _0x7b7564={};_0x7b7564[_0xa269ac(0x399)]=_0xa269ac(0x3fc),_0x7b7564[_0xa269ac(0x299)]=_0x266073,_0x7b7564[_0xa269ac(0x347)]=_0x266073+'_max',_0x7b7564['distinct']=![],_0x7b7564['round']=!![],_0x7b7564[_0xa269ac(0x24d)]=0x2,_0xffd573['push'](_0x7b7564);const _0x2e815f={};_0x2e815f[_0xa269ac(0x399)]=_0xa269ac(0x1e8),_0x2e815f[_0xa269ac(0x299)]=_0x266073,_0x2e815f[_0xa269ac(0x347)]=_0x266073+_0xa269ac(0x210),_0x2e815f['distinct']=![],_0x2e815f[_0xa269ac(0x1c9)]=!![],_0x2e815f['precision']=0x2,_0xffd573[_0xa269ac(0x37b)](_0x2e815f);}else{if(_0x35b129[_0xa269ac(0x345)]>0x0){const _0x43276a=_0x35b129[0x0],_0x3f0724=_0x43276a[_0xa269ac(0x2bd)],_0x10620c={};_0x10620c[_0xa269ac(0x399)]='count',_0x10620c['column']=_0x3f0724,_0x10620c[_0xa269ac(0x347)]='total_count',_0x10620c[_0xa269ac(0x1ff)]=!![],_0xffd573['push'](_0x10620c);}}const _0x56552=[];if(_0x35b129[_0xa269ac(0x345)]>0x0){const _0x5779d2=_0x35b129[0x0][_0xa269ac(0x2bd)],_0x690c09={};_0x690c09[_0x5779d2]=_0xa269ac(0x24a),_0x56552[_0xa269ac(0x37b)](_0x690c09);}const _0x66457a=[..._0x3b8d21,..._0xffd573['map'](_0x163608=>_0x163608[_0xa269ac(0x347)])],_0x297167=[];if(_0xffd573[_0xa269ac(0x345)]>0x0){const _0x1cee9e={};_0x1cee9e[_0xa269ac(0x2be)]=0x0;const _0x32b8eb={};_0x32b8eb[_0xa269ac(0x230)]=_0xffd573[0x0][_0xa269ac(0x347)],_0x32b8eb[_0xa269ac(0x212)]=_0x1cee9e,_0x297167[_0xa269ac(0x37b)](_0x32b8eb);}const _0x1eed95={};return _0x1eed95[_0xa269ac(0x438)]=_0x66457a,_0x1eed95[_0xa269ac(0x2df)]=_0xd275c8,_0x1eed95[_0xa269ac(0x383)]=_0x3b8d21,_0x1eed95[_0xa269ac(0x268)]=_0xffd573,_0x1eed95[_0xa269ac(0x3a5)]=_0x297167[_0xa269ac(0x345)]>0x0?_0x297167:undefined,_0x1eed95[_0xa269ac(0x1f5)]=_0x56552,_0x1eed95['currentPage']=0x1,_0x1eed95[_0xa269ac(0x3ac)]=0x14,_0x1eed95;}['generateSDKCallCode'](_0x47c357,_0x4305d9){const _0x54d402=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4305d9||{},_0x2ae87f=this[_0x54d402(0x3c3)](),_0x476d97=this['generateRequestExample'](),_0x2139f9=_0x11677c=>{const _0x161236=_0x54d402;return JSON[_0x161236(0x301)](_0x11677c,null,0x2)[_0x161236(0x257)]('\x0a')['map']((_0x3c99a6,_0x211c99)=>_0x211c99===0x0?_0x3c99a6:indent+_0x3c99a6)[_0x161236(0x314)]('\x0a');};if(useFullExample){const _0x3f5fa3=this[_0x54d402(0x244)][_0x54d402(0x202)]||[],_0x5c6576=_0x3f5fa3[_0x54d402(0x282)](_0x2eab67=>this[_0x54d402(0x248)](_0x2eab67)),_0x4b6e1d={'where':_0x3f5fa3[0x0]?{[_0x3f5fa3[0x0]['code']]:{'$eq':this[_0x54d402(0x2fd)](_0x3f5fa3[0x0],'$eq')}}:{},'aggregate':_0x5c6576['length']>0x0?[{'type':'sum','column':_0x5c6576[0x0][_0x54d402(0x2bd)],'alias':_0x5c6576[0x0][_0x54d402(0x2bd)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':'count','column':_0x3f5fa3[0x0][_0x54d402(0x2bd)],'alias':_0x54d402(0x21f),'distinct':!![]}],'orderBy':[{[_0x3f5fa3[0x0][_0x54d402(0x2bd)]]:'desc'}]};let _0x3928fc='';return _0x3f5fa3[_0x54d402(0x345)]>=0x3&&(_0x3928fc=_0x54d402(0x1e0)+_0x47c357+'.'+_0x2ae87f+'('+_0x2139f9(_0x476d97)+');'),_0x54d402(0x3cd)+_0x47c357+'.'+_0x2ae87f+'('+_0x2139f9(_0x4b6e1d)+');'+_0x3928fc;}const _0x2c1b71=JSON[_0x54d402(0x301)](_0x476d97,null,0x2)[_0x54d402(0x257)]('\x0a')[_0x54d402(0x2bc)]((_0x104f33,_0x25b21e)=>_0x25b21e===0x0?_0x104f33:indent+_0x104f33)['join']('\x0a');return _0x54d402(0x20f)+_0x47c357+'.'+_0x2ae87f+'('+_0x2c1b71+');';}[a0_0x342bd1(0x248)](_0x282541){const _0x394320=a0_0x342bd1,_0x4d15a3=_0x282541[_0x394320(0x31d)]();return[_0x394320(0x42e),'INTEGER','BIGINT','DECIMAL'][_0x394320(0x461)](_0x4d15a3)||[_0x394320(0x336),_0x394320(0x2d7),'SMALLINT',_0x394320(0x21d),_0x394320(0x44a)][_0x394320(0x461)](_0x4d15a3);}[a0_0x342bd1(0x2c8)](_0x188230){const _0x21749c=a0_0x342bd1,_0x4ed0e8=_0x188230['getDbTypeForOperation'](),_0x4f6bbc=[];if([_0x21749c(0x42e),_0x21749c(0x232),_0x21749c(0x39a),_0x21749c(0x349)][_0x21749c(0x461)](_0x4ed0e8)||[_0x21749c(0x336),_0x21749c(0x2d7),_0x21749c(0x2d9),_0x21749c(0x21d),_0x21749c(0x44a)][_0x21749c(0x461)](_0x4ed0e8))_0x4f6bbc[_0x21749c(0x37b)]('$eq',_0x21749c(0x428),'$gte','$lte',_0x21749c(0x2a4),'$lteq',_0x21749c(0x46a));else{if(['STRING',_0x21749c(0x2f1),_0x21749c(0x355)]['includes'](_0x4ed0e8)||[_0x21749c(0x407),_0x21749c(0x387)][_0x21749c(0x461)](_0x4ed0e8))_0x4f6bbc[_0x21749c(0x37b)](_0x21749c(0x1e5),_0x21749c(0x428),'$in','$contain','$startWith','$endWith');else{if([_0x21749c(0x3db),_0x21749c(0x302),_0x21749c(0x1da)][_0x21749c(0x461)](_0x4ed0e8)||[_0x21749c(0x1c4)][_0x21749c(0x461)](_0x4ed0e8))_0x4f6bbc['push'](_0x21749c(0x1e5),'$ne',_0x21749c(0x2be),_0x21749c(0x380),_0x21749c(0x2a4),_0x21749c(0x35d));else[_0x21749c(0x2de),_0x21749c(0x43a),'BIT'][_0x21749c(0x461)](_0x4ed0e8)?_0x4f6bbc['push'](_0x21749c(0x1e5),'$ne'):_0x4f6bbc[_0x21749c(0x37b)]('$eq','$ne');}}return _0x4f6bbc;}[a0_0x342bd1(0x2fb)](_0x22c328,_0x394543){const _0x40e825=a0_0x342bd1,_0x2ed9a2=_0x22c328['getDbTypeForOperation']();if([_0x40e825(0x42e),_0x40e825(0x232),_0x40e825(0x39a),_0x40e825(0x349)][_0x40e825(0x461)](_0x2ed9a2)||[_0x40e825(0x336),_0x40e825(0x2d7),_0x40e825(0x2d9),_0x40e825(0x21d),_0x40e825(0x44a)]['includes'](_0x2ed9a2))return _0x394543['includes'](_0x40e825(0x2be))?'$gte':'$eq';if([_0x40e825(0x388),_0x40e825(0x2f1),'VARCHAR']['includes'](_0x2ed9a2)||[_0x40e825(0x407),_0x40e825(0x387)][_0x40e825(0x461)](_0x2ed9a2))return _0x394543['includes'](_0x40e825(0x313))?'$contain':'$eq';if([_0x40e825(0x3db),'DATETIME',_0x40e825(0x1da),_0x40e825(0x1c4)][_0x40e825(0x461)](_0x2ed9a2))return _0x394543[_0x40e825(0x461)]('$gte')?_0x40e825(0x2be):_0x40e825(0x1e5);return _0x40e825(0x1e5);}[a0_0x342bd1(0x2fd)](_0x38c9f0,_0xa4c874){const _0x422d31=a0_0x342bd1,_0x219de0=_0x38c9f0[_0x422d31(0x31d)](),_0x234c8b=_0x38c9f0[_0x422d31(0x3ad)]();if(_0x234c8b&&_0x234c8b[_0x422d31(0x345)]>0x0){if(_0xa4c874==='$in')return _0x234c8b[_0x422d31(0x3eb)](0x0,0x2)[_0x422d31(0x2bc)](_0x172d73=>_0x172d73[_0x422d31(0x3d9)]);return _0x234c8b[0x0]['value'];}if([_0x422d31(0x42e),'INTEGER','BIGINT','DECIMAL'][_0x422d31(0x461)](_0x219de0)||[_0x422d31(0x336),'TINYINT',_0x422d31(0x2d9),_0x422d31(0x21d),_0x422d31(0x44a)][_0x422d31(0x461)](_0x219de0)){if(_0xa4c874===_0x422d31(0x46a))return[0x1,0x2,0x3];if(_0xa4c874===_0x422d31(0x2be)||_0xa4c874==='$gteq')return 0x0;if(_0xa4c874==='$lte'||_0xa4c874==='$lteq')return 0x64;return 0x1;}if([_0x422d31(0x388),_0x422d31(0x2f1),_0x422d31(0x355)]['includes'](_0x219de0)||['CHAR',_0x422d31(0x387)]['includes'](_0x219de0)){if(_0xa4c874==='$in')return['value1',_0x422d31(0x1ec)];if(_0xa4c874===_0x422d31(0x313))return _0x422d31(0x426);if(_0xa4c874===_0x422d31(0x3e7))return _0x422d31(0x1ba);if(_0xa4c874==='$endWith')return _0x422d31(0x369);return _0x422d31(0x3d9);}if([_0x422d31(0x3db),_0x422d31(0x302),_0x422d31(0x1da),_0x422d31(0x1c4)][_0x422d31(0x461)](_0x219de0)){if(_0xa4c874===_0x422d31(0x2be)||_0xa4c874===_0x422d31(0x2a4))return _0x422d31(0x308);if(_0xa4c874===_0x422d31(0x380)||_0xa4c874===_0x422d31(0x35d))return _0x422d31(0x3cc);return _0x422d31(0x308);}if(['BOOLEAN',_0x422d31(0x43a),_0x422d31(0x37d)]['includes'](_0x219de0))return!![];return _0xa4c874===_0x422d31(0x46a)?[_0x422d31(0x229),_0x422d31(0x1ec)]:_0x422d31(0x3d9);}['getRequestParamsDocInfo'](){const _0x2f128a=a0_0x342bd1,_0xd9fbd5=this[_0x2f128a(0x3c0)](),_0x443b01=Object[_0x2f128a(0x241)](_0xd9fbd5)[_0x2f128a(0x282)](([_0x55a5d])=>_0x55a5d!==_0x2f128a(0x401)&&_0x55a5d!=='pageSize')[_0x2f128a(0x2bc)](([_0x48f2f6,_0x39da80])=>{const _0x3d7691=_0x2f128a,_0x39b3ff=_0x39da80,_0x11fd7f={};return _0x11fd7f[_0x3d7691(0x351)]=_0x48f2f6,_0x11fd7f['type']=_0x39b3ff['type']||_0x3d7691(0x36d),_0x11fd7f[_0x3d7691(0x1ca)]=_0x39b3ff['description']||'-',_0x11fd7f[_0x3d7691(0x22c)]=_0x39b3ff['required'],_0x11fd7f;}),_0x60dc={};return _0x60dc[_0x2f128a(0x1ca)]='\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregate`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20HavingCondition[];\x20//\x20分组后的过滤条件(可选,对聚合结果进行过滤)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20column:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a\x0ainterface\x20HavingCondition\x20{\x0a\x20\x20columnName:\x20string;\x20//\x20聚合字段的别名(alias)\x0a\x20\x20condition:\x20WhereCondition;\x20//\x20聚合字段的过滤条件(支持与\x20where\x20相同的操作符)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**HavingCondition\x20使用示例**\x0a\x0a```ts\x0ahaving:\x20[\x0a\x20\x20{\x20columnName:\x20\x22total_amount\x22,\x20condition:\x20{\x20$gte:\x2010000\x20}\x20},\x0a\x20\x20{\x20columnName:\x20\x22count\x22,\x20condition:\x20{\x20$lte:\x20100\x20}\x20}\x0a]\x0a```\x0a\x0a**可用聚合字段**\x0a',_0x60dc['params']=_0x443b01,_0x60dc;}['generateResponseExample'](){const _0x2bf04d=a0_0x342bd1,_0x3a326f=this[_0x2bf04d(0x2c9)]()[_0x2bf04d(0x268)],_0x222846=[{}],_0x1ef250=[];_0x3a326f?.['forEach'](_0x32f393=>{const _0x527772=_0x2bf04d,_0x58e90e={};_0x58e90e['title']=_0x32f393[_0x527772(0x347)],_0x58e90e[_0x527772(0x30c)]=_0x32f393[_0x527772(0x347)],_0x1ef250[_0x527772(0x37b)](_0x58e90e),_0x222846[0x0][_0x32f393[_0x527772(0x347)]]=_0x32f393[_0x527772(0x399)]==='count'?0x64:Math['round'](Math[_0x527772(0x2b3)]()*0x64*0x64)/0x64;});const _0x5cec4c={};_0x5cec4c[_0x2bf04d(0x3ac)]=0x1,_0x5cec4c['totalCount']=0x64,_0x5cec4c[_0x2bf04d(0x401)]=0x1;const _0x27df85={};_0x27df85['paging']=_0x5cec4c,_0x27df85[_0x2bf04d(0x1bd)]=_0x222846,_0x27df85[_0x2bf04d(0x32e)]=_0x1ef250;const _0x2489aa={};return _0x2489aa[_0x2bf04d(0x284)]=!![],_0x2489aa[_0x2bf04d(0x2c4)]='',_0x2489aa[_0x2bf04d(0x291)]='',_0x2489aa[_0x2bf04d(0x3f3)]='0000',_0x2489aa['data']=_0x27df85,_0x2489aa[_0x2bf04d(0x2af)]=null,_0x2489aa;}}class OperationFactory{[a0_0x342bd1(0x34f)](_0x1f163c,_0x48be34,_0x2a5c2e){const _0x3cfbb9=a0_0x342bd1;switch(_0x1f163c){case _0x3cfbb9(0x205):return new GetSelectOptionsOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case'getList':return new GetListOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case _0x3cfbb9(0x282):return new FilterOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case _0x3cfbb9(0x271):return new ExcelExportOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case'update':return new UpdateOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case _0x3cfbb9(0x268):return new AggregateOperation(_0x1f163c,_0x48be34,_0x2a5c2e);default:return new GenericOperation(_0x1f163c,_0x48be34,_0x2a5c2e);}}[a0_0x342bd1(0x333)](_0x2714f4,_0x10ae10){const _0x104906=a0_0x342bd1,_0x452ab3=new Map();return Object[_0x104906(0x241)](_0x2714f4)['forEach'](([_0x20afd8,_0x290ed6])=>{const _0x394f1e=_0x104906;_0x452ab3[_0x394f1e(0x3a0)](_0x20afd8,this['create'](_0x20afd8,_0x290ed6,_0x10ae10));}),_0x452ab3;}}class OperationList{[a0_0x342bd1(0x2c5)];constructor(_0xfbdf9b,_0x24a9c8){const _0x454b7a=new OperationFactory();this['_operations']=_0x454b7a['createAll'](_0xfbdf9b,_0x24a9c8);}[a0_0x342bd1(0x394)](_0x5ed0f1){const _0x37b532=a0_0x342bd1;return this['_operations'][_0x37b532(0x394)](_0x5ed0f1);}['has'](_0x40ddd5){const _0x37e9d4=a0_0x342bd1;return this[_0x37e9d4(0x2c5)][_0x37e9d4(0x2a1)](_0x40ddd5);}[a0_0x342bd1(0x1b1)](){const _0xa8876a=a0_0x342bd1;return this[_0xa8876a(0x2c5)][_0xa8876a(0x1b1)];}[a0_0x342bd1(0x33b)](){const _0x385142=a0_0x342bd1;return Array[_0x385142(0x30f)](this[_0x385142(0x2c5)][_0x385142(0x1ea)]());}[a0_0x342bd1(0x3bd)](){const _0x4bea62=a0_0x342bd1,_0x45de67=Array[_0x4bea62(0x30f)](this[_0x4bea62(0x2c5)][_0x4bea62(0x31e)]());return this[_0x4bea62(0x3a1)](_0x45de67);}[a0_0x342bd1(0x384)](){const _0x57c333=a0_0x342bd1;return this[_0x57c333(0x3bd)]()[_0x57c333(0x282)](_0x9508e6=>_0x9508e6['isEnabled']());}[a0_0x342bd1(0x206)](){const _0x2c7d52=a0_0x342bd1;return this[_0x2c7d52(0x3bd)]()['filter'](_0x1b40b1=>!_0x1b40b1[_0x2c7d52(0x2f2)]());}['getEnabledNames'](){const _0x21e1ff=a0_0x342bd1;return this[_0x21e1ff(0x384)]()[_0x21e1ff(0x2bc)](_0x6aa026=>_0x6aa026[_0x21e1ff(0x3c3)]());}[a0_0x342bd1(0x454)](){const _0x7f2f98=a0_0x342bd1;return this[_0x7f2f98(0x206)]()[_0x7f2f98(0x2bc)](_0x1bc827=>_0x1bc827[_0x7f2f98(0x3c3)]());}[a0_0x342bd1(0x359)](_0x109656){const _0x3338c7=a0_0x342bd1;return this[_0x3338c7(0x3bd)]()['filter'](_0x148503=>_0x148503[_0x3338c7(0x2a0)]()===_0x109656);}['filter'](_0x38675a){const _0x1e71ec=a0_0x342bd1;return this[_0x1e71ec(0x3bd)]()[_0x1e71ec(0x282)](_0x38675a);}[a0_0x342bd1(0x365)](_0x48a32e={}){const _0x446d8a=a0_0x342bd1;let _0x3ba5e9=this[_0x446d8a(0x3bd)]();!_0x48a32e[_0x446d8a(0x433)]&&(_0x3ba5e9=_0x3ba5e9[_0x446d8a(0x282)](_0x3a5a64=>_0x3a5a64[_0x446d8a(0x2f2)]()));if(_0x48a32e[_0x446d8a(0x3be)]!==![]){const _0x183ac0=_0x3ba5e9['map'](_0x64f4ee=>({'name':_0x64f4ee[_0x446d8a(0x3c3)](),'operation':_0x64f4ee})),_0x2bb5a8=filterApiOperations(_0x183ac0);_0x3ba5e9=_0x2bb5a8[_0x446d8a(0x2bc)](_0x57965c=>_0x57965c['operation']),_0x3ba5e9=this[_0x446d8a(0x3a1)](_0x3ba5e9);}return _0x48a32e['customFilter']&&(_0x3ba5e9=_0x3ba5e9[_0x446d8a(0x282)](_0x48a32e[_0x446d8a(0x251)])),_0x3ba5e9;}[a0_0x342bd1(0x3a1)](_0x38f0b4){const _0x3afdef=a0_0x342bd1,_0x33390b=_0x38f0b4['find'](_0x1b939c=>_0x1b939c[_0x3afdef(0x3c3)]()===_0x3afdef(0x282)),_0x55c99f=_0x38f0b4['filter'](_0x419418=>_0x419418['getName']()!==_0x3afdef(0x282));return _0x33390b?[_0x33390b,..._0x55c99f]:_0x55c99f;}[a0_0x342bd1(0x1cb)](){const _0x403bf7=a0_0x342bd1,_0x4ab785=this[_0x403bf7(0x384)]();return{'total':this['size'](),'enabled':_0x4ab785[_0x403bf7(0x345)],'disabled':this['size']()-_0x4ab785['length'],'byType':this[_0x403bf7(0x2a8)](_0x4ab785),'byMethod':this['getCountByMethod'](_0x4ab785)};}[a0_0x342bd1(0x2a8)](_0x8e4dd2){const _0x33b12f={};return _0x8e4dd2['forEach'](_0x7a5d70=>{const _0xa5db38=a0_0x380d,_0x551bef=_0x7a5d70[_0xa5db38(0x2a0)]();_0x551bef&&(_0x33b12f[_0x551bef]=(_0x33b12f[_0x551bef]||0x0)+0x1);}),_0x33b12f;}[a0_0x342bd1(0x3a7)](_0x6f0a87){const _0x136622={};return _0x6f0a87['forEach'](_0x2fb759=>{const _0x5e6b58=a0_0x380d,_0x426b82=_0x2fb759[_0x5e6b58(0x38b)]();_0x426b82&&(_0x136622[_0x426b82]=(_0x136622[_0x426b82]||0x0)+0x1);}),_0x136622;}[Symbol[a0_0x342bd1(0x24b)]](){const _0x56a341=a0_0x342bd1;return this[_0x56a341(0x2c5)][_0x56a341(0x31e)]();}[a0_0x342bd1(0x279)](){const _0x229eff=a0_0x342bd1,_0x2c16e5=this[_0x229eff(0x1cb)]();return _0x229eff(0x350)+_0x2c16e5['enabled']+'/'+_0x2c16e5[_0x229eff(0x263)]+_0x229eff(0x2cc);}}class DBConfig{[a0_0x342bd1(0x43b)];[a0_0x342bd1(0x442)];['dbName'];[a0_0x342bd1(0x2e0)];[a0_0x342bd1(0x23d)];[a0_0x342bd1(0x269)];[a0_0x342bd1(0x1fd)];[a0_0x342bd1(0x2ab)];['tenantCode'];[a0_0x342bd1(0x223)];constructor(_0x5378e3,_0x450f02){const _0x4d9d38=a0_0x342bd1;this[_0x4d9d38(0x43b)]=_0x450f02,this[_0x4d9d38(0x442)]=_0x5378e3[_0x4d9d38(0x442)],this[_0x4d9d38(0x406)]=_0x5378e3[_0x4d9d38(0x406)],this[_0x4d9d38(0x2e0)]=_0x5378e3['dbType'],this['dbVersion']=_0x5378e3[_0x4d9d38(0x23d)],this[_0x4d9d38(0x269)]=_0x5378e3[_0x4d9d38(0x269)],this[_0x4d9d38(0x1fd)]=_0x5378e3[_0x4d9d38(0x1fd)],this[_0x4d9d38(0x2ab)]=_0x5378e3[_0x4d9d38(0x2ab)],this[_0x4d9d38(0x264)]=_0x5378e3['tenantCode'],this[_0x4d9d38(0x223)]=_0x5378e3[_0x4d9d38(0x223)];}[a0_0x342bd1(0x289)](){const _0x380452=a0_0x342bd1;return this[_0x380452(0x43b)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x342bd1(0x219)];[a0_0x342bd1(0x378)];[a0_0x342bd1(0x2ee)];constructor(_0x16f8ac){const _0x39ecf8=a0_0x342bd1,_0x397542={..._0x16f8ac};_0x397542['id']=_0x16f8ac[_0x39ecf8(0x470)]||_0x16f8ac['id'],_0x397542[_0x39ecf8(0x37f)]=_0x16f8ac['modelCode']||_0x16f8ac['datasetCode']||_0x16f8ac['code'],super(_0x397542);}[a0_0x342bd1(0x377)](){return;}[a0_0x342bd1(0x247)](){return[];}[a0_0x342bd1(0x451)](){return[];}get[a0_0x342bd1(0x328)](){const _0x71fdf4=a0_0x342bd1;return this[_0x71fdf4(0x2e3)]();}[a0_0x342bd1(0x28f)](){const _0xeb9668=a0_0x342bd1;if(!this['_fieldList']){const _0x48eeb8=this[_0xeb9668(0x228)]();throw new Error(_0xeb9668(0x2ec));}return this[_0xeb9668(0x378)];}[a0_0x342bd1(0x364)](){const _0x2f89e1=a0_0x342bd1;if(!this['_fieldListWithDeleted']){const _0x155772=this[_0x2f89e1(0x228)]();throw new Error(_0x2f89e1(0x3bc));}return this[_0x2f89e1(0x2ee)];}['getFields'](){return[];}[a0_0x342bd1(0x326)](){const _0x2ddda6=a0_0x342bd1,_0xcdb048=this[_0x2ddda6(0x228)]();return _0xcdb048[_0x2ddda6(0x202)];}[a0_0x342bd1(0x2ca)](){const _0x1343f2=a0_0x342bd1;return this[_0x1343f2(0x34a)]()['length'];}[a0_0x342bd1(0x2fe)](_0x3a7ff4){const _0x5c6d0e=a0_0x342bd1,_0x4cf368=this['getFieldInstance'](_0x3a7ff4);return _0x4cf368?_0x4cf368[_0x5c6d0e(0x43b)]:undefined;}[a0_0x342bd1(0x246)](_0x4bb864){return;}[a0_0x342bd1(0x3ee)](_0x4e7819){const _0x32a837=a0_0x342bd1;if(!_0x4e7819||typeof _0x4e7819!==_0x32a837(0x1eb))return!![]&&console[_0x32a837(0x1fc)](_0x32a837(0x2ea),_0x4e7819),{};if(_0x32a837(0x2ab)in _0x4e7819){const _0x99587c=_0x4e7819;return{'primaryKey':typeof _0x99587c['pkField']===_0x32a837(0x32b)?_0x99587c[_0x32a837(0x2ab)]:Boolean(_0x99587c['pkField']),'required':_0x99587c[_0x32a837(0x22c)],'systemRetain':Boolean(_0x99587c['systemRetain']),'autoIncrement':_0x99587c[_0x32a837(0x468)]??undefined};}if(!(_0x32a837(0x2f8)in _0x4e7819)||!_0x4e7819[_0x32a837(0x2f8)])return{};try{const _0x45b0e4=typeof _0x4e7819[_0x32a837(0x2f8)]===_0x32a837(0x3d2)?JSON['parse'](_0x4e7819['extend']):_0x4e7819['extend'];if(typeof _0x45b0e4!==_0x32a837(0x1eb)||_0x45b0e4===null)return{};return _0x45b0e4;}catch{return{};}}[a0_0x342bd1(0x2b0)](){const _0x25ac1e=a0_0x342bd1;if(!this[_0x25ac1e(0x219)]){const _0x5f1dae=this[_0x25ac1e(0x424)](this[_0x25ac1e(0x2d0)]()||{});this[_0x25ac1e(0x219)]=new OperationList(_0x5f1dae,{'fields':this['getFieldList']()['all'](),'pkField':this[_0x25ac1e(0x3c9)][_0x25ac1e(0x1b2)]?.[_0x25ac1e(0x2ab)],'dbtableConfig':this[_0x25ac1e(0x3c9)][_0x25ac1e(0x1b2)]||null});}return this[_0x25ac1e(0x219)];}[a0_0x342bd1(0x424)](_0x59f8c0){const _0x13a392=a0_0x342bd1;if(_0x59f8c0['filter']!==undefined)return _0x59f8c0;return{..._0x59f8c0,'filter':this[_0x13a392(0x447)]()};}['generateDefaultFilterOperation'](){const _0x56d4be=a0_0x342bd1,_0x5dd9c9=this[_0x56d4be(0x2d0)]()?.[_0x56d4be(0x3c5)];let _0x1209b3=_0x5dd9c9?.[_0x56d4be(0x3d8)],_0x1788f5='';if(!_0x1209b3&&this[_0x56d4be(0x2d0)]()){const _0x30782a=Object[_0x56d4be(0x31e)](this[_0x56d4be(0x2d0)]());for(const _0x2a8d32 of _0x30782a){if(_0x2a8d32&&typeof _0x2a8d32===_0x56d4be(0x1eb)&&'host'in _0x2a8d32){_0x1209b3=_0x2a8d32[_0x56d4be(0x3d8)];break;}}}if(_0x5dd9c9?.['path']){const _0x2f857e=_0x5dd9c9[_0x56d4be(0x361)],_0x66ec20=_0x2f857e[_0x56d4be(0x1cd)]('/');_0x66ec20!==-0x1&&(_0x1788f5=_0x2f857e[_0x56d4be(0x3ec)](0x0,_0x66ec20));}const _0x1158fe={};_0x1158fe['name']=_0x56d4be(0x2df),_0x1158fe[_0x56d4be(0x399)]=_0x56d4be(0x1eb),_0x1158fe[_0x56d4be(0x22c)]=![];const _0x25ebf4={};_0x25ebf4[_0x56d4be(0x351)]=_0x56d4be(0x438),_0x25ebf4[_0x56d4be(0x399)]='array',_0x25ebf4[_0x56d4be(0x22c)]=![];const _0x5b7593={};_0x5b7593[_0x56d4be(0x351)]=_0x56d4be(0x1f5),_0x5b7593[_0x56d4be(0x399)]=_0x56d4be(0x261),_0x5b7593[_0x56d4be(0x22c)]=![];const _0x49e073={};_0x49e073[_0x56d4be(0x351)]=_0x56d4be(0x401),_0x49e073['type']=_0x56d4be(0x44b),_0x49e073[_0x56d4be(0x22c)]=![],_0x49e073[_0x56d4be(0x348)]=0x1;const _0x5e694b={};_0x5e694b[_0x56d4be(0x351)]=_0x56d4be(0x3ac),_0x5e694b[_0x56d4be(0x399)]=_0x56d4be(0x44b),_0x5e694b['required']=![],_0x5e694b[_0x56d4be(0x348)]=0xa;const _0x431f3f={};return _0x431f3f[_0x56d4be(0x351)]=_0x56d4be(0x282),_0x431f3f['type']='query',_0x431f3f['description']=_0x56d4be(0x1af),_0x431f3f['method']='POST',_0x431f3f[_0x56d4be(0x3d8)]=_0x1209b3,_0x431f3f['path']=_0x1788f5?_0x1788f5+_0x56d4be(0x2ac):'/filter',_0x431f3f[_0x56d4be(0x2af)]=_0x5dd9c9?.[_0x56d4be(0x2af)]||[_0x1158fe,_0x25ebf4,_0x5b7593,_0x49e073,_0x5e694b],_0x431f3f[_0x56d4be(0x375)]=!![],_0x431f3f;}['getOperations'](){const _0x178b74=a0_0x342bd1;return this['getOperationList']()[_0x178b74(0x3bd)]();}[a0_0x342bd1(0x42b)](){const _0x3ac941=a0_0x342bd1;return this[_0x3ac941(0x2b0)]()[_0x3ac941(0x1b1)]();}[a0_0x342bd1(0x465)](_0x1a12e9){const _0x4ef76c=a0_0x342bd1;if(typeof _0x1a12e9!==_0x4ef76c(0x3d2)){!![]&&console[_0x4ef76c(0x1fc)](_0x4ef76c(0x1cf),_0x1a12e9);return;}return this[_0x4ef76c(0x2b0)]()[_0x4ef76c(0x394)](_0x1a12e9);}['hasOperation'](_0x59e1d4){const _0x4a88b8=a0_0x342bd1;if(typeof _0x59e1d4!=='string')return![];return this[_0x4a88b8(0x2b0)]()['has'](_0x59e1d4);}[a0_0x342bd1(0x417)](_0x32ac14){const _0x305cc4=a0_0x342bd1;if(typeof _0x32ac14!==_0x305cc4(0x3d2))return![];const _0xa7dd8b=this[_0x305cc4(0x465)](_0x32ac14);return _0xa7dd8b?.[_0x305cc4(0x2f2)]()||![];}['getEnabledOperations'](){const _0x968c20=a0_0x342bd1;return this[_0x968c20(0x2b0)]()[_0x968c20(0x40d)]();}['getDisabledOperations'](){const _0x2bdf59=a0_0x342bd1;return this[_0x2bdf59(0x2b0)]()[_0x2bdf59(0x454)]();}[a0_0x342bd1(0x30b)](){const _0x458d56=a0_0x342bd1;return this[_0x458d56(0x2b0)]()['getEnabled']();}['getDisabledOperationInstances'](){const _0x290f21=a0_0x342bd1;return this['getOperationList']()[_0x290f21(0x206)]();}['getFilteredOperations'](_0x4fa1a3={}){return this['getOperationList']()['getFiltered'](_0x4fa1a3);}[a0_0x342bd1(0x1cb)](){const _0xd9cf75=a0_0x342bd1;return{'fieldCount':this[_0xd9cf75(0x2ca)](),'systemFieldCount':this['getSystemFields']()[_0xd9cf75(0x345)],'businessFieldCount':this[_0xd9cf75(0x3fd)]()['length'],'requiredFieldCount':this['getRequiredFields']()[_0xd9cf75(0x345)],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this[_0xd9cf75(0x42b)](),'enabledOperationCount':this[_0xd9cf75(0x3b6)]()['length']};}[a0_0x342bd1(0x25a)](_0x376b9e){const _0x4a6a24=a0_0x342bd1;if(!_0x376b9e||typeof _0x376b9e!==_0x4a6a24(0x1eb))return'';if(_0x4a6a24(0x2bd)in _0x376b9e&&typeof _0x376b9e[_0x4a6a24(0x2bd)]===_0x4a6a24(0x3d2))return _0x376b9e[_0x4a6a24(0x2bd)];if(_0x4a6a24(0x351)in _0x376b9e&&typeof _0x376b9e[_0x4a6a24(0x351)]===_0x4a6a24(0x3d2))return _0x376b9e[_0x4a6a24(0x351)];return'';}[a0_0x342bd1(0x39b)](_0x55c559){const _0x697f72=a0_0x342bd1;return this[_0x697f72(0x28f)]()[_0x697f72(0x2a1)](_0x55c559);}[a0_0x342bd1(0x1c0)](_0x4ab09c){const _0x5bcecb=a0_0x342bd1;if(!_0x4ab09c||typeof _0x4ab09c!==_0x5bcecb(0x1eb))return![];const _0x1cde0c=this['getFieldCode'](_0x4ab09c),_0x235bba=this[_0x5bcecb(0x2cb)](_0x1cde0c);return _0x235bba?_0x235bba[_0x5bcecb(0x353)]():![];}[a0_0x342bd1(0x2b4)](_0x5c148d){const _0x39e1cd=a0_0x342bd1;if(!_0x5c148d||typeof _0x5c148d!=='object')return![];const _0x5bb787=this['getFieldCode'](_0x5c148d),_0x158b65=this[_0x39e1cd(0x2cb)](_0x5bb787);return _0x158b65?_0x158b65[_0x39e1cd(0x270)]():![];}[a0_0x342bd1(0x1ef)](_0x28896c){const _0x263ae3=a0_0x342bd1;if(!_0x28896c||typeof _0x28896c!=='object')return![];const _0x2e879d=this[_0x263ae3(0x25a)](_0x28896c),_0x42b351=this[_0x263ae3(0x2cb)](_0x2e879d);return _0x42b351?_0x42b351[_0x263ae3(0x303)]():![];}[a0_0x342bd1(0x346)](_0x51d871){const _0x2a8856=a0_0x342bd1;if(!_0x51d871||typeof _0x51d871!==_0x2a8856(0x1eb))return![];const _0x4dfe23=this[_0x2a8856(0x25a)](_0x51d871),_0x427d6d=this[_0x2a8856(0x2cb)](_0x4dfe23);return _0x427d6d?_0x427d6d[_0x2a8856(0x2b6)]():![];}[a0_0x342bd1(0x3f9)](_0x4a62f0){const _0x286798=a0_0x342bd1;if(!_0x4a62f0||typeof _0x4a62f0!==_0x286798(0x1eb))return![];const _0x19f06a=this[_0x286798(0x25a)](_0x4a62f0),_0x32002d=this[_0x286798(0x2cb)](_0x19f06a);return _0x32002d?_0x32002d['isMultipleSelect']():![];}['getFieldOptions'](_0xd664bf){const _0x5a4063=a0_0x342bd1;if(!_0xd664bf||typeof _0xd664bf!==_0x5a4063(0x1eb))return[];const _0x81099b=this['getFieldCode'](_0xd664bf),_0xa65556=this[_0x5a4063(0x2cb)](_0x81099b);if(!_0xa65556||!_0xa65556['isEnum']())return[];return _0xa65556[_0x5a4063(0x3ad)]()||[];}[a0_0x342bd1(0x43f)](_0x1bba45){const _0x12d0c7=a0_0x342bd1;if(!_0x1bba45||typeof _0x1bba45!==_0x12d0c7(0x1eb))return;const _0x2bac36=this[_0x12d0c7(0x25a)](_0x1bba45),_0x495244=this[_0x12d0c7(0x2cb)](_0x2bac36);if(!_0x495244||!_0x495244[_0x12d0c7(0x2b6)]())return;return _0x495244['getSelectItemsSource']();}[a0_0x342bd1(0x211)](_0x564547){const _0x4f2b69=a0_0x342bd1;if(!_0x564547||typeof _0x564547!==_0x4f2b69(0x1eb))return;const _0x1977fd=this['getFieldCode'](_0x564547),_0x5310d5=this[_0x4f2b69(0x2cb)](_0x1977fd);if(!_0x5310d5||!_0x5310d5[_0x4f2b69(0x2b6)]())return;return _0x5310d5[_0x4f2b69(0x1f0)]();}[a0_0x342bd1(0x209)](){const _0x5b2ff5=a0_0x342bd1;return this['getFieldList']()['getPrimaryKeys']()[_0x5b2ff5(0x2bc)](_0x4160ae=>_0x4160ae[_0x5b2ff5(0x43b)]);}[a0_0x342bd1(0x374)](){const _0x7d28ca=a0_0x342bd1;return this['getFieldList']()[_0x7d28ca(0x26a)]()[_0x7d28ca(0x2bc)](_0x1c44e4=>_0x1c44e4['raw']);}[a0_0x342bd1(0x3fd)](){const _0x5a49f3=a0_0x342bd1;return this[_0x5a49f3(0x28f)]()[_0x5a49f3(0x409)]()['map'](_0x189208=>_0x189208[_0x5a49f3(0x43b)]);}['getRequiredFields'](){const _0x6880ff=a0_0x342bd1;return this[_0x6880ff(0x28f)]()[_0x6880ff(0x272)]()['map'](_0x3f8eb4=>_0x3f8eb4['raw']);}[a0_0x342bd1(0x3ef)](){const _0x34a1a5=a0_0x342bd1,_0x255567=this[_0x34a1a5(0x28f)]()['groupByType'](),_0x193d9d={};for(const [_0x257948,_0x2e51e1]of Object['entries'](_0x255567)){_0x193d9d[_0x257948]=_0x2e51e1[_0x34a1a5(0x2bc)](_0xd82d3f=>_0xd82d3f[_0x34a1a5(0x43b)]);}return _0x193d9d;}['getEnumFields'](){const _0x223505=a0_0x342bd1;return this[_0x223505(0x28f)]()[_0x223505(0x46f)]()[_0x223505(0x2bc)](_0x400e77=>_0x400e77[_0x223505(0x43b)]);}[a0_0x342bd1(0x31b)](){const _0x527557=a0_0x342bd1,_0x179770={};return this[_0x527557(0x252)]()['forEach'](_0x52f75f=>{const _0x5f06e3=_0x527557,_0x2fe1a5=this[_0x5f06e3(0x211)](_0x52f75f);if(_0x2fe1a5){const _0x2bd5c6=this['getFieldCode'](_0x52f75f);_0x179770[_0x2bd5c6]=_0x2fe1a5;}}),_0x179770;}[a0_0x342bd1(0x220)](_0x2ddf39,_0x37a5da){const _0x52eba7=a0_0x342bd1,_0x47ed29=this[_0x52eba7(0x211)](_0x2ddf39);if(!_0x47ed29)return!![];if(_0x47ed29[_0x52eba7(0x45d)]&&!_0x47ed29['options'])return!![];const _0x14f5ad=this[_0x52eba7(0x25a)](_0x2ddf39),_0x2be9ad=this[_0x52eba7(0x2cb)](_0x14f5ad),_0x591b38=_0x2be9ad?_0x2be9ad['isMultipleSelect']():![];if(_0x591b38&&Array[_0x52eba7(0x200)](_0x37a5da))return _0x37a5da[_0x52eba7(0x27e)](_0x424c47=>_0x47ed29[_0x52eba7(0x31e)][_0x52eba7(0x461)](_0x424c47));return _0x47ed29[_0x52eba7(0x31e)][_0x52eba7(0x461)](_0x37a5da);}['toListItem'](){const _0x9e8d80=a0_0x342bd1;return new DatasetItem({'id':this['id'],'name':this[_0x9e8d80(0x351)],'datasetCode':this[_0x9e8d80(0x37f)],'dbtableConfig':this[_0x9e8d80(0x304)]()});}[a0_0x342bd1(0x279)](){const _0x5f4db9=a0_0x342bd1;return _0x5f4db9(0x3ab)+this[_0x5f4db9(0x351)]+',\x20'+this[_0x5f4db9(0x37f)]+',\x20'+this[_0x5f4db9(0x2ca)]()+'\x20fields,\x20'+this['getOperationCount']()+_0x5f4db9(0x2c7)+this['getVersion']()+')';}[a0_0x342bd1(0x2ff)](){const _0x19e879=a0_0x342bd1;return this[_0x19e879(0x22f)](_0x19e879(0x282));}[a0_0x342bd1(0x1f9)](_0x3fe328){const _0x3f448c=a0_0x342bd1;return this[_0x3f448c(0x340)](_0x3f448c(0x282),_0x3fe328);}[a0_0x342bd1(0x265)](){const _0x5387ef=a0_0x342bd1;return this['getOperationFieldsOperatorsMap'](_0x5387ef(0x282));}[a0_0x342bd1(0x22f)](_0x15546e){const _0x339bda=a0_0x342bd1,_0xf88bf2=this[_0x339bda(0x465)](_0x15546e);return _0xf88bf2?_0xf88bf2[_0x339bda(0x46d)]():[];}[a0_0x342bd1(0x340)](_0x16039d,_0x45c860){const _0x91eeef=a0_0x342bd1,_0x5a2da1=this['getOperation'](_0x16039d);return _0x5a2da1?_0x5a2da1[_0x91eeef(0x467)](_0x45c860):[];}['getOperationFieldsOperatorsMap'](_0x9da66){const _0x8668cb=a0_0x342bd1,_0x489a81={};return this[_0x8668cb(0x28f)]()[_0x8668cb(0x40c)](_0x197775=>{const _0x5b7de4=_0x8668cb,_0x264e6c=this[_0x5b7de4(0x340)](_0x9da66,_0x197775[_0x5b7de4(0x2bd)]);_0x264e6c[_0x5b7de4(0x345)]>0x0&&(_0x489a81[_0x197775[_0x5b7de4(0x2bd)]]=_0x264e6c);}),_0x489a81;}[a0_0x342bd1(0x46c)](_0x3267f6,_0x30c61f,_0x840210){const _0x26b443=a0_0x342bd1,_0x291b2c=this[_0x26b443(0x340)](_0x3267f6,_0x30c61f);return _0x291b2c['includes'](_0x840210);}}function a0_0x3171(){const _0x1d353d=['isFieldPrimaryKey','doVersion','create','OperationList(','name','CREATE','isPrimaryKey','padStart','VARCHAR','item1','Field(','primaryKey','getByType','placeholder','聚合函数配置数组(type:\x20sum/count/avg/max/min)','createTime','$lteq','toTableName','const\x20fileUrl\x20=\x20await\x20client.models.','items','path','200','getAllDatasets','getFieldListWithDeleted','getFiltered','repeat','requestFieldCount','\x20items,\x20conflict,\x20latest:\x20','suffix','getDisabledOperationInstances','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','当前页码(可选)','String','replace','();','操作成功','generateFieldExample','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','findByTableName','getSystemFields','_autoGenerated','\x20items,\x20','getDatasetMeta','_fieldList','generateFromSchema','getInternalInstance','push','_avg','BIT','getAggregates','datasetCode','$lte','getOperationsOverviewData','generateFullSDKExample','groupBy','getEnabled','5013ravfiQ','dataset_000000','LONGTEXT','STRING','接口名称','[Field]\x20Invalid\x20field\x20definition','getMethod','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','generateHTTPRequestExample','totalGroups','sdkCallCode','toField','importTemplate','hasDblinkInfo','getSDKInitData','get','properties','find','获取上传脚本','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','type','BIGINT','hasField','generateHTTPExample','30270VoSTGN','tableKey','API路径','set','sortOperationsWithFilterFirst','2947PKpYjl','每页条数','-\x20主键ID,用于定位要更新的记录\x0a\x0a','having','解析\x20requestBody\x20失败:','getCountByMethod','hasTableName','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','UPDATE','DrivenDataDetail(','pageSize','getEnumOptions','fullUrl','getConflictingItems','getDatasetDocMeta','_sum','FieldV2(','count','usageExample','日期时间','getEnabledOperations','_datasetMeta','2.0','getAutoIncrement','Object','getPath','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','toArray','filterBlacklist','当前页码(从\x201\x20开始,默认:\x201)','getRequestParams','这是一段较长的文本内容示例','tooltip','getName','user@example.com','getList',',\x20currentPage,\x20pageSize,\x20...\x20});','systemRetain','getRelatedDataset','_raw','FieldList(','getOne','2024-12-31','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','\x20operations,\x20v2)','displayName','toConfigArray','string','mapDbTypeToType','[parseFieldExtend]\x20Invalid\x20field:','getFilterOperation','isBusiness','SWITCH','host','value','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','DATE','getMissingCRUDOperations','getAllFieldsString','排序规则','multiple','hasConflict','add','北京市朝阳区','getDOType',',\x20...\x20});','findById','\x20groups,\x20','$startWith','exampleWhere','Integer','LONGBLOB','slice','substring','dataset','parseFieldExtend','getFieldsByType','toISOString','groupByType','toListItem','errorCode','2240YILyQO','version','支持单值或数组','null','示例文本','isMultipleSelectField','toFieldDefinition','(id);','max','getBusinessFields','getSystemAnalysisResult','(id,\x20data);','_fields','currentPage','isUpdateTime','getVersion','时间戳','updateTime','dbName','CHAR','5412219mPoQDw','getBusiness','getTooltip','all','forEach','getEnabledNames','系统自动生成','getFullUrl','datasetSDKKey','getDBConfig','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','operationCount','modifyDate','includeRequestExample','fromApiResponse','isOperationEnabled','updateTimeField','(实际字段:','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','hasDbtableConfig','EXCEL_EXPORT','creatorIdField','HTTP\x20请求示例(平铺格式)','getPrimaryKeys','Array','getDeleted','getFieldDescription','ensureFilterOperation','defaultValue','keyword','_datasetMap','$ne','50497nOuDZN','文件上传','getOperationCount','dblinkInfoDTO','每页数量(可选)','NUMBER','解析\x20responseBody\x20失败:','hasCreatorIdField','parseRawRequestBody','https://example.com/file.pdf','includeDisabled','getDatasetSDKKey','method','getFieldListV2','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','select','datasetName','BOOL','raw','-$1',',\x20fields:\x20','DELETE','getFieldSelectItemsSource','getFilteredOperations','CREATE_EXPORT','dbId','`:\x20','排序规则(与\x20Filter\x20API\x20一致)','字段编码','DatasetItem(','generateDefaultFilterOperation','(id,\x20','\x20的\x20extend\x20配置失败:','FLOAT','number','enabled','51530754MZkXCd','(支持单值或数组)','modifierNameField','getResponseSchema','getIndexes','hasModifierIdField','查询单个条件','getDisabledNames','\x20indexes)','[FieldV2]\x20Invalid\x20field\x20definition','sort','supportsCRUD','labelField','parseRawResponseBody','findByCode','yourModel','selectItemsSource','SDK\x20调用','createExport','responseSchema','includes','isOpenAPI','toJSON','Number','getOperation','DbtableConfig(table:\x20','getFieldOperators','autoIncrement','label','$in','isDeleted','isOperatorApplicableToField','getOperators','generateAllOperationsSummary','getEnum','modelId','initDataset','doType','_operationAnalyses','_fieldListV1','item2','Invalid\x20API\x20response:\x20success\x20is\x20false','getUpdatableFields','Filter\x20API\x20-\x20高级查询接口','datasetInfo','size','dbtableConfig','generateSDKCallCode','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','[dsparser]\x20跳过重复的表名\x20\x22','getLast','generateSDKInitCode','hasCreateTimeField','hasConflicts','prefix','HTTP\x20直接调用时使用平铺格式:\x0a','getUploadFileScript','tableData','getDefaultValue','online','isPrimaryKeyField','$endWith','creatorNameField','FieldV1(','TIME','getOneUpdate','Object[]','toConfig','富文本','round','description','getStats','fromField','lastIndexOf','getAppCode','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getCreateTime','$or','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','<!--\x5cs*CONDITION:\x5cs*','\x20operation','modelCode','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','主键ID(必填)','TEXTAREA','SDK\x20调用时传递两个参数:\x0a','TIMESTAMP','每页数量','GET_ONE_UPDATE','update','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getOperations','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','no\x20conflicts','status','isMultipleSelect','创建导出','$eq','sortNum','address','min','RICH_TEXT','keys','object','value2','logicField','String[]','isRequiredField','getEnumMeta','getRequiredFields','hasRelation','请求示例','分组后的过滤条件(对聚合结果进行过滤)','orderBy','getOperationRequestFields','enabledOperationCount','getEnumValues','getFieldFilterOperators','getFieldName','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','warn','datasetKey','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','distinct','isArray','hasUpdateTimeField','fields','getOperationStats','Operation\x20not\x20found:\x20','getSelectOptions','getDisabled','getAllFieldsArray','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getPrimaryKeyFields','taskInfo','valueLabels','##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a','findByName','withDeleted','const\x20result\x20=\x20await\x20client.models.','_min','getEnumFieldMeta','condition','getUpdateTime','getOperationDocMeta','450HQAEXv','getFieldDefinition','children','getResponseParamsDocInfo','_operationList','查询单条','getRequestParamsDocInfo','dataset_','DOUBLE','示例值','total_count','validateEnumValue','getDisabledOperations','getEnabledOperationAnalyses','appCode','任务信息','({\x20code,\x20label\x20});','getFilteredOperationAnalyses','ARRAY','getFieldDataSource','value1','getHTTPRequestParamsDocInfo','generateResponseExample','required','generateOperationSummary','getCodes','getOperationOperators','columnName','getLatestDatasets','INTEGER','getAll','fieldName','DatasetList(','successCode','SELECT','getFileUrl','当前页码','6LRLjlT','\x22,数据集:\x20','options','dbVersion','createImport','创建导入','groups','entries','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/node-sdk\x27;\x0a\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27{{appCode}}\x27,\x0a<!--\x20CONDITION:\x20env\x20-->\x0a\x20\x20env:\x20\x27{{env}}\x27,\x0a<!--\x20/CONDITION\x20-->\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27{{datasetCode}}\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27{{alias}}\x27,\x0a\x20\x20\x20\x20}\x0a\x20\x20],\x0a<!--\x20CONDITION:\x20isOpenAPI\x20-->\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,\x0a<!--\x20/CONDITION\x20-->\x0a});\x0a\x0aexport\x20default\x20client;\x0a','完整的\x20SDK\x20调用代码','context','modifierIdField','getFieldRaw','getRelations','isNumericField','getOperationAnalysis','desc','iterator','data','precision','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','_instance','\x20fields,\x20','customFilter','getEnumFields','normalizeDbType','title','email','DrivenDataDetailPlusV2(','split','bind','获取下拉选项','getFieldCode','env','getVirtualTables','charAt','systemFieldCount','enumValues','支持多个条件','array','13800138000','total','tenantCode','getFieldsFilterOperatorsMap','trim','590yFsKGI','aggregate','tableName','getSystem','GET_ONE_ORIGIN','empty','getDisplayName','getIds','generateSingleValueExample','isSystem','excelExport','getRequired','getTableKey','detectConflicts','enableDeduplication','isCreateTime','JSON','generateUsageExample','toString','操作名称','toObject','-\x20主键使用\x20`id`\x20字段\x0a','getConflictStats','every','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','getRealTables','getLatest','filter','数组查询(支持多选)','success','getGroupedParams','GET_FILE_URL','createTimeField','每页数量(默认:\x2020)','getRaw','N/A','GET_UPLOAD_FILE_SCRIPT','Excel导出','\x5c}\x5c}','generateRequestAllExamples','getFieldList','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','errorMsg','daily','_requestExampleCache','分组字段列表','_extend','getModelName','generateAliasExplanation','(params);','column','_relations','({\x20currentPage,\x20pageSize\x20});','\x20fields)','下拉选择','CHECKBOX','datasetMap','getType','has','responseBody','getId','$gteq','forceVersion','单值查询','getTableName','getCountByType','some','parse','pkField','/filter','-\x20`','IMAGE','params','getOperationList','getFieldOptions','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','random','isSystemField','toUpperCase','isEnum','$and','getFirst','toDatasetId','phone','getAt','map','code','$gte','\x20API\x20文档','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','createFields','DrivenDataDetailV2(','RADIO','msg','_operations','getActive','\x20operations,\x20','getApplicableOperators','generateRequestExample','getFieldCount','getFieldInstance','\x20operations)','getRelationsByField','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','getEnumMetas','getOperationsData','_fieldListV2','({\x20','toDatasetName','getDatabaseVersion','GET','test','TINYINT','DatasetGroup(','SMALLINT','getExtendField','\x20relations,\x20','groupByTableName','\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a','BOOLEAN','where','dbType','getFieldDisplayName','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','getSource','relations','generateAllOperationsFullSDKExample','选项编码(可选)','查询列表','getCount','now','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','getHTTPFields','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','字段名称','_fieldListWithDeleted','createDate','has\x20conflicts','TEXT','isEnabled','\x20operations,\x20v1)','1.0.0-beta.8','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','getConflicts','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','extend',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','1246976dIrcFe','selectBestOperator','toLowerCase','generateExampleValue','getField','getFilterOperators','toDatasetCode','stringify','DATETIME','isRequired','getRawDbtableConfig','delete','getTenantCode','getUpdateFields','2024-01-01','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','generateConfig','getEnabledOperationInstances','dataIndex','返回字段列表(字段投影)','function','from','0000','getOperationAnalysesByType','includeDeleted','$contain','join','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','DESC','hasFilterOperation','sdkCall','demo-app','requestBody','getEnumFieldsMeta','isAutoIncrement','getDbTypeForOperation','values','field_name','prototype','useFullExample','isEmpty','getFieldNames','DatasetGroupMap(','operations','getFieldsWithDeleted','BLOB','source','index','sum','boolean','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getCode','tableColumns','avg','getOperationAnalyses','deleted','getModelAlias','createAll','requestFields','getDatabaseType','INT','getItems','getOneOrigin','allFields','获取数据集列表失败:\x20','getNames','查询单条(原始)','_fieldListV1WithDeleted','FieldListV2(','查询单条(用于更新)','getOperationFieldOperators','hasOperation','isVirtualTable','generateConfigArray','fieldCode','length','isEnumField','alias','default','DECIMAL','getFields','获取文件URL','dbTypeLen'];a0_0x3171=function(){return _0x1d353d;};return a0_0x3171();}class FieldBase{get[a0_0x342bd1(0x2e0)](){return;}get[a0_0x342bd1(0x34c)](){return;}get[a0_0x342bd1(0x3d0)](){return;}get[a0_0x342bd1(0x472)](){return;}['isBusiness'](){const _0x5cd4b4=a0_0x342bd1;return!this[_0x5cd4b4(0x270)]();}[a0_0x342bd1(0x46b)](){return this['deleted'];}[a0_0x342bd1(0x2b6)](){const _0x5114e9=a0_0x342bd1,_0x447eb2=[_0x5114e9(0x2c3),_0x5114e9(0x237),_0x5114e9(0x29e)];return _0x447eb2['includes'](this[_0x5114e9(0x399)]);}[a0_0x342bd1(0x1e3)](){const _0x1fb590=a0_0x342bd1;return this[_0x1fb590(0x399)]===_0x1fb590(0x29e);}[a0_0x342bd1(0x1f8)](){const _0x18befa=a0_0x342bd1,_0x5814fb=this[_0x18befa(0x1f0)]();return _0x5814fb?.[_0x18befa(0x31e)]||[];}[a0_0x342bd1(0x1f0)](){const _0x376fdc=a0_0x342bd1;if(!this['isEnum']())return;const _0x48115c=this['getEnumOptions'](),_0x390f6f=this['getSelectItemsSource'](),_0x2c473d=[],_0x2192c0={},_0x389672=_0x358e59=>{_0x358e59['forEach'](_0x358181=>{const _0x435a95=a0_0x380d;_0x2c473d[_0x435a95(0x37b)](_0x358181['value']),_0x2192c0[String(_0x358181['value'])]=_0x358181[_0x435a95(0x469)],_0x358181[_0x435a95(0x217)]&&_0x358181[_0x435a95(0x217)][_0x435a95(0x345)]>0x0&&_0x389672(_0x358181[_0x435a95(0x217)]);});};return _0x48115c&&_0x48115c[_0x376fdc(0x345)]>0x0&&_0x389672(_0x48115c),{'code':this[_0x376fdc(0x2bd)],'name':this[_0x376fdc(0x351)],'type':this[_0x376fdc(0x399)],'multiple':this[_0x376fdc(0x1e3)](),'options':_0x48115c,'selectItemsSource':_0x390f6f,'values':_0x2c473d,'valueLabels':_0x2192c0};}get[a0_0x342bd1(0x25f)](){const _0x28bab0=a0_0x342bd1;return this[_0x28bab0(0x1f8)]();}[a0_0x342bd1(0x279)](){const _0x46b73b=a0_0x342bd1;return _0x46b73b(0x357)+this['name']+',\x20'+this[_0x46b73b(0x2bd)]+',\x20'+this[_0x46b73b(0x399)]+',\x20'+this[_0x46b73b(0x403)]()+')';}}class FieldV1 extends FieldBase{[a0_0x342bd1(0x3c9)];[a0_0x342bd1(0x295)]=null;constructor(_0xc94e99){const _0xbca735=a0_0x342bd1;super();if(!_0xc94e99||typeof _0xc94e99!==_0xbca735(0x1eb))throw new Error(_0xbca735(0x38a));this[_0xbca735(0x3c9)]=_0xc94e99;}[a0_0x342bd1(0x3fa)](){const _0x10cf80=a0_0x342bd1;return this[_0x10cf80(0x3c9)];}[a0_0x342bd1(0x403)](){return'v1';}get[a0_0x342bd1(0x43b)](){const _0x17121c=a0_0x342bd1;return this[_0x17121c(0x3c9)];}get['name'](){const _0x30e4f8=a0_0x342bd1;return this['_raw'][_0x30e4f8(0x351)]||'';}get['code'](){const _0x246adc=a0_0x342bd1;return this[_0x246adc(0x3c9)][_0x246adc(0x2bd)]||'';}get[a0_0x342bd1(0x399)](){const _0x4c1666=a0_0x342bd1;return this['_raw'][_0x4c1666(0x399)]||'';}get['description'](){return this['_raw']['description']||'';}get[a0_0x342bd1(0x331)](){return Boolean(this['_raw']['deleted']);}get[a0_0x342bd1(0x2e0)](){const _0x252f2f=a0_0x342bd1;return this[_0x252f2f(0x3c9)]['dbType'];}get[a0_0x342bd1(0x34c)](){const _0x1b4c6=a0_0x342bd1;return this[_0x1b4c6(0x3c9)]['dbTypeLen'];}get[a0_0x342bd1(0x3d0)](){const _0x151a02=a0_0x342bd1;return this[_0x151a02(0x3c9)][_0x151a02(0x347)];}get[a0_0x342bd1(0x472)](){return;}get[a0_0x342bd1(0x2f8)](){const _0x4dfe8f=a0_0x342bd1;if(this[_0x4dfe8f(0x295)]!==null&&typeof this[_0x4dfe8f(0x295)]===_0x4dfe8f(0x1eb))return this[_0x4dfe8f(0x295)];const _0x5b8ec0=this[_0x4dfe8f(0x3c9)][_0x4dfe8f(0x2f8)];if(!_0x5b8ec0||typeof _0x5b8ec0!=='string')return this[_0x4dfe8f(0x295)]={},this[_0x4dfe8f(0x295)];if(_0x5b8ec0===_0x4dfe8f(0x3f7)||_0x5b8ec0['trim']()===_0x4dfe8f(0x3f7))return this[_0x4dfe8f(0x295)]={},this[_0x4dfe8f(0x295)];try{const _0x5b4597=JSON[_0x4dfe8f(0x2aa)](_0x5b8ec0);return this[_0x4dfe8f(0x295)]=_0x5b4597!==null&&typeof _0x5b4597==='object'&&!Array[_0x4dfe8f(0x200)](_0x5b4597)?_0x5b4597:{},this[_0x4dfe8f(0x295)];}catch(_0x2396e6){return!![]&&console[_0x4dfe8f(0x1fc)]('[FieldV1.extend]\x20解析字段\x20'+this[_0x4dfe8f(0x2bd)]+_0x4dfe8f(0x449),_0x2396e6),this[_0x4dfe8f(0x295)]={},this[_0x4dfe8f(0x295)];}}[a0_0x342bd1(0x303)](){const _0x402856=a0_0x342bd1;return Boolean(this[_0x402856(0x2f8)]['required']);}[a0_0x342bd1(0x353)](){const _0x1780c3=a0_0x342bd1;return Boolean(this[_0x1780c3(0x2f8)][_0x1780c3(0x358)]||this[_0x1780c3(0x2f8)][_0x1780c3(0x2ab)]);}[a0_0x342bd1(0x270)](){return Boolean(this['extend']['systemRetain']);}[a0_0x342bd1(0x31c)](){const _0x5f274e=a0_0x342bd1;return Boolean(this[_0x5f274e(0x2f8)][_0x5f274e(0x468)]);}[a0_0x342bd1(0x276)](){const _0x33cddb=a0_0x342bd1;return Boolean(this[_0x33cddb(0x2f8)][_0x33cddb(0x35c)]);}[a0_0x342bd1(0x402)](){const _0x1bd808=a0_0x342bd1;return Boolean(this[_0x1bd808(0x2f8)][_0x1bd808(0x405)]);}[a0_0x342bd1(0x26d)](){const _0x1b0f00=a0_0x342bd1;return this[_0x1b0f00(0x351)];}['getFieldName'](){const _0x1e9bda=a0_0x342bd1;return this[_0x1e9bda(0x2bd)];}['isEnum'](){const _0xa4ba72=a0_0x342bd1,_0x37acac=[_0xa4ba72(0x2c3),_0xa4ba72(0x237),_0xa4ba72(0x29e)];if(_0x37acac['includes'](this[_0xa4ba72(0x399)]))return!![];const _0x3b7e09=this[_0xa4ba72(0x2f8)];return Boolean(_0x3b7e09[_0xa4ba72(0x23c)]&&Array[_0xa4ba72(0x200)](_0x3b7e09[_0xa4ba72(0x23c)])&&_0x3b7e09['options'][_0xa4ba72(0x345)]>0x0||_0x3b7e09[_0xa4ba72(0x45d)]);}[a0_0x342bd1(0x1e3)](){const _0x174024=a0_0x342bd1;if(this[_0x174024(0x399)]==='CHECKBOX')return!![];return Boolean(this[_0x174024(0x2f8)][_0x174024(0x3df)]);}[a0_0x342bd1(0x3ad)](){const _0x4f1461=a0_0x342bd1,_0x211e76=this[_0x4f1461(0x2f8)];if(_0x211e76['options']&&Array[_0x4f1461(0x200)](_0x211e76[_0x4f1461(0x23c)]))return _0x211e76['options'];return;}['getSelectItemsSource'](){const _0x1766db=a0_0x342bd1,_0x4debbb=this[_0x1766db(0x2f8)];if(_0x4debbb['selectItemsSource']&&typeof _0x4debbb[_0x1766db(0x45d)]===_0x1766db(0x1eb))return _0x4debbb['selectItemsSource'];return;}[a0_0x342bd1(0x31d)](){const _0x8946a=a0_0x342bd1;return this[_0x8946a(0x399)][_0x8946a(0x2b5)]();}[a0_0x342bd1(0x1be)](){const _0x2fea90=a0_0x342bd1;return this[_0x2fea90(0x2f8)][_0x2fea90(0x425)];}['getTooltip'](){const _0x12756a=a0_0x342bd1;return this[_0x12756a(0x2f8)][_0x12756a(0x3c2)];}[a0_0x342bd1(0x463)](){const _0x104b41=a0_0x342bd1;return{'name':this[_0x104b41(0x351)],'code':this[_0x104b41(0x2bd)],'type':this['type'],'dbType':this[_0x104b41(0x2e0)],'dbTypeLen':this[_0x104b41(0x34c)],'description':this[_0x104b41(0x1ca)],'required':this[_0x104b41(0x303)](),'primaryKey':this['isPrimaryKey'](),'system':this['isSystem'](),'autoIncrement':this[_0x104b41(0x31c)](),'createTime':this[_0x104b41(0x276)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x104b41(0x2b6)](),'enumMeta':this['isEnum']()?this[_0x104b41(0x1f0)]():undefined};}[a0_0x342bd1(0x279)](){const _0x4f37ad=a0_0x342bd1;return _0x4f37ad(0x1c3)+this[_0x4f37ad(0x351)]+',\x20'+this[_0x4f37ad(0x2bd)]+',\x20'+this['type']+')';}}class FieldListBase{[a0_0x342bd1(0x400)];constructor(_0xcbf762,_0xf89eb4){const _0x5587b7=a0_0x342bd1;if(!Array[_0x5587b7(0x200)](_0xcbf762))throw new Error(_0x5587b7(0x315));const _0x8c7089=_0xf89eb4?.['includeDeleted']??![],_0x29d91b=_0x8c7089?_0xcbf762:_0xcbf762[_0x5587b7(0x282)](_0x88b537=>{const _0x9605e6=_0x5587b7,_0x3c4d1f=_0x88b537;return!_0x3c4d1f[_0x9605e6(0x331)];});this[_0x5587b7(0x400)]=this['createFields'](_0x29d91b);}get['length'](){const _0x5338cb=a0_0x342bd1;return this[_0x5338cb(0x400)]['length'];}[a0_0x342bd1(0x40b)](){const _0x452407=a0_0x342bd1;return[...this[_0x452407(0x400)]];}['at'](_0x255b11){const _0x3c3071=a0_0x342bd1;return this[_0x3c3071(0x400)]['at'](_0x255b11);}[a0_0x342bd1(0x396)](_0x4ed073){const _0x3567fd=a0_0x342bd1;return this[_0x3567fd(0x400)]['find'](_0x17b1c9=>_0x17b1c9['code']===_0x4ed073);}[a0_0x342bd1(0x20d)](_0x411c4c){const _0x41c32f=a0_0x342bd1;return this[_0x41c32f(0x400)]['find'](_0x41952b=>_0x41952b[_0x41c32f(0x351)]===_0x411c4c);}[a0_0x342bd1(0x2a1)](_0xdba94){const _0x437ee1=a0_0x342bd1;return this[_0x437ee1(0x400)][_0x437ee1(0x2a9)](_0x55d5bc=>_0x55d5bc[_0x437ee1(0x2bd)]===_0xdba94);}[a0_0x342bd1(0x40c)](_0x281759){const _0x819914=a0_0x342bd1;this[_0x819914(0x400)]['forEach'](_0x281759);}[a0_0x342bd1(0x2bc)](_0x2a196d){const _0x2b3017=a0_0x342bd1;return this[_0x2b3017(0x400)][_0x2b3017(0x2bc)](_0x2a196d);}[a0_0x342bd1(0x282)](_0x2c3505){const _0x2265a3=a0_0x342bd1;return this[_0x2265a3(0x400)][_0x2265a3(0x282)](_0x2c3505);}['every'](_0x40c239){const _0x522ab2=a0_0x342bd1;return this[_0x522ab2(0x400)][_0x522ab2(0x27e)](_0x40c239);}['some'](_0x378387){return this['_fields']['some'](_0x378387);}[a0_0x342bd1(0x272)](){const _0x305f96=a0_0x342bd1;return this['_fields'][_0x305f96(0x282)](_0x630bf5=>_0x630bf5[_0x305f96(0x303)]());}['getPrimaryKeys'](){const _0x5e4fd1=a0_0x342bd1;return this[_0x5e4fd1(0x400)]['filter'](_0x32d518=>_0x32d518[_0x5e4fd1(0x353)]());}[a0_0x342bd1(0x26a)](){const _0x356ac8=a0_0x342bd1;return this[_0x356ac8(0x400)][_0x356ac8(0x282)](_0xf7a3c=>_0xf7a3c['isSystem']());}[a0_0x342bd1(0x409)](){const _0x41a005=a0_0x342bd1;return this[_0x41a005(0x400)][_0x41a005(0x282)](_0x63a45a=>_0x63a45a['isBusiness']());}[a0_0x342bd1(0x46f)](){const _0x3fcbb7=a0_0x342bd1;return this[_0x3fcbb7(0x400)][_0x3fcbb7(0x282)](_0x26b10c=>_0x26b10c[_0x3fcbb7(0x2b6)]());}[a0_0x342bd1(0x3b9)](){const _0x5dfa7a=a0_0x342bd1;return this[_0x5dfa7a(0x400)]['filter'](_0x461618=>_0x461618[_0x5dfa7a(0x31c)]());}[a0_0x342bd1(0x1d0)](){const _0x24ba61=a0_0x342bd1;return this[_0x24ba61(0x400)][_0x24ba61(0x282)](_0x24401a=>_0x24401a['isCreateTime']());}[a0_0x342bd1(0x213)](){const _0x2cf0fa=a0_0x342bd1;return this[_0x2cf0fa(0x400)][_0x2cf0fa(0x282)](_0x4ec8c3=>_0x4ec8c3[_0x2cf0fa(0x402)]());}[a0_0x342bd1(0x422)](){const _0x125440=a0_0x342bd1;return this['_fields'][_0x125440(0x282)](_0xfbb099=>_0xfbb099[_0x125440(0x46b)]());}[a0_0x342bd1(0x2c6)](){const _0x5b5901=a0_0x342bd1;return this['_fields'][_0x5b5901(0x282)](_0x449be8=>!_0x449be8[_0x5b5901(0x46b)]());}[a0_0x342bd1(0x3f1)](){const _0x306ecb=a0_0x342bd1,_0x41ceb2={};return this[_0x306ecb(0x400)][_0x306ecb(0x40c)](_0x3e37f3=>{const _0xdc56f3=_0x306ecb,_0xcf0466=_0x3e37f3[_0xdc56f3(0x399)];!_0x41ceb2[_0xcf0466]&&(_0x41ceb2[_0xcf0466]=[]),_0x41ceb2[_0xcf0466]['push'](_0x3e37f3);}),_0x41ceb2;}[a0_0x342bd1(0x2cf)](){const _0x464d71=a0_0x342bd1,_0x3775d7={};return this[_0x464d71(0x400)]['forEach'](_0x3fff53=>{const _0x307377=_0x464d71;if(_0x3fff53[_0x307377(0x2b6)]()){const _0x49d002=_0x3fff53[_0x307377(0x1f0)]();_0x49d002&&(_0x3775d7[_0x3fff53[_0x307377(0x2bd)]]=_0x49d002);}}),_0x3775d7;}[a0_0x342bd1(0x1cb)](){const _0x13ecfc=a0_0x342bd1;return{'total':this[_0x13ecfc(0x345)],'required':this[_0x13ecfc(0x272)]()['length'],'primaryKey':this['getPrimaryKeys']()['length'],'system':this[_0x13ecfc(0x26a)]()[_0x13ecfc(0x345)],'business':this['getBusiness']()[_0x13ecfc(0x345)],'enum':this[_0x13ecfc(0x46f)]()[_0x13ecfc(0x345)],'autoIncrement':this[_0x13ecfc(0x3b9)]()[_0x13ecfc(0x345)]};}[a0_0x342bd1(0x22e)](){const _0x4107ab=a0_0x342bd1;return this['_fields'][_0x4107ab(0x2bc)](_0x37c71f=>_0x37c71f[_0x4107ab(0x2bd)]);}[a0_0x342bd1(0x33b)](){const _0x5bfd1d=a0_0x342bd1;return this['_fields']['map'](_0x5192f5=>_0x5192f5[_0x5bfd1d(0x26d)]());}[a0_0x342bd1(0x323)](){const _0x49e492=a0_0x342bd1;return this['_fields'][_0x49e492(0x2bc)](_0x3e60bb=>_0x3e60bb[_0x49e492(0x1fa)]());}[a0_0x342bd1(0x463)](){const _0x7d0d2f=a0_0x342bd1;return this[_0x7d0d2f(0x400)][_0x7d0d2f(0x2bc)](_0x52b2e3=>_0x52b2e3[_0x7d0d2f(0x463)]());}[a0_0x342bd1(0x279)](){const _0x3ad63c=a0_0x342bd1;return _0x3ad63c(0x3ca)+this[_0x3ad63c(0x345)]+_0x3ad63c(0x29c);}}class FieldListV1 extends FieldListBase{constructor(_0xc4400a,_0x4689b4){super(_0xc4400a,_0x4689b4);}[a0_0x342bd1(0x2c1)](_0x4b8eb5){const _0x1ffe1b=a0_0x342bd1;return _0x4b8eb5[_0x1ffe1b(0x2bc)](_0xd5dc07=>new FieldV1(_0xd5dc07));}[a0_0x342bd1(0x40b)](){const _0x30bd77=a0_0x342bd1;return[...this[_0x30bd77(0x400)]];}['at'](_0x36f155){const _0x54033a=a0_0x342bd1;return this[_0x54033a(0x400)]['at'](_0x36f155);}[a0_0x342bd1(0x396)](_0x5bcb09){const _0x55ba6d=a0_0x342bd1;return this[_0x55ba6d(0x400)]['find'](_0x4f283c=>_0x4f283c[_0x55ba6d(0x2bd)]===_0x5bcb09);}[a0_0x342bd1(0x20d)](_0x5116ed){const _0x407946=a0_0x342bd1;return this[_0x407946(0x400)][_0x407946(0x396)](_0xc13638=>_0xc13638[_0x407946(0x351)]===_0x5116ed);}[a0_0x342bd1(0x282)](_0x37e2de){const _0x28463d=a0_0x342bd1;return this[_0x28463d(0x400)][_0x28463d(0x282)](_0x37e2de);}[a0_0x342bd1(0x2bc)](_0x53528c){const _0x2605db=a0_0x342bd1;return this['_fields'][_0x2605db(0x2bc)](_0x53528c);}[a0_0x342bd1(0x272)](){const _0xf3b2cd=a0_0x342bd1;return this[_0xf3b2cd(0x400)]['filter'](_0x372462=>_0x372462[_0xf3b2cd(0x303)]());}['getPrimaryKeys'](){const _0x458046=a0_0x342bd1;return this[_0x458046(0x400)][_0x458046(0x282)](_0x2ce677=>_0x2ce677[_0x458046(0x353)]());}['getSystem'](){const _0x212202=a0_0x342bd1;return this[_0x212202(0x400)][_0x212202(0x282)](_0x2ecad7=>_0x2ecad7[_0x212202(0x270)]());}[a0_0x342bd1(0x409)](){const _0x3b74fc=a0_0x342bd1;return this[_0x3b74fc(0x400)][_0x3b74fc(0x282)](_0x30ab99=>_0x30ab99[_0x3b74fc(0x3d6)]());}[a0_0x342bd1(0x46f)](){const _0x27ea30=a0_0x342bd1;return this['_fields'][_0x27ea30(0x282)](_0x2d140f=>_0x2d140f[_0x27ea30(0x2b6)]());}['groupByType'](){const _0x15fcd1=a0_0x342bd1,_0x4b5ef5={};return this['_fields'][_0x15fcd1(0x40c)](_0x10a345=>{const _0xa3e5d3=_0x15fcd1,_0x189df5=_0x10a345[_0xa3e5d3(0x399)];!_0x4b5ef5[_0x189df5]&&(_0x4b5ef5[_0x189df5]=[]),_0x4b5ef5[_0x189df5][_0xa3e5d3(0x37b)](_0x10a345);}),_0x4b5ef5;}['raw'](){const _0x7d534=a0_0x342bd1;return this['_fields'][_0x7d534(0x2bc)](_0x4b02cf=>_0x4b02cf[_0x7d534(0x43b)]);}static['from'](_0x45ac93){const _0x196524=a0_0x342bd1,_0x6e231b=_0x45ac93[_0x196524(0x2bc)](_0x48450f=>_0x48450f['raw']);return new FieldListV1(_0x6e231b);}static[a0_0x342bd1(0x20e)](_0x52dcc7){const _0xbc7547=a0_0x342bd1,_0x369744={};return _0x369744[_0xbc7547(0x312)]=!![],new FieldListV1(_0x52dcc7,_0x369744);}}class FieldV2 extends FieldBase{[a0_0x342bd1(0x3c9)];constructor(_0xe9ebb1){const _0x14d16f=a0_0x342bd1;super();if(!_0xe9ebb1||typeof _0xe9ebb1!==_0x14d16f(0x1eb))throw new Error(_0x14d16f(0x456));this[_0x14d16f(0x3c9)]=_0xe9ebb1;}[a0_0x342bd1(0x403)](){return'v2';}get['raw'](){const _0x205989=a0_0x342bd1;return this[_0x205989(0x3c9)];}get['name'](){const _0xa45ba4=a0_0x342bd1;return this[_0xa45ba4(0x3c9)]['name']||'';}get['code'](){const _0x24e6e9=a0_0x342bd1;return this['_raw'][_0x24e6e9(0x351)]||'';}get[a0_0x342bd1(0x3d0)](){const _0x1e418f=a0_0x342bd1;return this[_0x1e418f(0x3c9)]['displayName']||'';}get[a0_0x342bd1(0x399)](){const _0x4799fc=a0_0x342bd1;return this[_0x4799fc(0x3d3)](this['_raw'][_0x4799fc(0x2e0)]);}get[a0_0x342bd1(0x1ca)](){const _0x1c7da3=a0_0x342bd1;return this['_raw'][_0x1c7da3(0x1ca)]||'';}get[a0_0x342bd1(0x331)](){const _0x327bc5=a0_0x342bd1;return Boolean(this[_0x327bc5(0x3c9)][_0x327bc5(0x331)]);}[a0_0x342bd1(0x303)](){const _0x208e24=a0_0x342bd1;return Boolean(this[_0x208e24(0x3c9)][_0x208e24(0x22c)]);}['isPrimaryKey'](){const _0x5bf27d=a0_0x342bd1;return Boolean(this[_0x5bf27d(0x3c9)]['pkField']);}['isSystem'](){const _0x54bc18=a0_0x342bd1;return Boolean(this[_0x54bc18(0x3c9)][_0x54bc18(0x3c7)]);}[a0_0x342bd1(0x31c)](){const _0x323e23=a0_0x342bd1;return Boolean(this[_0x323e23(0x3c9)][_0x323e23(0x468)]);}['isCreateTime'](){const _0x38aa9a=a0_0x342bd1;return this[_0x38aa9a(0x3c9)]['systemRetain']===_0x38aa9a(0x35c);}['isUpdateTime'](){const _0x42505b=a0_0x342bd1;return this[_0x42505b(0x3c9)][_0x42505b(0x3c7)]===_0x42505b(0x405);}[a0_0x342bd1(0x26d)](){return this['_raw']['displayName']||'';}['getFieldName'](){const _0x21b1a9=a0_0x342bd1;return this['_raw'][_0x21b1a9(0x351)]||'';}['isEnum'](){const _0x3fb8aa=a0_0x342bd1;return Boolean(this['_raw'][_0x3fb8aa(0x23c)]&&Array[_0x3fb8aa(0x200)](this['_raw']['options'])&&this[_0x3fb8aa(0x3c9)]['options'][_0x3fb8aa(0x345)]>0x0);}[a0_0x342bd1(0x1e3)](){const _0x39f7c2=a0_0x342bd1,_0x3bc4e1=this[_0x39f7c2(0x3c9)][_0x39f7c2(0x2f8)];if(!_0x3bc4e1)return![];try{const _0x19f53f=JSON[_0x39f7c2(0x2aa)](_0x3bc4e1);if(_0x19f53f&&typeof _0x19f53f===_0x39f7c2(0x1eb)&&_0x39f7c2(0x3df)in _0x19f53f)return Boolean(_0x19f53f[_0x39f7c2(0x3df)]);}catch{}return![];}[a0_0x342bd1(0x3ad)](){const _0x32dd9a=a0_0x342bd1;if(this[_0x32dd9a(0x3c9)][_0x32dd9a(0x23c)]&&Array[_0x32dd9a(0x200)](this[_0x32dd9a(0x3c9)]['options']))return this[_0x32dd9a(0x3c9)][_0x32dd9a(0x23c)];return;}['getSelectItemsSource'](){const _0x252162=a0_0x342bd1,_0x2ba0d7=this[_0x252162(0x3c9)][_0x252162(0x2f8)];if(!_0x2ba0d7)return;try{const _0x3ebbdc=JSON[_0x252162(0x2aa)](_0x2ba0d7);if(_0x3ebbdc&&typeof _0x3ebbdc==='object'&&_0x252162(0x45d)in _0x3ebbdc)return _0x3ebbdc['selectItemsSource'];}catch{}return;}[a0_0x342bd1(0x31d)](){const _0x173673=a0_0x342bd1;return this[_0x173673(0x3c9)][_0x173673(0x2e0)][_0x173673(0x36e)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x173673(0x266)]()[_0x173673(0x2b5)]();}[a0_0x342bd1(0x1be)](){return;}[a0_0x342bd1(0x40a)](){return;}get['dbType'](){const _0x2cc92f=a0_0x342bd1;return this[_0x2cc92f(0x3c9)]['dbType'];}get[a0_0x342bd1(0x34c)](){const _0x5016a9=a0_0x342bd1;return this[_0x5016a9(0x3c9)][_0x5016a9(0x34c)];}[a0_0x342bd1(0x3e3)](){const _0x44a3f8=a0_0x342bd1;return this[_0x44a3f8(0x3c9)][_0x44a3f8(0x472)]??null;}get[a0_0x342bd1(0x472)](){const _0x297875=a0_0x342bd1;return this[_0x297875(0x3c9)]['doType']??null;}[a0_0x342bd1(0x463)](){const _0x2f3639=a0_0x342bd1;return{'name':this[_0x2f3639(0x351)],'code':this['code'],'type':this[_0x2f3639(0x399)],'dbType':this['dbType'],'dbTypeLen':this['dbTypeLen'],'doType':this[_0x2f3639(0x3e3)](),'displayName':this['displayName'],'description':this[_0x2f3639(0x1ca)],'required':this[_0x2f3639(0x303)](),'primaryKey':this[_0x2f3639(0x353)](),'system':this['isSystem'](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x2f3639(0x276)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x2f3639(0x2b6)](),'enumMeta':this[_0x2f3639(0x2b6)]()?this[_0x2f3639(0x1f0)]():undefined};}[a0_0x342bd1(0x279)](){const _0x5cf901=a0_0x342bd1;return _0x5cf901(0x3b2)+this['name']+',\x20'+this['code']+',\x20'+this[_0x5cf901(0x2e0)]+',\x20doType='+this[_0x5cf901(0x3e3)]()+')';}[a0_0x342bd1(0x3d3)](_0x29fcd1){const _0x3321a1=a0_0x342bd1,_0x3a8442={};_0x3a8442['VARCHAR']='TEXT',_0x3a8442[_0x3321a1(0x407)]='TEXT',_0x3a8442[_0x3321a1(0x2f1)]=_0x3321a1(0x1d8),_0x3a8442['LONGTEXT']=_0x3321a1(0x1d8),_0x3a8442[_0x3321a1(0x336)]=_0x3321a1(0x42e),_0x3a8442['BIGINT']=_0x3321a1(0x42e),_0x3a8442[_0x3321a1(0x2d7)]='NUMBER',_0x3a8442[_0x3321a1(0x2d9)]='NUMBER',_0x3a8442[_0x3321a1(0x349)]=_0x3321a1(0x42e),_0x3a8442[_0x3321a1(0x21d)]=_0x3321a1(0x42e),_0x3a8442[_0x3321a1(0x44a)]='NUMBER',_0x3a8442[_0x3321a1(0x302)]='DATE',_0x3a8442[_0x3321a1(0x1da)]=_0x3321a1(0x3db),_0x3a8442[_0x3321a1(0x3db)]=_0x3321a1(0x3db),_0x3a8442[_0x3321a1(0x1c4)]='TIME',_0x3a8442[_0x3321a1(0x2de)]=_0x3321a1(0x3d7),_0x3a8442[_0x3321a1(0x37d)]='SWITCH',_0x3a8442[_0x3321a1(0x327)]='FILE',_0x3a8442[_0x3321a1(0x3ea)]='FILE';const _0x3e9482=_0x3a8442,_0x556798=_0x29fcd1['toUpperCase']();return _0x3e9482[_0x556798]||_0x3321a1(0x2f1);}}class FieldListV2 extends FieldListBase{constructor(_0x40cb1c,_0x127407){super(_0x40cb1c,_0x127407);}[a0_0x342bd1(0x2c1)](_0x20fb35){return _0x20fb35['map'](_0x129eb9=>new FieldV2(_0x129eb9));}[a0_0x342bd1(0x40b)](){const _0x47d664=a0_0x342bd1;return[...this[_0x47d664(0x400)]];}['at'](_0x41ff20){return this['_fields']['at'](_0x41ff20);}['find'](_0x2fb641){const _0x5749d9=a0_0x342bd1;return this[_0x5749d9(0x400)][_0x5749d9(0x396)](_0x229fd9=>_0x229fd9['code']===_0x2fb641);}['findByName'](_0x5aba05){const _0x5318b7=a0_0x342bd1;return this['_fields'][_0x5318b7(0x396)](_0x9b824c=>_0x9b824c[_0x5318b7(0x26d)]()===_0x5aba05);}[a0_0x342bd1(0x282)](_0x281c72){const _0xecaabd=a0_0x342bd1;return this[_0xecaabd(0x400)]['filter'](_0x281c72);}[a0_0x342bd1(0x2bc)](_0x37d5f4){const _0x19fc37=a0_0x342bd1;return this[_0x19fc37(0x400)][_0x19fc37(0x2bc)](_0x37d5f4);}['getRequired'](){const _0x3e99bc=a0_0x342bd1;return this[_0x3e99bc(0x400)][_0x3e99bc(0x282)](_0x169cb0=>_0x169cb0[_0x3e99bc(0x303)]());}[a0_0x342bd1(0x420)](){const _0xec0c53=a0_0x342bd1;return this['_fields'][_0xec0c53(0x282)](_0x136aee=>_0x136aee['isPrimaryKey']());}['getSystem'](){const _0x2515ce=a0_0x342bd1;return this[_0x2515ce(0x400)][_0x2515ce(0x282)](_0x53838a=>_0x53838a[_0x2515ce(0x270)]());}['getBusiness'](){const _0x5a5387=a0_0x342bd1;return this['_fields'][_0x5a5387(0x282)](_0xc85589=>_0xc85589[_0x5a5387(0x3d6)]());}[a0_0x342bd1(0x46f)](){const _0x9744b2=a0_0x342bd1;return this['_fields'][_0x9744b2(0x282)](_0x30e9af=>_0x30e9af[_0x9744b2(0x2b6)]());}['groupByType'](){const _0x388af7=a0_0x342bd1,_0xba95f6={};return this[_0x388af7(0x400)][_0x388af7(0x40c)](_0x261d57=>{const _0x33a974=_0x388af7,_0x4ca955=_0x261d57[_0x33a974(0x399)];!_0xba95f6[_0x4ca955]&&(_0xba95f6[_0x4ca955]=[]),_0xba95f6[_0x4ca955][_0x33a974(0x37b)](_0x261d57);}),_0xba95f6;}[a0_0x342bd1(0x43b)](){const _0x55fd1e=a0_0x342bd1;return this[_0x55fd1e(0x400)]['map'](_0x5322a8=>_0x5322a8[_0x55fd1e(0x43b)]);}static['from'](_0x20898e){const _0x1d031f=a0_0x342bd1,_0x3da03a=_0x20898e[_0x1d031f(0x2bc)](_0x495af4=>_0x495af4[_0x1d031f(0x43b)]);return new FieldListV2(_0x3da03a);}static[a0_0x342bd1(0x20e)](_0x203648){const _0x2296e5=a0_0x342bd1,_0x42c96f={};return _0x42c96f[_0x2296e5(0x312)]=!![],new FieldListV2(_0x203648,_0x42c96f);}[a0_0x342bd1(0x279)](){const _0x4569f7=a0_0x342bd1;return _0x4569f7(0x33e)+this[_0x4569f7(0x345)]+_0x4569f7(0x29c);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x342bd1(0x474)];[a0_0x342bd1(0x33d)];constructor(_0x40617b){super(_0x40617b);}[a0_0x342bd1(0x28f)](){const _0x5b0049=a0_0x342bd1;if(!this[_0x5b0049(0x474)]){const _0x14b7e6={};_0x14b7e6['includeDeleted']=![],this[_0x5b0049(0x474)]=new FieldListV1(this[_0x5b0049(0x3c9)]['properties']||[],_0x14b7e6);}return this[_0x5b0049(0x474)];}[a0_0x342bd1(0x364)](){const _0x318471=a0_0x342bd1;if(!this['_fieldListV1WithDeleted']){const _0x339565={};_0x339565['includeDeleted']=!![],this[_0x318471(0x33d)]=new FieldListV1(this['_raw'][_0x318471(0x395)]||[],_0x339565);}return this[_0x318471(0x33d)];}[a0_0x342bd1(0x34a)](){const _0x21f449=a0_0x342bd1;return(this[_0x21f449(0x3c9)][_0x21f449(0x395)]||[])[_0x21f449(0x282)](_0x56dd6c=>!_0x56dd6c[_0x21f449(0x331)]);}[a0_0x342bd1(0x2ca)](){const _0x2d2e4d=a0_0x342bd1;return this[_0x2d2e4d(0x28f)]()['length'];}['getFieldRaw'](_0x337d0a){const _0x4e6492=a0_0x342bd1;return this[_0x4e6492(0x3c9)][_0x4e6492(0x395)]?.[_0x4e6492(0x396)](_0x6786a3=>_0x6786a3[_0x4e6492(0x2bd)]===_0x337d0a);}['getVersion'](){return'v1';}[a0_0x342bd1(0x228)](){const _0x429094=a0_0x342bd1,_0x10e97e={};return _0x10e97e[_0x429094(0x202)]=this[_0x429094(0x3c9)][_0x429094(0x395)]||[],_0x10e97e[_0x429094(0x312)]=![],_0x10e97e;}[a0_0x342bd1(0x2d0)](){const _0x31b0a4=a0_0x342bd1;return this['_raw'][_0x31b0a4(0x325)];}[a0_0x342bd1(0x2e3)](){const _0x399c08=a0_0x342bd1;return this['_raw'][_0x399c08(0x328)];}[a0_0x342bd1(0x411)](){const _0x57b31f=a0_0x342bd1,_0x898465=this['getRawDbtableConfig'](),_0x2a9b2b=_0x898465?.['dblinkInfoDTO'],_0x46ec95={};return _0x46ec95[_0x57b31f(0x442)]=_0x898465?.[_0x57b31f(0x442)],_0x46ec95['dbName']=_0x898465?.[_0x57b31f(0x406)]??_0x2a9b2b?.['dbName'],_0x46ec95[_0x57b31f(0x2e0)]=_0x2a9b2b?.[_0x57b31f(0x2e0)],_0x46ec95[_0x57b31f(0x23d)]=_0x2a9b2b?.[_0x57b31f(0x23d)],_0x46ec95[_0x57b31f(0x269)]=_0x898465?.['tableName'],_0x46ec95[_0x57b31f(0x1fd)]=_0x898465?.[_0x57b31f(0x1fd)],_0x46ec95['pkField']=_0x898465?.[_0x57b31f(0x2ab)],_0x46ec95['tenantCode']=_0x2a9b2b?.[_0x57b31f(0x264)],_0x46ec95['appCode']=_0x2a9b2b?.[_0x57b31f(0x223)],new DBConfig(_0x46ec95,_0x898465);}get[a0_0x342bd1(0x3f5)](){const _0x390790=a0_0x342bd1;return this[_0x390790(0x3c9)]['version'];}['getFieldInstance'](_0x3b8e49){const _0x2939d2=a0_0x342bd1;if(typeof _0x3b8e49!==_0x2939d2(0x3d2)){!![]&&console[_0x2939d2(0x1fc)]('[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x3b8e49);return;}return this[_0x2939d2(0x28f)]()[_0x2939d2(0x396)](_0x3b8e49);}[a0_0x342bd1(0x3f9)](_0xa678da){const _0x3fbd02=a0_0x342bd1;if(!_0xa678da||typeof _0xa678da!==_0x3fbd02(0x1eb))return![];const _0x8cb2f2=this['getFieldInstance'](_0xa678da['code']);return _0x8cb2f2?_0x8cb2f2[_0x3fbd02(0x1e3)]():![];}[a0_0x342bd1(0x3d5)](){const _0x4927f0=a0_0x342bd1,_0x2784e1=this[_0x4927f0(0x465)](_0x4927f0(0x282));return _0x2784e1;}['hasFilterOperation'](){const _0x837b14=a0_0x342bd1;return this['hasOperation'](_0x837b14(0x282));}[a0_0x342bd1(0x3f2)](){const _0x445eda=a0_0x342bd1;return new DatasetItem({'id':this['id'],'name':this[_0x445eda(0x351)],'datasetCode':this[_0x445eda(0x37f)],'dbtableConfig':this[_0x445eda(0x304)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];[a0_0x342bd1(0x3b7)];[a0_0x342bd1(0x29a)];constructor(_0x3d1ebe){const _0x15ca5f=a0_0x342bd1;super(_0x3d1ebe),this[_0x15ca5f(0x3b7)]=_0x3d1ebe['dataset'],this['_relations']=_0x3d1ebe[_0x15ca5f(0x2e4)]||[];}[a0_0x342bd1(0x403)](){return'v2';}[a0_0x342bd1(0x228)](){const _0x1dae1a=a0_0x342bd1,_0xded554={};return _0xded554[_0x1dae1a(0x202)]=this['_raw'][_0x1dae1a(0x202)],_0xded554[_0x1dae1a(0x312)]=![],_0xded554;}[a0_0x342bd1(0x2d0)](){const _0x38a09a=a0_0x342bd1;return this[_0x38a09a(0x3c9)]['operations'];}[a0_0x342bd1(0x2e3)](){const _0x1a9b74=a0_0x342bd1;return this[_0x1a9b74(0x3c9)]['source'];}['getDBConfig'](){const _0x5a4197=a0_0x342bd1,_0x89f10c=this[_0x5a4197(0x3c9)][_0x5a4197(0x1b2)],_0x1a3bf4=_0x89f10c?.['dblinkInfoDTO'],_0x163acb={};return _0x163acb[_0x5a4197(0x442)]=_0x89f10c?.[_0x5a4197(0x442)],_0x163acb[_0x5a4197(0x406)]=_0x89f10c?.[_0x5a4197(0x406)]??_0x1a3bf4?.[_0x5a4197(0x406)],_0x163acb[_0x5a4197(0x2e0)]=_0x1a3bf4?.['dbType'],_0x163acb[_0x5a4197(0x23d)]=_0x1a3bf4?.[_0x5a4197(0x23d)],_0x163acb[_0x5a4197(0x269)]=_0x89f10c?.[_0x5a4197(0x269)],_0x163acb['datasetKey']=_0x89f10c?.[_0x5a4197(0x1fd)],_0x163acb[_0x5a4197(0x2ab)]=_0x89f10c?.[_0x5a4197(0x2ab)],_0x163acb[_0x5a4197(0x264)]=_0x89f10c?.[_0x5a4197(0x264)]??_0x1a3bf4?.[_0x5a4197(0x264)],_0x163acb[_0x5a4197(0x223)]=_0x89f10c?.[_0x5a4197(0x223)]??_0x1a3bf4?.[_0x5a4197(0x223)],new DBConfig(_0x163acb,_0x89f10c);}[a0_0x342bd1(0x28f)](){return this['getFieldListV2']();}[a0_0x342bd1(0x34a)](){const _0x2be976=a0_0x342bd1;return this[_0x2be976(0x3c9)]['fields'];}['getFieldCount'](){const _0x4afdcf=a0_0x342bd1;return this[_0x4afdcf(0x3c9)][_0x4afdcf(0x202)][_0x4afdcf(0x345)];}[a0_0x342bd1(0x246)](_0x1047e0){const _0x271d82=a0_0x342bd1;return this['_raw']['fields'][_0x271d82(0x396)](_0x38722b=>_0x38722b[_0x271d82(0x351)]===_0x1047e0);}['getDatasetMeta'](){const _0x1a2e21=a0_0x342bd1;return this[_0x1a2e21(0x3b7)];}[a0_0x342bd1(0x247)](){const _0x20b43a=a0_0x342bd1;return this[_0x20b43a(0x29a)];}[a0_0x342bd1(0x451)](){const _0x37e93c=a0_0x342bd1;return this[_0x37e93c(0x3b7)]['indexes']||[];}[a0_0x342bd1(0x2cd)](_0x5bb189){const _0x36fd83=a0_0x342bd1;return this[_0x36fd83(0x29a)]['filter'](_0x3c7b21=>_0x3c7b21[_0x36fd83(0x1cc)]===_0x5bb189);}[a0_0x342bd1(0x1f2)](_0x3952a4){return this['_relations']['some'](_0x5b4062=>_0x5b4062['fromField']===_0x3952a4);}[a0_0x342bd1(0x3c8)](_0x9ce469){const _0xdb74bf=a0_0x342bd1,_0x2418e5=this[_0xdb74bf(0x29a)][_0xdb74bf(0x396)](_0x4e5504=>_0x4e5504['fromField']===_0x9ce469);if(!_0x2418e5)return;const _0x470087={};return _0x470087['datasetId']=_0x2418e5[_0xdb74bf(0x2b9)],_0x470087[_0xdb74bf(0x37f)]=_0x2418e5[_0xdb74bf(0x300)],_0x470087[_0xdb74bf(0x439)]=_0x2418e5[_0xdb74bf(0x2d3)],_0x470087[_0xdb74bf(0x269)]=_0x2418e5[_0xdb74bf(0x35e)],_0x470087[_0xdb74bf(0x390)]=_0x2418e5[_0xdb74bf(0x390)],_0x470087;}['getForeignKeyFields'](){const _0xf211d1=a0_0x342bd1;return this[_0xf211d1(0x29a)]['map'](_0x4f2f3c=>_0x4f2f3c[_0xf211d1(0x1cc)]);}['getFieldListV2'](){const _0x202c47=a0_0x342bd1;if(!this[_0x202c47(0x2d1)]){const _0x3d539d=this[_0x202c47(0x3c9)][_0x202c47(0x202)]||[];this[_0x202c47(0x2d1)]=new FieldListV2(_0x3d539d);}return this[_0x202c47(0x2d1)];}[a0_0x342bd1(0x2cb)](_0x4591c1){const _0x354ca3=a0_0x342bd1;if(typeof _0x4591c1!=='string'){!![]&&console[_0x354ca3(0x1fc)](_0x354ca3(0x208),_0x4591c1);return;}return this[_0x354ca3(0x436)]()[_0x354ca3(0x396)](_0x4591c1);}[a0_0x342bd1(0x3f9)](_0x536619){const _0x4065e3=a0_0x342bd1;if(!_0x536619||typeof _0x536619!==_0x4065e3(0x1eb))return![];const _0x292dff=_0x536619[_0x4065e3(0x351)]||_0x536619['code'],_0x48ce5b=this[_0x4065e3(0x2cb)](_0x292dff);return _0x48ce5b?_0x48ce5b[_0x4065e3(0x1e3)]():![];}[a0_0x342bd1(0x2b0)](){const _0x3cb9f2=a0_0x342bd1;if(!this['_operationList']){const _0x56c840=this['ensureFilterOperation'](this[_0x3cb9f2(0x2d0)]()||{});this['_operationList']=new OperationList(_0x56c840,{'fields':this[_0x3cb9f2(0x436)]()[_0x3cb9f2(0x40b)](),'pkField':this['_raw'][_0x3cb9f2(0x1b2)]?.[_0x3cb9f2(0x2ab)],'dbtableConfig':this[_0x3cb9f2(0x3c9)][_0x3cb9f2(0x1b2)]||null});}return this['_operationList'];}[a0_0x342bd1(0x3d5)](){const _0x5528bf=a0_0x342bd1,_0xac4915=this[_0x5528bf(0x465)](_0x5528bf(0x282));return _0xac4915;}[a0_0x342bd1(0x317)](){const _0xe8fb63=a0_0x342bd1;return this[_0xe8fb63(0x341)](_0xe8fb63(0x282));}[a0_0x342bd1(0x3f2)](){const _0x1dc424=a0_0x342bd1;return new DatasetItem({'id':this['id'],'name':this[_0x1dc424(0x351)],'datasetCode':this[_0x1dc424(0x37f)],'dbtableConfig':this[_0x1dc424(0x304)]()});}[a0_0x342bd1(0x279)](){const _0x577edf=a0_0x342bd1,_0x1a4ea1=this[_0x577edf(0x29a)][_0x577edf(0x345)],_0x24371c=this[_0x577edf(0x451)]()[_0x577edf(0x345)];return _0x577edf(0x2c2)+this[_0x577edf(0x351)]+',\x20'+this['datasetCode']+',\x20'+this[_0x577edf(0x2ca)]()+'\x20fields,\x20'+this[_0x577edf(0x42b)]()+_0x577edf(0x2c7)+_0x1a4ea1+_0x577edf(0x2db)+_0x24371c+_0x577edf(0x455);}['getFieldsV2'](){const _0x36691d=a0_0x342bd1;return this[_0x36691d(0x3c9)][_0x36691d(0x202)];}['getFieldV2'](_0x256908){const _0x180869=a0_0x342bd1;return this[_0x180869(0x3c9)]['fields'][_0x180869(0x396)](_0x800e3d=>_0x800e3d[_0x180869(0x351)]===_0x256908);}}function detectDatasetVersion(_0x3391fc){const _0x199aad=a0_0x342bd1;if(_0x3391fc['doVersion']==='v2'&&_0x199aad(0x202)in _0x3391fc&&Array[_0x199aad(0x200)](_0x3391fc['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x342bd1(0x24f)];constructor(_0x37f368){super(_0x37f368);const _0x3feaf8=detectDatasetVersion(_0x37f368);this['_instance']=_0x3feaf8==='v2'?new DrivenDataDetailV2(_0x37f368):new DrivenDataDetailV1(_0x37f368);}get['id'](){return this['_instance']['id'];}get[a0_0x342bd1(0x351)](){const _0x56b4a9=a0_0x342bd1;return this[_0x56b4a9(0x24f)][_0x56b4a9(0x351)];}get[a0_0x342bd1(0x37f)](){const _0x3bfd69=a0_0x342bd1;return this[_0x3bfd69(0x24f)][_0x3bfd69(0x37f)];}get[a0_0x342bd1(0x3f5)](){const _0x2710b4=a0_0x342bd1;return this[_0x2710b4(0x24f)][_0x2710b4(0x403)]()==='v2'?_0x2710b4(0x3b8):'1.0';}[a0_0x342bd1(0x403)](){const _0x1180a5=a0_0x342bd1;return this['_instance'][_0x1180a5(0x403)]();}[a0_0x342bd1(0x2a3)](){const _0x24fedb=a0_0x342bd1;return this[_0x24fedb(0x24f)]['id'];}[a0_0x342bd1(0x32d)](){const _0x15575d=a0_0x342bd1;return this[_0x15575d(0x24f)][_0x15575d(0x37f)];}[a0_0x342bd1(0x3c3)](){const _0x21ac1d=a0_0x342bd1;return this[_0x21ac1d(0x24f)]['name'];}[a0_0x342bd1(0x228)](){const _0x4b1a8b=a0_0x342bd1;return this[_0x4b1a8b(0x24f)][_0x4b1a8b(0x228)]();}[a0_0x342bd1(0x2d0)](){const _0x42a4a0=a0_0x342bd1;return this[_0x42a4a0(0x24f)]['getOperationsData']();}[a0_0x342bd1(0x2e3)](){const _0x491703=a0_0x342bd1;return this[_0x491703(0x24f)][_0x491703(0x2e3)]();}[a0_0x342bd1(0x364)](){const _0x2040a6=a0_0x342bd1;return this['_instance'][_0x2040a6(0x364)]();}['getFieldList'](){const _0x36ee3c=a0_0x342bd1;return this[_0x36ee3c(0x24f)][_0x36ee3c(0x28f)]();}['getFieldsWithDeleted'](){const _0x310585=a0_0x342bd1;return this[_0x310585(0x24f)][_0x310585(0x326)]();}[a0_0x342bd1(0x34a)](){const _0x29f085=a0_0x342bd1;return this[_0x29f085(0x24f)][_0x29f085(0x34a)]();}[a0_0x342bd1(0x2ca)](){const _0x33ec4c=a0_0x342bd1;return this[_0x33ec4c(0x24f)][_0x33ec4c(0x2ca)]();}['getPkField'](){const _0x5dfb89=a0_0x342bd1,_0x34ec6b=this[_0x5dfb89(0x24f)][_0x5dfb89(0x304)]();return _0x34ec6b?.[_0x5dfb89(0x2ab)];}['getDBConfig'](){const _0x5e14df=a0_0x342bd1;return this[_0x5e14df(0x24f)][_0x5e14df(0x411)]();}[a0_0x342bd1(0x2cb)](_0x465fbc){const _0x4b2f0c=a0_0x342bd1;return this[_0x4b2f0c(0x24f)]['getFieldInstance'](_0x465fbc);}['getPrimaryKeyFields'](){const _0x3aba20=a0_0x342bd1;return this[_0x3aba20(0x24f)][_0x3aba20(0x209)]();}[a0_0x342bd1(0x374)](){const _0x397572=a0_0x342bd1;return this[_0x397572(0x24f)][_0x397572(0x374)]();}['getBusinessFields'](){const _0x3fa939=a0_0x342bd1;return this['_instance'][_0x3fa939(0x3fd)]();}[a0_0x342bd1(0x1f1)](){const _0x1f113f=a0_0x342bd1;return this[_0x1f113f(0x24f)][_0x1f113f(0x1f1)]();}[a0_0x342bd1(0x3ef)](){const _0x1d126d=a0_0x342bd1;return this[_0x1d126d(0x24f)][_0x1d126d(0x3ef)]();}[a0_0x342bd1(0x252)](){const _0x324716=a0_0x342bd1;return this[_0x324716(0x24f)]['getEnumFields']();}['getEnumFieldsMeta'](){const _0x4e1c11=a0_0x342bd1;return this[_0x4e1c11(0x24f)][_0x4e1c11(0x31b)]();}[a0_0x342bd1(0x1df)](){const _0x1b1fb2=a0_0x342bd1;return this[_0x1b1fb2(0x24f)]['getOperations']();}['getOperationCount'](){const _0x243778=a0_0x342bd1;return this[_0x243778(0x24f)][_0x243778(0x42b)]();}[a0_0x342bd1(0x3b6)](){const _0x254c20=a0_0x342bd1;return this[_0x254c20(0x24f)][_0x254c20(0x3b6)]();}['getDisabledOperations'](){const _0x56d250=a0_0x342bd1;return this[_0x56d250(0x24f)][_0x56d250(0x221)]();}['getEnabledOperationInstances'](){const _0x56c925=a0_0x342bd1;return this[_0x56c925(0x24f)]['getEnabledOperationInstances']();}[a0_0x342bd1(0x36a)](){const _0x6393aa=a0_0x342bd1;return this[_0x6393aa(0x24f)][_0x6393aa(0x36a)]();}['getStats'](){const _0x1939f4=a0_0x342bd1;return this[_0x1939f4(0x24f)][_0x1939f4(0x1cb)]();}['getDatasetMeta'](){const _0x2431b3=a0_0x342bd1;return this[_0x2431b3(0x24f)][_0x2431b3(0x377)]();}[a0_0x342bd1(0x247)](){const _0x2d7d28=a0_0x342bd1;return this[_0x2d7d28(0x24f)][_0x2d7d28(0x247)]();}[a0_0x342bd1(0x451)](){const _0x52cd7b=a0_0x342bd1;return this[_0x52cd7b(0x24f)][_0x52cd7b(0x451)]();}['getFilterOperators'](){const _0xf09ed8=a0_0x342bd1;return this[_0xf09ed8(0x24f)][_0xf09ed8(0x2ff)]();}['getFieldsFilterOperatorsMap'](){const _0x4a7bb0=a0_0x342bd1;return this[_0x4a7bb0(0x24f)][_0x4a7bb0(0x265)]();}[a0_0x342bd1(0x463)](){const _0x458973=a0_0x342bd1;return this[_0x458973(0x24f)][_0x458973(0x463)]();}['getFilterOperation'](){const _0x94f732=a0_0x342bd1;return this[_0x94f732(0x24f)]['getFilterOperation']();}[a0_0x342bd1(0x317)](){const _0x19e424=a0_0x342bd1;return this[_0x19e424(0x24f)]['hasFilterOperation']();}[a0_0x342bd1(0x3f2)](){const _0x18d960=a0_0x342bd1;return this[_0x18d960(0x24f)][_0x18d960(0x3f2)]();}[a0_0x342bd1(0x279)](){const _0x57eacf=a0_0x342bd1;return this['_instance'][_0x57eacf(0x279)]();}['getInternalInstance'](){return this['_instance'];}}function detectDatasetVersion2(_0x5e254c){const _0xc6ab41=a0_0x342bd1;if(_0x5e254c[_0xc6ab41(0x34e)]==='v2'&&_0xc6ab41(0x202)in _0x5e254c&&Array[_0xc6ab41(0x200)](_0x5e254c[_0xc6ab41(0x202)]))return'v2';return'v1';}function createDrivenDataDetail(_0x2c5d27,_0x594eb9={}){const {forceVersion:_0x8ff862}=_0x594eb9;if(_0x8ff862==='v2')return new DrivenDataDetailV2(_0x2c5d27);if(_0x8ff862==='v1')return new DrivenDataDetailV1(_0x2c5d27);const _0x27705b=detectDatasetVersion2(_0x2c5d27);if(_0x27705b==='v2')return new DrivenDataDetailV2(_0x2c5d27);return new DrivenDataDetailV1(_0x2c5d27);}function isV2Data(_0xacc279){return detectDatasetVersion2(_0xacc279)==='v2';}function isV1Data(_0x589568){return detectDatasetVersion2(_0x589568)==='v1';}function isV2Instance(_0x522671){const _0x82320e=a0_0x342bd1;return _0x522671[_0x82320e(0x403)]()==='v2';}function isV1Instance(_0x12dc03){const _0xba456c=a0_0x342bd1;return _0x12dc03[_0xba456c(0x403)]()==='v1';}class DatasetGroup{[a0_0x342bd1(0x360)];constructor(_0x1dff72){const _0xb88823=a0_0x342bd1;this[_0xb88823(0x360)]=Array['isArray'](_0x1dff72)?[..._0x1dff72]:[_0x1dff72],this[_0xb88823(0x360)]['sort']((_0x234afb,_0x7d6ba9)=>{const _0x4758ab=Number(_0x234afb['id'])||0x0,_0x47b93b=Number(_0x7d6ba9['id'])||0x0;return _0x47b93b-_0x4758ab;});}[a0_0x342bd1(0x3e0)](){const _0x281bb1=a0_0x342bd1;return this[_0x281bb1(0x360)]['length']>0x1;}[a0_0x342bd1(0x281)](){const _0x492ab4=a0_0x342bd1;return this[_0x492ab4(0x360)][0x0];}['getOldest'](){const _0x45262e=a0_0x342bd1;return this[_0x45262e(0x360)][this[_0x45262e(0x360)][_0x45262e(0x345)]-0x1];}[a0_0x342bd1(0x233)](){const _0x4cbc30=a0_0x342bd1;return[...this[_0x4cbc30(0x360)]];}['getCount'](){const _0x629ea4=a0_0x342bd1;return this[_0x629ea4(0x360)][_0x629ea4(0x345)];}[a0_0x342bd1(0x2bb)](_0x252c3e){const _0x57196a=a0_0x342bd1;return this[_0x57196a(0x360)][_0x252c3e];}[a0_0x342bd1(0x3e5)](_0x1b2b5c){const _0x5ea8dc=a0_0x342bd1;return this[_0x5ea8dc(0x360)][_0x5ea8dc(0x396)](_0x5413d1=>_0x5413d1['id']===_0x1b2b5c);}[a0_0x342bd1(0x45b)](_0xc5c937){const _0x5c7615=a0_0x342bd1;return this[_0x5c7615(0x360)]['find'](_0x1f79d1=>_0x1f79d1[_0x5c7615(0x37f)]===_0xc5c937);}[a0_0x342bd1(0x26e)](){const _0x1988ce=a0_0x342bd1;return this[_0x1988ce(0x360)][_0x1988ce(0x2bc)](_0x5e8742=>_0x5e8742['id'])[_0x1988ce(0x282)](_0x54feef=>_0x54feef!==undefined);}[a0_0x342bd1(0x22e)](){const _0x2eb6be=a0_0x342bd1;return this[_0x2eb6be(0x360)][_0x2eb6be(0x2bc)](_0xed3c0a=>_0xed3c0a[_0x2eb6be(0x37f)]);}[a0_0x342bd1(0x279)](){const _0x100a87=a0_0x342bd1;if(this[_0x100a87(0x3e0)]())return _0x100a87(0x2d8)+this[_0x100a87(0x360)][_0x100a87(0x345)]+_0x100a87(0x368)+this[_0x100a87(0x281)]()[_0x100a87(0x351)]+')';return'DatasetGroup('+this[_0x100a87(0x360)][0x0][_0x100a87(0x351)]+')';}}class DatasetGroupMap{[a0_0x342bd1(0x240)];constructor(_0x446aee){const _0x3fd391=a0_0x342bd1;this[_0x3fd391(0x240)]=new Map();for(const _0x123895 of _0x446aee){const _0x1bf448=getTableKey(_0x123895);if(!this[_0x3fd391(0x240)][_0x3fd391(0x2a1)](_0x1bf448))this[_0x3fd391(0x240)][_0x3fd391(0x3a0)](_0x1bf448,new DatasetGroup(_0x123895));else{const _0x35e632=this[_0x3fd391(0x240)][_0x3fd391(0x394)](_0x1bf448),_0x47c9b6=[..._0x35e632[_0x3fd391(0x233)](),_0x123895];this[_0x3fd391(0x240)][_0x3fd391(0x3a0)](_0x1bf448,new DatasetGroup(_0x47c9b6));}}}['get'](_0x437101){return this['groups']['get'](_0x437101);}[a0_0x342bd1(0x2a1)](_0x6001){const _0x457147=a0_0x342bd1;return this[_0x457147(0x240)][_0x457147(0x2a1)](_0x6001);}get[a0_0x342bd1(0x1b1)](){const _0x90aa47=a0_0x342bd1;return this[_0x90aa47(0x240)][_0x90aa47(0x1b1)];}[a0_0x342bd1(0x1ea)](){const _0xe95dc=a0_0x342bd1;return this[_0xe95dc(0x240)][_0xe95dc(0x1ea)]();}['values'](){const _0x2e0fd3=a0_0x342bd1;return this[_0x2e0fd3(0x240)][_0x2e0fd3(0x31e)]();}['entries'](){const _0x27400a=a0_0x342bd1;return this['groups'][_0x27400a(0x241)]();}[Symbol[a0_0x342bd1(0x24b)]](){const _0xb0aeea=a0_0x342bd1;return this[_0xb0aeea(0x240)][_0xb0aeea(0x241)]();}['forEach'](_0x57b107){const _0x12a8d0=a0_0x342bd1;this[_0x12a8d0(0x240)]['forEach']((_0x1dc3fc,_0x4eb9f2)=>_0x57b107(_0x1dc3fc,_0x4eb9f2,this));}['getConflicts'](){const _0x16e874=a0_0x342bd1,_0x57a2ee=new Map();for(const [_0x30021f,_0x1bc6b0]of this['groups']){_0x1bc6b0[_0x16e874(0x3e0)]()&&_0x57a2ee['set'](_0x30021f,_0x1bc6b0);}return _0x57a2ee;}[a0_0x342bd1(0x1b9)](){const _0x24a396=a0_0x342bd1;for(const _0x453ba7 of this[_0x24a396(0x240)][_0x24a396(0x31e)]()){if(_0x453ba7[_0x24a396(0x3e0)]())return!![];}return![];}[a0_0x342bd1(0x27d)](){const _0x57310e=a0_0x342bd1;let _0x3c14e0=0x0,_0x24e269=0x0;for(const _0x1113db of this[_0x57310e(0x240)][_0x57310e(0x31e)]()){_0x1113db[_0x57310e(0x3e0)]()&&(_0x3c14e0++,_0x24e269+=_0x1113db[_0x57310e(0x2e8)]());}const _0x5f5c6d={};return _0x5f5c6d['conflictGroupCount']=_0x3c14e0,_0x5f5c6d['conflictItemCount']=_0x24e269,_0x5f5c6d[_0x57310e(0x38e)]=this[_0x57310e(0x240)][_0x57310e(0x1b1)],_0x5f5c6d;}[a0_0x342bd1(0x363)](){const _0x10777d=a0_0x342bd1,_0x232567=[];for(const _0x4bf078 of this[_0x10777d(0x240)][_0x10777d(0x31e)]()){_0x232567[_0x10777d(0x37b)](..._0x4bf078[_0x10777d(0x233)]());}return _0x232567;}['getLatestDatasets'](){const _0x326980=a0_0x342bd1,_0x29cc9f=[];for(const _0x20856a of this[_0x326980(0x240)][_0x326980(0x31e)]()){_0x29cc9f[_0x326980(0x37b)](_0x20856a['getLatest']());}return _0x29cc9f;}[a0_0x342bd1(0x281)](_0x547939){const _0x3ac39d=a0_0x342bd1;return this[_0x3ac39d(0x240)][_0x3ac39d(0x394)](_0x547939)?.[_0x3ac39d(0x281)]();}[a0_0x342bd1(0x233)](_0x3c8993){const _0x35597b=a0_0x342bd1;return this[_0x35597b(0x240)][_0x35597b(0x394)](_0x3c8993)?.[_0x35597b(0x233)]()||[];}[a0_0x342bd1(0x1c7)](){const _0x49f0fa=a0_0x342bd1,_0x3d346e=this[_0x49f0fa(0x231)](),_0xc5916e=_0x3d346e[_0x49f0fa(0x2bc)](_0x433bbb=>_0x433bbb['toJSON']()),_0x1e744e={};return _0x1e744e[_0x49f0fa(0x275)]=![],generateDatasetsConfig(_0xc5916e,_0x1e744e);}['toFullConfig'](){const _0x2841e9=a0_0x342bd1,_0x2c75e9=this[_0x2841e9(0x363)](),_0x123bad=_0x2c75e9[_0x2841e9(0x2bc)](_0x3858d4=>_0x3858d4[_0x2841e9(0x463)]());return generateFullDatasetsConfig(_0x123bad);}[a0_0x342bd1(0x27b)](){const _0x1304e2=a0_0x342bd1,_0x5b1f55={};for(const [_0x502cf1,_0x8227e]of this[_0x1304e2(0x240)]){_0x5b1f55[_0x502cf1]=_0x8227e;}return _0x5b1f55;}[a0_0x342bd1(0x463)](){const _0xe5e4b7=a0_0x342bd1,_0x280ac1={};for(const [_0x330592,_0x28ee13]of this[_0xe5e4b7(0x240)]){_0x280ac1[_0x330592]=_0x28ee13[_0xe5e4b7(0x233)]()[_0xe5e4b7(0x2bc)](_0x31cefa=>_0x31cefa[_0xe5e4b7(0x463)]());}return _0x280ac1;}[a0_0x342bd1(0x279)](){const _0x36e782=a0_0x342bd1;return _0x36e782(0x324)+this['groups'][_0x36e782(0x1b1)]+_0x36e782(0x3e6)+(this[_0x36e782(0x1b9)]()?_0x36e782(0x2f0):_0x36e782(0x1e1))+')';}}class DatasetList{[a0_0x342bd1(0x427)];constructor(_0x4dc2e8){const _0x58e699=a0_0x342bd1;let _0x1837fc;if(Array[_0x58e699(0x200)](_0x4dc2e8))_0x1837fc=_0x4dc2e8;else{if(_0x58e699(0x284)in _0x4dc2e8){if(!_0x4dc2e8[_0x58e699(0x284)])throw new Error(_0x58e699(0x1ad));if(Array['isArray'](_0x4dc2e8[_0x58e699(0x24c)]))_0x1837fc=_0x4dc2e8['data']['map'](_0x108d30=>({..._0x108d30,'datasetCode':_0x108d30[_0x58e699(0x2bd)]||_0x108d30['datasetCode']}));else{if(_0x4dc2e8[_0x58e699(0x24c)]?.[_0x58e699(0x1bd)])_0x1837fc=_0x4dc2e8[_0x58e699(0x24c)][_0x58e699(0x1bd)]['map'](_0x4bc140=>({..._0x4bc140,'datasetCode':_0x4bc140[_0x58e699(0x2bd)]||_0x4bc140[_0x58e699(0x37f)]}));else throw new Error(_0x58e699(0x2f5));}}else{if(_0x58e699(0x1bd)in _0x4dc2e8){if(!Array['isArray'](_0x4dc2e8[_0x58e699(0x1bd)]))throw new Error(_0x58e699(0x1d2));_0x1837fc=_0x4dc2e8['tableData'][_0x58e699(0x2bc)](_0x401e8a=>({..._0x401e8a,'datasetCode':_0x401e8a['code']||_0x401e8a[_0x58e699(0x37f)]}));}else throw new Error(_0x58e699(0x2b2));}}const _0x41d39c=_0x1837fc[_0x58e699(0x2bc)](_0x4e8411=>new DatasetItem(_0x4e8411));this[_0x58e699(0x427)]=new DatasetGroupMap(_0x41d39c);}get[a0_0x342bd1(0x29f)](){return this['_datasetMap'];}['getItems'](){const _0x528c73=a0_0x342bd1;return this[_0x528c73(0x427)][_0x528c73(0x363)]();}[a0_0x342bd1(0x2e8)](){const _0x15592f=a0_0x342bd1;return this['getItems']()[_0x15592f(0x345)];}[a0_0x342bd1(0x322)](){const _0x511520=a0_0x342bd1;return this[_0x511520(0x427)][_0x511520(0x1b1)]===0x0;}[a0_0x342bd1(0x2bb)](_0x498326){const _0x12e995=a0_0x342bd1;return this[_0x12e995(0x337)]()[_0x498326];}[a0_0x342bd1(0x2b8)](){const _0x53acdb=a0_0x342bd1;return this[_0x53acdb(0x337)]()[0x0];}[a0_0x342bd1(0x1b6)](){const _0x4e723e=this['getItems']();return _0x4e723e[_0x4e723e['length']-0x1];}[a0_0x342bd1(0x45b)](_0x20df79){const _0x2e363f=a0_0x342bd1;for(const _0x1456a8 of this[_0x2e363f(0x427)][_0x2e363f(0x31e)]()){const _0x5cd9d7=_0x1456a8[_0x2e363f(0x45b)](_0x20df79);if(_0x5cd9d7)return _0x5cd9d7;}return;}[a0_0x342bd1(0x20d)](_0x350b6f){const _0x39d510=a0_0x342bd1;return this[_0x39d510(0x337)]()[_0x39d510(0x396)](_0x44d54a=>_0x44d54a[_0x39d510(0x351)]===_0x350b6f);}[a0_0x342bd1(0x3e5)](_0xd435dc){const _0x5e0254=a0_0x342bd1;for(const _0x83c817 of this[_0x5e0254(0x427)][_0x5e0254(0x31e)]()){const _0x12398b=_0x83c817[_0x5e0254(0x3e5)](_0xd435dc);if(_0x12398b)return _0x12398b;}return;}[a0_0x342bd1(0x373)](_0x51e2fd){const _0xcc8212=a0_0x342bd1,_0xf589f9=getTableKey(_0x51e2fd);return this[_0xcc8212(0x427)]['getLatest'](_0xf589f9);}[a0_0x342bd1(0x282)](_0xc9257f){const _0x2af5cf=a0_0x342bd1,_0x1d9fac=this[_0x2af5cf(0x337)]()[_0x2af5cf(0x282)](_0xc9257f);return new DatasetList(_0x1d9fac[_0x2af5cf(0x2bc)](_0x14fd47=>_0x14fd47[_0x2af5cf(0x463)]()));}['findAll'](_0x46357a){const _0x358209=a0_0x342bd1;return this[_0x358209(0x337)]()[_0x358209(0x282)](_0x46357a);}['forEach'](_0x3281e8){const _0x189eef=a0_0x342bd1;this[_0x189eef(0x337)]()[_0x189eef(0x40c)](_0x3281e8);}[a0_0x342bd1(0x2bc)](_0x3d28a2){const _0x3ef3a4=a0_0x342bd1;return this[_0x3ef3a4(0x337)]()[_0x3ef3a4(0x2bc)](_0x3d28a2);}[Symbol['iterator']](){const _0x5a0556=a0_0x342bd1;return this[_0x5a0556(0x337)]()[Symbol[_0x5a0556(0x24b)]]();}[a0_0x342bd1(0x25c)](){const _0x416c84=a0_0x342bd1;return this['getItems']()[_0x416c84(0x282)](_0x12d97b=>_0x12d97b[_0x416c84(0x342)]());}[a0_0x342bd1(0x280)](){return this['getItems']()['filter'](_0x473868=>!_0x473868['isVirtualTable']());}[a0_0x342bd1(0x2dc)](){const _0x5d1cf1=a0_0x342bd1,_0x33301f={};for(const _0x4bbbb8 of this[_0x5d1cf1(0x427)]['values']()){const _0x57bbb3=_0x4bbbb8[_0x5d1cf1(0x281)]()[_0x5d1cf1(0x2a7)]();_0x33301f[_0x57bbb3]=_0x4bbbb8[_0x5d1cf1(0x233)]();}return _0x33301f;}[a0_0x342bd1(0x274)](){const _0x2f8112=a0_0x342bd1,_0x19f9af={};for(const _0x3093e1 of this['_datasetMap']['getConflicts']()[_0x2f8112(0x31e)]()){const _0x2c9407=_0x3093e1['getLatest']()['getTableName']();_0x19f9af[_0x2c9407]=_0x3093e1['getAll']()[_0x2f8112(0x2bc)](_0x208bd7=>_0x208bd7['toJSON']());}return{'hasConflicts':Object[_0x2f8112(0x1ea)](_0x19f9af)[_0x2f8112(0x345)]>0x0,'conflicts':_0x19f9af};}['hasConflicts'](){const _0x461f44=a0_0x342bd1;return this['_datasetMap'][_0x461f44(0x1b9)]();}[a0_0x342bd1(0x3af)](){const _0x2575de=a0_0x342bd1,_0x5b8cc1=[];for(const _0x58cc59 of this[_0x2575de(0x427)][_0x2575de(0x2f6)]()['values']()){_0x5b8cc1[_0x2575de(0x37b)](..._0x58cc59[_0x2575de(0x233)]());}return _0x5b8cc1;}[a0_0x342bd1(0x30a)](_0x13f21a){const _0x6b23b8=a0_0x342bd1;if(!_0x13f21a||Object[_0x6b23b8(0x1ea)](_0x13f21a)[_0x6b23b8(0x345)]===0x0)return this[_0x6b23b8(0x29f)][_0x6b23b8(0x1c7)]();const _0x2bba22=this['getItems']()['map'](_0x571cc3=>_0x571cc3[_0x6b23b8(0x463)]());return generateDatasetsConfig(_0x2bba22,_0x13f21a);}[a0_0x342bd1(0x343)](_0x20ae27){const _0x404d82=a0_0x342bd1,_0x5ce2f8=this[_0x404d82(0x30a)](_0x20ae27);return datasetsConfigToArray(_0x5ce2f8);}[a0_0x342bd1(0x3d1)](){const _0x3cc235=a0_0x342bd1;return this[_0x3cc235(0x337)]()[_0x3cc235(0x2bc)](_0x224db8=>_0x224db8[_0x3cc235(0x1c7)]());}[a0_0x342bd1(0x1cb)](){const _0x5cd2e2=a0_0x342bd1;return{'total':this[_0x5cd2e2(0x2e8)](),'virtualTables':this[_0x5cd2e2(0x25c)]()[_0x5cd2e2(0x345)],'realTables':this[_0x5cd2e2(0x280)]()[_0x5cd2e2(0x345)],'hasConflicts':this[_0x5cd2e2(0x1b9)](),'conflictCount':this[_0x5cd2e2(0x3af)]()[_0x5cd2e2(0x345)]};}[a0_0x342bd1(0x3bd)](){const _0x4e606e=a0_0x342bd1;return this[_0x4e606e(0x337)]()[_0x4e606e(0x2bc)](_0xb53749=>_0xb53749['toJSON']());}[a0_0x342bd1(0x463)](){const _0x4d8fd5=a0_0x342bd1;return this[_0x4d8fd5(0x3bd)]();}[a0_0x342bd1(0x279)](){const _0x4e6071=a0_0x342bd1;return _0x4e6071(0x235)+this[_0x4e6071(0x2e8)]()+_0x4e6071(0x376)+this[_0x4e6071(0x427)][_0x4e6071(0x1b1)]+'\x20groups)';}static[a0_0x342bd1(0x416)](_0x436d2f){return new DatasetList(_0x436d2f);}static[a0_0x342bd1(0x471)](_0x8240b7){return new DatasetList(_0x8240b7);}static[a0_0x342bd1(0x26c)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x342bd1(0x242);function renderTemplate(_0x282e39,_0x31c4b4,_0x32508f={}){let _0x35a86b=_0x282e39;return Object['entries'](_0x32508f)['forEach'](([_0x468c83,_0x1eadcd])=>{const _0x3101a6=a0_0x380d,_0x234d63=new RegExp(_0x3101a6(0x1d3)+_0x468c83+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x35a86b=_0x35a86b[_0x3101a6(0x36e)](_0x234d63,_0x1eadcd?'$1':'');}),Object['entries'](_0x31c4b4)['forEach'](([_0x22cb23,_0x450adf])=>{const _0x4dae89=a0_0x380d;if(_0x450adf!==undefined){const _0x2e4698=new RegExp('\x5c{\x5c{'+_0x22cb23+_0x4dae89(0x28d),'g');_0x35a86b=_0x35a86b[_0x4dae89(0x36e)](_0x2e4698,_0x450adf);}}),_0x35a86b;}function generateSDKInitCode(_0x321f36,_0x3f5048,_0x43f359,_0x36352a,_0x1c147c){const _0x289e9d=a0_0x342bd1,_0x50a435={};_0x50a435[_0x289e9d(0x223)]=_0x321f36,_0x50a435[_0x289e9d(0x37f)]=_0x3f5048,_0x50a435[_0x289e9d(0x347)]=_0x43f359,_0x50a435['env']=_0x36352a===_0x289e9d(0x292)?'daily':undefined;const _0x10ee8b={};return _0x10ee8b[_0x289e9d(0x25b)]=_0x36352a!==undefined&&_0x36352a!==_0x289e9d(0x1bf),_0x10ee8b[_0x289e9d(0x462)]=_0x1c147c===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x50a435,_0x10ee8b);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x342bd1(0x20c);function generateAliasExplanation(_0x1a4f72,_0x1b0b8d,_0x5b0213,_0x143403){const _0x1a64cf=a0_0x342bd1,_0x236cd6=_0x1a64cf(0x21c)+_0x1a4f72,_0xf09f25=_0x1a64cf(0x32c),_0x27d882={};return _0x27d882[_0x1a64cf(0x37f)]=_0x1a4f72,_0x27d882[_0x1a64cf(0x410)]=_0x236cd6,_0x27d882[_0x1a64cf(0x269)]=_0x1b0b8d,_0x27d882[_0x1a64cf(0x347)]=_0x5b0213,_0x27d882[_0x1a64cf(0x223)]=_0x143403,_0x27d882[_0x1a64cf(0x3e8)]=_0xf09f25,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x27d882,{});}function DrivenDataDetailPlusMixin(_0x7bad11){const _0x4d6bfe=a0_0x342bd1;return class extends _0x7bad11{[_0x4d6bfe(0x393)](_0x1eac1b){const _0x447e88=_0x4d6bfe,_0x5687c7=this;return{'appCode':_0x1eac1b,'datasetSDKKey':_0x5687c7[_0x447e88(0x434)](),'alias':_0x5687c7[_0x447e88(0x332)](),'tableName':_0x5687c7[_0x447e88(0x2a7)](),'datasetCode':_0x5687c7[_0x447e88(0x37f)]};}[_0x4d6bfe(0x1b7)](_0x88f3e3,_0x36b456=_0x4d6bfe(0x1bf),_0x3326fe=![]){const _0x4b28cb=_0x4d6bfe,_0x4c327c=this;return generateSDKInitCode(_0x88f3e3,_0x4c327c[_0x4b28cb(0x37f)],_0x4c327c['getModelAlias'](),_0x36b456===_0x4b28cb(0x292)?_0x36b456:undefined,_0x3326fe);}[_0x4d6bfe(0x382)](_0x301b79,_0x1410e7,_0x5442a1={}){const _0xf10128=_0x4d6bfe,_0x1e33e7=this,_0x401b86=_0x1e33e7[_0xf10128(0x1df)]()[_0xf10128(0x396)](_0x23d833=>_0x23d833[_0xf10128(0x3c3)]()===_0x301b79);if(!_0x401b86)return null;const _0x350080={};_0x350080[_0xf10128(0x321)]=_0x5442a1[_0xf10128(0x415)]!==![];const _0x25dab3=_0x1e33e7[_0xf10128(0x214)](_0x301b79,_0x350080);if(!_0x25dab3)return null;const _0x120f5d=[];return _0x120f5d[_0xf10128(0x37b)]('//\x20Call\x20the\x20'+_0x401b86[_0xf10128(0x3c3)]()+_0xf10128(0x1d4)),_0x120f5d[_0xf10128(0x37b)](_0x25dab3['sdkCall'][_0xf10128(0x2bd)]),_0x120f5d[_0xf10128(0x37b)](''),_0x5442a1['includeUsageExample']!==![]&&(_0x120f5d[_0xf10128(0x37b)]('//\x20Usage\x20examples'),_0x120f5d[_0xf10128(0x37b)](_0x25dab3[_0xf10128(0x3b4)][_0xf10128(0x236)]),_0x120f5d[_0xf10128(0x37b)](''),_0x120f5d[_0xf10128(0x37b)](_0x25dab3[_0xf10128(0x3b4)]['errorCode'])),_0x120f5d[_0xf10128(0x314)]('\x0a');}[_0x4d6bfe(0x2e5)](_0x2d277b={}){const _0x58ddfc=_0x4d6bfe,_0x1758a9=this,_0x568aa4=_0x1758a9['getEnabledOperationAnalyses'](),_0x20e3a1=[];return _0x568aa4[_0x58ddfc(0x40c)]((_0x17f194,_0x10bf1c)=>{const _0x3ddaea=_0x58ddfc,_0x51a9c9=this['generateFullSDKExample'](_0x17f194[_0x3ddaea(0x351)],_0x3ddaea(0x319),_0x2d277b);_0x51a9c9&&(_0x20e3a1[_0x3ddaea(0x37b)]('//\x20'+(_0x10bf1c+0x1)+'.\x20'+_0x17f194['displayName']),_0x20e3a1['push'](_0x51a9c9),_0x20e3a1[_0x3ddaea(0x37b)](''));}),_0x20e3a1[_0x58ddfc(0x314)]('\x0a');}['generateOperationSummary'](_0x35fe8f){const _0x4f6005=_0x4d6bfe,_0x35b0da=this,_0x535e19=_0x35b0da[_0x4f6005(0x249)](_0x35fe8f);if(!_0x535e19)return null;const _0x2be669={};return _0x2be669[_0x4f6005(0x351)]=_0x535e19[_0x4f6005(0x351)],_0x2be669['displayName']=_0x535e19[_0x4f6005(0x3d0)],_0x2be669[_0x4f6005(0x435)]=_0x535e19[_0x4f6005(0x435)],_0x2be669[_0x4f6005(0x361)]=_0x535e19[_0x4f6005(0x361)],_0x2be669[_0x4f6005(0x44c)]=_0x535e19[_0x4f6005(0x44c)],_0x2be669[_0x4f6005(0x367)]=_0x535e19[_0x4f6005(0x334)][_0x4f6005(0x345)],_0x2be669['hasResponseSchema']=_0x535e19[_0x4f6005(0x460)]!==null,_0x2be669;}['generateAllOperationsSummary'](_0x54bd8f={}){const _0x4bcc17=_0x4d6bfe,_0x2ed4e5=this,_0x2b0782=_0x2ed4e5[_0x4bcc17(0x222)]();return{'datasetName':_0x2ed4e5[_0x4bcc17(0x351)],'datasetCode':_0x2ed4e5[_0x4bcc17(0x37f)],'tableName':_0x2ed4e5[_0x4bcc17(0x2a7)](),'totalOperations':_0x2b0782[_0x4bcc17(0x345)],'operations':_0x2b0782[_0x4bcc17(0x2bc)](_0x1a0b99=>({'name':_0x1a0b99[_0x4bcc17(0x351)],'displayName':_0x1a0b99['displayName'],'method':_0x1a0b99['method'],'enabled':_0x1a0b99['enabled']}))};}[_0x4d6bfe(0x1f6)](_0x5569fe){const _0x776998=_0x4d6bfe,_0x72040d=this,_0x59c2e4=_0x72040d[_0x776998(0x249)](_0x5569fe);if(!_0x59c2e4)return[];return _0x59c2e4[_0x776998(0x334)][_0x776998(0x2bc)](_0x473211=>{const _0x11c7f0=_0x776998,_0x95a2e=_0x72040d['getFieldInstance'](_0x473211);if(!_0x95a2e)return null;const _0x5dbc7c={};return _0x5dbc7c['code']=_0x473211,_0x5dbc7c[_0x11c7f0(0x351)]=_0x95a2e['name']||_0x473211,_0x5dbc7c;})[_0x776998(0x282)](_0x11a27a=>_0x11a27a!==null);}[_0x4d6bfe(0x3dc)](){const _0x4fb739=_0x4d6bfe,_0x21280f=this,_0x41cbb0=new Set(_0x21280f['getEnabledOperationAnalyses']()[_0x4fb739(0x2bc)](_0x4a1911=>String(_0x4a1911['type']))),_0x2bde97=[_0x4fb739(0x34f),'getList',_0x4fb739(0x1dd),_0x4fb739(0x305)];return _0x2bde97['filter'](_0x2d92f4=>!_0x41cbb0[_0x4fb739(0x2a1)](String(_0x2d92f4)));}[_0x4d6bfe(0x297)](_0x385591='demo-app'){const _0xe014cd=_0x4d6bfe,_0x1de8e6=this;return generateAliasExplanation(_0x1de8e6[_0xe014cd(0x37f)],_0x1de8e6[_0xe014cd(0x2a7)](),_0x1de8e6[_0xe014cd(0x332)](),_0x385591);}};}function operationToAnalysis(_0x242122){const _0x672b32=a0_0x342bd1;return{'name':_0x242122[_0x672b32(0x3c3)](),'displayName':_0x242122['getDisplayName'](),'type':_0x242122[_0x672b32(0x2a0)](),'method':_0x242122['getMethod'](),'path':_0x242122['getPath'](),'fullUrl':_0x242122[_0x672b32(0x40f)](),'requestFields':_0x242122['getRequestFields'](),'requestParams':_0x242122[_0x672b32(0x3c0)](),'responseSchema':_0x242122['getResponseSchema'](),'requestExample':_0x242122[_0x672b32(0x2c9)](),'responseExample':_0x242122[_0x672b32(0x22b)](),'enabled':_0x242122[_0x672b32(0x2f2)]()};}function operationsToAnalyses(_0xd4be41){const _0x23062f=a0_0x342bd1;if(!Array['isArray'](_0xd4be41))return!![]&&console['warn']('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0xd4be41),[];return _0xd4be41[_0x23062f(0x2bc)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x24647f){const _0x5cc4ef=a0_0x342bd1,_0x18a0ef=_0x24647f[_0x5cc4ef(0x396)](_0x40b7d1=>_0x40b7d1['name']===_0x5cc4ef(0x282)),_0xa8bfc=_0x24647f['filter'](_0x3bf325=>_0x3bf325[_0x5cc4ef(0x351)]!=='filter');return _0x18a0ef?[_0x18a0ef,..._0xa8bfc]:_0xa8bfc;}function filterOperationAnalyses(_0x50ca0d,_0x207f9b={}){const _0x3704af=a0_0x342bd1;let _0x1fabbd=_0x50ca0d;return!_0x207f9b[_0x3704af(0x433)]&&(_0x1fabbd=_0x1fabbd['filter'](_0x5a1e19=>_0x5a1e19['enabled'])),_0x207f9b[_0x3704af(0x3be)]!==![]&&(_0x1fabbd=filterApiOperations(_0x1fabbd)),_0x207f9b[_0x3704af(0x251)]&&(_0x1fabbd=_0x1fabbd[_0x3704af(0x282)](_0x207f9b[_0x3704af(0x251)])),sortOperationsWithFilterFirst(_0x1fabbd);}function getOperationStats(_0xc55c59){const _0x10adc2=a0_0x342bd1,_0x34ff70=_0xc55c59[_0x10adc2(0x282)](_0xbcb2ed=>_0xbcb2ed[_0x10adc2(0x44c)]);return{'total':_0xc55c59['length'],'enabled':_0x34ff70[_0x10adc2(0x345)],'disabled':_0xc55c59[_0x10adc2(0x345)]-_0x34ff70[_0x10adc2(0x345)],'byType':getCountByType(_0x34ff70),'byMethod':getCountByMethod(_0x34ff70)};}function getCountByType(_0x2cfdf5){const _0x4ec380=a0_0x342bd1,_0x160722={};return _0x2cfdf5[_0x4ec380(0x40c)](_0xa1c1b7=>{const _0x596b94=_0x4ec380;if(_0xa1c1b7[_0x596b94(0x399)])_0x160722[_0xa1c1b7[_0x596b94(0x399)]]=(_0x160722[_0xa1c1b7[_0x596b94(0x399)]]||0x0)+0x1;}),_0x160722;}function getCountByMethod(_0x3f61f3){const _0x4a584f={};return _0x3f61f3['forEach'](_0x28a12b=>{const _0x9f7f6b=a0_0x380d;_0x4a584f[_0x28a12b[_0x9f7f6b(0x435)]]=(_0x4a584f[_0x28a12b[_0x9f7f6b(0x435)]]||0x0)+0x1;}),_0x4a584f;}function supportsCRUD(_0x123fa0){const _0x57dc2f=a0_0x342bd1,_0x40a87c=new Set(_0x123fa0['map'](_0x5e40f8=>_0x5e40f8[_0x57dc2f(0x399)])[_0x57dc2f(0x282)](Boolean));return _0x40a87c[_0x57dc2f(0x2a1)](_0x57dc2f(0x34f))&&_0x40a87c['has']('getList')&&_0x40a87c[_0x57dc2f(0x2a1)](_0x57dc2f(0x1dd))&&_0x40a87c['has'](_0x57dc2f(0x305));}function createOperationDocMeta(_0x5bd0c5,_0x1fa2d1,_0x5d0d97,_0x174316,_0x3c9e22,_0x276a40){const _0x54a8f2=a0_0x342bd1,_0x59d7a8={};return _0x59d7a8[_0x54a8f2(0x321)]=_0x276a40?.[_0x54a8f2(0x321)],{'operation':_0x5bd0c5,'operationInstance':_0x1fa2d1,'basicInfo':{'name':_0x5bd0c5[_0x54a8f2(0x351)],'displayName':_0x5bd0c5[_0x54a8f2(0x3d0)],'method':_0x5bd0c5[_0x54a8f2(0x435)],'path':_0x5bd0c5['path'],'fullUrl':_0x5bd0c5[_0x54a8f2(0x3ae)],'enabled':_0x5bd0c5[_0x54a8f2(0x44c)]},'sdkCall':{'datasetCode':_0x5d0d97,'datasetSDKKey':_0x174316,'tableName':_0x3c9e22,'operationName':_0x5bd0c5[_0x54a8f2(0x351)],'params':_0x5bd0c5[_0x54a8f2(0x334)],'code':_0x1fa2d1[_0x54a8f2(0x1b3)](_0x174316,_0x59d7a8)},'usageExample':_0x1fa2d1[_0x54a8f2(0x278)](_0x174316)};}function createOperationsOverviewData(_0x393baf){const _0x46ccf2=a0_0x342bd1,_0x3bd4ee={};_0x3bd4ee[_0x46ccf2(0x329)]=_0x46ccf2(0x351),_0x3bd4ee[_0x46ccf2(0x469)]=_0x46ccf2(0x389);const _0x391ece={};_0x391ece[_0x46ccf2(0x329)]=_0x46ccf2(0x3d0),_0x391ece['label']=_0x46ccf2(0x27a);const _0x5d5f05={};_0x5d5f05[_0x46ccf2(0x329)]=_0x46ccf2(0x435),_0x5d5f05['label']='方法';const _0x2205b7={};_0x2205b7[_0x46ccf2(0x329)]=_0x46ccf2(0x318),_0x2205b7[_0x46ccf2(0x469)]=_0x46ccf2(0x45e);const _0xf06ad4={};_0xf06ad4[_0x46ccf2(0x329)]=_0x46ccf2(0x361),_0xf06ad4[_0x46ccf2(0x469)]=_0x46ccf2(0x39f);const _0x403083={};_0x403083[_0x46ccf2(0x329)]=_0x46ccf2(0x38f),_0x403083[_0x46ccf2(0x469)]=_0x46ccf2(0x243);const _0x42db42=[_0x3bd4ee,_0x391ece,_0x5d5f05,_0x2205b7,_0xf06ad4,_0x403083],_0xdc65ae=_0x393baf[_0x46ccf2(0x2bc)](_0x2abd58=>{const _0x39e824=_0x46ccf2,{basicInfo:_0x5d88b2,sdkCall:_0x231788}=_0x2abd58,_0x27ca7f=_0x231788[_0x39e824(0x2bd)][_0x39e824(0x36e)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x39e824(0x36e)](/;$/,''),_0x5a20cf={};return _0x5a20cf[_0x39e824(0x3d0)]=_0x5d88b2[_0x39e824(0x3d0)],_0x5a20cf[_0x39e824(0x351)]=_0x5d88b2[_0x39e824(0x351)],_0x5a20cf['method']=_0x5d88b2[_0x39e824(0x435)],_0x5a20cf[_0x39e824(0x361)]=_0x5d88b2[_0x39e824(0x361)],_0x5a20cf['sdkCall']=_0x27ca7f,_0x5a20cf[_0x39e824(0x38f)]=_0x231788[_0x39e824(0x2bd)],_0x5a20cf;}),_0x53dfbc={};return _0x53dfbc[_0x46ccf2(0x32e)]=_0x42db42,_0x53dfbc[_0x46ccf2(0x1bd)]=_0xdc65ae,_0x53dfbc;}function createDatasetDocMeta(_0x1818b1,_0xe1b981,_0x229701,_0x122a01,_0x18ee97,_0x56b69e,_0x130869,_0x25322e,_0x2c00cc){const _0x1c0cb3=a0_0x342bd1,_0x41fafd={};return _0x41fafd[_0x1c0cb3(0x254)]=_0x1818b1+_0x1c0cb3(0x2bf),_0x41fafd[_0x1c0cb3(0x1b0)]={},_0x41fafd[_0x1c0cb3(0x325)]=_0x2c00cc,_0x41fafd[_0x1c0cb3(0x1b0)]['name']=_0x1818b1,_0x41fafd[_0x1c0cb3(0x1b0)]['code']=_0xe1b981,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x269)]=_0x229701,_0x41fafd[_0x1c0cb3(0x1b0)]['datasetSDKKey']=_0x122a01,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x39e)]=_0x18ee97,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x328)]=_0x56b69e,_0x41fafd[_0x1c0cb3(0x1b0)]['fieldCount']=_0x130869,_0x41fafd[_0x1c0cb3(0x1b0)]['businessFieldCount']=0x0,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x25e)]=0x0,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x413)]=_0x25322e,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x1f7)]=_0x2c00cc[_0x1c0cb3(0x345)],_0x41fafd;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}['getModelAlias'](){const _0x3b3f75=a0_0x342bd1;return this[_0x3b3f75(0x273)]();}[a0_0x342bd1(0x330)](_0x5af8e4=![]){const _0x39e022=a0_0x342bd1;if(!_0x5af8e4&&this['_operationAnalyses'])return this[_0x39e022(0x473)];const _0x152c77=this[_0x39e022(0x1df)]();return this[_0x39e022(0x473)]=operationsToAnalyses(_0x152c77),this[_0x39e022(0x473)];}[a0_0x342bd1(0x222)](){const _0x4f4c34=a0_0x342bd1,_0xd2b72f={};return _0xd2b72f[_0x4f4c34(0x433)]=![],_0xd2b72f['filterBlacklist']=!![],this[_0x4f4c34(0x226)](_0xd2b72f);}[a0_0x342bd1(0x226)](_0x4f7518={}){const _0x1aaefd=a0_0x342bd1;return filterOperationAnalyses(this[_0x1aaefd(0x330)](),_0x4f7518);}['getOperationAnalysis'](_0x4f6704){const _0x4fa8ae=a0_0x342bd1;return this[_0x4fa8ae(0x330)]()['find'](_0x57f57c=>_0x57f57c['name']===_0x4f6704);}[a0_0x342bd1(0x311)](_0x3379ea){const _0x123f0a=a0_0x342bd1;return this[_0x123f0a(0x330)]()[_0x123f0a(0x282)](_0x3900d2=>_0x3900d2[_0x123f0a(0x399)]===_0x3379ea);}[a0_0x342bd1(0x214)](_0x6c8c1,_0x6edc87){const _0x5554c6=a0_0x342bd1,_0x4b7fdd=this[_0x5554c6(0x249)](_0x6c8c1);if(!_0x4b7fdd)return null;const _0xdb9feb=this['getOperations']()[_0x5554c6(0x396)](_0x4baa22=>_0x4baa22[_0x5554c6(0x3c3)]()===_0x4b7fdd[_0x5554c6(0x351)]);if(!_0xdb9feb)throw new Error(_0x5554c6(0x204)+_0x4b7fdd['name']);return createOperationDocMeta(_0x4b7fdd,_0xdb9feb,this[_0x5554c6(0x37f)],this['getDatasetSDKKey'](),this[_0x5554c6(0x2a7)](),_0x6edc87);}['getDatasetDocMeta'](_0x46290f={}){const _0x1e8f8b=a0_0x342bd1,_0x151c27=this[_0x1e8f8b(0x226)](_0x46290f),_0x356300=_0x151c27['map'](_0x1a0cfa=>this[_0x1e8f8b(0x214)](_0x1a0cfa['name']))['filter'](_0x28908b=>_0x28908b!==null);return createDatasetDocMeta(this[_0x1e8f8b(0x351)],this['datasetCode'],this[_0x1e8f8b(0x2a7)](),this['getDatasetSDKKey'](),this[_0x1e8f8b(0x273)](),this[_0x1e8f8b(0x328)],this['getFieldCount'](),this[_0x1e8f8b(0x42b)](),_0x356300);}[a0_0x342bd1(0x381)](_0x342fcb){return createOperationsOverviewData(_0x342fcb);}[a0_0x342bd1(0x458)](){const _0x570e95=a0_0x342bd1;return supportsCRUD(this[_0x570e95(0x222)]());}[a0_0x342bd1(0x203)](){const _0x46ac0e=a0_0x342bd1;return getOperationStats(this[_0x46ac0e(0x330)]());}[a0_0x342bd1(0x279)](){const _0x3144b6=a0_0x342bd1,_0x30b691=this['getOperationStats']();return'DrivenDataDetailPlus('+this[_0x3144b6(0x351)]+',\x20'+this[_0x3144b6(0x37f)]+',\x20'+this['getFieldCount']()+'\x20fields,\x20'+_0x30b691[_0x3144b6(0x44c)]+'/'+_0x30b691[_0x3144b6(0x263)]+_0x3144b6(0x2f3);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x342bd1(0x473)];[a0_0x342bd1(0x403)](){return'v2';}[a0_0x342bd1(0x332)](){const _0x119c03=a0_0x342bd1;return this[_0x119c03(0x273)]();}[a0_0x342bd1(0x330)](_0x13ab88=![]){const _0x5863ac=a0_0x342bd1;if(!_0x13ab88&&this[_0x5863ac(0x473)])return this[_0x5863ac(0x473)];const _0x187b62=this[_0x5863ac(0x1df)]();return this[_0x5863ac(0x473)]=operationsToAnalyses(_0x187b62),this[_0x5863ac(0x473)];}[a0_0x342bd1(0x222)](){const _0x15fcf2=a0_0x342bd1,_0x5a06da={};return _0x5a06da[_0x15fcf2(0x433)]=![],_0x5a06da[_0x15fcf2(0x3be)]=!![],this[_0x15fcf2(0x226)](_0x5a06da);}[a0_0x342bd1(0x226)](_0x4346b9={}){const _0x3623fb=a0_0x342bd1;return filterOperationAnalyses(this[_0x3623fb(0x330)](),_0x4346b9);}[a0_0x342bd1(0x249)](_0xb6fc57){const _0x50117c=a0_0x342bd1;return this[_0x50117c(0x330)]()['find'](_0x595ce4=>_0x595ce4[_0x50117c(0x351)]===_0xb6fc57);}[a0_0x342bd1(0x311)](_0x29c997){const _0x43f9fa=a0_0x342bd1;return this[_0x43f9fa(0x330)]()[_0x43f9fa(0x282)](_0x1999f9=>_0x1999f9[_0x43f9fa(0x399)]===_0x29c997);}[a0_0x342bd1(0x214)](_0x3bf3fa,_0x4e87e2){const _0x1792a0=a0_0x342bd1,_0x16a9ac=this[_0x1792a0(0x249)](_0x3bf3fa);if(!_0x16a9ac)return null;const _0x21b05a=this[_0x1792a0(0x1df)]()[_0x1792a0(0x396)](_0x320ba9=>_0x320ba9[_0x1792a0(0x3c3)]()===_0x16a9ac[_0x1792a0(0x351)]);if(!_0x21b05a)throw new Error(_0x1792a0(0x204)+_0x16a9ac['name']);return createOperationDocMeta(_0x16a9ac,_0x21b05a,this[_0x1792a0(0x37f)],this[_0x1792a0(0x434)](),this[_0x1792a0(0x2a7)](),_0x4e87e2);}[a0_0x342bd1(0x3b0)](_0x2b7673={}){const _0x274d7c=a0_0x342bd1,_0x23fcdc=this[_0x274d7c(0x226)](_0x2b7673),_0x1767b8=_0x23fcdc[_0x274d7c(0x2bc)](_0x192c04=>this[_0x274d7c(0x214)](_0x192c04[_0x274d7c(0x351)]))['filter'](_0x3805d5=>_0x3805d5!==null);return createDatasetDocMeta(this[_0x274d7c(0x351)],this['datasetCode'],this[_0x274d7c(0x2a7)](),this[_0x274d7c(0x434)](),this[_0x274d7c(0x273)](),this[_0x274d7c(0x328)],this['getFieldCount'](),this[_0x274d7c(0x42b)](),_0x1767b8);}['getOperationsOverviewData'](_0x508461){return createOperationsOverviewData(_0x508461);}[a0_0x342bd1(0x458)](){const _0x1fa83b=a0_0x342bd1;return supportsCRUD(this[_0x1fa83b(0x222)]());}[a0_0x342bd1(0x203)](){const _0x19be32=a0_0x342bd1;return getOperationStats(this[_0x19be32(0x330)]());}[a0_0x342bd1(0x279)](){const _0x309f5c=a0_0x342bd1,_0x25057e=this['getOperationStats']();return _0x309f5c(0x256)+this['name']+',\x20'+this[_0x309f5c(0x37f)]+',\x20'+this[_0x309f5c(0x2ca)]()+_0x309f5c(0x250)+_0x25057e[_0x309f5c(0x44c)]+'/'+_0x25057e[_0x309f5c(0x263)]+_0x309f5c(0x3cf);}}function detectDatasetVersion3(_0x1af110){const _0x256e0b=a0_0x342bd1;if(_0x1af110[_0x256e0b(0x34e)]==='v2'&&_0x256e0b(0x202)in _0x1af110&&Array[_0x256e0b(0x200)](_0x1af110['fields']))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x342bd1(0x24f)];constructor(_0x5023af){const _0x499503=a0_0x342bd1,_0x540165=detectDatasetVersion3(_0x5023af);return this[_0x499503(0x24f)]=_0x540165==='v2'?new DrivenDataDetailPlusV2(_0x5023af):new DrivenDataDetailPlusV1(_0x5023af),new Proxy(this,{'get'(_0x29d62c,_0x1eeddc){const _0x3cac9d=_0x499503;if(_0x1eeddc in _0x29d62c){const _0x2deeef=_0x29d62c[_0x1eeddc];return typeof _0x2deeef===_0x3cac9d(0x30e)?_0x2deeef['bind'](_0x29d62c):_0x2deeef;}if(_0x1eeddc in _0x29d62c['_instance']){const _0x2304b4=_0x29d62c[_0x3cac9d(0x24f)][_0x1eeddc];return typeof _0x2304b4===_0x3cac9d(0x30e)?_0x2304b4[_0x3cac9d(0x258)](_0x29d62c[_0x3cac9d(0x24f)]):_0x2304b4;}return;},'set'(_0x582629,_0x30a50d,_0x2efa78){return _0x582629[_0x30a50d]=_0x2efa78,!![];},'getPrototypeOf'(_0x32aec5){const _0x32a21e=_0x499503;return DrivenDataDetailPlus[_0x32a21e(0x320)];}});}get[a0_0x342bd1(0x351)](){const _0x4d8c65=a0_0x342bd1;return this[_0x4d8c65(0x24f)][_0x4d8c65(0x351)];}get['id'](){const _0x15535a=a0_0x342bd1;return this[_0x15535a(0x24f)]['id'];}get[a0_0x342bd1(0x37f)](){const _0xd636a5=a0_0x342bd1;return this[_0xd636a5(0x24f)][_0xd636a5(0x37f)];}get['source'](){const _0x378e3f=a0_0x342bd1;return this[_0x378e3f(0x24f)][_0x378e3f(0x328)];}get[a0_0x342bd1(0x1b2)](){const _0x49803f=a0_0x342bd1;return this[_0x49803f(0x24f)][_0x49803f(0x411)]();}[a0_0x342bd1(0x403)](){const _0x147d8d=a0_0x342bd1,_0x578849=this[_0x147d8d(0x24f)][_0x147d8d(0x403)]();return _0x578849==='v2'?'v2':'v1';}[a0_0x342bd1(0x2ca)](){const _0x26e198=a0_0x342bd1;return this[_0x26e198(0x24f)][_0x26e198(0x2ca)]();}[a0_0x342bd1(0x42b)](){const _0x1fb87d=a0_0x342bd1;return this[_0x1fb87d(0x24f)][_0x1fb87d(0x42b)]();}[a0_0x342bd1(0x34a)](){const _0x4a5f6a=a0_0x342bd1;return this[_0x4a5f6a(0x24f)][_0x4a5f6a(0x34a)]();}[a0_0x342bd1(0x1df)](){const _0x48d328=a0_0x342bd1;return this[_0x48d328(0x24f)][_0x48d328(0x1df)]();}[a0_0x342bd1(0x440)](_0xccc810){const _0x24ca66=a0_0x342bd1;return this[_0x24ca66(0x24f)][_0x24ca66(0x440)](_0xccc810);}[a0_0x342bd1(0x2cb)](_0x288a88){return this['_instance']['getFieldInstance'](_0x288a88);}[a0_0x342bd1(0x2a7)](){const _0x2837b4=a0_0x342bd1;return this[_0x2837b4(0x24f)][_0x2837b4(0x2a7)]();}[a0_0x342bd1(0x273)](){const _0x514614=a0_0x342bd1;return this[_0x514614(0x24f)]['getTableKey']();}['getDatasetSDKKey'](){const _0x12e11a=a0_0x342bd1;return this['_instance'][_0x12e11a(0x434)]();}['getFieldList'](){const _0x143c6e=a0_0x342bd1;return this[_0x143c6e(0x24f)][_0x143c6e(0x28f)]();}[a0_0x342bd1(0x252)](){const _0x3be6e0=a0_0x342bd1;return this['_instance'][_0x3be6e0(0x252)]();}['getEnumFieldsMeta'](){const _0x127851=a0_0x342bd1;return this[_0x127851(0x24f)][_0x127851(0x31b)]();}['isMultipleSelectField'](_0x10166d){const _0x39c7eb=a0_0x342bd1;return this[_0x39c7eb(0x24f)][_0x39c7eb(0x3f9)](_0x10166d);}['getField'](_0x1495bb){const _0x20fda3=a0_0x342bd1;return this[_0x20fda3(0x24f)][_0x20fda3(0x2fe)](_0x1495bb);}[a0_0x342bd1(0x2b1)](_0xc6feed){const _0x5a2875=a0_0x342bd1;return this[_0x5a2875(0x24f)]['getFieldOptions'](_0xc6feed);}[a0_0x342bd1(0x43f)](_0x109e67){const _0x56aec0=a0_0x342bd1;return this[_0x56aec0(0x24f)]['getFieldSelectItemsSource'](_0x109e67);}['getEnumFieldMeta'](_0x45f6db){const _0x58e4aa=a0_0x342bd1;return this['_instance'][_0x58e4aa(0x211)](_0x45f6db);}['validateEnumValue'](_0x38ecd3,_0x587b75){const _0x314678=a0_0x342bd1;return this['_instance'][_0x314678(0x220)](_0x38ecd3,_0x587b75);}['isRequiredField'](_0x31425c){const _0x5c73af=a0_0x342bd1;return this[_0x5c73af(0x24f)][_0x5c73af(0x1ef)](_0x31425c);}[a0_0x342bd1(0x1cb)](){const _0x4403c4=a0_0x342bd1;return this[_0x4403c4(0x24f)][_0x4403c4(0x1cb)]();}[a0_0x342bd1(0x3d5)](){const _0x456b11=a0_0x342bd1;return this[_0x456b11(0x24f)]['getFilterOperation']();}[a0_0x342bd1(0x317)](){const _0x24240d=a0_0x342bd1;return this['_instance'][_0x24240d(0x317)]();}[a0_0x342bd1(0x341)](_0x219a86){const _0x5c83a4=a0_0x342bd1;return this[_0x5c83a4(0x24f)]['hasOperation'](_0x219a86);}['getDBConfig'](){return this['_instance']['getDBConfig']();}[a0_0x342bd1(0x304)](){const _0x17f8bb=a0_0x342bd1;return this['_instance'][_0x17f8bb(0x304)]();}[a0_0x342bd1(0x2e3)](){const _0x271271=a0_0x342bd1;return this[_0x271271(0x24f)][_0x271271(0x2e3)]();}[a0_0x342bd1(0x330)](_0x3e2f32){const _0xed5a09=a0_0x342bd1;return this[_0xed5a09(0x24f)][_0xed5a09(0x330)](_0x3e2f32);}[a0_0x342bd1(0x222)](){const _0x1c31d2=a0_0x342bd1;return this[_0x1c31d2(0x24f)]['getEnabledOperationAnalyses']();}[a0_0x342bd1(0x226)](_0x409095){const _0x42540f=a0_0x342bd1;return this[_0x42540f(0x24f)][_0x42540f(0x226)](_0x409095);}[a0_0x342bd1(0x249)](_0x1101c7){const _0x363343=a0_0x342bd1;return this[_0x363343(0x24f)]['getOperationAnalysis'](_0x1101c7);}[a0_0x342bd1(0x311)](_0x2eca59){const _0x597dc6=a0_0x342bd1;return this['_instance'][_0x597dc6(0x311)](_0x2eca59);}[a0_0x342bd1(0x214)](_0x331a23,_0x12883d){const _0x2fa2ca=a0_0x342bd1;return this['_instance'][_0x2fa2ca(0x214)](_0x331a23,_0x12883d);}[a0_0x342bd1(0x3b0)](_0x5520af){const _0x505b03=a0_0x342bd1;return this[_0x505b03(0x24f)]['getDatasetDocMeta'](_0x5520af);}[a0_0x342bd1(0x381)](_0x2c813c){const _0x452d19=a0_0x342bd1;return this[_0x452d19(0x24f)][_0x452d19(0x381)](_0x2c813c);}[a0_0x342bd1(0x332)](){const _0x4b3c06=a0_0x342bd1;return this[_0x4b3c06(0x24f)][_0x4b3c06(0x332)]();}[a0_0x342bd1(0x458)](){const _0x473206=a0_0x342bd1;return this[_0x473206(0x24f)][_0x473206(0x458)]();}['getOperationStats'](){const _0xd8dcd8=a0_0x342bd1;return this[_0xd8dcd8(0x24f)]['getOperationStats']();}[a0_0x342bd1(0x279)](){const _0x4413cc=a0_0x342bd1;return this[_0x4413cc(0x24f)][_0x4413cc(0x279)]();}[a0_0x342bd1(0x465)](_0x256514){const _0xf1fe43=a0_0x342bd1;return this[_0xf1fe43(0x24f)][_0xf1fe43(0x465)](_0x256514);}[a0_0x342bd1(0x393)](_0xd580eb){const _0x3071c7=a0_0x342bd1;return this[_0x3071c7(0x24f)][_0x3071c7(0x393)](_0xd580eb);}[a0_0x342bd1(0x1b7)](_0x388d7f,_0x242c0a,_0x75417){const _0x1e0f67=a0_0x342bd1;return this['_instance'][_0x1e0f67(0x1b7)](_0x388d7f,_0x242c0a,_0x75417);}[a0_0x342bd1(0x382)](_0x12c1fd,_0x596ec2,_0x5a4838){const _0x147241=a0_0x342bd1;return this[_0x147241(0x24f)][_0x147241(0x382)](_0x12c1fd,_0x596ec2,_0x5a4838);}[a0_0x342bd1(0x2e5)](_0x317eb6){const _0x6c43d4=a0_0x342bd1;return this['_instance'][_0x6c43d4(0x2e5)](_0x317eb6);}['generateOperationSummary'](_0x198db0){const _0x3ddb1d=a0_0x342bd1;return this[_0x3ddb1d(0x24f)][_0x3ddb1d(0x22d)](_0x198db0);}[a0_0x342bd1(0x46e)](_0x489065){const _0x1926bd=a0_0x342bd1;return this[_0x1926bd(0x24f)][_0x1926bd(0x46e)](_0x489065);}[a0_0x342bd1(0x1f6)](_0x303d4e){const _0x2877b2=a0_0x342bd1;return this['_instance'][_0x2877b2(0x1f6)](_0x303d4e);}['getMissingCRUDOperations'](){const _0x24843a=a0_0x342bd1;return this[_0x24843a(0x24f)][_0x24843a(0x3dc)]();}['generateAliasExplanation'](){const _0x19c895=a0_0x342bd1;return this[_0x19c895(0x24f)]['generateAliasExplanation']();}[a0_0x342bd1(0x37a)](){const _0x3d99b3=a0_0x342bd1;return this[_0x3d99b3(0x24f)];}}function createDrivenDataDetailPlus(_0x1e5008,_0x111baf={}){const _0x17f8ed=a0_0x342bd1;if(_0x111baf[_0x17f8ed(0x2a5)]==='v1')return new DrivenDataDetailPlusV1(_0x1e5008);if(_0x111baf[_0x17f8ed(0x2a5)]==='v2')return new DrivenDataDetailPlusV2(_0x1e5008);if(_0x1e5008[_0x17f8ed(0x34e)]==='v2'||_0x17f8ed(0x3ed)in _0x1e5008)return new DrivenDataDetailPlusV2(_0x1e5008);return new DrivenDataDetailPlusV1(_0x1e5008);}function isPlusV2Instance(_0x434bae){const _0xdc2b61=a0_0x342bd1;return _0x434bae[_0xdc2b61(0x403)]()==='v2';}function isPlusV1Instance(_0x18b81c){const _0x5baf71=a0_0x342bd1;return _0x18b81c[_0x5baf71(0x403)]()==='v1';}var VERSION=a0_0x342bd1(0x2f4);function a0_0x380d(_0x1f89e2,_0x2168ec){_0x1f89e2=_0x1f89e2-0x1ad;const _0x3171e4=a0_0x3171();let _0x380d4b=_0x3171e4[_0x1f89e2];return _0x380d4b;}export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
@@ -1 +1 @@
1
- {"version":3,"file":"FieldV1.d.ts","sourceRoot":"","sources":["../../../../src/core/field/FieldV1.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EAElB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,UAAU,iBAAkB,SAAQ,eAAe;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,gBAAgB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;IAEzC,yBAAyB;IACzB,OAAO,CAAC,OAAO,CAAkC;gBAErC,eAAe,EAAE,iBAAiB;IAQ9C;;;OAGG;IACH,iBAAiB,IAAI,iBAAiB;IAMtC,aAAa;IACb,UAAU,IAAI,YAAY;IAM1B,eAAe;IACf,IAAI,GAAG,IAAI,iBAAiB,CAE3B;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,cAAc;IACd,IAAI,OAAO,IAAI,OAAO,CAErB;IAID,iCAAiC;IACjC,IAAI,MAAM,IAAI,MAAM,GAAG,SAAS,CAE/B;IAED,mCAAmC;IACnC,IAAI,SAAS,IAAI,MAAM,GAAG,SAAS,CAElC;IAED,wBAAwB;IACxB,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,kCAAkC;IAClC,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAEtC;IAID;;OAEG;IACH,IAAI,MAAM,IAAI,iBAAiB,CAqC9B;IAID,aAAa;IACb,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,YAAY,IAAI,OAAO;IAKvB,eAAe;IACf,QAAQ,IAAI,OAAO;IAInB,aAAa;IACb,eAAe,IAAI,OAAO;IAI1B,eAAe;IACf,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,YAAY,IAAI,OAAO;IAMvB;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAMtB;;;OAGG;IACM,MAAM,IAAI,OAAO;IAc1B;;;OAGG;IACM,gBAAgB,IAAI,OAAO;IASpC,eAAe;IACf,cAAc,IAAI,WAAW,EAAE,GAAG,SAAS;IAQ3C,kBAAkB;IAClB,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAUrD;;;;OAIG;IACH,qBAAqB,IAAI,MAAM;IAI/B,YAAY;IACZ,eAAe,IAAI,OAAO;IAI1B,aAAa;IACb,UAAU,IAAI,MAAM,GAAG,SAAS;IAIhC,kBAAkB;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAiBjC,aAAa;IACJ,QAAQ,IAAI,MAAM;CAG5B;AAED;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"FieldV1.d.ts","sourceRoot":"","sources":["../../../../src/core/field/FieldV1.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EAElB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,UAAU,iBAAkB,SAAQ,eAAe;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,gBAAgB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;IAEzC,yBAAyB;IACzB,OAAO,CAAC,OAAO,CAAkC;gBAErC,eAAe,EAAE,iBAAiB;IAQ9C;;;OAGG;IACH,iBAAiB,IAAI,iBAAiB;IAMtC,aAAa;IACb,UAAU,IAAI,YAAY;IAM1B,eAAe;IACf,IAAI,GAAG,IAAI,iBAAiB,CAE3B;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,cAAc;IACd,IAAI,OAAO,IAAI,OAAO,CAErB;IAID,iCAAiC;IACjC,IAAI,MAAM,IAAI,MAAM,GAAG,SAAS,CAE/B;IAED,mCAAmC;IACnC,IAAI,SAAS,IAAI,MAAM,GAAG,SAAS,CAElC;IAED,wBAAwB;IACxB,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,kCAAkC;IAClC,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAEtC;IAID;;OAEG;IACH,IAAI,MAAM,IAAI,iBAAiB,CAqC9B;IAID,aAAa;IACb,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,YAAY,IAAI,OAAO;IAKvB,eAAe;IACf,QAAQ,IAAI,OAAO;IAInB,aAAa;IACb,eAAe,IAAI,OAAO;IAI1B,eAAe;IACf,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,YAAY,IAAI,OAAO;IAMvB;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAMtB;;;OAGG;IACM,MAAM,IAAI,OAAO;IAc1B;;;OAGG;IACM,gBAAgB,IAAI,OAAO;IASpC,eAAe;IACf,cAAc,IAAI,WAAW,EAAE,GAAG,SAAS;IAQ3C,kBAAkB;IAClB,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAUrD;;;;OAIG;IACH,qBAAqB,IAAI,MAAM;IAI/B,YAAY;IACZ,eAAe,IAAI,OAAO;IAI1B,aAAa;IACb,UAAU,IAAI,MAAM,GAAG,SAAS;IAIhC,kBAAkB;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAmBjC,aAAa;IACJ,QAAQ,IAAI,MAAM;CAG5B;AAED;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FieldV2.d.ts","sourceRoot":"","sources":["../../../../src/core/field/FieldV2.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE3E;;;;;;GAMG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,gBAAgB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;gBAE7B,eAAe,EAAE,iBAAiB;IAU9C,aAAa;IACb,UAAU,IAAI,YAAY;IAM1B,eAAe;IACf,IAAI,GAAG,IAAI,iBAAiB,CAE3B;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,cAAc;IACd,IAAI,OAAO,IAAI,OAAO,CAErB;IAID,aAAa;IACb,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,QAAQ,IAAI,OAAO;IAInB,aAAa;IACb,eAAe,IAAI,OAAO;IAI1B,eAAe;IACf,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,YAAY,IAAI,OAAO;IAMvB;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAMtB;;;OAGG;IACM,MAAM,IAAI,OAAO;IAM1B;;;OAGG;IACM,gBAAgB,IAAI,OAAO;IAkBpC;;;OAGG;IACH,cAAc,IAAI,WAAW,EAAE,GAAG,SAAS;IAO3C;;;OAGG;IACH,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAoBrD;;;;OAIG;IACH,qBAAqB,IAAI,MAAM;IAQ/B,+CAA+C;IAC/C,eAAe,IAAI,OAAO;IAK1B,2CAA2C;IAC3C,UAAU,IAAI,MAAM,GAAG,SAAS;IAIhC,cAAc;IACd,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,gBAAgB;IAChB,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;OAIG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI;IAI1B,oBAAoB;IACpB,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAEtC;IAED,kBAAkB;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAmBjC,aAAa;IACJ,QAAQ,IAAI,MAAM;IAM3B;;;;OAIG;IACH,OAAO,CAAC,eAAe;CA+BxB"}
1
+ {"version":3,"file":"FieldV2.d.ts","sourceRoot":"","sources":["../../../../src/core/field/FieldV2.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE3E;;;;;;GAMG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,gBAAgB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;gBAE7B,eAAe,EAAE,iBAAiB;IAU9C,aAAa;IACb,UAAU,IAAI,YAAY;IAM1B,eAAe;IACf,IAAI,GAAG,IAAI,iBAAiB,CAE3B;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,cAAc;IACd,IAAI,OAAO,IAAI,OAAO,CAErB;IAID,aAAa;IACb,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,QAAQ,IAAI,OAAO;IAInB,aAAa;IACb,eAAe,IAAI,OAAO;IAI1B,eAAe;IACf,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,YAAY,IAAI,OAAO;IAMvB;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAMtB;;;OAGG;IACM,MAAM,IAAI,OAAO;IAM1B;;;OAGG;IACM,gBAAgB,IAAI,OAAO;IAkBpC;;;OAGG;IACH,cAAc,IAAI,WAAW,EAAE,GAAG,SAAS;IAO3C;;;OAGG;IACH,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAoBrD;;;;OAIG;IACH,qBAAqB,IAAI,MAAM;IAQ/B,+CAA+C;IAC/C,eAAe,IAAI,OAAO;IAK1B,2CAA2C;IAC3C,UAAU,IAAI,MAAM,GAAG,SAAS;IAIhC,cAAc;IACd,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,gBAAgB;IAChB,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;OAIG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI;IAI1B,oBAAoB;IACpB,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAEtC;IAED,kBAAkB;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAqBjC,aAAa;IACJ,QAAQ,IAAI,MAAM;IAM3B;;;;OAIG;IACH,OAAO,CAAC,eAAe;CA+BxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.3.4-beta.0",
3
+ "version": "1.3.5-beta.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",