@lovrabet/dsparser 1.3.1-beta.1 → 1.3.3

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_0x136ce7=a0_0x9109;(function(_0x49f126,_0xe87110){const _0xc57976=a0_0x9109,_0x1676e6=_0x49f126();while(!![]){try{const _0x2b72bf=-parseInt(_0xc57976(0x281))/0x1+-parseInt(_0xc57976(0x2e4))/0x2+parseInt(_0xc57976(0x3bb))/0x3+parseInt(_0xc57976(0x33e))/0x4*(parseInt(_0xc57976(0x24f))/0x5)+parseInt(_0xc57976(0x2b0))/0x6+parseInt(_0xc57976(0x164))/0x7*(parseInt(_0xc57976(0x245))/0x8)+parseInt(_0xc57976(0x23d))/0x9;if(_0x2b72bf===_0xe87110)break;else _0x1676e6['push'](_0x1676e6['shift']());}catch(_0x3a3492){_0x1676e6['push'](_0x1676e6['shift']());}}}(a0_0x54e0,0x79fc8));function toCamelCase(_0x3f98cf){const _0x41b860=a0_0x9109;if(!_0x3f98cf)return'';return _0x3f98cf['split'](/[_-]/)[_0x41b860(0x3cd)]((_0x440dff,_0x220e5c)=>{const _0x571658=_0x41b860;if(_0x220e5c===0x0)return _0x440dff[_0x571658(0x2ba)]();return _0x440dff[_0x571658(0x3fc)](0x0)[_0x571658(0x28e)]()+_0x440dff[_0x571658(0x3ee)](0x1)[_0x571658(0x2ba)]();})[_0x41b860(0x289)]('');}function toPascalCase(_0x3ad2ec){const _0x970be9=a0_0x9109;if(!_0x3ad2ec)return'';const _0x2a7a03=toCamelCase(_0x3ad2ec);return _0x2a7a03[_0x970be9(0x3fc)](0x0)[_0x970be9(0x28e)]()+_0x2a7a03[_0x970be9(0x3ee)](0x1);}function toSnakeCase(_0x45713a){const _0x466928=a0_0x9109;if(!_0x45713a)return'';return _0x45713a[_0x466928(0x218)](/([A-Z])/g,_0x466928(0x31e))[_0x466928(0x2ba)]()[_0x466928(0x218)](/^_/,'');}function toKebabCase(_0x3f8867){const _0x1a27fa=a0_0x9109;if(!_0x3f8867)return'';return _0x3f8867[_0x1a27fa(0x218)](/([A-Z])/g,'-$1')[_0x1a27fa(0x2ba)]()[_0x1a27fa(0x218)](/^-/,'');}function normalizeFieldName(_0x495208){const _0x545844=a0_0x9109;if(!_0x495208)return'';return _0x495208[_0x545844(0x169)]()['replace'](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')[_0x545844(0x218)](/_+/g,'_')[_0x545844(0x218)](/^_|_$/g,'');}function getTableName(_0x55c4b8){const _0x485521=a0_0x9109;if(!_0x55c4b8)return _0x485521(0x2e8);if(_0x55c4b8[_0x485521(0x16b)]?.[_0x485521(0x39a)])return _0x55c4b8[_0x485521(0x16b)][_0x485521(0x39a)];const _0x22bb33=_0x55c4b8[_0x485521(0x2e7)]||_0x55c4b8[_0x485521(0x14e)]||_0x55c4b8['modelCode'];if(_0x22bb33)return generateTableNameFromCode(_0x22bb33);return _0x485521(0x2e8);}function getTableKey(_0x183996){const _0x3b1e40=a0_0x9109;if(typeof _0x183996===_0x3b1e40(0x14f))return toCamelCase(_0x183996);const _0x1315fc=getTableName(_0x183996);return toCamelCase(_0x1315fc);}function generateTableNameFromCode(_0x7b6919){const _0x12e419=a0_0x9109;if(!_0x7b6919)return _0x12e419(0x2e8);const _0x20c5e6=_0x7b6919[_0x12e419(0x3ee)](-0x6)['padStart'](0x6,'0');return _0x12e419(0x2d9)+_0x20c5e6;}function isVirtualTableName(_0x56c4ed){const _0xe1b685=a0_0x9109;return/^dataset_[a-zA-Z0-9]{6}$/[_0xe1b685(0x20b)](_0x56c4ed);}function generateModelKeyFromCode(_0x2fb301){const _0x31d432=a0_0x9109;if(!_0x2fb301)return _0x31d432(0x262);return _0x31d432(0x2d9)+_0x2fb301;}function getDbName(_0x284598){const _0x347374=a0_0x9109;return _0x284598['dbtableConfig']?.['dbName']||_0x284598['dbtableConfig']?.[_0x347374(0x3b0)]?.[_0x347374(0x374)]||'';}function generateDatasetsConfig(_0x31f672,_0x52ac11={}){const _0x15c6bb=a0_0x9109,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x5ca4e7,filter:_0x2ab6e7}=_0x52ac11,_0x2d7e02=_0x2ab6e7?_0x31f672[_0x15c6bb(0x394)](_0x2ab6e7):_0x31f672,_0x3b4bdf=new Map();for(const _0x4219a7 of _0x2d7e02){const _0xd75199=getTableName(_0x4219a7),_0x5ecafc=getDbName(_0x4219a7);!_0x3b4bdf['has'](_0xd75199)&&_0x3b4bdf['set'](_0xd75199,new Set()),_0x3b4bdf[_0x15c6bb(0x2bf)](_0xd75199)[_0x15c6bb(0x189)](_0x5ecafc);}const _0x3d1fb4=new Set();for(const [_0xa3584b,_0x4916dc]of _0x3b4bdf){_0x4916dc[_0x15c6bb(0x307)]>0x1&&_0x3d1fb4[_0x15c6bb(0x189)](_0xa3584b);}const _0xda5b97={},_0x4c874f=new Set();for(const _0x38c027 of _0x2d7e02){const _0x311274=getTableName(_0x38c027);if(enableDeduplication&&_0x4c874f[_0x15c6bb(0x3cf)](_0x311274)){console['warn'](_0x15c6bb(0x21f)+_0x311274+_0x15c6bb(0x3ac)+_0x38c027[_0x15c6bb(0x16a)]+'\x20('+_0x38c027['datasetCode']+')');continue;}_0x4c874f[_0x15c6bb(0x189)](_0x311274);const _0x4afd0e=_0x5ca4e7?_0x5ca4e7(_0x311274,_0x38c027):getTableKey(_0x311274),_0x43bff3=getDbName(_0x38c027),_0x1322da=_0x3d1fb4[_0x15c6bb(0x3cf)](_0x311274)&&_0x43bff3?getTableKey(_0x43bff3)+'_'+_0x4afd0e:_0x4afd0e;_0xda5b97[_0x4afd0e]={'key':_0x4afd0e,'alias':_0x1322da,'tableName':_0x311274,'datasetCode':_0x38c027['datasetCode'],'name':_0x38c027[_0x15c6bb(0x16a)],'id':_0x38c027['id'],'dbName':_0x43bff3};}return _0xda5b97;}function generateFullDatasetsConfig(_0x4f6745,_0x18fc58={}){const _0x2039a0=a0_0x9109,{filter:_0x386c3f,datasetNameGenerator:_0x584467}=_0x18fc58,_0x1b4ca6=_0x386c3f?_0x4f6745[_0x2039a0(0x394)](_0x386c3f):_0x4f6745,_0x471228=new Map();for(const _0x566ac0 of _0x1b4ca6){const _0x21ef16=getTableName(_0x566ac0),_0xa0c9f7=getDbName(_0x566ac0);!_0x471228[_0x2039a0(0x3cf)](_0x21ef16)&&_0x471228[_0x2039a0(0x31d)](_0x21ef16,new Set()),_0x471228['get'](_0x21ef16)['add'](_0xa0c9f7);}const _0x1dd91d=new Set();for(const [_0x45e828,_0x297d65]of _0x471228){_0x297d65[_0x2039a0(0x307)]>0x1&&_0x1dd91d[_0x2039a0(0x189)](_0x45e828);}const _0x14de89=groupByTableName(_0x1b4ca6),_0x55c1d8={};for(const [_0x2a759e,_0x323199]of Object[_0x2039a0(0x225)](_0x14de89)){if(_0x323199[_0x2039a0(0x356)]===0x1){const _0x184c40=_0x323199[0x0],_0x438d2d=_0x584467?_0x584467(_0x2a759e,_0x184c40):getTableKey(_0x2a759e),_0x14f7c9=getDbName(_0x184c40),_0x1e9a3f=_0x1dd91d[_0x2039a0(0x3cf)](_0x2a759e)&&_0x14f7c9?getTableKey(_0x14f7c9)+'_'+_0x438d2d:_0x438d2d;_0x55c1d8[_0x438d2d]={'key':_0x438d2d,'alias':_0x1e9a3f,'tableName':_0x2a759e,'datasetCode':_0x184c40[_0x2039a0(0x2e7)],'name':_0x184c40[_0x2039a0(0x16a)],'id':_0x184c40['id'],'dbName':_0x14f7c9};}else{const _0x1a1885=[..._0x323199][_0x2039a0(0x20f)]((_0x5aad34,_0x2ca150)=>{const _0x1d66b8=Number(_0x5aad34['id'])||0x0,_0x1f02d9=Number(_0x2ca150['id'])||0x0;return _0x1f02d9-_0x1d66b8;});_0x1a1885[_0x2039a0(0x292)]((_0x58283b,_0x356d40)=>{const _0x130112=_0x2039a0,_0x110e33=_0x584467?_0x584467(_0x2a759e,_0x58283b):getTableKey(_0x2a759e),_0x93b1b1=_0x356d40===0x0?_0x110e33:_0x110e33+'_'+_0x356d40,_0x20a7c8=getDbName(_0x58283b),_0xf5691b=_0x1dd91d[_0x130112(0x3cf)](_0x2a759e)&&_0x20a7c8?getTableKey(_0x20a7c8)+'_'+_0x93b1b1:_0x93b1b1;_0x55c1d8[_0x93b1b1]={'key':_0x93b1b1,'alias':_0xf5691b,'tableName':_0x2a759e,'datasetCode':_0x58283b[_0x130112(0x2e7)],'name':_0x58283b[_0x130112(0x16a)],'id':_0x58283b['id'],'dbName':_0x20a7c8};});}}return _0x55c1d8;}function detectTableNameConflicts(_0x33a22f){const _0x1cad93=a0_0x9109,_0x394325={};for(const _0x206f61 of _0x33a22f){const _0xd28ba4=getTableName(_0x206f61);!_0x394325[_0xd28ba4]&&(_0x394325[_0xd28ba4]=[]),_0x394325[_0xd28ba4][_0x1cad93(0x37c)](_0x206f61);}const _0x229ad2={};for(const [_0x3e2a61,_0x189c0b]of Object[_0x1cad93(0x225)](_0x394325)){_0x189c0b[_0x1cad93(0x356)]>0x1&&(_0x229ad2[_0x3e2a61]=_0x189c0b);}return{'hasConflicts':Object['keys'](_0x229ad2)[_0x1cad93(0x356)]>0x0,'conflicts':_0x229ad2};}function createDatasetNameMap(_0x3986e4){const _0x38e8bf=a0_0x9109,_0x2bd0d7={};for(const [_0x4fa50e,_0x21686d]of Object[_0x38e8bf(0x225)](_0x3986e4)){_0x2bd0d7[_0x4fa50e]=_0x21686d[_0x38e8bf(0x2e7)]||'';}return _0x2bd0d7;}function groupByTableName(_0x2835bd){const _0x555996=a0_0x9109,_0x46fc75={};for(const _0x3e9e44 of _0x2835bd){const _0x31de76=getTableName(_0x3e9e44);!_0x46fc75[_0x31de76]&&(_0x46fc75[_0x31de76]=[]),_0x46fc75[_0x31de76][_0x555996(0x37c)](_0x3e9e44);}return _0x46fc75;}function datasetsConfigToArray(_0x18cc18){const _0x526768=a0_0x9109;return Object[_0x526768(0x16c)](_0x18cc18);}function adaptDrivenDataDetail(_0x426c34){const _0x447070=a0_0x9109,_0x3ccd44={};return _0x3ccd44['id']=_0x426c34['modelId'],_0x3ccd44['name']=_0x426c34['name'],_0x3ccd44[_0x447070(0x2e7)]=_0x426c34[_0x447070(0x1b1)],_0x3ccd44[_0x447070(0x16b)]=_0x426c34[_0x447070(0x16b)],_0x3ccd44[_0x447070(0x301)]=_0x426c34[_0x447070(0x301)],_0x3ccd44[_0x447070(0x204)]=_0x426c34[_0x447070(0x204)],_0x3ccd44[_0x447070(0x309)]=_0x426c34[_0x447070(0x309)],_0x3ccd44[_0x447070(0x3a7)]=_0x426c34['properties'],_0x3ccd44[_0x447070(0x399)]=_0x426c34['operations'],_0x3ccd44;}function adaptDrivenDataDetails(_0xbdb1f9){return _0xbdb1f9['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x45bb3e){const _0x197048=a0_0x9109;if(!_0x45bb3e[_0x197048(0x34f)]||!_0x45bb3e[_0x197048(0x20e)])throw new Error(_0x197048(0x24a)+(_0x45bb3e['errorMsg']||_0x45bb3e['msg']));return adaptDrivenDataDetail(_0x45bb3e['data']);}function extractDatasetsFromListResponse(_0x56640b){const _0x2ca39e=a0_0x9109;if(!_0x56640b['success']||!_0x56640b[_0x2ca39e(0x20e)]?.[_0x2ca39e(0x14c)])throw new Error('获取数据集列表失败:\x20'+(_0x56640b[_0x2ca39e(0x2b2)]||_0x56640b[_0x2ca39e(0x2f5)]));return _0x56640b[_0x2ca39e(0x20e)]['tableData'][_0x2ca39e(0x3cd)](_0x262126=>({..._0x262126,'datasetCode':_0x262126[_0x2ca39e(0x14e)]||_0x262126['datasetCode']}));}function isDrivenDataDetail(_0x28202b){const _0x52c2c1=a0_0x9109;return Boolean(_0x28202b&&typeof _0x28202b[_0x52c2c1(0x1b1)]==='string');}function smartAdapt(_0x1c7115){const _0x2e12d3=a0_0x9109;if(isDrivenDataDetail(_0x1c7115))return adaptDrivenDataDetail(_0x1c7115);if(_0x1c7115[_0x2e12d3(0x2e7)])return _0x1c7115;if(_0x1c7115[_0x2e12d3(0x14e)]){const _0x5bfd9b={..._0x1c7115};return _0x5bfd9b[_0x2e12d3(0x2e7)]=_0x1c7115[_0x2e12d3(0x14e)],_0x5bfd9b;}return _0x1c7115;}var DatasetOperationType;function a0_0x54e0(){const _0x4a99ea=['avg','iterator','GET','5mrUgEZ','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','CREATE','TEXT','object','GET_ONE','isMultipleSelectField','\x20operations)','hasUpdateTimeField','paging','prefix','getEnum','DELETE','generateConfig','\x20fields,\x20','parseRawResponseBody','getEnabledOperationAnalyses','getInternalInstance','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','dataset_unknown','hasTableName','having','generateExampleValue','getPkField','getDBConfig','getSDKInitData','item2','includes','hasConflict','每页数量(可选)','from','selectItemsSource','getRequestFields','includeDisabled','getFieldList','TEXTAREA','groups','getFieldsByType','generateSingleValueExample','distinct','createTime','item1','getEnumValues','generateFieldExample','getEnabledOperations','DatasetGroup(','LONGBLOB','解析\x20requestBody\x20失败:','Integer','请求示例','137703wyJHop','parseRawRequestBody','获取文件URL','findAll','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getType','创建导出','(id);','join','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','isSystemField','findByCode','\x20items,\x20conflict,\x20latest:\x20','toUpperCase','getOneOrigin','getOperationAnalysesByType','\x20operations,\x20v1)','forEach','GET_ONE_ORIGIN','phone','getOldest','column','doType','GET_LIST','UPDATE','sortNum','SMALLINT','customFilter','number','getFilterOperators','businessFieldCount','IMPORT_TEMPLATE','supportsCRUD','getEnumFields','hasConflicts','const\x20fileUrl\x20=\x20await\x20client.models.','getDbTypeForOperation','日期时间','creatorIdField','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','updateTimeField','2.0','\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','isRequired','单值查询','max','some','141054oYjwVL','//\x20Call\x20the\x20','errorMsg','$ne','filterBlacklist','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','enableDeduplication','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','排序规则(与\x20Filter\x20API\x20一致)','getDatabaseVersion','toLowerCase','FieldV2(','示例值','round','getFieldDefinition','get','$endWith','generateFromSchema','currentPage','getSystemFields','$lteq','`:\x20','getRaw','dbVersion','数组查询(支持多选)','_datasetMeta','getOperationAnalyses','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','(id,\x20data);','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','getTableName','isEnabled','generateRequestAllExamples','fromApiResponse','update\x20接口接受两个参数:\x0a\x0a','String','hasRelation','getCount','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','context','dataset_','INTEGER','getRelatedDataset','tooltip','generateAllOperationsSummary','query','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','isEmpty','findById','getAt','Array','1298600KiCEcy','modifierIdField','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','datasetCode','dataset_000000','options','array','({\x20','withDeleted','_operationList','detectConflicts','createExport','200','desc','获取上传脚本','getRelations','getAllParams','msg','getOperationFieldOperators','_operations','getDisabled','every','all','getDeleted','getFirst','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','getConflictingItems','下拉选择','parse','source','getDisabledOperationInstances','create','empty','method','[Field]\x20Invalid\x20field\x20definition','size','createImport','extend','displayName','_autoGenerated','aggregate','groupByType','NUMBER','任务信息','requestFieldCount','count','raw','HTTP\x20直接调用时使用平铺格式:\x0a','DOUBLE','getOperationAnalysis','isRequiredField','generateSDKCallCode','tenantCode','\x20fields)','groupBy','hasOperation','getDOType','set','_$1','getOperationCount','find','$eq','isVirtualTable','OperationList(','datasetId','includeDeleted','toString','autoIncrement','getForeignKeyFields','getVirtualTables','getPrimaryKeyFields','支持单值或数组','getResponseSchema','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','children','getActive','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getFieldFilterOperators','dbId','systemAnalysisResult','default','createDate','toObject','generateSDKInitCode','getLast','JSON','generateOperationSummary','_fieldListV2','$contain','3441636WKLxPo','N/A','$lte','sum','##\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','getSelectOptions','getIds','getFieldSelectItemsSource','hasField','CHECKBOX','isPrimaryKey','createAll','toListItem','random','getFieldCode','_fieldListWithDeleted','isEnumField','success','description','CHAR','_fieldListV1WithDeleted','dbType','聚合函数配置数组','Filter\x20API\x20-\x20高级查询接口','length','-\x20`','DbtableConfig(table:\x20','type','GET_SELECT_OPTIONS','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','fieldCode','getRawDbtableConfig','getOperationStats','fieldName','getSelectItemsSource','getRelationsByField','getOperationDocMeta','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','generateFullSDKExample','field_name','INT','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','isAutoIncrement','[FieldV1.extend]\x20解析字段\x20','getMethod','getBusiness','getAllFieldsArray','SDK\x20调用示例(两参数格式)','要更新的字段数据对象','sdkCall','env',',\x20fields:\x20','$in','$gte','dbName','keyword','generateConfigArray','getFiltered','\x20groups)','modifyDate','getOneUpdate','getFieldsWithDeleted','push','_extend','查询单条','getModelName','online','操作名称','value2','getRealTables','-\x20其他要更新的字段直接平铺在同一层级','getFieldInstance','接口名称','parseFieldExtend','datasetInfo','getHTTPRequestParamsDocInfo','select','getLatestDatasets','conflictItemCount','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','_fieldListV1','findByName','getDefaultValue','DatasetList(','getFieldRaw','getCreateTime','filter','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getDatabaseName','generateAliasExplanation','getSystem','operations','tableName','getName','totalCount','now','lastIndexOf','FieldListV2(','_max','relations','getEnabledOperationInstances','hasFilterOperation','warn','responseSchema','useFullExample','properties','generateHTTPRequestExample','email','modelId','updateTime','\x22,数据集:\x20','DatasetItem(','每页条数','getRequired','dblinkInfoDTO','DrivenDataDetailV2(','String[]','SELECT','getLatest','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','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','Object','stringify','当前页码(从\x201\x20开始,默认:\x201)','getAllDatasets','606744FZrEgd','enabledOperationCount','Object[]','TIME','查询单条(原始)','getCountByType','getConflicts','toConfigArray','fullUrl','查询单个条件','useArrayValues','/filter','getEnumMeta','doVersion','getFieldDisplayName','_operationAnalyses','params','文件上传','map','getFileUrl','has','successCode','_fields','getFilteredOperationAnalyses','validateEnumValue','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','getEnabled','({\x20code,\x20label\x20});','getAutoIncrement','分组后的过滤条件(对聚合结果进行过滤)','示例文本','TINYINT','toField','isCreateTime','\x20items,\x20','返回字段列表(字段投影)','DESC','has\x20conflicts','split','title','multiple','daily','isPrimaryKeyField','解析\x20responseBody\x20失败:','toConfig','getOperation','isOpenAPI','generateHTTPExample','主键,用于定位要更新的记录','获取下拉选项','操作成功','slice','min','getFieldDescription','isMultipleSelect','FLOAT','yourModel','时间戳','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getFilterOperation','keys','status','https://example.com/image.jpg','完整的\x20SDK\x20调用代码','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','charAt','_instance','getId','FILE','DATE','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','dbTypeLen','DrivenDataDetail(','系统自动生成','getCountByMethod','$gteq','getItems','tableData','\x20groups,\x20','code','string','getFieldListWithDeleted','查询条件(支持\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)','getFieldName','getOperationList','\x20的\x20extend\x20配置失败:','getByType','DatasetGroupMap(','items','normalizeDbType','importTemplate','getFieldType','BIGINT','hasDbtableConfig','_raw','fields','total_count','conflictGroupCount','hasDblinkInfo','字段编码','SWITCH','3710xHavYj','2024-12-31','<p>富文本内容</p>','operation','getField','trim','name','dbtableConfig','values','getStats','hasResponseSchema','findByTableName','fieldCount','getNames','$and','DrivenDataDetailPlus(','getDisabledNames','selectBestOperator','STRING','appCode','BOOL','no\x20conflicts','getUpdateTime','isBusiness','getTooltip','(支持单值或数组)','\x5c{\x5c{','systemRetain','getEnabledNames','_avg','FieldList(','createTimeField','UPLOAD','\x20API\x20文档','index','BOOLEAN','generateDefaultFilterOperation','add','isOperatorApplicableToField','(id,\x20','labelField','alias','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','sdkCallCode','查询单条(用于更新)','host','toDatasetName','getList','toArray','value1','getApplicableOperators','getBusinessFields','getEnumFieldMeta','LONGTEXT','update','getOperationsOverviewData','getTenantCode','label','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','getOne','每页数量(默认:\x2020)','generateUsageExample','getTableKey','creatorNameField','getModelAlias','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','precision','getFieldListV2','getFieldOperators','isNumericField','isSystem','forceVersion','getRequiredFields','getEnumFieldsMeta','当前页码(可选)','logicField','getRequestParamsDocInfo','modelCode','getFieldOptions','fromField','taskInfo','getResponseParamsDocInfo','hasModifierIdField','-\x20主键使用\x20`id`\x20字段\x0a','13800138000','getDatabaseType','DATETIME','长文本','getMissingCRUDOperations','modifierNameField','demo-app','user@example.com','allFields','responseBody','isArray','generateResponseExample','getFieldDataSource','当前页码','getOperationOperators','getPath','datasetMap','\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','HTTP\x20请求示例(平铺格式)','1.0','isEnum','getDatasetMeta','getFieldsV2','2024-01-01','getUploadFileScript','getUpdateFields','({\x20currentPage,\x20pageSize\x20});','valueLabels',',\x20doType=','suffix','includeUsageExample','getCodes','字段名称','CREATE_EXPORT','exampleWhere','deleted','requestBody','hasLogicField','getFields','排序规则','getFieldV2','getIndexes','_requestExampleCache','每页数量','Field(','pageSize','dataIndex','getDatasetDocMeta','includeRequestExample','delete','Invalid\x20API\x20response:\x20success\x20is\x20false','requestFields','_sum','isUpdateTime','RADIO','primaryKey','();','getFullUrl','where','-\x20主键ID,用于定位要更新的记录\x0a\x0a','_min','getOperationsData','getVersion','getDisplayName','defaultValue','getPrimaryKeys','enabled','BLOB','getOperators','toJSON','VARCHAR','\x20operations,\x20v2)','Number','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','DECIMAL','datasetKey','version','getOperationFieldsOperatorsMap','groupByTableName',',\x20...\x20});','//\x20Usage\x20examples','getConflictStats','sortOperationsWithFilterFirst','test','excelExport','total','data','sort','BIT','datasetSDKKey','required','orderBy','placeholder','getEnumOptions','getOperationRequestFields','TIMESTAMP','replace','_fieldList','generateAllOperationsFullSDKExample','getFieldCount','columnName','createFields','pkField','[dsparser]\x20跳过重复的表名\x20\x22','mapDbTypeToType','_datasetMap','operationCount','getRequestParams','errorCode','entries','\x20operation','getSource','isDeleted','[generateRequestExample]\x20Invalid\x20field:','Excel导出','(实际字段:','0000','getGroupedParams','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','generateRequestExample','getHTTPFields','$or','FieldV1(','ARRAY','ensureFilterOperation','path','$startWith','toTableName','[FieldV2]\x20Invalid\x20field\x20definition','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','分组字段列表','const\x20result\x20=\x20await\x20client.models.','getFieldNames','712107IAfadC','_relations','getOperations','({\x20/*\x20可选:筛选条件\x20*/\x20});','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','getDatasetSDKKey','value','1832gkEUqe','hasCreateTimeField','usageExample','主键ID(必填)','toFieldDefinition','获取数据集失败:\x20','getAll'];a0_0x54e0=function(){return _0x4a99ea;};return a0_0x54e0();}(_0x3a67ca=>{const _0x31ac10=a0_0x9109;_0x3a67ca[_0x31ac10(0x298)]='getList',_0x3a67ca[_0x31ac10(0x254)]=_0x31ac10(0x19f),_0x3a67ca[_0x31ac10(0x293)]='getOneOrigin',_0x3a67ca['GET_ONE_UPDATE']='getOneUpdate',_0x3a67ca[_0x31ac10(0x251)]='create',_0x3a67ca[_0x31ac10(0x299)]=_0x31ac10(0x19a),_0x3a67ca[_0x31ac10(0x25b)]=_0x31ac10(0x1e9),_0x3a67ca[_0x31ac10(0x35a)]=_0x31ac10(0x343),_0x3a67ca['GET_FILE_URL']=_0x31ac10(0x3ce),_0x3a67ca['EXCEL_EXPORT']=_0x31ac10(0x20c),_0x3a67ca['GET_UPLOAD_FILE_SCRIPT']=_0x31ac10(0x1d0),_0x3a67ca['CREATE_IMPORT']=_0x31ac10(0x308),_0x3a67ca[_0x31ac10(0x1d9)]=_0x31ac10(0x2ef),_0x3a67ca['TASK_INFO']=_0x31ac10(0x1b4),_0x3a67ca[_0x31ac10(0x2a0)]=_0x31ac10(0x159);})(DatasetOperationType||={});const a0_0x265d48={};a0_0x265d48[a0_0x136ce7(0x193)]='查询列表',a0_0x265d48[a0_0x136ce7(0x19f)]=a0_0x136ce7(0x37e),a0_0x265d48[a0_0x136ce7(0x28f)]=a0_0x136ce7(0x3bf),a0_0x265d48['getOneUpdate']=a0_0x136ce7(0x190),a0_0x265d48[a0_0x136ce7(0x303)]='创建',a0_0x265d48[a0_0x136ce7(0x19a)]='更新',a0_0x265d48[a0_0x136ce7(0x1e9)]='删除',a0_0x265d48[a0_0x136ce7(0x343)]=a0_0x136ce7(0x3ec),a0_0x265d48[a0_0x136ce7(0x3ce)]=a0_0x136ce7(0x283),a0_0x265d48['excelExport']=a0_0x136ce7(0x22a),a0_0x265d48[a0_0x136ce7(0x1d0)]=a0_0x136ce7(0x2f2),a0_0x265d48[a0_0x136ce7(0x308)]='创建导入',a0_0x265d48[a0_0x136ce7(0x2ef)]=a0_0x136ce7(0x287),a0_0x265d48[a0_0x136ce7(0x1b4)]=a0_0x136ce7(0x30f),a0_0x265d48[a0_0x136ce7(0x159)]='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0x265d48,API_BLACKLIST=[a0_0x136ce7(0x193),'getOneOrigin','getOneUpdate','getFileUrl'];function parseFieldExtend(_0x224172){const _0x5af9fa=a0_0x136ce7;if(!_0x224172||typeof _0x224172!=='object')return!![]&&console[_0x5af9fa(0x3a4)]('[parseFieldExtend]\x20Invalid\x20field:',_0x224172),{};if(!_0x224172['extend'])return{};try{const _0x44f75f=typeof _0x224172['extend']==='string'?JSON[_0x5af9fa(0x300)](_0x224172[_0x5af9fa(0x309)]):_0x224172[_0x5af9fa(0x309)];if(typeof _0x44f75f!==_0x5af9fa(0x253)||_0x44f75f===null)return{};return _0x44f75f;}catch{return{};}}function isPrimaryKeyField(_0xb30e3,_0x3670d4){const _0x732e32=a0_0x136ce7;if(!_0xb30e3||typeof _0xb30e3!==_0x732e32(0x253))return![];if(typeof _0x3670d4===_0x732e32(0x14f)&&_0xb30e3['code']===_0x3670d4)return!![];const _0x26e4a3=parseFieldExtend(_0xb30e3);return Boolean(_0x26e4a3[_0x732e32(0x1ef)]||_0x26e4a3[_0x732e32(0x21e)]);}function isSystemField(_0x876347){const _0x5894be=a0_0x136ce7,_0x110220=parseFieldExtend(_0x876347);return Boolean(_0x110220[_0x5894be(0x17f)]);}function isRequiredField(_0x5befad){const _0x5a2e0a=a0_0x136ce7,_0x36c8ac=parseFieldExtend(_0x5befad);return Boolean(_0x36c8ac[_0x5a2e0a(0x212)]);}function isAutoIncrementField(_0x10cfbc){const _0x1fc965=parseFieldExtend(_0x10cfbc);return Boolean(_0x1fc965['autoIncrement']);}function isCreateTimeField(_0x9d1fc3){const _0x1225d7=a0_0x136ce7,_0x39bb61=parseFieldExtend(_0x9d1fc3);return Boolean(_0x39bb61[_0x1225d7(0x336)]);}function isModifyTimeField(_0x2c7a04){const _0x10ecb5=a0_0x136ce7,_0x4e9fb6=parseFieldExtend(_0x2c7a04);return Boolean(_0x4e9fb6[_0x10ecb5(0x379)]);}const a0_0x2080be={};a0_0x2080be['NUMBER']='数字',a0_0x2080be['TEXT']='文本',a0_0x2080be['TEXTAREA']=a0_0x136ce7(0x1bb),a0_0x2080be['DATE']='日期',a0_0x2080be['DATETIME']=a0_0x136ce7(0x2a6),a0_0x2080be[a0_0x136ce7(0x217)]=a0_0x136ce7(0x3f4),a0_0x2080be[a0_0x136ce7(0x3b3)]=a0_0x136ce7(0x2ff),a0_0x2080be[a0_0x136ce7(0x347)]='多选',a0_0x2080be[a0_0x136ce7(0x1ee)]='单选',a0_0x2080be[a0_0x136ce7(0x163)]='开关',a0_0x2080be[a0_0x136ce7(0x184)]=a0_0x136ce7(0x3cc),a0_0x2080be['IMAGE']='图片',a0_0x2080be['RICH_TEXT']='富文本',a0_0x2080be[a0_0x136ce7(0x33a)]='JSON',a0_0x2080be[a0_0x136ce7(0x233)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x2080be;function getDbTypeDisplay(_0x342265){const _0x344ce5=a0_0x136ce7;if(typeof _0x342265!==_0x344ce5(0x14f))return!![]&&console[_0x344ce5(0x3a4)](_0x344ce5(0x2cb),_0x342265),String(_0x342265||'-');return DB_TYPE_DISPLAY_MAP[_0x342265]||_0x342265;}function formatDbType(_0xbe55b3,_0x359889){const _0x1e824e=a0_0x136ce7;if(!_0xbe55b3||typeof _0xbe55b3!==_0x1e824e(0x14f))return'-';if(!_0x359889||typeof _0x359889!==_0x1e824e(0x29d))return _0xbe55b3;const _0x33e786=[_0x1e824e(0x252),_0x1e824e(0x1ba),_0x1e824e(0x217),_0x1e824e(0x144)];if(_0x33e786[_0x1e824e(0x26a)](_0xbe55b3['toUpperCase']()))return _0xbe55b3;return _0xbe55b3+'('+_0x359889+')';}function parseOperationType(_0x3fd65a){const _0x425f14=a0_0x136ce7;if(typeof _0x3fd65a!==_0x425f14(0x14f)){!![]&&console[_0x425f14(0x3a4)](_0x425f14(0x331),_0x3fd65a);return;}if(Object[_0x425f14(0x16c)](DatasetOperationType)['includes'](_0x3fd65a))return _0x3fd65a;const _0x1315ac=Object[_0x425f14(0x225)](OPERATION_TYPE_DISPLAY_NAME)[_0x425f14(0x320)](([_0x149734,_0x2d5b6e])=>_0x2d5b6e===_0x3fd65a);return _0x1315ac?_0x1315ac[0x0]:undefined;}function shouldIncludeField(_0x45c378,_0x5ced7d,_0x3de416){const _0x5eaf03=a0_0x136ce7,_0x1ae9c8=parseFieldExtend(_0x45c378),_0x460d76=isPrimaryKeyField(_0x45c378,_0x3de416),_0x46acf3=Boolean(_0x1ae9c8[_0x5eaf03(0x17f)]),_0x4c29ba=Boolean(_0x1ae9c8[_0x5eaf03(0x327)]),_0x5b7183=Boolean(_0x1ae9c8[_0x5eaf03(0x336)]),_0x5bfbcb=Boolean(_0x1ae9c8[_0x5eaf03(0x379)]);switch(_0x5ced7d){case'getList':return!![];case _0x5eaf03(0x19f):case'getOneOrigin':case _0x5eaf03(0x1e9):return _0x460d76;case _0x5eaf03(0x303):if(_0x460d76&&_0x4c29ba)return![];if(_0x46acf3)return![];if(_0x5b7183||_0x5bfbcb)return![];return!![];case _0x5eaf03(0x19a):case _0x5eaf03(0x37a):if(_0x460d76)return!![];if(_0x46acf3)return![];if(_0x5b7183||_0x5bfbcb)return![];return!![];case _0x5eaf03(0x343):return _0x45c378[_0x5eaf03(0x14e)]===_0x5eaf03(0x14e);default:return!![];}}function getFieldsForOperation(_0x4266f2,_0x54d471,_0x1dc169){const _0x16c2a9=a0_0x136ce7;if(!Array[_0x16c2a9(0x1c2)](_0x4266f2))return!![]&&console[_0x16c2a9(0x3a4)](_0x16c2a9(0x35b),_0x4266f2),[];return _0x4266f2[_0x16c2a9(0x394)](_0x4301e1=>shouldIncludeField(_0x4301e1,_0x54d471,_0x1dc169));}function isApiBlacklisted(_0x49a7ac){const _0x41b2d5=a0_0x136ce7;if(typeof _0x49a7ac!=='string')return!![]&&console[_0x41b2d5(0x3a4)](_0x41b2d5(0x2b5),_0x49a7ac),![];return API_BLACKLIST[_0x41b2d5(0x26a)](_0x49a7ac);}function filterApiOperations(_0x303ae9){const _0x4389a7=a0_0x136ce7;if(!Array['isArray'](_0x303ae9))return!![]&&console[_0x4389a7(0x3a4)](_0x4389a7(0x3b5),_0x303ae9),[];return _0x303ae9[_0x4389a7(0x394)](_0x3917bf=>_0x3917bf&&typeof _0x3917bf===_0x4389a7(0x253)&&!isApiBlacklisted(_0x3917bf[_0x4389a7(0x16a)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x136ce7(0x39d)](),'DATE':()=>Date[a0_0x136ce7(0x39d)](),'SELECT':({fieldInfo:_0x57cee0})=>{const _0x8ca5c7=a0_0x136ce7;if(_0x57cee0?.['options']&&Array['isArray'](_0x57cee0[_0x8ca5c7(0x2e9)])&&_0x57cee0['options'][_0x8ca5c7(0x356)]>0x0)return _0x57cee0[_0x8ca5c7(0x2e9)][0x0][_0x8ca5c7(0x244)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x460359})=>{const _0x8edad5=a0_0x136ce7;if(_0x460359===_0x8edad5(0x2c2))return 0x1;if(_0x460359===_0x8edad5(0x1e5))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x30949d})=>{const _0x543a11=a0_0x136ce7;if(_0x30949d&&typeof _0x30949d===_0x543a11(0x14f)){const _0x47e0e0=_0x30949d[_0x543a11(0x2ba)]();if(_0x47e0e0[_0x543a11(0x26a)]('邮箱')||_0x47e0e0[_0x543a11(0x26a)](_0x543a11(0x3a9)))return _0x543a11(0x1bf);if(_0x47e0e0[_0x543a11(0x26a)]('电话')||_0x47e0e0[_0x543a11(0x26a)]('手机')||_0x47e0e0['includes'](_0x543a11(0x294)))return _0x543a11(0x1b8);if(_0x47e0e0[_0x543a11(0x26a)]('地址')||_0x47e0e0[_0x543a11(0x26a)]('address'))return'北京市朝阳区';if(_0x47e0e0['includes']('姓名')||_0x47e0e0[_0x543a11(0x26a)]('name'))return'张三';}return _0x543a11(0x3d9);},'VARCHAR':({description:_0x104804})=>TYPE_VALUE_GENERATORS[a0_0x136ce7(0x252)]({'description':_0x104804}),'CHAR':({description:_0x2e18c0})=>TYPE_VALUE_GENERATORS[a0_0x136ce7(0x252)]({'description':_0x2e18c0}),'STRING':({fieldInfo:_0x6506dc,description:_0x295a91})=>{const _0x12126a=a0_0x136ce7;if(_0x6506dc?.[_0x12126a(0x214)]&&typeof _0x6506dc[_0x12126a(0x214)]===_0x12126a(0x14f)&&_0x6506dc['placeholder']!==_0x12126a(0x148))return _0x6506dc[_0x12126a(0x214)][_0x12126a(0x218)](/^请输入|^请选择/,'');const _0xa94812={};return _0xa94812[_0x12126a(0x350)]=_0x295a91,TYPE_VALUE_GENERATORS[_0x12126a(0x252)](_0xa94812);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x136ce7(0x244)}),'ARRAY':()=>[a0_0x136ce7(0x278),a0_0x136ce7(0x269)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x136ce7(0x3f9),'RICH_TEXT':()=>a0_0x136ce7(0x166)};function generateExampleValue(_0x374738,_0x4775da,_0x127433,_0x42b174={}){const _0xa46a2c=a0_0x136ce7;typeof _0x374738!==_0xa46a2c(0x14f)&&(!![]&&console[_0xa46a2c(0x3a4)](_0xa46a2c(0x2fd),_0x374738),_0x374738=String(_0x374738||''));if(typeof _0x4775da!=='string')return!![]&&console[_0xa46a2c(0x3a4)](_0xa46a2c(0x22e),_0x4775da),_0xa46a2c(0x2bc);const {isPrimaryKey:_0x197c3c,dbtableConfig:_0x2142ab}=_0x42b174;if(_0x197c3c)return 0x1;if(_0x2142ab&&typeof _0x2142ab===_0xa46a2c(0x253)){const _0x4c49db=_0x2142ab['createTimeField']?.[_0xa46a2c(0x35f)]===_0x374738,_0x3f8dd4=_0x2142ab['updateTimeField']?.[_0xa46a2c(0x35f)]===_0x374738;if(_0x4c49db||_0x3f8dd4){if(_0x127433&&typeof _0x127433==='string'&&_0x127433['toUpperCase']()[_0xa46a2c(0x26a)](_0xa46a2c(0x217)))return Date[_0xa46a2c(0x39d)]();return new Date()['toISOString']()[_0xa46a2c(0x218)]('T','\x20')[_0xa46a2c(0x3e1)]('.')[0x0];}}const _0x27bce3={..._0x42b174};_0x27bce3[_0xa46a2c(0x35c)]=_0x374738;const _0x4a937b=_0x27bce3;if(_0x127433&&typeof _0x127433===_0xa46a2c(0x14f)){const _0x2345ee=_0x127433['toUpperCase'](),_0x1f824f=TYPE_VALUE_GENERATORS[_0x2345ee];if(_0x1f824f)return _0x1f824f(_0x4a937b);}if(_0x4775da&&typeof _0x4775da===_0xa46a2c(0x14f)){const _0x429e4c=_0x4775da[_0xa46a2c(0x28e)](),_0x1672e2=TYPE_VALUE_GENERATORS[_0x429e4c];if(_0x1672e2)return _0x1672e2(_0x4a937b);}return _0xa46a2c(0x2bc);}function generateExampleFromSchema(_0x2da1a0,_0x41f17b){const _0x50d7de=a0_0x136ce7;if(!_0x2da1a0||typeof _0x2da1a0!=='object')return{};if(Array[_0x50d7de(0x1c2)](_0x2da1a0)){if(_0x2da1a0['length']>0x0)return[generateExampleFromSchema(_0x2da1a0[0x0],_0x41f17b)];return[];}const _0x220bd3={};return Object[_0x50d7de(0x3f7)](_0x2da1a0)[_0x50d7de(0x292)](_0x1cc4f9=>{const _0x2ecf5a=_0x50d7de,_0x472bc5=_0x2da1a0[_0x1cc4f9];if(_0x472bc5&&typeof _0x472bc5===_0x2ecf5a(0x253)&&!Array[_0x2ecf5a(0x1c2)](_0x472bc5)&&_0x472bc5['type']){const _0x1acc18=_0x472bc5,_0xdc283b=_0x1acc18[_0x2ecf5a(0x359)],_0x2232d4=_0x1acc18['description'];if(typeof _0xdc283b==='string'){const _0x119c36={};_0x119c36[_0x2ecf5a(0x350)]=_0x2232d4,_0x119c36['dbtableConfig']=_0x41f17b,_0x220bd3[_0x1cc4f9]=generateExampleValue(_0x1cc4f9,_0xdc283b,undefined,_0x119c36);}else _0x220bd3[_0x1cc4f9]=_0x2ecf5a(0x2bc);}else{if(Array['isArray'](_0x472bc5))_0x220bd3[_0x1cc4f9]=_0x472bc5['length']>0x0?[generateExampleFromSchema(_0x472bc5[0x0],_0x41f17b)]:[];else _0x472bc5&&typeof _0x472bc5==='object'?_0x220bd3[_0x1cc4f9]=generateExampleFromSchema(_0x472bc5,_0x41f17b):_0x220bd3[_0x1cc4f9]=_0x472bc5;}}),_0x220bd3;}function parseRequestBody(_0x294e66){const _0x7c8cdc=a0_0x136ce7;if(!_0x294e66)return{};try{return JSON['parse'](_0x294e66);}catch(_0x1df61c){return!![]&&console[_0x7c8cdc(0x3a4)](_0x7c8cdc(0x27e),_0x1df61c),{};}}function parseResponseBody(_0xfd9981){const _0x51d232=a0_0x136ce7;if(!_0xfd9981)return null;try{const _0x419aaa=JSON[_0x51d232(0x300)](_0xfd9981);return _0x419aaa[_0x51d232(0x2f0)]||_0x419aaa;}catch(_0x46d11c){return!![]&&console['warn'](_0x51d232(0x3e6),_0x46d11c),null;}}function a0_0x9109(_0x5f3ee4,_0x375495){const _0x54e0eb=a0_0x54e0();return a0_0x9109=function(_0x910933,_0x19d301){_0x910933=_0x910933-0x144;let _0x4a0868=_0x54e0eb[_0x910933];return _0x4a0868;},a0_0x9109(_0x5f3ee4,_0x375495);}function generateRequestExample(_0x1ee586,_0x5d1e95,_0x2a4405,_0x395aa4){const _0x55158f=a0_0x136ce7,_0x13e2e9={};if(!Array[_0x55158f(0x1c2)](_0x1ee586))return!![]&&console[_0x55158f(0x3a4)](_0x55158f(0x330),_0x1ee586),_0x13e2e9;return _0x1ee586[_0x55158f(0x292)](_0x1c799e=>{const _0x1c1679=_0x55158f;if(!_0x1c799e||typeof _0x1c799e!==_0x1c1679(0x253)){!![]&&console[_0x1c1679(0x3a4)](_0x1c1679(0x229),_0x1c799e);return;}if(typeof _0x1c799e[_0x1c1679(0x14e)]!==_0x1c1679(0x14f)||typeof _0x1c799e[_0x1c1679(0x359)]!==_0x1c1679(0x14f)){!![]&&console['warn']('[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:',_0x1c799e);return;}const _0x3552a4=parseFieldExtend(_0x1c799e),_0x2580f1=_0x1c799e['code']===_0x2a4405||Boolean(_0x3552a4?.['primaryKey']),_0x49a6f4=generateExampleValue(_0x1c799e['code'],_0x1c799e[_0x1c1679(0x359)],typeof _0x1c799e[_0x1c1679(0x353)]==='string'?_0x1c799e[_0x1c1679(0x353)]:undefined,{'fieldInfo':_0x3552a4,'isPrimaryKey':_0x2580f1,'description':_0x1c799e[_0x1c1679(0x350)]||_0x1c799e[_0x1c1679(0x16a)],'dbtableConfig':_0x395aa4});_0x13e2e9[_0x1c799e[_0x1c1679(0x14e)]]=_0x49a6f4;}),_0x5d1e95===_0x55158f(0x193)&&(_0x13e2e9[_0x55158f(0x2c2)]=0x1,_0x13e2e9[_0x55158f(0x1e5)]=0xa),_0x13e2e9;}function formatEnumValue(_0x2a42c2,_0x5c6043){const _0x21b777=a0_0x136ce7;if(_0x2a42c2[_0x21b777(0x3e3)]&&Array[_0x21b777(0x1c2)](_0x5c6043))return _0x5c6043[_0x21b777(0x3cd)](_0x37c3b1=>_0x2a42c2[_0x21b777(0x1d3)][String(_0x37c3b1)]||String(_0x37c3b1))[_0x21b777(0x289)](',\x20');return _0x2a42c2[_0x21b777(0x1d3)][String(_0x5c6043)]||String(_0x5c6043);}function formatOptionsForDoc(_0x5c0f20){const _0x343a8b=a0_0x136ce7;return _0x5c0f20['map'](_0x4ecb06=>_0x4ecb06['value']+'('+_0x4ecb06[_0x343a8b(0x19d)]+')')[_0x343a8b(0x289)](',\x20');}function formatOptionsAsMarkdownList(_0x30c2da,_0x41089b=0x0){const _0x156935=a0_0x136ce7,_0x462115='\x20\x20'['repeat'](_0x41089b),_0x2d9c85=[];return _0x30c2da[_0x156935(0x292)](_0x284f9f=>{const _0x1040ae=_0x156935;_0x2d9c85[_0x1040ae(0x37c)](_0x462115+_0x1040ae(0x357)+_0x284f9f[_0x1040ae(0x244)]+_0x1040ae(0x2c5)+_0x284f9f['label']),_0x284f9f[_0x1040ae(0x32e)]&&_0x284f9f['children'][_0x1040ae(0x356)]>0x0&&_0x2d9c85[_0x1040ae(0x37c)](formatOptionsAsMarkdownList(_0x284f9f[_0x1040ae(0x32e)],_0x41089b+0x1));}),_0x2d9c85[_0x156935(0x289)]('\x0a');}class DbtableConfig{[a0_0x136ce7(0x15d)];constructor(_0x35f10a){const _0xae5bbd={..._0x35f10a};this['_raw']=_0xae5bbd;}get[a0_0x136ce7(0x333)](){return this['_raw']['dbId'];}get[a0_0x136ce7(0x374)](){const _0x416ab9=a0_0x136ce7;return this[_0x416ab9(0x15d)][_0x416ab9(0x374)]??this[_0x416ab9(0x15d)][_0x416ab9(0x3b0)]?.[_0x416ab9(0x374)];}get[a0_0x136ce7(0x39a)](){return this['_raw']['tableName'];}get[a0_0x136ce7(0x203)](){const _0xceaa68=a0_0x136ce7;return this[_0xceaa68(0x15d)][_0xceaa68(0x203)];}get[a0_0x136ce7(0x21e)](){const _0x3215c8=a0_0x136ce7;return this[_0x3215c8(0x15d)][_0x3215c8(0x21e)];}get[a0_0x136ce7(0x18c)](){const _0xabf625=a0_0x136ce7;return this[_0xabf625(0x15d)][_0xabf625(0x18c)];}get['logicField'](){const _0x3066ff=a0_0x136ce7;return this[_0x3066ff(0x15d)][_0x3066ff(0x1af)];}get[a0_0x136ce7(0x183)](){const _0x583c98=a0_0x136ce7;return this['_raw'][_0x583c98(0x183)];}get['updateTimeField'](){const _0x2be9b4=a0_0x136ce7;return this[_0x2be9b4(0x15d)][_0x2be9b4(0x2a9)];}get['creatorIdField'](){const _0x2e8911=a0_0x136ce7;return this[_0x2e8911(0x15d)][_0x2e8911(0x2a7)];}get[a0_0x136ce7(0x1a3)](){const _0x2ec51b=a0_0x136ce7;return this[_0x2ec51b(0x15d)][_0x2ec51b(0x1a3)];}get[a0_0x136ce7(0x2e5)](){const _0x319129=a0_0x136ce7;return this[_0x319129(0x15d)][_0x319129(0x2e5)];}get[a0_0x136ce7(0x1bd)](){const _0x56214b=a0_0x136ce7;return this['_raw'][_0x56214b(0x1bd)];}get[a0_0x136ce7(0x3b0)](){const _0xdb00c9=a0_0x136ce7;return this[_0xdb00c9(0x15d)][_0xdb00c9(0x3b0)];}[a0_0x136ce7(0x36c)](){const _0x27c8dc=a0_0x136ce7;if(!this[_0x27c8dc(0x15d)][_0x27c8dc(0x1c0)])return[];return this[_0x27c8dc(0x15d)][_0x27c8dc(0x1c0)][_0x27c8dc(0x3e1)](',')[_0x27c8dc(0x3cd)](_0x1102b1=>_0x1102b1[_0x27c8dc(0x169)]())[_0x27c8dc(0x394)](Boolean);}['getAllFieldsString'](){const _0x58ba67=a0_0x136ce7;return this['_raw'][_0x58ba67(0x1c0)];}['hasField'](_0x5c59ef){const _0x1d9189=a0_0x136ce7;return this[_0x1d9189(0x36c)]()[_0x1d9189(0x26a)](_0x5c59ef);}['hasTableName'](){const _0x4e2e64=a0_0x136ce7;return Boolean(this['_raw'][_0x4e2e64(0x39a)]);}[a0_0x136ce7(0x161)](){const _0x1c4438=a0_0x136ce7;return Boolean(this[_0x1c4438(0x15d)][_0x1c4438(0x3b0)]);}[a0_0x136ce7(0x1dd)](){const _0x4ee853=a0_0x136ce7;return Boolean(this[_0x4ee853(0x15d)][_0x4ee853(0x1af)]?.[_0x4ee853(0x35f)]);}[a0_0x136ce7(0x246)](){const _0x293144=a0_0x136ce7;return Boolean(this[_0x293144(0x15d)]['createTimeField']?.[_0x293144(0x35f)]);}['hasUpdateTimeField'](){const _0x432af7=a0_0x136ce7;return Boolean(this[_0x432af7(0x15d)]['updateTimeField']?.[_0x432af7(0x35f)]);}['hasCreatorIdField'](){const _0x44395e=a0_0x136ce7;return Boolean(this[_0x44395e(0x15d)]['creatorIdField']?.[_0x44395e(0x35f)]);}['hasModifierIdField'](){const _0x195b64=a0_0x136ce7;return Boolean(this[_0x195b64(0x15d)]['modifierIdField']?.[_0x195b64(0x35f)]);}[a0_0x136ce7(0x3e5)](_0x441238){const _0x528fb6=a0_0x136ce7;return this['_raw'][_0x528fb6(0x21e)]===_0x441238;}['isSystemField'](_0x470826){const _0x597fbb=a0_0x136ce7;return this[_0x597fbb(0x3e5)](_0x470826)||this[_0x597fbb(0x15d)][_0x597fbb(0x1af)]?.['fieldName']===_0x470826||this[_0x597fbb(0x15d)][_0x597fbb(0x183)]?.['fieldName']===_0x470826||this['_raw'][_0x597fbb(0x2a9)]?.[_0x597fbb(0x35f)]===_0x470826||this['_raw'][_0x597fbb(0x2a7)]?.[_0x597fbb(0x35f)]===_0x470826||this['_raw'][_0x597fbb(0x1a3)]?.[_0x597fbb(0x35f)]===_0x470826||this[_0x597fbb(0x15d)]['modifierIdField']?.[_0x597fbb(0x35f)]===_0x470826||this[_0x597fbb(0x15d)][_0x597fbb(0x1bd)]?.[_0x597fbb(0x35f)]===_0x470826;}[a0_0x136ce7(0x396)](){const _0x249c04=a0_0x136ce7;return this['_raw'][_0x249c04(0x3b0)]?.[_0x249c04(0x374)];}[a0_0x136ce7(0x1b9)](){const _0x390a6d=a0_0x136ce7;return this[_0x390a6d(0x15d)][_0x390a6d(0x3b0)]?.[_0x390a6d(0x353)];}[a0_0x136ce7(0x2b9)](){const _0x49a9b0=a0_0x136ce7;return this['_raw'][_0x49a9b0(0x3b0)]?.['dbVersion'];}[a0_0x136ce7(0x19c)](){const _0x4280b2=a0_0x136ce7;return this[_0x4280b2(0x15d)][_0x4280b2(0x3b0)]?.[_0x4280b2(0x318)];}['getAppCode'](){const _0x3a8cf0=a0_0x136ce7;return this[_0x3a8cf0(0x15d)][_0x3a8cf0(0x3b0)]?.[_0x3a8cf0(0x177)];}['getSystemAnalysisResult'](){const _0x260d4c=a0_0x136ce7;return this[_0x260d4c(0x15d)]['dblinkInfoDTO']?.[_0x260d4c(0x334)];}[a0_0x136ce7(0x16d)](){const _0x5dfa2e=a0_0x136ce7;return{'hasTableName':this[_0x5dfa2e(0x263)](),'hasDblinkInfo':this[_0x5dfa2e(0x161)](),'fieldCount':this['getAllFieldsArray']()[_0x5dfa2e(0x356)],'systemFields':{'hasLogicField':this[_0x5dfa2e(0x1dd)](),'hasCreateTimeField':this[_0x5dfa2e(0x246)](),'hasUpdateTimeField':this[_0x5dfa2e(0x257)](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x5dfa2e(0x1b6)]()}};}[a0_0x136ce7(0x3e7)](){const _0x36c819=a0_0x136ce7,_0x5299a1={};return _0x5299a1['tableName']=this[_0x36c819(0x39a)],_0x5299a1[_0x36c819(0x21e)]=this[_0x36c819(0x21e)],_0x5299a1['datasetKey']=this[_0x36c819(0x203)],_0x5299a1[_0x36c819(0x333)]=this[_0x36c819(0x333)],_0x5299a1;}['toJSON'](){const _0x5a20ad=a0_0x136ce7,_0x9689fc={...this[_0x5a20ad(0x15d)]};return _0x9689fc;}[a0_0x136ce7(0x2c6)](){const _0xe0f7d8=a0_0x136ce7,_0x3f5764={...this[_0xe0f7d8(0x15d)]};return _0x3f5764;}[a0_0x136ce7(0x326)](){const _0x355c54=a0_0x136ce7,_0x3addc4=this['tableName']||_0x355c54(0x33f),_0x32f0ef=this['getAllFieldsArray']()['length'];return _0x355c54(0x358)+_0x3addc4+_0x355c54(0x371)+_0x32f0ef+')';}static[a0_0x136ce7(0x304)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x136ce7(0x15d)];constructor(_0x5aabb8){const _0x2646cc=a0_0x136ce7,_0x21d61c=_0x5aabb8[_0x2646cc(0x2e7)]||_0x5aabb8[_0x2646cc(0x14e)]||_0x5aabb8['modelCode'],_0x194c8f={..._0x5aabb8};_0x194c8f['datasetCode']=_0x21d61c,this[_0x2646cc(0x15d)]=_0x194c8f;}get['id'](){const _0x5f4365=a0_0x136ce7;return this[_0x5f4365(0x15d)]['id'];}get['name'](){const _0x1a1e3b=a0_0x136ce7;return this['_raw'][_0x1a1e3b(0x16a)];}[a0_0x136ce7(0x39b)](){const _0x3a3f8d=a0_0x136ce7;return this[_0x3a3f8d(0x16a)];}get['datasetCode'](){const _0x2cde47=a0_0x136ce7;return this[_0x2cde47(0x15d)][_0x2cde47(0x2e7)]||'';}get[a0_0x136ce7(0x16b)](){const _0x4fee47=a0_0x136ce7;if(!this[_0x4fee47(0x15d)]['dbtableConfig'])return null;return new DbtableConfig(this['_raw'][_0x4fee47(0x16b)]);}['getRawDbtableConfig'](){const _0x1c085a=a0_0x136ce7;return this[_0x1c085a(0x15d)][_0x1c085a(0x16b)];}['getDbName'](){const _0x1a6801=a0_0x136ce7;return this['dbtableConfig']?.[_0x1a6801(0x374)]||'';}[a0_0x136ce7(0x2cf)](){const _0x3a3695=a0_0x136ce7;return getTableName(this[_0x3a3695(0x15d)]);}[a0_0x136ce7(0x1a2)](){const _0x25d1e0=a0_0x136ce7;return getTableKey(this[_0x25d1e0(0x2cf)]());}['getDatasetSDKKey'](){const _0x1ee6c3=a0_0x136ce7;return generateModelKeyFromCode(this[_0x1ee6c3(0x2e7)]);}['isVirtualTable'](){const _0x251559=a0_0x136ce7;return isVirtualTableName(this[_0x251559(0x2cf)]());}[a0_0x136ce7(0x37f)](){return getTableKey(this['getTableName']());}[a0_0x136ce7(0x3e7)](){const _0x24a865=a0_0x136ce7,_0x312d90=getTableKey(this[_0x24a865(0x2cf)]());return{'key':_0x312d90,'alias':_0x312d90,'tableName':this[_0x24a865(0x2cf)](),'datasetCode':this[_0x24a865(0x2e7)],'name':this[_0x24a865(0x16a)]};}[a0_0x136ce7(0x1fd)](){const _0x24ae19=a0_0x136ce7,_0x55bd56={...this['_raw']};return _0x55bd56[_0x24ae19(0x2e7)]=this['datasetCode'],_0x55bd56;}[a0_0x136ce7(0x2c6)](){const _0x4e7b7f=a0_0x136ce7,_0x5d0a06={...this[_0x4e7b7f(0x15d)]};return _0x5d0a06;}[a0_0x136ce7(0x15c)](){const _0x1f8dea=a0_0x136ce7,_0x36c074=this[_0x1f8dea(0x16b)];return _0x36c074!==null&&_0x36c074[_0x1f8dea(0x263)]();}['getExtendField'](_0x185993){return this['_raw'][_0x185993];}['hasExtendField'](_0x1541bf){const _0x5a6e9a=a0_0x136ce7;return _0x1541bf in this[_0x5a6e9a(0x15d)];}[a0_0x136ce7(0x326)](){const _0x4a96c0=a0_0x136ce7;return _0x4a96c0(0x3ad)+this['name']+',\x20'+this['datasetCode']+')';}}class Operation{[a0_0x136ce7(0x16a)];[a0_0x136ce7(0x15d)];[a0_0x136ce7(0x2d8)];constructor(_0x349e59,_0x29a432,_0x596395){const _0x53f281=a0_0x136ce7;this[_0x53f281(0x16a)]=_0x349e59,this[_0x53f281(0x15d)]=_0x29a432,this[_0x53f281(0x2d8)]=_0x596395;}[a0_0x136ce7(0x39b)](){return this['name'];}[a0_0x136ce7(0x1f7)](){const _0x7b81ba=a0_0x136ce7;return OPERATION_TYPE_DISPLAY_NAME[this[_0x7b81ba(0x16a)]]||this[_0x7b81ba(0x16a)];}['getType'](){const _0x8eaf32=a0_0x136ce7;return parseOperationType(this[_0x8eaf32(0x16a)]);}['isEnabled'](){const _0x2b3376=a0_0x136ce7;return this[_0x2b3376(0x15d)]!==null&&this[_0x2b3376(0x15d)]!==![];}[a0_0x136ce7(0x36a)](){const _0xa3abae=a0_0x136ce7,_0x507ff2=this['_raw'];if(_0x507ff2===![]||_0x507ff2===null)return'';return _0x507ff2[_0xa3abae(0x305)]||_0xa3abae(0x24e);}[a0_0x136ce7(0x1c7)](){const _0x248d84=a0_0x136ce7,_0x4e6451=this[_0x248d84(0x15d)];if(_0x4e6451===![]||_0x4e6451===null)return'';return _0x4e6451['path']||'';}['getFullUrl'](){const _0x21c94d=a0_0x136ce7,_0x55b649=this[_0x21c94d(0x15d)];let _0x2ec7d6='';_0x55b649!==![]&&_0x55b649!==null&&_0x55b649[_0x21c94d(0x191)]&&(_0x2ec7d6=_0x55b649[_0x21c94d(0x191)]);const _0x230562=this[_0x21c94d(0x1c7)]();return _0x2ec7d6&&_0x230562?''+_0x2ec7d6+_0x230562:_0x230562;}[a0_0x136ce7(0x282)](){const _0x1057c7=a0_0x136ce7,_0x3ee539=this['_raw'];if(_0x3ee539===![]||_0x3ee539===null||!_0x3ee539[_0x1057c7(0x1dc)])return{};try{return JSON[_0x1057c7(0x300)](_0x3ee539[_0x1057c7(0x1dc)]);}catch{return{};}}[a0_0x136ce7(0x25e)](){const _0xecf242=a0_0x136ce7,_0x49439d=this[_0xecf242(0x15d)];if(_0x49439d===![]||_0x49439d===null||!_0x49439d[_0xecf242(0x1c1)])return null;try{return JSON[_0xecf242(0x300)](_0x49439d[_0xecf242(0x1c1)]);}catch{return null;}}['getRequestParams'](){const _0x13c339=a0_0x136ce7;return this[_0x13c339(0x282)]();}['getResponseSchema'](){const _0x16eb0a=a0_0x136ce7;return this[_0x16eb0a(0x25e)]();}['getRequestFields'](){const _0x5b919a=a0_0x136ce7,_0x10b8f4=this['getRequestParams']();return Object[_0x5b919a(0x3f7)](_0x10b8f4);}[a0_0x136ce7(0x22f)](){const _0x3deb96=a0_0x136ce7,_0x2b3eee=this[_0x3deb96(0x223)](),_0x55b299={};return Object[_0x3deb96(0x225)](_0x2b3eee)['forEach'](([_0x522866,_0x5922a9])=>{const _0x4bc660=_0x3deb96,_0x154ec8=_0x5922a9;_0x55b299[_0x522866]=generateExampleValue(_0x522866,_0x154ec8['type']||'String',undefined,{'description':_0x154ec8[_0x4bc660(0x350)]});}),_0x55b299;}['generateHTTPExample'](){return this['generateRequestExample']();}[a0_0x136ce7(0x1c3)](){const _0x5b30e2=a0_0x136ce7,_0x3536f7=this[_0x5b30e2(0x25e)]();if(!_0x3536f7){const _0x593340={};return _0x593340['success']=!![],_0x593340[_0x5b30e2(0x2f5)]=_0x5b30e2(0x3ed),_0x593340[_0x5b30e2(0x2b2)]='',_0x593340[_0x5b30e2(0x224)]=_0x5b30e2(0x22c),_0x593340[_0x5b30e2(0x20e)]=null,_0x593340;}return this[_0x5b30e2(0x2c1)](_0x3536f7);}[a0_0x136ce7(0x2c1)](_0x30bb3c){const _0x2a1001=a0_0x136ce7;if(!_0x30bb3c||typeof _0x30bb3c!==_0x2a1001(0x253))return{};if(Array[_0x2a1001(0x1c2)](_0x30bb3c))return _0x30bb3c[_0x2a1001(0x356)]>0x0?[this[_0x2a1001(0x2c1)](_0x30bb3c[0x0])]:[];const _0x34b5ef={};for(const [_0x21704a,_0x478c89]of Object[_0x2a1001(0x225)](_0x30bb3c)){if(_0x478c89&&typeof _0x478c89===_0x2a1001(0x253)&&!Array[_0x2a1001(0x1c2)](_0x478c89)){const _0x4ba50e=_0x478c89;_0x34b5ef[_0x21704a]=generateExampleValue(_0x21704a,_0x4ba50e[_0x2a1001(0x359)]||_0x2a1001(0x2d4),undefined,{'description':_0x4ba50e[_0x2a1001(0x350)]});}else Array[_0x2a1001(0x1c2)](_0x478c89)?_0x34b5ef[_0x21704a]=_0x478c89[_0x2a1001(0x356)]>0x0?[this[_0x2a1001(0x2c1)](_0x478c89[0x0])]:[]:_0x34b5ef[_0x21704a]=_0x478c89;}return _0x34b5ef;}['generateFieldExample'](_0x228f05,_0x40479c,_0x26b0eb,_0x4a09fb){return generateExampleValue(_0x228f05,_0x40479c,_0x26b0eb,_0x4a09fb);}[a0_0x136ce7(0x317)](_0x4dd7c0,_0x3a83ad){const _0xada9f8=a0_0x136ce7,_0x5aa03b=this[_0xada9f8(0x39b)]();return _0xada9f8(0x23b)+_0x4dd7c0+'.'+_0x5aa03b+_0xada9f8(0x1f0);}[a0_0x136ce7(0x1a1)](_0x57d720){const _0x150a2b=a0_0x136ce7,_0x526077=this[_0x150a2b(0x39b)](),_0x2371b1=_0x57d720||_0x150a2b(0x3f3),_0x55af13={};return _0x55af13[_0x150a2b(0x3d0)]='const\x20data\x20=\x20await\x20client.models.'+_0x2371b1+'.'+_0x526077+_0x150a2b(0x1f0),_0x55af13[_0x150a2b(0x224)]='try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'+_0x2371b1+'.'+_0x526077+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x55af13;}[a0_0x136ce7(0x1b0)](){const _0x535657=a0_0x136ce7,_0x1198d1=this[_0x535657(0x223)](),_0x4d5b57=Object['entries'](_0x1198d1)[_0x535657(0x3cd)](([_0x2db975,_0x20fb0d])=>{const _0x301488=_0x535657,_0x297763=_0x20fb0d,_0x845fdb={};return _0x845fdb[_0x301488(0x16a)]=_0x2db975,_0x845fdb[_0x301488(0x359)]=_0x297763['type']||_0x301488(0x2d4),_0x845fdb[_0x301488(0x350)]=_0x297763['description']||'-',_0x845fdb[_0x301488(0x212)]=_0x297763[_0x301488(0x212)],_0x845fdb;}),_0x38d86f={};return _0x38d86f['params']=_0x4d5b57,_0x38d86f;}[a0_0x136ce7(0x1b5)](){const _0x19f706=a0_0x136ce7,_0x223903=this[_0x19f706(0x25e)]();if(!_0x223903){const _0x13e7e0={};return _0x13e7e0[_0x19f706(0x3cb)]=[],_0x13e7e0;}const _0x2a9f34=Object[_0x19f706(0x225)](_0x223903)[_0x19f706(0x3cd)](([_0x2db9ee,_0x358bab])=>{const _0x59b9f2=_0x19f706,_0x1bb822=_0x358bab,_0x316fae={};return _0x316fae[_0x59b9f2(0x16a)]=_0x2db9ee,_0x316fae[_0x59b9f2(0x359)]=_0x1bb822[_0x59b9f2(0x359)]||_0x59b9f2(0x2d4),_0x316fae[_0x59b9f2(0x350)]=_0x1bb822[_0x59b9f2(0x350)]||'-',_0x316fae;}),_0x5339be={};return _0x5339be[_0x19f706(0x3cb)]=_0x2a9f34,_0x5339be;}[a0_0x136ce7(0x2c3)](){return[];}[a0_0x136ce7(0x197)](){const _0x2222f1=a0_0x136ce7;return this[_0x2222f1(0x2d8)]['fields']||[];}[a0_0x136ce7(0x2f4)](){const _0x2d2ef4=a0_0x136ce7;return{'systemFields':this[_0x2d2ef4(0x2c3)](),'businessFields':this[_0x2d2ef4(0x197)]()};}[a0_0x136ce7(0x2be)](_0x438d75){const _0x501613=a0_0x136ce7;return this[_0x501613(0x2d8)][_0x501613(0x15e)][_0x501613(0x320)](_0x40a33e=>_0x40a33e?.['code']===_0x438d75);}['getFieldCode'](_0x4575ea){return _0x4575ea['code'];}[a0_0x136ce7(0x15a)](_0x4e5360){const _0x4509aa=a0_0x136ce7;return _0x4e5360[_0x4509aa(0x359)];}[a0_0x136ce7(0x3c9)](_0x407ead){return _0x407ead['name'];}[a0_0x136ce7(0x3f0)](_0xbf2614){const _0x52990d=a0_0x136ce7;return _0xbf2614[_0x52990d(0x350)];}[a0_0x136ce7(0x1b2)](_0x2a4563){const _0x2c52ff=a0_0x136ce7;return _0x2a4563[_0x2c52ff(0x215)]()||null;}['isFieldPrimaryKey'](_0x2b3742){const _0x5dbc3d=a0_0x136ce7;return _0x2b3742[_0x5dbc3d(0x348)]();}['getOperators'](){return[];}[a0_0x136ce7(0x1a8)](_0xe1faa7){return[];}[a0_0x136ce7(0x1fd)](){const _0x310bf5=a0_0x136ce7;return{'name':this[_0x310bf5(0x39b)](),'displayName':this[_0x310bf5(0x1f7)](),'type':this['getType'](),'enabled':this[_0x310bf5(0x2d0)](),'method':this['getMethod'](),'path':this[_0x310bf5(0x1c7)](),'fullUrl':this[_0x310bf5(0x1f1)](),'requestParams':this[_0x310bf5(0x223)](),'requestExample':this['generateRequestExample'](),'responseExample':this['generateResponseExample']()};}[a0_0x136ce7(0x326)](){const _0x4241bd=a0_0x136ce7,_0xf59494=this['isEnabled']()?'启用':'禁用';return this[_0x4241bd(0x1f7)]()+'('+this[_0x4241bd(0x16a)]+',\x20'+_0xf59494+')';}}class GenericOperation extends Operation{[a0_0x136ce7(0x1e2)];[a0_0x136ce7(0x223)](){const _0x13795d=a0_0x136ce7;return this[_0x13795d(0x282)]();}[a0_0x136ce7(0x32c)](){const _0x5f54f4=a0_0x136ce7;return this[_0x5f54f4(0x25e)]();}[a0_0x136ce7(0x22f)](){const _0x8d3aba=a0_0x136ce7;if(this[_0x8d3aba(0x1e2)])return this[_0x8d3aba(0x1e2)];const _0x445615={},_0x26a8c8=this['getRequestParams'](),_0x5ab654=this[_0x8d3aba(0x286)]();if(Object['keys'](_0x26a8c8)['length']===0x0&&_0x5ab654){const _0x1c3c7b=this['getBusinessFields']();return _0x1c3c7b[_0x8d3aba(0x292)](_0x11defb=>{const _0x40cfa8=_0x8d3aba,_0x2e2ab2=_0x11defb['code'],_0x231f09=_0x11defb[_0x40cfa8(0x359)],_0x2319d4=this[_0x40cfa8(0x27a)](_0x2e2ab2,_0x231f09,_0x11defb[_0x40cfa8(0x2a5)](),{'isPrimaryKey':_0x11defb[_0x40cfa8(0x348)](),'description':_0x11defb['description']||_0x11defb[_0x40cfa8(0x16a)]});_0x445615[_0x2e2ab2]=_0x2319d4;}),this['_requestExampleCache']=_0x445615,_0x445615;}return Object[_0x8d3aba(0x225)](_0x26a8c8)['forEach'](([_0x39ace7,_0x5d5641])=>{const _0x4811d2=_0x8d3aba,_0x11a631=_0x5d5641;let _0x3af467;if(typeof _0x11a631[_0x4811d2(0x359)]===_0x4811d2(0x14f))_0x3af467=_0x11a631[_0x4811d2(0x359)];else _0x11a631[_0x4811d2(0x359)]&&typeof _0x11a631[_0x4811d2(0x359)]===_0x4811d2(0x253)?_0x3af467=_0x11a631[_0x4811d2(0x359)]['type']||_0x4811d2(0x252):_0x3af467=_0x4811d2(0x252);const _0x1d35c3=_0x11a631['description'],_0x35c984=this[_0x4811d2(0x2be)](_0x39ace7);if(_0x39ace7==='currentPage')_0x445615[_0x39ace7]=0x1;else{if(_0x39ace7===_0x4811d2(0x1e5))_0x445615[_0x39ace7]=0xa;else{if(_0x39ace7==='id')_0x445615[_0x39ace7]=0x1;else{const _0x3aad58=_0x35c984?_0x35c984[_0x4811d2(0x2a5)]():undefined,_0x46e0a6=_0x35c984?_0x35c984['description']:undefined,_0x1f3899=_0x35c984?_0x35c984[_0x4811d2(0x16a)]:undefined;_0x445615[_0x39ace7]=this['generateFieldExample'](_0x39ace7,_0x3af467,_0x3aad58||undefined,{'isPrimaryKey':_0x39ace7===this[_0x4811d2(0x2d8)][_0x4811d2(0x21e)]||_0x39ace7==='id','description':_0x1d35c3||_0x46e0a6||_0x1f3899});}}}}),this[_0x8d3aba(0x1e2)]=_0x445615,_0x445615;}[a0_0x136ce7(0x1c3)](){const _0x246089=a0_0x136ce7,_0x1f7800=this[_0x246089(0x32c)]();if(!_0x1f7800){const _0x133f83={};return _0x133f83[_0x246089(0x34f)]=!![],_0x133f83['msg']='操作成功',_0x133f83['errorMsg']='',_0x133f83['errorCode']='0000',_0x133f83[_0x246089(0x20e)]=null,_0x133f83;}return this[_0x246089(0x2c1)](_0x1f7800);}['generateFromSchema'](_0x109730){const _0x57d420=a0_0x136ce7;if(!_0x109730||typeof _0x109730!==_0x57d420(0x253))return{};if(Array[_0x57d420(0x1c2)](_0x109730)){if(_0x109730[_0x57d420(0x356)]>0x0)return[this['generateFromSchema'](_0x109730[0x0])];return[];}const _0x7d7d3f={};return Object['keys'](_0x109730)['forEach'](_0x5d4812=>{const _0x41f271=_0x57d420,_0x56cc36=_0x109730[_0x5d4812];if(_0x56cc36&&typeof _0x56cc36===_0x41f271(0x253)&&!Array[_0x41f271(0x1c2)](_0x56cc36)&&_0x56cc36[_0x41f271(0x359)]){const _0x3707f0=_0x56cc36;let _0x370390;if(typeof _0x3707f0[_0x41f271(0x359)]==='string')_0x370390=_0x3707f0[_0x41f271(0x359)];else _0x3707f0[_0x41f271(0x359)]&&typeof _0x3707f0[_0x41f271(0x359)]==='object'?_0x370390=_0x3707f0[_0x41f271(0x359)][_0x41f271(0x359)]||'TEXT':_0x370390=_0x41f271(0x252);const _0x4cf614=_0x3707f0[_0x41f271(0x350)],_0x4fa584={};_0x4fa584[_0x41f271(0x350)]=_0x4cf614,_0x7d7d3f[_0x5d4812]=this['generateFieldExample'](_0x5d4812,_0x370390,undefined,_0x4fa584);}else{if(Array[_0x41f271(0x1c2)](_0x56cc36))_0x7d7d3f[_0x5d4812]=_0x56cc36[_0x41f271(0x356)]>0x0?[this[_0x41f271(0x2c1)](_0x56cc36[0x0])]:[];else _0x56cc36&&typeof _0x56cc36===_0x41f271(0x253)?_0x7d7d3f[_0x5d4812]=this[_0x41f271(0x2c1)](_0x56cc36):_0x7d7d3f[_0x5d4812]=_0x56cc36;}}),_0x7d7d3f;}[a0_0x136ce7(0x317)](_0x59406e,_0x15d6a8){const _0x242700=a0_0x136ce7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x15d6a8||{},_0x526042=this[_0x242700(0x39b)](),_0x2093ec=this[_0x242700(0x286)](),_0x3b6b84=this[_0x242700(0x26f)](),_0x22b6ba=this[_0x242700(0x22f)](),_0x3655d1=_0x40816e=>{const _0xef5f65=_0x242700;if(Object[_0xef5f65(0x3f7)](_0x40816e)[_0xef5f65(0x356)]===0x0)return'{}';const _0x28447a=JSON[_0xef5f65(0x3b8)](_0x40816e,null,0x2)[_0xef5f65(0x3e1)]('\x0a')[_0xef5f65(0x3cd)]((_0x6eb43a,_0x3f4758)=>_0x3f4758===0x0?_0x6eb43a:indent+_0x6eb43a)['join']('\x0a');return _0x28447a;};switch(_0x2093ec){case _0x242700(0x19f):case _0x242700(0x1e9):return _0x242700(0x23b)+_0x59406e+'.'+_0x526042+_0x242700(0x288);case _0x242700(0x19a):if(useFullExample&&Object[_0x242700(0x3f7)](_0x22b6ba)[_0x242700(0x356)]>0x0)return _0x242700(0x23b)+_0x59406e+'.'+_0x526042+_0x242700(0x18b)+_0x3655d1(_0x22b6ba)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x59406e+'.'+_0x526042+_0x242700(0x2cc);case _0x242700(0x303):case _0x242700(0x193):case _0x242700(0x343):default:if(_0x3b6b84[_0x242700(0x356)]>0x0){if(useFullExample&&Object[_0x242700(0x3f7)](_0x22b6ba)[_0x242700(0x356)]>0x0)return _0x242700(0x23b)+_0x59406e+'.'+_0x526042+'('+_0x3655d1(_0x22b6ba)+');';else{const _0x661bbb=Object[_0x242700(0x3f7)](_0x22b6ba);if(_0x661bbb['length']>0x0){const _0x3e3a5b=_0x661bbb['slice'](0x0,0x2)[_0x242700(0x289)](',\x20');return _0x242700(0x23b)+_0x59406e+'.'+_0x526042+_0x242700(0x2eb)+_0x3e3a5b+_0x242700(0x207);}else return'const\x20result\x20=\x20await\x20client.models.'+_0x59406e+'.'+_0x526042+'(params);';}}else return'const\x20result\x20=\x20await\x20client.models.'+_0x59406e+'.'+_0x526042+_0x242700(0x1f0);}}[a0_0x136ce7(0x2d1)](){const _0xe0083a=a0_0x136ce7;return[{'title':_0xe0083a(0x280),'data':this['generateRequestExample']()}];}[a0_0x136ce7(0x2c3)](){const _0x13d497=a0_0x136ce7,_0x4086f1=this[_0x13d497(0x286)](),_0x52f5e1=[];switch(_0x4086f1){case'getOne':case _0x13d497(0x1e9):const _0x31ea03={};_0x31ea03[_0x13d497(0x14e)]='id',_0x31ea03[_0x13d497(0x359)]='NUMBER',_0x31ea03[_0x13d497(0x350)]='主键ID',_0x52f5e1['push'](_0x31ea03);break;case _0x13d497(0x193):const _0x43b513={};_0x43b513[_0x13d497(0x14e)]=_0x13d497(0x2c2),_0x43b513[_0x13d497(0x359)]=_0x13d497(0x30e),_0x43b513['description']=_0x13d497(0x1c5);const _0x5bdc78={};_0x5bdc78[_0x13d497(0x14e)]='pageSize',_0x5bdc78[_0x13d497(0x359)]=_0x13d497(0x30e),_0x5bdc78[_0x13d497(0x350)]=_0x13d497(0x3ae),_0x52f5e1['push'](_0x43b513,_0x5bdc78);break;case _0x13d497(0x343):const _0x21c99c={};_0x21c99c['code']='code',_0x21c99c[_0x13d497(0x359)]=_0x13d497(0x176),_0x21c99c[_0x13d497(0x350)]='选项编码(可选)',_0x52f5e1[_0x13d497(0x37c)](_0x21c99c);break;default:break;}return _0x52f5e1;}[a0_0x136ce7(0x197)](){const _0x36febc=a0_0x136ce7,_0xc4691b=this[_0x36febc(0x286)](),_0x4e10fa=this['context']['fields']||[];switch(_0xc4691b){case _0x36febc(0x19f):case _0x36febc(0x1e9):return[];case _0x36febc(0x303):return _0x4e10fa[_0x36febc(0x394)](_0x30ba08=>{const _0x212fe5=_0x36febc;if(_0x30ba08[_0x212fe5(0x1db)])return![];if(_0x30ba08[_0x212fe5(0x348)]()&&_0x30ba08[_0x212fe5(0x368)]())return![];if(_0x30ba08[_0x212fe5(0x1aa)]())return![];if(_0x30ba08['isCreateTime']()||_0x30ba08[_0x212fe5(0x1ed)]())return![];return!![];});case _0x36febc(0x19a):return _0x4e10fa[_0x36febc(0x394)](_0x89d1c8=>{const _0x45f807=_0x36febc;if(_0x89d1c8[_0x45f807(0x1db)])return![];if(_0x89d1c8[_0x45f807(0x348)]())return![];if(_0x89d1c8[_0x45f807(0x1aa)]())return![];if(_0x89d1c8['isCreateTime']()||_0x89d1c8['isUpdateTime']())return![];if(_0x89d1c8[_0x45f807(0x368)]())return![];return!![];});case _0x36febc(0x193):case _0x36febc(0x343):return _0x4e10fa[_0x36febc(0x394)](_0x13a14e=>!_0x13a14e['deleted']&&_0x13a14e[_0x36febc(0x17b)]());default:return _0x4e10fa[_0x36febc(0x394)](_0x5c8ce4=>!_0x5c8ce4['deleted']&&_0x5c8ce4['isBusiness']());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x136ce7(0x223)](){const _0x514935=a0_0x136ce7,_0x3ee28e=super[_0x514935(0x223)](),_0x45062b=Object['keys'](_0x3ee28e);if(_0x45062b['length']===0x0||_0x45062b['length']===0x1&&_0x45062b[0x0]==='code'){if(!_0x3ee28e['code']){const _0x4aa88a={};_0x4aa88a[_0x514935(0x359)]=_0x514935(0x2d4),_0x4aa88a[_0x514935(0x350)]=_0x514935(0x162),_0x3ee28e[_0x514935(0x14e)]=_0x4aa88a;}const _0x4ea03f={};_0x4ea03f['type']=_0x514935(0x2d4),_0x4ea03f[_0x514935(0x350)]='字段名称',_0x3ee28e[_0x514935(0x19d)]=_0x4ea03f;}return _0x3ee28e;}[a0_0x136ce7(0x197)](){return[];}[a0_0x136ce7(0x2c3)](){const _0x484249=a0_0x136ce7,_0x1b46b2={};_0x1b46b2[_0x484249(0x14e)]=_0x484249(0x14e),_0x1b46b2[_0x484249(0x359)]=_0x484249(0x2d4),_0x1b46b2[_0x484249(0x350)]=_0x484249(0x162);const _0x3c989e={};return _0x3c989e[_0x484249(0x14e)]='label',_0x3c989e[_0x484249(0x359)]=_0x484249(0x2d4),_0x3c989e[_0x484249(0x350)]=_0x484249(0x1d8),[_0x1b46b2,_0x3c989e];}[a0_0x136ce7(0x22f)](){const _0x1b7881=a0_0x136ce7,_0x11136a={};return _0x11136a[_0x1b7881(0x14e)]=_0x1b7881(0x365),_0x11136a[_0x1b7881(0x19d)]=_0x1b7881(0x365),_0x11136a;}[a0_0x136ce7(0x317)](_0x3d9cbb){const _0x20653e=a0_0x136ce7,_0x272a1c=this[_0x20653e(0x39b)]();return _0x20653e(0x23b)+_0x3d9cbb+'.'+_0x272a1c+_0x20653e(0x3d6);}}class GetListOperation extends GenericOperation{[a0_0x136ce7(0x223)](){const _0x1b1dbd=a0_0x136ce7,_0x19d680=super[_0x1b1dbd(0x223)](),{currentPage:_0x78ae5a,pageSize:_0x5bae6a,..._0x50119f}=_0x19d680,_0x2e935e={};Object[_0x1b1dbd(0x225)](_0x50119f)[_0x1b1dbd(0x292)](([_0x4de37a,_0x34b20c])=>{const _0x2ad962=_0x1b1dbd;if(typeof _0x34b20c===_0x2ad962(0x253)&&_0x34b20c!==null){const _0x47bf43=_0x34b20c,_0x3fd3dc=_0x47bf43[_0x2ad962(0x350)]||'',_0x17e887={..._0x47bf43};_0x17e887[_0x2ad962(0x350)]=_0x3fd3dc?_0x3fd3dc+_0x2ad962(0x17d):_0x2ad962(0x32b),_0x2e935e[_0x4de37a]=_0x17e887;}else _0x2e935e[_0x4de37a]=_0x34b20c;});const _0x37eddc={...typeof _0x78ae5a==='object'?_0x78ae5a:{}};_0x37eddc['type']=_0x1b1dbd(0x200),_0x37eddc[_0x1b1dbd(0x350)]=_0x1b1dbd(0x1c5);const _0x28cd9a={...typeof _0x5bae6a===_0x1b1dbd(0x253)?_0x5bae6a:{}};_0x28cd9a[_0x1b1dbd(0x359)]=_0x1b1dbd(0x200),_0x28cd9a['description']=_0x1b1dbd(0x1e3);const _0x1ba6be={..._0x2e935e};return _0x1ba6be[_0x1b1dbd(0x2c2)]=_0x37eddc,_0x1ba6be[_0x1b1dbd(0x1e5)]=_0x28cd9a,_0x1ba6be;}['generateRequestExample'](_0x5ea29b){const _0x435465=a0_0x136ce7,{useArrayValues:useArrayValues=!![]}=_0x5ea29b||{},_0x2da509=super[_0x435465(0x22f)](),{currentPage:_0x37c35d,pageSize:_0x247a7d,..._0x360f46}=_0x2da509;if(!useArrayValues){const _0x4dcf9e={..._0x360f46};return _0x4dcf9e[_0x435465(0x2c2)]=_0x37c35d??0x1,_0x4dcf9e[_0x435465(0x1e5)]=_0x247a7d??0xa,_0x4dcf9e;}const _0x2301db={},_0x6e0ea1=['id',_0x435465(0x3f8),'code','type'];Object[_0x435465(0x225)](_0x360f46)[_0x435465(0x292)](([_0x10fddb,_0x5a3a22],_0x528f97)=>{const _0x2d4b13=_0x435465,_0x19ced9=_0x6e0ea1[_0x2d4b13(0x2af)](_0x3e1dfb=>_0x10fddb[_0x2d4b13(0x2ba)]()[_0x2d4b13(0x26a)](_0x3e1dfb))||_0x528f97%0x3===0x0;if(_0x19ced9&&_0x5a3a22!==null&&_0x5a3a22!==undefined){if(typeof _0x5a3a22===_0x2d4b13(0x29d))_0x2301db[_0x10fddb]=[_0x5a3a22,_0x5a3a22+0x1,_0x5a3a22+0x2];else typeof _0x5a3a22===_0x2d4b13(0x14f)?_0x2301db[_0x10fddb]=[_0x5a3a22,_0x5a3a22+'_2',_0x5a3a22+'_3']:_0x2301db[_0x10fddb]=[_0x5a3a22];}else _0x2301db[_0x10fddb]=_0x5a3a22;});const _0x15315b={..._0x2301db};return _0x15315b[_0x435465(0x2c2)]=_0x37c35d??0x1,_0x15315b[_0x435465(0x1e5)]=_0x247a7d??0xa,_0x15315b;}[a0_0x136ce7(0x275)](){const _0x385272=a0_0x136ce7,_0x4aff12={};return _0x4aff12[_0x385272(0x3c5)]=![],this[_0x385272(0x22f)](_0x4aff12);}['generateRequestAllExamples'](){const _0x43846c=a0_0x136ce7;return[{'title':_0x43846c(0x2ad),'description':_0x43846c(0x3c4),'data':this[_0x43846c(0x275)]()},{'title':_0x43846c(0x2c8),'description':'支持多个条件','data':this[_0x43846c(0x22f)]()}];}[a0_0x136ce7(0x317)](_0x20dcb2,_0x33cdc9){const _0x255fd3=a0_0x136ce7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x33cdc9||{},_0x4adbf1=this[_0x255fd3(0x39b)](),_0x3bebe9={};_0x3bebe9[_0x255fd3(0x3c5)]=!![];const _0x3b57d9=this['generateRequestExample'](_0x3bebe9),{currentPage:_0x5c6f6e,pageSize:_0x3df583,..._0x5f3110}=_0x3b57d9;if(useFullExample&&Object[_0x255fd3(0x3f7)](_0x3b57d9)[_0x255fd3(0x356)]>0x0){const _0x570b15=Object[_0x255fd3(0x3f7)](_0x5f3110)[_0x255fd3(0x356)]>0x0;if(_0x570b15){const _0x3308bf=this[_0x255fd3(0x275)](),_0x49ead6=_0x2d3b7f=>{const _0x1ed107=_0x255fd3;return JSON[_0x1ed107(0x3b8)](_0x2d3b7f,null,0x2)['split']('\x0a')[_0x1ed107(0x3cd)]((_0x5dc783,_0x12fd8a)=>_0x12fd8a===0x0?_0x5dc783:indent+_0x5dc783)[_0x1ed107(0x289)]('\x0a');};return _0x255fd3(0x19e)+_0x20dcb2+'.'+_0x4adbf1+'('+_0x49ead6(_0x3308bf)+');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x20dcb2+'.'+_0x4adbf1+'('+_0x49ead6(_0x3b57d9)+');';}else{const _0x4b46be=JSON[_0x255fd3(0x3b8)](_0x3b57d9,null,0x2)['split']('\x0a')['map']((_0x3d5be4,_0x53bdf9)=>_0x53bdf9===0x0?_0x3d5be4:indent+_0x3d5be4)[_0x255fd3(0x289)]('\x0a');return _0x255fd3(0x23b)+_0x20dcb2+'.'+_0x4adbf1+'('+_0x4b46be+');';}}if(Object[_0x255fd3(0x3f7)](_0x5f3110)[_0x255fd3(0x356)]>0x0){const _0x514184=Object[_0x255fd3(0x3f7)](_0x5f3110)[0x0];return _0x255fd3(0x23b)+_0x20dcb2+'.'+_0x4adbf1+_0x255fd3(0x2eb)+_0x514184+',\x20currentPage,\x20pageSize,\x20...\x20});';}return _0x255fd3(0x23b)+_0x20dcb2+'.'+_0x4adbf1+_0x255fd3(0x1d2);}}var AGGREGATE_FUNCTIONS=[a0_0x136ce7(0x341),a0_0x136ce7(0x311),a0_0x136ce7(0x24c),a0_0x136ce7(0x2ae),a0_0x136ce7(0x3ef)],FILTER_OPERATORS=[a0_0x136ce7(0x321),'$ne',a0_0x136ce7(0x373),a0_0x136ce7(0x14a),'$lte',a0_0x136ce7(0x2c4),a0_0x136ce7(0x372),a0_0x136ce7(0x33d),'$startWith',a0_0x136ce7(0x2c0),a0_0x136ce7(0x172),a0_0x136ce7(0x231)];class FilterOperation extends GenericOperation{constructor(_0x5bf9ce,_0x2f12bc,_0x26b152){super(_0x5bf9ce,_0x2f12bc,_0x26b152);}['getOperators'](){return FILTER_OPERATORS;}['getFieldOperators'](_0xcbfbee){const _0x3f5d62=a0_0x136ce7,_0x5f795a=this[_0x3f5d62(0x2be)](_0xcbfbee);if(!_0x5f795a)return[];return this[_0x3f5d62(0x196)](_0x5f795a);}['getRequestParams'](){const _0x119e43=a0_0x136ce7,_0x3a0f2d=super[_0x119e43(0x223)](),_0x4dbb55={};_0x4dbb55[_0x119e43(0x359)]=_0x119e43(0x3b7),_0x4dbb55['description']=_0x119e43(0x151),_0x4dbb55[_0x119e43(0x212)]=![];const _0x10564c={};_0x10564c[_0x119e43(0x359)]=_0x119e43(0x3b2),_0x10564c[_0x119e43(0x350)]=_0x119e43(0x3de),_0x10564c[_0x119e43(0x212)]=![];const _0xb83a08={};_0xb83a08['type']=_0x119e43(0x3bd),_0xb83a08['description']=_0x119e43(0x1df),_0xb83a08[_0x119e43(0x212)]=![];const _0x39506c={};_0x39506c['type']=_0x119e43(0x200),_0x39506c[_0x119e43(0x350)]=_0x119e43(0x1c5),_0x39506c[_0x119e43(0x212)]=![],_0x39506c[_0x119e43(0x335)]=0x1;const _0x279bb7={};_0x279bb7['type']='Number',_0x279bb7['description']='每页数量',_0x279bb7[_0x119e43(0x212)]=![],_0x279bb7['default']=0xa;const _0xb157f6={..._0x3a0f2d};return _0xb157f6[_0x119e43(0x1f2)]=_0x4dbb55,_0xb157f6['select']=_0x10564c,_0xb157f6[_0x119e43(0x213)]=_0xb83a08,_0xb157f6[_0x119e43(0x2c2)]=_0x39506c,_0xb157f6[_0x119e43(0x1e5)]=_0x279bb7,_0xb157f6;}['getSystemFields'](){const _0x107dea=a0_0x136ce7,_0x17871a=this['getRequestParams'](),_0x591ca5=[],_0x3cc8bf=[_0x107dea(0x1f2),_0x107dea(0x38a),_0x107dea(0x213),_0x107dea(0x2c2),'pageSize'];return Object[_0x107dea(0x225)](_0x17871a)[_0x107dea(0x292)](([_0x166b8f,_0x3a1e5e])=>{const _0x32b621=_0x107dea;if(_0x3cc8bf[_0x32b621(0x26a)](_0x166b8f)){const _0x15b898=_0x3a1e5e,_0x29c72f={};_0x29c72f[_0x32b621(0x14e)]=_0x166b8f,_0x29c72f[_0x32b621(0x359)]=_0x15b898[_0x32b621(0x359)]||_0x32b621(0x3b7),_0x29c72f[_0x32b621(0x350)]=_0x15b898[_0x32b621(0x350)]||'-',_0x591ca5[_0x32b621(0x37c)](_0x29c72f);}}),_0x591ca5;}['getBusinessFields'](){const _0x1ab71e=a0_0x136ce7;return this[_0x1ab71e(0x2d8)][_0x1ab71e(0x15e)]||[];}[a0_0x136ce7(0x22d)](){const _0x651f54=a0_0x136ce7;return{'systemParams':this[_0x651f54(0x2c3)](),'businessFields':this[_0x651f54(0x197)]()};}[a0_0x136ce7(0x22f)](){const _0x5610b0=a0_0x136ce7,_0x6be845=this[_0x5610b0(0x2d8)][_0x5610b0(0x15e)]||[];if(_0x6be845[_0x5610b0(0x356)]===0x0){const _0x3d56c9={};return _0x3d56c9[_0x5610b0(0x1f2)]={},_0x3d56c9[_0x5610b0(0x2c2)]=0x1,_0x3d56c9[_0x5610b0(0x1e5)]=0x14,_0x3d56c9;}const _0x929732={},_0x4067d7=_0x6be845[_0x5610b0(0x3ee)](0x0,Math[_0x5610b0(0x3ef)](0x3,_0x6be845[_0x5610b0(0x356)]));_0x4067d7[_0x5610b0(0x292)](_0x430b26=>{const _0x6b1f29=_0x5610b0,_0x18a947=this[_0x6b1f29(0x196)](_0x430b26);if(_0x18a947[_0x6b1f29(0x356)]===0x0)return;const _0x3b9123=this[_0x6b1f29(0x175)](_0x430b26,_0x18a947),_0x260868=this[_0x6b1f29(0x265)](_0x430b26,_0x3b9123),_0x53efeb={};_0x53efeb[_0x3b9123]=_0x260868,_0x929732[_0x430b26['code']]=_0x53efeb;});const _0x5c4add=_0x6be845[_0x5610b0(0x3ee)](0x0,Math[_0x5610b0(0x3ef)](0x5,_0x6be845[_0x5610b0(0x356)]))[_0x5610b0(0x3cd)](_0x1df559=>_0x1df559[_0x5610b0(0x14e)]),_0xf3e2=_0x6be845[0x0]?_0x6be845[0x0][_0x5610b0(0x14e)]:'id',_0x1900aa={};_0x1900aa[_0xf3e2]='DESC';const _0x40b021={};return _0x40b021[_0x5610b0(0x1f2)]=_0x929732,_0x40b021[_0x5610b0(0x38a)]=_0x5c4add,_0x40b021[_0x5610b0(0x213)]=[_0x1900aa],_0x40b021[_0x5610b0(0x2c2)]=0x1,_0x40b021[_0x5610b0(0x1e5)]=0x14,_0x40b021;}['generateSDKCallCode'](_0x22fa35,_0x1861e4){const _0xc5524c=a0_0x136ce7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1861e4||{},_0x18d83a=this[_0xc5524c(0x39b)](),_0x48378e=this[_0xc5524c(0x22f)](),_0x38ff0c=_0x54294d=>{const _0x576734=_0xc5524c;return JSON[_0x576734(0x3b8)](_0x54294d,null,0x2)[_0x576734(0x3e1)]('\x0a')[_0x576734(0x3cd)]((_0x56c506,_0x4a8f07)=>_0x4a8f07===0x0?_0x56c506:indent+_0x56c506)[_0x576734(0x289)]('\x0a');};if(useFullExample){const _0x4dccf1=this[_0xc5524c(0x2d8)][_0xc5524c(0x15e)]||[],_0x5d7e5e={'where':_0x4dccf1[0x0]?{[_0x4dccf1[0x0][_0xc5524c(0x14e)]]:{'$eq':this[_0xc5524c(0x265)](_0x4dccf1[0x0],_0xc5524c(0x321))}}:{},'select':_0x4dccf1[_0xc5524c(0x3ee)](0x0,0x3)[_0xc5524c(0x3cd)](_0x4ca153=>_0x4ca153[_0xc5524c(0x14e)]),'currentPage':0x1,'pageSize':0x14};let _0x4cfedc='';if(_0x4dccf1['length']>=0x3){const _0x4a10f4={};_0x4a10f4['$and']=[];const _0x641c68=_0x4a10f4,_0x1cbf59=[];if(_0x4dccf1[_0xc5524c(0x356)]>0x0){const _0x2d259e=_0x4dccf1['find'](_0x528cea=>{const _0x129a57=_0xc5524c,_0x42eaca=_0x528cea['getDbTypeForOperation']();return['NUMBER','INTEGER',_0x129a57(0x15b),'INT','TINYINT','SMALLINT'][_0x129a57(0x26a)](_0x42eaca);});if(_0x2d259e){const _0x534afb={};_0x534afb['$gte']=0x0,_0x534afb[_0xc5524c(0x340)]=0x64;const _0x1a05a2={[_0x2d259e[_0xc5524c(0x14e)]]:_0x534afb};_0x1cbf59[_0xc5524c(0x37c)](_0x1a05a2);}}if(_0x4dccf1[_0xc5524c(0x356)]>0x1){const _0x4c37c4=_0x4dccf1['find'](_0x497bab=>{const _0x18a761=_0xc5524c,_0x18734e=_0x497bab[_0x18a761(0x2a5)]();return[_0x18a761(0x176),_0x18a761(0x252),_0x18a761(0x1fe),_0x18a761(0x351),'LONGTEXT'][_0x18a761(0x26a)](_0x18734e);});if(_0x4c37c4){const _0x5982db={};_0x5982db[_0xc5524c(0x33d)]=_0xc5524c(0x375);const _0x35dde9={[_0x4c37c4[_0xc5524c(0x14e)]]:_0x5982db};_0x1cbf59[_0xc5524c(0x37c)](_0x35dde9);}}if(_0x1cbf59[_0xc5524c(0x356)]>0x0){_0x641c68[_0xc5524c(0x172)]=_0x1cbf59;const _0x2e708c={'where':_0x641c68,'select':_0x4dccf1[_0xc5524c(0x3ee)](0x0,0x4)[_0xc5524c(0x3cd)](_0x44a5c1=>_0x44a5c1[_0xc5524c(0x14e)]),'orderBy':[{[_0x4dccf1[0x0]['code']]:_0xc5524c(0x3df)}],'currentPage':0x1,'pageSize':0x14};_0x4cfedc=_0xc5524c(0x18e)+_0x22fa35+'.'+_0x18d83a+'('+_0x38ff0c(_0x2e708c)+');';}}return _0xc5524c(0x363)+_0x22fa35+'.'+_0x18d83a+'('+_0x38ff0c(_0x5d7e5e)+');'+_0x4cfedc;}const _0x50029e=JSON[_0xc5524c(0x3b8)](_0x48378e,null,0x2)[_0xc5524c(0x3e1)]('\x0a')[_0xc5524c(0x3cd)]((_0x244bbe,_0x47313f)=>_0x47313f===0x0?_0x244bbe:indent+_0x244bbe)[_0xc5524c(0x289)]('\x0a');return _0xc5524c(0x23b)+_0x22fa35+'.'+_0x18d83a+'('+_0x50029e+');';}[a0_0x136ce7(0x196)](_0x10bca6){const _0x49b793=a0_0x136ce7,_0xcee81f=_0x10bca6[_0x49b793(0x2a5)](),_0x3dfa07=[];if(['NUMBER',_0x49b793(0x2da),'BIGINT','DECIMAL'][_0x49b793(0x26a)](_0xcee81f)||[_0x49b793(0x366),_0x49b793(0x3da),'SMALLINT',_0x49b793(0x314),'FLOAT'][_0x49b793(0x26a)](_0xcee81f))_0x3dfa07[_0x49b793(0x37c)]('$eq',_0x49b793(0x2b3),_0x49b793(0x373),_0x49b793(0x340),'$gteq',_0x49b793(0x2c4),_0x49b793(0x372));else{if([_0x49b793(0x176),_0x49b793(0x252),_0x49b793(0x1fe)][_0x49b793(0x26a)](_0xcee81f)||[_0x49b793(0x351),_0x49b793(0x199)][_0x49b793(0x26a)](_0xcee81f))_0x3dfa07[_0x49b793(0x37c)](_0x49b793(0x321),'$ne','$in','$contain','$startWith','$endWith');else{if([_0x49b793(0x144),_0x49b793(0x1ba),_0x49b793(0x217)][_0x49b793(0x26a)](_0xcee81f)||['TIME'][_0x49b793(0x26a)](_0xcee81f))_0x3dfa07[_0x49b793(0x37c)](_0x49b793(0x321),_0x49b793(0x2b3),_0x49b793(0x373),_0x49b793(0x340),_0x49b793(0x14a),_0x49b793(0x2c4));else[_0x49b793(0x187),_0x49b793(0x178),_0x49b793(0x210)][_0x49b793(0x26a)](_0xcee81f)?_0x3dfa07[_0x49b793(0x37c)](_0x49b793(0x321),_0x49b793(0x2b3)):_0x3dfa07[_0x49b793(0x37c)](_0x49b793(0x321),_0x49b793(0x2b3));}}return _0x3dfa07;}['selectBestOperator'](_0x3933fd,_0x139554){const _0x171860=a0_0x136ce7,_0x53484a=_0x3933fd[_0x171860(0x2a5)]();if([_0x171860(0x30e),_0x171860(0x2da),_0x171860(0x15b),_0x171860(0x202)][_0x171860(0x26a)](_0x53484a)||[_0x171860(0x366),_0x171860(0x3da),_0x171860(0x29b),_0x171860(0x314),'FLOAT'][_0x171860(0x26a)](_0x53484a))return _0x139554[_0x171860(0x26a)](_0x171860(0x373))?_0x171860(0x373):_0x171860(0x321);if([_0x171860(0x176),_0x171860(0x252),_0x171860(0x1fe)][_0x171860(0x26a)](_0x53484a)||[_0x171860(0x351),_0x171860(0x199)][_0x171860(0x26a)](_0x53484a))return _0x139554[_0x171860(0x26a)]('$contain')?_0x171860(0x33d):_0x171860(0x321);if(['DATE',_0x171860(0x1ba),_0x171860(0x217),'TIME'][_0x171860(0x26a)](_0x53484a))return _0x139554['includes']('$gte')?_0x171860(0x373):_0x171860(0x321);return _0x171860(0x321);}[a0_0x136ce7(0x265)](_0xdb38b2,_0x2a82ec){const _0x1a9989=a0_0x136ce7,_0x1ded70=_0xdb38b2[_0x1a9989(0x2a5)](),_0x97b4fd=_0xdb38b2['getEnumOptions']();if(_0x97b4fd&&_0x97b4fd['length']>0x0){if(_0x2a82ec==='$in')return _0x97b4fd[_0x1a9989(0x3ee)](0x0,0x2)[_0x1a9989(0x3cd)](_0x506496=>_0x506496[_0x1a9989(0x244)]);return _0x97b4fd[0x0][_0x1a9989(0x244)];}if(['NUMBER',_0x1a9989(0x2da),_0x1a9989(0x15b),_0x1a9989(0x202)][_0x1a9989(0x26a)](_0x1ded70)||[_0x1a9989(0x366),_0x1a9989(0x3da),'SMALLINT',_0x1a9989(0x314),'FLOAT'][_0x1a9989(0x26a)](_0x1ded70)){if(_0x2a82ec===_0x1a9989(0x372))return[0x1,0x2,0x3];if(_0x2a82ec===_0x1a9989(0x373)||_0x2a82ec==='$gteq')return 0x0;if(_0x2a82ec===_0x1a9989(0x340)||_0x2a82ec===_0x1a9989(0x2c4))return 0x64;return 0x1;}if([_0x1a9989(0x176),'TEXT',_0x1a9989(0x1fe)][_0x1a9989(0x26a)](_0x1ded70)||['CHAR',_0x1a9989(0x199)][_0x1a9989(0x26a)](_0x1ded70)){if(_0x2a82ec===_0x1a9989(0x372))return[_0x1a9989(0x195),_0x1a9989(0x382)];if(_0x2a82ec===_0x1a9989(0x33d))return _0x1a9989(0x375);if(_0x2a82ec===_0x1a9989(0x236))return _0x1a9989(0x259);if(_0x2a82ec===_0x1a9989(0x2c0))return'suffix';return _0x1a9989(0x244);}if([_0x1a9989(0x144),_0x1a9989(0x1ba),_0x1a9989(0x217),_0x1a9989(0x3be)][_0x1a9989(0x26a)](_0x1ded70)){if(_0x2a82ec===_0x1a9989(0x373)||_0x2a82ec===_0x1a9989(0x14a))return _0x1a9989(0x1cf);if(_0x2a82ec===_0x1a9989(0x340)||_0x2a82ec==='$lteq')return _0x1a9989(0x165);return'2024-01-01';}if([_0x1a9989(0x187),_0x1a9989(0x178),_0x1a9989(0x210)][_0x1a9989(0x26a)](_0x1ded70))return!![];return _0x2a82ec==='$in'?[_0x1a9989(0x195),'value2']:_0x1a9989(0x244);}['getRequestParamsDocInfo'](){const _0x4a022c=a0_0x136ce7,_0x2a3f05=super['getRequestParams'](),_0x253264=Object[_0x4a022c(0x225)](_0x2a3f05)[_0x4a022c(0x394)](([_0x98d399])=>_0x98d399!==_0x4a022c(0x2c2)&&_0x98d399!=='pageSize')[_0x4a022c(0x3cd)](([_0x4bea9a,_0x3ec521])=>{const _0x207817=_0x4a022c,_0x323abd=_0x3ec521,_0x39eb73={};return _0x39eb73[_0x207817(0x16a)]=_0x4bea9a,_0x39eb73[_0x207817(0x359)]=_0x323abd['type']||_0x207817(0x2d4),_0x39eb73['description']=_0x323abd[_0x207817(0x350)]||'-',_0x39eb73['required']=_0x323abd['required'],_0x39eb73;}),_0x184343={};return _0x184343['description']=_0x4a022c(0x1c9),_0x184343[_0x4a022c(0x3cb)]=_0x253264,_0x184343;}}class ExcelExportOperation extends GenericOperation{[a0_0x136ce7(0x223)](){const _0x1dd5ea=a0_0x136ce7,_0x579ffe=super[_0x1dd5ea(0x223)]();if(Object['keys'](_0x579ffe)['length']===0x0){const _0x23168c={};this[_0x1dd5ea(0x2d8)]['fields'][_0x1dd5ea(0x292)](_0x26213f=>{const _0x33f37a=_0x1dd5ea;if(_0x26213f){const _0x5f1d12=_0x26213f['code'],_0x39cd1e=_0x26213f[_0x33f37a(0x2a5)](),_0x5894c5={};_0x5894c5[_0x33f37a(0x359)]=_0x39cd1e||_0x33f37a(0x252),_0x5894c5[_0x33f37a(0x29a)]=_0x26213f[_0x33f37a(0x29a)],_0x5894c5[_0x33f37a(0x350)]=_0x26213f[_0x33f37a(0x350)]||_0x26213f['name'],_0x23168c[_0x5f1d12]=_0x5894c5;}});const _0x22dd4a={};_0x22dd4a[_0x1dd5ea(0x359)]=_0x1dd5ea(0x27f),_0x22dd4a[_0x1dd5ea(0x350)]=_0x1dd5ea(0x1ae),_0x23168c['currentPage']=_0x22dd4a;const _0x318fcd={};return _0x318fcd['type']='Integer',_0x318fcd[_0x1dd5ea(0x350)]=_0x1dd5ea(0x26c),_0x23168c[_0x1dd5ea(0x1e5)]=_0x318fcd,_0x23168c;}return _0x579ffe;}[a0_0x136ce7(0x22f)](){const _0x2867ee=a0_0x136ce7,_0x970ce2=super[_0x2867ee(0x22f)]();if(Object[_0x2867ee(0x3f7)](_0x970ce2)[_0x2867ee(0x356)]===0x0){const _0xe9f99e={};return _0xe9f99e[_0x2867ee(0x2c2)]=0x1,_0xe9f99e['pageSize']=0x64,_0xe9f99e;}const _0xb6a8d8={..._0x970ce2};return _0xb6a8d8[_0x2867ee(0x2c2)]=_0x970ce2['currentPage']??0x1,_0xb6a8d8[_0x2867ee(0x1e5)]=_0x970ce2['pageSize']??0x64,_0xb6a8d8;}[a0_0x136ce7(0x1c3)](){const _0x26f78d=a0_0x136ce7,_0x3b2808={};return _0x3b2808[_0x26f78d(0x34f)]=!![],_0x3b2808['msg']='',_0x3b2808['errorMsg']='',_0x3b2808[_0x26f78d(0x224)]=_0x26f78d(0x22c),_0x3b2808[_0x26f78d(0x20e)]=_0x26f78d(0x239),_0x3b2808[_0x26f78d(0x3cb)]=null,_0x3b2808;}[a0_0x136ce7(0x317)](_0x562c00,_0x5ac88e){const _0x1c2ea0=a0_0x136ce7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5ac88e||{},_0x1e645d=this[_0x1c2ea0(0x39b)]();if(useFullExample){const _0x4b2b14=this[_0x1c2ea0(0x22f)](),{currentPage:_0x4d02c3,pageSize:_0x53d40c,..._0x3715ef}=_0x4b2b14,_0x1b5b5a=Object[_0x1c2ea0(0x3f7)](_0x3715ef)['length']>0x0;if(_0x1b5b5a){const _0x1a95d9=_0x2cedd6=>{const _0xcc1de9=_0x1c2ea0;return JSON[_0xcc1de9(0x3b8)](_0x2cedd6,null,0x2)[_0xcc1de9(0x3e1)]('\x0a')[_0xcc1de9(0x3cd)]((_0x2b6d6b,_0x3b8362)=>_0x3b8362===0x0?_0x2b6d6b:indent+_0x2b6d6b)[_0xcc1de9(0x289)]('\x0a');};return'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x562c00+'.'+_0x1e645d+_0x1c2ea0(0x2e6)+_0x562c00+'.'+_0x1e645d+'('+_0x1a95d9(_0x4b2b14)+');';}else{const _0x31035d=_0x49450a=>{const _0x4779c0=_0x1c2ea0;return JSON[_0x4779c0(0x3b8)](_0x49450a,null,0x2)['split']('\x0a')[_0x4779c0(0x3cd)]((_0x22b728,_0x2bb3cb)=>_0x2bb3cb===0x0?_0x22b728:indent+_0x22b728)['join']('\x0a');},_0x3c8f48={};return _0x3c8f48[_0x1c2ea0(0x2c2)]=0x1,_0x3c8f48[_0x1c2ea0(0x1e5)]=0x64,_0x1c2ea0(0x145)+_0x562c00+'.'+_0x1e645d+_0x1c2ea0(0x38d)+_0x562c00+'.'+_0x1e645d+'('+_0x31035d(_0x3c8f48)+');';}}return _0x1c2ea0(0x2a4)+_0x562c00+'.'+_0x1e645d+_0x1c2ea0(0x240);}[a0_0x136ce7(0x1a1)](_0x4f2614){const _0x74a03e=a0_0x136ce7,_0x43594c=this[_0x74a03e(0x39b)](),_0x4e6ab2=_0x4f2614||_0x74a03e(0x3f3),_0x19fc4d='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x4e6ab2+'.'+_0x43594c+_0x74a03e(0x3d4),_0x1ec0c6='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x4e6ab2+'.'+_0x43594c+'();\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}',_0x10b02b={};return _0x10b02b[_0x74a03e(0x3d0)]=_0x19fc4d,_0x10b02b[_0x74a03e(0x224)]=_0x1ec0c6,_0x10b02b;}}class UpdateOperation extends GenericOperation{[a0_0x136ce7(0x1d1)](){const _0x581a02=a0_0x136ce7;return this[_0x581a02(0x282)]();}[a0_0x136ce7(0x223)](){const _0x292217=a0_0x136ce7,_0x59d019=this[_0x292217(0x1d1)](),_0x42474b={};_0x42474b[_0x292217(0x359)]=_0x292217(0x30e),_0x42474b['description']=_0x292217(0x248),_0x42474b['required']=!![];const _0x2510eb={};_0x2510eb[_0x292217(0x359)]=_0x292217(0x253),_0x2510eb[_0x292217(0x350)]=_0x292217(0x36e),_0x2510eb[_0x292217(0x212)]=!![],_0x2510eb['properties']=_0x59d019;const _0x1d1469={};return _0x1d1469['id']=_0x42474b,_0x1d1469[_0x292217(0x20e)]=_0x2510eb,_0x1d1469;}['getUpdatableFields'](){const _0x59cac7=a0_0x136ce7;return this[_0x59cac7(0x1d1)]();}[a0_0x136ce7(0x230)](){const _0x382d48=a0_0x136ce7,_0x2bb231=this['context'][_0x382d48(0x15e)]||[],_0x54145a=this[_0x382d48(0x2d8)][_0x382d48(0x21e)],_0x5786f2=_0x2bb231[_0x382d48(0x320)](_0x199197=>_0x199197[_0x382d48(0x348)]()||_0x199197['code']===_0x54145a),_0x4b845d=_0x2bb231[_0x382d48(0x394)](_0x1edb73=>{const _0x534b98=_0x382d48;if(_0x1edb73[_0x534b98(0x1db)])return![];if(_0x1edb73===_0x5786f2||_0x1edb73['isPrimaryKey']())return![];if(_0x1edb73[_0x534b98(0x3dc)]()||_0x1edb73[_0x534b98(0x1ed)]())return![];if(_0x1edb73[_0x534b98(0x368)]())return![];return!![];});return _0x5786f2?[_0x5786f2,..._0x4b845d]:_0x4b845d;}[a0_0x136ce7(0x389)](){const _0xb50a9=a0_0x136ce7,_0x32b4e1=this[_0xb50a9(0x230)](),_0x253675=this[_0xb50a9(0x2d8)][_0xb50a9(0x21e)],_0x54b3a9=_0x32b4e1[_0xb50a9(0x3cd)](_0x24ea11=>{const _0x4ec176=_0xb50a9,_0x4029e5=_0x24ea11['isPrimaryKey']()||_0x24ea11[_0x4ec176(0x14e)]===_0x253675,_0x265f1f=_0x4029e5?'id':_0x24ea11[_0x4ec176(0x14e)],_0x4d7d15={};return _0x4d7d15[_0x4ec176(0x16a)]=_0x265f1f,_0x4d7d15[_0x4ec176(0x359)]=_0x24ea11[_0x4ec176(0x359)],_0x4d7d15[_0x4ec176(0x350)]=_0x4029e5?_0x4ec176(0x3eb)+(_0x253675&&_0x253675!==_0x24ea11[_0x4ec176(0x14e)]?_0x4ec176(0x22b)+_0x24ea11[_0x4ec176(0x14e)]+')':''):_0x24ea11[_0x4ec176(0x350)]||_0x24ea11[_0x4ec176(0x16a)],_0x4d7d15;}),_0xaec3d7={};return _0xaec3d7[_0xb50a9(0x350)]=_0xb50a9(0x2b7),_0xaec3d7[_0xb50a9(0x3cb)]=_0x54b3a9,_0xaec3d7;}[a0_0x136ce7(0x1b0)](){const _0x59cf4d=a0_0x136ce7,_0x546515=this[_0x59cf4d(0x1d1)](),_0x39906f=Object[_0x59cf4d(0x225)](_0x546515)[_0x59cf4d(0x3cd)](([_0x5d9f54,_0x1fa2a1])=>{const _0x9d9aab=_0x59cf4d,_0x4b5d00=_0x1fa2a1,_0x111a78={};return _0x111a78['name']=_0x5d9f54,_0x111a78[_0x9d9aab(0x359)]=_0x4b5d00[_0x9d9aab(0x359)]||_0x9d9aab(0x2d4),_0x111a78['description']=_0x4b5d00[_0x9d9aab(0x350)]||'-',_0x111a78;}),_0x49ea11={};return _0x49ea11['description']=_0x59cf4d(0x2d3)+_0x59cf4d(0x2df)+_0x59cf4d(0x1f3)+_0x59cf4d(0x2d7)+_0x59cf4d(0x2ce)+'**可更新的字段列表:**',_0x49ea11[_0x59cf4d(0x3cb)]=_0x39906f,_0x49ea11;}['generateRequestExample'](){const _0x6100ac=a0_0x136ce7,_0x2e4d86=this[_0x6100ac(0x1d1)](),_0x5820dc={};Object[_0x6100ac(0x225)](_0x2e4d86)[_0x6100ac(0x292)](([_0x1827ee,_0x460ee9])=>{const _0x20e921=_0x6100ac,_0x1d60e0=_0x460ee9;let _0x1560ca;if(typeof _0x1d60e0[_0x20e921(0x359)]==='string')_0x1560ca=_0x1d60e0['type'];else _0x1d60e0[_0x20e921(0x359)]&&typeof _0x1d60e0[_0x20e921(0x359)]===_0x20e921(0x253)?_0x1560ca=_0x1d60e0[_0x20e921(0x359)][_0x20e921(0x359)]||_0x20e921(0x252):_0x1560ca=_0x20e921(0x252);const _0x50f582=_0x1d60e0['description'],_0x2b5013=this[_0x20e921(0x2be)](_0x1827ee);_0x5820dc[_0x1827ee]=this[_0x20e921(0x27a)](_0x1827ee,_0x1560ca,_0x2b5013?.[_0x20e921(0x2a5)](),{'isPrimaryKey':![],'description':_0x50f582||_0x2b5013?.[_0x20e921(0x350)]||_0x2b5013?.[_0x20e921(0x16a)]});});const _0x2b01b1={};return _0x2b01b1['id']=0x1,_0x2b01b1[_0x6100ac(0x20e)]=_0x5820dc,_0x2b01b1;}[a0_0x136ce7(0x2d1)](){const _0x38c954=a0_0x136ce7,_0x28ac6f=this[_0x38c954(0x22f)](),_0xe11bd1={};return _0xe11bd1['title']=_0x38c954(0x36d),_0xe11bd1[_0x38c954(0x350)]='SDK\x20调用时传递两个参数:\x0a'+_0x38c954(0x242)+_0x38c954(0x261),_0xe11bd1[_0x38c954(0x20e)]=_0x28ac6f,[_0xe11bd1,{'title':_0x38c954(0x1ca),'description':_0x38c954(0x313)+_0x38c954(0x1b7)+_0x38c954(0x384),'data':this[_0x38c954(0x3a8)]()}];}[a0_0x136ce7(0x3a8)](){const _0x7fd5f0=a0_0x136ce7,_0x180183=this[_0x7fd5f0(0x1d1)](),_0x1a3a66={};_0x1a3a66['id']=0x1;const _0x3c0b11=_0x1a3a66;return Object[_0x7fd5f0(0x225)](_0x180183)[_0x7fd5f0(0x292)](([_0xc0ee90,_0x3f72dd])=>{const _0x3295a2=_0x7fd5f0,_0x240127=_0x3f72dd;let _0x1e89fa;if(typeof _0x240127[_0x3295a2(0x359)]==='string')_0x1e89fa=_0x240127['type'];else _0x240127['type']&&typeof _0x240127[_0x3295a2(0x359)]===_0x3295a2(0x253)?_0x1e89fa=_0x240127[_0x3295a2(0x359)]['type']||_0x3295a2(0x252):_0x1e89fa=_0x3295a2(0x252);const _0x4606a9=_0x240127[_0x3295a2(0x350)],_0x319cac=this['getFieldDefinition'](_0xc0ee90);if(_0x319cac?.[_0x3295a2(0x348)]())return;_0x3c0b11[_0xc0ee90]=this[_0x3295a2(0x27a)](_0xc0ee90,_0x1e89fa,_0x319cac?.[_0x3295a2(0x2a5)](),{'isPrimaryKey':![],'description':_0x4606a9||_0x319cac?.[_0x3295a2(0x350)]||_0x319cac?.[_0x3295a2(0x16a)]});}),_0x3c0b11;}[a0_0x136ce7(0x3ea)](){return this['generateHTTPRequestExample']();}[a0_0x136ce7(0x317)](_0x37445d,_0x56d5ae){const _0x35fcf6=a0_0x136ce7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x56d5ae||{},_0xcb07db=this[_0x35fcf6(0x39b)]();if(useFullExample){const _0x574e05=this[_0x35fcf6(0x22f)](),_0x4e65bb=JSON[_0x35fcf6(0x3b8)](_0x574e05[_0x35fcf6(0x20e)],null,0x2)[_0x35fcf6(0x3e1)]('\x0a')[_0x35fcf6(0x3cd)]((_0x1c7a17,_0x21a168)=>_0x21a168===0x0?_0x1c7a17:indent+_0x1c7a17)['join']('\x0a');return _0x35fcf6(0x23b)+_0x37445d+'.'+_0xcb07db+'('+_0x574e05['id']+',\x20'+_0x4e65bb+');';}return _0x35fcf6(0x23b)+_0x37445d+'.'+_0xcb07db+_0x35fcf6(0x2cc);}}class AggregateOperation extends GenericOperation{constructor(_0x478ba5,_0x127495,_0x3d3bae){super(_0x478ba5,_0x127495,_0x3d3bae);}[a0_0x136ce7(0x158)](_0x2813e4){const _0x11e305=a0_0x136ce7;return _0x2813e4[_0x11e305(0x218)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x11e305(0x169)]()[_0x11e305(0x28e)]();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}[a0_0x136ce7(0x223)](){const _0x32c8f0=a0_0x136ce7,_0x4c1dd7=super[_0x32c8f0(0x223)](),_0x402ca3={};_0x402ca3['type']=_0x32c8f0(0x3b2),_0x402ca3['description']=_0x32c8f0(0x3f5),_0x402ca3[_0x32c8f0(0x212)]=![];const _0x5822ce={};_0x5822ce[_0x32c8f0(0x359)]='Object',_0x5822ce[_0x32c8f0(0x350)]=_0x32c8f0(0x32d),_0x5822ce[_0x32c8f0(0x212)]=![];const _0x3e840b={};_0x3e840b[_0x32c8f0(0x359)]=_0x32c8f0(0x3b2),_0x3e840b[_0x32c8f0(0x350)]=_0x32c8f0(0x23a),_0x3e840b[_0x32c8f0(0x212)]=![];const _0x4516bc={};_0x4516bc[_0x32c8f0(0x359)]=_0x32c8f0(0x2e3),_0x4516bc[_0x32c8f0(0x350)]=_0x32c8f0(0x354),_0x4516bc[_0x32c8f0(0x212)]=![];const _0x2b3ad6={};_0x2b3ad6[_0x32c8f0(0x359)]=_0x32c8f0(0x2e3),_0x2b3ad6[_0x32c8f0(0x350)]=_0x32c8f0(0x3d8),_0x2b3ad6[_0x32c8f0(0x212)]=![];const _0x2662ca={};_0x2662ca['type']=_0x32c8f0(0x2e3),_0x2662ca[_0x32c8f0(0x350)]=_0x32c8f0(0x2b8),_0x2662ca[_0x32c8f0(0x212)]=![];const _0x10bab9={};_0x10bab9[_0x32c8f0(0x359)]='Number',_0x10bab9['description']='当前页码(从\x201\x20开始,默认:\x201)',_0x10bab9[_0x32c8f0(0x212)]=![];const _0x21c134={};_0x21c134[_0x32c8f0(0x359)]='Number',_0x21c134[_0x32c8f0(0x350)]=_0x32c8f0(0x1a0),_0x21c134['required']=![];const _0x54054d={..._0x4c1dd7};return _0x54054d['select']=_0x402ca3,_0x54054d[_0x32c8f0(0x1f2)]=_0x5822ce,_0x54054d[_0x32c8f0(0x31a)]=_0x3e840b,_0x54054d['aggregate']=_0x4516bc,_0x54054d[_0x32c8f0(0x264)]=_0x2b3ad6,_0x54054d[_0x32c8f0(0x213)]=_0x2662ca,_0x54054d[_0x32c8f0(0x2c2)]=_0x10bab9,_0x54054d['pageSize']=_0x21c134,_0x54054d;}[a0_0x136ce7(0x2c3)](){const _0x31922c=a0_0x136ce7,_0x3e1fbe={};_0x3e1fbe[_0x31922c(0x14e)]='select',_0x3e1fbe[_0x31922c(0x359)]=_0x31922c(0x3b2),_0x3e1fbe[_0x31922c(0x350)]=_0x31922c(0x3f5);const _0x3a4f2e={};_0x3a4f2e[_0x31922c(0x14e)]='where',_0x3a4f2e[_0x31922c(0x359)]=_0x31922c(0x3b7),_0x3a4f2e[_0x31922c(0x350)]=_0x31922c(0x32d);const _0x5ca527={};_0x5ca527[_0x31922c(0x14e)]=_0x31922c(0x31a),_0x5ca527[_0x31922c(0x359)]='String[]',_0x5ca527['description']='分组字段列表';const _0x12f4c2={};_0x12f4c2[_0x31922c(0x14e)]='aggregate',_0x12f4c2['type']=_0x31922c(0x2e3),_0x12f4c2['description']='聚合函数配置数组(type:\x20sum/count/avg/max/min)';const _0x1c19eb={};_0x1c19eb[_0x31922c(0x14e)]='having',_0x1c19eb[_0x31922c(0x359)]=_0x31922c(0x2e3),_0x1c19eb[_0x31922c(0x350)]='分组后的过滤条件(对聚合结果进行过滤)';const _0x1c5c4={};_0x1c5c4[_0x31922c(0x14e)]=_0x31922c(0x213),_0x1c5c4[_0x31922c(0x359)]=_0x31922c(0x2e3),_0x1c5c4[_0x31922c(0x350)]='排序规则(与\x20Filter\x20API\x20一致)';const _0x4c37c0={};_0x4c37c0[_0x31922c(0x14e)]=_0x31922c(0x2c2),_0x4c37c0['type']=_0x31922c(0x200),_0x4c37c0['description']=_0x31922c(0x3b9);const _0x204c68={};return _0x204c68[_0x31922c(0x14e)]=_0x31922c(0x1e5),_0x204c68[_0x31922c(0x359)]=_0x31922c(0x200),_0x204c68[_0x31922c(0x350)]='每页数量(默认:\x2020)',[_0x3e1fbe,_0x3a4f2e,_0x5ca527,_0x12f4c2,_0x1c19eb,_0x1c5c4,_0x4c37c0,_0x204c68];}[a0_0x136ce7(0x22f)](){const _0x1b27cf=a0_0x136ce7,_0x5c3815=this[_0x1b27cf(0x2d8)][_0x1b27cf(0x15e)]||[];if(_0x5c3815[_0x1b27cf(0x356)]===0x0){const _0x4bfe66={};return _0x4bfe66['where']={},_0x4bfe66['groupBy']=[],_0x4bfe66['aggregate']=[],_0x4bfe66;}const _0x360d47={},_0x38ddc5=_0x5c3815['slice'](0x0,Math['min'](0x3,_0x5c3815[_0x1b27cf(0x356)]));_0x38ddc5[_0x1b27cf(0x292)](_0x5357b5=>{const _0x32f1fc=_0x1b27cf,_0x5d0bc9=this[_0x32f1fc(0x196)](_0x5357b5);if(_0x5d0bc9[_0x32f1fc(0x356)]===0x0)return;const _0x1e9fea=this[_0x32f1fc(0x175)](_0x5357b5,_0x5d0bc9),_0x3be025=this[_0x32f1fc(0x265)](_0x5357b5,_0x1e9fea),_0x48cb7a={};_0x48cb7a[_0x1e9fea]=_0x3be025,_0x360d47[_0x5357b5[_0x32f1fc(0x14e)]]=_0x48cb7a;});const _0x1af297=_0x5c3815[_0x1b27cf(0x3ee)](0x0,Math[_0x1b27cf(0x3ef)](0x2,_0x5c3815[_0x1b27cf(0x356)]))[_0x1b27cf(0x3cd)](_0x379439=>_0x379439['code']),_0x59234a=[],_0x392cb3=_0x5c3815['filter'](_0x38c846=>this['isNumericField'](_0x38c846));if(_0x392cb3[_0x1b27cf(0x356)]>0x0){const _0x2e4c36=_0x392cb3[0x0],_0x129440=_0x2e4c36['code'],_0x27623b={};_0x27623b['type']='sum',_0x27623b['column']=_0x129440,_0x27623b[_0x1b27cf(0x18d)]=_0x129440+_0x1b27cf(0x1ec),_0x27623b[_0x1b27cf(0x276)]=![],_0x27623b[_0x1b27cf(0x2bd)]=!![],_0x27623b[_0x1b27cf(0x1a6)]=0x2,_0x59234a[_0x1b27cf(0x37c)](_0x27623b);const _0x32cf63={};_0x32cf63['type']=_0x1b27cf(0x24c),_0x32cf63[_0x1b27cf(0x296)]=_0x129440,_0x32cf63[_0x1b27cf(0x18d)]=_0x129440+_0x1b27cf(0x181),_0x32cf63[_0x1b27cf(0x276)]=![],_0x32cf63[_0x1b27cf(0x2bd)]=!![],_0x32cf63[_0x1b27cf(0x1a6)]=0x2,_0x59234a[_0x1b27cf(0x37c)](_0x32cf63);const _0x147eda={};_0x147eda[_0x1b27cf(0x359)]=_0x1b27cf(0x2ae),_0x147eda[_0x1b27cf(0x296)]=_0x129440,_0x147eda[_0x1b27cf(0x18d)]=_0x129440+_0x1b27cf(0x3a0),_0x147eda[_0x1b27cf(0x276)]=![],_0x147eda[_0x1b27cf(0x2bd)]=!![],_0x147eda[_0x1b27cf(0x1a6)]=0x2,_0x59234a[_0x1b27cf(0x37c)](_0x147eda);const _0x43d285={};_0x43d285[_0x1b27cf(0x359)]=_0x1b27cf(0x3ef),_0x43d285['column']=_0x129440,_0x43d285[_0x1b27cf(0x18d)]=_0x129440+_0x1b27cf(0x1f4),_0x43d285[_0x1b27cf(0x276)]=![],_0x43d285[_0x1b27cf(0x2bd)]=!![],_0x43d285[_0x1b27cf(0x1a6)]=0x2,_0x59234a['push'](_0x43d285);}else{if(_0x5c3815[_0x1b27cf(0x356)]>0x0){const _0xa7fd9=_0x5c3815[0x0],_0x2414a5=_0xa7fd9[_0x1b27cf(0x14e)],_0x51fe69={};_0x51fe69[_0x1b27cf(0x359)]=_0x1b27cf(0x311),_0x51fe69['column']=_0x2414a5,_0x51fe69[_0x1b27cf(0x18d)]=_0x1b27cf(0x15f),_0x51fe69[_0x1b27cf(0x276)]=!![],_0x59234a[_0x1b27cf(0x37c)](_0x51fe69);}}const _0x1c385a=[];if(_0x5c3815[_0x1b27cf(0x356)]>0x0){const _0x55f3f2=_0x5c3815[0x0][_0x1b27cf(0x14e)],_0xff254a={};_0xff254a[_0x55f3f2]=_0x1b27cf(0x2f1),_0x1c385a[_0x1b27cf(0x37c)](_0xff254a);}const _0x5c6866=[..._0x1af297,..._0x59234a['map'](_0x31aa15=>_0x31aa15['alias'])],_0x525adc=[];if(_0x59234a[_0x1b27cf(0x356)]>0x0){const _0x6a67a3={};_0x6a67a3['$gte']=0x0;const _0x3315c3={};_0x3315c3[_0x1b27cf(0x21c)]=_0x59234a[0x0]['alias'],_0x3315c3['condition']=_0x6a67a3,_0x525adc['push'](_0x3315c3);}const _0x10fa3d={};return _0x10fa3d[_0x1b27cf(0x38a)]=_0x5c6866,_0x10fa3d[_0x1b27cf(0x1f2)]=_0x360d47,_0x10fa3d[_0x1b27cf(0x31a)]=_0x1af297,_0x10fa3d[_0x1b27cf(0x30c)]=_0x59234a,_0x10fa3d['having']=_0x525adc[_0x1b27cf(0x356)]>0x0?_0x525adc:undefined,_0x10fa3d[_0x1b27cf(0x213)]=_0x1c385a,_0x10fa3d[_0x1b27cf(0x2c2)]=0x1,_0x10fa3d['pageSize']=0x14,_0x10fa3d;}['generateSDKCallCode'](_0x4ce11e,_0x294a0e){const _0x435b3b=a0_0x136ce7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x294a0e||{},_0x34ac03=this['getName'](),_0x7ac654=this[_0x435b3b(0x22f)](),_0x218a6c=_0x480450=>{const _0x305a6e=_0x435b3b;return JSON[_0x305a6e(0x3b8)](_0x480450,null,0x2)['split']('\x0a')[_0x305a6e(0x3cd)]((_0x3a1c09,_0x1b26da)=>_0x1b26da===0x0?_0x3a1c09:indent+_0x3a1c09)[_0x305a6e(0x289)]('\x0a');};if(useFullExample){const _0x6191ce=this[_0x435b3b(0x2d8)][_0x435b3b(0x15e)]||[],_0x595bfa=_0x6191ce[_0x435b3b(0x394)](_0x1c66ba=>this[_0x435b3b(0x1a9)](_0x1c66ba)),_0x19b586={'where':_0x6191ce[0x0]?{[_0x6191ce[0x0]['code']]:{'$eq':this[_0x435b3b(0x265)](_0x6191ce[0x0],_0x435b3b(0x321))}}:{},'aggregate':_0x595bfa['length']>0x0?[{'type':_0x435b3b(0x341),'column':_0x595bfa[0x0]['code'],'alias':_0x595bfa[0x0][_0x435b3b(0x14e)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':'count','column':_0x6191ce[0x0]['code'],'alias':_0x435b3b(0x15f),'distinct':!![]}],'orderBy':[{[_0x6191ce[0x0][_0x435b3b(0x14e)]]:'desc'}]};let _0x33254c='';return _0x6191ce[_0x435b3b(0x356)]>=0x3&&(_0x33254c=_0x435b3b(0x201)+_0x4ce11e+'.'+_0x34ac03+'('+_0x218a6c(_0x7ac654)+');'),_0x435b3b(0x250)+_0x4ce11e+'.'+_0x34ac03+'('+_0x218a6c(_0x19b586)+');'+_0x33254c;}const _0x2981ea=JSON[_0x435b3b(0x3b8)](_0x7ac654,null,0x2)['split']('\x0a')[_0x435b3b(0x3cd)]((_0x331384,_0x35ebd5)=>_0x35ebd5===0x0?_0x331384:indent+_0x331384)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x4ce11e+'.'+_0x34ac03+'('+_0x2981ea+');';}[a0_0x136ce7(0x1a9)](_0x1e42c7){const _0xf7d449=a0_0x136ce7,_0x1d2030=_0x1e42c7[_0xf7d449(0x2a5)]();return[_0xf7d449(0x30e),_0xf7d449(0x2da),_0xf7d449(0x15b),_0xf7d449(0x202)][_0xf7d449(0x26a)](_0x1d2030)||[_0xf7d449(0x366),'TINYINT',_0xf7d449(0x29b),_0xf7d449(0x314),_0xf7d449(0x3f2)]['includes'](_0x1d2030);}['getApplicableOperators'](_0x1bc095){const _0x539bdf=a0_0x136ce7,_0x21b5c7=_0x1bc095[_0x539bdf(0x2a5)](),_0x5717c3=[];if([_0x539bdf(0x30e),_0x539bdf(0x2da),_0x539bdf(0x15b),_0x539bdf(0x202)][_0x539bdf(0x26a)](_0x21b5c7)||[_0x539bdf(0x366),'TINYINT',_0x539bdf(0x29b),_0x539bdf(0x314),_0x539bdf(0x3f2)][_0x539bdf(0x26a)](_0x21b5c7))_0x5717c3[_0x539bdf(0x37c)](_0x539bdf(0x321),_0x539bdf(0x2b3),_0x539bdf(0x373),_0x539bdf(0x340),_0x539bdf(0x14a),_0x539bdf(0x2c4),_0x539bdf(0x372));else{if([_0x539bdf(0x176),_0x539bdf(0x252),_0x539bdf(0x1fe)]['includes'](_0x21b5c7)||['CHAR',_0x539bdf(0x199)][_0x539bdf(0x26a)](_0x21b5c7))_0x5717c3[_0x539bdf(0x37c)](_0x539bdf(0x321),_0x539bdf(0x2b3),_0x539bdf(0x372),_0x539bdf(0x33d),'$startWith',_0x539bdf(0x2c0));else{if(['DATE',_0x539bdf(0x1ba),_0x539bdf(0x217)][_0x539bdf(0x26a)](_0x21b5c7)||[_0x539bdf(0x3be)][_0x539bdf(0x26a)](_0x21b5c7))_0x5717c3['push']('$eq',_0x539bdf(0x2b3),'$gte',_0x539bdf(0x340),'$gteq',_0x539bdf(0x2c4));else[_0x539bdf(0x187),_0x539bdf(0x178),_0x539bdf(0x210)][_0x539bdf(0x26a)](_0x21b5c7)?_0x5717c3['push'](_0x539bdf(0x321),_0x539bdf(0x2b3)):_0x5717c3['push'](_0x539bdf(0x321),_0x539bdf(0x2b3));}}return _0x5717c3;}['selectBestOperator'](_0x12b063,_0x79f754){const _0x3e31ea=a0_0x136ce7,_0x4d1b9c=_0x12b063['getDbTypeForOperation']();if([_0x3e31ea(0x30e),_0x3e31ea(0x2da),'BIGINT',_0x3e31ea(0x202)][_0x3e31ea(0x26a)](_0x4d1b9c)||[_0x3e31ea(0x366),_0x3e31ea(0x3da),_0x3e31ea(0x29b),_0x3e31ea(0x314),_0x3e31ea(0x3f2)][_0x3e31ea(0x26a)](_0x4d1b9c))return _0x79f754[_0x3e31ea(0x26a)](_0x3e31ea(0x373))?'$gte':'$eq';if([_0x3e31ea(0x176),_0x3e31ea(0x252),_0x3e31ea(0x1fe)][_0x3e31ea(0x26a)](_0x4d1b9c)||[_0x3e31ea(0x351),_0x3e31ea(0x199)][_0x3e31ea(0x26a)](_0x4d1b9c))return _0x79f754[_0x3e31ea(0x26a)](_0x3e31ea(0x33d))?_0x3e31ea(0x33d):_0x3e31ea(0x321);if([_0x3e31ea(0x144),_0x3e31ea(0x1ba),_0x3e31ea(0x217),_0x3e31ea(0x3be)][_0x3e31ea(0x26a)](_0x4d1b9c))return _0x79f754['includes']('$gte')?_0x3e31ea(0x373):'$eq';return'$eq';}[a0_0x136ce7(0x265)](_0x310871,_0x3ffa8f){const _0x5afb4e=a0_0x136ce7,_0x17395e=_0x310871[_0x5afb4e(0x2a5)](),_0x3e9dd3=_0x310871[_0x5afb4e(0x215)]();if(_0x3e9dd3&&_0x3e9dd3[_0x5afb4e(0x356)]>0x0){if(_0x3ffa8f===_0x5afb4e(0x372))return _0x3e9dd3[_0x5afb4e(0x3ee)](0x0,0x2)[_0x5afb4e(0x3cd)](_0x2c274f=>_0x2c274f[_0x5afb4e(0x244)]);return _0x3e9dd3[0x0][_0x5afb4e(0x244)];}if(['NUMBER',_0x5afb4e(0x2da),_0x5afb4e(0x15b),'DECIMAL'][_0x5afb4e(0x26a)](_0x17395e)||['INT','TINYINT',_0x5afb4e(0x29b),'DOUBLE',_0x5afb4e(0x3f2)][_0x5afb4e(0x26a)](_0x17395e)){if(_0x3ffa8f===_0x5afb4e(0x372))return[0x1,0x2,0x3];if(_0x3ffa8f===_0x5afb4e(0x373)||_0x3ffa8f===_0x5afb4e(0x14a))return 0x0;if(_0x3ffa8f===_0x5afb4e(0x340)||_0x3ffa8f===_0x5afb4e(0x2c4))return 0x64;return 0x1;}if([_0x5afb4e(0x176),_0x5afb4e(0x252),_0x5afb4e(0x1fe)][_0x5afb4e(0x26a)](_0x17395e)||[_0x5afb4e(0x351),_0x5afb4e(0x199)][_0x5afb4e(0x26a)](_0x17395e)){if(_0x3ffa8f===_0x5afb4e(0x372))return[_0x5afb4e(0x195),'value2'];if(_0x3ffa8f==='$contain')return _0x5afb4e(0x375);if(_0x3ffa8f===_0x5afb4e(0x236))return _0x5afb4e(0x259);if(_0x3ffa8f==='$endWith')return _0x5afb4e(0x1d5);return _0x5afb4e(0x244);}if([_0x5afb4e(0x144),_0x5afb4e(0x1ba),'TIMESTAMP',_0x5afb4e(0x3be)]['includes'](_0x17395e)){if(_0x3ffa8f==='$gte'||_0x3ffa8f===_0x5afb4e(0x14a))return _0x5afb4e(0x1cf);if(_0x3ffa8f===_0x5afb4e(0x340)||_0x3ffa8f===_0x5afb4e(0x2c4))return _0x5afb4e(0x165);return _0x5afb4e(0x1cf);}if([_0x5afb4e(0x187),_0x5afb4e(0x178),_0x5afb4e(0x210)]['includes'](_0x17395e))return!![];return _0x3ffa8f===_0x5afb4e(0x372)?['value1',_0x5afb4e(0x382)]:_0x5afb4e(0x244);}[a0_0x136ce7(0x1b0)](){const _0x1aa145=a0_0x136ce7,_0x20c217=this[_0x1aa145(0x223)](),_0x2c25e6=Object[_0x1aa145(0x225)](_0x20c217)[_0x1aa145(0x394)](([_0x3c8716])=>_0x3c8716!==_0x1aa145(0x2c2)&&_0x3c8716!==_0x1aa145(0x1e5))['map'](([_0x1283e8,_0x47ded5])=>{const _0x2672d2=_0x1aa145,_0x3ed516=_0x47ded5,_0x4d97f3={};return _0x4d97f3[_0x2672d2(0x16a)]=_0x1283e8,_0x4d97f3['type']=_0x3ed516[_0x2672d2(0x359)]||_0x2672d2(0x2d4),_0x4d97f3['description']=_0x3ed516[_0x2672d2(0x350)]||'-',_0x4d97f3[_0x2672d2(0x212)]=_0x3ed516[_0x2672d2(0x212)],_0x4d97f3;}),_0x32cbf6={};return _0x32cbf6['description']=_0x1aa145(0x2ab),_0x32cbf6[_0x1aa145(0x3cb)]=_0x2c25e6,_0x32cbf6;}[a0_0x136ce7(0x1c3)](){const _0x357f10=a0_0x136ce7,_0x50d945=this[_0x357f10(0x22f)]()[_0x357f10(0x30c)],_0x3fc69f=[{}],_0x593fd7=[];_0x50d945?.[_0x357f10(0x292)](_0x55d2f8=>{const _0x353c89=_0x357f10,_0x504a17={};_0x504a17[_0x353c89(0x3e2)]=_0x55d2f8[_0x353c89(0x18d)],_0x504a17[_0x353c89(0x1e6)]=_0x55d2f8[_0x353c89(0x18d)],_0x593fd7[_0x353c89(0x37c)](_0x504a17),_0x3fc69f[0x0][_0x55d2f8[_0x353c89(0x18d)]]=_0x55d2f8['type']===_0x353c89(0x311)?0x64:Math[_0x353c89(0x2bd)](Math[_0x353c89(0x34b)]()*0x64*0x64)/0x64;});const _0x3fdc10={};_0x3fdc10['pageSize']=0x1,_0x3fdc10[_0x357f10(0x39c)]=0x64,_0x3fdc10[_0x357f10(0x2c2)]=0x1;const _0x2f5690={};_0x2f5690[_0x357f10(0x258)]=_0x3fdc10,_0x2f5690['tableData']=_0x3fc69f,_0x2f5690['tableColumns']=_0x593fd7;const _0x4f09c7={};return _0x4f09c7[_0x357f10(0x34f)]=!![],_0x4f09c7[_0x357f10(0x2f5)]='',_0x4f09c7[_0x357f10(0x2b2)]='',_0x4f09c7[_0x357f10(0x224)]='0000',_0x4f09c7[_0x357f10(0x20e)]=_0x2f5690,_0x4f09c7[_0x357f10(0x3cb)]=null,_0x4f09c7;}}class OperationFactory{[a0_0x136ce7(0x303)](_0x2007eb,_0x58ac0f,_0xbd95b6){const _0x3fe199=a0_0x136ce7;switch(_0x2007eb){case _0x3fe199(0x343):return new GetSelectOptionsOperation(_0x2007eb,_0x58ac0f,_0xbd95b6);case _0x3fe199(0x193):return new GetListOperation(_0x2007eb,_0x58ac0f,_0xbd95b6);case _0x3fe199(0x394):return new FilterOperation(_0x2007eb,_0x58ac0f,_0xbd95b6);case _0x3fe199(0x20c):return new ExcelExportOperation(_0x2007eb,_0x58ac0f,_0xbd95b6);case _0x3fe199(0x19a):return new UpdateOperation(_0x2007eb,_0x58ac0f,_0xbd95b6);case'aggregate':return new AggregateOperation(_0x2007eb,_0x58ac0f,_0xbd95b6);default:return new GenericOperation(_0x2007eb,_0x58ac0f,_0xbd95b6);}}[a0_0x136ce7(0x349)](_0xc8aeef,_0x3fc917){const _0x38e265=a0_0x136ce7,_0x4bfce9=new Map();return Object[_0x38e265(0x225)](_0xc8aeef)[_0x38e265(0x292)](([_0x5abe61,_0x53f053])=>{const _0xbf923f=_0x38e265;_0x4bfce9[_0xbf923f(0x31d)](_0x5abe61,this[_0xbf923f(0x303)](_0x5abe61,_0x53f053,_0x3fc917));}),_0x4bfce9;}}class OperationList{['_operations'];constructor(_0x2b8117,_0x456a0f){const _0x309e65=a0_0x136ce7,_0x39e75d=new OperationFactory();this[_0x309e65(0x2f7)]=_0x39e75d[_0x309e65(0x349)](_0x2b8117,_0x456a0f);}['get'](_0x3c5acc){const _0x471d41=a0_0x136ce7;return this[_0x471d41(0x2f7)][_0x471d41(0x2bf)](_0x3c5acc);}[a0_0x136ce7(0x3cf)](_0x2fa98f){const _0x270e5c=a0_0x136ce7;return this['_operations'][_0x270e5c(0x3cf)](_0x2fa98f);}[a0_0x136ce7(0x307)](){const _0x38d774=a0_0x136ce7;return this['_operations'][_0x38d774(0x307)];}[a0_0x136ce7(0x171)](){const _0x5d2959=a0_0x136ce7;return Array[_0x5d2959(0x26d)](this['_operations']['keys']());}[a0_0x136ce7(0x194)](){const _0x1ed8e7=a0_0x136ce7,_0x19830e=Array[_0x1ed8e7(0x26d)](this[_0x1ed8e7(0x2f7)][_0x1ed8e7(0x16c)]());return this[_0x1ed8e7(0x20a)](_0x19830e);}[a0_0x136ce7(0x3d5)](){const _0xe4a2f2=a0_0x136ce7;return this['toArray']()[_0xe4a2f2(0x394)](_0x491e39=>_0x491e39[_0xe4a2f2(0x2d0)]());}[a0_0x136ce7(0x2f8)](){const _0x3ffbd8=a0_0x136ce7;return this[_0x3ffbd8(0x194)]()[_0x3ffbd8(0x394)](_0x1cf29b=>!_0x1cf29b[_0x3ffbd8(0x2d0)]());}[a0_0x136ce7(0x180)](){const _0x23cadd=a0_0x136ce7;return this[_0x23cadd(0x3d5)]()[_0x23cadd(0x3cd)](_0x212c14=>_0x212c14['getName']());}[a0_0x136ce7(0x174)](){const _0x226b15=a0_0x136ce7;return this['getDisabled']()[_0x226b15(0x3cd)](_0x49db90=>_0x49db90['getName']());}[a0_0x136ce7(0x155)](_0x176fb4){const _0x3aca12=a0_0x136ce7;return this['toArray']()[_0x3aca12(0x394)](_0xa69596=>_0xa69596[_0x3aca12(0x286)]()===_0x176fb4);}[a0_0x136ce7(0x394)](_0x1f665c){const _0x36b4f6=a0_0x136ce7;return this[_0x36b4f6(0x194)]()[_0x36b4f6(0x394)](_0x1f665c);}[a0_0x136ce7(0x377)](_0x4ac775={}){const _0x3f0b9f=a0_0x136ce7;let _0x5f2068=this[_0x3f0b9f(0x194)]();!_0x4ac775['includeDisabled']&&(_0x5f2068=_0x5f2068[_0x3f0b9f(0x394)](_0x4a9010=>_0x4a9010[_0x3f0b9f(0x2d0)]()));if(_0x4ac775['filterBlacklist']!==![]){const _0x30a2c9=_0x5f2068[_0x3f0b9f(0x3cd)](_0x2e5654=>({'name':_0x2e5654[_0x3f0b9f(0x39b)](),'operation':_0x2e5654})),_0x3a0fe6=filterApiOperations(_0x30a2c9);_0x5f2068=_0x3a0fe6[_0x3f0b9f(0x3cd)](_0x3df105=>_0x3df105[_0x3f0b9f(0x167)]),_0x5f2068=this[_0x3f0b9f(0x20a)](_0x5f2068);}return _0x4ac775['customFilter']&&(_0x5f2068=_0x5f2068['filter'](_0x4ac775['customFilter'])),_0x5f2068;}[a0_0x136ce7(0x20a)](_0x13133c){const _0x51b0e6=a0_0x136ce7,_0x311a71=_0x13133c[_0x51b0e6(0x320)](_0x2f3bca=>_0x2f3bca[_0x51b0e6(0x39b)]()===_0x51b0e6(0x394)),_0x324e09=_0x13133c[_0x51b0e6(0x394)](_0x2d3e58=>_0x2d3e58['getName']()!==_0x51b0e6(0x394));return _0x311a71?[_0x311a71,..._0x324e09]:_0x324e09;}[a0_0x136ce7(0x16d)](){const _0x3d354d=a0_0x136ce7,_0x271efd=this[_0x3d354d(0x3d5)]();return{'total':this[_0x3d354d(0x307)](),'enabled':_0x271efd[_0x3d354d(0x356)],'disabled':this['size']()-_0x271efd['length'],'byType':this[_0x3d354d(0x3c0)](_0x271efd),'byMethod':this[_0x3d354d(0x149)](_0x271efd)};}[a0_0x136ce7(0x3c0)](_0x564ee2){const _0x15a462=a0_0x136ce7,_0x533f9d={};return _0x564ee2[_0x15a462(0x292)](_0x343cda=>{const _0xb4db6a=_0x343cda['getType']();_0xb4db6a&&(_0x533f9d[_0xb4db6a]=(_0x533f9d[_0xb4db6a]||0x0)+0x1);}),_0x533f9d;}[a0_0x136ce7(0x149)](_0x2345d6){const _0x4c2eea=a0_0x136ce7,_0x4fa6dd={};return _0x2345d6[_0x4c2eea(0x292)](_0x59575e=>{const _0xc4a4bc=_0x59575e['getMethod']();_0xc4a4bc&&(_0x4fa6dd[_0xc4a4bc]=(_0x4fa6dd[_0xc4a4bc]||0x0)+0x1);}),_0x4fa6dd;}[Symbol[a0_0x136ce7(0x24d)]](){const _0x31f582=a0_0x136ce7;return this[_0x31f582(0x2f7)]['values']();}['toString'](){const _0x4b8612=a0_0x136ce7,_0x169006=this['getStats']();return _0x4b8612(0x323)+_0x169006[_0x4b8612(0x1fa)]+'/'+_0x169006['total']+_0x4b8612(0x256);}}class DBConfig{[a0_0x136ce7(0x312)];[a0_0x136ce7(0x333)];[a0_0x136ce7(0x374)];[a0_0x136ce7(0x353)];['dbVersion'];['tableName'];[a0_0x136ce7(0x203)];['pkField'];constructor(_0x165939,_0x55fe2c){const _0x1b8e89=a0_0x136ce7;this[_0x1b8e89(0x312)]=_0x55fe2c,this[_0x1b8e89(0x333)]=_0x165939[_0x1b8e89(0x333)],this[_0x1b8e89(0x374)]=_0x165939[_0x1b8e89(0x374)],this[_0x1b8e89(0x353)]=_0x165939['dbType'],this[_0x1b8e89(0x2c7)]=_0x165939[_0x1b8e89(0x2c7)],this[_0x1b8e89(0x39a)]=_0x165939[_0x1b8e89(0x39a)],this[_0x1b8e89(0x203)]=_0x165939[_0x1b8e89(0x203)],this[_0x1b8e89(0x21e)]=_0x165939[_0x1b8e89(0x21e)];}[a0_0x136ce7(0x2c6)](){const _0x3b378d=a0_0x136ce7;return this[_0x3b378d(0x312)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x136ce7(0x2ed)];['_fieldList'];[a0_0x136ce7(0x34d)];constructor(_0x33febe){const _0x4beba5=a0_0x136ce7,_0x4d9881={..._0x33febe};_0x4d9881['id']=_0x33febe[_0x4beba5(0x3aa)]||_0x33febe['id'],_0x4d9881['datasetCode']=_0x33febe[_0x4beba5(0x1b1)]||_0x33febe['datasetCode']||_0x33febe[_0x4beba5(0x14e)],super(_0x4d9881);}[a0_0x136ce7(0x1cd)](){return;}[a0_0x136ce7(0x2f3)](){return[];}['getIndexes'](){return[];}get[a0_0x136ce7(0x301)](){const _0x44f204=a0_0x136ce7;return this[_0x44f204(0x227)]();}[a0_0x136ce7(0x271)](){const _0x2a1e2d=a0_0x136ce7;if(!this[_0x2a1e2d(0x219)]){const _0x114a38=this[_0x2a1e2d(0x1c4)]();throw new Error(_0x2a1e2d(0x367));}return this[_0x2a1e2d(0x219)];}['getFieldListWithDeleted'](){const _0x3be0e3=a0_0x136ce7;if(!this[_0x3be0e3(0x34d)]){const _0x4e7b77=this[_0x3be0e3(0x1c4)]();throw new Error(_0x3be0e3(0x241));}return this[_0x3be0e3(0x34d)];}[a0_0x136ce7(0x1de)](){return[];}[a0_0x136ce7(0x37b)](){const _0x38ae5b=a0_0x136ce7,_0x48ec63=this[_0x38ae5b(0x1c4)]();return _0x48ec63[_0x38ae5b(0x15e)];}[a0_0x136ce7(0x21b)](){const _0x3e225e=a0_0x136ce7;return this[_0x3e225e(0x1de)]()['length'];}[a0_0x136ce7(0x168)](_0x46751b){const _0x212457=a0_0x136ce7,_0x5cab4a=this[_0x212457(0x385)](_0x46751b);return _0x5cab4a?_0x5cab4a[_0x212457(0x312)]:undefined;}[a0_0x136ce7(0x392)](_0x1936e9){return;}[a0_0x136ce7(0x387)](_0x582823){const _0x13c9fd=a0_0x136ce7;if(!_0x582823||typeof _0x582823!==_0x13c9fd(0x253))return!![]&&console[_0x13c9fd(0x3a4)]('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0x582823),{};if(_0x13c9fd(0x21e)in _0x582823){const _0x2e9bbe=_0x582823;return{'primaryKey':_0x2e9bbe[_0x13c9fd(0x21e)],'required':_0x2e9bbe['required'],'systemRetain':Boolean(_0x2e9bbe[_0x13c9fd(0x17f)]),'autoIncrement':_0x2e9bbe[_0x13c9fd(0x327)]??undefined};}if(!(_0x13c9fd(0x309)in _0x582823)||!_0x582823['extend'])return{};try{const _0x317662=typeof _0x582823[_0x13c9fd(0x309)]===_0x13c9fd(0x14f)?JSON[_0x13c9fd(0x300)](_0x582823[_0x13c9fd(0x309)]):_0x582823[_0x13c9fd(0x309)];if(typeof _0x317662!=='object'||_0x317662===null)return{};return _0x317662;}catch{return{};}}[a0_0x136ce7(0x153)](){const _0x474b27=a0_0x136ce7;if(!this[_0x474b27(0x2ed)]){const _0x2204b5=this[_0x474b27(0x234)](this['getOperationsData']()||{});this['_operationList']=new OperationList(_0x2204b5,{'fields':this['getFieldList']()[_0x474b27(0x2fa)](),'pkField':this['_raw'][_0x474b27(0x16b)]?.['pkField'],'dbtableConfig':this[_0x474b27(0x15d)][_0x474b27(0x16b)]||null});}return this[_0x474b27(0x2ed)];}[a0_0x136ce7(0x234)](_0x2009d6){const _0x4b75d6=a0_0x136ce7;if(_0x2009d6[_0x4b75d6(0x394)]!==undefined)return _0x2009d6;return{..._0x2009d6,'filter':this[_0x4b75d6(0x188)]()};}[a0_0x136ce7(0x188)](){const _0x47180b=a0_0x136ce7,_0x5d4f58=this['getOperationsData']()?.[_0x47180b(0x193)];let _0x2fdafe=_0x5d4f58?.[_0x47180b(0x191)],_0x39ec9b='';if(!_0x2fdafe&&this['getOperationsData']()){const _0x11ffd7=Object[_0x47180b(0x16c)](this['getOperationsData']());for(const _0x577345 of _0x11ffd7){if(_0x577345&&typeof _0x577345===_0x47180b(0x253)&&_0x47180b(0x191)in _0x577345){_0x2fdafe=_0x577345[_0x47180b(0x191)];break;}}}if(_0x5d4f58?.[_0x47180b(0x235)]){const _0x585187=_0x5d4f58[_0x47180b(0x235)],_0x520891=_0x585187[_0x47180b(0x39e)]('/');_0x520891!==-0x1&&(_0x39ec9b=_0x585187['substring'](0x0,_0x520891));}const _0xe326d2={};_0xe326d2['name']=_0x47180b(0x1f2),_0xe326d2['type']=_0x47180b(0x253),_0xe326d2[_0x47180b(0x212)]=![];const _0x40451d={};_0x40451d[_0x47180b(0x16a)]='select',_0x40451d[_0x47180b(0x359)]=_0x47180b(0x2ea),_0x40451d[_0x47180b(0x212)]=![];const _0x6a0e44={};_0x6a0e44[_0x47180b(0x16a)]=_0x47180b(0x213),_0x6a0e44[_0x47180b(0x359)]=_0x47180b(0x2ea),_0x6a0e44['required']=![];const _0x2d46f8={};_0x2d46f8[_0x47180b(0x16a)]=_0x47180b(0x2c2),_0x2d46f8[_0x47180b(0x359)]=_0x47180b(0x29d),_0x2d46f8[_0x47180b(0x212)]=![],_0x2d46f8[_0x47180b(0x335)]=0x1;const _0x2a8ee0={};_0x2a8ee0[_0x47180b(0x16a)]='pageSize',_0x2a8ee0[_0x47180b(0x359)]='number',_0x2a8ee0['required']=![],_0x2a8ee0[_0x47180b(0x335)]=0xa;const _0x442d64={};return _0x442d64[_0x47180b(0x16a)]=_0x47180b(0x394),_0x442d64[_0x47180b(0x359)]=_0x47180b(0x2de),_0x442d64[_0x47180b(0x350)]=_0x47180b(0x355),_0x442d64['method']='POST',_0x442d64[_0x47180b(0x191)]=_0x2fdafe,_0x442d64[_0x47180b(0x235)]=_0x39ec9b?_0x39ec9b+_0x47180b(0x3c6):_0x47180b(0x3c6),_0x442d64[_0x47180b(0x3cb)]=_0x5d4f58?.[_0x47180b(0x3cb)]||[_0xe326d2,_0x40451d,_0x6a0e44,_0x2d46f8,_0x2a8ee0],_0x442d64[_0x47180b(0x30b)]=!![],_0x442d64;}['getOperations'](){const _0x586a6b=a0_0x136ce7;return this[_0x586a6b(0x153)]()['toArray']();}['getOperationCount'](){const _0x31e4f8=a0_0x136ce7;return this['getOperationList']()[_0x31e4f8(0x307)]();}[a0_0x136ce7(0x3e8)](_0x1c8ccd){const _0x22d888=a0_0x136ce7;if(typeof _0x1c8ccd!=='string'){!![]&&console['warn'](_0x22d888(0x395),_0x1c8ccd);return;}return this[_0x22d888(0x153)]()[_0x22d888(0x2bf)](_0x1c8ccd);}[a0_0x136ce7(0x31b)](_0x14c22c){const _0x4964c5=a0_0x136ce7;if(typeof _0x14c22c!=='string')return![];return this[_0x4964c5(0x153)]()[_0x4964c5(0x3cf)](_0x14c22c);}['isOperationEnabled'](_0x3d65b8){const _0x40c6ea=a0_0x136ce7;if(typeof _0x3d65b8!=='string')return![];const _0x38ac9a=this[_0x40c6ea(0x3e8)](_0x3d65b8);return _0x38ac9a?.['isEnabled']()||![];}[a0_0x136ce7(0x27b)](){const _0x237300=a0_0x136ce7;return this[_0x237300(0x153)]()[_0x237300(0x180)]();}['getDisabledOperations'](){return this['getOperationList']()['getDisabledNames']();}[a0_0x136ce7(0x3a2)](){const _0x27c131=a0_0x136ce7;return this['getOperationList']()[_0x27c131(0x3d5)]();}[a0_0x136ce7(0x302)](){const _0x19c282=a0_0x136ce7;return this[_0x19c282(0x153)]()[_0x19c282(0x2f8)]();}[a0_0x136ce7(0x16d)](){const _0x456ebf=a0_0x136ce7;return{'fieldCount':this[_0x456ebf(0x21b)](),'systemFieldCount':this['getSystemFields']()[_0x456ebf(0x356)],'businessFieldCount':this[_0x456ebf(0x197)]()[_0x456ebf(0x356)],'requiredFieldCount':this[_0x456ebf(0x1ac)]()[_0x456ebf(0x356)],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this[_0x456ebf(0x31f)](),'enabledOperationCount':this[_0x456ebf(0x27b)]()[_0x456ebf(0x356)]};}['getFieldCode'](_0x5116fa){const _0x3311c3=a0_0x136ce7;if(!_0x5116fa||typeof _0x5116fa!==_0x3311c3(0x253))return'';if(_0x3311c3(0x14e)in _0x5116fa&&typeof _0x5116fa[_0x3311c3(0x14e)]==='string')return _0x5116fa[_0x3311c3(0x14e)];if(_0x3311c3(0x16a)in _0x5116fa&&typeof _0x5116fa[_0x3311c3(0x16a)]===_0x3311c3(0x14f))return _0x5116fa[_0x3311c3(0x16a)];return'';}[a0_0x136ce7(0x346)](_0x573977){const _0xc726f6=a0_0x136ce7;return this[_0xc726f6(0x271)]()[_0xc726f6(0x3cf)](_0x573977);}[a0_0x136ce7(0x3e5)](_0x24eb6f){const _0x2d1b93=a0_0x136ce7;if(!_0x24eb6f||typeof _0x24eb6f!==_0x2d1b93(0x253))return![];const _0x5350fe=this['getFieldCode'](_0x24eb6f),_0x39e584=this[_0x2d1b93(0x385)](_0x5350fe);return _0x39e584?_0x39e584[_0x2d1b93(0x348)]():![];}[a0_0x136ce7(0x28b)](_0x370338){const _0x16b573=a0_0x136ce7;if(!_0x370338||typeof _0x370338!==_0x16b573(0x253))return![];const _0x3afe3d=this[_0x16b573(0x34c)](_0x370338),_0x18f49a=this[_0x16b573(0x385)](_0x3afe3d);return _0x18f49a?_0x18f49a[_0x16b573(0x1aa)]():![];}[a0_0x136ce7(0x316)](_0x227098){const _0x1c1de5=a0_0x136ce7;if(!_0x227098||typeof _0x227098!==_0x1c1de5(0x253))return![];const _0x5af49a=this['getFieldCode'](_0x227098),_0x36f245=this['getFieldInstance'](_0x5af49a);return _0x36f245?_0x36f245[_0x1c1de5(0x2ac)]():![];}[a0_0x136ce7(0x34e)](_0x59fd59){const _0x60ab97=a0_0x136ce7;if(!_0x59fd59||typeof _0x59fd59!=='object')return![];const _0x129a78=this[_0x60ab97(0x34c)](_0x59fd59),_0x3cea7b=this[_0x60ab97(0x385)](_0x129a78);return _0x3cea7b?_0x3cea7b[_0x60ab97(0x1cc)]():![];}[a0_0x136ce7(0x255)](_0x2b225e){const _0x521d32=a0_0x136ce7;if(!_0x2b225e||typeof _0x2b225e!==_0x521d32(0x253))return![];const _0x2a3ac1=this[_0x521d32(0x34c)](_0x2b225e),_0x34d4be=this[_0x521d32(0x385)](_0x2a3ac1);return _0x34d4be?_0x34d4be[_0x521d32(0x3f1)]():![];}[a0_0x136ce7(0x1b2)](_0x2f0008){const _0x10699b=a0_0x136ce7;if(!_0x2f0008||typeof _0x2f0008!==_0x10699b(0x253))return[];const _0x108713=this[_0x10699b(0x34c)](_0x2f0008),_0x30058a=this[_0x10699b(0x385)](_0x108713);if(!_0x30058a||!_0x30058a[_0x10699b(0x1cc)]())return[];return _0x30058a[_0x10699b(0x215)]()||[];}[a0_0x136ce7(0x345)](_0x482f10){const _0x297220=a0_0x136ce7;if(!_0x482f10||typeof _0x482f10!==_0x297220(0x253))return;const _0x211038=this[_0x297220(0x34c)](_0x482f10),_0x2fd956=this[_0x297220(0x385)](_0x211038);if(!_0x2fd956||!_0x2fd956[_0x297220(0x1cc)]())return;return _0x2fd956[_0x297220(0x360)]();}[a0_0x136ce7(0x198)](_0x56b5a0){const _0x14fc05=a0_0x136ce7;if(!_0x56b5a0||typeof _0x56b5a0!==_0x14fc05(0x253))return;const _0x776f55=this['getFieldCode'](_0x56b5a0),_0xc494ca=this[_0x14fc05(0x385)](_0x776f55);if(!_0xc494ca||!_0xc494ca[_0x14fc05(0x1cc)]())return;return _0xc494ca[_0x14fc05(0x3c7)]();}[a0_0x136ce7(0x32a)](){const _0x1a1dfd=a0_0x136ce7;return this[_0x1a1dfd(0x271)]()[_0x1a1dfd(0x1f9)]()[_0x1a1dfd(0x3cd)](_0x1c1ec4=>_0x1c1ec4[_0x1a1dfd(0x312)]);}[a0_0x136ce7(0x2c3)](){const _0x288e37=a0_0x136ce7;return this[_0x288e37(0x271)]()[_0x288e37(0x398)]()['map'](_0x24558d=>_0x24558d[_0x288e37(0x312)]);}[a0_0x136ce7(0x197)](){const _0x39bb2f=a0_0x136ce7;return this[_0x39bb2f(0x271)]()['getBusiness']()['map'](_0x4e284=>_0x4e284['raw']);}['getRequiredFields'](){const _0x525a4c=a0_0x136ce7;return this[_0x525a4c(0x271)]()[_0x525a4c(0x3af)]()[_0x525a4c(0x3cd)](_0x4f6dfd=>_0x4f6dfd['raw']);}[a0_0x136ce7(0x274)](){const _0x560865=a0_0x136ce7,_0x52853d=this['getFieldList']()['groupByType'](),_0x5eb218={};for(const [_0x4a31fd,_0x2e4514]of Object[_0x560865(0x225)](_0x52853d)){_0x5eb218[_0x4a31fd]=_0x2e4514[_0x560865(0x3cd)](_0x813ec0=>_0x813ec0['raw']);}return _0x5eb218;}[a0_0x136ce7(0x2a2)](){const _0x13206f=a0_0x136ce7;return this[_0x13206f(0x271)]()[_0x13206f(0x25a)]()[_0x13206f(0x3cd)](_0x598d85=>_0x598d85[_0x13206f(0x312)]);}[a0_0x136ce7(0x1ad)](){const _0x44fbd6=a0_0x136ce7,_0x3f2a32={};return this[_0x44fbd6(0x2a2)]()[_0x44fbd6(0x292)](_0x275066=>{const _0x5162bb=_0x44fbd6,_0x251ade=this[_0x5162bb(0x198)](_0x275066);if(_0x251ade){const _0x5dcd51=this[_0x5162bb(0x34c)](_0x275066);_0x3f2a32[_0x5dcd51]=_0x251ade;}}),_0x3f2a32;}[a0_0x136ce7(0x3d3)](_0x632fa5,_0x328d35){const _0x45f8fd=a0_0x136ce7,_0x4a073d=this[_0x45f8fd(0x198)](_0x632fa5);if(!_0x4a073d)return!![];if(_0x4a073d['selectItemsSource']&&!_0x4a073d['options'])return!![];const _0x1d2fa9=this[_0x45f8fd(0x34c)](_0x632fa5),_0x248852=this[_0x45f8fd(0x385)](_0x1d2fa9),_0x51e269=_0x248852?_0x248852[_0x45f8fd(0x3f1)]():![];if(_0x51e269&&Array[_0x45f8fd(0x1c2)](_0x328d35))return _0x328d35[_0x45f8fd(0x2f9)](_0x32f576=>_0x4a073d[_0x45f8fd(0x16c)][_0x45f8fd(0x26a)](_0x32f576));return _0x4a073d[_0x45f8fd(0x16c)][_0x45f8fd(0x26a)](_0x328d35);}[a0_0x136ce7(0x34a)](){const _0x48858b=a0_0x136ce7;return new DatasetItem({'id':this['id'],'name':this[_0x48858b(0x16a)],'datasetCode':this[_0x48858b(0x2e7)],'dbtableConfig':this[_0x48858b(0x35d)]()});}[a0_0x136ce7(0x326)](){const _0x2867e8=a0_0x136ce7;return _0x2867e8(0x147)+this[_0x2867e8(0x16a)]+',\x20'+this[_0x2867e8(0x2e7)]+',\x20'+this[_0x2867e8(0x21b)]()+_0x2867e8(0x25d)+this[_0x2867e8(0x31f)]()+'\x20operations,\x20'+this[_0x2867e8(0x1f6)]()+')';}[a0_0x136ce7(0x29e)](){const _0x522aa2=a0_0x136ce7;return this[_0x522aa2(0x1c6)](_0x522aa2(0x394));}[a0_0x136ce7(0x332)](_0x1d7702){return this['getOperationFieldOperators']('filter',_0x1d7702);}['getFieldsFilterOperatorsMap'](){const _0x8359c5=a0_0x136ce7;return this[_0x8359c5(0x205)](_0x8359c5(0x394));}[a0_0x136ce7(0x1c6)](_0x548322){const _0x824833=a0_0x136ce7,_0x251fe5=this[_0x824833(0x3e8)](_0x548322);return _0x251fe5?_0x251fe5[_0x824833(0x1fc)]():[];}[a0_0x136ce7(0x2f6)](_0x237b10,_0x1f0410){const _0x4aa3fc=a0_0x136ce7,_0x5b1e8e=this[_0x4aa3fc(0x3e8)](_0x237b10);return _0x5b1e8e?_0x5b1e8e['getFieldOperators'](_0x1f0410):[];}[a0_0x136ce7(0x205)](_0x33abf7){const _0x7dae0c=a0_0x136ce7,_0x23d4d9={};return this[_0x7dae0c(0x271)]()[_0x7dae0c(0x292)](_0x3b2bed=>{const _0x19a05e=_0x7dae0c,_0xe5d1f5=this[_0x19a05e(0x2f6)](_0x33abf7,_0x3b2bed['code']);_0xe5d1f5[_0x19a05e(0x356)]>0x0&&(_0x23d4d9[_0x3b2bed[_0x19a05e(0x14e)]]=_0xe5d1f5);}),_0x23d4d9;}[a0_0x136ce7(0x18a)](_0x36510e,_0x59c3f3,_0xdac0e1){const _0x5064d5=a0_0x136ce7,_0x1ae874=this[_0x5064d5(0x2f6)](_0x36510e,_0x59c3f3);return _0x1ae874[_0x5064d5(0x26a)](_0xdac0e1);}}class FieldBase{get['dbType'](){return;}get[a0_0x136ce7(0x146)](){return;}get[a0_0x136ce7(0x30a)](){return;}get[a0_0x136ce7(0x297)](){return;}['isBusiness'](){const _0x6f088a=a0_0x136ce7;return!this[_0x6f088a(0x1aa)]();}[a0_0x136ce7(0x228)](){const _0x491c4f=a0_0x136ce7;return this[_0x491c4f(0x1db)];}[a0_0x136ce7(0x1cc)](){const _0x47c201=a0_0x136ce7,_0x4b6ecd=[_0x47c201(0x1ee),_0x47c201(0x3b3),'CHECKBOX'];return _0x4b6ecd['includes'](this[_0x47c201(0x359)]);}[a0_0x136ce7(0x3f1)](){const _0x5dbf78=a0_0x136ce7;return this[_0x5dbf78(0x359)]===_0x5dbf78(0x347);}[a0_0x136ce7(0x279)](){const _0x42e46a=a0_0x136ce7,_0x2eb52e=this[_0x42e46a(0x3c7)]();return _0x2eb52e?.[_0x42e46a(0x16c)]||[];}[a0_0x136ce7(0x3c7)](){const _0x3f3ddb=a0_0x136ce7;if(!this[_0x3f3ddb(0x1cc)]())return;const _0x1ce9db=this['getEnumOptions'](),_0xec8af7=this[_0x3f3ddb(0x360)](),_0x138b49=[],_0x303910={},_0x1030ee=_0x366140=>{_0x366140['forEach'](_0x4888e5=>{const _0x3a63c1=a0_0x9109;_0x138b49[_0x3a63c1(0x37c)](_0x4888e5[_0x3a63c1(0x244)]),_0x303910[String(_0x4888e5['value'])]=_0x4888e5['label'],_0x4888e5['children']&&_0x4888e5['children'][_0x3a63c1(0x356)]>0x0&&_0x1030ee(_0x4888e5[_0x3a63c1(0x32e)]);});};return _0x1ce9db&&_0x1ce9db[_0x3f3ddb(0x356)]>0x0&&_0x1030ee(_0x1ce9db),{'code':this[_0x3f3ddb(0x14e)],'name':this[_0x3f3ddb(0x16a)],'type':this['type'],'multiple':this[_0x3f3ddb(0x3f1)](),'options':_0x1ce9db,'selectItemsSource':_0xec8af7,'values':_0x138b49,'valueLabels':_0x303910};}[a0_0x136ce7(0x326)](){const _0x2d45a0=a0_0x136ce7;return _0x2d45a0(0x1e4)+this[_0x2d45a0(0x16a)]+',\x20'+this[_0x2d45a0(0x14e)]+',\x20'+this[_0x2d45a0(0x359)]+',\x20'+this['getVersion']()+')';}}class FieldV1 extends FieldBase{[a0_0x136ce7(0x15d)];[a0_0x136ce7(0x37d)]=null;constructor(_0x5e07e6){const _0x321e87=a0_0x136ce7;super();if(!_0x5e07e6||typeof _0x5e07e6!==_0x321e87(0x253))throw new Error(_0x321e87(0x306));this[_0x321e87(0x15d)]=_0x5e07e6;}[a0_0x136ce7(0x249)](){return this['_raw'];}[a0_0x136ce7(0x1f6)](){return'v1';}get[a0_0x136ce7(0x312)](){const _0x471f50=a0_0x136ce7;return this[_0x471f50(0x15d)];}get[a0_0x136ce7(0x16a)](){const _0x70e008=a0_0x136ce7;return this[_0x70e008(0x15d)][_0x70e008(0x16a)]||'';}get['code'](){const _0x3e2828=a0_0x136ce7;return this[_0x3e2828(0x15d)]['code']||'';}get[a0_0x136ce7(0x359)](){const _0x48da39=a0_0x136ce7;return this[_0x48da39(0x15d)][_0x48da39(0x359)]||'';}get[a0_0x136ce7(0x350)](){const _0x22f515=a0_0x136ce7;return this[_0x22f515(0x15d)][_0x22f515(0x350)]||'';}get[a0_0x136ce7(0x1db)](){const _0x2181db=a0_0x136ce7;return Boolean(this[_0x2181db(0x15d)][_0x2181db(0x1db)]);}get['dbType'](){const _0x3291bf=a0_0x136ce7;return this[_0x3291bf(0x15d)][_0x3291bf(0x353)];}get[a0_0x136ce7(0x146)](){const _0x2ae789=a0_0x136ce7;return this[_0x2ae789(0x15d)][_0x2ae789(0x146)];}get[a0_0x136ce7(0x30a)](){const _0x4c0eb7=a0_0x136ce7;return this[_0x4c0eb7(0x15d)][_0x4c0eb7(0x18d)];}get[a0_0x136ce7(0x297)](){return;}get['extend'](){const _0x2b8534=a0_0x136ce7;if(this[_0x2b8534(0x37d)]!==null&&typeof this[_0x2b8534(0x37d)]==='object')return this[_0x2b8534(0x37d)];const _0x59a542=this['_raw']['extend'];if(!_0x59a542||typeof _0x59a542!=='string')return this['_extend']={},this[_0x2b8534(0x37d)];if(_0x59a542==='null'||_0x59a542[_0x2b8534(0x169)]()==='null')return this[_0x2b8534(0x37d)]={},this[_0x2b8534(0x37d)];try{const _0x2af554=JSON[_0x2b8534(0x300)](_0x59a542);return this[_0x2b8534(0x37d)]=_0x2af554!==null&&typeof _0x2af554===_0x2b8534(0x253)&&!Array[_0x2b8534(0x1c2)](_0x2af554)?_0x2af554:{},this['_extend'];}catch(_0x50e65e){return!![]&&console['warn'](_0x2b8534(0x369)+this[_0x2b8534(0x14e)]+_0x2b8534(0x154),_0x50e65e),this[_0x2b8534(0x37d)]={},this[_0x2b8534(0x37d)];}}[a0_0x136ce7(0x2ac)](){const _0x361043=a0_0x136ce7;return Boolean(this['extend'][_0x361043(0x212)]);}['isPrimaryKey'](){const _0x24a199=a0_0x136ce7;return Boolean(this[_0x24a199(0x309)][_0x24a199(0x1ef)]||this[_0x24a199(0x309)][_0x24a199(0x21e)]);}['isSystem'](){return Boolean(this['extend']['systemRetain']);}[a0_0x136ce7(0x368)](){const _0x524ff2=a0_0x136ce7;return Boolean(this[_0x524ff2(0x309)]['autoIncrement']);}[a0_0x136ce7(0x3dc)](){const _0x4676cf=a0_0x136ce7;return Boolean(this[_0x4676cf(0x309)][_0x4676cf(0x277)]);}[a0_0x136ce7(0x1ed)](){const _0x1750f2=a0_0x136ce7;return Boolean(this[_0x1750f2(0x309)][_0x1750f2(0x3ab)]);}[a0_0x136ce7(0x1f7)](){const _0xa05f84=a0_0x136ce7;return this[_0xa05f84(0x16a)];}[a0_0x136ce7(0x152)](){const _0x316ab3=a0_0x136ce7;return this[_0x316ab3(0x14e)];}[a0_0x136ce7(0x1cc)](){const _0x51b574=a0_0x136ce7,_0x142cb9=['RADIO',_0x51b574(0x3b3),_0x51b574(0x347)];if(_0x142cb9[_0x51b574(0x26a)](this[_0x51b574(0x359)]))return!![];const _0x50a3e3=this[_0x51b574(0x309)];return Boolean(_0x50a3e3[_0x51b574(0x2e9)]&&Array[_0x51b574(0x1c2)](_0x50a3e3[_0x51b574(0x2e9)])&&_0x50a3e3['options'][_0x51b574(0x356)]>0x0||_0x50a3e3[_0x51b574(0x26e)]);}[a0_0x136ce7(0x3f1)](){const _0x3f52d0=a0_0x136ce7;if(this[_0x3f52d0(0x359)]===_0x3f52d0(0x347))return!![];return Boolean(this[_0x3f52d0(0x309)]['multiple']);}['getEnumOptions'](){const _0x46e494=a0_0x136ce7,_0x203767=this[_0x46e494(0x309)];if(_0x203767[_0x46e494(0x2e9)]&&Array[_0x46e494(0x1c2)](_0x203767[_0x46e494(0x2e9)]))return _0x203767[_0x46e494(0x2e9)];return;}[a0_0x136ce7(0x360)](){const _0x4ac1a6=a0_0x136ce7,_0x3bb715=this[_0x4ac1a6(0x309)];if(_0x3bb715[_0x4ac1a6(0x26e)]&&typeof _0x3bb715[_0x4ac1a6(0x26e)]==='object')return _0x3bb715['selectItemsSource'];return;}[a0_0x136ce7(0x2a5)](){const _0x49b00a=a0_0x136ce7;return this[_0x49b00a(0x359)][_0x49b00a(0x28e)]();}[a0_0x136ce7(0x390)](){const _0x1ee149=a0_0x136ce7;return this[_0x1ee149(0x309)][_0x1ee149(0x1f8)];}['getTooltip'](){const _0x496a2f=a0_0x136ce7;return this[_0x496a2f(0x309)][_0x496a2f(0x2dc)];}[a0_0x136ce7(0x1fd)](){const _0xee880a=a0_0x136ce7;return{'name':this['name'],'code':this[_0xee880a(0x14e)],'type':this[_0xee880a(0x359)],'description':this[_0xee880a(0x350)],'required':this[_0xee880a(0x2ac)](),'primaryKey':this['isPrimaryKey'](),'system':this['isSystem'](),'autoIncrement':this[_0xee880a(0x368)](),'createTime':this[_0xee880a(0x3dc)](),'updateTime':this['isUpdateTime'](),'isEnum':this['isEnum'](),'enumMeta':this[_0xee880a(0x1cc)]()?this[_0xee880a(0x3c7)]():undefined};}[a0_0x136ce7(0x326)](){const _0x237052=a0_0x136ce7;return _0x237052(0x232)+this['name']+',\x20'+this[_0x237052(0x14e)]+',\x20'+this[_0x237052(0x359)]+')';}}class FieldListBase{[a0_0x136ce7(0x3d1)];constructor(_0xd771c6,_0x90c6d1){const _0xb5e2f0=a0_0x136ce7;if(!Array[_0xb5e2f0(0x1c2)](_0xd771c6))throw new Error(_0xb5e2f0(0x28a));const _0x39e60d=_0x90c6d1?.[_0xb5e2f0(0x325)]??![],_0x35516e=_0x39e60d?_0xd771c6:_0xd771c6['filter'](_0xd7fa3e=>{const _0x2c1961=_0xd7fa3e;return!_0x2c1961['deleted'];});this[_0xb5e2f0(0x3d1)]=this[_0xb5e2f0(0x21d)](_0x35516e);}get['length'](){const _0x1e8902=a0_0x136ce7;return this[_0x1e8902(0x3d1)]['length'];}['all'](){const _0x3c7d91=a0_0x136ce7;return[...this[_0x3c7d91(0x3d1)]];}['at'](_0x138939){const _0x555297=a0_0x136ce7;return this[_0x555297(0x3d1)]['at'](_0x138939);}[a0_0x136ce7(0x320)](_0x51c2a6){const _0xcd1e1c=a0_0x136ce7;return this[_0xcd1e1c(0x3d1)]['find'](_0x37a891=>_0x37a891['code']===_0x51c2a6);}[a0_0x136ce7(0x38f)](_0x6d6c68){const _0x5a3283=a0_0x136ce7;return this[_0x5a3283(0x3d1)]['find'](_0x5a7fd9=>_0x5a7fd9[_0x5a3283(0x16a)]===_0x6d6c68);}[a0_0x136ce7(0x3cf)](_0x5ab061){const _0x12856a=a0_0x136ce7;return this['_fields'][_0x12856a(0x2af)](_0x325718=>_0x325718[_0x12856a(0x14e)]===_0x5ab061);}[a0_0x136ce7(0x292)](_0x53a4e2){const _0x461103=a0_0x136ce7;this['_fields'][_0x461103(0x292)](_0x53a4e2);}[a0_0x136ce7(0x3cd)](_0x3acddc){const _0xb6cfa7=a0_0x136ce7;return this['_fields'][_0xb6cfa7(0x3cd)](_0x3acddc);}[a0_0x136ce7(0x394)](_0x51f01f){const _0x1dc022=a0_0x136ce7;return this[_0x1dc022(0x3d1)][_0x1dc022(0x394)](_0x51f01f);}[a0_0x136ce7(0x2f9)](_0x2c51be){const _0x4907ac=a0_0x136ce7;return this[_0x4907ac(0x3d1)][_0x4907ac(0x2f9)](_0x2c51be);}['some'](_0x57f3af){const _0xaafdb3=a0_0x136ce7;return this[_0xaafdb3(0x3d1)][_0xaafdb3(0x2af)](_0x57f3af);}[a0_0x136ce7(0x3af)](){const _0x3fb9aa=a0_0x136ce7;return this[_0x3fb9aa(0x3d1)][_0x3fb9aa(0x394)](_0x207559=>_0x207559[_0x3fb9aa(0x2ac)]());}[a0_0x136ce7(0x1f9)](){const _0x1ebc0e=a0_0x136ce7;return this[_0x1ebc0e(0x3d1)]['filter'](_0x6db333=>_0x6db333['isPrimaryKey']());}[a0_0x136ce7(0x398)](){const _0x1b8d61=a0_0x136ce7;return this[_0x1b8d61(0x3d1)][_0x1b8d61(0x394)](_0x491bb2=>_0x491bb2['isSystem']());}[a0_0x136ce7(0x36b)](){const _0x134be7=a0_0x136ce7;return this[_0x134be7(0x3d1)]['filter'](_0x1ca8f1=>_0x1ca8f1[_0x134be7(0x17b)]());}[a0_0x136ce7(0x25a)](){const _0x4584db=a0_0x136ce7;return this[_0x4584db(0x3d1)][_0x4584db(0x394)](_0x46dca9=>_0x46dca9[_0x4584db(0x1cc)]());}[a0_0x136ce7(0x3d7)](){const _0x234d69=a0_0x136ce7;return this[_0x234d69(0x3d1)][_0x234d69(0x394)](_0x9fa349=>_0x9fa349['isAutoIncrement']());}[a0_0x136ce7(0x393)](){const _0x1ce5e1=a0_0x136ce7;return this[_0x1ce5e1(0x3d1)]['filter'](_0x20966f=>_0x20966f[_0x1ce5e1(0x3dc)]());}[a0_0x136ce7(0x17a)](){const _0x26d1c7=a0_0x136ce7;return this[_0x26d1c7(0x3d1)][_0x26d1c7(0x394)](_0x9fee01=>_0x9fee01['isUpdateTime']());}[a0_0x136ce7(0x2fb)](){const _0x39fc2e=a0_0x136ce7;return this['_fields'][_0x39fc2e(0x394)](_0x3f70c8=>_0x3f70c8[_0x39fc2e(0x228)]());}[a0_0x136ce7(0x32f)](){const _0x271397=a0_0x136ce7;return this[_0x271397(0x3d1)][_0x271397(0x394)](_0x465b10=>!_0x465b10['isDeleted']());}[a0_0x136ce7(0x30d)](){const _0x2450a5=a0_0x136ce7,_0x2b33c2={};return this[_0x2450a5(0x3d1)][_0x2450a5(0x292)](_0xbd744a=>{const _0x1492c4=_0x2450a5,_0x73d07f=_0xbd744a[_0x1492c4(0x359)];!_0x2b33c2[_0x73d07f]&&(_0x2b33c2[_0x73d07f]=[]),_0x2b33c2[_0x73d07f][_0x1492c4(0x37c)](_0xbd744a);}),_0x2b33c2;}['getEnumMetas'](){const _0x5a7eab=a0_0x136ce7,_0x52213c={};return this['_fields'][_0x5a7eab(0x292)](_0x19e579=>{const _0x102e8a=_0x5a7eab;if(_0x19e579[_0x102e8a(0x1cc)]()){const _0x327a12=_0x19e579[_0x102e8a(0x3c7)]();_0x327a12&&(_0x52213c[_0x19e579[_0x102e8a(0x14e)]]=_0x327a12);}}),_0x52213c;}[a0_0x136ce7(0x16d)](){const _0x4306ac=a0_0x136ce7;return{'total':this[_0x4306ac(0x356)],'required':this[_0x4306ac(0x3af)]()[_0x4306ac(0x356)],'primaryKey':this[_0x4306ac(0x1f9)]()[_0x4306ac(0x356)],'system':this[_0x4306ac(0x398)]()[_0x4306ac(0x356)],'business':this[_0x4306ac(0x36b)]()[_0x4306ac(0x356)],'enum':this[_0x4306ac(0x25a)]()['length'],'autoIncrement':this['getAutoIncrement']()[_0x4306ac(0x356)]};}[a0_0x136ce7(0x1d7)](){const _0x5d3044=a0_0x136ce7;return this[_0x5d3044(0x3d1)][_0x5d3044(0x3cd)](_0x3464f8=>_0x3464f8[_0x5d3044(0x14e)]);}[a0_0x136ce7(0x171)](){const _0x3ef8d4=a0_0x136ce7;return this[_0x3ef8d4(0x3d1)][_0x3ef8d4(0x3cd)](_0x2edfb3=>_0x2edfb3['getDisplayName']());}[a0_0x136ce7(0x23c)](){const _0x5c26c9=a0_0x136ce7;return this['_fields'][_0x5c26c9(0x3cd)](_0x24b932=>_0x24b932[_0x5c26c9(0x152)]());}[a0_0x136ce7(0x1fd)](){const _0x1e94ec=a0_0x136ce7;return this[_0x1e94ec(0x3d1)][_0x1e94ec(0x3cd)](_0xf704d8=>_0xf704d8['toJSON']());}['toString'](){const _0x1582e3=a0_0x136ce7;return _0x1582e3(0x182)+this[_0x1582e3(0x356)]+_0x1582e3(0x319);}}class FieldListV1 extends FieldListBase{constructor(_0x29591e,_0x1f18ba){super(_0x29591e,_0x1f18ba);}[a0_0x136ce7(0x21d)](_0x28cf6e){return _0x28cf6e['map'](_0x1f6139=>new FieldV1(_0x1f6139));}[a0_0x136ce7(0x2fa)](){const _0x154fc5=a0_0x136ce7;return[...this[_0x154fc5(0x3d1)]];}['at'](_0x2b5b0c){const _0x3f9c63=a0_0x136ce7;return this[_0x3f9c63(0x3d1)]['at'](_0x2b5b0c);}['find'](_0x37af25){const _0xc15f79=a0_0x136ce7;return this[_0xc15f79(0x3d1)]['find'](_0x4dd561=>_0x4dd561[_0xc15f79(0x14e)]===_0x37af25);}[a0_0x136ce7(0x38f)](_0x609c4a){return this['_fields']['find'](_0x509176=>_0x509176['name']===_0x609c4a);}[a0_0x136ce7(0x394)](_0x1dcbe9){const _0x263be4=a0_0x136ce7;return this[_0x263be4(0x3d1)][_0x263be4(0x394)](_0x1dcbe9);}[a0_0x136ce7(0x3cd)](_0x508165){const _0x4b65c4=a0_0x136ce7;return this[_0x4b65c4(0x3d1)][_0x4b65c4(0x3cd)](_0x508165);}[a0_0x136ce7(0x3af)](){const _0x54a13c=a0_0x136ce7;return this[_0x54a13c(0x3d1)]['filter'](_0x3ed5c3=>_0x3ed5c3[_0x54a13c(0x2ac)]());}['getPrimaryKeys'](){const _0x30f6d6=a0_0x136ce7;return this[_0x30f6d6(0x3d1)][_0x30f6d6(0x394)](_0x5d699b=>_0x5d699b['isPrimaryKey']());}['getSystem'](){const _0x1c2310=a0_0x136ce7;return this[_0x1c2310(0x3d1)][_0x1c2310(0x394)](_0x1a0633=>_0x1a0633[_0x1c2310(0x1aa)]());}[a0_0x136ce7(0x36b)](){const _0x579d7d=a0_0x136ce7;return this['_fields'][_0x579d7d(0x394)](_0x18a83c=>_0x18a83c[_0x579d7d(0x17b)]());}[a0_0x136ce7(0x25a)](){const _0x149752=a0_0x136ce7;return this[_0x149752(0x3d1)]['filter'](_0x300791=>_0x300791[_0x149752(0x1cc)]());}[a0_0x136ce7(0x30d)](){const _0x261205=a0_0x136ce7,_0x42db91={};return this[_0x261205(0x3d1)][_0x261205(0x292)](_0xba2b70=>{const _0x246075=_0x261205,_0x464ba0=_0xba2b70[_0x246075(0x359)];!_0x42db91[_0x464ba0]&&(_0x42db91[_0x464ba0]=[]),_0x42db91[_0x464ba0][_0x246075(0x37c)](_0xba2b70);}),_0x42db91;}['raw'](){const _0x10cc23=a0_0x136ce7;return this[_0x10cc23(0x3d1)]['map'](_0x46418=>_0x46418['raw']);}static[a0_0x136ce7(0x26d)](_0x2dba1c){const _0x2c4dac=a0_0x136ce7,_0x4a0f17=_0x2dba1c[_0x2c4dac(0x3cd)](_0x308248=>_0x308248[_0x2c4dac(0x312)]);return new FieldListV1(_0x4a0f17);}static[a0_0x136ce7(0x2ec)](_0x375211){const _0x3aec58={};return _0x3aec58['includeDeleted']=!![],new FieldListV1(_0x375211,_0x3aec58);}}class FieldV2 extends FieldBase{['_raw'];constructor(_0x1cdf18){const _0x394a9f=a0_0x136ce7;super();if(!_0x1cdf18||typeof _0x1cdf18!=='object')throw new Error(_0x394a9f(0x238));this[_0x394a9f(0x15d)]=_0x1cdf18;}[a0_0x136ce7(0x1f6)](){return'v2';}get[a0_0x136ce7(0x312)](){return this['_raw'];}get[a0_0x136ce7(0x16a)](){const _0x4af415=a0_0x136ce7;return this[_0x4af415(0x15d)][_0x4af415(0x16a)]||'';}get[a0_0x136ce7(0x14e)](){const _0x9475a0=a0_0x136ce7;return this[_0x9475a0(0x15d)]['name']||'';}get[a0_0x136ce7(0x30a)](){const _0x27b411=a0_0x136ce7;return this['_raw'][_0x27b411(0x30a)]||'';}get[a0_0x136ce7(0x359)](){const _0x46399d=a0_0x136ce7;return this[_0x46399d(0x220)](this[_0x46399d(0x15d)]['dbType']);}get[a0_0x136ce7(0x350)](){const _0x35827f=a0_0x136ce7;return this['_raw'][_0x35827f(0x350)]||'';}get[a0_0x136ce7(0x1db)](){const _0x4309e0=a0_0x136ce7;return Boolean(this['_raw'][_0x4309e0(0x1db)]);}['isRequired'](){const _0xc647e8=a0_0x136ce7;return Boolean(this[_0xc647e8(0x15d)]['required']);}[a0_0x136ce7(0x348)](){const _0x3152ef=a0_0x136ce7;return Boolean(this[_0x3152ef(0x15d)][_0x3152ef(0x21e)]);}[a0_0x136ce7(0x1aa)](){const _0x32abe8=a0_0x136ce7;return Boolean(this['_raw'][_0x32abe8(0x17f)]);}['isAutoIncrement'](){const _0x109cb8=a0_0x136ce7;return Boolean(this[_0x109cb8(0x15d)][_0x109cb8(0x327)]);}[a0_0x136ce7(0x3dc)](){const _0x4a269a=a0_0x136ce7;return this[_0x4a269a(0x15d)][_0x4a269a(0x17f)]==='createTime';}[a0_0x136ce7(0x1ed)](){const _0x10c1b3=a0_0x136ce7;return this[_0x10c1b3(0x15d)][_0x10c1b3(0x17f)]==='updateTime';}['getDisplayName'](){const _0x5f2485=a0_0x136ce7;return this[_0x5f2485(0x15d)][_0x5f2485(0x30a)]||'';}[a0_0x136ce7(0x152)](){const _0x234c03=a0_0x136ce7;return this[_0x234c03(0x15d)]['name']||'';}[a0_0x136ce7(0x1cc)](){const _0x54e392=a0_0x136ce7;return Boolean(this[_0x54e392(0x15d)][_0x54e392(0x2e9)]&&Array[_0x54e392(0x1c2)](this[_0x54e392(0x15d)][_0x54e392(0x2e9)])&&this[_0x54e392(0x15d)][_0x54e392(0x2e9)][_0x54e392(0x356)]>0x0);}[a0_0x136ce7(0x3f1)](){const _0x4b36aa=a0_0x136ce7,_0x5529e3=this['_raw'][_0x4b36aa(0x309)];if(!_0x5529e3)return![];try{const _0x3dbb90=JSON[_0x4b36aa(0x300)](_0x5529e3);if(_0x3dbb90&&typeof _0x3dbb90===_0x4b36aa(0x253)&&_0x4b36aa(0x3e3)in _0x3dbb90)return Boolean(_0x3dbb90[_0x4b36aa(0x3e3)]);}catch{}return![];}[a0_0x136ce7(0x215)](){const _0x145015=a0_0x136ce7;if(this['_raw'][_0x145015(0x2e9)]&&Array[_0x145015(0x1c2)](this[_0x145015(0x15d)][_0x145015(0x2e9)]))return this[_0x145015(0x15d)][_0x145015(0x2e9)];return;}[a0_0x136ce7(0x360)](){const _0x8cbc35=a0_0x136ce7,_0x521da5=this[_0x8cbc35(0x15d)][_0x8cbc35(0x309)];if(!_0x521da5)return;try{const _0x2ae8d7=JSON['parse'](_0x521da5);if(_0x2ae8d7&&typeof _0x2ae8d7===_0x8cbc35(0x253)&&_0x8cbc35(0x26e)in _0x2ae8d7)return _0x2ae8d7['selectItemsSource'];}catch{}return;}['getDbTypeForOperation'](){const _0x4cb410=a0_0x136ce7;return this[_0x4cb410(0x15d)][_0x4cb410(0x353)][_0x4cb410(0x218)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x4cb410(0x169)]()[_0x4cb410(0x28e)]();}['getDefaultValue'](){return;}[a0_0x136ce7(0x17c)](){return;}get['dbType'](){const _0x1792bb=a0_0x136ce7;return this[_0x1792bb(0x15d)][_0x1792bb(0x353)];}get[a0_0x136ce7(0x146)](){const _0x2e3511=a0_0x136ce7;return this[_0x2e3511(0x15d)][_0x2e3511(0x146)];}['getDOType'](){const _0x2b4758=a0_0x136ce7;return this['_raw'][_0x2b4758(0x297)]??null;}get[a0_0x136ce7(0x297)](){const _0x91102b=a0_0x136ce7;return this['_raw'][_0x91102b(0x297)]??null;}[a0_0x136ce7(0x1fd)](){const _0x2fe039=a0_0x136ce7;return{'name':this[_0x2fe039(0x16a)],'code':this[_0x2fe039(0x14e)],'type':this[_0x2fe039(0x359)],'dbType':this[_0x2fe039(0x353)],'dbTypeLen':this[_0x2fe039(0x146)],'doType':this[_0x2fe039(0x31c)](),'displayName':this['displayName'],'description':this[_0x2fe039(0x350)],'required':this['isRequired'](),'primaryKey':this[_0x2fe039(0x348)](),'system':this[_0x2fe039(0x1aa)](),'autoIncrement':this[_0x2fe039(0x368)](),'isEnum':this[_0x2fe039(0x1cc)](),'enumMeta':this[_0x2fe039(0x1cc)]()?this[_0x2fe039(0x3c7)]():undefined};}[a0_0x136ce7(0x326)](){const _0x1ec0ec=a0_0x136ce7;return _0x1ec0ec(0x2bb)+this['name']+',\x20'+this[_0x1ec0ec(0x14e)]+',\x20'+this[_0x1ec0ec(0x353)]+_0x1ec0ec(0x1d4)+this['getDOType']()+')';}['mapDbTypeToType'](_0x44663d){const _0x63dfaa=a0_0x136ce7,_0x1f2876={};_0x1f2876['VARCHAR']=_0x63dfaa(0x252),_0x1f2876[_0x63dfaa(0x351)]='TEXT',_0x1f2876['TEXT']=_0x63dfaa(0x272),_0x1f2876[_0x63dfaa(0x199)]=_0x63dfaa(0x272),_0x1f2876[_0x63dfaa(0x366)]=_0x63dfaa(0x30e),_0x1f2876[_0x63dfaa(0x15b)]=_0x63dfaa(0x30e),_0x1f2876[_0x63dfaa(0x3da)]=_0x63dfaa(0x30e),_0x1f2876[_0x63dfaa(0x29b)]='NUMBER',_0x1f2876[_0x63dfaa(0x202)]=_0x63dfaa(0x30e),_0x1f2876[_0x63dfaa(0x314)]=_0x63dfaa(0x30e),_0x1f2876[_0x63dfaa(0x3f2)]=_0x63dfaa(0x30e),_0x1f2876[_0x63dfaa(0x1ba)]=_0x63dfaa(0x144),_0x1f2876[_0x63dfaa(0x217)]='DATE',_0x1f2876['DATE']=_0x63dfaa(0x144),_0x1f2876['TIME']='TIME',_0x1f2876[_0x63dfaa(0x187)]=_0x63dfaa(0x163),_0x1f2876[_0x63dfaa(0x210)]='SWITCH',_0x1f2876[_0x63dfaa(0x1fb)]=_0x63dfaa(0x3ff),_0x1f2876[_0x63dfaa(0x27d)]='FILE';const _0x411690=_0x1f2876,_0x43c5ee=_0x44663d[_0x63dfaa(0x28e)]();return _0x411690[_0x43c5ee]||_0x63dfaa(0x252);}}class FieldListV2 extends FieldListBase{constructor(_0x6ceb51,_0xadf8ce){super(_0x6ceb51,_0xadf8ce);}[a0_0x136ce7(0x21d)](_0x5e30e0){return _0x5e30e0['map'](_0x3a3f9a=>new FieldV2(_0x3a3f9a));}[a0_0x136ce7(0x2fa)](){return[...this['_fields']];}['at'](_0x15ad46){const _0xf7d769=a0_0x136ce7;return this[_0xf7d769(0x3d1)]['at'](_0x15ad46);}['find'](_0x43446b){const _0x4eb8ea=a0_0x136ce7;return this[_0x4eb8ea(0x3d1)][_0x4eb8ea(0x320)](_0x5a3007=>_0x5a3007[_0x4eb8ea(0x14e)]===_0x43446b);}[a0_0x136ce7(0x38f)](_0x5a2a0b){const _0x259b62=a0_0x136ce7;return this[_0x259b62(0x3d1)][_0x259b62(0x320)](_0x4ae92b=>_0x4ae92b[_0x259b62(0x1f7)]()===_0x5a2a0b);}[a0_0x136ce7(0x394)](_0x46416a){return this['_fields']['filter'](_0x46416a);}[a0_0x136ce7(0x3cd)](_0x5a602c){const _0xf36812=a0_0x136ce7;return this['_fields'][_0xf36812(0x3cd)](_0x5a602c);}['getRequired'](){const _0x40c9f7=a0_0x136ce7;return this['_fields'][_0x40c9f7(0x394)](_0x243d9e=>_0x243d9e['isRequired']());}['getPrimaryKeys'](){const _0x5ae158=a0_0x136ce7;return this[_0x5ae158(0x3d1)]['filter'](_0x3dcf91=>_0x3dcf91[_0x5ae158(0x348)]());}['getSystem'](){const _0x4dbee1=a0_0x136ce7;return this[_0x4dbee1(0x3d1)][_0x4dbee1(0x394)](_0x540bae=>_0x540bae[_0x4dbee1(0x1aa)]());}[a0_0x136ce7(0x36b)](){const _0x50c063=a0_0x136ce7;return this[_0x50c063(0x3d1)][_0x50c063(0x394)](_0x483ea4=>_0x483ea4['isBusiness']());}[a0_0x136ce7(0x25a)](){const _0x8887ea=a0_0x136ce7;return this[_0x8887ea(0x3d1)][_0x8887ea(0x394)](_0x1d25e8=>_0x1d25e8[_0x8887ea(0x1cc)]());}[a0_0x136ce7(0x30d)](){const _0x1c7a39={};return this['_fields']['forEach'](_0x1560eb=>{const _0x239a8c=a0_0x9109,_0x4f8bef=_0x1560eb[_0x239a8c(0x359)];!_0x1c7a39[_0x4f8bef]&&(_0x1c7a39[_0x4f8bef]=[]),_0x1c7a39[_0x4f8bef][_0x239a8c(0x37c)](_0x1560eb);}),_0x1c7a39;}['raw'](){const _0x21ba90=a0_0x136ce7;return this[_0x21ba90(0x3d1)][_0x21ba90(0x3cd)](_0x357db8=>_0x357db8[_0x21ba90(0x312)]);}static[a0_0x136ce7(0x26d)](_0xa61bab){const _0x334da2=a0_0x136ce7,_0x40acc4=_0xa61bab[_0x334da2(0x3cd)](_0x272630=>_0x272630[_0x334da2(0x312)]);return new FieldListV2(_0x40acc4);}static[a0_0x136ce7(0x2ec)](_0x138dfa){const _0x5c2c2b=a0_0x136ce7,_0x10fa8b={};return _0x10fa8b[_0x5c2c2b(0x325)]=!![],new FieldListV2(_0x138dfa,_0x10fa8b);}[a0_0x136ce7(0x326)](){const _0x230760=a0_0x136ce7;return _0x230760(0x39f)+this[_0x230760(0x356)]+'\x20fields)';}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x136ce7(0x38e)];['_fieldListV1WithDeleted'];constructor(_0x1f7b17){super(_0x1f7b17);}['getFieldList'](){const _0x184f8a=a0_0x136ce7;if(!this[_0x184f8a(0x38e)]){const _0x12072e={};_0x12072e[_0x184f8a(0x325)]=![],this['_fieldListV1']=new FieldListV1(this['_raw'][_0x184f8a(0x3a7)]||[],_0x12072e);}return this[_0x184f8a(0x38e)];}[a0_0x136ce7(0x150)](){const _0x28e8ab=a0_0x136ce7;if(!this[_0x28e8ab(0x352)]){const _0x885681={};_0x885681[_0x28e8ab(0x325)]=!![],this[_0x28e8ab(0x352)]=new FieldListV1(this['_raw'][_0x28e8ab(0x3a7)]||[],_0x885681);}return this[_0x28e8ab(0x352)];}['getFields'](){const _0x58fe80=a0_0x136ce7;return(this[_0x58fe80(0x15d)][_0x58fe80(0x3a7)]||[])[_0x58fe80(0x394)](_0x3bf017=>!_0x3bf017[_0x58fe80(0x1db)]);}['getFieldCount'](){const _0x28915d=a0_0x136ce7;return this[_0x28915d(0x271)]()[_0x28915d(0x356)];}['getFieldRaw'](_0x3cefac){const _0x401caf=a0_0x136ce7;return this[_0x401caf(0x15d)]['properties']?.[_0x401caf(0x320)](_0x9665cf=>_0x9665cf[_0x401caf(0x14e)]===_0x3cefac);}[a0_0x136ce7(0x1f6)](){return'v1';}['getFieldDataSource'](){const _0x5c148a={};return _0x5c148a['fields']=this['_raw']['properties']||[],_0x5c148a['includeDeleted']=![],_0x5c148a;}[a0_0x136ce7(0x1f5)](){const _0x5a51a1=a0_0x136ce7;return this[_0x5a51a1(0x15d)][_0x5a51a1(0x399)];}[a0_0x136ce7(0x227)](){const _0x5b58cc=a0_0x136ce7;return this['_raw'][_0x5b58cc(0x301)];}[a0_0x136ce7(0x267)](){const _0x1d7a38=a0_0x136ce7,_0xbc76ac=this['getRawDbtableConfig'](),_0x57f658=_0xbc76ac?.[_0x1d7a38(0x3b0)],_0x11ee2d={};return _0x11ee2d[_0x1d7a38(0x333)]=_0xbc76ac?.['dbId'],_0x11ee2d[_0x1d7a38(0x374)]=_0xbc76ac?.[_0x1d7a38(0x374)]??_0x57f658?.[_0x1d7a38(0x374)],_0x11ee2d['dbType']=_0x57f658?.[_0x1d7a38(0x353)],_0x11ee2d[_0x1d7a38(0x2c7)]=_0x57f658?.['dbVersion'],_0x11ee2d['tableName']=_0xbc76ac?.[_0x1d7a38(0x39a)],_0x11ee2d[_0x1d7a38(0x203)]=_0xbc76ac?.[_0x1d7a38(0x203)],_0x11ee2d['pkField']=_0xbc76ac?.['pkField'],new DBConfig(_0x11ee2d,_0xbc76ac);}get['version'](){const _0x4e7ee0=a0_0x136ce7;return this[_0x4e7ee0(0x15d)][_0x4e7ee0(0x204)];}['getFieldInstance'](_0x259408){const _0x1a51f3=a0_0x136ce7;if(typeof _0x259408!==_0x1a51f3(0x14f)){!![]&&console[_0x1a51f3(0x3a4)](_0x1a51f3(0x285),_0x259408);return;}return this[_0x1a51f3(0x271)]()['find'](_0x259408);}['isMultipleSelectField'](_0x358daa){const _0x790127=a0_0x136ce7;if(!_0x358daa||typeof _0x358daa!==_0x790127(0x253))return![];const _0x4f99d0=this['getFieldInstance'](_0x358daa['code']);return _0x4f99d0?_0x4f99d0['isMultipleSelect']():![];}[a0_0x136ce7(0x3f6)](){const _0x52edbd=a0_0x136ce7,_0x1278f8=this['getOperation'](_0x52edbd(0x394));return _0x1278f8;}[a0_0x136ce7(0x3a3)](){const _0x2f690b=a0_0x136ce7;return this['hasOperation'](_0x2f690b(0x394));}[a0_0x136ce7(0x34a)](){const _0x527840=a0_0x136ce7;return new DatasetItem({'id':this['id'],'name':this[_0x527840(0x16a)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x527840(0x35d)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x136ce7(0x33c)];[a0_0x136ce7(0x2c9)];[a0_0x136ce7(0x23e)];constructor(_0x20b4d8){const _0x2aa541=a0_0x136ce7;super(_0x20b4d8),this[_0x2aa541(0x2c9)]=_0x20b4d8['dataset'],this[_0x2aa541(0x23e)]=_0x20b4d8[_0x2aa541(0x3a1)]||[];}[a0_0x136ce7(0x1f6)](){return'v2';}[a0_0x136ce7(0x1c4)](){const _0x18e76d=a0_0x136ce7,_0x4d0bad={};return _0x4d0bad['fields']=this['_raw'][_0x18e76d(0x15e)],_0x4d0bad[_0x18e76d(0x325)]=![],_0x4d0bad;}[a0_0x136ce7(0x1f5)](){const _0x3d255e=a0_0x136ce7;return this['_raw'][_0x3d255e(0x399)];}['getSource'](){const _0x2d23e8=a0_0x136ce7;return this['_raw'][_0x2d23e8(0x301)];}['getDBConfig'](){const _0x1f8318=a0_0x136ce7,_0x12cd63=this[_0x1f8318(0x15d)][_0x1f8318(0x16b)],_0x5dcf2a={};return _0x5dcf2a[_0x1f8318(0x333)]=_0x12cd63?.['dbId'],_0x5dcf2a[_0x1f8318(0x374)]=_0x12cd63?.[_0x1f8318(0x374)],_0x5dcf2a['dbType']=undefined,_0x5dcf2a[_0x1f8318(0x2c7)]=undefined,_0x5dcf2a[_0x1f8318(0x39a)]=_0x12cd63?.[_0x1f8318(0x39a)],_0x5dcf2a[_0x1f8318(0x203)]=_0x12cd63?.[_0x1f8318(0x203)],_0x5dcf2a[_0x1f8318(0x21e)]=_0x12cd63?.['pkField'],new DBConfig(_0x5dcf2a,_0x12cd63);}[a0_0x136ce7(0x271)](){const _0x4fd1b8=a0_0x136ce7;return this[_0x4fd1b8(0x1a7)]();}['getFields'](){const _0x434314=a0_0x136ce7;return this['_raw'][_0x434314(0x15e)];}['getFieldCount'](){const _0x320903=a0_0x136ce7;return this[_0x320903(0x15d)][_0x320903(0x15e)][_0x320903(0x356)];}[a0_0x136ce7(0x392)](_0x270e2e){const _0x63746f=a0_0x136ce7;return this[_0x63746f(0x15d)][_0x63746f(0x15e)]['find'](_0x3efbd9=>_0x3efbd9[_0x63746f(0x16a)]===_0x270e2e);}[a0_0x136ce7(0x1cd)](){return this['_datasetMeta'];}[a0_0x136ce7(0x2f3)](){return this['_relations'];}['getIndexes'](){return this['_datasetMeta']['indexes']||[];}[a0_0x136ce7(0x361)](_0x5d1552){const _0x2b2166=a0_0x136ce7;return this[_0x2b2166(0x23e)]['filter'](_0x4c5185=>_0x4c5185[_0x2b2166(0x1b3)]===_0x5d1552);}[a0_0x136ce7(0x2d5)](_0x121a58){const _0x19e275=a0_0x136ce7;return this[_0x19e275(0x23e)][_0x19e275(0x2af)](_0x325273=>_0x325273['fromField']===_0x121a58);}[a0_0x136ce7(0x2db)](_0x4d75f7){const _0x47fc07=a0_0x136ce7,_0x319cd5=this[_0x47fc07(0x23e)][_0x47fc07(0x320)](_0x46fbe5=>_0x46fbe5[_0x47fc07(0x1b3)]===_0x4d75f7);if(!_0x319cd5)return;const _0x1345c6={};return _0x1345c6[_0x47fc07(0x324)]=_0x319cd5['toDatasetId'],_0x1345c6[_0x47fc07(0x2e7)]=_0x319cd5['toDatasetCode'],_0x1345c6['datasetName']=_0x319cd5[_0x47fc07(0x192)],_0x1345c6[_0x47fc07(0x39a)]=_0x319cd5[_0x47fc07(0x237)],_0x1345c6[_0x47fc07(0x3db)]=_0x319cd5[_0x47fc07(0x3db)],_0x1345c6;}[a0_0x136ce7(0x328)](){const _0x4bb3dd=a0_0x136ce7;return this[_0x4bb3dd(0x23e)][_0x4bb3dd(0x3cd)](_0x465475=>_0x465475['fromField']);}['getFieldListV2'](){const _0x30a2e9=a0_0x136ce7;return!this['_fieldListV2']&&(this['_fieldListV2']=new FieldListV2(this['_raw'][_0x30a2e9(0x15e)])),this[_0x30a2e9(0x33c)];}[a0_0x136ce7(0x385)](_0x5457fc){const _0xa423a0=a0_0x136ce7;if(typeof _0x5457fc!=='string'){!![]&&console[_0xa423a0(0x3a4)]('[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x5457fc);return;}return this['getFieldListV2']()[_0xa423a0(0x320)](_0x5457fc);}[a0_0x136ce7(0x255)](_0x10ba25){const _0x52aee8=a0_0x136ce7;if(!_0x10ba25||typeof _0x10ba25!=='object')return![];const _0x56acb3=_0x10ba25[_0x52aee8(0x16a)]||_0x10ba25[_0x52aee8(0x14e)],_0x4dff9f=this[_0x52aee8(0x385)](_0x56acb3);return _0x4dff9f?_0x4dff9f[_0x52aee8(0x3f1)]():![];}[a0_0x136ce7(0x153)](){const _0x3e3b0b=a0_0x136ce7;if(!this[_0x3e3b0b(0x2ed)]){const _0x333b27=this[_0x3e3b0b(0x234)](this[_0x3e3b0b(0x1f5)]()||{});this[_0x3e3b0b(0x2ed)]=new OperationList(_0x333b27,{'fields':this['getFieldListV2']()['all'](),'pkField':this[_0x3e3b0b(0x15d)][_0x3e3b0b(0x16b)]?.[_0x3e3b0b(0x21e)],'dbtableConfig':this[_0x3e3b0b(0x15d)][_0x3e3b0b(0x16b)]||null});}return this[_0x3e3b0b(0x2ed)];}[a0_0x136ce7(0x3f6)](){const _0x3afbe6=a0_0x136ce7,_0x38b0bf=this[_0x3afbe6(0x3e8)](_0x3afbe6(0x394));return _0x38b0bf;}['hasFilterOperation'](){const _0x504848=a0_0x136ce7;return this[_0x504848(0x31b)](_0x504848(0x394));}[a0_0x136ce7(0x34a)](){const _0x33a49c=a0_0x136ce7;return new DatasetItem({'id':this['id'],'name':this[_0x33a49c(0x16a)],'datasetCode':this[_0x33a49c(0x2e7)],'dbtableConfig':this[_0x33a49c(0x35d)]()});}['toString'](){const _0x127fb8=a0_0x136ce7,_0x5bcf2f=this[_0x127fb8(0x23e)][_0x127fb8(0x356)],_0x431d20=this['getIndexes']()[_0x127fb8(0x356)];return _0x127fb8(0x3b1)+this[_0x127fb8(0x16a)]+',\x20'+this[_0x127fb8(0x2e7)]+',\x20'+this[_0x127fb8(0x21b)]()+_0x127fb8(0x25d)+this[_0x127fb8(0x31f)]()+'\x20operations,\x20'+_0x5bcf2f+'\x20relations,\x20'+_0x431d20+'\x20indexes)';}[a0_0x136ce7(0x1ce)](){return this['_raw']['fields'];}[a0_0x136ce7(0x1e0)](_0xd1ec60){const _0x3081c1=a0_0x136ce7;return this[_0x3081c1(0x15d)][_0x3081c1(0x15e)][_0x3081c1(0x320)](_0x44d35f=>_0x44d35f['name']===_0xd1ec60);}}function detectDatasetVersion(_0xc3e10d){const _0x4bd928=a0_0x136ce7;if(_0xc3e10d[_0x4bd928(0x3c8)]==='v2'&&_0x4bd928(0x15e)in _0xc3e10d&&Array[_0x4bd928(0x1c2)](_0xc3e10d['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x136ce7(0x3fd)];constructor(_0x204a52){const _0x42e160=a0_0x136ce7;super(_0x204a52);const _0x55c47e=detectDatasetVersion(_0x204a52);this[_0x42e160(0x3fd)]=_0x55c47e==='v2'?new DrivenDataDetailV2(_0x204a52):new DrivenDataDetailV1(_0x204a52);}get['id'](){const _0x34f98f=a0_0x136ce7;return this[_0x34f98f(0x3fd)]['id'];}get[a0_0x136ce7(0x16a)](){const _0x266055=a0_0x136ce7;return this[_0x266055(0x3fd)][_0x266055(0x16a)];}get[a0_0x136ce7(0x2e7)](){const _0x245fcd=a0_0x136ce7;return this[_0x245fcd(0x3fd)]['datasetCode'];}get[a0_0x136ce7(0x204)](){const _0x4ee9cd=a0_0x136ce7;return this[_0x4ee9cd(0x3fd)]['getVersion']()==='v2'?_0x4ee9cd(0x2aa):_0x4ee9cd(0x1cb);}[a0_0x136ce7(0x1f6)](){const _0x466664=a0_0x136ce7;return this[_0x466664(0x3fd)][_0x466664(0x1f6)]();}[a0_0x136ce7(0x3fe)](){const _0x339574=a0_0x136ce7;return this[_0x339574(0x3fd)]['id'];}['getCode'](){const _0x33553a=a0_0x136ce7;return this[_0x33553a(0x3fd)][_0x33553a(0x2e7)];}[a0_0x136ce7(0x39b)](){const _0x177c63=a0_0x136ce7;return this['_instance'][_0x177c63(0x16a)];}['getFieldDataSource'](){const _0x4e08e8=a0_0x136ce7;return this[_0x4e08e8(0x3fd)][_0x4e08e8(0x1c4)]();}['getOperationsData'](){const _0x3ebf9e=a0_0x136ce7;return this['_instance'][_0x3ebf9e(0x1f5)]();}['getSource'](){const _0x4cc3f7=a0_0x136ce7;return this[_0x4cc3f7(0x3fd)][_0x4cc3f7(0x227)]();}[a0_0x136ce7(0x150)](){const _0x1b4961=a0_0x136ce7;return this[_0x1b4961(0x3fd)][_0x1b4961(0x150)]();}[a0_0x136ce7(0x271)](){const _0x43ab42=a0_0x136ce7;return this['_instance'][_0x43ab42(0x271)]();}[a0_0x136ce7(0x37b)](){const _0x41ac7b=a0_0x136ce7;return this['_instance'][_0x41ac7b(0x37b)]();}[a0_0x136ce7(0x1de)](){const _0x5b7dec=a0_0x136ce7;return this[_0x5b7dec(0x3fd)][_0x5b7dec(0x1de)]();}[a0_0x136ce7(0x21b)](){return this['_instance']['getFieldCount']();}[a0_0x136ce7(0x266)](){const _0x532917=a0_0x136ce7,_0x2e38b9=this[_0x532917(0x3fd)][_0x532917(0x35d)]();return _0x2e38b9?.[_0x532917(0x21e)];}[a0_0x136ce7(0x267)](){const _0x29dee7=a0_0x136ce7;return this[_0x29dee7(0x3fd)][_0x29dee7(0x267)]();}[a0_0x136ce7(0x385)](_0x59be83){const _0x1c7d16=a0_0x136ce7;return this[_0x1c7d16(0x3fd)]['getFieldInstance'](_0x59be83);}[a0_0x136ce7(0x32a)](){const _0x40fc35=a0_0x136ce7;return this[_0x40fc35(0x3fd)][_0x40fc35(0x32a)]();}['getSystemFields'](){const _0x42d685=a0_0x136ce7;return this['_instance'][_0x42d685(0x2c3)]();}[a0_0x136ce7(0x197)](){return this['_instance']['getBusinessFields']();}[a0_0x136ce7(0x1ac)](){const _0x3f3f4d=a0_0x136ce7;return this['_instance'][_0x3f3f4d(0x1ac)]();}[a0_0x136ce7(0x274)](){const _0x544e79=a0_0x136ce7;return this[_0x544e79(0x3fd)]['getFieldsByType']();}[a0_0x136ce7(0x2a2)](){return this['_instance']['getEnumFields']();}['getEnumFieldsMeta'](){const _0x58a79c=a0_0x136ce7;return this[_0x58a79c(0x3fd)]['getEnumFieldsMeta']();}[a0_0x136ce7(0x23f)](){const _0x1a41c0=a0_0x136ce7;return this[_0x1a41c0(0x3fd)][_0x1a41c0(0x23f)]();}['getOperationCount'](){const _0x37eb1f=a0_0x136ce7;return this[_0x37eb1f(0x3fd)][_0x37eb1f(0x31f)]();}[a0_0x136ce7(0x27b)](){const _0x336f5a=a0_0x136ce7;return this[_0x336f5a(0x3fd)][_0x336f5a(0x27b)]();}['getDisabledOperations'](){const _0x4bb38d=a0_0x136ce7;return this[_0x4bb38d(0x3fd)]['getDisabledOperations']();}[a0_0x136ce7(0x3a2)](){const _0x20c337=a0_0x136ce7;return this[_0x20c337(0x3fd)][_0x20c337(0x3a2)]();}[a0_0x136ce7(0x302)](){const _0x5ea65b=a0_0x136ce7;return this[_0x5ea65b(0x3fd)][_0x5ea65b(0x302)]();}[a0_0x136ce7(0x16d)](){const _0xc9e0dd=a0_0x136ce7;return this[_0xc9e0dd(0x3fd)][_0xc9e0dd(0x16d)]();}['getDatasetMeta'](){const _0x51de55=a0_0x136ce7;return this[_0x51de55(0x3fd)][_0x51de55(0x1cd)]();}['getRelations'](){const _0x5f48a3=a0_0x136ce7;return this['_instance'][_0x5f48a3(0x2f3)]();}['getIndexes'](){const _0x4310ff=a0_0x136ce7;return this['_instance'][_0x4310ff(0x1e1)]();}['getFilterOperators'](){const _0x185a8f=a0_0x136ce7;return this[_0x185a8f(0x3fd)][_0x185a8f(0x29e)]();}['getFieldsFilterOperatorsMap'](){const _0x3cf72e=a0_0x136ce7;return this[_0x3cf72e(0x3fd)]['getFieldsFilterOperatorsMap']();}['toJSON'](){const _0x48c976=a0_0x136ce7;return this[_0x48c976(0x3fd)][_0x48c976(0x1fd)]();}[a0_0x136ce7(0x3f6)](){const _0x1066b4=a0_0x136ce7;return this['_instance'][_0x1066b4(0x3f6)]();}[a0_0x136ce7(0x3a3)](){return this['_instance']['hasFilterOperation']();}[a0_0x136ce7(0x34a)](){const _0x459618=a0_0x136ce7;return this[_0x459618(0x3fd)][_0x459618(0x34a)]();}[a0_0x136ce7(0x326)](){const _0x1cd0a6=a0_0x136ce7;return this['_instance'][_0x1cd0a6(0x326)]();}[a0_0x136ce7(0x260)](){const _0x3b40a2=a0_0x136ce7;return this[_0x3b40a2(0x3fd)];}}function detectDatasetVersion2(_0x38379f){const _0x350093=a0_0x136ce7;if(_0x38379f[_0x350093(0x3c8)]==='v2'&&_0x350093(0x15e)in _0x38379f&&Array['isArray'](_0x38379f[_0x350093(0x15e)]))return'v2';return'v1';}function createDrivenDataDetail(_0x2a306a,_0xe9aa12={}){const {forceVersion:_0x3e2f02}=_0xe9aa12;if(_0x3e2f02==='v2')return new DrivenDataDetailV2(_0x2a306a);if(_0x3e2f02==='v1')return new DrivenDataDetailV1(_0x2a306a);const _0x6c1afa=detectDatasetVersion2(_0x2a306a);if(_0x6c1afa==='v2')return new DrivenDataDetailV2(_0x2a306a);return new DrivenDataDetailV1(_0x2a306a);}function isV2Data(_0x1e8fbe){return detectDatasetVersion2(_0x1e8fbe)==='v2';}function isV1Data(_0x10f822){return detectDatasetVersion2(_0x10f822)==='v1';}function isV2Instance(_0x5a1702){return _0x5a1702['getVersion']()==='v2';}function isV1Instance(_0x2d6ba4){return _0x2d6ba4['getVersion']()==='v1';}class DatasetGroup{[a0_0x136ce7(0x157)];constructor(_0x64f633){const _0x3de3c9=a0_0x136ce7;this['items']=Array[_0x3de3c9(0x1c2)](_0x64f633)?[..._0x64f633]:[_0x64f633],this['items'][_0x3de3c9(0x20f)]((_0x2ffab7,_0x20596d)=>{const _0x4635a6=Number(_0x2ffab7['id'])||0x0,_0x1c4ca7=Number(_0x20596d['id'])||0x0;return _0x1c4ca7-_0x4635a6;});}[a0_0x136ce7(0x26b)](){const _0x3e1384=a0_0x136ce7;return this[_0x3e1384(0x157)][_0x3e1384(0x356)]>0x1;}[a0_0x136ce7(0x3b4)](){const _0x37b7a8=a0_0x136ce7;return this[_0x37b7a8(0x157)][0x0];}[a0_0x136ce7(0x295)](){const _0x1dde51=a0_0x136ce7;return this[_0x1dde51(0x157)][this[_0x1dde51(0x157)][_0x1dde51(0x356)]-0x1];}[a0_0x136ce7(0x24b)](){const _0x1e6b42=a0_0x136ce7;return[...this[_0x1e6b42(0x157)]];}[a0_0x136ce7(0x2d6)](){const _0x254e4d=a0_0x136ce7;return this[_0x254e4d(0x157)][_0x254e4d(0x356)];}[a0_0x136ce7(0x2e2)](_0x2438a8){const _0x569830=a0_0x136ce7;return this[_0x569830(0x157)][_0x2438a8];}[a0_0x136ce7(0x2e1)](_0x1c7436){const _0x27c875=a0_0x136ce7;return this[_0x27c875(0x157)]['find'](_0x3dd1d5=>_0x3dd1d5['id']===_0x1c7436);}[a0_0x136ce7(0x28c)](_0x25c86c){const _0xc17095=a0_0x136ce7;return this[_0xc17095(0x157)]['find'](_0x203f68=>_0x203f68[_0xc17095(0x2e7)]===_0x25c86c);}[a0_0x136ce7(0x344)](){const _0x21dc56=a0_0x136ce7;return this[_0x21dc56(0x157)][_0x21dc56(0x3cd)](_0x42ec90=>_0x42ec90['id'])['filter'](_0x657b2b=>_0x657b2b!==undefined);}['getCodes'](){const _0x5c0a03=a0_0x136ce7;return this[_0x5c0a03(0x157)][_0x5c0a03(0x3cd)](_0x35497f=>_0x35497f[_0x5c0a03(0x2e7)]);}[a0_0x136ce7(0x326)](){const _0x162011=a0_0x136ce7;if(this[_0x162011(0x26b)]())return _0x162011(0x27c)+this[_0x162011(0x157)][_0x162011(0x356)]+_0x162011(0x28d)+this[_0x162011(0x3b4)]()['name']+')';return _0x162011(0x27c)+this[_0x162011(0x157)][0x0][_0x162011(0x16a)]+')';}}class DatasetGroupMap{[a0_0x136ce7(0x273)];constructor(_0x5a16fe){const _0x35a455=a0_0x136ce7;this[_0x35a455(0x273)]=new Map();for(const _0x237b55 of _0x5a16fe){const _0x2a26bc=getTableKey(_0x237b55);if(!this['groups'][_0x35a455(0x3cf)](_0x2a26bc))this[_0x35a455(0x273)][_0x35a455(0x31d)](_0x2a26bc,new DatasetGroup(_0x237b55));else{const _0x1362f9=this[_0x35a455(0x273)][_0x35a455(0x2bf)](_0x2a26bc),_0x48d985=[..._0x1362f9[_0x35a455(0x24b)](),_0x237b55];this['groups'][_0x35a455(0x31d)](_0x2a26bc,new DatasetGroup(_0x48d985));}}}[a0_0x136ce7(0x2bf)](_0x5b8e52){const _0x497d55=a0_0x136ce7;return this[_0x497d55(0x273)][_0x497d55(0x2bf)](_0x5b8e52);}['has'](_0x578c5b){return this['groups']['has'](_0x578c5b);}get['size'](){const _0x14dc7a=a0_0x136ce7;return this[_0x14dc7a(0x273)][_0x14dc7a(0x307)];}[a0_0x136ce7(0x3f7)](){const _0x3dee7c=a0_0x136ce7;return this[_0x3dee7c(0x273)][_0x3dee7c(0x3f7)]();}['values'](){const _0x4ea8b4=a0_0x136ce7;return this['groups'][_0x4ea8b4(0x16c)]();}[a0_0x136ce7(0x225)](){const _0x4a0d34=a0_0x136ce7;return this[_0x4a0d34(0x273)][_0x4a0d34(0x225)]();}[Symbol[a0_0x136ce7(0x24d)]](){const _0x3f9d69=a0_0x136ce7;return this[_0x3f9d69(0x273)]['entries']();}[a0_0x136ce7(0x292)](_0x324ee1){const _0x288d09=a0_0x136ce7;this[_0x288d09(0x273)][_0x288d09(0x292)]((_0x3e65d9,_0x3468b5)=>_0x324ee1(_0x3e65d9,_0x3468b5,this));}[a0_0x136ce7(0x3c1)](){const _0x536473=a0_0x136ce7,_0x4d5658=new Map();for(const [_0x1c4c51,_0x50f01a]of this['groups']){_0x50f01a[_0x536473(0x26b)]()&&_0x4d5658[_0x536473(0x31d)](_0x1c4c51,_0x50f01a);}return _0x4d5658;}['hasConflicts'](){const _0x5ad021=a0_0x136ce7;for(const _0x3a253a of this[_0x5ad021(0x273)][_0x5ad021(0x16c)]()){if(_0x3a253a[_0x5ad021(0x26b)]())return!![];}return![];}[a0_0x136ce7(0x209)](){const _0x523232=a0_0x136ce7;let _0x485e85=0x0,_0x198d5c=0x0;for(const _0x53a774 of this[_0x523232(0x273)][_0x523232(0x16c)]()){_0x53a774[_0x523232(0x26b)]()&&(_0x485e85++,_0x198d5c+=_0x53a774[_0x523232(0x2d6)]());}const _0x45d66f={};return _0x45d66f[_0x523232(0x160)]=_0x485e85,_0x45d66f[_0x523232(0x38c)]=_0x198d5c,_0x45d66f['totalGroups']=this[_0x523232(0x273)]['size'],_0x45d66f;}[a0_0x136ce7(0x3ba)](){const _0x5056f9=a0_0x136ce7,_0x549945=[];for(const _0x3a2bdc of this[_0x5056f9(0x273)][_0x5056f9(0x16c)]()){_0x549945[_0x5056f9(0x37c)](..._0x3a2bdc[_0x5056f9(0x24b)]());}return _0x549945;}['getLatestDatasets'](){const _0x36349b=a0_0x136ce7,_0x207c2c=[];for(const _0x1b9e3b of this[_0x36349b(0x273)]['values']()){_0x207c2c[_0x36349b(0x37c)](_0x1b9e3b[_0x36349b(0x3b4)]());}return _0x207c2c;}[a0_0x136ce7(0x3b4)](_0x4d86a4){const _0x22a73e=a0_0x136ce7;return this['groups']['get'](_0x4d86a4)?.[_0x22a73e(0x3b4)]();}['getAll'](_0x429be3){const _0x576a1a=a0_0x136ce7;return this[_0x576a1a(0x273)][_0x576a1a(0x2bf)](_0x429be3)?.[_0x576a1a(0x24b)]()||[];}['toConfig'](){const _0x2be8de=a0_0x136ce7,_0x2f392a=this[_0x2be8de(0x38b)](),_0x356c7c=_0x2f392a[_0x2be8de(0x3cd)](_0x1b1c54=>_0x1b1c54[_0x2be8de(0x1fd)]()),_0x3bcc59={};return _0x3bcc59[_0x2be8de(0x2b6)]=![],generateDatasetsConfig(_0x356c7c,_0x3bcc59);}['toFullConfig'](){const _0x187d8d=a0_0x136ce7,_0x40dd78=this[_0x187d8d(0x3ba)](),_0x593fcc=_0x40dd78[_0x187d8d(0x3cd)](_0xd60a75=>_0xd60a75[_0x187d8d(0x1fd)]());return generateFullDatasetsConfig(_0x593fcc);}[a0_0x136ce7(0x337)](){const _0x1cd370=a0_0x136ce7,_0x5d16c9={};for(const [_0x53ba24,_0x14c1c4]of this[_0x1cd370(0x273)]){_0x5d16c9[_0x53ba24]=_0x14c1c4;}return _0x5d16c9;}['toJSON'](){const _0x89c9f3=a0_0x136ce7,_0x4e853d={};for(const [_0x599ddd,_0x28fa76]of this['groups']){_0x4e853d[_0x599ddd]=_0x28fa76['getAll']()[_0x89c9f3(0x3cd)](_0x558361=>_0x558361['toJSON']());}return _0x4e853d;}[a0_0x136ce7(0x326)](){const _0x4c6719=a0_0x136ce7;return _0x4c6719(0x156)+this[_0x4c6719(0x273)][_0x4c6719(0x307)]+_0x4c6719(0x14d)+(this[_0x4c6719(0x2a3)]()?_0x4c6719(0x3e0):_0x4c6719(0x179))+')';}}class DatasetList{[a0_0x136ce7(0x221)];constructor(_0x483195){const _0x238219=a0_0x136ce7;let _0x136c1b;if(Array[_0x238219(0x1c2)](_0x483195))_0x136c1b=_0x483195;else{if(_0x238219(0x34f)in _0x483195){if(!_0x483195[_0x238219(0x34f)])throw new Error(_0x238219(0x1ea));if(Array[_0x238219(0x1c2)](_0x483195[_0x238219(0x20e)]))_0x136c1b=_0x483195[_0x238219(0x20e)]['map'](_0x35af19=>({..._0x35af19,'datasetCode':_0x35af19[_0x238219(0x14e)]||_0x35af19[_0x238219(0x2e7)]}));else{if(_0x483195[_0x238219(0x20e)]?.[_0x238219(0x14c)])_0x136c1b=_0x483195[_0x238219(0x20e)][_0x238219(0x14c)][_0x238219(0x3cd)](_0x258083=>({..._0x258083,'datasetCode':_0x258083[_0x238219(0x14e)]||_0x258083[_0x238219(0x2e7)]}));else throw new Error(_0x238219(0x2cd));}}else{if(_0x238219(0x14c)in _0x483195){if(!Array['isArray'](_0x483195[_0x238219(0x14c)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0x136c1b=_0x483195['tableData']['map'](_0x42b193=>({..._0x42b193,'datasetCode':_0x42b193[_0x238219(0x14e)]||_0x42b193[_0x238219(0x2e7)]}));}else throw new Error(_0x238219(0x3fb));}}const _0x3e4f67=_0x136c1b[_0x238219(0x3cd)](_0x480672=>new DatasetItem(_0x480672));this['_datasetMap']=new DatasetGroupMap(_0x3e4f67);}get[a0_0x136ce7(0x1c8)](){return this['_datasetMap'];}[a0_0x136ce7(0x14b)](){return this['_datasetMap']['getAllDatasets']();}['getCount'](){const _0x10814d=a0_0x136ce7;return this['getItems']()[_0x10814d(0x356)];}[a0_0x136ce7(0x2e0)](){const _0x33fa2c=a0_0x136ce7;return this['_datasetMap'][_0x33fa2c(0x307)]===0x0;}['getAt'](_0x57d1e5){const _0xccf5d2=a0_0x136ce7;return this[_0xccf5d2(0x14b)]()[_0x57d1e5];}[a0_0x136ce7(0x2fc)](){const _0x2f5396=a0_0x136ce7;return this[_0x2f5396(0x14b)]()[0x0];}[a0_0x136ce7(0x339)](){const _0x185243=a0_0x136ce7,_0x1b28be=this[_0x185243(0x14b)]();return _0x1b28be[_0x1b28be['length']-0x1];}[a0_0x136ce7(0x28c)](_0x49ba22){const _0x29542e=a0_0x136ce7;for(const _0x31e88a of this['_datasetMap'][_0x29542e(0x16c)]()){const _0x51d6a4=_0x31e88a[_0x29542e(0x28c)](_0x49ba22);if(_0x51d6a4)return _0x51d6a4;}return;}[a0_0x136ce7(0x38f)](_0x57efb0){const _0xd946bb=a0_0x136ce7;return this[_0xd946bb(0x14b)]()[_0xd946bb(0x320)](_0x28b3db=>_0x28b3db[_0xd946bb(0x16a)]===_0x57efb0);}[a0_0x136ce7(0x2e1)](_0x4e58a4){const _0x229257=a0_0x136ce7;for(const _0x1d4205 of this[_0x229257(0x221)][_0x229257(0x16c)]()){const _0x5e62e3=_0x1d4205[_0x229257(0x2e1)](_0x4e58a4);if(_0x5e62e3)return _0x5e62e3;}return;}[a0_0x136ce7(0x16f)](_0x41ac4d){const _0x406a45=a0_0x136ce7,_0x19fa69=getTableKey(_0x41ac4d);return this[_0x406a45(0x221)]['getLatest'](_0x19fa69);}[a0_0x136ce7(0x394)](_0x2715b8){const _0x372e7a=a0_0x136ce7,_0x58f70f=this['getItems']()[_0x372e7a(0x394)](_0x2715b8);return new DatasetList(_0x58f70f[_0x372e7a(0x3cd)](_0x26d485=>_0x26d485[_0x372e7a(0x1fd)]()));}[a0_0x136ce7(0x284)](_0x4c996d){const _0x33d7cb=a0_0x136ce7;return this[_0x33d7cb(0x14b)]()[_0x33d7cb(0x394)](_0x4c996d);}[a0_0x136ce7(0x292)](_0x3130e1){const _0xfa768a=a0_0x136ce7;this[_0xfa768a(0x14b)]()[_0xfa768a(0x292)](_0x3130e1);}[a0_0x136ce7(0x3cd)](_0x497c91){const _0x9e0520=a0_0x136ce7;return this[_0x9e0520(0x14b)]()[_0x9e0520(0x3cd)](_0x497c91);}[Symbol['iterator']](){const _0x2981d6=a0_0x136ce7;return this[_0x2981d6(0x14b)]()[Symbol[_0x2981d6(0x24d)]]();}[a0_0x136ce7(0x329)](){const _0x2bd88f=a0_0x136ce7;return this[_0x2bd88f(0x14b)]()['filter'](_0x161b8f=>_0x161b8f[_0x2bd88f(0x322)]());}[a0_0x136ce7(0x383)](){const _0x466650=a0_0x136ce7;return this[_0x466650(0x14b)]()[_0x466650(0x394)](_0xa1262b=>!_0xa1262b[_0x466650(0x322)]());}[a0_0x136ce7(0x206)](){const _0xb392cd=a0_0x136ce7,_0x5cde03={};for(const _0x42d06b of this[_0xb392cd(0x221)]['values']()){const _0x5b5f11=_0x42d06b[_0xb392cd(0x3b4)]()[_0xb392cd(0x2cf)]();_0x5cde03[_0x5b5f11]=_0x42d06b[_0xb392cd(0x24b)]();}return _0x5cde03;}[a0_0x136ce7(0x2ee)](){const _0x419646=a0_0x136ce7,_0x3b8ddb={};for(const _0x1f751c of this[_0x419646(0x221)][_0x419646(0x3c1)]()[_0x419646(0x16c)]()){const _0x3cca34=_0x1f751c['getLatest']()[_0x419646(0x2cf)]();_0x3b8ddb[_0x3cca34]=_0x1f751c['getAll']()['map'](_0x5e812f=>_0x5e812f['toJSON']());}return{'hasConflicts':Object[_0x419646(0x3f7)](_0x3b8ddb)['length']>0x0,'conflicts':_0x3b8ddb};}[a0_0x136ce7(0x2a3)](){const _0x3e9a1b=a0_0x136ce7;return this[_0x3e9a1b(0x221)][_0x3e9a1b(0x2a3)]();}['getConflictingItems'](){const _0x35cbe2=a0_0x136ce7,_0x56f8b4=[];for(const _0x8ab693 of this[_0x35cbe2(0x221)]['getConflicts']()[_0x35cbe2(0x16c)]()){_0x56f8b4[_0x35cbe2(0x37c)](..._0x8ab693[_0x35cbe2(0x24b)]());}return _0x56f8b4;}[a0_0x136ce7(0x25c)](_0x4863a4){const _0x4dc173=a0_0x136ce7;if(!_0x4863a4||Object[_0x4dc173(0x3f7)](_0x4863a4)['length']===0x0)return this[_0x4dc173(0x1c8)][_0x4dc173(0x3e7)]();const _0x408f2a=this[_0x4dc173(0x14b)]()[_0x4dc173(0x3cd)](_0x1b1bbb=>_0x1b1bbb['toJSON']());return generateDatasetsConfig(_0x408f2a,_0x4863a4);}[a0_0x136ce7(0x376)](_0x2a279f){const _0x20df4e=a0_0x136ce7,_0x8a9de7=this[_0x20df4e(0x25c)](_0x2a279f);return datasetsConfigToArray(_0x8a9de7);}[a0_0x136ce7(0x3c2)](){const _0x818ee5=a0_0x136ce7;return this[_0x818ee5(0x14b)]()[_0x818ee5(0x3cd)](_0x2245e3=>_0x2245e3['toConfig']());}['getStats'](){const _0xb49447=a0_0x136ce7;return{'total':this[_0xb49447(0x2d6)](),'virtualTables':this[_0xb49447(0x329)]()['length'],'realTables':this[_0xb49447(0x383)]()[_0xb49447(0x356)],'hasConflicts':this[_0xb49447(0x2a3)](),'conflictCount':this[_0xb49447(0x2fe)]()[_0xb49447(0x356)]};}[a0_0x136ce7(0x194)](){const _0xd0a382=a0_0x136ce7;return this['getItems']()[_0xd0a382(0x3cd)](_0x237bff=>_0x237bff['toJSON']());}[a0_0x136ce7(0x1fd)](){const _0x4e774f=a0_0x136ce7;return this[_0x4e774f(0x194)]();}[a0_0x136ce7(0x326)](){const _0x27b619=a0_0x136ce7;return _0x27b619(0x391)+this[_0x27b619(0x2d6)]()+_0x27b619(0x3dd)+this[_0x27b619(0x221)]['size']+_0x27b619(0x378);}static[a0_0x136ce7(0x2d2)](_0x21de9b){return new DatasetList(_0x21de9b);}static['initDataset'](_0x19a906){return new DatasetList(_0x19a906);}static['empty'](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x136ce7(0x3b6);function renderTemplate(_0x55f884,_0x26b8dd,_0x4b08b5={}){const _0xde0f89=a0_0x136ce7;let _0x238451=_0x55f884;return Object[_0xde0f89(0x225)](_0x4b08b5)[_0xde0f89(0x292)](([_0x58780c,_0x117620])=>{const _0x1ff13b=_0xde0f89,_0x464557=new RegExp('<!--\x5cs*CONDITION:\x5cs*'+_0x58780c+_0x1ff13b(0x1a5),'g');_0x238451=_0x238451[_0x1ff13b(0x218)](_0x464557,_0x117620?'$1':'');}),Object[_0xde0f89(0x225)](_0x26b8dd)[_0xde0f89(0x292)](([_0x3eda3f,_0x174bf2])=>{const _0x21a7bf=_0xde0f89;if(_0x174bf2!==undefined){const _0x191d16=new RegExp(_0x21a7bf(0x17e)+_0x3eda3f+'\x5c}\x5c}','g');_0x238451=_0x238451[_0x21a7bf(0x218)](_0x191d16,_0x174bf2);}}),_0x238451;}function generateSDKInitCode(_0x10349a,_0x54c6dc,_0x11ef5e,_0x1381e7,_0x4619f8){const _0x12f38e=a0_0x136ce7,_0x35617d={};_0x35617d[_0x12f38e(0x177)]=_0x10349a,_0x35617d[_0x12f38e(0x2e7)]=_0x54c6dc,_0x35617d[_0x12f38e(0x18d)]=_0x11ef5e,_0x35617d[_0x12f38e(0x370)]=_0x1381e7===_0x12f38e(0x3e4)?_0x12f38e(0x3e4):undefined;const _0x3d9af6={};return _0x3d9af6[_0x12f38e(0x370)]=_0x1381e7!==undefined&&_0x1381e7!=='online',_0x3d9af6[_0x12f38e(0x3e9)]=_0x4619f8===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x35617d,_0x3d9af6);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x136ce7(0x342);function generateAliasExplanation(_0x40a1e8,_0x2154c2,_0x4ffb67,_0x3f6a82){const _0x5d00de=a0_0x136ce7,_0x5ddded='dataset_'+_0x40a1e8,_0x1facfa=_0x5d00de(0x2a8),_0x4c6b1a={};return _0x4c6b1a[_0x5d00de(0x2e7)]=_0x40a1e8,_0x4c6b1a['datasetSDKKey']=_0x5ddded,_0x4c6b1a['tableName']=_0x2154c2,_0x4c6b1a[_0x5d00de(0x18d)]=_0x4ffb67,_0x4c6b1a[_0x5d00de(0x177)]=_0x3f6a82,_0x4c6b1a[_0x5d00de(0x1da)]=_0x1facfa,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x4c6b1a,{});}function DrivenDataDetailPlusMixin(_0x2631f0){const _0x195f96=a0_0x136ce7;return class extends _0x2631f0{[_0x195f96(0x268)](_0x4aa1fb){const _0x1fc1aa=_0x195f96,_0x317bb7=this;return{'appCode':_0x4aa1fb,'datasetSDKKey':_0x317bb7['getDatasetSDKKey'](),'alias':_0x317bb7['getModelAlias'](),'tableName':_0x317bb7[_0x1fc1aa(0x2cf)](),'datasetCode':_0x317bb7[_0x1fc1aa(0x2e7)]};}[_0x195f96(0x338)](_0x41e02a,_0x204d74=_0x195f96(0x380),_0x366837=![]){const _0x29dea=_0x195f96,_0x9a0c04=this;return generateSDKInitCode(_0x41e02a,_0x9a0c04[_0x29dea(0x2e7)],_0x9a0c04['getModelAlias'](),_0x204d74==='daily'?_0x204d74:undefined,_0x366837);}[_0x195f96(0x364)](_0x3be3a0,_0x3ae5c8,_0x3dd596={}){const _0x2cc0a9=_0x195f96,_0x1b23be=this,_0x56dcc4=_0x1b23be[_0x2cc0a9(0x23f)]()[_0x2cc0a9(0x320)](_0x171372=>_0x171372[_0x2cc0a9(0x39b)]()===_0x3be3a0);if(!_0x56dcc4)return null;const _0x5a755f={};_0x5a755f[_0x2cc0a9(0x3a6)]=_0x3dd596[_0x2cc0a9(0x1e8)]!==![];const _0x50e5ed=_0x1b23be[_0x2cc0a9(0x362)](_0x3be3a0,_0x5a755f);if(!_0x50e5ed)return null;const _0x1ac1fc=[];return _0x1ac1fc[_0x2cc0a9(0x37c)](_0x2cc0a9(0x2b1)+_0x56dcc4['getName']()+_0x2cc0a9(0x226)),_0x1ac1fc[_0x2cc0a9(0x37c)](_0x50e5ed['sdkCall'][_0x2cc0a9(0x14e)]),_0x1ac1fc[_0x2cc0a9(0x37c)](''),_0x3dd596[_0x2cc0a9(0x1d6)]!==![]&&(_0x1ac1fc['push'](_0x2cc0a9(0x208)),_0x1ac1fc[_0x2cc0a9(0x37c)](_0x50e5ed[_0x2cc0a9(0x247)][_0x2cc0a9(0x3d0)]),_0x1ac1fc['push'](''),_0x1ac1fc['push'](_0x50e5ed[_0x2cc0a9(0x247)][_0x2cc0a9(0x224)])),_0x1ac1fc[_0x2cc0a9(0x289)]('\x0a');}[_0x195f96(0x21a)](_0x36736e={}){const _0x4b51c3=_0x195f96,_0x44446f=this,_0x3641d4=_0x44446f[_0x4b51c3(0x25f)](),_0x1eed92=[];return _0x3641d4[_0x4b51c3(0x292)]((_0x57b40d,_0x152455)=>{const _0x32b2de=_0x4b51c3,_0x1953ce=this[_0x32b2de(0x364)](_0x57b40d[_0x32b2de(0x16a)],'demo-app',_0x36736e);_0x1953ce&&(_0x1eed92[_0x32b2de(0x37c)]('//\x20'+(_0x152455+0x1)+'.\x20'+_0x57b40d[_0x32b2de(0x30a)]),_0x1eed92[_0x32b2de(0x37c)](_0x1953ce),_0x1eed92[_0x32b2de(0x37c)](''));}),_0x1eed92[_0x4b51c3(0x289)]('\x0a');}[_0x195f96(0x33b)](_0x471a1d){const _0x4a4625=_0x195f96,_0x2a5458=this,_0x416c4c=_0x2a5458[_0x4a4625(0x315)](_0x471a1d);if(!_0x416c4c)return null;const _0x2bc91f={};return _0x2bc91f['name']=_0x416c4c[_0x4a4625(0x16a)],_0x2bc91f[_0x4a4625(0x30a)]=_0x416c4c[_0x4a4625(0x30a)],_0x2bc91f['method']=_0x416c4c[_0x4a4625(0x305)],_0x2bc91f[_0x4a4625(0x235)]=_0x416c4c[_0x4a4625(0x235)],_0x2bc91f['enabled']=_0x416c4c[_0x4a4625(0x1fa)],_0x2bc91f[_0x4a4625(0x310)]=_0x416c4c[_0x4a4625(0x1eb)][_0x4a4625(0x356)],_0x2bc91f[_0x4a4625(0x16e)]=_0x416c4c[_0x4a4625(0x3a5)]!==null,_0x2bc91f;}[_0x195f96(0x2dd)](_0x3e4c46={}){const _0x56c87b=_0x195f96,_0x437d42=this,_0x5a4094=_0x437d42[_0x56c87b(0x25f)]();return{'datasetName':_0x437d42[_0x56c87b(0x16a)],'datasetCode':_0x437d42[_0x56c87b(0x2e7)],'tableName':_0x437d42['getTableName'](),'totalOperations':_0x5a4094[_0x56c87b(0x356)],'operations':_0x5a4094[_0x56c87b(0x3cd)](_0x28bc8a=>({'name':_0x28bc8a[_0x56c87b(0x16a)],'displayName':_0x28bc8a['displayName'],'method':_0x28bc8a[_0x56c87b(0x305)],'enabled':_0x28bc8a[_0x56c87b(0x1fa)]}))};}['getOperationRequestFields'](_0x1d36f9){const _0x35408f=_0x195f96,_0x1eabc9=this,_0x49e023=_0x1eabc9['getOperationAnalysis'](_0x1d36f9);if(!_0x49e023)return[];return _0x49e023['requestFields'][_0x35408f(0x3cd)](_0x9450dd=>{const _0x1f8062=_0x35408f,_0xd6ad71=_0x1eabc9[_0x1f8062(0x385)](_0x9450dd);if(!_0xd6ad71)return null;const _0x2954b6={};return _0x2954b6[_0x1f8062(0x14e)]=_0x9450dd,_0x2954b6[_0x1f8062(0x16a)]=_0xd6ad71[_0x1f8062(0x16a)]||_0x9450dd,_0x2954b6;})[_0x35408f(0x394)](_0x48c0f5=>_0x48c0f5!==null);}[_0x195f96(0x1bc)](){const _0x4e0e1c=_0x195f96,_0x5651b3=this,_0x1dbd1f=new Set(_0x5651b3[_0x4e0e1c(0x25f)]()[_0x4e0e1c(0x3cd)](_0x236a37=>String(_0x236a37[_0x4e0e1c(0x359)]))),_0x5f2de3=[_0x4e0e1c(0x303),_0x4e0e1c(0x193),'update',_0x4e0e1c(0x1e9)];return _0x5f2de3['filter'](_0x28d9f2=>!_0x1dbd1f[_0x4e0e1c(0x3cf)](String(_0x28d9f2)));}[_0x195f96(0x397)](_0x524a4a=_0x195f96(0x1be)){const _0x1f8156=_0x195f96,_0x31facd=this;return generateAliasExplanation(_0x31facd[_0x1f8156(0x2e7)],_0x31facd['getTableName'](),_0x31facd[_0x1f8156(0x1a4)](),_0x524a4a);}};}function operationToAnalysis(_0x2df5d5){const _0x3cc21e=a0_0x136ce7;return{'name':_0x2df5d5[_0x3cc21e(0x39b)](),'displayName':_0x2df5d5[_0x3cc21e(0x1f7)](),'type':_0x2df5d5[_0x3cc21e(0x286)](),'method':_0x2df5d5[_0x3cc21e(0x36a)](),'path':_0x2df5d5[_0x3cc21e(0x1c7)](),'fullUrl':_0x2df5d5[_0x3cc21e(0x1f1)](),'requestFields':_0x2df5d5[_0x3cc21e(0x26f)](),'requestParams':_0x2df5d5[_0x3cc21e(0x223)](),'responseSchema':_0x2df5d5[_0x3cc21e(0x32c)](),'requestExample':_0x2df5d5[_0x3cc21e(0x22f)](),'responseExample':_0x2df5d5[_0x3cc21e(0x1c3)](),'enabled':_0x2df5d5[_0x3cc21e(0x2d0)]()};}function operationsToAnalyses(_0x273ef3){const _0x43cc6a=a0_0x136ce7;return _0x273ef3[_0x43cc6a(0x3cd)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0xecc4f0){const _0x54b89e=a0_0x136ce7,_0x30974d=_0xecc4f0[_0x54b89e(0x320)](_0xa54d8b=>_0xa54d8b[_0x54b89e(0x16a)]===_0x54b89e(0x394)),_0x18793f=_0xecc4f0['filter'](_0xe4aae1=>_0xe4aae1['name']!==_0x54b89e(0x394));return _0x30974d?[_0x30974d,..._0x18793f]:_0x18793f;}function filterOperationAnalyses(_0x1c850b,_0xf59da4={}){const _0x58d889=a0_0x136ce7;let _0x38defb=_0x1c850b;return!_0xf59da4[_0x58d889(0x270)]&&(_0x38defb=_0x38defb[_0x58d889(0x394)](_0x13e862=>_0x13e862[_0x58d889(0x1fa)])),_0xf59da4['filterBlacklist']!==![]&&(_0x38defb=filterApiOperations(_0x38defb)),_0xf59da4[_0x58d889(0x29c)]&&(_0x38defb=_0x38defb[_0x58d889(0x394)](_0xf59da4[_0x58d889(0x29c)])),sortOperationsWithFilterFirst(_0x38defb);}function getOperationStats(_0x109c4c){const _0x533e58=a0_0x136ce7,_0x106d87=_0x109c4c[_0x533e58(0x394)](_0x544cac=>_0x544cac[_0x533e58(0x1fa)]);return{'total':_0x109c4c[_0x533e58(0x356)],'enabled':_0x106d87[_0x533e58(0x356)],'disabled':_0x109c4c[_0x533e58(0x356)]-_0x106d87[_0x533e58(0x356)],'byType':getCountByType(_0x106d87),'byMethod':getCountByMethod(_0x106d87)};}function getCountByType(_0x17247c){const _0x4d6565=a0_0x136ce7,_0x564b13={};return _0x17247c[_0x4d6565(0x292)](_0x4ca399=>{const _0x414353=_0x4d6565;if(_0x4ca399[_0x414353(0x359)])_0x564b13[_0x4ca399[_0x414353(0x359)]]=(_0x564b13[_0x4ca399[_0x414353(0x359)]]||0x0)+0x1;}),_0x564b13;}function getCountByMethod(_0x354728){const _0x5ae150={};return _0x354728['forEach'](_0x1f4b6e=>{const _0x19eacc=a0_0x9109;_0x5ae150[_0x1f4b6e[_0x19eacc(0x305)]]=(_0x5ae150[_0x1f4b6e[_0x19eacc(0x305)]]||0x0)+0x1;}),_0x5ae150;}function supportsCRUD(_0x4493ea){const _0x5d60ab=a0_0x136ce7,_0x4c51bd=new Set(_0x4493ea[_0x5d60ab(0x3cd)](_0x443f9e=>_0x443f9e[_0x5d60ab(0x359)])[_0x5d60ab(0x394)](Boolean));return _0x4c51bd['has']('create')&&_0x4c51bd[_0x5d60ab(0x3cf)]('getList')&&_0x4c51bd['has'](_0x5d60ab(0x19a))&&_0x4c51bd['has'](_0x5d60ab(0x1e9));}function createOperationDocMeta(_0x25ae85,_0x5c0e18,_0x1261f4,_0x396b5c,_0x5cfb78,_0x3ae850){const _0x27f996=a0_0x136ce7,_0x4e1e4d={};return _0x4e1e4d[_0x27f996(0x3a6)]=_0x3ae850?.[_0x27f996(0x3a6)],{'operation':_0x25ae85,'operationInstance':_0x5c0e18,'basicInfo':{'name':_0x25ae85[_0x27f996(0x16a)],'displayName':_0x25ae85[_0x27f996(0x30a)],'method':_0x25ae85['method'],'path':_0x25ae85[_0x27f996(0x235)],'fullUrl':_0x25ae85[_0x27f996(0x3c3)],'enabled':_0x25ae85[_0x27f996(0x1fa)]},'sdkCall':{'datasetCode':_0x1261f4,'datasetSDKKey':_0x396b5c,'tableName':_0x5cfb78,'operationName':_0x25ae85[_0x27f996(0x16a)],'params':_0x25ae85['requestFields'],'code':_0x5c0e18[_0x27f996(0x317)](_0x396b5c,_0x4e1e4d)},'usageExample':_0x5c0e18[_0x27f996(0x1a1)](_0x396b5c)};}function createOperationsOverviewData(_0x2f3af3){const _0x3555c9=a0_0x136ce7,_0xa9a531={};_0xa9a531[_0x3555c9(0x186)]=_0x3555c9(0x16a),_0xa9a531['label']=_0x3555c9(0x386);const _0x3e4513={};_0x3e4513[_0x3555c9(0x186)]=_0x3555c9(0x30a),_0x3e4513[_0x3555c9(0x19d)]=_0x3555c9(0x381);const _0x2348a8={};_0x2348a8[_0x3555c9(0x186)]='method',_0x2348a8['label']='方法';const _0x3c6b52={};_0x3c6b52['index']=_0x3555c9(0x36f),_0x3c6b52[_0x3555c9(0x19d)]='SDK\x20调用';const _0x38ae9b={};_0x38ae9b[_0x3555c9(0x186)]=_0x3555c9(0x235),_0x38ae9b[_0x3555c9(0x19d)]='API路径';const _0x17a932={};_0x17a932[_0x3555c9(0x186)]=_0x3555c9(0x18f),_0x17a932[_0x3555c9(0x19d)]=_0x3555c9(0x3fa);const _0x4cd38d=[_0xa9a531,_0x3e4513,_0x2348a8,_0x3c6b52,_0x38ae9b,_0x17a932],_0x8c4ed0=_0x2f3af3[_0x3555c9(0x3cd)](_0x5be6fb=>{const _0x2ecc57=_0x3555c9,{basicInfo:_0x59a1d2,sdkCall:_0x2e68ab}=_0x5be6fb,_0x129022=_0x2e68ab['code']['replace'](/^const\s+\w+\s*=\s*await\s+/,'')[_0x2ecc57(0x218)](/;$/,''),_0x5356d8={};return _0x5356d8[_0x2ecc57(0x30a)]=_0x59a1d2[_0x2ecc57(0x30a)],_0x5356d8[_0x2ecc57(0x16a)]=_0x59a1d2[_0x2ecc57(0x16a)],_0x5356d8['method']=_0x59a1d2[_0x2ecc57(0x305)],_0x5356d8['path']=_0x59a1d2[_0x2ecc57(0x235)],_0x5356d8[_0x2ecc57(0x36f)]=_0x129022,_0x5356d8['sdkCallCode']=_0x2e68ab['code'],_0x5356d8;}),_0x31096b={};return _0x31096b['tableColumns']=_0x4cd38d,_0x31096b['tableData']=_0x8c4ed0,_0x31096b;}function createDatasetDocMeta(_0x8bcfe1,_0x136f51,_0x26b2fd,_0x254db1,_0x2a2d82,_0x29e738,_0x3f15bd,_0x3225f4,_0x12a08b){const _0x399229=a0_0x136ce7,_0x4d9ffb={};return _0x4d9ffb['title']=_0x8bcfe1+_0x399229(0x185),_0x4d9ffb[_0x399229(0x388)]={},_0x4d9ffb['operations']=_0x12a08b,_0x4d9ffb[_0x399229(0x388)][_0x399229(0x16a)]=_0x8bcfe1,_0x4d9ffb[_0x399229(0x388)][_0x399229(0x14e)]=_0x136f51,_0x4d9ffb[_0x399229(0x388)][_0x399229(0x39a)]=_0x26b2fd,_0x4d9ffb[_0x399229(0x388)][_0x399229(0x211)]=_0x254db1,_0x4d9ffb[_0x399229(0x388)]['tableKey']=_0x2a2d82,_0x4d9ffb[_0x399229(0x388)][_0x399229(0x301)]=_0x29e738,_0x4d9ffb[_0x399229(0x388)][_0x399229(0x170)]=_0x3f15bd,_0x4d9ffb[_0x399229(0x388)][_0x399229(0x29f)]=0x0,_0x4d9ffb[_0x399229(0x388)]['systemFieldCount']=0x0,_0x4d9ffb[_0x399229(0x388)][_0x399229(0x222)]=_0x3225f4,_0x4d9ffb[_0x399229(0x388)][_0x399229(0x3bc)]=_0x12a08b[_0x399229(0x356)],_0x4d9ffb;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];[a0_0x136ce7(0x1f6)](){return'v1';}[a0_0x136ce7(0x1a4)](){const _0x3cd7dd=a0_0x136ce7;return this[_0x3cd7dd(0x1a2)]();}['getOperationAnalyses'](_0x116d8f=![]){const _0x1fc143=a0_0x136ce7;if(!_0x116d8f&&this['_operationAnalyses'])return this[_0x1fc143(0x3ca)];const _0x446446=this['getOperations']();return this['_operationAnalyses']=operationsToAnalyses(_0x446446),this[_0x1fc143(0x3ca)];}[a0_0x136ce7(0x25f)](){const _0x4fde23=a0_0x136ce7,_0x59afd0={};return _0x59afd0[_0x4fde23(0x270)]=![],_0x59afd0[_0x4fde23(0x2b4)]=!![],this[_0x4fde23(0x3d2)](_0x59afd0);}[a0_0x136ce7(0x3d2)](_0x4e1e7b={}){const _0x3e29ae=a0_0x136ce7;return filterOperationAnalyses(this[_0x3e29ae(0x2ca)](),_0x4e1e7b);}[a0_0x136ce7(0x315)](_0x34e137){const _0xbcc69=a0_0x136ce7;return this[_0xbcc69(0x2ca)]()[_0xbcc69(0x320)](_0x1f40a5=>_0x1f40a5[_0xbcc69(0x16a)]===_0x34e137);}[a0_0x136ce7(0x290)](_0x71743){const _0x2ab3c8=a0_0x136ce7;return this['getOperationAnalyses']()['filter'](_0x328688=>_0x328688[_0x2ab3c8(0x359)]===_0x71743);}[a0_0x136ce7(0x362)](_0x35ac77,_0x16aafd){const _0x4067d6=a0_0x136ce7,_0x1580a6=this[_0x4067d6(0x315)](_0x35ac77);if(!_0x1580a6)return null;const _0x5c567d=this[_0x4067d6(0x23f)]()[_0x4067d6(0x320)](_0x5c5ed6=>_0x5c5ed6[_0x4067d6(0x39b)]()===_0x1580a6[_0x4067d6(0x16a)]);if(!_0x5c567d)throw new Error('Operation\x20not\x20found:\x20'+_0x1580a6[_0x4067d6(0x16a)]);return createOperationDocMeta(_0x1580a6,_0x5c567d,this[_0x4067d6(0x2e7)],this[_0x4067d6(0x243)](),this['getTableName'](),_0x16aafd);}[a0_0x136ce7(0x1e7)](_0xd7a6b6={}){const _0x34deb6=a0_0x136ce7,_0x496751=this['getFilteredOperationAnalyses'](_0xd7a6b6),_0x230b4b=_0x496751['map'](_0x19abc4=>this[_0x34deb6(0x362)](_0x19abc4['name']))[_0x34deb6(0x394)](_0x4f436d=>_0x4f436d!==null);return createDatasetDocMeta(this['name'],this[_0x34deb6(0x2e7)],this[_0x34deb6(0x2cf)](),this[_0x34deb6(0x243)](),this[_0x34deb6(0x1a2)](),this[_0x34deb6(0x301)],this[_0x34deb6(0x21b)](),this[_0x34deb6(0x31f)](),_0x230b4b);}[a0_0x136ce7(0x19b)](_0x1e4e69){return createOperationsOverviewData(_0x1e4e69);}[a0_0x136ce7(0x2a1)](){const _0x48d001=a0_0x136ce7;return supportsCRUD(this[_0x48d001(0x25f)]());}['getOperationStats'](){const _0x3834bb=a0_0x136ce7;return getOperationStats(this[_0x3834bb(0x2ca)]());}['toString'](){const _0x134123=a0_0x136ce7,_0x206b4e=this[_0x134123(0x35e)]();return _0x134123(0x173)+this[_0x134123(0x16a)]+',\x20'+this[_0x134123(0x2e7)]+',\x20'+this[_0x134123(0x21b)]()+_0x134123(0x25d)+_0x206b4e['enabled']+'/'+_0x206b4e[_0x134123(0x20d)]+_0x134123(0x291);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{['_operationAnalyses'];['getVersion'](){return'v2';}[a0_0x136ce7(0x1a4)](){const _0x10624a=a0_0x136ce7;return this[_0x10624a(0x1a2)]();}[a0_0x136ce7(0x2ca)](_0x16bef7=![]){const _0xeea539=a0_0x136ce7;if(!_0x16bef7&&this[_0xeea539(0x3ca)])return this[_0xeea539(0x3ca)];const _0x5ac134=this[_0xeea539(0x23f)]();return this[_0xeea539(0x3ca)]=operationsToAnalyses(_0x5ac134),this['_operationAnalyses'];}['getEnabledOperationAnalyses'](){const _0x8fdf97=a0_0x136ce7,_0x309a01={};return _0x309a01['includeDisabled']=![],_0x309a01['filterBlacklist']=!![],this[_0x8fdf97(0x3d2)](_0x309a01);}[a0_0x136ce7(0x3d2)](_0x5a124d={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x5a124d);}[a0_0x136ce7(0x315)](_0x3d074f){const _0x38ddf4=a0_0x136ce7;return this['getOperationAnalyses']()[_0x38ddf4(0x320)](_0x5bdb99=>_0x5bdb99['name']===_0x3d074f);}[a0_0x136ce7(0x290)](_0x328605){const _0x60d644=a0_0x136ce7;return this[_0x60d644(0x2ca)]()[_0x60d644(0x394)](_0x447745=>_0x447745[_0x60d644(0x359)]===_0x328605);}[a0_0x136ce7(0x362)](_0x1e4287,_0x281060){const _0xd24008=a0_0x136ce7,_0x22ac27=this['getOperationAnalysis'](_0x1e4287);if(!_0x22ac27)return null;const _0x2bd902=this['getOperations']()[_0xd24008(0x320)](_0x58acc4=>_0x58acc4[_0xd24008(0x39b)]()===_0x22ac27['name']);if(!_0x2bd902)throw new Error('Operation\x20not\x20found:\x20'+_0x22ac27[_0xd24008(0x16a)]);return createOperationDocMeta(_0x22ac27,_0x2bd902,this[_0xd24008(0x2e7)],this[_0xd24008(0x243)](),this[_0xd24008(0x2cf)](),_0x281060);}[a0_0x136ce7(0x1e7)](_0xa818e5={}){const _0x4a696c=a0_0x136ce7,_0x5e1ad8=this['getFilteredOperationAnalyses'](_0xa818e5),_0x13eb27=_0x5e1ad8[_0x4a696c(0x3cd)](_0x17e65a=>this[_0x4a696c(0x362)](_0x17e65a[_0x4a696c(0x16a)]))[_0x4a696c(0x394)](_0x2be9dc=>_0x2be9dc!==null);return createDatasetDocMeta(this['name'],this[_0x4a696c(0x2e7)],this[_0x4a696c(0x2cf)](),this[_0x4a696c(0x243)](),this[_0x4a696c(0x1a2)](),this[_0x4a696c(0x301)],this[_0x4a696c(0x21b)](),this[_0x4a696c(0x31f)](),_0x13eb27);}['getOperationsOverviewData'](_0x15b5d5){return createOperationsOverviewData(_0x15b5d5);}[a0_0x136ce7(0x2a1)](){const _0x5a9dee=a0_0x136ce7;return supportsCRUD(this[_0x5a9dee(0x25f)]());}[a0_0x136ce7(0x35e)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x136ce7(0x326)](){const _0xa18f2e=a0_0x136ce7,_0xd68544=this[_0xa18f2e(0x35e)]();return'DrivenDataDetailPlusV2('+this[_0xa18f2e(0x16a)]+',\x20'+this[_0xa18f2e(0x2e7)]+',\x20'+this[_0xa18f2e(0x21b)]()+_0xa18f2e(0x25d)+_0xd68544[_0xa18f2e(0x1fa)]+'/'+_0xd68544[_0xa18f2e(0x20d)]+_0xa18f2e(0x1ff);}}function detectDatasetVersion3(_0x125acb){const _0x271625=a0_0x136ce7;if(_0x125acb[_0x271625(0x3c8)]==='v2'&&'fields'in _0x125acb&&Array[_0x271625(0x1c2)](_0x125acb[_0x271625(0x15e)]))return'v2';return'v1';}class DrivenDataDetailPlus{['_instance'];constructor(_0x5a7d18){const _0x228fb5=a0_0x136ce7,_0x4033cd=detectDatasetVersion3(_0x5a7d18);this[_0x228fb5(0x3fd)]=_0x4033cd==='v2'?new DrivenDataDetailPlusV2(_0x5a7d18):new DrivenDataDetailPlusV1(_0x5a7d18);}get['name'](){const _0x4f12a0=a0_0x136ce7;return this[_0x4f12a0(0x3fd)][_0x4f12a0(0x16a)];}get['id'](){const _0x9dedd3=a0_0x136ce7;return this[_0x9dedd3(0x3fd)]['id'];}get['datasetCode'](){const _0x8efe1=a0_0x136ce7;return this[_0x8efe1(0x3fd)][_0x8efe1(0x2e7)];}get[a0_0x136ce7(0x301)](){const _0x2eefc1=a0_0x136ce7;return this['_instance'][_0x2eefc1(0x301)];}['getVersion'](){const _0x20fcea=a0_0x136ce7,_0x4565e2=this[_0x20fcea(0x3fd)][_0x20fcea(0x1f6)]();return _0x4565e2==='v2'?'v2':'v1';}[a0_0x136ce7(0x21b)](){const _0x5a405e=a0_0x136ce7;return this[_0x5a405e(0x3fd)][_0x5a405e(0x21b)]();}[a0_0x136ce7(0x31f)](){return this['_instance']['getOperationCount']();}[a0_0x136ce7(0x1de)](){const _0x5d5061=a0_0x136ce7;return this['_instance'][_0x5d5061(0x1de)]();}[a0_0x136ce7(0x23f)](){const _0x3ce8b3=a0_0x136ce7;return this['_instance'][_0x3ce8b3(0x23f)]();}[a0_0x136ce7(0x385)](_0xce6ffd){const _0x3df0b2=a0_0x136ce7;return this[_0x3df0b2(0x3fd)]['getFieldInstance'](_0xce6ffd);}[a0_0x136ce7(0x2cf)](){const _0x1a2bb3=a0_0x136ce7;return this[_0x1a2bb3(0x3fd)]['getTableName']();}['getTableKey'](){const _0x4c65d2=a0_0x136ce7;return this[_0x4c65d2(0x3fd)]['getTableKey']();}[a0_0x136ce7(0x243)](){const _0x503b7b=a0_0x136ce7;return this[_0x503b7b(0x3fd)][_0x503b7b(0x243)]();}[a0_0x136ce7(0x271)](){const _0x53e3ee=a0_0x136ce7;return this[_0x53e3ee(0x3fd)][_0x53e3ee(0x271)]();}['getEnumFields'](){const _0x36ec70=a0_0x136ce7;return this[_0x36ec70(0x3fd)][_0x36ec70(0x2a2)]();}[a0_0x136ce7(0x1ad)](){const _0x397134=a0_0x136ce7;return this['_instance'][_0x397134(0x1ad)]();}[a0_0x136ce7(0x255)](_0x3d0d52){const _0x46a165=a0_0x136ce7;return this[_0x46a165(0x3fd)][_0x46a165(0x255)](_0x3d0d52);}['getField'](_0x36e111){const _0x45193d=a0_0x136ce7;return this[_0x45193d(0x3fd)][_0x45193d(0x168)](_0x36e111);}['getFieldOptions'](_0xf1732b){const _0x2736cb=a0_0x136ce7;return this['_instance'][_0x2736cb(0x1b2)](_0xf1732b);}[a0_0x136ce7(0x345)](_0x7aa7e9){const _0x427e2c=a0_0x136ce7;return this['_instance'][_0x427e2c(0x345)](_0x7aa7e9);}[a0_0x136ce7(0x198)](_0x5b66db){const _0x48799c=a0_0x136ce7;return this[_0x48799c(0x3fd)]['getEnumFieldMeta'](_0x5b66db);}[a0_0x136ce7(0x3d3)](_0x288017,_0x3ef19a){const _0x1d53e1=a0_0x136ce7;return this['_instance'][_0x1d53e1(0x3d3)](_0x288017,_0x3ef19a);}[a0_0x136ce7(0x316)](_0x4aeb39){const _0x33a6f9=a0_0x136ce7;return this[_0x33a6f9(0x3fd)][_0x33a6f9(0x316)](_0x4aeb39);}[a0_0x136ce7(0x16d)](){const _0x1f25bb=a0_0x136ce7;return this[_0x1f25bb(0x3fd)][_0x1f25bb(0x16d)]();}[a0_0x136ce7(0x3f6)](){const _0x5db85c=a0_0x136ce7;return this[_0x5db85c(0x3fd)][_0x5db85c(0x3f6)]();}[a0_0x136ce7(0x3a3)](){const _0xb686cd=a0_0x136ce7;return this[_0xb686cd(0x3fd)][_0xb686cd(0x3a3)]();}[a0_0x136ce7(0x31b)](_0xd45cad){const _0x4f9e88=a0_0x136ce7;return this[_0x4f9e88(0x3fd)][_0x4f9e88(0x31b)](_0xd45cad);}[a0_0x136ce7(0x267)](){const _0x1ad798=a0_0x136ce7;return this[_0x1ad798(0x3fd)][_0x1ad798(0x267)]();}[a0_0x136ce7(0x35d)](){const _0x2fd64c=a0_0x136ce7;return this[_0x2fd64c(0x3fd)]['getRawDbtableConfig']();}['getSource'](){const _0x461e59=a0_0x136ce7;return this[_0x461e59(0x3fd)]['getSource']();}['getOperationAnalyses'](_0x38de33){const _0x2f47a4=a0_0x136ce7;return this[_0x2f47a4(0x3fd)][_0x2f47a4(0x2ca)](_0x38de33);}[a0_0x136ce7(0x25f)](){return this['_instance']['getEnabledOperationAnalyses']();}[a0_0x136ce7(0x3d2)](_0x5a1423){const _0x8095=a0_0x136ce7;return this[_0x8095(0x3fd)]['getFilteredOperationAnalyses'](_0x5a1423);}[a0_0x136ce7(0x315)](_0x38c6a1){const _0x108674=a0_0x136ce7;return this[_0x108674(0x3fd)][_0x108674(0x315)](_0x38c6a1);}['getOperationAnalysesByType'](_0x172f14){const _0x4b8004=a0_0x136ce7;return this[_0x4b8004(0x3fd)]['getOperationAnalysesByType'](_0x172f14);}[a0_0x136ce7(0x362)](_0x5e8dc2,_0x210a8b){const _0x12a12b=a0_0x136ce7;return this[_0x12a12b(0x3fd)]['getOperationDocMeta'](_0x5e8dc2,_0x210a8b);}[a0_0x136ce7(0x1e7)](_0x3acc31){const _0x3c1f8c=a0_0x136ce7;return this[_0x3c1f8c(0x3fd)]['getDatasetDocMeta'](_0x3acc31);}[a0_0x136ce7(0x19b)](_0x1a1fcd){const _0x732297=a0_0x136ce7;return this[_0x732297(0x3fd)]['getOperationsOverviewData'](_0x1a1fcd);}['getModelAlias'](){const _0x34413b=a0_0x136ce7;return this[_0x34413b(0x3fd)][_0x34413b(0x1a4)]();}['supportsCRUD'](){const _0x445dae=a0_0x136ce7;return this[_0x445dae(0x3fd)]['supportsCRUD']();}['getOperationStats'](){const _0x5e05d6=a0_0x136ce7;return this['_instance'][_0x5e05d6(0x35e)]();}[a0_0x136ce7(0x326)](){const _0x3bdb5d=a0_0x136ce7;return this[_0x3bdb5d(0x3fd)][_0x3bdb5d(0x326)]();}[a0_0x136ce7(0x397)](){const _0x53c058=a0_0x136ce7;return this[_0x53c058(0x3fd)][_0x53c058(0x397)]();}[a0_0x136ce7(0x3e8)](_0x34946e){return this['_instance']['getOperation'](_0x34946e);}['getSDKInitData'](_0x13215f){const _0x34ea5e=a0_0x136ce7;return this[_0x34ea5e(0x3fd)][_0x34ea5e(0x268)](_0x13215f);}[a0_0x136ce7(0x338)](_0x19cb8f,_0x27ed8e,_0xbf36f0){const _0x56a914=a0_0x136ce7;return this['_instance'][_0x56a914(0x338)](_0x19cb8f,_0x27ed8e,_0xbf36f0);}[a0_0x136ce7(0x364)](_0x5422a9,_0x16c336,_0x8d6f4d){const _0x2ff1db=a0_0x136ce7;return this[_0x2ff1db(0x3fd)]['generateFullSDKExample'](_0x5422a9,_0x16c336,_0x8d6f4d);}[a0_0x136ce7(0x21a)](_0xc51f7a){const _0x4c5d99=a0_0x136ce7;return this[_0x4c5d99(0x3fd)][_0x4c5d99(0x21a)](_0xc51f7a);}[a0_0x136ce7(0x33b)](_0x3c0271){const _0x17d561=a0_0x136ce7;return this[_0x17d561(0x3fd)][_0x17d561(0x33b)](_0x3c0271);}[a0_0x136ce7(0x2dd)](_0x556684){const _0xd33212=a0_0x136ce7;return this[_0xd33212(0x3fd)][_0xd33212(0x2dd)](_0x556684);}[a0_0x136ce7(0x216)](_0x5b25b6){const _0x3c457c=a0_0x136ce7;return this['_instance'][_0x3c457c(0x216)](_0x5b25b6);}[a0_0x136ce7(0x1bc)](){const _0x2054a4=a0_0x136ce7;return this[_0x2054a4(0x3fd)][_0x2054a4(0x1bc)]();}['getInternalInstance'](){return this['_instance'];}}function createDrivenDataDetailPlus(_0x4af4c3,_0x132232={}){const _0x2b0707=a0_0x136ce7;if(_0x132232[_0x2b0707(0x1ab)]==='v1')return new DrivenDataDetailPlusV1(_0x4af4c3);if(_0x132232['forceVersion']==='v2')return new DrivenDataDetailPlusV2(_0x4af4c3);if(_0x4af4c3[_0x2b0707(0x3c8)]==='v2'||'dataset'in _0x4af4c3)return new DrivenDataDetailPlusV2(_0x4af4c3);return new DrivenDataDetailPlusV1(_0x4af4c3);}function isPlusV2Instance(_0x17cad){return _0x17cad['getVersion']()==='v2';}function isPlusV1Instance(_0x5f56a5){const _0x59ce48=a0_0x136ce7;return _0x5f56a5[_0x59ce48(0x1f6)]()==='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_0x226830=a0_0x41fd;(function(_0x185c50,_0x3580b0){const _0x41a7b2=a0_0x41fd,_0x3a8b49=_0x185c50();while(!![]){try{const _0x4e4c12=-parseInt(_0x41a7b2(0x1b4))/0x1+parseInt(_0x41a7b2(0x219))/0x2+-parseInt(_0x41a7b2(0x2e2))/0x3*(parseInt(_0x41a7b2(0x2fb))/0x4)+parseInt(_0x41a7b2(0x388))/0x5+parseInt(_0x41a7b2(0x335))/0x6+-parseInt(_0x41a7b2(0x286))/0x7*(-parseInt(_0x41a7b2(0x1f3))/0x8)+parseInt(_0x41a7b2(0x352))/0x9*(-parseInt(_0x41a7b2(0x382))/0xa);if(_0x4e4c12===_0x3580b0)break;else _0x3a8b49['push'](_0x3a8b49['shift']());}catch(_0x3d46a9){_0x3a8b49['push'](_0x3a8b49['shift']());}}}(a0_0x2862,0x5d77a));function toCamelCase(_0x32e24e){const _0x6d5d60=a0_0x41fd;if(!_0x32e24e)return'';return _0x32e24e[_0x6d5d60(0x1ac)](/[_-]/)[_0x6d5d60(0x30b)]((_0x274ddc,_0x3b64f0)=>{const _0x100b45=_0x6d5d60;if(_0x3b64f0===0x0)return _0x274ddc['toLowerCase']();return _0x274ddc['charAt'](0x0)[_0x100b45(0x3f2)]()+_0x274ddc[_0x100b45(0x2aa)](0x1)[_0x100b45(0x37b)]();})[_0x6d5d60(0x38c)]('');}function toPascalCase(_0x2de957){const _0x40a79c=a0_0x41fd;if(!_0x2de957)return'';const _0x5a91b7=toCamelCase(_0x2de957);return _0x5a91b7[_0x40a79c(0x200)](0x0)[_0x40a79c(0x3f2)]()+_0x5a91b7[_0x40a79c(0x2aa)](0x1);}function toSnakeCase(_0x34949c){const _0x360a70=a0_0x41fd;if(!_0x34949c)return'';return _0x34949c['replace'](/([A-Z])/g,_0x360a70(0x183))[_0x360a70(0x37b)]()['replace'](/^_/,'');}function toKebabCase(_0x348d57){const _0x3db693=a0_0x41fd;if(!_0x348d57)return'';return _0x348d57[_0x3db693(0x1dd)](/([A-Z])/g,_0x3db693(0x1cd))[_0x3db693(0x37b)]()[_0x3db693(0x1dd)](/^-/,'');}function normalizeFieldName(_0x211861){const _0x3b6832=a0_0x41fd;if(!_0x211861)return'';return _0x211861[_0x3b6832(0x1f8)]()['replace'](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')[_0x3b6832(0x1dd)](/_+/g,'_')['replace'](/^_|_$/g,'');}function getTableName(_0x2288e6){const _0x39fa01=a0_0x41fd;if(!_0x2288e6)return'dataset_000000';if(_0x2288e6[_0x39fa01(0x2bc)]?.[_0x39fa01(0x214)])return _0x2288e6['dbtableConfig'][_0x39fa01(0x214)];const _0x5ba48b=_0x2288e6[_0x39fa01(0x2c0)]||_0x2288e6[_0x39fa01(0x3b4)]||_0x2288e6['modelCode'];if(_0x5ba48b)return generateTableNameFromCode(_0x5ba48b);return _0x39fa01(0x3d0);}function getTableKey(_0x466b36){const _0x303d90=a0_0x41fd;if(typeof _0x466b36===_0x303d90(0x25e))return toCamelCase(_0x466b36);const _0x59c34c=getTableName(_0x466b36);return toCamelCase(_0x59c34c);}function generateTableNameFromCode(_0x2084c1){const _0x499160=a0_0x41fd;if(!_0x2084c1)return _0x499160(0x3d0);const _0x559d66=_0x2084c1['slice'](-0x6)[_0x499160(0x3ba)](0x6,'0');return _0x499160(0x311)+_0x559d66;}function isVirtualTableName(_0x130b3a){const _0x51336a=a0_0x41fd;return/^dataset_[a-zA-Z0-9]{6}$/[_0x51336a(0x36d)](_0x130b3a);}function generateModelKeyFromCode(_0x1180a5){const _0x418fda=a0_0x41fd;if(!_0x1180a5)return _0x418fda(0x177);return _0x418fda(0x311)+_0x1180a5;}function getDbName(_0x1b8be9){const _0x463fab=a0_0x41fd;return _0x1b8be9['dbtableConfig']?.[_0x463fab(0x3bd)]||_0x1b8be9[_0x463fab(0x2bc)]?.['dblinkInfoDTO']?.['dbName']||'';}function generateDatasetsConfig(_0x300b20,_0x53725f={}){const _0x20d8b2=a0_0x41fd,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x342cbf,filter:_0x547478}=_0x53725f,_0x146e9a=_0x547478?_0x300b20[_0x20d8b2(0x196)](_0x547478):_0x300b20,_0xb53825=new Map();for(const _0x3958e9 of _0x146e9a){const _0x5e8432=getTableName(_0x3958e9),_0x5b1f59=getDbName(_0x3958e9);!_0xb53825['has'](_0x5e8432)&&_0xb53825[_0x20d8b2(0x162)](_0x5e8432,new Set()),_0xb53825[_0x20d8b2(0x394)](_0x5e8432)[_0x20d8b2(0x1ba)](_0x5b1f59);}const _0x4b4f7c=new Set();for(const [_0x376576,_0x35e377]of _0xb53825){_0x35e377[_0x20d8b2(0x2cd)]>0x1&&_0x4b4f7c['add'](_0x376576);}const _0x29644a={},_0x145913=new Set();for(const _0xa3606c of _0x146e9a){const _0x163808=getTableName(_0xa3606c);if(enableDeduplication&&_0x145913['has'](_0x163808)){console[_0x20d8b2(0x27a)](_0x20d8b2(0x2e8)+_0x163808+_0x20d8b2(0x2e5)+_0xa3606c[_0x20d8b2(0x2c4)]+'\x20('+_0xa3606c[_0x20d8b2(0x2c0)]+')');continue;}_0x145913[_0x20d8b2(0x1ba)](_0x163808);const _0x5754f3=_0x342cbf?_0x342cbf(_0x163808,_0xa3606c):getTableKey(_0x163808),_0x1e078f=getDbName(_0xa3606c),_0xed5e1f=_0x4b4f7c['has'](_0x163808)&&_0x1e078f?getTableKey(_0x1e078f)+'_'+_0x5754f3:_0x5754f3;_0x29644a[_0x5754f3]={'key':_0x5754f3,'alias':_0xed5e1f,'tableName':_0x163808,'datasetCode':_0xa3606c[_0x20d8b2(0x2c0)],'name':_0xa3606c[_0x20d8b2(0x2c4)],'id':_0xa3606c['id'],'dbName':_0x1e078f};}return _0x29644a;}function generateFullDatasetsConfig(_0x580f81,_0x12eaa8={}){const _0xaaa56b=a0_0x41fd,{filter:_0x5f0cf3,datasetNameGenerator:_0x5aa4ee}=_0x12eaa8,_0xcba82e=_0x5f0cf3?_0x580f81[_0xaaa56b(0x196)](_0x5f0cf3):_0x580f81,_0x48db32=new Map();for(const _0x45dccd of _0xcba82e){const _0x467997=getTableName(_0x45dccd),_0x12a100=getDbName(_0x45dccd);!_0x48db32[_0xaaa56b(0x24e)](_0x467997)&&_0x48db32[_0xaaa56b(0x162)](_0x467997,new Set()),_0x48db32[_0xaaa56b(0x394)](_0x467997)[_0xaaa56b(0x1ba)](_0x12a100);}const _0x12c33d=new Set();for(const [_0x72acd6,_0x238a21]of _0x48db32){_0x238a21[_0xaaa56b(0x2cd)]>0x1&&_0x12c33d[_0xaaa56b(0x1ba)](_0x72acd6);}const _0x27094f=groupByTableName(_0xcba82e),_0x5816a5={};for(const [_0xd1822f,_0x3b8507]of Object[_0xaaa56b(0x39c)](_0x27094f)){if(_0x3b8507[_0xaaa56b(0x28d)]===0x1){const _0x5a2558=_0x3b8507[0x0],_0x723460=_0x5aa4ee?_0x5aa4ee(_0xd1822f,_0x5a2558):getTableKey(_0xd1822f),_0x475b34=getDbName(_0x5a2558),_0x1d7d93=_0x12c33d['has'](_0xd1822f)&&_0x475b34?getTableKey(_0x475b34)+'_'+_0x723460:_0x723460;_0x5816a5[_0x723460]={'key':_0x723460,'alias':_0x1d7d93,'tableName':_0xd1822f,'datasetCode':_0x5a2558[_0xaaa56b(0x2c0)],'name':_0x5a2558[_0xaaa56b(0x2c4)],'id':_0x5a2558['id'],'dbName':_0x475b34};}else{const _0x1d9e1b=[..._0x3b8507][_0xaaa56b(0x3a0)]((_0x60d98f,_0x44a227)=>{const _0x1bb26d=Number(_0x60d98f['id'])||0x0,_0x3b1956=Number(_0x44a227['id'])||0x0;return _0x3b1956-_0x1bb26d;});_0x1d9e1b[_0xaaa56b(0x17e)]((_0x4b2748,_0x35c874)=>{const _0x39e7ab=_0xaaa56b,_0x186835=_0x5aa4ee?_0x5aa4ee(_0xd1822f,_0x4b2748):getTableKey(_0xd1822f),_0xc7de00=_0x35c874===0x0?_0x186835:_0x186835+'_'+_0x35c874,_0x589655=getDbName(_0x4b2748),_0x5eea3b=_0x12c33d[_0x39e7ab(0x24e)](_0xd1822f)&&_0x589655?getTableKey(_0x589655)+'_'+_0xc7de00:_0xc7de00;_0x5816a5[_0xc7de00]={'key':_0xc7de00,'alias':_0x5eea3b,'tableName':_0xd1822f,'datasetCode':_0x4b2748[_0x39e7ab(0x2c0)],'name':_0x4b2748['name'],'id':_0x4b2748['id'],'dbName':_0x589655};});}}return _0x5816a5;}function detectTableNameConflicts(_0x3ff68c){const _0x2b237f=a0_0x41fd,_0x773026={};for(const _0x510c0b of _0x3ff68c){const _0x5c2221=getTableName(_0x510c0b);!_0x773026[_0x5c2221]&&(_0x773026[_0x5c2221]=[]),_0x773026[_0x5c2221][_0x2b237f(0x25a)](_0x510c0b);}const _0x40c655={};for(const [_0x4fa305,_0x18914e]of Object['entries'](_0x773026)){_0x18914e['length']>0x1&&(_0x40c655[_0x4fa305]=_0x18914e);}return{'hasConflicts':Object[_0x2b237f(0x341)](_0x40c655)[_0x2b237f(0x28d)]>0x0,'conflicts':_0x40c655};}function a0_0x41fd(_0x458714,_0xd3989c){const _0x286260=a0_0x2862();return a0_0x41fd=function(_0x41fd51,_0x256726){_0x41fd51=_0x41fd51-0x15b;let _0x1139bc=_0x286260[_0x41fd51];return _0x1139bc;},a0_0x41fd(_0x458714,_0xd3989c);}function createDatasetNameMap(_0x4cbc51){const _0xfe520f=a0_0x41fd,_0x1b70d9={};for(const [_0x1047f9,_0x53f092]of Object[_0xfe520f(0x39c)](_0x4cbc51)){_0x1b70d9[_0x1047f9]=_0x53f092[_0xfe520f(0x2c0)]||'';}return _0x1b70d9;}function groupByTableName(_0x49037c){const _0x2779e1={};for(const _0x94230b of _0x49037c){const _0x5c49d6=getTableName(_0x94230b);!_0x2779e1[_0x5c49d6]&&(_0x2779e1[_0x5c49d6]=[]),_0x2779e1[_0x5c49d6]['push'](_0x94230b);}return _0x2779e1;}function datasetsConfigToArray(_0x1d2a49){const _0x5f288c=a0_0x41fd;return Object[_0x5f288c(0x3f5)](_0x1d2a49);}function adaptDrivenDataDetail(_0x48a6fa){const _0x29d072=a0_0x41fd,_0x4d1e25={};return _0x4d1e25['id']=_0x48a6fa[_0x29d072(0x3cb)],_0x4d1e25[_0x29d072(0x2c4)]=_0x48a6fa['name'],_0x4d1e25[_0x29d072(0x2c0)]=_0x48a6fa[_0x29d072(0x3c8)],_0x4d1e25[_0x29d072(0x2bc)]=_0x48a6fa['dbtableConfig'],_0x4d1e25[_0x29d072(0x1ea)]=_0x48a6fa[_0x29d072(0x1ea)],_0x4d1e25[_0x29d072(0x372)]=_0x48a6fa['version'],_0x4d1e25['extend']=_0x48a6fa[_0x29d072(0x165)],_0x4d1e25[_0x29d072(0x37e)]=_0x48a6fa['properties'],_0x4d1e25[_0x29d072(0x1f1)]=_0x48a6fa[_0x29d072(0x1f1)],_0x4d1e25;}function adaptDrivenDataDetails(_0x356561){const _0x23e50e=a0_0x41fd;return _0x356561[_0x23e50e(0x30b)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0xc6f4d8){const _0x59202a=a0_0x41fd;if(!_0xc6f4d8[_0x59202a(0x38d)]||!_0xc6f4d8[_0x59202a(0x221)])throw new Error(_0x59202a(0x22e)+(_0xc6f4d8['errorMsg']||_0xc6f4d8[_0x59202a(0x2f1)]));return adaptDrivenDataDetail(_0xc6f4d8[_0x59202a(0x221)]);}function extractDatasetsFromListResponse(_0x33076d){const _0x3d3a16=a0_0x41fd;if(!_0x33076d[_0x3d3a16(0x38d)]||!_0x33076d[_0x3d3a16(0x221)]?.[_0x3d3a16(0x2b9)])throw new Error(_0x3d3a16(0x1ee)+(_0x33076d[_0x3d3a16(0x3c6)]||_0x33076d[_0x3d3a16(0x2f1)]));return _0x33076d[_0x3d3a16(0x221)][_0x3d3a16(0x2b9)][_0x3d3a16(0x30b)](_0x38637d=>({..._0x38637d,'datasetCode':_0x38637d[_0x3d3a16(0x3b4)]||_0x38637d[_0x3d3a16(0x2c0)]}));}function isDrivenDataDetail(_0x1c2d53){const _0x4cd45f=a0_0x41fd;return Boolean(_0x1c2d53&&typeof _0x1c2d53[_0x4cd45f(0x3c8)]===_0x4cd45f(0x25e));}function smartAdapt(_0x5247a2){const _0x33d589=a0_0x41fd;if(isDrivenDataDetail(_0x5247a2))return adaptDrivenDataDetail(_0x5247a2);if(_0x5247a2[_0x33d589(0x2c0)])return _0x5247a2;if(_0x5247a2[_0x33d589(0x3b4)]){const _0x20b381={..._0x5247a2};return _0x20b381[_0x33d589(0x2c0)]=_0x5247a2['code'],_0x20b381;}return _0x5247a2;}var DatasetOperationType;(_0x5451ca=>{const _0x2b19ae=a0_0x41fd;_0x5451ca[_0x2b19ae(0x16a)]=_0x2b19ae(0x2cf),_0x5451ca['GET_ONE']=_0x2b19ae(0x381),_0x5451ca['GET_ONE_ORIGIN']=_0x2b19ae(0x21b),_0x5451ca[_0x2b19ae(0x35f)]=_0x2b19ae(0x3af),_0x5451ca[_0x2b19ae(0x2f3)]='create',_0x5451ca[_0x2b19ae(0x3df)]='update',_0x5451ca[_0x2b19ae(0x19d)]=_0x2b19ae(0x2a3),_0x5451ca['GET_SELECT_OPTIONS']=_0x2b19ae(0x259),_0x5451ca[_0x2b19ae(0x366)]=_0x2b19ae(0x370),_0x5451ca[_0x2b19ae(0x1e4)]=_0x2b19ae(0x407),_0x5451ca[_0x2b19ae(0x191)]=_0x2b19ae(0x34e),_0x5451ca[_0x2b19ae(0x2a8)]=_0x2b19ae(0x277),_0x5451ca[_0x2b19ae(0x1bb)]=_0x2b19ae(0x1a8),_0x5451ca[_0x2b19ae(0x1ce)]=_0x2b19ae(0x3cc),_0x5451ca[_0x2b19ae(0x3a7)]='importTemplate';})(DatasetOperationType||={});const a0_0xc3f432={};a0_0xc3f432[a0_0x226830(0x2cf)]=a0_0x226830(0x15e),a0_0xc3f432[a0_0x226830(0x381)]='查询单条',a0_0xc3f432[a0_0x226830(0x21b)]=a0_0x226830(0x397),a0_0xc3f432[a0_0x226830(0x3af)]='查询单条(用于更新)',a0_0xc3f432[a0_0x226830(0x2b0)]='创建',a0_0xc3f432[a0_0x226830(0x30e)]='更新',a0_0xc3f432['delete']='删除',a0_0xc3f432['getSelectOptions']=a0_0x226830(0x187),a0_0xc3f432[a0_0x226830(0x370)]='获取文件URL',a0_0xc3f432[a0_0x226830(0x407)]=a0_0x226830(0x34d),a0_0xc3f432[a0_0x226830(0x34e)]=a0_0x226830(0x175),a0_0xc3f432[a0_0x226830(0x277)]=a0_0x226830(0x1ff),a0_0xc3f432[a0_0x226830(0x1a8)]=a0_0x226830(0x334),a0_0xc3f432[a0_0x226830(0x3cc)]=a0_0x226830(0x1d0),a0_0xc3f432['importTemplate']='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0xc3f432,API_BLACKLIST=[a0_0x226830(0x2cf),a0_0x226830(0x21b),'getOneUpdate',a0_0x226830(0x370)];function parseFieldExtend(_0x330140){const _0x21fb97=a0_0x226830;if(!_0x330140||typeof _0x330140!==_0x21fb97(0x1f9))return!![]&&console[_0x21fb97(0x27a)](_0x21fb97(0x1ae),_0x330140),{};if(!_0x330140[_0x21fb97(0x165)])return{};try{const _0x239c03=typeof _0x330140[_0x21fb97(0x165)]===_0x21fb97(0x25e)?JSON[_0x21fb97(0x398)](_0x330140['extend']):_0x330140[_0x21fb97(0x165)];if(typeof _0x239c03!==_0x21fb97(0x1f9)||_0x239c03===null)return{};return _0x239c03;}catch{return{};}}function isPrimaryKeyField(_0x1a0777,_0x5d963b){const _0x28e295=a0_0x226830;if(!_0x1a0777||typeof _0x1a0777!==_0x28e295(0x1f9))return![];if(typeof _0x5d963b==='string'&&_0x1a0777[_0x28e295(0x3b4)]===_0x5d963b)return!![];const _0x4f3c9f=parseFieldExtend(_0x1a0777);return Boolean(_0x4f3c9f[_0x28e295(0x3f6)]||_0x4f3c9f[_0x28e295(0x172)]);}function isSystemField(_0x7eee38){const _0x433340=a0_0x226830,_0x19bfbe=parseFieldExtend(_0x7eee38);return Boolean(_0x19bfbe[_0x433340(0x18d)]);}function isRequiredField(_0x4c2c69){const _0x4e54f8=a0_0x226830,_0x1983fb=parseFieldExtend(_0x4c2c69);return Boolean(_0x1983fb[_0x4e54f8(0x35d)]);}function isAutoIncrementField(_0x283c66){const _0x446e8c=a0_0x226830,_0x35c840=parseFieldExtend(_0x283c66);return Boolean(_0x35c840[_0x446e8c(0x19b)]);}function isCreateTimeField(_0x1afba4){const _0x4a5da2=a0_0x226830,_0x4679e8=parseFieldExtend(_0x1afba4);return Boolean(_0x4679e8[_0x4a5da2(0x3a2)]);}function a0_0x2862(){const _0x3d956b=['getCode','data','getFieldList','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','\x20operation','getDatasetMeta','getDisabledOperations','RADIO','查询条件(支持\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)','DrivenDataDetailV2(','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','1.0.0-beta.8','\x5c{\x5c{','getFilterOperation','获取数据集失败:\x20','DrivenDataDetailPlusV2(','item2','JSON','value2','hasOperation','hasConflicts','选项编码(可选)','STRING','SDK\x20调用示例(两参数格式)','每页数量(默认:\x2020)','$in','DATE','getSystemFields','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','系统自动生成','null','toObject','getRequestFields','getPrimaryKeyFields','CHAR','({\x20','find','getVersion','generateHTTPRequestExample','selectBestOperator','total','tooltip','getDisabled','getEnabledNames','API路径','DATETIME','has','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getDefaultValue','String','createAll','字段编码','dataset','getFullUrl','hasDblinkInfo','parseRawResponseBody','datasetName','getSelectOptions','push','\x5c}\x5c}','Integer','getOperationFieldOperators','string','示例值','2024-12-31','toTableName','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','\x20fields)','\x20operations,\x20v2)','isNumericField','label','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','findByName','desc','usageExample','getEnum','200','getEnumMetas','tableKey','\x20groups)','OperationList(','getModelName','_requestExampleCache','repeat','https://example.com/image.jpg','select','getEnumOptions','createImport','getIds','generateAllOperationsSummary','warn','getOperations','BIT','generateAliasExplanation','getFiltered','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','fieldCount','CHECKBOX','$contain','update\x20接口接受两个参数:\x0a\x0a','getRawDbtableConfig','0000','721bzzrjt','ensureFilterOperation','some','groupBy','\x20fields,\x20','(实际字段:','$or','length','getDatabaseName','tableColumns','isCreateTime','要更新的字段数据对象','enableDeduplication','getOperationCount','getLatestDatasets',',\x20...\x20});','SDK\x20调用','DrivenDataDetail(','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getEnabledOperationAnalyses','datasetInfo','isDeleted','generateFieldExample','getMissingCRUDOperations','_datasetMeta','user@example.com','getCountByMethod','condition','//\x20','delete','();','relations','isVirtualTable','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','CREATE_IMPORT','hasRelation','slice','_fieldListV1WithDeleted','NUMBER','TIME','systemFieldCount','toDatasetId','create','getOperationAnalysesByType','每页数量','requestFields','TEXT','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','TIMESTAMP','tenantCode','aggregate','tableData','isUpdateTime','_datasetMap','dbtableConfig','getSystem','getFieldOperators','[FieldV2]\x20Invalid\x20field\x20definition','datasetCode','getEnumValues','$gte','$and','name','\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','hasResponseSchema','totalCount','getActive','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','操作成功','successCode','getRealTables','size','generateDefaultFilterOperation','getList','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','paging','\x20items,\x20','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','FILE','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','getOperation','allFields','sortNum','(params);','SMALLINT','updateTime','withDeleted','\x20的\x20extend\x20配置失败:','getAggregates','isMultipleSelect','appCode','generateAllOperationsFullSDKExample','1491dXjzzg','_sum','UPLOAD','\x22,数据集:\x20','日期时间','getEnabledOperationInstances','[dsparser]\x20跳过重复的表名\x20\x22','status','getFieldSelectItemsSource','value1','now','SDK\x20调用时传递两个参数:\x0a','Object','文件上传','mapDbTypeToType','msg','includeRequestExample','CREATE','systemAnalysisResult','getFilteredOperations','富文本','getRequestParams','getOperationsOverviewData','items','value','1604WfkdWX','all','getFieldName','isArray','getFieldRaw','getEnumFields','default','getRequired','getCreateTime','DESC','getEnabledOperations','getFieldDataSource','getFieldDisplayName','count','createTimeField','getFirst','map','method','alias','update','getFields','每页数量(可选)','dataset_','query','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getFieldType','isSystem','getTooltip','generateSDKInitCode','$gteq',',\x20fields:\x20','isEnabled','getSystemAnalysisResult','`:\x20','generateConfigArray','_extend','_fieldList','findByCode','getConflictStats','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','sortOperationsWithFilterFirst','getAllDatasets','empty','daily','getTenantCode','HTTP\x20直接调用时使用平铺格式:\x0a','getFieldCount','random','includeUsageExample','排序规则(与\x20Filter\x20API\x20一致)','getOperationStats','getOperationRequestFields','generateRequestAllExamples','_fieldListV2','type','$lteq','isEnumField','创建导出','1492206PRVblJ','generateResponseExample','includeDeleted','generateConfig','getAllFieldsString','has\x20conflicts','toListItem','totalGroups','toArray','getBusinessFields','demo-app','-\x20其他要更新的字段直接平铺在同一层级','keys','_avg','sum','DrivenDataDetailPlus(','getCodes','context','placeholder','field_name','主键ID','_raw','getResponseSchema','解析\x20responseBody\x20失败:','Excel导出','getUploadFileScript','getDisabledNames','selectItemsSource','getMethod','27IthslP','getFieldListWithDeleted','sdkCall','请求示例','BOOL','分组后的过滤条件(对聚合结果进行过滤)','modifierNameField','**可更新的字段列表:**','distinct','_fields','generateHTTPExample','required','datasetSDKKey','GET_ONE_UPDATE','每页条数','getFilteredOperationAnalyses','getLatest','columnName','validateEnumValue','generateOperationSummary','GET_FILE_URL','getOperators','解析\x20requestBody\x20失败:','hasField','\x20groups,\x20','conflictGroupCount','_min','test','\x20items,\x20conflict,\x20latest:\x20','getOperationFieldsOperatorsMap','getFileUrl','host','version','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','currentPage','排序规则','dbVersion','Invalid\x20API\x20response:\x20success\x20is\x20false','getTableKey','_relations',',\x20currentPage,\x20pageSize,\x20...\x20});','toLowerCase','[generateRequestExample]\x20Invalid\x20field:','$eq','properties','LONGTEXT','forceVersion','getOne','3618490OyEFVM','getIndexes','FLOAT','toDatasetCode','iterator','errorCode','3099730bRnxcr','hasTableName','BIGINT','createFields','join','success','({\x20currentPage,\x20pageSize\x20});','FieldListV2(','multiple','下拉选择','getFieldsWithDeleted','displayName','get','//\x20Call\x20the\x20','DatasetGroup(','查询单条(原始)','parse','fields','datasetId','$ne','entries','max','params','isEnum','sort','item1','createDate','supportsCRUD','avg','getFilterOperators','getAll','IMPORT_TEMPLATE','toConfigArray','SELECT','function','getDOType','options','prefix','IMAGE','getOneUpdate','_fieldListV1','getAllFieldsArray','getFieldsByType','substring','code','generateSingleValueExample','N/A','getOperationsData','2.0','getSource','padStart','getOperationOperators','isMultipleSelectField','dbName','getUpdatableFields','Number','当前页码','分组字段列表','generateExampleValue','orderBy','getRelationsByField','Operation\x20not\x20found:\x20','errorMsg','getId','modelCode','from','column','modelId','taskInfo','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','当前页码(可选)','({\x20code,\x20label\x20});','dataset_000000','min','deleted','valueLabels','getPath','getAppCode','modifierIdField','getFieldCode','generateRequestExample','dbTypeLen','getForeignKeyFields','getDbName','getBusiness','doVersion','getNames','UPDATE','groups','(id,\x20data);','getDeleted','every','toString','useFullExample','TINYINT','_operationAnalyses','findById','total_count','enabledOperationCount','env','dbType','customFilter','getCount','isSystemField','_autoGenerated','$endWith','toUpperCase','$lte','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','values','primaryKey','responseBody','getUpdateFields','getResponseParamsDocInfo','online','parseFieldExtend','聚合函数配置数组','suffix','number','round','findByTableName','isEmpty','这是一段较长的文本内容示例','modifyDate','返回字段列表(字段投影)','toFieldDefinition','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','excelExport','getDbTypeForOperation','toJSON','fieldName','hasModifierIdField','getOperationDocMeta','useArrayValues','getFieldNames','getPrimaryKeys','generateSDKCallCode','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','where','<!--\x5cs*CONDITION:\x5cs*','_operationList','includeDisabled','查询列表','isRequiredField','getDatasetDocMeta','path','set','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','having','extend','responseSchema','getLast','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','DatasetList(','GET_LIST','hasExtendField','enabled','完整的\x20SDK\x20调用代码','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','logicField','datasetKey','const\x20result\x20=\x20await\x20client.models.','pkField','getFieldInstance','getHTTPFields','获取上传脚本','title','dataset_unknown','(id,\x20','fieldCode','yourModel','filterBlacklist','keyword','[Field]\x20Invalid\x20field\x20definition','forEach','toISOString','getApplicableOperators','数组查询(支持多选)','stringify','_$1','children','主键,用于定位要更新的记录','isPrimaryKey','获取下拉选项','fromField','getOldest','getDisabledOperationInstances','查询单个条件','getAutoIncrement','systemRetain','getRelations','generateFromSchema','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','GET_UPLOAD_FILE_SCRIPT','getSDKInitData','getCountByType','getConflicts','isBusiness','filter','getFieldsFilterOperatorsMap','北京市朝阳区','getItems','index','autoIncrement','支持单值或数组','DELETE','businessFieldCount','getType','description','DOUBLE','TEXTAREA','1.0','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','getModelAlias','<p>富文本内容</p>','getEnabled','createExport','normalizeDbType','raw','doType','split','FieldV2(','[parseFieldExtend]\x20Invalid\x20field:','getHTTPRequestParamsDocInfo','LONGBLOB','hasDbtableConfig','getTableName','getEnumFieldsMeta','313791DuSSur','\x20operations)','2024-01-01','getFieldDefinition','聚合函数配置数组(type:\x20sum/count/avg/max/min)','operationCount','add','CREATE_EXPORT','no\x20conflicts','isRequired','getName','$startWith','toConfig','sdkCallCode','字段名称','email','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getOperationList','getStats','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','lastIndexOf','dblinkInfoDTO','_fieldListWithDeleted','Array','precision','-$1','TASK_INFO','FieldV1(','任务信息','getOperationAnalyses','hasConflict','Filter\x20API\x20-\x20高级查询接口','getFieldsV2','getDBConfig','isOperatorApplicableToField','_operations','hasLogicField','//\x20Usage\x20examples','hasFilterOperation','SWITCH','includes','replace','isPrimaryKeyField','updateTimeField','INT','_instance','Field(','creatorIdField','EXCEL_EXPORT','DECIMAL','getField','/filter','当前页码(从\x201\x20开始,默认:\x201)','getEnumMeta','source','generateUsageExample','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','获取数据集列表失败:\x20','creatorNameField','getAt','operations','(支持单值或数组)','42128lLkTYG','GET','INTEGER','parseRawRequestBody','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','trim','object','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','\x20operations,\x20','generateFullSDKExample','getOperationAnalysis','FieldList(','创建导入','charAt','dbId','fromApiResponse','hasCreatorIdField','getDisplayName','getEnumFieldMeta','getConflictingItems','getSelectItemsSource','-\x20`','\x20operations,\x20v1)','VARCHAR','getDatasetSDKKey','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','getInternalInstance','getDatabaseType','getFieldListV2','POST','pageSize','BOOLEAN','String[]','tableName','hasCreateTimeField','groupByTableName','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','isAutoIncrement','1140864JuIRoY','BLOB','getOneOrigin','\x20API\x20文档','getRaw','getRequiredFields','groupByType'];a0_0x2862=function(){return _0x3d956b;};return a0_0x2862();}function isModifyTimeField(_0x135104){const _0x4857b4=a0_0x226830,_0x473177=parseFieldExtend(_0x135104);return Boolean(_0x473177[_0x4857b4(0x403)]);}const a0_0x28c47a={};a0_0x28c47a[a0_0x226830(0x2ac)]='数字',a0_0x28c47a['TEXT']='文本',a0_0x28c47a['TEXTAREA']='长文本',a0_0x28c47a[a0_0x226830(0x23a)]='日期',a0_0x28c47a[a0_0x226830(0x24d)]=a0_0x226830(0x2e6),a0_0x28c47a[a0_0x226830(0x2b6)]='时间戳',a0_0x28c47a[a0_0x226830(0x3a9)]=a0_0x226830(0x391),a0_0x28c47a[a0_0x226830(0x281)]='多选',a0_0x28c47a[a0_0x226830(0x227)]='单选',a0_0x28c47a[a0_0x226830(0x1db)]='开关',a0_0x28c47a[a0_0x226830(0x2e4)]=a0_0x226830(0x2ef),a0_0x28c47a[a0_0x226830(0x3ae)]='图片',a0_0x28c47a['RICH_TEXT']=a0_0x226830(0x2f6),a0_0x28c47a[a0_0x226830(0x231)]=a0_0x226830(0x231),a0_0x28c47a['ARRAY']='数组';var DB_TYPE_DISPLAY_MAP=a0_0x28c47a;function getDbTypeDisplay(_0x7326cc){const _0x36339e=a0_0x226830;if(typeof _0x7326cc!==_0x36339e(0x25e))return!![]&&console[_0x36339e(0x27a)](_0x36339e(0x406),_0x7326cc),String(_0x7326cc||'-');return DB_TYPE_DISPLAY_MAP[_0x7326cc]||_0x7326cc;}function formatDbType(_0x257b2f,_0x368a40){const _0x5197b0=a0_0x226830;if(!_0x257b2f||typeof _0x257b2f!==_0x5197b0(0x25e))return'-';if(!_0x368a40||typeof _0x368a40!==_0x5197b0(0x3fe))return _0x257b2f;const _0x5b24b8=[_0x5197b0(0x2b4),'DATETIME',_0x5197b0(0x2b6),'DATE'];if(_0x5b24b8[_0x5197b0(0x1dc)](_0x257b2f[_0x5197b0(0x3f2)]()))return _0x257b2f;return _0x257b2f+'('+_0x368a40+')';}function parseOperationType(_0xcd91d7){const _0x11a6b6=a0_0x226830;if(typeof _0xcd91d7!==_0x11a6b6(0x25e)){!![]&&console[_0x11a6b6(0x27a)](_0x11a6b6(0x322),_0xcd91d7);return;}if(Object['values'](DatasetOperationType)[_0x11a6b6(0x1dc)](_0xcd91d7))return _0xcd91d7;const _0x53bcbf=Object[_0x11a6b6(0x39c)](OPERATION_TYPE_DISPLAY_NAME)[_0x11a6b6(0x244)](([_0x4cbcb2,_0x1655ae])=>_0x1655ae===_0xcd91d7);return _0x53bcbf?_0x53bcbf[0x0]:undefined;}function shouldIncludeField(_0x2a148d,_0x4e7d02,_0x194ef2){const _0x21f2c5=a0_0x226830,_0x4acfb7=parseFieldExtend(_0x2a148d),_0x4443aa=isPrimaryKeyField(_0x2a148d,_0x194ef2),_0x442d6f=Boolean(_0x4acfb7[_0x21f2c5(0x18d)]),_0x2e7d90=Boolean(_0x4acfb7[_0x21f2c5(0x19b)]),_0x854235=Boolean(_0x4acfb7['createDate']),_0x63d42a=Boolean(_0x4acfb7[_0x21f2c5(0x403)]);switch(_0x4e7d02){case _0x21f2c5(0x2cf):return!![];case _0x21f2c5(0x381):case _0x21f2c5(0x21b):case'delete':return _0x4443aa;case _0x21f2c5(0x2b0):if(_0x4443aa&&_0x2e7d90)return![];if(_0x442d6f)return![];if(_0x854235||_0x63d42a)return![];return!![];case _0x21f2c5(0x30e):case'getOneUpdate':if(_0x4443aa)return!![];if(_0x442d6f)return![];if(_0x854235||_0x63d42a)return![];return!![];case _0x21f2c5(0x259):return _0x2a148d[_0x21f2c5(0x3b4)]===_0x21f2c5(0x3b4);default:return!![];}}function getFieldsForOperation(_0xffa12a,_0x3c357a,_0x3a3f36){const _0x2cf159=a0_0x226830;if(!Array['isArray'](_0xffa12a))return!![]&&console[_0x2cf159(0x27a)](_0x2cf159(0x2d0),_0xffa12a),[];return _0xffa12a[_0x2cf159(0x196)](_0x4458a5=>shouldIncludeField(_0x4458a5,_0x3c357a,_0x3a3f36));}function isApiBlacklisted(_0x546790){const _0x522f5e=a0_0x226830;if(typeof _0x546790!==_0x522f5e(0x25e))return!![]&&console['warn']('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0x546790),![];return API_BLACKLIST[_0x522f5e(0x1dc)](_0x546790);}function filterApiOperations(_0x3d3d53){const _0x1c35e6=a0_0x226830;if(!Array[_0x1c35e6(0x2fe)](_0x3d3d53))return!![]&&console[_0x1c35e6(0x27a)]('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x3d3d53),[];return _0x3d3d53[_0x1c35e6(0x196)](_0x1155c5=>_0x1155c5&&typeof _0x1155c5===_0x1c35e6(0x1f9)&&!isApiBlacklisted(_0x1155c5['name']));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x3783f8})=>{const _0x27eb69=a0_0x226830;if(_0x3783f8?.[_0x27eb69(0x3ac)]&&Array[_0x27eb69(0x2fe)](_0x3783f8[_0x27eb69(0x3ac)])&&_0x3783f8[_0x27eb69(0x3ac)][_0x27eb69(0x28d)]>0x0)return _0x3783f8[_0x27eb69(0x3ac)][0x0][_0x27eb69(0x2fa)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x5e8c90})=>{const _0x2e72ea=a0_0x226830;if(_0x5e8c90===_0x2e72ea(0x374))return 0x1;if(_0x5e8c90===_0x2e72ea(0x211))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x368063})=>{const _0x282108=a0_0x226830;if(_0x368063&&typeof _0x368063===_0x282108(0x25e)){const _0x3b0e40=_0x368063[_0x282108(0x37b)]();if(_0x3b0e40[_0x282108(0x1dc)]('邮箱')||_0x3b0e40[_0x282108(0x1dc)](_0x282108(0x1c3)))return _0x282108(0x29f);if(_0x3b0e40[_0x282108(0x1dc)]('电话')||_0x3b0e40[_0x282108(0x1dc)]('手机')||_0x3b0e40[_0x282108(0x1dc)]('phone'))return'13800138000';if(_0x3b0e40[_0x282108(0x1dc)]('地址')||_0x3b0e40[_0x282108(0x1dc)]('address'))return _0x282108(0x198);if(_0x3b0e40[_0x282108(0x1dc)]('姓名')||_0x3b0e40[_0x282108(0x1dc)](_0x282108(0x2c4)))return'张三';}return'示例文本';},'VARCHAR':({description:_0x59e0ff})=>TYPE_VALUE_GENERATORS[a0_0x226830(0x2b4)]({'description':_0x59e0ff}),'CHAR':({description:_0x103db8})=>TYPE_VALUE_GENERATORS[a0_0x226830(0x2b4)]({'description':_0x103db8}),'STRING':({fieldInfo:_0x5d1f81,description:_0x49aef2})=>{const _0x1708d8=a0_0x226830;if(_0x5d1f81?.[_0x1708d8(0x347)]&&typeof _0x5d1f81[_0x1708d8(0x347)]===_0x1708d8(0x25e)&&_0x5d1f81['placeholder']!==_0x1708d8(0x23d))return _0x5d1f81[_0x1708d8(0x347)][_0x1708d8(0x1dd)](/^请输入|^请选择/,'');const _0x218a19={};return _0x218a19[_0x1708d8(0x1a0)]=_0x49aef2,TYPE_VALUE_GENERATORS['TEXT'](_0x218a19);},'TEXTAREA':()=>a0_0x226830(0x402),'LONGTEXT':()=>a0_0x226830(0x402),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x226830(0x2fa)}),'ARRAY':()=>[a0_0x226830(0x3a1),a0_0x226830(0x230)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x226830(0x274),'RICH_TEXT':()=>a0_0x226830(0x1a6)};function generateExampleValue(_0x17669c,_0x46054d,_0x41a4f9,_0x5b84f2={}){const _0x276220=a0_0x226830;typeof _0x17669c!==_0x276220(0x25e)&&(!![]&&console[_0x276220(0x27a)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x17669c),_0x17669c=String(_0x17669c||''));if(typeof _0x46054d!==_0x276220(0x25e))return!![]&&console['warn'](_0x276220(0x20c),_0x46054d),_0x276220(0x25f);const {isPrimaryKey:_0x773b95,dbtableConfig:_0x54fe40}=_0x5b84f2;if(_0x773b95)return 0x1;if(_0x54fe40&&typeof _0x54fe40===_0x276220(0x1f9)){const _0x2ddb1b=_0x54fe40['createTimeField']?.[_0x276220(0x40a)]===_0x17669c,_0x104380=_0x54fe40['updateTimeField']?.[_0x276220(0x40a)]===_0x17669c;if(_0x2ddb1b||_0x104380){if(_0x41a4f9&&typeof _0x41a4f9===_0x276220(0x25e)&&_0x41a4f9[_0x276220(0x3f2)]()[_0x276220(0x1dc)](_0x276220(0x2b6)))return Date[_0x276220(0x2ec)]();return new Date()[_0x276220(0x17f)]()[_0x276220(0x1dd)]('T','\x20')[_0x276220(0x1ac)]('.')[0x0];}}const _0x1ca4f0={..._0x5b84f2};_0x1ca4f0[_0x276220(0x179)]=_0x17669c;const _0x2be419=_0x1ca4f0;if(_0x41a4f9&&typeof _0x41a4f9===_0x276220(0x25e)){const _0x4158c0=_0x41a4f9[_0x276220(0x3f2)](),_0x49a42d=TYPE_VALUE_GENERATORS[_0x4158c0];if(_0x49a42d)return _0x49a42d(_0x2be419);}if(_0x46054d&&typeof _0x46054d==='string'){const _0x279fc0=_0x46054d[_0x276220(0x3f2)](),_0x16671a=TYPE_VALUE_GENERATORS[_0x279fc0];if(_0x16671a)return _0x16671a(_0x2be419);}return _0x276220(0x25f);}function generateExampleFromSchema(_0xfe8533,_0x496d40){const _0x1dc124=a0_0x226830;if(!_0xfe8533||typeof _0xfe8533!==_0x1dc124(0x1f9))return{};if(Array['isArray'](_0xfe8533)){if(_0xfe8533[_0x1dc124(0x28d)]>0x0)return[generateExampleFromSchema(_0xfe8533[0x0],_0x496d40)];return[];}const _0x436bc8={};return Object[_0x1dc124(0x341)](_0xfe8533)[_0x1dc124(0x17e)](_0xaed3be=>{const _0x3ac8c4=_0x1dc124,_0x304337=_0xfe8533[_0xaed3be];if(_0x304337&&typeof _0x304337==='object'&&!Array[_0x3ac8c4(0x2fe)](_0x304337)&&_0x304337['type']){const _0x54b3c6=_0x304337,_0x70852f=_0x54b3c6[_0x3ac8c4(0x331)],_0x14f56a=_0x54b3c6[_0x3ac8c4(0x1a0)];if(typeof _0x70852f===_0x3ac8c4(0x25e)){const _0x5dc2dc={};_0x5dc2dc[_0x3ac8c4(0x1a0)]=_0x14f56a,_0x5dc2dc[_0x3ac8c4(0x2bc)]=_0x496d40,_0x436bc8[_0xaed3be]=generateExampleValue(_0xaed3be,_0x70852f,undefined,_0x5dc2dc);}else _0x436bc8[_0xaed3be]=_0x3ac8c4(0x25f);}else{if(Array[_0x3ac8c4(0x2fe)](_0x304337))_0x436bc8[_0xaed3be]=_0x304337[_0x3ac8c4(0x28d)]>0x0?[generateExampleFromSchema(_0x304337[0x0],_0x496d40)]:[];else _0x304337&&typeof _0x304337===_0x3ac8c4(0x1f9)?_0x436bc8[_0xaed3be]=generateExampleFromSchema(_0x304337,_0x496d40):_0x436bc8[_0xaed3be]=_0x304337;}}),_0x436bc8;}function parseRequestBody(_0x36bcea){const _0x1cc6bf=a0_0x226830;if(!_0x36bcea)return{};try{return JSON[_0x1cc6bf(0x398)](_0x36bcea);}catch(_0x19b1a8){return!![]&&console[_0x1cc6bf(0x27a)](_0x1cc6bf(0x368),_0x19b1a8),{};}}function parseResponseBody(_0x57ba5c){const _0x64fab=a0_0x226830;if(!_0x57ba5c)return null;try{const _0x8cee87=JSON['parse'](_0x57ba5c);return _0x8cee87[_0x64fab(0x26c)]||_0x8cee87;}catch(_0x5b3243){return!![]&&console[_0x64fab(0x27a)](_0x64fab(0x34c),_0x5b3243),null;}}function generateRequestExample(_0x49ec35,_0x2e3bab,_0x1754d8,_0x571fe9){const _0x50ab86=a0_0x226830,_0xd9f8d6={};if(!Array[_0x50ab86(0x2fe)](_0x49ec35))return!![]&&console[_0x50ab86(0x27a)](_0x50ab86(0x223),_0x49ec35),_0xd9f8d6;return _0x49ec35[_0x50ab86(0x17e)](_0x371b72=>{const _0x5edd16=_0x50ab86;if(!_0x371b72||typeof _0x371b72!==_0x5edd16(0x1f9)){!![]&&console[_0x5edd16(0x27a)](_0x5edd16(0x37c),_0x371b72);return;}if(typeof _0x371b72[_0x5edd16(0x3b4)]!=='string'||typeof _0x371b72[_0x5edd16(0x331)]!=='string'){!![]&&console[_0x5edd16(0x27a)](_0x5edd16(0x168),_0x371b72);return;}const _0x4e797b=parseFieldExtend(_0x371b72),_0x5106dc=_0x371b72['code']===_0x1754d8||Boolean(_0x4e797b?.[_0x5edd16(0x3f6)]),_0x464c52=generateExampleValue(_0x371b72[_0x5edd16(0x3b4)],_0x371b72[_0x5edd16(0x331)],typeof _0x371b72[_0x5edd16(0x3ec)]===_0x5edd16(0x25e)?_0x371b72[_0x5edd16(0x3ec)]:undefined,{'fieldInfo':_0x4e797b,'isPrimaryKey':_0x5106dc,'description':_0x371b72[_0x5edd16(0x1a0)]||_0x371b72[_0x5edd16(0x2c4)],'dbtableConfig':_0x571fe9});_0xd9f8d6[_0x371b72[_0x5edd16(0x3b4)]]=_0x464c52;}),_0x2e3bab==='getList'&&(_0xd9f8d6['currentPage']=0x1,_0xd9f8d6[_0x50ab86(0x211)]=0xa),_0xd9f8d6;}function formatEnumValue(_0x29d948,_0x42051c){const _0x33edcf=a0_0x226830;if(_0x29d948['multiple']&&Array['isArray'](_0x42051c))return _0x42051c[_0x33edcf(0x30b)](_0x28d055=>_0x29d948[_0x33edcf(0x3d3)][String(_0x28d055)]||String(_0x28d055))[_0x33edcf(0x38c)](',\x20');return _0x29d948['valueLabels'][String(_0x42051c)]||String(_0x42051c);}function formatOptionsForDoc(_0x22773d){const _0x1e56b7=a0_0x226830;return _0x22773d['map'](_0xe3a69c=>_0xe3a69c[_0x1e56b7(0x2fa)]+'('+_0xe3a69c[_0x1e56b7(0x266)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x87accd,_0x48cd36=0x0){const _0x27159c=a0_0x226830,_0x3f8336='\x20\x20'[_0x27159c(0x273)](_0x48cd36),_0x5b5703=[];return _0x87accd['forEach'](_0x231f40=>{const _0x5c0034=_0x27159c;_0x5b5703[_0x5c0034(0x25a)](_0x3f8336+_0x5c0034(0x208)+_0x231f40[_0x5c0034(0x2fa)]+_0x5c0034(0x31c)+_0x231f40[_0x5c0034(0x266)]),_0x231f40[_0x5c0034(0x184)]&&_0x231f40[_0x5c0034(0x184)]['length']>0x0&&_0x5b5703[_0x5c0034(0x25a)](formatOptionsAsMarkdownList(_0x231f40[_0x5c0034(0x184)],_0x48cd36+0x1));}),_0x5b5703[_0x27159c(0x38c)]('\x0a');}class DbtableConfig{[a0_0x226830(0x34a)];constructor(_0x2172f5){const _0x5c5092=a0_0x226830,_0x357ffa={..._0x2172f5};this[_0x5c5092(0x34a)]=_0x357ffa;}get[a0_0x226830(0x201)](){const _0xa51cdb=a0_0x226830;return this[_0xa51cdb(0x34a)][_0xa51cdb(0x201)];}get['dbName'](){const _0x45d9db=a0_0x226830;return this[_0x45d9db(0x34a)][_0x45d9db(0x3bd)]??this['_raw'][_0x45d9db(0x1c9)]?.[_0x45d9db(0x3bd)];}get[a0_0x226830(0x214)](){const _0x116374=a0_0x226830;return this[_0x116374(0x34a)]['tableName'];}get[a0_0x226830(0x170)](){return this['_raw']['datasetKey'];}get['pkField'](){const _0x68b645=a0_0x226830;return this['_raw'][_0x68b645(0x172)];}get['labelField'](){const _0x53abfb=a0_0x226830;return this[_0x53abfb(0x34a)]['labelField'];}get['logicField'](){return this['_raw']['logicField'];}get['createTimeField'](){const _0x12bc57=a0_0x226830;return this[_0x12bc57(0x34a)]['createTimeField'];}get[a0_0x226830(0x1df)](){const _0x42e3ee=a0_0x226830;return this['_raw'][_0x42e3ee(0x1df)];}get[a0_0x226830(0x1e3)](){const _0x24e88c=a0_0x226830;return this[_0x24e88c(0x34a)][_0x24e88c(0x1e3)];}get['creatorNameField'](){const _0x54f55a=a0_0x226830;return this[_0x54f55a(0x34a)]['creatorNameField'];}get[a0_0x226830(0x3d6)](){const _0x28027d=a0_0x226830;return this[_0x28027d(0x34a)]['modifierIdField'];}get[a0_0x226830(0x358)](){const _0x554ca7=a0_0x226830;return this[_0x554ca7(0x34a)]['modifierNameField'];}get[a0_0x226830(0x1c9)](){const _0x1b54b7=a0_0x226830;return this[_0x1b54b7(0x34a)][_0x1b54b7(0x1c9)];}['getAllFieldsArray'](){const _0x9a590a=a0_0x226830;if(!this[_0x9a590a(0x34a)][_0x9a590a(0x2d7)])return[];return this['_raw'][_0x9a590a(0x2d7)][_0x9a590a(0x1ac)](',')[_0x9a590a(0x30b)](_0x18a7e3=>_0x18a7e3['trim']())[_0x9a590a(0x196)](Boolean);}[a0_0x226830(0x339)](){const _0x16da1d=a0_0x226830;return this[_0x16da1d(0x34a)][_0x16da1d(0x2d7)];}[a0_0x226830(0x369)](_0x388041){return this['getAllFieldsArray']()['includes'](_0x388041);}[a0_0x226830(0x389)](){const _0x41ab56=a0_0x226830;return Boolean(this[_0x41ab56(0x34a)]['tableName']);}[a0_0x226830(0x256)](){const _0x12416a=a0_0x226830;return Boolean(this['_raw'][_0x12416a(0x1c9)]);}[a0_0x226830(0x1d8)](){const _0x4101d8=a0_0x226830;return Boolean(this[_0x4101d8(0x34a)][_0x4101d8(0x16f)]?.['fieldName']);}[a0_0x226830(0x215)](){const _0x2fbbff=a0_0x226830;return Boolean(this[_0x2fbbff(0x34a)][_0x2fbbff(0x309)]?.[_0x2fbbff(0x40a)]);}['hasUpdateTimeField'](){const _0x258dce=a0_0x226830;return Boolean(this[_0x258dce(0x34a)][_0x258dce(0x1df)]?.['fieldName']);}[a0_0x226830(0x203)](){const _0x1517e1=a0_0x226830;return Boolean(this['_raw'][_0x1517e1(0x1e3)]?.[_0x1517e1(0x40a)]);}[a0_0x226830(0x40b)](){const _0x90a364=a0_0x226830;return Boolean(this[_0x90a364(0x34a)][_0x90a364(0x3d6)]?.['fieldName']);}[a0_0x226830(0x1de)](_0x447209){const _0x18baf9=a0_0x226830;return this[_0x18baf9(0x34a)][_0x18baf9(0x172)]===_0x447209;}[a0_0x226830(0x3ef)](_0x2ba67e){const _0x31a3b0=a0_0x226830;return this[_0x31a3b0(0x1de)](_0x2ba67e)||this[_0x31a3b0(0x34a)]['logicField']?.['fieldName']===_0x2ba67e||this['_raw'][_0x31a3b0(0x309)]?.['fieldName']===_0x2ba67e||this[_0x31a3b0(0x34a)][_0x31a3b0(0x1df)]?.[_0x31a3b0(0x40a)]===_0x2ba67e||this['_raw'][_0x31a3b0(0x1e3)]?.[_0x31a3b0(0x40a)]===_0x2ba67e||this[_0x31a3b0(0x34a)][_0x31a3b0(0x1ef)]?.[_0x31a3b0(0x40a)]===_0x2ba67e||this[_0x31a3b0(0x34a)][_0x31a3b0(0x3d6)]?.[_0x31a3b0(0x40a)]===_0x2ba67e||this[_0x31a3b0(0x34a)][_0x31a3b0(0x358)]?.[_0x31a3b0(0x40a)]===_0x2ba67e;}[a0_0x226830(0x28e)](){const _0x184991=a0_0x226830;return this['_raw'][_0x184991(0x1c9)]?.[_0x184991(0x3bd)];}[a0_0x226830(0x20e)](){const _0x45679c=a0_0x226830;return this[_0x45679c(0x34a)]['dblinkInfoDTO']?.[_0x45679c(0x3ec)];}['getDatabaseVersion'](){const _0x3dcee5=a0_0x226830;return this[_0x3dcee5(0x34a)][_0x3dcee5(0x1c9)]?.[_0x3dcee5(0x376)];}[a0_0x226830(0x327)](){const _0x52e109=a0_0x226830;return this[_0x52e109(0x34a)][_0x52e109(0x1c9)]?.[_0x52e109(0x2b7)];}[a0_0x226830(0x3d5)](){const _0x1046bb=a0_0x226830;return this[_0x1046bb(0x34a)][_0x1046bb(0x1c9)]?.[_0x1046bb(0x2e0)];}[a0_0x226830(0x31b)](){const _0x588b2a=a0_0x226830;return this[_0x588b2a(0x34a)][_0x588b2a(0x1c9)]?.[_0x588b2a(0x2f4)];}['getStats'](){const _0x5f11fa=a0_0x226830;return{'hasTableName':this[_0x5f11fa(0x389)](),'hasDblinkInfo':this[_0x5f11fa(0x256)](),'fieldCount':this[_0x5f11fa(0x3b1)]()['length'],'systemFields':{'hasLogicField':this[_0x5f11fa(0x1d8)](),'hasCreateTimeField':this[_0x5f11fa(0x215)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this[_0x5f11fa(0x203)](),'hasModifierIdField':this[_0x5f11fa(0x40b)]()}};}['toConfig'](){const _0x3b0758=a0_0x226830,_0x214adb={};return _0x214adb[_0x3b0758(0x214)]=this[_0x3b0758(0x214)],_0x214adb['pkField']=this[_0x3b0758(0x172)],_0x214adb[_0x3b0758(0x170)]=this['datasetKey'],_0x214adb['dbId']=this['dbId'],_0x214adb;}[a0_0x226830(0x409)](){const _0x38f336=a0_0x226830,_0xebc3af={...this[_0x38f336(0x34a)]};return _0xebc3af;}[a0_0x226830(0x21d)](){const _0x54a7b3=a0_0x226830,_0x237a18={...this[_0x54a7b3(0x34a)]};return _0x237a18;}[a0_0x226830(0x3e4)](){const _0x5d23fe=a0_0x226830,_0x314396=this[_0x5d23fe(0x214)]||_0x5d23fe(0x3b6),_0x50b2a8=this[_0x5d23fe(0x3b1)]()[_0x5d23fe(0x28d)];return'DbtableConfig(table:\x20'+_0x314396+_0x5d23fe(0x319)+_0x50b2a8+')';}static[a0_0x226830(0x325)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x226830(0x34a)];constructor(_0x341a04){const _0xdd3a6e=a0_0x226830,_0x4fee76=_0x341a04[_0xdd3a6e(0x2c0)]||_0x341a04[_0xdd3a6e(0x3b4)]||_0x341a04[_0xdd3a6e(0x3c8)],_0x25c71c={..._0x341a04};_0x25c71c['datasetCode']=_0x4fee76,this[_0xdd3a6e(0x34a)]=_0x25c71c;}get['id'](){const _0x1c6926=a0_0x226830;return this[_0x1c6926(0x34a)]['id'];}get['name'](){const _0x4ec506=a0_0x226830;return this[_0x4ec506(0x34a)][_0x4ec506(0x2c4)];}[a0_0x226830(0x1be)](){const _0x3b816f=a0_0x226830;return this[_0x3b816f(0x2c4)];}get[a0_0x226830(0x2c0)](){const _0x3cbc50=a0_0x226830;return this[_0x3cbc50(0x34a)]['datasetCode']||'';}get['dbtableConfig'](){const _0x4febcf=a0_0x226830;if(!this['_raw']['dbtableConfig'])return null;return new DbtableConfig(this[_0x4febcf(0x34a)][_0x4febcf(0x2bc)]);}[a0_0x226830(0x284)](){const _0x1cc742=a0_0x226830;return this[_0x1cc742(0x34a)][_0x1cc742(0x2bc)];}[a0_0x226830(0x3db)](){const _0x314c94=a0_0x226830;return this['dbtableConfig']?.[_0x314c94(0x3bd)]||'';}[a0_0x226830(0x1b2)](){return getTableName(this['_raw']);}[a0_0x226830(0x378)](){const _0x4a8ecc=a0_0x226830;return getTableKey(this[_0x4a8ecc(0x1b2)]());}['getDatasetSDKKey'](){const _0x3c931a=a0_0x226830;return generateModelKeyFromCode(this[_0x3c931a(0x2c0)]);}['isVirtualTable'](){const _0x5809e2=a0_0x226830;return isVirtualTableName(this[_0x5809e2(0x1b2)]());}[a0_0x226830(0x271)](){return getTableKey(this['getTableName']());}[a0_0x226830(0x1c0)](){const _0xbe964b=a0_0x226830,_0x21a799=getTableKey(this[_0xbe964b(0x1b2)]());return{'key':_0x21a799,'alias':_0x21a799,'tableName':this[_0xbe964b(0x1b2)](),'datasetCode':this[_0xbe964b(0x2c0)],'name':this[_0xbe964b(0x2c4)]};}[a0_0x226830(0x409)](){const _0x1fae51=a0_0x226830,_0x18d2a3={...this['_raw']};return _0x18d2a3[_0x1fae51(0x2c0)]=this[_0x1fae51(0x2c0)],_0x18d2a3;}[a0_0x226830(0x21d)](){const _0x7d74bc=a0_0x226830,_0x36ecaf={...this[_0x7d74bc(0x34a)]};return _0x36ecaf;}[a0_0x226830(0x1b1)](){const _0x13ac81=a0_0x226830,_0x517c74=this[_0x13ac81(0x2bc)];return _0x517c74!==null&&_0x517c74[_0x13ac81(0x389)]();}['getExtendField'](_0x580923){const _0x3cd64f=a0_0x226830;return this[_0x3cd64f(0x34a)][_0x580923];}[a0_0x226830(0x16b)](_0x278077){return _0x278077 in this['_raw'];}['toString'](){const _0x4b78cb=a0_0x226830;return'DatasetItem('+this[_0x4b78cb(0x2c4)]+',\x20'+this[_0x4b78cb(0x2c0)]+')';}}class Operation{[a0_0x226830(0x2c4)];[a0_0x226830(0x34a)];[a0_0x226830(0x346)];constructor(_0x233e3d,_0x1909db,_0x58527e){const _0x566012=a0_0x226830;this[_0x566012(0x2c4)]=_0x233e3d,this['_raw']=_0x1909db,this[_0x566012(0x346)]=_0x58527e;}[a0_0x226830(0x1be)](){return this['name'];}[a0_0x226830(0x204)](){const _0x557818=a0_0x226830;return OPERATION_TYPE_DISPLAY_NAME[this[_0x557818(0x2c4)]]||this[_0x557818(0x2c4)];}['getType'](){return parseOperationType(this['name']);}[a0_0x226830(0x31a)](){const _0x1af260=a0_0x226830;return this[_0x1af260(0x34a)]!==null&&this[_0x1af260(0x34a)]!==![];}['getMethod'](){const _0xc1c57f=a0_0x226830,_0x5e0022=this[_0xc1c57f(0x34a)];if(_0x5e0022===![]||_0x5e0022===null)return'';return _0x5e0022[_0xc1c57f(0x30c)]||_0xc1c57f(0x1f4);}[a0_0x226830(0x3d4)](){const _0x22d83f=a0_0x226830,_0x10be8d=this['_raw'];if(_0x10be8d===![]||_0x10be8d===null)return'';return _0x10be8d[_0x22d83f(0x161)]||'';}['getFullUrl'](){const _0x300fc9=a0_0x226830,_0x33d31a=this[_0x300fc9(0x34a)];let _0x37d963='';_0x33d31a!==![]&&_0x33d31a!==null&&_0x33d31a['host']&&(_0x37d963=_0x33d31a[_0x300fc9(0x371)]);const _0x25b6fb=this['getPath']();return _0x37d963&&_0x25b6fb?''+_0x37d963+_0x25b6fb:_0x25b6fb;}[a0_0x226830(0x1f6)](){const _0x56a7f6=a0_0x226830,_0x9db259=this[_0x56a7f6(0x34a)];if(_0x9db259===![]||_0x9db259===null||!_0x9db259['requestBody'])return{};try{return JSON[_0x56a7f6(0x398)](_0x9db259['requestBody']);}catch{return{};}}[a0_0x226830(0x257)](){const _0x59dff0=a0_0x226830,_0x2d937a=this['_raw'];if(_0x2d937a===![]||_0x2d937a===null||!_0x2d937a[_0x59dff0(0x3f7)])return null;try{return JSON['parse'](_0x2d937a[_0x59dff0(0x3f7)]);}catch{return null;}}[a0_0x226830(0x2f7)](){const _0x38e1de=a0_0x226830;return this[_0x38e1de(0x1f6)]();}[a0_0x226830(0x34b)](){const _0x33f520=a0_0x226830;return this[_0x33f520(0x257)]();}[a0_0x226830(0x240)](){const _0x242f3f=a0_0x226830,_0x18c083=this[_0x242f3f(0x2f7)]();return Object[_0x242f3f(0x341)](_0x18c083);}[a0_0x226830(0x3d8)](){const _0x3eef1e=a0_0x226830,_0x8ceb87=this['getRequestParams'](),_0x40eb5e={};return Object[_0x3eef1e(0x39c)](_0x8ceb87)[_0x3eef1e(0x17e)](([_0x1f08e0,_0x45b683])=>{const _0x52f51f=_0x3eef1e,_0x59b996=_0x45b683;_0x40eb5e[_0x1f08e0]=generateExampleValue(_0x1f08e0,_0x59b996[_0x52f51f(0x331)]||_0x52f51f(0x251),undefined,{'description':_0x59b996[_0x52f51f(0x1a0)]});}),_0x40eb5e;}[a0_0x226830(0x35c)](){const _0x418345=a0_0x226830;return this[_0x418345(0x3d8)]();}[a0_0x226830(0x336)](){const _0x316e67=a0_0x226830,_0x24a988=this[_0x316e67(0x257)]();if(!_0x24a988){const _0x4139a7={};return _0x4139a7[_0x316e67(0x38d)]=!![],_0x4139a7[_0x316e67(0x2f1)]=_0x316e67(0x2ca),_0x4139a7['errorMsg']='',_0x4139a7['errorCode']=_0x316e67(0x285),_0x4139a7['data']=null,_0x4139a7;}return this[_0x316e67(0x18f)](_0x24a988);}[a0_0x226830(0x18f)](_0x4f1b55){const _0xadc019=a0_0x226830;if(!_0x4f1b55||typeof _0x4f1b55!==_0xadc019(0x1f9))return{};if(Array[_0xadc019(0x2fe)](_0x4f1b55))return _0x4f1b55[_0xadc019(0x28d)]>0x0?[this['generateFromSchema'](_0x4f1b55[0x0])]:[];const _0x3cdaaf={};for(const [_0x3bc660,_0x1d7aed]of Object[_0xadc019(0x39c)](_0x4f1b55)){if(_0x1d7aed&&typeof _0x1d7aed===_0xadc019(0x1f9)&&!Array[_0xadc019(0x2fe)](_0x1d7aed)){const _0x5d05e0=_0x1d7aed;_0x3cdaaf[_0x3bc660]=generateExampleValue(_0x3bc660,_0x5d05e0[_0xadc019(0x331)]||_0xadc019(0x251),undefined,{'description':_0x5d05e0[_0xadc019(0x1a0)]});}else Array[_0xadc019(0x2fe)](_0x1d7aed)?_0x3cdaaf[_0x3bc660]=_0x1d7aed[_0xadc019(0x28d)]>0x0?[this[_0xadc019(0x18f)](_0x1d7aed[0x0])]:[]:_0x3cdaaf[_0x3bc660]=_0x1d7aed;}return _0x3cdaaf;}[a0_0x226830(0x29c)](_0x25f2c2,_0x297c91,_0x4df3b8,_0x3fb0b1){return generateExampleValue(_0x25f2c2,_0x297c91,_0x4df3b8,_0x3fb0b1);}['generateSDKCallCode'](_0x45e8b6,_0x448d35){const _0x5ce69e=a0_0x226830,_0x5541cf=this[_0x5ce69e(0x1be)]();return _0x5ce69e(0x171)+_0x45e8b6+'.'+_0x5541cf+_0x5ce69e(0x2a4);}[a0_0x226830(0x1eb)](_0x254cb8){const _0x1c933b=a0_0x226830,_0x78f2b1=this[_0x1c933b(0x1be)](),_0x1743c4=_0x254cb8||_0x1c933b(0x17a),_0x116f22={};return _0x116f22[_0x1c933b(0x2cb)]='const\x20data\x20=\x20await\x20client.models.'+_0x1743c4+'.'+_0x78f2b1+_0x1c933b(0x2a4),_0x116f22[_0x1c933b(0x387)]='try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'+_0x1743c4+'.'+_0x78f2b1+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x116f22;}['getRequestParamsDocInfo'](){const _0x5ee754=a0_0x226830,_0x2ebe01=this['getRequestParams'](),_0x1bf6b8=Object[_0x5ee754(0x39c)](_0x2ebe01)[_0x5ee754(0x30b)](([_0x3c3d22,_0x11513b])=>{const _0x556ed5=_0x5ee754,_0x46c0a8=_0x11513b,_0x2e5c4a={};return _0x2e5c4a[_0x556ed5(0x2c4)]=_0x3c3d22,_0x2e5c4a['type']=_0x46c0a8[_0x556ed5(0x331)]||'String',_0x2e5c4a[_0x556ed5(0x1a0)]=_0x46c0a8['description']||'-',_0x2e5c4a[_0x556ed5(0x35d)]=_0x46c0a8['required'],_0x2e5c4a;}),_0x159a62={};return _0x159a62[_0x5ee754(0x39e)]=_0x1bf6b8,_0x159a62;}[a0_0x226830(0x3f9)](){const _0x57584d=a0_0x226830,_0x2f389a=this[_0x57584d(0x257)]();if(!_0x2f389a){const _0x421dee={};return _0x421dee[_0x57584d(0x39e)]=[],_0x421dee;}const _0x527a52=Object['entries'](_0x2f389a)[_0x57584d(0x30b)](([_0x888e1f,_0x2a64ae])=>{const _0x29ea00=_0x57584d,_0x5e8b13=_0x2a64ae,_0x21527b={};return _0x21527b['name']=_0x888e1f,_0x21527b[_0x29ea00(0x331)]=_0x5e8b13['type']||_0x29ea00(0x251),_0x21527b[_0x29ea00(0x1a0)]=_0x5e8b13[_0x29ea00(0x1a0)]||'-',_0x21527b;}),_0x4bc3ed={};return _0x4bc3ed[_0x57584d(0x39e)]=_0x527a52,_0x4bc3ed;}[a0_0x226830(0x23b)](){return[];}[a0_0x226830(0x33e)](){const _0x33c648=a0_0x226830;return this[_0x33c648(0x346)][_0x33c648(0x399)]||[];}['getAllParams'](){const _0x1341f7=a0_0x226830;return{'systemFields':this[_0x1341f7(0x23b)](),'businessFields':this[_0x1341f7(0x33e)]()};}['getFieldDefinition'](_0x49c3b1){const _0x64fd69=a0_0x226830;return this[_0x64fd69(0x346)][_0x64fd69(0x399)][_0x64fd69(0x244)](_0x3444a7=>_0x3444a7?.[_0x64fd69(0x3b4)]===_0x49c3b1);}[a0_0x226830(0x3d7)](_0x280b38){return _0x280b38['code'];}[a0_0x226830(0x314)](_0x21dc06){const _0x43771e=a0_0x226830;return _0x21dc06[_0x43771e(0x331)];}[a0_0x226830(0x307)](_0x5a23f8){const _0xa182cb=a0_0x226830;return _0x5a23f8[_0xa182cb(0x2c4)];}['getFieldDescription'](_0x2ad968){const _0x1088a2=a0_0x226830;return _0x2ad968[_0x1088a2(0x1a0)];}['getFieldOptions'](_0x5ddf86){const _0x106416=a0_0x226830;return _0x5ddf86[_0x106416(0x276)]()||null;}['isFieldPrimaryKey'](_0x4ed1be){const _0x4802a2=a0_0x226830;return _0x4ed1be[_0x4802a2(0x186)]();}[a0_0x226830(0x367)](){return[];}[a0_0x226830(0x2be)](_0x1fc985){return[];}[a0_0x226830(0x409)](){const _0x5d5663=a0_0x226830;return{'name':this[_0x5d5663(0x1be)](),'displayName':this['getDisplayName'](),'type':this['getType'](),'enabled':this['isEnabled'](),'method':this[_0x5d5663(0x351)](),'path':this[_0x5d5663(0x3d4)](),'fullUrl':this[_0x5d5663(0x255)](),'requestParams':this['getRequestParams'](),'requestExample':this[_0x5d5663(0x3d8)](),'responseExample':this[_0x5d5663(0x336)]()};}[a0_0x226830(0x3e4)](){const _0x114dc5=a0_0x226830,_0x4f0a91=this[_0x114dc5(0x31a)]()?'启用':'禁用';return this[_0x114dc5(0x204)]()+'('+this[_0x114dc5(0x2c4)]+',\x20'+_0x4f0a91+')';}}class GenericOperation extends Operation{['_requestExampleCache'];[a0_0x226830(0x2f7)](){const _0x598434=a0_0x226830;return this[_0x598434(0x1f6)]();}[a0_0x226830(0x34b)](){const _0x37b475=a0_0x226830;return this[_0x37b475(0x257)]();}['generateRequestExample'](){const _0x167e5d=a0_0x226830;if(this['_requestExampleCache'])return this['_requestExampleCache'];const _0x1bf873={},_0x1cb24b=this[_0x167e5d(0x2f7)](),_0x1c74b3=this[_0x167e5d(0x19f)]();if(Object[_0x167e5d(0x341)](_0x1cb24b)[_0x167e5d(0x28d)]===0x0&&_0x1c74b3){const _0x1e74fe=this[_0x167e5d(0x33e)]();return _0x1e74fe['forEach'](_0x595dcf=>{const _0x5acccf=_0x167e5d,_0x1b75cc=_0x595dcf[_0x5acccf(0x3b4)],_0x2b1c93=_0x595dcf[_0x5acccf(0x331)],_0x17cfe1=this[_0x5acccf(0x29c)](_0x1b75cc,_0x2b1c93,_0x595dcf[_0x5acccf(0x408)](),{'isPrimaryKey':_0x595dcf['isPrimaryKey'](),'description':_0x595dcf[_0x5acccf(0x1a0)]||_0x595dcf[_0x5acccf(0x2c4)]});_0x1bf873[_0x1b75cc]=_0x17cfe1;}),this[_0x167e5d(0x272)]=_0x1bf873,_0x1bf873;}return Object[_0x167e5d(0x39c)](_0x1cb24b)[_0x167e5d(0x17e)](([_0x1f95a4,_0x2ba4c7])=>{const _0x5bdcc7=_0x167e5d,_0x42a5d7=_0x2ba4c7;let _0x2d999d;if(typeof _0x42a5d7[_0x5bdcc7(0x331)]===_0x5bdcc7(0x25e))_0x2d999d=_0x42a5d7[_0x5bdcc7(0x331)];else _0x42a5d7[_0x5bdcc7(0x331)]&&typeof _0x42a5d7[_0x5bdcc7(0x331)]===_0x5bdcc7(0x1f9)?_0x2d999d=_0x42a5d7['type'][_0x5bdcc7(0x331)]||_0x5bdcc7(0x2b4):_0x2d999d='TEXT';const _0x63b69e=_0x42a5d7['description'],_0x5ba781=this[_0x5bdcc7(0x1b7)](_0x1f95a4);if(_0x1f95a4===_0x5bdcc7(0x374))_0x1bf873[_0x1f95a4]=0x1;else{if(_0x1f95a4===_0x5bdcc7(0x211))_0x1bf873[_0x1f95a4]=0xa;else{if(_0x1f95a4==='id')_0x1bf873[_0x1f95a4]=0x1;else{const _0xd1abf9=_0x5ba781?_0x5ba781[_0x5bdcc7(0x408)]():undefined,_0x389df7=_0x5ba781?_0x5ba781[_0x5bdcc7(0x1a0)]:undefined,_0x164847=_0x5ba781?_0x5ba781[_0x5bdcc7(0x2c4)]:undefined;_0x1bf873[_0x1f95a4]=this['generateFieldExample'](_0x1f95a4,_0x2d999d,_0xd1abf9||undefined,{'isPrimaryKey':_0x1f95a4===this[_0x5bdcc7(0x346)][_0x5bdcc7(0x172)]||_0x1f95a4==='id','description':_0x63b69e||_0x389df7||_0x164847});}}}}),this['_requestExampleCache']=_0x1bf873,_0x1bf873;}['generateResponseExample'](){const _0x3f3ac9=a0_0x226830,_0x305e12=this[_0x3f3ac9(0x34b)]();if(!_0x305e12){const _0x14c97a={};return _0x14c97a['success']=!![],_0x14c97a[_0x3f3ac9(0x2f1)]=_0x3f3ac9(0x2ca),_0x14c97a['errorMsg']='',_0x14c97a['errorCode']=_0x3f3ac9(0x285),_0x14c97a[_0x3f3ac9(0x221)]=null,_0x14c97a;}return this[_0x3f3ac9(0x18f)](_0x305e12);}[a0_0x226830(0x18f)](_0x396039){const _0x225233=a0_0x226830;if(!_0x396039||typeof _0x396039!==_0x225233(0x1f9))return{};if(Array[_0x225233(0x2fe)](_0x396039)){if(_0x396039[_0x225233(0x28d)]>0x0)return[this[_0x225233(0x18f)](_0x396039[0x0])];return[];}const _0x511fc2={};return Object[_0x225233(0x341)](_0x396039)['forEach'](_0x4c1c21=>{const _0x422310=_0x225233,_0x411cf5=_0x396039[_0x4c1c21];if(_0x411cf5&&typeof _0x411cf5===_0x422310(0x1f9)&&!Array[_0x422310(0x2fe)](_0x411cf5)&&_0x411cf5[_0x422310(0x331)]){const _0x47bff3=_0x411cf5;let _0x7ee5d1;if(typeof _0x47bff3[_0x422310(0x331)]===_0x422310(0x25e))_0x7ee5d1=_0x47bff3['type'];else _0x47bff3[_0x422310(0x331)]&&typeof _0x47bff3[_0x422310(0x331)]==='object'?_0x7ee5d1=_0x47bff3[_0x422310(0x331)][_0x422310(0x331)]||'TEXT':_0x7ee5d1=_0x422310(0x2b4);const _0x4eedc0=_0x47bff3[_0x422310(0x1a0)],_0x19d592={};_0x19d592[_0x422310(0x1a0)]=_0x4eedc0,_0x511fc2[_0x4c1c21]=this[_0x422310(0x29c)](_0x4c1c21,_0x7ee5d1,undefined,_0x19d592);}else{if(Array['isArray'](_0x411cf5))_0x511fc2[_0x4c1c21]=_0x411cf5['length']>0x0?[this['generateFromSchema'](_0x411cf5[0x0])]:[];else _0x411cf5&&typeof _0x411cf5==='object'?_0x511fc2[_0x4c1c21]=this[_0x422310(0x18f)](_0x411cf5):_0x511fc2[_0x4c1c21]=_0x411cf5;}}),_0x511fc2;}[a0_0x226830(0x410)](_0x24a536,_0x4594cd){const _0x346207=a0_0x226830,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4594cd||{},_0x46e5d5=this['getName'](),_0x331c7d=this[_0x346207(0x19f)](),_0x4dd937=this[_0x346207(0x240)](),_0x40fcb1=this[_0x346207(0x3d8)](),_0x21f98d=_0x3716d1=>{const _0x1bc4ac=_0x346207;if(Object[_0x1bc4ac(0x341)](_0x3716d1)[_0x1bc4ac(0x28d)]===0x0)return'{}';const _0x1bea41=JSON[_0x1bc4ac(0x182)](_0x3716d1,null,0x2)[_0x1bc4ac(0x1ac)]('\x0a')[_0x1bc4ac(0x30b)]((_0x3cb0b6,_0x445d36)=>_0x445d36===0x0?_0x3cb0b6:indent+_0x3cb0b6)[_0x1bc4ac(0x38c)]('\x0a');return _0x1bea41;};switch(_0x331c7d){case _0x346207(0x381):case _0x346207(0x2a3):return _0x346207(0x171)+_0x24a536+'.'+_0x46e5d5+'(id);';case _0x346207(0x30e):if(useFullExample&&Object[_0x346207(0x341)](_0x40fcb1)[_0x346207(0x28d)]>0x0)return _0x346207(0x171)+_0x24a536+'.'+_0x46e5d5+_0x346207(0x178)+_0x21f98d(_0x40fcb1)+');';return _0x346207(0x171)+_0x24a536+'.'+_0x46e5d5+_0x346207(0x3e1);case'create':case _0x346207(0x2cf):case _0x346207(0x259):default:if(_0x4dd937[_0x346207(0x28d)]>0x0){if(useFullExample&&Object['keys'](_0x40fcb1)[_0x346207(0x28d)]>0x0)return _0x346207(0x171)+_0x24a536+'.'+_0x46e5d5+'('+_0x21f98d(_0x40fcb1)+');';else{const _0x9e4062=Object[_0x346207(0x341)](_0x40fcb1);if(_0x9e4062['length']>0x0){const _0x771f4=_0x9e4062[_0x346207(0x2aa)](0x0,0x2)['join'](',\x20');return _0x346207(0x171)+_0x24a536+'.'+_0x46e5d5+'({\x20'+_0x771f4+_0x346207(0x295);}else return'const\x20result\x20=\x20await\x20client.models.'+_0x24a536+'.'+_0x46e5d5+_0x346207(0x2d9);}}else return _0x346207(0x171)+_0x24a536+'.'+_0x46e5d5+'();';}}[a0_0x226830(0x32f)](){const _0x1165a3=a0_0x226830;return[{'title':_0x1165a3(0x355),'data':this['generateRequestExample']()}];}[a0_0x226830(0x23b)](){const _0x1e494b=a0_0x226830,_0x7fc8b4=this['getType'](),_0x5d6ac4=[];switch(_0x7fc8b4){case _0x1e494b(0x381):case _0x1e494b(0x2a3):const _0x245eda={};_0x245eda[_0x1e494b(0x3b4)]='id',_0x245eda[_0x1e494b(0x331)]=_0x1e494b(0x2ac),_0x245eda[_0x1e494b(0x1a0)]=_0x1e494b(0x349),_0x5d6ac4[_0x1e494b(0x25a)](_0x245eda);break;case'getList':const _0x5e59ea={};_0x5e59ea[_0x1e494b(0x3b4)]='currentPage',_0x5e59ea['type']='NUMBER',_0x5e59ea['description']=_0x1e494b(0x3c0);const _0x1d73f6={};_0x1d73f6['code']=_0x1e494b(0x211),_0x1d73f6[_0x1e494b(0x331)]=_0x1e494b(0x2ac),_0x1d73f6[_0x1e494b(0x1a0)]=_0x1e494b(0x360),_0x5d6ac4[_0x1e494b(0x25a)](_0x5e59ea,_0x1d73f6);break;case _0x1e494b(0x259):const _0x314f29={};_0x314f29[_0x1e494b(0x3b4)]=_0x1e494b(0x3b4),_0x314f29[_0x1e494b(0x331)]='STRING',_0x314f29[_0x1e494b(0x1a0)]=_0x1e494b(0x235),_0x5d6ac4[_0x1e494b(0x25a)](_0x314f29);break;default:break;}return _0x5d6ac4;}[a0_0x226830(0x33e)](){const _0x5ae92b=a0_0x226830,_0x367112=this[_0x5ae92b(0x19f)](),_0x4ea96e=this['context'][_0x5ae92b(0x399)]||[];switch(_0x367112){case _0x5ae92b(0x381):case _0x5ae92b(0x2a3):return[];case _0x5ae92b(0x2b0):return _0x4ea96e[_0x5ae92b(0x196)](_0x1b3f89=>{const _0x58c52b=_0x5ae92b;if(_0x1b3f89[_0x58c52b(0x3d2)])return![];if(_0x1b3f89['isPrimaryKey']()&&_0x1b3f89['isAutoIncrement']())return![];if(_0x1b3f89[_0x58c52b(0x315)]())return![];if(_0x1b3f89[_0x58c52b(0x290)]()||_0x1b3f89[_0x58c52b(0x2ba)]())return![];return!![];});case _0x5ae92b(0x30e):return _0x4ea96e[_0x5ae92b(0x196)](_0x10b723=>{const _0x3c4fc1=_0x5ae92b;if(_0x10b723[_0x3c4fc1(0x3d2)])return![];if(_0x10b723['isPrimaryKey']())return![];if(_0x10b723[_0x3c4fc1(0x315)]())return![];if(_0x10b723[_0x3c4fc1(0x290)]()||_0x10b723[_0x3c4fc1(0x2ba)]())return![];if(_0x10b723[_0x3c4fc1(0x218)]())return![];return!![];});case _0x5ae92b(0x2cf):case _0x5ae92b(0x259):return _0x4ea96e['filter'](_0xbe2c62=>!_0xbe2c62[_0x5ae92b(0x3d2)]&&_0xbe2c62[_0x5ae92b(0x195)]());default:return _0x4ea96e[_0x5ae92b(0x196)](_0x41b4c7=>!_0x41b4c7[_0x5ae92b(0x3d2)]&&_0x41b4c7[_0x5ae92b(0x195)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x226830(0x2f7)](){const _0x327c50=a0_0x226830,_0xaf821f=super[_0x327c50(0x2f7)](),_0x1d814c=Object[_0x327c50(0x341)](_0xaf821f);if(_0x1d814c[_0x327c50(0x28d)]===0x0||_0x1d814c[_0x327c50(0x28d)]===0x1&&_0x1d814c[0x0]===_0x327c50(0x3b4)){if(!_0xaf821f['code']){const _0x3cc741={};_0x3cc741[_0x327c50(0x331)]=_0x327c50(0x251),_0x3cc741['description']=_0x327c50(0x253),_0xaf821f[_0x327c50(0x3b4)]=_0x3cc741;}const _0x345a66={};_0x345a66[_0x327c50(0x331)]=_0x327c50(0x251),_0x345a66[_0x327c50(0x1a0)]=_0x327c50(0x1c2),_0xaf821f[_0x327c50(0x266)]=_0x345a66;}return _0xaf821f;}[a0_0x226830(0x33e)](){return[];}[a0_0x226830(0x23b)](){const _0x52d47b=a0_0x226830,_0x2a6d8b={};_0x2a6d8b['code']=_0x52d47b(0x3b4),_0x2a6d8b[_0x52d47b(0x331)]=_0x52d47b(0x251),_0x2a6d8b[_0x52d47b(0x1a0)]=_0x52d47b(0x253);const _0x347f5f={};return _0x347f5f['code']=_0x52d47b(0x266),_0x347f5f['type']=_0x52d47b(0x251),_0x347f5f[_0x52d47b(0x1a0)]=_0x52d47b(0x1c2),[_0x2a6d8b,_0x347f5f];}['generateRequestExample'](){const _0x440b10=a0_0x226830,_0x2458d4={};return _0x2458d4[_0x440b10(0x3b4)]=_0x440b10(0x348),_0x2458d4[_0x440b10(0x266)]=_0x440b10(0x348),_0x2458d4;}['generateSDKCallCode'](_0x24826d){const _0x11cb11=a0_0x226830,_0x581897=this['getName']();return _0x11cb11(0x171)+_0x24826d+'.'+_0x581897+_0x11cb11(0x3cf);}}class GetListOperation extends GenericOperation{[a0_0x226830(0x2f7)](){const _0x13feac=a0_0x226830,_0x22a3c8=super['getRequestParams'](),{currentPage:_0x150ca8,pageSize:_0x37d6fd,..._0x14ea50}=_0x22a3c8,_0x19e480={};Object['entries'](_0x14ea50)[_0x13feac(0x17e)](([_0x3ed8b3,_0x776ce6])=>{const _0xf10f05=_0x13feac;if(typeof _0x776ce6===_0xf10f05(0x1f9)&&_0x776ce6!==null){const _0x14c895=_0x776ce6,_0x18599a=_0x14c895[_0xf10f05(0x1a0)]||'',_0x10153d={..._0x14c895};_0x10153d[_0xf10f05(0x1a0)]=_0x18599a?_0x18599a+_0xf10f05(0x1f2):_0xf10f05(0x19c),_0x19e480[_0x3ed8b3]=_0x10153d;}else _0x19e480[_0x3ed8b3]=_0x776ce6;});const _0x375888={...typeof _0x150ca8===_0x13feac(0x1f9)?_0x150ca8:{}};_0x375888[_0x13feac(0x331)]=_0x13feac(0x3bf),_0x375888[_0x13feac(0x1a0)]=_0x13feac(0x3c0);const _0x16d8d9={...typeof _0x37d6fd==='object'?_0x37d6fd:{}};_0x16d8d9[_0x13feac(0x331)]='Number',_0x16d8d9[_0x13feac(0x1a0)]=_0x13feac(0x2b2);const _0x3138a6={..._0x19e480};return _0x3138a6['currentPage']=_0x375888,_0x3138a6[_0x13feac(0x211)]=_0x16d8d9,_0x3138a6;}[a0_0x226830(0x3d8)](_0x3c3ebe){const _0x272024=a0_0x226830,{useArrayValues:useArrayValues=!![]}=_0x3c3ebe||{},_0x130c6e=super['generateRequestExample'](),{currentPage:_0x5d2187,pageSize:_0x1375ab,..._0x501bab}=_0x130c6e;if(!useArrayValues){const _0x348305={..._0x501bab};return _0x348305[_0x272024(0x374)]=_0x5d2187??0x1,_0x348305[_0x272024(0x211)]=_0x1375ab??0xa,_0x348305;}const _0x8c716d={},_0x4ca5ee=['id',_0x272024(0x2e9),_0x272024(0x3b4),'type'];Object[_0x272024(0x39c)](_0x501bab)['forEach'](([_0x4630be,_0x130291],_0x83f117)=>{const _0xecd551=_0x272024,_0x5bb049=_0x4ca5ee[_0xecd551(0x288)](_0x42a2e3=>_0x4630be[_0xecd551(0x37b)]()[_0xecd551(0x1dc)](_0x42a2e3))||_0x83f117%0x3===0x0;if(_0x5bb049&&_0x130291!==null&&_0x130291!==undefined){if(typeof _0x130291===_0xecd551(0x3fe))_0x8c716d[_0x4630be]=[_0x130291,_0x130291+0x1,_0x130291+0x2];else typeof _0x130291===_0xecd551(0x25e)?_0x8c716d[_0x4630be]=[_0x130291,_0x130291+'_2',_0x130291+'_3']:_0x8c716d[_0x4630be]=[_0x130291];}else _0x8c716d[_0x4630be]=_0x130291;});const _0x18d16d={..._0x8c716d};return _0x18d16d[_0x272024(0x374)]=_0x5d2187??0x1,_0x18d16d[_0x272024(0x211)]=_0x1375ab??0xa,_0x18d16d;}[a0_0x226830(0x3b5)](){const _0x3b528e=a0_0x226830,_0x39944a={};return _0x39944a[_0x3b528e(0x40d)]=![],this['generateRequestExample'](_0x39944a);}['generateRequestAllExamples'](){const _0x32b5a1=a0_0x226830;return[{'title':'单值查询','description':_0x32b5a1(0x18b),'data':this['generateSingleValueExample']()},{'title':_0x32b5a1(0x181),'description':'支持多个条件','data':this[_0x32b5a1(0x3d8)]()}];}[a0_0x226830(0x410)](_0x3bded6,_0x16b861){const _0x2c0b71=a0_0x226830,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x16b861||{},_0x71b2e0=this[_0x2c0b71(0x1be)](),_0x170447={};_0x170447[_0x2c0b71(0x40d)]=!![];const _0x232883=this[_0x2c0b71(0x3d8)](_0x170447),{currentPage:_0x381f0a,pageSize:_0x202b68,..._0x3a3654}=_0x232883;if(useFullExample&&Object[_0x2c0b71(0x341)](_0x232883)[_0x2c0b71(0x28d)]>0x0){const _0x2d31bc=Object['keys'](_0x3a3654)[_0x2c0b71(0x28d)]>0x0;if(_0x2d31bc){const _0x2f1125=this[_0x2c0b71(0x3b5)](),_0x4789f0=_0x3c3588=>{const _0x5dd97b=_0x2c0b71;return JSON[_0x5dd97b(0x182)](_0x3c3588,null,0x2)[_0x5dd97b(0x1ac)]('\x0a')[_0x5dd97b(0x30b)]((_0x28d7c7,_0x2892ce)=>_0x2892ce===0x0?_0x28d7c7:indent+_0x28d7c7)['join']('\x0a');};return _0x2c0b71(0x163)+_0x3bded6+'.'+_0x71b2e0+'('+_0x4789f0(_0x2f1125)+');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x3bded6+'.'+_0x71b2e0+'('+_0x4789f0(_0x232883)+');';}else{const _0xbe38a2=JSON[_0x2c0b71(0x182)](_0x232883,null,0x2)[_0x2c0b71(0x1ac)]('\x0a')[_0x2c0b71(0x30b)]((_0x59c4a5,_0x2e6304)=>_0x2e6304===0x0?_0x59c4a5:indent+_0x59c4a5)[_0x2c0b71(0x38c)]('\x0a');return _0x2c0b71(0x171)+_0x3bded6+'.'+_0x71b2e0+'('+_0xbe38a2+');';}}if(Object['keys'](_0x3a3654)['length']>0x0){const _0x3b2bc4=Object[_0x2c0b71(0x341)](_0x3a3654)[0x0];return _0x2c0b71(0x171)+_0x3bded6+'.'+_0x71b2e0+_0x2c0b71(0x243)+_0x3b2bc4+_0x2c0b71(0x37a);}return _0x2c0b71(0x171)+_0x3bded6+'.'+_0x71b2e0+_0x2c0b71(0x38e);}}var AGGREGATE_FUNCTIONS=[a0_0x226830(0x343),a0_0x226830(0x308),a0_0x226830(0x3a4),a0_0x226830(0x39d),'min'],FILTER_OPERATORS=[a0_0x226830(0x37d),a0_0x226830(0x39b),a0_0x226830(0x2c2),a0_0x226830(0x318),a0_0x226830(0x3f3),'$lteq',a0_0x226830(0x239),a0_0x226830(0x282),a0_0x226830(0x1bf),a0_0x226830(0x3f1),a0_0x226830(0x2c3),a0_0x226830(0x28c)];class FilterOperation extends GenericOperation{constructor(_0x2cd7a8,_0x115f43,_0x501c36){super(_0x2cd7a8,_0x115f43,_0x501c36);}[a0_0x226830(0x367)](){return FILTER_OPERATORS;}[a0_0x226830(0x2be)](_0x504f85){const _0x457d1f=a0_0x226830,_0x5926de=this[_0x457d1f(0x1b7)](_0x504f85);if(!_0x5926de)return[];return this[_0x457d1f(0x180)](_0x5926de);}['getRequestParams'](){const _0x1c27e7=a0_0x226830,_0x3c23ba=super[_0x1c27e7(0x2f7)](),_0x457986={};_0x457986[_0x1c27e7(0x331)]='Object',_0x457986['description']=_0x1c27e7(0x228),_0x457986[_0x1c27e7(0x35d)]=![];const _0x4d3df0={};_0x4d3df0['type']=_0x1c27e7(0x213),_0x4d3df0[_0x1c27e7(0x1a0)]=_0x1c27e7(0x404),_0x4d3df0[_0x1c27e7(0x35d)]=![];const _0x330f91={};_0x330f91[_0x1c27e7(0x331)]='Object[]',_0x330f91[_0x1c27e7(0x1a0)]=_0x1c27e7(0x375),_0x330f91[_0x1c27e7(0x35d)]=![];const _0x3b58d5={};_0x3b58d5[_0x1c27e7(0x331)]=_0x1c27e7(0x3bf),_0x3b58d5[_0x1c27e7(0x1a0)]=_0x1c27e7(0x3c0),_0x3b58d5[_0x1c27e7(0x35d)]=![],_0x3b58d5[_0x1c27e7(0x301)]=0x1;const _0x17e915={};_0x17e915[_0x1c27e7(0x331)]=_0x1c27e7(0x3bf),_0x17e915[_0x1c27e7(0x1a0)]=_0x1c27e7(0x2b2),_0x17e915[_0x1c27e7(0x35d)]=![],_0x17e915[_0x1c27e7(0x301)]=0xa;const _0x1d928d={..._0x3c23ba};return _0x1d928d[_0x1c27e7(0x412)]=_0x457986,_0x1d928d[_0x1c27e7(0x275)]=_0x4d3df0,_0x1d928d[_0x1c27e7(0x3c3)]=_0x330f91,_0x1d928d[_0x1c27e7(0x374)]=_0x3b58d5,_0x1d928d['pageSize']=_0x17e915,_0x1d928d;}[a0_0x226830(0x23b)](){const _0x3dba01=a0_0x226830,_0x2e856e=this[_0x3dba01(0x2f7)](),_0x5a4906=[],_0xf377d0=[_0x3dba01(0x412),_0x3dba01(0x275),_0x3dba01(0x3c3),'currentPage',_0x3dba01(0x211)];return Object[_0x3dba01(0x39c)](_0x2e856e)[_0x3dba01(0x17e)](([_0x9cd654,_0x1000a6])=>{const _0x3b3c08=_0x3dba01;if(_0xf377d0[_0x3b3c08(0x1dc)](_0x9cd654)){const _0x40b37a=_0x1000a6,_0x5e3f9f={};_0x5e3f9f['code']=_0x9cd654,_0x5e3f9f[_0x3b3c08(0x331)]=_0x40b37a[_0x3b3c08(0x331)]||_0x3b3c08(0x2ee),_0x5e3f9f['description']=_0x40b37a[_0x3b3c08(0x1a0)]||'-',_0x5a4906[_0x3b3c08(0x25a)](_0x5e3f9f);}}),_0x5a4906;}[a0_0x226830(0x33e)](){const _0x139943=a0_0x226830;return this['context'][_0x139943(0x399)]||[];}['getGroupedParams'](){const _0x1b0f21=a0_0x226830;return{'systemParams':this['getSystemFields'](),'businessFields':this[_0x1b0f21(0x33e)]()};}['generateRequestExample'](){const _0x3a2116=a0_0x226830,_0x283605=this[_0x3a2116(0x346)][_0x3a2116(0x399)]||[];if(_0x283605[_0x3a2116(0x28d)]===0x0){const _0x242e90={};return _0x242e90[_0x3a2116(0x412)]={},_0x242e90[_0x3a2116(0x374)]=0x1,_0x242e90[_0x3a2116(0x211)]=0x14,_0x242e90;}const _0x57fb11={},_0x593dde=_0x283605[_0x3a2116(0x2aa)](0x0,Math[_0x3a2116(0x3d1)](0x3,_0x283605[_0x3a2116(0x28d)]));_0x593dde['forEach'](_0x5e2350=>{const _0x1a8f9b=_0x3a2116,_0x1911fa=this[_0x1a8f9b(0x180)](_0x5e2350);if(_0x1911fa['length']===0x0)return;const _0x4785c1=this['selectBestOperator'](_0x5e2350,_0x1911fa),_0x2a7fbf=this[_0x1a8f9b(0x3c2)](_0x5e2350,_0x4785c1),_0x53b2e1={};_0x53b2e1[_0x4785c1]=_0x2a7fbf,_0x57fb11[_0x5e2350[_0x1a8f9b(0x3b4)]]=_0x53b2e1;});const _0x46bf33=_0x283605['slice'](0x0,Math[_0x3a2116(0x3d1)](0x5,_0x283605[_0x3a2116(0x28d)]))[_0x3a2116(0x30b)](_0x35f668=>_0x35f668[_0x3a2116(0x3b4)]),_0x659e95=_0x283605[0x0]?_0x283605[0x0][_0x3a2116(0x3b4)]:'id',_0x189704={};_0x189704[_0x659e95]=_0x3a2116(0x304);const _0x300bad={};return _0x300bad['where']=_0x57fb11,_0x300bad[_0x3a2116(0x275)]=_0x46bf33,_0x300bad[_0x3a2116(0x3c3)]=[_0x189704],_0x300bad['currentPage']=0x1,_0x300bad[_0x3a2116(0x211)]=0x14,_0x300bad;}[a0_0x226830(0x410)](_0x455121,_0x2af110){const _0x3670e7=a0_0x226830,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2af110||{},_0x26bb53=this[_0x3670e7(0x1be)](),_0x10e4fc=this[_0x3670e7(0x3d8)](),_0xf6c9e5=_0x4d5993=>{const _0x3287ed=_0x3670e7;return JSON[_0x3287ed(0x182)](_0x4d5993,null,0x2)['split']('\x0a')[_0x3287ed(0x30b)]((_0x3310ac,_0x194bfb)=>_0x194bfb===0x0?_0x3310ac:indent+_0x3310ac)[_0x3287ed(0x38c)]('\x0a');};if(useFullExample){const _0x141061=this[_0x3670e7(0x346)][_0x3670e7(0x399)]||[],_0x3e152d={'where':_0x141061[0x0]?{[_0x141061[0x0][_0x3670e7(0x3b4)]]:{'$eq':this[_0x3670e7(0x3c2)](_0x141061[0x0],_0x3670e7(0x37d))}}:{},'select':_0x141061[_0x3670e7(0x2aa)](0x0,0x3)[_0x3670e7(0x30b)](_0x5d9102=>_0x5d9102[_0x3670e7(0x3b4)]),'currentPage':0x1,'pageSize':0x14};let _0x5f5b2b='';if(_0x141061[_0x3670e7(0x28d)]>=0x3){const _0x3ddea8={};_0x3ddea8[_0x3670e7(0x2c3)]=[];const _0x1c0895=_0x3ddea8,_0x91be79=[];if(_0x141061[_0x3670e7(0x28d)]>0x0){const _0x1c6bd2=_0x141061[_0x3670e7(0x244)](_0x32f0ab=>{const _0x5b29b5=_0x3670e7,_0x36b5a7=_0x32f0ab[_0x5b29b5(0x408)]();return[_0x5b29b5(0x2ac),'INTEGER',_0x5b29b5(0x38a),_0x5b29b5(0x1e0),_0x5b29b5(0x3e6),_0x5b29b5(0x2da)]['includes'](_0x36b5a7);});if(_0x1c6bd2){const _0x141263={};_0x141263[_0x3670e7(0x2c2)]=0x0,_0x141263[_0x3670e7(0x3f3)]=0x64;const _0x4ac508={[_0x1c6bd2[_0x3670e7(0x3b4)]]:_0x141263};_0x91be79[_0x3670e7(0x25a)](_0x4ac508);}}if(_0x141061[_0x3670e7(0x28d)]>0x1){const _0x431ee3=_0x141061[_0x3670e7(0x244)](_0x584ec4=>{const _0x3c8ce0=_0x3670e7,_0x415f66=_0x584ec4['getDbTypeForOperation']();return[_0x3c8ce0(0x236),_0x3c8ce0(0x2b4),_0x3c8ce0(0x20a),_0x3c8ce0(0x242),_0x3c8ce0(0x37f)][_0x3c8ce0(0x1dc)](_0x415f66);});if(_0x431ee3){const _0x4cc520={};_0x4cc520[_0x3670e7(0x282)]=_0x3670e7(0x17c);const _0x33ebd4={[_0x431ee3[_0x3670e7(0x3b4)]]:_0x4cc520};_0x91be79['push'](_0x33ebd4);}}if(_0x91be79['length']>0x0){_0x1c0895[_0x3670e7(0x2c3)]=_0x91be79;const _0x60334b={'where':_0x1c0895,'select':_0x141061[_0x3670e7(0x2aa)](0x0,0x4)[_0x3670e7(0x30b)](_0xd8395b=>_0xd8395b[_0x3670e7(0x3b4)]),'orderBy':[{[_0x141061[0x0]['code']]:'DESC'}],'currentPage':0x1,'pageSize':0x14};_0x5f5b2b=_0x3670e7(0x1c7)+_0x455121+'.'+_0x26bb53+'('+_0xf6c9e5(_0x60334b)+');';}}return _0x3670e7(0x190)+_0x455121+'.'+_0x26bb53+'('+_0xf6c9e5(_0x3e152d)+');'+_0x5f5b2b;}const _0x31e160=JSON[_0x3670e7(0x182)](_0x10e4fc,null,0x2)[_0x3670e7(0x1ac)]('\x0a')['map']((_0x4fcdd9,_0x502f45)=>_0x502f45===0x0?_0x4fcdd9:indent+_0x4fcdd9)[_0x3670e7(0x38c)]('\x0a');return _0x3670e7(0x171)+_0x455121+'.'+_0x26bb53+'('+_0x31e160+');';}[a0_0x226830(0x180)](_0x2d7f94){const _0x4fe37b=a0_0x226830,_0x9cec55=_0x2d7f94[_0x4fe37b(0x408)](),_0x3801a2=[];if([_0x4fe37b(0x2ac),'INTEGER',_0x4fe37b(0x38a),_0x4fe37b(0x1e5)]['includes'](_0x9cec55)||[_0x4fe37b(0x1e0),_0x4fe37b(0x3e6),'SMALLINT',_0x4fe37b(0x1a1),_0x4fe37b(0x384)][_0x4fe37b(0x1dc)](_0x9cec55))_0x3801a2['push'](_0x4fe37b(0x37d),'$ne',_0x4fe37b(0x2c2),_0x4fe37b(0x3f3),_0x4fe37b(0x318),_0x4fe37b(0x332),_0x4fe37b(0x239));else{if([_0x4fe37b(0x236),_0x4fe37b(0x2b4),_0x4fe37b(0x20a)][_0x4fe37b(0x1dc)](_0x9cec55)||['CHAR',_0x4fe37b(0x37f)][_0x4fe37b(0x1dc)](_0x9cec55))_0x3801a2[_0x4fe37b(0x25a)](_0x4fe37b(0x37d),_0x4fe37b(0x39b),_0x4fe37b(0x239),_0x4fe37b(0x282),_0x4fe37b(0x1bf),'$endWith');else{if([_0x4fe37b(0x23a),_0x4fe37b(0x24d),_0x4fe37b(0x2b6)][_0x4fe37b(0x1dc)](_0x9cec55)||[_0x4fe37b(0x2ad)][_0x4fe37b(0x1dc)](_0x9cec55))_0x3801a2['push'](_0x4fe37b(0x37d),'$ne','$gte',_0x4fe37b(0x3f3),'$gteq','$lteq');else[_0x4fe37b(0x212),'BOOL',_0x4fe37b(0x27c)]['includes'](_0x9cec55)?_0x3801a2['push']('$eq','$ne'):_0x3801a2[_0x4fe37b(0x25a)]('$eq',_0x4fe37b(0x39b));}}return _0x3801a2;}[a0_0x226830(0x247)](_0x2e0389,_0x215715){const _0x48461e=a0_0x226830,_0x2ec062=_0x2e0389[_0x48461e(0x408)]();if([_0x48461e(0x2ac),_0x48461e(0x1f5),_0x48461e(0x38a),_0x48461e(0x1e5)][_0x48461e(0x1dc)](_0x2ec062)||[_0x48461e(0x1e0),'TINYINT','SMALLINT',_0x48461e(0x1a1),_0x48461e(0x384)][_0x48461e(0x1dc)](_0x2ec062))return _0x215715[_0x48461e(0x1dc)](_0x48461e(0x2c2))?_0x48461e(0x2c2):_0x48461e(0x37d);if([_0x48461e(0x236),_0x48461e(0x2b4),_0x48461e(0x20a)][_0x48461e(0x1dc)](_0x2ec062)||['CHAR',_0x48461e(0x37f)][_0x48461e(0x1dc)](_0x2ec062))return _0x215715[_0x48461e(0x1dc)]('$contain')?_0x48461e(0x282):_0x48461e(0x37d);if([_0x48461e(0x23a),_0x48461e(0x24d),_0x48461e(0x2b6),'TIME'][_0x48461e(0x1dc)](_0x2ec062))return _0x215715[_0x48461e(0x1dc)](_0x48461e(0x2c2))?_0x48461e(0x2c2):'$eq';return'$eq';}[a0_0x226830(0x3c2)](_0x54c9c7,_0x3e8cfb){const _0x1a523f=a0_0x226830,_0x152c50=_0x54c9c7[_0x1a523f(0x408)](),_0x255065=_0x54c9c7[_0x1a523f(0x276)]();if(_0x255065&&_0x255065[_0x1a523f(0x28d)]>0x0){if(_0x3e8cfb==='$in')return _0x255065[_0x1a523f(0x2aa)](0x0,0x2)[_0x1a523f(0x30b)](_0x500caa=>_0x500caa['value']);return _0x255065[0x0][_0x1a523f(0x2fa)];}if([_0x1a523f(0x2ac),_0x1a523f(0x1f5),'BIGINT',_0x1a523f(0x1e5)][_0x1a523f(0x1dc)](_0x152c50)||[_0x1a523f(0x1e0),_0x1a523f(0x3e6),_0x1a523f(0x2da),_0x1a523f(0x1a1),_0x1a523f(0x384)][_0x1a523f(0x1dc)](_0x152c50)){if(_0x3e8cfb==='$in')return[0x1,0x2,0x3];if(_0x3e8cfb===_0x1a523f(0x2c2)||_0x3e8cfb===_0x1a523f(0x318))return 0x0;if(_0x3e8cfb===_0x1a523f(0x3f3)||_0x3e8cfb===_0x1a523f(0x332))return 0x64;return 0x1;}if([_0x1a523f(0x236),_0x1a523f(0x2b4),'VARCHAR'][_0x1a523f(0x1dc)](_0x152c50)||[_0x1a523f(0x242),_0x1a523f(0x37f)][_0x1a523f(0x1dc)](_0x152c50)){if(_0x3e8cfb===_0x1a523f(0x239))return[_0x1a523f(0x2eb),_0x1a523f(0x232)];if(_0x3e8cfb===_0x1a523f(0x282))return _0x1a523f(0x17c);if(_0x3e8cfb===_0x1a523f(0x1bf))return _0x1a523f(0x3ad);if(_0x3e8cfb==='$endWith')return _0x1a523f(0x3fd);return _0x1a523f(0x2fa);}if(['DATE',_0x1a523f(0x24d),'TIMESTAMP',_0x1a523f(0x2ad)][_0x1a523f(0x1dc)](_0x152c50)){if(_0x3e8cfb==='$gte'||_0x3e8cfb===_0x1a523f(0x318))return _0x1a523f(0x1b6);if(_0x3e8cfb===_0x1a523f(0x3f3)||_0x3e8cfb===_0x1a523f(0x332))return _0x1a523f(0x260);return _0x1a523f(0x1b6);}if(['BOOLEAN',_0x1a523f(0x356),_0x1a523f(0x27c)]['includes'](_0x152c50))return!![];return _0x3e8cfb===_0x1a523f(0x239)?[_0x1a523f(0x2eb),'value2']:_0x1a523f(0x2fa);}['getRequestParamsDocInfo'](){const _0x242f2c=a0_0x226830,_0x22a20b=super['getRequestParams'](),_0x9b56f3=Object[_0x242f2c(0x39c)](_0x22a20b)['filter'](([_0x1f42a0])=>_0x1f42a0!==_0x242f2c(0x374)&&_0x1f42a0!==_0x242f2c(0x211))[_0x242f2c(0x30b)](([_0x35d239,_0x4c8d0e])=>{const _0x25df6b=_0x242f2c,_0x58cce5=_0x4c8d0e,_0x3b6810={};return _0x3b6810[_0x25df6b(0x2c4)]=_0x35d239,_0x3b6810[_0x25df6b(0x331)]=_0x58cce5[_0x25df6b(0x331)]||_0x25df6b(0x251),_0x3b6810[_0x25df6b(0x1a0)]=_0x58cce5[_0x25df6b(0x1a0)]||'-',_0x3b6810[_0x25df6b(0x35d)]=_0x58cce5[_0x25df6b(0x35d)],_0x3b6810;}),_0x32306c={};return _0x32306c[_0x242f2c(0x1a0)]='\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',_0x32306c[_0x242f2c(0x39e)]=_0x9b56f3,_0x32306c;}}class ExcelExportOperation extends GenericOperation{[a0_0x226830(0x2f7)](){const _0x3fd986=a0_0x226830,_0x48e175=super[_0x3fd986(0x2f7)]();if(Object[_0x3fd986(0x341)](_0x48e175)[_0x3fd986(0x28d)]===0x0){const _0x147ba5={};this[_0x3fd986(0x346)][_0x3fd986(0x399)][_0x3fd986(0x17e)](_0x3cecde=>{const _0x2cf21d=_0x3fd986;if(_0x3cecde){const _0x1896e7=_0x3cecde[_0x2cf21d(0x3b4)],_0x34dd08=_0x3cecde[_0x2cf21d(0x408)](),_0xf5fea2={};_0xf5fea2['type']=_0x34dd08||_0x2cf21d(0x2b4),_0xf5fea2[_0x2cf21d(0x2d8)]=_0x3cecde[_0x2cf21d(0x2d8)],_0xf5fea2[_0x2cf21d(0x1a0)]=_0x3cecde[_0x2cf21d(0x1a0)]||_0x3cecde[_0x2cf21d(0x2c4)],_0x147ba5[_0x1896e7]=_0xf5fea2;}});const _0x4922d1={};_0x4922d1['type']=_0x3fd986(0x25c),_0x4922d1[_0x3fd986(0x1a0)]=_0x3fd986(0x3ce),_0x147ba5[_0x3fd986(0x374)]=_0x4922d1;const _0x52b4d6={};return _0x52b4d6[_0x3fd986(0x331)]=_0x3fd986(0x25c),_0x52b4d6[_0x3fd986(0x1a0)]=_0x3fd986(0x310),_0x147ba5[_0x3fd986(0x211)]=_0x52b4d6,_0x147ba5;}return _0x48e175;}[a0_0x226830(0x3d8)](){const _0x1c16d6=a0_0x226830,_0x40eb28=super[_0x1c16d6(0x3d8)]();if(Object[_0x1c16d6(0x341)](_0x40eb28)[_0x1c16d6(0x28d)]===0x0){const _0x33decb={};return _0x33decb[_0x1c16d6(0x374)]=0x1,_0x33decb[_0x1c16d6(0x211)]=0x64,_0x33decb;}const _0x56b15a={..._0x40eb28};return _0x56b15a[_0x1c16d6(0x374)]=_0x40eb28['currentPage']??0x1,_0x56b15a[_0x1c16d6(0x211)]=_0x40eb28[_0x1c16d6(0x211)]??0x64,_0x56b15a;}[a0_0x226830(0x336)](){const _0x4cdff9=a0_0x226830,_0x578d95={};return _0x578d95[_0x4cdff9(0x38d)]=!![],_0x578d95[_0x4cdff9(0x2f1)]='',_0x578d95[_0x4cdff9(0x3c6)]='',_0x578d95[_0x4cdff9(0x387)]='0000',_0x578d95['data']=_0x4cdff9(0x267),_0x578d95['params']=null,_0x578d95;}['generateSDKCallCode'](_0x2dbc13,_0x10ef99){const _0x2d1fb4=a0_0x226830,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x10ef99||{},_0x9630a1=this[_0x2d1fb4(0x1be)]();if(useFullExample){const _0x25f223=this[_0x2d1fb4(0x3d8)](),{currentPage:_0x448118,pageSize:_0x3ff465,..._0x128d93}=_0x25f223,_0x2b685b=Object[_0x2d1fb4(0x341)](_0x128d93)[_0x2d1fb4(0x28d)]>0x0;if(_0x2b685b){const _0x2dccbf=_0x2d6636=>{const _0x10f301=_0x2d1fb4;return JSON[_0x10f301(0x182)](_0x2d6636,null,0x2)[_0x10f301(0x1ac)]('\x0a')[_0x10f301(0x30b)]((_0x164cc9,_0xebd7c0)=>_0xebd7c0===0x0?_0x164cc9:indent+_0x164cc9)[_0x10f301(0x38c)]('\x0a');};return _0x2d1fb4(0x24f)+_0x2dbc13+'.'+_0x9630a1+_0x2d1fb4(0x313)+_0x2dbc13+'.'+_0x9630a1+'('+_0x2dccbf(_0x25f223)+');';}else{const _0x19801d=_0x5f0586=>{const _0x2a8cf4=_0x2d1fb4;return JSON[_0x2a8cf4(0x182)](_0x5f0586,null,0x2)[_0x2a8cf4(0x1ac)]('\x0a')[_0x2a8cf4(0x30b)]((_0x5bd19d,_0x5755cb)=>_0x5755cb===0x0?_0x5bd19d:indent+_0x5bd19d)['join']('\x0a');},_0xa76a5={};return _0xa76a5['currentPage']=0x1,_0xa76a5['pageSize']=0x64,_0x2d1fb4(0x24f)+_0x2dbc13+'.'+_0x9630a1+_0x2d1fb4(0x1f7)+_0x2dbc13+'.'+_0x9630a1+'('+_0x19801d(_0xa76a5)+');';}}return'const\x20fileUrl\x20=\x20await\x20client.models.'+_0x2dbc13+'.'+_0x9630a1+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}['generateUsageExample'](_0x7611f1){const _0x19dcc5=a0_0x226830,_0x1bca8d=this['getName'](),_0x464be9=_0x7611f1||_0x19dcc5(0x17a),_0x3da440='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x464be9+'.'+_0x1bca8d+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x520224=_0x19dcc5(0x3f4)+_0x464be9+'.'+_0x1bca8d+'();\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}',_0x2b4567={};return _0x2b4567[_0x19dcc5(0x2cb)]=_0x3da440,_0x2b4567['errorCode']=_0x520224,_0x2b4567;}}class UpdateOperation extends GenericOperation{[a0_0x226830(0x3f8)](){const _0x25e1f3=a0_0x226830;return this[_0x25e1f3(0x1f6)]();}[a0_0x226830(0x2f7)](){const _0x1f5b47=a0_0x226830,_0x5c0fef=this[_0x1f5b47(0x3f8)](),_0x465895={};_0x465895[_0x1f5b47(0x331)]=_0x1f5b47(0x2ac),_0x465895['description']='主键ID(必填)',_0x465895['required']=!![];const _0xf0e632={};_0xf0e632['type']=_0x1f5b47(0x1f9),_0xf0e632[_0x1f5b47(0x1a0)]=_0x1f5b47(0x291),_0xf0e632[_0x1f5b47(0x35d)]=!![],_0xf0e632[_0x1f5b47(0x37e)]=_0x5c0fef;const _0x3c9160={};return _0x3c9160['id']=_0x465895,_0x3c9160[_0x1f5b47(0x221)]=_0xf0e632,_0x3c9160;}[a0_0x226830(0x3be)](){const _0x14ba93=a0_0x226830;return this[_0x14ba93(0x3f8)]();}[a0_0x226830(0x174)](){const _0x5446fd=a0_0x226830,_0x35f82f=this[_0x5446fd(0x346)][_0x5446fd(0x399)]||[],_0x695741=this['context'][_0x5446fd(0x172)],_0xb40e06=_0x35f82f[_0x5446fd(0x244)](_0x5e719a=>_0x5e719a[_0x5446fd(0x186)]()||_0x5e719a[_0x5446fd(0x3b4)]===_0x695741),_0x40c231=_0x35f82f[_0x5446fd(0x196)](_0x9ddbc1=>{const _0x10cb52=_0x5446fd;if(_0x9ddbc1[_0x10cb52(0x3d2)])return![];if(_0x9ddbc1===_0xb40e06||_0x9ddbc1[_0x10cb52(0x186)]())return![];if(_0x9ddbc1[_0x10cb52(0x290)]()||_0x9ddbc1['isUpdateTime']())return![];if(_0x9ddbc1[_0x10cb52(0x218)]())return![];return!![];});return _0xb40e06?[_0xb40e06,..._0x40c231]:_0x40c231;}[a0_0x226830(0x1af)](){const _0x24be58=a0_0x226830,_0x4d258c=this[_0x24be58(0x174)](),_0x596ada=this[_0x24be58(0x346)][_0x24be58(0x172)],_0x1947eb=_0x4d258c[_0x24be58(0x30b)](_0x1fe201=>{const _0x9c5490=_0x24be58,_0x30ae09=_0x1fe201['isPrimaryKey']()||_0x1fe201[_0x9c5490(0x3b4)]===_0x596ada,_0x274fc6=_0x30ae09?'id':_0x1fe201['code'],_0xdcd74c={};return _0xdcd74c[_0x9c5490(0x2c4)]=_0x274fc6,_0xdcd74c[_0x9c5490(0x331)]=_0x1fe201['type'],_0xdcd74c['description']=_0x30ae09?_0x9c5490(0x185)+(_0x596ada&&_0x596ada!==_0x1fe201[_0x9c5490(0x3b4)]?_0x9c5490(0x28b)+_0x1fe201[_0x9c5490(0x3b4)]+')':''):_0x1fe201[_0x9c5490(0x1a0)]||_0x1fe201[_0x9c5490(0x2c4)],_0xdcd74c;}),_0x56f63f={};return _0x56f63f['description']=_0x24be58(0x1ed),_0x56f63f[_0x24be58(0x39e)]=_0x1947eb,_0x56f63f;}['getRequestParamsDocInfo'](){const _0x4a757c=a0_0x226830,_0x1b50a6=this['getUpdateFields'](),_0xf36237=Object[_0x4a757c(0x39c)](_0x1b50a6)[_0x4a757c(0x30b)](([_0x45107a,_0x3e88d2])=>{const _0x1f3c2a=_0x4a757c,_0x210983=_0x3e88d2,_0x5db5ae={};return _0x5db5ae[_0x1f3c2a(0x2c4)]=_0x45107a,_0x5db5ae[_0x1f3c2a(0x331)]=_0x210983[_0x1f3c2a(0x331)]||'String',_0x5db5ae[_0x1f3c2a(0x1a0)]=_0x210983['description']||'-',_0x5db5ae;}),_0x23aecc={};return _0x23aecc[_0x4a757c(0x1a0)]=_0x4a757c(0x283)+_0x4a757c(0x2b5)+'-\x20主键ID,用于定位要更新的记录\x0a\x0a'+_0x4a757c(0x373)+_0x4a757c(0x16e)+_0x4a757c(0x359),_0x23aecc[_0x4a757c(0x39e)]=_0xf36237,_0x23aecc;}[a0_0x226830(0x3d8)](){const _0x59dad6=a0_0x226830,_0x3d02a0=this[_0x59dad6(0x3f8)](),_0x1b91d9={};Object[_0x59dad6(0x39c)](_0x3d02a0)['forEach'](([_0x26d9b1,_0x56160c])=>{const _0x4a8f59=_0x59dad6,_0x117ade=_0x56160c;let _0x5a2ded;if(typeof _0x117ade[_0x4a8f59(0x331)]===_0x4a8f59(0x25e))_0x5a2ded=_0x117ade[_0x4a8f59(0x331)];else _0x117ade['type']&&typeof _0x117ade['type']==='object'?_0x5a2ded=_0x117ade['type'][_0x4a8f59(0x331)]||_0x4a8f59(0x2b4):_0x5a2ded=_0x4a8f59(0x2b4);const _0x507256=_0x117ade[_0x4a8f59(0x1a0)],_0x5a2279=this['getFieldDefinition'](_0x26d9b1);_0x1b91d9[_0x26d9b1]=this[_0x4a8f59(0x29c)](_0x26d9b1,_0x5a2ded,_0x5a2279?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x507256||_0x5a2279?.[_0x4a8f59(0x1a0)]||_0x5a2279?.[_0x4a8f59(0x2c4)]});});const _0x3dc23b={};return _0x3dc23b['id']=0x1,_0x3dc23b['data']=_0x1b91d9,_0x3dc23b;}['generateRequestAllExamples'](){const _0x779b84=a0_0x226830,_0x1f188c=this[_0x779b84(0x3d8)](),_0x56a206={};return _0x56a206[_0x779b84(0x176)]=_0x779b84(0x237),_0x56a206[_0x779b84(0x1a0)]=_0x779b84(0x2ed)+_0x779b84(0x22a)+'-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段',_0x56a206[_0x779b84(0x221)]=_0x1f188c,[_0x56a206,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x779b84(0x328)+'-\x20主键使用\x20`id`\x20字段\x0a'+_0x779b84(0x340),'data':this['generateHTTPRequestExample']()}];}['generateHTTPRequestExample'](){const _0x2d3399=a0_0x226830,_0x575732=this[_0x2d3399(0x3f8)](),_0x484720={};_0x484720['id']=0x1;const _0x3eb05e=_0x484720;return Object['entries'](_0x575732)['forEach'](([_0x342a8f,_0x23ec85])=>{const _0x3d342e=_0x2d3399,_0x361662=_0x23ec85;let _0x3e88bc;if(typeof _0x361662[_0x3d342e(0x331)]==='string')_0x3e88bc=_0x361662[_0x3d342e(0x331)];else _0x361662[_0x3d342e(0x331)]&&typeof _0x361662[_0x3d342e(0x331)]==='object'?_0x3e88bc=_0x361662[_0x3d342e(0x331)]['type']||'TEXT':_0x3e88bc='TEXT';const _0x5d29a3=_0x361662['description'],_0x13aa98=this[_0x3d342e(0x1b7)](_0x342a8f);if(_0x13aa98?.[_0x3d342e(0x186)]())return;_0x3eb05e[_0x342a8f]=this[_0x3d342e(0x29c)](_0x342a8f,_0x3e88bc,_0x13aa98?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x5d29a3||_0x13aa98?.[_0x3d342e(0x1a0)]||_0x13aa98?.[_0x3d342e(0x2c4)]});}),_0x3eb05e;}[a0_0x226830(0x35c)](){const _0x4d983b=a0_0x226830;return this[_0x4d983b(0x246)]();}[a0_0x226830(0x410)](_0x4931a6,_0x27ee79){const _0xe23144=a0_0x226830,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x27ee79||{},_0x35efaf=this[_0xe23144(0x1be)]();if(useFullExample){const _0x12bc7e=this[_0xe23144(0x3d8)](),_0x3584ad=JSON[_0xe23144(0x182)](_0x12bc7e['data'],null,0x2)[_0xe23144(0x1ac)]('\x0a')['map']((_0x358271,_0x24a33b)=>_0x24a33b===0x0?_0x358271:indent+_0x358271)[_0xe23144(0x38c)]('\x0a');return _0xe23144(0x171)+_0x4931a6+'.'+_0x35efaf+'('+_0x12bc7e['id']+',\x20'+_0x3584ad+');';}return _0xe23144(0x171)+_0x4931a6+'.'+_0x35efaf+_0xe23144(0x3e1);}}class AggregateOperation extends GenericOperation{constructor(_0x38c19f,_0x5a0cf1,_0x3884d4){super(_0x38c19f,_0x5a0cf1,_0x3884d4);}[a0_0x226830(0x1a9)](_0x1d152d){const _0x13448a=a0_0x226830;return _0x1d152d['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x13448a(0x1f8)]()['toUpperCase']();}[a0_0x226830(0x2de)](){return AGGREGATE_FUNCTIONS;}[a0_0x226830(0x2f7)](){const _0x4d9c93=a0_0x226830,_0x4fb0=super[_0x4d9c93(0x2f7)](),_0x35ee26={};_0x35ee26[_0x4d9c93(0x331)]='String[]',_0x35ee26['description']=_0x4d9c93(0x3cd),_0x35ee26[_0x4d9c93(0x35d)]=![];const _0x3dfaa1={};_0x3dfaa1[_0x4d9c93(0x331)]=_0x4d9c93(0x2ee),_0x3dfaa1[_0x4d9c93(0x1a0)]=_0x4d9c93(0x262),_0x3dfaa1['required']=![];const _0x4c497b={};_0x4c497b[_0x4d9c93(0x331)]=_0x4d9c93(0x213),_0x4c497b[_0x4d9c93(0x1a0)]=_0x4d9c93(0x3c1),_0x4c497b['required']=![];const _0xa245cb={};_0xa245cb[_0x4d9c93(0x331)]=_0x4d9c93(0x1cb),_0xa245cb[_0x4d9c93(0x1a0)]=_0x4d9c93(0x3fc),_0xa245cb[_0x4d9c93(0x35d)]=![];const _0x2a0d0f={};_0x2a0d0f['type']=_0x4d9c93(0x1cb),_0x2a0d0f[_0x4d9c93(0x1a0)]=_0x4d9c93(0x357),_0x2a0d0f['required']=![];const _0x5385af={};_0x5385af[_0x4d9c93(0x331)]='Array',_0x5385af['description']=_0x4d9c93(0x32c),_0x5385af[_0x4d9c93(0x35d)]=![];const _0x16f9a9={};_0x16f9a9['type']=_0x4d9c93(0x3bf),_0x16f9a9[_0x4d9c93(0x1a0)]=_0x4d9c93(0x1e8),_0x16f9a9['required']=![];const _0x3ebeb9={};_0x3ebeb9[_0x4d9c93(0x331)]=_0x4d9c93(0x3bf),_0x3ebeb9[_0x4d9c93(0x1a0)]=_0x4d9c93(0x238),_0x3ebeb9[_0x4d9c93(0x35d)]=![];const _0x49417c={..._0x4fb0};return _0x49417c[_0x4d9c93(0x275)]=_0x35ee26,_0x49417c[_0x4d9c93(0x412)]=_0x3dfaa1,_0x49417c[_0x4d9c93(0x289)]=_0x4c497b,_0x49417c['aggregate']=_0xa245cb,_0x49417c['having']=_0x2a0d0f,_0x49417c[_0x4d9c93(0x3c3)]=_0x5385af,_0x49417c[_0x4d9c93(0x374)]=_0x16f9a9,_0x49417c['pageSize']=_0x3ebeb9,_0x49417c;}[a0_0x226830(0x23b)](){const _0x3a4b0a=a0_0x226830,_0x4f21b1={};_0x4f21b1[_0x3a4b0a(0x3b4)]=_0x3a4b0a(0x275),_0x4f21b1[_0x3a4b0a(0x331)]=_0x3a4b0a(0x213),_0x4f21b1[_0x3a4b0a(0x1a0)]=_0x3a4b0a(0x3cd);const _0x50a5f7={};_0x50a5f7[_0x3a4b0a(0x3b4)]=_0x3a4b0a(0x412),_0x50a5f7[_0x3a4b0a(0x331)]=_0x3a4b0a(0x2ee),_0x50a5f7[_0x3a4b0a(0x1a0)]=_0x3a4b0a(0x262);const _0x869bf2={};_0x869bf2[_0x3a4b0a(0x3b4)]=_0x3a4b0a(0x289),_0x869bf2[_0x3a4b0a(0x331)]=_0x3a4b0a(0x213),_0x869bf2['description']=_0x3a4b0a(0x3c1);const _0x225c2a={};_0x225c2a[_0x3a4b0a(0x3b4)]='aggregate',_0x225c2a[_0x3a4b0a(0x331)]=_0x3a4b0a(0x1cb),_0x225c2a['description']=_0x3a4b0a(0x1b8);const _0x3c63a5={};_0x3c63a5[_0x3a4b0a(0x3b4)]=_0x3a4b0a(0x164),_0x3c63a5[_0x3a4b0a(0x331)]=_0x3a4b0a(0x1cb),_0x3c63a5['description']=_0x3a4b0a(0x357);const _0x217b4f={};_0x217b4f['code']=_0x3a4b0a(0x3c3),_0x217b4f[_0x3a4b0a(0x331)]=_0x3a4b0a(0x1cb),_0x217b4f['description']='排序规则(与\x20Filter\x20API\x20一致)';const _0x5420b1={};_0x5420b1['code']='currentPage',_0x5420b1[_0x3a4b0a(0x331)]=_0x3a4b0a(0x3bf),_0x5420b1[_0x3a4b0a(0x1a0)]=_0x3a4b0a(0x1e8);const _0x47d135={};return _0x47d135[_0x3a4b0a(0x3b4)]=_0x3a4b0a(0x211),_0x47d135[_0x3a4b0a(0x331)]=_0x3a4b0a(0x3bf),_0x47d135[_0x3a4b0a(0x1a0)]=_0x3a4b0a(0x238),[_0x4f21b1,_0x50a5f7,_0x869bf2,_0x225c2a,_0x3c63a5,_0x217b4f,_0x5420b1,_0x47d135];}[a0_0x226830(0x3d8)](){const _0x29f283=a0_0x226830,_0x3809f7=this[_0x29f283(0x346)][_0x29f283(0x399)]||[];if(_0x3809f7[_0x29f283(0x28d)]===0x0){const _0x103f46={};return _0x103f46[_0x29f283(0x412)]={},_0x103f46[_0x29f283(0x289)]=[],_0x103f46[_0x29f283(0x2b8)]=[],_0x103f46;}const _0x154b9e={},_0x108039=_0x3809f7[_0x29f283(0x2aa)](0x0,Math[_0x29f283(0x3d1)](0x3,_0x3809f7['length']));_0x108039[_0x29f283(0x17e)](_0xdfe950=>{const _0x4a9d0a=_0x29f283,_0x10b5d1=this['getApplicableOperators'](_0xdfe950);if(_0x10b5d1[_0x4a9d0a(0x28d)]===0x0)return;const _0x824d2f=this[_0x4a9d0a(0x247)](_0xdfe950,_0x10b5d1),_0x1cfc23=this[_0x4a9d0a(0x3c2)](_0xdfe950,_0x824d2f),_0x46bd6a={};_0x46bd6a[_0x824d2f]=_0x1cfc23,_0x154b9e[_0xdfe950[_0x4a9d0a(0x3b4)]]=_0x46bd6a;});const _0x2d6b5a=_0x3809f7[_0x29f283(0x2aa)](0x0,Math[_0x29f283(0x3d1)](0x2,_0x3809f7[_0x29f283(0x28d)]))[_0x29f283(0x30b)](_0x13014d=>_0x13014d['code']),_0x2a22b8=[],_0x485a95=_0x3809f7[_0x29f283(0x196)](_0x265880=>this[_0x29f283(0x265)](_0x265880));if(_0x485a95[_0x29f283(0x28d)]>0x0){const _0x11568c=_0x485a95[0x0],_0x27804f=_0x11568c[_0x29f283(0x3b4)],_0x59d009={};_0x59d009[_0x29f283(0x331)]=_0x29f283(0x343),_0x59d009[_0x29f283(0x3ca)]=_0x27804f,_0x59d009['alias']=_0x27804f+_0x29f283(0x2e3),_0x59d009['distinct']=![],_0x59d009[_0x29f283(0x3ff)]=!![],_0x59d009[_0x29f283(0x1cc)]=0x2,_0x2a22b8[_0x29f283(0x25a)](_0x59d009);const _0x29c9af={};_0x29c9af[_0x29f283(0x331)]='avg',_0x29c9af['column']=_0x27804f,_0x29c9af[_0x29f283(0x30d)]=_0x27804f+_0x29f283(0x342),_0x29c9af[_0x29f283(0x35a)]=![],_0x29c9af[_0x29f283(0x3ff)]=!![],_0x29c9af[_0x29f283(0x1cc)]=0x2,_0x2a22b8[_0x29f283(0x25a)](_0x29c9af);const _0x5590c1={};_0x5590c1[_0x29f283(0x331)]=_0x29f283(0x39d),_0x5590c1[_0x29f283(0x3ca)]=_0x27804f,_0x5590c1[_0x29f283(0x30d)]=_0x27804f+'_max',_0x5590c1[_0x29f283(0x35a)]=![],_0x5590c1[_0x29f283(0x3ff)]=!![],_0x5590c1[_0x29f283(0x1cc)]=0x2,_0x2a22b8[_0x29f283(0x25a)](_0x5590c1);const _0x314862={};_0x314862[_0x29f283(0x331)]=_0x29f283(0x3d1),_0x314862[_0x29f283(0x3ca)]=_0x27804f,_0x314862[_0x29f283(0x30d)]=_0x27804f+_0x29f283(0x36c),_0x314862[_0x29f283(0x35a)]=![],_0x314862[_0x29f283(0x3ff)]=!![],_0x314862['precision']=0x2,_0x2a22b8[_0x29f283(0x25a)](_0x314862);}else{if(_0x3809f7['length']>0x0){const _0x8a4a76=_0x3809f7[0x0],_0xd11e76=_0x8a4a76[_0x29f283(0x3b4)],_0x96140e={};_0x96140e[_0x29f283(0x331)]=_0x29f283(0x308),_0x96140e['column']=_0xd11e76,_0x96140e[_0x29f283(0x30d)]=_0x29f283(0x3e9),_0x96140e['distinct']=!![],_0x2a22b8[_0x29f283(0x25a)](_0x96140e);}}const _0x96e908=[];if(_0x3809f7['length']>0x0){const _0x2c89de=_0x3809f7[0x0][_0x29f283(0x3b4)],_0x21382b={};_0x21382b[_0x2c89de]=_0x29f283(0x269),_0x96e908[_0x29f283(0x25a)](_0x21382b);}const _0x2b21d0=[..._0x2d6b5a,..._0x2a22b8[_0x29f283(0x30b)](_0x52591f=>_0x52591f[_0x29f283(0x30d)])],_0x46b7ce=[];if(_0x2a22b8[_0x29f283(0x28d)]>0x0){const _0x20be33={};_0x20be33[_0x29f283(0x2c2)]=0x0;const _0x32867f={};_0x32867f[_0x29f283(0x363)]=_0x2a22b8[0x0]['alias'],_0x32867f[_0x29f283(0x2a1)]=_0x20be33,_0x46b7ce[_0x29f283(0x25a)](_0x32867f);}const _0xb7609d={};return _0xb7609d['select']=_0x2b21d0,_0xb7609d['where']=_0x154b9e,_0xb7609d[_0x29f283(0x289)]=_0x2d6b5a,_0xb7609d[_0x29f283(0x2b8)]=_0x2a22b8,_0xb7609d[_0x29f283(0x164)]=_0x46b7ce[_0x29f283(0x28d)]>0x0?_0x46b7ce:undefined,_0xb7609d[_0x29f283(0x3c3)]=_0x96e908,_0xb7609d[_0x29f283(0x374)]=0x1,_0xb7609d[_0x29f283(0x211)]=0x14,_0xb7609d;}[a0_0x226830(0x410)](_0x5af0cc,_0x529a50){const _0x4981c0=a0_0x226830,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x529a50||{},_0x33ac13=this[_0x4981c0(0x1be)](),_0x15e219=this['generateRequestExample'](),_0x19f857=_0x17eeb9=>{const _0x332139=_0x4981c0;return JSON[_0x332139(0x182)](_0x17eeb9,null,0x2)[_0x332139(0x1ac)]('\x0a')['map']((_0x466821,_0x2d8976)=>_0x2d8976===0x0?_0x466821:indent+_0x466821)[_0x332139(0x38c)]('\x0a');};if(useFullExample){const _0xc42d5b=this[_0x4981c0(0x346)][_0x4981c0(0x399)]||[],_0x54bb3f=_0xc42d5b[_0x4981c0(0x196)](_0xfa75de=>this[_0x4981c0(0x265)](_0xfa75de)),_0x4d457b={'where':_0xc42d5b[0x0]?{[_0xc42d5b[0x0][_0x4981c0(0x3b4)]]:{'$eq':this[_0x4981c0(0x3c2)](_0xc42d5b[0x0],_0x4981c0(0x37d))}}:{},'aggregate':_0x54bb3f[_0x4981c0(0x28d)]>0x0?[{'type':_0x4981c0(0x343),'column':_0x54bb3f[0x0][_0x4981c0(0x3b4)],'alias':_0x54bb3f[0x0]['code']+_0x4981c0(0x2e3),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x4981c0(0x308),'column':_0xc42d5b[0x0]['code'],'alias':_0x4981c0(0x3e9),'distinct':!![]}],'orderBy':[{[_0xc42d5b[0x0][_0x4981c0(0x3b4)]]:_0x4981c0(0x269)}]};let _0xa2f066='';return _0xc42d5b[_0x4981c0(0x28d)]>=0x3&&(_0xa2f066=_0x4981c0(0x1fa)+_0x5af0cc+'.'+_0x33ac13+'('+_0x19f857(_0x15e219)+');'),_0x4981c0(0x1c4)+_0x5af0cc+'.'+_0x33ac13+'('+_0x19f857(_0x4d457b)+');'+_0xa2f066;}const _0x567155=JSON[_0x4981c0(0x182)](_0x15e219,null,0x2)[_0x4981c0(0x1ac)]('\x0a')['map']((_0x21c5a4,_0x39b63d)=>_0x39b63d===0x0?_0x21c5a4:indent+_0x21c5a4)[_0x4981c0(0x38c)]('\x0a');return _0x4981c0(0x171)+_0x5af0cc+'.'+_0x33ac13+'('+_0x567155+');';}['isNumericField'](_0xdf78d7){const _0x50c9f5=a0_0x226830,_0x5d3a15=_0xdf78d7[_0x50c9f5(0x408)]();return[_0x50c9f5(0x2ac),_0x50c9f5(0x1f5),'BIGINT',_0x50c9f5(0x1e5)]['includes'](_0x5d3a15)||[_0x50c9f5(0x1e0),'TINYINT',_0x50c9f5(0x2da),_0x50c9f5(0x1a1),_0x50c9f5(0x384)][_0x50c9f5(0x1dc)](_0x5d3a15);}[a0_0x226830(0x180)](_0x3bc553){const _0x4a96f1=a0_0x226830,_0x3861e6=_0x3bc553[_0x4a96f1(0x408)](),_0x135be3=[];if([_0x4a96f1(0x2ac),_0x4a96f1(0x1f5),_0x4a96f1(0x38a),_0x4a96f1(0x1e5)][_0x4a96f1(0x1dc)](_0x3861e6)||[_0x4a96f1(0x1e0),_0x4a96f1(0x3e6),_0x4a96f1(0x2da),'DOUBLE',_0x4a96f1(0x384)][_0x4a96f1(0x1dc)](_0x3861e6))_0x135be3['push'](_0x4a96f1(0x37d),_0x4a96f1(0x39b),'$gte',_0x4a96f1(0x3f3),_0x4a96f1(0x318),_0x4a96f1(0x332),_0x4a96f1(0x239));else{if([_0x4a96f1(0x236),_0x4a96f1(0x2b4),_0x4a96f1(0x20a)][_0x4a96f1(0x1dc)](_0x3861e6)||[_0x4a96f1(0x242),_0x4a96f1(0x37f)][_0x4a96f1(0x1dc)](_0x3861e6))_0x135be3['push'](_0x4a96f1(0x37d),'$ne','$in',_0x4a96f1(0x282),'$startWith','$endWith');else{if([_0x4a96f1(0x23a),'DATETIME',_0x4a96f1(0x2b6)][_0x4a96f1(0x1dc)](_0x3861e6)||['TIME']['includes'](_0x3861e6))_0x135be3[_0x4a96f1(0x25a)](_0x4a96f1(0x37d),_0x4a96f1(0x39b),_0x4a96f1(0x2c2),_0x4a96f1(0x3f3),_0x4a96f1(0x318),_0x4a96f1(0x332));else[_0x4a96f1(0x212),'BOOL',_0x4a96f1(0x27c)]['includes'](_0x3861e6)?_0x135be3[_0x4a96f1(0x25a)]('$eq','$ne'):_0x135be3['push'](_0x4a96f1(0x37d),_0x4a96f1(0x39b));}}return _0x135be3;}[a0_0x226830(0x247)](_0x4af722,_0x2d2dba){const _0x3662fe=a0_0x226830,_0xd6f231=_0x4af722['getDbTypeForOperation']();if([_0x3662fe(0x2ac),'INTEGER',_0x3662fe(0x38a),_0x3662fe(0x1e5)][_0x3662fe(0x1dc)](_0xd6f231)||[_0x3662fe(0x1e0),_0x3662fe(0x3e6),_0x3662fe(0x2da),_0x3662fe(0x1a1),'FLOAT']['includes'](_0xd6f231))return _0x2d2dba['includes'](_0x3662fe(0x2c2))?'$gte':'$eq';if([_0x3662fe(0x236),_0x3662fe(0x2b4),_0x3662fe(0x20a)][_0x3662fe(0x1dc)](_0xd6f231)||[_0x3662fe(0x242),_0x3662fe(0x37f)]['includes'](_0xd6f231))return _0x2d2dba['includes'](_0x3662fe(0x282))?_0x3662fe(0x282):_0x3662fe(0x37d);if([_0x3662fe(0x23a),_0x3662fe(0x24d),_0x3662fe(0x2b6),_0x3662fe(0x2ad)][_0x3662fe(0x1dc)](_0xd6f231))return _0x2d2dba[_0x3662fe(0x1dc)](_0x3662fe(0x2c2))?'$gte':_0x3662fe(0x37d);return _0x3662fe(0x37d);}['generateExampleValue'](_0x4349e3,_0x26e2ed){const _0x2c0a57=a0_0x226830,_0x1b5212=_0x4349e3[_0x2c0a57(0x408)](),_0x1ff70e=_0x4349e3[_0x2c0a57(0x276)]();if(_0x1ff70e&&_0x1ff70e[_0x2c0a57(0x28d)]>0x0){if(_0x26e2ed===_0x2c0a57(0x239))return _0x1ff70e['slice'](0x0,0x2)[_0x2c0a57(0x30b)](_0x1545ac=>_0x1545ac['value']);return _0x1ff70e[0x0][_0x2c0a57(0x2fa)];}if([_0x2c0a57(0x2ac),'INTEGER',_0x2c0a57(0x38a),_0x2c0a57(0x1e5)][_0x2c0a57(0x1dc)](_0x1b5212)||[_0x2c0a57(0x1e0),_0x2c0a57(0x3e6),_0x2c0a57(0x2da),_0x2c0a57(0x1a1),_0x2c0a57(0x384)]['includes'](_0x1b5212)){if(_0x26e2ed===_0x2c0a57(0x239))return[0x1,0x2,0x3];if(_0x26e2ed==='$gte'||_0x26e2ed==='$gteq')return 0x0;if(_0x26e2ed===_0x2c0a57(0x3f3)||_0x26e2ed==='$lteq')return 0x64;return 0x1;}if([_0x2c0a57(0x236),'TEXT','VARCHAR'][_0x2c0a57(0x1dc)](_0x1b5212)||[_0x2c0a57(0x242),'LONGTEXT']['includes'](_0x1b5212)){if(_0x26e2ed===_0x2c0a57(0x239))return[_0x2c0a57(0x2eb),'value2'];if(_0x26e2ed===_0x2c0a57(0x282))return _0x2c0a57(0x17c);if(_0x26e2ed===_0x2c0a57(0x1bf))return _0x2c0a57(0x3ad);if(_0x26e2ed===_0x2c0a57(0x3f1))return _0x2c0a57(0x3fd);return'value';}if(['DATE',_0x2c0a57(0x24d),_0x2c0a57(0x2b6),_0x2c0a57(0x2ad)][_0x2c0a57(0x1dc)](_0x1b5212)){if(_0x26e2ed===_0x2c0a57(0x2c2)||_0x26e2ed===_0x2c0a57(0x318))return _0x2c0a57(0x1b6);if(_0x26e2ed===_0x2c0a57(0x3f3)||_0x26e2ed===_0x2c0a57(0x332))return _0x2c0a57(0x260);return _0x2c0a57(0x1b6);}if([_0x2c0a57(0x212),_0x2c0a57(0x356),_0x2c0a57(0x27c)][_0x2c0a57(0x1dc)](_0x1b5212))return!![];return _0x26e2ed===_0x2c0a57(0x239)?[_0x2c0a57(0x2eb),_0x2c0a57(0x232)]:_0x2c0a57(0x2fa);}['getRequestParamsDocInfo'](){const _0x3ee1bf=a0_0x226830,_0x2da03f=this[_0x3ee1bf(0x2f7)](),_0xea94f6=Object[_0x3ee1bf(0x39c)](_0x2da03f)[_0x3ee1bf(0x196)](([_0xe41b08])=>_0xe41b08!==_0x3ee1bf(0x374)&&_0xe41b08!==_0x3ee1bf(0x211))[_0x3ee1bf(0x30b)](([_0x38df05,_0x5a5708])=>{const _0x56eea0=_0x3ee1bf,_0x11fe2a=_0x5a5708,_0x313c3d={};return _0x313c3d[_0x56eea0(0x2c4)]=_0x38df05,_0x313c3d[_0x56eea0(0x331)]=_0x11fe2a[_0x56eea0(0x331)]||'String',_0x313c3d['description']=_0x11fe2a[_0x56eea0(0x1a0)]||'-',_0x313c3d['required']=_0x11fe2a[_0x56eea0(0x35d)],_0x313c3d;}),_0x51ff25={};return _0x51ff25[_0x3ee1bf(0x1a0)]=_0x3ee1bf(0x2c5),_0x51ff25[_0x3ee1bf(0x39e)]=_0xea94f6,_0x51ff25;}['generateResponseExample'](){const _0x5888b5=a0_0x226830,_0x3d560c=this[_0x5888b5(0x3d8)]()[_0x5888b5(0x2b8)],_0x2aa294=[{}],_0x589578=[];_0x3d560c?.[_0x5888b5(0x17e)](_0x5bc287=>{const _0x1e8197=_0x5888b5,_0x2879e9={};_0x2879e9[_0x1e8197(0x176)]=_0x5bc287[_0x1e8197(0x30d)],_0x2879e9['dataIndex']=_0x5bc287[_0x1e8197(0x30d)],_0x589578['push'](_0x2879e9),_0x2aa294[0x0][_0x5bc287[_0x1e8197(0x30d)]]=_0x5bc287[_0x1e8197(0x331)]===_0x1e8197(0x308)?0x64:Math[_0x1e8197(0x3ff)](Math[_0x1e8197(0x32a)]()*0x64*0x64)/0x64;});const _0x3bc274={};_0x3bc274[_0x5888b5(0x211)]=0x1,_0x3bc274[_0x5888b5(0x2c7)]=0x64,_0x3bc274[_0x5888b5(0x374)]=0x1;const _0x764b30={};_0x764b30[_0x5888b5(0x2d1)]=_0x3bc274,_0x764b30['tableData']=_0x2aa294,_0x764b30[_0x5888b5(0x28f)]=_0x589578;const _0xc054a7={};return _0xc054a7[_0x5888b5(0x38d)]=!![],_0xc054a7[_0x5888b5(0x2f1)]='',_0xc054a7[_0x5888b5(0x3c6)]='',_0xc054a7[_0x5888b5(0x387)]='0000',_0xc054a7[_0x5888b5(0x221)]=_0x764b30,_0xc054a7[_0x5888b5(0x39e)]=null,_0xc054a7;}}class OperationFactory{[a0_0x226830(0x2b0)](_0x578d66,_0x3d6da3,_0x2864b4){const _0x4f7b3a=a0_0x226830;switch(_0x578d66){case _0x4f7b3a(0x259):return new GetSelectOptionsOperation(_0x578d66,_0x3d6da3,_0x2864b4);case _0x4f7b3a(0x2cf):return new GetListOperation(_0x578d66,_0x3d6da3,_0x2864b4);case _0x4f7b3a(0x196):return new FilterOperation(_0x578d66,_0x3d6da3,_0x2864b4);case _0x4f7b3a(0x407):return new ExcelExportOperation(_0x578d66,_0x3d6da3,_0x2864b4);case'update':return new UpdateOperation(_0x578d66,_0x3d6da3,_0x2864b4);case'aggregate':return new AggregateOperation(_0x578d66,_0x3d6da3,_0x2864b4);default:return new GenericOperation(_0x578d66,_0x3d6da3,_0x2864b4);}}[a0_0x226830(0x252)](_0x4b952a,_0x1768c9){const _0x397e48=a0_0x226830,_0x10527c=new Map();return Object[_0x397e48(0x39c)](_0x4b952a)[_0x397e48(0x17e)](([_0x322cb8,_0xcbda4])=>{const _0x40e922=_0x397e48;_0x10527c[_0x40e922(0x162)](_0x322cb8,this[_0x40e922(0x2b0)](_0x322cb8,_0xcbda4,_0x1768c9));}),_0x10527c;}}class OperationList{[a0_0x226830(0x1d7)];constructor(_0x3b4766,_0x348ec6){const _0x55acce=a0_0x226830,_0x3ac108=new OperationFactory();this['_operations']=_0x3ac108[_0x55acce(0x252)](_0x3b4766,_0x348ec6);}[a0_0x226830(0x394)](_0x3c5bec){const _0x308603=a0_0x226830;return this[_0x308603(0x1d7)]['get'](_0x3c5bec);}[a0_0x226830(0x24e)](_0x56a497){const _0x4baa6e=a0_0x226830;return this[_0x4baa6e(0x1d7)][_0x4baa6e(0x24e)](_0x56a497);}['size'](){const _0x51569b=a0_0x226830;return this['_operations'][_0x51569b(0x2cd)];}[a0_0x226830(0x3de)](){const _0x326f85=a0_0x226830;return Array[_0x326f85(0x3c9)](this[_0x326f85(0x1d7)][_0x326f85(0x341)]());}[a0_0x226830(0x33d)](){const _0x4e1093=a0_0x226830,_0x3abfc7=Array[_0x4e1093(0x3c9)](this[_0x4e1093(0x1d7)][_0x4e1093(0x3f5)]());return this[_0x4e1093(0x323)](_0x3abfc7);}[a0_0x226830(0x1a7)](){const _0x229e3d=a0_0x226830;return this[_0x229e3d(0x33d)]()[_0x229e3d(0x196)](_0x13394f=>_0x13394f[_0x229e3d(0x31a)]());}[a0_0x226830(0x24a)](){const _0x1e10ba=a0_0x226830;return this[_0x1e10ba(0x33d)]()[_0x1e10ba(0x196)](_0x288e55=>!_0x288e55['isEnabled']());}[a0_0x226830(0x24b)](){const _0x9c325d=a0_0x226830;return this[_0x9c325d(0x1a7)]()[_0x9c325d(0x30b)](_0x10b1f9=>_0x10b1f9[_0x9c325d(0x1be)]());}[a0_0x226830(0x34f)](){const _0x42000d=a0_0x226830;return this[_0x42000d(0x24a)]()[_0x42000d(0x30b)](_0x89a047=>_0x89a047[_0x42000d(0x1be)]());}['getByType'](_0x1c3ee0){const _0x24d48e=a0_0x226830;return this[_0x24d48e(0x33d)]()[_0x24d48e(0x196)](_0x16c697=>_0x16c697[_0x24d48e(0x19f)]()===_0x1c3ee0);}['filter'](_0x2b9cf0){const _0x107084=a0_0x226830;return this[_0x107084(0x33d)]()[_0x107084(0x196)](_0x2b9cf0);}['getFiltered'](_0x47583e={}){const _0x442787=a0_0x226830;let _0x2f25a4=this[_0x442787(0x33d)]();!_0x47583e[_0x442787(0x15d)]&&(_0x2f25a4=_0x2f25a4[_0x442787(0x196)](_0x1c80dd=>_0x1c80dd[_0x442787(0x31a)]()));if(_0x47583e['filterBlacklist']!==![]){const _0x424bac=_0x2f25a4[_0x442787(0x30b)](_0x14295e=>({'name':_0x14295e[_0x442787(0x1be)](),'operation':_0x14295e})),_0x3e557b=filterApiOperations(_0x424bac);_0x2f25a4=_0x3e557b['map'](_0x97029e=>_0x97029e['operation']),_0x2f25a4=this[_0x442787(0x323)](_0x2f25a4);}return _0x47583e['customFilter']&&(_0x2f25a4=_0x2f25a4[_0x442787(0x196)](_0x47583e[_0x442787(0x3ed)])),_0x2f25a4;}['sortOperationsWithFilterFirst'](_0x30e868){const _0x89f849=a0_0x226830,_0x277926=_0x30e868[_0x89f849(0x244)](_0x31700f=>_0x31700f[_0x89f849(0x1be)]()===_0x89f849(0x196)),_0x39a235=_0x30e868[_0x89f849(0x196)](_0x20140b=>_0x20140b[_0x89f849(0x1be)]()!==_0x89f849(0x196));return _0x277926?[_0x277926,..._0x39a235]:_0x39a235;}[a0_0x226830(0x1c6)](){const _0x30f1d2=a0_0x226830,_0x508fab=this[_0x30f1d2(0x1a7)]();return{'total':this[_0x30f1d2(0x2cd)](),'enabled':_0x508fab[_0x30f1d2(0x28d)],'disabled':this[_0x30f1d2(0x2cd)]()-_0x508fab[_0x30f1d2(0x28d)],'byType':this[_0x30f1d2(0x193)](_0x508fab),'byMethod':this[_0x30f1d2(0x2a0)](_0x508fab)};}[a0_0x226830(0x193)](_0x1a2cdb){const _0x31cb1c=a0_0x226830,_0x1b5a00={};return _0x1a2cdb[_0x31cb1c(0x17e)](_0x13f592=>{const _0x330afb=_0x31cb1c,_0x3bdb9b=_0x13f592[_0x330afb(0x19f)]();_0x3bdb9b&&(_0x1b5a00[_0x3bdb9b]=(_0x1b5a00[_0x3bdb9b]||0x0)+0x1);}),_0x1b5a00;}['getCountByMethod'](_0x48e626){const _0x3fae51=a0_0x226830,_0x1117db={};return _0x48e626[_0x3fae51(0x17e)](_0xad588a=>{const _0x25ce79=_0x3fae51,_0xb1efa=_0xad588a[_0x25ce79(0x351)]();_0xb1efa&&(_0x1117db[_0xb1efa]=(_0x1117db[_0xb1efa]||0x0)+0x1);}),_0x1117db;}[Symbol['iterator']](){const _0x314f9d=a0_0x226830;return this['_operations'][_0x314f9d(0x3f5)]();}[a0_0x226830(0x3e4)](){const _0x23894b=a0_0x226830,_0xe0f3c8=this['getStats']();return _0x23894b(0x270)+_0xe0f3c8['enabled']+'/'+_0xe0f3c8['total']+_0x23894b(0x1b5);}}class DBConfig{[a0_0x226830(0x1aa)];['dbId'];[a0_0x226830(0x3bd)];[a0_0x226830(0x3ec)];[a0_0x226830(0x376)];[a0_0x226830(0x214)];[a0_0x226830(0x170)];[a0_0x226830(0x172)];constructor(_0x14a592,_0x2668fa){const _0x2806db=a0_0x226830;this[_0x2806db(0x1aa)]=_0x2668fa,this[_0x2806db(0x201)]=_0x14a592[_0x2806db(0x201)],this[_0x2806db(0x3bd)]=_0x14a592[_0x2806db(0x3bd)],this['dbType']=_0x14a592[_0x2806db(0x3ec)],this[_0x2806db(0x376)]=_0x14a592[_0x2806db(0x376)],this[_0x2806db(0x214)]=_0x14a592['tableName'],this['datasetKey']=_0x14a592[_0x2806db(0x170)],this['pkField']=_0x14a592['pkField'];}[a0_0x226830(0x21d)](){return this['raw'];}}class DrivenDataDetailBase extends DatasetItem{['_operationList'];[a0_0x226830(0x31f)];[a0_0x226830(0x1ca)];constructor(_0x39d818){const _0x31581d=a0_0x226830,_0x1ad9a6={..._0x39d818};_0x1ad9a6['id']=_0x39d818[_0x31581d(0x3cb)]||_0x39d818['id'],_0x1ad9a6['datasetCode']=_0x39d818[_0x31581d(0x3c8)]||_0x39d818[_0x31581d(0x2c0)]||_0x39d818[_0x31581d(0x3b4)],super(_0x1ad9a6);}[a0_0x226830(0x225)](){return;}[a0_0x226830(0x18e)](){return[];}[a0_0x226830(0x383)](){return[];}get['source'](){const _0x24159e=a0_0x226830;return this[_0x24159e(0x3b9)]();}['getFieldList'](){const _0x5e0bc5=a0_0x226830;if(!this[_0x5e0bc5(0x31f)]){const _0x501713=this[_0x5e0bc5(0x306)]();throw new Error(_0x5e0bc5(0x2a7));}return this['_fieldList'];}['getFieldListWithDeleted'](){const _0x44a87e=a0_0x226830;if(!this[_0x44a87e(0x1ca)]){const _0x27f48c=this['getFieldDataSource']();throw new Error(_0x44a87e(0x23c));}return this[_0x44a87e(0x1ca)];}['getFields'](){return[];}[a0_0x226830(0x392)](){const _0x41094e=a0_0x226830,_0x1fb577=this[_0x41094e(0x306)]();return _0x1fb577[_0x41094e(0x399)];}[a0_0x226830(0x329)](){const _0x7f223e=a0_0x226830;return this[_0x7f223e(0x30f)]()[_0x7f223e(0x28d)];}['getField'](_0x46a9fd){const _0x5d2e35=a0_0x226830,_0x583719=this[_0x5d2e35(0x173)](_0x46a9fd);return _0x583719?_0x583719[_0x5d2e35(0x1aa)]:undefined;}[a0_0x226830(0x2ff)](_0x1cec30){return;}[a0_0x226830(0x3fb)](_0x6b200a){const _0x3a9755=a0_0x226830;if(!_0x6b200a||typeof _0x6b200a!==_0x3a9755(0x1f9))return!![]&&console[_0x3a9755(0x27a)](_0x3a9755(0x2d5),_0x6b200a),{};if(_0x3a9755(0x172)in _0x6b200a){const _0x326eff=_0x6b200a;return{'primaryKey':_0x326eff[_0x3a9755(0x172)],'required':_0x326eff[_0x3a9755(0x35d)],'systemRetain':Boolean(_0x326eff['systemRetain']),'autoIncrement':_0x326eff[_0x3a9755(0x19b)]??undefined};}if(!('extend'in _0x6b200a)||!_0x6b200a[_0x3a9755(0x165)])return{};try{const _0x40f4a3=typeof _0x6b200a[_0x3a9755(0x165)]===_0x3a9755(0x25e)?JSON['parse'](_0x6b200a[_0x3a9755(0x165)]):_0x6b200a[_0x3a9755(0x165)];if(typeof _0x40f4a3!=='object'||_0x40f4a3===null)return{};return _0x40f4a3;}catch{return{};}}[a0_0x226830(0x1c5)](){const _0x531de3=a0_0x226830;if(!this[_0x531de3(0x15c)]){const _0x53a58b=this['ensureFilterOperation'](this['getOperationsData']()||{});this['_operationList']=new OperationList(_0x53a58b,{'fields':this[_0x531de3(0x222)]()[_0x531de3(0x2fc)](),'pkField':this['_raw'][_0x531de3(0x2bc)]?.['pkField'],'dbtableConfig':this['_raw']['dbtableConfig']||null});}return this[_0x531de3(0x15c)];}[a0_0x226830(0x287)](_0x566820){const _0x3e9191=a0_0x226830;if(_0x566820[_0x3e9191(0x196)]!==undefined)return _0x566820;return{..._0x566820,'filter':this[_0x3e9191(0x2ce)]()};}[a0_0x226830(0x2ce)](){const _0x2b05a7=a0_0x226830,_0x2c7717=this[_0x2b05a7(0x3b7)]()?.[_0x2b05a7(0x2cf)];let _0x975576=_0x2c7717?.['host'],_0x320421='';if(!_0x975576&&this[_0x2b05a7(0x3b7)]()){const _0x577e48=Object[_0x2b05a7(0x3f5)](this[_0x2b05a7(0x3b7)]());for(const _0x4a6e84 of _0x577e48){if(_0x4a6e84&&typeof _0x4a6e84==='object'&&_0x2b05a7(0x371)in _0x4a6e84){_0x975576=_0x4a6e84['host'];break;}}}if(_0x2c7717?.[_0x2b05a7(0x161)]){const _0x1338a3=_0x2c7717[_0x2b05a7(0x161)],_0x17706d=_0x1338a3[_0x2b05a7(0x1c8)]('/');_0x17706d!==-0x1&&(_0x320421=_0x1338a3[_0x2b05a7(0x3b3)](0x0,_0x17706d));}const _0x4bb510={};_0x4bb510[_0x2b05a7(0x2c4)]=_0x2b05a7(0x412),_0x4bb510[_0x2b05a7(0x331)]='object',_0x4bb510['required']=![];const _0x3144b2={};_0x3144b2[_0x2b05a7(0x2c4)]=_0x2b05a7(0x275),_0x3144b2['type']='array',_0x3144b2[_0x2b05a7(0x35d)]=![];const _0x3335bd={};_0x3335bd[_0x2b05a7(0x2c4)]=_0x2b05a7(0x3c3),_0x3335bd[_0x2b05a7(0x331)]='array',_0x3335bd[_0x2b05a7(0x35d)]=![];const _0x313eb6={};_0x313eb6['name']=_0x2b05a7(0x374),_0x313eb6['type']=_0x2b05a7(0x3fe),_0x313eb6['required']=![],_0x313eb6[_0x2b05a7(0x301)]=0x1;const _0x1c1d73={};_0x1c1d73['name']=_0x2b05a7(0x211),_0x1c1d73[_0x2b05a7(0x331)]=_0x2b05a7(0x3fe),_0x1c1d73['required']=![],_0x1c1d73[_0x2b05a7(0x301)]=0xa;const _0x5be248={};return _0x5be248['name']='filter',_0x5be248[_0x2b05a7(0x331)]=_0x2b05a7(0x312),_0x5be248[_0x2b05a7(0x1a0)]=_0x2b05a7(0x1d3),_0x5be248[_0x2b05a7(0x30c)]=_0x2b05a7(0x210),_0x5be248[_0x2b05a7(0x371)]=_0x975576,_0x5be248[_0x2b05a7(0x161)]=_0x320421?_0x320421+_0x2b05a7(0x1e7):_0x2b05a7(0x1e7),_0x5be248['params']=_0x2c7717?.['params']||[_0x4bb510,_0x3144b2,_0x3335bd,_0x313eb6,_0x1c1d73],_0x5be248[_0x2b05a7(0x3f0)]=!![],_0x5be248;}[a0_0x226830(0x27b)](){const _0x5b4ea9=a0_0x226830;return this[_0x5b4ea9(0x1c5)]()[_0x5b4ea9(0x33d)]();}[a0_0x226830(0x293)](){const _0x596b29=a0_0x226830;return this[_0x596b29(0x1c5)]()[_0x596b29(0x2cd)]();}[a0_0x226830(0x2d6)](_0x434053){const _0x384fc0=a0_0x226830;if(typeof _0x434053!==_0x384fc0(0x25e)){!![]&&console[_0x384fc0(0x27a)](_0x384fc0(0x1ec),_0x434053);return;}return this[_0x384fc0(0x1c5)]()[_0x384fc0(0x394)](_0x434053);}['hasOperation'](_0x1eec28){const _0x2bddf5=a0_0x226830;if(typeof _0x1eec28!==_0x2bddf5(0x25e))return![];return this[_0x2bddf5(0x1c5)]()[_0x2bddf5(0x24e)](_0x1eec28);}['isOperationEnabled'](_0x3ad516){const _0x1ec998=a0_0x226830;if(typeof _0x3ad516!=='string')return![];const _0x193273=this[_0x1ec998(0x2d6)](_0x3ad516);return _0x193273?.[_0x1ec998(0x31a)]()||![];}[a0_0x226830(0x305)](){const _0x18d797=a0_0x226830;return this[_0x18d797(0x1c5)]()[_0x18d797(0x24b)]();}[a0_0x226830(0x226)](){const _0x44eaa7=a0_0x226830;return this[_0x44eaa7(0x1c5)]()['getDisabledNames']();}['getEnabledOperationInstances'](){const _0x739f88=a0_0x226830;return this[_0x739f88(0x1c5)]()[_0x739f88(0x1a7)]();}[a0_0x226830(0x18a)](){const _0x5ab26e=a0_0x226830;return this[_0x5ab26e(0x1c5)]()[_0x5ab26e(0x24a)]();}[a0_0x226830(0x2f5)](_0x25af01={}){const _0x43f44a=a0_0x226830;return this[_0x43f44a(0x1c5)]()[_0x43f44a(0x27e)](_0x25af01);}[a0_0x226830(0x1c6)](){const _0x430767=a0_0x226830;return{'fieldCount':this[_0x430767(0x329)](),'systemFieldCount':this['getSystemFields']()['length'],'businessFieldCount':this[_0x430767(0x33e)]()[_0x430767(0x28d)],'requiredFieldCount':this[_0x430767(0x21e)]()[_0x430767(0x28d)],'primaryKeyCount':this[_0x430767(0x241)]()[_0x430767(0x28d)],'operationCount':this[_0x430767(0x293)](),'enabledOperationCount':this[_0x430767(0x305)]()[_0x430767(0x28d)]};}[a0_0x226830(0x3d7)](_0x46eb7b){const _0x1c79e3=a0_0x226830;if(!_0x46eb7b||typeof _0x46eb7b!==_0x1c79e3(0x1f9))return'';if(_0x1c79e3(0x3b4)in _0x46eb7b&&typeof _0x46eb7b['code']===_0x1c79e3(0x25e))return _0x46eb7b[_0x1c79e3(0x3b4)];if(_0x1c79e3(0x2c4)in _0x46eb7b&&typeof _0x46eb7b[_0x1c79e3(0x2c4)]===_0x1c79e3(0x25e))return _0x46eb7b[_0x1c79e3(0x2c4)];return'';}[a0_0x226830(0x369)](_0x391fb8){const _0x5b447e=a0_0x226830;return this[_0x5b447e(0x222)]()['has'](_0x391fb8);}[a0_0x226830(0x1de)](_0x4a2e70){const _0x58da3e=a0_0x226830;if(!_0x4a2e70||typeof _0x4a2e70!=='object')return![];const _0x4f9d59=this[_0x58da3e(0x3d7)](_0x4a2e70),_0x111092=this['getFieldInstance'](_0x4f9d59);return _0x111092?_0x111092[_0x58da3e(0x186)]():![];}[a0_0x226830(0x3ef)](_0x1b8c60){const _0x473564=a0_0x226830;if(!_0x1b8c60||typeof _0x1b8c60!==_0x473564(0x1f9))return![];const _0x280ec2=this[_0x473564(0x3d7)](_0x1b8c60),_0x4dc8bf=this[_0x473564(0x173)](_0x280ec2);return _0x4dc8bf?_0x4dc8bf[_0x473564(0x315)]():![];}[a0_0x226830(0x15f)](_0xfca560){const _0x9e6d8c=a0_0x226830;if(!_0xfca560||typeof _0xfca560!==_0x9e6d8c(0x1f9))return![];const _0xcb3478=this[_0x9e6d8c(0x3d7)](_0xfca560),_0x185763=this['getFieldInstance'](_0xcb3478);return _0x185763?_0x185763[_0x9e6d8c(0x1bd)]():![];}[a0_0x226830(0x333)](_0x3d4754){const _0x45d70d=a0_0x226830;if(!_0x3d4754||typeof _0x3d4754!==_0x45d70d(0x1f9))return![];const _0x51b7b3=this[_0x45d70d(0x3d7)](_0x3d4754),_0x35fdcb=this[_0x45d70d(0x173)](_0x51b7b3);return _0x35fdcb?_0x35fdcb[_0x45d70d(0x39f)]():![];}[a0_0x226830(0x3bc)](_0x165b36){const _0x6cee8f=a0_0x226830;if(!_0x165b36||typeof _0x165b36!==_0x6cee8f(0x1f9))return![];const _0x2f8e3f=this['getFieldCode'](_0x165b36),_0x5ccf72=this[_0x6cee8f(0x173)](_0x2f8e3f);return _0x5ccf72?_0x5ccf72[_0x6cee8f(0x2df)]():![];}['getFieldOptions'](_0x13439a){const _0x552795=a0_0x226830;if(!_0x13439a||typeof _0x13439a!==_0x552795(0x1f9))return[];const _0x239b05=this[_0x552795(0x3d7)](_0x13439a),_0x6ce36b=this[_0x552795(0x173)](_0x239b05);if(!_0x6ce36b||!_0x6ce36b['isEnum']())return[];return _0x6ce36b[_0x552795(0x276)]()||[];}[a0_0x226830(0x2ea)](_0x7005c6){const _0x5495fe=a0_0x226830;if(!_0x7005c6||typeof _0x7005c6!==_0x5495fe(0x1f9))return;const _0x224f57=this[_0x5495fe(0x3d7)](_0x7005c6),_0x499a17=this['getFieldInstance'](_0x224f57);if(!_0x499a17||!_0x499a17[_0x5495fe(0x39f)]())return;return _0x499a17[_0x5495fe(0x207)]();}[a0_0x226830(0x205)](_0x2e3890){const _0x2a8512=a0_0x226830;if(!_0x2e3890||typeof _0x2e3890!==_0x2a8512(0x1f9))return;const _0x172455=this[_0x2a8512(0x3d7)](_0x2e3890),_0x44c99b=this['getFieldInstance'](_0x172455);if(!_0x44c99b||!_0x44c99b['isEnum']())return;return _0x44c99b['getEnumMeta']();}[a0_0x226830(0x241)](){const _0xb0f30b=a0_0x226830;return this[_0xb0f30b(0x222)]()[_0xb0f30b(0x40f)]()['map'](_0x59c6b4=>_0x59c6b4['raw']);}[a0_0x226830(0x23b)](){const _0x3923f0=a0_0x226830;return this[_0x3923f0(0x222)]()[_0x3923f0(0x2bd)]()[_0x3923f0(0x30b)](_0x58f766=>_0x58f766[_0x3923f0(0x1aa)]);}[a0_0x226830(0x33e)](){const _0x500809=a0_0x226830;return this[_0x500809(0x222)]()[_0x500809(0x3dc)]()[_0x500809(0x30b)](_0x32b804=>_0x32b804[_0x500809(0x1aa)]);}[a0_0x226830(0x21e)](){const _0x43b123=a0_0x226830;return this[_0x43b123(0x222)]()[_0x43b123(0x302)]()['map'](_0x5752db=>_0x5752db[_0x43b123(0x1aa)]);}['getFieldsByType'](){const _0x1812b6=a0_0x226830,_0x415935=this[_0x1812b6(0x222)]()['groupByType'](),_0x165a15={};for(const [_0x1c3346,_0x10202e]of Object['entries'](_0x415935)){_0x165a15[_0x1c3346]=_0x10202e['map'](_0x19fd28=>_0x19fd28[_0x1812b6(0x1aa)]);}return _0x165a15;}['getEnumFields'](){const _0x1c7602=a0_0x226830;return this[_0x1c7602(0x222)]()['getEnum']()[_0x1c7602(0x30b)](_0x47dccb=>_0x47dccb['raw']);}[a0_0x226830(0x1b3)](){const _0x4b6311=a0_0x226830,_0x507d09={};return this['getEnumFields']()[_0x4b6311(0x17e)](_0x247eb8=>{const _0x520d13=_0x4b6311,_0x5497ee=this['getEnumFieldMeta'](_0x247eb8);if(_0x5497ee){const _0x46b934=this[_0x520d13(0x3d7)](_0x247eb8);_0x507d09[_0x46b934]=_0x5497ee;}}),_0x507d09;}[a0_0x226830(0x364)](_0x206826,_0x355483){const _0x4e43ac=a0_0x226830,_0xcd5308=this['getEnumFieldMeta'](_0x206826);if(!_0xcd5308)return!![];if(_0xcd5308[_0x4e43ac(0x350)]&&!_0xcd5308[_0x4e43ac(0x3ac)])return!![];const _0x35b52a=this['getFieldCode'](_0x206826),_0x5d37c0=this[_0x4e43ac(0x173)](_0x35b52a),_0x7f87cf=_0x5d37c0?_0x5d37c0[_0x4e43ac(0x2df)]():![];if(_0x7f87cf&&Array['isArray'](_0x355483))return _0x355483[_0x4e43ac(0x3e3)](_0x3a2721=>_0xcd5308[_0x4e43ac(0x3f5)][_0x4e43ac(0x1dc)](_0x3a2721));return _0xcd5308[_0x4e43ac(0x3f5)][_0x4e43ac(0x1dc)](_0x355483);}[a0_0x226830(0x33b)](){const _0x4e62f1=a0_0x226830;return new DatasetItem({'id':this['id'],'name':this[_0x4e62f1(0x2c4)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x4e62f1(0x284)]()});}['toString'](){const _0x3062bf=a0_0x226830;return _0x3062bf(0x297)+this['name']+',\x20'+this[_0x3062bf(0x2c0)]+',\x20'+this['getFieldCount']()+_0x3062bf(0x28a)+this[_0x3062bf(0x293)]()+'\x20operations,\x20'+this['getVersion']()+')';}[a0_0x226830(0x3a5)](){const _0x607a6b=a0_0x226830;return this[_0x607a6b(0x3bb)](_0x607a6b(0x196));}['getFieldFilterOperators'](_0x3d1fab){const _0x2eb675=a0_0x226830;return this[_0x2eb675(0x25d)](_0x2eb675(0x196),_0x3d1fab);}[a0_0x226830(0x197)](){const _0x2d0620=a0_0x226830;return this[_0x2d0620(0x36f)](_0x2d0620(0x196));}['getOperationOperators'](_0x8331f8){const _0x484039=a0_0x226830,_0x4e04e1=this[_0x484039(0x2d6)](_0x8331f8);return _0x4e04e1?_0x4e04e1[_0x484039(0x367)]():[];}['getOperationFieldOperators'](_0x5bdc31,_0x7c615d){const _0x3d155c=a0_0x226830,_0x38b33f=this[_0x3d155c(0x2d6)](_0x5bdc31);return _0x38b33f?_0x38b33f[_0x3d155c(0x2be)](_0x7c615d):[];}[a0_0x226830(0x36f)](_0x5e8b68){const _0x4a0360=a0_0x226830,_0x3ef688={};return this[_0x4a0360(0x222)]()[_0x4a0360(0x17e)](_0x3bb5d7=>{const _0x1c8554=_0x4a0360,_0x131bac=this['getOperationFieldOperators'](_0x5e8b68,_0x3bb5d7[_0x1c8554(0x3b4)]);_0x131bac[_0x1c8554(0x28d)]>0x0&&(_0x3ef688[_0x3bb5d7[_0x1c8554(0x3b4)]]=_0x131bac);}),_0x3ef688;}[a0_0x226830(0x1d6)](_0x4d39b3,_0x16a92a,_0x39bf8b){const _0x1f87c1=a0_0x226830,_0x584e81=this[_0x1f87c1(0x25d)](_0x4d39b3,_0x16a92a);return _0x584e81[_0x1f87c1(0x1dc)](_0x39bf8b);}}class FieldBase{get[a0_0x226830(0x3ec)](){return;}get[a0_0x226830(0x3d9)](){return;}get['displayName'](){return;}get[a0_0x226830(0x1ab)](){return;}[a0_0x226830(0x195)](){const _0x3e59e6=a0_0x226830;return!this[_0x3e59e6(0x315)]();}[a0_0x226830(0x29b)](){const _0x1a07ee=a0_0x226830;return this[_0x1a07ee(0x3d2)];}['isEnum'](){const _0x111592=a0_0x226830,_0x22ed44=[_0x111592(0x227),_0x111592(0x3a9),'CHECKBOX'];return _0x22ed44[_0x111592(0x1dc)](this['type']);}[a0_0x226830(0x2df)](){const _0x21eb60=a0_0x226830;return this[_0x21eb60(0x331)]===_0x21eb60(0x281);}[a0_0x226830(0x2c1)](){const _0x405dd3=a0_0x226830,_0x5c458c=this['getEnumMeta']();return _0x5c458c?.[_0x405dd3(0x3f5)]||[];}['getEnumMeta'](){const _0x16e494=a0_0x226830;if(!this[_0x16e494(0x39f)]())return;const _0x1d450c=this['getEnumOptions'](),_0x45e59d=this[_0x16e494(0x207)](),_0x443e27=[],_0x2a0cb7={},_0x461996=_0x4186f0=>{_0x4186f0['forEach'](_0x18b19e=>{const _0x31bfd7=a0_0x41fd;_0x443e27[_0x31bfd7(0x25a)](_0x18b19e[_0x31bfd7(0x2fa)]),_0x2a0cb7[String(_0x18b19e[_0x31bfd7(0x2fa)])]=_0x18b19e[_0x31bfd7(0x266)],_0x18b19e['children']&&_0x18b19e['children']['length']>0x0&&_0x461996(_0x18b19e['children']);});};return _0x1d450c&&_0x1d450c[_0x16e494(0x28d)]>0x0&&_0x461996(_0x1d450c),{'code':this['code'],'name':this[_0x16e494(0x2c4)],'type':this[_0x16e494(0x331)],'multiple':this['isMultipleSelect'](),'options':_0x1d450c,'selectItemsSource':_0x45e59d,'values':_0x443e27,'valueLabels':_0x2a0cb7};}[a0_0x226830(0x3e4)](){const _0x357469=a0_0x226830;return _0x357469(0x1e2)+this[_0x357469(0x2c4)]+',\x20'+this['code']+',\x20'+this[_0x357469(0x331)]+',\x20'+this[_0x357469(0x245)]()+')';}}class FieldV1 extends FieldBase{[a0_0x226830(0x34a)];[a0_0x226830(0x31e)]=null;constructor(_0xcffc6b){const _0x569502=a0_0x226830;super();if(!_0xcffc6b||typeof _0xcffc6b!==_0x569502(0x1f9))throw new Error(_0x569502(0x17d));this['_raw']=_0xcffc6b;}[a0_0x226830(0x405)](){const _0x438d5d=a0_0x226830;return this[_0x438d5d(0x34a)];}[a0_0x226830(0x245)](){return'v1';}get[a0_0x226830(0x1aa)](){const _0x49b512=a0_0x226830;return this[_0x49b512(0x34a)];}get['name'](){const _0x36d844=a0_0x226830;return this[_0x36d844(0x34a)]['name']||'';}get[a0_0x226830(0x3b4)](){const _0x205e0b=a0_0x226830;return this[_0x205e0b(0x34a)][_0x205e0b(0x3b4)]||'';}get[a0_0x226830(0x331)](){const _0x58d28d=a0_0x226830;return this[_0x58d28d(0x34a)]['type']||'';}get['description'](){const _0xc6e9a5=a0_0x226830;return this[_0xc6e9a5(0x34a)][_0xc6e9a5(0x1a0)]||'';}get[a0_0x226830(0x3d2)](){const _0x2cb3ff=a0_0x226830;return Boolean(this[_0x2cb3ff(0x34a)][_0x2cb3ff(0x3d2)]);}get[a0_0x226830(0x3ec)](){const _0x3f3f3d=a0_0x226830;return this[_0x3f3f3d(0x34a)]['dbType'];}get[a0_0x226830(0x3d9)](){const _0xad231a=a0_0x226830;return this[_0xad231a(0x34a)][_0xad231a(0x3d9)];}get[a0_0x226830(0x393)](){const _0x4fe98b=a0_0x226830;return this[_0x4fe98b(0x34a)]['alias'];}get[a0_0x226830(0x1ab)](){return;}get[a0_0x226830(0x165)](){const _0x2ba1c6=a0_0x226830;if(this[_0x2ba1c6(0x31e)]!==null&&typeof this[_0x2ba1c6(0x31e)]===_0x2ba1c6(0x1f9))return this['_extend'];const _0x27f0a4=this[_0x2ba1c6(0x34a)]['extend'];if(!_0x27f0a4||typeof _0x27f0a4!==_0x2ba1c6(0x25e))return this['_extend']={},this['_extend'];if(_0x27f0a4===_0x2ba1c6(0x23e)||_0x27f0a4[_0x2ba1c6(0x1f8)]()==='null')return this['_extend']={},this[_0x2ba1c6(0x31e)];try{const _0x11397c=JSON[_0x2ba1c6(0x398)](_0x27f0a4);return this[_0x2ba1c6(0x31e)]=_0x11397c!==null&&typeof _0x11397c==='object'&&!Array['isArray'](_0x11397c)?_0x11397c:{},this[_0x2ba1c6(0x31e)];}catch(_0x54f1e2){return!![]&&console['warn']('[FieldV1.extend]\x20解析字段\x20'+this['code']+_0x2ba1c6(0x2dd),_0x54f1e2),this[_0x2ba1c6(0x31e)]={},this[_0x2ba1c6(0x31e)];}}[a0_0x226830(0x1bd)](){return Boolean(this['extend']['required']);}[a0_0x226830(0x186)](){const _0x370df4=a0_0x226830;return Boolean(this[_0x370df4(0x165)][_0x370df4(0x3f6)]||this[_0x370df4(0x165)][_0x370df4(0x172)]);}['isSystem'](){const _0x404d01=a0_0x226830;return Boolean(this[_0x404d01(0x165)][_0x404d01(0x18d)]);}[a0_0x226830(0x218)](){const _0x3027b8=a0_0x226830;return Boolean(this[_0x3027b8(0x165)][_0x3027b8(0x19b)]);}['isCreateTime'](){const _0xfd68a3=a0_0x226830;return Boolean(this[_0xfd68a3(0x165)]['createTime']);}['isUpdateTime'](){const _0x6f1676=a0_0x226830;return Boolean(this['extend'][_0x6f1676(0x2db)]);}[a0_0x226830(0x204)](){const _0x33f089=a0_0x226830;return this[_0x33f089(0x2c4)];}[a0_0x226830(0x2fd)](){const _0x560256=a0_0x226830;return this[_0x560256(0x3b4)];}['isEnum'](){const _0x583e21=a0_0x226830,_0x211883=['RADIO','SELECT',_0x583e21(0x281)];if(_0x211883['includes'](this[_0x583e21(0x331)]))return!![];const _0x152801=this['extend'];return Boolean(_0x152801[_0x583e21(0x3ac)]&&Array[_0x583e21(0x2fe)](_0x152801[_0x583e21(0x3ac)])&&_0x152801[_0x583e21(0x3ac)][_0x583e21(0x28d)]>0x0||_0x152801['selectItemsSource']);}[a0_0x226830(0x2df)](){const _0x148a90=a0_0x226830;if(this[_0x148a90(0x331)]==='CHECKBOX')return!![];return Boolean(this[_0x148a90(0x165)]['multiple']);}[a0_0x226830(0x276)](){const _0x4a1ae5=a0_0x226830,_0x29425a=this[_0x4a1ae5(0x165)];if(_0x29425a[_0x4a1ae5(0x3ac)]&&Array[_0x4a1ae5(0x2fe)](_0x29425a['options']))return _0x29425a['options'];return;}[a0_0x226830(0x207)](){const _0x2f3795=a0_0x226830,_0x4d93dd=this[_0x2f3795(0x165)];if(_0x4d93dd[_0x2f3795(0x350)]&&typeof _0x4d93dd[_0x2f3795(0x350)]===_0x2f3795(0x1f9))return _0x4d93dd[_0x2f3795(0x350)];return;}[a0_0x226830(0x408)](){const _0x191c73=a0_0x226830;return this[_0x191c73(0x331)]['toUpperCase']();}[a0_0x226830(0x250)](){return this['extend']['defaultValue'];}['getTooltip'](){const _0x3c51fb=a0_0x226830;return this[_0x3c51fb(0x165)][_0x3c51fb(0x249)];}['toJSON'](){const _0x5d4690=a0_0x226830;return{'name':this[_0x5d4690(0x2c4)],'code':this[_0x5d4690(0x3b4)],'type':this[_0x5d4690(0x331)],'description':this[_0x5d4690(0x1a0)],'required':this[_0x5d4690(0x1bd)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x5d4690(0x315)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this['isCreateTime'](),'updateTime':this['isUpdateTime'](),'isEnum':this['isEnum'](),'enumMeta':this[_0x5d4690(0x39f)]()?this[_0x5d4690(0x1e9)]():undefined};}['toString'](){const _0x4936fa=a0_0x226830;return _0x4936fa(0x1cf)+this[_0x4936fa(0x2c4)]+',\x20'+this[_0x4936fa(0x3b4)]+',\x20'+this[_0x4936fa(0x331)]+')';}}class FieldListBase{[a0_0x226830(0x35b)];constructor(_0x2d3975,_0x25e7ae){const _0x258a31=a0_0x226830;if(!Array[_0x258a31(0x2fe)](_0x2d3975))throw new Error(_0x258a31(0x411));const _0x2a47be=_0x25e7ae?.[_0x258a31(0x337)]??![],_0x5df92f=_0x2a47be?_0x2d3975:_0x2d3975[_0x258a31(0x196)](_0x1a133a=>{const _0x534351=_0x258a31,_0x2b4ed6=_0x1a133a;return!_0x2b4ed6[_0x534351(0x3d2)];});this['_fields']=this['createFields'](_0x5df92f);}get[a0_0x226830(0x28d)](){const _0x51cabf=a0_0x226830;return this[_0x51cabf(0x35b)]['length'];}['all'](){const _0x35faae=a0_0x226830;return[...this[_0x35faae(0x35b)]];}['at'](_0x31d64a){return this['_fields']['at'](_0x31d64a);}['find'](_0xc7bd81){const _0x510d2e=a0_0x226830;return this[_0x510d2e(0x35b)][_0x510d2e(0x244)](_0x5f15e5=>_0x5f15e5[_0x510d2e(0x3b4)]===_0xc7bd81);}[a0_0x226830(0x268)](_0x8bb060){const _0x171400=a0_0x226830;return this[_0x171400(0x35b)]['find'](_0x5b4b80=>_0x5b4b80[_0x171400(0x2c4)]===_0x8bb060);}['has'](_0x5a3d68){const _0x4af750=a0_0x226830;return this[_0x4af750(0x35b)][_0x4af750(0x288)](_0x37a929=>_0x37a929['code']===_0x5a3d68);}[a0_0x226830(0x17e)](_0x4b5896){const _0x16c7d8=a0_0x226830;this[_0x16c7d8(0x35b)]['forEach'](_0x4b5896);}[a0_0x226830(0x30b)](_0x4a993a){const _0x104dec=a0_0x226830;return this['_fields'][_0x104dec(0x30b)](_0x4a993a);}[a0_0x226830(0x196)](_0x479692){const _0x4f1519=a0_0x226830;return this[_0x4f1519(0x35b)][_0x4f1519(0x196)](_0x479692);}[a0_0x226830(0x3e3)](_0x588c75){const _0x494e23=a0_0x226830;return this[_0x494e23(0x35b)][_0x494e23(0x3e3)](_0x588c75);}['some'](_0x23b3e6){const _0xe3e99a=a0_0x226830;return this[_0xe3e99a(0x35b)]['some'](_0x23b3e6);}[a0_0x226830(0x302)](){const _0x4ab447=a0_0x226830;return this['_fields']['filter'](_0x10ab57=>_0x10ab57[_0x4ab447(0x1bd)]());}[a0_0x226830(0x40f)](){const _0x5dfd8c=a0_0x226830;return this[_0x5dfd8c(0x35b)]['filter'](_0xa64b12=>_0xa64b12['isPrimaryKey']());}[a0_0x226830(0x2bd)](){const _0x2ea158=a0_0x226830;return this[_0x2ea158(0x35b)][_0x2ea158(0x196)](_0x3ba3a2=>_0x3ba3a2[_0x2ea158(0x315)]());}[a0_0x226830(0x3dc)](){const _0x338fb5=a0_0x226830;return this[_0x338fb5(0x35b)][_0x338fb5(0x196)](_0x36148c=>_0x36148c[_0x338fb5(0x195)]());}[a0_0x226830(0x26b)](){const _0x4fbc52=a0_0x226830;return this[_0x4fbc52(0x35b)][_0x4fbc52(0x196)](_0x24b54d=>_0x24b54d['isEnum']());}[a0_0x226830(0x18c)](){const _0x2db78b=a0_0x226830;return this[_0x2db78b(0x35b)]['filter'](_0x311a8c=>_0x311a8c[_0x2db78b(0x218)]());}[a0_0x226830(0x303)](){const _0x5c5d24=a0_0x226830;return this[_0x5c5d24(0x35b)][_0x5c5d24(0x196)](_0x180f37=>_0x180f37[_0x5c5d24(0x290)]());}['getUpdateTime'](){const _0x4e5f7d=a0_0x226830;return this[_0x4e5f7d(0x35b)][_0x4e5f7d(0x196)](_0x4bf743=>_0x4bf743[_0x4e5f7d(0x2ba)]());}[a0_0x226830(0x3e2)](){const _0x45c042=a0_0x226830;return this[_0x45c042(0x35b)][_0x45c042(0x196)](_0x4f8aaa=>_0x4f8aaa['isDeleted']());}[a0_0x226830(0x2c8)](){const _0x1e2291=a0_0x226830;return this[_0x1e2291(0x35b)][_0x1e2291(0x196)](_0x442617=>!_0x442617[_0x1e2291(0x29b)]());}[a0_0x226830(0x21f)](){const _0xbff1f=a0_0x226830,_0x3af376={};return this[_0xbff1f(0x35b)][_0xbff1f(0x17e)](_0x4b5b0d=>{const _0x2508dc=_0x4b5b0d['type'];!_0x3af376[_0x2508dc]&&(_0x3af376[_0x2508dc]=[]),_0x3af376[_0x2508dc]['push'](_0x4b5b0d);}),_0x3af376;}[a0_0x226830(0x26d)](){const _0x406976=a0_0x226830,_0x46ffd9={};return this[_0x406976(0x35b)][_0x406976(0x17e)](_0x4dba36=>{const _0x552c17=_0x406976;if(_0x4dba36[_0x552c17(0x39f)]()){const _0x11d22d=_0x4dba36[_0x552c17(0x1e9)]();_0x11d22d&&(_0x46ffd9[_0x4dba36[_0x552c17(0x3b4)]]=_0x11d22d);}}),_0x46ffd9;}[a0_0x226830(0x1c6)](){const _0x43315e=a0_0x226830;return{'total':this[_0x43315e(0x28d)],'required':this['getRequired']()[_0x43315e(0x28d)],'primaryKey':this[_0x43315e(0x40f)]()[_0x43315e(0x28d)],'system':this[_0x43315e(0x2bd)]()['length'],'business':this[_0x43315e(0x3dc)]()[_0x43315e(0x28d)],'enum':this['getEnum']()[_0x43315e(0x28d)],'autoIncrement':this[_0x43315e(0x18c)]()[_0x43315e(0x28d)]};}[a0_0x226830(0x345)](){const _0x25bd7a=a0_0x226830;return this['_fields'][_0x25bd7a(0x30b)](_0x540118=>_0x540118[_0x25bd7a(0x3b4)]);}[a0_0x226830(0x3de)](){const _0x5eea59=a0_0x226830;return this[_0x5eea59(0x35b)][_0x5eea59(0x30b)](_0x1d1427=>_0x1d1427[_0x5eea59(0x204)]());}[a0_0x226830(0x40e)](){const _0x55a968=a0_0x226830;return this[_0x55a968(0x35b)][_0x55a968(0x30b)](_0x21f8f1=>_0x21f8f1[_0x55a968(0x2fd)]());}[a0_0x226830(0x409)](){const _0x1593c7=a0_0x226830;return this[_0x1593c7(0x35b)][_0x1593c7(0x30b)](_0x12230c=>_0x12230c[_0x1593c7(0x409)]());}['toString'](){const _0x4a870a=a0_0x226830;return _0x4a870a(0x1fe)+this[_0x4a870a(0x28d)]+_0x4a870a(0x263);}}class FieldListV1 extends FieldListBase{constructor(_0x2c9c5d,_0x5ad20e){super(_0x2c9c5d,_0x5ad20e);}[a0_0x226830(0x38b)](_0x868abb){const _0x5388ae=a0_0x226830;return _0x868abb[_0x5388ae(0x30b)](_0x227c49=>new FieldV1(_0x227c49));}[a0_0x226830(0x2fc)](){return[...this['_fields']];}['at'](_0x5ec952){return this['_fields']['at'](_0x5ec952);}[a0_0x226830(0x244)](_0x1fae2c){const _0x4315e9=a0_0x226830;return this[_0x4315e9(0x35b)][_0x4315e9(0x244)](_0x4a0410=>_0x4a0410['code']===_0x1fae2c);}[a0_0x226830(0x268)](_0x36f545){const _0x4cfcf4=a0_0x226830;return this[_0x4cfcf4(0x35b)]['find'](_0x188ed6=>_0x188ed6[_0x4cfcf4(0x2c4)]===_0x36f545);}[a0_0x226830(0x196)](_0x24aa9f){const _0xe0cccd=a0_0x226830;return this[_0xe0cccd(0x35b)][_0xe0cccd(0x196)](_0x24aa9f);}['map'](_0x5bdb57){const _0x1cfd5f=a0_0x226830;return this[_0x1cfd5f(0x35b)]['map'](_0x5bdb57);}[a0_0x226830(0x302)](){const _0x52dc11=a0_0x226830;return this[_0x52dc11(0x35b)][_0x52dc11(0x196)](_0xa94d98=>_0xa94d98['isRequired']());}['getPrimaryKeys'](){const _0x4aa74c=a0_0x226830;return this[_0x4aa74c(0x35b)][_0x4aa74c(0x196)](_0x2fa8e7=>_0x2fa8e7[_0x4aa74c(0x186)]());}[a0_0x226830(0x2bd)](){const _0x160431=a0_0x226830;return this[_0x160431(0x35b)]['filter'](_0x358d65=>_0x358d65['isSystem']());}['getBusiness'](){const _0x9ddc5f=a0_0x226830;return this[_0x9ddc5f(0x35b)][_0x9ddc5f(0x196)](_0x2ee6aa=>_0x2ee6aa[_0x9ddc5f(0x195)]());}['getEnum'](){const _0x442b98=a0_0x226830;return this[_0x442b98(0x35b)][_0x442b98(0x196)](_0x3ebead=>_0x3ebead['isEnum']());}['groupByType'](){const _0xa6d82f=a0_0x226830,_0x43902f={};return this[_0xa6d82f(0x35b)][_0xa6d82f(0x17e)](_0x193fb6=>{const _0x2ea44c=_0xa6d82f,_0x10753d=_0x193fb6[_0x2ea44c(0x331)];!_0x43902f[_0x10753d]&&(_0x43902f[_0x10753d]=[]),_0x43902f[_0x10753d][_0x2ea44c(0x25a)](_0x193fb6);}),_0x43902f;}[a0_0x226830(0x1aa)](){const _0x506613=a0_0x226830;return this[_0x506613(0x35b)][_0x506613(0x30b)](_0x38650c=>_0x38650c['raw']);}static[a0_0x226830(0x3c9)](_0x5bf37a){const _0x36d760=a0_0x226830,_0x59f084=_0x5bf37a['map'](_0x4b5412=>_0x4b5412[_0x36d760(0x1aa)]);return new FieldListV1(_0x59f084);}static[a0_0x226830(0x2dc)](_0x4a8e4b){const _0x1fa609=a0_0x226830,_0x5a9306={};return _0x5a9306[_0x1fa609(0x337)]=!![],new FieldListV1(_0x4a8e4b,_0x5a9306);}}class FieldV2 extends FieldBase{[a0_0x226830(0x34a)];constructor(_0x5cade1){const _0x404914=a0_0x226830;super();if(!_0x5cade1||typeof _0x5cade1!=='object')throw new Error(_0x404914(0x2bf));this[_0x404914(0x34a)]=_0x5cade1;}['getVersion'](){return'v2';}get[a0_0x226830(0x1aa)](){return this['_raw'];}get[a0_0x226830(0x2c4)](){const _0x5b1647=a0_0x226830;return this['_raw'][_0x5b1647(0x2c4)]||'';}get[a0_0x226830(0x3b4)](){const _0x3b279c=a0_0x226830;return this[_0x3b279c(0x34a)]['name']||'';}get[a0_0x226830(0x393)](){const _0x3ccff5=a0_0x226830;return this['_raw'][_0x3ccff5(0x393)]||'';}get[a0_0x226830(0x331)](){const _0x3e30b2=a0_0x226830;return this[_0x3e30b2(0x2f0)](this[_0x3e30b2(0x34a)]['dbType']);}get[a0_0x226830(0x1a0)](){const _0x7f3484=a0_0x226830;return this[_0x7f3484(0x34a)]['description']||'';}get['deleted'](){const _0x67f8fd=a0_0x226830;return Boolean(this[_0x67f8fd(0x34a)][_0x67f8fd(0x3d2)]);}[a0_0x226830(0x1bd)](){const _0x51ec76=a0_0x226830;return Boolean(this[_0x51ec76(0x34a)][_0x51ec76(0x35d)]);}[a0_0x226830(0x186)](){const _0x1f3970=a0_0x226830;return Boolean(this[_0x1f3970(0x34a)][_0x1f3970(0x172)]);}[a0_0x226830(0x315)](){const _0x2491e9=a0_0x226830;return Boolean(this[_0x2491e9(0x34a)][_0x2491e9(0x18d)]);}[a0_0x226830(0x218)](){return Boolean(this['_raw']['autoIncrement']);}[a0_0x226830(0x290)](){return this['_raw']['systemRetain']==='createTime';}['isUpdateTime'](){const _0x3a1239=a0_0x226830;return this[_0x3a1239(0x34a)][_0x3a1239(0x18d)]===_0x3a1239(0x2db);}['getDisplayName'](){const _0x4c691e=a0_0x226830;return this[_0x4c691e(0x34a)][_0x4c691e(0x393)]||'';}[a0_0x226830(0x2fd)](){const _0x4b0a3e=a0_0x226830;return this[_0x4b0a3e(0x34a)]['name']||'';}[a0_0x226830(0x39f)](){const _0x1adb33=a0_0x226830;return Boolean(this['_raw'][_0x1adb33(0x3ac)]&&Array[_0x1adb33(0x2fe)](this[_0x1adb33(0x34a)][_0x1adb33(0x3ac)])&&this['_raw'][_0x1adb33(0x3ac)][_0x1adb33(0x28d)]>0x0);}[a0_0x226830(0x2df)](){const _0xc39fc8=a0_0x226830,_0x46ee96=this['_raw'][_0xc39fc8(0x165)];if(!_0x46ee96)return![];try{const _0x53844a=JSON[_0xc39fc8(0x398)](_0x46ee96);if(_0x53844a&&typeof _0x53844a===_0xc39fc8(0x1f9)&&_0xc39fc8(0x390)in _0x53844a)return Boolean(_0x53844a['multiple']);}catch{}return![];}[a0_0x226830(0x276)](){const _0x48ba97=a0_0x226830;if(this[_0x48ba97(0x34a)][_0x48ba97(0x3ac)]&&Array[_0x48ba97(0x2fe)](this[_0x48ba97(0x34a)][_0x48ba97(0x3ac)]))return this[_0x48ba97(0x34a)][_0x48ba97(0x3ac)];return;}[a0_0x226830(0x207)](){const _0x1d2713=a0_0x226830,_0x738d4a=this['_raw'][_0x1d2713(0x165)];if(!_0x738d4a)return;try{const _0xc4db5d=JSON[_0x1d2713(0x398)](_0x738d4a);if(_0xc4db5d&&typeof _0xc4db5d===_0x1d2713(0x1f9)&&_0x1d2713(0x350)in _0xc4db5d)return _0xc4db5d['selectItemsSource'];}catch{}return;}['getDbTypeForOperation'](){const _0x156720=a0_0x226830;return this[_0x156720(0x34a)]['dbType']['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}['getDefaultValue'](){return;}[a0_0x226830(0x316)](){return;}get['dbType'](){const _0x527e06=a0_0x226830;return this[_0x527e06(0x34a)]['dbType'];}get['dbTypeLen'](){const _0x2691b3=a0_0x226830;return this[_0x2691b3(0x34a)][_0x2691b3(0x3d9)];}[a0_0x226830(0x3ab)](){const _0x245b5f=a0_0x226830;return this[_0x245b5f(0x34a)]['doType']??null;}get['doType'](){const _0x23cd3d=a0_0x226830;return this[_0x23cd3d(0x34a)][_0x23cd3d(0x1ab)]??null;}['toJSON'](){const _0x19ad19=a0_0x226830;return{'name':this[_0x19ad19(0x2c4)],'code':this[_0x19ad19(0x3b4)],'type':this['type'],'dbType':this[_0x19ad19(0x3ec)],'dbTypeLen':this[_0x19ad19(0x3d9)],'doType':this['getDOType'](),'displayName':this[_0x19ad19(0x393)],'description':this[_0x19ad19(0x1a0)],'required':this[_0x19ad19(0x1bd)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x19ad19(0x315)](),'autoIncrement':this['isAutoIncrement'](),'isEnum':this[_0x19ad19(0x39f)](),'enumMeta':this['isEnum']()?this['getEnumMeta']():undefined};}[a0_0x226830(0x3e4)](){const _0x486b19=a0_0x226830;return _0x486b19(0x1ad)+this[_0x486b19(0x2c4)]+',\x20'+this['code']+',\x20'+this['dbType']+',\x20doType='+this[_0x486b19(0x3ab)]()+')';}[a0_0x226830(0x2f0)](_0x5804ac){const _0x158372=a0_0x226830,_0x39a20f={};_0x39a20f[_0x158372(0x20a)]=_0x158372(0x2b4),_0x39a20f[_0x158372(0x242)]=_0x158372(0x2b4),_0x39a20f[_0x158372(0x2b4)]=_0x158372(0x1a2),_0x39a20f[_0x158372(0x37f)]='TEXTAREA',_0x39a20f[_0x158372(0x1e0)]='NUMBER',_0x39a20f[_0x158372(0x38a)]=_0x158372(0x2ac),_0x39a20f[_0x158372(0x3e6)]='NUMBER',_0x39a20f[_0x158372(0x2da)]='NUMBER',_0x39a20f[_0x158372(0x1e5)]=_0x158372(0x2ac),_0x39a20f[_0x158372(0x1a1)]='NUMBER',_0x39a20f[_0x158372(0x384)]='NUMBER',_0x39a20f[_0x158372(0x24d)]=_0x158372(0x23a),_0x39a20f[_0x158372(0x2b6)]=_0x158372(0x23a),_0x39a20f['DATE']='DATE',_0x39a20f[_0x158372(0x2ad)]=_0x158372(0x2ad),_0x39a20f[_0x158372(0x212)]='SWITCH',_0x39a20f['BIT']='SWITCH',_0x39a20f[_0x158372(0x21a)]=_0x158372(0x2d4),_0x39a20f[_0x158372(0x1b0)]=_0x158372(0x2d4);const _0x34d7d5=_0x39a20f,_0x240bd7=_0x5804ac[_0x158372(0x3f2)]();return _0x34d7d5[_0x240bd7]||_0x158372(0x2b4);}}class FieldListV2 extends FieldListBase{constructor(_0x4f6162,_0x98b079){super(_0x4f6162,_0x98b079);}['createFields'](_0x13c3b9){const _0x3c21e9=a0_0x226830;return _0x13c3b9[_0x3c21e9(0x30b)](_0x4f8271=>new FieldV2(_0x4f8271));}[a0_0x226830(0x2fc)](){return[...this['_fields']];}['at'](_0x2976bb){const _0x218d4a=a0_0x226830;return this[_0x218d4a(0x35b)]['at'](_0x2976bb);}[a0_0x226830(0x244)](_0x57f272){const _0xf41489=a0_0x226830;return this[_0xf41489(0x35b)][_0xf41489(0x244)](_0x5e1283=>_0x5e1283[_0xf41489(0x3b4)]===_0x57f272);}[a0_0x226830(0x268)](_0x5d583f){const _0x550f6e=a0_0x226830;return this[_0x550f6e(0x35b)][_0x550f6e(0x244)](_0x105242=>_0x105242['getDisplayName']()===_0x5d583f);}[a0_0x226830(0x196)](_0x4a3d4c){const _0x36dfef=a0_0x226830;return this[_0x36dfef(0x35b)][_0x36dfef(0x196)](_0x4a3d4c);}[a0_0x226830(0x30b)](_0x562ac8){const _0x392fa5=a0_0x226830;return this[_0x392fa5(0x35b)][_0x392fa5(0x30b)](_0x562ac8);}[a0_0x226830(0x302)](){const _0x17fbdc=a0_0x226830;return this['_fields']['filter'](_0x5e1bb4=>_0x5e1bb4[_0x17fbdc(0x1bd)]());}['getPrimaryKeys'](){return this['_fields']['filter'](_0x18429c=>_0x18429c['isPrimaryKey']());}[a0_0x226830(0x2bd)](){const _0x1c8662=a0_0x226830;return this[_0x1c8662(0x35b)][_0x1c8662(0x196)](_0x355acc=>_0x355acc[_0x1c8662(0x315)]());}[a0_0x226830(0x3dc)](){const _0x26e27f=a0_0x226830;return this[_0x26e27f(0x35b)]['filter'](_0x5d96fc=>_0x5d96fc['isBusiness']());}[a0_0x226830(0x26b)](){const _0x28d8d6=a0_0x226830;return this[_0x28d8d6(0x35b)][_0x28d8d6(0x196)](_0x4049c3=>_0x4049c3['isEnum']());}[a0_0x226830(0x21f)](){const _0x22946c=a0_0x226830,_0x3a8600={};return this[_0x22946c(0x35b)]['forEach'](_0x119dc7=>{const _0x3850c4=_0x22946c,_0x88ec93=_0x119dc7['type'];!_0x3a8600[_0x88ec93]&&(_0x3a8600[_0x88ec93]=[]),_0x3a8600[_0x88ec93][_0x3850c4(0x25a)](_0x119dc7);}),_0x3a8600;}[a0_0x226830(0x1aa)](){const _0x40b23c=a0_0x226830;return this[_0x40b23c(0x35b)][_0x40b23c(0x30b)](_0x30dd26=>_0x30dd26[_0x40b23c(0x1aa)]);}static[a0_0x226830(0x3c9)](_0x3f3988){const _0x3df818=a0_0x226830,_0x5269b7=_0x3f3988[_0x3df818(0x30b)](_0x5e51f0=>_0x5e51f0[_0x3df818(0x1aa)]);return new FieldListV2(_0x5269b7);}static[a0_0x226830(0x2dc)](_0x30b817){const _0x14ca64=a0_0x226830,_0x211d33={};return _0x211d33[_0x14ca64(0x337)]=!![],new FieldListV2(_0x30b817,_0x211d33);}['toString'](){const _0x1b2d8b=a0_0x226830;return _0x1b2d8b(0x38f)+this['length']+_0x1b2d8b(0x263);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x226830(0x3b0)];[a0_0x226830(0x2ab)];constructor(_0x5825fd){super(_0x5825fd);}['getFieldList'](){const _0x4b3910=a0_0x226830;if(!this['_fieldListV1']){const _0x306b9f={};_0x306b9f[_0x4b3910(0x337)]=![],this[_0x4b3910(0x3b0)]=new FieldListV1(this[_0x4b3910(0x34a)][_0x4b3910(0x37e)]||[],_0x306b9f);}return this[_0x4b3910(0x3b0)];}['getFieldListWithDeleted'](){const _0x20061c=a0_0x226830;if(!this[_0x20061c(0x2ab)]){const _0x5657b0={};_0x5657b0[_0x20061c(0x337)]=!![],this[_0x20061c(0x2ab)]=new FieldListV1(this[_0x20061c(0x34a)][_0x20061c(0x37e)]||[],_0x5657b0);}return this[_0x20061c(0x2ab)];}['getFields'](){const _0x33e7b9=a0_0x226830;return(this[_0x33e7b9(0x34a)][_0x33e7b9(0x37e)]||[])[_0x33e7b9(0x196)](_0x587d5f=>!_0x587d5f[_0x33e7b9(0x3d2)]);}['getFieldCount'](){const _0x1b4e7f=a0_0x226830;return this[_0x1b4e7f(0x222)]()[_0x1b4e7f(0x28d)];}['getFieldRaw'](_0x4864e3){const _0x2c1697=a0_0x226830;return this['_raw']['properties']?.[_0x2c1697(0x244)](_0x1f08e5=>_0x1f08e5[_0x2c1697(0x3b4)]===_0x4864e3);}[a0_0x226830(0x245)](){return'v1';}[a0_0x226830(0x306)](){const _0x2e002b=a0_0x226830,_0x6634fe={};return _0x6634fe[_0x2e002b(0x399)]=this[_0x2e002b(0x34a)][_0x2e002b(0x37e)]||[],_0x6634fe[_0x2e002b(0x337)]=![],_0x6634fe;}['getOperationsData'](){const _0x4bbdac=a0_0x226830;return this[_0x4bbdac(0x34a)]['operations'];}[a0_0x226830(0x3b9)](){const _0x4d5b4c=a0_0x226830;return this[_0x4d5b4c(0x34a)][_0x4d5b4c(0x1ea)];}[a0_0x226830(0x1d5)](){const _0x446e7e=a0_0x226830,_0x6e3a66=this['getRawDbtableConfig'](),_0xa9b94=_0x6e3a66?.[_0x446e7e(0x1c9)],_0x3cc500={};return _0x3cc500[_0x446e7e(0x201)]=_0x6e3a66?.[_0x446e7e(0x201)],_0x3cc500[_0x446e7e(0x3bd)]=_0x6e3a66?.[_0x446e7e(0x3bd)]??_0xa9b94?.[_0x446e7e(0x3bd)],_0x3cc500['dbType']=_0xa9b94?.['dbType'],_0x3cc500[_0x446e7e(0x376)]=_0xa9b94?.[_0x446e7e(0x376)],_0x3cc500['tableName']=_0x6e3a66?.[_0x446e7e(0x214)],_0x3cc500[_0x446e7e(0x170)]=_0x6e3a66?.[_0x446e7e(0x170)],_0x3cc500[_0x446e7e(0x172)]=_0x6e3a66?.['pkField'],new DBConfig(_0x3cc500,_0x6e3a66);}get[a0_0x226830(0x372)](){const _0x49a2e0=a0_0x226830;return this[_0x49a2e0(0x34a)][_0x49a2e0(0x372)];}['getFieldInstance'](_0x540df2){const _0xc8b5ef=a0_0x226830;if(typeof _0x540df2!==_0xc8b5ef(0x25e)){!![]&&console[_0xc8b5ef(0x27a)](_0xc8b5ef(0x2c9),_0x540df2);return;}return this[_0xc8b5ef(0x222)]()[_0xc8b5ef(0x244)](_0x540df2);}[a0_0x226830(0x3bc)](_0x49301e){const _0xa22730=a0_0x226830;if(!_0x49301e||typeof _0x49301e!==_0xa22730(0x1f9))return![];const _0x97aef1=this[_0xa22730(0x173)](_0x49301e[_0xa22730(0x3b4)]);return _0x97aef1?_0x97aef1[_0xa22730(0x2df)]():![];}[a0_0x226830(0x22d)](){const _0x5c5011=a0_0x226830,_0x4f448c=this[_0x5c5011(0x2d6)](_0x5c5011(0x196));return _0x4f448c;}[a0_0x226830(0x1da)](){const _0x3c3634=a0_0x226830;return this[_0x3c3634(0x233)](_0x3c3634(0x196));}[a0_0x226830(0x33b)](){const _0x40bc0a=a0_0x226830;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x40bc0a(0x284)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x226830(0x330)];[a0_0x226830(0x29e)];[a0_0x226830(0x379)];constructor(_0x291525){const _0x5bb6bb=a0_0x226830;super(_0x291525),this['_datasetMeta']=_0x291525['dataset'],this[_0x5bb6bb(0x379)]=_0x291525[_0x5bb6bb(0x2a5)]||[];}[a0_0x226830(0x245)](){return'v2';}[a0_0x226830(0x306)](){const _0x30b0ed=a0_0x226830,_0x48a573={};return _0x48a573[_0x30b0ed(0x399)]=this[_0x30b0ed(0x34a)][_0x30b0ed(0x399)],_0x48a573[_0x30b0ed(0x337)]=![],_0x48a573;}['getOperationsData'](){const _0x2e16d3=a0_0x226830;return this[_0x2e16d3(0x34a)][_0x2e16d3(0x1f1)];}[a0_0x226830(0x3b9)](){const _0x576551=a0_0x226830;return this[_0x576551(0x34a)][_0x576551(0x1ea)];}[a0_0x226830(0x1d5)](){const _0x3e5d6f=a0_0x226830,_0x2e8160=this[_0x3e5d6f(0x34a)][_0x3e5d6f(0x2bc)],_0x1baa87={};return _0x1baa87['dbId']=_0x2e8160?.[_0x3e5d6f(0x201)],_0x1baa87['dbName']=_0x2e8160?.[_0x3e5d6f(0x3bd)],_0x1baa87[_0x3e5d6f(0x3ec)]=undefined,_0x1baa87[_0x3e5d6f(0x376)]=undefined,_0x1baa87[_0x3e5d6f(0x214)]=_0x2e8160?.[_0x3e5d6f(0x214)],_0x1baa87[_0x3e5d6f(0x170)]=_0x2e8160?.[_0x3e5d6f(0x170)],_0x1baa87[_0x3e5d6f(0x172)]=_0x2e8160?.[_0x3e5d6f(0x172)],new DBConfig(_0x1baa87,_0x2e8160);}[a0_0x226830(0x222)](){const _0x16bfc2=a0_0x226830;return this[_0x16bfc2(0x20f)]();}['getFields'](){const _0x466b2a=a0_0x226830;return this[_0x466b2a(0x34a)]['fields'];}[a0_0x226830(0x329)](){const _0x49eb05=a0_0x226830;return this[_0x49eb05(0x34a)]['fields'][_0x49eb05(0x28d)];}[a0_0x226830(0x2ff)](_0x59bbd7){const _0x2b74b9=a0_0x226830;return this[_0x2b74b9(0x34a)][_0x2b74b9(0x399)][_0x2b74b9(0x244)](_0x22f369=>_0x22f369[_0x2b74b9(0x2c4)]===_0x59bbd7);}[a0_0x226830(0x225)](){const _0x401648=a0_0x226830;return this[_0x401648(0x29e)];}[a0_0x226830(0x18e)](){const _0xa85f5c=a0_0x226830;return this[_0xa85f5c(0x379)];}[a0_0x226830(0x383)](){return this['_datasetMeta']['indexes']||[];}[a0_0x226830(0x3c4)](_0x53841f){const _0x32d3b3=a0_0x226830;return this[_0x32d3b3(0x379)][_0x32d3b3(0x196)](_0x318934=>_0x318934['fromField']===_0x53841f);}[a0_0x226830(0x2a9)](_0x4852a2){const _0x56bb7f=a0_0x226830;return this[_0x56bb7f(0x379)][_0x56bb7f(0x288)](_0x30d259=>_0x30d259[_0x56bb7f(0x188)]===_0x4852a2);}['getRelatedDataset'](_0x478bd5){const _0x55310b=a0_0x226830,_0x531364=this['_relations'][_0x55310b(0x244)](_0x46d2b8=>_0x46d2b8[_0x55310b(0x188)]===_0x478bd5);if(!_0x531364)return;const _0x317945={};return _0x317945[_0x55310b(0x39a)]=_0x531364[_0x55310b(0x2af)],_0x317945[_0x55310b(0x2c0)]=_0x531364[_0x55310b(0x385)],_0x317945[_0x55310b(0x258)]=_0x531364['toDatasetName'],_0x317945[_0x55310b(0x214)]=_0x531364[_0x55310b(0x261)],_0x317945['toField']=_0x531364['toField'],_0x317945;}[a0_0x226830(0x3da)](){const _0x1f3259=a0_0x226830;return this[_0x1f3259(0x379)]['map'](_0x146d16=>_0x146d16[_0x1f3259(0x188)]);}[a0_0x226830(0x20f)](){const _0x5f48fb=a0_0x226830;return!this[_0x5f48fb(0x330)]&&(this[_0x5f48fb(0x330)]=new FieldListV2(this[_0x5f48fb(0x34a)][_0x5f48fb(0x399)])),this['_fieldListV2'];}[a0_0x226830(0x173)](_0x4c5e2e){const _0x17eaa1=a0_0x226830;if(typeof _0x4c5e2e!==_0x17eaa1(0x25e)){!![]&&console['warn']('[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x4c5e2e);return;}return this[_0x17eaa1(0x20f)]()[_0x17eaa1(0x244)](_0x4c5e2e);}[a0_0x226830(0x3bc)](_0x34ccc4){const _0x155439=a0_0x226830;if(!_0x34ccc4||typeof _0x34ccc4!=='object')return![];const _0x181a80=_0x34ccc4['name']||_0x34ccc4[_0x155439(0x3b4)],_0x5e3e3d=this[_0x155439(0x173)](_0x181a80);return _0x5e3e3d?_0x5e3e3d[_0x155439(0x2df)]():![];}[a0_0x226830(0x1c5)](){const _0x14da29=a0_0x226830;if(!this[_0x14da29(0x15c)]){const _0x18110d=this[_0x14da29(0x287)](this[_0x14da29(0x3b7)]()||{});this[_0x14da29(0x15c)]=new OperationList(_0x18110d,{'fields':this[_0x14da29(0x20f)]()['all'](),'pkField':this[_0x14da29(0x34a)]['dbtableConfig']?.[_0x14da29(0x172)],'dbtableConfig':this['_raw'][_0x14da29(0x2bc)]||null});}return this[_0x14da29(0x15c)];}[a0_0x226830(0x22d)](){const _0x34cca7=a0_0x226830,_0x2c0c8c=this[_0x34cca7(0x2d6)](_0x34cca7(0x196));return _0x2c0c8c;}[a0_0x226830(0x1da)](){const _0x1edbec=a0_0x226830;return this[_0x1edbec(0x233)]('filter');}['toListItem'](){const _0x544c77=a0_0x226830;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x544c77(0x2c0)],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x226830(0x3e4)](){const _0xdda4a4=a0_0x226830,_0x566ad5=this[_0xdda4a4(0x379)]['length'],_0x1c93a4=this[_0xdda4a4(0x383)]()['length'];return _0xdda4a4(0x229)+this['name']+',\x20'+this[_0xdda4a4(0x2c0)]+',\x20'+this[_0xdda4a4(0x329)]()+'\x20fields,\x20'+this[_0xdda4a4(0x293)]()+_0xdda4a4(0x1fb)+_0x566ad5+'\x20relations,\x20'+_0x1c93a4+'\x20indexes)';}[a0_0x226830(0x1d4)](){const _0x5d1259=a0_0x226830;return this[_0x5d1259(0x34a)][_0x5d1259(0x399)];}['getFieldV2'](_0x456ec9){const _0x237dce=a0_0x226830;return this[_0x237dce(0x34a)][_0x237dce(0x399)][_0x237dce(0x244)](_0x4e2380=>_0x4e2380[_0x237dce(0x2c4)]===_0x456ec9);}}function detectDatasetVersion(_0x4ee488){const _0x326e71=a0_0x226830;if(_0x4ee488[_0x326e71(0x3dd)]==='v2'&&_0x326e71(0x399)in _0x4ee488&&Array[_0x326e71(0x2fe)](_0x4ee488[_0x326e71(0x399)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{['_instance'];constructor(_0x231b80){super(_0x231b80);const _0x2da5fe=detectDatasetVersion(_0x231b80);this['_instance']=_0x2da5fe==='v2'?new DrivenDataDetailV2(_0x231b80):new DrivenDataDetailV1(_0x231b80);}get['id'](){const _0x29c07d=a0_0x226830;return this[_0x29c07d(0x1e1)]['id'];}get['name'](){const _0x21b14e=a0_0x226830;return this[_0x21b14e(0x1e1)][_0x21b14e(0x2c4)];}get[a0_0x226830(0x2c0)](){const _0x6db16=a0_0x226830;return this[_0x6db16(0x1e1)]['datasetCode'];}get['version'](){const _0xa5ab12=a0_0x226830;return this['_instance']['getVersion']()==='v2'?_0xa5ab12(0x3b8):_0xa5ab12(0x1a3);}['getVersion'](){const _0x59e653=a0_0x226830;return this[_0x59e653(0x1e1)]['getVersion']();}[a0_0x226830(0x3c7)](){return this['_instance']['id'];}[a0_0x226830(0x220)](){return this['_instance']['datasetCode'];}['getName'](){const _0x4e6682=a0_0x226830;return this[_0x4e6682(0x1e1)][_0x4e6682(0x2c4)];}['getFieldDataSource'](){const _0x58b5d1=a0_0x226830;return this[_0x58b5d1(0x1e1)][_0x58b5d1(0x306)]();}['getOperationsData'](){return this['_instance']['getOperationsData']();}[a0_0x226830(0x3b9)](){const _0x130f8f=a0_0x226830;return this['_instance'][_0x130f8f(0x3b9)]();}[a0_0x226830(0x353)](){const _0x369fa2=a0_0x226830;return this[_0x369fa2(0x1e1)][_0x369fa2(0x353)]();}['getFieldList'](){const _0xf31c25=a0_0x226830;return this[_0xf31c25(0x1e1)][_0xf31c25(0x222)]();}[a0_0x226830(0x392)](){const _0x2a0fda=a0_0x226830;return this[_0x2a0fda(0x1e1)][_0x2a0fda(0x392)]();}[a0_0x226830(0x30f)](){const _0x16010b=a0_0x226830;return this[_0x16010b(0x1e1)][_0x16010b(0x30f)]();}[a0_0x226830(0x329)](){const _0x943b50=a0_0x226830;return this[_0x943b50(0x1e1)][_0x943b50(0x329)]();}['getPkField'](){const _0x19b2fc=a0_0x226830,_0x2f91b8=this[_0x19b2fc(0x1e1)]['getRawDbtableConfig']();return _0x2f91b8?.[_0x19b2fc(0x172)];}['getDBConfig'](){const _0x20e7c5=a0_0x226830;return this[_0x20e7c5(0x1e1)][_0x20e7c5(0x1d5)]();}[a0_0x226830(0x173)](_0x196a0b){const _0x5a2f07=a0_0x226830;return this[_0x5a2f07(0x1e1)][_0x5a2f07(0x173)](_0x196a0b);}[a0_0x226830(0x241)](){const _0x10d7c1=a0_0x226830;return this[_0x10d7c1(0x1e1)][_0x10d7c1(0x241)]();}[a0_0x226830(0x23b)](){const _0x1acc92=a0_0x226830;return this[_0x1acc92(0x1e1)][_0x1acc92(0x23b)]();}[a0_0x226830(0x33e)](){const _0x5ba712=a0_0x226830;return this[_0x5ba712(0x1e1)][_0x5ba712(0x33e)]();}['getRequiredFields'](){const _0x12147e=a0_0x226830;return this[_0x12147e(0x1e1)][_0x12147e(0x21e)]();}[a0_0x226830(0x3b2)](){return this['_instance']['getFieldsByType']();}[a0_0x226830(0x300)](){const _0x3c9304=a0_0x226830;return this[_0x3c9304(0x1e1)][_0x3c9304(0x300)]();}[a0_0x226830(0x1b3)](){const _0x310a9e=a0_0x226830;return this[_0x310a9e(0x1e1)][_0x310a9e(0x1b3)]();}[a0_0x226830(0x27b)](){const _0xd6fba0=a0_0x226830;return this[_0xd6fba0(0x1e1)][_0xd6fba0(0x27b)]();}[a0_0x226830(0x293)](){const _0x3948f0=a0_0x226830;return this['_instance'][_0x3948f0(0x293)]();}['getEnabledOperations'](){return this['_instance']['getEnabledOperations']();}[a0_0x226830(0x226)](){const _0x123c44=a0_0x226830;return this[_0x123c44(0x1e1)][_0x123c44(0x226)]();}[a0_0x226830(0x2e7)](){const _0x2cd2b8=a0_0x226830;return this[_0x2cd2b8(0x1e1)]['getEnabledOperationInstances']();}[a0_0x226830(0x18a)](){const _0x2eda4f=a0_0x226830;return this['_instance'][_0x2eda4f(0x18a)]();}[a0_0x226830(0x1c6)](){const _0x427636=a0_0x226830;return this[_0x427636(0x1e1)]['getStats']();}[a0_0x226830(0x225)](){const _0xf5dd0d=a0_0x226830;return this[_0xf5dd0d(0x1e1)][_0xf5dd0d(0x225)]();}['getRelations'](){const _0x33eac1=a0_0x226830;return this[_0x33eac1(0x1e1)][_0x33eac1(0x18e)]();}['getIndexes'](){const _0x1e3093=a0_0x226830;return this[_0x1e3093(0x1e1)][_0x1e3093(0x383)]();}[a0_0x226830(0x3a5)](){const _0x131458=a0_0x226830;return this[_0x131458(0x1e1)][_0x131458(0x3a5)]();}[a0_0x226830(0x197)](){const _0x385377=a0_0x226830;return this[_0x385377(0x1e1)][_0x385377(0x197)]();}['toJSON'](){const _0x5acb82=a0_0x226830;return this[_0x5acb82(0x1e1)][_0x5acb82(0x409)]();}[a0_0x226830(0x22d)](){const _0x953053=a0_0x226830;return this[_0x953053(0x1e1)][_0x953053(0x22d)]();}[a0_0x226830(0x1da)](){const _0x5f271b=a0_0x226830;return this[_0x5f271b(0x1e1)][_0x5f271b(0x1da)]();}[a0_0x226830(0x33b)](){const _0x433480=a0_0x226830;return this['_instance'][_0x433480(0x33b)]();}['toString'](){const _0x1b8135=a0_0x226830;return this[_0x1b8135(0x1e1)][_0x1b8135(0x3e4)]();}['getInternalInstance'](){return this['_instance'];}}function detectDatasetVersion2(_0xe04b38){const _0xb4628b=a0_0x226830;if(_0xe04b38[_0xb4628b(0x3dd)]==='v2'&&'fields'in _0xe04b38&&Array['isArray'](_0xe04b38['fields']))return'v2';return'v1';}function createDrivenDataDetail(_0x38a655,_0x3a5da1={}){const {forceVersion:_0x202fca}=_0x3a5da1;if(_0x202fca==='v2')return new DrivenDataDetailV2(_0x38a655);if(_0x202fca==='v1')return new DrivenDataDetailV1(_0x38a655);const _0x2cac5b=detectDatasetVersion2(_0x38a655);if(_0x2cac5b==='v2')return new DrivenDataDetailV2(_0x38a655);return new DrivenDataDetailV1(_0x38a655);}function isV2Data(_0x471958){return detectDatasetVersion2(_0x471958)==='v2';}function isV1Data(_0x4409d6){return detectDatasetVersion2(_0x4409d6)==='v1';}function isV2Instance(_0x3a8785){const _0x1808c4=a0_0x226830;return _0x3a8785[_0x1808c4(0x245)]()==='v2';}function isV1Instance(_0x260fb0){return _0x260fb0['getVersion']()==='v1';}class DatasetGroup{[a0_0x226830(0x2f9)];constructor(_0x549376){const _0x5277f9=a0_0x226830;this['items']=Array['isArray'](_0x549376)?[..._0x549376]:[_0x549376],this[_0x5277f9(0x2f9)]['sort']((_0x54e596,_0x386af3)=>{const _0x7d15d9=Number(_0x54e596['id'])||0x0,_0x5a8f63=Number(_0x386af3['id'])||0x0;return _0x5a8f63-_0x7d15d9;});}[a0_0x226830(0x1d2)](){const _0x6b0604=a0_0x226830;return this[_0x6b0604(0x2f9)][_0x6b0604(0x28d)]>0x1;}[a0_0x226830(0x362)](){const _0x20300a=a0_0x226830;return this[_0x20300a(0x2f9)][0x0];}[a0_0x226830(0x189)](){const _0x5f08d0=a0_0x226830;return this[_0x5f08d0(0x2f9)][this[_0x5f08d0(0x2f9)][_0x5f08d0(0x28d)]-0x1];}[a0_0x226830(0x3a6)](){return[...this['items']];}['getCount'](){const _0x3e2b5a=a0_0x226830;return this[_0x3e2b5a(0x2f9)][_0x3e2b5a(0x28d)];}['getAt'](_0x531d53){return this['items'][_0x531d53];}['findById'](_0x58031f){const _0x4d09cc=a0_0x226830;return this[_0x4d09cc(0x2f9)][_0x4d09cc(0x244)](_0x2d84a6=>_0x2d84a6['id']===_0x58031f);}[a0_0x226830(0x320)](_0x36f23a){const _0x197e76=a0_0x226830;return this[_0x197e76(0x2f9)][_0x197e76(0x244)](_0xd730ed=>_0xd730ed['datasetCode']===_0x36f23a);}[a0_0x226830(0x278)](){const _0x172ede=a0_0x226830;return this['items'][_0x172ede(0x30b)](_0x11cc43=>_0x11cc43['id'])[_0x172ede(0x196)](_0x384552=>_0x384552!==undefined);}[a0_0x226830(0x345)](){const _0x1e4572=a0_0x226830;return this[_0x1e4572(0x2f9)][_0x1e4572(0x30b)](_0x360c6e=>_0x360c6e[_0x1e4572(0x2c0)]);}['toString'](){const _0x2ef0e4=a0_0x226830;if(this[_0x2ef0e4(0x1d2)]())return _0x2ef0e4(0x396)+this[_0x2ef0e4(0x2f9)][_0x2ef0e4(0x28d)]+_0x2ef0e4(0x36e)+this['getLatest']()[_0x2ef0e4(0x2c4)]+')';return'DatasetGroup('+this[_0x2ef0e4(0x2f9)][0x0][_0x2ef0e4(0x2c4)]+')';}}class DatasetGroupMap{[a0_0x226830(0x3e0)];constructor(_0x76c1b8){const _0x46263e=a0_0x226830;this[_0x46263e(0x3e0)]=new Map();for(const _0x4ff0d6 of _0x76c1b8){const _0x4d1451=getTableKey(_0x4ff0d6);if(!this[_0x46263e(0x3e0)][_0x46263e(0x24e)](_0x4d1451))this[_0x46263e(0x3e0)][_0x46263e(0x162)](_0x4d1451,new DatasetGroup(_0x4ff0d6));else{const _0x325e52=this[_0x46263e(0x3e0)][_0x46263e(0x394)](_0x4d1451),_0x3b8826=[..._0x325e52[_0x46263e(0x3a6)](),_0x4ff0d6];this['groups'][_0x46263e(0x162)](_0x4d1451,new DatasetGroup(_0x3b8826));}}}['get'](_0x1a047b){const _0xddb35a=a0_0x226830;return this[_0xddb35a(0x3e0)][_0xddb35a(0x394)](_0x1a047b);}[a0_0x226830(0x24e)](_0x2b80f0){const _0x25755a=a0_0x226830;return this[_0x25755a(0x3e0)][_0x25755a(0x24e)](_0x2b80f0);}get[a0_0x226830(0x2cd)](){const _0x3e6f36=a0_0x226830;return this[_0x3e6f36(0x3e0)]['size'];}[a0_0x226830(0x341)](){const _0xe784e8=a0_0x226830;return this[_0xe784e8(0x3e0)][_0xe784e8(0x341)]();}['values'](){const _0x3578be=a0_0x226830;return this[_0x3578be(0x3e0)][_0x3578be(0x3f5)]();}[a0_0x226830(0x39c)](){const _0x3fead5=a0_0x226830;return this[_0x3fead5(0x3e0)]['entries']();}[Symbol['iterator']](){const _0x407778=a0_0x226830;return this[_0x407778(0x3e0)][_0x407778(0x39c)]();}[a0_0x226830(0x17e)](_0xbbd36a){const _0x55f5f9=a0_0x226830;this[_0x55f5f9(0x3e0)][_0x55f5f9(0x17e)]((_0x3878ba,_0x2832d9)=>_0xbbd36a(_0x3878ba,_0x2832d9,this));}[a0_0x226830(0x194)](){const _0x452336=a0_0x226830,_0x26348f=new Map();for(const [_0x1d361f,_0x2ecd9d]of this[_0x452336(0x3e0)]){_0x2ecd9d[_0x452336(0x1d2)]()&&_0x26348f['set'](_0x1d361f,_0x2ecd9d);}return _0x26348f;}[a0_0x226830(0x234)](){const _0x462a52=a0_0x226830;for(const _0xe08856 of this[_0x462a52(0x3e0)][_0x462a52(0x3f5)]()){if(_0xe08856['hasConflict']())return!![];}return![];}[a0_0x226830(0x321)](){const _0x239148=a0_0x226830;let _0xe70a59=0x0,_0x4ab018=0x0;for(const _0x1f7333 of this[_0x239148(0x3e0)]['values']()){_0x1f7333[_0x239148(0x1d2)]()&&(_0xe70a59++,_0x4ab018+=_0x1f7333[_0x239148(0x3ee)]());}const _0x3619af={};return _0x3619af[_0x239148(0x36b)]=_0xe70a59,_0x3619af['conflictItemCount']=_0x4ab018,_0x3619af[_0x239148(0x33c)]=this[_0x239148(0x3e0)][_0x239148(0x2cd)],_0x3619af;}[a0_0x226830(0x324)](){const _0x580c5e=a0_0x226830,_0x399473=[];for(const _0x52ab53 of this[_0x580c5e(0x3e0)][_0x580c5e(0x3f5)]()){_0x399473[_0x580c5e(0x25a)](..._0x52ab53['getAll']());}return _0x399473;}[a0_0x226830(0x294)](){const _0x1a5cc3=a0_0x226830,_0x59cd6e=[];for(const _0x4bd36c of this[_0x1a5cc3(0x3e0)][_0x1a5cc3(0x3f5)]()){_0x59cd6e[_0x1a5cc3(0x25a)](_0x4bd36c[_0x1a5cc3(0x362)]());}return _0x59cd6e;}[a0_0x226830(0x362)](_0x23bf72){const _0xf4e05c=a0_0x226830;return this[_0xf4e05c(0x3e0)][_0xf4e05c(0x394)](_0x23bf72)?.[_0xf4e05c(0x362)]();}[a0_0x226830(0x3a6)](_0x3e265b){const _0x20fc68=a0_0x226830;return this[_0x20fc68(0x3e0)][_0x20fc68(0x394)](_0x3e265b)?.[_0x20fc68(0x3a6)]()||[];}[a0_0x226830(0x1c0)](){const _0x365a48=a0_0x226830,_0x254bf9=this[_0x365a48(0x294)](),_0x909913=_0x254bf9[_0x365a48(0x30b)](_0x15692b=>_0x15692b['toJSON']()),_0x4877fd={};return _0x4877fd[_0x365a48(0x292)]=![],generateDatasetsConfig(_0x909913,_0x4877fd);}['toFullConfig'](){const _0xbc04be=a0_0x226830,_0x322218=this[_0xbc04be(0x324)](),_0x48ab94=_0x322218[_0xbc04be(0x30b)](_0x2298f3=>_0x2298f3[_0xbc04be(0x409)]());return generateFullDatasetsConfig(_0x48ab94);}[a0_0x226830(0x23f)](){const _0x3bad22={};for(const [_0x20a427,_0x108722]of this['groups']){_0x3bad22[_0x20a427]=_0x108722;}return _0x3bad22;}[a0_0x226830(0x409)](){const _0xc610a3=a0_0x226830,_0x319471={};for(const [_0xf4152a,_0x266b0b]of this[_0xc610a3(0x3e0)]){_0x319471[_0xf4152a]=_0x266b0b[_0xc610a3(0x3a6)]()[_0xc610a3(0x30b)](_0x1b95c9=>_0x1b95c9['toJSON']());}return _0x319471;}[a0_0x226830(0x3e4)](){const _0x1ce394=a0_0x226830;return'DatasetGroupMap('+this[_0x1ce394(0x3e0)]['size']+_0x1ce394(0x36a)+(this[_0x1ce394(0x234)]()?_0x1ce394(0x33a):_0x1ce394(0x1bc))+')';}}class DatasetList{[a0_0x226830(0x2bb)];constructor(_0x56bbfb){const _0x2005f7=a0_0x226830;let _0x89f06e;if(Array[_0x2005f7(0x2fe)](_0x56bbfb))_0x89f06e=_0x56bbfb;else{if(_0x2005f7(0x38d)in _0x56bbfb){if(!_0x56bbfb[_0x2005f7(0x38d)])throw new Error(_0x2005f7(0x377));if(Array[_0x2005f7(0x2fe)](_0x56bbfb[_0x2005f7(0x221)]))_0x89f06e=_0x56bbfb[_0x2005f7(0x221)][_0x2005f7(0x30b)](_0x43293e=>({..._0x43293e,'datasetCode':_0x43293e[_0x2005f7(0x3b4)]||_0x43293e[_0x2005f7(0x2c0)]}));else{if(_0x56bbfb[_0x2005f7(0x221)]?.[_0x2005f7(0x2b9)])_0x89f06e=_0x56bbfb[_0x2005f7(0x221)][_0x2005f7(0x2b9)]['map'](_0x161a9c=>({..._0x161a9c,'datasetCode':_0x161a9c['code']||_0x161a9c[_0x2005f7(0x2c0)]}));else throw new Error('Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)');}}else{if('tableData'in _0x56bbfb){if(!Array['isArray'](_0x56bbfb['tableData']))throw new Error(_0x2005f7(0x2d3));_0x89f06e=_0x56bbfb[_0x2005f7(0x2b9)][_0x2005f7(0x30b)](_0x1ff2c3=>({..._0x1ff2c3,'datasetCode':_0x1ff2c3['code']||_0x1ff2c3[_0x2005f7(0x2c0)]}));}else throw new Error(_0x2005f7(0x1a4));}}const _0x294a23=_0x89f06e['map'](_0x5ac2d3=>new DatasetItem(_0x5ac2d3));this[_0x2005f7(0x2bb)]=new DatasetGroupMap(_0x294a23);}get['datasetMap'](){return this['_datasetMap'];}[a0_0x226830(0x199)](){const _0x57b28f=a0_0x226830;return this[_0x57b28f(0x2bb)]['getAllDatasets']();}[a0_0x226830(0x3ee)](){const _0x4bcc28=a0_0x226830;return this[_0x4bcc28(0x199)]()[_0x4bcc28(0x28d)];}[a0_0x226830(0x401)](){const _0x1aea1e=a0_0x226830;return this[_0x1aea1e(0x2bb)]['size']===0x0;}[a0_0x226830(0x1f0)](_0x257819){return this['getItems']()[_0x257819];}[a0_0x226830(0x30a)](){const _0x49b349=a0_0x226830;return this[_0x49b349(0x199)]()[0x0];}[a0_0x226830(0x167)](){const _0x216de4=a0_0x226830,_0x29b8e8=this['getItems']();return _0x29b8e8[_0x29b8e8[_0x216de4(0x28d)]-0x1];}['findByCode'](_0x2fd42c){const _0x15f6a5=a0_0x226830;for(const _0x19cd4c of this[_0x15f6a5(0x2bb)][_0x15f6a5(0x3f5)]()){const _0x3d0bc0=_0x19cd4c[_0x15f6a5(0x320)](_0x2fd42c);if(_0x3d0bc0)return _0x3d0bc0;}return;}[a0_0x226830(0x268)](_0x7979be){const _0x54cc05=a0_0x226830;return this['getItems']()[_0x54cc05(0x244)](_0x9266a=>_0x9266a[_0x54cc05(0x2c4)]===_0x7979be);}['findById'](_0x165a3d){const _0x56b1d3=a0_0x226830;for(const _0x4540c8 of this['_datasetMap']['values']()){const _0x21c3a0=_0x4540c8[_0x56b1d3(0x3e8)](_0x165a3d);if(_0x21c3a0)return _0x21c3a0;}return;}[a0_0x226830(0x400)](_0x4e86b2){const _0x356a9b=a0_0x226830,_0x43db8e=getTableKey(_0x4e86b2);return this[_0x356a9b(0x2bb)][_0x356a9b(0x362)](_0x43db8e);}[a0_0x226830(0x196)](_0x23d0fd){const _0x472c4b=a0_0x226830,_0x45cedf=this[_0x472c4b(0x199)]()[_0x472c4b(0x196)](_0x23d0fd);return new DatasetList(_0x45cedf[_0x472c4b(0x30b)](_0x4da859=>_0x4da859[_0x472c4b(0x409)]()));}['findAll'](_0x212e6a){const _0xe56cc8=a0_0x226830;return this[_0xe56cc8(0x199)]()['filter'](_0x212e6a);}[a0_0x226830(0x17e)](_0x402632){const _0x55583a=a0_0x226830;this['getItems']()[_0x55583a(0x17e)](_0x402632);}[a0_0x226830(0x30b)](_0x194a61){const _0x30ff35=a0_0x226830;return this[_0x30ff35(0x199)]()['map'](_0x194a61);}[Symbol[a0_0x226830(0x386)]](){const _0x14cffe=a0_0x226830;return this[_0x14cffe(0x199)]()[Symbol['iterator']]();}['getVirtualTables'](){const _0x3bb877=a0_0x226830;return this['getItems']()[_0x3bb877(0x196)](_0x1d3959=>_0x1d3959[_0x3bb877(0x2a6)]());}[a0_0x226830(0x2cc)](){const _0x712be3=a0_0x226830;return this['getItems']()[_0x712be3(0x196)](_0x1cd494=>!_0x1cd494['isVirtualTable']());}[a0_0x226830(0x216)](){const _0x2d2dcd=a0_0x226830,_0x4a41da={};for(const _0x199eb4 of this[_0x2d2dcd(0x2bb)][_0x2d2dcd(0x3f5)]()){const _0x17ba08=_0x199eb4['getLatest']()['getTableName']();_0x4a41da[_0x17ba08]=_0x199eb4[_0x2d2dcd(0x3a6)]();}return _0x4a41da;}['detectConflicts'](){const _0xb5501d=a0_0x226830,_0xde8c36={};for(const _0x289dbb of this[_0xb5501d(0x2bb)][_0xb5501d(0x194)]()['values']()){const _0x53283b=_0x289dbb['getLatest']()[_0xb5501d(0x1b2)]();_0xde8c36[_0x53283b]=_0x289dbb[_0xb5501d(0x3a6)]()['map'](_0x48854c=>_0x48854c['toJSON']());}return{'hasConflicts':Object['keys'](_0xde8c36)[_0xb5501d(0x28d)]>0x0,'conflicts':_0xde8c36};}[a0_0x226830(0x234)](){const _0x11f18c=a0_0x226830;return this[_0x11f18c(0x2bb)]['hasConflicts']();}['getConflictingItems'](){const _0x5e6cf6=a0_0x226830,_0x563555=[];for(const _0x2b7a89 of this['_datasetMap'][_0x5e6cf6(0x194)]()[_0x5e6cf6(0x3f5)]()){_0x563555[_0x5e6cf6(0x25a)](..._0x2b7a89[_0x5e6cf6(0x3a6)]());}return _0x563555;}[a0_0x226830(0x338)](_0xfd3b3){const _0x59ac0f=a0_0x226830;if(!_0xfd3b3||Object[_0x59ac0f(0x341)](_0xfd3b3)['length']===0x0)return this['datasetMap'][_0x59ac0f(0x1c0)]();const _0xf624b8=this[_0x59ac0f(0x199)]()[_0x59ac0f(0x30b)](_0x4d44b9=>_0x4d44b9[_0x59ac0f(0x409)]());return generateDatasetsConfig(_0xf624b8,_0xfd3b3);}[a0_0x226830(0x31d)](_0x41ee00){const _0x4e5f79=a0_0x226830,_0x302d25=this[_0x4e5f79(0x338)](_0x41ee00);return datasetsConfigToArray(_0x302d25);}[a0_0x226830(0x3a8)](){const _0x1f19aa=a0_0x226830;return this[_0x1f19aa(0x199)]()[_0x1f19aa(0x30b)](_0x3c69ff=>_0x3c69ff['toConfig']());}[a0_0x226830(0x1c6)](){const _0x398e03=a0_0x226830;return{'total':this[_0x398e03(0x3ee)](),'virtualTables':this['getVirtualTables']()[_0x398e03(0x28d)],'realTables':this['getRealTables']()[_0x398e03(0x28d)],'hasConflicts':this[_0x398e03(0x234)](),'conflictCount':this[_0x398e03(0x206)]()[_0x398e03(0x28d)]};}[a0_0x226830(0x33d)](){const _0xe4e194=a0_0x226830;return this[_0xe4e194(0x199)]()[_0xe4e194(0x30b)](_0x4e2bfe=>_0x4e2bfe[_0xe4e194(0x409)]());}[a0_0x226830(0x409)](){const _0x3a19da=a0_0x226830;return this[_0x3a19da(0x33d)]();}['toString'](){const _0x348439=a0_0x226830;return _0x348439(0x169)+this[_0x348439(0x3ee)]()+_0x348439(0x2d2)+this[_0x348439(0x2bb)][_0x348439(0x2cd)]+_0x348439(0x26f);}static[a0_0x226830(0x202)](_0x1744cd){return new DatasetList(_0x1744cd);}static['initDataset'](_0x29ba4f){return new DatasetList(_0x29ba4f);}static['empty'](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x226830(0x217);function renderTemplate(_0x455e00,_0x1f9062,_0xe4b73={}){const _0x287da3=a0_0x226830;let _0x8cc59c=_0x455e00;return Object[_0x287da3(0x39c)](_0xe4b73)[_0x287da3(0x17e)](([_0x2d1169,_0x357348])=>{const _0x1e944e=_0x287da3,_0x20d58f=new RegExp(_0x1e944e(0x15b)+_0x2d1169+_0x1e944e(0x27f),'g');_0x8cc59c=_0x8cc59c[_0x1e944e(0x1dd)](_0x20d58f,_0x357348?'$1':'');}),Object['entries'](_0x1f9062)['forEach'](([_0x3f9999,_0x3beb0b])=>{const _0x20666b=_0x287da3;if(_0x3beb0b!==undefined){const _0x1dfb4e=new RegExp(_0x20666b(0x22c)+_0x3f9999+_0x20666b(0x25b),'g');_0x8cc59c=_0x8cc59c['replace'](_0x1dfb4e,_0x3beb0b);}}),_0x8cc59c;}function generateSDKInitCode(_0x455ab0,_0x53928b,_0x164792,_0x1436c0,_0x4f6c03){const _0x1f1d23=a0_0x226830,_0x3d18a6={};_0x3d18a6['appCode']=_0x455ab0,_0x3d18a6['datasetCode']=_0x53928b,_0x3d18a6[_0x1f1d23(0x30d)]=_0x164792,_0x3d18a6['env']=_0x1436c0===_0x1f1d23(0x326)?_0x1f1d23(0x326):undefined;const _0xf7c936={};return _0xf7c936[_0x1f1d23(0x3eb)]=_0x1436c0!==undefined&&_0x1436c0!=='online',_0xf7c936['isOpenAPI']=_0x4f6c03===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x3d18a6,_0xf7c936);}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(_0x97e5f5,_0x328564,_0x16b2de,_0x36c125){const _0x3a99fa=a0_0x226830,_0x28f145=_0x3a99fa(0x311)+_0x97e5f5,_0x500273=_0x3a99fa(0x298),_0x45f262={};return _0x45f262[_0x3a99fa(0x2c0)]=_0x97e5f5,_0x45f262[_0x3a99fa(0x35e)]=_0x28f145,_0x45f262[_0x3a99fa(0x214)]=_0x328564,_0x45f262[_0x3a99fa(0x30d)]=_0x16b2de,_0x45f262['appCode']=_0x36c125,_0x45f262['exampleWhere']=_0x500273,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x45f262,{});}function DrivenDataDetailPlusMixin(_0x409b44){const _0x89df33=a0_0x226830;return class extends _0x409b44{[_0x89df33(0x192)](_0x432000){const _0x277652=_0x89df33,_0x439120=this;return{'appCode':_0x432000,'datasetSDKKey':_0x439120[_0x277652(0x20b)](),'alias':_0x439120['getModelAlias'](),'tableName':_0x439120['getTableName'](),'datasetCode':_0x439120['datasetCode']};}['generateSDKInitCode'](_0x2078dc,_0x1f7550=_0x89df33(0x3fa),_0x1d90c8=![]){const _0x1ce8e9=_0x89df33,_0x1bfcd2=this;return generateSDKInitCode(_0x2078dc,_0x1bfcd2['datasetCode'],_0x1bfcd2[_0x1ce8e9(0x1a5)](),_0x1f7550==='daily'?_0x1f7550:undefined,_0x1d90c8);}[_0x89df33(0x1fc)](_0x34122f,_0x5de2ff,_0x184075={}){const _0x1677c2=_0x89df33,_0x2c0846=this,_0x5ef09d=_0x2c0846['getOperations']()['find'](_0x8c38e8=>_0x8c38e8[_0x1677c2(0x1be)]()===_0x34122f);if(!_0x5ef09d)return null;const _0x4c470c={};_0x4c470c[_0x1677c2(0x3e5)]=_0x184075[_0x1677c2(0x2f2)]!==![];const _0x2b7910=_0x2c0846[_0x1677c2(0x40c)](_0x34122f,_0x4c470c);if(!_0x2b7910)return null;const _0x4778c0=[];return _0x4778c0[_0x1677c2(0x25a)](_0x1677c2(0x395)+_0x5ef09d['getName']()+_0x1677c2(0x224)),_0x4778c0[_0x1677c2(0x25a)](_0x2b7910[_0x1677c2(0x354)][_0x1677c2(0x3b4)]),_0x4778c0[_0x1677c2(0x25a)](''),_0x184075[_0x1677c2(0x32b)]!==![]&&(_0x4778c0['push'](_0x1677c2(0x1d9)),_0x4778c0[_0x1677c2(0x25a)](_0x2b7910['usageExample'][_0x1677c2(0x2cb)]),_0x4778c0[_0x1677c2(0x25a)](''),_0x4778c0[_0x1677c2(0x25a)](_0x2b7910[_0x1677c2(0x26a)][_0x1677c2(0x387)])),_0x4778c0['join']('\x0a');}[_0x89df33(0x2e1)](_0x488baa={}){const _0x13cc6c=_0x89df33,_0x4a4c5d=this,_0x1ea2cd=_0x4a4c5d[_0x13cc6c(0x299)](),_0x55aae0=[];return _0x1ea2cd[_0x13cc6c(0x17e)]((_0x27712f,_0x239b94)=>{const _0x362b6b=_0x13cc6c,_0x15a905=this[_0x362b6b(0x1fc)](_0x27712f['name'],_0x362b6b(0x33f),_0x488baa);_0x15a905&&(_0x55aae0[_0x362b6b(0x25a)](_0x362b6b(0x2a2)+(_0x239b94+0x1)+'.\x20'+_0x27712f[_0x362b6b(0x393)]),_0x55aae0['push'](_0x15a905),_0x55aae0['push'](''));}),_0x55aae0[_0x13cc6c(0x38c)]('\x0a');}[_0x89df33(0x365)](_0x17d016){const _0x5d4851=_0x89df33,_0x42d0c8=this,_0x4f1a2a=_0x42d0c8[_0x5d4851(0x1fd)](_0x17d016);if(!_0x4f1a2a)return null;const _0xf15a55={};return _0xf15a55[_0x5d4851(0x2c4)]=_0x4f1a2a[_0x5d4851(0x2c4)],_0xf15a55[_0x5d4851(0x393)]=_0x4f1a2a[_0x5d4851(0x393)],_0xf15a55[_0x5d4851(0x30c)]=_0x4f1a2a[_0x5d4851(0x30c)],_0xf15a55[_0x5d4851(0x161)]=_0x4f1a2a[_0x5d4851(0x161)],_0xf15a55[_0x5d4851(0x16c)]=_0x4f1a2a[_0x5d4851(0x16c)],_0xf15a55['requestFieldCount']=_0x4f1a2a[_0x5d4851(0x2b3)][_0x5d4851(0x28d)],_0xf15a55[_0x5d4851(0x2c6)]=_0x4f1a2a[_0x5d4851(0x166)]!==null,_0xf15a55;}['generateAllOperationsSummary'](_0x377b1f={}){const _0xfa5b39=_0x89df33,_0x247825=this,_0x2132e9=_0x247825[_0xfa5b39(0x299)]();return{'datasetName':_0x247825[_0xfa5b39(0x2c4)],'datasetCode':_0x247825[_0xfa5b39(0x2c0)],'tableName':_0x247825[_0xfa5b39(0x1b2)](),'totalOperations':_0x2132e9[_0xfa5b39(0x28d)],'operations':_0x2132e9[_0xfa5b39(0x30b)](_0x180490=>({'name':_0x180490[_0xfa5b39(0x2c4)],'displayName':_0x180490[_0xfa5b39(0x393)],'method':_0x180490[_0xfa5b39(0x30c)],'enabled':_0x180490[_0xfa5b39(0x16c)]}))};}[_0x89df33(0x32e)](_0x5e69d5){const _0x57cb96=_0x89df33,_0x7159df=this,_0x13cc69=_0x7159df['getOperationAnalysis'](_0x5e69d5);if(!_0x13cc69)return[];return _0x13cc69[_0x57cb96(0x2b3)][_0x57cb96(0x30b)](_0x2e624c=>{const _0x577679=_0x57cb96,_0x3311cd=_0x7159df[_0x577679(0x173)](_0x2e624c);if(!_0x3311cd)return null;const _0x4bdb72={};return _0x4bdb72[_0x577679(0x3b4)]=_0x2e624c,_0x4bdb72[_0x577679(0x2c4)]=_0x3311cd[_0x577679(0x2c4)]||_0x2e624c,_0x4bdb72;})[_0x57cb96(0x196)](_0x5284c7=>_0x5284c7!==null);}['getMissingCRUDOperations'](){const _0x5674cc=_0x89df33,_0x471471=this,_0x3150a5=new Set(_0x471471[_0x5674cc(0x299)]()[_0x5674cc(0x30b)](_0x38bbe4=>String(_0x38bbe4[_0x5674cc(0x331)]))),_0x2fab82=[_0x5674cc(0x2b0),_0x5674cc(0x2cf),_0x5674cc(0x30e),_0x5674cc(0x2a3)];return _0x2fab82[_0x5674cc(0x196)](_0x2c7e60=>!_0x3150a5[_0x5674cc(0x24e)](String(_0x2c7e60)));}[_0x89df33(0x27d)](_0x4f5317=_0x89df33(0x33f)){const _0x5d2559=_0x89df33,_0xb26f03=this;return generateAliasExplanation(_0xb26f03[_0x5d2559(0x2c0)],_0xb26f03[_0x5d2559(0x1b2)](),_0xb26f03[_0x5d2559(0x1a5)](),_0x4f5317);}};}function operationToAnalysis(_0x5773d1){const _0x46b2ea=a0_0x226830;return{'name':_0x5773d1[_0x46b2ea(0x1be)](),'displayName':_0x5773d1[_0x46b2ea(0x204)](),'type':_0x5773d1[_0x46b2ea(0x19f)](),'method':_0x5773d1[_0x46b2ea(0x351)](),'path':_0x5773d1[_0x46b2ea(0x3d4)](),'fullUrl':_0x5773d1[_0x46b2ea(0x255)](),'requestFields':_0x5773d1[_0x46b2ea(0x240)](),'requestParams':_0x5773d1['getRequestParams'](),'responseSchema':_0x5773d1['getResponseSchema'](),'requestExample':_0x5773d1[_0x46b2ea(0x3d8)](),'responseExample':_0x5773d1[_0x46b2ea(0x336)](),'enabled':_0x5773d1['isEnabled']()};}function operationsToAnalyses(_0x2791d0){return _0x2791d0['map'](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x9048eb){const _0x14f88c=a0_0x226830,_0x538951=_0x9048eb[_0x14f88c(0x244)](_0x25c566=>_0x25c566[_0x14f88c(0x2c4)]===_0x14f88c(0x196)),_0x39cacc=_0x9048eb[_0x14f88c(0x196)](_0x1582a9=>_0x1582a9[_0x14f88c(0x2c4)]!==_0x14f88c(0x196));return _0x538951?[_0x538951,..._0x39cacc]:_0x39cacc;}function filterOperationAnalyses(_0x235251,_0x1090c2={}){const _0x56a1de=a0_0x226830;let _0xf530e=_0x235251;return!_0x1090c2[_0x56a1de(0x15d)]&&(_0xf530e=_0xf530e[_0x56a1de(0x196)](_0xf2f6a5=>_0xf2f6a5[_0x56a1de(0x16c)])),_0x1090c2[_0x56a1de(0x17b)]!==![]&&(_0xf530e=filterApiOperations(_0xf530e)),_0x1090c2[_0x56a1de(0x3ed)]&&(_0xf530e=_0xf530e['filter'](_0x1090c2[_0x56a1de(0x3ed)])),sortOperationsWithFilterFirst(_0xf530e);}function getOperationStats(_0x39a390){const _0x5643ee=a0_0x226830,_0x3560d4=_0x39a390['filter'](_0x3cd1a4=>_0x3cd1a4[_0x5643ee(0x16c)]);return{'total':_0x39a390[_0x5643ee(0x28d)],'enabled':_0x3560d4[_0x5643ee(0x28d)],'disabled':_0x39a390[_0x5643ee(0x28d)]-_0x3560d4['length'],'byType':getCountByType(_0x3560d4),'byMethod':getCountByMethod(_0x3560d4)};}function getCountByType(_0x3ffe69){const _0x43f879={};return _0x3ffe69['forEach'](_0x25164d=>{const _0x3cab13=a0_0x41fd;if(_0x25164d[_0x3cab13(0x331)])_0x43f879[_0x25164d[_0x3cab13(0x331)]]=(_0x43f879[_0x25164d[_0x3cab13(0x331)]]||0x0)+0x1;}),_0x43f879;}function getCountByMethod(_0x449227){const _0x4fb090=a0_0x226830,_0x483901={};return _0x449227[_0x4fb090(0x17e)](_0x130849=>{const _0xff9c3a=_0x4fb090;_0x483901[_0x130849[_0xff9c3a(0x30c)]]=(_0x483901[_0x130849[_0xff9c3a(0x30c)]]||0x0)+0x1;}),_0x483901;}function supportsCRUD(_0x10b680){const _0x44c386=a0_0x226830,_0xd2ad91=new Set(_0x10b680['map'](_0x5badc0=>_0x5badc0[_0x44c386(0x331)])[_0x44c386(0x196)](Boolean));return _0xd2ad91['has'](_0x44c386(0x2b0))&&_0xd2ad91[_0x44c386(0x24e)]('getList')&&_0xd2ad91[_0x44c386(0x24e)]('update')&&_0xd2ad91[_0x44c386(0x24e)](_0x44c386(0x2a3));}function createOperationDocMeta(_0x1d78ad,_0x143554,_0x4d6753,_0x51a155,_0x3ac336,_0x5d52d1){const _0x59a219=a0_0x226830,_0x259e32={};return _0x259e32['useFullExample']=_0x5d52d1?.['useFullExample'],{'operation':_0x1d78ad,'operationInstance':_0x143554,'basicInfo':{'name':_0x1d78ad[_0x59a219(0x2c4)],'displayName':_0x1d78ad[_0x59a219(0x393)],'method':_0x1d78ad[_0x59a219(0x30c)],'path':_0x1d78ad[_0x59a219(0x161)],'fullUrl':_0x1d78ad['fullUrl'],'enabled':_0x1d78ad[_0x59a219(0x16c)]},'sdkCall':{'datasetCode':_0x4d6753,'datasetSDKKey':_0x51a155,'tableName':_0x3ac336,'operationName':_0x1d78ad[_0x59a219(0x2c4)],'params':_0x1d78ad[_0x59a219(0x2b3)],'code':_0x143554[_0x59a219(0x410)](_0x51a155,_0x259e32)},'usageExample':_0x143554[_0x59a219(0x1eb)](_0x51a155)};}function createOperationsOverviewData(_0x45cfa1){const _0x395d00=a0_0x226830,_0x19c07e={};_0x19c07e[_0x395d00(0x19a)]='name',_0x19c07e['label']='接口名称';const _0x198658={};_0x198658[_0x395d00(0x19a)]='displayName',_0x198658[_0x395d00(0x266)]='操作名称';const _0x1bb0d7={};_0x1bb0d7[_0x395d00(0x19a)]=_0x395d00(0x30c),_0x1bb0d7[_0x395d00(0x266)]='方法';const _0x39cce5={};_0x39cce5[_0x395d00(0x19a)]='sdkCall',_0x39cce5[_0x395d00(0x266)]=_0x395d00(0x296);const _0x1ecf2a={};_0x1ecf2a[_0x395d00(0x19a)]=_0x395d00(0x161),_0x1ecf2a[_0x395d00(0x266)]=_0x395d00(0x24c);const _0x4b4ea7={};_0x4b4ea7[_0x395d00(0x19a)]=_0x395d00(0x1c1),_0x4b4ea7[_0x395d00(0x266)]=_0x395d00(0x16d);const _0x1443c8=[_0x19c07e,_0x198658,_0x1bb0d7,_0x39cce5,_0x1ecf2a,_0x4b4ea7],_0x54ed86=_0x45cfa1['map'](_0x2b6a26=>{const _0x1d73a9=_0x395d00,{basicInfo:_0x2f0b65,sdkCall:_0x51641f}=_0x2b6a26,_0x4c0e1e=_0x51641f[_0x1d73a9(0x3b4)]['replace'](/^const\s+\w+\s*=\s*await\s+/,'')[_0x1d73a9(0x1dd)](/;$/,''),_0x4ce91a={};return _0x4ce91a[_0x1d73a9(0x393)]=_0x2f0b65['displayName'],_0x4ce91a[_0x1d73a9(0x2c4)]=_0x2f0b65['name'],_0x4ce91a[_0x1d73a9(0x30c)]=_0x2f0b65['method'],_0x4ce91a['path']=_0x2f0b65[_0x1d73a9(0x161)],_0x4ce91a['sdkCall']=_0x4c0e1e,_0x4ce91a[_0x1d73a9(0x1c1)]=_0x51641f[_0x1d73a9(0x3b4)],_0x4ce91a;}),_0x2c53cb={};return _0x2c53cb['tableColumns']=_0x1443c8,_0x2c53cb['tableData']=_0x54ed86,_0x2c53cb;}function createDatasetDocMeta(_0x2e5375,_0x3aaf27,_0x7abf48,_0x5ae589,_0x1574f5,_0x4947cc,_0x5624db,_0x1e55ef,_0x1d49d6){const _0x512301=a0_0x226830,_0x1936bc={};return _0x1936bc[_0x512301(0x176)]=_0x2e5375+_0x512301(0x21c),_0x1936bc[_0x512301(0x29a)]={},_0x1936bc[_0x512301(0x1f1)]=_0x1d49d6,_0x1936bc[_0x512301(0x29a)][_0x512301(0x2c4)]=_0x2e5375,_0x1936bc[_0x512301(0x29a)][_0x512301(0x3b4)]=_0x3aaf27,_0x1936bc[_0x512301(0x29a)][_0x512301(0x214)]=_0x7abf48,_0x1936bc[_0x512301(0x29a)]['datasetSDKKey']=_0x5ae589,_0x1936bc[_0x512301(0x29a)][_0x512301(0x26e)]=_0x1574f5,_0x1936bc[_0x512301(0x29a)][_0x512301(0x1ea)]=_0x4947cc,_0x1936bc[_0x512301(0x29a)][_0x512301(0x280)]=_0x5624db,_0x1936bc[_0x512301(0x29a)][_0x512301(0x19e)]=0x0,_0x1936bc[_0x512301(0x29a)][_0x512301(0x2ae)]=0x0,_0x1936bc[_0x512301(0x29a)][_0x512301(0x1b9)]=_0x1e55ef,_0x1936bc[_0x512301(0x29a)][_0x512301(0x3ea)]=_0x1d49d6[_0x512301(0x28d)],_0x1936bc;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}[a0_0x226830(0x1a5)](){return this['getTableKey']();}[a0_0x226830(0x1d1)](_0x45ca50=![]){const _0x1a360b=a0_0x226830;if(!_0x45ca50&&this[_0x1a360b(0x3e7)])return this[_0x1a360b(0x3e7)];const _0x5e0610=this[_0x1a360b(0x27b)]();return this[_0x1a360b(0x3e7)]=operationsToAnalyses(_0x5e0610),this[_0x1a360b(0x3e7)];}['getEnabledOperationAnalyses'](){const _0x211480=a0_0x226830,_0xee5d4a={};return _0xee5d4a[_0x211480(0x15d)]=![],_0xee5d4a[_0x211480(0x17b)]=!![],this[_0x211480(0x361)](_0xee5d4a);}['getFilteredOperationAnalyses'](_0x1976d6={}){const _0x35397f=a0_0x226830;return filterOperationAnalyses(this[_0x35397f(0x1d1)](),_0x1976d6);}[a0_0x226830(0x1fd)](_0x2e0aa6){const _0x1c931a=a0_0x226830;return this[_0x1c931a(0x1d1)]()[_0x1c931a(0x244)](_0x3e6d78=>_0x3e6d78['name']===_0x2e0aa6);}[a0_0x226830(0x2b1)](_0x468101){const _0x512ff1=a0_0x226830;return this[_0x512ff1(0x1d1)]()[_0x512ff1(0x196)](_0x5840b7=>_0x5840b7[_0x512ff1(0x331)]===_0x468101);}[a0_0x226830(0x40c)](_0x249723,_0x4c04f8){const _0xde0b55=a0_0x226830,_0x2db9e1=this[_0xde0b55(0x1fd)](_0x249723);if(!_0x2db9e1)return null;const _0x12867a=this['getOperations']()['find'](_0x5c5b37=>_0x5c5b37['getName']()===_0x2db9e1[_0xde0b55(0x2c4)]);if(!_0x12867a)throw new Error(_0xde0b55(0x3c5)+_0x2db9e1[_0xde0b55(0x2c4)]);return createOperationDocMeta(_0x2db9e1,_0x12867a,this[_0xde0b55(0x2c0)],this[_0xde0b55(0x20b)](),this[_0xde0b55(0x1b2)](),_0x4c04f8);}['getDatasetDocMeta'](_0x5c7715={}){const _0xaf4e7b=a0_0x226830,_0x57d452=this['getFilteredOperationAnalyses'](_0x5c7715),_0x34cda2=_0x57d452[_0xaf4e7b(0x30b)](_0x122f08=>this['getOperationDocMeta'](_0x122f08[_0xaf4e7b(0x2c4)]))[_0xaf4e7b(0x196)](_0x7fe8f3=>_0x7fe8f3!==null);return createDatasetDocMeta(this[_0xaf4e7b(0x2c4)],this['datasetCode'],this[_0xaf4e7b(0x1b2)](),this['getDatasetSDKKey'](),this[_0xaf4e7b(0x378)](),this[_0xaf4e7b(0x1ea)],this[_0xaf4e7b(0x329)](),this[_0xaf4e7b(0x293)](),_0x34cda2);}['getOperationsOverviewData'](_0x5146db){return createOperationsOverviewData(_0x5146db);}[a0_0x226830(0x3a3)](){const _0x167603=a0_0x226830;return supportsCRUD(this[_0x167603(0x299)]());}['getOperationStats'](){return getOperationStats(this['getOperationAnalyses']());}['toString'](){const _0x16aa02=a0_0x226830,_0x2b715f=this['getOperationStats']();return _0x16aa02(0x344)+this[_0x16aa02(0x2c4)]+',\x20'+this[_0x16aa02(0x2c0)]+',\x20'+this[_0x16aa02(0x329)]()+_0x16aa02(0x28a)+_0x2b715f[_0x16aa02(0x16c)]+'/'+_0x2b715f[_0x16aa02(0x248)]+_0x16aa02(0x209);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{['_operationAnalyses'];[a0_0x226830(0x245)](){return'v2';}[a0_0x226830(0x1a5)](){return this['getTableKey']();}['getOperationAnalyses'](_0x391a3a=![]){const _0x48a07a=a0_0x226830;if(!_0x391a3a&&this[_0x48a07a(0x3e7)])return this[_0x48a07a(0x3e7)];const _0x3dcd72=this['getOperations']();return this['_operationAnalyses']=operationsToAnalyses(_0x3dcd72),this[_0x48a07a(0x3e7)];}[a0_0x226830(0x299)](){const _0x22f68b=a0_0x226830,_0x2f72f5={};return _0x2f72f5[_0x22f68b(0x15d)]=![],_0x2f72f5[_0x22f68b(0x17b)]=!![],this[_0x22f68b(0x361)](_0x2f72f5);}[a0_0x226830(0x361)](_0x4aba85={}){const _0x28c624=a0_0x226830;return filterOperationAnalyses(this[_0x28c624(0x1d1)](),_0x4aba85);}[a0_0x226830(0x1fd)](_0x2f9814){const _0x3d93df=a0_0x226830;return this['getOperationAnalyses']()['find'](_0x3733fb=>_0x3733fb[_0x3d93df(0x2c4)]===_0x2f9814);}[a0_0x226830(0x2b1)](_0x32ea17){return this['getOperationAnalyses']()['filter'](_0xe6bde2=>_0xe6bde2['type']===_0x32ea17);}[a0_0x226830(0x40c)](_0x149839,_0x450bda){const _0x61f2d=a0_0x226830,_0x1421e3=this['getOperationAnalysis'](_0x149839);if(!_0x1421e3)return null;const _0x131377=this[_0x61f2d(0x27b)]()[_0x61f2d(0x244)](_0x1d0a13=>_0x1d0a13[_0x61f2d(0x1be)]()===_0x1421e3[_0x61f2d(0x2c4)]);if(!_0x131377)throw new Error(_0x61f2d(0x3c5)+_0x1421e3['name']);return createOperationDocMeta(_0x1421e3,_0x131377,this[_0x61f2d(0x2c0)],this[_0x61f2d(0x20b)](),this[_0x61f2d(0x1b2)](),_0x450bda);}[a0_0x226830(0x160)](_0x1d0817={}){const _0x2b7eba=a0_0x226830,_0x29d36a=this['getFilteredOperationAnalyses'](_0x1d0817),_0x8bd458=_0x29d36a[_0x2b7eba(0x30b)](_0x28f624=>this[_0x2b7eba(0x40c)](_0x28f624[_0x2b7eba(0x2c4)]))[_0x2b7eba(0x196)](_0x26588f=>_0x26588f!==null);return createDatasetDocMeta(this['name'],this[_0x2b7eba(0x2c0)],this[_0x2b7eba(0x1b2)](),this[_0x2b7eba(0x20b)](),this[_0x2b7eba(0x378)](),this['source'],this['getFieldCount'](),this[_0x2b7eba(0x293)](),_0x8bd458);}[a0_0x226830(0x2f8)](_0x54d203){return createOperationsOverviewData(_0x54d203);}[a0_0x226830(0x3a3)](){const _0x4906f7=a0_0x226830;return supportsCRUD(this[_0x4906f7(0x299)]());}[a0_0x226830(0x32d)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x226830(0x3e4)](){const _0x7a76a8=a0_0x226830,_0x298ea2=this[_0x7a76a8(0x32d)]();return _0x7a76a8(0x22f)+this[_0x7a76a8(0x2c4)]+',\x20'+this[_0x7a76a8(0x2c0)]+',\x20'+this[_0x7a76a8(0x329)]()+_0x7a76a8(0x28a)+_0x298ea2[_0x7a76a8(0x16c)]+'/'+_0x298ea2[_0x7a76a8(0x248)]+_0x7a76a8(0x264);}}function detectDatasetVersion3(_0x11fc83){const _0x551d21=a0_0x226830;if(_0x11fc83[_0x551d21(0x3dd)]==='v2'&&'fields'in _0x11fc83&&Array[_0x551d21(0x2fe)](_0x11fc83[_0x551d21(0x399)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x226830(0x1e1)];constructor(_0x31a878){const _0x499b5d=detectDatasetVersion3(_0x31a878);return this['_instance']=_0x499b5d==='v2'?new DrivenDataDetailPlusV2(_0x31a878):new DrivenDataDetailPlusV1(_0x31a878),new Proxy(this,{'get'(_0x5b9f3e,_0x29af1b){const _0x4c62bb=a0_0x41fd;if(_0x29af1b in _0x5b9f3e){const _0x38f171=_0x5b9f3e[_0x29af1b];return typeof _0x38f171===_0x4c62bb(0x3aa)?_0x38f171['bind'](_0x5b9f3e):_0x38f171;}if(_0x29af1b in _0x5b9f3e['_instance']){const _0x1d2db8=_0x5b9f3e[_0x4c62bb(0x1e1)][_0x29af1b];return typeof _0x1d2db8===_0x4c62bb(0x3aa)?_0x1d2db8['bind'](_0x5b9f3e[_0x4c62bb(0x1e1)]):_0x1d2db8;}return;},'set'(_0x4e4003,_0xa1c050,_0x4479a4){return _0x4e4003[_0xa1c050]=_0x4479a4,!![];},'getPrototypeOf'(_0x26be84){return DrivenDataDetailPlus['prototype'];}});}get[a0_0x226830(0x2c4)](){const _0x120e74=a0_0x226830;return this[_0x120e74(0x1e1)][_0x120e74(0x2c4)];}get['id'](){const _0x3207f5=a0_0x226830;return this[_0x3207f5(0x1e1)]['id'];}get[a0_0x226830(0x2c0)](){const _0x32910f=a0_0x226830;return this[_0x32910f(0x1e1)]['datasetCode'];}get[a0_0x226830(0x1ea)](){const _0x378b19=a0_0x226830;return this['_instance'][_0x378b19(0x1ea)];}get[a0_0x226830(0x2bc)](){const _0x1958d2=a0_0x226830;return this[_0x1958d2(0x1e1)][_0x1958d2(0x1d5)]();}[a0_0x226830(0x245)](){const _0x5bf032=a0_0x226830,_0x569cd0=this[_0x5bf032(0x1e1)][_0x5bf032(0x245)]();return _0x569cd0==='v2'?'v2':'v1';}['getFieldCount'](){const _0x58bd24=a0_0x226830;return this[_0x58bd24(0x1e1)]['getFieldCount']();}[a0_0x226830(0x293)](){return this['_instance']['getOperationCount']();}[a0_0x226830(0x30f)](){const _0x1639a0=a0_0x226830;return this[_0x1639a0(0x1e1)]['getFields']();}['getOperations'](){const _0x4c6d8c=a0_0x226830;return this['_instance'][_0x4c6d8c(0x27b)]();}[a0_0x226830(0x2f5)](_0xe49fac){const _0x4064ed=a0_0x226830;return this[_0x4064ed(0x1e1)][_0x4064ed(0x2f5)](_0xe49fac);}[a0_0x226830(0x173)](_0x7652d1){const _0x3d063d=a0_0x226830;return this[_0x3d063d(0x1e1)]['getFieldInstance'](_0x7652d1);}[a0_0x226830(0x1b2)](){const _0x111506=a0_0x226830;return this['_instance'][_0x111506(0x1b2)]();}[a0_0x226830(0x378)](){const _0x48f156=a0_0x226830;return this[_0x48f156(0x1e1)][_0x48f156(0x378)]();}[a0_0x226830(0x20b)](){const _0x15270c=a0_0x226830;return this[_0x15270c(0x1e1)]['getDatasetSDKKey']();}[a0_0x226830(0x222)](){const _0x323a7a=a0_0x226830;return this[_0x323a7a(0x1e1)][_0x323a7a(0x222)]();}[a0_0x226830(0x300)](){const _0x4bfc8e=a0_0x226830;return this[_0x4bfc8e(0x1e1)]['getEnumFields']();}[a0_0x226830(0x1b3)](){const _0x1313d7=a0_0x226830;return this['_instance'][_0x1313d7(0x1b3)]();}[a0_0x226830(0x3bc)](_0x52ec77){return this['_instance']['isMultipleSelectField'](_0x52ec77);}[a0_0x226830(0x1e6)](_0x58cfdb){const _0x3c1d76=a0_0x226830;return this['_instance'][_0x3c1d76(0x1e6)](_0x58cfdb);}['getFieldOptions'](_0xe4778d){const _0x35c54c=a0_0x226830;return this[_0x35c54c(0x1e1)]['getFieldOptions'](_0xe4778d);}[a0_0x226830(0x2ea)](_0x448363){const _0x2a3287=a0_0x226830;return this[_0x2a3287(0x1e1)][_0x2a3287(0x2ea)](_0x448363);}[a0_0x226830(0x205)](_0x5e74e2){const _0xe23482=a0_0x226830;return this['_instance'][_0xe23482(0x205)](_0x5e74e2);}['validateEnumValue'](_0x188d47,_0x38702f){const _0x2fbcea=a0_0x226830;return this[_0x2fbcea(0x1e1)][_0x2fbcea(0x364)](_0x188d47,_0x38702f);}[a0_0x226830(0x15f)](_0x423005){const _0x29b345=a0_0x226830;return this['_instance'][_0x29b345(0x15f)](_0x423005);}[a0_0x226830(0x1c6)](){const _0x415300=a0_0x226830;return this[_0x415300(0x1e1)][_0x415300(0x1c6)]();}[a0_0x226830(0x22d)](){const _0x5106bd=a0_0x226830;return this[_0x5106bd(0x1e1)][_0x5106bd(0x22d)]();}[a0_0x226830(0x1da)](){const _0x2b129d=a0_0x226830;return this[_0x2b129d(0x1e1)][_0x2b129d(0x1da)]();}['hasOperation'](_0x1dd342){const _0x354346=a0_0x226830;return this[_0x354346(0x1e1)][_0x354346(0x233)](_0x1dd342);}[a0_0x226830(0x1d5)](){return this['_instance']['getDBConfig']();}['getRawDbtableConfig'](){const _0x437281=a0_0x226830;return this[_0x437281(0x1e1)][_0x437281(0x284)]();}[a0_0x226830(0x3b9)](){const _0x3add07=a0_0x226830;return this['_instance'][_0x3add07(0x3b9)]();}[a0_0x226830(0x1d1)](_0x19b4d0){const _0x545ab1=a0_0x226830;return this['_instance'][_0x545ab1(0x1d1)](_0x19b4d0);}[a0_0x226830(0x299)](){const _0x33ab38=a0_0x226830;return this['_instance'][_0x33ab38(0x299)]();}['getFilteredOperationAnalyses'](_0x12dc15){const _0x4e2201=a0_0x226830;return this[_0x4e2201(0x1e1)]['getFilteredOperationAnalyses'](_0x12dc15);}[a0_0x226830(0x1fd)](_0x12d221){const _0x35de0c=a0_0x226830;return this[_0x35de0c(0x1e1)][_0x35de0c(0x1fd)](_0x12d221);}[a0_0x226830(0x2b1)](_0x392f6a){const _0x113252=a0_0x226830;return this[_0x113252(0x1e1)][_0x113252(0x2b1)](_0x392f6a);}['getOperationDocMeta'](_0x24972f,_0x34e5a0){const _0x526de4=a0_0x226830;return this[_0x526de4(0x1e1)][_0x526de4(0x40c)](_0x24972f,_0x34e5a0);}[a0_0x226830(0x160)](_0x4e2d29){const _0x54d6e1=a0_0x226830;return this[_0x54d6e1(0x1e1)][_0x54d6e1(0x160)](_0x4e2d29);}[a0_0x226830(0x2f8)](_0x18b593){const _0x276782=a0_0x226830;return this[_0x276782(0x1e1)][_0x276782(0x2f8)](_0x18b593);}['getModelAlias'](){const _0x25435d=a0_0x226830;return this[_0x25435d(0x1e1)][_0x25435d(0x1a5)]();}['supportsCRUD'](){const _0x3f5d92=a0_0x226830;return this[_0x3f5d92(0x1e1)][_0x3f5d92(0x3a3)]();}[a0_0x226830(0x32d)](){const _0x5c77c9=a0_0x226830;return this[_0x5c77c9(0x1e1)][_0x5c77c9(0x32d)]();}[a0_0x226830(0x3e4)](){const _0x275866=a0_0x226830;return this[_0x275866(0x1e1)][_0x275866(0x3e4)]();}[a0_0x226830(0x2d6)](_0x32cbd4){const _0x1b435f=a0_0x226830;return this['_instance'][_0x1b435f(0x2d6)](_0x32cbd4);}[a0_0x226830(0x192)](_0x4697be){const _0x90a8c5=a0_0x226830;return this[_0x90a8c5(0x1e1)][_0x90a8c5(0x192)](_0x4697be);}[a0_0x226830(0x317)](_0x513d18,_0x20afc8,_0x4e9ae3){const _0x44e1f6=a0_0x226830;return this[_0x44e1f6(0x1e1)][_0x44e1f6(0x317)](_0x513d18,_0x20afc8,_0x4e9ae3);}[a0_0x226830(0x1fc)](_0x2e2c10,_0x349699,_0xe5942){const _0xf221bb=a0_0x226830;return this['_instance'][_0xf221bb(0x1fc)](_0x2e2c10,_0x349699,_0xe5942);}[a0_0x226830(0x2e1)](_0x27cb70){const _0x2a7cd2=a0_0x226830;return this[_0x2a7cd2(0x1e1)][_0x2a7cd2(0x2e1)](_0x27cb70);}['generateOperationSummary'](_0x14a6dc){const _0x3bf2a6=a0_0x226830;return this[_0x3bf2a6(0x1e1)]['generateOperationSummary'](_0x14a6dc);}[a0_0x226830(0x279)](_0x36b003){const _0x5341c1=a0_0x226830;return this[_0x5341c1(0x1e1)]['generateAllOperationsSummary'](_0x36b003);}[a0_0x226830(0x32e)](_0x1439b0){const _0x546c79=a0_0x226830;return this['_instance'][_0x546c79(0x32e)](_0x1439b0);}[a0_0x226830(0x29d)](){const _0x411a44=a0_0x226830;return this[_0x411a44(0x1e1)][_0x411a44(0x29d)]();}[a0_0x226830(0x27d)](){const _0x217273=a0_0x226830;return this[_0x217273(0x1e1)][_0x217273(0x27d)]();}[a0_0x226830(0x20d)](){const _0x11c2a2=a0_0x226830;return this[_0x11c2a2(0x1e1)];}}function createDrivenDataDetailPlus(_0x1823c0,_0x24efbf={}){const _0x51a129=a0_0x226830;if(_0x24efbf[_0x51a129(0x380)]==='v1')return new DrivenDataDetailPlusV1(_0x1823c0);if(_0x24efbf[_0x51a129(0x380)]==='v2')return new DrivenDataDetailPlusV2(_0x1823c0);if(_0x1823c0[_0x51a129(0x3dd)]==='v2'||_0x51a129(0x254)in _0x1823c0)return new DrivenDataDetailPlusV2(_0x1823c0);return new DrivenDataDetailPlusV1(_0x1823c0);}function isPlusV2Instance(_0x3ed0cf){const _0x14d6b0=a0_0x226830;return _0x3ed0cf[_0x14d6b0(0x245)]()==='v2';}function isPlusV1Instance(_0x289de6){const _0x29ed3f=a0_0x226830;return _0x289de6[_0x29ed3f(0x245)]()==='v1';}var VERSION=a0_0x226830(0x22b);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};
@@ -241,6 +241,20 @@ export declare abstract class DrivenDataDetailBase extends DatasetItem {
241
241
  * 获取所有禁用的操作实例
242
242
  */
243
243
  getDisabledOperationInstances(): Operation[];
244
+ /**
245
+ * 获取过滤后的操作实例(支持黑名单过滤)
246
+ *
247
+ * @param options - 过滤选项
248
+ * @returns 过滤后的操作实例数组
249
+ */
250
+ getFilteredOperations(options?: {
251
+ /** 是否包含禁用的操作 */
252
+ includeDisabled?: boolean;
253
+ /** 是否过滤黑名单(默认 true) */
254
+ filterBlacklist?: boolean;
255
+ /** 自定义过滤函数 */
256
+ customFilter?: (op: Operation) => boolean;
257
+ }): Operation[];
244
258
  /**
245
259
  * 获取数据集统计信息
246
260
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DrivenDataDetailBase.d.ts","sourceRoot":"","sources":["../../../../src/core/version/DrivenDataDetailBase.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"DrivenDataDetailBase.d.ts","sourceRoot":"","sources":["../../../../src/core/version/DrivenDataDetailBase.ts"],"names":[],"mappings":"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"}
@@ -5,11 +5,9 @@
5
5
  * 自动检测数据版本并路由到 V1 或 V2 实现
6
6
  * 用户只需使用 `new DrivenDataDetailPlus(data)` 即可
7
7
  *
8
- * 【重构说明】
9
- * 使用组合模式(委托)而非继承,因为:
10
- * - V1/V2 Plus 继承链不同(V1 extends Mixin(DrivenDataDetail), V2 extends Mixin(DrivenDataDetailV2))
11
- * - 统一入口无法同时继承两者
12
- * - 通过实现接口,TypeScript 会检查是否遗漏了方法的委托
8
+ * 【委托方式】
9
+ * 使用 Proxy 自动转发所有方法调用到内部实例(V1 或 V2 Plus)
10
+ * 无需手动维护委托方法,新增方法自动可用
13
11
  */
14
12
  import { DrivenDataDetailPlusV1 } from './DrivenDataDetailPlusV1.js';
15
13
  import { DrivenDataDetailPlusV2 } from './DrivenDataDetailPlusV2.js';
@@ -21,8 +19,7 @@ import type { DatasetOperationType } from '../utils/plus/field-utils.js';
21
19
  * DrivenDataDetailPlus 统一入口类
22
20
  *
23
21
  * 根据数据格式自动路由到 V1 或 V2 Plus 实现
24
- * - V2: doVersion === 'v2' 且有 fields
25
- * - V1: 其他情况
22
+ * 使用 Proxy 自动转发所有方法调用,无需手动维护委托
26
23
  *
27
24
  * @example
28
25
  * ```typescript
@@ -41,15 +38,23 @@ export declare class DrivenDataDetailPlus implements IDrivenDataDetailPlus {
41
38
  * @param data 原始数据(V1 或 V2 格式)
42
39
  */
43
40
  constructor(data: Record<string, unknown>);
41
+ /** 基础属性访问 */
44
42
  get name(): string;
45
43
  get id(): number | string | undefined;
46
44
  get datasetCode(): string;
47
45
  get source(): string | undefined;
46
+ get dbtableConfig(): import("../core/version/DrivenDataDetailBase.js").DBConfig;
48
47
  getVersion(): 'v1' | 'v2';
49
48
  getFieldCount(): number;
50
49
  getOperationCount(): number;
51
50
  getFields(): any[];
52
51
  getOperations(): Operation[];
52
+ /** 获取过滤后的操作实例(支持黑名单过滤) */
53
+ getFilteredOperations(options?: {
54
+ includeDisabled?: boolean;
55
+ filterBlacklist?: boolean;
56
+ customFilter?: (op: Operation) => boolean;
57
+ }): Operation[];
53
58
  getFieldInstance(code: string): any;
54
59
  getTableName(): string;
55
60
  getTableKey(): string;
@@ -85,7 +90,6 @@ export declare class DrivenDataDetailPlus implements IDrivenDataDetailPlus {
85
90
  supportsCRUD(): boolean;
86
91
  getOperationStats(): any;
87
92
  toString(): string;
88
- generateAliasExplanation(): string;
89
93
  getOperation(operationName: string): Operation | undefined;
90
94
  getSDKInitData(appCode: string): {
91
95
  appCode: string;
@@ -129,6 +133,7 @@ export declare class DrivenDataDetailPlus implements IDrivenDataDetailPlus {
129
133
  name: string;
130
134
  }>;
131
135
  getMissingCRUDOperations(): DatasetOperationType[];
136
+ generateAliasExplanation(): string;
132
137
  /**
133
138
  * 获取内部实例(用于类型判断)
134
139
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DrivenDataDetailPlus.d.ts","sourceRoot":"","sources":["../../../src/plus/DrivenDataDetailPlus.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"DrivenDataDetailPlus.d.ts","sourceRoot":"","sources":["../../../src/plus/DrivenDataDetailPlus.ts"],"names":[],"mappings":"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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.3.1-beta.1",
3
+ "version": "1.3.3",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",