@lovrabet/dsparser 1.3.9-beta.0 → 1.3.10
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_0x1469c4=a0_0x3ac1;(function(_0x5041ca,_0xe98ddf){const _0x221fc8=a0_0x3ac1,_0x41a38d=_0x5041ca();while(!![]){try{const _0x3ac054=-parseInt(_0x221fc8(0xae))/0x1+-parseInt(_0x221fc8(0x242))/0x2+parseInt(_0x221fc8(0x1db))/0x3+parseInt(_0x221fc8(0x249))/0x4+-parseInt(_0x221fc8(0x2fc))/0x5+parseInt(_0x221fc8(0x17e))/0x6*(parseInt(_0x221fc8(0xdd))/0x7)+-parseInt(_0x221fc8(0x6b))/0x8*(parseInt(_0x221fc8(0x1e2))/0x9);if(_0x3ac054===_0xe98ddf)break;else _0x41a38d['push'](_0x41a38d['shift']());}catch(_0x509191){_0x41a38d['push'](_0x41a38d['shift']());}}}(a0_0x1d31,0x3d250));function toCamelCase(_0x599318){const _0x349d18=a0_0x3ac1;if(!_0x599318)return'';return _0x599318[_0x349d18(0x120)](/[_-]/)[_0x349d18(0x2ee)]((_0x1af55a,_0x4754f9)=>{const _0x404c2c=_0x349d18;if(_0x4754f9===0x0)return _0x1af55a[_0x404c2c(0x137)]();return _0x1af55a[_0x404c2c(0x6c)](0x0)[_0x404c2c(0x141)]()+_0x1af55a[_0x404c2c(0xe6)](0x1)[_0x404c2c(0x137)]();})['join']('');}function toPascalCase(_0x491691){const _0x155bf7=a0_0x3ac1;if(!_0x491691)return'';const _0x446efc=toCamelCase(_0x491691);return _0x446efc[_0x155bf7(0x6c)](0x0)[_0x155bf7(0x141)]()+_0x446efc[_0x155bf7(0xe6)](0x1);}function toSnakeCase(_0x3756ca){const _0x1932f5=a0_0x3ac1;if(!_0x3756ca)return'';return _0x3756ca[_0x1932f5(0x10a)](/([A-Z])/g,'_$1')['toLowerCase']()[_0x1932f5(0x10a)](/^_/,'');}function toKebabCase(_0xe73a98){const _0x4cb1fe=a0_0x3ac1;if(!_0xe73a98)return'';return _0xe73a98[_0x4cb1fe(0x10a)](/([A-Z])/g,_0x4cb1fe(0x1be))[_0x4cb1fe(0x137)]()['replace'](/^-/,'');}function normalizeFieldName(_0x253984){const _0x4e65ae=a0_0x3ac1;if(!_0x253984)return'';return _0x253984[_0x4e65ae(0x15f)]()['replace'](/\s+/g,'_')[_0x4e65ae(0x10a)](/[^a-zA-Z0-9_]/g,'_')[_0x4e65ae(0x10a)](/_+/g,'_')['replace'](/^_|_$/g,'');}function getTableName(_0x58eb37){const _0x350fc4=a0_0x3ac1;if(!_0x58eb37)return _0x350fc4(0x126);if(_0x58eb37['dbtableConfig']?.[_0x350fc4(0x139)])return _0x58eb37[_0x350fc4(0x10e)][_0x350fc4(0x139)];const _0x19eca8=_0x58eb37[_0x350fc4(0x173)]||_0x58eb37[_0x350fc4(0x167)]||_0x58eb37[_0x350fc4(0x118)];if(_0x19eca8)return generateTableNameFromCode(_0x19eca8);return _0x350fc4(0x126);}function getTableKey(_0x40e197){if(typeof _0x40e197==='string')return toCamelCase(_0x40e197);const _0x3aeafb=getTableName(_0x40e197);return toCamelCase(_0x3aeafb);}function generateTableNameFromCode(_0x4af3bb){const _0x36ce91=a0_0x3ac1;if(!_0x4af3bb)return'dataset_000000';const _0x442706=_0x4af3bb[_0x36ce91(0xe6)](-0x6)[_0x36ce91(0x1ee)](0x6,'0');return _0x36ce91(0x280)+_0x442706;}function isVirtualTableName(_0x4c79c5){const _0x2bc610=a0_0x3ac1;return/^dataset_[a-zA-Z0-9]{6}$/[_0x2bc610(0x216)](_0x4c79c5);}function generateModelKeyFromCode(_0x322e5e){const _0x1e1a57=a0_0x3ac1;if(!_0x322e5e)return _0x1e1a57(0x2ec);return'dataset_'+_0x322e5e;}function a0_0x3ac1(_0x1ba28f,_0x266e64){_0x1ba28f=_0x1ba28f-0x64;const _0x1d31c0=a0_0x1d31();let _0x3ac11b=_0x1d31c0[_0x1ba28f];return _0x3ac11b;}function getDbName(_0x2bf9ec){const _0x248eec=a0_0x3ac1;return _0x2bf9ec['dbtableConfig']?.[_0x248eec(0x26f)]||_0x2bf9ec[_0x248eec(0x10e)]?.[_0x248eec(0x136)]?.['dbName']||'';}function generateDatasetsConfig(_0x3b820a,_0x65ae9a={}){const _0x57c5fa=a0_0x3ac1,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x4e4e42,filter:_0xe6d35c}=_0x65ae9a,_0x2bd1f9=_0xe6d35c?_0x3b820a[_0x57c5fa(0x22f)](_0xe6d35c):_0x3b820a,_0x5b4a67=new Map();for(const _0x2b1fee of _0x2bd1f9){const _0x144538=getTableName(_0x2b1fee),_0x244726=getDbName(_0x2b1fee);!_0x5b4a67[_0x57c5fa(0x95)](_0x144538)&&_0x5b4a67[_0x57c5fa(0x23f)](_0x144538,new Set()),_0x5b4a67[_0x57c5fa(0x127)](_0x144538)[_0x57c5fa(0x325)](_0x244726);}const _0x3d2183=new Set();for(const [_0x47470e,_0xfffc8f]of _0x5b4a67){_0xfffc8f[_0x57c5fa(0x112)]>0x1&&_0x3d2183[_0x57c5fa(0x325)](_0x47470e);}const _0x14d09={},_0x4c2edb=new Set();for(const _0x408b91 of _0x2bd1f9){const _0x4df721=getTableName(_0x408b91);if(enableDeduplication&&_0x4c2edb[_0x57c5fa(0x95)](_0x4df721)){console[_0x57c5fa(0x1dc)](_0x57c5fa(0x106)+_0x4df721+'\x22,数据集:\x20'+_0x408b91[_0x57c5fa(0x227)]+'\x20('+_0x408b91[_0x57c5fa(0x173)]+')');continue;}_0x4c2edb[_0x57c5fa(0x325)](_0x4df721);const _0x26129f=_0x4e4e42?_0x4e4e42(_0x4df721,_0x408b91):getTableKey(_0x4df721),_0x5ad93a=getDbName(_0x408b91),_0xa27e9a=_0x3d2183[_0x57c5fa(0x95)](_0x4df721)&&_0x5ad93a?getTableKey(_0x5ad93a)+'_'+_0x26129f:_0x26129f;_0x14d09[_0x26129f]={'key':_0x26129f,'alias':_0xa27e9a,'tableName':_0x4df721,'datasetCode':_0x408b91[_0x57c5fa(0x173)],'name':_0x408b91[_0x57c5fa(0x227)],'id':_0x408b91['id'],'dbName':_0x5ad93a};}return _0x14d09;}function generateFullDatasetsConfig(_0x4c278b,_0x29f4c2={}){const _0x4cc025=a0_0x3ac1,{filter:_0x4ca037,datasetNameGenerator:_0x23befa}=_0x29f4c2,_0x2532fb=_0x4ca037?_0x4c278b['filter'](_0x4ca037):_0x4c278b,_0xc4a737=new Map();for(const _0x44c604 of _0x2532fb){const _0x274d50=getTableName(_0x44c604),_0x1e36f1=getDbName(_0x44c604);!_0xc4a737[_0x4cc025(0x95)](_0x274d50)&&_0xc4a737[_0x4cc025(0x23f)](_0x274d50,new Set()),_0xc4a737['get'](_0x274d50)[_0x4cc025(0x325)](_0x1e36f1);}const _0x28ba56=new Set();for(const [_0x2e3555,_0x3e3888]of _0xc4a737){_0x3e3888[_0x4cc025(0x112)]>0x1&&_0x28ba56['add'](_0x2e3555);}const _0x586831=groupByTableName(_0x2532fb),_0x260e4a={};for(const [_0x53846,_0x49d913]of Object[_0x4cc025(0x30d)](_0x586831)){if(_0x49d913[_0x4cc025(0xa7)]===0x1){const _0x512288=_0x49d913[0x0],_0x4c4969=_0x23befa?_0x23befa(_0x53846,_0x512288):getTableKey(_0x53846),_0x15eb8d=getDbName(_0x512288),_0x4ac745=_0x28ba56[_0x4cc025(0x95)](_0x53846)&&_0x15eb8d?getTableKey(_0x15eb8d)+'_'+_0x4c4969:_0x4c4969;_0x260e4a[_0x4c4969]={'key':_0x4c4969,'alias':_0x4ac745,'tableName':_0x53846,'datasetCode':_0x512288[_0x4cc025(0x173)],'name':_0x512288[_0x4cc025(0x227)],'id':_0x512288['id'],'dbName':_0x15eb8d};}else{const _0x3e8b97=[..._0x49d913][_0x4cc025(0x2b1)]((_0x31560d,_0x375d54)=>{const _0x3a323e=Number(_0x31560d['id'])||0x0,_0x5533e9=Number(_0x375d54['id'])||0x0;return _0x5533e9-_0x3a323e;});_0x3e8b97['forEach']((_0x92619d,_0x46dd68)=>{const _0xa8f455=_0x4cc025,_0x5544ee=_0x23befa?_0x23befa(_0x53846,_0x92619d):getTableKey(_0x53846),_0x184259=_0x46dd68===0x0?_0x5544ee:_0x5544ee+'_'+_0x46dd68,_0x39a74a=getDbName(_0x92619d),_0x121f63=_0x28ba56[_0xa8f455(0x95)](_0x53846)&&_0x39a74a?getTableKey(_0x39a74a)+'_'+_0x184259:_0x184259;_0x260e4a[_0x184259]={'key':_0x184259,'alias':_0x121f63,'tableName':_0x53846,'datasetCode':_0x92619d[_0xa8f455(0x173)],'name':_0x92619d[_0xa8f455(0x227)],'id':_0x92619d['id'],'dbName':_0x39a74a};});}}return _0x260e4a;}function detectTableNameConflicts(_0x3f5b67){const _0x2a5f78=a0_0x3ac1,_0xfb0068={};for(const _0x2cd246 of _0x3f5b67){const _0x423cc5=getTableName(_0x2cd246);!_0xfb0068[_0x423cc5]&&(_0xfb0068[_0x423cc5]=[]),_0xfb0068[_0x423cc5][_0x2a5f78(0x241)](_0x2cd246);}const _0x376af5={};for(const [_0xa5d099,_0x312223]of Object[_0x2a5f78(0x30d)](_0xfb0068)){_0x312223[_0x2a5f78(0xa7)]>0x1&&(_0x376af5[_0xa5d099]=_0x312223);}return{'hasConflicts':Object['keys'](_0x376af5)['length']>0x0,'conflicts':_0x376af5};}function createDatasetNameMap(_0x22de07){const _0x49eebd=a0_0x3ac1,_0x1310eb={};for(const [_0x26faaf,_0x4b490e]of Object[_0x49eebd(0x30d)](_0x22de07)){_0x1310eb[_0x26faaf]=_0x4b490e['datasetCode']||'';}return _0x1310eb;}function groupByTableName(_0x2b15ce){const _0x25a88b={};for(const _0xe96067 of _0x2b15ce){const _0x4dd386=getTableName(_0xe96067);!_0x25a88b[_0x4dd386]&&(_0x25a88b[_0x4dd386]=[]),_0x25a88b[_0x4dd386]['push'](_0xe96067);}return _0x25a88b;}function datasetsConfigToArray(_0x3b99fe){const _0xb44d55=a0_0x3ac1;return Object[_0xb44d55(0xd6)](_0x3b99fe);}function adaptDrivenDataDetail(_0x4f0495){const _0x5b3948=a0_0x3ac1,_0x8bec38={};return _0x8bec38['id']=_0x4f0495[_0x5b3948(0x2d9)],_0x8bec38[_0x5b3948(0x227)]=_0x4f0495[_0x5b3948(0x227)],_0x8bec38[_0x5b3948(0x173)]=_0x4f0495[_0x5b3948(0x118)],_0x8bec38['dbtableConfig']=_0x4f0495['dbtableConfig'],_0x8bec38[_0x5b3948(0x293)]=_0x4f0495[_0x5b3948(0x293)],_0x8bec38[_0x5b3948(0x224)]=_0x4f0495[_0x5b3948(0x224)],_0x8bec38[_0x5b3948(0x6d)]=_0x4f0495[_0x5b3948(0x6d)],_0x8bec38[_0x5b3948(0x68)]=_0x4f0495[_0x5b3948(0x68)],_0x8bec38[_0x5b3948(0x1e5)]=_0x4f0495[_0x5b3948(0x1e5)],_0x8bec38;}function adaptDrivenDataDetails(_0x1550ee){return _0x1550ee['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x1186ac){const _0x4420ee=a0_0x3ac1;if(!_0x1186ac['success']||!_0x1186ac[_0x4420ee(0x253)])throw new Error(_0x4420ee(0x130)+(_0x1186ac[_0x4420ee(0x10f)]||_0x1186ac[_0x4420ee(0x2a9)]));return adaptDrivenDataDetail(_0x1186ac['data']);}function extractDatasetsFromListResponse(_0x33ee99){const _0x10aec7=a0_0x3ac1;if(!_0x33ee99[_0x10aec7(0xf3)]||!_0x33ee99[_0x10aec7(0x253)]?.[_0x10aec7(0x20b)])throw new Error(_0x10aec7(0x1fd)+(_0x33ee99[_0x10aec7(0x10f)]||_0x33ee99[_0x10aec7(0x2a9)]));return _0x33ee99[_0x10aec7(0x253)][_0x10aec7(0x20b)][_0x10aec7(0x2ee)](_0x1984c3=>({..._0x1984c3,'datasetCode':_0x1984c3[_0x10aec7(0x167)]||_0x1984c3[_0x10aec7(0x173)]}));}function isDrivenDataDetail(_0x23da21){const _0x35047a=a0_0x3ac1;return Boolean(_0x23da21&&typeof _0x23da21[_0x35047a(0x118)]==='string');}function smartAdapt(_0x3a2fa6){const _0x17e6d1=a0_0x3ac1;if(isDrivenDataDetail(_0x3a2fa6))return adaptDrivenDataDetail(_0x3a2fa6);if(_0x3a2fa6[_0x17e6d1(0x173)])return _0x3a2fa6;if(_0x3a2fa6[_0x17e6d1(0x167)]){const _0x2dd6cb={..._0x3a2fa6};return _0x2dd6cb[_0x17e6d1(0x173)]=_0x3a2fa6[_0x17e6d1(0x167)],_0x2dd6cb;}return _0x3a2fa6;}function cleanNewlines(_0x54233b){const _0x36fdd4=a0_0x3ac1;return _0x54233b[_0x36fdd4(0x10a)](/[\r\n]+/g,'\x20')[_0x36fdd4(0x15f)]();}function cleanDatasetName(_0x59a3ae){const _0x45df9=a0_0x3ac1;if(!_0x59a3ae[_0x45df9(0x227)])return _0x59a3ae;return{..._0x59a3ae,'name':cleanNewlines(_0x59a3ae[_0x45df9(0x227)])};}function cleanDatasetNames(_0x164bcb){const _0x4b430a=a0_0x3ac1;return _0x164bcb[_0x4b430a(0x2ee)](cleanDatasetName);}var DatasetOperationType;(_0x2559a7=>{const _0x3e958a=a0_0x3ac1;_0x2559a7[_0x3e958a(0x219)]=_0x3e958a(0x283),_0x2559a7['GET_ONE']=_0x3e958a(0xa5),_0x2559a7[_0x3e958a(0x119)]=_0x3e958a(0x207),_0x2559a7['GET_ONE_UPDATE']=_0x3e958a(0x304),_0x2559a7['CREATE']=_0x3e958a(0x277),_0x2559a7[_0x3e958a(0xd1)]='update',_0x2559a7[_0x3e958a(0xa6)]=_0x3e958a(0x2cc),_0x2559a7[_0x3e958a(0x1e9)]=_0x3e958a(0x1d6),_0x2559a7[_0x3e958a(0xc1)]=_0x3e958a(0x2eb),_0x2559a7[_0x3e958a(0x247)]='excelExport',_0x2559a7[_0x3e958a(0xe0)]=_0x3e958a(0x2c2),_0x2559a7[_0x3e958a(0x2bf)]=_0x3e958a(0x166),_0x2559a7[_0x3e958a(0x2d5)]=_0x3e958a(0xe8),_0x2559a7[_0x3e958a(0x98)]=_0x3e958a(0x214),_0x2559a7[_0x3e958a(0x2ca)]='importTemplate';})(DatasetOperationType||={});const a0_0x33cc0f={};a0_0x33cc0f[a0_0x1469c4(0x283)]='查询列表',a0_0x33cc0f[a0_0x1469c4(0xa5)]=a0_0x1469c4(0x239),a0_0x33cc0f[a0_0x1469c4(0x207)]='查询单条(原始)',a0_0x33cc0f['getOneUpdate']=a0_0x1469c4(0x132),a0_0x33cc0f[a0_0x1469c4(0x277)]='创建',a0_0x33cc0f[a0_0x1469c4(0x142)]='更新',a0_0x33cc0f[a0_0x1469c4(0x2cc)]='删除',a0_0x33cc0f['getSelectOptions']=a0_0x1469c4(0xe3),a0_0x33cc0f[a0_0x1469c4(0x2eb)]=a0_0x1469c4(0x311),a0_0x33cc0f[a0_0x1469c4(0x271)]='Excel导出',a0_0x33cc0f[a0_0x1469c4(0x2c2)]=a0_0x1469c4(0x1a5),a0_0x33cc0f[a0_0x1469c4(0x166)]=a0_0x1469c4(0x2fd),a0_0x33cc0f[a0_0x1469c4(0xe8)]=a0_0x1469c4(0x1b7),a0_0x33cc0f['taskInfo']='任务信息',a0_0x33cc0f[a0_0x1469c4(0x221)]='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0x33cc0f,API_BLACKLIST=['getList','getOneOrigin','getOneUpdate',a0_0x1469c4(0x2eb)];function parseFieldExtend(_0x4b2129){const _0x28f5a3=a0_0x1469c4;if(!_0x4b2129||typeof _0x4b2129!==_0x28f5a3(0x1c7))return!![]&&console[_0x28f5a3(0x1dc)](_0x28f5a3(0x29c),_0x4b2129),{};if(!_0x4b2129[_0x28f5a3(0x6d)])return{};try{const _0x21a14a=typeof _0x4b2129[_0x28f5a3(0x6d)]==='string'?JSON[_0x28f5a3(0x123)](_0x4b2129['extend']):_0x4b2129[_0x28f5a3(0x6d)];if(typeof _0x21a14a!==_0x28f5a3(0x1c7)||_0x21a14a===null)return{};return _0x21a14a;}catch{return{};}}function isPrimaryKeyField(_0x36e7f6,_0x509968){const _0x6faf94=a0_0x1469c4;if(!_0x36e7f6||typeof _0x36e7f6!==_0x6faf94(0x1c7))return![];if(typeof _0x509968===_0x6faf94(0xf4)&&_0x36e7f6['code']===_0x509968)return!![];const _0x4f89e0=parseFieldExtend(_0x36e7f6);return Boolean(_0x4f89e0[_0x6faf94(0x17b)]||_0x4f89e0['pkField']);}function isSystemField(_0x50102c){const _0x15f995=parseFieldExtend(_0x50102c);return Boolean(_0x15f995['systemRetain']);}function isRequiredField(_0x240ebc){const _0x1cd9f9=a0_0x1469c4,_0x5423c7=parseFieldExtend(_0x240ebc);return Boolean(_0x5423c7[_0x1cd9f9(0x16b)]);}function isAutoIncrementField(_0x170458){const _0xfaf01d=parseFieldExtend(_0x170458);return Boolean(_0xfaf01d['autoIncrement']);}function isCreateTimeField(_0x494f69){const _0x5e83fb=parseFieldExtend(_0x494f69);return Boolean(_0x5e83fb['createDate']);}function isModifyTimeField(_0x5e1a10){const _0x4d0133=a0_0x1469c4,_0x4aa841=parseFieldExtend(_0x5e1a10);return Boolean(_0x4aa841[_0x4d0133(0x2ab)]);}const a0_0x2f99c7={};a0_0x2f99c7['NUMBER']='数字',a0_0x2f99c7[a0_0x1469c4(0x16e)]='文本',a0_0x2f99c7['TEXTAREA']='长文本',a0_0x2f99c7[a0_0x1469c4(0x2e4)]='日期',a0_0x2f99c7['DATETIME']=a0_0x1469c4(0x2e5),a0_0x2f99c7[a0_0x1469c4(0x163)]=a0_0x1469c4(0x30a),a0_0x2f99c7[a0_0x1469c4(0x133)]=a0_0x1469c4(0x110),a0_0x2f99c7['CHECKBOX']='多选',a0_0x2f99c7[a0_0x1469c4(0x2ba)]='单选',a0_0x2f99c7[a0_0x1469c4(0x274)]='开关',a0_0x2f99c7['UPLOAD']=a0_0x1469c4(0x285),a0_0x2f99c7[a0_0x1469c4(0x231)]='图片',a0_0x2f99c7[a0_0x1469c4(0x2c7)]=a0_0x1469c4(0xb3),a0_0x2f99c7['JSON']=a0_0x1469c4(0xf5),a0_0x2f99c7[a0_0x1469c4(0x269)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x2f99c7;function getDbTypeDisplay(_0x716720){const _0x48facd=a0_0x1469c4;if(typeof _0x716720!==_0x48facd(0xf4))return!![]&&console['warn'](_0x48facd(0x1a9),_0x716720),String(_0x716720||'-');return DB_TYPE_DISPLAY_MAP[_0x716720]||_0x716720;}function formatDbType(_0x59c2c7,_0x2d60b0){const _0x4d1649=a0_0x1469c4;if(!_0x59c2c7||typeof _0x59c2c7!==_0x4d1649(0xf4))return'-';if(!_0x2d60b0||typeof _0x2d60b0!==_0x4d1649(0x2aa))return _0x59c2c7;const _0x152b08=[_0x4d1649(0x16e),_0x4d1649(0x1c3),'TIMESTAMP',_0x4d1649(0x2e4)];if(_0x152b08['includes'](_0x59c2c7[_0x4d1649(0x141)]()))return _0x59c2c7;return _0x59c2c7+'('+_0x2d60b0+')';}function parseOperationType(_0x557474){const _0x48db49=a0_0x1469c4;if(typeof _0x557474!=='string'){!![]&&console[_0x48db49(0x1dc)](_0x48db49(0x121),_0x557474);return;}if(Object['values'](DatasetOperationType)[_0x48db49(0x1e4)](_0x557474))return _0x557474;const _0xb67c43=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)[_0x48db49(0x257)](([_0x9d08e,_0xf3f716])=>_0xf3f716===_0x557474);return _0xb67c43?_0xb67c43[0x0]:undefined;}function shouldIncludeField(_0x1868bf,_0x157d4e,_0x33a32f){const _0x59fa73=a0_0x1469c4,_0x1508f6=parseFieldExtend(_0x1868bf),_0xc0181e=isPrimaryKeyField(_0x1868bf,_0x33a32f),_0x46498d=Boolean(_0x1508f6[_0x59fa73(0xfc)]),_0x237068=Boolean(_0x1508f6[_0x59fa73(0x24a)]),_0x2ccaa7=Boolean(_0x1508f6[_0x59fa73(0x2d3)]),_0x2c4c80=Boolean(_0x1508f6[_0x59fa73(0x2ab)]);switch(_0x157d4e){case'getList':return!![];case _0x59fa73(0xa5):case _0x59fa73(0x207):case'delete':return _0xc0181e;case _0x59fa73(0x277):if(_0xc0181e&&_0x237068)return![];if(_0x46498d)return![];if(_0x2ccaa7||_0x2c4c80)return![];return!![];case _0x59fa73(0x142):case _0x59fa73(0x304):if(_0xc0181e)return!![];if(_0x46498d)return![];if(_0x2ccaa7||_0x2c4c80)return![];return!![];case _0x59fa73(0x1d6):return _0x1868bf[_0x59fa73(0x167)]===_0x59fa73(0x167);default:return!![];}}function getFieldsForOperation(_0x10d964,_0x4bc5fc,_0x4fd5a5){const _0x562636=a0_0x1469c4;if(!Array[_0x562636(0xea)](_0x10d964))return!![]&&console['warn'](_0x562636(0x298),_0x10d964),[];return _0x10d964[_0x562636(0x22f)](_0x3e4596=>shouldIncludeField(_0x3e4596,_0x4bc5fc,_0x4fd5a5));}function isApiBlacklisted(_0x42c73e){const _0x13717c=a0_0x1469c4;if(typeof _0x42c73e!==_0x13717c(0xf4))return!![]&&console['warn']('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0x42c73e),![];return API_BLACKLIST[_0x13717c(0x1e4)](_0x42c73e);}function filterApiOperations(_0x2299d2){const _0x360f92=a0_0x1469c4;if(!Array[_0x360f92(0xea)](_0x2299d2))return!![]&&console[_0x360f92(0x1dc)](_0x360f92(0x2ea),_0x2299d2),[];return _0x2299d2[_0x360f92(0x22f)](_0x370f0c=>_0x370f0c&&typeof _0x370f0c===_0x360f92(0x1c7)&&!isApiBlacklisted(_0x370f0c[_0x360f92(0x227)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x1469c4(0x6e)](),'DATE':()=>Date[a0_0x1469c4(0x6e)](),'SELECT':({fieldInfo:_0x378434})=>{const _0x1bec45=a0_0x1469c4;if(_0x378434?.[_0x1bec45(0x2bc)]&&Array[_0x1bec45(0xea)](_0x378434[_0x1bec45(0x2bc)])&&_0x378434['options'][_0x1bec45(0xa7)]>0x0)return _0x378434['options'][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x299733})=>{if(_0x299733==='currentPage')return 0x1;if(_0x299733==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x5834bd})=>{const _0x4259fe=a0_0x1469c4;if(_0x5834bd&&typeof _0x5834bd==='string'){const _0x4e00fc=_0x5834bd[_0x4259fe(0x137)]();if(_0x4e00fc['includes']('邮箱')||_0x4e00fc[_0x4259fe(0x1e4)](_0x4259fe(0x124)))return _0x4259fe(0x17f);if(_0x4e00fc[_0x4259fe(0x1e4)]('电话')||_0x4e00fc[_0x4259fe(0x1e4)]('手机')||_0x4e00fc['includes'](_0x4259fe(0x14a)))return _0x4259fe(0x1c6);if(_0x4e00fc[_0x4259fe(0x1e4)]('地址')||_0x4e00fc[_0x4259fe(0x1e4)](_0x4259fe(0x1f2)))return'北京市朝阳区';if(_0x4e00fc[_0x4259fe(0x1e4)]('姓名')||_0x4e00fc[_0x4259fe(0x1e4)](_0x4259fe(0x227)))return'张三';}return _0x4259fe(0xbe);},'VARCHAR':({description:_0x43409d})=>TYPE_VALUE_GENERATORS[a0_0x1469c4(0x16e)]({'description':_0x43409d}),'CHAR':({description:_0x26df30})=>TYPE_VALUE_GENERATORS[a0_0x1469c4(0x16e)]({'description':_0x26df30}),'STRING':({fieldInfo:_0x266438,description:_0x5cc459})=>{const _0x24fdbf=a0_0x1469c4;if(_0x266438?.[_0x24fdbf(0x1a3)]&&typeof _0x266438[_0x24fdbf(0x1a3)]==='string'&&_0x266438[_0x24fdbf(0x1a3)]!==_0x24fdbf(0xf1))return _0x266438['placeholder'][_0x24fdbf(0x10a)](/^请输入|^请选择/,'');const _0x22d94d={};return _0x22d94d[_0x24fdbf(0x276)]=_0x5cc459,TYPE_VALUE_GENERATORS[_0x24fdbf(0x16e)](_0x22d94d);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x1469c4(0x320),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x1469c4(0x115)}),'ARRAY':()=>[a0_0x1469c4(0xd4),a0_0x1469c4(0x25a)],'UPLOAD':()=>a0_0x1469c4(0x2fa),'IMAGE':()=>a0_0x1469c4(0x2c1),'RICH_TEXT':()=>a0_0x1469c4(0x2c5)};function generateExampleValue(_0x485f91,_0x1c5ee9,_0x9a2030,_0x405584={}){const _0x19f465=a0_0x1469c4;typeof _0x485f91!==_0x19f465(0xf4)&&(!![]&&console[_0x19f465(0x1dc)](_0x19f465(0x245),_0x485f91),_0x485f91=String(_0x485f91||''));if(typeof _0x1c5ee9!=='string')return!![]&&console[_0x19f465(0x1dc)](_0x19f465(0x260),_0x1c5ee9),_0x19f465(0x2b7);const {isPrimaryKey:_0x505b7a,dbtableConfig:_0x1df3bb}=_0x405584;if(_0x505b7a)return 0x1;if(_0x1df3bb&&typeof _0x1df3bb==='object'){const _0x37a934=_0x1df3bb[_0x19f465(0x25e)]?.[_0x19f465(0x162)]===_0x485f91,_0x48fe59=_0x1df3bb['updateTimeField']?.[_0x19f465(0x162)]===_0x485f91;if(_0x37a934||_0x48fe59){if(_0x9a2030&&typeof _0x9a2030===_0x19f465(0xf4)&&_0x9a2030[_0x19f465(0x141)]()['includes'](_0x19f465(0x163)))return Date[_0x19f465(0x6e)]();return new Date()[_0x19f465(0x71)]()[_0x19f465(0x10a)]('T','\x20')[_0x19f465(0x120)]('.')[0x0];}}const _0x20b4e8={..._0x405584};_0x20b4e8[_0x19f465(0x8c)]=_0x485f91;const _0x6a3918=_0x20b4e8;if(_0x9a2030&&typeof _0x9a2030===_0x19f465(0xf4)){const _0x1c2ac7=_0x9a2030[_0x19f465(0x141)](),_0x3fefe4=TYPE_VALUE_GENERATORS[_0x1c2ac7];if(_0x3fefe4)return _0x3fefe4(_0x6a3918);}if(_0x1c5ee9&&typeof _0x1c5ee9===_0x19f465(0xf4)){const _0x4d567f=_0x1c5ee9[_0x19f465(0x141)](),_0x439bcb=TYPE_VALUE_GENERATORS[_0x4d567f];if(_0x439bcb)return _0x439bcb(_0x6a3918);}return _0x19f465(0x2b7);}function generateExampleFromSchema(_0x589dea,_0x3df2b2){const _0x427a61=a0_0x1469c4;if(!_0x589dea||typeof _0x589dea!==_0x427a61(0x1c7))return{};if(Array[_0x427a61(0xea)](_0x589dea)){if(_0x589dea[_0x427a61(0xa7)]>0x0)return[generateExampleFromSchema(_0x589dea[0x0],_0x3df2b2)];return[];}const _0x4c7ba4={};return Object[_0x427a61(0x9e)](_0x589dea)[_0x427a61(0x244)](_0x564852=>{const _0x1a8746=_0x427a61,_0x5103a6=_0x589dea[_0x564852];if(_0x5103a6&&typeof _0x5103a6===_0x1a8746(0x1c7)&&!Array[_0x1a8746(0xea)](_0x5103a6)&&_0x5103a6['type']){const _0x363640=_0x5103a6,_0x46d4c0=_0x363640[_0x1a8746(0x272)],_0x4367a6=_0x363640['description'];if(typeof _0x46d4c0==='string'){const _0x1ae7c3={};_0x1ae7c3[_0x1a8746(0x276)]=_0x4367a6,_0x1ae7c3[_0x1a8746(0x10e)]=_0x3df2b2,_0x4c7ba4[_0x564852]=generateExampleValue(_0x564852,_0x46d4c0,undefined,_0x1ae7c3);}else _0x4c7ba4[_0x564852]='示例值';}else{if(Array['isArray'](_0x5103a6))_0x4c7ba4[_0x564852]=_0x5103a6[_0x1a8746(0xa7)]>0x0?[generateExampleFromSchema(_0x5103a6[0x0],_0x3df2b2)]:[];else _0x5103a6&&typeof _0x5103a6===_0x1a8746(0x1c7)?_0x4c7ba4[_0x564852]=generateExampleFromSchema(_0x5103a6,_0x3df2b2):_0x4c7ba4[_0x564852]=_0x5103a6;}}),_0x4c7ba4;}function parseRequestBody(_0x424e50){const _0x5ee480=a0_0x1469c4;if(!_0x424e50)return{};try{return JSON[_0x5ee480(0x123)](_0x424e50);}catch(_0x376768){return!![]&&console[_0x5ee480(0x1dc)](_0x5ee480(0xc2),_0x376768),{};}}function parseResponseBody(_0x28b1f5){const _0x30db43=a0_0x1469c4;if(!_0x28b1f5)return null;try{const _0xfbba4f=JSON[_0x30db43(0x123)](_0x28b1f5);return _0xfbba4f[_0x30db43(0x2cd)]||_0xfbba4f;}catch(_0x1b89bd){return!![]&&console[_0x30db43(0x1dc)](_0x30db43(0x291),_0x1b89bd),null;}}function generateRequestExample(_0x5dee88,_0x4e4247,_0x4b6a22,_0x9b23bf){const _0x1967ee=a0_0x1469c4,_0x12ddc8={};if(!Array[_0x1967ee(0xea)](_0x5dee88))return!![]&&console[_0x1967ee(0x1dc)](_0x1967ee(0x15a),_0x5dee88),_0x12ddc8;return _0x5dee88['forEach'](_0x38adfa=>{const _0x35b20d=_0x1967ee;if(!_0x38adfa||typeof _0x38adfa!=='object'){!![]&&console[_0x35b20d(0x1dc)](_0x35b20d(0x27b),_0x38adfa);return;}if(typeof _0x38adfa['code']!=='string'||typeof _0x38adfa[_0x35b20d(0x272)]!=='string'){!![]&&console[_0x35b20d(0x1dc)](_0x35b20d(0xbb),_0x38adfa);return;}const _0x18b1e8=parseFieldExtend(_0x38adfa),_0x493c55=_0x38adfa['code']===_0x4b6a22||Boolean(_0x18b1e8?.['primaryKey']),_0x1c9e71=generateExampleValue(_0x38adfa[_0x35b20d(0x167)],_0x38adfa['type'],typeof _0x38adfa[_0x35b20d(0xb6)]==='string'?_0x38adfa[_0x35b20d(0xb6)]:undefined,{'fieldInfo':_0x18b1e8,'isPrimaryKey':_0x493c55,'description':_0x38adfa[_0x35b20d(0x276)]||_0x38adfa[_0x35b20d(0x227)],'dbtableConfig':_0x9b23bf});_0x12ddc8[_0x38adfa['code']]=_0x1c9e71;}),_0x4e4247===_0x1967ee(0x283)&&(_0x12ddc8[_0x1967ee(0x88)]=0x1,_0x12ddc8[_0x1967ee(0x258)]=0xa),_0x12ddc8;}function formatEnumValue(_0x466569,_0x514df7){const _0x5b8c28=a0_0x1469c4;if(_0x466569[_0x5b8c28(0x1a4)]&&Array[_0x5b8c28(0xea)](_0x514df7))return _0x514df7[_0x5b8c28(0x2ee)](_0x5dc5bc=>_0x466569[_0x5b8c28(0xb7)][String(_0x5dc5bc)]||String(_0x5dc5bc))['join'](',\x20');return _0x466569[_0x5b8c28(0xb7)][String(_0x514df7)]||String(_0x514df7);}function formatOptionsForDoc(_0x2b3082){const _0x5da8eb=a0_0x1469c4;return _0x2b3082[_0x5da8eb(0x2ee)](_0x2f872b=>_0x2f872b[_0x5da8eb(0x115)]+'('+_0x2f872b[_0x5da8eb(0x308)]+')')[_0x5da8eb(0x1a1)](',\x20');}function formatOptionsAsMarkdownList(_0x4cb4e,_0x266517=0x0){const _0x52af40=a0_0x1469c4,_0x3be2dc='\x20\x20'[_0x52af40(0x14d)](_0x266517),_0x13adfc=[];return _0x4cb4e[_0x52af40(0x244)](_0x573044=>{const _0x231cb0=_0x52af40;_0x13adfc[_0x231cb0(0x241)](_0x3be2dc+_0x231cb0(0x7a)+_0x573044['value']+_0x231cb0(0x16c)+_0x573044[_0x231cb0(0x308)]),_0x573044[_0x231cb0(0x21d)]&&_0x573044[_0x231cb0(0x21d)]['length']>0x0&&_0x13adfc[_0x231cb0(0x241)](formatOptionsAsMarkdownList(_0x573044[_0x231cb0(0x21d)],_0x266517+0x1));}),_0x13adfc['join']('\x0a');}class DbtableConfig{[a0_0x1469c4(0x164)];constructor(_0x5e9055){const _0x1fd020={..._0x5e9055};this['_raw']=_0x1fd020;}get[a0_0x1469c4(0x1bd)](){const _0x428500=a0_0x1469c4;return this[_0x428500(0x164)][_0x428500(0x1bd)];}get[a0_0x1469c4(0x26f)](){const _0x4af85f=a0_0x1469c4;return this[_0x4af85f(0x164)][_0x4af85f(0x26f)]??this['_raw']['dblinkInfoDTO']?.[_0x4af85f(0x26f)];}get['tableName'](){const _0x548caa=a0_0x1469c4;return this[_0x548caa(0x164)][_0x548caa(0x139)];}get[a0_0x1469c4(0x1f8)](){const _0x274f18=a0_0x1469c4;return this[_0x274f18(0x164)][_0x274f18(0x1f8)];}get[a0_0x1469c4(0x240)](){const _0x3efc14=a0_0x1469c4;return this[_0x3efc14(0x164)][_0x3efc14(0x240)];}get['labelField'](){const _0x2e3ab4=a0_0x1469c4;return this[_0x2e3ab4(0x164)][_0x2e3ab4(0x21c)];}get[a0_0x1469c4(0x2e9)](){const _0x2f0eab=a0_0x1469c4;return this[_0x2f0eab(0x164)][_0x2f0eab(0x2e9)];}get[a0_0x1469c4(0x25e)](){const _0x1dde53=a0_0x1469c4;return this[_0x1dde53(0x164)][_0x1dde53(0x25e)];}get[a0_0x1469c4(0x2f2)](){const _0x1a8bfa=a0_0x1469c4;return this[_0x1a8bfa(0x164)]['updateTimeField'];}get[a0_0x1469c4(0x160)](){const _0x1729dc=a0_0x1469c4;return this[_0x1729dc(0x164)][_0x1729dc(0x160)];}get[a0_0x1469c4(0xe5)](){const _0x54874b=a0_0x1469c4;return this[_0x54874b(0x164)][_0x54874b(0xe5)];}get[a0_0x1469c4(0x2b3)](){const _0x1c9c97=a0_0x1469c4;return this[_0x1c9c97(0x164)][_0x1c9c97(0x2b3)];}get[a0_0x1469c4(0x7b)](){const _0x51e470=a0_0x1469c4;return this[_0x51e470(0x164)][_0x51e470(0x7b)];}get[a0_0x1469c4(0x136)](){const _0x1f2ba6=a0_0x1469c4;return this['_raw'][_0x1f2ba6(0x136)];}[a0_0x1469c4(0x1d1)](){const _0x13c6b0=a0_0x1469c4;if(!this['_raw'][_0x13c6b0(0x107)])return[];return this[_0x13c6b0(0x164)][_0x13c6b0(0x107)][_0x13c6b0(0x120)](',')[_0x13c6b0(0x2ee)](_0x54c083=>_0x54c083['trim']())[_0x13c6b0(0x22f)](Boolean);}[a0_0x1469c4(0x174)](){const _0x27d63b=a0_0x1469c4;return this[_0x27d63b(0x164)][_0x27d63b(0x107)];}[a0_0x1469c4(0x1c0)](_0x55158d){const _0x2da413=a0_0x1469c4;return this[_0x2da413(0x1d1)]()[_0x2da413(0x1e4)](_0x55158d);}[a0_0x1469c4(0x187)](){const _0x1ef629=a0_0x1469c4;return Boolean(this[_0x1ef629(0x164)][_0x1ef629(0x139)]);}[a0_0x1469c4(0x122)](){const _0xb92b22=a0_0x1469c4;return Boolean(this[_0xb92b22(0x164)][_0xb92b22(0x136)]);}[a0_0x1469c4(0x196)](){const _0x1b1d85=a0_0x1469c4;return Boolean(this[_0x1b1d85(0x164)]['logicField']?.[_0x1b1d85(0x162)]);}[a0_0x1469c4(0x64)](){const _0x7f95c7=a0_0x1469c4;return Boolean(this[_0x7f95c7(0x164)][_0x7f95c7(0x25e)]?.[_0x7f95c7(0x162)]);}[a0_0x1469c4(0x295)](){const _0x130bcf=a0_0x1469c4;return Boolean(this[_0x130bcf(0x164)][_0x130bcf(0x2f2)]?.['fieldName']);}[a0_0x1469c4(0x21f)](){const _0x2c2ab1=a0_0x1469c4;return Boolean(this['_raw']['creatorIdField']?.[_0x2c2ab1(0x162)]);}[a0_0x1469c4(0xb9)](){const _0x1c7f64=a0_0x1469c4;return Boolean(this[_0x1c7f64(0x164)][_0x1c7f64(0x2b3)]?.[_0x1c7f64(0x162)]);}['isPrimaryKeyField'](_0x32219d){const _0x3cebbc=a0_0x1469c4;return this[_0x3cebbc(0x164)]['pkField']===_0x32219d;}['isSystemField'](_0x3ab783){const _0xb489d9=a0_0x1469c4;return this[_0xb489d9(0x70)](_0x3ab783)||this[_0xb489d9(0x164)]['logicField']?.['fieldName']===_0x3ab783||this[_0xb489d9(0x164)][_0xb489d9(0x25e)]?.[_0xb489d9(0x162)]===_0x3ab783||this[_0xb489d9(0x164)][_0xb489d9(0x2f2)]?.[_0xb489d9(0x162)]===_0x3ab783||this[_0xb489d9(0x164)][_0xb489d9(0x160)]?.[_0xb489d9(0x162)]===_0x3ab783||this['_raw']['creatorNameField']?.[_0xb489d9(0x162)]===_0x3ab783||this['_raw'][_0xb489d9(0x2b3)]?.[_0xb489d9(0x162)]===_0x3ab783||this[_0xb489d9(0x164)][_0xb489d9(0x7b)]?.[_0xb489d9(0x162)]===_0x3ab783;}['getDatabaseName'](){const _0x3e707e=a0_0x1469c4;return this[_0x3e707e(0x164)]['dblinkInfoDTO']?.[_0x3e707e(0x26f)];}[a0_0x1469c4(0x202)](){const _0x5dae2c=a0_0x1469c4;return this[_0x5dae2c(0x164)][_0x5dae2c(0x136)]?.[_0x5dae2c(0xb6)];}['getDatabaseVersion'](){const _0x10c371=a0_0x1469c4;return this['_raw'][_0x10c371(0x136)]?.[_0x10c371(0x149)];}[a0_0x1469c4(0x29a)](){const _0x3c9e25=a0_0x1469c4;return this[_0x3c9e25(0x164)][_0x3c9e25(0x136)]?.[_0x3c9e25(0x236)];}[a0_0x1469c4(0x2ef)](){const _0x3b1832=a0_0x1469c4;return this[_0x3b1832(0x164)][_0x3b1832(0x136)]?.['appCode'];}[a0_0x1469c4(0x297)](){const _0x22a7fa=a0_0x1469c4;return this[_0x22a7fa(0x164)][_0x22a7fa(0x136)]?.[_0x22a7fa(0x191)];}[a0_0x1469c4(0x278)](){const _0xd1ec21=a0_0x1469c4;return{'hasTableName':this[_0xd1ec21(0x187)](),'hasDblinkInfo':this[_0xd1ec21(0x122)](),'fieldCount':this[_0xd1ec21(0x1d1)]()[_0xd1ec21(0xa7)],'systemFields':{'hasLogicField':this[_0xd1ec21(0x196)](),'hasCreateTimeField':this[_0xd1ec21(0x64)](),'hasUpdateTimeField':this[_0xd1ec21(0x295)](),'hasCreatorIdField':this[_0xd1ec21(0x21f)](),'hasModifierIdField':this['hasModifierIdField']()}};}[a0_0x1469c4(0xed)](){const _0x5576c9=a0_0x1469c4,_0x57631c={};return _0x57631c[_0x5576c9(0x139)]=this[_0x5576c9(0x139)],_0x57631c[_0x5576c9(0x240)]=this[_0x5576c9(0x240)],_0x57631c[_0x5576c9(0x1f8)]=this['datasetKey'],_0x57631c[_0x5576c9(0x1bd)]=this[_0x5576c9(0x1bd)],_0x57631c;}[a0_0x1469c4(0x1c2)](){const _0x240f63=a0_0x1469c4,_0x28a7e7={...this[_0x240f63(0x164)]};return _0x28a7e7;}[a0_0x1469c4(0x2e8)](){const _0x299395={...this['_raw']};return _0x299395;}[a0_0x1469c4(0xe2)](){const _0x3babe8=a0_0x1469c4,_0x10173b=this[_0x3babe8(0x139)]||_0x3babe8(0x1dd),_0x20177d=this[_0x3babe8(0x1d1)]()[_0x3babe8(0xa7)];return _0x3babe8(0x74)+_0x10173b+',\x20fields:\x20'+_0x20177d+')';}static[a0_0x1469c4(0x1d2)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x1469c4(0x164)];constructor(_0xea34e7){const _0x3695cb=a0_0x1469c4,_0xb7f043=_0xea34e7[_0x3695cb(0x173)]||_0xea34e7[_0x3695cb(0x167)]||_0xea34e7[_0x3695cb(0x118)],_0x48143a={..._0xea34e7};_0x48143a[_0x3695cb(0x173)]=_0xb7f043,this[_0x3695cb(0x164)]=_0x48143a;}get['id'](){const _0x31a12e=a0_0x1469c4;return this[_0x31a12e(0x164)]['id'];}get[a0_0x1469c4(0x227)](){const _0x147bbe=a0_0x1469c4;return this['_raw'][_0x147bbe(0x227)];}[a0_0x1469c4(0x2bb)](){return this['name'];}get[a0_0x1469c4(0x173)](){const _0x4e9bbd=a0_0x1469c4;return this[_0x4e9bbd(0x164)][_0x4e9bbd(0x173)]||'';}get[a0_0x1469c4(0x10e)](){const _0x2478e7=a0_0x1469c4;if(!this[_0x2478e7(0x164)][_0x2478e7(0x10e)])return null;return new DbtableConfig(this[_0x2478e7(0x164)][_0x2478e7(0x10e)]);}[a0_0x1469c4(0x210)](){const _0x1fc89a=a0_0x1469c4;return this[_0x1fc89a(0x164)][_0x1fc89a(0x10e)];}[a0_0x1469c4(0x264)](){const _0x4136fd=a0_0x1469c4;return this[_0x4136fd(0x10e)]?.[_0x4136fd(0x26f)]||'';}[a0_0x1469c4(0x25b)](){const _0x27dfc9=a0_0x1469c4;return getTableName(this[_0x27dfc9(0x164)]);}[a0_0x1469c4(0x215)](){const _0x34dc55=a0_0x1469c4;return getTableKey(this[_0x34dc55(0x25b)]());}['getDatasetSDKKey'](){const _0x27543b=a0_0x1469c4;return generateModelKeyFromCode(this[_0x27543b(0x173)]);}[a0_0x1469c4(0x310)](){const _0x382b85=a0_0x1469c4;return isVirtualTableName(this[_0x382b85(0x25b)]());}[a0_0x1469c4(0x259)](){const _0x331548=a0_0x1469c4;return getTableKey(this[_0x331548(0x25b)]());}[a0_0x1469c4(0xed)](){const _0x84b22c=a0_0x1469c4,_0x2d949e=getTableKey(this['getTableName']());return{'key':_0x2d949e,'alias':_0x2d949e,'tableName':this[_0x84b22c(0x25b)](),'datasetCode':this['datasetCode'],'name':this['name']};}[a0_0x1469c4(0x1c2)](){const _0x497275=a0_0x1469c4,_0x4767db={...this[_0x497275(0x164)]};return _0x4767db[_0x497275(0x173)]=this[_0x497275(0x173)],_0x4767db;}['getRaw'](){const _0x3992bc=a0_0x1469c4,_0x47f52a={...this[_0x3992bc(0x164)]};return _0x47f52a;}['hasDbtableConfig'](){const _0x4e4302=this['dbtableConfig'];return _0x4e4302!==null&&_0x4e4302['hasTableName']();}['getExtendField'](_0x255f63){return this['_raw'][_0x255f63];}[a0_0x1469c4(0x12e)](_0x2dbad5){return _0x2dbad5 in this['_raw'];}[a0_0x1469c4(0xe2)](){const _0x42aad1=a0_0x1469c4;return _0x42aad1(0x289)+this[_0x42aad1(0x227)]+',\x20'+this[_0x42aad1(0x173)]+')';}}class Operation{[a0_0x1469c4(0x227)];[a0_0x1469c4(0x164)];[a0_0x1469c4(0x29b)];constructor(_0x4202f0,_0x57fdc7,_0x126787){const _0x2c1add=a0_0x1469c4;this['name']=_0x4202f0,this[_0x2c1add(0x164)]=_0x57fdc7,this[_0x2c1add(0x29b)]=_0x126787;}[a0_0x1469c4(0x2bb)](){const _0xf6fd49=a0_0x1469c4;return this[_0xf6fd49(0x227)];}['getDisplayName'](){const _0x4a4bf3=a0_0x1469c4;return OPERATION_TYPE_DISPLAY_NAME[this[_0x4a4bf3(0x227)]]||this[_0x4a4bf3(0x227)];}[a0_0x1469c4(0x2a0)](){const _0x209949=a0_0x1469c4;return parseOperationType(this[_0x209949(0x227)]);}[a0_0x1469c4(0xac)](){const _0x48d51e=a0_0x1469c4;return this[_0x48d51e(0x164)]!==null&&this[_0x48d51e(0x164)]!==![];}[a0_0x1469c4(0x2ff)](){const _0x14b59e=a0_0x1469c4,_0x541930=this[_0x14b59e(0x164)];if(_0x541930===![]||_0x541930===null)return'';return _0x541930['method']||_0x14b59e(0x1cc);}[a0_0x1469c4(0x1f3)](){const _0x102519=a0_0x1469c4,_0x400d18=this[_0x102519(0x164)];if(_0x400d18===![]||_0x400d18===null)return'';return _0x400d18[_0x102519(0x13b)]||'';}['getFullUrl'](){const _0x3582da=a0_0x1469c4,_0x5e545f=this['_raw'];let _0x1c8f24='';_0x5e545f!==![]&&_0x5e545f!==null&&_0x5e545f[_0x3582da(0x73)]&&(_0x1c8f24=_0x5e545f[_0x3582da(0x73)]);const _0x13f6d8=this['getPath']();return _0x1c8f24&&_0x13f6d8?''+_0x1c8f24+_0x13f6d8:_0x13f6d8;}['parseRawRequestBody'](){const _0x4e670b=a0_0x1469c4,_0x63e301=this[_0x4e670b(0x164)];if(_0x63e301===![]||_0x63e301===null||!_0x63e301[_0x4e670b(0x6a)])return{};try{return JSON[_0x4e670b(0x123)](_0x63e301['requestBody']);}catch{return{};}}[a0_0x1469c4(0xa2)](){const _0x34ffbf=a0_0x1469c4,_0x570698=this[_0x34ffbf(0x164)];if(_0x570698===![]||_0x570698===null||!_0x570698['responseBody'])return null;return parseResponseBody(_0x570698[_0x34ffbf(0x140)]);}['getRequestParams'](){const _0x3ad5ec=a0_0x1469c4;return this[_0x3ad5ec(0x27a)]();}[a0_0x1469c4(0xff)](){return this['parseRawResponseBody']();}[a0_0x1469c4(0x303)](){const _0x4c2d4b=a0_0x1469c4,_0x28fb92=this[_0x4c2d4b(0xad)]();return Object['keys'](_0x28fb92);}['generateRequestExample'](){const _0x514632=a0_0x1469c4,_0x525903=this[_0x514632(0xad)](),_0x499103={};return Object['entries'](_0x525903)[_0x514632(0x244)](([_0x24fff6,_0x36087f])=>{const _0x2480e3=_0x514632,_0x4682cb=_0x36087f;_0x499103[_0x24fff6]=generateExampleValue(_0x24fff6,_0x4682cb[_0x2480e3(0x272)]||_0x2480e3(0x28d),undefined,{'description':_0x4682cb[_0x2480e3(0x276)]});}),_0x499103;}['generateHTTPExample'](){const _0x3d21b2=a0_0x1469c4;return this[_0x3d21b2(0x229)]();}[a0_0x1469c4(0x1df)](){const _0x42f4c7=a0_0x1469c4,_0x344539=this[_0x42f4c7(0xa2)]();if(!_0x344539){const _0x1306f5={};return _0x1306f5['success']=!![],_0x1306f5[_0x42f4c7(0x2a9)]='操作成功',_0x1306f5['errorMsg']='',_0x1306f5[_0x42f4c7(0x76)]=_0x42f4c7(0x213),_0x1306f5[_0x42f4c7(0x253)]=null,_0x1306f5;}return this[_0x42f4c7(0x2b0)](_0x344539);}[a0_0x1469c4(0x2b0)](_0x108542){const _0x35d7e6=a0_0x1469c4;if(!_0x108542||typeof _0x108542!=='object')return{};if(Array['isArray'](_0x108542))return _0x108542[_0x35d7e6(0xa7)]>0x0?[this[_0x35d7e6(0x2b0)](_0x108542[0x0])]:[];const _0xe4295c={};for(const [_0x36c0b1,_0x4f4d16]of Object['entries'](_0x108542)){if(_0x4f4d16&&typeof _0x4f4d16===_0x35d7e6(0x1c7)&&!Array[_0x35d7e6(0xea)](_0x4f4d16)){const _0xb044ba=_0x4f4d16;_0xe4295c[_0x36c0b1]=generateExampleValue(_0x36c0b1,_0xb044ba[_0x35d7e6(0x272)]||_0x35d7e6(0x28d),undefined,{'description':_0xb044ba['description']});}else Array[_0x35d7e6(0xea)](_0x4f4d16)?_0xe4295c[_0x36c0b1]=_0x4f4d16[_0x35d7e6(0xa7)]>0x0?[this[_0x35d7e6(0x2b0)](_0x4f4d16[0x0])]:[]:_0xe4295c[_0x36c0b1]=_0x4f4d16;}return _0xe4295c;}['generateFieldExample'](_0x136629,_0x5383ef,_0x4f34eb,_0x374fe9){return generateExampleValue(_0x136629,_0x5383ef,_0x4f34eb,_0x374fe9);}[a0_0x1469c4(0xc9)](_0x326223,_0x3f4f48){const _0x553510=a0_0x1469c4,_0x119b76=this[_0x553510(0x2bb)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x326223+'.'+_0x119b76+_0x553510(0x199);}[a0_0x1469c4(0x30c)](_0x204b84){const _0x1726df=a0_0x1469c4,_0x24a901=this[_0x1726df(0x2bb)](),_0x5ea140=_0x204b84||'yourModel',_0x5ea734={};return _0x5ea734[_0x1726df(0xa9)]='const\x20data\x20=\x20await\x20client.models.'+_0x5ea140+'.'+_0x24a901+_0x1726df(0x199),_0x5ea734[_0x1726df(0x76)]=_0x1726df(0x134)+_0x5ea140+'.'+_0x24a901+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x5ea734;}['getRequestParamsDocInfo'](){const _0x5bf0c4=a0_0x1469c4,_0x64564e=this[_0x5bf0c4(0xad)](),_0x5c47ac=Object[_0x5bf0c4(0x30d)](_0x64564e)['map'](([_0x6c5b1a,_0x7db1a2])=>{const _0x20a9e7=_0x5bf0c4,_0x1bf55d=_0x7db1a2,_0x378ee9={};return _0x378ee9[_0x20a9e7(0x227)]=_0x6c5b1a,_0x378ee9['type']=_0x1bf55d[_0x20a9e7(0x272)]||_0x20a9e7(0x28d),_0x378ee9[_0x20a9e7(0x276)]=_0x1bf55d['description']||'-',_0x378ee9[_0x20a9e7(0x16b)]=_0x1bf55d['required'],_0x378ee9;}),_0x36a408={};return _0x36a408[_0x5bf0c4(0x2a7)]=_0x5c47ac,_0x36a408;}[a0_0x1469c4(0xe1)](){const _0x51bb21=a0_0x1469c4,_0x3dfb65=this[_0x51bb21(0xa2)]();if(!_0x3dfb65){const _0x4eda17={};return _0x4eda17['params']=[],_0x4eda17;}const _0x3d1e97=Object[_0x51bb21(0x30d)](_0x3dfb65)[_0x51bb21(0x2ee)](([_0x2eb0b5,_0x9e7630])=>{const _0x34efa7=_0x51bb21,_0x385835=_0x9e7630,_0x497db4={};return _0x497db4[_0x34efa7(0x227)]=_0x2eb0b5,_0x497db4['type']=_0x385835[_0x34efa7(0x272)]||_0x34efa7(0x28d),_0x497db4[_0x34efa7(0x276)]=_0x385835[_0x34efa7(0x276)]||'-',_0x497db4;}),_0x27ee5a={};return _0x27ee5a[_0x51bb21(0x2a7)]=_0x3d1e97,_0x27ee5a;}[a0_0x1469c4(0x1e7)](){return[];}['getBusinessFields'](){const _0x1ca41d=a0_0x1469c4;return this[_0x1ca41d(0x29b)]['fields']||[];}['getAllParams'](){const _0x17c2bc=a0_0x1469c4;return{'systemFields':this[_0x17c2bc(0x1e7)](),'businessFields':this[_0x17c2bc(0x2d2)]()};}[a0_0x1469c4(0x290)](_0x4af3f6){const _0x29d479=a0_0x1469c4;return this[_0x29d479(0x29b)][_0x29d479(0x1ec)]['find'](_0x47af9c=>_0x47af9c?.['code']===_0x4af3f6);}[a0_0x1469c4(0x172)](_0x46ebc6){const _0x2122f3=a0_0x1469c4;return _0x46ebc6[_0x2122f3(0x167)];}[a0_0x1469c4(0x181)](_0x5dc76a){const _0x486a1e=a0_0x1469c4;return _0x5dc76a[_0x486a1e(0x272)];}[a0_0x1469c4(0x1f0)](_0x39e9e1){const _0x34200e=a0_0x1469c4;return _0x39e9e1[_0x34200e(0x227)];}[a0_0x1469c4(0x195)](_0x57b9cd){const _0x4b829f=a0_0x1469c4;return _0x57b9cd[_0x4b829f(0x276)];}['getFieldOptions'](_0x59e82e){const _0x58bd8f=a0_0x1469c4;return _0x59e82e[_0x58bd8f(0x2c3)]()||null;}[a0_0x1469c4(0x267)](_0x5df738){const _0x5eb63d=a0_0x1469c4;return _0x5df738[_0x5eb63d(0xc3)]();}[a0_0x1469c4(0x317)](){return[];}['getFieldOperators'](_0x2bc548){return[];}['toJSON'](){const _0x4e984d=a0_0x1469c4;return{'name':this[_0x4e984d(0x2bb)](),'displayName':this[_0x4e984d(0xc0)](),'type':this[_0x4e984d(0x2a0)](),'enabled':this[_0x4e984d(0xac)](),'method':this['getMethod'](),'path':this[_0x4e984d(0x1f3)](),'fullUrl':this[_0x4e984d(0x2e0)](),'requestParams':this[_0x4e984d(0xad)](),'requestExample':this[_0x4e984d(0x229)](),'responseExample':this[_0x4e984d(0x1df)]()};}['toString'](){const _0x151947=a0_0x1469c4,_0x357a80=this[_0x151947(0xac)]()?'启用':'禁用';return this[_0x151947(0xc0)]()+'('+this['name']+',\x20'+_0x357a80+')';}}class GenericOperation extends Operation{[a0_0x1469c4(0x175)];['getRequestParams'](){const _0x17b3f0=a0_0x1469c4;return this[_0x17b3f0(0x27a)]();}[a0_0x1469c4(0xff)](){const _0x5e2ae4=a0_0x1469c4;return this[_0x5e2ae4(0xa2)]();}[a0_0x1469c4(0x229)](){const _0x58abee=a0_0x1469c4;if(this[_0x58abee(0x175)])return this[_0x58abee(0x175)];const _0x2b49c5={},_0x2486fe=this['getRequestParams'](),_0x36e2ec=this[_0x58abee(0x2a0)]();if(Object[_0x58abee(0x9e)](_0x2486fe)[_0x58abee(0xa7)]===0x0&&_0x36e2ec){const _0xb21604=this[_0x58abee(0x2d2)]();return _0xb21604[_0x58abee(0x244)](_0xa95977=>{const _0x3a37bf=_0x58abee,_0x4c4caa=_0xa95977[_0x3a37bf(0x167)],_0x58a5ac=_0xa95977['type'],_0x5b9ac5=this[_0x3a37bf(0x281)](_0x4c4caa,_0x58a5ac,_0xa95977[_0x3a37bf(0x26a)](),{'isPrimaryKey':_0xa95977['isPrimaryKey'](),'description':_0xa95977[_0x3a37bf(0x276)]||_0xa95977[_0x3a37bf(0x227)]});_0x2b49c5[_0x4c4caa]=_0x5b9ac5;}),this[_0x58abee(0x175)]=_0x2b49c5,_0x2b49c5;}return Object[_0x58abee(0x30d)](_0x2486fe)[_0x58abee(0x244)](([_0x423b35,_0x3c0915])=>{const _0x516063=_0x58abee,_0x4a9a9f=_0x3c0915;let _0x33054e;if(typeof _0x4a9a9f['type']===_0x516063(0xf4))_0x33054e=_0x4a9a9f[_0x516063(0x272)];else _0x4a9a9f[_0x516063(0x272)]&&typeof _0x4a9a9f[_0x516063(0x272)]===_0x516063(0x1c7)?_0x33054e=_0x4a9a9f['type'][_0x516063(0x272)]||'TEXT':_0x33054e=_0x516063(0x16e);const _0x3286d2=_0x4a9a9f[_0x516063(0x276)],_0x30eeb3=this['getFieldDefinition'](_0x423b35);if(_0x423b35===_0x516063(0x88))_0x2b49c5[_0x423b35]=0x1;else{if(_0x423b35===_0x516063(0x258))_0x2b49c5[_0x423b35]=0xa;else{if(_0x423b35==='id')_0x2b49c5[_0x423b35]=0x1;else{const _0x5a6d3c=_0x30eeb3?_0x30eeb3['getDbTypeForOperation']():undefined,_0x573f57=_0x30eeb3?_0x30eeb3['description']:undefined,_0x158f84=_0x30eeb3?_0x30eeb3[_0x516063(0x227)]:undefined;_0x2b49c5[_0x423b35]=this[_0x516063(0x281)](_0x423b35,_0x33054e,_0x5a6d3c||undefined,{'isPrimaryKey':_0x423b35===this[_0x516063(0x29b)][_0x516063(0x240)]||_0x423b35==='id','description':_0x3286d2||_0x573f57||_0x158f84});}}}}),this[_0x58abee(0x175)]=_0x2b49c5,_0x2b49c5;}[a0_0x1469c4(0x1df)](){const _0x4c1326=a0_0x1469c4,_0x51cc53=this[_0x4c1326(0xff)]();if(!_0x51cc53){const _0x316ebe={};return _0x316ebe['success']=!![],_0x316ebe[_0x4c1326(0x2a9)]=_0x4c1326(0x201),_0x316ebe[_0x4c1326(0x10f)]='',_0x316ebe[_0x4c1326(0x76)]=_0x4c1326(0x213),_0x316ebe[_0x4c1326(0x253)]=null,_0x316ebe;}return this['generateFromSchema'](_0x51cc53);}[a0_0x1469c4(0x2b0)](_0x5bddae){const _0x242dd4=a0_0x1469c4;if(!_0x5bddae||typeof _0x5bddae!==_0x242dd4(0x1c7))return{};if(Array[_0x242dd4(0xea)](_0x5bddae)){if(_0x5bddae[_0x242dd4(0xa7)]>0x0)return[this['generateFromSchema'](_0x5bddae[0x0])];return[];}const _0x5bd0fd={};return Object['keys'](_0x5bddae)['forEach'](_0x470bad=>{const _0x20e647=_0x242dd4,_0x112918=_0x5bddae[_0x470bad];if(_0x112918&&typeof _0x112918===_0x20e647(0x1c7)&&!Array[_0x20e647(0xea)](_0x112918)&&_0x112918[_0x20e647(0x272)]){const _0x2367ca=_0x112918;let _0x2bef19;if(typeof _0x2367ca['type']===_0x20e647(0xf4))_0x2bef19=_0x2367ca[_0x20e647(0x272)];else _0x2367ca[_0x20e647(0x272)]&&typeof _0x2367ca[_0x20e647(0x272)]===_0x20e647(0x1c7)?_0x2bef19=_0x2367ca[_0x20e647(0x272)]['type']||_0x20e647(0x16e):_0x2bef19=_0x20e647(0x16e);const _0x3c9d92=_0x2367ca[_0x20e647(0x276)],_0x1668c6={};_0x1668c6['description']=_0x3c9d92,_0x5bd0fd[_0x470bad]=this[_0x20e647(0x281)](_0x470bad,_0x2bef19,undefined,_0x1668c6);}else{if(Array[_0x20e647(0xea)](_0x112918))_0x5bd0fd[_0x470bad]=_0x112918[_0x20e647(0xa7)]>0x0?[this[_0x20e647(0x2b0)](_0x112918[0x0])]:[];else _0x112918&&typeof _0x112918===_0x20e647(0x1c7)?_0x5bd0fd[_0x470bad]=this[_0x20e647(0x2b0)](_0x112918):_0x5bd0fd[_0x470bad]=_0x112918;}}),_0x5bd0fd;}[a0_0x1469c4(0xc9)](_0x1b3cef,_0x5eec6d){const _0x2964bc=a0_0x1469c4,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5eec6d||{},_0x148ad4=this[_0x2964bc(0x2bb)](),_0x3d0023=this['getType'](),_0x148985=this[_0x2964bc(0x303)](),_0x399568=this[_0x2964bc(0x229)](),_0x4e6792=_0x3d0647=>{const _0x1820f5=_0x2964bc;if(Object[_0x1820f5(0x9e)](_0x3d0647)[_0x1820f5(0xa7)]===0x0)return'{}';const _0x1d6924=JSON[_0x1820f5(0x2a6)](_0x3d0647,null,0x2)[_0x1820f5(0x120)]('\x0a')[_0x1820f5(0x2ee)]((_0x23cde5,_0x1721fa)=>_0x1721fa===0x0?_0x23cde5:indent+_0x23cde5)[_0x1820f5(0x1a1)]('\x0a');return _0x1d6924;};switch(_0x3d0023){case _0x2964bc(0xa5):case _0x2964bc(0x2cc):return _0x2964bc(0x2e1)+_0x1b3cef+'.'+_0x148ad4+'(id);';case _0x2964bc(0x142):if(useFullExample&&Object['keys'](_0x399568)['length']>0x0)return _0x2964bc(0x2e1)+_0x1b3cef+'.'+_0x148ad4+'(id,\x20'+_0x4e6792(_0x399568)+');';return _0x2964bc(0x2e1)+_0x1b3cef+'.'+_0x148ad4+'(id,\x20data);';case _0x2964bc(0x277):case'getList':case'getSelectOptions':default:if(_0x148985[_0x2964bc(0xa7)]>0x0){if(useFullExample&&Object[_0x2964bc(0x9e)](_0x399568)[_0x2964bc(0xa7)]>0x0)return _0x2964bc(0x2e1)+_0x1b3cef+'.'+_0x148ad4+'('+_0x4e6792(_0x399568)+');';else{const _0x2982e1=Object['keys'](_0x399568);if(_0x2982e1['length']>0x0){const _0x29037c=_0x2982e1[_0x2964bc(0xe6)](0x0,0x2)[_0x2964bc(0x1a1)](',\x20');return _0x2964bc(0x2e1)+_0x1b3cef+'.'+_0x148ad4+_0x2964bc(0x19b)+_0x29037c+_0x2964bc(0x2f1);}else return _0x2964bc(0x2e1)+_0x1b3cef+'.'+_0x148ad4+_0x2964bc(0x9f);}}else return _0x2964bc(0x2e1)+_0x1b3cef+'.'+_0x148ad4+_0x2964bc(0x199);}}[a0_0x1469c4(0x27f)](){const _0x564e48=a0_0x1469c4;return[{'title':'请求示例','data':this[_0x564e48(0x229)]()}];}[a0_0x1469c4(0x1e7)](){const _0x590002=a0_0x1469c4,_0x407e9d=this[_0x590002(0x2a0)](),_0x151ac6=[];switch(_0x407e9d){case _0x590002(0xa5):case _0x590002(0x2cc):const _0x1b87a2={};_0x1b87a2[_0x590002(0x167)]='id',_0x1b87a2[_0x590002(0x272)]=_0x590002(0x9b),_0x1b87a2[_0x590002(0x276)]=_0x590002(0x1d8),_0x151ac6[_0x590002(0x241)](_0x1b87a2);break;case'getList':const _0x3e2987={};_0x3e2987[_0x590002(0x167)]=_0x590002(0x88),_0x3e2987[_0x590002(0x272)]='NUMBER',_0x3e2987[_0x590002(0x276)]=_0x590002(0x24e);const _0x41e3f8={};_0x41e3f8[_0x590002(0x167)]='pageSize',_0x41e3f8[_0x590002(0x272)]=_0x590002(0x9b),_0x41e3f8[_0x590002(0x276)]=_0x590002(0x194),_0x151ac6[_0x590002(0x241)](_0x3e2987,_0x41e3f8);break;case _0x590002(0x1d6):const _0x3dfdd2={};_0x3dfdd2[_0x590002(0x167)]=_0x590002(0x167),_0x3dfdd2[_0x590002(0x272)]=_0x590002(0x1cd),_0x3dfdd2[_0x590002(0x276)]=_0x590002(0x2da),_0x151ac6[_0x590002(0x241)](_0x3dfdd2);break;default:break;}return _0x151ac6;}['getBusinessFields'](){const _0x5306f8=a0_0x1469c4,_0x3925a0=this[_0x5306f8(0x2a0)](),_0xa08919=this[_0x5306f8(0x29b)][_0x5306f8(0x1ec)]||[];switch(_0x3925a0){case _0x5306f8(0xa5):case _0x5306f8(0x2cc):return[];case _0x5306f8(0x277):return _0xa08919[_0x5306f8(0x22f)](_0x575eef=>{const _0x4382e1=_0x5306f8;if(_0x575eef[_0x4382e1(0x2c9)])return![];if(_0x575eef[_0x4382e1(0xc3)]()&&_0x575eef[_0x4382e1(0x234)]())return![];if(_0x575eef[_0x4382e1(0x102)]())return![];if(_0x575eef[_0x4382e1(0x81)]()||_0x575eef[_0x4382e1(0x183)]())return![];return!![];});case'update':return _0xa08919[_0x5306f8(0x22f)](_0x45b385=>{const _0x2ed84e=_0x5306f8;if(_0x45b385['deleted'])return![];if(_0x45b385[_0x2ed84e(0xc3)]())return![];if(_0x45b385[_0x2ed84e(0x102)]())return![];if(_0x45b385[_0x2ed84e(0x81)]()||_0x45b385[_0x2ed84e(0x183)]())return![];if(_0x45b385['isAutoIncrement']())return![];return!![];});case'getList':case'getSelectOptions':return _0xa08919[_0x5306f8(0x22f)](_0x46d3a7=>!_0x46d3a7[_0x5306f8(0x2c9)]&&_0x46d3a7['isBusiness']());default:return _0xa08919[_0x5306f8(0x22f)](_0x436eee=>!_0x436eee[_0x5306f8(0x2c9)]&&_0x436eee[_0x5306f8(0x2fb)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x1469c4(0xad)](){const _0x5ceb2b=a0_0x1469c4,_0x3d4bba=super['getRequestParams'](),_0x1ae92c=Object[_0x5ceb2b(0x9e)](_0x3d4bba);if(_0x1ae92c['length']===0x0||_0x1ae92c[_0x5ceb2b(0xa7)]===0x1&&_0x1ae92c[0x0]===_0x5ceb2b(0x167)){if(!_0x3d4bba[_0x5ceb2b(0x167)]){const _0x12d686={};_0x12d686[_0x5ceb2b(0x272)]=_0x5ceb2b(0x28d),_0x12d686['description']=_0x5ceb2b(0x2b9),_0x3d4bba['code']=_0x12d686;}const _0xdd6f60={};_0xdd6f60['type']=_0x5ceb2b(0x28d),_0xdd6f60[_0x5ceb2b(0x276)]='字段名称',_0x3d4bba['label']=_0xdd6f60;}return _0x3d4bba;}[a0_0x1469c4(0x2d2)](){return[];}[a0_0x1469c4(0x1e7)](){const _0x453886=a0_0x1469c4,_0x123ff5={};_0x123ff5[_0x453886(0x167)]=_0x453886(0x167),_0x123ff5[_0x453886(0x272)]=_0x453886(0x28d),_0x123ff5[_0x453886(0x276)]=_0x453886(0x2b9);const _0x3d4172={};return _0x3d4172[_0x453886(0x167)]=_0x453886(0x308),_0x3d4172[_0x453886(0x272)]=_0x453886(0x28d),_0x3d4172['description']='字段名称',[_0x123ff5,_0x3d4172];}[a0_0x1469c4(0x229)](){const _0x147cc0=a0_0x1469c4,_0x23499a={};return _0x23499a[_0x147cc0(0x167)]=_0x147cc0(0x27d),_0x23499a['label']='field_name',_0x23499a;}['generateSDKCallCode'](_0x48e3b4){const _0x362e38=a0_0x1469c4,_0x2a333c=this['getName']();return _0x362e38(0x2e1)+_0x48e3b4+'.'+_0x2a333c+_0x362e38(0x20e);}}class GetListOperation extends GenericOperation{[a0_0x1469c4(0xad)](){const _0xd60eb5=a0_0x1469c4,_0x19ef91=super[_0xd60eb5(0xad)](),{currentPage:_0xff3240,pageSize:_0x454b9f,..._0x3e0974}=_0x19ef91,_0x13c1c5={};Object[_0xd60eb5(0x30d)](_0x3e0974)['forEach'](([_0x1f614f,_0x813a34])=>{const _0x215431=_0xd60eb5;if(typeof _0x813a34===_0x215431(0x1c7)&&_0x813a34!==null){const _0xf59e15=_0x813a34,_0x20a808=_0xf59e15[_0x215431(0x276)]||'',_0x379b50={..._0xf59e15};_0x379b50[_0x215431(0x276)]=_0x20a808?_0x20a808+_0x215431(0x96):'支持单值或数组',_0x13c1c5[_0x1f614f]=_0x379b50;}else _0x13c1c5[_0x1f614f]=_0x813a34;});const _0x3982d6={...typeof _0xff3240===_0xd60eb5(0x1c7)?_0xff3240:{}};_0x3982d6['type']='Number',_0x3982d6['description']=_0xd60eb5(0x24e);const _0x22edda={...typeof _0x454b9f==='object'?_0x454b9f:{}};_0x22edda[_0xd60eb5(0x272)]='Number',_0x22edda[_0xd60eb5(0x276)]=_0xd60eb5(0x313);const _0x3db1d3={..._0x13c1c5};return _0x3db1d3[_0xd60eb5(0x88)]=_0x3982d6,_0x3db1d3[_0xd60eb5(0x258)]=_0x22edda,_0x3db1d3;}[a0_0x1469c4(0x229)](_0x40506f){const _0x1a37ca=a0_0x1469c4,{useArrayValues:useArrayValues=!![]}=_0x40506f||{},_0xb74a43=super[_0x1a37ca(0x229)](),{currentPage:_0x285aff,pageSize:_0x550e16,..._0x3e0b38}=_0xb74a43;if(!useArrayValues){const _0x32392e={..._0x3e0b38};return _0x32392e[_0x1a37ca(0x88)]=_0x285aff??0x1,_0x32392e[_0x1a37ca(0x258)]=_0x550e16??0xa,_0x32392e;}const _0x2935a7={},_0x195a45=['id',_0x1a37ca(0x1ed),_0x1a37ca(0x167),'type'];Object[_0x1a37ca(0x30d)](_0x3e0b38)['forEach'](([_0x5104fa,_0x21bb21],_0x221c82)=>{const _0x39f105=_0x1a37ca,_0x5eeb90=_0x195a45[_0x39f105(0x1e3)](_0x11bc3c=>_0x5104fa[_0x39f105(0x137)]()[_0x39f105(0x1e4)](_0x11bc3c))||_0x221c82%0x3===0x0;if(_0x5eeb90&&_0x21bb21!==null&&_0x21bb21!==undefined){if(typeof _0x21bb21===_0x39f105(0x2aa))_0x2935a7[_0x5104fa]=[_0x21bb21,_0x21bb21+0x1,_0x21bb21+0x2];else typeof _0x21bb21===_0x39f105(0xf4)?_0x2935a7[_0x5104fa]=[_0x21bb21,_0x21bb21+'_2',_0x21bb21+'_3']:_0x2935a7[_0x5104fa]=[_0x21bb21];}else _0x2935a7[_0x5104fa]=_0x21bb21;});const _0x37c961={..._0x2935a7};return _0x37c961[_0x1a37ca(0x88)]=_0x285aff??0x1,_0x37c961[_0x1a37ca(0x258)]=_0x550e16??0xa,_0x37c961;}[a0_0x1469c4(0x1c8)](){const _0x2546f1=a0_0x1469c4,_0xa590a9={};return _0xa590a9['useArrayValues']=![],this[_0x2546f1(0x229)](_0xa590a9);}[a0_0x1469c4(0x27f)](){const _0x229a2c=a0_0x1469c4;return[{'title':_0x229a2c(0x158),'description':_0x229a2c(0x192),'data':this[_0x229a2c(0x1c8)]()},{'title':_0x229a2c(0xb2),'description':_0x229a2c(0x318),'data':this[_0x229a2c(0x229)]()}];}[a0_0x1469c4(0xc9)](_0x354534,_0x2763a2){const _0x2bf3e9=a0_0x1469c4,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2763a2||{},_0x47ebc8=this[_0x2bf3e9(0x2bb)](),_0x1c6548={};_0x1c6548[_0x2bf3e9(0x204)]=!![];const _0x32066f=this[_0x2bf3e9(0x229)](_0x1c6548),{currentPage:_0x267d6b,pageSize:_0x322ce0,..._0x393dcd}=_0x32066f;if(useFullExample&&Object[_0x2bf3e9(0x9e)](_0x32066f)[_0x2bf3e9(0xa7)]>0x0){const _0x296f4b=Object[_0x2bf3e9(0x9e)](_0x393dcd)[_0x2bf3e9(0xa7)]>0x0;if(_0x296f4b){const _0x49733b=this[_0x2bf3e9(0x1c8)](),_0xee8526=_0x4dbaa6=>{const _0x2db44c=_0x2bf3e9;return JSON[_0x2db44c(0x2a6)](_0x4dbaa6,null,0x2)[_0x2db44c(0x120)]('\x0a')[_0x2db44c(0x2ee)]((_0xf34b94,_0xc2e815)=>_0xc2e815===0x0?_0xf34b94:indent+_0xf34b94)[_0x2db44c(0x1a1)]('\x0a');};return'//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x354534+'.'+_0x47ebc8+'('+_0xee8526(_0x49733b)+');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x354534+'.'+_0x47ebc8+'('+_0xee8526(_0x32066f)+');';}else{const _0x5abd9b=JSON[_0x2bf3e9(0x2a6)](_0x32066f,null,0x2)[_0x2bf3e9(0x120)]('\x0a')[_0x2bf3e9(0x2ee)]((_0x43e9f1,_0x1b293a)=>_0x1b293a===0x0?_0x43e9f1:indent+_0x43e9f1)['join']('\x0a');return _0x2bf3e9(0x2e1)+_0x354534+'.'+_0x47ebc8+'('+_0x5abd9b+');';}}if(Object['keys'](_0x393dcd)[_0x2bf3e9(0xa7)]>0x0){const _0x35b858=Object[_0x2bf3e9(0x9e)](_0x393dcd)[0x0];return _0x2bf3e9(0x2e1)+_0x354534+'.'+_0x47ebc8+_0x2bf3e9(0x19b)+_0x35b858+_0x2bf3e9(0x86);}return'const\x20result\x20=\x20await\x20client.models.'+_0x354534+'.'+_0x47ebc8+_0x2bf3e9(0x23a);}}var AGGREGATE_FUNCTIONS=['sum','count',a0_0x1469c4(0x248),'max',a0_0x1469c4(0xf9)],FILTER_OPERATORS=['$eq',a0_0x1469c4(0x292),a0_0x1469c4(0x2a3),a0_0x1469c4(0xc5),a0_0x1469c4(0x252),a0_0x1469c4(0x235),'$in',a0_0x1469c4(0x2d7),'$startWith',a0_0x1469c4(0x1d5),'$and',a0_0x1469c4(0x148)];class FilterOperation extends GenericOperation{constructor(_0x503a99,_0x2fea25,_0x30d743){super(_0x503a99,_0x2fea25,_0x30d743);}[a0_0x1469c4(0x317)](){return FILTER_OPERATORS;}[a0_0x1469c4(0x1cf)](_0x2d3d59){const _0x3174dd=a0_0x1469c4,_0x2912ed=this['getFieldDefinition'](_0x2d3d59);if(!_0x2912ed)return[];return this[_0x3174dd(0x26e)](_0x2912ed);}[a0_0x1469c4(0xad)](){const _0x1792af=a0_0x1469c4,_0x33a796=super[_0x1792af(0xad)](),_0x283aa9={};_0x283aa9[_0x1792af(0x272)]='Object',_0x283aa9[_0x1792af(0x276)]='查询条件(支持\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)',_0x283aa9[_0x1792af(0x16b)]=![];const _0x8f4545={};_0x8f4545[_0x1792af(0x272)]=_0x1792af(0x13a),_0x8f4545[_0x1792af(0x276)]='返回字段列表(字段投影)',_0x8f4545['required']=![];const _0x4e8806={};_0x4e8806['type']=_0x1792af(0x67),_0x4e8806['description']='排序规则',_0x4e8806[_0x1792af(0x16b)]=![];const _0x4f60f5={};_0x4f60f5[_0x1792af(0x272)]=_0x1792af(0x2c4),_0x4f60f5[_0x1792af(0x276)]=_0x1792af(0x24e),_0x4f60f5['required']=![],_0x4f60f5[_0x1792af(0x157)]=0x1;const _0x5864d9={};_0x5864d9[_0x1792af(0x272)]='Number',_0x5864d9[_0x1792af(0x276)]=_0x1792af(0x313),_0x5864d9[_0x1792af(0x16b)]=![],_0x5864d9[_0x1792af(0x157)]=0xa;const _0x116f55={..._0x33a796};return _0x116f55[_0x1792af(0x80)]=_0x283aa9,_0x116f55[_0x1792af(0x200)]=_0x8f4545,_0x116f55['orderBy']=_0x4e8806,_0x116f55[_0x1792af(0x88)]=_0x4f60f5,_0x116f55[_0x1792af(0x258)]=_0x5864d9,_0x116f55;}['getSystemFields'](){const _0x411382=a0_0x1469c4,_0x786aaa=this[_0x411382(0xad)](),_0xbf3d4d=[],_0x44aec9=['where',_0x411382(0x200),_0x411382(0x24c),_0x411382(0x88),_0x411382(0x258)];return Object[_0x411382(0x30d)](_0x786aaa)[_0x411382(0x244)](([_0x486be1,_0x54f8c0])=>{const _0x2dfcd8=_0x411382;if(_0x44aec9[_0x2dfcd8(0x1e4)](_0x486be1)){const _0x411ad3=_0x54f8c0,_0x29de67={};_0x29de67['code']=_0x486be1,_0x29de67[_0x2dfcd8(0x272)]=_0x411ad3[_0x2dfcd8(0x272)]||_0x2dfcd8(0x189),_0x29de67['description']=_0x411ad3[_0x2dfcd8(0x276)]||'-',_0xbf3d4d[_0x2dfcd8(0x241)](_0x29de67);}}),_0xbf3d4d;}[a0_0x1469c4(0x2d2)](){const _0x1cddab=a0_0x1469c4;return this[_0x1cddab(0x29b)]['fields']||[];}[a0_0x1469c4(0x1fa)](){const _0x24d765=a0_0x1469c4;return{'systemParams':this[_0x24d765(0x1e7)](),'businessFields':this[_0x24d765(0x2d2)]()};}[a0_0x1469c4(0x229)](){const _0xab9401=a0_0x1469c4,_0x8cf7ae=this[_0xab9401(0x29b)][_0xab9401(0x1ec)]||[];if(_0x8cf7ae[_0xab9401(0xa7)]===0x0){const _0x43d902={};return _0x43d902['where']={},_0x43d902[_0xab9401(0x88)]=0x1,_0x43d902[_0xab9401(0x258)]=0x14,_0x43d902;}const _0x310350={},_0x480203=_0x8cf7ae[_0xab9401(0xe6)](0x0,Math[_0xab9401(0xf9)](0x3,_0x8cf7ae[_0xab9401(0xa7)]));_0x480203['forEach'](_0x5240ea=>{const _0x3343a3=_0xab9401,_0x4d5e43=this[_0x3343a3(0x26e)](_0x5240ea);if(_0x4d5e43['length']===0x0)return;const _0x545e23=this[_0x3343a3(0x2ae)](_0x5240ea,_0x4d5e43),_0x37b777=this[_0x3343a3(0x2f4)](_0x5240ea,_0x545e23),_0x1f5713={};_0x1f5713[_0x545e23]=_0x37b777,_0x310350[_0x5240ea['code']]=_0x1f5713;});const _0x328313=_0x8cf7ae['slice'](0x0,Math[_0xab9401(0xf9)](0x5,_0x8cf7ae[_0xab9401(0xa7)]))[_0xab9401(0x2ee)](_0x568a10=>_0x568a10[_0xab9401(0x167)]),_0x3803eb=_0x8cf7ae[0x0]?_0x8cf7ae[0x0]['code']:'id',_0x307445={};_0x307445[_0x3803eb]=_0xab9401(0x1d0);const _0x203dab={};return _0x203dab[_0xab9401(0x80)]=_0x310350,_0x203dab['select']=_0x328313,_0x203dab[_0xab9401(0x24c)]=[_0x307445],_0x203dab[_0xab9401(0x88)]=0x1,_0x203dab[_0xab9401(0x258)]=0x14,_0x203dab;}[a0_0x1469c4(0xc9)](_0x17b27d,_0x439973){const _0x3ddbeb=a0_0x1469c4,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x439973||{},_0xaec37e=this[_0x3ddbeb(0x2bb)](),_0x2f9632=this[_0x3ddbeb(0x229)](),_0x42fcf=_0x1ce95e=>{const _0x1f0590=_0x3ddbeb;return JSON[_0x1f0590(0x2a6)](_0x1ce95e,null,0x2)[_0x1f0590(0x120)]('\x0a')[_0x1f0590(0x2ee)]((_0x165642,_0x3efb1c)=>_0x3efb1c===0x0?_0x165642:indent+_0x165642)['join']('\x0a');};if(useFullExample){const _0x4112ac=this[_0x3ddbeb(0x29b)][_0x3ddbeb(0x1ec)]||[],_0x11bc78={'where':_0x4112ac[0x0]?{[_0x4112ac[0x0]['code']]:{'$eq':this[_0x3ddbeb(0x2f4)](_0x4112ac[0x0],_0x3ddbeb(0x29f))}}:{},'select':_0x4112ac[_0x3ddbeb(0xe6)](0x0,0x3)[_0x3ddbeb(0x2ee)](_0x174cd5=>_0x174cd5[_0x3ddbeb(0x167)]),'currentPage':0x1,'pageSize':0x14};let _0x18b066='';if(_0x4112ac['length']>=0x3){const _0x4d40cb={};_0x4d40cb[_0x3ddbeb(0x232)]=[];const _0x962407=_0x4d40cb,_0xfc1474=[];if(_0x4112ac[_0x3ddbeb(0xa7)]>0x0){const _0x1e8a79=_0x4112ac[_0x3ddbeb(0x257)](_0x46d7f6=>{const _0x4d4132=_0x3ddbeb,_0x1e3732=_0x46d7f6[_0x4d4132(0x26a)]();return[_0x4d4132(0x9b),_0x4d4132(0x1ff),_0x4d4132(0x261),_0x4d4132(0x1c5),_0x4d4132(0x2b2),'SMALLINT'][_0x4d4132(0x1e4)](_0x1e3732);});if(_0x1e8a79){const _0x537c88={};_0x537c88[_0x3ddbeb(0x2a3)]=0x0,_0x537c88['$lte']=0x64;const _0x5d16f7={[_0x1e8a79[_0x3ddbeb(0x167)]]:_0x537c88};_0xfc1474['push'](_0x5d16f7);}}if(_0x4112ac[_0x3ddbeb(0xa7)]>0x1){const _0x2741fd=_0x4112ac[_0x3ddbeb(0x257)](_0x618b6f=>{const _0x4742f1=_0x3ddbeb,_0xcd63e0=_0x618b6f[_0x4742f1(0x26a)]();return[_0x4742f1(0x1cd),'TEXT','VARCHAR',_0x4742f1(0x1e6),'LONGTEXT']['includes'](_0xcd63e0);});if(_0x2741fd){const _0x40db0c={};_0x40db0c[_0x3ddbeb(0x2d7)]=_0x3ddbeb(0x217);const _0x4de444={[_0x2741fd[_0x3ddbeb(0x167)]]:_0x40db0c};_0xfc1474[_0x3ddbeb(0x241)](_0x4de444);}}if(_0xfc1474['length']>0x0){_0x962407[_0x3ddbeb(0x232)]=_0xfc1474;const _0x14b098={'where':_0x962407,'select':_0x4112ac[_0x3ddbeb(0xe6)](0x0,0x4)['map'](_0x1d50ae=>_0x1d50ae[_0x3ddbeb(0x167)]),'orderBy':[{[_0x4112ac[0x0][_0x3ddbeb(0x167)]]:_0x3ddbeb(0x1d0)}],'currentPage':0x1,'pageSize':0x14};_0x18b066=_0x3ddbeb(0x316)+_0x17b27d+'.'+_0xaec37e+'('+_0x42fcf(_0x14b098)+');';}}return _0x3ddbeb(0x13f)+_0x17b27d+'.'+_0xaec37e+'('+_0x42fcf(_0x11bc78)+');'+_0x18b066;}const _0x1d36af=JSON[_0x3ddbeb(0x2a6)](_0x2f9632,null,0x2)['split']('\x0a')[_0x3ddbeb(0x2ee)]((_0x51bda0,_0x36f7e2)=>_0x36f7e2===0x0?_0x51bda0:indent+_0x51bda0)[_0x3ddbeb(0x1a1)]('\x0a');return _0x3ddbeb(0x2e1)+_0x17b27d+'.'+_0xaec37e+'('+_0x1d36af+');';}['getApplicableOperators'](_0x104548){const _0x319c6c=a0_0x1469c4,_0x14815a=_0x104548[_0x319c6c(0x26a)](),_0x182a5d=[];if([_0x319c6c(0x9b),'INTEGER',_0x319c6c(0x261),_0x319c6c(0x100)][_0x319c6c(0x1e4)](_0x14815a)||['INT',_0x319c6c(0x2b2),_0x319c6c(0x1ab),_0x319c6c(0x2ad),_0x319c6c(0x18b)]['includes'](_0x14815a))_0x182a5d[_0x319c6c(0x241)](_0x319c6c(0x29f),'$ne','$gte',_0x319c6c(0x252),_0x319c6c(0xc5),'$lteq',_0x319c6c(0x83));else{if(['STRING',_0x319c6c(0x16e),_0x319c6c(0x302)][_0x319c6c(0x1e4)](_0x14815a)||[_0x319c6c(0x1e6),_0x319c6c(0x250)]['includes'](_0x14815a))_0x182a5d[_0x319c6c(0x241)](_0x319c6c(0x29f),'$ne',_0x319c6c(0x83),_0x319c6c(0x2d7),_0x319c6c(0x22a),'$endWith');else{if(['DATE',_0x319c6c(0x1c3),_0x319c6c(0x163)]['includes'](_0x14815a)||[_0x319c6c(0x2c0)]['includes'](_0x14815a))_0x182a5d['push']('$eq','$ne',_0x319c6c(0x2a3),'$lte','$gteq',_0x319c6c(0x235));else[_0x319c6c(0x282),_0x319c6c(0xda),_0x319c6c(0xec)]['includes'](_0x14815a)?_0x182a5d[_0x319c6c(0x241)](_0x319c6c(0x29f),'$ne'):_0x182a5d[_0x319c6c(0x241)](_0x319c6c(0x29f),_0x319c6c(0x292));}}return _0x182a5d;}[a0_0x1469c4(0x2ae)](_0xbf1f2d,_0x1b7038){const _0x7b44ad=a0_0x1469c4,_0x3ed798=_0xbf1f2d['getDbTypeForOperation']();if([_0x7b44ad(0x9b),_0x7b44ad(0x1ff),_0x7b44ad(0x261),_0x7b44ad(0x100)][_0x7b44ad(0x1e4)](_0x3ed798)||['INT',_0x7b44ad(0x2b2),'SMALLINT',_0x7b44ad(0x2ad),_0x7b44ad(0x18b)]['includes'](_0x3ed798))return _0x1b7038[_0x7b44ad(0x1e4)]('$gte')?_0x7b44ad(0x2a3):'$eq';if(['STRING',_0x7b44ad(0x16e),_0x7b44ad(0x302)][_0x7b44ad(0x1e4)](_0x3ed798)||[_0x7b44ad(0x1e6),'LONGTEXT']['includes'](_0x3ed798))return _0x1b7038[_0x7b44ad(0x1e4)](_0x7b44ad(0x2d7))?_0x7b44ad(0x2d7):'$eq';if(['DATE',_0x7b44ad(0x1c3),_0x7b44ad(0x163),_0x7b44ad(0x2c0)][_0x7b44ad(0x1e4)](_0x3ed798))return _0x1b7038[_0x7b44ad(0x1e4)](_0x7b44ad(0x2a3))?_0x7b44ad(0x2a3):_0x7b44ad(0x29f);return _0x7b44ad(0x29f);}[a0_0x1469c4(0x2f4)](_0x1af143,_0x2f0d4a){const _0x8030d7=a0_0x1469c4,_0xf5eea7=_0x1af143[_0x8030d7(0x26a)](),_0x436600=_0x1af143['getEnumOptions']();if(_0x436600&&_0x436600[_0x8030d7(0xa7)]>0x0){if(_0x2f0d4a==='$in')return _0x436600[_0x8030d7(0xe6)](0x0,0x2)['map'](_0x352ffa=>_0x352ffa['value']);return _0x436600[0x0][_0x8030d7(0x115)];}if([_0x8030d7(0x9b),'INTEGER',_0x8030d7(0x261),'DECIMAL'][_0x8030d7(0x1e4)](_0xf5eea7)||['INT',_0x8030d7(0x2b2),_0x8030d7(0x1ab),_0x8030d7(0x2ad),'FLOAT'][_0x8030d7(0x1e4)](_0xf5eea7)){if(_0x2f0d4a==='$in')return[0x1,0x2,0x3];if(_0x2f0d4a===_0x8030d7(0x2a3)||_0x2f0d4a===_0x8030d7(0xc5))return 0x0;if(_0x2f0d4a==='$lte'||_0x2f0d4a===_0x8030d7(0x235))return 0x64;return 0x1;}if([_0x8030d7(0x1cd),_0x8030d7(0x16e),'VARCHAR'][_0x8030d7(0x1e4)](_0xf5eea7)||[_0x8030d7(0x1e6),'LONGTEXT'][_0x8030d7(0x1e4)](_0xf5eea7)){if(_0x2f0d4a==='$in')return[_0x8030d7(0x1ef),_0x8030d7(0x9c)];if(_0x2f0d4a===_0x8030d7(0x2d7))return _0x8030d7(0x217);if(_0x2f0d4a===_0x8030d7(0x22a))return _0x8030d7(0x138);if(_0x2f0d4a===_0x8030d7(0x1d5))return _0x8030d7(0x2be);return _0x8030d7(0x115);}if([_0x8030d7(0x2e4),_0x8030d7(0x1c3),'TIMESTAMP',_0x8030d7(0x2c0)][_0x8030d7(0x1e4)](_0xf5eea7)){if(_0x2f0d4a==='$gte'||_0x2f0d4a===_0x8030d7(0xc5))return _0x8030d7(0x1fc);if(_0x2f0d4a===_0x8030d7(0x252)||_0x2f0d4a===_0x8030d7(0x235))return _0x8030d7(0x255);return _0x8030d7(0x1fc);}if([_0x8030d7(0x282),_0x8030d7(0xda),_0x8030d7(0xec)][_0x8030d7(0x1e4)](_0xf5eea7))return!![];return _0x2f0d4a===_0x8030d7(0x83)?['value1','value2']:_0x8030d7(0x115);}['getRequestParamsDocInfo'](){const _0x26be69=a0_0x1469c4,_0x258da8=super[_0x26be69(0xad)](),_0x3ca9bd=Object[_0x26be69(0x30d)](_0x258da8)[_0x26be69(0x22f)](([_0x135fff])=>_0x135fff!==_0x26be69(0x88)&&_0x135fff!==_0x26be69(0x258))[_0x26be69(0x2ee)](([_0x32318e,_0x4e68b0])=>{const _0x31985e=_0x26be69,_0x512497=_0x4e68b0,_0x4c3e21={};return _0x4c3e21[_0x31985e(0x227)]=_0x32318e,_0x4c3e21['type']=_0x512497[_0x31985e(0x272)]||_0x31985e(0x28d),_0x4c3e21[_0x31985e(0x276)]=_0x512497[_0x31985e(0x276)]||'-',_0x4c3e21[_0x31985e(0x16b)]=_0x512497['required'],_0x4c3e21;}),_0x584698={};return _0x584698[_0x26be69(0x276)]=_0x26be69(0x275),_0x584698[_0x26be69(0x2a7)]=_0x3ca9bd,_0x584698;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x53ad83=a0_0x1469c4,_0x87120b=super[_0x53ad83(0xad)]();if(Object[_0x53ad83(0x9e)](_0x87120b)[_0x53ad83(0xa7)]===0x0){const _0x3b56dd={};this[_0x53ad83(0x29b)][_0x53ad83(0x1ec)][_0x53ad83(0x244)](_0x2e9863=>{const _0x5c457b=_0x53ad83;if(_0x2e9863){const _0x4fa90a=_0x2e9863[_0x5c457b(0x167)],_0x5e1852=_0x2e9863[_0x5c457b(0x26a)](),_0x53cfb5={};_0x53cfb5['type']=_0x5e1852||_0x5c457b(0x16e),_0x53cfb5[_0x5c457b(0x7e)]=_0x2e9863['sortNum'],_0x53cfb5[_0x5c457b(0x276)]=_0x2e9863[_0x5c457b(0x276)]||_0x2e9863['name'],_0x3b56dd[_0x4fa90a]=_0x53cfb5;}});const _0x51cc15={};_0x51cc15[_0x53ad83(0x272)]=_0x53ad83(0xaf),_0x51cc15['description']=_0x53ad83(0x26c),_0x3b56dd[_0x53ad83(0x88)]=_0x51cc15;const _0x18fa5e={};return _0x18fa5e[_0x53ad83(0x272)]='Integer',_0x18fa5e[_0x53ad83(0x276)]='每页数量(可选)',_0x3b56dd[_0x53ad83(0x258)]=_0x18fa5e,_0x3b56dd;}return _0x87120b;}['generateRequestExample'](){const _0x2d1365=a0_0x1469c4,_0x5a7fd2=super[_0x2d1365(0x229)]();if(Object[_0x2d1365(0x9e)](_0x5a7fd2)[_0x2d1365(0xa7)]===0x0){const _0x5c571d={};return _0x5c571d[_0x2d1365(0x88)]=0x1,_0x5c571d[_0x2d1365(0x258)]=0x64,_0x5c571d;}const _0x1e2e53={..._0x5a7fd2};return _0x1e2e53[_0x2d1365(0x88)]=_0x5a7fd2[_0x2d1365(0x88)]??0x1,_0x1e2e53['pageSize']=_0x5a7fd2[_0x2d1365(0x258)]??0x64,_0x1e2e53;}['generateResponseExample'](){const _0x506af9=a0_0x1469c4,_0x302f6a={};return _0x302f6a[_0x506af9(0xf3)]=!![],_0x302f6a['msg']='',_0x302f6a[_0x506af9(0x10f)]='',_0x302f6a[_0x506af9(0x76)]=_0x506af9(0x213),_0x302f6a[_0x506af9(0x253)]=_0x506af9(0xab),_0x302f6a[_0x506af9(0x2a7)]=null,_0x302f6a;}[a0_0x1469c4(0xc9)](_0x40633c,_0x552a69){const _0x1f0f9d=a0_0x1469c4,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x552a69||{},_0x4e8b0d=this[_0x1f0f9d(0x2bb)]();if(useFullExample){const _0x3b56e4=this['generateRequestExample'](),{currentPage:_0x3edceb,pageSize:_0x3a1b5f,..._0x535e58}=_0x3b56e4,_0x370fb0=Object['keys'](_0x535e58)[_0x1f0f9d(0xa7)]>0x0;if(_0x370fb0){const _0x3a658c=_0x2ea95b=>{const _0x3dfda0=_0x1f0f9d;return JSON[_0x3dfda0(0x2a6)](_0x2ea95b,null,0x2)['split']('\x0a')[_0x3dfda0(0x2ee)]((_0x42efcd,_0x2a28e8)=>_0x2a28e8===0x0?_0x42efcd:indent+_0x42efcd)[_0x3dfda0(0x1a1)]('\x0a');};return _0x1f0f9d(0x1a8)+_0x40633c+'.'+_0x4e8b0d+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x40633c+'.'+_0x4e8b0d+'('+_0x3a658c(_0x3b56e4)+');';}else{const _0x3606c6=_0x57ba09=>{const _0xe15f52=_0x1f0f9d;return JSON[_0xe15f52(0x2a6)](_0x57ba09,null,0x2)[_0xe15f52(0x120)]('\x0a')['map']((_0x720415,_0x2848d8)=>_0x2848d8===0x0?_0x720415:indent+_0x720415)['join']('\x0a');},_0x323862={};return _0x323862[_0x1f0f9d(0x88)]=0x1,_0x323862[_0x1f0f9d(0x258)]=0x64,_0x1f0f9d(0x1a8)+_0x40633c+'.'+_0x4e8b0d+_0x1f0f9d(0x1bb)+_0x40633c+'.'+_0x4e8b0d+'('+_0x3606c6(_0x323862)+');';}}return _0x1f0f9d(0x1b6)+_0x40633c+'.'+_0x4e8b0d+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}[a0_0x1469c4(0x30c)](_0x50c455){const _0x3ca9c3=a0_0x1469c4,_0x3be814=this['getName'](),_0x1e8012=_0x50c455||_0x3ca9c3(0xcb),_0x9b28d6=_0x3ca9c3(0xf2)+_0x1e8012+'.'+_0x3be814+_0x3ca9c3(0x18a),_0x2d83f5=_0x3ca9c3(0x8e)+_0x1e8012+'.'+_0x3be814+_0x3ca9c3(0x170),_0x29d99={};return _0x29d99[_0x3ca9c3(0xa9)]=_0x9b28d6,_0x29d99['errorCode']=_0x2d83f5,_0x29d99;}}class UpdateOperation extends GenericOperation{[a0_0x1469c4(0xb1)](){const _0x50340d=a0_0x1469c4;return this[_0x50340d(0x27a)]();}[a0_0x1469c4(0xad)](){const _0x2d5d35=a0_0x1469c4,_0x50d911=this[_0x2d5d35(0xb1)](),_0x2057d8={};_0x2057d8[_0x2d5d35(0x272)]=_0x2d5d35(0x9b),_0x2057d8['description']=_0x2d5d35(0xb8),_0x2057d8['required']=!![];const _0x305f25={};_0x305f25['type']=_0x2d5d35(0x1c7),_0x305f25['description']=_0x2d5d35(0x8d),_0x305f25[_0x2d5d35(0x16b)]=!![],_0x305f25[_0x2d5d35(0x68)]=_0x50d911;const _0x2a8de8={};return _0x2a8de8['id']=_0x2057d8,_0x2a8de8[_0x2d5d35(0x253)]=_0x305f25,_0x2a8de8;}['getUpdatableFields'](){const _0x2dafb4=a0_0x1469c4;return this[_0x2dafb4(0xb1)]();}[a0_0x1469c4(0x150)](){const _0x5b6a3a=a0_0x1469c4,_0x5628ce=this[_0x5b6a3a(0x29b)][_0x5b6a3a(0x1ec)]||[],_0x1e6d5b=this['context'][_0x5b6a3a(0x240)],_0x2ff341=_0x5628ce[_0x5b6a3a(0x257)](_0x4596ca=>_0x4596ca['isPrimaryKey']()||_0x4596ca[_0x5b6a3a(0x167)]===_0x1e6d5b),_0x256c87=_0x5628ce[_0x5b6a3a(0x22f)](_0x3b9c72=>{const _0xddafa0=_0x5b6a3a;if(_0x3b9c72['deleted'])return![];if(_0x3b9c72===_0x2ff341||_0x3b9c72[_0xddafa0(0xc3)]())return![];if(_0x3b9c72['isCreateTime']()||_0x3b9c72[_0xddafa0(0x183)]())return![];if(_0x3b9c72[_0xddafa0(0x234)]())return![];return!![];});return _0x2ff341?[_0x2ff341,..._0x256c87]:_0x256c87;}[a0_0x1469c4(0x21a)](){const _0x56d6d6=a0_0x1469c4,_0x33870f=this[_0x56d6d6(0x150)](),_0xfaad31=this[_0x56d6d6(0x29b)][_0x56d6d6(0x240)],_0x112f80=_0x33870f['map'](_0xc96f99=>{const _0x48fe74=_0x56d6d6,_0x22979d=_0xc96f99[_0x48fe74(0xc3)]()||_0xc96f99[_0x48fe74(0x167)]===_0xfaad31,_0x2d3f88=_0x22979d?'id':_0xc96f99['code'],_0x2f4996={};return _0x2f4996['name']=_0x2d3f88,_0x2f4996['type']=_0xc96f99[_0x48fe74(0x272)],_0x2f4996[_0x48fe74(0x276)]=_0x22979d?_0x48fe74(0x230)+(_0xfaad31&&_0xfaad31!==_0xc96f99['code']?_0x48fe74(0x31b)+_0xc96f99[_0x48fe74(0x167)]+')':''):_0xc96f99[_0x48fe74(0x276)]||_0xc96f99['name'],_0x2f4996;}),_0x5283a4={};return _0x5283a4['description']=_0x56d6d6(0x128),_0x5283a4[_0x56d6d6(0x2a7)]=_0x112f80,_0x5283a4;}[a0_0x1469c4(0x1d4)](){const _0xe70006=a0_0x1469c4,_0x138960=this[_0xe70006(0xb1)](),_0x1fd073=Object[_0xe70006(0x30d)](_0x138960)[_0xe70006(0x2ee)](([_0x5e8957,_0x174510])=>{const _0x3dcc36=_0xe70006,_0x4d2ce9=_0x174510,_0x3e2f70={};return _0x3e2f70[_0x3dcc36(0x227)]=_0x5e8957,_0x3e2f70[_0x3dcc36(0x272)]=_0x4d2ce9[_0x3dcc36(0x272)]||_0x3dcc36(0x28d),_0x3e2f70[_0x3dcc36(0x276)]=_0x4d2ce9['description']||'-',_0x3e2f70;}),_0x55f630={};return _0x55f630[_0xe70006(0x276)]='update\x20接口接受两个参数:\x0a\x0a'+_0xe70006(0x8b)+_0xe70006(0x288)+'**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a'+_0xe70006(0xb0)+_0xe70006(0x2e7),_0x55f630[_0xe70006(0x2a7)]=_0x1fd073,_0x55f630;}[a0_0x1469c4(0x229)](){const _0x1d03d9=a0_0x1469c4,_0x46ae08=this[_0x1d03d9(0xb1)](),_0x3eba51={};Object[_0x1d03d9(0x30d)](_0x46ae08)[_0x1d03d9(0x244)](([_0xe867e0,_0x445702])=>{const _0x52e8c5=_0x1d03d9,_0x5a3c64=_0x445702;let _0xf3d0f8;if(typeof _0x5a3c64[_0x52e8c5(0x272)]===_0x52e8c5(0xf4))_0xf3d0f8=_0x5a3c64[_0x52e8c5(0x272)];else _0x5a3c64[_0x52e8c5(0x272)]&&typeof _0x5a3c64[_0x52e8c5(0x272)]===_0x52e8c5(0x1c7)?_0xf3d0f8=_0x5a3c64[_0x52e8c5(0x272)][_0x52e8c5(0x272)]||'TEXT':_0xf3d0f8=_0x52e8c5(0x16e);const _0x5e4f61=_0x5a3c64[_0x52e8c5(0x276)],_0x30ed65=this[_0x52e8c5(0x290)](_0xe867e0);_0x3eba51[_0xe867e0]=this[_0x52e8c5(0x281)](_0xe867e0,_0xf3d0f8,_0x30ed65?.[_0x52e8c5(0x26a)](),{'isPrimaryKey':![],'description':_0x5e4f61||_0x30ed65?.[_0x52e8c5(0x276)]||_0x30ed65?.['name']});});const _0xb3930d={};return _0xb3930d['id']=0x1,_0xb3930d[_0x1d03d9(0x253)]=_0x3eba51,_0xb3930d;}[a0_0x1469c4(0x27f)](){const _0x23fca1=a0_0x1469c4,_0x51b6c3=this['generateRequestExample'](),_0x5ca8c6={};return _0x5ca8c6[_0x23fca1(0x182)]=_0x23fca1(0xa8),_0x5ca8c6[_0x23fca1(0x276)]=_0x23fca1(0x12a)+_0x23fca1(0x69)+_0x23fca1(0x13e),_0x5ca8c6[_0x23fca1(0x253)]=_0x51b6c3,[_0x5ca8c6,{'title':_0x23fca1(0x20f),'description':_0x23fca1(0x177)+_0x23fca1(0x87)+_0x23fca1(0x7f),'data':this['generateHTTPRequestExample']()}];}[a0_0x1469c4(0x1cb)](){const _0x408bfb=a0_0x1469c4,_0x5e23a4=this[_0x408bfb(0xb1)](),_0x3d23b5={};_0x3d23b5['id']=0x1;const _0x36cac0=_0x3d23b5;return Object[_0x408bfb(0x30d)](_0x5e23a4)[_0x408bfb(0x244)](([_0x2a8dfd,_0x7721b8])=>{const _0x125fdd=_0x408bfb,_0x4e2443=_0x7721b8;let _0x4cad5a;if(typeof _0x4e2443[_0x125fdd(0x272)]===_0x125fdd(0xf4))_0x4cad5a=_0x4e2443[_0x125fdd(0x272)];else _0x4e2443[_0x125fdd(0x272)]&&typeof _0x4e2443['type']===_0x125fdd(0x1c7)?_0x4cad5a=_0x4e2443['type']['type']||'TEXT':_0x4cad5a=_0x125fdd(0x16e);const _0x177fb2=_0x4e2443[_0x125fdd(0x276)],_0x383485=this[_0x125fdd(0x290)](_0x2a8dfd);if(_0x383485?.[_0x125fdd(0xc3)]())return;_0x36cac0[_0x2a8dfd]=this[_0x125fdd(0x281)](_0x2a8dfd,_0x4cad5a,_0x383485?.[_0x125fdd(0x26a)](),{'isPrimaryKey':![],'description':_0x177fb2||_0x383485?.['description']||_0x383485?.[_0x125fdd(0x227)]});}),_0x36cac0;}['generateHTTPExample'](){const _0x155a18=a0_0x1469c4;return this[_0x155a18(0x1cb)]();}['generateSDKCallCode'](_0x462735,_0x3b90e8){const _0x164ba6=a0_0x1469c4,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3b90e8||{},_0x2b68bb=this[_0x164ba6(0x2bb)]();if(useFullExample){const _0x5d5b8c=this[_0x164ba6(0x229)](),_0x3a3a5b=JSON[_0x164ba6(0x2a6)](_0x5d5b8c[_0x164ba6(0x253)],null,0x2)[_0x164ba6(0x120)]('\x0a')['map']((_0x38c8ac,_0x132b15)=>_0x132b15===0x0?_0x38c8ac:indent+_0x38c8ac)[_0x164ba6(0x1a1)]('\x0a');return _0x164ba6(0x2e1)+_0x462735+'.'+_0x2b68bb+'('+_0x5d5b8c['id']+',\x20'+_0x3a3a5b+');';}return _0x164ba6(0x2e1)+_0x462735+'.'+_0x2b68bb+_0x164ba6(0x11f);}}class AggregateOperation extends GenericOperation{constructor(_0x1535fb,_0xccb05c,_0x20f647){super(_0x1535fb,_0xccb05c,_0x20f647);}[a0_0x1469c4(0xfd)](_0x2366e9){const _0x36344a=a0_0x1469c4;return _0x2366e9[_0x36344a(0x10a)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x36344a(0x15f)]()['toUpperCase']();}[a0_0x1469c4(0x22b)](){return AGGREGATE_FUNCTIONS;}[a0_0x1469c4(0xad)](){const _0x2d4883=a0_0x1469c4,_0x3fa992=super[_0x2d4883(0xad)](),_0x24c4d6={};_0x24c4d6[_0x2d4883(0x272)]=_0x2d4883(0x13a),_0x24c4d6[_0x2d4883(0x276)]=_0x2d4883(0x22e),_0x24c4d6[_0x2d4883(0x16b)]=![];const _0x594599={};_0x594599[_0x2d4883(0x272)]=_0x2d4883(0x189),_0x594599[_0x2d4883(0x276)]='查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)',_0x594599[_0x2d4883(0x16b)]=![];const _0x3c83ad={};_0x3c83ad['type']=_0x2d4883(0x13a),_0x3c83ad[_0x2d4883(0x276)]=_0x2d4883(0x1b5),_0x3c83ad[_0x2d4883(0x16b)]=![];const _0xd155df={};_0xd155df[_0x2d4883(0x272)]=_0x2d4883(0x2a2),_0xd155df[_0x2d4883(0x276)]='聚合函数配置数组',_0xd155df[_0x2d4883(0x16b)]=![];const _0x49ea9e={};_0x49ea9e[_0x2d4883(0x272)]=_0x2d4883(0x2a2),_0x49ea9e['description']='分组后的过滤条件(对聚合结果进行过滤)',_0x49ea9e[_0x2d4883(0x16b)]=![];const _0x182cc3={};_0x182cc3[_0x2d4883(0x272)]=_0x2d4883(0x2a2),_0x182cc3[_0x2d4883(0x276)]='排序规则(与\x20Filter\x20API\x20一致)',_0x182cc3[_0x2d4883(0x16b)]=![];const _0x4973ad={};_0x4973ad['type']=_0x2d4883(0x2c4),_0x4973ad[_0x2d4883(0x276)]=_0x2d4883(0x1a0),_0x4973ad[_0x2d4883(0x16b)]=![];const _0x2c21fc={};_0x2c21fc['type']='Number',_0x2c21fc[_0x2d4883(0x276)]=_0x2d4883(0x184),_0x2c21fc[_0x2d4883(0x16b)]=![];const _0x4d76ec={..._0x3fa992};return _0x4d76ec[_0x2d4883(0x200)]=_0x24c4d6,_0x4d76ec[_0x2d4883(0x80)]=_0x594599,_0x4d76ec['groupBy']=_0x3c83ad,_0x4d76ec['aggregate']=_0xd155df,_0x4d76ec[_0x2d4883(0x284)]=_0x49ea9e,_0x4d76ec[_0x2d4883(0x24c)]=_0x182cc3,_0x4d76ec[_0x2d4883(0x88)]=_0x4973ad,_0x4d76ec[_0x2d4883(0x258)]=_0x2c21fc,_0x4d76ec;}['getSystemFields'](){const _0x3baf25=a0_0x1469c4,_0x2b8224={};_0x2b8224[_0x3baf25(0x167)]='select',_0x2b8224['type']=_0x3baf25(0x13a),_0x2b8224[_0x3baf25(0x276)]=_0x3baf25(0x22e);const _0x969294={};_0x969294['code']='where',_0x969294[_0x3baf25(0x272)]=_0x3baf25(0x189),_0x969294[_0x3baf25(0x276)]=_0x3baf25(0xbc);const _0x1af4c0={};_0x1af4c0['code']=_0x3baf25(0xa1),_0x1af4c0['type']='String[]',_0x1af4c0['description']=_0x3baf25(0x1b5);const _0x12172b={};_0x12172b[_0x3baf25(0x167)]='aggregate',_0x12172b[_0x3baf25(0x272)]=_0x3baf25(0x2a2),_0x12172b['description']=_0x3baf25(0x13c);const _0x1a89ca={};_0x1a89ca[_0x3baf25(0x167)]=_0x3baf25(0x284),_0x1a89ca[_0x3baf25(0x272)]=_0x3baf25(0x2a2),_0x1a89ca[_0x3baf25(0x276)]=_0x3baf25(0x21b);const _0x2a9a71={};_0x2a9a71[_0x3baf25(0x167)]=_0x3baf25(0x24c),_0x2a9a71[_0x3baf25(0x272)]='Array',_0x2a9a71['description']=_0x3baf25(0x233);const _0x5650fc={};_0x5650fc[_0x3baf25(0x167)]=_0x3baf25(0x88),_0x5650fc['type']=_0x3baf25(0x2c4),_0x5650fc[_0x3baf25(0x276)]=_0x3baf25(0x1a0);const _0x825c18={};return _0x825c18['code']='pageSize',_0x825c18['type']=_0x3baf25(0x2c4),_0x825c18[_0x3baf25(0x276)]=_0x3baf25(0x184),[_0x2b8224,_0x969294,_0x1af4c0,_0x12172b,_0x1a89ca,_0x2a9a71,_0x5650fc,_0x825c18];}['generateRequestExample'](){const _0x4f5cce=a0_0x1469c4,_0xd3eca4=this[_0x4f5cce(0x29b)][_0x4f5cce(0x1ec)]||[];if(_0xd3eca4[_0x4f5cce(0xa7)]===0x0){const _0x29086a={};return _0x29086a[_0x4f5cce(0x80)]={},_0x29086a['groupBy']=[],_0x29086a[_0x4f5cce(0xeb)]=[],_0x29086a;}const _0x10ed2a={},_0x5b68f4=_0xd3eca4[_0x4f5cce(0xe6)](0x0,Math[_0x4f5cce(0xf9)](0x3,_0xd3eca4[_0x4f5cce(0xa7)]));_0x5b68f4[_0x4f5cce(0x244)](_0x512770=>{const _0x1dd4b5=_0x4f5cce,_0xfd9b8f=this[_0x1dd4b5(0x26e)](_0x512770);if(_0xfd9b8f['length']===0x0)return;const _0xa25f58=this[_0x1dd4b5(0x2ae)](_0x512770,_0xfd9b8f),_0x55fdc7=this[_0x1dd4b5(0x2f4)](_0x512770,_0xa25f58),_0x409c29={};_0x409c29[_0xa25f58]=_0x55fdc7,_0x10ed2a[_0x512770[_0x1dd4b5(0x167)]]=_0x409c29;});const _0xb8ac52=_0xd3eca4['slice'](0x0,Math['min'](0x2,_0xd3eca4[_0x4f5cce(0xa7)]))[_0x4f5cce(0x2ee)](_0x33cac8=>_0x33cac8[_0x4f5cce(0x167)]),_0x1eedac=[],_0x4e838c=_0xd3eca4[_0x4f5cce(0x22f)](_0x2aeb5c=>this[_0x4f5cce(0xdf)](_0x2aeb5c));if(_0x4e838c[_0x4f5cce(0xa7)]>0x0){const _0x45e4ff=_0x4e838c[0x0],_0xce6f62=_0x45e4ff[_0x4f5cce(0x167)],_0xc9d237={};_0xc9d237[_0x4f5cce(0x272)]=_0x4f5cce(0x1a6),_0xc9d237[_0x4f5cce(0x1b3)]=_0xce6f62,_0xc9d237[_0x4f5cce(0x265)]=_0xce6f62+'_sum',_0xc9d237[_0x4f5cce(0x1de)]=![],_0xc9d237[_0x4f5cce(0x25c)]=!![],_0xc9d237['precision']=0x2,_0x1eedac['push'](_0xc9d237);const _0x49e699={};_0x49e699[_0x4f5cce(0x272)]=_0x4f5cce(0x248),_0x49e699[_0x4f5cce(0x1b3)]=_0xce6f62,_0x49e699['alias']=_0xce6f62+'_avg',_0x49e699[_0x4f5cce(0x1de)]=![],_0x49e699[_0x4f5cce(0x25c)]=!![],_0x49e699[_0x4f5cce(0x296)]=0x2,_0x1eedac[_0x4f5cce(0x241)](_0x49e699);const _0x3b1d16={};_0x3b1d16[_0x4f5cce(0x272)]='max',_0x3b1d16['column']=_0xce6f62,_0x3b1d16[_0x4f5cce(0x265)]=_0xce6f62+_0x4f5cce(0x11e),_0x3b1d16[_0x4f5cce(0x1de)]=![],_0x3b1d16[_0x4f5cce(0x25c)]=!![],_0x3b1d16[_0x4f5cce(0x296)]=0x2,_0x1eedac['push'](_0x3b1d16);const _0x2e28ea={};_0x2e28ea['type']=_0x4f5cce(0xf9),_0x2e28ea[_0x4f5cce(0x1b3)]=_0xce6f62,_0x2e28ea['alias']=_0xce6f62+_0x4f5cce(0x2d0),_0x2e28ea[_0x4f5cce(0x1de)]=![],_0x2e28ea[_0x4f5cce(0x25c)]=!![],_0x2e28ea[_0x4f5cce(0x296)]=0x2,_0x1eedac[_0x4f5cce(0x241)](_0x2e28ea);}else{if(_0xd3eca4[_0x4f5cce(0xa7)]>0x0){const _0x5254ac=_0xd3eca4[0x0],_0x5bd565=_0x5254ac[_0x4f5cce(0x167)],_0x55cb49={};_0x55cb49['type']=_0x4f5cce(0xce),_0x55cb49[_0x4f5cce(0x1b3)]=_0x5bd565,_0x55cb49[_0x4f5cce(0x265)]=_0x4f5cce(0x15b),_0x55cb49[_0x4f5cce(0x1de)]=!![],_0x1eedac['push'](_0x55cb49);}}const _0x3d657a=[];if(_0xd3eca4[_0x4f5cce(0xa7)]>0x0){const _0x283be4=_0xd3eca4[0x0]['code'],_0x44eba8={};_0x44eba8[_0x283be4]='desc',_0x3d657a[_0x4f5cce(0x241)](_0x44eba8);}const _0x2c65d3=[..._0xb8ac52,..._0x1eedac[_0x4f5cce(0x2ee)](_0x13575f=>_0x13575f[_0x4f5cce(0x265)])],_0x5ccedb=[];if(_0x1eedac[_0x4f5cce(0xa7)]>0x0){const _0x16770b={};_0x16770b[_0x4f5cce(0x2a3)]=0x0;const _0x43209c={};_0x43209c['columnName']=_0x1eedac[0x0]['alias'],_0x43209c[_0x4f5cce(0x262)]=_0x16770b,_0x5ccedb[_0x4f5cce(0x241)](_0x43209c);}const _0x38782a={};return _0x38782a[_0x4f5cce(0x200)]=_0x2c65d3,_0x38782a[_0x4f5cce(0x80)]=_0x10ed2a,_0x38782a[_0x4f5cce(0xa1)]=_0xb8ac52,_0x38782a[_0x4f5cce(0xeb)]=_0x1eedac,_0x38782a[_0x4f5cce(0x284)]=_0x5ccedb[_0x4f5cce(0xa7)]>0x0?_0x5ccedb:undefined,_0x38782a[_0x4f5cce(0x24c)]=_0x3d657a,_0x38782a[_0x4f5cce(0x88)]=0x1,_0x38782a[_0x4f5cce(0x258)]=0x14,_0x38782a;}[a0_0x1469c4(0xc9)](_0x12e9c2,_0x286368){const _0x19e10c=a0_0x1469c4,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x286368||{},_0x1e488c=this[_0x19e10c(0x2bb)](),_0x43e995=this[_0x19e10c(0x229)](),_0xc59314=_0x207a9c=>{const _0x5c2f2c=_0x19e10c;return JSON[_0x5c2f2c(0x2a6)](_0x207a9c,null,0x2)['split']('\x0a')[_0x5c2f2c(0x2ee)]((_0x188655,_0x321c5a)=>_0x321c5a===0x0?_0x188655:indent+_0x188655)[_0x5c2f2c(0x1a1)]('\x0a');};if(useFullExample){const _0x2cd3fd=this[_0x19e10c(0x29b)][_0x19e10c(0x1ec)]||[],_0x1e31f9=_0x2cd3fd[_0x19e10c(0x22f)](_0x4c9eb6=>this[_0x19e10c(0xdf)](_0x4c9eb6)),_0x2a0969={'where':_0x2cd3fd[0x0]?{[_0x2cd3fd[0x0][_0x19e10c(0x167)]]:{'$eq':this['generateExampleValue'](_0x2cd3fd[0x0],'$eq')}}:{},'aggregate':_0x1e31f9[_0x19e10c(0xa7)]>0x0?[{'type':_0x19e10c(0x1a6),'column':_0x1e31f9[0x0][_0x19e10c(0x167)],'alias':_0x1e31f9[0x0]['code']+_0x19e10c(0x9d),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x19e10c(0xce),'column':_0x2cd3fd[0x0][_0x19e10c(0x167)],'alias':_0x19e10c(0x15b),'distinct':!![]}],'orderBy':[{[_0x2cd3fd[0x0][_0x19e10c(0x167)]]:_0x19e10c(0x2fe)}]};let _0x27116b='';return _0x2cd3fd[_0x19e10c(0xa7)]>=0x3&&(_0x27116b=_0x19e10c(0x2c8)+_0x12e9c2+'.'+_0x1e488c+'('+_0xc59314(_0x43e995)+');'),'//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x12e9c2+'.'+_0x1e488c+'('+_0xc59314(_0x2a0969)+');'+_0x27116b;}const _0x3069d8=JSON[_0x19e10c(0x2a6)](_0x43e995,null,0x2)[_0x19e10c(0x120)]('\x0a')[_0x19e10c(0x2ee)]((_0x2d80f7,_0x586f35)=>_0x586f35===0x0?_0x2d80f7:indent+_0x2d80f7)['join']('\x0a');return _0x19e10c(0x2e1)+_0x12e9c2+'.'+_0x1e488c+'('+_0x3069d8+');';}[a0_0x1469c4(0xdf)](_0x16384e){const _0x53431c=a0_0x1469c4,_0x18ee42=_0x16384e['getDbTypeForOperation']();return['NUMBER',_0x53431c(0x1ff),_0x53431c(0x261),_0x53431c(0x100)][_0x53431c(0x1e4)](_0x18ee42)||[_0x53431c(0x1c5),_0x53431c(0x2b2),_0x53431c(0x1ab),_0x53431c(0x2ad),_0x53431c(0x18b)][_0x53431c(0x1e4)](_0x18ee42);}[a0_0x1469c4(0x26e)](_0x10c311){const _0x2b1b1a=a0_0x1469c4,_0x3adbdf=_0x10c311[_0x2b1b1a(0x26a)](),_0x227546=[];if([_0x2b1b1a(0x9b),_0x2b1b1a(0x1ff),_0x2b1b1a(0x261),_0x2b1b1a(0x100)][_0x2b1b1a(0x1e4)](_0x3adbdf)||[_0x2b1b1a(0x1c5),_0x2b1b1a(0x2b2),'SMALLINT','DOUBLE',_0x2b1b1a(0x18b)][_0x2b1b1a(0x1e4)](_0x3adbdf))_0x227546[_0x2b1b1a(0x241)](_0x2b1b1a(0x29f),_0x2b1b1a(0x292),_0x2b1b1a(0x2a3),'$lte','$gteq',_0x2b1b1a(0x235),_0x2b1b1a(0x83));else{if([_0x2b1b1a(0x1cd),_0x2b1b1a(0x16e),_0x2b1b1a(0x302)]['includes'](_0x3adbdf)||[_0x2b1b1a(0x1e6),_0x2b1b1a(0x250)][_0x2b1b1a(0x1e4)](_0x3adbdf))_0x227546[_0x2b1b1a(0x241)](_0x2b1b1a(0x29f),_0x2b1b1a(0x292),_0x2b1b1a(0x83),_0x2b1b1a(0x2d7),_0x2b1b1a(0x22a),_0x2b1b1a(0x1d5));else{if([_0x2b1b1a(0x2e4),_0x2b1b1a(0x1c3),_0x2b1b1a(0x163)][_0x2b1b1a(0x1e4)](_0x3adbdf)||[_0x2b1b1a(0x2c0)][_0x2b1b1a(0x1e4)](_0x3adbdf))_0x227546[_0x2b1b1a(0x241)](_0x2b1b1a(0x29f),_0x2b1b1a(0x292),_0x2b1b1a(0x2a3),_0x2b1b1a(0x252),'$gteq',_0x2b1b1a(0x235));else['BOOLEAN','BOOL',_0x2b1b1a(0xec)][_0x2b1b1a(0x1e4)](_0x3adbdf)?_0x227546[_0x2b1b1a(0x241)]('$eq',_0x2b1b1a(0x292)):_0x227546['push']('$eq',_0x2b1b1a(0x292));}}return _0x227546;}[a0_0x1469c4(0x2ae)](_0x564657,_0x418c9c){const _0x2f171d=a0_0x1469c4,_0xca07d3=_0x564657['getDbTypeForOperation']();if([_0x2f171d(0x9b),'INTEGER',_0x2f171d(0x261),'DECIMAL'][_0x2f171d(0x1e4)](_0xca07d3)||['INT','TINYINT',_0x2f171d(0x1ab),_0x2f171d(0x2ad),_0x2f171d(0x18b)][_0x2f171d(0x1e4)](_0xca07d3))return _0x418c9c[_0x2f171d(0x1e4)](_0x2f171d(0x2a3))?_0x2f171d(0x2a3):_0x2f171d(0x29f);if([_0x2f171d(0x1cd),_0x2f171d(0x16e),_0x2f171d(0x302)]['includes'](_0xca07d3)||[_0x2f171d(0x1e6),_0x2f171d(0x250)][_0x2f171d(0x1e4)](_0xca07d3))return _0x418c9c[_0x2f171d(0x1e4)](_0x2f171d(0x2d7))?_0x2f171d(0x2d7):'$eq';if([_0x2f171d(0x2e4),_0x2f171d(0x1c3),_0x2f171d(0x163),'TIME'][_0x2f171d(0x1e4)](_0xca07d3))return _0x418c9c[_0x2f171d(0x1e4)](_0x2f171d(0x2a3))?'$gte':'$eq';return _0x2f171d(0x29f);}[a0_0x1469c4(0x2f4)](_0x5bc638,_0x250a3b){const _0x143c06=a0_0x1469c4,_0x112402=_0x5bc638[_0x143c06(0x26a)](),_0x44e737=_0x5bc638['getEnumOptions']();if(_0x44e737&&_0x44e737['length']>0x0){if(_0x250a3b===_0x143c06(0x83))return _0x44e737['slice'](0x0,0x2)[_0x143c06(0x2ee)](_0x15c7ec=>_0x15c7ec['value']);return _0x44e737[0x0]['value'];}if([_0x143c06(0x9b),'INTEGER',_0x143c06(0x261),_0x143c06(0x100)][_0x143c06(0x1e4)](_0x112402)||[_0x143c06(0x1c5),_0x143c06(0x2b2),_0x143c06(0x1ab),_0x143c06(0x2ad),'FLOAT'][_0x143c06(0x1e4)](_0x112402)){if(_0x250a3b===_0x143c06(0x83))return[0x1,0x2,0x3];if(_0x250a3b===_0x143c06(0x2a3)||_0x250a3b==='$gteq')return 0x0;if(_0x250a3b===_0x143c06(0x252)||_0x250a3b===_0x143c06(0x235))return 0x64;return 0x1;}if(['STRING','TEXT',_0x143c06(0x302)][_0x143c06(0x1e4)](_0x112402)||[_0x143c06(0x1e6),'LONGTEXT'][_0x143c06(0x1e4)](_0x112402)){if(_0x250a3b==='$in')return[_0x143c06(0x1ef),_0x143c06(0x9c)];if(_0x250a3b===_0x143c06(0x2d7))return _0x143c06(0x217);if(_0x250a3b===_0x143c06(0x22a))return _0x143c06(0x138);if(_0x250a3b==='$endWith')return _0x143c06(0x2be);return _0x143c06(0x115);}if(['DATE','DATETIME','TIMESTAMP',_0x143c06(0x2c0)]['includes'](_0x112402)){if(_0x250a3b===_0x143c06(0x2a3)||_0x250a3b==='$gteq')return _0x143c06(0x1fc);if(_0x250a3b===_0x143c06(0x252)||_0x250a3b===_0x143c06(0x235))return _0x143c06(0x255);return _0x143c06(0x1fc);}if(['BOOLEAN',_0x143c06(0xda),_0x143c06(0xec)][_0x143c06(0x1e4)](_0x112402))return!![];return _0x250a3b===_0x143c06(0x83)?[_0x143c06(0x1ef),_0x143c06(0x9c)]:'value';}['getRequestParamsDocInfo'](){const _0x12b242=a0_0x1469c4,_0x1c0d7b=this[_0x12b242(0xad)](),_0x1a34e8=Object[_0x12b242(0x30d)](_0x1c0d7b)[_0x12b242(0x22f)](([_0xd968bb])=>_0xd968bb!=='currentPage'&&_0xd968bb!=='pageSize')[_0x12b242(0x2ee)](([_0x347535,_0x4d577f])=>{const _0x15048e=_0x12b242,_0x222ea2=_0x4d577f,_0x30fa82={};return _0x30fa82[_0x15048e(0x227)]=_0x347535,_0x30fa82[_0x15048e(0x272)]=_0x222ea2[_0x15048e(0x272)]||_0x15048e(0x28d),_0x30fa82[_0x15048e(0x276)]=_0x222ea2[_0x15048e(0x276)]||'-',_0x30fa82['required']=_0x222ea2[_0x15048e(0x16b)],_0x30fa82;}),_0x47feee={};return _0x47feee['description']=_0x12b242(0xba),_0x47feee['params']=_0x1a34e8,_0x47feee;}['generateResponseExample'](){const _0x525a28=a0_0x1469c4,_0x27e828=this[_0x525a28(0x229)]()[_0x525a28(0xeb)],_0x2096ce=[{}],_0x28ceb1=[];_0x27e828?.['forEach'](_0x4001ce=>{const _0x12daf8=_0x525a28,_0x54e45e={};_0x54e45e['title']=_0x4001ce['alias'],_0x54e45e['dataIndex']=_0x4001ce['alias'],_0x28ceb1[_0x12daf8(0x241)](_0x54e45e),_0x2096ce[0x0][_0x4001ce['alias']]=_0x4001ce[_0x12daf8(0x272)]===_0x12daf8(0xce)?0x64:Math[_0x12daf8(0x25c)](Math[_0x12daf8(0xd8)]()*0x64*0x64)/0x64;});const _0x2f1317={};_0x2f1317[_0x525a28(0x258)]=0x1,_0x2f1317['totalCount']=0x64,_0x2f1317[_0x525a28(0x88)]=0x1;const _0x5cdda7={};_0x5cdda7[_0x525a28(0x143)]=_0x2f1317,_0x5cdda7[_0x525a28(0x20b)]=_0x2096ce,_0x5cdda7[_0x525a28(0x12f)]=_0x28ceb1;const _0x246309={};return _0x246309[_0x525a28(0xf3)]=!![],_0x246309[_0x525a28(0x2a9)]='',_0x246309[_0x525a28(0x10f)]='',_0x246309['errorCode']=_0x525a28(0x213),_0x246309[_0x525a28(0x253)]=_0x5cdda7,_0x246309[_0x525a28(0x2a7)]=null,_0x246309;}}class OperationFactory{['create'](_0x389862,_0xdb9ed9,_0x586a3f){const _0x35d3a7=a0_0x1469c4;switch(_0x389862){case _0x35d3a7(0x1d6):return new GetSelectOptionsOperation(_0x389862,_0xdb9ed9,_0x586a3f);case _0x35d3a7(0x283):return new GetListOperation(_0x389862,_0xdb9ed9,_0x586a3f);case _0x35d3a7(0x22f):return new FilterOperation(_0x389862,_0xdb9ed9,_0x586a3f);case _0x35d3a7(0x271):return new ExcelExportOperation(_0x389862,_0xdb9ed9,_0x586a3f);case _0x35d3a7(0x142):return new UpdateOperation(_0x389862,_0xdb9ed9,_0x586a3f);case'aggregate':return new AggregateOperation(_0x389862,_0xdb9ed9,_0x586a3f);default:return new GenericOperation(_0x389862,_0xdb9ed9,_0x586a3f);}}['createAll'](_0x239235,_0x1d8c28){const _0x3419fe=a0_0x1469c4,_0x81d3f=new Map();return Object['entries'](_0x239235)[_0x3419fe(0x244)](([_0x3c0632,_0x49ea68])=>{const _0x3fe3aa=_0x3419fe;_0x81d3f[_0x3fe3aa(0x23f)](_0x3c0632,this[_0x3fe3aa(0x277)](_0x3c0632,_0x49ea68,_0x1d8c28));}),_0x81d3f;}}class OperationList{[a0_0x1469c4(0x2b4)];constructor(_0x441927,_0x5db44a){const _0x3c3468=a0_0x1469c4,_0x2a2ff3=new OperationFactory();this[_0x3c3468(0x2b4)]=_0x2a2ff3[_0x3c3468(0x2f3)](_0x441927,_0x5db44a);}[a0_0x1469c4(0x127)](_0x8728e1){const _0x2589d4=a0_0x1469c4;return this[_0x2589d4(0x2b4)]['get'](_0x8728e1);}['has'](_0x5bebfe){const _0x6460da=a0_0x1469c4;return this[_0x6460da(0x2b4)][_0x6460da(0x95)](_0x5bebfe);}[a0_0x1469c4(0x112)](){const _0x38edfc=a0_0x1469c4;return this[_0x38edfc(0x2b4)][_0x38edfc(0x112)];}[a0_0x1469c4(0x26d)](){const _0x3b1084=a0_0x1469c4;return Array[_0x3b1084(0x28c)](this[_0x3b1084(0x2b4)][_0x3b1084(0x9e)]());}[a0_0x1469c4(0x14c)](){const _0x1e4803=a0_0x1469c4,_0x1fa7c9=Array[_0x1e4803(0x28c)](this[_0x1e4803(0x2b4)][_0x1e4803(0xd6)]());return this[_0x1e4803(0x29d)](_0x1fa7c9);}['getEnabled'](){const _0x762b9d=a0_0x1469c4;return this[_0x762b9d(0x14c)]()['filter'](_0x3335d0=>_0x3335d0[_0x762b9d(0xac)]());}['getDisabled'](){const _0x3202c9=a0_0x1469c4;return this[_0x3202c9(0x14c)]()[_0x3202c9(0x22f)](_0x3a38ad=>!_0x3a38ad[_0x3202c9(0xac)]());}['getEnabledNames'](){const _0x4a483d=a0_0x1469c4;return this[_0x4a483d(0x2b6)]()[_0x4a483d(0x2ee)](_0x30d93e=>_0x30d93e['getName']());}[a0_0x1469c4(0x18e)](){const _0x6512c6=a0_0x1469c4;return this[_0x6512c6(0xaa)]()[_0x6512c6(0x2ee)](_0x32a2b8=>_0x32a2b8[_0x6512c6(0x2bb)]());}[a0_0x1469c4(0x1eb)](_0x130103){const _0x13d357=a0_0x1469c4;return this[_0x13d357(0x14c)]()[_0x13d357(0x22f)](_0x4d2922=>_0x4d2922[_0x13d357(0x2a0)]()===_0x130103);}[a0_0x1469c4(0x22f)](_0xc903c2){const _0x20879f=a0_0x1469c4;return this[_0x20879f(0x14c)]()[_0x20879f(0x22f)](_0xc903c2);}['getFiltered'](_0x337a05={}){const _0x1d241d=a0_0x1469c4;let _0x56d0d2=this[_0x1d241d(0x14c)]();!_0x337a05['includeDisabled']&&(_0x56d0d2=_0x56d0d2[_0x1d241d(0x22f)](_0x5ac478=>_0x5ac478['isEnabled']()));if(_0x337a05[_0x1d241d(0x2c6)]!==![]){const _0xe6911d=_0x56d0d2[_0x1d241d(0x2ee)](_0xf33a6=>({'name':_0xf33a6[_0x1d241d(0x2bb)](),'operation':_0xf33a6})),_0x5aae2f=filterApiOperations(_0xe6911d);_0x56d0d2=_0x5aae2f[_0x1d241d(0x2ee)](_0x1d126b=>_0x1d126b[_0x1d241d(0x206)]),_0x56d0d2=this[_0x1d241d(0x29d)](_0x56d0d2);}return _0x337a05[_0x1d241d(0x314)]&&(_0x56d0d2=_0x56d0d2[_0x1d241d(0x22f)](_0x337a05[_0x1d241d(0x314)])),_0x56d0d2;}[a0_0x1469c4(0x29d)](_0x218cd7){const _0x17901b=a0_0x1469c4,_0x42913d=_0x218cd7[_0x17901b(0x257)](_0x373e79=>_0x373e79[_0x17901b(0x2bb)]()===_0x17901b(0x22f)),_0xc14ba=_0x218cd7[_0x17901b(0x22f)](_0x311d89=>_0x311d89[_0x17901b(0x2bb)]()!==_0x17901b(0x22f));return _0x42913d?[_0x42913d,..._0xc14ba]:_0xc14ba;}[a0_0x1469c4(0x278)](){const _0x16585d=a0_0x1469c4,_0x4ffcac=this[_0x16585d(0x2b6)]();return{'total':this[_0x16585d(0x112)](),'enabled':_0x4ffcac[_0x16585d(0xa7)],'disabled':this['size']()-_0x4ffcac[_0x16585d(0xa7)],'byType':this[_0x16585d(0xc8)](_0x4ffcac),'byMethod':this[_0x16585d(0x2b5)](_0x4ffcac)};}[a0_0x1469c4(0xc8)](_0x269149){const _0x3cfb27={};return _0x269149['forEach'](_0x1f2f2e=>{const _0x697d05=a0_0x3ac1,_0x2d3c1a=_0x1f2f2e[_0x697d05(0x2a0)]();_0x2d3c1a&&(_0x3cfb27[_0x2d3c1a]=(_0x3cfb27[_0x2d3c1a]||0x0)+0x1);}),_0x3cfb27;}[a0_0x1469c4(0x2b5)](_0x3693f3){const _0x1d6147=a0_0x1469c4,_0x455767={};return _0x3693f3[_0x1d6147(0x244)](_0x3936b4=>{const _0x1c0351=_0x1d6147,_0x234585=_0x3936b4[_0x1c0351(0x2ff)]();_0x234585&&(_0x455767[_0x234585]=(_0x455767[_0x234585]||0x0)+0x1);}),_0x455767;}[Symbol[a0_0x1469c4(0x1aa)]](){const _0x2c5dc9=a0_0x1469c4;return this[_0x2c5dc9(0x2b4)][_0x2c5dc9(0xd6)]();}[a0_0x1469c4(0xe2)](){const _0x46e760=a0_0x1469c4,_0x1d44b5=this[_0x46e760(0x278)]();return _0x46e760(0xd7)+_0x1d44b5[_0x46e760(0x1da)]+'/'+_0x1d44b5[_0x46e760(0x31a)]+'\x20operations)';}}class DBConfig{[a0_0x1469c4(0x91)];[a0_0x1469c4(0x1bd)];['dbName'];['dbType'];['dbVersion'];[a0_0x1469c4(0x139)];[a0_0x1469c4(0x1f8)];[a0_0x1469c4(0x240)];[a0_0x1469c4(0x236)];[a0_0x1469c4(0x23e)];constructor(_0x30987c,_0x444f42){const _0x49ea83=a0_0x1469c4;this['raw']=_0x444f42,this[_0x49ea83(0x1bd)]=_0x30987c[_0x49ea83(0x1bd)],this[_0x49ea83(0x26f)]=_0x30987c['dbName'],this['dbType']=_0x30987c[_0x49ea83(0xb6)],this[_0x49ea83(0x149)]=_0x30987c[_0x49ea83(0x149)],this[_0x49ea83(0x139)]=_0x30987c[_0x49ea83(0x139)],this[_0x49ea83(0x1f8)]=_0x30987c[_0x49ea83(0x1f8)],this[_0x49ea83(0x240)]=_0x30987c['pkField'],this[_0x49ea83(0x236)]=_0x30987c[_0x49ea83(0x236)],this[_0x49ea83(0x23e)]=_0x30987c[_0x49ea83(0x23e)];}[a0_0x1469c4(0x2e8)](){const _0x476f4b=a0_0x1469c4;return this[_0x476f4b(0x91)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x1469c4(0x156)];['_fieldList'];['_fieldListWithDeleted'];constructor(_0xc044e5){const _0x21202e=a0_0x1469c4,_0x3ff873={..._0xc044e5};_0x3ff873['id']=_0xc044e5[_0x21202e(0x2d9)]||_0xc044e5['id'],_0x3ff873[_0x21202e(0x173)]=_0xc044e5[_0x21202e(0x118)]||_0xc044e5[_0x21202e(0x173)]||_0xc044e5[_0x21202e(0x167)],super(_0x3ff873);}[a0_0x1469c4(0x1fb)](){return;}['getRelations'](){return[];}['getIndexes'](){return[];}get['source'](){const _0xfa72e7=a0_0x1469c4;return this[_0xfa72e7(0xa0)]();}[a0_0x1469c4(0xc6)](){const _0x4c5846=a0_0x1469c4;if(!this['_fieldList'])throw new Error(_0x4c5846(0x22c));return this[_0x4c5846(0xe7)];}[a0_0x1469c4(0x94)](){const _0x1c185b=a0_0x1469c4;if(!this[_0x1c185b(0x1ae)])throw new Error(_0x1c185b(0x85));return this[_0x1c185b(0x1ae)];}[a0_0x1469c4(0x1f7)](){return[];}['getFieldsWithDeleted'](){const _0x427887=a0_0x1469c4,_0xc068ce=this[_0x427887(0x294)]();return _0xc068ce[_0x427887(0x1ec)];}[a0_0x1469c4(0x2db)](){const _0x164a5b=a0_0x1469c4;return this[_0x164a5b(0x1f7)]()[_0x164a5b(0xa7)];}[a0_0x1469c4(0x237)](_0x5ab754){const _0x1a5ea0=a0_0x1469c4,_0x254244=this[_0x1a5ea0(0x1b2)](_0x5ab754);return _0x254244?_0x254244[_0x1a5ea0(0x91)]:undefined;}[a0_0x1469c4(0x2d8)](_0x31b656){return;}['parseFieldExtend'](_0x2e51c6){const _0x2348d8=a0_0x1469c4;if(!_0x2e51c6||typeof _0x2e51c6!==_0x2348d8(0x1c7))return!![]&&console['warn']('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0x2e51c6),{};if(_0x2348d8(0x240)in _0x2e51c6){const _0x495927=_0x2e51c6;return{'primaryKey':typeof _0x495927[_0x2348d8(0x240)]===_0x2348d8(0x135)?_0x495927[_0x2348d8(0x240)]:Boolean(_0x495927[_0x2348d8(0x240)]),'required':_0x495927[_0x2348d8(0x16b)],'systemRetain':Boolean(_0x495927[_0x2348d8(0xfc)]),'autoIncrement':_0x495927[_0x2348d8(0x24a)]??undefined};}if(!(_0x2348d8(0x6d)in _0x2e51c6)||!_0x2e51c6[_0x2348d8(0x6d)])return{};try{const _0x2c70c5=typeof _0x2e51c6[_0x2348d8(0x6d)]===_0x2348d8(0xf4)?JSON[_0x2348d8(0x123)](_0x2e51c6[_0x2348d8(0x6d)]):_0x2e51c6[_0x2348d8(0x6d)];if(typeof _0x2c70c5!=='object'||_0x2c70c5===null)return{};return _0x2c70c5;}catch{return{};}}[a0_0x1469c4(0x1e1)](){const _0x2e5d93=a0_0x1469c4;if(!this[_0x2e5d93(0x156)]){const _0x58b4c3=this[_0x2e5d93(0x161)](this['getOperationsData']()||{});this[_0x2e5d93(0x156)]=new OperationList(_0x58b4c3,{'fields':this['getFieldList']()[_0x2e5d93(0x18c)](),'pkField':this[_0x2e5d93(0x164)][_0x2e5d93(0x10e)]?.[_0x2e5d93(0x240)],'dbtableConfig':this[_0x2e5d93(0x164)][_0x2e5d93(0x10e)]||null});}return this[_0x2e5d93(0x156)];}[a0_0x1469c4(0x161)](_0x1409c9){const _0x268cb8=a0_0x1469c4;if(_0x1409c9[_0x268cb8(0x22f)]!==undefined)return _0x1409c9;return{..._0x1409c9,'filter':this[_0x268cb8(0x154)]()};}[a0_0x1469c4(0x154)](){const _0x4d3319=a0_0x1469c4,_0x2729bb=this[_0x4d3319(0x90)]()?.[_0x4d3319(0x283)];let _0x1d6ed6=_0x2729bb?.[_0x4d3319(0x73)],_0x32750f='';if(!_0x1d6ed6&&this[_0x4d3319(0x90)]()){const _0x443533=Object[_0x4d3319(0xd6)](this[_0x4d3319(0x90)]());for(const _0x16f649 of _0x443533){if(_0x16f649&&typeof _0x16f649===_0x4d3319(0x1c7)&&_0x4d3319(0x73)in _0x16f649){_0x1d6ed6=_0x16f649[_0x4d3319(0x73)];break;}}}if(_0x2729bb?.['path']){const _0xdfd8b8=_0x2729bb[_0x4d3319(0x13b)],_0x404752=_0xdfd8b8[_0x4d3319(0x212)]('/');_0x404752!==-0x1&&(_0x32750f=_0xdfd8b8[_0x4d3319(0x129)](0x0,_0x404752));}const _0x2fb039={};_0x2fb039[_0x4d3319(0x227)]='where',_0x2fb039['type']=_0x4d3319(0x1c7),_0x2fb039[_0x4d3319(0x16b)]=![];const _0x2eadea={};_0x2eadea[_0x4d3319(0x227)]=_0x4d3319(0x200),_0x2eadea['type']=_0x4d3319(0x26b),_0x2eadea[_0x4d3319(0x16b)]=![];const _0x141eb1={};_0x141eb1[_0x4d3319(0x227)]=_0x4d3319(0x24c),_0x141eb1[_0x4d3319(0x272)]=_0x4d3319(0x26b),_0x141eb1[_0x4d3319(0x16b)]=![];const _0x5ef6a7={};_0x5ef6a7[_0x4d3319(0x227)]=_0x4d3319(0x88),_0x5ef6a7['type']='number',_0x5ef6a7[_0x4d3319(0x16b)]=![],_0x5ef6a7[_0x4d3319(0x157)]=0x1;const _0x4c4595={};_0x4c4595[_0x4d3319(0x227)]=_0x4d3319(0x258),_0x4c4595['type']='number',_0x4c4595['required']=![],_0x4c4595[_0x4d3319(0x157)]=0xa;const _0x290602={};return _0x290602[_0x4d3319(0x227)]=_0x4d3319(0x22f),_0x290602['type']=_0x4d3319(0x93),_0x290602[_0x4d3319(0x276)]=_0x4d3319(0x113),_0x290602[_0x4d3319(0x1f1)]=_0x4d3319(0x72),_0x290602[_0x4d3319(0x73)]=_0x1d6ed6,_0x290602['path']=_0x32750f?_0x32750f+_0x4d3319(0x2b8):'/filter',_0x290602['params']=_0x2729bb?.[_0x4d3319(0x2a7)]||[_0x2fb039,_0x2eadea,_0x141eb1,_0x5ef6a7,_0x4c4595],_0x290602[_0x4d3319(0x27e)]=!![],_0x290602;}['getOperations'](){const _0x139e75=a0_0x1469c4;return this[_0x139e75(0x1e1)]()[_0x139e75(0x14c)]();}['getOperationCount'](){const _0x3f34ee=a0_0x1469c4;return this[_0x3f34ee(0x1e1)]()[_0x3f34ee(0x112)]();}[a0_0x1469c4(0x105)](_0x106ed3){const _0x56e4ae=a0_0x1469c4;if(typeof _0x106ed3!==_0x56e4ae(0xf4)){!![]&&console['warn'](_0x56e4ae(0x146),_0x106ed3);return;}return this[_0x56e4ae(0x1e1)]()[_0x56e4ae(0x127)](_0x106ed3);}[a0_0x1469c4(0x19c)](_0x408ad4){const _0x1b7bcd=a0_0x1469c4;if(typeof _0x408ad4!==_0x1b7bcd(0xf4))return![];return this['getOperationList']()[_0x1b7bcd(0x95)](_0x408ad4);}[a0_0x1469c4(0x14e)](_0x2c40e5){const _0x49a495=a0_0x1469c4;if(typeof _0x2c40e5!==_0x49a495(0xf4))return![];const _0x296a73=this[_0x49a495(0x105)](_0x2c40e5);return _0x296a73?.[_0x49a495(0xac)]()||![];}[a0_0x1469c4(0x2ce)](){const _0x1e30da=a0_0x1469c4;return this[_0x1e30da(0x1e1)]()[_0x1e30da(0x24f)]();}[a0_0x1469c4(0xee)](){const _0x2bc928=a0_0x1469c4;return this[_0x2bc928(0x1e1)]()['getDisabledNames']();}[a0_0x1469c4(0x287)](){const _0x39f584=a0_0x1469c4;return this[_0x39f584(0x1e1)]()['getEnabled']();}[a0_0x1469c4(0xdc)](){const _0x5dd6fd=a0_0x1469c4;return this[_0x5dd6fd(0x1e1)]()[_0x5dd6fd(0xaa)]();}[a0_0x1469c4(0x223)](_0x4b563b={}){const _0x492803=a0_0x1469c4;return this['getOperationList']()[_0x492803(0xb5)](_0x4b563b);}[a0_0x1469c4(0x278)](){const _0x25b579=a0_0x1469c4;return{'fieldCount':this[_0x25b579(0x2db)](),'systemFieldCount':this[_0x25b579(0x1e7)]()[_0x25b579(0xa7)],'businessFieldCount':this[_0x25b579(0x2d2)]()[_0x25b579(0xa7)],'requiredFieldCount':this[_0x25b579(0x116)]()['length'],'primaryKeyCount':this[_0x25b579(0x2e6)]()['length'],'operationCount':this[_0x25b579(0x2f6)](),'enabledOperationCount':this[_0x25b579(0x2ce)]()['length']};}[a0_0x1469c4(0x172)](_0x1ccdc4){const _0x2772b6=a0_0x1469c4;if(!_0x1ccdc4||typeof _0x1ccdc4!=='object')return'';if(_0x2772b6(0x167)in _0x1ccdc4&&typeof _0x1ccdc4[_0x2772b6(0x167)]==='string')return _0x1ccdc4[_0x2772b6(0x167)];if('name'in _0x1ccdc4&&typeof _0x1ccdc4[_0x2772b6(0x227)]==='string')return _0x1ccdc4['name'];return'';}[a0_0x1469c4(0x1c0)](_0x43fb92){const _0x181413=a0_0x1469c4;return this['getFieldList']()[_0x181413(0x95)](_0x43fb92);}[a0_0x1469c4(0x70)](_0x3ae220){const _0x236edb=a0_0x1469c4;if(!_0x3ae220||typeof _0x3ae220!==_0x236edb(0x1c7))return![];const _0xf0adbe=this[_0x236edb(0x172)](_0x3ae220),_0x403ca7=this[_0x236edb(0x1b2)](_0xf0adbe);return _0x403ca7?_0x403ca7[_0x236edb(0xc3)]():![];}['isSystemField'](_0x413a93){const _0x1a4eae=a0_0x1469c4;if(!_0x413a93||typeof _0x413a93!==_0x1a4eae(0x1c7))return![];const _0x4d10f4=this['getFieldCode'](_0x413a93),_0x3fcf00=this[_0x1a4eae(0x1b2)](_0x4d10f4);return _0x3fcf00?_0x3fcf00['isSystem']():![];}['isRequiredField'](_0xc4bc49){const _0x533521=a0_0x1469c4;if(!_0xc4bc49||typeof _0xc4bc49!==_0x533521(0x1c7))return![];const _0x256ade=this[_0x533521(0x172)](_0xc4bc49),_0x4ca7e1=this[_0x533521(0x1b2)](_0x256ade);return _0x4ca7e1?_0x4ca7e1[_0x533521(0x2a8)]():![];}['isEnumField'](_0x467d80){const _0x319339=a0_0x1469c4;if(!_0x467d80||typeof _0x467d80!==_0x319339(0x1c7))return![];const _0x4a8887=this[_0x319339(0x172)](_0x467d80),_0x3879b7=this[_0x319339(0x1b2)](_0x4a8887);return _0x3879b7?_0x3879b7[_0x319339(0x84)]():![];}['isMultipleSelectField'](_0x5db838){const _0x4b14f8=a0_0x1469c4;if(!_0x5db838||typeof _0x5db838!==_0x4b14f8(0x1c7))return![];const _0x2a3eb3=this[_0x4b14f8(0x172)](_0x5db838),_0x1c40e8=this[_0x4b14f8(0x1b2)](_0x2a3eb3);return _0x1c40e8?_0x1c40e8[_0x4b14f8(0x2a4)]():![];}[a0_0x1469c4(0xc4)](_0x2b5216){const _0x2234f2=a0_0x1469c4;if(!_0x2b5216||typeof _0x2b5216!==_0x2234f2(0x1c7))return[];const _0x1c58d1=this['getFieldCode'](_0x2b5216),_0x3def63=this[_0x2234f2(0x1b2)](_0x1c58d1);if(!_0x3def63||!_0x3def63[_0x2234f2(0x84)]())return[];return _0x3def63[_0x2234f2(0x2c3)]()||[];}[a0_0x1469c4(0x30b)](_0x479482){const _0x3e1c8b=a0_0x1469c4;if(!_0x479482||typeof _0x479482!==_0x3e1c8b(0x1c7))return;const _0x10a783=this['getFieldCode'](_0x479482),_0x8c7100=this[_0x3e1c8b(0x1b2)](_0x10a783);if(!_0x8c7100||!_0x8c7100[_0x3e1c8b(0x84)]())return;return _0x8c7100[_0x3e1c8b(0x78)]();}[a0_0x1469c4(0x1b9)](_0x59e39d){const _0x5386d6=a0_0x1469c4;if(!_0x59e39d||typeof _0x59e39d!=='object')return;const _0x2cc74b=this['getFieldCode'](_0x59e39d),_0x3ec969=this[_0x5386d6(0x1b2)](_0x2cc74b);if(!_0x3ec969||!_0x3ec969['isEnum']())return;return _0x3ec969[_0x5386d6(0x190)]();}[a0_0x1469c4(0x2e6)](){const _0x1a80b0=a0_0x1469c4;return this['getFieldList']()[_0x1a80b0(0x300)]()[_0x1a80b0(0x2ee)](_0x13e55f=>_0x13e55f[_0x1a80b0(0x91)]);}[a0_0x1469c4(0x1e7)](){const _0x1644e8=a0_0x1469c4;return this[_0x1644e8(0xc6)]()[_0x1644e8(0x1ac)]()['map'](_0x388790=>_0x388790['raw']);}[a0_0x1469c4(0x2d2)](){const _0x8a84b6=a0_0x1469c4;return this[_0x8a84b6(0xc6)]()[_0x8a84b6(0x226)]()[_0x8a84b6(0x2ee)](_0x1a4c50=>_0x1a4c50[_0x8a84b6(0x91)]);}['getRequiredFields'](){const _0x238698=a0_0x1469c4;return this['getFieldList']()[_0x238698(0x1f5)]()[_0x238698(0x2ee)](_0x48199d=>_0x48199d[_0x238698(0x91)]);}[a0_0x1469c4(0x2f9)](){const _0xc4f8fd=a0_0x1469c4,_0x3dd785=this[_0xc4f8fd(0xc6)]()['groupByType'](),_0x376018={};for(const [_0x21805a,_0x4df21d]of Object[_0xc4f8fd(0x30d)](_0x3dd785)){_0x376018[_0x21805a]=_0x4df21d[_0xc4f8fd(0x2ee)](_0x27ba42=>_0x27ba42[_0xc4f8fd(0x91)]);}return _0x376018;}['getEnumFields'](){const _0x1eba74=a0_0x1469c4;return this[_0x1eba74(0xc6)]()[_0x1eba74(0x15d)]()[_0x1eba74(0x2ee)](_0x544ad3=>_0x544ad3[_0x1eba74(0x91)]);}[a0_0x1469c4(0xcc)](){const _0x3ea657=a0_0x1469c4,_0x562a77={};return this[_0x3ea657(0xf6)]()[_0x3ea657(0x244)](_0x2da66e=>{const _0x310454=_0x3ea657,_0xf3b6b7=this['getEnumFieldMeta'](_0x2da66e);if(_0xf3b6b7){const _0x302ee3=this[_0x310454(0x172)](_0x2da66e);_0x562a77[_0x302ee3]=_0xf3b6b7;}}),_0x562a77;}[a0_0x1469c4(0x256)](_0xc38e19,_0x260888){const _0x179588=a0_0x1469c4,_0x1bd9eb=this[_0x179588(0x1b9)](_0xc38e19);if(!_0x1bd9eb)return!![];if(_0x1bd9eb[_0x179588(0xf0)]&&!_0x1bd9eb[_0x179588(0x2bc)])return!![];const _0x447dc0=this[_0x179588(0x172)](_0xc38e19),_0x51330c=this[_0x179588(0x1b2)](_0x447dc0),_0x18eaf7=_0x51330c?_0x51330c[_0x179588(0x2a4)]():![];if(_0x18eaf7&&Array[_0x179588(0xea)](_0x260888))return _0x260888[_0x179588(0x180)](_0xe8d44a=>_0x1bd9eb['values'][_0x179588(0x1e4)](_0xe8d44a));return _0x1bd9eb['values']['includes'](_0x260888);}[a0_0x1469c4(0x19d)](){const _0x38fe37=a0_0x1469c4;return new DatasetItem({'id':this['id'],'name':this[_0x38fe37(0x227)],'datasetCode':this[_0x38fe37(0x173)],'dbtableConfig':this[_0x38fe37(0x210)]()});}['toString'](){const _0x345eea=a0_0x1469c4;return _0x345eea(0x197)+this['name']+',\x20'+this[_0x345eea(0x173)]+',\x20'+this['getFieldCount']()+_0x345eea(0xdb)+this[_0x345eea(0x2f6)]()+_0x345eea(0x82)+this['getVersion']()+')';}[a0_0x1469c4(0x171)](){const _0x4c8021=a0_0x1469c4;return this[_0x4c8021(0xbd)](_0x4c8021(0x22f));}[a0_0x1469c4(0xbf)](_0x66249f){const _0x1ee016=a0_0x1469c4;return this[_0x1ee016(0xfe)](_0x1ee016(0x22f),_0x66249f);}[a0_0x1469c4(0x1ad)](){const _0x5bbff6=a0_0x1469c4;return this[_0x5bbff6(0xd3)]('filter');}[a0_0x1469c4(0xbd)](_0x53a639){const _0x1df8de=a0_0x1469c4,_0x5111d7=this[_0x1df8de(0x105)](_0x53a639);return _0x5111d7?_0x5111d7['getOperators']():[];}[a0_0x1469c4(0xfe)](_0x182ad2,_0x1d14c6){const _0x3f4c38=a0_0x1469c4,_0x749c04=this['getOperation'](_0x182ad2);return _0x749c04?_0x749c04[_0x3f4c38(0x1cf)](_0x1d14c6):[];}[a0_0x1469c4(0xd3)](_0x2c677c){const _0x4625c6=a0_0x1469c4,_0x24247a={};return this[_0x4625c6(0xc6)]()[_0x4625c6(0x244)](_0x5bbdd3=>{const _0x2545df=_0x4625c6,_0x1f5cb8=this[_0x2545df(0xfe)](_0x2c677c,_0x5bbdd3[_0x2545df(0x167)]);_0x1f5cb8[_0x2545df(0xa7)]>0x0&&(_0x24247a[_0x5bbdd3['code']]=_0x1f5cb8);}),_0x24247a;}['isOperatorApplicableToField'](_0x2a0a88,_0x5157a9,_0x312196){const _0x330e11=a0_0x1469c4,_0x2a23d1=this['getOperationFieldOperators'](_0x2a0a88,_0x5157a9);return _0x2a23d1[_0x330e11(0x1e4)](_0x312196);}}class FieldBase{get['dbType'](){return;}get['dbTypeLen'](){return;}get['displayName'](){return;}get[a0_0x1469c4(0x254)](){return;}[a0_0x1469c4(0x2fb)](){const _0x249ef9=a0_0x1469c4;return!this[_0x249ef9(0x102)]();}[a0_0x1469c4(0x104)](){return this['deleted'];}[a0_0x1469c4(0x84)](){const _0x535328=a0_0x1469c4,_0x8561d0=[_0x535328(0x2ba),_0x535328(0x133),_0x535328(0x165)];return _0x8561d0['includes'](this[_0x535328(0x272)]);}[a0_0x1469c4(0x2a4)](){const _0x37c045=a0_0x1469c4;return this[_0x37c045(0x272)]==='CHECKBOX';}[a0_0x1469c4(0x1ea)](){const _0x3f5d5a=a0_0x1469c4,_0x4c6cf5=this['getEnumMeta']();return _0x4c6cf5?.[_0x3f5d5a(0xd6)]||[];}[a0_0x1469c4(0x190)](){const _0x4a1aff=a0_0x1469c4;if(!this[_0x4a1aff(0x84)]())return;const _0x45364b=this[_0x4a1aff(0x2c3)](),_0x52d510=this[_0x4a1aff(0x78)](),_0x4bd78d=[],_0x45585b={},_0x10af7f=_0x59c60f=>{const _0x19dc9c=_0x4a1aff;_0x59c60f[_0x19dc9c(0x244)](_0x15429f=>{const _0x13b369=_0x19dc9c;if(!_0x15429f||typeof _0x15429f!=='object')return;_0x15429f[_0x13b369(0x115)]!==undefined&&_0x15429f[_0x13b369(0x115)]!==null&&(_0x4bd78d[_0x13b369(0x241)](_0x15429f['value']),_0x45585b[String(_0x15429f[_0x13b369(0x115)])]=_0x15429f['label']||''),_0x15429f[_0x13b369(0x21d)]&&Array[_0x13b369(0xea)](_0x15429f['children'])&&_0x15429f[_0x13b369(0x21d)][_0x13b369(0xa7)]>0x0&&_0x10af7f(_0x15429f[_0x13b369(0x21d)]);});};return _0x45364b&&Array[_0x4a1aff(0xea)](_0x45364b)&&_0x45364b['length']>0x0&&_0x10af7f(_0x45364b),{'code':this[_0x4a1aff(0x167)],'name':this['name'],'type':this[_0x4a1aff(0x272)],'multiple':this['isMultipleSelect'](),'options':_0x45364b,'selectItemsSource':_0x52d510,'values':_0x4bd78d,'valueLabels':_0x45585b};}get[a0_0x1469c4(0x159)](){const _0x34d0b4=a0_0x1469c4;return this[_0x34d0b4(0x1ea)]();}['toString'](){const _0x5b5863=a0_0x1469c4;return'Field('+this[_0x5b5863(0x227)]+',\x20'+this['code']+',\x20'+this[_0x5b5863(0x272)]+',\x20'+this[_0x5b5863(0x144)]()+')';}}class FieldV1 extends FieldBase{[a0_0x1469c4(0x164)];[a0_0x1469c4(0x16a)]=null;constructor(_0x237e10){const _0x4dd42a=a0_0x1469c4;super();if(!_0x237e10||typeof _0x237e10!=='object')throw new Error(_0x4dd42a(0x28f));this['_raw']=_0x237e10;}[a0_0x1469c4(0x19f)](){return this['_raw'];}[a0_0x1469c4(0x144)](){return'v1';}get[a0_0x1469c4(0x91)](){const _0x4b40b7=a0_0x1469c4;return this[_0x4b40b7(0x164)];}get[a0_0x1469c4(0x227)](){const _0x4cb326=a0_0x1469c4;return this['_raw'][_0x4cb326(0x227)]||'';}get['code'](){const _0x4a5d84=a0_0x1469c4;return this[_0x4a5d84(0x164)]['code']||'';}get[a0_0x1469c4(0x272)](){const _0x13cee8=a0_0x1469c4;return this['_raw'][_0x13cee8(0x272)]||'';}get[a0_0x1469c4(0x276)](){const _0x2b633d=a0_0x1469c4;return this[_0x2b633d(0x164)][_0x2b633d(0x276)]||'';}get[a0_0x1469c4(0x2c9)](){const _0x290412=a0_0x1469c4;return Boolean(this['_raw'][_0x290412(0x2c9)]);}get['dbType'](){return this['_raw']['dbType'];}get[a0_0x1469c4(0xa4)](){const _0xe4ee80=a0_0x1469c4;return this[_0xe4ee80(0x164)]['dbTypeLen'];}get[a0_0x1469c4(0x1c9)](){const _0x51eb94=a0_0x1469c4;return this[_0x51eb94(0x164)][_0x51eb94(0x265)];}get['doType'](){return;}get['extend'](){const _0x75c38c=a0_0x1469c4;if(this['_extend']!==null&&typeof this[_0x75c38c(0x16a)]===_0x75c38c(0x1c7))return this['_extend'];const _0x252bf0=this[_0x75c38c(0x164)][_0x75c38c(0x6d)];if(!_0x252bf0||typeof _0x252bf0!==_0x75c38c(0xf4))return this[_0x75c38c(0x16a)]={},this[_0x75c38c(0x16a)];if(_0x252bf0===_0x75c38c(0xe9)||_0x252bf0[_0x75c38c(0x15f)]()===_0x75c38c(0xe9))return this[_0x75c38c(0x16a)]={},this[_0x75c38c(0x16a)];try{const _0x2bf351=JSON[_0x75c38c(0x123)](_0x252bf0);return this[_0x75c38c(0x16a)]=_0x2bf351!==null&&typeof _0x2bf351===_0x75c38c(0x1c7)&&!Array['isArray'](_0x2bf351)?_0x2bf351:{},this[_0x75c38c(0x16a)];}catch(_0x29c8b2){return!![]&&console[_0x75c38c(0x1dc)]('[FieldV1.extend]\x20解析字段\x20'+this[_0x75c38c(0x167)]+_0x75c38c(0x24d),_0x29c8b2),this['_extend']={},this[_0x75c38c(0x16a)];}}['isRequired'](){const _0x199827=a0_0x1469c4;return Boolean(this[_0x199827(0x6d)][_0x199827(0x16b)]);}['isPrimaryKey'](){const _0x415134=a0_0x1469c4;return Boolean(this['extend']['primaryKey']||this[_0x415134(0x6d)][_0x415134(0x240)]);}[a0_0x1469c4(0x102)](){return Boolean(this['extend']['systemRetain']);}[a0_0x1469c4(0x234)](){const _0x5bb7bc=a0_0x1469c4;return Boolean(this[_0x5bb7bc(0x6d)]['autoIncrement']);}[a0_0x1469c4(0x81)](){const _0x3916c0=a0_0x1469c4;return Boolean(this[_0x3916c0(0x6d)][_0x3916c0(0x2af)]);}['isUpdateTime'](){const _0x424ab5=a0_0x1469c4;return Boolean(this[_0x424ab5(0x6d)][_0x424ab5(0x15c)]);}[a0_0x1469c4(0xc0)](){return this['name'];}['getFieldName'](){const _0x1c9a03=a0_0x1469c4;return this[_0x1c9a03(0x167)];}[a0_0x1469c4(0x84)](){const _0x27cad2=a0_0x1469c4,_0x3493cc=['RADIO',_0x27cad2(0x133),_0x27cad2(0x165)];if(_0x3493cc[_0x27cad2(0x1e4)](this['type']))return!![];const _0x59ad6b=this[_0x27cad2(0x6d)];return Boolean(_0x59ad6b[_0x27cad2(0x2bc)]&&Array['isArray'](_0x59ad6b['options'])&&_0x59ad6b[_0x27cad2(0x2bc)][_0x27cad2(0xa7)]>0x0||_0x59ad6b['selectItemsSource']);}[a0_0x1469c4(0x2a4)](){const _0x46c0f4=a0_0x1469c4;if(this[_0x46c0f4(0x272)]===_0x46c0f4(0x165))return!![];return Boolean(this[_0x46c0f4(0x6d)][_0x46c0f4(0x1a4)]);}[a0_0x1469c4(0x2c3)](){const _0x59fe2e=a0_0x1469c4,_0x2cfa88=this[_0x59fe2e(0x6d)];if(_0x2cfa88[_0x59fe2e(0x2bc)]&&Array[_0x59fe2e(0xea)](_0x2cfa88[_0x59fe2e(0x2bc)]))return _0x2cfa88[_0x59fe2e(0x2bc)];return;}[a0_0x1469c4(0x78)](){const _0x19ab2e=a0_0x1469c4,_0x4dd40e=this['extend'];if(_0x4dd40e['selectItemsSource']&&typeof _0x4dd40e[_0x19ab2e(0xf0)]===_0x19ab2e(0x1c7))return _0x4dd40e[_0x19ab2e(0xf0)];return;}[a0_0x1469c4(0x26a)](){return this['type']['toUpperCase']();}[a0_0x1469c4(0x2cf)](){const _0x5b48f6=a0_0x1469c4;return this[_0x5b48f6(0x6d)][_0x5b48f6(0x79)];}[a0_0x1469c4(0x1d9)](){const _0x4501a3=a0_0x1469c4;return this[_0x4501a3(0x6d)][_0x4501a3(0x11c)];}[a0_0x1469c4(0x1c2)](){const _0x5a5d79=a0_0x1469c4;return{'name':this[_0x5a5d79(0x227)],'code':this['code'],'type':this[_0x5a5d79(0x272)],'dbType':this[_0x5a5d79(0xb6)],'dbTypeLen':this[_0x5a5d79(0xa4)],'description':this[_0x5a5d79(0x276)],'required':this[_0x5a5d79(0x2a8)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x5a5d79(0x102)](),'autoIncrement':this[_0x5a5d79(0x234)](),'createTime':this[_0x5a5d79(0x81)](),'updateTime':this[_0x5a5d79(0x183)](),'isEnum':this[_0x5a5d79(0x84)](),'enumMeta':this[_0x5a5d79(0x84)]()?this[_0x5a5d79(0x190)]():undefined};}[a0_0x1469c4(0xe2)](){const _0x58cd09=a0_0x1469c4;return _0x58cd09(0x324)+this[_0x58cd09(0x227)]+',\x20'+this[_0x58cd09(0x167)]+',\x20'+this[_0x58cd09(0x272)]+')';}}class FieldListBase{[a0_0x1469c4(0xcf)];constructor(_0x2d1957,_0x4b4bde){const _0x47ba23=a0_0x1469c4,_0x25a511=Array[_0x47ba23(0xea)](_0x2d1957)?_0x2d1957:[],_0x6df5a7=_0x4b4bde?.['includeDeleted']??![],_0xbf2a06=_0x6df5a7?_0x25a511:_0x25a511[_0x47ba23(0x22f)](_0x220378=>{const _0x46f21f=_0x47ba23;if(!_0x220378||typeof _0x220378!==_0x46f21f(0x1c7))return![];const _0x450796=_0x220378;return!_0x450796['deleted'];});this[_0x47ba23(0xcf)]=this[_0x47ba23(0x1ce)](_0xbf2a06);}get[a0_0x1469c4(0xa7)](){const _0x3451ea=a0_0x1469c4;return this[_0x3451ea(0xcf)][_0x3451ea(0xa7)];}[a0_0x1469c4(0x18c)](){return[...this['_fields']];}['at'](_0x56619e){return this['_fields']['at'](_0x56619e);}['find'](_0x427665){const _0x4b66fe=a0_0x1469c4;return this[_0x4b66fe(0xcf)][_0x4b66fe(0x257)](_0x1af50c=>_0x1af50c[_0x4b66fe(0x167)]===_0x427665);}['findByName'](_0x177412){const _0xc4519c=a0_0x1469c4;return this[_0xc4519c(0xcf)][_0xc4519c(0x257)](_0x33fc5f=>_0x33fc5f[_0xc4519c(0x227)]===_0x177412);}['has'](_0x3af9f8){const _0x1e7d5a=a0_0x1469c4;return this[_0x1e7d5a(0xcf)][_0x1e7d5a(0x1e3)](_0x355a17=>_0x355a17[_0x1e7d5a(0x167)]===_0x3af9f8);}[a0_0x1469c4(0x244)](_0x49b998){const _0x39a3a8=a0_0x1469c4;this['_fields'][_0x39a3a8(0x244)](_0x49b998);}[a0_0x1469c4(0x2ee)](_0xe3a468){const _0x314178=a0_0x1469c4;return this[_0x314178(0xcf)]['map'](_0xe3a468);}['filter'](_0x543975){const _0x4832fb=a0_0x1469c4;return this[_0x4832fb(0xcf)]['filter'](_0x543975);}[a0_0x1469c4(0x180)](_0xb891ab){const _0x4fb5e4=a0_0x1469c4;return this[_0x4fb5e4(0xcf)][_0x4fb5e4(0x180)](_0xb891ab);}[a0_0x1469c4(0x1e3)](_0x22424b){const _0x124c67=a0_0x1469c4;return this[_0x124c67(0xcf)][_0x124c67(0x1e3)](_0x22424b);}[a0_0x1469c4(0x1f5)](){const _0x173b93=a0_0x1469c4;return this[_0x173b93(0xcf)][_0x173b93(0x22f)](_0x2509c2=>_0x2509c2[_0x173b93(0x2a8)]());}[a0_0x1469c4(0x300)](){const _0x121197=a0_0x1469c4;return this['_fields'][_0x121197(0x22f)](_0x3e4f03=>_0x3e4f03[_0x121197(0xc3)]());}['getSystem'](){const _0x5a5c4=a0_0x1469c4;return this[_0x5a5c4(0xcf)][_0x5a5c4(0x22f)](_0x8423f1=>_0x8423f1['isSystem']());}[a0_0x1469c4(0x226)](){const _0x3239b7=a0_0x1469c4;return this[_0x3239b7(0xcf)]['filter'](_0x542dff=>_0x542dff[_0x3239b7(0x2fb)]());}['getEnum'](){const _0x4c4f8c=a0_0x1469c4;return this[_0x4c4f8c(0xcf)][_0x4c4f8c(0x22f)](_0x31d9f1=>_0x31d9f1[_0x4c4f8c(0x84)]());}[a0_0x1469c4(0x1bc)](){const _0x5f0872=a0_0x1469c4;return this[_0x5f0872(0xcf)][_0x5f0872(0x22f)](_0x2ec656=>_0x2ec656[_0x5f0872(0x234)]());}[a0_0x1469c4(0x155)](){const _0x529595=a0_0x1469c4;return this[_0x529595(0xcf)][_0x529595(0x22f)](_0x30d72c=>_0x30d72c['isCreateTime']());}[a0_0x1469c4(0x220)](){const _0x13576d=a0_0x1469c4;return this[_0x13576d(0xcf)][_0x13576d(0x22f)](_0x2881ab=>_0x2881ab['isUpdateTime']());}[a0_0x1469c4(0x151)](){const _0x1ca0e9=a0_0x1469c4;return this['_fields'][_0x1ca0e9(0x22f)](_0x5c66d2=>_0x5c66d2['isDeleted']());}[a0_0x1469c4(0x2e2)](){const _0x2123a2=a0_0x1469c4;return this[_0x2123a2(0xcf)][_0x2123a2(0x22f)](_0xba0bd2=>!_0xba0bd2['isDeleted']());}[a0_0x1469c4(0x14b)](){const _0x3a2ee0=a0_0x1469c4,_0x3c0445={};return this[_0x3a2ee0(0xcf)][_0x3a2ee0(0x244)](_0x3ec54=>{const _0x4a3ba4=_0x3a2ee0,_0xf9bb51=_0x3ec54[_0x4a3ba4(0x272)];!_0x3c0445[_0xf9bb51]&&(_0x3c0445[_0xf9bb51]=[]),_0x3c0445[_0xf9bb51]['push'](_0x3ec54);}),_0x3c0445;}['getEnumMetas'](){const _0x1804a5=a0_0x1469c4,_0x239453={};return this['_fields'][_0x1804a5(0x244)](_0xb6180c=>{const _0x56e8fe=_0x1804a5;if(_0xb6180c[_0x56e8fe(0x84)]()){const _0x35d21e=_0xb6180c[_0x56e8fe(0x190)]();_0x35d21e&&(_0x239453[_0xb6180c[_0x56e8fe(0x167)]]=_0x35d21e);}}),_0x239453;}['getStats'](){const _0x3016ea=a0_0x1469c4;return{'total':this[_0x3016ea(0xa7)],'required':this[_0x3016ea(0x1f5)]()[_0x3016ea(0xa7)],'primaryKey':this['getPrimaryKeys']()[_0x3016ea(0xa7)],'system':this['getSystem']()[_0x3016ea(0xa7)],'business':this[_0x3016ea(0x226)]()[_0x3016ea(0xa7)],'enum':this[_0x3016ea(0x15d)]()[_0x3016ea(0xa7)],'autoIncrement':this[_0x3016ea(0x1bc)]()[_0x3016ea(0xa7)]};}['getCodes'](){const _0x726ff=a0_0x1469c4;return this[_0x726ff(0xcf)][_0x726ff(0x2ee)](_0x25afca=>_0x25afca[_0x726ff(0x167)]);}['getNames'](){const _0x5024a2=a0_0x1469c4;return this['_fields'][_0x5024a2(0x2ee)](_0x4c8dfe=>_0x4c8dfe[_0x5024a2(0xc0)]());}[a0_0x1469c4(0x28a)](){const _0x3f28c9=a0_0x1469c4;return this['_fields']['map'](_0xe2f097=>_0xe2f097[_0x3f28c9(0x7c)]());}['toJSON'](){const _0x58f2da=a0_0x1469c4;return this['_fields']['map'](_0x490e25=>_0x490e25[_0x58f2da(0x1c2)]());}[a0_0x1469c4(0xe2)](){const _0x30b0ac=a0_0x1469c4;return'FieldList('+this[_0x30b0ac(0xa7)]+_0x30b0ac(0x31f);}}class FieldListV1 extends FieldListBase{constructor(_0x3b50fa,_0x50e324){super(_0x3b50fa,_0x50e324);}[a0_0x1469c4(0x1ce)](_0x1debc4){return _0x1debc4['map'](_0x30bad5=>new FieldV1(_0x30bad5));}[a0_0x1469c4(0x18c)](){const _0x13b40c=a0_0x1469c4;return[...this[_0x13b40c(0xcf)]];}['at'](_0x46f951){return this['_fields']['at'](_0x46f951);}['find'](_0x4952f9){const _0x4b23eb=a0_0x1469c4;return this['_fields'][_0x4b23eb(0x257)](_0x5a765f=>_0x5a765f[_0x4b23eb(0x167)]===_0x4952f9);}[a0_0x1469c4(0x169)](_0x30b49d){const _0x3461da=a0_0x1469c4;return this[_0x3461da(0xcf)][_0x3461da(0x257)](_0x328f65=>_0x328f65[_0x3461da(0x227)]===_0x30b49d);}[a0_0x1469c4(0x22f)](_0x3602aa){const _0x2c1d42=a0_0x1469c4;return this[_0x2c1d42(0xcf)][_0x2c1d42(0x22f)](_0x3602aa);}['map'](_0xbf6374){const _0x57bf7a=a0_0x1469c4;return this[_0x57bf7a(0xcf)][_0x57bf7a(0x2ee)](_0xbf6374);}[a0_0x1469c4(0x1f5)](){const _0x2a9b76=a0_0x1469c4;return this[_0x2a9b76(0xcf)][_0x2a9b76(0x22f)](_0xe18bf8=>_0xe18bf8['isRequired']());}[a0_0x1469c4(0x300)](){const _0x13cd58=a0_0x1469c4;return this[_0x13cd58(0xcf)]['filter'](_0x1f73a9=>_0x1f73a9['isPrimaryKey']());}['getSystem'](){const _0x3b6e11=a0_0x1469c4;return this['_fields'][_0x3b6e11(0x22f)](_0x5a5e9c=>_0x5a5e9c[_0x3b6e11(0x102)]());}[a0_0x1469c4(0x226)](){const _0x29735d=a0_0x1469c4;return this[_0x29735d(0xcf)][_0x29735d(0x22f)](_0x2cfff7=>_0x2cfff7[_0x29735d(0x2fb)]());}[a0_0x1469c4(0x15d)](){const _0x59dff0=a0_0x1469c4;return this['_fields'][_0x59dff0(0x22f)](_0x59eae0=>_0x59eae0['isEnum']());}[a0_0x1469c4(0x14b)](){const _0x45a051=a0_0x1469c4,_0x2c7e15={};return this[_0x45a051(0xcf)][_0x45a051(0x244)](_0x30f5af=>{const _0x399daf=_0x45a051,_0x4c0173=_0x30f5af[_0x399daf(0x272)];!_0x2c7e15[_0x4c0173]&&(_0x2c7e15[_0x4c0173]=[]),_0x2c7e15[_0x4c0173][_0x399daf(0x241)](_0x30f5af);}),_0x2c7e15;}[a0_0x1469c4(0x91)](){const _0x2750ac=a0_0x1469c4;return this[_0x2750ac(0xcf)][_0x2750ac(0x2ee)](_0x1bdaa8=>_0x1bdaa8[_0x2750ac(0x91)]);}static[a0_0x1469c4(0x28c)](_0x2a5f3b){const _0x10cace=a0_0x1469c4,_0x26c003=_0x2a5f3b['map'](_0x1619c2=>_0x1619c2[_0x10cace(0x91)]);return new FieldListV1(_0x26c003);}static['withDeleted'](_0x5f0bb3){const _0x4e679f=a0_0x1469c4,_0x5e98d8={};return _0x5e98d8[_0x4e679f(0x179)]=!![],new FieldListV1(_0x5f0bb3,_0x5e98d8);}}function a0_0x1d31(){const _0x2d193b=['toJSON','DATETIME','DrivenDataDetailV2(','INT','13800138000','object','generateSingleValueExample','displayName','1.0','generateHTTPRequestExample','GET','STRING','createFields','getFieldOperators','DESC','getAllFieldsArray','empty','generateOperationSummary','getRequestParamsDocInfo','$endWith','getSelectOptions','_fieldListV2','主键ID','getTooltip','enabled','1220127uUgzQs','warn','N/A','distinct','generateResponseExample','items','getOperationList','9lZugLP','some','includes','operations','CHAR','getSystemFields','fromApiResponse','GET_SELECT_OPTIONS','getEnumValues','getByType','fields','status','padStart','value1','getFieldDisplayName','method','address','getPath','hasConflict','getRequired','isEmpty','getFields','datasetKey','online','getGroupedParams','getDatasetMeta','2024-01-01','获取数据集列表失败:\x20','generateAliasExplanation','INTEGER','select','操作成功','getDatabaseType','generateFullSDKExample','useArrayValues','getMissingCRUDOperations','operation','getOneOrigin','bind','DrivenDataDetailPlusV2(','env','tableData','getRelations','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','({\x20code,\x20label\x20});','HTTP\x20请求示例(平铺格式)','getRawDbtableConfig','FILE','lastIndexOf','0000','taskInfo','getTableKey','test','keyword','getFirst','GET_LIST','getHTTPRequestParamsDocInfo','分组后的过滤条件(对聚合结果进行过滤)','labelField','children','datasetMap','hasCreatorIdField','getUpdateTime','importTemplate','sdkCallCode','getFilteredOperations','version','toField','getBusiness','name','findAll','generateRequestExample','$startWith','getAggregates','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','API路径','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','filter','主键,用于定位要更新的记录','IMAGE','$and','排序规则(与\x20Filter\x20API\x20一致)','isAutoIncrement','$lteq','tenantCode','getField','dataset','查询单条','({\x20currentPage,\x20pageSize\x20});','relations','function','getEnabledOperationAnalyses','appCode','set','pkField','push','371334dIWYrU','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','forEach','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','//\x20','EXCEL_EXPORT','avg','1685324tDITrq','autoIncrement','getLast','orderBy','\x20的\x20extend\x20配置失败:','当前页码','getEnabledNames','LONGTEXT','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','$lte','data','doType','2024-12-31','validateEnumValue','find','pageSize','getModelName','item2','getTableName','round','hasResponseSchema','createTimeField','hasFilterOperation','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','BIGINT','condition','conflictItemCount','getDbName','alias','\x20operations,\x20v2)','isFieldPrimaryKey','getLatestDatasets','ARRAY','getDbTypeForOperation','array','当前页码(可选)','getNames','getApplicableOperators','dbName','getOperationAnalysis','excelExport','type','getVirtualTables','SWITCH','\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','description','create','getStats','generateConfig','parseRawRequestBody','[generateRequestExample]\x20Invalid\x20field:','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','field_name','_autoGenerated','generateRequestAllExamples','dataset_','generateFieldExample','BOOLEAN','getList','having','文件上传','_fieldListV1WithDeleted','getEnabledOperationInstances','-\x20主键ID,用于定位要更新的记录\x0a\x0a','DatasetItem(','getFieldNames','getForeignKeyFields','from','String','//\x20Call\x20the\x20','[Field]\x20Invalid\x20field\x20definition','getFieldDefinition','解析\x20responseBody\x20失败:','$ne','source','getFieldDataSource','hasUpdateTimeField','precision','getSystemAnalysisResult','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','getTenantCode','context','[parseFieldExtend]\x20Invalid\x20field:','sortOperationsWithFilterFirst','getConflicts','$eq','getType','getDatasetSDKKey','Array','$gte','isMultipleSelect','getOperationsOverviewData','stringify','params','isRequired','msg','number','modifyDate','DatasetGroup(','DOUBLE','selectBestOperator','createTime','generateFromSchema','sort','TINYINT','modifierIdField','_operations','getCountByMethod','getEnabled','示例值','/filter','字段编码','RADIO','getName','options','toTableName','suffix','CREATE_IMPORT','TIME','https://example.com/image.jpg','getUploadFileScript','getEnumOptions','Number','<p>富文本内容</p>','filterBlacklist','RICH_TEXT','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','deleted','IMPORT_TEMPLATE','requestFieldCount','delete','200','getEnabledOperations','getDefaultValue','_min','SDK\x20调用','getBusinessFields','createDate','2.0','CREATE_EXPORT','FieldV2(','$contain','getFieldRaw','modelId','选项编码(可选)','getFieldCount','findAllByTableName','getOperationAnalyses','businessFieldCount','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getFullUrl','const\x20result\x20=\x20await\x20client.models.','getActive','_operationAnalyses','DATE','日期时间','getPrimaryKeyFields','**可更新的字段列表:**','getRaw','logicField','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getFileUrl','dataset_unknown','findById','map','getAppCode','getDBConfig',',\x20...\x20});','updateTimeField','createAll','generateExampleValue','indexes','getOperationCount','getModelAlias','getRelatedDataset','getFieldsByType','https://example.com/file.pdf','isBusiness','1828185ibmjeV','创建导入','desc','getMethod','getPrimaryKeys','getId','VARCHAR','getRequestFields','getOneUpdate','getFieldsV2','[FieldV2]\x20Invalid\x20field\x20definition','<!--\x5cs*CONDITION:\x5cs*','label','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','时间戳','getFieldSelectItemsSource','generateUsageExample','entries','//\x20Usage\x20examples','generateAllOperationsSummary','isVirtualTable','获取文件URL','systemFieldCount','每页数量','customFilter','getOperationStats','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','getOperators','支持多个条件','isOpenAPI','total','(实际字段:','demo-app','\x20items,\x20','getCount','\x20fields)','这是一段较长的文本内容示例','fullUrl','完整的\x20SDK\x20调用代码','toObject','FieldV1(','add','hasCreateTimeField','toFullConfig','daily','Object[]','properties','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','requestBody','982120NNzmck','charAt','extend','now','initDataset','isPrimaryKeyField','toISOString','POST','host','DbtableConfig(table:\x20','getFilterOperation','errorCode','hasRelation','getSelectItemsSource','defaultValue','-\x20`','modifierNameField','getFieldName','getPkField','sortNum','-\x20其他要更新的字段直接平铺在同一层级','where','isCreateTime','\x20operations,\x20','$in','isEnum','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass',',\x20currentPage,\x20pageSize,\x20...\x20});','-\x20主键使用\x20`id`\x20字段\x0a','currentPage','exampleWhere','getAll','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','fieldCode','要更新的字段数据对象','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','forceVersion','getOperationsData','raw','getItems','query','getFieldListWithDeleted','has','(支持单值或数组)','generateAllOperationsFullSDKExample','TASK_INFO','sdkCall','withDeleted','NUMBER','value2','_sum','keys','(params);','getSource','groupBy','parseRawResponseBody','getFilteredOperationAnalyses','dbTypeLen','getOne','DELETE','length','SDK\x20调用示例(两参数格式)','successCode','getDisabled','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','isEnabled','getRequestParams','184553KAoiXF','Integer','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','getUpdateFields','数组查询(支持多选)','富文本','getOperationRequestFields','getFiltered','dbType','valueLabels','主键ID(必填)','hasModifierIdField','\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','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','getOperationOperators','示例文本','getFieldFilterOperators','getDisplayName','GET_FILE_URL','解析\x20requestBody\x20失败:','isPrimaryKey','getFieldOptions','$gteq','getFieldList','toDatasetId','getCountByType','generateSDKCallCode','responseSchema','yourModel','getEnumFieldsMeta','getSDKInitData','count','_fields','datasetName','UPDATE','getLatest','getOperationFieldsOperatorsMap','item1','doVersion','values','OperationList(','random','getRealTables','BOOL','\x20fields,\x20','getDisabledOperationInstances','6265YDGjzE','enabledOperationCount','isNumericField','GET_UPLOAD_FILE_SCRIPT','getResponseParamsDocInfo','toString','获取下拉选项','FieldListV2(','creatorNameField','slice','_fieldList','createExport','null','isArray','aggregate','BIT','toConfig','getDisabledOperations','Operation\x20not\x20found:\x20','selectItemsSource','系统自动生成','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','success','string','JSON','getEnumFields','getFieldListV2','DatasetList(','min','getAllDatasets','index','systemRetain','normalizeDbType','getOperationFieldOperators','getResponseSchema','DECIMAL','toDatasetName','isSystem','getIds','isDeleted','getOperation','[dsparser]\x20跳过重复的表名\x20\x22','allFields','_instance','getCodes','replace','getDOType','useFullExample','findByCode','dbtableConfig','errorMsg','下拉选择','getDatasetDocMeta','size','Filter\x20API\x20-\x20高级查询接口','getAt','value','getRequiredFields','\x20relations,\x20','modelCode','GET_ONE_ORIGIN','generateSDKInitCode','getOperationAnalysesByType','tooltip','_relations','_max','(id,\x20data);','split','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','hasDblinkInfo','parse','email','DatasetGroupMap(','dataset_000000','get','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','substring','SDK\x20调用时传递两个参数:\x0a','Invalid\x20API\x20response:\x20success\x20is\x20false','getOperations','getInternalInstance','hasExtendField','tableColumns','获取数据集失败:\x20','includeUsageExample','查询单条(用于更新)','SELECT','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','boolean','dblinkInfoDTO','toLowerCase','prefix','tableName','String[]','path','聚合函数配置数组(type:\x20sum/count/avg/max/min)','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','responseBody','toUpperCase','update','paging','getVersion','操作名称','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','generateConfigArray','$or','dbVersion','phone','groupByType','toArray','repeat','isOperationEnabled','datasetInfo','getHTTPFields','getDeleted','conflictGroupCount','no\x20conflicts','generateDefaultFilterOperation','getCreateTime','_operationList','default','单值查询','enumValues','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','total_count','updateTime','getEnum','getOperationDocMeta','trim','creatorIdField','ensureFilterOperation','fieldName','TIMESTAMP','_raw','CHECKBOX','createImport','code','operationCount','findByName','_extend','required','`:\x20','datasetSDKKey','TEXT','getIndexes','();\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}','getFilterOperators','getFieldCode','datasetCode','getAllFieldsString','_requestExampleCache','getCode','HTTP\x20直接调用时使用平铺格式:\x0a','findByTableName','includeDeleted','isRequiredField','primaryKey','\x20groups,\x20','groups','1884dBuldS','user@example.com','every','getFieldType','title','isUpdateTime','每页数量(默认:\x2020)','接口名称','getConflictingItems','hasTableName','groupByTableName','Object','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','FLOAT','all','hasConflicts','getDisabledNames','\x20indexes)','getEnumMeta','systemAnalysisResult','查询单个条件','totalGroups','每页条数','getFieldDescription','hasLogicField','DrivenDataDetail(','fromField','();','_fieldListV1','({\x20','hasOperation','toListItem','_datasetMap','toFieldDefinition','当前页码(从\x201\x20开始,默认:\x201)','join','getFieldsWithDeleted','placeholder','multiple','获取上传脚本','sum','\x20operation','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','iterator','SMALLINT','getSystem','getFieldsFilterOperatorsMap','_fieldListWithDeleted','requestFields','includeDisabled','mapDbTypeToType','getFieldInstance','column','supportsCRUD','分组字段列表','const\x20fileUrl\x20=\x20await\x20client.models.','创建导出','LONGBLOB','getEnumFieldMeta',',\x20doType=','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getAutoIncrement','dbId','-$1','prototype','hasField','_datasetMeta'];a0_0x1d31=function(){return _0x2d193b;};return a0_0x1d31();}class FieldV2 extends FieldBase{[a0_0x1469c4(0x164)];constructor(_0x226fcd){const _0x5c8863=a0_0x1469c4;super();if(!_0x226fcd||typeof _0x226fcd!==_0x5c8863(0x1c7))throw new Error(_0x5c8863(0x306));this[_0x5c8863(0x164)]=_0x226fcd;}['getVersion'](){return'v2';}get[a0_0x1469c4(0x91)](){const _0x5ded6f=a0_0x1469c4;return this[_0x5ded6f(0x164)];}get[a0_0x1469c4(0x227)](){const _0x4beb09=a0_0x1469c4;return this[_0x4beb09(0x164)][_0x4beb09(0x227)]||'';}get['code'](){const _0x1c37af=a0_0x1469c4;return this['_raw'][_0x1c37af(0x227)]||'';}get[a0_0x1469c4(0x1c9)](){return this['_raw']['displayName']||'';}get[a0_0x1469c4(0x272)](){const _0x51d581=a0_0x1469c4;if(this[_0x51d581(0x164)][_0x51d581(0x254)])return this[_0x51d581(0x164)][_0x51d581(0x254)];return this[_0x51d581(0x1b1)](this[_0x51d581(0x164)][_0x51d581(0xb6)]);}get[a0_0x1469c4(0x276)](){const _0x10da71=a0_0x1469c4;return this[_0x10da71(0x164)][_0x10da71(0x276)]||'';}get[a0_0x1469c4(0x2c9)](){const _0x4e2d9e=a0_0x1469c4;return Boolean(this['_raw'][_0x4e2d9e(0x2c9)]);}[a0_0x1469c4(0x2a8)](){const _0x218ba8=a0_0x1469c4;return Boolean(this['_raw'][_0x218ba8(0x16b)]);}[a0_0x1469c4(0xc3)](){const _0x46c486=a0_0x1469c4;return Boolean(this[_0x46c486(0x164)][_0x46c486(0x240)]);}[a0_0x1469c4(0x102)](){const _0x60a52=a0_0x1469c4;return Boolean(this['_raw'][_0x60a52(0xfc)]);}['isAutoIncrement'](){const _0x4a715a=a0_0x1469c4;return Boolean(this[_0x4a715a(0x164)][_0x4a715a(0x24a)]);}['isCreateTime'](){const _0x5e18a5=a0_0x1469c4;return this[_0x5e18a5(0x164)][_0x5e18a5(0xfc)]===_0x5e18a5(0x2af);}[a0_0x1469c4(0x183)](){const _0x4dbac9=a0_0x1469c4;return this['_raw']['systemRetain']===_0x4dbac9(0x15c);}[a0_0x1469c4(0xc0)](){const _0x37ef89=a0_0x1469c4;return this[_0x37ef89(0x164)][_0x37ef89(0x1c9)]||'';}[a0_0x1469c4(0x7c)](){const _0x9422dc=a0_0x1469c4;return this[_0x9422dc(0x164)][_0x9422dc(0x227)]||'';}['isEnum'](){const _0x593e0a=a0_0x1469c4;return Boolean(this[_0x593e0a(0x164)][_0x593e0a(0x2bc)]&&Array[_0x593e0a(0xea)](this['_raw'][_0x593e0a(0x2bc)])&&this[_0x593e0a(0x164)][_0x593e0a(0x2bc)][_0x593e0a(0xa7)]>0x0);}[a0_0x1469c4(0x2a4)](){const _0x15b38c=a0_0x1469c4,_0x1ebd63=this[_0x15b38c(0x164)]['extend'];if(!_0x1ebd63)return![];try{const _0x426eac=JSON[_0x15b38c(0x123)](_0x1ebd63);if(_0x426eac&&typeof _0x426eac===_0x15b38c(0x1c7)&&_0x15b38c(0x1a4)in _0x426eac)return Boolean(_0x426eac[_0x15b38c(0x1a4)]);}catch{}return![];}[a0_0x1469c4(0x2c3)](){const _0x37e6cc=a0_0x1469c4;if(this[_0x37e6cc(0x164)][_0x37e6cc(0x2bc)]&&Array['isArray'](this[_0x37e6cc(0x164)][_0x37e6cc(0x2bc)]))return this[_0x37e6cc(0x164)][_0x37e6cc(0x2bc)];return;}[a0_0x1469c4(0x78)](){const _0x1d6321=a0_0x1469c4,_0x46112c=this[_0x1d6321(0x164)][_0x1d6321(0x6d)];if(!_0x46112c)return;try{const _0x20f1ac=JSON[_0x1d6321(0x123)](_0x46112c);if(_0x20f1ac&&typeof _0x20f1ac==='object'&&'selectItemsSource'in _0x20f1ac)return _0x20f1ac[_0x1d6321(0xf0)];}catch{}return;}[a0_0x1469c4(0x26a)](){const _0x5ef878=a0_0x1469c4;if(!this[_0x5ef878(0x164)][_0x5ef878(0xb6)])return'';return this[_0x5ef878(0x164)]['dbType'][_0x5ef878(0x10a)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x5ef878(0x15f)]()[_0x5ef878(0x141)]();}[a0_0x1469c4(0x2cf)](){return;}[a0_0x1469c4(0x1d9)](){return;}get[a0_0x1469c4(0xb6)](){const _0x2f3c38=a0_0x1469c4;return this['_raw'][_0x2f3c38(0xb6)]??undefined;}get['dbTypeLen'](){const _0x2fdb99=a0_0x1469c4;return this[_0x2fdb99(0x164)][_0x2fdb99(0xa4)];}['getDOType'](){const _0x2e57f4=a0_0x1469c4;return this[_0x2e57f4(0x164)][_0x2e57f4(0x254)]??null;}get[a0_0x1469c4(0x254)](){const _0x100cd5=a0_0x1469c4;return this['_raw'][_0x100cd5(0x254)]??null;}['toJSON'](){const _0x2c425a=a0_0x1469c4;return{'name':this['name'],'code':this[_0x2c425a(0x167)],'type':this['type'],'dbType':this[_0x2c425a(0xb6)],'dbTypeLen':this[_0x2c425a(0xa4)],'doType':this[_0x2c425a(0x10b)](),'displayName':this['displayName'],'description':this[_0x2c425a(0x276)],'required':this[_0x2c425a(0x2a8)](),'primaryKey':this[_0x2c425a(0xc3)](),'system':this['isSystem'](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x2c425a(0x81)](),'updateTime':this[_0x2c425a(0x183)](),'isEnum':this[_0x2c425a(0x84)](),'enumMeta':this[_0x2c425a(0x84)]()?this[_0x2c425a(0x190)]():undefined};}[a0_0x1469c4(0xe2)](){const _0x1823ad=a0_0x1469c4;return _0x1823ad(0x2d6)+this[_0x1823ad(0x227)]+',\x20'+this['code']+',\x20'+this[_0x1823ad(0xb6)]+_0x1823ad(0x1ba)+this[_0x1823ad(0x10b)]()+')';}[a0_0x1469c4(0x1b1)](_0x5c8c5d){const _0x47d683=a0_0x1469c4;if(!_0x5c8c5d)return _0x47d683(0x16e);const _0x64a50={};_0x64a50[_0x47d683(0x302)]=_0x47d683(0x16e),_0x64a50['CHAR']=_0x47d683(0x16e),_0x64a50['TEXT']='TEXTAREA',_0x64a50[_0x47d683(0x250)]='TEXTAREA',_0x64a50[_0x47d683(0x1c5)]=_0x47d683(0x9b),_0x64a50['BIGINT']=_0x47d683(0x9b),_0x64a50[_0x47d683(0x2b2)]=_0x47d683(0x9b),_0x64a50[_0x47d683(0x1ab)]=_0x47d683(0x9b),_0x64a50['DECIMAL']='NUMBER',_0x64a50[_0x47d683(0x2ad)]=_0x47d683(0x9b),_0x64a50[_0x47d683(0x18b)]=_0x47d683(0x9b),_0x64a50[_0x47d683(0x1c3)]=_0x47d683(0x2e4),_0x64a50[_0x47d683(0x163)]='DATE',_0x64a50['DATE']=_0x47d683(0x2e4),_0x64a50[_0x47d683(0x2c0)]=_0x47d683(0x2c0),_0x64a50['BOOLEAN']=_0x47d683(0x274),_0x64a50[_0x47d683(0xec)]=_0x47d683(0x274),_0x64a50['BLOB']=_0x47d683(0x211),_0x64a50[_0x47d683(0x1b8)]='FILE';const _0x5777dc=_0x64a50,_0x1e360c=_0x5c8c5d[_0x47d683(0x141)]();return _0x5777dc[_0x1e360c]||_0x47d683(0x16e);}}class FieldListV2 extends FieldListBase{constructor(_0x301f3d,_0x5c7edd){super(_0x301f3d,_0x5c7edd);}[a0_0x1469c4(0x1ce)](_0x5a1bbf){const _0x2473e5=a0_0x1469c4;return _0x5a1bbf[_0x2473e5(0x2ee)](_0x206ec1=>new FieldV2(_0x206ec1));}[a0_0x1469c4(0x18c)](){const _0x28be77=a0_0x1469c4;return[...this[_0x28be77(0xcf)]];}['at'](_0x155024){return this['_fields']['at'](_0x155024);}[a0_0x1469c4(0x257)](_0x14bbda){const _0x1286c0=a0_0x1469c4;return this['_fields'][_0x1286c0(0x257)](_0x447198=>_0x447198['code']===_0x14bbda);}['findByName'](_0x4ca8e1){const _0x148bbb=a0_0x1469c4;return this[_0x148bbb(0xcf)][_0x148bbb(0x257)](_0x2cdcc7=>_0x2cdcc7[_0x148bbb(0xc0)]()===_0x4ca8e1);}[a0_0x1469c4(0x22f)](_0x34b4f2){const _0x4aba89=a0_0x1469c4;return this[_0x4aba89(0xcf)]['filter'](_0x34b4f2);}[a0_0x1469c4(0x2ee)](_0x4dc05c){const _0x492233=a0_0x1469c4;return this[_0x492233(0xcf)][_0x492233(0x2ee)](_0x4dc05c);}[a0_0x1469c4(0x1f5)](){const _0x40f507=a0_0x1469c4;return this['_fields'][_0x40f507(0x22f)](_0xed7993=>_0xed7993[_0x40f507(0x2a8)]());}[a0_0x1469c4(0x300)](){const _0x21ef2a=a0_0x1469c4;return this[_0x21ef2a(0xcf)]['filter'](_0x440ce0=>_0x440ce0[_0x21ef2a(0xc3)]());}[a0_0x1469c4(0x1ac)](){const _0x30602e=a0_0x1469c4;return this['_fields']['filter'](_0x99ce3e=>_0x99ce3e[_0x30602e(0x102)]());}['getBusiness'](){const _0x40520f=a0_0x1469c4;return this[_0x40520f(0xcf)]['filter'](_0x203edb=>_0x203edb[_0x40520f(0x2fb)]());}[a0_0x1469c4(0x15d)](){const _0x4f9f01=a0_0x1469c4;return this[_0x4f9f01(0xcf)][_0x4f9f01(0x22f)](_0x1fa93f=>_0x1fa93f[_0x4f9f01(0x84)]());}[a0_0x1469c4(0x14b)](){const _0x5846ac=a0_0x1469c4,_0x354353={};return this['_fields'][_0x5846ac(0x244)](_0x5e5489=>{const _0x3376b9=_0x5846ac,_0x26c8f0=_0x5e5489[_0x3376b9(0x272)];!_0x354353[_0x26c8f0]&&(_0x354353[_0x26c8f0]=[]),_0x354353[_0x26c8f0]['push'](_0x5e5489);}),_0x354353;}['raw'](){const _0x4a67f3=a0_0x1469c4;return this[_0x4a67f3(0xcf)][_0x4a67f3(0x2ee)](_0x31196e=>_0x31196e[_0x4a67f3(0x91)]);}static[a0_0x1469c4(0x28c)](_0x28a8b3){const _0x3101dd=a0_0x1469c4,_0x1b4cd4=_0x28a8b3[_0x3101dd(0x2ee)](_0x559c3a=>_0x559c3a[_0x3101dd(0x91)]);return new FieldListV2(_0x1b4cd4);}static[a0_0x1469c4(0x9a)](_0x2935c5){const _0x3a05db=a0_0x1469c4,_0x41a839={};return _0x41a839[_0x3a05db(0x179)]=!![],new FieldListV2(_0x2935c5,_0x41a839);}[a0_0x1469c4(0xe2)](){const _0x410101=a0_0x1469c4;return _0x410101(0xe4)+this[_0x410101(0xa7)]+'\x20fields)';}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x1469c4(0x19a)];[a0_0x1469c4(0x286)];constructor(_0x448c74){super(_0x448c74);}['getFieldList'](){const _0x36735c=a0_0x1469c4;if(!this[_0x36735c(0x19a)]){const _0x18d53d={};_0x18d53d[_0x36735c(0x179)]=![],this[_0x36735c(0x19a)]=new FieldListV1(this[_0x36735c(0x164)]['properties']||[],_0x18d53d);}return this['_fieldListV1'];}[a0_0x1469c4(0x94)](){const _0x226382=a0_0x1469c4;if(!this[_0x226382(0x286)]){const _0x447bea={};_0x447bea[_0x226382(0x179)]=!![],this[_0x226382(0x286)]=new FieldListV1(this['_raw'][_0x226382(0x68)]||[],_0x447bea);}return this[_0x226382(0x286)];}[a0_0x1469c4(0x1f7)](){const _0x5c9610=a0_0x1469c4;return(this[_0x5c9610(0x164)][_0x5c9610(0x68)]||[])[_0x5c9610(0x22f)](_0xbd3280=>!_0xbd3280[_0x5c9610(0x2c9)]);}[a0_0x1469c4(0x2db)](){const _0x15146e=a0_0x1469c4;return this['getFieldList']()[_0x15146e(0xa7)];}[a0_0x1469c4(0x2d8)](_0x2c2edd){const _0x3ea6d4=a0_0x1469c4;return this[_0x3ea6d4(0x164)][_0x3ea6d4(0x68)]?.[_0x3ea6d4(0x257)](_0xfa61e=>_0xfa61e[_0x3ea6d4(0x167)]===_0x2c2edd);}[a0_0x1469c4(0x144)](){return'v1';}[a0_0x1469c4(0x294)](){const _0x155fa3=a0_0x1469c4,_0x2a1fae={};return _0x2a1fae[_0x155fa3(0x1ec)]=this[_0x155fa3(0x164)]['properties']||[],_0x2a1fae[_0x155fa3(0x179)]=![],_0x2a1fae;}[a0_0x1469c4(0x90)](){const _0x1dd115=a0_0x1469c4;return this[_0x1dd115(0x164)]['operations'];}['getSource'](){const _0x236a08=a0_0x1469c4;return this[_0x236a08(0x164)][_0x236a08(0x293)];}[a0_0x1469c4(0x2f0)](){const _0x524b1f=a0_0x1469c4,_0x5ebc94=this['getRawDbtableConfig'](),_0x31e667=_0x5ebc94?.[_0x524b1f(0x136)],_0x11e067={};return _0x11e067[_0x524b1f(0x1bd)]=_0x5ebc94?.[_0x524b1f(0x1bd)],_0x11e067[_0x524b1f(0x26f)]=_0x5ebc94?.['dbName']??_0x31e667?.['dbName'],_0x11e067['dbType']=_0x31e667?.[_0x524b1f(0xb6)],_0x11e067['dbVersion']=_0x31e667?.[_0x524b1f(0x149)],_0x11e067[_0x524b1f(0x139)]=_0x5ebc94?.[_0x524b1f(0x139)],_0x11e067['datasetKey']=_0x5ebc94?.['datasetKey'],_0x11e067[_0x524b1f(0x240)]=_0x5ebc94?.[_0x524b1f(0x240)],_0x11e067[_0x524b1f(0x236)]=_0x31e667?.[_0x524b1f(0x236)],_0x11e067['appCode']=_0x31e667?.[_0x524b1f(0x23e)],new DBConfig(_0x11e067,_0x5ebc94);}get[a0_0x1469c4(0x224)](){const _0x1b025a=a0_0x1469c4;return this[_0x1b025a(0x164)][_0x1b025a(0x224)];}[a0_0x1469c4(0x1b2)](_0x386fd3){const _0xa75242=a0_0x1469c4;if(typeof _0x386fd3!=='string'){!![]&&console[_0xa75242(0x1dc)](_0xa75242(0x27c),_0x386fd3);return;}return this[_0xa75242(0xc6)]()[_0xa75242(0x257)](_0x386fd3);}['isMultipleSelectField'](_0x3ac9fd){const _0x42122d=a0_0x1469c4;if(!_0x3ac9fd||typeof _0x3ac9fd!==_0x42122d(0x1c7))return![];const _0x16dd84=this[_0x42122d(0x1b2)](_0x3ac9fd[_0x42122d(0x167)]);return _0x16dd84?_0x16dd84[_0x42122d(0x2a4)]():![];}[a0_0x1469c4(0x75)](){const _0x531d6b=a0_0x1469c4,_0x4265b4=this[_0x531d6b(0x105)](_0x531d6b(0x22f));return _0x4265b4;}['hasFilterOperation'](){const _0x21843b=a0_0x1469c4;return this[_0x21843b(0x19c)](_0x21843b(0x22f));}[a0_0x1469c4(0x19d)](){const _0x4eddc8=a0_0x1469c4;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x4eddc8(0x173)],'dbtableConfig':this[_0x4eddc8(0x210)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];[a0_0x1469c4(0x1c1)];[a0_0x1469c4(0x11d)];constructor(_0x587de7){const _0x23c4aa=a0_0x1469c4;super(_0x587de7),this[_0x23c4aa(0x1c1)]=_0x587de7[_0x23c4aa(0x238)],this[_0x23c4aa(0x11d)]=_0x587de7[_0x23c4aa(0x23b)]||[];}[a0_0x1469c4(0x144)](){return'v2';}[a0_0x1469c4(0x294)](){const _0x11ade3=a0_0x1469c4,_0x23bbe8={};return _0x23bbe8[_0x11ade3(0x1ec)]=this[_0x11ade3(0x164)][_0x11ade3(0x1ec)],_0x23bbe8['includeDeleted']=![],_0x23bbe8;}['getOperationsData'](){const _0x226949=a0_0x1469c4;return this[_0x226949(0x164)][_0x226949(0x1e5)];}[a0_0x1469c4(0xa0)](){const _0x43b5ec=a0_0x1469c4;return this[_0x43b5ec(0x164)][_0x43b5ec(0x293)];}[a0_0x1469c4(0x2f0)](){const _0x313d38=a0_0x1469c4,_0x5f0ef2=this['_raw'][_0x313d38(0x10e)],_0x428a1c=_0x5f0ef2?.[_0x313d38(0x136)],_0x22deab={};return _0x22deab['dbId']=_0x5f0ef2?.[_0x313d38(0x1bd)],_0x22deab[_0x313d38(0x26f)]=_0x5f0ef2?.['dbName']??_0x428a1c?.[_0x313d38(0x26f)],_0x22deab[_0x313d38(0xb6)]=_0x428a1c?.[_0x313d38(0xb6)],_0x22deab['dbVersion']=_0x428a1c?.[_0x313d38(0x149)],_0x22deab[_0x313d38(0x139)]=_0x5f0ef2?.[_0x313d38(0x139)],_0x22deab['datasetKey']=_0x5f0ef2?.[_0x313d38(0x1f8)],_0x22deab[_0x313d38(0x240)]=_0x5f0ef2?.['pkField'],_0x22deab[_0x313d38(0x236)]=_0x5f0ef2?.['tenantCode']??_0x428a1c?.[_0x313d38(0x236)],_0x22deab[_0x313d38(0x23e)]=_0x5f0ef2?.[_0x313d38(0x23e)]??_0x428a1c?.[_0x313d38(0x23e)],new DBConfig(_0x22deab,_0x5f0ef2);}[a0_0x1469c4(0xc6)](){const _0x1429dc=a0_0x1469c4;return this[_0x1429dc(0xf7)]();}[a0_0x1469c4(0x1f7)](){const _0x27f97c=a0_0x1469c4;return this[_0x27f97c(0x164)][_0x27f97c(0x1ec)]||[];}['getFieldCount'](){const _0x2c71ba=a0_0x1469c4;return(this['_raw'][_0x2c71ba(0x1ec)]||[])[_0x2c71ba(0xa7)];}[a0_0x1469c4(0x2d8)](_0x2766d1){const _0x3cd7b0=a0_0x1469c4;return this[_0x3cd7b0(0x164)]['fields'][_0x3cd7b0(0x257)](_0x2f392a=>_0x2f392a[_0x3cd7b0(0x227)]===_0x2766d1);}[a0_0x1469c4(0x1fb)](){const _0x3e65dd=a0_0x1469c4;return this[_0x3e65dd(0x1c1)];}[a0_0x1469c4(0x20c)](){return this['_relations'];}[a0_0x1469c4(0x16f)](){const _0x351a07=a0_0x1469c4;return this[_0x351a07(0x1c1)][_0x351a07(0x2f5)]||[];}['getRelationsByField'](_0x3d9b4f){const _0x312e14=a0_0x1469c4;return this[_0x312e14(0x11d)][_0x312e14(0x22f)](_0x29273f=>_0x29273f[_0x312e14(0x198)]===_0x3d9b4f);}[a0_0x1469c4(0x77)](_0x316d20){const _0x17224f=a0_0x1469c4;return this[_0x17224f(0x11d)][_0x17224f(0x1e3)](_0x114ff2=>_0x114ff2[_0x17224f(0x198)]===_0x316d20);}[a0_0x1469c4(0x2f8)](_0x23f958){const _0x1ebb80=a0_0x1469c4,_0x4e4c49=this[_0x1ebb80(0x11d)]['find'](_0x4a5386=>_0x4a5386[_0x1ebb80(0x198)]===_0x23f958);if(!_0x4e4c49)return;const _0x22c79c={};return _0x22c79c['datasetId']=_0x4e4c49[_0x1ebb80(0xc7)],_0x22c79c['datasetCode']=_0x4e4c49['toDatasetCode'],_0x22c79c[_0x1ebb80(0xd0)]=_0x4e4c49[_0x1ebb80(0x101)],_0x22c79c['tableName']=_0x4e4c49[_0x1ebb80(0x2bd)],_0x22c79c[_0x1ebb80(0x225)]=_0x4e4c49[_0x1ebb80(0x225)],_0x22c79c;}[a0_0x1469c4(0x28b)](){const _0x5afa65=a0_0x1469c4;return this['_relations'][_0x5afa65(0x2ee)](_0x6c1771=>_0x6c1771[_0x5afa65(0x198)]);}[a0_0x1469c4(0xf7)](){const _0x121a2e=a0_0x1469c4;if(!this[_0x121a2e(0x1d7)]){const _0x538cf2=this[_0x121a2e(0x164)]['fields']||[];this[_0x121a2e(0x1d7)]=new FieldListV2(_0x538cf2);}return this[_0x121a2e(0x1d7)];}['getFieldInstance'](_0x280e00){const _0xfbff74=a0_0x1469c4;if(typeof _0x280e00!==_0xfbff74(0xf4)){!![]&&console[_0xfbff74(0x1dc)](_0xfbff74(0x2df),_0x280e00);return;}return this[_0xfbff74(0xf7)]()[_0xfbff74(0x257)](_0x280e00);}['isMultipleSelectField'](_0x5bfa1d){const _0x540972=a0_0x1469c4;if(!_0x5bfa1d||typeof _0x5bfa1d!=='object')return![];const _0x238c77=_0x5bfa1d[_0x540972(0x227)]||_0x5bfa1d[_0x540972(0x167)],_0x1d0518=this[_0x540972(0x1b2)](_0x238c77);return _0x1d0518?_0x1d0518['isMultipleSelect']():![];}[a0_0x1469c4(0x1e1)](){const _0x354991=a0_0x1469c4;if(!this[_0x354991(0x156)]){const _0x2d393b=this[_0x354991(0x161)](this[_0x354991(0x90)]()||{});this[_0x354991(0x156)]=new OperationList(_0x2d393b,{'fields':this[_0x354991(0xf7)]()[_0x354991(0x18c)](),'pkField':this[_0x354991(0x164)][_0x354991(0x10e)]?.['pkField'],'dbtableConfig':this['_raw']['dbtableConfig']||null});}return this[_0x354991(0x156)];}[a0_0x1469c4(0x75)](){const _0x15aab4=a0_0x1469c4,_0x415ee6=this[_0x15aab4(0x105)]('filter');return _0x415ee6;}['hasFilterOperation'](){const _0x569c3a=a0_0x1469c4;return this[_0x569c3a(0x19c)](_0x569c3a(0x22f));}['toListItem'](){const _0x1d7c90=a0_0x1469c4;return new DatasetItem({'id':this['id'],'name':this[_0x1d7c90(0x227)],'datasetCode':this[_0x1d7c90(0x173)],'dbtableConfig':this[_0x1d7c90(0x210)]()});}[a0_0x1469c4(0xe2)](){const _0x1d2c53=a0_0x1469c4,_0x43adea=this[_0x1d2c53(0x11d)][_0x1d2c53(0xa7)],_0x20a2eb=this[_0x1d2c53(0x16f)]()[_0x1d2c53(0xa7)];return _0x1d2c53(0x1c4)+this['name']+',\x20'+this['datasetCode']+',\x20'+this[_0x1d2c53(0x2db)]()+_0x1d2c53(0xdb)+this[_0x1d2c53(0x2f6)]()+_0x1d2c53(0x82)+_0x43adea+_0x1d2c53(0x117)+_0x20a2eb+_0x1d2c53(0x18f);}[a0_0x1469c4(0x305)](){const _0x20ba9e=a0_0x1469c4;return this[_0x20ba9e(0x164)]['fields'];}['getFieldV2'](_0xe2a717){const _0x941d3c=a0_0x1469c4;return this[_0x941d3c(0x164)]['fields'][_0x941d3c(0x257)](_0x1626dc=>_0x1626dc[_0x941d3c(0x227)]===_0xe2a717);}}function detectDatasetVersion(_0x1963e5){const _0x1cb579=a0_0x1469c4;if(_0x1963e5[_0x1cb579(0xd5)]==='v2'&&_0x1cb579(0x1ec)in _0x1963e5&&Array[_0x1cb579(0xea)](_0x1963e5[_0x1cb579(0x1ec)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x1469c4(0x108)];constructor(_0x257ce4){super(_0x257ce4);const _0x131c4a=detectDatasetVersion(_0x257ce4);this['_instance']=_0x131c4a==='v2'?new DrivenDataDetailV2(_0x257ce4):new DrivenDataDetailV1(_0x257ce4);}get['id'](){const _0x4112a0=a0_0x1469c4;return this[_0x4112a0(0x108)]['id'];}get[a0_0x1469c4(0x227)](){const _0x1c558e=a0_0x1469c4;return this[_0x1c558e(0x108)][_0x1c558e(0x227)];}get[a0_0x1469c4(0x173)](){const _0x3bb81d=a0_0x1469c4;return this[_0x3bb81d(0x108)][_0x3bb81d(0x173)];}get[a0_0x1469c4(0x224)](){const _0x270041=a0_0x1469c4;return this[_0x270041(0x108)][_0x270041(0x144)]()==='v2'?_0x270041(0x2d4):_0x270041(0x1ca);}[a0_0x1469c4(0x144)](){const _0x4d16b9=a0_0x1469c4;return this[_0x4d16b9(0x108)][_0x4d16b9(0x144)]();}[a0_0x1469c4(0x301)](){const _0x45f3c2=a0_0x1469c4;return this[_0x45f3c2(0x108)]['id'];}[a0_0x1469c4(0x176)](){const _0x54c210=a0_0x1469c4;return this[_0x54c210(0x108)][_0x54c210(0x173)];}[a0_0x1469c4(0x2bb)](){const _0x55e7b7=a0_0x1469c4;return this[_0x55e7b7(0x108)][_0x55e7b7(0x227)];}['getFieldDataSource'](){const _0xd8a0ca=a0_0x1469c4;return this[_0xd8a0ca(0x108)][_0xd8a0ca(0x294)]();}['getOperationsData'](){const _0x1045f2=a0_0x1469c4;return this[_0x1045f2(0x108)][_0x1045f2(0x90)]();}[a0_0x1469c4(0xa0)](){const _0x5dc912=a0_0x1469c4;return this['_instance'][_0x5dc912(0xa0)]();}[a0_0x1469c4(0x94)](){const _0x167a8f=a0_0x1469c4;return this[_0x167a8f(0x108)]['getFieldListWithDeleted']();}[a0_0x1469c4(0xc6)](){const _0x11fdcc=a0_0x1469c4;return this[_0x11fdcc(0x108)][_0x11fdcc(0xc6)]();}[a0_0x1469c4(0x1a2)](){const _0x24dbbe=a0_0x1469c4;return this[_0x24dbbe(0x108)][_0x24dbbe(0x1a2)]();}[a0_0x1469c4(0x1f7)](){const _0x4a3537=a0_0x1469c4;return this[_0x4a3537(0x108)][_0x4a3537(0x1f7)]();}[a0_0x1469c4(0x2db)](){const _0x706037=a0_0x1469c4;return this[_0x706037(0x108)][_0x706037(0x2db)]();}[a0_0x1469c4(0x7d)](){const _0x229687=a0_0x1469c4,_0xba7170=this[_0x229687(0x108)][_0x229687(0x210)]();return _0xba7170?.[_0x229687(0x240)];}[a0_0x1469c4(0x2f0)](){const _0x394698=a0_0x1469c4;return this[_0x394698(0x108)]['getDBConfig']();}['getFieldInstance'](_0x274739){const _0x1967d2=a0_0x1469c4;return this['_instance'][_0x1967d2(0x1b2)](_0x274739);}[a0_0x1469c4(0x2e6)](){const _0x2cfcf5=a0_0x1469c4;return this[_0x2cfcf5(0x108)][_0x2cfcf5(0x2e6)]();}[a0_0x1469c4(0x1e7)](){const _0x3d206e=a0_0x1469c4;return this[_0x3d206e(0x108)][_0x3d206e(0x1e7)]();}[a0_0x1469c4(0x2d2)](){return this['_instance']['getBusinessFields']();}[a0_0x1469c4(0x116)](){const _0x3c8e05=a0_0x1469c4;return this['_instance'][_0x3c8e05(0x116)]();}[a0_0x1469c4(0x2f9)](){const _0x5cf60d=a0_0x1469c4;return this[_0x5cf60d(0x108)][_0x5cf60d(0x2f9)]();}[a0_0x1469c4(0xf6)](){const _0x269abf=a0_0x1469c4;return this[_0x269abf(0x108)]['getEnumFields']();}[a0_0x1469c4(0xcc)](){const _0x58f438=a0_0x1469c4;return this[_0x58f438(0x108)]['getEnumFieldsMeta']();}[a0_0x1469c4(0x12c)](){const _0x1e6560=a0_0x1469c4;return this['_instance'][_0x1e6560(0x12c)]();}[a0_0x1469c4(0x2f6)](){const _0x4504d2=a0_0x1469c4;return this['_instance'][_0x4504d2(0x2f6)]();}[a0_0x1469c4(0x2ce)](){const _0x57920c=a0_0x1469c4;return this[_0x57920c(0x108)]['getEnabledOperations']();}[a0_0x1469c4(0xee)](){const _0x4e912a=a0_0x1469c4;return this[_0x4e912a(0x108)][_0x4e912a(0xee)]();}[a0_0x1469c4(0x287)](){const _0x430c06=a0_0x1469c4;return this[_0x430c06(0x108)][_0x430c06(0x287)]();}[a0_0x1469c4(0xdc)](){const _0x23f719=a0_0x1469c4;return this[_0x23f719(0x108)]['getDisabledOperationInstances']();}[a0_0x1469c4(0x278)](){const _0x274f34=a0_0x1469c4;return this[_0x274f34(0x108)][_0x274f34(0x278)]();}[a0_0x1469c4(0x1fb)](){const _0x1aa3c7=a0_0x1469c4;return this[_0x1aa3c7(0x108)]['getDatasetMeta']();}['getRelations'](){const _0x50cc76=a0_0x1469c4;return this[_0x50cc76(0x108)]['getRelations']();}[a0_0x1469c4(0x16f)](){const _0x325159=a0_0x1469c4;return this[_0x325159(0x108)][_0x325159(0x16f)]();}[a0_0x1469c4(0x171)](){const _0x3203c0=a0_0x1469c4;return this[_0x3203c0(0x108)]['getFilterOperators']();}[a0_0x1469c4(0x1ad)](){const _0x2309d6=a0_0x1469c4;return this[_0x2309d6(0x108)][_0x2309d6(0x1ad)]();}['toJSON'](){const _0x5a9d3a=a0_0x1469c4;return this['_instance'][_0x5a9d3a(0x1c2)]();}['getFilterOperation'](){const _0x37c5d4=a0_0x1469c4;return this[_0x37c5d4(0x108)][_0x37c5d4(0x75)]();}[a0_0x1469c4(0x25f)](){const _0x13e05b=a0_0x1469c4;return this[_0x13e05b(0x108)]['hasFilterOperation']();}[a0_0x1469c4(0x19d)](){const _0x3690f6=a0_0x1469c4;return this[_0x3690f6(0x108)][_0x3690f6(0x19d)]();}[a0_0x1469c4(0xe2)](){const _0x275233=a0_0x1469c4;return this[_0x275233(0x108)][_0x275233(0xe2)]();}['getInternalInstance'](){const _0x3a3ce9=a0_0x1469c4;return this[_0x3a3ce9(0x108)];}}function detectDatasetVersion2(_0x20d413){const _0x55fd4b=a0_0x1469c4;if(_0x20d413[_0x55fd4b(0xd5)]==='v2'&&'fields'in _0x20d413&&Array[_0x55fd4b(0xea)](_0x20d413[_0x55fd4b(0x1ec)]))return'v2';return'v1';}function createDrivenDataDetail(_0x3bdacf,_0x3f966b={}){const {forceVersion:_0x2a0f60}=_0x3f966b;if(_0x2a0f60==='v2')return new DrivenDataDetailV2(_0x3bdacf);if(_0x2a0f60==='v1')return new DrivenDataDetailV1(_0x3bdacf);const _0x190d5e=detectDatasetVersion2(_0x3bdacf);if(_0x190d5e==='v2')return new DrivenDataDetailV2(_0x3bdacf);return new DrivenDataDetailV1(_0x3bdacf);}function isV2Data(_0x4dd339){return detectDatasetVersion2(_0x4dd339)==='v2';}function isV1Data(_0x8bbe6b){return detectDatasetVersion2(_0x8bbe6b)==='v1';}function isV2Instance(_0x1f95a3){const _0x3a1a3d=a0_0x1469c4;return _0x1f95a3[_0x3a1a3d(0x144)]()==='v2';}function isV1Instance(_0x5d98f7){const _0x18bc75=a0_0x1469c4;return _0x5d98f7[_0x18bc75(0x144)]()==='v1';}class DatasetGroup{['items'];constructor(_0x27392d){const _0x3f65d2=a0_0x1469c4;this[_0x3f65d2(0x1e0)]=Array[_0x3f65d2(0xea)](_0x27392d)?[..._0x27392d]:[_0x27392d],this['items'][_0x3f65d2(0x2b1)]((_0x317f32,_0x2f7da6)=>{const _0x4e692b=Number(_0x317f32['id'])||0x0,_0x722baf=Number(_0x2f7da6['id'])||0x0;return _0x722baf-_0x4e692b;});}[a0_0x1469c4(0x1f4)](){const _0x3ae682=a0_0x1469c4;return this[_0x3ae682(0x1e0)][_0x3ae682(0xa7)]>0x1;}[a0_0x1469c4(0xd2)](){const _0x3707e5=a0_0x1469c4;return this[_0x3707e5(0x1e0)][0x0];}['getOldest'](){const _0x39c563=a0_0x1469c4;return this[_0x39c563(0x1e0)][this['items']['length']-0x1];}[a0_0x1469c4(0x8a)](){const _0x489013=a0_0x1469c4;return[...this[_0x489013(0x1e0)]];}[a0_0x1469c4(0x31e)](){const _0x4e034e=a0_0x1469c4;return this[_0x4e034e(0x1e0)][_0x4e034e(0xa7)];}[a0_0x1469c4(0x114)](_0x335674){return this['items'][_0x335674];}[a0_0x1469c4(0x2ed)](_0x571ea1){const _0x4629b6=a0_0x1469c4;return this[_0x4629b6(0x1e0)]['find'](_0x303f83=>_0x303f83['id']===_0x571ea1);}[a0_0x1469c4(0x10d)](_0x40af82){const _0x534acb=a0_0x1469c4;return this[_0x534acb(0x1e0)]['find'](_0x15029c=>_0x15029c['datasetCode']===_0x40af82);}[a0_0x1469c4(0x103)](){const _0x5dd630=a0_0x1469c4;return this['items'][_0x5dd630(0x2ee)](_0x482815=>_0x482815['id'])[_0x5dd630(0x22f)](_0x240ba5=>_0x240ba5!==undefined);}[a0_0x1469c4(0x109)](){const _0x5f2929=a0_0x1469c4;return this['items'][_0x5f2929(0x2ee)](_0x1eb759=>_0x1eb759[_0x5f2929(0x173)]);}['toString'](){const _0x2965d9=a0_0x1469c4;if(this[_0x2965d9(0x1f4)]())return'DatasetGroup('+this[_0x2965d9(0x1e0)]['length']+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x2965d9(0xd2)]()['name']+')';return _0x2965d9(0x2ac)+this[_0x2965d9(0x1e0)][0x0][_0x2965d9(0x227)]+')';}}class DatasetGroupMap{[a0_0x1469c4(0x17d)];constructor(_0x5d84d4){const _0x46a570=a0_0x1469c4;this[_0x46a570(0x17d)]=new Map();for(const _0x1d6d1f of _0x5d84d4){const _0x4d2130=_0x1d6d1f[_0x46a570(0x25b)](),_0x5d6aad=_0x1d6d1f[_0x46a570(0x10e)]?.[_0x46a570(0x1bd)],_0x53f587=_0x1d6d1f['dbtableConfig']?.['dbName']||_0x1d6d1f[_0x46a570(0x10e)]?.['dblinkInfoDTO']?.[_0x46a570(0x26f)]||'',_0x51c390=_0x5d6aad!==undefined&&_0x5d6aad!==null?'db'+_0x5d6aad:_0x53f587?getTableKey(_0x53f587):'',_0x1f5ebb=_0x51c390?_0x51c390+'_'+_0x4d2130:_0x4d2130,_0xd0281c=getTableKey(_0x1f5ebb);if(!this[_0x46a570(0x17d)][_0x46a570(0x95)](_0xd0281c))this[_0x46a570(0x17d)][_0x46a570(0x23f)](_0xd0281c,new DatasetGroup(_0x1d6d1f));else{const _0x17715c=this[_0x46a570(0x17d)][_0x46a570(0x127)](_0xd0281c),_0x3a279a=[..._0x17715c[_0x46a570(0x8a)](),_0x1d6d1f];this[_0x46a570(0x17d)][_0x46a570(0x23f)](_0xd0281c,new DatasetGroup(_0x3a279a));}}}[a0_0x1469c4(0x127)](_0x4ecf6d){const _0x25a630=a0_0x1469c4;return this[_0x25a630(0x17d)]['get'](_0x4ecf6d);}[a0_0x1469c4(0x95)](_0x4c3238){const _0x57a201=a0_0x1469c4;return this[_0x57a201(0x17d)][_0x57a201(0x95)](_0x4c3238);}get[a0_0x1469c4(0x112)](){const _0x3e1e6d=a0_0x1469c4;return this[_0x3e1e6d(0x17d)][_0x3e1e6d(0x112)];}['keys'](){return this['groups']['keys']();}['values'](){const _0x3c2df5=a0_0x1469c4;return this[_0x3c2df5(0x17d)][_0x3c2df5(0xd6)]();}[a0_0x1469c4(0x30d)](){const _0x563172=a0_0x1469c4;return this['groups'][_0x563172(0x30d)]();}[Symbol['iterator']](){const _0x1a3fc0=a0_0x1469c4;return this[_0x1a3fc0(0x17d)][_0x1a3fc0(0x30d)]();}[a0_0x1469c4(0x244)](_0x132fa9){const _0x54fc70=a0_0x1469c4;this[_0x54fc70(0x17d)][_0x54fc70(0x244)]((_0x17ccfe,_0x3b19fd)=>_0x132fa9(_0x17ccfe,_0x3b19fd,this));}['getConflicts'](){const _0x3523c3=a0_0x1469c4,_0x7aea47=new Map();for(const [_0x784c2f,_0x2ac40f]of this[_0x3523c3(0x17d)]){_0x2ac40f['hasConflict']()&&_0x7aea47['set'](_0x784c2f,_0x2ac40f);}return _0x7aea47;}[a0_0x1469c4(0x18d)](){const _0x279a02=a0_0x1469c4;for(const _0x586e85 of this[_0x279a02(0x17d)][_0x279a02(0xd6)]()){if(_0x586e85[_0x279a02(0x1f4)]())return!![];}return![];}['getConflictStats'](){const _0x2c6a6a=a0_0x1469c4;let _0x454e4b=0x0,_0x73a17c=0x0;for(const _0xf393cc of this[_0x2c6a6a(0x17d)]['values']()){_0xf393cc['hasConflict']()&&(_0x454e4b++,_0x73a17c+=_0xf393cc[_0x2c6a6a(0x31e)]());}const _0x3d4648={};return _0x3d4648[_0x2c6a6a(0x152)]=_0x454e4b,_0x3d4648[_0x2c6a6a(0x263)]=_0x73a17c,_0x3d4648[_0x2c6a6a(0x193)]=this[_0x2c6a6a(0x17d)]['size'],_0x3d4648;}[a0_0x1469c4(0xfa)](){const _0x4b624a=a0_0x1469c4,_0x4bea34=[];for(const _0x5d5dc2 of this['groups'][_0x4b624a(0xd6)]()){_0x4bea34['push'](..._0x5d5dc2[_0x4b624a(0x8a)]());}return _0x4bea34;}[a0_0x1469c4(0x268)](){const _0x3e71c4=a0_0x1469c4,_0x20dde4=[];for(const _0x197860 of this[_0x3e71c4(0x17d)][_0x3e71c4(0xd6)]()){_0x20dde4[_0x3e71c4(0x241)](_0x197860[_0x3e71c4(0xd2)]());}return _0x20dde4;}['getLatest'](_0x259a77){const _0x278c07=a0_0x1469c4;return this[_0x278c07(0x17d)][_0x278c07(0x127)](_0x259a77)?.[_0x278c07(0xd2)]();}[a0_0x1469c4(0x8a)](_0x3c193e){const _0x66386a=a0_0x1469c4;return this['groups'][_0x66386a(0x127)](_0x3c193e)?.[_0x66386a(0x8a)]()||[];}['toConfig'](){const _0x259205=a0_0x1469c4,_0x5896d4=this[_0x259205(0x268)](),_0x5643f6=new Map();for(const _0x542e39 of _0x5896d4){const _0x3d9b0d=_0x542e39[_0x259205(0x25b)](),_0x107361=_0x542e39[_0x259205(0x10e)]?.[_0x259205(0x1bd)],_0x4358ee=_0x542e39['dbtableConfig']?.[_0x259205(0x26f)]||_0x542e39[_0x259205(0x10e)]?.[_0x259205(0x136)]?.[_0x259205(0x26f)]||'',_0x252ce1=_0x107361!==undefined&&_0x107361!==null?'db'+_0x107361:_0x4358ee?getTableKey(_0x4358ee):'';!_0x5643f6[_0x259205(0x95)](_0x3d9b0d)&&_0x5643f6[_0x259205(0x23f)](_0x3d9b0d,new Set()),_0x5643f6[_0x259205(0x127)](_0x3d9b0d)[_0x259205(0x325)](_0x252ce1);}const _0x57ca70=new Set();for(const [_0x9d8386,_0x32081b]of _0x5643f6){_0x32081b[_0x259205(0x112)]>0x1&&_0x57ca70[_0x259205(0x325)](_0x9d8386);}const _0x2b455b={},_0xe654ae=new Set();for(const _0x3b21ad of _0x5896d4){const _0x49399d=_0x3b21ad[_0x259205(0x25b)](),_0x596766=_0x3b21ad[_0x259205(0x1c2)](),_0x353528=getTableKey(_0x49399d);let _0xeba291=_0x353528;const _0x196a8f=_0x3b21ad['dbtableConfig']?.[_0x259205(0x26f)]||_0x3b21ad['dbtableConfig']?.[_0x259205(0x136)]?.[_0x259205(0x26f)]||'';if(_0x57ca70[_0x259205(0x95)](_0x49399d)&&_0x196a8f){const _0x1c826d=getTableKey(_0x196a8f);_0xeba291=''+_0x1c826d+_0x353528[_0x259205(0x6c)](0x0)[_0x259205(0x141)]()+_0x353528[_0x259205(0xe6)](0x1);}let _0x1a5680=_0xeba291,_0x1155a5=0x1;while(_0xe654ae[_0x259205(0x95)](_0x1a5680)){_0x1a5680=_0xeba291+'_'+_0x1155a5,_0x1155a5++;}_0xe654ae['add'](_0x1a5680);const _0x2cc038=_0x1a5680;_0x2b455b[_0x1a5680]={'key':_0x1a5680,'alias':_0x2cc038,'tableName':_0x49399d,'datasetCode':_0x596766[_0x259205(0x173)],'name':_0x596766[_0x259205(0x227)],'id':_0x596766['id'],'dbName':_0x196a8f};}return _0x2b455b;}[a0_0x1469c4(0x65)](){const _0x313eb8=a0_0x1469c4,_0x35ab3d=this[_0x313eb8(0xfa)](),_0x2e02c4=_0x35ab3d[_0x313eb8(0x2ee)](_0x5bc8a2=>_0x5bc8a2[_0x313eb8(0x1c2)]());return generateFullDatasetsConfig(_0x2e02c4);}[a0_0x1469c4(0x323)](){const _0x1fc6b8=a0_0x1469c4,_0xf5babf={};for(const [_0x4a74f4,_0xc41ddc]of this[_0x1fc6b8(0x17d)]){_0xf5babf[_0x4a74f4]=_0xc41ddc;}return _0xf5babf;}[a0_0x1469c4(0x1c2)](){const _0x590163=a0_0x1469c4,_0x454161={};for(const [_0x36fad0,_0x45555e]of this[_0x590163(0x17d)]){_0x454161[_0x36fad0]=_0x45555e['getAll']()[_0x590163(0x2ee)](_0x174525=>_0x174525[_0x590163(0x1c2)]());}return _0x454161;}[a0_0x1469c4(0xe2)](){const _0x414db2=a0_0x1469c4;return _0x414db2(0x125)+this['groups']['size']+_0x414db2(0x17c)+(this[_0x414db2(0x18d)]()?'has\x20conflicts':_0x414db2(0x153))+')';}}class DatasetList{[a0_0x1469c4(0x19e)];constructor(_0xdc4e7b){const _0x586751=a0_0x1469c4;let _0x3c3ae2;if(Array['isArray'](_0xdc4e7b))_0x3c3ae2=_0xdc4e7b;else{if('success'in _0xdc4e7b){if(!_0xdc4e7b[_0x586751(0xf3)])throw new Error(_0x586751(0x12b));if(Array['isArray'](_0xdc4e7b[_0x586751(0x253)]))_0x3c3ae2=_0xdc4e7b[_0x586751(0x253)][_0x586751(0x2ee)](_0x2d7b0a=>({..._0x2d7b0a,'datasetCode':_0x2d7b0a['code']||_0x2d7b0a[_0x586751(0x173)]}));else{if(_0xdc4e7b[_0x586751(0x253)]?.[_0x586751(0x20b)])_0x3c3ae2=_0xdc4e7b['data'][_0x586751(0x20b)][_0x586751(0x2ee)](_0x5424b6=>({..._0x5424b6,'datasetCode':_0x5424b6['code']||_0x5424b6[_0x586751(0x173)]}));else throw new Error(_0x586751(0x20d));}}else{if(_0x586751(0x20b)in _0xdc4e7b){if(!Array[_0x586751(0xea)](_0xdc4e7b['tableData']))throw new Error(_0x586751(0x309));_0x3c3ae2=_0xdc4e7b[_0x586751(0x20b)][_0x586751(0x2ee)](_0x3e0bce=>({..._0x3e0bce,'datasetCode':_0x3e0bce[_0x586751(0x167)]||_0x3e0bce[_0x586751(0x173)]}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse');}}const _0x3e2507=cleanDatasetNames(_0x3c3ae2),_0x1f9729=_0x3e2507[_0x586751(0x2ee)](_0x3fa581=>new DatasetItem(_0x3fa581));this[_0x586751(0x19e)]=new DatasetGroupMap(_0x1f9729);}get['datasetMap'](){const _0xbd7fc8=a0_0x1469c4;return this[_0xbd7fc8(0x19e)];}[a0_0x1469c4(0x92)](){const _0x3011fb=a0_0x1469c4;return this[_0x3011fb(0x19e)][_0x3011fb(0xfa)]();}[a0_0x1469c4(0x31e)](){const _0x37500c=a0_0x1469c4;return this[_0x37500c(0x92)]()[_0x37500c(0xa7)];}[a0_0x1469c4(0x1f6)](){const _0x2ace9f=a0_0x1469c4;return this[_0x2ace9f(0x19e)][_0x2ace9f(0x112)]===0x0;}['getAt'](_0x4dfe12){const _0x1cd945=a0_0x1469c4;return this[_0x1cd945(0x92)]()[_0x4dfe12];}[a0_0x1469c4(0x218)](){return this['getItems']()[0x0];}[a0_0x1469c4(0x24b)](){const _0x5ada69=a0_0x1469c4,_0x3350a8=this[_0x5ada69(0x92)]();return _0x3350a8[_0x3350a8[_0x5ada69(0xa7)]-0x1];}[a0_0x1469c4(0x10d)](_0x348efa){const _0x3319e7=a0_0x1469c4;for(const _0x11a09a of this[_0x3319e7(0x19e)][_0x3319e7(0xd6)]()){const _0x2153a0=_0x11a09a[_0x3319e7(0x10d)](_0x348efa);if(_0x2153a0)return _0x2153a0;}return;}[a0_0x1469c4(0x169)](_0x2aab8a){const _0x2176ad=a0_0x1469c4;return this[_0x2176ad(0x92)]()[_0x2176ad(0x257)](_0x2c39c4=>_0x2c39c4[_0x2176ad(0x227)]===_0x2aab8a);}[a0_0x1469c4(0x2ed)](_0x3dd35e){const _0x312456=a0_0x1469c4;for(const _0x505273 of this['_datasetMap'][_0x312456(0xd6)]()){const _0x333f03=_0x505273[_0x312456(0x2ed)](_0x3dd35e);if(_0x333f03)return _0x333f03;}return;}[a0_0x1469c4(0x178)](_0x5e0e0b){const _0x31663b=a0_0x1469c4;for(const _0x1eb331 of this[_0x31663b(0x19e)][_0x31663b(0xd6)]()){const _0x494b4c=_0x1eb331['getLatest']();if(_0x494b4c[_0x31663b(0x25b)]()===_0x5e0e0b)return _0x494b4c;}return;}[a0_0x1469c4(0x2dc)](_0x5519cd){const _0x2de1bb=a0_0x1469c4,_0x292a30=[];for(const _0x18dac4 of this['_datasetMap'][_0x2de1bb(0xd6)]()){const _0x54f734=_0x18dac4[_0x2de1bb(0xd2)]();_0x54f734[_0x2de1bb(0x25b)]()===_0x5519cd&&_0x292a30[_0x2de1bb(0x241)](_0x54f734);}return _0x292a30;}[a0_0x1469c4(0x22f)](_0x15aedc){const _0x17b77e=a0_0x1469c4,_0x51b7bb=this['getItems']()['filter'](_0x15aedc);return new DatasetList(_0x51b7bb[_0x17b77e(0x2ee)](_0x54ec97=>_0x54ec97[_0x17b77e(0x1c2)]()));}[a0_0x1469c4(0x228)](_0x17bb71){const _0xa51217=a0_0x1469c4;return this[_0xa51217(0x92)]()['filter'](_0x17bb71);}[a0_0x1469c4(0x244)](_0x13d06d){const _0x230a63=a0_0x1469c4;this[_0x230a63(0x92)]()[_0x230a63(0x244)](_0x13d06d);}[a0_0x1469c4(0x2ee)](_0x46f6b2){const _0x2714b3=a0_0x1469c4;return this[_0x2714b3(0x92)]()[_0x2714b3(0x2ee)](_0x46f6b2);}[Symbol[a0_0x1469c4(0x1aa)]](){const _0x4f0d87=a0_0x1469c4;return this['getItems']()[Symbol[_0x4f0d87(0x1aa)]]();}['getVirtualTables'](){const _0x39be4c=a0_0x1469c4;return this[_0x39be4c(0x92)]()[_0x39be4c(0x22f)](_0x39a72a=>_0x39a72a[_0x39be4c(0x310)]());}[a0_0x1469c4(0xd9)](){const _0x519eec=a0_0x1469c4;return this[_0x519eec(0x92)]()[_0x519eec(0x22f)](_0x35f7f4=>!_0x35f7f4[_0x519eec(0x310)]());}[a0_0x1469c4(0x188)](){const _0x3fd194=a0_0x1469c4,_0x414411={};for(const _0x435dde of this[_0x3fd194(0x19e)][_0x3fd194(0xd6)]()){const _0x59872f=_0x435dde['getLatest']()['getTableName']();_0x414411[_0x59872f]=_0x435dde['getAll']();}return _0x414411;}['detectConflicts'](){const _0x122e96=a0_0x1469c4,_0x524433={};for(const _0x363893 of this[_0x122e96(0x19e)][_0x122e96(0x29e)]()[_0x122e96(0xd6)]()){const _0x33715d=_0x363893[_0x122e96(0xd2)]()[_0x122e96(0x25b)]();_0x524433[_0x33715d]=_0x363893['getAll']()['map'](_0x26ec73=>_0x26ec73[_0x122e96(0x1c2)]());}return{'hasConflicts':Object['keys'](_0x524433)['length']>0x0,'conflicts':_0x524433};}[a0_0x1469c4(0x18d)](){const _0x2b28ae=a0_0x1469c4;return this[_0x2b28ae(0x19e)][_0x2b28ae(0x18d)]();}[a0_0x1469c4(0x186)](){const _0x450188=a0_0x1469c4,_0x2c4711=[];for(const _0x25e460 of this['_datasetMap'][_0x450188(0x29e)]()[_0x450188(0xd6)]()){_0x2c4711[_0x450188(0x241)](..._0x25e460[_0x450188(0x8a)]());}return _0x2c4711;}[a0_0x1469c4(0x279)](_0x36461b){const _0x5ccceb=a0_0x1469c4;if(!_0x36461b||Object['keys'](_0x36461b)[_0x5ccceb(0xa7)]===0x0)return this[_0x5ccceb(0x21e)][_0x5ccceb(0xed)]();const _0x1d4927=this[_0x5ccceb(0x92)]()[_0x5ccceb(0x2ee)](_0x221646=>_0x221646[_0x5ccceb(0x1c2)]());return generateDatasetsConfig(_0x1d4927,_0x36461b);}[a0_0x1469c4(0x147)](_0x2a0638){const _0x1c8b88=this['generateConfig'](_0x2a0638);return datasetsConfigToArray(_0x1c8b88);}['toConfigArray'](){const _0x2f6c59=a0_0x1469c4;return this[_0x2f6c59(0x92)]()[_0x2f6c59(0x2ee)](_0x4ec931=>_0x4ec931[_0x2f6c59(0xed)]());}[a0_0x1469c4(0x278)](){const _0x44180c=a0_0x1469c4;return{'total':this[_0x44180c(0x31e)](),'virtualTables':this[_0x44180c(0x273)]()[_0x44180c(0xa7)],'realTables':this[_0x44180c(0xd9)]()[_0x44180c(0xa7)],'hasConflicts':this[_0x44180c(0x18d)](),'conflictCount':this[_0x44180c(0x186)]()[_0x44180c(0xa7)]};}['toArray'](){const _0x19ab7f=a0_0x1469c4;return this['getItems']()[_0x19ab7f(0x2ee)](_0x35f1f9=>_0x35f1f9[_0x19ab7f(0x1c2)]());}[a0_0x1469c4(0x1c2)](){const _0x4aeb05=a0_0x1469c4;return this[_0x4aeb05(0x14c)]();}[a0_0x1469c4(0xe2)](){const _0x267042=a0_0x1469c4;return _0x267042(0xf8)+this[_0x267042(0x31e)]()+_0x267042(0x31d)+this[_0x267042(0x19e)][_0x267042(0x112)]+'\x20groups)';}static[a0_0x1469c4(0x1e8)](_0x5f205b){return new DatasetList(_0x5f205b);}static[a0_0x1469c4(0x6f)](_0x48a363){return new DatasetList(_0x48a363);}static['empty'](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x1469c4(0x251);function renderTemplate(_0x501ed7,_0x3ef227,_0x108a36={}){const _0x48aa4f=a0_0x1469c4;let _0x428d9b=_0x501ed7;return Object['entries'](_0x108a36)[_0x48aa4f(0x244)](([_0x550fe0,_0xdaea42])=>{const _0x2e7e65=_0x48aa4f,_0x1fa5c5=new RegExp(_0x2e7e65(0x307)+_0x550fe0+_0x2e7e65(0x299),'g');_0x428d9b=_0x428d9b['replace'](_0x1fa5c5,_0xdaea42?'$1':'');}),Object[_0x48aa4f(0x30d)](_0x3ef227)[_0x48aa4f(0x244)](([_0x6f36f5,_0x4a1009])=>{const _0x2c8614=_0x48aa4f;if(_0x4a1009!==undefined){const _0x1ffa7f=new RegExp('\x5c{\x5c{'+_0x6f36f5+'\x5c}\x5c}','g');_0x428d9b=_0x428d9b[_0x2c8614(0x10a)](_0x1ffa7f,_0x4a1009);}}),_0x428d9b;}function generateSDKInitCode(_0x497a29,_0x29e0c1,_0x34bd4e,_0x193ec5,_0x56fd1a){const _0x5765ef=a0_0x1469c4,_0x10bf6e={};_0x10bf6e[_0x5765ef(0x23e)]=_0x497a29,_0x10bf6e[_0x5765ef(0x173)]=_0x29e0c1,_0x10bf6e['alias']=_0x34bd4e,_0x10bf6e[_0x5765ef(0x20a)]=_0x193ec5===_0x5765ef(0x66)?_0x5765ef(0x66):undefined;const _0x1d442b={};return _0x1d442b[_0x5765ef(0x20a)]=_0x193ec5!==undefined&&_0x193ec5!==_0x5765ef(0x1f9),_0x1d442b[_0x5765ef(0x319)]=_0x56fd1a===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x10bf6e,_0x1d442b);}var ALIAS_EXPLANATION_TEMPLATE='##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a';function generateAliasExplanation(_0x2c6b5c,_0x3a44a2,_0xee1539,_0x2794ea){const _0x4525dc=a0_0x1469c4,_0x1edaf4='dataset_'+_0x2c6b5c,_0xa2a045=_0x4525dc(0x13d),_0x31efe6={};return _0x31efe6[_0x4525dc(0x173)]=_0x2c6b5c,_0x31efe6[_0x4525dc(0x16d)]=_0x1edaf4,_0x31efe6['tableName']=_0x3a44a2,_0x31efe6[_0x4525dc(0x265)]=_0xee1539,_0x31efe6[_0x4525dc(0x23e)]=_0x2794ea,_0x31efe6[_0x4525dc(0x89)]=_0xa2a045,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x31efe6,{});}function DrivenDataDetailPlusMixin(_0x3a8e54){const _0x4692a2=a0_0x1469c4;return class _0x44902d extends _0x3a8e54{[_0x4692a2(0xcd)](_0x428933){const _0x343827=_0x4692a2;return{'appCode':_0x428933,'datasetSDKKey':this[_0x343827(0x2a1)](),'alias':this['getModelAlias'](),'tableName':this[_0x343827(0x25b)](),'datasetCode':this['datasetCode']};}[_0x4692a2(0x11a)](_0x20a83b,_0xc2bcae='online',_0x5d7522=![]){const _0x324ea6=_0x4692a2;return generateSDKInitCode(_0x20a83b,this[_0x324ea6(0x173)],this['getModelAlias'](),_0xc2bcae===_0x324ea6(0x66)?_0xc2bcae:undefined,_0x5d7522);}[_0x4692a2(0x203)](_0x196c08,_0x130bde,_0x2170bf={}){const _0x51ff4d=_0x4692a2,_0x4912f5=this[_0x51ff4d(0x12c)]()['find'](_0x5d6f14=>_0x5d6f14[_0x51ff4d(0x2bb)]()===_0x196c08);if(!_0x4912f5)return null;const _0x2d7162={};_0x2d7162[_0x51ff4d(0x10c)]=_0x2170bf['includeRequestExample']!==![];const _0x5291a6=this[_0x51ff4d(0x15e)](_0x196c08,_0x2d7162);if(!_0x5291a6)return null;const _0x32701d=[];return _0x32701d['push'](_0x51ff4d(0x28e)+_0x4912f5[_0x51ff4d(0x2bb)]()+_0x51ff4d(0x1a7)),_0x32701d[_0x51ff4d(0x241)](_0x5291a6[_0x51ff4d(0x99)][_0x51ff4d(0x167)]),_0x32701d[_0x51ff4d(0x241)](''),_0x2170bf[_0x51ff4d(0x131)]!==![]&&(_0x32701d[_0x51ff4d(0x241)](_0x51ff4d(0x30e)),_0x32701d['push'](_0x5291a6['usageExample'][_0x51ff4d(0xa9)]),_0x32701d[_0x51ff4d(0x241)](''),_0x32701d[_0x51ff4d(0x241)](_0x5291a6['usageExample'][_0x51ff4d(0x76)])),_0x32701d[_0x51ff4d(0x1a1)]('\x0a');}[_0x4692a2(0x97)](_0x2d0786={}){const _0x1dc7db=_0x4692a2,_0x812380=this['getEnabledOperationAnalyses'](),_0x47478f=[];return _0x812380['forEach']((_0x5f01ef,_0x42cde8)=>{const _0x466698=a0_0x3ac1,_0x2f3704=this[_0x466698(0x203)](_0x5f01ef[_0x466698(0x227)],_0x466698(0x31c),_0x2d0786);_0x2f3704&&(_0x47478f['push'](_0x466698(0x246)+(_0x42cde8+0x1)+'.\x20'+_0x5f01ef[_0x466698(0x1c9)]),_0x47478f[_0x466698(0x241)](_0x2f3704),_0x47478f[_0x466698(0x241)](''));}),_0x47478f[_0x1dc7db(0x1a1)]('\x0a');}[_0x4692a2(0x1d3)](_0x5252ca){const _0x1437f3=_0x4692a2,_0x253ed0=this['getOperationAnalysis'](_0x5252ca);if(!_0x253ed0)return null;const _0x12ca77={};return _0x12ca77['name']=_0x253ed0[_0x1437f3(0x227)],_0x12ca77['displayName']=_0x253ed0[_0x1437f3(0x1c9)],_0x12ca77[_0x1437f3(0x1f1)]=_0x253ed0['method'],_0x12ca77[_0x1437f3(0x13b)]=_0x253ed0[_0x1437f3(0x13b)],_0x12ca77[_0x1437f3(0x1da)]=_0x253ed0['enabled'],_0x12ca77[_0x1437f3(0x2cb)]=_0x253ed0[_0x1437f3(0x1af)]['length'],_0x12ca77[_0x1437f3(0x25d)]=_0x253ed0[_0x1437f3(0xca)]!==null,_0x12ca77;}[_0x4692a2(0x30f)](_0x30d47c={}){const _0x34c674=_0x4692a2,_0x1365b9=this[_0x34c674(0x23d)]();return{'datasetName':this[_0x34c674(0x227)],'datasetCode':this['datasetCode'],'tableName':this['getTableName'](),'totalOperations':_0x1365b9[_0x34c674(0xa7)],'operations':_0x1365b9['map'](_0x3eb87d=>({'name':_0x3eb87d[_0x34c674(0x227)],'displayName':_0x3eb87d['displayName'],'method':_0x3eb87d['method'],'enabled':_0x3eb87d[_0x34c674(0x1da)]}))};}[_0x4692a2(0xb4)](_0x4f0795){const _0x11f1c5=_0x4692a2,_0x276c2e=this[_0x11f1c5(0x270)](_0x4f0795);if(!_0x276c2e)return[];return _0x276c2e['requestFields'][_0x11f1c5(0x2ee)](_0x46d3ed=>{const _0x428292=_0x11f1c5,_0x1da85e=this['getFieldInstance'](_0x46d3ed);if(!_0x1da85e)return null;const _0x356e27={};return _0x356e27[_0x428292(0x167)]=_0x46d3ed,_0x356e27[_0x428292(0x227)]=_0x1da85e['name']||_0x46d3ed,_0x356e27;})[_0x11f1c5(0x22f)](_0x362742=>_0x362742!==null);}[_0x4692a2(0x205)](){const _0x24f509=_0x4692a2,_0xd532ef=new Set(this['getEnabledOperationAnalyses']()[_0x24f509(0x2ee)](_0x1b4b6a=>String(_0x1b4b6a['type']))),_0x24c44c=[_0x24f509(0x277),'getList',_0x24f509(0x142),_0x24f509(0x2cc)];return _0x24c44c[_0x24f509(0x22f)](_0x4b6e81=>!_0xd532ef[_0x24f509(0x95)](String(_0x4b6e81)));}[_0x4692a2(0x1fe)](_0x266abc='demo-app'){const _0x12a0d7=_0x4692a2;return generateAliasExplanation(this[_0x12a0d7(0x173)],this[_0x12a0d7(0x25b)](),this[_0x12a0d7(0x2f7)](),_0x266abc);}};}function operationToAnalysis(_0x2c3884){const _0x21c33a=a0_0x1469c4;return{'name':_0x2c3884['getName'](),'displayName':_0x2c3884['getDisplayName'](),'type':_0x2c3884[_0x21c33a(0x2a0)](),'method':_0x2c3884[_0x21c33a(0x2ff)](),'path':_0x2c3884[_0x21c33a(0x1f3)](),'fullUrl':_0x2c3884[_0x21c33a(0x2e0)](),'requestFields':_0x2c3884['getRequestFields'](),'requestParams':_0x2c3884['getRequestParams'](),'responseSchema':_0x2c3884['getResponseSchema'](),'requestExample':_0x2c3884[_0x21c33a(0x229)](),'responseExample':_0x2c3884['generateResponseExample'](),'enabled':_0x2c3884[_0x21c33a(0xac)]()};}function operationsToAnalyses(_0x5bebcf){const _0x21af99=a0_0x1469c4;if(!Array[_0x21af99(0xea)](_0x5bebcf))return!![]&&console[_0x21af99(0x1dc)](_0x21af99(0x243),_0x5bebcf),[];return _0x5bebcf['map'](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x35b625){const _0x57a728=a0_0x1469c4,_0x49ae1e=_0x35b625[_0x57a728(0x257)](_0xebf44f=>_0xebf44f[_0x57a728(0x227)]===_0x57a728(0x22f)),_0x2aff94=_0x35b625[_0x57a728(0x22f)](_0x302ded=>_0x302ded[_0x57a728(0x227)]!==_0x57a728(0x22f));return _0x49ae1e?[_0x49ae1e,..._0x2aff94]:_0x2aff94;}function filterOperationAnalyses(_0x40b943,_0x54e4d0={}){const _0x4c5277=a0_0x1469c4;let _0x47860a=_0x40b943;return!_0x54e4d0['includeDisabled']&&(_0x47860a=_0x47860a[_0x4c5277(0x22f)](_0x21f215=>_0x21f215[_0x4c5277(0x1da)])),_0x54e4d0[_0x4c5277(0x2c6)]!==![]&&(_0x47860a=filterApiOperations(_0x47860a)),_0x54e4d0[_0x4c5277(0x314)]&&(_0x47860a=_0x47860a[_0x4c5277(0x22f)](_0x54e4d0[_0x4c5277(0x314)])),sortOperationsWithFilterFirst(_0x47860a);}function getOperationStats(_0x190774){const _0x13294a=a0_0x1469c4,_0x1ee2a1=_0x190774[_0x13294a(0x22f)](_0x271603=>_0x271603[_0x13294a(0x1da)]);return{'total':_0x190774[_0x13294a(0xa7)],'enabled':_0x1ee2a1[_0x13294a(0xa7)],'disabled':_0x190774['length']-_0x1ee2a1['length'],'byType':getCountByType(_0x1ee2a1),'byMethod':getCountByMethod(_0x1ee2a1)};}function getCountByType(_0x423f39){const _0x5783d8=a0_0x1469c4,_0x158285={};return _0x423f39[_0x5783d8(0x244)](_0x16373d=>{const _0x5a0c4e=_0x5783d8;if(_0x16373d[_0x5a0c4e(0x272)])_0x158285[_0x16373d[_0x5a0c4e(0x272)]]=(_0x158285[_0x16373d[_0x5a0c4e(0x272)]]||0x0)+0x1;}),_0x158285;}function getCountByMethod(_0x216b91){const _0x5ba3e2=a0_0x1469c4,_0x5d2622={};return _0x216b91[_0x5ba3e2(0x244)](_0x9b3dc2=>{const _0x33138b=_0x5ba3e2;_0x5d2622[_0x9b3dc2[_0x33138b(0x1f1)]]=(_0x5d2622[_0x9b3dc2[_0x33138b(0x1f1)]]||0x0)+0x1;}),_0x5d2622;}function supportsCRUD(_0x305d16){const _0x4e1531=a0_0x1469c4,_0x3179c5=new Set(_0x305d16[_0x4e1531(0x2ee)](_0x58d0c7=>_0x58d0c7[_0x4e1531(0x272)])[_0x4e1531(0x22f)](Boolean));return _0x3179c5[_0x4e1531(0x95)](_0x4e1531(0x277))&&_0x3179c5['has'](_0x4e1531(0x283))&&_0x3179c5[_0x4e1531(0x95)]('update')&&_0x3179c5[_0x4e1531(0x95)](_0x4e1531(0x2cc));}function createOperationDocMeta(_0xacbf69,_0x29a222,_0x58b381,_0x3d98c0,_0x2aaf6f,_0x5be6be){const _0x2a8b15=a0_0x1469c4,_0x5a11e4={};return _0x5a11e4[_0x2a8b15(0x10c)]=_0x5be6be?.[_0x2a8b15(0x10c)],{'operation':_0xacbf69,'operationInstance':_0x29a222,'basicInfo':{'name':_0xacbf69[_0x2a8b15(0x227)],'displayName':_0xacbf69['displayName'],'method':_0xacbf69['method'],'path':_0xacbf69[_0x2a8b15(0x13b)],'fullUrl':_0xacbf69[_0x2a8b15(0x321)],'enabled':_0xacbf69[_0x2a8b15(0x1da)]},'sdkCall':{'datasetCode':_0x58b381,'datasetSDKKey':_0x3d98c0,'tableName':_0x2aaf6f,'operationName':_0xacbf69[_0x2a8b15(0x227)],'params':_0xacbf69[_0x2a8b15(0x1af)],'code':_0x29a222['generateSDKCallCode'](_0x3d98c0,_0x5a11e4)},'usageExample':_0x29a222[_0x2a8b15(0x30c)](_0x3d98c0)};}function createOperationsOverviewData(_0x4b5238){const _0x473cfe=a0_0x1469c4,_0x23ac1f={};_0x23ac1f[_0x473cfe(0xfb)]=_0x473cfe(0x227),_0x23ac1f[_0x473cfe(0x308)]=_0x473cfe(0x185);const _0x2162b9={};_0x2162b9['index']=_0x473cfe(0x1c9),_0x2162b9[_0x473cfe(0x308)]=_0x473cfe(0x145);const _0x3192c3={};_0x3192c3[_0x473cfe(0xfb)]=_0x473cfe(0x1f1),_0x3192c3[_0x473cfe(0x308)]='方法';const _0x2cc717={};_0x2cc717[_0x473cfe(0xfb)]=_0x473cfe(0x99),_0x2cc717[_0x473cfe(0x308)]=_0x473cfe(0x2d1);const _0x26688a={};_0x26688a[_0x473cfe(0xfb)]=_0x473cfe(0x13b),_0x26688a[_0x473cfe(0x308)]=_0x473cfe(0x22d);const _0x2c4ed7={};_0x2c4ed7[_0x473cfe(0xfb)]='sdkCallCode',_0x2c4ed7[_0x473cfe(0x308)]=_0x473cfe(0x322);const _0x217636=[_0x23ac1f,_0x2162b9,_0x3192c3,_0x2cc717,_0x26688a,_0x2c4ed7],_0x5de32d=_0x4b5238['map'](_0x22b90c=>{const _0x1fa47f=_0x473cfe,{basicInfo:_0x401888,sdkCall:_0x1444de}=_0x22b90c,_0x43b58f=_0x1444de[_0x1fa47f(0x167)][_0x1fa47f(0x10a)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x1fa47f(0x10a)](/;$/,''),_0x54aea6={};return _0x54aea6[_0x1fa47f(0x1c9)]=_0x401888[_0x1fa47f(0x1c9)],_0x54aea6[_0x1fa47f(0x227)]=_0x401888[_0x1fa47f(0x227)],_0x54aea6[_0x1fa47f(0x1f1)]=_0x401888[_0x1fa47f(0x1f1)],_0x54aea6[_0x1fa47f(0x13b)]=_0x401888['path'],_0x54aea6['sdkCall']=_0x43b58f,_0x54aea6[_0x1fa47f(0x222)]=_0x1444de['code'],_0x54aea6;}),_0xb5cfca={};return _0xb5cfca['tableColumns']=_0x217636,_0xb5cfca[_0x473cfe(0x20b)]=_0x5de32d,_0xb5cfca;}function createDatasetDocMeta(_0x4f8111,_0x1b513d,_0x3da934,_0xba4373,_0x2669df,_0x12e384,_0x7b41ca,_0x171503,_0x2a3fb0){const _0x590403=a0_0x1469c4,_0x118abd={};return _0x118abd[_0x590403(0x182)]=_0x4f8111+'\x20API\x20文档',_0x118abd[_0x590403(0x14f)]={},_0x118abd[_0x590403(0x1e5)]=_0x2a3fb0,_0x118abd[_0x590403(0x14f)]['name']=_0x4f8111,_0x118abd[_0x590403(0x14f)][_0x590403(0x167)]=_0x1b513d,_0x118abd[_0x590403(0x14f)][_0x590403(0x139)]=_0x3da934,_0x118abd[_0x590403(0x14f)][_0x590403(0x16d)]=_0xba4373,_0x118abd[_0x590403(0x14f)]['tableKey']=_0x2669df,_0x118abd[_0x590403(0x14f)][_0x590403(0x293)]=_0x12e384,_0x118abd[_0x590403(0x14f)]['fieldCount']=_0x7b41ca,_0x118abd[_0x590403(0x14f)][_0x590403(0x2de)]=0x0,_0x118abd[_0x590403(0x14f)][_0x590403(0x312)]=0x0,_0x118abd[_0x590403(0x14f)][_0x590403(0x168)]=_0x171503,_0x118abd[_0x590403(0x14f)][_0x590403(0xde)]=_0x2a3fb0['length'],_0x118abd;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x1469c4(0x2e3)];['getVersion'](){return'v1';}[a0_0x1469c4(0x2f7)](){const _0x4cb86c=a0_0x1469c4;return this[_0x4cb86c(0x215)]();}[a0_0x1469c4(0x2dd)](_0x601dc4=![]){const _0xb7e94a=a0_0x1469c4;if(!_0x601dc4&&this['_operationAnalyses'])return this[_0xb7e94a(0x2e3)];const _0x4585ec=this['getOperations']();return this[_0xb7e94a(0x2e3)]=operationsToAnalyses(_0x4585ec),this[_0xb7e94a(0x2e3)];}['getEnabledOperationAnalyses'](){const _0x48acd5=a0_0x1469c4,_0x1b35e8={};return _0x1b35e8['includeDisabled']=![],_0x1b35e8[_0x48acd5(0x2c6)]=!![],this[_0x48acd5(0xa3)](_0x1b35e8);}[a0_0x1469c4(0xa3)](_0x50c380={}){const _0x5ac5f8=a0_0x1469c4;return filterOperationAnalyses(this[_0x5ac5f8(0x2dd)](),_0x50c380);}['getOperationAnalysis'](_0x16938f){const _0x34bd13=a0_0x1469c4;return this[_0x34bd13(0x2dd)]()['find'](_0x56390c=>_0x56390c['name']===_0x16938f);}[a0_0x1469c4(0x11b)](_0x51f1ae){const _0x2bc7a8=a0_0x1469c4;return this[_0x2bc7a8(0x2dd)]()['filter'](_0x2766cd=>_0x2766cd[_0x2bc7a8(0x272)]===_0x51f1ae);}[a0_0x1469c4(0x15e)](_0x2b40f8,_0x32ad0b){const _0x2c0482=a0_0x1469c4,_0x152da9=this[_0x2c0482(0x270)](_0x2b40f8);if(!_0x152da9)return null;const _0x2531f2=this['getOperations']()[_0x2c0482(0x257)](_0x59daf5=>_0x59daf5[_0x2c0482(0x2bb)]()===_0x152da9[_0x2c0482(0x227)]);if(!_0x2531f2)throw new Error(_0x2c0482(0xef)+_0x152da9['name']);return createOperationDocMeta(_0x152da9,_0x2531f2,this[_0x2c0482(0x173)],this['getDatasetSDKKey'](),this['getTableName'](),_0x32ad0b);}[a0_0x1469c4(0x111)](_0x2dde8c={}){const _0x2808a5=a0_0x1469c4,_0x8d8bb4=this[_0x2808a5(0xa3)](_0x2dde8c),_0x339f40=_0x8d8bb4[_0x2808a5(0x2ee)](_0x35f55f=>this[_0x2808a5(0x15e)](_0x35f55f[_0x2808a5(0x227)]))[_0x2808a5(0x22f)](_0x2e8692=>_0x2e8692!==null);return createDatasetDocMeta(this['name'],this[_0x2808a5(0x173)],this[_0x2808a5(0x25b)](),this[_0x2808a5(0x2a1)](),this['getTableKey'](),this[_0x2808a5(0x293)],this['getFieldCount'](),this[_0x2808a5(0x2f6)](),_0x339f40);}[a0_0x1469c4(0x2a5)](_0x2f88f8){return createOperationsOverviewData(_0x2f88f8);}[a0_0x1469c4(0x1b4)](){const _0x762901=a0_0x1469c4;return supportsCRUD(this[_0x762901(0x23d)]());}[a0_0x1469c4(0x315)](){const _0x22b6ff=a0_0x1469c4;return getOperationStats(this[_0x22b6ff(0x2dd)]());}['toString'](){const _0x5d4e0f=a0_0x1469c4,_0x18f407=this['getOperationStats']();return'DrivenDataDetailPlus('+this[_0x5d4e0f(0x227)]+',\x20'+this[_0x5d4e0f(0x173)]+',\x20'+this[_0x5d4e0f(0x2db)]()+_0x5d4e0f(0xdb)+_0x18f407[_0x5d4e0f(0x1da)]+'/'+_0x18f407['total']+'\x20operations,\x20v1)';}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{['_operationAnalyses'];[a0_0x1469c4(0x144)](){return'v2';}[a0_0x1469c4(0x2f7)](){return this['getTableKey']();}[a0_0x1469c4(0x2dd)](_0x57d711=![]){const _0x465761=a0_0x1469c4;if(!_0x57d711&&this[_0x465761(0x2e3)])return this[_0x465761(0x2e3)];const _0x52a551=this[_0x465761(0x12c)]();return this['_operationAnalyses']=operationsToAnalyses(_0x52a551),this[_0x465761(0x2e3)];}[a0_0x1469c4(0x23d)](){const _0x2034a5=a0_0x1469c4,_0x3218d5={};return _0x3218d5[_0x2034a5(0x1b0)]=![],_0x3218d5[_0x2034a5(0x2c6)]=!![],this[_0x2034a5(0xa3)](_0x3218d5);}[a0_0x1469c4(0xa3)](_0x283ec4={}){const _0x38f011=a0_0x1469c4;return filterOperationAnalyses(this[_0x38f011(0x2dd)](),_0x283ec4);}['getOperationAnalysis'](_0x55ab49){const _0xc26dc5=a0_0x1469c4;return this[_0xc26dc5(0x2dd)]()['find'](_0x658152=>_0x658152[_0xc26dc5(0x227)]===_0x55ab49);}[a0_0x1469c4(0x11b)](_0x584e87){const _0x4e854b=a0_0x1469c4;return this[_0x4e854b(0x2dd)]()[_0x4e854b(0x22f)](_0x502bb0=>_0x502bb0[_0x4e854b(0x272)]===_0x584e87);}[a0_0x1469c4(0x15e)](_0x43758e,_0x225899){const _0x8458d9=a0_0x1469c4,_0x4bc8e2=this[_0x8458d9(0x270)](_0x43758e);if(!_0x4bc8e2)return null;const _0x4e6bb2=this[_0x8458d9(0x12c)]()[_0x8458d9(0x257)](_0x6c778f=>_0x6c778f[_0x8458d9(0x2bb)]()===_0x4bc8e2[_0x8458d9(0x227)]);if(!_0x4e6bb2)throw new Error(_0x8458d9(0xef)+_0x4bc8e2[_0x8458d9(0x227)]);return createOperationDocMeta(_0x4bc8e2,_0x4e6bb2,this[_0x8458d9(0x173)],this[_0x8458d9(0x2a1)](),this['getTableName'](),_0x225899);}[a0_0x1469c4(0x111)](_0x3ef655={}){const _0x3bd177=a0_0x1469c4,_0x5a0f5d=this[_0x3bd177(0xa3)](_0x3ef655),_0x46c575=_0x5a0f5d[_0x3bd177(0x2ee)](_0x5674db=>this[_0x3bd177(0x15e)](_0x5674db[_0x3bd177(0x227)]))[_0x3bd177(0x22f)](_0x23dacb=>_0x23dacb!==null);return createDatasetDocMeta(this[_0x3bd177(0x227)],this[_0x3bd177(0x173)],this[_0x3bd177(0x25b)](),this[_0x3bd177(0x2a1)](),this['getTableKey'](),this[_0x3bd177(0x293)],this[_0x3bd177(0x2db)](),this[_0x3bd177(0x2f6)](),_0x46c575);}[a0_0x1469c4(0x2a5)](_0x211590){return createOperationsOverviewData(_0x211590);}[a0_0x1469c4(0x1b4)](){return supportsCRUD(this['getEnabledOperationAnalyses']());}[a0_0x1469c4(0x315)](){const _0x50167c=a0_0x1469c4;return getOperationStats(this[_0x50167c(0x2dd)]());}[a0_0x1469c4(0xe2)](){const _0x49e71c=a0_0x1469c4,_0x388a2c=this[_0x49e71c(0x315)]();return _0x49e71c(0x209)+this[_0x49e71c(0x227)]+',\x20'+this[_0x49e71c(0x173)]+',\x20'+this[_0x49e71c(0x2db)]()+_0x49e71c(0xdb)+_0x388a2c[_0x49e71c(0x1da)]+'/'+_0x388a2c[_0x49e71c(0x31a)]+_0x49e71c(0x266);}}function detectDatasetVersion3(_0x3f0e7c){const _0xfca08a=a0_0x1469c4;if(_0x3f0e7c[_0xfca08a(0xd5)]==='v2'&&_0xfca08a(0x1ec)in _0x3f0e7c&&Array['isArray'](_0x3f0e7c[_0xfca08a(0x1ec)]))return'v2';return'v1';}class DrivenDataDetailPlus{['_instance'];constructor(_0x9b082c){const _0x4ce763=a0_0x1469c4,_0x45c116=detectDatasetVersion3(_0x9b082c);return this[_0x4ce763(0x108)]=_0x45c116==='v2'?new DrivenDataDetailPlusV2(_0x9b082c):new DrivenDataDetailPlusV1(_0x9b082c),new Proxy(this,{'get'(_0x3d2b89,_0x58c416){const _0x2dbab7=_0x4ce763;if(_0x58c416 in _0x3d2b89){const _0x3195ce=_0x3d2b89[_0x58c416];return typeof _0x3195ce===_0x2dbab7(0x23c)?_0x3195ce['bind'](_0x3d2b89):_0x3195ce;}if(_0x58c416 in _0x3d2b89[_0x2dbab7(0x108)]){const _0x1d6543=_0x3d2b89[_0x2dbab7(0x108)][_0x58c416];return typeof _0x1d6543===_0x2dbab7(0x23c)?_0x1d6543[_0x2dbab7(0x208)](_0x3d2b89[_0x2dbab7(0x108)]):_0x1d6543;}return;},'set'(_0x105cf0,_0x295000,_0x40802c){return _0x105cf0[_0x295000]=_0x40802c,!![];},'getPrototypeOf'(_0x57bc7a){const _0x288d60=_0x4ce763;return DrivenDataDetailPlus[_0x288d60(0x1bf)];}});}get[a0_0x1469c4(0x227)](){const _0x3f78df=a0_0x1469c4;return this[_0x3f78df(0x108)][_0x3f78df(0x227)];}get['id'](){const _0x1a94bc=a0_0x1469c4;return this[_0x1a94bc(0x108)]['id'];}get[a0_0x1469c4(0x173)](){const _0x55dbae=a0_0x1469c4;return this[_0x55dbae(0x108)][_0x55dbae(0x173)];}get['source'](){const _0x4ede09=a0_0x1469c4;return this[_0x4ede09(0x108)][_0x4ede09(0x293)];}get[a0_0x1469c4(0x10e)](){const _0x191645=a0_0x1469c4;return this[_0x191645(0x108)][_0x191645(0x2f0)]();}[a0_0x1469c4(0x144)](){const _0x1ee178=a0_0x1469c4,_0x3f0d68=this['_instance'][_0x1ee178(0x144)]();return _0x3f0d68==='v2'?'v2':'v1';}[a0_0x1469c4(0x2db)](){const _0x40bb3f=a0_0x1469c4;return this[_0x40bb3f(0x108)][_0x40bb3f(0x2db)]();}[a0_0x1469c4(0x2f6)](){const _0x1eeb6b=a0_0x1469c4;return this['_instance'][_0x1eeb6b(0x2f6)]();}[a0_0x1469c4(0x1f7)](){const _0x1db338=a0_0x1469c4;return this[_0x1db338(0x108)][_0x1db338(0x1f7)]();}[a0_0x1469c4(0x12c)](){const _0x53650b=a0_0x1469c4;return this[_0x53650b(0x108)][_0x53650b(0x12c)]();}[a0_0x1469c4(0x223)](_0x21323e){const _0x480779=a0_0x1469c4;return this[_0x480779(0x108)][_0x480779(0x223)](_0x21323e);}[a0_0x1469c4(0x1b2)](_0x1a3574){return this['_instance']['getFieldInstance'](_0x1a3574);}[a0_0x1469c4(0x25b)](){const _0x3d3549=a0_0x1469c4;return this['_instance'][_0x3d3549(0x25b)]();}[a0_0x1469c4(0x215)](){const _0x29124f=a0_0x1469c4;return this[_0x29124f(0x108)][_0x29124f(0x215)]();}[a0_0x1469c4(0x2a1)](){const _0x55c566=a0_0x1469c4;return this[_0x55c566(0x108)]['getDatasetSDKKey']();}['getFieldList'](){const _0x510db4=a0_0x1469c4;return this['_instance'][_0x510db4(0xc6)]();}[a0_0x1469c4(0xf6)](){const _0x3fcea9=a0_0x1469c4;return this[_0x3fcea9(0x108)]['getEnumFields']();}['getEnumFieldsMeta'](){const _0x1cefde=a0_0x1469c4;return this[_0x1cefde(0x108)][_0x1cefde(0xcc)]();}['isMultipleSelectField'](_0xd4cd15){const _0xb1ad56=a0_0x1469c4;return this[_0xb1ad56(0x108)]['isMultipleSelectField'](_0xd4cd15);}[a0_0x1469c4(0x237)](_0x126d98){const _0x5828f9=a0_0x1469c4;return this[_0x5828f9(0x108)]['getField'](_0x126d98);}[a0_0x1469c4(0xc4)](_0x1fdd05){const _0x40c4d5=a0_0x1469c4;return this[_0x40c4d5(0x108)][_0x40c4d5(0xc4)](_0x1fdd05);}[a0_0x1469c4(0x30b)](_0x4b6fec){const _0x13bb12=a0_0x1469c4;return this[_0x13bb12(0x108)][_0x13bb12(0x30b)](_0x4b6fec);}[a0_0x1469c4(0x1b9)](_0xaff1b3){const _0x3197f3=a0_0x1469c4;return this[_0x3197f3(0x108)][_0x3197f3(0x1b9)](_0xaff1b3);}[a0_0x1469c4(0x256)](_0x4b4de8,_0x284e48){const _0x35a4d0=a0_0x1469c4;return this[_0x35a4d0(0x108)][_0x35a4d0(0x256)](_0x4b4de8,_0x284e48);}[a0_0x1469c4(0x17a)](_0x3bd63a){const _0x50d6fb=a0_0x1469c4;return this['_instance'][_0x50d6fb(0x17a)](_0x3bd63a);}['getStats'](){const _0x3a1d92=a0_0x1469c4;return this[_0x3a1d92(0x108)][_0x3a1d92(0x278)]();}[a0_0x1469c4(0x75)](){const _0x43d056=a0_0x1469c4;return this[_0x43d056(0x108)][_0x43d056(0x75)]();}[a0_0x1469c4(0x25f)](){const _0x5d74d3=a0_0x1469c4;return this[_0x5d74d3(0x108)][_0x5d74d3(0x25f)]();}[a0_0x1469c4(0x19c)](_0x232dd6){const _0x5093af=a0_0x1469c4;return this[_0x5093af(0x108)][_0x5093af(0x19c)](_0x232dd6);}[a0_0x1469c4(0x2f0)](){const _0x64509d=a0_0x1469c4;return this['_instance'][_0x64509d(0x2f0)]();}[a0_0x1469c4(0x210)](){const _0x127fe9=a0_0x1469c4;return this[_0x127fe9(0x108)][_0x127fe9(0x210)]();}['getSource'](){const _0x201247=a0_0x1469c4;return this[_0x201247(0x108)][_0x201247(0xa0)]();}[a0_0x1469c4(0x2dd)](_0x371039){const _0x13c9b7=a0_0x1469c4;return this['_instance'][_0x13c9b7(0x2dd)](_0x371039);}[a0_0x1469c4(0x23d)](){const _0x4ad92b=a0_0x1469c4;return this[_0x4ad92b(0x108)][_0x4ad92b(0x23d)]();}[a0_0x1469c4(0xa3)](_0x8dbbd1){const _0x269626=a0_0x1469c4;return this[_0x269626(0x108)][_0x269626(0xa3)](_0x8dbbd1);}['getOperationAnalysis'](_0x65791c){const _0x5244fa=a0_0x1469c4;return this[_0x5244fa(0x108)]['getOperationAnalysis'](_0x65791c);}[a0_0x1469c4(0x11b)](_0x5279d3){const _0x176b01=a0_0x1469c4;return this[_0x176b01(0x108)][_0x176b01(0x11b)](_0x5279d3);}[a0_0x1469c4(0x15e)](_0x3fe2c9,_0x283621){const _0x4bc295=a0_0x1469c4;return this[_0x4bc295(0x108)][_0x4bc295(0x15e)](_0x3fe2c9,_0x283621);}[a0_0x1469c4(0x111)](_0x37c388){const _0x330e2f=a0_0x1469c4;return this[_0x330e2f(0x108)][_0x330e2f(0x111)](_0x37c388);}[a0_0x1469c4(0x2a5)](_0x479903){const _0x457e59=a0_0x1469c4;return this[_0x457e59(0x108)][_0x457e59(0x2a5)](_0x479903);}[a0_0x1469c4(0x2f7)](){const _0x202a7a=a0_0x1469c4;return this[_0x202a7a(0x108)][_0x202a7a(0x2f7)]();}[a0_0x1469c4(0x1b4)](){const _0x21e400=a0_0x1469c4;return this[_0x21e400(0x108)][_0x21e400(0x1b4)]();}[a0_0x1469c4(0x315)](){const _0x5f5140=a0_0x1469c4;return this[_0x5f5140(0x108)]['getOperationStats']();}[a0_0x1469c4(0xe2)](){const _0x4e6af1=a0_0x1469c4;return this[_0x4e6af1(0x108)][_0x4e6af1(0xe2)]();}[a0_0x1469c4(0x105)](_0xa1b58a){const _0x194a55=a0_0x1469c4;return this[_0x194a55(0x108)][_0x194a55(0x105)](_0xa1b58a);}[a0_0x1469c4(0xcd)](_0x2ab454){const _0x1d8150=a0_0x1469c4;return this[_0x1d8150(0x108)]['getSDKInitData'](_0x2ab454);}[a0_0x1469c4(0x11a)](_0x4af715,_0x32d971,_0x408059){const _0x29ff4a=a0_0x1469c4;return this[_0x29ff4a(0x108)]['generateSDKInitCode'](_0x4af715,_0x32d971,_0x408059);}[a0_0x1469c4(0x203)](_0x4aacce,_0x2f8fa2,_0x5a558b){const _0x3f3a2f=a0_0x1469c4;return this['_instance'][_0x3f3a2f(0x203)](_0x4aacce,_0x2f8fa2,_0x5a558b);}[a0_0x1469c4(0x97)](_0x1fdff8){const _0xfa7e6b=a0_0x1469c4;return this[_0xfa7e6b(0x108)][_0xfa7e6b(0x97)](_0x1fdff8);}['generateOperationSummary'](_0xbe5591){const _0x113b20=a0_0x1469c4;return this['_instance'][_0x113b20(0x1d3)](_0xbe5591);}[a0_0x1469c4(0x30f)](_0x4c4768){const _0xe06950=a0_0x1469c4;return this[_0xe06950(0x108)][_0xe06950(0x30f)](_0x4c4768);}[a0_0x1469c4(0xb4)](_0x4d89d3){const _0x3424cb=a0_0x1469c4;return this[_0x3424cb(0x108)][_0x3424cb(0xb4)](_0x4d89d3);}[a0_0x1469c4(0x205)](){const _0x2ab466=a0_0x1469c4;return this[_0x2ab466(0x108)]['getMissingCRUDOperations']();}['generateAliasExplanation'](){const _0x49affd=a0_0x1469c4;return this[_0x49affd(0x108)][_0x49affd(0x1fe)]();}[a0_0x1469c4(0x12d)](){const _0x4ff1c3=a0_0x1469c4;return this[_0x4ff1c3(0x108)];}}function createDrivenDataDetailPlus(_0x23d3ef,_0x3fbc1f={}){const _0x20433d=a0_0x1469c4;if(_0x3fbc1f['forceVersion']==='v1')return new DrivenDataDetailPlusV1(_0x23d3ef);if(_0x3fbc1f[_0x20433d(0x8f)]==='v2')return new DrivenDataDetailPlusV2(_0x23d3ef);if(_0x23d3ef['doVersion']==='v2'||_0x20433d(0x238)in _0x23d3ef)return new DrivenDataDetailPlusV2(_0x23d3ef);return new DrivenDataDetailPlusV1(_0x23d3ef);}function isPlusV2Instance(_0xbbc55f){const _0x366bf0=a0_0x1469c4;return _0xbbc55f[_0x366bf0(0x144)]()==='v2';}function isPlusV1Instance(_0xd59fcf){return _0xd59fcf['getVersion']()==='v1';}var VERSION='1.0.0-beta.8';export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
1
|
+
const a0_0x3a67c7=a0_0x1599;(function(_0x5c8144,_0x51370a){const _0x1d7360=a0_0x1599,_0x3f0f55=_0x5c8144();while(!![]){try{const _0x4a4653=-parseInt(_0x1d7360(0x29e))/0x1+parseInt(_0x1d7360(0x190))/0x2+parseInt(_0x1d7360(0x3b5))/0x3+parseInt(_0x1d7360(0x290))/0x4+parseInt(_0x1d7360(0x285))/0x5+-parseInt(_0x1d7360(0x262))/0x6*(parseInt(_0x1d7360(0x2a6))/0x7)+parseInt(_0x1d7360(0x369))/0x8;if(_0x4a4653===_0x51370a)break;else _0x3f0f55['push'](_0x3f0f55['shift']());}catch(_0x4b4757){_0x3f0f55['push'](_0x3f0f55['shift']());}}}(a0_0x534f,0x45f2e));function toCamelCase(_0x70bfec){const _0x58423c=a0_0x1599;if(!_0x70bfec)return'';return _0x70bfec['split'](/[_-]/)['map']((_0x22256a,_0x3a075d)=>{const _0x1e0265=a0_0x1599;if(_0x3a075d===0x0)return _0x22256a[_0x1e0265(0x385)]();return _0x22256a[_0x1e0265(0x42f)](0x0)[_0x1e0265(0x186)]()+_0x22256a[_0x1e0265(0x3ec)](0x1)[_0x1e0265(0x385)]();})[_0x58423c(0x414)]('');}function toPascalCase(_0x489959){const _0x2a2e68=a0_0x1599;if(!_0x489959)return'';const _0x2d5d3c=toCamelCase(_0x489959);return _0x2d5d3c[_0x2a2e68(0x42f)](0x0)['toUpperCase']()+_0x2d5d3c[_0x2a2e68(0x3ec)](0x1);}function toSnakeCase(_0x29d9a9){const _0x2cd205=a0_0x1599;if(!_0x29d9a9)return'';return _0x29d9a9[_0x2cd205(0x396)](/([A-Z])/g,'_$1')[_0x2cd205(0x385)]()[_0x2cd205(0x396)](/^_/,'');}function toKebabCase(_0x3031f8){const _0x2ff1d5=a0_0x1599;if(!_0x3031f8)return'';return _0x3031f8['replace'](/([A-Z])/g,_0x2ff1d5(0x2e1))['toLowerCase']()[_0x2ff1d5(0x396)](/^-/,'');}function normalizeFieldName(_0x2cf059){const _0x1cb116=a0_0x1599;if(!_0x2cf059)return'';return _0x2cf059['trim']()[_0x1cb116(0x396)](/\s+/g,'_')[_0x1cb116(0x396)](/[^a-zA-Z0-9_]/g,'_')[_0x1cb116(0x396)](/_+/g,'_')[_0x1cb116(0x396)](/^_|_$/g,'');}function getTableName(_0x5df03a){const _0x5e3939=a0_0x1599;if(!_0x5df03a)return _0x5e3939(0x2c2);if(_0x5df03a[_0x5e3939(0x245)]?.[_0x5e3939(0x1a3)])return _0x5df03a['dbtableConfig'][_0x5e3939(0x1a3)];const _0x50332e=_0x5df03a[_0x5e3939(0x2f6)]||_0x5df03a[_0x5e3939(0x2f0)]||_0x5df03a[_0x5e3939(0x27e)];if(_0x50332e)return generateTableNameFromCode(_0x50332e);return _0x5e3939(0x2c2);}function getTableKey(_0x525811){if(typeof _0x525811==='string')return toCamelCase(_0x525811);const _0x3ba8ac=getTableName(_0x525811);return toCamelCase(_0x3ba8ac);}function generateTableNameFromCode(_0x25900c){const _0x18f5a2=a0_0x1599;if(!_0x25900c)return _0x18f5a2(0x2c2);const _0x281f38=_0x25900c[_0x18f5a2(0x3ec)](-0x6)[_0x18f5a2(0x261)](0x6,'0');return _0x18f5a2(0x2a8)+_0x281f38;}function isVirtualTableName(_0x53ac03){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x53ac03);}function generateModelKeyFromCode(_0x2d3c6b){const _0x5d896b=a0_0x1599;if(!_0x2d3c6b)return _0x5d896b(0x3c1);return _0x5d896b(0x2a8)+_0x2d3c6b;}function getDbName(_0x92fba2){const _0x182e6e=a0_0x1599;return _0x92fba2['dbtableConfig']?.[_0x182e6e(0x23f)]||_0x92fba2[_0x182e6e(0x245)]?.[_0x182e6e(0x273)]?.[_0x182e6e(0x23f)]||'';}function a0_0x534f(){const _0x2c4119=['getFieldListWithDeleted','getCountByType','alias','Integer','TIMESTAMP','200','getBusinessFields','getIndexes','操作名称','getRelations','SDK\x20调用示例(两参数格式)','update','requestFields','precision','getTableName','https://example.com/file.pdf','toConfig','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','appCode','toString','length','getApplicableOperators','size','value1','all','getType','每页条数','find','_datasetMeta','isPrimaryKeyField','https://example.com/image.jpg','1.0','Array','generateRequestAllExamples','当前页码(可选)','getLatest','查询条件(支持\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)','Filter\x20API\x20-\x20高级查询接口','isPrimaryKey','getAllFieldsArray','getOperationOperators','getTableKey','INT','groups','daily','sortOperationsWithFilterFirst','getEnum','groupByType','$gteq','raw','getCreateTime','conflictItemCount','getBusiness','分组后的过滤条件(对聚合结果进行过滤)','defaultValue','$startWith','getDisabledNames','get','batchCreate','extend','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getAppCode','tableData','getTooltip','values','hasConflicts','FieldList(','getEnabledOperations','getFullUrl','getOperationAnalysesByType','generateUsageExample','getTenantCode','getFieldOptions','GET_ONE_UPDATE','getList','getEnabledNames','some','sort','excelExport','getOne','responseBody','having','pageSize','接口名称','_fieldListWithDeleted',',\x20...\x20});','creatorNameField','generateResponseExample','查询单条','GET_ONE_ORIGIN','String[]','prefix','updateTime','getFieldsWithDeleted','系统自动生成','getOperationCount','prototype','4356184CqDjqp','errorCode','datasetKey','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','delete','generateAllOperationsSummary','totalGroups','$endWith','[parseFieldExtend]\x20Invalid\x20field:','getEnabledOperationAnalyses','allFields','getActive','getOperationFieldOperators','FieldListV2(','\x20operations,\x20v2)','_instance','getRequestFields','datasetSDKKey','getEnumFields','//\x20Call\x20the\x20','getOperationsData','const\x20data\x20=\x20await\x20client.models.','getLast','sortNum','toDatasetCode','createDate','getHTTPRequestParamsDocInfo','hasModifierIdField','toLowerCase','getFieldListV2','tenantCode','errorMsg','fields','selectItemsSource','getDbName','path','getAllDatasets','generateOperationSummary','generateAllOperationsFullSDKExample','getItems','示例值','创建导出','\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','2024-12-31','getByType','replace','datasetInfo','online',',\x20fields:\x20','DOUBLE','getFieldV2','isUpdateTime','RADIO','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','(id,\x20data);','getEnumMetas','_operationList','每页数量','getFilteredOperationAnalyses','generateHTTPExample','TIME','$contain','getAt','getDbTypeForOperation','getInternalInstance','hasExtendField','object','item1','valueLabels','requestBody','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','getPrimaryKeys','dataIndex','OperationList(','creatorIdField','DatasetItem(','700437NDigRs','TEXTAREA','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','\x20fields)','FILE','trim','total_count','_relations','_fields','modifierNameField','null','default','dataset_unknown','withDeleted','hasTableName','getFieldOperators','isEnabled','autoIncrement','VARCHAR','getHTTPFields','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','\x20API\x20文档','data','$lte','getDisabled','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','push','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','getOperationStats','getField','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','SWITCH','ARRAY','responseSchema','selectBestOperator','$or','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','getEnumFieldMeta','\x20relations,\x20','getMethod','warn','getExtendField','generateExampleValue','_sum','hasCreatorIdField','getSystem','SMALLINT','enabled','avg','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','DbtableConfig(table:\x20','generateAliasExplanation','getVirtualTables','<p>富文本内容</p>','createFields','slice','BATCH_CREATE','FieldV1(','getOperation','toConfigArray','getFieldsByType','fullUrl','dbTypeLen','getCode','generateHTTPRequestExample','STRING','getFilterOperators','getFieldDefinition',',\x20currentPage,\x20pageSize,\x20...\x20});','currentPage','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','$gte','suffix','required','分组字段列表','string','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','0000','_fieldListV1','POST','logicField','getVersion','isFieldPrimaryKey','fieldCount','isRequired','forEach','function','findById','fromApiResponse','\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','$and','主键,用于定位要更新的记录','getRequestParamsDocInfo','isSystemField','`:\x20','join','set','\x20indexes)','address','\x20operations,\x20v1)','getEnumOptions','({\x20/*\x20可选:筛选条件\x20*/\x20});','toJSON','_fieldListV1WithDeleted','_operations','日期时间','isRequiredField','getEnumMeta','dbVersion','options','value2','getNames','stringify','hasCreateTimeField','INTEGER','label','getOperationRequestFields','Object','_autoGenerated','getOperationList','查询列表','getRelatedDataset','charAt','getFilterOperation','lastIndexOf','max','_operationAnalyses','聚合函数配置数组(type:\x20sum/count/avg/max/min)','getDatabaseType','toUpperCase','forceVersion','getSystemAnalysisResult','status','getOperationAnalyses','toListItem','dataset','includeRequestExample','name','//\x20','112270eqejuj','createExport','title','hasRelation','enabledOperationCount','operations','useArrayValues','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','add','toArray','total','长文本','random','13800138000','getDisplayName','getFieldDataSource','round','value','getRawDbtableConfig','tableName','context','getFieldNames','查询单条(原始)','DrivenDataDetailPlusV2(','getCodes','deleted','distinct','解析\x20responseBody\x20失败:','placeholder','getStats','generateDefaultFilterOperation','isAutoIncrement','getEnumValues','Field(','getSelectItemsSource','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','\x20fields,\x20','Number','filter','generateSDKCallCode','hasDbtableConfig','getOperationsOverviewData','FLOAT','操作成功','generateFullSDKExample','getIds','relations','includeDisabled','getForeignKeyFields','$eq','hasFilterOperation','DatasetGroup(','type','email','useFullExample','split','getAllFieldsString','要更新的字段数据对象','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','排序规则','当前页码','isBusiness','getResponseSchema','createTimeField','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','displayName','BOOLEAN','includes','getFields','getFieldInstance','getConflicts','获取数据集失败:\x20','getName','\x20operations)','$ne','getOperationFieldsOperatorsMap','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','SELECT','getRaw','hasLogicField','multiple',',\x20doType=','JSON','hasConflict','createTime','getUpdateFields','customFilter','has\x20conflicts','select','2.0','pkField','getFieldName','这是一段较长的文本内容示例','isCreateTime','创建导入','properties','\x20operation','getCountByMethod','LONGTEXT','filterBlacklist','taskInfo','GET_UPLOAD_FILE_SCRIPT','findByCode','getSelectOptions','数组查询(支持多选)','successCode','generateSingleValueExample','GET_FILE_URL','getSystemFields','getFieldCount','每页数量(默认:\x2020)','item2','isMultipleSelectField','_extend','host','generateRequestExample','导入模板','isArray','datasetId','hasUpdateTimeField','has','每页数量(可选)','getRequired','_max','BIGINT','datasetName','GET_ONE','getEnabledOperationInstances','getDatasetDocMeta','findByTableName','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','array','const\x20result\x20=\x20await\x20client.models.','getDatasetSDKKey','parse','getSDKInitData','示例文本','getDatasetMeta','findAllByTableName','CHECKBOX','groupBy','demo-app','getFieldRaw','getOperationDocMeta','parseRawRequestBody','isOperatorApplicableToField','doType','columnName','getOperationAnalysis','({\x20code,\x20label\x20});','getUploadFileScript','getFieldDescription','exampleWhere','isSystem','isOperationEnabled','主键ID','getSource','北京市朝阳区','_fieldListV2','BIT','getFieldSelectItemsSource','_avg','字段名称','getOneUpdate','(实际字段:','aggregate','orderBy','getConflictStats','toISOString','children','RICH_TEXT','getDeleted','systemRetain','labelField','/filter','dbName','entries','DATETIME','({\x20','updateTimeField','-\x20主键ID,用于定位要更新的记录\x0a\x0a','dbtableConfig','();','env','count','generateFieldExample','getFieldDisplayName','tooltip','now','LONGBLOB','isNumericField','hasDblinkInfo','dbId','单值查询','getFieldCode','TASK_INFO','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','findByName','user@example.com','getFieldList','validateEnumValue','DrivenDataDetailV2(','desc','Operation\x20not\x20found:\x20','TEXT','modelId','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','isOpenAPI','CHAR','padStart','354MPeMMs','from','getEnumFieldsMeta','modifierIdField','description','column','includeUsageExample','query','DrivenDataDetail(','sdkCall','getLatestDatasets','_fieldList','getConflictingItems','文件上传','TINYINT','CREATE','parseRawResponseBody','dblinkInfoDTO','getOperators','msg','generateConfigArray','Invalid\x20API\x20response:\x20success\x20is\x20false','getDatabaseVersion','时间戳','FieldV2(','$in',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getId','modelCode','Excel导出','iterator','min','getOldest','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','repeat','239035AUaQyv','sum','IMAGE','_requestExampleCache','keys','paging','\x5c}\x5c}','success','getOneOrigin','下拉选择','[FieldV2]\x20Invalid\x20field\x20definition','619616hpLVHR','method','EXCEL_EXPORT','**可更新的字段列表:**','getDefaultValue','map','dbType','datasetMap','_min','getGroupedParams','主键ID(必填)','createAll','hasField','includeDeleted','233439ZIpKok','\x20items,\x20','getDBConfig','version','getModelAlias','keyword','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','importTemplate','61327ukeudl','DELETE','dataset_','getRequestParams','phone','no\x20conflicts','ensureFilterOperation','-\x20主键使用\x20`id`\x20字段\x0a','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','isEnum','isDeleted','detectConflicts','$lteq','getRequiredFields','number','items','toDatasetName','sdkCallCode','tableColumns','index','operation','2024-01-01','fieldCode','SDK\x20调用','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','批量创建','every','getMissingCRUDOperations','dataset_000000','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','String','获取数据集列表失败:\x20','getAll','getPath','supportsCRUD','hasOperation','getFilteredOperations','empty','GET_SELECT_OPTIONS','const\x20fileUrl\x20=\x20await\x20client.models.','getFieldsFilterOperatorsMap','_datasetMap','normalizeDbType','UPLOAD','doVersion','DECIMAL','HTTP\x20直接调用时使用平铺格式:\x0a','getDOType','source','支持多个条件','create','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','HTTP\x20请求示例(平铺格式)','<!--\x5cs*CONDITION:\x5cs*','fromField','1.0.0-beta.8','NUMBER','generateFromSchema','DatasetList(','-$1','getEnabled','聚合函数配置数组','isVirtualTable','//\x20Usage\x20examples','排序规则(与\x20Filter\x20API\x20一致)','(id);','DATE','getPrimaryKeyFields','getFileUrl','_raw','generateSDKInitCode','getAggregates','mapDbTypeToType','Object[]','code','primaryKey','getOperations','getCount','field_name','getRealTables','datasetCode','toFullConfig','params','tableKey','getFieldType','toField','BLOB','getFieldFilterOperators','isMultipleSelect','DatasetGroupMap(','DESC','usageExample','\x20的\x20extend\x20配置失败:','fieldName','BOOL','where','N/A','getDisabledOperations'];a0_0x534f=function(){return _0x2c4119;};return a0_0x534f();}function generateDatasetsConfig(_0x8808fc,_0xf23c31={}){const _0x2c93e7=a0_0x1599,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x13cabc,filter:_0x5315ea}=_0xf23c31,_0x346fd4=_0x5315ea?_0x8808fc['filter'](_0x5315ea):_0x8808fc,_0x4920b5=new Map();for(const _0x1fbe2b of _0x346fd4){const _0x38fef1=getTableName(_0x1fbe2b),_0x2256b4=getDbName(_0x1fbe2b);!_0x4920b5[_0x2c93e7(0x208)](_0x38fef1)&&_0x4920b5['set'](_0x38fef1,new Set()),_0x4920b5[_0x2c93e7(0x341)](_0x38fef1)['add'](_0x2256b4);}const _0x204052=new Set();for(const [_0x131297,_0x448a2e]of _0x4920b5){_0x448a2e['size']>0x1&&_0x204052[_0x2c93e7(0x198)](_0x131297);}const _0x3b308e={},_0xd4b35a=new Set();for(const _0x53c61f of _0x346fd4){const _0x10a373=getTableName(_0x53c61f);if(enableDeduplication&&_0xd4b35a['has'](_0x10a373)){console[_0x2c93e7(0x3dd)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x10a373+'\x22,数据集:\x20'+_0x53c61f[_0x2c93e7(0x18e)]+'\x20('+_0x53c61f['datasetCode']+')');continue;}_0xd4b35a[_0x2c93e7(0x198)](_0x10a373);const _0x27e43d=_0x13cabc?_0x13cabc(_0x10a373,_0x53c61f):getTableKey(_0x10a373),_0x18401e=getDbName(_0x53c61f),_0x376ec9=_0x204052[_0x2c93e7(0x208)](_0x10a373)&&_0x18401e?getTableKey(_0x18401e)+'_'+_0x27e43d:_0x27e43d;_0x3b308e[_0x27e43d]={'key':_0x27e43d,'alias':_0x376ec9,'tableName':_0x10a373,'datasetCode':_0x53c61f[_0x2c93e7(0x2f6)],'name':_0x53c61f['name'],'id':_0x53c61f['id'],'dbName':_0x18401e};}return _0x3b308e;}function generateFullDatasetsConfig(_0x1b40ac,_0xd68536={}){const _0x44e7f5=a0_0x1599,{filter:_0x146001,datasetNameGenerator:_0x2182a0}=_0xd68536,_0x3340a7=_0x146001?_0x1b40ac[_0x44e7f5(0x1b6)](_0x146001):_0x1b40ac,_0x1820a7=new Map();for(const _0x32fe34 of _0x3340a7){const _0x47ddbf=getTableName(_0x32fe34),_0x5c274f=getDbName(_0x32fe34);!_0x1820a7[_0x44e7f5(0x208)](_0x47ddbf)&&_0x1820a7['set'](_0x47ddbf,new Set()),_0x1820a7[_0x44e7f5(0x341)](_0x47ddbf)[_0x44e7f5(0x198)](_0x5c274f);}const _0x33ed03=new Set();for(const [_0x31914b,_0x218db0]of _0x1820a7){_0x218db0['size']>0x1&&_0x33ed03['add'](_0x31914b);}const _0x50e99b=groupByTableName(_0x3340a7),_0x56aaab={};for(const [_0xb71182,_0x4350aa]of Object[_0x44e7f5(0x240)](_0x50e99b)){if(_0x4350aa['length']===0x1){const _0x2d0e25=_0x4350aa[0x0],_0x22a84f=_0x2182a0?_0x2182a0(_0xb71182,_0x2d0e25):getTableKey(_0xb71182),_0x2426ca=getDbName(_0x2d0e25),_0x3759b6=_0x33ed03['has'](_0xb71182)&&_0x2426ca?getTableKey(_0x2426ca)+'_'+_0x22a84f:_0x22a84f;_0x56aaab[_0x22a84f]={'key':_0x22a84f,'alias':_0x3759b6,'tableName':_0xb71182,'datasetCode':_0x2d0e25['datasetCode'],'name':_0x2d0e25['name'],'id':_0x2d0e25['id'],'dbName':_0x2426ca};}else{const _0x516f7c=[..._0x4350aa]['sort']((_0xab4459,_0x3fba0d)=>{const _0x94ef75=Number(_0xab4459['id'])||0x0,_0x27d48e=Number(_0x3fba0d['id'])||0x0;return _0x27d48e-_0x94ef75;});_0x516f7c['forEach']((_0x2cfe5a,_0xd58b6b)=>{const _0x22b39b=_0x44e7f5,_0x50f12f=_0x2182a0?_0x2182a0(_0xb71182,_0x2cfe5a):getTableKey(_0xb71182),_0x35180a=_0xd58b6b===0x0?_0x50f12f:_0x50f12f+'_'+_0xd58b6b,_0x28c3de=getDbName(_0x2cfe5a),_0x1ea945=_0x33ed03[_0x22b39b(0x208)](_0xb71182)&&_0x28c3de?getTableKey(_0x28c3de)+'_'+_0x35180a:_0x35180a;_0x56aaab[_0x35180a]={'key':_0x35180a,'alias':_0x1ea945,'tableName':_0xb71182,'datasetCode':_0x2cfe5a[_0x22b39b(0x2f6)],'name':_0x2cfe5a[_0x22b39b(0x18e)],'id':_0x2cfe5a['id'],'dbName':_0x28c3de};});}}return _0x56aaab;}function detectTableNameConflicts(_0x466b72){const _0x508be0=a0_0x1599,_0x3994e3={};for(const _0xd16466 of _0x466b72){const _0x2bf082=getTableName(_0xd16466);!_0x3994e3[_0x2bf082]&&(_0x3994e3[_0x2bf082]=[]),_0x3994e3[_0x2bf082][_0x508be0(0x3cf)](_0xd16466);}const _0x5397d6={};for(const [_0x322763,_0x2d5d53]of Object[_0x508be0(0x240)](_0x3994e3)){_0x2d5d53[_0x508be0(0x31c)]>0x1&&(_0x5397d6[_0x322763]=_0x2d5d53);}return{'hasConflicts':Object[_0x508be0(0x289)](_0x5397d6)['length']>0x0,'conflicts':_0x5397d6};}function createDatasetNameMap(_0x35226f){const _0x4ecd11=a0_0x1599,_0x422309={};for(const [_0x390b16,_0x35a745]of Object['entries'](_0x35226f)){_0x422309[_0x390b16]=_0x35a745[_0x4ecd11(0x2f6)]||'';}return _0x422309;}function groupByTableName(_0x499baa){const _0x4e4456=a0_0x1599,_0x24e714={};for(const _0x5750c0 of _0x499baa){const _0x422132=getTableName(_0x5750c0);!_0x24e714[_0x422132]&&(_0x24e714[_0x422132]=[]),_0x24e714[_0x422132][_0x4e4456(0x3cf)](_0x5750c0);}return _0x24e714;}function datasetsConfigToArray(_0x3c6ead){const _0x311629=a0_0x1599;return Object[_0x311629(0x348)](_0x3c6ead);}function adaptDrivenDataDetail(_0x1ca730){const _0x186727=a0_0x1599,_0x1a9b38={};return _0x1a9b38['id']=_0x1ca730[_0x186727(0x25d)],_0x1a9b38[_0x186727(0x18e)]=_0x1ca730['name'],_0x1a9b38[_0x186727(0x2f6)]=_0x1ca730['modelCode'],_0x1a9b38[_0x186727(0x245)]=_0x1ca730[_0x186727(0x245)],_0x1a9b38[_0x186727(0x2d6)]=_0x1ca730[_0x186727(0x2d6)],_0x1a9b38[_0x186727(0x2a1)]=_0x1ca730['version'],_0x1a9b38[_0x186727(0x343)]=_0x1ca730['extend'],_0x1a9b38[_0x186727(0x1ef)]=_0x1ca730['properties'],_0x1a9b38[_0x186727(0x195)]=_0x1ca730[_0x186727(0x195)],_0x1a9b38;}function adaptDrivenDataDetails(_0x59c40c){const _0x1bc6ab=a0_0x1599;return _0x59c40c[_0x1bc6ab(0x295)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0xdb1cd4){const _0x46e748=a0_0x1599;if(!_0xdb1cd4[_0x46e748(0x28c)]||!_0xdb1cd4['data'])throw new Error(_0x46e748(0x1d7)+(_0xdb1cd4['errorMsg']||_0xdb1cd4[_0x46e748(0x275)]));return adaptDrivenDataDetail(_0xdb1cd4['data']);}function extractDatasetsFromListResponse(_0x1d97c1){const _0x4e397a=a0_0x1599;if(!_0x1d97c1[_0x4e397a(0x28c)]||!_0x1d97c1[_0x4e397a(0x3cb)]?.[_0x4e397a(0x346)])throw new Error(_0x4e397a(0x2c5)+(_0x1d97c1[_0x4e397a(0x388)]||_0x1d97c1[_0x4e397a(0x275)]));return _0x1d97c1[_0x4e397a(0x3cb)]['tableData'][_0x4e397a(0x295)](_0x3054f7=>({..._0x3054f7,'datasetCode':_0x3054f7[_0x4e397a(0x2f0)]||_0x3054f7['datasetCode']}));}function isDrivenDataDetail(_0x491c04){const _0x28c602=a0_0x1599;return Boolean(_0x491c04&&typeof _0x491c04[_0x28c602(0x27e)]===_0x28c602(0x400));}function smartAdapt(_0xb0a608){const _0x45facb=a0_0x1599;if(isDrivenDataDetail(_0xb0a608))return adaptDrivenDataDetail(_0xb0a608);if(_0xb0a608[_0x45facb(0x2f6)])return _0xb0a608;if(_0xb0a608[_0x45facb(0x2f0)]){const _0x36e994={..._0xb0a608};return _0x36e994['datasetCode']=_0xb0a608[_0x45facb(0x2f0)],_0x36e994;}return _0xb0a608;}function cleanNewlines(_0x4b5c05){return _0x4b5c05['replace'](/[\r\n]+/g,'\x20')['trim']();}function cleanDatasetName(_0x511c9b){const _0x23f3c6=a0_0x1599;if(!_0x511c9b['name'])return _0x511c9b;return{..._0x511c9b,'name':cleanNewlines(_0x511c9b[_0x23f3c6(0x18e)])};}function cleanDatasetNames(_0x3f6682){return _0x3f6682['map'](cleanDatasetName);}var DatasetOperationType;(_0x1ec2e6=>{const _0x2ead81=a0_0x1599;_0x1ec2e6['GET_LIST']=_0x2ead81(0x352),_0x1ec2e6[_0x2ead81(0x20e)]='getOne',_0x1ec2e6[_0x2ead81(0x361)]=_0x2ead81(0x28d),_0x1ec2e6[_0x2ead81(0x351)]=_0x2ead81(0x233),_0x1ec2e6[_0x2ead81(0x271)]=_0x2ead81(0x2d8),_0x1ec2e6[_0x2ead81(0x3ed)]=_0x2ead81(0x342),_0x1ec2e6['UPDATE']=_0x2ead81(0x313),_0x1ec2e6[_0x2ead81(0x2a7)]=_0x2ead81(0x36d),_0x1ec2e6[_0x2ead81(0x2cc)]='getSelectOptions',_0x1ec2e6[_0x2ead81(0x1fb)]=_0x2ead81(0x2ea),_0x1ec2e6[_0x2ead81(0x292)]='excelExport',_0x1ec2e6[_0x2ead81(0x1f5)]=_0x2ead81(0x226),_0x1ec2e6['CREATE_IMPORT']='createImport',_0x1ec2e6['CREATE_EXPORT']=_0x2ead81(0x191),_0x1ec2e6[_0x2ead81(0x253)]=_0x2ead81(0x1f4),_0x1ec2e6['IMPORT_TEMPLATE']=_0x2ead81(0x2a5);})(DatasetOperationType||={});const a0_0x2a5358={};a0_0x2a5358[a0_0x3a67c7(0x352)]=a0_0x3a67c7(0x42d),a0_0x2a5358['getOne']=a0_0x3a67c7(0x360),a0_0x2a5358[a0_0x3a67c7(0x28d)]=a0_0x3a67c7(0x1a6),a0_0x2a5358[a0_0x3a67c7(0x233)]='查询单条(用于更新)',a0_0x2a5358[a0_0x3a67c7(0x2d8)]='创建',a0_0x2a5358[a0_0x3a67c7(0x342)]=a0_0x3a67c7(0x2bf),a0_0x2a5358[a0_0x3a67c7(0x313)]='更新',a0_0x2a5358[a0_0x3a67c7(0x36d)]='删除',a0_0x2a5358[a0_0x3a67c7(0x1f7)]='获取下拉选项',a0_0x2a5358['getFileUrl']='获取文件URL',a0_0x2a5358['excelExport']=a0_0x3a67c7(0x27f),a0_0x2a5358[a0_0x3a67c7(0x226)]='获取上传脚本',a0_0x2a5358['createImport']=a0_0x3a67c7(0x1ee),a0_0x2a5358[a0_0x3a67c7(0x191)]=a0_0x3a67c7(0x392),a0_0x2a5358[a0_0x3a67c7(0x1f4)]='任务信息',a0_0x2a5358[a0_0x3a67c7(0x2a5)]=a0_0x3a67c7(0x204);var OPERATION_TYPE_DISPLAY_NAME=a0_0x2a5358,API_BLACKLIST=[a0_0x3a67c7(0x352),a0_0x3a67c7(0x28d),'getOneUpdate',a0_0x3a67c7(0x2ea)];function a0_0x1599(_0x74e026,_0x5eeccb){const _0x534fe2=a0_0x534f();return a0_0x1599=function(_0x159993,_0x3e9788){_0x159993=_0x159993-0x184;let _0x13d925=_0x534fe2[_0x159993];return _0x13d925;},a0_0x1599(_0x74e026,_0x5eeccb);}function parseFieldExtend(_0x506033){const _0x5637fb=a0_0x3a67c7;if(!_0x506033||typeof _0x506033!==_0x5637fb(0x3ab))return!![]&&console['warn'](_0x5637fb(0x371),_0x506033),{};if(!_0x506033['extend'])return{};try{const _0x18fffa=typeof _0x506033[_0x5637fb(0x343)]==='string'?JSON[_0x5637fb(0x216)](_0x506033['extend']):_0x506033[_0x5637fb(0x343)];if(typeof _0x18fffa!==_0x5637fb(0x3ab)||_0x18fffa===null)return{};return _0x18fffa;}catch{return{};}}function isPrimaryKeyField(_0x144769,_0x56c6e8){const _0x4027fb=a0_0x3a67c7;if(!_0x144769||typeof _0x144769!=='object')return![];if(typeof _0x56c6e8===_0x4027fb(0x400)&&_0x144769[_0x4027fb(0x2f0)]===_0x56c6e8)return!![];const _0x13bbf4=parseFieldExtend(_0x144769);return Boolean(_0x13bbf4[_0x4027fb(0x2f1)]||_0x13bbf4[_0x4027fb(0x1ea)]);}function isSystemField(_0x5c6db5){const _0x38fc25=parseFieldExtend(_0x5c6db5);return Boolean(_0x38fc25['systemRetain']);}function isRequiredField(_0x21fa7c){const _0x4ed6a0=parseFieldExtend(_0x21fa7c);return Boolean(_0x4ed6a0['required']);}function isAutoIncrementField(_0x56bc6d){const _0x3b4541=a0_0x3a67c7,_0x1e3144=parseFieldExtend(_0x56bc6d);return Boolean(_0x1e3144[_0x3b4541(0x3c6)]);}function isCreateTimeField(_0x2e806f){const _0x4a0115=a0_0x3a67c7,_0x5ef0e1=parseFieldExtend(_0x2e806f);return Boolean(_0x5ef0e1[_0x4a0115(0x382)]);}function isModifyTimeField(_0xdfcc73){const _0x2fe9e0=parseFieldExtend(_0xdfcc73);return Boolean(_0x2fe9e0['modifyDate']);}const a0_0x11b019={};a0_0x11b019[a0_0x3a67c7(0x2de)]='数字',a0_0x11b019[a0_0x3a67c7(0x25c)]='文本',a0_0x11b019[a0_0x3a67c7(0x3b6)]=a0_0x3a67c7(0x19b),a0_0x11b019[a0_0x3a67c7(0x2e8)]='日期',a0_0x11b019[a0_0x3a67c7(0x241)]=a0_0x3a67c7(0x41e),a0_0x11b019[a0_0x3a67c7(0x30c)]=a0_0x3a67c7(0x279),a0_0x11b019[a0_0x3a67c7(0x1dd)]=a0_0x3a67c7(0x28e),a0_0x11b019[a0_0x3a67c7(0x21b)]='多选',a0_0x11b019['RADIO']='单选',a0_0x11b019[a0_0x3a67c7(0x3d4)]='开关',a0_0x11b019[a0_0x3a67c7(0x2d1)]=a0_0x3a67c7(0x26f),a0_0x11b019[a0_0x3a67c7(0x287)]='图片',a0_0x11b019[a0_0x3a67c7(0x23a)]='富文本',a0_0x11b019[a0_0x3a67c7(0x1e2)]='JSON',a0_0x11b019[a0_0x3a67c7(0x3d5)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x11b019;function getDbTypeDisplay(_0x42311c){const _0x5d2a98=a0_0x3a67c7;if(typeof _0x42311c!==_0x5d2a98(0x400))return!![]&&console['warn']('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x42311c),String(_0x42311c||'-');return DB_TYPE_DISPLAY_MAP[_0x42311c]||_0x42311c;}function formatDbType(_0x2bf5fb,_0x5dd743){const _0x38fdfb=a0_0x3a67c7;if(!_0x2bf5fb||typeof _0x2bf5fb!==_0x38fdfb(0x400))return'-';if(!_0x5dd743||typeof _0x5dd743!==_0x38fdfb(0x2b4))return _0x2bf5fb;const _0x136db0=[_0x38fdfb(0x25c),'DATETIME',_0x38fdfb(0x30c),_0x38fdfb(0x2e8)];if(_0x136db0[_0x38fdfb(0x1d3)](_0x2bf5fb[_0x38fdfb(0x186)]()))return _0x2bf5fb;return _0x2bf5fb+'('+_0x5dd743+')';}function parseOperationType(_0x979233){const _0x29adea=a0_0x3a67c7;if(typeof _0x979233!=='string'){!![]&&console['warn']('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x979233);return;}if(Object[_0x29adea(0x348)](DatasetOperationType)[_0x29adea(0x1d3)](_0x979233))return _0x979233;const _0x514bd9=Object[_0x29adea(0x240)](OPERATION_TYPE_DISPLAY_NAME)[_0x29adea(0x323)](([_0x44c249,_0x26818a])=>_0x26818a===_0x979233);return _0x514bd9?_0x514bd9[0x0]:undefined;}function shouldIncludeField(_0x51f6d6,_0x789b11,_0x5067d4){const _0x40da33=a0_0x3a67c7,_0x50df86=parseFieldExtend(_0x51f6d6),_0x37300c=isPrimaryKeyField(_0x51f6d6,_0x5067d4),_0x254cf3=Boolean(_0x50df86[_0x40da33(0x23c)]),_0x2862af=Boolean(_0x50df86[_0x40da33(0x3c6)]),_0x5be798=Boolean(_0x50df86[_0x40da33(0x382)]),_0x3a9578=Boolean(_0x50df86['modifyDate']);switch(_0x789b11){case'getList':return!![];case _0x40da33(0x357):case'getOneOrigin':case _0x40da33(0x36d):return _0x37300c;case _0x40da33(0x2d8):case _0x40da33(0x342):if(_0x37300c&&_0x2862af)return![];if(_0x254cf3)return![];if(_0x5be798||_0x3a9578)return![];return!![];case _0x40da33(0x313):case _0x40da33(0x233):if(_0x37300c)return!![];if(_0x254cf3)return![];if(_0x5be798||_0x3a9578)return![];return!![];case _0x40da33(0x1f7):return _0x51f6d6[_0x40da33(0x2f0)]===_0x40da33(0x2f0);default:return!![];}}function getFieldsForOperation(_0x13805e,_0x55e335,_0x403324){const _0x25a136=a0_0x3a67c7;if(!Array[_0x25a136(0x205)](_0x13805e))return!![]&&console[_0x25a136(0x3dd)](_0x25a136(0x36c),_0x13805e),[];return _0x13805e[_0x25a136(0x1b6)](_0x28aa51=>shouldIncludeField(_0x28aa51,_0x55e335,_0x403324));}function isApiBlacklisted(_0x54f855){const _0x3b431a=a0_0x3a67c7;if(typeof _0x54f855!==_0x3b431a(0x400))return!![]&&console['warn'](_0x3b431a(0x3b7),_0x54f855),![];return API_BLACKLIST[_0x3b431a(0x1d3)](_0x54f855);}function filterApiOperations(_0x1146fe){const _0x9f2683=a0_0x3a67c7;if(!Array['isArray'](_0x1146fe))return!![]&&console['warn']('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x1146fe),[];return _0x1146fe[_0x9f2683(0x1b6)](_0x3a05c8=>_0x3a05c8&&typeof _0x3a05c8===_0x9f2683(0x3ab)&&!isApiBlacklisted(_0x3a05c8[_0x9f2683(0x18e)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x3a67c7(0x24c)](),'SELECT':({fieldInfo:_0x38e09a})=>{const _0x97466f=a0_0x3a67c7;if(_0x38e09a?.[_0x97466f(0x422)]&&Array['isArray'](_0x38e09a['options'])&&_0x38e09a[_0x97466f(0x422)][_0x97466f(0x31c)]>0x0)return _0x38e09a[_0x97466f(0x422)][0x0][_0x97466f(0x1a1)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x259bac})=>{const _0x470249=a0_0x3a67c7;if(_0x259bac==='currentPage')return 0x1;if(_0x259bac===_0x470249(0x35a))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x386e76})=>{const _0x152e93=a0_0x3a67c7;if(_0x386e76&&typeof _0x386e76===_0x152e93(0x400)){const _0x39f524=_0x386e76[_0x152e93(0x385)]();if(_0x39f524[_0x152e93(0x1d3)]('邮箱')||_0x39f524['includes'](_0x152e93(0x1c5)))return _0x152e93(0x256);if(_0x39f524['includes']('电话')||_0x39f524['includes']('手机')||_0x39f524[_0x152e93(0x1d3)](_0x152e93(0x2aa)))return _0x152e93(0x19d);if(_0x39f524[_0x152e93(0x1d3)]('地址')||_0x39f524[_0x152e93(0x1d3)](_0x152e93(0x417)))return _0x152e93(0x22d);if(_0x39f524['includes']('姓名')||_0x39f524[_0x152e93(0x1d3)](_0x152e93(0x18e)))return'张三';}return _0x152e93(0x218);},'VARCHAR':({description:_0x7efe30})=>TYPE_VALUE_GENERATORS[a0_0x3a67c7(0x25c)]({'description':_0x7efe30}),'CHAR':({description:_0x307bc1})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x307bc1}),'STRING':({fieldInfo:_0xa7e937,description:_0x3afd59})=>{const _0x6f56ce=a0_0x3a67c7;if(_0xa7e937?.[_0x6f56ce(0x1ac)]&&typeof _0xa7e937[_0x6f56ce(0x1ac)]===_0x6f56ce(0x400)&&_0xa7e937[_0x6f56ce(0x1ac)]!==_0x6f56ce(0x366))return _0xa7e937[_0x6f56ce(0x1ac)]['replace'](/^请输入|^请选择/,'');const _0x263971={};return _0x263971[_0x6f56ce(0x266)]=_0x3afd59,TYPE_VALUE_GENERATORS[_0x6f56ce(0x25c)](_0x263971);},'TEXTAREA':()=>a0_0x3a67c7(0x1ec),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x3a67c7(0x1a1)}),'ARRAY':()=>[a0_0x3a67c7(0x3ac),a0_0x3a67c7(0x1ff)],'UPLOAD':()=>a0_0x3a67c7(0x317),'IMAGE':()=>a0_0x3a67c7(0x326),'RICH_TEXT':()=>a0_0x3a67c7(0x3ea)};function generateExampleValue(_0x52a5bd,_0x40a827,_0x1c347e,_0x511913={}){const _0x31ccfc=a0_0x3a67c7;typeof _0x52a5bd!==_0x31ccfc(0x400)&&(!![]&&console[_0x31ccfc(0x3dd)](_0x31ccfc(0x3ce),_0x52a5bd),_0x52a5bd=String(_0x52a5bd||''));if(typeof _0x40a827!==_0x31ccfc(0x400))return!![]&&console['warn']('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x40a827),_0x31ccfc(0x391);const {isPrimaryKey:_0x313b87,dbtableConfig:_0x964a5b}=_0x511913;if(_0x313b87)return 0x1;if(_0x964a5b&&typeof _0x964a5b===_0x31ccfc(0x3ab)){const _0x2a573a=_0x964a5b[_0x31ccfc(0x1cf)]?.[_0x31ccfc(0x303)]===_0x52a5bd,_0x193cca=_0x964a5b[_0x31ccfc(0x243)]?.[_0x31ccfc(0x303)]===_0x52a5bd;if(_0x2a573a||_0x193cca){if(_0x1c347e&&typeof _0x1c347e===_0x31ccfc(0x400)&&_0x1c347e[_0x31ccfc(0x186)]()[_0x31ccfc(0x1d3)]('TIMESTAMP'))return Date[_0x31ccfc(0x24c)]();return new Date()[_0x31ccfc(0x238)]()['replace']('T','\x20')[_0x31ccfc(0x1c7)]('.')[0x0];}}const _0x14c3c0={..._0x511913};_0x14c3c0[_0x31ccfc(0x2bc)]=_0x52a5bd;const _0x1dfabd=_0x14c3c0;if(_0x1c347e&&typeof _0x1c347e==='string'){const _0x19d080=_0x1c347e['toUpperCase'](),_0x5b43ee=TYPE_VALUE_GENERATORS[_0x19d080];if(_0x5b43ee)return _0x5b43ee(_0x1dfabd);}if(_0x40a827&&typeof _0x40a827===_0x31ccfc(0x400)){const _0x5e0109=_0x40a827[_0x31ccfc(0x186)](),_0x48f29c=TYPE_VALUE_GENERATORS[_0x5e0109];if(_0x48f29c)return _0x48f29c(_0x1dfabd);}return _0x31ccfc(0x391);}function generateExampleFromSchema(_0x5ccab1,_0x505f80){const _0x21bdeb=a0_0x3a67c7;if(!_0x5ccab1||typeof _0x5ccab1!==_0x21bdeb(0x3ab))return{};if(Array['isArray'](_0x5ccab1)){if(_0x5ccab1['length']>0x0)return[generateExampleFromSchema(_0x5ccab1[0x0],_0x505f80)];return[];}const _0x2d3ade={};return Object[_0x21bdeb(0x289)](_0x5ccab1)['forEach'](_0x587b17=>{const _0x93813d=_0x21bdeb,_0x5b3470=_0x5ccab1[_0x587b17];if(_0x5b3470&&typeof _0x5b3470==='object'&&!Array['isArray'](_0x5b3470)&&_0x5b3470[_0x93813d(0x1c4)]){const _0x4fe9e9=_0x5b3470,_0x3596b4=_0x4fe9e9[_0x93813d(0x1c4)],_0xdf3baa=_0x4fe9e9[_0x93813d(0x266)];if(typeof _0x3596b4===_0x93813d(0x400)){const _0x1cf817={};_0x1cf817[_0x93813d(0x266)]=_0xdf3baa,_0x1cf817[_0x93813d(0x245)]=_0x505f80,_0x2d3ade[_0x587b17]=generateExampleValue(_0x587b17,_0x3596b4,undefined,_0x1cf817);}else _0x2d3ade[_0x587b17]=_0x93813d(0x391);}else{if(Array['isArray'](_0x5b3470))_0x2d3ade[_0x587b17]=_0x5b3470['length']>0x0?[generateExampleFromSchema(_0x5b3470[0x0],_0x505f80)]:[];else _0x5b3470&&typeof _0x5b3470==='object'?_0x2d3ade[_0x587b17]=generateExampleFromSchema(_0x5b3470,_0x505f80):_0x2d3ade[_0x587b17]=_0x5b3470;}}),_0x2d3ade;}function parseRequestBody(_0x5680d7){const _0x5981b8=a0_0x3a67c7;if(!_0x5680d7)return{};try{return JSON['parse'](_0x5680d7);}catch(_0xb7886){return!![]&&console[_0x5981b8(0x3dd)]('解析\x20requestBody\x20失败:',_0xb7886),{};}}function parseResponseBody(_0x4f04aa){const _0x4c89da=a0_0x3a67c7;if(!_0x4f04aa)return null;try{const _0x23acb5=JSON[_0x4c89da(0x216)](_0x4f04aa);return _0x23acb5[_0x4c89da(0x30d)]||_0x23acb5;}catch(_0x56c612){return!![]&&console[_0x4c89da(0x3dd)](_0x4c89da(0x1ab),_0x56c612),null;}}function generateRequestExample(_0x4e020d,_0x30d9cd,_0x4f5a3c,_0xcf66b7){const _0x5b954d=a0_0x3a67c7,_0x548c15={};if(!Array['isArray'](_0x4e020d))return!![]&&console[_0x5b954d(0x3dd)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x4e020d),_0x548c15;return _0x4e020d[_0x5b954d(0x40a)](_0x5968c8=>{const _0x4f84af=_0x5b954d;if(!_0x5968c8||typeof _0x5968c8!==_0x4f84af(0x3ab)){!![]&&console['warn']('[generateRequestExample]\x20Invalid\x20field:',_0x5968c8);return;}if(typeof _0x5968c8['code']!==_0x4f84af(0x400)||typeof _0x5968c8[_0x4f84af(0x1c4)]!==_0x4f84af(0x400)){!![]&&console['warn'](_0x4f84af(0x25e),_0x5968c8);return;}const _0x5a6772=parseFieldExtend(_0x5968c8),_0x349a49=_0x5968c8[_0x4f84af(0x2f0)]===_0x4f5a3c||Boolean(_0x5a6772?.[_0x4f84af(0x2f1)]),_0x9227c9=generateExampleValue(_0x5968c8[_0x4f84af(0x2f0)],_0x5968c8[_0x4f84af(0x1c4)],typeof _0x5968c8[_0x4f84af(0x296)]===_0x4f84af(0x400)?_0x5968c8[_0x4f84af(0x296)]:undefined,{'fieldInfo':_0x5a6772,'isPrimaryKey':_0x349a49,'description':_0x5968c8[_0x4f84af(0x266)]||_0x5968c8[_0x4f84af(0x18e)],'dbtableConfig':_0xcf66b7});_0x548c15[_0x5968c8[_0x4f84af(0x2f0)]]=_0x9227c9;}),_0x30d9cd===_0x5b954d(0x352)&&(_0x548c15[_0x5b954d(0x3fa)]=0x1,_0x548c15[_0x5b954d(0x35a)]=0xa),_0x548c15;}function formatEnumValue(_0x1fb5c4,_0x531442){const _0x42f73d=a0_0x3a67c7;if(_0x1fb5c4['multiple']&&Array['isArray'](_0x531442))return _0x531442[_0x42f73d(0x295)](_0x271b35=>_0x1fb5c4[_0x42f73d(0x3ad)][String(_0x271b35)]||String(_0x271b35))[_0x42f73d(0x414)](',\x20');return _0x1fb5c4['valueLabels'][String(_0x531442)]||String(_0x531442);}function formatOptionsForDoc(_0x2d1ace){const _0x128052=a0_0x3a67c7;return _0x2d1ace[_0x128052(0x295)](_0x2bf5d6=>_0x2bf5d6[_0x128052(0x1a1)]+'('+_0x2bf5d6[_0x128052(0x428)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x321a6b,_0x36272c=0x0){const _0x57d33c=a0_0x3a67c7,_0x51eb54='\x20\x20'[_0x57d33c(0x284)](_0x36272c),_0xc7490e=[];return _0x321a6b[_0x57d33c(0x40a)](_0x1ebce2=>{const _0x12aa0a=_0x57d33c;_0xc7490e[_0x12aa0a(0x3cf)](_0x51eb54+'-\x20`'+_0x1ebce2[_0x12aa0a(0x1a1)]+_0x12aa0a(0x413)+_0x1ebce2[_0x12aa0a(0x428)]),_0x1ebce2[_0x12aa0a(0x239)]&&_0x1ebce2[_0x12aa0a(0x239)]['length']>0x0&&_0xc7490e[_0x12aa0a(0x3cf)](formatOptionsAsMarkdownList(_0x1ebce2[_0x12aa0a(0x239)],_0x36272c+0x1));}),_0xc7490e[_0x57d33c(0x414)]('\x0a');}class DbtableConfig{[a0_0x3a67c7(0x2eb)];constructor(_0xf1eff1){const _0x52c415=a0_0x3a67c7,_0x4c07aa={..._0xf1eff1};this[_0x52c415(0x2eb)]=_0x4c07aa;}get[a0_0x3a67c7(0x250)](){const _0x59f791=a0_0x3a67c7;return this[_0x59f791(0x2eb)]['dbId'];}get['dbName'](){const _0x2629c7=a0_0x3a67c7;return this['_raw'][_0x2629c7(0x23f)]??this[_0x2629c7(0x2eb)]['dblinkInfoDTO']?.[_0x2629c7(0x23f)];}get[a0_0x3a67c7(0x1a3)](){const _0x3e3795=a0_0x3a67c7;return this[_0x3e3795(0x2eb)]['tableName'];}get[a0_0x3a67c7(0x36b)](){const _0x24bfa5=a0_0x3a67c7;return this['_raw'][_0x24bfa5(0x36b)];}get['pkField'](){const _0x34d3d0=a0_0x3a67c7;return this[_0x34d3d0(0x2eb)][_0x34d3d0(0x1ea)];}get[a0_0x3a67c7(0x23d)](){const _0x5d546e=a0_0x3a67c7;return this[_0x5d546e(0x2eb)][_0x5d546e(0x23d)];}get[a0_0x3a67c7(0x405)](){const _0x46af1e=a0_0x3a67c7;return this[_0x46af1e(0x2eb)]['logicField'];}get[a0_0x3a67c7(0x1cf)](){const _0x4986a9=a0_0x3a67c7;return this['_raw'][_0x4986a9(0x1cf)];}get['updateTimeField'](){const _0x391dd3=a0_0x3a67c7;return this['_raw'][_0x391dd3(0x243)];}get[a0_0x3a67c7(0x3b3)](){const _0x2d9f0d=a0_0x3a67c7;return this['_raw'][_0x2d9f0d(0x3b3)];}get[a0_0x3a67c7(0x35e)](){const _0x1bed29=a0_0x3a67c7;return this['_raw'][_0x1bed29(0x35e)];}get[a0_0x3a67c7(0x265)](){const _0xdb5abf=a0_0x3a67c7;return this['_raw'][_0xdb5abf(0x265)];}get[a0_0x3a67c7(0x3be)](){const _0x10345f=a0_0x3a67c7;return this[_0x10345f(0x2eb)]['modifierNameField'];}get[a0_0x3a67c7(0x273)](){const _0x95f6ee=a0_0x3a67c7;return this['_raw'][_0x95f6ee(0x273)];}[a0_0x3a67c7(0x32f)](){const _0x1913b4=a0_0x3a67c7;if(!this[_0x1913b4(0x2eb)][_0x1913b4(0x373)])return[];return this[_0x1913b4(0x2eb)][_0x1913b4(0x373)][_0x1913b4(0x1c7)](',')[_0x1913b4(0x295)](_0x145498=>_0x145498['trim']())['filter'](Boolean);}[a0_0x3a67c7(0x1c8)](){const _0x4d9019=a0_0x3a67c7;return this[_0x4d9019(0x2eb)][_0x4d9019(0x373)];}[a0_0x3a67c7(0x29c)](_0x20de28){const _0x3e82e7=a0_0x3a67c7;return this[_0x3e82e7(0x32f)]()['includes'](_0x20de28);}[a0_0x3a67c7(0x3c3)](){const _0xeb03ec=a0_0x3a67c7;return Boolean(this['_raw'][_0xeb03ec(0x1a3)]);}[a0_0x3a67c7(0x24f)](){const _0x3fcccc=a0_0x3a67c7;return Boolean(this[_0x3fcccc(0x2eb)][_0x3fcccc(0x273)]);}['hasLogicField'](){const _0x1830e2=a0_0x3a67c7;return Boolean(this[_0x1830e2(0x2eb)][_0x1830e2(0x405)]?.[_0x1830e2(0x303)]);}[a0_0x3a67c7(0x426)](){const _0xa12fee=a0_0x3a67c7;return Boolean(this['_raw']['createTimeField']?.[_0xa12fee(0x303)]);}[a0_0x3a67c7(0x207)](){const _0x39d1b3=a0_0x3a67c7;return Boolean(this['_raw']['updateTimeField']?.[_0x39d1b3(0x303)]);}[a0_0x3a67c7(0x3e1)](){const _0x391fa9=a0_0x3a67c7;return Boolean(this[_0x391fa9(0x2eb)]['creatorIdField']?.[_0x391fa9(0x303)]);}[a0_0x3a67c7(0x384)](){const _0xf88a20=a0_0x3a67c7;return Boolean(this[_0xf88a20(0x2eb)][_0xf88a20(0x265)]?.[_0xf88a20(0x303)]);}[a0_0x3a67c7(0x325)](_0x321883){const _0x415e41=a0_0x3a67c7;return this[_0x415e41(0x2eb)][_0x415e41(0x1ea)]===_0x321883;}[a0_0x3a67c7(0x412)](_0x54a7b0){const _0x23325e=a0_0x3a67c7;return this[_0x23325e(0x325)](_0x54a7b0)||this[_0x23325e(0x2eb)][_0x23325e(0x405)]?.[_0x23325e(0x303)]===_0x54a7b0||this[_0x23325e(0x2eb)]['createTimeField']?.[_0x23325e(0x303)]===_0x54a7b0||this[_0x23325e(0x2eb)][_0x23325e(0x243)]?.[_0x23325e(0x303)]===_0x54a7b0||this[_0x23325e(0x2eb)][_0x23325e(0x3b3)]?.[_0x23325e(0x303)]===_0x54a7b0||this[_0x23325e(0x2eb)][_0x23325e(0x35e)]?.['fieldName']===_0x54a7b0||this[_0x23325e(0x2eb)][_0x23325e(0x265)]?.[_0x23325e(0x303)]===_0x54a7b0||this['_raw'][_0x23325e(0x3be)]?.[_0x23325e(0x303)]===_0x54a7b0;}['getDatabaseName'](){const _0x2f7d0c=a0_0x3a67c7;return this[_0x2f7d0c(0x2eb)]['dblinkInfoDTO']?.[_0x2f7d0c(0x23f)];}[a0_0x3a67c7(0x185)](){const _0x35e649=a0_0x3a67c7;return this[_0x35e649(0x2eb)]['dblinkInfoDTO']?.[_0x35e649(0x296)];}[a0_0x3a67c7(0x278)](){const _0x419ba0=a0_0x3a67c7;return this[_0x419ba0(0x2eb)][_0x419ba0(0x273)]?.[_0x419ba0(0x421)];}[a0_0x3a67c7(0x34f)](){const _0x49cbb0=a0_0x3a67c7;return this[_0x49cbb0(0x2eb)]['dblinkInfoDTO']?.[_0x49cbb0(0x387)];}[a0_0x3a67c7(0x345)](){const _0x658227=a0_0x3a67c7;return this['_raw'][_0x658227(0x273)]?.[_0x658227(0x31a)];}[a0_0x3a67c7(0x188)](){const _0x554c16=a0_0x3a67c7;return this['_raw'][_0x554c16(0x273)]?.['systemAnalysisResult'];}['getStats'](){const _0x597fcd=a0_0x3a67c7;return{'hasTableName':this['hasTableName'](),'hasDblinkInfo':this[_0x597fcd(0x24f)](),'fieldCount':this['getAllFieldsArray']()['length'],'systemFields':{'hasLogicField':this[_0x597fcd(0x1df)](),'hasCreateTimeField':this[_0x597fcd(0x426)](),'hasUpdateTimeField':this[_0x597fcd(0x207)](),'hasCreatorIdField':this[_0x597fcd(0x3e1)](),'hasModifierIdField':this[_0x597fcd(0x384)]()}};}[a0_0x3a67c7(0x318)](){const _0x152d88=a0_0x3a67c7,_0x5d74e2={};return _0x5d74e2[_0x152d88(0x1a3)]=this[_0x152d88(0x1a3)],_0x5d74e2[_0x152d88(0x1ea)]=this[_0x152d88(0x1ea)],_0x5d74e2['datasetKey']=this[_0x152d88(0x36b)],_0x5d74e2['dbId']=this[_0x152d88(0x250)],_0x5d74e2;}[a0_0x3a67c7(0x41b)](){const _0x2ea3d4={...this['_raw']};return _0x2ea3d4;}[a0_0x3a67c7(0x1de)](){const _0x2c6d64=a0_0x3a67c7,_0x1e8af4={...this[_0x2c6d64(0x2eb)]};return _0x1e8af4;}[a0_0x3a67c7(0x31b)](){const _0x1b9f12=a0_0x3a67c7,_0x276935=this[_0x1b9f12(0x1a3)]||_0x1b9f12(0x306),_0x2e56e1=this[_0x1b9f12(0x32f)]()['length'];return _0x1b9f12(0x3e7)+_0x276935+_0x1b9f12(0x399)+_0x2e56e1+')';}static[a0_0x3a67c7(0x2cb)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x3a67c7(0x2eb)];constructor(_0x1be053){const _0x54bae3=a0_0x3a67c7,_0x4821e0=_0x1be053[_0x54bae3(0x2f6)]||_0x1be053['code']||_0x1be053[_0x54bae3(0x27e)],_0x89443f={..._0x1be053};_0x89443f[_0x54bae3(0x2f6)]=_0x4821e0,this[_0x54bae3(0x2eb)]=_0x89443f;}get['id'](){return this['_raw']['id'];}get[a0_0x3a67c7(0x18e)](){const _0x22c04=a0_0x3a67c7;return this[_0x22c04(0x2eb)][_0x22c04(0x18e)];}[a0_0x3a67c7(0x1d8)](){const _0xb5f64c=a0_0x3a67c7;return this[_0xb5f64c(0x18e)];}get[a0_0x3a67c7(0x2f6)](){const _0x30593e=a0_0x3a67c7;return this[_0x30593e(0x2eb)][_0x30593e(0x2f6)]||'';}get[a0_0x3a67c7(0x245)](){const _0x313b70=a0_0x3a67c7;if(!this['_raw']['dbtableConfig'])return null;return new DbtableConfig(this[_0x313b70(0x2eb)][_0x313b70(0x245)]);}[a0_0x3a67c7(0x1a2)](){const _0x20e8d7=a0_0x3a67c7;return this[_0x20e8d7(0x2eb)][_0x20e8d7(0x245)];}[a0_0x3a67c7(0x38b)](){const _0x48e7b9=a0_0x3a67c7;return this[_0x48e7b9(0x245)]?.[_0x48e7b9(0x23f)]||'';}[a0_0x3a67c7(0x316)](){const _0x14c73c=a0_0x3a67c7;return getTableName(this[_0x14c73c(0x2eb)]);}[a0_0x3a67c7(0x331)](){const _0x36c3b6=a0_0x3a67c7;return getTableKey(this[_0x36c3b6(0x316)]());}[a0_0x3a67c7(0x215)](){const _0x437c82=a0_0x3a67c7;return generateModelKeyFromCode(this[_0x437c82(0x2f6)]);}['isVirtualTable'](){const _0x4c6050=a0_0x3a67c7;return isVirtualTableName(this[_0x4c6050(0x316)]());}['getModelName'](){const _0x40be22=a0_0x3a67c7;return getTableKey(this[_0x40be22(0x316)]());}[a0_0x3a67c7(0x318)](){const _0x4a10eb=a0_0x3a67c7,_0x3a8a73=getTableKey(this[_0x4a10eb(0x316)]());return{'key':_0x3a8a73,'alias':_0x3a8a73,'tableName':this['getTableName'](),'datasetCode':this[_0x4a10eb(0x2f6)],'name':this[_0x4a10eb(0x18e)]};}[a0_0x3a67c7(0x41b)](){const _0x251759=a0_0x3a67c7,_0x50b919={...this['_raw']};return _0x50b919[_0x251759(0x2f6)]=this['datasetCode'],_0x50b919;}['getRaw'](){const _0x1d92f9=a0_0x3a67c7,_0x2862c9={...this[_0x1d92f9(0x2eb)]};return _0x2862c9;}[a0_0x3a67c7(0x1b8)](){const _0x2b3a7c=a0_0x3a67c7,_0x45308c=this[_0x2b3a7c(0x245)];return _0x45308c!==null&&_0x45308c[_0x2b3a7c(0x3c3)]();}[a0_0x3a67c7(0x3de)](_0x507db0){const _0x495832=a0_0x3a67c7;return this[_0x495832(0x2eb)][_0x507db0];}[a0_0x3a67c7(0x3aa)](_0x3956cc){const _0x2e9569=a0_0x3a67c7;return _0x3956cc in this[_0x2e9569(0x2eb)];}['toString'](){const _0x1711ab=a0_0x3a67c7;return _0x1711ab(0x3b4)+this['name']+',\x20'+this[_0x1711ab(0x2f6)]+')';}}class Operation{[a0_0x3a67c7(0x18e)];[a0_0x3a67c7(0x2eb)];[a0_0x3a67c7(0x1a4)];constructor(_0x281b37,_0x56ad5f,_0x3be566){const _0x624f3c=a0_0x3a67c7;this[_0x624f3c(0x18e)]=_0x281b37,this[_0x624f3c(0x2eb)]=_0x56ad5f,this[_0x624f3c(0x1a4)]=_0x3be566;}[a0_0x3a67c7(0x1d8)](){const _0x19d3c8=a0_0x3a67c7;return this[_0x19d3c8(0x18e)];}[a0_0x3a67c7(0x19e)](){const _0x5aeb37=a0_0x3a67c7;return OPERATION_TYPE_DISPLAY_NAME[this[_0x5aeb37(0x18e)]]||this[_0x5aeb37(0x18e)];}['getType'](){const _0x12d8a9=a0_0x3a67c7;return parseOperationType(this[_0x12d8a9(0x18e)]);}[a0_0x3a67c7(0x3c5)](){return this['_raw']!==null&&this['_raw']!==![];}[a0_0x3a67c7(0x3dc)](){const _0x57bfe8=a0_0x3a67c7,_0x5eda0e=this['_raw'];if(_0x5eda0e===![]||_0x5eda0e===null)return'';return _0x5eda0e[_0x57bfe8(0x291)]||'GET';}['getPath'](){const _0x55c9b4=a0_0x3a67c7,_0x3a8e1c=this[_0x55c9b4(0x2eb)];if(_0x3a8e1c===![]||_0x3a8e1c===null)return'';return _0x3a8e1c[_0x55c9b4(0x38c)]||'';}[a0_0x3a67c7(0x34c)](){const _0x21fe59=a0_0x3a67c7,_0x50f2b4=this[_0x21fe59(0x2eb)];let _0x1c546b='';_0x50f2b4!==![]&&_0x50f2b4!==null&&_0x50f2b4['host']&&(_0x1c546b=_0x50f2b4['host']);const _0x5884b0=this[_0x21fe59(0x2c7)]();return _0x1c546b&&_0x5884b0?''+_0x1c546b+_0x5884b0:_0x5884b0;}[a0_0x3a67c7(0x220)](){const _0x577590=a0_0x3a67c7,_0x5ec859=this['_raw'];if(_0x5ec859===![]||_0x5ec859===null||!_0x5ec859[_0x577590(0x3ae)])return{};try{return JSON[_0x577590(0x216)](_0x5ec859['requestBody']);}catch{return{};}}[a0_0x3a67c7(0x272)](){const _0x3388fe=a0_0x3a67c7,_0x421321=this[_0x3388fe(0x2eb)];if(_0x421321===![]||_0x421321===null||!_0x421321['responseBody'])return null;return parseResponseBody(_0x421321[_0x3388fe(0x358)]);}[a0_0x3a67c7(0x2a9)](){const _0x5bf5e0=a0_0x3a67c7;return this[_0x5bf5e0(0x220)]();}['getResponseSchema'](){const _0x29df32=a0_0x3a67c7;return this[_0x29df32(0x272)]();}[a0_0x3a67c7(0x379)](){const _0x3bafec=a0_0x3a67c7,_0x108afb=this['getRequestParams']();return Object[_0x3bafec(0x289)](_0x108afb);}[a0_0x3a67c7(0x203)](){const _0x549e14=a0_0x3a67c7,_0x265aea=this[_0x549e14(0x2a9)](),_0x5bad30={};return Object[_0x549e14(0x240)](_0x265aea)['forEach'](([_0x1a4f3e,_0x18b306])=>{const _0x3901b4=_0x549e14,_0x4d69f7=_0x18b306;_0x5bad30[_0x1a4f3e]=generateExampleValue(_0x1a4f3e,_0x4d69f7[_0x3901b4(0x1c4)]||_0x3901b4(0x2c4),undefined,{'description':_0x4d69f7['description']});}),_0x5bad30;}[a0_0x3a67c7(0x3a4)](){const _0x372104=a0_0x3a67c7;return this[_0x372104(0x203)]();}[a0_0x3a67c7(0x35f)](){const _0x4c4214=a0_0x3a67c7,_0xa1aa75=this[_0x4c4214(0x272)]();if(!_0xa1aa75){const _0x25b89b={};return _0x25b89b[_0x4c4214(0x28c)]=!![],_0x25b89b[_0x4c4214(0x275)]=_0x4c4214(0x1bb),_0x25b89b['errorMsg']='',_0x25b89b[_0x4c4214(0x36a)]='0000',_0x25b89b[_0x4c4214(0x3cb)]=null,_0x25b89b;}return this[_0x4c4214(0x2df)](_0xa1aa75);}['generateFromSchema'](_0x6e9388){const _0x1fe9f4=a0_0x3a67c7;if(!_0x6e9388||typeof _0x6e9388!==_0x1fe9f4(0x3ab))return{};if(Array['isArray'](_0x6e9388))return _0x6e9388['length']>0x0?[this[_0x1fe9f4(0x2df)](_0x6e9388[0x0])]:[];const _0x25c711={};for(const [_0x24389f,_0x3bbe37]of Object[_0x1fe9f4(0x240)](_0x6e9388)){if(_0x3bbe37&&typeof _0x3bbe37==='object'&&!Array[_0x1fe9f4(0x205)](_0x3bbe37)){const _0x51df49=_0x3bbe37;_0x25c711[_0x24389f]=generateExampleValue(_0x24389f,_0x51df49['type']||_0x1fe9f4(0x2c4),undefined,{'description':_0x51df49[_0x1fe9f4(0x266)]});}else Array[_0x1fe9f4(0x205)](_0x3bbe37)?_0x25c711[_0x24389f]=_0x3bbe37[_0x1fe9f4(0x31c)]>0x0?[this[_0x1fe9f4(0x2df)](_0x3bbe37[0x0])]:[]:_0x25c711[_0x24389f]=_0x3bbe37;}return _0x25c711;}[a0_0x3a67c7(0x249)](_0x230c33,_0x2c0b64,_0x2a7040,_0xae395d){return generateExampleValue(_0x230c33,_0x2c0b64,_0x2a7040,_0xae395d);}[a0_0x3a67c7(0x1b7)](_0x19f3bd,_0x17f2ce){const _0x430447=a0_0x3a67c7,_0x5b614a=this['getName']();return _0x430447(0x214)+_0x19f3bd+'.'+_0x5b614a+_0x430447(0x246);}[a0_0x3a67c7(0x34e)](_0x178ce1){const _0x59b089=a0_0x3a67c7,_0x4946eb=this[_0x59b089(0x1d8)](),_0x156293=_0x178ce1||'yourModel',_0x51b17b={};return _0x51b17b[_0x59b089(0x1f9)]=_0x59b089(0x37e)+_0x156293+'.'+_0x4946eb+_0x59b089(0x246),_0x51b17b['errorCode']='try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'+_0x156293+'.'+_0x4946eb+_0x59b089(0x1dc),_0x51b17b;}[a0_0x3a67c7(0x411)](){const _0x446a4c=a0_0x3a67c7,_0x1ed60c=this[_0x446a4c(0x2a9)](),_0x24e1ba=Object[_0x446a4c(0x240)](_0x1ed60c)['map'](([_0x1e0b84,_0x53c5b5])=>{const _0x43be33=_0x446a4c,_0x1b937f=_0x53c5b5,_0x31871a={};return _0x31871a[_0x43be33(0x18e)]=_0x1e0b84,_0x31871a[_0x43be33(0x1c4)]=_0x1b937f[_0x43be33(0x1c4)]||'String',_0x31871a['description']=_0x1b937f[_0x43be33(0x266)]||'-',_0x31871a[_0x43be33(0x3fe)]=_0x1b937f[_0x43be33(0x3fe)],_0x31871a;}),_0x5b9100={};return _0x5b9100[_0x446a4c(0x2f8)]=_0x24e1ba,_0x5b9100;}['getResponseParamsDocInfo'](){const _0x37893b=a0_0x3a67c7,_0x57ca1c=this[_0x37893b(0x272)]();if(!_0x57ca1c){const _0x2c2e32={};return _0x2c2e32[_0x37893b(0x2f8)]=[],_0x2c2e32;}const _0x1a0fc2=Object[_0x37893b(0x240)](_0x57ca1c)['map'](([_0xac61b5,_0x16e176])=>{const _0x4af5ca=_0x37893b,_0x360510=_0x16e176,_0x5220b4={};return _0x5220b4[_0x4af5ca(0x18e)]=_0xac61b5,_0x5220b4[_0x4af5ca(0x1c4)]=_0x360510[_0x4af5ca(0x1c4)]||'String',_0x5220b4[_0x4af5ca(0x266)]=_0x360510[_0x4af5ca(0x266)]||'-',_0x5220b4;}),_0x384c17={};return _0x384c17[_0x37893b(0x2f8)]=_0x1a0fc2,_0x384c17;}[a0_0x3a67c7(0x1fc)](){return[];}[a0_0x3a67c7(0x30e)](){const _0x24117c=a0_0x3a67c7;return this[_0x24117c(0x1a4)]['fields']||[];}['getAllParams'](){const _0x3d86b1=a0_0x3a67c7;return{'systemFields':this['getSystemFields'](),'businessFields':this[_0x3d86b1(0x30e)]()};}[a0_0x3a67c7(0x3f8)](_0x5d3d8d){const _0x1a4b5e=a0_0x3a67c7;return this['context'][_0x1a4b5e(0x389)][_0x1a4b5e(0x323)](_0x2c66ba=>_0x2c66ba?.['code']===_0x5d3d8d);}[a0_0x3a67c7(0x252)](_0x293c6b){const _0x54e1c3=a0_0x3a67c7;return _0x293c6b[_0x54e1c3(0x2f0)];}[a0_0x3a67c7(0x2fa)](_0x42b843){const _0x18a7b2=a0_0x3a67c7;return _0x42b843[_0x18a7b2(0x1c4)];}[a0_0x3a67c7(0x24a)](_0x5b0656){const _0x155663=a0_0x3a67c7;return _0x5b0656[_0x155663(0x18e)];}[a0_0x3a67c7(0x227)](_0x1147dc){const _0x3f0325=a0_0x3a67c7;return _0x1147dc[_0x3f0325(0x266)];}[a0_0x3a67c7(0x350)](_0x5f5296){const _0x55dc07=a0_0x3a67c7;return _0x5f5296[_0x55dc07(0x419)]()||null;}[a0_0x3a67c7(0x407)](_0x311a4b){return _0x311a4b['isPrimaryKey']();}[a0_0x3a67c7(0x274)](){return[];}[a0_0x3a67c7(0x3c4)](_0x51fb52){return[];}[a0_0x3a67c7(0x41b)](){const _0x139be2=a0_0x3a67c7;return{'name':this[_0x139be2(0x1d8)](),'displayName':this['getDisplayName'](),'type':this[_0x139be2(0x321)](),'enabled':this[_0x139be2(0x3c5)](),'method':this['getMethod'](),'path':this[_0x139be2(0x2c7)](),'fullUrl':this[_0x139be2(0x34c)](),'requestParams':this['getRequestParams'](),'requestExample':this[_0x139be2(0x203)](),'responseExample':this[_0x139be2(0x35f)]()};}[a0_0x3a67c7(0x31b)](){const _0x57e4d8=a0_0x3a67c7,_0x2606e9=this[_0x57e4d8(0x3c5)]()?'启用':'禁用';return this[_0x57e4d8(0x19e)]()+'('+this[_0x57e4d8(0x18e)]+',\x20'+_0x2606e9+')';}}class GenericOperation extends Operation{[a0_0x3a67c7(0x288)];['getRequestParams'](){const _0x1eecc1=a0_0x3a67c7;return this[_0x1eecc1(0x220)]();}[a0_0x3a67c7(0x1ce)](){const _0x361114=a0_0x3a67c7;return this[_0x361114(0x272)]();}[a0_0x3a67c7(0x203)](){const _0x5e98e=a0_0x3a67c7;if(this['_requestExampleCache'])return this['_requestExampleCache'];const _0x53d387={},_0x3e25ca=this[_0x5e98e(0x2a9)](),_0x11ba20=this[_0x5e98e(0x321)]();if(Object[_0x5e98e(0x289)](_0x3e25ca)['length']===0x0&&_0x11ba20){const _0x2dba1a=this['getBusinessFields']();return _0x2dba1a[_0x5e98e(0x40a)](_0x5c1d77=>{const _0x2c034e=_0x5e98e,_0x449fda=_0x5c1d77[_0x2c034e(0x2f0)],_0x2e9fda=_0x5c1d77[_0x2c034e(0x1c4)],_0x2ab296=this['generateFieldExample'](_0x449fda,_0x2e9fda,_0x5c1d77[_0x2c034e(0x3a8)](),{'isPrimaryKey':_0x5c1d77[_0x2c034e(0x32e)](),'description':_0x5c1d77[_0x2c034e(0x266)]||_0x5c1d77[_0x2c034e(0x18e)]});_0x53d387[_0x449fda]=_0x2ab296;}),this[_0x5e98e(0x288)]=_0x53d387,_0x53d387;}return Object['entries'](_0x3e25ca)['forEach'](([_0x11bc97,_0xc7f4e5])=>{const _0xcba007=_0x5e98e,_0x46f3d8=_0xc7f4e5;let _0x13b21a;if(typeof _0x46f3d8[_0xcba007(0x1c4)]===_0xcba007(0x400))_0x13b21a=_0x46f3d8[_0xcba007(0x1c4)];else _0x46f3d8[_0xcba007(0x1c4)]&&typeof _0x46f3d8[_0xcba007(0x1c4)]==='object'?_0x13b21a=_0x46f3d8['type'][_0xcba007(0x1c4)]||'TEXT':_0x13b21a=_0xcba007(0x25c);const _0x447059=_0x46f3d8[_0xcba007(0x266)],_0x591b2c=this['getFieldDefinition'](_0x11bc97);if(_0x11bc97===_0xcba007(0x3fa))_0x53d387[_0x11bc97]=0x1;else{if(_0x11bc97===_0xcba007(0x35a))_0x53d387[_0x11bc97]=0xa;else{if(_0x11bc97==='id')_0x53d387[_0x11bc97]=0x1;else{const _0x42f64c=_0x591b2c?_0x591b2c[_0xcba007(0x3a8)]():undefined,_0x10a737=_0x591b2c?_0x591b2c[_0xcba007(0x266)]:undefined,_0x3b894b=_0x591b2c?_0x591b2c[_0xcba007(0x18e)]:undefined;_0x53d387[_0x11bc97]=this['generateFieldExample'](_0x11bc97,_0x13b21a,_0x42f64c||undefined,{'isPrimaryKey':_0x11bc97===this[_0xcba007(0x1a4)][_0xcba007(0x1ea)]||_0x11bc97==='id','description':_0x447059||_0x10a737||_0x3b894b});}}}}),this[_0x5e98e(0x288)]=_0x53d387,_0x53d387;}['generateResponseExample'](){const _0x39f84f=a0_0x3a67c7,_0xd84947=this[_0x39f84f(0x1ce)]();if(!_0xd84947){const _0x4786aa={};return _0x4786aa[_0x39f84f(0x28c)]=!![],_0x4786aa[_0x39f84f(0x275)]=_0x39f84f(0x1bb),_0x4786aa[_0x39f84f(0x388)]='',_0x4786aa[_0x39f84f(0x36a)]='0000',_0x4786aa[_0x39f84f(0x3cb)]=null,_0x4786aa;}return this['generateFromSchema'](_0xd84947);}[a0_0x3a67c7(0x2df)](_0xf5305){const _0x325e04=a0_0x3a67c7;if(!_0xf5305||typeof _0xf5305!==_0x325e04(0x3ab))return{};if(Array[_0x325e04(0x205)](_0xf5305)){if(_0xf5305['length']>0x0)return[this['generateFromSchema'](_0xf5305[0x0])];return[];}const _0x59cc71={};return Object['keys'](_0xf5305)['forEach'](_0x3f2e22=>{const _0x46f87a=_0x325e04,_0x2cb72f=_0xf5305[_0x3f2e22];if(_0x2cb72f&&typeof _0x2cb72f===_0x46f87a(0x3ab)&&!Array[_0x46f87a(0x205)](_0x2cb72f)&&_0x2cb72f['type']){const _0x54f71b=_0x2cb72f;let _0x3a29cd;if(typeof _0x54f71b[_0x46f87a(0x1c4)]===_0x46f87a(0x400))_0x3a29cd=_0x54f71b[_0x46f87a(0x1c4)];else _0x54f71b[_0x46f87a(0x1c4)]&&typeof _0x54f71b['type']===_0x46f87a(0x3ab)?_0x3a29cd=_0x54f71b[_0x46f87a(0x1c4)][_0x46f87a(0x1c4)]||_0x46f87a(0x25c):_0x3a29cd=_0x46f87a(0x25c);const _0x17e16a=_0x54f71b[_0x46f87a(0x266)],_0x49f9d1={};_0x49f9d1[_0x46f87a(0x266)]=_0x17e16a,_0x59cc71[_0x3f2e22]=this[_0x46f87a(0x249)](_0x3f2e22,_0x3a29cd,undefined,_0x49f9d1);}else{if(Array[_0x46f87a(0x205)](_0x2cb72f))_0x59cc71[_0x3f2e22]=_0x2cb72f[_0x46f87a(0x31c)]>0x0?[this[_0x46f87a(0x2df)](_0x2cb72f[0x0])]:[];else _0x2cb72f&&typeof _0x2cb72f===_0x46f87a(0x3ab)?_0x59cc71[_0x3f2e22]=this[_0x46f87a(0x2df)](_0x2cb72f):_0x59cc71[_0x3f2e22]=_0x2cb72f;}}),_0x59cc71;}[a0_0x3a67c7(0x1b7)](_0x2206eb,_0x2507a3){const _0x15a523=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2507a3||{},_0x1653e5=this[_0x15a523(0x1d8)](),_0x4a6cd2=this['getType'](),_0xe2d3c2=this[_0x15a523(0x379)](),_0x189499=this[_0x15a523(0x203)](),_0xae0e23=_0x1a1e85=>{const _0x27d560=_0x15a523;if(Object['keys'](_0x1a1e85)['length']===0x0)return'{}';const _0xc406c0=JSON['stringify'](_0x1a1e85,null,0x2)[_0x27d560(0x1c7)]('\x0a')[_0x27d560(0x295)]((_0x29b0bb,_0x1e5b19)=>_0x1e5b19===0x0?_0x29b0bb:indent+_0x29b0bb)[_0x27d560(0x414)]('\x0a');return _0xc406c0;};switch(_0x4a6cd2){case'getOne':case _0x15a523(0x36d):return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+_0x15a523(0x2e7);case _0x15a523(0x313):if(useFullExample&&Object[_0x15a523(0x289)](_0x189499)['length']>0x0)return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+'(id,\x20'+_0xae0e23(_0x189499)+');';return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+_0x15a523(0x39f);case'create':case _0x15a523(0x352):case _0x15a523(0x1f7):default:if(_0xe2d3c2[_0x15a523(0x31c)]>0x0){if(useFullExample&&Object[_0x15a523(0x289)](_0x189499)['length']>0x0)return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+'('+_0xae0e23(_0x189499)+');';else{const _0x560744=Object[_0x15a523(0x289)](_0x189499);if(_0x560744[_0x15a523(0x31c)]>0x0){const _0x4a13b6=_0x560744['slice'](0x0,0x2)['join'](',\x20');return'const\x20result\x20=\x20await\x20client.models.'+_0x2206eb+'.'+_0x1653e5+_0x15a523(0x242)+_0x4a13b6+_0x15a523(0x35d);}else return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+'(params);';}}else return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+'();';}}[a0_0x3a67c7(0x329)](){return[{'title':'请求示例','data':this['generateRequestExample']()}];}[a0_0x3a67c7(0x1fc)](){const _0x44e042=a0_0x3a67c7,_0x39c872=this['getType'](),_0x5cf5c1=[];switch(_0x39c872){case _0x44e042(0x357):case _0x44e042(0x36d):const _0x590a14={};_0x590a14['code']='id',_0x590a14[_0x44e042(0x1c4)]=_0x44e042(0x2de),_0x590a14[_0x44e042(0x266)]=_0x44e042(0x22b),_0x5cf5c1[_0x44e042(0x3cf)](_0x590a14);break;case _0x44e042(0x352):const _0x4bc7cc={};_0x4bc7cc[_0x44e042(0x2f0)]=_0x44e042(0x3fa),_0x4bc7cc[_0x44e042(0x1c4)]=_0x44e042(0x2de),_0x4bc7cc[_0x44e042(0x266)]=_0x44e042(0x1cc);const _0xbdf98e={};_0xbdf98e[_0x44e042(0x2f0)]='pageSize',_0xbdf98e[_0x44e042(0x1c4)]='NUMBER',_0xbdf98e[_0x44e042(0x266)]=_0x44e042(0x322),_0x5cf5c1['push'](_0x4bc7cc,_0xbdf98e);break;case _0x44e042(0x1f7):const _0x35fdb5={};_0x35fdb5[_0x44e042(0x2f0)]=_0x44e042(0x2f0),_0x35fdb5[_0x44e042(0x1c4)]='STRING',_0x35fdb5['description']='选项编码(可选)',_0x5cf5c1['push'](_0x35fdb5);break;default:break;}return _0x5cf5c1;}[a0_0x3a67c7(0x30e)](){const _0x538e67=a0_0x3a67c7,_0x1a63c8=this[_0x538e67(0x321)](),_0x48a3af=this[_0x538e67(0x1a4)]['fields']||[];switch(_0x1a63c8){case'getOne':case _0x538e67(0x36d):return[];case _0x538e67(0x2d8):case _0x538e67(0x342):return _0x48a3af[_0x538e67(0x1b6)](_0x22463c=>{const _0x4b8d45=_0x538e67;if(_0x22463c[_0x4b8d45(0x1a9)])return![];if(_0x22463c['isPrimaryKey']()&&_0x22463c[_0x4b8d45(0x1af)]())return![];if(_0x22463c[_0x4b8d45(0x229)]())return![];if(_0x22463c[_0x4b8d45(0x1ed)]()||_0x22463c[_0x4b8d45(0x39c)]())return![];return!![];});case _0x538e67(0x313):return _0x48a3af[_0x538e67(0x1b6)](_0x215e05=>{const _0x12fe41=_0x538e67;if(_0x215e05[_0x12fe41(0x1a9)])return![];if(_0x215e05['isPrimaryKey']())return![];if(_0x215e05[_0x12fe41(0x229)]())return![];if(_0x215e05[_0x12fe41(0x1ed)]()||_0x215e05[_0x12fe41(0x39c)]())return![];if(_0x215e05[_0x12fe41(0x1af)]())return![];return!![];});case _0x538e67(0x352):case _0x538e67(0x1f7):return _0x48a3af[_0x538e67(0x1b6)](_0x4c0e52=>!_0x4c0e52[_0x538e67(0x1a9)]&&_0x4c0e52[_0x538e67(0x1cd)]());default:return _0x48a3af[_0x538e67(0x1b6)](_0x568d5e=>!_0x568d5e['deleted']&&_0x568d5e[_0x538e67(0x1cd)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x3a67c7(0x2a9)](){const _0x1ed568=a0_0x3a67c7,_0x27af53=super[_0x1ed568(0x2a9)](),_0x3f7c8c=Object['keys'](_0x27af53);if(_0x3f7c8c[_0x1ed568(0x31c)]===0x0||_0x3f7c8c[_0x1ed568(0x31c)]===0x1&&_0x3f7c8c[0x0]===_0x1ed568(0x2f0)){if(!_0x27af53['code']){const _0x1074e2={};_0x1074e2[_0x1ed568(0x1c4)]='String',_0x1074e2[_0x1ed568(0x266)]='字段编码',_0x27af53[_0x1ed568(0x2f0)]=_0x1074e2;}const _0x16ee8c={};_0x16ee8c[_0x1ed568(0x1c4)]='String',_0x16ee8c[_0x1ed568(0x266)]=_0x1ed568(0x232),_0x27af53['label']=_0x16ee8c;}return _0x27af53;}[a0_0x3a67c7(0x30e)](){return[];}['getSystemFields'](){const _0x5225d8=a0_0x3a67c7,_0x31072e={};_0x31072e[_0x5225d8(0x2f0)]=_0x5225d8(0x2f0),_0x31072e[_0x5225d8(0x1c4)]=_0x5225d8(0x2c4),_0x31072e['description']='字段编码';const _0x243992={};return _0x243992['code']=_0x5225d8(0x428),_0x243992['type']=_0x5225d8(0x2c4),_0x243992[_0x5225d8(0x266)]=_0x5225d8(0x232),[_0x31072e,_0x243992];}[a0_0x3a67c7(0x203)](){const _0x2e11cf=a0_0x3a67c7,_0x383e57={};return _0x383e57[_0x2e11cf(0x2f0)]=_0x2e11cf(0x2f4),_0x383e57[_0x2e11cf(0x428)]=_0x2e11cf(0x2f4),_0x383e57;}[a0_0x3a67c7(0x1b7)](_0x254c65){const _0xeb40f9=a0_0x3a67c7,_0x244572=this['getName']();return _0xeb40f9(0x214)+_0x254c65+'.'+_0x244572+_0xeb40f9(0x225);}}class GetListOperation extends GenericOperation{[a0_0x3a67c7(0x2a9)](){const _0xbe113e=a0_0x3a67c7,_0x41d57d=super[_0xbe113e(0x2a9)](),{currentPage:_0x4d01cc,pageSize:_0x4287c2,..._0xfd92ff}=_0x41d57d,_0x1a07d1={};Object[_0xbe113e(0x240)](_0xfd92ff)[_0xbe113e(0x40a)](([_0x2ad602,_0x2bb5ca])=>{const _0x1e5296=_0xbe113e;if(typeof _0x2bb5ca===_0x1e5296(0x3ab)&&_0x2bb5ca!==null){const _0x177a5d=_0x2bb5ca,_0x4f99a7=_0x177a5d['description']||'',_0x9a3a6e={..._0x177a5d};_0x9a3a6e[_0x1e5296(0x266)]=_0x4f99a7?_0x4f99a7+'(支持单值或数组)':'支持单值或数组',_0x1a07d1[_0x2ad602]=_0x9a3a6e;}else _0x1a07d1[_0x2ad602]=_0x2bb5ca;});const _0xe24d0c={...typeof _0x4d01cc==='object'?_0x4d01cc:{}};_0xe24d0c['type']=_0xbe113e(0x1b5),_0xe24d0c[_0xbe113e(0x266)]=_0xbe113e(0x1cc);const _0x331095={...typeof _0x4287c2==='object'?_0x4287c2:{}};_0x331095[_0xbe113e(0x1c4)]='Number',_0x331095[_0xbe113e(0x266)]=_0xbe113e(0x3a2);const _0x394883={..._0x1a07d1};return _0x394883[_0xbe113e(0x3fa)]=_0xe24d0c,_0x394883[_0xbe113e(0x35a)]=_0x331095,_0x394883;}[a0_0x3a67c7(0x203)](_0x5cf552){const _0x7b48fc=a0_0x3a67c7,{useArrayValues:useArrayValues=!![]}=_0x5cf552||{},_0x5f1132=super[_0x7b48fc(0x203)](),{currentPage:_0x194128,pageSize:_0x45f8d3,..._0x2e6fcb}=_0x5f1132;if(!useArrayValues){const _0x5fdf5c={..._0x2e6fcb};return _0x5fdf5c[_0x7b48fc(0x3fa)]=_0x194128??0x1,_0x5fdf5c[_0x7b48fc(0x35a)]=_0x45f8d3??0xa,_0x5fdf5c;}const _0x370420={},_0xc67e61=['id',_0x7b48fc(0x189),'code',_0x7b48fc(0x1c4)];Object[_0x7b48fc(0x240)](_0x2e6fcb)[_0x7b48fc(0x40a)](([_0x5dfce3,_0x373136],_0x41c67e)=>{const _0x2dfd8a=_0x7b48fc,_0x165a1c=_0xc67e61['some'](_0x5df9d7=>_0x5dfce3[_0x2dfd8a(0x385)]()['includes'](_0x5df9d7))||_0x41c67e%0x3===0x0;if(_0x165a1c&&_0x373136!==null&&_0x373136!==undefined){if(typeof _0x373136===_0x2dfd8a(0x2b4))_0x370420[_0x5dfce3]=[_0x373136,_0x373136+0x1,_0x373136+0x2];else typeof _0x373136===_0x2dfd8a(0x400)?_0x370420[_0x5dfce3]=[_0x373136,_0x373136+'_2',_0x373136+'_3']:_0x370420[_0x5dfce3]=[_0x373136];}else _0x370420[_0x5dfce3]=_0x373136;});const _0x4fc674={..._0x370420};return _0x4fc674['currentPage']=_0x194128??0x1,_0x4fc674[_0x7b48fc(0x35a)]=_0x45f8d3??0xa,_0x4fc674;}['generateSingleValueExample'](){const _0x1f02ae=a0_0x3a67c7,_0xe2d5b8={};return _0xe2d5b8[_0x1f02ae(0x196)]=![],this[_0x1f02ae(0x203)](_0xe2d5b8);}[a0_0x3a67c7(0x329)](){const _0x43fb5e=a0_0x3a67c7;return[{'title':_0x43fb5e(0x251),'description':'查询单个条件','data':this[_0x43fb5e(0x1fa)]()},{'title':_0x43fb5e(0x1f8),'description':_0x43fb5e(0x2d7),'data':this[_0x43fb5e(0x203)]()}];}['generateSDKCallCode'](_0x3f9d55,_0x5dcf10){const _0x376c20=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5dcf10||{},_0x5bb98c=this[_0x376c20(0x1d8)](),_0x515f52={};_0x515f52[_0x376c20(0x196)]=!![];const _0x12224f=this['generateRequestExample'](_0x515f52),{currentPage:_0x464779,pageSize:_0x26ec26,..._0x37925b}=_0x12224f;if(useFullExample&&Object[_0x376c20(0x289)](_0x12224f)['length']>0x0){const _0x1a1751=Object[_0x376c20(0x289)](_0x37925b)[_0x376c20(0x31c)]>0x0;if(_0x1a1751){const _0x3571ab=this['generateSingleValueExample'](),_0x3f2a5e=_0x137399=>{const _0xe3d2f3=_0x376c20;return JSON[_0xe3d2f3(0x425)](_0x137399,null,0x2)['split']('\x0a')[_0xe3d2f3(0x295)]((_0x42532b,_0x27f0b0)=>_0x27f0b0===0x0?_0x42532b:indent+_0x42532b)['join']('\x0a');};return _0x376c20(0x3e6)+_0x3f9d55+'.'+_0x5bb98c+'('+_0x3f2a5e(_0x3571ab)+_0x376c20(0x27c)+_0x3f9d55+'.'+_0x5bb98c+'('+_0x3f2a5e(_0x12224f)+');';}else{const _0x347659=JSON[_0x376c20(0x425)](_0x12224f,null,0x2)[_0x376c20(0x1c7)]('\x0a')[_0x376c20(0x295)]((_0x8e9b1b,_0x39af75)=>_0x39af75===0x0?_0x8e9b1b:indent+_0x8e9b1b)[_0x376c20(0x414)]('\x0a');return _0x376c20(0x214)+_0x3f9d55+'.'+_0x5bb98c+'('+_0x347659+');';}}if(Object[_0x376c20(0x289)](_0x37925b)[_0x376c20(0x31c)]>0x0){const _0x45864c=Object[_0x376c20(0x289)](_0x37925b)[0x0];return _0x376c20(0x214)+_0x3f9d55+'.'+_0x5bb98c+_0x376c20(0x242)+_0x45864c+_0x376c20(0x3f9);}return _0x376c20(0x214)+_0x3f9d55+'.'+_0x5bb98c+'({\x20currentPage,\x20pageSize\x20});';}}var AGGREGATE_FUNCTIONS=[a0_0x3a67c7(0x286),a0_0x3a67c7(0x248),a0_0x3a67c7(0x3e5),a0_0x3a67c7(0x432),a0_0x3a67c7(0x281)],FILTER_OPERATORS=[a0_0x3a67c7(0x1c1),a0_0x3a67c7(0x1da),a0_0x3a67c7(0x3fc),'$gteq',a0_0x3a67c7(0x3cc),a0_0x3a67c7(0x2b2),a0_0x3a67c7(0x27b),'$contain',a0_0x3a67c7(0x33f),a0_0x3a67c7(0x370),a0_0x3a67c7(0x40f),a0_0x3a67c7(0x3d8)];class FilterOperation extends GenericOperation{constructor(_0x442a2c,_0x38f74e,_0x3323c7){super(_0x442a2c,_0x38f74e,_0x3323c7);}[a0_0x3a67c7(0x274)](){return FILTER_OPERATORS;}[a0_0x3a67c7(0x3c4)](_0x27fc38){const _0xdee9bb=a0_0x3a67c7,_0x51a911=this[_0xdee9bb(0x3f8)](_0x27fc38);if(!_0x51a911)return[];return this[_0xdee9bb(0x31d)](_0x51a911);}[a0_0x3a67c7(0x2a9)](){const _0x60524c=a0_0x3a67c7,_0x50dfd3=super[_0x60524c(0x2a9)](),_0x19a108={};_0x19a108[_0x60524c(0x1c4)]=_0x60524c(0x42a),_0x19a108[_0x60524c(0x266)]=_0x60524c(0x32c),_0x19a108[_0x60524c(0x3fe)]=![];const _0x5e771a={};_0x5e771a[_0x60524c(0x1c4)]=_0x60524c(0x362),_0x5e771a['description']='返回字段列表(字段投影)',_0x5e771a['required']=![];const _0x591c5a={};_0x591c5a['type']=_0x60524c(0x2ef),_0x591c5a[_0x60524c(0x266)]=_0x60524c(0x1cb),_0x591c5a[_0x60524c(0x3fe)]=![];const _0x376c00={};_0x376c00[_0x60524c(0x1c4)]=_0x60524c(0x1b5),_0x376c00[_0x60524c(0x266)]='当前页码',_0x376c00['required']=![],_0x376c00[_0x60524c(0x3c0)]=0x1;const _0x5d4311={};_0x5d4311[_0x60524c(0x1c4)]=_0x60524c(0x1b5),_0x5d4311[_0x60524c(0x266)]=_0x60524c(0x3a2),_0x5d4311[_0x60524c(0x3fe)]=![],_0x5d4311[_0x60524c(0x3c0)]=0xa;const _0x5a864c={..._0x50dfd3};return _0x5a864c['where']=_0x19a108,_0x5a864c[_0x60524c(0x1e8)]=_0x5e771a,_0x5a864c[_0x60524c(0x236)]=_0x591c5a,_0x5a864c['currentPage']=_0x376c00,_0x5a864c[_0x60524c(0x35a)]=_0x5d4311,_0x5a864c;}['getSystemFields'](){const _0x4cf2f5=a0_0x3a67c7,_0x1e116c=this['getRequestParams'](),_0x562250=[],_0x8aff1d=[_0x4cf2f5(0x305),_0x4cf2f5(0x1e8),_0x4cf2f5(0x236),_0x4cf2f5(0x3fa),_0x4cf2f5(0x35a)];return Object['entries'](_0x1e116c)['forEach'](([_0x40e170,_0x4fef3f])=>{const _0x4f83fd=_0x4cf2f5;if(_0x8aff1d['includes'](_0x40e170)){const _0x43af45=_0x4fef3f,_0x34d716={};_0x34d716[_0x4f83fd(0x2f0)]=_0x40e170,_0x34d716[_0x4f83fd(0x1c4)]=_0x43af45[_0x4f83fd(0x1c4)]||'Object',_0x34d716[_0x4f83fd(0x266)]=_0x43af45['description']||'-',_0x562250[_0x4f83fd(0x3cf)](_0x34d716);}}),_0x562250;}[a0_0x3a67c7(0x30e)](){const _0x137d00=a0_0x3a67c7;return this[_0x137d00(0x1a4)]['fields']||[];}[a0_0x3a67c7(0x299)](){const _0x236b49=a0_0x3a67c7;return{'systemParams':this[_0x236b49(0x1fc)](),'businessFields':this['getBusinessFields']()};}[a0_0x3a67c7(0x203)](){const _0x4bf7cc=a0_0x3a67c7,_0x3a27a0=this[_0x4bf7cc(0x1a4)][_0x4bf7cc(0x389)]||[];if(_0x3a27a0[_0x4bf7cc(0x31c)]===0x0){const _0x32fd44={};return _0x32fd44[_0x4bf7cc(0x305)]={},_0x32fd44[_0x4bf7cc(0x3fa)]=0x1,_0x32fd44['pageSize']=0x14,_0x32fd44;}const _0x2756d9={},_0x32edc0=_0x3a27a0['slice'](0x0,Math[_0x4bf7cc(0x281)](0x3,_0x3a27a0[_0x4bf7cc(0x31c)]));_0x32edc0[_0x4bf7cc(0x40a)](_0x3ceabf=>{const _0x2e6391=_0x4bf7cc,_0x314c8c=this[_0x2e6391(0x31d)](_0x3ceabf);if(_0x314c8c[_0x2e6391(0x31c)]===0x0)return;const _0x5be3e9=this[_0x2e6391(0x3d7)](_0x3ceabf,_0x314c8c),_0x4c66f8=this['generateExampleValue'](_0x3ceabf,_0x5be3e9),_0xa1e1d={};_0xa1e1d[_0x5be3e9]=_0x4c66f8,_0x2756d9[_0x3ceabf[_0x2e6391(0x2f0)]]=_0xa1e1d;});const _0x5600bb=_0x3a27a0[_0x4bf7cc(0x3ec)](0x0,Math[_0x4bf7cc(0x281)](0x5,_0x3a27a0[_0x4bf7cc(0x31c)]))[_0x4bf7cc(0x295)](_0x1d24eb=>_0x1d24eb[_0x4bf7cc(0x2f0)]),_0x1ae0ff=_0x3a27a0[0x0]?_0x3a27a0[0x0]['code']:'id',_0x486aa4={};_0x486aa4[_0x1ae0ff]='DESC';const _0x420e13={};return _0x420e13[_0x4bf7cc(0x305)]=_0x2756d9,_0x420e13[_0x4bf7cc(0x1e8)]=_0x5600bb,_0x420e13[_0x4bf7cc(0x236)]=[_0x486aa4],_0x420e13[_0x4bf7cc(0x3fa)]=0x1,_0x420e13[_0x4bf7cc(0x35a)]=0x14,_0x420e13;}['generateSDKCallCode'](_0x2d31ab,_0x337a03){const _0x4cdf75=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x337a03||{},_0x4e62a2=this[_0x4cdf75(0x1d8)](),_0x35a62c=this[_0x4cdf75(0x203)](),_0x5703c2=_0x40af7a=>{const _0x529656=_0x4cdf75;return JSON[_0x529656(0x425)](_0x40af7a,null,0x2)[_0x529656(0x1c7)]('\x0a')[_0x529656(0x295)]((_0x56414d,_0x1edbfe)=>_0x1edbfe===0x0?_0x56414d:indent+_0x56414d)['join']('\x0a');};if(useFullExample){const _0x594296=this['context'][_0x4cdf75(0x389)]||[],_0x376faf={'where':_0x594296[0x0]?{[_0x594296[0x0]['code']]:{'$eq':this[_0x4cdf75(0x3df)](_0x594296[0x0],_0x4cdf75(0x1c1))}}:{},'select':_0x594296[_0x4cdf75(0x3ec)](0x0,0x3)['map'](_0x14e744=>_0x14e744[_0x4cdf75(0x2f0)]),'currentPage':0x1,'pageSize':0x14};let _0x5df45b='';if(_0x594296[_0x4cdf75(0x31c)]>=0x3){const _0x325d4c={};_0x325d4c[_0x4cdf75(0x40f)]=[];const _0x2d24e0=_0x325d4c,_0x5abc49=[];if(_0x594296[_0x4cdf75(0x31c)]>0x0){const _0x14ab99=_0x594296['find'](_0x34607f=>{const _0x4baac6=_0x4cdf75,_0xb2ca1b=_0x34607f[_0x4baac6(0x3a8)]();return[_0x4baac6(0x2de),_0x4baac6(0x427),_0x4baac6(0x20c),_0x4baac6(0x332),_0x4baac6(0x270),_0x4baac6(0x3e3)][_0x4baac6(0x1d3)](_0xb2ca1b);});if(_0x14ab99){const _0x4b9827={};_0x4b9827['$gte']=0x0,_0x4b9827[_0x4cdf75(0x3cc)]=0x64;const _0x1cf4b2={[_0x14ab99[_0x4cdf75(0x2f0)]]:_0x4b9827};_0x5abc49[_0x4cdf75(0x3cf)](_0x1cf4b2);}}if(_0x594296[_0x4cdf75(0x31c)]>0x1){const _0x17bf8c=_0x594296['find'](_0x32e76e=>{const _0xc308d=_0x4cdf75,_0x2d27be=_0x32e76e['getDbTypeForOperation']();return[_0xc308d(0x3f6),_0xc308d(0x25c),'VARCHAR',_0xc308d(0x260),'LONGTEXT'][_0xc308d(0x1d3)](_0x2d27be);});if(_0x17bf8c){const _0x28e372={};_0x28e372['$contain']=_0x4cdf75(0x2a3);const _0x4ef995={[_0x17bf8c['code']]:_0x28e372};_0x5abc49[_0x4cdf75(0x3cf)](_0x4ef995);}}if(_0x5abc49[_0x4cdf75(0x31c)]>0x0){_0x2d24e0[_0x4cdf75(0x40f)]=_0x5abc49;const _0x39a79b={'where':_0x2d24e0,'select':_0x594296[_0x4cdf75(0x3ec)](0x0,0x4)[_0x4cdf75(0x295)](_0x3dc03a=>_0x3dc03a[_0x4cdf75(0x2f0)]),'orderBy':[{[_0x594296[0x0][_0x4cdf75(0x2f0)]]:_0x4cdf75(0x300)}],'currentPage':0x1,'pageSize':0x14};_0x5df45b=_0x4cdf75(0x212)+_0x2d31ab+'.'+_0x4e62a2+'('+_0x5703c2(_0x39a79b)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x2d31ab+'.'+_0x4e62a2+'('+_0x5703c2(_0x376faf)+');'+_0x5df45b;}const _0x1f9733=JSON[_0x4cdf75(0x425)](_0x35a62c,null,0x2)[_0x4cdf75(0x1c7)]('\x0a')[_0x4cdf75(0x295)]((_0x21d3a4,_0x283d76)=>_0x283d76===0x0?_0x21d3a4:indent+_0x21d3a4)[_0x4cdf75(0x414)]('\x0a');return _0x4cdf75(0x214)+_0x2d31ab+'.'+_0x4e62a2+'('+_0x1f9733+');';}[a0_0x3a67c7(0x31d)](_0x103603){const _0x1043ba=a0_0x3a67c7,_0x52d315=_0x103603['getDbTypeForOperation'](),_0x1ed166=[];if([_0x1043ba(0x2de),_0x1043ba(0x427),'BIGINT',_0x1043ba(0x2d3)][_0x1043ba(0x1d3)](_0x52d315)||[_0x1043ba(0x332),_0x1043ba(0x270),'SMALLINT','DOUBLE',_0x1043ba(0x1ba)][_0x1043ba(0x1d3)](_0x52d315))_0x1ed166[_0x1043ba(0x3cf)](_0x1043ba(0x1c1),_0x1043ba(0x1da),_0x1043ba(0x3fc),'$lte',_0x1043ba(0x338),'$lteq',_0x1043ba(0x27b));else{if([_0x1043ba(0x3f6),_0x1043ba(0x25c),_0x1043ba(0x3c7)][_0x1043ba(0x1d3)](_0x52d315)||[_0x1043ba(0x260),_0x1043ba(0x1f2)]['includes'](_0x52d315))_0x1ed166[_0x1043ba(0x3cf)](_0x1043ba(0x1c1),_0x1043ba(0x1da),_0x1043ba(0x27b),_0x1043ba(0x3a6),'$startWith',_0x1043ba(0x370));else{if(['DATE',_0x1043ba(0x241),_0x1043ba(0x30c)][_0x1043ba(0x1d3)](_0x52d315)||[_0x1043ba(0x3a5)][_0x1043ba(0x1d3)](_0x52d315))_0x1ed166['push']('$eq',_0x1043ba(0x1da),_0x1043ba(0x3fc),'$lte',_0x1043ba(0x338),_0x1043ba(0x2b2));else[_0x1043ba(0x1d2),_0x1043ba(0x304),_0x1043ba(0x22f)][_0x1043ba(0x1d3)](_0x52d315)?_0x1ed166[_0x1043ba(0x3cf)](_0x1043ba(0x1c1),_0x1043ba(0x1da)):_0x1ed166[_0x1043ba(0x3cf)](_0x1043ba(0x1c1),_0x1043ba(0x1da));}}return _0x1ed166;}[a0_0x3a67c7(0x3d7)](_0x53011a,_0x513373){const _0x2da55c=a0_0x3a67c7,_0x4ed0ee=_0x53011a[_0x2da55c(0x3a8)]();if([_0x2da55c(0x2de),_0x2da55c(0x427),_0x2da55c(0x20c),_0x2da55c(0x2d3)][_0x2da55c(0x1d3)](_0x4ed0ee)||[_0x2da55c(0x332),_0x2da55c(0x270),_0x2da55c(0x3e3),_0x2da55c(0x39a),_0x2da55c(0x1ba)][_0x2da55c(0x1d3)](_0x4ed0ee))return _0x513373[_0x2da55c(0x1d3)]('$gte')?_0x2da55c(0x3fc):'$eq';if([_0x2da55c(0x3f6),_0x2da55c(0x25c),_0x2da55c(0x3c7)][_0x2da55c(0x1d3)](_0x4ed0ee)||[_0x2da55c(0x260),_0x2da55c(0x1f2)]['includes'](_0x4ed0ee))return _0x513373[_0x2da55c(0x1d3)](_0x2da55c(0x3a6))?'$contain':'$eq';if(['DATE',_0x2da55c(0x241),_0x2da55c(0x30c),_0x2da55c(0x3a5)][_0x2da55c(0x1d3)](_0x4ed0ee))return _0x513373['includes'](_0x2da55c(0x3fc))?_0x2da55c(0x3fc):_0x2da55c(0x1c1);return'$eq';}[a0_0x3a67c7(0x3df)](_0x4b049e,_0x22de63){const _0x1b8c5d=a0_0x3a67c7,_0x36eb38=_0x4b049e[_0x1b8c5d(0x3a8)](),_0x26b3cd=_0x4b049e[_0x1b8c5d(0x419)]();if(_0x26b3cd&&_0x26b3cd[_0x1b8c5d(0x31c)]>0x0){if(_0x22de63===_0x1b8c5d(0x27b))return _0x26b3cd[_0x1b8c5d(0x3ec)](0x0,0x2)[_0x1b8c5d(0x295)](_0x34d238=>_0x34d238[_0x1b8c5d(0x1a1)]);return _0x26b3cd[0x0]['value'];}if([_0x1b8c5d(0x2de),'INTEGER',_0x1b8c5d(0x20c),_0x1b8c5d(0x2d3)][_0x1b8c5d(0x1d3)](_0x36eb38)||[_0x1b8c5d(0x332),_0x1b8c5d(0x270),_0x1b8c5d(0x3e3),_0x1b8c5d(0x39a),_0x1b8c5d(0x1ba)][_0x1b8c5d(0x1d3)](_0x36eb38)){if(_0x22de63===_0x1b8c5d(0x27b))return[0x1,0x2,0x3];if(_0x22de63===_0x1b8c5d(0x3fc)||_0x22de63==='$gteq')return 0x0;if(_0x22de63===_0x1b8c5d(0x3cc)||_0x22de63===_0x1b8c5d(0x2b2))return 0x64;return 0x1;}if(['STRING',_0x1b8c5d(0x25c),_0x1b8c5d(0x3c7)][_0x1b8c5d(0x1d3)](_0x36eb38)||['CHAR',_0x1b8c5d(0x1f2)][_0x1b8c5d(0x1d3)](_0x36eb38)){if(_0x22de63==='$in')return[_0x1b8c5d(0x31f),_0x1b8c5d(0x423)];if(_0x22de63===_0x1b8c5d(0x3a6))return _0x1b8c5d(0x2a3);if(_0x22de63===_0x1b8c5d(0x33f))return _0x1b8c5d(0x363);if(_0x22de63===_0x1b8c5d(0x370))return _0x1b8c5d(0x3fd);return'value';}if([_0x1b8c5d(0x2e8),_0x1b8c5d(0x241),'TIMESTAMP',_0x1b8c5d(0x3a5)][_0x1b8c5d(0x1d3)](_0x36eb38)){if(_0x22de63===_0x1b8c5d(0x3fc)||_0x22de63===_0x1b8c5d(0x338))return'2024-01-01';if(_0x22de63===_0x1b8c5d(0x3cc)||_0x22de63===_0x1b8c5d(0x2b2))return _0x1b8c5d(0x394);return _0x1b8c5d(0x2bb);}if([_0x1b8c5d(0x1d2),_0x1b8c5d(0x304),'BIT']['includes'](_0x36eb38))return!![];return _0x22de63===_0x1b8c5d(0x27b)?[_0x1b8c5d(0x31f),_0x1b8c5d(0x423)]:_0x1b8c5d(0x1a1);}[a0_0x3a67c7(0x411)](){const _0x1a4622=a0_0x3a67c7,_0x2ab402=super['getRequestParams'](),_0x1ac663=Object[_0x1a4622(0x240)](_0x2ab402)[_0x1a4622(0x1b6)](([_0x10dfbe])=>_0x10dfbe!==_0x1a4622(0x3fa)&&_0x10dfbe!=='pageSize')[_0x1a4622(0x295)](([_0x52c506,_0x453c07])=>{const _0xe209aa=_0x1a4622,_0x7a9144=_0x453c07,_0x5be0c9={};return _0x5be0c9[_0xe209aa(0x18e)]=_0x52c506,_0x5be0c9[_0xe209aa(0x1c4)]=_0x7a9144['type']||_0xe209aa(0x2c4),_0x5be0c9['description']=_0x7a9144[_0xe209aa(0x266)]||'-',_0x5be0c9[_0xe209aa(0x3fe)]=_0x7a9144['required'],_0x5be0c9;}),_0x6b7641={};return _0x6b7641[_0x1a4622(0x266)]=_0x1a4622(0x40e),_0x6b7641[_0x1a4622(0x2f8)]=_0x1ac663,_0x6b7641;}}class ExcelExportOperation extends GenericOperation{[a0_0x3a67c7(0x2a9)](){const _0x91be6f=a0_0x3a67c7,_0x19c4ba=super[_0x91be6f(0x2a9)]();if(Object[_0x91be6f(0x289)](_0x19c4ba)[_0x91be6f(0x31c)]===0x0){const _0x470cf9={};this[_0x91be6f(0x1a4)][_0x91be6f(0x389)][_0x91be6f(0x40a)](_0x1a79f8=>{const _0x57e65b=_0x91be6f;if(_0x1a79f8){const _0x14b2af=_0x1a79f8[_0x57e65b(0x2f0)],_0x573737=_0x1a79f8[_0x57e65b(0x3a8)](),_0x43f429={};_0x43f429[_0x57e65b(0x1c4)]=_0x573737||_0x57e65b(0x25c),_0x43f429[_0x57e65b(0x380)]=_0x1a79f8[_0x57e65b(0x380)],_0x43f429[_0x57e65b(0x266)]=_0x1a79f8[_0x57e65b(0x266)]||_0x1a79f8['name'],_0x470cf9[_0x14b2af]=_0x43f429;}});const _0x2af87c={};_0x2af87c['type']=_0x91be6f(0x30b),_0x2af87c['description']=_0x91be6f(0x32a),_0x470cf9[_0x91be6f(0x3fa)]=_0x2af87c;const _0x148c3b={};return _0x148c3b[_0x91be6f(0x1c4)]=_0x91be6f(0x30b),_0x148c3b['description']=_0x91be6f(0x209),_0x470cf9[_0x91be6f(0x35a)]=_0x148c3b,_0x470cf9;}return _0x19c4ba;}[a0_0x3a67c7(0x203)](){const _0xe8eb21=a0_0x3a67c7,_0x327e74=super[_0xe8eb21(0x203)]();if(Object[_0xe8eb21(0x289)](_0x327e74)[_0xe8eb21(0x31c)]===0x0){const _0x574747={};return _0x574747[_0xe8eb21(0x3fa)]=0x1,_0x574747[_0xe8eb21(0x35a)]=0x64,_0x574747;}const _0x3c65e6={..._0x327e74};return _0x3c65e6[_0xe8eb21(0x3fa)]=_0x327e74[_0xe8eb21(0x3fa)]??0x1,_0x3c65e6[_0xe8eb21(0x35a)]=_0x327e74[_0xe8eb21(0x35a)]??0x64,_0x3c65e6;}[a0_0x3a67c7(0x35f)](){const _0x173b6f=a0_0x3a67c7,_0x29c76f={};return _0x29c76f[_0x173b6f(0x28c)]=!![],_0x29c76f['msg']='',_0x29c76f['errorMsg']='',_0x29c76f[_0x173b6f(0x36a)]=_0x173b6f(0x402),_0x29c76f['data']=_0x173b6f(0x2c3),_0x29c76f[_0x173b6f(0x2f8)]=null,_0x29c76f;}[a0_0x3a67c7(0x1b7)](_0x39d51a,_0x1c0df7){const _0x51ec36=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1c0df7||{},_0x2954a6=this[_0x51ec36(0x1d8)]();if(useFullExample){const _0xda10b1=this[_0x51ec36(0x203)](),{currentPage:_0x372030,pageSize:_0x455dd7,..._0xf76a41}=_0xda10b1,_0x53aadc=Object[_0x51ec36(0x289)](_0xf76a41)[_0x51ec36(0x31c)]>0x0;if(_0x53aadc){const _0x478984=_0x1722e9=>{const _0xa6b1c8=_0x51ec36;return JSON[_0xa6b1c8(0x425)](_0x1722e9,null,0x2)[_0xa6b1c8(0x1c7)]('\x0a')[_0xa6b1c8(0x295)]((_0x3444ca,_0x4195dd)=>_0x4195dd===0x0?_0x3444ca:indent+_0x3444ca)[_0xa6b1c8(0x414)]('\x0a');};return _0x51ec36(0x344)+_0x39d51a+'.'+_0x2954a6+_0x51ec36(0x1ca)+_0x39d51a+'.'+_0x2954a6+'('+_0x478984(_0xda10b1)+');';}else{const _0x21e03f=_0x316162=>{const _0x3520f5=_0x51ec36;return JSON['stringify'](_0x316162,null,0x2)[_0x3520f5(0x1c7)]('\x0a')[_0x3520f5(0x295)]((_0x58e3bb,_0xb416bb)=>_0xb416bb===0x0?_0x58e3bb:indent+_0x58e3bb)[_0x3520f5(0x414)]('\x0a');},_0x4bdb9a={};return _0x4bdb9a['currentPage']=0x1,_0x4bdb9a[_0x51ec36(0x35a)]=0x64,_0x51ec36(0x344)+_0x39d51a+'.'+_0x2954a6+'();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x39d51a+'.'+_0x2954a6+'('+_0x21e03f(_0x4bdb9a)+');';}}return _0x51ec36(0x2cd)+_0x39d51a+'.'+_0x2954a6+_0x51ec36(0x41a);}['generateUsageExample'](_0x400236){const _0x39f94f=a0_0x3a67c7,_0x286f4e=this[_0x39f94f(0x1d8)](),_0x28edf1=_0x400236||'yourModel',_0x2fa607=_0x39f94f(0x2be)+_0x28edf1+'.'+_0x286f4e+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x1ff00c=_0x39f94f(0x1b3)+_0x28edf1+'.'+_0x286f4e+'();\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}',_0x262314={};return _0x262314[_0x39f94f(0x1f9)]=_0x2fa607,_0x262314[_0x39f94f(0x36a)]=_0x1ff00c,_0x262314;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x11595d=a0_0x3a67c7;return this[_0x11595d(0x220)]();}[a0_0x3a67c7(0x2a9)](){const _0x534171=a0_0x3a67c7,_0x1efbe4=this[_0x534171(0x1e5)](),_0x172420={};_0x172420[_0x534171(0x1c4)]='NUMBER',_0x172420['description']=_0x534171(0x29a),_0x172420[_0x534171(0x3fe)]=!![];const _0x49ef81={};_0x49ef81[_0x534171(0x1c4)]=_0x534171(0x3ab),_0x49ef81[_0x534171(0x266)]=_0x534171(0x1c9),_0x49ef81[_0x534171(0x3fe)]=!![],_0x49ef81[_0x534171(0x1ef)]=_0x1efbe4;const _0x8d2b28={};return _0x8d2b28['id']=_0x172420,_0x8d2b28['data']=_0x49ef81,_0x8d2b28;}['getUpdatableFields'](){const _0x2c3d91=a0_0x3a67c7;return this[_0x2c3d91(0x1e5)]();}[a0_0x3a67c7(0x3c8)](){const _0x3ceb7c=a0_0x3a67c7,_0x5219d0=this[_0x3ceb7c(0x1a4)][_0x3ceb7c(0x389)]||[],_0xdc6373=this[_0x3ceb7c(0x1a4)][_0x3ceb7c(0x1ea)],_0x173c0c=_0x5219d0[_0x3ceb7c(0x323)](_0x99c8d2=>_0x99c8d2[_0x3ceb7c(0x32e)]()||_0x99c8d2[_0x3ceb7c(0x2f0)]===_0xdc6373),_0x262c99=_0x5219d0['filter'](_0x2124f8=>{const _0x6fdc5=_0x3ceb7c;if(_0x2124f8['deleted'])return![];if(_0x2124f8===_0x173c0c||_0x2124f8[_0x6fdc5(0x32e)]())return![];if(_0x2124f8[_0x6fdc5(0x1ed)]()||_0x2124f8[_0x6fdc5(0x39c)]())return![];if(_0x2124f8[_0x6fdc5(0x1af)]())return![];return!![];});return _0x173c0c?[_0x173c0c,..._0x262c99]:_0x262c99;}[a0_0x3a67c7(0x383)](){const _0x5472ef=a0_0x3a67c7,_0x169a23=this[_0x5472ef(0x3c8)](),_0x255622=this[_0x5472ef(0x1a4)][_0x5472ef(0x1ea)],_0x50458c=_0x169a23[_0x5472ef(0x295)](_0xcb7f90=>{const _0x4fa9cf=_0x5472ef,_0x4383c3=_0xcb7f90[_0x4fa9cf(0x32e)]()||_0xcb7f90[_0x4fa9cf(0x2f0)]===_0x255622,_0x482fbd=_0x4383c3?'id':_0xcb7f90[_0x4fa9cf(0x2f0)],_0x392781={};return _0x392781[_0x4fa9cf(0x18e)]=_0x482fbd,_0x392781[_0x4fa9cf(0x1c4)]=_0xcb7f90[_0x4fa9cf(0x1c4)],_0x392781[_0x4fa9cf(0x266)]=_0x4383c3?_0x4fa9cf(0x410)+(_0x255622&&_0x255622!==_0xcb7f90[_0x4fa9cf(0x2f0)]?_0x4fa9cf(0x234)+_0xcb7f90[_0x4fa9cf(0x2f0)]+')':''):_0xcb7f90[_0x4fa9cf(0x266)]||_0xcb7f90[_0x4fa9cf(0x18e)],_0x392781;}),_0x3526d4={};return _0x3526d4[_0x5472ef(0x266)]='HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。',_0x3526d4[_0x5472ef(0x2f8)]=_0x50458c,_0x3526d4;}[a0_0x3a67c7(0x411)](){const _0x3db862=a0_0x3a67c7,_0x399803=this[_0x3db862(0x1e5)](),_0xde450b=Object[_0x3db862(0x240)](_0x399803)[_0x3db862(0x295)](([_0x2fdda9,_0x336308])=>{const _0x530094=_0x3db862,_0x14b430=_0x336308,_0x216489={};return _0x216489[_0x530094(0x18e)]=_0x2fdda9,_0x216489[_0x530094(0x1c4)]=_0x14b430[_0x530094(0x1c4)]||_0x530094(0x2c4),_0x216489['description']=_0x14b430['description']||'-',_0x216489;}),_0x59223c={};return _0x59223c[_0x3db862(0x266)]='update\x20接口接受两个参数:\x0a\x0a'+'**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a'+_0x3db862(0x244)+_0x3db862(0x401)+_0x3db862(0x1d0)+_0x3db862(0x293),_0x59223c[_0x3db862(0x2f8)]=_0xde450b,_0x59223c;}[a0_0x3a67c7(0x203)](){const _0x144b6c=a0_0x3a67c7,_0xeda527=this[_0x144b6c(0x1e5)](),_0x1ef9a2={};Object[_0x144b6c(0x240)](_0xeda527)[_0x144b6c(0x40a)](([_0x301945,_0x50d4e9])=>{const _0x52ca4f=_0x144b6c,_0x4b7ec1=_0x50d4e9;let _0x19c245;if(typeof _0x4b7ec1['type']==='string')_0x19c245=_0x4b7ec1[_0x52ca4f(0x1c4)];else _0x4b7ec1[_0x52ca4f(0x1c4)]&&typeof _0x4b7ec1['type']===_0x52ca4f(0x3ab)?_0x19c245=_0x4b7ec1[_0x52ca4f(0x1c4)]['type']||'TEXT':_0x19c245=_0x52ca4f(0x25c);const _0x2c1184=_0x4b7ec1[_0x52ca4f(0x266)],_0x4f0295=this[_0x52ca4f(0x3f8)](_0x301945);_0x1ef9a2[_0x301945]=this[_0x52ca4f(0x249)](_0x301945,_0x19c245,_0x4f0295?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x2c1184||_0x4f0295?.[_0x52ca4f(0x266)]||_0x4f0295?.['name']});});const _0x11c417={};return _0x11c417['id']=0x1,_0x11c417[_0x144b6c(0x3cb)]=_0x1ef9a2,_0x11c417;}[a0_0x3a67c7(0x329)](){const _0x4f689e=a0_0x3a67c7,_0x512f05=this['generateRequestExample'](),_0x3a387f={};return _0x3a387f[_0x4f689e(0x192)]=_0x4f689e(0x312),_0x3a387f[_0x4f689e(0x266)]='SDK\x20调用时传递两个参数:\x0a'+_0x4f689e(0x3af)+_0x4f689e(0x2d9),_0x3a387f[_0x4f689e(0x3cb)]=_0x512f05,[_0x3a387f,{'title':_0x4f689e(0x2da),'description':_0x4f689e(0x2d4)+_0x4f689e(0x2ad)+'-\x20其他要更新的字段直接平铺在同一层级','data':this['generateHTTPRequestExample']()}];}[a0_0x3a67c7(0x3f5)](){const _0xd649=a0_0x3a67c7,_0x182ffa=this['getUpdateFields'](),_0x25b6ed={};_0x25b6ed['id']=0x1;const _0x36cedb=_0x25b6ed;return Object[_0xd649(0x240)](_0x182ffa)['forEach'](([_0x26128b,_0x4c9d15])=>{const _0x2d1ff9=_0xd649,_0xd9bbaf=_0x4c9d15;let _0x554c9d;if(typeof _0xd9bbaf[_0x2d1ff9(0x1c4)]===_0x2d1ff9(0x400))_0x554c9d=_0xd9bbaf['type'];else _0xd9bbaf[_0x2d1ff9(0x1c4)]&&typeof _0xd9bbaf[_0x2d1ff9(0x1c4)]==='object'?_0x554c9d=_0xd9bbaf[_0x2d1ff9(0x1c4)][_0x2d1ff9(0x1c4)]||_0x2d1ff9(0x25c):_0x554c9d=_0x2d1ff9(0x25c);const _0x49816b=_0xd9bbaf[_0x2d1ff9(0x266)],_0x1ebc0b=this[_0x2d1ff9(0x3f8)](_0x26128b);if(_0x1ebc0b?.['isPrimaryKey']())return;_0x36cedb[_0x26128b]=this['generateFieldExample'](_0x26128b,_0x554c9d,_0x1ebc0b?.[_0x2d1ff9(0x3a8)](),{'isPrimaryKey':![],'description':_0x49816b||_0x1ebc0b?.['description']||_0x1ebc0b?.[_0x2d1ff9(0x18e)]});}),_0x36cedb;}[a0_0x3a67c7(0x3a4)](){const _0x4ccd25=a0_0x3a67c7;return this[_0x4ccd25(0x3f5)]();}[a0_0x3a67c7(0x1b7)](_0xb6ed5d,_0x548477){const _0x919c91=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x548477||{},_0x49b5b5=this[_0x919c91(0x1d8)]();if(useFullExample){const _0x43d711=this[_0x919c91(0x203)](),_0x384bf4=JSON['stringify'](_0x43d711[_0x919c91(0x3cb)],null,0x2)['split']('\x0a')[_0x919c91(0x295)]((_0x230f08,_0x3281ef)=>_0x3281ef===0x0?_0x230f08:indent+_0x230f08)[_0x919c91(0x414)]('\x0a');return _0x919c91(0x214)+_0xb6ed5d+'.'+_0x49b5b5+'('+_0x43d711['id']+',\x20'+_0x384bf4+');';}return _0x919c91(0x214)+_0xb6ed5d+'.'+_0x49b5b5+_0x919c91(0x39f);}}class AggregateOperation extends GenericOperation{constructor(_0x193f2a,_0x57f047,_0x93374c){super(_0x193f2a,_0x57f047,_0x93374c);}[a0_0x3a67c7(0x2d0)](_0x5e1ad6){const _0x34be3c=a0_0x3a67c7;return _0x5e1ad6[_0x34be3c(0x396)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x34be3c(0x3ba)]()[_0x34be3c(0x186)]();}[a0_0x3a67c7(0x2ed)](){return AGGREGATE_FUNCTIONS;}[a0_0x3a67c7(0x2a9)](){const _0x54d31c=a0_0x3a67c7,_0x36df98=super[_0x54d31c(0x2a9)](),_0x324627={};_0x324627['type']=_0x54d31c(0x362),_0x324627['description']=_0x54d31c(0x3c9),_0x324627[_0x54d31c(0x3fe)]=![];const _0x34b7d6={};_0x34b7d6[_0x54d31c(0x1c4)]=_0x54d31c(0x42a),_0x34b7d6[_0x54d31c(0x266)]=_0x54d31c(0x3d9),_0x34b7d6[_0x54d31c(0x3fe)]=![];const _0x32172b={};_0x32172b[_0x54d31c(0x1c4)]='String[]',_0x32172b[_0x54d31c(0x266)]=_0x54d31c(0x3ff),_0x32172b[_0x54d31c(0x3fe)]=![];const _0x1374b6={};_0x1374b6[_0x54d31c(0x1c4)]='Array',_0x1374b6[_0x54d31c(0x266)]=_0x54d31c(0x2e3),_0x1374b6[_0x54d31c(0x3fe)]=![];const _0xf78866={};_0xf78866['type']=_0x54d31c(0x328),_0xf78866['description']=_0x54d31c(0x33d),_0xf78866[_0x54d31c(0x3fe)]=![];const _0x15528c={};_0x15528c['type']=_0x54d31c(0x328),_0x15528c['description']=_0x54d31c(0x2e6),_0x15528c[_0x54d31c(0x3fe)]=![];const _0x3291ba={};_0x3291ba[_0x54d31c(0x1c4)]=_0x54d31c(0x1b5),_0x3291ba[_0x54d31c(0x266)]='当前页码(从\x201\x20开始,默认:\x201)',_0x3291ba['required']=![];const _0x57d67b={};_0x57d67b[_0x54d31c(0x1c4)]='Number',_0x57d67b[_0x54d31c(0x266)]='每页数量(默认:\x2020)',_0x57d67b[_0x54d31c(0x3fe)]=![];const _0x38c4d1={..._0x36df98};return _0x38c4d1[_0x54d31c(0x1e8)]=_0x324627,_0x38c4d1['where']=_0x34b7d6,_0x38c4d1['groupBy']=_0x32172b,_0x38c4d1['aggregate']=_0x1374b6,_0x38c4d1[_0x54d31c(0x359)]=_0xf78866,_0x38c4d1[_0x54d31c(0x236)]=_0x15528c,_0x38c4d1['currentPage']=_0x3291ba,_0x38c4d1[_0x54d31c(0x35a)]=_0x57d67b,_0x38c4d1;}[a0_0x3a67c7(0x1fc)](){const _0xf37d2d=a0_0x3a67c7,_0x504585={};_0x504585[_0xf37d2d(0x2f0)]='select',_0x504585[_0xf37d2d(0x1c4)]=_0xf37d2d(0x362),_0x504585[_0xf37d2d(0x266)]=_0xf37d2d(0x3c9);const _0x45f78f={};_0x45f78f['code']=_0xf37d2d(0x305),_0x45f78f[_0xf37d2d(0x1c4)]=_0xf37d2d(0x42a),_0x45f78f[_0xf37d2d(0x266)]=_0xf37d2d(0x3d9);const _0x3d2095={};_0x3d2095[_0xf37d2d(0x2f0)]=_0xf37d2d(0x21c),_0x3d2095[_0xf37d2d(0x1c4)]=_0xf37d2d(0x362),_0x3d2095[_0xf37d2d(0x266)]='分组字段列表';const _0x1ed146={};_0x1ed146['code']=_0xf37d2d(0x235),_0x1ed146[_0xf37d2d(0x1c4)]=_0xf37d2d(0x328),_0x1ed146[_0xf37d2d(0x266)]=_0xf37d2d(0x184);const _0x15f2fb={};_0x15f2fb[_0xf37d2d(0x2f0)]=_0xf37d2d(0x359),_0x15f2fb[_0xf37d2d(0x1c4)]='Array',_0x15f2fb[_0xf37d2d(0x266)]=_0xf37d2d(0x33d);const _0x4df377={};_0x4df377[_0xf37d2d(0x2f0)]='orderBy',_0x4df377[_0xf37d2d(0x1c4)]=_0xf37d2d(0x328),_0x4df377['description']=_0xf37d2d(0x2e6);const _0x153d18={};_0x153d18['code']=_0xf37d2d(0x3fa),_0x153d18[_0xf37d2d(0x1c4)]=_0xf37d2d(0x1b5),_0x153d18[_0xf37d2d(0x266)]='当前页码(从\x201\x20开始,默认:\x201)';const _0x4f03c7={};return _0x4f03c7[_0xf37d2d(0x2f0)]=_0xf37d2d(0x35a),_0x4f03c7['type']=_0xf37d2d(0x1b5),_0x4f03c7[_0xf37d2d(0x266)]=_0xf37d2d(0x1fe),[_0x504585,_0x45f78f,_0x3d2095,_0x1ed146,_0x15f2fb,_0x4df377,_0x153d18,_0x4f03c7];}['generateRequestExample'](){const _0x39afb2=a0_0x3a67c7,_0x3d10b5=this['context']['fields']||[];if(_0x3d10b5[_0x39afb2(0x31c)]===0x0){const _0x13b6b4={};return _0x13b6b4[_0x39afb2(0x305)]={},_0x13b6b4[_0x39afb2(0x21c)]=[],_0x13b6b4[_0x39afb2(0x235)]=[],_0x13b6b4;}const _0x1bb54f={},_0x55e615=_0x3d10b5[_0x39afb2(0x3ec)](0x0,Math['min'](0x3,_0x3d10b5[_0x39afb2(0x31c)]));_0x55e615['forEach'](_0xe0276=>{const _0x3222aa=_0x39afb2,_0x3f8af8=this[_0x3222aa(0x31d)](_0xe0276);if(_0x3f8af8[_0x3222aa(0x31c)]===0x0)return;const _0x260748=this[_0x3222aa(0x3d7)](_0xe0276,_0x3f8af8),_0x32fd01=this[_0x3222aa(0x3df)](_0xe0276,_0x260748),_0x3b7bb1={};_0x3b7bb1[_0x260748]=_0x32fd01,_0x1bb54f[_0xe0276[_0x3222aa(0x2f0)]]=_0x3b7bb1;});const _0x3f36cf=_0x3d10b5['slice'](0x0,Math['min'](0x2,_0x3d10b5[_0x39afb2(0x31c)]))[_0x39afb2(0x295)](_0x50798b=>_0x50798b[_0x39afb2(0x2f0)]),_0x30ed06=[],_0x813224=_0x3d10b5['filter'](_0x314fb9=>this['isNumericField'](_0x314fb9));if(_0x813224[_0x39afb2(0x31c)]>0x0){const _0x1842a3=_0x813224[0x0],_0x11036c=_0x1842a3[_0x39afb2(0x2f0)],_0x2622bf={};_0x2622bf[_0x39afb2(0x1c4)]=_0x39afb2(0x286),_0x2622bf['column']=_0x11036c,_0x2622bf[_0x39afb2(0x30a)]=_0x11036c+_0x39afb2(0x3e0),_0x2622bf[_0x39afb2(0x1aa)]=![],_0x2622bf[_0x39afb2(0x1a0)]=!![],_0x2622bf[_0x39afb2(0x315)]=0x2,_0x30ed06[_0x39afb2(0x3cf)](_0x2622bf);const _0x2265a4={};_0x2265a4[_0x39afb2(0x1c4)]=_0x39afb2(0x3e5),_0x2265a4[_0x39afb2(0x267)]=_0x11036c,_0x2265a4[_0x39afb2(0x30a)]=_0x11036c+_0x39afb2(0x231),_0x2265a4[_0x39afb2(0x1aa)]=![],_0x2265a4[_0x39afb2(0x1a0)]=!![],_0x2265a4[_0x39afb2(0x315)]=0x2,_0x30ed06['push'](_0x2265a4);const _0x1e043a={};_0x1e043a[_0x39afb2(0x1c4)]=_0x39afb2(0x432),_0x1e043a[_0x39afb2(0x267)]=_0x11036c,_0x1e043a[_0x39afb2(0x30a)]=_0x11036c+_0x39afb2(0x20b),_0x1e043a[_0x39afb2(0x1aa)]=![],_0x1e043a['round']=!![],_0x1e043a[_0x39afb2(0x315)]=0x2,_0x30ed06[_0x39afb2(0x3cf)](_0x1e043a);const _0x2b4731={};_0x2b4731['type']=_0x39afb2(0x281),_0x2b4731[_0x39afb2(0x267)]=_0x11036c,_0x2b4731[_0x39afb2(0x30a)]=_0x11036c+_0x39afb2(0x298),_0x2b4731['distinct']=![],_0x2b4731[_0x39afb2(0x1a0)]=!![],_0x2b4731[_0x39afb2(0x315)]=0x2,_0x30ed06[_0x39afb2(0x3cf)](_0x2b4731);}else{if(_0x3d10b5[_0x39afb2(0x31c)]>0x0){const _0x4559d9=_0x3d10b5[0x0],_0x458452=_0x4559d9[_0x39afb2(0x2f0)],_0x2a59d0={};_0x2a59d0[_0x39afb2(0x1c4)]='count',_0x2a59d0[_0x39afb2(0x267)]=_0x458452,_0x2a59d0[_0x39afb2(0x30a)]=_0x39afb2(0x3bb),_0x2a59d0[_0x39afb2(0x1aa)]=!![],_0x30ed06['push'](_0x2a59d0);}}const _0x3ebb43=[];if(_0x3d10b5[_0x39afb2(0x31c)]>0x0){const _0x3b8239=_0x3d10b5[0x0][_0x39afb2(0x2f0)],_0x50cb5c={};_0x50cb5c[_0x3b8239]=_0x39afb2(0x25a),_0x3ebb43[_0x39afb2(0x3cf)](_0x50cb5c);}const _0x2f8000=[..._0x3f36cf,..._0x30ed06[_0x39afb2(0x295)](_0x3f8e6d=>_0x3f8e6d['alias'])],_0x554b46=[];if(_0x30ed06['length']>0x0){const _0x42ee1b={};_0x42ee1b[_0x39afb2(0x3fc)]=0x0;const _0x29125f={};_0x29125f[_0x39afb2(0x223)]=_0x30ed06[0x0][_0x39afb2(0x30a)],_0x29125f['condition']=_0x42ee1b,_0x554b46[_0x39afb2(0x3cf)](_0x29125f);}const _0x4b1023={};return _0x4b1023[_0x39afb2(0x1e8)]=_0x2f8000,_0x4b1023[_0x39afb2(0x305)]=_0x1bb54f,_0x4b1023[_0x39afb2(0x21c)]=_0x3f36cf,_0x4b1023['aggregate']=_0x30ed06,_0x4b1023['having']=_0x554b46[_0x39afb2(0x31c)]>0x0?_0x554b46:undefined,_0x4b1023[_0x39afb2(0x236)]=_0x3ebb43,_0x4b1023['currentPage']=0x1,_0x4b1023[_0x39afb2(0x35a)]=0x14,_0x4b1023;}[a0_0x3a67c7(0x1b7)](_0xc75201,_0x56fdf8){const _0x155545=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x56fdf8||{},_0x58ee4e=this[_0x155545(0x1d8)](),_0x5646b6=this[_0x155545(0x203)](),_0x55574c=_0xf63f13=>{const _0x169336=_0x155545;return JSON[_0x169336(0x425)](_0xf63f13,null,0x2)[_0x169336(0x1c7)]('\x0a')[_0x169336(0x295)]((_0x12b7bb,_0x1de61c)=>_0x1de61c===0x0?_0x12b7bb:indent+_0x12b7bb)['join']('\x0a');};if(useFullExample){const _0x511662=this['context'][_0x155545(0x389)]||[],_0x538a97=_0x511662[_0x155545(0x1b6)](_0x480fe0=>this['isNumericField'](_0x480fe0)),_0x441e7c={'where':_0x511662[0x0]?{[_0x511662[0x0][_0x155545(0x2f0)]]:{'$eq':this['generateExampleValue'](_0x511662[0x0],_0x155545(0x1c1))}}:{},'aggregate':_0x538a97[_0x155545(0x31c)]>0x0?[{'type':_0x155545(0x286),'column':_0x538a97[0x0][_0x155545(0x2f0)],'alias':_0x538a97[0x0][_0x155545(0x2f0)]+_0x155545(0x3e0),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x155545(0x248),'column':_0x511662[0x0][_0x155545(0x2f0)],'alias':_0x155545(0x3bb),'distinct':!![]}],'orderBy':[{[_0x511662[0x0]['code']]:_0x155545(0x25a)}]};let _0x248c21='';return _0x511662['length']>=0x3&&(_0x248c21=_0x155545(0x3fb)+_0xc75201+'.'+_0x58ee4e+'('+_0x55574c(_0x5646b6)+');'),_0x155545(0x39e)+_0xc75201+'.'+_0x58ee4e+'('+_0x55574c(_0x441e7c)+');'+_0x248c21;}const _0xed861f=JSON[_0x155545(0x425)](_0x5646b6,null,0x2)[_0x155545(0x1c7)]('\x0a')['map']((_0x181c1d,_0x8bab8c)=>_0x8bab8c===0x0?_0x181c1d:indent+_0x181c1d)['join']('\x0a');return _0x155545(0x214)+_0xc75201+'.'+_0x58ee4e+'('+_0xed861f+');';}[a0_0x3a67c7(0x24e)](_0x315ace){const _0x20ac30=a0_0x3a67c7,_0x17ee84=_0x315ace[_0x20ac30(0x3a8)]();return[_0x20ac30(0x2de),_0x20ac30(0x427),_0x20ac30(0x20c),_0x20ac30(0x2d3)][_0x20ac30(0x1d3)](_0x17ee84)||[_0x20ac30(0x332),_0x20ac30(0x270),_0x20ac30(0x3e3),_0x20ac30(0x39a),_0x20ac30(0x1ba)][_0x20ac30(0x1d3)](_0x17ee84);}[a0_0x3a67c7(0x31d)](_0x3a5c3d){const _0x446869=a0_0x3a67c7,_0x39ae00=_0x3a5c3d['getDbTypeForOperation'](),_0xa515d1=[];if([_0x446869(0x2de),'INTEGER',_0x446869(0x20c),_0x446869(0x2d3)][_0x446869(0x1d3)](_0x39ae00)||[_0x446869(0x332),_0x446869(0x270),_0x446869(0x3e3),_0x446869(0x39a),_0x446869(0x1ba)]['includes'](_0x39ae00))_0xa515d1[_0x446869(0x3cf)](_0x446869(0x1c1),_0x446869(0x1da),_0x446869(0x3fc),_0x446869(0x3cc),_0x446869(0x338),_0x446869(0x2b2),_0x446869(0x27b));else{if(['STRING',_0x446869(0x25c),'VARCHAR']['includes'](_0x39ae00)||[_0x446869(0x260),_0x446869(0x1f2)][_0x446869(0x1d3)](_0x39ae00))_0xa515d1['push']('$eq',_0x446869(0x1da),'$in',_0x446869(0x3a6),_0x446869(0x33f),_0x446869(0x370));else{if([_0x446869(0x2e8),'DATETIME',_0x446869(0x30c)][_0x446869(0x1d3)](_0x39ae00)||['TIME'][_0x446869(0x1d3)](_0x39ae00))_0xa515d1[_0x446869(0x3cf)](_0x446869(0x1c1),_0x446869(0x1da),_0x446869(0x3fc),'$lte',_0x446869(0x338),_0x446869(0x2b2));else['BOOLEAN','BOOL',_0x446869(0x22f)]['includes'](_0x39ae00)?_0xa515d1[_0x446869(0x3cf)](_0x446869(0x1c1),_0x446869(0x1da)):_0xa515d1['push']('$eq',_0x446869(0x1da));}}return _0xa515d1;}['selectBestOperator'](_0x4c54ac,_0x17dc69){const _0x2f6b4d=a0_0x3a67c7,_0x5bde24=_0x4c54ac[_0x2f6b4d(0x3a8)]();if([_0x2f6b4d(0x2de),_0x2f6b4d(0x427),_0x2f6b4d(0x20c),_0x2f6b4d(0x2d3)][_0x2f6b4d(0x1d3)](_0x5bde24)||['INT',_0x2f6b4d(0x270),_0x2f6b4d(0x3e3),_0x2f6b4d(0x39a),_0x2f6b4d(0x1ba)][_0x2f6b4d(0x1d3)](_0x5bde24))return _0x17dc69[_0x2f6b4d(0x1d3)]('$gte')?_0x2f6b4d(0x3fc):_0x2f6b4d(0x1c1);if(['STRING','TEXT','VARCHAR']['includes'](_0x5bde24)||[_0x2f6b4d(0x260),_0x2f6b4d(0x1f2)][_0x2f6b4d(0x1d3)](_0x5bde24))return _0x17dc69[_0x2f6b4d(0x1d3)](_0x2f6b4d(0x3a6))?_0x2f6b4d(0x3a6):'$eq';if([_0x2f6b4d(0x2e8),_0x2f6b4d(0x241),_0x2f6b4d(0x30c),_0x2f6b4d(0x3a5)]['includes'](_0x5bde24))return _0x17dc69[_0x2f6b4d(0x1d3)]('$gte')?_0x2f6b4d(0x3fc):_0x2f6b4d(0x1c1);return _0x2f6b4d(0x1c1);}[a0_0x3a67c7(0x3df)](_0x3b0567,_0x1c62e3){const _0x53a993=a0_0x3a67c7,_0xb10b46=_0x3b0567['getDbTypeForOperation'](),_0x13a629=_0x3b0567['getEnumOptions']();if(_0x13a629&&_0x13a629[_0x53a993(0x31c)]>0x0){if(_0x1c62e3===_0x53a993(0x27b))return _0x13a629[_0x53a993(0x3ec)](0x0,0x2)[_0x53a993(0x295)](_0x35625f=>_0x35625f['value']);return _0x13a629[0x0][_0x53a993(0x1a1)];}if([_0x53a993(0x2de),_0x53a993(0x427),_0x53a993(0x20c),_0x53a993(0x2d3)][_0x53a993(0x1d3)](_0xb10b46)||['INT',_0x53a993(0x270),_0x53a993(0x3e3),_0x53a993(0x39a),'FLOAT']['includes'](_0xb10b46)){if(_0x1c62e3===_0x53a993(0x27b))return[0x1,0x2,0x3];if(_0x1c62e3===_0x53a993(0x3fc)||_0x1c62e3===_0x53a993(0x338))return 0x0;if(_0x1c62e3==='$lte'||_0x1c62e3===_0x53a993(0x2b2))return 0x64;return 0x1;}if([_0x53a993(0x3f6),_0x53a993(0x25c),'VARCHAR']['includes'](_0xb10b46)||[_0x53a993(0x260),_0x53a993(0x1f2)][_0x53a993(0x1d3)](_0xb10b46)){if(_0x1c62e3===_0x53a993(0x27b))return[_0x53a993(0x31f),_0x53a993(0x423)];if(_0x1c62e3===_0x53a993(0x3a6))return _0x53a993(0x2a3);if(_0x1c62e3===_0x53a993(0x33f))return'prefix';if(_0x1c62e3===_0x53a993(0x370))return _0x53a993(0x3fd);return _0x53a993(0x1a1);}if(['DATE','DATETIME',_0x53a993(0x30c),'TIME'][_0x53a993(0x1d3)](_0xb10b46)){if(_0x1c62e3===_0x53a993(0x3fc)||_0x1c62e3===_0x53a993(0x338))return _0x53a993(0x2bb);if(_0x1c62e3===_0x53a993(0x3cc)||_0x1c62e3===_0x53a993(0x2b2))return'2024-12-31';return _0x53a993(0x2bb);}if([_0x53a993(0x1d2),'BOOL',_0x53a993(0x22f)][_0x53a993(0x1d3)](_0xb10b46))return!![];return _0x1c62e3===_0x53a993(0x27b)?[_0x53a993(0x31f),_0x53a993(0x423)]:'value';}[a0_0x3a67c7(0x411)](){const _0x58a9a5=a0_0x3a67c7,_0xfac085=this[_0x58a9a5(0x2a9)](),_0xea3aca=Object['entries'](_0xfac085)['filter'](([_0x46f8b6])=>_0x46f8b6!=='currentPage'&&_0x46f8b6!==_0x58a9a5(0x35a))[_0x58a9a5(0x295)](([_0x39c413,_0x3cbebc])=>{const _0x2af514=_0x58a9a5,_0x23eca3=_0x3cbebc,_0x3630d1={};return _0x3630d1['name']=_0x39c413,_0x3630d1[_0x2af514(0x1c4)]=_0x23eca3[_0x2af514(0x1c4)]||'String',_0x3630d1[_0x2af514(0x266)]=_0x23eca3[_0x2af514(0x266)]||'-',_0x3630d1['required']=_0x23eca3[_0x2af514(0x3fe)],_0x3630d1;}),_0x582ae1={};return _0x582ae1[_0x58a9a5(0x266)]=_0x58a9a5(0x393),_0x582ae1[_0x58a9a5(0x2f8)]=_0xea3aca,_0x582ae1;}[a0_0x3a67c7(0x35f)](){const _0x162702=a0_0x3a67c7,_0x2ac7ad=this[_0x162702(0x203)]()['aggregate'],_0x19c9fb=[{}],_0x149c56=[];_0x2ac7ad?.[_0x162702(0x40a)](_0x11f2f4=>{const _0x1748c4=_0x162702,_0x28c858={};_0x28c858[_0x1748c4(0x192)]=_0x11f2f4[_0x1748c4(0x30a)],_0x28c858[_0x1748c4(0x3b1)]=_0x11f2f4[_0x1748c4(0x30a)],_0x149c56[_0x1748c4(0x3cf)](_0x28c858),_0x19c9fb[0x0][_0x11f2f4['alias']]=_0x11f2f4[_0x1748c4(0x1c4)]===_0x1748c4(0x248)?0x64:Math['round'](Math[_0x1748c4(0x19c)]()*0x64*0x64)/0x64;});const _0x52c860={};_0x52c860['pageSize']=0x1,_0x52c860['totalCount']=0x64,_0x52c860[_0x162702(0x3fa)]=0x1;const _0x3c9dc6={};_0x3c9dc6[_0x162702(0x28a)]=_0x52c860,_0x3c9dc6[_0x162702(0x346)]=_0x19c9fb,_0x3c9dc6['tableColumns']=_0x149c56;const _0x353f57={};return _0x353f57[_0x162702(0x28c)]=!![],_0x353f57[_0x162702(0x275)]='',_0x353f57[_0x162702(0x388)]='',_0x353f57[_0x162702(0x36a)]=_0x162702(0x402),_0x353f57['data']=_0x3c9dc6,_0x353f57[_0x162702(0x2f8)]=null,_0x353f57;}}class OperationFactory{[a0_0x3a67c7(0x2d8)](_0x227749,_0x1d9613,_0x34ba3a){const _0x1e05d2=a0_0x3a67c7;switch(_0x227749){case'getSelectOptions':return new GetSelectOptionsOperation(_0x227749,_0x1d9613,_0x34ba3a);case _0x1e05d2(0x352):return new GetListOperation(_0x227749,_0x1d9613,_0x34ba3a);case'filter':return new FilterOperation(_0x227749,_0x1d9613,_0x34ba3a);case _0x1e05d2(0x356):return new ExcelExportOperation(_0x227749,_0x1d9613,_0x34ba3a);case'update':return new UpdateOperation(_0x227749,_0x1d9613,_0x34ba3a);case _0x1e05d2(0x235):return new AggregateOperation(_0x227749,_0x1d9613,_0x34ba3a);default:return new GenericOperation(_0x227749,_0x1d9613,_0x34ba3a);}}['createAll'](_0x3b893a,_0x1eb523){const _0xc267d8=a0_0x3a67c7,_0x4276ee=new Map();return Object[_0xc267d8(0x240)](_0x3b893a)[_0xc267d8(0x40a)](([_0x2de47b,_0x16c38c])=>{const _0xcc8320=_0xc267d8;_0x4276ee[_0xcc8320(0x415)](_0x2de47b,this[_0xcc8320(0x2d8)](_0x2de47b,_0x16c38c,_0x1eb523));}),_0x4276ee;}}class OperationList{[a0_0x3a67c7(0x41d)];constructor(_0x3df752,_0x51bf18){const _0x49d5d6=a0_0x3a67c7,_0xf10898=new OperationFactory();this[_0x49d5d6(0x41d)]=_0xf10898[_0x49d5d6(0x29b)](_0x3df752,_0x51bf18);}[a0_0x3a67c7(0x341)](_0x3ea58c){const _0x26ea94=a0_0x3a67c7;return this[_0x26ea94(0x41d)][_0x26ea94(0x341)](_0x3ea58c);}[a0_0x3a67c7(0x208)](_0x688bc3){const _0x120df3=a0_0x3a67c7;return this['_operations'][_0x120df3(0x208)](_0x688bc3);}[a0_0x3a67c7(0x31e)](){const _0xd92f14=a0_0x3a67c7;return this['_operations'][_0xd92f14(0x31e)];}[a0_0x3a67c7(0x424)](){const _0x463b3f=a0_0x3a67c7;return Array['from'](this[_0x463b3f(0x41d)][_0x463b3f(0x289)]());}[a0_0x3a67c7(0x199)](){const _0x154094=a0_0x3a67c7,_0x4d68e5=Array[_0x154094(0x263)](this[_0x154094(0x41d)][_0x154094(0x348)]());return this['sortOperationsWithFilterFirst'](_0x4d68e5);}[a0_0x3a67c7(0x2e2)](){const _0x3616e1=a0_0x3a67c7;return this[_0x3616e1(0x199)]()[_0x3616e1(0x1b6)](_0xf3ef64=>_0xf3ef64[_0x3616e1(0x3c5)]());}[a0_0x3a67c7(0x3cd)](){const _0x3253a2=a0_0x3a67c7;return this[_0x3253a2(0x199)]()[_0x3253a2(0x1b6)](_0x4d6b54=>!_0x4d6b54['isEnabled']());}[a0_0x3a67c7(0x353)](){const _0xcc25e8=a0_0x3a67c7;return this['getEnabled']()[_0xcc25e8(0x295)](_0x41a058=>_0x41a058['getName']());}[a0_0x3a67c7(0x340)](){const _0x401e8e=a0_0x3a67c7;return this[_0x401e8e(0x3cd)]()['map'](_0x426942=>_0x426942[_0x401e8e(0x1d8)]());}[a0_0x3a67c7(0x395)](_0x28a609){const _0xe2ec7c=a0_0x3a67c7;return this['toArray']()['filter'](_0x54bc5d=>_0x54bc5d[_0xe2ec7c(0x321)]()===_0x28a609);}[a0_0x3a67c7(0x1b6)](_0x159c54){const _0x44525c=a0_0x3a67c7;return this[_0x44525c(0x199)]()['filter'](_0x159c54);}['getFiltered'](_0x2720d8={}){const _0x2318d9=a0_0x3a67c7;let _0x280abf=this['toArray']();!_0x2720d8[_0x2318d9(0x1bf)]&&(_0x280abf=_0x280abf[_0x2318d9(0x1b6)](_0x52f176=>_0x52f176[_0x2318d9(0x3c5)]()));if(_0x2720d8[_0x2318d9(0x1f3)]!==![]){const _0x67db48=_0x280abf[_0x2318d9(0x295)](_0x37ad88=>({'name':_0x37ad88[_0x2318d9(0x1d8)](),'operation':_0x37ad88})),_0x202ccd=filterApiOperations(_0x67db48);_0x280abf=_0x202ccd[_0x2318d9(0x295)](_0x1dc104=>_0x1dc104[_0x2318d9(0x2ba)]),_0x280abf=this[_0x2318d9(0x335)](_0x280abf);}return _0x2720d8['customFilter']&&(_0x280abf=_0x280abf[_0x2318d9(0x1b6)](_0x2720d8[_0x2318d9(0x1e6)])),_0x280abf;}[a0_0x3a67c7(0x335)](_0x3e31a3){const _0x3406ed=a0_0x3a67c7,_0x389442=_0x3e31a3[_0x3406ed(0x323)](_0xbbae30=>_0xbbae30['getName']()===_0x3406ed(0x1b6)),_0x35739c=_0x3e31a3[_0x3406ed(0x1b6)](_0x4aa37e=>_0x4aa37e[_0x3406ed(0x1d8)]()!==_0x3406ed(0x1b6));return _0x389442?[_0x389442,..._0x35739c]:_0x35739c;}[a0_0x3a67c7(0x1ad)](){const _0x10e2d0=a0_0x3a67c7,_0x2e01e5=this[_0x10e2d0(0x2e2)]();return{'total':this['size'](),'enabled':_0x2e01e5[_0x10e2d0(0x31c)],'disabled':this[_0x10e2d0(0x31e)]()-_0x2e01e5[_0x10e2d0(0x31c)],'byType':this[_0x10e2d0(0x309)](_0x2e01e5),'byMethod':this[_0x10e2d0(0x1f1)](_0x2e01e5)};}[a0_0x3a67c7(0x309)](_0x5f07fd){const _0x3dcf4b={};return _0x5f07fd['forEach'](_0x1f1e4f=>{const _0x1cdf69=a0_0x1599,_0x4d7f8f=_0x1f1e4f[_0x1cdf69(0x321)]();_0x4d7f8f&&(_0x3dcf4b[_0x4d7f8f]=(_0x3dcf4b[_0x4d7f8f]||0x0)+0x1);}),_0x3dcf4b;}[a0_0x3a67c7(0x1f1)](_0x541bfa){const _0x19e18f=a0_0x3a67c7,_0x18ae07={};return _0x541bfa[_0x19e18f(0x40a)](_0x31af64=>{const _0x15577a=_0x19e18f,_0x4e3b2d=_0x31af64[_0x15577a(0x3dc)]();_0x4e3b2d&&(_0x18ae07[_0x4e3b2d]=(_0x18ae07[_0x4e3b2d]||0x0)+0x1);}),_0x18ae07;}[Symbol['iterator']](){const _0x28b059=a0_0x3a67c7;return this[_0x28b059(0x41d)][_0x28b059(0x348)]();}['toString'](){const _0x1e804a=a0_0x3a67c7,_0x5d911d=this[_0x1e804a(0x1ad)]();return _0x1e804a(0x3b2)+_0x5d911d[_0x1e804a(0x3e4)]+'/'+_0x5d911d[_0x1e804a(0x19a)]+_0x1e804a(0x1d9);}}class DBConfig{[a0_0x3a67c7(0x339)];[a0_0x3a67c7(0x250)];[a0_0x3a67c7(0x23f)];[a0_0x3a67c7(0x296)];[a0_0x3a67c7(0x421)];[a0_0x3a67c7(0x1a3)];[a0_0x3a67c7(0x36b)];['pkField'];[a0_0x3a67c7(0x387)];[a0_0x3a67c7(0x31a)];constructor(_0x3883e4,_0x10bb21){const _0x135c6c=a0_0x3a67c7;this[_0x135c6c(0x339)]=_0x10bb21,this[_0x135c6c(0x250)]=_0x3883e4[_0x135c6c(0x250)],this[_0x135c6c(0x23f)]=_0x3883e4[_0x135c6c(0x23f)],this['dbType']=_0x3883e4[_0x135c6c(0x296)],this[_0x135c6c(0x421)]=_0x3883e4[_0x135c6c(0x421)],this[_0x135c6c(0x1a3)]=_0x3883e4[_0x135c6c(0x1a3)],this[_0x135c6c(0x36b)]=_0x3883e4[_0x135c6c(0x36b)],this[_0x135c6c(0x1ea)]=_0x3883e4[_0x135c6c(0x1ea)],this[_0x135c6c(0x387)]=_0x3883e4['tenantCode'],this[_0x135c6c(0x31a)]=_0x3883e4['appCode'];}[a0_0x3a67c7(0x1de)](){return this['raw'];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x3a67c7(0x3a1)];[a0_0x3a67c7(0x26d)];[a0_0x3a67c7(0x35c)];constructor(_0xa6319c){const _0x2cea1e=a0_0x3a67c7,_0x5c3d71={..._0xa6319c};_0x5c3d71['id']=_0xa6319c['modelId']||_0xa6319c['id'],_0x5c3d71['datasetCode']=_0xa6319c[_0x2cea1e(0x27e)]||_0xa6319c[_0x2cea1e(0x2f6)]||_0xa6319c[_0x2cea1e(0x2f0)],super(_0x5c3d71);}[a0_0x3a67c7(0x219)](){return;}['getRelations'](){return[];}['getIndexes'](){return[];}get[a0_0x3a67c7(0x2d6)](){const _0xa74e25=a0_0x3a67c7;return this[_0xa74e25(0x22c)]();}[a0_0x3a67c7(0x257)](){if(!this['_fieldList'])throw new Error('getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass');return this['_fieldList'];}[a0_0x3a67c7(0x308)](){const _0x9200fa=a0_0x3a67c7;if(!this[_0x9200fa(0x35c)])throw new Error(_0x9200fa(0x2a4));return this[_0x9200fa(0x35c)];}['getFields'](){return[];}['getFieldsWithDeleted'](){const _0x4e6f9a=a0_0x3a67c7,_0x56d363=this[_0x4e6f9a(0x19f)]();return _0x56d363[_0x4e6f9a(0x389)];}['getFieldCount'](){const _0x595610=a0_0x3a67c7;return this[_0x595610(0x1d4)]()[_0x595610(0x31c)];}[a0_0x3a67c7(0x3d2)](_0x493c07){const _0x3317a9=a0_0x3a67c7,_0x2087ce=this[_0x3317a9(0x1d5)](_0x493c07);return _0x2087ce?_0x2087ce[_0x3317a9(0x339)]:undefined;}[a0_0x3a67c7(0x21e)](_0x401203){return;}['parseFieldExtend'](_0x54bb60){const _0x148cde=a0_0x3a67c7;if(!_0x54bb60||typeof _0x54bb60!==_0x148cde(0x3ab))return!![]&&console[_0x148cde(0x3dd)](_0x148cde(0x283),_0x54bb60),{};if(_0x148cde(0x1ea)in _0x54bb60){const _0xce239b=_0x54bb60;return{'primaryKey':typeof _0xce239b[_0x148cde(0x1ea)]==='boolean'?_0xce239b['pkField']:Boolean(_0xce239b[_0x148cde(0x1ea)]),'required':_0xce239b[_0x148cde(0x3fe)],'systemRetain':Boolean(_0xce239b[_0x148cde(0x23c)]),'autoIncrement':_0xce239b[_0x148cde(0x3c6)]??undefined};}if(!('extend'in _0x54bb60)||!_0x54bb60[_0x148cde(0x343)])return{};try{const _0x57ddf2=typeof _0x54bb60[_0x148cde(0x343)]===_0x148cde(0x400)?JSON['parse'](_0x54bb60[_0x148cde(0x343)]):_0x54bb60['extend'];if(typeof _0x57ddf2!=='object'||_0x57ddf2===null)return{};return _0x57ddf2;}catch{return{};}}['getOperationList'](){const _0x2162c2=a0_0x3a67c7;if(!this[_0x2162c2(0x3a1)]){const _0x169eda=this[_0x2162c2(0x2ac)](this[_0x2162c2(0x37d)]()||{});this[_0x2162c2(0x3a1)]=new OperationList(_0x169eda,{'fields':this[_0x2162c2(0x257)]()['all'](),'pkField':this[_0x2162c2(0x2eb)][_0x2162c2(0x245)]?.[_0x2162c2(0x1ea)],'dbtableConfig':this[_0x2162c2(0x2eb)][_0x2162c2(0x245)]||null});}return this[_0x2162c2(0x3a1)];}[a0_0x3a67c7(0x2ac)](_0x5343bb){const _0x53ba24=a0_0x3a67c7;if(_0x5343bb[_0x53ba24(0x1b6)]!==undefined)return _0x5343bb;return{..._0x5343bb,'filter':this[_0x53ba24(0x1ae)]()};}[a0_0x3a67c7(0x1ae)](){const _0x3b0f63=a0_0x3a67c7,_0x41b032=this[_0x3b0f63(0x37d)]()?.[_0x3b0f63(0x352)];let _0x2dd6fd=_0x41b032?.['host'],_0x52518d='';if(!_0x2dd6fd&&this[_0x3b0f63(0x37d)]()){const _0x1b38bc=Object[_0x3b0f63(0x348)](this[_0x3b0f63(0x37d)]());for(const _0x2fc12b of _0x1b38bc){if(_0x2fc12b&&typeof _0x2fc12b===_0x3b0f63(0x3ab)&&'host'in _0x2fc12b){_0x2dd6fd=_0x2fc12b[_0x3b0f63(0x202)];break;}}}if(_0x41b032?.[_0x3b0f63(0x38c)]){const _0x42e34a=_0x41b032[_0x3b0f63(0x38c)],_0x4a21b0=_0x42e34a[_0x3b0f63(0x431)]('/');_0x4a21b0!==-0x1&&(_0x52518d=_0x42e34a['substring'](0x0,_0x4a21b0));}const _0x4c2cdc={};_0x4c2cdc[_0x3b0f63(0x18e)]='where',_0x4c2cdc[_0x3b0f63(0x1c4)]=_0x3b0f63(0x3ab),_0x4c2cdc['required']=![];const _0x2952cf={};_0x2952cf['name']=_0x3b0f63(0x1e8),_0x2952cf[_0x3b0f63(0x1c4)]=_0x3b0f63(0x213),_0x2952cf[_0x3b0f63(0x3fe)]=![];const _0x286ca3={};_0x286ca3[_0x3b0f63(0x18e)]=_0x3b0f63(0x236),_0x286ca3['type']=_0x3b0f63(0x213),_0x286ca3[_0x3b0f63(0x3fe)]=![];const _0x1383fc={};_0x1383fc['name']='currentPage',_0x1383fc[_0x3b0f63(0x1c4)]='number',_0x1383fc[_0x3b0f63(0x3fe)]=![],_0x1383fc['default']=0x1;const _0x5ae93c={};_0x5ae93c[_0x3b0f63(0x18e)]=_0x3b0f63(0x35a),_0x5ae93c[_0x3b0f63(0x1c4)]='number',_0x5ae93c[_0x3b0f63(0x3fe)]=![],_0x5ae93c['default']=0xa;const _0x4b2212={};return _0x4b2212[_0x3b0f63(0x18e)]=_0x3b0f63(0x1b6),_0x4b2212['type']=_0x3b0f63(0x269),_0x4b2212['description']=_0x3b0f63(0x32d),_0x4b2212[_0x3b0f63(0x291)]=_0x3b0f63(0x404),_0x4b2212[_0x3b0f63(0x202)]=_0x2dd6fd,_0x4b2212[_0x3b0f63(0x38c)]=_0x52518d?_0x52518d+_0x3b0f63(0x23e):_0x3b0f63(0x23e),_0x4b2212[_0x3b0f63(0x2f8)]=_0x41b032?.[_0x3b0f63(0x2f8)]||[_0x4c2cdc,_0x2952cf,_0x286ca3,_0x1383fc,_0x5ae93c],_0x4b2212[_0x3b0f63(0x42b)]=!![],_0x4b2212;}['getOperations'](){const _0x32099d=a0_0x3a67c7;return this[_0x32099d(0x42c)]()['toArray']();}['getOperationCount'](){const _0x3d460b=a0_0x3a67c7;return this[_0x3d460b(0x42c)]()['size']();}['getOperation'](_0x5a2a8b){const _0xad023b=a0_0x3a67c7;if(typeof _0x5a2a8b!==_0xad023b(0x400)){!![]&&console[_0xad023b(0x3dd)](_0xad023b(0x319),_0x5a2a8b);return;}return this['getOperationList']()[_0xad023b(0x341)](_0x5a2a8b);}[a0_0x3a67c7(0x2c9)](_0x2bf851){const _0x2a7c0e=a0_0x3a67c7;if(typeof _0x2bf851!==_0x2a7c0e(0x400))return![];return this[_0x2a7c0e(0x42c)]()[_0x2a7c0e(0x208)](_0x2bf851);}[a0_0x3a67c7(0x22a)](_0x7a2623){const _0x5c6bf5=a0_0x3a67c7;if(typeof _0x7a2623!==_0x5c6bf5(0x400))return![];const _0x487b2e=this[_0x5c6bf5(0x3ef)](_0x7a2623);return _0x487b2e?.[_0x5c6bf5(0x3c5)]()||![];}[a0_0x3a67c7(0x34b)](){const _0x47bae8=a0_0x3a67c7;return this[_0x47bae8(0x42c)]()['getEnabledNames']();}[a0_0x3a67c7(0x307)](){const _0x3fe852=a0_0x3a67c7;return this[_0x3fe852(0x42c)]()[_0x3fe852(0x340)]();}['getEnabledOperationInstances'](){const _0x1d7b9b=a0_0x3a67c7;return this['getOperationList']()[_0x1d7b9b(0x2e2)]();}['getDisabledOperationInstances'](){const _0x1fdeb5=a0_0x3a67c7;return this[_0x1fdeb5(0x42c)]()[_0x1fdeb5(0x3cd)]();}['getFilteredOperations'](_0x186d62={}){const _0x2dfffd=a0_0x3a67c7;return this[_0x2dfffd(0x42c)]()['getFiltered'](_0x186d62);}[a0_0x3a67c7(0x1ad)](){const _0x5b0ea9=a0_0x3a67c7;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this[_0x5b0ea9(0x1fc)]()[_0x5b0ea9(0x31c)],'businessFieldCount':this[_0x5b0ea9(0x30e)]()[_0x5b0ea9(0x31c)],'requiredFieldCount':this[_0x5b0ea9(0x2b3)]()[_0x5b0ea9(0x31c)],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this[_0x5b0ea9(0x367)](),'enabledOperationCount':this[_0x5b0ea9(0x34b)]()['length']};}['getFieldCode'](_0x3ac927){const _0x1defb8=a0_0x3a67c7;if(!_0x3ac927||typeof _0x3ac927!==_0x1defb8(0x3ab))return'';if(_0x1defb8(0x2f0)in _0x3ac927&&typeof _0x3ac927[_0x1defb8(0x2f0)]===_0x1defb8(0x400))return _0x3ac927[_0x1defb8(0x2f0)];if('name'in _0x3ac927&&typeof _0x3ac927[_0x1defb8(0x18e)]===_0x1defb8(0x400))return _0x3ac927['name'];return'';}[a0_0x3a67c7(0x29c)](_0x237b68){const _0x2ba1f9=a0_0x3a67c7;return this[_0x2ba1f9(0x257)]()[_0x2ba1f9(0x208)](_0x237b68);}[a0_0x3a67c7(0x325)](_0x55f02a){const _0x11c090=a0_0x3a67c7;if(!_0x55f02a||typeof _0x55f02a!==_0x11c090(0x3ab))return![];const _0x40ba5b=this['getFieldCode'](_0x55f02a),_0xcbd32=this[_0x11c090(0x1d5)](_0x40ba5b);return _0xcbd32?_0xcbd32[_0x11c090(0x32e)]():![];}[a0_0x3a67c7(0x412)](_0x41a43e){const _0x2e5f66=a0_0x3a67c7;if(!_0x41a43e||typeof _0x41a43e!==_0x2e5f66(0x3ab))return![];const _0x167c03=this[_0x2e5f66(0x252)](_0x41a43e),_0x25aa06=this[_0x2e5f66(0x1d5)](_0x167c03);return _0x25aa06?_0x25aa06[_0x2e5f66(0x229)]():![];}[a0_0x3a67c7(0x41f)](_0x10a5b){const _0x5ad16d=a0_0x3a67c7;if(!_0x10a5b||typeof _0x10a5b!==_0x5ad16d(0x3ab))return![];const _0x165d7d=this[_0x5ad16d(0x252)](_0x10a5b),_0xd392a1=this[_0x5ad16d(0x1d5)](_0x165d7d);return _0xd392a1?_0xd392a1[_0x5ad16d(0x409)]():![];}['isEnumField'](_0x4a9842){const _0x560478=a0_0x3a67c7;if(!_0x4a9842||typeof _0x4a9842!==_0x560478(0x3ab))return![];const _0x479a41=this['getFieldCode'](_0x4a9842),_0x4d43f8=this[_0x560478(0x1d5)](_0x479a41);return _0x4d43f8?_0x4d43f8[_0x560478(0x2af)]():![];}['isMultipleSelectField'](_0x123298){const _0x4ef07d=a0_0x3a67c7;if(!_0x123298||typeof _0x123298!==_0x4ef07d(0x3ab))return![];const _0x458ed4=this['getFieldCode'](_0x123298),_0xfb8e74=this[_0x4ef07d(0x1d5)](_0x458ed4);return _0xfb8e74?_0xfb8e74[_0x4ef07d(0x2fe)]():![];}[a0_0x3a67c7(0x350)](_0x41f232){const _0x447c11=a0_0x3a67c7;if(!_0x41f232||typeof _0x41f232!=='object')return[];const _0x3c9a93=this[_0x447c11(0x252)](_0x41f232),_0x354e96=this[_0x447c11(0x1d5)](_0x3c9a93);if(!_0x354e96||!_0x354e96[_0x447c11(0x2af)]())return[];return _0x354e96['getEnumOptions']()||[];}[a0_0x3a67c7(0x230)](_0x23a2b0){const _0x3d8862=a0_0x3a67c7;if(!_0x23a2b0||typeof _0x23a2b0!==_0x3d8862(0x3ab))return;const _0x54b9e4=this[_0x3d8862(0x252)](_0x23a2b0),_0x252591=this[_0x3d8862(0x1d5)](_0x54b9e4);if(!_0x252591||!_0x252591['isEnum']())return;return _0x252591['getSelectItemsSource']();}[a0_0x3a67c7(0x3da)](_0x4359ea){const _0x11e464=a0_0x3a67c7;if(!_0x4359ea||typeof _0x4359ea!==_0x11e464(0x3ab))return;const _0x3cf7c3=this[_0x11e464(0x252)](_0x4359ea),_0x4a22fb=this[_0x11e464(0x1d5)](_0x3cf7c3);if(!_0x4a22fb||!_0x4a22fb['isEnum']())return;return _0x4a22fb[_0x11e464(0x420)]();}[a0_0x3a67c7(0x2e9)](){const _0x3f9537=a0_0x3a67c7;return this[_0x3f9537(0x257)]()['getPrimaryKeys']()[_0x3f9537(0x295)](_0x519912=>_0x519912['raw']);}['getSystemFields'](){const _0x3e873f=a0_0x3a67c7;return this['getFieldList']()['getSystem']()['map'](_0x2085d0=>_0x2085d0[_0x3e873f(0x339)]);}[a0_0x3a67c7(0x30e)](){const _0xd8f674=a0_0x3a67c7;return this[_0xd8f674(0x257)]()['getBusiness']()[_0xd8f674(0x295)](_0xb4e57d=>_0xb4e57d['raw']);}[a0_0x3a67c7(0x2b3)](){const _0x559585=a0_0x3a67c7;return this[_0x559585(0x257)]()[_0x559585(0x20a)]()['map'](_0x42ae8b=>_0x42ae8b['raw']);}[a0_0x3a67c7(0x3f1)](){const _0x1c2a57=a0_0x3a67c7,_0x43030f=this[_0x1c2a57(0x257)]()[_0x1c2a57(0x337)](),_0x29e294={};for(const [_0x4fd567,_0x59ae68]of Object[_0x1c2a57(0x240)](_0x43030f)){_0x29e294[_0x4fd567]=_0x59ae68[_0x1c2a57(0x295)](_0x2c6a44=>_0x2c6a44[_0x1c2a57(0x339)]);}return _0x29e294;}[a0_0x3a67c7(0x37b)](){const _0xc5a222=a0_0x3a67c7;return this[_0xc5a222(0x257)]()[_0xc5a222(0x336)]()['map'](_0x3341de=>_0x3341de[_0xc5a222(0x339)]);}['getEnumFieldsMeta'](){const _0x5c4565=a0_0x3a67c7,_0x1e6285={};return this[_0x5c4565(0x37b)]()[_0x5c4565(0x40a)](_0x1c08a0=>{const _0x127603=_0x5c4565,_0x407849=this[_0x127603(0x3da)](_0x1c08a0);if(_0x407849){const _0x542de9=this[_0x127603(0x252)](_0x1c08a0);_0x1e6285[_0x542de9]=_0x407849;}}),_0x1e6285;}[a0_0x3a67c7(0x258)](_0x3d23a1,_0x1bbf1c){const _0x12163c=a0_0x3a67c7,_0x5f2379=this[_0x12163c(0x3da)](_0x3d23a1);if(!_0x5f2379)return!![];if(_0x5f2379[_0x12163c(0x38a)]&&!_0x5f2379[_0x12163c(0x422)])return!![];const _0x34dd66=this[_0x12163c(0x252)](_0x3d23a1),_0x46401c=this[_0x12163c(0x1d5)](_0x34dd66),_0x5e74eb=_0x46401c?_0x46401c[_0x12163c(0x2fe)]():![];if(_0x5e74eb&&Array[_0x12163c(0x205)](_0x1bbf1c))return _0x1bbf1c[_0x12163c(0x2c0)](_0x2ce1bc=>_0x5f2379[_0x12163c(0x348)][_0x12163c(0x1d3)](_0x2ce1bc));return _0x5f2379[_0x12163c(0x348)]['includes'](_0x1bbf1c);}['toListItem'](){const _0xd742b3=a0_0x3a67c7;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0xd742b3(0x1a2)]()});}[a0_0x3a67c7(0x31b)](){const _0x4b44c8=a0_0x3a67c7;return _0x4b44c8(0x26a)+this[_0x4b44c8(0x18e)]+',\x20'+this[_0x4b44c8(0x2f6)]+',\x20'+this[_0x4b44c8(0x1fd)]()+_0x4b44c8(0x1b4)+this[_0x4b44c8(0x367)]()+'\x20operations,\x20'+this[_0x4b44c8(0x406)]()+')';}['getFilterOperators'](){const _0x2b3df2=a0_0x3a67c7;return this[_0x2b3df2(0x330)]('filter');}[a0_0x3a67c7(0x2fd)](_0x2a8597){const _0x261662=a0_0x3a67c7;return this[_0x261662(0x375)]('filter',_0x2a8597);}['getFieldsFilterOperatorsMap'](){const _0xb6f6cc=a0_0x3a67c7;return this[_0xb6f6cc(0x1db)](_0xb6f6cc(0x1b6));}[a0_0x3a67c7(0x330)](_0x2b97fc){const _0x2bf787=a0_0x3a67c7,_0x5ba1be=this[_0x2bf787(0x3ef)](_0x2b97fc);return _0x5ba1be?_0x5ba1be[_0x2bf787(0x274)]():[];}[a0_0x3a67c7(0x375)](_0x5b1d32,_0x45769d){const _0x39e565=a0_0x3a67c7,_0x222f5b=this[_0x39e565(0x3ef)](_0x5b1d32);return _0x222f5b?_0x222f5b[_0x39e565(0x3c4)](_0x45769d):[];}[a0_0x3a67c7(0x1db)](_0x374d13){const _0x25e85a=a0_0x3a67c7,_0xbed95a={};return this[_0x25e85a(0x257)]()[_0x25e85a(0x40a)](_0x29cba8=>{const _0x1d9704=_0x25e85a,_0x2ff130=this[_0x1d9704(0x375)](_0x374d13,_0x29cba8['code']);_0x2ff130[_0x1d9704(0x31c)]>0x0&&(_0xbed95a[_0x29cba8[_0x1d9704(0x2f0)]]=_0x2ff130);}),_0xbed95a;}[a0_0x3a67c7(0x221)](_0x39ec4d,_0x4b2b75,_0x362aa0){const _0x39b2e0=a0_0x3a67c7,_0xa2d434=this[_0x39b2e0(0x375)](_0x39ec4d,_0x4b2b75);return _0xa2d434[_0x39b2e0(0x1d3)](_0x362aa0);}}class FieldBase{get[a0_0x3a67c7(0x296)](){return;}get[a0_0x3a67c7(0x3f3)](){return;}get[a0_0x3a67c7(0x1d1)](){return;}get[a0_0x3a67c7(0x222)](){return;}[a0_0x3a67c7(0x1cd)](){const _0x53fc5d=a0_0x3a67c7;return!this[_0x53fc5d(0x229)]();}[a0_0x3a67c7(0x2b0)](){const _0x342bd8=a0_0x3a67c7;return this[_0x342bd8(0x1a9)];}[a0_0x3a67c7(0x2af)](){const _0x7b18cc=a0_0x3a67c7,_0x5d3790=[_0x7b18cc(0x39d),_0x7b18cc(0x1dd),_0x7b18cc(0x21b)];return _0x5d3790[_0x7b18cc(0x1d3)](this[_0x7b18cc(0x1c4)]);}[a0_0x3a67c7(0x2fe)](){return this['type']==='CHECKBOX';}[a0_0x3a67c7(0x1b0)](){const _0x45ce02=a0_0x3a67c7,_0x312706=this[_0x45ce02(0x420)]();return _0x312706?.['values']||[];}[a0_0x3a67c7(0x420)](){const _0x16b32a=a0_0x3a67c7;if(!this[_0x16b32a(0x2af)]())return;const _0x3dcabf=this[_0x16b32a(0x419)](),_0x20b9eb=this['getSelectItemsSource'](),_0x3e472d=[],_0x3058a8={},_0x525c4c=_0x3207b5=>{_0x3207b5['forEach'](_0x479b34=>{const _0x54974a=a0_0x1599;if(!_0x479b34||typeof _0x479b34!==_0x54974a(0x3ab))return;_0x479b34['value']!==undefined&&_0x479b34[_0x54974a(0x1a1)]!==null&&(_0x3e472d['push'](_0x479b34[_0x54974a(0x1a1)]),_0x3058a8[String(_0x479b34[_0x54974a(0x1a1)])]=_0x479b34[_0x54974a(0x428)]||''),_0x479b34['children']&&Array[_0x54974a(0x205)](_0x479b34[_0x54974a(0x239)])&&_0x479b34[_0x54974a(0x239)][_0x54974a(0x31c)]>0x0&&_0x525c4c(_0x479b34['children']);});};return _0x3dcabf&&Array['isArray'](_0x3dcabf)&&_0x3dcabf[_0x16b32a(0x31c)]>0x0&&_0x525c4c(_0x3dcabf),{'code':this['code'],'name':this[_0x16b32a(0x18e)],'type':this[_0x16b32a(0x1c4)],'multiple':this[_0x16b32a(0x2fe)](),'options':_0x3dcabf,'selectItemsSource':_0x20b9eb,'values':_0x3e472d,'valueLabels':_0x3058a8};}get['enumValues'](){const _0x5044e1=a0_0x3a67c7;return this[_0x5044e1(0x1b0)]();}['toString'](){const _0x400893=a0_0x3a67c7;return _0x400893(0x1b1)+this['name']+',\x20'+this['code']+',\x20'+this[_0x400893(0x1c4)]+',\x20'+this[_0x400893(0x406)]()+')';}}class FieldV1 extends FieldBase{[a0_0x3a67c7(0x2eb)];[a0_0x3a67c7(0x201)]=null;constructor(_0x1490f2){const _0x523690=a0_0x3a67c7;super();if(!_0x1490f2||typeof _0x1490f2!==_0x523690(0x3ab))throw new Error('[Field]\x20Invalid\x20field\x20definition');this['_raw']=_0x1490f2;}['toFieldDefinition'](){const _0x2422f5=a0_0x3a67c7;return this[_0x2422f5(0x2eb)];}[a0_0x3a67c7(0x406)](){return'v1';}get[a0_0x3a67c7(0x339)](){const _0x137152=a0_0x3a67c7;return this[_0x137152(0x2eb)];}get[a0_0x3a67c7(0x18e)](){const _0x2eba45=a0_0x3a67c7;return this[_0x2eba45(0x2eb)][_0x2eba45(0x18e)]||'';}get['code'](){const _0x2463f4=a0_0x3a67c7;return this[_0x2463f4(0x2eb)]['code']||'';}get[a0_0x3a67c7(0x1c4)](){const _0x2e70e2=a0_0x3a67c7;return this[_0x2e70e2(0x2eb)][_0x2e70e2(0x1c4)]||'';}get[a0_0x3a67c7(0x266)](){const _0x410882=a0_0x3a67c7;return this[_0x410882(0x2eb)][_0x410882(0x266)]||'';}get[a0_0x3a67c7(0x1a9)](){const _0x30d0e3=a0_0x3a67c7;return Boolean(this[_0x30d0e3(0x2eb)]['deleted']);}get[a0_0x3a67c7(0x296)](){const _0x43b336=a0_0x3a67c7;return this[_0x43b336(0x2eb)][_0x43b336(0x296)];}get[a0_0x3a67c7(0x3f3)](){const _0x49a63a=a0_0x3a67c7;return this[_0x49a63a(0x2eb)]['dbTypeLen'];}get['displayName'](){const _0xfea47d=a0_0x3a67c7;return this[_0xfea47d(0x2eb)]['alias'];}get[a0_0x3a67c7(0x222)](){return;}get[a0_0x3a67c7(0x343)](){const _0x15744e=a0_0x3a67c7;if(this[_0x15744e(0x201)]!==null&&typeof this[_0x15744e(0x201)]===_0x15744e(0x3ab))return this[_0x15744e(0x201)];const _0xe3c3ed=this[_0x15744e(0x2eb)][_0x15744e(0x343)];if(!_0xe3c3ed||typeof _0xe3c3ed!=='string')return this[_0x15744e(0x201)]={},this[_0x15744e(0x201)];if(_0xe3c3ed==='null'||_0xe3c3ed[_0x15744e(0x3ba)]()===_0x15744e(0x3bf))return this['_extend']={},this['_extend'];try{const _0x3ccf51=JSON[_0x15744e(0x216)](_0xe3c3ed);return this[_0x15744e(0x201)]=_0x3ccf51!==null&&typeof _0x3ccf51==='object'&&!Array[_0x15744e(0x205)](_0x3ccf51)?_0x3ccf51:{},this[_0x15744e(0x201)];}catch(_0xf5c405){return!![]&&console[_0x15744e(0x3dd)]('[FieldV1.extend]\x20解析字段\x20'+this[_0x15744e(0x2f0)]+_0x15744e(0x302),_0xf5c405),this['_extend']={},this[_0x15744e(0x201)];}}[a0_0x3a67c7(0x409)](){const _0x4a6eb0=a0_0x3a67c7;return Boolean(this[_0x4a6eb0(0x343)]['required']);}[a0_0x3a67c7(0x32e)](){const _0x24b570=a0_0x3a67c7;return Boolean(this['extend'][_0x24b570(0x2f1)]||this[_0x24b570(0x343)][_0x24b570(0x1ea)]);}[a0_0x3a67c7(0x229)](){const _0x2c0a17=a0_0x3a67c7;return Boolean(this[_0x2c0a17(0x343)][_0x2c0a17(0x23c)]);}[a0_0x3a67c7(0x1af)](){return Boolean(this['extend']['autoIncrement']);}[a0_0x3a67c7(0x1ed)](){const _0xa871e4=a0_0x3a67c7;return Boolean(this[_0xa871e4(0x343)][_0xa871e4(0x1e4)]);}[a0_0x3a67c7(0x39c)](){const _0x2ab8df=a0_0x3a67c7;return Boolean(this[_0x2ab8df(0x343)][_0x2ab8df(0x364)]);}[a0_0x3a67c7(0x19e)](){const _0x1980dc=a0_0x3a67c7;return this[_0x1980dc(0x18e)];}[a0_0x3a67c7(0x1eb)](){const _0x52e7fa=a0_0x3a67c7;return this[_0x52e7fa(0x2f0)];}[a0_0x3a67c7(0x2af)](){const _0x3ca28c=a0_0x3a67c7,_0x1e6078=['RADIO',_0x3ca28c(0x1dd),_0x3ca28c(0x21b)];if(_0x1e6078[_0x3ca28c(0x1d3)](this[_0x3ca28c(0x1c4)]))return!![];const _0x4215ed=this[_0x3ca28c(0x343)];return Boolean(_0x4215ed[_0x3ca28c(0x422)]&&Array[_0x3ca28c(0x205)](_0x4215ed[_0x3ca28c(0x422)])&&_0x4215ed[_0x3ca28c(0x422)][_0x3ca28c(0x31c)]>0x0||_0x4215ed[_0x3ca28c(0x38a)]);}[a0_0x3a67c7(0x2fe)](){const _0x11894e=a0_0x3a67c7;if(this[_0x11894e(0x1c4)]===_0x11894e(0x21b))return!![];return Boolean(this[_0x11894e(0x343)][_0x11894e(0x1e0)]);}[a0_0x3a67c7(0x419)](){const _0x53013a=a0_0x3a67c7,_0x364fea=this['extend'];if(_0x364fea['options']&&Array['isArray'](_0x364fea['options']))return _0x364fea[_0x53013a(0x422)];return;}[a0_0x3a67c7(0x1b2)](){const _0x220d0c=a0_0x3a67c7,_0x590063=this[_0x220d0c(0x343)];if(_0x590063[_0x220d0c(0x38a)]&&typeof _0x590063[_0x220d0c(0x38a)]==='object')return _0x590063[_0x220d0c(0x38a)];return;}[a0_0x3a67c7(0x3a8)](){const _0x36b2bc=a0_0x3a67c7;return this['type'][_0x36b2bc(0x186)]();}[a0_0x3a67c7(0x294)](){const _0x78e271=a0_0x3a67c7;return this[_0x78e271(0x343)][_0x78e271(0x33e)];}[a0_0x3a67c7(0x347)](){const _0xa1cf5=a0_0x3a67c7;return this['extend'][_0xa1cf5(0x24b)];}[a0_0x3a67c7(0x41b)](){const _0x1a8a4e=a0_0x3a67c7;return{'name':this['name'],'code':this['code'],'type':this[_0x1a8a4e(0x1c4)],'dbType':this[_0x1a8a4e(0x296)],'dbTypeLen':this[_0x1a8a4e(0x3f3)],'description':this[_0x1a8a4e(0x266)],'required':this[_0x1a8a4e(0x409)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x1a8a4e(0x229)](),'autoIncrement':this[_0x1a8a4e(0x1af)](),'createTime':this[_0x1a8a4e(0x1ed)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x1a8a4e(0x2af)](),'enumMeta':this[_0x1a8a4e(0x2af)]()?this[_0x1a8a4e(0x420)]():undefined};}[a0_0x3a67c7(0x31b)](){const _0x4e128c=a0_0x3a67c7;return _0x4e128c(0x3ee)+this[_0x4e128c(0x18e)]+',\x20'+this[_0x4e128c(0x2f0)]+',\x20'+this[_0x4e128c(0x1c4)]+')';}}class FieldListBase{['_fields'];constructor(_0xb2ebe9,_0x37b5be){const _0x2fe144=a0_0x3a67c7,_0x50b52f=Array[_0x2fe144(0x205)](_0xb2ebe9)?_0xb2ebe9:[],_0x56d6d7=_0x37b5be?.[_0x2fe144(0x29d)]??![],_0x4b83f0=_0x56d6d7?_0x50b52f:_0x50b52f[_0x2fe144(0x1b6)](_0x2d8261=>{const _0x123f73=_0x2fe144;if(!_0x2d8261||typeof _0x2d8261!==_0x123f73(0x3ab))return![];const _0x2aea3b=_0x2d8261;return!_0x2aea3b['deleted'];});this[_0x2fe144(0x3bd)]=this['createFields'](_0x4b83f0);}get[a0_0x3a67c7(0x31c)](){const _0x212dd8=a0_0x3a67c7;return this[_0x212dd8(0x3bd)][_0x212dd8(0x31c)];}[a0_0x3a67c7(0x320)](){const _0x455a5f=a0_0x3a67c7;return[...this[_0x455a5f(0x3bd)]];}['at'](_0x45b661){const _0x167978=a0_0x3a67c7;return this[_0x167978(0x3bd)]['at'](_0x45b661);}[a0_0x3a67c7(0x323)](_0x1995a1){const _0x4f9398=a0_0x3a67c7;return this[_0x4f9398(0x3bd)]['find'](_0x418184=>_0x418184[_0x4f9398(0x2f0)]===_0x1995a1);}[a0_0x3a67c7(0x255)](_0x95d6de){const _0x5c3cae=a0_0x3a67c7;return this['_fields'][_0x5c3cae(0x323)](_0x23782a=>_0x23782a[_0x5c3cae(0x18e)]===_0x95d6de);}['has'](_0xb34173){const _0x3c50e0=a0_0x3a67c7;return this[_0x3c50e0(0x3bd)]['some'](_0x32d0ba=>_0x32d0ba[_0x3c50e0(0x2f0)]===_0xb34173);}[a0_0x3a67c7(0x40a)](_0x3dc549){const _0x510e0b=a0_0x3a67c7;this[_0x510e0b(0x3bd)][_0x510e0b(0x40a)](_0x3dc549);}[a0_0x3a67c7(0x295)](_0x275a34){const _0x1952af=a0_0x3a67c7;return this[_0x1952af(0x3bd)][_0x1952af(0x295)](_0x275a34);}[a0_0x3a67c7(0x1b6)](_0x10846e){const _0x3af847=a0_0x3a67c7;return this[_0x3af847(0x3bd)][_0x3af847(0x1b6)](_0x10846e);}[a0_0x3a67c7(0x2c0)](_0x4fc975){const _0x1c5940=a0_0x3a67c7;return this[_0x1c5940(0x3bd)][_0x1c5940(0x2c0)](_0x4fc975);}[a0_0x3a67c7(0x354)](_0x4aa8c3){const _0x2d1d1a=a0_0x3a67c7;return this[_0x2d1d1a(0x3bd)]['some'](_0x4aa8c3);}[a0_0x3a67c7(0x20a)](){const _0x1b8609=a0_0x3a67c7;return this[_0x1b8609(0x3bd)][_0x1b8609(0x1b6)](_0xb659e7=>_0xb659e7['isRequired']());}['getPrimaryKeys'](){const _0x28edbd=a0_0x3a67c7;return this['_fields'][_0x28edbd(0x1b6)](_0x1ad332=>_0x1ad332[_0x28edbd(0x32e)]());}[a0_0x3a67c7(0x3e2)](){const _0x3dd88a=a0_0x3a67c7;return this[_0x3dd88a(0x3bd)]['filter'](_0x15ae7e=>_0x15ae7e[_0x3dd88a(0x229)]());}['getBusiness'](){const _0x10f8d5=a0_0x3a67c7;return this['_fields'][_0x10f8d5(0x1b6)](_0x475fcc=>_0x475fcc[_0x10f8d5(0x1cd)]());}['getEnum'](){const _0x316dde=a0_0x3a67c7;return this[_0x316dde(0x3bd)][_0x316dde(0x1b6)](_0x3ca688=>_0x3ca688[_0x316dde(0x2af)]());}['getAutoIncrement'](){const _0x41207e=a0_0x3a67c7;return this[_0x41207e(0x3bd)][_0x41207e(0x1b6)](_0x485b01=>_0x485b01['isAutoIncrement']());}[a0_0x3a67c7(0x33a)](){const _0x5248ec=a0_0x3a67c7;return this[_0x5248ec(0x3bd)][_0x5248ec(0x1b6)](_0xc20976=>_0xc20976[_0x5248ec(0x1ed)]());}['getUpdateTime'](){const _0x16a43a=a0_0x3a67c7;return this[_0x16a43a(0x3bd)][_0x16a43a(0x1b6)](_0x18df73=>_0x18df73[_0x16a43a(0x39c)]());}[a0_0x3a67c7(0x23b)](){const _0x536f44=a0_0x3a67c7;return this[_0x536f44(0x3bd)]['filter'](_0x3504e7=>_0x3504e7[_0x536f44(0x2b0)]());}[a0_0x3a67c7(0x374)](){const _0x1984cd=a0_0x3a67c7;return this[_0x1984cd(0x3bd)][_0x1984cd(0x1b6)](_0x42c385=>!_0x42c385['isDeleted']());}[a0_0x3a67c7(0x337)](){const _0xad1ef=a0_0x3a67c7,_0xd74c3b={};return this[_0xad1ef(0x3bd)][_0xad1ef(0x40a)](_0x5a641d=>{const _0x148e4b=_0xad1ef,_0x4e09b4=_0x5a641d[_0x148e4b(0x1c4)];!_0xd74c3b[_0x4e09b4]&&(_0xd74c3b[_0x4e09b4]=[]),_0xd74c3b[_0x4e09b4][_0x148e4b(0x3cf)](_0x5a641d);}),_0xd74c3b;}[a0_0x3a67c7(0x3a0)](){const _0x4109e1=a0_0x3a67c7,_0x2dc19c={};return this[_0x4109e1(0x3bd)]['forEach'](_0x246500=>{const _0x3943d7=_0x4109e1;if(_0x246500[_0x3943d7(0x2af)]()){const _0x3186cc=_0x246500['getEnumMeta']();_0x3186cc&&(_0x2dc19c[_0x246500[_0x3943d7(0x2f0)]]=_0x3186cc);}}),_0x2dc19c;}[a0_0x3a67c7(0x1ad)](){const _0x58bd41=a0_0x3a67c7;return{'total':this[_0x58bd41(0x31c)],'required':this[_0x58bd41(0x20a)]()[_0x58bd41(0x31c)],'primaryKey':this[_0x58bd41(0x3b0)]()[_0x58bd41(0x31c)],'system':this[_0x58bd41(0x3e2)]()['length'],'business':this[_0x58bd41(0x33c)]()[_0x58bd41(0x31c)],'enum':this[_0x58bd41(0x336)]()[_0x58bd41(0x31c)],'autoIncrement':this['getAutoIncrement']()[_0x58bd41(0x31c)]};}[a0_0x3a67c7(0x1a8)](){const _0x259297=a0_0x3a67c7;return this[_0x259297(0x3bd)][_0x259297(0x295)](_0x33cd94=>_0x33cd94[_0x259297(0x2f0)]);}[a0_0x3a67c7(0x424)](){const _0x2d0865=a0_0x3a67c7;return this[_0x2d0865(0x3bd)][_0x2d0865(0x295)](_0x578dcf=>_0x578dcf[_0x2d0865(0x19e)]());}[a0_0x3a67c7(0x1a5)](){const _0x3c556a=a0_0x3a67c7;return this['_fields'][_0x3c556a(0x295)](_0x3930e7=>_0x3930e7[_0x3c556a(0x1eb)]());}['toJSON'](){const _0x108a9b=a0_0x3a67c7;return this['_fields'][_0x108a9b(0x295)](_0x13b481=>_0x13b481[_0x108a9b(0x41b)]());}[a0_0x3a67c7(0x31b)](){const _0x4c49f8=a0_0x3a67c7;return _0x4c49f8(0x34a)+this['length']+_0x4c49f8(0x3b8);}}class FieldListV1 extends FieldListBase{constructor(_0x117c31,_0xb78442){super(_0x117c31,_0xb78442);}[a0_0x3a67c7(0x3eb)](_0x3adcf7){const _0x43aafc=a0_0x3a67c7;return _0x3adcf7[_0x43aafc(0x295)](_0x9645b0=>new FieldV1(_0x9645b0));}[a0_0x3a67c7(0x320)](){const _0x7d15a7=a0_0x3a67c7;return[...this[_0x7d15a7(0x3bd)]];}['at'](_0x36a69a){return this['_fields']['at'](_0x36a69a);}['find'](_0x122f72){const _0x127729=a0_0x3a67c7;return this['_fields'][_0x127729(0x323)](_0x1f3c53=>_0x1f3c53[_0x127729(0x2f0)]===_0x122f72);}[a0_0x3a67c7(0x255)](_0x378e2a){const _0x5b2ad0=a0_0x3a67c7;return this[_0x5b2ad0(0x3bd)]['find'](_0x3c6def=>_0x3c6def[_0x5b2ad0(0x18e)]===_0x378e2a);}['filter'](_0x3dc339){return this['_fields']['filter'](_0x3dc339);}[a0_0x3a67c7(0x295)](_0x270b2b){const _0x55668f=a0_0x3a67c7;return this['_fields'][_0x55668f(0x295)](_0x270b2b);}[a0_0x3a67c7(0x20a)](){const _0x4bfb82=a0_0x3a67c7;return this[_0x4bfb82(0x3bd)]['filter'](_0x3c3e62=>_0x3c3e62[_0x4bfb82(0x409)]());}[a0_0x3a67c7(0x3b0)](){const _0xa4f2d4=a0_0x3a67c7;return this[_0xa4f2d4(0x3bd)][_0xa4f2d4(0x1b6)](_0xd9466f=>_0xd9466f['isPrimaryKey']());}[a0_0x3a67c7(0x3e2)](){const _0x5868b4=a0_0x3a67c7;return this[_0x5868b4(0x3bd)][_0x5868b4(0x1b6)](_0x3448f2=>_0x3448f2[_0x5868b4(0x229)]());}['getBusiness'](){const _0x2be10b=a0_0x3a67c7;return this[_0x2be10b(0x3bd)]['filter'](_0x5cd531=>_0x5cd531[_0x2be10b(0x1cd)]());}[a0_0x3a67c7(0x336)](){const _0x4b6315=a0_0x3a67c7;return this['_fields'][_0x4b6315(0x1b6)](_0x4b81a1=>_0x4b81a1[_0x4b6315(0x2af)]());}['groupByType'](){const _0x3ae57a=a0_0x3a67c7,_0x18eec6={};return this[_0x3ae57a(0x3bd)][_0x3ae57a(0x40a)](_0x1129e2=>{const _0x35702e=_0x3ae57a,_0x1e3e9e=_0x1129e2['type'];!_0x18eec6[_0x1e3e9e]&&(_0x18eec6[_0x1e3e9e]=[]),_0x18eec6[_0x1e3e9e][_0x35702e(0x3cf)](_0x1129e2);}),_0x18eec6;}['raw'](){const _0x19520d=a0_0x3a67c7;return this[_0x19520d(0x3bd)][_0x19520d(0x295)](_0x253aca=>_0x253aca['raw']);}static[a0_0x3a67c7(0x263)](_0x5a2ccb){const _0x33a0d9=a0_0x3a67c7,_0x1280fd=_0x5a2ccb[_0x33a0d9(0x295)](_0x355d5=>_0x355d5[_0x33a0d9(0x339)]);return new FieldListV1(_0x1280fd);}static[a0_0x3a67c7(0x3c2)](_0xf23aab){const _0x2cb16e=a0_0x3a67c7,_0x181985={};return _0x181985[_0x2cb16e(0x29d)]=!![],new FieldListV1(_0xf23aab,_0x181985);}}class FieldV2 extends FieldBase{[a0_0x3a67c7(0x2eb)];constructor(_0x5decee){const _0xf0ea95=a0_0x3a67c7;super();if(!_0x5decee||typeof _0x5decee!=='object')throw new Error(_0xf0ea95(0x28f));this[_0xf0ea95(0x2eb)]=_0x5decee;}[a0_0x3a67c7(0x406)](){return'v2';}get['raw'](){const _0xe45b0c=a0_0x3a67c7;return this[_0xe45b0c(0x2eb)];}get[a0_0x3a67c7(0x18e)](){return this['_raw']['name']||'';}get['code'](){const _0x2854c2=a0_0x3a67c7;return this['_raw'][_0x2854c2(0x18e)]||'';}get[a0_0x3a67c7(0x1d1)](){const _0x3776eb=a0_0x3a67c7;return this[_0x3776eb(0x2eb)][_0x3776eb(0x1d1)]||'';}get['type'](){const _0x1a4068=a0_0x3a67c7;if(this[_0x1a4068(0x2eb)][_0x1a4068(0x222)])return this[_0x1a4068(0x2eb)]['doType'];return this['mapDbTypeToType'](this[_0x1a4068(0x2eb)][_0x1a4068(0x296)]);}get[a0_0x3a67c7(0x266)](){const _0x1b4e75=a0_0x3a67c7;return this[_0x1b4e75(0x2eb)]['description']||'';}get[a0_0x3a67c7(0x1a9)](){const _0x2aa308=a0_0x3a67c7;return Boolean(this[_0x2aa308(0x2eb)][_0x2aa308(0x1a9)]);}[a0_0x3a67c7(0x409)](){const _0xfe88df=a0_0x3a67c7;return Boolean(this[_0xfe88df(0x2eb)][_0xfe88df(0x3fe)]);}[a0_0x3a67c7(0x32e)](){const _0x369a57=a0_0x3a67c7;return Boolean(this[_0x369a57(0x2eb)][_0x369a57(0x1ea)]);}['isSystem'](){const _0x3390a9=a0_0x3a67c7;return Boolean(this[_0x3390a9(0x2eb)][_0x3390a9(0x23c)]);}['isAutoIncrement'](){const _0x2ab2a5=a0_0x3a67c7;return Boolean(this[_0x2ab2a5(0x2eb)][_0x2ab2a5(0x3c6)]);}[a0_0x3a67c7(0x1ed)](){const _0x5e5c1c=a0_0x3a67c7;return this['_raw']['systemRetain']===_0x5e5c1c(0x1e4);}['isUpdateTime'](){const _0x59ddbd=a0_0x3a67c7;return this[_0x59ddbd(0x2eb)]['systemRetain']===_0x59ddbd(0x364);}[a0_0x3a67c7(0x19e)](){const _0x4e70bd=a0_0x3a67c7;return this[_0x4e70bd(0x2eb)]['displayName']||'';}[a0_0x3a67c7(0x1eb)](){const _0x18b493=a0_0x3a67c7;return this[_0x18b493(0x2eb)][_0x18b493(0x18e)]||'';}[a0_0x3a67c7(0x2af)](){const _0x5f3cf7=a0_0x3a67c7;return Boolean(this[_0x5f3cf7(0x2eb)][_0x5f3cf7(0x422)]&&Array[_0x5f3cf7(0x205)](this['_raw'][_0x5f3cf7(0x422)])&&this[_0x5f3cf7(0x2eb)]['options']['length']>0x0);}[a0_0x3a67c7(0x2fe)](){const _0x6677c8=a0_0x3a67c7,_0x2465c9=this[_0x6677c8(0x2eb)]['extend'];if(!_0x2465c9)return![];try{const _0x3fab50=JSON[_0x6677c8(0x216)](_0x2465c9);if(_0x3fab50&&typeof _0x3fab50===_0x6677c8(0x3ab)&&'multiple'in _0x3fab50)return Boolean(_0x3fab50['multiple']);}catch{}return![];}[a0_0x3a67c7(0x419)](){const _0x25d0b5=a0_0x3a67c7;if(this[_0x25d0b5(0x2eb)]['options']&&Array[_0x25d0b5(0x205)](this[_0x25d0b5(0x2eb)][_0x25d0b5(0x422)]))return this[_0x25d0b5(0x2eb)]['options'];return;}[a0_0x3a67c7(0x1b2)](){const _0x20566a=a0_0x3a67c7,_0x8ef4c2=this['_raw'][_0x20566a(0x343)];if(!_0x8ef4c2)return;try{const _0x4f3743=JSON[_0x20566a(0x216)](_0x8ef4c2);if(_0x4f3743&&typeof _0x4f3743===_0x20566a(0x3ab)&&'selectItemsSource'in _0x4f3743)return _0x4f3743['selectItemsSource'];}catch{}return;}[a0_0x3a67c7(0x3a8)](){const _0x5b6881=a0_0x3a67c7;if(!this[_0x5b6881(0x2eb)][_0x5b6881(0x296)])return'';return this[_0x5b6881(0x2eb)]['dbType']['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x5b6881(0x3ba)]()[_0x5b6881(0x186)]();}[a0_0x3a67c7(0x294)](){return;}[a0_0x3a67c7(0x347)](){return;}get['dbType'](){const _0x270bc0=a0_0x3a67c7;return this['_raw'][_0x270bc0(0x296)]??undefined;}get[a0_0x3a67c7(0x3f3)](){const _0x3caf6a=a0_0x3a67c7;return this[_0x3caf6a(0x2eb)][_0x3caf6a(0x3f3)];}[a0_0x3a67c7(0x2d5)](){const _0x4666b4=a0_0x3a67c7;return this['_raw'][_0x4666b4(0x222)]??null;}get['doType'](){const _0x3ee09e=a0_0x3a67c7;return this[_0x3ee09e(0x2eb)]['doType']??null;}[a0_0x3a67c7(0x41b)](){const _0x2511fd=a0_0x3a67c7;return{'name':this[_0x2511fd(0x18e)],'code':this[_0x2511fd(0x2f0)],'type':this[_0x2511fd(0x1c4)],'dbType':this[_0x2511fd(0x296)],'dbTypeLen':this[_0x2511fd(0x3f3)],'doType':this['getDOType'](),'displayName':this[_0x2511fd(0x1d1)],'description':this['description'],'required':this[_0x2511fd(0x409)](),'primaryKey':this[_0x2511fd(0x32e)](),'system':this[_0x2511fd(0x229)](),'autoIncrement':this[_0x2511fd(0x1af)](),'createTime':this['isCreateTime'](),'updateTime':this[_0x2511fd(0x39c)](),'isEnum':this[_0x2511fd(0x2af)](),'enumMeta':this[_0x2511fd(0x2af)]()?this['getEnumMeta']():undefined};}[a0_0x3a67c7(0x31b)](){const _0x505cbf=a0_0x3a67c7;return _0x505cbf(0x27a)+this[_0x505cbf(0x18e)]+',\x20'+this[_0x505cbf(0x2f0)]+',\x20'+this['dbType']+_0x505cbf(0x1e1)+this[_0x505cbf(0x2d5)]()+')';}[a0_0x3a67c7(0x2ee)](_0x4acbb8){const _0x599956=a0_0x3a67c7;if(!_0x4acbb8)return'TEXT';const _0xf5f890={};_0xf5f890['VARCHAR']=_0x599956(0x25c),_0xf5f890[_0x599956(0x260)]=_0x599956(0x25c),_0xf5f890[_0x599956(0x25c)]=_0x599956(0x3b6),_0xf5f890[_0x599956(0x1f2)]=_0x599956(0x3b6),_0xf5f890[_0x599956(0x332)]='NUMBER',_0xf5f890[_0x599956(0x20c)]=_0x599956(0x2de),_0xf5f890[_0x599956(0x270)]=_0x599956(0x2de),_0xf5f890[_0x599956(0x3e3)]='NUMBER',_0xf5f890['DECIMAL']=_0x599956(0x2de),_0xf5f890['DOUBLE']=_0x599956(0x2de),_0xf5f890[_0x599956(0x1ba)]=_0x599956(0x2de),_0xf5f890[_0x599956(0x241)]='DATE',_0xf5f890[_0x599956(0x30c)]='DATE',_0xf5f890[_0x599956(0x2e8)]=_0x599956(0x2e8),_0xf5f890[_0x599956(0x3a5)]=_0x599956(0x3a5),_0xf5f890['BOOLEAN']=_0x599956(0x3d4),_0xf5f890[_0x599956(0x22f)]=_0x599956(0x3d4),_0xf5f890[_0x599956(0x2fc)]=_0x599956(0x3b9),_0xf5f890[_0x599956(0x24d)]='FILE';const _0x3481a6=_0xf5f890,_0x294be9=_0x4acbb8[_0x599956(0x186)]();return _0x3481a6[_0x294be9]||_0x599956(0x25c);}}class FieldListV2 extends FieldListBase{constructor(_0x2cc2af,_0x1464eb){super(_0x2cc2af,_0x1464eb);}[a0_0x3a67c7(0x3eb)](_0x149882){const _0x2bba68=a0_0x3a67c7;return _0x149882[_0x2bba68(0x295)](_0x47530f=>new FieldV2(_0x47530f));}['all'](){const _0x4cc2e0=a0_0x3a67c7;return[...this[_0x4cc2e0(0x3bd)]];}['at'](_0x2bb985){const _0x2eb9c3=a0_0x3a67c7;return this[_0x2eb9c3(0x3bd)]['at'](_0x2bb985);}[a0_0x3a67c7(0x323)](_0x5bc6c4){const _0x51d625=a0_0x3a67c7;return this[_0x51d625(0x3bd)][_0x51d625(0x323)](_0x1dfaab=>_0x1dfaab[_0x51d625(0x2f0)]===_0x5bc6c4);}[a0_0x3a67c7(0x255)](_0x4431b2){const _0x4b35b4=a0_0x3a67c7;return this['_fields'][_0x4b35b4(0x323)](_0x3cbbfa=>_0x3cbbfa['getDisplayName']()===_0x4431b2);}[a0_0x3a67c7(0x1b6)](_0x2592d4){const _0x59ae75=a0_0x3a67c7;return this[_0x59ae75(0x3bd)][_0x59ae75(0x1b6)](_0x2592d4);}[a0_0x3a67c7(0x295)](_0x334721){const _0x2deac9=a0_0x3a67c7;return this['_fields'][_0x2deac9(0x295)](_0x334721);}['getRequired'](){const _0x2a7eb9=a0_0x3a67c7;return this[_0x2a7eb9(0x3bd)][_0x2a7eb9(0x1b6)](_0x43829a=>_0x43829a['isRequired']());}['getPrimaryKeys'](){const _0x42a338=a0_0x3a67c7;return this[_0x42a338(0x3bd)]['filter'](_0x366a1d=>_0x366a1d[_0x42a338(0x32e)]());}[a0_0x3a67c7(0x3e2)](){const _0x26bc2c=a0_0x3a67c7;return this[_0x26bc2c(0x3bd)][_0x26bc2c(0x1b6)](_0x2dec08=>_0x2dec08['isSystem']());}[a0_0x3a67c7(0x33c)](){const _0x17a43d=a0_0x3a67c7;return this[_0x17a43d(0x3bd)][_0x17a43d(0x1b6)](_0x4c66b0=>_0x4c66b0['isBusiness']());}[a0_0x3a67c7(0x336)](){const _0x285247=a0_0x3a67c7;return this[_0x285247(0x3bd)]['filter'](_0x3801df=>_0x3801df[_0x285247(0x2af)]());}[a0_0x3a67c7(0x337)](){const _0x328fc6=a0_0x3a67c7,_0x191742={};return this[_0x328fc6(0x3bd)][_0x328fc6(0x40a)](_0x5cd842=>{const _0x29840a=_0x328fc6,_0x4cc254=_0x5cd842[_0x29840a(0x1c4)];!_0x191742[_0x4cc254]&&(_0x191742[_0x4cc254]=[]),_0x191742[_0x4cc254][_0x29840a(0x3cf)](_0x5cd842);}),_0x191742;}['raw'](){const _0x2e25c1=a0_0x3a67c7;return this[_0x2e25c1(0x3bd)][_0x2e25c1(0x295)](_0x4f7bab=>_0x4f7bab['raw']);}static[a0_0x3a67c7(0x263)](_0x125684){const _0x206047=a0_0x3a67c7,_0x1e80b2=_0x125684[_0x206047(0x295)](_0x580439=>_0x580439[_0x206047(0x339)]);return new FieldListV2(_0x1e80b2);}static[a0_0x3a67c7(0x3c2)](_0x4c80ce){const _0x57e1f1={};return _0x57e1f1['includeDeleted']=!![],new FieldListV2(_0x4c80ce,_0x57e1f1);}[a0_0x3a67c7(0x31b)](){const _0x3aa128=a0_0x3a67c7;return _0x3aa128(0x376)+this[_0x3aa128(0x31c)]+_0x3aa128(0x3b8);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x3a67c7(0x403)];[a0_0x3a67c7(0x41c)];constructor(_0x30e37b){super(_0x30e37b);}[a0_0x3a67c7(0x257)](){const _0x2e1652=a0_0x3a67c7;if(!this[_0x2e1652(0x403)]){const _0x52264f={};_0x52264f['includeDeleted']=![],this[_0x2e1652(0x403)]=new FieldListV1(this[_0x2e1652(0x2eb)][_0x2e1652(0x1ef)]||[],_0x52264f);}return this['_fieldListV1'];}['getFieldListWithDeleted'](){const _0x253d36=a0_0x3a67c7;if(!this[_0x253d36(0x41c)]){const _0x18acf0={};_0x18acf0['includeDeleted']=!![],this[_0x253d36(0x41c)]=new FieldListV1(this[_0x253d36(0x2eb)][_0x253d36(0x1ef)]||[],_0x18acf0);}return this['_fieldListV1WithDeleted'];}[a0_0x3a67c7(0x1d4)](){const _0x6eea6c=a0_0x3a67c7;return(this[_0x6eea6c(0x2eb)][_0x6eea6c(0x1ef)]||[])['filter'](_0x1de1e5=>!_0x1de1e5[_0x6eea6c(0x1a9)]);}[a0_0x3a67c7(0x1fd)](){const _0x1422fb=a0_0x3a67c7;return this[_0x1422fb(0x257)]()[_0x1422fb(0x31c)];}[a0_0x3a67c7(0x21e)](_0x229527){const _0xac47ca=a0_0x3a67c7;return this['_raw'][_0xac47ca(0x1ef)]?.['find'](_0x46aeed=>_0x46aeed[_0xac47ca(0x2f0)]===_0x229527);}[a0_0x3a67c7(0x406)](){return'v1';}[a0_0x3a67c7(0x19f)](){const _0x4feaa6=a0_0x3a67c7,_0x2bdda0={};return _0x2bdda0[_0x4feaa6(0x389)]=this[_0x4feaa6(0x2eb)]['properties']||[],_0x2bdda0[_0x4feaa6(0x29d)]=![],_0x2bdda0;}[a0_0x3a67c7(0x37d)](){const _0x27ded5=a0_0x3a67c7;return this['_raw'][_0x27ded5(0x195)];}['getSource'](){return this['_raw']['source'];}[a0_0x3a67c7(0x2a0)](){const _0x3c1704=a0_0x3a67c7,_0x2d5a70=this[_0x3c1704(0x1a2)](),_0x57a497=_0x2d5a70?.[_0x3c1704(0x273)],_0x5a3d27={};return _0x5a3d27['dbId']=_0x2d5a70?.[_0x3c1704(0x250)],_0x5a3d27[_0x3c1704(0x23f)]=_0x2d5a70?.['dbName']??_0x57a497?.['dbName'],_0x5a3d27['dbType']=_0x57a497?.[_0x3c1704(0x296)],_0x5a3d27[_0x3c1704(0x421)]=_0x57a497?.['dbVersion'],_0x5a3d27['tableName']=_0x2d5a70?.['tableName'],_0x5a3d27[_0x3c1704(0x36b)]=_0x2d5a70?.['datasetKey'],_0x5a3d27[_0x3c1704(0x1ea)]=_0x2d5a70?.[_0x3c1704(0x1ea)],_0x5a3d27[_0x3c1704(0x387)]=_0x57a497?.[_0x3c1704(0x387)],_0x5a3d27[_0x3c1704(0x31a)]=_0x57a497?.[_0x3c1704(0x31a)],new DBConfig(_0x5a3d27,_0x2d5a70);}get['version'](){return this['_raw']['version'];}[a0_0x3a67c7(0x1d5)](_0x1256e6){const _0xaea920=a0_0x3a67c7;if(typeof _0x1256e6!==_0xaea920(0x400)){!![]&&console[_0xaea920(0x3dd)]('[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x1256e6);return;}return this['getFieldList']()['find'](_0x1256e6);}[a0_0x3a67c7(0x200)](_0x15bed8){const _0x2c63cb=a0_0x3a67c7;if(!_0x15bed8||typeof _0x15bed8!=='object')return![];const _0x2e9d33=this[_0x2c63cb(0x1d5)](_0x15bed8['code']);return _0x2e9d33?_0x2e9d33['isMultipleSelect']():![];}[a0_0x3a67c7(0x430)](){const _0x28b94f=a0_0x3a67c7,_0x2c6f4f=this['getOperation'](_0x28b94f(0x1b6));return _0x2c6f4f;}[a0_0x3a67c7(0x1c2)](){const _0x464398=a0_0x3a67c7;return this[_0x464398(0x2c9)](_0x464398(0x1b6));}['toListItem'](){const _0x3b0fed=a0_0x3a67c7;return new DatasetItem({'id':this['id'],'name':this[_0x3b0fed(0x18e)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x3b0fed(0x1a2)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x3a67c7(0x22e)];['_datasetMeta'];[a0_0x3a67c7(0x3bc)];constructor(_0x145ada){const _0xfe97e6=a0_0x3a67c7;super(_0x145ada),this[_0xfe97e6(0x324)]=_0x145ada[_0xfe97e6(0x18c)],this['_relations']=_0x145ada[_0xfe97e6(0x1be)]||[];}[a0_0x3a67c7(0x406)](){return'v2';}[a0_0x3a67c7(0x19f)](){const _0x1b525b=a0_0x3a67c7,_0x9cd553={};return _0x9cd553[_0x1b525b(0x389)]=this[_0x1b525b(0x2eb)][_0x1b525b(0x389)],_0x9cd553['includeDeleted']=![],_0x9cd553;}['getOperationsData'](){const _0xa24059=a0_0x3a67c7;return this[_0xa24059(0x2eb)][_0xa24059(0x195)];}['getSource'](){const _0x128f6e=a0_0x3a67c7;return this[_0x128f6e(0x2eb)][_0x128f6e(0x2d6)];}[a0_0x3a67c7(0x2a0)](){const _0xeb513f=a0_0x3a67c7,_0x10a7bf=this['_raw'][_0xeb513f(0x245)],_0x429b9a=_0x10a7bf?.[_0xeb513f(0x273)],_0x48acf8={};return _0x48acf8[_0xeb513f(0x250)]=_0x10a7bf?.['dbId'],_0x48acf8[_0xeb513f(0x23f)]=_0x10a7bf?.[_0xeb513f(0x23f)]??_0x429b9a?.[_0xeb513f(0x23f)],_0x48acf8[_0xeb513f(0x296)]=_0x429b9a?.[_0xeb513f(0x296)],_0x48acf8[_0xeb513f(0x421)]=_0x429b9a?.[_0xeb513f(0x421)],_0x48acf8[_0xeb513f(0x1a3)]=_0x10a7bf?.[_0xeb513f(0x1a3)],_0x48acf8[_0xeb513f(0x36b)]=_0x10a7bf?.[_0xeb513f(0x36b)],_0x48acf8['pkField']=_0x10a7bf?.[_0xeb513f(0x1ea)],_0x48acf8[_0xeb513f(0x387)]=_0x10a7bf?.[_0xeb513f(0x387)]??_0x429b9a?.[_0xeb513f(0x387)],_0x48acf8[_0xeb513f(0x31a)]=_0x10a7bf?.[_0xeb513f(0x31a)]??_0x429b9a?.[_0xeb513f(0x31a)],new DBConfig(_0x48acf8,_0x10a7bf);}[a0_0x3a67c7(0x257)](){const _0x1c556e=a0_0x3a67c7;return this[_0x1c556e(0x386)]();}[a0_0x3a67c7(0x1d4)](){return this['_raw']['fields']||[];}['getFieldCount'](){const _0x5e541b=a0_0x3a67c7;return(this[_0x5e541b(0x2eb)][_0x5e541b(0x389)]||[])[_0x5e541b(0x31c)];}[a0_0x3a67c7(0x21e)](_0x264a13){const _0x693ed1=a0_0x3a67c7;return this[_0x693ed1(0x2eb)][_0x693ed1(0x389)]['find'](_0x5dcfe8=>_0x5dcfe8[_0x693ed1(0x18e)]===_0x264a13);}[a0_0x3a67c7(0x219)](){const _0xf09926=a0_0x3a67c7;return this[_0xf09926(0x324)];}['getRelations'](){const _0x507227=a0_0x3a67c7;return this[_0x507227(0x3bc)];}[a0_0x3a67c7(0x30f)](){const _0x4b3dd1=a0_0x3a67c7;return this[_0x4b3dd1(0x324)]['indexes']||[];}['getRelationsByField'](_0xdbf680){const _0x4a68a6=a0_0x3a67c7;return this['_relations']['filter'](_0x1379a4=>_0x1379a4[_0x4a68a6(0x2dc)]===_0xdbf680);}[a0_0x3a67c7(0x193)](_0x201b4b){const _0x5e9e25=a0_0x3a67c7;return this[_0x5e9e25(0x3bc)]['some'](_0x54b01d=>_0x54b01d['fromField']===_0x201b4b);}[a0_0x3a67c7(0x42e)](_0x219c6a){const _0xcf3123=a0_0x3a67c7,_0x349e5f=this[_0xcf3123(0x3bc)]['find'](_0x575018=>_0x575018['fromField']===_0x219c6a);if(!_0x349e5f)return;const _0x10bf6f={};return _0x10bf6f[_0xcf3123(0x206)]=_0x349e5f['toDatasetId'],_0x10bf6f['datasetCode']=_0x349e5f[_0xcf3123(0x381)],_0x10bf6f[_0xcf3123(0x20d)]=_0x349e5f[_0xcf3123(0x2b6)],_0x10bf6f['tableName']=_0x349e5f['toTableName'],_0x10bf6f['toField']=_0x349e5f[_0xcf3123(0x2fb)],_0x10bf6f;}[a0_0x3a67c7(0x1c0)](){const _0x5308e8=a0_0x3a67c7;return this['_relations'][_0x5308e8(0x295)](_0x81b4ea=>_0x81b4ea[_0x5308e8(0x2dc)]);}[a0_0x3a67c7(0x386)](){const _0x29848f=a0_0x3a67c7;if(!this['_fieldListV2']){const _0x34488b=this[_0x29848f(0x2eb)]['fields']||[];this[_0x29848f(0x22e)]=new FieldListV2(_0x34488b);}return this[_0x29848f(0x22e)];}[a0_0x3a67c7(0x1d5)](_0x378f77){const _0x10d2ff=a0_0x3a67c7;if(typeof _0x378f77!==_0x10d2ff(0x400)){!![]&&console['warn'](_0x10d2ff(0x3d3),_0x378f77);return;}return this[_0x10d2ff(0x386)]()[_0x10d2ff(0x323)](_0x378f77);}[a0_0x3a67c7(0x200)](_0x4ae86e){const _0x39e90c=a0_0x3a67c7;if(!_0x4ae86e||typeof _0x4ae86e!=='object')return![];const _0x1673dd=_0x4ae86e['name']||_0x4ae86e[_0x39e90c(0x2f0)],_0x185c1c=this[_0x39e90c(0x1d5)](_0x1673dd);return _0x185c1c?_0x185c1c['isMultipleSelect']():![];}[a0_0x3a67c7(0x42c)](){const _0x15f06e=a0_0x3a67c7;if(!this[_0x15f06e(0x3a1)]){const _0x5dc80f=this[_0x15f06e(0x2ac)](this[_0x15f06e(0x37d)]()||{});this[_0x15f06e(0x3a1)]=new OperationList(_0x5dc80f,{'fields':this[_0x15f06e(0x386)]()['all'](),'pkField':this[_0x15f06e(0x2eb)]['dbtableConfig']?.[_0x15f06e(0x1ea)],'dbtableConfig':this[_0x15f06e(0x2eb)][_0x15f06e(0x245)]||null});}return this[_0x15f06e(0x3a1)];}[a0_0x3a67c7(0x430)](){const _0x1adc7e=a0_0x3a67c7,_0x2d597a=this['getOperation'](_0x1adc7e(0x1b6));return _0x2d597a;}['hasFilterOperation'](){const _0xfaafa1=a0_0x3a67c7;return this[_0xfaafa1(0x2c9)](_0xfaafa1(0x1b6));}['toListItem'](){const _0x3de67a=a0_0x3a67c7;return new DatasetItem({'id':this['id'],'name':this[_0x3de67a(0x18e)],'datasetCode':this[_0x3de67a(0x2f6)],'dbtableConfig':this[_0x3de67a(0x1a2)]()});}[a0_0x3a67c7(0x31b)](){const _0xc38ba2=a0_0x3a67c7,_0x329d51=this[_0xc38ba2(0x3bc)][_0xc38ba2(0x31c)],_0x61aa93=this[_0xc38ba2(0x30f)]()[_0xc38ba2(0x31c)];return _0xc38ba2(0x259)+this[_0xc38ba2(0x18e)]+',\x20'+this[_0xc38ba2(0x2f6)]+',\x20'+this[_0xc38ba2(0x1fd)]()+_0xc38ba2(0x1b4)+this['getOperationCount']()+'\x20operations,\x20'+_0x329d51+_0xc38ba2(0x3db)+_0x61aa93+_0xc38ba2(0x416);}['getFieldsV2'](){const _0x412a86=a0_0x3a67c7;return this['_raw'][_0x412a86(0x389)];}[a0_0x3a67c7(0x39b)](_0xfa2423){const _0x4516d1=a0_0x3a67c7;return this['_raw'][_0x4516d1(0x389)]['find'](_0x3c9b35=>_0x3c9b35[_0x4516d1(0x18e)]===_0xfa2423);}}function detectDatasetVersion(_0x2996b1){const _0x5f3db7=a0_0x3a67c7;if(_0x2996b1[_0x5f3db7(0x2d2)]==='v2'&&_0x5f3db7(0x389)in _0x2996b1&&Array[_0x5f3db7(0x205)](_0x2996b1[_0x5f3db7(0x389)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{['_instance'];constructor(_0x53cbbb){super(_0x53cbbb);const _0x21074d=detectDatasetVersion(_0x53cbbb);this['_instance']=_0x21074d==='v2'?new DrivenDataDetailV2(_0x53cbbb):new DrivenDataDetailV1(_0x53cbbb);}get['id'](){const _0x37fa2e=a0_0x3a67c7;return this[_0x37fa2e(0x378)]['id'];}get['name'](){const _0x165fd7=a0_0x3a67c7;return this[_0x165fd7(0x378)]['name'];}get[a0_0x3a67c7(0x2f6)](){const _0x467876=a0_0x3a67c7;return this[_0x467876(0x378)][_0x467876(0x2f6)];}get[a0_0x3a67c7(0x2a1)](){const _0x3513e1=a0_0x3a67c7;return this['_instance']['getVersion']()==='v2'?_0x3513e1(0x1e9):_0x3513e1(0x327);}[a0_0x3a67c7(0x406)](){const _0x2e4b53=a0_0x3a67c7;return this[_0x2e4b53(0x378)][_0x2e4b53(0x406)]();}[a0_0x3a67c7(0x27d)](){const _0x274ab6=a0_0x3a67c7;return this[_0x274ab6(0x378)]['id'];}[a0_0x3a67c7(0x3f4)](){const _0x2b1fb7=a0_0x3a67c7;return this[_0x2b1fb7(0x378)][_0x2b1fb7(0x2f6)];}[a0_0x3a67c7(0x1d8)](){const _0x30f453=a0_0x3a67c7;return this['_instance'][_0x30f453(0x18e)];}[a0_0x3a67c7(0x19f)](){const _0xb0f8d6=a0_0x3a67c7;return this[_0xb0f8d6(0x378)]['getFieldDataSource']();}[a0_0x3a67c7(0x37d)](){const _0x518977=a0_0x3a67c7;return this[_0x518977(0x378)][_0x518977(0x37d)]();}[a0_0x3a67c7(0x22c)](){const _0x4d9b33=a0_0x3a67c7;return this[_0x4d9b33(0x378)][_0x4d9b33(0x22c)]();}[a0_0x3a67c7(0x308)](){return this['_instance']['getFieldListWithDeleted']();}[a0_0x3a67c7(0x257)](){const _0x5f5d13=a0_0x3a67c7;return this[_0x5f5d13(0x378)][_0x5f5d13(0x257)]();}[a0_0x3a67c7(0x365)](){const _0x40bad2=a0_0x3a67c7;return this[_0x40bad2(0x378)][_0x40bad2(0x365)]();}[a0_0x3a67c7(0x1d4)](){const _0x5aa197=a0_0x3a67c7;return this[_0x5aa197(0x378)]['getFields']();}[a0_0x3a67c7(0x1fd)](){const _0x1dfab9=a0_0x3a67c7;return this[_0x1dfab9(0x378)]['getFieldCount']();}['getPkField'](){const _0x3e1f68=a0_0x3a67c7,_0x4dbcd9=this[_0x3e1f68(0x378)]['getRawDbtableConfig']();return _0x4dbcd9?.[_0x3e1f68(0x1ea)];}['getDBConfig'](){const _0x537ae1=a0_0x3a67c7;return this[_0x537ae1(0x378)][_0x537ae1(0x2a0)]();}['getFieldInstance'](_0x2992b7){const _0x2b2f2b=a0_0x3a67c7;return this[_0x2b2f2b(0x378)][_0x2b2f2b(0x1d5)](_0x2992b7);}[a0_0x3a67c7(0x2e9)](){const _0x2fcc88=a0_0x3a67c7;return this[_0x2fcc88(0x378)][_0x2fcc88(0x2e9)]();}[a0_0x3a67c7(0x1fc)](){const _0x38db15=a0_0x3a67c7;return this['_instance'][_0x38db15(0x1fc)]();}['getBusinessFields'](){const _0xb5f0e4=a0_0x3a67c7;return this[_0xb5f0e4(0x378)][_0xb5f0e4(0x30e)]();}['getRequiredFields'](){const _0x5605c8=a0_0x3a67c7;return this[_0x5605c8(0x378)][_0x5605c8(0x2b3)]();}['getFieldsByType'](){const _0x1983b7=a0_0x3a67c7;return this[_0x1983b7(0x378)][_0x1983b7(0x3f1)]();}[a0_0x3a67c7(0x37b)](){const _0x485f00=a0_0x3a67c7;return this[_0x485f00(0x378)][_0x485f00(0x37b)]();}['getEnumFieldsMeta'](){const _0x48bff9=a0_0x3a67c7;return this[_0x48bff9(0x378)][_0x48bff9(0x264)]();}[a0_0x3a67c7(0x2f2)](){const _0x49eb7b=a0_0x3a67c7;return this[_0x49eb7b(0x378)][_0x49eb7b(0x2f2)]();}[a0_0x3a67c7(0x367)](){return this['_instance']['getOperationCount']();}[a0_0x3a67c7(0x34b)](){return this['_instance']['getEnabledOperations']();}['getDisabledOperations'](){const _0x348eda=a0_0x3a67c7;return this[_0x348eda(0x378)][_0x348eda(0x307)]();}[a0_0x3a67c7(0x20f)](){return this['_instance']['getEnabledOperationInstances']();}['getDisabledOperationInstances'](){const _0x4a370a=a0_0x3a67c7;return this[_0x4a370a(0x378)]['getDisabledOperationInstances']();}[a0_0x3a67c7(0x1ad)](){const _0x3b14e4=a0_0x3a67c7;return this[_0x3b14e4(0x378)][_0x3b14e4(0x1ad)]();}[a0_0x3a67c7(0x219)](){const _0x59631b=a0_0x3a67c7;return this['_instance'][_0x59631b(0x219)]();}[a0_0x3a67c7(0x311)](){const _0x178c44=a0_0x3a67c7;return this['_instance'][_0x178c44(0x311)]();}['getIndexes'](){const _0x5d6e25=a0_0x3a67c7;return this['_instance'][_0x5d6e25(0x30f)]();}[a0_0x3a67c7(0x3f7)](){const _0x54b4a7=a0_0x3a67c7;return this['_instance'][_0x54b4a7(0x3f7)]();}['getFieldsFilterOperatorsMap'](){const _0x515b17=a0_0x3a67c7;return this[_0x515b17(0x378)][_0x515b17(0x2ce)]();}[a0_0x3a67c7(0x41b)](){const _0x4b9c92=a0_0x3a67c7;return this[_0x4b9c92(0x378)]['toJSON']();}[a0_0x3a67c7(0x430)](){const _0x4da834=a0_0x3a67c7;return this['_instance'][_0x4da834(0x430)]();}[a0_0x3a67c7(0x1c2)](){return this['_instance']['hasFilterOperation']();}['toListItem'](){const _0x34f760=a0_0x3a67c7;return this[_0x34f760(0x378)][_0x34f760(0x18b)]();}[a0_0x3a67c7(0x31b)](){const _0x4e6679=a0_0x3a67c7;return this[_0x4e6679(0x378)][_0x4e6679(0x31b)]();}[a0_0x3a67c7(0x3a9)](){const _0x9a957b=a0_0x3a67c7;return this[_0x9a957b(0x378)];}}function detectDatasetVersion2(_0x1d7ac2){const _0x4c7670=a0_0x3a67c7;if(_0x1d7ac2[_0x4c7670(0x2d2)]==='v2'&&_0x4c7670(0x389)in _0x1d7ac2&&Array[_0x4c7670(0x205)](_0x1d7ac2[_0x4c7670(0x389)]))return'v2';return'v1';}function createDrivenDataDetail(_0x3e2fbf,_0xfef516={}){const {forceVersion:_0xd560c2}=_0xfef516;if(_0xd560c2==='v2')return new DrivenDataDetailV2(_0x3e2fbf);if(_0xd560c2==='v1')return new DrivenDataDetailV1(_0x3e2fbf);const _0x3de00b=detectDatasetVersion2(_0x3e2fbf);if(_0x3de00b==='v2')return new DrivenDataDetailV2(_0x3e2fbf);return new DrivenDataDetailV1(_0x3e2fbf);}function isV2Data(_0x150d0b){return detectDatasetVersion2(_0x150d0b)==='v2';}function isV1Data(_0x15da69){return detectDatasetVersion2(_0x15da69)==='v1';}function isV2Instance(_0x5178ba){return _0x5178ba['getVersion']()==='v2';}function isV1Instance(_0x161286){const _0x6ee525=a0_0x3a67c7;return _0x161286[_0x6ee525(0x406)]()==='v1';}class DatasetGroup{[a0_0x3a67c7(0x2b5)];constructor(_0x1343a2){const _0x24cd5d=a0_0x3a67c7;this['items']=Array[_0x24cd5d(0x205)](_0x1343a2)?[..._0x1343a2]:[_0x1343a2],this[_0x24cd5d(0x2b5)][_0x24cd5d(0x355)]((_0xd8a9c9,_0xd0da4c)=>{const _0x245c8b=Number(_0xd8a9c9['id'])||0x0,_0x359cd3=Number(_0xd0da4c['id'])||0x0;return _0x359cd3-_0x245c8b;});}[a0_0x3a67c7(0x1e3)](){const _0x1257f2=a0_0x3a67c7;return this[_0x1257f2(0x2b5)][_0x1257f2(0x31c)]>0x1;}[a0_0x3a67c7(0x32b)](){return this['items'][0x0];}[a0_0x3a67c7(0x282)](){const _0x2f3ade=a0_0x3a67c7;return this[_0x2f3ade(0x2b5)][this['items'][_0x2f3ade(0x31c)]-0x1];}[a0_0x3a67c7(0x2c6)](){return[...this['items']];}['getCount'](){const _0x184e13=a0_0x3a67c7;return this['items'][_0x184e13(0x31c)];}['getAt'](_0x271aee){const _0x281b09=a0_0x3a67c7;return this[_0x281b09(0x2b5)][_0x271aee];}[a0_0x3a67c7(0x40c)](_0x309526){const _0x2804b9=a0_0x3a67c7;return this[_0x2804b9(0x2b5)][_0x2804b9(0x323)](_0x33f712=>_0x33f712['id']===_0x309526);}[a0_0x3a67c7(0x1f6)](_0x4dea43){const _0x49b98b=a0_0x3a67c7;return this['items'][_0x49b98b(0x323)](_0x44715c=>_0x44715c[_0x49b98b(0x2f6)]===_0x4dea43);}[a0_0x3a67c7(0x1bd)](){const _0x2490d8=a0_0x3a67c7;return this[_0x2490d8(0x2b5)]['map'](_0x34ab79=>_0x34ab79['id'])['filter'](_0x4367f9=>_0x4367f9!==undefined);}[a0_0x3a67c7(0x1a8)](){const _0xa64f7d=a0_0x3a67c7;return this['items'][_0xa64f7d(0x295)](_0x131342=>_0x131342[_0xa64f7d(0x2f6)]);}[a0_0x3a67c7(0x31b)](){const _0x3e21ed=a0_0x3a67c7;if(this[_0x3e21ed(0x1e3)]())return _0x3e21ed(0x1c3)+this[_0x3e21ed(0x2b5)][_0x3e21ed(0x31c)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x3e21ed(0x32b)]()[_0x3e21ed(0x18e)]+')';return _0x3e21ed(0x1c3)+this['items'][0x0][_0x3e21ed(0x18e)]+')';}}class DatasetGroupMap{[a0_0x3a67c7(0x333)];constructor(_0x4bef22){const _0x20b904=a0_0x3a67c7;this[_0x20b904(0x333)]=new Map();for(const _0xaff7b7 of _0x4bef22){const _0x51e431=_0xaff7b7[_0x20b904(0x316)](),_0x26959e=_0xaff7b7['dbtableConfig']?.['dbId'],_0x1279b2=_0xaff7b7[_0x20b904(0x245)]?.[_0x20b904(0x23f)]||_0xaff7b7[_0x20b904(0x245)]?.[_0x20b904(0x273)]?.[_0x20b904(0x23f)]||'',_0x1cc7b1=_0x26959e!==undefined&&_0x26959e!==null?'db'+_0x26959e:_0x1279b2?getTableKey(_0x1279b2):'',_0x5e96ea=_0x1cc7b1?_0x1cc7b1+'_'+_0x51e431:_0x51e431,_0x359a35=getTableKey(_0x5e96ea);if(!this[_0x20b904(0x333)][_0x20b904(0x208)](_0x359a35))this[_0x20b904(0x333)][_0x20b904(0x415)](_0x359a35,new DatasetGroup(_0xaff7b7));else{const _0xcbbc88=this['groups'][_0x20b904(0x341)](_0x359a35),_0x106623=[..._0xcbbc88[_0x20b904(0x2c6)](),_0xaff7b7];this['groups']['set'](_0x359a35,new DatasetGroup(_0x106623));}}}[a0_0x3a67c7(0x341)](_0x42b667){const _0x40c889=a0_0x3a67c7;return this[_0x40c889(0x333)][_0x40c889(0x341)](_0x42b667);}[a0_0x3a67c7(0x208)](_0x50f777){const _0x96d1af=a0_0x3a67c7;return this[_0x96d1af(0x333)][_0x96d1af(0x208)](_0x50f777);}get[a0_0x3a67c7(0x31e)](){const _0x525daa=a0_0x3a67c7;return this[_0x525daa(0x333)][_0x525daa(0x31e)];}[a0_0x3a67c7(0x289)](){const _0x7ce3f=a0_0x3a67c7;return this[_0x7ce3f(0x333)][_0x7ce3f(0x289)]();}[a0_0x3a67c7(0x348)](){const _0x56b5be=a0_0x3a67c7;return this[_0x56b5be(0x333)]['values']();}['entries'](){const _0x19fa11=a0_0x3a67c7;return this['groups'][_0x19fa11(0x240)]();}[Symbol[a0_0x3a67c7(0x280)]](){const _0x50b1c3=a0_0x3a67c7;return this['groups'][_0x50b1c3(0x240)]();}[a0_0x3a67c7(0x40a)](_0xb0dc27){this['groups']['forEach']((_0x33334b,_0x4e4cdc)=>_0xb0dc27(_0x33334b,_0x4e4cdc,this));}[a0_0x3a67c7(0x1d6)](){const _0x58e6dc=a0_0x3a67c7,_0x36d443=new Map();for(const [_0x5e6092,_0x2a34ce]of this['groups']){_0x2a34ce[_0x58e6dc(0x1e3)]()&&_0x36d443['set'](_0x5e6092,_0x2a34ce);}return _0x36d443;}['hasConflicts'](){const _0x11f5f3=a0_0x3a67c7;for(const _0x3fbc1e of this[_0x11f5f3(0x333)][_0x11f5f3(0x348)]()){if(_0x3fbc1e[_0x11f5f3(0x1e3)]())return!![];}return![];}[a0_0x3a67c7(0x237)](){const _0x5c4853=a0_0x3a67c7;let _0x2d851d=0x0,_0x2bd18b=0x0;for(const _0x360f3c of this[_0x5c4853(0x333)][_0x5c4853(0x348)]()){_0x360f3c[_0x5c4853(0x1e3)]()&&(_0x2d851d++,_0x2bd18b+=_0x360f3c[_0x5c4853(0x2f3)]());}const _0x29c27a={};return _0x29c27a['conflictGroupCount']=_0x2d851d,_0x29c27a[_0x5c4853(0x33b)]=_0x2bd18b,_0x29c27a[_0x5c4853(0x36f)]=this[_0x5c4853(0x333)]['size'],_0x29c27a;}['getAllDatasets'](){const _0x5616c4=a0_0x3a67c7,_0x276664=[];for(const _0x4cfee4 of this['groups'][_0x5616c4(0x348)]()){_0x276664['push'](..._0x4cfee4[_0x5616c4(0x2c6)]());}return _0x276664;}[a0_0x3a67c7(0x26c)](){const _0x4c10f5=a0_0x3a67c7,_0x4bb7c6=[];for(const _0x7269de of this['groups'][_0x4c10f5(0x348)]()){_0x4bb7c6[_0x4c10f5(0x3cf)](_0x7269de[_0x4c10f5(0x32b)]());}return _0x4bb7c6;}[a0_0x3a67c7(0x32b)](_0x93b042){const _0x256928=a0_0x3a67c7;return this[_0x256928(0x333)][_0x256928(0x341)](_0x93b042)?.[_0x256928(0x32b)]();}[a0_0x3a67c7(0x2c6)](_0xa15a02){const _0x818c1f=a0_0x3a67c7;return this[_0x818c1f(0x333)][_0x818c1f(0x341)](_0xa15a02)?.[_0x818c1f(0x2c6)]()||[];}[a0_0x3a67c7(0x318)](){const _0x48c2fb=a0_0x3a67c7,_0x464ba5=this['getLatestDatasets'](),_0x5539ee=new Map();for(const _0x26ddf8 of _0x464ba5){const _0x1401a2=_0x26ddf8[_0x48c2fb(0x316)](),_0x5f2f96=_0x26ddf8[_0x48c2fb(0x245)]?.[_0x48c2fb(0x250)],_0x19ff53=_0x26ddf8[_0x48c2fb(0x245)]?.['dbName']||_0x26ddf8[_0x48c2fb(0x245)]?.['dblinkInfoDTO']?.[_0x48c2fb(0x23f)]||'',_0x38d1a7=_0x5f2f96!==undefined&&_0x5f2f96!==null?'db'+_0x5f2f96:_0x19ff53?getTableKey(_0x19ff53):'';!_0x5539ee['has'](_0x1401a2)&&_0x5539ee[_0x48c2fb(0x415)](_0x1401a2,new Set()),_0x5539ee[_0x48c2fb(0x341)](_0x1401a2)[_0x48c2fb(0x198)](_0x38d1a7);}const _0x4b3a6b=new Set();for(const [_0x521d7b,_0x45de39]of _0x5539ee){_0x45de39[_0x48c2fb(0x31e)]>0x1&&_0x4b3a6b[_0x48c2fb(0x198)](_0x521d7b);}const _0x1356d6={},_0x9c0ce8=new Set();for(const _0x3c370f of _0x464ba5){const _0x15fe53=_0x3c370f[_0x48c2fb(0x316)](),_0xd6ac6=_0x3c370f[_0x48c2fb(0x41b)](),_0x38c074=getTableKey(_0x15fe53);let _0x228f3c=_0x38c074;const _0x162eb0=_0x3c370f[_0x48c2fb(0x245)]?.[_0x48c2fb(0x23f)]||_0x3c370f[_0x48c2fb(0x245)]?.[_0x48c2fb(0x273)]?.[_0x48c2fb(0x23f)]||'';if(_0x4b3a6b[_0x48c2fb(0x208)](_0x15fe53)&&_0x162eb0){const _0x5c1128=getTableKey(_0x162eb0);_0x228f3c=''+_0x5c1128+_0x38c074[_0x48c2fb(0x42f)](0x0)[_0x48c2fb(0x186)]()+_0x38c074[_0x48c2fb(0x3ec)](0x1);}let _0x513e01=_0x228f3c,_0x22dea7=0x1;while(_0x9c0ce8['has'](_0x513e01)){_0x513e01=_0x228f3c+'_'+_0x22dea7,_0x22dea7++;}_0x9c0ce8['add'](_0x513e01);const _0x5b9154=_0x513e01;_0x1356d6[_0x513e01]={'key':_0x513e01,'alias':_0x5b9154,'tableName':_0x15fe53,'datasetCode':_0xd6ac6['datasetCode'],'name':_0xd6ac6[_0x48c2fb(0x18e)],'id':_0xd6ac6['id'],'dbName':_0x162eb0};}return _0x1356d6;}[a0_0x3a67c7(0x2f7)](){const _0xfabd92=a0_0x3a67c7,_0x47db6a=this[_0xfabd92(0x38d)](),_0x3f1824=_0x47db6a['map'](_0x3d8dd5=>_0x3d8dd5['toJSON']());return generateFullDatasetsConfig(_0x3f1824);}['toObject'](){const _0x4f81aa=a0_0x3a67c7,_0x3fee15={};for(const [_0x545694,_0x4dd31a]of this[_0x4f81aa(0x333)]){_0x3fee15[_0x545694]=_0x4dd31a;}return _0x3fee15;}[a0_0x3a67c7(0x41b)](){const _0x56b4e6=a0_0x3a67c7,_0x25a708={};for(const [_0x163c98,_0x3dc1f7]of this[_0x56b4e6(0x333)]){_0x25a708[_0x163c98]=_0x3dc1f7[_0x56b4e6(0x2c6)]()[_0x56b4e6(0x295)](_0x2e03e5=>_0x2e03e5[_0x56b4e6(0x41b)]());}return _0x25a708;}[a0_0x3a67c7(0x31b)](){const _0x1d88f7=a0_0x3a67c7;return _0x1d88f7(0x2ff)+this[_0x1d88f7(0x333)]['size']+'\x20groups,\x20'+(this[_0x1d88f7(0x349)]()?_0x1d88f7(0x1e7):_0x1d88f7(0x2ab))+')';}}class DatasetList{[a0_0x3a67c7(0x2cf)];constructor(_0x5e241f){const _0x438258=a0_0x3a67c7;let _0xd1146d;if(Array['isArray'](_0x5e241f))_0xd1146d=_0x5e241f;else{if(_0x438258(0x28c)in _0x5e241f){if(!_0x5e241f['success'])throw new Error(_0x438258(0x277));if(Array[_0x438258(0x205)](_0x5e241f[_0x438258(0x3cb)]))_0xd1146d=_0x5e241f['data'][_0x438258(0x295)](_0xba7355=>({..._0xba7355,'datasetCode':_0xba7355[_0x438258(0x2f0)]||_0xba7355[_0x438258(0x2f6)]}));else{if(_0x5e241f[_0x438258(0x3cb)]?.[_0x438258(0x346)])_0xd1146d=_0x5e241f[_0x438258(0x3cb)]['tableData'][_0x438258(0x295)](_0x8f0881=>({..._0x8f0881,'datasetCode':_0x8f0881[_0x438258(0x2f0)]||_0x8f0881[_0x438258(0x2f6)]}));else throw new Error(_0x438258(0x2ae));}}else{if(_0x438258(0x346)in _0x5e241f){if(!Array['isArray'](_0x5e241f[_0x438258(0x346)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0xd1146d=_0x5e241f[_0x438258(0x346)][_0x438258(0x295)](_0x302004=>({..._0x302004,'datasetCode':_0x302004[_0x438258(0x2f0)]||_0x302004['datasetCode']}));}else throw new Error(_0x438258(0x254));}}const _0x4bbd86=cleanDatasetNames(_0xd1146d),_0x72a0eb=_0x4bbd86[_0x438258(0x295)](_0x596958=>new DatasetItem(_0x596958));this[_0x438258(0x2cf)]=new DatasetGroupMap(_0x72a0eb);}get[a0_0x3a67c7(0x297)](){const _0x46c777=a0_0x3a67c7;return this[_0x46c777(0x2cf)];}[a0_0x3a67c7(0x390)](){const _0x25afea=a0_0x3a67c7;return this[_0x25afea(0x2cf)][_0x25afea(0x38d)]();}['getCount'](){const _0x4549ac=a0_0x3a67c7;return this['getItems']()[_0x4549ac(0x31c)];}['isEmpty'](){const _0x3b80b1=a0_0x3a67c7;return this['_datasetMap'][_0x3b80b1(0x31e)]===0x0;}[a0_0x3a67c7(0x3a7)](_0x349c87){return this['getItems']()[_0x349c87];}['getFirst'](){const _0x516a56=a0_0x3a67c7;return this[_0x516a56(0x390)]()[0x0];}[a0_0x3a67c7(0x37f)](){const _0x1468f1=a0_0x3a67c7,_0x3d2141=this[_0x1468f1(0x390)]();return _0x3d2141[_0x3d2141[_0x1468f1(0x31c)]-0x1];}[a0_0x3a67c7(0x1f6)](_0x449529){const _0x1b22df=a0_0x3a67c7;for(const _0x277c5b of this[_0x1b22df(0x2cf)][_0x1b22df(0x348)]()){const _0x2d84f2=_0x277c5b[_0x1b22df(0x1f6)](_0x449529);if(_0x2d84f2)return _0x2d84f2;}return;}[a0_0x3a67c7(0x255)](_0x992b9b){const _0x1fc701=a0_0x3a67c7;return this[_0x1fc701(0x390)]()[_0x1fc701(0x323)](_0x164890=>_0x164890[_0x1fc701(0x18e)]===_0x992b9b);}[a0_0x3a67c7(0x40c)](_0x582c10){const _0x3d8a7d=a0_0x3a67c7;for(const _0x31558c of this[_0x3d8a7d(0x2cf)][_0x3d8a7d(0x348)]()){const _0x31ce4d=_0x31558c['findById'](_0x582c10);if(_0x31ce4d)return _0x31ce4d;}return;}[a0_0x3a67c7(0x211)](_0x1930ac){const _0x5ed39f=a0_0x3a67c7;for(const _0xd3f09b of this[_0x5ed39f(0x2cf)][_0x5ed39f(0x348)]()){const _0x7d963a=_0xd3f09b[_0x5ed39f(0x32b)]();if(_0x7d963a['getTableName']()===_0x1930ac)return _0x7d963a;}return;}[a0_0x3a67c7(0x21a)](_0x226551){const _0x52e62e=a0_0x3a67c7,_0x196fc3=[];for(const _0xe96802 of this[_0x52e62e(0x2cf)]['values']()){const _0x304c89=_0xe96802[_0x52e62e(0x32b)]();_0x304c89['getTableName']()===_0x226551&&_0x196fc3[_0x52e62e(0x3cf)](_0x304c89);}return _0x196fc3;}[a0_0x3a67c7(0x1b6)](_0x2a923c){const _0x4fecd6=a0_0x3a67c7,_0x36c0c7=this[_0x4fecd6(0x390)]()[_0x4fecd6(0x1b6)](_0x2a923c);return new DatasetList(_0x36c0c7[_0x4fecd6(0x295)](_0x1c41b7=>_0x1c41b7[_0x4fecd6(0x41b)]()));}['findAll'](_0x1c49c4){const _0x42af2a=a0_0x3a67c7;return this[_0x42af2a(0x390)]()[_0x42af2a(0x1b6)](_0x1c49c4);}['forEach'](_0x1d522f){const _0x46b7fc=a0_0x3a67c7;this[_0x46b7fc(0x390)]()[_0x46b7fc(0x40a)](_0x1d522f);}[a0_0x3a67c7(0x295)](_0x217c56){const _0x3b7987=a0_0x3a67c7;return this[_0x3b7987(0x390)]()['map'](_0x217c56);}[Symbol['iterator']](){const _0x55318b=a0_0x3a67c7;return this[_0x55318b(0x390)]()[Symbol[_0x55318b(0x280)]]();}[a0_0x3a67c7(0x3e9)](){const _0x3ce9e0=a0_0x3a67c7;return this[_0x3ce9e0(0x390)]()[_0x3ce9e0(0x1b6)](_0x1f5a40=>_0x1f5a40[_0x3ce9e0(0x2e4)]());}[a0_0x3a67c7(0x2f5)](){const _0xa79011=a0_0x3a67c7;return this['getItems']()['filter'](_0x8e0e3=>!_0x8e0e3[_0xa79011(0x2e4)]());}['groupByTableName'](){const _0x4d5c89=a0_0x3a67c7,_0x287eaa={};for(const _0x459ca9 of this['_datasetMap']['values']()){const _0x539f66=_0x459ca9[_0x4d5c89(0x32b)]()[_0x4d5c89(0x316)]();_0x287eaa[_0x539f66]=_0x459ca9[_0x4d5c89(0x2c6)]();}return _0x287eaa;}[a0_0x3a67c7(0x2b1)](){const _0x1e4c1f=a0_0x3a67c7,_0x4a0cb1={};for(const _0x4fd599 of this[_0x1e4c1f(0x2cf)]['getConflicts']()[_0x1e4c1f(0x348)]()){const _0x2963ed=_0x4fd599[_0x1e4c1f(0x32b)]()[_0x1e4c1f(0x316)]();_0x4a0cb1[_0x2963ed]=_0x4fd599[_0x1e4c1f(0x2c6)]()['map'](_0x36d110=>_0x36d110[_0x1e4c1f(0x41b)]());}return{'hasConflicts':Object[_0x1e4c1f(0x289)](_0x4a0cb1)['length']>0x0,'conflicts':_0x4a0cb1};}[a0_0x3a67c7(0x349)](){const _0x55afeb=a0_0x3a67c7;return this[_0x55afeb(0x2cf)]['hasConflicts']();}[a0_0x3a67c7(0x26e)](){const _0x27be8b=a0_0x3a67c7,_0x48a80c=[];for(const _0xa455cb of this[_0x27be8b(0x2cf)][_0x27be8b(0x1d6)]()[_0x27be8b(0x348)]()){_0x48a80c[_0x27be8b(0x3cf)](..._0xa455cb[_0x27be8b(0x2c6)]());}return _0x48a80c;}['generateConfig'](_0x366128){const _0x341572=a0_0x3a67c7;if(!_0x366128||Object[_0x341572(0x289)](_0x366128)[_0x341572(0x31c)]===0x0)return this[_0x341572(0x297)]['toConfig']();const _0x619fe9=this['getItems']()[_0x341572(0x295)](_0x4273ba=>_0x4273ba['toJSON']());return generateDatasetsConfig(_0x619fe9,_0x366128);}[a0_0x3a67c7(0x276)](_0x455b45){const _0x179b5d=this['generateConfig'](_0x455b45);return datasetsConfigToArray(_0x179b5d);}[a0_0x3a67c7(0x3f0)](){const _0x28ff0d=a0_0x3a67c7;return this[_0x28ff0d(0x390)]()['map'](_0x594a26=>_0x594a26[_0x28ff0d(0x318)]());}['getStats'](){const _0xee1192=a0_0x3a67c7;return{'total':this[_0xee1192(0x2f3)](),'virtualTables':this[_0xee1192(0x3e9)]()[_0xee1192(0x31c)],'realTables':this['getRealTables']()[_0xee1192(0x31c)],'hasConflicts':this[_0xee1192(0x349)](),'conflictCount':this[_0xee1192(0x26e)]()['length']};}[a0_0x3a67c7(0x199)](){const _0x111de5=a0_0x3a67c7;return this[_0x111de5(0x390)]()[_0x111de5(0x295)](_0xb270b1=>_0xb270b1[_0x111de5(0x41b)]());}[a0_0x3a67c7(0x41b)](){return this['toArray']();}[a0_0x3a67c7(0x31b)](){const _0x1fb514=a0_0x3a67c7;return _0x1fb514(0x2e0)+this[_0x1fb514(0x2f3)]()+_0x1fb514(0x29f)+this['_datasetMap'][_0x1fb514(0x31e)]+'\x20groups)';}static[a0_0x3a67c7(0x40d)](_0xa7ddd){return new DatasetList(_0xa7ddd);}static['initDataset'](_0xda573b){return new DatasetList(_0xda573b);}static[a0_0x3a67c7(0x2cb)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE='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';function renderTemplate(_0x5cc6cc,_0x25db33,_0x68c643={}){const _0x22e6b2=a0_0x3a67c7;let _0x1ab8dc=_0x5cc6cc;return Object[_0x22e6b2(0x240)](_0x68c643)[_0x22e6b2(0x40a)](([_0x18bf71,_0x3161e7])=>{const _0x5c8c3f=_0x22e6b2,_0x1ba9a3=new RegExp(_0x5c8c3f(0x2db)+_0x18bf71+_0x5c8c3f(0x197),'g');_0x1ab8dc=_0x1ab8dc[_0x5c8c3f(0x396)](_0x1ba9a3,_0x3161e7?'$1':'');}),Object[_0x22e6b2(0x240)](_0x25db33)[_0x22e6b2(0x40a)](([_0x1ff520,_0x5583c5])=>{const _0x212814=_0x22e6b2;if(_0x5583c5!==undefined){const _0x3bdffb=new RegExp('\x5c{\x5c{'+_0x1ff520+_0x212814(0x28b),'g');_0x1ab8dc=_0x1ab8dc[_0x212814(0x396)](_0x3bdffb,_0x5583c5);}}),_0x1ab8dc;}function generateSDKInitCode(_0x435c6f,_0xdf261f,_0x66d6e0,_0x406bfd,_0x25749c){const _0x5a54fe=a0_0x3a67c7,_0x1e4f79={};_0x1e4f79[_0x5a54fe(0x31a)]=_0x435c6f,_0x1e4f79[_0x5a54fe(0x2f6)]=_0xdf261f,_0x1e4f79[_0x5a54fe(0x30a)]=_0x66d6e0,_0x1e4f79[_0x5a54fe(0x247)]=_0x406bfd===_0x5a54fe(0x334)?_0x5a54fe(0x334):undefined;const _0x386dd9={};return _0x386dd9[_0x5a54fe(0x247)]=_0x406bfd!==undefined&&_0x406bfd!==_0x5a54fe(0x398),_0x386dd9[_0x5a54fe(0x25f)]=_0x25749c===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x1e4f79,_0x386dd9);}var ALIAS_EXPLANATION_TEMPLATE='##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a';function generateAliasExplanation(_0x1a0679,_0x5b573b,_0x1d65a6,_0x184859){const _0x4fdfec=a0_0x3a67c7,_0x40b47e=_0x4fdfec(0x2a8)+_0x1a0679,_0x18abb8='{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}',_0xd2b26b={};return _0xd2b26b[_0x4fdfec(0x2f6)]=_0x1a0679,_0xd2b26b[_0x4fdfec(0x37a)]=_0x40b47e,_0xd2b26b[_0x4fdfec(0x1a3)]=_0x5b573b,_0xd2b26b['alias']=_0x1d65a6,_0xd2b26b[_0x4fdfec(0x31a)]=_0x184859,_0xd2b26b[_0x4fdfec(0x228)]=_0x18abb8,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0xd2b26b,{});}function DrivenDataDetailPlusMixin(_0x28fc32){const _0x5ea570=a0_0x3a67c7;return class _0x543d35 extends _0x28fc32{[_0x5ea570(0x217)](_0xba70e3){const _0x214809=_0x5ea570;return{'appCode':_0xba70e3,'datasetSDKKey':this[_0x214809(0x215)](),'alias':this['getModelAlias'](),'tableName':this[_0x214809(0x316)](),'datasetCode':this['datasetCode']};}['generateSDKInitCode'](_0x4e9038,_0x4949f4='online',_0x59bd85=![]){const _0xe543fb=_0x5ea570;return generateSDKInitCode(_0x4e9038,this['datasetCode'],this[_0xe543fb(0x2a2)](),_0x4949f4==='daily'?_0x4949f4:undefined,_0x59bd85);}['generateFullSDKExample'](_0x3d62bc,_0x3b9ffe,_0x39b08d={}){const _0x1e64c7=_0x5ea570,_0x3db1d9=this[_0x1e64c7(0x2f2)]()[_0x1e64c7(0x323)](_0x502e75=>_0x502e75['getName']()===_0x3d62bc);if(!_0x3db1d9)return null;const _0x12cff8={};_0x12cff8[_0x1e64c7(0x1c6)]=_0x39b08d[_0x1e64c7(0x18d)]!==![];const _0x335b1c=this[_0x1e64c7(0x21f)](_0x3d62bc,_0x12cff8);if(!_0x335b1c)return null;const _0x4a405d=[];return _0x4a405d[_0x1e64c7(0x3cf)](_0x1e64c7(0x37c)+_0x3db1d9[_0x1e64c7(0x1d8)]()+_0x1e64c7(0x1f0)),_0x4a405d['push'](_0x335b1c['sdkCall'][_0x1e64c7(0x2f0)]),_0x4a405d['push'](''),_0x39b08d[_0x1e64c7(0x268)]!==![]&&(_0x4a405d[_0x1e64c7(0x3cf)](_0x1e64c7(0x2e5)),_0x4a405d[_0x1e64c7(0x3cf)](_0x335b1c['usageExample'][_0x1e64c7(0x1f9)]),_0x4a405d[_0x1e64c7(0x3cf)](''),_0x4a405d[_0x1e64c7(0x3cf)](_0x335b1c[_0x1e64c7(0x301)][_0x1e64c7(0x36a)])),_0x4a405d['join']('\x0a');}[_0x5ea570(0x38f)](_0x55c059={}){const _0xa214d8=_0x5ea570,_0x444f22=this[_0xa214d8(0x372)](),_0x62e88=[];return _0x444f22[_0xa214d8(0x40a)]((_0x15310d,_0x2d91e1)=>{const _0x33fd3e=_0xa214d8,_0x2293e6=this['generateFullSDKExample'](_0x15310d[_0x33fd3e(0x18e)],_0x33fd3e(0x21d),_0x55c059);_0x2293e6&&(_0x62e88[_0x33fd3e(0x3cf)](_0x33fd3e(0x18f)+(_0x2d91e1+0x1)+'.\x20'+_0x15310d[_0x33fd3e(0x1d1)]),_0x62e88[_0x33fd3e(0x3cf)](_0x2293e6),_0x62e88[_0x33fd3e(0x3cf)](''));}),_0x62e88[_0xa214d8(0x414)]('\x0a');}[_0x5ea570(0x38e)](_0x59120d){const _0x4c234a=_0x5ea570,_0x5e7cec=this[_0x4c234a(0x224)](_0x59120d);if(!_0x5e7cec)return null;const _0x30293c={};return _0x30293c[_0x4c234a(0x18e)]=_0x5e7cec[_0x4c234a(0x18e)],_0x30293c[_0x4c234a(0x1d1)]=_0x5e7cec[_0x4c234a(0x1d1)],_0x30293c['method']=_0x5e7cec['method'],_0x30293c[_0x4c234a(0x38c)]=_0x5e7cec[_0x4c234a(0x38c)],_0x30293c['enabled']=_0x5e7cec['enabled'],_0x30293c['requestFieldCount']=_0x5e7cec[_0x4c234a(0x314)][_0x4c234a(0x31c)],_0x30293c['hasResponseSchema']=_0x5e7cec[_0x4c234a(0x3d6)]!==null,_0x30293c;}[_0x5ea570(0x36e)](_0x2dc766={}){const _0x7e1c31=_0x5ea570,_0x3488da=this[_0x7e1c31(0x372)]();return{'datasetName':this[_0x7e1c31(0x18e)],'datasetCode':this[_0x7e1c31(0x2f6)],'tableName':this['getTableName'](),'totalOperations':_0x3488da[_0x7e1c31(0x31c)],'operations':_0x3488da['map'](_0x27ff51=>({'name':_0x27ff51[_0x7e1c31(0x18e)],'displayName':_0x27ff51[_0x7e1c31(0x1d1)],'method':_0x27ff51[_0x7e1c31(0x291)],'enabled':_0x27ff51['enabled']}))};}[_0x5ea570(0x429)](_0x2966d0){const _0x5eb0d1=_0x5ea570,_0x472c66=this[_0x5eb0d1(0x224)](_0x2966d0);if(!_0x472c66)return[];return _0x472c66[_0x5eb0d1(0x314)][_0x5eb0d1(0x295)](_0x5035c9=>{const _0x3161e0=_0x5eb0d1,_0x179cd1=this[_0x3161e0(0x1d5)](_0x5035c9);if(!_0x179cd1)return null;const _0x441ac9={};return _0x441ac9['code']=_0x5035c9,_0x441ac9[_0x3161e0(0x18e)]=_0x179cd1[_0x3161e0(0x18e)]||_0x5035c9,_0x441ac9;})[_0x5eb0d1(0x1b6)](_0x84aebc=>_0x84aebc!==null);}[_0x5ea570(0x2c1)](){const _0x2bd9eb=_0x5ea570,_0x54ff2a=new Set(this[_0x2bd9eb(0x372)]()[_0x2bd9eb(0x295)](_0x3ec7dd=>String(_0x3ec7dd[_0x2bd9eb(0x1c4)]))),_0x1e1350=[_0x2bd9eb(0x2d8),'getList','update',_0x2bd9eb(0x36d)];return _0x1e1350[_0x2bd9eb(0x1b6)](_0x44a4ee=>!_0x54ff2a[_0x2bd9eb(0x208)](String(_0x44a4ee)));}[_0x5ea570(0x3e8)](_0x438e28=_0x5ea570(0x21d)){const _0x14b536=_0x5ea570;return generateAliasExplanation(this['datasetCode'],this['getTableName'](),this[_0x14b536(0x2a2)](),_0x438e28);}};}function operationToAnalysis(_0x2b4efa){const _0x92893c=a0_0x3a67c7;return{'name':_0x2b4efa[_0x92893c(0x1d8)](),'displayName':_0x2b4efa[_0x92893c(0x19e)](),'type':_0x2b4efa[_0x92893c(0x321)](),'method':_0x2b4efa[_0x92893c(0x3dc)](),'path':_0x2b4efa['getPath'](),'fullUrl':_0x2b4efa[_0x92893c(0x34c)](),'requestFields':_0x2b4efa[_0x92893c(0x379)](),'requestParams':_0x2b4efa[_0x92893c(0x2a9)](),'responseSchema':_0x2b4efa['getResponseSchema'](),'requestExample':_0x2b4efa[_0x92893c(0x203)](),'responseExample':_0x2b4efa[_0x92893c(0x35f)](),'enabled':_0x2b4efa[_0x92893c(0x3c5)]()};}function operationsToAnalyses(_0x246b68){const _0x3e5905=a0_0x3a67c7;if(!Array[_0x3e5905(0x205)](_0x246b68))return!![]&&console[_0x3e5905(0x3dd)](_0x3e5905(0x3d0),_0x246b68),[];return _0x246b68[_0x3e5905(0x295)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x5a0477){const _0x3cec59=a0_0x3a67c7,_0x3bca04=_0x5a0477[_0x3cec59(0x323)](_0x5b63ba=>_0x5b63ba[_0x3cec59(0x18e)]==='filter'),_0x121edc=_0x5a0477[_0x3cec59(0x1b6)](_0x38ed4e=>_0x38ed4e[_0x3cec59(0x18e)]!==_0x3cec59(0x1b6));return _0x3bca04?[_0x3bca04,..._0x121edc]:_0x121edc;}function filterOperationAnalyses(_0x36a03f,_0x4993ca={}){const _0x5ba7ec=a0_0x3a67c7;let _0x90eb5a=_0x36a03f;return!_0x4993ca[_0x5ba7ec(0x1bf)]&&(_0x90eb5a=_0x90eb5a[_0x5ba7ec(0x1b6)](_0x564019=>_0x564019['enabled'])),_0x4993ca[_0x5ba7ec(0x1f3)]!==![]&&(_0x90eb5a=filterApiOperations(_0x90eb5a)),_0x4993ca[_0x5ba7ec(0x1e6)]&&(_0x90eb5a=_0x90eb5a[_0x5ba7ec(0x1b6)](_0x4993ca[_0x5ba7ec(0x1e6)])),sortOperationsWithFilterFirst(_0x90eb5a);}function getOperationStats(_0x26fd9b){const _0x8b3b21=a0_0x3a67c7,_0x546287=_0x26fd9b[_0x8b3b21(0x1b6)](_0x7556a9=>_0x7556a9[_0x8b3b21(0x3e4)]);return{'total':_0x26fd9b['length'],'enabled':_0x546287[_0x8b3b21(0x31c)],'disabled':_0x26fd9b[_0x8b3b21(0x31c)]-_0x546287[_0x8b3b21(0x31c)],'byType':getCountByType(_0x546287),'byMethod':getCountByMethod(_0x546287)};}function getCountByType(_0x2b18cb){const _0x342e5b=a0_0x3a67c7,_0x12f464={};return _0x2b18cb[_0x342e5b(0x40a)](_0x2f0674=>{const _0x3b32f0=_0x342e5b;if(_0x2f0674[_0x3b32f0(0x1c4)])_0x12f464[_0x2f0674['type']]=(_0x12f464[_0x2f0674[_0x3b32f0(0x1c4)]]||0x0)+0x1;}),_0x12f464;}function getCountByMethod(_0x921dc){const _0x44f5ea=a0_0x3a67c7,_0x11aea9={};return _0x921dc[_0x44f5ea(0x40a)](_0x421506=>{const _0x2ff824=_0x44f5ea;_0x11aea9[_0x421506['method']]=(_0x11aea9[_0x421506[_0x2ff824(0x291)]]||0x0)+0x1;}),_0x11aea9;}function supportsCRUD(_0xc8dead){const _0x362200=a0_0x3a67c7,_0x113870=new Set(_0xc8dead[_0x362200(0x295)](_0x3577a6=>_0x3577a6[_0x362200(0x1c4)])[_0x362200(0x1b6)](Boolean));return _0x113870[_0x362200(0x208)](_0x362200(0x2d8))&&_0x113870['has']('getList')&&_0x113870[_0x362200(0x208)]('update')&&_0x113870[_0x362200(0x208)](_0x362200(0x36d));}function createOperationDocMeta(_0xc389fe,_0x65486c,_0x359dda,_0xab1bf6,_0x565875,_0x1ba4e0){const _0x261d17=a0_0x3a67c7,_0x2abdea={};return _0x2abdea[_0x261d17(0x1c6)]=_0x1ba4e0?.[_0x261d17(0x1c6)],{'operation':_0xc389fe,'operationInstance':_0x65486c,'basicInfo':{'name':_0xc389fe[_0x261d17(0x18e)],'displayName':_0xc389fe[_0x261d17(0x1d1)],'method':_0xc389fe[_0x261d17(0x291)],'path':_0xc389fe[_0x261d17(0x38c)],'fullUrl':_0xc389fe[_0x261d17(0x3f2)],'enabled':_0xc389fe[_0x261d17(0x3e4)]},'sdkCall':{'datasetCode':_0x359dda,'datasetSDKKey':_0xab1bf6,'tableName':_0x565875,'operationName':_0xc389fe['name'],'params':_0xc389fe[_0x261d17(0x314)],'code':_0x65486c['generateSDKCallCode'](_0xab1bf6,_0x2abdea)},'usageExample':_0x65486c['generateUsageExample'](_0xab1bf6)};}function createOperationsOverviewData(_0x4153e3){const _0x1d75d9=a0_0x3a67c7,_0x481608={};_0x481608[_0x1d75d9(0x2b9)]=_0x1d75d9(0x18e),_0x481608[_0x1d75d9(0x428)]=_0x1d75d9(0x35b);const _0x4016ee={};_0x4016ee[_0x1d75d9(0x2b9)]='displayName',_0x4016ee['label']=_0x1d75d9(0x310);const _0xb0348d={};_0xb0348d['index']=_0x1d75d9(0x291),_0xb0348d[_0x1d75d9(0x428)]='方法';const _0x2ba54e={};_0x2ba54e[_0x1d75d9(0x2b9)]=_0x1d75d9(0x26b),_0x2ba54e[_0x1d75d9(0x428)]=_0x1d75d9(0x2bd);const _0x3880ca={};_0x3880ca[_0x1d75d9(0x2b9)]=_0x1d75d9(0x38c),_0x3880ca[_0x1d75d9(0x428)]='API路径';const _0x4a0914={};_0x4a0914[_0x1d75d9(0x2b9)]=_0x1d75d9(0x2b7),_0x4a0914[_0x1d75d9(0x428)]='完整的\x20SDK\x20调用代码';const _0x35fa97=[_0x481608,_0x4016ee,_0xb0348d,_0x2ba54e,_0x3880ca,_0x4a0914],_0x149de7=_0x4153e3[_0x1d75d9(0x295)](_0x5a1c1a=>{const _0x54d72f=_0x1d75d9,{basicInfo:_0x10a8a2,sdkCall:_0x40b6c9}=_0x5a1c1a,_0x318552=_0x40b6c9[_0x54d72f(0x2f0)][_0x54d72f(0x396)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x54d72f(0x396)](/;$/,''),_0xac43dc={};return _0xac43dc['displayName']=_0x10a8a2[_0x54d72f(0x1d1)],_0xac43dc['name']=_0x10a8a2[_0x54d72f(0x18e)],_0xac43dc[_0x54d72f(0x291)]=_0x10a8a2[_0x54d72f(0x291)],_0xac43dc[_0x54d72f(0x38c)]=_0x10a8a2['path'],_0xac43dc[_0x54d72f(0x26b)]=_0x318552,_0xac43dc[_0x54d72f(0x2b7)]=_0x40b6c9[_0x54d72f(0x2f0)],_0xac43dc;}),_0x41d1a6={};return _0x41d1a6[_0x1d75d9(0x2b8)]=_0x35fa97,_0x41d1a6['tableData']=_0x149de7,_0x41d1a6;}function createDatasetDocMeta(_0x4cc695,_0x4749a8,_0x1f234c,_0x546dd5,_0xaa9984,_0x495454,_0x53e0b0,_0x439b35,_0x169654){const _0x4708de=a0_0x3a67c7,_0x514bca={};return _0x514bca[_0x4708de(0x192)]=_0x4cc695+_0x4708de(0x3ca),_0x514bca[_0x4708de(0x397)]={},_0x514bca[_0x4708de(0x195)]=_0x169654,_0x514bca[_0x4708de(0x397)][_0x4708de(0x18e)]=_0x4cc695,_0x514bca[_0x4708de(0x397)]['code']=_0x4749a8,_0x514bca[_0x4708de(0x397)][_0x4708de(0x1a3)]=_0x1f234c,_0x514bca[_0x4708de(0x397)][_0x4708de(0x37a)]=_0x546dd5,_0x514bca[_0x4708de(0x397)][_0x4708de(0x2f9)]=_0xaa9984,_0x514bca[_0x4708de(0x397)][_0x4708de(0x2d6)]=_0x495454,_0x514bca[_0x4708de(0x397)][_0x4708de(0x408)]=_0x53e0b0,_0x514bca[_0x4708de(0x397)]['businessFieldCount']=0x0,_0x514bca[_0x4708de(0x397)]['systemFieldCount']=0x0,_0x514bca[_0x4708de(0x397)]['operationCount']=_0x439b35,_0x514bca[_0x4708de(0x397)][_0x4708de(0x194)]=_0x169654[_0x4708de(0x31c)],_0x514bca;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x3a67c7(0x433)];[a0_0x3a67c7(0x406)](){return'v1';}[a0_0x3a67c7(0x2a2)](){return this['getTableKey']();}['getOperationAnalyses'](_0x23628e=![]){const _0x1221fc=a0_0x3a67c7;if(!_0x23628e&&this['_operationAnalyses'])return this[_0x1221fc(0x433)];const _0x4157ae=this[_0x1221fc(0x2f2)]();return this[_0x1221fc(0x433)]=operationsToAnalyses(_0x4157ae),this[_0x1221fc(0x433)];}[a0_0x3a67c7(0x372)](){const _0x240c45=a0_0x3a67c7,_0x1dd313={};return _0x1dd313[_0x240c45(0x1bf)]=![],_0x1dd313[_0x240c45(0x1f3)]=!![],this[_0x240c45(0x3a3)](_0x1dd313);}['getFilteredOperationAnalyses'](_0x3c68b7={}){const _0x46cf26=a0_0x3a67c7;return filterOperationAnalyses(this[_0x46cf26(0x18a)](),_0x3c68b7);}[a0_0x3a67c7(0x224)](_0x11428d){const _0x11c098=a0_0x3a67c7;return this['getOperationAnalyses']()['find'](_0x1501d0=>_0x1501d0[_0x11c098(0x18e)]===_0x11428d);}[a0_0x3a67c7(0x34d)](_0x521726){const _0x2603de=a0_0x3a67c7;return this[_0x2603de(0x18a)]()[_0x2603de(0x1b6)](_0x5565b1=>_0x5565b1[_0x2603de(0x1c4)]===_0x521726);}[a0_0x3a67c7(0x21f)](_0x24ce53,_0x325c7b){const _0x513182=a0_0x3a67c7,_0x254a90=this[_0x513182(0x224)](_0x24ce53);if(!_0x254a90)return null;const _0x13f912=this[_0x513182(0x2f2)]()[_0x513182(0x323)](_0x3f3a97=>_0x3f3a97[_0x513182(0x1d8)]()===_0x254a90[_0x513182(0x18e)]);if(!_0x13f912)throw new Error(_0x513182(0x25b)+_0x254a90['name']);return createOperationDocMeta(_0x254a90,_0x13f912,this[_0x513182(0x2f6)],this[_0x513182(0x215)](),this[_0x513182(0x316)](),_0x325c7b);}['getDatasetDocMeta'](_0x4e82c8={}){const _0x49a8b8=a0_0x3a67c7,_0x1a4349=this[_0x49a8b8(0x3a3)](_0x4e82c8),_0x972226=_0x1a4349[_0x49a8b8(0x295)](_0x43529e=>this[_0x49a8b8(0x21f)](_0x43529e[_0x49a8b8(0x18e)]))['filter'](_0x5b1e9d=>_0x5b1e9d!==null);return createDatasetDocMeta(this['name'],this[_0x49a8b8(0x2f6)],this[_0x49a8b8(0x316)](),this[_0x49a8b8(0x215)](),this[_0x49a8b8(0x331)](),this[_0x49a8b8(0x2d6)],this[_0x49a8b8(0x1fd)](),this[_0x49a8b8(0x367)](),_0x972226);}['getOperationsOverviewData'](_0x5aee38){return createOperationsOverviewData(_0x5aee38);}[a0_0x3a67c7(0x2c8)](){const _0x2b6bed=a0_0x3a67c7;return supportsCRUD(this[_0x2b6bed(0x372)]());}[a0_0x3a67c7(0x3d1)](){const _0x70c10e=a0_0x3a67c7;return getOperationStats(this[_0x70c10e(0x18a)]());}['toString'](){const _0xaa53f0=a0_0x3a67c7,_0x23d2f3=this[_0xaa53f0(0x3d1)]();return'DrivenDataDetailPlus('+this[_0xaa53f0(0x18e)]+',\x20'+this[_0xaa53f0(0x2f6)]+',\x20'+this[_0xaa53f0(0x1fd)]()+_0xaa53f0(0x1b4)+_0x23d2f3[_0xaa53f0(0x3e4)]+'/'+_0x23d2f3[_0xaa53f0(0x19a)]+_0xaa53f0(0x418);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x3a67c7(0x433)];[a0_0x3a67c7(0x406)](){return'v2';}[a0_0x3a67c7(0x2a2)](){const _0x275f79=a0_0x3a67c7;return this[_0x275f79(0x331)]();}[a0_0x3a67c7(0x18a)](_0x43382c=![]){const _0x1bafbe=a0_0x3a67c7;if(!_0x43382c&&this[_0x1bafbe(0x433)])return this['_operationAnalyses'];const _0x2719a0=this[_0x1bafbe(0x2f2)]();return this[_0x1bafbe(0x433)]=operationsToAnalyses(_0x2719a0),this[_0x1bafbe(0x433)];}[a0_0x3a67c7(0x372)](){const _0x49f073=a0_0x3a67c7,_0x15cb99={};return _0x15cb99[_0x49f073(0x1bf)]=![],_0x15cb99[_0x49f073(0x1f3)]=!![],this[_0x49f073(0x3a3)](_0x15cb99);}[a0_0x3a67c7(0x3a3)](_0x5acdbf={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x5acdbf);}[a0_0x3a67c7(0x224)](_0x29a854){const _0x3e4e12=a0_0x3a67c7;return this[_0x3e4e12(0x18a)]()[_0x3e4e12(0x323)](_0x35974c=>_0x35974c[_0x3e4e12(0x18e)]===_0x29a854);}[a0_0x3a67c7(0x34d)](_0x265564){const _0x14bcd6=a0_0x3a67c7;return this[_0x14bcd6(0x18a)]()['filter'](_0x182ff1=>_0x182ff1['type']===_0x265564);}[a0_0x3a67c7(0x21f)](_0xd8d9ff,_0x54bae9){const _0x17af97=a0_0x3a67c7,_0x3b05a4=this[_0x17af97(0x224)](_0xd8d9ff);if(!_0x3b05a4)return null;const _0x38e8c4=this[_0x17af97(0x2f2)]()[_0x17af97(0x323)](_0x2107f4=>_0x2107f4[_0x17af97(0x1d8)]()===_0x3b05a4['name']);if(!_0x38e8c4)throw new Error(_0x17af97(0x25b)+_0x3b05a4[_0x17af97(0x18e)]);return createOperationDocMeta(_0x3b05a4,_0x38e8c4,this[_0x17af97(0x2f6)],this['getDatasetSDKKey'](),this['getTableName'](),_0x54bae9);}['getDatasetDocMeta'](_0x65c458={}){const _0x142dd5=a0_0x3a67c7,_0x2ed43e=this[_0x142dd5(0x3a3)](_0x65c458),_0x4ef0f5=_0x2ed43e['map'](_0x245c94=>this[_0x142dd5(0x21f)](_0x245c94[_0x142dd5(0x18e)]))['filter'](_0x387992=>_0x387992!==null);return createDatasetDocMeta(this['name'],this[_0x142dd5(0x2f6)],this[_0x142dd5(0x316)](),this[_0x142dd5(0x215)](),this[_0x142dd5(0x331)](),this[_0x142dd5(0x2d6)],this[_0x142dd5(0x1fd)](),this[_0x142dd5(0x367)](),_0x4ef0f5);}[a0_0x3a67c7(0x1b9)](_0x1ad515){return createOperationsOverviewData(_0x1ad515);}['supportsCRUD'](){const _0x94d161=a0_0x3a67c7;return supportsCRUD(this[_0x94d161(0x372)]());}[a0_0x3a67c7(0x3d1)](){const _0x8d66ba=a0_0x3a67c7;return getOperationStats(this[_0x8d66ba(0x18a)]());}[a0_0x3a67c7(0x31b)](){const _0x5d830e=a0_0x3a67c7,_0x1a0175=this[_0x5d830e(0x3d1)]();return _0x5d830e(0x1a7)+this[_0x5d830e(0x18e)]+',\x20'+this[_0x5d830e(0x2f6)]+',\x20'+this[_0x5d830e(0x1fd)]()+_0x5d830e(0x1b4)+_0x1a0175[_0x5d830e(0x3e4)]+'/'+_0x1a0175[_0x5d830e(0x19a)]+_0x5d830e(0x377);}}function detectDatasetVersion3(_0x112410){const _0x3aa80c=a0_0x3a67c7;if(_0x112410[_0x3aa80c(0x2d2)]==='v2'&&_0x3aa80c(0x389)in _0x112410&&Array[_0x3aa80c(0x205)](_0x112410[_0x3aa80c(0x389)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x3a67c7(0x378)];constructor(_0xedd3c9){const _0x405eab=detectDatasetVersion3(_0xedd3c9);return this['_instance']=_0x405eab==='v2'?new DrivenDataDetailPlusV2(_0xedd3c9):new DrivenDataDetailPlusV1(_0xedd3c9),new Proxy(this,{'get'(_0x52a736,_0x2bc2fe){const _0x4f0c8d=a0_0x1599;if(_0x2bc2fe in _0x52a736){const _0x50e36a=_0x52a736[_0x2bc2fe];return typeof _0x50e36a===_0x4f0c8d(0x40b)?_0x50e36a['bind'](_0x52a736):_0x50e36a;}if(_0x2bc2fe in _0x52a736[_0x4f0c8d(0x378)]){const _0x170081=_0x52a736[_0x4f0c8d(0x378)][_0x2bc2fe];return typeof _0x170081===_0x4f0c8d(0x40b)?_0x170081['bind'](_0x52a736[_0x4f0c8d(0x378)]):_0x170081;}return;},'set'(_0x5a42a0,_0x259a8d,_0x3947b9){return _0x5a42a0[_0x259a8d]=_0x3947b9,!![];},'getPrototypeOf'(_0x53af46){const _0x49add1=a0_0x1599;return DrivenDataDetailPlus[_0x49add1(0x368)];}});}get[a0_0x3a67c7(0x18e)](){const _0x1dcfd8=a0_0x3a67c7;return this[_0x1dcfd8(0x378)][_0x1dcfd8(0x18e)];}get['id'](){const _0x8b904b=a0_0x3a67c7;return this[_0x8b904b(0x378)]['id'];}get[a0_0x3a67c7(0x2f6)](){const _0x93a5ff=a0_0x3a67c7;return this[_0x93a5ff(0x378)][_0x93a5ff(0x2f6)];}get[a0_0x3a67c7(0x2d6)](){const _0x229812=a0_0x3a67c7;return this['_instance'][_0x229812(0x2d6)];}get[a0_0x3a67c7(0x245)](){const _0x379fe3=a0_0x3a67c7;return this[_0x379fe3(0x378)][_0x379fe3(0x2a0)]();}['getVersion'](){const _0x304b19=a0_0x3a67c7,_0x427e09=this['_instance'][_0x304b19(0x406)]();return _0x427e09==='v2'?'v2':'v1';}[a0_0x3a67c7(0x1fd)](){return this['_instance']['getFieldCount']();}[a0_0x3a67c7(0x367)](){const _0x28700d=a0_0x3a67c7;return this['_instance'][_0x28700d(0x367)]();}[a0_0x3a67c7(0x1d4)](){return this['_instance']['getFields']();}[a0_0x3a67c7(0x2f2)](){const _0x56dfc1=a0_0x3a67c7;return this[_0x56dfc1(0x378)][_0x56dfc1(0x2f2)]();}[a0_0x3a67c7(0x2ca)](_0x5700a7){const _0x4c7e30=a0_0x3a67c7;return this[_0x4c7e30(0x378)][_0x4c7e30(0x2ca)](_0x5700a7);}[a0_0x3a67c7(0x1d5)](_0x4c9848){const _0x2f2647=a0_0x3a67c7;return this[_0x2f2647(0x378)]['getFieldInstance'](_0x4c9848);}[a0_0x3a67c7(0x316)](){const _0x325e6c=a0_0x3a67c7;return this[_0x325e6c(0x378)][_0x325e6c(0x316)]();}[a0_0x3a67c7(0x331)](){const _0xe46b88=a0_0x3a67c7;return this[_0xe46b88(0x378)][_0xe46b88(0x331)]();}['getDatasetSDKKey'](){const _0x3faa45=a0_0x3a67c7;return this[_0x3faa45(0x378)][_0x3faa45(0x215)]();}[a0_0x3a67c7(0x257)](){const _0x2ceefd=a0_0x3a67c7;return this[_0x2ceefd(0x378)]['getFieldList']();}[a0_0x3a67c7(0x37b)](){const _0x1bb86b=a0_0x3a67c7;return this['_instance'][_0x1bb86b(0x37b)]();}[a0_0x3a67c7(0x264)](){const _0x4b8306=a0_0x3a67c7;return this[_0x4b8306(0x378)]['getEnumFieldsMeta']();}[a0_0x3a67c7(0x200)](_0x3580ed){const _0x414fac=a0_0x3a67c7;return this[_0x414fac(0x378)][_0x414fac(0x200)](_0x3580ed);}['getField'](_0xb2afe8){const _0x39011b=a0_0x3a67c7;return this[_0x39011b(0x378)][_0x39011b(0x3d2)](_0xb2afe8);}['getFieldOptions'](_0x190510){const _0x292441=a0_0x3a67c7;return this[_0x292441(0x378)][_0x292441(0x350)](_0x190510);}[a0_0x3a67c7(0x230)](_0x1b09f8){const _0x31e097=a0_0x3a67c7;return this[_0x31e097(0x378)][_0x31e097(0x230)](_0x1b09f8);}[a0_0x3a67c7(0x3da)](_0x5135e0){const _0x3518ce=a0_0x3a67c7;return this[_0x3518ce(0x378)][_0x3518ce(0x3da)](_0x5135e0);}[a0_0x3a67c7(0x258)](_0x320041,_0x3b20e6){const _0x352a11=a0_0x3a67c7;return this[_0x352a11(0x378)][_0x352a11(0x258)](_0x320041,_0x3b20e6);}['isRequiredField'](_0x24cc25){const _0x208a5a=a0_0x3a67c7;return this[_0x208a5a(0x378)][_0x208a5a(0x41f)](_0x24cc25);}['getStats'](){const _0x4cb74b=a0_0x3a67c7;return this[_0x4cb74b(0x378)][_0x4cb74b(0x1ad)]();}[a0_0x3a67c7(0x430)](){const _0x32eddc=a0_0x3a67c7;return this[_0x32eddc(0x378)]['getFilterOperation']();}[a0_0x3a67c7(0x1c2)](){const _0x480d0f=a0_0x3a67c7;return this[_0x480d0f(0x378)][_0x480d0f(0x1c2)]();}['hasOperation'](_0x4d281b){const _0x10b6c5=a0_0x3a67c7;return this[_0x10b6c5(0x378)]['hasOperation'](_0x4d281b);}[a0_0x3a67c7(0x2a0)](){const _0x4cb043=a0_0x3a67c7;return this[_0x4cb043(0x378)][_0x4cb043(0x2a0)]();}[a0_0x3a67c7(0x1a2)](){const _0x186b55=a0_0x3a67c7;return this[_0x186b55(0x378)][_0x186b55(0x1a2)]();}[a0_0x3a67c7(0x22c)](){const _0x365fdf=a0_0x3a67c7;return this[_0x365fdf(0x378)][_0x365fdf(0x22c)]();}[a0_0x3a67c7(0x18a)](_0x40737f){const _0x2a3102=a0_0x3a67c7;return this[_0x2a3102(0x378)]['getOperationAnalyses'](_0x40737f);}[a0_0x3a67c7(0x372)](){const _0x1609fd=a0_0x3a67c7;return this[_0x1609fd(0x378)]['getEnabledOperationAnalyses']();}[a0_0x3a67c7(0x3a3)](_0x1b6bfa){const _0xfe3853=a0_0x3a67c7;return this[_0xfe3853(0x378)][_0xfe3853(0x3a3)](_0x1b6bfa);}[a0_0x3a67c7(0x224)](_0x242f3d){const _0x499941=a0_0x3a67c7;return this[_0x499941(0x378)][_0x499941(0x224)](_0x242f3d);}[a0_0x3a67c7(0x34d)](_0x561433){const _0x4ed93e=a0_0x3a67c7;return this[_0x4ed93e(0x378)]['getOperationAnalysesByType'](_0x561433);}['getOperationDocMeta'](_0x327f12,_0x466e42){const _0x4395f5=a0_0x3a67c7;return this[_0x4395f5(0x378)]['getOperationDocMeta'](_0x327f12,_0x466e42);}[a0_0x3a67c7(0x210)](_0x9191bb){const _0x307d96=a0_0x3a67c7;return this[_0x307d96(0x378)][_0x307d96(0x210)](_0x9191bb);}[a0_0x3a67c7(0x1b9)](_0x831d3e){const _0x46772f=a0_0x3a67c7;return this[_0x46772f(0x378)][_0x46772f(0x1b9)](_0x831d3e);}[a0_0x3a67c7(0x2a2)](){const _0x4f92bc=a0_0x3a67c7;return this[_0x4f92bc(0x378)][_0x4f92bc(0x2a2)]();}['supportsCRUD'](){const _0x2298c2=a0_0x3a67c7;return this[_0x2298c2(0x378)][_0x2298c2(0x2c8)]();}[a0_0x3a67c7(0x3d1)](){const _0x398098=a0_0x3a67c7;return this[_0x398098(0x378)][_0x398098(0x3d1)]();}[a0_0x3a67c7(0x31b)](){const _0x324c04=a0_0x3a67c7;return this[_0x324c04(0x378)]['toString']();}[a0_0x3a67c7(0x3ef)](_0x520ae1){const _0x46ff9d=a0_0x3a67c7;return this[_0x46ff9d(0x378)][_0x46ff9d(0x3ef)](_0x520ae1);}[a0_0x3a67c7(0x217)](_0x31a062){const _0x212620=a0_0x3a67c7;return this[_0x212620(0x378)][_0x212620(0x217)](_0x31a062);}[a0_0x3a67c7(0x2ec)](_0x57f325,_0x314040,_0x5ec0d0){const _0x2393a9=a0_0x3a67c7;return this[_0x2393a9(0x378)][_0x2393a9(0x2ec)](_0x57f325,_0x314040,_0x5ec0d0);}['generateFullSDKExample'](_0x1fc5a2,_0x321531,_0x26af97){const _0x16cc52=a0_0x3a67c7;return this[_0x16cc52(0x378)][_0x16cc52(0x1bc)](_0x1fc5a2,_0x321531,_0x26af97);}[a0_0x3a67c7(0x38f)](_0x52b137){const _0x5da9fa=a0_0x3a67c7;return this['_instance'][_0x5da9fa(0x38f)](_0x52b137);}[a0_0x3a67c7(0x38e)](_0x254573){const _0x5de307=a0_0x3a67c7;return this[_0x5de307(0x378)][_0x5de307(0x38e)](_0x254573);}[a0_0x3a67c7(0x36e)](_0x41e010){const _0x43d7de=a0_0x3a67c7;return this[_0x43d7de(0x378)][_0x43d7de(0x36e)](_0x41e010);}['getOperationRequestFields'](_0x50f67a){const _0x7fd606=a0_0x3a67c7;return this[_0x7fd606(0x378)][_0x7fd606(0x429)](_0x50f67a);}[a0_0x3a67c7(0x2c1)](){const _0x28fa46=a0_0x3a67c7;return this[_0x28fa46(0x378)][_0x28fa46(0x2c1)]();}[a0_0x3a67c7(0x3e8)](){const _0x100e79=a0_0x3a67c7;return this['_instance'][_0x100e79(0x3e8)]();}[a0_0x3a67c7(0x3a9)](){return this['_instance'];}}function createDrivenDataDetailPlus(_0x30290f,_0x58fa08={}){const _0x839d38=a0_0x3a67c7;if(_0x58fa08[_0x839d38(0x187)]==='v1')return new DrivenDataDetailPlusV1(_0x30290f);if(_0x58fa08['forceVersion']==='v2')return new DrivenDataDetailPlusV2(_0x30290f);if(_0x30290f[_0x839d38(0x2d2)]==='v2'||_0x839d38(0x18c)in _0x30290f)return new DrivenDataDetailPlusV2(_0x30290f);return new DrivenDataDetailPlusV1(_0x30290f);}function isPlusV2Instance(_0x4021da){const _0x2d0975=a0_0x3a67c7;return _0x4021da[_0x2d0975(0x406)]()==='v2';}function isPlusV1Instance(_0x464c28){const _0x1fd10a=a0_0x3a67c7;return _0x464c28[_0x1fd10a(0x406)]()==='v1';}var VERSION=a0_0x3a67c7(0x2dd);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/GenericOperation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C,gBAAgB;IAChB,OAAO,CAAC,oBAAoB,CAAC,CAA0B;IAEvD;;OAEG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI3C;;OAEG;IACH,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAInD;;OAEG;IACH,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAuFjD;;OAEG;IACH,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAkBlD;;OAEG;IACH,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO;IAsDtE;;;OAGG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GACA,MAAM;IA2DT;;;;OAIG;IACH,0BAA0B,IAAI,KAAK,CAAC;QAClC,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC;IAYF;;;OAGG;IACM,eAAe,IAAI,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAwCtF;;;OAGG;IACM,iBAAiB,IAAI,cAAc,EAAE;
|
|
1
|
+
{"version":3,"file":"GenericOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/GenericOperation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C,gBAAgB;IAChB,OAAO,CAAC,oBAAoB,CAAC,CAA0B;IAEvD;;OAEG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI3C;;OAEG;IACH,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAInD;;OAEG;IACH,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAuFjD;;OAEG;IACH,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAkBlD;;OAEG;IACH,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO;IAsDtE;;;OAGG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GACA,MAAM;IA2DT;;;;OAIG;IACH,0BAA0B,IAAI,KAAK,CAAC;QAClC,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC;IAYF;;;OAGG;IACM,eAAe,IAAI,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAwCtF;;;OAGG;IACM,iBAAiB,IAAI,cAAc,EAAE;CAiD/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/plus/field-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE/E;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,QAAQ,YAAY;IACpB,OAAO,WAAW;IAClB,cAAc,iBAAiB;IAC/B,cAAc,iBAAiB;IAC/B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,kBAAkB,qBAAqB;IACvC,YAAY,eAAe;IAC3B,YAAY,gBAAgB;IAC5B,sBAAsB,wBAAwB;IAC9C,aAAa,iBAAiB;IAC9B,aAAa,iBAAiB;IAC9B,SAAS,aAAa;IACtB,eAAe,mBAAmB;CACnC;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"field-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/plus/field-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE/E;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,QAAQ,YAAY;IACpB,OAAO,WAAW;IAClB,cAAc,iBAAiB;IAC/B,cAAc,iBAAiB;IAC/B,MAAM,WAAW;IACjB,YAAY,gBAAgB;IAC5B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,kBAAkB,qBAAqB;IACvC,YAAY,eAAe;IAC3B,YAAY,gBAAgB;IAC5B,sBAAsB,wBAAwB;IAC9C,aAAa,iBAAiB;IAC9B,aAAa,iBAAiB;IAC9B,SAAS,aAAa;IACtB,eAAe,mBAAmB;CACnC;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAiB5E,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,UAWzB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,iBAAiB,CA0B1E;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAanF;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAG7D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAG/D;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGpE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGjE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGjE;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAgBtD,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQrD;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAgBxE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAmBlF;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,eAAe,EACtB,aAAa,EAAE,oBAAoB,EACnC,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAuDT;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,eAAe,EAAE,EACzB,aAAa,EAAE,oBAAoB,EACnC,OAAO,CAAC,EAAE,MAAM,GACf,eAAe,EAAE,CAQnB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAQ/D;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAQpF"}
|