@lovrabet/dsparser 1.3.5-beta.2 → 1.3.5

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const a0_0x5ba6db=a0_0x5697;(function(_0x326ba4,_0x2d88f0){const _0x2e7275=a0_0x5697,_0x139976=_0x326ba4();while(!![]){try{const _0x4d6105=parseInt(_0x2e7275(0x312))/0x1*(parseInt(_0x2e7275(0x22c))/0x2)+parseInt(_0x2e7275(0x2f9))/0x3+-parseInt(_0x2e7275(0x290))/0x4*(-parseInt(_0x2e7275(0x20d))/0x5)+-parseInt(_0x2e7275(0x7f))/0x6*(parseInt(_0x2e7275(0x27d))/0x7)+-parseInt(_0x2e7275(0x81))/0x8+parseInt(_0x2e7275(0x1a9))/0x9*(-parseInt(_0x2e7275(0x268))/0xa)+parseInt(_0x2e7275(0x222))/0xb;if(_0x4d6105===_0x2d88f0)break;else _0x139976['push'](_0x139976['shift']());}catch(_0x37725c){_0x139976['push'](_0x139976['shift']());}}}(a0_0x1065,0xc99ef));function toCamelCase(_0x4304c0){const _0x4269e8=a0_0x5697;if(!_0x4304c0)return'';return _0x4304c0[_0x4269e8(0x294)](/[_-]/)[_0x4269e8(0xc9)]((_0x373f6b,_0x4b3203)=>{const _0xfb1b75=_0x4269e8;if(_0x4b3203===0x0)return _0x373f6b['toLowerCase']();return _0x373f6b['charAt'](0x0)[_0xfb1b75(0x201)]()+_0x373f6b[_0xfb1b75(0x1a0)](0x1)[_0xfb1b75(0x291)]();})['join']('');}function toPascalCase(_0x4c0757){const _0x518cb3=a0_0x5697;if(!_0x4c0757)return'';const _0x3f7663=toCamelCase(_0x4c0757);return _0x3f7663['charAt'](0x0)['toUpperCase']()+_0x3f7663[_0x518cb3(0x1a0)](0x1);}function toSnakeCase(_0x6ebc8d){const _0x2a4048=a0_0x5697;if(!_0x6ebc8d)return'';return _0x6ebc8d[_0x2a4048(0x1bd)](/([A-Z])/g,_0x2a4048(0x210))[_0x2a4048(0x291)]()['replace'](/^_/,'');}function toKebabCase(_0x823648){const _0x1b86aa=a0_0x5697;if(!_0x823648)return'';return _0x823648['replace'](/([A-Z])/g,_0x1b86aa(0x17e))[_0x1b86aa(0x291)]()[_0x1b86aa(0x1bd)](/^-/,'');}function normalizeFieldName(_0x36ab18){const _0x1398cd=a0_0x5697;if(!_0x36ab18)return'';return _0x36ab18[_0x1398cd(0x17a)]()[_0x1398cd(0x1bd)](/\s+/g,'_')[_0x1398cd(0x1bd)](/[^a-zA-Z0-9_]/g,'_')[_0x1398cd(0x1bd)](/_+/g,'_')[_0x1398cd(0x1bd)](/^_|_$/g,'');}function getTableName(_0x41ba06){const _0x1445e7=a0_0x5697;if(!_0x41ba06)return _0x1445e7(0x264);if(_0x41ba06[_0x1445e7(0x126)]?.['tableName'])return _0x41ba06['dbtableConfig']['tableName'];const _0xe22458=_0x41ba06[_0x1445e7(0x89)]||_0x41ba06[_0x1445e7(0x1f0)]||_0x41ba06[_0x1445e7(0x144)];if(_0xe22458)return generateTableNameFromCode(_0xe22458);return _0x1445e7(0x264);}function getTableKey(_0x200df7){const _0x4198c9=a0_0x5697;if(typeof _0x200df7===_0x4198c9(0x27c))return toCamelCase(_0x200df7);const _0x11108d=getTableName(_0x200df7);return toCamelCase(_0x11108d);}function generateTableNameFromCode(_0x57bb4c){const _0xe78086=a0_0x5697;if(!_0x57bb4c)return'dataset_000000';const _0x4e0351=_0x57bb4c[_0xe78086(0x1a0)](-0x6)['padStart'](0x6,'0');return _0xe78086(0x1fc)+_0x4e0351;}function isVirtualTableName(_0x19b175){const _0x4cf1ff=a0_0x5697;return/^dataset_[a-zA-Z0-9]{6}$/[_0x4cf1ff(0x2cf)](_0x19b175);}function generateModelKeyFromCode(_0x15fc78){const _0x5d08fa=a0_0x5697;if(!_0x15fc78)return _0x5d08fa(0x112);return _0x5d08fa(0x1fc)+_0x15fc78;}function getDbName(_0x1b0380){const _0x1f71ad=a0_0x5697;return _0x1b0380[_0x1f71ad(0x126)]?.['dbName']||_0x1b0380[_0x1f71ad(0x126)]?.[_0x1f71ad(0x2be)]?.[_0x1f71ad(0x2f8)]||'';}function generateDatasetsConfig(_0xddf26,_0x5d862b={}){const _0x3ddb86=a0_0x5697,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x1166e4,filter:_0x2ce58a}=_0x5d862b,_0x469041=_0x2ce58a?_0xddf26[_0x3ddb86(0x7e)](_0x2ce58a):_0xddf26,_0x45ff01=new Map();for(const _0x215167 of _0x469041){const _0x352416=getTableName(_0x215167),_0x41e294=getDbName(_0x215167);!_0x45ff01[_0x3ddb86(0x2c0)](_0x352416)&&_0x45ff01[_0x3ddb86(0x311)](_0x352416,new Set()),_0x45ff01['get'](_0x352416)[_0x3ddb86(0x17c)](_0x41e294);}const _0x414c04=new Set();for(const [_0x576e90,_0x254b5a]of _0x45ff01){_0x254b5a[_0x3ddb86(0x2fd)]>0x1&&_0x414c04[_0x3ddb86(0x17c)](_0x576e90);}const _0x3b2043={},_0x5bdddf=new Set();for(const _0x287da7 of _0x469041){const _0x2424c0=getTableName(_0x287da7);if(enableDeduplication&&_0x5bdddf[_0x3ddb86(0x2c0)](_0x2424c0)){console[_0x3ddb86(0x223)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x2424c0+'\x22,数据集:\x20'+_0x287da7[_0x3ddb86(0x176)]+'\x20('+_0x287da7['datasetCode']+')');continue;}_0x5bdddf['add'](_0x2424c0);const _0x589832=_0x1166e4?_0x1166e4(_0x2424c0,_0x287da7):getTableKey(_0x2424c0),_0x53db19=getDbName(_0x287da7),_0x4e0626=_0x414c04[_0x3ddb86(0x2c0)](_0x2424c0)&&_0x53db19?getTableKey(_0x53db19)+'_'+_0x589832:_0x589832;_0x3b2043[_0x589832]={'key':_0x589832,'alias':_0x4e0626,'tableName':_0x2424c0,'datasetCode':_0x287da7[_0x3ddb86(0x89)],'name':_0x287da7[_0x3ddb86(0x176)],'id':_0x287da7['id'],'dbName':_0x53db19};}return _0x3b2043;}function generateFullDatasetsConfig(_0x15fb4f,_0x39dd0b={}){const _0x3b63e9=a0_0x5697,{filter:_0x24321f,datasetNameGenerator:_0x47b161}=_0x39dd0b,_0x39831a=_0x24321f?_0x15fb4f[_0x3b63e9(0x7e)](_0x24321f):_0x15fb4f,_0x215059=new Map();for(const _0x44320b of _0x39831a){const _0x2e1c8b=getTableName(_0x44320b),_0x1a5fb9=getDbName(_0x44320b);!_0x215059[_0x3b63e9(0x2c0)](_0x2e1c8b)&&_0x215059[_0x3b63e9(0x311)](_0x2e1c8b,new Set()),_0x215059[_0x3b63e9(0x2e1)](_0x2e1c8b)[_0x3b63e9(0x17c)](_0x1a5fb9);}const _0x124c08=new Set();for(const [_0x4608ff,_0x52ceaa]of _0x215059){_0x52ceaa[_0x3b63e9(0x2fd)]>0x1&&_0x124c08[_0x3b63e9(0x17c)](_0x4608ff);}const _0x4f4cf1=groupByTableName(_0x39831a),_0x864a4d={};for(const [_0x26f4d7,_0x5ab070]of Object['entries'](_0x4f4cf1)){if(_0x5ab070[_0x3b63e9(0x1d6)]===0x1){const _0x58d15f=_0x5ab070[0x0],_0x16e5a5=_0x47b161?_0x47b161(_0x26f4d7,_0x58d15f):getTableKey(_0x26f4d7),_0x2e0e8d=getDbName(_0x58d15f),_0x1f9ee0=_0x124c08['has'](_0x26f4d7)&&_0x2e0e8d?getTableKey(_0x2e0e8d)+'_'+_0x16e5a5:_0x16e5a5;_0x864a4d[_0x16e5a5]={'key':_0x16e5a5,'alias':_0x1f9ee0,'tableName':_0x26f4d7,'datasetCode':_0x58d15f[_0x3b63e9(0x89)],'name':_0x58d15f[_0x3b63e9(0x176)],'id':_0x58d15f['id'],'dbName':_0x2e0e8d};}else{const _0x4216b7=[..._0x5ab070][_0x3b63e9(0x297)]((_0x5f4cfe,_0x172015)=>{const _0x519bbb=Number(_0x5f4cfe['id'])||0x0,_0x254439=Number(_0x172015['id'])||0x0;return _0x254439-_0x519bbb;});_0x4216b7[_0x3b63e9(0x2a7)]((_0x3da36f,_0x3da266)=>{const _0x1e6466=_0x3b63e9,_0x1c64a1=_0x47b161?_0x47b161(_0x26f4d7,_0x3da36f):getTableKey(_0x26f4d7),_0x131ac9=_0x3da266===0x0?_0x1c64a1:_0x1c64a1+'_'+_0x3da266,_0x28a029=getDbName(_0x3da36f),_0x8dc276=_0x124c08['has'](_0x26f4d7)&&_0x28a029?getTableKey(_0x28a029)+'_'+_0x131ac9:_0x131ac9;_0x864a4d[_0x131ac9]={'key':_0x131ac9,'alias':_0x8dc276,'tableName':_0x26f4d7,'datasetCode':_0x3da36f['datasetCode'],'name':_0x3da36f[_0x1e6466(0x176)],'id':_0x3da36f['id'],'dbName':_0x28a029};});}}return _0x864a4d;}function detectTableNameConflicts(_0x4d5c2b){const _0x126093=a0_0x5697,_0x401e5b={};for(const _0x5998db of _0x4d5c2b){const _0x518f82=getTableName(_0x5998db);!_0x401e5b[_0x518f82]&&(_0x401e5b[_0x518f82]=[]),_0x401e5b[_0x518f82][_0x126093(0x296)](_0x5998db);}const _0x331862={};for(const [_0x423e67,_0x2d930e]of Object[_0x126093(0x1c9)](_0x401e5b)){_0x2d930e['length']>0x1&&(_0x331862[_0x423e67]=_0x2d930e);}return{'hasConflicts':Object[_0x126093(0xe9)](_0x331862)[_0x126093(0x1d6)]>0x0,'conflicts':_0x331862};}function createDatasetNameMap(_0x53bcf5){const _0x5f330d=a0_0x5697,_0x10735c={};for(const [_0xcd41da,_0x17cb65]of Object[_0x5f330d(0x1c9)](_0x53bcf5)){_0x10735c[_0xcd41da]=_0x17cb65[_0x5f330d(0x89)]||'';}return _0x10735c;}function groupByTableName(_0x7bc982){const _0x5ec5bb=a0_0x5697,_0x36c0e8={};for(const _0x1cd934 of _0x7bc982){const _0x448806=getTableName(_0x1cd934);!_0x36c0e8[_0x448806]&&(_0x36c0e8[_0x448806]=[]),_0x36c0e8[_0x448806][_0x5ec5bb(0x296)](_0x1cd934);}return _0x36c0e8;}function datasetsConfigToArray(_0x55c318){const _0x1297b5=a0_0x5697;return Object[_0x1297b5(0x141)](_0x55c318);}function adaptDrivenDataDetail(_0x9e4438){const _0x12a07c=a0_0x5697,_0x20bb91={};return _0x20bb91['id']=_0x9e4438[_0x12a07c(0x206)],_0x20bb91['name']=_0x9e4438['name'],_0x20bb91['datasetCode']=_0x9e4438[_0x12a07c(0x144)],_0x20bb91[_0x12a07c(0x126)]=_0x9e4438[_0x12a07c(0x126)],_0x20bb91[_0x12a07c(0x1dd)]=_0x9e4438[_0x12a07c(0x1dd)],_0x20bb91['version']=_0x9e4438[_0x12a07c(0x1f2)],_0x20bb91[_0x12a07c(0x21d)]=_0x9e4438[_0x12a07c(0x21d)],_0x20bb91['properties']=_0x9e4438[_0x12a07c(0x1f5)],_0x20bb91['operations']=_0x9e4438[_0x12a07c(0x2ef)],_0x20bb91;}function adaptDrivenDataDetails(_0x5dc493){const _0xdc42dd=a0_0x5697;return _0x5dc493[_0xdc42dd(0xc9)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x1ccfaa){const _0x29aea7=a0_0x5697;if(!_0x1ccfaa[_0x29aea7(0x231)]||!_0x1ccfaa[_0x29aea7(0x98)])throw new Error(_0x29aea7(0xb0)+(_0x1ccfaa[_0x29aea7(0x1d0)]||_0x1ccfaa['msg']));return adaptDrivenDataDetail(_0x1ccfaa[_0x29aea7(0x98)]);}function extractDatasetsFromListResponse(_0x451f0b){const _0x3d5d7c=a0_0x5697;if(!_0x451f0b[_0x3d5d7c(0x231)]||!_0x451f0b[_0x3d5d7c(0x98)]?.['tableData'])throw new Error(_0x3d5d7c(0x138)+(_0x451f0b[_0x3d5d7c(0x1d0)]||_0x451f0b[_0x3d5d7c(0x10f)]));return _0x451f0b[_0x3d5d7c(0x98)][_0x3d5d7c(0xa6)][_0x3d5d7c(0xc9)](_0x2b5878=>({..._0x2b5878,'datasetCode':_0x2b5878[_0x3d5d7c(0x1f0)]||_0x2b5878[_0x3d5d7c(0x89)]}));}function isDrivenDataDetail(_0x4d77be){const _0x1e59e8=a0_0x5697;return Boolean(_0x4d77be&&typeof _0x4d77be[_0x1e59e8(0x144)]===_0x1e59e8(0x27c));}function smartAdapt(_0xfa08ca){const _0x334cfa=a0_0x5697;if(isDrivenDataDetail(_0xfa08ca))return adaptDrivenDataDetail(_0xfa08ca);if(_0xfa08ca['datasetCode'])return _0xfa08ca;if(_0xfa08ca[_0x334cfa(0x1f0)]){const _0x44f841={..._0xfa08ca};return _0x44f841['datasetCode']=_0xfa08ca['code'],_0x44f841;}return _0xfa08ca;}function cleanNewlines(_0x4192a7){const _0x49c990=a0_0x5697;return _0x4192a7[_0x49c990(0x1bd)](/[\r\n]+/g,'\x20')[_0x49c990(0x17a)]();}function cleanDatasetName(_0x531201){const _0x1f487a=a0_0x5697;if(!_0x531201[_0x1f487a(0x176)])return _0x531201;return{..._0x531201,'name':cleanNewlines(_0x531201['name'])};}function cleanDatasetNames(_0x21cfd3){const _0x359596=a0_0x5697;return _0x21cfd3[_0x359596(0xc9)](cleanDatasetName);}var DatasetOperationType;(_0x479cdd=>{const _0x32ff9e=a0_0x5697;_0x479cdd[_0x32ff9e(0x2c9)]=_0x32ff9e(0x1d7),_0x479cdd[_0x32ff9e(0xc8)]='getOne',_0x479cdd['GET_ONE_ORIGIN']=_0x32ff9e(0x18d),_0x479cdd['GET_ONE_UPDATE']=_0x32ff9e(0x9b),_0x479cdd[_0x32ff9e(0x213)]=_0x32ff9e(0x2c2),_0x479cdd['UPDATE']='update',_0x479cdd['DELETE']='delete',_0x479cdd[_0x32ff9e(0xa5)]='getSelectOptions',_0x479cdd['GET_FILE_URL']=_0x32ff9e(0x205),_0x479cdd['EXCEL_EXPORT']='excelExport',_0x479cdd['GET_UPLOAD_FILE_SCRIPT']=_0x32ff9e(0x1ff),_0x479cdd[_0x32ff9e(0x17d)]=_0x32ff9e(0x164),_0x479cdd[_0x32ff9e(0x241)]=_0x32ff9e(0xa7),_0x479cdd[_0x32ff9e(0x136)]='taskInfo',_0x479cdd['IMPORT_TEMPLATE']=_0x32ff9e(0x207);})(DatasetOperationType||={});const a0_0x2ac2c8={};a0_0x2ac2c8[a0_0x5ba6db(0x1d7)]=a0_0x5ba6db(0x271),a0_0x2ac2c8['getOne']=a0_0x5ba6db(0x1c5),a0_0x2ac2c8[a0_0x5ba6db(0x18d)]=a0_0x5ba6db(0xbc),a0_0x2ac2c8['getOneUpdate']=a0_0x5ba6db(0x1b5),a0_0x2ac2c8[a0_0x5ba6db(0x2c2)]='创建',a0_0x2ac2c8[a0_0x5ba6db(0xf1)]='更新',a0_0x2ac2c8[a0_0x5ba6db(0x24d)]='删除',a0_0x2ac2c8[a0_0x5ba6db(0x20f)]=a0_0x5ba6db(0x259),a0_0x2ac2c8[a0_0x5ba6db(0x205)]=a0_0x5ba6db(0xf5),a0_0x2ac2c8[a0_0x5ba6db(0x26e)]=a0_0x5ba6db(0x2db),a0_0x2ac2c8[a0_0x5ba6db(0x1ff)]=a0_0x5ba6db(0x274),a0_0x2ac2c8[a0_0x5ba6db(0x164)]=a0_0x5ba6db(0x8c),a0_0x2ac2c8[a0_0x5ba6db(0xa7)]=a0_0x5ba6db(0x23b),a0_0x2ac2c8['taskInfo']=a0_0x5ba6db(0x1eb),a0_0x2ac2c8[a0_0x5ba6db(0x207)]=a0_0x5ba6db(0x237);var OPERATION_TYPE_DISPLAY_NAME=a0_0x2ac2c8,API_BLACKLIST=[a0_0x5ba6db(0x1d7),'getOneOrigin',a0_0x5ba6db(0x9b),a0_0x5ba6db(0x205)];function parseFieldExtend(_0x447743){const _0x174ae8=a0_0x5ba6db;if(!_0x447743||typeof _0x447743!==_0x174ae8(0x181))return!![]&&console[_0x174ae8(0x223)](_0x174ae8(0x17b),_0x447743),{};if(!_0x447743[_0x174ae8(0x21d)])return{};try{const _0x5087f3=typeof _0x447743[_0x174ae8(0x21d)]==='string'?JSON[_0x174ae8(0x80)](_0x447743[_0x174ae8(0x21d)]):_0x447743[_0x174ae8(0x21d)];if(typeof _0x5087f3!=='object'||_0x5087f3===null)return{};return _0x5087f3;}catch{return{};}}function isPrimaryKeyField(_0x235d05,_0x34d390){const _0x46681c=a0_0x5ba6db;if(!_0x235d05||typeof _0x235d05!==_0x46681c(0x181))return![];if(typeof _0x34d390===_0x46681c(0x27c)&&_0x235d05['code']===_0x34d390)return!![];const _0x55de10=parseFieldExtend(_0x235d05);return Boolean(_0x55de10['primaryKey']||_0x55de10['pkField']);}function isSystemField(_0x529e43){const _0x1e2843=a0_0x5ba6db,_0x3a9a90=parseFieldExtend(_0x529e43);return Boolean(_0x3a9a90[_0x1e2843(0x8b)]);}function isRequiredField(_0x12e91c){const _0x53cf59=a0_0x5ba6db,_0x212a92=parseFieldExtend(_0x12e91c);return Boolean(_0x212a92[_0x53cf59(0x1ae)]);}function isAutoIncrementField(_0xd7c1f8){const _0x4d3fbf=a0_0x5ba6db,_0xec4733=parseFieldExtend(_0xd7c1f8);return Boolean(_0xec4733[_0x4d3fbf(0x180)]);}function isCreateTimeField(_0x157d8e){const _0x500e5c=parseFieldExtend(_0x157d8e);return Boolean(_0x500e5c['createDate']);}function isModifyTimeField(_0x557e19){const _0x900c53=a0_0x5ba6db,_0x223641=parseFieldExtend(_0x557e19);return Boolean(_0x223641[_0x900c53(0xfd)]);}const a0_0x40bcc8={};a0_0x40bcc8[a0_0x5ba6db(0x135)]='数字',a0_0x40bcc8['TEXT']='文本',a0_0x40bcc8[a0_0x5ba6db(0x1db)]=a0_0x5ba6db(0x197),a0_0x40bcc8[a0_0x5ba6db(0x108)]='日期',a0_0x40bcc8[a0_0x5ba6db(0x26f)]='日期时间',a0_0x40bcc8[a0_0x5ba6db(0x202)]=a0_0x5ba6db(0x255),a0_0x40bcc8['SELECT']='下拉选择',a0_0x40bcc8['CHECKBOX']='多选',a0_0x40bcc8[a0_0x5ba6db(0x227)]='单选',a0_0x40bcc8[a0_0x5ba6db(0x2ea)]='开关',a0_0x40bcc8[a0_0x5ba6db(0xaa)]=a0_0x5ba6db(0xee),a0_0x40bcc8[a0_0x5ba6db(0x190)]='图片',a0_0x40bcc8[a0_0x5ba6db(0x99)]=a0_0x5ba6db(0x199),a0_0x40bcc8[a0_0x5ba6db(0x24f)]='JSON',a0_0x40bcc8[a0_0x5ba6db(0x25c)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x40bcc8;function getDbTypeDisplay(_0x3ee9c0){const _0x1a5c06=a0_0x5ba6db;if(typeof _0x3ee9c0!==_0x1a5c06(0x27c))return!![]&&console[_0x1a5c06(0x223)](_0x1a5c06(0xb9),_0x3ee9c0),String(_0x3ee9c0||'-');return DB_TYPE_DISPLAY_MAP[_0x3ee9c0]||_0x3ee9c0;}function formatDbType(_0x4951d5,_0x4579d5){const _0x9825be=a0_0x5ba6db;if(!_0x4951d5||typeof _0x4951d5!=='string')return'-';if(!_0x4579d5||typeof _0x4579d5!==_0x9825be(0xd3))return _0x4951d5;const _0x4e81a1=[_0x9825be(0x1ac),_0x9825be(0x26f),_0x9825be(0x202),_0x9825be(0x108)];if(_0x4e81a1[_0x9825be(0x122)](_0x4951d5[_0x9825be(0x201)]()))return _0x4951d5;return _0x4951d5+'('+_0x4579d5+')';}function parseOperationType(_0x3d67a0){const _0x9f175c=a0_0x5ba6db;if(typeof _0x3d67a0!==_0x9f175c(0x27c)){!![]&&console[_0x9f175c(0x223)](_0x9f175c(0x298),_0x3d67a0);return;}if(Object['values'](DatasetOperationType)[_0x9f175c(0x122)](_0x3d67a0))return _0x3d67a0;const _0x57d377=Object[_0x9f175c(0x1c9)](OPERATION_TYPE_DISPLAY_NAME)[_0x9f175c(0xbf)](([_0x13df9c,_0x5dc1c6])=>_0x5dc1c6===_0x3d67a0);return _0x57d377?_0x57d377[0x0]:undefined;}function shouldIncludeField(_0x19b25f,_0x5d85bd,_0x3ce425){const _0x1f2a4c=a0_0x5ba6db,_0x143d0f=parseFieldExtend(_0x19b25f),_0x47478f=isPrimaryKeyField(_0x19b25f,_0x3ce425),_0x3019d6=Boolean(_0x143d0f['systemRetain']),_0xefd6c0=Boolean(_0x143d0f[_0x1f2a4c(0x180)]),_0x1fa9b8=Boolean(_0x143d0f[_0x1f2a4c(0x2d2)]),_0x4963a8=Boolean(_0x143d0f['modifyDate']);switch(_0x5d85bd){case _0x1f2a4c(0x1d7):return!![];case _0x1f2a4c(0x2b4):case _0x1f2a4c(0x18d):case _0x1f2a4c(0x24d):return _0x47478f;case _0x1f2a4c(0x2c2):if(_0x47478f&&_0xefd6c0)return![];if(_0x3019d6)return![];if(_0x1fa9b8||_0x4963a8)return![];return!![];case _0x1f2a4c(0xf1):case _0x1f2a4c(0x9b):if(_0x47478f)return!![];if(_0x3019d6)return![];if(_0x1fa9b8||_0x4963a8)return![];return!![];case _0x1f2a4c(0x20f):return _0x19b25f[_0x1f2a4c(0x1f0)]==='code';default:return!![];}}function getFieldsForOperation(_0x1cba92,_0x1b179b,_0x537a8b){const _0x1e468e=a0_0x5ba6db;if(!Array[_0x1e468e(0x2f6)](_0x1cba92))return!![]&&console[_0x1e468e(0x223)](_0x1e468e(0xf3),_0x1cba92),[];return _0x1cba92[_0x1e468e(0x7e)](_0x5584d6=>shouldIncludeField(_0x5584d6,_0x1b179b,_0x537a8b));}function isApiBlacklisted(_0x577708){const _0x5bef9c=a0_0x5ba6db;if(typeof _0x577708!==_0x5bef9c(0x27c))return!![]&&console[_0x5bef9c(0x223)](_0x5bef9c(0x1e0),_0x577708),![];return API_BLACKLIST[_0x5bef9c(0x122)](_0x577708);}function filterApiOperations(_0x2dc55d){const _0x262697=a0_0x5ba6db;if(!Array[_0x262697(0x2f6)](_0x2dc55d))return!![]&&console['warn'](_0x262697(0x1a1),_0x2dc55d),[];return _0x2dc55d[_0x262697(0x7e)](_0x21e2ab=>_0x21e2ab&&typeof _0x21e2ab==='object'&&!isApiBlacklisted(_0x21e2ab[_0x262697(0x176)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x5ba6db(0x2a4)](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x211e3e})=>{const _0x2d5b97=a0_0x5ba6db;if(_0x211e3e?.[_0x2d5b97(0x1d4)]&&Array[_0x2d5b97(0x2f6)](_0x211e3e[_0x2d5b97(0x1d4)])&&_0x211e3e[_0x2d5b97(0x1d4)]['length']>0x0)return _0x211e3e[_0x2d5b97(0x1d4)][0x0][_0x2d5b97(0x14b)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x5522ac})=>{const _0xb997ec=a0_0x5ba6db;if(_0x5522ac==='currentPage')return 0x1;if(_0x5522ac===_0xb997ec(0x27b))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x6f2129})=>{const _0x590afd=a0_0x5ba6db;if(_0x6f2129&&typeof _0x6f2129===_0x590afd(0x27c)){const _0x3dc041=_0x6f2129['toLowerCase']();if(_0x3dc041['includes']('邮箱')||_0x3dc041[_0x590afd(0x122)](_0x590afd(0x25d)))return _0x590afd(0x12b);if(_0x3dc041[_0x590afd(0x122)]('电话')||_0x3dc041[_0x590afd(0x122)]('手机')||_0x3dc041['includes'](_0x590afd(0x2b3)))return'13800138000';if(_0x3dc041['includes']('地址')||_0x3dc041[_0x590afd(0x122)](_0x590afd(0x27e)))return _0x590afd(0x1b8);if(_0x3dc041[_0x590afd(0x122)]('姓名')||_0x3dc041[_0x590afd(0x122)](_0x590afd(0x176)))return'张三';}return _0x590afd(0x233);},'VARCHAR':({description:_0x5bbda9})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x5bbda9}),'CHAR':({description:_0x3be13c})=>TYPE_VALUE_GENERATORS[a0_0x5ba6db(0x1ac)]({'description':_0x3be13c}),'STRING':({fieldInfo:_0x11af5c,description:_0x2fc9b7})=>{const _0x4ef35f=a0_0x5ba6db;if(_0x11af5c?.[_0x4ef35f(0x224)]&&typeof _0x11af5c['placeholder']===_0x4ef35f(0x27c)&&_0x11af5c[_0x4ef35f(0x224)]!=='系统自动生成')return _0x11af5c[_0x4ef35f(0x224)][_0x4ef35f(0x1bd)](/^请输入|^请选择/,'');const _0x58aa13={};return _0x58aa13[_0x4ef35f(0x1ce)]=_0x2fc9b7,TYPE_VALUE_GENERATORS[_0x4ef35f(0x1ac)](_0x58aa13);},'TEXTAREA':()=>a0_0x5ba6db(0x184),'LONGTEXT':()=>a0_0x5ba6db(0x184),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x5ba6db(0x14b)}),'ARRAY':()=>[a0_0x5ba6db(0x256),'item2'],'UPLOAD':()=>a0_0x5ba6db(0x204),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0x5ba6db(0xb1)};function generateExampleValue(_0xb26717,_0x5f5ad9,_0x5b2c60,_0x36d924={}){const _0x2a1abe=a0_0x5ba6db;typeof _0xb26717!=='string'&&(!![]&&console[_0x2a1abe(0x223)](_0x2a1abe(0x14f),_0xb26717),_0xb26717=String(_0xb26717||''));if(typeof _0x5f5ad9!==_0x2a1abe(0x27c))return!![]&&console[_0x2a1abe(0x223)]('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x5f5ad9),_0x2a1abe(0x143);const {isPrimaryKey:_0x81b939,dbtableConfig:_0x29e426}=_0x36d924;if(_0x81b939)return 0x1;if(_0x29e426&&typeof _0x29e426==='object'){const _0x241e1e=_0x29e426['createTimeField']?.['fieldName']===_0xb26717,_0x4a5f29=_0x29e426[_0x2a1abe(0x69)]?.['fieldName']===_0xb26717;if(_0x241e1e||_0x4a5f29){if(_0x5b2c60&&typeof _0x5b2c60===_0x2a1abe(0x27c)&&_0x5b2c60['toUpperCase']()[_0x2a1abe(0x122)]('TIMESTAMP'))return Date[_0x2a1abe(0x2a4)]();return new Date()[_0x2a1abe(0x1b3)]()[_0x2a1abe(0x1bd)]('T','\x20')[_0x2a1abe(0x294)]('.')[0x0];}}const _0x289d32={..._0x36d924};_0x289d32[_0x2a1abe(0x178)]=_0xb26717;const _0x1e1065=_0x289d32;if(_0x5b2c60&&typeof _0x5b2c60===_0x2a1abe(0x27c)){const _0x55f14e=_0x5b2c60[_0x2a1abe(0x201)](),_0x110f7b=TYPE_VALUE_GENERATORS[_0x55f14e];if(_0x110f7b)return _0x110f7b(_0x1e1065);}if(_0x5f5ad9&&typeof _0x5f5ad9===_0x2a1abe(0x27c)){const _0x54eb66=_0x5f5ad9['toUpperCase'](),_0x372cfc=TYPE_VALUE_GENERATORS[_0x54eb66];if(_0x372cfc)return _0x372cfc(_0x1e1065);}return'示例值';}function generateExampleFromSchema(_0x1f4725,_0x165f1c){const _0x549a7d=a0_0x5ba6db;if(!_0x1f4725||typeof _0x1f4725!==_0x549a7d(0x181))return{};if(Array[_0x549a7d(0x2f6)](_0x1f4725)){if(_0x1f4725[_0x549a7d(0x1d6)]>0x0)return[generateExampleFromSchema(_0x1f4725[0x0],_0x165f1c)];return[];}const _0x49f13a={};return Object[_0x549a7d(0xe9)](_0x1f4725)[_0x549a7d(0x2a7)](_0x5db779=>{const _0x1f0fbc=_0x549a7d,_0x1b847a=_0x1f4725[_0x5db779];if(_0x1b847a&&typeof _0x1b847a==='object'&&!Array[_0x1f0fbc(0x2f6)](_0x1b847a)&&_0x1b847a[_0x1f0fbc(0xe8)]){const _0x4fefc9=_0x1b847a,_0x20c848=_0x4fefc9[_0x1f0fbc(0xe8)],_0x52eaa3=_0x4fefc9[_0x1f0fbc(0x1ce)];if(typeof _0x20c848===_0x1f0fbc(0x27c)){const _0x371910={};_0x371910[_0x1f0fbc(0x1ce)]=_0x52eaa3,_0x371910[_0x1f0fbc(0x126)]=_0x165f1c,_0x49f13a[_0x5db779]=generateExampleValue(_0x5db779,_0x20c848,undefined,_0x371910);}else _0x49f13a[_0x5db779]='示例值';}else{if(Array[_0x1f0fbc(0x2f6)](_0x1b847a))_0x49f13a[_0x5db779]=_0x1b847a[_0x1f0fbc(0x1d6)]>0x0?[generateExampleFromSchema(_0x1b847a[0x0],_0x165f1c)]:[];else _0x1b847a&&typeof _0x1b847a===_0x1f0fbc(0x181)?_0x49f13a[_0x5db779]=generateExampleFromSchema(_0x1b847a,_0x165f1c):_0x49f13a[_0x5db779]=_0x1b847a;}}),_0x49f13a;}function parseRequestBody(_0x1a74d2){const _0x2b9938=a0_0x5ba6db;if(!_0x1a74d2)return{};try{return JSON['parse'](_0x1a74d2);}catch(_0x19b9b5){return!![]&&console[_0x2b9938(0x223)](_0x2b9938(0xfb),_0x19b9b5),{};}}function parseResponseBody(_0x1acb44){const _0xcf44d2=a0_0x5ba6db;if(!_0x1acb44)return null;try{const _0x587079=JSON[_0xcf44d2(0x80)](_0x1acb44);return _0x587079[_0xcf44d2(0x22a)]||_0x587079;}catch(_0x57092b){return!![]&&console['warn'](_0xcf44d2(0x2f7),_0x57092b),null;}}function generateRequestExample(_0x4cada8,_0x4f70a0,_0x3238ad,_0x415c29){const _0xd7ed29=a0_0x5ba6db,_0x4f624f={};if(!Array[_0xd7ed29(0x2f6)](_0x4cada8))return!![]&&console[_0xd7ed29(0x223)](_0xd7ed29(0xd9),_0x4cada8),_0x4f624f;return _0x4cada8[_0xd7ed29(0x2a7)](_0x1366d7=>{const _0x3e2c72=_0xd7ed29;if(!_0x1366d7||typeof _0x1366d7!==_0x3e2c72(0x181)){!![]&&console['warn']('[generateRequestExample]\x20Invalid\x20field:',_0x1366d7);return;}if(typeof _0x1366d7[_0x3e2c72(0x1f0)]!=='string'||typeof _0x1366d7['type']!==_0x3e2c72(0x27c)){!![]&&console[_0x3e2c72(0x223)](_0x3e2c72(0x117),_0x1366d7);return;}const _0x43a6a3=parseFieldExtend(_0x1366d7),_0x72f2c6=_0x1366d7['code']===_0x3238ad||Boolean(_0x43a6a3?.[_0x3e2c72(0x1ad)]),_0x10a6c6=generateExampleValue(_0x1366d7[_0x3e2c72(0x1f0)],_0x1366d7[_0x3e2c72(0xe8)],typeof _0x1366d7[_0x3e2c72(0x2e6)]===_0x3e2c72(0x27c)?_0x1366d7[_0x3e2c72(0x2e6)]:undefined,{'fieldInfo':_0x43a6a3,'isPrimaryKey':_0x72f2c6,'description':_0x1366d7['description']||_0x1366d7[_0x3e2c72(0x176)],'dbtableConfig':_0x415c29});_0x4f624f[_0x1366d7[_0x3e2c72(0x1f0)]]=_0x10a6c6;}),_0x4f70a0==='getList'&&(_0x4f624f[_0xd7ed29(0x319)]=0x1,_0x4f624f[_0xd7ed29(0x27b)]=0xa),_0x4f624f;}function formatEnumValue(_0x51951f,_0x26078e){const _0x264e67=a0_0x5ba6db;if(_0x51951f[_0x264e67(0x1ef)]&&Array[_0x264e67(0x2f6)](_0x26078e))return _0x26078e['map'](_0x1a6d79=>_0x51951f['valueLabels'][String(_0x1a6d79)]||String(_0x1a6d79))[_0x264e67(0x18b)](',\x20');return _0x51951f[_0x264e67(0xc6)][String(_0x26078e)]||String(_0x26078e);}function formatOptionsForDoc(_0xa4a150){const _0x56f708=a0_0x5ba6db;return _0xa4a150[_0x56f708(0xc9)](_0x4a6340=>_0x4a6340['value']+'('+_0x4a6340[_0x56f708(0x2c4)]+')')[_0x56f708(0x18b)](',\x20');}function formatOptionsAsMarkdownList(_0x54b39e,_0x2399a5=0x0){const _0x7f38ec=a0_0x5ba6db,_0xd09c10='\x20\x20'['repeat'](_0x2399a5),_0x52018a=[];return _0x54b39e[_0x7f38ec(0x2a7)](_0x4061d9=>{const _0x5cb44f=_0x7f38ec;_0x52018a[_0x5cb44f(0x296)](_0xd09c10+'-\x20`'+_0x4061d9['value']+'`:\x20'+_0x4061d9[_0x5cb44f(0x2c4)]),_0x4061d9['children']&&_0x4061d9[_0x5cb44f(0x189)][_0x5cb44f(0x1d6)]>0x0&&_0x52018a[_0x5cb44f(0x296)](formatOptionsAsMarkdownList(_0x4061d9[_0x5cb44f(0x189)],_0x2399a5+0x1));}),_0x52018a[_0x7f38ec(0x18b)]('\x0a');}class DbtableConfig{[a0_0x5ba6db(0x244)];constructor(_0x428349){const _0xa93612={..._0x428349};this['_raw']=_0xa93612;}get[a0_0x5ba6db(0xb6)](){const _0x539de0=a0_0x5ba6db;return this[_0x539de0(0x244)][_0x539de0(0xb6)];}get[a0_0x5ba6db(0x2f8)](){const _0x21b86b=a0_0x5ba6db;return this['_raw'][_0x21b86b(0x2f8)]??this[_0x21b86b(0x244)][_0x21b86b(0x2be)]?.[_0x21b86b(0x2f8)];}get['tableName'](){const _0x5abc6d=a0_0x5ba6db;return this[_0x5abc6d(0x244)][_0x5abc6d(0x21f)];}get[a0_0x5ba6db(0x29f)](){const _0x3620fd=a0_0x5ba6db;return this[_0x3620fd(0x244)][_0x3620fd(0x29f)];}get['pkField'](){const _0x1b22c4=a0_0x5ba6db;return this[_0x1b22c4(0x244)][_0x1b22c4(0x9a)];}get[a0_0x5ba6db(0x2b0)](){const _0x1ec2db=a0_0x5ba6db;return this['_raw'][_0x1ec2db(0x2b0)];}get[a0_0x5ba6db(0xce)](){const _0x23caf4=a0_0x5ba6db;return this[_0x23caf4(0x244)][_0x23caf4(0xce)];}get[a0_0x5ba6db(0xb4)](){const _0x5955cc=a0_0x5ba6db;return this[_0x5955cc(0x244)][_0x5955cc(0xb4)];}get['updateTimeField'](){const _0x49b77e=a0_0x5ba6db;return this[_0x49b77e(0x244)][_0x49b77e(0x69)];}get[a0_0x5ba6db(0x28c)](){const _0x589894=a0_0x5ba6db;return this[_0x589894(0x244)][_0x589894(0x28c)];}get[a0_0x5ba6db(0x2d7)](){const _0x41ed2b=a0_0x5ba6db;return this[_0x41ed2b(0x244)][_0x41ed2b(0x2d7)];}get['modifierIdField'](){const _0x422263=a0_0x5ba6db;return this['_raw'][_0x422263(0x11b)];}get[a0_0x5ba6db(0x11f)](){const _0x262bc6=a0_0x5ba6db;return this[_0x262bc6(0x244)]['modifierNameField'];}get[a0_0x5ba6db(0x2be)](){const _0x3954a8=a0_0x5ba6db;return this['_raw'][_0x3954a8(0x2be)];}[a0_0x5ba6db(0x134)](){const _0x4bc4c9=a0_0x5ba6db;if(!this[_0x4bc4c9(0x244)][_0x4bc4c9(0x1ee)])return[];return this[_0x4bc4c9(0x244)][_0x4bc4c9(0x1ee)][_0x4bc4c9(0x294)](',')[_0x4bc4c9(0xc9)](_0x415e15=>_0x415e15['trim']())['filter'](Boolean);}[a0_0x5ba6db(0x302)](){const _0x5c792c=a0_0x5ba6db;return this[_0x5c792c(0x244)]['allFields'];}['hasField'](_0x493960){const _0x37feaf=a0_0x5ba6db;return this[_0x37feaf(0x134)]()['includes'](_0x493960);}[a0_0x5ba6db(0xdb)](){const _0x4e1d92=a0_0x5ba6db;return Boolean(this[_0x4e1d92(0x244)]['tableName']);}['hasDblinkInfo'](){const _0x44a68f=a0_0x5ba6db;return Boolean(this['_raw'][_0x44a68f(0x2be)]);}['hasLogicField'](){const _0x4ca9e0=a0_0x5ba6db;return Boolean(this[_0x4ca9e0(0x244)]['logicField']?.[_0x4ca9e0(0x2af)]);}['hasCreateTimeField'](){const _0x4fae10=a0_0x5ba6db;return Boolean(this[_0x4fae10(0x244)][_0x4fae10(0xb4)]?.[_0x4fae10(0x2af)]);}['hasUpdateTimeField'](){const _0x5059b6=a0_0x5ba6db;return Boolean(this[_0x5059b6(0x244)][_0x5059b6(0x69)]?.[_0x5059b6(0x2af)]);}[a0_0x5ba6db(0x2bc)](){const _0x27e3c9=a0_0x5ba6db;return Boolean(this[_0x27e3c9(0x244)]['creatorIdField']?.['fieldName']);}[a0_0x5ba6db(0x219)](){const _0x5aaab4=a0_0x5ba6db;return Boolean(this['_raw'][_0x5aaab4(0x11b)]?.[_0x5aaab4(0x2af)]);}[a0_0x5ba6db(0xef)](_0x152d44){const _0x2e3453=a0_0x5ba6db;return this[_0x2e3453(0x244)][_0x2e3453(0x9a)]===_0x152d44;}[a0_0x5ba6db(0x192)](_0x29b7d1){const _0x30e08f=a0_0x5ba6db;return this['isPrimaryKeyField'](_0x29b7d1)||this[_0x30e08f(0x244)][_0x30e08f(0xce)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0xb4)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x69)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x28c)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x2d7)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x11b)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x11f)]?.[_0x30e08f(0x2af)]===_0x29b7d1;}[a0_0x5ba6db(0x74)](){const _0xed5016=a0_0x5ba6db;return this['_raw'][_0xed5016(0x2be)]?.[_0xed5016(0x2f8)];}[a0_0x5ba6db(0x105)](){const _0x10c604=a0_0x5ba6db;return this[_0x10c604(0x244)][_0x10c604(0x2be)]?.[_0x10c604(0x2e6)];}[a0_0x5ba6db(0x11a)](){const _0x3ce039=a0_0x5ba6db;return this[_0x3ce039(0x244)][_0x3ce039(0x2be)]?.[_0x3ce039(0x292)];}[a0_0x5ba6db(0x73)](){const _0x421f95=a0_0x5ba6db;return this[_0x421f95(0x244)][_0x421f95(0x2be)]?.[_0x421f95(0xc2)];}[a0_0x5ba6db(0x2ce)](){const _0x300547=a0_0x5ba6db;return this[_0x300547(0x244)][_0x300547(0x2be)]?.[_0x300547(0x13f)];}[a0_0x5ba6db(0x288)](){const _0x398fb3=a0_0x5ba6db;return this[_0x398fb3(0x244)][_0x398fb3(0x2be)]?.[_0x398fb3(0x128)];}[a0_0x5ba6db(0x30b)](){const _0x5c078d=a0_0x5ba6db;return{'hasTableName':this[_0x5c078d(0xdb)](),'hasDblinkInfo':this[_0x5c078d(0x293)](),'fieldCount':this['getAllFieldsArray']()[_0x5c078d(0x1d6)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x5c078d(0x2a6)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x5c078d(0x219)]()}};}['toConfig'](){const _0x5ef689=a0_0x5ba6db,_0x4a77ed={};return _0x4a77ed[_0x5ef689(0x21f)]=this[_0x5ef689(0x21f)],_0x4a77ed[_0x5ef689(0x9a)]=this[_0x5ef689(0x9a)],_0x4a77ed[_0x5ef689(0x29f)]=this[_0x5ef689(0x29f)],_0x4a77ed[_0x5ef689(0xb6)]=this[_0x5ef689(0xb6)],_0x4a77ed;}[a0_0x5ba6db(0x308)](){const _0x218a65=a0_0x5ba6db,_0x44a841={...this[_0x218a65(0x244)]};return _0x44a841;}[a0_0x5ba6db(0x1f4)](){const _0x8c8fd6={...this['_raw']};return _0x8c8fd6;}['toString'](){const _0x6ef7f1=a0_0x5ba6db,_0x322661=this[_0x6ef7f1(0x21f)]||_0x6ef7f1(0x253),_0x135c26=this[_0x6ef7f1(0x134)]()[_0x6ef7f1(0x1d6)];return _0x6ef7f1(0xe5)+_0x322661+_0x6ef7f1(0x29e)+_0x135c26+')';}static[a0_0x5ba6db(0x1e6)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x5ba6db(0x244)];constructor(_0x265794){const _0x38e272=a0_0x5ba6db,_0x58126e=_0x265794[_0x38e272(0x89)]||_0x265794['code']||_0x265794[_0x38e272(0x144)],_0x3e6e01={..._0x265794};_0x3e6e01['datasetCode']=_0x58126e,this[_0x38e272(0x244)]=_0x3e6e01;}get['id'](){const _0x14fa22=a0_0x5ba6db;return this[_0x14fa22(0x244)]['id'];}get[a0_0x5ba6db(0x176)](){const _0x2a555f=a0_0x5ba6db;return this[_0x2a555f(0x244)][_0x2a555f(0x176)];}[a0_0x5ba6db(0x1e7)](){const _0x251f97=a0_0x5ba6db;return this[_0x251f97(0x176)];}get[a0_0x5ba6db(0x89)](){const _0x2df2a6=a0_0x5ba6db;return this[_0x2df2a6(0x244)][_0x2df2a6(0x89)]||'';}get[a0_0x5ba6db(0x126)](){const _0x37099d=a0_0x5ba6db;if(!this['_raw'][_0x37099d(0x126)])return null;return new DbtableConfig(this[_0x37099d(0x244)][_0x37099d(0x126)]);}[a0_0x5ba6db(0x18f)](){const _0x216a36=a0_0x5ba6db;return this[_0x216a36(0x244)][_0x216a36(0x126)];}['getDbName'](){const _0x509a01=a0_0x5ba6db;return this[_0x509a01(0x126)]?.['dbName']||'';}[a0_0x5ba6db(0x26c)](){return getTableName(this['_raw']);}[a0_0x5ba6db(0x240)](){const _0x1c7bdd=a0_0x5ba6db;return getTableKey(this[_0x1c7bdd(0x26c)]());}[a0_0x5ba6db(0x127)](){return generateModelKeyFromCode(this['datasetCode']);}[a0_0x5ba6db(0x263)](){const _0x5d937f=a0_0x5ba6db;return isVirtualTableName(this[_0x5d937f(0x26c)]());}[a0_0x5ba6db(0x20e)](){const _0x1e66a8=a0_0x5ba6db;return getTableKey(this[_0x1e66a8(0x26c)]());}[a0_0x5ba6db(0x28f)](){const _0x11a1c9=a0_0x5ba6db,_0x7d46e6=getTableKey(this['getTableName']());return{'key':_0x7d46e6,'alias':_0x7d46e6,'tableName':this[_0x11a1c9(0x26c)](),'datasetCode':this[_0x11a1c9(0x89)],'name':this[_0x11a1c9(0x176)]};}[a0_0x5ba6db(0x308)](){const _0x330115=a0_0x5ba6db,_0x4f7223={...this['_raw']};return _0x4f7223[_0x330115(0x89)]=this[_0x330115(0x89)],_0x4f7223;}[a0_0x5ba6db(0x1f4)](){const _0x1706cd=a0_0x5ba6db,_0xa461a5={...this[_0x1706cd(0x244)]};return _0xa461a5;}[a0_0x5ba6db(0x200)](){const _0x4d78c8=a0_0x5ba6db,_0x310730=this['dbtableConfig'];return _0x310730!==null&&_0x310730[_0x4d78c8(0xdb)]();}['getExtendField'](_0xeb42b8){const _0x432c18=a0_0x5ba6db;return this[_0x432c18(0x244)][_0xeb42b8];}[a0_0x5ba6db(0x2c5)](_0x49ddf1){const _0x5b740f=a0_0x5ba6db;return _0x49ddf1 in this[_0x5b740f(0x244)];}[a0_0x5ba6db(0x146)](){const _0x1dd969=a0_0x5ba6db;return'DatasetItem('+this[_0x1dd969(0x176)]+',\x20'+this[_0x1dd969(0x89)]+')';}}class Operation{[a0_0x5ba6db(0x176)];['_raw'];[a0_0x5ba6db(0x111)];constructor(_0x3778c8,_0x35b77a,_0x10e168){const _0x51fa08=a0_0x5ba6db;this[_0x51fa08(0x176)]=_0x3778c8,this[_0x51fa08(0x244)]=_0x35b77a,this[_0x51fa08(0x111)]=_0x10e168;}['getName'](){return this['name'];}[a0_0x5ba6db(0x2a1)](){const _0x551493=a0_0x5ba6db;return OPERATION_TYPE_DISPLAY_NAME[this[_0x551493(0x176)]]||this[_0x551493(0x176)];}['getType'](){const _0x1d9ccf=a0_0x5ba6db;return parseOperationType(this[_0x1d9ccf(0x176)]);}[a0_0x5ba6db(0x2c6)](){const _0xf0f9ac=a0_0x5ba6db;return this['_raw']!==null&&this[_0xf0f9ac(0x244)]!==![];}[a0_0x5ba6db(0x149)](){const _0x55057f=a0_0x5ba6db,_0x149640=this['_raw'];if(_0x149640===![]||_0x149640===null)return'';return _0x149640[_0x55057f(0x76)]||_0x55057f(0x2b7);}[a0_0x5ba6db(0x1e9)](){const _0x26cbfa=a0_0x5ba6db,_0x2a2339=this['_raw'];if(_0x2a2339===![]||_0x2a2339===null)return'';return _0x2a2339[_0x26cbfa(0x267)]||'';}[a0_0x5ba6db(0x1d2)](){const _0x5d0c4d=a0_0x5ba6db,_0x43a9c2=this['_raw'];let _0x5b07a6='';_0x43a9c2!==![]&&_0x43a9c2!==null&&_0x43a9c2[_0x5d0c4d(0x230)]&&(_0x5b07a6=_0x43a9c2[_0x5d0c4d(0x230)]);const _0x4cac0a=this[_0x5d0c4d(0x1e9)]();return _0x5b07a6&&_0x4cac0a?''+_0x5b07a6+_0x4cac0a:_0x4cac0a;}[a0_0x5ba6db(0x157)](){const _0x220f21=a0_0x5ba6db,_0x206090=this[_0x220f21(0x244)];if(_0x206090===![]||_0x206090===null||!_0x206090[_0x220f21(0x208)])return{};try{return JSON[_0x220f21(0x80)](_0x206090[_0x220f21(0x208)]);}catch{return{};}}['parseRawResponseBody'](){const _0x7a9e90=a0_0x5ba6db,_0xde6b2e=this['_raw'];if(_0xde6b2e===![]||_0xde6b2e===null||!_0xde6b2e[_0x7a9e90(0x139)])return null;try{return JSON[_0x7a9e90(0x80)](_0xde6b2e[_0x7a9e90(0x139)]);}catch{return null;}}['getRequestParams'](){return this['parseRawRequestBody']();}[a0_0x5ba6db(0x232)](){return this['parseRawResponseBody']();}[a0_0x5ba6db(0x26b)](){const _0x42d21f=a0_0x5ba6db,_0x3191f1=this[_0x42d21f(0x24b)]();return Object[_0x42d21f(0xe9)](_0x3191f1);}[a0_0x5ba6db(0x194)](){const _0x216865=a0_0x5ba6db,_0x8d5cb8=this[_0x216865(0x24b)](),_0x36067d={};return Object['entries'](_0x8d5cb8)[_0x216865(0x2a7)](([_0x3da81a,_0x10b798])=>{const _0x412936=_0x216865,_0x55f181=_0x10b798;_0x36067d[_0x3da81a]=generateExampleValue(_0x3da81a,_0x55f181[_0x412936(0xe8)]||_0x412936(0x1bb),undefined,{'description':_0x55f181['description']});}),_0x36067d;}[a0_0x5ba6db(0x2aa)](){const _0x4d52a8=a0_0x5ba6db;return this[_0x4d52a8(0x194)]();}[a0_0x5ba6db(0x262)](){const _0x43d18f=a0_0x5ba6db,_0x3bf1d3=this[_0x43d18f(0x170)]();if(!_0x3bf1d3){const _0x435596={};return _0x435596['success']=!![],_0x435596[_0x43d18f(0x10f)]=_0x43d18f(0x1b6),_0x435596[_0x43d18f(0x1d0)]='',_0x435596[_0x43d18f(0x2eb)]=_0x43d18f(0x1ca),_0x435596[_0x43d18f(0x98)]=null,_0x435596;}return this['generateFromSchema'](_0x3bf1d3);}[a0_0x5ba6db(0x71)](_0x40d463){const _0x23b8a6=a0_0x5ba6db;if(!_0x40d463||typeof _0x40d463!==_0x23b8a6(0x181))return{};if(Array[_0x23b8a6(0x2f6)](_0x40d463))return _0x40d463[_0x23b8a6(0x1d6)]>0x0?[this[_0x23b8a6(0x71)](_0x40d463[0x0])]:[];const _0x596215={};for(const [_0x551ef5,_0x4a3a15]of Object['entries'](_0x40d463)){if(_0x4a3a15&&typeof _0x4a3a15===_0x23b8a6(0x181)&&!Array[_0x23b8a6(0x2f6)](_0x4a3a15)){const _0x21705d=_0x4a3a15;_0x596215[_0x551ef5]=generateExampleValue(_0x551ef5,_0x21705d['type']||_0x23b8a6(0x1bb),undefined,{'description':_0x21705d[_0x23b8a6(0x1ce)]});}else Array['isArray'](_0x4a3a15)?_0x596215[_0x551ef5]=_0x4a3a15[_0x23b8a6(0x1d6)]>0x0?[this[_0x23b8a6(0x71)](_0x4a3a15[0x0])]:[]:_0x596215[_0x551ef5]=_0x4a3a15;}return _0x596215;}[a0_0x5ba6db(0x1f1)](_0x16a596,_0x29b28e,_0x29a038,_0x5a4b87){return generateExampleValue(_0x16a596,_0x29b28e,_0x29a038,_0x5a4b87);}[a0_0x5ba6db(0x13a)](_0x30d11f,_0x337c5b){const _0x55e6ac=a0_0x5ba6db,_0x20c196=this['getName']();return _0x55e6ac(0x1a6)+_0x30d11f+'.'+_0x20c196+'();';}['generateUsageExample'](_0x2ca17d){const _0x3a7346=a0_0x5ba6db,_0x4e979e=this['getName'](),_0x5c9fe5=_0x2ca17d||_0x3a7346(0x21b),_0x257e2c={};return _0x257e2c[_0x3a7346(0x2ee)]=_0x3a7346(0x249)+_0x5c9fe5+'.'+_0x4e979e+_0x3a7346(0x1fa),_0x257e2c[_0x3a7346(0x2eb)]=_0x3a7346(0xfa)+_0x5c9fe5+'.'+_0x4e979e+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x257e2c;}[a0_0x5ba6db(0x70)](){const _0x3c8893=a0_0x5ba6db,_0x5d0fc0=this[_0x3c8893(0x24b)](),_0x29f1ab=Object[_0x3c8893(0x1c9)](_0x5d0fc0)[_0x3c8893(0xc9)](([_0x3af01a,_0x2a3a25])=>{const _0x161354=_0x3c8893,_0xb7cabd=_0x2a3a25,_0x22ca65={};return _0x22ca65[_0x161354(0x176)]=_0x3af01a,_0x22ca65[_0x161354(0xe8)]=_0xb7cabd[_0x161354(0xe8)]||_0x161354(0x1bb),_0x22ca65[_0x161354(0x1ce)]=_0xb7cabd[_0x161354(0x1ce)]||'-',_0x22ca65[_0x161354(0x1ae)]=_0xb7cabd['required'],_0x22ca65;}),_0x26a081={};return _0x26a081[_0x3c8893(0x165)]=_0x29f1ab,_0x26a081;}[a0_0x5ba6db(0x16b)](){const _0x1688fa=a0_0x5ba6db,_0x4c2de3=this[_0x1688fa(0x170)]();if(!_0x4c2de3){const _0x2edff0={};return _0x2edff0[_0x1688fa(0x165)]=[],_0x2edff0;}const _0xb1b83a=Object[_0x1688fa(0x1c9)](_0x4c2de3)['map'](([_0x89e5c0,_0x532f6c])=>{const _0x3b5e29=_0x1688fa,_0x1da33f=_0x532f6c,_0x17c437={};return _0x17c437[_0x3b5e29(0x176)]=_0x89e5c0,_0x17c437[_0x3b5e29(0xe8)]=_0x1da33f['type']||_0x3b5e29(0x1bb),_0x17c437[_0x3b5e29(0x1ce)]=_0x1da33f['description']||'-',_0x17c437;}),_0x5971cd={};return _0x5971cd[_0x1688fa(0x165)]=_0xb1b83a,_0x5971cd;}[a0_0x5ba6db(0x2fe)](){return[];}['getBusinessFields'](){const _0x4c15ac=a0_0x5ba6db;return this['context'][_0x4c15ac(0x145)]||[];}[a0_0x5ba6db(0x109)](){const _0x2dc064=a0_0x5ba6db;return{'systemFields':this[_0x2dc064(0x2fe)](),'businessFields':this[_0x2dc064(0x287)]()};}['getFieldDefinition'](_0x51ec4c){const _0xebbe42=a0_0x5ba6db;return this[_0xebbe42(0x111)][_0xebbe42(0x145)][_0xebbe42(0xbf)](_0x5c89ea=>_0x5c89ea?.[_0xebbe42(0x1f0)]===_0x51ec4c);}['getFieldCode'](_0x4d57eb){const _0x2727cb=a0_0x5ba6db;return _0x4d57eb[_0x2727cb(0x1f0)];}[a0_0x5ba6db(0x1c6)](_0x85d222){const _0x1cde8a=a0_0x5ba6db;return _0x85d222[_0x1cde8a(0xe8)];}['getFieldDisplayName'](_0x3a1002){const _0x57948f=a0_0x5ba6db;return _0x3a1002[_0x57948f(0x176)];}[a0_0x5ba6db(0x1a3)](_0x3ebdc7){return _0x3ebdc7['description'];}['getFieldOptions'](_0x40da52){const _0x38af12=a0_0x5ba6db;return _0x40da52[_0x38af12(0x225)]()||null;}[a0_0x5ba6db(0x235)](_0x2c5f06){const _0x31c448=a0_0x5ba6db;return _0x2c5f06[_0x31c448(0x18a)]();}['getOperators'](){return[];}['getFieldOperators'](_0x212b20){return[];}[a0_0x5ba6db(0x308)](){const _0x5edaca=a0_0x5ba6db;return{'name':this[_0x5edaca(0x1e7)](),'displayName':this[_0x5edaca(0x2a1)](),'type':this[_0x5edaca(0x295)](),'enabled':this['isEnabled'](),'method':this[_0x5edaca(0x149)](),'path':this[_0x5edaca(0x1e9)](),'fullUrl':this[_0x5edaca(0x1d2)](),'requestParams':this['getRequestParams'](),'requestExample':this[_0x5edaca(0x194)](),'responseExample':this[_0x5edaca(0x262)]()};}[a0_0x5ba6db(0x146)](){const _0x6c9196=a0_0x5ba6db,_0x537d18=this[_0x6c9196(0x2c6)]()?'启用':'禁用';return this[_0x6c9196(0x2a1)]()+'('+this['name']+',\x20'+_0x537d18+')';}}class GenericOperation extends Operation{[a0_0x5ba6db(0x2a2)];[a0_0x5ba6db(0x24b)](){const _0x3270fe=a0_0x5ba6db;return this[_0x3270fe(0x157)]();}['getResponseSchema'](){const _0x59e879=a0_0x5ba6db;return this[_0x59e879(0x170)]();}[a0_0x5ba6db(0x194)](){const _0x313c1a=a0_0x5ba6db;if(this[_0x313c1a(0x2a2)])return this['_requestExampleCache'];const _0x4acca3={},_0x1b3924=this[_0x313c1a(0x24b)](),_0x136c89=this[_0x313c1a(0x295)]();if(Object[_0x313c1a(0xe9)](_0x1b3924)['length']===0x0&&_0x136c89){const _0x7a20b2=this[_0x313c1a(0x287)]();return _0x7a20b2[_0x313c1a(0x2a7)](_0x491c91=>{const _0x2718ce=_0x313c1a,_0x2ae122=_0x491c91['code'],_0x338c00=_0x491c91[_0x2718ce(0xe8)],_0x48d64f=this['generateFieldExample'](_0x2ae122,_0x338c00,_0x491c91[_0x2718ce(0x1da)](),{'isPrimaryKey':_0x491c91[_0x2718ce(0x18a)](),'description':_0x491c91['description']||_0x491c91[_0x2718ce(0x176)]});_0x4acca3[_0x2ae122]=_0x48d64f;}),this[_0x313c1a(0x2a2)]=_0x4acca3,_0x4acca3;}return Object[_0x313c1a(0x1c9)](_0x1b3924)['forEach'](([_0xed7d4f,_0x256bae])=>{const _0x6ca79=_0x313c1a,_0x4e0d9a=_0x256bae;let _0x4c5eed;if(typeof _0x4e0d9a[_0x6ca79(0xe8)]===_0x6ca79(0x27c))_0x4c5eed=_0x4e0d9a['type'];else _0x4e0d9a[_0x6ca79(0xe8)]&&typeof _0x4e0d9a[_0x6ca79(0xe8)]==='object'?_0x4c5eed=_0x4e0d9a[_0x6ca79(0xe8)][_0x6ca79(0xe8)]||_0x6ca79(0x1ac):_0x4c5eed=_0x6ca79(0x1ac);const _0x4890ae=_0x4e0d9a[_0x6ca79(0x1ce)],_0xaa6b1e=this[_0x6ca79(0xac)](_0xed7d4f);if(_0xed7d4f==='currentPage')_0x4acca3[_0xed7d4f]=0x1;else{if(_0xed7d4f==='pageSize')_0x4acca3[_0xed7d4f]=0xa;else{if(_0xed7d4f==='id')_0x4acca3[_0xed7d4f]=0x1;else{const _0x18a0b5=_0xaa6b1e?_0xaa6b1e[_0x6ca79(0x1da)]():undefined,_0xfc4069=_0xaa6b1e?_0xaa6b1e[_0x6ca79(0x1ce)]:undefined,_0x2053ca=_0xaa6b1e?_0xaa6b1e[_0x6ca79(0x176)]:undefined;_0x4acca3[_0xed7d4f]=this['generateFieldExample'](_0xed7d4f,_0x4c5eed,_0x18a0b5||undefined,{'isPrimaryKey':_0xed7d4f===this['context'][_0x6ca79(0x9a)]||_0xed7d4f==='id','description':_0x4890ae||_0xfc4069||_0x2053ca});}}}}),this['_requestExampleCache']=_0x4acca3,_0x4acca3;}[a0_0x5ba6db(0x262)](){const _0x3e8608=a0_0x5ba6db,_0xb2baf0=this[_0x3e8608(0x232)]();if(!_0xb2baf0){const _0x48ce52={};return _0x48ce52[_0x3e8608(0x231)]=!![],_0x48ce52[_0x3e8608(0x10f)]=_0x3e8608(0x1b6),_0x48ce52['errorMsg']='',_0x48ce52['errorCode']=_0x3e8608(0x1ca),_0x48ce52['data']=null,_0x48ce52;}return this[_0x3e8608(0x71)](_0xb2baf0);}[a0_0x5ba6db(0x71)](_0x32ddcf){const _0x280e28=a0_0x5ba6db;if(!_0x32ddcf||typeof _0x32ddcf!==_0x280e28(0x181))return{};if(Array[_0x280e28(0x2f6)](_0x32ddcf)){if(_0x32ddcf[_0x280e28(0x1d6)]>0x0)return[this['generateFromSchema'](_0x32ddcf[0x0])];return[];}const _0x2ba4e7={};return Object['keys'](_0x32ddcf)[_0x280e28(0x2a7)](_0x2f705c=>{const _0x8752b4=_0x280e28,_0x4430e4=_0x32ddcf[_0x2f705c];if(_0x4430e4&&typeof _0x4430e4==='object'&&!Array['isArray'](_0x4430e4)&&_0x4430e4[_0x8752b4(0xe8)]){const _0x358be5=_0x4430e4;let _0x5db559;if(typeof _0x358be5[_0x8752b4(0xe8)]==='string')_0x5db559=_0x358be5['type'];else _0x358be5[_0x8752b4(0xe8)]&&typeof _0x358be5['type']===_0x8752b4(0x181)?_0x5db559=_0x358be5[_0x8752b4(0xe8)]['type']||_0x8752b4(0x1ac):_0x5db559=_0x8752b4(0x1ac);const _0x4b70ad=_0x358be5[_0x8752b4(0x1ce)],_0x50801f={};_0x50801f[_0x8752b4(0x1ce)]=_0x4b70ad,_0x2ba4e7[_0x2f705c]=this[_0x8752b4(0x1f1)](_0x2f705c,_0x5db559,undefined,_0x50801f);}else{if(Array[_0x8752b4(0x2f6)](_0x4430e4))_0x2ba4e7[_0x2f705c]=_0x4430e4[_0x8752b4(0x1d6)]>0x0?[this[_0x8752b4(0x71)](_0x4430e4[0x0])]:[];else _0x4430e4&&typeof _0x4430e4===_0x8752b4(0x181)?_0x2ba4e7[_0x2f705c]=this['generateFromSchema'](_0x4430e4):_0x2ba4e7[_0x2f705c]=_0x4430e4;}}),_0x2ba4e7;}[a0_0x5ba6db(0x13a)](_0x4e65ec,_0x247c41){const _0x48728c=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x247c41||{},_0x4a5d3c=this[_0x48728c(0x1e7)](),_0x4690a1=this[_0x48728c(0x295)](),_0x30ddcc=this['getRequestFields'](),_0x3ad593=this[_0x48728c(0x194)](),_0x2fce96=_0x12b020=>{const _0x295c02=_0x48728c;if(Object['keys'](_0x12b020)[_0x295c02(0x1d6)]===0x0)return'{}';const _0x9e409a=JSON[_0x295c02(0x275)](_0x12b020,null,0x2)[_0x295c02(0x294)]('\x0a')[_0x295c02(0xc9)]((_0x2265b3,_0x5c93a2)=>_0x5c93a2===0x0?_0x2265b3:indent+_0x2265b3)[_0x295c02(0x18b)]('\x0a');return _0x9e409a;};switch(_0x4690a1){case'getOne':case'delete':return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x1a5);case'update':if(useFullExample&&Object[_0x48728c(0xe9)](_0x3ad593)[_0x48728c(0x1d6)]>0x0)return _0x48728c(0x1a6)+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x19a)+_0x2fce96(_0x3ad593)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x7a);case _0x48728c(0x2c2):case _0x48728c(0x1d7):case _0x48728c(0x20f):default:if(_0x30ddcc[_0x48728c(0x1d6)]>0x0){if(useFullExample&&Object[_0x48728c(0xe9)](_0x3ad593)['length']>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+'('+_0x2fce96(_0x3ad593)+');';else{const _0x7144e5=Object[_0x48728c(0xe9)](_0x3ad593);if(_0x7144e5[_0x48728c(0x1d6)]>0x0){const _0x49c999=_0x7144e5['slice'](0x0,0x2)[_0x48728c(0x18b)](',\x20');return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x15b)+_0x49c999+',\x20...\x20});';}else return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0xc3);}}else return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x1fa);}}[a0_0x5ba6db(0xe6)](){const _0x1a5479=a0_0x5ba6db;return[{'title':_0x1a5479(0x1a2),'data':this[_0x1a5479(0x194)]()}];}['getSystemFields'](){const _0x363d8c=a0_0x5ba6db,_0x1df83c=this[_0x363d8c(0x295)](),_0x18b692=[];switch(_0x1df83c){case'getOne':case'delete':const _0x570771={};_0x570771[_0x363d8c(0x1f0)]='id',_0x570771[_0x363d8c(0xe8)]='NUMBER',_0x570771[_0x363d8c(0x1ce)]=_0x363d8c(0x1b1),_0x18b692[_0x363d8c(0x296)](_0x570771);break;case _0x363d8c(0x1d7):const _0x5c5993={};_0x5c5993[_0x363d8c(0x1f0)]=_0x363d8c(0x319),_0x5c5993[_0x363d8c(0xe8)]='NUMBER',_0x5c5993[_0x363d8c(0x1ce)]=_0x363d8c(0x234);const _0x197424={};_0x197424[_0x363d8c(0x1f0)]=_0x363d8c(0x27b),_0x197424[_0x363d8c(0xe8)]=_0x363d8c(0x135),_0x197424[_0x363d8c(0x1ce)]=_0x363d8c(0x26a),_0x18b692[_0x363d8c(0x296)](_0x5c5993,_0x197424);break;case _0x363d8c(0x20f):const _0x553df3={};_0x553df3['code']='code',_0x553df3[_0x363d8c(0xe8)]='STRING',_0x553df3['description']='选项编码(可选)',_0x18b692[_0x363d8c(0x296)](_0x553df3);break;default:break;}return _0x18b692;}[a0_0x5ba6db(0x287)](){const _0x1fee59=a0_0x5ba6db,_0x94831f=this[_0x1fee59(0x295)](),_0x599fbf=this[_0x1fee59(0x111)][_0x1fee59(0x145)]||[];switch(_0x94831f){case _0x1fee59(0x2b4):case _0x1fee59(0x24d):return[];case _0x1fee59(0x2c2):return _0x599fbf[_0x1fee59(0x7e)](_0xd34364=>{const _0x248832=_0x1fee59;if(_0xd34364[_0x248832(0xda)])return![];if(_0xd34364['isPrimaryKey']()&&_0xd34364[_0x248832(0x2e5)]())return![];if(_0xd34364[_0x248832(0xe3)]())return![];if(_0xd34364[_0x248832(0x118)]()||_0xd34364[_0x248832(0x23f)]())return![];return!![];});case'update':return _0x599fbf['filter'](_0x372a38=>{const _0x56236d=_0x1fee59;if(_0x372a38[_0x56236d(0xda)])return![];if(_0x372a38['isPrimaryKey']())return![];if(_0x372a38[_0x56236d(0xe3)]())return![];if(_0x372a38['isCreateTime']()||_0x372a38[_0x56236d(0x23f)]())return![];if(_0x372a38[_0x56236d(0x2e5)]())return![];return!![];});case _0x1fee59(0x1d7):case'getSelectOptions':return _0x599fbf['filter'](_0x363d8f=>!_0x363d8f[_0x1fee59(0xda)]&&_0x363d8f[_0x1fee59(0x188)]());default:return _0x599fbf['filter'](_0x4e455e=>!_0x4e455e[_0x1fee59(0xda)]&&_0x4e455e[_0x1fee59(0x188)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x5ba6db(0x24b)](){const _0x5a9193=a0_0x5ba6db,_0x17ea6b=super['getRequestParams'](),_0xb6abb=Object[_0x5a9193(0xe9)](_0x17ea6b);if(_0xb6abb[_0x5a9193(0x1d6)]===0x0||_0xb6abb['length']===0x1&&_0xb6abb[0x0]===_0x5a9193(0x1f0)){if(!_0x17ea6b['code']){const _0x369363={};_0x369363[_0x5a9193(0xe8)]='String',_0x369363[_0x5a9193(0x1ce)]=_0x5a9193(0x245),_0x17ea6b['code']=_0x369363;}const _0x2068d3={};_0x2068d3[_0x5a9193(0xe8)]=_0x5a9193(0x1bb),_0x2068d3[_0x5a9193(0x1ce)]=_0x5a9193(0x27f),_0x17ea6b[_0x5a9193(0x2c4)]=_0x2068d3;}return _0x17ea6b;}[a0_0x5ba6db(0x287)](){return[];}[a0_0x5ba6db(0x2fe)](){const _0x42285d=a0_0x5ba6db,_0x455848={};_0x455848[_0x42285d(0x1f0)]='code',_0x455848[_0x42285d(0xe8)]=_0x42285d(0x1bb),_0x455848[_0x42285d(0x1ce)]='字段编码';const _0x19863c={};return _0x19863c[_0x42285d(0x1f0)]=_0x42285d(0x2c4),_0x19863c[_0x42285d(0xe8)]='String',_0x19863c[_0x42285d(0x1ce)]=_0x42285d(0x27f),[_0x455848,_0x19863c];}[a0_0x5ba6db(0x194)](){const _0x2ffbea=a0_0x5ba6db,_0x3e6376={};return _0x3e6376[_0x2ffbea(0x1f0)]=_0x2ffbea(0x252),_0x3e6376[_0x2ffbea(0x2c4)]=_0x2ffbea(0x252),_0x3e6376;}[a0_0x5ba6db(0x13a)](_0x4cb4be){const _0x28f868=a0_0x5ba6db,_0x3434d0=this['getName']();return _0x28f868(0x1a6)+_0x4cb4be+'.'+_0x3434d0+_0x28f868(0xc7);}}class GetListOperation extends GenericOperation{[a0_0x5ba6db(0x24b)](){const _0x48dd07=a0_0x5ba6db,_0x233356=super[_0x48dd07(0x24b)](),{currentPage:_0x3d78d5,pageSize:_0x3834bc,..._0xf34c54}=_0x233356,_0x4599a0={};Object[_0x48dd07(0x1c9)](_0xf34c54)[_0x48dd07(0x2a7)](([_0x42e34b,_0x447436])=>{const _0x577f29=_0x48dd07;if(typeof _0x447436===_0x577f29(0x181)&&_0x447436!==null){const _0xd42ae6=_0x447436,_0x14cb14=_0xd42ae6[_0x577f29(0x1ce)]||'',_0x20ff9e={..._0xd42ae6};_0x20ff9e[_0x577f29(0x1ce)]=_0x14cb14?_0x14cb14+_0x577f29(0x1bc):_0x577f29(0x179),_0x4599a0[_0x42e34b]=_0x20ff9e;}else _0x4599a0[_0x42e34b]=_0x447436;});const _0x487ab3={...typeof _0x3d78d5===_0x48dd07(0x181)?_0x3d78d5:{}};_0x487ab3[_0x48dd07(0xe8)]='Number',_0x487ab3['description']=_0x48dd07(0x234);const _0x2dcfee={...typeof _0x3834bc===_0x48dd07(0x181)?_0x3834bc:{}};_0x2dcfee[_0x48dd07(0xe8)]=_0x48dd07(0x119),_0x2dcfee[_0x48dd07(0x1ce)]='每页数量';const _0x2a85b4={..._0x4599a0};return _0x2a85b4[_0x48dd07(0x319)]=_0x487ab3,_0x2a85b4[_0x48dd07(0x27b)]=_0x2dcfee,_0x2a85b4;}[a0_0x5ba6db(0x194)](_0x304ffe){const _0x21c27e=a0_0x5ba6db,{useArrayValues:useArrayValues=!![]}=_0x304ffe||{},_0x22b4db=super[_0x21c27e(0x194)](),{currentPage:_0x577335,pageSize:_0x1cc6b4,..._0x119ef4}=_0x22b4db;if(!useArrayValues){const _0x25965a={..._0x119ef4};return _0x25965a[_0x21c27e(0x319)]=_0x577335??0x1,_0x25965a['pageSize']=_0x1cc6b4??0xa,_0x25965a;}const _0x150906={},_0x31bb4c=['id',_0x21c27e(0x137),_0x21c27e(0x1f0),'type'];Object[_0x21c27e(0x1c9)](_0x119ef4)[_0x21c27e(0x2a7)](([_0x1fbc98,_0x180cda],_0x41bfaa)=>{const _0x2200c9=_0x21c27e,_0xf55681=_0x31bb4c[_0x2200c9(0x229)](_0x132af3=>_0x1fbc98[_0x2200c9(0x291)]()[_0x2200c9(0x122)](_0x132af3))||_0x41bfaa%0x3===0x0;if(_0xf55681&&_0x180cda!==null&&_0x180cda!==undefined){if(typeof _0x180cda===_0x2200c9(0xd3))_0x150906[_0x1fbc98]=[_0x180cda,_0x180cda+0x1,_0x180cda+0x2];else typeof _0x180cda===_0x2200c9(0x27c)?_0x150906[_0x1fbc98]=[_0x180cda,_0x180cda+'_2',_0x180cda+'_3']:_0x150906[_0x1fbc98]=[_0x180cda];}else _0x150906[_0x1fbc98]=_0x180cda;});const _0x11a60a={..._0x150906};return _0x11a60a[_0x21c27e(0x319)]=_0x577335??0x1,_0x11a60a['pageSize']=_0x1cc6b4??0xa,_0x11a60a;}['generateSingleValueExample'](){const _0x5dd6d7=a0_0x5ba6db,_0x47c1d9={};return _0x47c1d9[_0x5dd6d7(0x16c)]=![],this[_0x5dd6d7(0x194)](_0x47c1d9);}[a0_0x5ba6db(0xe6)](){const _0x1ac967=a0_0x5ba6db;return[{'title':_0x1ac967(0x2d3),'description':_0x1ac967(0x124),'data':this[_0x1ac967(0x2a0)]()},{'title':_0x1ac967(0x12e),'description':'支持多个条件','data':this[_0x1ac967(0x194)]()}];}[a0_0x5ba6db(0x13a)](_0x112a4c,_0x3ec512){const _0x4df63b=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3ec512||{},_0x16e9e6=this[_0x4df63b(0x1e7)](),_0x4ed0db={};_0x4ed0db[_0x4df63b(0x16c)]=!![];const _0x35f22c=this[_0x4df63b(0x194)](_0x4ed0db),{currentPage:_0xf9f66c,pageSize:_0x38ffb1,..._0x23162f}=_0x35f22c;if(useFullExample&&Object[_0x4df63b(0xe9)](_0x35f22c)[_0x4df63b(0x1d6)]>0x0){const _0x2aede8=Object[_0x4df63b(0xe9)](_0x23162f)[_0x4df63b(0x1d6)]>0x0;if(_0x2aede8){const _0x432b04=this[_0x4df63b(0x2a0)](),_0xa94519=_0x3bb7e9=>{const _0x93e0c=_0x4df63b;return JSON[_0x93e0c(0x275)](_0x3bb7e9,null,0x2)['split']('\x0a')[_0x93e0c(0xc9)]((_0x149319,_0x15a8ef)=>_0x15a8ef===0x0?_0x149319:indent+_0x149319)[_0x93e0c(0x18b)]('\x0a');};return _0x4df63b(0x236)+_0x112a4c+'.'+_0x16e9e6+'('+_0xa94519(_0x432b04)+_0x4df63b(0x258)+_0x112a4c+'.'+_0x16e9e6+'('+_0xa94519(_0x35f22c)+');';}else{const _0x7cc088=JSON['stringify'](_0x35f22c,null,0x2)[_0x4df63b(0x294)]('\x0a')[_0x4df63b(0xc9)]((_0x185ad3,_0x2d93d)=>_0x2d93d===0x0?_0x185ad3:indent+_0x185ad3)[_0x4df63b(0x18b)]('\x0a');return _0x4df63b(0x1a6)+_0x112a4c+'.'+_0x16e9e6+'('+_0x7cc088+');';}}if(Object[_0x4df63b(0xe9)](_0x23162f)[_0x4df63b(0x1d6)]>0x0){const _0x122a24=Object['keys'](_0x23162f)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x112a4c+'.'+_0x16e9e6+_0x4df63b(0x15b)+_0x122a24+_0x4df63b(0x1e5);}return _0x4df63b(0x1a6)+_0x112a4c+'.'+_0x16e9e6+_0x4df63b(0x6e);}}var AGGREGATE_FUNCTIONS=[a0_0x5ba6db(0x1af),a0_0x5ba6db(0x16a),a0_0x5ba6db(0x1c3),a0_0x5ba6db(0x19c),a0_0x5ba6db(0x65)],FILTER_OPERATORS=[a0_0x5ba6db(0x22d),a0_0x5ba6db(0x22b),a0_0x5ba6db(0x247),a0_0x5ba6db(0x87),a0_0x5ba6db(0x228),a0_0x5ba6db(0x2b2),a0_0x5ba6db(0xe7),'$contain',a0_0x5ba6db(0x1b0),a0_0x5ba6db(0x30e),a0_0x5ba6db(0xa8),'$or'];class FilterOperation extends GenericOperation{constructor(_0x53424f,_0x36c74d,_0x2f046b){super(_0x53424f,_0x36c74d,_0x2f046b);}[a0_0x5ba6db(0x1ab)](){return FILTER_OPERATORS;}[a0_0x5ba6db(0x1c8)](_0x191976){const _0x53ee42=a0_0x5ba6db,_0x49d7ed=this[_0x53ee42(0xac)](_0x191976);if(!_0x49d7ed)return[];return this[_0x53ee42(0x1d8)](_0x49d7ed);}[a0_0x5ba6db(0x24b)](){const _0x485a2c=a0_0x5ba6db,_0x5c78c8=super['getRequestParams'](),_0x528936={};_0x528936[_0x485a2c(0xe8)]=_0x485a2c(0x9d),_0x528936[_0x485a2c(0x1ce)]=_0x485a2c(0x1d5),_0x528936[_0x485a2c(0x1ae)]=![];const _0x50659d={};_0x50659d[_0x485a2c(0xe8)]='String[]',_0x50659d['description']='返回字段列表(字段投影)',_0x50659d['required']=![];const _0x584cd8={};_0x584cd8[_0x485a2c(0xe8)]=_0x485a2c(0x196),_0x584cd8[_0x485a2c(0x1ce)]=_0x485a2c(0x156),_0x584cd8[_0x485a2c(0x1ae)]=![];const _0x366be2={};_0x366be2[_0x485a2c(0xe8)]=_0x485a2c(0x119),_0x366be2[_0x485a2c(0x1ce)]=_0x485a2c(0x234),_0x366be2[_0x485a2c(0x1ae)]=![],_0x366be2['default']=0x1;const _0x37497f={};_0x37497f[_0x485a2c(0xe8)]=_0x485a2c(0x119),_0x37497f[_0x485a2c(0x1ce)]='每页数量',_0x37497f[_0x485a2c(0x1ae)]=![],_0x37497f[_0x485a2c(0x91)]=0xa;const _0x4e58c0={..._0x5c78c8};return _0x4e58c0[_0x485a2c(0xc5)]=_0x528936,_0x4e58c0['select']=_0x50659d,_0x4e58c0['orderBy']=_0x584cd8,_0x4e58c0[_0x485a2c(0x319)]=_0x366be2,_0x4e58c0[_0x485a2c(0x27b)]=_0x37497f,_0x4e58c0;}['getSystemFields'](){const _0x283c8d=a0_0x5ba6db,_0x41083d=this[_0x283c8d(0x24b)](),_0x292a55=[],_0x3f9766=[_0x283c8d(0xc5),_0x283c8d(0x198),_0x283c8d(0x2e9),'currentPage',_0x283c8d(0x27b)];return Object[_0x283c8d(0x1c9)](_0x41083d)[_0x283c8d(0x2a7)](([_0x4d34be,_0x10e51a])=>{const _0x3a4702=_0x283c8d;if(_0x3f9766['includes'](_0x4d34be)){const _0x163580=_0x10e51a,_0x1713fe={};_0x1713fe[_0x3a4702(0x1f0)]=_0x4d34be,_0x1713fe[_0x3a4702(0xe8)]=_0x163580[_0x3a4702(0xe8)]||_0x3a4702(0x9d),_0x1713fe[_0x3a4702(0x1ce)]=_0x163580[_0x3a4702(0x1ce)]||'-',_0x292a55[_0x3a4702(0x296)](_0x1713fe);}}),_0x292a55;}[a0_0x5ba6db(0x287)](){const _0x2cdea5=a0_0x5ba6db;return this[_0x2cdea5(0x111)][_0x2cdea5(0x145)]||[];}[a0_0x5ba6db(0x270)](){const _0x1f1707=a0_0x5ba6db;return{'systemParams':this[_0x1f1707(0x2fe)](),'businessFields':this[_0x1f1707(0x287)]()};}[a0_0x5ba6db(0x194)](){const _0x37f66d=a0_0x5ba6db,_0x48799b=this[_0x37f66d(0x111)]['fields']||[];if(_0x48799b[_0x37f66d(0x1d6)]===0x0){const _0x529cb4={};return _0x529cb4[_0x37f66d(0xc5)]={},_0x529cb4[_0x37f66d(0x319)]=0x1,_0x529cb4['pageSize']=0x14,_0x529cb4;}const _0x2352d0={},_0x581652=_0x48799b[_0x37f66d(0x1a0)](0x0,Math['min'](0x3,_0x48799b[_0x37f66d(0x1d6)]));_0x581652[_0x37f66d(0x2a7)](_0x2ff03c=>{const _0x34651c=_0x37f66d,_0x378350=this[_0x34651c(0x1d8)](_0x2ff03c);if(_0x378350['length']===0x0)return;const _0x2140cb=this[_0x34651c(0x21c)](_0x2ff03c,_0x378350),_0x3b59dd=this[_0x34651c(0x1aa)](_0x2ff03c,_0x2140cb),_0x1ed643={};_0x1ed643[_0x2140cb]=_0x3b59dd,_0x2352d0[_0x2ff03c[_0x34651c(0x1f0)]]=_0x1ed643;});const _0x12548f=_0x48799b[_0x37f66d(0x1a0)](0x0,Math[_0x37f66d(0x65)](0x5,_0x48799b[_0x37f66d(0x1d6)]))[_0x37f66d(0xc9)](_0x189845=>_0x189845['code']),_0x24a071=_0x48799b[0x0]?_0x48799b[0x0]['code']:'id',_0x3bc080={};_0x3bc080[_0x24a071]=_0x37f66d(0x2b1);const _0x5ba0fa={};return _0x5ba0fa[_0x37f66d(0xc5)]=_0x2352d0,_0x5ba0fa[_0x37f66d(0x198)]=_0x12548f,_0x5ba0fa[_0x37f66d(0x2e9)]=[_0x3bc080],_0x5ba0fa[_0x37f66d(0x319)]=0x1,_0x5ba0fa[_0x37f66d(0x27b)]=0x14,_0x5ba0fa;}[a0_0x5ba6db(0x13a)](_0x578989,_0x202c18){const _0x451da2=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x202c18||{},_0x3b6a5b=this[_0x451da2(0x1e7)](),_0x209e19=this[_0x451da2(0x194)](),_0x6cdefa=_0x392e0b=>{const _0x1d4b71=_0x451da2;return JSON[_0x1d4b71(0x275)](_0x392e0b,null,0x2)['split']('\x0a')[_0x1d4b71(0xc9)]((_0x20f4e6,_0x1261d0)=>_0x1261d0===0x0?_0x20f4e6:indent+_0x20f4e6)['join']('\x0a');};if(useFullExample){const _0x1863c4=this[_0x451da2(0x111)][_0x451da2(0x145)]||[],_0x5b6507={'where':_0x1863c4[0x0]?{[_0x1863c4[0x0][_0x451da2(0x1f0)]]:{'$eq':this[_0x451da2(0x1aa)](_0x1863c4[0x0],_0x451da2(0x22d))}}:{},'select':_0x1863c4[_0x451da2(0x1a0)](0x0,0x3)[_0x451da2(0xc9)](_0x161145=>_0x161145[_0x451da2(0x1f0)]),'currentPage':0x1,'pageSize':0x14};let _0xaafb19='';if(_0x1863c4[_0x451da2(0x1d6)]>=0x3){const _0x14d7a1={};_0x14d7a1[_0x451da2(0xa8)]=[];const _0x3bb87b=_0x14d7a1,_0x2fd037=[];if(_0x1863c4[_0x451da2(0x1d6)]>0x0){const _0x223a15=_0x1863c4[_0x451da2(0xbf)](_0x5ecea5=>{const _0x3d4096=_0x451da2,_0x39e3c5=_0x5ecea5[_0x3d4096(0x1da)]();return[_0x3d4096(0x135),_0x3d4096(0xbe),_0x3d4096(0x1cd),_0x3d4096(0x1a7),'TINYINT','SMALLINT'][_0x3d4096(0x122)](_0x39e3c5);});if(_0x223a15){const _0x28fb34={};_0x28fb34[_0x451da2(0x247)]=0x0,_0x28fb34[_0x451da2(0x228)]=0x64;const _0x17800d={[_0x223a15[_0x451da2(0x1f0)]]:_0x28fb34};_0x2fd037[_0x451da2(0x296)](_0x17800d);}}if(_0x1863c4[_0x451da2(0x1d6)]>0x1){const _0x5ab3f3=_0x1863c4[_0x451da2(0xbf)](_0x498895=>{const _0x57ca56=_0x451da2,_0x3ba40e=_0x498895[_0x57ca56(0x1da)]();return[_0x57ca56(0x23c),_0x57ca56(0x1ac),_0x57ca56(0x2cb),_0x57ca56(0x6b),'LONGTEXT'][_0x57ca56(0x122)](_0x3ba40e);});if(_0x5ab3f3){const _0x1893fa={};_0x1893fa['$contain']=_0x451da2(0x2fb);const _0x240d58={[_0x5ab3f3[_0x451da2(0x1f0)]]:_0x1893fa};_0x2fd037[_0x451da2(0x296)](_0x240d58);}}if(_0x2fd037[_0x451da2(0x1d6)]>0x0){_0x3bb87b[_0x451da2(0xa8)]=_0x2fd037;const _0x264d3c={'where':_0x3bb87b,'select':_0x1863c4[_0x451da2(0x1a0)](0x0,0x4)['map'](_0x3c4a28=>_0x3c4a28['code']),'orderBy':[{[_0x1863c4[0x0][_0x451da2(0x1f0)]]:_0x451da2(0x2b1)}],'currentPage':0x1,'pageSize':0x14};_0xaafb19=_0x451da2(0x1f3)+_0x578989+'.'+_0x3b6a5b+'('+_0x6cdefa(_0x264d3c)+');';}}return _0x451da2(0x171)+_0x578989+'.'+_0x3b6a5b+'('+_0x6cdefa(_0x5b6507)+');'+_0xaafb19;}const _0x325faa=JSON[_0x451da2(0x275)](_0x209e19,null,0x2)[_0x451da2(0x294)]('\x0a')[_0x451da2(0xc9)]((_0x4d4cd1,_0x4fc15c)=>_0x4fc15c===0x0?_0x4d4cd1:indent+_0x4d4cd1)[_0x451da2(0x18b)]('\x0a');return _0x451da2(0x1a6)+_0x578989+'.'+_0x3b6a5b+'('+_0x325faa+');';}[a0_0x5ba6db(0x1d8)](_0x1b8fae){const _0x2a77d0=a0_0x5ba6db,_0x20c189=_0x1b8fae[_0x2a77d0(0x1da)](),_0x1f95b8=[];if([_0x2a77d0(0x135),_0x2a77d0(0xbe),_0x2a77d0(0x1cd),'DECIMAL'][_0x2a77d0(0x122)](_0x20c189)||[_0x2a77d0(0x1a7),_0x2a77d0(0x279),'SMALLINT',_0x2a77d0(0x1b7),_0x2a77d0(0x14d)][_0x2a77d0(0x122)](_0x20c189))_0x1f95b8[_0x2a77d0(0x296)]('$eq',_0x2a77d0(0x22b),_0x2a77d0(0x247),_0x2a77d0(0x228),_0x2a77d0(0x87),_0x2a77d0(0x2b2),_0x2a77d0(0xe7));else{if(['STRING',_0x2a77d0(0x1ac),_0x2a77d0(0x2cb)][_0x2a77d0(0x122)](_0x20c189)||[_0x2a77d0(0x6b),_0x2a77d0(0x9e)][_0x2a77d0(0x122)](_0x20c189))_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),_0x2a77d0(0x22b),_0x2a77d0(0xe7),_0x2a77d0(0xf4),_0x2a77d0(0x1b0),_0x2a77d0(0x30e));else{if([_0x2a77d0(0x108),_0x2a77d0(0x26f),_0x2a77d0(0x202)]['includes'](_0x20c189)||[_0x2a77d0(0x276)][_0x2a77d0(0x122)](_0x20c189))_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),'$ne',_0x2a77d0(0x247),_0x2a77d0(0x228),_0x2a77d0(0x87),_0x2a77d0(0x2b2));else[_0x2a77d0(0x28e),_0x2a77d0(0x28d),_0x2a77d0(0x15c)][_0x2a77d0(0x122)](_0x20c189)?_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),'$ne'):_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),'$ne');}}return _0x1f95b8;}[a0_0x5ba6db(0x21c)](_0x40dd52,_0x4a560a){const _0xa3b2b9=a0_0x5ba6db,_0x1e3bce=_0x40dd52[_0xa3b2b9(0x1da)]();if([_0xa3b2b9(0x135),'INTEGER','BIGINT','DECIMAL'][_0xa3b2b9(0x122)](_0x1e3bce)||[_0xa3b2b9(0x1a7),_0xa3b2b9(0x279),_0xa3b2b9(0x2c7),_0xa3b2b9(0x1b7),_0xa3b2b9(0x14d)]['includes'](_0x1e3bce))return _0x4a560a['includes'](_0xa3b2b9(0x247))?'$gte':_0xa3b2b9(0x22d);if([_0xa3b2b9(0x23c),'TEXT',_0xa3b2b9(0x2cb)][_0xa3b2b9(0x122)](_0x1e3bce)||['CHAR',_0xa3b2b9(0x9e)]['includes'](_0x1e3bce))return _0x4a560a[_0xa3b2b9(0x122)]('$contain')?_0xa3b2b9(0xf4):_0xa3b2b9(0x22d);if([_0xa3b2b9(0x108),_0xa3b2b9(0x26f),_0xa3b2b9(0x202),_0xa3b2b9(0x276)][_0xa3b2b9(0x122)](_0x1e3bce))return _0x4a560a[_0xa3b2b9(0x122)]('$gte')?_0xa3b2b9(0x247):_0xa3b2b9(0x22d);return _0xa3b2b9(0x22d);}['generateExampleValue'](_0x1f024b,_0x310299){const _0x2894ba=a0_0x5ba6db,_0x5ce1e2=_0x1f024b[_0x2894ba(0x1da)](),_0x388547=_0x1f024b[_0x2894ba(0x225)]();if(_0x388547&&_0x388547['length']>0x0){if(_0x310299===_0x2894ba(0xe7))return _0x388547[_0x2894ba(0x1a0)](0x0,0x2)['map'](_0xe158b5=>_0xe158b5[_0x2894ba(0x14b)]);return _0x388547[0x0][_0x2894ba(0x14b)];}if([_0x2894ba(0x135),_0x2894ba(0xbe),_0x2894ba(0x1cd),'DECIMAL'][_0x2894ba(0x122)](_0x5ce1e2)||[_0x2894ba(0x1a7),_0x2894ba(0x279),_0x2894ba(0x2c7),'DOUBLE',_0x2894ba(0x14d)][_0x2894ba(0x122)](_0x5ce1e2)){if(_0x310299===_0x2894ba(0xe7))return[0x1,0x2,0x3];if(_0x310299===_0x2894ba(0x247)||_0x310299==='$gteq')return 0x0;if(_0x310299===_0x2894ba(0x228)||_0x310299===_0x2894ba(0x2b2))return 0x64;return 0x1;}if(['STRING',_0x2894ba(0x1ac),_0x2894ba(0x2cb)][_0x2894ba(0x122)](_0x5ce1e2)||[_0x2894ba(0x6b),_0x2894ba(0x9e)]['includes'](_0x5ce1e2)){if(_0x310299===_0x2894ba(0xe7))return[_0x2894ba(0x215),'value2'];if(_0x310299===_0x2894ba(0xf4))return _0x2894ba(0x2fb);if(_0x310299==='$startWith')return _0x2894ba(0xa3);if(_0x310299===_0x2894ba(0x30e))return'suffix';return _0x2894ba(0x14b);}if([_0x2894ba(0x108),_0x2894ba(0x26f),_0x2894ba(0x202),_0x2894ba(0x276)][_0x2894ba(0x122)](_0x5ce1e2)){if(_0x310299===_0x2894ba(0x247)||_0x310299===_0x2894ba(0x87))return _0x2894ba(0x183);if(_0x310299===_0x2894ba(0x228)||_0x310299==='$lteq')return _0x2894ba(0xbd);return _0x2894ba(0x183);}if([_0x2894ba(0x28e),_0x2894ba(0x28d),_0x2894ba(0x15c)][_0x2894ba(0x122)](_0x5ce1e2))return!![];return _0x310299===_0x2894ba(0xe7)?[_0x2894ba(0x215),_0x2894ba(0x75)]:_0x2894ba(0x14b);}['getRequestParamsDocInfo'](){const _0x17b618=a0_0x5ba6db,_0x527625=super[_0x17b618(0x24b)](),_0x39f65f=Object['entries'](_0x527625)[_0x17b618(0x7e)](([_0x3015db])=>_0x3015db!==_0x17b618(0x319)&&_0x3015db!==_0x17b618(0x27b))[_0x17b618(0xc9)](([_0x9362c,_0x50fdc0])=>{const _0x92eb92=_0x17b618,_0x1037ca=_0x50fdc0,_0x3cf24c={};return _0x3cf24c['name']=_0x9362c,_0x3cf24c[_0x92eb92(0xe8)]=_0x1037ca[_0x92eb92(0xe8)]||_0x92eb92(0x1bb),_0x3cf24c[_0x92eb92(0x1ce)]=_0x1037ca[_0x92eb92(0x1ce)]||'-',_0x3cf24c[_0x92eb92(0x1ae)]=_0x1037ca[_0x92eb92(0x1ae)],_0x3cf24c;}),_0x392e47={};return _0x392e47['description']=_0x17b618(0x281),_0x392e47[_0x17b618(0x165)]=_0x39f65f,_0x392e47;}}class ExcelExportOperation extends GenericOperation{[a0_0x5ba6db(0x24b)](){const _0x289ad8=a0_0x5ba6db,_0x55c215=super[_0x289ad8(0x24b)]();if(Object[_0x289ad8(0xe9)](_0x55c215)[_0x289ad8(0x1d6)]===0x0){const _0x1c2594={};this['context']['fields'][_0x289ad8(0x2a7)](_0x550139=>{const _0x464b3c=_0x289ad8;if(_0x550139){const _0x4942d2=_0x550139['code'],_0x13f1f4=_0x550139[_0x464b3c(0x1da)](),_0x395dbb={};_0x395dbb['type']=_0x13f1f4||'TEXT',_0x395dbb[_0x464b3c(0x261)]=_0x550139[_0x464b3c(0x261)],_0x395dbb['description']=_0x550139[_0x464b3c(0x1ce)]||_0x550139[_0x464b3c(0x176)],_0x1c2594[_0x4942d2]=_0x395dbb;}});const _0x15b91b={};_0x15b91b[_0x289ad8(0xe8)]=_0x289ad8(0x123),_0x15b91b[_0x289ad8(0x1ce)]='当前页码(可选)',_0x1c2594[_0x289ad8(0x319)]=_0x15b91b;const _0x4df34f={};return _0x4df34f['type']=_0x289ad8(0x123),_0x4df34f['description']='每页数量(可选)',_0x1c2594[_0x289ad8(0x27b)]=_0x4df34f,_0x1c2594;}return _0x55c215;}['generateRequestExample'](){const _0x45a4da=a0_0x5ba6db,_0x543c98=super[_0x45a4da(0x194)]();if(Object[_0x45a4da(0xe9)](_0x543c98)[_0x45a4da(0x1d6)]===0x0){const _0x175739={};return _0x175739[_0x45a4da(0x319)]=0x1,_0x175739[_0x45a4da(0x27b)]=0x64,_0x175739;}const _0x44a1fd={..._0x543c98};return _0x44a1fd[_0x45a4da(0x319)]=_0x543c98[_0x45a4da(0x319)]??0x1,_0x44a1fd[_0x45a4da(0x27b)]=_0x543c98['pageSize']??0x64,_0x44a1fd;}[a0_0x5ba6db(0x262)](){const _0x34e988=a0_0x5ba6db,_0x5e8a40={};return _0x5e8a40[_0x34e988(0x231)]=!![],_0x5e8a40[_0x34e988(0x10f)]='',_0x5e8a40[_0x34e988(0x1d0)]='',_0x5e8a40[_0x34e988(0x2eb)]='0000',_0x5e8a40[_0x34e988(0x98)]=_0x34e988(0x239),_0x5e8a40['params']=null,_0x5e8a40;}[a0_0x5ba6db(0x13a)](_0x3c6908,_0x2e9931){const _0x17fc1e=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2e9931||{},_0x1476c0=this[_0x17fc1e(0x1e7)]();if(useFullExample){const _0x2adedc=this[_0x17fc1e(0x194)](),{currentPage:_0x40c4b2,pageSize:_0x2e70c4,..._0x45b742}=_0x2adedc,_0x53131a=Object[_0x17fc1e(0xe9)](_0x45b742)[_0x17fc1e(0x1d6)]>0x0;if(_0x53131a){const _0x57618c=_0x28ccd2=>{const _0x2038f5=_0x17fc1e;return JSON[_0x2038f5(0x275)](_0x28ccd2,null,0x2)[_0x2038f5(0x294)]('\x0a')[_0x2038f5(0xc9)]((_0x463d83,_0x3306ce)=>_0x3306ce===0x0?_0x463d83:indent+_0x463d83)[_0x2038f5(0x18b)]('\x0a');};return _0x17fc1e(0x1ba)+_0x3c6908+'.'+_0x1476c0+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+'('+_0x57618c(_0x2adedc)+');';}else{const _0x5606d1=_0x519951=>{const _0x33cec9=_0x17fc1e;return JSON[_0x33cec9(0x275)](_0x519951,null,0x2)['split']('\x0a')['map']((_0x34a22e,_0x5b6889)=>_0x5b6889===0x0?_0x34a22e:indent+_0x34a22e)[_0x33cec9(0x18b)]('\x0a');},_0x126cd2={};return _0x126cd2['currentPage']=0x1,_0x126cd2[_0x17fc1e(0x27b)]=0x64,'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+'();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+'('+_0x5606d1(_0x126cd2)+');';}}return'const\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+_0x17fc1e(0xf2);}['generateUsageExample'](_0xdf9cf2){const _0x411c52=a0_0x5ba6db,_0x3a4061=this[_0x411c52(0x1e7)](),_0x3e0d62=_0xdf9cf2||_0x411c52(0x21b),_0x4c3b3a=_0x411c52(0x186)+_0x3e0d62+'.'+_0x3a4061+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x3af797='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x3e0d62+'.'+_0x3a4061+_0x411c52(0x1d1),_0x3179ea={};return _0x3179ea[_0x411c52(0x2ee)]=_0x4c3b3a,_0x3179ea[_0x411c52(0x2eb)]=_0x3af797,_0x3179ea;}}class UpdateOperation extends GenericOperation{[a0_0x5ba6db(0x2de)](){const _0x232191=a0_0x5ba6db;return this[_0x232191(0x157)]();}[a0_0x5ba6db(0x24b)](){const _0x2ee24=a0_0x5ba6db,_0x47e3da=this[_0x2ee24(0x2de)](),_0x3eb7cc={};_0x3eb7cc[_0x2ee24(0xe8)]='NUMBER',_0x3eb7cc[_0x2ee24(0x1ce)]=_0x2ee24(0xe2),_0x3eb7cc[_0x2ee24(0x1ae)]=!![];const _0x1cc0bf={};_0x1cc0bf[_0x2ee24(0xe8)]=_0x2ee24(0x181),_0x1cc0bf['description']=_0x2ee24(0x307),_0x1cc0bf[_0x2ee24(0x1ae)]=!![],_0x1cc0bf[_0x2ee24(0x1f5)]=_0x47e3da;const _0x2dd30f={};return _0x2dd30f['id']=_0x3eb7cc,_0x2dd30f[_0x2ee24(0x98)]=_0x1cc0bf,_0x2dd30f;}[a0_0x5ba6db(0x154)](){const _0x403f7d=a0_0x5ba6db;return this[_0x403f7d(0x2de)]();}[a0_0x5ba6db(0x226)](){const _0x4d52e2=a0_0x5ba6db,_0x3f9061=this[_0x4d52e2(0x111)][_0x4d52e2(0x145)]||[],_0x4296ac=this[_0x4d52e2(0x111)][_0x4d52e2(0x9a)],_0x4b0d3b=_0x3f9061['find'](_0x200979=>_0x200979[_0x4d52e2(0x18a)]()||_0x200979['code']===_0x4296ac),_0x38738d=_0x3f9061[_0x4d52e2(0x7e)](_0x3a7dfc=>{const _0x511d87=_0x4d52e2;if(_0x3a7dfc[_0x511d87(0xda)])return![];if(_0x3a7dfc===_0x4b0d3b||_0x3a7dfc[_0x511d87(0x18a)]())return![];if(_0x3a7dfc[_0x511d87(0x118)]()||_0x3a7dfc[_0x511d87(0x23f)]())return![];if(_0x3a7dfc['isAutoIncrement']())return![];return!![];});return _0x4b0d3b?[_0x4b0d3b,..._0x38738d]:_0x38738d;}[a0_0x5ba6db(0x15f)](){const _0x488d16=a0_0x5ba6db,_0x1e6426=this[_0x488d16(0x226)](),_0x3e9591=this[_0x488d16(0x111)][_0x488d16(0x9a)],_0x4c3107=_0x1e6426[_0x488d16(0xc9)](_0x5edc81=>{const _0x5ad32a=_0x488d16,_0x1257ac=_0x5edc81[_0x5ad32a(0x18a)]()||_0x5edc81[_0x5ad32a(0x1f0)]===_0x3e9591,_0x3434ab=_0x1257ac?'id':_0x5edc81['code'],_0x5dc415={};return _0x5dc415[_0x5ad32a(0x176)]=_0x3434ab,_0x5dc415[_0x5ad32a(0xe8)]=_0x5edc81[_0x5ad32a(0xe8)],_0x5dc415[_0x5ad32a(0x1ce)]=_0x1257ac?_0x5ad32a(0x2d5)+(_0x3e9591&&_0x3e9591!==_0x5edc81[_0x5ad32a(0x1f0)]?_0x5ad32a(0x1e1)+_0x5edc81[_0x5ad32a(0x1f0)]+')':''):_0x5edc81['description']||_0x5edc81[_0x5ad32a(0x176)],_0x5dc415;}),_0x44bc9c={};return _0x44bc9c[_0x488d16(0x1ce)]='HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。',_0x44bc9c['params']=_0x4c3107,_0x44bc9c;}[a0_0x5ba6db(0x70)](){const _0x28dc39=a0_0x5ba6db,_0x387923=this['getUpdateFields'](),_0xe56af3=Object['entries'](_0x387923)['map'](([_0x1e91f5,_0x151b5c])=>{const _0x527546=a0_0x5697,_0x13f045=_0x151b5c,_0x562e85={};return _0x562e85['name']=_0x1e91f5,_0x562e85[_0x527546(0xe8)]=_0x13f045[_0x527546(0xe8)]||_0x527546(0x1bb),_0x562e85[_0x527546(0x1ce)]=_0x13f045[_0x527546(0x1ce)]||'-',_0x562e85;}),_0x42e323={};return _0x42e323[_0x28dc39(0x1ce)]='update\x20接口接受两个参数:\x0a\x0a'+_0x28dc39(0x160)+_0x28dc39(0x93)+_0x28dc39(0x166)+'-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a'+_0x28dc39(0xad),_0x42e323['params']=_0xe56af3,_0x42e323;}['generateRequestExample'](){const _0x4cb757=a0_0x5ba6db,_0x2ebdf7=this[_0x4cb757(0x2de)](),_0x383a50={};Object[_0x4cb757(0x1c9)](_0x2ebdf7)[_0x4cb757(0x2a7)](([_0x4a08f2,_0x176d67])=>{const _0x27c7c1=_0x4cb757,_0x36481d=_0x176d67;let _0x11cacf;if(typeof _0x36481d[_0x27c7c1(0xe8)]===_0x27c7c1(0x27c))_0x11cacf=_0x36481d[_0x27c7c1(0xe8)];else _0x36481d[_0x27c7c1(0xe8)]&&typeof _0x36481d['type']===_0x27c7c1(0x181)?_0x11cacf=_0x36481d[_0x27c7c1(0xe8)][_0x27c7c1(0xe8)]||'TEXT':_0x11cacf=_0x27c7c1(0x1ac);const _0x1738b9=_0x36481d[_0x27c7c1(0x1ce)],_0x3c9882=this[_0x27c7c1(0xac)](_0x4a08f2);_0x383a50[_0x4a08f2]=this[_0x27c7c1(0x1f1)](_0x4a08f2,_0x11cacf,_0x3c9882?.[_0x27c7c1(0x1da)](),{'isPrimaryKey':![],'description':_0x1738b9||_0x3c9882?.[_0x27c7c1(0x1ce)]||_0x3c9882?.[_0x27c7c1(0x176)]});});const _0x5e8957={};return _0x5e8957['id']=0x1,_0x5e8957['data']=_0x383a50,_0x5e8957;}['generateRequestAllExamples'](){const _0x1c1caf=a0_0x5ba6db,_0x5a673b=this[_0x1c1caf(0x194)](),_0xc34300={};return _0xc34300[_0x1c1caf(0x6c)]=_0x1c1caf(0x151),_0xc34300[_0x1c1caf(0x1ce)]=_0x1c1caf(0x78)+_0x1c1caf(0x115)+_0x1c1caf(0x1f6),_0xc34300[_0x1c1caf(0x98)]=_0x5a673b,[_0xc34300,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x1c1caf(0x278)+'-\x20主键使用\x20`id`\x20字段\x0a'+_0x1c1caf(0x254),'data':this['generateHTTPRequestExample']()}];}[a0_0x5ba6db(0x86)](){const _0x139960=a0_0x5ba6db,_0x219a66=this['getUpdateFields'](),_0x1bcce6={};_0x1bcce6['id']=0x1;const _0x4a8d4d=_0x1bcce6;return Object[_0x139960(0x1c9)](_0x219a66)['forEach'](([_0x42ff16,_0x4f2d39])=>{const _0x564427=_0x139960,_0x290316=_0x4f2d39;let _0x14e87f;if(typeof _0x290316[_0x564427(0xe8)]==='string')_0x14e87f=_0x290316['type'];else _0x290316[_0x564427(0xe8)]&&typeof _0x290316['type']===_0x564427(0x181)?_0x14e87f=_0x290316[_0x564427(0xe8)][_0x564427(0xe8)]||_0x564427(0x1ac):_0x14e87f=_0x564427(0x1ac);const _0x3bf057=_0x290316[_0x564427(0x1ce)],_0x2d0a08=this[_0x564427(0xac)](_0x42ff16);if(_0x2d0a08?.[_0x564427(0x18a)]())return;_0x4a8d4d[_0x42ff16]=this[_0x564427(0x1f1)](_0x42ff16,_0x14e87f,_0x2d0a08?.[_0x564427(0x1da)](),{'isPrimaryKey':![],'description':_0x3bf057||_0x2d0a08?.['description']||_0x2d0a08?.[_0x564427(0x176)]});}),_0x4a8d4d;}[a0_0x5ba6db(0x2aa)](){const _0x1e8c4d=a0_0x5ba6db;return this[_0x1e8c4d(0x86)]();}[a0_0x5ba6db(0x13a)](_0x24c6b8,_0x4c01c0){const _0x37429c=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4c01c0||{},_0x1e2161=this[_0x37429c(0x1e7)]();if(useFullExample){const _0x390c79=this[_0x37429c(0x194)](),_0x197e6e=JSON['stringify'](_0x390c79['data'],null,0x2)[_0x37429c(0x294)]('\x0a')['map']((_0x247af7,_0x142a27)=>_0x142a27===0x0?_0x247af7:indent+_0x247af7)[_0x37429c(0x18b)]('\x0a');return _0x37429c(0x1a6)+_0x24c6b8+'.'+_0x1e2161+'('+_0x390c79['id']+',\x20'+_0x197e6e+');';}return _0x37429c(0x1a6)+_0x24c6b8+'.'+_0x1e2161+_0x37429c(0x7a);}}class AggregateOperation extends GenericOperation{constructor(_0x10bf4b,_0x6ac7a0,_0x3bcaff){super(_0x10bf4b,_0x6ac7a0,_0x3bcaff);}[a0_0x5ba6db(0xb2)](_0x33952a){const _0x29ef64=a0_0x5ba6db;return _0x33952a[_0x29ef64(0x1bd)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x29ef64(0x17a)]()[_0x29ef64(0x201)]();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}['getRequestParams'](){const _0x5a7052=a0_0x5ba6db,_0x2f78ce=super[_0x5a7052(0x24b)](),_0x2fac63={};_0x2fac63[_0x5a7052(0xe8)]=_0x5a7052(0x24e),_0x2fac63[_0x5a7052(0x1ce)]=_0x5a7052(0xe1),_0x2fac63[_0x5a7052(0x1ae)]=![];const _0x1fe3a5={};_0x1fe3a5[_0x5a7052(0xe8)]='Object',_0x1fe3a5[_0x5a7052(0x1ce)]=_0x5a7052(0xb7),_0x1fe3a5[_0x5a7052(0x1ae)]=![];const _0x3ab941={};_0x3ab941[_0x5a7052(0xe8)]=_0x5a7052(0x24e),_0x3ab941[_0x5a7052(0x1ce)]=_0x5a7052(0x6a),_0x3ab941['required']=![];const _0x26045b={};_0x26045b[_0x5a7052(0xe8)]=_0x5a7052(0x1ea),_0x26045b['description']=_0x5a7052(0xf9),_0x26045b[_0x5a7052(0x1ae)]=![];const _0x30593a={};_0x30593a['type']='Array',_0x30593a[_0x5a7052(0x1ce)]=_0x5a7052(0x22e),_0x30593a[_0x5a7052(0x1ae)]=![];const _0x949951={};_0x949951[_0x5a7052(0xe8)]=_0x5a7052(0x1ea),_0x949951[_0x5a7052(0x1ce)]='排序规则(与\x20Filter\x20API\x20一致)',_0x949951[_0x5a7052(0x1ae)]=![];const _0x384e57={};_0x384e57[_0x5a7052(0xe8)]=_0x5a7052(0x119),_0x384e57[_0x5a7052(0x1ce)]=_0x5a7052(0x1df),_0x384e57[_0x5a7052(0x1ae)]=![];const _0x288b09={};_0x288b09[_0x5a7052(0xe8)]='Number',_0x288b09[_0x5a7052(0x1ce)]=_0x5a7052(0x13b),_0x288b09[_0x5a7052(0x1ae)]=![];const _0x173643={..._0x2f78ce};return _0x173643['select']=_0x2fac63,_0x173643[_0x5a7052(0xc5)]=_0x1fe3a5,_0x173643['groupBy']=_0x3ab941,_0x173643['aggregate']=_0x26045b,_0x173643[_0x5a7052(0x152)]=_0x30593a,_0x173643['orderBy']=_0x949951,_0x173643[_0x5a7052(0x319)]=_0x384e57,_0x173643[_0x5a7052(0x27b)]=_0x288b09,_0x173643;}[a0_0x5ba6db(0x2fe)](){const _0x36b77f=a0_0x5ba6db,_0x17d0c9={};_0x17d0c9['code']=_0x36b77f(0x198),_0x17d0c9['type']=_0x36b77f(0x24e),_0x17d0c9['description']=_0x36b77f(0xe1);const _0x172eb5={};_0x172eb5[_0x36b77f(0x1f0)]=_0x36b77f(0xc5),_0x172eb5[_0x36b77f(0xe8)]=_0x36b77f(0x9d),_0x172eb5[_0x36b77f(0x1ce)]=_0x36b77f(0xb7);const _0x42201c={};_0x42201c['code']=_0x36b77f(0x1f7),_0x42201c[_0x36b77f(0xe8)]='String[]',_0x42201c['description']=_0x36b77f(0x6a);const _0x2a6b60={};_0x2a6b60[_0x36b77f(0x1f0)]='aggregate',_0x2a6b60[_0x36b77f(0xe8)]=_0x36b77f(0x1ea),_0x2a6b60[_0x36b77f(0x1ce)]=_0x36b77f(0xe0);const _0x4afcdc={};_0x4afcdc[_0x36b77f(0x1f0)]=_0x36b77f(0x152),_0x4afcdc[_0x36b77f(0xe8)]='Array',_0x4afcdc[_0x36b77f(0x1ce)]='分组后的过滤条件(对聚合结果进行过滤)';const _0x5ec40b={};_0x5ec40b['code']='orderBy',_0x5ec40b['type']=_0x36b77f(0x1ea),_0x5ec40b[_0x36b77f(0x1ce)]=_0x36b77f(0xc1);const _0x192340={};_0x192340[_0x36b77f(0x1f0)]=_0x36b77f(0x319),_0x192340[_0x36b77f(0xe8)]=_0x36b77f(0x119),_0x192340[_0x36b77f(0x1ce)]=_0x36b77f(0x1df);const _0x13f56d={};return _0x13f56d['code']=_0x36b77f(0x27b),_0x13f56d[_0x36b77f(0xe8)]=_0x36b77f(0x119),_0x13f56d[_0x36b77f(0x1ce)]='每页数量(默认:\x2020)',[_0x17d0c9,_0x172eb5,_0x42201c,_0x2a6b60,_0x4afcdc,_0x5ec40b,_0x192340,_0x13f56d];}[a0_0x5ba6db(0x194)](){const _0x39300f=a0_0x5ba6db,_0x30918a=this['context']['fields']||[];if(_0x30918a[_0x39300f(0x1d6)]===0x0){const _0x354dee={};return _0x354dee[_0x39300f(0xc5)]={},_0x354dee[_0x39300f(0x1f7)]=[],_0x354dee[_0x39300f(0x10a)]=[],_0x354dee;}const _0x50186b={},_0x544dc3=_0x30918a[_0x39300f(0x1a0)](0x0,Math['min'](0x3,_0x30918a['length']));_0x544dc3[_0x39300f(0x2a7)](_0x14a4de=>{const _0x4a7dc1=_0x39300f,_0x5c414d=this[_0x4a7dc1(0x1d8)](_0x14a4de);if(_0x5c414d['length']===0x0)return;const _0x1ab6d5=this[_0x4a7dc1(0x21c)](_0x14a4de,_0x5c414d),_0x3d9c59=this[_0x4a7dc1(0x1aa)](_0x14a4de,_0x1ab6d5),_0xb35de3={};_0xb35de3[_0x1ab6d5]=_0x3d9c59,_0x50186b[_0x14a4de['code']]=_0xb35de3;});const _0x3b7de5=_0x30918a[_0x39300f(0x1a0)](0x0,Math['min'](0x2,_0x30918a[_0x39300f(0x1d6)]))[_0x39300f(0xc9)](_0x4ad719=>_0x4ad719['code']),_0x6a117=[],_0x189ae4=_0x30918a[_0x39300f(0x7e)](_0x53f419=>this['isNumericField'](_0x53f419));if(_0x189ae4[_0x39300f(0x1d6)]>0x0){const _0x4990bf=_0x189ae4[0x0],_0x3324d7=_0x4990bf[_0x39300f(0x1f0)],_0x58d32e={};_0x58d32e[_0x39300f(0xe8)]=_0x39300f(0x1af),_0x58d32e[_0x39300f(0xa0)]=_0x3324d7,_0x58d32e[_0x39300f(0xd1)]=_0x3324d7+_0x39300f(0x19d),_0x58d32e[_0x39300f(0x8e)]=![],_0x58d32e[_0x39300f(0x24a)]=!![],_0x58d32e[_0x39300f(0x212)]=0x2,_0x6a117[_0x39300f(0x296)](_0x58d32e);const _0x153b6f={};_0x153b6f[_0x39300f(0xe8)]=_0x39300f(0x1c3),_0x153b6f[_0x39300f(0xa0)]=_0x3324d7,_0x153b6f[_0x39300f(0xd1)]=_0x3324d7+_0x39300f(0x2bd),_0x153b6f[_0x39300f(0x8e)]=![],_0x153b6f[_0x39300f(0x24a)]=!![],_0x153b6f['precision']=0x2,_0x6a117[_0x39300f(0x296)](_0x153b6f);const _0x529969={};_0x529969['type']='max',_0x529969['column']=_0x3324d7,_0x529969[_0x39300f(0xd1)]=_0x3324d7+'_max',_0x529969[_0x39300f(0x8e)]=![],_0x529969['round']=!![],_0x529969[_0x39300f(0x212)]=0x2,_0x6a117[_0x39300f(0x296)](_0x529969);const _0x198f6e={};_0x198f6e[_0x39300f(0xe8)]='min',_0x198f6e[_0x39300f(0xa0)]=_0x3324d7,_0x198f6e[_0x39300f(0xd1)]=_0x3324d7+'_min',_0x198f6e[_0x39300f(0x8e)]=![],_0x198f6e[_0x39300f(0x24a)]=!![],_0x198f6e[_0x39300f(0x212)]=0x2,_0x6a117[_0x39300f(0x296)](_0x198f6e);}else{if(_0x30918a[_0x39300f(0x1d6)]>0x0){const _0x5222dd=_0x30918a[0x0],_0x33830c=_0x5222dd[_0x39300f(0x1f0)],_0x479af7={};_0x479af7['type']=_0x39300f(0x16a),_0x479af7[_0x39300f(0xa0)]=_0x33830c,_0x479af7[_0x39300f(0xd1)]=_0x39300f(0x1fb),_0x479af7['distinct']=!![],_0x6a117[_0x39300f(0x296)](_0x479af7);}}const _0x21f527=[];if(_0x30918a[_0x39300f(0x1d6)]>0x0){const _0x46b8cb=_0x30918a[0x0][_0x39300f(0x1f0)],_0x209cbf={};_0x209cbf[_0x46b8cb]=_0x39300f(0x15d),_0x21f527[_0x39300f(0x296)](_0x209cbf);}const _0x23aabb=[..._0x3b7de5,..._0x6a117['map'](_0xfc302f=>_0xfc302f[_0x39300f(0xd1)])],_0x309d5a=[];if(_0x6a117[_0x39300f(0x1d6)]>0x0){const _0x27f515={};_0x27f515[_0x39300f(0x247)]=0x0;const _0x3e4fb5={};_0x3e4fb5[_0x39300f(0x195)]=_0x6a117[0x0]['alias'],_0x3e4fb5['condition']=_0x27f515,_0x309d5a[_0x39300f(0x296)](_0x3e4fb5);}const _0x321066={};return _0x321066[_0x39300f(0x198)]=_0x23aabb,_0x321066[_0x39300f(0xc5)]=_0x50186b,_0x321066[_0x39300f(0x1f7)]=_0x3b7de5,_0x321066['aggregate']=_0x6a117,_0x321066[_0x39300f(0x152)]=_0x309d5a[_0x39300f(0x1d6)]>0x0?_0x309d5a:undefined,_0x321066[_0x39300f(0x2e9)]=_0x21f527,_0x321066[_0x39300f(0x319)]=0x1,_0x321066[_0x39300f(0x27b)]=0x14,_0x321066;}[a0_0x5ba6db(0x13a)](_0x3fd2a2,_0x23cd6d){const _0x31a67f=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x23cd6d||{},_0xa066=this[_0x31a67f(0x1e7)](),_0x35f0bf=this[_0x31a67f(0x194)](),_0x568b7b=_0x10eda2=>{const _0x30c25e=_0x31a67f;return JSON[_0x30c25e(0x275)](_0x10eda2,null,0x2)['split']('\x0a')[_0x30c25e(0xc9)]((_0x2c998c,_0x5c9513)=>_0x5c9513===0x0?_0x2c998c:indent+_0x2c998c)[_0x30c25e(0x18b)]('\x0a');};if(useFullExample){const _0x28a51d=this[_0x31a67f(0x111)]['fields']||[],_0x41e2fe=_0x28a51d[_0x31a67f(0x7e)](_0x588d2a=>this[_0x31a67f(0x104)](_0x588d2a)),_0x3fb129={'where':_0x28a51d[0x0]?{[_0x28a51d[0x0][_0x31a67f(0x1f0)]]:{'$eq':this[_0x31a67f(0x1aa)](_0x28a51d[0x0],'$eq')}}:{},'aggregate':_0x41e2fe[_0x31a67f(0x1d6)]>0x0?[{'type':_0x31a67f(0x1af),'column':_0x41e2fe[0x0][_0x31a67f(0x1f0)],'alias':_0x41e2fe[0x0][_0x31a67f(0x1f0)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x31a67f(0x16a),'column':_0x28a51d[0x0][_0x31a67f(0x1f0)],'alias':_0x31a67f(0x1fb),'distinct':!![]}],'orderBy':[{[_0x28a51d[0x0][_0x31a67f(0x1f0)]]:_0x31a67f(0x15d)}]};let _0x24cb64='';return _0x28a51d['length']>=0x3&&(_0x24cb64=_0x31a67f(0x221)+_0x3fd2a2+'.'+_0xa066+'('+_0x568b7b(_0x35f0bf)+');'),_0x31a67f(0x169)+_0x3fd2a2+'.'+_0xa066+'('+_0x568b7b(_0x3fb129)+');'+_0x24cb64;}const _0x1ace3b=JSON[_0x31a67f(0x275)](_0x35f0bf,null,0x2)['split']('\x0a')[_0x31a67f(0xc9)]((_0x3e3bad,_0x82f605)=>_0x82f605===0x0?_0x3e3bad:indent+_0x3e3bad)[_0x31a67f(0x18b)]('\x0a');return _0x31a67f(0x1a6)+_0x3fd2a2+'.'+_0xa066+'('+_0x1ace3b+');';}[a0_0x5ba6db(0x104)](_0x177975){const _0x55b17b=a0_0x5ba6db,_0x230a74=_0x177975[_0x55b17b(0x1da)]();return[_0x55b17b(0x135),_0x55b17b(0xbe),_0x55b17b(0x1cd),'DECIMAL'][_0x55b17b(0x122)](_0x230a74)||[_0x55b17b(0x1a7),_0x55b17b(0x279),_0x55b17b(0x2c7),_0x55b17b(0x1b7),'FLOAT'][_0x55b17b(0x122)](_0x230a74);}['getApplicableOperators'](_0x48ba32){const _0x3c1297=a0_0x5ba6db,_0x411557=_0x48ba32[_0x3c1297(0x1da)](),_0x586f5d=[];if([_0x3c1297(0x135),_0x3c1297(0xbe),'BIGINT','DECIMAL'][_0x3c1297(0x122)](_0x411557)||[_0x3c1297(0x1a7),_0x3c1297(0x279),'SMALLINT','DOUBLE',_0x3c1297(0x14d)][_0x3c1297(0x122)](_0x411557))_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),'$ne',_0x3c1297(0x247),'$lte',_0x3c1297(0x87),_0x3c1297(0x2b2),_0x3c1297(0xe7));else{if([_0x3c1297(0x23c),'TEXT','VARCHAR'][_0x3c1297(0x122)](_0x411557)||[_0x3c1297(0x6b),_0x3c1297(0x9e)]['includes'](_0x411557))_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),'$ne',_0x3c1297(0xe7),_0x3c1297(0xf4),'$startWith','$endWith');else{if([_0x3c1297(0x108),_0x3c1297(0x26f),'TIMESTAMP'][_0x3c1297(0x122)](_0x411557)||['TIME'][_0x3c1297(0x122)](_0x411557))_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),'$ne',_0x3c1297(0x247),_0x3c1297(0x228),_0x3c1297(0x87),'$lteq');else['BOOLEAN',_0x3c1297(0x28d),_0x3c1297(0x15c)][_0x3c1297(0x122)](_0x411557)?_0x586f5d[_0x3c1297(0x296)]('$eq',_0x3c1297(0x22b)):_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),_0x3c1297(0x22b));}}return _0x586f5d;}[a0_0x5ba6db(0x21c)](_0x157cdd,_0x56d3b3){const _0x483c84=a0_0x5ba6db,_0x380029=_0x157cdd[_0x483c84(0x1da)]();if([_0x483c84(0x135),_0x483c84(0xbe),_0x483c84(0x1cd),_0x483c84(0x304)]['includes'](_0x380029)||[_0x483c84(0x1a7),_0x483c84(0x279),'SMALLINT',_0x483c84(0x1b7),_0x483c84(0x14d)]['includes'](_0x380029))return _0x56d3b3['includes']('$gte')?_0x483c84(0x247):_0x483c84(0x22d);if([_0x483c84(0x23c),_0x483c84(0x1ac),_0x483c84(0x2cb)][_0x483c84(0x122)](_0x380029)||[_0x483c84(0x6b),_0x483c84(0x9e)]['includes'](_0x380029))return _0x56d3b3['includes'](_0x483c84(0xf4))?_0x483c84(0xf4):_0x483c84(0x22d);if([_0x483c84(0x108),_0x483c84(0x26f),_0x483c84(0x202),'TIME'][_0x483c84(0x122)](_0x380029))return _0x56d3b3[_0x483c84(0x122)](_0x483c84(0x247))?_0x483c84(0x247):'$eq';return _0x483c84(0x22d);}[a0_0x5ba6db(0x1aa)](_0x12a05a,_0x2865db){const _0x1b9940=a0_0x5ba6db,_0x4692ef=_0x12a05a['getDbTypeForOperation'](),_0x444384=_0x12a05a[_0x1b9940(0x225)]();if(_0x444384&&_0x444384['length']>0x0){if(_0x2865db===_0x1b9940(0xe7))return _0x444384[_0x1b9940(0x1a0)](0x0,0x2)[_0x1b9940(0xc9)](_0x38b0e8=>_0x38b0e8[_0x1b9940(0x14b)]);return _0x444384[0x0][_0x1b9940(0x14b)];}if([_0x1b9940(0x135),_0x1b9940(0xbe),_0x1b9940(0x1cd),_0x1b9940(0x304)]['includes'](_0x4692ef)||['INT',_0x1b9940(0x279),_0x1b9940(0x2c7),_0x1b9940(0x1b7),_0x1b9940(0x14d)][_0x1b9940(0x122)](_0x4692ef)){if(_0x2865db===_0x1b9940(0xe7))return[0x1,0x2,0x3];if(_0x2865db==='$gte'||_0x2865db==='$gteq')return 0x0;if(_0x2865db===_0x1b9940(0x228)||_0x2865db===_0x1b9940(0x2b2))return 0x64;return 0x1;}if([_0x1b9940(0x23c),'TEXT',_0x1b9940(0x2cb)]['includes'](_0x4692ef)||['CHAR',_0x1b9940(0x9e)][_0x1b9940(0x122)](_0x4692ef)){if(_0x2865db===_0x1b9940(0xe7))return['value1','value2'];if(_0x2865db===_0x1b9940(0xf4))return _0x1b9940(0x2fb);if(_0x2865db===_0x1b9940(0x1b0))return'prefix';if(_0x2865db===_0x1b9940(0x30e))return _0x1b9940(0x216);return _0x1b9940(0x14b);}if([_0x1b9940(0x108),_0x1b9940(0x26f),_0x1b9940(0x202),_0x1b9940(0x276)][_0x1b9940(0x122)](_0x4692ef)){if(_0x2865db===_0x1b9940(0x247)||_0x2865db==='$gteq')return _0x1b9940(0x183);if(_0x2865db==='$lte'||_0x2865db==='$lteq')return _0x1b9940(0xbd);return _0x1b9940(0x183);}if([_0x1b9940(0x28e),_0x1b9940(0x28d),_0x1b9940(0x15c)][_0x1b9940(0x122)](_0x4692ef))return!![];return _0x2865db===_0x1b9940(0xe7)?[_0x1b9940(0x215),_0x1b9940(0x75)]:_0x1b9940(0x14b);}[a0_0x5ba6db(0x70)](){const _0xa646a2=a0_0x5ba6db,_0x2e7b63=this[_0xa646a2(0x24b)](),_0x237d10=Object[_0xa646a2(0x1c9)](_0x2e7b63)[_0xa646a2(0x7e)](([_0x2b0817])=>_0x2b0817!==_0xa646a2(0x319)&&_0x2b0817!==_0xa646a2(0x27b))['map'](([_0x121bb3,_0x255c1a])=>{const _0x4c1366=_0xa646a2,_0x51011e=_0x255c1a,_0x1826b2={};return _0x1826b2[_0x4c1366(0x176)]=_0x121bb3,_0x1826b2[_0x4c1366(0xe8)]=_0x51011e[_0x4c1366(0xe8)]||'String',_0x1826b2[_0x4c1366(0x1ce)]=_0x51011e[_0x4c1366(0x1ce)]||'-',_0x1826b2[_0x4c1366(0x1ae)]=_0x51011e['required'],_0x1826b2;}),_0x32186e={};return _0x32186e[_0xa646a2(0x1ce)]='\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',_0x32186e[_0xa646a2(0x165)]=_0x237d10,_0x32186e;}[a0_0x5ba6db(0x262)](){const _0x4376a2=a0_0x5ba6db,_0x289dc0=this[_0x4376a2(0x194)]()[_0x4376a2(0x10a)],_0x52caca=[{}],_0x3af721=[];_0x289dc0?.[_0x4376a2(0x2a7)](_0x593b4c=>{const _0x519f84=_0x4376a2,_0x3cd804={};_0x3cd804[_0x519f84(0x6c)]=_0x593b4c['alias'],_0x3cd804['dataIndex']=_0x593b4c['alias'],_0x3af721[_0x519f84(0x296)](_0x3cd804),_0x52caca[0x0][_0x593b4c[_0x519f84(0xd1)]]=_0x593b4c[_0x519f84(0xe8)]==='count'?0x64:Math[_0x519f84(0x24a)](Math['random']()*0x64*0x64)/0x64;});const _0x21654a={};_0x21654a[_0x4376a2(0x27b)]=0x1,_0x21654a[_0x4376a2(0xfe)]=0x64,_0x21654a[_0x4376a2(0x319)]=0x1;const _0x19711b={};_0x19711b[_0x4376a2(0x1a4)]=_0x21654a,_0x19711b['tableData']=_0x52caca,_0x19711b[_0x4376a2(0x193)]=_0x3af721;const _0x3e793a={};return _0x3e793a['success']=!![],_0x3e793a[_0x4376a2(0x10f)]='',_0x3e793a[_0x4376a2(0x1d0)]='',_0x3e793a['errorCode']=_0x4376a2(0x1ca),_0x3e793a[_0x4376a2(0x98)]=_0x19711b,_0x3e793a[_0x4376a2(0x165)]=null,_0x3e793a;}}class OperationFactory{[a0_0x5ba6db(0x2c2)](_0x5247c2,_0x5595be,_0x3e3286){const _0x5dd2e1=a0_0x5ba6db;switch(_0x5247c2){case _0x5dd2e1(0x20f):return new GetSelectOptionsOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x1d7):return new GetListOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x7e):return new FilterOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x26e):return new ExcelExportOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0xf1):return new UpdateOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x10a):return new AggregateOperation(_0x5247c2,_0x5595be,_0x3e3286);default:return new GenericOperation(_0x5247c2,_0x5595be,_0x3e3286);}}[a0_0x5ba6db(0xde)](_0x3e64f3,_0x53df6e){const _0x1cddc2=a0_0x5ba6db,_0x5899d3=new Map();return Object[_0x1cddc2(0x1c9)](_0x3e64f3)[_0x1cddc2(0x2a7)](([_0x1ebe03,_0x24eadf])=>{const _0x30f768=_0x1cddc2;_0x5899d3['set'](_0x1ebe03,this[_0x30f768(0x2c2)](_0x1ebe03,_0x24eadf,_0x53df6e));}),_0x5899d3;}}class OperationList{[a0_0x5ba6db(0x2dd)];constructor(_0x213808,_0x523d03){const _0x3a5009=a0_0x5ba6db,_0x345d9a=new OperationFactory();this[_0x3a5009(0x2dd)]=_0x345d9a[_0x3a5009(0xde)](_0x213808,_0x523d03);}[a0_0x5ba6db(0x2e1)](_0x31f24c){const _0x34cd69=a0_0x5ba6db;return this[_0x34cd69(0x2dd)][_0x34cd69(0x2e1)](_0x31f24c);}['has'](_0x2a0470){const _0xb407f8=a0_0x5ba6db;return this[_0xb407f8(0x2dd)]['has'](_0x2a0470);}[a0_0x5ba6db(0x2fd)](){const _0x580694=a0_0x5ba6db;return this[_0x580694(0x2dd)][_0x580694(0x2fd)];}[a0_0x5ba6db(0x248)](){const _0x16d25f=a0_0x5ba6db;return Array[_0x16d25f(0x1e3)](this['_operations'][_0x16d25f(0xe9)]());}['toArray'](){const _0x151da7=a0_0x5ba6db,_0x508a2f=Array[_0x151da7(0x1e3)](this[_0x151da7(0x2dd)]['values']());return this[_0x151da7(0x172)](_0x508a2f);}[a0_0x5ba6db(0xcb)](){const _0x2336ee=a0_0x5ba6db;return this[_0x2336ee(0x16f)]()[_0x2336ee(0x7e)](_0x45eca3=>_0x45eca3[_0x2336ee(0x2c6)]());}[a0_0x5ba6db(0x159)](){const _0x4f2fe3=a0_0x5ba6db;return this[_0x4f2fe3(0x16f)]()[_0x4f2fe3(0x7e)](_0x3aa11a=>!_0x3aa11a[_0x4f2fe3(0x2c6)]());}[a0_0x5ba6db(0x260)](){const _0x50a4fd=a0_0x5ba6db;return this[_0x50a4fd(0xcb)]()[_0x50a4fd(0xc9)](_0xda1026=>_0xda1026['getName']());}['getDisabledNames'](){const _0x3ddd65=a0_0x5ba6db;return this[_0x3ddd65(0x159)]()[_0x3ddd65(0xc9)](_0x445d06=>_0x445d06['getName']());}['getByType'](_0x2068f2){const _0x15adc0=a0_0x5ba6db;return this[_0x15adc0(0x16f)]()['filter'](_0x3f9bfc=>_0x3f9bfc[_0x15adc0(0x295)]()===_0x2068f2);}['filter'](_0x17864e){const _0xff6b82=a0_0x5ba6db;return this[_0xff6b82(0x16f)]()[_0xff6b82(0x7e)](_0x17864e);}[a0_0x5ba6db(0xcc)](_0x56a6eb={}){const _0x10ead9=a0_0x5ba6db;let _0x595130=this['toArray']();!_0x56a6eb[_0x10ead9(0x14a)]&&(_0x595130=_0x595130[_0x10ead9(0x7e)](_0x205df8=>_0x205df8[_0x10ead9(0x2c6)]()));if(_0x56a6eb[_0x10ead9(0x8d)]!==![]){const _0x50a0b0=_0x595130[_0x10ead9(0xc9)](_0x1c484a=>({'name':_0x1c484a[_0x10ead9(0x1e7)](),'operation':_0x1c484a})),_0x1088ea=filterApiOperations(_0x50a0b0);_0x595130=_0x1088ea['map'](_0x1ab6d7=>_0x1ab6d7['operation']),_0x595130=this[_0x10ead9(0x172)](_0x595130);}return _0x56a6eb[_0x10ead9(0x2d4)]&&(_0x595130=_0x595130[_0x10ead9(0x7e)](_0x56a6eb[_0x10ead9(0x2d4)])),_0x595130;}[a0_0x5ba6db(0x172)](_0x2223e3){const _0x47dd45=a0_0x5ba6db,_0x2367c7=_0x2223e3[_0x47dd45(0xbf)](_0x278204=>_0x278204[_0x47dd45(0x1e7)]()===_0x47dd45(0x7e)),_0x3f5e0d=_0x2223e3[_0x47dd45(0x7e)](_0x430b1b=>_0x430b1b[_0x47dd45(0x1e7)]()!=='filter');return _0x2367c7?[_0x2367c7,..._0x3f5e0d]:_0x3f5e0d;}[a0_0x5ba6db(0x30b)](){const _0x36852c=a0_0x5ba6db,_0x1fadb7=this[_0x36852c(0xcb)]();return{'total':this[_0x36852c(0x2fd)](),'enabled':_0x1fadb7[_0x36852c(0x1d6)],'disabled':this['size']()-_0x1fadb7[_0x36852c(0x1d6)],'byType':this[_0x36852c(0x97)](_0x1fadb7),'byMethod':this[_0x36852c(0x1c4)](_0x1fadb7)};}[a0_0x5ba6db(0x97)](_0x4c66a5){const _0x451dc5=a0_0x5ba6db,_0x4c6bca={};return _0x4c66a5[_0x451dc5(0x2a7)](_0x1074df=>{const _0x32bae5=_0x451dc5,_0x571e55=_0x1074df[_0x32bae5(0x295)]();_0x571e55&&(_0x4c6bca[_0x571e55]=(_0x4c6bca[_0x571e55]||0x0)+0x1);}),_0x4c6bca;}['getCountByMethod'](_0x2ebefd){const _0x2b687c=a0_0x5ba6db,_0x42ba1e={};return _0x2ebefd[_0x2b687c(0x2a7)](_0x4b5db0=>{const _0x287bfb=_0x4b5db0['getMethod']();_0x287bfb&&(_0x42ba1e[_0x287bfb]=(_0x42ba1e[_0x287bfb]||0x0)+0x1);}),_0x42ba1e;}[Symbol[a0_0x5ba6db(0x2a9)]](){const _0x342e3f=a0_0x5ba6db;return this[_0x342e3f(0x2dd)][_0x342e3f(0x141)]();}[a0_0x5ba6db(0x146)](){const _0x3c2fbc=a0_0x5ba6db,_0x192ba7=this[_0x3c2fbc(0x30b)]();return'OperationList('+_0x192ba7['enabled']+'/'+_0x192ba7[_0x3c2fbc(0x7d)]+'\x20operations)';}}class DBConfig{['raw'];['dbId'];[a0_0x5ba6db(0x2f8)];[a0_0x5ba6db(0x2e6)];[a0_0x5ba6db(0x292)];['tableName'];[a0_0x5ba6db(0x29f)];[a0_0x5ba6db(0x9a)];[a0_0x5ba6db(0xc2)];[a0_0x5ba6db(0x13f)];constructor(_0x5035ad,_0x46463c){const _0x5dd6ad=a0_0x5ba6db;this[_0x5dd6ad(0x12f)]=_0x46463c,this[_0x5dd6ad(0xb6)]=_0x5035ad[_0x5dd6ad(0xb6)],this[_0x5dd6ad(0x2f8)]=_0x5035ad[_0x5dd6ad(0x2f8)],this['dbType']=_0x5035ad[_0x5dd6ad(0x2e6)],this[_0x5dd6ad(0x292)]=_0x5035ad[_0x5dd6ad(0x292)],this[_0x5dd6ad(0x21f)]=_0x5035ad[_0x5dd6ad(0x21f)],this[_0x5dd6ad(0x29f)]=_0x5035ad[_0x5dd6ad(0x29f)],this[_0x5dd6ad(0x9a)]=_0x5035ad['pkField'],this[_0x5dd6ad(0xc2)]=_0x5035ad[_0x5dd6ad(0xc2)],this['appCode']=_0x5035ad['appCode'];}[a0_0x5ba6db(0x1f4)](){const _0xd59ffa=a0_0x5ba6db;return this[_0xd59ffa(0x12f)];}}class DrivenDataDetailBase extends DatasetItem{['_operationList'];[a0_0x5ba6db(0x129)];[a0_0x5ba6db(0xa2)];constructor(_0x14af5b){const _0x36e860=a0_0x5ba6db,_0x3f1934={..._0x14af5b};_0x3f1934['id']=_0x14af5b[_0x36e860(0x206)]||_0x14af5b['id'],_0x3f1934[_0x36e860(0x89)]=_0x14af5b[_0x36e860(0x144)]||_0x14af5b['datasetCode']||_0x14af5b[_0x36e860(0x1f0)],super(_0x3f1934);}[a0_0x5ba6db(0x12c)](){return;}[a0_0x5ba6db(0x120)](){return[];}[a0_0x5ba6db(0x19b)](){return[];}get[a0_0x5ba6db(0x1dd)](){const _0x503f2c=a0_0x5ba6db;return this[_0x503f2c(0x2b8)]();}[a0_0x5ba6db(0x11c)](){const _0x5e889e=a0_0x5ba6db;if(!this['_fieldList'])throw new Error(_0x5e889e(0x2f0));return this['_fieldList'];}[a0_0x5ba6db(0x95)](){const _0x15d736=a0_0x5ba6db;if(!this[_0x15d736(0xa2)])throw new Error(_0x15d736(0xd4));return this[_0x15d736(0xa2)];}['getFields'](){return[];}[a0_0x5ba6db(0x238)](){const _0x42b44d=a0_0x5ba6db,_0x4f91ae=this['getFieldDataSource']();return _0x4f91ae[_0x42b44d(0x145)];}[a0_0x5ba6db(0x27a)](){const _0x397a04=a0_0x5ba6db;return this[_0x397a04(0x26d)]()[_0x397a04(0x1d6)];}[a0_0x5ba6db(0x11e)](_0x23a0fb){const _0x23f038=a0_0x5ba6db,_0x49ae60=this[_0x23f038(0x18c)](_0x23a0fb);return _0x49ae60?_0x49ae60[_0x23f038(0x12f)]:undefined;}[a0_0x5ba6db(0x13c)](_0x4e1eb1){return;}[a0_0x5ba6db(0xf8)](_0xab24c3){const _0x241b8c=a0_0x5ba6db;if(!_0xab24c3||typeof _0xab24c3!==_0x241b8c(0x181))return!![]&&console[_0x241b8c(0x223)]('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0xab24c3),{};if(_0x241b8c(0x9a)in _0xab24c3){const _0x476f0c=_0xab24c3;return{'primaryKey':typeof _0x476f0c['pkField']===_0x241b8c(0x25e)?_0x476f0c['pkField']:Boolean(_0x476f0c[_0x241b8c(0x9a)]),'required':_0x476f0c[_0x241b8c(0x1ae)],'systemRetain':Boolean(_0x476f0c[_0x241b8c(0x8b)]),'autoIncrement':_0x476f0c[_0x241b8c(0x180)]??undefined};}if(!('extend'in _0xab24c3)||!_0xab24c3[_0x241b8c(0x21d)])return{};try{const _0x497eed=typeof _0xab24c3['extend']==='string'?JSON[_0x241b8c(0x80)](_0xab24c3['extend']):_0xab24c3[_0x241b8c(0x21d)];if(typeof _0x497eed!==_0x241b8c(0x181)||_0x497eed===null)return{};return _0x497eed;}catch{return{};}}[a0_0x5ba6db(0x90)](){const _0x2ef1d4=a0_0x5ba6db;if(!this[_0x2ef1d4(0x30c)]){const _0x1260e5=this['ensureFilterOperation'](this[_0x2ef1d4(0x306)]()||{});this[_0x2ef1d4(0x30c)]=new OperationList(_0x1260e5,{'fields':this['getFieldList']()[_0x2ef1d4(0x15a)](),'pkField':this[_0x2ef1d4(0x244)]['dbtableConfig']?.[_0x2ef1d4(0x9a)],'dbtableConfig':this['_raw'][_0x2ef1d4(0x126)]||null});}return this[_0x2ef1d4(0x30c)];}[a0_0x5ba6db(0xf6)](_0x3f2bd9){const _0x41dea3=a0_0x5ba6db;if(_0x3f2bd9[_0x41dea3(0x7e)]!==undefined)return _0x3f2bd9;return{..._0x3f2bd9,'filter':this[_0x41dea3(0x2e3)]()};}['generateDefaultFilterOperation'](){const _0x3a444f=a0_0x5ba6db,_0x1f48c0=this[_0x3a444f(0x306)]()?.[_0x3a444f(0x1d7)];let _0x32116e=_0x1f48c0?.['host'],_0x4d174f='';if(!_0x32116e&&this[_0x3a444f(0x306)]()){const _0xf0b4a7=Object[_0x3a444f(0x141)](this[_0x3a444f(0x306)]());for(const _0x505dba of _0xf0b4a7){if(_0x505dba&&typeof _0x505dba===_0x3a444f(0x181)&&_0x3a444f(0x230)in _0x505dba){_0x32116e=_0x505dba[_0x3a444f(0x230)];break;}}}if(_0x1f48c0?.['path']){const _0x2bed4a=_0x1f48c0[_0x3a444f(0x267)],_0x109dd4=_0x2bed4a[_0x3a444f(0x220)]('/');_0x109dd4!==-0x1&&(_0x4d174f=_0x2bed4a['substring'](0x0,_0x109dd4));}const _0x470629={};_0x470629[_0x3a444f(0x176)]='where',_0x470629['type']=_0x3a444f(0x181),_0x470629[_0x3a444f(0x1ae)]=![];const _0x11c113={};_0x11c113[_0x3a444f(0x176)]=_0x3a444f(0x198),_0x11c113['type']=_0x3a444f(0x20b),_0x11c113[_0x3a444f(0x1ae)]=![];const _0xa6c84e={};_0xa6c84e[_0x3a444f(0x176)]=_0x3a444f(0x2e9),_0xa6c84e['type']=_0x3a444f(0x20b),_0xa6c84e[_0x3a444f(0x1ae)]=![];const _0x167a8a={};_0x167a8a[_0x3a444f(0x176)]=_0x3a444f(0x319),_0x167a8a[_0x3a444f(0xe8)]=_0x3a444f(0xd3),_0x167a8a[_0x3a444f(0x1ae)]=![],_0x167a8a[_0x3a444f(0x91)]=0x1;const _0x419a61={};_0x419a61['name']='pageSize',_0x419a61['type']=_0x3a444f(0xd3),_0x419a61[_0x3a444f(0x1ae)]=![],_0x419a61['default']=0xa;const _0x1c89a6={};return _0x1c89a6[_0x3a444f(0x176)]=_0x3a444f(0x7e),_0x1c89a6[_0x3a444f(0xe8)]='query',_0x1c89a6[_0x3a444f(0x1ce)]=_0x3a444f(0x2e2),_0x1c89a6['method']=_0x3a444f(0xaf),_0x1c89a6[_0x3a444f(0x230)]=_0x32116e,_0x1c89a6[_0x3a444f(0x267)]=_0x4d174f?_0x4d174f+_0x3a444f(0x2da):'/filter',_0x1c89a6[_0x3a444f(0x165)]=_0x1f48c0?.[_0x3a444f(0x165)]||[_0x470629,_0x11c113,_0xa6c84e,_0x167a8a,_0x419a61],_0x1c89a6[_0x3a444f(0x12d)]=!![],_0x1c89a6;}[a0_0x5ba6db(0x29c)](){const _0x4b9299=a0_0x5ba6db;return this[_0x4b9299(0x90)]()[_0x4b9299(0x16f)]();}['getOperationCount'](){const _0x29c1cd=a0_0x5ba6db;return this[_0x29c1cd(0x90)]()[_0x29c1cd(0x2fd)]();}[a0_0x5ba6db(0xa1)](_0x417eba){const _0x5110a7=a0_0x5ba6db;if(typeof _0x417eba!==_0x5110a7(0x27c)){!![]&&console[_0x5110a7(0x223)]('[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:',_0x417eba);return;}return this[_0x5110a7(0x90)]()[_0x5110a7(0x2e1)](_0x417eba);}[a0_0x5ba6db(0x113)](_0x28bfba){const _0x549949=a0_0x5ba6db;if(typeof _0x28bfba!==_0x549949(0x27c))return![];return this['getOperationList']()[_0x549949(0x2c0)](_0x28bfba);}[a0_0x5ba6db(0xe4)](_0x17bbe2){const _0x33d3d5=a0_0x5ba6db;if(typeof _0x17bbe2!=='string')return![];const _0x3f97e4=this['getOperation'](_0x17bbe2);return _0x3f97e4?.[_0x33d3d5(0x2c6)]()||![];}[a0_0x5ba6db(0x314)](){const _0xefd751=a0_0x5ba6db;return this[_0xefd751(0x90)]()[_0xefd751(0x260)]();}[a0_0x5ba6db(0x1de)](){const _0x5c5205=a0_0x5ba6db;return this[_0x5c5205(0x90)]()[_0x5c5205(0x101)]();}[a0_0x5ba6db(0x286)](){const _0xb95f2d=a0_0x5ba6db;return this['getOperationList']()[_0xb95f2d(0xcb)]();}[a0_0x5ba6db(0x191)](){const _0x20b48b=a0_0x5ba6db;return this[_0x20b48b(0x90)]()['getDisabled']();}[a0_0x5ba6db(0x14c)](_0x3e75c5={}){const _0x5dcb9b=a0_0x5ba6db;return this[_0x5dcb9b(0x90)]()[_0x5dcb9b(0xcc)](_0x3e75c5);}[a0_0x5ba6db(0x30b)](){const _0xfb1305=a0_0x5ba6db;return{'fieldCount':this[_0xfb1305(0x27a)](),'systemFieldCount':this[_0xfb1305(0x2fe)]()[_0xfb1305(0x1d6)],'businessFieldCount':this[_0xfb1305(0x287)]()[_0xfb1305(0x1d6)],'requiredFieldCount':this[_0xfb1305(0x173)]()[_0xfb1305(0x1d6)],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this[_0xfb1305(0x132)](),'enabledOperationCount':this[_0xfb1305(0x314)]()['length']};}[a0_0x5ba6db(0x22f)](_0x3e45e9){const _0xf2f00b=a0_0x5ba6db;if(!_0x3e45e9||typeof _0x3e45e9!=='object')return'';if(_0xf2f00b(0x1f0)in _0x3e45e9&&typeof _0x3e45e9[_0xf2f00b(0x1f0)]===_0xf2f00b(0x27c))return _0x3e45e9[_0xf2f00b(0x1f0)];if(_0xf2f00b(0x176)in _0x3e45e9&&typeof _0x3e45e9[_0xf2f00b(0x176)]===_0xf2f00b(0x27c))return _0x3e45e9[_0xf2f00b(0x176)];return'';}[a0_0x5ba6db(0xcf)](_0x21919e){return this['getFieldList']()['has'](_0x21919e);}['isPrimaryKeyField'](_0x32755d){const _0x1c30a9=a0_0x5ba6db;if(!_0x32755d||typeof _0x32755d!==_0x1c30a9(0x181))return![];const _0x53f3c5=this[_0x1c30a9(0x22f)](_0x32755d),_0x3ce5a4=this[_0x1c30a9(0x18c)](_0x53f3c5);return _0x3ce5a4?_0x3ce5a4[_0x1c30a9(0x18a)]():![];}[a0_0x5ba6db(0x192)](_0xe8a46e){const _0x39e8e2=a0_0x5ba6db;if(!_0xe8a46e||typeof _0xe8a46e!==_0x39e8e2(0x181))return![];const _0xde23ff=this[_0x39e8e2(0x22f)](_0xe8a46e),_0x4919e9=this[_0x39e8e2(0x18c)](_0xde23ff);return _0x4919e9?_0x4919e9['isSystem']():![];}[a0_0x5ba6db(0x2a8)](_0x56b115){const _0x4f0ecd=a0_0x5ba6db;if(!_0x56b115||typeof _0x56b115!==_0x4f0ecd(0x181))return![];const _0x1dd651=this[_0x4f0ecd(0x22f)](_0x56b115),_0x27ea53=this[_0x4f0ecd(0x18c)](_0x1dd651);return _0x27ea53?_0x27ea53[_0x4f0ecd(0x2bf)]():![];}[a0_0x5ba6db(0x30d)](_0x149584){const _0x440281=a0_0x5ba6db;if(!_0x149584||typeof _0x149584!=='object')return![];const _0x5cd5f6=this[_0x440281(0x22f)](_0x149584),_0x32738e=this[_0x440281(0x18c)](_0x5cd5f6);return _0x32738e?_0x32738e[_0x440281(0xbb)]():![];}[a0_0x5ba6db(0x209)](_0x3b1af0){const _0x2d1955=a0_0x5ba6db;if(!_0x3b1af0||typeof _0x3b1af0!==_0x2d1955(0x181))return![];const _0x11bdda=this[_0x2d1955(0x22f)](_0x3b1af0),_0x4786f0=this[_0x2d1955(0x18c)](_0x11bdda);return _0x4786f0?_0x4786f0['isMultipleSelect']():![];}[a0_0x5ba6db(0x243)](_0x1622a6){const _0x34acea=a0_0x5ba6db;if(!_0x1622a6||typeof _0x1622a6!==_0x34acea(0x181))return[];const _0x36cc8c=this['getFieldCode'](_0x1622a6),_0x45f6ed=this[_0x34acea(0x18c)](_0x36cc8c);if(!_0x45f6ed||!_0x45f6ed[_0x34acea(0xbb)]())return[];return _0x45f6ed['getEnumOptions']()||[];}[a0_0x5ba6db(0x265)](_0x5a3ee0){const _0x476fbd=a0_0x5ba6db;if(!_0x5a3ee0||typeof _0x5a3ee0!=='object')return;const _0x3b2a75=this[_0x476fbd(0x22f)](_0x5a3ee0),_0x5d4d39=this[_0x476fbd(0x18c)](_0x3b2a75);if(!_0x5d4d39||!_0x5d4d39[_0x476fbd(0xbb)]())return;return _0x5d4d39[_0x476fbd(0x2f3)]();}[a0_0x5ba6db(0x2ba)](_0x36020d){const _0x4864d7=a0_0x5ba6db;if(!_0x36020d||typeof _0x36020d!==_0x4864d7(0x181))return;const _0x56b201=this[_0x4864d7(0x22f)](_0x36020d),_0x4162de=this['getFieldInstance'](_0x56b201);if(!_0x4162de||!_0x4162de[_0x4864d7(0xbb)]())return;return _0x4162de[_0x4864d7(0xb8)]();}[a0_0x5ba6db(0x300)](){const _0x83fd8d=a0_0x5ba6db;return this[_0x83fd8d(0x11c)]()[_0x83fd8d(0x2f1)]()[_0x83fd8d(0xc9)](_0x418386=>_0x418386[_0x83fd8d(0x12f)]);}[a0_0x5ba6db(0x2fe)](){const _0x3296a0=a0_0x5ba6db;return this[_0x3296a0(0x11c)]()['getSystem']()[_0x3296a0(0xc9)](_0x4d522c=>_0x4d522c[_0x3296a0(0x12f)]);}[a0_0x5ba6db(0x287)](){const _0x48da84=a0_0x5ba6db;return this[_0x48da84(0x11c)]()['getBusiness']()[_0x48da84(0xc9)](_0x369444=>_0x369444[_0x48da84(0x12f)]);}['getRequiredFields'](){const _0x5d8569=a0_0x5ba6db;return this['getFieldList']()[_0x5d8569(0x23d)]()[_0x5d8569(0xc9)](_0x5afffa=>_0x5afffa[_0x5d8569(0x12f)]);}[a0_0x5ba6db(0xae)](){const _0x34f710=a0_0x5ba6db,_0x369263=this[_0x34f710(0x11c)]()[_0x34f710(0xa4)](),_0x5c2196={};for(const [_0x15a5a7,_0x42c4b0]of Object[_0x34f710(0x1c9)](_0x369263)){_0x5c2196[_0x15a5a7]=_0x42c4b0[_0x34f710(0xc9)](_0x4b7244=>_0x4b7244[_0x34f710(0x12f)]);}return _0x5c2196;}[a0_0x5ba6db(0xed)](){const _0x529a65=a0_0x5ba6db;return this[_0x529a65(0x11c)]()[_0x529a65(0x17f)]()[_0x529a65(0xc9)](_0x38eb08=>_0x38eb08[_0x529a65(0x12f)]);}[a0_0x5ba6db(0x9c)](){const _0x550b0c=a0_0x5ba6db,_0x140cf0={};return this[_0x550b0c(0xed)]()[_0x550b0c(0x2a7)](_0x4a234f=>{const _0x11fe8b=_0x550b0c,_0x26544f=this[_0x11fe8b(0x2ba)](_0x4a234f);if(_0x26544f){const _0x5aa3a9=this[_0x11fe8b(0x22f)](_0x4a234f);_0x140cf0[_0x5aa3a9]=_0x26544f;}}),_0x140cf0;}[a0_0x5ba6db(0x28a)](_0x4f8325,_0x47d1b7){const _0x385342=a0_0x5ba6db,_0x1cfbf4=this[_0x385342(0x2ba)](_0x4f8325);if(!_0x1cfbf4)return!![];if(_0x1cfbf4[_0x385342(0x250)]&&!_0x1cfbf4[_0x385342(0x1d4)])return!![];const _0x49813a=this[_0x385342(0x22f)](_0x4f8325),_0xd6b59d=this['getFieldInstance'](_0x49813a),_0x55d241=_0xd6b59d?_0xd6b59d[_0x385342(0x2cc)]():![];if(_0x55d241&&Array[_0x385342(0x2f6)](_0x47d1b7))return _0x47d1b7[_0x385342(0x1c0)](_0x373a73=>_0x1cfbf4[_0x385342(0x141)][_0x385342(0x122)](_0x373a73));return _0x1cfbf4[_0x385342(0x141)][_0x385342(0x122)](_0x47d1b7);}[a0_0x5ba6db(0xdf)](){const _0x503ecf=a0_0x5ba6db;return new DatasetItem({'id':this['id'],'name':this[_0x503ecf(0x176)],'datasetCode':this[_0x503ecf(0x89)],'dbtableConfig':this[_0x503ecf(0x18f)]()});}[a0_0x5ba6db(0x146)](){const _0x1317b1=a0_0x5ba6db;return _0x1317b1(0x142)+this[_0x1317b1(0x176)]+',\x20'+this[_0x1317b1(0x89)]+',\x20'+this[_0x1317b1(0x27a)]()+_0x1317b1(0x20a)+this[_0x1317b1(0x132)]()+'\x20operations,\x20'+this[_0x1317b1(0x272)]()+')';}[a0_0x5ba6db(0x100)](){const _0x16ebbe=a0_0x5ba6db;return this[_0x16ebbe(0x2a5)](_0x16ebbe(0x7e));}[a0_0x5ba6db(0xc0)](_0x1ef452){const _0x2fb318=a0_0x5ba6db;return this[_0x2fb318(0x2e8)](_0x2fb318(0x7e),_0x1ef452);}[a0_0x5ba6db(0x2ed)](){const _0x1c3bd3=a0_0x5ba6db;return this[_0x1c3bd3(0x277)](_0x1c3bd3(0x7e));}[a0_0x5ba6db(0x2a5)](_0x9c5136){const _0x22b4bb=a0_0x5ba6db,_0x5da62a=this[_0x22b4bb(0xa1)](_0x9c5136);return _0x5da62a?_0x5da62a[_0x22b4bb(0x1ab)]():[];}[a0_0x5ba6db(0x2e8)](_0x514c3b,_0x539768){const _0x24332a=a0_0x5ba6db,_0x2dc21d=this['getOperation'](_0x514c3b);return _0x2dc21d?_0x2dc21d[_0x24332a(0x1c8)](_0x539768):[];}[a0_0x5ba6db(0x277)](_0x29b50e){const _0x25f09a=a0_0x5ba6db,_0x2a3134={};return this[_0x25f09a(0x11c)]()[_0x25f09a(0x2a7)](_0x348428=>{const _0x3c52f0=_0x25f09a,_0x2c5bf7=this[_0x3c52f0(0x2e8)](_0x29b50e,_0x348428[_0x3c52f0(0x1f0)]);_0x2c5bf7[_0x3c52f0(0x1d6)]>0x0&&(_0x2a3134[_0x348428['code']]=_0x2c5bf7);}),_0x2a3134;}[a0_0x5ba6db(0x309)](_0x2a26b6,_0x158038,_0x3b22f8){const _0x596852=a0_0x5ba6db,_0x5ad8bb=this[_0x596852(0x2e8)](_0x2a26b6,_0x158038);return _0x5ad8bb[_0x596852(0x122)](_0x3b22f8);}}class FieldBase{get['dbType'](){return;}get['dbTypeLen'](){return;}get['displayName'](){return;}get[a0_0x5ba6db(0x28b)](){return;}['isBusiness'](){const _0x95e53b=a0_0x5ba6db;return!this[_0x95e53b(0xe3)]();}[a0_0x5ba6db(0x162)](){const _0x41a874=a0_0x5ba6db;return this[_0x41a874(0xda)];}[a0_0x5ba6db(0xbb)](){const _0x5e287f=a0_0x5ba6db,_0x2b6b3a=[_0x5e287f(0x227),_0x5e287f(0x68),'CHECKBOX'];return _0x2b6b3a['includes'](this[_0x5e287f(0xe8)]);}[a0_0x5ba6db(0x2cc)](){const _0x265a31=a0_0x5ba6db;return this[_0x265a31(0xe8)]===_0x265a31(0x168);}['getEnumValues'](){const _0x32bfa7=a0_0x5ba6db,_0x74e71b=this[_0x32bfa7(0xb8)]();return _0x74e71b?.[_0x32bfa7(0x141)]||[];}[a0_0x5ba6db(0xb8)](){const _0x516c9e=a0_0x5ba6db;if(!this['isEnum']())return;const _0x53e5c2=this[_0x516c9e(0x225)](),_0x3cec95=this[_0x516c9e(0x2f3)](),_0x32d741=[],_0x35474e={},_0x1a7054=_0x554dcc=>{const _0x49cc5b=_0x516c9e;_0x554dcc[_0x49cc5b(0x2a7)](_0x5017df=>{const _0x3f9354=_0x49cc5b;_0x32d741[_0x3f9354(0x296)](_0x5017df['value']),_0x35474e[String(_0x5017df[_0x3f9354(0x14b)])]=_0x5017df[_0x3f9354(0x2c4)],_0x5017df[_0x3f9354(0x189)]&&_0x5017df[_0x3f9354(0x189)][_0x3f9354(0x1d6)]>0x0&&_0x1a7054(_0x5017df[_0x3f9354(0x189)]);});};return _0x53e5c2&&_0x53e5c2[_0x516c9e(0x1d6)]>0x0&&_0x1a7054(_0x53e5c2),{'code':this['code'],'name':this[_0x516c9e(0x176)],'type':this[_0x516c9e(0xe8)],'multiple':this[_0x516c9e(0x2cc)](),'options':_0x53e5c2,'selectItemsSource':_0x3cec95,'values':_0x32d741,'valueLabels':_0x35474e};}get['enumValues'](){const _0xfce2ab=a0_0x5ba6db;return this[_0xfce2ab(0x2c8)]();}[a0_0x5ba6db(0x146)](){const _0x32dec4=a0_0x5ba6db;return'Field('+this[_0x32dec4(0x176)]+',\x20'+this['code']+',\x20'+this[_0x32dec4(0xe8)]+',\x20'+this[_0x32dec4(0x272)]()+')';}}class FieldV1 extends FieldBase{[a0_0x5ba6db(0x244)];['_extend']=null;constructor(_0x35acfb){const _0x37e429=a0_0x5ba6db;super();if(!_0x35acfb||typeof _0x35acfb!=='object')throw new Error('[Field]\x20Invalid\x20field\x20definition');this[_0x37e429(0x244)]=_0x35acfb;}[a0_0x5ba6db(0x67)](){const _0x269d0e=a0_0x5ba6db;return this[_0x269d0e(0x244)];}[a0_0x5ba6db(0x272)](){return'v1';}get['raw'](){const _0x4cebe6=a0_0x5ba6db;return this[_0x4cebe6(0x244)];}get['name'](){const _0x105c97=a0_0x5ba6db;return this[_0x105c97(0x244)][_0x105c97(0x176)]||'';}get[a0_0x5ba6db(0x1f0)](){const _0x46a7c0=a0_0x5ba6db;return this[_0x46a7c0(0x244)]['code']||'';}get[a0_0x5ba6db(0xe8)](){const _0x53020b=a0_0x5ba6db;return this['_raw'][_0x53020b(0xe8)]||'';}get[a0_0x5ba6db(0x1ce)](){const _0x5c6343=a0_0x5ba6db;return this[_0x5c6343(0x244)]['description']||'';}get['deleted'](){const _0x37971d=a0_0x5ba6db;return Boolean(this[_0x37971d(0x244)][_0x37971d(0xda)]);}get['dbType'](){const _0x4743ac=a0_0x5ba6db;return this[_0x4743ac(0x244)]['dbType'];}get['dbTypeLen'](){const _0x5968ca=a0_0x5ba6db;return this[_0x5968ca(0x244)][_0x5968ca(0x2ae)];}get[a0_0x5ba6db(0x1be)](){const _0x28e36b=a0_0x5ba6db;return this['_raw'][_0x28e36b(0xd1)];}get['doType'](){return;}get['extend'](){const _0x5c9033=a0_0x5ba6db;if(this[_0x5c9033(0x15e)]!==null&&typeof this['_extend']==='object')return this[_0x5c9033(0x15e)];const _0x94d010=this[_0x5c9033(0x244)]['extend'];if(!_0x94d010||typeof _0x94d010!=='string')return this[_0x5c9033(0x15e)]={},this['_extend'];if(_0x94d010==='null'||_0x94d010[_0x5c9033(0x17a)]()===_0x5c9033(0x12a))return this[_0x5c9033(0x15e)]={},this[_0x5c9033(0x15e)];try{const _0x5a33f9=JSON[_0x5c9033(0x80)](_0x94d010);return this[_0x5c9033(0x15e)]=_0x5a33f9!==null&&typeof _0x5a33f9===_0x5c9033(0x181)&&!Array[_0x5c9033(0x2f6)](_0x5a33f9)?_0x5a33f9:{},this[_0x5c9033(0x15e)];}catch(_0x40544b){return!![]&&console[_0x5c9033(0x223)](_0x5c9033(0x88)+this[_0x5c9033(0x1f0)]+'\x20的\x20extend\x20配置失败:',_0x40544b),this[_0x5c9033(0x15e)]={},this[_0x5c9033(0x15e)];}}[a0_0x5ba6db(0x2bf)](){return Boolean(this['extend']['required']);}[a0_0x5ba6db(0x18a)](){const _0x384144=a0_0x5ba6db;return Boolean(this[_0x384144(0x21d)][_0x384144(0x1ad)]||this[_0x384144(0x21d)][_0x384144(0x9a)]);}['isSystem'](){const _0x3b9006=a0_0x5ba6db;return Boolean(this[_0x3b9006(0x21d)][_0x3b9006(0x8b)]);}[a0_0x5ba6db(0x2e5)](){const _0x527e2f=a0_0x5ba6db;return Boolean(this[_0x527e2f(0x21d)][_0x527e2f(0x180)]);}[a0_0x5ba6db(0x118)](){const _0x3cc627=a0_0x5ba6db;return Boolean(this[_0x3cc627(0x21d)][_0x3cc627(0x84)]);}['isUpdateTime'](){const _0x1b1285=a0_0x5ba6db;return Boolean(this[_0x1b1285(0x21d)][_0x1b1285(0x315)]);}[a0_0x5ba6db(0x2a1)](){const _0x2de2eb=a0_0x5ba6db;return this[_0x2de2eb(0x176)];}[a0_0x5ba6db(0x299)](){const _0x23858a=a0_0x5ba6db;return this[_0x23858a(0x1f0)];}[a0_0x5ba6db(0xbb)](){const _0x5c6aa7=a0_0x5ba6db,_0x3b3e66=['RADIO','SELECT',_0x5c6aa7(0x168)];if(_0x3b3e66['includes'](this[_0x5c6aa7(0xe8)]))return!![];const _0x2544cb=this[_0x5c6aa7(0x21d)];return Boolean(_0x2544cb[_0x5c6aa7(0x1d4)]&&Array[_0x5c6aa7(0x2f6)](_0x2544cb[_0x5c6aa7(0x1d4)])&&_0x2544cb[_0x5c6aa7(0x1d4)][_0x5c6aa7(0x1d6)]>0x0||_0x2544cb[_0x5c6aa7(0x250)]);}[a0_0x5ba6db(0x2cc)](){const _0x11f81d=a0_0x5ba6db;if(this[_0x11f81d(0xe8)]==='CHECKBOX')return!![];return Boolean(this[_0x11f81d(0x21d)][_0x11f81d(0x1ef)]);}['getEnumOptions'](){const _0x17009b=a0_0x5ba6db,_0x8f90f2=this[_0x17009b(0x21d)];if(_0x8f90f2[_0x17009b(0x1d4)]&&Array[_0x17009b(0x2f6)](_0x8f90f2['options']))return _0x8f90f2[_0x17009b(0x1d4)];return;}[a0_0x5ba6db(0x2f3)](){const _0x4dbe8a=a0_0x5ba6db,_0x3a97b8=this[_0x4dbe8a(0x21d)];if(_0x3a97b8[_0x4dbe8a(0x250)]&&typeof _0x3a97b8['selectItemsSource']===_0x4dbe8a(0x181))return _0x3a97b8[_0x4dbe8a(0x250)];return;}[a0_0x5ba6db(0x1da)](){const _0xecb96e=a0_0x5ba6db;return this[_0xecb96e(0xe8)][_0xecb96e(0x201)]();}[a0_0x5ba6db(0x13e)](){return this['extend']['defaultValue'];}[a0_0x5ba6db(0x1cb)](){const _0x3652fa=a0_0x5ba6db;return this[_0x3652fa(0x21d)][_0x3652fa(0x285)];}[a0_0x5ba6db(0x308)](){const _0x59b8f8=a0_0x5ba6db;return{'name':this[_0x59b8f8(0x176)],'code':this[_0x59b8f8(0x1f0)],'type':this['type'],'dbType':this[_0x59b8f8(0x2e6)],'dbTypeLen':this['dbTypeLen'],'description':this[_0x59b8f8(0x1ce)],'required':this['isRequired'](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x59b8f8(0xe3)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x59b8f8(0x118)](),'updateTime':this[_0x59b8f8(0x23f)](),'isEnum':this[_0x59b8f8(0xbb)](),'enumMeta':this[_0x59b8f8(0xbb)]()?this[_0x59b8f8(0xb8)]():undefined};}['toString'](){const _0x390550=a0_0x5ba6db;return _0x390550(0x1a8)+this[_0x390550(0x176)]+',\x20'+this[_0x390550(0x1f0)]+',\x20'+this['type']+')';}}class FieldListBase{['_fields'];constructor(_0x178896,_0x51571a){const _0x5bd910=a0_0x5ba6db;if(!Array[_0x5bd910(0x2f6)](_0x178896))throw new Error(_0x5bd910(0x153));const _0x1b2ac5=_0x51571a?.[_0x5bd910(0x2c3)]??![],_0x3378a4=_0x1b2ac5?_0x178896:_0x178896[_0x5bd910(0x7e)](_0x382b43=>{const _0xdd7f0a=_0x382b43;return!_0xdd7f0a['deleted'];});this[_0x5bd910(0x77)]=this[_0x5bd910(0x1c7)](_0x3378a4);}get[a0_0x5ba6db(0x1d6)](){const _0x143b40=a0_0x5ba6db;return this['_fields'][_0x143b40(0x1d6)];}[a0_0x5ba6db(0x15a)](){const _0x1b77a5=a0_0x5ba6db;return[...this[_0x1b77a5(0x77)]];}['at'](_0x1904eb){return this['_fields']['at'](_0x1904eb);}['find'](_0x52bffc){const _0x14df7d=a0_0x5ba6db;return this[_0x14df7d(0x77)][_0x14df7d(0xbf)](_0x1d5230=>_0x1d5230[_0x14df7d(0x1f0)]===_0x52bffc);}[a0_0x5ba6db(0x133)](_0x50fd9b){const _0x2272ad=a0_0x5ba6db;return this[_0x2272ad(0x77)][_0x2272ad(0xbf)](_0x27e8a3=>_0x27e8a3[_0x2272ad(0x176)]===_0x50fd9b);}['has'](_0x36b6c3){const _0x104e3f=a0_0x5ba6db;return this[_0x104e3f(0x77)][_0x104e3f(0x229)](_0x384c10=>_0x384c10[_0x104e3f(0x1f0)]===_0x36b6c3);}[a0_0x5ba6db(0x2a7)](_0x21b268){const _0x10e8a6=a0_0x5ba6db;this['_fields'][_0x10e8a6(0x2a7)](_0x21b268);}['map'](_0x2c8a05){const _0x2363b5=a0_0x5ba6db;return this[_0x2363b5(0x77)][_0x2363b5(0xc9)](_0x2c8a05);}[a0_0x5ba6db(0x7e)](_0x4466ff){const _0x2e3164=a0_0x5ba6db;return this[_0x2e3164(0x77)][_0x2e3164(0x7e)](_0x4466ff);}[a0_0x5ba6db(0x1c0)](_0x407cc5){const _0x159592=a0_0x5ba6db;return this[_0x159592(0x77)][_0x159592(0x1c0)](_0x407cc5);}[a0_0x5ba6db(0x229)](_0x3bf849){const _0x433d6b=a0_0x5ba6db;return this['_fields'][_0x433d6b(0x229)](_0x3bf849);}[a0_0x5ba6db(0x23d)](){const _0x5dcf35=a0_0x5ba6db;return this[_0x5dcf35(0x77)][_0x5dcf35(0x7e)](_0x156402=>_0x156402[_0x5dcf35(0x2bf)]());}[a0_0x5ba6db(0x2f1)](){const _0x4193b1=a0_0x5ba6db;return this['_fields'][_0x4193b1(0x7e)](_0xf4ac9e=>_0xf4ac9e[_0x4193b1(0x18a)]());}[a0_0x5ba6db(0x23e)](){const _0x1e896d=a0_0x5ba6db;return this[_0x1e896d(0x77)]['filter'](_0x1284eb=>_0x1284eb[_0x1e896d(0xe3)]());}[a0_0x5ba6db(0x25a)](){const _0xddfc0c=a0_0x5ba6db;return this[_0xddfc0c(0x77)][_0xddfc0c(0x7e)](_0xba1d58=>_0xba1d58['isBusiness']());}['getEnum'](){const _0x2fd9ae=a0_0x5ba6db;return this[_0x2fd9ae(0x77)][_0x2fd9ae(0x7e)](_0x390819=>_0x390819['isEnum']());}[a0_0x5ba6db(0x11d)](){const _0x76e2b2=a0_0x5ba6db;return this[_0x76e2b2(0x77)][_0x76e2b2(0x7e)](_0x5d1e27=>_0x5d1e27[_0x76e2b2(0x2e5)]());}[a0_0x5ba6db(0x1dc)](){const _0x42fcf2=a0_0x5ba6db;return this[_0x42fcf2(0x77)][_0x42fcf2(0x7e)](_0x7a34b9=>_0x7a34b9['isCreateTime']());}['getUpdateTime'](){const _0xadaadf=a0_0x5ba6db;return this[_0xadaadf(0x77)][_0xadaadf(0x7e)](_0x1f85e0=>_0x1f85e0[_0xadaadf(0x23f)]());}[a0_0x5ba6db(0xec)](){const _0x31d1d1=a0_0x5ba6db;return this[_0x31d1d1(0x77)][_0x31d1d1(0x7e)](_0x4b9cac=>_0x4b9cac[_0x31d1d1(0x162)]());}[a0_0x5ba6db(0x14e)](){const _0x142924=a0_0x5ba6db;return this['_fields'][_0x142924(0x7e)](_0x41cee7=>!_0x41cee7[_0x142924(0x162)]());}['groupByType'](){const _0x374894={};return this['_fields']['forEach'](_0x2e7ae7=>{const _0x106e6d=a0_0x5697,_0x1c0456=_0x2e7ae7['type'];!_0x374894[_0x1c0456]&&(_0x374894[_0x1c0456]=[]),_0x374894[_0x1c0456][_0x106e6d(0x296)](_0x2e7ae7);}),_0x374894;}[a0_0x5ba6db(0x1cc)](){const _0x31a167=a0_0x5ba6db,_0x4d7b73={};return this[_0x31a167(0x77)][_0x31a167(0x2a7)](_0x3c193d=>{const _0x407b69=_0x31a167;if(_0x3c193d[_0x407b69(0xbb)]()){const _0x412617=_0x3c193d[_0x407b69(0xb8)]();_0x412617&&(_0x4d7b73[_0x3c193d[_0x407b69(0x1f0)]]=_0x412617);}}),_0x4d7b73;}[a0_0x5ba6db(0x30b)](){const _0x33fe90=a0_0x5ba6db;return{'total':this['length'],'required':this['getRequired']()[_0x33fe90(0x1d6)],'primaryKey':this[_0x33fe90(0x2f1)]()[_0x33fe90(0x1d6)],'system':this[_0x33fe90(0x23e)]()[_0x33fe90(0x1d6)],'business':this[_0x33fe90(0x25a)]()[_0x33fe90(0x1d6)],'enum':this[_0x33fe90(0x17f)]()[_0x33fe90(0x1d6)],'autoIncrement':this['getAutoIncrement']()[_0x33fe90(0x1d6)]};}[a0_0x5ba6db(0x1c1)](){const _0xf7b6bc=a0_0x5ba6db;return this[_0xf7b6bc(0x77)][_0xf7b6bc(0xc9)](_0x40950f=>_0x40950f[_0xf7b6bc(0x1f0)]);}[a0_0x5ba6db(0x248)](){const _0x4647cb=a0_0x5ba6db;return this[_0x4647cb(0x77)][_0x4647cb(0xc9)](_0x12ba2c=>_0x12ba2c[_0x4647cb(0x2a1)]());}['getFieldNames'](){const _0x16d4c3=a0_0x5ba6db;return this[_0x16d4c3(0x77)]['map'](_0x29d948=>_0x29d948[_0x16d4c3(0x299)]());}[a0_0x5ba6db(0x308)](){const _0x7bbbaf=a0_0x5ba6db;return this[_0x7bbbaf(0x77)][_0x7bbbaf(0xc9)](_0x4732c7=>_0x4732c7[_0x7bbbaf(0x308)]());}['toString'](){const _0x446a39=a0_0x5ba6db;return _0x446a39(0x2c1)+this[_0x446a39(0x1d6)]+'\x20fields)';}}class FieldListV1 extends FieldListBase{constructor(_0x2e9a37,_0x32fbe4){super(_0x2e9a37,_0x32fbe4);}['createFields'](_0x2d9181){return _0x2d9181['map'](_0x58bdf3=>new FieldV1(_0x58bdf3));}[a0_0x5ba6db(0x15a)](){const _0x4232f6=a0_0x5ba6db;return[...this[_0x4232f6(0x77)]];}['at'](_0xd2be48){return this['_fields']['at'](_0xd2be48);}[a0_0x5ba6db(0xbf)](_0x4f05a){const _0x23f41c=a0_0x5ba6db;return this[_0x23f41c(0x77)]['find'](_0x2e14eb=>_0x2e14eb['code']===_0x4f05a);}[a0_0x5ba6db(0x133)](_0x16745a){const _0x573077=a0_0x5ba6db;return this[_0x573077(0x77)]['find'](_0x5531af=>_0x5531af[_0x573077(0x176)]===_0x16745a);}[a0_0x5ba6db(0x7e)](_0x47a824){const _0x1863bb=a0_0x5ba6db;return this[_0x1863bb(0x77)]['filter'](_0x47a824);}[a0_0x5ba6db(0xc9)](_0x26cfc5){return this['_fields']['map'](_0x26cfc5);}[a0_0x5ba6db(0x23d)](){const _0x47ec95=a0_0x5ba6db;return this[_0x47ec95(0x77)]['filter'](_0x1c0b1f=>_0x1c0b1f['isRequired']());}[a0_0x5ba6db(0x2f1)](){const _0x261571=a0_0x5ba6db;return this['_fields'][_0x261571(0x7e)](_0x552dcc=>_0x552dcc[_0x261571(0x18a)]());}['getSystem'](){const _0x5504e9=a0_0x5ba6db;return this['_fields']['filter'](_0x28e38e=>_0x28e38e[_0x5504e9(0xe3)]());}['getBusiness'](){const _0xb2bab2=a0_0x5ba6db;return this[_0xb2bab2(0x77)][_0xb2bab2(0x7e)](_0x16d261=>_0x16d261['isBusiness']());}['getEnum'](){const _0xb1c853=a0_0x5ba6db;return this['_fields'][_0xb1c853(0x7e)](_0x4ce7b8=>_0x4ce7b8[_0xb1c853(0xbb)]());}[a0_0x5ba6db(0xa4)](){const _0x66daa3=a0_0x5ba6db,_0x1ab7ea={};return this[_0x66daa3(0x77)]['forEach'](_0x490bd0=>{const _0x1bc551=_0x490bd0['type'];!_0x1ab7ea[_0x1bc551]&&(_0x1ab7ea[_0x1bc551]=[]),_0x1ab7ea[_0x1bc551]['push'](_0x490bd0);}),_0x1ab7ea;}[a0_0x5ba6db(0x12f)](){const _0x8cfa6f=a0_0x5ba6db;return this['_fields'][_0x8cfa6f(0xc9)](_0x209fb8=>_0x209fb8['raw']);}static[a0_0x5ba6db(0x1e3)](_0x1e1e48){const _0x2431da=a0_0x5ba6db,_0x1d19b9=_0x1e1e48[_0x2431da(0xc9)](_0x3fa161=>_0x3fa161[_0x2431da(0x12f)]);return new FieldListV1(_0x1d19b9);}static[a0_0x5ba6db(0x82)](_0x232635){const _0xd88ccb=a0_0x5ba6db,_0x5893d1={};return _0x5893d1[_0xd88ccb(0x2c3)]=!![],new FieldListV1(_0x232635,_0x5893d1);}}class FieldV2 extends FieldBase{[a0_0x5ba6db(0x244)];constructor(_0x50b8ba){const _0x237905=a0_0x5ba6db;super();if(!_0x50b8ba||typeof _0x50b8ba!==_0x237905(0x181))throw new Error(_0x237905(0x1b9));this[_0x237905(0x244)]=_0x50b8ba;}['getVersion'](){return'v2';}get['raw'](){return this['_raw'];}get[a0_0x5ba6db(0x176)](){const _0x34a726=a0_0x5ba6db;return this[_0x34a726(0x244)][_0x34a726(0x176)]||'';}get[a0_0x5ba6db(0x1f0)](){const _0x32d77a=a0_0x5ba6db;return this[_0x32d77a(0x244)][_0x32d77a(0x176)]||'';}get[a0_0x5ba6db(0x1be)](){const _0x288d1a=a0_0x5ba6db;return this['_raw'][_0x288d1a(0x1be)]||'';}get['type'](){const _0x3c4dd1=a0_0x5ba6db;return this['mapDbTypeToType'](this[_0x3c4dd1(0x244)][_0x3c4dd1(0x2e6)]);}get['description'](){const _0x51b663=a0_0x5ba6db;return this[_0x51b663(0x244)][_0x51b663(0x1ce)]||'';}get[a0_0x5ba6db(0xda)](){const _0xc35095=a0_0x5ba6db;return Boolean(this[_0xc35095(0x244)][_0xc35095(0xda)]);}[a0_0x5ba6db(0x2bf)](){const _0x25084a=a0_0x5ba6db;return Boolean(this[_0x25084a(0x244)]['required']);}[a0_0x5ba6db(0x18a)](){const _0x47aa2e=a0_0x5ba6db;return Boolean(this[_0x47aa2e(0x244)]['pkField']);}[a0_0x5ba6db(0xe3)](){const _0x2924ee=a0_0x5ba6db;return Boolean(this[_0x2924ee(0x244)][_0x2924ee(0x8b)]);}['isAutoIncrement'](){const _0x2fcfa7=a0_0x5ba6db;return Boolean(this['_raw'][_0x2fcfa7(0x180)]);}['isCreateTime'](){const _0x59c61a=a0_0x5ba6db;return this[_0x59c61a(0x244)][_0x59c61a(0x8b)]==='createTime';}[a0_0x5ba6db(0x23f)](){const _0x1ab7c5=a0_0x5ba6db;return this[_0x1ab7c5(0x244)][_0x1ab7c5(0x8b)]===_0x1ab7c5(0x315);}['getDisplayName'](){const _0x3d263d=a0_0x5ba6db;return this['_raw'][_0x3d263d(0x1be)]||'';}['getFieldName'](){const _0x35ac31=a0_0x5ba6db;return this[_0x35ac31(0x244)][_0x35ac31(0x176)]||'';}[a0_0x5ba6db(0xbb)](){const _0x5ddca6=a0_0x5ba6db;return Boolean(this[_0x5ddca6(0x244)][_0x5ddca6(0x1d4)]&&Array[_0x5ddca6(0x2f6)](this[_0x5ddca6(0x244)]['options'])&&this[_0x5ddca6(0x244)]['options'][_0x5ddca6(0x1d6)]>0x0);}[a0_0x5ba6db(0x2cc)](){const _0x491d27=a0_0x5ba6db,_0x573969=this[_0x491d27(0x244)][_0x491d27(0x21d)];if(!_0x573969)return![];try{const _0x474801=JSON[_0x491d27(0x80)](_0x573969);if(_0x474801&&typeof _0x474801===_0x491d27(0x181)&&'multiple'in _0x474801)return Boolean(_0x474801[_0x491d27(0x1ef)]);}catch{}return![];}[a0_0x5ba6db(0x225)](){const _0x3f4734=a0_0x5ba6db;if(this[_0x3f4734(0x244)][_0x3f4734(0x1d4)]&&Array[_0x3f4734(0x2f6)](this[_0x3f4734(0x244)][_0x3f4734(0x1d4)]))return this[_0x3f4734(0x244)]['options'];return;}[a0_0x5ba6db(0x2f3)](){const _0x256e0a=a0_0x5ba6db,_0x16b2b1=this[_0x256e0a(0x244)][_0x256e0a(0x21d)];if(!_0x16b2b1)return;try{const _0x1e190b=JSON[_0x256e0a(0x80)](_0x16b2b1);if(_0x1e190b&&typeof _0x1e190b===_0x256e0a(0x181)&&_0x256e0a(0x250)in _0x1e190b)return _0x1e190b[_0x256e0a(0x250)];}catch{}return;}['getDbTypeForOperation'](){const _0x2e8a98=a0_0x5ba6db;return this[_0x2e8a98(0x244)][_0x2e8a98(0x2e6)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x2e8a98(0x17a)]()['toUpperCase']();}['getDefaultValue'](){return;}[a0_0x5ba6db(0x1cb)](){return;}get['dbType'](){const _0x2b14f0=a0_0x5ba6db;return this[_0x2b14f0(0x244)][_0x2b14f0(0x2e6)];}get[a0_0x5ba6db(0x2ae)](){const _0x43af7d=a0_0x5ba6db;return this[_0x43af7d(0x244)][_0x43af7d(0x2ae)];}[a0_0x5ba6db(0x30f)](){const _0x1509c3=a0_0x5ba6db;return this[_0x1509c3(0x244)]['doType']??null;}get['doType'](){const _0x17b624=a0_0x5ba6db;return this['_raw'][_0x17b624(0x28b)]??null;}[a0_0x5ba6db(0x308)](){const _0x5153a5=a0_0x5ba6db;return{'name':this[_0x5153a5(0x176)],'code':this[_0x5153a5(0x1f0)],'type':this[_0x5153a5(0xe8)],'dbType':this[_0x5153a5(0x2e6)],'dbTypeLen':this['dbTypeLen'],'doType':this[_0x5153a5(0x30f)](),'displayName':this[_0x5153a5(0x1be)],'description':this['description'],'required':this[_0x5153a5(0x2bf)](),'primaryKey':this[_0x5153a5(0x18a)](),'system':this[_0x5153a5(0xe3)](),'autoIncrement':this[_0x5153a5(0x2e5)](),'createTime':this[_0x5153a5(0x118)](),'updateTime':this[_0x5153a5(0x23f)](),'isEnum':this[_0x5153a5(0xbb)](),'enumMeta':this[_0x5153a5(0xbb)]()?this[_0x5153a5(0xb8)]():undefined};}[a0_0x5ba6db(0x146)](){const _0x49d975=a0_0x5ba6db;return _0x49d975(0x106)+this[_0x49d975(0x176)]+',\x20'+this[_0x49d975(0x1f0)]+',\x20'+this[_0x49d975(0x2e6)]+_0x49d975(0x2ca)+this[_0x49d975(0x30f)]()+')';}[a0_0x5ba6db(0x301)](_0x49a518){const _0x19f927=a0_0x5ba6db,_0x425bfa={};_0x425bfa[_0x19f927(0x2cb)]=_0x19f927(0x1ac),_0x425bfa[_0x19f927(0x6b)]=_0x19f927(0x1ac),_0x425bfa[_0x19f927(0x1ac)]=_0x19f927(0x1db),_0x425bfa[_0x19f927(0x9e)]=_0x19f927(0x1db),_0x425bfa[_0x19f927(0x1a7)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x1cd)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x279)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x2c7)]=_0x19f927(0x135),_0x425bfa['DECIMAL']=_0x19f927(0x135),_0x425bfa[_0x19f927(0x1b7)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x14d)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x26f)]=_0x19f927(0x108),_0x425bfa[_0x19f927(0x202)]=_0x19f927(0x108),_0x425bfa[_0x19f927(0x108)]=_0x19f927(0x108),_0x425bfa[_0x19f927(0x276)]=_0x19f927(0x276),_0x425bfa[_0x19f927(0x28e)]='SWITCH',_0x425bfa[_0x19f927(0x15c)]=_0x19f927(0x2ea),_0x425bfa[_0x19f927(0xd7)]=_0x19f927(0x2df),_0x425bfa[_0x19f927(0x8a)]=_0x19f927(0x2df);const _0x452724=_0x425bfa,_0xcd656f=_0x49a518[_0x19f927(0x201)]();return _0x452724[_0xcd656f]||_0x19f927(0x1ac);}}class FieldListV2 extends FieldListBase{constructor(_0x2439bd,_0x552a1b){super(_0x2439bd,_0x552a1b);}[a0_0x5ba6db(0x1c7)](_0x3a395){const _0xee9501=a0_0x5ba6db;return _0x3a395[_0xee9501(0xc9)](_0x5bf1e4=>new FieldV2(_0x5bf1e4));}['all'](){const _0x213251=a0_0x5ba6db;return[...this[_0x213251(0x77)]];}['at'](_0x5c175d){return this['_fields']['at'](_0x5c175d);}[a0_0x5ba6db(0xbf)](_0x5e52bf){const _0x4f167e=a0_0x5ba6db;return this[_0x4f167e(0x77)][_0x4f167e(0xbf)](_0x52fb79=>_0x52fb79[_0x4f167e(0x1f0)]===_0x5e52bf);}[a0_0x5ba6db(0x133)](_0x1fa8a2){const _0x5df971=a0_0x5ba6db;return this[_0x5df971(0x77)][_0x5df971(0xbf)](_0x3c6761=>_0x3c6761[_0x5df971(0x2a1)]()===_0x1fa8a2);}[a0_0x5ba6db(0x7e)](_0x29c08e){return this['_fields']['filter'](_0x29c08e);}['map'](_0x5808f7){const _0x3e1e0d=a0_0x5ba6db;return this[_0x3e1e0d(0x77)]['map'](_0x5808f7);}[a0_0x5ba6db(0x23d)](){const _0x27a82c=a0_0x5ba6db;return this[_0x27a82c(0x77)][_0x27a82c(0x7e)](_0x4af403=>_0x4af403[_0x27a82c(0x2bf)]());}['getPrimaryKeys'](){const _0x3c329c=a0_0x5ba6db;return this[_0x3c329c(0x77)][_0x3c329c(0x7e)](_0x160d9e=>_0x160d9e['isPrimaryKey']());}[a0_0x5ba6db(0x23e)](){const _0x17151c=a0_0x5ba6db;return this[_0x17151c(0x77)][_0x17151c(0x7e)](_0x17be07=>_0x17be07[_0x17151c(0xe3)]());}[a0_0x5ba6db(0x25a)](){return this['_fields']['filter'](_0x17138b=>_0x17138b['isBusiness']());}[a0_0x5ba6db(0x17f)](){const _0x3762ae=a0_0x5ba6db;return this[_0x3762ae(0x77)]['filter'](_0x3d6daf=>_0x3d6daf['isEnum']());}[a0_0x5ba6db(0xa4)](){const _0x38f206=a0_0x5ba6db,_0x2ab91={};return this[_0x38f206(0x77)]['forEach'](_0x59d9d9=>{const _0x1a27ad=_0x38f206,_0x1eeda1=_0x59d9d9[_0x1a27ad(0xe8)];!_0x2ab91[_0x1eeda1]&&(_0x2ab91[_0x1eeda1]=[]),_0x2ab91[_0x1eeda1]['push'](_0x59d9d9);}),_0x2ab91;}[a0_0x5ba6db(0x12f)](){const _0x25ade4=a0_0x5ba6db;return this[_0x25ade4(0x77)][_0x25ade4(0xc9)](_0xb23f8=>_0xb23f8[_0x25ade4(0x12f)]);}static[a0_0x5ba6db(0x1e3)](_0x4deec6){const _0x2e681c=a0_0x5ba6db,_0x55833a=_0x4deec6[_0x2e681c(0xc9)](_0x12a098=>_0x12a098[_0x2e681c(0x12f)]);return new FieldListV2(_0x55833a);}static[a0_0x5ba6db(0x82)](_0x3dea35){const _0x5b0139=a0_0x5ba6db,_0x465c91={};return _0x465c91[_0x5b0139(0x2c3)]=!![],new FieldListV2(_0x3dea35,_0x465c91);}[a0_0x5ba6db(0x146)](){const _0x14084c=a0_0x5ba6db;return'FieldListV2('+this[_0x14084c(0x1d6)]+_0x14084c(0x2ad);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{['_fieldListV1'];[a0_0x5ba6db(0x318)];constructor(_0x131edd){super(_0x131edd);}[a0_0x5ba6db(0x11c)](){const _0x2038cd=a0_0x5ba6db;if(!this[_0x2038cd(0xdd)]){const _0x35e0cb={};_0x35e0cb['includeDeleted']=![],this[_0x2038cd(0xdd)]=new FieldListV1(this[_0x2038cd(0x244)][_0x2038cd(0x1f5)]||[],_0x35e0cb);}return this['_fieldListV1'];}[a0_0x5ba6db(0x95)](){const _0x326b88=a0_0x5ba6db;if(!this['_fieldListV1WithDeleted']){const _0x28df26={};_0x28df26[_0x326b88(0x2c3)]=!![],this[_0x326b88(0x318)]=new FieldListV1(this[_0x326b88(0x244)][_0x326b88(0x1f5)]||[],_0x28df26);}return this[_0x326b88(0x318)];}[a0_0x5ba6db(0x26d)](){const _0x5a68a3=a0_0x5ba6db;return(this[_0x5a68a3(0x244)][_0x5a68a3(0x1f5)]||[])[_0x5a68a3(0x7e)](_0x43b3d7=>!_0x43b3d7[_0x5a68a3(0xda)]);}[a0_0x5ba6db(0x27a)](){const _0x3a48e2=a0_0x5ba6db;return this['getFieldList']()[_0x3a48e2(0x1d6)];}['getFieldRaw'](_0x156791){const _0x10c39b=a0_0x5ba6db;return this[_0x10c39b(0x244)][_0x10c39b(0x1f5)]?.[_0x10c39b(0xbf)](_0x3cf0a1=>_0x3cf0a1[_0x10c39b(0x1f0)]===_0x156791);}[a0_0x5ba6db(0x272)](){return'v1';}[a0_0x5ba6db(0x83)](){const _0x16a643=a0_0x5ba6db,_0x5a4760={};return _0x5a4760[_0x16a643(0x145)]=this[_0x16a643(0x244)][_0x16a643(0x1f5)]||[],_0x5a4760[_0x16a643(0x2c3)]=![],_0x5a4760;}[a0_0x5ba6db(0x306)](){const _0x58d78f=a0_0x5ba6db;return this['_raw'][_0x58d78f(0x2ef)];}[a0_0x5ba6db(0x2b8)](){const _0x31b9dd=a0_0x5ba6db;return this[_0x31b9dd(0x244)][_0x31b9dd(0x1dd)];}[a0_0x5ba6db(0xab)](){const _0x44b88d=a0_0x5ba6db,_0xbaea8a=this[_0x44b88d(0x18f)](),_0x26ef82=_0xbaea8a?.[_0x44b88d(0x2be)],_0x27b7f2={};return _0x27b7f2[_0x44b88d(0xb6)]=_0xbaea8a?.[_0x44b88d(0xb6)],_0x27b7f2[_0x44b88d(0x2f8)]=_0xbaea8a?.[_0x44b88d(0x2f8)]??_0x26ef82?.[_0x44b88d(0x2f8)],_0x27b7f2['dbType']=_0x26ef82?.[_0x44b88d(0x2e6)],_0x27b7f2[_0x44b88d(0x292)]=_0x26ef82?.[_0x44b88d(0x292)],_0x27b7f2['tableName']=_0xbaea8a?.[_0x44b88d(0x21f)],_0x27b7f2[_0x44b88d(0x29f)]=_0xbaea8a?.[_0x44b88d(0x29f)],_0x27b7f2[_0x44b88d(0x9a)]=_0xbaea8a?.[_0x44b88d(0x9a)],_0x27b7f2[_0x44b88d(0xc2)]=_0x26ef82?.[_0x44b88d(0xc2)],_0x27b7f2[_0x44b88d(0x13f)]=_0x26ef82?.[_0x44b88d(0x13f)],new DBConfig(_0x27b7f2,_0xbaea8a);}get[a0_0x5ba6db(0x1f2)](){const _0x3a7458=a0_0x5ba6db;return this[_0x3a7458(0x244)][_0x3a7458(0x1f2)];}[a0_0x5ba6db(0x18c)](_0x3f44ee){const _0x16c268=a0_0x5ba6db;if(typeof _0x3f44ee!==_0x16c268(0x27c)){!![]&&console[_0x16c268(0x223)](_0x16c268(0x140),_0x3f44ee);return;}return this[_0x16c268(0x11c)]()[_0x16c268(0xbf)](_0x3f44ee);}['isMultipleSelectField'](_0x579c82){const _0xd8f45b=a0_0x5ba6db;if(!_0x579c82||typeof _0x579c82!==_0xd8f45b(0x181))return![];const _0x24d1c1=this['getFieldInstance'](_0x579c82[_0xd8f45b(0x1f0)]);return _0x24d1c1?_0x24d1c1[_0xd8f45b(0x2cc)]():![];}[a0_0x5ba6db(0x107)](){const _0xb3b97c=a0_0x5ba6db,_0x1a5305=this['getOperation'](_0xb3b97c(0x7e));return _0x1a5305;}[a0_0x5ba6db(0x116)](){const _0x1c5c5b=a0_0x5ba6db;return this['hasOperation'](_0x1c5c5b(0x7e));}['toListItem'](){const _0x669302=a0_0x5ba6db;return new DatasetItem({'id':this['id'],'name':this[_0x669302(0x176)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x669302(0x18f)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x5ba6db(0xb5)];[a0_0x5ba6db(0x303)];[a0_0x5ba6db(0x72)];constructor(_0x3bcd25){const _0x4b3a3b=a0_0x5ba6db;super(_0x3bcd25),this['_datasetMeta']=_0x3bcd25['dataset'],this[_0x4b3a3b(0x72)]=_0x3bcd25[_0x4b3a3b(0x2ec)]||[];}[a0_0x5ba6db(0x272)](){return'v2';}[a0_0x5ba6db(0x83)](){const _0x1f9087=a0_0x5ba6db,_0x5b59e9={};return _0x5b59e9['fields']=this['_raw'][_0x1f9087(0x145)],_0x5b59e9[_0x1f9087(0x2c3)]=![],_0x5b59e9;}[a0_0x5ba6db(0x306)](){const _0x55e710=a0_0x5ba6db;return this[_0x55e710(0x244)][_0x55e710(0x2ef)];}[a0_0x5ba6db(0x2b8)](){const _0x319cc8=a0_0x5ba6db;return this[_0x319cc8(0x244)]['source'];}[a0_0x5ba6db(0xab)](){const _0x422373=a0_0x5ba6db,_0x303860=this['_raw'][_0x422373(0x126)],_0x4d7809=_0x303860?.[_0x422373(0x2be)],_0x4d3ca9={};return _0x4d3ca9['dbId']=_0x303860?.[_0x422373(0xb6)],_0x4d3ca9[_0x422373(0x2f8)]=_0x303860?.[_0x422373(0x2f8)]??_0x4d7809?.[_0x422373(0x2f8)],_0x4d3ca9[_0x422373(0x2e6)]=_0x4d7809?.[_0x422373(0x2e6)],_0x4d3ca9['dbVersion']=_0x4d7809?.['dbVersion'],_0x4d3ca9[_0x422373(0x21f)]=_0x303860?.['tableName'],_0x4d3ca9['datasetKey']=_0x303860?.['datasetKey'],_0x4d3ca9[_0x422373(0x9a)]=_0x303860?.['pkField'],_0x4d3ca9[_0x422373(0xc2)]=_0x303860?.[_0x422373(0xc2)]??_0x4d7809?.[_0x422373(0xc2)],_0x4d3ca9[_0x422373(0x13f)]=_0x303860?.['appCode']??_0x4d7809?.[_0x422373(0x13f)],new DBConfig(_0x4d3ca9,_0x303860);}[a0_0x5ba6db(0x11c)](){const _0x18a334=a0_0x5ba6db;return this[_0x18a334(0x2f2)]();}[a0_0x5ba6db(0x26d)](){const _0x22dac7=a0_0x5ba6db;return this[_0x22dac7(0x244)]['fields'];}[a0_0x5ba6db(0x27a)](){const _0x331f53=a0_0x5ba6db;return this[_0x331f53(0x244)][_0x331f53(0x145)][_0x331f53(0x1d6)];}['getFieldRaw'](_0x2d9047){const _0x71da94=a0_0x5ba6db;return this[_0x71da94(0x244)][_0x71da94(0x145)][_0x71da94(0xbf)](_0x257f82=>_0x257f82[_0x71da94(0x176)]===_0x2d9047);}[a0_0x5ba6db(0x12c)](){const _0x1c6127=a0_0x5ba6db;return this[_0x1c6127(0x303)];}[a0_0x5ba6db(0x120)](){const _0x21d076=a0_0x5ba6db;return this[_0x21d076(0x72)];}['getIndexes'](){const _0x58c1d0=a0_0x5ba6db;return this[_0x58c1d0(0x303)][_0x58c1d0(0x10d)]||[];}[a0_0x5ba6db(0x1e4)](_0x91a35){const _0x25e152=a0_0x5ba6db;return this[_0x25e152(0x72)][_0x25e152(0x7e)](_0x2f051c=>_0x2f051c[_0x25e152(0x217)]===_0x91a35);}['hasRelation'](_0x9f3859){const _0xd59dc7=a0_0x5ba6db;return this[_0xd59dc7(0x72)][_0xd59dc7(0x229)](_0x35c7d6=>_0x35c7d6[_0xd59dc7(0x217)]===_0x9f3859);}['getRelatedDataset'](_0x5a5498){const _0x1b0681=a0_0x5ba6db,_0x232081=this[_0x1b0681(0x72)][_0x1b0681(0xbf)](_0x95fad8=>_0x95fad8['fromField']===_0x5a5498);if(!_0x232081)return;const _0x3a4de4={};return _0x3a4de4[_0x1b0681(0x158)]=_0x232081['toDatasetId'],_0x3a4de4[_0x1b0681(0x89)]=_0x232081[_0x1b0681(0x6d)],_0x3a4de4[_0x1b0681(0xeb)]=_0x232081[_0x1b0681(0x6f)],_0x3a4de4['tableName']=_0x232081[_0x1b0681(0x102)],_0x3a4de4[_0x1b0681(0x1bf)]=_0x232081[_0x1b0681(0x1bf)],_0x3a4de4;}[a0_0x5ba6db(0x1ed)](){const _0x535cd7=a0_0x5ba6db;return this[_0x535cd7(0x72)][_0x535cd7(0xc9)](_0x28972f=>_0x28972f[_0x535cd7(0x217)]);}[a0_0x5ba6db(0x2f2)](){const _0xabdf59=a0_0x5ba6db;if(!this['_fieldListV2']){const _0x48d4a0=this[_0xabdf59(0x244)][_0xabdf59(0x145)]||[];this[_0xabdf59(0xb5)]=new FieldListV2(_0x48d4a0);}return this['_fieldListV2'];}['getFieldInstance'](_0x3e1264){const _0x45b3ca=a0_0x5ba6db;if(typeof _0x3e1264!==_0x45b3ca(0x27c)){!![]&&console['warn'](_0x45b3ca(0x266),_0x3e1264);return;}return this[_0x45b3ca(0x2f2)]()[_0x45b3ca(0xbf)](_0x3e1264);}[a0_0x5ba6db(0x209)](_0x27fed7){const _0x2c3b64=a0_0x5ba6db;if(!_0x27fed7||typeof _0x27fed7!==_0x2c3b64(0x181))return![];const _0x41bf89=_0x27fed7[_0x2c3b64(0x176)]||_0x27fed7['code'],_0x242cce=this[_0x2c3b64(0x18c)](_0x41bf89);return _0x242cce?_0x242cce[_0x2c3b64(0x2cc)]():![];}['getOperationList'](){const _0x30ce01=a0_0x5ba6db;if(!this['_operationList']){const _0x82db5=this[_0x30ce01(0xf6)](this[_0x30ce01(0x306)]()||{});this['_operationList']=new OperationList(_0x82db5,{'fields':this['getFieldListV2']()['all'](),'pkField':this[_0x30ce01(0x244)][_0x30ce01(0x126)]?.[_0x30ce01(0x9a)],'dbtableConfig':this[_0x30ce01(0x244)][_0x30ce01(0x126)]||null});}return this[_0x30ce01(0x30c)];}['getFilterOperation'](){const _0x38d678=a0_0x5ba6db,_0x3bef7c=this[_0x38d678(0xa1)](_0x38d678(0x7e));return _0x3bef7c;}['hasFilterOperation'](){const _0x541087=a0_0x5ba6db;return this['hasOperation'](_0x541087(0x7e));}[a0_0x5ba6db(0xdf)](){const _0x2132d9=a0_0x5ba6db;return new DatasetItem({'id':this['id'],'name':this[_0x2132d9(0x176)],'datasetCode':this[_0x2132d9(0x89)],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x5ba6db(0x146)](){const _0x128c14=a0_0x5ba6db,_0xbb821e=this['_relations'][_0x128c14(0x1d6)],_0x2741fb=this[_0x128c14(0x19b)]()[_0x128c14(0x1d6)];return _0x128c14(0xa9)+this[_0x128c14(0x176)]+',\x20'+this['datasetCode']+',\x20'+this[_0x128c14(0x27a)]()+_0x128c14(0x20a)+this[_0x128c14(0x132)]()+'\x20operations,\x20'+_0xbb821e+_0x128c14(0xd2)+_0x2741fb+_0x128c14(0xf7);}[a0_0x5ba6db(0x29b)](){const _0x269338=a0_0x5ba6db;return this[_0x269338(0x244)][_0x269338(0x145)];}[a0_0x5ba6db(0x2f5)](_0x13def4){const _0x5e04d5=a0_0x5ba6db;return this[_0x5e04d5(0x244)]['fields'][_0x5e04d5(0xbf)](_0x1c5fb5=>_0x1c5fb5[_0x5e04d5(0x176)]===_0x13def4);}}function detectDatasetVersion(_0x259d58){const _0x1ce973=a0_0x5ba6db;if(_0x259d58[_0x1ce973(0x283)]==='v2'&&_0x1ce973(0x145)in _0x259d58&&Array[_0x1ce973(0x2f6)](_0x259d58[_0x1ce973(0x145)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x5ba6db(0x1d3)];constructor(_0x2e2415){const _0x50e83e=a0_0x5ba6db;super(_0x2e2415);const _0x3922a3=detectDatasetVersion(_0x2e2415);this[_0x50e83e(0x1d3)]=_0x3922a3==='v2'?new DrivenDataDetailV2(_0x2e2415):new DrivenDataDetailV1(_0x2e2415);}get['id'](){const _0x1826e1=a0_0x5ba6db;return this[_0x1826e1(0x1d3)]['id'];}get[a0_0x5ba6db(0x176)](){const _0x212975=a0_0x5ba6db;return this[_0x212975(0x1d3)][_0x212975(0x176)];}get[a0_0x5ba6db(0x89)](){const _0x5304ce=a0_0x5ba6db;return this[_0x5304ce(0x1d3)][_0x5304ce(0x89)];}get['version'](){const _0x527c8b=a0_0x5ba6db;return this['_instance'][_0x527c8b(0x272)]()==='v2'?_0x527c8b(0xd8):_0x527c8b(0x2fa);}[a0_0x5ba6db(0x272)](){const _0x2f7a6c=a0_0x5ba6db;return this['_instance'][_0x2f7a6c(0x272)]();}[a0_0x5ba6db(0x214)](){const _0x53732e=a0_0x5ba6db;return this[_0x53732e(0x1d3)]['id'];}[a0_0x5ba6db(0x284)](){const _0x547809=a0_0x5ba6db;return this['_instance'][_0x547809(0x89)];}[a0_0x5ba6db(0x1e7)](){const _0x268341=a0_0x5ba6db;return this[_0x268341(0x1d3)][_0x268341(0x176)];}[a0_0x5ba6db(0x83)](){const _0x24f716=a0_0x5ba6db;return this[_0x24f716(0x1d3)][_0x24f716(0x83)]();}[a0_0x5ba6db(0x306)](){const _0x23269f=a0_0x5ba6db;return this[_0x23269f(0x1d3)][_0x23269f(0x306)]();}[a0_0x5ba6db(0x2b8)](){const _0x2e97a1=a0_0x5ba6db;return this[_0x2e97a1(0x1d3)]['getSource']();}[a0_0x5ba6db(0x95)](){const _0x4b00bf=a0_0x5ba6db;return this[_0x4b00bf(0x1d3)][_0x4b00bf(0x95)]();}[a0_0x5ba6db(0x11c)](){const _0x1cd8e1=a0_0x5ba6db;return this[_0x1cd8e1(0x1d3)][_0x1cd8e1(0x11c)]();}[a0_0x5ba6db(0x238)](){const _0x1518a3=a0_0x5ba6db;return this[_0x1518a3(0x1d3)][_0x1518a3(0x238)]();}[a0_0x5ba6db(0x26d)](){const _0x1f6b07=a0_0x5ba6db;return this[_0x1f6b07(0x1d3)][_0x1f6b07(0x26d)]();}['getFieldCount'](){return this['_instance']['getFieldCount']();}['getPkField'](){const _0x50010a=a0_0x5ba6db,_0x37ab3b=this[_0x50010a(0x1d3)][_0x50010a(0x18f)]();return _0x37ab3b?.[_0x50010a(0x9a)];}[a0_0x5ba6db(0xab)](){const _0x1f30d7=a0_0x5ba6db;return this[_0x1f30d7(0x1d3)][_0x1f30d7(0xab)]();}['getFieldInstance'](_0x111c95){const _0x5ddc5a=a0_0x5ba6db;return this['_instance'][_0x5ddc5a(0x18c)](_0x111c95);}[a0_0x5ba6db(0x300)](){const _0x527249=a0_0x5ba6db;return this['_instance'][_0x527249(0x300)]();}[a0_0x5ba6db(0x2fe)](){const _0x398db1=a0_0x5ba6db;return this[_0x398db1(0x1d3)][_0x398db1(0x2fe)]();}[a0_0x5ba6db(0x287)](){const _0x125d1d=a0_0x5ba6db;return this[_0x125d1d(0x1d3)][_0x125d1d(0x287)]();}[a0_0x5ba6db(0x173)](){const _0x423ab3=a0_0x5ba6db;return this[_0x423ab3(0x1d3)][_0x423ab3(0x173)]();}[a0_0x5ba6db(0xae)](){const _0x524a2=a0_0x5ba6db;return this[_0x524a2(0x1d3)]['getFieldsByType']();}[a0_0x5ba6db(0xed)](){const _0x45b31=a0_0x5ba6db;return this[_0x45b31(0x1d3)]['getEnumFields']();}[a0_0x5ba6db(0x9c)](){const _0x37aeb9=a0_0x5ba6db;return this[_0x37aeb9(0x1d3)][_0x37aeb9(0x9c)]();}['getOperations'](){const _0xcae6e4=a0_0x5ba6db;return this[_0xcae6e4(0x1d3)][_0xcae6e4(0x29c)]();}[a0_0x5ba6db(0x132)](){const _0x12fc08=a0_0x5ba6db;return this[_0x12fc08(0x1d3)][_0x12fc08(0x132)]();}['getEnabledOperations'](){const _0x4e5042=a0_0x5ba6db;return this[_0x4e5042(0x1d3)]['getEnabledOperations']();}[a0_0x5ba6db(0x1de)](){const _0x3797df=a0_0x5ba6db;return this['_instance'][_0x3797df(0x1de)]();}[a0_0x5ba6db(0x286)](){const _0x5f67a4=a0_0x5ba6db;return this[_0x5f67a4(0x1d3)][_0x5f67a4(0x286)]();}[a0_0x5ba6db(0x191)](){const _0x3cf96a=a0_0x5ba6db;return this[_0x3cf96a(0x1d3)][_0x3cf96a(0x191)]();}[a0_0x5ba6db(0x30b)](){const _0x32c7d2=a0_0x5ba6db;return this[_0x32c7d2(0x1d3)]['getStats']();}[a0_0x5ba6db(0x12c)](){return this['_instance']['getDatasetMeta']();}[a0_0x5ba6db(0x120)](){const _0x14a3fa=a0_0x5ba6db;return this[_0x14a3fa(0x1d3)][_0x14a3fa(0x120)]();}[a0_0x5ba6db(0x19b)](){const _0x180c64=a0_0x5ba6db;return this['_instance'][_0x180c64(0x19b)]();}[a0_0x5ba6db(0x100)](){const _0x30da97=a0_0x5ba6db;return this[_0x30da97(0x1d3)]['getFilterOperators']();}[a0_0x5ba6db(0x2ed)](){const _0x133233=a0_0x5ba6db;return this['_instance'][_0x133233(0x2ed)]();}['toJSON'](){const _0x1a9bd7=a0_0x5ba6db;return this[_0x1a9bd7(0x1d3)][_0x1a9bd7(0x308)]();}[a0_0x5ba6db(0x107)](){const _0x27ce7b=a0_0x5ba6db;return this[_0x27ce7b(0x1d3)]['getFilterOperation']();}[a0_0x5ba6db(0x116)](){const _0x24cb25=a0_0x5ba6db;return this[_0x24cb25(0x1d3)][_0x24cb25(0x116)]();}[a0_0x5ba6db(0xdf)](){const _0x11e838=a0_0x5ba6db;return this[_0x11e838(0x1d3)][_0x11e838(0xdf)]();}['toString'](){const _0x2f4ebb=a0_0x5ba6db;return this['_instance'][_0x2f4ebb(0x146)]();}[a0_0x5ba6db(0x29a)](){const _0x1e45ad=a0_0x5ba6db;return this[_0x1e45ad(0x1d3)];}}function a0_0x5697(_0x357d0f,_0x457048){_0x357d0f=_0x357d0f-0x65;const _0x106525=a0_0x1065();let _0x5697be=_0x106525[_0x357d0f];return _0x5697be;}function detectDatasetVersion2(_0x38b41a){const _0x505b8f=a0_0x5ba6db;if(_0x38b41a['doVersion']==='v2'&&'fields'in _0x38b41a&&Array[_0x505b8f(0x2f6)](_0x38b41a[_0x505b8f(0x145)]))return'v2';return'v1';}function createDrivenDataDetail(_0x5e4415,_0x561661={}){const {forceVersion:_0xa0b823}=_0x561661;if(_0xa0b823==='v2')return new DrivenDataDetailV2(_0x5e4415);if(_0xa0b823==='v1')return new DrivenDataDetailV1(_0x5e4415);const _0xc2042d=detectDatasetVersion2(_0x5e4415);if(_0xc2042d==='v2')return new DrivenDataDetailV2(_0x5e4415);return new DrivenDataDetailV1(_0x5e4415);}function isV2Data(_0x2b6827){return detectDatasetVersion2(_0x2b6827)==='v2';}function isV1Data(_0x14757a){return detectDatasetVersion2(_0x14757a)==='v1';}function isV2Instance(_0x268e88){const _0x134170=a0_0x5ba6db;return _0x268e88[_0x134170(0x272)]()==='v2';}function isV1Instance(_0x47db3b){return _0x47db3b['getVersion']()==='v1';}class DatasetGroup{[a0_0x5ba6db(0x182)];constructor(_0x57bada){const _0xad8d3a=a0_0x5ba6db;this[_0xad8d3a(0x182)]=Array[_0xad8d3a(0x2f6)](_0x57bada)?[..._0x57bada]:[_0x57bada],this[_0xad8d3a(0x182)][_0xad8d3a(0x297)]((_0x257764,_0x5c0158)=>{const _0x42e7b4=Number(_0x257764['id'])||0x0,_0x526d2d=Number(_0x5c0158['id'])||0x0;return _0x526d2d-_0x42e7b4;});}[a0_0x5ba6db(0x2d9)](){const _0x25983e=a0_0x5ba6db;return this[_0x25983e(0x182)]['length']>0x1;}[a0_0x5ba6db(0x18e)](){const _0x527ed3=a0_0x5ba6db;return this[_0x527ed3(0x182)][0x0];}['getOldest'](){const _0x458894=a0_0x5ba6db;return this[_0x458894(0x182)][this[_0x458894(0x182)]['length']-0x1];}['getAll'](){const _0x5de13a=a0_0x5ba6db;return[...this[_0x5de13a(0x182)]];}[a0_0x5ba6db(0x218)](){const _0x5cca63=a0_0x5ba6db;return this[_0x5cca63(0x182)]['length'];}['getAt'](_0x2bb8cc){const _0x2f3ee9=a0_0x5ba6db;return this[_0x2f3ee9(0x182)][_0x2bb8cc];}[a0_0x5ba6db(0x7b)](_0x417bfd){const _0x49a6a9=a0_0x5ba6db;return this[_0x49a6a9(0x182)][_0x49a6a9(0xbf)](_0x9484c5=>_0x9484c5['id']===_0x417bfd);}[a0_0x5ba6db(0x2bb)](_0x4fd75b){const _0x5637d7=a0_0x5ba6db;return this[_0x5637d7(0x182)][_0x5637d7(0xbf)](_0x423d66=>_0x423d66[_0x5637d7(0x89)]===_0x4fd75b);}['getIds'](){const _0x4cd117=a0_0x5ba6db;return this[_0x4cd117(0x182)][_0x4cd117(0xc9)](_0x5e82e3=>_0x5e82e3['id'])['filter'](_0x3d0073=>_0x3d0073!==undefined);}[a0_0x5ba6db(0x1c1)](){const _0x57195b=a0_0x5ba6db;return this['items'][_0x57195b(0xc9)](_0x47f4db=>_0x47f4db[_0x57195b(0x89)]);}[a0_0x5ba6db(0x146)](){const _0x3fd845=a0_0x5ba6db;if(this[_0x3fd845(0x2d9)]())return _0x3fd845(0x2d8)+this[_0x3fd845(0x182)][_0x3fd845(0x1d6)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x3fd845(0x18e)]()[_0x3fd845(0x176)]+')';return _0x3fd845(0x2d8)+this[_0x3fd845(0x182)][0x0][_0x3fd845(0x176)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x374ab7){const _0x3f5f6e=a0_0x5ba6db;this[_0x3f5f6e(0xd0)]=new Map();for(const _0x35d4ba of _0x374ab7){const _0x3296a2=getTableKey(_0x35d4ba);if(!this[_0x3f5f6e(0xd0)][_0x3f5f6e(0x2c0)](_0x3296a2))this['groups']['set'](_0x3296a2,new DatasetGroup(_0x35d4ba));else{const _0x14c76f=this[_0x3f5f6e(0xd0)][_0x3f5f6e(0x2e1)](_0x3296a2),_0x3a3ef0=[..._0x14c76f[_0x3f5f6e(0x1f8)](),_0x35d4ba];this[_0x3f5f6e(0xd0)][_0x3f5f6e(0x311)](_0x3296a2,new DatasetGroup(_0x3a3ef0));}}}[a0_0x5ba6db(0x2e1)](_0xbe2993){const _0x5b1ffc=a0_0x5ba6db;return this[_0x5b1ffc(0xd0)][_0x5b1ffc(0x2e1)](_0xbe2993);}[a0_0x5ba6db(0x2c0)](_0x520421){const _0xb5360e=a0_0x5ba6db;return this[_0xb5360e(0xd0)][_0xb5360e(0x2c0)](_0x520421);}get[a0_0x5ba6db(0x2fd)](){const _0x379008=a0_0x5ba6db;return this[_0x379008(0xd0)][_0x379008(0x2fd)];}['keys'](){const _0xbbfcf9=a0_0x5ba6db;return this['groups'][_0xbbfcf9(0xe9)]();}[a0_0x5ba6db(0x141)](){const _0x145e82=a0_0x5ba6db;return this['groups'][_0x145e82(0x141)]();}['entries'](){const _0x3510ac=a0_0x5ba6db;return this[_0x3510ac(0xd0)][_0x3510ac(0x1c9)]();}[Symbol[a0_0x5ba6db(0x2a9)]](){const _0x2f8358=a0_0x5ba6db;return this[_0x2f8358(0xd0)][_0x2f8358(0x1c9)]();}[a0_0x5ba6db(0x2a7)](_0x2b591f){this['groups']['forEach']((_0x562550,_0x50338f)=>_0x2b591f(_0x562550,_0x50338f,this));}[a0_0x5ba6db(0x8f)](){const _0x351998=a0_0x5ba6db,_0x16cf13=new Map();for(const [_0x1957dc,_0x1f387a]of this['groups']){_0x1f387a['hasConflict']()&&_0x16cf13[_0x351998(0x311)](_0x1957dc,_0x1f387a);}return _0x16cf13;}[a0_0x5ba6db(0x110)](){const _0x2ce093=a0_0x5ba6db;for(const _0x2222b2 of this[_0x2ce093(0xd0)][_0x2ce093(0x141)]()){if(_0x2222b2[_0x2ce093(0x2d9)]())return!![];}return![];}['getConflictStats'](){const _0x312893=a0_0x5ba6db;let _0xfde709=0x0,_0x34f0e7=0x0;for(const _0x20d9f8 of this[_0x312893(0xd0)][_0x312893(0x141)]()){_0x20d9f8[_0x312893(0x2d9)]()&&(_0xfde709++,_0x34f0e7+=_0x20d9f8['getCount']());}const _0x46d4c1={};return _0x46d4c1[_0x312893(0x273)]=_0xfde709,_0x46d4c1['conflictItemCount']=_0x34f0e7,_0x46d4c1[_0x312893(0x185)]=this[_0x312893(0xd0)][_0x312893(0x2fd)],_0x46d4c1;}['getAllDatasets'](){const _0x284840=a0_0x5ba6db,_0xae9f45=[];for(const _0x210bc3 of this[_0x284840(0xd0)][_0x284840(0x141)]()){_0xae9f45[_0x284840(0x296)](..._0x210bc3['getAll']());}return _0xae9f45;}[a0_0x5ba6db(0x305)](){const _0x537a37=a0_0x5ba6db,_0x3e7033=[];for(const _0x2efc7c of this[_0x537a37(0xd0)][_0x537a37(0x141)]()){_0x3e7033[_0x537a37(0x296)](_0x2efc7c[_0x537a37(0x18e)]());}return _0x3e7033;}[a0_0x5ba6db(0x18e)](_0x2801e3){const _0xa97fb6=a0_0x5ba6db;return this['groups']['get'](_0x2801e3)?.[_0xa97fb6(0x18e)]();}[a0_0x5ba6db(0x1f8)](_0x12a4be){const _0x106275=a0_0x5ba6db;return this['groups'][_0x106275(0x2e1)](_0x12a4be)?.[_0x106275(0x1f8)]()||[];}[a0_0x5ba6db(0x28f)](){const _0x531723=a0_0x5ba6db,_0x2e361d=this[_0x531723(0x305)](),_0x2be1d=_0x2e361d[_0x531723(0xc9)](_0x5cf522=>_0x5cf522['toJSON']()),_0x59ca21={};return _0x59ca21[_0x531723(0x1fe)]=![],generateDatasetsConfig(_0x2be1d,_0x59ca21);}['toFullConfig'](){const _0x605b79=a0_0x5ba6db,_0xe1ce1f=this[_0x605b79(0x1cf)](),_0x585ada=_0xe1ce1f['map'](_0x318846=>_0x318846[_0x605b79(0x308)]());return generateFullDatasetsConfig(_0x585ada);}[a0_0x5ba6db(0x1e8)](){const _0xc24bcd=a0_0x5ba6db,_0x382e29={};for(const [_0x50b796,_0x5c98a9]of this[_0xc24bcd(0xd0)]){_0x382e29[_0x50b796]=_0x5c98a9;}return _0x382e29;}[a0_0x5ba6db(0x308)](){const _0x3471f9=a0_0x5ba6db,_0x26db08={};for(const [_0x4a3a7e,_0x39d012]of this[_0x3471f9(0xd0)]){_0x26db08[_0x4a3a7e]=_0x39d012[_0x3471f9(0x1f8)]()['map'](_0x1b0810=>_0x1b0810[_0x3471f9(0x308)]());}return _0x26db08;}[a0_0x5ba6db(0x146)](){const _0x4f3ee7=a0_0x5ba6db;return _0x4f3ee7(0x2b9)+this[_0x4f3ee7(0xd0)][_0x4f3ee7(0x2fd)]+_0x4f3ee7(0x10b)+(this['hasConflicts']()?_0x4f3ee7(0x2b5):_0x4f3ee7(0x1d9))+')';}}class DatasetList{[a0_0x5ba6db(0x16d)];constructor(_0x128a9c){const _0x4133f6=a0_0x5ba6db;let _0x47e8c7;if(Array[_0x4133f6(0x2f6)](_0x128a9c))_0x47e8c7=_0x128a9c;else{if('success'in _0x128a9c){if(!_0x128a9c['success'])throw new Error(_0x4133f6(0x20c));if(Array['isArray'](_0x128a9c['data']))_0x47e8c7=_0x128a9c[_0x4133f6(0x98)][_0x4133f6(0xc9)](_0x29b1fb=>({..._0x29b1fb,'datasetCode':_0x29b1fb[_0x4133f6(0x1f0)]||_0x29b1fb[_0x4133f6(0x89)]}));else{if(_0x128a9c[_0x4133f6(0x98)]?.[_0x4133f6(0xa6)])_0x47e8c7=_0x128a9c[_0x4133f6(0x98)]['tableData'][_0x4133f6(0xc9)](_0x2aa6ab=>({..._0x2aa6ab,'datasetCode':_0x2aa6ab[_0x4133f6(0x1f0)]||_0x2aa6ab['datasetCode']}));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 _0x128a9c){if(!Array[_0x4133f6(0x2f6)](_0x128a9c[_0x4133f6(0xa6)]))throw new Error(_0x4133f6(0xb3));_0x47e8c7=_0x128a9c[_0x4133f6(0xa6)]['map'](_0x49f3c5=>({..._0x49f3c5,'datasetCode':_0x49f3c5['code']||_0x49f3c5[_0x4133f6(0x89)]}));}else throw new Error(_0x4133f6(0x79));}}const _0x2b8e68=cleanDatasetNames(_0x47e8c7),_0x1e8661=_0x2b8e68[_0x4133f6(0xc9)](_0xc1a9a4=>new DatasetItem(_0xc1a9a4));this[_0x4133f6(0x16d)]=new DatasetGroupMap(_0x1e8661);}get[a0_0x5ba6db(0x155)](){const _0xb07f8a=a0_0x5ba6db;return this[_0xb07f8a(0x16d)];}[a0_0x5ba6db(0xf0)](){return this['_datasetMap']['getAllDatasets']();}[a0_0x5ba6db(0x218)](){const _0x3c4dd0=a0_0x5ba6db;return this[_0x3c4dd0(0xf0)]()[_0x3c4dd0(0x1d6)];}[a0_0x5ba6db(0x316)](){const _0x64e635=a0_0x5ba6db;return this[_0x64e635(0x16d)]['size']===0x0;}[a0_0x5ba6db(0x203)](_0x589d90){return this['getItems']()[_0x589d90];}['getFirst'](){const _0x5ebee5=a0_0x5ba6db;return this[_0x5ebee5(0xf0)]()[0x0];}[a0_0x5ba6db(0xd5)](){const _0x4671cf=this['getItems']();return _0x4671cf[_0x4671cf['length']-0x1];}[a0_0x5ba6db(0x2bb)](_0x2a3d4e){const _0x36e6a8=a0_0x5ba6db;for(const _0x32630a of this[_0x36e6a8(0x16d)][_0x36e6a8(0x141)]()){const _0x1a2c59=_0x32630a[_0x36e6a8(0x2bb)](_0x2a3d4e);if(_0x1a2c59)return _0x1a2c59;}return;}[a0_0x5ba6db(0x133)](_0x22ba61){const _0x2eb5ed=a0_0x5ba6db;return this[_0x2eb5ed(0xf0)]()[_0x2eb5ed(0xbf)](_0x42066a=>_0x42066a['name']===_0x22ba61);}['findById'](_0x5c91e9){const _0x2c958f=a0_0x5ba6db;for(const _0x25d11f of this['_datasetMap'][_0x2c958f(0x141)]()){const _0xa06681=_0x25d11f[_0x2c958f(0x7b)](_0x5c91e9);if(_0xa06681)return _0xa06681;}return;}['findByTableName'](_0x15e46a){const _0x3d5631=a0_0x5ba6db,_0x1bce68=getTableKey(_0x15e46a);return this[_0x3d5631(0x16d)]['getLatest'](_0x1bce68);}[a0_0x5ba6db(0x7e)](_0x73f136){const _0xc92fb3=a0_0x5ba6db,_0x3b76ef=this['getItems']()['filter'](_0x73f136);return new DatasetList(_0x3b76ef[_0xc92fb3(0xc9)](_0x7de1c9=>_0x7de1c9[_0xc92fb3(0x308)]()));}[a0_0x5ba6db(0x85)](_0x5e7974){const _0xab23df=a0_0x5ba6db;return this[_0xab23df(0xf0)]()[_0xab23df(0x7e)](_0x5e7974);}['forEach'](_0x3fde51){const _0x278e97=a0_0x5ba6db;this[_0x278e97(0xf0)]()[_0x278e97(0x2a7)](_0x3fde51);}[a0_0x5ba6db(0xc9)](_0x1878df){const _0x1d8a11=a0_0x5ba6db;return this['getItems']()[_0x1d8a11(0xc9)](_0x1878df);}[Symbol[a0_0x5ba6db(0x2a9)]](){const _0x19f0e7=a0_0x5ba6db;return this['getItems']()[Symbol[_0x19f0e7(0x2a9)]]();}['getVirtualTables'](){const _0x2863ed=a0_0x5ba6db;return this['getItems']()[_0x2863ed(0x7e)](_0x4cb78c=>_0x4cb78c[_0x2863ed(0x263)]());}['getRealTables'](){const _0x2f18bb=a0_0x5ba6db;return this['getItems']()[_0x2f18bb(0x7e)](_0x5cd629=>!_0x5cd629['isVirtualTable']());}[a0_0x5ba6db(0x96)](){const _0x3c3f2e=a0_0x5ba6db,_0x1d9741={};for(const _0x5d77c4 of this['_datasetMap'][_0x3c3f2e(0x141)]()){const _0x3aa876=_0x5d77c4['getLatest']()['getTableName']();_0x1d9741[_0x3aa876]=_0x5d77c4['getAll']();}return _0x1d9741;}[a0_0x5ba6db(0x131)](){const _0x415bc8=a0_0x5ba6db,_0x311d05={};for(const _0xa70cc2 of this[_0x415bc8(0x16d)][_0x415bc8(0x8f)]()[_0x415bc8(0x141)]()){const _0x42aa82=_0xa70cc2[_0x415bc8(0x18e)]()['getTableName']();_0x311d05[_0x42aa82]=_0xa70cc2[_0x415bc8(0x1f8)]()[_0x415bc8(0xc9)](_0x3da667=>_0x3da667['toJSON']());}return{'hasConflicts':Object[_0x415bc8(0xe9)](_0x311d05)[_0x415bc8(0x1d6)]>0x0,'conflicts':_0x311d05};}['hasConflicts'](){const _0x16b0ba=a0_0x5ba6db;return this[_0x16b0ba(0x16d)]['hasConflicts']();}[a0_0x5ba6db(0x25b)](){const _0x283617=a0_0x5ba6db,_0x2dbe89=[];for(const _0x5a99a0 of this[_0x283617(0x16d)][_0x283617(0x8f)]()[_0x283617(0x141)]()){_0x2dbe89['push'](..._0x5a99a0['getAll']());}return _0x2dbe89;}[a0_0x5ba6db(0x2ac)](_0x54aa6a){const _0x476e0f=a0_0x5ba6db;if(!_0x54aa6a||Object['keys'](_0x54aa6a)[_0x476e0f(0x1d6)]===0x0)return this['datasetMap']['toConfig']();const _0x3dbb4c=this[_0x476e0f(0xf0)]()[_0x476e0f(0xc9)](_0x1e5e78=>_0x1e5e78[_0x476e0f(0x308)]());return generateDatasetsConfig(_0x3dbb4c,_0x54aa6a);}[a0_0x5ba6db(0x2cd)](_0x3ad38d){const _0x5bca1f=a0_0x5ba6db,_0x389d89=this[_0x5bca1f(0x2ac)](_0x3ad38d);return datasetsConfigToArray(_0x389d89);}[a0_0x5ba6db(0x1ec)](){const _0x173fd1=a0_0x5ba6db;return this[_0x173fd1(0xf0)]()[_0x173fd1(0xc9)](_0x30a12a=>_0x30a12a[_0x173fd1(0x28f)]());}[a0_0x5ba6db(0x30b)](){const _0x5d3183=a0_0x5ba6db;return{'total':this['getCount'](),'virtualTables':this[_0x5d3183(0xba)]()[_0x5d3183(0x1d6)],'realTables':this['getRealTables']()[_0x5d3183(0x1d6)],'hasConflicts':this[_0x5d3183(0x110)](),'conflictCount':this['getConflictingItems']()[_0x5d3183(0x1d6)]};}[a0_0x5ba6db(0x16f)](){const _0x2b9bf6=a0_0x5ba6db;return this[_0x2b9bf6(0xf0)]()[_0x2b9bf6(0xc9)](_0x884a85=>_0x884a85['toJSON']());}[a0_0x5ba6db(0x308)](){return this['toArray']();}[a0_0x5ba6db(0x146)](){const _0x3ee652=a0_0x5ba6db;return _0x3ee652(0x246)+this[_0x3ee652(0x218)]()+_0x3ee652(0x167)+this['_datasetMap'][_0x3ee652(0x2fd)]+'\x20groups)';}static[a0_0x5ba6db(0x163)](_0x54f038){return new DatasetList(_0x54f038);}static['initDataset'](_0x55ccf9){return new DatasetList(_0x55ccf9);}static[a0_0x5ba6db(0x1e6)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x5ba6db(0x16e);function renderTemplate(_0xeafafd,_0x21b8cd,_0x332871={}){const _0x1a7b9c=a0_0x5ba6db;let _0x5e8a2c=_0xeafafd;return Object[_0x1a7b9c(0x1c9)](_0x332871)['forEach'](([_0x2d52a7,_0x432404])=>{const _0x3400ce=_0x1a7b9c,_0x135c3d=new RegExp(_0x3400ce(0xea)+_0x2d52a7+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x5e8a2c=_0x5e8a2c['replace'](_0x135c3d,_0x432404?'$1':'');}),Object[_0x1a7b9c(0x1c9)](_0x21b8cd)[_0x1a7b9c(0x2a7)](([_0x372c08,_0x3478c0])=>{const _0x41f7ff=_0x1a7b9c;if(_0x3478c0!==undefined){const _0x3b5959=new RegExp(_0x41f7ff(0x2f4)+_0x372c08+_0x41f7ff(0x13d),'g');_0x5e8a2c=_0x5e8a2c[_0x41f7ff(0x1bd)](_0x3b5959,_0x3478c0);}}),_0x5e8a2c;}function generateSDKInitCode(_0x308b01,_0x3109f1,_0x3e8a13,_0x1e413b,_0x962f2){const _0xa02c0c=a0_0x5ba6db,_0x1bc8c0={};_0x1bc8c0[_0xa02c0c(0x13f)]=_0x308b01,_0x1bc8c0[_0xa02c0c(0x89)]=_0x3109f1,_0x1bc8c0[_0xa02c0c(0xd1)]=_0x3e8a13,_0x1bc8c0[_0xa02c0c(0x19f)]=_0x1e413b===_0xa02c0c(0x2dc)?_0xa02c0c(0x2dc):undefined;const _0x4f495c={};return _0x4f495c['env']=_0x1e413b!==undefined&&_0x1e413b!==_0xa02c0c(0x25f),_0x4f495c[_0xa02c0c(0x23a)]=_0x962f2===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x1bc8c0,_0x4f495c);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x5ba6db(0x103);function generateAliasExplanation(_0x435192,_0x80c8ff,_0x5bb1c0,_0x35f0b1){const _0x1bff9c=a0_0x5ba6db,_0x5c2781=_0x1bff9c(0x1fc)+_0x435192,_0x33cd71=_0x1bff9c(0x94),_0x2d5cd7={};return _0x2d5cd7[_0x1bff9c(0x89)]=_0x435192,_0x2d5cd7[_0x1bff9c(0xc4)]=_0x5c2781,_0x2d5cd7['tableName']=_0x80c8ff,_0x2d5cd7[_0x1bff9c(0xd1)]=_0x5bb1c0,_0x2d5cd7['appCode']=_0x35f0b1,_0x2d5cd7[_0x1bff9c(0x317)]=_0x33cd71,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x2d5cd7,{});}function DrivenDataDetailPlusMixin(_0x2f269f){const _0x2b5435=a0_0x5ba6db;return class _0x1a2c39 extends _0x2f269f{[_0x2b5435(0x92)](_0x3e3928){const _0x38329d=_0x2b5435;return{'appCode':_0x3e3928,'datasetSDKKey':this[_0x38329d(0x127)](),'alias':this[_0x38329d(0x2b6)](),'tableName':this['getTableName'](),'datasetCode':this['datasetCode']};}['generateSDKInitCode'](_0x3e76b9,_0x28cff1='online',_0x40c162=![]){const _0x1a92af=_0x2b5435;return generateSDKInitCode(_0x3e76b9,this[_0x1a92af(0x89)],this[_0x1a92af(0x2b6)](),_0x28cff1==='daily'?_0x28cff1:undefined,_0x40c162);}[_0x2b5435(0x174)](_0x19b318,_0x1f0894,_0x479530={}){const _0x421aae=_0x2b5435,_0x171907=this['getOperations']()[_0x421aae(0xbf)](_0x4bd436=>_0x4bd436[_0x421aae(0x1e7)]()===_0x19b318);if(!_0x171907)return null;const _0x543727={};_0x543727[_0x421aae(0x1fd)]=_0x479530[_0x421aae(0x1b2)]!==![];const _0x556b11=this[_0x421aae(0x21a)](_0x19b318,_0x543727);if(!_0x556b11)return null;const _0x20bbac=[];return _0x20bbac[_0x421aae(0x296)]('//\x20Call\x20the\x20'+_0x171907[_0x421aae(0x1e7)]()+_0x421aae(0x2e0)),_0x20bbac[_0x421aae(0x296)](_0x556b11[_0x421aae(0x161)][_0x421aae(0x1f0)]),_0x20bbac[_0x421aae(0x296)](''),_0x479530[_0x421aae(0x2ab)]!==![]&&(_0x20bbac[_0x421aae(0x296)](_0x421aae(0xdc)),_0x20bbac['push'](_0x556b11[_0x421aae(0x2e7)][_0x421aae(0x2ee)]),_0x20bbac[_0x421aae(0x296)](''),_0x20bbac[_0x421aae(0x296)](_0x556b11[_0x421aae(0x2e7)]['errorCode'])),_0x20bbac['join']('\x0a');}[_0x2b5435(0x1f9)](_0x504ae7={}){const _0x1d315=_0x2b5435,_0x145f51=this[_0x1d315(0x147)](),_0x29e960=[];return _0x145f51['forEach']((_0xdbb729,_0x26f17d)=>{const _0x3bc464=_0x1d315,_0x154d62=this['generateFullSDKExample'](_0xdbb729[_0x3bc464(0x176)],_0x3bc464(0x24c),_0x504ae7);_0x154d62&&(_0x29e960[_0x3bc464(0x296)](_0x3bc464(0x2e4)+(_0x26f17d+0x1)+'.\x20'+_0xdbb729['displayName']),_0x29e960[_0x3bc464(0x296)](_0x154d62),_0x29e960[_0x3bc464(0x296)](''));}),_0x29e960[_0x1d315(0x18b)]('\x0a');}[_0x2b5435(0x187)](_0x3a6c24){const _0x193cfc=_0x2b5435,_0x4f3c47=this['getOperationAnalysis'](_0x3a6c24);if(!_0x4f3c47)return null;const _0x3d1086={};return _0x3d1086[_0x193cfc(0x176)]=_0x4f3c47[_0x193cfc(0x176)],_0x3d1086['displayName']=_0x4f3c47[_0x193cfc(0x1be)],_0x3d1086['method']=_0x4f3c47[_0x193cfc(0x76)],_0x3d1086[_0x193cfc(0x267)]=_0x4f3c47[_0x193cfc(0x267)],_0x3d1086[_0x193cfc(0xcd)]=_0x4f3c47['enabled'],_0x3d1086[_0x193cfc(0x280)]=_0x4f3c47[_0x193cfc(0x30a)]['length'],_0x3d1086[_0x193cfc(0x1c2)]=_0x4f3c47[_0x193cfc(0x211)]!==null,_0x3d1086;}[_0x2b5435(0x289)](_0x1bf738={}){const _0x4d4218=_0x2b5435,_0xe949b4=this['getEnabledOperationAnalyses']();return{'datasetName':this[_0x4d4218(0x176)],'datasetCode':this[_0x4d4218(0x89)],'tableName':this[_0x4d4218(0x26c)](),'totalOperations':_0xe949b4[_0x4d4218(0x1d6)],'operations':_0xe949b4[_0x4d4218(0xc9)](_0x1c9977=>({'name':_0x1c9977[_0x4d4218(0x176)],'displayName':_0x1c9977[_0x4d4218(0x1be)],'method':_0x1c9977['method'],'enabled':_0x1c9977[_0x4d4218(0xcd)]}))};}['getOperationRequestFields'](_0x31b763){const _0x344b2a=_0x2b5435,_0xb32fa3=this['getOperationAnalysis'](_0x31b763);if(!_0xb32fa3)return[];return _0xb32fa3[_0x344b2a(0x30a)]['map'](_0x206329=>{const _0x6fc4c1=_0x344b2a,_0x382884=this['getFieldInstance'](_0x206329);if(!_0x382884)return null;const _0x4860c5={};return _0x4860c5[_0x6fc4c1(0x1f0)]=_0x206329,_0x4860c5[_0x6fc4c1(0x176)]=_0x382884['name']||_0x206329,_0x4860c5;})[_0x344b2a(0x7e)](_0x1c9c74=>_0x1c9c74!==null);}['getMissingCRUDOperations'](){const _0x3bdc30=_0x2b5435,_0x55f7d8=new Set(this[_0x3bdc30(0x147)]()['map'](_0x205e6c=>String(_0x205e6c['type']))),_0xadb9d1=['create','getList',_0x3bdc30(0xf1),'delete'];return _0xadb9d1[_0x3bdc30(0x7e)](_0x22b817=>!_0x55f7d8[_0x3bdc30(0x2c0)](String(_0x22b817)));}[_0x2b5435(0x2d6)](_0x5933d6=_0x2b5435(0x24c)){const _0x10522f=_0x2b5435;return generateAliasExplanation(this[_0x10522f(0x89)],this[_0x10522f(0x26c)](),this[_0x10522f(0x2b6)](),_0x5933d6);}};}function operationToAnalysis(_0x17914e){const _0x54203a=a0_0x5ba6db;return{'name':_0x17914e['getName'](),'displayName':_0x17914e[_0x54203a(0x2a1)](),'type':_0x17914e[_0x54203a(0x295)](),'method':_0x17914e[_0x54203a(0x149)](),'path':_0x17914e['getPath'](),'fullUrl':_0x17914e['getFullUrl'](),'requestFields':_0x17914e['getRequestFields'](),'requestParams':_0x17914e[_0x54203a(0x24b)](),'responseSchema':_0x17914e[_0x54203a(0x232)](),'requestExample':_0x17914e[_0x54203a(0x194)](),'responseExample':_0x17914e[_0x54203a(0x262)](),'enabled':_0x17914e[_0x54203a(0x2c6)]()};}function operationsToAnalyses(_0x35891f){const _0x1b0039=a0_0x5ba6db;if(!Array[_0x1b0039(0x2f6)](_0x35891f))return!![]&&console[_0x1b0039(0x223)](_0x1b0039(0x150),_0x35891f),[];return _0x35891f[_0x1b0039(0xc9)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x2d2c70){const _0x50fa93=a0_0x5ba6db,_0x31961d=_0x2d2c70[_0x50fa93(0xbf)](_0x7b966a=>_0x7b966a[_0x50fa93(0x176)]===_0x50fa93(0x7e)),_0x1330de=_0x2d2c70[_0x50fa93(0x7e)](_0x14b581=>_0x14b581['name']!==_0x50fa93(0x7e));return _0x31961d?[_0x31961d,..._0x1330de]:_0x1330de;}function filterOperationAnalyses(_0x48c864,_0x21a1d3={}){const _0x544330=a0_0x5ba6db;let _0x2ab661=_0x48c864;return!_0x21a1d3[_0x544330(0x14a)]&&(_0x2ab661=_0x2ab661[_0x544330(0x7e)](_0x4c0691=>_0x4c0691[_0x544330(0xcd)])),_0x21a1d3['filterBlacklist']!==![]&&(_0x2ab661=filterApiOperations(_0x2ab661)),_0x21a1d3['customFilter']&&(_0x2ab661=_0x2ab661[_0x544330(0x7e)](_0x21a1d3[_0x544330(0x2d4)])),sortOperationsWithFilterFirst(_0x2ab661);}function getOperationStats(_0x9a5ce8){const _0x2dae15=a0_0x5ba6db,_0x59a54f=_0x9a5ce8[_0x2dae15(0x7e)](_0x1a5973=>_0x1a5973[_0x2dae15(0xcd)]);return{'total':_0x9a5ce8['length'],'enabled':_0x59a54f[_0x2dae15(0x1d6)],'disabled':_0x9a5ce8[_0x2dae15(0x1d6)]-_0x59a54f['length'],'byType':getCountByType(_0x59a54f),'byMethod':getCountByMethod(_0x59a54f)};}function getCountByType(_0x439df9){const _0x1dd99f=a0_0x5ba6db,_0x5d6b54={};return _0x439df9[_0x1dd99f(0x2a7)](_0x331072=>{const _0x4cc737=_0x1dd99f;if(_0x331072[_0x4cc737(0xe8)])_0x5d6b54[_0x331072['type']]=(_0x5d6b54[_0x331072[_0x4cc737(0xe8)]]||0x0)+0x1;}),_0x5d6b54;}function getCountByMethod(_0x14319b){const _0x2d129b=a0_0x5ba6db,_0x858f1d={};return _0x14319b[_0x2d129b(0x2a7)](_0x32b438=>{const _0x4c765e=_0x2d129b;_0x858f1d[_0x32b438[_0x4c765e(0x76)]]=(_0x858f1d[_0x32b438[_0x4c765e(0x76)]]||0x0)+0x1;}),_0x858f1d;}function a0_0x1065(){const _0x3ac319=['getSystem','isUpdateTime','getTableKey','CREATE_EXPORT','getOperationAnalysis','getFieldOptions','_raw','字段编码','DatasetList(','$gte','getNames','const\x20data\x20=\x20await\x20client.models.','round','getRequestParams','demo-app','delete','String[]','JSON','selectItemsSource','prototype','field_name','N/A','-\x20其他要更新的字段直接平铺在同一层级','时间戳','item1','getMissingCRUDOperations',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','获取下拉选项','getBusiness','getConflictingItems','ARRAY','email','boolean','online','getEnabledNames','sortNum','generateResponseExample','isVirtualTable','dataset_000000','getFieldSelectItemsSource','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','path','15706850gEkzpe','_operationAnalyses','每页条数','getRequestFields','getTableName','getFields','excelExport','DATETIME','getGroupedParams','查询列表','getVersion','conflictGroupCount','获取上传脚本','stringify','TIME','getOperationFieldsOperatorsMap','HTTP\x20直接调用时使用平铺格式:\x0a','TINYINT','getFieldCount','pageSize','string','3787vPXePX','address','字段名称','requestFieldCount','\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','getOperationStats','doVersion','getCode','tooltip','getEnabledOperationInstances','getBusinessFields','getSystemAnalysisResult','generateAllOperationsSummary','validateEnumValue','doType','creatorIdField','BOOL','BOOLEAN','toConfig','4308TcVPZl','toLowerCase','dbVersion','hasDblinkInfo','split','getType','push','sort','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getFieldName','getInternalInstance','getFieldsV2','getOperations','getOperationAnalysesByType',',\x20fields:\x20','datasetKey','generateSingleValueExample','getDisplayName','_requestExampleCache','接口名称','now','getOperationOperators','hasCreateTimeField','forEach','isRequiredField','iterator','generateHTTPExample','includeUsageExample','generateConfig','\x20fields)','dbTypeLen','fieldName','labelField','DESC','$lteq','phone','getOne','has\x20conflicts','getModelAlias','GET','getSource','DatasetGroupMap(','getEnumFieldMeta','findByCode','hasCreatorIdField','_avg','dblinkInfoDTO','isRequired','has','FieldList(','create','includeDeleted','label','hasExtendField','isEnabled','SMALLINT','getEnumValues','GET_LIST',',\x20doType=','VARCHAR','isMultipleSelect','generateConfigArray','getAppCode','test','dataset','getOperationRequestFields','createDate','单值查询','customFilter','主键,用于定位要更新的记录','generateAliasExplanation','creatorNameField','DatasetGroup(','hasConflict','/filter','Excel导出','daily','_operations','getUpdateFields','FILE','\x20operation','get','Filter\x20API\x20-\x20高级查询接口','generateDefaultFilterOperation','//\x20','isAutoIncrement','dbType','usageExample','getOperationFieldOperators','orderBy','SWITCH','errorCode','relations','getFieldsFilterOperatorsMap','successCode','operations','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','getPrimaryKeys','getFieldListV2','getSelectItemsSource','\x5c{\x5c{','getFieldV2','isArray','解析\x20responseBody\x20失败:','dbName','2195781VJKjvX','1.0','keyword','generateSDKInitCode','size','getSystemFields','function','getPrimaryKeyFields','mapDbTypeToType','getAllFieldsString','_datasetMeta','DECIMAL','getLatestDatasets','getOperationsData','要更新的字段数据对象','toJSON','isOperatorApplicableToField','requestFields','getStats','_operationList','isEnumField','$endWith','getDOType','systemFieldCount','set','3MuVxUE','getFilteredOperationAnalyses','getEnabledOperations','updateTime','isEmpty','exampleWhere','_fieldListV1WithDeleted','currentPage','min','API路径','toFieldDefinition','SELECT','updateTimeField','分组字段列表','CHAR','title','toDatasetCode','({\x20currentPage,\x20pageSize\x20});','toDatasetName','getRequestParamsDocInfo','generateFromSchema','_relations','getTenantCode','getDatabaseName','value2','method','_fields','SDK\x20调用时传递两个参数:\x0a','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','(id,\x20data);','findById','DrivenDataDetailPlusV2(','total','filter','1590aafRUm','parse','8915008ZmBQpx','withDeleted','getFieldDataSource','createTime','findAll','generateHTTPRequestExample','$gteq','[FieldV1.extend]\x20解析字段\x20','datasetCode','LONGBLOB','systemRetain','创建导入','filterBlacklist','distinct','getConflicts','getOperationList','default','getSDKInitData','-\x20主键ID,用于定位要更新的记录\x0a\x0a','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getFieldListWithDeleted','groupByTableName','getCountByType','data','RICH_TEXT','pkField','getOneUpdate','getEnumFieldsMeta','Object','LONGTEXT','\x20operations,\x20v2)','column','getOperation','_fieldListWithDeleted','prefix','groupByType','GET_SELECT_OPTIONS','tableData','createExport','$and','DrivenDataDetailV2(','UPLOAD','getDBConfig','getFieldDefinition','**可更新的字段列表:**','getFieldsByType','POST','获取数据集失败:\x20','<p>富文本内容</p>','normalizeDbType','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','createTimeField','_fieldListV2','dbId','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','getEnumMeta','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','getVirtualTables','isEnum','查询单条(原始)','2024-12-31','INTEGER','find','getFieldFilterOperators','排序规则(与\x20Filter\x20API\x20一致)','tenantCode','(params);','datasetSDKKey','where','valueLabels','({\x20code,\x20label\x20});','GET_ONE','map','\x20operations,\x20v1)','getEnabled','getFiltered','enabled','logicField','hasField','groups','alias','\x20relations,\x20','number','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','getLast','操作名称','BLOB','2.0','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','deleted','hasTableName','//\x20Usage\x20examples','_fieldListV1','createAll','toListItem','聚合函数配置数组(type:\x20sum/count/avg/max/min)','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','主键ID(必填)','isSystem','isOperationEnabled','DbtableConfig(table:\x20','generateRequestAllExamples','$in','type','keys','<!--\x5cs*CONDITION:\x5cs*','datasetName','getDeleted','getEnumFields','文件上传','isPrimaryKeyField','getItems','update','({\x20/*\x20可选:筛选条件\x20*/\x20});','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','$contain','获取文件URL','ensureFilterOperation','\x20indexes)','parseFieldExtend','聚合函数配置数组','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','解析\x20requestBody\x20失败:','完整的\x20SDK\x20调用代码','modifyDate','totalCount','operationCount','getFilterOperators','getDisabledNames','toTableName','##\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','isNumericField','getDatabaseType','FieldV2(','getFilterOperation','DATE','getAllParams','aggregate','\x20groups,\x20','\x20API\x20文档','indexes','getDatasetDocMeta','msg','hasConflicts','context','dataset_unknown','hasOperation','getOperationsOverviewData','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','hasFilterOperation','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','isCreateTime','Number','getDatabaseVersion','modifierIdField','getFieldList','getAutoIncrement','getField','modifierNameField','getRelations','supportsCRUD','includes','Integer','查询单个条件','index','dbtableConfig','getDatasetSDKKey','systemAnalysisResult','_fieldList','null','user@example.com','getDatasetMeta','_autoGenerated','数组查询(支持多选)','raw','getOperationAnalyses','detectConflicts','getOperationCount','findByName','getAllFieldsArray','NUMBER','TASK_INFO','status','获取数据集列表失败:\x20','responseBody','generateSDKCallCode','每页数量(默认:\x2020)','getFieldRaw','\x5c}\x5c}','getDefaultValue','appCode','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','values','DrivenDataDetail(','示例值','modelCode','fields','toString','getEnabledOperationAnalyses','forceVersion','getMethod','includeDisabled','value','getFilteredOperations','FLOAT','getActive','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','SDK\x20调用示例(两参数格式)','having','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','getUpdatableFields','datasetMap','排序规则','parseRawRequestBody','datasetId','getDisabled','all','({\x20','BIT','desc','_extend','getHTTPRequestParamsDocInfo','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','sdkCall','isDeleted','fromApiResponse','createImport','params','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','\x20items,\x20','CHECKBOX','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','count','getResponseParamsDocInfo','useArrayValues','_datasetMap','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','toArray','parseRawResponseBody','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','sortOperationsWithFilterFirst','getRequiredFields','generateFullSDKExample','fieldCount','name','Operation\x20not\x20found:\x20','fieldCode','支持单值或数组','trim','[parseFieldExtend]\x20Invalid\x20field:','add','CREATE_IMPORT','-$1','getEnum','autoIncrement','object','items','2024-01-01','这是一段较长的文本内容示例','totalGroups','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','generateOperationSummary','isBusiness','children','isPrimaryKey','join','getFieldInstance','getOneOrigin','getLatest','getRawDbtableConfig','IMAGE','getDisabledOperationInstances','isSystemField','tableColumns','generateRequestExample','columnName','Object[]','长文本','select','富文本','(id,\x20','getIndexes','max','_sum','sdkCallCode','env','slice','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','请求示例','getFieldDescription','paging','(id);','const\x20result\x20=\x20await\x20client.models.','INT','FieldV1(','9SMaLen','generateExampleValue','getOperators','TEXT','primaryKey','required','sum','$startWith','主键ID','includeRequestExample','toISOString','datasetInfo','查询单条(用于更新)','操作成功','DOUBLE','北京市朝阳区','[FieldV2]\x20Invalid\x20field\x20definition','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','String','(支持单值或数组)','replace','displayName','toField','every','getCodes','hasResponseSchema','avg','getCountByMethod','查询单条','getFieldType','createFields','getFieldOperators','entries','0000','getTooltip','getEnumMetas','BIGINT','description','getAllDatasets','errorMsg','();\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}','getFullUrl','_instance','options','查询条件(支持\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)','length','getList','getApplicableOperators','no\x20conflicts','getDbTypeForOperation','TEXTAREA','getCreateTime','source','getDisabledOperations','当前页码(从\x201\x20开始,默认:\x201)','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','(实际字段:','1.0.0-beta.8','from','getRelationsByField',',\x20currentPage,\x20pageSize,\x20...\x20});','empty','getName','toObject','getPath','Array','任务信息','toConfigArray','getForeignKeyFields','allFields','multiple','code','generateFieldExample','version','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','getRaw','properties','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','groupBy','getAll','generateAllOperationsFullSDKExample','();','total_count','dataset_','useFullExample','enableDeduplication','getUploadFileScript','hasDbtableConfig','toUpperCase','TIMESTAMP','getAt','https://example.com/file.pdf','getFileUrl','modelId','importTemplate','requestBody','isMultipleSelectField','\x20fields,\x20','array','Invalid\x20API\x20response:\x20success\x20is\x20false','50ONEDdi','getModelName','getSelectOptions','_$1','responseSchema','precision','CREATE','getId','value1','suffix','fromField','getCount','hasModifierIdField','getOperationDocMeta','yourModel','selectBestOperator','extend','generateUsageExample','tableName','lastIndexOf','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','16926118wFFLIf','warn','placeholder','getEnumOptions','getHTTPFields','RADIO','$lte','some','200','$ne','915220SJUNwc','$eq','分组后的过滤条件(对聚合结果进行过滤)','getFieldCode','host','success','getResponseSchema','示例文本','当前页码','isFieldPrimaryKey','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','导入模板','getFieldsWithDeleted','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','isOpenAPI','创建导出','STRING','getRequired'];a0_0x1065=function(){return _0x3ac319;};return a0_0x1065();}function supportsCRUD(_0x1b5645){const _0x533d31=a0_0x5ba6db,_0x27f36b=new Set(_0x1b5645['map'](_0x5cd065=>_0x5cd065[_0x533d31(0xe8)])['filter'](Boolean));return _0x27f36b[_0x533d31(0x2c0)](_0x533d31(0x2c2))&&_0x27f36b[_0x533d31(0x2c0)](_0x533d31(0x1d7))&&_0x27f36b[_0x533d31(0x2c0)]('update')&&_0x27f36b[_0x533d31(0x2c0)](_0x533d31(0x24d));}function createOperationDocMeta(_0x5e6dc1,_0x32e459,_0x2d6268,_0x25202d,_0x48173e,_0x3e2e4c){const _0x1f7851=a0_0x5ba6db,_0x147f9c={};return _0x147f9c[_0x1f7851(0x1fd)]=_0x3e2e4c?.['useFullExample'],{'operation':_0x5e6dc1,'operationInstance':_0x32e459,'basicInfo':{'name':_0x5e6dc1[_0x1f7851(0x176)],'displayName':_0x5e6dc1[_0x1f7851(0x1be)],'method':_0x5e6dc1['method'],'path':_0x5e6dc1[_0x1f7851(0x267)],'fullUrl':_0x5e6dc1['fullUrl'],'enabled':_0x5e6dc1[_0x1f7851(0xcd)]},'sdkCall':{'datasetCode':_0x2d6268,'datasetSDKKey':_0x25202d,'tableName':_0x48173e,'operationName':_0x5e6dc1[_0x1f7851(0x176)],'params':_0x5e6dc1[_0x1f7851(0x30a)],'code':_0x32e459[_0x1f7851(0x13a)](_0x25202d,_0x147f9c)},'usageExample':_0x32e459[_0x1f7851(0x21e)](_0x25202d)};}function createOperationsOverviewData(_0x1ee94e){const _0x289b2e=a0_0x5ba6db,_0x49aff8={};_0x49aff8[_0x289b2e(0x125)]=_0x289b2e(0x176),_0x49aff8['label']=_0x289b2e(0x2a3);const _0x1af704={};_0x1af704[_0x289b2e(0x125)]=_0x289b2e(0x1be),_0x1af704[_0x289b2e(0x2c4)]=_0x289b2e(0xd6);const _0x4bd43a={};_0x4bd43a[_0x289b2e(0x125)]=_0x289b2e(0x76),_0x4bd43a['label']='方法';const _0x1c6d84={};_0x1c6d84[_0x289b2e(0x125)]=_0x289b2e(0x161),_0x1c6d84['label']='SDK\x20调用';const _0x5916be={};_0x5916be[_0x289b2e(0x125)]=_0x289b2e(0x267),_0x5916be[_0x289b2e(0x2c4)]=_0x289b2e(0x66);const _0x2d57f5={};_0x2d57f5[_0x289b2e(0x125)]=_0x289b2e(0x19e),_0x2d57f5[_0x289b2e(0x2c4)]=_0x289b2e(0xfc);const _0x17cbd6=[_0x49aff8,_0x1af704,_0x4bd43a,_0x1c6d84,_0x5916be,_0x2d57f5],_0x2de89f=_0x1ee94e[_0x289b2e(0xc9)](_0x12deba=>{const _0x2fd5bf=_0x289b2e,{basicInfo:_0x58f5ad,sdkCall:_0x37dd75}=_0x12deba,_0x3d2c69=_0x37dd75['code'][_0x2fd5bf(0x1bd)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x2fd5bf(0x1bd)](/;$/,''),_0x2a5ef9={};return _0x2a5ef9[_0x2fd5bf(0x1be)]=_0x58f5ad[_0x2fd5bf(0x1be)],_0x2a5ef9['name']=_0x58f5ad['name'],_0x2a5ef9[_0x2fd5bf(0x76)]=_0x58f5ad['method'],_0x2a5ef9[_0x2fd5bf(0x267)]=_0x58f5ad[_0x2fd5bf(0x267)],_0x2a5ef9[_0x2fd5bf(0x161)]=_0x3d2c69,_0x2a5ef9['sdkCallCode']=_0x37dd75[_0x2fd5bf(0x1f0)],_0x2a5ef9;}),_0x1bd510={};return _0x1bd510[_0x289b2e(0x193)]=_0x17cbd6,_0x1bd510[_0x289b2e(0xa6)]=_0x2de89f,_0x1bd510;}function createDatasetDocMeta(_0x4a79e5,_0xfb0bc8,_0x2d4ea0,_0x2074f2,_0x4855ec,_0x4d6daf,_0xa3dfa4,_0x211e0b,_0x8ec0b0){const _0x5473a5=a0_0x5ba6db,_0x3ae9d1={};return _0x3ae9d1[_0x5473a5(0x6c)]=_0x4a79e5+_0x5473a5(0x10c),_0x3ae9d1[_0x5473a5(0x1b4)]={},_0x3ae9d1[_0x5473a5(0x2ef)]=_0x8ec0b0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x176)]=_0x4a79e5,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x1f0)]=_0xfb0bc8,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x21f)]=_0x2d4ea0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0xc4)]=_0x2074f2,_0x3ae9d1[_0x5473a5(0x1b4)]['tableKey']=_0x4855ec,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x1dd)]=_0x4d6daf,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x175)]=_0xa3dfa4,_0x3ae9d1[_0x5473a5(0x1b4)]['businessFieldCount']=0x0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x310)]=0x0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0xff)]=_0x211e0b,_0x3ae9d1[_0x5473a5(0x1b4)]['enabledOperationCount']=_0x8ec0b0[_0x5473a5(0x1d6)],_0x3ae9d1;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x5ba6db(0x269)];[a0_0x5ba6db(0x272)](){return'v1';}[a0_0x5ba6db(0x2b6)](){const _0x1b5966=a0_0x5ba6db;return this[_0x1b5966(0x240)]();}[a0_0x5ba6db(0x130)](_0x34f4d6=![]){const _0x53437e=a0_0x5ba6db;if(!_0x34f4d6&&this[_0x53437e(0x269)])return this[_0x53437e(0x269)];const _0x210db5=this[_0x53437e(0x29c)]();return this[_0x53437e(0x269)]=operationsToAnalyses(_0x210db5),this[_0x53437e(0x269)];}[a0_0x5ba6db(0x147)](){const _0x2f9f7e=a0_0x5ba6db,_0x54dcdd={};return _0x54dcdd[_0x2f9f7e(0x14a)]=![],_0x54dcdd[_0x2f9f7e(0x8d)]=!![],this[_0x2f9f7e(0x313)](_0x54dcdd);}[a0_0x5ba6db(0x313)](_0x1af2a7={}){const _0x51d492=a0_0x5ba6db;return filterOperationAnalyses(this[_0x51d492(0x130)](),_0x1af2a7);}[a0_0x5ba6db(0x242)](_0x399612){const _0x3ca731=a0_0x5ba6db;return this[_0x3ca731(0x130)]()[_0x3ca731(0xbf)](_0x1abfd7=>_0x1abfd7[_0x3ca731(0x176)]===_0x399612);}[a0_0x5ba6db(0x29d)](_0x2523e9){const _0x3c5cc4=a0_0x5ba6db;return this[_0x3c5cc4(0x130)]()['filter'](_0x5bca4d=>_0x5bca4d[_0x3c5cc4(0xe8)]===_0x2523e9);}[a0_0x5ba6db(0x21a)](_0x5634a3,_0xc00743){const _0x2353ef=a0_0x5ba6db,_0x193e0c=this[_0x2353ef(0x242)](_0x5634a3);if(!_0x193e0c)return null;const _0x5d9637=this['getOperations']()[_0x2353ef(0xbf)](_0x1583e1=>_0x1583e1['getName']()===_0x193e0c[_0x2353ef(0x176)]);if(!_0x5d9637)throw new Error('Operation\x20not\x20found:\x20'+_0x193e0c[_0x2353ef(0x176)]);return createOperationDocMeta(_0x193e0c,_0x5d9637,this[_0x2353ef(0x89)],this[_0x2353ef(0x127)](),this[_0x2353ef(0x26c)](),_0xc00743);}[a0_0x5ba6db(0x10e)](_0x3b6082={}){const _0x1c1386=a0_0x5ba6db,_0x36b593=this[_0x1c1386(0x313)](_0x3b6082),_0x256b68=_0x36b593[_0x1c1386(0xc9)](_0x1b266b=>this[_0x1c1386(0x21a)](_0x1b266b[_0x1c1386(0x176)]))[_0x1c1386(0x7e)](_0x3bdf73=>_0x3bdf73!==null);return createDatasetDocMeta(this[_0x1c1386(0x176)],this[_0x1c1386(0x89)],this['getTableName'](),this['getDatasetSDKKey'](),this[_0x1c1386(0x240)](),this[_0x1c1386(0x1dd)],this[_0x1c1386(0x27a)](),this[_0x1c1386(0x132)](),_0x256b68);}[a0_0x5ba6db(0x114)](_0x4f4e0b){return createOperationsOverviewData(_0x4f4e0b);}[a0_0x5ba6db(0x121)](){const _0x1b1bf7=a0_0x5ba6db;return supportsCRUD(this[_0x1b1bf7(0x147)]());}[a0_0x5ba6db(0x282)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x5ba6db(0x146)](){const _0x36d771=a0_0x5ba6db,_0x312b74=this[_0x36d771(0x282)]();return'DrivenDataDetailPlus('+this[_0x36d771(0x176)]+',\x20'+this[_0x36d771(0x89)]+',\x20'+this[_0x36d771(0x27a)]()+_0x36d771(0x20a)+_0x312b74[_0x36d771(0xcd)]+'/'+_0x312b74[_0x36d771(0x7d)]+_0x36d771(0xca);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x5ba6db(0x269)];['getVersion'](){return'v2';}[a0_0x5ba6db(0x2b6)](){return this['getTableKey']();}['getOperationAnalyses'](_0x3e4b55=![]){const _0x84eee7=a0_0x5ba6db;if(!_0x3e4b55&&this['_operationAnalyses'])return this[_0x84eee7(0x269)];const _0x54538c=this[_0x84eee7(0x29c)]();return this['_operationAnalyses']=operationsToAnalyses(_0x54538c),this[_0x84eee7(0x269)];}['getEnabledOperationAnalyses'](){const _0x7e9bd5=a0_0x5ba6db,_0x45aa9e={};return _0x45aa9e[_0x7e9bd5(0x14a)]=![],_0x45aa9e[_0x7e9bd5(0x8d)]=!![],this['getFilteredOperationAnalyses'](_0x45aa9e);}[a0_0x5ba6db(0x313)](_0x57f787={}){const _0x3bf6da=a0_0x5ba6db;return filterOperationAnalyses(this[_0x3bf6da(0x130)](),_0x57f787);}['getOperationAnalysis'](_0xe36c92){return this['getOperationAnalyses']()['find'](_0x1a97e5=>_0x1a97e5['name']===_0xe36c92);}['getOperationAnalysesByType'](_0x1ab294){const _0x24611e=a0_0x5ba6db;return this[_0x24611e(0x130)]()[_0x24611e(0x7e)](_0x1838f3=>_0x1838f3[_0x24611e(0xe8)]===_0x1ab294);}[a0_0x5ba6db(0x21a)](_0x20fb33,_0x429a2c){const _0x5ce66b=a0_0x5ba6db,_0x35cab4=this[_0x5ce66b(0x242)](_0x20fb33);if(!_0x35cab4)return null;const _0xbca7b8=this['getOperations']()[_0x5ce66b(0xbf)](_0x1698fa=>_0x1698fa['getName']()===_0x35cab4[_0x5ce66b(0x176)]);if(!_0xbca7b8)throw new Error(_0x5ce66b(0x177)+_0x35cab4['name']);return createOperationDocMeta(_0x35cab4,_0xbca7b8,this[_0x5ce66b(0x89)],this[_0x5ce66b(0x127)](),this[_0x5ce66b(0x26c)](),_0x429a2c);}[a0_0x5ba6db(0x10e)](_0x1f0446={}){const _0x41b6ab=a0_0x5ba6db,_0x904c2f=this[_0x41b6ab(0x313)](_0x1f0446),_0x22023b=_0x904c2f[_0x41b6ab(0xc9)](_0x56d0d6=>this[_0x41b6ab(0x21a)](_0x56d0d6[_0x41b6ab(0x176)]))[_0x41b6ab(0x7e)](_0x8fade4=>_0x8fade4!==null);return createDatasetDocMeta(this[_0x41b6ab(0x176)],this[_0x41b6ab(0x89)],this[_0x41b6ab(0x26c)](),this[_0x41b6ab(0x127)](),this[_0x41b6ab(0x240)](),this[_0x41b6ab(0x1dd)],this['getFieldCount'](),this[_0x41b6ab(0x132)](),_0x22023b);}['getOperationsOverviewData'](_0xf0dc7f){return createOperationsOverviewData(_0xf0dc7f);}[a0_0x5ba6db(0x121)](){return supportsCRUD(this['getEnabledOperationAnalyses']());}[a0_0x5ba6db(0x282)](){const _0x2df869=a0_0x5ba6db;return getOperationStats(this[_0x2df869(0x130)]());}[a0_0x5ba6db(0x146)](){const _0x542e24=a0_0x5ba6db,_0x1f08e6=this[_0x542e24(0x282)]();return _0x542e24(0x7c)+this['name']+',\x20'+this[_0x542e24(0x89)]+',\x20'+this['getFieldCount']()+_0x542e24(0x20a)+_0x1f08e6[_0x542e24(0xcd)]+'/'+_0x1f08e6['total']+_0x542e24(0x9f);}}function detectDatasetVersion3(_0xe87bf3){const _0x49070f=a0_0x5ba6db;if(_0xe87bf3[_0x49070f(0x283)]==='v2'&&_0x49070f(0x145)in _0xe87bf3&&Array[_0x49070f(0x2f6)](_0xe87bf3['fields']))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x5ba6db(0x1d3)];constructor(_0x410f00){const _0x440adc=a0_0x5ba6db,_0x2fe8d0=detectDatasetVersion3(_0x410f00);return this[_0x440adc(0x1d3)]=_0x2fe8d0==='v2'?new DrivenDataDetailPlusV2(_0x410f00):new DrivenDataDetailPlusV1(_0x410f00),new Proxy(this,{'get'(_0x80ebf9,_0x3bc330){const _0xe9285c=_0x440adc;if(_0x3bc330 in _0x80ebf9){const _0x267155=_0x80ebf9[_0x3bc330];return typeof _0x267155==='function'?_0x267155['bind'](_0x80ebf9):_0x267155;}if(_0x3bc330 in _0x80ebf9[_0xe9285c(0x1d3)]){const _0x20a8e1=_0x80ebf9[_0xe9285c(0x1d3)][_0x3bc330];return typeof _0x20a8e1===_0xe9285c(0x2ff)?_0x20a8e1['bind'](_0x80ebf9[_0xe9285c(0x1d3)]):_0x20a8e1;}return;},'set'(_0x5524ba,_0x41c342,_0x229d10){return _0x5524ba[_0x41c342]=_0x229d10,!![];},'getPrototypeOf'(_0x1ebfbb){const _0x5d17be=_0x440adc;return DrivenDataDetailPlus[_0x5d17be(0x251)];}});}get['name'](){const _0x2cfd3d=a0_0x5ba6db;return this[_0x2cfd3d(0x1d3)][_0x2cfd3d(0x176)];}get['id'](){const _0x51e3b0=a0_0x5ba6db;return this[_0x51e3b0(0x1d3)]['id'];}get[a0_0x5ba6db(0x89)](){const _0x156934=a0_0x5ba6db;return this[_0x156934(0x1d3)][_0x156934(0x89)];}get[a0_0x5ba6db(0x1dd)](){const _0x2ca3bf=a0_0x5ba6db;return this[_0x2ca3bf(0x1d3)][_0x2ca3bf(0x1dd)];}get[a0_0x5ba6db(0x126)](){const _0x50bf0a=a0_0x5ba6db;return this['_instance'][_0x50bf0a(0xab)]();}['getVersion'](){const _0x241802=a0_0x5ba6db,_0x55bf65=this[_0x241802(0x1d3)]['getVersion']();return _0x55bf65==='v2'?'v2':'v1';}[a0_0x5ba6db(0x27a)](){const _0x16e064=a0_0x5ba6db;return this[_0x16e064(0x1d3)][_0x16e064(0x27a)]();}[a0_0x5ba6db(0x132)](){const _0x43ef81=a0_0x5ba6db;return this[_0x43ef81(0x1d3)][_0x43ef81(0x132)]();}[a0_0x5ba6db(0x26d)](){const _0x2e71dd=a0_0x5ba6db;return this[_0x2e71dd(0x1d3)][_0x2e71dd(0x26d)]();}['getOperations'](){return this['_instance']['getOperations']();}[a0_0x5ba6db(0x14c)](_0x55df2e){const _0x1f4b2a=a0_0x5ba6db;return this[_0x1f4b2a(0x1d3)][_0x1f4b2a(0x14c)](_0x55df2e);}[a0_0x5ba6db(0x18c)](_0x245dfc){return this['_instance']['getFieldInstance'](_0x245dfc);}[a0_0x5ba6db(0x26c)](){const _0x5926ca=a0_0x5ba6db;return this['_instance'][_0x5926ca(0x26c)]();}[a0_0x5ba6db(0x240)](){const _0x1d7374=a0_0x5ba6db;return this[_0x1d7374(0x1d3)]['getTableKey']();}['getDatasetSDKKey'](){const _0x2c5b98=a0_0x5ba6db;return this[_0x2c5b98(0x1d3)][_0x2c5b98(0x127)]();}[a0_0x5ba6db(0x11c)](){const _0x4c2994=a0_0x5ba6db;return this[_0x4c2994(0x1d3)][_0x4c2994(0x11c)]();}['getEnumFields'](){const _0x49c036=a0_0x5ba6db;return this[_0x49c036(0x1d3)][_0x49c036(0xed)]();}['getEnumFieldsMeta'](){const _0xadafac=a0_0x5ba6db;return this[_0xadafac(0x1d3)][_0xadafac(0x9c)]();}[a0_0x5ba6db(0x209)](_0x2b09ea){const _0x4a04c0=a0_0x5ba6db;return this['_instance'][_0x4a04c0(0x209)](_0x2b09ea);}['getField'](_0x5988d6){const _0x366b8d=a0_0x5ba6db;return this[_0x366b8d(0x1d3)][_0x366b8d(0x11e)](_0x5988d6);}[a0_0x5ba6db(0x243)](_0x3b2d2b){const _0x561ff0=a0_0x5ba6db;return this['_instance'][_0x561ff0(0x243)](_0x3b2d2b);}[a0_0x5ba6db(0x265)](_0x197fab){const _0xff7ba2=a0_0x5ba6db;return this[_0xff7ba2(0x1d3)][_0xff7ba2(0x265)](_0x197fab);}['getEnumFieldMeta'](_0x2af6b4){const _0x5c99dd=a0_0x5ba6db;return this[_0x5c99dd(0x1d3)][_0x5c99dd(0x2ba)](_0x2af6b4);}[a0_0x5ba6db(0x28a)](_0x20d320,_0x39fd30){const _0x3cbc3d=a0_0x5ba6db;return this['_instance'][_0x3cbc3d(0x28a)](_0x20d320,_0x39fd30);}[a0_0x5ba6db(0x2a8)](_0x2d4a45){const _0x6f8d08=a0_0x5ba6db;return this[_0x6f8d08(0x1d3)][_0x6f8d08(0x2a8)](_0x2d4a45);}[a0_0x5ba6db(0x30b)](){const _0x5aa43b=a0_0x5ba6db;return this[_0x5aa43b(0x1d3)]['getStats']();}[a0_0x5ba6db(0x107)](){const _0x4a6ee9=a0_0x5ba6db;return this[_0x4a6ee9(0x1d3)]['getFilterOperation']();}[a0_0x5ba6db(0x116)](){return this['_instance']['hasFilterOperation']();}[a0_0x5ba6db(0x113)](_0x1f8253){return this['_instance']['hasOperation'](_0x1f8253);}[a0_0x5ba6db(0xab)](){const _0x35d933=a0_0x5ba6db;return this[_0x35d933(0x1d3)]['getDBConfig']();}[a0_0x5ba6db(0x18f)](){const _0x107a31=a0_0x5ba6db;return this[_0x107a31(0x1d3)][_0x107a31(0x18f)]();}[a0_0x5ba6db(0x2b8)](){const _0xadecd3=a0_0x5ba6db;return this[_0xadecd3(0x1d3)]['getSource']();}[a0_0x5ba6db(0x130)](_0x4d81d4){const _0x548e38=a0_0x5ba6db;return this[_0x548e38(0x1d3)]['getOperationAnalyses'](_0x4d81d4);}['getEnabledOperationAnalyses'](){const _0x5aff60=a0_0x5ba6db;return this[_0x5aff60(0x1d3)][_0x5aff60(0x147)]();}['getFilteredOperationAnalyses'](_0x8ef55d){const _0x10ef12=a0_0x5ba6db;return this['_instance'][_0x10ef12(0x313)](_0x8ef55d);}['getOperationAnalysis'](_0x267ccf){const _0x1dc510=a0_0x5ba6db;return this['_instance'][_0x1dc510(0x242)](_0x267ccf);}[a0_0x5ba6db(0x29d)](_0x53c7f0){const _0xd800ba=a0_0x5ba6db;return this[_0xd800ba(0x1d3)][_0xd800ba(0x29d)](_0x53c7f0);}[a0_0x5ba6db(0x21a)](_0x512a36,_0x4ee614){const _0x49de05=a0_0x5ba6db;return this[_0x49de05(0x1d3)]['getOperationDocMeta'](_0x512a36,_0x4ee614);}[a0_0x5ba6db(0x10e)](_0x33856e){const _0x1b3cb0=a0_0x5ba6db;return this[_0x1b3cb0(0x1d3)][_0x1b3cb0(0x10e)](_0x33856e);}['getOperationsOverviewData'](_0xe4f4e0){const _0x13f4cb=a0_0x5ba6db;return this[_0x13f4cb(0x1d3)][_0x13f4cb(0x114)](_0xe4f4e0);}[a0_0x5ba6db(0x2b6)](){const _0xe04eb6=a0_0x5ba6db;return this[_0xe04eb6(0x1d3)][_0xe04eb6(0x2b6)]();}[a0_0x5ba6db(0x121)](){const _0x4b8cc7=a0_0x5ba6db;return this[_0x4b8cc7(0x1d3)][_0x4b8cc7(0x121)]();}[a0_0x5ba6db(0x282)](){const _0x46b743=a0_0x5ba6db;return this[_0x46b743(0x1d3)][_0x46b743(0x282)]();}[a0_0x5ba6db(0x146)](){return this['_instance']['toString']();}[a0_0x5ba6db(0xa1)](_0xfc7f8b){const _0x3759b7=a0_0x5ba6db;return this[_0x3759b7(0x1d3)][_0x3759b7(0xa1)](_0xfc7f8b);}[a0_0x5ba6db(0x92)](_0x564d56){const _0x21e288=a0_0x5ba6db;return this['_instance'][_0x21e288(0x92)](_0x564d56);}[a0_0x5ba6db(0x2fc)](_0x17b786,_0x26c524,_0x4b81c3){const _0x534075=a0_0x5ba6db;return this[_0x534075(0x1d3)][_0x534075(0x2fc)](_0x17b786,_0x26c524,_0x4b81c3);}['generateFullSDKExample'](_0x378edd,_0xb341fe,_0x2da9a7){const _0x25951b=a0_0x5ba6db;return this[_0x25951b(0x1d3)][_0x25951b(0x174)](_0x378edd,_0xb341fe,_0x2da9a7);}[a0_0x5ba6db(0x1f9)](_0x516fe2){const _0x43ad9f=a0_0x5ba6db;return this[_0x43ad9f(0x1d3)]['generateAllOperationsFullSDKExample'](_0x516fe2);}[a0_0x5ba6db(0x187)](_0x4e4e0f){const _0x478df9=a0_0x5ba6db;return this[_0x478df9(0x1d3)][_0x478df9(0x187)](_0x4e4e0f);}['generateAllOperationsSummary'](_0x14fc3d){const _0x148604=a0_0x5ba6db;return this[_0x148604(0x1d3)]['generateAllOperationsSummary'](_0x14fc3d);}[a0_0x5ba6db(0x2d1)](_0x8ea7d0){return this['_instance']['getOperationRequestFields'](_0x8ea7d0);}['getMissingCRUDOperations'](){const _0x526d15=a0_0x5ba6db;return this[_0x526d15(0x1d3)][_0x526d15(0x257)]();}[a0_0x5ba6db(0x2d6)](){const _0x5ce3d9=a0_0x5ba6db;return this[_0x5ce3d9(0x1d3)]['generateAliasExplanation']();}[a0_0x5ba6db(0x29a)](){const _0x5a1f9f=a0_0x5ba6db;return this[_0x5a1f9f(0x1d3)];}}function createDrivenDataDetailPlus(_0x382d75,_0x1ead9b={}){const _0x493457=a0_0x5ba6db;if(_0x1ead9b['forceVersion']==='v1')return new DrivenDataDetailPlusV1(_0x382d75);if(_0x1ead9b[_0x493457(0x148)]==='v2')return new DrivenDataDetailPlusV2(_0x382d75);if(_0x382d75[_0x493457(0x283)]==='v2'||_0x493457(0x2d0)in _0x382d75)return new DrivenDataDetailPlusV2(_0x382d75);return new DrivenDataDetailPlusV1(_0x382d75);}function isPlusV2Instance(_0xbc8f9b){const _0x3160f0=a0_0x5ba6db;return _0xbc8f9b[_0x3160f0(0x272)]()==='v2';}function isPlusV1Instance(_0x550076){const _0x2ece1a=a0_0x5ba6db;return _0x550076[_0x2ece1a(0x272)]()==='v1';}var VERSION=a0_0x5ba6db(0x1e2);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_0x5456ff=a0_0x2d67;(function(_0x4a4eea,_0x2644e5){const _0x390b23=a0_0x2d67,_0x54aec5=_0x4a4eea();while(!![]){try{const _0x3fd1a1=-parseInt(_0x390b23(0x38f))/0x1+-parseInt(_0x390b23(0x28e))/0x2*(-parseInt(_0x390b23(0x447))/0x3)+parseInt(_0x390b23(0x241))/0x4*(-parseInt(_0x390b23(0x342))/0x5)+parseInt(_0x390b23(0x24d))/0x6*(-parseInt(_0x390b23(0x2c6))/0x7)+-parseInt(_0x390b23(0x340))/0x8+parseInt(_0x390b23(0x39d))/0x9+parseInt(_0x390b23(0x40b))/0xa;if(_0x3fd1a1===_0x2644e5)break;else _0x54aec5['push'](_0x54aec5['shift']());}catch(_0x33a4e6){_0x54aec5['push'](_0x54aec5['shift']());}}}(a0_0xbb4d,0xc9463));function toCamelCase(_0x21ba8f){const _0x50cd36=a0_0x2d67;if(!_0x21ba8f)return'';return _0x21ba8f[_0x50cd36(0x2ae)](/[_-]/)[_0x50cd36(0x418)]((_0x5d4237,_0x470741)=>{const _0x4d6696=_0x50cd36;if(_0x470741===0x0)return _0x5d4237[_0x4d6696(0x371)]();return _0x5d4237[_0x4d6696(0x2f2)](0x0)[_0x4d6696(0x292)]()+_0x5d4237[_0x4d6696(0x45b)](0x1)['toLowerCase']();})[_0x50cd36(0x396)]('');}function toPascalCase(_0x121013){const _0xf82094=a0_0x2d67;if(!_0x121013)return'';const _0x46933e=toCamelCase(_0x121013);return _0x46933e[_0xf82094(0x2f2)](0x0)[_0xf82094(0x292)]()+_0x46933e[_0xf82094(0x45b)](0x1);}function toSnakeCase(_0x3b0c9a){const _0x38a004=a0_0x2d67;if(!_0x3b0c9a)return'';return _0x3b0c9a[_0x38a004(0x276)](/([A-Z])/g,'_$1')[_0x38a004(0x371)]()[_0x38a004(0x276)](/^_/,'');}function toKebabCase(_0x28d82f){const _0x12a4af=a0_0x2d67;if(!_0x28d82f)return'';return _0x28d82f[_0x12a4af(0x276)](/([A-Z])/g,_0x12a4af(0x35e))[_0x12a4af(0x371)]()[_0x12a4af(0x276)](/^-/,'');}function normalizeFieldName(_0x121168){const _0x592d23=a0_0x2d67;if(!_0x121168)return'';return _0x121168[_0x592d23(0x3a3)]()['replace'](/\s+/g,'_')[_0x592d23(0x276)](/[^a-zA-Z0-9_]/g,'_')[_0x592d23(0x276)](/_+/g,'_')[_0x592d23(0x276)](/^_|_$/g,'');}function getTableName(_0x598f62){const _0xf26bec=a0_0x2d67;if(!_0x598f62)return _0xf26bec(0x29d);if(_0x598f62[_0xf26bec(0x3a2)]?.[_0xf26bec(0x42b)])return _0x598f62['dbtableConfig'][_0xf26bec(0x42b)];const _0x3fd077=_0x598f62[_0xf26bec(0x25c)]||_0x598f62[_0xf26bec(0x421)]||_0x598f62['modelCode'];if(_0x3fd077)return generateTableNameFromCode(_0x3fd077);return _0xf26bec(0x29d);}function getTableKey(_0x2ce172){const _0x12b1c3=a0_0x2d67;if(typeof _0x2ce172===_0x12b1c3(0x386))return toCamelCase(_0x2ce172);const _0x49c051=getTableName(_0x2ce172);return toCamelCase(_0x49c051);}function generateTableNameFromCode(_0x15643a){const _0x4c2b72=a0_0x2d67;if(!_0x15643a)return _0x4c2b72(0x29d);const _0xd51424=_0x15643a[_0x4c2b72(0x45b)](-0x6)[_0x4c2b72(0x209)](0x6,'0');return _0x4c2b72(0x253)+_0xd51424;}function isVirtualTableName(_0x5e00fc){const _0x25a09b=a0_0x2d67;return/^dataset_[a-zA-Z0-9]{6}$/[_0x25a09b(0x395)](_0x5e00fc);}function generateModelKeyFromCode(_0x44291f){const _0x151ae8=a0_0x2d67;if(!_0x44291f)return'dataset_unknown';return _0x151ae8(0x253)+_0x44291f;}function getDbName(_0x51f7ae){const _0xba4e0f=a0_0x2d67;return _0x51f7ae['dbtableConfig']?.[_0xba4e0f(0x2bc)]||_0x51f7ae[_0xba4e0f(0x3a2)]?.[_0xba4e0f(0x2fa)]?.['dbName']||'';}function generateDatasetsConfig(_0xfa69fd,_0x57091f={}){const _0x11383f=a0_0x2d67,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x50c858,filter:_0x1686ad}=_0x57091f,_0x36351e=_0x1686ad?_0xfa69fd[_0x11383f(0x2b7)](_0x1686ad):_0xfa69fd,_0x51f71f=new Map();for(const _0x1f2a54 of _0x36351e){const _0x3d60e0=getTableName(_0x1f2a54),_0x18feb6=getDbName(_0x1f2a54);!_0x51f71f[_0x11383f(0x3a9)](_0x3d60e0)&&_0x51f71f[_0x11383f(0x270)](_0x3d60e0,new Set()),_0x51f71f[_0x11383f(0x326)](_0x3d60e0)[_0x11383f(0x3a1)](_0x18feb6);}const _0x338186=new Set();for(const [_0x3b1d64,_0x39b9b6]of _0x51f71f){_0x39b9b6['size']>0x1&&_0x338186[_0x11383f(0x3a1)](_0x3b1d64);}const _0x4372e6={},_0x9f3931=new Set();for(const _0x388e1f of _0x36351e){const _0x1a5078=getTableName(_0x388e1f);if(enableDeduplication&&_0x9f3931[_0x11383f(0x3a9)](_0x1a5078)){console[_0x11383f(0x47e)](_0x11383f(0x214)+_0x1a5078+_0x11383f(0x462)+_0x388e1f[_0x11383f(0x464)]+'\x20('+_0x388e1f[_0x11383f(0x25c)]+')');continue;}_0x9f3931[_0x11383f(0x3a1)](_0x1a5078);const _0x27c430=_0x50c858?_0x50c858(_0x1a5078,_0x388e1f):getTableKey(_0x1a5078),_0x249b7e=getDbName(_0x388e1f),_0x3d0fec=_0x338186[_0x11383f(0x3a9)](_0x1a5078)&&_0x249b7e?getTableKey(_0x249b7e)+'_'+_0x27c430:_0x27c430;_0x4372e6[_0x27c430]={'key':_0x27c430,'alias':_0x3d0fec,'tableName':_0x1a5078,'datasetCode':_0x388e1f[_0x11383f(0x25c)],'name':_0x388e1f[_0x11383f(0x464)],'id':_0x388e1f['id'],'dbName':_0x249b7e};}return _0x4372e6;}function generateFullDatasetsConfig(_0x7ca43a,_0x38a03e={}){const _0x15fe1a=a0_0x2d67,{filter:_0x4d2dff,datasetNameGenerator:_0x33cfb3}=_0x38a03e,_0x32014d=_0x4d2dff?_0x7ca43a[_0x15fe1a(0x2b7)](_0x4d2dff):_0x7ca43a,_0x117a06=new Map();for(const _0x41415b of _0x32014d){const _0x24d32d=getTableName(_0x41415b),_0x5d75bb=getDbName(_0x41415b);!_0x117a06[_0x15fe1a(0x3a9)](_0x24d32d)&&_0x117a06[_0x15fe1a(0x270)](_0x24d32d,new Set()),_0x117a06[_0x15fe1a(0x326)](_0x24d32d)[_0x15fe1a(0x3a1)](_0x5d75bb);}const _0x14eab6=new Set();for(const [_0x4f4051,_0x573b4d]of _0x117a06){_0x573b4d[_0x15fe1a(0x1ee)]>0x1&&_0x14eab6[_0x15fe1a(0x3a1)](_0x4f4051);}const _0x4041af=groupByTableName(_0x32014d),_0x735499={};for(const [_0x4c778c,_0x1000d5]of Object['entries'](_0x4041af)){if(_0x1000d5['length']===0x1){const _0xd55716=_0x1000d5[0x0],_0x4e3547=_0x33cfb3?_0x33cfb3(_0x4c778c,_0xd55716):getTableKey(_0x4c778c),_0x52f579=getDbName(_0xd55716),_0x276813=_0x14eab6['has'](_0x4c778c)&&_0x52f579?getTableKey(_0x52f579)+'_'+_0x4e3547:_0x4e3547;_0x735499[_0x4e3547]={'key':_0x4e3547,'alias':_0x276813,'tableName':_0x4c778c,'datasetCode':_0xd55716[_0x15fe1a(0x25c)],'name':_0xd55716[_0x15fe1a(0x464)],'id':_0xd55716['id'],'dbName':_0x52f579};}else{const _0x9fdd53=[..._0x1000d5][_0x15fe1a(0x27d)]((_0x1e7c39,_0x25b325)=>{const _0x8087fd=Number(_0x1e7c39['id'])||0x0,_0x21a418=Number(_0x25b325['id'])||0x0;return _0x21a418-_0x8087fd;});_0x9fdd53[_0x15fe1a(0x3b2)]((_0x10e1e8,_0x3d9bc6)=>{const _0xca0f53=_0x15fe1a,_0x2319f6=_0x33cfb3?_0x33cfb3(_0x4c778c,_0x10e1e8):getTableKey(_0x4c778c),_0x4007b4=_0x3d9bc6===0x0?_0x2319f6:_0x2319f6+'_'+_0x3d9bc6,_0x13f632=getDbName(_0x10e1e8),_0x1d7851=_0x14eab6[_0xca0f53(0x3a9)](_0x4c778c)&&_0x13f632?getTableKey(_0x13f632)+'_'+_0x4007b4:_0x4007b4;_0x735499[_0x4007b4]={'key':_0x4007b4,'alias':_0x1d7851,'tableName':_0x4c778c,'datasetCode':_0x10e1e8[_0xca0f53(0x25c)],'name':_0x10e1e8[_0xca0f53(0x464)],'id':_0x10e1e8['id'],'dbName':_0x13f632};});}}return _0x735499;}function detectTableNameConflicts(_0x55f7ec){const _0x4ec0a9=a0_0x2d67,_0x3bb4a0={};for(const _0x1be463 of _0x55f7ec){const _0x523cea=getTableName(_0x1be463);!_0x3bb4a0[_0x523cea]&&(_0x3bb4a0[_0x523cea]=[]),_0x3bb4a0[_0x523cea][_0x4ec0a9(0x20f)](_0x1be463);}const _0x40c3ff={};for(const [_0x5410be,_0x56daa8]of Object['entries'](_0x3bb4a0)){_0x56daa8[_0x4ec0a9(0x46b)]>0x1&&(_0x40c3ff[_0x5410be]=_0x56daa8);}return{'hasConflicts':Object['keys'](_0x40c3ff)[_0x4ec0a9(0x46b)]>0x0,'conflicts':_0x40c3ff};}function createDatasetNameMap(_0x61b2a1){const _0x5224d0=a0_0x2d67,_0x43c2b6={};for(const [_0x10b428,_0x4b1e45]of Object[_0x5224d0(0x2eb)](_0x61b2a1)){_0x43c2b6[_0x10b428]=_0x4b1e45[_0x5224d0(0x25c)]||'';}return _0x43c2b6;}function groupByTableName(_0x2efcb6){const _0x77d503=a0_0x2d67,_0x1558a3={};for(const _0x523389 of _0x2efcb6){const _0x48e575=getTableName(_0x523389);!_0x1558a3[_0x48e575]&&(_0x1558a3[_0x48e575]=[]),_0x1558a3[_0x48e575][_0x77d503(0x20f)](_0x523389);}return _0x1558a3;}function datasetsConfigToArray(_0x22eb7f){const _0x4f10ef=a0_0x2d67;return Object[_0x4f10ef(0x25d)](_0x22eb7f);}function adaptDrivenDataDetail(_0x1af3b3){const _0x41563a=a0_0x2d67,_0x3eafd7={};return _0x3eafd7['id']=_0x1af3b3[_0x41563a(0x2b5)],_0x3eafd7[_0x41563a(0x464)]=_0x1af3b3[_0x41563a(0x464)],_0x3eafd7['datasetCode']=_0x1af3b3[_0x41563a(0x34b)],_0x3eafd7['dbtableConfig']=_0x1af3b3[_0x41563a(0x3a2)],_0x3eafd7[_0x41563a(0x3c0)]=_0x1af3b3[_0x41563a(0x3c0)],_0x3eafd7[_0x41563a(0x29e)]=_0x1af3b3[_0x41563a(0x29e)],_0x3eafd7[_0x41563a(0x201)]=_0x1af3b3[_0x41563a(0x201)],_0x3eafd7[_0x41563a(0x2e8)]=_0x1af3b3[_0x41563a(0x2e8)],_0x3eafd7[_0x41563a(0x2d3)]=_0x1af3b3[_0x41563a(0x2d3)],_0x3eafd7;}function adaptDrivenDataDetails(_0x4301a9){const _0x37e2bc=a0_0x2d67;return _0x4301a9[_0x37e2bc(0x418)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x4e4c9d){const _0x3e477d=a0_0x2d67;if(!_0x4e4c9d[_0x3e477d(0x3e8)]||!_0x4e4c9d[_0x3e477d(0x3e3)])throw new Error(_0x3e477d(0x322)+(_0x4e4c9d['errorMsg']||_0x4e4c9d['msg']));return adaptDrivenDataDetail(_0x4e4c9d[_0x3e477d(0x3e3)]);}function extractDatasetsFromListResponse(_0x187caf){const _0x181f60=a0_0x2d67;if(!_0x187caf[_0x181f60(0x3e8)]||!_0x187caf[_0x181f60(0x3e3)]?.[_0x181f60(0x218)])throw new Error(_0x181f60(0x400)+(_0x187caf[_0x181f60(0x2ce)]||_0x187caf[_0x181f60(0x41e)]));return _0x187caf['data']['tableData']['map'](_0x1ae837=>({..._0x1ae837,'datasetCode':_0x1ae837[_0x181f60(0x421)]||_0x1ae837[_0x181f60(0x25c)]}));}function isDrivenDataDetail(_0x27c884){const _0x5a4531=a0_0x2d67;return Boolean(_0x27c884&&typeof _0x27c884['modelCode']===_0x5a4531(0x386));}function smartAdapt(_0x4d59a1){const _0x317556=a0_0x2d67;if(isDrivenDataDetail(_0x4d59a1))return adaptDrivenDataDetail(_0x4d59a1);if(_0x4d59a1['datasetCode'])return _0x4d59a1;if(_0x4d59a1[_0x317556(0x421)]){const _0x3aaa64={..._0x4d59a1};return _0x3aaa64[_0x317556(0x25c)]=_0x4d59a1['code'],_0x3aaa64;}return _0x4d59a1;}function cleanNewlines(_0x21865a){const _0x1cabcd=a0_0x2d67;return _0x21865a[_0x1cabcd(0x276)](/[\r\n]+/g,'\x20')[_0x1cabcd(0x3a3)]();}function cleanDatasetName(_0x38bcdd){const _0x4dedeb=a0_0x2d67;if(!_0x38bcdd[_0x4dedeb(0x464)])return _0x38bcdd;return{..._0x38bcdd,'name':cleanNewlines(_0x38bcdd[_0x4dedeb(0x464)])};}function cleanDatasetNames(_0x25ffe5){return _0x25ffe5['map'](cleanDatasetName);}var DatasetOperationType;(_0x321972=>{const _0x50ce34=a0_0x2d67;_0x321972[_0x50ce34(0x414)]='getList',_0x321972['GET_ONE']=_0x50ce34(0x3df),_0x321972[_0x50ce34(0x419)]=_0x50ce34(0x36e),_0x321972[_0x50ce34(0x1d1)]=_0x50ce34(0x3ca),_0x321972[_0x50ce34(0x35a)]='create',_0x321972['UPDATE']='update',_0x321972[_0x50ce34(0x29a)]='delete',_0x321972['GET_SELECT_OPTIONS']='getSelectOptions',_0x321972[_0x50ce34(0x457)]='getFileUrl',_0x321972[_0x50ce34(0x3a6)]=_0x50ce34(0x331),_0x321972['GET_UPLOAD_FILE_SCRIPT']=_0x50ce34(0x1fe),_0x321972[_0x50ce34(0x2ab)]=_0x50ce34(0x2ac),_0x321972[_0x50ce34(0x425)]='createExport',_0x321972[_0x50ce34(0x2e3)]=_0x50ce34(0x2e2),_0x321972[_0x50ce34(0x473)]=_0x50ce34(0x33b);})(DatasetOperationType||={});const a0_0x46ae8d={};a0_0x46ae8d[a0_0x5456ff(0x42d)]='查询列表',a0_0x46ae8d[a0_0x5456ff(0x3df)]=a0_0x5456ff(0x320),a0_0x46ae8d[a0_0x5456ff(0x36e)]=a0_0x5456ff(0x3dd),a0_0x46ae8d[a0_0x5456ff(0x3ca)]=a0_0x5456ff(0x335),a0_0x46ae8d['create']='创建',a0_0x46ae8d[a0_0x5456ff(0x2ea)]='更新',a0_0x46ae8d[a0_0x5456ff(0x422)]='删除',a0_0x46ae8d[a0_0x5456ff(0x42e)]=a0_0x5456ff(0x264),a0_0x46ae8d[a0_0x5456ff(0x41a)]=a0_0x5456ff(0x439),a0_0x46ae8d[a0_0x5456ff(0x331)]=a0_0x5456ff(0x436),a0_0x46ae8d[a0_0x5456ff(0x1fe)]=a0_0x5456ff(0x41f),a0_0x46ae8d[a0_0x5456ff(0x2ac)]=a0_0x5456ff(0x407),a0_0x46ae8d[a0_0x5456ff(0x328)]=a0_0x5456ff(0x221),a0_0x46ae8d[a0_0x5456ff(0x2e2)]=a0_0x5456ff(0x272),a0_0x46ae8d[a0_0x5456ff(0x33b)]=a0_0x5456ff(0x27e);var OPERATION_TYPE_DISPLAY_NAME=a0_0x46ae8d,API_BLACKLIST=[a0_0x5456ff(0x42d),a0_0x5456ff(0x36e),a0_0x5456ff(0x3ca),'getFileUrl'];function parseFieldExtend(_0xb748f9){const _0x36908f=a0_0x5456ff;if(!_0xb748f9||typeof _0xb748f9!==_0x36908f(0x39c))return!![]&&console['warn']('[parseFieldExtend]\x20Invalid\x20field:',_0xb748f9),{};if(!_0xb748f9[_0x36908f(0x201)])return{};try{const _0x463830=typeof _0xb748f9['extend']===_0x36908f(0x386)?JSON[_0x36908f(0x2ca)](_0xb748f9[_0x36908f(0x201)]):_0xb748f9[_0x36908f(0x201)];if(typeof _0x463830!==_0x36908f(0x39c)||_0x463830===null)return{};return _0x463830;}catch{return{};}}function isPrimaryKeyField(_0xc9b3ea,_0x4e964a){const _0x2823ad=a0_0x5456ff;if(!_0xc9b3ea||typeof _0xc9b3ea!==_0x2823ad(0x39c))return![];if(typeof _0x4e964a==='string'&&_0xc9b3ea[_0x2823ad(0x421)]===_0x4e964a)return!![];const _0x2dc2c6=parseFieldExtend(_0xc9b3ea);return Boolean(_0x2dc2c6[_0x2823ad(0x380)]||_0x2dc2c6['pkField']);}function isSystemField(_0x4cd347){const _0x503acc=parseFieldExtend(_0x4cd347);return Boolean(_0x503acc['systemRetain']);}function isRequiredField(_0x73b982){const _0x2d4db9=a0_0x5456ff,_0xc613c=parseFieldExtend(_0x73b982);return Boolean(_0xc613c[_0x2d4db9(0x33c)]);}function isAutoIncrementField(_0x27ffdf){const _0x36633e=a0_0x5456ff,_0x17ccf7=parseFieldExtend(_0x27ffdf);return Boolean(_0x17ccf7[_0x36633e(0x461)]);}function isCreateTimeField(_0x4daaf7){const _0x10154f=a0_0x5456ff,_0x24f786=parseFieldExtend(_0x4daaf7);return Boolean(_0x24f786[_0x10154f(0x3bf)]);}function isModifyTimeField(_0xc849d8){const _0xa3b440=a0_0x5456ff,_0xf2740a=parseFieldExtend(_0xc849d8);return Boolean(_0xf2740a[_0xa3b440(0x1db)]);}const a0_0xd6e467={};a0_0xd6e467[a0_0x5456ff(0x357)]='数字',a0_0xd6e467[a0_0x5456ff(0x267)]='文本',a0_0xd6e467[a0_0x5456ff(0x2a0)]=a0_0x5456ff(0x3f5),a0_0xd6e467[a0_0x5456ff(0x343)]='日期',a0_0xd6e467[a0_0x5456ff(0x213)]='日期时间',a0_0xd6e467[a0_0x5456ff(0x3bb)]=a0_0x5456ff(0x23d),a0_0xd6e467[a0_0x5456ff(0x38c)]='下拉选择',a0_0xd6e467[a0_0x5456ff(0x2e4)]='多选',a0_0xd6e467[a0_0x5456ff(0x1f9)]='单选',a0_0xd6e467['SWITCH']='开关',a0_0xd6e467[a0_0x5456ff(0x428)]=a0_0x5456ff(0x3c5),a0_0xd6e467[a0_0x5456ff(0x351)]='图片',a0_0xd6e467[a0_0x5456ff(0x3dc)]=a0_0x5456ff(0x206),a0_0xd6e467[a0_0x5456ff(0x378)]=a0_0x5456ff(0x378),a0_0xd6e467['ARRAY']='数组';var DB_TYPE_DISPLAY_MAP=a0_0xd6e467;function getDbTypeDisplay(_0x5f399e){const _0x52daaf=a0_0x5456ff;if(typeof _0x5f399e!==_0x52daaf(0x386))return!![]&&console[_0x52daaf(0x47e)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x5f399e),String(_0x5f399e||'-');return DB_TYPE_DISPLAY_MAP[_0x5f399e]||_0x5f399e;}function formatDbType(_0x268edb,_0x19d8d4){const _0x2ad32f=a0_0x5456ff;if(!_0x268edb||typeof _0x268edb!=='string')return'-';if(!_0x19d8d4||typeof _0x19d8d4!==_0x2ad32f(0x2fb))return _0x268edb;const _0x18565f=[_0x2ad32f(0x267),_0x2ad32f(0x213),_0x2ad32f(0x3bb),_0x2ad32f(0x343)];if(_0x18565f[_0x2ad32f(0x46c)](_0x268edb[_0x2ad32f(0x292)]()))return _0x268edb;return _0x268edb+'('+_0x19d8d4+')';}function parseOperationType(_0x46a12f){const _0x1abacc=a0_0x5456ff;if(typeof _0x46a12f!==_0x1abacc(0x386)){!![]&&console[_0x1abacc(0x47e)](_0x1abacc(0x3f8),_0x46a12f);return;}if(Object[_0x1abacc(0x25d)](DatasetOperationType)['includes'](_0x46a12f))return _0x46a12f;const _0x131d51=Object[_0x1abacc(0x2eb)](OPERATION_TYPE_DISPLAY_NAME)[_0x1abacc(0x283)](([_0x4ddedb,_0x263a7c])=>_0x263a7c===_0x46a12f);return _0x131d51?_0x131d51[0x0]:undefined;}function shouldIncludeField(_0x5d8edb,_0x1e31f4,_0x391284){const _0x387e16=a0_0x5456ff,_0x263aa8=parseFieldExtend(_0x5d8edb),_0x44b8f9=isPrimaryKeyField(_0x5d8edb,_0x391284),_0x43088e=Boolean(_0x263aa8[_0x387e16(0x363)]),_0x553013=Boolean(_0x263aa8['autoIncrement']),_0x5e80f6=Boolean(_0x263aa8[_0x387e16(0x3bf)]),_0x35b8ad=Boolean(_0x263aa8[_0x387e16(0x1db)]);switch(_0x1e31f4){case _0x387e16(0x42d):return!![];case _0x387e16(0x3df):case _0x387e16(0x36e):case _0x387e16(0x422):return _0x44b8f9;case _0x387e16(0x450):if(_0x44b8f9&&_0x553013)return![];if(_0x43088e)return![];if(_0x5e80f6||_0x35b8ad)return![];return!![];case'update':case'getOneUpdate':if(_0x44b8f9)return!![];if(_0x43088e)return![];if(_0x5e80f6||_0x35b8ad)return![];return!![];case _0x387e16(0x42e):return _0x5d8edb['code']===_0x387e16(0x421);default:return!![];}}function getFieldsForOperation(_0x1bb960,_0xe27593,_0xa2b0bb){const _0x4ee51a=a0_0x5456ff;if(!Array[_0x4ee51a(0x248)](_0x1bb960))return!![]&&console[_0x4ee51a(0x47e)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x1bb960),[];return _0x1bb960['filter'](_0x5c8714=>shouldIncludeField(_0x5c8714,_0xe27593,_0xa2b0bb));}function isApiBlacklisted(_0xbc13ff){const _0x12e31c=a0_0x5456ff;if(typeof _0xbc13ff!=='string')return!![]&&console[_0x12e31c(0x47e)](_0x12e31c(0x364),_0xbc13ff),![];return API_BLACKLIST[_0x12e31c(0x46c)](_0xbc13ff);}function filterApiOperations(_0x2a7ddc){const _0xe16552=a0_0x5456ff;if(!Array[_0xe16552(0x248)](_0x2a7ddc))return!![]&&console[_0xe16552(0x47e)](_0xe16552(0x259),_0x2a7ddc),[];return _0x2a7ddc[_0xe16552(0x2b7)](_0x1a3190=>_0x1a3190&&typeof _0x1a3190===_0xe16552(0x39c)&&!isApiBlacklisted(_0x1a3190[_0xe16552(0x464)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x5456ff(0x35d)](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x413ac0})=>{const _0x30e213=a0_0x5456ff;if(_0x413ac0?.[_0x30e213(0x45e)]&&Array[_0x30e213(0x248)](_0x413ac0[_0x30e213(0x45e)])&&_0x413ac0[_0x30e213(0x45e)][_0x30e213(0x46b)]>0x0)return _0x413ac0[_0x30e213(0x45e)][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x52055d})=>{const _0x4e537d=a0_0x5456ff;if(_0x52055d===_0x4e537d(0x2d8))return 0x1;if(_0x52055d==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x1cae18})=>{const _0x196e92=a0_0x5456ff;if(_0x1cae18&&typeof _0x1cae18===_0x196e92(0x386)){const _0x29288d=_0x1cae18[_0x196e92(0x371)]();if(_0x29288d[_0x196e92(0x46c)]('邮箱')||_0x29288d['includes'](_0x196e92(0x222)))return'user@example.com';if(_0x29288d[_0x196e92(0x46c)]('电话')||_0x29288d['includes']('手机')||_0x29288d[_0x196e92(0x46c)]('phone'))return _0x196e92(0x324);if(_0x29288d[_0x196e92(0x46c)]('地址')||_0x29288d[_0x196e92(0x46c)](_0x196e92(0x3ea)))return'北京市朝阳区';if(_0x29288d[_0x196e92(0x46c)]('姓名')||_0x29288d['includes'](_0x196e92(0x464)))return'张三';}return _0x196e92(0x44b);},'VARCHAR':({description:_0x4579cd})=>TYPE_VALUE_GENERATORS[a0_0x5456ff(0x267)]({'description':_0x4579cd}),'CHAR':({description:_0x43a4ed})=>TYPE_VALUE_GENERATORS[a0_0x5456ff(0x267)]({'description':_0x43a4ed}),'STRING':({fieldInfo:_0x5a949e,description:_0x5dffef})=>{const _0x4bd593=a0_0x5456ff;if(_0x5a949e?.[_0x4bd593(0x24e)]&&typeof _0x5a949e[_0x4bd593(0x24e)]===_0x4bd593(0x386)&&_0x5a949e['placeholder']!==_0x4bd593(0x298))return _0x5a949e[_0x4bd593(0x24e)][_0x4bd593(0x276)](/^请输入|^请选择/,'');const _0x467072={};return _0x467072[_0x4bd593(0x346)]=_0x5dffef,TYPE_VALUE_GENERATORS[_0x4bd593(0x267)](_0x467072);},'TEXTAREA':()=>a0_0x5456ff(0x381),'LONGTEXT':()=>a0_0x5456ff(0x381),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x5456ff(0x405),a0_0x5456ff(0x21a)],'UPLOAD':()=>a0_0x5456ff(0x1cf),'IMAGE':()=>a0_0x5456ff(0x445),'RICH_TEXT':()=>a0_0x5456ff(0x27c)};function generateExampleValue(_0xc31a0e,_0x558f9f,_0x1ca95d,_0x5d4ca1={}){const _0x4684bb=a0_0x5456ff;typeof _0xc31a0e!==_0x4684bb(0x386)&&(!![]&&console[_0x4684bb(0x47e)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0xc31a0e),_0xc31a0e=String(_0xc31a0e||''));if(typeof _0x558f9f!=='string')return!![]&&console[_0x4684bb(0x47e)](_0x4684bb(0x402),_0x558f9f),_0x4684bb(0x317);const {isPrimaryKey:_0x2c1164,dbtableConfig:_0x4b21e5}=_0x5d4ca1;if(_0x2c1164)return 0x1;if(_0x4b21e5&&typeof _0x4b21e5==='object'){const _0x27733f=_0x4b21e5[_0x4684bb(0x200)]?.['fieldName']===_0xc31a0e,_0x5a697b=_0x4b21e5[_0x4684bb(0x1d3)]?.[_0x4684bb(0x379)]===_0xc31a0e;if(_0x27733f||_0x5a697b){if(_0x1ca95d&&typeof _0x1ca95d===_0x4684bb(0x386)&&_0x1ca95d[_0x4684bb(0x292)]()['includes'](_0x4684bb(0x3bb)))return Date[_0x4684bb(0x35d)]();return new Date()[_0x4684bb(0x2d7)]()[_0x4684bb(0x276)]('T','\x20')[_0x4684bb(0x2ae)]('.')[0x0];}}const _0x4dc9bd={..._0x5d4ca1};_0x4dc9bd[_0x4684bb(0x345)]=_0xc31a0e;const _0x1f14e4=_0x4dc9bd;if(_0x1ca95d&&typeof _0x1ca95d===_0x4684bb(0x386)){const _0x2b5ef7=_0x1ca95d[_0x4684bb(0x292)](),_0x2bd40d=TYPE_VALUE_GENERATORS[_0x2b5ef7];if(_0x2bd40d)return _0x2bd40d(_0x1f14e4);}if(_0x558f9f&&typeof _0x558f9f===_0x4684bb(0x386)){const _0x328fea=_0x558f9f['toUpperCase'](),_0x19668b=TYPE_VALUE_GENERATORS[_0x328fea];if(_0x19668b)return _0x19668b(_0x1f14e4);}return _0x4684bb(0x317);}function generateExampleFromSchema(_0x108f14,_0x18bd1a){const _0x2564c3=a0_0x5456ff;if(!_0x108f14||typeof _0x108f14!==_0x2564c3(0x39c))return{};if(Array[_0x2564c3(0x248)](_0x108f14)){if(_0x108f14[_0x2564c3(0x46b)]>0x0)return[generateExampleFromSchema(_0x108f14[0x0],_0x18bd1a)];return[];}const _0x2cd51b={};return Object[_0x2564c3(0x35f)](_0x108f14)[_0x2564c3(0x3b2)](_0x132819=>{const _0x546372=_0x2564c3,_0x25398c=_0x108f14[_0x132819];if(_0x25398c&&typeof _0x25398c===_0x546372(0x39c)&&!Array['isArray'](_0x25398c)&&_0x25398c[_0x546372(0x39e)]){const _0x4d547d=_0x25398c,_0x3fcb48=_0x4d547d[_0x546372(0x39e)],_0x30d3d2=_0x4d547d['description'];if(typeof _0x3fcb48===_0x546372(0x386)){const _0x3760a3={};_0x3760a3[_0x546372(0x346)]=_0x30d3d2,_0x3760a3[_0x546372(0x3a2)]=_0x18bd1a,_0x2cd51b[_0x132819]=generateExampleValue(_0x132819,_0x3fcb48,undefined,_0x3760a3);}else _0x2cd51b[_0x132819]=_0x546372(0x317);}else{if(Array[_0x546372(0x248)](_0x25398c))_0x2cd51b[_0x132819]=_0x25398c[_0x546372(0x46b)]>0x0?[generateExampleFromSchema(_0x25398c[0x0],_0x18bd1a)]:[];else _0x25398c&&typeof _0x25398c==='object'?_0x2cd51b[_0x132819]=generateExampleFromSchema(_0x25398c,_0x18bd1a):_0x2cd51b[_0x132819]=_0x25398c;}}),_0x2cd51b;}function parseRequestBody(_0x5b5142){const _0x7cd129=a0_0x5456ff;if(!_0x5b5142)return{};try{return JSON['parse'](_0x5b5142);}catch(_0x5d8897){return!![]&&console[_0x7cd129(0x47e)](_0x7cd129(0x21d),_0x5d8897),{};}}function parseResponseBody(_0x3e540d){const _0x16db2f=a0_0x5456ff;if(!_0x3e540d)return null;try{const _0xa76635=JSON[_0x16db2f(0x2ca)](_0x3e540d);return _0xa76635['200']||_0xa76635;}catch(_0x37f40d){return!![]&&console[_0x16db2f(0x47e)](_0x16db2f(0x3eb),_0x37f40d),null;}}function generateRequestExample(_0x5f3c84,_0x587783,_0x2ff3ce,_0x585624){const _0x1fe5eb=a0_0x5456ff,_0x41cab7={};if(!Array['isArray'](_0x5f3c84))return!![]&&console['warn']('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x5f3c84),_0x41cab7;return _0x5f3c84[_0x1fe5eb(0x3b2)](_0x2845f5=>{const _0x24f3b3=_0x1fe5eb;if(!_0x2845f5||typeof _0x2845f5!==_0x24f3b3(0x39c)){!![]&&console['warn'](_0x24f3b3(0x3ff),_0x2845f5);return;}if(typeof _0x2845f5[_0x24f3b3(0x421)]!==_0x24f3b3(0x386)||typeof _0x2845f5['type']!==_0x24f3b3(0x386)){!![]&&console[_0x24f3b3(0x47e)](_0x24f3b3(0x2cc),_0x2845f5);return;}const _0x5b1402=parseFieldExtend(_0x2845f5),_0x16a42b=_0x2845f5[_0x24f3b3(0x421)]===_0x2ff3ce||Boolean(_0x5b1402?.['primaryKey']),_0x5e0ab7=generateExampleValue(_0x2845f5[_0x24f3b3(0x421)],_0x2845f5[_0x24f3b3(0x39e)],typeof _0x2845f5['dbType']==='string'?_0x2845f5[_0x24f3b3(0x353)]:undefined,{'fieldInfo':_0x5b1402,'isPrimaryKey':_0x16a42b,'description':_0x2845f5[_0x24f3b3(0x346)]||_0x2845f5[_0x24f3b3(0x464)],'dbtableConfig':_0x585624});_0x41cab7[_0x2845f5[_0x24f3b3(0x421)]]=_0x5e0ab7;}),_0x587783===_0x1fe5eb(0x42d)&&(_0x41cab7['currentPage']=0x1,_0x41cab7[_0x1fe5eb(0x28a)]=0xa),_0x41cab7;}function formatEnumValue(_0x1529bd,_0x1f8944){const _0x10051f=a0_0x5456ff;if(_0x1529bd['multiple']&&Array['isArray'](_0x1f8944))return _0x1f8944[_0x10051f(0x418)](_0x542b7b=>_0x1529bd['valueLabels'][String(_0x542b7b)]||String(_0x542b7b))[_0x10051f(0x396)](',\x20');return _0x1529bd[_0x10051f(0x3c7)][String(_0x1f8944)]||String(_0x1f8944);}function a0_0xbb4d(){const _0x4595d8=['generateSingleValueExample','toConfig','toLowerCase','getConflicts','generateFromSchema','generateHTTPExample','\x5c}\x5c}','getFieldDataSource','getFilteredOperationAnalyses','JSON','fieldName','includeUsageExample','SMALLINT','getLatestDatasets','getDbTypeForOperation','-\x20主键使用\x20`id`\x20字段\x0a','_extend','primaryKey','这是一段较长的文本内容示例','selectBestOperator','({\x20currentPage,\x20pageSize\x20});','操作名称','getDbName','string','getFieldList','datasetSDKKey','getHTTPFields','getIds','getEnumMetas','SELECT','请求示例','requestFieldCount','181616mefBlx','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','Integer','substring','where','test','join','getTooltip','hasConflict','每页条数','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getEnabled','object','9147123FKmMpi','type','_raw','Field(','add','dbtableConfig','trim','findByCode','Operation\x20not\x20found:\x20','EXCEL_EXPORT','datasetId','FILE','has','_instance','toConfigArray','();','isUpdateTime','getDOType','isNumericField','聚合函数配置数组(type:\x20sum/count/avg/max/min)','Array','forEach','requestBody','getHTTPRequestParamsDocInfo','getAutoIncrement','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getByType','GET','getNames','tableKey','TIMESTAMP',',\x20doType=','getDisplayName','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','createDate','source','prefix','withDeleted','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','dbId','文件上传','no\x20conflicts','valueLabels','$gteq','字段名称','getOneUpdate','round','HTTP\x20直接调用时使用平铺格式:\x0a','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','indexes','getFieldListWithDeleted','INTEGER','getConflictStats','排序规则(与\x20Filter\x20API\x20一致)','parseRawRequestBody','isOpenAPI','normalizeDbType','DrivenDataDetailPlus(','getDBConfig','isBusiness','generateSDKInitCode','FieldListV2(','2024-12-31','RICH_TEXT','查询单条(原始)','<!--\x5cs*CONDITION:\x5cs*','getOne','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','_min','getFieldListV2','data','getDatasetMeta','createFields','getFieldDisplayName','getDatasetDocMeta','success','STRING','address','解析\x20responseBody\x20失败:','requestFields','TINYINT','getSource','enumValues','getOperationAnalysesByType','null','getEnabledOperations','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','hasConflicts','长文本','每页数量(默认:\x2020)','repeat','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getCodes','getFieldName','getFieldRaw','forceVersion','_fieldListV2','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','[generateRequestExample]\x20Invalid\x20field:','获取数据集列表失败:\x20','avg','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','path','\x20fields,\x20','item1','getOperationDocMeta','创建导入','generateRequestExample','dbVersion','creatorIdField','15974500OOIYux','demo-app','detectConflicts','function','array','\x5c{\x5c{','dataIndex','multiple','//\x20Usage\x20examples','GET_LIST','isEnabled','ensureFilterOperation','field_name','map','GET_ONE_ORIGIN','getFileUrl','(id);','daily','value2','msg','获取上传脚本','DatasetGroup(','code','delete','getAppCode','max','CREATE_EXPORT','getEnumValues','update\x20接口接受两个参数:\x0a\x0a','UPLOAD','getDisabled','getOperators','tableName','TIME','getList','getSelectOptions','totalCount','getFieldsByType','getCountByMethod','getName','alias','isFieldPrimaryKey','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','Excel导出','modifierNameField','DbtableConfig(table:\x20','获取文件URL','BIGINT','having','orderBy','//\x20','$or','empty','getField','appCode','DECIMAL','method','generateUsageExample','https://example.com/image.jpg','排序规则','189951FjGfIP','_max','random','enabledOperationCount','示例文本','$lte','includeRequestExample','FieldV2(','const\x20fileUrl\x20=\x20await\x20client.models.','create','单值查询','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getFieldOptions','getModelName','sdkCallCode','groupByTableName','GET_FILE_URL','relations','getModelAlias','主键ID(必填)','slice','all','$lteq','options','getEnumFields','$and','autoIncrement','\x22,数据集:\x20','value1','name','generateFieldExample','_fieldListV1WithDeleted','mapDbTypeToType','getRealTables','modifierIdField','doType','length','includes','toTableName','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getRelationsByField','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getFieldDescription','getFieldsWithDeleted','IMPORT_TEMPLATE','getIndexes','getDisabledOperationInstances','-\x20其他要更新的字段直接平铺在同一层级','generateHTTPRequestExample','getCreateTime','labelField','tableColumns','responseBody','Filter\x20API\x20-\x20高级查询接口','N/A','warn','getLatest','\x20operations,\x20v1)','\x20operation','getEnum','https://example.com/file.pdf','value','GET_ONE_UPDATE','-\x20`','updateTimeField','generateAllOperationsFullSDKExample','_operations','getRawDbtableConfig','当前页码(从\x201\x20开始,默认:\x201)','(支持单值或数组)','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','_fieldListWithDeleted','modifyDate','generateOperationSummary','getOperationRequestFields','String','getRaw',',\x20currentPage,\x20pageSize,\x20...\x20});','errorCode','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','getId','columnName','getType','datasetMap','getFilterOperators','SDK\x20调用','getRequired','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','_avg','getSystemFields','customFilter','size','0000','_requestExampleCache','hasFilterOperation','getRequiredFields','({\x20code,\x20label\x20});','isDeleted','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getConflictingItems','env','getSelectItemsSource','RADIO','getSDKInitData','isSystem','exampleWhere','suffix','getUploadFileScript','getPath','createTimeField','extend','getVirtualTables','precision','String[]','stringify','富文本','$eq','$ne','padStart','total','defaultValue','toArray','BOOLEAN','2024-01-01','push','toString','hasCreatorIdField','pkField','DATETIME','[dsparser]\x20跳过重复的表名\x20\x22','$in','getFieldSelectItemsSource','$startWith','tableData','generateDefaultFilterOperation','item2','isPrimaryKey','VARCHAR','解析\x20requestBody\x20失败:','getStats','getEnumFieldMeta','({\x20','创建导出','email','status','createTime','\x20operations,\x20','host','getOperationList','getAllFieldsArray','getSystemAnalysisResult','total_count','dataset','LONGBLOB','isRequiredField','DrivenDataDetail(','getDatabaseVersion','getOperation','getOperationsOverviewData','hasCreateTimeField','useFullExample','from','_datasetMeta','_operationList','getDisabledOperations','\x20的\x20extend\x20配置失败:','getDisabledNames','getEnumMeta','SWITCH','includeDisabled','时间戳','DrivenDataDetailV2(','distinct','getBusiness','4588BNYJiq','groups','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','isSystemField','getOperationCount','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','toFieldDefinition','isArray','toDatasetCode','getBusinessFields','getOperationFieldOperators','getRequestParamsDocInfo','94278gtBnTo','placeholder','usageExample','getRelatedDataset','getFieldNames','groupByType','dataset_','FieldList(','sortOperationsWithFilterFirst','logicField','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','hasOperation','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getFieldCode','LONGTEXT','datasetCode','values','isVirtualTable','每页数量(可选)','getAll','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','toJSON','hasDblinkInfo','获取下拉选项','sortNum','isRequired','TEXT','includeDeleted','\x20indexes)','getOperationsData','generateRequestAllExamples','generateExampleValue','aggregate','/filter','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','set','lastIndexOf','任务信息','**可更新的字段列表:**','doVersion','FLOAT','replace','getInternalInstance','getExtendField','every','isMultipleSelectField','getSystem','<p>富文本内容</p>','sort','导入模板','displayName','BIT','当前页码(可选)','items','find','tenantCode','datasetKey','online','getPrimaryKeys','getCode','creatorNameField','pageSize','isEnum','支持多个条件','查询条件(支持\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)','4lCXWSC','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','successCode','count','toUpperCase','isMultipleSelect','主键ID','boolean','allFields','_datasetMap','系统自动生成','##\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','DELETE','operationCount','CHAR','dataset_000000','version','isOperatorApplicableToField','TEXTAREA','generateAliasExplanation','getOperations','isAutoIncrement','getAt','getDatabaseType','完整的\x20SDK\x20调用代码','toListItem','prototype','\x20relations,\x20','hasLogicField','CREATE_IMPORT','createImport','Number','split','getResponseSchema','findById','context','DESC','hasModifierIdField','isEmpty','modelId','_operationAnalyses','filter','min','keyword','(params);','\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','dbName','column','title','hasRelation','分组字段列表','分组后的过滤条件(对聚合结果进行过滤)','getFieldV2','toObject','getApplicableOperators','getAllDatasets','154yWzpBX','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','sum','DatasetItem(','parse','getUpdateFields','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','toDatasetName','errorMsg','fromField','iterator','label','index','operations','params','fromApiResponse','hasField','toISOString','currentPage','getFilterOperation','findByTableName','getFieldInstance','getDeleted','has\x20conflicts','generateResponseExample','default','getOperationAnalyses','dbTypeLen','taskInfo','TASK_INFO','CHECKBOX','some','getFirst','initDataset','properties','$contain','update','entries','findByName','getOperationFieldsOperatorsMap','children','OperationList(','getFieldOperators','当前页码','charAt','parseRawResponseBody','BOOL','datasetInfo','字段编码','datasetName','sdkCall','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','dblinkInfoDTO','number','getPrimaryKeyFields','getEnabledNames','getFields','generateAllOperationsSummary','getOperationAnalysis','toDatasetId','condition','getItems','$gte','\x20groups)','getRequestFields','getVersion','desc','\x20fields)','\x20items,\x20','parseFieldExtend','getTableKey','要更新的字段数据对象','getFieldsFilterOperatorsMap','getEnumOptions','validateEnumValue','_sum','isCreateTime','//\x20Call\x20the\x20','supportsCRUD','(实际字段:','enabled','示例值','conflictGroupCount','2.0','paging','createAll','getOperationStats','const\x20result\x20=\x20await\x20client.models.','responseSchema','getFilteredOperations','查询单条','select','获取数据集失败:\x20','_fieldListV1','13800138000','$endWith','get','hasUpdateTimeField','createExport','isPrimaryKeyField','getFullUrl','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','getRequestParams','getPkField','yourModel','totalGroups','filterBlacklist','excelExport','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getOperationOperators','getMethod','查询单条(用于更新)','bind','getRelations','_fields','toField','\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','importTemplate','required','hasTableName','getEnumFieldsMeta','Object','10715112okpqFS','fields','215qcCvwJ','DATE','INT','fieldCode','description','getFieldDefinition','getOldest','toFullConfig','getEnabledOperationInstances','modelCode','isEnumField','\x20API\x20文档','groupBy','deleted','updateTime','IMAGE','_relations','dbType','getFieldCount','getGroupedParams',',\x20...\x20});','NUMBER','Invalid\x20API\x20response:\x20success\x20is\x20false','getCount','CREATE','getDatasetSDKKey','conflictItemCount','now','-$1','keys','hasExtendField','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','raw','systemRetain','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','getFiltered','_fieldList','generateSDKCallCode','DOUBLE','query','getTableName','getEnabledOperationAnalyses','getMissingCRUDOperations','selectItemsSource','getOneOrigin'];a0_0xbb4d=function(){return _0x4595d8;};return a0_0xbb4d();}function formatOptionsForDoc(_0x2670a6){const _0x271187=a0_0x5456ff;return _0x2670a6[_0x271187(0x418)](_0x19ead0=>_0x19ead0[_0x271187(0x1d0)]+'('+_0x19ead0[_0x271187(0x2d1)]+')')[_0x271187(0x396)](',\x20');}function formatOptionsAsMarkdownList(_0x3811b2,_0x409a3a=0x0){const _0x559ce0=a0_0x5456ff,_0x39e16a='\x20\x20'[_0x559ce0(0x3f7)](_0x409a3a),_0x40a2d8=[];return _0x3811b2['forEach'](_0x2d8775=>{const _0x26c2f8=_0x559ce0;_0x40a2d8[_0x26c2f8(0x20f)](_0x39e16a+_0x26c2f8(0x1d2)+_0x2d8775[_0x26c2f8(0x1d0)]+'`:\x20'+_0x2d8775['label']),_0x2d8775[_0x26c2f8(0x2ee)]&&_0x2d8775[_0x26c2f8(0x2ee)]['length']>0x0&&_0x40a2d8[_0x26c2f8(0x20f)](formatOptionsAsMarkdownList(_0x2d8775['children'],_0x409a3a+0x1));}),_0x40a2d8[_0x559ce0(0x396)]('\x0a');}class DbtableConfig{[a0_0x5456ff(0x39f)];constructor(_0xe127a9){const _0x347d15=a0_0x5456ff,_0x545e28={..._0xe127a9};this[_0x347d15(0x39f)]=_0x545e28;}get['dbId'](){const _0x2ff46b=a0_0x5456ff;return this[_0x2ff46b(0x39f)][_0x2ff46b(0x3c4)];}get['dbName'](){const _0x4f6069=a0_0x5456ff;return this[_0x4f6069(0x39f)][_0x4f6069(0x2bc)]??this[_0x4f6069(0x39f)][_0x4f6069(0x2fa)]?.[_0x4f6069(0x2bc)];}get[a0_0x5456ff(0x42b)](){const _0x573c0b=a0_0x5456ff;return this[_0x573c0b(0x39f)][_0x573c0b(0x42b)];}get[a0_0x5456ff(0x285)](){const _0x3ff57c=a0_0x5456ff;return this['_raw'][_0x3ff57c(0x285)];}get['pkField'](){const _0x3f11d8=a0_0x5456ff;return this[_0x3f11d8(0x39f)][_0x3f11d8(0x212)];}get['labelField'](){const _0x504a66=a0_0x5456ff;return this[_0x504a66(0x39f)][_0x504a66(0x479)];}get['logicField'](){const _0x555110=a0_0x5456ff;return this[_0x555110(0x39f)][_0x555110(0x256)];}get['createTimeField'](){const _0x4e9f99=a0_0x5456ff;return this['_raw'][_0x4e9f99(0x200)];}get[a0_0x5456ff(0x1d3)](){const _0x3c89d5=a0_0x5456ff;return this[_0x3c89d5(0x39f)][_0x3c89d5(0x1d3)];}get[a0_0x5456ff(0x40a)](){const _0x168a51=a0_0x5456ff;return this[_0x168a51(0x39f)][_0x168a51(0x40a)];}get['creatorNameField'](){const _0x495c2a=a0_0x5456ff;return this['_raw'][_0x495c2a(0x289)];}get[a0_0x5456ff(0x469)](){const _0x2a65bf=a0_0x5456ff;return this[_0x2a65bf(0x39f)]['modifierIdField'];}get[a0_0x5456ff(0x437)](){const _0x11b192=a0_0x5456ff;return this[_0x11b192(0x39f)]['modifierNameField'];}get[a0_0x5456ff(0x2fa)](){const _0x7d4e19=a0_0x5456ff;return this[_0x7d4e19(0x39f)][_0x7d4e19(0x2fa)];}[a0_0x5456ff(0x228)](){const _0x55e171=a0_0x5456ff;if(!this[_0x55e171(0x39f)][_0x55e171(0x296)])return[];return this[_0x55e171(0x39f)][_0x55e171(0x296)]['split'](',')[_0x55e171(0x418)](_0x3c2b22=>_0x3c2b22['trim']())[_0x55e171(0x2b7)](Boolean);}['getAllFieldsString'](){const _0x38b073=a0_0x5456ff;return this[_0x38b073(0x39f)][_0x38b073(0x296)];}[a0_0x5456ff(0x2d6)](_0x31a3c4){const _0x2fbefe=a0_0x5456ff;return this[_0x2fbefe(0x228)]()[_0x2fbefe(0x46c)](_0x31a3c4);}[a0_0x5456ff(0x33d)](){const _0x7ed8fd=a0_0x5456ff;return Boolean(this[_0x7ed8fd(0x39f)]['tableName']);}['hasDblinkInfo'](){const _0x173d6e=a0_0x5456ff;return Boolean(this['_raw'][_0x173d6e(0x2fa)]);}[a0_0x5456ff(0x2aa)](){const _0xbc0fc5=a0_0x5456ff;return Boolean(this['_raw']['logicField']?.[_0xbc0fc5(0x379)]);}['hasCreateTimeField'](){const _0x52701f=a0_0x5456ff;return Boolean(this['_raw']['createTimeField']?.[_0x52701f(0x379)]);}['hasUpdateTimeField'](){const _0x47f9c0=a0_0x5456ff;return Boolean(this[_0x47f9c0(0x39f)][_0x47f9c0(0x1d3)]?.['fieldName']);}[a0_0x5456ff(0x211)](){const _0x502cf0=a0_0x5456ff;return Boolean(this['_raw']['creatorIdField']?.[_0x502cf0(0x379)]);}[a0_0x5456ff(0x2b3)](){const _0x473442=a0_0x5456ff;return Boolean(this['_raw'][_0x473442(0x469)]?.['fieldName']);}['isPrimaryKeyField'](_0x118345){const _0x4a6da5=a0_0x5456ff;return this[_0x4a6da5(0x39f)][_0x4a6da5(0x212)]===_0x118345;}[a0_0x5456ff(0x244)](_0x1a83ba){const _0x5666e9=a0_0x5456ff;return this[_0x5666e9(0x329)](_0x1a83ba)||this['_raw']['logicField']?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)]['createTimeField']?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)]['updateTimeField']?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x40a)]?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x289)]?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x469)]?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x437)]?.[_0x5666e9(0x379)]===_0x1a83ba;}['getDatabaseName'](){const _0x5dc579=a0_0x5456ff;return this[_0x5dc579(0x39f)][_0x5dc579(0x2fa)]?.[_0x5dc579(0x2bc)];}[a0_0x5456ff(0x2a5)](){const _0x27da8a=a0_0x5456ff;return this[_0x27da8a(0x39f)][_0x27da8a(0x2fa)]?.[_0x27da8a(0x353)];}[a0_0x5456ff(0x22f)](){const _0x2d0d87=a0_0x5456ff;return this['_raw'][_0x2d0d87(0x2fa)]?.[_0x2d0d87(0x409)];}['getTenantCode'](){const _0x2119a1=a0_0x5456ff;return this[_0x2119a1(0x39f)][_0x2119a1(0x2fa)]?.[_0x2119a1(0x284)];}[a0_0x5456ff(0x423)](){const _0x473763=a0_0x5456ff;return this['_raw'][_0x473763(0x2fa)]?.['appCode'];}[a0_0x5456ff(0x229)](){const _0xbcabd2=a0_0x5456ff;return this['_raw'][_0xbcabd2(0x2fa)]?.['systemAnalysisResult'];}[a0_0x5456ff(0x21e)](){const _0x1d54a9=a0_0x5456ff;return{'hasTableName':this[_0x1d54a9(0x33d)](),'hasDblinkInfo':this[_0x1d54a9(0x263)](),'fieldCount':this['getAllFieldsArray']()[_0x1d54a9(0x46b)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x1d54a9(0x232)](),'hasUpdateTimeField':this[_0x1d54a9(0x327)](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this['hasModifierIdField']()}};}['toConfig'](){const _0xbbb7ed=a0_0x5456ff,_0x20994a={};return _0x20994a[_0xbbb7ed(0x42b)]=this[_0xbbb7ed(0x42b)],_0x20994a[_0xbbb7ed(0x212)]=this[_0xbbb7ed(0x212)],_0x20994a[_0xbbb7ed(0x285)]=this['datasetKey'],_0x20994a[_0xbbb7ed(0x3c4)]=this[_0xbbb7ed(0x3c4)],_0x20994a;}['toJSON'](){const _0x2c14ad=a0_0x5456ff,_0x46d805={...this[_0x2c14ad(0x39f)]};return _0x46d805;}[a0_0x5456ff(0x1df)](){const _0x2c0cd4={...this['_raw']};return _0x2c0cd4;}[a0_0x5456ff(0x210)](){const _0x5cb9b0=a0_0x5456ff,_0x2437b4=this[_0x5cb9b0(0x42b)]||_0x5cb9b0(0x47d),_0x2044d3=this[_0x5cb9b0(0x228)]()[_0x5cb9b0(0x46b)];return _0x5cb9b0(0x438)+_0x2437b4+',\x20fields:\x20'+_0x2044d3+')';}static[a0_0x5456ff(0x43f)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x5456ff(0x39f)];constructor(_0x5ed77c){const _0x4edc0b=a0_0x5456ff,_0x1d7457=_0x5ed77c[_0x4edc0b(0x25c)]||_0x5ed77c[_0x4edc0b(0x421)]||_0x5ed77c[_0x4edc0b(0x34b)],_0x365e4c={..._0x5ed77c};_0x365e4c[_0x4edc0b(0x25c)]=_0x1d7457,this[_0x4edc0b(0x39f)]=_0x365e4c;}get['id'](){const _0x4152f5=a0_0x5456ff;return this[_0x4152f5(0x39f)]['id'];}get[a0_0x5456ff(0x464)](){const _0xfdc6e7=a0_0x5456ff;return this['_raw'][_0xfdc6e7(0x464)];}['getName'](){const _0x4fa5fd=a0_0x5456ff;return this[_0x4fa5fd(0x464)];}get[a0_0x5456ff(0x25c)](){const _0x5b8324=a0_0x5456ff;return this[_0x5b8324(0x39f)][_0x5b8324(0x25c)]||'';}get[a0_0x5456ff(0x3a2)](){const _0x2d7a54=a0_0x5456ff;if(!this[_0x2d7a54(0x39f)][_0x2d7a54(0x3a2)])return null;return new DbtableConfig(this['_raw'][_0x2d7a54(0x3a2)]);}['getRawDbtableConfig'](){const _0xa64ce5=a0_0x5456ff;return this[_0xa64ce5(0x39f)][_0xa64ce5(0x3a2)];}[a0_0x5456ff(0x385)](){const _0x2fabd3=a0_0x5456ff;return this[_0x2fabd3(0x3a2)]?.[_0x2fabd3(0x2bc)]||'';}[a0_0x5456ff(0x36a)](){const _0x2f5494=a0_0x5456ff;return getTableName(this[_0x2f5494(0x39f)]);}[a0_0x5456ff(0x30c)](){const _0xa211c8=a0_0x5456ff;return getTableKey(this[_0xa211c8(0x36a)]());}[a0_0x5456ff(0x35b)](){const _0x32931d=a0_0x5456ff;return generateModelKeyFromCode(this[_0x32931d(0x25c)]);}[a0_0x5456ff(0x25e)](){const _0x4aa415=a0_0x5456ff;return isVirtualTableName(this[_0x4aa415(0x36a)]());}[a0_0x5456ff(0x454)](){const _0x3d6be3=a0_0x5456ff;return getTableKey(this[_0x3d6be3(0x36a)]());}[a0_0x5456ff(0x370)](){const _0xc40275=a0_0x5456ff,_0x5ce273=getTableKey(this['getTableName']());return{'key':_0x5ce273,'alias':_0x5ce273,'tableName':this[_0xc40275(0x36a)](),'datasetCode':this[_0xc40275(0x25c)],'name':this[_0xc40275(0x464)]};}[a0_0x5456ff(0x262)](){const _0x23cd36=a0_0x5456ff,_0x4ad7e6={...this[_0x23cd36(0x39f)]};return _0x4ad7e6[_0x23cd36(0x25c)]=this[_0x23cd36(0x25c)],_0x4ad7e6;}[a0_0x5456ff(0x1df)](){const _0x4960fc=a0_0x5456ff,_0x498683={...this[_0x4960fc(0x39f)]};return _0x498683;}['hasDbtableConfig'](){const _0x173bfe=a0_0x5456ff,_0x2cd305=this[_0x173bfe(0x3a2)];return _0x2cd305!==null&&_0x2cd305[_0x173bfe(0x33d)]();}[a0_0x5456ff(0x278)](_0x30198b){const _0x243248=a0_0x5456ff;return this[_0x243248(0x39f)][_0x30198b];}[a0_0x5456ff(0x360)](_0x4d8566){return _0x4d8566 in this['_raw'];}[a0_0x5456ff(0x210)](){const _0x3e68f9=a0_0x5456ff;return _0x3e68f9(0x2c9)+this['name']+',\x20'+this[_0x3e68f9(0x25c)]+')';}}class Operation{[a0_0x5456ff(0x464)];[a0_0x5456ff(0x39f)];[a0_0x5456ff(0x2b1)];constructor(_0x4ca34e,_0x2d354c,_0x293ca9){const _0x16ea49=a0_0x5456ff;this[_0x16ea49(0x464)]=_0x4ca34e,this[_0x16ea49(0x39f)]=_0x2d354c,this['context']=_0x293ca9;}[a0_0x5456ff(0x432)](){return this['name'];}['getDisplayName'](){const _0x148140=a0_0x5456ff;return OPERATION_TYPE_DISPLAY_NAME[this[_0x148140(0x464)]]||this[_0x148140(0x464)];}[a0_0x5456ff(0x1e5)](){const _0x1cb3ac=a0_0x5456ff;return parseOperationType(this[_0x1cb3ac(0x464)]);}[a0_0x5456ff(0x415)](){const _0x3fe4a3=a0_0x5456ff;return this[_0x3fe4a3(0x39f)]!==null&&this[_0x3fe4a3(0x39f)]!==![];}[a0_0x5456ff(0x334)](){const _0x57eca8=a0_0x5456ff,_0x23ea05=this[_0x57eca8(0x39f)];if(_0x23ea05===![]||_0x23ea05===null)return'';return _0x23ea05[_0x57eca8(0x443)]||_0x57eca8(0x3b8);}['getPath'](){const _0x24f21c=a0_0x5456ff,_0x418d9b=this['_raw'];if(_0x418d9b===![]||_0x418d9b===null)return'';return _0x418d9b[_0x24f21c(0x403)]||'';}['getFullUrl'](){const _0x3bdd81=a0_0x5456ff,_0x12cda2=this[_0x3bdd81(0x39f)];let _0x197e8c='';_0x12cda2!==![]&&_0x12cda2!==null&&_0x12cda2[_0x3bdd81(0x226)]&&(_0x197e8c=_0x12cda2[_0x3bdd81(0x226)]);const _0x4c19ef=this[_0x3bdd81(0x1ff)]();return _0x197e8c&&_0x4c19ef?''+_0x197e8c+_0x4c19ef:_0x4c19ef;}[a0_0x5456ff(0x3d3)](){const _0x2c9ce9=a0_0x5456ff,_0x29b666=this[_0x2c9ce9(0x39f)];if(_0x29b666===![]||_0x29b666===null||!_0x29b666[_0x2c9ce9(0x3b3)])return{};try{return JSON[_0x2c9ce9(0x2ca)](_0x29b666['requestBody']);}catch{return{};}}[a0_0x5456ff(0x2f3)](){const _0x1dd876=a0_0x5456ff,_0x120a1b=this['_raw'];if(_0x120a1b===![]||_0x120a1b===null||!_0x120a1b[_0x1dd876(0x47b)])return null;try{return JSON[_0x1dd876(0x2ca)](_0x120a1b['responseBody']);}catch{return null;}}['getRequestParams'](){const _0xc5e8f=a0_0x5456ff;return this[_0xc5e8f(0x3d3)]();}[a0_0x5456ff(0x2af)](){const _0x397dde=a0_0x5456ff;return this[_0x397dde(0x2f3)]();}[a0_0x5456ff(0x306)](){const _0x31edfc=a0_0x5456ff,_0x56b7f3=this['getRequestParams']();return Object[_0x31edfc(0x35f)](_0x56b7f3);}[a0_0x5456ff(0x408)](){const _0x5b1e43=a0_0x5456ff,_0x102b6b=this[_0x5b1e43(0x32c)](),_0x1a5c28={};return Object[_0x5b1e43(0x2eb)](_0x102b6b)[_0x5b1e43(0x3b2)](([_0x2ea11a,_0x3e3a60])=>{const _0x19b5d2=_0x5b1e43,_0x35e2ad=_0x3e3a60;_0x1a5c28[_0x2ea11a]=generateExampleValue(_0x2ea11a,_0x35e2ad['type']||'String',undefined,{'description':_0x35e2ad[_0x19b5d2(0x346)]});}),_0x1a5c28;}[a0_0x5456ff(0x374)](){const _0x26acd9=a0_0x5456ff;return this[_0x26acd9(0x408)]();}[a0_0x5456ff(0x2de)](){const _0x315b22=a0_0x5456ff,_0x388205=this['parseRawResponseBody']();if(!_0x388205){const _0x3e78e4={};return _0x3e78e4['success']=!![],_0x3e78e4['msg']='操作成功',_0x3e78e4[_0x315b22(0x2ce)]='',_0x3e78e4[_0x315b22(0x1e1)]=_0x315b22(0x1ef),_0x3e78e4[_0x315b22(0x3e3)]=null,_0x3e78e4;}return this[_0x315b22(0x373)](_0x388205);}[a0_0x5456ff(0x373)](_0x3a3384){const _0x95235c=a0_0x5456ff;if(!_0x3a3384||typeof _0x3a3384!==_0x95235c(0x39c))return{};if(Array[_0x95235c(0x248)](_0x3a3384))return _0x3a3384['length']>0x0?[this['generateFromSchema'](_0x3a3384[0x0])]:[];const _0x3c93fc={};for(const [_0x26fb32,_0x3eff88]of Object[_0x95235c(0x2eb)](_0x3a3384)){if(_0x3eff88&&typeof _0x3eff88==='object'&&!Array[_0x95235c(0x248)](_0x3eff88)){const _0x5c34ab=_0x3eff88;_0x3c93fc[_0x26fb32]=generateExampleValue(_0x26fb32,_0x5c34ab[_0x95235c(0x39e)]||'String',undefined,{'description':_0x5c34ab[_0x95235c(0x346)]});}else Array['isArray'](_0x3eff88)?_0x3c93fc[_0x26fb32]=_0x3eff88['length']>0x0?[this[_0x95235c(0x373)](_0x3eff88[0x0])]:[]:_0x3c93fc[_0x26fb32]=_0x3eff88;}return _0x3c93fc;}[a0_0x5456ff(0x465)](_0x4ed1a9,_0x51c6da,_0x41c204,_0x4344fd){return generateExampleValue(_0x4ed1a9,_0x51c6da,_0x41c204,_0x4344fd);}[a0_0x5456ff(0x367)](_0x14f7fc,_0x15d181){const _0x198f0c=a0_0x5456ff,_0x212d33=this[_0x198f0c(0x432)]();return _0x198f0c(0x31d)+_0x14f7fc+'.'+_0x212d33+_0x198f0c(0x3ac);}['generateUsageExample'](_0x1b5700){const _0x5db664=a0_0x5456ff,_0x421e59=this['getName'](),_0x464fb1=_0x1b5700||_0x5db664(0x32e),_0x116852={};return _0x116852['successCode']='const\x20data\x20=\x20await\x20client.models.'+_0x464fb1+'.'+_0x421e59+_0x5db664(0x3ac),_0x116852[_0x5db664(0x1e1)]=_0x5db664(0x3e0)+_0x464fb1+'.'+_0x421e59+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x116852;}[a0_0x5456ff(0x24c)](){const _0x44baa6=a0_0x5456ff,_0x263968=this[_0x44baa6(0x32c)](),_0x503a9f=Object[_0x44baa6(0x2eb)](_0x263968)[_0x44baa6(0x418)](([_0x9ef2,_0x5e5f96])=>{const _0x28bb56=_0x44baa6,_0x105c11=_0x5e5f96,_0x23de83={};return _0x23de83[_0x28bb56(0x464)]=_0x9ef2,_0x23de83['type']=_0x105c11[_0x28bb56(0x39e)]||_0x28bb56(0x1de),_0x23de83[_0x28bb56(0x346)]=_0x105c11['description']||'-',_0x23de83[_0x28bb56(0x33c)]=_0x105c11[_0x28bb56(0x33c)],_0x23de83;}),_0x41251d={};return _0x41251d[_0x44baa6(0x2d4)]=_0x503a9f,_0x41251d;}['getResponseParamsDocInfo'](){const _0x45bdf7=a0_0x5456ff,_0x45cd34=this[_0x45bdf7(0x2f3)]();if(!_0x45cd34){const _0x4c3783={};return _0x4c3783[_0x45bdf7(0x2d4)]=[],_0x4c3783;}const _0x554a2e=Object['entries'](_0x45cd34)[_0x45bdf7(0x418)](([_0xd6e426,_0x43873b])=>{const _0xdae793=_0x45bdf7,_0x8e06f2=_0x43873b,_0x23b5c5={};return _0x23b5c5[_0xdae793(0x464)]=_0xd6e426,_0x23b5c5['type']=_0x8e06f2[_0xdae793(0x39e)]||'String',_0x23b5c5[_0xdae793(0x346)]=_0x8e06f2[_0xdae793(0x346)]||'-',_0x23b5c5;}),_0x9fa844={};return _0x9fa844[_0x45bdf7(0x2d4)]=_0x554a2e,_0x9fa844;}[a0_0x5456ff(0x1ec)](){return[];}[a0_0x5456ff(0x24a)](){return this['context']['fields']||[];}['getAllParams'](){return{'systemFields':this['getSystemFields'](),'businessFields':this['getBusinessFields']()};}['getFieldDefinition'](_0x1c4640){const _0x122047=a0_0x5456ff;return this[_0x122047(0x2b1)][_0x122047(0x341)]['find'](_0x280a35=>_0x280a35?.[_0x122047(0x421)]===_0x1c4640);}[a0_0x5456ff(0x25a)](_0x24bf82){const _0x29e05d=a0_0x5456ff;return _0x24bf82[_0x29e05d(0x421)];}['getFieldType'](_0x5be854){return _0x5be854['type'];}[a0_0x5456ff(0x3e6)](_0x182293){const _0x51ebf4=a0_0x5456ff;return _0x182293[_0x51ebf4(0x464)];}[a0_0x5456ff(0x471)](_0x541175){const _0x5d6bdf=a0_0x5456ff;return _0x541175[_0x5d6bdf(0x346)];}['getFieldOptions'](_0x1e97e3){const _0x35e9e3=a0_0x5456ff;return _0x1e97e3[_0x35e9e3(0x30f)]()||null;}[a0_0x5456ff(0x434)](_0x31cfe6){const _0x4793c0=a0_0x5456ff;return _0x31cfe6[_0x4793c0(0x21b)]();}[a0_0x5456ff(0x42a)](){return[];}[a0_0x5456ff(0x2f0)](_0x530358){return[];}[a0_0x5456ff(0x262)](){const _0x4493db=a0_0x5456ff;return{'name':this[_0x4493db(0x432)](),'displayName':this[_0x4493db(0x3bd)](),'type':this['getType'](),'enabled':this[_0x4493db(0x415)](),'method':this[_0x4493db(0x334)](),'path':this['getPath'](),'fullUrl':this[_0x4493db(0x32a)](),'requestParams':this[_0x4493db(0x32c)](),'requestExample':this[_0x4493db(0x408)](),'responseExample':this[_0x4493db(0x2de)]()};}[a0_0x5456ff(0x210)](){const _0x1c98a2=a0_0x5456ff,_0x11e738=this[_0x1c98a2(0x415)]()?'启用':'禁用';return this[_0x1c98a2(0x3bd)]()+'('+this[_0x1c98a2(0x464)]+',\x20'+_0x11e738+')';}}class GenericOperation extends Operation{[a0_0x5456ff(0x1f0)];[a0_0x5456ff(0x32c)](){const _0x4a9e83=a0_0x5456ff;return this[_0x4a9e83(0x3d3)]();}[a0_0x5456ff(0x2af)](){return this['parseRawResponseBody']();}[a0_0x5456ff(0x408)](){const _0x34857c=a0_0x5456ff;if(this[_0x34857c(0x1f0)])return this[_0x34857c(0x1f0)];const _0x49ca26={},_0x4b28e3=this[_0x34857c(0x32c)](),_0x4f4c99=this[_0x34857c(0x1e5)]();if(Object[_0x34857c(0x35f)](_0x4b28e3)['length']===0x0&&_0x4f4c99){const _0x5832da=this[_0x34857c(0x24a)]();return _0x5832da[_0x34857c(0x3b2)](_0x31e782=>{const _0x5c425f=_0x34857c,_0x4d0b89=_0x31e782[_0x5c425f(0x421)],_0x243ed8=_0x31e782[_0x5c425f(0x39e)],_0x3dd941=this['generateFieldExample'](_0x4d0b89,_0x243ed8,_0x31e782['getDbTypeForOperation'](),{'isPrimaryKey':_0x31e782[_0x5c425f(0x21b)](),'description':_0x31e782[_0x5c425f(0x346)]||_0x31e782[_0x5c425f(0x464)]});_0x49ca26[_0x4d0b89]=_0x3dd941;}),this[_0x34857c(0x1f0)]=_0x49ca26,_0x49ca26;}return Object['entries'](_0x4b28e3)[_0x34857c(0x3b2)](([_0x1d46ff,_0x12b386])=>{const _0x8b62a0=_0x34857c,_0x41f055=_0x12b386;let _0x53e9e5;if(typeof _0x41f055[_0x8b62a0(0x39e)]===_0x8b62a0(0x386))_0x53e9e5=_0x41f055[_0x8b62a0(0x39e)];else _0x41f055['type']&&typeof _0x41f055['type']===_0x8b62a0(0x39c)?_0x53e9e5=_0x41f055[_0x8b62a0(0x39e)][_0x8b62a0(0x39e)]||_0x8b62a0(0x267):_0x53e9e5=_0x8b62a0(0x267);const _0x483f6f=_0x41f055[_0x8b62a0(0x346)],_0x39ba61=this[_0x8b62a0(0x347)](_0x1d46ff);if(_0x1d46ff===_0x8b62a0(0x2d8))_0x49ca26[_0x1d46ff]=0x1;else{if(_0x1d46ff===_0x8b62a0(0x28a))_0x49ca26[_0x1d46ff]=0xa;else{if(_0x1d46ff==='id')_0x49ca26[_0x1d46ff]=0x1;else{const _0xea4bfe=_0x39ba61?_0x39ba61['getDbTypeForOperation']():undefined,_0x8989a2=_0x39ba61?_0x39ba61[_0x8b62a0(0x346)]:undefined,_0x2f326e=_0x39ba61?_0x39ba61['name']:undefined;_0x49ca26[_0x1d46ff]=this[_0x8b62a0(0x465)](_0x1d46ff,_0x53e9e5,_0xea4bfe||undefined,{'isPrimaryKey':_0x1d46ff===this['context'][_0x8b62a0(0x212)]||_0x1d46ff==='id','description':_0x483f6f||_0x8989a2||_0x2f326e});}}}}),this[_0x34857c(0x1f0)]=_0x49ca26,_0x49ca26;}[a0_0x5456ff(0x2de)](){const _0x48f98a=a0_0x5456ff,_0x2264e9=this[_0x48f98a(0x2af)]();if(!_0x2264e9){const _0x14e397={};return _0x14e397[_0x48f98a(0x3e8)]=!![],_0x14e397[_0x48f98a(0x41e)]='操作成功',_0x14e397[_0x48f98a(0x2ce)]='',_0x14e397[_0x48f98a(0x1e1)]=_0x48f98a(0x1ef),_0x14e397['data']=null,_0x14e397;}return this[_0x48f98a(0x373)](_0x2264e9);}[a0_0x5456ff(0x373)](_0x10f665){const _0x3dbe1e=a0_0x5456ff;if(!_0x10f665||typeof _0x10f665!==_0x3dbe1e(0x39c))return{};if(Array[_0x3dbe1e(0x248)](_0x10f665)){if(_0x10f665[_0x3dbe1e(0x46b)]>0x0)return[this[_0x3dbe1e(0x373)](_0x10f665[0x0])];return[];}const _0x3f506e={};return Object[_0x3dbe1e(0x35f)](_0x10f665)[_0x3dbe1e(0x3b2)](_0x1b98f9=>{const _0x302d0f=_0x3dbe1e,_0x14f6a9=_0x10f665[_0x1b98f9];if(_0x14f6a9&&typeof _0x14f6a9===_0x302d0f(0x39c)&&!Array[_0x302d0f(0x248)](_0x14f6a9)&&_0x14f6a9['type']){const _0x13f607=_0x14f6a9;let _0x2be6fb;if(typeof _0x13f607[_0x302d0f(0x39e)]==='string')_0x2be6fb=_0x13f607[_0x302d0f(0x39e)];else _0x13f607[_0x302d0f(0x39e)]&&typeof _0x13f607[_0x302d0f(0x39e)]===_0x302d0f(0x39c)?_0x2be6fb=_0x13f607['type'][_0x302d0f(0x39e)]||_0x302d0f(0x267):_0x2be6fb=_0x302d0f(0x267);const _0x3cc4f9=_0x13f607[_0x302d0f(0x346)],_0x3cbfcd={};_0x3cbfcd[_0x302d0f(0x346)]=_0x3cc4f9,_0x3f506e[_0x1b98f9]=this[_0x302d0f(0x465)](_0x1b98f9,_0x2be6fb,undefined,_0x3cbfcd);}else{if(Array[_0x302d0f(0x248)](_0x14f6a9))_0x3f506e[_0x1b98f9]=_0x14f6a9[_0x302d0f(0x46b)]>0x0?[this[_0x302d0f(0x373)](_0x14f6a9[0x0])]:[];else _0x14f6a9&&typeof _0x14f6a9===_0x302d0f(0x39c)?_0x3f506e[_0x1b98f9]=this[_0x302d0f(0x373)](_0x14f6a9):_0x3f506e[_0x1b98f9]=_0x14f6a9;}}),_0x3f506e;}[a0_0x5456ff(0x367)](_0xf80432,_0x2f6d18){const _0x1c46cb=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2f6d18||{},_0x4124e9=this['getName'](),_0x88b03d=this[_0x1c46cb(0x1e5)](),_0x21b98d=this[_0x1c46cb(0x306)](),_0x191691=this['generateRequestExample'](),_0x1e33a7=_0x5a4139=>{const _0xf8239e=_0x1c46cb;if(Object[_0xf8239e(0x35f)](_0x5a4139)['length']===0x0)return'{}';const _0x1f205d=JSON[_0xf8239e(0x205)](_0x5a4139,null,0x2)['split']('\x0a')[_0xf8239e(0x418)]((_0x1e676d,_0x51d8d8)=>_0x51d8d8===0x0?_0x1e676d:indent+_0x1e676d)[_0xf8239e(0x396)]('\x0a');return _0x1f205d;};switch(_0x88b03d){case _0x1c46cb(0x3df):case'delete':return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x41b);case _0x1c46cb(0x2ea):if(useFullExample&&Object[_0x1c46cb(0x35f)](_0x191691)[_0x1c46cb(0x46b)]>0x0)return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+'(id,\x20'+_0x1e33a7(_0x191691)+');';return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+'(id,\x20data);';case _0x1c46cb(0x450):case'getList':case _0x1c46cb(0x42e):default:if(_0x21b98d[_0x1c46cb(0x46b)]>0x0){if(useFullExample&&Object[_0x1c46cb(0x35f)](_0x191691)[_0x1c46cb(0x46b)]>0x0)return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+'('+_0x1e33a7(_0x191691)+');';else{const _0x573ef2=Object['keys'](_0x191691);if(_0x573ef2[_0x1c46cb(0x46b)]>0x0){const _0x4e588e=_0x573ef2[_0x1c46cb(0x45b)](0x0,0x2)[_0x1c46cb(0x396)](',\x20');return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x220)+_0x4e588e+_0x1c46cb(0x356);}else return'const\x20result\x20=\x20await\x20client.models.'+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x2ba);}}else return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x3ac);}}['generateRequestAllExamples'](){const _0x2f9d3d=a0_0x5456ff;return[{'title':_0x2f9d3d(0x38d),'data':this['generateRequestExample']()}];}[a0_0x5456ff(0x1ec)](){const _0xe42431=a0_0x5456ff,_0x4d4d8b=this[_0xe42431(0x1e5)](),_0x3d8b0d=[];switch(_0x4d4d8b){case _0xe42431(0x3df):case'delete':const _0x44ba39={};_0x44ba39['code']='id',_0x44ba39[_0xe42431(0x39e)]=_0xe42431(0x357),_0x44ba39[_0xe42431(0x346)]=_0xe42431(0x294),_0x3d8b0d[_0xe42431(0x20f)](_0x44ba39);break;case _0xe42431(0x42d):const _0x373728={};_0x373728[_0xe42431(0x421)]=_0xe42431(0x2d8),_0x373728[_0xe42431(0x39e)]='NUMBER',_0x373728['description']=_0xe42431(0x2f1);const _0xe19717={};_0xe19717['code']=_0xe42431(0x28a),_0xe19717['type']='NUMBER',_0xe19717['description']=_0xe42431(0x399),_0x3d8b0d['push'](_0x373728,_0xe19717);break;case'getSelectOptions':const _0xf25458={};_0xf25458['code']=_0xe42431(0x421),_0xf25458['type']='STRING',_0xf25458[_0xe42431(0x346)]='选项编码(可选)',_0x3d8b0d[_0xe42431(0x20f)](_0xf25458);break;default:break;}return _0x3d8b0d;}[a0_0x5456ff(0x24a)](){const _0x59af69=a0_0x5456ff,_0x59f16b=this[_0x59af69(0x1e5)](),_0x265006=this[_0x59af69(0x2b1)][_0x59af69(0x341)]||[];switch(_0x59f16b){case _0x59af69(0x3df):case'delete':return[];case _0x59af69(0x450):return _0x265006[_0x59af69(0x2b7)](_0x52099d=>{const _0x5bfe35=_0x59af69;if(_0x52099d[_0x5bfe35(0x34f)])return![];if(_0x52099d[_0x5bfe35(0x21b)]()&&_0x52099d[_0x5bfe35(0x2a3)]())return![];if(_0x52099d[_0x5bfe35(0x1fb)]())return![];if(_0x52099d['isCreateTime']()||_0x52099d[_0x5bfe35(0x3ad)]())return![];return!![];});case _0x59af69(0x2ea):return _0x265006['filter'](_0x2baa16=>{const _0x27caa6=_0x59af69;if(_0x2baa16[_0x27caa6(0x34f)])return![];if(_0x2baa16[_0x27caa6(0x21b)]())return![];if(_0x2baa16[_0x27caa6(0x1fb)]())return![];if(_0x2baa16['isCreateTime']()||_0x2baa16['isUpdateTime']())return![];if(_0x2baa16[_0x27caa6(0x2a3)]())return![];return!![];});case _0x59af69(0x42d):case'getSelectOptions':return _0x265006['filter'](_0x5e1246=>!_0x5e1246[_0x59af69(0x34f)]&&_0x5e1246[_0x59af69(0x3d8)]());default:return _0x265006[_0x59af69(0x2b7)](_0x32f571=>!_0x32f571['deleted']&&_0x32f571[_0x59af69(0x3d8)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x834b8f=a0_0x5456ff,_0x598353=super[_0x834b8f(0x32c)](),_0x5cee8f=Object[_0x834b8f(0x35f)](_0x598353);if(_0x5cee8f[_0x834b8f(0x46b)]===0x0||_0x5cee8f[_0x834b8f(0x46b)]===0x1&&_0x5cee8f[0x0]===_0x834b8f(0x421)){if(!_0x598353[_0x834b8f(0x421)]){const _0x53a788={};_0x53a788[_0x834b8f(0x39e)]=_0x834b8f(0x1de),_0x53a788[_0x834b8f(0x346)]=_0x834b8f(0x2f6),_0x598353[_0x834b8f(0x421)]=_0x53a788;}const _0x1e5b22={};_0x1e5b22[_0x834b8f(0x39e)]='String',_0x1e5b22[_0x834b8f(0x346)]=_0x834b8f(0x3c9),_0x598353['label']=_0x1e5b22;}return _0x598353;}[a0_0x5456ff(0x24a)](){return[];}['getSystemFields'](){const _0xa17775=a0_0x5456ff,_0x375f49={};_0x375f49['code']=_0xa17775(0x421),_0x375f49[_0xa17775(0x39e)]=_0xa17775(0x1de),_0x375f49[_0xa17775(0x346)]=_0xa17775(0x2f6);const _0x45e999={};return _0x45e999['code']=_0xa17775(0x2d1),_0x45e999[_0xa17775(0x39e)]=_0xa17775(0x1de),_0x45e999[_0xa17775(0x346)]=_0xa17775(0x3c9),[_0x375f49,_0x45e999];}['generateRequestExample'](){const _0x230304=a0_0x5456ff,_0x388f08={};return _0x388f08[_0x230304(0x421)]='field_name',_0x388f08[_0x230304(0x2d1)]=_0x230304(0x417),_0x388f08;}['generateSDKCallCode'](_0x65c0fd){const _0x1b0edc=a0_0x5456ff,_0x5a1d78=this[_0x1b0edc(0x432)]();return _0x1b0edc(0x31d)+_0x65c0fd+'.'+_0x5a1d78+_0x1b0edc(0x1f3);}}class GetListOperation extends GenericOperation{[a0_0x5456ff(0x32c)](){const _0x4ee2a1=a0_0x5456ff,_0x561925=super[_0x4ee2a1(0x32c)](),{currentPage:_0x10466f,pageSize:_0x3cd558,..._0x394e8c}=_0x561925,_0x360ae4={};Object[_0x4ee2a1(0x2eb)](_0x394e8c)[_0x4ee2a1(0x3b2)](([_0x59aebf,_0x2cbc09])=>{const _0x431a07=_0x4ee2a1;if(typeof _0x2cbc09===_0x431a07(0x39c)&&_0x2cbc09!==null){const _0x4dc144=_0x2cbc09,_0x406a29=_0x4dc144[_0x431a07(0x346)]||'',_0x59d39c={..._0x4dc144};_0x59d39c['description']=_0x406a29?_0x406a29+_0x431a07(0x1d8):'支持单值或数组',_0x360ae4[_0x59aebf]=_0x59d39c;}else _0x360ae4[_0x59aebf]=_0x2cbc09;});const _0x3918ab={...typeof _0x10466f===_0x4ee2a1(0x39c)?_0x10466f:{}};_0x3918ab['type']='Number',_0x3918ab[_0x4ee2a1(0x346)]='当前页码';const _0x1f06c2={...typeof _0x3cd558===_0x4ee2a1(0x39c)?_0x3cd558:{}};_0x1f06c2[_0x4ee2a1(0x39e)]=_0x4ee2a1(0x2ad),_0x1f06c2[_0x4ee2a1(0x346)]='每页数量';const _0x146cb9={..._0x360ae4};return _0x146cb9[_0x4ee2a1(0x2d8)]=_0x3918ab,_0x146cb9[_0x4ee2a1(0x28a)]=_0x1f06c2,_0x146cb9;}['generateRequestExample'](_0x1b4821){const _0x31c44a=a0_0x5456ff,{useArrayValues:useArrayValues=!![]}=_0x1b4821||{},_0x1ec3de=super['generateRequestExample'](),{currentPage:_0x170775,pageSize:_0x2fff2d,..._0x28c3c7}=_0x1ec3de;if(!useArrayValues){const _0x337b6e={..._0x28c3c7};return _0x337b6e[_0x31c44a(0x2d8)]=_0x170775??0x1,_0x337b6e[_0x31c44a(0x28a)]=_0x2fff2d??0xa,_0x337b6e;}const _0xab67d5={},_0x547777=['id',_0x31c44a(0x223),_0x31c44a(0x421),'type'];Object[_0x31c44a(0x2eb)](_0x28c3c7)['forEach'](([_0x39e8be,_0x165667],_0x20c42d)=>{const _0x40aa79=_0x31c44a,_0x594e4f=_0x547777[_0x40aa79(0x2e5)](_0x119fbb=>_0x39e8be['toLowerCase']()[_0x40aa79(0x46c)](_0x119fbb))||_0x20c42d%0x3===0x0;if(_0x594e4f&&_0x165667!==null&&_0x165667!==undefined){if(typeof _0x165667===_0x40aa79(0x2fb))_0xab67d5[_0x39e8be]=[_0x165667,_0x165667+0x1,_0x165667+0x2];else typeof _0x165667===_0x40aa79(0x386)?_0xab67d5[_0x39e8be]=[_0x165667,_0x165667+'_2',_0x165667+'_3']:_0xab67d5[_0x39e8be]=[_0x165667];}else _0xab67d5[_0x39e8be]=_0x165667;});const _0x47f375={..._0xab67d5};return _0x47f375[_0x31c44a(0x2d8)]=_0x170775??0x1,_0x47f375[_0x31c44a(0x28a)]=_0x2fff2d??0xa,_0x47f375;}[a0_0x5456ff(0x36f)](){const _0x4bd93f=a0_0x5456ff,_0x50f0cd={};return _0x50f0cd['useArrayValues']=![],this[_0x4bd93f(0x408)](_0x50f0cd);}[a0_0x5456ff(0x26b)](){const _0x2e0b85=a0_0x5456ff;return[{'title':_0x2e0b85(0x451),'description':'查询单个条件','data':this[_0x2e0b85(0x36f)]()},{'title':'数组查询(支持多选)','description':_0x2e0b85(0x28c),'data':this[_0x2e0b85(0x408)]()}];}[a0_0x5456ff(0x367)](_0x116c0a,_0x25d8a7){const _0x10031f=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x25d8a7||{},_0x1538e7=this[_0x10031f(0x432)](),_0x33f705={};_0x33f705['useArrayValues']=!![];const _0x462e37=this['generateRequestExample'](_0x33f705),{currentPage:_0x5b8c04,pageSize:_0x6bfce,..._0x1f3409}=_0x462e37;if(useFullExample&&Object['keys'](_0x462e37)[_0x10031f(0x46b)]>0x0){const _0x3883be=Object[_0x10031f(0x35f)](_0x1f3409)['length']>0x0;if(_0x3883be){const _0x23ce7e=this[_0x10031f(0x36f)](),_0x1581e5=_0x36e5d6=>{const _0x158fd5=_0x10031f;return JSON[_0x158fd5(0x205)](_0x36e5d6,null,0x2)[_0x158fd5(0x2ae)]('\x0a')[_0x158fd5(0x418)]((_0xbd144e,_0x5aecbf)=>_0x5aecbf===0x0?_0xbd144e:indent+_0xbd144e)[_0x158fd5(0x396)]('\x0a');};return _0x10031f(0x2f9)+_0x116c0a+'.'+_0x1538e7+'('+_0x1581e5(_0x23ce7e)+_0x10031f(0x391)+_0x116c0a+'.'+_0x1538e7+'('+_0x1581e5(_0x462e37)+');';}else{const _0x40cfbe=JSON['stringify'](_0x462e37,null,0x2)[_0x10031f(0x2ae)]('\x0a')[_0x10031f(0x418)]((_0x42b39b,_0x8ba1ac)=>_0x8ba1ac===0x0?_0x42b39b:indent+_0x42b39b)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x116c0a+'.'+_0x1538e7+'('+_0x40cfbe+');';}}if(Object['keys'](_0x1f3409)['length']>0x0){const _0x358a85=Object[_0x10031f(0x35f)](_0x1f3409)[0x0];return _0x10031f(0x31d)+_0x116c0a+'.'+_0x1538e7+'({\x20'+_0x358a85+_0x10031f(0x1e0);}return _0x10031f(0x31d)+_0x116c0a+'.'+_0x1538e7+_0x10031f(0x383);}}var AGGREGATE_FUNCTIONS=[a0_0x5456ff(0x2c8),'count',a0_0x5456ff(0x401),a0_0x5456ff(0x424),a0_0x5456ff(0x2b8)],FILTER_OPERATORS=[a0_0x5456ff(0x207),a0_0x5456ff(0x208),a0_0x5456ff(0x304),a0_0x5456ff(0x3c8),a0_0x5456ff(0x44c),'$lteq',a0_0x5456ff(0x215),'$contain',a0_0x5456ff(0x217),a0_0x5456ff(0x325),'$and',a0_0x5456ff(0x43e)];class FilterOperation extends GenericOperation{constructor(_0x2e47e2,_0xa1dce1,_0xc2683f){super(_0x2e47e2,_0xa1dce1,_0xc2683f);}[a0_0x5456ff(0x42a)](){return FILTER_OPERATORS;}[a0_0x5456ff(0x2f0)](_0x1491c1){const _0x4fabf5=a0_0x5456ff,_0x2b76ea=this['getFieldDefinition'](_0x1491c1);if(!_0x2b76ea)return[];return this[_0x4fabf5(0x2c4)](_0x2b76ea);}[a0_0x5456ff(0x32c)](){const _0x49a151=a0_0x5456ff,_0x598ce3=super[_0x49a151(0x32c)](),_0x4f80e0={};_0x4f80e0['type']=_0x49a151(0x33f),_0x4f80e0[_0x49a151(0x346)]=_0x49a151(0x28d),_0x4f80e0[_0x49a151(0x33c)]=![];const _0x126f60={};_0x126f60[_0x49a151(0x39e)]=_0x49a151(0x204),_0x126f60[_0x49a151(0x346)]='返回字段列表(字段投影)',_0x126f60[_0x49a151(0x33c)]=![];const _0x4f958a={};_0x4f958a[_0x49a151(0x39e)]='Object[]',_0x4f958a['description']=_0x49a151(0x446),_0x4f958a[_0x49a151(0x33c)]=![];const _0x350418={};_0x350418[_0x49a151(0x39e)]=_0x49a151(0x2ad),_0x350418[_0x49a151(0x346)]='当前页码',_0x350418[_0x49a151(0x33c)]=![],_0x350418[_0x49a151(0x2df)]=0x1;const _0x242959={};_0x242959[_0x49a151(0x39e)]=_0x49a151(0x2ad),_0x242959[_0x49a151(0x346)]='每页数量',_0x242959[_0x49a151(0x33c)]=![],_0x242959[_0x49a151(0x2df)]=0xa;const _0x5abbaf={..._0x598ce3};return _0x5abbaf['where']=_0x4f80e0,_0x5abbaf[_0x49a151(0x321)]=_0x126f60,_0x5abbaf[_0x49a151(0x43c)]=_0x4f958a,_0x5abbaf['currentPage']=_0x350418,_0x5abbaf[_0x49a151(0x28a)]=_0x242959,_0x5abbaf;}['getSystemFields'](){const _0x3f8e4d=a0_0x5456ff,_0x3cf346=this['getRequestParams'](),_0x17d9c1=[],_0x4c2d62=[_0x3f8e4d(0x394),'select',_0x3f8e4d(0x43c),'currentPage',_0x3f8e4d(0x28a)];return Object[_0x3f8e4d(0x2eb)](_0x3cf346)[_0x3f8e4d(0x3b2)](([_0x571cf9,_0x316887])=>{const _0xcd7be2=_0x3f8e4d;if(_0x4c2d62['includes'](_0x571cf9)){const _0x3bc3c8=_0x316887,_0x152d97={};_0x152d97[_0xcd7be2(0x421)]=_0x571cf9,_0x152d97[_0xcd7be2(0x39e)]=_0x3bc3c8[_0xcd7be2(0x39e)]||'Object',_0x152d97[_0xcd7be2(0x346)]=_0x3bc3c8['description']||'-',_0x17d9c1[_0xcd7be2(0x20f)](_0x152d97);}}),_0x17d9c1;}['getBusinessFields'](){const _0x86e607=a0_0x5456ff;return this[_0x86e607(0x2b1)][_0x86e607(0x341)]||[];}[a0_0x5456ff(0x355)](){const _0x2a277a=a0_0x5456ff;return{'systemParams':this[_0x2a277a(0x1ec)](),'businessFields':this['getBusinessFields']()};}['generateRequestExample'](){const _0x2f21dd=a0_0x5456ff,_0x2a0dde=this['context'][_0x2f21dd(0x341)]||[];if(_0x2a0dde[_0x2f21dd(0x46b)]===0x0){const _0x1525b7={};return _0x1525b7['where']={},_0x1525b7[_0x2f21dd(0x2d8)]=0x1,_0x1525b7[_0x2f21dd(0x28a)]=0x14,_0x1525b7;}const _0x4082e7={},_0x3515ac=_0x2a0dde[_0x2f21dd(0x45b)](0x0,Math[_0x2f21dd(0x2b8)](0x3,_0x2a0dde[_0x2f21dd(0x46b)]));_0x3515ac['forEach'](_0x4835aa=>{const _0x92ad3=_0x2f21dd,_0x216fab=this['getApplicableOperators'](_0x4835aa);if(_0x216fab[_0x92ad3(0x46b)]===0x0)return;const _0x540b62=this[_0x92ad3(0x382)](_0x4835aa,_0x216fab),_0x4bb7b8=this[_0x92ad3(0x26c)](_0x4835aa,_0x540b62),_0xc4345b={};_0xc4345b[_0x540b62]=_0x4bb7b8,_0x4082e7[_0x4835aa[_0x92ad3(0x421)]]=_0xc4345b;});const _0x3a1f30=_0x2a0dde['slice'](0x0,Math[_0x2f21dd(0x2b8)](0x5,_0x2a0dde['length']))[_0x2f21dd(0x418)](_0x2ea0e1=>_0x2ea0e1['code']),_0x4dfdf7=_0x2a0dde[0x0]?_0x2a0dde[0x0][_0x2f21dd(0x421)]:'id',_0x1cd7a4={};_0x1cd7a4[_0x4dfdf7]=_0x2f21dd(0x2b2);const _0xa0abd3={};return _0xa0abd3[_0x2f21dd(0x394)]=_0x4082e7,_0xa0abd3[_0x2f21dd(0x321)]=_0x3a1f30,_0xa0abd3[_0x2f21dd(0x43c)]=[_0x1cd7a4],_0xa0abd3[_0x2f21dd(0x2d8)]=0x1,_0xa0abd3['pageSize']=0x14,_0xa0abd3;}[a0_0x5456ff(0x367)](_0x27f71a,_0x16b20b){const _0x5518d5=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x16b20b||{},_0xfafe05=this[_0x5518d5(0x432)](),_0x3b0f5c=this[_0x5518d5(0x408)](),_0x7a2315=_0x16003a=>{const _0x2eb281=_0x5518d5;return JSON['stringify'](_0x16003a,null,0x2)[_0x2eb281(0x2ae)]('\x0a')[_0x2eb281(0x418)]((_0x5f3929,_0x54faf9)=>_0x54faf9===0x0?_0x5f3929:indent+_0x5f3929)[_0x2eb281(0x396)]('\x0a');};if(useFullExample){const _0x37fe66=this['context'][_0x5518d5(0x341)]||[],_0x4a7d00={'where':_0x37fe66[0x0]?{[_0x37fe66[0x0][_0x5518d5(0x421)]]:{'$eq':this[_0x5518d5(0x26c)](_0x37fe66[0x0],_0x5518d5(0x207))}}:{},'select':_0x37fe66[_0x5518d5(0x45b)](0x0,0x3)[_0x5518d5(0x418)](_0x2079ea=>_0x2079ea[_0x5518d5(0x421)]),'currentPage':0x1,'pageSize':0x14};let _0xe3c57e='';if(_0x37fe66[_0x5518d5(0x46b)]>=0x3){const _0x11a454={};_0x11a454[_0x5518d5(0x460)]=[];const _0x14df76=_0x11a454,_0x1b2673=[];if(_0x37fe66[_0x5518d5(0x46b)]>0x0){const _0x5dfc82=_0x37fe66[_0x5518d5(0x283)](_0x53b04b=>{const _0x47783a=_0x5518d5,_0x4d50d5=_0x53b04b[_0x47783a(0x37d)]();return[_0x47783a(0x357),'INTEGER','BIGINT',_0x47783a(0x344),_0x47783a(0x3ed),_0x47783a(0x37b)]['includes'](_0x4d50d5);});if(_0x5dfc82){const _0x594c38={};_0x594c38[_0x5518d5(0x304)]=0x0,_0x594c38[_0x5518d5(0x44c)]=0x64;const _0x2b26a9={[_0x5dfc82[_0x5518d5(0x421)]]:_0x594c38};_0x1b2673[_0x5518d5(0x20f)](_0x2b26a9);}}if(_0x37fe66[_0x5518d5(0x46b)]>0x1){const _0x5dd4a6=_0x37fe66['find'](_0x1c48e6=>{const _0x15fbc5=_0x5518d5,_0x10888a=_0x1c48e6['getDbTypeForOperation']();return[_0x15fbc5(0x3e9),_0x15fbc5(0x267),_0x15fbc5(0x21c),_0x15fbc5(0x29c),_0x15fbc5(0x25b)][_0x15fbc5(0x46c)](_0x10888a);});if(_0x5dd4a6){const _0x489c21={};_0x489c21[_0x5518d5(0x2e9)]=_0x5518d5(0x2b9);const _0x19a562={[_0x5dd4a6[_0x5518d5(0x421)]]:_0x489c21};_0x1b2673[_0x5518d5(0x20f)](_0x19a562);}}if(_0x1b2673[_0x5518d5(0x46b)]>0x0){_0x14df76['$and']=_0x1b2673;const _0x414cb6={'where':_0x14df76,'select':_0x37fe66['slice'](0x0,0x4)[_0x5518d5(0x418)](_0x213be8=>_0x213be8[_0x5518d5(0x421)]),'orderBy':[{[_0x37fe66[0x0]['code']]:_0x5518d5(0x2b2)}],'currentPage':0x1,'pageSize':0x14};_0xe3c57e='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x27f71a+'.'+_0xfafe05+'('+_0x7a2315(_0x414cb6)+');';}}return _0x5518d5(0x3b6)+_0x27f71a+'.'+_0xfafe05+'('+_0x7a2315(_0x4a7d00)+');'+_0xe3c57e;}const _0x2e3573=JSON['stringify'](_0x3b0f5c,null,0x2)['split']('\x0a')[_0x5518d5(0x418)]((_0x27c524,_0x42a985)=>_0x42a985===0x0?_0x27c524:indent+_0x27c524)['join']('\x0a');return _0x5518d5(0x31d)+_0x27f71a+'.'+_0xfafe05+'('+_0x2e3573+');';}[a0_0x5456ff(0x2c4)](_0x5c79fb){const _0x1e425a=a0_0x5456ff,_0x1a1c5f=_0x5c79fb['getDbTypeForOperation'](),_0x3fed73=[];if([_0x1e425a(0x357),_0x1e425a(0x3d0),_0x1e425a(0x43a),_0x1e425a(0x442)][_0x1e425a(0x46c)](_0x1a1c5f)||['INT',_0x1e425a(0x3ed),_0x1e425a(0x37b),_0x1e425a(0x368),_0x1e425a(0x275)][_0x1e425a(0x46c)](_0x1a1c5f))_0x3fed73['push']('$eq',_0x1e425a(0x208),'$gte',_0x1e425a(0x44c),_0x1e425a(0x3c8),_0x1e425a(0x45d),_0x1e425a(0x215));else{if([_0x1e425a(0x3e9),_0x1e425a(0x267),_0x1e425a(0x21c)]['includes'](_0x1a1c5f)||[_0x1e425a(0x29c),'LONGTEXT'][_0x1e425a(0x46c)](_0x1a1c5f))_0x3fed73[_0x1e425a(0x20f)]('$eq',_0x1e425a(0x208),_0x1e425a(0x215),'$contain','$startWith',_0x1e425a(0x325));else{if(['DATE','DATETIME',_0x1e425a(0x3bb)][_0x1e425a(0x46c)](_0x1a1c5f)||[_0x1e425a(0x42c)]['includes'](_0x1a1c5f))_0x3fed73[_0x1e425a(0x20f)](_0x1e425a(0x207),'$ne',_0x1e425a(0x304),_0x1e425a(0x44c),_0x1e425a(0x3c8),_0x1e425a(0x45d));else[_0x1e425a(0x20d),_0x1e425a(0x2f4),_0x1e425a(0x280)][_0x1e425a(0x46c)](_0x1a1c5f)?_0x3fed73[_0x1e425a(0x20f)](_0x1e425a(0x207),_0x1e425a(0x208)):_0x3fed73[_0x1e425a(0x20f)]('$eq',_0x1e425a(0x208));}}return _0x3fed73;}[a0_0x5456ff(0x382)](_0x37cfb4,_0x4c8839){const _0x7a6ec0=a0_0x5456ff,_0x4dbfed=_0x37cfb4['getDbTypeForOperation']();if([_0x7a6ec0(0x357),_0x7a6ec0(0x3d0),_0x7a6ec0(0x43a),_0x7a6ec0(0x442)][_0x7a6ec0(0x46c)](_0x4dbfed)||[_0x7a6ec0(0x344),_0x7a6ec0(0x3ed),'SMALLINT',_0x7a6ec0(0x368),_0x7a6ec0(0x275)][_0x7a6ec0(0x46c)](_0x4dbfed))return _0x4c8839[_0x7a6ec0(0x46c)](_0x7a6ec0(0x304))?'$gte':_0x7a6ec0(0x207);if([_0x7a6ec0(0x3e9),_0x7a6ec0(0x267),_0x7a6ec0(0x21c)][_0x7a6ec0(0x46c)](_0x4dbfed)||[_0x7a6ec0(0x29c),'LONGTEXT'][_0x7a6ec0(0x46c)](_0x4dbfed))return _0x4c8839[_0x7a6ec0(0x46c)](_0x7a6ec0(0x2e9))?'$contain':'$eq';if(['DATE',_0x7a6ec0(0x213),'TIMESTAMP','TIME'][_0x7a6ec0(0x46c)](_0x4dbfed))return _0x4c8839['includes'](_0x7a6ec0(0x304))?_0x7a6ec0(0x304):'$eq';return _0x7a6ec0(0x207);}[a0_0x5456ff(0x26c)](_0x4403d1,_0x3e2fca){const _0x5a036a=a0_0x5456ff,_0x128abc=_0x4403d1[_0x5a036a(0x37d)](),_0x260c08=_0x4403d1[_0x5a036a(0x30f)]();if(_0x260c08&&_0x260c08[_0x5a036a(0x46b)]>0x0){if(_0x3e2fca==='$in')return _0x260c08[_0x5a036a(0x45b)](0x0,0x2)[_0x5a036a(0x418)](_0x12a20f=>_0x12a20f[_0x5a036a(0x1d0)]);return _0x260c08[0x0][_0x5a036a(0x1d0)];}if([_0x5a036a(0x357),_0x5a036a(0x3d0),_0x5a036a(0x43a),_0x5a036a(0x442)][_0x5a036a(0x46c)](_0x128abc)||[_0x5a036a(0x344),'TINYINT',_0x5a036a(0x37b),_0x5a036a(0x368),_0x5a036a(0x275)]['includes'](_0x128abc)){if(_0x3e2fca==='$in')return[0x1,0x2,0x3];if(_0x3e2fca===_0x5a036a(0x304)||_0x3e2fca==='$gteq')return 0x0;if(_0x3e2fca===_0x5a036a(0x44c)||_0x3e2fca===_0x5a036a(0x45d))return 0x64;return 0x1;}if([_0x5a036a(0x3e9),_0x5a036a(0x267),_0x5a036a(0x21c)][_0x5a036a(0x46c)](_0x128abc)||['CHAR','LONGTEXT'][_0x5a036a(0x46c)](_0x128abc)){if(_0x3e2fca===_0x5a036a(0x215))return[_0x5a036a(0x463),_0x5a036a(0x41d)];if(_0x3e2fca===_0x5a036a(0x2e9))return _0x5a036a(0x2b9);if(_0x3e2fca===_0x5a036a(0x217))return _0x5a036a(0x3c1);if(_0x3e2fca===_0x5a036a(0x325))return _0x5a036a(0x1fd);return'value';}if([_0x5a036a(0x343),_0x5a036a(0x213),_0x5a036a(0x3bb),_0x5a036a(0x42c)][_0x5a036a(0x46c)](_0x128abc)){if(_0x3e2fca===_0x5a036a(0x304)||_0x3e2fca===_0x5a036a(0x3c8))return'2024-01-01';if(_0x3e2fca===_0x5a036a(0x44c)||_0x3e2fca===_0x5a036a(0x45d))return _0x5a036a(0x3db);return'2024-01-01';}if([_0x5a036a(0x20d),_0x5a036a(0x2f4),_0x5a036a(0x280)][_0x5a036a(0x46c)](_0x128abc))return!![];return _0x3e2fca===_0x5a036a(0x215)?['value1',_0x5a036a(0x41d)]:_0x5a036a(0x1d0);}[a0_0x5456ff(0x24c)](){const _0x2c6f67=a0_0x5456ff,_0x9442bc=super['getRequestParams'](),_0x5a5952=Object[_0x2c6f67(0x2eb)](_0x9442bc)[_0x2c6f67(0x2b7)](([_0x5b2850])=>_0x5b2850!==_0x2c6f67(0x2d8)&&_0x5b2850!==_0x2c6f67(0x28a))['map'](([_0x436738,_0x255648])=>{const _0x34f51d=_0x2c6f67,_0x56bb5f=_0x255648,_0x11276d={};return _0x11276d[_0x34f51d(0x464)]=_0x436738,_0x11276d[_0x34f51d(0x39e)]=_0x56bb5f['type']||_0x34f51d(0x1de),_0x11276d[_0x34f51d(0x346)]=_0x56bb5f[_0x34f51d(0x346)]||'-',_0x11276d[_0x34f51d(0x33c)]=_0x56bb5f['required'],_0x11276d;}),_0x3710fb={};return _0x3710fb[_0x2c6f67(0x346)]=_0x2c6f67(0x2bb),_0x3710fb[_0x2c6f67(0x2d4)]=_0x5a5952,_0x3710fb;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x55377f=a0_0x5456ff,_0x6bcd97=super[_0x55377f(0x32c)]();if(Object[_0x55377f(0x35f)](_0x6bcd97)[_0x55377f(0x46b)]===0x0){const _0x589a2b={};this[_0x55377f(0x2b1)][_0x55377f(0x341)]['forEach'](_0x83b6e1=>{const _0x5e7829=_0x55377f;if(_0x83b6e1){const _0x451523=_0x83b6e1[_0x5e7829(0x421)],_0x386ea8=_0x83b6e1[_0x5e7829(0x37d)](),_0x4acdbe={};_0x4acdbe[_0x5e7829(0x39e)]=_0x386ea8||'TEXT',_0x4acdbe[_0x5e7829(0x265)]=_0x83b6e1[_0x5e7829(0x265)],_0x4acdbe[_0x5e7829(0x346)]=_0x83b6e1[_0x5e7829(0x346)]||_0x83b6e1['name'],_0x589a2b[_0x451523]=_0x4acdbe;}});const _0x2dbc8f={};_0x2dbc8f[_0x55377f(0x39e)]=_0x55377f(0x392),_0x2dbc8f[_0x55377f(0x346)]=_0x55377f(0x281),_0x589a2b[_0x55377f(0x2d8)]=_0x2dbc8f;const _0x316314={};return _0x316314[_0x55377f(0x39e)]=_0x55377f(0x392),_0x316314['description']=_0x55377f(0x25f),_0x589a2b['pageSize']=_0x316314,_0x589a2b;}return _0x6bcd97;}[a0_0x5456ff(0x408)](){const _0x568747=a0_0x5456ff,_0x4f5e48=super[_0x568747(0x408)]();if(Object['keys'](_0x4f5e48)[_0x568747(0x46b)]===0x0){const _0x34c2ae={};return _0x34c2ae['currentPage']=0x1,_0x34c2ae['pageSize']=0x64,_0x34c2ae;}const _0x2a8c52={..._0x4f5e48};return _0x2a8c52[_0x568747(0x2d8)]=_0x4f5e48['currentPage']??0x1,_0x2a8c52[_0x568747(0x28a)]=_0x4f5e48[_0x568747(0x28a)]??0x64,_0x2a8c52;}[a0_0x5456ff(0x2de)](){const _0x5b503a=a0_0x5456ff,_0x599001={};return _0x599001[_0x5b503a(0x3e8)]=!![],_0x599001[_0x5b503a(0x41e)]='',_0x599001[_0x5b503a(0x2ce)]='',_0x599001[_0x5b503a(0x1e1)]='0000',_0x599001['data']=_0x5b503a(0x243),_0x599001[_0x5b503a(0x2d4)]=null,_0x599001;}[a0_0x5456ff(0x367)](_0x58c7bf,_0x563db4){const _0x58f1ad=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x563db4||{},_0x2edda1=this[_0x58f1ad(0x432)]();if(useFullExample){const _0x1e3971=this[_0x58f1ad(0x408)](),{currentPage:_0x2cba02,pageSize:_0x14c886,..._0xc54cfc}=_0x1e3971,_0xd4a60c=Object['keys'](_0xc54cfc)[_0x58f1ad(0x46b)]>0x0;if(_0xd4a60c){const _0x1d38d8=_0x1d051c=>{const _0x18ae7a=_0x58f1ad;return JSON[_0x18ae7a(0x205)](_0x1d051c,null,0x2)[_0x18ae7a(0x2ae)]('\x0a')[_0x18ae7a(0x418)]((_0x45d6b0,_0x4ff5fc)=>_0x4ff5fc===0x0?_0x45d6b0:indent+_0x45d6b0)[_0x18ae7a(0x396)]('\x0a');};return _0x58f1ad(0x257)+_0x58c7bf+'.'+_0x2edda1+_0x58f1ad(0x46e)+_0x58c7bf+'.'+_0x2edda1+'('+_0x1d38d8(_0x1e3971)+');';}else{const _0x2426ae=_0x5015fe=>{const _0x27571f=_0x58f1ad;return JSON[_0x27571f(0x205)](_0x5015fe,null,0x2)[_0x27571f(0x2ae)]('\x0a')[_0x27571f(0x418)]((_0x147beb,_0x4d6fc8)=>_0x4d6fc8===0x0?_0x147beb:indent+_0x147beb)['join']('\x0a');},_0x10a8e8={};return _0x10a8e8[_0x58f1ad(0x2d8)]=0x1,_0x10a8e8['pageSize']=0x64,_0x58f1ad(0x257)+_0x58c7bf+'.'+_0x2edda1+_0x58f1ad(0x332)+_0x58c7bf+'.'+_0x2edda1+'('+_0x2426ae(_0x10a8e8)+');';}}return _0x58f1ad(0x44f)+_0x58c7bf+'.'+_0x2edda1+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}[a0_0x5456ff(0x444)](_0x1f9795){const _0x540c89=a0_0x5456ff,_0x459377=this[_0x540c89(0x432)](),_0x2376d0=_0x1f9795||_0x540c89(0x32e),_0x48c1ee='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x2376d0+'.'+_0x459377+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x85e2d1=_0x540c89(0x32b)+_0x2376d0+'.'+_0x459377+'();\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}',_0x381b14={};return _0x381b14['successCode']=_0x48c1ee,_0x381b14[_0x540c89(0x1e1)]=_0x85e2d1,_0x381b14;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x59a447=a0_0x5456ff;return this[_0x59a447(0x3d3)]();}[a0_0x5456ff(0x32c)](){const _0x475782=a0_0x5456ff,_0x598ca3=this[_0x475782(0x2cb)](),_0x5f4a1d={};_0x5f4a1d[_0x475782(0x39e)]=_0x475782(0x357),_0x5f4a1d['description']=_0x475782(0x45a),_0x5f4a1d[_0x475782(0x33c)]=!![];const _0x370e95={};_0x370e95['type']=_0x475782(0x39c),_0x370e95[_0x475782(0x346)]=_0x475782(0x30d),_0x370e95['required']=!![],_0x370e95['properties']=_0x598ca3;const _0x77d8a4={};return _0x77d8a4['id']=_0x5f4a1d,_0x77d8a4[_0x475782(0x3e3)]=_0x370e95,_0x77d8a4;}['getUpdatableFields'](){const _0x3353c3=a0_0x5456ff;return this[_0x3353c3(0x2cb)]();}[a0_0x5456ff(0x389)](){const _0x2e0d60=a0_0x5456ff,_0x208513=this[_0x2e0d60(0x2b1)][_0x2e0d60(0x341)]||[],_0x495ad5=this['context'][_0x2e0d60(0x212)],_0x3756ef=_0x208513['find'](_0xd9ed36=>_0xd9ed36[_0x2e0d60(0x21b)]()||_0xd9ed36['code']===_0x495ad5),_0x23089a=_0x208513[_0x2e0d60(0x2b7)](_0x4e8894=>{const _0x4f2129=_0x2e0d60;if(_0x4e8894[_0x4f2129(0x34f)])return![];if(_0x4e8894===_0x3756ef||_0x4e8894[_0x4f2129(0x21b)]())return![];if(_0x4e8894[_0x4f2129(0x312)]()||_0x4e8894[_0x4f2129(0x3ad)]())return![];if(_0x4e8894[_0x4f2129(0x2a3)]())return![];return!![];});return _0x3756ef?[_0x3756ef,..._0x23089a]:_0x23089a;}[a0_0x5456ff(0x3b4)](){const _0x489181=a0_0x5456ff,_0x49c1f4=this['getHTTPFields'](),_0x2bc30c=this[_0x489181(0x2b1)]['pkField'],_0x5aed1a=_0x49c1f4[_0x489181(0x418)](_0x492374=>{const _0x4087cb=_0x489181,_0x7068b7=_0x492374[_0x4087cb(0x21b)]()||_0x492374[_0x4087cb(0x421)]===_0x2bc30c,_0x5c3027=_0x7068b7?'id':_0x492374['code'],_0x3ccd1b={};return _0x3ccd1b[_0x4087cb(0x464)]=_0x5c3027,_0x3ccd1b[_0x4087cb(0x39e)]=_0x492374[_0x4087cb(0x39e)],_0x3ccd1b[_0x4087cb(0x346)]=_0x7068b7?'主键,用于定位要更新的记录'+(_0x2bc30c&&_0x2bc30c!==_0x492374[_0x4087cb(0x421)]?_0x4087cb(0x315)+_0x492374[_0x4087cb(0x421)]+')':''):_0x492374['description']||_0x492374['name'],_0x3ccd1b;}),_0x59214d={};return _0x59214d[_0x489181(0x346)]=_0x489181(0x28f),_0x59214d['params']=_0x5aed1a,_0x59214d;}[a0_0x5456ff(0x24c)](){const _0x459a6c=a0_0x5456ff,_0x5cb249=this[_0x459a6c(0x2cb)](),_0x539358=Object[_0x459a6c(0x2eb)](_0x5cb249)['map'](([_0xa96712,_0x28e526])=>{const _0x1420d4=_0x459a6c,_0x2865be=_0x28e526,_0x2e808={};return _0x2e808['name']=_0xa96712,_0x2e808[_0x1420d4(0x39e)]=_0x2865be[_0x1420d4(0x39e)]||_0x1420d4(0x1de),_0x2e808[_0x1420d4(0x346)]=_0x2865be[_0x1420d4(0x346)]||'-',_0x2e808;}),_0x11bdd2={};return _0x11bdd2[_0x459a6c(0x346)]=_0x459a6c(0x427)+_0x459a6c(0x1ea)+'-\x20主键ID,用于定位要更新的记录\x0a\x0a'+_0x459a6c(0x3cd)+_0x459a6c(0x361)+_0x459a6c(0x273),_0x11bdd2[_0x459a6c(0x2d4)]=_0x539358,_0x11bdd2;}[a0_0x5456ff(0x408)](){const _0x2d0298=a0_0x5456ff,_0x1fd8fa=this['getUpdateFields'](),_0x4682d7={};Object[_0x2d0298(0x2eb)](_0x1fd8fa)[_0x2d0298(0x3b2)](([_0x3311c0,_0x579ffd])=>{const _0x36ba01=_0x2d0298,_0x5ee997=_0x579ffd;let _0x4b95bb;if(typeof _0x5ee997[_0x36ba01(0x39e)]==='string')_0x4b95bb=_0x5ee997[_0x36ba01(0x39e)];else _0x5ee997['type']&&typeof _0x5ee997[_0x36ba01(0x39e)]===_0x36ba01(0x39c)?_0x4b95bb=_0x5ee997[_0x36ba01(0x39e)][_0x36ba01(0x39e)]||_0x36ba01(0x267):_0x4b95bb='TEXT';const _0x236239=_0x5ee997[_0x36ba01(0x346)],_0x4ee8a8=this[_0x36ba01(0x347)](_0x3311c0);_0x4682d7[_0x3311c0]=this[_0x36ba01(0x465)](_0x3311c0,_0x4b95bb,_0x4ee8a8?.[_0x36ba01(0x37d)](),{'isPrimaryKey':![],'description':_0x236239||_0x4ee8a8?.[_0x36ba01(0x346)]||_0x4ee8a8?.['name']});});const _0x48d9f3={};return _0x48d9f3['id']=0x1,_0x48d9f3[_0x2d0298(0x3e3)]=_0x4682d7,_0x48d9f3;}['generateRequestAllExamples'](){const _0x22b16c=a0_0x5456ff,_0x3983eb=this[_0x22b16c(0x408)](),_0x4efada={};return _0x4efada[_0x22b16c(0x2be)]='SDK\x20调用示例(两参数格式)',_0x4efada['description']='SDK\x20调用时传递两个参数:\x0a'+_0x22b16c(0x3f3)+'-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段',_0x4efada[_0x22b16c(0x3e3)]=_0x3983eb,[_0x4efada,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x22b16c(0x3cc)+_0x22b16c(0x37e)+_0x22b16c(0x476),'data':this[_0x22b16c(0x477)]()}];}[a0_0x5456ff(0x477)](){const _0x540d9a=a0_0x5456ff,_0x3b2411=this[_0x540d9a(0x2cb)](),_0x54ecc2={};_0x54ecc2['id']=0x1;const _0x8429c=_0x54ecc2;return Object['entries'](_0x3b2411)[_0x540d9a(0x3b2)](([_0x33f6fe,_0x2056de])=>{const _0x18ada7=_0x540d9a,_0x437d3c=_0x2056de;let _0x14c804;if(typeof _0x437d3c[_0x18ada7(0x39e)]===_0x18ada7(0x386))_0x14c804=_0x437d3c['type'];else _0x437d3c[_0x18ada7(0x39e)]&&typeof _0x437d3c[_0x18ada7(0x39e)]===_0x18ada7(0x39c)?_0x14c804=_0x437d3c[_0x18ada7(0x39e)]['type']||_0x18ada7(0x267):_0x14c804=_0x18ada7(0x267);const _0x4b0a4e=_0x437d3c['description'],_0x4df3cd=this[_0x18ada7(0x347)](_0x33f6fe);if(_0x4df3cd?.[_0x18ada7(0x21b)]())return;_0x8429c[_0x33f6fe]=this[_0x18ada7(0x465)](_0x33f6fe,_0x14c804,_0x4df3cd?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x4b0a4e||_0x4df3cd?.[_0x18ada7(0x346)]||_0x4df3cd?.[_0x18ada7(0x464)]});}),_0x8429c;}[a0_0x5456ff(0x374)](){return this['generateHTTPRequestExample']();}['generateSDKCallCode'](_0x26646a,_0x15b875){const _0x26133e=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x15b875||{},_0x1da909=this[_0x26133e(0x432)]();if(useFullExample){const _0x7ac47a=this['generateRequestExample'](),_0xd503a1=JSON[_0x26133e(0x205)](_0x7ac47a['data'],null,0x2)[_0x26133e(0x2ae)]('\x0a')[_0x26133e(0x418)]((_0x2dce59,_0x2e1651)=>_0x2e1651===0x0?_0x2dce59:indent+_0x2dce59)[_0x26133e(0x396)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x26646a+'.'+_0x1da909+'('+_0x7ac47a['id']+',\x20'+_0xd503a1+');';}return _0x26133e(0x31d)+_0x26646a+'.'+_0x1da909+'(id,\x20data);';}}class AggregateOperation extends GenericOperation{constructor(_0x7d2dbf,_0x1e62c5,_0x5b2da8){super(_0x7d2dbf,_0x1e62c5,_0x5b2da8);}[a0_0x5456ff(0x3d5)](_0x411507){const _0x33c9b9=a0_0x5456ff;return _0x411507[_0x33c9b9(0x276)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x33c9b9(0x3a3)]()[_0x33c9b9(0x292)]();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}[a0_0x5456ff(0x32c)](){const _0x137109=a0_0x5456ff,_0x40e990=super[_0x137109(0x32c)](),_0x471c1a={};_0x471c1a['type']='String[]',_0x471c1a['description']=_0x137109(0x3fe),_0x471c1a[_0x137109(0x33c)]=![];const _0x4549e3={};_0x4549e3[_0x137109(0x39e)]=_0x137109(0x33f),_0x4549e3[_0x137109(0x346)]=_0x137109(0x390),_0x4549e3['required']=![];const _0x5c90e0={};_0x5c90e0[_0x137109(0x39e)]=_0x137109(0x204),_0x5c90e0[_0x137109(0x346)]=_0x137109(0x2c0),_0x5c90e0[_0x137109(0x33c)]=![];const _0x202818={};_0x202818[_0x137109(0x39e)]=_0x137109(0x3b1),_0x202818[_0x137109(0x346)]='聚合函数配置数组',_0x202818[_0x137109(0x33c)]=![];const _0x547de0={};_0x547de0[_0x137109(0x39e)]=_0x137109(0x3b1),_0x547de0['description']='分组后的过滤条件(对聚合结果进行过滤)',_0x547de0[_0x137109(0x33c)]=![];const _0x2888ca={};_0x2888ca[_0x137109(0x39e)]='Array',_0x2888ca[_0x137109(0x346)]='排序规则(与\x20Filter\x20API\x20一致)',_0x2888ca['required']=![];const _0x49179d={};_0x49179d[_0x137109(0x39e)]=_0x137109(0x2ad),_0x49179d[_0x137109(0x346)]=_0x137109(0x1d7),_0x49179d['required']=![];const _0x25fa82={};_0x25fa82[_0x137109(0x39e)]='Number',_0x25fa82[_0x137109(0x346)]=_0x137109(0x3f6),_0x25fa82[_0x137109(0x33c)]=![];const _0x5bf996={..._0x40e990};return _0x5bf996[_0x137109(0x321)]=_0x471c1a,_0x5bf996[_0x137109(0x394)]=_0x4549e3,_0x5bf996[_0x137109(0x34e)]=_0x5c90e0,_0x5bf996['aggregate']=_0x202818,_0x5bf996[_0x137109(0x43b)]=_0x547de0,_0x5bf996['orderBy']=_0x2888ca,_0x5bf996['currentPage']=_0x49179d,_0x5bf996[_0x137109(0x28a)]=_0x25fa82,_0x5bf996;}[a0_0x5456ff(0x1ec)](){const _0x41f5fc=a0_0x5456ff,_0x399085={};_0x399085[_0x41f5fc(0x421)]=_0x41f5fc(0x321),_0x399085[_0x41f5fc(0x39e)]=_0x41f5fc(0x204),_0x399085['description']=_0x41f5fc(0x3fe);const _0x5af293={};_0x5af293[_0x41f5fc(0x421)]='where',_0x5af293[_0x41f5fc(0x39e)]='Object',_0x5af293[_0x41f5fc(0x346)]=_0x41f5fc(0x390);const _0x329517={};_0x329517[_0x41f5fc(0x421)]=_0x41f5fc(0x34e),_0x329517[_0x41f5fc(0x39e)]=_0x41f5fc(0x204),_0x329517['description']='分组字段列表';const _0x27546d={};_0x27546d[_0x41f5fc(0x421)]=_0x41f5fc(0x26d),_0x27546d[_0x41f5fc(0x39e)]='Array',_0x27546d['description']=_0x41f5fc(0x3b0);const _0x5dff3c={};_0x5dff3c[_0x41f5fc(0x421)]=_0x41f5fc(0x43b),_0x5dff3c[_0x41f5fc(0x39e)]=_0x41f5fc(0x3b1),_0x5dff3c[_0x41f5fc(0x346)]=_0x41f5fc(0x2c1);const _0x26a6e3={};_0x26a6e3['code']=_0x41f5fc(0x43c),_0x26a6e3[_0x41f5fc(0x39e)]=_0x41f5fc(0x3b1),_0x26a6e3[_0x41f5fc(0x346)]=_0x41f5fc(0x3d2);const _0x208479={};_0x208479[_0x41f5fc(0x421)]=_0x41f5fc(0x2d8),_0x208479[_0x41f5fc(0x39e)]=_0x41f5fc(0x2ad),_0x208479[_0x41f5fc(0x346)]=_0x41f5fc(0x1d7);const _0x5c5e26={};return _0x5c5e26[_0x41f5fc(0x421)]='pageSize',_0x5c5e26[_0x41f5fc(0x39e)]=_0x41f5fc(0x2ad),_0x5c5e26[_0x41f5fc(0x346)]=_0x41f5fc(0x3f6),[_0x399085,_0x5af293,_0x329517,_0x27546d,_0x5dff3c,_0x26a6e3,_0x208479,_0x5c5e26];}[a0_0x5456ff(0x408)](){const _0x7aca43=a0_0x5456ff,_0x5b0c5b=this['context'][_0x7aca43(0x341)]||[];if(_0x5b0c5b[_0x7aca43(0x46b)]===0x0){const _0x3edf0a={};return _0x3edf0a[_0x7aca43(0x394)]={},_0x3edf0a[_0x7aca43(0x34e)]=[],_0x3edf0a[_0x7aca43(0x26d)]=[],_0x3edf0a;}const _0x845cc4={},_0x37c2ad=_0x5b0c5b['slice'](0x0,Math['min'](0x3,_0x5b0c5b['length']));_0x37c2ad[_0x7aca43(0x3b2)](_0x55b0cb=>{const _0x2b2b30=_0x7aca43,_0x4da786=this[_0x2b2b30(0x2c4)](_0x55b0cb);if(_0x4da786['length']===0x0)return;const _0x1c35cd=this[_0x2b2b30(0x382)](_0x55b0cb,_0x4da786),_0x673bfb=this['generateExampleValue'](_0x55b0cb,_0x1c35cd),_0x47c617={};_0x47c617[_0x1c35cd]=_0x673bfb,_0x845cc4[_0x55b0cb[_0x2b2b30(0x421)]]=_0x47c617;});const _0x19e825=_0x5b0c5b['slice'](0x0,Math[_0x7aca43(0x2b8)](0x2,_0x5b0c5b['length']))[_0x7aca43(0x418)](_0x43d5f6=>_0x43d5f6[_0x7aca43(0x421)]),_0x1dd092=[],_0x1e76b6=_0x5b0c5b[_0x7aca43(0x2b7)](_0x3dd731=>this[_0x7aca43(0x3af)](_0x3dd731));if(_0x1e76b6[_0x7aca43(0x46b)]>0x0){const _0x588561=_0x1e76b6[0x0],_0x589579=_0x588561[_0x7aca43(0x421)],_0x563009={};_0x563009[_0x7aca43(0x39e)]=_0x7aca43(0x2c8),_0x563009[_0x7aca43(0x2bd)]=_0x589579,_0x563009[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x311),_0x563009[_0x7aca43(0x23f)]=![],_0x563009[_0x7aca43(0x3cb)]=!![],_0x563009['precision']=0x2,_0x1dd092['push'](_0x563009);const _0x5d48c9={};_0x5d48c9[_0x7aca43(0x39e)]='avg',_0x5d48c9[_0x7aca43(0x2bd)]=_0x589579,_0x5d48c9[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x1eb),_0x5d48c9[_0x7aca43(0x23f)]=![],_0x5d48c9[_0x7aca43(0x3cb)]=!![],_0x5d48c9['precision']=0x2,_0x1dd092[_0x7aca43(0x20f)](_0x5d48c9);const _0x4e26a2={};_0x4e26a2['type']='max',_0x4e26a2['column']=_0x589579,_0x4e26a2[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x448),_0x4e26a2[_0x7aca43(0x23f)]=![],_0x4e26a2[_0x7aca43(0x3cb)]=!![],_0x4e26a2[_0x7aca43(0x203)]=0x2,_0x1dd092['push'](_0x4e26a2);const _0x4eff32={};_0x4eff32[_0x7aca43(0x39e)]=_0x7aca43(0x2b8),_0x4eff32[_0x7aca43(0x2bd)]=_0x589579,_0x4eff32[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x3e1),_0x4eff32[_0x7aca43(0x23f)]=![],_0x4eff32[_0x7aca43(0x3cb)]=!![],_0x4eff32[_0x7aca43(0x203)]=0x2,_0x1dd092[_0x7aca43(0x20f)](_0x4eff32);}else{if(_0x5b0c5b[_0x7aca43(0x46b)]>0x0){const _0xb3e9df=_0x5b0c5b[0x0],_0x408716=_0xb3e9df[_0x7aca43(0x421)],_0x5f2658={};_0x5f2658[_0x7aca43(0x39e)]=_0x7aca43(0x291),_0x5f2658[_0x7aca43(0x2bd)]=_0x408716,_0x5f2658['alias']=_0x7aca43(0x22a),_0x5f2658[_0x7aca43(0x23f)]=!![],_0x1dd092['push'](_0x5f2658);}}const _0x16b63b=[];if(_0x5b0c5b[_0x7aca43(0x46b)]>0x0){const _0x14fcac=_0x5b0c5b[0x0][_0x7aca43(0x421)],_0x45ba3a={};_0x45ba3a[_0x14fcac]=_0x7aca43(0x308),_0x16b63b[_0x7aca43(0x20f)](_0x45ba3a);}const _0x19aa05=[..._0x19e825,..._0x1dd092[_0x7aca43(0x418)](_0x30baaf=>_0x30baaf[_0x7aca43(0x433)])],_0x299725=[];if(_0x1dd092[_0x7aca43(0x46b)]>0x0){const _0x383001={};_0x383001['$gte']=0x0;const _0x3ac762={};_0x3ac762[_0x7aca43(0x1e4)]=_0x1dd092[0x0]['alias'],_0x3ac762[_0x7aca43(0x302)]=_0x383001,_0x299725[_0x7aca43(0x20f)](_0x3ac762);}const _0x4b53d6={};return _0x4b53d6[_0x7aca43(0x321)]=_0x19aa05,_0x4b53d6[_0x7aca43(0x394)]=_0x845cc4,_0x4b53d6[_0x7aca43(0x34e)]=_0x19e825,_0x4b53d6[_0x7aca43(0x26d)]=_0x1dd092,_0x4b53d6['having']=_0x299725[_0x7aca43(0x46b)]>0x0?_0x299725:undefined,_0x4b53d6[_0x7aca43(0x43c)]=_0x16b63b,_0x4b53d6[_0x7aca43(0x2d8)]=0x1,_0x4b53d6[_0x7aca43(0x28a)]=0x14,_0x4b53d6;}[a0_0x5456ff(0x367)](_0x1e29ff,_0x1e3695){const _0x10b08a=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1e3695||{},_0x1e3b41=this[_0x10b08a(0x432)](),_0x169f38=this[_0x10b08a(0x408)](),_0x3f0af=_0x1172f3=>{const _0x2f9d0b=_0x10b08a;return JSON[_0x2f9d0b(0x205)](_0x1172f3,null,0x2)[_0x2f9d0b(0x2ae)]('\x0a')[_0x2f9d0b(0x418)]((_0x221406,_0xaf1732)=>_0xaf1732===0x0?_0x221406:indent+_0x221406)['join']('\x0a');};if(useFullExample){const _0x35f401=this[_0x10b08a(0x2b1)][_0x10b08a(0x341)]||[],_0x4b2fe0=_0x35f401[_0x10b08a(0x2b7)](_0x2a517d=>this[_0x10b08a(0x3af)](_0x2a517d)),_0x4a558b={'where':_0x35f401[0x0]?{[_0x35f401[0x0][_0x10b08a(0x421)]]:{'$eq':this['generateExampleValue'](_0x35f401[0x0],_0x10b08a(0x207))}}:{},'aggregate':_0x4b2fe0['length']>0x0?[{'type':_0x10b08a(0x2c8),'column':_0x4b2fe0[0x0]['code'],'alias':_0x4b2fe0[0x0][_0x10b08a(0x421)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':'count','column':_0x35f401[0x0][_0x10b08a(0x421)],'alias':_0x10b08a(0x22a),'distinct':!![]}],'orderBy':[{[_0x35f401[0x0]['code']]:_0x10b08a(0x308)}]};let _0x1ae6ed='';return _0x35f401[_0x10b08a(0x46b)]>=0x3&&(_0x1ae6ed='\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x1e29ff+'.'+_0x1e3b41+'('+_0x3f0af(_0x169f38)+');'),_0x10b08a(0x452)+_0x1e29ff+'.'+_0x1e3b41+'('+_0x3f0af(_0x4a558b)+');'+_0x1ae6ed;}const _0x34eab5=JSON['stringify'](_0x169f38,null,0x2)[_0x10b08a(0x2ae)]('\x0a')[_0x10b08a(0x418)]((_0x436954,_0x22882a)=>_0x22882a===0x0?_0x436954:indent+_0x436954)[_0x10b08a(0x396)]('\x0a');return _0x10b08a(0x31d)+_0x1e29ff+'.'+_0x1e3b41+'('+_0x34eab5+');';}['isNumericField'](_0x517996){const _0x1982ff=a0_0x5456ff,_0x1c7266=_0x517996[_0x1982ff(0x37d)]();return[_0x1982ff(0x357),'INTEGER',_0x1982ff(0x43a),_0x1982ff(0x442)][_0x1982ff(0x46c)](_0x1c7266)||[_0x1982ff(0x344),'TINYINT',_0x1982ff(0x37b),_0x1982ff(0x368),_0x1982ff(0x275)][_0x1982ff(0x46c)](_0x1c7266);}['getApplicableOperators'](_0x2785c0){const _0x5b64f3=a0_0x5456ff,_0x5b42fa=_0x2785c0[_0x5b64f3(0x37d)](),_0x164fc2=[];if([_0x5b64f3(0x357),_0x5b64f3(0x3d0),_0x5b64f3(0x43a),_0x5b64f3(0x442)]['includes'](_0x5b42fa)||[_0x5b64f3(0x344),_0x5b64f3(0x3ed),_0x5b64f3(0x37b),_0x5b64f3(0x368),'FLOAT'][_0x5b64f3(0x46c)](_0x5b42fa))_0x164fc2[_0x5b64f3(0x20f)](_0x5b64f3(0x207),_0x5b64f3(0x208),_0x5b64f3(0x304),_0x5b64f3(0x44c),_0x5b64f3(0x3c8),'$lteq',_0x5b64f3(0x215));else{if([_0x5b64f3(0x3e9),_0x5b64f3(0x267),_0x5b64f3(0x21c)][_0x5b64f3(0x46c)](_0x5b42fa)||['CHAR',_0x5b64f3(0x25b)][_0x5b64f3(0x46c)](_0x5b42fa))_0x164fc2['push']('$eq',_0x5b64f3(0x208),_0x5b64f3(0x215),'$contain',_0x5b64f3(0x217),_0x5b64f3(0x325));else{if([_0x5b64f3(0x343),'DATETIME',_0x5b64f3(0x3bb)][_0x5b64f3(0x46c)](_0x5b42fa)||[_0x5b64f3(0x42c)][_0x5b64f3(0x46c)](_0x5b42fa))_0x164fc2[_0x5b64f3(0x20f)](_0x5b64f3(0x207),_0x5b64f3(0x208),_0x5b64f3(0x304),_0x5b64f3(0x44c),'$gteq',_0x5b64f3(0x45d));else['BOOLEAN',_0x5b64f3(0x2f4),_0x5b64f3(0x280)][_0x5b64f3(0x46c)](_0x5b42fa)?_0x164fc2['push']('$eq',_0x5b64f3(0x208)):_0x164fc2[_0x5b64f3(0x20f)]('$eq',_0x5b64f3(0x208));}}return _0x164fc2;}[a0_0x5456ff(0x382)](_0x593b6e,_0x4e2660){const _0x597ee5=a0_0x5456ff,_0x58cb0b=_0x593b6e['getDbTypeForOperation']();if([_0x597ee5(0x357),_0x597ee5(0x3d0),_0x597ee5(0x43a),_0x597ee5(0x442)][_0x597ee5(0x46c)](_0x58cb0b)||['INT',_0x597ee5(0x3ed),_0x597ee5(0x37b),'DOUBLE','FLOAT']['includes'](_0x58cb0b))return _0x4e2660['includes']('$gte')?_0x597ee5(0x304):_0x597ee5(0x207);if([_0x597ee5(0x3e9),_0x597ee5(0x267),'VARCHAR'][_0x597ee5(0x46c)](_0x58cb0b)||[_0x597ee5(0x29c),_0x597ee5(0x25b)][_0x597ee5(0x46c)](_0x58cb0b))return _0x4e2660[_0x597ee5(0x46c)]('$contain')?_0x597ee5(0x2e9):'$eq';if([_0x597ee5(0x343),_0x597ee5(0x213),_0x597ee5(0x3bb),_0x597ee5(0x42c)][_0x597ee5(0x46c)](_0x58cb0b))return _0x4e2660['includes'](_0x597ee5(0x304))?_0x597ee5(0x304):_0x597ee5(0x207);return _0x597ee5(0x207);}['generateExampleValue'](_0x21d8b9,_0xfbcdb){const _0x14a93a=a0_0x5456ff,_0x4d3a00=_0x21d8b9[_0x14a93a(0x37d)](),_0x25edbf=_0x21d8b9[_0x14a93a(0x30f)]();if(_0x25edbf&&_0x25edbf[_0x14a93a(0x46b)]>0x0){if(_0xfbcdb==='$in')return _0x25edbf[_0x14a93a(0x45b)](0x0,0x2)[_0x14a93a(0x418)](_0x18442f=>_0x18442f[_0x14a93a(0x1d0)]);return _0x25edbf[0x0]['value'];}if([_0x14a93a(0x357),_0x14a93a(0x3d0),_0x14a93a(0x43a),'DECIMAL'][_0x14a93a(0x46c)](_0x4d3a00)||[_0x14a93a(0x344),_0x14a93a(0x3ed),'SMALLINT','DOUBLE',_0x14a93a(0x275)]['includes'](_0x4d3a00)){if(_0xfbcdb===_0x14a93a(0x215))return[0x1,0x2,0x3];if(_0xfbcdb==='$gte'||_0xfbcdb===_0x14a93a(0x3c8))return 0x0;if(_0xfbcdb===_0x14a93a(0x44c)||_0xfbcdb===_0x14a93a(0x45d))return 0x64;return 0x1;}if([_0x14a93a(0x3e9),_0x14a93a(0x267),_0x14a93a(0x21c)][_0x14a93a(0x46c)](_0x4d3a00)||[_0x14a93a(0x29c),_0x14a93a(0x25b)]['includes'](_0x4d3a00)){if(_0xfbcdb==='$in')return['value1',_0x14a93a(0x41d)];if(_0xfbcdb===_0x14a93a(0x2e9))return _0x14a93a(0x2b9);if(_0xfbcdb===_0x14a93a(0x217))return'prefix';if(_0xfbcdb==='$endWith')return _0x14a93a(0x1fd);return _0x14a93a(0x1d0);}if([_0x14a93a(0x343),_0x14a93a(0x213),_0x14a93a(0x3bb),_0x14a93a(0x42c)][_0x14a93a(0x46c)](_0x4d3a00)){if(_0xfbcdb===_0x14a93a(0x304)||_0xfbcdb===_0x14a93a(0x3c8))return _0x14a93a(0x20e);if(_0xfbcdb==='$lte'||_0xfbcdb===_0x14a93a(0x45d))return _0x14a93a(0x3db);return _0x14a93a(0x20e);}if([_0x14a93a(0x20d),'BOOL','BIT'][_0x14a93a(0x46c)](_0x4d3a00))return!![];return _0xfbcdb==='$in'?[_0x14a93a(0x463),'value2']:'value';}['getRequestParamsDocInfo'](){const _0x36fcbc=a0_0x5456ff,_0x5e4d06=this['getRequestParams'](),_0x350bc4=Object[_0x36fcbc(0x2eb)](_0x5e4d06)[_0x36fcbc(0x2b7)](([_0x303ae1])=>_0x303ae1!==_0x36fcbc(0x2d8)&&_0x303ae1!==_0x36fcbc(0x28a))['map'](([_0x3f1914,_0x44aceb])=>{const _0x3ad347=_0x36fcbc,_0x11da9=_0x44aceb,_0xa15f46={};return _0xa15f46[_0x3ad347(0x464)]=_0x3f1914,_0xa15f46['type']=_0x11da9['type']||_0x3ad347(0x1de),_0xa15f46['description']=_0x11da9['description']||'-',_0xa15f46['required']=_0x11da9[_0x3ad347(0x33c)],_0xa15f46;}),_0x5c1774={};return _0x5c1774[_0x36fcbc(0x346)]=_0x36fcbc(0x33a),_0x5c1774['params']=_0x350bc4,_0x5c1774;}[a0_0x5456ff(0x2de)](){const _0x389e6a=a0_0x5456ff,_0x531c44=this[_0x389e6a(0x408)]()[_0x389e6a(0x26d)],_0x13cdfd=[{}],_0x4bacd1=[];_0x531c44?.[_0x389e6a(0x3b2)](_0x4c94cc=>{const _0x2229cb=_0x389e6a,_0x1b10f5={};_0x1b10f5[_0x2229cb(0x2be)]=_0x4c94cc[_0x2229cb(0x433)],_0x1b10f5[_0x2229cb(0x411)]=_0x4c94cc['alias'],_0x4bacd1[_0x2229cb(0x20f)](_0x1b10f5),_0x13cdfd[0x0][_0x4c94cc[_0x2229cb(0x433)]]=_0x4c94cc[_0x2229cb(0x39e)]==='count'?0x64:Math['round'](Math[_0x2229cb(0x449)]()*0x64*0x64)/0x64;});const _0x1313e3={};_0x1313e3[_0x389e6a(0x28a)]=0x1,_0x1313e3[_0x389e6a(0x42f)]=0x64,_0x1313e3['currentPage']=0x1;const _0x3c788b={};_0x3c788b[_0x389e6a(0x31a)]=_0x1313e3,_0x3c788b['tableData']=_0x13cdfd,_0x3c788b[_0x389e6a(0x47a)]=_0x4bacd1;const _0xa81998={};return _0xa81998[_0x389e6a(0x3e8)]=!![],_0xa81998[_0x389e6a(0x41e)]='',_0xa81998['errorMsg']='',_0xa81998['errorCode']='0000',_0xa81998[_0x389e6a(0x3e3)]=_0x3c788b,_0xa81998[_0x389e6a(0x2d4)]=null,_0xa81998;}}class OperationFactory{[a0_0x5456ff(0x450)](_0x4f0692,_0x321a8e,_0x5c5f8f){const _0x26c09b=a0_0x5456ff;switch(_0x4f0692){case _0x26c09b(0x42e):return new GetSelectOptionsOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case _0x26c09b(0x42d):return new GetListOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case'filter':return new FilterOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case _0x26c09b(0x331):return new ExcelExportOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case'update':return new UpdateOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case _0x26c09b(0x26d):return new AggregateOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);default:return new GenericOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);}}[a0_0x5456ff(0x31b)](_0x584914,_0x4a83ce){const _0x3edcc8=a0_0x5456ff,_0x299a07=new Map();return Object[_0x3edcc8(0x2eb)](_0x584914)[_0x3edcc8(0x3b2)](([_0x15858c,_0x772842])=>{const _0x5d20e1=_0x3edcc8;_0x299a07['set'](_0x15858c,this[_0x5d20e1(0x450)](_0x15858c,_0x772842,_0x4a83ce));}),_0x299a07;}}class OperationList{[a0_0x5456ff(0x1d5)];constructor(_0x4bfe29,_0x52e496){const _0xfc8448=a0_0x5456ff,_0x2167c3=new OperationFactory();this[_0xfc8448(0x1d5)]=_0x2167c3['createAll'](_0x4bfe29,_0x52e496);}[a0_0x5456ff(0x326)](_0x1a4c22){const _0x171a94=a0_0x5456ff;return this[_0x171a94(0x1d5)][_0x171a94(0x326)](_0x1a4c22);}[a0_0x5456ff(0x3a9)](_0x43f1dc){const _0x2dafda=a0_0x5456ff;return this[_0x2dafda(0x1d5)]['has'](_0x43f1dc);}['size'](){const _0x4d66d5=a0_0x5456ff;return this[_0x4d66d5(0x1d5)]['size'];}[a0_0x5456ff(0x3b9)](){const _0x3595cf=a0_0x5456ff;return Array[_0x3595cf(0x234)](this['_operations'][_0x3595cf(0x35f)]());}['toArray'](){const _0x44679c=a0_0x5456ff,_0x1144e6=Array[_0x44679c(0x234)](this[_0x44679c(0x1d5)][_0x44679c(0x25d)]());return this[_0x44679c(0x255)](_0x1144e6);}[a0_0x5456ff(0x39b)](){const _0x38a3e3=a0_0x5456ff;return this[_0x38a3e3(0x20c)]()[_0x38a3e3(0x2b7)](_0x1914e8=>_0x1914e8[_0x38a3e3(0x415)]());}[a0_0x5456ff(0x429)](){const _0x52281e=a0_0x5456ff;return this[_0x52281e(0x20c)]()[_0x52281e(0x2b7)](_0x1a8387=>!_0x1a8387[_0x52281e(0x415)]());}[a0_0x5456ff(0x2fd)](){const _0x4378c6=a0_0x5456ff;return this[_0x4378c6(0x39b)]()[_0x4378c6(0x418)](_0x38b9c9=>_0x38b9c9[_0x4378c6(0x432)]());}[a0_0x5456ff(0x239)](){const _0x5754ed=a0_0x5456ff;return this[_0x5754ed(0x429)]()[_0x5754ed(0x418)](_0x4e5d01=>_0x4e5d01[_0x5754ed(0x432)]());}[a0_0x5456ff(0x3b7)](_0x408e12){const _0x2d8d47=a0_0x5456ff;return this['toArray']()['filter'](_0x4c78b9=>_0x4c78b9[_0x2d8d47(0x1e5)]()===_0x408e12);}[a0_0x5456ff(0x2b7)](_0xdd9f7c){const _0x3b01b1=a0_0x5456ff;return this[_0x3b01b1(0x20c)]()[_0x3b01b1(0x2b7)](_0xdd9f7c);}[a0_0x5456ff(0x365)](_0x59a1b9={}){const _0x5c0818=a0_0x5456ff;let _0x311662=this[_0x5c0818(0x20c)]();!_0x59a1b9[_0x5c0818(0x23c)]&&(_0x311662=_0x311662['filter'](_0x239e5b=>_0x239e5b[_0x5c0818(0x415)]()));if(_0x59a1b9[_0x5c0818(0x330)]!==![]){const _0x3f5190=_0x311662[_0x5c0818(0x418)](_0x22df93=>({'name':_0x22df93[_0x5c0818(0x432)](),'operation':_0x22df93})),_0xebf1ba=filterApiOperations(_0x3f5190);_0x311662=_0xebf1ba[_0x5c0818(0x418)](_0x32d79c=>_0x32d79c['operation']),_0x311662=this['sortOperationsWithFilterFirst'](_0x311662);}return _0x59a1b9['customFilter']&&(_0x311662=_0x311662[_0x5c0818(0x2b7)](_0x59a1b9[_0x5c0818(0x1ed)])),_0x311662;}[a0_0x5456ff(0x255)](_0x52e2b0){const _0x56747f=a0_0x5456ff,_0x44d627=_0x52e2b0['find'](_0x4d1966=>_0x4d1966[_0x56747f(0x432)]()==='filter'),_0x5562da=_0x52e2b0['filter'](_0x190bd4=>_0x190bd4[_0x56747f(0x432)]()!==_0x56747f(0x2b7));return _0x44d627?[_0x44d627,..._0x5562da]:_0x5562da;}[a0_0x5456ff(0x21e)](){const _0x78ea1c=a0_0x5456ff,_0x58c7c1=this[_0x78ea1c(0x39b)]();return{'total':this[_0x78ea1c(0x1ee)](),'enabled':_0x58c7c1['length'],'disabled':this[_0x78ea1c(0x1ee)]()-_0x58c7c1[_0x78ea1c(0x46b)],'byType':this['getCountByType'](_0x58c7c1),'byMethod':this['getCountByMethod'](_0x58c7c1)};}['getCountByType'](_0x2bbf93){const _0x2578c4={};return _0x2bbf93['forEach'](_0x520bcc=>{const _0x22b5f7=_0x520bcc['getType']();_0x22b5f7&&(_0x2578c4[_0x22b5f7]=(_0x2578c4[_0x22b5f7]||0x0)+0x1);}),_0x2578c4;}[a0_0x5456ff(0x431)](_0x1f3ddb){const _0x3f5c57=a0_0x5456ff,_0x4cad18={};return _0x1f3ddb[_0x3f5c57(0x3b2)](_0x136935=>{const _0x203afc=_0x3f5c57,_0x179e4f=_0x136935[_0x203afc(0x334)]();_0x179e4f&&(_0x4cad18[_0x179e4f]=(_0x4cad18[_0x179e4f]||0x0)+0x1);}),_0x4cad18;}[Symbol[a0_0x5456ff(0x2d0)]](){const _0x486827=a0_0x5456ff;return this['_operations'][_0x486827(0x25d)]();}[a0_0x5456ff(0x210)](){const _0x63ea25=a0_0x5456ff,_0x7eaefd=this[_0x63ea25(0x21e)]();return _0x63ea25(0x2ef)+_0x7eaefd[_0x63ea25(0x316)]+'/'+_0x7eaefd['total']+'\x20operations)';}}class DBConfig{[a0_0x5456ff(0x362)];['dbId'];['dbName'];[a0_0x5456ff(0x353)];[a0_0x5456ff(0x409)];[a0_0x5456ff(0x42b)];['datasetKey'];[a0_0x5456ff(0x212)];['tenantCode'];['appCode'];constructor(_0x19345d,_0x427288){const _0xdb93c4=a0_0x5456ff;this[_0xdb93c4(0x362)]=_0x427288,this[_0xdb93c4(0x3c4)]=_0x19345d[_0xdb93c4(0x3c4)],this[_0xdb93c4(0x2bc)]=_0x19345d[_0xdb93c4(0x2bc)],this[_0xdb93c4(0x353)]=_0x19345d['dbType'],this[_0xdb93c4(0x409)]=_0x19345d[_0xdb93c4(0x409)],this[_0xdb93c4(0x42b)]=_0x19345d['tableName'],this[_0xdb93c4(0x285)]=_0x19345d['datasetKey'],this[_0xdb93c4(0x212)]=_0x19345d[_0xdb93c4(0x212)],this[_0xdb93c4(0x284)]=_0x19345d[_0xdb93c4(0x284)],this[_0xdb93c4(0x441)]=_0x19345d[_0xdb93c4(0x441)];}[a0_0x5456ff(0x1df)](){const _0x126c24=a0_0x5456ff;return this[_0x126c24(0x362)];}}class DrivenDataDetailBase extends DatasetItem{['_operationList'];['_fieldList'];[a0_0x5456ff(0x1da)];constructor(_0x5d8a4b){const _0x2ed5dc=a0_0x5456ff,_0x707d17={..._0x5d8a4b};_0x707d17['id']=_0x5d8a4b['modelId']||_0x5d8a4b['id'],_0x707d17[_0x2ed5dc(0x25c)]=_0x5d8a4b[_0x2ed5dc(0x34b)]||_0x5d8a4b[_0x2ed5dc(0x25c)]||_0x5d8a4b[_0x2ed5dc(0x421)],super(_0x707d17);}[a0_0x5456ff(0x3e4)](){return;}[a0_0x5456ff(0x337)](){return[];}[a0_0x5456ff(0x474)](){return[];}get[a0_0x5456ff(0x3c0)](){const _0xc53e41=a0_0x5456ff;return this[_0xc53e41(0x3ee)]();}[a0_0x5456ff(0x387)](){const _0x5dd4e7=a0_0x5456ff;if(!this[_0x5dd4e7(0x366)])throw new Error(_0x5dd4e7(0x1e2));return this[_0x5dd4e7(0x366)];}['getFieldListWithDeleted'](){const _0x14d202=a0_0x5456ff;if(!this[_0x14d202(0x1da)])throw new Error(_0x14d202(0x246));return this['_fieldListWithDeleted'];}[a0_0x5456ff(0x2fe)](){return[];}[a0_0x5456ff(0x472)](){const _0x4d51c5=a0_0x5456ff,_0xc25722=this[_0x4d51c5(0x376)]();return _0xc25722[_0x4d51c5(0x341)];}[a0_0x5456ff(0x354)](){return this['getFields']()['length'];}['getField'](_0x5ca966){const _0x5148c5=a0_0x5456ff,_0x56b301=this[_0x5148c5(0x2db)](_0x5ca966);return _0x56b301?_0x56b301[_0x5148c5(0x362)]:undefined;}[a0_0x5456ff(0x3fb)](_0x6170d0){return;}[a0_0x5456ff(0x30b)](_0x16bc8a){const _0x33399a=a0_0x5456ff;if(!_0x16bc8a||typeof _0x16bc8a!=='object')return!![]&&console[_0x33399a(0x47e)]('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0x16bc8a),{};if(_0x33399a(0x212)in _0x16bc8a){const _0x4cdb33=_0x16bc8a;return{'primaryKey':typeof _0x4cdb33[_0x33399a(0x212)]===_0x33399a(0x295)?_0x4cdb33['pkField']:Boolean(_0x4cdb33[_0x33399a(0x212)]),'required':_0x4cdb33['required'],'systemRetain':Boolean(_0x4cdb33[_0x33399a(0x363)]),'autoIncrement':_0x4cdb33['autoIncrement']??undefined};}if(!(_0x33399a(0x201)in _0x16bc8a)||!_0x16bc8a['extend'])return{};try{const _0x5e849a=typeof _0x16bc8a[_0x33399a(0x201)]===_0x33399a(0x386)?JSON['parse'](_0x16bc8a[_0x33399a(0x201)]):_0x16bc8a[_0x33399a(0x201)];if(typeof _0x5e849a!=='object'||_0x5e849a===null)return{};return _0x5e849a;}catch{return{};}}[a0_0x5456ff(0x227)](){const _0x1b2f5b=a0_0x5456ff;if(!this[_0x1b2f5b(0x236)]){const _0x4c8600=this[_0x1b2f5b(0x416)](this[_0x1b2f5b(0x26a)]()||{});this['_operationList']=new OperationList(_0x4c8600,{'fields':this[_0x1b2f5b(0x387)]()[_0x1b2f5b(0x45c)](),'pkField':this[_0x1b2f5b(0x39f)][_0x1b2f5b(0x3a2)]?.[_0x1b2f5b(0x212)],'dbtableConfig':this['_raw'][_0x1b2f5b(0x3a2)]||null});}return this['_operationList'];}[a0_0x5456ff(0x416)](_0x56a980){const _0x3f3781=a0_0x5456ff;if(_0x56a980[_0x3f3781(0x2b7)]!==undefined)return _0x56a980;return{..._0x56a980,'filter':this[_0x3f3781(0x219)]()};}[a0_0x5456ff(0x219)](){const _0x5423d4=a0_0x5456ff,_0x4faee9=this['getOperationsData']()?.['getList'];let _0xba28f5=_0x4faee9?.['host'],_0x40af1a='';if(!_0xba28f5&&this[_0x5423d4(0x26a)]()){const _0xbed32b=Object[_0x5423d4(0x25d)](this[_0x5423d4(0x26a)]());for(const _0x149abd of _0xbed32b){if(_0x149abd&&typeof _0x149abd===_0x5423d4(0x39c)&&_0x5423d4(0x226)in _0x149abd){_0xba28f5=_0x149abd['host'];break;}}}if(_0x4faee9?.[_0x5423d4(0x403)]){const _0x358e73=_0x4faee9[_0x5423d4(0x403)],_0x22c1e1=_0x358e73[_0x5423d4(0x271)]('/');_0x22c1e1!==-0x1&&(_0x40af1a=_0x358e73[_0x5423d4(0x393)](0x0,_0x22c1e1));}const _0xbd62cc={};_0xbd62cc[_0x5423d4(0x464)]=_0x5423d4(0x394),_0xbd62cc[_0x5423d4(0x39e)]=_0x5423d4(0x39c),_0xbd62cc['required']=![];const _0x5cfd14={};_0x5cfd14[_0x5423d4(0x464)]=_0x5423d4(0x321),_0x5cfd14[_0x5423d4(0x39e)]='array',_0x5cfd14['required']=![];const _0x330c8a={};_0x330c8a[_0x5423d4(0x464)]=_0x5423d4(0x43c),_0x330c8a[_0x5423d4(0x39e)]=_0x5423d4(0x40f),_0x330c8a[_0x5423d4(0x33c)]=![];const _0x341d97={};_0x341d97['name']=_0x5423d4(0x2d8),_0x341d97['type']=_0x5423d4(0x2fb),_0x341d97[_0x5423d4(0x33c)]=![],_0x341d97['default']=0x1;const _0x4fbc90={};_0x4fbc90[_0x5423d4(0x464)]=_0x5423d4(0x28a),_0x4fbc90[_0x5423d4(0x39e)]=_0x5423d4(0x2fb),_0x4fbc90[_0x5423d4(0x33c)]=![],_0x4fbc90[_0x5423d4(0x2df)]=0xa;const _0x59c100={};return _0x59c100[_0x5423d4(0x464)]=_0x5423d4(0x2b7),_0x59c100[_0x5423d4(0x39e)]=_0x5423d4(0x369),_0x59c100[_0x5423d4(0x346)]=_0x5423d4(0x47c),_0x59c100[_0x5423d4(0x443)]='POST',_0x59c100[_0x5423d4(0x226)]=_0xba28f5,_0x59c100[_0x5423d4(0x403)]=_0x40af1a?_0x40af1a+_0x5423d4(0x26e):_0x5423d4(0x26e),_0x59c100[_0x5423d4(0x2d4)]=_0x4faee9?.[_0x5423d4(0x2d4)]||[_0xbd62cc,_0x5cfd14,_0x330c8a,_0x341d97,_0x4fbc90],_0x59c100['_autoGenerated']=!![],_0x59c100;}[a0_0x5456ff(0x2a2)](){const _0x2a3ea8=a0_0x5456ff;return this[_0x2a3ea8(0x227)]()['toArray']();}['getOperationCount'](){const _0x1f479f=a0_0x5456ff;return this['getOperationList']()[_0x1f479f(0x1ee)]();}[a0_0x5456ff(0x230)](_0x3bef92){const _0x178810=a0_0x5456ff;if(typeof _0x3bef92!==_0x178810(0x386)){!![]&&console[_0x178810(0x47e)](_0x178810(0x39a),_0x3bef92);return;}return this[_0x178810(0x227)]()[_0x178810(0x326)](_0x3bef92);}[a0_0x5456ff(0x258)](_0x28d32b){const _0xa09318=a0_0x5456ff;if(typeof _0x28d32b!==_0xa09318(0x386))return![];return this[_0xa09318(0x227)]()[_0xa09318(0x3a9)](_0x28d32b);}['isOperationEnabled'](_0xa511f4){const _0x1fa778=a0_0x5456ff;if(typeof _0xa511f4!==_0x1fa778(0x386))return![];const _0x455c5b=this[_0x1fa778(0x230)](_0xa511f4);return _0x455c5b?.[_0x1fa778(0x415)]()||![];}['getEnabledOperations'](){const _0x1aa59c=a0_0x5456ff;return this[_0x1aa59c(0x227)]()[_0x1aa59c(0x2fd)]();}[a0_0x5456ff(0x237)](){const _0x74469=a0_0x5456ff;return this[_0x74469(0x227)]()[_0x74469(0x239)]();}[a0_0x5456ff(0x34a)](){const _0x365122=a0_0x5456ff;return this[_0x365122(0x227)]()[_0x365122(0x39b)]();}['getDisabledOperationInstances'](){return this['getOperationList']()['getDisabled']();}[a0_0x5456ff(0x31f)](_0x58edaf={}){const _0x4686ed=a0_0x5456ff;return this[_0x4686ed(0x227)]()[_0x4686ed(0x365)](_0x58edaf);}[a0_0x5456ff(0x21e)](){const _0x2a4d6c=a0_0x5456ff;return{'fieldCount':this[_0x2a4d6c(0x354)](),'systemFieldCount':this[_0x2a4d6c(0x1ec)]()['length'],'businessFieldCount':this[_0x2a4d6c(0x24a)]()['length'],'requiredFieldCount':this['getRequiredFields']()[_0x2a4d6c(0x46b)],'primaryKeyCount':this[_0x2a4d6c(0x2fc)]()['length'],'operationCount':this[_0x2a4d6c(0x245)](),'enabledOperationCount':this[_0x2a4d6c(0x3f2)]()[_0x2a4d6c(0x46b)]};}['getFieldCode'](_0x24a7db){const _0x4fa0c8=a0_0x5456ff;if(!_0x24a7db||typeof _0x24a7db!=='object')return'';if(_0x4fa0c8(0x421)in _0x24a7db&&typeof _0x24a7db[_0x4fa0c8(0x421)]===_0x4fa0c8(0x386))return _0x24a7db[_0x4fa0c8(0x421)];if('name'in _0x24a7db&&typeof _0x24a7db[_0x4fa0c8(0x464)]===_0x4fa0c8(0x386))return _0x24a7db[_0x4fa0c8(0x464)];return'';}['hasField'](_0x4202d8){const _0x4e3e6c=a0_0x5456ff;return this[_0x4e3e6c(0x387)]()[_0x4e3e6c(0x3a9)](_0x4202d8);}[a0_0x5456ff(0x329)](_0x403e43){const _0x168837=a0_0x5456ff;if(!_0x403e43||typeof _0x403e43!==_0x168837(0x39c))return![];const _0x50a044=this[_0x168837(0x25a)](_0x403e43),_0x388e01=this[_0x168837(0x2db)](_0x50a044);return _0x388e01?_0x388e01['isPrimaryKey']():![];}[a0_0x5456ff(0x244)](_0x42a283){const _0x14b9b2=a0_0x5456ff;if(!_0x42a283||typeof _0x42a283!==_0x14b9b2(0x39c))return![];const _0x812907=this[_0x14b9b2(0x25a)](_0x42a283),_0x2f1bf5=this['getFieldInstance'](_0x812907);return _0x2f1bf5?_0x2f1bf5[_0x14b9b2(0x1fb)]():![];}['isRequiredField'](_0x5546aa){const _0x4900c0=a0_0x5456ff;if(!_0x5546aa||typeof _0x5546aa!==_0x4900c0(0x39c))return![];const _0x208407=this['getFieldCode'](_0x5546aa),_0x58bca2=this['getFieldInstance'](_0x208407);return _0x58bca2?_0x58bca2[_0x4900c0(0x266)]():![];}[a0_0x5456ff(0x34c)](_0xca2d84){const _0x22c708=a0_0x5456ff;if(!_0xca2d84||typeof _0xca2d84!=='object')return![];const _0x5db626=this[_0x22c708(0x25a)](_0xca2d84),_0x311900=this[_0x22c708(0x2db)](_0x5db626);return _0x311900?_0x311900[_0x22c708(0x28b)]():![];}[a0_0x5456ff(0x27a)](_0x1e8e6d){const _0x5acd6e=a0_0x5456ff;if(!_0x1e8e6d||typeof _0x1e8e6d!==_0x5acd6e(0x39c))return![];const _0x249469=this[_0x5acd6e(0x25a)](_0x1e8e6d),_0x3228aa=this[_0x5acd6e(0x2db)](_0x249469);return _0x3228aa?_0x3228aa[_0x5acd6e(0x293)]():![];}[a0_0x5456ff(0x453)](_0x3ae235){const _0x5b4caf=a0_0x5456ff;if(!_0x3ae235||typeof _0x3ae235!==_0x5b4caf(0x39c))return[];const _0x37fd53=this[_0x5b4caf(0x25a)](_0x3ae235),_0x4d55e7=this[_0x5b4caf(0x2db)](_0x37fd53);if(!_0x4d55e7||!_0x4d55e7['isEnum']())return[];return _0x4d55e7[_0x5b4caf(0x30f)]()||[];}[a0_0x5456ff(0x216)](_0xc5c1bd){const _0x594833=a0_0x5456ff;if(!_0xc5c1bd||typeof _0xc5c1bd!=='object')return;const _0x3bfae0=this[_0x594833(0x25a)](_0xc5c1bd),_0x5a4ed5=this[_0x594833(0x2db)](_0x3bfae0);if(!_0x5a4ed5||!_0x5a4ed5[_0x594833(0x28b)]())return;return _0x5a4ed5[_0x594833(0x1f8)]();}[a0_0x5456ff(0x21f)](_0x149bfb){const _0x303d25=a0_0x5456ff;if(!_0x149bfb||typeof _0x149bfb!==_0x303d25(0x39c))return;const _0x2bf13c=this[_0x303d25(0x25a)](_0x149bfb),_0x2f9b3e=this['getFieldInstance'](_0x2bf13c);if(!_0x2f9b3e||!_0x2f9b3e[_0x303d25(0x28b)]())return;return _0x2f9b3e[_0x303d25(0x23a)]();}[a0_0x5456ff(0x2fc)](){const _0x486dc7=a0_0x5456ff;return this['getFieldList']()[_0x486dc7(0x287)]()[_0x486dc7(0x418)](_0x39c123=>_0x39c123[_0x486dc7(0x362)]);}[a0_0x5456ff(0x1ec)](){const _0x758041=a0_0x5456ff;return this[_0x758041(0x387)]()[_0x758041(0x27b)]()[_0x758041(0x418)](_0x14ae77=>_0x14ae77['raw']);}[a0_0x5456ff(0x24a)](){const _0x5b49e7=a0_0x5456ff;return this[_0x5b49e7(0x387)]()['getBusiness']()['map'](_0x1cd210=>_0x1cd210['raw']);}[a0_0x5456ff(0x1f2)](){const _0x5a5bbc=a0_0x5456ff;return this[_0x5a5bbc(0x387)]()[_0x5a5bbc(0x1e9)]()[_0x5a5bbc(0x418)](_0xa28f79=>_0xa28f79[_0x5a5bbc(0x362)]);}['getFieldsByType'](){const _0x1af390=a0_0x5456ff,_0x318b47=this['getFieldList']()[_0x1af390(0x252)](),_0xb73d64={};for(const [_0x5ba1a4,_0xb9fd5d]of Object[_0x1af390(0x2eb)](_0x318b47)){_0xb73d64[_0x5ba1a4]=_0xb9fd5d[_0x1af390(0x418)](_0x326adf=>_0x326adf[_0x1af390(0x362)]);}return _0xb73d64;}['getEnumFields'](){const _0x48e2f0=a0_0x5456ff;return this['getFieldList']()[_0x48e2f0(0x482)]()['map'](_0x203578=>_0x203578[_0x48e2f0(0x362)]);}[a0_0x5456ff(0x33e)](){const _0x1d8c9a=a0_0x5456ff,_0x8142e4={};return this['getEnumFields']()[_0x1d8c9a(0x3b2)](_0x50f086=>{const _0x4d6e04=_0x1d8c9a,_0x360862=this[_0x4d6e04(0x21f)](_0x50f086);if(_0x360862){const _0x2265a8=this['getFieldCode'](_0x50f086);_0x8142e4[_0x2265a8]=_0x360862;}}),_0x8142e4;}[a0_0x5456ff(0x310)](_0x547625,_0x4bd629){const _0x291d85=a0_0x5456ff,_0x5577e2=this[_0x291d85(0x21f)](_0x547625);if(!_0x5577e2)return!![];if(_0x5577e2[_0x291d85(0x36d)]&&!_0x5577e2['options'])return!![];const _0xe0ad3b=this['getFieldCode'](_0x547625),_0x46d273=this['getFieldInstance'](_0xe0ad3b),_0x574534=_0x46d273?_0x46d273[_0x291d85(0x293)]():![];if(_0x574534&&Array['isArray'](_0x4bd629))return _0x4bd629[_0x291d85(0x279)](_0xc5c9a4=>_0x5577e2[_0x291d85(0x25d)][_0x291d85(0x46c)](_0xc5c9a4));return _0x5577e2[_0x291d85(0x25d)][_0x291d85(0x46c)](_0x4bd629);}[a0_0x5456ff(0x2a7)](){const _0x587eeb=a0_0x5456ff;return new DatasetItem({'id':this['id'],'name':this[_0x587eeb(0x464)],'datasetCode':this[_0x587eeb(0x25c)],'dbtableConfig':this[_0x587eeb(0x1d6)]()});}[a0_0x5456ff(0x210)](){const _0x3bdc08=a0_0x5456ff;return _0x3bdc08(0x22e)+this['name']+',\x20'+this[_0x3bdc08(0x25c)]+',\x20'+this['getFieldCount']()+'\x20fields,\x20'+this['getOperationCount']()+'\x20operations,\x20'+this[_0x3bdc08(0x307)]()+')';}[a0_0x5456ff(0x1e7)](){const _0x456ea8=a0_0x5456ff;return this[_0x456ea8(0x333)](_0x456ea8(0x2b7));}['getFieldFilterOperators'](_0x46fe24){const _0x174260=a0_0x5456ff;return this[_0x174260(0x24b)](_0x174260(0x2b7),_0x46fe24);}['getFieldsFilterOperatorsMap'](){const _0x261587=a0_0x5456ff;return this[_0x261587(0x2ed)](_0x261587(0x2b7));}[a0_0x5456ff(0x333)](_0x1107f3){const _0x2692ca=a0_0x5456ff,_0x34cc79=this['getOperation'](_0x1107f3);return _0x34cc79?_0x34cc79[_0x2692ca(0x42a)]():[];}[a0_0x5456ff(0x24b)](_0x16f123,_0x5c461c){const _0x35dfb5=a0_0x5456ff,_0x33a81a=this[_0x35dfb5(0x230)](_0x16f123);return _0x33a81a?_0x33a81a[_0x35dfb5(0x2f0)](_0x5c461c):[];}[a0_0x5456ff(0x2ed)](_0x188e7b){const _0x2bd8ef=a0_0x5456ff,_0x5e85ec={};return this[_0x2bd8ef(0x387)]()[_0x2bd8ef(0x3b2)](_0x3fe504=>{const _0x35a7ea=_0x2bd8ef,_0x47f417=this['getOperationFieldOperators'](_0x188e7b,_0x3fe504['code']);_0x47f417[_0x35a7ea(0x46b)]>0x0&&(_0x5e85ec[_0x3fe504['code']]=_0x47f417);}),_0x5e85ec;}[a0_0x5456ff(0x29f)](_0x2434b7,_0x5af883,_0x41c733){const _0x514269=a0_0x5456ff,_0x28e8a1=this[_0x514269(0x24b)](_0x2434b7,_0x5af883);return _0x28e8a1['includes'](_0x41c733);}}class FieldBase{get[a0_0x5456ff(0x353)](){return;}get[a0_0x5456ff(0x2e1)](){return;}get[a0_0x5456ff(0x27f)](){return;}get['doType'](){return;}[a0_0x5456ff(0x3d8)](){return!this['isSystem']();}[a0_0x5456ff(0x1f4)](){const _0x197c35=a0_0x5456ff;return this[_0x197c35(0x34f)];}['isEnum'](){const _0x5e1605=a0_0x5456ff,_0x5f4d4a=[_0x5e1605(0x1f9),'SELECT',_0x5e1605(0x2e4)];return _0x5f4d4a[_0x5e1605(0x46c)](this['type']);}[a0_0x5456ff(0x293)](){const _0x4da5dc=a0_0x5456ff;return this['type']===_0x4da5dc(0x2e4);}[a0_0x5456ff(0x426)](){const _0x295b67=a0_0x5456ff,_0x4068ca=this[_0x295b67(0x23a)]();return _0x4068ca?.[_0x295b67(0x25d)]||[];}[a0_0x5456ff(0x23a)](){const _0x37a68e=a0_0x5456ff;if(!this[_0x37a68e(0x28b)]())return;const _0x3c85c0=this[_0x37a68e(0x30f)](),_0x9e44dc=this['getSelectItemsSource'](),_0x57f316=[],_0x7f672e={},_0x194d82=_0xa1b43=>{_0xa1b43['forEach'](_0x164afc=>{const _0x313f6d=a0_0x2d67;_0x57f316[_0x313f6d(0x20f)](_0x164afc[_0x313f6d(0x1d0)]),_0x7f672e[String(_0x164afc[_0x313f6d(0x1d0)])]=_0x164afc[_0x313f6d(0x2d1)],_0x164afc['children']&&_0x164afc[_0x313f6d(0x2ee)][_0x313f6d(0x46b)]>0x0&&_0x194d82(_0x164afc[_0x313f6d(0x2ee)]);});};return _0x3c85c0&&_0x3c85c0[_0x37a68e(0x46b)]>0x0&&_0x194d82(_0x3c85c0),{'code':this['code'],'name':this['name'],'type':this[_0x37a68e(0x39e)],'multiple':this[_0x37a68e(0x293)](),'options':_0x3c85c0,'selectItemsSource':_0x9e44dc,'values':_0x57f316,'valueLabels':_0x7f672e};}get[a0_0x5456ff(0x3ef)](){const _0x540dfc=a0_0x5456ff;return this[_0x540dfc(0x426)]();}[a0_0x5456ff(0x210)](){const _0x2594ec=a0_0x5456ff;return _0x2594ec(0x3a0)+this[_0x2594ec(0x464)]+',\x20'+this[_0x2594ec(0x421)]+',\x20'+this[_0x2594ec(0x39e)]+',\x20'+this[_0x2594ec(0x307)]()+')';}}class FieldV1 extends FieldBase{[a0_0x5456ff(0x39f)];['_extend']=null;constructor(_0xbdee60){const _0x408b29=a0_0x5456ff;super();if(!_0xbdee60||typeof _0xbdee60!==_0x408b29(0x39c))throw new Error('[Field]\x20Invalid\x20field\x20definition');this[_0x408b29(0x39f)]=_0xbdee60;}[a0_0x5456ff(0x247)](){const _0x951ce0=a0_0x5456ff;return this[_0x951ce0(0x39f)];}[a0_0x5456ff(0x307)](){return'v1';}get['raw'](){return this['_raw'];}get[a0_0x5456ff(0x464)](){const _0x142f5a=a0_0x5456ff;return this[_0x142f5a(0x39f)][_0x142f5a(0x464)]||'';}get[a0_0x5456ff(0x421)](){const _0x5639e0=a0_0x5456ff;return this[_0x5639e0(0x39f)][_0x5639e0(0x421)]||'';}get[a0_0x5456ff(0x39e)](){const _0x2a0370=a0_0x5456ff;return this[_0x2a0370(0x39f)][_0x2a0370(0x39e)]||'';}get[a0_0x5456ff(0x346)](){const _0x2a7cb9=a0_0x5456ff;return this[_0x2a7cb9(0x39f)][_0x2a7cb9(0x346)]||'';}get['deleted'](){const _0x453fe3=a0_0x5456ff;return Boolean(this[_0x453fe3(0x39f)][_0x453fe3(0x34f)]);}get['dbType'](){const _0x2f21e4=a0_0x5456ff;return this[_0x2f21e4(0x39f)][_0x2f21e4(0x353)];}get[a0_0x5456ff(0x2e1)](){const _0x4fbd37=a0_0x5456ff;return this[_0x4fbd37(0x39f)][_0x4fbd37(0x2e1)];}get['displayName'](){const _0x2ff4f8=a0_0x5456ff;return this[_0x2ff4f8(0x39f)][_0x2ff4f8(0x433)];}get[a0_0x5456ff(0x46a)](){return;}get[a0_0x5456ff(0x201)](){const _0xb50b53=a0_0x5456ff;if(this[_0xb50b53(0x37f)]!==null&&typeof this['_extend']===_0xb50b53(0x39c))return this[_0xb50b53(0x37f)];const _0x414a68=this[_0xb50b53(0x39f)][_0xb50b53(0x201)];if(!_0x414a68||typeof _0x414a68!==_0xb50b53(0x386))return this[_0xb50b53(0x37f)]={},this['_extend'];if(_0x414a68===_0xb50b53(0x3f1)||_0x414a68[_0xb50b53(0x3a3)]()===_0xb50b53(0x3f1))return this[_0xb50b53(0x37f)]={},this[_0xb50b53(0x37f)];try{const _0x4d2e99=JSON[_0xb50b53(0x2ca)](_0x414a68);return this['_extend']=_0x4d2e99!==null&&typeof _0x4d2e99==='object'&&!Array['isArray'](_0x4d2e99)?_0x4d2e99:{},this[_0xb50b53(0x37f)];}catch(_0x5b4c22){return!![]&&console[_0xb50b53(0x47e)]('[FieldV1.extend]\x20解析字段\x20'+this[_0xb50b53(0x421)]+_0xb50b53(0x238),_0x5b4c22),this[_0xb50b53(0x37f)]={},this[_0xb50b53(0x37f)];}}[a0_0x5456ff(0x266)](){const _0x44c152=a0_0x5456ff;return Boolean(this[_0x44c152(0x201)][_0x44c152(0x33c)]);}[a0_0x5456ff(0x21b)](){const _0x65e394=a0_0x5456ff;return Boolean(this['extend']['primaryKey']||this[_0x65e394(0x201)][_0x65e394(0x212)]);}['isSystem'](){const _0x25ec40=a0_0x5456ff;return Boolean(this[_0x25ec40(0x201)][_0x25ec40(0x363)]);}[a0_0x5456ff(0x2a3)](){const _0x40531b=a0_0x5456ff;return Boolean(this[_0x40531b(0x201)]['autoIncrement']);}[a0_0x5456ff(0x312)](){const _0x41b183=a0_0x5456ff;return Boolean(this['extend'][_0x41b183(0x224)]);}['isUpdateTime'](){const _0x487bec=a0_0x5456ff;return Boolean(this[_0x487bec(0x201)][_0x487bec(0x350)]);}['getDisplayName'](){const _0x5d1ac0=a0_0x5456ff;return this[_0x5d1ac0(0x464)];}[a0_0x5456ff(0x3fa)](){const _0x43fa1c=a0_0x5456ff;return this[_0x43fa1c(0x421)];}[a0_0x5456ff(0x28b)](){const _0x1d66ff=a0_0x5456ff,_0x4afc1c=['RADIO',_0x1d66ff(0x38c),_0x1d66ff(0x2e4)];if(_0x4afc1c[_0x1d66ff(0x46c)](this[_0x1d66ff(0x39e)]))return!![];const _0x34147d=this[_0x1d66ff(0x201)];return Boolean(_0x34147d[_0x1d66ff(0x45e)]&&Array[_0x1d66ff(0x248)](_0x34147d[_0x1d66ff(0x45e)])&&_0x34147d[_0x1d66ff(0x45e)][_0x1d66ff(0x46b)]>0x0||_0x34147d['selectItemsSource']);}[a0_0x5456ff(0x293)](){const _0x1d754d=a0_0x5456ff;if(this[_0x1d754d(0x39e)]===_0x1d754d(0x2e4))return!![];return Boolean(this[_0x1d754d(0x201)][_0x1d754d(0x412)]);}[a0_0x5456ff(0x30f)](){const _0x527665=a0_0x5456ff,_0x4be5df=this[_0x527665(0x201)];if(_0x4be5df[_0x527665(0x45e)]&&Array[_0x527665(0x248)](_0x4be5df['options']))return _0x4be5df['options'];return;}['getSelectItemsSource'](){const _0x5cda87=a0_0x5456ff,_0x5c4823=this[_0x5cda87(0x201)];if(_0x5c4823[_0x5cda87(0x36d)]&&typeof _0x5c4823[_0x5cda87(0x36d)]===_0x5cda87(0x39c))return _0x5c4823[_0x5cda87(0x36d)];return;}[a0_0x5456ff(0x37d)](){return this['type']['toUpperCase']();}['getDefaultValue'](){const _0x1d75c3=a0_0x5456ff;return this['extend'][_0x1d75c3(0x20b)];}[a0_0x5456ff(0x397)](){const _0xa49cc4=a0_0x5456ff;return this[_0xa49cc4(0x201)]['tooltip'];}[a0_0x5456ff(0x262)](){const _0x53d918=a0_0x5456ff;return{'name':this[_0x53d918(0x464)],'code':this[_0x53d918(0x421)],'type':this[_0x53d918(0x39e)],'dbType':this[_0x53d918(0x353)],'dbTypeLen':this[_0x53d918(0x2e1)],'description':this['description'],'required':this[_0x53d918(0x266)](),'primaryKey':this[_0x53d918(0x21b)](),'system':this[_0x53d918(0x1fb)](),'autoIncrement':this[_0x53d918(0x2a3)](),'createTime':this['isCreateTime'](),'updateTime':this[_0x53d918(0x3ad)](),'isEnum':this[_0x53d918(0x28b)](),'enumMeta':this['isEnum']()?this[_0x53d918(0x23a)]():undefined};}['toString'](){const _0x1b5b67=a0_0x5456ff;return'FieldV1('+this['name']+',\x20'+this[_0x1b5b67(0x421)]+',\x20'+this[_0x1b5b67(0x39e)]+')';}}class FieldListBase{[a0_0x5456ff(0x338)];constructor(_0x27647b,_0x429ba6){const _0x5971cb=a0_0x5456ff;if(!Array[_0x5971cb(0x248)](_0x27647b))throw new Error(_0x5971cb(0x3c3));const _0x3e56b1=_0x429ba6?.[_0x5971cb(0x268)]??![],_0x65ca3=_0x3e56b1?_0x27647b:_0x27647b[_0x5971cb(0x2b7)](_0x2c657f=>{const _0x1d649b=_0x5971cb,_0x556f36=_0x2c657f;return!_0x556f36[_0x1d649b(0x34f)];});this[_0x5971cb(0x338)]=this['createFields'](_0x65ca3);}get[a0_0x5456ff(0x46b)](){const _0x459dfe=a0_0x5456ff;return this[_0x459dfe(0x338)][_0x459dfe(0x46b)];}['all'](){return[...this['_fields']];}['at'](_0x4e1f70){const _0x24d3e1=a0_0x5456ff;return this[_0x24d3e1(0x338)]['at'](_0x4e1f70);}[a0_0x5456ff(0x283)](_0x33fb3e){const _0x2ad2bb=a0_0x5456ff;return this[_0x2ad2bb(0x338)][_0x2ad2bb(0x283)](_0x4a21d1=>_0x4a21d1[_0x2ad2bb(0x421)]===_0x33fb3e);}[a0_0x5456ff(0x2ec)](_0x1fea3c){const _0x4c31e3=a0_0x5456ff;return this[_0x4c31e3(0x338)][_0x4c31e3(0x283)](_0x4ab765=>_0x4ab765[_0x4c31e3(0x464)]===_0x1fea3c);}[a0_0x5456ff(0x3a9)](_0x320dcb){const _0x1d750d=a0_0x5456ff;return this[_0x1d750d(0x338)][_0x1d750d(0x2e5)](_0x11fe04=>_0x11fe04[_0x1d750d(0x421)]===_0x320dcb);}[a0_0x5456ff(0x3b2)](_0x4b576f){const _0x20def2=a0_0x5456ff;this[_0x20def2(0x338)][_0x20def2(0x3b2)](_0x4b576f);}[a0_0x5456ff(0x418)](_0x52f848){const _0x2b47e0=a0_0x5456ff;return this[_0x2b47e0(0x338)]['map'](_0x52f848);}['filter'](_0xdabfcb){const _0x515e1c=a0_0x5456ff;return this[_0x515e1c(0x338)][_0x515e1c(0x2b7)](_0xdabfcb);}[a0_0x5456ff(0x279)](_0x42c946){return this['_fields']['every'](_0x42c946);}[a0_0x5456ff(0x2e5)](_0x2bf6d8){const _0x5cb481=a0_0x5456ff;return this[_0x5cb481(0x338)][_0x5cb481(0x2e5)](_0x2bf6d8);}[a0_0x5456ff(0x1e9)](){const _0x22eb12=a0_0x5456ff;return this['_fields'][_0x22eb12(0x2b7)](_0x52796a=>_0x52796a[_0x22eb12(0x266)]());}['getPrimaryKeys'](){const _0x43f0ec=a0_0x5456ff;return this[_0x43f0ec(0x338)][_0x43f0ec(0x2b7)](_0x126c16=>_0x126c16[_0x43f0ec(0x21b)]());}[a0_0x5456ff(0x27b)](){const _0x55e0af=a0_0x5456ff;return this[_0x55e0af(0x338)][_0x55e0af(0x2b7)](_0x12ab61=>_0x12ab61['isSystem']());}['getBusiness'](){const _0x2a30a9=a0_0x5456ff;return this[_0x2a30a9(0x338)][_0x2a30a9(0x2b7)](_0x1d7ece=>_0x1d7ece[_0x2a30a9(0x3d8)]());}[a0_0x5456ff(0x482)](){const _0x3537c1=a0_0x5456ff;return this[_0x3537c1(0x338)]['filter'](_0x3fed3c=>_0x3fed3c[_0x3537c1(0x28b)]());}[a0_0x5456ff(0x3b5)](){const _0x269440=a0_0x5456ff;return this['_fields']['filter'](_0xa70cb8=>_0xa70cb8[_0x269440(0x2a3)]());}[a0_0x5456ff(0x478)](){const _0x216c77=a0_0x5456ff;return this[_0x216c77(0x338)][_0x216c77(0x2b7)](_0x584585=>_0x584585[_0x216c77(0x312)]());}['getUpdateTime'](){const _0x48e8e5=a0_0x5456ff;return this[_0x48e8e5(0x338)][_0x48e8e5(0x2b7)](_0x411670=>_0x411670[_0x48e8e5(0x3ad)]());}[a0_0x5456ff(0x2dc)](){const _0xabd337=a0_0x5456ff;return this[_0xabd337(0x338)][_0xabd337(0x2b7)](_0x4d654a=>_0x4d654a['isDeleted']());}['getActive'](){const _0x57f36c=a0_0x5456ff;return this[_0x57f36c(0x338)]['filter'](_0x15b930=>!_0x15b930[_0x57f36c(0x1f4)]());}['groupByType'](){const _0x3091ff=a0_0x5456ff,_0xcbd7a1={};return this[_0x3091ff(0x338)][_0x3091ff(0x3b2)](_0x113af9=>{const _0x3ced74=_0x3091ff,_0x2a5938=_0x113af9[_0x3ced74(0x39e)];!_0xcbd7a1[_0x2a5938]&&(_0xcbd7a1[_0x2a5938]=[]),_0xcbd7a1[_0x2a5938][_0x3ced74(0x20f)](_0x113af9);}),_0xcbd7a1;}[a0_0x5456ff(0x38b)](){const _0x284643=a0_0x5456ff,_0x364dc3={};return this[_0x284643(0x338)][_0x284643(0x3b2)](_0x3cd953=>{const _0x6c4f57=_0x284643;if(_0x3cd953['isEnum']()){const _0x1cca9d=_0x3cd953[_0x6c4f57(0x23a)]();_0x1cca9d&&(_0x364dc3[_0x3cd953[_0x6c4f57(0x421)]]=_0x1cca9d);}}),_0x364dc3;}[a0_0x5456ff(0x21e)](){const _0x50cd3a=a0_0x5456ff;return{'total':this[_0x50cd3a(0x46b)],'required':this[_0x50cd3a(0x1e9)]()['length'],'primaryKey':this[_0x50cd3a(0x287)]()['length'],'system':this[_0x50cd3a(0x27b)]()['length'],'business':this[_0x50cd3a(0x240)]()['length'],'enum':this['getEnum']()[_0x50cd3a(0x46b)],'autoIncrement':this[_0x50cd3a(0x3b5)]()[_0x50cd3a(0x46b)]};}[a0_0x5456ff(0x3f9)](){const _0x1c2b6a=a0_0x5456ff;return this[_0x1c2b6a(0x338)][_0x1c2b6a(0x418)](_0x456ada=>_0x456ada[_0x1c2b6a(0x421)]);}[a0_0x5456ff(0x3b9)](){const _0x8c1e92=a0_0x5456ff;return this['_fields']['map'](_0x1ba90f=>_0x1ba90f[_0x8c1e92(0x3bd)]());}[a0_0x5456ff(0x251)](){const _0x3ab012=a0_0x5456ff;return this['_fields'][_0x3ab012(0x418)](_0x3a915d=>_0x3a915d[_0x3ab012(0x3fa)]());}[a0_0x5456ff(0x262)](){const _0x4b111f=a0_0x5456ff;return this[_0x4b111f(0x338)]['map'](_0x4094de=>_0x4094de['toJSON']());}[a0_0x5456ff(0x210)](){const _0x2a0a0e=a0_0x5456ff;return _0x2a0a0e(0x254)+this[_0x2a0a0e(0x46b)]+_0x2a0a0e(0x309);}}class FieldListV1 extends FieldListBase{constructor(_0x5f0434,_0x182856){super(_0x5f0434,_0x182856);}[a0_0x5456ff(0x3e5)](_0x46e604){const _0x3dc7a6=a0_0x5456ff;return _0x46e604[_0x3dc7a6(0x418)](_0x25d35e=>new FieldV1(_0x25d35e));}['all'](){const _0x4280ce=a0_0x5456ff;return[...this[_0x4280ce(0x338)]];}['at'](_0x46ff9b){return this['_fields']['at'](_0x46ff9b);}['find'](_0x32dc1b){const _0x3e4bbf=a0_0x5456ff;return this['_fields'][_0x3e4bbf(0x283)](_0x4f959c=>_0x4f959c[_0x3e4bbf(0x421)]===_0x32dc1b);}[a0_0x5456ff(0x2ec)](_0x268fdb){const _0x38a86f=a0_0x5456ff;return this['_fields']['find'](_0xb83601=>_0xb83601[_0x38a86f(0x464)]===_0x268fdb);}[a0_0x5456ff(0x2b7)](_0x29c70e){const _0x3f2833=a0_0x5456ff;return this[_0x3f2833(0x338)][_0x3f2833(0x2b7)](_0x29c70e);}['map'](_0x4a3a5b){return this['_fields']['map'](_0x4a3a5b);}[a0_0x5456ff(0x1e9)](){const _0x6c09b2=a0_0x5456ff;return this[_0x6c09b2(0x338)][_0x6c09b2(0x2b7)](_0x4149e1=>_0x4149e1['isRequired']());}[a0_0x5456ff(0x287)](){const _0x3f02ea=a0_0x5456ff;return this['_fields'][_0x3f02ea(0x2b7)](_0x3a4cef=>_0x3a4cef[_0x3f02ea(0x21b)]());}[a0_0x5456ff(0x27b)](){const _0x5651ac=a0_0x5456ff;return this[_0x5651ac(0x338)]['filter'](_0x1e5ba4=>_0x1e5ba4[_0x5651ac(0x1fb)]());}['getBusiness'](){const _0x452a99=a0_0x5456ff;return this[_0x452a99(0x338)][_0x452a99(0x2b7)](_0x471df5=>_0x471df5[_0x452a99(0x3d8)]());}['getEnum'](){const _0x58fac1=a0_0x5456ff;return this[_0x58fac1(0x338)]['filter'](_0x14b88a=>_0x14b88a[_0x58fac1(0x28b)]());}['groupByType'](){const _0x36f6e0=a0_0x5456ff,_0x51ea8b={};return this['_fields'][_0x36f6e0(0x3b2)](_0x5875db=>{const _0x5b1537=_0x36f6e0,_0x1a91fa=_0x5875db[_0x5b1537(0x39e)];!_0x51ea8b[_0x1a91fa]&&(_0x51ea8b[_0x1a91fa]=[]),_0x51ea8b[_0x1a91fa][_0x5b1537(0x20f)](_0x5875db);}),_0x51ea8b;}[a0_0x5456ff(0x362)](){const _0x3c59b9=a0_0x5456ff;return this[_0x3c59b9(0x338)]['map'](_0x11f30=>_0x11f30[_0x3c59b9(0x362)]);}static[a0_0x5456ff(0x234)](_0x338548){const _0x3fb2df=a0_0x5456ff,_0x521375=_0x338548['map'](_0x1cfdeb=>_0x1cfdeb[_0x3fb2df(0x362)]);return new FieldListV1(_0x521375);}static[a0_0x5456ff(0x3c2)](_0x1b9f0a){const _0x1bdd3d=a0_0x5456ff,_0xf2fa14={};return _0xf2fa14[_0x1bdd3d(0x268)]=!![],new FieldListV1(_0x1b9f0a,_0xf2fa14);}}class FieldV2 extends FieldBase{[a0_0x5456ff(0x39f)];constructor(_0x27d556){const _0x83e162=a0_0x5456ff;super();if(!_0x27d556||typeof _0x27d556!==_0x83e162(0x39c))throw new Error('[FieldV2]\x20Invalid\x20field\x20definition');this['_raw']=_0x27d556;}[a0_0x5456ff(0x307)](){return'v2';}get[a0_0x5456ff(0x362)](){const _0x1342f7=a0_0x5456ff;return this[_0x1342f7(0x39f)];}get[a0_0x5456ff(0x464)](){const _0x519a2a=a0_0x5456ff;return this[_0x519a2a(0x39f)][_0x519a2a(0x464)]||'';}get[a0_0x5456ff(0x421)](){const _0x36707f=a0_0x5456ff;return this[_0x36707f(0x39f)][_0x36707f(0x464)]||'';}get[a0_0x5456ff(0x27f)](){const _0x429825=a0_0x5456ff;return this['_raw'][_0x429825(0x27f)]||'';}get[a0_0x5456ff(0x39e)](){const _0x13f5c6=a0_0x5456ff;return this['mapDbTypeToType'](this[_0x13f5c6(0x39f)]['dbType']);}get['description'](){const _0x14b029=a0_0x5456ff;return this[_0x14b029(0x39f)][_0x14b029(0x346)]||'';}get['deleted'](){const _0x4db8c9=a0_0x5456ff;return Boolean(this[_0x4db8c9(0x39f)][_0x4db8c9(0x34f)]);}[a0_0x5456ff(0x266)](){const _0x4434f4=a0_0x5456ff;return Boolean(this[_0x4434f4(0x39f)][_0x4434f4(0x33c)]);}[a0_0x5456ff(0x21b)](){const _0xf5d202=a0_0x5456ff;return Boolean(this[_0xf5d202(0x39f)][_0xf5d202(0x212)]);}[a0_0x5456ff(0x1fb)](){const _0x5e5cca=a0_0x5456ff;return Boolean(this['_raw'][_0x5e5cca(0x363)]);}[a0_0x5456ff(0x2a3)](){const _0x3486a0=a0_0x5456ff;return Boolean(this[_0x3486a0(0x39f)]['autoIncrement']);}['isCreateTime'](){const _0x25714c=a0_0x5456ff;return this[_0x25714c(0x39f)][_0x25714c(0x363)]===_0x25714c(0x224);}[a0_0x5456ff(0x3ad)](){const _0x25c4b7=a0_0x5456ff;return this[_0x25c4b7(0x39f)][_0x25c4b7(0x363)]===_0x25c4b7(0x350);}[a0_0x5456ff(0x3bd)](){const _0x3f9d26=a0_0x5456ff;return this[_0x3f9d26(0x39f)][_0x3f9d26(0x27f)]||'';}[a0_0x5456ff(0x3fa)](){const _0x429b4f=a0_0x5456ff;return this[_0x429b4f(0x39f)]['name']||'';}['isEnum'](){const _0x1cd0b8=a0_0x5456ff;return Boolean(this[_0x1cd0b8(0x39f)][_0x1cd0b8(0x45e)]&&Array[_0x1cd0b8(0x248)](this[_0x1cd0b8(0x39f)][_0x1cd0b8(0x45e)])&&this['_raw'][_0x1cd0b8(0x45e)][_0x1cd0b8(0x46b)]>0x0);}[a0_0x5456ff(0x293)](){const _0x46ae4d=a0_0x5456ff,_0x1c6197=this['_raw'][_0x46ae4d(0x201)];if(!_0x1c6197)return![];try{const _0x44eabb=JSON['parse'](_0x1c6197);if(_0x44eabb&&typeof _0x44eabb===_0x46ae4d(0x39c)&&_0x46ae4d(0x412)in _0x44eabb)return Boolean(_0x44eabb['multiple']);}catch{}return![];}[a0_0x5456ff(0x30f)](){const _0x5ee159=a0_0x5456ff;if(this[_0x5ee159(0x39f)]['options']&&Array['isArray'](this[_0x5ee159(0x39f)][_0x5ee159(0x45e)]))return this[_0x5ee159(0x39f)]['options'];return;}['getSelectItemsSource'](){const _0x5126cd=a0_0x5456ff,_0x2da75f=this[_0x5126cd(0x39f)][_0x5126cd(0x201)];if(!_0x2da75f)return;try{const _0x25a63c=JSON['parse'](_0x2da75f);if(_0x25a63c&&typeof _0x25a63c===_0x5126cd(0x39c)&&_0x5126cd(0x36d)in _0x25a63c)return _0x25a63c['selectItemsSource'];}catch{}return;}['getDbTypeForOperation'](){const _0x48713f=a0_0x5456ff;return this['_raw'][_0x48713f(0x353)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}['getDefaultValue'](){return;}[a0_0x5456ff(0x397)](){return;}get[a0_0x5456ff(0x353)](){const _0x14cfb9=a0_0x5456ff;return this[_0x14cfb9(0x39f)][_0x14cfb9(0x353)];}get['dbTypeLen'](){const _0x253553=a0_0x5456ff;return this[_0x253553(0x39f)][_0x253553(0x2e1)];}['getDOType'](){const _0x21855b=a0_0x5456ff;return this[_0x21855b(0x39f)][_0x21855b(0x46a)]??null;}get[a0_0x5456ff(0x46a)](){const _0x56d76a=a0_0x5456ff;return this[_0x56d76a(0x39f)][_0x56d76a(0x46a)]??null;}['toJSON'](){const _0x5350e7=a0_0x5456ff;return{'name':this['name'],'code':this[_0x5350e7(0x421)],'type':this[_0x5350e7(0x39e)],'dbType':this[_0x5350e7(0x353)],'dbTypeLen':this[_0x5350e7(0x2e1)],'doType':this[_0x5350e7(0x3ae)](),'displayName':this[_0x5350e7(0x27f)],'description':this[_0x5350e7(0x346)],'required':this[_0x5350e7(0x266)](),'primaryKey':this[_0x5350e7(0x21b)](),'system':this[_0x5350e7(0x1fb)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x5350e7(0x312)](),'updateTime':this[_0x5350e7(0x3ad)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x5350e7(0x28b)]()?this[_0x5350e7(0x23a)]():undefined};}[a0_0x5456ff(0x210)](){const _0x150f48=a0_0x5456ff;return _0x150f48(0x44e)+this[_0x150f48(0x464)]+',\x20'+this['code']+',\x20'+this[_0x150f48(0x353)]+_0x150f48(0x3bc)+this[_0x150f48(0x3ae)]()+')';}[a0_0x5456ff(0x467)](_0x49b96e){const _0x13517b=a0_0x5456ff,_0x5d1124={};_0x5d1124['VARCHAR']=_0x13517b(0x267),_0x5d1124['CHAR']=_0x13517b(0x267),_0x5d1124['TEXT']=_0x13517b(0x2a0),_0x5d1124['LONGTEXT']=_0x13517b(0x2a0),_0x5d1124[_0x13517b(0x344)]=_0x13517b(0x357),_0x5d1124[_0x13517b(0x43a)]=_0x13517b(0x357),_0x5d1124[_0x13517b(0x3ed)]='NUMBER',_0x5d1124[_0x13517b(0x37b)]='NUMBER',_0x5d1124[_0x13517b(0x442)]='NUMBER',_0x5d1124['DOUBLE']=_0x13517b(0x357),_0x5d1124[_0x13517b(0x275)]=_0x13517b(0x357),_0x5d1124[_0x13517b(0x213)]=_0x13517b(0x343),_0x5d1124[_0x13517b(0x3bb)]='DATE',_0x5d1124[_0x13517b(0x343)]=_0x13517b(0x343),_0x5d1124[_0x13517b(0x42c)]=_0x13517b(0x42c),_0x5d1124[_0x13517b(0x20d)]=_0x13517b(0x23b),_0x5d1124[_0x13517b(0x280)]=_0x13517b(0x23b),_0x5d1124['BLOB']=_0x13517b(0x3a8),_0x5d1124[_0x13517b(0x22c)]=_0x13517b(0x3a8);const _0x53a6ca=_0x5d1124,_0x19de39=_0x49b96e['toUpperCase']();return _0x53a6ca[_0x19de39]||_0x13517b(0x267);}}class FieldListV2 extends FieldListBase{constructor(_0x29a08c,_0x2e4794){super(_0x29a08c,_0x2e4794);}[a0_0x5456ff(0x3e5)](_0x46ff4c){const _0x168dda=a0_0x5456ff;return _0x46ff4c[_0x168dda(0x418)](_0x5c3caf=>new FieldV2(_0x5c3caf));}['all'](){const _0x237a2b=a0_0x5456ff;return[...this[_0x237a2b(0x338)]];}['at'](_0x2261ad){const _0x56c510=a0_0x5456ff;return this[_0x56c510(0x338)]['at'](_0x2261ad);}[a0_0x5456ff(0x283)](_0x348d35){const _0x21c5e6=a0_0x5456ff;return this[_0x21c5e6(0x338)][_0x21c5e6(0x283)](_0x2414b9=>_0x2414b9['code']===_0x348d35);}[a0_0x5456ff(0x2ec)](_0x7144ac){const _0x2b1c3c=a0_0x5456ff;return this[_0x2b1c3c(0x338)][_0x2b1c3c(0x283)](_0x5ceea3=>_0x5ceea3[_0x2b1c3c(0x3bd)]()===_0x7144ac);}['filter'](_0x48faa0){const _0x2e69b8=a0_0x5456ff;return this[_0x2e69b8(0x338)][_0x2e69b8(0x2b7)](_0x48faa0);}[a0_0x5456ff(0x418)](_0x59d2e0){const _0x4ae336=a0_0x5456ff;return this['_fields'][_0x4ae336(0x418)](_0x59d2e0);}[a0_0x5456ff(0x1e9)](){const _0x194acb=a0_0x5456ff;return this[_0x194acb(0x338)][_0x194acb(0x2b7)](_0x14d9d0=>_0x14d9d0['isRequired']());}[a0_0x5456ff(0x287)](){const _0x53df19=a0_0x5456ff;return this['_fields'][_0x53df19(0x2b7)](_0xb65748=>_0xb65748['isPrimaryKey']());}['getSystem'](){const _0x205056=a0_0x5456ff;return this[_0x205056(0x338)][_0x205056(0x2b7)](_0x2e40ad=>_0x2e40ad[_0x205056(0x1fb)]());}[a0_0x5456ff(0x240)](){const _0x17be79=a0_0x5456ff;return this['_fields'][_0x17be79(0x2b7)](_0x83be17=>_0x83be17[_0x17be79(0x3d8)]());}[a0_0x5456ff(0x482)](){const _0xdedba=a0_0x5456ff;return this[_0xdedba(0x338)]['filter'](_0x46ec69=>_0x46ec69[_0xdedba(0x28b)]());}['groupByType'](){const _0x3fef9f=a0_0x5456ff,_0x1e2566={};return this[_0x3fef9f(0x338)]['forEach'](_0x1cffda=>{const _0x31b550=_0x3fef9f,_0x234e4a=_0x1cffda['type'];!_0x1e2566[_0x234e4a]&&(_0x1e2566[_0x234e4a]=[]),_0x1e2566[_0x234e4a][_0x31b550(0x20f)](_0x1cffda);}),_0x1e2566;}[a0_0x5456ff(0x362)](){const _0x34558a=a0_0x5456ff;return this[_0x34558a(0x338)][_0x34558a(0x418)](_0x318061=>_0x318061['raw']);}static[a0_0x5456ff(0x234)](_0x11dbde){const _0x4c542f=a0_0x5456ff,_0x73486a=_0x11dbde[_0x4c542f(0x418)](_0x216bee=>_0x216bee[_0x4c542f(0x362)]);return new FieldListV2(_0x73486a);}static[a0_0x5456ff(0x3c2)](_0x4a918e){const _0x5a7a1c={};return _0x5a7a1c['includeDeleted']=!![],new FieldListV2(_0x4a918e,_0x5a7a1c);}['toString'](){const _0x5a07d7=a0_0x5456ff;return _0x5a07d7(0x3da)+this['length']+_0x5a07d7(0x309);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x5456ff(0x323)];['_fieldListV1WithDeleted'];constructor(_0x1cdea0){super(_0x1cdea0);}[a0_0x5456ff(0x387)](){const _0x5ba6f8=a0_0x5456ff;if(!this[_0x5ba6f8(0x323)]){const _0x2ebbf9={};_0x2ebbf9[_0x5ba6f8(0x268)]=![],this['_fieldListV1']=new FieldListV1(this[_0x5ba6f8(0x39f)]['properties']||[],_0x2ebbf9);}return this[_0x5ba6f8(0x323)];}['getFieldListWithDeleted'](){const _0x167a85=a0_0x5456ff;if(!this[_0x167a85(0x466)]){const _0x46c140={};_0x46c140[_0x167a85(0x268)]=!![],this[_0x167a85(0x466)]=new FieldListV1(this[_0x167a85(0x39f)][_0x167a85(0x2e8)]||[],_0x46c140);}return this[_0x167a85(0x466)];}[a0_0x5456ff(0x2fe)](){const _0x1f6524=a0_0x5456ff;return(this['_raw'][_0x1f6524(0x2e8)]||[])[_0x1f6524(0x2b7)](_0x45efce=>!_0x45efce['deleted']);}[a0_0x5456ff(0x354)](){const _0x3a90f5=a0_0x5456ff;return this['getFieldList']()[_0x3a90f5(0x46b)];}[a0_0x5456ff(0x3fb)](_0xe069b8){const _0x482394=a0_0x5456ff;return this[_0x482394(0x39f)][_0x482394(0x2e8)]?.[_0x482394(0x283)](_0x18c7af=>_0x18c7af['code']===_0xe069b8);}['getVersion'](){return'v1';}[a0_0x5456ff(0x376)](){const _0x22ec2e=a0_0x5456ff,_0x43be5f={};return _0x43be5f[_0x22ec2e(0x341)]=this['_raw'][_0x22ec2e(0x2e8)]||[],_0x43be5f[_0x22ec2e(0x268)]=![],_0x43be5f;}[a0_0x5456ff(0x26a)](){const _0x15ea9f=a0_0x5456ff;return this[_0x15ea9f(0x39f)]['operations'];}[a0_0x5456ff(0x3ee)](){const _0x5a7d13=a0_0x5456ff;return this['_raw'][_0x5a7d13(0x3c0)];}[a0_0x5456ff(0x3d7)](){const _0x55c6c7=a0_0x5456ff,_0x138a31=this[_0x55c6c7(0x1d6)](),_0x4cedd5=_0x138a31?.['dblinkInfoDTO'],_0xc0ded2={};return _0xc0ded2[_0x55c6c7(0x3c4)]=_0x138a31?.['dbId'],_0xc0ded2[_0x55c6c7(0x2bc)]=_0x138a31?.[_0x55c6c7(0x2bc)]??_0x4cedd5?.[_0x55c6c7(0x2bc)],_0xc0ded2[_0x55c6c7(0x353)]=_0x4cedd5?.[_0x55c6c7(0x353)],_0xc0ded2[_0x55c6c7(0x409)]=_0x4cedd5?.['dbVersion'],_0xc0ded2['tableName']=_0x138a31?.[_0x55c6c7(0x42b)],_0xc0ded2[_0x55c6c7(0x285)]=_0x138a31?.[_0x55c6c7(0x285)],_0xc0ded2[_0x55c6c7(0x212)]=_0x138a31?.[_0x55c6c7(0x212)],_0xc0ded2[_0x55c6c7(0x284)]=_0x4cedd5?.[_0x55c6c7(0x284)],_0xc0ded2['appCode']=_0x4cedd5?.['appCode'],new DBConfig(_0xc0ded2,_0x138a31);}get[a0_0x5456ff(0x29e)](){const _0x107f0c=a0_0x5456ff;return this[_0x107f0c(0x39f)][_0x107f0c(0x29e)];}[a0_0x5456ff(0x2db)](_0x567b10){const _0x177106=a0_0x5456ff;if(typeof _0x567b10!==_0x177106(0x386)){!![]&&console['warn'](_0x177106(0x26f),_0x567b10);return;}return this[_0x177106(0x387)]()['find'](_0x567b10);}[a0_0x5456ff(0x27a)](_0x38510a){const _0x41857d=a0_0x5456ff;if(!_0x38510a||typeof _0x38510a!==_0x41857d(0x39c))return![];const _0x2cf4f4=this[_0x41857d(0x2db)](_0x38510a[_0x41857d(0x421)]);return _0x2cf4f4?_0x2cf4f4[_0x41857d(0x293)]():![];}['getFilterOperation'](){const _0x173ff4=a0_0x5456ff,_0x213dac=this[_0x173ff4(0x230)]('filter');return _0x213dac;}[a0_0x5456ff(0x1f1)](){const _0x3d450c=a0_0x5456ff;return this['hasOperation'](_0x3d450c(0x2b7));}['toListItem'](){const _0x3b33de=a0_0x5456ff;return new DatasetItem({'id':this['id'],'name':this[_0x3b33de(0x464)],'datasetCode':this[_0x3b33de(0x25c)],'dbtableConfig':this[_0x3b33de(0x1d6)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x5456ff(0x3fd)];['_datasetMeta'];['_relations'];constructor(_0x382234){const _0x2a4a7e=a0_0x5456ff;super(_0x382234),this[_0x2a4a7e(0x235)]=_0x382234[_0x2a4a7e(0x22b)],this[_0x2a4a7e(0x352)]=_0x382234[_0x2a4a7e(0x458)]||[];}[a0_0x5456ff(0x307)](){return'v2';}[a0_0x5456ff(0x376)](){const _0x4ab78e=a0_0x5456ff,_0x146fd8={};return _0x146fd8['fields']=this[_0x4ab78e(0x39f)][_0x4ab78e(0x341)],_0x146fd8[_0x4ab78e(0x268)]=![],_0x146fd8;}[a0_0x5456ff(0x26a)](){const _0x321314=a0_0x5456ff;return this[_0x321314(0x39f)][_0x321314(0x2d3)];}[a0_0x5456ff(0x3ee)](){const _0x1ceff9=a0_0x5456ff;return this[_0x1ceff9(0x39f)]['source'];}[a0_0x5456ff(0x3d7)](){const _0x4fc528=a0_0x5456ff,_0x3f9caa=this[_0x4fc528(0x39f)][_0x4fc528(0x3a2)],_0x1fa0b2=_0x3f9caa?.[_0x4fc528(0x2fa)],_0x449c1c={};return _0x449c1c[_0x4fc528(0x3c4)]=_0x3f9caa?.[_0x4fc528(0x3c4)],_0x449c1c[_0x4fc528(0x2bc)]=_0x3f9caa?.['dbName']??_0x1fa0b2?.[_0x4fc528(0x2bc)],_0x449c1c[_0x4fc528(0x353)]=_0x1fa0b2?.[_0x4fc528(0x353)],_0x449c1c[_0x4fc528(0x409)]=_0x1fa0b2?.['dbVersion'],_0x449c1c['tableName']=_0x3f9caa?.[_0x4fc528(0x42b)],_0x449c1c['datasetKey']=_0x3f9caa?.[_0x4fc528(0x285)],_0x449c1c['pkField']=_0x3f9caa?.[_0x4fc528(0x212)],_0x449c1c[_0x4fc528(0x284)]=_0x3f9caa?.[_0x4fc528(0x284)]??_0x1fa0b2?.['tenantCode'],_0x449c1c['appCode']=_0x3f9caa?.[_0x4fc528(0x441)]??_0x1fa0b2?.['appCode'],new DBConfig(_0x449c1c,_0x3f9caa);}[a0_0x5456ff(0x387)](){const _0x40efaf=a0_0x5456ff;return this[_0x40efaf(0x3e2)]();}[a0_0x5456ff(0x2fe)](){const _0x479ccd=a0_0x5456ff;return this[_0x479ccd(0x39f)][_0x479ccd(0x341)];}[a0_0x5456ff(0x354)](){const _0x2f3755=a0_0x5456ff;return this[_0x2f3755(0x39f)][_0x2f3755(0x341)][_0x2f3755(0x46b)];}[a0_0x5456ff(0x3fb)](_0x5c6b01){const _0x428892=a0_0x5456ff;return this[_0x428892(0x39f)][_0x428892(0x341)][_0x428892(0x283)](_0x3c15e5=>_0x3c15e5[_0x428892(0x464)]===_0x5c6b01);}['getDatasetMeta'](){return this['_datasetMeta'];}[a0_0x5456ff(0x337)](){const _0x2d1f49=a0_0x5456ff;return this[_0x2d1f49(0x352)];}[a0_0x5456ff(0x474)](){const _0x208d52=a0_0x5456ff;return this[_0x208d52(0x235)][_0x208d52(0x3ce)]||[];}[a0_0x5456ff(0x46f)](_0x415ab0){const _0x3b3305=a0_0x5456ff;return this[_0x3b3305(0x352)][_0x3b3305(0x2b7)](_0x2c0d4b=>_0x2c0d4b[_0x3b3305(0x2cf)]===_0x415ab0);}[a0_0x5456ff(0x2bf)](_0x53bf2f){const _0x2c2279=a0_0x5456ff;return this[_0x2c2279(0x352)][_0x2c2279(0x2e5)](_0x362668=>_0x362668[_0x2c2279(0x2cf)]===_0x53bf2f);}[a0_0x5456ff(0x250)](_0x56247f){const _0xff0e1d=a0_0x5456ff,_0x3840e8=this[_0xff0e1d(0x352)]['find'](_0x349415=>_0x349415['fromField']===_0x56247f);if(!_0x3840e8)return;const _0x4a810f={};return _0x4a810f[_0xff0e1d(0x3a7)]=_0x3840e8[_0xff0e1d(0x301)],_0x4a810f[_0xff0e1d(0x25c)]=_0x3840e8[_0xff0e1d(0x249)],_0x4a810f[_0xff0e1d(0x2f7)]=_0x3840e8[_0xff0e1d(0x2cd)],_0x4a810f[_0xff0e1d(0x42b)]=_0x3840e8[_0xff0e1d(0x46d)],_0x4a810f[_0xff0e1d(0x339)]=_0x3840e8[_0xff0e1d(0x339)],_0x4a810f;}['getForeignKeyFields'](){const _0x2b0662=a0_0x5456ff;return this[_0x2b0662(0x352)]['map'](_0x2a8363=>_0x2a8363[_0x2b0662(0x2cf)]);}[a0_0x5456ff(0x3e2)](){const _0x5417f4=a0_0x5456ff;if(!this[_0x5417f4(0x3fd)]){const _0xc89b41=this[_0x5417f4(0x39f)][_0x5417f4(0x341)]||[];this[_0x5417f4(0x3fd)]=new FieldListV2(_0xc89b41);}return this[_0x5417f4(0x3fd)];}[a0_0x5456ff(0x2db)](_0x34a8ca){const _0xfe9c3=a0_0x5456ff;if(typeof _0x34a8ca!=='string'){!![]&&console[_0xfe9c3(0x47e)](_0xfe9c3(0x470),_0x34a8ca);return;}return this[_0xfe9c3(0x3e2)]()[_0xfe9c3(0x283)](_0x34a8ca);}[a0_0x5456ff(0x27a)](_0x141592){const _0x41d5e0=a0_0x5456ff;if(!_0x141592||typeof _0x141592!==_0x41d5e0(0x39c))return![];const _0x5efd32=_0x141592['name']||_0x141592[_0x41d5e0(0x421)],_0x17d333=this[_0x41d5e0(0x2db)](_0x5efd32);return _0x17d333?_0x17d333['isMultipleSelect']():![];}[a0_0x5456ff(0x227)](){const _0x35a18b=a0_0x5456ff;if(!this['_operationList']){const _0x1c8bc4=this[_0x35a18b(0x416)](this[_0x35a18b(0x26a)]()||{});this[_0x35a18b(0x236)]=new OperationList(_0x1c8bc4,{'fields':this[_0x35a18b(0x3e2)]()[_0x35a18b(0x45c)](),'pkField':this[_0x35a18b(0x39f)][_0x35a18b(0x3a2)]?.['pkField'],'dbtableConfig':this[_0x35a18b(0x39f)][_0x35a18b(0x3a2)]||null});}return this[_0x35a18b(0x236)];}[a0_0x5456ff(0x2d9)](){const _0x5583a8=a0_0x5456ff,_0x1ced39=this[_0x5583a8(0x230)](_0x5583a8(0x2b7));return _0x1ced39;}['hasFilterOperation'](){const _0x2a5b3d=a0_0x5456ff;return this[_0x2a5b3d(0x258)](_0x2a5b3d(0x2b7));}[a0_0x5456ff(0x2a7)](){const _0x2f987f=a0_0x5456ff;return new DatasetItem({'id':this['id'],'name':this[_0x2f987f(0x464)],'datasetCode':this['datasetCode'],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x5456ff(0x210)](){const _0x3217db=a0_0x5456ff,_0x2f6bdd=this['_relations'][_0x3217db(0x46b)],_0x2013ec=this[_0x3217db(0x474)]()[_0x3217db(0x46b)];return _0x3217db(0x23e)+this[_0x3217db(0x464)]+',\x20'+this[_0x3217db(0x25c)]+',\x20'+this['getFieldCount']()+_0x3217db(0x404)+this[_0x3217db(0x245)]()+_0x3217db(0x225)+_0x2f6bdd+_0x3217db(0x2a9)+_0x2013ec+_0x3217db(0x269);}['getFieldsV2'](){const _0x5e2701=a0_0x5456ff;return this[_0x5e2701(0x39f)][_0x5e2701(0x341)];}[a0_0x5456ff(0x2c2)](_0x3d8910){const _0x30ff97=a0_0x5456ff;return this['_raw'][_0x30ff97(0x341)][_0x30ff97(0x283)](_0x25c44f=>_0x25c44f[_0x30ff97(0x464)]===_0x3d8910);}}function detectDatasetVersion(_0x541426){const _0x5ce68d=a0_0x5456ff;if(_0x541426[_0x5ce68d(0x274)]==='v2'&&_0x5ce68d(0x341)in _0x541426&&Array[_0x5ce68d(0x248)](_0x541426[_0x5ce68d(0x341)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x5456ff(0x3aa)];constructor(_0x45a918){const _0x39a7fb=a0_0x5456ff;super(_0x45a918);const _0x2ab81d=detectDatasetVersion(_0x45a918);this[_0x39a7fb(0x3aa)]=_0x2ab81d==='v2'?new DrivenDataDetailV2(_0x45a918):new DrivenDataDetailV1(_0x45a918);}get['id'](){return this['_instance']['id'];}get[a0_0x5456ff(0x464)](){const _0x1b408f=a0_0x5456ff;return this[_0x1b408f(0x3aa)]['name'];}get[a0_0x5456ff(0x25c)](){const _0x2dcc75=a0_0x5456ff;return this[_0x2dcc75(0x3aa)][_0x2dcc75(0x25c)];}get[a0_0x5456ff(0x29e)](){const _0x33a36a=a0_0x5456ff;return this[_0x33a36a(0x3aa)][_0x33a36a(0x307)]()==='v2'?_0x33a36a(0x319):'1.0';}[a0_0x5456ff(0x307)](){const _0x5789d8=a0_0x5456ff;return this[_0x5789d8(0x3aa)][_0x5789d8(0x307)]();}[a0_0x5456ff(0x1e3)](){return this['_instance']['id'];}[a0_0x5456ff(0x288)](){const _0x480c9f=a0_0x5456ff;return this[_0x480c9f(0x3aa)][_0x480c9f(0x25c)];}[a0_0x5456ff(0x432)](){return this['_instance']['name'];}[a0_0x5456ff(0x376)](){const _0x5f4b35=a0_0x5456ff;return this['_instance'][_0x5f4b35(0x376)]();}['getOperationsData'](){const _0x21961e=a0_0x5456ff;return this[_0x21961e(0x3aa)][_0x21961e(0x26a)]();}[a0_0x5456ff(0x3ee)](){const _0x58dce0=a0_0x5456ff;return this[_0x58dce0(0x3aa)][_0x58dce0(0x3ee)]();}[a0_0x5456ff(0x3cf)](){const _0x51d048=a0_0x5456ff;return this[_0x51d048(0x3aa)][_0x51d048(0x3cf)]();}['getFieldList'](){const _0x52743a=a0_0x5456ff;return this['_instance'][_0x52743a(0x387)]();}['getFieldsWithDeleted'](){const _0x12f3cb=a0_0x5456ff;return this[_0x12f3cb(0x3aa)]['getFieldsWithDeleted']();}[a0_0x5456ff(0x2fe)](){return this['_instance']['getFields']();}[a0_0x5456ff(0x354)](){const _0x29003a=a0_0x5456ff;return this['_instance'][_0x29003a(0x354)]();}[a0_0x5456ff(0x32d)](){const _0x57cf0c=a0_0x5456ff,_0x291de4=this[_0x57cf0c(0x3aa)][_0x57cf0c(0x1d6)]();return _0x291de4?.['pkField'];}[a0_0x5456ff(0x3d7)](){const _0x4b1974=a0_0x5456ff;return this[_0x4b1974(0x3aa)][_0x4b1974(0x3d7)]();}[a0_0x5456ff(0x2db)](_0x171820){const _0x2a0275=a0_0x5456ff;return this[_0x2a0275(0x3aa)][_0x2a0275(0x2db)](_0x171820);}['getPrimaryKeyFields'](){const _0x1c5847=a0_0x5456ff;return this[_0x1c5847(0x3aa)][_0x1c5847(0x2fc)]();}[a0_0x5456ff(0x1ec)](){const _0x9ac9c9=a0_0x5456ff;return this['_instance'][_0x9ac9c9(0x1ec)]();}[a0_0x5456ff(0x24a)](){const _0x51d23f=a0_0x5456ff;return this[_0x51d23f(0x3aa)][_0x51d23f(0x24a)]();}['getRequiredFields'](){return this['_instance']['getRequiredFields']();}['getFieldsByType'](){const _0x4ad50f=a0_0x5456ff;return this[_0x4ad50f(0x3aa)][_0x4ad50f(0x430)]();}[a0_0x5456ff(0x45f)](){const _0x2f7c30=a0_0x5456ff;return this[_0x2f7c30(0x3aa)][_0x2f7c30(0x45f)]();}['getEnumFieldsMeta'](){return this['_instance']['getEnumFieldsMeta']();}[a0_0x5456ff(0x2a2)](){const _0x32ca42=a0_0x5456ff;return this[_0x32ca42(0x3aa)][_0x32ca42(0x2a2)]();}[a0_0x5456ff(0x245)](){const _0x153851=a0_0x5456ff;return this[_0x153851(0x3aa)][_0x153851(0x245)]();}[a0_0x5456ff(0x3f2)](){const _0x25c322=a0_0x5456ff;return this[_0x25c322(0x3aa)][_0x25c322(0x3f2)]();}['getDisabledOperations'](){const _0x3c8cb6=a0_0x5456ff;return this[_0x3c8cb6(0x3aa)][_0x3c8cb6(0x237)]();}[a0_0x5456ff(0x34a)](){const _0x1d693e=a0_0x5456ff;return this[_0x1d693e(0x3aa)][_0x1d693e(0x34a)]();}['getDisabledOperationInstances'](){const _0x4b4fa4=a0_0x5456ff;return this['_instance'][_0x4b4fa4(0x475)]();}['getStats'](){const _0x5c8db2=a0_0x5456ff;return this[_0x5c8db2(0x3aa)][_0x5c8db2(0x21e)]();}[a0_0x5456ff(0x3e4)](){const _0x1dc89c=a0_0x5456ff;return this[_0x1dc89c(0x3aa)][_0x1dc89c(0x3e4)]();}[a0_0x5456ff(0x337)](){const _0x54f3b0=a0_0x5456ff;return this[_0x54f3b0(0x3aa)]['getRelations']();}[a0_0x5456ff(0x474)](){const _0xef4f3f=a0_0x5456ff;return this[_0xef4f3f(0x3aa)]['getIndexes']();}[a0_0x5456ff(0x1e7)](){const _0x8b20ef=a0_0x5456ff;return this[_0x8b20ef(0x3aa)][_0x8b20ef(0x1e7)]();}[a0_0x5456ff(0x30e)](){const _0x390cd3=a0_0x5456ff;return this['_instance'][_0x390cd3(0x30e)]();}[a0_0x5456ff(0x262)](){const _0x967330=a0_0x5456ff;return this['_instance'][_0x967330(0x262)]();}['getFilterOperation'](){const _0xc65279=a0_0x5456ff;return this[_0xc65279(0x3aa)]['getFilterOperation']();}[a0_0x5456ff(0x1f1)](){const _0x294416=a0_0x5456ff;return this[_0x294416(0x3aa)][_0x294416(0x1f1)]();}['toListItem'](){const _0x354318=a0_0x5456ff;return this['_instance'][_0x354318(0x2a7)]();}[a0_0x5456ff(0x210)](){const _0x2725a9=a0_0x5456ff;return this[_0x2725a9(0x3aa)]['toString']();}[a0_0x5456ff(0x277)](){const _0x17c62f=a0_0x5456ff;return this[_0x17c62f(0x3aa)];}}function detectDatasetVersion2(_0x2367ec){const _0x1feba2=a0_0x5456ff;if(_0x2367ec['doVersion']==='v2'&&_0x1feba2(0x341)in _0x2367ec&&Array['isArray'](_0x2367ec[_0x1feba2(0x341)]))return'v2';return'v1';}function createDrivenDataDetail(_0x270fa3,_0x5a7b0e={}){const {forceVersion:_0x5582f4}=_0x5a7b0e;if(_0x5582f4==='v2')return new DrivenDataDetailV2(_0x270fa3);if(_0x5582f4==='v1')return new DrivenDataDetailV1(_0x270fa3);const _0x4f6758=detectDatasetVersion2(_0x270fa3);if(_0x4f6758==='v2')return new DrivenDataDetailV2(_0x270fa3);return new DrivenDataDetailV1(_0x270fa3);}function isV2Data(_0xabd19e){return detectDatasetVersion2(_0xabd19e)==='v2';}function isV1Data(_0x25ec3a){return detectDatasetVersion2(_0x25ec3a)==='v1';}function isV2Instance(_0x119a14){return _0x119a14['getVersion']()==='v2';}function isV1Instance(_0x2d6cb8){return _0x2d6cb8['getVersion']()==='v1';}class DatasetGroup{[a0_0x5456ff(0x282)];constructor(_0x73853){const _0x56a7eb=a0_0x5456ff;this[_0x56a7eb(0x282)]=Array['isArray'](_0x73853)?[..._0x73853]:[_0x73853],this['items'][_0x56a7eb(0x27d)]((_0x38b88d,_0x252b69)=>{const _0x3f16c2=Number(_0x38b88d['id'])||0x0,_0x45da77=Number(_0x252b69['id'])||0x0;return _0x45da77-_0x3f16c2;});}[a0_0x5456ff(0x398)](){const _0x56f118=a0_0x5456ff;return this[_0x56f118(0x282)][_0x56f118(0x46b)]>0x1;}[a0_0x5456ff(0x47f)](){const _0x3edc08=a0_0x5456ff;return this[_0x3edc08(0x282)][0x0];}[a0_0x5456ff(0x348)](){const _0x1eeaac=a0_0x5456ff;return this[_0x1eeaac(0x282)][this[_0x1eeaac(0x282)][_0x1eeaac(0x46b)]-0x1];}[a0_0x5456ff(0x260)](){const _0x344f0a=a0_0x5456ff;return[...this[_0x344f0a(0x282)]];}['getCount'](){const _0x14a023=a0_0x5456ff;return this[_0x14a023(0x282)][_0x14a023(0x46b)];}['getAt'](_0x345b8b){const _0x128155=a0_0x5456ff;return this[_0x128155(0x282)][_0x345b8b];}['findById'](_0x1550f8){const _0x263976=a0_0x5456ff;return this[_0x263976(0x282)][_0x263976(0x283)](_0x1e1dfd=>_0x1e1dfd['id']===_0x1550f8);}[a0_0x5456ff(0x3a4)](_0xa3879e){const _0x189913=a0_0x5456ff;return this[_0x189913(0x282)][_0x189913(0x283)](_0x5d6e23=>_0x5d6e23[_0x189913(0x25c)]===_0xa3879e);}[a0_0x5456ff(0x38a)](){const _0x4656b7=a0_0x5456ff;return this[_0x4656b7(0x282)][_0x4656b7(0x418)](_0x4c2cb7=>_0x4c2cb7['id'])[_0x4656b7(0x2b7)](_0x1e7bc5=>_0x1e7bc5!==undefined);}[a0_0x5456ff(0x3f9)](){const _0x5665c2=a0_0x5456ff;return this['items'][_0x5665c2(0x418)](_0x9a4206=>_0x9a4206[_0x5665c2(0x25c)]);}[a0_0x5456ff(0x210)](){const _0x8d0357=a0_0x5456ff;if(this['hasConflict']())return _0x8d0357(0x420)+this['items'][_0x8d0357(0x46b)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x8d0357(0x47f)]()['name']+')';return'DatasetGroup('+this[_0x8d0357(0x282)][0x0][_0x8d0357(0x464)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x1281b1){const _0x5d9fc4=a0_0x5456ff;this[_0x5d9fc4(0x242)]=new Map();for(const _0x1cb965 of _0x1281b1){const _0x1ac4d1=getTableKey(_0x1cb965);if(!this['groups'][_0x5d9fc4(0x3a9)](_0x1ac4d1))this[_0x5d9fc4(0x242)]['set'](_0x1ac4d1,new DatasetGroup(_0x1cb965));else{const _0x5c31e5=this[_0x5d9fc4(0x242)][_0x5d9fc4(0x326)](_0x1ac4d1),_0x421ab1=[..._0x5c31e5[_0x5d9fc4(0x260)](),_0x1cb965];this[_0x5d9fc4(0x242)][_0x5d9fc4(0x270)](_0x1ac4d1,new DatasetGroup(_0x421ab1));}}}[a0_0x5456ff(0x326)](_0xb9fe3e){const _0x498586=a0_0x5456ff;return this[_0x498586(0x242)][_0x498586(0x326)](_0xb9fe3e);}[a0_0x5456ff(0x3a9)](_0x49c1c3){const _0x19b833=a0_0x5456ff;return this['groups'][_0x19b833(0x3a9)](_0x49c1c3);}get[a0_0x5456ff(0x1ee)](){const _0x50b82e=a0_0x5456ff;return this[_0x50b82e(0x242)][_0x50b82e(0x1ee)];}[a0_0x5456ff(0x35f)](){const _0x200464=a0_0x5456ff;return this[_0x200464(0x242)][_0x200464(0x35f)]();}[a0_0x5456ff(0x25d)](){const _0x239ddf=a0_0x5456ff;return this[_0x239ddf(0x242)][_0x239ddf(0x25d)]();}[a0_0x5456ff(0x2eb)](){const _0x51097c=a0_0x5456ff;return this[_0x51097c(0x242)][_0x51097c(0x2eb)]();}[Symbol[a0_0x5456ff(0x2d0)]](){return this['groups']['entries']();}[a0_0x5456ff(0x3b2)](_0x52f926){const _0x2673fb=a0_0x5456ff;this['groups'][_0x2673fb(0x3b2)]((_0x458172,_0x245f42)=>_0x52f926(_0x458172,_0x245f42,this));}[a0_0x5456ff(0x372)](){const _0x16a632=a0_0x5456ff,_0x5f5f26=new Map();for(const [_0x2f4074,_0x349dd1]of this[_0x16a632(0x242)]){_0x349dd1['hasConflict']()&&_0x5f5f26[_0x16a632(0x270)](_0x2f4074,_0x349dd1);}return _0x5f5f26;}[a0_0x5456ff(0x3f4)](){const _0x3144c7=a0_0x5456ff;for(const _0x347ad8 of this[_0x3144c7(0x242)][_0x3144c7(0x25d)]()){if(_0x347ad8[_0x3144c7(0x398)]())return!![];}return![];}[a0_0x5456ff(0x3d1)](){const _0x3d83df=a0_0x5456ff;let _0x4036b1=0x0,_0x2e5078=0x0;for(const _0x48ca76 of this[_0x3d83df(0x242)][_0x3d83df(0x25d)]()){_0x48ca76[_0x3d83df(0x398)]()&&(_0x4036b1++,_0x2e5078+=_0x48ca76[_0x3d83df(0x359)]());}const _0x53e03a={};return _0x53e03a[_0x3d83df(0x318)]=_0x4036b1,_0x53e03a[_0x3d83df(0x35c)]=_0x2e5078,_0x53e03a[_0x3d83df(0x32f)]=this[_0x3d83df(0x242)][_0x3d83df(0x1ee)],_0x53e03a;}[a0_0x5456ff(0x2c5)](){const _0x5196d8=a0_0x5456ff,_0x399df1=[];for(const _0x2d0ab3 of this['groups'][_0x5196d8(0x25d)]()){_0x399df1['push'](..._0x2d0ab3['getAll']());}return _0x399df1;}[a0_0x5456ff(0x37c)](){const _0x15b86e=a0_0x5456ff,_0x512b0a=[];for(const _0x5daaf8 of this['groups']['values']()){_0x512b0a[_0x15b86e(0x20f)](_0x5daaf8[_0x15b86e(0x47f)]());}return _0x512b0a;}[a0_0x5456ff(0x47f)](_0x12a589){const _0xdde0d=a0_0x5456ff;return this[_0xdde0d(0x242)]['get'](_0x12a589)?.[_0xdde0d(0x47f)]();}[a0_0x5456ff(0x260)](_0x38be3e){const _0x1925bf=a0_0x5456ff;return this[_0x1925bf(0x242)][_0x1925bf(0x326)](_0x38be3e)?.[_0x1925bf(0x260)]()||[];}['toConfig'](){const _0x34b703=a0_0x5456ff,_0x194a9e=this[_0x34b703(0x37c)](),_0x339ca6=_0x194a9e['map'](_0x3ef76b=>_0x3ef76b[_0x34b703(0x262)]()),_0x4abde8={};return _0x4abde8['enableDeduplication']=![],generateDatasetsConfig(_0x339ca6,_0x4abde8);}[a0_0x5456ff(0x349)](){const _0x16651f=a0_0x5456ff,_0xba1b52=this['getAllDatasets'](),_0x48af31=_0xba1b52[_0x16651f(0x418)](_0x480db6=>_0x480db6[_0x16651f(0x262)]());return generateFullDatasetsConfig(_0x48af31);}[a0_0x5456ff(0x2c3)](){const _0x409836={};for(const [_0x4f3e0c,_0x17211e]of this['groups']){_0x409836[_0x4f3e0c]=_0x17211e;}return _0x409836;}['toJSON'](){const _0x46256f=a0_0x5456ff,_0x1d50f5={};for(const [_0x2b0daa,_0x1b3cef]of this[_0x46256f(0x242)]){_0x1d50f5[_0x2b0daa]=_0x1b3cef[_0x46256f(0x260)]()[_0x46256f(0x418)](_0x256e0c=>_0x256e0c[_0x46256f(0x262)]());}return _0x1d50f5;}[a0_0x5456ff(0x210)](){const _0x4843f8=a0_0x5456ff;return'DatasetGroupMap('+this['groups'][_0x4843f8(0x1ee)]+'\x20groups,\x20'+(this[_0x4843f8(0x3f4)]()?_0x4843f8(0x2dd):_0x4843f8(0x3c6))+')';}}class DatasetList{['_datasetMap'];constructor(_0x49d2a3){const _0x512626=a0_0x5456ff;let _0x4164b1;if(Array['isArray'](_0x49d2a3))_0x4164b1=_0x49d2a3;else{if('success'in _0x49d2a3){if(!_0x49d2a3[_0x512626(0x3e8)])throw new Error(_0x512626(0x358));if(Array['isArray'](_0x49d2a3[_0x512626(0x3e3)]))_0x4164b1=_0x49d2a3[_0x512626(0x3e3)][_0x512626(0x418)](_0x3a0c8e=>({..._0x3a0c8e,'datasetCode':_0x3a0c8e['code']||_0x3a0c8e[_0x512626(0x25c)]}));else{if(_0x49d2a3[_0x512626(0x3e3)]?.[_0x512626(0x218)])_0x4164b1=_0x49d2a3['data'][_0x512626(0x218)][_0x512626(0x418)](_0x3228b5=>({..._0x3228b5,'datasetCode':_0x3228b5['code']||_0x3228b5[_0x512626(0x25c)]}));else throw new Error(_0x512626(0x435));}}else{if(_0x512626(0x218)in _0x49d2a3){if(!Array[_0x512626(0x248)](_0x49d2a3['tableData']))throw new Error(_0x512626(0x2c7));_0x4164b1=_0x49d2a3[_0x512626(0x218)][_0x512626(0x418)](_0x57b6ec=>({..._0x57b6ec,'datasetCode':_0x57b6ec[_0x512626(0x421)]||_0x57b6ec[_0x512626(0x25c)]}));}else throw new Error(_0x512626(0x3be));}}const _0x37b8be=cleanDatasetNames(_0x4164b1),_0xe2f60a=_0x37b8be[_0x512626(0x418)](_0x77753c=>new DatasetItem(_0x77753c));this[_0x512626(0x297)]=new DatasetGroupMap(_0xe2f60a);}get[a0_0x5456ff(0x1e6)](){const _0x31f042=a0_0x5456ff;return this[_0x31f042(0x297)];}[a0_0x5456ff(0x303)](){const _0x509a0d=a0_0x5456ff;return this[_0x509a0d(0x297)][_0x509a0d(0x2c5)]();}['getCount'](){const _0x4033c3=a0_0x5456ff;return this['getItems']()[_0x4033c3(0x46b)];}[a0_0x5456ff(0x2b4)](){const _0x269460=a0_0x5456ff;return this[_0x269460(0x297)][_0x269460(0x1ee)]===0x0;}[a0_0x5456ff(0x2a4)](_0x2a42c0){const _0x3b6061=a0_0x5456ff;return this[_0x3b6061(0x303)]()[_0x2a42c0];}[a0_0x5456ff(0x2e6)](){const _0x288b32=a0_0x5456ff;return this[_0x288b32(0x303)]()[0x0];}['getLast'](){const _0x62fb44=this['getItems']();return _0x62fb44[_0x62fb44['length']-0x1];}[a0_0x5456ff(0x3a4)](_0x8c3eb0){const _0x1a174c=a0_0x5456ff;for(const _0x58102a of this[_0x1a174c(0x297)][_0x1a174c(0x25d)]()){const _0x223dd6=_0x58102a[_0x1a174c(0x3a4)](_0x8c3eb0);if(_0x223dd6)return _0x223dd6;}return;}[a0_0x5456ff(0x2ec)](_0x5abf40){const _0x397813=a0_0x5456ff;return this[_0x397813(0x303)]()[_0x397813(0x283)](_0x632fdd=>_0x632fdd[_0x397813(0x464)]===_0x5abf40);}[a0_0x5456ff(0x2b0)](_0x47d572){const _0x532b0a=a0_0x5456ff;for(const _0x1bf8ea of this[_0x532b0a(0x297)][_0x532b0a(0x25d)]()){const _0x20083c=_0x1bf8ea['findById'](_0x47d572);if(_0x20083c)return _0x20083c;}return;}[a0_0x5456ff(0x2da)](_0x49fe47){const _0x331a98=a0_0x5456ff,_0x36d3e9=getTableKey(_0x49fe47);return this[_0x331a98(0x297)][_0x331a98(0x47f)](_0x36d3e9);}['filter'](_0xed823e){const _0x11eeb2=a0_0x5456ff,_0x57f473=this[_0x11eeb2(0x303)]()[_0x11eeb2(0x2b7)](_0xed823e);return new DatasetList(_0x57f473[_0x11eeb2(0x418)](_0x410ee6=>_0x410ee6[_0x11eeb2(0x262)]()));}['findAll'](_0x3b2ef1){const _0x2d0330=a0_0x5456ff;return this[_0x2d0330(0x303)]()[_0x2d0330(0x2b7)](_0x3b2ef1);}['forEach'](_0x3b90b7){const _0x1cc1fb=a0_0x5456ff;this['getItems']()[_0x1cc1fb(0x3b2)](_0x3b90b7);}['map'](_0x34503f){const _0x1bce57=a0_0x5456ff;return this[_0x1bce57(0x303)]()['map'](_0x34503f);}[Symbol['iterator']](){const _0x4e1d69=a0_0x5456ff;return this['getItems']()[Symbol[_0x4e1d69(0x2d0)]]();}['getVirtualTables'](){const _0x4cce2f=a0_0x5456ff;return this[_0x4cce2f(0x303)]()[_0x4cce2f(0x2b7)](_0x1d8cb6=>_0x1d8cb6[_0x4cce2f(0x25e)]());}[a0_0x5456ff(0x468)](){const _0x34f76c=a0_0x5456ff;return this[_0x34f76c(0x303)]()[_0x34f76c(0x2b7)](_0x33adf5=>!_0x33adf5[_0x34f76c(0x25e)]());}[a0_0x5456ff(0x456)](){const _0x5b0bda=a0_0x5456ff,_0x3c8665={};for(const _0x313d77 of this[_0x5b0bda(0x297)][_0x5b0bda(0x25d)]()){const _0x2713c9=_0x313d77[_0x5b0bda(0x47f)]()[_0x5b0bda(0x36a)]();_0x3c8665[_0x2713c9]=_0x313d77[_0x5b0bda(0x260)]();}return _0x3c8665;}[a0_0x5456ff(0x40d)](){const _0x5cb274=a0_0x5456ff,_0x57e94c={};for(const _0x484a43 of this[_0x5cb274(0x297)][_0x5cb274(0x372)]()[_0x5cb274(0x25d)]()){const _0x6bcdab=_0x484a43[_0x5cb274(0x47f)]()[_0x5cb274(0x36a)]();_0x57e94c[_0x6bcdab]=_0x484a43[_0x5cb274(0x260)]()[_0x5cb274(0x418)](_0x129a96=>_0x129a96['toJSON']());}return{'hasConflicts':Object[_0x5cb274(0x35f)](_0x57e94c)[_0x5cb274(0x46b)]>0x0,'conflicts':_0x57e94c};}[a0_0x5456ff(0x3f4)](){const _0x5ea920=a0_0x5456ff;return this[_0x5ea920(0x297)][_0x5ea920(0x3f4)]();}[a0_0x5456ff(0x1f6)](){const _0x4b8e0e=a0_0x5456ff,_0x4d9fa5=[];for(const _0x418cb5 of this[_0x4b8e0e(0x297)][_0x4b8e0e(0x372)]()['values']()){_0x4d9fa5['push'](..._0x418cb5['getAll']());}return _0x4d9fa5;}['generateConfig'](_0x10d994){const _0xc4c325=a0_0x5456ff;if(!_0x10d994||Object[_0xc4c325(0x35f)](_0x10d994)['length']===0x0)return this[_0xc4c325(0x1e6)]['toConfig']();const _0x511b9c=this[_0xc4c325(0x303)]()[_0xc4c325(0x418)](_0x33fd30=>_0x33fd30[_0xc4c325(0x262)]());return generateDatasetsConfig(_0x511b9c,_0x10d994);}['generateConfigArray'](_0x50bea3){const _0x265818=this['generateConfig'](_0x50bea3);return datasetsConfigToArray(_0x265818);}[a0_0x5456ff(0x3ab)](){const _0x2848b0=a0_0x5456ff;return this[_0x2848b0(0x303)]()['map'](_0x3d9c53=>_0x3d9c53['toConfig']());}[a0_0x5456ff(0x21e)](){const _0xa6a89=a0_0x5456ff;return{'total':this[_0xa6a89(0x359)](),'virtualTables':this[_0xa6a89(0x202)]()[_0xa6a89(0x46b)],'realTables':this[_0xa6a89(0x468)]()[_0xa6a89(0x46b)],'hasConflicts':this[_0xa6a89(0x3f4)](),'conflictCount':this[_0xa6a89(0x1f6)]()[_0xa6a89(0x46b)]};}[a0_0x5456ff(0x20c)](){const _0x30264b=a0_0x5456ff;return this[_0x30264b(0x303)]()[_0x30264b(0x418)](_0x20e714=>_0x20e714['toJSON']());}['toJSON'](){const _0x5ef820=a0_0x5456ff;return this[_0x5ef820(0x20c)]();}['toString'](){const _0x23a0c0=a0_0x5456ff;return'DatasetList('+this[_0x23a0c0(0x359)]()+_0x23a0c0(0x30a)+this[_0x23a0c0(0x297)][_0x23a0c0(0x1ee)]+_0x23a0c0(0x305);}static[a0_0x5456ff(0x2d5)](_0x54760c){return new DatasetList(_0x54760c);}static[a0_0x5456ff(0x2e7)](_0x8a3435){return new DatasetList(_0x8a3435);}static[a0_0x5456ff(0x43f)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x5456ff(0x261);function renderTemplate(_0x4c2af1,_0x4ca15b,_0x4675ae={}){const _0x30297a=a0_0x5456ff;let _0x214e02=_0x4c2af1;return Object['entries'](_0x4675ae)['forEach'](([_0x472440,_0x1eacda])=>{const _0x2dd222=a0_0x2d67,_0x244006=new RegExp(_0x2dd222(0x3de)+_0x472440+_0x2dd222(0x1d9),'g');_0x214e02=_0x214e02['replace'](_0x244006,_0x1eacda?'$1':'');}),Object[_0x30297a(0x2eb)](_0x4ca15b)[_0x30297a(0x3b2)](([_0x223932,_0x2ab1c3])=>{const _0x447ab2=_0x30297a;if(_0x2ab1c3!==undefined){const _0x494795=new RegExp(_0x447ab2(0x410)+_0x223932+_0x447ab2(0x375),'g');_0x214e02=_0x214e02[_0x447ab2(0x276)](_0x494795,_0x2ab1c3);}}),_0x214e02;}function generateSDKInitCode(_0xd19437,_0x5c73d6,_0x5721f5,_0x19daf2,_0x1ff26a){const _0x4756f8=a0_0x5456ff,_0x55a03a={};_0x55a03a['appCode']=_0xd19437,_0x55a03a['datasetCode']=_0x5c73d6,_0x55a03a[_0x4756f8(0x433)]=_0x5721f5,_0x55a03a[_0x4756f8(0x1f7)]=_0x19daf2==='daily'?'daily':undefined;const _0x4a709c={};return _0x4a709c['env']=_0x19daf2!==undefined&&_0x19daf2!==_0x4756f8(0x286),_0x4a709c[_0x4756f8(0x3d4)]=_0x1ff26a===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x55a03a,_0x4a709c);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x5456ff(0x299);function generateAliasExplanation(_0x10b5f8,_0x21cb22,_0x5b490a,_0x310801){const _0x190488=a0_0x5456ff,_0x5014c6=_0x190488(0x253)+_0x10b5f8,_0x217a78=_0x190488(0x1f5),_0x38dc7c={};return _0x38dc7c[_0x190488(0x25c)]=_0x10b5f8,_0x38dc7c[_0x190488(0x388)]=_0x5014c6,_0x38dc7c['tableName']=_0x21cb22,_0x38dc7c[_0x190488(0x433)]=_0x5b490a,_0x38dc7c[_0x190488(0x441)]=_0x310801,_0x38dc7c[_0x190488(0x1fc)]=_0x217a78,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x38dc7c,{});}function DrivenDataDetailPlusMixin(_0x5e0c89){const _0x3b4e85=a0_0x5456ff;return class _0x157c6b extends _0x5e0c89{[_0x3b4e85(0x1fa)](_0x4f9112){const _0x4c2aa9=_0x3b4e85;return{'appCode':_0x4f9112,'datasetSDKKey':this[_0x4c2aa9(0x35b)](),'alias':this[_0x4c2aa9(0x459)](),'tableName':this[_0x4c2aa9(0x36a)](),'datasetCode':this[_0x4c2aa9(0x25c)]};}[_0x3b4e85(0x3d9)](_0x160de3,_0x2d4e36=_0x3b4e85(0x286),_0x2bb46d=![]){const _0x2dbc48=_0x3b4e85;return generateSDKInitCode(_0x160de3,this[_0x2dbc48(0x25c)],this[_0x2dbc48(0x459)](),_0x2d4e36===_0x2dbc48(0x41c)?_0x2d4e36:undefined,_0x2bb46d);}['generateFullSDKExample'](_0x74eb65,_0x44d225,_0x20f846={}){const _0x443fbd=_0x3b4e85,_0x157027=this[_0x443fbd(0x2a2)]()[_0x443fbd(0x283)](_0x7b890e=>_0x7b890e['getName']()===_0x74eb65);if(!_0x157027)return null;const _0x1f5b8c={};_0x1f5b8c[_0x443fbd(0x233)]=_0x20f846[_0x443fbd(0x44d)]!==![];const _0x5e96b3=this[_0x443fbd(0x406)](_0x74eb65,_0x1f5b8c);if(!_0x5e96b3)return null;const _0x799f5a=[];return _0x799f5a[_0x443fbd(0x20f)](_0x443fbd(0x313)+_0x157027[_0x443fbd(0x432)]()+_0x443fbd(0x481)),_0x799f5a[_0x443fbd(0x20f)](_0x5e96b3['sdkCall']['code']),_0x799f5a[_0x443fbd(0x20f)](''),_0x20f846[_0x443fbd(0x37a)]!==![]&&(_0x799f5a['push'](_0x443fbd(0x413)),_0x799f5a[_0x443fbd(0x20f)](_0x5e96b3[_0x443fbd(0x24f)][_0x443fbd(0x290)]),_0x799f5a[_0x443fbd(0x20f)](''),_0x799f5a[_0x443fbd(0x20f)](_0x5e96b3[_0x443fbd(0x24f)][_0x443fbd(0x1e1)])),_0x799f5a[_0x443fbd(0x396)]('\x0a');}[_0x3b4e85(0x1d4)](_0x1ccd87={}){const _0x24adf5=_0x3b4e85,_0x1fcaf6=this[_0x24adf5(0x36b)](),_0x58b7b0=[];return _0x1fcaf6['forEach']((_0x574d1e,_0x4b9395)=>{const _0xb4d26e=_0x24adf5,_0x29086b=this['generateFullSDKExample'](_0x574d1e[_0xb4d26e(0x464)],_0xb4d26e(0x40c),_0x1ccd87);_0x29086b&&(_0x58b7b0[_0xb4d26e(0x20f)](_0xb4d26e(0x43d)+(_0x4b9395+0x1)+'.\x20'+_0x574d1e['displayName']),_0x58b7b0[_0xb4d26e(0x20f)](_0x29086b),_0x58b7b0[_0xb4d26e(0x20f)](''));}),_0x58b7b0['join']('\x0a');}[_0x3b4e85(0x1dc)](_0xece1d6){const _0x461881=_0x3b4e85,_0x69081c=this[_0x461881(0x300)](_0xece1d6);if(!_0x69081c)return null;const _0x2a5bb4={};return _0x2a5bb4[_0x461881(0x464)]=_0x69081c[_0x461881(0x464)],_0x2a5bb4[_0x461881(0x27f)]=_0x69081c[_0x461881(0x27f)],_0x2a5bb4[_0x461881(0x443)]=_0x69081c[_0x461881(0x443)],_0x2a5bb4['path']=_0x69081c['path'],_0x2a5bb4[_0x461881(0x316)]=_0x69081c[_0x461881(0x316)],_0x2a5bb4[_0x461881(0x38e)]=_0x69081c[_0x461881(0x3ec)][_0x461881(0x46b)],_0x2a5bb4['hasResponseSchema']=_0x69081c[_0x461881(0x31e)]!==null,_0x2a5bb4;}[_0x3b4e85(0x2ff)](_0x4a6bcc={}){const _0x244580=_0x3b4e85,_0x196ac9=this[_0x244580(0x36b)]();return{'datasetName':this['name'],'datasetCode':this[_0x244580(0x25c)],'tableName':this['getTableName'](),'totalOperations':_0x196ac9[_0x244580(0x46b)],'operations':_0x196ac9[_0x244580(0x418)](_0x2edee7=>({'name':_0x2edee7[_0x244580(0x464)],'displayName':_0x2edee7[_0x244580(0x27f)],'method':_0x2edee7['method'],'enabled':_0x2edee7[_0x244580(0x316)]}))};}[_0x3b4e85(0x1dd)](_0x313daa){const _0x40c3fc=_0x3b4e85,_0x8a1cb3=this[_0x40c3fc(0x300)](_0x313daa);if(!_0x8a1cb3)return[];return _0x8a1cb3[_0x40c3fc(0x3ec)][_0x40c3fc(0x418)](_0x5325d9=>{const _0x4bd2f3=_0x40c3fc,_0x50896f=this['getFieldInstance'](_0x5325d9);if(!_0x50896f)return null;const _0x486652={};return _0x486652[_0x4bd2f3(0x421)]=_0x5325d9,_0x486652[_0x4bd2f3(0x464)]=_0x50896f[_0x4bd2f3(0x464)]||_0x5325d9,_0x486652;})['filter'](_0x1b3bb1=>_0x1b3bb1!==null);}['getMissingCRUDOperations'](){const _0x341c00=_0x3b4e85,_0x5b57d3=new Set(this[_0x341c00(0x36b)]()['map'](_0x52ade8=>String(_0x52ade8[_0x341c00(0x39e)]))),_0x3a5684=['create',_0x341c00(0x42d),'update',_0x341c00(0x422)];return _0x3a5684[_0x341c00(0x2b7)](_0x3ef3c4=>!_0x5b57d3[_0x341c00(0x3a9)](String(_0x3ef3c4)));}[_0x3b4e85(0x2a1)](_0x586937='demo-app'){const _0x45ffee=_0x3b4e85;return generateAliasExplanation(this[_0x45ffee(0x25c)],this['getTableName'](),this['getModelAlias'](),_0x586937);}};}function operationToAnalysis(_0xb34a49){const _0x2c3f70=a0_0x5456ff;return{'name':_0xb34a49['getName'](),'displayName':_0xb34a49[_0x2c3f70(0x3bd)](),'type':_0xb34a49[_0x2c3f70(0x1e5)](),'method':_0xb34a49[_0x2c3f70(0x334)](),'path':_0xb34a49[_0x2c3f70(0x1ff)](),'fullUrl':_0xb34a49['getFullUrl'](),'requestFields':_0xb34a49[_0x2c3f70(0x306)](),'requestParams':_0xb34a49[_0x2c3f70(0x32c)](),'responseSchema':_0xb34a49['getResponseSchema'](),'requestExample':_0xb34a49[_0x2c3f70(0x408)](),'responseExample':_0xb34a49[_0x2c3f70(0x2de)](),'enabled':_0xb34a49['isEnabled']()};}function operationsToAnalyses(_0xce7396){const _0x2452ab=a0_0x5456ff;if(!Array[_0x2452ab(0x248)](_0xce7396))return!![]&&console[_0x2452ab(0x47e)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0xce7396),[];return _0xce7396[_0x2452ab(0x418)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x4e9db3){const _0x22403f=a0_0x5456ff,_0x4df2e8=_0x4e9db3[_0x22403f(0x283)](_0x22b2d8=>_0x22b2d8['name']===_0x22403f(0x2b7)),_0x2889ad=_0x4e9db3['filter'](_0x445ec4=>_0x445ec4[_0x22403f(0x464)]!=='filter');return _0x4df2e8?[_0x4df2e8,..._0x2889ad]:_0x2889ad;}function filterOperationAnalyses(_0x4f36d8,_0x168057={}){const _0x4c23e6=a0_0x5456ff;let _0x43a9a1=_0x4f36d8;return!_0x168057[_0x4c23e6(0x23c)]&&(_0x43a9a1=_0x43a9a1['filter'](_0x34fb91=>_0x34fb91[_0x4c23e6(0x316)])),_0x168057[_0x4c23e6(0x330)]!==![]&&(_0x43a9a1=filterApiOperations(_0x43a9a1)),_0x168057[_0x4c23e6(0x1ed)]&&(_0x43a9a1=_0x43a9a1[_0x4c23e6(0x2b7)](_0x168057['customFilter'])),sortOperationsWithFilterFirst(_0x43a9a1);}function getOperationStats(_0x1d1e9a){const _0x58e0b4=a0_0x5456ff,_0x139769=_0x1d1e9a['filter'](_0x25d2ea=>_0x25d2ea[_0x58e0b4(0x316)]);return{'total':_0x1d1e9a[_0x58e0b4(0x46b)],'enabled':_0x139769[_0x58e0b4(0x46b)],'disabled':_0x1d1e9a[_0x58e0b4(0x46b)]-_0x139769[_0x58e0b4(0x46b)],'byType':getCountByType(_0x139769),'byMethod':getCountByMethod(_0x139769)};}function getCountByType(_0x417ad4){const _0x4caddd=a0_0x5456ff,_0x22d843={};return _0x417ad4[_0x4caddd(0x3b2)](_0x3af6f3=>{const _0x131a90=_0x4caddd;if(_0x3af6f3['type'])_0x22d843[_0x3af6f3[_0x131a90(0x39e)]]=(_0x22d843[_0x3af6f3[_0x131a90(0x39e)]]||0x0)+0x1;}),_0x22d843;}function getCountByMethod(_0x3f1140){const _0x2aeb89=a0_0x5456ff,_0x32118a={};return _0x3f1140[_0x2aeb89(0x3b2)](_0x4e8136=>{const _0x4d9de0=_0x2aeb89;_0x32118a[_0x4e8136['method']]=(_0x32118a[_0x4e8136[_0x4d9de0(0x443)]]||0x0)+0x1;}),_0x32118a;}function supportsCRUD(_0x409036){const _0x1cfbe=a0_0x5456ff,_0x217f40=new Set(_0x409036[_0x1cfbe(0x418)](_0x2e65eb=>_0x2e65eb['type'])[_0x1cfbe(0x2b7)](Boolean));return _0x217f40[_0x1cfbe(0x3a9)]('create')&&_0x217f40['has'](_0x1cfbe(0x42d))&&_0x217f40[_0x1cfbe(0x3a9)](_0x1cfbe(0x2ea))&&_0x217f40[_0x1cfbe(0x3a9)](_0x1cfbe(0x422));}function createOperationDocMeta(_0x537d18,_0x4a1dd5,_0x1b3ced,_0x4222f9,_0x1801b8,_0x355e61){const _0x10baa0=a0_0x5456ff,_0xbf03f8={};return _0xbf03f8[_0x10baa0(0x233)]=_0x355e61?.[_0x10baa0(0x233)],{'operation':_0x537d18,'operationInstance':_0x4a1dd5,'basicInfo':{'name':_0x537d18[_0x10baa0(0x464)],'displayName':_0x537d18['displayName'],'method':_0x537d18[_0x10baa0(0x443)],'path':_0x537d18['path'],'fullUrl':_0x537d18['fullUrl'],'enabled':_0x537d18['enabled']},'sdkCall':{'datasetCode':_0x1b3ced,'datasetSDKKey':_0x4222f9,'tableName':_0x1801b8,'operationName':_0x537d18[_0x10baa0(0x464)],'params':_0x537d18[_0x10baa0(0x3ec)],'code':_0x4a1dd5[_0x10baa0(0x367)](_0x4222f9,_0xbf03f8)},'usageExample':_0x4a1dd5[_0x10baa0(0x444)](_0x4222f9)};}function createOperationsOverviewData(_0x6281b4){const _0x4077be=a0_0x5456ff,_0x1c6766={};_0x1c6766[_0x4077be(0x2d2)]=_0x4077be(0x464),_0x1c6766[_0x4077be(0x2d1)]='接口名称';const _0x3708bf={};_0x3708bf['index']=_0x4077be(0x27f),_0x3708bf['label']=_0x4077be(0x384);const _0x16edd0={};_0x16edd0[_0x4077be(0x2d2)]=_0x4077be(0x443),_0x16edd0[_0x4077be(0x2d1)]='方法';const _0x341e48={};_0x341e48[_0x4077be(0x2d2)]='sdkCall',_0x341e48[_0x4077be(0x2d1)]=_0x4077be(0x1e8);const _0x338814={};_0x338814[_0x4077be(0x2d2)]=_0x4077be(0x403),_0x338814[_0x4077be(0x2d1)]='API路径';const _0x239330={};_0x239330[_0x4077be(0x2d2)]=_0x4077be(0x455),_0x239330['label']=_0x4077be(0x2a6);const _0x49fcfb=[_0x1c6766,_0x3708bf,_0x16edd0,_0x341e48,_0x338814,_0x239330],_0x183067=_0x6281b4[_0x4077be(0x418)](_0x37ef77=>{const _0x8f1772=_0x4077be,{basicInfo:_0x606965,sdkCall:_0x4724ff}=_0x37ef77,_0x2995b8=_0x4724ff[_0x8f1772(0x421)][_0x8f1772(0x276)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x8f1772(0x276)](/;$/,''),_0x3d8e24={};return _0x3d8e24[_0x8f1772(0x27f)]=_0x606965[_0x8f1772(0x27f)],_0x3d8e24[_0x8f1772(0x464)]=_0x606965['name'],_0x3d8e24[_0x8f1772(0x443)]=_0x606965[_0x8f1772(0x443)],_0x3d8e24[_0x8f1772(0x403)]=_0x606965[_0x8f1772(0x403)],_0x3d8e24[_0x8f1772(0x2f8)]=_0x2995b8,_0x3d8e24['sdkCallCode']=_0x4724ff[_0x8f1772(0x421)],_0x3d8e24;}),_0x126846={};return _0x126846[_0x4077be(0x47a)]=_0x49fcfb,_0x126846[_0x4077be(0x218)]=_0x183067,_0x126846;}function createDatasetDocMeta(_0x3ee037,_0x533b5d,_0x999ebb,_0x385b2f,_0x21e4ce,_0x505e58,_0x324346,_0x792eed,_0x12125c){const _0x17ec04=a0_0x5456ff,_0x43e44a={};return _0x43e44a[_0x17ec04(0x2be)]=_0x3ee037+_0x17ec04(0x34d),_0x43e44a[_0x17ec04(0x2f5)]={},_0x43e44a['operations']=_0x12125c,_0x43e44a[_0x17ec04(0x2f5)]['name']=_0x3ee037,_0x43e44a[_0x17ec04(0x2f5)]['code']=_0x533b5d,_0x43e44a[_0x17ec04(0x2f5)]['tableName']=_0x999ebb,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x388)]=_0x385b2f,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x3ba)]=_0x21e4ce,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x3c0)]=_0x505e58,_0x43e44a[_0x17ec04(0x2f5)]['fieldCount']=_0x324346,_0x43e44a[_0x17ec04(0x2f5)]['businessFieldCount']=0x0,_0x43e44a[_0x17ec04(0x2f5)]['systemFieldCount']=0x0,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x29b)]=_0x792eed,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x44a)]=_0x12125c[_0x17ec04(0x46b)],_0x43e44a;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}[a0_0x5456ff(0x459)](){const _0x4a245a=a0_0x5456ff;return this[_0x4a245a(0x30c)]();}[a0_0x5456ff(0x2e0)](_0x5b424a=![]){const _0x4e7911=a0_0x5456ff;if(!_0x5b424a&&this['_operationAnalyses'])return this[_0x4e7911(0x2b6)];const _0x49588e=this[_0x4e7911(0x2a2)]();return this[_0x4e7911(0x2b6)]=operationsToAnalyses(_0x49588e),this['_operationAnalyses'];}['getEnabledOperationAnalyses'](){const _0x596378={};return _0x596378['includeDisabled']=![],_0x596378['filterBlacklist']=!![],this['getFilteredOperationAnalyses'](_0x596378);}['getFilteredOperationAnalyses'](_0x503bcb={}){const _0x25c1c4=a0_0x5456ff;return filterOperationAnalyses(this[_0x25c1c4(0x2e0)](),_0x503bcb);}[a0_0x5456ff(0x300)](_0x2633e7){const _0x42060e=a0_0x5456ff;return this[_0x42060e(0x2e0)]()[_0x42060e(0x283)](_0x116588=>_0x116588[_0x42060e(0x464)]===_0x2633e7);}[a0_0x5456ff(0x3f0)](_0x5c5e87){const _0x224020=a0_0x5456ff;return this[_0x224020(0x2e0)]()[_0x224020(0x2b7)](_0x3b424c=>_0x3b424c[_0x224020(0x39e)]===_0x5c5e87);}[a0_0x5456ff(0x406)](_0x34f69b,_0x41ac9c){const _0x1b9964=a0_0x5456ff,_0x3a4781=this[_0x1b9964(0x300)](_0x34f69b);if(!_0x3a4781)return null;const _0x47836b=this[_0x1b9964(0x2a2)]()[_0x1b9964(0x283)](_0x30a807=>_0x30a807[_0x1b9964(0x432)]()===_0x3a4781[_0x1b9964(0x464)]);if(!_0x47836b)throw new Error('Operation\x20not\x20found:\x20'+_0x3a4781[_0x1b9964(0x464)]);return createOperationDocMeta(_0x3a4781,_0x47836b,this['datasetCode'],this[_0x1b9964(0x35b)](),this[_0x1b9964(0x36a)](),_0x41ac9c);}[a0_0x5456ff(0x3e7)](_0x34afc6={}){const _0x4b788e=a0_0x5456ff,_0x377055=this[_0x4b788e(0x377)](_0x34afc6),_0x5859a4=_0x377055[_0x4b788e(0x418)](_0x1f072b=>this[_0x4b788e(0x406)](_0x1f072b[_0x4b788e(0x464)]))[_0x4b788e(0x2b7)](_0x5cee43=>_0x5cee43!==null);return createDatasetDocMeta(this[_0x4b788e(0x464)],this[_0x4b788e(0x25c)],this[_0x4b788e(0x36a)](),this[_0x4b788e(0x35b)](),this[_0x4b788e(0x30c)](),this[_0x4b788e(0x3c0)],this[_0x4b788e(0x354)](),this[_0x4b788e(0x245)](),_0x5859a4);}[a0_0x5456ff(0x231)](_0x595ab0){return createOperationsOverviewData(_0x595ab0);}[a0_0x5456ff(0x314)](){const _0x5b9c29=a0_0x5456ff;return supportsCRUD(this[_0x5b9c29(0x36b)]());}['getOperationStats'](){return getOperationStats(this['getOperationAnalyses']());}['toString'](){const _0x2c7a95=a0_0x5456ff,_0x5ba60a=this[_0x2c7a95(0x31c)]();return _0x2c7a95(0x3d6)+this[_0x2c7a95(0x464)]+',\x20'+this['datasetCode']+',\x20'+this[_0x2c7a95(0x354)]()+'\x20fields,\x20'+_0x5ba60a[_0x2c7a95(0x316)]+'/'+_0x5ba60a[_0x2c7a95(0x20a)]+_0x2c7a95(0x480);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x5456ff(0x2b6)];[a0_0x5456ff(0x307)](){return'v2';}[a0_0x5456ff(0x459)](){const _0x4d624f=a0_0x5456ff;return this[_0x4d624f(0x30c)]();}['getOperationAnalyses'](_0x51c987=![]){const _0x5087d3=a0_0x5456ff;if(!_0x51c987&&this[_0x5087d3(0x2b6)])return this['_operationAnalyses'];const _0x51bc51=this[_0x5087d3(0x2a2)]();return this[_0x5087d3(0x2b6)]=operationsToAnalyses(_0x51bc51),this[_0x5087d3(0x2b6)];}[a0_0x5456ff(0x36b)](){const _0x126604=a0_0x5456ff,_0xfb95af={};return _0xfb95af['includeDisabled']=![],_0xfb95af[_0x126604(0x330)]=!![],this[_0x126604(0x377)](_0xfb95af);}[a0_0x5456ff(0x377)](_0x5de855={}){const _0x14c88a=a0_0x5456ff;return filterOperationAnalyses(this[_0x14c88a(0x2e0)](),_0x5de855);}[a0_0x5456ff(0x300)](_0x5259e8){const _0x4551f9=a0_0x5456ff;return this[_0x4551f9(0x2e0)]()[_0x4551f9(0x283)](_0x5c3b61=>_0x5c3b61[_0x4551f9(0x464)]===_0x5259e8);}[a0_0x5456ff(0x3f0)](_0x34b35b){const _0x363eb2=a0_0x5456ff;return this[_0x363eb2(0x2e0)]()[_0x363eb2(0x2b7)](_0x24fab2=>_0x24fab2[_0x363eb2(0x39e)]===_0x34b35b);}['getOperationDocMeta'](_0x25a948,_0x32a445){const _0x4e70ce=a0_0x5456ff,_0x480a4f=this[_0x4e70ce(0x300)](_0x25a948);if(!_0x480a4f)return null;const _0x3de5de=this['getOperations']()[_0x4e70ce(0x283)](_0x3967b4=>_0x3967b4[_0x4e70ce(0x432)]()===_0x480a4f[_0x4e70ce(0x464)]);if(!_0x3de5de)throw new Error(_0x4e70ce(0x3a5)+_0x480a4f[_0x4e70ce(0x464)]);return createOperationDocMeta(_0x480a4f,_0x3de5de,this['datasetCode'],this['getDatasetSDKKey'](),this[_0x4e70ce(0x36a)](),_0x32a445);}['getDatasetDocMeta'](_0x312850={}){const _0x3cf9be=a0_0x5456ff,_0x4ec1f3=this[_0x3cf9be(0x377)](_0x312850),_0x6b551d=_0x4ec1f3[_0x3cf9be(0x418)](_0x468233=>this[_0x3cf9be(0x406)](_0x468233['name']))['filter'](_0x439a07=>_0x439a07!==null);return createDatasetDocMeta(this['name'],this[_0x3cf9be(0x25c)],this[_0x3cf9be(0x36a)](),this[_0x3cf9be(0x35b)](),this['getTableKey'](),this[_0x3cf9be(0x3c0)],this[_0x3cf9be(0x354)](),this[_0x3cf9be(0x245)](),_0x6b551d);}[a0_0x5456ff(0x231)](_0x5cad8e){return createOperationsOverviewData(_0x5cad8e);}[a0_0x5456ff(0x314)](){const _0x47cd02=a0_0x5456ff;return supportsCRUD(this[_0x47cd02(0x36b)]());}['getOperationStats'](){const _0x50e89c=a0_0x5456ff;return getOperationStats(this[_0x50e89c(0x2e0)]());}[a0_0x5456ff(0x210)](){const _0x2f8be5=a0_0x5456ff,_0xe82fee=this[_0x2f8be5(0x31c)]();return'DrivenDataDetailPlusV2('+this[_0x2f8be5(0x464)]+',\x20'+this['datasetCode']+',\x20'+this[_0x2f8be5(0x354)]()+_0x2f8be5(0x404)+_0xe82fee[_0x2f8be5(0x316)]+'/'+_0xe82fee['total']+'\x20operations,\x20v2)';}}function a0_0x2d67(_0x548578,_0x1b278d){_0x548578=_0x548578-0x1cf;const _0xbb4d91=a0_0xbb4d();let _0x2d6732=_0xbb4d91[_0x548578];return _0x2d6732;}function detectDatasetVersion3(_0x595e19){const _0x5b6ad5=a0_0x5456ff;if(_0x595e19['doVersion']==='v2'&&_0x5b6ad5(0x341)in _0x595e19&&Array[_0x5b6ad5(0x248)](_0x595e19[_0x5b6ad5(0x341)]))return'v2';return'v1';}class DrivenDataDetailPlus{['_instance'];constructor(_0x129630){const _0x595bbd=a0_0x5456ff,_0x37e500=detectDatasetVersion3(_0x129630);return this[_0x595bbd(0x3aa)]=_0x37e500==='v2'?new DrivenDataDetailPlusV2(_0x129630):new DrivenDataDetailPlusV1(_0x129630),new Proxy(this,{'get'(_0x2125e9,_0x50bc29){const _0x1e4110=_0x595bbd;if(_0x50bc29 in _0x2125e9){const _0x413ac1=_0x2125e9[_0x50bc29];return typeof _0x413ac1==='function'?_0x413ac1[_0x1e4110(0x336)](_0x2125e9):_0x413ac1;}if(_0x50bc29 in _0x2125e9['_instance']){const _0x5b788f=_0x2125e9[_0x1e4110(0x3aa)][_0x50bc29];return typeof _0x5b788f===_0x1e4110(0x40e)?_0x5b788f[_0x1e4110(0x336)](_0x2125e9['_instance']):_0x5b788f;}return;},'set'(_0x26afa7,_0x119f6a,_0x198dc6){return _0x26afa7[_0x119f6a]=_0x198dc6,!![];},'getPrototypeOf'(_0x4041ce){const _0x5419cf=_0x595bbd;return DrivenDataDetailPlus[_0x5419cf(0x2a8)];}});}get[a0_0x5456ff(0x464)](){const _0x28bafc=a0_0x5456ff;return this[_0x28bafc(0x3aa)][_0x28bafc(0x464)];}get['id'](){const _0x182728=a0_0x5456ff;return this[_0x182728(0x3aa)]['id'];}get[a0_0x5456ff(0x25c)](){const _0x281ee8=a0_0x5456ff;return this[_0x281ee8(0x3aa)]['datasetCode'];}get['source'](){const _0x2d3385=a0_0x5456ff;return this[_0x2d3385(0x3aa)][_0x2d3385(0x3c0)];}get[a0_0x5456ff(0x3a2)](){const _0x609712=a0_0x5456ff;return this[_0x609712(0x3aa)][_0x609712(0x3d7)]();}[a0_0x5456ff(0x307)](){const _0x577f02=a0_0x5456ff,_0xeee5b9=this[_0x577f02(0x3aa)][_0x577f02(0x307)]();return _0xeee5b9==='v2'?'v2':'v1';}[a0_0x5456ff(0x354)](){const _0x33b71=a0_0x5456ff;return this[_0x33b71(0x3aa)]['getFieldCount']();}[a0_0x5456ff(0x245)](){const _0x2e530e=a0_0x5456ff;return this['_instance'][_0x2e530e(0x245)]();}[a0_0x5456ff(0x2fe)](){const _0x4efced=a0_0x5456ff;return this[_0x4efced(0x3aa)]['getFields']();}[a0_0x5456ff(0x2a2)](){const _0x2c7f2d=a0_0x5456ff;return this[_0x2c7f2d(0x3aa)][_0x2c7f2d(0x2a2)]();}[a0_0x5456ff(0x31f)](_0x5e5eac){const _0x56f940=a0_0x5456ff;return this[_0x56f940(0x3aa)]['getFilteredOperations'](_0x5e5eac);}[a0_0x5456ff(0x2db)](_0x2e28c9){const _0x3f4f9d=a0_0x5456ff;return this[_0x3f4f9d(0x3aa)][_0x3f4f9d(0x2db)](_0x2e28c9);}['getTableName'](){const _0xbb9239=a0_0x5456ff;return this['_instance'][_0xbb9239(0x36a)]();}[a0_0x5456ff(0x30c)](){const _0x5ad3d3=a0_0x5456ff;return this[_0x5ad3d3(0x3aa)][_0x5ad3d3(0x30c)]();}[a0_0x5456ff(0x35b)](){const _0x532854=a0_0x5456ff;return this['_instance'][_0x532854(0x35b)]();}[a0_0x5456ff(0x387)](){const _0x593e90=a0_0x5456ff;return this[_0x593e90(0x3aa)][_0x593e90(0x387)]();}['getEnumFields'](){const _0x2a1495=a0_0x5456ff;return this['_instance'][_0x2a1495(0x45f)]();}['getEnumFieldsMeta'](){const _0xc40b2f=a0_0x5456ff;return this[_0xc40b2f(0x3aa)][_0xc40b2f(0x33e)]();}['isMultipleSelectField'](_0x2fa6c2){const _0x43862e=a0_0x5456ff;return this[_0x43862e(0x3aa)][_0x43862e(0x27a)](_0x2fa6c2);}[a0_0x5456ff(0x440)](_0x32c6af){const _0x5d09f1=a0_0x5456ff;return this[_0x5d09f1(0x3aa)][_0x5d09f1(0x440)](_0x32c6af);}[a0_0x5456ff(0x453)](_0x10dbb3){const _0x2cfbf8=a0_0x5456ff;return this['_instance'][_0x2cfbf8(0x453)](_0x10dbb3);}[a0_0x5456ff(0x216)](_0x208829){const _0x4473b4=a0_0x5456ff;return this[_0x4473b4(0x3aa)][_0x4473b4(0x216)](_0x208829);}[a0_0x5456ff(0x21f)](_0x4107c6){const _0xddfe40=a0_0x5456ff;return this[_0xddfe40(0x3aa)][_0xddfe40(0x21f)](_0x4107c6);}['validateEnumValue'](_0x2fd327,_0x2b3369){const _0x2d1ed5=a0_0x5456ff;return this['_instance'][_0x2d1ed5(0x310)](_0x2fd327,_0x2b3369);}[a0_0x5456ff(0x22d)](_0x4cb89f){const _0x181c7f=a0_0x5456ff;return this[_0x181c7f(0x3aa)][_0x181c7f(0x22d)](_0x4cb89f);}[a0_0x5456ff(0x21e)](){const _0x42f5d4=a0_0x5456ff;return this[_0x42f5d4(0x3aa)][_0x42f5d4(0x21e)]();}[a0_0x5456ff(0x2d9)](){const _0x5e029f=a0_0x5456ff;return this[_0x5e029f(0x3aa)][_0x5e029f(0x2d9)]();}[a0_0x5456ff(0x1f1)](){const _0x4a35e6=a0_0x5456ff;return this[_0x4a35e6(0x3aa)][_0x4a35e6(0x1f1)]();}['hasOperation'](_0x366c6b){const _0x5beb01=a0_0x5456ff;return this[_0x5beb01(0x3aa)]['hasOperation'](_0x366c6b);}['getDBConfig'](){const _0x42e16c=a0_0x5456ff;return this[_0x42e16c(0x3aa)][_0x42e16c(0x3d7)]();}[a0_0x5456ff(0x1d6)](){const _0x28753c=a0_0x5456ff;return this['_instance'][_0x28753c(0x1d6)]();}[a0_0x5456ff(0x3ee)](){return this['_instance']['getSource']();}[a0_0x5456ff(0x2e0)](_0x379b7a){const _0x297f17=a0_0x5456ff;return this[_0x297f17(0x3aa)][_0x297f17(0x2e0)](_0x379b7a);}[a0_0x5456ff(0x36b)](){const _0x2bb86e=a0_0x5456ff;return this[_0x2bb86e(0x3aa)][_0x2bb86e(0x36b)]();}[a0_0x5456ff(0x377)](_0xc1adf6){return this['_instance']['getFilteredOperationAnalyses'](_0xc1adf6);}['getOperationAnalysis'](_0x384d56){const _0x111e2e=a0_0x5456ff;return this[_0x111e2e(0x3aa)]['getOperationAnalysis'](_0x384d56);}[a0_0x5456ff(0x3f0)](_0x3dc974){const _0x59a34b=a0_0x5456ff;return this[_0x59a34b(0x3aa)][_0x59a34b(0x3f0)](_0x3dc974);}[a0_0x5456ff(0x406)](_0x39761e,_0x1f9a5a){const _0x46e690=a0_0x5456ff;return this[_0x46e690(0x3aa)][_0x46e690(0x406)](_0x39761e,_0x1f9a5a);}['getDatasetDocMeta'](_0x3e4885){const _0x161e4c=a0_0x5456ff;return this[_0x161e4c(0x3aa)][_0x161e4c(0x3e7)](_0x3e4885);}[a0_0x5456ff(0x231)](_0x935d8c){const _0x579870=a0_0x5456ff;return this[_0x579870(0x3aa)][_0x579870(0x231)](_0x935d8c);}[a0_0x5456ff(0x459)](){const _0x38b0d0=a0_0x5456ff;return this[_0x38b0d0(0x3aa)]['getModelAlias']();}[a0_0x5456ff(0x314)](){const _0x4d1c9c=a0_0x5456ff;return this[_0x4d1c9c(0x3aa)][_0x4d1c9c(0x314)]();}['getOperationStats'](){return this['_instance']['getOperationStats']();}[a0_0x5456ff(0x210)](){const _0x44c1b0=a0_0x5456ff;return this[_0x44c1b0(0x3aa)]['toString']();}[a0_0x5456ff(0x230)](_0x11076f){const _0x4ec641=a0_0x5456ff;return this[_0x4ec641(0x3aa)]['getOperation'](_0x11076f);}[a0_0x5456ff(0x1fa)](_0x56bb3f){const _0x368064=a0_0x5456ff;return this[_0x368064(0x3aa)][_0x368064(0x1fa)](_0x56bb3f);}['generateSDKInitCode'](_0x2a52,_0x20cc82,_0x191042){const _0x4aee35=a0_0x5456ff;return this[_0x4aee35(0x3aa)]['generateSDKInitCode'](_0x2a52,_0x20cc82,_0x191042);}['generateFullSDKExample'](_0x337b4e,_0x488497,_0xda5feb){return this['_instance']['generateFullSDKExample'](_0x337b4e,_0x488497,_0xda5feb);}[a0_0x5456ff(0x1d4)](_0x187566){const _0x3bb958=a0_0x5456ff;return this[_0x3bb958(0x3aa)][_0x3bb958(0x1d4)](_0x187566);}[a0_0x5456ff(0x1dc)](_0x155cd9){const _0x230d24=a0_0x5456ff;return this['_instance'][_0x230d24(0x1dc)](_0x155cd9);}[a0_0x5456ff(0x2ff)](_0x35d576){const _0x4e9f23=a0_0x5456ff;return this[_0x4e9f23(0x3aa)][_0x4e9f23(0x2ff)](_0x35d576);}[a0_0x5456ff(0x1dd)](_0x21728e){const _0x580ff3=a0_0x5456ff;return this['_instance'][_0x580ff3(0x1dd)](_0x21728e);}[a0_0x5456ff(0x36c)](){const _0xedc4f1=a0_0x5456ff;return this[_0xedc4f1(0x3aa)]['getMissingCRUDOperations']();}[a0_0x5456ff(0x2a1)](){const _0x39e2b8=a0_0x5456ff;return this[_0x39e2b8(0x3aa)][_0x39e2b8(0x2a1)]();}[a0_0x5456ff(0x277)](){return this['_instance'];}}function createDrivenDataDetailPlus(_0x333a64,_0x5afd61={}){const _0x1d681d=a0_0x5456ff;if(_0x5afd61[_0x1d681d(0x3fc)]==='v1')return new DrivenDataDetailPlusV1(_0x333a64);if(_0x5afd61[_0x1d681d(0x3fc)]==='v2')return new DrivenDataDetailPlusV2(_0x333a64);if(_0x333a64['doVersion']==='v2'||_0x1d681d(0x22b)in _0x333a64)return new DrivenDataDetailPlusV2(_0x333a64);return new DrivenDataDetailPlusV1(_0x333a64);}function isPlusV2Instance(_0x1755c7){return _0x1755c7['getVersion']()==='v2';}function isPlusV1Instance(_0x5b8266){const _0x765257=a0_0x5456ff;return _0x5b8266[_0x765257(0x307)]()==='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};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.3.5-beta.2",
3
+ "version": "1.3.5",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",