@lovrabet/dsparser 1.3.8 → 1.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const a0_0x1a4d8a=a0_0x4697;(function(_0x55f338,_0x3e2c49){const _0x2c558a=a0_0x4697,_0x4bde95=_0x55f338();while(!![]){try{const _0x2663cb=-parseInt(_0x2c558a(0x18d))/0x1+parseInt(_0x2c558a(0x1ea))/0x2*(parseInt(_0x2c558a(0x1dd))/0x3)+-parseInt(_0x2c558a(0x10e))/0x4+-parseInt(_0x2c558a(0x33b))/0x5*(parseInt(_0x2c558a(0x137))/0x6)+-parseInt(_0x2c558a(0x34a))/0x7+-parseInt(_0x2c558a(0x110))/0x8*(-parseInt(_0x2c558a(0x11c))/0x9)+parseInt(_0x2c558a(0x25b))/0xa;if(_0x2663cb===_0x3e2c49)break;else _0x4bde95['push'](_0x4bde95['shift']());}catch(_0x311613){_0x4bde95['push'](_0x4bde95['shift']());}}}(a0_0x6db1,0x711e3));function toCamelCase(_0x16c94a){const _0x1c97d2=a0_0x4697;if(!_0x16c94a)return'';return _0x16c94a['split'](/[_-]/)[_0x1c97d2(0x1b9)]((_0x2a0034,_0x15e4a6)=>{const _0xe250f4=_0x1c97d2;if(_0x15e4a6===0x0)return _0x2a0034[_0xe250f4(0x34b)]();return _0x2a0034[_0xe250f4(0x382)](0x0)[_0xe250f4(0x309)]()+_0x2a0034[_0xe250f4(0x19e)](0x1)[_0xe250f4(0x34b)]();})[_0x1c97d2(0x261)]('');}function toPascalCase(_0x27f4f0){const _0xd64e7e=a0_0x4697;if(!_0x27f4f0)return'';const _0x106960=toCamelCase(_0x27f4f0);return _0x106960[_0xd64e7e(0x382)](0x0)['toUpperCase']()+_0x106960[_0xd64e7e(0x19e)](0x1);}function toSnakeCase(_0x240b6b){const _0x291f45=a0_0x4697;if(!_0x240b6b)return'';return _0x240b6b[_0x291f45(0x301)](/([A-Z])/g,_0x291f45(0x1ab))[_0x291f45(0x34b)]()['replace'](/^_/,'');}function toKebabCase(_0x53213){const _0xe21b12=a0_0x4697;if(!_0x53213)return'';return _0x53213[_0xe21b12(0x301)](/([A-Z])/g,_0xe21b12(0x11d))['toLowerCase']()[_0xe21b12(0x301)](/^-/,'');}function normalizeFieldName(_0x40ab54){const _0x2927af=a0_0x4697;if(!_0x40ab54)return'';return _0x40ab54[_0x2927af(0x367)]()['replace'](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')[_0x2927af(0x301)](/_+/g,'_')[_0x2927af(0x301)](/^_|_$/g,'');}function getTableName(_0xa06a1f){const _0x1fc633=a0_0x4697;if(!_0xa06a1f)return'dataset_000000';if(_0xa06a1f[_0x1fc633(0x197)]?.[_0x1fc633(0x163)])return _0xa06a1f[_0x1fc633(0x197)][_0x1fc633(0x163)];const _0x2a7d74=_0xa06a1f[_0x1fc633(0x1b6)]||_0xa06a1f[_0x1fc633(0x1b8)]||_0xa06a1f[_0x1fc633(0xc8)];if(_0x2a7d74)return generateTableNameFromCode(_0x2a7d74);return _0x1fc633(0x1a0);}function getTableKey(_0x430941){const _0x381a3f=a0_0x4697;if(typeof _0x430941===_0x381a3f(0x195))return toCamelCase(_0x430941);const _0x10ce68=getTableName(_0x430941);return toCamelCase(_0x10ce68);}function generateTableNameFromCode(_0x470743){const _0x37489f=a0_0x4697;if(!_0x470743)return _0x37489f(0x1a0);const _0x8c1ea6=_0x470743[_0x37489f(0x19e)](-0x6)[_0x37489f(0x336)](0x6,'0');return _0x37489f(0xcd)+_0x8c1ea6;}function isVirtualTableName(_0x383f3b){const _0x5449d1=a0_0x4697;return/^dataset_[a-zA-Z0-9]{6}$/[_0x5449d1(0x1ec)](_0x383f3b);}function generateModelKeyFromCode(_0x459594){const _0x1cac18=a0_0x4697;if(!_0x459594)return _0x1cac18(0x2a5);return _0x1cac18(0xcd)+_0x459594;}function getDbName(_0x39c26a){const _0x1bd72c=a0_0x4697;return _0x39c26a[_0x1bd72c(0x197)]?.['dbName']||_0x39c26a[_0x1bd72c(0x197)]?.['dblinkInfoDTO']?.[_0x1bd72c(0x13c)]||'';}function generateDatasetsConfig(_0x4c8418,_0x1c6a38={}){const _0x111dfb=a0_0x4697,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x54ec69,filter:_0x35efa7}=_0x1c6a38,_0x3001aa=_0x35efa7?_0x4c8418['filter'](_0x35efa7):_0x4c8418,_0x288f55=new Map();for(const _0x21c1da of _0x3001aa){const _0x5b01e3=getTableName(_0x21c1da),_0xfa892=getDbName(_0x21c1da);!_0x288f55[_0x111dfb(0x29e)](_0x5b01e3)&&_0x288f55['set'](_0x5b01e3,new Set()),_0x288f55['get'](_0x5b01e3)[_0x111dfb(0x343)](_0xfa892);}const _0x3198a6=new Set();for(const [_0x3fe79f,_0x5ea2b7]of _0x288f55){_0x5ea2b7[_0x111dfb(0x242)]>0x1&&_0x3198a6[_0x111dfb(0x343)](_0x3fe79f);}const _0x41f1a2={},_0x362985=new Set();for(const _0x1682dc of _0x3001aa){const _0x11940f=getTableName(_0x1682dc);if(enableDeduplication&&_0x362985[_0x111dfb(0x29e)](_0x11940f)){console[_0x111dfb(0x392)](_0x111dfb(0x30a)+_0x11940f+_0x111dfb(0x2b0)+_0x1682dc['name']+'\x20('+_0x1682dc[_0x111dfb(0x1b6)]+')');continue;}_0x362985[_0x111dfb(0x343)](_0x11940f);const _0x290235=_0x54ec69?_0x54ec69(_0x11940f,_0x1682dc):getTableKey(_0x11940f),_0x25a840=getDbName(_0x1682dc),_0xe1fc89=_0x3198a6[_0x111dfb(0x29e)](_0x11940f)&&_0x25a840?getTableKey(_0x25a840)+'_'+_0x290235:_0x290235;_0x41f1a2[_0x290235]={'key':_0x290235,'alias':_0xe1fc89,'tableName':_0x11940f,'datasetCode':_0x1682dc[_0x111dfb(0x1b6)],'name':_0x1682dc[_0x111dfb(0x1c8)],'id':_0x1682dc['id'],'dbName':_0x25a840};}return _0x41f1a2;}function generateFullDatasetsConfig(_0x350009,_0x513a5e={}){const _0x16e916=a0_0x4697,{filter:_0x4cc0eb,datasetNameGenerator:_0x3044a9}=_0x513a5e,_0x275e46=_0x4cc0eb?_0x350009[_0x16e916(0x20e)](_0x4cc0eb):_0x350009,_0x160776=new Map();for(const _0x1dbb2d of _0x275e46){const _0x21d2d7=getTableName(_0x1dbb2d),_0x11fcd1=getDbName(_0x1dbb2d);!_0x160776[_0x16e916(0x29e)](_0x21d2d7)&&_0x160776[_0x16e916(0x2f4)](_0x21d2d7,new Set()),_0x160776[_0x16e916(0x262)](_0x21d2d7)['add'](_0x11fcd1);}const _0x176fbd=new Set();for(const [_0x39a4b2,_0x2222b4]of _0x160776){_0x2222b4[_0x16e916(0x242)]>0x1&&_0x176fbd[_0x16e916(0x343)](_0x39a4b2);}const _0xc5519b=groupByTableName(_0x275e46),_0x24f0ae={};for(const [_0x1a6270,_0x1e9775]of Object['entries'](_0xc5519b)){if(_0x1e9775['length']===0x1){const _0x1b6caf=_0x1e9775[0x0],_0xd84da1=_0x3044a9?_0x3044a9(_0x1a6270,_0x1b6caf):getTableKey(_0x1a6270),_0x4e459a=getDbName(_0x1b6caf),_0x546463=_0x176fbd['has'](_0x1a6270)&&_0x4e459a?getTableKey(_0x4e459a)+'_'+_0xd84da1:_0xd84da1;_0x24f0ae[_0xd84da1]={'key':_0xd84da1,'alias':_0x546463,'tableName':_0x1a6270,'datasetCode':_0x1b6caf[_0x16e916(0x1b6)],'name':_0x1b6caf[_0x16e916(0x1c8)],'id':_0x1b6caf['id'],'dbName':_0x4e459a};}else{const _0x2f855b=[..._0x1e9775][_0x16e916(0x1bf)]((_0x5127ac,_0x14ecbe)=>{const _0x1e168b=Number(_0x5127ac['id'])||0x0,_0x15ed58=Number(_0x14ecbe['id'])||0x0;return _0x15ed58-_0x1e168b;});_0x2f855b[_0x16e916(0x1e6)]((_0x59fda3,_0x32076a)=>{const _0x203641=_0x16e916,_0x2186df=_0x3044a9?_0x3044a9(_0x1a6270,_0x59fda3):getTableKey(_0x1a6270),_0x2cc983=_0x32076a===0x0?_0x2186df:_0x2186df+'_'+_0x32076a,_0x73154a=getDbName(_0x59fda3),_0x5a887c=_0x176fbd[_0x203641(0x29e)](_0x1a6270)&&_0x73154a?getTableKey(_0x73154a)+'_'+_0x2cc983:_0x2cc983;_0x24f0ae[_0x2cc983]={'key':_0x2cc983,'alias':_0x5a887c,'tableName':_0x1a6270,'datasetCode':_0x59fda3[_0x203641(0x1b6)],'name':_0x59fda3[_0x203641(0x1c8)],'id':_0x59fda3['id'],'dbName':_0x73154a};});}}return _0x24f0ae;}function detectTableNameConflicts(_0xe3b547){const _0xa4bf6f=a0_0x4697,_0x5c533e={};for(const _0x3dbb9b of _0xe3b547){const _0xb79ec5=getTableName(_0x3dbb9b);!_0x5c533e[_0xb79ec5]&&(_0x5c533e[_0xb79ec5]=[]),_0x5c533e[_0xb79ec5][_0xa4bf6f(0x117)](_0x3dbb9b);}const _0x24d759={};for(const [_0x2061cc,_0x5cbf0f]of Object[_0xa4bf6f(0x140)](_0x5c533e)){_0x5cbf0f[_0xa4bf6f(0x1f3)]>0x1&&(_0x24d759[_0x2061cc]=_0x5cbf0f);}return{'hasConflicts':Object[_0xa4bf6f(0x1e7)](_0x24d759)[_0xa4bf6f(0x1f3)]>0x0,'conflicts':_0x24d759};}function createDatasetNameMap(_0x5a56be){const _0x268581=a0_0x4697,_0xdb5fc5={};for(const [_0x333b53,_0x4d51e4]of Object[_0x268581(0x140)](_0x5a56be)){_0xdb5fc5[_0x333b53]=_0x4d51e4['datasetCode']||'';}return _0xdb5fc5;}function groupByTableName(_0x2ace9b){const _0x369584=a0_0x4697,_0x56fb36={};for(const _0x4b3689 of _0x2ace9b){const _0x592b9d=getTableName(_0x4b3689);!_0x56fb36[_0x592b9d]&&(_0x56fb36[_0x592b9d]=[]),_0x56fb36[_0x592b9d][_0x369584(0x117)](_0x4b3689);}return _0x56fb36;}function datasetsConfigToArray(_0x33a0ca){const _0x5274a5=a0_0x4697;return Object[_0x5274a5(0x27e)](_0x33a0ca);}function adaptDrivenDataDetail(_0x27eedc){const _0x4d89b8=a0_0x4697,_0x2d39b4={};return _0x2d39b4['id']=_0x27eedc[_0x4d89b8(0x338)],_0x2d39b4['name']=_0x27eedc[_0x4d89b8(0x1c8)],_0x2d39b4[_0x4d89b8(0x1b6)]=_0x27eedc[_0x4d89b8(0xc8)],_0x2d39b4[_0x4d89b8(0x197)]=_0x27eedc['dbtableConfig'],_0x2d39b4[_0x4d89b8(0x22a)]=_0x27eedc[_0x4d89b8(0x22a)],_0x2d39b4['version']=_0x27eedc[_0x4d89b8(0x22c)],_0x2d39b4[_0x4d89b8(0x390)]=_0x27eedc[_0x4d89b8(0x390)],_0x2d39b4[_0x4d89b8(0x1e8)]=_0x27eedc[_0x4d89b8(0x1e8)],_0x2d39b4[_0x4d89b8(0x13f)]=_0x27eedc[_0x4d89b8(0x13f)],_0x2d39b4;}function adaptDrivenDataDetails(_0x5d5268){const _0x38d371=a0_0x4697;return _0x5d5268[_0x38d371(0x1b9)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x11a523){const _0x2721de=a0_0x4697;if(!_0x11a523[_0x2721de(0xf2)]||!_0x11a523[_0x2721de(0x2c0)])throw new Error(_0x2721de(0x23d)+(_0x11a523[_0x2721de(0x175)]||_0x11a523['msg']));return adaptDrivenDataDetail(_0x11a523[_0x2721de(0x2c0)]);}function extractDatasetsFromListResponse(_0x344e0a){const _0x2a47ac=a0_0x4697;if(!_0x344e0a[_0x2a47ac(0xf2)]||!_0x344e0a[_0x2a47ac(0x2c0)]?.[_0x2a47ac(0x372)])throw new Error(_0x2a47ac(0x19d)+(_0x344e0a[_0x2a47ac(0x175)]||_0x344e0a[_0x2a47ac(0x200)]));return _0x344e0a[_0x2a47ac(0x2c0)][_0x2a47ac(0x372)]['map'](_0x1644c3=>({..._0x1644c3,'datasetCode':_0x1644c3[_0x2a47ac(0x1b8)]||_0x1644c3['datasetCode']}));}function isDrivenDataDetail(_0x5c120a){const _0x3af173=a0_0x4697;return Boolean(_0x5c120a&&typeof _0x5c120a['modelCode']===_0x3af173(0x195));}function smartAdapt(_0x5b4add){const _0x25e13a=a0_0x4697;if(isDrivenDataDetail(_0x5b4add))return adaptDrivenDataDetail(_0x5b4add);if(_0x5b4add[_0x25e13a(0x1b6)])return _0x5b4add;if(_0x5b4add[_0x25e13a(0x1b8)]){const _0x39d6d8={..._0x5b4add};return _0x39d6d8[_0x25e13a(0x1b6)]=_0x5b4add[_0x25e13a(0x1b8)],_0x39d6d8;}return _0x5b4add;}function cleanNewlines(_0x1dd689){const _0x1f80ee=a0_0x4697;return _0x1dd689[_0x1f80ee(0x301)](/[\r\n]+/g,'\x20')[_0x1f80ee(0x367)]();}function cleanDatasetName(_0x513f9b){const _0x13c583=a0_0x4697;if(!_0x513f9b[_0x13c583(0x1c8)])return _0x513f9b;return{..._0x513f9b,'name':cleanNewlines(_0x513f9b[_0x13c583(0x1c8)])};}function cleanDatasetNames(_0xf6dd7f){const _0x88f473=a0_0x4697;return _0xf6dd7f[_0x88f473(0x1b9)](cleanDatasetName);}var DatasetOperationType;(_0x16d573=>{const _0x44090b=a0_0x4697;_0x16d573[_0x44090b(0x2d6)]=_0x44090b(0x298),_0x16d573[_0x44090b(0x120)]=_0x44090b(0x21d),_0x16d573[_0x44090b(0x2a9)]=_0x44090b(0x2bc),_0x16d573[_0x44090b(0x234)]='getOneUpdate',_0x16d573['CREATE']=_0x44090b(0x2d0),_0x16d573['UPDATE']=_0x44090b(0x2ad),_0x16d573[_0x44090b(0x210)]='delete',_0x16d573[_0x44090b(0x185)]='getSelectOptions',_0x16d573['GET_FILE_URL']=_0x44090b(0x349),_0x16d573[_0x44090b(0x132)]='excelExport',_0x16d573[_0x44090b(0x124)]='getUploadFileScript',_0x16d573[_0x44090b(0x269)]=_0x44090b(0x229),_0x16d573[_0x44090b(0x2ab)]=_0x44090b(0xcc),_0x16d573[_0x44090b(0xf8)]=_0x44090b(0x319),_0x16d573[_0x44090b(0x243)]='importTemplate';})(DatasetOperationType||={});const a0_0x252afe={};a0_0x252afe[a0_0x1a4d8a(0x298)]=a0_0x1a4d8a(0x114),a0_0x252afe[a0_0x1a4d8a(0x21d)]=a0_0x1a4d8a(0x355),a0_0x252afe[a0_0x1a4d8a(0x2bc)]=a0_0x1a4d8a(0x1c5),a0_0x252afe[a0_0x1a4d8a(0x299)]=a0_0x1a4d8a(0x23f),a0_0x252afe[a0_0x1a4d8a(0x2d0)]='创建',a0_0x252afe[a0_0x1a4d8a(0x2ad)]='更新',a0_0x252afe[a0_0x1a4d8a(0x29b)]='删除',a0_0x252afe[a0_0x1a4d8a(0x2e1)]='获取下拉选项',a0_0x252afe['getFileUrl']=a0_0x1a4d8a(0x32b),a0_0x252afe[a0_0x1a4d8a(0x122)]=a0_0x1a4d8a(0x188),a0_0x252afe[a0_0x1a4d8a(0x27f)]=a0_0x1a4d8a(0x341),a0_0x252afe[a0_0x1a4d8a(0x229)]=a0_0x1a4d8a(0x36d),a0_0x252afe[a0_0x1a4d8a(0xcc)]='创建导出',a0_0x252afe[a0_0x1a4d8a(0x319)]=a0_0x1a4d8a(0x1a7),a0_0x252afe[a0_0x1a4d8a(0x22e)]=a0_0x1a4d8a(0x15c);var OPERATION_TYPE_DISPLAY_NAME=a0_0x252afe,API_BLACKLIST=['getList',a0_0x1a4d8a(0x2bc),a0_0x1a4d8a(0x299),'getFileUrl'];function parseFieldExtend(_0x538a24){const _0x2d1d60=a0_0x1a4d8a;if(!_0x538a24||typeof _0x538a24!==_0x2d1d60(0x32a))return!![]&&console['warn'](_0x2d1d60(0x265),_0x538a24),{};if(!_0x538a24[_0x2d1d60(0x390)])return{};try{const _0x2a5fed=typeof _0x538a24[_0x2d1d60(0x390)]===_0x2d1d60(0x195)?JSON[_0x2d1d60(0x1ef)](_0x538a24['extend']):_0x538a24[_0x2d1d60(0x390)];if(typeof _0x2a5fed!=='object'||_0x2a5fed===null)return{};return _0x2a5fed;}catch{return{};}}function isPrimaryKeyField(_0x3a2614,_0x134d8e){const _0x3da2b0=a0_0x1a4d8a;if(!_0x3a2614||typeof _0x3a2614!==_0x3da2b0(0x32a))return![];if(typeof _0x134d8e===_0x3da2b0(0x195)&&_0x3a2614[_0x3da2b0(0x1b8)]===_0x134d8e)return!![];const _0x776eaa=parseFieldExtend(_0x3a2614);return Boolean(_0x776eaa['primaryKey']||_0x776eaa['pkField']);}function isSystemField(_0x27d6a3){const _0x17357e=a0_0x1a4d8a,_0x483a57=parseFieldExtend(_0x27d6a3);return Boolean(_0x483a57[_0x17357e(0xec)]);}function isRequiredField(_0x1706e9){const _0x29bb3f=a0_0x1a4d8a,_0x24f221=parseFieldExtend(_0x1706e9);return Boolean(_0x24f221[_0x29bb3f(0xca)]);}function isAutoIncrementField(_0x484a65){const _0x504e1a=a0_0x1a4d8a,_0x35d21f=parseFieldExtend(_0x484a65);return Boolean(_0x35d21f[_0x504e1a(0x308)]);}function isCreateTimeField(_0x11f3a9){const _0x52ff6e=a0_0x1a4d8a,_0x171e93=parseFieldExtend(_0x11f3a9);return Boolean(_0x171e93[_0x52ff6e(0x2af)]);}function isModifyTimeField(_0x44adf3){const _0x172623=a0_0x1a4d8a,_0x507331=parseFieldExtend(_0x44adf3);return Boolean(_0x507331[_0x172623(0x2cb)]);}const a0_0x1a3619={};a0_0x1a3619['NUMBER']='数字',a0_0x1a3619[a0_0x1a4d8a(0x14c)]='文本',a0_0x1a3619['TEXTAREA']=a0_0x1a4d8a(0x317),a0_0x1a3619[a0_0x1a4d8a(0x170)]='日期',a0_0x1a3619['DATETIME']=a0_0x1a4d8a(0x26d),a0_0x1a3619[a0_0x1a4d8a(0x318)]=a0_0x1a4d8a(0x16c),a0_0x1a3619[a0_0x1a4d8a(0x2d4)]=a0_0x1a4d8a(0x2bb),a0_0x1a3619[a0_0x1a4d8a(0x246)]='多选',a0_0x1a3619[a0_0x1a4d8a(0x264)]='单选',a0_0x1a3619[a0_0x1a4d8a(0x178)]='开关',a0_0x1a3619[a0_0x1a4d8a(0x30e)]=a0_0x1a4d8a(0x2c5),a0_0x1a3619['IMAGE']='图片',a0_0x1a3619[a0_0x1a4d8a(0x251)]='富文本',a0_0x1a3619[a0_0x1a4d8a(0xc9)]=a0_0x1a4d8a(0xc9),a0_0x1a3619[a0_0x1a4d8a(0x1c1)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x1a3619;function getDbTypeDisplay(_0x59b77a){const _0x2bc231=a0_0x1a4d8a;if(typeof _0x59b77a!==_0x2bc231(0x195))return!![]&&console[_0x2bc231(0x392)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x59b77a),String(_0x59b77a||'-');return DB_TYPE_DISPLAY_MAP[_0x59b77a]||_0x59b77a;}function formatDbType(_0x35d9b1,_0x34bc81){const _0x20a788=a0_0x1a4d8a;if(!_0x35d9b1||typeof _0x35d9b1!=='string')return'-';if(!_0x34bc81||typeof _0x34bc81!=='number')return _0x35d9b1;const _0xe3bc67=[_0x20a788(0x14c),_0x20a788(0x133),_0x20a788(0x318),_0x20a788(0x170)];if(_0xe3bc67[_0x20a788(0x24a)](_0x35d9b1[_0x20a788(0x309)]()))return _0x35d9b1;return _0x35d9b1+'('+_0x34bc81+')';}function parseOperationType(_0x21f9d2){const _0x65b011=a0_0x1a4d8a;if(typeof _0x21f9d2!=='string'){!![]&&console[_0x65b011(0x392)](_0x65b011(0x109),_0x21f9d2);return;}if(Object[_0x65b011(0x27e)](DatasetOperationType)['includes'](_0x21f9d2))return _0x21f9d2;const _0x50cbf4=Object[_0x65b011(0x140)](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x43de2b,_0x17da51])=>_0x17da51===_0x21f9d2);return _0x50cbf4?_0x50cbf4[0x0]:undefined;}function shouldIncludeField(_0x4f37b9,_0x52e465,_0xca4c2f){const _0x746053=a0_0x1a4d8a,_0x3abe58=parseFieldExtend(_0x4f37b9),_0x35bb15=isPrimaryKeyField(_0x4f37b9,_0xca4c2f),_0x586cf0=Boolean(_0x3abe58[_0x746053(0xec)]),_0x10aaa7=Boolean(_0x3abe58[_0x746053(0x308)]),_0x14a1a5=Boolean(_0x3abe58[_0x746053(0x2af)]),_0x30adc4=Boolean(_0x3abe58[_0x746053(0x2cb)]);switch(_0x52e465){case _0x746053(0x298):return!![];case _0x746053(0x21d):case _0x746053(0x2bc):case _0x746053(0x29b):return _0x35bb15;case _0x746053(0x2d0):if(_0x35bb15&&_0x10aaa7)return![];if(_0x586cf0)return![];if(_0x14a1a5||_0x30adc4)return![];return!![];case _0x746053(0x2ad):case'getOneUpdate':if(_0x35bb15)return!![];if(_0x586cf0)return![];if(_0x14a1a5||_0x30adc4)return![];return!![];case'getSelectOptions':return _0x4f37b9[_0x746053(0x1b8)]===_0x746053(0x1b8);default:return!![];}}function getFieldsForOperation(_0x465b55,_0xc31ad2,_0x1d3362){const _0x4e2018=a0_0x1a4d8a;if(!Array['isArray'](_0x465b55))return!![]&&console[_0x4e2018(0x392)](_0x4e2018(0x373),_0x465b55),[];return _0x465b55[_0x4e2018(0x20e)](_0x3ecaaa=>shouldIncludeField(_0x3ecaaa,_0xc31ad2,_0x1d3362));}function isApiBlacklisted(_0x5e1300){const _0xd13da7=a0_0x1a4d8a;if(typeof _0x5e1300!==_0xd13da7(0x195))return!![]&&console[_0xd13da7(0x392)](_0xd13da7(0x310),_0x5e1300),![];return API_BLACKLIST['includes'](_0x5e1300);}function filterApiOperations(_0x1b49fb){const _0x40c851=a0_0x1a4d8a;if(!Array[_0x40c851(0x28d)](_0x1b49fb))return!![]&&console['warn'](_0x40c851(0x267),_0x1b49fb),[];return _0x1b49fb[_0x40c851(0x20e)](_0x29ecf2=>_0x29ecf2&&typeof _0x29ecf2==='object'&&!isApiBlacklisted(_0x29ecf2[_0x40c851(0x1c8)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x1a4d8a(0xea)](),'DATE':()=>Date[a0_0x1a4d8a(0xea)](),'SELECT':({fieldInfo:_0x41163f})=>{const _0x1b4e42=a0_0x1a4d8a;if(_0x41163f?.[_0x1b4e42(0xda)]&&Array[_0x1b4e42(0x28d)](_0x41163f[_0x1b4e42(0xda)])&&_0x41163f['options'][_0x1b4e42(0x1f3)]>0x0)return _0x41163f['options'][0x0][_0x1b4e42(0x30b)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x556600})=>{const _0x1dddf4=a0_0x1a4d8a;if(_0x556600===_0x1dddf4(0xc6))return 0x1;if(_0x556600==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x40b1f6})=>{const _0xa47272=a0_0x1a4d8a;if(_0x40b1f6&&typeof _0x40b1f6==='string'){const _0x5da388=_0x40b1f6[_0xa47272(0x34b)]();if(_0x5da388['includes']('邮箱')||_0x5da388[_0xa47272(0x24a)]('email'))return _0xa47272(0x304);if(_0x5da388['includes']('电话')||_0x5da388[_0xa47272(0x24a)]('手机')||_0x5da388[_0xa47272(0x24a)](_0xa47272(0x22b)))return _0xa47272(0x106);if(_0x5da388[_0xa47272(0x24a)]('地址')||_0x5da388[_0xa47272(0x24a)](_0xa47272(0x211)))return'北京市朝阳区';if(_0x5da388['includes']('姓名')||_0x5da388[_0xa47272(0x24a)]('name'))return'张三';}return _0xa47272(0xf5);},'VARCHAR':({description:_0x6ace66})=>TYPE_VALUE_GENERATORS[a0_0x1a4d8a(0x14c)]({'description':_0x6ace66}),'CHAR':({description:_0x53d0b4})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x53d0b4}),'STRING':({fieldInfo:_0x49ea13,description:_0x9a0826})=>{const _0x27baa0=a0_0x1a4d8a;if(_0x49ea13?.[_0x27baa0(0x1d2)]&&typeof _0x49ea13[_0x27baa0(0x1d2)]==='string'&&_0x49ea13[_0x27baa0(0x1d2)]!==_0x27baa0(0x353))return _0x49ea13[_0x27baa0(0x1d2)][_0x27baa0(0x301)](/^请输入|^请选择/,'');const _0x1356c4={};return _0x1356c4['description']=_0x9a0826,TYPE_VALUE_GENERATORS[_0x27baa0(0x14c)](_0x1356c4);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x1a4d8a(0x2ba),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x1a4d8a(0x30b)}),'ARRAY':()=>['item1',a0_0x1a4d8a(0x362)],'UPLOAD':()=>a0_0x1a4d8a(0x278),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0x1a4d8a(0x12b)};function generateExampleValue(_0x5d84f1,_0x252319,_0x405dfb,_0x28fec4={}){const _0x4b2b0f=a0_0x1a4d8a;typeof _0x5d84f1!==_0x4b2b0f(0x195)&&(!![]&&console[_0x4b2b0f(0x392)](_0x4b2b0f(0x385),_0x5d84f1),_0x5d84f1=String(_0x5d84f1||''));if(typeof _0x252319!==_0x4b2b0f(0x195))return!![]&&console[_0x4b2b0f(0x392)]('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x252319),_0x4b2b0f(0x1b0);const {isPrimaryKey:_0x5985c6,dbtableConfig:_0x32cd09}=_0x28fec4;if(_0x5985c6)return 0x1;if(_0x32cd09&&typeof _0x32cd09===_0x4b2b0f(0x32a)){const _0x339ed8=_0x32cd09['createTimeField']?.[_0x4b2b0f(0x149)]===_0x5d84f1,_0x2e175f=_0x32cd09[_0x4b2b0f(0x220)]?.['fieldName']===_0x5d84f1;if(_0x339ed8||_0x2e175f){if(_0x405dfb&&typeof _0x405dfb===_0x4b2b0f(0x195)&&_0x405dfb[_0x4b2b0f(0x309)]()[_0x4b2b0f(0x24a)](_0x4b2b0f(0x318)))return Date[_0x4b2b0f(0xea)]();return new Date()['toISOString']()[_0x4b2b0f(0x301)]('T','\x20')['split']('.')[0x0];}}const _0x33ea2e={..._0x28fec4};_0x33ea2e[_0x4b2b0f(0xed)]=_0x5d84f1;const _0x3233fb=_0x33ea2e;if(_0x405dfb&&typeof _0x405dfb===_0x4b2b0f(0x195)){const _0x232826=_0x405dfb[_0x4b2b0f(0x309)](),_0x1e58f9=TYPE_VALUE_GENERATORS[_0x232826];if(_0x1e58f9)return _0x1e58f9(_0x3233fb);}if(_0x252319&&typeof _0x252319===_0x4b2b0f(0x195)){const _0x5791d9=_0x252319[_0x4b2b0f(0x309)](),_0x4a9a88=TYPE_VALUE_GENERATORS[_0x5791d9];if(_0x4a9a88)return _0x4a9a88(_0x3233fb);}return _0x4b2b0f(0x1b0);}function generateExampleFromSchema(_0x42e07a,_0x20eef8){const _0x34ce1d=a0_0x1a4d8a;if(!_0x42e07a||typeof _0x42e07a!==_0x34ce1d(0x32a))return{};if(Array[_0x34ce1d(0x28d)](_0x42e07a)){if(_0x42e07a[_0x34ce1d(0x1f3)]>0x0)return[generateExampleFromSchema(_0x42e07a[0x0],_0x20eef8)];return[];}const _0x181e56={};return Object[_0x34ce1d(0x1e7)](_0x42e07a)[_0x34ce1d(0x1e6)](_0x35236c=>{const _0x54cbc6=_0x34ce1d,_0x569d4f=_0x42e07a[_0x35236c];if(_0x569d4f&&typeof _0x569d4f===_0x54cbc6(0x32a)&&!Array[_0x54cbc6(0x28d)](_0x569d4f)&&_0x569d4f[_0x54cbc6(0x172)]){const _0x274252=_0x569d4f,_0xc289cf=_0x274252['type'],_0x5cffa7=_0x274252['description'];if(typeof _0xc289cf===_0x54cbc6(0x195)){const _0x2a7c99={};_0x2a7c99[_0x54cbc6(0x231)]=_0x5cffa7,_0x2a7c99['dbtableConfig']=_0x20eef8,_0x181e56[_0x35236c]=generateExampleValue(_0x35236c,_0xc289cf,undefined,_0x2a7c99);}else _0x181e56[_0x35236c]='示例值';}else{if(Array[_0x54cbc6(0x28d)](_0x569d4f))_0x181e56[_0x35236c]=_0x569d4f[_0x54cbc6(0x1f3)]>0x0?[generateExampleFromSchema(_0x569d4f[0x0],_0x20eef8)]:[];else _0x569d4f&&typeof _0x569d4f===_0x54cbc6(0x32a)?_0x181e56[_0x35236c]=generateExampleFromSchema(_0x569d4f,_0x20eef8):_0x181e56[_0x35236c]=_0x569d4f;}}),_0x181e56;}function parseRequestBody(_0x7ccd07){const _0x416a48=a0_0x1a4d8a;if(!_0x7ccd07)return{};try{return JSON['parse'](_0x7ccd07);}catch(_0x1b48d9){return!![]&&console[_0x416a48(0x392)](_0x416a48(0xdd),_0x1b48d9),{};}}function parseResponseBody(_0x4bb2a6){const _0x3a7111=a0_0x1a4d8a;if(!_0x4bb2a6)return null;try{const _0x31b09f=JSON[_0x3a7111(0x1ef)](_0x4bb2a6);return _0x31b09f[_0x3a7111(0x23a)]||_0x31b09f;}catch(_0x16785f){return!![]&&console[_0x3a7111(0x392)](_0x3a7111(0xc4),_0x16785f),null;}}function generateRequestExample(_0x228b68,_0x128331,_0x5f5c25,_0x5f1d2b){const _0x3c8316=a0_0x1a4d8a,_0x83b72a={};if(!Array['isArray'](_0x228b68))return!![]&&console[_0x3c8316(0x392)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x228b68),_0x83b72a;return _0x228b68[_0x3c8316(0x1e6)](_0x410c2d=>{const _0x4a736d=_0x3c8316;if(!_0x410c2d||typeof _0x410c2d!=='object'){!![]&&console[_0x4a736d(0x392)]('[generateRequestExample]\x20Invalid\x20field:',_0x410c2d);return;}if(typeof _0x410c2d[_0x4a736d(0x1b8)]!==_0x4a736d(0x195)||typeof _0x410c2d[_0x4a736d(0x172)]!==_0x4a736d(0x195)){!![]&&console[_0x4a736d(0x392)](_0x4a736d(0x2b6),_0x410c2d);return;}const _0xef2fef=parseFieldExtend(_0x410c2d),_0x2e8841=_0x410c2d[_0x4a736d(0x1b8)]===_0x5f5c25||Boolean(_0xef2fef?.[_0x4a736d(0x1aa)]),_0x2ed355=generateExampleValue(_0x410c2d[_0x4a736d(0x1b8)],_0x410c2d[_0x4a736d(0x172)],typeof _0x410c2d[_0x4a736d(0x363)]===_0x4a736d(0x195)?_0x410c2d[_0x4a736d(0x363)]:undefined,{'fieldInfo':_0xef2fef,'isPrimaryKey':_0x2e8841,'description':_0x410c2d[_0x4a736d(0x231)]||_0x410c2d[_0x4a736d(0x1c8)],'dbtableConfig':_0x5f1d2b});_0x83b72a[_0x410c2d[_0x4a736d(0x1b8)]]=_0x2ed355;}),_0x128331==='getList'&&(_0x83b72a[_0x3c8316(0xc6)]=0x1,_0x83b72a[_0x3c8316(0x1b2)]=0xa),_0x83b72a;}function formatEnumValue(_0x3a3652,_0x47f3d1){const _0x7fc8a2=a0_0x1a4d8a;if(_0x3a3652[_0x7fc8a2(0x12f)]&&Array[_0x7fc8a2(0x28d)](_0x47f3d1))return _0x47f3d1[_0x7fc8a2(0x1b9)](_0xf824f1=>_0x3a3652[_0x7fc8a2(0x28f)][String(_0xf824f1)]||String(_0xf824f1))['join'](',\x20');return _0x3a3652[_0x7fc8a2(0x28f)][String(_0x47f3d1)]||String(_0x47f3d1);}function formatOptionsForDoc(_0x36640d){const _0x3b462c=a0_0x1a4d8a;return _0x36640d[_0x3b462c(0x1b9)](_0x20d239=>_0x20d239[_0x3b462c(0x30b)]+'('+_0x20d239[_0x3b462c(0x222)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x875388,_0x286716=0x0){const _0x220851=a0_0x1a4d8a,_0x417393='\x20\x20'['repeat'](_0x286716),_0x50e2a1=[];return _0x875388[_0x220851(0x1e6)](_0xa5d8ec=>{const _0x454aeb=_0x220851;_0x50e2a1[_0x454aeb(0x117)](_0x417393+_0x454aeb(0x340)+_0xa5d8ec['value']+'`:\x20'+_0xa5d8ec[_0x454aeb(0x222)]),_0xa5d8ec[_0x454aeb(0x354)]&&_0xa5d8ec['children']['length']>0x0&&_0x50e2a1[_0x454aeb(0x117)](formatOptionsAsMarkdownList(_0xa5d8ec[_0x454aeb(0x354)],_0x286716+0x1));}),_0x50e2a1['join']('\x0a');}class DbtableConfig{[a0_0x1a4d8a(0x1a9)];constructor(_0x571246){const _0x3d4524=a0_0x1a4d8a,_0x46697c={..._0x571246};this[_0x3d4524(0x1a9)]=_0x46697c;}get[a0_0x1a4d8a(0x36e)](){const _0x52da82=a0_0x1a4d8a;return this[_0x52da82(0x1a9)][_0x52da82(0x36e)];}get['dbName'](){const _0x5be18f=a0_0x1a4d8a;return this[_0x5be18f(0x1a9)][_0x5be18f(0x13c)]??this['_raw'][_0x5be18f(0xd8)]?.['dbName'];}get[a0_0x1a4d8a(0x163)](){const _0x3b9425=a0_0x1a4d8a;return this[_0x3b9425(0x1a9)][_0x3b9425(0x163)];}get[a0_0x1a4d8a(0x143)](){const _0x2ed57b=a0_0x1a4d8a;return this[_0x2ed57b(0x1a9)]['datasetKey'];}get['pkField'](){const _0x53a264=a0_0x1a4d8a;return this[_0x53a264(0x1a9)][_0x53a264(0x173)];}get[a0_0x1a4d8a(0x1c3)](){return this['_raw']['labelField'];}get[a0_0x1a4d8a(0x18a)](){const _0x21a5f6=a0_0x1a4d8a;return this[_0x21a5f6(0x1a9)][_0x21a5f6(0x18a)];}get[a0_0x1a4d8a(0x21e)](){const _0x3ba4fd=a0_0x1a4d8a;return this[_0x3ba4fd(0x1a9)]['createTimeField'];}get['updateTimeField'](){const _0x10b29a=a0_0x1a4d8a;return this[_0x10b29a(0x1a9)][_0x10b29a(0x220)];}get['creatorIdField'](){const _0x4e46b6=a0_0x1a4d8a;return this[_0x4e46b6(0x1a9)][_0x4e46b6(0x2d2)];}get[a0_0x1a4d8a(0x12d)](){const _0x170a25=a0_0x1a4d8a;return this[_0x170a25(0x1a9)][_0x170a25(0x12d)];}get['modifierIdField'](){const _0x36cdb6=a0_0x1a4d8a;return this['_raw'][_0x36cdb6(0x218)];}get['modifierNameField'](){const _0x4bfe24=a0_0x1a4d8a;return this['_raw'][_0x4bfe24(0x256)];}get['dblinkInfoDTO'](){const _0x2fa773=a0_0x1a4d8a;return this[_0x2fa773(0x1a9)]['dblinkInfoDTO'];}[a0_0x1a4d8a(0x1e1)](){const _0x6ea011=a0_0x1a4d8a;if(!this[_0x6ea011(0x1a9)][_0x6ea011(0xde)])return[];return this['_raw'][_0x6ea011(0xde)]['split'](',')['map'](_0x3680a1=>_0x3680a1['trim']())[_0x6ea011(0x20e)](Boolean);}[a0_0x1a4d8a(0x327)](){const _0x321320=a0_0x1a4d8a;return this[_0x321320(0x1a9)][_0x321320(0xde)];}[a0_0x1a4d8a(0x1f8)](_0x1a9904){const _0x14d517=a0_0x1a4d8a;return this['getAllFieldsArray']()[_0x14d517(0x24a)](_0x1a9904);}[a0_0x1a4d8a(0x279)](){const _0x2e9e00=a0_0x1a4d8a;return Boolean(this[_0x2e9e00(0x1a9)][_0x2e9e00(0x163)]);}[a0_0x1a4d8a(0x164)](){const _0x219900=a0_0x1a4d8a;return Boolean(this[_0x219900(0x1a9)][_0x219900(0xd8)]);}[a0_0x1a4d8a(0x1f0)](){const _0x3a6c13=a0_0x1a4d8a;return Boolean(this['_raw'][_0x3a6c13(0x18a)]?.[_0x3a6c13(0x149)]);}[a0_0x1a4d8a(0x1eb)](){const _0x598b8e=a0_0x1a4d8a;return Boolean(this['_raw'][_0x598b8e(0x21e)]?.['fieldName']);}['hasUpdateTimeField'](){const _0x588cb6=a0_0x1a4d8a;return Boolean(this[_0x588cb6(0x1a9)][_0x588cb6(0x220)]?.[_0x588cb6(0x149)]);}[a0_0x1a4d8a(0x263)](){const _0x3e3563=a0_0x1a4d8a;return Boolean(this[_0x3e3563(0x1a9)][_0x3e3563(0x2d2)]?.[_0x3e3563(0x149)]);}[a0_0x1a4d8a(0x25f)](){const _0x2c971d=a0_0x1a4d8a;return Boolean(this[_0x2c971d(0x1a9)]['modifierIdField']?.['fieldName']);}['isPrimaryKeyField'](_0x3b08fe){const _0x528044=a0_0x1a4d8a;return this['_raw'][_0x528044(0x173)]===_0x3b08fe;}['isSystemField'](_0x507f82){const _0x583e66=a0_0x1a4d8a;return this['isPrimaryKeyField'](_0x507f82)||this[_0x583e66(0x1a9)][_0x583e66(0x18a)]?.[_0x583e66(0x149)]===_0x507f82||this['_raw'][_0x583e66(0x21e)]?.[_0x583e66(0x149)]===_0x507f82||this[_0x583e66(0x1a9)][_0x583e66(0x220)]?.[_0x583e66(0x149)]===_0x507f82||this[_0x583e66(0x1a9)][_0x583e66(0x2d2)]?.[_0x583e66(0x149)]===_0x507f82||this[_0x583e66(0x1a9)]['creatorNameField']?.[_0x583e66(0x149)]===_0x507f82||this[_0x583e66(0x1a9)][_0x583e66(0x218)]?.['fieldName']===_0x507f82||this[_0x583e66(0x1a9)][_0x583e66(0x256)]?.['fieldName']===_0x507f82;}[a0_0x1a4d8a(0x257)](){const _0x1ae809=a0_0x1a4d8a;return this[_0x1ae809(0x1a9)][_0x1ae809(0xd8)]?.[_0x1ae809(0x13c)];}[a0_0x1a4d8a(0xe5)](){const _0x5dae35=a0_0x1a4d8a;return this[_0x5dae35(0x1a9)]['dblinkInfoDTO']?.[_0x5dae35(0x363)];}[a0_0x1a4d8a(0x38b)](){return this['_raw']['dblinkInfoDTO']?.['dbVersion'];}[a0_0x1a4d8a(0x2b8)](){const _0x3dff7e=a0_0x1a4d8a;return this[_0x3dff7e(0x1a9)][_0x3dff7e(0xd8)]?.[_0x3dff7e(0x1ac)];}[a0_0x1a4d8a(0x232)](){const _0x163279=a0_0x1a4d8a;return this[_0x163279(0x1a9)][_0x163279(0xd8)]?.['appCode'];}[a0_0x1a4d8a(0x1d5)](){const _0x2e2e07=a0_0x1a4d8a;return this[_0x2e2e07(0x1a9)][_0x2e2e07(0xd8)]?.['systemAnalysisResult'];}[a0_0x1a4d8a(0x2dd)](){const _0x385900=a0_0x1a4d8a;return{'hasTableName':this[_0x385900(0x279)](),'hasDblinkInfo':this[_0x385900(0x164)](),'fieldCount':this['getAllFieldsArray']()[_0x385900(0x1f3)],'systemFields':{'hasLogicField':this[_0x385900(0x1f0)](),'hasCreateTimeField':this[_0x385900(0x1eb)](),'hasUpdateTimeField':this[_0x385900(0x103)](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x385900(0x25f)]()}};}['toConfig'](){const _0x4eeb80=a0_0x1a4d8a,_0x2b38d2={};return _0x2b38d2[_0x4eeb80(0x163)]=this['tableName'],_0x2b38d2['pkField']=this[_0x4eeb80(0x173)],_0x2b38d2[_0x4eeb80(0x143)]=this[_0x4eeb80(0x143)],_0x2b38d2['dbId']=this[_0x4eeb80(0x36e)],_0x2b38d2;}[a0_0x1a4d8a(0x18e)](){const _0x12fd1e={...this['_raw']};return _0x12fd1e;}[a0_0x1a4d8a(0x161)](){const _0x3d5ea6={...this['_raw']};return _0x3d5ea6;}['toString'](){const _0x283bb7=a0_0x1a4d8a,_0x2622ed=this[_0x283bb7(0x163)]||_0x283bb7(0x157),_0x157c35=this[_0x283bb7(0x1e1)]()[_0x283bb7(0x1f3)];return _0x283bb7(0x2a2)+_0x2622ed+_0x283bb7(0x16b)+_0x157c35+')';}static[a0_0x1a4d8a(0x332)](){return new DbtableConfig({});}}class DatasetItem{['_raw'];constructor(_0x12a8ed){const _0x109833=a0_0x1a4d8a,_0x1dc51c=_0x12a8ed['datasetCode']||_0x12a8ed['code']||_0x12a8ed[_0x109833(0xc8)],_0x29008d={..._0x12a8ed};_0x29008d[_0x109833(0x1b6)]=_0x1dc51c,this[_0x109833(0x1a9)]=_0x29008d;}get['id'](){return this['_raw']['id'];}get[a0_0x1a4d8a(0x1c8)](){const _0x4d933e=a0_0x1a4d8a;return this[_0x4d933e(0x1a9)][_0x4d933e(0x1c8)];}[a0_0x1a4d8a(0x239)](){const _0x43507c=a0_0x1a4d8a;return this[_0x43507c(0x1c8)];}get[a0_0x1a4d8a(0x1b6)](){const _0x478fd8=a0_0x1a4d8a;return this[_0x478fd8(0x1a9)]['datasetCode']||'';}get[a0_0x1a4d8a(0x197)](){const _0x1cfee4=a0_0x1a4d8a;if(!this[_0x1cfee4(0x1a9)][_0x1cfee4(0x197)])return null;return new DbtableConfig(this['_raw'][_0x1cfee4(0x197)]);}['getRawDbtableConfig'](){const _0x78aac4=a0_0x1a4d8a;return this[_0x78aac4(0x1a9)]['dbtableConfig'];}[a0_0x1a4d8a(0x17c)](){const _0x33e77d=a0_0x1a4d8a;return this[_0x33e77d(0x197)]?.[_0x33e77d(0x13c)]||'';}[a0_0x1a4d8a(0x14a)](){return getTableName(this['_raw']);}[a0_0x1a4d8a(0x209)](){const _0x13ffad=a0_0x1a4d8a;return getTableKey(this[_0x13ffad(0x14a)]());}[a0_0x1a4d8a(0x142)](){const _0x62962c=a0_0x1a4d8a;return generateModelKeyFromCode(this[_0x62962c(0x1b6)]);}[a0_0x1a4d8a(0x2fa)](){return isVirtualTableName(this['getTableName']());}[a0_0x1a4d8a(0x1e0)](){return getTableKey(this['getTableName']());}[a0_0x1a4d8a(0x223)](){const _0x48d5e3=a0_0x1a4d8a,_0x19b65c=getTableKey(this[_0x48d5e3(0x14a)]());return{'key':_0x19b65c,'alias':_0x19b65c,'tableName':this[_0x48d5e3(0x14a)](),'datasetCode':this['datasetCode'],'name':this[_0x48d5e3(0x1c8)]};}[a0_0x1a4d8a(0x18e)](){const _0x21f9ee=a0_0x1a4d8a,_0xb956fc={...this[_0x21f9ee(0x1a9)]};return _0xb956fc[_0x21f9ee(0x1b6)]=this[_0x21f9ee(0x1b6)],_0xb956fc;}[a0_0x1a4d8a(0x161)](){const _0x55b417=a0_0x1a4d8a,_0x3eb5f1={...this[_0x55b417(0x1a9)]};return _0x3eb5f1;}[a0_0x1a4d8a(0x2de)](){const _0x22a32e=a0_0x1a4d8a,_0x416fdb=this[_0x22a32e(0x197)];return _0x416fdb!==null&&_0x416fdb[_0x22a32e(0x279)]();}[a0_0x1a4d8a(0x1d9)](_0x1da0c7){return this['_raw'][_0x1da0c7];}[a0_0x1a4d8a(0x1a8)](_0x39e750){return _0x39e750 in this['_raw'];}[a0_0x1a4d8a(0x358)](){const _0x13b663=a0_0x1a4d8a;return _0x13b663(0x37c)+this[_0x13b663(0x1c8)]+',\x20'+this['datasetCode']+')';}}class Operation{[a0_0x1a4d8a(0x1c8)];[a0_0x1a4d8a(0x1a9)];[a0_0x1a4d8a(0x15b)];constructor(_0x494df3,_0x24b723,_0x534ce8){const _0xf9d0f0=a0_0x1a4d8a;this[_0xf9d0f0(0x1c8)]=_0x494df3,this['_raw']=_0x24b723,this[_0xf9d0f0(0x15b)]=_0x534ce8;}['getName'](){return this['name'];}[a0_0x1a4d8a(0x1df)](){const _0x5c102f=a0_0x1a4d8a;return OPERATION_TYPE_DISPLAY_NAME[this[_0x5c102f(0x1c8)]]||this[_0x5c102f(0x1c8)];}['getType'](){const _0x3a0e9d=a0_0x1a4d8a;return parseOperationType(this[_0x3a0e9d(0x1c8)]);}[a0_0x1a4d8a(0x320)](){const _0x4cf27c=a0_0x1a4d8a;return this[_0x4cf27c(0x1a9)]!==null&&this[_0x4cf27c(0x1a9)]!==![];}[a0_0x1a4d8a(0x38e)](){const _0xb65749=a0_0x1a4d8a,_0x4b13c1=this[_0xb65749(0x1a9)];if(_0x4b13c1===![]||_0x4b13c1===null)return'';return _0x4b13c1[_0xb65749(0x2ac)]||_0xb65749(0x2ce);}[a0_0x1a4d8a(0x356)](){const _0x126bf2=a0_0x1a4d8a,_0x481cca=this[_0x126bf2(0x1a9)];if(_0x481cca===![]||_0x481cca===null)return'';return _0x481cca['path']||'';}[a0_0x1a4d8a(0x14b)](){const _0x3ef86c=a0_0x1a4d8a,_0xd87dab=this[_0x3ef86c(0x1a9)];let _0x453318='';_0xd87dab!==![]&&_0xd87dab!==null&&_0xd87dab[_0x3ef86c(0x284)]&&(_0x453318=_0xd87dab[_0x3ef86c(0x284)]);const _0x243133=this[_0x3ef86c(0x356)]();return _0x453318&&_0x243133?''+_0x453318+_0x243133:_0x243133;}['parseRawRequestBody'](){const _0x49f5de=a0_0x1a4d8a,_0x18240d=this[_0x49f5de(0x1a9)];if(_0x18240d===![]||_0x18240d===null||!_0x18240d[_0x49f5de(0x184)])return{};try{return JSON[_0x49f5de(0x1ef)](_0x18240d[_0x49f5de(0x184)]);}catch{return{};}}['parseRawResponseBody'](){const _0x345c12=a0_0x1a4d8a,_0x50a72f=this[_0x345c12(0x1a9)];if(_0x50a72f===![]||_0x50a72f===null||!_0x50a72f[_0x345c12(0xe6)])return null;return parseResponseBody(_0x50a72f[_0x345c12(0xe6)]);}['getRequestParams'](){return this['parseRawRequestBody']();}[a0_0x1a4d8a(0x260)](){const _0x4012e=a0_0x1a4d8a;return this[_0x4012e(0x2dc)]();}[a0_0x1a4d8a(0x266)](){const _0x2e13bd=a0_0x1a4d8a,_0x45af1d=this[_0x2e13bd(0xe2)]();return Object[_0x2e13bd(0x1e7)](_0x45af1d);}[a0_0x1a4d8a(0x26b)](){const _0x18e9b1=a0_0x1a4d8a,_0x126026=this[_0x18e9b1(0xe2)](),_0x49d525={};return Object[_0x18e9b1(0x140)](_0x126026)['forEach'](([_0x3cfaca,_0x11e7a1])=>{const _0x4c7e48=_0x18e9b1,_0x4f0b37=_0x11e7a1;_0x49d525[_0x3cfaca]=generateExampleValue(_0x3cfaca,_0x4f0b37[_0x4c7e48(0x172)]||_0x4c7e48(0xfc),undefined,{'description':_0x4f0b37['description']});}),_0x49d525;}[a0_0x1a4d8a(0x2bd)](){const _0x22222f=a0_0x1a4d8a;return this[_0x22222f(0x26b)]();}['generateResponseExample'](){const _0x12b2b8=a0_0x1a4d8a,_0x11c432=this[_0x12b2b8(0x2dc)]();if(!_0x11c432){const _0x31adce={};return _0x31adce[_0x12b2b8(0xf2)]=!![],_0x31adce['msg']='操作成功',_0x31adce[_0x12b2b8(0x175)]='',_0x31adce[_0x12b2b8(0x1c0)]=_0x12b2b8(0x316),_0x31adce[_0x12b2b8(0x2c0)]=null,_0x31adce;}return this[_0x12b2b8(0x1a1)](_0x11c432);}[a0_0x1a4d8a(0x1a1)](_0x5a5bd0){const _0x948aef=a0_0x1a4d8a;if(!_0x5a5bd0||typeof _0x5a5bd0!==_0x948aef(0x32a))return{};if(Array[_0x948aef(0x28d)](_0x5a5bd0))return _0x5a5bd0[_0x948aef(0x1f3)]>0x0?[this[_0x948aef(0x1a1)](_0x5a5bd0[0x0])]:[];const _0x26c736={};for(const [_0x6a52ab,_0x172696]of Object[_0x948aef(0x140)](_0x5a5bd0)){if(_0x172696&&typeof _0x172696===_0x948aef(0x32a)&&!Array[_0x948aef(0x28d)](_0x172696)){const _0x2cc702=_0x172696;_0x26c736[_0x6a52ab]=generateExampleValue(_0x6a52ab,_0x2cc702['type']||_0x948aef(0xfc),undefined,{'description':_0x2cc702[_0x948aef(0x231)]});}else Array[_0x948aef(0x28d)](_0x172696)?_0x26c736[_0x6a52ab]=_0x172696[_0x948aef(0x1f3)]>0x0?[this[_0x948aef(0x1a1)](_0x172696[0x0])]:[]:_0x26c736[_0x6a52ab]=_0x172696;}return _0x26c736;}[a0_0x1a4d8a(0x2d9)](_0x437cc1,_0x12515c,_0x56d96d,_0x625b3c){return generateExampleValue(_0x437cc1,_0x12515c,_0x56d96d,_0x625b3c);}[a0_0x1a4d8a(0x165)](_0x522d07,_0x321e16){const _0x2c0188=a0_0x1a4d8a,_0x3a2436=this[_0x2c0188(0x239)]();return _0x2c0188(0x1f9)+_0x522d07+'.'+_0x3a2436+'();';}[a0_0x1a4d8a(0x10b)](_0x1fb730){const _0x3c8031=a0_0x1a4d8a,_0x2561aa=this[_0x3c8031(0x239)](),_0x1b62a=_0x1fb730||'yourModel',_0x1fb922={};return _0x1fb922[_0x3c8031(0x199)]=_0x3c8031(0x30f)+_0x1b62a+'.'+_0x2561aa+_0x3c8031(0x34c),_0x1fb922['errorCode']=_0x3c8031(0x33f)+_0x1b62a+'.'+_0x2561aa+_0x3c8031(0x125),_0x1fb922;}['getRequestParamsDocInfo'](){const _0x2264fe=a0_0x1a4d8a,_0x1df2bb=this['getRequestParams'](),_0x1a5a80=Object[_0x2264fe(0x140)](_0x1df2bb)[_0x2264fe(0x1b9)](([_0x248dbc,_0xcdce13])=>{const _0x5c0a21=_0x2264fe,_0x362a50=_0xcdce13,_0xe5f9d3={};return _0xe5f9d3[_0x5c0a21(0x1c8)]=_0x248dbc,_0xe5f9d3['type']=_0x362a50['type']||_0x5c0a21(0xfc),_0xe5f9d3[_0x5c0a21(0x231)]=_0x362a50[_0x5c0a21(0x231)]||'-',_0xe5f9d3[_0x5c0a21(0xca)]=_0x362a50['required'],_0xe5f9d3;}),_0x2702a7={};return _0x2702a7['params']=_0x1a5a80,_0x2702a7;}[a0_0x1a4d8a(0x27d)](){const _0x3b4569=a0_0x1a4d8a,_0x27d5da=this[_0x3b4569(0x2dc)]();if(!_0x27d5da){const _0x5b7103={};return _0x5b7103['params']=[],_0x5b7103;}const _0x9b07db=Object['entries'](_0x27d5da)[_0x3b4569(0x1b9)](([_0x484378,_0x26f9c8])=>{const _0x3446d8=_0x3b4569,_0x4c33d6=_0x26f9c8,_0x47e009={};return _0x47e009[_0x3446d8(0x1c8)]=_0x484378,_0x47e009[_0x3446d8(0x172)]=_0x4c33d6[_0x3446d8(0x172)]||_0x3446d8(0xfc),_0x47e009[_0x3446d8(0x231)]=_0x4c33d6['description']||'-',_0x47e009;}),_0xe192e4={};return _0xe192e4[_0x3b4569(0x37d)]=_0x9b07db,_0xe192e4;}[a0_0x1a4d8a(0x219)](){return[];}[a0_0x1a4d8a(0x1f4)](){const _0x1992cb=a0_0x1a4d8a;return this[_0x1992cb(0x15b)][_0x1992cb(0x381)]||[];}[a0_0x1a4d8a(0x108)](){const _0x33e2d0=a0_0x1a4d8a;return{'systemFields':this['getSystemFields'](),'businessFields':this[_0x33e2d0(0x1f4)]()};}[a0_0x1a4d8a(0xc2)](_0x32c3d6){const _0x3bc65c=a0_0x1a4d8a;return this[_0x3bc65c(0x15b)][_0x3bc65c(0x381)]['find'](_0x5eba84=>_0x5eba84?.['code']===_0x32c3d6);}[a0_0x1a4d8a(0xf7)](_0x283ddc){const _0xcd7704=a0_0x1a4d8a;return _0x283ddc[_0xcd7704(0x1b8)];}[a0_0x1a4d8a(0x144)](_0x2f2bac){return _0x2f2bac['type'];}[a0_0x1a4d8a(0x2bf)](_0x3abfd){return _0x3abfd['name'];}[a0_0x1a4d8a(0x13e)](_0x23bf24){const _0x2e206f=a0_0x1a4d8a;return _0x23bf24[_0x2e206f(0x231)];}[a0_0x1a4d8a(0xf6)](_0x3f1ae5){return _0x3f1ae5['getEnumOptions']()||null;}['isFieldPrimaryKey'](_0x19d501){return _0x19d501['isPrimaryKey']();}[a0_0x1a4d8a(0x31d)](){return[];}[a0_0x1a4d8a(0x2aa)](_0x4100d8){return[];}[a0_0x1a4d8a(0x18e)](){const _0x9b89b6=a0_0x1a4d8a;return{'name':this['getName'](),'displayName':this['getDisplayName'](),'type':this['getType'](),'enabled':this[_0x9b89b6(0x320)](),'method':this['getMethod'](),'path':this[_0x9b89b6(0x356)](),'fullUrl':this['getFullUrl'](),'requestParams':this[_0x9b89b6(0xe2)](),'requestExample':this['generateRequestExample'](),'responseExample':this[_0x9b89b6(0x1f5)]()};}[a0_0x1a4d8a(0x358)](){const _0x299dc0=a0_0x1a4d8a,_0x10ac91=this['isEnabled']()?'启用':'禁用';return this[_0x299dc0(0x1df)]()+'('+this[_0x299dc0(0x1c8)]+',\x20'+_0x10ac91+')';}}class GenericOperation extends Operation{['_requestExampleCache'];[a0_0x1a4d8a(0xe2)](){const _0x44eb6f=a0_0x1a4d8a;return this[_0x44eb6f(0xe7)]();}[a0_0x1a4d8a(0x260)](){const _0x45d14f=a0_0x1a4d8a;return this[_0x45d14f(0x2dc)]();}[a0_0x1a4d8a(0x26b)](){const _0x499f2e=a0_0x1a4d8a;if(this['_requestExampleCache'])return this['_requestExampleCache'];const _0x1fa476={},_0x57c9c0=this['getRequestParams'](),_0x18851c=this[_0x499f2e(0x2a1)]();if(Object[_0x499f2e(0x1e7)](_0x57c9c0)[_0x499f2e(0x1f3)]===0x0&&_0x18851c){const _0x5e9607=this[_0x499f2e(0x1f4)]();return _0x5e9607[_0x499f2e(0x1e6)](_0x39d544=>{const _0x5231c5=_0x499f2e,_0xc7f6f1=_0x39d544[_0x5231c5(0x1b8)],_0x107925=_0x39d544[_0x5231c5(0x172)],_0x298ab6=this['generateFieldExample'](_0xc7f6f1,_0x107925,_0x39d544[_0x5231c5(0x1e4)](),{'isPrimaryKey':_0x39d544[_0x5231c5(0x1fc)](),'description':_0x39d544[_0x5231c5(0x231)]||_0x39d544['name']});_0x1fa476[_0xc7f6f1]=_0x298ab6;}),this[_0x499f2e(0x112)]=_0x1fa476,_0x1fa476;}return Object[_0x499f2e(0x140)](_0x57c9c0)[_0x499f2e(0x1e6)](([_0xa36fef,_0x247a5e])=>{const _0x5b8ab5=_0x499f2e,_0x3ce9d2=_0x247a5e;let _0x372d13;if(typeof _0x3ce9d2[_0x5b8ab5(0x172)]==='string')_0x372d13=_0x3ce9d2[_0x5b8ab5(0x172)];else _0x3ce9d2[_0x5b8ab5(0x172)]&&typeof _0x3ce9d2['type']==='object'?_0x372d13=_0x3ce9d2[_0x5b8ab5(0x172)][_0x5b8ab5(0x172)]||'TEXT':_0x372d13='TEXT';const _0x111d1a=_0x3ce9d2['description'],_0x4a8896=this['getFieldDefinition'](_0xa36fef);if(_0xa36fef==='currentPage')_0x1fa476[_0xa36fef]=0x1;else{if(_0xa36fef===_0x5b8ab5(0x1b2))_0x1fa476[_0xa36fef]=0xa;else{if(_0xa36fef==='id')_0x1fa476[_0xa36fef]=0x1;else{const _0x42051a=_0x4a8896?_0x4a8896[_0x5b8ab5(0x1e4)]():undefined,_0x122073=_0x4a8896?_0x4a8896['description']:undefined,_0x21d112=_0x4a8896?_0x4a8896[_0x5b8ab5(0x1c8)]:undefined;_0x1fa476[_0xa36fef]=this['generateFieldExample'](_0xa36fef,_0x372d13,_0x42051a||undefined,{'isPrimaryKey':_0xa36fef===this['context']['pkField']||_0xa36fef==='id','description':_0x111d1a||_0x122073||_0x21d112});}}}}),this[_0x499f2e(0x112)]=_0x1fa476,_0x1fa476;}[a0_0x1a4d8a(0x1f5)](){const _0xc1b128=a0_0x1a4d8a,_0x103724=this['getResponseSchema']();if(!_0x103724){const _0x3e3f9b={};return _0x3e3f9b[_0xc1b128(0xf2)]=!![],_0x3e3f9b[_0xc1b128(0x200)]=_0xc1b128(0x119),_0x3e3f9b[_0xc1b128(0x175)]='',_0x3e3f9b[_0xc1b128(0x1c0)]=_0xc1b128(0x316),_0x3e3f9b[_0xc1b128(0x2c0)]=null,_0x3e3f9b;}return this[_0xc1b128(0x1a1)](_0x103724);}['generateFromSchema'](_0x13b67b){const _0x415243=a0_0x1a4d8a;if(!_0x13b67b||typeof _0x13b67b!=='object')return{};if(Array[_0x415243(0x28d)](_0x13b67b)){if(_0x13b67b['length']>0x0)return[this[_0x415243(0x1a1)](_0x13b67b[0x0])];return[];}const _0x487dca={};return Object['keys'](_0x13b67b)[_0x415243(0x1e6)](_0x22da6b=>{const _0x3e454e=_0x415243,_0x202bca=_0x13b67b[_0x22da6b];if(_0x202bca&&typeof _0x202bca===_0x3e454e(0x32a)&&!Array[_0x3e454e(0x28d)](_0x202bca)&&_0x202bca[_0x3e454e(0x172)]){const _0x1f16d2=_0x202bca;let _0x53c092;if(typeof _0x1f16d2[_0x3e454e(0x172)]===_0x3e454e(0x195))_0x53c092=_0x1f16d2[_0x3e454e(0x172)];else _0x1f16d2[_0x3e454e(0x172)]&&typeof _0x1f16d2[_0x3e454e(0x172)]===_0x3e454e(0x32a)?_0x53c092=_0x1f16d2[_0x3e454e(0x172)][_0x3e454e(0x172)]||'TEXT':_0x53c092=_0x3e454e(0x14c);const _0x1a4af8=_0x1f16d2['description'],_0x45cdfa={};_0x45cdfa[_0x3e454e(0x231)]=_0x1a4af8,_0x487dca[_0x22da6b]=this['generateFieldExample'](_0x22da6b,_0x53c092,undefined,_0x45cdfa);}else{if(Array[_0x3e454e(0x28d)](_0x202bca))_0x487dca[_0x22da6b]=_0x202bca[_0x3e454e(0x1f3)]>0x0?[this['generateFromSchema'](_0x202bca[0x0])]:[];else _0x202bca&&typeof _0x202bca===_0x3e454e(0x32a)?_0x487dca[_0x22da6b]=this[_0x3e454e(0x1a1)](_0x202bca):_0x487dca[_0x22da6b]=_0x202bca;}}),_0x487dca;}[a0_0x1a4d8a(0x165)](_0x1cd285,_0x144cd6){const _0x362b41=a0_0x1a4d8a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x144cd6||{},_0x32899f=this[_0x362b41(0x239)](),_0x446677=this[_0x362b41(0x2a1)](),_0xc75932=this['getRequestFields'](),_0x4a36ae=this[_0x362b41(0x26b)](),_0x4d82fd=_0x54d9cd=>{const _0x42ae4a=_0x362b41;if(Object['keys'](_0x54d9cd)[_0x42ae4a(0x1f3)]===0x0)return'{}';const _0x143c0b=JSON[_0x42ae4a(0x2db)](_0x54d9cd,null,0x2)['split']('\x0a')['map']((_0x1fbf2f,_0xdbb1aa)=>_0xdbb1aa===0x0?_0x1fbf2f:indent+_0x1fbf2f)[_0x42ae4a(0x261)]('\x0a');return _0x143c0b;};switch(_0x446677){case'getOne':case _0x362b41(0x29b):return _0x362b41(0x1f9)+_0x1cd285+'.'+_0x32899f+_0x362b41(0x271);case'update':if(useFullExample&&Object[_0x362b41(0x1e7)](_0x4a36ae)[_0x362b41(0x1f3)]>0x0)return _0x362b41(0x1f9)+_0x1cd285+'.'+_0x32899f+_0x362b41(0x345)+_0x4d82fd(_0x4a36ae)+');';return _0x362b41(0x1f9)+_0x1cd285+'.'+_0x32899f+'(id,\x20data);';case _0x362b41(0x2d0):case _0x362b41(0x298):case'getSelectOptions':default:if(_0xc75932[_0x362b41(0x1f3)]>0x0){if(useFullExample&&Object[_0x362b41(0x1e7)](_0x4a36ae)[_0x362b41(0x1f3)]>0x0)return _0x362b41(0x1f9)+_0x1cd285+'.'+_0x32899f+'('+_0x4d82fd(_0x4a36ae)+');';else{const _0x466f92=Object[_0x362b41(0x1e7)](_0x4a36ae);if(_0x466f92['length']>0x0){const _0x43539a=_0x466f92[_0x362b41(0x19e)](0x0,0x2)[_0x362b41(0x261)](',\x20');return _0x362b41(0x1f9)+_0x1cd285+'.'+_0x32899f+_0x362b41(0x1c6)+_0x43539a+_0x362b41(0x259);}else return _0x362b41(0x1f9)+_0x1cd285+'.'+_0x32899f+'(params);';}}else return _0x362b41(0x1f9)+_0x1cd285+'.'+_0x32899f+_0x362b41(0x34c);}}[a0_0x1a4d8a(0x2b3)](){const _0x2c266b=a0_0x1a4d8a;return[{'title':_0x2c266b(0x111),'data':this[_0x2c266b(0x26b)]()}];}[a0_0x1a4d8a(0x219)](){const _0x15b761=a0_0x1a4d8a,_0x52e63f=this[_0x15b761(0x2a1)](),_0x559fd7=[];switch(_0x52e63f){case'getOne':case _0x15b761(0x29b):const _0x402b8f={};_0x402b8f[_0x15b761(0x1b8)]='id',_0x402b8f[_0x15b761(0x172)]=_0x15b761(0x2f1),_0x402b8f[_0x15b761(0x231)]=_0x15b761(0x14e),_0x559fd7[_0x15b761(0x117)](_0x402b8f);break;case _0x15b761(0x298):const _0x447bf2={};_0x447bf2[_0x15b761(0x1b8)]=_0x15b761(0xc6),_0x447bf2[_0x15b761(0x172)]=_0x15b761(0x2f1),_0x447bf2[_0x15b761(0x231)]='当前页码';const _0x499e74={};_0x499e74[_0x15b761(0x1b8)]='pageSize',_0x499e74[_0x15b761(0x172)]=_0x15b761(0x2f1),_0x499e74[_0x15b761(0x231)]=_0x15b761(0x21a),_0x559fd7[_0x15b761(0x117)](_0x447bf2,_0x499e74);break;case _0x15b761(0x2e1):const _0x5e9545={};_0x5e9545[_0x15b761(0x1b8)]=_0x15b761(0x1b8),_0x5e9545[_0x15b761(0x172)]=_0x15b761(0x202),_0x5e9545[_0x15b761(0x231)]=_0x15b761(0xe9),_0x559fd7[_0x15b761(0x117)](_0x5e9545);break;default:break;}return _0x559fd7;}[a0_0x1a4d8a(0x1f4)](){const _0x352616=a0_0x1a4d8a,_0x612ef0=this[_0x352616(0x2a1)](),_0x49f87b=this['context'][_0x352616(0x381)]||[];switch(_0x612ef0){case _0x352616(0x21d):case _0x352616(0x29b):return[];case _0x352616(0x2d0):return _0x49f87b[_0x352616(0x20e)](_0x5667ff=>{const _0x66ae93=_0x352616;if(_0x5667ff[_0x66ae93(0x2f2)])return![];if(_0x5667ff['isPrimaryKey']()&&_0x5667ff[_0x66ae93(0x135)]())return![];if(_0x5667ff[_0x66ae93(0x101)]())return![];if(_0x5667ff[_0x66ae93(0xe3)]()||_0x5667ff[_0x66ae93(0x36b)]())return![];return!![];});case'update':return _0x49f87b[_0x352616(0x20e)](_0xb55bd0=>{const _0x1434de=_0x352616;if(_0xb55bd0[_0x1434de(0x2f2)])return![];if(_0xb55bd0[_0x1434de(0x1fc)]())return![];if(_0xb55bd0[_0x1434de(0x101)]())return![];if(_0xb55bd0['isCreateTime']()||_0xb55bd0[_0x1434de(0x36b)]())return![];if(_0xb55bd0[_0x1434de(0x135)]())return![];return!![];});case _0x352616(0x298):case _0x352616(0x2e1):return _0x49f87b['filter'](_0x560146=>!_0x560146[_0x352616(0x2f2)]&&_0x560146['isBusiness']());default:return _0x49f87b[_0x352616(0x20e)](_0xed613b=>!_0xed613b[_0x352616(0x2f2)]&&_0xed613b[_0x352616(0x37b)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x248950=a0_0x1a4d8a,_0x273a37=super['getRequestParams'](),_0x17b097=Object[_0x248950(0x1e7)](_0x273a37);if(_0x17b097['length']===0x0||_0x17b097[_0x248950(0x1f3)]===0x1&&_0x17b097[0x0]===_0x248950(0x1b8)){if(!_0x273a37[_0x248950(0x1b8)]){const _0x27ad1f={};_0x27ad1f[_0x248950(0x172)]=_0x248950(0xfc),_0x27ad1f['description']='字段编码',_0x273a37[_0x248950(0x1b8)]=_0x27ad1f;}const _0x2ab1b7={};_0x2ab1b7[_0x248950(0x172)]='String',_0x2ab1b7[_0x248950(0x231)]=_0x248950(0x378),_0x273a37[_0x248950(0x222)]=_0x2ab1b7;}return _0x273a37;}[a0_0x1a4d8a(0x1f4)](){return[];}['getSystemFields'](){const _0x1a8220=a0_0x1a4d8a,_0x40968d={};_0x40968d[_0x1a8220(0x1b8)]=_0x1a8220(0x1b8),_0x40968d[_0x1a8220(0x172)]='String',_0x40968d[_0x1a8220(0x231)]=_0x1a8220(0x215);const _0x13f9d6={};return _0x13f9d6[_0x1a8220(0x1b8)]=_0x1a8220(0x222),_0x13f9d6[_0x1a8220(0x172)]=_0x1a8220(0xfc),_0x13f9d6[_0x1a8220(0x231)]=_0x1a8220(0x378),[_0x40968d,_0x13f9d6];}[a0_0x1a4d8a(0x26b)](){const _0x56c2d5=a0_0x1a4d8a,_0x3681b1={};return _0x3681b1['code']='field_name',_0x3681b1[_0x56c2d5(0x222)]=_0x56c2d5(0xd1),_0x3681b1;}[a0_0x1a4d8a(0x165)](_0x1a8b7d){const _0x4b4377=a0_0x1a4d8a,_0x1881c4=this[_0x4b4377(0x239)]();return _0x4b4377(0x1f9)+_0x1a8b7d+'.'+_0x1881c4+_0x4b4377(0xcf);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x202f90=a0_0x1a4d8a,_0xdfca1c=super[_0x202f90(0xe2)](),{currentPage:_0x4b76bc,pageSize:_0x1afc06,..._0x2f8a80}=_0xdfca1c,_0x31dc39={};Object[_0x202f90(0x140)](_0x2f8a80)[_0x202f90(0x1e6)](([_0x46cfd1,_0x2548de])=>{const _0x9fb63=_0x202f90;if(typeof _0x2548de===_0x9fb63(0x32a)&&_0x2548de!==null){const _0x4030ed=_0x2548de,_0x46a1ca=_0x4030ed[_0x9fb63(0x231)]||'',_0x52e7c7={..._0x4030ed};_0x52e7c7[_0x9fb63(0x231)]=_0x46a1ca?_0x46a1ca+_0x9fb63(0x226):_0x9fb63(0x2b1),_0x31dc39[_0x46cfd1]=_0x52e7c7;}else _0x31dc39[_0x46cfd1]=_0x2548de;});const _0x27eca7={...typeof _0x4b76bc==='object'?_0x4b76bc:{}};_0x27eca7['type']=_0x202f90(0x100),_0x27eca7[_0x202f90(0x231)]=_0x202f90(0xcb);const _0x162618={...typeof _0x1afc06===_0x202f90(0x32a)?_0x1afc06:{}};_0x162618['type']='Number',_0x162618['description']='每页数量';const _0xf720dc={..._0x31dc39};return _0xf720dc[_0x202f90(0xc6)]=_0x27eca7,_0xf720dc[_0x202f90(0x1b2)]=_0x162618,_0xf720dc;}[a0_0x1a4d8a(0x26b)](_0x55817a){const _0x2af0e2=a0_0x1a4d8a,{useArrayValues:useArrayValues=!![]}=_0x55817a||{},_0x5117ba=super[_0x2af0e2(0x26b)](),{currentPage:_0x21c70a,pageSize:_0x5c7819,..._0x196079}=_0x5117ba;if(!useArrayValues){const _0x1eee51={..._0x196079};return _0x1eee51['currentPage']=_0x21c70a??0x1,_0x1eee51[_0x2af0e2(0x1b2)]=_0x5c7819??0xa,_0x1eee51;}const _0x2ccd41={},_0x343b29=['id',_0x2af0e2(0x348),_0x2af0e2(0x1b8),_0x2af0e2(0x172)];Object['entries'](_0x196079)['forEach'](([_0x78551e,_0x284899],_0xf4187b)=>{const _0x27c06e=_0x2af0e2,_0x3a69db=_0x343b29[_0x27c06e(0x1d8)](_0x14d4c6=>_0x78551e[_0x27c06e(0x34b)]()[_0x27c06e(0x24a)](_0x14d4c6))||_0xf4187b%0x3===0x0;if(_0x3a69db&&_0x284899!==null&&_0x284899!==undefined){if(typeof _0x284899===_0x27c06e(0x391))_0x2ccd41[_0x78551e]=[_0x284899,_0x284899+0x1,_0x284899+0x2];else typeof _0x284899===_0x27c06e(0x195)?_0x2ccd41[_0x78551e]=[_0x284899,_0x284899+'_2',_0x284899+'_3']:_0x2ccd41[_0x78551e]=[_0x284899];}else _0x2ccd41[_0x78551e]=_0x284899;});const _0x38b4be={..._0x2ccd41};return _0x38b4be[_0x2af0e2(0xc6)]=_0x21c70a??0x1,_0x38b4be[_0x2af0e2(0x1b2)]=_0x5c7819??0xa,_0x38b4be;}[a0_0x1a4d8a(0x31b)](){const _0x168514={};return _0x168514['useArrayValues']=![],this['generateRequestExample'](_0x168514);}['generateRequestAllExamples'](){const _0x2e404c=a0_0x1a4d8a;return[{'title':_0x2e404c(0x1fe),'description':_0x2e404c(0x23e),'data':this['generateSingleValueExample']()},{'title':_0x2e404c(0x192),'description':_0x2e404c(0x2e9),'data':this[_0x2e404c(0x26b)]()}];}[a0_0x1a4d8a(0x165)](_0x2c9f79,_0x33f091){const _0x3790f7=a0_0x1a4d8a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x33f091||{},_0x4a0bdd=this['getName'](),_0x40e0ea={};_0x40e0ea[_0x3790f7(0x377)]=!![];const _0x55db69=this['generateRequestExample'](_0x40e0ea),{currentPage:_0x48898e,pageSize:_0x37f2ae,..._0x4ac8b6}=_0x55db69;if(useFullExample&&Object[_0x3790f7(0x1e7)](_0x55db69)[_0x3790f7(0x1f3)]>0x0){const _0x29f60a=Object[_0x3790f7(0x1e7)](_0x4ac8b6)[_0x3790f7(0x1f3)]>0x0;if(_0x29f60a){const _0x1720b5=this[_0x3790f7(0x31b)](),_0xdb2bb3=_0x41783b=>{const _0x42fedc=_0x3790f7;return JSON[_0x42fedc(0x2db)](_0x41783b,null,0x2)[_0x42fedc(0x342)]('\x0a')['map']((_0x25b9fe,_0x42a134)=>_0x42a134===0x0?_0x25b9fe:indent+_0x25b9fe)[_0x42fedc(0x261)]('\x0a');};return _0x3790f7(0xdf)+_0x2c9f79+'.'+_0x4a0bdd+'('+_0xdb2bb3(_0x1720b5)+_0x3790f7(0x214)+_0x2c9f79+'.'+_0x4a0bdd+'('+_0xdb2bb3(_0x55db69)+');';}else{const _0x2c0ba8=JSON[_0x3790f7(0x2db)](_0x55db69,null,0x2)['split']('\x0a')[_0x3790f7(0x1b9)]((_0x1c8191,_0x21ba33)=>_0x21ba33===0x0?_0x1c8191:indent+_0x1c8191)[_0x3790f7(0x261)]('\x0a');return _0x3790f7(0x1f9)+_0x2c9f79+'.'+_0x4a0bdd+'('+_0x2c0ba8+');';}}if(Object[_0x3790f7(0x1e7)](_0x4ac8b6)[_0x3790f7(0x1f3)]>0x0){const _0x370f1b=Object[_0x3790f7(0x1e7)](_0x4ac8b6)[0x0];return _0x3790f7(0x1f9)+_0x2c9f79+'.'+_0x4a0bdd+_0x3790f7(0x1c6)+_0x370f1b+_0x3790f7(0x29f);}return _0x3790f7(0x1f9)+_0x2c9f79+'.'+_0x4a0bdd+'({\x20currentPage,\x20pageSize\x20});';}}var AGGREGATE_FUNCTIONS=[a0_0x1a4d8a(0x207),a0_0x1a4d8a(0x32c),a0_0x1a4d8a(0x370),'max',a0_0x1a4d8a(0x33e)],FILTER_OPERATORS=[a0_0x1a4d8a(0xef),'$ne',a0_0x1a4d8a(0x179),a0_0x1a4d8a(0x104),a0_0x1a4d8a(0x2a3),a0_0x1a4d8a(0x322),a0_0x1a4d8a(0x303),a0_0x1a4d8a(0x274),a0_0x1a4d8a(0x325),a0_0x1a4d8a(0x181),a0_0x1a4d8a(0x193),a0_0x1a4d8a(0x35f)];class FilterOperation extends GenericOperation{constructor(_0x3959fc,_0x574a22,_0x548a34){super(_0x3959fc,_0x574a22,_0x548a34);}[a0_0x1a4d8a(0x31d)](){return FILTER_OPERATORS;}[a0_0x1a4d8a(0x2aa)](_0x896b75){const _0x332d81=a0_0x1a4d8a,_0x36cfee=this[_0x332d81(0xc2)](_0x896b75);if(!_0x36cfee)return[];return this['getApplicableOperators'](_0x36cfee);}[a0_0x1a4d8a(0xe2)](){const _0x5bf5fe=a0_0x1a4d8a,_0x5d2abb=super['getRequestParams'](),_0x47cd75={};_0x47cd75['type']=_0x5bf5fe(0x14f),_0x47cd75[_0x5bf5fe(0x231)]=_0x5bf5fe(0x36f),_0x47cd75[_0x5bf5fe(0xca)]=![];const _0x323b7f={};_0x323b7f['type']='String[]',_0x323b7f[_0x5bf5fe(0x231)]=_0x5bf5fe(0x31e),_0x323b7f[_0x5bf5fe(0xca)]=![];const _0x1cdfdd={};_0x1cdfdd[_0x5bf5fe(0x172)]=_0x5bf5fe(0x380),_0x1cdfdd[_0x5bf5fe(0x231)]=_0x5bf5fe(0x387),_0x1cdfdd[_0x5bf5fe(0xca)]=![];const _0x48d339={};_0x48d339[_0x5bf5fe(0x172)]='Number',_0x48d339[_0x5bf5fe(0x231)]=_0x5bf5fe(0xcb),_0x48d339[_0x5bf5fe(0xca)]=![],_0x48d339[_0x5bf5fe(0xc1)]=0x1;const _0xcceb14={};_0xcceb14['type']=_0x5bf5fe(0x100),_0xcceb14['description']=_0x5bf5fe(0x12c),_0xcceb14[_0x5bf5fe(0xca)]=![],_0xcceb14['default']=0xa;const _0x3844c3={..._0x5d2abb};return _0x3844c3['where']=_0x47cd75,_0x3844c3[_0x5bf5fe(0x1cf)]=_0x323b7f,_0x3844c3['orderBy']=_0x1cdfdd,_0x3844c3[_0x5bf5fe(0xc6)]=_0x48d339,_0x3844c3[_0x5bf5fe(0x1b2)]=_0xcceb14,_0x3844c3;}[a0_0x1a4d8a(0x219)](){const _0x142c61=a0_0x1a4d8a,_0x52f8bd=this[_0x142c61(0xe2)](),_0x552f65=[],_0x3b725e=[_0x142c61(0x138),_0x142c61(0x1cf),'orderBy',_0x142c61(0xc6),'pageSize'];return Object[_0x142c61(0x140)](_0x52f8bd)['forEach'](([_0x626cc4,_0x23fed3])=>{const _0x37ec62=_0x142c61;if(_0x3b725e[_0x37ec62(0x24a)](_0x626cc4)){const _0x255c7b=_0x23fed3,_0x28d052={};_0x28d052[_0x37ec62(0x1b8)]=_0x626cc4,_0x28d052[_0x37ec62(0x172)]=_0x255c7b['type']||_0x37ec62(0x14f),_0x28d052[_0x37ec62(0x231)]=_0x255c7b[_0x37ec62(0x231)]||'-',_0x552f65[_0x37ec62(0x117)](_0x28d052);}}),_0x552f65;}[a0_0x1a4d8a(0x1f4)](){const _0x4bf7cc=a0_0x1a4d8a;return this[_0x4bf7cc(0x15b)][_0x4bf7cc(0x381)]||[];}[a0_0x1a4d8a(0x375)](){const _0x210272=a0_0x1a4d8a;return{'systemParams':this[_0x210272(0x219)](),'businessFields':this[_0x210272(0x1f4)]()};}[a0_0x1a4d8a(0x26b)](){const _0x573de1=a0_0x1a4d8a,_0x4e2f27=this[_0x573de1(0x15b)][_0x573de1(0x381)]||[];if(_0x4e2f27[_0x573de1(0x1f3)]===0x0){const _0x102824={};return _0x102824['where']={},_0x102824[_0x573de1(0xc6)]=0x1,_0x102824[_0x573de1(0x1b2)]=0x14,_0x102824;}const _0x396ee3={},_0x1a43ba=_0x4e2f27[_0x573de1(0x19e)](0x0,Math[_0x573de1(0x33e)](0x3,_0x4e2f27[_0x573de1(0x1f3)]));_0x1a43ba[_0x573de1(0x1e6)](_0xdd3b5f=>{const _0x135ba2=_0x573de1,_0x2d3b7a=this['getApplicableOperators'](_0xdd3b5f);if(_0x2d3b7a[_0x135ba2(0x1f3)]===0x0)return;const _0x44cc5a=this['selectBestOperator'](_0xdd3b5f,_0x2d3b7a),_0x5833a4=this[_0x135ba2(0x24c)](_0xdd3b5f,_0x44cc5a),_0x3704ff={};_0x3704ff[_0x44cc5a]=_0x5833a4,_0x396ee3[_0xdd3b5f[_0x135ba2(0x1b8)]]=_0x3704ff;});const _0x167b77=_0x4e2f27[_0x573de1(0x19e)](0x0,Math[_0x573de1(0x33e)](0x5,_0x4e2f27[_0x573de1(0x1f3)]))[_0x573de1(0x1b9)](_0x3804bf=>_0x3804bf[_0x573de1(0x1b8)]),_0x35de87=_0x4e2f27[0x0]?_0x4e2f27[0x0]['code']:'id',_0x463f50={};_0x463f50[_0x35de87]=_0x573de1(0xe1);const _0x53f355={};return _0x53f355[_0x573de1(0x138)]=_0x396ee3,_0x53f355[_0x573de1(0x1cf)]=_0x167b77,_0x53f355['orderBy']=[_0x463f50],_0x53f355[_0x573de1(0xc6)]=0x1,_0x53f355['pageSize']=0x14,_0x53f355;}['generateSDKCallCode'](_0x5366bb,_0xcc141b){const _0x6d7178=a0_0x1a4d8a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0xcc141b||{},_0x54cbe4=this['getName'](),_0x5e14da=this[_0x6d7178(0x26b)](),_0x429baf=_0x4731bb=>{const _0x3e0027=_0x6d7178;return JSON[_0x3e0027(0x2db)](_0x4731bb,null,0x2)[_0x3e0027(0x342)]('\x0a')[_0x3e0027(0x1b9)]((_0x2bb09f,_0x157c74)=>_0x157c74===0x0?_0x2bb09f:indent+_0x2bb09f)[_0x3e0027(0x261)]('\x0a');};if(useFullExample){const _0x3ec5c8=this[_0x6d7178(0x15b)][_0x6d7178(0x381)]||[],_0x273cbf={'where':_0x3ec5c8[0x0]?{[_0x3ec5c8[0x0][_0x6d7178(0x1b8)]]:{'$eq':this['generateExampleValue'](_0x3ec5c8[0x0],_0x6d7178(0xef))}}:{},'select':_0x3ec5c8[_0x6d7178(0x19e)](0x0,0x3)[_0x6d7178(0x1b9)](_0x189592=>_0x189592[_0x6d7178(0x1b8)]),'currentPage':0x1,'pageSize':0x14};let _0xdb9ade='';if(_0x3ec5c8[_0x6d7178(0x1f3)]>=0x3){const _0x93c6d={};_0x93c6d[_0x6d7178(0x193)]=[];const _0x25da2b=_0x93c6d,_0x52d01a=[];if(_0x3ec5c8[_0x6d7178(0x1f3)]>0x0){const _0x36de97=_0x3ec5c8[_0x6d7178(0x286)](_0x517639=>{const _0x28f6c7=_0x6d7178,_0x288ca2=_0x517639[_0x28f6c7(0x1e4)]();return['NUMBER',_0x28f6c7(0x105),_0x28f6c7(0x334),'INT','TINYINT',_0x28f6c7(0x146)][_0x28f6c7(0x24a)](_0x288ca2);});if(_0x36de97){const _0x4bfa2f={};_0x4bfa2f[_0x6d7178(0x179)]=0x0,_0x4bfa2f[_0x6d7178(0x2a3)]=0x64;const _0x1b8fea={[_0x36de97[_0x6d7178(0x1b8)]]:_0x4bfa2f};_0x52d01a[_0x6d7178(0x117)](_0x1b8fea);}}if(_0x3ec5c8[_0x6d7178(0x1f3)]>0x1){const _0x3a8121=_0x3ec5c8['find'](_0x5456b5=>{const _0x4b7fab=_0x6d7178,_0x253600=_0x5456b5['getDbTypeForOperation']();return[_0x4b7fab(0x202),_0x4b7fab(0x14c),_0x4b7fab(0x190),_0x4b7fab(0x1ba),'LONGTEXT'][_0x4b7fab(0x24a)](_0x253600);});if(_0x3a8121){const _0x5b405e={};_0x5b405e['$contain']=_0x6d7178(0x252);const _0x5c9a0f={[_0x3a8121['code']]:_0x5b405e};_0x52d01a[_0x6d7178(0x117)](_0x5c9a0f);}}if(_0x52d01a[_0x6d7178(0x1f3)]>0x0){_0x25da2b[_0x6d7178(0x193)]=_0x52d01a;const _0x51a3cf={'where':_0x25da2b,'select':_0x3ec5c8[_0x6d7178(0x19e)](0x0,0x4)[_0x6d7178(0x1b9)](_0x34a079=>_0x34a079[_0x6d7178(0x1b8)]),'orderBy':[{[_0x3ec5c8[0x0]['code']]:'DESC'}],'currentPage':0x1,'pageSize':0x14};_0xdb9ade=_0x6d7178(0x38a)+_0x5366bb+'.'+_0x54cbe4+'('+_0x429baf(_0x51a3cf)+');';}}return _0x6d7178(0x1bd)+_0x5366bb+'.'+_0x54cbe4+'('+_0x429baf(_0x273cbf)+');'+_0xdb9ade;}const _0x194abc=JSON[_0x6d7178(0x2db)](_0x5e14da,null,0x2)[_0x6d7178(0x342)]('\x0a')[_0x6d7178(0x1b9)]((_0x507910,_0x1688e4)=>_0x1688e4===0x0?_0x507910:indent+_0x507910)[_0x6d7178(0x261)]('\x0a');return _0x6d7178(0x1f9)+_0x5366bb+'.'+_0x54cbe4+'('+_0x194abc+');';}[a0_0x1a4d8a(0x167)](_0x40c719){const _0xef51b7=a0_0x1a4d8a,_0x336528=_0x40c719[_0xef51b7(0x1e4)](),_0x4156f1=[];if(['NUMBER',_0xef51b7(0x105),_0xef51b7(0x334),'DECIMAL'][_0xef51b7(0x24a)](_0x336528)||[_0xef51b7(0x26c),_0xef51b7(0x1e9),_0xef51b7(0x146),_0xef51b7(0x285),'FLOAT'][_0xef51b7(0x24a)](_0x336528))_0x4156f1[_0xef51b7(0x117)]('$eq',_0xef51b7(0x302),_0xef51b7(0x179),_0xef51b7(0x2a3),_0xef51b7(0x104),_0xef51b7(0x322),_0xef51b7(0x303));else{if([_0xef51b7(0x202),_0xef51b7(0x14c),_0xef51b7(0x190)][_0xef51b7(0x24a)](_0x336528)||[_0xef51b7(0x1ba),_0xef51b7(0x11b)][_0xef51b7(0x24a)](_0x336528))_0x4156f1['push'](_0xef51b7(0xef),_0xef51b7(0x302),_0xef51b7(0x303),_0xef51b7(0x274),'$startWith',_0xef51b7(0x181));else{if(['DATE',_0xef51b7(0x133),_0xef51b7(0x318)][_0xef51b7(0x24a)](_0x336528)||['TIME']['includes'](_0x336528))_0x4156f1[_0xef51b7(0x117)](_0xef51b7(0xef),'$ne',_0xef51b7(0x179),_0xef51b7(0x2a3),_0xef51b7(0x104),_0xef51b7(0x322));else['BOOLEAN',_0xef51b7(0x15e),_0xef51b7(0x328)][_0xef51b7(0x24a)](_0x336528)?_0x4156f1[_0xef51b7(0x117)](_0xef51b7(0xef),_0xef51b7(0x302)):_0x4156f1['push'](_0xef51b7(0xef),_0xef51b7(0x302));}}return _0x4156f1;}[a0_0x1a4d8a(0x162)](_0x411275,_0x356c6b){const _0x429c1c=a0_0x1a4d8a,_0xd5d1ba=_0x411275[_0x429c1c(0x1e4)]();if([_0x429c1c(0x2f1),_0x429c1c(0x105),_0x429c1c(0x334),'DECIMAL']['includes'](_0xd5d1ba)||['INT','TINYINT',_0x429c1c(0x146),_0x429c1c(0x285),_0x429c1c(0x141)][_0x429c1c(0x24a)](_0xd5d1ba))return _0x356c6b[_0x429c1c(0x24a)](_0x429c1c(0x179))?_0x429c1c(0x179):_0x429c1c(0xef);if([_0x429c1c(0x202),_0x429c1c(0x14c),_0x429c1c(0x190)][_0x429c1c(0x24a)](_0xd5d1ba)||['CHAR',_0x429c1c(0x11b)][_0x429c1c(0x24a)](_0xd5d1ba))return _0x356c6b[_0x429c1c(0x24a)]('$contain')?_0x429c1c(0x274):_0x429c1c(0xef);if([_0x429c1c(0x170),_0x429c1c(0x133),_0x429c1c(0x318),'TIME'][_0x429c1c(0x24a)](_0xd5d1ba))return _0x356c6b['includes'](_0x429c1c(0x179))?_0x429c1c(0x179):_0x429c1c(0xef);return _0x429c1c(0xef);}[a0_0x1a4d8a(0x24c)](_0x5aa523,_0x45b138){const _0x4a7856=a0_0x1a4d8a,_0x574009=_0x5aa523[_0x4a7856(0x1e4)](),_0x409779=_0x5aa523[_0x4a7856(0x30c)]();if(_0x409779&&_0x409779['length']>0x0){if(_0x45b138==='$in')return _0x409779[_0x4a7856(0x19e)](0x0,0x2)[_0x4a7856(0x1b9)](_0x302e59=>_0x302e59[_0x4a7856(0x30b)]);return _0x409779[0x0]['value'];}if([_0x4a7856(0x2f1),_0x4a7856(0x105),'BIGINT',_0x4a7856(0x2eb)][_0x4a7856(0x24a)](_0x574009)||[_0x4a7856(0x26c),_0x4a7856(0x1e9),'SMALLINT','DOUBLE','FLOAT'][_0x4a7856(0x24a)](_0x574009)){if(_0x45b138===_0x4a7856(0x303))return[0x1,0x2,0x3];if(_0x45b138===_0x4a7856(0x179)||_0x45b138===_0x4a7856(0x104))return 0x0;if(_0x45b138==='$lte'||_0x45b138===_0x4a7856(0x322))return 0x64;return 0x1;}if([_0x4a7856(0x202),_0x4a7856(0x14c),_0x4a7856(0x190)]['includes'](_0x574009)||['CHAR',_0x4a7856(0x11b)][_0x4a7856(0x24a)](_0x574009)){if(_0x45b138===_0x4a7856(0x303))return['value1',_0x4a7856(0x10a)];if(_0x45b138===_0x4a7856(0x274))return _0x4a7856(0x252);if(_0x45b138===_0x4a7856(0x325))return _0x4a7856(0x1c2);if(_0x45b138===_0x4a7856(0x181))return _0x4a7856(0x268);return _0x4a7856(0x30b);}if([_0x4a7856(0x170),_0x4a7856(0x133),'TIMESTAMP','TIME'][_0x4a7856(0x24a)](_0x574009)){if(_0x45b138===_0x4a7856(0x179)||_0x45b138==='$gteq')return _0x4a7856(0x16a);if(_0x45b138===_0x4a7856(0x2a3)||_0x45b138===_0x4a7856(0x322))return _0x4a7856(0x15a);return _0x4a7856(0x16a);}if([_0x4a7856(0x10c),_0x4a7856(0x15e),'BIT'][_0x4a7856(0x24a)](_0x574009))return!![];return _0x45b138===_0x4a7856(0x303)?['value1',_0x4a7856(0x10a)]:'value';}[a0_0x1a4d8a(0x30d)](){const _0x1253eb=a0_0x1a4d8a,_0x32c496=super['getRequestParams'](),_0x1f9f50=Object[_0x1253eb(0x140)](_0x32c496)[_0x1253eb(0x20e)](([_0x5b8ed7])=>_0x5b8ed7!==_0x1253eb(0xc6)&&_0x5b8ed7!=='pageSize')['map'](([_0x3cec46,_0x1a6cd7])=>{const _0x5052b5=_0x1253eb,_0x4c17e3=_0x1a6cd7,_0x18643e={};return _0x18643e[_0x5052b5(0x1c8)]=_0x3cec46,_0x18643e[_0x5052b5(0x172)]=_0x4c17e3[_0x5052b5(0x172)]||'String',_0x18643e[_0x5052b5(0x231)]=_0x4c17e3[_0x5052b5(0x231)]||'-',_0x18643e['required']=_0x4c17e3['required'],_0x18643e;}),_0x275543={};return _0x275543[_0x1253eb(0x231)]='\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',_0x275543[_0x1253eb(0x37d)]=_0x1f9f50,_0x275543;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x2d8560=a0_0x1a4d8a,_0x4cfa3e=super['getRequestParams']();if(Object[_0x2d8560(0x1e7)](_0x4cfa3e)['length']===0x0){const _0x1f08e4={};this[_0x2d8560(0x15b)][_0x2d8560(0x381)][_0x2d8560(0x1e6)](_0x5e2cee=>{const _0x1e4075=_0x2d8560;if(_0x5e2cee){const _0x472430=_0x5e2cee[_0x1e4075(0x1b8)],_0x2d7006=_0x5e2cee[_0x1e4075(0x1e4)](),_0x211a4a={};_0x211a4a[_0x1e4075(0x172)]=_0x2d7006||'TEXT',_0x211a4a[_0x1e4075(0x24b)]=_0x5e2cee['sortNum'],_0x211a4a['description']=_0x5e2cee['description']||_0x5e2cee[_0x1e4075(0x1c8)],_0x1f08e4[_0x472430]=_0x211a4a;}});const _0x46951b={};_0x46951b['type']=_0x2d8560(0x17d),_0x46951b[_0x2d8560(0x231)]=_0x2d8560(0x255),_0x1f08e4['currentPage']=_0x46951b;const _0x2f80c4={};return _0x2f80c4[_0x2d8560(0x172)]=_0x2d8560(0x17d),_0x2f80c4['description']=_0x2d8560(0x20a),_0x1f08e4['pageSize']=_0x2f80c4,_0x1f08e4;}return _0x4cfa3e;}['generateRequestExample'](){const _0xc09a7b=a0_0x1a4d8a,_0x2ea126=super[_0xc09a7b(0x26b)]();if(Object['keys'](_0x2ea126)[_0xc09a7b(0x1f3)]===0x0){const _0x7e6786={};return _0x7e6786['currentPage']=0x1,_0x7e6786['pageSize']=0x64,_0x7e6786;}const _0x28b122={..._0x2ea126};return _0x28b122[_0xc09a7b(0xc6)]=_0x2ea126['currentPage']??0x1,_0x28b122[_0xc09a7b(0x1b2)]=_0x2ea126[_0xc09a7b(0x1b2)]??0x64,_0x28b122;}[a0_0x1a4d8a(0x1f5)](){const _0x320358=a0_0x1a4d8a,_0x4b7bd5={};return _0x4b7bd5['success']=!![],_0x4b7bd5[_0x320358(0x200)]='',_0x4b7bd5[_0x320358(0x175)]='',_0x4b7bd5['errorCode']='0000',_0x4b7bd5[_0x320358(0x2c0)]=_0x320358(0x2b7),_0x4b7bd5[_0x320358(0x37d)]=null,_0x4b7bd5;}[a0_0x1a4d8a(0x165)](_0x5179a8,_0x42c0f7){const _0xe45f53=a0_0x1a4d8a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x42c0f7||{},_0x5a8372=this['getName']();if(useFullExample){const _0xf5e20d=this['generateRequestExample'](),{currentPage:_0xe5641e,pageSize:_0xbb2ea4,..._0x3da791}=_0xf5e20d,_0x20361b=Object[_0xe45f53(0x1e7)](_0x3da791)[_0xe45f53(0x1f3)]>0x0;if(_0x20361b){const _0x1914de=_0x33f0e7=>{const _0x47d14f=_0xe45f53;return JSON['stringify'](_0x33f0e7,null,0x2)[_0x47d14f(0x342)]('\x0a')['map']((_0x540f8c,_0x433eaf)=>_0x433eaf===0x0?_0x540f8c:indent+_0x540f8c)['join']('\x0a');};return'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5179a8+'.'+_0x5a8372+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5179a8+'.'+_0x5a8372+'('+_0x1914de(_0xf5e20d)+');';}else{const _0x5f30fb=_0x4c5d97=>{const _0x142694=_0xe45f53;return JSON[_0x142694(0x2db)](_0x4c5d97,null,0x2)[_0x142694(0x342)]('\x0a')[_0x142694(0x1b9)]((_0x34383e,_0x4acfa3)=>_0x4acfa3===0x0?_0x34383e:indent+_0x34383e)[_0x142694(0x261)]('\x0a');},_0x2b3b53={};return _0x2b3b53[_0xe45f53(0xc6)]=0x1,_0x2b3b53[_0xe45f53(0x1b2)]=0x64,'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5179a8+'.'+_0x5a8372+'();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5179a8+'.'+_0x5a8372+'('+_0x5f30fb(_0x2b3b53)+');';}}return _0xe45f53(0x18b)+_0x5179a8+'.'+_0x5a8372+_0xe45f53(0x37a);}[a0_0x1a4d8a(0x10b)](_0x324163){const _0x334ef9=a0_0x1a4d8a,_0x1617e4=this[_0x334ef9(0x239)](),_0x53d14f=_0x324163||_0x334ef9(0x389),_0x279221=_0x334ef9(0x2f7)+_0x53d14f+'.'+_0x1617e4+_0x334ef9(0x183),_0x3b00ac=_0x334ef9(0x2d7)+_0x53d14f+'.'+_0x1617e4+_0x334ef9(0xce),_0x544c2c={};return _0x544c2c[_0x334ef9(0x199)]=_0x279221,_0x544c2c[_0x334ef9(0x1c0)]=_0x3b00ac,_0x544c2c;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x1be740=a0_0x1a4d8a;return this[_0x1be740(0xe7)]();}['getRequestParams'](){const _0x3f0c25=a0_0x1a4d8a,_0x4d0c36=this['getUpdateFields'](),_0x16b221={};_0x16b221[_0x3f0c25(0x172)]=_0x3f0c25(0x2f1),_0x16b221[_0x3f0c25(0x231)]=_0x3f0c25(0x153),_0x16b221[_0x3f0c25(0xca)]=!![];const _0x373156={};_0x373156['type']=_0x3f0c25(0x32a),_0x373156['description']=_0x3f0c25(0x2be),_0x373156[_0x3f0c25(0xca)]=!![],_0x373156[_0x3f0c25(0x1e8)]=_0x4d0c36;const _0x27e8aa={};return _0x27e8aa['id']=_0x16b221,_0x27e8aa[_0x3f0c25(0x2c0)]=_0x373156,_0x27e8aa;}['getUpdatableFields'](){return this['getUpdateFields']();}[a0_0x1a4d8a(0x2d8)](){const _0x52aad4=a0_0x1a4d8a,_0x161131=this[_0x52aad4(0x15b)][_0x52aad4(0x381)]||[],_0x4d6773=this[_0x52aad4(0x15b)][_0x52aad4(0x173)],_0x563768=_0x161131[_0x52aad4(0x286)](_0x515c90=>_0x515c90['isPrimaryKey']()||_0x515c90[_0x52aad4(0x1b8)]===_0x4d6773),_0x4fb3a5=_0x161131['filter'](_0x4e09a2=>{const _0x2c2f41=_0x52aad4;if(_0x4e09a2['deleted'])return![];if(_0x4e09a2===_0x563768||_0x4e09a2[_0x2c2f41(0x1fc)]())return![];if(_0x4e09a2[_0x2c2f41(0xe3)]()||_0x4e09a2[_0x2c2f41(0x36b)]())return![];if(_0x4e09a2['isAutoIncrement']())return![];return!![];});return _0x563768?[_0x563768,..._0x4fb3a5]:_0x4fb3a5;}[a0_0x1a4d8a(0x245)](){const _0x4ad985=a0_0x1a4d8a,_0x17abbf=this['getHTTPFields'](),_0x5c0873=this[_0x4ad985(0x15b)][_0x4ad985(0x173)],_0x2fb04d=_0x17abbf[_0x4ad985(0x1b9)](_0x2b1288=>{const _0x243bb7=_0x4ad985,_0x3259e9=_0x2b1288['isPrimaryKey']()||_0x2b1288[_0x243bb7(0x1b8)]===_0x5c0873,_0x251ca1=_0x3259e9?'id':_0x2b1288[_0x243bb7(0x1b8)],_0x48aefa={};return _0x48aefa[_0x243bb7(0x1c8)]=_0x251ca1,_0x48aefa[_0x243bb7(0x172)]=_0x2b1288['type'],_0x48aefa['description']=_0x3259e9?_0x243bb7(0x2fc)+(_0x5c0873&&_0x5c0873!==_0x2b1288[_0x243bb7(0x1b8)]?'(实际字段:'+_0x2b1288[_0x243bb7(0x1b8)]+')':''):_0x2b1288['description']||_0x2b1288[_0x243bb7(0x1c8)],_0x48aefa;}),_0x451c07={};return _0x451c07[_0x4ad985(0x231)]=_0x4ad985(0x2fe),_0x451c07[_0x4ad985(0x37d)]=_0x2fb04d,_0x451c07;}[a0_0x1a4d8a(0x30d)](){const _0x401e8b=a0_0x1a4d8a,_0x404c35=this[_0x401e8b(0x2b5)](),_0x1c4f86=Object[_0x401e8b(0x140)](_0x404c35)[_0x401e8b(0x1b9)](([_0x572a86,_0x15460d])=>{const _0x3d70a5=_0x401e8b,_0x4b8a11=_0x15460d,_0x3a882f={};return _0x3a882f[_0x3d70a5(0x1c8)]=_0x572a86,_0x3a882f[_0x3d70a5(0x172)]=_0x4b8a11[_0x3d70a5(0x172)]||_0x3d70a5(0xfc),_0x3a882f['description']=_0x4b8a11[_0x3d70a5(0x231)]||'-',_0x3a882f;}),_0x5607fb={};return _0x5607fb[_0x401e8b(0x231)]=_0x401e8b(0x1fb)+_0x401e8b(0x2d5)+'-\x20主键ID,用于定位要更新的记录\x0a\x0a'+_0x401e8b(0x2f3)+_0x401e8b(0x1fa)+_0x401e8b(0x290),_0x5607fb[_0x401e8b(0x37d)]=_0x1c4f86,_0x5607fb;}[a0_0x1a4d8a(0x26b)](){const _0x19c153=a0_0x1a4d8a,_0x4327a2=this[_0x19c153(0x2b5)](),_0x13c960={};Object[_0x19c153(0x140)](_0x4327a2)[_0x19c153(0x1e6)](([_0x348f3c,_0x54c051])=>{const _0x413fc0=_0x19c153,_0xed6329=_0x54c051;let _0x274e47;if(typeof _0xed6329[_0x413fc0(0x172)]===_0x413fc0(0x195))_0x274e47=_0xed6329[_0x413fc0(0x172)];else _0xed6329[_0x413fc0(0x172)]&&typeof _0xed6329[_0x413fc0(0x172)]===_0x413fc0(0x32a)?_0x274e47=_0xed6329[_0x413fc0(0x172)][_0x413fc0(0x172)]||'TEXT':_0x274e47=_0x413fc0(0x14c);const _0x24f08a=_0xed6329[_0x413fc0(0x231)],_0x51fb89=this[_0x413fc0(0xc2)](_0x348f3c);_0x13c960[_0x348f3c]=this[_0x413fc0(0x2d9)](_0x348f3c,_0x274e47,_0x51fb89?.[_0x413fc0(0x1e4)](),{'isPrimaryKey':![],'description':_0x24f08a||_0x51fb89?.[_0x413fc0(0x231)]||_0x51fb89?.[_0x413fc0(0x1c8)]});});const _0x39bd1e={};return _0x39bd1e['id']=0x1,_0x39bd1e[_0x19c153(0x2c0)]=_0x13c960,_0x39bd1e;}[a0_0x1a4d8a(0x2b3)](){const _0xa9e2c6=a0_0x1a4d8a,_0x3fdc58=this[_0xa9e2c6(0x26b)](),_0x4573ab={};return _0x4573ab['title']=_0xa9e2c6(0xd3),_0x4573ab['description']=_0xa9e2c6(0x29d)+'-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a'+_0xa9e2c6(0x300),_0x4573ab[_0xa9e2c6(0x2c0)]=_0x3fdc58,[_0x4573ab,{'title':_0xa9e2c6(0x2c8),'description':_0xa9e2c6(0x21b)+_0xa9e2c6(0x276)+_0xa9e2c6(0x201),'data':this[_0xa9e2c6(0x17e)]()}];}[a0_0x1a4d8a(0x17e)](){const _0x240855=a0_0x1a4d8a,_0x4474f0=this[_0x240855(0x2b5)](),_0x473bb4={};_0x473bb4['id']=0x1;const _0x5962bc=_0x473bb4;return Object[_0x240855(0x140)](_0x4474f0)['forEach'](([_0x26eef0,_0x2313cf])=>{const _0x2c4871=_0x240855,_0x39491f=_0x2313cf;let _0x16b82e;if(typeof _0x39491f[_0x2c4871(0x172)]===_0x2c4871(0x195))_0x16b82e=_0x39491f[_0x2c4871(0x172)];else _0x39491f['type']&&typeof _0x39491f[_0x2c4871(0x172)]===_0x2c4871(0x32a)?_0x16b82e=_0x39491f[_0x2c4871(0x172)]['type']||_0x2c4871(0x14c):_0x16b82e=_0x2c4871(0x14c);const _0x3a6974=_0x39491f[_0x2c4871(0x231)],_0x2e1c25=this[_0x2c4871(0xc2)](_0x26eef0);if(_0x2e1c25?.[_0x2c4871(0x1fc)]())return;_0x5962bc[_0x26eef0]=this[_0x2c4871(0x2d9)](_0x26eef0,_0x16b82e,_0x2e1c25?.[_0x2c4871(0x1e4)](),{'isPrimaryKey':![],'description':_0x3a6974||_0x2e1c25?.[_0x2c4871(0x231)]||_0x2e1c25?.[_0x2c4871(0x1c8)]});}),_0x5962bc;}[a0_0x1a4d8a(0x2bd)](){const _0x5931f8=a0_0x1a4d8a;return this[_0x5931f8(0x17e)]();}['generateSDKCallCode'](_0x2bfb5f,_0x1a33ce){const _0x21f6bd=a0_0x1a4d8a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1a33ce||{},_0x2d0e1e=this[_0x21f6bd(0x239)]();if(useFullExample){const _0x24c919=this[_0x21f6bd(0x26b)](),_0x5f1d04=JSON[_0x21f6bd(0x2db)](_0x24c919[_0x21f6bd(0x2c0)],null,0x2)[_0x21f6bd(0x342)]('\x0a')['map']((_0x19531e,_0x3abe86)=>_0x3abe86===0x0?_0x19531e:indent+_0x19531e)[_0x21f6bd(0x261)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x2bfb5f+'.'+_0x2d0e1e+'('+_0x24c919['id']+',\x20'+_0x5f1d04+');';}return'const\x20result\x20=\x20await\x20client.models.'+_0x2bfb5f+'.'+_0x2d0e1e+'(id,\x20data);';}}class AggregateOperation extends GenericOperation{constructor(_0x21e3fe,_0x2c6709,_0x247caa){super(_0x21e3fe,_0x2c6709,_0x247caa);}[a0_0x1a4d8a(0x295)](_0x3efc57){const _0x3e2d7a=a0_0x1a4d8a;return _0x3efc57[_0x3e2d7a(0x301)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x3e2d7a(0x367)]()[_0x3e2d7a(0x309)]();}[a0_0x1a4d8a(0x25d)](){return AGGREGATE_FUNCTIONS;}['getRequestParams'](){const _0x30a23c=a0_0x1a4d8a,_0x35d8cf=super['getRequestParams'](),_0xebe44a={};_0xebe44a[_0x30a23c(0x172)]=_0x30a23c(0x288),_0xebe44a[_0x30a23c(0x231)]=_0x30a23c(0xee),_0xebe44a[_0x30a23c(0xca)]=![];const _0x33ddc2={};_0x33ddc2['type']=_0x30a23c(0x14f),_0x33ddc2[_0x30a23c(0x231)]=_0x30a23c(0xfd),_0x33ddc2['required']=![];const _0x180d1e={};_0x180d1e['type']=_0x30a23c(0x288),_0x180d1e[_0x30a23c(0x231)]='分组字段列表',_0x180d1e[_0x30a23c(0xca)]=![];const _0x39aca={};_0x39aca[_0x30a23c(0x172)]='Array',_0x39aca[_0x30a23c(0x231)]=_0x30a23c(0x33a),_0x39aca[_0x30a23c(0xca)]=![];const _0x11060a={};_0x11060a['type']=_0x30a23c(0x1d1),_0x11060a[_0x30a23c(0x231)]=_0x30a23c(0x1a5),_0x11060a[_0x30a23c(0xca)]=![];const _0x49401e={};_0x49401e['type']=_0x30a23c(0x1d1),_0x49401e[_0x30a23c(0x231)]='排序规则(与\x20Filter\x20API\x20一致)',_0x49401e[_0x30a23c(0xca)]=![];const _0x1481bb={};_0x1481bb['type']=_0x30a23c(0x100),_0x1481bb[_0x30a23c(0x231)]=_0x30a23c(0x38f),_0x1481bb[_0x30a23c(0xca)]=![];const _0x22c3e3={};_0x22c3e3[_0x30a23c(0x172)]=_0x30a23c(0x100),_0x22c3e3[_0x30a23c(0x231)]=_0x30a23c(0x20d),_0x22c3e3['required']=![];const _0x40d5b6={..._0x35d8cf};return _0x40d5b6['select']=_0xebe44a,_0x40d5b6[_0x30a23c(0x138)]=_0x33ddc2,_0x40d5b6[_0x30a23c(0x29c)]=_0x180d1e,_0x40d5b6[_0x30a23c(0x180)]=_0x39aca,_0x40d5b6[_0x30a23c(0x2e7)]=_0x11060a,_0x40d5b6[_0x30a23c(0x24f)]=_0x49401e,_0x40d5b6['currentPage']=_0x1481bb,_0x40d5b6[_0x30a23c(0x1b2)]=_0x22c3e3,_0x40d5b6;}[a0_0x1a4d8a(0x219)](){const _0x231f5d=a0_0x1a4d8a,_0x41766a={};_0x41766a[_0x231f5d(0x1b8)]=_0x231f5d(0x1cf),_0x41766a[_0x231f5d(0x172)]=_0x231f5d(0x288),_0x41766a[_0x231f5d(0x231)]=_0x231f5d(0xee);const _0x5ed07d={};_0x5ed07d[_0x231f5d(0x1b8)]=_0x231f5d(0x138),_0x5ed07d['type']=_0x231f5d(0x14f),_0x5ed07d['description']=_0x231f5d(0xfd);const _0x394c3c={};_0x394c3c[_0x231f5d(0x1b8)]=_0x231f5d(0x29c),_0x394c3c[_0x231f5d(0x172)]=_0x231f5d(0x288),_0x394c3c[_0x231f5d(0x231)]=_0x231f5d(0x36c);const _0x2fe928={};_0x2fe928[_0x231f5d(0x1b8)]=_0x231f5d(0x180),_0x2fe928['type']=_0x231f5d(0x1d1),_0x2fe928['description']=_0x231f5d(0x1d4);const _0x39f849={};_0x39f849['code']=_0x231f5d(0x2e7),_0x39f849[_0x231f5d(0x172)]=_0x231f5d(0x1d1),_0x39f849['description']=_0x231f5d(0x1a5);const _0x1a019a={};_0x1a019a[_0x231f5d(0x1b8)]=_0x231f5d(0x24f),_0x1a019a[_0x231f5d(0x172)]=_0x231f5d(0x1d1),_0x1a019a['description']=_0x231f5d(0x187);const _0x488300={};_0x488300['code']='currentPage',_0x488300[_0x231f5d(0x172)]=_0x231f5d(0x100),_0x488300['description']='当前页码(从\x201\x20开始,默认:\x201)';const _0x29819a={};return _0x29819a[_0x231f5d(0x1b8)]='pageSize',_0x29819a[_0x231f5d(0x172)]='Number',_0x29819a[_0x231f5d(0x231)]=_0x231f5d(0x20d),[_0x41766a,_0x5ed07d,_0x394c3c,_0x2fe928,_0x39f849,_0x1a019a,_0x488300,_0x29819a];}[a0_0x1a4d8a(0x26b)](){const _0x275080=a0_0x1a4d8a,_0x54cf42=this[_0x275080(0x15b)]['fields']||[];if(_0x54cf42['length']===0x0){const _0x5beadf={};return _0x5beadf[_0x275080(0x138)]={},_0x5beadf[_0x275080(0x29c)]=[],_0x5beadf[_0x275080(0x180)]=[],_0x5beadf;}const _0x35fe1={},_0x2e7c09=_0x54cf42['slice'](0x0,Math[_0x275080(0x33e)](0x3,_0x54cf42[_0x275080(0x1f3)]));_0x2e7c09[_0x275080(0x1e6)](_0x4732ec=>{const _0x4c098a=_0x275080,_0x53e1d6=this['getApplicableOperators'](_0x4732ec);if(_0x53e1d6[_0x4c098a(0x1f3)]===0x0)return;const _0x2e7ce4=this[_0x4c098a(0x162)](_0x4732ec,_0x53e1d6),_0x284958=this[_0x4c098a(0x24c)](_0x4732ec,_0x2e7ce4),_0x17c84f={};_0x17c84f[_0x2e7ce4]=_0x284958,_0x35fe1[_0x4732ec['code']]=_0x17c84f;});const _0x1deeb1=_0x54cf42[_0x275080(0x19e)](0x0,Math[_0x275080(0x33e)](0x2,_0x54cf42[_0x275080(0x1f3)]))[_0x275080(0x1b9)](_0x1af1d5=>_0x1af1d5[_0x275080(0x1b8)]),_0x5d5fc9=[],_0x88ab0c=_0x54cf42[_0x275080(0x20e)](_0x335fcc=>this[_0x275080(0x11f)](_0x335fcc));if(_0x88ab0c[_0x275080(0x1f3)]>0x0){const _0x3b324f=_0x88ab0c[0x0],_0xff46df=_0x3b324f[_0x275080(0x1b8)],_0x352c93={};_0x352c93[_0x275080(0x172)]=_0x275080(0x207),_0x352c93['column']=_0xff46df,_0x352c93[_0x275080(0x20f)]=_0xff46df+_0x275080(0x208),_0x352c93[_0x275080(0x2a8)]=![],_0x352c93[_0x275080(0x249)]=!![],_0x352c93[_0x275080(0x237)]=0x2,_0x5d5fc9[_0x275080(0x117)](_0x352c93);const _0x5050ff={};_0x5050ff['type']=_0x275080(0x370),_0x5050ff['column']=_0xff46df,_0x5050ff[_0x275080(0x20f)]=_0xff46df+_0x275080(0x34e),_0x5050ff[_0x275080(0x2a8)]=![],_0x5050ff[_0x275080(0x249)]=!![],_0x5050ff[_0x275080(0x237)]=0x2,_0x5d5fc9['push'](_0x5050ff);const _0xe5b741={};_0xe5b741[_0x275080(0x172)]=_0x275080(0x35c),_0xe5b741[_0x275080(0x240)]=_0xff46df,_0xe5b741[_0x275080(0x20f)]=_0xff46df+_0x275080(0x351),_0xe5b741['distinct']=![],_0xe5b741[_0x275080(0x249)]=!![],_0xe5b741[_0x275080(0x237)]=0x2,_0x5d5fc9[_0x275080(0x117)](_0xe5b741);const _0x2199bf={};_0x2199bf['type']=_0x275080(0x33e),_0x2199bf['column']=_0xff46df,_0x2199bf[_0x275080(0x20f)]=_0xff46df+_0x275080(0x225),_0x2199bf[_0x275080(0x2a8)]=![],_0x2199bf['round']=!![],_0x2199bf[_0x275080(0x237)]=0x2,_0x5d5fc9[_0x275080(0x117)](_0x2199bf);}else{if(_0x54cf42[_0x275080(0x1f3)]>0x0){const _0x2cb4af=_0x54cf42[0x0],_0x66a7ed=_0x2cb4af[_0x275080(0x1b8)],_0x3a66f2={};_0x3a66f2[_0x275080(0x172)]=_0x275080(0x32c),_0x3a66f2['column']=_0x66a7ed,_0x3a66f2[_0x275080(0x20f)]=_0x275080(0x168),_0x3a66f2[_0x275080(0x2a8)]=!![],_0x5d5fc9[_0x275080(0x117)](_0x3a66f2);}}const _0x51c867=[];if(_0x54cf42['length']>0x0){const _0x362dbf=_0x54cf42[0x0]['code'],_0x56431e={};_0x56431e[_0x362dbf]=_0x275080(0x282),_0x51c867['push'](_0x56431e);}const _0xcf4e68=[..._0x1deeb1,..._0x5d5fc9['map'](_0x3e8eaf=>_0x3e8eaf[_0x275080(0x20f)])],_0x2a3c73=[];if(_0x5d5fc9[_0x275080(0x1f3)]>0x0){const _0x23ff46={};_0x23ff46[_0x275080(0x179)]=0x0;const _0x8b83fe={};_0x8b83fe[_0x275080(0x2b9)]=_0x5d5fc9[0x0][_0x275080(0x20f)],_0x8b83fe[_0x275080(0x238)]=_0x23ff46,_0x2a3c73[_0x275080(0x117)](_0x8b83fe);}const _0x41bb87={};return _0x41bb87[_0x275080(0x1cf)]=_0xcf4e68,_0x41bb87[_0x275080(0x138)]=_0x35fe1,_0x41bb87['groupBy']=_0x1deeb1,_0x41bb87[_0x275080(0x180)]=_0x5d5fc9,_0x41bb87[_0x275080(0x2e7)]=_0x2a3c73['length']>0x0?_0x2a3c73:undefined,_0x41bb87['orderBy']=_0x51c867,_0x41bb87['currentPage']=0x1,_0x41bb87[_0x275080(0x1b2)]=0x14,_0x41bb87;}[a0_0x1a4d8a(0x165)](_0x370872,_0x2c213c){const _0x187367=a0_0x1a4d8a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2c213c||{},_0x4869dd=this['getName'](),_0x32b539=this[_0x187367(0x26b)](),_0x2a34ff=_0x3a3935=>{const _0x3dca5c=_0x187367;return JSON['stringify'](_0x3a3935,null,0x2)[_0x3dca5c(0x342)]('\x0a')['map']((_0x40b7d8,_0x3b3a32)=>_0x3b3a32===0x0?_0x40b7d8:indent+_0x40b7d8)['join']('\x0a');};if(useFullExample){const _0x3b78df=this[_0x187367(0x15b)][_0x187367(0x381)]||[],_0x4b2945=_0x3b78df[_0x187367(0x20e)](_0x5ce19c=>this[_0x187367(0x11f)](_0x5ce19c)),_0x4c3240={'where':_0x3b78df[0x0]?{[_0x3b78df[0x0][_0x187367(0x1b8)]]:{'$eq':this[_0x187367(0x24c)](_0x3b78df[0x0],_0x187367(0xef))}}:{},'aggregate':_0x4b2945['length']>0x0?[{'type':_0x187367(0x207),'column':_0x4b2945[0x0][_0x187367(0x1b8)],'alias':_0x4b2945[0x0][_0x187367(0x1b8)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x187367(0x32c),'column':_0x3b78df[0x0][_0x187367(0x1b8)],'alias':'total_count','distinct':!![]}],'orderBy':[{[_0x3b78df[0x0][_0x187367(0x1b8)]]:_0x187367(0x282)}]};let _0x338feb='';return _0x3b78df[_0x187367(0x1f3)]>=0x3&&(_0x338feb=_0x187367(0x212)+_0x370872+'.'+_0x4869dd+'('+_0x2a34ff(_0x32b539)+');'),_0x187367(0x2e2)+_0x370872+'.'+_0x4869dd+'('+_0x2a34ff(_0x4c3240)+');'+_0x338feb;}const _0xe6cd73=JSON[_0x187367(0x2db)](_0x32b539,null,0x2)[_0x187367(0x342)]('\x0a')['map']((_0x5b9d45,_0x589a10)=>_0x589a10===0x0?_0x5b9d45:indent+_0x5b9d45)[_0x187367(0x261)]('\x0a');return _0x187367(0x1f9)+_0x370872+'.'+_0x4869dd+'('+_0xe6cd73+');';}[a0_0x1a4d8a(0x11f)](_0x3d8012){const _0x521b43=a0_0x1a4d8a,_0x5e80ff=_0x3d8012['getDbTypeForOperation']();return[_0x521b43(0x2f1),_0x521b43(0x105),_0x521b43(0x334),_0x521b43(0x2eb)][_0x521b43(0x24a)](_0x5e80ff)||[_0x521b43(0x26c),_0x521b43(0x1e9),'SMALLINT',_0x521b43(0x285),_0x521b43(0x141)][_0x521b43(0x24a)](_0x5e80ff);}['getApplicableOperators'](_0x4f1645){const _0x3b1763=a0_0x1a4d8a,_0x5af43e=_0x4f1645[_0x3b1763(0x1e4)](),_0x1d3543=[];if([_0x3b1763(0x2f1),'INTEGER',_0x3b1763(0x334),_0x3b1763(0x2eb)][_0x3b1763(0x24a)](_0x5af43e)||[_0x3b1763(0x26c),_0x3b1763(0x1e9),'SMALLINT',_0x3b1763(0x285),_0x3b1763(0x141)][_0x3b1763(0x24a)](_0x5af43e))_0x1d3543[_0x3b1763(0x117)](_0x3b1763(0xef),_0x3b1763(0x302),_0x3b1763(0x179),_0x3b1763(0x2a3),_0x3b1763(0x104),_0x3b1763(0x322),_0x3b1763(0x303));else{if(['STRING','TEXT','VARCHAR'][_0x3b1763(0x24a)](_0x5af43e)||['CHAR',_0x3b1763(0x11b)][_0x3b1763(0x24a)](_0x5af43e))_0x1d3543[_0x3b1763(0x117)](_0x3b1763(0xef),'$ne',_0x3b1763(0x303),_0x3b1763(0x274),_0x3b1763(0x325),_0x3b1763(0x181));else{if([_0x3b1763(0x170),_0x3b1763(0x133),_0x3b1763(0x318)][_0x3b1763(0x24a)](_0x5af43e)||[_0x3b1763(0x31c)][_0x3b1763(0x24a)](_0x5af43e))_0x1d3543[_0x3b1763(0x117)]('$eq',_0x3b1763(0x302),_0x3b1763(0x179),_0x3b1763(0x2a3),_0x3b1763(0x104),_0x3b1763(0x322));else['BOOLEAN',_0x3b1763(0x15e),'BIT']['includes'](_0x5af43e)?_0x1d3543[_0x3b1763(0x117)](_0x3b1763(0xef),'$ne'):_0x1d3543[_0x3b1763(0x117)](_0x3b1763(0xef),_0x3b1763(0x302));}}return _0x1d3543;}['selectBestOperator'](_0x2e3fbc,_0x3b18eb){const _0x24e1af=a0_0x1a4d8a,_0x32f4e7=_0x2e3fbc[_0x24e1af(0x1e4)]();if(['NUMBER','INTEGER',_0x24e1af(0x334),_0x24e1af(0x2eb)][_0x24e1af(0x24a)](_0x32f4e7)||['INT',_0x24e1af(0x1e9),'SMALLINT',_0x24e1af(0x285),_0x24e1af(0x141)][_0x24e1af(0x24a)](_0x32f4e7))return _0x3b18eb[_0x24e1af(0x24a)](_0x24e1af(0x179))?'$gte':'$eq';if([_0x24e1af(0x202),_0x24e1af(0x14c),'VARCHAR'][_0x24e1af(0x24a)](_0x32f4e7)||['CHAR',_0x24e1af(0x11b)][_0x24e1af(0x24a)](_0x32f4e7))return _0x3b18eb[_0x24e1af(0x24a)](_0x24e1af(0x274))?_0x24e1af(0x274):_0x24e1af(0xef);if([_0x24e1af(0x170),_0x24e1af(0x133),'TIMESTAMP','TIME'][_0x24e1af(0x24a)](_0x32f4e7))return _0x3b18eb['includes'](_0x24e1af(0x179))?_0x24e1af(0x179):_0x24e1af(0xef);return _0x24e1af(0xef);}[a0_0x1a4d8a(0x24c)](_0x435337,_0x4610a4){const _0x5c448e=a0_0x1a4d8a,_0x52ea0e=_0x435337[_0x5c448e(0x1e4)](),_0x283d15=_0x435337['getEnumOptions']();if(_0x283d15&&_0x283d15[_0x5c448e(0x1f3)]>0x0){if(_0x4610a4===_0x5c448e(0x303))return _0x283d15['slice'](0x0,0x2)[_0x5c448e(0x1b9)](_0x5ad1d5=>_0x5ad1d5['value']);return _0x283d15[0x0][_0x5c448e(0x30b)];}if([_0x5c448e(0x2f1),_0x5c448e(0x105),_0x5c448e(0x334),_0x5c448e(0x2eb)][_0x5c448e(0x24a)](_0x52ea0e)||[_0x5c448e(0x26c),_0x5c448e(0x1e9),_0x5c448e(0x146),_0x5c448e(0x285),_0x5c448e(0x141)][_0x5c448e(0x24a)](_0x52ea0e)){if(_0x4610a4===_0x5c448e(0x303))return[0x1,0x2,0x3];if(_0x4610a4===_0x5c448e(0x179)||_0x4610a4===_0x5c448e(0x104))return 0x0;if(_0x4610a4===_0x5c448e(0x2a3)||_0x4610a4===_0x5c448e(0x322))return 0x64;return 0x1;}if([_0x5c448e(0x202),_0x5c448e(0x14c),_0x5c448e(0x190)]['includes'](_0x52ea0e)||[_0x5c448e(0x1ba),'LONGTEXT']['includes'](_0x52ea0e)){if(_0x4610a4==='$in')return[_0x5c448e(0x333),'value2'];if(_0x4610a4===_0x5c448e(0x274))return _0x5c448e(0x252);if(_0x4610a4===_0x5c448e(0x325))return _0x5c448e(0x1c2);if(_0x4610a4===_0x5c448e(0x181))return _0x5c448e(0x268);return _0x5c448e(0x30b);}if(['DATE',_0x5c448e(0x133),_0x5c448e(0x318),_0x5c448e(0x31c)][_0x5c448e(0x24a)](_0x52ea0e)){if(_0x4610a4===_0x5c448e(0x179)||_0x4610a4==='$gteq')return _0x5c448e(0x16a);if(_0x4610a4==='$lte'||_0x4610a4==='$lteq')return _0x5c448e(0x15a);return _0x5c448e(0x16a);}if([_0x5c448e(0x10c),_0x5c448e(0x15e),_0x5c448e(0x328)]['includes'](_0x52ea0e))return!![];return _0x4610a4==='$in'?[_0x5c448e(0x333),_0x5c448e(0x10a)]:_0x5c448e(0x30b);}[a0_0x1a4d8a(0x30d)](){const _0x362327=a0_0x1a4d8a,_0x149fdc=this[_0x362327(0xe2)](),_0x2e5e91=Object[_0x362327(0x140)](_0x149fdc)['filter'](([_0x15bb90])=>_0x15bb90!==_0x362327(0xc6)&&_0x15bb90!=='pageSize')[_0x362327(0x1b9)](([_0x2e70ad,_0x1af465])=>{const _0x5010c4=_0x362327,_0x240f6d=_0x1af465,_0x2d6fee={};return _0x2d6fee[_0x5010c4(0x1c8)]=_0x2e70ad,_0x2d6fee[_0x5010c4(0x172)]=_0x240f6d[_0x5010c4(0x172)]||'String',_0x2d6fee[_0x5010c4(0x231)]=_0x240f6d[_0x5010c4(0x231)]||'-',_0x2d6fee['required']=_0x240f6d[_0x5010c4(0xca)],_0x2d6fee;}),_0x4025ab={};return _0x4025ab[_0x362327(0x231)]=_0x362327(0x15f),_0x4025ab['params']=_0x2e5e91,_0x4025ab;}['generateResponseExample'](){const _0x58bb85=a0_0x1a4d8a,_0x38e433=this['generateRequestExample']()[_0x58bb85(0x180)],_0x29ad0b=[{}],_0x59c8e8=[];_0x38e433?.[_0x58bb85(0x1e6)](_0x610d21=>{const _0x261646=_0x58bb85,_0x425123={};_0x425123['title']=_0x610d21['alias'],_0x425123['dataIndex']=_0x610d21[_0x261646(0x20f)],_0x59c8e8['push'](_0x425123),_0x29ad0b[0x0][_0x610d21[_0x261646(0x20f)]]=_0x610d21['type']===_0x261646(0x32c)?0x64:Math[_0x261646(0x249)](Math[_0x261646(0x369)]()*0x64*0x64)/0x64;});const _0x11cf0d={};_0x11cf0d['pageSize']=0x1,_0x11cf0d['totalCount']=0x64,_0x11cf0d['currentPage']=0x1;const _0x8274b6={};_0x8274b6[_0x58bb85(0x383)]=_0x11cf0d,_0x8274b6['tableData']=_0x29ad0b,_0x8274b6[_0x58bb85(0x26e)]=_0x59c8e8;const _0x3fc6e7={};return _0x3fc6e7[_0x58bb85(0xf2)]=!![],_0x3fc6e7[_0x58bb85(0x200)]='',_0x3fc6e7[_0x58bb85(0x175)]='',_0x3fc6e7[_0x58bb85(0x1c0)]=_0x58bb85(0x316),_0x3fc6e7[_0x58bb85(0x2c0)]=_0x8274b6,_0x3fc6e7[_0x58bb85(0x37d)]=null,_0x3fc6e7;}}class OperationFactory{[a0_0x1a4d8a(0x2d0)](_0x50642d,_0x249223,_0x129044){const _0x335083=a0_0x1a4d8a;switch(_0x50642d){case _0x335083(0x2e1):return new GetSelectOptionsOperation(_0x50642d,_0x249223,_0x129044);case _0x335083(0x298):return new GetListOperation(_0x50642d,_0x249223,_0x129044);case _0x335083(0x20e):return new FilterOperation(_0x50642d,_0x249223,_0x129044);case _0x335083(0x122):return new ExcelExportOperation(_0x50642d,_0x249223,_0x129044);case _0x335083(0x2ad):return new UpdateOperation(_0x50642d,_0x249223,_0x129044);case _0x335083(0x180):return new AggregateOperation(_0x50642d,_0x249223,_0x129044);default:return new GenericOperation(_0x50642d,_0x249223,_0x129044);}}[a0_0x1a4d8a(0xe0)](_0x31b0a1,_0x2e3751){const _0x4c9af5=new Map();return Object['entries'](_0x31b0a1)['forEach'](([_0x126888,_0x4ef73f])=>{const _0x444d79=a0_0x4697;_0x4c9af5[_0x444d79(0x2f4)](_0x126888,this[_0x444d79(0x2d0)](_0x126888,_0x4ef73f,_0x2e3751));}),_0x4c9af5;}}class OperationList{[a0_0x1a4d8a(0x258)];constructor(_0x445e7d,_0x2ef33e){const _0x3aed33=a0_0x1a4d8a,_0x4e9a24=new OperationFactory();this[_0x3aed33(0x258)]=_0x4e9a24[_0x3aed33(0xe0)](_0x445e7d,_0x2ef33e);}['get'](_0x3d50c4){const _0x24667c=a0_0x1a4d8a;return this[_0x24667c(0x258)][_0x24667c(0x262)](_0x3d50c4);}[a0_0x1a4d8a(0x29e)](_0x109b42){const _0x2f92ca=a0_0x1a4d8a;return this[_0x2f92ca(0x258)][_0x2f92ca(0x29e)](_0x109b42);}[a0_0x1a4d8a(0x242)](){const _0x4a51b1=a0_0x1a4d8a;return this[_0x4a51b1(0x258)][_0x4a51b1(0x242)];}[a0_0x1a4d8a(0x11a)](){const _0x4f3679=a0_0x1a4d8a;return Array['from'](this['_operations'][_0x4f3679(0x1e7)]());}['toArray'](){const _0x36a5a7=a0_0x1a4d8a,_0x1f5cd0=Array[_0x36a5a7(0x1be)](this['_operations'][_0x36a5a7(0x27e)]());return this[_0x36a5a7(0x2da)](_0x1f5cd0);}[a0_0x1a4d8a(0x28b)](){const _0x102bbe=a0_0x1a4d8a;return this[_0x102bbe(0x186)]()[_0x102bbe(0x20e)](_0x55c670=>_0x55c670['isEnabled']());}[a0_0x1a4d8a(0x28a)](){const _0x5b862f=a0_0x1a4d8a;return this['toArray']()[_0x5b862f(0x20e)](_0x1f2fad=>!_0x1f2fad['isEnabled']());}[a0_0x1a4d8a(0x152)](){const _0x5f4438=a0_0x1a4d8a;return this[_0x5f4438(0x28b)]()['map'](_0x6b9002=>_0x6b9002[_0x5f4438(0x239)]());}[a0_0x1a4d8a(0x121)](){const _0x4a23bb=a0_0x1a4d8a;return this[_0x4a23bb(0x28a)]()['map'](_0x3c6ca2=>_0x3c6ca2['getName']());}[a0_0x1a4d8a(0x123)](_0x1ea2db){const _0x5b3c5e=a0_0x1a4d8a;return this['toArray']()[_0x5b3c5e(0x20e)](_0x3dc019=>_0x3dc019[_0x5b3c5e(0x2a1)]()===_0x1ea2db);}[a0_0x1a4d8a(0x20e)](_0x90ae34){const _0xc76677=a0_0x1a4d8a;return this[_0xc76677(0x186)]()[_0xc76677(0x20e)](_0x90ae34);}[a0_0x1a4d8a(0x1a3)](_0x91965b={}){const _0x174911=a0_0x1a4d8a;let _0x17632a=this['toArray']();!_0x91965b[_0x174911(0x2ee)]&&(_0x17632a=_0x17632a[_0x174911(0x20e)](_0x480dfd=>_0x480dfd[_0x174911(0x320)]()));if(_0x91965b[_0x174911(0x360)]!==![]){const _0x2a425d=_0x17632a[_0x174911(0x1b9)](_0x4fc8dd=>({'name':_0x4fc8dd['getName'](),'operation':_0x4fc8dd})),_0x1a60d4=filterApiOperations(_0x2a425d);_0x17632a=_0x1a60d4[_0x174911(0x1b9)](_0x2fac7e=>_0x2fac7e[_0x174911(0x1a2)]),_0x17632a=this['sortOperationsWithFilterFirst'](_0x17632a);}return _0x91965b[_0x174911(0x174)]&&(_0x17632a=_0x17632a[_0x174911(0x20e)](_0x91965b['customFilter'])),_0x17632a;}[a0_0x1a4d8a(0x2da)](_0x16f888){const _0x3f380c=a0_0x1a4d8a,_0xeafbc7=_0x16f888[_0x3f380c(0x286)](_0x395660=>_0x395660[_0x3f380c(0x239)]()===_0x3f380c(0x20e)),_0x518d3a=_0x16f888[_0x3f380c(0x20e)](_0x396652=>_0x396652[_0x3f380c(0x239)]()!==_0x3f380c(0x20e));return _0xeafbc7?[_0xeafbc7,..._0x518d3a]:_0x518d3a;}['getStats'](){const _0x1f8e65=a0_0x1a4d8a,_0x7df499=this[_0x1f8e65(0x28b)]();return{'total':this[_0x1f8e65(0x242)](),'enabled':_0x7df499['length'],'disabled':this['size']()-_0x7df499['length'],'byType':this[_0x1f8e65(0x33d)](_0x7df499),'byMethod':this['getCountByMethod'](_0x7df499)};}[a0_0x1a4d8a(0x33d)](_0x439d39){const _0x3a13d9=a0_0x1a4d8a,_0xe7c1e={};return _0x439d39[_0x3a13d9(0x1e6)](_0x1a61e1=>{const _0x31d23b=_0x3a13d9,_0x3c6135=_0x1a61e1[_0x31d23b(0x2a1)]();_0x3c6135&&(_0xe7c1e[_0x3c6135]=(_0xe7c1e[_0x3c6135]||0x0)+0x1);}),_0xe7c1e;}[a0_0x1a4d8a(0x2a4)](_0x259512){const _0x281f3f={};return _0x259512['forEach'](_0x16ce9b=>{const _0x4ece42=a0_0x4697,_0x127b93=_0x16ce9b[_0x4ece42(0x38e)]();_0x127b93&&(_0x281f3f[_0x127b93]=(_0x281f3f[_0x127b93]||0x0)+0x1);}),_0x281f3f;}[Symbol[a0_0x1a4d8a(0x228)]](){const _0xff5964=a0_0x1a4d8a;return this[_0xff5964(0x258)][_0xff5964(0x27e)]();}[a0_0x1a4d8a(0x358)](){const _0x3b9992=a0_0x1a4d8a,_0x4e94ad=this[_0x3b9992(0x2dd)]();return _0x3b9992(0x10d)+_0x4e94ad[_0x3b9992(0x2fd)]+'/'+_0x4e94ad[_0x3b9992(0x38d)]+'\x20operations)';}}class DBConfig{[a0_0x1a4d8a(0x359)];['dbId'];[a0_0x1a4d8a(0x13c)];[a0_0x1a4d8a(0x363)];['dbVersion'];[a0_0x1a4d8a(0x163)];[a0_0x1a4d8a(0x143)];[a0_0x1a4d8a(0x173)];['tenantCode'];[a0_0x1a4d8a(0x11e)];constructor(_0x150ca6,_0xe04477){const _0x27ce1f=a0_0x1a4d8a;this[_0x27ce1f(0x359)]=_0xe04477,this[_0x27ce1f(0x36e)]=_0x150ca6['dbId'],this[_0x27ce1f(0x13c)]=_0x150ca6[_0x27ce1f(0x13c)],this['dbType']=_0x150ca6[_0x27ce1f(0x363)],this['dbVersion']=_0x150ca6[_0x27ce1f(0x281)],this['tableName']=_0x150ca6[_0x27ce1f(0x163)],this['datasetKey']=_0x150ca6['datasetKey'],this[_0x27ce1f(0x173)]=_0x150ca6[_0x27ce1f(0x173)],this[_0x27ce1f(0x1ac)]=_0x150ca6[_0x27ce1f(0x1ac)],this[_0x27ce1f(0x11e)]=_0x150ca6['appCode'];}[a0_0x1a4d8a(0x161)](){const _0x18c1f1=a0_0x1a4d8a;return this[_0x18c1f1(0x359)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x1a4d8a(0x2e6)];['_fieldList'];['_fieldListWithDeleted'];constructor(_0x188048){const _0x130812=a0_0x1a4d8a,_0x4098e0={..._0x188048};_0x4098e0['id']=_0x188048['modelId']||_0x188048['id'],_0x4098e0[_0x130812(0x1b6)]=_0x188048[_0x130812(0xc8)]||_0x188048[_0x130812(0x1b6)]||_0x188048[_0x130812(0x1b8)],super(_0x4098e0);}[a0_0x1a4d8a(0x2a7)](){return;}[a0_0x1a4d8a(0x216)](){return[];}[a0_0x1a4d8a(0x156)](){return[];}get[a0_0x1a4d8a(0x22a)](){const _0x2946a0=a0_0x1a4d8a;return this[_0x2946a0(0x25c)]();}[a0_0x1a4d8a(0x35b)](){const _0x445a0d=a0_0x1a4d8a;if(!this[_0x445a0d(0x28c)])throw new Error(_0x445a0d(0xdb));return this[_0x445a0d(0x28c)];}[a0_0x1a4d8a(0x2ec)](){const _0x5c1e4a=a0_0x1a4d8a;if(!this['_fieldListWithDeleted'])throw new Error(_0x5c1e4a(0x250));return this[_0x5c1e4a(0x154)];}[a0_0x1a4d8a(0x32d)](){return[];}['getFieldsWithDeleted'](){const _0x52a7cf=a0_0x1a4d8a,_0x7f9487=this[_0x52a7cf(0x116)]();return _0x7f9487[_0x52a7cf(0x381)];}[a0_0x1a4d8a(0x2e4)](){const _0x7cfa69=a0_0x1a4d8a;return this[_0x7cfa69(0x32d)]()[_0x7cfa69(0x1f3)];}[a0_0x1a4d8a(0x147)](_0x18edc1){const _0x5f5ab9=a0_0x1a4d8a,_0x5c8b8a=this[_0x5f5ab9(0x293)](_0x18edc1);return _0x5c8b8a?_0x5c8b8a[_0x5f5ab9(0x359)]:undefined;}[a0_0x1a4d8a(0x2df)](_0x4d2594){return;}[a0_0x1a4d8a(0x1dc)](_0x5e372b){const _0x35030d=a0_0x1a4d8a;if(!_0x5e372b||typeof _0x5e372b!==_0x35030d(0x32a))return!![]&&console['warn'](_0x35030d(0x233),_0x5e372b),{};if(_0x35030d(0x173)in _0x5e372b){const _0x35a296=_0x5e372b;return{'primaryKey':typeof _0x35a296['pkField']==='boolean'?_0x35a296[_0x35030d(0x173)]:Boolean(_0x35a296[_0x35030d(0x173)]),'required':_0x35a296['required'],'systemRetain':Boolean(_0x35a296[_0x35030d(0xec)]),'autoIncrement':_0x35a296['autoIncrement']??undefined};}if(!(_0x35030d(0x390)in _0x5e372b)||!_0x5e372b['extend'])return{};try{const _0x2dda69=typeof _0x5e372b['extend']===_0x35030d(0x195)?JSON[_0x35030d(0x1ef)](_0x5e372b[_0x35030d(0x390)]):_0x5e372b[_0x35030d(0x390)];if(typeof _0x2dda69!==_0x35030d(0x32a)||_0x2dda69===null)return{};return _0x2dda69;}catch{return{};}}['getOperationList'](){const _0x5006cf=a0_0x1a4d8a;if(!this['_operationList']){const _0x328fcb=this[_0x5006cf(0x1f1)](this['getOperationsData']()||{});this[_0x5006cf(0x2e6)]=new OperationList(_0x328fcb,{'fields':this['getFieldList']()[_0x5006cf(0x206)](),'pkField':this[_0x5006cf(0x1a9)]['dbtableConfig']?.['pkField'],'dbtableConfig':this[_0x5006cf(0x1a9)][_0x5006cf(0x197)]||null});}return this[_0x5006cf(0x2e6)];}[a0_0x1a4d8a(0x1f1)](_0x30e58b){const _0xb422eb=a0_0x1a4d8a;if(_0x30e58b[_0xb422eb(0x20e)]!==undefined)return _0x30e58b;return{..._0x30e58b,'filter':this['generateDefaultFilterOperation']()};}['generateDefaultFilterOperation'](){const _0x3e7e03=a0_0x1a4d8a,_0x3c9bfe=this[_0x3e7e03(0x224)]()?.['getList'];let _0x4847e4=_0x3c9bfe?.['host'],_0x6328b8='';if(!_0x4847e4&&this['getOperationsData']()){const _0x280ae6=Object[_0x3e7e03(0x27e)](this['getOperationsData']());for(const _0x4b4d6c of _0x280ae6){if(_0x4b4d6c&&typeof _0x4b4d6c===_0x3e7e03(0x32a)&&_0x3e7e03(0x284)in _0x4b4d6c){_0x4847e4=_0x4b4d6c[_0x3e7e03(0x284)];break;}}}if(_0x3c9bfe?.[_0x3e7e03(0x368)]){const _0x2bfb38=_0x3c9bfe[_0x3e7e03(0x368)],_0x1c7d30=_0x2bfb38[_0x3e7e03(0x1b5)]('/');_0x1c7d30!==-0x1&&(_0x6328b8=_0x2bfb38['substring'](0x0,_0x1c7d30));}const _0x4e4286={};_0x4e4286[_0x3e7e03(0x1c8)]=_0x3e7e03(0x138),_0x4e4286[_0x3e7e03(0x172)]=_0x3e7e03(0x32a),_0x4e4286[_0x3e7e03(0xca)]=![];const _0x4bbc27={};_0x4bbc27[_0x3e7e03(0x1c8)]=_0x3e7e03(0x1cf),_0x4bbc27[_0x3e7e03(0x172)]='array',_0x4bbc27[_0x3e7e03(0xca)]=![];const _0x3c00d3={};_0x3c00d3[_0x3e7e03(0x1c8)]=_0x3e7e03(0x24f),_0x3c00d3['type']=_0x3e7e03(0x1d6),_0x3c00d3[_0x3e7e03(0xca)]=![];const _0x2fa434={};_0x2fa434['name']=_0x3e7e03(0xc6),_0x2fa434['type']=_0x3e7e03(0x391),_0x2fa434['required']=![],_0x2fa434[_0x3e7e03(0xc1)]=0x1;const _0x1f6236={};_0x1f6236[_0x3e7e03(0x1c8)]='pageSize',_0x1f6236[_0x3e7e03(0x172)]=_0x3e7e03(0x391),_0x1f6236['required']=![],_0x1f6236[_0x3e7e03(0xc1)]=0xa;const _0x1d86db={};return _0x1d86db[_0x3e7e03(0x1c8)]='filter',_0x1d86db[_0x3e7e03(0x172)]=_0x3e7e03(0x1db),_0x1d86db[_0x3e7e03(0x231)]=_0x3e7e03(0x335),_0x1d86db[_0x3e7e03(0x2ac)]=_0x3e7e03(0x388),_0x1d86db[_0x3e7e03(0x284)]=_0x4847e4,_0x1d86db[_0x3e7e03(0x368)]=_0x6328b8?_0x6328b8+_0x3e7e03(0x1e5):_0x3e7e03(0x1e5),_0x1d86db[_0x3e7e03(0x37d)]=_0x3c9bfe?.['params']||[_0x4e4286,_0x4bbc27,_0x3c00d3,_0x2fa434,_0x1f6236],_0x1d86db['_autoGenerated']=!![],_0x1d86db;}[a0_0x1a4d8a(0xd0)](){const _0x43b073=a0_0x1a4d8a;return this[_0x43b073(0x182)]()['toArray']();}[a0_0x1a4d8a(0x35a)](){const _0x4aab5d=a0_0x1a4d8a;return this[_0x4aab5d(0x182)]()[_0x4aab5d(0x242)]();}[a0_0x1a4d8a(0x198)](_0x247f47){const _0x39abcd=a0_0x1a4d8a;if(typeof _0x247f47!==_0x39abcd(0x195)){!![]&&console[_0x39abcd(0x392)]('[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:',_0x247f47);return;}return this['getOperationList']()['get'](_0x247f47);}[a0_0x1a4d8a(0x236)](_0x2bcd01){const _0x5716c4=a0_0x1a4d8a;if(typeof _0x2bcd01!==_0x5716c4(0x195))return![];return this[_0x5716c4(0x182)]()[_0x5716c4(0x29e)](_0x2bcd01);}[a0_0x1a4d8a(0x241)](_0x1b30d4){const _0x561a7c=a0_0x1a4d8a;if(typeof _0x1b30d4!==_0x561a7c(0x195))return![];const _0x33761a=this[_0x561a7c(0x198)](_0x1b30d4);return _0x33761a?.[_0x561a7c(0x320)]()||![];}[a0_0x1a4d8a(0x2f8)](){return this['getOperationList']()['getEnabledNames']();}[a0_0x1a4d8a(0x346)](){const _0x3c7d55=a0_0x1a4d8a;return this[_0x3c7d55(0x182)]()[_0x3c7d55(0x121)]();}[a0_0x1a4d8a(0x366)](){const _0xf93eb2=a0_0x1a4d8a;return this['getOperationList']()[_0xf93eb2(0x28b)]();}[a0_0x1a4d8a(0x306)](){const _0x4e2cdb=a0_0x1a4d8a;return this[_0x4e2cdb(0x182)]()['getDisabled']();}[a0_0x1a4d8a(0x230)](_0x4c8f98={}){const _0x3effbf=a0_0x1a4d8a;return this[_0x3effbf(0x182)]()[_0x3effbf(0x1a3)](_0x4c8f98);}[a0_0x1a4d8a(0x2dd)](){const _0x18cdc3=a0_0x1a4d8a;return{'fieldCount':this[_0x18cdc3(0x2e4)](),'systemFieldCount':this[_0x18cdc3(0x219)]()[_0x18cdc3(0x1f3)],'businessFieldCount':this[_0x18cdc3(0x1f4)]()[_0x18cdc3(0x1f3)],'requiredFieldCount':this[_0x18cdc3(0x18c)]()[_0x18cdc3(0x1f3)],'primaryKeyCount':this[_0x18cdc3(0x253)]()['length'],'operationCount':this[_0x18cdc3(0x35a)](),'enabledOperationCount':this['getEnabledOperations']()[_0x18cdc3(0x1f3)]};}[a0_0x1a4d8a(0xf7)](_0x581440){const _0x2ecb9b=a0_0x1a4d8a;if(!_0x581440||typeof _0x581440!==_0x2ecb9b(0x32a))return'';if('code'in _0x581440&&typeof _0x581440[_0x2ecb9b(0x1b8)]===_0x2ecb9b(0x195))return _0x581440[_0x2ecb9b(0x1b8)];if(_0x2ecb9b(0x1c8)in _0x581440&&typeof _0x581440['name']===_0x2ecb9b(0x195))return _0x581440['name'];return'';}[a0_0x1a4d8a(0x1f8)](_0x56095f){return this['getFieldList']()['has'](_0x56095f);}[a0_0x1a4d8a(0x28e)](_0x1c9bb5){const _0x452944=a0_0x1a4d8a;if(!_0x1c9bb5||typeof _0x1c9bb5!==_0x452944(0x32a))return![];const _0x3f9064=this[_0x452944(0xf7)](_0x1c9bb5),_0x377654=this[_0x452944(0x293)](_0x3f9064);return _0x377654?_0x377654[_0x452944(0x1fc)]():![];}[a0_0x1a4d8a(0x244)](_0x38846c){const _0x54ddc2=a0_0x1a4d8a;if(!_0x38846c||typeof _0x38846c!=='object')return![];const _0x391bec=this['getFieldCode'](_0x38846c),_0x545232=this[_0x54ddc2(0x293)](_0x391bec);return _0x545232?_0x545232[_0x54ddc2(0x101)]():![];}[a0_0x1a4d8a(0x270)](_0x4e5d34){const _0x45d7d2=a0_0x1a4d8a;if(!_0x4e5d34||typeof _0x4e5d34!=='object')return![];const _0x4bf1fb=this[_0x45d7d2(0xf7)](_0x4e5d34),_0x62c57b=this['getFieldInstance'](_0x4bf1fb);return _0x62c57b?_0x62c57b['isRequired']():![];}['isEnumField'](_0x46561b){const _0x2e4128=a0_0x1a4d8a;if(!_0x46561b||typeof _0x46561b!==_0x2e4128(0x32a))return![];const _0xfd540e=this[_0x2e4128(0xf7)](_0x46561b),_0x502849=this['getFieldInstance'](_0xfd540e);return _0x502849?_0x502849[_0x2e4128(0x107)]():![];}[a0_0x1a4d8a(0x1ae)](_0x5bb487){const _0x3ce6b8=a0_0x1a4d8a;if(!_0x5bb487||typeof _0x5bb487!==_0x3ce6b8(0x32a))return![];const _0x19191a=this[_0x3ce6b8(0xf7)](_0x5bb487),_0x5b397d=this['getFieldInstance'](_0x19191a);return _0x5b397d?_0x5b397d[_0x3ce6b8(0x19c)]():![];}['getFieldOptions'](_0x4ebfe9){const _0x118ccc=a0_0x1a4d8a;if(!_0x4ebfe9||typeof _0x4ebfe9!==_0x118ccc(0x32a))return[];const _0x322c22=this['getFieldCode'](_0x4ebfe9),_0x2f1ef0=this[_0x118ccc(0x293)](_0x322c22);if(!_0x2f1ef0||!_0x2f1ef0[_0x118ccc(0x107)]())return[];return _0x2f1ef0[_0x118ccc(0x30c)]()||[];}[a0_0x1a4d8a(0x2ca)](_0x237869){const _0x1d64d7=a0_0x1a4d8a;if(!_0x237869||typeof _0x237869!==_0x1d64d7(0x32a))return;const _0x50fcda=this[_0x1d64d7(0xf7)](_0x237869),_0x1bfbe9=this[_0x1d64d7(0x293)](_0x50fcda);if(!_0x1bfbe9||!_0x1bfbe9[_0x1d64d7(0x107)]())return;return _0x1bfbe9[_0x1d64d7(0x1a6)]();}[a0_0x1a4d8a(0x1d0)](_0x4a35f8){const _0x58f2f0=a0_0x1a4d8a;if(!_0x4a35f8||typeof _0x4a35f8!==_0x58f2f0(0x32a))return;const _0x16f228=this['getFieldCode'](_0x4a35f8),_0xcccc3a=this['getFieldInstance'](_0x16f228);if(!_0xcccc3a||!_0xcccc3a[_0x58f2f0(0x107)]())return;return _0xcccc3a[_0x58f2f0(0x19b)]();}[a0_0x1a4d8a(0x253)](){const _0x30a434=a0_0x1a4d8a;return this['getFieldList']()[_0x30a434(0x1cd)]()[_0x30a434(0x1b9)](_0x37de4e=>_0x37de4e[_0x30a434(0x359)]);}[a0_0x1a4d8a(0x219)](){const _0x20a757=a0_0x1a4d8a;return this[_0x20a757(0x35b)]()[_0x20a757(0x321)]()[_0x20a757(0x1b9)](_0x51c6a3=>_0x51c6a3[_0x20a757(0x359)]);}[a0_0x1a4d8a(0x1f4)](){const _0x1ea8c9=a0_0x1a4d8a;return this[_0x1ea8c9(0x35b)]()[_0x1ea8c9(0x365)]()['map'](_0x4649b8=>_0x4649b8[_0x1ea8c9(0x359)]);}['getRequiredFields'](){const _0x2cc733=a0_0x1a4d8a;return this[_0x2cc733(0x35b)]()[_0x2cc733(0x26f)]()[_0x2cc733(0x1b9)](_0x10f45c=>_0x10f45c[_0x2cc733(0x359)]);}[a0_0x1a4d8a(0x155)](){const _0x43adb1=a0_0x1a4d8a,_0x2e4bcc=this[_0x43adb1(0x35b)]()[_0x43adb1(0x323)](),_0x20fc4a={};for(const [_0x2122b5,_0x7c59db]of Object[_0x43adb1(0x140)](_0x2e4bcc)){_0x20fc4a[_0x2122b5]=_0x7c59db[_0x43adb1(0x1b9)](_0x3f4267=>_0x3f4267['raw']);}return _0x20fc4a;}[a0_0x1a4d8a(0x1bb)](){const _0x2bf936=a0_0x1a4d8a;return this[_0x2bf936(0x35b)]()[_0x2bf936(0x1d7)]()[_0x2bf936(0x1b9)](_0x56f0d0=>_0x56f0d0['raw']);}['getEnumFieldsMeta'](){const _0xe6fa33=a0_0x1a4d8a,_0x5a2cf9={};return this[_0xe6fa33(0x1bb)]()['forEach'](_0x3c68f1=>{const _0x4b83ac=_0xe6fa33,_0x55de4d=this[_0x4b83ac(0x1d0)](_0x3c68f1);if(_0x55de4d){const _0x4b3fb0=this[_0x4b83ac(0xf7)](_0x3c68f1);_0x5a2cf9[_0x4b3fb0]=_0x55de4d;}}),_0x5a2cf9;}['validateEnumValue'](_0x4e416f,_0x322cda){const _0x960bdf=a0_0x1a4d8a,_0x33abf5=this['getEnumFieldMeta'](_0x4e416f);if(!_0x33abf5)return!![];if(_0x33abf5[_0x960bdf(0x158)]&&!_0x33abf5[_0x960bdf(0xda)])return!![];const _0x58f50e=this[_0x960bdf(0xf7)](_0x4e416f),_0x5ee124=this[_0x960bdf(0x293)](_0x58f50e),_0x48e471=_0x5ee124?_0x5ee124['isMultipleSelect']():![];if(_0x48e471&&Array[_0x960bdf(0x28d)](_0x322cda))return _0x322cda['every'](_0x27bdd2=>_0x33abf5[_0x960bdf(0x27e)][_0x960bdf(0x24a)](_0x27bdd2));return _0x33abf5[_0x960bdf(0x27e)][_0x960bdf(0x24a)](_0x322cda);}[a0_0x1a4d8a(0x166)](){const _0x53642a=a0_0x1a4d8a;return new DatasetItem({'id':this['id'],'name':this[_0x53642a(0x1c8)],'datasetCode':this['datasetCode'],'dbtableConfig':this['getRawDbtableConfig']()});}['toString'](){const _0x4cf739=a0_0x1a4d8a;return _0x4cf739(0x32f)+this[_0x4cf739(0x1c8)]+',\x20'+this[_0x4cf739(0x1b6)]+',\x20'+this[_0x4cf739(0x2e4)]()+_0x4cf739(0xfb)+this[_0x4cf739(0x35a)]()+_0x4cf739(0xd5)+this[_0x4cf739(0x361)]()+')';}['getFilterOperators'](){const _0x43b24f=a0_0x1a4d8a;return this[_0x43b24f(0x24d)](_0x43b24f(0x20e));}['getFieldFilterOperators'](_0x214dec){const _0x5d3452=a0_0x1a4d8a;return this[_0x5d3452(0x1ee)](_0x5d3452(0x20e),_0x214dec);}[a0_0x1a4d8a(0x217)](){const _0x424be0=a0_0x1a4d8a;return this[_0x424be0(0x127)]('filter');}[a0_0x1a4d8a(0x24d)](_0x4f8c9e){const _0x11d30f=a0_0x1a4d8a,_0x302c61=this['getOperation'](_0x4f8c9e);return _0x302c61?_0x302c61[_0x11d30f(0x31d)]():[];}[a0_0x1a4d8a(0x1ee)](_0x2d19da,_0x216ce6){const _0x4db035=a0_0x1a4d8a,_0x3e258a=this[_0x4db035(0x198)](_0x2d19da);return _0x3e258a?_0x3e258a[_0x4db035(0x2aa)](_0x216ce6):[];}[a0_0x1a4d8a(0x127)](_0x2fa34f){const _0xcbf2a=a0_0x1a4d8a,_0x2bf039={};return this[_0xcbf2a(0x35b)]()['forEach'](_0x6b841d=>{const _0x1ccea4=_0xcbf2a,_0x4db788=this[_0x1ccea4(0x1ee)](_0x2fa34f,_0x6b841d[_0x1ccea4(0x1b8)]);_0x4db788['length']>0x0&&(_0x2bf039[_0x6b841d[_0x1ccea4(0x1b8)]]=_0x4db788);}),_0x2bf039;}[a0_0x1a4d8a(0x1fd)](_0x57232f,_0x18014e,_0xc81fe7){const _0x90d56b=a0_0x1a4d8a,_0x24f0f6=this[_0x90d56b(0x1ee)](_0x57232f,_0x18014e);return _0x24f0f6[_0x90d56b(0x24a)](_0xc81fe7);}}class FieldBase{get[a0_0x1a4d8a(0x363)](){return;}get[a0_0x1a4d8a(0x330)](){return;}get[a0_0x1a4d8a(0x273)](){return;}get[a0_0x1a4d8a(0xeb)](){return;}[a0_0x1a4d8a(0x37b)](){const _0x1ae6e8=a0_0x1a4d8a;return!this[_0x1ae6e8(0x101)]();}[a0_0x1a4d8a(0xff)](){const _0x338867=a0_0x1a4d8a;return this[_0x338867(0x2f2)];}[a0_0x1a4d8a(0x107)](){const _0x4ebda3=a0_0x1a4d8a,_0x5ba195=[_0x4ebda3(0x264),'SELECT',_0x4ebda3(0x246)];return _0x5ba195[_0x4ebda3(0x24a)](this[_0x4ebda3(0x172)]);}[a0_0x1a4d8a(0x19c)](){const _0xbc30f=a0_0x1a4d8a;return this['type']===_0xbc30f(0x246);}[a0_0x1a4d8a(0x386)](){const _0x4dabfb=a0_0x1a4d8a,_0x5175b9=this[_0x4dabfb(0x19b)]();return _0x5175b9?.['values']||[];}[a0_0x1a4d8a(0x19b)](){const _0x51b2b3=a0_0x1a4d8a;if(!this['isEnum']())return;const _0x3e05c1=this[_0x51b2b3(0x30c)](),_0x1e0edc=this['getSelectItemsSource'](),_0xf53b92=[],_0x570746={},_0x4f6323=_0x451454=>{_0x451454['forEach'](_0x307065=>{const _0x1029ee=a0_0x4697;if(!_0x307065||typeof _0x307065!==_0x1029ee(0x32a))return;_0x307065[_0x1029ee(0x30b)]!==undefined&&_0x307065[_0x1029ee(0x30b)]!==null&&(_0xf53b92['push'](_0x307065[_0x1029ee(0x30b)]),_0x570746[String(_0x307065[_0x1029ee(0x30b)])]=_0x307065[_0x1029ee(0x222)]||''),_0x307065[_0x1029ee(0x354)]&&Array[_0x1029ee(0x28d)](_0x307065[_0x1029ee(0x354)])&&_0x307065[_0x1029ee(0x354)][_0x1029ee(0x1f3)]>0x0&&_0x4f6323(_0x307065[_0x1029ee(0x354)]);});};return _0x3e05c1&&Array['isArray'](_0x3e05c1)&&_0x3e05c1[_0x51b2b3(0x1f3)]>0x0&&_0x4f6323(_0x3e05c1),{'code':this[_0x51b2b3(0x1b8)],'name':this[_0x51b2b3(0x1c8)],'type':this[_0x51b2b3(0x172)],'multiple':this[_0x51b2b3(0x19c)](),'options':_0x3e05c1,'selectItemsSource':_0x1e0edc,'values':_0xf53b92,'valueLabels':_0x570746};}get[a0_0x1a4d8a(0xd6)](){const _0x44dbc0=a0_0x1a4d8a;return this[_0x44dbc0(0x386)]();}[a0_0x1a4d8a(0x358)](){const _0x42e9c0=a0_0x1a4d8a;return _0x42e9c0(0x25e)+this[_0x42e9c0(0x1c8)]+',\x20'+this[_0x42e9c0(0x1b8)]+',\x20'+this[_0x42e9c0(0x172)]+',\x20'+this['getVersion']()+')';}}class FieldV1 extends FieldBase{[a0_0x1a4d8a(0x1a9)];[a0_0x1a4d8a(0x20b)]=null;constructor(_0x1c8eea){const _0x5347d0=a0_0x1a4d8a;super();if(!_0x1c8eea||typeof _0x1c8eea!==_0x5347d0(0x32a))throw new Error(_0x5347d0(0x297));this[_0x5347d0(0x1a9)]=_0x1c8eea;}['toFieldDefinition'](){const _0x612000=a0_0x1a4d8a;return this[_0x612000(0x1a9)];}[a0_0x1a4d8a(0x361)](){return'v1';}get[a0_0x1a4d8a(0x359)](){const _0x167aec=a0_0x1a4d8a;return this[_0x167aec(0x1a9)];}get[a0_0x1a4d8a(0x1c8)](){const _0x42ea07=a0_0x1a4d8a;return this[_0x42ea07(0x1a9)][_0x42ea07(0x1c8)]||'';}get['code'](){const _0x1a3a72=a0_0x1a4d8a;return this[_0x1a3a72(0x1a9)][_0x1a3a72(0x1b8)]||'';}get[a0_0x1a4d8a(0x172)](){const _0xe77267=a0_0x1a4d8a;return this[_0xe77267(0x1a9)][_0xe77267(0x172)]||'';}get[a0_0x1a4d8a(0x231)](){const _0x1cdba3=a0_0x1a4d8a;return this[_0x1cdba3(0x1a9)][_0x1cdba3(0x231)]||'';}get[a0_0x1a4d8a(0x2f2)](){const _0x3d40be=a0_0x1a4d8a;return Boolean(this[_0x3d40be(0x1a9)][_0x3d40be(0x2f2)]);}get[a0_0x1a4d8a(0x363)](){const _0x4ed1b6=a0_0x1a4d8a;return this[_0x4ed1b6(0x1a9)][_0x4ed1b6(0x363)];}get[a0_0x1a4d8a(0x330)](){const _0x5245a3=a0_0x1a4d8a;return this['_raw'][_0x5245a3(0x330)];}get[a0_0x1a4d8a(0x273)](){const _0x28c30a=a0_0x1a4d8a;return this[_0x28c30a(0x1a9)][_0x28c30a(0x20f)];}get['doType'](){return;}get['extend'](){const _0x5efde2=a0_0x1a4d8a;if(this[_0x5efde2(0x20b)]!==null&&typeof this[_0x5efde2(0x20b)]===_0x5efde2(0x32a))return this[_0x5efde2(0x20b)];const _0x201d05=this[_0x5efde2(0x1a9)][_0x5efde2(0x390)];if(!_0x201d05||typeof _0x201d05!==_0x5efde2(0x195))return this['_extend']={},this['_extend'];if(_0x201d05===_0x5efde2(0x130)||_0x201d05[_0x5efde2(0x367)]()===_0x5efde2(0x130))return this['_extend']={},this[_0x5efde2(0x20b)];try{const _0x4370af=JSON[_0x5efde2(0x1ef)](_0x201d05);return this[_0x5efde2(0x20b)]=_0x4370af!==null&&typeof _0x4370af===_0x5efde2(0x32a)&&!Array[_0x5efde2(0x28d)](_0x4370af)?_0x4370af:{},this['_extend'];}catch(_0x15c242){return!![]&&console[_0x5efde2(0x392)]('[FieldV1.extend]\x20解析字段\x20'+this[_0x5efde2(0x1b8)]+'\x20的\x20extend\x20配置失败:',_0x15c242),this[_0x5efde2(0x20b)]={},this[_0x5efde2(0x20b)];}}['isRequired'](){const _0x2ec7c0=a0_0x1a4d8a;return Boolean(this[_0x2ec7c0(0x390)][_0x2ec7c0(0xca)]);}['isPrimaryKey'](){const _0x56db1d=a0_0x1a4d8a;return Boolean(this[_0x56db1d(0x390)][_0x56db1d(0x1aa)]||this[_0x56db1d(0x390)][_0x56db1d(0x173)]);}[a0_0x1a4d8a(0x101)](){const _0x8de294=a0_0x1a4d8a;return Boolean(this[_0x8de294(0x390)]['systemRetain']);}[a0_0x1a4d8a(0x135)](){const _0x3c2a5c=a0_0x1a4d8a;return Boolean(this[_0x3c2a5c(0x390)][_0x3c2a5c(0x308)]);}[a0_0x1a4d8a(0xe3)](){const _0x369e5d=a0_0x1a4d8a;return Boolean(this[_0x369e5d(0x390)][_0x369e5d(0x1a4)]);}[a0_0x1a4d8a(0x36b)](){const _0x55e19a=a0_0x1a4d8a;return Boolean(this['extend'][_0x55e19a(0xf3)]);}[a0_0x1a4d8a(0x1df)](){const _0x4097ce=a0_0x1a4d8a;return this[_0x4097ce(0x1c8)];}[a0_0x1a4d8a(0x1f7)](){const _0x21bc61=a0_0x1a4d8a;return this[_0x21bc61(0x1b8)];}[a0_0x1a4d8a(0x107)](){const _0x5e1d28=a0_0x1a4d8a,_0x83a6ef=[_0x5e1d28(0x264),'SELECT',_0x5e1d28(0x246)];if(_0x83a6ef[_0x5e1d28(0x24a)](this[_0x5e1d28(0x172)]))return!![];const _0x2b3712=this['extend'];return Boolean(_0x2b3712[_0x5e1d28(0xda)]&&Array[_0x5e1d28(0x28d)](_0x2b3712[_0x5e1d28(0xda)])&&_0x2b3712['options'][_0x5e1d28(0x1f3)]>0x0||_0x2b3712[_0x5e1d28(0x158)]);}['isMultipleSelect'](){const _0x56b793=a0_0x1a4d8a;if(this[_0x56b793(0x172)]===_0x56b793(0x246))return!![];return Boolean(this['extend'][_0x56b793(0x12f)]);}[a0_0x1a4d8a(0x30c)](){const _0x579fbb=a0_0x1a4d8a,_0x143025=this['extend'];if(_0x143025[_0x579fbb(0xda)]&&Array['isArray'](_0x143025['options']))return _0x143025['options'];return;}[a0_0x1a4d8a(0x1a6)](){const _0x35a321=a0_0x1a4d8a,_0x4cbd6a=this['extend'];if(_0x4cbd6a[_0x35a321(0x158)]&&typeof _0x4cbd6a[_0x35a321(0x158)]===_0x35a321(0x32a))return _0x4cbd6a[_0x35a321(0x158)];return;}[a0_0x1a4d8a(0x1e4)](){return this['type']['toUpperCase']();}['getDefaultValue'](){const _0x4262ee=a0_0x1a4d8a;return this['extend'][_0x4262ee(0x205)];}[a0_0x1a4d8a(0x2a6)](){const _0x31196d=a0_0x1a4d8a;return this['extend'][_0x31196d(0x2e8)];}[a0_0x1a4d8a(0x18e)](){const _0x104723=a0_0x1a4d8a;return{'name':this[_0x104723(0x1c8)],'code':this['code'],'type':this['type'],'dbType':this[_0x104723(0x363)],'dbTypeLen':this[_0x104723(0x330)],'description':this[_0x104723(0x231)],'required':this[_0x104723(0x196)](),'primaryKey':this[_0x104723(0x1fc)](),'system':this[_0x104723(0x101)](),'autoIncrement':this[_0x104723(0x135)](),'createTime':this[_0x104723(0xe3)](),'updateTime':this[_0x104723(0x36b)](),'isEnum':this[_0x104723(0x107)](),'enumMeta':this[_0x104723(0x107)]()?this[_0x104723(0x19b)]():undefined};}[a0_0x1a4d8a(0x358)](){const _0x32b81c=a0_0x1a4d8a;return'FieldV1('+this[_0x32b81c(0x1c8)]+',\x20'+this[_0x32b81c(0x1b8)]+',\x20'+this[_0x32b81c(0x172)]+')';}}class FieldListBase{['_fields'];constructor(_0x36c04c,_0x51f2af){const _0x588945=a0_0x1a4d8a,_0x336fbd=Array[_0x588945(0x28d)](_0x36c04c)?_0x36c04c:[],_0x597658=_0x51f2af?.['includeDeleted']??![],_0x453068=_0x597658?_0x336fbd:_0x336fbd[_0x588945(0x20e)](_0xd98e9c=>{const _0x4b4b76=_0x588945;if(!_0xd98e9c||typeof _0xd98e9c!==_0x4b4b76(0x32a))return![];const _0x3f75a4=_0xd98e9c;return!_0x3f75a4[_0x4b4b76(0x2f2)];});this[_0x588945(0x2b4)]=this[_0x588945(0x352)](_0x453068);}get['length'](){const _0x4079df=a0_0x1a4d8a;return this['_fields'][_0x4079df(0x1f3)];}[a0_0x1a4d8a(0x206)](){const _0x80979f=a0_0x1a4d8a;return[...this[_0x80979f(0x2b4)]];}['at'](_0x23d64b){const _0x22bcac=a0_0x1a4d8a;return this[_0x22bcac(0x2b4)]['at'](_0x23d64b);}[a0_0x1a4d8a(0x286)](_0x451257){const _0x484d72=a0_0x1a4d8a;return this[_0x484d72(0x2b4)][_0x484d72(0x286)](_0x45467e=>_0x45467e[_0x484d72(0x1b8)]===_0x451257);}[a0_0x1a4d8a(0x35d)](_0x427e91){const _0x1059f1=a0_0x1a4d8a;return this[_0x1059f1(0x2b4)]['find'](_0x26bf53=>_0x26bf53[_0x1059f1(0x1c8)]===_0x427e91);}[a0_0x1a4d8a(0x29e)](_0x41ddc4){const _0x5d90cc=a0_0x1a4d8a;return this[_0x5d90cc(0x2b4)][_0x5d90cc(0x1d8)](_0x5b8ab7=>_0x5b8ab7['code']===_0x41ddc4);}[a0_0x1a4d8a(0x1e6)](_0x23d542){const _0x531829=a0_0x1a4d8a;this[_0x531829(0x2b4)][_0x531829(0x1e6)](_0x23d542);}['map'](_0x475e5f){const _0x2047cd=a0_0x1a4d8a;return this['_fields'][_0x2047cd(0x1b9)](_0x475e5f);}['filter'](_0xd25fef){const _0x15f2f3=a0_0x1a4d8a;return this['_fields'][_0x15f2f3(0x20e)](_0xd25fef);}[a0_0x1a4d8a(0x176)](_0x163c9d){const _0x589a16=a0_0x1a4d8a;return this[_0x589a16(0x2b4)]['every'](_0x163c9d);}[a0_0x1a4d8a(0x1d8)](_0x398807){const _0x5bbed1=a0_0x1a4d8a;return this[_0x5bbed1(0x2b4)]['some'](_0x398807);}[a0_0x1a4d8a(0x26f)](){const _0x21b64a=a0_0x1a4d8a;return this[_0x21b64a(0x2b4)][_0x21b64a(0x20e)](_0x29f94b=>_0x29f94b['isRequired']());}[a0_0x1a4d8a(0x1cd)](){const _0x2f883c=a0_0x1a4d8a;return this[_0x2f883c(0x2b4)][_0x2f883c(0x20e)](_0xd48a38=>_0xd48a38['isPrimaryKey']());}['getSystem'](){const _0x3406bf=a0_0x1a4d8a;return this[_0x3406bf(0x2b4)][_0x3406bf(0x20e)](_0x2f32f0=>_0x2f32f0[_0x3406bf(0x101)]());}[a0_0x1a4d8a(0x365)](){const _0xf2fbfd=a0_0x1a4d8a;return this[_0xf2fbfd(0x2b4)][_0xf2fbfd(0x20e)](_0x151d20=>_0x151d20['isBusiness']());}[a0_0x1a4d8a(0x1d7)](){const _0x57f4fe=a0_0x1a4d8a;return this[_0x57f4fe(0x2b4)][_0x57f4fe(0x20e)](_0x50d2dd=>_0x50d2dd[_0x57f4fe(0x107)]());}[a0_0x1a4d8a(0x115)](){const _0x114631=a0_0x1a4d8a;return this[_0x114631(0x2b4)][_0x114631(0x20e)](_0x15c902=>_0x15c902[_0x114631(0x135)]());}[a0_0x1a4d8a(0x275)](){const _0x2f35e5=a0_0x1a4d8a;return this[_0x2f35e5(0x2b4)][_0x2f35e5(0x20e)](_0x5c0282=>_0x5c0282[_0x2f35e5(0xe3)]());}[a0_0x1a4d8a(0xc3)](){const _0x445808=a0_0x1a4d8a;return this[_0x445808(0x2b4)][_0x445808(0x20e)](_0x3c48f0=>_0x3c48f0[_0x445808(0x36b)]());}['getDeleted'](){const _0x4e6a23=a0_0x1a4d8a;return this[_0x4e6a23(0x2b4)][_0x4e6a23(0x20e)](_0x1a2834=>_0x1a2834[_0x4e6a23(0xff)]());}[a0_0x1a4d8a(0x35e)](){const _0x2fe56e=a0_0x1a4d8a;return this[_0x2fe56e(0x2b4)][_0x2fe56e(0x20e)](_0x5c7b9f=>!_0x5c7b9f['isDeleted']());}[a0_0x1a4d8a(0x323)](){const _0x14252a=a0_0x1a4d8a,_0x3dd21e={};return this[_0x14252a(0x2b4)][_0x14252a(0x1e6)](_0x18cdf3=>{const _0x272f7c=_0x14252a,_0x42be63=_0x18cdf3[_0x272f7c(0x172)];!_0x3dd21e[_0x42be63]&&(_0x3dd21e[_0x42be63]=[]),_0x3dd21e[_0x42be63][_0x272f7c(0x117)](_0x18cdf3);}),_0x3dd21e;}[a0_0x1a4d8a(0x131)](){const _0x3b6eca={};return this['_fields']['forEach'](_0x151cfa=>{const _0x1d899d=a0_0x4697;if(_0x151cfa[_0x1d899d(0x107)]()){const _0x12a589=_0x151cfa[_0x1d899d(0x19b)]();_0x12a589&&(_0x3b6eca[_0x151cfa[_0x1d899d(0x1b8)]]=_0x12a589);}}),_0x3b6eca;}['getStats'](){const _0x3ea192=a0_0x1a4d8a;return{'total':this[_0x3ea192(0x1f3)],'required':this[_0x3ea192(0x26f)]()['length'],'primaryKey':this[_0x3ea192(0x1cd)]()[_0x3ea192(0x1f3)],'system':this[_0x3ea192(0x321)]()['length'],'business':this[_0x3ea192(0x365)]()[_0x3ea192(0x1f3)],'enum':this[_0x3ea192(0x1d7)]()['length'],'autoIncrement':this[_0x3ea192(0x115)]()[_0x3ea192(0x1f3)]};}[a0_0x1a4d8a(0xf4)](){const _0x1fe070=a0_0x1a4d8a;return this['_fields'][_0x1fe070(0x1b9)](_0x27b9e8=>_0x27b9e8[_0x1fe070(0x1b8)]);}[a0_0x1a4d8a(0x11a)](){const _0x8c4535=a0_0x1a4d8a;return this[_0x8c4535(0x2b4)][_0x8c4535(0x1b9)](_0x47b316=>_0x47b316['getDisplayName']());}[a0_0x1a4d8a(0x159)](){return this['_fields']['map'](_0xd8cf53=>_0xd8cf53['getFieldName']());}[a0_0x1a4d8a(0x18e)](){const _0x28189a=a0_0x1a4d8a;return this[_0x28189a(0x2b4)][_0x28189a(0x1b9)](_0x4d7bf5=>_0x4d7bf5['toJSON']());}[a0_0x1a4d8a(0x358)](){const _0x3c105c=a0_0x1a4d8a;return _0x3c105c(0x13d)+this['length']+'\x20fields)';}}class FieldListV1 extends FieldListBase{constructor(_0x1036e5,_0x39439e){super(_0x1036e5,_0x39439e);}[a0_0x1a4d8a(0x352)](_0x420ab9){return _0x420ab9['map'](_0x1cf8bf=>new FieldV1(_0x1cf8bf));}[a0_0x1a4d8a(0x206)](){return[...this['_fields']];}['at'](_0x2be77a){return this['_fields']['at'](_0x2be77a);}['find'](_0x328884){const _0x5d8e70=a0_0x1a4d8a;return this[_0x5d8e70(0x2b4)][_0x5d8e70(0x286)](_0x323179=>_0x323179[_0x5d8e70(0x1b8)]===_0x328884);}[a0_0x1a4d8a(0x35d)](_0x50b113){const _0x55dbfa=a0_0x1a4d8a;return this[_0x55dbfa(0x2b4)][_0x55dbfa(0x286)](_0x306f90=>_0x306f90[_0x55dbfa(0x1c8)]===_0x50b113);}[a0_0x1a4d8a(0x20e)](_0x10b75e){const _0x284741=a0_0x1a4d8a;return this[_0x284741(0x2b4)]['filter'](_0x10b75e);}[a0_0x1a4d8a(0x1b9)](_0x29835a){const _0x1db900=a0_0x1a4d8a;return this[_0x1db900(0x2b4)]['map'](_0x29835a);}[a0_0x1a4d8a(0x26f)](){const _0x12be02=a0_0x1a4d8a;return this['_fields'][_0x12be02(0x20e)](_0x302386=>_0x302386[_0x12be02(0x196)]());}['getPrimaryKeys'](){const _0xf2069b=a0_0x1a4d8a;return this['_fields'][_0xf2069b(0x20e)](_0x1ebdb8=>_0x1ebdb8['isPrimaryKey']());}[a0_0x1a4d8a(0x321)](){const _0x4e4701=a0_0x1a4d8a;return this[_0x4e4701(0x2b4)][_0x4e4701(0x20e)](_0xfc6bde=>_0xfc6bde['isSystem']());}[a0_0x1a4d8a(0x365)](){const _0xe3f1b2=a0_0x1a4d8a;return this[_0xe3f1b2(0x2b4)]['filter'](_0x1920f1=>_0x1920f1['isBusiness']());}[a0_0x1a4d8a(0x1d7)](){const _0x1f35c9=a0_0x1a4d8a;return this['_fields'][_0x1f35c9(0x20e)](_0x33e6e2=>_0x33e6e2[_0x1f35c9(0x107)]());}['groupByType'](){const _0x4a9dfb=a0_0x1a4d8a,_0x2a0fb5={};return this[_0x4a9dfb(0x2b4)]['forEach'](_0x306af0=>{const _0x542a25=_0x4a9dfb,_0x2683ae=_0x306af0[_0x542a25(0x172)];!_0x2a0fb5[_0x2683ae]&&(_0x2a0fb5[_0x2683ae]=[]),_0x2a0fb5[_0x2683ae][_0x542a25(0x117)](_0x306af0);}),_0x2a0fb5;}[a0_0x1a4d8a(0x359)](){const _0x37c67f=a0_0x1a4d8a;return this[_0x37c67f(0x2b4)][_0x37c67f(0x1b9)](_0x45b397=>_0x45b397[_0x37c67f(0x359)]);}static[a0_0x1a4d8a(0x1be)](_0x320fba){const _0x4265d8=a0_0x1a4d8a,_0x52d66a=_0x320fba[_0x4265d8(0x1b9)](_0x3ae333=>_0x3ae333[_0x4265d8(0x359)]);return new FieldListV1(_0x52d66a);}static[a0_0x1a4d8a(0x2d3)](_0x2d19d9){const _0x907cf6=a0_0x1a4d8a,_0xfad757={};return _0xfad757[_0x907cf6(0xf9)]=!![],new FieldListV1(_0x2d19d9,_0xfad757);}}class FieldV2 extends FieldBase{[a0_0x1a4d8a(0x1a9)];constructor(_0x208efd){const _0x30c607=a0_0x1a4d8a;super();if(!_0x208efd||typeof _0x208efd!==_0x30c607(0x32a))throw new Error('[FieldV2]\x20Invalid\x20field\x20definition');this[_0x30c607(0x1a9)]=_0x208efd;}[a0_0x1a4d8a(0x361)](){return'v2';}get[a0_0x1a4d8a(0x359)](){const _0x2f73d4=a0_0x1a4d8a;return this[_0x2f73d4(0x1a9)];}get[a0_0x1a4d8a(0x1c8)](){const _0x29d998=a0_0x1a4d8a;return this[_0x29d998(0x1a9)]['name']||'';}get['code'](){const _0x3f05c9=a0_0x1a4d8a;return this['_raw'][_0x3f05c9(0x1c8)]||'';}get['displayName'](){const _0x180cbd=a0_0x1a4d8a;return this[_0x180cbd(0x1a9)]['displayName']||'';}get[a0_0x1a4d8a(0x172)](){const _0x505b6b=a0_0x1a4d8a;if(this[_0x505b6b(0x1a9)][_0x505b6b(0xeb)])return this['_raw']['doType'];return this[_0x505b6b(0x289)](this['_raw']['dbType']);}get[a0_0x1a4d8a(0x231)](){const _0xd4dc7f=a0_0x1a4d8a;return this['_raw'][_0xd4dc7f(0x231)]||'';}get[a0_0x1a4d8a(0x2f2)](){const _0x65694f=a0_0x1a4d8a;return Boolean(this[_0x65694f(0x1a9)]['deleted']);}['isRequired'](){const _0x40b164=a0_0x1a4d8a;return Boolean(this[_0x40b164(0x1a9)][_0x40b164(0xca)]);}['isPrimaryKey'](){const _0x2e89d4=a0_0x1a4d8a;return Boolean(this[_0x2e89d4(0x1a9)][_0x2e89d4(0x173)]);}['isSystem'](){const _0xe52428=a0_0x1a4d8a;return Boolean(this[_0xe52428(0x1a9)][_0xe52428(0xec)]);}[a0_0x1a4d8a(0x135)](){const _0xa0e339=a0_0x1a4d8a;return Boolean(this['_raw'][_0xa0e339(0x308)]);}[a0_0x1a4d8a(0xe3)](){const _0x410a42=a0_0x1a4d8a;return this[_0x410a42(0x1a9)]['systemRetain']===_0x410a42(0x1a4);}[a0_0x1a4d8a(0x36b)](){const _0x2fc14a=a0_0x1a4d8a;return this['_raw']['systemRetain']===_0x2fc14a(0xf3);}[a0_0x1a4d8a(0x1df)](){const _0x2ce5b7=a0_0x1a4d8a;return this[_0x2ce5b7(0x1a9)][_0x2ce5b7(0x273)]||'';}[a0_0x1a4d8a(0x1f7)](){const _0x237158=a0_0x1a4d8a;return this[_0x237158(0x1a9)][_0x237158(0x1c8)]||'';}[a0_0x1a4d8a(0x107)](){const _0x5c1bfd=a0_0x1a4d8a;return Boolean(this['_raw']['options']&&Array[_0x5c1bfd(0x28d)](this[_0x5c1bfd(0x1a9)][_0x5c1bfd(0xda)])&&this[_0x5c1bfd(0x1a9)]['options'][_0x5c1bfd(0x1f3)]>0x0);}['isMultipleSelect'](){const _0xf08228=a0_0x1a4d8a,_0x3233c0=this[_0xf08228(0x1a9)][_0xf08228(0x390)];if(!_0x3233c0)return![];try{const _0x1d4fa1=JSON[_0xf08228(0x1ef)](_0x3233c0);if(_0x1d4fa1&&typeof _0x1d4fa1===_0xf08228(0x32a)&&'multiple'in _0x1d4fa1)return Boolean(_0x1d4fa1['multiple']);}catch{}return![];}[a0_0x1a4d8a(0x30c)](){const _0x4d6d87=a0_0x1a4d8a;if(this['_raw'][_0x4d6d87(0xda)]&&Array[_0x4d6d87(0x28d)](this[_0x4d6d87(0x1a9)][_0x4d6d87(0xda)]))return this[_0x4d6d87(0x1a9)]['options'];return;}[a0_0x1a4d8a(0x1a6)](){const _0x53c39d=a0_0x1a4d8a,_0x39eb4b=this[_0x53c39d(0x1a9)][_0x53c39d(0x390)];if(!_0x39eb4b)return;try{const _0x54117c=JSON[_0x53c39d(0x1ef)](_0x39eb4b);if(_0x54117c&&typeof _0x54117c===_0x53c39d(0x32a)&&_0x53c39d(0x158)in _0x54117c)return _0x54117c[_0x53c39d(0x158)];}catch{}return;}[a0_0x1a4d8a(0x1e4)](){const _0x49a13b=a0_0x1a4d8a;if(!this[_0x49a13b(0x1a9)]['dbType'])return'';return this[_0x49a13b(0x1a9)][_0x49a13b(0x363)][_0x49a13b(0x301)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x49a13b(0x367)]()['toUpperCase']();}[a0_0x1a4d8a(0x204)](){return;}[a0_0x1a4d8a(0x2a6)](){return;}get['dbType'](){const _0x3624bf=a0_0x1a4d8a;return this[_0x3624bf(0x1a9)][_0x3624bf(0x363)]??undefined;}get['dbTypeLen'](){const _0x2be8ee=a0_0x1a4d8a;return this[_0x2be8ee(0x1a9)][_0x2be8ee(0x330)];}[a0_0x1a4d8a(0x1ca)](){const _0x5d5cc6=a0_0x1a4d8a;return this['_raw'][_0x5d5cc6(0xeb)]??null;}get[a0_0x1a4d8a(0xeb)](){const _0xde4798=a0_0x1a4d8a;return this[_0xde4798(0x1a9)]['doType']??null;}[a0_0x1a4d8a(0x18e)](){const _0x1e51e0=a0_0x1a4d8a;return{'name':this[_0x1e51e0(0x1c8)],'code':this[_0x1e51e0(0x1b8)],'type':this[_0x1e51e0(0x172)],'dbType':this['dbType'],'dbTypeLen':this['dbTypeLen'],'doType':this['getDOType'](),'displayName':this[_0x1e51e0(0x273)],'description':this[_0x1e51e0(0x231)],'required':this[_0x1e51e0(0x196)](),'primaryKey':this[_0x1e51e0(0x1fc)](),'system':this[_0x1e51e0(0x101)](),'autoIncrement':this[_0x1e51e0(0x135)](),'createTime':this[_0x1e51e0(0xe3)](),'updateTime':this[_0x1e51e0(0x36b)](),'isEnum':this[_0x1e51e0(0x107)](),'enumMeta':this[_0x1e51e0(0x107)]()?this['getEnumMeta']():undefined};}[a0_0x1a4d8a(0x358)](){const _0xa04010=a0_0x1a4d8a;return _0xa04010(0xf0)+this[_0xa04010(0x1c8)]+',\x20'+this['code']+',\x20'+this['dbType']+',\x20doType='+this[_0xa04010(0x1ca)]()+')';}[a0_0x1a4d8a(0x289)](_0x3cd1e4){const _0x5a8733=a0_0x1a4d8a;if(!_0x3cd1e4)return'TEXT';const _0x3b7687={};_0x3b7687[_0x5a8733(0x190)]=_0x5a8733(0x14c),_0x3b7687[_0x5a8733(0x1ba)]=_0x5a8733(0x14c),_0x3b7687['TEXT']=_0x5a8733(0xd7),_0x3b7687[_0x5a8733(0x11b)]=_0x5a8733(0xd7),_0x3b7687[_0x5a8733(0x26c)]=_0x5a8733(0x2f1),_0x3b7687[_0x5a8733(0x334)]=_0x5a8733(0x2f1),_0x3b7687[_0x5a8733(0x1e9)]=_0x5a8733(0x2f1),_0x3b7687[_0x5a8733(0x146)]=_0x5a8733(0x2f1),_0x3b7687[_0x5a8733(0x2eb)]=_0x5a8733(0x2f1),_0x3b7687[_0x5a8733(0x285)]=_0x5a8733(0x2f1),_0x3b7687[_0x5a8733(0x141)]=_0x5a8733(0x2f1),_0x3b7687['DATETIME']=_0x5a8733(0x170),_0x3b7687[_0x5a8733(0x318)]=_0x5a8733(0x170),_0x3b7687['DATE']=_0x5a8733(0x170),_0x3b7687[_0x5a8733(0x31c)]=_0x5a8733(0x31c),_0x3b7687[_0x5a8733(0x10c)]=_0x5a8733(0x178),_0x3b7687[_0x5a8733(0x328)]='SWITCH',_0x3b7687[_0x5a8733(0x27a)]=_0x5a8733(0x2f0),_0x3b7687[_0x5a8733(0x312)]=_0x5a8733(0x2f0);const _0x121ea3=_0x3b7687,_0x6edba1=_0x3cd1e4[_0x5a8733(0x309)]();return _0x121ea3[_0x6edba1]||'TEXT';}}class FieldListV2 extends FieldListBase{constructor(_0x511dae,_0x6646f6){super(_0x511dae,_0x6646f6);}[a0_0x1a4d8a(0x352)](_0x68d68f){const _0x521e60=a0_0x1a4d8a;return _0x68d68f[_0x521e60(0x1b9)](_0x5f2afe=>new FieldV2(_0x5f2afe));}[a0_0x1a4d8a(0x206)](){return[...this['_fields']];}['at'](_0x4fe2a9){const _0x58317c=a0_0x1a4d8a;return this[_0x58317c(0x2b4)]['at'](_0x4fe2a9);}[a0_0x1a4d8a(0x286)](_0x38eef4){const _0x363972=a0_0x1a4d8a;return this[_0x363972(0x2b4)][_0x363972(0x286)](_0x5c6684=>_0x5c6684[_0x363972(0x1b8)]===_0x38eef4);}[a0_0x1a4d8a(0x35d)](_0x2022df){const _0xbd424d=a0_0x1a4d8a;return this[_0xbd424d(0x2b4)]['find'](_0x3cd2b5=>_0x3cd2b5[_0xbd424d(0x1df)]()===_0x2022df);}[a0_0x1a4d8a(0x20e)](_0x512ba6){const _0x33cee1=a0_0x1a4d8a;return this[_0x33cee1(0x2b4)][_0x33cee1(0x20e)](_0x512ba6);}['map'](_0x1417b9){const _0x49b70c=a0_0x1a4d8a;return this['_fields'][_0x49b70c(0x1b9)](_0x1417b9);}[a0_0x1a4d8a(0x26f)](){const _0x223591=a0_0x1a4d8a;return this[_0x223591(0x2b4)][_0x223591(0x20e)](_0x3ab242=>_0x3ab242[_0x223591(0x196)]());}[a0_0x1a4d8a(0x1cd)](){const _0x2e2da5=a0_0x1a4d8a;return this[_0x2e2da5(0x2b4)][_0x2e2da5(0x20e)](_0x3e47ce=>_0x3e47ce[_0x2e2da5(0x1fc)]());}['getSystem'](){const _0x59fa7b=a0_0x1a4d8a;return this[_0x59fa7b(0x2b4)][_0x59fa7b(0x20e)](_0x2db36c=>_0x2db36c['isSystem']());}[a0_0x1a4d8a(0x365)](){const _0x2fe184=a0_0x1a4d8a;return this[_0x2fe184(0x2b4)][_0x2fe184(0x20e)](_0x1f78b6=>_0x1f78b6[_0x2fe184(0x37b)]());}[a0_0x1a4d8a(0x1d7)](){const _0x58c176=a0_0x1a4d8a;return this['_fields']['filter'](_0x5ab57f=>_0x5ab57f[_0x58c176(0x107)]());}[a0_0x1a4d8a(0x323)](){const _0x3f1e96=a0_0x1a4d8a,_0x3074d2={};return this[_0x3f1e96(0x2b4)][_0x3f1e96(0x1e6)](_0x2893cd=>{const _0x3b5a18=_0x3f1e96,_0x2ce622=_0x2893cd[_0x3b5a18(0x172)];!_0x3074d2[_0x2ce622]&&(_0x3074d2[_0x2ce622]=[]),_0x3074d2[_0x2ce622][_0x3b5a18(0x117)](_0x2893cd);}),_0x3074d2;}[a0_0x1a4d8a(0x359)](){const _0x3f6fca=a0_0x1a4d8a;return this['_fields'][_0x3f6fca(0x1b9)](_0x1eaccb=>_0x1eaccb['raw']);}static[a0_0x1a4d8a(0x1be)](_0x15a5c3){const _0x3fc7e0=a0_0x1a4d8a,_0x59695d=_0x15a5c3[_0x3fc7e0(0x1b9)](_0x36ee53=>_0x36ee53[_0x3fc7e0(0x359)]);return new FieldListV2(_0x59695d);}static[a0_0x1a4d8a(0x2d3)](_0x78519f){const _0x377ccd=a0_0x1a4d8a,_0x56d9e0={};return _0x56d9e0[_0x377ccd(0xf9)]=!![],new FieldListV2(_0x78519f,_0x56d9e0);}[a0_0x1a4d8a(0x358)](){const _0x3e307c=a0_0x1a4d8a;return _0x3e307c(0x102)+this[_0x3e307c(0x1f3)]+_0x3e307c(0x2c4);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x1a4d8a(0x129)];[a0_0x1a4d8a(0x148)];constructor(_0x5d4830){super(_0x5d4830);}[a0_0x1a4d8a(0x35b)](){const _0x12c625=a0_0x1a4d8a;if(!this[_0x12c625(0x129)]){const _0x4270c2={};_0x4270c2[_0x12c625(0xf9)]=![],this['_fieldListV1']=new FieldListV1(this[_0x12c625(0x1a9)][_0x12c625(0x1e8)]||[],_0x4270c2);}return this['_fieldListV1'];}[a0_0x1a4d8a(0x2ec)](){const _0xed62b3=a0_0x1a4d8a;if(!this[_0xed62b3(0x148)]){const _0x4f0e11={};_0x4f0e11['includeDeleted']=!![],this[_0xed62b3(0x148)]=new FieldListV1(this[_0xed62b3(0x1a9)][_0xed62b3(0x1e8)]||[],_0x4f0e11);}return this[_0xed62b3(0x148)];}[a0_0x1a4d8a(0x32d)](){const _0x5d37c8=a0_0x1a4d8a;return(this[_0x5d37c8(0x1a9)][_0x5d37c8(0x1e8)]||[])[_0x5d37c8(0x20e)](_0x2b821a=>!_0x2b821a[_0x5d37c8(0x2f2)]);}['getFieldCount'](){const _0x1925bc=a0_0x1a4d8a;return this[_0x1925bc(0x35b)]()[_0x1925bc(0x1f3)];}['getFieldRaw'](_0x24b4b5){const _0xc20ba6=a0_0x1a4d8a;return this[_0xc20ba6(0x1a9)][_0xc20ba6(0x1e8)]?.['find'](_0x4930fc=>_0x4930fc[_0xc20ba6(0x1b8)]===_0x24b4b5);}[a0_0x1a4d8a(0x361)](){return'v1';}[a0_0x1a4d8a(0x116)](){const _0x138904=a0_0x1a4d8a,_0x2d7a49={};return _0x2d7a49[_0x138904(0x381)]=this['_raw'][_0x138904(0x1e8)]||[],_0x2d7a49[_0x138904(0xf9)]=![],_0x2d7a49;}[a0_0x1a4d8a(0x224)](){const _0x56731b=a0_0x1a4d8a;return this[_0x56731b(0x1a9)][_0x56731b(0x13f)];}['getSource'](){const _0x3789ba=a0_0x1a4d8a;return this[_0x3789ba(0x1a9)]['source'];}[a0_0x1a4d8a(0x2e3)](){const _0x1f199f=a0_0x1a4d8a,_0x5ea06b=this[_0x1f199f(0x15d)](),_0xd81698=_0x5ea06b?.[_0x1f199f(0xd8)],_0x282544={};return _0x282544[_0x1f199f(0x36e)]=_0x5ea06b?.[_0x1f199f(0x36e)],_0x282544[_0x1f199f(0x13c)]=_0x5ea06b?.[_0x1f199f(0x13c)]??_0xd81698?.['dbName'],_0x282544[_0x1f199f(0x363)]=_0xd81698?.[_0x1f199f(0x363)],_0x282544[_0x1f199f(0x281)]=_0xd81698?.[_0x1f199f(0x281)],_0x282544[_0x1f199f(0x163)]=_0x5ea06b?.[_0x1f199f(0x163)],_0x282544[_0x1f199f(0x143)]=_0x5ea06b?.[_0x1f199f(0x143)],_0x282544[_0x1f199f(0x173)]=_0x5ea06b?.[_0x1f199f(0x173)],_0x282544[_0x1f199f(0x1ac)]=_0xd81698?.[_0x1f199f(0x1ac)],_0x282544[_0x1f199f(0x11e)]=_0xd81698?.[_0x1f199f(0x11e)],new DBConfig(_0x282544,_0x5ea06b);}get[a0_0x1a4d8a(0x22c)](){const _0x465073=a0_0x1a4d8a;return this[_0x465073(0x1a9)][_0x465073(0x22c)];}['getFieldInstance'](_0xb7fe45){const _0x2228e8=a0_0x1a4d8a;if(typeof _0xb7fe45!==_0x2228e8(0x195)){!![]&&console[_0x2228e8(0x392)](_0x2228e8(0x248),_0xb7fe45);return;}return this[_0x2228e8(0x35b)]()['find'](_0xb7fe45);}[a0_0x1a4d8a(0x1ae)](_0x28b123){const _0x1146f4=a0_0x1a4d8a;if(!_0x28b123||typeof _0x28b123!==_0x1146f4(0x32a))return![];const _0x154882=this[_0x1146f4(0x293)](_0x28b123[_0x1146f4(0x1b8)]);return _0x154882?_0x154882[_0x1146f4(0x19c)]():![];}['getFilterOperation'](){const _0x57c2b6=a0_0x1a4d8a,_0x4b6463=this['getOperation'](_0x57c2b6(0x20e));return _0x4b6463;}[a0_0x1a4d8a(0x213)](){const _0x597e82=a0_0x1a4d8a;return this[_0x597e82(0x236)](_0x597e82(0x20e));}['toListItem'](){const _0x3bc78a=a0_0x1a4d8a;return new DatasetItem({'id':this['id'],'name':this[_0x3bc78a(0x1c8)],'datasetCode':this[_0x3bc78a(0x1b6)],'dbtableConfig':this[_0x3bc78a(0x15d)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x1a4d8a(0x254)];[a0_0x1a4d8a(0x1de)];['_relations'];constructor(_0x4b34d5){const _0x63b59f=a0_0x1a4d8a;super(_0x4b34d5),this['_datasetMeta']=_0x4b34d5[_0x63b59f(0x1ce)],this[_0x63b59f(0x24e)]=_0x4b34d5[_0x63b59f(0x296)]||[];}['getVersion'](){return'v2';}['getFieldDataSource'](){const _0x1e7733=a0_0x1a4d8a,_0x39244a={};return _0x39244a[_0x1e7733(0x381)]=this[_0x1e7733(0x1a9)][_0x1e7733(0x381)],_0x39244a[_0x1e7733(0xf9)]=![],_0x39244a;}['getOperationsData'](){const _0x425f6e=a0_0x1a4d8a;return this[_0x425f6e(0x1a9)]['operations'];}['getSource'](){const _0x416895=a0_0x1a4d8a;return this[_0x416895(0x1a9)][_0x416895(0x22a)];}[a0_0x1a4d8a(0x2e3)](){const _0x9020b2=a0_0x1a4d8a,_0x2232d9=this['_raw'][_0x9020b2(0x197)],_0x1bf6d0=_0x2232d9?.[_0x9020b2(0xd8)],_0x5ebb2a={};return _0x5ebb2a[_0x9020b2(0x36e)]=_0x2232d9?.[_0x9020b2(0x36e)],_0x5ebb2a['dbName']=_0x2232d9?.[_0x9020b2(0x13c)]??_0x1bf6d0?.[_0x9020b2(0x13c)],_0x5ebb2a['dbType']=_0x1bf6d0?.[_0x9020b2(0x363)],_0x5ebb2a[_0x9020b2(0x281)]=_0x1bf6d0?.[_0x9020b2(0x281)],_0x5ebb2a[_0x9020b2(0x163)]=_0x2232d9?.[_0x9020b2(0x163)],_0x5ebb2a[_0x9020b2(0x143)]=_0x2232d9?.['datasetKey'],_0x5ebb2a[_0x9020b2(0x173)]=_0x2232d9?.[_0x9020b2(0x173)],_0x5ebb2a['tenantCode']=_0x2232d9?.[_0x9020b2(0x1ac)]??_0x1bf6d0?.[_0x9020b2(0x1ac)],_0x5ebb2a['appCode']=_0x2232d9?.[_0x9020b2(0x11e)]??_0x1bf6d0?.[_0x9020b2(0x11e)],new DBConfig(_0x5ebb2a,_0x2232d9);}[a0_0x1a4d8a(0x35b)](){const _0x37b2d3=a0_0x1a4d8a;return this[_0x37b2d3(0x16d)]();}[a0_0x1a4d8a(0x32d)](){const _0x47cc93=a0_0x1a4d8a;return this['_raw'][_0x47cc93(0x381)]||[];}[a0_0x1a4d8a(0x2e4)](){const _0x2a16df=a0_0x1a4d8a;return(this[_0x2a16df(0x1a9)][_0x2a16df(0x381)]||[])[_0x2a16df(0x1f3)];}[a0_0x1a4d8a(0x2df)](_0x466e9e){const _0x129232=a0_0x1a4d8a;return this[_0x129232(0x1a9)]['fields'][_0x129232(0x286)](_0x420527=>_0x420527[_0x129232(0x1c8)]===_0x466e9e);}['getDatasetMeta'](){const _0x2bfe70=a0_0x1a4d8a;return this[_0x2bfe70(0x1de)];}[a0_0x1a4d8a(0x216)](){const _0x56eec4=a0_0x1a4d8a;return this[_0x56eec4(0x24e)];}[a0_0x1a4d8a(0x156)](){const _0x1164dd=a0_0x1a4d8a;return this[_0x1164dd(0x1de)][_0x1164dd(0x305)]||[];}[a0_0x1a4d8a(0x1c7)](_0x2fe071){const _0x368813=a0_0x1a4d8a;return this[_0x368813(0x24e)]['filter'](_0x48da0d=>_0x48da0d['fromField']===_0x2fe071);}[a0_0x1a4d8a(0x1b3)](_0x16d4dc){const _0x31b86c=a0_0x1a4d8a;return this[_0x31b86c(0x24e)][_0x31b86c(0x1d8)](_0x34cb4a=>_0x34cb4a[_0x31b86c(0x113)]===_0x16d4dc);}[a0_0x1a4d8a(0x1b7)](_0xd98c34){const _0x45142a=a0_0x1a4d8a,_0x240b67=this['_relations'][_0x45142a(0x286)](_0x2b234c=>_0x2b234c['fromField']===_0xd98c34);if(!_0x240b67)return;const _0xbbfb53={};return _0xbbfb53[_0x45142a(0x12e)]=_0x240b67[_0x45142a(0x2fb)],_0xbbfb53[_0x45142a(0x1b6)]=_0x240b67[_0x45142a(0x1bc)],_0xbbfb53[_0x45142a(0x272)]=_0x240b67[_0x45142a(0x203)],_0xbbfb53[_0x45142a(0x163)]=_0x240b67['toTableName'],_0xbbfb53[_0x45142a(0x191)]=_0x240b67[_0x45142a(0x191)],_0xbbfb53;}[a0_0x1a4d8a(0xd9)](){const _0xbf2577=a0_0x1a4d8a;return this[_0xbf2577(0x24e)][_0xbf2577(0x1b9)](_0xaef11e=>_0xaef11e[_0xbf2577(0x113)]);}['getFieldListV2'](){const _0x1d8b2c=a0_0x1a4d8a;if(!this[_0x1d8b2c(0x254)]){const _0x357f0a=this[_0x1d8b2c(0x1a9)]['fields']||[];this[_0x1d8b2c(0x254)]=new FieldListV2(_0x357f0a);}return this[_0x1d8b2c(0x254)];}[a0_0x1a4d8a(0x293)](_0x559c54){const _0xf87de8=a0_0x1a4d8a;if(typeof _0x559c54!==_0xf87de8(0x195)){!![]&&console[_0xf87de8(0x392)](_0xf87de8(0x292),_0x559c54);return;}return this[_0xf87de8(0x16d)]()['find'](_0x559c54);}[a0_0x1a4d8a(0x1ae)](_0x32c9e4){const _0x4d105f=a0_0x1a4d8a;if(!_0x32c9e4||typeof _0x32c9e4!==_0x4d105f(0x32a))return![];const _0xafa255=_0x32c9e4['name']||_0x32c9e4['code'],_0x374a70=this['getFieldInstance'](_0xafa255);return _0x374a70?_0x374a70[_0x4d105f(0x19c)]():![];}[a0_0x1a4d8a(0x182)](){const _0xe7beb3=a0_0x1a4d8a;if(!this['_operationList']){const _0x23e104=this[_0xe7beb3(0x1f1)](this[_0xe7beb3(0x224)]()||{});this[_0xe7beb3(0x2e6)]=new OperationList(_0x23e104,{'fields':this[_0xe7beb3(0x16d)]()['all'](),'pkField':this[_0xe7beb3(0x1a9)][_0xe7beb3(0x197)]?.[_0xe7beb3(0x173)],'dbtableConfig':this[_0xe7beb3(0x1a9)]['dbtableConfig']||null});}return this[_0xe7beb3(0x2e6)];}[a0_0x1a4d8a(0xe4)](){const _0x32e3fd=a0_0x1a4d8a,_0x2057f4=this[_0x32e3fd(0x198)](_0x32e3fd(0x20e));return _0x2057f4;}[a0_0x1a4d8a(0x213)](){const _0x37d069=a0_0x1a4d8a;return this[_0x37d069(0x236)](_0x37d069(0x20e));}[a0_0x1a4d8a(0x166)](){const _0x1b51a3=a0_0x1a4d8a;return new DatasetItem({'id':this['id'],'name':this[_0x1b51a3(0x1c8)],'datasetCode':this[_0x1b51a3(0x1b6)],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x1a4d8a(0x358)](){const _0x57ec37=a0_0x1a4d8a,_0x2c317a=this[_0x57ec37(0x24e)][_0x57ec37(0x1f3)],_0x44d1ce=this[_0x57ec37(0x156)]()['length'];return _0x57ec37(0x2c7)+this['name']+',\x20'+this[_0x57ec37(0x1b6)]+',\x20'+this[_0x57ec37(0x2e4)]()+'\x20fields,\x20'+this[_0x57ec37(0x35a)]()+_0x57ec37(0xd5)+_0x2c317a+'\x20relations,\x20'+_0x44d1ce+_0x57ec37(0x20c);}[a0_0x1a4d8a(0x374)](){const _0x13f01c=a0_0x1a4d8a;return this[_0x13f01c(0x1a9)]['fields'];}[a0_0x1a4d8a(0x16e)](_0x1ba222){const _0x8a2c3f=a0_0x1a4d8a;return this[_0x8a2c3f(0x1a9)]['fields'][_0x8a2c3f(0x286)](_0x2fd5ff=>_0x2fd5ff[_0x8a2c3f(0x1c8)]===_0x1ba222);}}function detectDatasetVersion(_0x5c9ef6){const _0x2e061e=a0_0x1a4d8a;if(_0x5c9ef6[_0x2e061e(0x37e)]==='v2'&&_0x2e061e(0x381)in _0x5c9ef6&&Array[_0x2e061e(0x28d)](_0x5c9ef6[_0x2e061e(0x381)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{['_instance'];constructor(_0x1f9208){const _0x2f3109=a0_0x1a4d8a;super(_0x1f9208);const _0x8d3664=detectDatasetVersion(_0x1f9208);this[_0x2f3109(0x384)]=_0x8d3664==='v2'?new DrivenDataDetailV2(_0x1f9208):new DrivenDataDetailV1(_0x1f9208);}get['id'](){const _0x4e87f8=a0_0x1a4d8a;return this[_0x4e87f8(0x384)]['id'];}get[a0_0x1a4d8a(0x1c8)](){const _0x2658d5=a0_0x1a4d8a;return this[_0x2658d5(0x384)][_0x2658d5(0x1c8)];}get[a0_0x1a4d8a(0x1b6)](){const _0x176e5b=a0_0x1a4d8a;return this[_0x176e5b(0x384)][_0x176e5b(0x1b6)];}get['version'](){const _0x4eb049=a0_0x1a4d8a;return this['_instance'][_0x4eb049(0x361)]()==='v2'?_0x4eb049(0x1cc):'1.0';}['getVersion'](){const _0x3a3fab=a0_0x1a4d8a;return this[_0x3a3fab(0x384)][_0x3a3fab(0x361)]();}[a0_0x1a4d8a(0x2e5)](){const _0x5ca70e=a0_0x1a4d8a;return this[_0x5ca70e(0x384)]['id'];}[a0_0x1a4d8a(0x33c)](){const _0xbd13a5=a0_0x1a4d8a;return this[_0xbd13a5(0x384)][_0xbd13a5(0x1b6)];}[a0_0x1a4d8a(0x239)](){const _0x25ae75=a0_0x1a4d8a;return this[_0x25ae75(0x384)][_0x25ae75(0x1c8)];}['getFieldDataSource'](){const _0x1c94e3=a0_0x1a4d8a;return this[_0x1c94e3(0x384)][_0x1c94e3(0x116)]();}['getOperationsData'](){const _0x12c708=a0_0x1a4d8a;return this[_0x12c708(0x384)][_0x12c708(0x224)]();}[a0_0x1a4d8a(0x25c)](){const _0x354a85=a0_0x1a4d8a;return this[_0x354a85(0x384)]['getSource']();}[a0_0x1a4d8a(0x2ec)](){const _0x226be4=a0_0x1a4d8a;return this[_0x226be4(0x384)][_0x226be4(0x2ec)]();}[a0_0x1a4d8a(0x35b)](){const _0xe6727f=a0_0x1a4d8a;return this[_0xe6727f(0x384)][_0xe6727f(0x35b)]();}['getFieldsWithDeleted'](){const _0x151a21=a0_0x1a4d8a;return this['_instance'][_0x151a21(0x291)]();}[a0_0x1a4d8a(0x32d)](){const _0x126a67=a0_0x1a4d8a;return this[_0x126a67(0x384)][_0x126a67(0x32d)]();}['getFieldCount'](){const _0x4c1672=a0_0x1a4d8a;return this[_0x4c1672(0x384)][_0x4c1672(0x2e4)]();}[a0_0x1a4d8a(0x23b)](){const _0x182119=a0_0x1a4d8a,_0x27ffcf=this[_0x182119(0x384)][_0x182119(0x15d)]();return _0x27ffcf?.[_0x182119(0x173)];}[a0_0x1a4d8a(0x2e3)](){const _0x24c3a4=a0_0x1a4d8a;return this[_0x24c3a4(0x384)]['getDBConfig']();}[a0_0x1a4d8a(0x293)](_0xd86953){const _0x5f27e0=a0_0x1a4d8a;return this[_0x5f27e0(0x384)][_0x5f27e0(0x293)](_0xd86953);}[a0_0x1a4d8a(0x253)](){return this['_instance']['getPrimaryKeyFields']();}[a0_0x1a4d8a(0x219)](){const _0x55b366=a0_0x1a4d8a;return this['_instance'][_0x55b366(0x219)]();}[a0_0x1a4d8a(0x1f4)](){const _0x211182=a0_0x1a4d8a;return this[_0x211182(0x384)]['getBusinessFields']();}[a0_0x1a4d8a(0x18c)](){const _0x10c891=a0_0x1a4d8a;return this[_0x10c891(0x384)][_0x10c891(0x18c)]();}[a0_0x1a4d8a(0x155)](){const _0x1e1cf0=a0_0x1a4d8a;return this[_0x1e1cf0(0x384)][_0x1e1cf0(0x155)]();}[a0_0x1a4d8a(0x1bb)](){const _0x18a220=a0_0x1a4d8a;return this[_0x18a220(0x384)]['getEnumFields']();}[a0_0x1a4d8a(0xfa)](){const _0x5026bd=a0_0x1a4d8a;return this[_0x5026bd(0x384)]['getEnumFieldsMeta']();}[a0_0x1a4d8a(0xd0)](){const _0xf03fd9=a0_0x1a4d8a;return this[_0xf03fd9(0x384)][_0xf03fd9(0xd0)]();}[a0_0x1a4d8a(0x35a)](){const _0x533412=a0_0x1a4d8a;return this[_0x533412(0x384)][_0x533412(0x35a)]();}[a0_0x1a4d8a(0x2f8)](){const _0x38bf96=a0_0x1a4d8a;return this[_0x38bf96(0x384)][_0x38bf96(0x2f8)]();}[a0_0x1a4d8a(0x346)](){return this['_instance']['getDisabledOperations']();}[a0_0x1a4d8a(0x366)](){const _0x717bb0=a0_0x1a4d8a;return this[_0x717bb0(0x384)][_0x717bb0(0x366)]();}[a0_0x1a4d8a(0x306)](){const _0x44ed4f=a0_0x1a4d8a;return this[_0x44ed4f(0x384)][_0x44ed4f(0x306)]();}['getStats'](){const _0x2bd217=a0_0x1a4d8a;return this[_0x2bd217(0x384)][_0x2bd217(0x2dd)]();}[a0_0x1a4d8a(0x2a7)](){const _0x23cd13=a0_0x1a4d8a;return this[_0x23cd13(0x384)][_0x23cd13(0x2a7)]();}['getRelations'](){const _0x3428b6=a0_0x1a4d8a;return this[_0x3428b6(0x384)][_0x3428b6(0x216)]();}[a0_0x1a4d8a(0x156)](){const _0x147eeb=a0_0x1a4d8a;return this[_0x147eeb(0x384)]['getIndexes']();}['getFilterOperators'](){const _0x371996=a0_0x1a4d8a;return this[_0x371996(0x384)][_0x371996(0x221)]();}['getFieldsFilterOperatorsMap'](){const _0x3e1273=a0_0x1a4d8a;return this[_0x3e1273(0x384)][_0x3e1273(0x217)]();}[a0_0x1a4d8a(0x18e)](){const _0x4e286b=a0_0x1a4d8a;return this[_0x4e286b(0x384)][_0x4e286b(0x18e)]();}[a0_0x1a4d8a(0xe4)](){const _0x3d5899=a0_0x1a4d8a;return this['_instance'][_0x3d5899(0xe4)]();}[a0_0x1a4d8a(0x213)](){const _0x1d9a73=a0_0x1a4d8a;return this[_0x1d9a73(0x384)][_0x1d9a73(0x213)]();}[a0_0x1a4d8a(0x166)](){const _0x5b133e=a0_0x1a4d8a;return this[_0x5b133e(0x384)][_0x5b133e(0x166)]();}[a0_0x1a4d8a(0x358)](){const _0x3b655d=a0_0x1a4d8a;return this[_0x3b655d(0x384)][_0x3b655d(0x358)]();}[a0_0x1a4d8a(0x1c4)](){const _0x2b7dd9=a0_0x1a4d8a;return this[_0x2b7dd9(0x384)];}}function detectDatasetVersion2(_0x2fbe0f){const _0x3f53f5=a0_0x1a4d8a;if(_0x2fbe0f['doVersion']==='v2'&&_0x3f53f5(0x381)in _0x2fbe0f&&Array[_0x3f53f5(0x28d)](_0x2fbe0f['fields']))return'v2';return'v1';}function createDrivenDataDetail(_0x488a72,_0x28e2a2={}){const {forceVersion:_0x249149}=_0x28e2a2;if(_0x249149==='v2')return new DrivenDataDetailV2(_0x488a72);if(_0x249149==='v1')return new DrivenDataDetailV1(_0x488a72);const _0x200d18=detectDatasetVersion2(_0x488a72);if(_0x200d18==='v2')return new DrivenDataDetailV2(_0x488a72);return new DrivenDataDetailV1(_0x488a72);}function isV2Data(_0x46281f){return detectDatasetVersion2(_0x46281f)==='v2';}function isV1Data(_0x56f852){return detectDatasetVersion2(_0x56f852)==='v1';}function isV2Instance(_0x4873e3){const _0x4e03b8=a0_0x1a4d8a;return _0x4873e3[_0x4e03b8(0x361)]()==='v2';}function isV1Instance(_0x489889){const _0x316a0f=a0_0x1a4d8a;return _0x489889[_0x316a0f(0x361)]()==='v1';}class DatasetGroup{['items'];constructor(_0x24ad5d){const _0x271f29=a0_0x1a4d8a;this[_0x271f29(0x10f)]=Array[_0x271f29(0x28d)](_0x24ad5d)?[..._0x24ad5d]:[_0x24ad5d],this[_0x271f29(0x10f)][_0x271f29(0x1bf)]((_0x531573,_0x15cece)=>{const _0x15b55b=Number(_0x531573['id'])||0x0,_0x4e012a=Number(_0x15cece['id'])||0x0;return _0x4e012a-_0x15b55b;});}['hasConflict'](){const _0x25fea2=a0_0x1a4d8a;return this[_0x25fea2(0x10f)][_0x25fea2(0x1f3)]>0x1;}['getLatest'](){const _0xe24b5f=a0_0x1a4d8a;return this[_0xe24b5f(0x10f)][0x0];}[a0_0x1a4d8a(0x25a)](){const _0x212b24=a0_0x1a4d8a;return this[_0x212b24(0x10f)][this[_0x212b24(0x10f)][_0x212b24(0x1f3)]-0x1];}[a0_0x1a4d8a(0x2cc)](){const _0x2912f8=a0_0x1a4d8a;return[...this[_0x2912f8(0x10f)]];}[a0_0x1a4d8a(0x1e2)](){const _0x16ee4a=a0_0x1a4d8a;return this[_0x16ee4a(0x10f)][_0x16ee4a(0x1f3)];}[a0_0x1a4d8a(0x1ed)](_0x2e9949){return this['items'][_0x2e9949];}[a0_0x1a4d8a(0x2ff)](_0x304aad){return this['items']['find'](_0x497d41=>_0x497d41['id']===_0x304aad);}['findByCode'](_0x2181e2){const _0x52cf99=a0_0x1a4d8a;return this[_0x52cf99(0x10f)][_0x52cf99(0x286)](_0x8e5909=>_0x8e5909['datasetCode']===_0x2181e2);}['getIds'](){const _0x2e423c=a0_0x1a4d8a;return this[_0x2e423c(0x10f)][_0x2e423c(0x1b9)](_0x233b51=>_0x233b51['id'])[_0x2e423c(0x20e)](_0x7b6205=>_0x7b6205!==undefined);}['getCodes'](){const _0x183664=a0_0x1a4d8a;return this[_0x183664(0x10f)][_0x183664(0x1b9)](_0x2fdd77=>_0x2fdd77[_0x183664(0x1b6)]);}['toString'](){const _0x41f61e=a0_0x1a4d8a;if(this[_0x41f61e(0x31f)]())return _0x41f61e(0x339)+this[_0x41f61e(0x10f)][_0x41f61e(0x1f3)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x41f61e(0x1c9)]()[_0x41f61e(0x1c8)]+')';return _0x41f61e(0x339)+this[_0x41f61e(0x10f)][0x0][_0x41f61e(0x1c8)]+')';}}class DatasetGroupMap{[a0_0x1a4d8a(0x331)];constructor(_0x34d38c){const _0x259513=a0_0x1a4d8a;this[_0x259513(0x331)]=new Map();for(const _0x45cba of _0x34d38c){const _0x5d11d8=getTableKey(_0x45cba);if(!this['groups'][_0x259513(0x29e)](_0x5d11d8))this[_0x259513(0x331)][_0x259513(0x2f4)](_0x5d11d8,new DatasetGroup(_0x45cba));else{const _0x34cb56=this[_0x259513(0x331)]['get'](_0x5d11d8),_0x5e2e16=[..._0x34cb56[_0x259513(0x2cc)](),_0x45cba];this[_0x259513(0x331)][_0x259513(0x2f4)](_0x5d11d8,new DatasetGroup(_0x5e2e16));}}}['get'](_0x4fe237){const _0x2cf7bc=a0_0x1a4d8a;return this[_0x2cf7bc(0x331)][_0x2cf7bc(0x262)](_0x4fe237);}[a0_0x1a4d8a(0x29e)](_0x3dc3db){const _0x417bca=a0_0x1a4d8a;return this[_0x417bca(0x331)][_0x417bca(0x29e)](_0x3dc3db);}get['size'](){const _0x47bdaa=a0_0x1a4d8a;return this[_0x47bdaa(0x331)][_0x47bdaa(0x242)];}[a0_0x1a4d8a(0x1e7)](){const _0x3be482=a0_0x1a4d8a;return this[_0x3be482(0x331)][_0x3be482(0x1e7)]();}[a0_0x1a4d8a(0x27e)](){const _0x13206b=a0_0x1a4d8a;return this[_0x13206b(0x331)][_0x13206b(0x27e)]();}[a0_0x1a4d8a(0x140)](){const _0x19d763=a0_0x1a4d8a;return this[_0x19d763(0x331)][_0x19d763(0x140)]();}[Symbol['iterator']](){const _0x106fc9=a0_0x1a4d8a;return this[_0x106fc9(0x331)][_0x106fc9(0x140)]();}[a0_0x1a4d8a(0x1e6)](_0x35ff2d){const _0x4c50d7=a0_0x1a4d8a;this[_0x4c50d7(0x331)][_0x4c50d7(0x1e6)]((_0x3901a4,_0x633547)=>_0x35ff2d(_0x3901a4,_0x633547,this));}['getConflicts'](){const _0x3c4764=a0_0x1a4d8a,_0x394fd5=new Map();for(const [_0x336504,_0x1d6341]of this[_0x3c4764(0x331)]){_0x1d6341[_0x3c4764(0x31f)]()&&_0x394fd5[_0x3c4764(0x2f4)](_0x336504,_0x1d6341);}return _0x394fd5;}[a0_0x1a4d8a(0x294)](){const _0x8fa97c=a0_0x1a4d8a;for(const _0xccb0e4 of this['groups'][_0x8fa97c(0x27e)]()){if(_0xccb0e4[_0x8fa97c(0x31f)]())return!![];}return![];}[a0_0x1a4d8a(0x18f)](){const _0x4a74f8=a0_0x1a4d8a;let _0x5abaea=0x0,_0x191320=0x0;for(const _0x11eaf5 of this[_0x4a74f8(0x331)][_0x4a74f8(0x27e)]()){_0x11eaf5[_0x4a74f8(0x31f)]()&&(_0x5abaea++,_0x191320+=_0x11eaf5[_0x4a74f8(0x1e2)]());}const _0x577914={};return _0x577914['conflictGroupCount']=_0x5abaea,_0x577914[_0x4a74f8(0x134)]=_0x191320,_0x577914[_0x4a74f8(0x171)]=this[_0x4a74f8(0x331)][_0x4a74f8(0x242)],_0x577914;}[a0_0x1a4d8a(0x29a)](){const _0x1d05ff=a0_0x1a4d8a,_0x34e303=[];for(const _0x3afee0 of this[_0x1d05ff(0x331)][_0x1d05ff(0x27e)]()){_0x34e303[_0x1d05ff(0x117)](..._0x3afee0['getAll']());}return _0x34e303;}[a0_0x1a4d8a(0x177)](){const _0x1e4187=a0_0x1a4d8a,_0x1cf11c=[];for(const _0xc8c1bd of this[_0x1e4187(0x331)][_0x1e4187(0x27e)]()){_0x1cf11c[_0x1e4187(0x117)](_0xc8c1bd[_0x1e4187(0x1c9)]());}return _0x1cf11c;}[a0_0x1a4d8a(0x1c9)](_0x30c2f8){const _0x5d60d5=a0_0x1a4d8a;return this[_0x5d60d5(0x331)][_0x5d60d5(0x262)](_0x30c2f8)?.[_0x5d60d5(0x1c9)]();}[a0_0x1a4d8a(0x2cc)](_0x16c38c){const _0x33b576=a0_0x1a4d8a;return this['groups']['get'](_0x16c38c)?.[_0x33b576(0x2cc)]()||[];}[a0_0x1a4d8a(0x223)](){const _0x1de278=a0_0x1a4d8a,_0xc261c6=this[_0x1de278(0x177)](),_0xa1a1e5=_0xc261c6[_0x1de278(0x1b9)](_0x39a227=>_0x39a227[_0x1de278(0x18e)]()),_0x2c746b={};return _0x2c746b[_0x1de278(0x1b1)]=![],generateDatasetsConfig(_0xa1a1e5,_0x2c746b);}[a0_0x1a4d8a(0x34d)](){const _0x17426a=a0_0x1a4d8a,_0x5e14c6=this[_0x17426a(0x29a)](),_0x519a3a=_0x5e14c6[_0x17426a(0x1b9)](_0x5a42dd=>_0x5a42dd[_0x17426a(0x18e)]());return generateFullDatasetsConfig(_0x519a3a);}[a0_0x1a4d8a(0x22f)](){const _0x4d49e4=a0_0x1a4d8a,_0x4f52ee={};for(const [_0x48061e,_0x309cfa]of this[_0x4d49e4(0x331)]){_0x4f52ee[_0x48061e]=_0x309cfa;}return _0x4f52ee;}[a0_0x1a4d8a(0x18e)](){const _0x344652=a0_0x1a4d8a,_0x257f51={};for(const [_0x4ceb7c,_0x4bdda5]of this[_0x344652(0x331)]){_0x257f51[_0x4ceb7c]=_0x4bdda5[_0x344652(0x2cc)]()['map'](_0xc4b940=>_0xc4b940[_0x344652(0x18e)]());}return _0x257f51;}[a0_0x1a4d8a(0x358)](){const _0x45df44=a0_0x1a4d8a;return'DatasetGroupMap('+this[_0x45df44(0x331)][_0x45df44(0x242)]+_0x45df44(0xd4)+(this[_0x45df44(0x294)]()?_0x45df44(0x280):_0x45df44(0x277))+')';}}class DatasetList{[a0_0x1a4d8a(0x2c6)];constructor(_0x3c90d7){const _0x544c5f=a0_0x1a4d8a;let _0x1d0ff1;if(Array[_0x544c5f(0x28d)](_0x3c90d7))_0x1d0ff1=_0x3c90d7;else{if(_0x544c5f(0xf2)in _0x3c90d7){if(!_0x3c90d7[_0x544c5f(0xf2)])throw new Error('Invalid\x20API\x20response:\x20success\x20is\x20false');if(Array[_0x544c5f(0x28d)](_0x3c90d7[_0x544c5f(0x2c0)]))_0x1d0ff1=_0x3c90d7[_0x544c5f(0x2c0)][_0x544c5f(0x1b9)](_0x20b277=>({..._0x20b277,'datasetCode':_0x20b277[_0x544c5f(0x1b8)]||_0x20b277[_0x544c5f(0x1b6)]}));else{if(_0x3c90d7[_0x544c5f(0x2c0)]?.[_0x544c5f(0x372)])_0x1d0ff1=_0x3c90d7[_0x544c5f(0x2c0)][_0x544c5f(0x372)][_0x544c5f(0x1b9)](_0x23b291=>({..._0x23b291,'datasetCode':_0x23b291[_0x544c5f(0x1b8)]||_0x23b291[_0x544c5f(0x1b6)]}));else throw new Error(_0x544c5f(0x2c9));}}else{if(_0x544c5f(0x372)in _0x3c90d7){if(!Array['isArray'](_0x3c90d7[_0x544c5f(0x372)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0x1d0ff1=_0x3c90d7['tableData'][_0x544c5f(0x1b9)](_0x2090e2=>({..._0x2090e2,'datasetCode':_0x2090e2['code']||_0x2090e2['datasetCode']}));}else throw new Error(_0x544c5f(0x311));}}const _0x16c606=cleanDatasetNames(_0x1d0ff1),_0x16cdec=_0x16c606[_0x544c5f(0x1b9)](_0xc4c3=>new DatasetItem(_0xc4c3));this['_datasetMap']=new DatasetGroupMap(_0x16cdec);}get[a0_0x1a4d8a(0x2ef)](){const _0x2cbd87=a0_0x1a4d8a;return this[_0x2cbd87(0x2c6)];}[a0_0x1a4d8a(0xc5)](){const _0x581a96=a0_0x1a4d8a;return this[_0x581a96(0x2c6)][_0x581a96(0x29a)]();}[a0_0x1a4d8a(0x1e2)](){const _0x3de3f5=a0_0x1a4d8a;return this[_0x3de3f5(0xc5)]()[_0x3de3f5(0x1f3)];}[a0_0x1a4d8a(0x2c2)](){const _0x426736=a0_0x1a4d8a;return this['_datasetMap'][_0x426736(0x242)]===0x0;}[a0_0x1a4d8a(0x1ed)](_0x7e651e){const _0x155bdb=a0_0x1a4d8a;return this[_0x155bdb(0xc5)]()[_0x7e651e];}[a0_0x1a4d8a(0x315)](){const _0x40ccba=a0_0x1a4d8a;return this[_0x40ccba(0xc5)]()[0x0];}[a0_0x1a4d8a(0x1f2)](){const _0x52c699=a0_0x1a4d8a,_0x1f946e=this[_0x52c699(0xc5)]();return _0x1f946e[_0x1f946e[_0x52c699(0x1f3)]-0x1];}[a0_0x1a4d8a(0x2ea)](_0x44a85c){const _0x8f31bd=a0_0x1a4d8a;for(const _0x2fc5f2 of this['_datasetMap']['values']()){const _0x2817a4=_0x2fc5f2[_0x8f31bd(0x2ea)](_0x44a85c);if(_0x2817a4)return _0x2817a4;}return;}[a0_0x1a4d8a(0x35d)](_0x3f3daf){const _0x5542bb=a0_0x1a4d8a;return this[_0x5542bb(0xc5)]()[_0x5542bb(0x286)](_0x2a9069=>_0x2a9069[_0x5542bb(0x1c8)]===_0x3f3daf);}['findById'](_0x441828){const _0x1297a9=a0_0x1a4d8a;for(const _0x51f510 of this['_datasetMap'][_0x1297a9(0x27e)]()){const _0x1b416e=_0x51f510[_0x1297a9(0x2ff)](_0x441828);if(_0x1b416e)return _0x1b416e;}return;}['findByTableName'](_0xea389){const _0x47c5b5=a0_0x1a4d8a,_0x1da9fe=getTableKey(_0xea389);return this[_0x47c5b5(0x2c6)][_0x47c5b5(0x1c9)](_0x1da9fe);}[a0_0x1a4d8a(0x20e)](_0x53eefa){const _0x52981c=a0_0x1a4d8a,_0x92e722=this[_0x52981c(0xc5)]()['filter'](_0x53eefa);return new DatasetList(_0x92e722[_0x52981c(0x1b9)](_0x120132=>_0x120132['toJSON']()));}[a0_0x1a4d8a(0x371)](_0x56de76){const _0x1466c6=a0_0x1a4d8a;return this[_0x1466c6(0xc5)]()[_0x1466c6(0x20e)](_0x56de76);}['forEach'](_0x2c8ead){const _0x56473f=a0_0x1a4d8a;this['getItems']()[_0x56473f(0x1e6)](_0x2c8ead);}[a0_0x1a4d8a(0x1b9)](_0x325b5c){const _0x2d1988=a0_0x1a4d8a;return this[_0x2d1988(0xc5)]()[_0x2d1988(0x1b9)](_0x325b5c);}[Symbol[a0_0x1a4d8a(0x228)]](){const _0x6c4cba=a0_0x1a4d8a;return this[_0x6c4cba(0xc5)]()[Symbol[_0x6c4cba(0x228)]]();}[a0_0x1a4d8a(0x2e0)](){const _0x361e98=a0_0x1a4d8a;return this[_0x361e98(0xc5)]()['filter'](_0x49407f=>_0x49407f[_0x361e98(0x2fa)]());}[a0_0x1a4d8a(0x324)](){const _0x382b4b=a0_0x1a4d8a;return this[_0x382b4b(0xc5)]()[_0x382b4b(0x20e)](_0x5c37a4=>!_0x5c37a4[_0x382b4b(0x2fa)]());}[a0_0x1a4d8a(0xc0)](){const _0x292e6c=a0_0x1a4d8a,_0x20e9c5={};for(const _0x16c0c2 of this['_datasetMap'][_0x292e6c(0x27e)]()){const _0x4fe88b=_0x16c0c2[_0x292e6c(0x1c9)]()[_0x292e6c(0x14a)]();_0x20e9c5[_0x4fe88b]=_0x16c0c2[_0x292e6c(0x2cc)]();}return _0x20e9c5;}['detectConflicts'](){const _0x5f9add=a0_0x1a4d8a,_0x4dbab3={};for(const _0x31e462 of this[_0x5f9add(0x2c6)][_0x5f9add(0x247)]()['values']()){const _0x573fc8=_0x31e462[_0x5f9add(0x1c9)]()[_0x5f9add(0x14a)]();_0x4dbab3[_0x573fc8]=_0x31e462[_0x5f9add(0x2cc)]()[_0x5f9add(0x1b9)](_0x4ffe7c=>_0x4ffe7c['toJSON']());}return{'hasConflicts':Object[_0x5f9add(0x1e7)](_0x4dbab3)['length']>0x0,'conflicts':_0x4dbab3};}[a0_0x1a4d8a(0x294)](){const _0x2e6b0e=a0_0x1a4d8a;return this[_0x2e6b0e(0x2c6)]['hasConflicts']();}[a0_0x1a4d8a(0x2f5)](){const _0x15e403=a0_0x1a4d8a,_0x504b03=[];for(const _0x15d66c of this['_datasetMap'][_0x15e403(0x247)]()[_0x15e403(0x27e)]()){_0x504b03[_0x15e403(0x117)](..._0x15d66c[_0x15e403(0x2cc)]());}return _0x504b03;}['generateConfig'](_0x524091){const _0x3c6419=a0_0x1a4d8a;if(!_0x524091||Object[_0x3c6419(0x1e7)](_0x524091)[_0x3c6419(0x1f3)]===0x0)return this[_0x3c6419(0x2ef)][_0x3c6419(0x223)]();const _0x5e0f03=this[_0x3c6419(0xc5)]()['map'](_0x395ba8=>_0x395ba8[_0x3c6419(0x18e)]());return generateDatasetsConfig(_0x5e0f03,_0x524091);}[a0_0x1a4d8a(0x151)](_0x57094d){const _0x5da5da=this['generateConfig'](_0x57094d);return datasetsConfigToArray(_0x5da5da);}[a0_0x1a4d8a(0x27c)](){const _0x1db69a=a0_0x1a4d8a;return this['getItems']()[_0x1db69a(0x1b9)](_0x12b060=>_0x12b060[_0x1db69a(0x223)]());}[a0_0x1a4d8a(0x2dd)](){const _0x1e2514=a0_0x1a4d8a;return{'total':this['getCount'](),'virtualTables':this[_0x1e2514(0x2e0)]()[_0x1e2514(0x1f3)],'realTables':this[_0x1e2514(0x324)]()['length'],'hasConflicts':this[_0x1e2514(0x294)](),'conflictCount':this[_0x1e2514(0x2f5)]()['length']};}['toArray'](){const _0xfa80fb=a0_0x1a4d8a;return this[_0xfa80fb(0xc5)]()['map'](_0x51ee29=>_0x51ee29['toJSON']());}['toJSON'](){const _0x28be80=a0_0x1a4d8a;return this[_0x28be80(0x186)]();}[a0_0x1a4d8a(0x358)](){const _0x24a6ac=a0_0x1a4d8a;return _0x24a6ac(0x379)+this[_0x24a6ac(0x1e2)]()+_0x24a6ac(0x38c)+this[_0x24a6ac(0x2c6)][_0x24a6ac(0x242)]+_0x24a6ac(0x376);}static[a0_0x1a4d8a(0x17b)](_0x4fb4bf){return new DatasetList(_0x4fb4bf);}static[a0_0x1a4d8a(0x145)](_0x359917){return new DatasetList(_0x359917);}static[a0_0x1a4d8a(0x332)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x1a4d8a(0x13b);function renderTemplate(_0x227d18,_0x1c702f,_0x44ab59={}){const _0x96752c=a0_0x1a4d8a;let _0x5f428e=_0x227d18;return Object[_0x96752c(0x140)](_0x44ab59)[_0x96752c(0x1e6)](([_0x18d7a7,_0x3204ea])=>{const _0x5c4e1a=_0x96752c,_0x4ae863=new RegExp(_0x5c4e1a(0x2f9)+_0x18d7a7+_0x5c4e1a(0x17f),'g');_0x5f428e=_0x5f428e[_0x5c4e1a(0x301)](_0x4ae863,_0x3204ea?'$1':'');}),Object['entries'](_0x1c702f)[_0x96752c(0x1e6)](([_0x304511,_0x7eb9eb])=>{const _0x2283a7=_0x96752c;if(_0x7eb9eb!==undefined){const _0x378e04=new RegExp('\x5c{\x5c{'+_0x304511+'\x5c}\x5c}','g');_0x5f428e=_0x5f428e[_0x2283a7(0x301)](_0x378e04,_0x7eb9eb);}}),_0x5f428e;}function generateSDKInitCode(_0x1e0f74,_0x1a96f7,_0x17bd57,_0x6e675b,_0x3efd20){const _0x4455c7=a0_0x1a4d8a,_0xd75170={};_0xd75170[_0x4455c7(0x11e)]=_0x1e0f74,_0xd75170['datasetCode']=_0x1a96f7,_0xd75170[_0x4455c7(0x20f)]=_0x17bd57,_0xd75170[_0x4455c7(0x1e3)]=_0x6e675b===_0x4455c7(0xf1)?_0x4455c7(0xf1):undefined;const _0x3728aa={};return _0x3728aa['env']=_0x6e675b!==undefined&&_0x6e675b!==_0x4455c7(0x364),_0x3728aa[_0x4455c7(0x1b4)]=_0x3efd20===!![],renderTemplate(SDK_INIT_TEMPLATE,_0xd75170,_0x3728aa);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x1a4d8a(0x347);function generateAliasExplanation(_0xcad98c,_0x5c1616,_0x298332,_0x4b3fb8){const _0x20ca6c=a0_0x1a4d8a,_0x37aeb8=_0x20ca6c(0xcd)+_0xcad98c,_0xb08db1=_0x20ca6c(0x329),_0xa48261={};return _0xa48261[_0x20ca6c(0x1b6)]=_0xcad98c,_0xa48261[_0x20ca6c(0x23c)]=_0x37aeb8,_0xa48261[_0x20ca6c(0x163)]=_0x5c1616,_0xa48261['alias']=_0x298332,_0xa48261['appCode']=_0x4b3fb8,_0xa48261[_0x20ca6c(0x1cb)]=_0xb08db1,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0xa48261,{});}function DrivenDataDetailPlusMixin(_0x14462c){const _0x1b3419=a0_0x1a4d8a;return class _0x4b0e0b extends _0x14462c{[_0x1b3419(0x283)](_0x1daeb1){const _0x4e62d2=_0x1b3419;return{'appCode':_0x1daeb1,'datasetSDKKey':this[_0x4e62d2(0x142)](),'alias':this['getModelAlias'](),'tableName':this[_0x4e62d2(0x14a)](),'datasetCode':this[_0x4e62d2(0x1b6)]};}[_0x1b3419(0x1af)](_0x39f9b0,_0x58cc80=_0x1b3419(0x364),_0x30e24e=![]){const _0x41ac4b=_0x1b3419;return generateSDKInitCode(_0x39f9b0,this[_0x41ac4b(0x1b6)],this[_0x41ac4b(0x1f6)](),_0x58cc80===_0x41ac4b(0xf1)?_0x58cc80:undefined,_0x30e24e);}['generateFullSDKExample'](_0x281931,_0x1b749e,_0x52fc0f={}){const _0x5dc24b=_0x1b3419,_0x3debb0=this['getOperations']()['find'](_0xa7e130=>_0xa7e130[_0x5dc24b(0x239)]()===_0x281931);if(!_0x3debb0)return null;const _0x218c64={};_0x218c64[_0x5dc24b(0x2c3)]=_0x52fc0f[_0x5dc24b(0x350)]!==![];const _0xade1e5=this[_0x5dc24b(0x19a)](_0x281931,_0x218c64);if(!_0xade1e5)return null;const _0x471cc1=[];return _0x471cc1[_0x5dc24b(0x117)](_0x5dc24b(0x19f)+_0x3debb0[_0x5dc24b(0x239)]()+_0x5dc24b(0xe8)),_0x471cc1[_0x5dc24b(0x117)](_0xade1e5[_0x5dc24b(0x2f6)][_0x5dc24b(0x1b8)]),_0x471cc1[_0x5dc24b(0x117)](''),_0x52fc0f[_0x5dc24b(0x26a)]!==![]&&(_0x471cc1[_0x5dc24b(0x117)](_0x5dc24b(0x337)),_0x471cc1['push'](_0xade1e5['usageExample']['successCode']),_0x471cc1[_0x5dc24b(0x117)](''),_0x471cc1[_0x5dc24b(0x117)](_0xade1e5[_0x5dc24b(0x2cf)][_0x5dc24b(0x1c0)])),_0x471cc1['join']('\x0a');}[_0x1b3419(0x126)](_0xd650c7={}){const _0x47c854=_0x1b3419,_0x2ca92d=this[_0x47c854(0x2ed)](),_0x4df461=[];return _0x2ca92d['forEach']((_0x2545e4,_0x31e9b1)=>{const _0x76d02f=_0x47c854,_0x4a8358=this[_0x76d02f(0x27b)](_0x2545e4[_0x76d02f(0x1c8)],_0x76d02f(0x287),_0xd650c7);_0x4a8358&&(_0x4df461[_0x76d02f(0x117)](_0x76d02f(0x17a)+(_0x31e9b1+0x1)+'.\x20'+_0x2545e4[_0x76d02f(0x273)]),_0x4df461[_0x76d02f(0x117)](_0x4a8358),_0x4df461[_0x76d02f(0x117)](''));}),_0x4df461[_0x47c854(0x261)]('\x0a');}[_0x1b3419(0x194)](_0x5d4e2d){const _0x335df6=_0x1b3419,_0x4638ea=this[_0x335df6(0x2c1)](_0x5d4e2d);if(!_0x4638ea)return null;const _0x4a63d1={};return _0x4a63d1[_0x335df6(0x1c8)]=_0x4638ea[_0x335df6(0x1c8)],_0x4a63d1[_0x335df6(0x273)]=_0x4638ea[_0x335df6(0x273)],_0x4a63d1[_0x335df6(0x2ac)]=_0x4638ea[_0x335df6(0x2ac)],_0x4a63d1[_0x335df6(0x368)]=_0x4638ea[_0x335df6(0x368)],_0x4a63d1[_0x335df6(0x2fd)]=_0x4638ea['enabled'],_0x4a63d1[_0x335df6(0x326)]=_0x4638ea[_0x335df6(0x189)][_0x335df6(0x1f3)],_0x4a63d1[_0x335df6(0xd2)]=_0x4638ea[_0x335df6(0x16f)]!==null,_0x4a63d1;}[_0x1b3419(0x235)](_0x42d08c={}){const _0xfd0dac=_0x1b3419,_0x96daa=this[_0xfd0dac(0x2ed)]();return{'datasetName':this[_0xfd0dac(0x1c8)],'datasetCode':this[_0xfd0dac(0x1b6)],'tableName':this[_0xfd0dac(0x14a)](),'totalOperations':_0x96daa[_0xfd0dac(0x1f3)],'operations':_0x96daa[_0xfd0dac(0x1b9)](_0x585c57=>({'name':_0x585c57['name'],'displayName':_0x585c57[_0xfd0dac(0x273)],'method':_0x585c57[_0xfd0dac(0x2ac)],'enabled':_0x585c57[_0xfd0dac(0x2fd)]}))};}[_0x1b3419(0x150)](_0x1bcef2){const _0x4d0365=_0x1b3419,_0x57c3ff=this[_0x4d0365(0x2c1)](_0x1bcef2);if(!_0x57c3ff)return[];return _0x57c3ff[_0x4d0365(0x189)][_0x4d0365(0x1b9)](_0x2d5c7e=>{const _0x31cc45=_0x4d0365,_0x574f7f=this[_0x31cc45(0x293)](_0x2d5c7e);if(!_0x574f7f)return null;const _0xf1dc7e={};return _0xf1dc7e[_0x31cc45(0x1b8)]=_0x2d5c7e,_0xf1dc7e[_0x31cc45(0x1c8)]=_0x574f7f['name']||_0x2d5c7e,_0xf1dc7e;})[_0x4d0365(0x20e)](_0x4a67bf=>_0x4a67bf!==null);}[_0x1b3419(0x2ae)](){const _0x5efb23=_0x1b3419,_0x1c9832=new Set(this['getEnabledOperationAnalyses']()[_0x5efb23(0x1b9)](_0x382dc9=>String(_0x382dc9[_0x5efb23(0x172)]))),_0x5d3cf2=[_0x5efb23(0x2d0),'getList',_0x5efb23(0x2ad),_0x5efb23(0x29b)];return _0x5d3cf2[_0x5efb23(0x20e)](_0x1caeba=>!_0x1c9832['has'](String(_0x1caeba)));}[_0x1b3419(0x1ad)](_0x121928='demo-app'){const _0x1b613b=_0x1b3419;return generateAliasExplanation(this[_0x1b613b(0x1b6)],this[_0x1b613b(0x14a)](),this[_0x1b613b(0x1f6)](),_0x121928);}};}function a0_0x6db1(){const _0x46ac18=['isEnabled','getSystem','$lteq','groupByType','getRealTables','$startWith','requestFieldCount','getAllFieldsString','BIT','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','object','获取文件URL','count','getFields','systemFieldCount','DrivenDataDetail(','dbTypeLen','groups','empty','value1','BIGINT','Filter\x20API\x20-\x20高级查询接口','padStart','//\x20Usage\x20examples','modelId','DatasetGroup(','聚合函数配置数组','5vIqYKg','getCode','getCountByType','min','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','-\x20`','获取上传脚本','split','add','operationCount','(id,\x20','getDisabledOperations','##\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','status','getFileUrl','4034499sPVeni','toLowerCase','();','toFullConfig','_avg','\x20API\x20文档','includeRequestExample','_max','createFields','系统自动生成','children','查询单条','getPath','getDatasetDocMeta','toString','raw','getOperationCount','getFieldList','max','findByName','getActive','$or','filterBlacklist','getVersion','item2','dbType','online','getBusiness','getEnabledOperationInstances','trim','path','random','forceVersion','isUpdateTime','分组字段列表','创建导入','dbId','查询条件(支持\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)','avg','findAll','tableData','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','getFieldsV2','getGroupedParams','\x20groups)','useArrayValues','字段名称','DatasetList(','({\x20/*\x20可选:筛选条件\x20*/\x20});','isBusiness','DatasetItem(','params','doVersion','1.0.0-beta.8','Object[]','fields','charAt','paging','_instance','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','getEnumValues','排序规则','POST','yourModel','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','getDatabaseVersion','\x20items,\x20','total','getMethod','当前页码(从\x201\x20开始,默认:\x201)','extend','number','warn','groupByTableName','default','getFieldDefinition','getUpdateTime','解析\x20responseBody\x20失败:','getItems','currentPage','DrivenDataDetailPlus(','modelCode','JSON','required','当前页码','createExport','dataset_','();\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}','({\x20code,\x20label\x20});','getOperations','field_name','hasResponseSchema','SDK\x20调用示例(两参数格式)','\x20groups,\x20','\x20operations,\x20','enumValues','TEXTAREA','dblinkInfoDTO','getForeignKeyFields','options','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','getFilteredOperationAnalyses','解析\x20requestBody\x20失败:','allFields','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','createAll','DESC','getRequestParams','isCreateTime','getFilterOperation','getDatabaseType','responseBody','parseRawRequestBody','\x20operation','选项编码(可选)','now','doType','systemRetain','fieldCode','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','$eq','FieldV2(','daily','success','updateTime','getCodes','示例文本','getFieldOptions','getFieldCode','TASK_INFO','includeDeleted','getEnumFieldsMeta','\x20fields,\x20','String','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','supportsCRUD','isDeleted','Number','isSystem','FieldListV2(','hasUpdateTimeField','$gteq','INTEGER','13800138000','isEnum','getAllParams','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','value2','generateUsageExample','BOOLEAN','OperationList(','914740HZIPuT','items','16knopwj','请求示例','_requestExampleCache','fromField','查询列表','getAutoIncrement','getFieldDataSource','push','DrivenDataDetailPlusV2(','操作成功','getNames','LONGTEXT','450135hUyYJE','-$1','appCode','isNumericField','GET_ONE','getDisabledNames','excelExport','getByType','GET_UPLOAD_FILE_SCRIPT','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','generateAllOperationsFullSDKExample','getOperationFieldsOperatorsMap','getOperationAnalyses','_fieldListV1','validateEnumValue','<p>富文本内容</p>','每页数量','creatorNameField','datasetId','multiple','null','getEnumMetas','EXCEL_EXPORT','DATETIME','conflictItemCount','isAutoIncrement','sdkCallCode','1476906KTaTOD','where','fieldCount','datasetInfo','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','dbName','FieldList(','getFieldDescription','operations','entries','FLOAT','getDatasetSDKKey','datasetKey','getFieldType','initDataset','SMALLINT','getField','_fieldListV1WithDeleted','fieldName','getTableName','getFullUrl','TEXT','title','主键ID','Object','getOperationRequestFields','generateConfigArray','getEnabledNames','主键ID(必填)','_fieldListWithDeleted','getFieldsByType','getIndexes','N/A','selectItemsSource','getFieldNames','2024-12-31','context','导入模板','getRawDbtableConfig','BOOL','\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','enabledOperationCount','getRaw','selectBestOperator','tableName','hasDblinkInfo','generateSDKCallCode','toListItem','getApplicableOperators','total_count','index','2024-01-01',',\x20fields:\x20','时间戳','getFieldListV2','getFieldV2','responseSchema','DATE','totalGroups','type','pkField','customFilter','errorMsg','every','getLatestDatasets','SWITCH','$gte','//\x20','fromApiResponse','getDbName','Integer','generateHTTPRequestExample','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','aggregate','$endWith','getOperationList','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','requestBody','GET_SELECT_OPTIONS','toArray','排序规则(与\x20Filter\x20API\x20一致)','Excel导出','requestFields','logicField','const\x20fileUrl\x20=\x20await\x20client.models.','getRequiredFields','115431OYBvdf','toJSON','getConflictStats','VARCHAR','toField','数组查询(支持多选)','$and','generateOperationSummary','string','isRequired','dbtableConfig','getOperation','successCode','getOperationDocMeta','getEnumMeta','isMultipleSelect','获取数据集列表失败:\x20','slice','//\x20Call\x20the\x20','dataset_000000','generateFromSchema','operation','getFiltered','createTime','分组后的过滤条件(对聚合结果进行过滤)','getSelectItemsSource','任务信息','hasExtendField','_raw','primaryKey','_$1','tenantCode','generateAliasExplanation','isMultipleSelectField','generateSDKInitCode','示例值','enableDeduplication','pageSize','hasRelation','isOpenAPI','lastIndexOf','datasetCode','getRelatedDataset','code','map','CHAR','getEnumFields','toDatasetCode','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','from','sort','errorCode','ARRAY','prefix','labelField','getInternalInstance','查询单条(原始)','({\x20','getRelationsByField','name','getLatest','getDOType','exampleWhere','2.0','getPrimaryKeys','dataset','select','getEnumFieldMeta','Array','placeholder','fullUrl','聚合函数配置数组(type:\x20sum/count/avg/max/min)','getSystemAnalysisResult','array','getEnum','some','getExtendField','businessFieldCount','query','parseFieldExtend','3WJzLkU','_datasetMeta','getDisplayName','getModelName','getAllFieldsArray','getCount','env','getDbTypeForOperation','/filter','forEach','keys','properties','TINYINT','1177058rLPzUv','hasCreateTimeField','test','getAt','getOperationFieldOperators','parse','hasLogicField','ensureFilterOperation','getLast','length','getBusinessFields','generateResponseExample','getModelAlias','getFieldName','hasField','const\x20result\x20=\x20await\x20client.models.','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','update\x20接口接受两个参数:\x0a\x0a','isPrimaryKey','isOperatorApplicableToField','单值查询','tableKey','msg','-\x20其他要更新的字段直接平铺在同一层级','STRING','toDatasetName','getDefaultValue','defaultValue','all','sum','_sum','getTableKey','每页数量(可选)','_extend','\x20indexes)','每页数量(默认:\x2020)','filter','alias','DELETE','address','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','hasFilterOperation',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','字段编码','getRelations','getFieldsFilterOperatorsMap','modifierIdField','getSystemFields','每页条数','HTTP\x20直接调用时使用平铺格式:\x0a','getOperationsOverviewData','getOne','createTimeField','接口名称','updateTimeField','getFilterOperators','label','toConfig','getOperationsData','_min','(支持单值或数组)','操作名称','iterator','createImport','source','phone','version','function','importTemplate','toObject','getFilteredOperations','description','getAppCode','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','GET_ONE_UPDATE','generateAllOperationsSummary','hasOperation','precision','condition','getName','200','getPkField','datasetSDKKey','获取数据集失败:\x20','查询单个条件','查询单条(用于更新)','column','isOperationEnabled','size','IMPORT_TEMPLATE','isSystemField','getHTTPRequestParamsDocInfo','CHECKBOX','getConflicts','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','round','includes','sortNum','generateExampleValue','getOperationOperators','_relations','orderBy','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','RICH_TEXT','keyword','getPrimaryKeyFields','_fieldListV2','当前页码(可选)','modifierNameField','getDatabaseName','_operations',',\x20...\x20});','getOldest','9413960rEEVkd','getSource','getAggregates','Field(','hasModifierIdField','getResponseSchema','join','get','hasCreatorIdField','RADIO','[parseFieldExtend]\x20Invalid\x20field:','getRequestFields','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','suffix','CREATE_IMPORT','includeUsageExample','generateRequestExample','INT','日期时间','tableColumns','getRequired','isRequiredField','(id);','datasetName','displayName','$contain','getCreateTime','-\x20主键使用\x20`id`\x20字段\x0a','no\x20conflicts','https://example.com/file.pdf','hasTableName','BLOB','generateFullSDKExample','toConfigArray','getResponseParamsDocInfo','values','getUploadFileScript','has\x20conflicts','dbVersion','desc','getSDKInitData','host','DOUBLE','find','demo-app','String[]','mapDbTypeToType','getDisabled','getEnabled','_fieldList','isArray','isPrimaryKeyField','valueLabels','**可更新的字段列表:**','getFieldsWithDeleted','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getFieldInstance','hasConflicts','normalizeDbType','relations','[Field]\x20Invalid\x20field\x20definition','getList','getOneUpdate','getAllDatasets','delete','groupBy','SDK\x20调用时传递两个参数:\x0a','has',',\x20currentPage,\x20pageSize,\x20...\x20});','prototype','getType','DbtableConfig(table:\x20','$lte','getCountByMethod','dataset_unknown','getTooltip','getDatasetMeta','distinct','GET_ONE_ORIGIN','getFieldOperators','CREATE_EXPORT','method','update','getMissingCRUDOperations','createDate','\x22,数据集:\x20','支持单值或数组','bind','generateRequestAllExamples','_fields','getUpdateFields','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','getTenantCode','columnName','这是一段较长的文本内容示例','下拉选择','getOneOrigin','generateHTTPExample','要更新的字段数据对象','getFieldDisplayName','data','getOperationAnalysis','isEmpty','useFullExample','\x20fields)','文件上传','_datasetMap','DrivenDataDetailV2(','HTTP\x20请求示例(平铺格式)','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','getFieldSelectItemsSource','modifyDate','getAll','getOperationStats','GET','usageExample','create','完整的\x20SDK\x20调用代码','creatorIdField','withDeleted','SELECT','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','GET_LIST','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','getHTTPFields','generateFieldExample','sortOperationsWithFilterFirst','stringify','parseRawResponseBody','getStats','hasDbtableConfig','getFieldRaw','getVirtualTables','getSelectOptions','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getDBConfig','getFieldCount','getId','_operationList','having','tooltip','支持多个条件','findByCode','DECIMAL','getFieldListWithDeleted','getEnabledOperationAnalyses','includeDisabled','datasetMap','FILE','NUMBER','deleted','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','set','getConflictingItems','sdkCall','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getEnabledOperations','<!--\x5cs*CONDITION:\x5cs*','isVirtualTable','toDatasetId','主键,用于定位要更新的记录','enabled','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','findById','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','replace','$ne','$in','user@example.com','indexes','getDisabledOperationInstances','\x20operations,\x20v1)','autoIncrement','toUpperCase','[dsparser]\x20跳过重复的表名\x20\x22','value','getEnumOptions','getRequestParamsDocInfo','UPLOAD','const\x20data\x20=\x20await\x20client.models.','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','LONGBLOB','getOperationAnalysesByType','Operation\x20not\x20found:\x20','getFirst','0000','长文本','TIMESTAMP','taskInfo','_operationAnalyses','generateSingleValueExample','TIME','getOperators','返回字段列表(字段投影)','hasConflict'];a0_0x6db1=function(){return _0x46ac18;};return a0_0x6db1();}function operationToAnalysis(_0x1aaa81){const _0x30b807=a0_0x1a4d8a;return{'name':_0x1aaa81[_0x30b807(0x239)](),'displayName':_0x1aaa81[_0x30b807(0x1df)](),'type':_0x1aaa81[_0x30b807(0x2a1)](),'method':_0x1aaa81[_0x30b807(0x38e)](),'path':_0x1aaa81[_0x30b807(0x356)](),'fullUrl':_0x1aaa81[_0x30b807(0x14b)](),'requestFields':_0x1aaa81['getRequestFields'](),'requestParams':_0x1aaa81[_0x30b807(0xe2)](),'responseSchema':_0x1aaa81[_0x30b807(0x260)](),'requestExample':_0x1aaa81['generateRequestExample'](),'responseExample':_0x1aaa81[_0x30b807(0x1f5)](),'enabled':_0x1aaa81['isEnabled']()};}function operationsToAnalyses(_0xd76831){const _0x468103=a0_0x1a4d8a;if(!Array[_0x468103(0x28d)](_0xd76831))return!![]&&console[_0x468103(0x392)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0xd76831),[];return _0xd76831[_0x468103(0x1b9)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x762f79){const _0x16cc38=a0_0x1a4d8a,_0x285ae3=_0x762f79[_0x16cc38(0x286)](_0x2ba04c=>_0x2ba04c[_0x16cc38(0x1c8)]==='filter'),_0x2060c8=_0x762f79['filter'](_0xb2eef4=>_0xb2eef4[_0x16cc38(0x1c8)]!==_0x16cc38(0x20e));return _0x285ae3?[_0x285ae3,..._0x2060c8]:_0x2060c8;}function filterOperationAnalyses(_0x2cc0fe,_0x514bcf={}){const _0x455f4e=a0_0x1a4d8a;let _0x394cc6=_0x2cc0fe;return!_0x514bcf['includeDisabled']&&(_0x394cc6=_0x394cc6[_0x455f4e(0x20e)](_0x4d71c4=>_0x4d71c4[_0x455f4e(0x2fd)])),_0x514bcf['filterBlacklist']!==![]&&(_0x394cc6=filterApiOperations(_0x394cc6)),_0x514bcf[_0x455f4e(0x174)]&&(_0x394cc6=_0x394cc6[_0x455f4e(0x20e)](_0x514bcf['customFilter'])),sortOperationsWithFilterFirst(_0x394cc6);}function getOperationStats(_0x11136c){const _0xef5acb=a0_0x1a4d8a,_0x444738=_0x11136c['filter'](_0x481c4e=>_0x481c4e[_0xef5acb(0x2fd)]);return{'total':_0x11136c[_0xef5acb(0x1f3)],'enabled':_0x444738[_0xef5acb(0x1f3)],'disabled':_0x11136c['length']-_0x444738['length'],'byType':getCountByType(_0x444738),'byMethod':getCountByMethod(_0x444738)};}function getCountByType(_0x218ad8){const _0x312d6c=a0_0x1a4d8a,_0x24c4bb={};return _0x218ad8[_0x312d6c(0x1e6)](_0x58aba0=>{const _0x533c87=_0x312d6c;if(_0x58aba0[_0x533c87(0x172)])_0x24c4bb[_0x58aba0[_0x533c87(0x172)]]=(_0x24c4bb[_0x58aba0['type']]||0x0)+0x1;}),_0x24c4bb;}function getCountByMethod(_0x2a8aea){const _0x60a630=a0_0x1a4d8a,_0x5f482a={};return _0x2a8aea[_0x60a630(0x1e6)](_0x1a79cb=>{const _0x33729c=_0x60a630;_0x5f482a[_0x1a79cb['method']]=(_0x5f482a[_0x1a79cb[_0x33729c(0x2ac)]]||0x0)+0x1;}),_0x5f482a;}function supportsCRUD(_0x31272d){const _0xb150f8=a0_0x1a4d8a,_0x546120=new Set(_0x31272d[_0xb150f8(0x1b9)](_0x3237f5=>_0x3237f5[_0xb150f8(0x172)])[_0xb150f8(0x20e)](Boolean));return _0x546120[_0xb150f8(0x29e)](_0xb150f8(0x2d0))&&_0x546120[_0xb150f8(0x29e)]('getList')&&_0x546120[_0xb150f8(0x29e)]('update')&&_0x546120['has'](_0xb150f8(0x29b));}function createOperationDocMeta(_0x2a3284,_0x2c88a5,_0x2099ec,_0x58ce7b,_0x2e0219,_0x2013e8){const _0x4b12a3=a0_0x1a4d8a,_0x10e128={};return _0x10e128[_0x4b12a3(0x2c3)]=_0x2013e8?.[_0x4b12a3(0x2c3)],{'operation':_0x2a3284,'operationInstance':_0x2c88a5,'basicInfo':{'name':_0x2a3284[_0x4b12a3(0x1c8)],'displayName':_0x2a3284[_0x4b12a3(0x273)],'method':_0x2a3284[_0x4b12a3(0x2ac)],'path':_0x2a3284[_0x4b12a3(0x368)],'fullUrl':_0x2a3284[_0x4b12a3(0x1d3)],'enabled':_0x2a3284[_0x4b12a3(0x2fd)]},'sdkCall':{'datasetCode':_0x2099ec,'datasetSDKKey':_0x58ce7b,'tableName':_0x2e0219,'operationName':_0x2a3284[_0x4b12a3(0x1c8)],'params':_0x2a3284['requestFields'],'code':_0x2c88a5[_0x4b12a3(0x165)](_0x58ce7b,_0x10e128)},'usageExample':_0x2c88a5['generateUsageExample'](_0x58ce7b)};}function createOperationsOverviewData(_0x3aa2d1){const _0xc50a36=a0_0x1a4d8a,_0x41e597={};_0x41e597[_0xc50a36(0x169)]=_0xc50a36(0x1c8),_0x41e597['label']=_0xc50a36(0x21f);const _0x44270d={};_0x44270d[_0xc50a36(0x169)]=_0xc50a36(0x273),_0x44270d[_0xc50a36(0x222)]=_0xc50a36(0x227);const _0x3c4d5c={};_0x3c4d5c[_0xc50a36(0x169)]='method',_0x3c4d5c[_0xc50a36(0x222)]='方法';const _0xbe99f2={};_0xbe99f2[_0xc50a36(0x169)]=_0xc50a36(0x2f6),_0xbe99f2[_0xc50a36(0x222)]='SDK\x20调用';const _0x2cd5e0={};_0x2cd5e0['index']=_0xc50a36(0x368),_0x2cd5e0['label']='API路径';const _0x3b0a8e={};_0x3b0a8e[_0xc50a36(0x169)]='sdkCallCode',_0x3b0a8e[_0xc50a36(0x222)]=_0xc50a36(0x2d1);const _0x3433cb=[_0x41e597,_0x44270d,_0x3c4d5c,_0xbe99f2,_0x2cd5e0,_0x3b0a8e],_0x598e40=_0x3aa2d1['map'](_0x4a31b6=>{const _0x516c7c=_0xc50a36,{basicInfo:_0x2cd23d,sdkCall:_0x3734c0}=_0x4a31b6,_0x454178=_0x3734c0[_0x516c7c(0x1b8)][_0x516c7c(0x301)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,''),_0x516fc5={};return _0x516fc5[_0x516c7c(0x273)]=_0x2cd23d[_0x516c7c(0x273)],_0x516fc5[_0x516c7c(0x1c8)]=_0x2cd23d[_0x516c7c(0x1c8)],_0x516fc5[_0x516c7c(0x2ac)]=_0x2cd23d[_0x516c7c(0x2ac)],_0x516fc5[_0x516c7c(0x368)]=_0x2cd23d[_0x516c7c(0x368)],_0x516fc5['sdkCall']=_0x454178,_0x516fc5[_0x516c7c(0x136)]=_0x3734c0['code'],_0x516fc5;}),_0x2da455={};return _0x2da455[_0xc50a36(0x26e)]=_0x3433cb,_0x2da455[_0xc50a36(0x372)]=_0x598e40,_0x2da455;}function createDatasetDocMeta(_0x567197,_0x22e4f1,_0x276201,_0x215617,_0x49f870,_0x4715d9,_0x2ed048,_0x2d1b61,_0x422120){const _0x5e84f0=a0_0x1a4d8a,_0x4a33eb={};return _0x4a33eb[_0x5e84f0(0x14d)]=_0x567197+_0x5e84f0(0x34f),_0x4a33eb[_0x5e84f0(0x13a)]={},_0x4a33eb[_0x5e84f0(0x13f)]=_0x422120,_0x4a33eb[_0x5e84f0(0x13a)][_0x5e84f0(0x1c8)]=_0x567197,_0x4a33eb[_0x5e84f0(0x13a)][_0x5e84f0(0x1b8)]=_0x22e4f1,_0x4a33eb[_0x5e84f0(0x13a)][_0x5e84f0(0x163)]=_0x276201,_0x4a33eb[_0x5e84f0(0x13a)]['datasetSDKKey']=_0x215617,_0x4a33eb[_0x5e84f0(0x13a)][_0x5e84f0(0x1ff)]=_0x49f870,_0x4a33eb[_0x5e84f0(0x13a)][_0x5e84f0(0x22a)]=_0x4715d9,_0x4a33eb[_0x5e84f0(0x13a)][_0x5e84f0(0x139)]=_0x2ed048,_0x4a33eb[_0x5e84f0(0x13a)][_0x5e84f0(0x1da)]=0x0,_0x4a33eb[_0x5e84f0(0x13a)][_0x5e84f0(0x32e)]=0x0,_0x4a33eb[_0x5e84f0(0x13a)][_0x5e84f0(0x344)]=_0x2d1b61,_0x4a33eb[_0x5e84f0(0x13a)][_0x5e84f0(0x160)]=_0x422120[_0x5e84f0(0x1f3)],_0x4a33eb;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x1a4d8a(0x31a)];[a0_0x1a4d8a(0x361)](){return'v1';}[a0_0x1a4d8a(0x1f6)](){const _0x3f44c8=a0_0x1a4d8a;return this[_0x3f44c8(0x209)]();}['getOperationAnalyses'](_0x5ecaa4=![]){const _0x10038f=a0_0x1a4d8a;if(!_0x5ecaa4&&this[_0x10038f(0x31a)])return this[_0x10038f(0x31a)];const _0x59526c=this[_0x10038f(0xd0)]();return this[_0x10038f(0x31a)]=operationsToAnalyses(_0x59526c),this[_0x10038f(0x31a)];}[a0_0x1a4d8a(0x2ed)](){const _0x3b957b=a0_0x1a4d8a,_0x190483={};return _0x190483[_0x3b957b(0x2ee)]=![],_0x190483[_0x3b957b(0x360)]=!![],this[_0x3b957b(0xdc)](_0x190483);}['getFilteredOperationAnalyses'](_0x137a11={}){const _0x95d944=a0_0x1a4d8a;return filterOperationAnalyses(this[_0x95d944(0x128)](),_0x137a11);}[a0_0x1a4d8a(0x2c1)](_0x3fb2c2){const _0x59d7e8=a0_0x1a4d8a;return this[_0x59d7e8(0x128)]()[_0x59d7e8(0x286)](_0x69c421=>_0x69c421['name']===_0x3fb2c2);}[a0_0x1a4d8a(0x313)](_0x3b24d5){const _0x27daae=a0_0x1a4d8a;return this[_0x27daae(0x128)]()[_0x27daae(0x20e)](_0x3d3b17=>_0x3d3b17[_0x27daae(0x172)]===_0x3b24d5);}[a0_0x1a4d8a(0x19a)](_0x111d36,_0x27b03a){const _0x3e041e=a0_0x1a4d8a,_0x1ca5fd=this['getOperationAnalysis'](_0x111d36);if(!_0x1ca5fd)return null;const _0x95af3=this[_0x3e041e(0xd0)]()['find'](_0x535509=>_0x535509[_0x3e041e(0x239)]()===_0x1ca5fd[_0x3e041e(0x1c8)]);if(!_0x95af3)throw new Error(_0x3e041e(0x314)+_0x1ca5fd[_0x3e041e(0x1c8)]);return createOperationDocMeta(_0x1ca5fd,_0x95af3,this[_0x3e041e(0x1b6)],this['getDatasetSDKKey'](),this['getTableName'](),_0x27b03a);}['getDatasetDocMeta'](_0xcf3151={}){const _0x72ccbd=a0_0x1a4d8a,_0x5d0be8=this[_0x72ccbd(0xdc)](_0xcf3151),_0x5bca76=_0x5d0be8['map'](_0x49d93d=>this[_0x72ccbd(0x19a)](_0x49d93d[_0x72ccbd(0x1c8)]))[_0x72ccbd(0x20e)](_0x2f9538=>_0x2f9538!==null);return createDatasetDocMeta(this[_0x72ccbd(0x1c8)],this[_0x72ccbd(0x1b6)],this[_0x72ccbd(0x14a)](),this[_0x72ccbd(0x142)](),this[_0x72ccbd(0x209)](),this['source'],this['getFieldCount'](),this[_0x72ccbd(0x35a)](),_0x5bca76);}[a0_0x1a4d8a(0x21c)](_0x832105){return createOperationsOverviewData(_0x832105);}['supportsCRUD'](){const _0x1a1d99=a0_0x1a4d8a;return supportsCRUD(this[_0x1a1d99(0x2ed)]());}['getOperationStats'](){const _0x521442=a0_0x1a4d8a;return getOperationStats(this[_0x521442(0x128)]());}[a0_0x1a4d8a(0x358)](){const _0x11f32a=a0_0x1a4d8a,_0x39d4ac=this[_0x11f32a(0x2cd)]();return _0x11f32a(0xc7)+this['name']+',\x20'+this[_0x11f32a(0x1b6)]+',\x20'+this[_0x11f32a(0x2e4)]()+_0x11f32a(0xfb)+_0x39d4ac[_0x11f32a(0x2fd)]+'/'+_0x39d4ac['total']+_0x11f32a(0x307);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x1a4d8a(0x31a)];[a0_0x1a4d8a(0x361)](){return'v2';}[a0_0x1a4d8a(0x1f6)](){const _0x4fb27d=a0_0x1a4d8a;return this[_0x4fb27d(0x209)]();}[a0_0x1a4d8a(0x128)](_0x5099da=![]){const _0x37a102=a0_0x1a4d8a;if(!_0x5099da&&this[_0x37a102(0x31a)])return this[_0x37a102(0x31a)];const _0x2e0c97=this[_0x37a102(0xd0)]();return this[_0x37a102(0x31a)]=operationsToAnalyses(_0x2e0c97),this[_0x37a102(0x31a)];}[a0_0x1a4d8a(0x2ed)](){const _0x356091=a0_0x1a4d8a,_0x540292={};return _0x540292[_0x356091(0x2ee)]=![],_0x540292[_0x356091(0x360)]=!![],this['getFilteredOperationAnalyses'](_0x540292);}[a0_0x1a4d8a(0xdc)](_0x93e83b={}){const _0x3fb7fd=a0_0x1a4d8a;return filterOperationAnalyses(this[_0x3fb7fd(0x128)](),_0x93e83b);}[a0_0x1a4d8a(0x2c1)](_0xaddb48){const _0x50e047=a0_0x1a4d8a;return this['getOperationAnalyses']()[_0x50e047(0x286)](_0x506523=>_0x506523[_0x50e047(0x1c8)]===_0xaddb48);}[a0_0x1a4d8a(0x313)](_0x20eca5){const _0x1f3b2b=a0_0x1a4d8a;return this[_0x1f3b2b(0x128)]()[_0x1f3b2b(0x20e)](_0x392830=>_0x392830[_0x1f3b2b(0x172)]===_0x20eca5);}[a0_0x1a4d8a(0x19a)](_0xda6435,_0x17de01){const _0x1760db=a0_0x1a4d8a,_0x586d9a=this[_0x1760db(0x2c1)](_0xda6435);if(!_0x586d9a)return null;const _0x7497ad=this[_0x1760db(0xd0)]()[_0x1760db(0x286)](_0x29653f=>_0x29653f['getName']()===_0x586d9a[_0x1760db(0x1c8)]);if(!_0x7497ad)throw new Error(_0x1760db(0x314)+_0x586d9a[_0x1760db(0x1c8)]);return createOperationDocMeta(_0x586d9a,_0x7497ad,this[_0x1760db(0x1b6)],this['getDatasetSDKKey'](),this[_0x1760db(0x14a)](),_0x17de01);}[a0_0x1a4d8a(0x357)](_0x15ebd3={}){const _0x5cc0fe=a0_0x1a4d8a,_0x217fa3=this[_0x5cc0fe(0xdc)](_0x15ebd3),_0x27ec59=_0x217fa3[_0x5cc0fe(0x1b9)](_0x3c7bd1=>this[_0x5cc0fe(0x19a)](_0x3c7bd1[_0x5cc0fe(0x1c8)]))[_0x5cc0fe(0x20e)](_0x2cd7a6=>_0x2cd7a6!==null);return createDatasetDocMeta(this[_0x5cc0fe(0x1c8)],this['datasetCode'],this['getTableName'](),this[_0x5cc0fe(0x142)](),this[_0x5cc0fe(0x209)](),this[_0x5cc0fe(0x22a)],this[_0x5cc0fe(0x2e4)](),this['getOperationCount'](),_0x27ec59);}[a0_0x1a4d8a(0x21c)](_0x5a7e52){return createOperationsOverviewData(_0x5a7e52);}[a0_0x1a4d8a(0xfe)](){const _0x5ad7e5=a0_0x1a4d8a;return supportsCRUD(this[_0x5ad7e5(0x2ed)]());}[a0_0x1a4d8a(0x2cd)](){const _0x54f2ed=a0_0x1a4d8a;return getOperationStats(this[_0x54f2ed(0x128)]());}[a0_0x1a4d8a(0x358)](){const _0x11bfbc=a0_0x1a4d8a,_0x5a2b8a=this['getOperationStats']();return _0x11bfbc(0x118)+this[_0x11bfbc(0x1c8)]+',\x20'+this[_0x11bfbc(0x1b6)]+',\x20'+this[_0x11bfbc(0x2e4)]()+_0x11bfbc(0xfb)+_0x5a2b8a[_0x11bfbc(0x2fd)]+'/'+_0x5a2b8a[_0x11bfbc(0x38d)]+'\x20operations,\x20v2)';}}function detectDatasetVersion3(_0x2f028f){const _0x947e9f=a0_0x1a4d8a;if(_0x2f028f[_0x947e9f(0x37e)]==='v2'&&_0x947e9f(0x381)in _0x2f028f&&Array[_0x947e9f(0x28d)](_0x2f028f[_0x947e9f(0x381)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x1a4d8a(0x384)];constructor(_0xdcbc0d){const _0x5ea507=detectDatasetVersion3(_0xdcbc0d);return this['_instance']=_0x5ea507==='v2'?new DrivenDataDetailPlusV2(_0xdcbc0d):new DrivenDataDetailPlusV1(_0xdcbc0d),new Proxy(this,{'get'(_0x831ca2,_0xf107a3){const _0x48ba26=a0_0x4697;if(_0xf107a3 in _0x831ca2){const _0x1a05bd=_0x831ca2[_0xf107a3];return typeof _0x1a05bd===_0x48ba26(0x22d)?_0x1a05bd[_0x48ba26(0x2b2)](_0x831ca2):_0x1a05bd;}if(_0xf107a3 in _0x831ca2[_0x48ba26(0x384)]){const _0x237e26=_0x831ca2[_0x48ba26(0x384)][_0xf107a3];return typeof _0x237e26==='function'?_0x237e26[_0x48ba26(0x2b2)](_0x831ca2[_0x48ba26(0x384)]):_0x237e26;}return;},'set'(_0x3f3cd9,_0x3a015d,_0x1c91cb){return _0x3f3cd9[_0x3a015d]=_0x1c91cb,!![];},'getPrototypeOf'(_0x52bc71){const _0x1442dd=a0_0x4697;return DrivenDataDetailPlus[_0x1442dd(0x2a0)];}});}get[a0_0x1a4d8a(0x1c8)](){const _0x239b1b=a0_0x1a4d8a;return this[_0x239b1b(0x384)]['name'];}get['id'](){return this['_instance']['id'];}get[a0_0x1a4d8a(0x1b6)](){const _0x15e57d=a0_0x1a4d8a;return this[_0x15e57d(0x384)][_0x15e57d(0x1b6)];}get[a0_0x1a4d8a(0x22a)](){const _0x4216b9=a0_0x1a4d8a;return this[_0x4216b9(0x384)][_0x4216b9(0x22a)];}get[a0_0x1a4d8a(0x197)](){const _0x462a14=a0_0x1a4d8a;return this[_0x462a14(0x384)]['getDBConfig']();}['getVersion'](){const _0x583633=a0_0x1a4d8a,_0xa0e817=this[_0x583633(0x384)]['getVersion']();return _0xa0e817==='v2'?'v2':'v1';}[a0_0x1a4d8a(0x2e4)](){const _0x26820c=a0_0x1a4d8a;return this[_0x26820c(0x384)][_0x26820c(0x2e4)]();}[a0_0x1a4d8a(0x35a)](){const _0x40a171=a0_0x1a4d8a;return this['_instance'][_0x40a171(0x35a)]();}[a0_0x1a4d8a(0x32d)](){const _0x26c0e8=a0_0x1a4d8a;return this['_instance'][_0x26c0e8(0x32d)]();}[a0_0x1a4d8a(0xd0)](){const _0x3413b5=a0_0x1a4d8a;return this[_0x3413b5(0x384)]['getOperations']();}[a0_0x1a4d8a(0x230)](_0x1978c5){const _0x8a866a=a0_0x1a4d8a;return this[_0x8a866a(0x384)]['getFilteredOperations'](_0x1978c5);}[a0_0x1a4d8a(0x293)](_0x18a848){const _0x3bcaf4=a0_0x1a4d8a;return this[_0x3bcaf4(0x384)][_0x3bcaf4(0x293)](_0x18a848);}[a0_0x1a4d8a(0x14a)](){const _0x48871b=a0_0x1a4d8a;return this[_0x48871b(0x384)][_0x48871b(0x14a)]();}[a0_0x1a4d8a(0x209)](){const _0x15e14c=a0_0x1a4d8a;return this[_0x15e14c(0x384)]['getTableKey']();}[a0_0x1a4d8a(0x142)](){const _0x397ff1=a0_0x1a4d8a;return this[_0x397ff1(0x384)][_0x397ff1(0x142)]();}[a0_0x1a4d8a(0x35b)](){const _0x242f39=a0_0x1a4d8a;return this['_instance'][_0x242f39(0x35b)]();}[a0_0x1a4d8a(0x1bb)](){const _0x459278=a0_0x1a4d8a;return this[_0x459278(0x384)][_0x459278(0x1bb)]();}[a0_0x1a4d8a(0xfa)](){const _0x5b85a8=a0_0x1a4d8a;return this[_0x5b85a8(0x384)][_0x5b85a8(0xfa)]();}[a0_0x1a4d8a(0x1ae)](_0x20b1ae){const _0x8bf70f=a0_0x1a4d8a;return this[_0x8bf70f(0x384)][_0x8bf70f(0x1ae)](_0x20b1ae);}[a0_0x1a4d8a(0x147)](_0x5432bf){const _0x5ddb46=a0_0x1a4d8a;return this[_0x5ddb46(0x384)][_0x5ddb46(0x147)](_0x5432bf);}[a0_0x1a4d8a(0xf6)](_0x83c5ac){const _0x253f0a=a0_0x1a4d8a;return this[_0x253f0a(0x384)][_0x253f0a(0xf6)](_0x83c5ac);}[a0_0x1a4d8a(0x2ca)](_0x4a1f52){return this['_instance']['getFieldSelectItemsSource'](_0x4a1f52);}[a0_0x1a4d8a(0x1d0)](_0x3d77fa){const _0x293d42=a0_0x1a4d8a;return this[_0x293d42(0x384)][_0x293d42(0x1d0)](_0x3d77fa);}['validateEnumValue'](_0x3691be,_0x204190){const _0x4f2abf=a0_0x1a4d8a;return this['_instance'][_0x4f2abf(0x12a)](_0x3691be,_0x204190);}['isRequiredField'](_0x6f7e0a){const _0x12de83=a0_0x1a4d8a;return this[_0x12de83(0x384)][_0x12de83(0x270)](_0x6f7e0a);}[a0_0x1a4d8a(0x2dd)](){const _0x2b5181=a0_0x1a4d8a;return this[_0x2b5181(0x384)][_0x2b5181(0x2dd)]();}[a0_0x1a4d8a(0xe4)](){const _0x5142ac=a0_0x1a4d8a;return this[_0x5142ac(0x384)][_0x5142ac(0xe4)]();}['hasFilterOperation'](){const _0x587233=a0_0x1a4d8a;return this[_0x587233(0x384)][_0x587233(0x213)]();}['hasOperation'](_0x465635){const _0x453b52=a0_0x1a4d8a;return this[_0x453b52(0x384)][_0x453b52(0x236)](_0x465635);}[a0_0x1a4d8a(0x2e3)](){const _0x247a96=a0_0x1a4d8a;return this['_instance'][_0x247a96(0x2e3)]();}[a0_0x1a4d8a(0x15d)](){const _0x3cd508=a0_0x1a4d8a;return this['_instance'][_0x3cd508(0x15d)]();}['getSource'](){const _0x123bb9=a0_0x1a4d8a;return this[_0x123bb9(0x384)][_0x123bb9(0x25c)]();}[a0_0x1a4d8a(0x128)](_0x16396d){const _0x57740d=a0_0x1a4d8a;return this['_instance'][_0x57740d(0x128)](_0x16396d);}[a0_0x1a4d8a(0x2ed)](){const _0xba9faa=a0_0x1a4d8a;return this[_0xba9faa(0x384)]['getEnabledOperationAnalyses']();}['getFilteredOperationAnalyses'](_0x66a781){const _0x2a3928=a0_0x1a4d8a;return this[_0x2a3928(0x384)][_0x2a3928(0xdc)](_0x66a781);}[a0_0x1a4d8a(0x2c1)](_0x308a1b){const _0x23a5b1=a0_0x1a4d8a;return this[_0x23a5b1(0x384)][_0x23a5b1(0x2c1)](_0x308a1b);}[a0_0x1a4d8a(0x313)](_0x5cb5c8){const _0x6dd438=a0_0x1a4d8a;return this[_0x6dd438(0x384)]['getOperationAnalysesByType'](_0x5cb5c8);}[a0_0x1a4d8a(0x19a)](_0x112400,_0x49743f){const _0x1dc24d=a0_0x1a4d8a;return this[_0x1dc24d(0x384)][_0x1dc24d(0x19a)](_0x112400,_0x49743f);}[a0_0x1a4d8a(0x357)](_0x245ca7){const _0x5ead78=a0_0x1a4d8a;return this[_0x5ead78(0x384)][_0x5ead78(0x357)](_0x245ca7);}[a0_0x1a4d8a(0x21c)](_0x49b315){const _0x27f7cf=a0_0x1a4d8a;return this[_0x27f7cf(0x384)]['getOperationsOverviewData'](_0x49b315);}[a0_0x1a4d8a(0x1f6)](){const _0x46aa7a=a0_0x1a4d8a;return this[_0x46aa7a(0x384)][_0x46aa7a(0x1f6)]();}[a0_0x1a4d8a(0xfe)](){return this['_instance']['supportsCRUD']();}[a0_0x1a4d8a(0x2cd)](){const _0x4abd1c=a0_0x1a4d8a;return this[_0x4abd1c(0x384)][_0x4abd1c(0x2cd)]();}['toString'](){const _0x3bbff5=a0_0x1a4d8a;return this[_0x3bbff5(0x384)][_0x3bbff5(0x358)]();}[a0_0x1a4d8a(0x198)](_0x33ff45){const _0x2011e1=a0_0x1a4d8a;return this[_0x2011e1(0x384)]['getOperation'](_0x33ff45);}[a0_0x1a4d8a(0x283)](_0x163125){const _0x3fd0d7=a0_0x1a4d8a;return this['_instance'][_0x3fd0d7(0x283)](_0x163125);}[a0_0x1a4d8a(0x1af)](_0x59b1ef,_0x3767ce,_0x58274e){const _0x35c344=a0_0x1a4d8a;return this['_instance'][_0x35c344(0x1af)](_0x59b1ef,_0x3767ce,_0x58274e);}[a0_0x1a4d8a(0x27b)](_0x3bda6c,_0x3bb0da,_0xeecfd9){const _0x2bcf8e=a0_0x1a4d8a;return this[_0x2bcf8e(0x384)]['generateFullSDKExample'](_0x3bda6c,_0x3bb0da,_0xeecfd9);}['generateAllOperationsFullSDKExample'](_0x1f1aed){const _0x4f69dd=a0_0x1a4d8a;return this['_instance'][_0x4f69dd(0x126)](_0x1f1aed);}[a0_0x1a4d8a(0x194)](_0x4ddf6d){const _0x22938d=a0_0x1a4d8a;return this[_0x22938d(0x384)]['generateOperationSummary'](_0x4ddf6d);}[a0_0x1a4d8a(0x235)](_0x4fc950){const _0x125db8=a0_0x1a4d8a;return this['_instance'][_0x125db8(0x235)](_0x4fc950);}[a0_0x1a4d8a(0x150)](_0x12ba30){const _0x4a2fd5=a0_0x1a4d8a;return this[_0x4a2fd5(0x384)]['getOperationRequestFields'](_0x12ba30);}[a0_0x1a4d8a(0x2ae)](){const _0x36cd5d=a0_0x1a4d8a;return this[_0x36cd5d(0x384)][_0x36cd5d(0x2ae)]();}[a0_0x1a4d8a(0x1ad)](){const _0x11b73c=a0_0x1a4d8a;return this[_0x11b73c(0x384)][_0x11b73c(0x1ad)]();}[a0_0x1a4d8a(0x1c4)](){const _0x2818f2=a0_0x1a4d8a;return this[_0x2818f2(0x384)];}}function createDrivenDataDetailPlus(_0x221b7d,_0x3d0d75={}){const _0x4a446e=a0_0x1a4d8a;if(_0x3d0d75[_0x4a446e(0x36a)]==='v1')return new DrivenDataDetailPlusV1(_0x221b7d);if(_0x3d0d75['forceVersion']==='v2')return new DrivenDataDetailPlusV2(_0x221b7d);if(_0x221b7d[_0x4a446e(0x37e)]==='v2'||'dataset'in _0x221b7d)return new DrivenDataDetailPlusV2(_0x221b7d);return new DrivenDataDetailPlusV1(_0x221b7d);}function isPlusV2Instance(_0x2d7d70){const _0x333777=a0_0x1a4d8a;return _0x2d7d70[_0x333777(0x361)]()==='v2';}function a0_0x4697(_0x2ab250,_0x2a0a6f){_0x2ab250=_0x2ab250-0xc0;const _0x6db12b=a0_0x6db1();let _0x4697b8=_0x6db12b[_0x2ab250];return _0x4697b8;}function isPlusV1Instance(_0x2a9ce7){const _0xe63de6=a0_0x1a4d8a;return _0x2a9ce7[_0xe63de6(0x361)]()==='v1';}var VERSION=a0_0x1a4d8a(0x37f);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_0xf68f23=a0_0x274a;(function(_0x2f5be6,_0x2de91f){const _0x15add3=a0_0x274a,_0x478976=_0x2f5be6();while(!![]){try{const _0x1ca138=parseInt(_0x15add3(0x216))/0x1+parseInt(_0x15add3(0x3e5))/0x2+parseInt(_0x15add3(0x42d))/0x3*(-parseInt(_0x15add3(0x1f2))/0x4)+-parseInt(_0x15add3(0x31a))/0x5+-parseInt(_0x15add3(0x35c))/0x6*(parseInt(_0x15add3(0x3f6))/0x7)+parseInt(_0x15add3(0x25a))/0x8*(-parseInt(_0x15add3(0x27d))/0x9)+parseInt(_0x15add3(0x440))/0xa;if(_0x1ca138===_0x2de91f)break;else _0x478976['push'](_0x478976['shift']());}catch(_0x5b5360){_0x478976['push'](_0x478976['shift']());}}}(a0_0x5e0f,0x49c73));function toCamelCase(_0x439975){const _0x1dcddd=a0_0x274a;if(!_0x439975)return'';return _0x439975[_0x1dcddd(0x3d2)](/[_-]/)[_0x1dcddd(0x336)]((_0x1ceb6c,_0x5c685f)=>{const _0x30721c=_0x1dcddd;if(_0x5c685f===0x0)return _0x1ceb6c[_0x30721c(0x3a4)]();return _0x1ceb6c['charAt'](0x0)[_0x30721c(0x29a)]()+_0x1ceb6c[_0x30721c(0x399)](0x1)[_0x30721c(0x3a4)]();})[_0x1dcddd(0x36f)]('');}function toPascalCase(_0x5622d4){const _0x7a771=a0_0x274a;if(!_0x5622d4)return'';const _0x39ee96=toCamelCase(_0x5622d4);return _0x39ee96[_0x7a771(0x34e)](0x0)[_0x7a771(0x29a)]()+_0x39ee96[_0x7a771(0x399)](0x1);}function toSnakeCase(_0xf18385){const _0x41cf23=a0_0x274a;if(!_0xf18385)return'';return _0xf18385[_0x41cf23(0x3c0)](/([A-Z])/g,'_$1')['toLowerCase']()['replace'](/^_/,'');}function toKebabCase(_0x1a2eee){const _0x15cb88=a0_0x274a;if(!_0x1a2eee)return'';return _0x1a2eee['replace'](/([A-Z])/g,_0x15cb88(0x36e))[_0x15cb88(0x3a4)]()[_0x15cb88(0x3c0)](/^-/,'');}function normalizeFieldName(_0x2838d9){const _0x4aa2e0=a0_0x274a;if(!_0x2838d9)return'';return _0x2838d9['trim']()[_0x4aa2e0(0x3c0)](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')[_0x4aa2e0(0x3c0)](/_+/g,'_')[_0x4aa2e0(0x3c0)](/^_|_$/g,'');}function getTableName(_0xd5e7a2){const _0x481900=a0_0x274a;if(!_0xd5e7a2)return _0x481900(0x347);if(_0xd5e7a2['dbtableConfig']?.[_0x481900(0x27f)])return _0xd5e7a2[_0x481900(0x26d)][_0x481900(0x27f)];const _0xbf1f6d=_0xd5e7a2['datasetCode']||_0xd5e7a2[_0x481900(0x40e)]||_0xd5e7a2[_0x481900(0x3a1)];if(_0xbf1f6d)return generateTableNameFromCode(_0xbf1f6d);return'dataset_000000';}function getTableKey(_0x46e520){const _0x3f9b6b=a0_0x274a;if(typeof _0x46e520===_0x3f9b6b(0x3d4))return toCamelCase(_0x46e520);const _0x1aeb16=getTableName(_0x46e520);return toCamelCase(_0x1aeb16);}function generateTableNameFromCode(_0x8f2742){const _0x1c8686=a0_0x274a;if(!_0x8f2742)return _0x1c8686(0x347);const _0x18abfa=_0x8f2742[_0x1c8686(0x399)](-0x6)['padStart'](0x6,'0');return _0x1c8686(0x257)+_0x18abfa;}function isVirtualTableName(_0x7fe36e){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x7fe36e);}function generateModelKeyFromCode(_0x460376){const _0x53151d=a0_0x274a;if(!_0x460376)return _0x53151d(0x2df);return _0x53151d(0x257)+_0x460376;}function getDbName(_0x15cbc5){const _0x3ec4d0=a0_0x274a;return _0x15cbc5[_0x3ec4d0(0x26d)]?.[_0x3ec4d0(0x340)]||_0x15cbc5[_0x3ec4d0(0x26d)]?.[_0x3ec4d0(0x3fc)]?.['dbName']||'';}function generateDatasetsConfig(_0x43b255,_0x27677f={}){const _0xf2e7eb=a0_0x274a,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x49340f,filter:_0x5174e1}=_0x27677f,_0x1a4e9e=_0x5174e1?_0x43b255[_0xf2e7eb(0x1d7)](_0x5174e1):_0x43b255,_0x5a5e33=new Map();for(const _0x2f8dc6 of _0x1a4e9e){const _0x7fc7f1=getTableName(_0x2f8dc6),_0x58ca1f=getDbName(_0x2f8dc6);!_0x5a5e33[_0xf2e7eb(0x2a9)](_0x7fc7f1)&&_0x5a5e33[_0xf2e7eb(0x386)](_0x7fc7f1,new Set()),_0x5a5e33[_0xf2e7eb(0x2c7)](_0x7fc7f1)['add'](_0x58ca1f);}const _0x2aa879=new Set();for(const [_0x443123,_0x4c7dea]of _0x5a5e33){_0x4c7dea[_0xf2e7eb(0x2b5)]>0x1&&_0x2aa879['add'](_0x443123);}const _0x41de8c={},_0x36b7f3=new Set();for(const _0x30a11f of _0x1a4e9e){const _0x1844a2=getTableName(_0x30a11f);if(enableDeduplication&&_0x36b7f3[_0xf2e7eb(0x2a9)](_0x1844a2)){console[_0xf2e7eb(0x359)](_0xf2e7eb(0x2f6)+_0x1844a2+_0xf2e7eb(0x3da)+_0x30a11f[_0xf2e7eb(0x30b)]+'\x20('+_0x30a11f[_0xf2e7eb(0x362)]+')');continue;}_0x36b7f3[_0xf2e7eb(0x20d)](_0x1844a2);const _0x33970e=_0x49340f?_0x49340f(_0x1844a2,_0x30a11f):getTableKey(_0x1844a2),_0x1f317a=getDbName(_0x30a11f),_0x7826c5=_0x2aa879[_0xf2e7eb(0x2a9)](_0x1844a2)&&_0x1f317a?getTableKey(_0x1f317a)+'_'+_0x33970e:_0x33970e;_0x41de8c[_0x33970e]={'key':_0x33970e,'alias':_0x7826c5,'tableName':_0x1844a2,'datasetCode':_0x30a11f[_0xf2e7eb(0x362)],'name':_0x30a11f[_0xf2e7eb(0x30b)],'id':_0x30a11f['id'],'dbName':_0x1f317a};}return _0x41de8c;}function generateFullDatasetsConfig(_0x838098,_0xa8943={}){const _0xd558db=a0_0x274a,{filter:_0x5c1a2b,datasetNameGenerator:_0x5c110a}=_0xa8943,_0x1982d6=_0x5c1a2b?_0x838098['filter'](_0x5c1a2b):_0x838098,_0x465f2e=new Map();for(const _0x79aba0 of _0x1982d6){const _0x122d4a=getTableName(_0x79aba0),_0x7d4c68=getDbName(_0x79aba0);!_0x465f2e[_0xd558db(0x2a9)](_0x122d4a)&&_0x465f2e[_0xd558db(0x386)](_0x122d4a,new Set()),_0x465f2e['get'](_0x122d4a)[_0xd558db(0x20d)](_0x7d4c68);}const _0x221b43=new Set();for(const [_0xdf7cd4,_0x3bf656]of _0x465f2e){_0x3bf656[_0xd558db(0x2b5)]>0x1&&_0x221b43[_0xd558db(0x20d)](_0xdf7cd4);}const _0x38c4f7=groupByTableName(_0x1982d6),_0x5b7ed2={};for(const [_0x1c702f,_0x529381]of Object['entries'](_0x38c4f7)){if(_0x529381[_0xd558db(0x34c)]===0x1){const _0x41f635=_0x529381[0x0],_0x52978a=_0x5c110a?_0x5c110a(_0x1c702f,_0x41f635):getTableKey(_0x1c702f),_0x10998a=getDbName(_0x41f635),_0x282b9f=_0x221b43[_0xd558db(0x2a9)](_0x1c702f)&&_0x10998a?getTableKey(_0x10998a)+'_'+_0x52978a:_0x52978a;_0x5b7ed2[_0x52978a]={'key':_0x52978a,'alias':_0x282b9f,'tableName':_0x1c702f,'datasetCode':_0x41f635['datasetCode'],'name':_0x41f635['name'],'id':_0x41f635['id'],'dbName':_0x10998a};}else{const _0x429089=[..._0x529381][_0xd558db(0x30e)]((_0x43b3a2,_0x2252d1)=>{const _0x4fa587=Number(_0x43b3a2['id'])||0x0,_0x2c42e8=Number(_0x2252d1['id'])||0x0;return _0x2c42e8-_0x4fa587;});_0x429089[_0xd558db(0x1df)]((_0x514063,_0x3563b1)=>{const _0x34238d=_0xd558db,_0x55bade=_0x5c110a?_0x5c110a(_0x1c702f,_0x514063):getTableKey(_0x1c702f),_0x273dd6=_0x3563b1===0x0?_0x55bade:_0x55bade+'_'+_0x3563b1,_0x20de8a=getDbName(_0x514063),_0x30e4ce=_0x221b43['has'](_0x1c702f)&&_0x20de8a?getTableKey(_0x20de8a)+'_'+_0x273dd6:_0x273dd6;_0x5b7ed2[_0x273dd6]={'key':_0x273dd6,'alias':_0x30e4ce,'tableName':_0x1c702f,'datasetCode':_0x514063[_0x34238d(0x362)],'name':_0x514063[_0x34238d(0x30b)],'id':_0x514063['id'],'dbName':_0x20de8a};});}}return _0x5b7ed2;}function detectTableNameConflicts(_0x49e1a8){const _0x1e2587=a0_0x274a,_0x5dde11={};for(const _0x3eef78 of _0x49e1a8){const _0x32b132=getTableName(_0x3eef78);!_0x5dde11[_0x32b132]&&(_0x5dde11[_0x32b132]=[]),_0x5dde11[_0x32b132][_0x1e2587(0x387)](_0x3eef78);}const _0x1d8630={};for(const [_0x5339b3,_0x32923e]of Object['entries'](_0x5dde11)){_0x32923e[_0x1e2587(0x34c)]>0x1&&(_0x1d8630[_0x5339b3]=_0x32923e);}return{'hasConflicts':Object[_0x1e2587(0x383)](_0x1d8630)[_0x1e2587(0x34c)]>0x0,'conflicts':_0x1d8630};}function createDatasetNameMap(_0x1197fe){const _0x4526c0=a0_0x274a,_0x53d799={};for(const [_0x3510f7,_0x211371]of Object[_0x4526c0(0x1b4)](_0x1197fe)){_0x53d799[_0x3510f7]=_0x211371['datasetCode']||'';}return _0x53d799;}function groupByTableName(_0x2f7e68){const _0x5bf190={};for(const _0x1d40d0 of _0x2f7e68){const _0x576dcc=getTableName(_0x1d40d0);!_0x5bf190[_0x576dcc]&&(_0x5bf190[_0x576dcc]=[]),_0x5bf190[_0x576dcc]['push'](_0x1d40d0);}return _0x5bf190;}function datasetsConfigToArray(_0x57bb55){const _0x3d3b3f=a0_0x274a;return Object[_0x3d3b3f(0x36c)](_0x57bb55);}function adaptDrivenDataDetail(_0x3fffe4){const _0x3c0bf7=a0_0x274a,_0x401663={};return _0x401663['id']=_0x3fffe4['modelId'],_0x401663[_0x3c0bf7(0x30b)]=_0x3fffe4[_0x3c0bf7(0x30b)],_0x401663[_0x3c0bf7(0x362)]=_0x3fffe4['modelCode'],_0x401663['dbtableConfig']=_0x3fffe4[_0x3c0bf7(0x26d)],_0x401663[_0x3c0bf7(0x272)]=_0x3fffe4[_0x3c0bf7(0x272)],_0x401663[_0x3c0bf7(0x29e)]=_0x3fffe4['version'],_0x401663[_0x3c0bf7(0x3c9)]=_0x3fffe4[_0x3c0bf7(0x3c9)],_0x401663[_0x3c0bf7(0x2b3)]=_0x3fffe4[_0x3c0bf7(0x2b3)],_0x401663[_0x3c0bf7(0x23d)]=_0x3fffe4[_0x3c0bf7(0x23d)],_0x401663;}function adaptDrivenDataDetails(_0x297d59){const _0x22926c=a0_0x274a;return _0x297d59[_0x22926c(0x336)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x55bf23){const _0x387388=a0_0x274a;if(!_0x55bf23[_0x387388(0x261)]||!_0x55bf23['data'])throw new Error('获取数据集失败:\x20'+(_0x55bf23[_0x387388(0x3f1)]||_0x55bf23[_0x387388(0x374)]));return adaptDrivenDataDetail(_0x55bf23[_0x387388(0x1eb)]);}function extractDatasetsFromListResponse(_0x54d1ea){const _0x5923e1=a0_0x274a;if(!_0x54d1ea['success']||!_0x54d1ea[_0x5923e1(0x1eb)]?.[_0x5923e1(0x203)])throw new Error(_0x5923e1(0x381)+(_0x54d1ea[_0x5923e1(0x3f1)]||_0x54d1ea[_0x5923e1(0x374)]));return _0x54d1ea[_0x5923e1(0x1eb)][_0x5923e1(0x203)][_0x5923e1(0x336)](_0x52f0d0=>({..._0x52f0d0,'datasetCode':_0x52f0d0[_0x5923e1(0x40e)]||_0x52f0d0[_0x5923e1(0x362)]}));}function isDrivenDataDetail(_0x2efe5b){const _0x599f4f=a0_0x274a;return Boolean(_0x2efe5b&&typeof _0x2efe5b[_0x599f4f(0x3a1)]===_0x599f4f(0x3d4));}function smartAdapt(_0x23fa3b){const _0x6ff5f5=a0_0x274a;if(isDrivenDataDetail(_0x23fa3b))return adaptDrivenDataDetail(_0x23fa3b);if(_0x23fa3b[_0x6ff5f5(0x362)])return _0x23fa3b;if(_0x23fa3b[_0x6ff5f5(0x40e)]){const _0x26eab5={..._0x23fa3b};return _0x26eab5[_0x6ff5f5(0x362)]=_0x23fa3b[_0x6ff5f5(0x40e)],_0x26eab5;}return _0x23fa3b;}function cleanNewlines(_0x286305){return _0x286305['replace'](/[\r\n]+/g,'\x20')['trim']();}function a0_0x274a(_0x34f818,_0xf9fc54){_0x34f818=_0x34f818-0x19b;const _0x5e0fe2=a0_0x5e0f();let _0x274aa4=_0x5e0fe2[_0x34f818];return _0x274aa4;}function cleanDatasetName(_0x3134ff){const _0x1ecb2b=a0_0x274a;if(!_0x3134ff[_0x1ecb2b(0x30b)])return _0x3134ff;return{..._0x3134ff,'name':cleanNewlines(_0x3134ff[_0x1ecb2b(0x30b)])};}function cleanDatasetNames(_0x530485){return _0x530485['map'](cleanDatasetName);}var DatasetOperationType;(_0x5521b7=>{const _0x4fad20=a0_0x274a;_0x5521b7[_0x4fad20(0x38d)]=_0x4fad20(0x2a6),_0x5521b7[_0x4fad20(0x342)]=_0x4fad20(0x3b4),_0x5521b7[_0x4fad20(0x267)]=_0x4fad20(0x3b1),_0x5521b7['GET_ONE_UPDATE']=_0x4fad20(0x348),_0x5521b7[_0x4fad20(0x435)]=_0x4fad20(0x1bc),_0x5521b7[_0x4fad20(0x2d8)]=_0x4fad20(0x410),_0x5521b7[_0x4fad20(0x1af)]=_0x4fad20(0x3dc),_0x5521b7['GET_SELECT_OPTIONS']=_0x4fad20(0x2c0),_0x5521b7['GET_FILE_URL']='getFileUrl',_0x5521b7[_0x4fad20(0x407)]='excelExport',_0x5521b7[_0x4fad20(0x328)]=_0x4fad20(0x411),_0x5521b7[_0x4fad20(0x41c)]=_0x4fad20(0x379),_0x5521b7[_0x4fad20(0x1a4)]='createExport',_0x5521b7[_0x4fad20(0x3ba)]=_0x4fad20(0x1be),_0x5521b7[_0x4fad20(0x443)]=_0x4fad20(0x352);})(DatasetOperationType||={});const a0_0xa42d8d={};a0_0xa42d8d[a0_0xf68f23(0x2a6)]='查询列表',a0_0xa42d8d[a0_0xf68f23(0x3b4)]=a0_0xf68f23(0x335),a0_0xa42d8d[a0_0xf68f23(0x3b1)]=a0_0xf68f23(0x2c1),a0_0xa42d8d[a0_0xf68f23(0x348)]=a0_0xf68f23(0x292),a0_0xa42d8d[a0_0xf68f23(0x1bc)]='创建',a0_0xa42d8d[a0_0xf68f23(0x410)]='更新',a0_0xa42d8d[a0_0xf68f23(0x3dc)]='删除',a0_0xa42d8d[a0_0xf68f23(0x2c0)]=a0_0xf68f23(0x29f),a0_0xa42d8d['getFileUrl']='获取文件URL',a0_0xa42d8d[a0_0xf68f23(0x389)]=a0_0xf68f23(0x2e9),a0_0xa42d8d[a0_0xf68f23(0x411)]=a0_0xf68f23(0x3a6),a0_0xa42d8d[a0_0xf68f23(0x379)]=a0_0xf68f23(0x35b),a0_0xa42d8d[a0_0xf68f23(0x311)]='创建导出',a0_0xa42d8d['taskInfo']=a0_0xf68f23(0x1de),a0_0xa42d8d['importTemplate']=a0_0xf68f23(0x1e2);var OPERATION_TYPE_DISPLAY_NAME=a0_0xa42d8d,API_BLACKLIST=[a0_0xf68f23(0x2a6),'getOneOrigin','getOneUpdate',a0_0xf68f23(0x1ed)];function parseFieldExtend(_0x6f0d29){const _0x155b0a=a0_0xf68f23;if(!_0x6f0d29||typeof _0x6f0d29!==_0x155b0a(0x43a))return!![]&&console[_0x155b0a(0x359)](_0x155b0a(0x3bf),_0x6f0d29),{};if(!_0x6f0d29[_0x155b0a(0x3c9)])return{};try{const _0x2a85fd=typeof _0x6f0d29['extend']===_0x155b0a(0x3d4)?JSON[_0x155b0a(0x28b)](_0x6f0d29['extend']):_0x6f0d29[_0x155b0a(0x3c9)];if(typeof _0x2a85fd!==_0x155b0a(0x43a)||_0x2a85fd===null)return{};return _0x2a85fd;}catch{return{};}}function isPrimaryKeyField(_0x29fe78,_0x3cfa1e){const _0x1c5fc9=a0_0xf68f23;if(!_0x29fe78||typeof _0x29fe78!==_0x1c5fc9(0x43a))return![];if(typeof _0x3cfa1e===_0x1c5fc9(0x3d4)&&_0x29fe78['code']===_0x3cfa1e)return!![];const _0x53faa2=parseFieldExtend(_0x29fe78);return Boolean(_0x53faa2[_0x1c5fc9(0x34b)]||_0x53faa2[_0x1c5fc9(0x3f8)]);}function isSystemField(_0x317cb9){const _0x40f9de=a0_0xf68f23,_0x29333a=parseFieldExtend(_0x317cb9);return Boolean(_0x29333a[_0x40f9de(0x1ee)]);}function isRequiredField(_0x5ae175){const _0x11e36a=a0_0xf68f23,_0x5b7473=parseFieldExtend(_0x5ae175);return Boolean(_0x5b7473[_0x11e36a(0x283)]);}function isAutoIncrementField(_0x260157){const _0x3270ee=parseFieldExtend(_0x260157);return Boolean(_0x3270ee['autoIncrement']);}function isCreateTimeField(_0x2ac578){const _0x204bc5=a0_0xf68f23,_0x299657=parseFieldExtend(_0x2ac578);return Boolean(_0x299657[_0x204bc5(0x2ac)]);}function isModifyTimeField(_0x5c6533){const _0x20c23b=a0_0xf68f23,_0xfd46c=parseFieldExtend(_0x5c6533);return Boolean(_0xfd46c[_0x20c23b(0x253)]);}const a0_0x19082d={};a0_0x19082d['NUMBER']='数字',a0_0x19082d[a0_0xf68f23(0x295)]='文本',a0_0x19082d[a0_0xf68f23(0x330)]='长文本',a0_0x19082d['DATE']='日期',a0_0x19082d[a0_0xf68f23(0x24d)]='日期时间',a0_0x19082d[a0_0xf68f23(0x27c)]=a0_0xf68f23(0x300),a0_0x19082d[a0_0xf68f23(0x3b5)]=a0_0xf68f23(0x1b7),a0_0x19082d[a0_0xf68f23(0x357)]='多选',a0_0x19082d[a0_0xf68f23(0x343)]='单选',a0_0x19082d[a0_0xf68f23(0x308)]='开关',a0_0x19082d[a0_0xf68f23(0x1ce)]=a0_0xf68f23(0x222),a0_0x19082d['IMAGE']='图片',a0_0x19082d[a0_0xf68f23(0x2c9)]=a0_0xf68f23(0x210),a0_0x19082d[a0_0xf68f23(0x310)]=a0_0xf68f23(0x310),a0_0x19082d['ARRAY']='数组';var DB_TYPE_DISPLAY_MAP=a0_0x19082d;function getDbTypeDisplay(_0x56ad42){const _0x31e6fd=a0_0xf68f23;if(typeof _0x56ad42!==_0x31e6fd(0x3d4))return!![]&&console['warn'](_0x31e6fd(0x3f7),_0x56ad42),String(_0x56ad42||'-');return DB_TYPE_DISPLAY_MAP[_0x56ad42]||_0x56ad42;}function formatDbType(_0x1a6734,_0x55d03b){const _0x478891=a0_0xf68f23;if(!_0x1a6734||typeof _0x1a6734!=='string')return'-';if(!_0x55d03b||typeof _0x55d03b!=='number')return _0x1a6734;const _0x46f4b9=[_0x478891(0x295),_0x478891(0x24d),'TIMESTAMP','DATE'];if(_0x46f4b9[_0x478891(0x3bb)](_0x1a6734[_0x478891(0x29a)]()))return _0x1a6734;return _0x1a6734+'('+_0x55d03b+')';}function parseOperationType(_0x45700e){const _0x16227e=a0_0xf68f23;if(typeof _0x45700e!==_0x16227e(0x3d4)){!![]&&console[_0x16227e(0x359)](_0x16227e(0x25d),_0x45700e);return;}if(Object[_0x16227e(0x36c)](DatasetOperationType)['includes'](_0x45700e))return _0x45700e;const _0x2f171b=Object[_0x16227e(0x1b4)](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x594454,_0x20ce0a])=>_0x20ce0a===_0x45700e);return _0x2f171b?_0x2f171b[0x0]:undefined;}function shouldIncludeField(_0x5055bf,_0xd6f497,_0x1a2cc6){const _0x5ce6e2=a0_0xf68f23,_0x12d0fe=parseFieldExtend(_0x5055bf),_0x268b83=isPrimaryKeyField(_0x5055bf,_0x1a2cc6),_0x2eff68=Boolean(_0x12d0fe[_0x5ce6e2(0x1ee)]),_0x1a601b=Boolean(_0x12d0fe[_0x5ce6e2(0x26a)]),_0x165834=Boolean(_0x12d0fe[_0x5ce6e2(0x2ac)]),_0x52f21c=Boolean(_0x12d0fe[_0x5ce6e2(0x253)]);switch(_0xd6f497){case'getList':return!![];case _0x5ce6e2(0x3b4):case'getOneOrigin':case _0x5ce6e2(0x3dc):return _0x268b83;case'create':if(_0x268b83&&_0x1a601b)return![];if(_0x2eff68)return![];if(_0x165834||_0x52f21c)return![];return!![];case'update':case'getOneUpdate':if(_0x268b83)return!![];if(_0x2eff68)return![];if(_0x165834||_0x52f21c)return![];return!![];case _0x5ce6e2(0x2c0):return _0x5055bf[_0x5ce6e2(0x40e)]===_0x5ce6e2(0x40e);default:return!![];}}function getFieldsForOperation(_0x5d6db4,_0x570f73,_0x567aa0){const _0x5b8076=a0_0xf68f23;if(!Array[_0x5b8076(0x30c)](_0x5d6db4))return!![]&&console['warn'](_0x5b8076(0x1b0),_0x5d6db4),[];return _0x5d6db4[_0x5b8076(0x1d7)](_0x4305d8=>shouldIncludeField(_0x4305d8,_0x570f73,_0x567aa0));}function isApiBlacklisted(_0x522562){const _0x515b86=a0_0xf68f23;if(typeof _0x522562!=='string')return!![]&&console[_0x515b86(0x359)](_0x515b86(0x215),_0x522562),![];return API_BLACKLIST[_0x515b86(0x3bb)](_0x522562);}function filterApiOperations(_0x52a527){const _0x536589=a0_0xf68f23;if(!Array[_0x536589(0x30c)](_0x52a527))return!![]&&console[_0x536589(0x359)](_0x536589(0x238),_0x52a527),[];return _0x52a527[_0x536589(0x1d7)](_0x1100c6=>_0x1100c6&&typeof _0x1100c6===_0x536589(0x43a)&&!isApiBlacklisted(_0x1100c6[_0x536589(0x30b)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0xf68f23(0x1cb)](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x1cd5d3})=>{const _0x44e53a=a0_0xf68f23;if(_0x1cd5d3?.[_0x44e53a(0x226)]&&Array[_0x44e53a(0x30c)](_0x1cd5d3[_0x44e53a(0x226)])&&_0x1cd5d3[_0x44e53a(0x226)][_0x44e53a(0x34c)]>0x0)return _0x1cd5d3[_0x44e53a(0x226)][0x0][_0x44e53a(0x45e)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x20bd45})=>{const _0x2697e3=a0_0xf68f23;if(_0x20bd45===_0x2697e3(0x25f))return 0x1;if(_0x20bd45===_0x2697e3(0x2ec))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x17eca0})=>{const _0x426bba=a0_0xf68f23;if(_0x17eca0&&typeof _0x17eca0==='string'){const _0x2877b5=_0x17eca0[_0x426bba(0x3a4)]();if(_0x2877b5['includes']('邮箱')||_0x2877b5[_0x426bba(0x3bb)](_0x426bba(0x45c)))return _0x426bba(0x252);if(_0x2877b5[_0x426bba(0x3bb)]('电话')||_0x2877b5[_0x426bba(0x3bb)]('手机')||_0x2877b5['includes'](_0x426bba(0x3ee)))return'13800138000';if(_0x2877b5[_0x426bba(0x3bb)]('地址')||_0x2877b5[_0x426bba(0x3bb)]('address'))return'北京市朝阳区';if(_0x2877b5[_0x426bba(0x3bb)]('姓名')||_0x2877b5[_0x426bba(0x3bb)](_0x426bba(0x30b)))return'张三';}return _0x426bba(0x1e3);},'VARCHAR':({description:_0x46f640})=>TYPE_VALUE_GENERATORS[a0_0xf68f23(0x295)]({'description':_0x46f640}),'CHAR':({description:_0x3735fd})=>TYPE_VALUE_GENERATORS[a0_0xf68f23(0x295)]({'description':_0x3735fd}),'STRING':({fieldInfo:_0x4896fb,description:_0x2350d6})=>{const _0x15c515=a0_0xf68f23;if(_0x4896fb?.['placeholder']&&typeof _0x4896fb[_0x15c515(0x324)]==='string'&&_0x4896fb['placeholder']!==_0x15c515(0x428))return _0x4896fb[_0x15c515(0x324)][_0x15c515(0x3c0)](/^请输入|^请选择/,'');const _0x3b0412={};return _0x3b0412['description']=_0x2350d6,TYPE_VALUE_GENERATORS['TEXT'](_0x3b0412);},'TEXTAREA':()=>a0_0xf68f23(0x1b2),'LONGTEXT':()=>a0_0xf68f23(0x1b2),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0xf68f23(0x45e)}),'ARRAY':()=>[a0_0xf68f23(0x2ae),a0_0xf68f23(0x3cc)],'UPLOAD':()=>a0_0xf68f23(0x244),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0xf68f23(0x3d6)};function generateExampleValue(_0x54ea60,_0x32a46b,_0x19bcee,_0x1909ed={}){const _0x26c27c=a0_0xf68f23;typeof _0x54ea60!==_0x26c27c(0x3d4)&&(!![]&&console[_0x26c27c(0x359)](_0x26c27c(0x3af),_0x54ea60),_0x54ea60=String(_0x54ea60||''));if(typeof _0x32a46b!==_0x26c27c(0x3d4))return!![]&&console[_0x26c27c(0x359)](_0x26c27c(0x3a8),_0x32a46b),_0x26c27c(0x2da);const {isPrimaryKey:_0x30c89e,dbtableConfig:_0x2b2264}=_0x1909ed;if(_0x30c89e)return 0x1;if(_0x2b2264&&typeof _0x2b2264==='object'){const _0x5d76fa=_0x2b2264[_0x26c27c(0x341)]?.['fieldName']===_0x54ea60,_0x16919a=_0x2b2264['updateTimeField']?.[_0x26c27c(0x24e)]===_0x54ea60;if(_0x5d76fa||_0x16919a){if(_0x19bcee&&typeof _0x19bcee===_0x26c27c(0x3d4)&&_0x19bcee[_0x26c27c(0x29a)]()[_0x26c27c(0x3bb)](_0x26c27c(0x27c)))return Date['now']();return new Date()[_0x26c27c(0x2d9)]()[_0x26c27c(0x3c0)]('T','\x20')[_0x26c27c(0x3d2)]('.')[0x0];}}const _0x5b8a09={..._0x1909ed};_0x5b8a09['fieldCode']=_0x54ea60;const _0x5cd1f6=_0x5b8a09;if(_0x19bcee&&typeof _0x19bcee===_0x26c27c(0x3d4)){const _0x6436aa=_0x19bcee['toUpperCase'](),_0x507e0c=TYPE_VALUE_GENERATORS[_0x6436aa];if(_0x507e0c)return _0x507e0c(_0x5cd1f6);}if(_0x32a46b&&typeof _0x32a46b===_0x26c27c(0x3d4)){const _0x113c05=_0x32a46b[_0x26c27c(0x29a)](),_0x22ab4c=TYPE_VALUE_GENERATORS[_0x113c05];if(_0x22ab4c)return _0x22ab4c(_0x5cd1f6);}return'示例值';}function generateExampleFromSchema(_0x3c9585,_0x2d36f8){const _0x12a450=a0_0xf68f23;if(!_0x3c9585||typeof _0x3c9585!==_0x12a450(0x43a))return{};if(Array[_0x12a450(0x30c)](_0x3c9585)){if(_0x3c9585[_0x12a450(0x34c)]>0x0)return[generateExampleFromSchema(_0x3c9585[0x0],_0x2d36f8)];return[];}const _0x2c576b={};return Object[_0x12a450(0x383)](_0x3c9585)[_0x12a450(0x1df)](_0x4b2e33=>{const _0x47e5c6=_0x12a450,_0x254b33=_0x3c9585[_0x4b2e33];if(_0x254b33&&typeof _0x254b33==='object'&&!Array[_0x47e5c6(0x30c)](_0x254b33)&&_0x254b33[_0x47e5c6(0x282)]){const _0x4c2ca0=_0x254b33,_0x34f3f4=_0x4c2ca0['type'],_0x14a6b6=_0x4c2ca0[_0x47e5c6(0x1e7)];if(typeof _0x34f3f4===_0x47e5c6(0x3d4)){const _0x43a722={};_0x43a722[_0x47e5c6(0x1e7)]=_0x14a6b6,_0x43a722[_0x47e5c6(0x26d)]=_0x2d36f8,_0x2c576b[_0x4b2e33]=generateExampleValue(_0x4b2e33,_0x34f3f4,undefined,_0x43a722);}else _0x2c576b[_0x4b2e33]='示例值';}else{if(Array[_0x47e5c6(0x30c)](_0x254b33))_0x2c576b[_0x4b2e33]=_0x254b33[_0x47e5c6(0x34c)]>0x0?[generateExampleFromSchema(_0x254b33[0x0],_0x2d36f8)]:[];else _0x254b33&&typeof _0x254b33===_0x47e5c6(0x43a)?_0x2c576b[_0x4b2e33]=generateExampleFromSchema(_0x254b33,_0x2d36f8):_0x2c576b[_0x4b2e33]=_0x254b33;}}),_0x2c576b;}function parseRequestBody(_0x3dfc11){const _0x56e5dd=a0_0xf68f23;if(!_0x3dfc11)return{};try{return JSON[_0x56e5dd(0x28b)](_0x3dfc11);}catch(_0x3e9e56){return!![]&&console['warn'](_0x56e5dd(0x385),_0x3e9e56),{};}}function parseResponseBody(_0x391c48){const _0x517c3e=a0_0xf68f23;if(!_0x391c48)return null;try{const _0x2b6736=JSON['parse'](_0x391c48);return _0x2b6736[_0x517c3e(0x2ba)]||_0x2b6736;}catch(_0x25bfc7){return!![]&&console[_0x517c3e(0x359)](_0x517c3e(0x2b4),_0x25bfc7),null;}}function generateRequestExample(_0x1b1fb0,_0x29bf2b,_0x211d19,_0x2d6ff6){const _0x4e616a=a0_0xf68f23,_0x460dd2={};if(!Array['isArray'](_0x1b1fb0))return!![]&&console[_0x4e616a(0x359)](_0x4e616a(0x293),_0x1b1fb0),_0x460dd2;return _0x1b1fb0[_0x4e616a(0x1df)](_0x248e54=>{const _0x39f78b=_0x4e616a;if(!_0x248e54||typeof _0x248e54!==_0x39f78b(0x43a)){!![]&&console[_0x39f78b(0x359)]('[generateRequestExample]\x20Invalid\x20field:',_0x248e54);return;}if(typeof _0x248e54[_0x39f78b(0x40e)]!==_0x39f78b(0x3d4)||typeof _0x248e54['type']!=='string'){!![]&&console['warn'](_0x39f78b(0x3b6),_0x248e54);return;}const _0x169bfa=parseFieldExtend(_0x248e54),_0x5db3b0=_0x248e54[_0x39f78b(0x40e)]===_0x211d19||Boolean(_0x169bfa?.['primaryKey']),_0x27b756=generateExampleValue(_0x248e54[_0x39f78b(0x40e)],_0x248e54[_0x39f78b(0x282)],typeof _0x248e54[_0x39f78b(0x264)]===_0x39f78b(0x3d4)?_0x248e54[_0x39f78b(0x264)]:undefined,{'fieldInfo':_0x169bfa,'isPrimaryKey':_0x5db3b0,'description':_0x248e54[_0x39f78b(0x1e7)]||_0x248e54[_0x39f78b(0x30b)],'dbtableConfig':_0x2d6ff6});_0x460dd2[_0x248e54[_0x39f78b(0x40e)]]=_0x27b756;}),_0x29bf2b===_0x4e616a(0x2a6)&&(_0x460dd2[_0x4e616a(0x25f)]=0x1,_0x460dd2[_0x4e616a(0x2ec)]=0xa),_0x460dd2;}function formatEnumValue(_0x4aae1e,_0x57c0d7){const _0x5f268d=a0_0xf68f23;if(_0x4aae1e[_0x5f268d(0x3ab)]&&Array['isArray'](_0x57c0d7))return _0x57c0d7[_0x5f268d(0x336)](_0xc5ca8f=>_0x4aae1e['valueLabels'][String(_0xc5ca8f)]||String(_0xc5ca8f))[_0x5f268d(0x36f)](',\x20');return _0x4aae1e[_0x5f268d(0x1f8)][String(_0x57c0d7)]||String(_0x57c0d7);}function formatOptionsForDoc(_0x2bb1ed){const _0x47bd76=a0_0xf68f23;return _0x2bb1ed[_0x47bd76(0x336)](_0x26558e=>_0x26558e['value']+'('+_0x26558e['label']+')')[_0x47bd76(0x36f)](',\x20');}function formatOptionsAsMarkdownList(_0x568d5b,_0x49d3a5=0x0){const _0x87b555=a0_0xf68f23,_0x3d116c='\x20\x20'[_0x87b555(0x3e4)](_0x49d3a5),_0x47f8af=[];return _0x568d5b['forEach'](_0x36fd31=>{const _0x4d1595=_0x87b555;_0x47f8af[_0x4d1595(0x387)](_0x3d116c+'-\x20`'+_0x36fd31[_0x4d1595(0x45e)]+_0x4d1595(0x278)+_0x36fd31[_0x4d1595(0x3d5)]),_0x36fd31[_0x4d1595(0x1d4)]&&_0x36fd31[_0x4d1595(0x1d4)][_0x4d1595(0x34c)]>0x0&&_0x47f8af[_0x4d1595(0x387)](formatOptionsAsMarkdownList(_0x36fd31[_0x4d1595(0x1d4)],_0x49d3a5+0x1));}),_0x47f8af[_0x87b555(0x36f)]('\x0a');}class DbtableConfig{[a0_0xf68f23(0x2e3)];constructor(_0x3f3cc6){const _0x51edbd=a0_0xf68f23,_0x5e1f85={..._0x3f3cc6};this[_0x51edbd(0x2e3)]=_0x5e1f85;}get['dbId'](){return this['_raw']['dbId'];}get[a0_0xf68f23(0x340)](){const _0x104a17=a0_0xf68f23;return this[_0x104a17(0x2e3)][_0x104a17(0x340)]??this[_0x104a17(0x2e3)][_0x104a17(0x3fc)]?.[_0x104a17(0x340)];}get['tableName'](){const _0x57ff99=a0_0xf68f23;return this[_0x57ff99(0x2e3)][_0x57ff99(0x27f)];}get['datasetKey'](){const _0x1d1b52=a0_0xf68f23;return this['_raw'][_0x1d1b52(0x384)];}get[a0_0xf68f23(0x3f8)](){const _0x3b3e42=a0_0xf68f23;return this[_0x3b3e42(0x2e3)]['pkField'];}get[a0_0xf68f23(0x42f)](){const _0x531d54=a0_0xf68f23;return this[_0x531d54(0x2e3)]['labelField'];}get[a0_0xf68f23(0x254)](){return this['_raw']['logicField'];}get[a0_0xf68f23(0x341)](){const _0x44f40a=a0_0xf68f23;return this[_0x44f40a(0x2e3)][_0x44f40a(0x341)];}get[a0_0xf68f23(0x280)](){const _0x3b6a80=a0_0xf68f23;return this[_0x3b6a80(0x2e3)][_0x3b6a80(0x280)];}get[a0_0xf68f23(0x3d1)](){const _0x21adf2=a0_0xf68f23;return this[_0x21adf2(0x2e3)][_0x21adf2(0x3d1)];}get['creatorNameField'](){const _0x18e8ad=a0_0xf68f23;return this[_0x18e8ad(0x2e3)][_0x18e8ad(0x28c)];}get[a0_0xf68f23(0x33c)](){const _0x11bff6=a0_0xf68f23;return this[_0x11bff6(0x2e3)][_0x11bff6(0x33c)];}get[a0_0xf68f23(0x3c2)](){const _0x21dd9e=a0_0xf68f23;return this[_0x21dd9e(0x2e3)][_0x21dd9e(0x3c2)];}get[a0_0xf68f23(0x3fc)](){const _0x3aa41a=a0_0xf68f23;return this[_0x3aa41a(0x2e3)][_0x3aa41a(0x3fc)];}[a0_0xf68f23(0x270)](){const _0x13108d=a0_0xf68f23;if(!this['_raw'][_0x13108d(0x2fe)])return[];return this['_raw'][_0x13108d(0x2fe)][_0x13108d(0x3d2)](',')[_0x13108d(0x336)](_0x52c21f=>_0x52c21f[_0x13108d(0x2cb)]())[_0x13108d(0x1d7)](Boolean);}[a0_0xf68f23(0x3a2)](){const _0x44ef5c=a0_0xf68f23;return this[_0x44ef5c(0x2e3)][_0x44ef5c(0x2fe)];}[a0_0xf68f23(0x3c7)](_0x34259d){const _0x2f5e51=a0_0xf68f23;return this['getAllFieldsArray']()[_0x2f5e51(0x3bb)](_0x34259d);}[a0_0xf68f23(0x1c4)](){const _0xfd3d73=a0_0xf68f23;return Boolean(this[_0xfd3d73(0x2e3)][_0xfd3d73(0x27f)]);}['hasDblinkInfo'](){const _0x576307=a0_0xf68f23;return Boolean(this[_0x576307(0x2e3)][_0x576307(0x3fc)]);}['hasLogicField'](){const _0x7815b8=a0_0xf68f23;return Boolean(this[_0x7815b8(0x2e3)][_0x7815b8(0x254)]?.[_0x7815b8(0x24e)]);}[a0_0xf68f23(0x240)](){const _0x3e6462=a0_0xf68f23;return Boolean(this[_0x3e6462(0x2e3)][_0x3e6462(0x341)]?.[_0x3e6462(0x24e)]);}[a0_0xf68f23(0x266)](){const _0x26d342=a0_0xf68f23;return Boolean(this[_0x26d342(0x2e3)]['updateTimeField']?.['fieldName']);}[a0_0xf68f23(0x320)](){const _0xe0e21=a0_0xf68f23;return Boolean(this['_raw'][_0xe0e21(0x3d1)]?.[_0xe0e21(0x24e)]);}[a0_0xf68f23(0x32e)](){const _0x2a4d25=a0_0xf68f23;return Boolean(this[_0x2a4d25(0x2e3)][_0x2a4d25(0x33c)]?.[_0x2a4d25(0x24e)]);}[a0_0xf68f23(0x2c2)](_0x432550){const _0x3fa414=a0_0xf68f23;return this[_0x3fa414(0x2e3)][_0x3fa414(0x3f8)]===_0x432550;}['isSystemField'](_0x2e8e7a){const _0xd13dab=a0_0xf68f23;return this['isPrimaryKeyField'](_0x2e8e7a)||this[_0xd13dab(0x2e3)][_0xd13dab(0x254)]?.[_0xd13dab(0x24e)]===_0x2e8e7a||this['_raw'][_0xd13dab(0x341)]?.[_0xd13dab(0x24e)]===_0x2e8e7a||this[_0xd13dab(0x2e3)][_0xd13dab(0x280)]?.['fieldName']===_0x2e8e7a||this[_0xd13dab(0x2e3)][_0xd13dab(0x3d1)]?.[_0xd13dab(0x24e)]===_0x2e8e7a||this[_0xd13dab(0x2e3)][_0xd13dab(0x28c)]?.[_0xd13dab(0x24e)]===_0x2e8e7a||this[_0xd13dab(0x2e3)][_0xd13dab(0x33c)]?.[_0xd13dab(0x24e)]===_0x2e8e7a||this[_0xd13dab(0x2e3)][_0xd13dab(0x3c2)]?.[_0xd13dab(0x24e)]===_0x2e8e7a;}[a0_0xf68f23(0x396)](){const _0x471cb4=a0_0xf68f23;return this[_0x471cb4(0x2e3)][_0x471cb4(0x3fc)]?.[_0x471cb4(0x340)];}[a0_0xf68f23(0x3cb)](){const _0x4dc17c=a0_0xf68f23;return this['_raw'][_0x4dc17c(0x3fc)]?.['dbType'];}[a0_0xf68f23(0x296)](){const _0x416e6c=a0_0xf68f23;return this[_0x416e6c(0x2e3)][_0x416e6c(0x3fc)]?.[_0x416e6c(0x1aa)];}[a0_0xf68f23(0x20b)](){const _0x13d0ec=a0_0xf68f23;return this[_0x13d0ec(0x2e3)][_0x13d0ec(0x3fc)]?.['tenantCode'];}[a0_0xf68f23(0x1bd)](){const _0x35905d=a0_0xf68f23;return this['_raw'][_0x35905d(0x3fc)]?.['appCode'];}[a0_0xf68f23(0x1ab)](){const _0xa9ff47=a0_0xf68f23;return this[_0xa9ff47(0x2e3)][_0xa9ff47(0x3fc)]?.[_0xa9ff47(0x28a)];}[a0_0xf68f23(0x246)](){const _0x3d8796=a0_0xf68f23;return{'hasTableName':this['hasTableName'](),'hasDblinkInfo':this[_0x3d8796(0x445)](),'fieldCount':this[_0x3d8796(0x270)]()[_0x3d8796(0x34c)],'systemFields':{'hasLogicField':this[_0x3d8796(0x242)](),'hasCreateTimeField':this[_0x3d8796(0x240)](),'hasUpdateTimeField':this[_0x3d8796(0x266)](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x3d8796(0x32e)]()}};}[a0_0xf68f23(0x20c)](){const _0x1c6bc6=a0_0xf68f23,_0x307db9={};return _0x307db9[_0x1c6bc6(0x27f)]=this[_0x1c6bc6(0x27f)],_0x307db9['pkField']=this['pkField'],_0x307db9[_0x1c6bc6(0x384)]=this[_0x1c6bc6(0x384)],_0x307db9[_0x1c6bc6(0x33d)]=this[_0x1c6bc6(0x33d)],_0x307db9;}[a0_0xf68f23(0x277)](){const _0x269e3c=a0_0xf68f23,_0x4f79e5={...this[_0x269e3c(0x2e3)]};return _0x4f79e5;}[a0_0xf68f23(0x201)](){const _0x3944b3={...this['_raw']};return _0x3944b3;}['toString'](){const _0x1eb7f4=a0_0xf68f23,_0x13d850=this[_0x1eb7f4(0x27f)]||_0x1eb7f4(0x2aa),_0x476db7=this[_0x1eb7f4(0x270)]()[_0x1eb7f4(0x34c)];return _0x1eb7f4(0x294)+_0x13d850+_0x1eb7f4(0x2f0)+_0x476db7+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0xf68f23(0x2e3)];constructor(_0x88cb1d){const _0x4863e9=a0_0xf68f23,_0x3e0bf0=_0x88cb1d[_0x4863e9(0x362)]||_0x88cb1d[_0x4863e9(0x40e)]||_0x88cb1d[_0x4863e9(0x3a1)],_0x27b942={..._0x88cb1d};_0x27b942['datasetCode']=_0x3e0bf0,this[_0x4863e9(0x2e3)]=_0x27b942;}get['id'](){const _0x367656=a0_0xf68f23;return this[_0x367656(0x2e3)]['id'];}get[a0_0xf68f23(0x30b)](){const _0x2fc469=a0_0xf68f23;return this[_0x2fc469(0x2e3)][_0x2fc469(0x30b)];}['getName'](){const _0x3459e1=a0_0xf68f23;return this[_0x3459e1(0x30b)];}get['datasetCode'](){const _0x331d7c=a0_0xf68f23;return this[_0x331d7c(0x2e3)][_0x331d7c(0x362)]||'';}get[a0_0xf68f23(0x26d)](){const _0x2a124a=a0_0xf68f23;if(!this[_0x2a124a(0x2e3)][_0x2a124a(0x26d)])return null;return new DbtableConfig(this['_raw']['dbtableConfig']);}[a0_0xf68f23(0x298)](){const _0x3f163e=a0_0xf68f23;return this['_raw'][_0x3f163e(0x26d)];}[a0_0xf68f23(0x346)](){const _0x467c12=a0_0xf68f23;return this[_0x467c12(0x26d)]?.[_0x467c12(0x340)]||'';}[a0_0xf68f23(0x45a)](){return getTableName(this['_raw']);}[a0_0xf68f23(0x1ac)](){const _0x567329=a0_0xf68f23;return getTableKey(this[_0x567329(0x45a)]());}[a0_0xf68f23(0x290)](){const _0x1fcd62=a0_0xf68f23;return generateModelKeyFromCode(this[_0x1fcd62(0x362)]);}[a0_0xf68f23(0x241)](){return isVirtualTableName(this['getTableName']());}[a0_0xf68f23(0x2cf)](){const _0x2eda72=a0_0xf68f23;return getTableKey(this[_0x2eda72(0x45a)]());}[a0_0xf68f23(0x20c)](){const _0x15f2c6=a0_0xf68f23,_0x4fd390=getTableKey(this['getTableName']());return{'key':_0x4fd390,'alias':_0x4fd390,'tableName':this[_0x15f2c6(0x45a)](),'datasetCode':this['datasetCode'],'name':this[_0x15f2c6(0x30b)]};}['toJSON'](){const _0x294780=a0_0xf68f23,_0x54fdf0={...this[_0x294780(0x2e3)]};return _0x54fdf0[_0x294780(0x362)]=this[_0x294780(0x362)],_0x54fdf0;}[a0_0xf68f23(0x201)](){const _0x35e54a=a0_0xf68f23,_0x1d3d15={...this[_0x35e54a(0x2e3)]};return _0x1d3d15;}[a0_0xf68f23(0x2ee)](){const _0x4c990c=a0_0xf68f23,_0x12f016=this[_0x4c990c(0x26d)];return _0x12f016!==null&&_0x12f016[_0x4c990c(0x1c4)]();}[a0_0xf68f23(0x40b)](_0x5eaa41){return this['_raw'][_0x5eaa41];}[a0_0xf68f23(0x40a)](_0x53f45e){return _0x53f45e in this['_raw'];}[a0_0xf68f23(0x250)](){const _0x291a24=a0_0xf68f23;return _0x291a24(0x26b)+this[_0x291a24(0x30b)]+',\x20'+this[_0x291a24(0x362)]+')';}}class Operation{[a0_0xf68f23(0x30b)];[a0_0xf68f23(0x2e3)];['context'];constructor(_0x34d45d,_0xe5f2e2,_0xa4d0ec){const _0x284591=a0_0xf68f23;this[_0x284591(0x30b)]=_0x34d45d,this[_0x284591(0x2e3)]=_0xe5f2e2,this[_0x284591(0x211)]=_0xa4d0ec;}[a0_0xf68f23(0x1fd)](){const _0x3f0718=a0_0xf68f23;return this[_0x3f0718(0x30b)];}[a0_0xf68f23(0x322)](){const _0x25a87f=a0_0xf68f23;return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this[_0x25a87f(0x30b)];}[a0_0xf68f23(0x43d)](){const _0x59d305=a0_0xf68f23;return parseOperationType(this[_0x59d305(0x30b)]);}[a0_0xf68f23(0x41b)](){const _0x25e765=a0_0xf68f23;return this[_0x25e765(0x2e3)]!==null&&this['_raw']!==![];}['getMethod'](){const _0x45a0a8=a0_0xf68f23,_0x503c42=this[_0x45a0a8(0x2e3)];if(_0x503c42===![]||_0x503c42===null)return'';return _0x503c42[_0x45a0a8(0x321)]||_0x45a0a8(0x334);}['getPath'](){const _0x1ba7c1=a0_0xf68f23,_0x326bbd=this[_0x1ba7c1(0x2e3)];if(_0x326bbd===![]||_0x326bbd===null)return'';return _0x326bbd['path']||'';}[a0_0xf68f23(0x382)](){const _0x27b46a=a0_0xf68f23,_0x403f76=this[_0x27b46a(0x2e3)];let _0x3edacf='';_0x403f76!==![]&&_0x403f76!==null&&_0x403f76[_0x27b46a(0x248)]&&(_0x3edacf=_0x403f76['host']);const _0x218aa5=this[_0x27b46a(0x2e2)]();return _0x3edacf&&_0x218aa5?''+_0x3edacf+_0x218aa5:_0x218aa5;}[a0_0xf68f23(0x376)](){const _0x434709=a0_0xf68f23,_0x3906eb=this[_0x434709(0x2e3)];if(_0x3906eb===![]||_0x3906eb===null||!_0x3906eb['requestBody'])return{};try{return JSON[_0x434709(0x28b)](_0x3906eb[_0x434709(0x237)]);}catch{return{};}}[a0_0xf68f23(0x312)](){const _0x29fbd4=a0_0xf68f23,_0xcd8232=this[_0x29fbd4(0x2e3)];if(_0xcd8232===![]||_0xcd8232===null||!_0xcd8232[_0x29fbd4(0x2db)])return null;return parseResponseBody(_0xcd8232[_0x29fbd4(0x2db)]);}[a0_0xf68f23(0x299)](){const _0x42a214=a0_0xf68f23;return this[_0x42a214(0x376)]();}['getResponseSchema'](){return this['parseRawResponseBody']();}[a0_0xf68f23(0x1cd)](){const _0xbd6f83=a0_0xf68f23,_0x52cca4=this[_0xbd6f83(0x299)]();return Object[_0xbd6f83(0x383)](_0x52cca4);}['generateRequestExample'](){const _0x32822e=a0_0xf68f23,_0x17b623=this[_0x32822e(0x299)](),_0x1a83f3={};return Object[_0x32822e(0x1b4)](_0x17b623)[_0x32822e(0x1df)](([_0x13d83f,_0x252949])=>{const _0x4961c5=_0x32822e,_0x58ec72=_0x252949;_0x1a83f3[_0x13d83f]=generateExampleValue(_0x13d83f,_0x58ec72[_0x4961c5(0x282)]||_0x4961c5(0x297),undefined,{'description':_0x58ec72[_0x4961c5(0x1e7)]});}),_0x1a83f3;}[a0_0xf68f23(0x1bf)](){const _0xc22172=a0_0xf68f23;return this[_0xc22172(0x454)]();}[a0_0xf68f23(0x38b)](){const _0x4f9ebb=a0_0xf68f23,_0x211bcb=this[_0x4f9ebb(0x312)]();if(!_0x211bcb){const _0x1f489b={};return _0x1f489b['success']=!![],_0x1f489b[_0x4f9ebb(0x374)]=_0x4f9ebb(0x22e),_0x1f489b[_0x4f9ebb(0x3f1)]='',_0x1f489b[_0x4f9ebb(0x2f5)]=_0x4f9ebb(0x401),_0x1f489b[_0x4f9ebb(0x1eb)]=null,_0x1f489b;}return this[_0x4f9ebb(0x429)](_0x211bcb);}[a0_0xf68f23(0x429)](_0x1a4626){const _0x4e5696=a0_0xf68f23;if(!_0x1a4626||typeof _0x1a4626!==_0x4e5696(0x43a))return{};if(Array[_0x4e5696(0x30c)](_0x1a4626))return _0x1a4626[_0x4e5696(0x34c)]>0x0?[this[_0x4e5696(0x429)](_0x1a4626[0x0])]:[];const _0x27d973={};for(const [_0x59751e,_0x23c73d]of Object[_0x4e5696(0x1b4)](_0x1a4626)){if(_0x23c73d&&typeof _0x23c73d==='object'&&!Array[_0x4e5696(0x30c)](_0x23c73d)){const _0x1306ba=_0x23c73d;_0x27d973[_0x59751e]=generateExampleValue(_0x59751e,_0x1306ba[_0x4e5696(0x282)]||_0x4e5696(0x297),undefined,{'description':_0x1306ba[_0x4e5696(0x1e7)]});}else Array['isArray'](_0x23c73d)?_0x27d973[_0x59751e]=_0x23c73d[_0x4e5696(0x34c)]>0x0?[this['generateFromSchema'](_0x23c73d[0x0])]:[]:_0x27d973[_0x59751e]=_0x23c73d;}return _0x27d973;}[a0_0xf68f23(0x2eb)](_0xa82d86,_0x17c87e,_0x5bf48e,_0x45ca21){return generateExampleValue(_0xa82d86,_0x17c87e,_0x5bf48e,_0x45ca21);}[a0_0xf68f23(0x1b3)](_0x56cbe3,_0x5a88cc){const _0x4c8e05=a0_0xf68f23,_0x5acde0=this[_0x4c8e05(0x1fd)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x56cbe3+'.'+_0x5acde0+_0x4c8e05(0x212);}[a0_0xf68f23(0x3b0)](_0x4f1bf7){const _0x2ad900=a0_0xf68f23,_0x531a6c=this[_0x2ad900(0x1fd)](),_0x261e5f=_0x4f1bf7||_0x2ad900(0x2de),_0x1fa012={};return _0x1fa012[_0x2ad900(0x43f)]='const\x20data\x20=\x20await\x20client.models.'+_0x261e5f+'.'+_0x531a6c+_0x2ad900(0x212),_0x1fa012[_0x2ad900(0x2f5)]=_0x2ad900(0x2ea)+_0x261e5f+'.'+_0x531a6c+_0x2ad900(0x1f7),_0x1fa012;}['getRequestParamsDocInfo'](){const _0x26132f=a0_0xf68f23,_0x7290ee=this[_0x26132f(0x299)](),_0x14eb77=Object[_0x26132f(0x1b4)](_0x7290ee)[_0x26132f(0x336)](([_0x14aed2,_0x58f144])=>{const _0x3131f9=_0x26132f,_0x462e34=_0x58f144,_0x125dd5={};return _0x125dd5[_0x3131f9(0x30b)]=_0x14aed2,_0x125dd5[_0x3131f9(0x282)]=_0x462e34[_0x3131f9(0x282)]||_0x3131f9(0x297),_0x125dd5['description']=_0x462e34[_0x3131f9(0x1e7)]||'-',_0x125dd5[_0x3131f9(0x283)]=_0x462e34[_0x3131f9(0x283)],_0x125dd5;}),_0x1e5dc7={};return _0x1e5dc7[_0x26132f(0x39d)]=_0x14eb77,_0x1e5dc7;}[a0_0xf68f23(0x33e)](){const _0x141f4a=a0_0xf68f23,_0x409ee8=this[_0x141f4a(0x312)]();if(!_0x409ee8){const _0x256138={};return _0x256138[_0x141f4a(0x39d)]=[],_0x256138;}const _0x396a60=Object[_0x141f4a(0x1b4)](_0x409ee8)[_0x141f4a(0x336)](([_0x5a4ebe,_0x3ba743])=>{const _0x3a9b18=_0x141f4a,_0x529b59=_0x3ba743,_0x1596ce={};return _0x1596ce[_0x3a9b18(0x30b)]=_0x5a4ebe,_0x1596ce[_0x3a9b18(0x282)]=_0x529b59[_0x3a9b18(0x282)]||'String',_0x1596ce[_0x3a9b18(0x1e7)]=_0x529b59[_0x3a9b18(0x1e7)]||'-',_0x1596ce;}),_0x17ef97={};return _0x17ef97['params']=_0x396a60,_0x17ef97;}[a0_0xf68f23(0x314)](){return[];}['getBusinessFields'](){const _0xcc9999=a0_0xf68f23;return this[_0xcc9999(0x211)][_0xcc9999(0x2a1)]||[];}[a0_0xf68f23(0x19b)](){const _0x12f337=a0_0xf68f23;return{'systemFields':this[_0x12f337(0x314)](),'businessFields':this[_0x12f337(0x2fd)]()};}[a0_0xf68f23(0x31b)](_0x41a4bf){const _0x581cc4=a0_0xf68f23;return this['context'][_0x581cc4(0x2a1)][_0x581cc4(0x1b6)](_0x320626=>_0x320626?.[_0x581cc4(0x40e)]===_0x41a4bf);}[a0_0xf68f23(0x247)](_0xb85ff7){const _0x46dda3=a0_0xf68f23;return _0xb85ff7[_0x46dda3(0x40e)];}[a0_0xf68f23(0x2f2)](_0x382e50){const _0x49e548=a0_0xf68f23;return _0x382e50[_0x49e548(0x282)];}[a0_0xf68f23(0x30f)](_0x259862){const _0x634518=a0_0xf68f23;return _0x259862[_0x634518(0x30b)];}[a0_0xf68f23(0x34d)](_0x3d3e02){const _0x349303=a0_0xf68f23;return _0x3d3e02[_0x349303(0x1e7)];}['getFieldOptions'](_0x4eecdd){const _0x42ab61=a0_0xf68f23;return _0x4eecdd[_0x42ab61(0x2b0)]()||null;}[a0_0xf68f23(0x2d0)](_0x15d2af){const _0x5789ed=a0_0xf68f23;return _0x15d2af[_0x5789ed(0x3db)]();}[a0_0xf68f23(0x1e5)](){return[];}[a0_0xf68f23(0x458)](_0x367975){return[];}['toJSON'](){const _0x21c7c0=a0_0xf68f23;return{'name':this['getName'](),'displayName':this[_0x21c7c0(0x322)](),'type':this[_0x21c7c0(0x43d)](),'enabled':this[_0x21c7c0(0x41b)](),'method':this[_0x21c7c0(0x3e0)](),'path':this[_0x21c7c0(0x2e2)](),'fullUrl':this[_0x21c7c0(0x382)](),'requestParams':this[_0x21c7c0(0x299)](),'requestExample':this[_0x21c7c0(0x454)](),'responseExample':this[_0x21c7c0(0x38b)]()};}[a0_0xf68f23(0x250)](){const _0x5e1562=a0_0xf68f23,_0x27ba7c=this['isEnabled']()?'启用':'禁用';return this[_0x5e1562(0x322)]()+'('+this[_0x5e1562(0x30b)]+',\x20'+_0x27ba7c+')';}}class GenericOperation extends Operation{[a0_0xf68f23(0x2ad)];[a0_0xf68f23(0x299)](){const _0x4296d9=a0_0xf68f23;return this[_0x4296d9(0x376)]();}[a0_0xf68f23(0x405)](){const _0x8f0a28=a0_0xf68f23;return this[_0x8f0a28(0x312)]();}[a0_0xf68f23(0x454)](){const _0x398eb4=a0_0xf68f23;if(this[_0x398eb4(0x2ad)])return this['_requestExampleCache'];const _0x28114f={},_0x25973a=this['getRequestParams'](),_0x6fbd50=this['getType']();if(Object[_0x398eb4(0x383)](_0x25973a)[_0x398eb4(0x34c)]===0x0&&_0x6fbd50){const _0x114d35=this['getBusinessFields']();return _0x114d35['forEach'](_0x454dde=>{const _0xbc101d=_0x398eb4,_0x40a69e=_0x454dde[_0xbc101d(0x40e)],_0x1e9400=_0x454dde[_0xbc101d(0x282)],_0x270c4d=this[_0xbc101d(0x2eb)](_0x40a69e,_0x1e9400,_0x454dde[_0xbc101d(0x1d8)](),{'isPrimaryKey':_0x454dde[_0xbc101d(0x3db)](),'description':_0x454dde[_0xbc101d(0x1e7)]||_0x454dde[_0xbc101d(0x30b)]});_0x28114f[_0x40a69e]=_0x270c4d;}),this[_0x398eb4(0x2ad)]=_0x28114f,_0x28114f;}return Object[_0x398eb4(0x1b4)](_0x25973a)[_0x398eb4(0x1df)](([_0x456f2a,_0x1b9f75])=>{const _0x5edfb2=_0x398eb4,_0x19f60c=_0x1b9f75;let _0x435d19;if(typeof _0x19f60c[_0x5edfb2(0x282)]===_0x5edfb2(0x3d4))_0x435d19=_0x19f60c['type'];else _0x19f60c['type']&&typeof _0x19f60c[_0x5edfb2(0x282)]===_0x5edfb2(0x43a)?_0x435d19=_0x19f60c[_0x5edfb2(0x282)][_0x5edfb2(0x282)]||_0x5edfb2(0x295):_0x435d19=_0x5edfb2(0x295);const _0x58b4c2=_0x19f60c[_0x5edfb2(0x1e7)],_0x83dcf3=this[_0x5edfb2(0x31b)](_0x456f2a);if(_0x456f2a==='currentPage')_0x28114f[_0x456f2a]=0x1;else{if(_0x456f2a===_0x5edfb2(0x2ec))_0x28114f[_0x456f2a]=0xa;else{if(_0x456f2a==='id')_0x28114f[_0x456f2a]=0x1;else{const _0x59222d=_0x83dcf3?_0x83dcf3[_0x5edfb2(0x1d8)]():undefined,_0x579554=_0x83dcf3?_0x83dcf3['description']:undefined,_0xa988be=_0x83dcf3?_0x83dcf3[_0x5edfb2(0x30b)]:undefined;_0x28114f[_0x456f2a]=this[_0x5edfb2(0x2eb)](_0x456f2a,_0x435d19,_0x59222d||undefined,{'isPrimaryKey':_0x456f2a===this['context']['pkField']||_0x456f2a==='id','description':_0x58b4c2||_0x579554||_0xa988be});}}}}),this[_0x398eb4(0x2ad)]=_0x28114f,_0x28114f;}[a0_0xf68f23(0x38b)](){const _0x1e3aa1=a0_0xf68f23,_0x1455bd=this['getResponseSchema']();if(!_0x1455bd){const _0x2f674a={};return _0x2f674a['success']=!![],_0x2f674a[_0x1e3aa1(0x374)]=_0x1e3aa1(0x22e),_0x2f674a[_0x1e3aa1(0x3f1)]='',_0x2f674a['errorCode']=_0x1e3aa1(0x401),_0x2f674a[_0x1e3aa1(0x1eb)]=null,_0x2f674a;}return this['generateFromSchema'](_0x1455bd);}[a0_0xf68f23(0x429)](_0x47aefc){const _0x52f984=a0_0xf68f23;if(!_0x47aefc||typeof _0x47aefc!==_0x52f984(0x43a))return{};if(Array[_0x52f984(0x30c)](_0x47aefc)){if(_0x47aefc['length']>0x0)return[this['generateFromSchema'](_0x47aefc[0x0])];return[];}const _0x27e9c5={};return Object[_0x52f984(0x383)](_0x47aefc)['forEach'](_0x8bbb39=>{const _0x509dcc=_0x52f984,_0x1d434e=_0x47aefc[_0x8bbb39];if(_0x1d434e&&typeof _0x1d434e===_0x509dcc(0x43a)&&!Array[_0x509dcc(0x30c)](_0x1d434e)&&_0x1d434e[_0x509dcc(0x282)]){const _0x28826b=_0x1d434e;let _0xeba1e3;if(typeof _0x28826b[_0x509dcc(0x282)]===_0x509dcc(0x3d4))_0xeba1e3=_0x28826b['type'];else _0x28826b[_0x509dcc(0x282)]&&typeof _0x28826b[_0x509dcc(0x282)]==='object'?_0xeba1e3=_0x28826b[_0x509dcc(0x282)]['type']||_0x509dcc(0x295):_0xeba1e3='TEXT';const _0x5d507b=_0x28826b['description'],_0x227f90={};_0x227f90[_0x509dcc(0x1e7)]=_0x5d507b,_0x27e9c5[_0x8bbb39]=this['generateFieldExample'](_0x8bbb39,_0xeba1e3,undefined,_0x227f90);}else{if(Array[_0x509dcc(0x30c)](_0x1d434e))_0x27e9c5[_0x8bbb39]=_0x1d434e[_0x509dcc(0x34c)]>0x0?[this[_0x509dcc(0x429)](_0x1d434e[0x0])]:[];else _0x1d434e&&typeof _0x1d434e===_0x509dcc(0x43a)?_0x27e9c5[_0x8bbb39]=this[_0x509dcc(0x429)](_0x1d434e):_0x27e9c5[_0x8bbb39]=_0x1d434e;}}),_0x27e9c5;}[a0_0xf68f23(0x1b3)](_0x1d31df,_0x214ed7){const _0x4277f6=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x214ed7||{},_0x3b1593=this[_0x4277f6(0x1fd)](),_0x380632=this['getType'](),_0x560a86=this[_0x4277f6(0x1cd)](),_0x50dbd0=this['generateRequestExample'](),_0x415191=_0x4cdc58=>{const _0x3160db=_0x4277f6;if(Object[_0x3160db(0x383)](_0x4cdc58)['length']===0x0)return'{}';const _0xeb3d20=JSON[_0x3160db(0x375)](_0x4cdc58,null,0x2)[_0x3160db(0x3d2)]('\x0a')[_0x3160db(0x336)]((_0x2c0049,_0x3baffb)=>_0x3baffb===0x0?_0x2c0049:indent+_0x2c0049)[_0x3160db(0x36f)]('\x0a');return _0xeb3d20;};switch(_0x380632){case _0x4277f6(0x3b4):case'delete':return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+'(id);';case _0x4277f6(0x410):if(useFullExample&&Object['keys'](_0x50dbd0)[_0x4277f6(0x34c)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x1d31df+'.'+_0x3b1593+'(id,\x20'+_0x415191(_0x50dbd0)+');';return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+_0x4277f6(0x1ba);case _0x4277f6(0x1bc):case _0x4277f6(0x2a6):case _0x4277f6(0x2c0):default:if(_0x560a86[_0x4277f6(0x34c)]>0x0){if(useFullExample&&Object[_0x4277f6(0x383)](_0x50dbd0)[_0x4277f6(0x34c)]>0x0)return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+'('+_0x415191(_0x50dbd0)+');';else{const _0x33aacf=Object['keys'](_0x50dbd0);if(_0x33aacf[_0x4277f6(0x34c)]>0x0){const _0x5e5586=_0x33aacf[_0x4277f6(0x399)](0x0,0x2)[_0x4277f6(0x36f)](',\x20');return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+_0x4277f6(0x40f)+_0x5e5586+',\x20...\x20});';}else return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+_0x4277f6(0x42a);}}else return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+_0x4277f6(0x212);}}[a0_0xf68f23(0x3fd)](){const _0x72359=a0_0xf68f23;return[{'title':_0x72359(0x220),'data':this[_0x72359(0x454)]()}];}[a0_0xf68f23(0x314)](){const _0x7dc268=a0_0xf68f23,_0x3a3a34=this[_0x7dc268(0x43d)](),_0x3cdb95=[];switch(_0x3a3a34){case'getOne':case _0x7dc268(0x3dc):const _0x12f551={};_0x12f551[_0x7dc268(0x40e)]='id',_0x12f551[_0x7dc268(0x282)]=_0x7dc268(0x42c),_0x12f551[_0x7dc268(0x1e7)]=_0x7dc268(0x21e),_0x3cdb95[_0x7dc268(0x387)](_0x12f551);break;case _0x7dc268(0x2a6):const _0x332f25={};_0x332f25['code']='currentPage',_0x332f25[_0x7dc268(0x282)]='NUMBER',_0x332f25[_0x7dc268(0x1e7)]=_0x7dc268(0x287);const _0x4eb446={};_0x4eb446['code']=_0x7dc268(0x2ec),_0x4eb446[_0x7dc268(0x282)]=_0x7dc268(0x42c),_0x4eb446[_0x7dc268(0x1e7)]=_0x7dc268(0x1f0),_0x3cdb95['push'](_0x332f25,_0x4eb446);break;case'getSelectOptions':const _0x226122={};_0x226122['code']=_0x7dc268(0x40e),_0x226122[_0x7dc268(0x282)]='STRING',_0x226122['description']='选项编码(可选)',_0x3cdb95[_0x7dc268(0x387)](_0x226122);break;default:break;}return _0x3cdb95;}['getBusinessFields'](){const _0x5a503a=a0_0xf68f23,_0x270291=this[_0x5a503a(0x43d)](),_0x5280a9=this[_0x5a503a(0x211)][_0x5a503a(0x2a1)]||[];switch(_0x270291){case _0x5a503a(0x3b4):case _0x5a503a(0x3dc):return[];case'create':return _0x5280a9[_0x5a503a(0x1d7)](_0x5e8381=>{const _0x26f135=_0x5a503a;if(_0x5e8381[_0x26f135(0x2fa)])return![];if(_0x5e8381[_0x26f135(0x3db)]()&&_0x5e8381['isAutoIncrement']())return![];if(_0x5e8381[_0x26f135(0x21f)]())return![];if(_0x5e8381[_0x26f135(0x42e)]()||_0x5e8381['isUpdateTime']())return![];return!![];});case _0x5a503a(0x410):return _0x5280a9[_0x5a503a(0x1d7)](_0x12c77c=>{const _0x4f2f9e=_0x5a503a;if(_0x12c77c[_0x4f2f9e(0x2fa)])return![];if(_0x12c77c[_0x4f2f9e(0x3db)]())return![];if(_0x12c77c[_0x4f2f9e(0x21f)]())return![];if(_0x12c77c[_0x4f2f9e(0x42e)]()||_0x12c77c[_0x4f2f9e(0x441)]())return![];if(_0x12c77c['isAutoIncrement']())return![];return!![];});case _0x5a503a(0x2a6):case _0x5a503a(0x2c0):return _0x5280a9['filter'](_0x35d605=>!_0x35d605['deleted']&&_0x35d605[_0x5a503a(0x3ff)]());default:return _0x5280a9[_0x5a503a(0x1d7)](_0x5c2713=>!_0x5c2713[_0x5a503a(0x2fa)]&&_0x5c2713[_0x5a503a(0x3ff)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0xf68f23(0x299)](){const _0x23378c=a0_0xf68f23,_0x510197=super[_0x23378c(0x299)](),_0x285079=Object['keys'](_0x510197);if(_0x285079[_0x23378c(0x34c)]===0x0||_0x285079['length']===0x1&&_0x285079[0x0]==='code'){if(!_0x510197['code']){const _0x3c14f2={};_0x3c14f2[_0x23378c(0x282)]=_0x23378c(0x297),_0x3c14f2[_0x23378c(0x1e7)]=_0x23378c(0x2f7),_0x510197[_0x23378c(0x40e)]=_0x3c14f2;}const _0x545eb1={};_0x545eb1[_0x23378c(0x282)]=_0x23378c(0x297),_0x545eb1['description']=_0x23378c(0x269),_0x510197[_0x23378c(0x3d5)]=_0x545eb1;}return _0x510197;}['getBusinessFields'](){return[];}[a0_0xf68f23(0x314)](){const _0x3d0abb=a0_0xf68f23,_0x5b61b2={};_0x5b61b2[_0x3d0abb(0x40e)]=_0x3d0abb(0x40e),_0x5b61b2[_0x3d0abb(0x282)]=_0x3d0abb(0x297),_0x5b61b2[_0x3d0abb(0x1e7)]=_0x3d0abb(0x2f7);const _0x4d461c={};return _0x4d461c[_0x3d0abb(0x40e)]='label',_0x4d461c[_0x3d0abb(0x282)]=_0x3d0abb(0x297),_0x4d461c[_0x3d0abb(0x1e7)]='字段名称',[_0x5b61b2,_0x4d461c];}['generateRequestExample'](){const _0x1f311d=a0_0xf68f23,_0x3ab218={};return _0x3ab218['code']=_0x1f311d(0x276),_0x3ab218[_0x1f311d(0x3d5)]=_0x1f311d(0x276),_0x3ab218;}['generateSDKCallCode'](_0x27daa4){const _0x225cdb=a0_0xf68f23,_0x3a2a2e=this[_0x225cdb(0x1fd)]();return _0x225cdb(0x35f)+_0x27daa4+'.'+_0x3a2a2e+_0x225cdb(0x391);}}class GetListOperation extends GenericOperation{[a0_0xf68f23(0x299)](){const _0x141822=a0_0xf68f23,_0x3255be=super[_0x141822(0x299)](),{currentPage:_0x63a957,pageSize:_0x5a77d9,..._0x70476b}=_0x3255be,_0x174f19={};Object[_0x141822(0x1b4)](_0x70476b)[_0x141822(0x1df)](([_0x5c8d14,_0xe80a2a])=>{const _0xd99592=_0x141822;if(typeof _0xe80a2a===_0xd99592(0x43a)&&_0xe80a2a!==null){const _0x3f3a50=_0xe80a2a,_0x4af1d0=_0x3f3a50[_0xd99592(0x1e7)]||'',_0x2dc448={..._0x3f3a50};_0x2dc448[_0xd99592(0x1e7)]=_0x4af1d0?_0x4af1d0+_0xd99592(0x2e0):_0xd99592(0x2a5),_0x174f19[_0x5c8d14]=_0x2dc448;}else _0x174f19[_0x5c8d14]=_0xe80a2a;});const _0x5636a4={...typeof _0x63a957===_0x141822(0x43a)?_0x63a957:{}};_0x5636a4[_0x141822(0x282)]=_0x141822(0x37e),_0x5636a4[_0x141822(0x1e7)]=_0x141822(0x287);const _0x439ca8={...typeof _0x5a77d9===_0x141822(0x43a)?_0x5a77d9:{}};_0x439ca8['type']='Number',_0x439ca8[_0x141822(0x1e7)]=_0x141822(0x3b9);const _0x4880d1={..._0x174f19};return _0x4880d1[_0x141822(0x25f)]=_0x5636a4,_0x4880d1[_0x141822(0x2ec)]=_0x439ca8,_0x4880d1;}[a0_0xf68f23(0x454)](_0x1bfe9e){const _0x329339=a0_0xf68f23,{useArrayValues:useArrayValues=!![]}=_0x1bfe9e||{},_0x54e71c=super[_0x329339(0x454)](),{currentPage:_0x2c001a,pageSize:_0x252ab5,..._0x1e3cd8}=_0x54e71c;if(!useArrayValues){const _0x5cc6f7={..._0x1e3cd8};return _0x5cc6f7['currentPage']=_0x2c001a??0x1,_0x5cc6f7['pageSize']=_0x252ab5??0xa,_0x5cc6f7;}const _0x2097e6={},_0x3cfc3e=['id',_0x329339(0x20e),_0x329339(0x40e),_0x329339(0x282)];Object[_0x329339(0x1b4)](_0x1e3cd8)[_0x329339(0x1df)](([_0x5c0afd,_0x5e5102],_0x3e1ce6)=>{const _0x16a56b=_0x329339,_0x412dcc=_0x3cfc3e[_0x16a56b(0x3fb)](_0x39a4b0=>_0x5c0afd[_0x16a56b(0x3a4)]()[_0x16a56b(0x3bb)](_0x39a4b0))||_0x3e1ce6%0x3===0x0;if(_0x412dcc&&_0x5e5102!==null&&_0x5e5102!==undefined){if(typeof _0x5e5102===_0x16a56b(0x404))_0x2097e6[_0x5c0afd]=[_0x5e5102,_0x5e5102+0x1,_0x5e5102+0x2];else typeof _0x5e5102===_0x16a56b(0x3d4)?_0x2097e6[_0x5c0afd]=[_0x5e5102,_0x5e5102+'_2',_0x5e5102+'_3']:_0x2097e6[_0x5c0afd]=[_0x5e5102];}else _0x2097e6[_0x5c0afd]=_0x5e5102;});const _0x2bcc09={..._0x2097e6};return _0x2bcc09[_0x329339(0x25f)]=_0x2c001a??0x1,_0x2bcc09[_0x329339(0x2ec)]=_0x252ab5??0xa,_0x2bcc09;}[a0_0xf68f23(0x3a5)](){const _0x19fa64=a0_0xf68f23,_0x19898f={};return _0x19898f[_0x19fa64(0x45b)]=![],this[_0x19fa64(0x454)](_0x19898f);}[a0_0xf68f23(0x3fd)](){const _0xd6d296=a0_0xf68f23;return[{'title':_0xd6d296(0x1fb),'description':'查询单个条件','data':this['generateSingleValueExample']()},{'title':_0xd6d296(0x422),'description':'支持多个条件','data':this[_0xd6d296(0x454)]()}];}[a0_0xf68f23(0x1b3)](_0xb4fcab,_0x21adb5){const _0x30d133=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x21adb5||{},_0x263ffb=this['getName'](),_0x29e992={};_0x29e992[_0x30d133(0x45b)]=!![];const _0x2888d1=this[_0x30d133(0x454)](_0x29e992),{currentPage:_0x14db42,pageSize:_0x5da6ca,..._0x116d4e}=_0x2888d1;if(useFullExample&&Object['keys'](_0x2888d1)[_0x30d133(0x34c)]>0x0){const _0x384489=Object['keys'](_0x116d4e)[_0x30d133(0x34c)]>0x0;if(_0x384489){const _0x185a8c=this[_0x30d133(0x3a5)](),_0x2e14a6=_0xa38651=>{const _0x5bd286=_0x30d133;return JSON['stringify'](_0xa38651,null,0x2)[_0x5bd286(0x3d2)]('\x0a')[_0x5bd286(0x336)]((_0x2fbf0d,_0x74e92e)=>_0x74e92e===0x0?_0x2fbf0d:indent+_0x2fbf0d)['join']('\x0a');};return _0x30d133(0x436)+_0xb4fcab+'.'+_0x263ffb+'('+_0x2e14a6(_0x185a8c)+_0x30d133(0x3d3)+_0xb4fcab+'.'+_0x263ffb+'('+_0x2e14a6(_0x2888d1)+');';}else{const _0x5ef827=JSON[_0x30d133(0x375)](_0x2888d1,null,0x2)[_0x30d133(0x3d2)]('\x0a')[_0x30d133(0x336)]((_0x2f4c08,_0x407964)=>_0x407964===0x0?_0x2f4c08:indent+_0x2f4c08)[_0x30d133(0x36f)]('\x0a');return _0x30d133(0x35f)+_0xb4fcab+'.'+_0x263ffb+'('+_0x5ef827+');';}}if(Object[_0x30d133(0x383)](_0x116d4e)[_0x30d133(0x34c)]>0x0){const _0x394144=Object[_0x30d133(0x383)](_0x116d4e)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0xb4fcab+'.'+_0x263ffb+_0x30d133(0x40f)+_0x394144+_0x30d133(0x32c);}return _0x30d133(0x35f)+_0xb4fcab+'.'+_0x263ffb+'({\x20currentPage,\x20pageSize\x20});';}}var AGGREGATE_FUNCTIONS=[a0_0xf68f23(0x43c),a0_0xf68f23(0x1a0),a0_0xf68f23(0x455),a0_0xf68f23(0x2c4),a0_0xf68f23(0x400)],FILTER_OPERATORS=['$eq',a0_0xf68f23(0x3dd),a0_0xf68f23(0x43e),a0_0xf68f23(0x41d),a0_0xf68f23(0x450),'$lteq',a0_0xf68f23(0x3e9),a0_0xf68f23(0x2bd),a0_0xf68f23(0x1db),a0_0xf68f23(0x232),a0_0xf68f23(0x351),a0_0xf68f23(0x26c)];class FilterOperation extends GenericOperation{constructor(_0x122509,_0x436826,_0x4dc720){super(_0x122509,_0x436826,_0x4dc720);}[a0_0xf68f23(0x1e5)](){return FILTER_OPERATORS;}[a0_0xf68f23(0x458)](_0x186dd7){const _0x25aa1f=a0_0xf68f23,_0x30a0a6=this[_0x25aa1f(0x31b)](_0x186dd7);if(!_0x30a0a6)return[];return this[_0x25aa1f(0x1d9)](_0x30a0a6);}['getRequestParams'](){const _0x1c8b75=a0_0xf68f23,_0x22515f=super[_0x1c8b75(0x299)](),_0x341d15={};_0x341d15[_0x1c8b75(0x282)]='Object',_0x341d15[_0x1c8b75(0x1e7)]=_0x1c8b75(0x1a5),_0x341d15[_0x1c8b75(0x283)]=![];const _0x3bc89f={};_0x3bc89f['type']='String[]',_0x3bc89f[_0x1c8b75(0x1e7)]=_0x1c8b75(0x1ef),_0x3bc89f[_0x1c8b75(0x283)]=![];const _0x52a25b={};_0x52a25b[_0x1c8b75(0x282)]=_0x1c8b75(0x2f9),_0x52a25b[_0x1c8b75(0x1e7)]=_0x1c8b75(0x2d6),_0x52a25b[_0x1c8b75(0x283)]=![];const _0x3f72fe={};_0x3f72fe['type']=_0x1c8b75(0x37e),_0x3f72fe[_0x1c8b75(0x1e7)]=_0x1c8b75(0x287),_0x3f72fe['required']=![],_0x3f72fe[_0x1c8b75(0x3ef)]=0x1;const _0x3d5d6a={};_0x3d5d6a[_0x1c8b75(0x282)]=_0x1c8b75(0x37e),_0x3d5d6a[_0x1c8b75(0x1e7)]=_0x1c8b75(0x3b9),_0x3d5d6a[_0x1c8b75(0x283)]=![],_0x3d5d6a['default']=0xa;const _0x5f4c32={..._0x22515f};return _0x5f4c32['where']=_0x341d15,_0x5f4c32['select']=_0x3bc89f,_0x5f4c32[_0x1c8b75(0x35d)]=_0x52a25b,_0x5f4c32[_0x1c8b75(0x25f)]=_0x3f72fe,_0x5f4c32[_0x1c8b75(0x2ec)]=_0x3d5d6a,_0x5f4c32;}[a0_0xf68f23(0x314)](){const _0x5d8b67=a0_0xf68f23,_0x429c1a=this[_0x5d8b67(0x299)](),_0x3368af=[],_0x3cb718=['where',_0x5d8b67(0x3fe),_0x5d8b67(0x35d),_0x5d8b67(0x25f),_0x5d8b67(0x2ec)];return Object[_0x5d8b67(0x1b4)](_0x429c1a)[_0x5d8b67(0x1df)](([_0x44b6c7,_0x5a13d8])=>{const _0x5ca05f=_0x5d8b67;if(_0x3cb718['includes'](_0x44b6c7)){const _0x5b402b=_0x5a13d8,_0x394e9e={};_0x394e9e[_0x5ca05f(0x40e)]=_0x44b6c7,_0x394e9e[_0x5ca05f(0x282)]=_0x5b402b['type']||_0x5ca05f(0x2e7),_0x394e9e[_0x5ca05f(0x1e7)]=_0x5b402b['description']||'-',_0x3368af[_0x5ca05f(0x387)](_0x394e9e);}}),_0x3368af;}['getBusinessFields'](){const _0x5e23a8=a0_0xf68f23;return this['context'][_0x5e23a8(0x2a1)]||[];}['getGroupedParams'](){const _0xa28271=a0_0xf68f23;return{'systemParams':this[_0xa28271(0x314)](),'businessFields':this[_0xa28271(0x2fd)]()};}[a0_0xf68f23(0x454)](){const _0x155b70=a0_0xf68f23,_0x208970=this[_0x155b70(0x211)][_0x155b70(0x2a1)]||[];if(_0x208970['length']===0x0){const _0x5cf2f1={};return _0x5cf2f1[_0x155b70(0x2dc)]={},_0x5cf2f1[_0x155b70(0x25f)]=0x1,_0x5cf2f1[_0x155b70(0x2ec)]=0x14,_0x5cf2f1;}const _0x2287ae={},_0x207b5c=_0x208970[_0x155b70(0x399)](0x0,Math['min'](0x3,_0x208970[_0x155b70(0x34c)]));_0x207b5c[_0x155b70(0x1df)](_0x517c5c=>{const _0x5554ee=_0x155b70,_0x4def20=this[_0x5554ee(0x1d9)](_0x517c5c);if(_0x4def20[_0x5554ee(0x34c)]===0x0)return;const _0x1ff3af=this[_0x5554ee(0x245)](_0x517c5c,_0x4def20),_0x1bc3ad=this[_0x5554ee(0x1d1)](_0x517c5c,_0x1ff3af),_0xfdf51={};_0xfdf51[_0x1ff3af]=_0x1bc3ad,_0x2287ae[_0x517c5c['code']]=_0xfdf51;});const _0x5e64e4=_0x208970[_0x155b70(0x399)](0x0,Math[_0x155b70(0x400)](0x5,_0x208970[_0x155b70(0x34c)]))['map'](_0x2f9dec=>_0x2f9dec[_0x155b70(0x40e)]),_0x4fb0ac=_0x208970[0x0]?_0x208970[0x0][_0x155b70(0x40e)]:'id',_0x5da945={};_0x5da945[_0x4fb0ac]=_0x155b70(0x437);const _0x7e134c={};return _0x7e134c[_0x155b70(0x2dc)]=_0x2287ae,_0x7e134c[_0x155b70(0x3fe)]=_0x5e64e4,_0x7e134c[_0x155b70(0x35d)]=[_0x5da945],_0x7e134c[_0x155b70(0x25f)]=0x1,_0x7e134c[_0x155b70(0x2ec)]=0x14,_0x7e134c;}['generateSDKCallCode'](_0x4db68f,_0x26e003){const _0x16abb0=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x26e003||{},_0x21dac5=this[_0x16abb0(0x1fd)](),_0x90b41a=this[_0x16abb0(0x454)](),_0x43bcf2=_0x4ff2e1=>{return JSON['stringify'](_0x4ff2e1,null,0x2)['split']('\x0a')['map']((_0x370a2f,_0x3ef27c)=>_0x3ef27c===0x0?_0x370a2f:indent+_0x370a2f)['join']('\x0a');};if(useFullExample){const _0x74ca44=this[_0x16abb0(0x211)][_0x16abb0(0x2a1)]||[],_0x55216f={'where':_0x74ca44[0x0]?{[_0x74ca44[0x0][_0x16abb0(0x40e)]]:{'$eq':this['generateExampleValue'](_0x74ca44[0x0],'$eq')}}:{},'select':_0x74ca44[_0x16abb0(0x399)](0x0,0x3)[_0x16abb0(0x336)](_0x50173b=>_0x50173b[_0x16abb0(0x40e)]),'currentPage':0x1,'pageSize':0x14};let _0x76aeb3='';if(_0x74ca44[_0x16abb0(0x34c)]>=0x3){const _0x127956={};_0x127956[_0x16abb0(0x351)]=[];const _0x5472a2=_0x127956,_0x3de5d4=[];if(_0x74ca44[_0x16abb0(0x34c)]>0x0){const _0x28769b=_0x74ca44['find'](_0x5bcc2f=>{const _0x70842d=_0x16abb0,_0x3f5c33=_0x5bcc2f[_0x70842d(0x1d8)]();return[_0x70842d(0x42c),_0x70842d(0x453),'BIGINT','INT',_0x70842d(0x3ca),_0x70842d(0x239)]['includes'](_0x3f5c33);});if(_0x28769b){const _0x146829={};_0x146829['$gte']=0x0,_0x146829[_0x16abb0(0x450)]=0x64;const _0x5a55b8={[_0x28769b[_0x16abb0(0x40e)]]:_0x146829};_0x3de5d4[_0x16abb0(0x387)](_0x5a55b8);}}if(_0x74ca44[_0x16abb0(0x34c)]>0x1){const _0x4b57a7=_0x74ca44[_0x16abb0(0x1b6)](_0x42cad8=>{const _0x4222bf=_0x16abb0,_0x24ffbf=_0x42cad8[_0x4222bf(0x1d8)]();return['STRING',_0x4222bf(0x295),_0x4222bf(0x33a),'CHAR',_0x4222bf(0x2d1)][_0x4222bf(0x3bb)](_0x24ffbf);});if(_0x4b57a7){const _0x49a479={};_0x49a479[_0x16abb0(0x2bd)]='keyword';const _0x2247e6={[_0x4b57a7[_0x16abb0(0x40e)]]:_0x49a479};_0x3de5d4[_0x16abb0(0x387)](_0x2247e6);}}if(_0x3de5d4[_0x16abb0(0x34c)]>0x0){_0x5472a2[_0x16abb0(0x351)]=_0x3de5d4;const _0x835f6c={'where':_0x5472a2,'select':_0x74ca44[_0x16abb0(0x399)](0x0,0x4)[_0x16abb0(0x336)](_0x484490=>_0x484490[_0x16abb0(0x40e)]),'orderBy':[{[_0x74ca44[0x0][_0x16abb0(0x40e)]]:_0x16abb0(0x437)}],'currentPage':0x1,'pageSize':0x14};_0x76aeb3=_0x16abb0(0x444)+_0x4db68f+'.'+_0x21dac5+'('+_0x43bcf2(_0x835f6c)+');';}}return _0x16abb0(0x202)+_0x4db68f+'.'+_0x21dac5+'('+_0x43bcf2(_0x55216f)+');'+_0x76aeb3;}const _0x60c2a9=JSON[_0x16abb0(0x375)](_0x90b41a,null,0x2)[_0x16abb0(0x3d2)]('\x0a')['map']((_0x4b14bb,_0x212ac8)=>_0x212ac8===0x0?_0x4b14bb:indent+_0x4b14bb)[_0x16abb0(0x36f)]('\x0a');return _0x16abb0(0x35f)+_0x4db68f+'.'+_0x21dac5+'('+_0x60c2a9+');';}[a0_0xf68f23(0x1d9)](_0x3e7061){const _0x3a79f1=a0_0xf68f23,_0x2e7637=_0x3e7061[_0x3a79f1(0x1d8)](),_0x420c0d=[];if([_0x3a79f1(0x42c),'INTEGER',_0x3a79f1(0x236),'DECIMAL'][_0x3a79f1(0x3bb)](_0x2e7637)||[_0x3a79f1(0x326),'TINYINT',_0x3a79f1(0x239),'DOUBLE',_0x3a79f1(0x1c5)][_0x3a79f1(0x3bb)](_0x2e7637))_0x420c0d[_0x3a79f1(0x387)]('$eq',_0x3a79f1(0x3dd),_0x3a79f1(0x43e),_0x3a79f1(0x450),'$gteq',_0x3a79f1(0x451),'$in');else{if(['STRING',_0x3a79f1(0x295),'VARCHAR'][_0x3a79f1(0x3bb)](_0x2e7637)||[_0x3a79f1(0x1e4),'LONGTEXT'][_0x3a79f1(0x3bb)](_0x2e7637))_0x420c0d[_0x3a79f1(0x387)](_0x3a79f1(0x3f0),_0x3a79f1(0x3dd),'$in',_0x3a79f1(0x2bd),_0x3a79f1(0x1db),_0x3a79f1(0x232));else{if([_0x3a79f1(0x39e),_0x3a79f1(0x24d),_0x3a79f1(0x27c)]['includes'](_0x2e7637)||[_0x3a79f1(0x31c)]['includes'](_0x2e7637))_0x420c0d[_0x3a79f1(0x387)](_0x3a79f1(0x3f0),_0x3a79f1(0x3dd),_0x3a79f1(0x43e),_0x3a79f1(0x450),_0x3a79f1(0x41d),_0x3a79f1(0x451));else[_0x3a79f1(0x227),_0x3a79f1(0x1fa),'BIT']['includes'](_0x2e7637)?_0x420c0d[_0x3a79f1(0x387)]('$eq',_0x3a79f1(0x3dd)):_0x420c0d[_0x3a79f1(0x387)](_0x3a79f1(0x3f0),'$ne');}}return _0x420c0d;}[a0_0xf68f23(0x245)](_0x302913,_0x237165){const _0x2a7fa0=a0_0xf68f23,_0x110e92=_0x302913['getDbTypeForOperation']();if([_0x2a7fa0(0x42c),_0x2a7fa0(0x453),_0x2a7fa0(0x236),_0x2a7fa0(0x367)]['includes'](_0x110e92)||['INT',_0x2a7fa0(0x3ca),_0x2a7fa0(0x239),_0x2a7fa0(0x3c8),'FLOAT'][_0x2a7fa0(0x3bb)](_0x110e92))return _0x237165[_0x2a7fa0(0x3bb)](_0x2a7fa0(0x43e))?'$gte':_0x2a7fa0(0x3f0);if([_0x2a7fa0(0x305),_0x2a7fa0(0x295),_0x2a7fa0(0x33a)][_0x2a7fa0(0x3bb)](_0x110e92)||[_0x2a7fa0(0x1e4),_0x2a7fa0(0x2d1)]['includes'](_0x110e92))return _0x237165['includes'](_0x2a7fa0(0x2bd))?_0x2a7fa0(0x2bd):_0x2a7fa0(0x3f0);if([_0x2a7fa0(0x39e),'DATETIME',_0x2a7fa0(0x27c),_0x2a7fa0(0x31c)][_0x2a7fa0(0x3bb)](_0x110e92))return _0x237165[_0x2a7fa0(0x3bb)](_0x2a7fa0(0x43e))?'$gte':_0x2a7fa0(0x3f0);return _0x2a7fa0(0x3f0);}[a0_0xf68f23(0x1d1)](_0x32098e,_0x3093b4){const _0x10c11a=a0_0xf68f23,_0xce2e2d=_0x32098e[_0x10c11a(0x1d8)](),_0x15330c=_0x32098e[_0x10c11a(0x2b0)]();if(_0x15330c&&_0x15330c[_0x10c11a(0x34c)]>0x0){if(_0x3093b4==='$in')return _0x15330c['slice'](0x0,0x2)[_0x10c11a(0x336)](_0x2c7e19=>_0x2c7e19['value']);return _0x15330c[0x0][_0x10c11a(0x45e)];}if([_0x10c11a(0x42c),_0x10c11a(0x453),_0x10c11a(0x236),'DECIMAL']['includes'](_0xce2e2d)||['INT','TINYINT',_0x10c11a(0x239),_0x10c11a(0x3c8),_0x10c11a(0x1c5)][_0x10c11a(0x3bb)](_0xce2e2d)){if(_0x3093b4===_0x10c11a(0x3e9))return[0x1,0x2,0x3];if(_0x3093b4===_0x10c11a(0x43e)||_0x3093b4==='$gteq')return 0x0;if(_0x3093b4===_0x10c11a(0x450)||_0x3093b4==='$lteq')return 0x64;return 0x1;}if(['STRING',_0x10c11a(0x295),_0x10c11a(0x33a)][_0x10c11a(0x3bb)](_0xce2e2d)||['CHAR',_0x10c11a(0x2d1)][_0x10c11a(0x3bb)](_0xce2e2d)){if(_0x3093b4===_0x10c11a(0x3e9))return[_0x10c11a(0x1da),_0x10c11a(0x333)];if(_0x3093b4===_0x10c11a(0x2bd))return'keyword';if(_0x3093b4===_0x10c11a(0x1db))return _0x10c11a(0x3b2);if(_0x3093b4==='$endWith')return _0x10c11a(0x35e);return _0x10c11a(0x45e);}if([_0x10c11a(0x39e),_0x10c11a(0x24d),_0x10c11a(0x27c),_0x10c11a(0x31c)][_0x10c11a(0x3bb)](_0xce2e2d)){if(_0x3093b4===_0x10c11a(0x43e)||_0x3093b4===_0x10c11a(0x41d))return _0x10c11a(0x2a7);if(_0x3093b4===_0x10c11a(0x450)||_0x3093b4==='$lteq')return _0x10c11a(0x1dd);return _0x10c11a(0x2a7);}if([_0x10c11a(0x227),_0x10c11a(0x1fa),_0x10c11a(0x288)][_0x10c11a(0x3bb)](_0xce2e2d))return!![];return _0x3093b4==='$in'?[_0x10c11a(0x1da),_0x10c11a(0x333)]:_0x10c11a(0x45e);}[a0_0xf68f23(0x274)](){const _0x3b1501=a0_0xf68f23,_0x3cffdf=super['getRequestParams'](),_0x41b057=Object[_0x3b1501(0x1b4)](_0x3cffdf)[_0x3b1501(0x1d7)](([_0x473754])=>_0x473754!==_0x3b1501(0x25f)&&_0x473754!==_0x3b1501(0x2ec))[_0x3b1501(0x336)](([_0x45aa83,_0x2b755d])=>{const _0x233ee6=_0x3b1501,_0x1b61c8=_0x2b755d,_0x147238={};return _0x147238[_0x233ee6(0x30b)]=_0x45aa83,_0x147238[_0x233ee6(0x282)]=_0x1b61c8[_0x233ee6(0x282)]||_0x233ee6(0x297),_0x147238[_0x233ee6(0x1e7)]=_0x1b61c8[_0x233ee6(0x1e7)]||'-',_0x147238[_0x233ee6(0x283)]=_0x1b61c8[_0x233ee6(0x283)],_0x147238;}),_0x5715f2={};return _0x5715f2['description']=_0x3b1501(0x1b1),_0x5715f2['params']=_0x41b057,_0x5715f2;}}class ExcelExportOperation extends GenericOperation{[a0_0xf68f23(0x299)](){const _0x83126c=a0_0xf68f23,_0x98bbfb=super[_0x83126c(0x299)]();if(Object['keys'](_0x98bbfb)[_0x83126c(0x34c)]===0x0){const _0x3b16bf={};this[_0x83126c(0x211)]['fields'][_0x83126c(0x1df)](_0x5ac4c1=>{const _0x358c7f=_0x83126c;if(_0x5ac4c1){const _0x527a1a=_0x5ac4c1[_0x358c7f(0x40e)],_0x2a4007=_0x5ac4c1[_0x358c7f(0x1d8)](),_0x47a512={};_0x47a512['type']=_0x2a4007||'TEXT',_0x47a512[_0x358c7f(0x2b9)]=_0x5ac4c1[_0x358c7f(0x2b9)],_0x47a512['description']=_0x5ac4c1[_0x358c7f(0x1e7)]||_0x5ac4c1[_0x358c7f(0x30b)],_0x3b16bf[_0x527a1a]=_0x47a512;}});const _0x51a6f5={};_0x51a6f5[_0x83126c(0x282)]=_0x83126c(0x2e6),_0x51a6f5[_0x83126c(0x1e7)]=_0x83126c(0x37a),_0x3b16bf[_0x83126c(0x25f)]=_0x51a6f5;const _0x2f80c9={};return _0x2f80c9[_0x83126c(0x282)]=_0x83126c(0x2e6),_0x2f80c9[_0x83126c(0x1e7)]='每页数量(可选)',_0x3b16bf[_0x83126c(0x2ec)]=_0x2f80c9,_0x3b16bf;}return _0x98bbfb;}[a0_0xf68f23(0x454)](){const _0xaaa820=a0_0xf68f23,_0x76b99b=super[_0xaaa820(0x454)]();if(Object[_0xaaa820(0x383)](_0x76b99b)[_0xaaa820(0x34c)]===0x0){const _0x2f3213={};return _0x2f3213[_0xaaa820(0x25f)]=0x1,_0x2f3213[_0xaaa820(0x2ec)]=0x64,_0x2f3213;}const _0x4a4cbe={..._0x76b99b};return _0x4a4cbe[_0xaaa820(0x25f)]=_0x76b99b[_0xaaa820(0x25f)]??0x1,_0x4a4cbe[_0xaaa820(0x2ec)]=_0x76b99b[_0xaaa820(0x2ec)]??0x64,_0x4a4cbe;}[a0_0xf68f23(0x38b)](){const _0x1b08bf=a0_0xf68f23,_0x457480={};return _0x457480[_0x1b08bf(0x261)]=!![],_0x457480[_0x1b08bf(0x374)]='',_0x457480[_0x1b08bf(0x3f1)]='',_0x457480['errorCode']=_0x1b08bf(0x401),_0x457480[_0x1b08bf(0x1eb)]=_0x1b08bf(0x446),_0x457480['params']=null,_0x457480;}[a0_0xf68f23(0x1b3)](_0x518a00,_0x1e5513){const _0x40dc68=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1e5513||{},_0x5a52be=this[_0x40dc68(0x1fd)]();if(useFullExample){const _0x5361cf=this[_0x40dc68(0x454)](),{currentPage:_0x4104b2,pageSize:_0x4d97c6,..._0x45a6c1}=_0x5361cf,_0x1cf098=Object[_0x40dc68(0x383)](_0x45a6c1)[_0x40dc68(0x34c)]>0x0;if(_0x1cf098){const _0x18c039=_0x1e221a=>{const _0x531794=_0x40dc68;return JSON[_0x531794(0x375)](_0x1e221a,null,0x2)[_0x531794(0x3d2)]('\x0a')['map']((_0x57cb7c,_0x495ee0)=>_0x495ee0===0x0?_0x57cb7c:indent+_0x57cb7c)['join']('\x0a');};return _0x40dc68(0x32d)+_0x518a00+'.'+_0x5a52be+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x518a00+'.'+_0x5a52be+'('+_0x18c039(_0x5361cf)+');';}else{const _0x4fa598=_0x2bfcc0=>{const _0x263bee=_0x40dc68;return JSON['stringify'](_0x2bfcc0,null,0x2)[_0x263bee(0x3d2)]('\x0a')[_0x263bee(0x336)]((_0x185da3,_0x5e7b08)=>_0x5e7b08===0x0?_0x185da3:indent+_0x185da3)[_0x263bee(0x36f)]('\x0a');},_0x4791b0={};return _0x4791b0[_0x40dc68(0x25f)]=0x1,_0x4791b0[_0x40dc68(0x2ec)]=0x64,_0x40dc68(0x32d)+_0x518a00+'.'+_0x5a52be+_0x40dc68(0x23c)+_0x518a00+'.'+_0x5a52be+'('+_0x4fa598(_0x4791b0)+');';}}return _0x40dc68(0x1c0)+_0x518a00+'.'+_0x5a52be+_0x40dc68(0x42b);}[a0_0xf68f23(0x3b0)](_0x48f342){const _0x509feb=a0_0xf68f23,_0x3b5921=this[_0x509feb(0x1fd)](),_0x1c0307=_0x48f342||_0x509feb(0x2de),_0x26dc82=_0x509feb(0x3df)+_0x1c0307+'.'+_0x3b5921+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x3b81f1=_0x509feb(0x1d2)+_0x1c0307+'.'+_0x3b5921+_0x509feb(0x255),_0x5abcde={};return _0x5abcde[_0x509feb(0x43f)]=_0x26dc82,_0x5abcde['errorCode']=_0x3b81f1,_0x5abcde;}}class UpdateOperation extends GenericOperation{[a0_0xf68f23(0x213)](){return this['parseRawRequestBody']();}[a0_0xf68f23(0x299)](){const _0x5f3ec3=a0_0xf68f23,_0x50ee5e=this[_0x5f3ec3(0x213)](),_0xe72785={};_0xe72785[_0x5f3ec3(0x282)]='NUMBER',_0xe72785[_0x5f3ec3(0x1e7)]=_0x5f3ec3(0x2f4),_0xe72785['required']=!![];const _0xbae91c={};_0xbae91c[_0x5f3ec3(0x282)]=_0x5f3ec3(0x43a),_0xbae91c[_0x5f3ec3(0x1e7)]=_0x5f3ec3(0x219),_0xbae91c[_0x5f3ec3(0x283)]=!![],_0xbae91c[_0x5f3ec3(0x2b3)]=_0x50ee5e;const _0x1e8108={};return _0x1e8108['id']=_0xe72785,_0x1e8108[_0x5f3ec3(0x1eb)]=_0xbae91c,_0x1e8108;}['getUpdatableFields'](){const _0x504ea5=a0_0xf68f23;return this[_0x504ea5(0x213)]();}[a0_0xf68f23(0x3ae)](){const _0xdbdb5b=a0_0xf68f23,_0xb9e616=this[_0xdbdb5b(0x211)]['fields']||[],_0x2bc7f7=this['context'][_0xdbdb5b(0x3f8)],_0x28b8fe=_0xb9e616[_0xdbdb5b(0x1b6)](_0x2901fc=>_0x2901fc[_0xdbdb5b(0x3db)]()||_0x2901fc[_0xdbdb5b(0x40e)]===_0x2bc7f7),_0x201be2=_0xb9e616[_0xdbdb5b(0x1d7)](_0x1275bd=>{const _0x5130e7=_0xdbdb5b;if(_0x1275bd[_0x5130e7(0x2fa)])return![];if(_0x1275bd===_0x28b8fe||_0x1275bd[_0x5130e7(0x3db)]())return![];if(_0x1275bd[_0x5130e7(0x42e)]()||_0x1275bd['isUpdateTime']())return![];if(_0x1275bd[_0x5130e7(0x27b)]())return![];return!![];});return _0x28b8fe?[_0x28b8fe,..._0x201be2]:_0x201be2;}[a0_0xf68f23(0x338)](){const _0x190367=a0_0xf68f23,_0x5ea959=this[_0x190367(0x3ae)](),_0x9e274f=this[_0x190367(0x211)][_0x190367(0x3f8)],_0x7f4bad=_0x5ea959['map'](_0x20891f=>{const _0x367f7a=_0x190367,_0x1b8ace=_0x20891f['isPrimaryKey']()||_0x20891f['code']===_0x9e274f,_0x18c3ef=_0x1b8ace?'id':_0x20891f[_0x367f7a(0x40e)],_0x7b16e0={};return _0x7b16e0[_0x367f7a(0x30b)]=_0x18c3ef,_0x7b16e0[_0x367f7a(0x282)]=_0x20891f[_0x367f7a(0x282)],_0x7b16e0[_0x367f7a(0x1e7)]=_0x1b8ace?'主键,用于定位要更新的记录'+(_0x9e274f&&_0x9e274f!==_0x20891f[_0x367f7a(0x40e)]?_0x367f7a(0x426)+_0x20891f[_0x367f7a(0x40e)]+')':''):_0x20891f['description']||_0x20891f[_0x367f7a(0x30b)],_0x7b16e0;}),_0x21429b={};return _0x21429b[_0x190367(0x1e7)]=_0x190367(0x263),_0x21429b[_0x190367(0x39d)]=_0x7f4bad,_0x21429b;}[a0_0xf68f23(0x274)](){const _0x23ec4f=a0_0xf68f23,_0x58a981=this[_0x23ec4f(0x213)](),_0x3031c7=Object[_0x23ec4f(0x1b4)](_0x58a981)['map'](([_0x54b37a,_0x401fbf])=>{const _0x2490e9=_0x23ec4f,_0x10439f=_0x401fbf,_0x109759={};return _0x109759[_0x2490e9(0x30b)]=_0x54b37a,_0x109759[_0x2490e9(0x282)]=_0x10439f[_0x2490e9(0x282)]||_0x2490e9(0x297),_0x109759[_0x2490e9(0x1e7)]=_0x10439f[_0x2490e9(0x1e7)]||'-',_0x109759;}),_0x4f6cf4={};return _0x4f6cf4[_0x23ec4f(0x1e7)]=_0x23ec4f(0x2d4)+_0x23ec4f(0x423)+_0x23ec4f(0x2c5)+_0x23ec4f(0x200)+_0x23ec4f(0x370)+_0x23ec4f(0x2e5),_0x4f6cf4[_0x23ec4f(0x39d)]=_0x3031c7,_0x4f6cf4;}[a0_0xf68f23(0x454)](){const _0x5ab386=a0_0xf68f23,_0x15ed6e=this[_0x5ab386(0x213)](),_0x139e65={};Object[_0x5ab386(0x1b4)](_0x15ed6e)[_0x5ab386(0x1df)](([_0x47cb6d,_0x56e279])=>{const _0x48a88e=_0x5ab386,_0x46b6c5=_0x56e279;let _0x404b83;if(typeof _0x46b6c5[_0x48a88e(0x282)]===_0x48a88e(0x3d4))_0x404b83=_0x46b6c5[_0x48a88e(0x282)];else _0x46b6c5[_0x48a88e(0x282)]&&typeof _0x46b6c5[_0x48a88e(0x282)]===_0x48a88e(0x43a)?_0x404b83=_0x46b6c5[_0x48a88e(0x282)][_0x48a88e(0x282)]||_0x48a88e(0x295):_0x404b83=_0x48a88e(0x295);const _0x120c43=_0x46b6c5[_0x48a88e(0x1e7)],_0x180420=this[_0x48a88e(0x31b)](_0x47cb6d);_0x139e65[_0x47cb6d]=this['generateFieldExample'](_0x47cb6d,_0x404b83,_0x180420?.[_0x48a88e(0x1d8)](),{'isPrimaryKey':![],'description':_0x120c43||_0x180420?.[_0x48a88e(0x1e7)]||_0x180420?.['name']});});const _0x783854={};return _0x783854['id']=0x1,_0x783854[_0x5ab386(0x1eb)]=_0x139e65,_0x783854;}[a0_0xf68f23(0x3fd)](){const _0x4570e1=a0_0xf68f23,_0x242f03=this[_0x4570e1(0x454)](),_0xea3509={};return _0xea3509[_0x4570e1(0x309)]=_0x4570e1(0x233),_0xea3509[_0x4570e1(0x1e7)]=_0x4570e1(0x1ff)+'-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a'+_0x4570e1(0x3c5),_0xea3509[_0x4570e1(0x1eb)]=_0x242f03,[_0xea3509,{'title':_0x4570e1(0x2f8),'description':_0x4570e1(0x44b)+_0x4570e1(0x364)+'-\x20其他要更新的字段直接平铺在同一层级','data':this[_0x4570e1(0x439)]()}];}[a0_0xf68f23(0x439)](){const _0x3e9406=a0_0xf68f23,_0x140938=this[_0x3e9406(0x213)](),_0x3bc348={};_0x3bc348['id']=0x1;const _0x38788d=_0x3bc348;return Object[_0x3e9406(0x1b4)](_0x140938)['forEach'](([_0x4088fe,_0x59a6e6])=>{const _0x5f1cb0=_0x3e9406,_0x14366d=_0x59a6e6;let _0xc77843;if(typeof _0x14366d[_0x5f1cb0(0x282)]===_0x5f1cb0(0x3d4))_0xc77843=_0x14366d['type'];else _0x14366d[_0x5f1cb0(0x282)]&&typeof _0x14366d[_0x5f1cb0(0x282)]===_0x5f1cb0(0x43a)?_0xc77843=_0x14366d[_0x5f1cb0(0x282)][_0x5f1cb0(0x282)]||_0x5f1cb0(0x295):_0xc77843=_0x5f1cb0(0x295);const _0x3aa19e=_0x14366d[_0x5f1cb0(0x1e7)],_0x2ef693=this['getFieldDefinition'](_0x4088fe);if(_0x2ef693?.[_0x5f1cb0(0x3db)]())return;_0x38788d[_0x4088fe]=this[_0x5f1cb0(0x2eb)](_0x4088fe,_0xc77843,_0x2ef693?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x3aa19e||_0x2ef693?.[_0x5f1cb0(0x1e7)]||_0x2ef693?.[_0x5f1cb0(0x30b)]});}),_0x38788d;}['generateHTTPExample'](){const _0xbc9e18=a0_0xf68f23;return this[_0xbc9e18(0x439)]();}[a0_0xf68f23(0x1b3)](_0xd62578,_0x402a0e){const _0x156171=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x402a0e||{},_0x23bbb0=this[_0x156171(0x1fd)]();if(useFullExample){const _0x4d6078=this[_0x156171(0x454)](),_0x42a453=JSON['stringify'](_0x4d6078['data'],null,0x2)['split']('\x0a')['map']((_0x42aafa,_0x33733d)=>_0x33733d===0x0?_0x42aafa:indent+_0x42aafa)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0xd62578+'.'+_0x23bbb0+'('+_0x4d6078['id']+',\x20'+_0x42a453+');';}return _0x156171(0x35f)+_0xd62578+'.'+_0x23bbb0+_0x156171(0x1ba);}}class AggregateOperation extends GenericOperation{constructor(_0x140a2c,_0x2874e7,_0x468582){super(_0x140a2c,_0x2874e7,_0x468582);}[a0_0xf68f23(0x419)](_0x46fd69){return _0x46fd69['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}[a0_0xf68f23(0x299)](){const _0x2652e2=a0_0xf68f23,_0x3637d9=super[_0x2652e2(0x299)](),_0xa6b5b2={};_0xa6b5b2[_0x2652e2(0x282)]=_0x2652e2(0x41e),_0xa6b5b2[_0x2652e2(0x1e7)]=_0x2652e2(0x337),_0xa6b5b2[_0x2652e2(0x283)]=![];const _0x5243de={};_0x5243de[_0x2652e2(0x282)]='Object',_0x5243de['description']=_0x2652e2(0x361),_0x5243de['required']=![];const _0xe1d1ec={};_0xe1d1ec[_0x2652e2(0x282)]=_0x2652e2(0x41e),_0xe1d1ec[_0x2652e2(0x1e7)]=_0x2652e2(0x2b7),_0xe1d1ec[_0x2652e2(0x283)]=![];const _0x56e1ea={};_0x56e1ea[_0x2652e2(0x282)]=_0x2652e2(0x33b),_0x56e1ea[_0x2652e2(0x1e7)]=_0x2652e2(0x3c4),_0x56e1ea[_0x2652e2(0x283)]=![];const _0x230c9c={};_0x230c9c['type']=_0x2652e2(0x33b),_0x230c9c[_0x2652e2(0x1e7)]=_0x2652e2(0x449),_0x230c9c[_0x2652e2(0x283)]=![];const _0x18b931={};_0x18b931[_0x2652e2(0x282)]=_0x2652e2(0x33b),_0x18b931[_0x2652e2(0x1e7)]=_0x2652e2(0x3f3),_0x18b931[_0x2652e2(0x283)]=![];const _0x399826={};_0x399826[_0x2652e2(0x282)]=_0x2652e2(0x37e),_0x399826[_0x2652e2(0x1e7)]='当前页码(从\x201\x20开始,默认:\x201)',_0x399826[_0x2652e2(0x283)]=![];const _0x54a5bd={};_0x54a5bd[_0x2652e2(0x282)]=_0x2652e2(0x37e),_0x54a5bd[_0x2652e2(0x1e7)]=_0x2652e2(0x279),_0x54a5bd['required']=![];const _0x26b4d5={..._0x3637d9};return _0x26b4d5[_0x2652e2(0x3fe)]=_0xa6b5b2,_0x26b4d5[_0x2652e2(0x2dc)]=_0x5243de,_0x26b4d5[_0x2652e2(0x1bb)]=_0xe1d1ec,_0x26b4d5['aggregate']=_0x56e1ea,_0x26b4d5[_0x2652e2(0x331)]=_0x230c9c,_0x26b4d5[_0x2652e2(0x35d)]=_0x18b931,_0x26b4d5['currentPage']=_0x399826,_0x26b4d5[_0x2652e2(0x2ec)]=_0x54a5bd,_0x26b4d5;}[a0_0xf68f23(0x314)](){const _0x4bcde9=a0_0xf68f23,_0x2d9688={};_0x2d9688['code']=_0x4bcde9(0x3fe),_0x2d9688[_0x4bcde9(0x282)]=_0x4bcde9(0x41e),_0x2d9688[_0x4bcde9(0x1e7)]=_0x4bcde9(0x337);const _0xacf8ce={};_0xacf8ce[_0x4bcde9(0x40e)]=_0x4bcde9(0x2dc),_0xacf8ce[_0x4bcde9(0x282)]=_0x4bcde9(0x2e7),_0xacf8ce['description']=_0x4bcde9(0x361);const _0x45e6b3={};_0x45e6b3[_0x4bcde9(0x40e)]=_0x4bcde9(0x1bb),_0x45e6b3[_0x4bcde9(0x282)]=_0x4bcde9(0x41e),_0x45e6b3['description']=_0x4bcde9(0x2b7);const _0x23c414={};_0x23c414[_0x4bcde9(0x40e)]=_0x4bcde9(0x414),_0x23c414[_0x4bcde9(0x282)]=_0x4bcde9(0x33b),_0x23c414[_0x4bcde9(0x1e7)]='聚合函数配置数组(type:\x20sum/count/avg/max/min)';const _0x421164={};_0x421164[_0x4bcde9(0x40e)]=_0x4bcde9(0x331),_0x421164[_0x4bcde9(0x282)]='Array',_0x421164[_0x4bcde9(0x1e7)]=_0x4bcde9(0x449);const _0x58b224={};_0x58b224[_0x4bcde9(0x40e)]='orderBy',_0x58b224['type']=_0x4bcde9(0x33b),_0x58b224[_0x4bcde9(0x1e7)]=_0x4bcde9(0x3f3);const _0x470cd7={};_0x470cd7[_0x4bcde9(0x40e)]='currentPage',_0x470cd7[_0x4bcde9(0x282)]=_0x4bcde9(0x37e),_0x470cd7[_0x4bcde9(0x1e7)]='当前页码(从\x201\x20开始,默认:\x201)';const _0x206fec={};return _0x206fec[_0x4bcde9(0x40e)]=_0x4bcde9(0x2ec),_0x206fec[_0x4bcde9(0x282)]='Number',_0x206fec[_0x4bcde9(0x1e7)]='每页数量(默认:\x2020)',[_0x2d9688,_0xacf8ce,_0x45e6b3,_0x23c414,_0x421164,_0x58b224,_0x470cd7,_0x206fec];}[a0_0xf68f23(0x454)](){const _0x292272=a0_0xf68f23,_0x511106=this['context'][_0x292272(0x2a1)]||[];if(_0x511106[_0x292272(0x34c)]===0x0){const _0xe0fc91={};return _0xe0fc91['where']={},_0xe0fc91[_0x292272(0x1bb)]=[],_0xe0fc91[_0x292272(0x414)]=[],_0xe0fc91;}const _0x9e756b={},_0x556668=_0x511106[_0x292272(0x399)](0x0,Math[_0x292272(0x400)](0x3,_0x511106[_0x292272(0x34c)]));_0x556668[_0x292272(0x1df)](_0x2303c6=>{const _0x18fbd5=_0x292272,_0x11dcec=this[_0x18fbd5(0x1d9)](_0x2303c6);if(_0x11dcec[_0x18fbd5(0x34c)]===0x0)return;const _0x128958=this[_0x18fbd5(0x245)](_0x2303c6,_0x11dcec),_0x4ccbbf=this[_0x18fbd5(0x1d1)](_0x2303c6,_0x128958),_0x42682b={};_0x42682b[_0x128958]=_0x4ccbbf,_0x9e756b[_0x2303c6[_0x18fbd5(0x40e)]]=_0x42682b;});const _0x49206e=_0x511106[_0x292272(0x399)](0x0,Math[_0x292272(0x400)](0x2,_0x511106[_0x292272(0x34c)]))['map'](_0x319a33=>_0x319a33['code']),_0x105673=[],_0x14d419=_0x511106[_0x292272(0x1d7)](_0x340bc6=>this[_0x292272(0x327)](_0x340bc6));if(_0x14d419[_0x292272(0x34c)]>0x0){const _0x1a7b24=_0x14d419[0x0],_0x3561e3=_0x1a7b24[_0x292272(0x40e)],_0x22e0d9={};_0x22e0d9[_0x292272(0x282)]=_0x292272(0x43c),_0x22e0d9[_0x292272(0x251)]=_0x3561e3,_0x22e0d9[_0x292272(0x363)]=_0x3561e3+_0x292272(0x430),_0x22e0d9[_0x292272(0x2c3)]=![],_0x22e0d9[_0x292272(0x34a)]=!![],_0x22e0d9[_0x292272(0x3a9)]=0x2,_0x105673['push'](_0x22e0d9);const _0x27bb95={};_0x27bb95[_0x292272(0x282)]=_0x292272(0x455),_0x27bb95[_0x292272(0x251)]=_0x3561e3,_0x27bb95[_0x292272(0x363)]=_0x3561e3+'_avg',_0x27bb95[_0x292272(0x2c3)]=![],_0x27bb95[_0x292272(0x34a)]=!![],_0x27bb95[_0x292272(0x3a9)]=0x2,_0x105673[_0x292272(0x387)](_0x27bb95);const _0x344650={};_0x344650[_0x292272(0x282)]='max',_0x344650[_0x292272(0x251)]=_0x3561e3,_0x344650[_0x292272(0x363)]=_0x3561e3+_0x292272(0x317),_0x344650[_0x292272(0x2c3)]=![],_0x344650[_0x292272(0x34a)]=!![],_0x344650[_0x292272(0x3a9)]=0x2,_0x105673[_0x292272(0x387)](_0x344650);const _0x1ebff7={};_0x1ebff7[_0x292272(0x282)]=_0x292272(0x400),_0x1ebff7[_0x292272(0x251)]=_0x3561e3,_0x1ebff7['alias']=_0x3561e3+_0x292272(0x354),_0x1ebff7[_0x292272(0x2c3)]=![],_0x1ebff7[_0x292272(0x34a)]=!![],_0x1ebff7[_0x292272(0x3a9)]=0x2,_0x105673[_0x292272(0x387)](_0x1ebff7);}else{if(_0x511106[_0x292272(0x34c)]>0x0){const _0x58f09a=_0x511106[0x0],_0x249047=_0x58f09a[_0x292272(0x40e)],_0x3e04f8={};_0x3e04f8[_0x292272(0x282)]=_0x292272(0x1a0),_0x3e04f8[_0x292272(0x251)]=_0x249047,_0x3e04f8[_0x292272(0x363)]=_0x292272(0x1c1),_0x3e04f8[_0x292272(0x2c3)]=!![],_0x105673[_0x292272(0x387)](_0x3e04f8);}}const _0x2ebb30=[];if(_0x511106['length']>0x0){const _0x160f5b=_0x511106[0x0]['code'],_0xf5b4e5={};_0xf5b4e5[_0x160f5b]=_0x292272(0x1c9),_0x2ebb30['push'](_0xf5b4e5);}const _0xdb94a3=[..._0x49206e,..._0x105673[_0x292272(0x336)](_0x29f0e1=>_0x29f0e1[_0x292272(0x363)])],_0x591a64=[];if(_0x105673[_0x292272(0x34c)]>0x0){const _0x1075e7={};_0x1075e7['$gte']=0x0;const _0x5b8e16={};_0x5b8e16[_0x292272(0x3ed)]=_0x105673[0x0][_0x292272(0x363)],_0x5b8e16['condition']=_0x1075e7,_0x591a64[_0x292272(0x387)](_0x5b8e16);}const _0x1136ad={};return _0x1136ad[_0x292272(0x3fe)]=_0xdb94a3,_0x1136ad['where']=_0x9e756b,_0x1136ad['groupBy']=_0x49206e,_0x1136ad[_0x292272(0x414)]=_0x105673,_0x1136ad['having']=_0x591a64[_0x292272(0x34c)]>0x0?_0x591a64:undefined,_0x1136ad[_0x292272(0x35d)]=_0x2ebb30,_0x1136ad[_0x292272(0x25f)]=0x1,_0x1136ad[_0x292272(0x2ec)]=0x14,_0x1136ad;}[a0_0xf68f23(0x1b3)](_0x3a7f68,_0x1c71a3){const _0xd0ad5a=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1c71a3||{},_0x124bce=this[_0xd0ad5a(0x1fd)](),_0xea0ea2=this[_0xd0ad5a(0x454)](),_0x2f73aa=_0x18168a=>{const _0x44dfb5=_0xd0ad5a;return JSON[_0x44dfb5(0x375)](_0x18168a,null,0x2)['split']('\x0a')[_0x44dfb5(0x336)]((_0x5101e3,_0x5d8ac5)=>_0x5d8ac5===0x0?_0x5101e3:indent+_0x5101e3)['join']('\x0a');};if(useFullExample){const _0x175c2=this[_0xd0ad5a(0x211)][_0xd0ad5a(0x2a1)]||[],_0x484221=_0x175c2['filter'](_0x2f394f=>this[_0xd0ad5a(0x327)](_0x2f394f)),_0x252c94={'where':_0x175c2[0x0]?{[_0x175c2[0x0][_0xd0ad5a(0x40e)]]:{'$eq':this[_0xd0ad5a(0x1d1)](_0x175c2[0x0],_0xd0ad5a(0x3f0))}}:{},'aggregate':_0x484221[_0xd0ad5a(0x34c)]>0x0?[{'type':_0xd0ad5a(0x43c),'column':_0x484221[0x0][_0xd0ad5a(0x40e)],'alias':_0x484221[0x0]['code']+_0xd0ad5a(0x430),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0xd0ad5a(0x1a0),'column':_0x175c2[0x0][_0xd0ad5a(0x40e)],'alias':_0xd0ad5a(0x1c1),'distinct':!![]}],'orderBy':[{[_0x175c2[0x0][_0xd0ad5a(0x40e)]]:_0xd0ad5a(0x1c9)}]};let _0x42cb6e='';return _0x175c2[_0xd0ad5a(0x34c)]>=0x3&&(_0x42cb6e=_0xd0ad5a(0x3f9)+_0x3a7f68+'.'+_0x124bce+'('+_0x2f73aa(_0xea0ea2)+');'),'//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x3a7f68+'.'+_0x124bce+'('+_0x2f73aa(_0x252c94)+');'+_0x42cb6e;}const _0x302d66=JSON[_0xd0ad5a(0x375)](_0xea0ea2,null,0x2)[_0xd0ad5a(0x3d2)]('\x0a')[_0xd0ad5a(0x336)]((_0x30b057,_0x219803)=>_0x219803===0x0?_0x30b057:indent+_0x30b057)['join']('\x0a');return _0xd0ad5a(0x35f)+_0x3a7f68+'.'+_0x124bce+'('+_0x302d66+');';}[a0_0xf68f23(0x327)](_0x597bd5){const _0x5b32d7=a0_0xf68f23,_0x3cfe32=_0x597bd5[_0x5b32d7(0x1d8)]();return[_0x5b32d7(0x42c),'INTEGER',_0x5b32d7(0x236),_0x5b32d7(0x367)][_0x5b32d7(0x3bb)](_0x3cfe32)||['INT',_0x5b32d7(0x3ca),'SMALLINT',_0x5b32d7(0x3c8),_0x5b32d7(0x1c5)]['includes'](_0x3cfe32);}['getApplicableOperators'](_0x1587d8){const _0x2d45f2=a0_0xf68f23,_0x7788c8=_0x1587d8[_0x2d45f2(0x1d8)](),_0x194dfc=[];if([_0x2d45f2(0x42c),'INTEGER',_0x2d45f2(0x236),_0x2d45f2(0x367)][_0x2d45f2(0x3bb)](_0x7788c8)||[_0x2d45f2(0x326),_0x2d45f2(0x3ca),_0x2d45f2(0x239),_0x2d45f2(0x3c8),_0x2d45f2(0x1c5)][_0x2d45f2(0x3bb)](_0x7788c8))_0x194dfc[_0x2d45f2(0x387)](_0x2d45f2(0x3f0),_0x2d45f2(0x3dd),'$gte',_0x2d45f2(0x450),_0x2d45f2(0x41d),'$lteq',_0x2d45f2(0x3e9));else{if([_0x2d45f2(0x305),_0x2d45f2(0x295),'VARCHAR'][_0x2d45f2(0x3bb)](_0x7788c8)||['CHAR','LONGTEXT'][_0x2d45f2(0x3bb)](_0x7788c8))_0x194dfc['push']('$eq','$ne',_0x2d45f2(0x3e9),_0x2d45f2(0x2bd),'$startWith','$endWith');else{if([_0x2d45f2(0x39e),_0x2d45f2(0x24d),_0x2d45f2(0x27c)][_0x2d45f2(0x3bb)](_0x7788c8)||[_0x2d45f2(0x31c)]['includes'](_0x7788c8))_0x194dfc[_0x2d45f2(0x387)](_0x2d45f2(0x3f0),_0x2d45f2(0x3dd),_0x2d45f2(0x43e),_0x2d45f2(0x450),_0x2d45f2(0x41d),'$lteq');else[_0x2d45f2(0x227),'BOOL','BIT']['includes'](_0x7788c8)?_0x194dfc[_0x2d45f2(0x387)](_0x2d45f2(0x3f0),'$ne'):_0x194dfc[_0x2d45f2(0x387)](_0x2d45f2(0x3f0),_0x2d45f2(0x3dd));}}return _0x194dfc;}['selectBestOperator'](_0x5ec72e,_0x1c4a08){const _0x25f581=a0_0xf68f23,_0x40a5e5=_0x5ec72e[_0x25f581(0x1d8)]();if(['NUMBER',_0x25f581(0x453),_0x25f581(0x236),_0x25f581(0x367)][_0x25f581(0x3bb)](_0x40a5e5)||[_0x25f581(0x326),_0x25f581(0x3ca),_0x25f581(0x239),_0x25f581(0x3c8),_0x25f581(0x1c5)][_0x25f581(0x3bb)](_0x40a5e5))return _0x1c4a08['includes'](_0x25f581(0x43e))?'$gte':_0x25f581(0x3f0);if([_0x25f581(0x305),_0x25f581(0x295),_0x25f581(0x33a)][_0x25f581(0x3bb)](_0x40a5e5)||[_0x25f581(0x1e4),'LONGTEXT'][_0x25f581(0x3bb)](_0x40a5e5))return _0x1c4a08[_0x25f581(0x3bb)](_0x25f581(0x2bd))?'$contain':_0x25f581(0x3f0);if(['DATE','DATETIME',_0x25f581(0x27c),'TIME']['includes'](_0x40a5e5))return _0x1c4a08['includes'](_0x25f581(0x43e))?_0x25f581(0x43e):_0x25f581(0x3f0);return _0x25f581(0x3f0);}[a0_0xf68f23(0x1d1)](_0x183a78,_0x46e51c){const _0x2276bf=a0_0xf68f23,_0x392f0f=_0x183a78[_0x2276bf(0x1d8)](),_0x5290ab=_0x183a78['getEnumOptions']();if(_0x5290ab&&_0x5290ab[_0x2276bf(0x34c)]>0x0){if(_0x46e51c===_0x2276bf(0x3e9))return _0x5290ab['slice'](0x0,0x2)['map'](_0x4fb82e=>_0x4fb82e[_0x2276bf(0x45e)]);return _0x5290ab[0x0][_0x2276bf(0x45e)];}if([_0x2276bf(0x42c),_0x2276bf(0x453),'BIGINT',_0x2276bf(0x367)]['includes'](_0x392f0f)||[_0x2276bf(0x326),_0x2276bf(0x3ca),_0x2276bf(0x239),_0x2276bf(0x3c8),_0x2276bf(0x1c5)]['includes'](_0x392f0f)){if(_0x46e51c==='$in')return[0x1,0x2,0x3];if(_0x46e51c===_0x2276bf(0x43e)||_0x46e51c===_0x2276bf(0x41d))return 0x0;if(_0x46e51c==='$lte'||_0x46e51c===_0x2276bf(0x451))return 0x64;return 0x1;}if([_0x2276bf(0x305),'TEXT',_0x2276bf(0x33a)]['includes'](_0x392f0f)||[_0x2276bf(0x1e4),_0x2276bf(0x2d1)][_0x2276bf(0x3bb)](_0x392f0f)){if(_0x46e51c===_0x2276bf(0x3e9))return[_0x2276bf(0x1da),_0x2276bf(0x333)];if(_0x46e51c===_0x2276bf(0x2bd))return'keyword';if(_0x46e51c===_0x2276bf(0x1db))return _0x2276bf(0x3b2);if(_0x46e51c==='$endWith')return _0x2276bf(0x35e);return _0x2276bf(0x45e);}if([_0x2276bf(0x39e),_0x2276bf(0x24d),_0x2276bf(0x27c),_0x2276bf(0x31c)][_0x2276bf(0x3bb)](_0x392f0f)){if(_0x46e51c==='$gte'||_0x46e51c===_0x2276bf(0x41d))return _0x2276bf(0x2a7);if(_0x46e51c==='$lte'||_0x46e51c===_0x2276bf(0x451))return _0x2276bf(0x1dd);return _0x2276bf(0x2a7);}if(['BOOLEAN',_0x2276bf(0x1fa),_0x2276bf(0x288)]['includes'](_0x392f0f))return!![];return _0x46e51c===_0x2276bf(0x3e9)?['value1',_0x2276bf(0x333)]:_0x2276bf(0x45e);}['getRequestParamsDocInfo'](){const _0x228a58=a0_0xf68f23,_0x20d374=this[_0x228a58(0x299)](),_0x1c6069=Object[_0x228a58(0x1b4)](_0x20d374)['filter'](([_0x18178b])=>_0x18178b!==_0x228a58(0x25f)&&_0x18178b!==_0x228a58(0x2ec))[_0x228a58(0x336)](([_0x2046ea,_0x195e72])=>{const _0x3ffc71=_0x228a58,_0x56f7a0=_0x195e72,_0x4c2923={};return _0x4c2923[_0x3ffc71(0x30b)]=_0x2046ea,_0x4c2923[_0x3ffc71(0x282)]=_0x56f7a0[_0x3ffc71(0x282)]||'String',_0x4c2923[_0x3ffc71(0x1e7)]=_0x56f7a0[_0x3ffc71(0x1e7)]||'-',_0x4c2923[_0x3ffc71(0x283)]=_0x56f7a0[_0x3ffc71(0x283)],_0x4c2923;}),_0x2baed1={};return _0x2baed1[_0x228a58(0x1e7)]=_0x228a58(0x23e),_0x2baed1[_0x228a58(0x39d)]=_0x1c6069,_0x2baed1;}[a0_0xf68f23(0x38b)](){const _0x401b81=a0_0xf68f23,_0x564a62=this[_0x401b81(0x454)]()['aggregate'],_0x123feb=[{}],_0x409aee=[];_0x564a62?.[_0x401b81(0x1df)](_0xbb232e=>{const _0x23f853=_0x401b81,_0x48412c={};_0x48412c['title']=_0xbb232e[_0x23f853(0x363)],_0x48412c[_0x23f853(0x307)]=_0xbb232e[_0x23f853(0x363)],_0x409aee['push'](_0x48412c),_0x123feb[0x0][_0xbb232e[_0x23f853(0x363)]]=_0xbb232e[_0x23f853(0x282)]===_0x23f853(0x1a0)?0x64:Math[_0x23f853(0x34a)](Math[_0x23f853(0x1a2)]()*0x64*0x64)/0x64;});const _0x3f7141={};_0x3f7141[_0x401b81(0x2ec)]=0x1,_0x3f7141[_0x401b81(0x2f1)]=0x64,_0x3f7141[_0x401b81(0x25f)]=0x1;const _0x1b79af={};_0x1b79af['paging']=_0x3f7141,_0x1b79af[_0x401b81(0x203)]=_0x123feb,_0x1b79af['tableColumns']=_0x409aee;const _0x2e08d2={};return _0x2e08d2[_0x401b81(0x261)]=!![],_0x2e08d2[_0x401b81(0x374)]='',_0x2e08d2['errorMsg']='',_0x2e08d2['errorCode']=_0x401b81(0x401),_0x2e08d2['data']=_0x1b79af,_0x2e08d2[_0x401b81(0x39d)]=null,_0x2e08d2;}}class OperationFactory{['create'](_0x418c00,_0x35f2ef,_0x14612c){const _0x2fee5a=a0_0xf68f23;switch(_0x418c00){case _0x2fee5a(0x2c0):return new GetSelectOptionsOperation(_0x418c00,_0x35f2ef,_0x14612c);case _0x2fee5a(0x2a6):return new GetListOperation(_0x418c00,_0x35f2ef,_0x14612c);case _0x2fee5a(0x1d7):return new FilterOperation(_0x418c00,_0x35f2ef,_0x14612c);case _0x2fee5a(0x389):return new ExcelExportOperation(_0x418c00,_0x35f2ef,_0x14612c);case'update':return new UpdateOperation(_0x418c00,_0x35f2ef,_0x14612c);case _0x2fee5a(0x414):return new AggregateOperation(_0x418c00,_0x35f2ef,_0x14612c);default:return new GenericOperation(_0x418c00,_0x35f2ef,_0x14612c);}}[a0_0xf68f23(0x3a3)](_0x320172,_0x3b1c63){const _0x279925=a0_0xf68f23,_0x559eb0=new Map();return Object['entries'](_0x320172)[_0x279925(0x1df)](([_0x149e3a,_0x1192db])=>{const _0x563d47=_0x279925;_0x559eb0[_0x563d47(0x386)](_0x149e3a,this[_0x563d47(0x1bc)](_0x149e3a,_0x1192db,_0x3b1c63));}),_0x559eb0;}}class OperationList{[a0_0xf68f23(0x3e8)];constructor(_0x22cd83,_0x2eda6a){const _0x427346=new OperationFactory();this['_operations']=_0x427346['createAll'](_0x22cd83,_0x2eda6a);}[a0_0xf68f23(0x2c7)](_0x210aa4){const _0x159665=a0_0xf68f23;return this[_0x159665(0x3e8)][_0x159665(0x2c7)](_0x210aa4);}['has'](_0x4a5d45){const _0x38452f=a0_0xf68f23;return this[_0x38452f(0x3e8)][_0x38452f(0x2a9)](_0x4a5d45);}[a0_0xf68f23(0x2b5)](){const _0x2d7634=a0_0xf68f23;return this[_0x2d7634(0x3e8)][_0x2d7634(0x2b5)];}['getNames'](){const _0x495fbd=a0_0xf68f23;return Array[_0x495fbd(0x2a3)](this['_operations']['keys']());}[a0_0xf68f23(0x41f)](){const _0x5e4a9e=a0_0xf68f23,_0x4e7880=Array[_0x5e4a9e(0x2a3)](this[_0x5e4a9e(0x3e8)][_0x5e4a9e(0x36c)]());return this[_0x5e4a9e(0x230)](_0x4e7880);}[a0_0xf68f23(0x1a7)](){const _0x60ed44=a0_0xf68f23;return this[_0x60ed44(0x41f)]()[_0x60ed44(0x1d7)](_0x1eee8d=>_0x1eee8d[_0x60ed44(0x41b)]());}[a0_0xf68f23(0x394)](){const _0x116301=a0_0xf68f23;return this[_0x116301(0x41f)]()['filter'](_0x39f505=>!_0x39f505[_0x116301(0x41b)]());}[a0_0xf68f23(0x29b)](){const _0xa17c74=a0_0xf68f23;return this[_0xa17c74(0x1a7)]()['map'](_0x311d2e=>_0x311d2e[_0xa17c74(0x1fd)]());}[a0_0xf68f23(0x2be)](){const _0xe3f02b=a0_0xf68f23;return this[_0xe3f02b(0x394)]()['map'](_0x2fd626=>_0x2fd626[_0xe3f02b(0x1fd)]());}[a0_0xf68f23(0x1e9)](_0x4d2dbe){const _0x19efe8=a0_0xf68f23;return this[_0x19efe8(0x41f)]()[_0x19efe8(0x1d7)](_0x5d8d9b=>_0x5d8d9b[_0x19efe8(0x43d)]()===_0x4d2dbe);}[a0_0xf68f23(0x1d7)](_0x486cbb){const _0x304c2f=a0_0xf68f23;return this[_0x304c2f(0x41f)]()[_0x304c2f(0x1d7)](_0x486cbb);}['getFiltered'](_0x5cbb62={}){const _0x34c41b=a0_0xf68f23;let _0x1b3b44=this[_0x34c41b(0x41f)]();!_0x5cbb62[_0x34c41b(0x1d5)]&&(_0x1b3b44=_0x1b3b44[_0x34c41b(0x1d7)](_0x325d5f=>_0x325d5f[_0x34c41b(0x41b)]()));if(_0x5cbb62[_0x34c41b(0x23a)]!==![]){const _0x18406b=_0x1b3b44['map'](_0x5b7c36=>({'name':_0x5b7c36['getName'](),'operation':_0x5b7c36})),_0x3a0c4c=filterApiOperations(_0x18406b);_0x1b3b44=_0x3a0c4c[_0x34c41b(0x336)](_0x4c3e95=>_0x4c3e95[_0x34c41b(0x3b7)]),_0x1b3b44=this[_0x34c41b(0x230)](_0x1b3b44);}return _0x5cbb62['customFilter']&&(_0x1b3b44=_0x1b3b44[_0x34c41b(0x1d7)](_0x5cbb62['customFilter'])),_0x1b3b44;}[a0_0xf68f23(0x230)](_0xa6ead4){const _0x49731a=a0_0xf68f23,_0x30d0ea=_0xa6ead4[_0x49731a(0x1b6)](_0x30f713=>_0x30f713[_0x49731a(0x1fd)]()===_0x49731a(0x1d7)),_0x2ad59c=_0xa6ead4[_0x49731a(0x1d7)](_0x1d492a=>_0x1d492a[_0x49731a(0x1fd)]()!==_0x49731a(0x1d7));return _0x30d0ea?[_0x30d0ea,..._0x2ad59c]:_0x2ad59c;}[a0_0xf68f23(0x246)](){const _0x5c09a1=a0_0xf68f23,_0x452115=this[_0x5c09a1(0x1a7)]();return{'total':this['size'](),'enabled':_0x452115[_0x5c09a1(0x34c)],'disabled':this[_0x5c09a1(0x2b5)]()-_0x452115[_0x5c09a1(0x34c)],'byType':this[_0x5c09a1(0x3cf)](_0x452115),'byMethod':this['getCountByMethod'](_0x452115)};}[a0_0xf68f23(0x3cf)](_0x20f8d7){const _0xed4047={};return _0x20f8d7['forEach'](_0xfe9488=>{const _0x126b28=a0_0x274a,_0x220743=_0xfe9488[_0x126b28(0x43d)]();_0x220743&&(_0xed4047[_0x220743]=(_0xed4047[_0x220743]||0x0)+0x1);}),_0xed4047;}[a0_0xf68f23(0x30a)](_0x5dc8bc){const _0x404b94=a0_0xf68f23,_0x571bf5={};return _0x5dc8bc[_0x404b94(0x1df)](_0x3e7acb=>{const _0x302e6f=_0x404b94,_0x1c6f96=_0x3e7acb[_0x302e6f(0x3e0)]();_0x1c6f96&&(_0x571bf5[_0x1c6f96]=(_0x571bf5[_0x1c6f96]||0x0)+0x1);}),_0x571bf5;}[Symbol['iterator']](){const _0x399304=a0_0xf68f23;return this[_0x399304(0x3e8)][_0x399304(0x36c)]();}[a0_0xf68f23(0x250)](){const _0xa0232f=a0_0xf68f23,_0x1b35b4=this[_0xa0232f(0x246)]();return _0xa0232f(0x3a7)+_0x1b35b4[_0xa0232f(0x1cf)]+'/'+_0x1b35b4[_0xa0232f(0x3bc)]+'\x20operations)';}}class DBConfig{['raw'];[a0_0xf68f23(0x33d)];[a0_0xf68f23(0x340)];[a0_0xf68f23(0x264)];[a0_0xf68f23(0x1aa)];[a0_0xf68f23(0x27f)];[a0_0xf68f23(0x384)];[a0_0xf68f23(0x3f8)];[a0_0xf68f23(0x25c)];[a0_0xf68f23(0x1c6)];constructor(_0x407778,_0x139ae1){const _0x154c08=a0_0xf68f23;this[_0x154c08(0x344)]=_0x139ae1,this[_0x154c08(0x33d)]=_0x407778[_0x154c08(0x33d)],this['dbName']=_0x407778[_0x154c08(0x340)],this[_0x154c08(0x264)]=_0x407778[_0x154c08(0x264)],this[_0x154c08(0x1aa)]=_0x407778[_0x154c08(0x1aa)],this[_0x154c08(0x27f)]=_0x407778['tableName'],this[_0x154c08(0x384)]=_0x407778[_0x154c08(0x384)],this['pkField']=_0x407778[_0x154c08(0x3f8)],this[_0x154c08(0x25c)]=_0x407778[_0x154c08(0x25c)],this[_0x154c08(0x1c6)]=_0x407778[_0x154c08(0x1c6)];}[a0_0xf68f23(0x201)](){const _0x16d6b5=a0_0xf68f23;return this[_0x16d6b5(0x344)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0xf68f23(0x35a)];[a0_0xf68f23(0x1fe)];[a0_0xf68f23(0x431)];constructor(_0x309277){const _0x446421=a0_0xf68f23,_0xa9adb1={..._0x309277};_0xa9adb1['id']=_0x309277['modelId']||_0x309277['id'],_0xa9adb1[_0x446421(0x362)]=_0x309277[_0x446421(0x3a1)]||_0x309277['datasetCode']||_0x309277['code'],super(_0xa9adb1);}[a0_0xf68f23(0x1f5)](){return;}[a0_0xf68f23(0x225)](){return[];}[a0_0xf68f23(0x1d6)](){return[];}get['source'](){const _0x579b30=a0_0xf68f23;return this[_0x579b30(0x3e2)]();}[a0_0xf68f23(0x24a)](){const _0x25c351=a0_0xf68f23;if(!this[_0x25c351(0x1fe)])throw new Error(_0x25c351(0x281));return this[_0x25c351(0x1fe)];}['getFieldListWithDeleted'](){const _0x2152e5=a0_0xf68f23;if(!this['_fieldListWithDeleted'])throw new Error(_0x2152e5(0x43b));return this[_0x2152e5(0x431)];}[a0_0xf68f23(0x434)](){return[];}['getFieldsWithDeleted'](){const _0x50e92e=a0_0xf68f23,_0x20f04c=this['getFieldDataSource']();return _0x20f04c[_0x50e92e(0x2a1)];}[a0_0xf68f23(0x26f)](){return this['getFields']()['length'];}['getField'](_0xcc1d53){const _0x33b25e=a0_0xf68f23,_0x5c55f4=this['getFieldInstance'](_0xcc1d53);return _0x5c55f4?_0x5c55f4[_0x33b25e(0x344)]:undefined;}['getFieldRaw'](_0x114d9a){return;}['parseFieldExtend'](_0x4a8532){const _0x803404=a0_0xf68f23;if(!_0x4a8532||typeof _0x4a8532!==_0x803404(0x43a))return!![]&&console[_0x803404(0x359)](_0x803404(0x38c),_0x4a8532),{};if(_0x803404(0x3f8)in _0x4a8532){const _0x4c0507=_0x4a8532;return{'primaryKey':typeof _0x4c0507['pkField']==='boolean'?_0x4c0507[_0x803404(0x3f8)]:Boolean(_0x4c0507['pkField']),'required':_0x4c0507[_0x803404(0x283)],'systemRetain':Boolean(_0x4c0507[_0x803404(0x1ee)]),'autoIncrement':_0x4c0507['autoIncrement']??undefined};}if(!(_0x803404(0x3c9)in _0x4a8532)||!_0x4a8532[_0x803404(0x3c9)])return{};try{const _0x168fac=typeof _0x4a8532['extend']==='string'?JSON[_0x803404(0x28b)](_0x4a8532['extend']):_0x4a8532[_0x803404(0x3c9)];if(typeof _0x168fac!==_0x803404(0x43a)||_0x168fac===null)return{};return _0x168fac;}catch{return{};}}[a0_0xf68f23(0x3bd)](){const _0x3b9402=a0_0xf68f23;if(!this[_0x3b9402(0x35a)]){const _0x2cbe28=this[_0x3b9402(0x304)](this[_0x3b9402(0x3f2)]()||{});this[_0x3b9402(0x35a)]=new OperationList(_0x2cbe28,{'fields':this[_0x3b9402(0x24a)]()[_0x3b9402(0x1a8)](),'pkField':this[_0x3b9402(0x2e3)][_0x3b9402(0x26d)]?.[_0x3b9402(0x3f8)],'dbtableConfig':this[_0x3b9402(0x2e3)]['dbtableConfig']||null});}return this['_operationList'];}[a0_0xf68f23(0x304)](_0x1c42d8){const _0x46c6b7=a0_0xf68f23;if(_0x1c42d8[_0x46c6b7(0x1d7)]!==undefined)return _0x1c42d8;return{..._0x1c42d8,'filter':this['generateDefaultFilterOperation']()};}[a0_0xf68f23(0x3d8)](){const _0x4e4304=a0_0xf68f23,_0x109804=this[_0x4e4304(0x3f2)]()?.[_0x4e4304(0x2a6)];let _0x569328=_0x109804?.[_0x4e4304(0x248)],_0x31c8cc='';if(!_0x569328&&this[_0x4e4304(0x3f2)]()){const _0x4d88b2=Object[_0x4e4304(0x36c)](this[_0x4e4304(0x3f2)]());for(const _0x506bd0 of _0x4d88b2){if(_0x506bd0&&typeof _0x506bd0===_0x4e4304(0x43a)&&_0x4e4304(0x248)in _0x506bd0){_0x569328=_0x506bd0[_0x4e4304(0x248)];break;}}}if(_0x109804?.[_0x4e4304(0x2b6)]){const _0x2fd285=_0x109804['path'],_0x9fab8c=_0x2fd285['lastIndexOf']('/');_0x9fab8c!==-0x1&&(_0x31c8cc=_0x2fd285[_0x4e4304(0x397)](0x0,_0x9fab8c));}const _0x501914={};_0x501914[_0x4e4304(0x30b)]=_0x4e4304(0x2dc),_0x501914['type']=_0x4e4304(0x43a),_0x501914[_0x4e4304(0x283)]=![];const _0x22073d={};_0x22073d[_0x4e4304(0x30b)]=_0x4e4304(0x3fe),_0x22073d[_0x4e4304(0x282)]=_0x4e4304(0x3ea),_0x22073d[_0x4e4304(0x283)]=![];const _0x26655d={};_0x26655d['name']=_0x4e4304(0x35d),_0x26655d['type']=_0x4e4304(0x3ea),_0x26655d[_0x4e4304(0x283)]=![];const _0x4e7cb6={};_0x4e7cb6[_0x4e4304(0x30b)]=_0x4e4304(0x25f),_0x4e7cb6[_0x4e4304(0x282)]=_0x4e4304(0x404),_0x4e7cb6[_0x4e4304(0x283)]=![],_0x4e7cb6[_0x4e4304(0x3ef)]=0x1;const _0x2885df={};_0x2885df['name']='pageSize',_0x2885df[_0x4e4304(0x282)]='number',_0x2885df[_0x4e4304(0x283)]=![],_0x2885df[_0x4e4304(0x3ef)]=0xa;const _0xb7fbd2={};return _0xb7fbd2[_0x4e4304(0x30b)]='filter',_0xb7fbd2[_0x4e4304(0x282)]=_0x4e4304(0x1d0),_0xb7fbd2['description']=_0x4e4304(0x37d),_0xb7fbd2[_0x4e4304(0x321)]=_0x4e4304(0x315),_0xb7fbd2['host']=_0x569328,_0xb7fbd2['path']=_0x31c8cc?_0x31c8cc+'/filter':_0x4e4304(0x39b),_0xb7fbd2[_0x4e4304(0x39d)]=_0x109804?.[_0x4e4304(0x39d)]||[_0x501914,_0x22073d,_0x26655d,_0x4e7cb6,_0x2885df],_0xb7fbd2[_0x4e4304(0x377)]=!![],_0xb7fbd2;}[a0_0xf68f23(0x398)](){const _0x45fcad=a0_0xf68f23;return this[_0x45fcad(0x3bd)]()[_0x45fcad(0x41f)]();}['getOperationCount'](){const _0x3e7ea9=a0_0xf68f23;return this[_0x3e7ea9(0x3bd)]()[_0x3e7ea9(0x2b5)]();}[a0_0xf68f23(0x214)](_0x3a1902){const _0x51672d=a0_0xf68f23;if(typeof _0x3a1902!=='string'){!![]&&console[_0x51672d(0x359)](_0x51672d(0x3f4),_0x3a1902);return;}return this[_0x51672d(0x3bd)]()[_0x51672d(0x2c7)](_0x3a1902);}[a0_0xf68f23(0x2ff)](_0x167013){const _0x3b706a=a0_0xf68f23;if(typeof _0x167013!==_0x3b706a(0x3d4))return![];return this[_0x3b706a(0x3bd)]()[_0x3b706a(0x2a9)](_0x167013);}['isOperationEnabled'](_0x4468da){const _0x3abeab=a0_0xf68f23;if(typeof _0x4468da!==_0x3abeab(0x3d4))return![];const _0x4a0197=this[_0x3abeab(0x214)](_0x4468da);return _0x4a0197?.['isEnabled']()||![];}[a0_0xf68f23(0x22c)](){const _0x2b8eda=a0_0xf68f23;return this[_0x2b8eda(0x3bd)]()[_0x2b8eda(0x29b)]();}['getDisabledOperations'](){const _0x34b7ce=a0_0xf68f23;return this['getOperationList']()[_0x34b7ce(0x2be)]();}['getEnabledOperationInstances'](){const _0x8a7fb7=a0_0xf68f23;return this['getOperationList']()[_0x8a7fb7(0x1a7)]();}[a0_0xf68f23(0x390)](){const _0x1148e8=a0_0xf68f23;return this[_0x1148e8(0x3bd)]()[_0x1148e8(0x394)]();}[a0_0xf68f23(0x415)](_0x4d40e7={}){const _0x492b0b=a0_0xf68f23;return this[_0x492b0b(0x3bd)]()[_0x492b0b(0x1e1)](_0x4d40e7);}[a0_0xf68f23(0x246)](){const _0x553c8f=a0_0xf68f23;return{'fieldCount':this[_0x553c8f(0x26f)](),'systemFieldCount':this[_0x553c8f(0x314)]()[_0x553c8f(0x34c)],'businessFieldCount':this[_0x553c8f(0x2fd)]()['length'],'requiredFieldCount':this[_0x553c8f(0x1b5)]()[_0x553c8f(0x34c)],'primaryKeyCount':this['getPrimaryKeyFields']()[_0x553c8f(0x34c)],'operationCount':this['getOperationCount'](),'enabledOperationCount':this[_0x553c8f(0x22c)]()['length']};}[a0_0xf68f23(0x247)](_0x3821ab){const _0x42f770=a0_0xf68f23;if(!_0x3821ab||typeof _0x3821ab!==_0x42f770(0x43a))return'';if(_0x42f770(0x40e)in _0x3821ab&&typeof _0x3821ab['code']===_0x42f770(0x3d4))return _0x3821ab[_0x42f770(0x40e)];if(_0x42f770(0x30b)in _0x3821ab&&typeof _0x3821ab[_0x42f770(0x30b)]===_0x42f770(0x3d4))return _0x3821ab[_0x42f770(0x30b)];return'';}[a0_0xf68f23(0x3c7)](_0x4696a6){const _0xecb56b=a0_0xf68f23;return this[_0xecb56b(0x24a)]()[_0xecb56b(0x2a9)](_0x4696a6);}[a0_0xf68f23(0x2c2)](_0x245cf2){const _0x126ca4=a0_0xf68f23;if(!_0x245cf2||typeof _0x245cf2!==_0x126ca4(0x43a))return![];const _0x11a39c=this[_0x126ca4(0x247)](_0x245cf2),_0xd8205c=this[_0x126ca4(0x420)](_0x11a39c);return _0xd8205c?_0xd8205c[_0x126ca4(0x3db)]():![];}[a0_0xf68f23(0x3ec)](_0x93d7fa){const _0x24b701=a0_0xf68f23;if(!_0x93d7fa||typeof _0x93d7fa!==_0x24b701(0x43a))return![];const _0x472733=this['getFieldCode'](_0x93d7fa),_0x3768b9=this['getFieldInstance'](_0x472733);return _0x3768b9?_0x3768b9[_0x24b701(0x21f)]():![];}[a0_0xf68f23(0x1a9)](_0xe9930f){const _0x3e25eb=a0_0xf68f23;if(!_0xe9930f||typeof _0xe9930f!==_0x3e25eb(0x43a))return![];const _0x12bd35=this['getFieldCode'](_0xe9930f),_0x6e2ec0=this['getFieldInstance'](_0x12bd35);return _0x6e2ec0?_0x6e2ec0['isRequired']():![];}[a0_0xf68f23(0x22d)](_0x223468){const _0x437a35=a0_0xf68f23;if(!_0x223468||typeof _0x223468!==_0x437a35(0x43a))return![];const _0x4ba1d9=this[_0x437a35(0x247)](_0x223468),_0x4ee8d7=this[_0x437a35(0x420)](_0x4ba1d9);return _0x4ee8d7?_0x4ee8d7[_0x437a35(0x44d)]():![];}['isMultipleSelectField'](_0x5306bc){const _0x293356=a0_0xf68f23;if(!_0x5306bc||typeof _0x5306bc!==_0x293356(0x43a))return![];const _0x450ea1=this['getFieldCode'](_0x5306bc),_0x30a252=this['getFieldInstance'](_0x450ea1);return _0x30a252?_0x30a252['isMultipleSelect']():![];}['getFieldOptions'](_0x532d0a){const _0x3d0939=a0_0xf68f23;if(!_0x532d0a||typeof _0x532d0a!=='object')return[];const _0x31df32=this['getFieldCode'](_0x532d0a),_0x3a4747=this[_0x3d0939(0x420)](_0x31df32);if(!_0x3a4747||!_0x3a4747[_0x3d0939(0x44d)]())return[];return _0x3a4747[_0x3d0939(0x2b0)]()||[];}[a0_0xf68f23(0x19d)](_0xf122fa){const _0x469e12=a0_0xf68f23;if(!_0xf122fa||typeof _0xf122fa!==_0x469e12(0x43a))return;const _0x5d4cd2=this[_0x469e12(0x247)](_0xf122fa),_0x47d8c3=this[_0x469e12(0x420)](_0x5d4cd2);if(!_0x47d8c3||!_0x47d8c3['isEnum']())return;return _0x47d8c3[_0x469e12(0x2cc)]();}[a0_0xf68f23(0x368)](_0x13efa3){const _0x1aa1f2=a0_0xf68f23;if(!_0x13efa3||typeof _0x13efa3!==_0x1aa1f2(0x43a))return;const _0x5d3c80=this['getFieldCode'](_0x13efa3),_0x1e681c=this[_0x1aa1f2(0x420)](_0x5d3c80);if(!_0x1e681c||!_0x1e681c[_0x1aa1f2(0x44d)]())return;return _0x1e681c[_0x1aa1f2(0x3cd)]();}[a0_0xf68f23(0x275)](){const _0x21045f=a0_0xf68f23;return this['getFieldList']()[_0x21045f(0x21a)]()['map'](_0x78e138=>_0x78e138[_0x21045f(0x344)]);}[a0_0xf68f23(0x314)](){const _0x333d28=a0_0xf68f23;return this[_0x333d28(0x24a)]()[_0x333d28(0x1e0)]()[_0x333d28(0x336)](_0x563205=>_0x563205[_0x333d28(0x344)]);}[a0_0xf68f23(0x2fd)](){const _0x2de503=a0_0xf68f23;return this['getFieldList']()[_0x2de503(0x418)]()[_0x2de503(0x336)](_0x1233e1=>_0x1233e1[_0x2de503(0x344)]);}[a0_0xf68f23(0x1b5)](){const _0x3e8633=a0_0xf68f23;return this[_0x3e8633(0x24a)]()[_0x3e8633(0x1f6)]()[_0x3e8633(0x336)](_0x34dece=>_0x34dece[_0x3e8633(0x344)]);}['getFieldsByType'](){const _0x3cf9fd=a0_0xf68f23,_0x38fc96=this['getFieldList']()[_0x3cf9fd(0x2a2)](),_0x25f9dd={};for(const [_0x3aceb8,_0x409572]of Object[_0x3cf9fd(0x1b4)](_0x38fc96)){_0x25f9dd[_0x3aceb8]=_0x409572['map'](_0x166265=>_0x166265[_0x3cf9fd(0x344)]);}return _0x25f9dd;}['getEnumFields'](){const _0x5d1d29=a0_0xf68f23;return this[_0x5d1d29(0x24a)]()[_0x5d1d29(0x2fc)]()[_0x5d1d29(0x336)](_0x41828b=>_0x41828b[_0x5d1d29(0x344)]);}[a0_0xf68f23(0x37b)](){const _0x3a0347=a0_0xf68f23,_0x5ee5e5={};return this[_0x3a0347(0x416)]()[_0x3a0347(0x1df)](_0xf8e23f=>{const _0x193e28=_0x3a0347,_0xe3df2d=this[_0x193e28(0x368)](_0xf8e23f);if(_0xe3df2d){const _0x212e01=this[_0x193e28(0x247)](_0xf8e23f);_0x5ee5e5[_0x212e01]=_0xe3df2d;}}),_0x5ee5e5;}[a0_0xf68f23(0x204)](_0x11a17e,_0x406fe6){const _0xa9328b=a0_0xf68f23,_0x1b03a8=this[_0xa9328b(0x368)](_0x11a17e);if(!_0x1b03a8)return!![];if(_0x1b03a8[_0xa9328b(0x316)]&&!_0x1b03a8[_0xa9328b(0x226)])return!![];const _0x3c7301=this[_0xa9328b(0x247)](_0x11a17e),_0x77d592=this[_0xa9328b(0x420)](_0x3c7301),_0x56d998=_0x77d592?_0x77d592[_0xa9328b(0x221)]():![];if(_0x56d998&&Array[_0xa9328b(0x30c)](_0x406fe6))return _0x406fe6[_0xa9328b(0x3d9)](_0x2c88bd=>_0x1b03a8['values'][_0xa9328b(0x3bb)](_0x2c88bd));return _0x1b03a8[_0xa9328b(0x36c)][_0xa9328b(0x3bb)](_0x406fe6);}[a0_0xf68f23(0x40c)](){const _0x340e5b=a0_0xf68f23;return new DatasetItem({'id':this['id'],'name':this[_0x340e5b(0x30b)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x340e5b(0x298)]()});}[a0_0xf68f23(0x250)](){const _0x43f0b9=a0_0xf68f23;return _0x43f0b9(0x20f)+this[_0x43f0b9(0x30b)]+',\x20'+this[_0x43f0b9(0x362)]+',\x20'+this['getFieldCount']()+'\x20fields,\x20'+this[_0x43f0b9(0x3ac)]()+_0x43f0b9(0x3b8)+this[_0x43f0b9(0x392)]()+')';}[a0_0xf68f23(0x1cc)](){const _0x3271f4=a0_0xf68f23;return this[_0x3271f4(0x44a)](_0x3271f4(0x1d7));}['getFieldFilterOperators'](_0x2e3f91){const _0x22b1c5=a0_0xf68f23;return this[_0x22b1c5(0x329)](_0x22b1c5(0x1d7),_0x2e3f91);}['getFieldsFilterOperatorsMap'](){const _0x9a0b3f=a0_0xf68f23;return this[_0x9a0b3f(0x38e)](_0x9a0b3f(0x1d7));}[a0_0xf68f23(0x44a)](_0x109e6e){const _0x1718dc=a0_0xf68f23,_0x141907=this[_0x1718dc(0x214)](_0x109e6e);return _0x141907?_0x141907[_0x1718dc(0x1e5)]():[];}[a0_0xf68f23(0x329)](_0x176440,_0x4740dd){const _0x1e4c40=a0_0xf68f23,_0x2d4929=this[_0x1e4c40(0x214)](_0x176440);return _0x2d4929?_0x2d4929[_0x1e4c40(0x458)](_0x4740dd):[];}[a0_0xf68f23(0x38e)](_0xa98965){const _0x4eb0e6=a0_0xf68f23,_0x4e278b={};return this['getFieldList']()[_0x4eb0e6(0x1df)](_0x4bbade=>{const _0x2a2ba8=_0x4eb0e6,_0x5443fe=this[_0x2a2ba8(0x329)](_0xa98965,_0x4bbade[_0x2a2ba8(0x40e)]);_0x5443fe[_0x2a2ba8(0x34c)]>0x0&&(_0x4e278b[_0x4bbade['code']]=_0x5443fe);}),_0x4e278b;}[a0_0xf68f23(0x31d)](_0x3fe433,_0x4b3ce8,_0x365ee2){const _0x5eb018=a0_0xf68f23,_0x2743b1=this['getOperationFieldOperators'](_0x3fe433,_0x4b3ce8);return _0x2743b1[_0x5eb018(0x3bb)](_0x365ee2);}}class FieldBase{get[a0_0xf68f23(0x264)](){return;}get[a0_0xf68f23(0x1ea)](){return;}get[a0_0xf68f23(0x448)](){return;}get['doType'](){return;}[a0_0xf68f23(0x3ff)](){const _0x456b2f=a0_0xf68f23;return!this[_0x456b2f(0x21f)]();}[a0_0xf68f23(0x24b)](){const _0x316086=a0_0xf68f23;return this[_0x316086(0x2fa)];}['isEnum'](){const _0x10c2a3=a0_0xf68f23,_0x258ec8=[_0x10c2a3(0x343),_0x10c2a3(0x3b5),_0x10c2a3(0x357)];return _0x258ec8[_0x10c2a3(0x3bb)](this[_0x10c2a3(0x282)]);}[a0_0xf68f23(0x221)](){const _0x13c32c=a0_0xf68f23;return this[_0x13c32c(0x282)]===_0x13c32c(0x357);}[a0_0xf68f23(0x21d)](){const _0x1ef1ac=a0_0xf68f23,_0xf08252=this[_0x1ef1ac(0x3cd)]();return _0xf08252?.['values']||[];}['getEnumMeta'](){const _0x15624f=a0_0xf68f23;if(!this[_0x15624f(0x44d)]())return;const _0x4c9b0c=this[_0x15624f(0x2b0)](),_0xcb426a=this[_0x15624f(0x2cc)](),_0x70a2e2=[],_0x14cff2={},_0x34f05d=_0x13ad92=>{_0x13ad92['forEach'](_0x5cea22=>{const _0x449bb5=a0_0x274a;if(!_0x5cea22||typeof _0x5cea22!==_0x449bb5(0x43a))return;_0x5cea22[_0x449bb5(0x45e)]!==undefined&&_0x5cea22[_0x449bb5(0x45e)]!==null&&(_0x70a2e2['push'](_0x5cea22[_0x449bb5(0x45e)]),_0x14cff2[String(_0x5cea22['value'])]=_0x5cea22[_0x449bb5(0x3d5)]||''),_0x5cea22['children']&&Array['isArray'](_0x5cea22[_0x449bb5(0x1d4)])&&_0x5cea22[_0x449bb5(0x1d4)][_0x449bb5(0x34c)]>0x0&&_0x34f05d(_0x5cea22['children']);});};return _0x4c9b0c&&Array[_0x15624f(0x30c)](_0x4c9b0c)&&_0x4c9b0c[_0x15624f(0x34c)]>0x0&&_0x34f05d(_0x4c9b0c),{'code':this[_0x15624f(0x40e)],'name':this['name'],'type':this[_0x15624f(0x282)],'multiple':this[_0x15624f(0x221)](),'options':_0x4c9b0c,'selectItemsSource':_0xcb426a,'values':_0x70a2e2,'valueLabels':_0x14cff2};}get['enumValues'](){return this['getEnumValues']();}['toString'](){const _0x1c2ba1=a0_0xf68f23;return _0x1c2ba1(0x25b)+this[_0x1c2ba1(0x30b)]+',\x20'+this[_0x1c2ba1(0x40e)]+',\x20'+this['type']+',\x20'+this[_0x1c2ba1(0x392)]()+')';}}function a0_0x5e0f(){const _0x1c26e9=['String','getRawDbtableConfig','getRequestParams','toUpperCase','getEnabledNames','DatasetGroup(','findById','version','获取下拉选项','online','fields','groupByType','from','getConflicts','支持单值或数组','getList','2024-01-01','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','has','N/A','完整的\x20SDK\x20调用代码','createDate','_requestExampleCache','item1','\x20operations,\x20v2)','getEnumOptions','getRelationsByField','_datasetMeta','properties','解析\x20responseBody\x20失败:','size','path','分组字段列表','FieldV2(','sortNum','200','empty','findByTableName','$contain','getDisabledNames','getModelAlias','getSelectOptions','查询单条(原始)','isPrimaryKeyField','distinct','max','-\x20主键ID,用于定位要更新的记录\x0a\x0a','getInternalInstance','get','getOperationAnalyses','RICH_TEXT','usageExample','trim','getSelectItemsSource','getUpdateTime','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','getModelName','isFieldPrimaryKey','LONGTEXT','findByName','env','update\x20接口接受两个参数:\x0a\x0a','getFieldListV2','排序规则','\x20groups)','UPDATE','toISOString','示例值','responseBody','where','getOperationRequestFields','yourModel','dataset_unknown','(支持单值或数组)','DatasetList(','getPath','_raw','_fieldListV1','**可更新的字段列表:**','Integer','Object','\x20groups,\x20','Excel导出','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','generateFieldExample','pageSize','getEnabledOperationAnalyses','hasDbtableConfig','requestFieldCount',',\x20fields:\x20','totalCount','getFieldType','\x20fields)','主键ID(必填)','errorCode','[dsparser]\x20跳过重复的表名\x20\x22','字段编码','HTTP\x20请求示例(平铺格式)','Object[]','deleted','getCreateTime','getEnum','getBusinessFields','allFields','hasOperation','时间戳','generateConfig','getEnabledOperationInstances','conflictGroupCount','ensureFilterOperation','STRING','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','dataIndex','SWITCH','title','getCountByMethod','name','isArray','##\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','sort','getFieldDisplayName','JSON','createExport','parseRawResponseBody','getIds','getSystemFields','POST','selectItemsSource','_max','_operationAnalyses','supportsCRUD','1641615aUQOTT','getFieldDefinition','TIME','isOperatorApplicableToField','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','isEmpty','hasCreatorIdField','method','getDisplayName','getConflictStats','placeholder','has\x20conflicts','INT','isNumericField','GET_UPLOAD_FILE_SCRIPT','getOperationFieldOperators','includeUsageExample','getDisabledOperations',',\x20currentPage,\x20pageSize,\x20...\x20});','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','hasModifierIdField','datasetId','TEXTAREA','having','datasetName','value2','GET','查询单条','map','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getHTTPRequestParamsDocInfo','getForeignKeyFields','VARCHAR','Array','modifierIdField','dbId','getResponseParamsDocInfo','getFieldRaw','dbName','createTimeField','GET_ONE','RADIO','raw','getLatestDatasets','getDbName','dataset_000000','getOneUpdate','getAllDatasets','round','primaryKey','length','getFieldDescription','charAt','getFieldsWithDeleted','_relations','$and','importTemplate','getFilteredOperationAnalyses','_min','getCode','fromField','CHECKBOX','_datasetMap','warn','_operationList','创建导入','84xAxBuL','orderBy','suffix','const\x20result\x20=\x20await\x20client.models.','hasFilterOperation','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','datasetCode','alias','-\x20主键使用\x20`id`\x20字段\x0a','toConfigArray','getFieldsV2','DECIMAL','getEnumFieldMeta','_extend','getDatasetDocMeta','getEnumMetas','values','hasConflicts','-$1','join','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','接口名称','findAll','getAutoIncrement','msg','stringify','parseRawRequestBody','_autoGenerated','no\x20conflicts','createImport','当前页码(可选)','getEnumFieldsMeta','2.0','Filter\x20API\x20-\x20高级查询接口','Number','\x5c{\x5c{','datasetMap','获取数据集列表失败:\x20','getFullUrl','keys','datasetKey','解析\x20requestBody\x20失败:','set','push','includeDeleted','excelExport','[FieldV2]\x20Invalid\x20field\x20definition','generateResponseExample','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','GET_LIST','getOperationFieldsOperatorsMap','1.0','getDisabledOperationInstances','({\x20code,\x20label\x20});','getVersion','detectConflicts','getDisabled','getRealTables','getDatabaseName','substring','getOperations','slice','toDatasetId','/filter','daily','params','DATE','_fields','requestFields','modelCode','getAllFieldsString','createAll','toLowerCase','generateSingleValueExample','获取上传脚本','OperationList(','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','precision','doVersion','multiple','getOperationCount','tooltip','getHTTPFields','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','generateUsageExample','getOneOrigin','prefix','getLast','getOne','SELECT','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','operation','\x20operations,\x20','每页数量','TASK_INFO','includes','total','getOperationList','getAt','[parseFieldExtend]\x20Invalid\x20field:','replace','1.0.0-beta.8','modifierNameField','initDataset','聚合函数配置数组','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','createFields','hasField','DOUBLE','extend','TINYINT','getDatabaseType','item2','getEnumMeta','demo-app','getCountByType','DrivenDataDetailPlus(','creatorIdField','split',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','string','label','<p>富文本内容</p>','getActive','generateDefaultFilterOperation','every','\x22,数据集:\x20','isPrimaryKey','delete','$ne','getFieldV2','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getMethod','toDatasetName','getSource','mapDbTypeToType','repeat','745354JatSmZ','function','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','_operations','$in','array','getFieldsByType','isSystemField','columnName','phone','default','$eq','errorMsg','getOperationsData','排序规则(与\x20Filter\x20API\x20一致)','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','isRequired','53459BdvLey','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','pkField','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','systemFieldCount','some','dblinkInfoDTO','generateRequestAllExamples','select','isBusiness','min','0000','getItems','getDeleted','number','getResponseSchema','getCount','EXCEL_EXPORT','SDK\x20调用','forceVersion','hasExtendField','getExtendField','toListItem','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','code','({\x20','update','getUploadFileScript','dataset','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','aggregate','getFilteredOperations','getEnumFields','<!--\x5cs*CONDITION:\x5cs*','getBusiness','normalizeDbType','getFieldOptions','isEnabled','CREATE_IMPORT','$gteq','String[]','toArray','getFieldInstance','sdkCallCode','数组查询(支持多选)','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','getCodes','getDefaultValue','(实际字段:','toField','系统自动生成','generateFromSchema','(params);','({\x20/*\x20可选:筛选条件\x20*/\x20});','NUMBER','3zbffAS','isCreateTime','labelField','_sum','_fieldListWithDeleted','FieldV1(','getFieldDataSource','getFields','CREATE','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','DESC','toFieldDefinition','generateHTTPRequestExample','object','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','sum','getType','$gte','successCode','8952630jgZjpj','isUpdateTime','getOperationDocMeta','IMPORT_TEMPLATE','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','hasDblinkInfo','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','useFullExample','displayName','分组后的过滤条件(对聚合结果进行过滤)','getOperationOperators','HTTP\x20直接调用时使用平铺格式:\x0a','FieldList(','isEnum','\x20fields,\x20','findAllByTableName','$lte','$lteq','getFieldListWithDeleted','INTEGER','generateRequestExample','avg','getLatest','getFieldNames','getFieldOperators','doType','getTableName','useArrayValues','email','hasRelation','value','getAllParams','_fieldListV2','getFieldSelectItemsSource','getRelatedDataset','getTooltip','count','customFilter','random','LONGBLOB','CREATE_EXPORT','查询条件(支持\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)','getSDKInitData','getEnabled','all','isRequiredField','dbVersion','getSystemAnalysisResult','getTableKey','getDOType','datasetInfo','DELETE','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','\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','这是一段较长的文本内容示例','generateSDKCallCode','entries','getRequiredFields','find','下拉选择','findByCode','getField','(id,\x20data);','groupBy','create','getAppCode','taskInfo','generateHTTPExample','const\x20fileUrl\x20=\x20await\x20client.models.','total_count','fullUrl','BLOB','hasTableName','FLOAT','appCode','getFieldName','getFilterOperation','desc','[FieldV1.extend]\x20解析字段\x20','now','getFilterOperators','getRequestFields','UPLOAD','enabled','query','generateExampleValue','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','\x20indexes)','children','includeDisabled','getIndexes','filter','getDbTypeForOperation','getApplicableOperators','value1','$startWith','includeRequestExample','2024-12-31','任务信息','forEach','getSystem','getFiltered','导入模板','示例文本','CHAR','getOperators','FILE','description','businessFieldCount','getByType','dbTypeLen','data','generateOperationSummary','getFileUrl','systemRetain','返回字段列表(字段投影)','每页条数','_fieldListV1WithDeleted','255356fEijxW','bind','fieldCount','getDatasetMeta','getRequired','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','valueLabels','getConflictingItems','BOOL','单值查询','defaultValue','getName','_fieldList','SDK\x20调用时传递两个参数:\x0a','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','getRaw','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','tableData','validateEnumValue','prototype','sdkCall','getDBConfig','getNames','groups','withDeleted','getTenantCode','toConfig','add','status','DrivenDataDetail(','富文本','context','();','getUpdateFields','getOperation','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','77336cvMzoR','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','DatasetGroupMap(','要更新的字段数据对象','getPrimaryKeys',',\x20doType=','getMissingCRUDOperations','getEnumValues','主键ID','isSystem','请求示例','isMultipleSelect','文件上传','generateAliasExplanation','getOperationsOverviewData','getRelations','options','BOOLEAN','getOperationAnalysesByType','index','Operation\x20not\x20found:\x20','tableKey','getEnabledOperations','isEnumField','操作成功','indexes','sortOperationsWithFilterFirst','\x5c}\x5c}','$endWith','SDK\x20调用示例(两参数格式)','hasConflict','generateFullSDKExample','BIGINT','requestBody','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','SMALLINT','filterBlacklist','DrivenDataDetailV2(','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','operations','\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','\x20items,\x20','hasCreateTimeField','isVirtualTable','hasLogicField','API路径','https://example.com/file.pdf','selectBestOperator','getStats','getFieldCode','host','_instance','getFieldList','isDeleted','generateAllOperationsSummary','DATETIME','fieldName','isMultipleSelectField','toString','column','user@example.com','modifyDate','logicField','();\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}','getAll','dataset_','//\x20','createTime','8nQbdqy','Field(','tenantCode','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','datasetSDKKey','currentPage','getFieldsFilterOperatorsMap','success','totalGroups','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','dbType','iterator','hasUpdateTimeField','GET_ONE_ORIGIN','getVirtualTables','字段名称','autoIncrement','DatasetItem(','$or','dbtableConfig','//\x20Usage\x20examples','getFieldCount','getAllFieldsArray','\x20operation','source','relations','getRequestParamsDocInfo','getPrimaryKeyFields','field_name','toJSON','`:\x20','每页数量(默认:\x2020)','items','isAutoIncrement','TIMESTAMP','4896009rFAhxj','getOperationAnalysis','tableName','updateTimeField','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','type','required','fromApiResponse','responseSchema','getFirst','当前页码','BIT','FieldListV2(','systemAnalysisResult','parse','creatorNameField','getOperationStats','exampleWhere','generateSDKInitCode','getDatasetSDKKey','operationCount','查询单条(用于更新)','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','DbtableConfig(table:\x20','TEXT','getDatabaseVersion'];a0_0x5e0f=function(){return _0x1c26e9;};return a0_0x5e0f();}class FieldV1 extends FieldBase{[a0_0xf68f23(0x2e3)];[a0_0xf68f23(0x369)]=null;constructor(_0x519f73){const _0x5f59c6=a0_0xf68f23;super();if(!_0x519f73||typeof _0x519f73!==_0x5f59c6(0x43a))throw new Error('[Field]\x20Invalid\x20field\x20definition');this['_raw']=_0x519f73;}[a0_0xf68f23(0x438)](){return this['_raw'];}[a0_0xf68f23(0x392)](){return'v1';}get[a0_0xf68f23(0x344)](){const _0x3b8aa2=a0_0xf68f23;return this[_0x3b8aa2(0x2e3)];}get[a0_0xf68f23(0x30b)](){return this['_raw']['name']||'';}get[a0_0xf68f23(0x40e)](){const _0x49f340=a0_0xf68f23;return this['_raw'][_0x49f340(0x40e)]||'';}get[a0_0xf68f23(0x282)](){const _0x16dee7=a0_0xf68f23;return this[_0x16dee7(0x2e3)][_0x16dee7(0x282)]||'';}get[a0_0xf68f23(0x1e7)](){const _0x4fa2fa=a0_0xf68f23;return this['_raw'][_0x4fa2fa(0x1e7)]||'';}get['deleted'](){const _0x22ed78=a0_0xf68f23;return Boolean(this[_0x22ed78(0x2e3)][_0x22ed78(0x2fa)]);}get['dbType'](){const _0x22af12=a0_0xf68f23;return this[_0x22af12(0x2e3)][_0x22af12(0x264)];}get[a0_0xf68f23(0x1ea)](){const _0x2216e1=a0_0xf68f23;return this['_raw'][_0x2216e1(0x1ea)];}get['displayName'](){const _0x344577=a0_0xf68f23;return this['_raw'][_0x344577(0x363)];}get[a0_0xf68f23(0x459)](){return;}get[a0_0xf68f23(0x3c9)](){const _0x42d9c1=a0_0xf68f23;if(this[_0x42d9c1(0x369)]!==null&&typeof this[_0x42d9c1(0x369)]===_0x42d9c1(0x43a))return this[_0x42d9c1(0x369)];const _0x50d197=this[_0x42d9c1(0x2e3)][_0x42d9c1(0x3c9)];if(!_0x50d197||typeof _0x50d197!==_0x42d9c1(0x3d4))return this[_0x42d9c1(0x369)]={},this[_0x42d9c1(0x369)];if(_0x50d197==='null'||_0x50d197[_0x42d9c1(0x2cb)]()==='null')return this[_0x42d9c1(0x369)]={},this[_0x42d9c1(0x369)];try{const _0x13aaf4=JSON['parse'](_0x50d197);return this['_extend']=_0x13aaf4!==null&&typeof _0x13aaf4===_0x42d9c1(0x43a)&&!Array[_0x42d9c1(0x30c)](_0x13aaf4)?_0x13aaf4:{},this[_0x42d9c1(0x369)];}catch(_0x1d82bc){return!![]&&console[_0x42d9c1(0x359)](_0x42d9c1(0x1ca)+this[_0x42d9c1(0x40e)]+'\x20的\x20extend\x20配置失败:',_0x1d82bc),this['_extend']={},this[_0x42d9c1(0x369)];}}[a0_0xf68f23(0x3f5)](){const _0x5d5b8b=a0_0xf68f23;return Boolean(this[_0x5d5b8b(0x3c9)][_0x5d5b8b(0x283)]);}['isPrimaryKey'](){const _0xea807=a0_0xf68f23;return Boolean(this['extend']['primaryKey']||this[_0xea807(0x3c9)][_0xea807(0x3f8)]);}['isSystem'](){const _0x33f329=a0_0xf68f23;return Boolean(this[_0x33f329(0x3c9)][_0x33f329(0x1ee)]);}[a0_0xf68f23(0x27b)](){const _0x5b3cce=a0_0xf68f23;return Boolean(this[_0x5b3cce(0x3c9)][_0x5b3cce(0x26a)]);}[a0_0xf68f23(0x42e)](){const _0x32b41a=a0_0xf68f23;return Boolean(this[_0x32b41a(0x3c9)][_0x32b41a(0x259)]);}['isUpdateTime'](){return Boolean(this['extend']['updateTime']);}[a0_0xf68f23(0x322)](){const _0x2cacdc=a0_0xf68f23;return this[_0x2cacdc(0x30b)];}[a0_0xf68f23(0x1c7)](){const _0x554391=a0_0xf68f23;return this[_0x554391(0x40e)];}['isEnum'](){const _0x59fe48=a0_0xf68f23,_0x1d96c0=[_0x59fe48(0x343),'SELECT',_0x59fe48(0x357)];if(_0x1d96c0[_0x59fe48(0x3bb)](this[_0x59fe48(0x282)]))return!![];const _0x35ac5d=this[_0x59fe48(0x3c9)];return Boolean(_0x35ac5d[_0x59fe48(0x226)]&&Array[_0x59fe48(0x30c)](_0x35ac5d[_0x59fe48(0x226)])&&_0x35ac5d[_0x59fe48(0x226)][_0x59fe48(0x34c)]>0x0||_0x35ac5d[_0x59fe48(0x316)]);}[a0_0xf68f23(0x221)](){const _0x5be6c5=a0_0xf68f23;if(this['type']===_0x5be6c5(0x357))return!![];return Boolean(this['extend'][_0x5be6c5(0x3ab)]);}[a0_0xf68f23(0x2b0)](){const _0x362c62=a0_0xf68f23,_0x1c32ac=this[_0x362c62(0x3c9)];if(_0x1c32ac['options']&&Array['isArray'](_0x1c32ac['options']))return _0x1c32ac[_0x362c62(0x226)];return;}[a0_0xf68f23(0x2cc)](){const _0x1e0ae3=a0_0xf68f23,_0x283da4=this[_0x1e0ae3(0x3c9)];if(_0x283da4['selectItemsSource']&&typeof _0x283da4[_0x1e0ae3(0x316)]===_0x1e0ae3(0x43a))return _0x283da4[_0x1e0ae3(0x316)];return;}[a0_0xf68f23(0x1d8)](){const _0x359d15=a0_0xf68f23;return this[_0x359d15(0x282)][_0x359d15(0x29a)]();}[a0_0xf68f23(0x425)](){const _0x391a00=a0_0xf68f23;return this[_0x391a00(0x3c9)][_0x391a00(0x1fc)];}[a0_0xf68f23(0x19f)](){const _0x4ee534=a0_0xf68f23;return this[_0x4ee534(0x3c9)][_0x4ee534(0x3ad)];}['toJSON'](){const _0x3b2a46=a0_0xf68f23;return{'name':this[_0x3b2a46(0x30b)],'code':this[_0x3b2a46(0x40e)],'type':this['type'],'dbType':this['dbType'],'dbTypeLen':this['dbTypeLen'],'description':this[_0x3b2a46(0x1e7)],'required':this[_0x3b2a46(0x3f5)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x3b2a46(0x21f)](),'autoIncrement':this[_0x3b2a46(0x27b)](),'createTime':this[_0x3b2a46(0x42e)](),'updateTime':this[_0x3b2a46(0x441)](),'isEnum':this['isEnum'](),'enumMeta':this['isEnum']()?this[_0x3b2a46(0x3cd)]():undefined};}['toString'](){const _0x7e97a8=a0_0xf68f23;return _0x7e97a8(0x432)+this[_0x7e97a8(0x30b)]+',\x20'+this[_0x7e97a8(0x40e)]+',\x20'+this[_0x7e97a8(0x282)]+')';}}class FieldListBase{[a0_0xf68f23(0x39f)];constructor(_0x2d343a,_0xfa78c9){const _0x151dae=a0_0xf68f23,_0x6cf97d=Array[_0x151dae(0x30c)](_0x2d343a)?_0x2d343a:[],_0x4ecb97=_0xfa78c9?.['includeDeleted']??![],_0x7a058=_0x4ecb97?_0x6cf97d:_0x6cf97d[_0x151dae(0x1d7)](_0x33fe5d=>{const _0x50e17c=_0x151dae;if(!_0x33fe5d||typeof _0x33fe5d!==_0x50e17c(0x43a))return![];const _0x43e0ec=_0x33fe5d;return!_0x43e0ec['deleted'];});this[_0x151dae(0x39f)]=this[_0x151dae(0x3c6)](_0x7a058);}get[a0_0xf68f23(0x34c)](){const _0xdd0dfa=a0_0xf68f23;return this[_0xdd0dfa(0x39f)][_0xdd0dfa(0x34c)];}[a0_0xf68f23(0x1a8)](){const _0x35b252=a0_0xf68f23;return[...this[_0x35b252(0x39f)]];}['at'](_0x3e271c){const _0xb7d8f3=a0_0xf68f23;return this[_0xb7d8f3(0x39f)]['at'](_0x3e271c);}[a0_0xf68f23(0x1b6)](_0x5a7dfb){const _0x170d5b=a0_0xf68f23;return this[_0x170d5b(0x39f)][_0x170d5b(0x1b6)](_0x2d29a7=>_0x2d29a7[_0x170d5b(0x40e)]===_0x5a7dfb);}[a0_0xf68f23(0x2d2)](_0x26df6a){return this['_fields']['find'](_0x270bdb=>_0x270bdb['name']===_0x26df6a);}[a0_0xf68f23(0x2a9)](_0x2e31bd){const _0x3c5c20=a0_0xf68f23;return this[_0x3c5c20(0x39f)][_0x3c5c20(0x3fb)](_0x1275ff=>_0x1275ff['code']===_0x2e31bd);}[a0_0xf68f23(0x1df)](_0x48ba00){const _0x25ff33=a0_0xf68f23;this['_fields'][_0x25ff33(0x1df)](_0x48ba00);}[a0_0xf68f23(0x336)](_0x175f3c){const _0x20a3bf=a0_0xf68f23;return this[_0x20a3bf(0x39f)][_0x20a3bf(0x336)](_0x175f3c);}['filter'](_0x47e795){const _0x14f687=a0_0xf68f23;return this[_0x14f687(0x39f)][_0x14f687(0x1d7)](_0x47e795);}[a0_0xf68f23(0x3d9)](_0xdb8b92){const _0x3ea29e=a0_0xf68f23;return this[_0x3ea29e(0x39f)][_0x3ea29e(0x3d9)](_0xdb8b92);}[a0_0xf68f23(0x3fb)](_0x2a1348){const _0x59ecc0=a0_0xf68f23;return this[_0x59ecc0(0x39f)][_0x59ecc0(0x3fb)](_0x2a1348);}[a0_0xf68f23(0x1f6)](){const _0xaf530f=a0_0xf68f23;return this[_0xaf530f(0x39f)][_0xaf530f(0x1d7)](_0x5c7dd9=>_0x5c7dd9[_0xaf530f(0x3f5)]());}['getPrimaryKeys'](){const _0x4575f6=a0_0xf68f23;return this[_0x4575f6(0x39f)][_0x4575f6(0x1d7)](_0xfdcfeb=>_0xfdcfeb['isPrimaryKey']());}[a0_0xf68f23(0x1e0)](){const _0x19a54c=a0_0xf68f23;return this[_0x19a54c(0x39f)]['filter'](_0x467de=>_0x467de['isSystem']());}[a0_0xf68f23(0x418)](){const _0x35b62f=a0_0xf68f23;return this[_0x35b62f(0x39f)][_0x35b62f(0x1d7)](_0x665ece=>_0x665ece[_0x35b62f(0x3ff)]());}[a0_0xf68f23(0x2fc)](){const _0x124b57=a0_0xf68f23;return this[_0x124b57(0x39f)]['filter'](_0xf4e99c=>_0xf4e99c[_0x124b57(0x44d)]());}[a0_0xf68f23(0x373)](){const _0x2cf409=a0_0xf68f23;return this[_0x2cf409(0x39f)][_0x2cf409(0x1d7)](_0x3011f8=>_0x3011f8[_0x2cf409(0x27b)]());}[a0_0xf68f23(0x2fb)](){const _0x27c1a7=a0_0xf68f23;return this[_0x27c1a7(0x39f)][_0x27c1a7(0x1d7)](_0x336536=>_0x336536[_0x27c1a7(0x42e)]());}[a0_0xf68f23(0x2cd)](){const _0x4a9a8b=a0_0xf68f23;return this[_0x4a9a8b(0x39f)][_0x4a9a8b(0x1d7)](_0x1b2a54=>_0x1b2a54[_0x4a9a8b(0x441)]());}[a0_0xf68f23(0x403)](){const _0x3946f2=a0_0xf68f23;return this[_0x3946f2(0x39f)][_0x3946f2(0x1d7)](_0x2038a6=>_0x2038a6[_0x3946f2(0x24b)]());}[a0_0xf68f23(0x3d7)](){const _0x25809e=a0_0xf68f23;return this[_0x25809e(0x39f)][_0x25809e(0x1d7)](_0x10aa66=>!_0x10aa66['isDeleted']());}['groupByType'](){const _0x1c33ec=a0_0xf68f23,_0x3f9231={};return this[_0x1c33ec(0x39f)][_0x1c33ec(0x1df)](_0x892698=>{const _0x300d47=_0x1c33ec,_0x1c7e30=_0x892698[_0x300d47(0x282)];!_0x3f9231[_0x1c7e30]&&(_0x3f9231[_0x1c7e30]=[]),_0x3f9231[_0x1c7e30][_0x300d47(0x387)](_0x892698);}),_0x3f9231;}[a0_0xf68f23(0x36b)](){const _0x44b51a=a0_0xf68f23,_0x210fc3={};return this[_0x44b51a(0x39f)]['forEach'](_0x3970ca=>{const _0x482a52=_0x44b51a;if(_0x3970ca[_0x482a52(0x44d)]()){const _0x16c0e0=_0x3970ca['getEnumMeta']();_0x16c0e0&&(_0x210fc3[_0x3970ca[_0x482a52(0x40e)]]=_0x16c0e0);}}),_0x210fc3;}[a0_0xf68f23(0x246)](){const _0x3318e7=a0_0xf68f23;return{'total':this[_0x3318e7(0x34c)],'required':this[_0x3318e7(0x1f6)]()[_0x3318e7(0x34c)],'primaryKey':this[_0x3318e7(0x21a)]()['length'],'system':this['getSystem']()[_0x3318e7(0x34c)],'business':this[_0x3318e7(0x418)]()[_0x3318e7(0x34c)],'enum':this[_0x3318e7(0x2fc)]()[_0x3318e7(0x34c)],'autoIncrement':this[_0x3318e7(0x373)]()[_0x3318e7(0x34c)]};}[a0_0xf68f23(0x424)](){const _0x22ba02=a0_0xf68f23;return this[_0x22ba02(0x39f)][_0x22ba02(0x336)](_0x43bea5=>_0x43bea5[_0x22ba02(0x40e)]);}[a0_0xf68f23(0x208)](){const _0x2e682d=a0_0xf68f23;return this['_fields'][_0x2e682d(0x336)](_0x54da5c=>_0x54da5c[_0x2e682d(0x322)]());}[a0_0xf68f23(0x457)](){const _0x188a23=a0_0xf68f23;return this[_0x188a23(0x39f)]['map'](_0x287ebc=>_0x287ebc[_0x188a23(0x1c7)]());}[a0_0xf68f23(0x277)](){const _0x1d1a83=a0_0xf68f23;return this[_0x1d1a83(0x39f)][_0x1d1a83(0x336)](_0x3d9670=>_0x3d9670[_0x1d1a83(0x277)]());}[a0_0xf68f23(0x250)](){const _0x18fd06=a0_0xf68f23;return _0x18fd06(0x44c)+this[_0x18fd06(0x34c)]+_0x18fd06(0x2f3);}}class FieldListV1 extends FieldListBase{constructor(_0x45398e,_0x57ce03){super(_0x45398e,_0x57ce03);}['createFields'](_0x20dc58){const _0x248bec=a0_0xf68f23;return _0x20dc58[_0x248bec(0x336)](_0x5694d0=>new FieldV1(_0x5694d0));}['all'](){return[...this['_fields']];}['at'](_0x67ebf4){const _0x5e7b36=a0_0xf68f23;return this[_0x5e7b36(0x39f)]['at'](_0x67ebf4);}['find'](_0x31e649){const _0x5557f9=a0_0xf68f23;return this[_0x5557f9(0x39f)][_0x5557f9(0x1b6)](_0x1b1602=>_0x1b1602[_0x5557f9(0x40e)]===_0x31e649);}[a0_0xf68f23(0x2d2)](_0x88c837){const _0x1f5a82=a0_0xf68f23;return this[_0x1f5a82(0x39f)][_0x1f5a82(0x1b6)](_0xbf9641=>_0xbf9641[_0x1f5a82(0x30b)]===_0x88c837);}[a0_0xf68f23(0x1d7)](_0x372928){const _0x297be2=a0_0xf68f23;return this[_0x297be2(0x39f)][_0x297be2(0x1d7)](_0x372928);}[a0_0xf68f23(0x336)](_0x3de7e2){const _0x148eb2=a0_0xf68f23;return this[_0x148eb2(0x39f)]['map'](_0x3de7e2);}[a0_0xf68f23(0x1f6)](){const _0x8ff6b6=a0_0xf68f23;return this[_0x8ff6b6(0x39f)][_0x8ff6b6(0x1d7)](_0x1050e8=>_0x1050e8[_0x8ff6b6(0x3f5)]());}['getPrimaryKeys'](){const _0x5f4405=a0_0xf68f23;return this['_fields'][_0x5f4405(0x1d7)](_0x473f77=>_0x473f77[_0x5f4405(0x3db)]());}['getSystem'](){const _0x3e8160=a0_0xf68f23;return this[_0x3e8160(0x39f)][_0x3e8160(0x1d7)](_0x18e359=>_0x18e359['isSystem']());}[a0_0xf68f23(0x418)](){const _0xcc016b=a0_0xf68f23;return this['_fields'][_0xcc016b(0x1d7)](_0x116cd1=>_0x116cd1[_0xcc016b(0x3ff)]());}['getEnum'](){const _0x30f06d=a0_0xf68f23;return this[_0x30f06d(0x39f)][_0x30f06d(0x1d7)](_0x507529=>_0x507529[_0x30f06d(0x44d)]());}[a0_0xf68f23(0x2a2)](){const _0x47eb05=a0_0xf68f23,_0x9bc61={};return this[_0x47eb05(0x39f)]['forEach'](_0x2cc1c2=>{const _0x48b614=_0x47eb05,_0xeceaeb=_0x2cc1c2[_0x48b614(0x282)];!_0x9bc61[_0xeceaeb]&&(_0x9bc61[_0xeceaeb]=[]),_0x9bc61[_0xeceaeb][_0x48b614(0x387)](_0x2cc1c2);}),_0x9bc61;}[a0_0xf68f23(0x344)](){const _0x5ab346=a0_0xf68f23;return this[_0x5ab346(0x39f)][_0x5ab346(0x336)](_0x32a826=>_0x32a826[_0x5ab346(0x344)]);}static[a0_0xf68f23(0x2a3)](_0x31e512){const _0x3bf964=a0_0xf68f23,_0x43ab6e=_0x31e512[_0x3bf964(0x336)](_0x78f645=>_0x78f645[_0x3bf964(0x344)]);return new FieldListV1(_0x43ab6e);}static['withDeleted'](_0x2b11a8){const _0x107c08=a0_0xf68f23,_0x452696={};return _0x452696[_0x107c08(0x388)]=!![],new FieldListV1(_0x2b11a8,_0x452696);}}class FieldV2 extends FieldBase{['_raw'];constructor(_0x362ed4){const _0x5879b5=a0_0xf68f23;super();if(!_0x362ed4||typeof _0x362ed4!==_0x5879b5(0x43a))throw new Error(_0x5879b5(0x38a));this['_raw']=_0x362ed4;}[a0_0xf68f23(0x392)](){return'v2';}get['raw'](){return this['_raw'];}get[a0_0xf68f23(0x30b)](){const _0x2f4378=a0_0xf68f23;return this[_0x2f4378(0x2e3)][_0x2f4378(0x30b)]||'';}get[a0_0xf68f23(0x40e)](){const _0x40b87c=a0_0xf68f23;return this['_raw'][_0x40b87c(0x30b)]||'';}get[a0_0xf68f23(0x448)](){return this['_raw']['displayName']||'';}get[a0_0xf68f23(0x282)](){const _0xd1ee0b=a0_0xf68f23;if(this[_0xd1ee0b(0x2e3)]['doType'])return this[_0xd1ee0b(0x2e3)][_0xd1ee0b(0x459)];return this[_0xd1ee0b(0x3e3)](this[_0xd1ee0b(0x2e3)]['dbType']);}get['description'](){const _0x5eaabd=a0_0xf68f23;return this[_0x5eaabd(0x2e3)][_0x5eaabd(0x1e7)]||'';}get['deleted'](){const _0x565175=a0_0xf68f23;return Boolean(this[_0x565175(0x2e3)][_0x565175(0x2fa)]);}['isRequired'](){const _0x47a046=a0_0xf68f23;return Boolean(this[_0x47a046(0x2e3)][_0x47a046(0x283)]);}[a0_0xf68f23(0x3db)](){const _0x4f16f7=a0_0xf68f23;return Boolean(this[_0x4f16f7(0x2e3)][_0x4f16f7(0x3f8)]);}[a0_0xf68f23(0x21f)](){const _0x423b03=a0_0xf68f23;return Boolean(this[_0x423b03(0x2e3)][_0x423b03(0x1ee)]);}[a0_0xf68f23(0x27b)](){const _0x1af163=a0_0xf68f23;return Boolean(this['_raw'][_0x1af163(0x26a)]);}['isCreateTime'](){const _0x54c83f=a0_0xf68f23;return this[_0x54c83f(0x2e3)]['systemRetain']===_0x54c83f(0x259);}['isUpdateTime'](){const _0x278cbf=a0_0xf68f23;return this['_raw'][_0x278cbf(0x1ee)]==='updateTime';}[a0_0xf68f23(0x322)](){const _0x2855ae=a0_0xf68f23;return this['_raw'][_0x2855ae(0x448)]||'';}[a0_0xf68f23(0x1c7)](){const _0x283852=a0_0xf68f23;return this[_0x283852(0x2e3)]['name']||'';}[a0_0xf68f23(0x44d)](){const _0x54c555=a0_0xf68f23;return Boolean(this['_raw']['options']&&Array[_0x54c555(0x30c)](this[_0x54c555(0x2e3)]['options'])&&this[_0x54c555(0x2e3)][_0x54c555(0x226)][_0x54c555(0x34c)]>0x0);}[a0_0xf68f23(0x221)](){const _0x5441d5=a0_0xf68f23,_0x17ce8f=this[_0x5441d5(0x2e3)][_0x5441d5(0x3c9)];if(!_0x17ce8f)return![];try{const _0x3733ed=JSON[_0x5441d5(0x28b)](_0x17ce8f);if(_0x3733ed&&typeof _0x3733ed===_0x5441d5(0x43a)&&'multiple'in _0x3733ed)return Boolean(_0x3733ed['multiple']);}catch{}return![];}[a0_0xf68f23(0x2b0)](){const _0x2c5b79=a0_0xf68f23;if(this['_raw'][_0x2c5b79(0x226)]&&Array[_0x2c5b79(0x30c)](this[_0x2c5b79(0x2e3)]['options']))return this[_0x2c5b79(0x2e3)][_0x2c5b79(0x226)];return;}[a0_0xf68f23(0x2cc)](){const _0x55553e=a0_0xf68f23,_0x4596b4=this['_raw']['extend'];if(!_0x4596b4)return;try{const _0x57b0b0=JSON[_0x55553e(0x28b)](_0x4596b4);if(_0x57b0b0&&typeof _0x57b0b0==='object'&&_0x55553e(0x316)in _0x57b0b0)return _0x57b0b0[_0x55553e(0x316)];}catch{}return;}['getDbTypeForOperation'](){const _0x1bd989=a0_0xf68f23;if(!this[_0x1bd989(0x2e3)]['dbType'])return'';return this[_0x1bd989(0x2e3)][_0x1bd989(0x264)][_0x1bd989(0x3c0)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x1bd989(0x2cb)]()[_0x1bd989(0x29a)]();}[a0_0xf68f23(0x425)](){return;}['getTooltip'](){return;}get['dbType'](){const _0x49596e=a0_0xf68f23;return this[_0x49596e(0x2e3)][_0x49596e(0x264)]??undefined;}get[a0_0xf68f23(0x1ea)](){const _0xaac781=a0_0xf68f23;return this[_0xaac781(0x2e3)][_0xaac781(0x1ea)];}[a0_0xf68f23(0x1ad)](){const _0x23052c=a0_0xf68f23;return this[_0x23052c(0x2e3)]['doType']??null;}get[a0_0xf68f23(0x459)](){const _0x48ade9=a0_0xf68f23;return this[_0x48ade9(0x2e3)][_0x48ade9(0x459)]??null;}[a0_0xf68f23(0x277)](){const _0x1d477f=a0_0xf68f23;return{'name':this[_0x1d477f(0x30b)],'code':this[_0x1d477f(0x40e)],'type':this[_0x1d477f(0x282)],'dbType':this[_0x1d477f(0x264)],'dbTypeLen':this[_0x1d477f(0x1ea)],'doType':this['getDOType'](),'displayName':this[_0x1d477f(0x448)],'description':this[_0x1d477f(0x1e7)],'required':this[_0x1d477f(0x3f5)](),'primaryKey':this[_0x1d477f(0x3db)](),'system':this[_0x1d477f(0x21f)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x1d477f(0x42e)](),'updateTime':this['isUpdateTime'](),'isEnum':this['isEnum'](),'enumMeta':this[_0x1d477f(0x44d)]()?this['getEnumMeta']():undefined};}[a0_0xf68f23(0x250)](){const _0x854237=a0_0xf68f23;return _0x854237(0x2b8)+this['name']+',\x20'+this[_0x854237(0x40e)]+',\x20'+this[_0x854237(0x264)]+_0x854237(0x21b)+this[_0x854237(0x1ad)]()+')';}[a0_0xf68f23(0x3e3)](_0x96d4ab){const _0x461d98=a0_0xf68f23;if(!_0x96d4ab)return _0x461d98(0x295);const _0x3baac5={};_0x3baac5[_0x461d98(0x33a)]=_0x461d98(0x295),_0x3baac5['CHAR']=_0x461d98(0x295),_0x3baac5[_0x461d98(0x295)]=_0x461d98(0x330),_0x3baac5[_0x461d98(0x2d1)]=_0x461d98(0x330),_0x3baac5[_0x461d98(0x326)]=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x236)]=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x3ca)]=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x239)]=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x367)]='NUMBER',_0x3baac5['DOUBLE']=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x1c5)]=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x24d)]=_0x461d98(0x39e),_0x3baac5[_0x461d98(0x27c)]=_0x461d98(0x39e),_0x3baac5[_0x461d98(0x39e)]=_0x461d98(0x39e),_0x3baac5[_0x461d98(0x31c)]=_0x461d98(0x31c),_0x3baac5[_0x461d98(0x227)]=_0x461d98(0x308),_0x3baac5[_0x461d98(0x288)]='SWITCH',_0x3baac5[_0x461d98(0x1c3)]=_0x461d98(0x1e6),_0x3baac5[_0x461d98(0x1a3)]=_0x461d98(0x1e6);const _0xddae74=_0x3baac5,_0x396cad=_0x96d4ab[_0x461d98(0x29a)]();return _0xddae74[_0x396cad]||_0x461d98(0x295);}}class FieldListV2 extends FieldListBase{constructor(_0x5f1a4e,_0x4752ef){super(_0x5f1a4e,_0x4752ef);}[a0_0xf68f23(0x3c6)](_0x255bc0){return _0x255bc0['map'](_0x109a60=>new FieldV2(_0x109a60));}['all'](){return[...this['_fields']];}['at'](_0x280873){const _0x35350c=a0_0xf68f23;return this[_0x35350c(0x39f)]['at'](_0x280873);}[a0_0xf68f23(0x1b6)](_0xb0fdfd){const _0x329c9d=a0_0xf68f23;return this[_0x329c9d(0x39f)][_0x329c9d(0x1b6)](_0x7bb87f=>_0x7bb87f[_0x329c9d(0x40e)]===_0xb0fdfd);}[a0_0xf68f23(0x2d2)](_0x284032){const _0x5b0f11=a0_0xf68f23;return this[_0x5b0f11(0x39f)][_0x5b0f11(0x1b6)](_0x493a4f=>_0x493a4f[_0x5b0f11(0x322)]()===_0x284032);}[a0_0xf68f23(0x1d7)](_0x237629){const _0x1dc306=a0_0xf68f23;return this[_0x1dc306(0x39f)][_0x1dc306(0x1d7)](_0x237629);}[a0_0xf68f23(0x336)](_0x37b540){const _0x2a829d=a0_0xf68f23;return this[_0x2a829d(0x39f)][_0x2a829d(0x336)](_0x37b540);}[a0_0xf68f23(0x1f6)](){const _0x41031a=a0_0xf68f23;return this[_0x41031a(0x39f)][_0x41031a(0x1d7)](_0x27c007=>_0x27c007['isRequired']());}[a0_0xf68f23(0x21a)](){const _0x5bb815=a0_0xf68f23;return this[_0x5bb815(0x39f)]['filter'](_0x104a7f=>_0x104a7f[_0x5bb815(0x3db)]());}[a0_0xf68f23(0x1e0)](){const _0x1a0688=a0_0xf68f23;return this[_0x1a0688(0x39f)][_0x1a0688(0x1d7)](_0x1a46a5=>_0x1a46a5[_0x1a0688(0x21f)]());}['getBusiness'](){const _0x37fc73=a0_0xf68f23;return this['_fields'][_0x37fc73(0x1d7)](_0x1e84c8=>_0x1e84c8[_0x37fc73(0x3ff)]());}[a0_0xf68f23(0x2fc)](){const _0x4091e1=a0_0xf68f23;return this[_0x4091e1(0x39f)][_0x4091e1(0x1d7)](_0x305cc8=>_0x305cc8['isEnum']());}[a0_0xf68f23(0x2a2)](){const _0x54034b=a0_0xf68f23,_0x2c3ebb={};return this[_0x54034b(0x39f)][_0x54034b(0x1df)](_0x21ed7c=>{const _0xa32d6c=_0x54034b,_0x56f496=_0x21ed7c[_0xa32d6c(0x282)];!_0x2c3ebb[_0x56f496]&&(_0x2c3ebb[_0x56f496]=[]),_0x2c3ebb[_0x56f496][_0xa32d6c(0x387)](_0x21ed7c);}),_0x2c3ebb;}[a0_0xf68f23(0x344)](){const _0x4a12e3=a0_0xf68f23;return this['_fields'][_0x4a12e3(0x336)](_0x1bfe39=>_0x1bfe39[_0x4a12e3(0x344)]);}static[a0_0xf68f23(0x2a3)](_0x319649){const _0x4be898=a0_0xf68f23,_0x2f9c0e=_0x319649[_0x4be898(0x336)](_0x19def4=>_0x19def4[_0x4be898(0x344)]);return new FieldListV2(_0x2f9c0e);}static[a0_0xf68f23(0x20a)](_0x2e92b7){const _0x5a68a6={};return _0x5a68a6['includeDeleted']=!![],new FieldListV2(_0x2e92b7,_0x5a68a6);}[a0_0xf68f23(0x250)](){const _0x1a9d8a=a0_0xf68f23;return _0x1a9d8a(0x289)+this[_0x1a9d8a(0x34c)]+_0x1a9d8a(0x2f3);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0xf68f23(0x2e4)];['_fieldListV1WithDeleted'];constructor(_0x5458b0){super(_0x5458b0);}['getFieldList'](){const _0x2f0227=a0_0xf68f23;if(!this[_0x2f0227(0x2e4)]){const _0x155908={};_0x155908[_0x2f0227(0x388)]=![],this[_0x2f0227(0x2e4)]=new FieldListV1(this['_raw']['properties']||[],_0x155908);}return this[_0x2f0227(0x2e4)];}['getFieldListWithDeleted'](){const _0x151e2e=a0_0xf68f23;if(!this['_fieldListV1WithDeleted']){const _0x5fd225={};_0x5fd225[_0x151e2e(0x388)]=!![],this['_fieldListV1WithDeleted']=new FieldListV1(this[_0x151e2e(0x2e3)]['properties']||[],_0x5fd225);}return this[_0x151e2e(0x1f1)];}[a0_0xf68f23(0x434)](){const _0x28a70a=a0_0xf68f23;return(this[_0x28a70a(0x2e3)][_0x28a70a(0x2b3)]||[])[_0x28a70a(0x1d7)](_0x3f8e18=>!_0x3f8e18[_0x28a70a(0x2fa)]);}[a0_0xf68f23(0x26f)](){return this['getFieldList']()['length'];}[a0_0xf68f23(0x33f)](_0x1803c2){const _0x2b6bb0=a0_0xf68f23;return this[_0x2b6bb0(0x2e3)][_0x2b6bb0(0x2b3)]?.[_0x2b6bb0(0x1b6)](_0x1795bb=>_0x1795bb[_0x2b6bb0(0x40e)]===_0x1803c2);}[a0_0xf68f23(0x392)](){return'v1';}[a0_0xf68f23(0x433)](){const _0x390865=a0_0xf68f23,_0x43908c={};return _0x43908c[_0x390865(0x2a1)]=this[_0x390865(0x2e3)][_0x390865(0x2b3)]||[],_0x43908c[_0x390865(0x388)]=![],_0x43908c;}[a0_0xf68f23(0x3f2)](){const _0x242a09=a0_0xf68f23;return this['_raw'][_0x242a09(0x23d)];}[a0_0xf68f23(0x3e2)](){const _0x9026bd=a0_0xf68f23;return this[_0x9026bd(0x2e3)][_0x9026bd(0x272)];}[a0_0xf68f23(0x207)](){const _0x22fc08=a0_0xf68f23,_0x483c3a=this[_0x22fc08(0x298)](),_0x478d7c=_0x483c3a?.['dblinkInfoDTO'],_0x313ccc={};return _0x313ccc[_0x22fc08(0x33d)]=_0x483c3a?.[_0x22fc08(0x33d)],_0x313ccc[_0x22fc08(0x340)]=_0x483c3a?.['dbName']??_0x478d7c?.['dbName'],_0x313ccc[_0x22fc08(0x264)]=_0x478d7c?.[_0x22fc08(0x264)],_0x313ccc['dbVersion']=_0x478d7c?.['dbVersion'],_0x313ccc[_0x22fc08(0x27f)]=_0x483c3a?.[_0x22fc08(0x27f)],_0x313ccc[_0x22fc08(0x384)]=_0x483c3a?.[_0x22fc08(0x384)],_0x313ccc[_0x22fc08(0x3f8)]=_0x483c3a?.[_0x22fc08(0x3f8)],_0x313ccc['tenantCode']=_0x478d7c?.[_0x22fc08(0x25c)],_0x313ccc[_0x22fc08(0x1c6)]=_0x478d7c?.['appCode'],new DBConfig(_0x313ccc,_0x483c3a);}get[a0_0xf68f23(0x29e)](){const _0x7fd8c1=a0_0xf68f23;return this[_0x7fd8c1(0x2e3)]['version'];}['getFieldInstance'](_0x15f32d){const _0x2793c4=a0_0xf68f23;if(typeof _0x15f32d!=='string'){!![]&&console[_0x2793c4(0x359)](_0x2793c4(0x306),_0x15f32d);return;}return this['getFieldList']()[_0x2793c4(0x1b6)](_0x15f32d);}[a0_0xf68f23(0x24f)](_0xd5e214){const _0x44a75c=a0_0xf68f23;if(!_0xd5e214||typeof _0xd5e214!==_0x44a75c(0x43a))return![];const _0x31d76c=this[_0x44a75c(0x420)](_0xd5e214[_0x44a75c(0x40e)]);return _0x31d76c?_0x31d76c[_0x44a75c(0x221)]():![];}[a0_0xf68f23(0x1c8)](){const _0xe4b63c=a0_0xf68f23,_0x2d9f70=this[_0xe4b63c(0x214)](_0xe4b63c(0x1d7));return _0x2d9f70;}[a0_0xf68f23(0x360)](){const _0x16e8bb=a0_0xf68f23;return this[_0x16e8bb(0x2ff)](_0x16e8bb(0x1d7));}[a0_0xf68f23(0x40c)](){const _0x178927=a0_0xf68f23;return new DatasetItem({'id':this['id'],'name':this[_0x178927(0x30b)],'datasetCode':this[_0x178927(0x362)],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0xf68f23(0x19c)];[a0_0xf68f23(0x2b2)];[a0_0xf68f23(0x350)];constructor(_0x40bdf4){const _0x4218ed=a0_0xf68f23;super(_0x40bdf4),this[_0x4218ed(0x2b2)]=_0x40bdf4[_0x4218ed(0x412)],this[_0x4218ed(0x350)]=_0x40bdf4[_0x4218ed(0x273)]||[];}['getVersion'](){return'v2';}[a0_0xf68f23(0x433)](){const _0x143575=a0_0xf68f23,_0x484cbf={};return _0x484cbf[_0x143575(0x2a1)]=this[_0x143575(0x2e3)][_0x143575(0x2a1)],_0x484cbf[_0x143575(0x388)]=![],_0x484cbf;}[a0_0xf68f23(0x3f2)](){const _0x499ab4=a0_0xf68f23;return this[_0x499ab4(0x2e3)][_0x499ab4(0x23d)];}[a0_0xf68f23(0x3e2)](){const _0x41ee28=a0_0xf68f23;return this[_0x41ee28(0x2e3)][_0x41ee28(0x272)];}['getDBConfig'](){const _0x26500c=a0_0xf68f23,_0x30c204=this[_0x26500c(0x2e3)][_0x26500c(0x26d)],_0x4bb43f=_0x30c204?.[_0x26500c(0x3fc)],_0x596fba={};return _0x596fba[_0x26500c(0x33d)]=_0x30c204?.[_0x26500c(0x33d)],_0x596fba['dbName']=_0x30c204?.['dbName']??_0x4bb43f?.[_0x26500c(0x340)],_0x596fba['dbType']=_0x4bb43f?.[_0x26500c(0x264)],_0x596fba[_0x26500c(0x1aa)]=_0x4bb43f?.['dbVersion'],_0x596fba[_0x26500c(0x27f)]=_0x30c204?.[_0x26500c(0x27f)],_0x596fba[_0x26500c(0x384)]=_0x30c204?.[_0x26500c(0x384)],_0x596fba[_0x26500c(0x3f8)]=_0x30c204?.[_0x26500c(0x3f8)],_0x596fba[_0x26500c(0x25c)]=_0x30c204?.[_0x26500c(0x25c)]??_0x4bb43f?.['tenantCode'],_0x596fba['appCode']=_0x30c204?.[_0x26500c(0x1c6)]??_0x4bb43f?.[_0x26500c(0x1c6)],new DBConfig(_0x596fba,_0x30c204);}[a0_0xf68f23(0x24a)](){return this['getFieldListV2']();}[a0_0xf68f23(0x434)](){const _0x17a7a4=a0_0xf68f23;return this[_0x17a7a4(0x2e3)][_0x17a7a4(0x2a1)]||[];}[a0_0xf68f23(0x26f)](){const _0xd53f2b=a0_0xf68f23;return(this[_0xd53f2b(0x2e3)][_0xd53f2b(0x2a1)]||[])[_0xd53f2b(0x34c)];}['getFieldRaw'](_0x4b5ccb){const _0x140366=a0_0xf68f23;return this[_0x140366(0x2e3)][_0x140366(0x2a1)]['find'](_0x8dc9f0=>_0x8dc9f0[_0x140366(0x30b)]===_0x4b5ccb);}[a0_0xf68f23(0x1f5)](){const _0x32d3e7=a0_0xf68f23;return this[_0x32d3e7(0x2b2)];}[a0_0xf68f23(0x225)](){const _0x2d88a3=a0_0xf68f23;return this[_0x2d88a3(0x350)];}[a0_0xf68f23(0x1d6)](){const _0x190dd9=a0_0xf68f23;return this[_0x190dd9(0x2b2)][_0x190dd9(0x22f)]||[];}[a0_0xf68f23(0x2b1)](_0x61e3ce){const _0x525984=a0_0xf68f23;return this[_0x525984(0x350)]['filter'](_0x2048f0=>_0x2048f0[_0x525984(0x356)]===_0x61e3ce);}[a0_0xf68f23(0x45d)](_0x5719dd){const _0x2f310b=a0_0xf68f23;return this[_0x2f310b(0x350)]['some'](_0x2c334b=>_0x2c334b[_0x2f310b(0x356)]===_0x5719dd);}[a0_0xf68f23(0x19e)](_0x200463){const _0x1fb819=a0_0xf68f23,_0x577ac8=this[_0x1fb819(0x350)][_0x1fb819(0x1b6)](_0x17f423=>_0x17f423[_0x1fb819(0x356)]===_0x200463);if(!_0x577ac8)return;const _0x10be95={};return _0x10be95[_0x1fb819(0x32f)]=_0x577ac8[_0x1fb819(0x39a)],_0x10be95[_0x1fb819(0x362)]=_0x577ac8['toDatasetCode'],_0x10be95[_0x1fb819(0x332)]=_0x577ac8[_0x1fb819(0x3e1)],_0x10be95[_0x1fb819(0x27f)]=_0x577ac8['toTableName'],_0x10be95[_0x1fb819(0x427)]=_0x577ac8['toField'],_0x10be95;}[a0_0xf68f23(0x339)](){const _0x3e0862=a0_0xf68f23;return this[_0x3e0862(0x350)][_0x3e0862(0x336)](_0x2f59a2=>_0x2f59a2[_0x3e0862(0x356)]);}[a0_0xf68f23(0x2d5)](){const _0x3c7647=a0_0xf68f23;if(!this[_0x3c7647(0x19c)]){const _0x35ceca=this['_raw'][_0x3c7647(0x2a1)]||[];this[_0x3c7647(0x19c)]=new FieldListV2(_0x35ceca);}return this[_0x3c7647(0x19c)];}[a0_0xf68f23(0x420)](_0x1f9b2e){const _0x44cd8f=a0_0xf68f23;if(typeof _0x1f9b2e!==_0x44cd8f(0x3d4)){!![]&&console[_0x44cd8f(0x359)](_0x44cd8f(0x2a8),_0x1f9b2e);return;}return this[_0x44cd8f(0x2d5)]()['find'](_0x1f9b2e);}[a0_0xf68f23(0x24f)](_0x515098){const _0x1bcbe9=a0_0xf68f23;if(!_0x515098||typeof _0x515098!==_0x1bcbe9(0x43a))return![];const _0x559a83=_0x515098['name']||_0x515098[_0x1bcbe9(0x40e)],_0x4b7fd2=this[_0x1bcbe9(0x420)](_0x559a83);return _0x4b7fd2?_0x4b7fd2[_0x1bcbe9(0x221)]():![];}[a0_0xf68f23(0x3bd)](){const _0x4361a9=a0_0xf68f23;if(!this[_0x4361a9(0x35a)]){const _0x8b4ecc=this['ensureFilterOperation'](this[_0x4361a9(0x3f2)]()||{});this['_operationList']=new OperationList(_0x8b4ecc,{'fields':this['getFieldListV2']()[_0x4361a9(0x1a8)](),'pkField':this[_0x4361a9(0x2e3)][_0x4361a9(0x26d)]?.[_0x4361a9(0x3f8)],'dbtableConfig':this[_0x4361a9(0x2e3)][_0x4361a9(0x26d)]||null});}return this['_operationList'];}[a0_0xf68f23(0x1c8)](){const _0x3782dd=this['getOperation']('filter');return _0x3782dd;}['hasFilterOperation'](){const _0x3b0b10=a0_0xf68f23;return this[_0x3b0b10(0x2ff)](_0x3b0b10(0x1d7));}['toListItem'](){const _0x159e04=a0_0xf68f23;return new DatasetItem({'id':this['id'],'name':this[_0x159e04(0x30b)],'datasetCode':this[_0x159e04(0x362)],'dbtableConfig':this[_0x159e04(0x298)]()});}[a0_0xf68f23(0x250)](){const _0x933371=a0_0xf68f23,_0x5d9d67=this[_0x933371(0x350)][_0x933371(0x34c)],_0x5d88e6=this[_0x933371(0x1d6)]()[_0x933371(0x34c)];return _0x933371(0x23b)+this[_0x933371(0x30b)]+',\x20'+this[_0x933371(0x362)]+',\x20'+this[_0x933371(0x26f)]()+_0x933371(0x44e)+this[_0x933371(0x3ac)]()+_0x933371(0x3b8)+_0x5d9d67+'\x20relations,\x20'+_0x5d88e6+_0x933371(0x1d3);}[a0_0xf68f23(0x366)](){const _0xf5d3d0=a0_0xf68f23;return this['_raw'][_0xf5d3d0(0x2a1)];}[a0_0xf68f23(0x3de)](_0x57d1bf){const _0x2fa0d4=a0_0xf68f23;return this[_0x2fa0d4(0x2e3)]['fields'][_0x2fa0d4(0x1b6)](_0x4d5083=>_0x4d5083[_0x2fa0d4(0x30b)]===_0x57d1bf);}}function detectDatasetVersion(_0x5b0187){const _0x1bc1a3=a0_0xf68f23;if(_0x5b0187[_0x1bc1a3(0x3aa)]==='v2'&&_0x1bc1a3(0x2a1)in _0x5b0187&&Array[_0x1bc1a3(0x30c)](_0x5b0187[_0x1bc1a3(0x2a1)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0xf68f23(0x249)];constructor(_0x392572){const _0x185ce1=a0_0xf68f23;super(_0x392572);const _0x2f87c9=detectDatasetVersion(_0x392572);this[_0x185ce1(0x249)]=_0x2f87c9==='v2'?new DrivenDataDetailV2(_0x392572):new DrivenDataDetailV1(_0x392572);}get['id'](){const _0xb75953=a0_0xf68f23;return this[_0xb75953(0x249)]['id'];}get['name'](){const _0x46f568=a0_0xf68f23;return this[_0x46f568(0x249)][_0x46f568(0x30b)];}get[a0_0xf68f23(0x362)](){const _0x15c22f=a0_0xf68f23;return this[_0x15c22f(0x249)][_0x15c22f(0x362)];}get[a0_0xf68f23(0x29e)](){const _0x28adcd=a0_0xf68f23;return this[_0x28adcd(0x249)][_0x28adcd(0x392)]()==='v2'?_0x28adcd(0x37c):_0x28adcd(0x38f);}[a0_0xf68f23(0x392)](){const _0x3f1f16=a0_0xf68f23;return this[_0x3f1f16(0x249)][_0x3f1f16(0x392)]();}['getId'](){const _0x132b81=a0_0xf68f23;return this[_0x132b81(0x249)]['id'];}[a0_0xf68f23(0x355)](){const _0x2fa8c9=a0_0xf68f23;return this[_0x2fa8c9(0x249)]['datasetCode'];}[a0_0xf68f23(0x1fd)](){const _0x3dca7f=a0_0xf68f23;return this[_0x3dca7f(0x249)][_0x3dca7f(0x30b)];}[a0_0xf68f23(0x433)](){const _0x2b9c93=a0_0xf68f23;return this[_0x2b9c93(0x249)]['getFieldDataSource']();}[a0_0xf68f23(0x3f2)](){const _0x20ae8c=a0_0xf68f23;return this[_0x20ae8c(0x249)][_0x20ae8c(0x3f2)]();}[a0_0xf68f23(0x3e2)](){return this['_instance']['getSource']();}[a0_0xf68f23(0x452)](){const _0x566fef=a0_0xf68f23;return this['_instance'][_0x566fef(0x452)]();}[a0_0xf68f23(0x24a)](){const _0x3ba292=a0_0xf68f23;return this[_0x3ba292(0x249)][_0x3ba292(0x24a)]();}[a0_0xf68f23(0x34f)](){const _0x3371a0=a0_0xf68f23;return this[_0x3371a0(0x249)][_0x3371a0(0x34f)]();}[a0_0xf68f23(0x434)](){const _0x20a988=a0_0xf68f23;return this[_0x20a988(0x249)]['getFields']();}['getFieldCount'](){const _0x2d0907=a0_0xf68f23;return this['_instance'][_0x2d0907(0x26f)]();}['getPkField'](){const _0x2f9ef8=a0_0xf68f23,_0x5751a7=this[_0x2f9ef8(0x249)][_0x2f9ef8(0x298)]();return _0x5751a7?.['pkField'];}['getDBConfig'](){const _0x51ee0a=a0_0xf68f23;return this[_0x51ee0a(0x249)][_0x51ee0a(0x207)]();}['getFieldInstance'](_0x16c9dd){const _0x5888bc=a0_0xf68f23;return this[_0x5888bc(0x249)]['getFieldInstance'](_0x16c9dd);}['getPrimaryKeyFields'](){const _0x2c980d=a0_0xf68f23;return this[_0x2c980d(0x249)][_0x2c980d(0x275)]();}[a0_0xf68f23(0x314)](){const _0x107675=a0_0xf68f23;return this['_instance'][_0x107675(0x314)]();}['getBusinessFields'](){const _0x3449d5=a0_0xf68f23;return this[_0x3449d5(0x249)]['getBusinessFields']();}[a0_0xf68f23(0x1b5)](){const _0x2b0178=a0_0xf68f23;return this['_instance'][_0x2b0178(0x1b5)]();}[a0_0xf68f23(0x3eb)](){const _0x439d6e=a0_0xf68f23;return this[_0x439d6e(0x249)][_0x439d6e(0x3eb)]();}[a0_0xf68f23(0x416)](){const _0x3d1092=a0_0xf68f23;return this['_instance'][_0x3d1092(0x416)]();}[a0_0xf68f23(0x37b)](){const _0x51c202=a0_0xf68f23;return this[_0x51c202(0x249)][_0x51c202(0x37b)]();}[a0_0xf68f23(0x398)](){const _0x28fe44=a0_0xf68f23;return this[_0x28fe44(0x249)]['getOperations']();}[a0_0xf68f23(0x3ac)](){const _0x46f652=a0_0xf68f23;return this[_0x46f652(0x249)][_0x46f652(0x3ac)]();}['getEnabledOperations'](){const _0x97f6aa=a0_0xf68f23;return this[_0x97f6aa(0x249)]['getEnabledOperations']();}[a0_0xf68f23(0x32b)](){const _0x139d33=a0_0xf68f23;return this[_0x139d33(0x249)][_0x139d33(0x32b)]();}['getEnabledOperationInstances'](){const _0x690c8b=a0_0xf68f23;return this['_instance'][_0x690c8b(0x302)]();}['getDisabledOperationInstances'](){const _0x424fef=a0_0xf68f23;return this['_instance'][_0x424fef(0x390)]();}[a0_0xf68f23(0x246)](){const _0x467cf0=a0_0xf68f23;return this[_0x467cf0(0x249)][_0x467cf0(0x246)]();}[a0_0xf68f23(0x1f5)](){const _0x5477b4=a0_0xf68f23;return this['_instance'][_0x5477b4(0x1f5)]();}[a0_0xf68f23(0x225)](){return this['_instance']['getRelations']();}[a0_0xf68f23(0x1d6)](){const _0x51a591=a0_0xf68f23;return this['_instance'][_0x51a591(0x1d6)]();}[a0_0xf68f23(0x1cc)](){return this['_instance']['getFilterOperators']();}[a0_0xf68f23(0x260)](){const _0x273949=a0_0xf68f23;return this[_0x273949(0x249)][_0x273949(0x260)]();}[a0_0xf68f23(0x277)](){const _0x22b351=a0_0xf68f23;return this[_0x22b351(0x249)][_0x22b351(0x277)]();}[a0_0xf68f23(0x1c8)](){const _0x72a865=a0_0xf68f23;return this[_0x72a865(0x249)][_0x72a865(0x1c8)]();}[a0_0xf68f23(0x360)](){const _0x295f29=a0_0xf68f23;return this[_0x295f29(0x249)][_0x295f29(0x360)]();}[a0_0xf68f23(0x40c)](){const _0xe83be=a0_0xf68f23;return this[_0xe83be(0x249)][_0xe83be(0x40c)]();}['toString'](){const _0x41b83e=a0_0xf68f23;return this[_0x41b83e(0x249)][_0x41b83e(0x250)]();}[a0_0xf68f23(0x2c6)](){return this['_instance'];}}function detectDatasetVersion2(_0x5ce66f){const _0x4b7527=a0_0xf68f23;if(_0x5ce66f[_0x4b7527(0x3aa)]==='v2'&&_0x4b7527(0x2a1)in _0x5ce66f&&Array[_0x4b7527(0x30c)](_0x5ce66f['fields']))return'v2';return'v1';}function createDrivenDataDetail(_0x536dfa,_0x2db527={}){const {forceVersion:_0x2ff6a7}=_0x2db527;if(_0x2ff6a7==='v2')return new DrivenDataDetailV2(_0x536dfa);if(_0x2ff6a7==='v1')return new DrivenDataDetailV1(_0x536dfa);const _0x3a0e58=detectDatasetVersion2(_0x536dfa);if(_0x3a0e58==='v2')return new DrivenDataDetailV2(_0x536dfa);return new DrivenDataDetailV1(_0x536dfa);}function isV2Data(_0xd6ce7e){return detectDatasetVersion2(_0xd6ce7e)==='v2';}function isV1Data(_0x5c0eeb){return detectDatasetVersion2(_0x5c0eeb)==='v1';}function isV2Instance(_0x352a64){return _0x352a64['getVersion']()==='v2';}function isV1Instance(_0x13452a){const _0x554fee=a0_0xf68f23;return _0x13452a[_0x554fee(0x392)]()==='v1';}class DatasetGroup{[a0_0xf68f23(0x27a)];constructor(_0x52c03f){const _0x309e73=a0_0xf68f23;this[_0x309e73(0x27a)]=Array[_0x309e73(0x30c)](_0x52c03f)?[..._0x52c03f]:[_0x52c03f],this[_0x309e73(0x27a)][_0x309e73(0x30e)]((_0x54b5e0,_0x398525)=>{const _0x1f9e92=Number(_0x54b5e0['id'])||0x0,_0x13617e=Number(_0x398525['id'])||0x0;return _0x13617e-_0x1f9e92;});}['hasConflict'](){const _0x3604d3=a0_0xf68f23;return this[_0x3604d3(0x27a)][_0x3604d3(0x34c)]>0x1;}[a0_0xf68f23(0x456)](){const _0x253381=a0_0xf68f23;return this[_0x253381(0x27a)][0x0];}['getOldest'](){const _0x53f346=a0_0xf68f23;return this[_0x53f346(0x27a)][this[_0x53f346(0x27a)][_0x53f346(0x34c)]-0x1];}[a0_0xf68f23(0x256)](){return[...this['items']];}['getCount'](){const _0x1f403a=a0_0xf68f23;return this[_0x1f403a(0x27a)]['length'];}[a0_0xf68f23(0x3be)](_0x155bd8){return this['items'][_0x155bd8];}[a0_0xf68f23(0x29d)](_0x5e9516){const _0xf5692f=a0_0xf68f23;return this[_0xf5692f(0x27a)]['find'](_0x16617e=>_0x16617e['id']===_0x5e9516);}[a0_0xf68f23(0x1b8)](_0x29ad7e){const _0x40d0a3=a0_0xf68f23;return this[_0x40d0a3(0x27a)][_0x40d0a3(0x1b6)](_0x1588a8=>_0x1588a8[_0x40d0a3(0x362)]===_0x29ad7e);}[a0_0xf68f23(0x313)](){const _0x153d14=a0_0xf68f23;return this[_0x153d14(0x27a)][_0x153d14(0x336)](_0x37ca2b=>_0x37ca2b['id'])[_0x153d14(0x1d7)](_0x2ed9f7=>_0x2ed9f7!==undefined);}[a0_0xf68f23(0x424)](){const _0x343754=a0_0xf68f23;return this['items'][_0x343754(0x336)](_0x30e45e=>_0x30e45e[_0x343754(0x362)]);}[a0_0xf68f23(0x250)](){const _0x1c367c=a0_0xf68f23;if(this[_0x1c367c(0x234)]())return _0x1c367c(0x29c)+this[_0x1c367c(0x27a)][_0x1c367c(0x34c)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x1c367c(0x456)]()['name']+')';return _0x1c367c(0x29c)+this[_0x1c367c(0x27a)][0x0][_0x1c367c(0x30b)]+')';}}class DatasetGroupMap{[a0_0xf68f23(0x209)];constructor(_0x7b8886){const _0x297d9f=a0_0xf68f23;this[_0x297d9f(0x209)]=new Map();for(const _0x574450 of _0x7b8886){const _0x29fe08=_0x574450[_0x297d9f(0x45a)](),_0x29ff58=_0x574450[_0x297d9f(0x26d)]?.[_0x297d9f(0x33d)],_0x1985ba=_0x574450[_0x297d9f(0x26d)]?.['dbName']||_0x574450[_0x297d9f(0x26d)]?.[_0x297d9f(0x3fc)]?.[_0x297d9f(0x340)]||'',_0xb90329=_0x29ff58!==undefined&&_0x29ff58!==null?'db'+_0x29ff58:_0x1985ba?getTableKey(_0x1985ba):'',_0x41a6c0=_0xb90329?_0xb90329+'_'+_0x29fe08:_0x29fe08,_0x293141=getTableKey(_0x41a6c0);if(!this[_0x297d9f(0x209)][_0x297d9f(0x2a9)](_0x293141))this['groups'][_0x297d9f(0x386)](_0x293141,new DatasetGroup(_0x574450));else{const _0x4ae10d=this[_0x297d9f(0x209)][_0x297d9f(0x2c7)](_0x293141),_0x1991b6=[..._0x4ae10d[_0x297d9f(0x256)](),_0x574450];this[_0x297d9f(0x209)][_0x297d9f(0x386)](_0x293141,new DatasetGroup(_0x1991b6));}}}[a0_0xf68f23(0x2c7)](_0xa70e22){const _0x3962d8=a0_0xf68f23;return this[_0x3962d8(0x209)][_0x3962d8(0x2c7)](_0xa70e22);}['has'](_0x5bae1e){const _0x2e6e28=a0_0xf68f23;return this[_0x2e6e28(0x209)][_0x2e6e28(0x2a9)](_0x5bae1e);}get['size'](){const _0x32e007=a0_0xf68f23;return this[_0x32e007(0x209)][_0x32e007(0x2b5)];}['keys'](){return this['groups']['keys']();}['values'](){const _0x3a66fd=a0_0xf68f23;return this[_0x3a66fd(0x209)][_0x3a66fd(0x36c)]();}[a0_0xf68f23(0x1b4)](){const _0x18c83d=a0_0xf68f23;return this['groups'][_0x18c83d(0x1b4)]();}[Symbol[a0_0xf68f23(0x265)]](){const _0x6c0427=a0_0xf68f23;return this[_0x6c0427(0x209)]['entries']();}[a0_0xf68f23(0x1df)](_0x31591e){const _0x27c3b2=a0_0xf68f23;this[_0x27c3b2(0x209)][_0x27c3b2(0x1df)]((_0xa378db,_0x4fd269)=>_0x31591e(_0xa378db,_0x4fd269,this));}[a0_0xf68f23(0x2a4)](){const _0xe841d1=a0_0xf68f23,_0xc5e573=new Map();for(const [_0x9f949a,_0x88250a]of this[_0xe841d1(0x209)]){_0x88250a[_0xe841d1(0x234)]()&&_0xc5e573[_0xe841d1(0x386)](_0x9f949a,_0x88250a);}return _0xc5e573;}['hasConflicts'](){const _0x34e710=a0_0xf68f23;for(const _0x310bdb of this[_0x34e710(0x209)][_0x34e710(0x36c)]()){if(_0x310bdb[_0x34e710(0x234)]())return!![];}return![];}[a0_0xf68f23(0x323)](){const _0x780d24=a0_0xf68f23;let _0x1def06=0x0,_0x58a67b=0x0;for(const _0x5c7a22 of this['groups'][_0x780d24(0x36c)]()){_0x5c7a22[_0x780d24(0x234)]()&&(_0x1def06++,_0x58a67b+=_0x5c7a22[_0x780d24(0x406)]());}const _0x43dd11={};return _0x43dd11[_0x780d24(0x303)]=_0x1def06,_0x43dd11['conflictItemCount']=_0x58a67b,_0x43dd11[_0x780d24(0x262)]=this[_0x780d24(0x209)][_0x780d24(0x2b5)],_0x43dd11;}[a0_0xf68f23(0x349)](){const _0x4f42fe=a0_0xf68f23,_0x55e2c1=[];for(const _0x5121c5 of this[_0x4f42fe(0x209)]['values']()){_0x55e2c1[_0x4f42fe(0x387)](..._0x5121c5[_0x4f42fe(0x256)]());}return _0x55e2c1;}[a0_0xf68f23(0x345)](){const _0x347364=a0_0xf68f23,_0x4ade95=[];for(const _0x57b404 of this[_0x347364(0x209)][_0x347364(0x36c)]()){_0x4ade95[_0x347364(0x387)](_0x57b404['getLatest']());}return _0x4ade95;}[a0_0xf68f23(0x456)](_0x55b1db){const _0x33c405=a0_0xf68f23;return this['groups'][_0x33c405(0x2c7)](_0x55b1db)?.[_0x33c405(0x456)]();}[a0_0xf68f23(0x256)](_0x591dfe){const _0xdd1697=a0_0xf68f23;return this[_0xdd1697(0x209)][_0xdd1697(0x2c7)](_0x591dfe)?.['getAll']()||[];}[a0_0xf68f23(0x20c)](){const _0x531c21=a0_0xf68f23,_0x176fe1=this[_0x531c21(0x345)](),_0x307033=new Map();for(const _0x1b633f of _0x176fe1){const _0x363086=_0x1b633f[_0x531c21(0x45a)](),_0x395834=_0x1b633f['dbtableConfig']?.['dbId'],_0x285284=_0x1b633f[_0x531c21(0x26d)]?.[_0x531c21(0x340)]||_0x1b633f[_0x531c21(0x26d)]?.[_0x531c21(0x3fc)]?.[_0x531c21(0x340)]||'',_0x601618=_0x395834!==undefined&&_0x395834!==null?'db'+_0x395834:_0x285284?getTableKey(_0x285284):'';!_0x307033[_0x531c21(0x2a9)](_0x363086)&&_0x307033[_0x531c21(0x386)](_0x363086,new Set()),_0x307033[_0x531c21(0x2c7)](_0x363086)['add'](_0x601618);}const _0x110d34=new Set();for(const [_0x2a3a07,_0xb0839b]of _0x307033){_0xb0839b[_0x531c21(0x2b5)]>0x1&&_0x110d34[_0x531c21(0x20d)](_0x2a3a07);}const _0x45b15c={},_0x52bacd=new Set();for(const _0x5aaf25 of _0x176fe1){const _0x7670e6=_0x5aaf25[_0x531c21(0x45a)](),_0x5d14d4=_0x5aaf25[_0x531c21(0x277)](),_0x1428df=getTableKey(_0x7670e6);let _0x5c7b5f=_0x1428df;const _0x4641d8=_0x5aaf25[_0x531c21(0x26d)]?.['dbName']||_0x5aaf25[_0x531c21(0x26d)]?.[_0x531c21(0x3fc)]?.['dbName']||'';if(_0x110d34[_0x531c21(0x2a9)](_0x7670e6)&&_0x4641d8){const _0x4442b5=getTableKey(_0x4641d8);_0x5c7b5f=''+_0x4442b5+_0x1428df[_0x531c21(0x34e)](0x0)['toUpperCase']()+_0x1428df[_0x531c21(0x399)](0x1);}let _0xc64101=_0x5c7b5f,_0x8c6cfd=0x1;while(_0x52bacd[_0x531c21(0x2a9)](_0xc64101)){_0xc64101=_0x5c7b5f+'_'+_0x8c6cfd,_0x8c6cfd++;}_0x52bacd[_0x531c21(0x20d)](_0xc64101);const _0x3d96ab=_0xc64101;_0x45b15c[_0xc64101]={'key':_0xc64101,'alias':_0x3d96ab,'tableName':_0x7670e6,'datasetCode':_0x5d14d4[_0x531c21(0x362)],'name':_0x5d14d4[_0x531c21(0x30b)],'id':_0x5d14d4['id'],'dbName':_0x4641d8};}return _0x45b15c;}['toFullConfig'](){const _0x3feb63=a0_0xf68f23,_0x41b510=this['getAllDatasets'](),_0x7145e6=_0x41b510['map'](_0x13987d=>_0x13987d[_0x3feb63(0x277)]());return generateFullDatasetsConfig(_0x7145e6);}['toObject'](){const _0x59acf4=a0_0xf68f23,_0x3c5ccd={};for(const [_0x30aa5c,_0x1dba08]of this[_0x59acf4(0x209)]){_0x3c5ccd[_0x30aa5c]=_0x1dba08;}return _0x3c5ccd;}[a0_0xf68f23(0x277)](){const _0x4d5060=a0_0xf68f23,_0x3fc82d={};for(const [_0x338884,_0x55023d]of this['groups']){_0x3fc82d[_0x338884]=_0x55023d[_0x4d5060(0x256)]()[_0x4d5060(0x336)](_0x2608e5=>_0x2608e5[_0x4d5060(0x277)]());}return _0x3fc82d;}['toString'](){const _0x57ef78=a0_0xf68f23;return _0x57ef78(0x218)+this[_0x57ef78(0x209)][_0x57ef78(0x2b5)]+_0x57ef78(0x2e8)+(this[_0x57ef78(0x36d)]()?_0x57ef78(0x325):_0x57ef78(0x378))+')';}}class DatasetList{[a0_0xf68f23(0x358)];constructor(_0x3e260f){const _0x4d988c=a0_0xf68f23;let _0x21801f;if(Array[_0x4d988c(0x30c)](_0x3e260f))_0x21801f=_0x3e260f;else{if(_0x4d988c(0x261)in _0x3e260f){if(!_0x3e260f[_0x4d988c(0x261)])throw new Error('Invalid\x20API\x20response:\x20success\x20is\x20false');if(Array[_0x4d988c(0x30c)](_0x3e260f['data']))_0x21801f=_0x3e260f[_0x4d988c(0x1eb)][_0x4d988c(0x336)](_0x27a897=>({..._0x27a897,'datasetCode':_0x27a897[_0x4d988c(0x40e)]||_0x27a897['datasetCode']}));else{if(_0x3e260f['data']?.[_0x4d988c(0x203)])_0x21801f=_0x3e260f['data']['tableData'][_0x4d988c(0x336)](_0x4940bd=>({..._0x4940bd,'datasetCode':_0x4940bd[_0x4d988c(0x40e)]||_0x4940bd[_0x4d988c(0x362)]}));else throw new Error(_0x4d988c(0x217));}}else{if('tableData'in _0x3e260f){if(!Array[_0x4d988c(0x30c)](_0x3e260f['tableData']))throw new Error(_0x4d988c(0x413));_0x21801f=_0x3e260f['tableData'][_0x4d988c(0x336)](_0x10d4f0=>({..._0x10d4f0,'datasetCode':_0x10d4f0[_0x4d988c(0x40e)]||_0x10d4f0[_0x4d988c(0x362)]}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse');}}const _0x3bcefa=cleanDatasetNames(_0x21801f),_0x3d9909=_0x3bcefa[_0x4d988c(0x336)](_0x5432a9=>new DatasetItem(_0x5432a9));this['_datasetMap']=new DatasetGroupMap(_0x3d9909);}get[a0_0xf68f23(0x380)](){const _0x5a74b9=a0_0xf68f23;return this[_0x5a74b9(0x358)];}['getItems'](){const _0x5ab484=a0_0xf68f23;return this[_0x5ab484(0x358)][_0x5ab484(0x349)]();}['getCount'](){const _0x43303b=a0_0xf68f23;return this[_0x43303b(0x402)]()[_0x43303b(0x34c)];}[a0_0xf68f23(0x31f)](){const _0x49df81=a0_0xf68f23;return this[_0x49df81(0x358)][_0x49df81(0x2b5)]===0x0;}[a0_0xf68f23(0x3be)](_0x3db96d){const _0x2f5b45=a0_0xf68f23;return this[_0x2f5b45(0x402)]()[_0x3db96d];}[a0_0xf68f23(0x286)](){return this['getItems']()[0x0];}[a0_0xf68f23(0x3b3)](){const _0x218a6c=a0_0xf68f23,_0x2fe376=this['getItems']();return _0x2fe376[_0x2fe376[_0x218a6c(0x34c)]-0x1];}[a0_0xf68f23(0x1b8)](_0x5ab1f1){const _0x48a14a=a0_0xf68f23;for(const _0x475021 of this[_0x48a14a(0x358)][_0x48a14a(0x36c)]()){const _0x46b65f=_0x475021[_0x48a14a(0x1b8)](_0x5ab1f1);if(_0x46b65f)return _0x46b65f;}return;}[a0_0xf68f23(0x2d2)](_0x521ce8){const _0x1e2fa1=a0_0xf68f23;return this[_0x1e2fa1(0x402)]()['find'](_0x12d665=>_0x12d665['name']===_0x521ce8);}[a0_0xf68f23(0x29d)](_0x5e2dad){const _0x5c3195=a0_0xf68f23;for(const _0x7ff2dd of this[_0x5c3195(0x358)][_0x5c3195(0x36c)]()){const _0x3f6585=_0x7ff2dd[_0x5c3195(0x29d)](_0x5e2dad);if(_0x3f6585)return _0x3f6585;}return;}[a0_0xf68f23(0x2bc)](_0x44345a){const _0x84f892=a0_0xf68f23;for(const _0x54b750 of this[_0x84f892(0x358)][_0x84f892(0x36c)]()){const _0x1d0d29=_0x54b750['getLatest']();if(_0x1d0d29[_0x84f892(0x45a)]()===_0x44345a)return _0x1d0d29;}return;}[a0_0xf68f23(0x44f)](_0x425cf5){const _0x79d245=a0_0xf68f23,_0x193e4b=[];for(const _0x4ce2d9 of this['_datasetMap'][_0x79d245(0x36c)]()){const _0x17aa2e=_0x4ce2d9[_0x79d245(0x456)]();_0x17aa2e[_0x79d245(0x45a)]()===_0x425cf5&&_0x193e4b['push'](_0x17aa2e);}return _0x193e4b;}[a0_0xf68f23(0x1d7)](_0x25b892){const _0x45c292=a0_0xf68f23,_0x2eb022=this[_0x45c292(0x402)]()[_0x45c292(0x1d7)](_0x25b892);return new DatasetList(_0x2eb022[_0x45c292(0x336)](_0x21e990=>_0x21e990[_0x45c292(0x277)]()));}[a0_0xf68f23(0x372)](_0x21270a){return this['getItems']()['filter'](_0x21270a);}[a0_0xf68f23(0x1df)](_0x502d21){const _0x627588=a0_0xf68f23;this[_0x627588(0x402)]()[_0x627588(0x1df)](_0x502d21);}[a0_0xf68f23(0x336)](_0x7bf617){const _0x3970e7=a0_0xf68f23;return this['getItems']()[_0x3970e7(0x336)](_0x7bf617);}[Symbol[a0_0xf68f23(0x265)]](){const _0x31effd=a0_0xf68f23;return this[_0x31effd(0x402)]()[Symbol[_0x31effd(0x265)]]();}[a0_0xf68f23(0x268)](){const _0x4964b=a0_0xf68f23;return this[_0x4964b(0x402)]()[_0x4964b(0x1d7)](_0x34dd3e=>_0x34dd3e[_0x4964b(0x241)]());}['getRealTables'](){const _0x2d9631=a0_0xf68f23;return this[_0x2d9631(0x402)]()[_0x2d9631(0x1d7)](_0x1f1147=>!_0x1f1147[_0x2d9631(0x241)]());}['groupByTableName'](){const _0x427c4d=a0_0xf68f23,_0x12dad1={};for(const _0x1705dd of this[_0x427c4d(0x358)][_0x427c4d(0x36c)]()){const _0x460658=_0x1705dd[_0x427c4d(0x456)]()[_0x427c4d(0x45a)]();_0x12dad1[_0x460658]=_0x1705dd[_0x427c4d(0x256)]();}return _0x12dad1;}[a0_0xf68f23(0x393)](){const _0x104230=a0_0xf68f23,_0x3dfed9={};for(const _0xe64906 of this[_0x104230(0x358)][_0x104230(0x2a4)]()[_0x104230(0x36c)]()){const _0x13dff7=_0xe64906['getLatest']()[_0x104230(0x45a)]();_0x3dfed9[_0x13dff7]=_0xe64906[_0x104230(0x256)]()[_0x104230(0x336)](_0x23fa11=>_0x23fa11[_0x104230(0x277)]());}return{'hasConflicts':Object[_0x104230(0x383)](_0x3dfed9)[_0x104230(0x34c)]>0x0,'conflicts':_0x3dfed9};}[a0_0xf68f23(0x36d)](){const _0x443602=a0_0xf68f23;return this[_0x443602(0x358)][_0x443602(0x36d)]();}['getConflictingItems'](){const _0x488abf=a0_0xf68f23,_0x4d079d=[];for(const _0xd2ccaf of this[_0x488abf(0x358)][_0x488abf(0x2a4)]()['values']()){_0x4d079d[_0x488abf(0x387)](..._0xd2ccaf['getAll']());}return _0x4d079d;}[a0_0xf68f23(0x301)](_0x38649e){const _0x2e3079=a0_0xf68f23;if(!_0x38649e||Object[_0x2e3079(0x383)](_0x38649e)[_0x2e3079(0x34c)]===0x0)return this[_0x2e3079(0x380)][_0x2e3079(0x20c)]();const _0x1d42b9=this[_0x2e3079(0x402)]()['map'](_0x58900c=>_0x58900c[_0x2e3079(0x277)]());return generateDatasetsConfig(_0x1d42b9,_0x38649e);}['generateConfigArray'](_0x5e6c9b){const _0x25d453=a0_0xf68f23,_0xf7c06b=this[_0x25d453(0x301)](_0x5e6c9b);return datasetsConfigToArray(_0xf7c06b);}[a0_0xf68f23(0x365)](){const _0x327e78=a0_0xf68f23;return this[_0x327e78(0x402)]()[_0x327e78(0x336)](_0x1f38ac=>_0x1f38ac[_0x327e78(0x20c)]());}[a0_0xf68f23(0x246)](){const _0x5c8689=a0_0xf68f23;return{'total':this[_0x5c8689(0x406)](),'virtualTables':this[_0x5c8689(0x268)]()[_0x5c8689(0x34c)],'realTables':this[_0x5c8689(0x395)]()[_0x5c8689(0x34c)],'hasConflicts':this[_0x5c8689(0x36d)](),'conflictCount':this[_0x5c8689(0x1f9)]()[_0x5c8689(0x34c)]};}[a0_0xf68f23(0x41f)](){const _0x8bca09=a0_0xf68f23;return this[_0x8bca09(0x402)]()[_0x8bca09(0x336)](_0x46075c=>_0x46075c[_0x8bca09(0x277)]());}[a0_0xf68f23(0x277)](){const _0x499278=a0_0xf68f23;return this[_0x499278(0x41f)]();}['toString'](){const _0x5a1f16=a0_0xf68f23;return _0x5a1f16(0x2e1)+this['getCount']()+_0x5a1f16(0x23f)+this[_0x5a1f16(0x358)][_0x5a1f16(0x2b5)]+_0x5a1f16(0x2d7);}static[a0_0xf68f23(0x284)](_0x3e4e29){return new DatasetList(_0x3e4e29);}static[a0_0xf68f23(0x3c3)](_0x597203){return new DatasetList(_0x597203);}static[a0_0xf68f23(0x2bb)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0xf68f23(0x3e7);function renderTemplate(_0x344b47,_0x17c4a2,_0x14bfef={}){const _0x21a190=a0_0xf68f23;let _0x2a8bb8=_0x344b47;return Object[_0x21a190(0x1b4)](_0x14bfef)[_0x21a190(0x1df)](([_0x4262e8,_0x294908])=>{const _0x4d351c=_0x21a190,_0x1b8dc2=new RegExp(_0x4d351c(0x417)+_0x4262e8+_0x4d351c(0x2ce),'g');_0x2a8bb8=_0x2a8bb8[_0x4d351c(0x3c0)](_0x1b8dc2,_0x294908?'$1':'');}),Object[_0x21a190(0x1b4)](_0x17c4a2)[_0x21a190(0x1df)](([_0x3598b7,_0x1f6fd5])=>{const _0x3b4801=_0x21a190;if(_0x1f6fd5!==undefined){const _0x3d93fc=new RegExp(_0x3b4801(0x37f)+_0x3598b7+_0x3b4801(0x231),'g');_0x2a8bb8=_0x2a8bb8['replace'](_0x3d93fc,_0x1f6fd5);}}),_0x2a8bb8;}function generateSDKInitCode(_0xa4a7fc,_0x5cfca0,_0x54e1c0,_0x328fc6,_0x308abf){const _0x19d7f8=a0_0xf68f23,_0xc1a395={};_0xc1a395[_0x19d7f8(0x1c6)]=_0xa4a7fc,_0xc1a395[_0x19d7f8(0x362)]=_0x5cfca0,_0xc1a395['alias']=_0x54e1c0,_0xc1a395[_0x19d7f8(0x2d3)]=_0x328fc6===_0x19d7f8(0x39c)?_0x19d7f8(0x39c):undefined;const _0xfceace={};return _0xfceace[_0x19d7f8(0x2d3)]=_0x328fc6!==undefined&&_0x328fc6!=='online',_0xfceace['isOpenAPI']=_0x308abf===!![],renderTemplate(SDK_INIT_TEMPLATE,_0xc1a395,_0xfceace);}var ALIAS_EXPLANATION_TEMPLATE=a0_0xf68f23(0x30d);function generateAliasExplanation(_0x395ccd,_0x48e291,_0xbde9cf,_0x43a680){const _0x332ee6=a0_0xf68f23,_0x2837f5=_0x332ee6(0x257)+_0x395ccd,_0x4bd378=_0x332ee6(0x40d),_0x59f429={};return _0x59f429[_0x332ee6(0x362)]=_0x395ccd,_0x59f429[_0x332ee6(0x25e)]=_0x2837f5,_0x59f429['tableName']=_0x48e291,_0x59f429['alias']=_0xbde9cf,_0x59f429[_0x332ee6(0x1c6)]=_0x43a680,_0x59f429[_0x332ee6(0x28e)]=_0x4bd378,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x59f429,{});}function DrivenDataDetailPlusMixin(_0x3fb412){const _0x3bb157=a0_0xf68f23;return class _0x5d567d extends _0x3fb412{['getSDKInitData'](_0x476015){const _0x29b7c5=a0_0x274a;return{'appCode':_0x476015,'datasetSDKKey':this[_0x29b7c5(0x290)](),'alias':this[_0x29b7c5(0x2bf)](),'tableName':this['getTableName'](),'datasetCode':this[_0x29b7c5(0x362)]};}[_0x3bb157(0x28f)](_0x2b0e72,_0x1b2c2b=_0x3bb157(0x2a0),_0x2c19b3=![]){const _0x10f8ca=_0x3bb157;return generateSDKInitCode(_0x2b0e72,this[_0x10f8ca(0x362)],this['getModelAlias'](),_0x1b2c2b===_0x10f8ca(0x39c)?_0x1b2c2b:undefined,_0x2c19b3);}[_0x3bb157(0x235)](_0x263323,_0x1c8ead,_0xa0bd4f={}){const _0xaf9c0f=_0x3bb157,_0x41f59=this[_0xaf9c0f(0x398)]()[_0xaf9c0f(0x1b6)](_0x2d7941=>_0x2d7941['getName']()===_0x263323);if(!_0x41f59)return null;const _0x1cf591={};_0x1cf591['useFullExample']=_0xa0bd4f[_0xaf9c0f(0x1dc)]!==![];const _0x282c2c=this['getOperationDocMeta'](_0x263323,_0x1cf591);if(!_0x282c2c)return null;const _0x5ca92e=[];return _0x5ca92e[_0xaf9c0f(0x387)]('//\x20Call\x20the\x20'+_0x41f59[_0xaf9c0f(0x1fd)]()+_0xaf9c0f(0x271)),_0x5ca92e[_0xaf9c0f(0x387)](_0x282c2c[_0xaf9c0f(0x206)][_0xaf9c0f(0x40e)]),_0x5ca92e[_0xaf9c0f(0x387)](''),_0xa0bd4f[_0xaf9c0f(0x32a)]!==![]&&(_0x5ca92e[_0xaf9c0f(0x387)](_0xaf9c0f(0x26e)),_0x5ca92e[_0xaf9c0f(0x387)](_0x282c2c[_0xaf9c0f(0x2ca)][_0xaf9c0f(0x43f)]),_0x5ca92e['push'](''),_0x5ca92e[_0xaf9c0f(0x387)](_0x282c2c[_0xaf9c0f(0x2ca)][_0xaf9c0f(0x2f5)])),_0x5ca92e[_0xaf9c0f(0x36f)]('\x0a');}['generateAllOperationsFullSDKExample'](_0x730b28={}){const _0x3f6858=_0x3bb157,_0x50d64e=this[_0x3f6858(0x2ed)](),_0x357515=[];return _0x50d64e[_0x3f6858(0x1df)]((_0x13771d,_0x263091)=>{const _0x2ed7f5=_0x3f6858,_0x243b9c=this[_0x2ed7f5(0x235)](_0x13771d['name'],_0x2ed7f5(0x3ce),_0x730b28);_0x243b9c&&(_0x357515[_0x2ed7f5(0x387)](_0x2ed7f5(0x258)+(_0x263091+0x1)+'.\x20'+_0x13771d[_0x2ed7f5(0x448)]),_0x357515[_0x2ed7f5(0x387)](_0x243b9c),_0x357515[_0x2ed7f5(0x387)](''));}),_0x357515['join']('\x0a');}[_0x3bb157(0x1ec)](_0xef1238){const _0x3fd4fb=_0x3bb157,_0x866797=this[_0x3fd4fb(0x27e)](_0xef1238);if(!_0x866797)return null;const _0x3e1d4d={};return _0x3e1d4d['name']=_0x866797[_0x3fd4fb(0x30b)],_0x3e1d4d['displayName']=_0x866797['displayName'],_0x3e1d4d[_0x3fd4fb(0x321)]=_0x866797['method'],_0x3e1d4d[_0x3fd4fb(0x2b6)]=_0x866797[_0x3fd4fb(0x2b6)],_0x3e1d4d[_0x3fd4fb(0x1cf)]=_0x866797[_0x3fd4fb(0x1cf)],_0x3e1d4d[_0x3fd4fb(0x2ef)]=_0x866797[_0x3fd4fb(0x3a0)][_0x3fd4fb(0x34c)],_0x3e1d4d['hasResponseSchema']=_0x866797[_0x3fd4fb(0x285)]!==null,_0x3e1d4d;}['generateAllOperationsSummary'](_0x32f85a={}){const _0xb28081=_0x3bb157,_0x5f685c=this[_0xb28081(0x2ed)]();return{'datasetName':this[_0xb28081(0x30b)],'datasetCode':this[_0xb28081(0x362)],'tableName':this[_0xb28081(0x45a)](),'totalOperations':_0x5f685c['length'],'operations':_0x5f685c['map'](_0x193415=>({'name':_0x193415[_0xb28081(0x30b)],'displayName':_0x193415['displayName'],'method':_0x193415[_0xb28081(0x321)],'enabled':_0x193415[_0xb28081(0x1cf)]}))};}[_0x3bb157(0x2dd)](_0xf1cba1){const _0x33c7b9=_0x3bb157,_0x48c79b=this[_0x33c7b9(0x27e)](_0xf1cba1);if(!_0x48c79b)return[];return _0x48c79b[_0x33c7b9(0x3a0)][_0x33c7b9(0x336)](_0x18ad2b=>{const _0x1d3c4a=_0x33c7b9,_0x521a4f=this[_0x1d3c4a(0x420)](_0x18ad2b);if(!_0x521a4f)return null;const _0x5392fb={};return _0x5392fb[_0x1d3c4a(0x40e)]=_0x18ad2b,_0x5392fb[_0x1d3c4a(0x30b)]=_0x521a4f['name']||_0x18ad2b,_0x5392fb;})[_0x33c7b9(0x1d7)](_0x578b03=>_0x578b03!==null);}['getMissingCRUDOperations'](){const _0x4e03e8=_0x3bb157,_0xddd1fc=new Set(this[_0x4e03e8(0x2ed)]()[_0x4e03e8(0x336)](_0x19cae9=>String(_0x19cae9[_0x4e03e8(0x282)]))),_0x76ca1b=[_0x4e03e8(0x1bc),_0x4e03e8(0x2a6),_0x4e03e8(0x410),_0x4e03e8(0x3dc)];return _0x76ca1b[_0x4e03e8(0x1d7)](_0x4883a4=>!_0xddd1fc[_0x4e03e8(0x2a9)](String(_0x4883a4)));}[_0x3bb157(0x223)](_0x2483cd=_0x3bb157(0x3ce)){const _0x13e904=_0x3bb157;return generateAliasExplanation(this[_0x13e904(0x362)],this[_0x13e904(0x45a)](),this[_0x13e904(0x2bf)](),_0x2483cd);}};}function operationToAnalysis(_0x34a4ba){const _0x47fd01=a0_0xf68f23;return{'name':_0x34a4ba[_0x47fd01(0x1fd)](),'displayName':_0x34a4ba[_0x47fd01(0x322)](),'type':_0x34a4ba[_0x47fd01(0x43d)](),'method':_0x34a4ba[_0x47fd01(0x3e0)](),'path':_0x34a4ba['getPath'](),'fullUrl':_0x34a4ba['getFullUrl'](),'requestFields':_0x34a4ba[_0x47fd01(0x1cd)](),'requestParams':_0x34a4ba[_0x47fd01(0x299)](),'responseSchema':_0x34a4ba[_0x47fd01(0x405)](),'requestExample':_0x34a4ba[_0x47fd01(0x454)](),'responseExample':_0x34a4ba[_0x47fd01(0x38b)](),'enabled':_0x34a4ba[_0x47fd01(0x41b)]()};}function operationsToAnalyses(_0x1573dd){const _0x44372c=a0_0xf68f23;if(!Array[_0x44372c(0x30c)](_0x1573dd))return!![]&&console[_0x44372c(0x359)](_0x44372c(0x31e),_0x1573dd),[];return _0x1573dd[_0x44372c(0x336)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x439cf3){const _0x40f9d8=a0_0xf68f23,_0x3c54af=_0x439cf3[_0x40f9d8(0x1b6)](_0x276b32=>_0x276b32[_0x40f9d8(0x30b)]===_0x40f9d8(0x1d7)),_0x3e9e30=_0x439cf3['filter'](_0x3f30ad=>_0x3f30ad[_0x40f9d8(0x30b)]!==_0x40f9d8(0x1d7));return _0x3c54af?[_0x3c54af,..._0x3e9e30]:_0x3e9e30;}function filterOperationAnalyses(_0x5102cc,_0xaa6898={}){const _0x2ae434=a0_0xf68f23;let _0x2a0128=_0x5102cc;return!_0xaa6898['includeDisabled']&&(_0x2a0128=_0x2a0128[_0x2ae434(0x1d7)](_0x260df9=>_0x260df9[_0x2ae434(0x1cf)])),_0xaa6898[_0x2ae434(0x23a)]!==![]&&(_0x2a0128=filterApiOperations(_0x2a0128)),_0xaa6898['customFilter']&&(_0x2a0128=_0x2a0128[_0x2ae434(0x1d7)](_0xaa6898[_0x2ae434(0x1a1)])),sortOperationsWithFilterFirst(_0x2a0128);}function getOperationStats(_0x153292){const _0x21780c=a0_0xf68f23,_0x1627d1=_0x153292[_0x21780c(0x1d7)](_0x36bfa7=>_0x36bfa7[_0x21780c(0x1cf)]);return{'total':_0x153292[_0x21780c(0x34c)],'enabled':_0x1627d1[_0x21780c(0x34c)],'disabled':_0x153292[_0x21780c(0x34c)]-_0x1627d1['length'],'byType':getCountByType(_0x1627d1),'byMethod':getCountByMethod(_0x1627d1)};}function getCountByType(_0x2be08e){const _0x192b1d={};return _0x2be08e['forEach'](_0x32d173=>{const _0x50b60d=a0_0x274a;if(_0x32d173['type'])_0x192b1d[_0x32d173[_0x50b60d(0x282)]]=(_0x192b1d[_0x32d173[_0x50b60d(0x282)]]||0x0)+0x1;}),_0x192b1d;}function getCountByMethod(_0x138a57){const _0x2d8146=a0_0xf68f23,_0x2de245={};return _0x138a57[_0x2d8146(0x1df)](_0x57a2fa=>{const _0x17ee9a=_0x2d8146;_0x2de245[_0x57a2fa[_0x17ee9a(0x321)]]=(_0x2de245[_0x57a2fa[_0x17ee9a(0x321)]]||0x0)+0x1;}),_0x2de245;}function supportsCRUD(_0x13c405){const _0xe2be5f=a0_0xf68f23,_0x3f0299=new Set(_0x13c405['map'](_0x441e05=>_0x441e05[_0xe2be5f(0x282)])['filter'](Boolean));return _0x3f0299[_0xe2be5f(0x2a9)](_0xe2be5f(0x1bc))&&_0x3f0299['has'](_0xe2be5f(0x2a6))&&_0x3f0299['has'](_0xe2be5f(0x410))&&_0x3f0299[_0xe2be5f(0x2a9)](_0xe2be5f(0x3dc));}function createOperationDocMeta(_0x1baf35,_0x2e7285,_0x1cce13,_0x4d3838,_0x2f5a6a,_0x40afac){const _0x45db45=a0_0xf68f23,_0x3c8867={};return _0x3c8867[_0x45db45(0x447)]=_0x40afac?.[_0x45db45(0x447)],{'operation':_0x1baf35,'operationInstance':_0x2e7285,'basicInfo':{'name':_0x1baf35['name'],'displayName':_0x1baf35[_0x45db45(0x448)],'method':_0x1baf35[_0x45db45(0x321)],'path':_0x1baf35[_0x45db45(0x2b6)],'fullUrl':_0x1baf35[_0x45db45(0x1c2)],'enabled':_0x1baf35[_0x45db45(0x1cf)]},'sdkCall':{'datasetCode':_0x1cce13,'datasetSDKKey':_0x4d3838,'tableName':_0x2f5a6a,'operationName':_0x1baf35[_0x45db45(0x30b)],'params':_0x1baf35[_0x45db45(0x3a0)],'code':_0x2e7285[_0x45db45(0x1b3)](_0x4d3838,_0x3c8867)},'usageExample':_0x2e7285[_0x45db45(0x3b0)](_0x4d3838)};}function createOperationsOverviewData(_0x32ee11){const _0x1587a3=a0_0xf68f23,_0x110d0f={};_0x110d0f[_0x1587a3(0x229)]='name',_0x110d0f[_0x1587a3(0x3d5)]=_0x1587a3(0x371);const _0x59e0c={};_0x59e0c[_0x1587a3(0x229)]=_0x1587a3(0x448),_0x59e0c[_0x1587a3(0x3d5)]='操作名称';const _0x306d4b={};_0x306d4b['index']=_0x1587a3(0x321),_0x306d4b[_0x1587a3(0x3d5)]='方法';const _0x39866d={};_0x39866d[_0x1587a3(0x229)]=_0x1587a3(0x206),_0x39866d[_0x1587a3(0x3d5)]=_0x1587a3(0x408);const _0x2285cf={};_0x2285cf[_0x1587a3(0x229)]=_0x1587a3(0x2b6),_0x2285cf[_0x1587a3(0x3d5)]=_0x1587a3(0x243);const _0x120fad={};_0x120fad['index']=_0x1587a3(0x421),_0x120fad[_0x1587a3(0x3d5)]=_0x1587a3(0x2ab);const _0x20d078=[_0x110d0f,_0x59e0c,_0x306d4b,_0x39866d,_0x2285cf,_0x120fad],_0x422157=_0x32ee11[_0x1587a3(0x336)](_0x16e77c=>{const _0x2bcacc=_0x1587a3,{basicInfo:_0x372da8,sdkCall:_0x2d9da0}=_0x16e77c,_0x3d7998=_0x2d9da0[_0x2bcacc(0x40e)]['replace'](/^const\s+\w+\s*=\s*await\s+/,'')[_0x2bcacc(0x3c0)](/;$/,''),_0x40ab56={};return _0x40ab56[_0x2bcacc(0x448)]=_0x372da8[_0x2bcacc(0x448)],_0x40ab56[_0x2bcacc(0x30b)]=_0x372da8['name'],_0x40ab56[_0x2bcacc(0x321)]=_0x372da8[_0x2bcacc(0x321)],_0x40ab56[_0x2bcacc(0x2b6)]=_0x372da8[_0x2bcacc(0x2b6)],_0x40ab56[_0x2bcacc(0x206)]=_0x3d7998,_0x40ab56[_0x2bcacc(0x421)]=_0x2d9da0[_0x2bcacc(0x40e)],_0x40ab56;}),_0x27fdee={};return _0x27fdee['tableColumns']=_0x20d078,_0x27fdee[_0x1587a3(0x203)]=_0x422157,_0x27fdee;}function createDatasetDocMeta(_0x4ecb21,_0x4dca15,_0x18693f,_0x5191c1,_0x15a6d9,_0x435e0a,_0x15fbd8,_0x148eac,_0x2c2069){const _0x592f6c=a0_0xf68f23,_0x47e613={};return _0x47e613[_0x592f6c(0x309)]=_0x4ecb21+'\x20API\x20文档',_0x47e613[_0x592f6c(0x1ae)]={},_0x47e613[_0x592f6c(0x23d)]=_0x2c2069,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x30b)]=_0x4ecb21,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x40e)]=_0x4dca15,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x27f)]=_0x18693f,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x25e)]=_0x5191c1,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x22b)]=_0x15a6d9,_0x47e613[_0x592f6c(0x1ae)]['source']=_0x435e0a,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x1f4)]=_0x15fbd8,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x1e8)]=0x0,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x3fa)]=0x0,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x291)]=_0x148eac,_0x47e613[_0x592f6c(0x1ae)]['enabledOperationCount']=_0x2c2069[_0x592f6c(0x34c)],_0x47e613;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0xf68f23(0x318)];[a0_0xf68f23(0x392)](){return'v1';}[a0_0xf68f23(0x2bf)](){return this['getTableKey']();}[a0_0xf68f23(0x2c8)](_0x4f9896=![]){const _0x2ce6e1=a0_0xf68f23;if(!_0x4f9896&&this['_operationAnalyses'])return this['_operationAnalyses'];const _0x5cf97b=this[_0x2ce6e1(0x398)]();return this['_operationAnalyses']=operationsToAnalyses(_0x5cf97b),this['_operationAnalyses'];}['getEnabledOperationAnalyses'](){const _0x160ab2=a0_0xf68f23,_0x42b428={};return _0x42b428[_0x160ab2(0x1d5)]=![],_0x42b428[_0x160ab2(0x23a)]=!![],this[_0x160ab2(0x353)](_0x42b428);}[a0_0xf68f23(0x353)](_0x1837f5={}){const _0x41d53d=a0_0xf68f23;return filterOperationAnalyses(this[_0x41d53d(0x2c8)](),_0x1837f5);}['getOperationAnalysis'](_0x47606a){const _0x2aa2a5=a0_0xf68f23;return this[_0x2aa2a5(0x2c8)]()[_0x2aa2a5(0x1b6)](_0xc06b8b=>_0xc06b8b['name']===_0x47606a);}[a0_0xf68f23(0x228)](_0x158563){const _0x4b71ff=a0_0xf68f23;return this[_0x4b71ff(0x2c8)]()[_0x4b71ff(0x1d7)](_0x45064b=>_0x45064b[_0x4b71ff(0x282)]===_0x158563);}[a0_0xf68f23(0x442)](_0x1a53c7,_0x4b1ed2){const _0x585861=a0_0xf68f23,_0x548be9=this[_0x585861(0x27e)](_0x1a53c7);if(!_0x548be9)return null;const _0x32a5f2=this[_0x585861(0x398)]()[_0x585861(0x1b6)](_0x4956d0=>_0x4956d0[_0x585861(0x1fd)]()===_0x548be9[_0x585861(0x30b)]);if(!_0x32a5f2)throw new Error(_0x585861(0x22a)+_0x548be9[_0x585861(0x30b)]);return createOperationDocMeta(_0x548be9,_0x32a5f2,this[_0x585861(0x362)],this[_0x585861(0x290)](),this['getTableName'](),_0x4b1ed2);}['getDatasetDocMeta'](_0x531a41={}){const _0x6f5f1c=a0_0xf68f23,_0x42df32=this[_0x6f5f1c(0x353)](_0x531a41),_0x465468=_0x42df32[_0x6f5f1c(0x336)](_0x26ef05=>this[_0x6f5f1c(0x442)](_0x26ef05[_0x6f5f1c(0x30b)]))[_0x6f5f1c(0x1d7)](_0x5a6e92=>_0x5a6e92!==null);return createDatasetDocMeta(this[_0x6f5f1c(0x30b)],this[_0x6f5f1c(0x362)],this['getTableName'](),this['getDatasetSDKKey'](),this[_0x6f5f1c(0x1ac)](),this[_0x6f5f1c(0x272)],this[_0x6f5f1c(0x26f)](),this['getOperationCount'](),_0x465468);}['getOperationsOverviewData'](_0x3eed8c){return createOperationsOverviewData(_0x3eed8c);}[a0_0xf68f23(0x319)](){return supportsCRUD(this['getEnabledOperationAnalyses']());}['getOperationStats'](){const _0x131cfc=a0_0xf68f23;return getOperationStats(this[_0x131cfc(0x2c8)]());}[a0_0xf68f23(0x250)](){const _0x2fc76f=a0_0xf68f23,_0x28865f=this[_0x2fc76f(0x28d)]();return _0x2fc76f(0x3d0)+this[_0x2fc76f(0x30b)]+',\x20'+this[_0x2fc76f(0x362)]+',\x20'+this[_0x2fc76f(0x26f)]()+_0x2fc76f(0x44e)+_0x28865f['enabled']+'/'+_0x28865f[_0x2fc76f(0x3bc)]+'\x20operations,\x20v1)';}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0xf68f23(0x318)];[a0_0xf68f23(0x392)](){return'v2';}[a0_0xf68f23(0x2bf)](){const _0x4bbeb1=a0_0xf68f23;return this[_0x4bbeb1(0x1ac)]();}[a0_0xf68f23(0x2c8)](_0x2f5821=![]){const _0x4b0402=a0_0xf68f23;if(!_0x2f5821&&this['_operationAnalyses'])return this[_0x4b0402(0x318)];const _0x183ad0=this[_0x4b0402(0x398)]();return this['_operationAnalyses']=operationsToAnalyses(_0x183ad0),this[_0x4b0402(0x318)];}[a0_0xf68f23(0x2ed)](){const _0x52728b=a0_0xf68f23,_0x2c243d={};return _0x2c243d[_0x52728b(0x1d5)]=![],_0x2c243d[_0x52728b(0x23a)]=!![],this[_0x52728b(0x353)](_0x2c243d);}[a0_0xf68f23(0x353)](_0x52e738={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x52e738);}[a0_0xf68f23(0x27e)](_0x23d9b9){const _0x5a94f8=a0_0xf68f23;return this['getOperationAnalyses']()['find'](_0x3794a9=>_0x3794a9[_0x5a94f8(0x30b)]===_0x23d9b9);}[a0_0xf68f23(0x228)](_0x3bc2ab){const _0x52eb75=a0_0xf68f23;return this[_0x52eb75(0x2c8)]()[_0x52eb75(0x1d7)](_0x38e365=>_0x38e365[_0x52eb75(0x282)]===_0x3bc2ab);}[a0_0xf68f23(0x442)](_0x2b3b89,_0x119b8e){const _0x383721=a0_0xf68f23,_0x51f028=this[_0x383721(0x27e)](_0x2b3b89);if(!_0x51f028)return null;const _0x162071=this['getOperations']()[_0x383721(0x1b6)](_0x201868=>_0x201868[_0x383721(0x1fd)]()===_0x51f028[_0x383721(0x30b)]);if(!_0x162071)throw new Error(_0x383721(0x22a)+_0x51f028[_0x383721(0x30b)]);return createOperationDocMeta(_0x51f028,_0x162071,this[_0x383721(0x362)],this[_0x383721(0x290)](),this[_0x383721(0x45a)](),_0x119b8e);}[a0_0xf68f23(0x36a)](_0xb85731={}){const _0x3034ae=a0_0xf68f23,_0x31e3b1=this[_0x3034ae(0x353)](_0xb85731),_0x7bd6c8=_0x31e3b1[_0x3034ae(0x336)](_0x30537d=>this[_0x3034ae(0x442)](_0x30537d[_0x3034ae(0x30b)]))[_0x3034ae(0x1d7)](_0x2b514f=>_0x2b514f!==null);return createDatasetDocMeta(this['name'],this[_0x3034ae(0x362)],this[_0x3034ae(0x45a)](),this[_0x3034ae(0x290)](),this[_0x3034ae(0x1ac)](),this[_0x3034ae(0x272)],this[_0x3034ae(0x26f)](),this[_0x3034ae(0x3ac)](),_0x7bd6c8);}['getOperationsOverviewData'](_0x3b615f){return createOperationsOverviewData(_0x3b615f);}[a0_0xf68f23(0x319)](){const _0x323efe=a0_0xf68f23;return supportsCRUD(this[_0x323efe(0x2ed)]());}[a0_0xf68f23(0x28d)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0xf68f23(0x250)](){const _0x9d6572=a0_0xf68f23,_0x187be3=this[_0x9d6572(0x28d)]();return'DrivenDataDetailPlusV2('+this[_0x9d6572(0x30b)]+',\x20'+this['datasetCode']+',\x20'+this['getFieldCount']()+_0x9d6572(0x44e)+_0x187be3['enabled']+'/'+_0x187be3[_0x9d6572(0x3bc)]+_0x9d6572(0x2af);}}function detectDatasetVersion3(_0x3c11e7){const _0x597f71=a0_0xf68f23;if(_0x3c11e7[_0x597f71(0x3aa)]==='v2'&&_0x597f71(0x2a1)in _0x3c11e7&&Array[_0x597f71(0x30c)](_0x3c11e7[_0x597f71(0x2a1)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0xf68f23(0x249)];constructor(_0x439858){const _0x169eb2=a0_0xf68f23,_0x1541b5=detectDatasetVersion3(_0x439858);return this[_0x169eb2(0x249)]=_0x1541b5==='v2'?new DrivenDataDetailPlusV2(_0x439858):new DrivenDataDetailPlusV1(_0x439858),new Proxy(this,{'get'(_0xe7b9a8,_0x10e26e){const _0x49bd96=_0x169eb2;if(_0x10e26e in _0xe7b9a8){const _0x519c46=_0xe7b9a8[_0x10e26e];return typeof _0x519c46===_0x49bd96(0x3e6)?_0x519c46[_0x49bd96(0x1f3)](_0xe7b9a8):_0x519c46;}if(_0x10e26e in _0xe7b9a8['_instance']){const _0x797898=_0xe7b9a8[_0x49bd96(0x249)][_0x10e26e];return typeof _0x797898===_0x49bd96(0x3e6)?_0x797898['bind'](_0xe7b9a8[_0x49bd96(0x249)]):_0x797898;}return;},'set'(_0x32c7dc,_0x304c9a,_0x148ba3){return _0x32c7dc[_0x304c9a]=_0x148ba3,!![];},'getPrototypeOf'(_0x145f3a){const _0x371609=_0x169eb2;return DrivenDataDetailPlus[_0x371609(0x205)];}});}get['name'](){const _0x11440b=a0_0xf68f23;return this[_0x11440b(0x249)][_0x11440b(0x30b)];}get['id'](){return this['_instance']['id'];}get[a0_0xf68f23(0x362)](){const _0xb2a584=a0_0xf68f23;return this[_0xb2a584(0x249)]['datasetCode'];}get[a0_0xf68f23(0x272)](){const _0x36ebf4=a0_0xf68f23;return this[_0x36ebf4(0x249)][_0x36ebf4(0x272)];}get[a0_0xf68f23(0x26d)](){const _0x12daed=a0_0xf68f23;return this[_0x12daed(0x249)][_0x12daed(0x207)]();}['getVersion'](){const _0x365e45=a0_0xf68f23,_0x185c2b=this[_0x365e45(0x249)]['getVersion']();return _0x185c2b==='v2'?'v2':'v1';}[a0_0xf68f23(0x26f)](){const _0x32f726=a0_0xf68f23;return this[_0x32f726(0x249)]['getFieldCount']();}['getOperationCount'](){const _0x551739=a0_0xf68f23;return this[_0x551739(0x249)][_0x551739(0x3ac)]();}[a0_0xf68f23(0x434)](){const _0x29cd1a=a0_0xf68f23;return this[_0x29cd1a(0x249)][_0x29cd1a(0x434)]();}[a0_0xf68f23(0x398)](){const _0xa65f11=a0_0xf68f23;return this[_0xa65f11(0x249)][_0xa65f11(0x398)]();}[a0_0xf68f23(0x415)](_0x270562){const _0x11d3c5=a0_0xf68f23;return this[_0x11d3c5(0x249)][_0x11d3c5(0x415)](_0x270562);}[a0_0xf68f23(0x420)](_0x51c886){const _0x5b5696=a0_0xf68f23;return this[_0x5b5696(0x249)][_0x5b5696(0x420)](_0x51c886);}['getTableName'](){const _0xcfe682=a0_0xf68f23;return this[_0xcfe682(0x249)][_0xcfe682(0x45a)]();}['getTableKey'](){const _0x2b901d=a0_0xf68f23;return this[_0x2b901d(0x249)]['getTableKey']();}[a0_0xf68f23(0x290)](){const _0x58c243=a0_0xf68f23;return this[_0x58c243(0x249)][_0x58c243(0x290)]();}[a0_0xf68f23(0x24a)](){const _0x3a57b9=a0_0xf68f23;return this[_0x3a57b9(0x249)][_0x3a57b9(0x24a)]();}[a0_0xf68f23(0x416)](){const _0x25fb8a=a0_0xf68f23;return this[_0x25fb8a(0x249)]['getEnumFields']();}[a0_0xf68f23(0x37b)](){const _0x46e313=a0_0xf68f23;return this[_0x46e313(0x249)][_0x46e313(0x37b)]();}[a0_0xf68f23(0x24f)](_0x5d1102){const _0x1b5c55=a0_0xf68f23;return this[_0x1b5c55(0x249)][_0x1b5c55(0x24f)](_0x5d1102);}[a0_0xf68f23(0x1b9)](_0x2811e3){const _0x411f5a=a0_0xf68f23;return this[_0x411f5a(0x249)][_0x411f5a(0x1b9)](_0x2811e3);}[a0_0xf68f23(0x41a)](_0x452aba){const _0x311495=a0_0xf68f23;return this['_instance'][_0x311495(0x41a)](_0x452aba);}[a0_0xf68f23(0x19d)](_0x30347d){const _0x404d27=a0_0xf68f23;return this['_instance'][_0x404d27(0x19d)](_0x30347d);}[a0_0xf68f23(0x368)](_0x1cd044){const _0x631042=a0_0xf68f23;return this[_0x631042(0x249)][_0x631042(0x368)](_0x1cd044);}[a0_0xf68f23(0x204)](_0x11dd7b,_0x1617e0){const _0x523e93=a0_0xf68f23;return this['_instance'][_0x523e93(0x204)](_0x11dd7b,_0x1617e0);}[a0_0xf68f23(0x1a9)](_0x490116){const _0x50e433=a0_0xf68f23;return this['_instance'][_0x50e433(0x1a9)](_0x490116);}[a0_0xf68f23(0x246)](){const _0x23a250=a0_0xf68f23;return this[_0x23a250(0x249)][_0x23a250(0x246)]();}[a0_0xf68f23(0x1c8)](){const _0x53ff80=a0_0xf68f23;return this[_0x53ff80(0x249)][_0x53ff80(0x1c8)]();}['hasFilterOperation'](){const _0x12b8e3=a0_0xf68f23;return this[_0x12b8e3(0x249)][_0x12b8e3(0x360)]();}[a0_0xf68f23(0x2ff)](_0x2bdc7e){const _0x1d89f0=a0_0xf68f23;return this[_0x1d89f0(0x249)][_0x1d89f0(0x2ff)](_0x2bdc7e);}[a0_0xf68f23(0x207)](){const _0x15a111=a0_0xf68f23;return this['_instance'][_0x15a111(0x207)]();}[a0_0xf68f23(0x298)](){const _0x5f5d60=a0_0xf68f23;return this['_instance'][_0x5f5d60(0x298)]();}[a0_0xf68f23(0x3e2)](){const _0x4a4aef=a0_0xf68f23;return this[_0x4a4aef(0x249)][_0x4a4aef(0x3e2)]();}[a0_0xf68f23(0x2c8)](_0x17d013){const _0xe4ee47=a0_0xf68f23;return this[_0xe4ee47(0x249)][_0xe4ee47(0x2c8)](_0x17d013);}[a0_0xf68f23(0x2ed)](){return this['_instance']['getEnabledOperationAnalyses']();}['getFilteredOperationAnalyses'](_0x5ad4ee){const _0x41c766=a0_0xf68f23;return this[_0x41c766(0x249)][_0x41c766(0x353)](_0x5ad4ee);}[a0_0xf68f23(0x27e)](_0x42eb98){const _0x29613f=a0_0xf68f23;return this[_0x29613f(0x249)][_0x29613f(0x27e)](_0x42eb98);}[a0_0xf68f23(0x228)](_0x520540){const _0x12eefc=a0_0xf68f23;return this[_0x12eefc(0x249)]['getOperationAnalysesByType'](_0x520540);}['getOperationDocMeta'](_0x1201f0,_0x271b34){const _0x197f68=a0_0xf68f23;return this[_0x197f68(0x249)][_0x197f68(0x442)](_0x1201f0,_0x271b34);}[a0_0xf68f23(0x36a)](_0xebcd3f){const _0x532b57=a0_0xf68f23;return this[_0x532b57(0x249)]['getDatasetDocMeta'](_0xebcd3f);}[a0_0xf68f23(0x224)](_0x3563a2){const _0xdd56fd=a0_0xf68f23;return this[_0xdd56fd(0x249)][_0xdd56fd(0x224)](_0x3563a2);}[a0_0xf68f23(0x2bf)](){const _0x530d7d=a0_0xf68f23;return this[_0x530d7d(0x249)]['getModelAlias']();}[a0_0xf68f23(0x319)](){const _0x2ef4e8=a0_0xf68f23;return this['_instance'][_0x2ef4e8(0x319)]();}[a0_0xf68f23(0x28d)](){const _0x29bae3=a0_0xf68f23;return this['_instance'][_0x29bae3(0x28d)]();}[a0_0xf68f23(0x250)](){const _0x3c771c=a0_0xf68f23;return this['_instance'][_0x3c771c(0x250)]();}[a0_0xf68f23(0x214)](_0x2c1198){const _0x562aa8=a0_0xf68f23;return this['_instance'][_0x562aa8(0x214)](_0x2c1198);}[a0_0xf68f23(0x1a6)](_0x1ed370){const _0xb5b31c=a0_0xf68f23;return this['_instance'][_0xb5b31c(0x1a6)](_0x1ed370);}['generateSDKInitCode'](_0x1ba1ed,_0x212d60,_0x4e9bad){const _0x2c7b07=a0_0xf68f23;return this['_instance'][_0x2c7b07(0x28f)](_0x1ba1ed,_0x212d60,_0x4e9bad);}[a0_0xf68f23(0x235)](_0x295ae2,_0x22745b,_0x202b0a){return this['_instance']['generateFullSDKExample'](_0x295ae2,_0x22745b,_0x202b0a);}['generateAllOperationsFullSDKExample'](_0x5af88b){const _0x2bd638=a0_0xf68f23;return this[_0x2bd638(0x249)]['generateAllOperationsFullSDKExample'](_0x5af88b);}[a0_0xf68f23(0x1ec)](_0x2ded13){const _0x388827=a0_0xf68f23;return this[_0x388827(0x249)][_0x388827(0x1ec)](_0x2ded13);}[a0_0xf68f23(0x24c)](_0x456df1){const _0x8df81d=a0_0xf68f23;return this[_0x8df81d(0x249)][_0x8df81d(0x24c)](_0x456df1);}[a0_0xf68f23(0x2dd)](_0x1d62db){const _0x22ed57=a0_0xf68f23;return this['_instance'][_0x22ed57(0x2dd)](_0x1d62db);}[a0_0xf68f23(0x21c)](){const _0x4cc4f8=a0_0xf68f23;return this[_0x4cc4f8(0x249)][_0x4cc4f8(0x21c)]();}[a0_0xf68f23(0x223)](){const _0x244a53=a0_0xf68f23;return this[_0x244a53(0x249)][_0x244a53(0x223)]();}['getInternalInstance'](){const _0x256fe5=a0_0xf68f23;return this[_0x256fe5(0x249)];}}function createDrivenDataDetailPlus(_0x1b6769,_0x2cb25f={}){const _0x29af85=a0_0xf68f23;if(_0x2cb25f[_0x29af85(0x409)]==='v1')return new DrivenDataDetailPlusV1(_0x1b6769);if(_0x2cb25f[_0x29af85(0x409)]==='v2')return new DrivenDataDetailPlusV2(_0x1b6769);if(_0x1b6769[_0x29af85(0x3aa)]==='v2'||_0x29af85(0x412)in _0x1b6769)return new DrivenDataDetailPlusV2(_0x1b6769);return new DrivenDataDetailPlusV1(_0x1b6769);}function isPlusV2Instance(_0x464010){const _0x1c7105=a0_0xf68f23;return _0x464010[_0x1c7105(0x392)]()==='v2';}function isPlusV1Instance(_0x6c0979){const _0x3902f0=a0_0xf68f23;return _0x6c0979[_0x3902f0(0x392)]()==='v1';}var VERSION=a0_0xf68f23(0x3c1);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};
@@ -81,7 +81,12 @@ export declare class DatasetGroupMap {
81
81
  * 生成数据集配置(每组取最新的,即 id 最大的)
82
82
  * 配置的 key 使用 camelCase 格式
83
83
  *
84
- * 注意:内部调用 generateDatasetsConfig,确保命名规则统一
84
+ * 多库场景处理:
85
+ * - 不同数据库的同名表会被保留(因为已经在 DatasetGroupMap 中分为不同的组)
86
+ * - 如果检测到同名表,key 直接使用 dbName 前缀(如 ecommerceDbUser)
87
+ * - 不会添加 _1, _2 等后缀,而是用更有语义的 dbName 前缀
88
+ *
89
+ * 注意:内部调用 generateDatasetsConfig,但会根据分组信息智能生成 key
85
90
  */
86
91
  toConfig(): DatasetsConfig;
87
92
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"DatasetGroupMap.d.ts","sourceRoot":"","sources":["../../../src/core/DatasetGroupMap.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAMjD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE;;;;GAIG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;gBAEvC,QAAQ,EAAE,WAAW,EAAE;IAqBnC;;OAEG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS;IAI1C;;OAEG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAIzB;;OAEG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;OAEG;IACH,IAAI,IAAI,gBAAgB,CAAC,MAAM,CAAC;IAIhC;;OAEG;IACH,MAAM,IAAI,gBAAgB,CAAC,YAAY,CAAC;IAIxC;;OAEG;IACH,OAAO,IAAI,gBAAgB,CAAC,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAInD;;OAEG;IACH,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,gBAAgB,CAAC,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAI7D;;OAEG;IACH,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,KAAK,IAAI,GAAG,IAAI;IAM9E;;OAEG;IACH,YAAY,IAAI,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC;IAYzC;;OAEG;IACH,YAAY,IAAI,OAAO;IASvB;;OAEG;IACH,gBAAgB;;;;;IAoBhB;;OAEG;IACH,cAAc,IAAI,WAAW,EAAE;IAU/B;;OAEG;IACH,iBAAiB,IAAI,WAAW,EAAE;IAUlC;;OAEG;IACH,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAI/C;;OAEG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,EAAE;IAMlC;;;;;OAKG;IACH,QAAQ,IAAI,cAAc;IAa1B;;;;;;OAMG;IACH,YAAY,IAAI,cAAc;IAa9B;;OAEG;IACH,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC;IAUxC;;OAEG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,CAAC;IAU3C;;OAEG;IACH,QAAQ,IAAI,MAAM;CAGnB"}
1
+ {"version":3,"file":"DatasetGroupMap.d.ts","sourceRoot":"","sources":["../../../src/core/DatasetGroupMap.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAiBzE;;;;GAIG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;gBAEvC,QAAQ,EAAE,WAAW,EAAE;IAoCnC;;OAEG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS;IAI1C;;OAEG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAIzB;;OAEG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;OAEG;IACH,IAAI,IAAI,gBAAgB,CAAC,MAAM,CAAC;IAIhC;;OAEG;IACH,MAAM,IAAI,gBAAgB,CAAC,YAAY,CAAC;IAIxC;;OAEG;IACH,OAAO,IAAI,gBAAgB,CAAC,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAInD;;OAEG;IACH,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,gBAAgB,CAAC,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAI7D;;OAEG;IACH,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,KAAK,IAAI,GAAG,IAAI;IAM9E;;OAEG;IACH,YAAY,IAAI,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC;IAYzC;;OAEG;IACH,YAAY,IAAI,OAAO;IASvB;;OAEG;IACH,gBAAgB;;;;;IAoBhB;;OAEG;IACH,cAAc,IAAI,WAAW,EAAE;IAU/B;;OAEG;IACH,iBAAiB,IAAI,WAAW,EAAE;IAUlC;;OAEG;IACH,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAI/C;;OAEG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,EAAE;IAMlC;;;;;;;;;;OAUG;IACH,QAAQ,IAAI,cAAc;IAkF1B;;;;;;OAMG;IACH,YAAY,IAAI,cAAc;IAa9B;;OAEG;IACH,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC;IAUxC;;OAEG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,CAAC;IAU3C;;OAEG;IACH,QAAQ,IAAI,MAAM;CAGnB"}
@@ -125,8 +125,19 @@ export declare class DatasetList {
125
125
  findById(id: number | string): DatasetItem | undefined;
126
126
  /**
127
127
  * 根据表名查找(返回该表名分组中最新的数据集)
128
+ *
129
+ * 注意:在多库场景下,同一个表名可能在多个数据库中都存在。
130
+ * 此方法会遍历所有分组,找到第一个匹配的表名,返回该组中最新的数据集。
131
+ * 如果需要获取所有同名表,请使用 `findAllByTableName()` 方法。
128
132
  */
129
133
  findByTableName(tableName: string): DatasetItem | undefined;
134
+ /**
135
+ * 根据表名查找所有数据集(多库场景)
136
+ *
137
+ * 在多库场景下,返回所有匹配该表名的数据集(来自不同数据库)。
138
+ * 每个数据库返回最新的数据集。
139
+ */
140
+ findAllByTableName(tableName: string): DatasetItem[];
130
141
  /**
131
142
  * 根据条件过滤
132
143
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DatasetList.d.ts","sourceRoot":"","sources":["../../../src/core/DatasetList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGrE,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,uBAAuB,EACxB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE;QACJ,SAAS,EAAE,eAAe,EAAE,CAAC;KAC9B,CAAC;CACH;AAED;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,eAAe,EAAE,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,eAAe,EAAE,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,yBAAyB,CAAC;AAErE;;;GAGG;AACH,qBAAa,WAAW;IACtB,sBAAsB;IACtB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAkB;IAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;gBACS,IAAI,EAAE,eAAe,EAAE;gBACvB,QAAQ,EAAE,kBAAkB;gBAC5B,QAAQ,EAAE,yBAAyB;gBACnC,kBAAkB,EAAE,yBAAyB;IA+DzD;;;;OAIG;IACH,IAAI,UAAU,IAAI,eAAe,CAEhC;IAID;;;OAGG;IACH,QAAQ,IAAI,WAAW,EAAE;IAIzB;;OAEG;IACH,QAAQ,IAAI,MAAM;IAIlB;;OAEG;IACH,OAAO,IAAI,OAAO;IAIlB;;;OAGG;IACH,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAI7C;;;OAGG;IACH,QAAQ,IAAI,WAAW,GAAG,SAAS;IAInC;;;OAGG;IACH,OAAO,IAAI,WAAW,GAAG,SAAS;IAOlC;;OAEG;IACH,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IASxD;;OAEG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAIjD;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS;IAStD;;OAEG;IACH,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAK3D;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,GAAG,WAAW;IAK9D;;OAEG;IACH,OAAO,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,GAAG,WAAW,EAAE;IAMjE;;OAEG;IACH,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAInE;;OAEG;IACH,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC,GAAG,CAAC,EAAE;IAI9D;;OAEG;IACH,CAAC,MAAM,CAAC,QAAQ,CAAC;IAMjB;;OAEG;IACH,gBAAgB,IAAI,WAAW,EAAE;IAIjC;;OAEG;IACH,aAAa,IAAI,WAAW,EAAE;IAI9B;;OAEG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,CAAC;IAYjD;;OAEG;IACH,eAAe;;;;IAef;;OAEG;IACH,YAAY,IAAI,OAAO;IAIvB;;OAEG;IACH,mBAAmB,IAAI,WAAW,EAAE;IAYpC;;;;;;;;;;OAUG;IACH,cAAc,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,cAAc;IAWjE;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,mBAAmB,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,aAAa,EAAE;IAKvE;;;;OAIG;IACH,aAAa;;;;;;;IAMb;;OAEG;IACH,QAAQ;;;;;;;IAYR;;OAEG;IACH,OAAO,IAAI,eAAe,EAAE;IAI5B;;OAEG;IACH,MAAM,IAAI,eAAe,EAAE;IAI3B;;OAEG;IACH,QAAQ,IAAI,MAAM;IAMlB;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,eAAe,CAAC,QAAQ,EAAE,kBAAkB,GAAG,WAAW;IACjE;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,eAAe,CAAC,QAAQ,EAAE,yBAAyB,GAAG,WAAW;IAKxE;;;;;;OAMG;IACH,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,kBAAkB,GAAG,yBAAyB,GAAG,WAAW;IAIzF;;;;;OAKG;IACH,MAAM,CAAC,KAAK,IAAI,WAAW;CAG5B"}
1
+ {"version":3,"file":"DatasetList.d.ts","sourceRoot":"","sources":["../../../src/core/DatasetList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGrE,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,uBAAuB,EACxB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE;QACJ,SAAS,EAAE,eAAe,EAAE,CAAC;KAC9B,CAAC;CACH;AAED;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,eAAe,EAAE,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,eAAe,EAAE,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,yBAAyB,CAAC;AAErE;;;GAGG;AACH,qBAAa,WAAW;IACtB,sBAAsB;IACtB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAkB;IAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;gBACS,IAAI,EAAE,eAAe,EAAE;gBACvB,QAAQ,EAAE,kBAAkB;gBAC5B,QAAQ,EAAE,yBAAyB;gBACnC,kBAAkB,EAAE,yBAAyB;IA+DzD;;;;OAIG;IACH,IAAI,UAAU,IAAI,eAAe,CAEhC;IAID;;;OAGG;IACH,QAAQ,IAAI,WAAW,EAAE;IAIzB;;OAEG;IACH,QAAQ,IAAI,MAAM;IAIlB;;OAEG;IACH,OAAO,IAAI,OAAO;IAIlB;;;OAGG;IACH,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAI7C;;;OAGG;IACH,QAAQ,IAAI,WAAW,GAAG,SAAS;IAInC;;;OAGG;IACH,OAAO,IAAI,WAAW,GAAG,SAAS;IAOlC;;OAEG;IACH,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IASxD;;OAEG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAIjD;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS;IAStD;;;;;;OAMG;IACH,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAW3D;;;;;OAKG;IACH,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,EAAE;IAWpD;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,GAAG,WAAW;IAK9D;;OAEG;IACH,OAAO,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,GAAG,WAAW,EAAE;IAMjE;;OAEG;IACH,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAInE;;OAEG;IACH,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC,GAAG,CAAC,EAAE;IAI9D;;OAEG;IACH,CAAC,MAAM,CAAC,QAAQ,CAAC;IAMjB;;OAEG;IACH,gBAAgB,IAAI,WAAW,EAAE;IAIjC;;OAEG;IACH,aAAa,IAAI,WAAW,EAAE;IAI9B;;OAEG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,CAAC;IAYjD;;OAEG;IACH,eAAe;;;;IAef;;OAEG;IACH,YAAY,IAAI,OAAO;IAIvB;;OAEG;IACH,mBAAmB,IAAI,WAAW,EAAE;IAYpC;;;;;;;;;;OAUG;IACH,cAAc,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,cAAc;IAWjE;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,mBAAmB,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,aAAa,EAAE;IAKvE;;;;OAIG;IACH,aAAa;;;;;;;IAMb;;OAEG;IACH,QAAQ;;;;;;;IAYR;;OAEG;IACH,OAAO,IAAI,eAAe,EAAE;IAI5B;;OAEG;IACH,MAAM,IAAI,eAAe,EAAE;IAI3B;;OAEG;IACH,QAAQ,IAAI,MAAM;IAMlB;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,eAAe,CAAC,QAAQ,EAAE,kBAAkB,GAAG,WAAW;IACjE;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,eAAe,CAAC,QAAQ,EAAE,yBAAyB,GAAG,WAAW;IAKxE;;;;;;OAMG;IACH,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,kBAAkB,GAAG,yBAAyB,GAAG,WAAW;IAIzF;;;;;OAKG;IACH,MAAM,CAAC,KAAK,IAAI,WAAW;CAG5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",