@lovrabet/dsparser 1.3.9 → 1.3.11-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const a0_0xf68f23=a0_0x274a;(function(_0x2f5be6,_0x2de91f){const _0x15add3=a0_0x274a,_0x478976=_0x2f5be6();while(!![]){try{const _0x1ca138=parseInt(_0x15add3(0x216))/0x1+parseInt(_0x15add3(0x3e5))/0x2+parseInt(_0x15add3(0x42d))/0x3*(-parseInt(_0x15add3(0x1f2))/0x4)+-parseInt(_0x15add3(0x31a))/0x5+-parseInt(_0x15add3(0x35c))/0x6*(parseInt(_0x15add3(0x3f6))/0x7)+parseInt(_0x15add3(0x25a))/0x8*(-parseInt(_0x15add3(0x27d))/0x9)+parseInt(_0x15add3(0x440))/0xa;if(_0x1ca138===_0x2de91f)break;else _0x478976['push'](_0x478976['shift']());}catch(_0x5b5360){_0x478976['push'](_0x478976['shift']());}}}(a0_0x5e0f,0x49c73));function toCamelCase(_0x439975){const _0x1dcddd=a0_0x274a;if(!_0x439975)return'';return _0x439975[_0x1dcddd(0x3d2)](/[_-]/)[_0x1dcddd(0x336)]((_0x1ceb6c,_0x5c685f)=>{const _0x30721c=_0x1dcddd;if(_0x5c685f===0x0)return _0x1ceb6c[_0x30721c(0x3a4)]();return _0x1ceb6c['charAt'](0x0)[_0x30721c(0x29a)]()+_0x1ceb6c[_0x30721c(0x399)](0x1)[_0x30721c(0x3a4)]();})[_0x1dcddd(0x36f)]('');}function toPascalCase(_0x5622d4){const _0x7a771=a0_0x274a;if(!_0x5622d4)return'';const _0x39ee96=toCamelCase(_0x5622d4);return _0x39ee96[_0x7a771(0x34e)](0x0)[_0x7a771(0x29a)]()+_0x39ee96[_0x7a771(0x399)](0x1);}function toSnakeCase(_0xf18385){const _0x41cf23=a0_0x274a;if(!_0xf18385)return'';return _0xf18385[_0x41cf23(0x3c0)](/([A-Z])/g,'_$1')['toLowerCase']()['replace'](/^_/,'');}function toKebabCase(_0x1a2eee){const _0x15cb88=a0_0x274a;if(!_0x1a2eee)return'';return _0x1a2eee['replace'](/([A-Z])/g,_0x15cb88(0x36e))[_0x15cb88(0x3a4)]()[_0x15cb88(0x3c0)](/^-/,'');}function normalizeFieldName(_0x2838d9){const _0x4aa2e0=a0_0x274a;if(!_0x2838d9)return'';return _0x2838d9['trim']()[_0x4aa2e0(0x3c0)](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')[_0x4aa2e0(0x3c0)](/_+/g,'_')[_0x4aa2e0(0x3c0)](/^_|_$/g,'');}function getTableName(_0xd5e7a2){const _0x481900=a0_0x274a;if(!_0xd5e7a2)return _0x481900(0x347);if(_0xd5e7a2['dbtableConfig']?.[_0x481900(0x27f)])return _0xd5e7a2[_0x481900(0x26d)][_0x481900(0x27f)];const _0xbf1f6d=_0xd5e7a2['datasetCode']||_0xd5e7a2[_0x481900(0x40e)]||_0xd5e7a2[_0x481900(0x3a1)];if(_0xbf1f6d)return generateTableNameFromCode(_0xbf1f6d);return'dataset_000000';}function getTableKey(_0x46e520){const _0x3f9b6b=a0_0x274a;if(typeof _0x46e520===_0x3f9b6b(0x3d4))return toCamelCase(_0x46e520);const _0x1aeb16=getTableName(_0x46e520);return toCamelCase(_0x1aeb16);}function generateTableNameFromCode(_0x8f2742){const _0x1c8686=a0_0x274a;if(!_0x8f2742)return _0x1c8686(0x347);const _0x18abfa=_0x8f2742[_0x1c8686(0x399)](-0x6)['padStart'](0x6,'0');return _0x1c8686(0x257)+_0x18abfa;}function isVirtualTableName(_0x7fe36e){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x7fe36e);}function generateModelKeyFromCode(_0x460376){const _0x53151d=a0_0x274a;if(!_0x460376)return _0x53151d(0x2df);return _0x53151d(0x257)+_0x460376;}function getDbName(_0x15cbc5){const _0x3ec4d0=a0_0x274a;return _0x15cbc5[_0x3ec4d0(0x26d)]?.[_0x3ec4d0(0x340)]||_0x15cbc5[_0x3ec4d0(0x26d)]?.[_0x3ec4d0(0x3fc)]?.['dbName']||'';}function generateDatasetsConfig(_0x43b255,_0x27677f={}){const _0xf2e7eb=a0_0x274a,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x49340f,filter:_0x5174e1}=_0x27677f,_0x1a4e9e=_0x5174e1?_0x43b255[_0xf2e7eb(0x1d7)](_0x5174e1):_0x43b255,_0x5a5e33=new Map();for(const _0x2f8dc6 of _0x1a4e9e){const _0x7fc7f1=getTableName(_0x2f8dc6),_0x58ca1f=getDbName(_0x2f8dc6);!_0x5a5e33[_0xf2e7eb(0x2a9)](_0x7fc7f1)&&_0x5a5e33[_0xf2e7eb(0x386)](_0x7fc7f1,new Set()),_0x5a5e33[_0xf2e7eb(0x2c7)](_0x7fc7f1)['add'](_0x58ca1f);}const _0x2aa879=new Set();for(const [_0x443123,_0x4c7dea]of _0x5a5e33){_0x4c7dea[_0xf2e7eb(0x2b5)]>0x1&&_0x2aa879['add'](_0x443123);}const _0x41de8c={},_0x36b7f3=new Set();for(const _0x30a11f of _0x1a4e9e){const _0x1844a2=getTableName(_0x30a11f);if(enableDeduplication&&_0x36b7f3[_0xf2e7eb(0x2a9)](_0x1844a2)){console[_0xf2e7eb(0x359)](_0xf2e7eb(0x2f6)+_0x1844a2+_0xf2e7eb(0x3da)+_0x30a11f[_0xf2e7eb(0x30b)]+'\x20('+_0x30a11f[_0xf2e7eb(0x362)]+')');continue;}_0x36b7f3[_0xf2e7eb(0x20d)](_0x1844a2);const _0x33970e=_0x49340f?_0x49340f(_0x1844a2,_0x30a11f):getTableKey(_0x1844a2),_0x1f317a=getDbName(_0x30a11f),_0x7826c5=_0x2aa879[_0xf2e7eb(0x2a9)](_0x1844a2)&&_0x1f317a?getTableKey(_0x1f317a)+'_'+_0x33970e:_0x33970e;_0x41de8c[_0x33970e]={'key':_0x33970e,'alias':_0x7826c5,'tableName':_0x1844a2,'datasetCode':_0x30a11f[_0xf2e7eb(0x362)],'name':_0x30a11f[_0xf2e7eb(0x30b)],'id':_0x30a11f['id'],'dbName':_0x1f317a};}return _0x41de8c;}function generateFullDatasetsConfig(_0x838098,_0xa8943={}){const _0xd558db=a0_0x274a,{filter:_0x5c1a2b,datasetNameGenerator:_0x5c110a}=_0xa8943,_0x1982d6=_0x5c1a2b?_0x838098['filter'](_0x5c1a2b):_0x838098,_0x465f2e=new Map();for(const _0x79aba0 of _0x1982d6){const _0x122d4a=getTableName(_0x79aba0),_0x7d4c68=getDbName(_0x79aba0);!_0x465f2e[_0xd558db(0x2a9)](_0x122d4a)&&_0x465f2e[_0xd558db(0x386)](_0x122d4a,new Set()),_0x465f2e['get'](_0x122d4a)[_0xd558db(0x20d)](_0x7d4c68);}const _0x221b43=new Set();for(const [_0xdf7cd4,_0x3bf656]of _0x465f2e){_0x3bf656[_0xd558db(0x2b5)]>0x1&&_0x221b43[_0xd558db(0x20d)](_0xdf7cd4);}const _0x38c4f7=groupByTableName(_0x1982d6),_0x5b7ed2={};for(const [_0x1c702f,_0x529381]of Object['entries'](_0x38c4f7)){if(_0x529381[_0xd558db(0x34c)]===0x1){const _0x41f635=_0x529381[0x0],_0x52978a=_0x5c110a?_0x5c110a(_0x1c702f,_0x41f635):getTableKey(_0x1c702f),_0x10998a=getDbName(_0x41f635),_0x282b9f=_0x221b43[_0xd558db(0x2a9)](_0x1c702f)&&_0x10998a?getTableKey(_0x10998a)+'_'+_0x52978a:_0x52978a;_0x5b7ed2[_0x52978a]={'key':_0x52978a,'alias':_0x282b9f,'tableName':_0x1c702f,'datasetCode':_0x41f635['datasetCode'],'name':_0x41f635['name'],'id':_0x41f635['id'],'dbName':_0x10998a};}else{const _0x429089=[..._0x529381][_0xd558db(0x30e)]((_0x43b3a2,_0x2252d1)=>{const _0x4fa587=Number(_0x43b3a2['id'])||0x0,_0x2c42e8=Number(_0x2252d1['id'])||0x0;return _0x2c42e8-_0x4fa587;});_0x429089[_0xd558db(0x1df)]((_0x514063,_0x3563b1)=>{const _0x34238d=_0xd558db,_0x55bade=_0x5c110a?_0x5c110a(_0x1c702f,_0x514063):getTableKey(_0x1c702f),_0x273dd6=_0x3563b1===0x0?_0x55bade:_0x55bade+'_'+_0x3563b1,_0x20de8a=getDbName(_0x514063),_0x30e4ce=_0x221b43['has'](_0x1c702f)&&_0x20de8a?getTableKey(_0x20de8a)+'_'+_0x273dd6:_0x273dd6;_0x5b7ed2[_0x273dd6]={'key':_0x273dd6,'alias':_0x30e4ce,'tableName':_0x1c702f,'datasetCode':_0x514063[_0x34238d(0x362)],'name':_0x514063[_0x34238d(0x30b)],'id':_0x514063['id'],'dbName':_0x20de8a};});}}return _0x5b7ed2;}function detectTableNameConflicts(_0x49e1a8){const _0x1e2587=a0_0x274a,_0x5dde11={};for(const _0x3eef78 of _0x49e1a8){const _0x32b132=getTableName(_0x3eef78);!_0x5dde11[_0x32b132]&&(_0x5dde11[_0x32b132]=[]),_0x5dde11[_0x32b132][_0x1e2587(0x387)](_0x3eef78);}const _0x1d8630={};for(const [_0x5339b3,_0x32923e]of Object['entries'](_0x5dde11)){_0x32923e[_0x1e2587(0x34c)]>0x1&&(_0x1d8630[_0x5339b3]=_0x32923e);}return{'hasConflicts':Object[_0x1e2587(0x383)](_0x1d8630)[_0x1e2587(0x34c)]>0x0,'conflicts':_0x1d8630};}function createDatasetNameMap(_0x1197fe){const _0x4526c0=a0_0x274a,_0x53d799={};for(const [_0x3510f7,_0x211371]of Object[_0x4526c0(0x1b4)](_0x1197fe)){_0x53d799[_0x3510f7]=_0x211371['datasetCode']||'';}return _0x53d799;}function groupByTableName(_0x2f7e68){const _0x5bf190={};for(const _0x1d40d0 of _0x2f7e68){const _0x576dcc=getTableName(_0x1d40d0);!_0x5bf190[_0x576dcc]&&(_0x5bf190[_0x576dcc]=[]),_0x5bf190[_0x576dcc]['push'](_0x1d40d0);}return _0x5bf190;}function datasetsConfigToArray(_0x57bb55){const _0x3d3b3f=a0_0x274a;return Object[_0x3d3b3f(0x36c)](_0x57bb55);}function adaptDrivenDataDetail(_0x3fffe4){const _0x3c0bf7=a0_0x274a,_0x401663={};return _0x401663['id']=_0x3fffe4['modelId'],_0x401663[_0x3c0bf7(0x30b)]=_0x3fffe4[_0x3c0bf7(0x30b)],_0x401663[_0x3c0bf7(0x362)]=_0x3fffe4['modelCode'],_0x401663['dbtableConfig']=_0x3fffe4[_0x3c0bf7(0x26d)],_0x401663[_0x3c0bf7(0x272)]=_0x3fffe4[_0x3c0bf7(0x272)],_0x401663[_0x3c0bf7(0x29e)]=_0x3fffe4['version'],_0x401663[_0x3c0bf7(0x3c9)]=_0x3fffe4[_0x3c0bf7(0x3c9)],_0x401663[_0x3c0bf7(0x2b3)]=_0x3fffe4[_0x3c0bf7(0x2b3)],_0x401663[_0x3c0bf7(0x23d)]=_0x3fffe4[_0x3c0bf7(0x23d)],_0x401663;}function adaptDrivenDataDetails(_0x297d59){const _0x22926c=a0_0x274a;return _0x297d59[_0x22926c(0x336)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x55bf23){const _0x387388=a0_0x274a;if(!_0x55bf23[_0x387388(0x261)]||!_0x55bf23['data'])throw new Error('获取数据集失败:\x20'+(_0x55bf23[_0x387388(0x3f1)]||_0x55bf23[_0x387388(0x374)]));return adaptDrivenDataDetail(_0x55bf23[_0x387388(0x1eb)]);}function extractDatasetsFromListResponse(_0x54d1ea){const _0x5923e1=a0_0x274a;if(!_0x54d1ea['success']||!_0x54d1ea[_0x5923e1(0x1eb)]?.[_0x5923e1(0x203)])throw new Error(_0x5923e1(0x381)+(_0x54d1ea[_0x5923e1(0x3f1)]||_0x54d1ea[_0x5923e1(0x374)]));return _0x54d1ea[_0x5923e1(0x1eb)][_0x5923e1(0x203)][_0x5923e1(0x336)](_0x52f0d0=>({..._0x52f0d0,'datasetCode':_0x52f0d0[_0x5923e1(0x40e)]||_0x52f0d0[_0x5923e1(0x362)]}));}function isDrivenDataDetail(_0x2efe5b){const _0x599f4f=a0_0x274a;return Boolean(_0x2efe5b&&typeof _0x2efe5b[_0x599f4f(0x3a1)]===_0x599f4f(0x3d4));}function smartAdapt(_0x23fa3b){const _0x6ff5f5=a0_0x274a;if(isDrivenDataDetail(_0x23fa3b))return adaptDrivenDataDetail(_0x23fa3b);if(_0x23fa3b[_0x6ff5f5(0x362)])return _0x23fa3b;if(_0x23fa3b[_0x6ff5f5(0x40e)]){const _0x26eab5={..._0x23fa3b};return _0x26eab5[_0x6ff5f5(0x362)]=_0x23fa3b[_0x6ff5f5(0x40e)],_0x26eab5;}return _0x23fa3b;}function cleanNewlines(_0x286305){return _0x286305['replace'](/[\r\n]+/g,'\x20')['trim']();}function a0_0x274a(_0x34f818,_0xf9fc54){_0x34f818=_0x34f818-0x19b;const _0x5e0fe2=a0_0x5e0f();let _0x274aa4=_0x5e0fe2[_0x34f818];return _0x274aa4;}function cleanDatasetName(_0x3134ff){const _0x1ecb2b=a0_0x274a;if(!_0x3134ff[_0x1ecb2b(0x30b)])return _0x3134ff;return{..._0x3134ff,'name':cleanNewlines(_0x3134ff[_0x1ecb2b(0x30b)])};}function cleanDatasetNames(_0x530485){return _0x530485['map'](cleanDatasetName);}var DatasetOperationType;(_0x5521b7=>{const _0x4fad20=a0_0x274a;_0x5521b7[_0x4fad20(0x38d)]=_0x4fad20(0x2a6),_0x5521b7[_0x4fad20(0x342)]=_0x4fad20(0x3b4),_0x5521b7[_0x4fad20(0x267)]=_0x4fad20(0x3b1),_0x5521b7['GET_ONE_UPDATE']=_0x4fad20(0x348),_0x5521b7[_0x4fad20(0x435)]=_0x4fad20(0x1bc),_0x5521b7[_0x4fad20(0x2d8)]=_0x4fad20(0x410),_0x5521b7[_0x4fad20(0x1af)]=_0x4fad20(0x3dc),_0x5521b7['GET_SELECT_OPTIONS']=_0x4fad20(0x2c0),_0x5521b7['GET_FILE_URL']='getFileUrl',_0x5521b7[_0x4fad20(0x407)]='excelExport',_0x5521b7[_0x4fad20(0x328)]=_0x4fad20(0x411),_0x5521b7[_0x4fad20(0x41c)]=_0x4fad20(0x379),_0x5521b7[_0x4fad20(0x1a4)]='createExport',_0x5521b7[_0x4fad20(0x3ba)]=_0x4fad20(0x1be),_0x5521b7[_0x4fad20(0x443)]=_0x4fad20(0x352);})(DatasetOperationType||={});const a0_0xa42d8d={};a0_0xa42d8d[a0_0xf68f23(0x2a6)]='查询列表',a0_0xa42d8d[a0_0xf68f23(0x3b4)]=a0_0xf68f23(0x335),a0_0xa42d8d[a0_0xf68f23(0x3b1)]=a0_0xf68f23(0x2c1),a0_0xa42d8d[a0_0xf68f23(0x348)]=a0_0xf68f23(0x292),a0_0xa42d8d[a0_0xf68f23(0x1bc)]='创建',a0_0xa42d8d[a0_0xf68f23(0x410)]='更新',a0_0xa42d8d[a0_0xf68f23(0x3dc)]='删除',a0_0xa42d8d[a0_0xf68f23(0x2c0)]=a0_0xf68f23(0x29f),a0_0xa42d8d['getFileUrl']='获取文件URL',a0_0xa42d8d[a0_0xf68f23(0x389)]=a0_0xf68f23(0x2e9),a0_0xa42d8d[a0_0xf68f23(0x411)]=a0_0xf68f23(0x3a6),a0_0xa42d8d[a0_0xf68f23(0x379)]=a0_0xf68f23(0x35b),a0_0xa42d8d[a0_0xf68f23(0x311)]='创建导出',a0_0xa42d8d['taskInfo']=a0_0xf68f23(0x1de),a0_0xa42d8d['importTemplate']=a0_0xf68f23(0x1e2);var OPERATION_TYPE_DISPLAY_NAME=a0_0xa42d8d,API_BLACKLIST=[a0_0xf68f23(0x2a6),'getOneOrigin','getOneUpdate',a0_0xf68f23(0x1ed)];function parseFieldExtend(_0x6f0d29){const _0x155b0a=a0_0xf68f23;if(!_0x6f0d29||typeof _0x6f0d29!==_0x155b0a(0x43a))return!![]&&console[_0x155b0a(0x359)](_0x155b0a(0x3bf),_0x6f0d29),{};if(!_0x6f0d29[_0x155b0a(0x3c9)])return{};try{const _0x2a85fd=typeof _0x6f0d29['extend']===_0x155b0a(0x3d4)?JSON[_0x155b0a(0x28b)](_0x6f0d29['extend']):_0x6f0d29[_0x155b0a(0x3c9)];if(typeof _0x2a85fd!==_0x155b0a(0x43a)||_0x2a85fd===null)return{};return _0x2a85fd;}catch{return{};}}function isPrimaryKeyField(_0x29fe78,_0x3cfa1e){const _0x1c5fc9=a0_0xf68f23;if(!_0x29fe78||typeof _0x29fe78!==_0x1c5fc9(0x43a))return![];if(typeof _0x3cfa1e===_0x1c5fc9(0x3d4)&&_0x29fe78['code']===_0x3cfa1e)return!![];const _0x53faa2=parseFieldExtend(_0x29fe78);return Boolean(_0x53faa2[_0x1c5fc9(0x34b)]||_0x53faa2[_0x1c5fc9(0x3f8)]);}function isSystemField(_0x317cb9){const _0x40f9de=a0_0xf68f23,_0x29333a=parseFieldExtend(_0x317cb9);return Boolean(_0x29333a[_0x40f9de(0x1ee)]);}function isRequiredField(_0x5ae175){const _0x11e36a=a0_0xf68f23,_0x5b7473=parseFieldExtend(_0x5ae175);return Boolean(_0x5b7473[_0x11e36a(0x283)]);}function isAutoIncrementField(_0x260157){const _0x3270ee=parseFieldExtend(_0x260157);return Boolean(_0x3270ee['autoIncrement']);}function isCreateTimeField(_0x2ac578){const _0x204bc5=a0_0xf68f23,_0x299657=parseFieldExtend(_0x2ac578);return Boolean(_0x299657[_0x204bc5(0x2ac)]);}function isModifyTimeField(_0x5c6533){const _0x20c23b=a0_0xf68f23,_0xfd46c=parseFieldExtend(_0x5c6533);return Boolean(_0xfd46c[_0x20c23b(0x253)]);}const a0_0x19082d={};a0_0x19082d['NUMBER']='数字',a0_0x19082d[a0_0xf68f23(0x295)]='文本',a0_0x19082d[a0_0xf68f23(0x330)]='长文本',a0_0x19082d['DATE']='日期',a0_0x19082d[a0_0xf68f23(0x24d)]='日期时间',a0_0x19082d[a0_0xf68f23(0x27c)]=a0_0xf68f23(0x300),a0_0x19082d[a0_0xf68f23(0x3b5)]=a0_0xf68f23(0x1b7),a0_0x19082d[a0_0xf68f23(0x357)]='多选',a0_0x19082d[a0_0xf68f23(0x343)]='单选',a0_0x19082d[a0_0xf68f23(0x308)]='开关',a0_0x19082d[a0_0xf68f23(0x1ce)]=a0_0xf68f23(0x222),a0_0x19082d['IMAGE']='图片',a0_0x19082d[a0_0xf68f23(0x2c9)]=a0_0xf68f23(0x210),a0_0x19082d[a0_0xf68f23(0x310)]=a0_0xf68f23(0x310),a0_0x19082d['ARRAY']='数组';var DB_TYPE_DISPLAY_MAP=a0_0x19082d;function getDbTypeDisplay(_0x56ad42){const _0x31e6fd=a0_0xf68f23;if(typeof _0x56ad42!==_0x31e6fd(0x3d4))return!![]&&console['warn'](_0x31e6fd(0x3f7),_0x56ad42),String(_0x56ad42||'-');return DB_TYPE_DISPLAY_MAP[_0x56ad42]||_0x56ad42;}function formatDbType(_0x1a6734,_0x55d03b){const _0x478891=a0_0xf68f23;if(!_0x1a6734||typeof _0x1a6734!=='string')return'-';if(!_0x55d03b||typeof _0x55d03b!=='number')return _0x1a6734;const _0x46f4b9=[_0x478891(0x295),_0x478891(0x24d),'TIMESTAMP','DATE'];if(_0x46f4b9[_0x478891(0x3bb)](_0x1a6734[_0x478891(0x29a)]()))return _0x1a6734;return _0x1a6734+'('+_0x55d03b+')';}function parseOperationType(_0x45700e){const _0x16227e=a0_0xf68f23;if(typeof _0x45700e!==_0x16227e(0x3d4)){!![]&&console[_0x16227e(0x359)](_0x16227e(0x25d),_0x45700e);return;}if(Object[_0x16227e(0x36c)](DatasetOperationType)['includes'](_0x45700e))return _0x45700e;const _0x2f171b=Object[_0x16227e(0x1b4)](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x594454,_0x20ce0a])=>_0x20ce0a===_0x45700e);return _0x2f171b?_0x2f171b[0x0]:undefined;}function shouldIncludeField(_0x5055bf,_0xd6f497,_0x1a2cc6){const _0x5ce6e2=a0_0xf68f23,_0x12d0fe=parseFieldExtend(_0x5055bf),_0x268b83=isPrimaryKeyField(_0x5055bf,_0x1a2cc6),_0x2eff68=Boolean(_0x12d0fe[_0x5ce6e2(0x1ee)]),_0x1a601b=Boolean(_0x12d0fe[_0x5ce6e2(0x26a)]),_0x165834=Boolean(_0x12d0fe[_0x5ce6e2(0x2ac)]),_0x52f21c=Boolean(_0x12d0fe[_0x5ce6e2(0x253)]);switch(_0xd6f497){case'getList':return!![];case _0x5ce6e2(0x3b4):case'getOneOrigin':case _0x5ce6e2(0x3dc):return _0x268b83;case'create':if(_0x268b83&&_0x1a601b)return![];if(_0x2eff68)return![];if(_0x165834||_0x52f21c)return![];return!![];case'update':case'getOneUpdate':if(_0x268b83)return!![];if(_0x2eff68)return![];if(_0x165834||_0x52f21c)return![];return!![];case _0x5ce6e2(0x2c0):return _0x5055bf[_0x5ce6e2(0x40e)]===_0x5ce6e2(0x40e);default:return!![];}}function getFieldsForOperation(_0x5d6db4,_0x570f73,_0x567aa0){const _0x5b8076=a0_0xf68f23;if(!Array[_0x5b8076(0x30c)](_0x5d6db4))return!![]&&console['warn'](_0x5b8076(0x1b0),_0x5d6db4),[];return _0x5d6db4[_0x5b8076(0x1d7)](_0x4305d8=>shouldIncludeField(_0x4305d8,_0x570f73,_0x567aa0));}function isApiBlacklisted(_0x522562){const _0x515b86=a0_0xf68f23;if(typeof _0x522562!=='string')return!![]&&console[_0x515b86(0x359)](_0x515b86(0x215),_0x522562),![];return API_BLACKLIST[_0x515b86(0x3bb)](_0x522562);}function filterApiOperations(_0x52a527){const _0x536589=a0_0xf68f23;if(!Array[_0x536589(0x30c)](_0x52a527))return!![]&&console[_0x536589(0x359)](_0x536589(0x238),_0x52a527),[];return _0x52a527[_0x536589(0x1d7)](_0x1100c6=>_0x1100c6&&typeof _0x1100c6===_0x536589(0x43a)&&!isApiBlacklisted(_0x1100c6[_0x536589(0x30b)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0xf68f23(0x1cb)](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x1cd5d3})=>{const _0x44e53a=a0_0xf68f23;if(_0x1cd5d3?.[_0x44e53a(0x226)]&&Array[_0x44e53a(0x30c)](_0x1cd5d3[_0x44e53a(0x226)])&&_0x1cd5d3[_0x44e53a(0x226)][_0x44e53a(0x34c)]>0x0)return _0x1cd5d3[_0x44e53a(0x226)][0x0][_0x44e53a(0x45e)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x20bd45})=>{const _0x2697e3=a0_0xf68f23;if(_0x20bd45===_0x2697e3(0x25f))return 0x1;if(_0x20bd45===_0x2697e3(0x2ec))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x17eca0})=>{const _0x426bba=a0_0xf68f23;if(_0x17eca0&&typeof _0x17eca0==='string'){const _0x2877b5=_0x17eca0[_0x426bba(0x3a4)]();if(_0x2877b5['includes']('邮箱')||_0x2877b5[_0x426bba(0x3bb)](_0x426bba(0x45c)))return _0x426bba(0x252);if(_0x2877b5[_0x426bba(0x3bb)]('电话')||_0x2877b5[_0x426bba(0x3bb)]('手机')||_0x2877b5['includes'](_0x426bba(0x3ee)))return'13800138000';if(_0x2877b5[_0x426bba(0x3bb)]('地址')||_0x2877b5[_0x426bba(0x3bb)]('address'))return'北京市朝阳区';if(_0x2877b5[_0x426bba(0x3bb)]('姓名')||_0x2877b5[_0x426bba(0x3bb)](_0x426bba(0x30b)))return'张三';}return _0x426bba(0x1e3);},'VARCHAR':({description:_0x46f640})=>TYPE_VALUE_GENERATORS[a0_0xf68f23(0x295)]({'description':_0x46f640}),'CHAR':({description:_0x3735fd})=>TYPE_VALUE_GENERATORS[a0_0xf68f23(0x295)]({'description':_0x3735fd}),'STRING':({fieldInfo:_0x4896fb,description:_0x2350d6})=>{const _0x15c515=a0_0xf68f23;if(_0x4896fb?.['placeholder']&&typeof _0x4896fb[_0x15c515(0x324)]==='string'&&_0x4896fb['placeholder']!==_0x15c515(0x428))return _0x4896fb[_0x15c515(0x324)][_0x15c515(0x3c0)](/^请输入|^请选择/,'');const _0x3b0412={};return _0x3b0412['description']=_0x2350d6,TYPE_VALUE_GENERATORS['TEXT'](_0x3b0412);},'TEXTAREA':()=>a0_0xf68f23(0x1b2),'LONGTEXT':()=>a0_0xf68f23(0x1b2),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0xf68f23(0x45e)}),'ARRAY':()=>[a0_0xf68f23(0x2ae),a0_0xf68f23(0x3cc)],'UPLOAD':()=>a0_0xf68f23(0x244),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0xf68f23(0x3d6)};function generateExampleValue(_0x54ea60,_0x32a46b,_0x19bcee,_0x1909ed={}){const _0x26c27c=a0_0xf68f23;typeof _0x54ea60!==_0x26c27c(0x3d4)&&(!![]&&console[_0x26c27c(0x359)](_0x26c27c(0x3af),_0x54ea60),_0x54ea60=String(_0x54ea60||''));if(typeof _0x32a46b!==_0x26c27c(0x3d4))return!![]&&console[_0x26c27c(0x359)](_0x26c27c(0x3a8),_0x32a46b),_0x26c27c(0x2da);const {isPrimaryKey:_0x30c89e,dbtableConfig:_0x2b2264}=_0x1909ed;if(_0x30c89e)return 0x1;if(_0x2b2264&&typeof _0x2b2264==='object'){const _0x5d76fa=_0x2b2264[_0x26c27c(0x341)]?.['fieldName']===_0x54ea60,_0x16919a=_0x2b2264['updateTimeField']?.[_0x26c27c(0x24e)]===_0x54ea60;if(_0x5d76fa||_0x16919a){if(_0x19bcee&&typeof _0x19bcee===_0x26c27c(0x3d4)&&_0x19bcee[_0x26c27c(0x29a)]()[_0x26c27c(0x3bb)](_0x26c27c(0x27c)))return Date['now']();return new Date()[_0x26c27c(0x2d9)]()[_0x26c27c(0x3c0)]('T','\x20')[_0x26c27c(0x3d2)]('.')[0x0];}}const _0x5b8a09={..._0x1909ed};_0x5b8a09['fieldCode']=_0x54ea60;const _0x5cd1f6=_0x5b8a09;if(_0x19bcee&&typeof _0x19bcee===_0x26c27c(0x3d4)){const _0x6436aa=_0x19bcee['toUpperCase'](),_0x507e0c=TYPE_VALUE_GENERATORS[_0x6436aa];if(_0x507e0c)return _0x507e0c(_0x5cd1f6);}if(_0x32a46b&&typeof _0x32a46b===_0x26c27c(0x3d4)){const _0x113c05=_0x32a46b[_0x26c27c(0x29a)](),_0x22ab4c=TYPE_VALUE_GENERATORS[_0x113c05];if(_0x22ab4c)return _0x22ab4c(_0x5cd1f6);}return'示例值';}function generateExampleFromSchema(_0x3c9585,_0x2d36f8){const _0x12a450=a0_0xf68f23;if(!_0x3c9585||typeof _0x3c9585!==_0x12a450(0x43a))return{};if(Array[_0x12a450(0x30c)](_0x3c9585)){if(_0x3c9585[_0x12a450(0x34c)]>0x0)return[generateExampleFromSchema(_0x3c9585[0x0],_0x2d36f8)];return[];}const _0x2c576b={};return Object[_0x12a450(0x383)](_0x3c9585)[_0x12a450(0x1df)](_0x4b2e33=>{const _0x47e5c6=_0x12a450,_0x254b33=_0x3c9585[_0x4b2e33];if(_0x254b33&&typeof _0x254b33==='object'&&!Array[_0x47e5c6(0x30c)](_0x254b33)&&_0x254b33[_0x47e5c6(0x282)]){const _0x4c2ca0=_0x254b33,_0x34f3f4=_0x4c2ca0['type'],_0x14a6b6=_0x4c2ca0[_0x47e5c6(0x1e7)];if(typeof _0x34f3f4===_0x47e5c6(0x3d4)){const _0x43a722={};_0x43a722[_0x47e5c6(0x1e7)]=_0x14a6b6,_0x43a722[_0x47e5c6(0x26d)]=_0x2d36f8,_0x2c576b[_0x4b2e33]=generateExampleValue(_0x4b2e33,_0x34f3f4,undefined,_0x43a722);}else _0x2c576b[_0x4b2e33]='示例值';}else{if(Array[_0x47e5c6(0x30c)](_0x254b33))_0x2c576b[_0x4b2e33]=_0x254b33[_0x47e5c6(0x34c)]>0x0?[generateExampleFromSchema(_0x254b33[0x0],_0x2d36f8)]:[];else _0x254b33&&typeof _0x254b33===_0x47e5c6(0x43a)?_0x2c576b[_0x4b2e33]=generateExampleFromSchema(_0x254b33,_0x2d36f8):_0x2c576b[_0x4b2e33]=_0x254b33;}}),_0x2c576b;}function parseRequestBody(_0x3dfc11){const _0x56e5dd=a0_0xf68f23;if(!_0x3dfc11)return{};try{return JSON[_0x56e5dd(0x28b)](_0x3dfc11);}catch(_0x3e9e56){return!![]&&console['warn'](_0x56e5dd(0x385),_0x3e9e56),{};}}function parseResponseBody(_0x391c48){const _0x517c3e=a0_0xf68f23;if(!_0x391c48)return null;try{const _0x2b6736=JSON['parse'](_0x391c48);return _0x2b6736[_0x517c3e(0x2ba)]||_0x2b6736;}catch(_0x25bfc7){return!![]&&console[_0x517c3e(0x359)](_0x517c3e(0x2b4),_0x25bfc7),null;}}function generateRequestExample(_0x1b1fb0,_0x29bf2b,_0x211d19,_0x2d6ff6){const _0x4e616a=a0_0xf68f23,_0x460dd2={};if(!Array['isArray'](_0x1b1fb0))return!![]&&console[_0x4e616a(0x359)](_0x4e616a(0x293),_0x1b1fb0),_0x460dd2;return _0x1b1fb0[_0x4e616a(0x1df)](_0x248e54=>{const _0x39f78b=_0x4e616a;if(!_0x248e54||typeof _0x248e54!==_0x39f78b(0x43a)){!![]&&console[_0x39f78b(0x359)]('[generateRequestExample]\x20Invalid\x20field:',_0x248e54);return;}if(typeof _0x248e54[_0x39f78b(0x40e)]!==_0x39f78b(0x3d4)||typeof _0x248e54['type']!=='string'){!![]&&console['warn'](_0x39f78b(0x3b6),_0x248e54);return;}const _0x169bfa=parseFieldExtend(_0x248e54),_0x5db3b0=_0x248e54[_0x39f78b(0x40e)]===_0x211d19||Boolean(_0x169bfa?.['primaryKey']),_0x27b756=generateExampleValue(_0x248e54[_0x39f78b(0x40e)],_0x248e54[_0x39f78b(0x282)],typeof _0x248e54[_0x39f78b(0x264)]===_0x39f78b(0x3d4)?_0x248e54[_0x39f78b(0x264)]:undefined,{'fieldInfo':_0x169bfa,'isPrimaryKey':_0x5db3b0,'description':_0x248e54[_0x39f78b(0x1e7)]||_0x248e54[_0x39f78b(0x30b)],'dbtableConfig':_0x2d6ff6});_0x460dd2[_0x248e54[_0x39f78b(0x40e)]]=_0x27b756;}),_0x29bf2b===_0x4e616a(0x2a6)&&(_0x460dd2[_0x4e616a(0x25f)]=0x1,_0x460dd2[_0x4e616a(0x2ec)]=0xa),_0x460dd2;}function formatEnumValue(_0x4aae1e,_0x57c0d7){const _0x5f268d=a0_0xf68f23;if(_0x4aae1e[_0x5f268d(0x3ab)]&&Array['isArray'](_0x57c0d7))return _0x57c0d7[_0x5f268d(0x336)](_0xc5ca8f=>_0x4aae1e['valueLabels'][String(_0xc5ca8f)]||String(_0xc5ca8f))[_0x5f268d(0x36f)](',\x20');return _0x4aae1e[_0x5f268d(0x1f8)][String(_0x57c0d7)]||String(_0x57c0d7);}function formatOptionsForDoc(_0x2bb1ed){const _0x47bd76=a0_0xf68f23;return _0x2bb1ed[_0x47bd76(0x336)](_0x26558e=>_0x26558e['value']+'('+_0x26558e['label']+')')[_0x47bd76(0x36f)](',\x20');}function formatOptionsAsMarkdownList(_0x568d5b,_0x49d3a5=0x0){const _0x87b555=a0_0xf68f23,_0x3d116c='\x20\x20'[_0x87b555(0x3e4)](_0x49d3a5),_0x47f8af=[];return _0x568d5b['forEach'](_0x36fd31=>{const _0x4d1595=_0x87b555;_0x47f8af[_0x4d1595(0x387)](_0x3d116c+'-\x20`'+_0x36fd31[_0x4d1595(0x45e)]+_0x4d1595(0x278)+_0x36fd31[_0x4d1595(0x3d5)]),_0x36fd31[_0x4d1595(0x1d4)]&&_0x36fd31[_0x4d1595(0x1d4)][_0x4d1595(0x34c)]>0x0&&_0x47f8af[_0x4d1595(0x387)](formatOptionsAsMarkdownList(_0x36fd31[_0x4d1595(0x1d4)],_0x49d3a5+0x1));}),_0x47f8af[_0x87b555(0x36f)]('\x0a');}class DbtableConfig{[a0_0xf68f23(0x2e3)];constructor(_0x3f3cc6){const _0x51edbd=a0_0xf68f23,_0x5e1f85={..._0x3f3cc6};this[_0x51edbd(0x2e3)]=_0x5e1f85;}get['dbId'](){return this['_raw']['dbId'];}get[a0_0xf68f23(0x340)](){const _0x104a17=a0_0xf68f23;return this[_0x104a17(0x2e3)][_0x104a17(0x340)]??this[_0x104a17(0x2e3)][_0x104a17(0x3fc)]?.[_0x104a17(0x340)];}get['tableName'](){const _0x57ff99=a0_0xf68f23;return this[_0x57ff99(0x2e3)][_0x57ff99(0x27f)];}get['datasetKey'](){const _0x1d1b52=a0_0xf68f23;return this['_raw'][_0x1d1b52(0x384)];}get[a0_0xf68f23(0x3f8)](){const _0x3b3e42=a0_0xf68f23;return this[_0x3b3e42(0x2e3)]['pkField'];}get[a0_0xf68f23(0x42f)](){const _0x531d54=a0_0xf68f23;return this[_0x531d54(0x2e3)]['labelField'];}get[a0_0xf68f23(0x254)](){return this['_raw']['logicField'];}get[a0_0xf68f23(0x341)](){const _0x44f40a=a0_0xf68f23;return this[_0x44f40a(0x2e3)][_0x44f40a(0x341)];}get[a0_0xf68f23(0x280)](){const _0x3b6a80=a0_0xf68f23;return this[_0x3b6a80(0x2e3)][_0x3b6a80(0x280)];}get[a0_0xf68f23(0x3d1)](){const _0x21adf2=a0_0xf68f23;return this[_0x21adf2(0x2e3)][_0x21adf2(0x3d1)];}get['creatorNameField'](){const _0x18e8ad=a0_0xf68f23;return this[_0x18e8ad(0x2e3)][_0x18e8ad(0x28c)];}get[a0_0xf68f23(0x33c)](){const _0x11bff6=a0_0xf68f23;return this[_0x11bff6(0x2e3)][_0x11bff6(0x33c)];}get[a0_0xf68f23(0x3c2)](){const _0x21dd9e=a0_0xf68f23;return this[_0x21dd9e(0x2e3)][_0x21dd9e(0x3c2)];}get[a0_0xf68f23(0x3fc)](){const _0x3aa41a=a0_0xf68f23;return this[_0x3aa41a(0x2e3)][_0x3aa41a(0x3fc)];}[a0_0xf68f23(0x270)](){const _0x13108d=a0_0xf68f23;if(!this['_raw'][_0x13108d(0x2fe)])return[];return this['_raw'][_0x13108d(0x2fe)][_0x13108d(0x3d2)](',')[_0x13108d(0x336)](_0x52c21f=>_0x52c21f[_0x13108d(0x2cb)]())[_0x13108d(0x1d7)](Boolean);}[a0_0xf68f23(0x3a2)](){const _0x44ef5c=a0_0xf68f23;return this[_0x44ef5c(0x2e3)][_0x44ef5c(0x2fe)];}[a0_0xf68f23(0x3c7)](_0x34259d){const _0x2f5e51=a0_0xf68f23;return this['getAllFieldsArray']()[_0x2f5e51(0x3bb)](_0x34259d);}[a0_0xf68f23(0x1c4)](){const _0xfd3d73=a0_0xf68f23;return Boolean(this[_0xfd3d73(0x2e3)][_0xfd3d73(0x27f)]);}['hasDblinkInfo'](){const _0x576307=a0_0xf68f23;return Boolean(this[_0x576307(0x2e3)][_0x576307(0x3fc)]);}['hasLogicField'](){const _0x7815b8=a0_0xf68f23;return Boolean(this[_0x7815b8(0x2e3)][_0x7815b8(0x254)]?.[_0x7815b8(0x24e)]);}[a0_0xf68f23(0x240)](){const _0x3e6462=a0_0xf68f23;return Boolean(this[_0x3e6462(0x2e3)][_0x3e6462(0x341)]?.[_0x3e6462(0x24e)]);}[a0_0xf68f23(0x266)](){const _0x26d342=a0_0xf68f23;return Boolean(this[_0x26d342(0x2e3)]['updateTimeField']?.['fieldName']);}[a0_0xf68f23(0x320)](){const _0xe0e21=a0_0xf68f23;return Boolean(this['_raw'][_0xe0e21(0x3d1)]?.[_0xe0e21(0x24e)]);}[a0_0xf68f23(0x32e)](){const _0x2a4d25=a0_0xf68f23;return Boolean(this[_0x2a4d25(0x2e3)][_0x2a4d25(0x33c)]?.[_0x2a4d25(0x24e)]);}[a0_0xf68f23(0x2c2)](_0x432550){const _0x3fa414=a0_0xf68f23;return this[_0x3fa414(0x2e3)][_0x3fa414(0x3f8)]===_0x432550;}['isSystemField'](_0x2e8e7a){const _0xd13dab=a0_0xf68f23;return this['isPrimaryKeyField'](_0x2e8e7a)||this[_0xd13dab(0x2e3)][_0xd13dab(0x254)]?.[_0xd13dab(0x24e)]===_0x2e8e7a||this['_raw'][_0xd13dab(0x341)]?.[_0xd13dab(0x24e)]===_0x2e8e7a||this[_0xd13dab(0x2e3)][_0xd13dab(0x280)]?.['fieldName']===_0x2e8e7a||this[_0xd13dab(0x2e3)][_0xd13dab(0x3d1)]?.[_0xd13dab(0x24e)]===_0x2e8e7a||this[_0xd13dab(0x2e3)][_0xd13dab(0x28c)]?.[_0xd13dab(0x24e)]===_0x2e8e7a||this[_0xd13dab(0x2e3)][_0xd13dab(0x33c)]?.[_0xd13dab(0x24e)]===_0x2e8e7a||this[_0xd13dab(0x2e3)][_0xd13dab(0x3c2)]?.[_0xd13dab(0x24e)]===_0x2e8e7a;}[a0_0xf68f23(0x396)](){const _0x471cb4=a0_0xf68f23;return this[_0x471cb4(0x2e3)][_0x471cb4(0x3fc)]?.[_0x471cb4(0x340)];}[a0_0xf68f23(0x3cb)](){const _0x4dc17c=a0_0xf68f23;return this['_raw'][_0x4dc17c(0x3fc)]?.['dbType'];}[a0_0xf68f23(0x296)](){const _0x416e6c=a0_0xf68f23;return this[_0x416e6c(0x2e3)][_0x416e6c(0x3fc)]?.[_0x416e6c(0x1aa)];}[a0_0xf68f23(0x20b)](){const _0x13d0ec=a0_0xf68f23;return this[_0x13d0ec(0x2e3)][_0x13d0ec(0x3fc)]?.['tenantCode'];}[a0_0xf68f23(0x1bd)](){const _0x35905d=a0_0xf68f23;return this['_raw'][_0x35905d(0x3fc)]?.['appCode'];}[a0_0xf68f23(0x1ab)](){const _0xa9ff47=a0_0xf68f23;return this[_0xa9ff47(0x2e3)][_0xa9ff47(0x3fc)]?.[_0xa9ff47(0x28a)];}[a0_0xf68f23(0x246)](){const _0x3d8796=a0_0xf68f23;return{'hasTableName':this['hasTableName'](),'hasDblinkInfo':this[_0x3d8796(0x445)](),'fieldCount':this[_0x3d8796(0x270)]()[_0x3d8796(0x34c)],'systemFields':{'hasLogicField':this[_0x3d8796(0x242)](),'hasCreateTimeField':this[_0x3d8796(0x240)](),'hasUpdateTimeField':this[_0x3d8796(0x266)](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x3d8796(0x32e)]()}};}[a0_0xf68f23(0x20c)](){const _0x1c6bc6=a0_0xf68f23,_0x307db9={};return _0x307db9[_0x1c6bc6(0x27f)]=this[_0x1c6bc6(0x27f)],_0x307db9['pkField']=this['pkField'],_0x307db9[_0x1c6bc6(0x384)]=this[_0x1c6bc6(0x384)],_0x307db9[_0x1c6bc6(0x33d)]=this[_0x1c6bc6(0x33d)],_0x307db9;}[a0_0xf68f23(0x277)](){const _0x269e3c=a0_0xf68f23,_0x4f79e5={...this[_0x269e3c(0x2e3)]};return _0x4f79e5;}[a0_0xf68f23(0x201)](){const _0x3944b3={...this['_raw']};return _0x3944b3;}['toString'](){const _0x1eb7f4=a0_0xf68f23,_0x13d850=this[_0x1eb7f4(0x27f)]||_0x1eb7f4(0x2aa),_0x476db7=this[_0x1eb7f4(0x270)]()[_0x1eb7f4(0x34c)];return _0x1eb7f4(0x294)+_0x13d850+_0x1eb7f4(0x2f0)+_0x476db7+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0xf68f23(0x2e3)];constructor(_0x88cb1d){const _0x4863e9=a0_0xf68f23,_0x3e0bf0=_0x88cb1d[_0x4863e9(0x362)]||_0x88cb1d[_0x4863e9(0x40e)]||_0x88cb1d[_0x4863e9(0x3a1)],_0x27b942={..._0x88cb1d};_0x27b942['datasetCode']=_0x3e0bf0,this[_0x4863e9(0x2e3)]=_0x27b942;}get['id'](){const _0x367656=a0_0xf68f23;return this[_0x367656(0x2e3)]['id'];}get[a0_0xf68f23(0x30b)](){const _0x2fc469=a0_0xf68f23;return this[_0x2fc469(0x2e3)][_0x2fc469(0x30b)];}['getName'](){const _0x3459e1=a0_0xf68f23;return this[_0x3459e1(0x30b)];}get['datasetCode'](){const _0x331d7c=a0_0xf68f23;return this[_0x331d7c(0x2e3)][_0x331d7c(0x362)]||'';}get[a0_0xf68f23(0x26d)](){const _0x2a124a=a0_0xf68f23;if(!this[_0x2a124a(0x2e3)][_0x2a124a(0x26d)])return null;return new DbtableConfig(this['_raw']['dbtableConfig']);}[a0_0xf68f23(0x298)](){const _0x3f163e=a0_0xf68f23;return this['_raw'][_0x3f163e(0x26d)];}[a0_0xf68f23(0x346)](){const _0x467c12=a0_0xf68f23;return this[_0x467c12(0x26d)]?.[_0x467c12(0x340)]||'';}[a0_0xf68f23(0x45a)](){return getTableName(this['_raw']);}[a0_0xf68f23(0x1ac)](){const _0x567329=a0_0xf68f23;return getTableKey(this[_0x567329(0x45a)]());}[a0_0xf68f23(0x290)](){const _0x1fcd62=a0_0xf68f23;return generateModelKeyFromCode(this[_0x1fcd62(0x362)]);}[a0_0xf68f23(0x241)](){return isVirtualTableName(this['getTableName']());}[a0_0xf68f23(0x2cf)](){const _0x2eda72=a0_0xf68f23;return getTableKey(this[_0x2eda72(0x45a)]());}[a0_0xf68f23(0x20c)](){const _0x15f2c6=a0_0xf68f23,_0x4fd390=getTableKey(this['getTableName']());return{'key':_0x4fd390,'alias':_0x4fd390,'tableName':this[_0x15f2c6(0x45a)](),'datasetCode':this['datasetCode'],'name':this[_0x15f2c6(0x30b)]};}['toJSON'](){const _0x294780=a0_0xf68f23,_0x54fdf0={...this[_0x294780(0x2e3)]};return _0x54fdf0[_0x294780(0x362)]=this[_0x294780(0x362)],_0x54fdf0;}[a0_0xf68f23(0x201)](){const _0x35e54a=a0_0xf68f23,_0x1d3d15={...this[_0x35e54a(0x2e3)]};return _0x1d3d15;}[a0_0xf68f23(0x2ee)](){const _0x4c990c=a0_0xf68f23,_0x12f016=this[_0x4c990c(0x26d)];return _0x12f016!==null&&_0x12f016[_0x4c990c(0x1c4)]();}[a0_0xf68f23(0x40b)](_0x5eaa41){return this['_raw'][_0x5eaa41];}[a0_0xf68f23(0x40a)](_0x53f45e){return _0x53f45e in this['_raw'];}[a0_0xf68f23(0x250)](){const _0x291a24=a0_0xf68f23;return _0x291a24(0x26b)+this[_0x291a24(0x30b)]+',\x20'+this[_0x291a24(0x362)]+')';}}class Operation{[a0_0xf68f23(0x30b)];[a0_0xf68f23(0x2e3)];['context'];constructor(_0x34d45d,_0xe5f2e2,_0xa4d0ec){const _0x284591=a0_0xf68f23;this[_0x284591(0x30b)]=_0x34d45d,this[_0x284591(0x2e3)]=_0xe5f2e2,this[_0x284591(0x211)]=_0xa4d0ec;}[a0_0xf68f23(0x1fd)](){const _0x3f0718=a0_0xf68f23;return this[_0x3f0718(0x30b)];}[a0_0xf68f23(0x322)](){const _0x25a87f=a0_0xf68f23;return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this[_0x25a87f(0x30b)];}[a0_0xf68f23(0x43d)](){const _0x59d305=a0_0xf68f23;return parseOperationType(this[_0x59d305(0x30b)]);}[a0_0xf68f23(0x41b)](){const _0x25e765=a0_0xf68f23;return this[_0x25e765(0x2e3)]!==null&&this['_raw']!==![];}['getMethod'](){const _0x45a0a8=a0_0xf68f23,_0x503c42=this[_0x45a0a8(0x2e3)];if(_0x503c42===![]||_0x503c42===null)return'';return _0x503c42[_0x45a0a8(0x321)]||_0x45a0a8(0x334);}['getPath'](){const _0x1ba7c1=a0_0xf68f23,_0x326bbd=this[_0x1ba7c1(0x2e3)];if(_0x326bbd===![]||_0x326bbd===null)return'';return _0x326bbd['path']||'';}[a0_0xf68f23(0x382)](){const _0x27b46a=a0_0xf68f23,_0x403f76=this[_0x27b46a(0x2e3)];let _0x3edacf='';_0x403f76!==![]&&_0x403f76!==null&&_0x403f76[_0x27b46a(0x248)]&&(_0x3edacf=_0x403f76['host']);const _0x218aa5=this[_0x27b46a(0x2e2)]();return _0x3edacf&&_0x218aa5?''+_0x3edacf+_0x218aa5:_0x218aa5;}[a0_0xf68f23(0x376)](){const _0x434709=a0_0xf68f23,_0x3906eb=this[_0x434709(0x2e3)];if(_0x3906eb===![]||_0x3906eb===null||!_0x3906eb['requestBody'])return{};try{return JSON[_0x434709(0x28b)](_0x3906eb[_0x434709(0x237)]);}catch{return{};}}[a0_0xf68f23(0x312)](){const _0x29fbd4=a0_0xf68f23,_0xcd8232=this[_0x29fbd4(0x2e3)];if(_0xcd8232===![]||_0xcd8232===null||!_0xcd8232[_0x29fbd4(0x2db)])return null;return parseResponseBody(_0xcd8232[_0x29fbd4(0x2db)]);}[a0_0xf68f23(0x299)](){const _0x42a214=a0_0xf68f23;return this[_0x42a214(0x376)]();}['getResponseSchema'](){return this['parseRawResponseBody']();}[a0_0xf68f23(0x1cd)](){const _0xbd6f83=a0_0xf68f23,_0x52cca4=this[_0xbd6f83(0x299)]();return Object[_0xbd6f83(0x383)](_0x52cca4);}['generateRequestExample'](){const _0x32822e=a0_0xf68f23,_0x17b623=this[_0x32822e(0x299)](),_0x1a83f3={};return Object[_0x32822e(0x1b4)](_0x17b623)[_0x32822e(0x1df)](([_0x13d83f,_0x252949])=>{const _0x4961c5=_0x32822e,_0x58ec72=_0x252949;_0x1a83f3[_0x13d83f]=generateExampleValue(_0x13d83f,_0x58ec72[_0x4961c5(0x282)]||_0x4961c5(0x297),undefined,{'description':_0x58ec72[_0x4961c5(0x1e7)]});}),_0x1a83f3;}[a0_0xf68f23(0x1bf)](){const _0xc22172=a0_0xf68f23;return this[_0xc22172(0x454)]();}[a0_0xf68f23(0x38b)](){const _0x4f9ebb=a0_0xf68f23,_0x211bcb=this[_0x4f9ebb(0x312)]();if(!_0x211bcb){const _0x1f489b={};return _0x1f489b['success']=!![],_0x1f489b[_0x4f9ebb(0x374)]=_0x4f9ebb(0x22e),_0x1f489b[_0x4f9ebb(0x3f1)]='',_0x1f489b[_0x4f9ebb(0x2f5)]=_0x4f9ebb(0x401),_0x1f489b[_0x4f9ebb(0x1eb)]=null,_0x1f489b;}return this[_0x4f9ebb(0x429)](_0x211bcb);}[a0_0xf68f23(0x429)](_0x1a4626){const _0x4e5696=a0_0xf68f23;if(!_0x1a4626||typeof _0x1a4626!==_0x4e5696(0x43a))return{};if(Array[_0x4e5696(0x30c)](_0x1a4626))return _0x1a4626[_0x4e5696(0x34c)]>0x0?[this[_0x4e5696(0x429)](_0x1a4626[0x0])]:[];const _0x27d973={};for(const [_0x59751e,_0x23c73d]of Object[_0x4e5696(0x1b4)](_0x1a4626)){if(_0x23c73d&&typeof _0x23c73d==='object'&&!Array[_0x4e5696(0x30c)](_0x23c73d)){const _0x1306ba=_0x23c73d;_0x27d973[_0x59751e]=generateExampleValue(_0x59751e,_0x1306ba[_0x4e5696(0x282)]||_0x4e5696(0x297),undefined,{'description':_0x1306ba[_0x4e5696(0x1e7)]});}else Array['isArray'](_0x23c73d)?_0x27d973[_0x59751e]=_0x23c73d[_0x4e5696(0x34c)]>0x0?[this['generateFromSchema'](_0x23c73d[0x0])]:[]:_0x27d973[_0x59751e]=_0x23c73d;}return _0x27d973;}[a0_0xf68f23(0x2eb)](_0xa82d86,_0x17c87e,_0x5bf48e,_0x45ca21){return generateExampleValue(_0xa82d86,_0x17c87e,_0x5bf48e,_0x45ca21);}[a0_0xf68f23(0x1b3)](_0x56cbe3,_0x5a88cc){const _0x4c8e05=a0_0xf68f23,_0x5acde0=this[_0x4c8e05(0x1fd)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x56cbe3+'.'+_0x5acde0+_0x4c8e05(0x212);}[a0_0xf68f23(0x3b0)](_0x4f1bf7){const _0x2ad900=a0_0xf68f23,_0x531a6c=this[_0x2ad900(0x1fd)](),_0x261e5f=_0x4f1bf7||_0x2ad900(0x2de),_0x1fa012={};return _0x1fa012[_0x2ad900(0x43f)]='const\x20data\x20=\x20await\x20client.models.'+_0x261e5f+'.'+_0x531a6c+_0x2ad900(0x212),_0x1fa012[_0x2ad900(0x2f5)]=_0x2ad900(0x2ea)+_0x261e5f+'.'+_0x531a6c+_0x2ad900(0x1f7),_0x1fa012;}['getRequestParamsDocInfo'](){const _0x26132f=a0_0xf68f23,_0x7290ee=this[_0x26132f(0x299)](),_0x14eb77=Object[_0x26132f(0x1b4)](_0x7290ee)[_0x26132f(0x336)](([_0x14aed2,_0x58f144])=>{const _0x3131f9=_0x26132f,_0x462e34=_0x58f144,_0x125dd5={};return _0x125dd5[_0x3131f9(0x30b)]=_0x14aed2,_0x125dd5[_0x3131f9(0x282)]=_0x462e34[_0x3131f9(0x282)]||_0x3131f9(0x297),_0x125dd5['description']=_0x462e34[_0x3131f9(0x1e7)]||'-',_0x125dd5[_0x3131f9(0x283)]=_0x462e34[_0x3131f9(0x283)],_0x125dd5;}),_0x1e5dc7={};return _0x1e5dc7[_0x26132f(0x39d)]=_0x14eb77,_0x1e5dc7;}[a0_0xf68f23(0x33e)](){const _0x141f4a=a0_0xf68f23,_0x409ee8=this[_0x141f4a(0x312)]();if(!_0x409ee8){const _0x256138={};return _0x256138[_0x141f4a(0x39d)]=[],_0x256138;}const _0x396a60=Object[_0x141f4a(0x1b4)](_0x409ee8)[_0x141f4a(0x336)](([_0x5a4ebe,_0x3ba743])=>{const _0x3a9b18=_0x141f4a,_0x529b59=_0x3ba743,_0x1596ce={};return _0x1596ce[_0x3a9b18(0x30b)]=_0x5a4ebe,_0x1596ce[_0x3a9b18(0x282)]=_0x529b59[_0x3a9b18(0x282)]||'String',_0x1596ce[_0x3a9b18(0x1e7)]=_0x529b59[_0x3a9b18(0x1e7)]||'-',_0x1596ce;}),_0x17ef97={};return _0x17ef97['params']=_0x396a60,_0x17ef97;}[a0_0xf68f23(0x314)](){return[];}['getBusinessFields'](){const _0xcc9999=a0_0xf68f23;return this[_0xcc9999(0x211)][_0xcc9999(0x2a1)]||[];}[a0_0xf68f23(0x19b)](){const _0x12f337=a0_0xf68f23;return{'systemFields':this[_0x12f337(0x314)](),'businessFields':this[_0x12f337(0x2fd)]()};}[a0_0xf68f23(0x31b)](_0x41a4bf){const _0x581cc4=a0_0xf68f23;return this['context'][_0x581cc4(0x2a1)][_0x581cc4(0x1b6)](_0x320626=>_0x320626?.[_0x581cc4(0x40e)]===_0x41a4bf);}[a0_0xf68f23(0x247)](_0xb85ff7){const _0x46dda3=a0_0xf68f23;return _0xb85ff7[_0x46dda3(0x40e)];}[a0_0xf68f23(0x2f2)](_0x382e50){const _0x49e548=a0_0xf68f23;return _0x382e50[_0x49e548(0x282)];}[a0_0xf68f23(0x30f)](_0x259862){const _0x634518=a0_0xf68f23;return _0x259862[_0x634518(0x30b)];}[a0_0xf68f23(0x34d)](_0x3d3e02){const _0x349303=a0_0xf68f23;return _0x3d3e02[_0x349303(0x1e7)];}['getFieldOptions'](_0x4eecdd){const _0x42ab61=a0_0xf68f23;return _0x4eecdd[_0x42ab61(0x2b0)]()||null;}[a0_0xf68f23(0x2d0)](_0x15d2af){const _0x5789ed=a0_0xf68f23;return _0x15d2af[_0x5789ed(0x3db)]();}[a0_0xf68f23(0x1e5)](){return[];}[a0_0xf68f23(0x458)](_0x367975){return[];}['toJSON'](){const _0x21c7c0=a0_0xf68f23;return{'name':this['getName'](),'displayName':this[_0x21c7c0(0x322)](),'type':this[_0x21c7c0(0x43d)](),'enabled':this[_0x21c7c0(0x41b)](),'method':this[_0x21c7c0(0x3e0)](),'path':this[_0x21c7c0(0x2e2)](),'fullUrl':this[_0x21c7c0(0x382)](),'requestParams':this[_0x21c7c0(0x299)](),'requestExample':this[_0x21c7c0(0x454)](),'responseExample':this[_0x21c7c0(0x38b)]()};}[a0_0xf68f23(0x250)](){const _0x5e1562=a0_0xf68f23,_0x27ba7c=this['isEnabled']()?'启用':'禁用';return this[_0x5e1562(0x322)]()+'('+this[_0x5e1562(0x30b)]+',\x20'+_0x27ba7c+')';}}class GenericOperation extends Operation{[a0_0xf68f23(0x2ad)];[a0_0xf68f23(0x299)](){const _0x4296d9=a0_0xf68f23;return this[_0x4296d9(0x376)]();}[a0_0xf68f23(0x405)](){const _0x8f0a28=a0_0xf68f23;return this[_0x8f0a28(0x312)]();}[a0_0xf68f23(0x454)](){const _0x398eb4=a0_0xf68f23;if(this[_0x398eb4(0x2ad)])return this['_requestExampleCache'];const _0x28114f={},_0x25973a=this['getRequestParams'](),_0x6fbd50=this['getType']();if(Object[_0x398eb4(0x383)](_0x25973a)[_0x398eb4(0x34c)]===0x0&&_0x6fbd50){const _0x114d35=this['getBusinessFields']();return _0x114d35['forEach'](_0x454dde=>{const _0xbc101d=_0x398eb4,_0x40a69e=_0x454dde[_0xbc101d(0x40e)],_0x1e9400=_0x454dde[_0xbc101d(0x282)],_0x270c4d=this[_0xbc101d(0x2eb)](_0x40a69e,_0x1e9400,_0x454dde[_0xbc101d(0x1d8)](),{'isPrimaryKey':_0x454dde[_0xbc101d(0x3db)](),'description':_0x454dde[_0xbc101d(0x1e7)]||_0x454dde[_0xbc101d(0x30b)]});_0x28114f[_0x40a69e]=_0x270c4d;}),this[_0x398eb4(0x2ad)]=_0x28114f,_0x28114f;}return Object[_0x398eb4(0x1b4)](_0x25973a)[_0x398eb4(0x1df)](([_0x456f2a,_0x1b9f75])=>{const _0x5edfb2=_0x398eb4,_0x19f60c=_0x1b9f75;let _0x435d19;if(typeof _0x19f60c[_0x5edfb2(0x282)]===_0x5edfb2(0x3d4))_0x435d19=_0x19f60c['type'];else _0x19f60c['type']&&typeof _0x19f60c[_0x5edfb2(0x282)]===_0x5edfb2(0x43a)?_0x435d19=_0x19f60c[_0x5edfb2(0x282)][_0x5edfb2(0x282)]||_0x5edfb2(0x295):_0x435d19=_0x5edfb2(0x295);const _0x58b4c2=_0x19f60c[_0x5edfb2(0x1e7)],_0x83dcf3=this[_0x5edfb2(0x31b)](_0x456f2a);if(_0x456f2a==='currentPage')_0x28114f[_0x456f2a]=0x1;else{if(_0x456f2a===_0x5edfb2(0x2ec))_0x28114f[_0x456f2a]=0xa;else{if(_0x456f2a==='id')_0x28114f[_0x456f2a]=0x1;else{const _0x59222d=_0x83dcf3?_0x83dcf3[_0x5edfb2(0x1d8)]():undefined,_0x579554=_0x83dcf3?_0x83dcf3['description']:undefined,_0xa988be=_0x83dcf3?_0x83dcf3[_0x5edfb2(0x30b)]:undefined;_0x28114f[_0x456f2a]=this[_0x5edfb2(0x2eb)](_0x456f2a,_0x435d19,_0x59222d||undefined,{'isPrimaryKey':_0x456f2a===this['context']['pkField']||_0x456f2a==='id','description':_0x58b4c2||_0x579554||_0xa988be});}}}}),this[_0x398eb4(0x2ad)]=_0x28114f,_0x28114f;}[a0_0xf68f23(0x38b)](){const _0x1e3aa1=a0_0xf68f23,_0x1455bd=this['getResponseSchema']();if(!_0x1455bd){const _0x2f674a={};return _0x2f674a['success']=!![],_0x2f674a[_0x1e3aa1(0x374)]=_0x1e3aa1(0x22e),_0x2f674a[_0x1e3aa1(0x3f1)]='',_0x2f674a['errorCode']=_0x1e3aa1(0x401),_0x2f674a[_0x1e3aa1(0x1eb)]=null,_0x2f674a;}return this['generateFromSchema'](_0x1455bd);}[a0_0xf68f23(0x429)](_0x47aefc){const _0x52f984=a0_0xf68f23;if(!_0x47aefc||typeof _0x47aefc!==_0x52f984(0x43a))return{};if(Array[_0x52f984(0x30c)](_0x47aefc)){if(_0x47aefc['length']>0x0)return[this['generateFromSchema'](_0x47aefc[0x0])];return[];}const _0x27e9c5={};return Object[_0x52f984(0x383)](_0x47aefc)['forEach'](_0x8bbb39=>{const _0x509dcc=_0x52f984,_0x1d434e=_0x47aefc[_0x8bbb39];if(_0x1d434e&&typeof _0x1d434e===_0x509dcc(0x43a)&&!Array[_0x509dcc(0x30c)](_0x1d434e)&&_0x1d434e[_0x509dcc(0x282)]){const _0x28826b=_0x1d434e;let _0xeba1e3;if(typeof _0x28826b[_0x509dcc(0x282)]===_0x509dcc(0x3d4))_0xeba1e3=_0x28826b['type'];else _0x28826b[_0x509dcc(0x282)]&&typeof _0x28826b[_0x509dcc(0x282)]==='object'?_0xeba1e3=_0x28826b[_0x509dcc(0x282)]['type']||_0x509dcc(0x295):_0xeba1e3='TEXT';const _0x5d507b=_0x28826b['description'],_0x227f90={};_0x227f90[_0x509dcc(0x1e7)]=_0x5d507b,_0x27e9c5[_0x8bbb39]=this['generateFieldExample'](_0x8bbb39,_0xeba1e3,undefined,_0x227f90);}else{if(Array[_0x509dcc(0x30c)](_0x1d434e))_0x27e9c5[_0x8bbb39]=_0x1d434e[_0x509dcc(0x34c)]>0x0?[this[_0x509dcc(0x429)](_0x1d434e[0x0])]:[];else _0x1d434e&&typeof _0x1d434e===_0x509dcc(0x43a)?_0x27e9c5[_0x8bbb39]=this[_0x509dcc(0x429)](_0x1d434e):_0x27e9c5[_0x8bbb39]=_0x1d434e;}}),_0x27e9c5;}[a0_0xf68f23(0x1b3)](_0x1d31df,_0x214ed7){const _0x4277f6=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x214ed7||{},_0x3b1593=this[_0x4277f6(0x1fd)](),_0x380632=this['getType'](),_0x560a86=this[_0x4277f6(0x1cd)](),_0x50dbd0=this['generateRequestExample'](),_0x415191=_0x4cdc58=>{const _0x3160db=_0x4277f6;if(Object[_0x3160db(0x383)](_0x4cdc58)['length']===0x0)return'{}';const _0xeb3d20=JSON[_0x3160db(0x375)](_0x4cdc58,null,0x2)[_0x3160db(0x3d2)]('\x0a')[_0x3160db(0x336)]((_0x2c0049,_0x3baffb)=>_0x3baffb===0x0?_0x2c0049:indent+_0x2c0049)[_0x3160db(0x36f)]('\x0a');return _0xeb3d20;};switch(_0x380632){case _0x4277f6(0x3b4):case'delete':return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+'(id);';case _0x4277f6(0x410):if(useFullExample&&Object['keys'](_0x50dbd0)[_0x4277f6(0x34c)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x1d31df+'.'+_0x3b1593+'(id,\x20'+_0x415191(_0x50dbd0)+');';return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+_0x4277f6(0x1ba);case _0x4277f6(0x1bc):case _0x4277f6(0x2a6):case _0x4277f6(0x2c0):default:if(_0x560a86[_0x4277f6(0x34c)]>0x0){if(useFullExample&&Object[_0x4277f6(0x383)](_0x50dbd0)[_0x4277f6(0x34c)]>0x0)return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+'('+_0x415191(_0x50dbd0)+');';else{const _0x33aacf=Object['keys'](_0x50dbd0);if(_0x33aacf[_0x4277f6(0x34c)]>0x0){const _0x5e5586=_0x33aacf[_0x4277f6(0x399)](0x0,0x2)[_0x4277f6(0x36f)](',\x20');return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+_0x4277f6(0x40f)+_0x5e5586+',\x20...\x20});';}else return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+_0x4277f6(0x42a);}}else return _0x4277f6(0x35f)+_0x1d31df+'.'+_0x3b1593+_0x4277f6(0x212);}}[a0_0xf68f23(0x3fd)](){const _0x72359=a0_0xf68f23;return[{'title':_0x72359(0x220),'data':this[_0x72359(0x454)]()}];}[a0_0xf68f23(0x314)](){const _0x7dc268=a0_0xf68f23,_0x3a3a34=this[_0x7dc268(0x43d)](),_0x3cdb95=[];switch(_0x3a3a34){case'getOne':case _0x7dc268(0x3dc):const _0x12f551={};_0x12f551[_0x7dc268(0x40e)]='id',_0x12f551[_0x7dc268(0x282)]=_0x7dc268(0x42c),_0x12f551[_0x7dc268(0x1e7)]=_0x7dc268(0x21e),_0x3cdb95[_0x7dc268(0x387)](_0x12f551);break;case _0x7dc268(0x2a6):const _0x332f25={};_0x332f25['code']='currentPage',_0x332f25[_0x7dc268(0x282)]='NUMBER',_0x332f25[_0x7dc268(0x1e7)]=_0x7dc268(0x287);const _0x4eb446={};_0x4eb446['code']=_0x7dc268(0x2ec),_0x4eb446[_0x7dc268(0x282)]=_0x7dc268(0x42c),_0x4eb446[_0x7dc268(0x1e7)]=_0x7dc268(0x1f0),_0x3cdb95['push'](_0x332f25,_0x4eb446);break;case'getSelectOptions':const _0x226122={};_0x226122['code']=_0x7dc268(0x40e),_0x226122[_0x7dc268(0x282)]='STRING',_0x226122['description']='选项编码(可选)',_0x3cdb95[_0x7dc268(0x387)](_0x226122);break;default:break;}return _0x3cdb95;}['getBusinessFields'](){const _0x5a503a=a0_0xf68f23,_0x270291=this[_0x5a503a(0x43d)](),_0x5280a9=this[_0x5a503a(0x211)][_0x5a503a(0x2a1)]||[];switch(_0x270291){case _0x5a503a(0x3b4):case _0x5a503a(0x3dc):return[];case'create':return _0x5280a9[_0x5a503a(0x1d7)](_0x5e8381=>{const _0x26f135=_0x5a503a;if(_0x5e8381[_0x26f135(0x2fa)])return![];if(_0x5e8381[_0x26f135(0x3db)]()&&_0x5e8381['isAutoIncrement']())return![];if(_0x5e8381[_0x26f135(0x21f)]())return![];if(_0x5e8381[_0x26f135(0x42e)]()||_0x5e8381['isUpdateTime']())return![];return!![];});case _0x5a503a(0x410):return _0x5280a9[_0x5a503a(0x1d7)](_0x12c77c=>{const _0x4f2f9e=_0x5a503a;if(_0x12c77c[_0x4f2f9e(0x2fa)])return![];if(_0x12c77c[_0x4f2f9e(0x3db)]())return![];if(_0x12c77c[_0x4f2f9e(0x21f)]())return![];if(_0x12c77c[_0x4f2f9e(0x42e)]()||_0x12c77c[_0x4f2f9e(0x441)]())return![];if(_0x12c77c['isAutoIncrement']())return![];return!![];});case _0x5a503a(0x2a6):case _0x5a503a(0x2c0):return _0x5280a9['filter'](_0x35d605=>!_0x35d605['deleted']&&_0x35d605[_0x5a503a(0x3ff)]());default:return _0x5280a9[_0x5a503a(0x1d7)](_0x5c2713=>!_0x5c2713[_0x5a503a(0x2fa)]&&_0x5c2713[_0x5a503a(0x3ff)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0xf68f23(0x299)](){const _0x23378c=a0_0xf68f23,_0x510197=super[_0x23378c(0x299)](),_0x285079=Object['keys'](_0x510197);if(_0x285079[_0x23378c(0x34c)]===0x0||_0x285079['length']===0x1&&_0x285079[0x0]==='code'){if(!_0x510197['code']){const _0x3c14f2={};_0x3c14f2[_0x23378c(0x282)]=_0x23378c(0x297),_0x3c14f2[_0x23378c(0x1e7)]=_0x23378c(0x2f7),_0x510197[_0x23378c(0x40e)]=_0x3c14f2;}const _0x545eb1={};_0x545eb1[_0x23378c(0x282)]=_0x23378c(0x297),_0x545eb1['description']=_0x23378c(0x269),_0x510197[_0x23378c(0x3d5)]=_0x545eb1;}return _0x510197;}['getBusinessFields'](){return[];}[a0_0xf68f23(0x314)](){const _0x3d0abb=a0_0xf68f23,_0x5b61b2={};_0x5b61b2[_0x3d0abb(0x40e)]=_0x3d0abb(0x40e),_0x5b61b2[_0x3d0abb(0x282)]=_0x3d0abb(0x297),_0x5b61b2[_0x3d0abb(0x1e7)]=_0x3d0abb(0x2f7);const _0x4d461c={};return _0x4d461c[_0x3d0abb(0x40e)]='label',_0x4d461c[_0x3d0abb(0x282)]=_0x3d0abb(0x297),_0x4d461c[_0x3d0abb(0x1e7)]='字段名称',[_0x5b61b2,_0x4d461c];}['generateRequestExample'](){const _0x1f311d=a0_0xf68f23,_0x3ab218={};return _0x3ab218['code']=_0x1f311d(0x276),_0x3ab218[_0x1f311d(0x3d5)]=_0x1f311d(0x276),_0x3ab218;}['generateSDKCallCode'](_0x27daa4){const _0x225cdb=a0_0xf68f23,_0x3a2a2e=this[_0x225cdb(0x1fd)]();return _0x225cdb(0x35f)+_0x27daa4+'.'+_0x3a2a2e+_0x225cdb(0x391);}}class GetListOperation extends GenericOperation{[a0_0xf68f23(0x299)](){const _0x141822=a0_0xf68f23,_0x3255be=super[_0x141822(0x299)](),{currentPage:_0x63a957,pageSize:_0x5a77d9,..._0x70476b}=_0x3255be,_0x174f19={};Object[_0x141822(0x1b4)](_0x70476b)[_0x141822(0x1df)](([_0x5c8d14,_0xe80a2a])=>{const _0xd99592=_0x141822;if(typeof _0xe80a2a===_0xd99592(0x43a)&&_0xe80a2a!==null){const _0x3f3a50=_0xe80a2a,_0x4af1d0=_0x3f3a50[_0xd99592(0x1e7)]||'',_0x2dc448={..._0x3f3a50};_0x2dc448[_0xd99592(0x1e7)]=_0x4af1d0?_0x4af1d0+_0xd99592(0x2e0):_0xd99592(0x2a5),_0x174f19[_0x5c8d14]=_0x2dc448;}else _0x174f19[_0x5c8d14]=_0xe80a2a;});const _0x5636a4={...typeof _0x63a957===_0x141822(0x43a)?_0x63a957:{}};_0x5636a4[_0x141822(0x282)]=_0x141822(0x37e),_0x5636a4[_0x141822(0x1e7)]=_0x141822(0x287);const _0x439ca8={...typeof _0x5a77d9===_0x141822(0x43a)?_0x5a77d9:{}};_0x439ca8['type']='Number',_0x439ca8[_0x141822(0x1e7)]=_0x141822(0x3b9);const _0x4880d1={..._0x174f19};return _0x4880d1[_0x141822(0x25f)]=_0x5636a4,_0x4880d1[_0x141822(0x2ec)]=_0x439ca8,_0x4880d1;}[a0_0xf68f23(0x454)](_0x1bfe9e){const _0x329339=a0_0xf68f23,{useArrayValues:useArrayValues=!![]}=_0x1bfe9e||{},_0x54e71c=super[_0x329339(0x454)](),{currentPage:_0x2c001a,pageSize:_0x252ab5,..._0x1e3cd8}=_0x54e71c;if(!useArrayValues){const _0x5cc6f7={..._0x1e3cd8};return _0x5cc6f7['currentPage']=_0x2c001a??0x1,_0x5cc6f7['pageSize']=_0x252ab5??0xa,_0x5cc6f7;}const _0x2097e6={},_0x3cfc3e=['id',_0x329339(0x20e),_0x329339(0x40e),_0x329339(0x282)];Object[_0x329339(0x1b4)](_0x1e3cd8)[_0x329339(0x1df)](([_0x5c0afd,_0x5e5102],_0x3e1ce6)=>{const _0x16a56b=_0x329339,_0x412dcc=_0x3cfc3e[_0x16a56b(0x3fb)](_0x39a4b0=>_0x5c0afd[_0x16a56b(0x3a4)]()[_0x16a56b(0x3bb)](_0x39a4b0))||_0x3e1ce6%0x3===0x0;if(_0x412dcc&&_0x5e5102!==null&&_0x5e5102!==undefined){if(typeof _0x5e5102===_0x16a56b(0x404))_0x2097e6[_0x5c0afd]=[_0x5e5102,_0x5e5102+0x1,_0x5e5102+0x2];else typeof _0x5e5102===_0x16a56b(0x3d4)?_0x2097e6[_0x5c0afd]=[_0x5e5102,_0x5e5102+'_2',_0x5e5102+'_3']:_0x2097e6[_0x5c0afd]=[_0x5e5102];}else _0x2097e6[_0x5c0afd]=_0x5e5102;});const _0x2bcc09={..._0x2097e6};return _0x2bcc09[_0x329339(0x25f)]=_0x2c001a??0x1,_0x2bcc09[_0x329339(0x2ec)]=_0x252ab5??0xa,_0x2bcc09;}[a0_0xf68f23(0x3a5)](){const _0x19fa64=a0_0xf68f23,_0x19898f={};return _0x19898f[_0x19fa64(0x45b)]=![],this[_0x19fa64(0x454)](_0x19898f);}[a0_0xf68f23(0x3fd)](){const _0xd6d296=a0_0xf68f23;return[{'title':_0xd6d296(0x1fb),'description':'查询单个条件','data':this['generateSingleValueExample']()},{'title':_0xd6d296(0x422),'description':'支持多个条件','data':this[_0xd6d296(0x454)]()}];}[a0_0xf68f23(0x1b3)](_0xb4fcab,_0x21adb5){const _0x30d133=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x21adb5||{},_0x263ffb=this['getName'](),_0x29e992={};_0x29e992[_0x30d133(0x45b)]=!![];const _0x2888d1=this[_0x30d133(0x454)](_0x29e992),{currentPage:_0x14db42,pageSize:_0x5da6ca,..._0x116d4e}=_0x2888d1;if(useFullExample&&Object['keys'](_0x2888d1)[_0x30d133(0x34c)]>0x0){const _0x384489=Object['keys'](_0x116d4e)[_0x30d133(0x34c)]>0x0;if(_0x384489){const _0x185a8c=this[_0x30d133(0x3a5)](),_0x2e14a6=_0xa38651=>{const _0x5bd286=_0x30d133;return JSON['stringify'](_0xa38651,null,0x2)[_0x5bd286(0x3d2)]('\x0a')[_0x5bd286(0x336)]((_0x2fbf0d,_0x74e92e)=>_0x74e92e===0x0?_0x2fbf0d:indent+_0x2fbf0d)['join']('\x0a');};return _0x30d133(0x436)+_0xb4fcab+'.'+_0x263ffb+'('+_0x2e14a6(_0x185a8c)+_0x30d133(0x3d3)+_0xb4fcab+'.'+_0x263ffb+'('+_0x2e14a6(_0x2888d1)+');';}else{const _0x5ef827=JSON[_0x30d133(0x375)](_0x2888d1,null,0x2)[_0x30d133(0x3d2)]('\x0a')[_0x30d133(0x336)]((_0x2f4c08,_0x407964)=>_0x407964===0x0?_0x2f4c08:indent+_0x2f4c08)[_0x30d133(0x36f)]('\x0a');return _0x30d133(0x35f)+_0xb4fcab+'.'+_0x263ffb+'('+_0x5ef827+');';}}if(Object[_0x30d133(0x383)](_0x116d4e)[_0x30d133(0x34c)]>0x0){const _0x394144=Object[_0x30d133(0x383)](_0x116d4e)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0xb4fcab+'.'+_0x263ffb+_0x30d133(0x40f)+_0x394144+_0x30d133(0x32c);}return _0x30d133(0x35f)+_0xb4fcab+'.'+_0x263ffb+'({\x20currentPage,\x20pageSize\x20});';}}var AGGREGATE_FUNCTIONS=[a0_0xf68f23(0x43c),a0_0xf68f23(0x1a0),a0_0xf68f23(0x455),a0_0xf68f23(0x2c4),a0_0xf68f23(0x400)],FILTER_OPERATORS=['$eq',a0_0xf68f23(0x3dd),a0_0xf68f23(0x43e),a0_0xf68f23(0x41d),a0_0xf68f23(0x450),'$lteq',a0_0xf68f23(0x3e9),a0_0xf68f23(0x2bd),a0_0xf68f23(0x1db),a0_0xf68f23(0x232),a0_0xf68f23(0x351),a0_0xf68f23(0x26c)];class FilterOperation extends GenericOperation{constructor(_0x122509,_0x436826,_0x4dc720){super(_0x122509,_0x436826,_0x4dc720);}[a0_0xf68f23(0x1e5)](){return FILTER_OPERATORS;}[a0_0xf68f23(0x458)](_0x186dd7){const _0x25aa1f=a0_0xf68f23,_0x30a0a6=this[_0x25aa1f(0x31b)](_0x186dd7);if(!_0x30a0a6)return[];return this[_0x25aa1f(0x1d9)](_0x30a0a6);}['getRequestParams'](){const _0x1c8b75=a0_0xf68f23,_0x22515f=super[_0x1c8b75(0x299)](),_0x341d15={};_0x341d15[_0x1c8b75(0x282)]='Object',_0x341d15[_0x1c8b75(0x1e7)]=_0x1c8b75(0x1a5),_0x341d15[_0x1c8b75(0x283)]=![];const _0x3bc89f={};_0x3bc89f['type']='String[]',_0x3bc89f[_0x1c8b75(0x1e7)]=_0x1c8b75(0x1ef),_0x3bc89f[_0x1c8b75(0x283)]=![];const _0x52a25b={};_0x52a25b[_0x1c8b75(0x282)]=_0x1c8b75(0x2f9),_0x52a25b[_0x1c8b75(0x1e7)]=_0x1c8b75(0x2d6),_0x52a25b[_0x1c8b75(0x283)]=![];const _0x3f72fe={};_0x3f72fe['type']=_0x1c8b75(0x37e),_0x3f72fe[_0x1c8b75(0x1e7)]=_0x1c8b75(0x287),_0x3f72fe['required']=![],_0x3f72fe[_0x1c8b75(0x3ef)]=0x1;const _0x3d5d6a={};_0x3d5d6a[_0x1c8b75(0x282)]=_0x1c8b75(0x37e),_0x3d5d6a[_0x1c8b75(0x1e7)]=_0x1c8b75(0x3b9),_0x3d5d6a[_0x1c8b75(0x283)]=![],_0x3d5d6a['default']=0xa;const _0x5f4c32={..._0x22515f};return _0x5f4c32['where']=_0x341d15,_0x5f4c32['select']=_0x3bc89f,_0x5f4c32[_0x1c8b75(0x35d)]=_0x52a25b,_0x5f4c32[_0x1c8b75(0x25f)]=_0x3f72fe,_0x5f4c32[_0x1c8b75(0x2ec)]=_0x3d5d6a,_0x5f4c32;}[a0_0xf68f23(0x314)](){const _0x5d8b67=a0_0xf68f23,_0x429c1a=this[_0x5d8b67(0x299)](),_0x3368af=[],_0x3cb718=['where',_0x5d8b67(0x3fe),_0x5d8b67(0x35d),_0x5d8b67(0x25f),_0x5d8b67(0x2ec)];return Object[_0x5d8b67(0x1b4)](_0x429c1a)[_0x5d8b67(0x1df)](([_0x44b6c7,_0x5a13d8])=>{const _0x5ca05f=_0x5d8b67;if(_0x3cb718['includes'](_0x44b6c7)){const _0x5b402b=_0x5a13d8,_0x394e9e={};_0x394e9e[_0x5ca05f(0x40e)]=_0x44b6c7,_0x394e9e[_0x5ca05f(0x282)]=_0x5b402b['type']||_0x5ca05f(0x2e7),_0x394e9e[_0x5ca05f(0x1e7)]=_0x5b402b['description']||'-',_0x3368af[_0x5ca05f(0x387)](_0x394e9e);}}),_0x3368af;}['getBusinessFields'](){const _0x5e23a8=a0_0xf68f23;return this['context'][_0x5e23a8(0x2a1)]||[];}['getGroupedParams'](){const _0xa28271=a0_0xf68f23;return{'systemParams':this[_0xa28271(0x314)](),'businessFields':this[_0xa28271(0x2fd)]()};}[a0_0xf68f23(0x454)](){const _0x155b70=a0_0xf68f23,_0x208970=this[_0x155b70(0x211)][_0x155b70(0x2a1)]||[];if(_0x208970['length']===0x0){const _0x5cf2f1={};return _0x5cf2f1[_0x155b70(0x2dc)]={},_0x5cf2f1[_0x155b70(0x25f)]=0x1,_0x5cf2f1[_0x155b70(0x2ec)]=0x14,_0x5cf2f1;}const _0x2287ae={},_0x207b5c=_0x208970[_0x155b70(0x399)](0x0,Math['min'](0x3,_0x208970[_0x155b70(0x34c)]));_0x207b5c[_0x155b70(0x1df)](_0x517c5c=>{const _0x5554ee=_0x155b70,_0x4def20=this[_0x5554ee(0x1d9)](_0x517c5c);if(_0x4def20[_0x5554ee(0x34c)]===0x0)return;const _0x1ff3af=this[_0x5554ee(0x245)](_0x517c5c,_0x4def20),_0x1bc3ad=this[_0x5554ee(0x1d1)](_0x517c5c,_0x1ff3af),_0xfdf51={};_0xfdf51[_0x1ff3af]=_0x1bc3ad,_0x2287ae[_0x517c5c['code']]=_0xfdf51;});const _0x5e64e4=_0x208970[_0x155b70(0x399)](0x0,Math[_0x155b70(0x400)](0x5,_0x208970[_0x155b70(0x34c)]))['map'](_0x2f9dec=>_0x2f9dec[_0x155b70(0x40e)]),_0x4fb0ac=_0x208970[0x0]?_0x208970[0x0][_0x155b70(0x40e)]:'id',_0x5da945={};_0x5da945[_0x4fb0ac]=_0x155b70(0x437);const _0x7e134c={};return _0x7e134c[_0x155b70(0x2dc)]=_0x2287ae,_0x7e134c[_0x155b70(0x3fe)]=_0x5e64e4,_0x7e134c[_0x155b70(0x35d)]=[_0x5da945],_0x7e134c[_0x155b70(0x25f)]=0x1,_0x7e134c[_0x155b70(0x2ec)]=0x14,_0x7e134c;}['generateSDKCallCode'](_0x4db68f,_0x26e003){const _0x16abb0=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x26e003||{},_0x21dac5=this[_0x16abb0(0x1fd)](),_0x90b41a=this[_0x16abb0(0x454)](),_0x43bcf2=_0x4ff2e1=>{return JSON['stringify'](_0x4ff2e1,null,0x2)['split']('\x0a')['map']((_0x370a2f,_0x3ef27c)=>_0x3ef27c===0x0?_0x370a2f:indent+_0x370a2f)['join']('\x0a');};if(useFullExample){const _0x74ca44=this[_0x16abb0(0x211)][_0x16abb0(0x2a1)]||[],_0x55216f={'where':_0x74ca44[0x0]?{[_0x74ca44[0x0][_0x16abb0(0x40e)]]:{'$eq':this['generateExampleValue'](_0x74ca44[0x0],'$eq')}}:{},'select':_0x74ca44[_0x16abb0(0x399)](0x0,0x3)[_0x16abb0(0x336)](_0x50173b=>_0x50173b[_0x16abb0(0x40e)]),'currentPage':0x1,'pageSize':0x14};let _0x76aeb3='';if(_0x74ca44[_0x16abb0(0x34c)]>=0x3){const _0x127956={};_0x127956[_0x16abb0(0x351)]=[];const _0x5472a2=_0x127956,_0x3de5d4=[];if(_0x74ca44[_0x16abb0(0x34c)]>0x0){const _0x28769b=_0x74ca44['find'](_0x5bcc2f=>{const _0x70842d=_0x16abb0,_0x3f5c33=_0x5bcc2f[_0x70842d(0x1d8)]();return[_0x70842d(0x42c),_0x70842d(0x453),'BIGINT','INT',_0x70842d(0x3ca),_0x70842d(0x239)]['includes'](_0x3f5c33);});if(_0x28769b){const _0x146829={};_0x146829['$gte']=0x0,_0x146829[_0x16abb0(0x450)]=0x64;const _0x5a55b8={[_0x28769b[_0x16abb0(0x40e)]]:_0x146829};_0x3de5d4[_0x16abb0(0x387)](_0x5a55b8);}}if(_0x74ca44[_0x16abb0(0x34c)]>0x1){const _0x4b57a7=_0x74ca44[_0x16abb0(0x1b6)](_0x42cad8=>{const _0x4222bf=_0x16abb0,_0x24ffbf=_0x42cad8[_0x4222bf(0x1d8)]();return['STRING',_0x4222bf(0x295),_0x4222bf(0x33a),'CHAR',_0x4222bf(0x2d1)][_0x4222bf(0x3bb)](_0x24ffbf);});if(_0x4b57a7){const _0x49a479={};_0x49a479[_0x16abb0(0x2bd)]='keyword';const _0x2247e6={[_0x4b57a7[_0x16abb0(0x40e)]]:_0x49a479};_0x3de5d4[_0x16abb0(0x387)](_0x2247e6);}}if(_0x3de5d4[_0x16abb0(0x34c)]>0x0){_0x5472a2[_0x16abb0(0x351)]=_0x3de5d4;const _0x835f6c={'where':_0x5472a2,'select':_0x74ca44[_0x16abb0(0x399)](0x0,0x4)[_0x16abb0(0x336)](_0x484490=>_0x484490[_0x16abb0(0x40e)]),'orderBy':[{[_0x74ca44[0x0][_0x16abb0(0x40e)]]:_0x16abb0(0x437)}],'currentPage':0x1,'pageSize':0x14};_0x76aeb3=_0x16abb0(0x444)+_0x4db68f+'.'+_0x21dac5+'('+_0x43bcf2(_0x835f6c)+');';}}return _0x16abb0(0x202)+_0x4db68f+'.'+_0x21dac5+'('+_0x43bcf2(_0x55216f)+');'+_0x76aeb3;}const _0x60c2a9=JSON[_0x16abb0(0x375)](_0x90b41a,null,0x2)[_0x16abb0(0x3d2)]('\x0a')['map']((_0x4b14bb,_0x212ac8)=>_0x212ac8===0x0?_0x4b14bb:indent+_0x4b14bb)[_0x16abb0(0x36f)]('\x0a');return _0x16abb0(0x35f)+_0x4db68f+'.'+_0x21dac5+'('+_0x60c2a9+');';}[a0_0xf68f23(0x1d9)](_0x3e7061){const _0x3a79f1=a0_0xf68f23,_0x2e7637=_0x3e7061[_0x3a79f1(0x1d8)](),_0x420c0d=[];if([_0x3a79f1(0x42c),'INTEGER',_0x3a79f1(0x236),'DECIMAL'][_0x3a79f1(0x3bb)](_0x2e7637)||[_0x3a79f1(0x326),'TINYINT',_0x3a79f1(0x239),'DOUBLE',_0x3a79f1(0x1c5)][_0x3a79f1(0x3bb)](_0x2e7637))_0x420c0d[_0x3a79f1(0x387)]('$eq',_0x3a79f1(0x3dd),_0x3a79f1(0x43e),_0x3a79f1(0x450),'$gteq',_0x3a79f1(0x451),'$in');else{if(['STRING',_0x3a79f1(0x295),'VARCHAR'][_0x3a79f1(0x3bb)](_0x2e7637)||[_0x3a79f1(0x1e4),'LONGTEXT'][_0x3a79f1(0x3bb)](_0x2e7637))_0x420c0d[_0x3a79f1(0x387)](_0x3a79f1(0x3f0),_0x3a79f1(0x3dd),'$in',_0x3a79f1(0x2bd),_0x3a79f1(0x1db),_0x3a79f1(0x232));else{if([_0x3a79f1(0x39e),_0x3a79f1(0x24d),_0x3a79f1(0x27c)]['includes'](_0x2e7637)||[_0x3a79f1(0x31c)]['includes'](_0x2e7637))_0x420c0d[_0x3a79f1(0x387)](_0x3a79f1(0x3f0),_0x3a79f1(0x3dd),_0x3a79f1(0x43e),_0x3a79f1(0x450),_0x3a79f1(0x41d),_0x3a79f1(0x451));else[_0x3a79f1(0x227),_0x3a79f1(0x1fa),'BIT']['includes'](_0x2e7637)?_0x420c0d[_0x3a79f1(0x387)]('$eq',_0x3a79f1(0x3dd)):_0x420c0d[_0x3a79f1(0x387)](_0x3a79f1(0x3f0),'$ne');}}return _0x420c0d;}[a0_0xf68f23(0x245)](_0x302913,_0x237165){const _0x2a7fa0=a0_0xf68f23,_0x110e92=_0x302913['getDbTypeForOperation']();if([_0x2a7fa0(0x42c),_0x2a7fa0(0x453),_0x2a7fa0(0x236),_0x2a7fa0(0x367)]['includes'](_0x110e92)||['INT',_0x2a7fa0(0x3ca),_0x2a7fa0(0x239),_0x2a7fa0(0x3c8),'FLOAT'][_0x2a7fa0(0x3bb)](_0x110e92))return _0x237165[_0x2a7fa0(0x3bb)](_0x2a7fa0(0x43e))?'$gte':_0x2a7fa0(0x3f0);if([_0x2a7fa0(0x305),_0x2a7fa0(0x295),_0x2a7fa0(0x33a)][_0x2a7fa0(0x3bb)](_0x110e92)||[_0x2a7fa0(0x1e4),_0x2a7fa0(0x2d1)]['includes'](_0x110e92))return _0x237165['includes'](_0x2a7fa0(0x2bd))?_0x2a7fa0(0x2bd):_0x2a7fa0(0x3f0);if([_0x2a7fa0(0x39e),'DATETIME',_0x2a7fa0(0x27c),_0x2a7fa0(0x31c)][_0x2a7fa0(0x3bb)](_0x110e92))return _0x237165[_0x2a7fa0(0x3bb)](_0x2a7fa0(0x43e))?'$gte':_0x2a7fa0(0x3f0);return _0x2a7fa0(0x3f0);}[a0_0xf68f23(0x1d1)](_0x32098e,_0x3093b4){const _0x10c11a=a0_0xf68f23,_0xce2e2d=_0x32098e[_0x10c11a(0x1d8)](),_0x15330c=_0x32098e[_0x10c11a(0x2b0)]();if(_0x15330c&&_0x15330c[_0x10c11a(0x34c)]>0x0){if(_0x3093b4==='$in')return _0x15330c['slice'](0x0,0x2)[_0x10c11a(0x336)](_0x2c7e19=>_0x2c7e19['value']);return _0x15330c[0x0][_0x10c11a(0x45e)];}if([_0x10c11a(0x42c),_0x10c11a(0x453),_0x10c11a(0x236),'DECIMAL']['includes'](_0xce2e2d)||['INT','TINYINT',_0x10c11a(0x239),_0x10c11a(0x3c8),_0x10c11a(0x1c5)][_0x10c11a(0x3bb)](_0xce2e2d)){if(_0x3093b4===_0x10c11a(0x3e9))return[0x1,0x2,0x3];if(_0x3093b4===_0x10c11a(0x43e)||_0x3093b4==='$gteq')return 0x0;if(_0x3093b4===_0x10c11a(0x450)||_0x3093b4==='$lteq')return 0x64;return 0x1;}if(['STRING',_0x10c11a(0x295),_0x10c11a(0x33a)][_0x10c11a(0x3bb)](_0xce2e2d)||['CHAR',_0x10c11a(0x2d1)][_0x10c11a(0x3bb)](_0xce2e2d)){if(_0x3093b4===_0x10c11a(0x3e9))return[_0x10c11a(0x1da),_0x10c11a(0x333)];if(_0x3093b4===_0x10c11a(0x2bd))return'keyword';if(_0x3093b4===_0x10c11a(0x1db))return _0x10c11a(0x3b2);if(_0x3093b4==='$endWith')return _0x10c11a(0x35e);return _0x10c11a(0x45e);}if([_0x10c11a(0x39e),_0x10c11a(0x24d),_0x10c11a(0x27c),_0x10c11a(0x31c)][_0x10c11a(0x3bb)](_0xce2e2d)){if(_0x3093b4===_0x10c11a(0x43e)||_0x3093b4===_0x10c11a(0x41d))return _0x10c11a(0x2a7);if(_0x3093b4===_0x10c11a(0x450)||_0x3093b4==='$lteq')return _0x10c11a(0x1dd);return _0x10c11a(0x2a7);}if([_0x10c11a(0x227),_0x10c11a(0x1fa),_0x10c11a(0x288)][_0x10c11a(0x3bb)](_0xce2e2d))return!![];return _0x3093b4==='$in'?[_0x10c11a(0x1da),_0x10c11a(0x333)]:_0x10c11a(0x45e);}[a0_0xf68f23(0x274)](){const _0x3b1501=a0_0xf68f23,_0x3cffdf=super['getRequestParams'](),_0x41b057=Object[_0x3b1501(0x1b4)](_0x3cffdf)[_0x3b1501(0x1d7)](([_0x473754])=>_0x473754!==_0x3b1501(0x25f)&&_0x473754!==_0x3b1501(0x2ec))[_0x3b1501(0x336)](([_0x45aa83,_0x2b755d])=>{const _0x233ee6=_0x3b1501,_0x1b61c8=_0x2b755d,_0x147238={};return _0x147238[_0x233ee6(0x30b)]=_0x45aa83,_0x147238[_0x233ee6(0x282)]=_0x1b61c8[_0x233ee6(0x282)]||_0x233ee6(0x297),_0x147238[_0x233ee6(0x1e7)]=_0x1b61c8[_0x233ee6(0x1e7)]||'-',_0x147238[_0x233ee6(0x283)]=_0x1b61c8[_0x233ee6(0x283)],_0x147238;}),_0x5715f2={};return _0x5715f2['description']=_0x3b1501(0x1b1),_0x5715f2['params']=_0x41b057,_0x5715f2;}}class ExcelExportOperation extends GenericOperation{[a0_0xf68f23(0x299)](){const _0x83126c=a0_0xf68f23,_0x98bbfb=super[_0x83126c(0x299)]();if(Object['keys'](_0x98bbfb)[_0x83126c(0x34c)]===0x0){const _0x3b16bf={};this[_0x83126c(0x211)]['fields'][_0x83126c(0x1df)](_0x5ac4c1=>{const _0x358c7f=_0x83126c;if(_0x5ac4c1){const _0x527a1a=_0x5ac4c1[_0x358c7f(0x40e)],_0x2a4007=_0x5ac4c1[_0x358c7f(0x1d8)](),_0x47a512={};_0x47a512['type']=_0x2a4007||'TEXT',_0x47a512[_0x358c7f(0x2b9)]=_0x5ac4c1[_0x358c7f(0x2b9)],_0x47a512['description']=_0x5ac4c1[_0x358c7f(0x1e7)]||_0x5ac4c1[_0x358c7f(0x30b)],_0x3b16bf[_0x527a1a]=_0x47a512;}});const _0x51a6f5={};_0x51a6f5[_0x83126c(0x282)]=_0x83126c(0x2e6),_0x51a6f5[_0x83126c(0x1e7)]=_0x83126c(0x37a),_0x3b16bf[_0x83126c(0x25f)]=_0x51a6f5;const _0x2f80c9={};return _0x2f80c9[_0x83126c(0x282)]=_0x83126c(0x2e6),_0x2f80c9[_0x83126c(0x1e7)]='每页数量(可选)',_0x3b16bf[_0x83126c(0x2ec)]=_0x2f80c9,_0x3b16bf;}return _0x98bbfb;}[a0_0xf68f23(0x454)](){const _0xaaa820=a0_0xf68f23,_0x76b99b=super[_0xaaa820(0x454)]();if(Object[_0xaaa820(0x383)](_0x76b99b)[_0xaaa820(0x34c)]===0x0){const _0x2f3213={};return _0x2f3213[_0xaaa820(0x25f)]=0x1,_0x2f3213[_0xaaa820(0x2ec)]=0x64,_0x2f3213;}const _0x4a4cbe={..._0x76b99b};return _0x4a4cbe[_0xaaa820(0x25f)]=_0x76b99b[_0xaaa820(0x25f)]??0x1,_0x4a4cbe[_0xaaa820(0x2ec)]=_0x76b99b[_0xaaa820(0x2ec)]??0x64,_0x4a4cbe;}[a0_0xf68f23(0x38b)](){const _0x1b08bf=a0_0xf68f23,_0x457480={};return _0x457480[_0x1b08bf(0x261)]=!![],_0x457480[_0x1b08bf(0x374)]='',_0x457480[_0x1b08bf(0x3f1)]='',_0x457480['errorCode']=_0x1b08bf(0x401),_0x457480[_0x1b08bf(0x1eb)]=_0x1b08bf(0x446),_0x457480['params']=null,_0x457480;}[a0_0xf68f23(0x1b3)](_0x518a00,_0x1e5513){const _0x40dc68=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1e5513||{},_0x5a52be=this[_0x40dc68(0x1fd)]();if(useFullExample){const _0x5361cf=this[_0x40dc68(0x454)](),{currentPage:_0x4104b2,pageSize:_0x4d97c6,..._0x45a6c1}=_0x5361cf,_0x1cf098=Object[_0x40dc68(0x383)](_0x45a6c1)[_0x40dc68(0x34c)]>0x0;if(_0x1cf098){const _0x18c039=_0x1e221a=>{const _0x531794=_0x40dc68;return JSON[_0x531794(0x375)](_0x1e221a,null,0x2)[_0x531794(0x3d2)]('\x0a')['map']((_0x57cb7c,_0x495ee0)=>_0x495ee0===0x0?_0x57cb7c:indent+_0x57cb7c)['join']('\x0a');};return _0x40dc68(0x32d)+_0x518a00+'.'+_0x5a52be+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x518a00+'.'+_0x5a52be+'('+_0x18c039(_0x5361cf)+');';}else{const _0x4fa598=_0x2bfcc0=>{const _0x263bee=_0x40dc68;return JSON['stringify'](_0x2bfcc0,null,0x2)[_0x263bee(0x3d2)]('\x0a')[_0x263bee(0x336)]((_0x185da3,_0x5e7b08)=>_0x5e7b08===0x0?_0x185da3:indent+_0x185da3)[_0x263bee(0x36f)]('\x0a');},_0x4791b0={};return _0x4791b0[_0x40dc68(0x25f)]=0x1,_0x4791b0[_0x40dc68(0x2ec)]=0x64,_0x40dc68(0x32d)+_0x518a00+'.'+_0x5a52be+_0x40dc68(0x23c)+_0x518a00+'.'+_0x5a52be+'('+_0x4fa598(_0x4791b0)+');';}}return _0x40dc68(0x1c0)+_0x518a00+'.'+_0x5a52be+_0x40dc68(0x42b);}[a0_0xf68f23(0x3b0)](_0x48f342){const _0x509feb=a0_0xf68f23,_0x3b5921=this[_0x509feb(0x1fd)](),_0x1c0307=_0x48f342||_0x509feb(0x2de),_0x26dc82=_0x509feb(0x3df)+_0x1c0307+'.'+_0x3b5921+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x3b81f1=_0x509feb(0x1d2)+_0x1c0307+'.'+_0x3b5921+_0x509feb(0x255),_0x5abcde={};return _0x5abcde[_0x509feb(0x43f)]=_0x26dc82,_0x5abcde['errorCode']=_0x3b81f1,_0x5abcde;}}class UpdateOperation extends GenericOperation{[a0_0xf68f23(0x213)](){return this['parseRawRequestBody']();}[a0_0xf68f23(0x299)](){const _0x5f3ec3=a0_0xf68f23,_0x50ee5e=this[_0x5f3ec3(0x213)](),_0xe72785={};_0xe72785[_0x5f3ec3(0x282)]='NUMBER',_0xe72785[_0x5f3ec3(0x1e7)]=_0x5f3ec3(0x2f4),_0xe72785['required']=!![];const _0xbae91c={};_0xbae91c[_0x5f3ec3(0x282)]=_0x5f3ec3(0x43a),_0xbae91c[_0x5f3ec3(0x1e7)]=_0x5f3ec3(0x219),_0xbae91c[_0x5f3ec3(0x283)]=!![],_0xbae91c[_0x5f3ec3(0x2b3)]=_0x50ee5e;const _0x1e8108={};return _0x1e8108['id']=_0xe72785,_0x1e8108[_0x5f3ec3(0x1eb)]=_0xbae91c,_0x1e8108;}['getUpdatableFields'](){const _0x504ea5=a0_0xf68f23;return this[_0x504ea5(0x213)]();}[a0_0xf68f23(0x3ae)](){const _0xdbdb5b=a0_0xf68f23,_0xb9e616=this[_0xdbdb5b(0x211)]['fields']||[],_0x2bc7f7=this['context'][_0xdbdb5b(0x3f8)],_0x28b8fe=_0xb9e616[_0xdbdb5b(0x1b6)](_0x2901fc=>_0x2901fc[_0xdbdb5b(0x3db)]()||_0x2901fc[_0xdbdb5b(0x40e)]===_0x2bc7f7),_0x201be2=_0xb9e616[_0xdbdb5b(0x1d7)](_0x1275bd=>{const _0x5130e7=_0xdbdb5b;if(_0x1275bd[_0x5130e7(0x2fa)])return![];if(_0x1275bd===_0x28b8fe||_0x1275bd[_0x5130e7(0x3db)]())return![];if(_0x1275bd[_0x5130e7(0x42e)]()||_0x1275bd['isUpdateTime']())return![];if(_0x1275bd[_0x5130e7(0x27b)]())return![];return!![];});return _0x28b8fe?[_0x28b8fe,..._0x201be2]:_0x201be2;}[a0_0xf68f23(0x338)](){const _0x190367=a0_0xf68f23,_0x5ea959=this[_0x190367(0x3ae)](),_0x9e274f=this[_0x190367(0x211)][_0x190367(0x3f8)],_0x7f4bad=_0x5ea959['map'](_0x20891f=>{const _0x367f7a=_0x190367,_0x1b8ace=_0x20891f['isPrimaryKey']()||_0x20891f['code']===_0x9e274f,_0x18c3ef=_0x1b8ace?'id':_0x20891f[_0x367f7a(0x40e)],_0x7b16e0={};return _0x7b16e0[_0x367f7a(0x30b)]=_0x18c3ef,_0x7b16e0[_0x367f7a(0x282)]=_0x20891f[_0x367f7a(0x282)],_0x7b16e0[_0x367f7a(0x1e7)]=_0x1b8ace?'主键,用于定位要更新的记录'+(_0x9e274f&&_0x9e274f!==_0x20891f[_0x367f7a(0x40e)]?_0x367f7a(0x426)+_0x20891f[_0x367f7a(0x40e)]+')':''):_0x20891f['description']||_0x20891f[_0x367f7a(0x30b)],_0x7b16e0;}),_0x21429b={};return _0x21429b[_0x190367(0x1e7)]=_0x190367(0x263),_0x21429b[_0x190367(0x39d)]=_0x7f4bad,_0x21429b;}[a0_0xf68f23(0x274)](){const _0x23ec4f=a0_0xf68f23,_0x58a981=this[_0x23ec4f(0x213)](),_0x3031c7=Object[_0x23ec4f(0x1b4)](_0x58a981)['map'](([_0x54b37a,_0x401fbf])=>{const _0x2490e9=_0x23ec4f,_0x10439f=_0x401fbf,_0x109759={};return _0x109759[_0x2490e9(0x30b)]=_0x54b37a,_0x109759[_0x2490e9(0x282)]=_0x10439f[_0x2490e9(0x282)]||_0x2490e9(0x297),_0x109759[_0x2490e9(0x1e7)]=_0x10439f[_0x2490e9(0x1e7)]||'-',_0x109759;}),_0x4f6cf4={};return _0x4f6cf4[_0x23ec4f(0x1e7)]=_0x23ec4f(0x2d4)+_0x23ec4f(0x423)+_0x23ec4f(0x2c5)+_0x23ec4f(0x200)+_0x23ec4f(0x370)+_0x23ec4f(0x2e5),_0x4f6cf4[_0x23ec4f(0x39d)]=_0x3031c7,_0x4f6cf4;}[a0_0xf68f23(0x454)](){const _0x5ab386=a0_0xf68f23,_0x15ed6e=this[_0x5ab386(0x213)](),_0x139e65={};Object[_0x5ab386(0x1b4)](_0x15ed6e)[_0x5ab386(0x1df)](([_0x47cb6d,_0x56e279])=>{const _0x48a88e=_0x5ab386,_0x46b6c5=_0x56e279;let _0x404b83;if(typeof _0x46b6c5[_0x48a88e(0x282)]===_0x48a88e(0x3d4))_0x404b83=_0x46b6c5[_0x48a88e(0x282)];else _0x46b6c5[_0x48a88e(0x282)]&&typeof _0x46b6c5[_0x48a88e(0x282)]===_0x48a88e(0x43a)?_0x404b83=_0x46b6c5[_0x48a88e(0x282)][_0x48a88e(0x282)]||_0x48a88e(0x295):_0x404b83=_0x48a88e(0x295);const _0x120c43=_0x46b6c5[_0x48a88e(0x1e7)],_0x180420=this[_0x48a88e(0x31b)](_0x47cb6d);_0x139e65[_0x47cb6d]=this['generateFieldExample'](_0x47cb6d,_0x404b83,_0x180420?.[_0x48a88e(0x1d8)](),{'isPrimaryKey':![],'description':_0x120c43||_0x180420?.[_0x48a88e(0x1e7)]||_0x180420?.['name']});});const _0x783854={};return _0x783854['id']=0x1,_0x783854[_0x5ab386(0x1eb)]=_0x139e65,_0x783854;}[a0_0xf68f23(0x3fd)](){const _0x4570e1=a0_0xf68f23,_0x242f03=this[_0x4570e1(0x454)](),_0xea3509={};return _0xea3509[_0x4570e1(0x309)]=_0x4570e1(0x233),_0xea3509[_0x4570e1(0x1e7)]=_0x4570e1(0x1ff)+'-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a'+_0x4570e1(0x3c5),_0xea3509[_0x4570e1(0x1eb)]=_0x242f03,[_0xea3509,{'title':_0x4570e1(0x2f8),'description':_0x4570e1(0x44b)+_0x4570e1(0x364)+'-\x20其他要更新的字段直接平铺在同一层级','data':this[_0x4570e1(0x439)]()}];}[a0_0xf68f23(0x439)](){const _0x3e9406=a0_0xf68f23,_0x140938=this[_0x3e9406(0x213)](),_0x3bc348={};_0x3bc348['id']=0x1;const _0x38788d=_0x3bc348;return Object[_0x3e9406(0x1b4)](_0x140938)['forEach'](([_0x4088fe,_0x59a6e6])=>{const _0x5f1cb0=_0x3e9406,_0x14366d=_0x59a6e6;let _0xc77843;if(typeof _0x14366d[_0x5f1cb0(0x282)]===_0x5f1cb0(0x3d4))_0xc77843=_0x14366d['type'];else _0x14366d[_0x5f1cb0(0x282)]&&typeof _0x14366d[_0x5f1cb0(0x282)]===_0x5f1cb0(0x43a)?_0xc77843=_0x14366d[_0x5f1cb0(0x282)][_0x5f1cb0(0x282)]||_0x5f1cb0(0x295):_0xc77843=_0x5f1cb0(0x295);const _0x3aa19e=_0x14366d[_0x5f1cb0(0x1e7)],_0x2ef693=this['getFieldDefinition'](_0x4088fe);if(_0x2ef693?.[_0x5f1cb0(0x3db)]())return;_0x38788d[_0x4088fe]=this[_0x5f1cb0(0x2eb)](_0x4088fe,_0xc77843,_0x2ef693?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x3aa19e||_0x2ef693?.[_0x5f1cb0(0x1e7)]||_0x2ef693?.[_0x5f1cb0(0x30b)]});}),_0x38788d;}['generateHTTPExample'](){const _0xbc9e18=a0_0xf68f23;return this[_0xbc9e18(0x439)]();}[a0_0xf68f23(0x1b3)](_0xd62578,_0x402a0e){const _0x156171=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x402a0e||{},_0x23bbb0=this[_0x156171(0x1fd)]();if(useFullExample){const _0x4d6078=this[_0x156171(0x454)](),_0x42a453=JSON['stringify'](_0x4d6078['data'],null,0x2)['split']('\x0a')['map']((_0x42aafa,_0x33733d)=>_0x33733d===0x0?_0x42aafa:indent+_0x42aafa)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0xd62578+'.'+_0x23bbb0+'('+_0x4d6078['id']+',\x20'+_0x42a453+');';}return _0x156171(0x35f)+_0xd62578+'.'+_0x23bbb0+_0x156171(0x1ba);}}class AggregateOperation extends GenericOperation{constructor(_0x140a2c,_0x2874e7,_0x468582){super(_0x140a2c,_0x2874e7,_0x468582);}[a0_0xf68f23(0x419)](_0x46fd69){return _0x46fd69['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}[a0_0xf68f23(0x299)](){const _0x2652e2=a0_0xf68f23,_0x3637d9=super[_0x2652e2(0x299)](),_0xa6b5b2={};_0xa6b5b2[_0x2652e2(0x282)]=_0x2652e2(0x41e),_0xa6b5b2[_0x2652e2(0x1e7)]=_0x2652e2(0x337),_0xa6b5b2[_0x2652e2(0x283)]=![];const _0x5243de={};_0x5243de[_0x2652e2(0x282)]='Object',_0x5243de['description']=_0x2652e2(0x361),_0x5243de['required']=![];const _0xe1d1ec={};_0xe1d1ec[_0x2652e2(0x282)]=_0x2652e2(0x41e),_0xe1d1ec[_0x2652e2(0x1e7)]=_0x2652e2(0x2b7),_0xe1d1ec[_0x2652e2(0x283)]=![];const _0x56e1ea={};_0x56e1ea[_0x2652e2(0x282)]=_0x2652e2(0x33b),_0x56e1ea[_0x2652e2(0x1e7)]=_0x2652e2(0x3c4),_0x56e1ea[_0x2652e2(0x283)]=![];const _0x230c9c={};_0x230c9c['type']=_0x2652e2(0x33b),_0x230c9c[_0x2652e2(0x1e7)]=_0x2652e2(0x449),_0x230c9c[_0x2652e2(0x283)]=![];const _0x18b931={};_0x18b931[_0x2652e2(0x282)]=_0x2652e2(0x33b),_0x18b931[_0x2652e2(0x1e7)]=_0x2652e2(0x3f3),_0x18b931[_0x2652e2(0x283)]=![];const _0x399826={};_0x399826[_0x2652e2(0x282)]=_0x2652e2(0x37e),_0x399826[_0x2652e2(0x1e7)]='当前页码(从\x201\x20开始,默认:\x201)',_0x399826[_0x2652e2(0x283)]=![];const _0x54a5bd={};_0x54a5bd[_0x2652e2(0x282)]=_0x2652e2(0x37e),_0x54a5bd[_0x2652e2(0x1e7)]=_0x2652e2(0x279),_0x54a5bd['required']=![];const _0x26b4d5={..._0x3637d9};return _0x26b4d5[_0x2652e2(0x3fe)]=_0xa6b5b2,_0x26b4d5[_0x2652e2(0x2dc)]=_0x5243de,_0x26b4d5[_0x2652e2(0x1bb)]=_0xe1d1ec,_0x26b4d5['aggregate']=_0x56e1ea,_0x26b4d5[_0x2652e2(0x331)]=_0x230c9c,_0x26b4d5[_0x2652e2(0x35d)]=_0x18b931,_0x26b4d5['currentPage']=_0x399826,_0x26b4d5[_0x2652e2(0x2ec)]=_0x54a5bd,_0x26b4d5;}[a0_0xf68f23(0x314)](){const _0x4bcde9=a0_0xf68f23,_0x2d9688={};_0x2d9688['code']=_0x4bcde9(0x3fe),_0x2d9688[_0x4bcde9(0x282)]=_0x4bcde9(0x41e),_0x2d9688[_0x4bcde9(0x1e7)]=_0x4bcde9(0x337);const _0xacf8ce={};_0xacf8ce[_0x4bcde9(0x40e)]=_0x4bcde9(0x2dc),_0xacf8ce[_0x4bcde9(0x282)]=_0x4bcde9(0x2e7),_0xacf8ce['description']=_0x4bcde9(0x361);const _0x45e6b3={};_0x45e6b3[_0x4bcde9(0x40e)]=_0x4bcde9(0x1bb),_0x45e6b3[_0x4bcde9(0x282)]=_0x4bcde9(0x41e),_0x45e6b3['description']=_0x4bcde9(0x2b7);const _0x23c414={};_0x23c414[_0x4bcde9(0x40e)]=_0x4bcde9(0x414),_0x23c414[_0x4bcde9(0x282)]=_0x4bcde9(0x33b),_0x23c414[_0x4bcde9(0x1e7)]='聚合函数配置数组(type:\x20sum/count/avg/max/min)';const _0x421164={};_0x421164[_0x4bcde9(0x40e)]=_0x4bcde9(0x331),_0x421164[_0x4bcde9(0x282)]='Array',_0x421164[_0x4bcde9(0x1e7)]=_0x4bcde9(0x449);const _0x58b224={};_0x58b224[_0x4bcde9(0x40e)]='orderBy',_0x58b224['type']=_0x4bcde9(0x33b),_0x58b224[_0x4bcde9(0x1e7)]=_0x4bcde9(0x3f3);const _0x470cd7={};_0x470cd7[_0x4bcde9(0x40e)]='currentPage',_0x470cd7[_0x4bcde9(0x282)]=_0x4bcde9(0x37e),_0x470cd7[_0x4bcde9(0x1e7)]='当前页码(从\x201\x20开始,默认:\x201)';const _0x206fec={};return _0x206fec[_0x4bcde9(0x40e)]=_0x4bcde9(0x2ec),_0x206fec[_0x4bcde9(0x282)]='Number',_0x206fec[_0x4bcde9(0x1e7)]='每页数量(默认:\x2020)',[_0x2d9688,_0xacf8ce,_0x45e6b3,_0x23c414,_0x421164,_0x58b224,_0x470cd7,_0x206fec];}[a0_0xf68f23(0x454)](){const _0x292272=a0_0xf68f23,_0x511106=this['context'][_0x292272(0x2a1)]||[];if(_0x511106[_0x292272(0x34c)]===0x0){const _0xe0fc91={};return _0xe0fc91['where']={},_0xe0fc91[_0x292272(0x1bb)]=[],_0xe0fc91[_0x292272(0x414)]=[],_0xe0fc91;}const _0x9e756b={},_0x556668=_0x511106[_0x292272(0x399)](0x0,Math[_0x292272(0x400)](0x3,_0x511106[_0x292272(0x34c)]));_0x556668[_0x292272(0x1df)](_0x2303c6=>{const _0x18fbd5=_0x292272,_0x11dcec=this[_0x18fbd5(0x1d9)](_0x2303c6);if(_0x11dcec[_0x18fbd5(0x34c)]===0x0)return;const _0x128958=this[_0x18fbd5(0x245)](_0x2303c6,_0x11dcec),_0x4ccbbf=this[_0x18fbd5(0x1d1)](_0x2303c6,_0x128958),_0x42682b={};_0x42682b[_0x128958]=_0x4ccbbf,_0x9e756b[_0x2303c6[_0x18fbd5(0x40e)]]=_0x42682b;});const _0x49206e=_0x511106[_0x292272(0x399)](0x0,Math[_0x292272(0x400)](0x2,_0x511106[_0x292272(0x34c)]))['map'](_0x319a33=>_0x319a33['code']),_0x105673=[],_0x14d419=_0x511106[_0x292272(0x1d7)](_0x340bc6=>this[_0x292272(0x327)](_0x340bc6));if(_0x14d419[_0x292272(0x34c)]>0x0){const _0x1a7b24=_0x14d419[0x0],_0x3561e3=_0x1a7b24[_0x292272(0x40e)],_0x22e0d9={};_0x22e0d9[_0x292272(0x282)]=_0x292272(0x43c),_0x22e0d9[_0x292272(0x251)]=_0x3561e3,_0x22e0d9[_0x292272(0x363)]=_0x3561e3+_0x292272(0x430),_0x22e0d9[_0x292272(0x2c3)]=![],_0x22e0d9[_0x292272(0x34a)]=!![],_0x22e0d9[_0x292272(0x3a9)]=0x2,_0x105673['push'](_0x22e0d9);const _0x27bb95={};_0x27bb95[_0x292272(0x282)]=_0x292272(0x455),_0x27bb95[_0x292272(0x251)]=_0x3561e3,_0x27bb95[_0x292272(0x363)]=_0x3561e3+'_avg',_0x27bb95[_0x292272(0x2c3)]=![],_0x27bb95[_0x292272(0x34a)]=!![],_0x27bb95[_0x292272(0x3a9)]=0x2,_0x105673[_0x292272(0x387)](_0x27bb95);const _0x344650={};_0x344650[_0x292272(0x282)]='max',_0x344650[_0x292272(0x251)]=_0x3561e3,_0x344650[_0x292272(0x363)]=_0x3561e3+_0x292272(0x317),_0x344650[_0x292272(0x2c3)]=![],_0x344650[_0x292272(0x34a)]=!![],_0x344650[_0x292272(0x3a9)]=0x2,_0x105673[_0x292272(0x387)](_0x344650);const _0x1ebff7={};_0x1ebff7[_0x292272(0x282)]=_0x292272(0x400),_0x1ebff7[_0x292272(0x251)]=_0x3561e3,_0x1ebff7['alias']=_0x3561e3+_0x292272(0x354),_0x1ebff7[_0x292272(0x2c3)]=![],_0x1ebff7[_0x292272(0x34a)]=!![],_0x1ebff7[_0x292272(0x3a9)]=0x2,_0x105673[_0x292272(0x387)](_0x1ebff7);}else{if(_0x511106[_0x292272(0x34c)]>0x0){const _0x58f09a=_0x511106[0x0],_0x249047=_0x58f09a[_0x292272(0x40e)],_0x3e04f8={};_0x3e04f8[_0x292272(0x282)]=_0x292272(0x1a0),_0x3e04f8[_0x292272(0x251)]=_0x249047,_0x3e04f8[_0x292272(0x363)]=_0x292272(0x1c1),_0x3e04f8[_0x292272(0x2c3)]=!![],_0x105673[_0x292272(0x387)](_0x3e04f8);}}const _0x2ebb30=[];if(_0x511106['length']>0x0){const _0x160f5b=_0x511106[0x0]['code'],_0xf5b4e5={};_0xf5b4e5[_0x160f5b]=_0x292272(0x1c9),_0x2ebb30['push'](_0xf5b4e5);}const _0xdb94a3=[..._0x49206e,..._0x105673[_0x292272(0x336)](_0x29f0e1=>_0x29f0e1[_0x292272(0x363)])],_0x591a64=[];if(_0x105673[_0x292272(0x34c)]>0x0){const _0x1075e7={};_0x1075e7['$gte']=0x0;const _0x5b8e16={};_0x5b8e16[_0x292272(0x3ed)]=_0x105673[0x0][_0x292272(0x363)],_0x5b8e16['condition']=_0x1075e7,_0x591a64[_0x292272(0x387)](_0x5b8e16);}const _0x1136ad={};return _0x1136ad[_0x292272(0x3fe)]=_0xdb94a3,_0x1136ad['where']=_0x9e756b,_0x1136ad['groupBy']=_0x49206e,_0x1136ad[_0x292272(0x414)]=_0x105673,_0x1136ad['having']=_0x591a64[_0x292272(0x34c)]>0x0?_0x591a64:undefined,_0x1136ad[_0x292272(0x35d)]=_0x2ebb30,_0x1136ad[_0x292272(0x25f)]=0x1,_0x1136ad[_0x292272(0x2ec)]=0x14,_0x1136ad;}[a0_0xf68f23(0x1b3)](_0x3a7f68,_0x1c71a3){const _0xd0ad5a=a0_0xf68f23,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1c71a3||{},_0x124bce=this[_0xd0ad5a(0x1fd)](),_0xea0ea2=this[_0xd0ad5a(0x454)](),_0x2f73aa=_0x18168a=>{const _0x44dfb5=_0xd0ad5a;return JSON[_0x44dfb5(0x375)](_0x18168a,null,0x2)['split']('\x0a')[_0x44dfb5(0x336)]((_0x5101e3,_0x5d8ac5)=>_0x5d8ac5===0x0?_0x5101e3:indent+_0x5101e3)['join']('\x0a');};if(useFullExample){const _0x175c2=this[_0xd0ad5a(0x211)][_0xd0ad5a(0x2a1)]||[],_0x484221=_0x175c2['filter'](_0x2f394f=>this[_0xd0ad5a(0x327)](_0x2f394f)),_0x252c94={'where':_0x175c2[0x0]?{[_0x175c2[0x0][_0xd0ad5a(0x40e)]]:{'$eq':this[_0xd0ad5a(0x1d1)](_0x175c2[0x0],_0xd0ad5a(0x3f0))}}:{},'aggregate':_0x484221[_0xd0ad5a(0x34c)]>0x0?[{'type':_0xd0ad5a(0x43c),'column':_0x484221[0x0][_0xd0ad5a(0x40e)],'alias':_0x484221[0x0]['code']+_0xd0ad5a(0x430),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0xd0ad5a(0x1a0),'column':_0x175c2[0x0][_0xd0ad5a(0x40e)],'alias':_0xd0ad5a(0x1c1),'distinct':!![]}],'orderBy':[{[_0x175c2[0x0][_0xd0ad5a(0x40e)]]:_0xd0ad5a(0x1c9)}]};let _0x42cb6e='';return _0x175c2[_0xd0ad5a(0x34c)]>=0x3&&(_0x42cb6e=_0xd0ad5a(0x3f9)+_0x3a7f68+'.'+_0x124bce+'('+_0x2f73aa(_0xea0ea2)+');'),'//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x3a7f68+'.'+_0x124bce+'('+_0x2f73aa(_0x252c94)+');'+_0x42cb6e;}const _0x302d66=JSON[_0xd0ad5a(0x375)](_0xea0ea2,null,0x2)[_0xd0ad5a(0x3d2)]('\x0a')[_0xd0ad5a(0x336)]((_0x30b057,_0x219803)=>_0x219803===0x0?_0x30b057:indent+_0x30b057)['join']('\x0a');return _0xd0ad5a(0x35f)+_0x3a7f68+'.'+_0x124bce+'('+_0x302d66+');';}[a0_0xf68f23(0x327)](_0x597bd5){const _0x5b32d7=a0_0xf68f23,_0x3cfe32=_0x597bd5[_0x5b32d7(0x1d8)]();return[_0x5b32d7(0x42c),'INTEGER',_0x5b32d7(0x236),_0x5b32d7(0x367)][_0x5b32d7(0x3bb)](_0x3cfe32)||['INT',_0x5b32d7(0x3ca),'SMALLINT',_0x5b32d7(0x3c8),_0x5b32d7(0x1c5)]['includes'](_0x3cfe32);}['getApplicableOperators'](_0x1587d8){const _0x2d45f2=a0_0xf68f23,_0x7788c8=_0x1587d8[_0x2d45f2(0x1d8)](),_0x194dfc=[];if([_0x2d45f2(0x42c),'INTEGER',_0x2d45f2(0x236),_0x2d45f2(0x367)][_0x2d45f2(0x3bb)](_0x7788c8)||[_0x2d45f2(0x326),_0x2d45f2(0x3ca),_0x2d45f2(0x239),_0x2d45f2(0x3c8),_0x2d45f2(0x1c5)][_0x2d45f2(0x3bb)](_0x7788c8))_0x194dfc[_0x2d45f2(0x387)](_0x2d45f2(0x3f0),_0x2d45f2(0x3dd),'$gte',_0x2d45f2(0x450),_0x2d45f2(0x41d),'$lteq',_0x2d45f2(0x3e9));else{if([_0x2d45f2(0x305),_0x2d45f2(0x295),'VARCHAR'][_0x2d45f2(0x3bb)](_0x7788c8)||['CHAR','LONGTEXT'][_0x2d45f2(0x3bb)](_0x7788c8))_0x194dfc['push']('$eq','$ne',_0x2d45f2(0x3e9),_0x2d45f2(0x2bd),'$startWith','$endWith');else{if([_0x2d45f2(0x39e),_0x2d45f2(0x24d),_0x2d45f2(0x27c)][_0x2d45f2(0x3bb)](_0x7788c8)||[_0x2d45f2(0x31c)]['includes'](_0x7788c8))_0x194dfc[_0x2d45f2(0x387)](_0x2d45f2(0x3f0),_0x2d45f2(0x3dd),_0x2d45f2(0x43e),_0x2d45f2(0x450),_0x2d45f2(0x41d),'$lteq');else[_0x2d45f2(0x227),'BOOL','BIT']['includes'](_0x7788c8)?_0x194dfc[_0x2d45f2(0x387)](_0x2d45f2(0x3f0),'$ne'):_0x194dfc[_0x2d45f2(0x387)](_0x2d45f2(0x3f0),_0x2d45f2(0x3dd));}}return _0x194dfc;}['selectBestOperator'](_0x5ec72e,_0x1c4a08){const _0x25f581=a0_0xf68f23,_0x40a5e5=_0x5ec72e[_0x25f581(0x1d8)]();if(['NUMBER',_0x25f581(0x453),_0x25f581(0x236),_0x25f581(0x367)][_0x25f581(0x3bb)](_0x40a5e5)||[_0x25f581(0x326),_0x25f581(0x3ca),_0x25f581(0x239),_0x25f581(0x3c8),_0x25f581(0x1c5)][_0x25f581(0x3bb)](_0x40a5e5))return _0x1c4a08['includes'](_0x25f581(0x43e))?'$gte':_0x25f581(0x3f0);if([_0x25f581(0x305),_0x25f581(0x295),_0x25f581(0x33a)][_0x25f581(0x3bb)](_0x40a5e5)||[_0x25f581(0x1e4),'LONGTEXT'][_0x25f581(0x3bb)](_0x40a5e5))return _0x1c4a08[_0x25f581(0x3bb)](_0x25f581(0x2bd))?'$contain':_0x25f581(0x3f0);if(['DATE','DATETIME',_0x25f581(0x27c),'TIME']['includes'](_0x40a5e5))return _0x1c4a08['includes'](_0x25f581(0x43e))?_0x25f581(0x43e):_0x25f581(0x3f0);return _0x25f581(0x3f0);}[a0_0xf68f23(0x1d1)](_0x183a78,_0x46e51c){const _0x2276bf=a0_0xf68f23,_0x392f0f=_0x183a78[_0x2276bf(0x1d8)](),_0x5290ab=_0x183a78['getEnumOptions']();if(_0x5290ab&&_0x5290ab[_0x2276bf(0x34c)]>0x0){if(_0x46e51c===_0x2276bf(0x3e9))return _0x5290ab['slice'](0x0,0x2)['map'](_0x4fb82e=>_0x4fb82e[_0x2276bf(0x45e)]);return _0x5290ab[0x0][_0x2276bf(0x45e)];}if([_0x2276bf(0x42c),_0x2276bf(0x453),'BIGINT',_0x2276bf(0x367)]['includes'](_0x392f0f)||[_0x2276bf(0x326),_0x2276bf(0x3ca),_0x2276bf(0x239),_0x2276bf(0x3c8),_0x2276bf(0x1c5)]['includes'](_0x392f0f)){if(_0x46e51c==='$in')return[0x1,0x2,0x3];if(_0x46e51c===_0x2276bf(0x43e)||_0x46e51c===_0x2276bf(0x41d))return 0x0;if(_0x46e51c==='$lte'||_0x46e51c===_0x2276bf(0x451))return 0x64;return 0x1;}if([_0x2276bf(0x305),'TEXT',_0x2276bf(0x33a)]['includes'](_0x392f0f)||[_0x2276bf(0x1e4),_0x2276bf(0x2d1)][_0x2276bf(0x3bb)](_0x392f0f)){if(_0x46e51c===_0x2276bf(0x3e9))return[_0x2276bf(0x1da),_0x2276bf(0x333)];if(_0x46e51c===_0x2276bf(0x2bd))return'keyword';if(_0x46e51c===_0x2276bf(0x1db))return _0x2276bf(0x3b2);if(_0x46e51c==='$endWith')return _0x2276bf(0x35e);return _0x2276bf(0x45e);}if([_0x2276bf(0x39e),_0x2276bf(0x24d),_0x2276bf(0x27c),_0x2276bf(0x31c)][_0x2276bf(0x3bb)](_0x392f0f)){if(_0x46e51c==='$gte'||_0x46e51c===_0x2276bf(0x41d))return _0x2276bf(0x2a7);if(_0x46e51c==='$lte'||_0x46e51c===_0x2276bf(0x451))return _0x2276bf(0x1dd);return _0x2276bf(0x2a7);}if(['BOOLEAN',_0x2276bf(0x1fa),_0x2276bf(0x288)]['includes'](_0x392f0f))return!![];return _0x46e51c===_0x2276bf(0x3e9)?['value1',_0x2276bf(0x333)]:_0x2276bf(0x45e);}['getRequestParamsDocInfo'](){const _0x228a58=a0_0xf68f23,_0x20d374=this[_0x228a58(0x299)](),_0x1c6069=Object[_0x228a58(0x1b4)](_0x20d374)['filter'](([_0x18178b])=>_0x18178b!==_0x228a58(0x25f)&&_0x18178b!==_0x228a58(0x2ec))[_0x228a58(0x336)](([_0x2046ea,_0x195e72])=>{const _0x3ffc71=_0x228a58,_0x56f7a0=_0x195e72,_0x4c2923={};return _0x4c2923[_0x3ffc71(0x30b)]=_0x2046ea,_0x4c2923[_0x3ffc71(0x282)]=_0x56f7a0[_0x3ffc71(0x282)]||'String',_0x4c2923[_0x3ffc71(0x1e7)]=_0x56f7a0[_0x3ffc71(0x1e7)]||'-',_0x4c2923[_0x3ffc71(0x283)]=_0x56f7a0[_0x3ffc71(0x283)],_0x4c2923;}),_0x2baed1={};return _0x2baed1[_0x228a58(0x1e7)]=_0x228a58(0x23e),_0x2baed1[_0x228a58(0x39d)]=_0x1c6069,_0x2baed1;}[a0_0xf68f23(0x38b)](){const _0x401b81=a0_0xf68f23,_0x564a62=this[_0x401b81(0x454)]()['aggregate'],_0x123feb=[{}],_0x409aee=[];_0x564a62?.[_0x401b81(0x1df)](_0xbb232e=>{const _0x23f853=_0x401b81,_0x48412c={};_0x48412c['title']=_0xbb232e[_0x23f853(0x363)],_0x48412c[_0x23f853(0x307)]=_0xbb232e[_0x23f853(0x363)],_0x409aee['push'](_0x48412c),_0x123feb[0x0][_0xbb232e[_0x23f853(0x363)]]=_0xbb232e[_0x23f853(0x282)]===_0x23f853(0x1a0)?0x64:Math[_0x23f853(0x34a)](Math[_0x23f853(0x1a2)]()*0x64*0x64)/0x64;});const _0x3f7141={};_0x3f7141[_0x401b81(0x2ec)]=0x1,_0x3f7141[_0x401b81(0x2f1)]=0x64,_0x3f7141[_0x401b81(0x25f)]=0x1;const _0x1b79af={};_0x1b79af['paging']=_0x3f7141,_0x1b79af[_0x401b81(0x203)]=_0x123feb,_0x1b79af['tableColumns']=_0x409aee;const _0x2e08d2={};return _0x2e08d2[_0x401b81(0x261)]=!![],_0x2e08d2[_0x401b81(0x374)]='',_0x2e08d2['errorMsg']='',_0x2e08d2['errorCode']=_0x401b81(0x401),_0x2e08d2['data']=_0x1b79af,_0x2e08d2[_0x401b81(0x39d)]=null,_0x2e08d2;}}class OperationFactory{['create'](_0x418c00,_0x35f2ef,_0x14612c){const _0x2fee5a=a0_0xf68f23;switch(_0x418c00){case _0x2fee5a(0x2c0):return new GetSelectOptionsOperation(_0x418c00,_0x35f2ef,_0x14612c);case _0x2fee5a(0x2a6):return new GetListOperation(_0x418c00,_0x35f2ef,_0x14612c);case _0x2fee5a(0x1d7):return new FilterOperation(_0x418c00,_0x35f2ef,_0x14612c);case _0x2fee5a(0x389):return new ExcelExportOperation(_0x418c00,_0x35f2ef,_0x14612c);case'update':return new UpdateOperation(_0x418c00,_0x35f2ef,_0x14612c);case _0x2fee5a(0x414):return new AggregateOperation(_0x418c00,_0x35f2ef,_0x14612c);default:return new GenericOperation(_0x418c00,_0x35f2ef,_0x14612c);}}[a0_0xf68f23(0x3a3)](_0x320172,_0x3b1c63){const _0x279925=a0_0xf68f23,_0x559eb0=new Map();return Object['entries'](_0x320172)[_0x279925(0x1df)](([_0x149e3a,_0x1192db])=>{const _0x563d47=_0x279925;_0x559eb0[_0x563d47(0x386)](_0x149e3a,this[_0x563d47(0x1bc)](_0x149e3a,_0x1192db,_0x3b1c63));}),_0x559eb0;}}class OperationList{[a0_0xf68f23(0x3e8)];constructor(_0x22cd83,_0x2eda6a){const _0x427346=new OperationFactory();this['_operations']=_0x427346['createAll'](_0x22cd83,_0x2eda6a);}[a0_0xf68f23(0x2c7)](_0x210aa4){const _0x159665=a0_0xf68f23;return this[_0x159665(0x3e8)][_0x159665(0x2c7)](_0x210aa4);}['has'](_0x4a5d45){const _0x38452f=a0_0xf68f23;return this[_0x38452f(0x3e8)][_0x38452f(0x2a9)](_0x4a5d45);}[a0_0xf68f23(0x2b5)](){const _0x2d7634=a0_0xf68f23;return this[_0x2d7634(0x3e8)][_0x2d7634(0x2b5)];}['getNames'](){const _0x495fbd=a0_0xf68f23;return Array[_0x495fbd(0x2a3)](this['_operations']['keys']());}[a0_0xf68f23(0x41f)](){const _0x5e4a9e=a0_0xf68f23,_0x4e7880=Array[_0x5e4a9e(0x2a3)](this[_0x5e4a9e(0x3e8)][_0x5e4a9e(0x36c)]());return this[_0x5e4a9e(0x230)](_0x4e7880);}[a0_0xf68f23(0x1a7)](){const _0x60ed44=a0_0xf68f23;return this[_0x60ed44(0x41f)]()[_0x60ed44(0x1d7)](_0x1eee8d=>_0x1eee8d[_0x60ed44(0x41b)]());}[a0_0xf68f23(0x394)](){const _0x116301=a0_0xf68f23;return this[_0x116301(0x41f)]()['filter'](_0x39f505=>!_0x39f505[_0x116301(0x41b)]());}[a0_0xf68f23(0x29b)](){const _0xa17c74=a0_0xf68f23;return this[_0xa17c74(0x1a7)]()['map'](_0x311d2e=>_0x311d2e[_0xa17c74(0x1fd)]());}[a0_0xf68f23(0x2be)](){const _0xe3f02b=a0_0xf68f23;return this[_0xe3f02b(0x394)]()['map'](_0x2fd626=>_0x2fd626[_0xe3f02b(0x1fd)]());}[a0_0xf68f23(0x1e9)](_0x4d2dbe){const _0x19efe8=a0_0xf68f23;return this[_0x19efe8(0x41f)]()[_0x19efe8(0x1d7)](_0x5d8d9b=>_0x5d8d9b[_0x19efe8(0x43d)]()===_0x4d2dbe);}[a0_0xf68f23(0x1d7)](_0x486cbb){const _0x304c2f=a0_0xf68f23;return this[_0x304c2f(0x41f)]()[_0x304c2f(0x1d7)](_0x486cbb);}['getFiltered'](_0x5cbb62={}){const _0x34c41b=a0_0xf68f23;let _0x1b3b44=this[_0x34c41b(0x41f)]();!_0x5cbb62[_0x34c41b(0x1d5)]&&(_0x1b3b44=_0x1b3b44[_0x34c41b(0x1d7)](_0x325d5f=>_0x325d5f[_0x34c41b(0x41b)]()));if(_0x5cbb62[_0x34c41b(0x23a)]!==![]){const _0x18406b=_0x1b3b44['map'](_0x5b7c36=>({'name':_0x5b7c36['getName'](),'operation':_0x5b7c36})),_0x3a0c4c=filterApiOperations(_0x18406b);_0x1b3b44=_0x3a0c4c[_0x34c41b(0x336)](_0x4c3e95=>_0x4c3e95[_0x34c41b(0x3b7)]),_0x1b3b44=this[_0x34c41b(0x230)](_0x1b3b44);}return _0x5cbb62['customFilter']&&(_0x1b3b44=_0x1b3b44[_0x34c41b(0x1d7)](_0x5cbb62['customFilter'])),_0x1b3b44;}[a0_0xf68f23(0x230)](_0xa6ead4){const _0x49731a=a0_0xf68f23,_0x30d0ea=_0xa6ead4[_0x49731a(0x1b6)](_0x30f713=>_0x30f713[_0x49731a(0x1fd)]()===_0x49731a(0x1d7)),_0x2ad59c=_0xa6ead4[_0x49731a(0x1d7)](_0x1d492a=>_0x1d492a[_0x49731a(0x1fd)]()!==_0x49731a(0x1d7));return _0x30d0ea?[_0x30d0ea,..._0x2ad59c]:_0x2ad59c;}[a0_0xf68f23(0x246)](){const _0x5c09a1=a0_0xf68f23,_0x452115=this[_0x5c09a1(0x1a7)]();return{'total':this['size'](),'enabled':_0x452115[_0x5c09a1(0x34c)],'disabled':this[_0x5c09a1(0x2b5)]()-_0x452115[_0x5c09a1(0x34c)],'byType':this[_0x5c09a1(0x3cf)](_0x452115),'byMethod':this['getCountByMethod'](_0x452115)};}[a0_0xf68f23(0x3cf)](_0x20f8d7){const _0xed4047={};return _0x20f8d7['forEach'](_0xfe9488=>{const _0x126b28=a0_0x274a,_0x220743=_0xfe9488[_0x126b28(0x43d)]();_0x220743&&(_0xed4047[_0x220743]=(_0xed4047[_0x220743]||0x0)+0x1);}),_0xed4047;}[a0_0xf68f23(0x30a)](_0x5dc8bc){const _0x404b94=a0_0xf68f23,_0x571bf5={};return _0x5dc8bc[_0x404b94(0x1df)](_0x3e7acb=>{const _0x302e6f=_0x404b94,_0x1c6f96=_0x3e7acb[_0x302e6f(0x3e0)]();_0x1c6f96&&(_0x571bf5[_0x1c6f96]=(_0x571bf5[_0x1c6f96]||0x0)+0x1);}),_0x571bf5;}[Symbol['iterator']](){const _0x399304=a0_0xf68f23;return this[_0x399304(0x3e8)][_0x399304(0x36c)]();}[a0_0xf68f23(0x250)](){const _0xa0232f=a0_0xf68f23,_0x1b35b4=this[_0xa0232f(0x246)]();return _0xa0232f(0x3a7)+_0x1b35b4[_0xa0232f(0x1cf)]+'/'+_0x1b35b4[_0xa0232f(0x3bc)]+'\x20operations)';}}class DBConfig{['raw'];[a0_0xf68f23(0x33d)];[a0_0xf68f23(0x340)];[a0_0xf68f23(0x264)];[a0_0xf68f23(0x1aa)];[a0_0xf68f23(0x27f)];[a0_0xf68f23(0x384)];[a0_0xf68f23(0x3f8)];[a0_0xf68f23(0x25c)];[a0_0xf68f23(0x1c6)];constructor(_0x407778,_0x139ae1){const _0x154c08=a0_0xf68f23;this[_0x154c08(0x344)]=_0x139ae1,this[_0x154c08(0x33d)]=_0x407778[_0x154c08(0x33d)],this['dbName']=_0x407778[_0x154c08(0x340)],this[_0x154c08(0x264)]=_0x407778[_0x154c08(0x264)],this[_0x154c08(0x1aa)]=_0x407778[_0x154c08(0x1aa)],this[_0x154c08(0x27f)]=_0x407778['tableName'],this[_0x154c08(0x384)]=_0x407778[_0x154c08(0x384)],this['pkField']=_0x407778[_0x154c08(0x3f8)],this[_0x154c08(0x25c)]=_0x407778[_0x154c08(0x25c)],this[_0x154c08(0x1c6)]=_0x407778[_0x154c08(0x1c6)];}[a0_0xf68f23(0x201)](){const _0x16d6b5=a0_0xf68f23;return this[_0x16d6b5(0x344)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0xf68f23(0x35a)];[a0_0xf68f23(0x1fe)];[a0_0xf68f23(0x431)];constructor(_0x309277){const _0x446421=a0_0xf68f23,_0xa9adb1={..._0x309277};_0xa9adb1['id']=_0x309277['modelId']||_0x309277['id'],_0xa9adb1[_0x446421(0x362)]=_0x309277[_0x446421(0x3a1)]||_0x309277['datasetCode']||_0x309277['code'],super(_0xa9adb1);}[a0_0xf68f23(0x1f5)](){return;}[a0_0xf68f23(0x225)](){return[];}[a0_0xf68f23(0x1d6)](){return[];}get['source'](){const _0x579b30=a0_0xf68f23;return this[_0x579b30(0x3e2)]();}[a0_0xf68f23(0x24a)](){const _0x25c351=a0_0xf68f23;if(!this[_0x25c351(0x1fe)])throw new Error(_0x25c351(0x281));return this[_0x25c351(0x1fe)];}['getFieldListWithDeleted'](){const _0x2152e5=a0_0xf68f23;if(!this['_fieldListWithDeleted'])throw new Error(_0x2152e5(0x43b));return this[_0x2152e5(0x431)];}[a0_0xf68f23(0x434)](){return[];}['getFieldsWithDeleted'](){const _0x50e92e=a0_0xf68f23,_0x20f04c=this['getFieldDataSource']();return _0x20f04c[_0x50e92e(0x2a1)];}[a0_0xf68f23(0x26f)](){return this['getFields']()['length'];}['getField'](_0xcc1d53){const _0x33b25e=a0_0xf68f23,_0x5c55f4=this['getFieldInstance'](_0xcc1d53);return _0x5c55f4?_0x5c55f4[_0x33b25e(0x344)]:undefined;}['getFieldRaw'](_0x114d9a){return;}['parseFieldExtend'](_0x4a8532){const _0x803404=a0_0xf68f23;if(!_0x4a8532||typeof _0x4a8532!==_0x803404(0x43a))return!![]&&console[_0x803404(0x359)](_0x803404(0x38c),_0x4a8532),{};if(_0x803404(0x3f8)in _0x4a8532){const _0x4c0507=_0x4a8532;return{'primaryKey':typeof _0x4c0507['pkField']==='boolean'?_0x4c0507[_0x803404(0x3f8)]:Boolean(_0x4c0507['pkField']),'required':_0x4c0507[_0x803404(0x283)],'systemRetain':Boolean(_0x4c0507[_0x803404(0x1ee)]),'autoIncrement':_0x4c0507['autoIncrement']??undefined};}if(!(_0x803404(0x3c9)in _0x4a8532)||!_0x4a8532[_0x803404(0x3c9)])return{};try{const _0x168fac=typeof _0x4a8532['extend']==='string'?JSON[_0x803404(0x28b)](_0x4a8532['extend']):_0x4a8532[_0x803404(0x3c9)];if(typeof _0x168fac!==_0x803404(0x43a)||_0x168fac===null)return{};return _0x168fac;}catch{return{};}}[a0_0xf68f23(0x3bd)](){const _0x3b9402=a0_0xf68f23;if(!this[_0x3b9402(0x35a)]){const _0x2cbe28=this[_0x3b9402(0x304)](this[_0x3b9402(0x3f2)]()||{});this[_0x3b9402(0x35a)]=new OperationList(_0x2cbe28,{'fields':this[_0x3b9402(0x24a)]()[_0x3b9402(0x1a8)](),'pkField':this[_0x3b9402(0x2e3)][_0x3b9402(0x26d)]?.[_0x3b9402(0x3f8)],'dbtableConfig':this[_0x3b9402(0x2e3)]['dbtableConfig']||null});}return this['_operationList'];}[a0_0xf68f23(0x304)](_0x1c42d8){const _0x46c6b7=a0_0xf68f23;if(_0x1c42d8[_0x46c6b7(0x1d7)]!==undefined)return _0x1c42d8;return{..._0x1c42d8,'filter':this['generateDefaultFilterOperation']()};}[a0_0xf68f23(0x3d8)](){const _0x4e4304=a0_0xf68f23,_0x109804=this[_0x4e4304(0x3f2)]()?.[_0x4e4304(0x2a6)];let _0x569328=_0x109804?.[_0x4e4304(0x248)],_0x31c8cc='';if(!_0x569328&&this[_0x4e4304(0x3f2)]()){const _0x4d88b2=Object[_0x4e4304(0x36c)](this[_0x4e4304(0x3f2)]());for(const _0x506bd0 of _0x4d88b2){if(_0x506bd0&&typeof _0x506bd0===_0x4e4304(0x43a)&&_0x4e4304(0x248)in _0x506bd0){_0x569328=_0x506bd0[_0x4e4304(0x248)];break;}}}if(_0x109804?.[_0x4e4304(0x2b6)]){const _0x2fd285=_0x109804['path'],_0x9fab8c=_0x2fd285['lastIndexOf']('/');_0x9fab8c!==-0x1&&(_0x31c8cc=_0x2fd285[_0x4e4304(0x397)](0x0,_0x9fab8c));}const _0x501914={};_0x501914[_0x4e4304(0x30b)]=_0x4e4304(0x2dc),_0x501914['type']=_0x4e4304(0x43a),_0x501914[_0x4e4304(0x283)]=![];const _0x22073d={};_0x22073d[_0x4e4304(0x30b)]=_0x4e4304(0x3fe),_0x22073d[_0x4e4304(0x282)]=_0x4e4304(0x3ea),_0x22073d[_0x4e4304(0x283)]=![];const _0x26655d={};_0x26655d['name']=_0x4e4304(0x35d),_0x26655d['type']=_0x4e4304(0x3ea),_0x26655d[_0x4e4304(0x283)]=![];const _0x4e7cb6={};_0x4e7cb6[_0x4e4304(0x30b)]=_0x4e4304(0x25f),_0x4e7cb6[_0x4e4304(0x282)]=_0x4e4304(0x404),_0x4e7cb6[_0x4e4304(0x283)]=![],_0x4e7cb6[_0x4e4304(0x3ef)]=0x1;const _0x2885df={};_0x2885df['name']='pageSize',_0x2885df[_0x4e4304(0x282)]='number',_0x2885df[_0x4e4304(0x283)]=![],_0x2885df[_0x4e4304(0x3ef)]=0xa;const _0xb7fbd2={};return _0xb7fbd2[_0x4e4304(0x30b)]='filter',_0xb7fbd2[_0x4e4304(0x282)]=_0x4e4304(0x1d0),_0xb7fbd2['description']=_0x4e4304(0x37d),_0xb7fbd2[_0x4e4304(0x321)]=_0x4e4304(0x315),_0xb7fbd2['host']=_0x569328,_0xb7fbd2['path']=_0x31c8cc?_0x31c8cc+'/filter':_0x4e4304(0x39b),_0xb7fbd2[_0x4e4304(0x39d)]=_0x109804?.[_0x4e4304(0x39d)]||[_0x501914,_0x22073d,_0x26655d,_0x4e7cb6,_0x2885df],_0xb7fbd2[_0x4e4304(0x377)]=!![],_0xb7fbd2;}[a0_0xf68f23(0x398)](){const _0x45fcad=a0_0xf68f23;return this[_0x45fcad(0x3bd)]()[_0x45fcad(0x41f)]();}['getOperationCount'](){const _0x3e7ea9=a0_0xf68f23;return this[_0x3e7ea9(0x3bd)]()[_0x3e7ea9(0x2b5)]();}[a0_0xf68f23(0x214)](_0x3a1902){const _0x51672d=a0_0xf68f23;if(typeof _0x3a1902!=='string'){!![]&&console[_0x51672d(0x359)](_0x51672d(0x3f4),_0x3a1902);return;}return this[_0x51672d(0x3bd)]()[_0x51672d(0x2c7)](_0x3a1902);}[a0_0xf68f23(0x2ff)](_0x167013){const _0x3b706a=a0_0xf68f23;if(typeof _0x167013!==_0x3b706a(0x3d4))return![];return this[_0x3b706a(0x3bd)]()[_0x3b706a(0x2a9)](_0x167013);}['isOperationEnabled'](_0x4468da){const _0x3abeab=a0_0xf68f23;if(typeof _0x4468da!==_0x3abeab(0x3d4))return![];const _0x4a0197=this[_0x3abeab(0x214)](_0x4468da);return _0x4a0197?.['isEnabled']()||![];}[a0_0xf68f23(0x22c)](){const _0x2b8eda=a0_0xf68f23;return this[_0x2b8eda(0x3bd)]()[_0x2b8eda(0x29b)]();}['getDisabledOperations'](){const _0x34b7ce=a0_0xf68f23;return this['getOperationList']()[_0x34b7ce(0x2be)]();}['getEnabledOperationInstances'](){const _0x8a7fb7=a0_0xf68f23;return this['getOperationList']()[_0x8a7fb7(0x1a7)]();}[a0_0xf68f23(0x390)](){const _0x1148e8=a0_0xf68f23;return this[_0x1148e8(0x3bd)]()[_0x1148e8(0x394)]();}[a0_0xf68f23(0x415)](_0x4d40e7={}){const _0x492b0b=a0_0xf68f23;return this[_0x492b0b(0x3bd)]()[_0x492b0b(0x1e1)](_0x4d40e7);}[a0_0xf68f23(0x246)](){const _0x553c8f=a0_0xf68f23;return{'fieldCount':this[_0x553c8f(0x26f)](),'systemFieldCount':this[_0x553c8f(0x314)]()[_0x553c8f(0x34c)],'businessFieldCount':this[_0x553c8f(0x2fd)]()['length'],'requiredFieldCount':this[_0x553c8f(0x1b5)]()[_0x553c8f(0x34c)],'primaryKeyCount':this['getPrimaryKeyFields']()[_0x553c8f(0x34c)],'operationCount':this['getOperationCount'](),'enabledOperationCount':this[_0x553c8f(0x22c)]()['length']};}[a0_0xf68f23(0x247)](_0x3821ab){const _0x42f770=a0_0xf68f23;if(!_0x3821ab||typeof _0x3821ab!==_0x42f770(0x43a))return'';if(_0x42f770(0x40e)in _0x3821ab&&typeof _0x3821ab['code']===_0x42f770(0x3d4))return _0x3821ab[_0x42f770(0x40e)];if(_0x42f770(0x30b)in _0x3821ab&&typeof _0x3821ab[_0x42f770(0x30b)]===_0x42f770(0x3d4))return _0x3821ab[_0x42f770(0x30b)];return'';}[a0_0xf68f23(0x3c7)](_0x4696a6){const _0xecb56b=a0_0xf68f23;return this[_0xecb56b(0x24a)]()[_0xecb56b(0x2a9)](_0x4696a6);}[a0_0xf68f23(0x2c2)](_0x245cf2){const _0x126ca4=a0_0xf68f23;if(!_0x245cf2||typeof _0x245cf2!==_0x126ca4(0x43a))return![];const _0x11a39c=this[_0x126ca4(0x247)](_0x245cf2),_0xd8205c=this[_0x126ca4(0x420)](_0x11a39c);return _0xd8205c?_0xd8205c[_0x126ca4(0x3db)]():![];}[a0_0xf68f23(0x3ec)](_0x93d7fa){const _0x24b701=a0_0xf68f23;if(!_0x93d7fa||typeof _0x93d7fa!==_0x24b701(0x43a))return![];const _0x472733=this['getFieldCode'](_0x93d7fa),_0x3768b9=this['getFieldInstance'](_0x472733);return _0x3768b9?_0x3768b9[_0x24b701(0x21f)]():![];}[a0_0xf68f23(0x1a9)](_0xe9930f){const _0x3e25eb=a0_0xf68f23;if(!_0xe9930f||typeof _0xe9930f!==_0x3e25eb(0x43a))return![];const _0x12bd35=this['getFieldCode'](_0xe9930f),_0x6e2ec0=this['getFieldInstance'](_0x12bd35);return _0x6e2ec0?_0x6e2ec0['isRequired']():![];}[a0_0xf68f23(0x22d)](_0x223468){const _0x437a35=a0_0xf68f23;if(!_0x223468||typeof _0x223468!==_0x437a35(0x43a))return![];const _0x4ba1d9=this[_0x437a35(0x247)](_0x223468),_0x4ee8d7=this[_0x437a35(0x420)](_0x4ba1d9);return _0x4ee8d7?_0x4ee8d7[_0x437a35(0x44d)]():![];}['isMultipleSelectField'](_0x5306bc){const _0x293356=a0_0xf68f23;if(!_0x5306bc||typeof _0x5306bc!==_0x293356(0x43a))return![];const _0x450ea1=this['getFieldCode'](_0x5306bc),_0x30a252=this['getFieldInstance'](_0x450ea1);return _0x30a252?_0x30a252['isMultipleSelect']():![];}['getFieldOptions'](_0x532d0a){const _0x3d0939=a0_0xf68f23;if(!_0x532d0a||typeof _0x532d0a!=='object')return[];const _0x31df32=this['getFieldCode'](_0x532d0a),_0x3a4747=this[_0x3d0939(0x420)](_0x31df32);if(!_0x3a4747||!_0x3a4747[_0x3d0939(0x44d)]())return[];return _0x3a4747[_0x3d0939(0x2b0)]()||[];}[a0_0xf68f23(0x19d)](_0xf122fa){const _0x469e12=a0_0xf68f23;if(!_0xf122fa||typeof _0xf122fa!==_0x469e12(0x43a))return;const _0x5d4cd2=this[_0x469e12(0x247)](_0xf122fa),_0x47d8c3=this[_0x469e12(0x420)](_0x5d4cd2);if(!_0x47d8c3||!_0x47d8c3['isEnum']())return;return _0x47d8c3[_0x469e12(0x2cc)]();}[a0_0xf68f23(0x368)](_0x13efa3){const _0x1aa1f2=a0_0xf68f23;if(!_0x13efa3||typeof _0x13efa3!==_0x1aa1f2(0x43a))return;const _0x5d3c80=this['getFieldCode'](_0x13efa3),_0x1e681c=this[_0x1aa1f2(0x420)](_0x5d3c80);if(!_0x1e681c||!_0x1e681c[_0x1aa1f2(0x44d)]())return;return _0x1e681c[_0x1aa1f2(0x3cd)]();}[a0_0xf68f23(0x275)](){const _0x21045f=a0_0xf68f23;return this['getFieldList']()[_0x21045f(0x21a)]()['map'](_0x78e138=>_0x78e138[_0x21045f(0x344)]);}[a0_0xf68f23(0x314)](){const _0x333d28=a0_0xf68f23;return this[_0x333d28(0x24a)]()[_0x333d28(0x1e0)]()[_0x333d28(0x336)](_0x563205=>_0x563205[_0x333d28(0x344)]);}[a0_0xf68f23(0x2fd)](){const _0x2de503=a0_0xf68f23;return this['getFieldList']()[_0x2de503(0x418)]()[_0x2de503(0x336)](_0x1233e1=>_0x1233e1[_0x2de503(0x344)]);}[a0_0xf68f23(0x1b5)](){const _0x3e8633=a0_0xf68f23;return this[_0x3e8633(0x24a)]()[_0x3e8633(0x1f6)]()[_0x3e8633(0x336)](_0x34dece=>_0x34dece[_0x3e8633(0x344)]);}['getFieldsByType'](){const _0x3cf9fd=a0_0xf68f23,_0x38fc96=this['getFieldList']()[_0x3cf9fd(0x2a2)](),_0x25f9dd={};for(const [_0x3aceb8,_0x409572]of Object[_0x3cf9fd(0x1b4)](_0x38fc96)){_0x25f9dd[_0x3aceb8]=_0x409572['map'](_0x166265=>_0x166265[_0x3cf9fd(0x344)]);}return _0x25f9dd;}['getEnumFields'](){const _0x5d1d29=a0_0xf68f23;return this[_0x5d1d29(0x24a)]()[_0x5d1d29(0x2fc)]()[_0x5d1d29(0x336)](_0x41828b=>_0x41828b[_0x5d1d29(0x344)]);}[a0_0xf68f23(0x37b)](){const _0x3a0347=a0_0xf68f23,_0x5ee5e5={};return this[_0x3a0347(0x416)]()[_0x3a0347(0x1df)](_0xf8e23f=>{const _0x193e28=_0x3a0347,_0xe3df2d=this[_0x193e28(0x368)](_0xf8e23f);if(_0xe3df2d){const _0x212e01=this[_0x193e28(0x247)](_0xf8e23f);_0x5ee5e5[_0x212e01]=_0xe3df2d;}}),_0x5ee5e5;}[a0_0xf68f23(0x204)](_0x11a17e,_0x406fe6){const _0xa9328b=a0_0xf68f23,_0x1b03a8=this[_0xa9328b(0x368)](_0x11a17e);if(!_0x1b03a8)return!![];if(_0x1b03a8[_0xa9328b(0x316)]&&!_0x1b03a8[_0xa9328b(0x226)])return!![];const _0x3c7301=this[_0xa9328b(0x247)](_0x11a17e),_0x77d592=this[_0xa9328b(0x420)](_0x3c7301),_0x56d998=_0x77d592?_0x77d592[_0xa9328b(0x221)]():![];if(_0x56d998&&Array[_0xa9328b(0x30c)](_0x406fe6))return _0x406fe6[_0xa9328b(0x3d9)](_0x2c88bd=>_0x1b03a8['values'][_0xa9328b(0x3bb)](_0x2c88bd));return _0x1b03a8[_0xa9328b(0x36c)][_0xa9328b(0x3bb)](_0x406fe6);}[a0_0xf68f23(0x40c)](){const _0x340e5b=a0_0xf68f23;return new DatasetItem({'id':this['id'],'name':this[_0x340e5b(0x30b)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x340e5b(0x298)]()});}[a0_0xf68f23(0x250)](){const _0x43f0b9=a0_0xf68f23;return _0x43f0b9(0x20f)+this[_0x43f0b9(0x30b)]+',\x20'+this[_0x43f0b9(0x362)]+',\x20'+this['getFieldCount']()+'\x20fields,\x20'+this[_0x43f0b9(0x3ac)]()+_0x43f0b9(0x3b8)+this[_0x43f0b9(0x392)]()+')';}[a0_0xf68f23(0x1cc)](){const _0x3271f4=a0_0xf68f23;return this[_0x3271f4(0x44a)](_0x3271f4(0x1d7));}['getFieldFilterOperators'](_0x2e3f91){const _0x22b1c5=a0_0xf68f23;return this[_0x22b1c5(0x329)](_0x22b1c5(0x1d7),_0x2e3f91);}['getFieldsFilterOperatorsMap'](){const _0x9a0b3f=a0_0xf68f23;return this[_0x9a0b3f(0x38e)](_0x9a0b3f(0x1d7));}[a0_0xf68f23(0x44a)](_0x109e6e){const _0x1718dc=a0_0xf68f23,_0x141907=this[_0x1718dc(0x214)](_0x109e6e);return _0x141907?_0x141907[_0x1718dc(0x1e5)]():[];}[a0_0xf68f23(0x329)](_0x176440,_0x4740dd){const _0x1e4c40=a0_0xf68f23,_0x2d4929=this[_0x1e4c40(0x214)](_0x176440);return _0x2d4929?_0x2d4929[_0x1e4c40(0x458)](_0x4740dd):[];}[a0_0xf68f23(0x38e)](_0xa98965){const _0x4eb0e6=a0_0xf68f23,_0x4e278b={};return this['getFieldList']()[_0x4eb0e6(0x1df)](_0x4bbade=>{const _0x2a2ba8=_0x4eb0e6,_0x5443fe=this[_0x2a2ba8(0x329)](_0xa98965,_0x4bbade[_0x2a2ba8(0x40e)]);_0x5443fe[_0x2a2ba8(0x34c)]>0x0&&(_0x4e278b[_0x4bbade['code']]=_0x5443fe);}),_0x4e278b;}[a0_0xf68f23(0x31d)](_0x3fe433,_0x4b3ce8,_0x365ee2){const _0x5eb018=a0_0xf68f23,_0x2743b1=this['getOperationFieldOperators'](_0x3fe433,_0x4b3ce8);return _0x2743b1[_0x5eb018(0x3bb)](_0x365ee2);}}class FieldBase{get[a0_0xf68f23(0x264)](){return;}get[a0_0xf68f23(0x1ea)](){return;}get[a0_0xf68f23(0x448)](){return;}get['doType'](){return;}[a0_0xf68f23(0x3ff)](){const _0x456b2f=a0_0xf68f23;return!this[_0x456b2f(0x21f)]();}[a0_0xf68f23(0x24b)](){const _0x316086=a0_0xf68f23;return this[_0x316086(0x2fa)];}['isEnum'](){const _0x10c2a3=a0_0xf68f23,_0x258ec8=[_0x10c2a3(0x343),_0x10c2a3(0x3b5),_0x10c2a3(0x357)];return _0x258ec8[_0x10c2a3(0x3bb)](this[_0x10c2a3(0x282)]);}[a0_0xf68f23(0x221)](){const _0x13c32c=a0_0xf68f23;return this[_0x13c32c(0x282)]===_0x13c32c(0x357);}[a0_0xf68f23(0x21d)](){const _0x1ef1ac=a0_0xf68f23,_0xf08252=this[_0x1ef1ac(0x3cd)]();return _0xf08252?.['values']||[];}['getEnumMeta'](){const _0x15624f=a0_0xf68f23;if(!this[_0x15624f(0x44d)]())return;const _0x4c9b0c=this[_0x15624f(0x2b0)](),_0xcb426a=this[_0x15624f(0x2cc)](),_0x70a2e2=[],_0x14cff2={},_0x34f05d=_0x13ad92=>{_0x13ad92['forEach'](_0x5cea22=>{const _0x449bb5=a0_0x274a;if(!_0x5cea22||typeof _0x5cea22!==_0x449bb5(0x43a))return;_0x5cea22[_0x449bb5(0x45e)]!==undefined&&_0x5cea22[_0x449bb5(0x45e)]!==null&&(_0x70a2e2['push'](_0x5cea22[_0x449bb5(0x45e)]),_0x14cff2[String(_0x5cea22['value'])]=_0x5cea22[_0x449bb5(0x3d5)]||''),_0x5cea22['children']&&Array['isArray'](_0x5cea22[_0x449bb5(0x1d4)])&&_0x5cea22[_0x449bb5(0x1d4)][_0x449bb5(0x34c)]>0x0&&_0x34f05d(_0x5cea22['children']);});};return _0x4c9b0c&&Array[_0x15624f(0x30c)](_0x4c9b0c)&&_0x4c9b0c[_0x15624f(0x34c)]>0x0&&_0x34f05d(_0x4c9b0c),{'code':this[_0x15624f(0x40e)],'name':this['name'],'type':this[_0x15624f(0x282)],'multiple':this[_0x15624f(0x221)](),'options':_0x4c9b0c,'selectItemsSource':_0xcb426a,'values':_0x70a2e2,'valueLabels':_0x14cff2};}get['enumValues'](){return this['getEnumValues']();}['toString'](){const _0x1c2ba1=a0_0xf68f23;return _0x1c2ba1(0x25b)+this[_0x1c2ba1(0x30b)]+',\x20'+this[_0x1c2ba1(0x40e)]+',\x20'+this['type']+',\x20'+this[_0x1c2ba1(0x392)]()+')';}}function a0_0x5e0f(){const _0x1c26e9=['String','getRawDbtableConfig','getRequestParams','toUpperCase','getEnabledNames','DatasetGroup(','findById','version','获取下拉选项','online','fields','groupByType','from','getConflicts','支持单值或数组','getList','2024-01-01','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','has','N/A','完整的\x20SDK\x20调用代码','createDate','_requestExampleCache','item1','\x20operations,\x20v2)','getEnumOptions','getRelationsByField','_datasetMeta','properties','解析\x20responseBody\x20失败:','size','path','分组字段列表','FieldV2(','sortNum','200','empty','findByTableName','$contain','getDisabledNames','getModelAlias','getSelectOptions','查询单条(原始)','isPrimaryKeyField','distinct','max','-\x20主键ID,用于定位要更新的记录\x0a\x0a','getInternalInstance','get','getOperationAnalyses','RICH_TEXT','usageExample','trim','getSelectItemsSource','getUpdateTime','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','getModelName','isFieldPrimaryKey','LONGTEXT','findByName','env','update\x20接口接受两个参数:\x0a\x0a','getFieldListV2','排序规则','\x20groups)','UPDATE','toISOString','示例值','responseBody','where','getOperationRequestFields','yourModel','dataset_unknown','(支持单值或数组)','DatasetList(','getPath','_raw','_fieldListV1','**可更新的字段列表:**','Integer','Object','\x20groups,\x20','Excel导出','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','generateFieldExample','pageSize','getEnabledOperationAnalyses','hasDbtableConfig','requestFieldCount',',\x20fields:\x20','totalCount','getFieldType','\x20fields)','主键ID(必填)','errorCode','[dsparser]\x20跳过重复的表名\x20\x22','字段编码','HTTP\x20请求示例(平铺格式)','Object[]','deleted','getCreateTime','getEnum','getBusinessFields','allFields','hasOperation','时间戳','generateConfig','getEnabledOperationInstances','conflictGroupCount','ensureFilterOperation','STRING','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','dataIndex','SWITCH','title','getCountByMethod','name','isArray','##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a','sort','getFieldDisplayName','JSON','createExport','parseRawResponseBody','getIds','getSystemFields','POST','selectItemsSource','_max','_operationAnalyses','supportsCRUD','1641615aUQOTT','getFieldDefinition','TIME','isOperatorApplicableToField','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','isEmpty','hasCreatorIdField','method','getDisplayName','getConflictStats','placeholder','has\x20conflicts','INT','isNumericField','GET_UPLOAD_FILE_SCRIPT','getOperationFieldOperators','includeUsageExample','getDisabledOperations',',\x20currentPage,\x20pageSize,\x20...\x20});','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','hasModifierIdField','datasetId','TEXTAREA','having','datasetName','value2','GET','查询单条','map','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getHTTPRequestParamsDocInfo','getForeignKeyFields','VARCHAR','Array','modifierIdField','dbId','getResponseParamsDocInfo','getFieldRaw','dbName','createTimeField','GET_ONE','RADIO','raw','getLatestDatasets','getDbName','dataset_000000','getOneUpdate','getAllDatasets','round','primaryKey','length','getFieldDescription','charAt','getFieldsWithDeleted','_relations','$and','importTemplate','getFilteredOperationAnalyses','_min','getCode','fromField','CHECKBOX','_datasetMap','warn','_operationList','创建导入','84xAxBuL','orderBy','suffix','const\x20result\x20=\x20await\x20client.models.','hasFilterOperation','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','datasetCode','alias','-\x20主键使用\x20`id`\x20字段\x0a','toConfigArray','getFieldsV2','DECIMAL','getEnumFieldMeta','_extend','getDatasetDocMeta','getEnumMetas','values','hasConflicts','-$1','join','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','接口名称','findAll','getAutoIncrement','msg','stringify','parseRawRequestBody','_autoGenerated','no\x20conflicts','createImport','当前页码(可选)','getEnumFieldsMeta','2.0','Filter\x20API\x20-\x20高级查询接口','Number','\x5c{\x5c{','datasetMap','获取数据集列表失败:\x20','getFullUrl','keys','datasetKey','解析\x20requestBody\x20失败:','set','push','includeDeleted','excelExport','[FieldV2]\x20Invalid\x20field\x20definition','generateResponseExample','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','GET_LIST','getOperationFieldsOperatorsMap','1.0','getDisabledOperationInstances','({\x20code,\x20label\x20});','getVersion','detectConflicts','getDisabled','getRealTables','getDatabaseName','substring','getOperations','slice','toDatasetId','/filter','daily','params','DATE','_fields','requestFields','modelCode','getAllFieldsString','createAll','toLowerCase','generateSingleValueExample','获取上传脚本','OperationList(','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','precision','doVersion','multiple','getOperationCount','tooltip','getHTTPFields','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','generateUsageExample','getOneOrigin','prefix','getLast','getOne','SELECT','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','operation','\x20operations,\x20','每页数量','TASK_INFO','includes','total','getOperationList','getAt','[parseFieldExtend]\x20Invalid\x20field:','replace','1.0.0-beta.8','modifierNameField','initDataset','聚合函数配置数组','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','createFields','hasField','DOUBLE','extend','TINYINT','getDatabaseType','item2','getEnumMeta','demo-app','getCountByType','DrivenDataDetailPlus(','creatorIdField','split',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','string','label','<p>富文本内容</p>','getActive','generateDefaultFilterOperation','every','\x22,数据集:\x20','isPrimaryKey','delete','$ne','getFieldV2','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getMethod','toDatasetName','getSource','mapDbTypeToType','repeat','745354JatSmZ','function','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/node-sdk\x27;\x0a\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27{{appCode}}\x27,\x0a<!--\x20CONDITION:\x20env\x20-->\x0a\x20\x20env:\x20\x27{{env}}\x27,\x0a<!--\x20/CONDITION\x20-->\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27{{datasetCode}}\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27{{alias}}\x27,\x0a\x20\x20\x20\x20}\x0a\x20\x20],\x0a<!--\x20CONDITION:\x20isOpenAPI\x20-->\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,\x0a<!--\x20/CONDITION\x20-->\x0a});\x0a\x0aexport\x20default\x20client;\x0a','_operations','$in','array','getFieldsByType','isSystemField','columnName','phone','default','$eq','errorMsg','getOperationsData','排序规则(与\x20Filter\x20API\x20一致)','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','isRequired','53459BdvLey','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','pkField','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','systemFieldCount','some','dblinkInfoDTO','generateRequestAllExamples','select','isBusiness','min','0000','getItems','getDeleted','number','getResponseSchema','getCount','EXCEL_EXPORT','SDK\x20调用','forceVersion','hasExtendField','getExtendField','toListItem','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','code','({\x20','update','getUploadFileScript','dataset','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','aggregate','getFilteredOperations','getEnumFields','<!--\x5cs*CONDITION:\x5cs*','getBusiness','normalizeDbType','getFieldOptions','isEnabled','CREATE_IMPORT','$gteq','String[]','toArray','getFieldInstance','sdkCallCode','数组查询(支持多选)','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','getCodes','getDefaultValue','(实际字段:','toField','系统自动生成','generateFromSchema','(params);','({\x20/*\x20可选:筛选条件\x20*/\x20});','NUMBER','3zbffAS','isCreateTime','labelField','_sum','_fieldListWithDeleted','FieldV1(','getFieldDataSource','getFields','CREATE','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','DESC','toFieldDefinition','generateHTTPRequestExample','object','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','sum','getType','$gte','successCode','8952630jgZjpj','isUpdateTime','getOperationDocMeta','IMPORT_TEMPLATE','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','hasDblinkInfo','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','useFullExample','displayName','分组后的过滤条件(对聚合结果进行过滤)','getOperationOperators','HTTP\x20直接调用时使用平铺格式:\x0a','FieldList(','isEnum','\x20fields,\x20','findAllByTableName','$lte','$lteq','getFieldListWithDeleted','INTEGER','generateRequestExample','avg','getLatest','getFieldNames','getFieldOperators','doType','getTableName','useArrayValues','email','hasRelation','value','getAllParams','_fieldListV2','getFieldSelectItemsSource','getRelatedDataset','getTooltip','count','customFilter','random','LONGBLOB','CREATE_EXPORT','查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)','getSDKInitData','getEnabled','all','isRequiredField','dbVersion','getSystemAnalysisResult','getTableKey','getDOType','datasetInfo','DELETE','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a','这是一段较长的文本内容示例','generateSDKCallCode','entries','getRequiredFields','find','下拉选择','findByCode','getField','(id,\x20data);','groupBy','create','getAppCode','taskInfo','generateHTTPExample','const\x20fileUrl\x20=\x20await\x20client.models.','total_count','fullUrl','BLOB','hasTableName','FLOAT','appCode','getFieldName','getFilterOperation','desc','[FieldV1.extend]\x20解析字段\x20','now','getFilterOperators','getRequestFields','UPLOAD','enabled','query','generateExampleValue','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','\x20indexes)','children','includeDisabled','getIndexes','filter','getDbTypeForOperation','getApplicableOperators','value1','$startWith','includeRequestExample','2024-12-31','任务信息','forEach','getSystem','getFiltered','导入模板','示例文本','CHAR','getOperators','FILE','description','businessFieldCount','getByType','dbTypeLen','data','generateOperationSummary','getFileUrl','systemRetain','返回字段列表(字段投影)','每页条数','_fieldListV1WithDeleted','255356fEijxW','bind','fieldCount','getDatasetMeta','getRequired','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','valueLabels','getConflictingItems','BOOL','单值查询','defaultValue','getName','_fieldList','SDK\x20调用时传递两个参数:\x0a','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','getRaw','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','tableData','validateEnumValue','prototype','sdkCall','getDBConfig','getNames','groups','withDeleted','getTenantCode','toConfig','add','status','DrivenDataDetail(','富文本','context','();','getUpdateFields','getOperation','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','77336cvMzoR','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','DatasetGroupMap(','要更新的字段数据对象','getPrimaryKeys',',\x20doType=','getMissingCRUDOperations','getEnumValues','主键ID','isSystem','请求示例','isMultipleSelect','文件上传','generateAliasExplanation','getOperationsOverviewData','getRelations','options','BOOLEAN','getOperationAnalysesByType','index','Operation\x20not\x20found:\x20','tableKey','getEnabledOperations','isEnumField','操作成功','indexes','sortOperationsWithFilterFirst','\x5c}\x5c}','$endWith','SDK\x20调用示例(两参数格式)','hasConflict','generateFullSDKExample','BIGINT','requestBody','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','SMALLINT','filterBlacklist','DrivenDataDetailV2(','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','operations','\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregate`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20HavingCondition[];\x20//\x20分组后的过滤条件(可选,对聚合结果进行过滤)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20column:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a\x0ainterface\x20HavingCondition\x20{\x0a\x20\x20columnName:\x20string;\x20//\x20聚合字段的别名(alias)\x0a\x20\x20condition:\x20WhereCondition;\x20//\x20聚合字段的过滤条件(支持与\x20where\x20相同的操作符)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**HavingCondition\x20使用示例**\x0a\x0a```ts\x0ahaving:\x20[\x0a\x20\x20{\x20columnName:\x20\x22total_amount\x22,\x20condition:\x20{\x20$gte:\x2010000\x20}\x20},\x0a\x20\x20{\x20columnName:\x20\x22count\x22,\x20condition:\x20{\x20$lte:\x20100\x20}\x20}\x0a]\x0a```\x0a\x0a**可用聚合字段**\x0a','\x20items,\x20','hasCreateTimeField','isVirtualTable','hasLogicField','API路径','https://example.com/file.pdf','selectBestOperator','getStats','getFieldCode','host','_instance','getFieldList','isDeleted','generateAllOperationsSummary','DATETIME','fieldName','isMultipleSelectField','toString','column','user@example.com','modifyDate','logicField','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','getAll','dataset_','//\x20','createTime','8nQbdqy','Field(','tenantCode','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','datasetSDKKey','currentPage','getFieldsFilterOperatorsMap','success','totalGroups','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','dbType','iterator','hasUpdateTimeField','GET_ONE_ORIGIN','getVirtualTables','字段名称','autoIncrement','DatasetItem(','$or','dbtableConfig','//\x20Usage\x20examples','getFieldCount','getAllFieldsArray','\x20operation','source','relations','getRequestParamsDocInfo','getPrimaryKeyFields','field_name','toJSON','`:\x20','每页数量(默认:\x2020)','items','isAutoIncrement','TIMESTAMP','4896009rFAhxj','getOperationAnalysis','tableName','updateTimeField','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','type','required','fromApiResponse','responseSchema','getFirst','当前页码','BIT','FieldListV2(','systemAnalysisResult','parse','creatorNameField','getOperationStats','exampleWhere','generateSDKInitCode','getDatasetSDKKey','operationCount','查询单条(用于更新)','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','DbtableConfig(table:\x20','TEXT','getDatabaseVersion'];a0_0x5e0f=function(){return _0x1c26e9;};return a0_0x5e0f();}class FieldV1 extends FieldBase{[a0_0xf68f23(0x2e3)];[a0_0xf68f23(0x369)]=null;constructor(_0x519f73){const _0x5f59c6=a0_0xf68f23;super();if(!_0x519f73||typeof _0x519f73!==_0x5f59c6(0x43a))throw new Error('[Field]\x20Invalid\x20field\x20definition');this['_raw']=_0x519f73;}[a0_0xf68f23(0x438)](){return this['_raw'];}[a0_0xf68f23(0x392)](){return'v1';}get[a0_0xf68f23(0x344)](){const _0x3b8aa2=a0_0xf68f23;return this[_0x3b8aa2(0x2e3)];}get[a0_0xf68f23(0x30b)](){return this['_raw']['name']||'';}get[a0_0xf68f23(0x40e)](){const _0x49f340=a0_0xf68f23;return this['_raw'][_0x49f340(0x40e)]||'';}get[a0_0xf68f23(0x282)](){const _0x16dee7=a0_0xf68f23;return this[_0x16dee7(0x2e3)][_0x16dee7(0x282)]||'';}get[a0_0xf68f23(0x1e7)](){const _0x4fa2fa=a0_0xf68f23;return this['_raw'][_0x4fa2fa(0x1e7)]||'';}get['deleted'](){const _0x22ed78=a0_0xf68f23;return Boolean(this[_0x22ed78(0x2e3)][_0x22ed78(0x2fa)]);}get['dbType'](){const _0x22af12=a0_0xf68f23;return this[_0x22af12(0x2e3)][_0x22af12(0x264)];}get[a0_0xf68f23(0x1ea)](){const _0x2216e1=a0_0xf68f23;return this['_raw'][_0x2216e1(0x1ea)];}get['displayName'](){const _0x344577=a0_0xf68f23;return this['_raw'][_0x344577(0x363)];}get[a0_0xf68f23(0x459)](){return;}get[a0_0xf68f23(0x3c9)](){const _0x42d9c1=a0_0xf68f23;if(this[_0x42d9c1(0x369)]!==null&&typeof this[_0x42d9c1(0x369)]===_0x42d9c1(0x43a))return this[_0x42d9c1(0x369)];const _0x50d197=this[_0x42d9c1(0x2e3)][_0x42d9c1(0x3c9)];if(!_0x50d197||typeof _0x50d197!==_0x42d9c1(0x3d4))return this[_0x42d9c1(0x369)]={},this[_0x42d9c1(0x369)];if(_0x50d197==='null'||_0x50d197[_0x42d9c1(0x2cb)]()==='null')return this[_0x42d9c1(0x369)]={},this[_0x42d9c1(0x369)];try{const _0x13aaf4=JSON['parse'](_0x50d197);return this['_extend']=_0x13aaf4!==null&&typeof _0x13aaf4===_0x42d9c1(0x43a)&&!Array[_0x42d9c1(0x30c)](_0x13aaf4)?_0x13aaf4:{},this[_0x42d9c1(0x369)];}catch(_0x1d82bc){return!![]&&console[_0x42d9c1(0x359)](_0x42d9c1(0x1ca)+this[_0x42d9c1(0x40e)]+'\x20的\x20extend\x20配置失败:',_0x1d82bc),this['_extend']={},this[_0x42d9c1(0x369)];}}[a0_0xf68f23(0x3f5)](){const _0x5d5b8b=a0_0xf68f23;return Boolean(this[_0x5d5b8b(0x3c9)][_0x5d5b8b(0x283)]);}['isPrimaryKey'](){const _0xea807=a0_0xf68f23;return Boolean(this['extend']['primaryKey']||this[_0xea807(0x3c9)][_0xea807(0x3f8)]);}['isSystem'](){const _0x33f329=a0_0xf68f23;return Boolean(this[_0x33f329(0x3c9)][_0x33f329(0x1ee)]);}[a0_0xf68f23(0x27b)](){const _0x5b3cce=a0_0xf68f23;return Boolean(this[_0x5b3cce(0x3c9)][_0x5b3cce(0x26a)]);}[a0_0xf68f23(0x42e)](){const _0x32b41a=a0_0xf68f23;return Boolean(this[_0x32b41a(0x3c9)][_0x32b41a(0x259)]);}['isUpdateTime'](){return Boolean(this['extend']['updateTime']);}[a0_0xf68f23(0x322)](){const _0x2cacdc=a0_0xf68f23;return this[_0x2cacdc(0x30b)];}[a0_0xf68f23(0x1c7)](){const _0x554391=a0_0xf68f23;return this[_0x554391(0x40e)];}['isEnum'](){const _0x59fe48=a0_0xf68f23,_0x1d96c0=[_0x59fe48(0x343),'SELECT',_0x59fe48(0x357)];if(_0x1d96c0[_0x59fe48(0x3bb)](this[_0x59fe48(0x282)]))return!![];const _0x35ac5d=this[_0x59fe48(0x3c9)];return Boolean(_0x35ac5d[_0x59fe48(0x226)]&&Array[_0x59fe48(0x30c)](_0x35ac5d[_0x59fe48(0x226)])&&_0x35ac5d[_0x59fe48(0x226)][_0x59fe48(0x34c)]>0x0||_0x35ac5d[_0x59fe48(0x316)]);}[a0_0xf68f23(0x221)](){const _0x5be6c5=a0_0xf68f23;if(this['type']===_0x5be6c5(0x357))return!![];return Boolean(this['extend'][_0x5be6c5(0x3ab)]);}[a0_0xf68f23(0x2b0)](){const _0x362c62=a0_0xf68f23,_0x1c32ac=this[_0x362c62(0x3c9)];if(_0x1c32ac['options']&&Array['isArray'](_0x1c32ac['options']))return _0x1c32ac[_0x362c62(0x226)];return;}[a0_0xf68f23(0x2cc)](){const _0x1e0ae3=a0_0xf68f23,_0x283da4=this[_0x1e0ae3(0x3c9)];if(_0x283da4['selectItemsSource']&&typeof _0x283da4[_0x1e0ae3(0x316)]===_0x1e0ae3(0x43a))return _0x283da4[_0x1e0ae3(0x316)];return;}[a0_0xf68f23(0x1d8)](){const _0x359d15=a0_0xf68f23;return this[_0x359d15(0x282)][_0x359d15(0x29a)]();}[a0_0xf68f23(0x425)](){const _0x391a00=a0_0xf68f23;return this[_0x391a00(0x3c9)][_0x391a00(0x1fc)];}[a0_0xf68f23(0x19f)](){const _0x4ee534=a0_0xf68f23;return this[_0x4ee534(0x3c9)][_0x4ee534(0x3ad)];}['toJSON'](){const _0x3b2a46=a0_0xf68f23;return{'name':this[_0x3b2a46(0x30b)],'code':this[_0x3b2a46(0x40e)],'type':this['type'],'dbType':this['dbType'],'dbTypeLen':this['dbTypeLen'],'description':this[_0x3b2a46(0x1e7)],'required':this[_0x3b2a46(0x3f5)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x3b2a46(0x21f)](),'autoIncrement':this[_0x3b2a46(0x27b)](),'createTime':this[_0x3b2a46(0x42e)](),'updateTime':this[_0x3b2a46(0x441)](),'isEnum':this['isEnum'](),'enumMeta':this['isEnum']()?this[_0x3b2a46(0x3cd)]():undefined};}['toString'](){const _0x7e97a8=a0_0xf68f23;return _0x7e97a8(0x432)+this[_0x7e97a8(0x30b)]+',\x20'+this[_0x7e97a8(0x40e)]+',\x20'+this[_0x7e97a8(0x282)]+')';}}class FieldListBase{[a0_0xf68f23(0x39f)];constructor(_0x2d343a,_0xfa78c9){const _0x151dae=a0_0xf68f23,_0x6cf97d=Array[_0x151dae(0x30c)](_0x2d343a)?_0x2d343a:[],_0x4ecb97=_0xfa78c9?.['includeDeleted']??![],_0x7a058=_0x4ecb97?_0x6cf97d:_0x6cf97d[_0x151dae(0x1d7)](_0x33fe5d=>{const _0x50e17c=_0x151dae;if(!_0x33fe5d||typeof _0x33fe5d!==_0x50e17c(0x43a))return![];const _0x43e0ec=_0x33fe5d;return!_0x43e0ec['deleted'];});this[_0x151dae(0x39f)]=this[_0x151dae(0x3c6)](_0x7a058);}get[a0_0xf68f23(0x34c)](){const _0xdd0dfa=a0_0xf68f23;return this[_0xdd0dfa(0x39f)][_0xdd0dfa(0x34c)];}[a0_0xf68f23(0x1a8)](){const _0x35b252=a0_0xf68f23;return[...this[_0x35b252(0x39f)]];}['at'](_0x3e271c){const _0xb7d8f3=a0_0xf68f23;return this[_0xb7d8f3(0x39f)]['at'](_0x3e271c);}[a0_0xf68f23(0x1b6)](_0x5a7dfb){const _0x170d5b=a0_0xf68f23;return this[_0x170d5b(0x39f)][_0x170d5b(0x1b6)](_0x2d29a7=>_0x2d29a7[_0x170d5b(0x40e)]===_0x5a7dfb);}[a0_0xf68f23(0x2d2)](_0x26df6a){return this['_fields']['find'](_0x270bdb=>_0x270bdb['name']===_0x26df6a);}[a0_0xf68f23(0x2a9)](_0x2e31bd){const _0x3c5c20=a0_0xf68f23;return this[_0x3c5c20(0x39f)][_0x3c5c20(0x3fb)](_0x1275ff=>_0x1275ff['code']===_0x2e31bd);}[a0_0xf68f23(0x1df)](_0x48ba00){const _0x25ff33=a0_0xf68f23;this['_fields'][_0x25ff33(0x1df)](_0x48ba00);}[a0_0xf68f23(0x336)](_0x175f3c){const _0x20a3bf=a0_0xf68f23;return this[_0x20a3bf(0x39f)][_0x20a3bf(0x336)](_0x175f3c);}['filter'](_0x47e795){const _0x14f687=a0_0xf68f23;return this[_0x14f687(0x39f)][_0x14f687(0x1d7)](_0x47e795);}[a0_0xf68f23(0x3d9)](_0xdb8b92){const _0x3ea29e=a0_0xf68f23;return this[_0x3ea29e(0x39f)][_0x3ea29e(0x3d9)](_0xdb8b92);}[a0_0xf68f23(0x3fb)](_0x2a1348){const _0x59ecc0=a0_0xf68f23;return this[_0x59ecc0(0x39f)][_0x59ecc0(0x3fb)](_0x2a1348);}[a0_0xf68f23(0x1f6)](){const _0xaf530f=a0_0xf68f23;return this[_0xaf530f(0x39f)][_0xaf530f(0x1d7)](_0x5c7dd9=>_0x5c7dd9[_0xaf530f(0x3f5)]());}['getPrimaryKeys'](){const _0x4575f6=a0_0xf68f23;return this[_0x4575f6(0x39f)][_0x4575f6(0x1d7)](_0xfdcfeb=>_0xfdcfeb['isPrimaryKey']());}[a0_0xf68f23(0x1e0)](){const _0x19a54c=a0_0xf68f23;return this[_0x19a54c(0x39f)]['filter'](_0x467de=>_0x467de['isSystem']());}[a0_0xf68f23(0x418)](){const _0x35b62f=a0_0xf68f23;return this[_0x35b62f(0x39f)][_0x35b62f(0x1d7)](_0x665ece=>_0x665ece[_0x35b62f(0x3ff)]());}[a0_0xf68f23(0x2fc)](){const _0x124b57=a0_0xf68f23;return this[_0x124b57(0x39f)]['filter'](_0xf4e99c=>_0xf4e99c[_0x124b57(0x44d)]());}[a0_0xf68f23(0x373)](){const _0x2cf409=a0_0xf68f23;return this[_0x2cf409(0x39f)][_0x2cf409(0x1d7)](_0x3011f8=>_0x3011f8[_0x2cf409(0x27b)]());}[a0_0xf68f23(0x2fb)](){const _0x27c1a7=a0_0xf68f23;return this[_0x27c1a7(0x39f)][_0x27c1a7(0x1d7)](_0x336536=>_0x336536[_0x27c1a7(0x42e)]());}[a0_0xf68f23(0x2cd)](){const _0x4a9a8b=a0_0xf68f23;return this[_0x4a9a8b(0x39f)][_0x4a9a8b(0x1d7)](_0x1b2a54=>_0x1b2a54[_0x4a9a8b(0x441)]());}[a0_0xf68f23(0x403)](){const _0x3946f2=a0_0xf68f23;return this[_0x3946f2(0x39f)][_0x3946f2(0x1d7)](_0x2038a6=>_0x2038a6[_0x3946f2(0x24b)]());}[a0_0xf68f23(0x3d7)](){const _0x25809e=a0_0xf68f23;return this[_0x25809e(0x39f)][_0x25809e(0x1d7)](_0x10aa66=>!_0x10aa66['isDeleted']());}['groupByType'](){const _0x1c33ec=a0_0xf68f23,_0x3f9231={};return this[_0x1c33ec(0x39f)][_0x1c33ec(0x1df)](_0x892698=>{const _0x300d47=_0x1c33ec,_0x1c7e30=_0x892698[_0x300d47(0x282)];!_0x3f9231[_0x1c7e30]&&(_0x3f9231[_0x1c7e30]=[]),_0x3f9231[_0x1c7e30][_0x300d47(0x387)](_0x892698);}),_0x3f9231;}[a0_0xf68f23(0x36b)](){const _0x44b51a=a0_0xf68f23,_0x210fc3={};return this[_0x44b51a(0x39f)]['forEach'](_0x3970ca=>{const _0x482a52=_0x44b51a;if(_0x3970ca[_0x482a52(0x44d)]()){const _0x16c0e0=_0x3970ca['getEnumMeta']();_0x16c0e0&&(_0x210fc3[_0x3970ca[_0x482a52(0x40e)]]=_0x16c0e0);}}),_0x210fc3;}[a0_0xf68f23(0x246)](){const _0x3318e7=a0_0xf68f23;return{'total':this[_0x3318e7(0x34c)],'required':this[_0x3318e7(0x1f6)]()[_0x3318e7(0x34c)],'primaryKey':this[_0x3318e7(0x21a)]()['length'],'system':this['getSystem']()[_0x3318e7(0x34c)],'business':this[_0x3318e7(0x418)]()[_0x3318e7(0x34c)],'enum':this[_0x3318e7(0x2fc)]()[_0x3318e7(0x34c)],'autoIncrement':this[_0x3318e7(0x373)]()[_0x3318e7(0x34c)]};}[a0_0xf68f23(0x424)](){const _0x22ba02=a0_0xf68f23;return this[_0x22ba02(0x39f)][_0x22ba02(0x336)](_0x43bea5=>_0x43bea5[_0x22ba02(0x40e)]);}[a0_0xf68f23(0x208)](){const _0x2e682d=a0_0xf68f23;return this['_fields'][_0x2e682d(0x336)](_0x54da5c=>_0x54da5c[_0x2e682d(0x322)]());}[a0_0xf68f23(0x457)](){const _0x188a23=a0_0xf68f23;return this[_0x188a23(0x39f)]['map'](_0x287ebc=>_0x287ebc[_0x188a23(0x1c7)]());}[a0_0xf68f23(0x277)](){const _0x1d1a83=a0_0xf68f23;return this[_0x1d1a83(0x39f)][_0x1d1a83(0x336)](_0x3d9670=>_0x3d9670[_0x1d1a83(0x277)]());}[a0_0xf68f23(0x250)](){const _0x18fd06=a0_0xf68f23;return _0x18fd06(0x44c)+this[_0x18fd06(0x34c)]+_0x18fd06(0x2f3);}}class FieldListV1 extends FieldListBase{constructor(_0x45398e,_0x57ce03){super(_0x45398e,_0x57ce03);}['createFields'](_0x20dc58){const _0x248bec=a0_0xf68f23;return _0x20dc58[_0x248bec(0x336)](_0x5694d0=>new FieldV1(_0x5694d0));}['all'](){return[...this['_fields']];}['at'](_0x67ebf4){const _0x5e7b36=a0_0xf68f23;return this[_0x5e7b36(0x39f)]['at'](_0x67ebf4);}['find'](_0x31e649){const _0x5557f9=a0_0xf68f23;return this[_0x5557f9(0x39f)][_0x5557f9(0x1b6)](_0x1b1602=>_0x1b1602[_0x5557f9(0x40e)]===_0x31e649);}[a0_0xf68f23(0x2d2)](_0x88c837){const _0x1f5a82=a0_0xf68f23;return this[_0x1f5a82(0x39f)][_0x1f5a82(0x1b6)](_0xbf9641=>_0xbf9641[_0x1f5a82(0x30b)]===_0x88c837);}[a0_0xf68f23(0x1d7)](_0x372928){const _0x297be2=a0_0xf68f23;return this[_0x297be2(0x39f)][_0x297be2(0x1d7)](_0x372928);}[a0_0xf68f23(0x336)](_0x3de7e2){const _0x148eb2=a0_0xf68f23;return this[_0x148eb2(0x39f)]['map'](_0x3de7e2);}[a0_0xf68f23(0x1f6)](){const _0x8ff6b6=a0_0xf68f23;return this[_0x8ff6b6(0x39f)][_0x8ff6b6(0x1d7)](_0x1050e8=>_0x1050e8[_0x8ff6b6(0x3f5)]());}['getPrimaryKeys'](){const _0x5f4405=a0_0xf68f23;return this['_fields'][_0x5f4405(0x1d7)](_0x473f77=>_0x473f77[_0x5f4405(0x3db)]());}['getSystem'](){const _0x3e8160=a0_0xf68f23;return this[_0x3e8160(0x39f)][_0x3e8160(0x1d7)](_0x18e359=>_0x18e359['isSystem']());}[a0_0xf68f23(0x418)](){const _0xcc016b=a0_0xf68f23;return this['_fields'][_0xcc016b(0x1d7)](_0x116cd1=>_0x116cd1[_0xcc016b(0x3ff)]());}['getEnum'](){const _0x30f06d=a0_0xf68f23;return this[_0x30f06d(0x39f)][_0x30f06d(0x1d7)](_0x507529=>_0x507529[_0x30f06d(0x44d)]());}[a0_0xf68f23(0x2a2)](){const _0x47eb05=a0_0xf68f23,_0x9bc61={};return this[_0x47eb05(0x39f)]['forEach'](_0x2cc1c2=>{const _0x48b614=_0x47eb05,_0xeceaeb=_0x2cc1c2[_0x48b614(0x282)];!_0x9bc61[_0xeceaeb]&&(_0x9bc61[_0xeceaeb]=[]),_0x9bc61[_0xeceaeb][_0x48b614(0x387)](_0x2cc1c2);}),_0x9bc61;}[a0_0xf68f23(0x344)](){const _0x5ab346=a0_0xf68f23;return this[_0x5ab346(0x39f)][_0x5ab346(0x336)](_0x32a826=>_0x32a826[_0x5ab346(0x344)]);}static[a0_0xf68f23(0x2a3)](_0x31e512){const _0x3bf964=a0_0xf68f23,_0x43ab6e=_0x31e512[_0x3bf964(0x336)](_0x78f645=>_0x78f645[_0x3bf964(0x344)]);return new FieldListV1(_0x43ab6e);}static['withDeleted'](_0x2b11a8){const _0x107c08=a0_0xf68f23,_0x452696={};return _0x452696[_0x107c08(0x388)]=!![],new FieldListV1(_0x2b11a8,_0x452696);}}class FieldV2 extends FieldBase{['_raw'];constructor(_0x362ed4){const _0x5879b5=a0_0xf68f23;super();if(!_0x362ed4||typeof _0x362ed4!==_0x5879b5(0x43a))throw new Error(_0x5879b5(0x38a));this['_raw']=_0x362ed4;}[a0_0xf68f23(0x392)](){return'v2';}get['raw'](){return this['_raw'];}get[a0_0xf68f23(0x30b)](){const _0x2f4378=a0_0xf68f23;return this[_0x2f4378(0x2e3)][_0x2f4378(0x30b)]||'';}get[a0_0xf68f23(0x40e)](){const _0x40b87c=a0_0xf68f23;return this['_raw'][_0x40b87c(0x30b)]||'';}get[a0_0xf68f23(0x448)](){return this['_raw']['displayName']||'';}get[a0_0xf68f23(0x282)](){const _0xd1ee0b=a0_0xf68f23;if(this[_0xd1ee0b(0x2e3)]['doType'])return this[_0xd1ee0b(0x2e3)][_0xd1ee0b(0x459)];return this[_0xd1ee0b(0x3e3)](this[_0xd1ee0b(0x2e3)]['dbType']);}get['description'](){const _0x5eaabd=a0_0xf68f23;return this[_0x5eaabd(0x2e3)][_0x5eaabd(0x1e7)]||'';}get['deleted'](){const _0x565175=a0_0xf68f23;return Boolean(this[_0x565175(0x2e3)][_0x565175(0x2fa)]);}['isRequired'](){const _0x47a046=a0_0xf68f23;return Boolean(this[_0x47a046(0x2e3)][_0x47a046(0x283)]);}[a0_0xf68f23(0x3db)](){const _0x4f16f7=a0_0xf68f23;return Boolean(this[_0x4f16f7(0x2e3)][_0x4f16f7(0x3f8)]);}[a0_0xf68f23(0x21f)](){const _0x423b03=a0_0xf68f23;return Boolean(this[_0x423b03(0x2e3)][_0x423b03(0x1ee)]);}[a0_0xf68f23(0x27b)](){const _0x1af163=a0_0xf68f23;return Boolean(this['_raw'][_0x1af163(0x26a)]);}['isCreateTime'](){const _0x54c83f=a0_0xf68f23;return this[_0x54c83f(0x2e3)]['systemRetain']===_0x54c83f(0x259);}['isUpdateTime'](){const _0x278cbf=a0_0xf68f23;return this['_raw'][_0x278cbf(0x1ee)]==='updateTime';}[a0_0xf68f23(0x322)](){const _0x2855ae=a0_0xf68f23;return this['_raw'][_0x2855ae(0x448)]||'';}[a0_0xf68f23(0x1c7)](){const _0x283852=a0_0xf68f23;return this[_0x283852(0x2e3)]['name']||'';}[a0_0xf68f23(0x44d)](){const _0x54c555=a0_0xf68f23;return Boolean(this['_raw']['options']&&Array[_0x54c555(0x30c)](this[_0x54c555(0x2e3)]['options'])&&this[_0x54c555(0x2e3)][_0x54c555(0x226)][_0x54c555(0x34c)]>0x0);}[a0_0xf68f23(0x221)](){const _0x5441d5=a0_0xf68f23,_0x17ce8f=this[_0x5441d5(0x2e3)][_0x5441d5(0x3c9)];if(!_0x17ce8f)return![];try{const _0x3733ed=JSON[_0x5441d5(0x28b)](_0x17ce8f);if(_0x3733ed&&typeof _0x3733ed===_0x5441d5(0x43a)&&'multiple'in _0x3733ed)return Boolean(_0x3733ed['multiple']);}catch{}return![];}[a0_0xf68f23(0x2b0)](){const _0x2c5b79=a0_0xf68f23;if(this['_raw'][_0x2c5b79(0x226)]&&Array[_0x2c5b79(0x30c)](this[_0x2c5b79(0x2e3)]['options']))return this[_0x2c5b79(0x2e3)][_0x2c5b79(0x226)];return;}[a0_0xf68f23(0x2cc)](){const _0x55553e=a0_0xf68f23,_0x4596b4=this['_raw']['extend'];if(!_0x4596b4)return;try{const _0x57b0b0=JSON[_0x55553e(0x28b)](_0x4596b4);if(_0x57b0b0&&typeof _0x57b0b0==='object'&&_0x55553e(0x316)in _0x57b0b0)return _0x57b0b0[_0x55553e(0x316)];}catch{}return;}['getDbTypeForOperation'](){const _0x1bd989=a0_0xf68f23;if(!this[_0x1bd989(0x2e3)]['dbType'])return'';return this[_0x1bd989(0x2e3)][_0x1bd989(0x264)][_0x1bd989(0x3c0)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x1bd989(0x2cb)]()[_0x1bd989(0x29a)]();}[a0_0xf68f23(0x425)](){return;}['getTooltip'](){return;}get['dbType'](){const _0x49596e=a0_0xf68f23;return this[_0x49596e(0x2e3)][_0x49596e(0x264)]??undefined;}get[a0_0xf68f23(0x1ea)](){const _0xaac781=a0_0xf68f23;return this[_0xaac781(0x2e3)][_0xaac781(0x1ea)];}[a0_0xf68f23(0x1ad)](){const _0x23052c=a0_0xf68f23;return this[_0x23052c(0x2e3)]['doType']??null;}get[a0_0xf68f23(0x459)](){const _0x48ade9=a0_0xf68f23;return this[_0x48ade9(0x2e3)][_0x48ade9(0x459)]??null;}[a0_0xf68f23(0x277)](){const _0x1d477f=a0_0xf68f23;return{'name':this[_0x1d477f(0x30b)],'code':this[_0x1d477f(0x40e)],'type':this[_0x1d477f(0x282)],'dbType':this[_0x1d477f(0x264)],'dbTypeLen':this[_0x1d477f(0x1ea)],'doType':this['getDOType'](),'displayName':this[_0x1d477f(0x448)],'description':this[_0x1d477f(0x1e7)],'required':this[_0x1d477f(0x3f5)](),'primaryKey':this[_0x1d477f(0x3db)](),'system':this[_0x1d477f(0x21f)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x1d477f(0x42e)](),'updateTime':this['isUpdateTime'](),'isEnum':this['isEnum'](),'enumMeta':this[_0x1d477f(0x44d)]()?this['getEnumMeta']():undefined};}[a0_0xf68f23(0x250)](){const _0x854237=a0_0xf68f23;return _0x854237(0x2b8)+this['name']+',\x20'+this[_0x854237(0x40e)]+',\x20'+this[_0x854237(0x264)]+_0x854237(0x21b)+this[_0x854237(0x1ad)]()+')';}[a0_0xf68f23(0x3e3)](_0x96d4ab){const _0x461d98=a0_0xf68f23;if(!_0x96d4ab)return _0x461d98(0x295);const _0x3baac5={};_0x3baac5[_0x461d98(0x33a)]=_0x461d98(0x295),_0x3baac5['CHAR']=_0x461d98(0x295),_0x3baac5[_0x461d98(0x295)]=_0x461d98(0x330),_0x3baac5[_0x461d98(0x2d1)]=_0x461d98(0x330),_0x3baac5[_0x461d98(0x326)]=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x236)]=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x3ca)]=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x239)]=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x367)]='NUMBER',_0x3baac5['DOUBLE']=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x1c5)]=_0x461d98(0x42c),_0x3baac5[_0x461d98(0x24d)]=_0x461d98(0x39e),_0x3baac5[_0x461d98(0x27c)]=_0x461d98(0x39e),_0x3baac5[_0x461d98(0x39e)]=_0x461d98(0x39e),_0x3baac5[_0x461d98(0x31c)]=_0x461d98(0x31c),_0x3baac5[_0x461d98(0x227)]=_0x461d98(0x308),_0x3baac5[_0x461d98(0x288)]='SWITCH',_0x3baac5[_0x461d98(0x1c3)]=_0x461d98(0x1e6),_0x3baac5[_0x461d98(0x1a3)]=_0x461d98(0x1e6);const _0xddae74=_0x3baac5,_0x396cad=_0x96d4ab[_0x461d98(0x29a)]();return _0xddae74[_0x396cad]||_0x461d98(0x295);}}class FieldListV2 extends FieldListBase{constructor(_0x5f1a4e,_0x4752ef){super(_0x5f1a4e,_0x4752ef);}[a0_0xf68f23(0x3c6)](_0x255bc0){return _0x255bc0['map'](_0x109a60=>new FieldV2(_0x109a60));}['all'](){return[...this['_fields']];}['at'](_0x280873){const _0x35350c=a0_0xf68f23;return this[_0x35350c(0x39f)]['at'](_0x280873);}[a0_0xf68f23(0x1b6)](_0xb0fdfd){const _0x329c9d=a0_0xf68f23;return this[_0x329c9d(0x39f)][_0x329c9d(0x1b6)](_0x7bb87f=>_0x7bb87f[_0x329c9d(0x40e)]===_0xb0fdfd);}[a0_0xf68f23(0x2d2)](_0x284032){const _0x5b0f11=a0_0xf68f23;return this[_0x5b0f11(0x39f)][_0x5b0f11(0x1b6)](_0x493a4f=>_0x493a4f[_0x5b0f11(0x322)]()===_0x284032);}[a0_0xf68f23(0x1d7)](_0x237629){const _0x1dc306=a0_0xf68f23;return this[_0x1dc306(0x39f)][_0x1dc306(0x1d7)](_0x237629);}[a0_0xf68f23(0x336)](_0x37b540){const _0x2a829d=a0_0xf68f23;return this[_0x2a829d(0x39f)][_0x2a829d(0x336)](_0x37b540);}[a0_0xf68f23(0x1f6)](){const _0x41031a=a0_0xf68f23;return this[_0x41031a(0x39f)][_0x41031a(0x1d7)](_0x27c007=>_0x27c007['isRequired']());}[a0_0xf68f23(0x21a)](){const _0x5bb815=a0_0xf68f23;return this[_0x5bb815(0x39f)]['filter'](_0x104a7f=>_0x104a7f[_0x5bb815(0x3db)]());}[a0_0xf68f23(0x1e0)](){const _0x1a0688=a0_0xf68f23;return this[_0x1a0688(0x39f)][_0x1a0688(0x1d7)](_0x1a46a5=>_0x1a46a5[_0x1a0688(0x21f)]());}['getBusiness'](){const _0x37fc73=a0_0xf68f23;return this['_fields'][_0x37fc73(0x1d7)](_0x1e84c8=>_0x1e84c8[_0x37fc73(0x3ff)]());}[a0_0xf68f23(0x2fc)](){const _0x4091e1=a0_0xf68f23;return this[_0x4091e1(0x39f)][_0x4091e1(0x1d7)](_0x305cc8=>_0x305cc8['isEnum']());}[a0_0xf68f23(0x2a2)](){const _0x54034b=a0_0xf68f23,_0x2c3ebb={};return this[_0x54034b(0x39f)][_0x54034b(0x1df)](_0x21ed7c=>{const _0xa32d6c=_0x54034b,_0x56f496=_0x21ed7c[_0xa32d6c(0x282)];!_0x2c3ebb[_0x56f496]&&(_0x2c3ebb[_0x56f496]=[]),_0x2c3ebb[_0x56f496][_0xa32d6c(0x387)](_0x21ed7c);}),_0x2c3ebb;}[a0_0xf68f23(0x344)](){const _0x4a12e3=a0_0xf68f23;return this['_fields'][_0x4a12e3(0x336)](_0x1bfe39=>_0x1bfe39[_0x4a12e3(0x344)]);}static[a0_0xf68f23(0x2a3)](_0x319649){const _0x4be898=a0_0xf68f23,_0x2f9c0e=_0x319649[_0x4be898(0x336)](_0x19def4=>_0x19def4[_0x4be898(0x344)]);return new FieldListV2(_0x2f9c0e);}static[a0_0xf68f23(0x20a)](_0x2e92b7){const _0x5a68a6={};return _0x5a68a6['includeDeleted']=!![],new FieldListV2(_0x2e92b7,_0x5a68a6);}[a0_0xf68f23(0x250)](){const _0x1a9d8a=a0_0xf68f23;return _0x1a9d8a(0x289)+this[_0x1a9d8a(0x34c)]+_0x1a9d8a(0x2f3);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0xf68f23(0x2e4)];['_fieldListV1WithDeleted'];constructor(_0x5458b0){super(_0x5458b0);}['getFieldList'](){const _0x2f0227=a0_0xf68f23;if(!this[_0x2f0227(0x2e4)]){const _0x155908={};_0x155908[_0x2f0227(0x388)]=![],this[_0x2f0227(0x2e4)]=new FieldListV1(this['_raw']['properties']||[],_0x155908);}return this[_0x2f0227(0x2e4)];}['getFieldListWithDeleted'](){const _0x151e2e=a0_0xf68f23;if(!this['_fieldListV1WithDeleted']){const _0x5fd225={};_0x5fd225[_0x151e2e(0x388)]=!![],this['_fieldListV1WithDeleted']=new FieldListV1(this[_0x151e2e(0x2e3)]['properties']||[],_0x5fd225);}return this[_0x151e2e(0x1f1)];}[a0_0xf68f23(0x434)](){const _0x28a70a=a0_0xf68f23;return(this[_0x28a70a(0x2e3)][_0x28a70a(0x2b3)]||[])[_0x28a70a(0x1d7)](_0x3f8e18=>!_0x3f8e18[_0x28a70a(0x2fa)]);}[a0_0xf68f23(0x26f)](){return this['getFieldList']()['length'];}[a0_0xf68f23(0x33f)](_0x1803c2){const _0x2b6bb0=a0_0xf68f23;return this[_0x2b6bb0(0x2e3)][_0x2b6bb0(0x2b3)]?.[_0x2b6bb0(0x1b6)](_0x1795bb=>_0x1795bb[_0x2b6bb0(0x40e)]===_0x1803c2);}[a0_0xf68f23(0x392)](){return'v1';}[a0_0xf68f23(0x433)](){const _0x390865=a0_0xf68f23,_0x43908c={};return _0x43908c[_0x390865(0x2a1)]=this[_0x390865(0x2e3)][_0x390865(0x2b3)]||[],_0x43908c[_0x390865(0x388)]=![],_0x43908c;}[a0_0xf68f23(0x3f2)](){const _0x242a09=a0_0xf68f23;return this['_raw'][_0x242a09(0x23d)];}[a0_0xf68f23(0x3e2)](){const _0x9026bd=a0_0xf68f23;return this[_0x9026bd(0x2e3)][_0x9026bd(0x272)];}[a0_0xf68f23(0x207)](){const _0x22fc08=a0_0xf68f23,_0x483c3a=this[_0x22fc08(0x298)](),_0x478d7c=_0x483c3a?.['dblinkInfoDTO'],_0x313ccc={};return _0x313ccc[_0x22fc08(0x33d)]=_0x483c3a?.[_0x22fc08(0x33d)],_0x313ccc[_0x22fc08(0x340)]=_0x483c3a?.['dbName']??_0x478d7c?.['dbName'],_0x313ccc[_0x22fc08(0x264)]=_0x478d7c?.[_0x22fc08(0x264)],_0x313ccc['dbVersion']=_0x478d7c?.['dbVersion'],_0x313ccc[_0x22fc08(0x27f)]=_0x483c3a?.[_0x22fc08(0x27f)],_0x313ccc[_0x22fc08(0x384)]=_0x483c3a?.[_0x22fc08(0x384)],_0x313ccc[_0x22fc08(0x3f8)]=_0x483c3a?.[_0x22fc08(0x3f8)],_0x313ccc['tenantCode']=_0x478d7c?.[_0x22fc08(0x25c)],_0x313ccc[_0x22fc08(0x1c6)]=_0x478d7c?.['appCode'],new DBConfig(_0x313ccc,_0x483c3a);}get[a0_0xf68f23(0x29e)](){const _0x7fd8c1=a0_0xf68f23;return this[_0x7fd8c1(0x2e3)]['version'];}['getFieldInstance'](_0x15f32d){const _0x2793c4=a0_0xf68f23;if(typeof _0x15f32d!=='string'){!![]&&console[_0x2793c4(0x359)](_0x2793c4(0x306),_0x15f32d);return;}return this['getFieldList']()[_0x2793c4(0x1b6)](_0x15f32d);}[a0_0xf68f23(0x24f)](_0xd5e214){const _0x44a75c=a0_0xf68f23;if(!_0xd5e214||typeof _0xd5e214!==_0x44a75c(0x43a))return![];const _0x31d76c=this[_0x44a75c(0x420)](_0xd5e214[_0x44a75c(0x40e)]);return _0x31d76c?_0x31d76c[_0x44a75c(0x221)]():![];}[a0_0xf68f23(0x1c8)](){const _0xe4b63c=a0_0xf68f23,_0x2d9f70=this[_0xe4b63c(0x214)](_0xe4b63c(0x1d7));return _0x2d9f70;}[a0_0xf68f23(0x360)](){const _0x16e8bb=a0_0xf68f23;return this[_0x16e8bb(0x2ff)](_0x16e8bb(0x1d7));}[a0_0xf68f23(0x40c)](){const _0x178927=a0_0xf68f23;return new DatasetItem({'id':this['id'],'name':this[_0x178927(0x30b)],'datasetCode':this[_0x178927(0x362)],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0xf68f23(0x19c)];[a0_0xf68f23(0x2b2)];[a0_0xf68f23(0x350)];constructor(_0x40bdf4){const _0x4218ed=a0_0xf68f23;super(_0x40bdf4),this[_0x4218ed(0x2b2)]=_0x40bdf4[_0x4218ed(0x412)],this[_0x4218ed(0x350)]=_0x40bdf4[_0x4218ed(0x273)]||[];}['getVersion'](){return'v2';}[a0_0xf68f23(0x433)](){const _0x143575=a0_0xf68f23,_0x484cbf={};return _0x484cbf[_0x143575(0x2a1)]=this[_0x143575(0x2e3)][_0x143575(0x2a1)],_0x484cbf[_0x143575(0x388)]=![],_0x484cbf;}[a0_0xf68f23(0x3f2)](){const _0x499ab4=a0_0xf68f23;return this[_0x499ab4(0x2e3)][_0x499ab4(0x23d)];}[a0_0xf68f23(0x3e2)](){const _0x41ee28=a0_0xf68f23;return this[_0x41ee28(0x2e3)][_0x41ee28(0x272)];}['getDBConfig'](){const _0x26500c=a0_0xf68f23,_0x30c204=this[_0x26500c(0x2e3)][_0x26500c(0x26d)],_0x4bb43f=_0x30c204?.[_0x26500c(0x3fc)],_0x596fba={};return _0x596fba[_0x26500c(0x33d)]=_0x30c204?.[_0x26500c(0x33d)],_0x596fba['dbName']=_0x30c204?.['dbName']??_0x4bb43f?.[_0x26500c(0x340)],_0x596fba['dbType']=_0x4bb43f?.[_0x26500c(0x264)],_0x596fba[_0x26500c(0x1aa)]=_0x4bb43f?.['dbVersion'],_0x596fba[_0x26500c(0x27f)]=_0x30c204?.[_0x26500c(0x27f)],_0x596fba[_0x26500c(0x384)]=_0x30c204?.[_0x26500c(0x384)],_0x596fba[_0x26500c(0x3f8)]=_0x30c204?.[_0x26500c(0x3f8)],_0x596fba[_0x26500c(0x25c)]=_0x30c204?.[_0x26500c(0x25c)]??_0x4bb43f?.['tenantCode'],_0x596fba['appCode']=_0x30c204?.[_0x26500c(0x1c6)]??_0x4bb43f?.[_0x26500c(0x1c6)],new DBConfig(_0x596fba,_0x30c204);}[a0_0xf68f23(0x24a)](){return this['getFieldListV2']();}[a0_0xf68f23(0x434)](){const _0x17a7a4=a0_0xf68f23;return this[_0x17a7a4(0x2e3)][_0x17a7a4(0x2a1)]||[];}[a0_0xf68f23(0x26f)](){const _0xd53f2b=a0_0xf68f23;return(this[_0xd53f2b(0x2e3)][_0xd53f2b(0x2a1)]||[])[_0xd53f2b(0x34c)];}['getFieldRaw'](_0x4b5ccb){const _0x140366=a0_0xf68f23;return this[_0x140366(0x2e3)][_0x140366(0x2a1)]['find'](_0x8dc9f0=>_0x8dc9f0[_0x140366(0x30b)]===_0x4b5ccb);}[a0_0xf68f23(0x1f5)](){const _0x32d3e7=a0_0xf68f23;return this[_0x32d3e7(0x2b2)];}[a0_0xf68f23(0x225)](){const _0x2d88a3=a0_0xf68f23;return this[_0x2d88a3(0x350)];}[a0_0xf68f23(0x1d6)](){const _0x190dd9=a0_0xf68f23;return this[_0x190dd9(0x2b2)][_0x190dd9(0x22f)]||[];}[a0_0xf68f23(0x2b1)](_0x61e3ce){const _0x525984=a0_0xf68f23;return this[_0x525984(0x350)]['filter'](_0x2048f0=>_0x2048f0[_0x525984(0x356)]===_0x61e3ce);}[a0_0xf68f23(0x45d)](_0x5719dd){const _0x2f310b=a0_0xf68f23;return this[_0x2f310b(0x350)]['some'](_0x2c334b=>_0x2c334b[_0x2f310b(0x356)]===_0x5719dd);}[a0_0xf68f23(0x19e)](_0x200463){const _0x1fb819=a0_0xf68f23,_0x577ac8=this[_0x1fb819(0x350)][_0x1fb819(0x1b6)](_0x17f423=>_0x17f423[_0x1fb819(0x356)]===_0x200463);if(!_0x577ac8)return;const _0x10be95={};return _0x10be95[_0x1fb819(0x32f)]=_0x577ac8[_0x1fb819(0x39a)],_0x10be95[_0x1fb819(0x362)]=_0x577ac8['toDatasetCode'],_0x10be95[_0x1fb819(0x332)]=_0x577ac8[_0x1fb819(0x3e1)],_0x10be95[_0x1fb819(0x27f)]=_0x577ac8['toTableName'],_0x10be95[_0x1fb819(0x427)]=_0x577ac8['toField'],_0x10be95;}[a0_0xf68f23(0x339)](){const _0x3e0862=a0_0xf68f23;return this[_0x3e0862(0x350)][_0x3e0862(0x336)](_0x2f59a2=>_0x2f59a2[_0x3e0862(0x356)]);}[a0_0xf68f23(0x2d5)](){const _0x3c7647=a0_0xf68f23;if(!this[_0x3c7647(0x19c)]){const _0x35ceca=this['_raw'][_0x3c7647(0x2a1)]||[];this[_0x3c7647(0x19c)]=new FieldListV2(_0x35ceca);}return this[_0x3c7647(0x19c)];}[a0_0xf68f23(0x420)](_0x1f9b2e){const _0x44cd8f=a0_0xf68f23;if(typeof _0x1f9b2e!==_0x44cd8f(0x3d4)){!![]&&console[_0x44cd8f(0x359)](_0x44cd8f(0x2a8),_0x1f9b2e);return;}return this[_0x44cd8f(0x2d5)]()['find'](_0x1f9b2e);}[a0_0xf68f23(0x24f)](_0x515098){const _0x1bcbe9=a0_0xf68f23;if(!_0x515098||typeof _0x515098!==_0x1bcbe9(0x43a))return![];const _0x559a83=_0x515098['name']||_0x515098[_0x1bcbe9(0x40e)],_0x4b7fd2=this[_0x1bcbe9(0x420)](_0x559a83);return _0x4b7fd2?_0x4b7fd2[_0x1bcbe9(0x221)]():![];}[a0_0xf68f23(0x3bd)](){const _0x4361a9=a0_0xf68f23;if(!this[_0x4361a9(0x35a)]){const _0x8b4ecc=this['ensureFilterOperation'](this[_0x4361a9(0x3f2)]()||{});this['_operationList']=new OperationList(_0x8b4ecc,{'fields':this['getFieldListV2']()[_0x4361a9(0x1a8)](),'pkField':this[_0x4361a9(0x2e3)][_0x4361a9(0x26d)]?.[_0x4361a9(0x3f8)],'dbtableConfig':this[_0x4361a9(0x2e3)][_0x4361a9(0x26d)]||null});}return this['_operationList'];}[a0_0xf68f23(0x1c8)](){const _0x3782dd=this['getOperation']('filter');return _0x3782dd;}['hasFilterOperation'](){const _0x3b0b10=a0_0xf68f23;return this[_0x3b0b10(0x2ff)](_0x3b0b10(0x1d7));}['toListItem'](){const _0x159e04=a0_0xf68f23;return new DatasetItem({'id':this['id'],'name':this[_0x159e04(0x30b)],'datasetCode':this[_0x159e04(0x362)],'dbtableConfig':this[_0x159e04(0x298)]()});}[a0_0xf68f23(0x250)](){const _0x933371=a0_0xf68f23,_0x5d9d67=this[_0x933371(0x350)][_0x933371(0x34c)],_0x5d88e6=this[_0x933371(0x1d6)]()[_0x933371(0x34c)];return _0x933371(0x23b)+this[_0x933371(0x30b)]+',\x20'+this[_0x933371(0x362)]+',\x20'+this[_0x933371(0x26f)]()+_0x933371(0x44e)+this[_0x933371(0x3ac)]()+_0x933371(0x3b8)+_0x5d9d67+'\x20relations,\x20'+_0x5d88e6+_0x933371(0x1d3);}[a0_0xf68f23(0x366)](){const _0xf5d3d0=a0_0xf68f23;return this['_raw'][_0xf5d3d0(0x2a1)];}[a0_0xf68f23(0x3de)](_0x57d1bf){const _0x2fa0d4=a0_0xf68f23;return this[_0x2fa0d4(0x2e3)]['fields'][_0x2fa0d4(0x1b6)](_0x4d5083=>_0x4d5083[_0x2fa0d4(0x30b)]===_0x57d1bf);}}function detectDatasetVersion(_0x5b0187){const _0x1bc1a3=a0_0xf68f23;if(_0x5b0187[_0x1bc1a3(0x3aa)]==='v2'&&_0x1bc1a3(0x2a1)in _0x5b0187&&Array[_0x1bc1a3(0x30c)](_0x5b0187[_0x1bc1a3(0x2a1)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0xf68f23(0x249)];constructor(_0x392572){const _0x185ce1=a0_0xf68f23;super(_0x392572);const _0x2f87c9=detectDatasetVersion(_0x392572);this[_0x185ce1(0x249)]=_0x2f87c9==='v2'?new DrivenDataDetailV2(_0x392572):new DrivenDataDetailV1(_0x392572);}get['id'](){const _0xb75953=a0_0xf68f23;return this[_0xb75953(0x249)]['id'];}get['name'](){const _0x46f568=a0_0xf68f23;return this[_0x46f568(0x249)][_0x46f568(0x30b)];}get[a0_0xf68f23(0x362)](){const _0x15c22f=a0_0xf68f23;return this[_0x15c22f(0x249)][_0x15c22f(0x362)];}get[a0_0xf68f23(0x29e)](){const _0x28adcd=a0_0xf68f23;return this[_0x28adcd(0x249)][_0x28adcd(0x392)]()==='v2'?_0x28adcd(0x37c):_0x28adcd(0x38f);}[a0_0xf68f23(0x392)](){const _0x3f1f16=a0_0xf68f23;return this[_0x3f1f16(0x249)][_0x3f1f16(0x392)]();}['getId'](){const _0x132b81=a0_0xf68f23;return this[_0x132b81(0x249)]['id'];}[a0_0xf68f23(0x355)](){const _0x2fa8c9=a0_0xf68f23;return this[_0x2fa8c9(0x249)]['datasetCode'];}[a0_0xf68f23(0x1fd)](){const _0x3dca7f=a0_0xf68f23;return this[_0x3dca7f(0x249)][_0x3dca7f(0x30b)];}[a0_0xf68f23(0x433)](){const _0x2b9c93=a0_0xf68f23;return this[_0x2b9c93(0x249)]['getFieldDataSource']();}[a0_0xf68f23(0x3f2)](){const _0x20ae8c=a0_0xf68f23;return this[_0x20ae8c(0x249)][_0x20ae8c(0x3f2)]();}[a0_0xf68f23(0x3e2)](){return this['_instance']['getSource']();}[a0_0xf68f23(0x452)](){const _0x566fef=a0_0xf68f23;return this['_instance'][_0x566fef(0x452)]();}[a0_0xf68f23(0x24a)](){const _0x3ba292=a0_0xf68f23;return this[_0x3ba292(0x249)][_0x3ba292(0x24a)]();}[a0_0xf68f23(0x34f)](){const _0x3371a0=a0_0xf68f23;return this[_0x3371a0(0x249)][_0x3371a0(0x34f)]();}[a0_0xf68f23(0x434)](){const _0x20a988=a0_0xf68f23;return this[_0x20a988(0x249)]['getFields']();}['getFieldCount'](){const _0x2d0907=a0_0xf68f23;return this['_instance'][_0x2d0907(0x26f)]();}['getPkField'](){const _0x2f9ef8=a0_0xf68f23,_0x5751a7=this[_0x2f9ef8(0x249)][_0x2f9ef8(0x298)]();return _0x5751a7?.['pkField'];}['getDBConfig'](){const _0x51ee0a=a0_0xf68f23;return this[_0x51ee0a(0x249)][_0x51ee0a(0x207)]();}['getFieldInstance'](_0x16c9dd){const _0x5888bc=a0_0xf68f23;return this[_0x5888bc(0x249)]['getFieldInstance'](_0x16c9dd);}['getPrimaryKeyFields'](){const _0x2c980d=a0_0xf68f23;return this[_0x2c980d(0x249)][_0x2c980d(0x275)]();}[a0_0xf68f23(0x314)](){const _0x107675=a0_0xf68f23;return this['_instance'][_0x107675(0x314)]();}['getBusinessFields'](){const _0x3449d5=a0_0xf68f23;return this[_0x3449d5(0x249)]['getBusinessFields']();}[a0_0xf68f23(0x1b5)](){const _0x2b0178=a0_0xf68f23;return this['_instance'][_0x2b0178(0x1b5)]();}[a0_0xf68f23(0x3eb)](){const _0x439d6e=a0_0xf68f23;return this[_0x439d6e(0x249)][_0x439d6e(0x3eb)]();}[a0_0xf68f23(0x416)](){const _0x3d1092=a0_0xf68f23;return this['_instance'][_0x3d1092(0x416)]();}[a0_0xf68f23(0x37b)](){const _0x51c202=a0_0xf68f23;return this[_0x51c202(0x249)][_0x51c202(0x37b)]();}[a0_0xf68f23(0x398)](){const _0x28fe44=a0_0xf68f23;return this[_0x28fe44(0x249)]['getOperations']();}[a0_0xf68f23(0x3ac)](){const _0x46f652=a0_0xf68f23;return this[_0x46f652(0x249)][_0x46f652(0x3ac)]();}['getEnabledOperations'](){const _0x97f6aa=a0_0xf68f23;return this[_0x97f6aa(0x249)]['getEnabledOperations']();}[a0_0xf68f23(0x32b)](){const _0x139d33=a0_0xf68f23;return this[_0x139d33(0x249)][_0x139d33(0x32b)]();}['getEnabledOperationInstances'](){const _0x690c8b=a0_0xf68f23;return this['_instance'][_0x690c8b(0x302)]();}['getDisabledOperationInstances'](){const _0x424fef=a0_0xf68f23;return this['_instance'][_0x424fef(0x390)]();}[a0_0xf68f23(0x246)](){const _0x467cf0=a0_0xf68f23;return this[_0x467cf0(0x249)][_0x467cf0(0x246)]();}[a0_0xf68f23(0x1f5)](){const _0x5477b4=a0_0xf68f23;return this['_instance'][_0x5477b4(0x1f5)]();}[a0_0xf68f23(0x225)](){return this['_instance']['getRelations']();}[a0_0xf68f23(0x1d6)](){const _0x51a591=a0_0xf68f23;return this['_instance'][_0x51a591(0x1d6)]();}[a0_0xf68f23(0x1cc)](){return this['_instance']['getFilterOperators']();}[a0_0xf68f23(0x260)](){const _0x273949=a0_0xf68f23;return this[_0x273949(0x249)][_0x273949(0x260)]();}[a0_0xf68f23(0x277)](){const _0x22b351=a0_0xf68f23;return this[_0x22b351(0x249)][_0x22b351(0x277)]();}[a0_0xf68f23(0x1c8)](){const _0x72a865=a0_0xf68f23;return this[_0x72a865(0x249)][_0x72a865(0x1c8)]();}[a0_0xf68f23(0x360)](){const _0x295f29=a0_0xf68f23;return this[_0x295f29(0x249)][_0x295f29(0x360)]();}[a0_0xf68f23(0x40c)](){const _0xe83be=a0_0xf68f23;return this[_0xe83be(0x249)][_0xe83be(0x40c)]();}['toString'](){const _0x41b83e=a0_0xf68f23;return this[_0x41b83e(0x249)][_0x41b83e(0x250)]();}[a0_0xf68f23(0x2c6)](){return this['_instance'];}}function detectDatasetVersion2(_0x5ce66f){const _0x4b7527=a0_0xf68f23;if(_0x5ce66f[_0x4b7527(0x3aa)]==='v2'&&_0x4b7527(0x2a1)in _0x5ce66f&&Array[_0x4b7527(0x30c)](_0x5ce66f['fields']))return'v2';return'v1';}function createDrivenDataDetail(_0x536dfa,_0x2db527={}){const {forceVersion:_0x2ff6a7}=_0x2db527;if(_0x2ff6a7==='v2')return new DrivenDataDetailV2(_0x536dfa);if(_0x2ff6a7==='v1')return new DrivenDataDetailV1(_0x536dfa);const _0x3a0e58=detectDatasetVersion2(_0x536dfa);if(_0x3a0e58==='v2')return new DrivenDataDetailV2(_0x536dfa);return new DrivenDataDetailV1(_0x536dfa);}function isV2Data(_0xd6ce7e){return detectDatasetVersion2(_0xd6ce7e)==='v2';}function isV1Data(_0x5c0eeb){return detectDatasetVersion2(_0x5c0eeb)==='v1';}function isV2Instance(_0x352a64){return _0x352a64['getVersion']()==='v2';}function isV1Instance(_0x13452a){const _0x554fee=a0_0xf68f23;return _0x13452a[_0x554fee(0x392)]()==='v1';}class DatasetGroup{[a0_0xf68f23(0x27a)];constructor(_0x52c03f){const _0x309e73=a0_0xf68f23;this[_0x309e73(0x27a)]=Array[_0x309e73(0x30c)](_0x52c03f)?[..._0x52c03f]:[_0x52c03f],this[_0x309e73(0x27a)][_0x309e73(0x30e)]((_0x54b5e0,_0x398525)=>{const _0x1f9e92=Number(_0x54b5e0['id'])||0x0,_0x13617e=Number(_0x398525['id'])||0x0;return _0x13617e-_0x1f9e92;});}['hasConflict'](){const _0x3604d3=a0_0xf68f23;return this[_0x3604d3(0x27a)][_0x3604d3(0x34c)]>0x1;}[a0_0xf68f23(0x456)](){const _0x253381=a0_0xf68f23;return this[_0x253381(0x27a)][0x0];}['getOldest'](){const _0x53f346=a0_0xf68f23;return this[_0x53f346(0x27a)][this[_0x53f346(0x27a)][_0x53f346(0x34c)]-0x1];}[a0_0xf68f23(0x256)](){return[...this['items']];}['getCount'](){const _0x1f403a=a0_0xf68f23;return this[_0x1f403a(0x27a)]['length'];}[a0_0xf68f23(0x3be)](_0x155bd8){return this['items'][_0x155bd8];}[a0_0xf68f23(0x29d)](_0x5e9516){const _0xf5692f=a0_0xf68f23;return this[_0xf5692f(0x27a)]['find'](_0x16617e=>_0x16617e['id']===_0x5e9516);}[a0_0xf68f23(0x1b8)](_0x29ad7e){const _0x40d0a3=a0_0xf68f23;return this[_0x40d0a3(0x27a)][_0x40d0a3(0x1b6)](_0x1588a8=>_0x1588a8[_0x40d0a3(0x362)]===_0x29ad7e);}[a0_0xf68f23(0x313)](){const _0x153d14=a0_0xf68f23;return this[_0x153d14(0x27a)][_0x153d14(0x336)](_0x37ca2b=>_0x37ca2b['id'])[_0x153d14(0x1d7)](_0x2ed9f7=>_0x2ed9f7!==undefined);}[a0_0xf68f23(0x424)](){const _0x343754=a0_0xf68f23;return this['items'][_0x343754(0x336)](_0x30e45e=>_0x30e45e[_0x343754(0x362)]);}[a0_0xf68f23(0x250)](){const _0x1c367c=a0_0xf68f23;if(this[_0x1c367c(0x234)]())return _0x1c367c(0x29c)+this[_0x1c367c(0x27a)][_0x1c367c(0x34c)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x1c367c(0x456)]()['name']+')';return _0x1c367c(0x29c)+this[_0x1c367c(0x27a)][0x0][_0x1c367c(0x30b)]+')';}}class DatasetGroupMap{[a0_0xf68f23(0x209)];constructor(_0x7b8886){const _0x297d9f=a0_0xf68f23;this[_0x297d9f(0x209)]=new Map();for(const _0x574450 of _0x7b8886){const _0x29fe08=_0x574450[_0x297d9f(0x45a)](),_0x29ff58=_0x574450[_0x297d9f(0x26d)]?.[_0x297d9f(0x33d)],_0x1985ba=_0x574450[_0x297d9f(0x26d)]?.['dbName']||_0x574450[_0x297d9f(0x26d)]?.[_0x297d9f(0x3fc)]?.[_0x297d9f(0x340)]||'',_0xb90329=_0x29ff58!==undefined&&_0x29ff58!==null?'db'+_0x29ff58:_0x1985ba?getTableKey(_0x1985ba):'',_0x41a6c0=_0xb90329?_0xb90329+'_'+_0x29fe08:_0x29fe08,_0x293141=getTableKey(_0x41a6c0);if(!this[_0x297d9f(0x209)][_0x297d9f(0x2a9)](_0x293141))this['groups'][_0x297d9f(0x386)](_0x293141,new DatasetGroup(_0x574450));else{const _0x4ae10d=this[_0x297d9f(0x209)][_0x297d9f(0x2c7)](_0x293141),_0x1991b6=[..._0x4ae10d[_0x297d9f(0x256)](),_0x574450];this[_0x297d9f(0x209)][_0x297d9f(0x386)](_0x293141,new DatasetGroup(_0x1991b6));}}}[a0_0xf68f23(0x2c7)](_0xa70e22){const _0x3962d8=a0_0xf68f23;return this[_0x3962d8(0x209)][_0x3962d8(0x2c7)](_0xa70e22);}['has'](_0x5bae1e){const _0x2e6e28=a0_0xf68f23;return this[_0x2e6e28(0x209)][_0x2e6e28(0x2a9)](_0x5bae1e);}get['size'](){const _0x32e007=a0_0xf68f23;return this[_0x32e007(0x209)][_0x32e007(0x2b5)];}['keys'](){return this['groups']['keys']();}['values'](){const _0x3a66fd=a0_0xf68f23;return this[_0x3a66fd(0x209)][_0x3a66fd(0x36c)]();}[a0_0xf68f23(0x1b4)](){const _0x18c83d=a0_0xf68f23;return this['groups'][_0x18c83d(0x1b4)]();}[Symbol[a0_0xf68f23(0x265)]](){const _0x6c0427=a0_0xf68f23;return this[_0x6c0427(0x209)]['entries']();}[a0_0xf68f23(0x1df)](_0x31591e){const _0x27c3b2=a0_0xf68f23;this[_0x27c3b2(0x209)][_0x27c3b2(0x1df)]((_0xa378db,_0x4fd269)=>_0x31591e(_0xa378db,_0x4fd269,this));}[a0_0xf68f23(0x2a4)](){const _0xe841d1=a0_0xf68f23,_0xc5e573=new Map();for(const [_0x9f949a,_0x88250a]of this[_0xe841d1(0x209)]){_0x88250a[_0xe841d1(0x234)]()&&_0xc5e573[_0xe841d1(0x386)](_0x9f949a,_0x88250a);}return _0xc5e573;}['hasConflicts'](){const _0x34e710=a0_0xf68f23;for(const _0x310bdb of this[_0x34e710(0x209)][_0x34e710(0x36c)]()){if(_0x310bdb[_0x34e710(0x234)]())return!![];}return![];}[a0_0xf68f23(0x323)](){const _0x780d24=a0_0xf68f23;let _0x1def06=0x0,_0x58a67b=0x0;for(const _0x5c7a22 of this['groups'][_0x780d24(0x36c)]()){_0x5c7a22[_0x780d24(0x234)]()&&(_0x1def06++,_0x58a67b+=_0x5c7a22[_0x780d24(0x406)]());}const _0x43dd11={};return _0x43dd11[_0x780d24(0x303)]=_0x1def06,_0x43dd11['conflictItemCount']=_0x58a67b,_0x43dd11[_0x780d24(0x262)]=this[_0x780d24(0x209)][_0x780d24(0x2b5)],_0x43dd11;}[a0_0xf68f23(0x349)](){const _0x4f42fe=a0_0xf68f23,_0x55e2c1=[];for(const _0x5121c5 of this[_0x4f42fe(0x209)]['values']()){_0x55e2c1[_0x4f42fe(0x387)](..._0x5121c5[_0x4f42fe(0x256)]());}return _0x55e2c1;}[a0_0xf68f23(0x345)](){const _0x347364=a0_0xf68f23,_0x4ade95=[];for(const _0x57b404 of this[_0x347364(0x209)][_0x347364(0x36c)]()){_0x4ade95[_0x347364(0x387)](_0x57b404['getLatest']());}return _0x4ade95;}[a0_0xf68f23(0x456)](_0x55b1db){const _0x33c405=a0_0xf68f23;return this['groups'][_0x33c405(0x2c7)](_0x55b1db)?.[_0x33c405(0x456)]();}[a0_0xf68f23(0x256)](_0x591dfe){const _0xdd1697=a0_0xf68f23;return this[_0xdd1697(0x209)][_0xdd1697(0x2c7)](_0x591dfe)?.['getAll']()||[];}[a0_0xf68f23(0x20c)](){const _0x531c21=a0_0xf68f23,_0x176fe1=this[_0x531c21(0x345)](),_0x307033=new Map();for(const _0x1b633f of _0x176fe1){const _0x363086=_0x1b633f[_0x531c21(0x45a)](),_0x395834=_0x1b633f['dbtableConfig']?.['dbId'],_0x285284=_0x1b633f[_0x531c21(0x26d)]?.[_0x531c21(0x340)]||_0x1b633f[_0x531c21(0x26d)]?.[_0x531c21(0x3fc)]?.[_0x531c21(0x340)]||'',_0x601618=_0x395834!==undefined&&_0x395834!==null?'db'+_0x395834:_0x285284?getTableKey(_0x285284):'';!_0x307033[_0x531c21(0x2a9)](_0x363086)&&_0x307033[_0x531c21(0x386)](_0x363086,new Set()),_0x307033[_0x531c21(0x2c7)](_0x363086)['add'](_0x601618);}const _0x110d34=new Set();for(const [_0x2a3a07,_0xb0839b]of _0x307033){_0xb0839b[_0x531c21(0x2b5)]>0x1&&_0x110d34[_0x531c21(0x20d)](_0x2a3a07);}const _0x45b15c={},_0x52bacd=new Set();for(const _0x5aaf25 of _0x176fe1){const _0x7670e6=_0x5aaf25[_0x531c21(0x45a)](),_0x5d14d4=_0x5aaf25[_0x531c21(0x277)](),_0x1428df=getTableKey(_0x7670e6);let _0x5c7b5f=_0x1428df;const _0x4641d8=_0x5aaf25[_0x531c21(0x26d)]?.['dbName']||_0x5aaf25[_0x531c21(0x26d)]?.[_0x531c21(0x3fc)]?.['dbName']||'';if(_0x110d34[_0x531c21(0x2a9)](_0x7670e6)&&_0x4641d8){const _0x4442b5=getTableKey(_0x4641d8);_0x5c7b5f=''+_0x4442b5+_0x1428df[_0x531c21(0x34e)](0x0)['toUpperCase']()+_0x1428df[_0x531c21(0x399)](0x1);}let _0xc64101=_0x5c7b5f,_0x8c6cfd=0x1;while(_0x52bacd[_0x531c21(0x2a9)](_0xc64101)){_0xc64101=_0x5c7b5f+'_'+_0x8c6cfd,_0x8c6cfd++;}_0x52bacd[_0x531c21(0x20d)](_0xc64101);const _0x3d96ab=_0xc64101;_0x45b15c[_0xc64101]={'key':_0xc64101,'alias':_0x3d96ab,'tableName':_0x7670e6,'datasetCode':_0x5d14d4[_0x531c21(0x362)],'name':_0x5d14d4[_0x531c21(0x30b)],'id':_0x5d14d4['id'],'dbName':_0x4641d8};}return _0x45b15c;}['toFullConfig'](){const _0x3feb63=a0_0xf68f23,_0x41b510=this['getAllDatasets'](),_0x7145e6=_0x41b510['map'](_0x13987d=>_0x13987d[_0x3feb63(0x277)]());return generateFullDatasetsConfig(_0x7145e6);}['toObject'](){const _0x59acf4=a0_0xf68f23,_0x3c5ccd={};for(const [_0x30aa5c,_0x1dba08]of this[_0x59acf4(0x209)]){_0x3c5ccd[_0x30aa5c]=_0x1dba08;}return _0x3c5ccd;}[a0_0xf68f23(0x277)](){const _0x4d5060=a0_0xf68f23,_0x3fc82d={};for(const [_0x338884,_0x55023d]of this['groups']){_0x3fc82d[_0x338884]=_0x55023d[_0x4d5060(0x256)]()[_0x4d5060(0x336)](_0x2608e5=>_0x2608e5[_0x4d5060(0x277)]());}return _0x3fc82d;}['toString'](){const _0x57ef78=a0_0xf68f23;return _0x57ef78(0x218)+this[_0x57ef78(0x209)][_0x57ef78(0x2b5)]+_0x57ef78(0x2e8)+(this[_0x57ef78(0x36d)]()?_0x57ef78(0x325):_0x57ef78(0x378))+')';}}class DatasetList{[a0_0xf68f23(0x358)];constructor(_0x3e260f){const _0x4d988c=a0_0xf68f23;let _0x21801f;if(Array[_0x4d988c(0x30c)](_0x3e260f))_0x21801f=_0x3e260f;else{if(_0x4d988c(0x261)in _0x3e260f){if(!_0x3e260f[_0x4d988c(0x261)])throw new Error('Invalid\x20API\x20response:\x20success\x20is\x20false');if(Array[_0x4d988c(0x30c)](_0x3e260f['data']))_0x21801f=_0x3e260f[_0x4d988c(0x1eb)][_0x4d988c(0x336)](_0x27a897=>({..._0x27a897,'datasetCode':_0x27a897[_0x4d988c(0x40e)]||_0x27a897['datasetCode']}));else{if(_0x3e260f['data']?.[_0x4d988c(0x203)])_0x21801f=_0x3e260f['data']['tableData'][_0x4d988c(0x336)](_0x4940bd=>({..._0x4940bd,'datasetCode':_0x4940bd[_0x4d988c(0x40e)]||_0x4940bd[_0x4d988c(0x362)]}));else throw new Error(_0x4d988c(0x217));}}else{if('tableData'in _0x3e260f){if(!Array[_0x4d988c(0x30c)](_0x3e260f['tableData']))throw new Error(_0x4d988c(0x413));_0x21801f=_0x3e260f['tableData'][_0x4d988c(0x336)](_0x10d4f0=>({..._0x10d4f0,'datasetCode':_0x10d4f0[_0x4d988c(0x40e)]||_0x10d4f0[_0x4d988c(0x362)]}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse');}}const _0x3bcefa=cleanDatasetNames(_0x21801f),_0x3d9909=_0x3bcefa[_0x4d988c(0x336)](_0x5432a9=>new DatasetItem(_0x5432a9));this['_datasetMap']=new DatasetGroupMap(_0x3d9909);}get[a0_0xf68f23(0x380)](){const _0x5a74b9=a0_0xf68f23;return this[_0x5a74b9(0x358)];}['getItems'](){const _0x5ab484=a0_0xf68f23;return this[_0x5ab484(0x358)][_0x5ab484(0x349)]();}['getCount'](){const _0x43303b=a0_0xf68f23;return this[_0x43303b(0x402)]()[_0x43303b(0x34c)];}[a0_0xf68f23(0x31f)](){const _0x49df81=a0_0xf68f23;return this[_0x49df81(0x358)][_0x49df81(0x2b5)]===0x0;}[a0_0xf68f23(0x3be)](_0x3db96d){const _0x2f5b45=a0_0xf68f23;return this[_0x2f5b45(0x402)]()[_0x3db96d];}[a0_0xf68f23(0x286)](){return this['getItems']()[0x0];}[a0_0xf68f23(0x3b3)](){const _0x218a6c=a0_0xf68f23,_0x2fe376=this['getItems']();return _0x2fe376[_0x2fe376[_0x218a6c(0x34c)]-0x1];}[a0_0xf68f23(0x1b8)](_0x5ab1f1){const _0x48a14a=a0_0xf68f23;for(const _0x475021 of this[_0x48a14a(0x358)][_0x48a14a(0x36c)]()){const _0x46b65f=_0x475021[_0x48a14a(0x1b8)](_0x5ab1f1);if(_0x46b65f)return _0x46b65f;}return;}[a0_0xf68f23(0x2d2)](_0x521ce8){const _0x1e2fa1=a0_0xf68f23;return this[_0x1e2fa1(0x402)]()['find'](_0x12d665=>_0x12d665['name']===_0x521ce8);}[a0_0xf68f23(0x29d)](_0x5e2dad){const _0x5c3195=a0_0xf68f23;for(const _0x7ff2dd of this[_0x5c3195(0x358)][_0x5c3195(0x36c)]()){const _0x3f6585=_0x7ff2dd[_0x5c3195(0x29d)](_0x5e2dad);if(_0x3f6585)return _0x3f6585;}return;}[a0_0xf68f23(0x2bc)](_0x44345a){const _0x84f892=a0_0xf68f23;for(const _0x54b750 of this[_0x84f892(0x358)][_0x84f892(0x36c)]()){const _0x1d0d29=_0x54b750['getLatest']();if(_0x1d0d29[_0x84f892(0x45a)]()===_0x44345a)return _0x1d0d29;}return;}[a0_0xf68f23(0x44f)](_0x425cf5){const _0x79d245=a0_0xf68f23,_0x193e4b=[];for(const _0x4ce2d9 of this['_datasetMap'][_0x79d245(0x36c)]()){const _0x17aa2e=_0x4ce2d9[_0x79d245(0x456)]();_0x17aa2e[_0x79d245(0x45a)]()===_0x425cf5&&_0x193e4b['push'](_0x17aa2e);}return _0x193e4b;}[a0_0xf68f23(0x1d7)](_0x25b892){const _0x45c292=a0_0xf68f23,_0x2eb022=this[_0x45c292(0x402)]()[_0x45c292(0x1d7)](_0x25b892);return new DatasetList(_0x2eb022[_0x45c292(0x336)](_0x21e990=>_0x21e990[_0x45c292(0x277)]()));}[a0_0xf68f23(0x372)](_0x21270a){return this['getItems']()['filter'](_0x21270a);}[a0_0xf68f23(0x1df)](_0x502d21){const _0x627588=a0_0xf68f23;this[_0x627588(0x402)]()[_0x627588(0x1df)](_0x502d21);}[a0_0xf68f23(0x336)](_0x7bf617){const _0x3970e7=a0_0xf68f23;return this['getItems']()[_0x3970e7(0x336)](_0x7bf617);}[Symbol[a0_0xf68f23(0x265)]](){const _0x31effd=a0_0xf68f23;return this[_0x31effd(0x402)]()[Symbol[_0x31effd(0x265)]]();}[a0_0xf68f23(0x268)](){const _0x4964b=a0_0xf68f23;return this[_0x4964b(0x402)]()[_0x4964b(0x1d7)](_0x34dd3e=>_0x34dd3e[_0x4964b(0x241)]());}['getRealTables'](){const _0x2d9631=a0_0xf68f23;return this[_0x2d9631(0x402)]()[_0x2d9631(0x1d7)](_0x1f1147=>!_0x1f1147[_0x2d9631(0x241)]());}['groupByTableName'](){const _0x427c4d=a0_0xf68f23,_0x12dad1={};for(const _0x1705dd of this[_0x427c4d(0x358)][_0x427c4d(0x36c)]()){const _0x460658=_0x1705dd[_0x427c4d(0x456)]()[_0x427c4d(0x45a)]();_0x12dad1[_0x460658]=_0x1705dd[_0x427c4d(0x256)]();}return _0x12dad1;}[a0_0xf68f23(0x393)](){const _0x104230=a0_0xf68f23,_0x3dfed9={};for(const _0xe64906 of this[_0x104230(0x358)][_0x104230(0x2a4)]()[_0x104230(0x36c)]()){const _0x13dff7=_0xe64906['getLatest']()[_0x104230(0x45a)]();_0x3dfed9[_0x13dff7]=_0xe64906[_0x104230(0x256)]()[_0x104230(0x336)](_0x23fa11=>_0x23fa11[_0x104230(0x277)]());}return{'hasConflicts':Object[_0x104230(0x383)](_0x3dfed9)[_0x104230(0x34c)]>0x0,'conflicts':_0x3dfed9};}[a0_0xf68f23(0x36d)](){const _0x443602=a0_0xf68f23;return this[_0x443602(0x358)][_0x443602(0x36d)]();}['getConflictingItems'](){const _0x488abf=a0_0xf68f23,_0x4d079d=[];for(const _0xd2ccaf of this[_0x488abf(0x358)][_0x488abf(0x2a4)]()['values']()){_0x4d079d[_0x488abf(0x387)](..._0xd2ccaf['getAll']());}return _0x4d079d;}[a0_0xf68f23(0x301)](_0x38649e){const _0x2e3079=a0_0xf68f23;if(!_0x38649e||Object[_0x2e3079(0x383)](_0x38649e)[_0x2e3079(0x34c)]===0x0)return this[_0x2e3079(0x380)][_0x2e3079(0x20c)]();const _0x1d42b9=this[_0x2e3079(0x402)]()['map'](_0x58900c=>_0x58900c[_0x2e3079(0x277)]());return generateDatasetsConfig(_0x1d42b9,_0x38649e);}['generateConfigArray'](_0x5e6c9b){const _0x25d453=a0_0xf68f23,_0xf7c06b=this[_0x25d453(0x301)](_0x5e6c9b);return datasetsConfigToArray(_0xf7c06b);}[a0_0xf68f23(0x365)](){const _0x327e78=a0_0xf68f23;return this[_0x327e78(0x402)]()[_0x327e78(0x336)](_0x1f38ac=>_0x1f38ac[_0x327e78(0x20c)]());}[a0_0xf68f23(0x246)](){const _0x5c8689=a0_0xf68f23;return{'total':this[_0x5c8689(0x406)](),'virtualTables':this[_0x5c8689(0x268)]()[_0x5c8689(0x34c)],'realTables':this[_0x5c8689(0x395)]()[_0x5c8689(0x34c)],'hasConflicts':this[_0x5c8689(0x36d)](),'conflictCount':this[_0x5c8689(0x1f9)]()[_0x5c8689(0x34c)]};}[a0_0xf68f23(0x41f)](){const _0x8bca09=a0_0xf68f23;return this[_0x8bca09(0x402)]()[_0x8bca09(0x336)](_0x46075c=>_0x46075c[_0x8bca09(0x277)]());}[a0_0xf68f23(0x277)](){const _0x499278=a0_0xf68f23;return this[_0x499278(0x41f)]();}['toString'](){const _0x5a1f16=a0_0xf68f23;return _0x5a1f16(0x2e1)+this['getCount']()+_0x5a1f16(0x23f)+this[_0x5a1f16(0x358)][_0x5a1f16(0x2b5)]+_0x5a1f16(0x2d7);}static[a0_0xf68f23(0x284)](_0x3e4e29){return new DatasetList(_0x3e4e29);}static[a0_0xf68f23(0x3c3)](_0x597203){return new DatasetList(_0x597203);}static[a0_0xf68f23(0x2bb)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0xf68f23(0x3e7);function renderTemplate(_0x344b47,_0x17c4a2,_0x14bfef={}){const _0x21a190=a0_0xf68f23;let _0x2a8bb8=_0x344b47;return Object[_0x21a190(0x1b4)](_0x14bfef)[_0x21a190(0x1df)](([_0x4262e8,_0x294908])=>{const _0x4d351c=_0x21a190,_0x1b8dc2=new RegExp(_0x4d351c(0x417)+_0x4262e8+_0x4d351c(0x2ce),'g');_0x2a8bb8=_0x2a8bb8[_0x4d351c(0x3c0)](_0x1b8dc2,_0x294908?'$1':'');}),Object[_0x21a190(0x1b4)](_0x17c4a2)[_0x21a190(0x1df)](([_0x3598b7,_0x1f6fd5])=>{const _0x3b4801=_0x21a190;if(_0x1f6fd5!==undefined){const _0x3d93fc=new RegExp(_0x3b4801(0x37f)+_0x3598b7+_0x3b4801(0x231),'g');_0x2a8bb8=_0x2a8bb8['replace'](_0x3d93fc,_0x1f6fd5);}}),_0x2a8bb8;}function generateSDKInitCode(_0xa4a7fc,_0x5cfca0,_0x54e1c0,_0x328fc6,_0x308abf){const _0x19d7f8=a0_0xf68f23,_0xc1a395={};_0xc1a395[_0x19d7f8(0x1c6)]=_0xa4a7fc,_0xc1a395[_0x19d7f8(0x362)]=_0x5cfca0,_0xc1a395['alias']=_0x54e1c0,_0xc1a395[_0x19d7f8(0x2d3)]=_0x328fc6===_0x19d7f8(0x39c)?_0x19d7f8(0x39c):undefined;const _0xfceace={};return _0xfceace[_0x19d7f8(0x2d3)]=_0x328fc6!==undefined&&_0x328fc6!=='online',_0xfceace['isOpenAPI']=_0x308abf===!![],renderTemplate(SDK_INIT_TEMPLATE,_0xc1a395,_0xfceace);}var ALIAS_EXPLANATION_TEMPLATE=a0_0xf68f23(0x30d);function generateAliasExplanation(_0x395ccd,_0x48e291,_0xbde9cf,_0x43a680){const _0x332ee6=a0_0xf68f23,_0x2837f5=_0x332ee6(0x257)+_0x395ccd,_0x4bd378=_0x332ee6(0x40d),_0x59f429={};return _0x59f429[_0x332ee6(0x362)]=_0x395ccd,_0x59f429[_0x332ee6(0x25e)]=_0x2837f5,_0x59f429['tableName']=_0x48e291,_0x59f429['alias']=_0xbde9cf,_0x59f429[_0x332ee6(0x1c6)]=_0x43a680,_0x59f429[_0x332ee6(0x28e)]=_0x4bd378,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x59f429,{});}function DrivenDataDetailPlusMixin(_0x3fb412){const _0x3bb157=a0_0xf68f23;return class _0x5d567d extends _0x3fb412{['getSDKInitData'](_0x476015){const _0x29b7c5=a0_0x274a;return{'appCode':_0x476015,'datasetSDKKey':this[_0x29b7c5(0x290)](),'alias':this[_0x29b7c5(0x2bf)](),'tableName':this['getTableName'](),'datasetCode':this[_0x29b7c5(0x362)]};}[_0x3bb157(0x28f)](_0x2b0e72,_0x1b2c2b=_0x3bb157(0x2a0),_0x2c19b3=![]){const _0x10f8ca=_0x3bb157;return generateSDKInitCode(_0x2b0e72,this[_0x10f8ca(0x362)],this['getModelAlias'](),_0x1b2c2b===_0x10f8ca(0x39c)?_0x1b2c2b:undefined,_0x2c19b3);}[_0x3bb157(0x235)](_0x263323,_0x1c8ead,_0xa0bd4f={}){const _0xaf9c0f=_0x3bb157,_0x41f59=this[_0xaf9c0f(0x398)]()[_0xaf9c0f(0x1b6)](_0x2d7941=>_0x2d7941['getName']()===_0x263323);if(!_0x41f59)return null;const _0x1cf591={};_0x1cf591['useFullExample']=_0xa0bd4f[_0xaf9c0f(0x1dc)]!==![];const _0x282c2c=this['getOperationDocMeta'](_0x263323,_0x1cf591);if(!_0x282c2c)return null;const _0x5ca92e=[];return _0x5ca92e[_0xaf9c0f(0x387)]('//\x20Call\x20the\x20'+_0x41f59[_0xaf9c0f(0x1fd)]()+_0xaf9c0f(0x271)),_0x5ca92e[_0xaf9c0f(0x387)](_0x282c2c[_0xaf9c0f(0x206)][_0xaf9c0f(0x40e)]),_0x5ca92e[_0xaf9c0f(0x387)](''),_0xa0bd4f[_0xaf9c0f(0x32a)]!==![]&&(_0x5ca92e[_0xaf9c0f(0x387)](_0xaf9c0f(0x26e)),_0x5ca92e[_0xaf9c0f(0x387)](_0x282c2c[_0xaf9c0f(0x2ca)][_0xaf9c0f(0x43f)]),_0x5ca92e['push'](''),_0x5ca92e[_0xaf9c0f(0x387)](_0x282c2c[_0xaf9c0f(0x2ca)][_0xaf9c0f(0x2f5)])),_0x5ca92e[_0xaf9c0f(0x36f)]('\x0a');}['generateAllOperationsFullSDKExample'](_0x730b28={}){const _0x3f6858=_0x3bb157,_0x50d64e=this[_0x3f6858(0x2ed)](),_0x357515=[];return _0x50d64e[_0x3f6858(0x1df)]((_0x13771d,_0x263091)=>{const _0x2ed7f5=_0x3f6858,_0x243b9c=this[_0x2ed7f5(0x235)](_0x13771d['name'],_0x2ed7f5(0x3ce),_0x730b28);_0x243b9c&&(_0x357515[_0x2ed7f5(0x387)](_0x2ed7f5(0x258)+(_0x263091+0x1)+'.\x20'+_0x13771d[_0x2ed7f5(0x448)]),_0x357515[_0x2ed7f5(0x387)](_0x243b9c),_0x357515[_0x2ed7f5(0x387)](''));}),_0x357515['join']('\x0a');}[_0x3bb157(0x1ec)](_0xef1238){const _0x3fd4fb=_0x3bb157,_0x866797=this[_0x3fd4fb(0x27e)](_0xef1238);if(!_0x866797)return null;const _0x3e1d4d={};return _0x3e1d4d['name']=_0x866797[_0x3fd4fb(0x30b)],_0x3e1d4d['displayName']=_0x866797['displayName'],_0x3e1d4d[_0x3fd4fb(0x321)]=_0x866797['method'],_0x3e1d4d[_0x3fd4fb(0x2b6)]=_0x866797[_0x3fd4fb(0x2b6)],_0x3e1d4d[_0x3fd4fb(0x1cf)]=_0x866797[_0x3fd4fb(0x1cf)],_0x3e1d4d[_0x3fd4fb(0x2ef)]=_0x866797[_0x3fd4fb(0x3a0)][_0x3fd4fb(0x34c)],_0x3e1d4d['hasResponseSchema']=_0x866797[_0x3fd4fb(0x285)]!==null,_0x3e1d4d;}['generateAllOperationsSummary'](_0x32f85a={}){const _0xb28081=_0x3bb157,_0x5f685c=this[_0xb28081(0x2ed)]();return{'datasetName':this[_0xb28081(0x30b)],'datasetCode':this[_0xb28081(0x362)],'tableName':this[_0xb28081(0x45a)](),'totalOperations':_0x5f685c['length'],'operations':_0x5f685c['map'](_0x193415=>({'name':_0x193415[_0xb28081(0x30b)],'displayName':_0x193415['displayName'],'method':_0x193415[_0xb28081(0x321)],'enabled':_0x193415[_0xb28081(0x1cf)]}))};}[_0x3bb157(0x2dd)](_0xf1cba1){const _0x33c7b9=_0x3bb157,_0x48c79b=this[_0x33c7b9(0x27e)](_0xf1cba1);if(!_0x48c79b)return[];return _0x48c79b[_0x33c7b9(0x3a0)][_0x33c7b9(0x336)](_0x18ad2b=>{const _0x1d3c4a=_0x33c7b9,_0x521a4f=this[_0x1d3c4a(0x420)](_0x18ad2b);if(!_0x521a4f)return null;const _0x5392fb={};return _0x5392fb[_0x1d3c4a(0x40e)]=_0x18ad2b,_0x5392fb[_0x1d3c4a(0x30b)]=_0x521a4f['name']||_0x18ad2b,_0x5392fb;})[_0x33c7b9(0x1d7)](_0x578b03=>_0x578b03!==null);}['getMissingCRUDOperations'](){const _0x4e03e8=_0x3bb157,_0xddd1fc=new Set(this[_0x4e03e8(0x2ed)]()[_0x4e03e8(0x336)](_0x19cae9=>String(_0x19cae9[_0x4e03e8(0x282)]))),_0x76ca1b=[_0x4e03e8(0x1bc),_0x4e03e8(0x2a6),_0x4e03e8(0x410),_0x4e03e8(0x3dc)];return _0x76ca1b[_0x4e03e8(0x1d7)](_0x4883a4=>!_0xddd1fc[_0x4e03e8(0x2a9)](String(_0x4883a4)));}[_0x3bb157(0x223)](_0x2483cd=_0x3bb157(0x3ce)){const _0x13e904=_0x3bb157;return generateAliasExplanation(this[_0x13e904(0x362)],this[_0x13e904(0x45a)](),this[_0x13e904(0x2bf)](),_0x2483cd);}};}function operationToAnalysis(_0x34a4ba){const _0x47fd01=a0_0xf68f23;return{'name':_0x34a4ba[_0x47fd01(0x1fd)](),'displayName':_0x34a4ba[_0x47fd01(0x322)](),'type':_0x34a4ba[_0x47fd01(0x43d)](),'method':_0x34a4ba[_0x47fd01(0x3e0)](),'path':_0x34a4ba['getPath'](),'fullUrl':_0x34a4ba['getFullUrl'](),'requestFields':_0x34a4ba[_0x47fd01(0x1cd)](),'requestParams':_0x34a4ba[_0x47fd01(0x299)](),'responseSchema':_0x34a4ba[_0x47fd01(0x405)](),'requestExample':_0x34a4ba[_0x47fd01(0x454)](),'responseExample':_0x34a4ba[_0x47fd01(0x38b)](),'enabled':_0x34a4ba[_0x47fd01(0x41b)]()};}function operationsToAnalyses(_0x1573dd){const _0x44372c=a0_0xf68f23;if(!Array[_0x44372c(0x30c)](_0x1573dd))return!![]&&console[_0x44372c(0x359)](_0x44372c(0x31e),_0x1573dd),[];return _0x1573dd[_0x44372c(0x336)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x439cf3){const _0x40f9d8=a0_0xf68f23,_0x3c54af=_0x439cf3[_0x40f9d8(0x1b6)](_0x276b32=>_0x276b32[_0x40f9d8(0x30b)]===_0x40f9d8(0x1d7)),_0x3e9e30=_0x439cf3['filter'](_0x3f30ad=>_0x3f30ad[_0x40f9d8(0x30b)]!==_0x40f9d8(0x1d7));return _0x3c54af?[_0x3c54af,..._0x3e9e30]:_0x3e9e30;}function filterOperationAnalyses(_0x5102cc,_0xaa6898={}){const _0x2ae434=a0_0xf68f23;let _0x2a0128=_0x5102cc;return!_0xaa6898['includeDisabled']&&(_0x2a0128=_0x2a0128[_0x2ae434(0x1d7)](_0x260df9=>_0x260df9[_0x2ae434(0x1cf)])),_0xaa6898[_0x2ae434(0x23a)]!==![]&&(_0x2a0128=filterApiOperations(_0x2a0128)),_0xaa6898['customFilter']&&(_0x2a0128=_0x2a0128[_0x2ae434(0x1d7)](_0xaa6898[_0x2ae434(0x1a1)])),sortOperationsWithFilterFirst(_0x2a0128);}function getOperationStats(_0x153292){const _0x21780c=a0_0xf68f23,_0x1627d1=_0x153292[_0x21780c(0x1d7)](_0x36bfa7=>_0x36bfa7[_0x21780c(0x1cf)]);return{'total':_0x153292[_0x21780c(0x34c)],'enabled':_0x1627d1[_0x21780c(0x34c)],'disabled':_0x153292[_0x21780c(0x34c)]-_0x1627d1['length'],'byType':getCountByType(_0x1627d1),'byMethod':getCountByMethod(_0x1627d1)};}function getCountByType(_0x2be08e){const _0x192b1d={};return _0x2be08e['forEach'](_0x32d173=>{const _0x50b60d=a0_0x274a;if(_0x32d173['type'])_0x192b1d[_0x32d173[_0x50b60d(0x282)]]=(_0x192b1d[_0x32d173[_0x50b60d(0x282)]]||0x0)+0x1;}),_0x192b1d;}function getCountByMethod(_0x138a57){const _0x2d8146=a0_0xf68f23,_0x2de245={};return _0x138a57[_0x2d8146(0x1df)](_0x57a2fa=>{const _0x17ee9a=_0x2d8146;_0x2de245[_0x57a2fa[_0x17ee9a(0x321)]]=(_0x2de245[_0x57a2fa[_0x17ee9a(0x321)]]||0x0)+0x1;}),_0x2de245;}function supportsCRUD(_0x13c405){const _0xe2be5f=a0_0xf68f23,_0x3f0299=new Set(_0x13c405['map'](_0x441e05=>_0x441e05[_0xe2be5f(0x282)])['filter'](Boolean));return _0x3f0299[_0xe2be5f(0x2a9)](_0xe2be5f(0x1bc))&&_0x3f0299['has'](_0xe2be5f(0x2a6))&&_0x3f0299['has'](_0xe2be5f(0x410))&&_0x3f0299[_0xe2be5f(0x2a9)](_0xe2be5f(0x3dc));}function createOperationDocMeta(_0x1baf35,_0x2e7285,_0x1cce13,_0x4d3838,_0x2f5a6a,_0x40afac){const _0x45db45=a0_0xf68f23,_0x3c8867={};return _0x3c8867[_0x45db45(0x447)]=_0x40afac?.[_0x45db45(0x447)],{'operation':_0x1baf35,'operationInstance':_0x2e7285,'basicInfo':{'name':_0x1baf35['name'],'displayName':_0x1baf35[_0x45db45(0x448)],'method':_0x1baf35[_0x45db45(0x321)],'path':_0x1baf35[_0x45db45(0x2b6)],'fullUrl':_0x1baf35[_0x45db45(0x1c2)],'enabled':_0x1baf35[_0x45db45(0x1cf)]},'sdkCall':{'datasetCode':_0x1cce13,'datasetSDKKey':_0x4d3838,'tableName':_0x2f5a6a,'operationName':_0x1baf35[_0x45db45(0x30b)],'params':_0x1baf35[_0x45db45(0x3a0)],'code':_0x2e7285[_0x45db45(0x1b3)](_0x4d3838,_0x3c8867)},'usageExample':_0x2e7285[_0x45db45(0x3b0)](_0x4d3838)};}function createOperationsOverviewData(_0x32ee11){const _0x1587a3=a0_0xf68f23,_0x110d0f={};_0x110d0f[_0x1587a3(0x229)]='name',_0x110d0f[_0x1587a3(0x3d5)]=_0x1587a3(0x371);const _0x59e0c={};_0x59e0c[_0x1587a3(0x229)]=_0x1587a3(0x448),_0x59e0c[_0x1587a3(0x3d5)]='操作名称';const _0x306d4b={};_0x306d4b['index']=_0x1587a3(0x321),_0x306d4b[_0x1587a3(0x3d5)]='方法';const _0x39866d={};_0x39866d[_0x1587a3(0x229)]=_0x1587a3(0x206),_0x39866d[_0x1587a3(0x3d5)]=_0x1587a3(0x408);const _0x2285cf={};_0x2285cf[_0x1587a3(0x229)]=_0x1587a3(0x2b6),_0x2285cf[_0x1587a3(0x3d5)]=_0x1587a3(0x243);const _0x120fad={};_0x120fad['index']=_0x1587a3(0x421),_0x120fad[_0x1587a3(0x3d5)]=_0x1587a3(0x2ab);const _0x20d078=[_0x110d0f,_0x59e0c,_0x306d4b,_0x39866d,_0x2285cf,_0x120fad],_0x422157=_0x32ee11[_0x1587a3(0x336)](_0x16e77c=>{const _0x2bcacc=_0x1587a3,{basicInfo:_0x372da8,sdkCall:_0x2d9da0}=_0x16e77c,_0x3d7998=_0x2d9da0[_0x2bcacc(0x40e)]['replace'](/^const\s+\w+\s*=\s*await\s+/,'')[_0x2bcacc(0x3c0)](/;$/,''),_0x40ab56={};return _0x40ab56[_0x2bcacc(0x448)]=_0x372da8[_0x2bcacc(0x448)],_0x40ab56[_0x2bcacc(0x30b)]=_0x372da8['name'],_0x40ab56[_0x2bcacc(0x321)]=_0x372da8[_0x2bcacc(0x321)],_0x40ab56[_0x2bcacc(0x2b6)]=_0x372da8[_0x2bcacc(0x2b6)],_0x40ab56[_0x2bcacc(0x206)]=_0x3d7998,_0x40ab56[_0x2bcacc(0x421)]=_0x2d9da0[_0x2bcacc(0x40e)],_0x40ab56;}),_0x27fdee={};return _0x27fdee['tableColumns']=_0x20d078,_0x27fdee[_0x1587a3(0x203)]=_0x422157,_0x27fdee;}function createDatasetDocMeta(_0x4ecb21,_0x4dca15,_0x18693f,_0x5191c1,_0x15a6d9,_0x435e0a,_0x15fbd8,_0x148eac,_0x2c2069){const _0x592f6c=a0_0xf68f23,_0x47e613={};return _0x47e613[_0x592f6c(0x309)]=_0x4ecb21+'\x20API\x20文档',_0x47e613[_0x592f6c(0x1ae)]={},_0x47e613[_0x592f6c(0x23d)]=_0x2c2069,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x30b)]=_0x4ecb21,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x40e)]=_0x4dca15,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x27f)]=_0x18693f,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x25e)]=_0x5191c1,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x22b)]=_0x15a6d9,_0x47e613[_0x592f6c(0x1ae)]['source']=_0x435e0a,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x1f4)]=_0x15fbd8,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x1e8)]=0x0,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x3fa)]=0x0,_0x47e613[_0x592f6c(0x1ae)][_0x592f6c(0x291)]=_0x148eac,_0x47e613[_0x592f6c(0x1ae)]['enabledOperationCount']=_0x2c2069[_0x592f6c(0x34c)],_0x47e613;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0xf68f23(0x318)];[a0_0xf68f23(0x392)](){return'v1';}[a0_0xf68f23(0x2bf)](){return this['getTableKey']();}[a0_0xf68f23(0x2c8)](_0x4f9896=![]){const _0x2ce6e1=a0_0xf68f23;if(!_0x4f9896&&this['_operationAnalyses'])return this['_operationAnalyses'];const _0x5cf97b=this[_0x2ce6e1(0x398)]();return this['_operationAnalyses']=operationsToAnalyses(_0x5cf97b),this['_operationAnalyses'];}['getEnabledOperationAnalyses'](){const _0x160ab2=a0_0xf68f23,_0x42b428={};return _0x42b428[_0x160ab2(0x1d5)]=![],_0x42b428[_0x160ab2(0x23a)]=!![],this[_0x160ab2(0x353)](_0x42b428);}[a0_0xf68f23(0x353)](_0x1837f5={}){const _0x41d53d=a0_0xf68f23;return filterOperationAnalyses(this[_0x41d53d(0x2c8)](),_0x1837f5);}['getOperationAnalysis'](_0x47606a){const _0x2aa2a5=a0_0xf68f23;return this[_0x2aa2a5(0x2c8)]()[_0x2aa2a5(0x1b6)](_0xc06b8b=>_0xc06b8b['name']===_0x47606a);}[a0_0xf68f23(0x228)](_0x158563){const _0x4b71ff=a0_0xf68f23;return this[_0x4b71ff(0x2c8)]()[_0x4b71ff(0x1d7)](_0x45064b=>_0x45064b[_0x4b71ff(0x282)]===_0x158563);}[a0_0xf68f23(0x442)](_0x1a53c7,_0x4b1ed2){const _0x585861=a0_0xf68f23,_0x548be9=this[_0x585861(0x27e)](_0x1a53c7);if(!_0x548be9)return null;const _0x32a5f2=this[_0x585861(0x398)]()[_0x585861(0x1b6)](_0x4956d0=>_0x4956d0[_0x585861(0x1fd)]()===_0x548be9[_0x585861(0x30b)]);if(!_0x32a5f2)throw new Error(_0x585861(0x22a)+_0x548be9[_0x585861(0x30b)]);return createOperationDocMeta(_0x548be9,_0x32a5f2,this[_0x585861(0x362)],this[_0x585861(0x290)](),this['getTableName'](),_0x4b1ed2);}['getDatasetDocMeta'](_0x531a41={}){const _0x6f5f1c=a0_0xf68f23,_0x42df32=this[_0x6f5f1c(0x353)](_0x531a41),_0x465468=_0x42df32[_0x6f5f1c(0x336)](_0x26ef05=>this[_0x6f5f1c(0x442)](_0x26ef05[_0x6f5f1c(0x30b)]))[_0x6f5f1c(0x1d7)](_0x5a6e92=>_0x5a6e92!==null);return createDatasetDocMeta(this[_0x6f5f1c(0x30b)],this[_0x6f5f1c(0x362)],this['getTableName'](),this['getDatasetSDKKey'](),this[_0x6f5f1c(0x1ac)](),this[_0x6f5f1c(0x272)],this[_0x6f5f1c(0x26f)](),this['getOperationCount'](),_0x465468);}['getOperationsOverviewData'](_0x3eed8c){return createOperationsOverviewData(_0x3eed8c);}[a0_0xf68f23(0x319)](){return supportsCRUD(this['getEnabledOperationAnalyses']());}['getOperationStats'](){const _0x131cfc=a0_0xf68f23;return getOperationStats(this[_0x131cfc(0x2c8)]());}[a0_0xf68f23(0x250)](){const _0x2fc76f=a0_0xf68f23,_0x28865f=this[_0x2fc76f(0x28d)]();return _0x2fc76f(0x3d0)+this[_0x2fc76f(0x30b)]+',\x20'+this[_0x2fc76f(0x362)]+',\x20'+this[_0x2fc76f(0x26f)]()+_0x2fc76f(0x44e)+_0x28865f['enabled']+'/'+_0x28865f[_0x2fc76f(0x3bc)]+'\x20operations,\x20v1)';}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0xf68f23(0x318)];[a0_0xf68f23(0x392)](){return'v2';}[a0_0xf68f23(0x2bf)](){const _0x4bbeb1=a0_0xf68f23;return this[_0x4bbeb1(0x1ac)]();}[a0_0xf68f23(0x2c8)](_0x2f5821=![]){const _0x4b0402=a0_0xf68f23;if(!_0x2f5821&&this['_operationAnalyses'])return this[_0x4b0402(0x318)];const _0x183ad0=this[_0x4b0402(0x398)]();return this['_operationAnalyses']=operationsToAnalyses(_0x183ad0),this[_0x4b0402(0x318)];}[a0_0xf68f23(0x2ed)](){const _0x52728b=a0_0xf68f23,_0x2c243d={};return _0x2c243d[_0x52728b(0x1d5)]=![],_0x2c243d[_0x52728b(0x23a)]=!![],this[_0x52728b(0x353)](_0x2c243d);}[a0_0xf68f23(0x353)](_0x52e738={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x52e738);}[a0_0xf68f23(0x27e)](_0x23d9b9){const _0x5a94f8=a0_0xf68f23;return this['getOperationAnalyses']()['find'](_0x3794a9=>_0x3794a9[_0x5a94f8(0x30b)]===_0x23d9b9);}[a0_0xf68f23(0x228)](_0x3bc2ab){const _0x52eb75=a0_0xf68f23;return this[_0x52eb75(0x2c8)]()[_0x52eb75(0x1d7)](_0x38e365=>_0x38e365[_0x52eb75(0x282)]===_0x3bc2ab);}[a0_0xf68f23(0x442)](_0x2b3b89,_0x119b8e){const _0x383721=a0_0xf68f23,_0x51f028=this[_0x383721(0x27e)](_0x2b3b89);if(!_0x51f028)return null;const _0x162071=this['getOperations']()[_0x383721(0x1b6)](_0x201868=>_0x201868[_0x383721(0x1fd)]()===_0x51f028[_0x383721(0x30b)]);if(!_0x162071)throw new Error(_0x383721(0x22a)+_0x51f028[_0x383721(0x30b)]);return createOperationDocMeta(_0x51f028,_0x162071,this[_0x383721(0x362)],this[_0x383721(0x290)](),this[_0x383721(0x45a)](),_0x119b8e);}[a0_0xf68f23(0x36a)](_0xb85731={}){const _0x3034ae=a0_0xf68f23,_0x31e3b1=this[_0x3034ae(0x353)](_0xb85731),_0x7bd6c8=_0x31e3b1[_0x3034ae(0x336)](_0x30537d=>this[_0x3034ae(0x442)](_0x30537d[_0x3034ae(0x30b)]))[_0x3034ae(0x1d7)](_0x2b514f=>_0x2b514f!==null);return createDatasetDocMeta(this['name'],this[_0x3034ae(0x362)],this[_0x3034ae(0x45a)](),this[_0x3034ae(0x290)](),this[_0x3034ae(0x1ac)](),this[_0x3034ae(0x272)],this[_0x3034ae(0x26f)](),this[_0x3034ae(0x3ac)](),_0x7bd6c8);}['getOperationsOverviewData'](_0x3b615f){return createOperationsOverviewData(_0x3b615f);}[a0_0xf68f23(0x319)](){const _0x323efe=a0_0xf68f23;return supportsCRUD(this[_0x323efe(0x2ed)]());}[a0_0xf68f23(0x28d)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0xf68f23(0x250)](){const _0x9d6572=a0_0xf68f23,_0x187be3=this[_0x9d6572(0x28d)]();return'DrivenDataDetailPlusV2('+this[_0x9d6572(0x30b)]+',\x20'+this['datasetCode']+',\x20'+this['getFieldCount']()+_0x9d6572(0x44e)+_0x187be3['enabled']+'/'+_0x187be3[_0x9d6572(0x3bc)]+_0x9d6572(0x2af);}}function detectDatasetVersion3(_0x3c11e7){const _0x597f71=a0_0xf68f23;if(_0x3c11e7[_0x597f71(0x3aa)]==='v2'&&_0x597f71(0x2a1)in _0x3c11e7&&Array[_0x597f71(0x30c)](_0x3c11e7[_0x597f71(0x2a1)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0xf68f23(0x249)];constructor(_0x439858){const _0x169eb2=a0_0xf68f23,_0x1541b5=detectDatasetVersion3(_0x439858);return this[_0x169eb2(0x249)]=_0x1541b5==='v2'?new DrivenDataDetailPlusV2(_0x439858):new DrivenDataDetailPlusV1(_0x439858),new Proxy(this,{'get'(_0xe7b9a8,_0x10e26e){const _0x49bd96=_0x169eb2;if(_0x10e26e in _0xe7b9a8){const _0x519c46=_0xe7b9a8[_0x10e26e];return typeof _0x519c46===_0x49bd96(0x3e6)?_0x519c46[_0x49bd96(0x1f3)](_0xe7b9a8):_0x519c46;}if(_0x10e26e in _0xe7b9a8['_instance']){const _0x797898=_0xe7b9a8[_0x49bd96(0x249)][_0x10e26e];return typeof _0x797898===_0x49bd96(0x3e6)?_0x797898['bind'](_0xe7b9a8[_0x49bd96(0x249)]):_0x797898;}return;},'set'(_0x32c7dc,_0x304c9a,_0x148ba3){return _0x32c7dc[_0x304c9a]=_0x148ba3,!![];},'getPrototypeOf'(_0x145f3a){const _0x371609=_0x169eb2;return DrivenDataDetailPlus[_0x371609(0x205)];}});}get['name'](){const _0x11440b=a0_0xf68f23;return this[_0x11440b(0x249)][_0x11440b(0x30b)];}get['id'](){return this['_instance']['id'];}get[a0_0xf68f23(0x362)](){const _0xb2a584=a0_0xf68f23;return this[_0xb2a584(0x249)]['datasetCode'];}get[a0_0xf68f23(0x272)](){const _0x36ebf4=a0_0xf68f23;return this[_0x36ebf4(0x249)][_0x36ebf4(0x272)];}get[a0_0xf68f23(0x26d)](){const _0x12daed=a0_0xf68f23;return this[_0x12daed(0x249)][_0x12daed(0x207)]();}['getVersion'](){const _0x365e45=a0_0xf68f23,_0x185c2b=this[_0x365e45(0x249)]['getVersion']();return _0x185c2b==='v2'?'v2':'v1';}[a0_0xf68f23(0x26f)](){const _0x32f726=a0_0xf68f23;return this[_0x32f726(0x249)]['getFieldCount']();}['getOperationCount'](){const _0x551739=a0_0xf68f23;return this[_0x551739(0x249)][_0x551739(0x3ac)]();}[a0_0xf68f23(0x434)](){const _0x29cd1a=a0_0xf68f23;return this[_0x29cd1a(0x249)][_0x29cd1a(0x434)]();}[a0_0xf68f23(0x398)](){const _0xa65f11=a0_0xf68f23;return this[_0xa65f11(0x249)][_0xa65f11(0x398)]();}[a0_0xf68f23(0x415)](_0x270562){const _0x11d3c5=a0_0xf68f23;return this[_0x11d3c5(0x249)][_0x11d3c5(0x415)](_0x270562);}[a0_0xf68f23(0x420)](_0x51c886){const _0x5b5696=a0_0xf68f23;return this[_0x5b5696(0x249)][_0x5b5696(0x420)](_0x51c886);}['getTableName'](){const _0xcfe682=a0_0xf68f23;return this[_0xcfe682(0x249)][_0xcfe682(0x45a)]();}['getTableKey'](){const _0x2b901d=a0_0xf68f23;return this[_0x2b901d(0x249)]['getTableKey']();}[a0_0xf68f23(0x290)](){const _0x58c243=a0_0xf68f23;return this[_0x58c243(0x249)][_0x58c243(0x290)]();}[a0_0xf68f23(0x24a)](){const _0x3a57b9=a0_0xf68f23;return this[_0x3a57b9(0x249)][_0x3a57b9(0x24a)]();}[a0_0xf68f23(0x416)](){const _0x25fb8a=a0_0xf68f23;return this[_0x25fb8a(0x249)]['getEnumFields']();}[a0_0xf68f23(0x37b)](){const _0x46e313=a0_0xf68f23;return this[_0x46e313(0x249)][_0x46e313(0x37b)]();}[a0_0xf68f23(0x24f)](_0x5d1102){const _0x1b5c55=a0_0xf68f23;return this[_0x1b5c55(0x249)][_0x1b5c55(0x24f)](_0x5d1102);}[a0_0xf68f23(0x1b9)](_0x2811e3){const _0x411f5a=a0_0xf68f23;return this[_0x411f5a(0x249)][_0x411f5a(0x1b9)](_0x2811e3);}[a0_0xf68f23(0x41a)](_0x452aba){const _0x311495=a0_0xf68f23;return this['_instance'][_0x311495(0x41a)](_0x452aba);}[a0_0xf68f23(0x19d)](_0x30347d){const _0x404d27=a0_0xf68f23;return this['_instance'][_0x404d27(0x19d)](_0x30347d);}[a0_0xf68f23(0x368)](_0x1cd044){const _0x631042=a0_0xf68f23;return this[_0x631042(0x249)][_0x631042(0x368)](_0x1cd044);}[a0_0xf68f23(0x204)](_0x11dd7b,_0x1617e0){const _0x523e93=a0_0xf68f23;return this['_instance'][_0x523e93(0x204)](_0x11dd7b,_0x1617e0);}[a0_0xf68f23(0x1a9)](_0x490116){const _0x50e433=a0_0xf68f23;return this['_instance'][_0x50e433(0x1a9)](_0x490116);}[a0_0xf68f23(0x246)](){const _0x23a250=a0_0xf68f23;return this[_0x23a250(0x249)][_0x23a250(0x246)]();}[a0_0xf68f23(0x1c8)](){const _0x53ff80=a0_0xf68f23;return this[_0x53ff80(0x249)][_0x53ff80(0x1c8)]();}['hasFilterOperation'](){const _0x12b8e3=a0_0xf68f23;return this[_0x12b8e3(0x249)][_0x12b8e3(0x360)]();}[a0_0xf68f23(0x2ff)](_0x2bdc7e){const _0x1d89f0=a0_0xf68f23;return this[_0x1d89f0(0x249)][_0x1d89f0(0x2ff)](_0x2bdc7e);}[a0_0xf68f23(0x207)](){const _0x15a111=a0_0xf68f23;return this['_instance'][_0x15a111(0x207)]();}[a0_0xf68f23(0x298)](){const _0x5f5d60=a0_0xf68f23;return this['_instance'][_0x5f5d60(0x298)]();}[a0_0xf68f23(0x3e2)](){const _0x4a4aef=a0_0xf68f23;return this[_0x4a4aef(0x249)][_0x4a4aef(0x3e2)]();}[a0_0xf68f23(0x2c8)](_0x17d013){const _0xe4ee47=a0_0xf68f23;return this[_0xe4ee47(0x249)][_0xe4ee47(0x2c8)](_0x17d013);}[a0_0xf68f23(0x2ed)](){return this['_instance']['getEnabledOperationAnalyses']();}['getFilteredOperationAnalyses'](_0x5ad4ee){const _0x41c766=a0_0xf68f23;return this[_0x41c766(0x249)][_0x41c766(0x353)](_0x5ad4ee);}[a0_0xf68f23(0x27e)](_0x42eb98){const _0x29613f=a0_0xf68f23;return this[_0x29613f(0x249)][_0x29613f(0x27e)](_0x42eb98);}[a0_0xf68f23(0x228)](_0x520540){const _0x12eefc=a0_0xf68f23;return this[_0x12eefc(0x249)]['getOperationAnalysesByType'](_0x520540);}['getOperationDocMeta'](_0x1201f0,_0x271b34){const _0x197f68=a0_0xf68f23;return this[_0x197f68(0x249)][_0x197f68(0x442)](_0x1201f0,_0x271b34);}[a0_0xf68f23(0x36a)](_0xebcd3f){const _0x532b57=a0_0xf68f23;return this[_0x532b57(0x249)]['getDatasetDocMeta'](_0xebcd3f);}[a0_0xf68f23(0x224)](_0x3563a2){const _0xdd56fd=a0_0xf68f23;return this[_0xdd56fd(0x249)][_0xdd56fd(0x224)](_0x3563a2);}[a0_0xf68f23(0x2bf)](){const _0x530d7d=a0_0xf68f23;return this[_0x530d7d(0x249)]['getModelAlias']();}[a0_0xf68f23(0x319)](){const _0x2ef4e8=a0_0xf68f23;return this['_instance'][_0x2ef4e8(0x319)]();}[a0_0xf68f23(0x28d)](){const _0x29bae3=a0_0xf68f23;return this['_instance'][_0x29bae3(0x28d)]();}[a0_0xf68f23(0x250)](){const _0x3c771c=a0_0xf68f23;return this['_instance'][_0x3c771c(0x250)]();}[a0_0xf68f23(0x214)](_0x2c1198){const _0x562aa8=a0_0xf68f23;return this['_instance'][_0x562aa8(0x214)](_0x2c1198);}[a0_0xf68f23(0x1a6)](_0x1ed370){const _0xb5b31c=a0_0xf68f23;return this['_instance'][_0xb5b31c(0x1a6)](_0x1ed370);}['generateSDKInitCode'](_0x1ba1ed,_0x212d60,_0x4e9bad){const _0x2c7b07=a0_0xf68f23;return this['_instance'][_0x2c7b07(0x28f)](_0x1ba1ed,_0x212d60,_0x4e9bad);}[a0_0xf68f23(0x235)](_0x295ae2,_0x22745b,_0x202b0a){return this['_instance']['generateFullSDKExample'](_0x295ae2,_0x22745b,_0x202b0a);}['generateAllOperationsFullSDKExample'](_0x5af88b){const _0x2bd638=a0_0xf68f23;return this[_0x2bd638(0x249)]['generateAllOperationsFullSDKExample'](_0x5af88b);}[a0_0xf68f23(0x1ec)](_0x2ded13){const _0x388827=a0_0xf68f23;return this[_0x388827(0x249)][_0x388827(0x1ec)](_0x2ded13);}[a0_0xf68f23(0x24c)](_0x456df1){const _0x8df81d=a0_0xf68f23;return this[_0x8df81d(0x249)][_0x8df81d(0x24c)](_0x456df1);}[a0_0xf68f23(0x2dd)](_0x1d62db){const _0x22ed57=a0_0xf68f23;return this['_instance'][_0x22ed57(0x2dd)](_0x1d62db);}[a0_0xf68f23(0x21c)](){const _0x4cc4f8=a0_0xf68f23;return this[_0x4cc4f8(0x249)][_0x4cc4f8(0x21c)]();}[a0_0xf68f23(0x223)](){const _0x244a53=a0_0xf68f23;return this[_0x244a53(0x249)][_0x244a53(0x223)]();}['getInternalInstance'](){const _0x256fe5=a0_0xf68f23;return this[_0x256fe5(0x249)];}}function createDrivenDataDetailPlus(_0x1b6769,_0x2cb25f={}){const _0x29af85=a0_0xf68f23;if(_0x2cb25f[_0x29af85(0x409)]==='v1')return new DrivenDataDetailPlusV1(_0x1b6769);if(_0x2cb25f[_0x29af85(0x409)]==='v2')return new DrivenDataDetailPlusV2(_0x1b6769);if(_0x1b6769[_0x29af85(0x3aa)]==='v2'||_0x29af85(0x412)in _0x1b6769)return new DrivenDataDetailPlusV2(_0x1b6769);return new DrivenDataDetailPlusV1(_0x1b6769);}function isPlusV2Instance(_0x464010){const _0x1c7105=a0_0xf68f23;return _0x464010[_0x1c7105(0x392)]()==='v2';}function isPlusV1Instance(_0x6c0979){const _0x3902f0=a0_0xf68f23;return _0x6c0979[_0x3902f0(0x392)]()==='v1';}var VERSION=a0_0xf68f23(0x3c1);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
1
+ const a0_0x59051e=a0_0x4dcf;(function(_0x3eaf24,_0x33c6a6){const _0xe6d086=a0_0x4dcf,_0x359923=_0x3eaf24();while(!![]){try{const _0xc9fb74=-parseInt(_0xe6d086(0x20b))/0x1+parseInt(_0xe6d086(0x260))/0x2*(-parseInt(_0xe6d086(0x422))/0x3)+-parseInt(_0xe6d086(0x36e))/0x4+parseInt(_0xe6d086(0x355))/0x5*(-parseInt(_0xe6d086(0x39c))/0x6)+-parseInt(_0xe6d086(0x35b))/0x7+parseInt(_0xe6d086(0x2a6))/0x8*(parseInt(_0xe6d086(0x413))/0x9)+parseInt(_0xe6d086(0x28a))/0xa*(parseInt(_0xe6d086(0x1db))/0xb);if(_0xc9fb74===_0x33c6a6)break;else _0x359923['push'](_0x359923['shift']());}catch(_0x54ab69){_0x359923['push'](_0x359923['shift']());}}}(a0_0x33e0,0xc3fb2));function toCamelCase(_0x4a63b0){const _0x4a9883=a0_0x4dcf;if(!_0x4a63b0)return'';return _0x4a63b0[_0x4a9883(0x2c5)](/[_-]/)[_0x4a9883(0x390)]((_0x136147,_0x5e4967)=>{const _0x48f0c4=_0x4a9883;if(_0x5e4967===0x0)return _0x136147['toLowerCase']();return _0x136147[_0x48f0c4(0x24b)](0x0)[_0x48f0c4(0x40a)]()+_0x136147[_0x48f0c4(0x313)](0x1)[_0x48f0c4(0x3e6)]();})[_0x4a9883(0x2f5)]('');}function toPascalCase(_0x4d51fd){const _0x1de735=a0_0x4dcf;if(!_0x4d51fd)return'';const _0x156000=toCamelCase(_0x4d51fd);return _0x156000[_0x1de735(0x24b)](0x0)[_0x1de735(0x40a)]()+_0x156000['slice'](0x1);}function toSnakeCase(_0x528b4a){const _0xe02a9d=a0_0x4dcf;if(!_0x528b4a)return'';return _0x528b4a[_0xe02a9d(0x210)](/([A-Z])/g,_0xe02a9d(0x344))[_0xe02a9d(0x3e6)]()[_0xe02a9d(0x210)](/^_/,'');}function toKebabCase(_0x20e108){const _0x3dc387=a0_0x4dcf;if(!_0x20e108)return'';return _0x20e108['replace'](/([A-Z])/g,'-$1')[_0x3dc387(0x3e6)]()['replace'](/^-/,'');}function normalizeFieldName(_0x2a750e){const _0x14b154=a0_0x4dcf;if(!_0x2a750e)return'';return _0x2a750e[_0x14b154(0x242)]()['replace'](/\s+/g,'_')[_0x14b154(0x210)](/[^a-zA-Z0-9_]/g,'_')[_0x14b154(0x210)](/_+/g,'_')[_0x14b154(0x210)](/^_|_$/g,'');}function getTableName(_0x4a3d27){const _0x5a8e72=a0_0x4dcf;if(!_0x4a3d27)return _0x5a8e72(0x46a);if(_0x4a3d27[_0x5a8e72(0x36c)]?.[_0x5a8e72(0x424)])return _0x4a3d27[_0x5a8e72(0x36c)][_0x5a8e72(0x424)];const _0x277d60=_0x4a3d27[_0x5a8e72(0x43e)]||_0x4a3d27[_0x5a8e72(0x1cb)]||_0x4a3d27[_0x5a8e72(0x1cd)];if(_0x277d60)return generateTableNameFromCode(_0x277d60);return _0x5a8e72(0x46a);}function a0_0x4dcf(_0x24adad,_0x41f7bb){_0x24adad=_0x24adad-0x1ae;const _0x33e022=a0_0x33e0();let _0x4dcf07=_0x33e022[_0x24adad];return _0x4dcf07;}function getTableKey(_0x1dbb40){const _0x41bfb8=a0_0x4dcf;if(typeof _0x1dbb40===_0x41bfb8(0x236))return toCamelCase(_0x1dbb40);const _0x49bdbf=getTableName(_0x1dbb40);return toCamelCase(_0x49bdbf);}function generateTableNameFromCode(_0x21cd7a){const _0x5bda17=a0_0x4dcf;if(!_0x21cd7a)return _0x5bda17(0x46a);const _0x54755e=_0x21cd7a[_0x5bda17(0x313)](-0x6)[_0x5bda17(0x310)](0x6,'0');return _0x5bda17(0x3d8)+_0x54755e;}function isVirtualTableName(_0x427fa3){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x427fa3);}function generateModelKeyFromCode(_0x216ca3){const _0x64ce5f=a0_0x4dcf;if(!_0x216ca3)return _0x64ce5f(0x2df);return _0x64ce5f(0x3d8)+_0x216ca3;}function getDbName(_0x7657f0){const _0x32e5c0=a0_0x4dcf;return _0x7657f0[_0x32e5c0(0x36c)]?.[_0x32e5c0(0x2be)]||_0x7657f0[_0x32e5c0(0x36c)]?.[_0x32e5c0(0x448)]?.[_0x32e5c0(0x2be)]||'';}function generateDatasetsConfig(_0x19ccc6,_0x268473={}){const _0x160529=a0_0x4dcf,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x2963f7,filter:_0x360397}=_0x268473,_0x35ace5=_0x360397?_0x19ccc6[_0x160529(0x3a8)](_0x360397):_0x19ccc6,_0x3d9208=new Map();for(const _0x22f45c of _0x35ace5){const _0x5dc2d3=getTableName(_0x22f45c),_0x4efa9a=getDbName(_0x22f45c);!_0x3d9208['has'](_0x5dc2d3)&&_0x3d9208[_0x160529(0x380)](_0x5dc2d3,new Set()),_0x3d9208['get'](_0x5dc2d3)[_0x160529(0x394)](_0x4efa9a);}const _0x5eac4d=new Set();for(const [_0x17ba30,_0x19cf39]of _0x3d9208){_0x19cf39['size']>0x1&&_0x5eac4d[_0x160529(0x394)](_0x17ba30);}const _0x98bcac={},_0x5134c1=new Set();for(const _0x27dffd of _0x35ace5){const _0x45af72=getTableName(_0x27dffd);if(enableDeduplication&&_0x5134c1[_0x160529(0x370)](_0x45af72)){console[_0x160529(0x24e)](_0x160529(0x44c)+_0x45af72+_0x160529(0x3f3)+_0x27dffd[_0x160529(0x2e6)]+'\x20('+_0x27dffd[_0x160529(0x43e)]+')');continue;}_0x5134c1[_0x160529(0x394)](_0x45af72);const _0x2c8e58=_0x2963f7?_0x2963f7(_0x45af72,_0x27dffd):getTableKey(_0x45af72),_0x57de8f=getDbName(_0x27dffd),_0x45183c=_0x5eac4d['has'](_0x45af72)&&_0x57de8f?getTableKey(_0x57de8f)+'_'+_0x2c8e58:_0x2c8e58;_0x98bcac[_0x2c8e58]={'key':_0x2c8e58,'alias':_0x45183c,'tableName':_0x45af72,'datasetCode':_0x27dffd[_0x160529(0x43e)],'name':_0x27dffd[_0x160529(0x2e6)],'id':_0x27dffd['id'],'dbName':_0x57de8f};}return _0x98bcac;}function generateFullDatasetsConfig(_0x2cc9db,_0x472a7b={}){const _0x43529c=a0_0x4dcf,{filter:_0x3ecf63,datasetNameGenerator:_0x1c3be7}=_0x472a7b,_0x498d65=_0x3ecf63?_0x2cc9db[_0x43529c(0x3a8)](_0x3ecf63):_0x2cc9db,_0xdac48d=new Map();for(const _0x340824 of _0x498d65){const _0x79ad9a=getTableName(_0x340824),_0x24e9c9=getDbName(_0x340824);!_0xdac48d[_0x43529c(0x370)](_0x79ad9a)&&_0xdac48d['set'](_0x79ad9a,new Set()),_0xdac48d['get'](_0x79ad9a)[_0x43529c(0x394)](_0x24e9c9);}const _0xe63f49=new Set();for(const [_0x2e5819,_0x34046e]of _0xdac48d){_0x34046e[_0x43529c(0x203)]>0x1&&_0xe63f49['add'](_0x2e5819);}const _0x18fb03=groupByTableName(_0x498d65),_0x2627d3={};for(const [_0x270325,_0x38b7e0]of Object['entries'](_0x18fb03)){if(_0x38b7e0[_0x43529c(0x32e)]===0x1){const _0x2f4412=_0x38b7e0[0x0],_0x207968=_0x1c3be7?_0x1c3be7(_0x270325,_0x2f4412):getTableKey(_0x270325),_0x5aeb4d=getDbName(_0x2f4412),_0x28cfbe=_0xe63f49[_0x43529c(0x370)](_0x270325)&&_0x5aeb4d?getTableKey(_0x5aeb4d)+'_'+_0x207968:_0x207968;_0x2627d3[_0x207968]={'key':_0x207968,'alias':_0x28cfbe,'tableName':_0x270325,'datasetCode':_0x2f4412[_0x43529c(0x43e)],'name':_0x2f4412[_0x43529c(0x2e6)],'id':_0x2f4412['id'],'dbName':_0x5aeb4d};}else{const _0x4473a2=[..._0x38b7e0][_0x43529c(0x33a)]((_0xbeed08,_0x112d2a)=>{const _0x44c80c=Number(_0xbeed08['id'])||0x0,_0x9bb708=Number(_0x112d2a['id'])||0x0;return _0x9bb708-_0x44c80c;});_0x4473a2['forEach']((_0x2b0568,_0x3f5bf8)=>{const _0x5f323b=_0x43529c,_0x9d6097=_0x1c3be7?_0x1c3be7(_0x270325,_0x2b0568):getTableKey(_0x270325),_0x4c85bf=_0x3f5bf8===0x0?_0x9d6097:_0x9d6097+'_'+_0x3f5bf8,_0x6ae23=getDbName(_0x2b0568),_0x2c47f6=_0xe63f49[_0x5f323b(0x370)](_0x270325)&&_0x6ae23?getTableKey(_0x6ae23)+'_'+_0x4c85bf:_0x4c85bf;_0x2627d3[_0x4c85bf]={'key':_0x4c85bf,'alias':_0x2c47f6,'tableName':_0x270325,'datasetCode':_0x2b0568[_0x5f323b(0x43e)],'name':_0x2b0568[_0x5f323b(0x2e6)],'id':_0x2b0568['id'],'dbName':_0x6ae23};});}}return _0x2627d3;}function detectTableNameConflicts(_0x37ee2b){const _0xe54747=a0_0x4dcf,_0x524243={};for(const _0x29a80c of _0x37ee2b){const _0x3ce29e=getTableName(_0x29a80c);!_0x524243[_0x3ce29e]&&(_0x524243[_0x3ce29e]=[]),_0x524243[_0x3ce29e][_0xe54747(0x276)](_0x29a80c);}const _0x39b72d={};for(const [_0x583292,_0x181c7a]of Object[_0xe54747(0x3f5)](_0x524243)){_0x181c7a[_0xe54747(0x32e)]>0x1&&(_0x39b72d[_0x583292]=_0x181c7a);}return{'hasConflicts':Object[_0xe54747(0x3ba)](_0x39b72d)[_0xe54747(0x32e)]>0x0,'conflicts':_0x39b72d};}function createDatasetNameMap(_0x1ffb0e){const _0x1d0f68=a0_0x4dcf,_0x28801b={};for(const [_0x26d970,_0x379787]of Object['entries'](_0x1ffb0e)){_0x28801b[_0x26d970]=_0x379787[_0x1d0f68(0x43e)]||'';}return _0x28801b;}function groupByTableName(_0x2d0ba2){const _0x26a742=a0_0x4dcf,_0x37763a={};for(const _0x4d98ee of _0x2d0ba2){const _0x2e8c83=getTableName(_0x4d98ee);!_0x37763a[_0x2e8c83]&&(_0x37763a[_0x2e8c83]=[]),_0x37763a[_0x2e8c83][_0x26a742(0x276)](_0x4d98ee);}return _0x37763a;}function datasetsConfigToArray(_0x748f18){const _0x38990c=a0_0x4dcf;return Object[_0x38990c(0x34f)](_0x748f18);}function adaptDrivenDataDetail(_0xf6c707){const _0x3c46d3=a0_0x4dcf,_0x4fbef8={};return _0x4fbef8['id']=_0xf6c707[_0x3c46d3(0x425)],_0x4fbef8[_0x3c46d3(0x2e6)]=_0xf6c707[_0x3c46d3(0x2e6)],_0x4fbef8['datasetCode']=_0xf6c707['modelCode'],_0x4fbef8[_0x3c46d3(0x36c)]=_0xf6c707[_0x3c46d3(0x36c)],_0x4fbef8[_0x3c46d3(0x400)]=_0xf6c707[_0x3c46d3(0x400)],_0x4fbef8[_0x3c46d3(0x415)]=_0xf6c707[_0x3c46d3(0x415)],_0x4fbef8[_0x3c46d3(0x293)]=_0xf6c707[_0x3c46d3(0x293)],_0x4fbef8[_0x3c46d3(0x376)]=_0xf6c707[_0x3c46d3(0x376)],_0x4fbef8['operations']=_0xf6c707['operations'],_0x4fbef8;}function adaptDrivenDataDetails(_0x25c31c){const _0x5e3643=a0_0x4dcf;return _0x25c31c[_0x5e3643(0x390)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x1c5682){const _0x31a732=a0_0x4dcf;if(!_0x1c5682['success']||!_0x1c5682[_0x31a732(0x316)])throw new Error(_0x31a732(0x259)+(_0x1c5682[_0x31a732(0x2e1)]||_0x1c5682['msg']));return adaptDrivenDataDetail(_0x1c5682[_0x31a732(0x316)]);}function extractDatasetsFromListResponse(_0x52b57f){const _0x56d64e=a0_0x4dcf;if(!_0x52b57f[_0x56d64e(0x305)]||!_0x52b57f[_0x56d64e(0x316)]?.[_0x56d64e(0x465)])throw new Error(_0x56d64e(0x284)+(_0x52b57f[_0x56d64e(0x2e1)]||_0x52b57f[_0x56d64e(0x44d)]));return _0x52b57f['data'][_0x56d64e(0x465)][_0x56d64e(0x390)](_0x5ed214=>({..._0x5ed214,'datasetCode':_0x5ed214['code']||_0x5ed214[_0x56d64e(0x43e)]}));}function isDrivenDataDetail(_0x582b05){return Boolean(_0x582b05&&typeof _0x582b05['modelCode']==='string');}function smartAdapt(_0x46dcbd){const _0x19f991=a0_0x4dcf;if(isDrivenDataDetail(_0x46dcbd))return adaptDrivenDataDetail(_0x46dcbd);if(_0x46dcbd[_0x19f991(0x43e)])return _0x46dcbd;if(_0x46dcbd[_0x19f991(0x1cb)]){const _0x2f4ac0={..._0x46dcbd};return _0x2f4ac0[_0x19f991(0x43e)]=_0x46dcbd[_0x19f991(0x1cb)],_0x2f4ac0;}return _0x46dcbd;}function cleanNewlines(_0x14b698){const _0x198958=a0_0x4dcf;return _0x14b698[_0x198958(0x210)](/[\r\n]+/g,'\x20')[_0x198958(0x242)]();}function cleanDatasetName(_0xa71977){const _0x4b5c0e=a0_0x4dcf;if(!_0xa71977[_0x4b5c0e(0x2e6)])return _0xa71977;return{..._0xa71977,'name':cleanNewlines(_0xa71977[_0x4b5c0e(0x2e6)])};}function cleanDatasetNames(_0x39e1f2){const _0x178f33=a0_0x4dcf;return _0x39e1f2[_0x178f33(0x390)](cleanDatasetName);}var DatasetOperationType;(_0x1179a9=>{const _0xabd517=a0_0x4dcf;_0x1179a9['FILTER']='filter',_0x1179a9[_0xabd517(0x46d)]=_0xabd517(0x339),_0x1179a9[_0xabd517(0x464)]=_0xabd517(0x353),_0x1179a9['GET_ONE_ORIGIN']=_0xabd517(0x220),_0x1179a9[_0xabd517(0x3cf)]=_0xabd517(0x1b0),_0x1179a9[_0xabd517(0x1e7)]='create',_0x1179a9['BATCH_CREATE']=_0xabd517(0x3a6),_0x1179a9[_0xabd517(0x333)]=_0xabd517(0x234),_0x1179a9[_0xabd517(0x409)]=_0xabd517(0x28d),_0x1179a9[_0xabd517(0x2f4)]='getSelectOptions',_0x1179a9[_0xabd517(0x304)]=_0xabd517(0x332),_0x1179a9['EXCEL_EXPORT']=_0xabd517(0x33d),_0x1179a9[_0xabd517(0x389)]=_0xabd517(0x27a),_0x1179a9[_0xabd517(0x1c1)]='createImport',_0x1179a9[_0xabd517(0x3d5)]=_0xabd517(0x3a5),_0x1179a9[_0xabd517(0x44f)]='aggregate',_0x1179a9[_0xabd517(0x2e4)]=_0xabd517(0x456),_0x1179a9[_0xabd517(0x1d6)]=_0xabd517(0x45d);})(DatasetOperationType||={});const a0_0xb5ff3c={};a0_0xb5ff3c[a0_0x59051e(0x3a8)]=a0_0x59051e(0x442),a0_0xb5ff3c['getList']=a0_0x59051e(0x42d),a0_0xb5ff3c[a0_0x59051e(0x353)]='查询单条',a0_0xb5ff3c[a0_0x59051e(0x220)]=a0_0x59051e(0x37b),a0_0xb5ff3c['getOneUpdate']=a0_0x59051e(0x270),a0_0xb5ff3c[a0_0x59051e(0x382)]='创建',a0_0xb5ff3c[a0_0x59051e(0x3a6)]=a0_0x59051e(0x45e),a0_0xb5ff3c[a0_0x59051e(0x234)]='更新',a0_0xb5ff3c['delete']='删除',a0_0xb5ff3c[a0_0x59051e(0x238)]='获取下拉选项',a0_0xb5ff3c['getFileUrl']='获取文件URL',a0_0xb5ff3c[a0_0x59051e(0x33d)]=a0_0x59051e(0x1f5),a0_0xb5ff3c[a0_0x59051e(0x27a)]=a0_0x59051e(0x1d1),a0_0xb5ff3c['createImport']=a0_0x59051e(0x2bc),a0_0xb5ff3c[a0_0x59051e(0x3a5)]='创建导出',a0_0xb5ff3c['aggregate']=a0_0x59051e(0x1f8),a0_0xb5ff3c['taskInfo']=a0_0x59051e(0x3ad),a0_0xb5ff3c['importTemplate']=a0_0x59051e(0x1e9);var OPERATION_TYPE_DISPLAY_NAME=a0_0xb5ff3c,API_BLACKLIST=['getList',a0_0x59051e(0x220),a0_0x59051e(0x1b0),'getFileUrl'];function parseFieldExtend(_0x232c7b){const _0x18ca8f=a0_0x59051e;if(!_0x232c7b||typeof _0x232c7b!==_0x18ca8f(0x434))return!![]&&console[_0x18ca8f(0x24e)](_0x18ca8f(0x2b7),_0x232c7b),{};if(!_0x232c7b[_0x18ca8f(0x293)])return{};try{const _0x112b63=typeof _0x232c7b[_0x18ca8f(0x293)]==='string'?JSON[_0x18ca8f(0x1ae)](_0x232c7b[_0x18ca8f(0x293)]):_0x232c7b[_0x18ca8f(0x293)];if(typeof _0x112b63!=='object'||_0x112b63===null)return{};return _0x112b63;}catch{return{};}}function isPrimaryKeyField(_0x1c5263,_0x4e58ee){const _0x31f6ba=a0_0x59051e;if(!_0x1c5263||typeof _0x1c5263!==_0x31f6ba(0x434))return![];if(typeof _0x4e58ee===_0x31f6ba(0x236)&&_0x1c5263['code']===_0x4e58ee)return!![];const _0x4885ea=parseFieldExtend(_0x1c5263);return Boolean(_0x4885ea['primaryKey']||_0x4885ea[_0x31f6ba(0x46c)]);}function isSystemField(_0x493914){const _0x43aedc=parseFieldExtend(_0x493914);return Boolean(_0x43aedc['systemRetain']);}function isRequiredField(_0x2ea5d0){const _0x4ea8cd=a0_0x59051e,_0x9629af=parseFieldExtend(_0x2ea5d0);return Boolean(_0x9629af[_0x4ea8cd(0x2d3)]);}function isAutoIncrementField(_0x5ea87c){const _0x3c390c=a0_0x59051e,_0x33d569=parseFieldExtend(_0x5ea87c);return Boolean(_0x33d569[_0x3c390c(0x312)]);}function isCreateTimeField(_0x2e2055){const _0xf0426c=a0_0x59051e,_0x55e4e2=parseFieldExtend(_0x2e2055);return Boolean(_0x55e4e2[_0xf0426c(0x218)]);}function isModifyTimeField(_0xfe41d1){const _0x1baa32=a0_0x59051e,_0x19b9e8=parseFieldExtend(_0xfe41d1);return Boolean(_0x19b9e8[_0x1baa32(0x3b4)]);}const a0_0x27d32f={};a0_0x27d32f['NUMBER']='数字',a0_0x27d32f[a0_0x59051e(0x3fe)]='文本',a0_0x27d32f[a0_0x59051e(0x257)]=a0_0x59051e(0x37d),a0_0x27d32f[a0_0x59051e(0x23c)]='日期',a0_0x27d32f['DATETIME']='日期时间',a0_0x27d32f['TIMESTAMP']=a0_0x59051e(0x1e5),a0_0x27d32f[a0_0x59051e(0x283)]='下拉选择',a0_0x27d32f[a0_0x59051e(0x3e4)]='多选',a0_0x27d32f['RADIO']='单选',a0_0x27d32f[a0_0x59051e(0x224)]='开关',a0_0x27d32f[a0_0x59051e(0x1fd)]=a0_0x59051e(0x41d),a0_0x27d32f[a0_0x59051e(0x1ef)]='图片',a0_0x27d32f[a0_0x59051e(0x41a)]='富文本',a0_0x27d32f['JSON']=a0_0x59051e(0x29d),a0_0x27d32f[a0_0x59051e(0x449)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x27d32f;function getDbTypeDisplay(_0x5c6180){const _0x3de1de=a0_0x59051e;if(typeof _0x5c6180!==_0x3de1de(0x236))return!![]&&console[_0x3de1de(0x24e)](_0x3de1de(0x247),_0x5c6180),String(_0x5c6180||'-');return DB_TYPE_DISPLAY_MAP[_0x5c6180]||_0x5c6180;}function formatDbType(_0x25a4e5,_0x25b815){const _0xf5728e=a0_0x59051e;if(!_0x25a4e5||typeof _0x25a4e5!==_0xf5728e(0x236))return'-';if(!_0x25b815||typeof _0x25b815!==_0xf5728e(0x29a))return _0x25a4e5;const _0xd36e33=[_0xf5728e(0x3fe),_0xf5728e(0x1da),_0xf5728e(0x1fa),'DATE'];if(_0xd36e33[_0xf5728e(0x439)](_0x25a4e5['toUpperCase']()))return _0x25a4e5;return _0x25a4e5+'('+_0x25b815+')';}function parseOperationType(_0x312ffe){const _0x43c713=a0_0x59051e;if(typeof _0x312ffe!=='string'){!![]&&console[_0x43c713(0x24e)](_0x43c713(0x1cf),_0x312ffe);return;}if(Object[_0x43c713(0x34f)](DatasetOperationType)[_0x43c713(0x439)](_0x312ffe))return _0x312ffe;const _0x3de10d=Object[_0x43c713(0x3f5)](OPERATION_TYPE_DISPLAY_NAME)[_0x43c713(0x42e)](([_0x5f56cc,_0xe811ca])=>_0xe811ca===_0x312ffe);return _0x3de10d?_0x3de10d[0x0]:undefined;}function shouldIncludeField(_0x1b69e6,_0x51f074,_0x19119a){const _0x3cd60b=a0_0x59051e,_0x257781=parseFieldExtend(_0x1b69e6),_0x51015a=isPrimaryKeyField(_0x1b69e6,_0x19119a),_0x36fc90=Boolean(_0x257781[_0x3cd60b(0x426)]),_0x6331b=Boolean(_0x257781[_0x3cd60b(0x312)]),_0x330ef4=Boolean(_0x257781['createDate']),_0x504d2e=Boolean(_0x257781[_0x3cd60b(0x3b4)]);switch(_0x51f074){case'filter':case _0x3cd60b(0x339):case'aggregate':return!![];case _0x3cd60b(0x353):case _0x3cd60b(0x220):case _0x3cd60b(0x28d):return _0x51015a;case _0x3cd60b(0x382):case _0x3cd60b(0x3a6):if(_0x51015a&&_0x6331b)return![];if(_0x36fc90)return![];if(_0x330ef4||_0x504d2e)return![];return!![];case _0x3cd60b(0x234):case _0x3cd60b(0x1b0):if(_0x51015a)return!![];if(_0x36fc90)return![];if(_0x330ef4||_0x504d2e)return![];return!![];case'getSelectOptions':return _0x1b69e6['code']===_0x3cd60b(0x1cb);default:return!![];}}function a0_0x33e0(){const _0x395c83=['value1','dataset_unknown','isArray','errorMsg','字段名称','getTableKey','TASK_INFO','modifierNameField','name','getUpdateTime','_fieldListV1WithDeleted','getId','item2','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','();\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}','getEnabledNames','getRelations','getTableName','pageSize','`:\x20','from','toArray','GET_SELECT_OPTIONS','join','getDbTypeForOperation','datasetInfo','getOperationStats','method','some','getFieldDisplayName','getTooltip','$contain','getFieldsFilterOperatorsMap','useFullExample','status','getIds','getFilterOperators','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','GET_FILE_URL','success','bind','children','getDBConfig','generateExampleValue','avg','getOperationAnalysesByType','findByName','-\x20主键ID,用于定位要更新的记录\x0a\x0a','DrivenDataDetail(','email','padStart','toListItem','autoIncrement','slice','createFields','prefix','data','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','分组字段列表','index','isEnum','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','当前页码(可选)','getApplicableOperators','$eq','generateFromSchema','getEnum','getType','https://example.com/image.jpg','array','getOperationsOverviewData','getCountByType','selectItemsSource','includeUsageExample','value2','host','##\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','sum','2024-12-31','min','length','getAppCode','suffix','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','getFileUrl','UPDATE','$lteq','operationCount','getEnumMeta','round','_operations','getList','sort','max','getCountByMethod','excelExport','_sum','_datasetMap','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','_fieldListWithDeleted','getDefaultValue','FieldV2(','_$1','toJSON','getExtendField','getEnumValues','systemAnalysisResult','getFieldType','DESC','toDatasetName','mapDbTypeToType','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','businessFieldCount','values','getItems','FieldList(','\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','getOne','getMissingCRUDOperations','1345OiEzky','parseRawRequestBody','sortOperationsWithFilterFirst','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','valueLabels','conflictItemCount','9683779zTIOVe','doVersion','getFieldOptions','SDK\x20调用示例(两参数格式)','请求示例','getDatabaseType','INT','getByType','fieldName','getOldest','Operation\x20not\x20found:\x20','generateDefaultFilterOperation','getFieldCount','toField','2.0','getCreateTime','Array','dbtableConfig','requestBody','1332260lajfRS','getSystem','has','getOperationAnalyses','items',',\x20...\x20});','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','properties','path','getFieldList','getFieldsByType','排序规则','查询单条(原始)','FLOAT','长文本','_operationAnalyses','toISOString','set','SMALLINT','create','repeat','findById','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','generateRequestAllExamples','_fieldListV2','getRequestParamsDocInfo','GET_UPLOAD_FILE_SCRIPT','generateResponseExample','$gteq','isSystem','fullUrl','_requestExampleCache','isOperationEnabled','map','\x20relations,\x20','\x20items,\x20','toDatasetId','add','getField','DbtableConfig(table:\x20','Object[]','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getModelAlias','function','Field(','2874dHbBpa','getLatestDatasets','getCode','FILE','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','hasDblinkInfo','getOperationDocMeta','isMultipleSelect','isPrimaryKey','createExport','batchCreate','no\x20conflicts','filter','getInternalInstance','API路径','tableColumns','$lte','任务信息','getFieldsWithDeleted','(id);','_min','errorCode','createAll','isEnabled','modifyDate','createTime','isAutoIncrement','groupByType','_extend','getConflictingItems','keys','isPrimaryKeyField','keyword','主键ID(必填)','GET','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','String[]','isEmpty','数组查询(支持多选)','接口名称','单值查询','creatorNameField','prototype','isDeleted','toString','\x20operation','relations','getFieldDefinition','这是一段较长的文本内容示例','getFields','\x20indexes)','GET_ONE_UPDATE','getForeignKeyFields','$in','getFilteredOperationAnalyses','分组后的过滤条件(对聚合结果进行过滤)','enumValues','CREATE_EXPORT',',\x20fields:\x20','getFirst','dataset_','CHAR','labelField','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','dataIndex','getFieldListWithDeleted','2024-01-01','getFieldFilterOperators','generateHTTPExample','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','TIME','\x20groups,\x20','CHECKBOX','toObject','toLowerCase','\x5c}\x5c}','_fieldListV1','desc','sortNum','modifierIdField','当前页码','conflictGroupCount','const\x20data\x20=\x20await\x20client.models.','每页条数','getConflictStats','TINYINT','getDisabledOperations','\x22,数据集:\x20','getOperationsData','entries','having','generateHTTPRequestExample','hasCreateTimeField','HTTP\x20直接调用时使用平铺格式:\x0a','raw','columnName','updateTimeField','getDisabledNames','TEXT','parseRawResponseBody','source','datasetMap','generateUsageExample','initDataset','getFieldsV2','getIndexes','BIT','ensureFilterOperation','示例值','DELETE','toUpperCase','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','getDisplayName','hasConflicts','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','hasResponseSchema','_instance','要更新的字段数据对象','getTenantCode','9LawQta','getFieldDataSource','version','hasModifierIdField','getRaw','\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','getStats','RICH_TEXT','default','Integer','文件上传','Invalid\x20API\x20response:\x20success\x20is\x20false','(支持单值或数组)','dbId','getRelationsByField','458259QOtVFK','isVirtualTable','tableName','modelId','systemRetain','generateFieldExample','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','OperationList(','generateSDKInitCode','isMultipleSelectField','currentPage','查询列表','find','logicField','generateSingleValueExample','[Field]\x20Invalid\x20field\x20definition','generateConfig','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','object','getUpdateFields','LONGBLOB','getFieldOperators','getRequired','includes','column','value','\x20operations)','getDeleted','datasetCode','getDisabledOperationInstances','datasetId','enabled','筛选查询','getResponseParamsDocInfo','INTEGER','getEnabledOperationAnalyses','getLatest','DECIMAL','dblinkInfoDTO','ARRAY','deleted','$ne','[dsparser]\x20跳过重复的表名\x20\x22','msg','getDatasetDocMeta','AGGREGATE','getOperations','createTimeField','defaultValue','getAllDatasets','isEnumField','isSystemField','taskInfo','\x20operations,\x20','getAggregates','primaryKey','responseSchema','displayName','env','importTemplate','批量创建','LONGTEXT','操作名称','select','BOOL','fieldCode','GET_ONE','tableData','$and','getFieldSelectItemsSource','every','getFieldRaw','dataset_000000','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','pkField','GET_LIST','getOperation','-\x20`','isBusiness','字段编码','parse','DrivenDataDetailPlus(','getOneUpdate','includeDeleted','getEnabled','aggregate','getEnabledOperationInstances','field_name','usageExample','creatorIdField','updateTime','findByCode','groupByTableName','主键ID','hasCreatorIdField','operations','getFieldCode','distinct','排序规则(与\x20Filter\x20API\x20一致)','CREATE_IMPORT','requestFields','getEnumFieldMeta','getMethod','getEnumFields','getGroupedParams','update\x20接口接受两个参数:\x0a\x0a','\x20groups)','getCodes','stringify','code','isNumericField','modelCode','generateAllOperationsSummary','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getFilterOperation','获取上传脚本','getFilteredOperations','appCode','getName','_operationList','IMPORT_TEMPLATE','daily','getActive','condition','DATETIME','43957045SLHAeP','DrivenDataDetailPlusV2(','getDbName','-\x20其他要更新的字段直接平铺在同一层级','supportsCRUD','multiple','\x20的\x20extend\x20配置失败:','聚合函数配置数组','hasRelation','toTableName','时间戳','getFieldListV2','CREATE','generateSDKCallCode','导入模板','(实际字段:','DatasetGroup(','({\x20','generateAllOperationsFullSDKExample','generateAliasExplanation','IMAGE','totalCount','getConflicts','description','getSDKInitData','precision','Excel导出','context','where','聚合查询','getEnabledOperations','TIMESTAMP','demo-app','支持单值或数组','UPLOAD','hasConflict','-\x20主键使用\x20`id`\x20字段\x0a','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','getOperationOperators','orderBy','size','getRequestFields','generateFullSDKExample','getCount','successCode','fields','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getSystemFields','1503994SdfWHi','getHTTPFields','isUpdateTime','getBusinessFields','getAt','replace','datasetName','_relations','generateRequestExample','getOperationCount','每页数量(可选)','每页数量','getDatabaseName','createDate','POST','item1','random','getFullUrl','hasLogicField','\x20API\x20文档','BOOLEAN','getOneOrigin','getAll','BIGINT','fromApiResponse','SWITCH','includeDisabled','操作成功','getFieldInstance','返回字段列表(字段投影)','DatasetItem(','tableKey','getEnumMetas','\x20items,\x20conflict,\x20latest:\x20','200','(id,\x20data);','hasField','toFieldDefinition','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','$or','now','update','groupBy','string','Filter\x20API\x20-\x20高级查询接口','getSelectOptions','getSource','聚合函数配置数组(type:\x20sum/count/avg/max/min)','hasUpdateTimeField','DATE','systemFieldCount','validateEnumValue','getRealTables','label','isRequired','trim','查询单个条件','generateConfigArray','online','forEach','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','String','getVirtualTables','hasFilterOperation','charAt','toConfig','getAllFieldsArray','warn','total_count','datasetKey','dbTypeLen','getEnumFieldsMeta','SDK\x20调用时传递两个参数:\x0a','getOperationAnalysis','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','count','TEXTAREA','dbVersion','获取数据集失败:\x20','yourModel','**可更新的字段列表:**','options','getPath','dataset','getModelName','6VCmaee','_raw','$startWith','查询条件(支持\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)',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getVersion','0000','$endWith','getSelectItemsSource','getBusiness','findByTableName','hasTableName','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','getPrimaryKeyFields','null','查询单条(用于更新)','isFieldPrimaryKey','all','支持多个条件','_datasetMeta','placeholder','push','fieldCount','<!--\x5cs*CONDITION:\x5cs*','\x20fields,\x20','getUploadFileScript','\x20fields)','getDatasetSDKKey','includeRequestExample','customFilter','getPrimaryKeys','type','paging','detectConflicts','SELECT','获取数据集列表失败:\x20','toFullConfig','STRING','[generateRequestExample]\x20Invalid\x20field:','getEnumOptions','getNames','10hZgJvp','getOperationFieldsOperatorsMap','withDeleted','delete','const\x20fileUrl\x20=\x20await\x20client.models.','tenantCode','$gte','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','totalGroups','extend','const\x20result\x20=\x20await\x20client.models.','getOperators','北京市朝阳区','sdkCall','getDatasetMeta','DOUBLE','number','\x20operations,\x20v1)','getRelatedDataset','JSON','_fields','forceVersion','系统自动生成','getOperationList','responseBody','RADIO','title','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','4913672TIdNON','sdkCallCode','get','getRawDbtableConfig','VARCHAR','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','selectBestOperator','groups','isCreateTime','FieldListV2(','//\x20','getOperationFieldOperators','filterBlacklist','iterator','getRequiredFields','useArrayValues','BLOB','[parseFieldExtend]\x20Invalid\x20field:','total','generateOperationSummary','getHTTPRequestParamsDocInfo','({\x20code,\x20label\x20});','创建导入','解析\x20requestBody\x20失败:','dbName','allFields','/filter','doType','getOperationRequestFields','Number','fromField','split','Object','getDisabled','alias','getFieldName','DatasetList(','getUpdatableFields','hasOperation','isRequiredField','getRequestParams','params','getAutoIncrement','getResponseSchema','dbType','required','query','getFieldDescription','NUMBER','FieldV1(','getDatabaseVersion','getPkField','getAllParams','_fieldList','empty','getDOType'];a0_0x33e0=function(){return _0x395c83;};return a0_0x33e0();}function getFieldsForOperation(_0x38ad3e,_0x550845,_0x10528f){const _0x512691=a0_0x59051e;if(!Array[_0x512691(0x2e0)](_0x38ad3e))return!![]&&console[_0x512691(0x24e)](_0x512691(0x385),_0x38ad3e),[];return _0x38ad3e[_0x512691(0x3a8)](_0x58ecf5=>shouldIncludeField(_0x58ecf5,_0x550845,_0x10528f));}function isApiBlacklisted(_0x3fc9c3){const _0xdc8674=a0_0x59051e;if(typeof _0x3fc9c3!==_0xdc8674(0x236))return!![]&&console[_0xdc8674(0x24e)]('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0x3fc9c3),![];return API_BLACKLIST['includes'](_0x3fc9c3);}function filterApiOperations(_0x367cb2){const _0x32eafd=a0_0x59051e;if(!Array[_0x32eafd(0x2e0)](_0x367cb2))return!![]&&console['warn']('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x367cb2),[];return _0x367cb2['filter'](_0x4d7c15=>_0x4d7c15&&typeof _0x4d7c15===_0x32eafd(0x434)&&!isApiBlacklisted(_0x4d7c15[_0x32eafd(0x2e6)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x59051e(0x233)](),'DATE':()=>Date[a0_0x59051e(0x233)](),'SELECT':({fieldInfo:_0x40e244})=>{const _0xbac1bc=a0_0x59051e;if(_0x40e244?.[_0xbac1bc(0x25c)]&&Array[_0xbac1bc(0x2e0)](_0x40e244[_0xbac1bc(0x25c)])&&_0x40e244['options']['length']>0x0)return _0x40e244[_0xbac1bc(0x25c)][0x0][_0xbac1bc(0x43b)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x36b17d})=>{const _0x492300=a0_0x59051e;if(_0x36b17d===_0x492300(0x42c))return 0x1;if(_0x36b17d==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0xfb5e5e})=>{const _0x209ee5=a0_0x59051e;if(_0xfb5e5e&&typeof _0xfb5e5e==='string'){const _0x22ea7d=_0xfb5e5e['toLowerCase']();if(_0x22ea7d[_0x209ee5(0x439)]('邮箱')||_0x22ea7d[_0x209ee5(0x439)](_0x209ee5(0x30f)))return'user@example.com';if(_0x22ea7d['includes']('电话')||_0x22ea7d['includes']('手机')||_0x22ea7d[_0x209ee5(0x439)]('phone'))return'13800138000';if(_0x22ea7d[_0x209ee5(0x439)]('地址')||_0x22ea7d[_0x209ee5(0x439)]('address'))return _0x209ee5(0x296);if(_0x22ea7d['includes']('姓名')||_0x22ea7d[_0x209ee5(0x439)](_0x209ee5(0x2e6)))return'张三';}return'示例文本';},'VARCHAR':({description:_0x4ebc67})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x4ebc67}),'CHAR':({description:_0x23a252})=>TYPE_VALUE_GENERATORS[a0_0x59051e(0x3fe)]({'description':_0x23a252}),'STRING':({fieldInfo:_0x2c6411,description:_0x3e7403})=>{const _0x49b7d6=a0_0x59051e;if(_0x2c6411?.[_0x49b7d6(0x275)]&&typeof _0x2c6411[_0x49b7d6(0x275)]===_0x49b7d6(0x236)&&_0x2c6411[_0x49b7d6(0x275)]!==_0x49b7d6(0x2a0))return _0x2c6411['placeholder'][_0x49b7d6(0x210)](/^请输入|^请选择/,'');const _0x2d80e6={};return _0x2d80e6[_0x49b7d6(0x1f2)]=_0x3e7403,TYPE_VALUE_GENERATORS[_0x49b7d6(0x3fe)](_0x2d80e6);},'TEXTAREA':()=>a0_0x59051e(0x3cc),'LONGTEXT':()=>a0_0x59051e(0x3cc),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x59051e(0x21a),a0_0x59051e(0x2ea)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x59051e(0x322),'RICH_TEXT':()=>'<p>富文本内容</p>'};function generateExampleValue(_0x564c50,_0x531937,_0x597ba4,_0x255283={}){const _0x2afc66=a0_0x59051e;typeof _0x564c50!==_0x2afc66(0x236)&&(!![]&&console[_0x2afc66(0x24e)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x564c50),_0x564c50=String(_0x564c50||''));if(typeof _0x531937!==_0x2afc66(0x236))return!![]&&console[_0x2afc66(0x24e)](_0x2afc66(0x331),_0x531937),_0x2afc66(0x408);const {isPrimaryKey:_0x1402b8,dbtableConfig:_0x3bda8f}=_0x255283;if(_0x1402b8)return 0x1;if(_0x3bda8f&&typeof _0x3bda8f===_0x2afc66(0x434)){const _0x1dbd1f=_0x3bda8f[_0x2afc66(0x451)]?.[_0x2afc66(0x363)]===_0x564c50,_0x1600da=_0x3bda8f['updateTimeField']?.[_0x2afc66(0x363)]===_0x564c50;if(_0x1dbd1f||_0x1600da){if(_0x597ba4&&typeof _0x597ba4===_0x2afc66(0x236)&&_0x597ba4[_0x2afc66(0x40a)]()[_0x2afc66(0x439)]('TIMESTAMP'))return Date[_0x2afc66(0x233)]();return new Date()[_0x2afc66(0x37f)]()[_0x2afc66(0x210)]('T','\x20')[_0x2afc66(0x2c5)]('.')[0x0];}}const _0x27221f={..._0x255283};_0x27221f[_0x2afc66(0x463)]=_0x564c50;const _0x1fd8d7=_0x27221f;if(_0x597ba4&&typeof _0x597ba4==='string'){const _0x1b468a=_0x597ba4[_0x2afc66(0x40a)](),_0x4f33fd=TYPE_VALUE_GENERATORS[_0x1b468a];if(_0x4f33fd)return _0x4f33fd(_0x1fd8d7);}if(_0x531937&&typeof _0x531937==='string'){const _0x15edd4=_0x531937[_0x2afc66(0x40a)](),_0x1879d9=TYPE_VALUE_GENERATORS[_0x15edd4];if(_0x1879d9)return _0x1879d9(_0x1fd8d7);}return'示例值';}function generateExampleFromSchema(_0x5544d6,_0x38e855){const _0x221527=a0_0x59051e;if(!_0x5544d6||typeof _0x5544d6!==_0x221527(0x434))return{};if(Array[_0x221527(0x2e0)](_0x5544d6)){if(_0x5544d6[_0x221527(0x32e)]>0x0)return[generateExampleFromSchema(_0x5544d6[0x0],_0x38e855)];return[];}const _0x12fa77={};return Object[_0x221527(0x3ba)](_0x5544d6)['forEach'](_0x4542ce=>{const _0x4b3d99=_0x221527,_0x1d05c9=_0x5544d6[_0x4542ce];if(_0x1d05c9&&typeof _0x1d05c9==='object'&&!Array[_0x4b3d99(0x2e0)](_0x1d05c9)&&_0x1d05c9[_0x4b3d99(0x280)]){const _0x5196b0=_0x1d05c9,_0x45f77e=_0x5196b0[_0x4b3d99(0x280)],_0xf3c1b8=_0x5196b0[_0x4b3d99(0x1f2)];if(typeof _0x45f77e===_0x4b3d99(0x236)){const _0x795efd={};_0x795efd['description']=_0xf3c1b8,_0x795efd[_0x4b3d99(0x36c)]=_0x38e855,_0x12fa77[_0x4542ce]=generateExampleValue(_0x4542ce,_0x45f77e,undefined,_0x795efd);}else _0x12fa77[_0x4542ce]=_0x4b3d99(0x408);}else{if(Array[_0x4b3d99(0x2e0)](_0x1d05c9))_0x12fa77[_0x4542ce]=_0x1d05c9[_0x4b3d99(0x32e)]>0x0?[generateExampleFromSchema(_0x1d05c9[0x0],_0x38e855)]:[];else _0x1d05c9&&typeof _0x1d05c9===_0x4b3d99(0x434)?_0x12fa77[_0x4542ce]=generateExampleFromSchema(_0x1d05c9,_0x38e855):_0x12fa77[_0x4542ce]=_0x1d05c9;}}),_0x12fa77;}function parseRequestBody(_0x221531){const _0x5edcfd=a0_0x59051e;if(!_0x221531)return{};try{return JSON[_0x5edcfd(0x1ae)](_0x221531);}catch(_0x1dd6f7){return!![]&&console['warn'](_0x5edcfd(0x2bd),_0x1dd6f7),{};}}function parseResponseBody(_0x3af82a){const _0x1d4e30=a0_0x59051e;if(!_0x3af82a)return null;try{const _0x15b6e3=JSON[_0x1d4e30(0x1ae)](_0x3af82a);return _0x15b6e3[_0x1d4e30(0x22d)]||_0x15b6e3;}catch(_0x2a2520){return!![]&&console['warn']('解析\x20responseBody\x20失败:',_0x2a2520),null;}}function generateRequestExample(_0x14761d,_0x5d7f27,_0x46cada,_0x2f0f43){const _0x265abe=a0_0x59051e,_0x188e55={};if(!Array[_0x265abe(0x2e0)](_0x14761d))return!![]&&console[_0x265abe(0x24e)](_0x265abe(0x3bf),_0x14761d),_0x188e55;return _0x14761d['forEach'](_0x80a999=>{const _0x446504=_0x265abe;if(!_0x80a999||typeof _0x80a999!==_0x446504(0x434)){!![]&&console['warn'](_0x446504(0x287),_0x80a999);return;}if(typeof _0x80a999[_0x446504(0x1cb)]!=='string'||typeof _0x80a999[_0x446504(0x280)]!==_0x446504(0x236)){!![]&&console['warn'](_0x446504(0x3e1),_0x80a999);return;}const _0x3e8d23=parseFieldExtend(_0x80a999),_0x4a83a0=_0x80a999[_0x446504(0x1cb)]===_0x46cada||Boolean(_0x3e8d23?.['primaryKey']),_0x508c07=generateExampleValue(_0x80a999[_0x446504(0x1cb)],_0x80a999[_0x446504(0x280)],typeof _0x80a999['dbType']==='string'?_0x80a999[_0x446504(0x2d2)]:undefined,{'fieldInfo':_0x3e8d23,'isPrimaryKey':_0x4a83a0,'description':_0x80a999[_0x446504(0x1f2)]||_0x80a999[_0x446504(0x2e6)],'dbtableConfig':_0x2f0f43});_0x188e55[_0x80a999['code']]=_0x508c07;}),_0x5d7f27==='getList'&&(_0x188e55['currentPage']=0x1,_0x188e55[_0x265abe(0x2f0)]=0xa),_0x188e55;}function formatEnumValue(_0x4eae75,_0x2749d1){const _0x27a1e9=a0_0x59051e;if(_0x4eae75[_0x27a1e9(0x1e0)]&&Array[_0x27a1e9(0x2e0)](_0x2749d1))return _0x2749d1[_0x27a1e9(0x390)](_0x31408b=>_0x4eae75[_0x27a1e9(0x359)][String(_0x31408b)]||String(_0x31408b))[_0x27a1e9(0x2f5)](',\x20');return _0x4eae75[_0x27a1e9(0x359)][String(_0x2749d1)]||String(_0x2749d1);}function formatOptionsForDoc(_0x1fc53d){const _0x254899=a0_0x59051e;return _0x1fc53d[_0x254899(0x390)](_0x11606c=>_0x11606c[_0x254899(0x43b)]+'('+_0x11606c['label']+')')[_0x254899(0x2f5)](',\x20');}function formatOptionsAsMarkdownList(_0x2ad3cc,_0x3223a5=0x0){const _0x58c298=a0_0x59051e,_0x37b48a='\x20\x20'[_0x58c298(0x383)](_0x3223a5),_0x1ce3d8=[];return _0x2ad3cc[_0x58c298(0x246)](_0x20645d=>{const _0x32e069=_0x58c298;_0x1ce3d8['push'](_0x37b48a+_0x32e069(0x46f)+_0x20645d['value']+_0x32e069(0x2f1)+_0x20645d[_0x32e069(0x240)]),_0x20645d[_0x32e069(0x307)]&&_0x20645d['children'][_0x32e069(0x32e)]>0x0&&_0x1ce3d8[_0x32e069(0x276)](formatOptionsAsMarkdownList(_0x20645d[_0x32e069(0x307)],_0x3223a5+0x1));}),_0x1ce3d8['join']('\x0a');}class DbtableConfig{[a0_0x59051e(0x261)];constructor(_0x79b6e3){const _0x167b19=a0_0x59051e,_0x6dbeab={..._0x79b6e3};this[_0x167b19(0x261)]=_0x6dbeab;}get[a0_0x59051e(0x420)](){const _0x159bb7=a0_0x59051e;return this[_0x159bb7(0x261)][_0x159bb7(0x420)];}get['dbName'](){const _0x2aa1c5=a0_0x59051e;return this['_raw']['dbName']??this[_0x2aa1c5(0x261)][_0x2aa1c5(0x448)]?.['dbName'];}get[a0_0x59051e(0x424)](){const _0xc28085=a0_0x59051e;return this[_0xc28085(0x261)][_0xc28085(0x424)];}get[a0_0x59051e(0x250)](){const _0x40c493=a0_0x59051e;return this[_0x40c493(0x261)]['datasetKey'];}get[a0_0x59051e(0x46c)](){const _0x39d2e2=a0_0x59051e;return this[_0x39d2e2(0x261)][_0x39d2e2(0x46c)];}get['labelField'](){const _0x1b8d26=a0_0x59051e;return this[_0x1b8d26(0x261)][_0x1b8d26(0x3da)];}get[a0_0x59051e(0x42f)](){const _0x351cb1=a0_0x59051e;return this[_0x351cb1(0x261)][_0x351cb1(0x42f)];}get[a0_0x59051e(0x451)](){const _0x4e1777=a0_0x59051e;return this[_0x4e1777(0x261)][_0x4e1777(0x451)];}get[a0_0x59051e(0x3fc)](){return this['_raw']['updateTimeField'];}get['creatorIdField'](){return this['_raw']['creatorIdField'];}get[a0_0x59051e(0x3c5)](){const _0x5eebd1=a0_0x59051e;return this[_0x5eebd1(0x261)][_0x5eebd1(0x3c5)];}get[a0_0x59051e(0x3eb)](){const _0x5e81a6=a0_0x59051e;return this[_0x5e81a6(0x261)][_0x5e81a6(0x3eb)];}get[a0_0x59051e(0x2e5)](){const _0x3307a7=a0_0x59051e;return this['_raw'][_0x3307a7(0x2e5)];}get[a0_0x59051e(0x448)](){const _0x734e4c=a0_0x59051e;return this[_0x734e4c(0x261)][_0x734e4c(0x448)];}[a0_0x59051e(0x24d)](){const _0x56b7e0=a0_0x59051e;if(!this[_0x56b7e0(0x261)]['allFields'])return[];return this[_0x56b7e0(0x261)][_0x56b7e0(0x2bf)][_0x56b7e0(0x2c5)](',')[_0x56b7e0(0x390)](_0x34609e=>_0x34609e['trim']())[_0x56b7e0(0x3a8)](Boolean);}['getAllFieldsString'](){const _0x3b826f=a0_0x59051e;return this['_raw'][_0x3b826f(0x2bf)];}[a0_0x59051e(0x22f)](_0x58718a){const _0x187967=a0_0x59051e;return this['getAllFieldsArray']()[_0x187967(0x439)](_0x58718a);}['hasTableName'](){const _0x880c5f=a0_0x59051e;return Boolean(this[_0x880c5f(0x261)][_0x880c5f(0x424)]);}[a0_0x59051e(0x3a1)](){const _0x4983eb=a0_0x59051e;return Boolean(this['_raw'][_0x4983eb(0x448)]);}[a0_0x59051e(0x21d)](){const _0x561ec6=a0_0x59051e;return Boolean(this[_0x561ec6(0x261)][_0x561ec6(0x42f)]?.[_0x561ec6(0x363)]);}[a0_0x59051e(0x3f8)](){const _0x12e824=a0_0x59051e;return Boolean(this[_0x12e824(0x261)]['createTimeField']?.[_0x12e824(0x363)]);}[a0_0x59051e(0x23b)](){const _0x23ba1e=a0_0x59051e;return Boolean(this[_0x23ba1e(0x261)][_0x23ba1e(0x3fc)]?.[_0x23ba1e(0x363)]);}[a0_0x59051e(0x1bc)](){const _0x169d42=a0_0x59051e;return Boolean(this['_raw'][_0x169d42(0x1b7)]?.[_0x169d42(0x363)]);}[a0_0x59051e(0x416)](){const _0x2938ca=a0_0x59051e;return Boolean(this[_0x2938ca(0x261)]['modifierIdField']?.[_0x2938ca(0x363)]);}[a0_0x59051e(0x3bb)](_0x44bd25){const _0x2d2197=a0_0x59051e;return this[_0x2d2197(0x261)]['pkField']===_0x44bd25;}[a0_0x59051e(0x455)](_0x164da3){const _0x2296c4=a0_0x59051e;return this[_0x2296c4(0x3bb)](_0x164da3)||this[_0x2296c4(0x261)][_0x2296c4(0x42f)]?.['fieldName']===_0x164da3||this[_0x2296c4(0x261)][_0x2296c4(0x451)]?.[_0x2296c4(0x363)]===_0x164da3||this[_0x2296c4(0x261)][_0x2296c4(0x3fc)]?.[_0x2296c4(0x363)]===_0x164da3||this[_0x2296c4(0x261)][_0x2296c4(0x1b7)]?.[_0x2296c4(0x363)]===_0x164da3||this[_0x2296c4(0x261)][_0x2296c4(0x3c5)]?.[_0x2296c4(0x363)]===_0x164da3||this[_0x2296c4(0x261)]['modifierIdField']?.['fieldName']===_0x164da3||this[_0x2296c4(0x261)]['modifierNameField']?.[_0x2296c4(0x363)]===_0x164da3;}[a0_0x59051e(0x217)](){const _0x28d621=a0_0x59051e;return this[_0x28d621(0x261)]['dblinkInfoDTO']?.[_0x28d621(0x2be)];}[a0_0x59051e(0x360)](){const _0x2de1b5=a0_0x59051e;return this[_0x2de1b5(0x261)][_0x2de1b5(0x448)]?.[_0x2de1b5(0x2d2)];}[a0_0x59051e(0x2d8)](){const _0x5ec838=a0_0x59051e;return this['_raw'][_0x5ec838(0x448)]?.[_0x5ec838(0x258)];}[a0_0x59051e(0x412)](){const _0x5a2a96=a0_0x59051e;return this[_0x5a2a96(0x261)][_0x5a2a96(0x448)]?.[_0x5a2a96(0x28f)];}[a0_0x59051e(0x32f)](){const _0x356a97=a0_0x59051e;return this[_0x356a97(0x261)][_0x356a97(0x448)]?.['appCode'];}['getSystemAnalysisResult'](){const _0x41113f=a0_0x59051e;return this['_raw']['dblinkInfoDTO']?.[_0x41113f(0x348)];}[a0_0x59051e(0x419)](){const _0x2eb1c1=a0_0x59051e;return{'hasTableName':this[_0x2eb1c1(0x26b)](),'hasDblinkInfo':this[_0x2eb1c1(0x3a1)](),'fieldCount':this['getAllFieldsArray']()[_0x2eb1c1(0x32e)],'systemFields':{'hasLogicField':this[_0x2eb1c1(0x21d)](),'hasCreateTimeField':this[_0x2eb1c1(0x3f8)](),'hasUpdateTimeField':this[_0x2eb1c1(0x23b)](),'hasCreatorIdField':this[_0x2eb1c1(0x1bc)](),'hasModifierIdField':this[_0x2eb1c1(0x416)]()}};}[a0_0x59051e(0x24c)](){const _0x45eb1b=a0_0x59051e,_0x485241={};return _0x485241['tableName']=this[_0x45eb1b(0x424)],_0x485241['pkField']=this['pkField'],_0x485241[_0x45eb1b(0x250)]=this[_0x45eb1b(0x250)],_0x485241[_0x45eb1b(0x420)]=this['dbId'],_0x485241;}[a0_0x59051e(0x345)](){const _0x3bbea2={...this['_raw']};return _0x3bbea2;}[a0_0x59051e(0x417)](){const _0x239a9a=a0_0x59051e,_0x3a812c={...this[_0x239a9a(0x261)]};return _0x3a812c;}['toString'](){const _0x398ba9=a0_0x59051e,_0x1fbd67=this[_0x398ba9(0x424)]||'N/A',_0x5b9b72=this[_0x398ba9(0x24d)]()['length'];return _0x398ba9(0x396)+_0x1fbd67+_0x398ba9(0x3d6)+_0x5b9b72+')';}static[a0_0x59051e(0x2dc)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x59051e(0x261)];constructor(_0x2e46a5){const _0x1e7fab=a0_0x59051e,_0x4f4400=_0x2e46a5[_0x1e7fab(0x43e)]||_0x2e46a5[_0x1e7fab(0x1cb)]||_0x2e46a5[_0x1e7fab(0x1cd)],_0x53175e={..._0x2e46a5};_0x53175e[_0x1e7fab(0x43e)]=_0x4f4400,this['_raw']=_0x53175e;}get['id'](){const _0x53f413=a0_0x59051e;return this[_0x53f413(0x261)]['id'];}get[a0_0x59051e(0x2e6)](){const _0xcd75d4=a0_0x59051e;return this[_0xcd75d4(0x261)][_0xcd75d4(0x2e6)];}[a0_0x59051e(0x1d4)](){const _0x2e4ac6=a0_0x59051e;return this[_0x2e4ac6(0x2e6)];}get[a0_0x59051e(0x43e)](){const _0x5269e3=a0_0x59051e;return this[_0x5269e3(0x261)][_0x5269e3(0x43e)]||'';}get[a0_0x59051e(0x36c)](){const _0x42febe=a0_0x59051e;if(!this[_0x42febe(0x261)][_0x42febe(0x36c)])return null;return new DbtableConfig(this['_raw'][_0x42febe(0x36c)]);}[a0_0x59051e(0x2a9)](){const _0x52cf5e=a0_0x59051e;return this[_0x52cf5e(0x261)][_0x52cf5e(0x36c)];}[a0_0x59051e(0x1dd)](){const _0x4aaac3=a0_0x59051e;return this[_0x4aaac3(0x36c)]?.[_0x4aaac3(0x2be)]||'';}[a0_0x59051e(0x2ef)](){const _0x2bfd53=a0_0x59051e;return getTableName(this[_0x2bfd53(0x261)]);}['getTableKey'](){const _0x4efc73=a0_0x59051e;return getTableKey(this[_0x4efc73(0x2ef)]());}[a0_0x59051e(0x27c)](){const _0x158676=a0_0x59051e;return generateModelKeyFromCode(this[_0x158676(0x43e)]);}['isVirtualTable'](){return isVirtualTableName(this['getTableName']());}[a0_0x59051e(0x25f)](){const _0x5466e5=a0_0x59051e;return getTableKey(this[_0x5466e5(0x2ef)]());}[a0_0x59051e(0x24c)](){const _0x479868=a0_0x59051e,_0x2c2596=getTableKey(this['getTableName']());return{'key':_0x2c2596,'alias':_0x2c2596,'tableName':this[_0x479868(0x2ef)](),'datasetCode':this[_0x479868(0x43e)],'name':this[_0x479868(0x2e6)]};}['toJSON'](){const _0x1c6e48=a0_0x59051e,_0xcebcc8={...this[_0x1c6e48(0x261)]};return _0xcebcc8['datasetCode']=this[_0x1c6e48(0x43e)],_0xcebcc8;}[a0_0x59051e(0x417)](){const _0xdcdc14=a0_0x59051e,_0x244b15={...this[_0xdcdc14(0x261)]};return _0x244b15;}['hasDbtableConfig'](){const _0xa57090=a0_0x59051e,_0x11906d=this['dbtableConfig'];return _0x11906d!==null&&_0x11906d[_0xa57090(0x26b)]();}[a0_0x59051e(0x346)](_0x5ea79c){const _0x5590cf=a0_0x59051e;return this[_0x5590cf(0x261)][_0x5ea79c];}['hasExtendField'](_0x566844){return _0x566844 in this['_raw'];}['toString'](){const _0x3a6cf3=a0_0x59051e;return _0x3a6cf3(0x229)+this[_0x3a6cf3(0x2e6)]+',\x20'+this['datasetCode']+')';}}class Operation{['name'];[a0_0x59051e(0x261)];[a0_0x59051e(0x1f6)];constructor(_0x2d8543,_0x2dcfd3,_0xab1fbe){const _0x448197=a0_0x59051e;this[_0x448197(0x2e6)]=_0x2d8543,this[_0x448197(0x261)]=_0x2dcfd3,this[_0x448197(0x1f6)]=_0xab1fbe;}[a0_0x59051e(0x1d4)](){const _0x1311a1=a0_0x59051e;return this[_0x1311a1(0x2e6)];}[a0_0x59051e(0x40c)](){const _0x5a9691=a0_0x59051e;return OPERATION_TYPE_DISPLAY_NAME[this[_0x5a9691(0x2e6)]]||this[_0x5a9691(0x2e6)];}[a0_0x59051e(0x321)](){return parseOperationType(this['name']);}[a0_0x59051e(0x3b3)](){const _0x5ecaf3=a0_0x59051e;return this[_0x5ecaf3(0x261)]!==null&&this['_raw']!==![];}[a0_0x59051e(0x1c4)](){const _0x31426f=a0_0x59051e,_0x6a9f50=this[_0x31426f(0x261)];if(_0x6a9f50===![]||_0x6a9f50===null)return'';return _0x6a9f50['method']||_0x31426f(0x3be);}[a0_0x59051e(0x25d)](){const _0x2fd1e2=a0_0x59051e,_0x23c307=this[_0x2fd1e2(0x261)];if(_0x23c307===![]||_0x23c307===null)return'';return _0x23c307[_0x2fd1e2(0x377)]||'';}[a0_0x59051e(0x21c)](){const _0x47f914=a0_0x59051e,_0x5bf164=this['_raw'];let _0x2b2e43='';_0x5bf164!==![]&&_0x5bf164!==null&&_0x5bf164[_0x47f914(0x329)]&&(_0x2b2e43=_0x5bf164[_0x47f914(0x329)]);const _0x54cdd4=this[_0x47f914(0x25d)]();return _0x2b2e43&&_0x54cdd4?''+_0x2b2e43+_0x54cdd4:_0x54cdd4;}[a0_0x59051e(0x356)](){const _0x45e2f1=a0_0x59051e,_0x5a8833=this['_raw'];if(_0x5a8833===![]||_0x5a8833===null||!_0x5a8833[_0x45e2f1(0x36d)])return{};try{return JSON[_0x45e2f1(0x1ae)](_0x5a8833['requestBody']);}catch{return{};}}[a0_0x59051e(0x3ff)](){const _0x179aa2=a0_0x59051e,_0x2cc32b=this['_raw'];if(_0x2cc32b===![]||_0x2cc32b===null||!_0x2cc32b[_0x179aa2(0x2a2)])return null;return parseResponseBody(_0x2cc32b[_0x179aa2(0x2a2)]);}[a0_0x59051e(0x2ce)](){const _0x5a06df=a0_0x59051e;return this[_0x5a06df(0x356)]();}[a0_0x59051e(0x2d1)](){const _0x180b41=a0_0x59051e;return this[_0x180b41(0x3ff)]();}[a0_0x59051e(0x204)](){const _0x2b6a3d=a0_0x59051e,_0x4583f5=this['getRequestParams']();return Object[_0x2b6a3d(0x3ba)](_0x4583f5);}[a0_0x59051e(0x213)](){const _0x327512=a0_0x59051e,_0x13537a=this[_0x327512(0x2ce)](),_0x540d5f={};return Object[_0x327512(0x3f5)](_0x13537a)[_0x327512(0x246)](([_0x57d3ff,_0x30d6c6])=>{const _0x5d152a=_0x327512,_0xdc73df=_0x30d6c6;_0x540d5f[_0x57d3ff]=generateExampleValue(_0x57d3ff,_0xdc73df[_0x5d152a(0x280)]||'String',undefined,{'description':_0xdc73df[_0x5d152a(0x1f2)]});}),_0x540d5f;}[a0_0x59051e(0x3e0)](){return this['generateRequestExample']();}['generateResponseExample'](){const _0x3de2b5=a0_0x59051e,_0xa8382d=this[_0x3de2b5(0x3ff)]();if(!_0xa8382d){const _0x14e638={};return _0x14e638[_0x3de2b5(0x305)]=!![],_0x14e638[_0x3de2b5(0x44d)]=_0x3de2b5(0x226),_0x14e638['errorMsg']='',_0x14e638[_0x3de2b5(0x3b1)]=_0x3de2b5(0x266),_0x14e638[_0x3de2b5(0x316)]=null,_0x14e638;}return this[_0x3de2b5(0x31f)](_0xa8382d);}[a0_0x59051e(0x31f)](_0x28ea53){const _0x1d8840=a0_0x59051e;if(!_0x28ea53||typeof _0x28ea53!=='object')return{};if(Array[_0x1d8840(0x2e0)](_0x28ea53))return _0x28ea53[_0x1d8840(0x32e)]>0x0?[this[_0x1d8840(0x31f)](_0x28ea53[0x0])]:[];const _0x5b5129={};for(const [_0xac8112,_0x3a2aeb]of Object['entries'](_0x28ea53)){if(_0x3a2aeb&&typeof _0x3a2aeb===_0x1d8840(0x434)&&!Array[_0x1d8840(0x2e0)](_0x3a2aeb)){const _0x3330bb=_0x3a2aeb;_0x5b5129[_0xac8112]=generateExampleValue(_0xac8112,_0x3330bb[_0x1d8840(0x280)]||_0x1d8840(0x248),undefined,{'description':_0x3330bb[_0x1d8840(0x1f2)]});}else Array['isArray'](_0x3a2aeb)?_0x5b5129[_0xac8112]=_0x3a2aeb['length']>0x0?[this[_0x1d8840(0x31f)](_0x3a2aeb[0x0])]:[]:_0x5b5129[_0xac8112]=_0x3a2aeb;}return _0x5b5129;}[a0_0x59051e(0x427)](_0x5818e2,_0x4b2f6e,_0x4c4326,_0x391865){return generateExampleValue(_0x5818e2,_0x4b2f6e,_0x4c4326,_0x391865);}[a0_0x59051e(0x1e8)](_0x20f14c,_0x239224){const _0x3b493e=a0_0x59051e,_0x1264a4=this[_0x3b493e(0x1d4)]();return _0x3b493e(0x294)+_0x20f14c+'.'+_0x1264a4+'();';}[a0_0x59051e(0x402)](_0x3c3165){const _0x55d004=a0_0x59051e,_0x29764a=this[_0x55d004(0x1d4)](),_0xecf69a=_0x3c3165||_0x55d004(0x25a),_0x399e3f={};return _0x399e3f['successCode']=_0x55d004(0x3ee)+_0xecf69a+'.'+_0x29764a+'();',_0x399e3f[_0x55d004(0x3b1)]=_0x55d004(0x2ab)+_0xecf69a+'.'+_0x29764a+_0x55d004(0x255),_0x399e3f;}[a0_0x59051e(0x388)](){const _0x443e02=a0_0x59051e,_0x43fdf2=this['getRequestParams'](),_0x54583a=Object[_0x443e02(0x3f5)](_0x43fdf2)['map'](([_0x988757,_0x361427])=>{const _0x4651e4=_0x443e02,_0x5b751a=_0x361427,_0xb311d1={};return _0xb311d1['name']=_0x988757,_0xb311d1[_0x4651e4(0x280)]=_0x5b751a[_0x4651e4(0x280)]||_0x4651e4(0x248),_0xb311d1['description']=_0x5b751a['description']||'-',_0xb311d1[_0x4651e4(0x2d3)]=_0x5b751a[_0x4651e4(0x2d3)],_0xb311d1;}),_0x5e0e3d={};return _0x5e0e3d[_0x443e02(0x2cf)]=_0x54583a,_0x5e0e3d;}[a0_0x59051e(0x443)](){const _0x44c348=a0_0x59051e,_0x325067=this['parseRawResponseBody']();if(!_0x325067){const _0x3986e4={};return _0x3986e4[_0x44c348(0x2cf)]=[],_0x3986e4;}const _0x54bcea=Object[_0x44c348(0x3f5)](_0x325067)[_0x44c348(0x390)](([_0x3a76ad,_0xc036a1])=>{const _0x4e6eb9=_0x44c348,_0x271e41=_0xc036a1,_0x5b9468={};return _0x5b9468[_0x4e6eb9(0x2e6)]=_0x3a76ad,_0x5b9468[_0x4e6eb9(0x280)]=_0x271e41[_0x4e6eb9(0x280)]||_0x4e6eb9(0x248),_0x5b9468[_0x4e6eb9(0x1f2)]=_0x271e41[_0x4e6eb9(0x1f2)]||'-',_0x5b9468;}),_0x2d5be3={};return _0x2d5be3[_0x44c348(0x2cf)]=_0x54bcea,_0x2d5be3;}[a0_0x59051e(0x20a)](){return[];}[a0_0x59051e(0x20e)](){const _0x32b5a4=a0_0x59051e;return this[_0x32b5a4(0x1f6)][_0x32b5a4(0x208)]||[];}[a0_0x59051e(0x2da)](){const _0x5a685d=a0_0x59051e;return{'systemFields':this['getSystemFields'](),'businessFields':this[_0x5a685d(0x20e)]()};}[a0_0x59051e(0x3cb)](_0x5bb888){const _0x1f4741=a0_0x59051e;return this['context']['fields'][_0x1f4741(0x42e)](_0x16266b=>_0x16266b?.[_0x1f4741(0x1cb)]===_0x5bb888);}[a0_0x59051e(0x1be)](_0x39bb9e){const _0x1fd1ce=a0_0x59051e;return _0x39bb9e[_0x1fd1ce(0x1cb)];}[a0_0x59051e(0x349)](_0x50b285){return _0x50b285['type'];}[a0_0x59051e(0x2fb)](_0x2a4305){const _0x397f35=a0_0x59051e;return _0x2a4305[_0x397f35(0x2e6)];}[a0_0x59051e(0x2d5)](_0x21f754){const _0x15c59f=a0_0x59051e;return _0x21f754[_0x15c59f(0x1f2)];}[a0_0x59051e(0x35d)](_0x2e1d1e){const _0x260aa2=a0_0x59051e;return _0x2e1d1e[_0x260aa2(0x288)]()||null;}[a0_0x59051e(0x271)](_0x517205){const _0x69f1eb=a0_0x59051e;return _0x517205[_0x69f1eb(0x3a4)]();}[a0_0x59051e(0x295)](){return[];}[a0_0x59051e(0x437)](_0x4aa2df){return[];}['toJSON'](){const _0x2d44ca=a0_0x59051e;return{'name':this[_0x2d44ca(0x1d4)](),'displayName':this[_0x2d44ca(0x40c)](),'type':this[_0x2d44ca(0x321)](),'enabled':this[_0x2d44ca(0x3b3)](),'method':this[_0x2d44ca(0x1c4)](),'path':this[_0x2d44ca(0x25d)](),'fullUrl':this[_0x2d44ca(0x21c)](),'requestParams':this[_0x2d44ca(0x2ce)](),'requestExample':this[_0x2d44ca(0x213)](),'responseExample':this[_0x2d44ca(0x38a)]()};}[a0_0x59051e(0x3c8)](){const _0x3eb217=a0_0x59051e,_0x4e17ea=this[_0x3eb217(0x3b3)]()?'启用':'禁用';return this[_0x3eb217(0x40c)]()+'('+this[_0x3eb217(0x2e6)]+',\x20'+_0x4e17ea+')';}}class GenericOperation extends Operation{[a0_0x59051e(0x38e)];[a0_0x59051e(0x2ce)](){const _0x1d51b7=a0_0x59051e;return this[_0x1d51b7(0x356)]();}['getResponseSchema'](){return this['parseRawResponseBody']();}[a0_0x59051e(0x213)](){const _0x1be254=a0_0x59051e;if(this[_0x1be254(0x38e)])return this[_0x1be254(0x38e)];const _0x431aa7={},_0x2fab61=this[_0x1be254(0x2ce)](),_0x1a9806=this[_0x1be254(0x321)]();if(Object[_0x1be254(0x3ba)](_0x2fab61)[_0x1be254(0x32e)]===0x0&&_0x1a9806){const _0x44671e=this['getBusinessFields']();return _0x44671e[_0x1be254(0x246)](_0x5cacc0=>{const _0x4e9437=_0x1be254,_0x18ab4c=_0x5cacc0[_0x4e9437(0x1cb)],_0x52bae3=_0x5cacc0['type'],_0x2c961f=this[_0x4e9437(0x427)](_0x18ab4c,_0x52bae3,_0x5cacc0['getDbTypeForOperation'](),{'isPrimaryKey':_0x5cacc0['isPrimaryKey'](),'description':_0x5cacc0['description']||_0x5cacc0[_0x4e9437(0x2e6)]});_0x431aa7[_0x18ab4c]=_0x2c961f;}),this[_0x1be254(0x38e)]=_0x431aa7,_0x431aa7;}return Object[_0x1be254(0x3f5)](_0x2fab61)[_0x1be254(0x246)](([_0x314592,_0x16e1be])=>{const _0x126290=_0x1be254,_0x291032=_0x16e1be;let _0x4b6c10;if(typeof _0x291032[_0x126290(0x280)]===_0x126290(0x236))_0x4b6c10=_0x291032['type'];else _0x291032[_0x126290(0x280)]&&typeof _0x291032[_0x126290(0x280)]===_0x126290(0x434)?_0x4b6c10=_0x291032[_0x126290(0x280)][_0x126290(0x280)]||_0x126290(0x3fe):_0x4b6c10=_0x126290(0x3fe);const _0x485961=_0x291032[_0x126290(0x1f2)],_0xd1e461=this[_0x126290(0x3cb)](_0x314592);if(_0x314592==='currentPage')_0x431aa7[_0x314592]=0x1;else{if(_0x314592===_0x126290(0x2f0))_0x431aa7[_0x314592]=0xa;else{if(_0x314592==='id')_0x431aa7[_0x314592]=0x1;else{const _0x274189=_0xd1e461?_0xd1e461[_0x126290(0x2f6)]():undefined,_0x3fafb6=_0xd1e461?_0xd1e461[_0x126290(0x1f2)]:undefined,_0x288631=_0xd1e461?_0xd1e461[_0x126290(0x2e6)]:undefined;_0x431aa7[_0x314592]=this[_0x126290(0x427)](_0x314592,_0x4b6c10,_0x274189||undefined,{'isPrimaryKey':_0x314592===this[_0x126290(0x1f6)][_0x126290(0x46c)]||_0x314592==='id','description':_0x485961||_0x3fafb6||_0x288631});}}}}),this[_0x1be254(0x38e)]=_0x431aa7,_0x431aa7;}[a0_0x59051e(0x38a)](){const _0x554985=a0_0x59051e,_0xd2e381=this[_0x554985(0x2d1)]();if(!_0xd2e381){const _0x158cfe={};return _0x158cfe[_0x554985(0x305)]=!![],_0x158cfe[_0x554985(0x44d)]='操作成功',_0x158cfe[_0x554985(0x2e1)]='',_0x158cfe['errorCode']=_0x554985(0x266),_0x158cfe[_0x554985(0x316)]=null,_0x158cfe;}return this[_0x554985(0x31f)](_0xd2e381);}[a0_0x59051e(0x31f)](_0x39f43a){const _0x14102b=a0_0x59051e;if(!_0x39f43a||typeof _0x39f43a!==_0x14102b(0x434))return{};if(Array['isArray'](_0x39f43a)){if(_0x39f43a[_0x14102b(0x32e)]>0x0)return[this[_0x14102b(0x31f)](_0x39f43a[0x0])];return[];}const _0x279ac0={};return Object['keys'](_0x39f43a)[_0x14102b(0x246)](_0x5bb61a=>{const _0x41c1ce=_0x14102b,_0x417c0a=_0x39f43a[_0x5bb61a];if(_0x417c0a&&typeof _0x417c0a===_0x41c1ce(0x434)&&!Array[_0x41c1ce(0x2e0)](_0x417c0a)&&_0x417c0a[_0x41c1ce(0x280)]){const _0x1cf0fd=_0x417c0a;let _0x5dab11;if(typeof _0x1cf0fd[_0x41c1ce(0x280)]===_0x41c1ce(0x236))_0x5dab11=_0x1cf0fd[_0x41c1ce(0x280)];else _0x1cf0fd[_0x41c1ce(0x280)]&&typeof _0x1cf0fd[_0x41c1ce(0x280)]===_0x41c1ce(0x434)?_0x5dab11=_0x1cf0fd[_0x41c1ce(0x280)][_0x41c1ce(0x280)]||_0x41c1ce(0x3fe):_0x5dab11=_0x41c1ce(0x3fe);const _0x417d4e=_0x1cf0fd[_0x41c1ce(0x1f2)],_0x3fb2cc={};_0x3fb2cc['description']=_0x417d4e,_0x279ac0[_0x5bb61a]=this[_0x41c1ce(0x427)](_0x5bb61a,_0x5dab11,undefined,_0x3fb2cc);}else{if(Array['isArray'](_0x417c0a))_0x279ac0[_0x5bb61a]=_0x417c0a[_0x41c1ce(0x32e)]>0x0?[this[_0x41c1ce(0x31f)](_0x417c0a[0x0])]:[];else _0x417c0a&&typeof _0x417c0a==='object'?_0x279ac0[_0x5bb61a]=this[_0x41c1ce(0x31f)](_0x417c0a):_0x279ac0[_0x5bb61a]=_0x417c0a;}}),_0x279ac0;}['generateSDKCallCode'](_0x3364ce,_0x426863){const _0x5ed27a=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x426863||{},_0x4c31c0=this[_0x5ed27a(0x1d4)](),_0x480d4a=this[_0x5ed27a(0x321)](),_0x25a738=this[_0x5ed27a(0x204)](),_0x3c91cd=this[_0x5ed27a(0x213)](),_0x31a20f=_0x3e9115=>{const _0x32cd6f=_0x5ed27a;if(Object[_0x32cd6f(0x3ba)](_0x3e9115)[_0x32cd6f(0x32e)]===0x0)return'{}';const _0x198207=JSON['stringify'](_0x3e9115,null,0x2)[_0x32cd6f(0x2c5)]('\x0a')[_0x32cd6f(0x390)]((_0x423261,_0x128d0c)=>_0x128d0c===0x0?_0x423261:indent+_0x423261)['join']('\x0a');return _0x198207;};switch(_0x480d4a){case _0x5ed27a(0x353):case _0x5ed27a(0x28d):return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+_0x5ed27a(0x3af);case'update':if(useFullExample&&Object['keys'](_0x3c91cd)[_0x5ed27a(0x32e)]>0x0)return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+'(id,\x20'+_0x31a20f(_0x3c91cd)+');';return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+_0x5ed27a(0x22e);case _0x5ed27a(0x382):case _0x5ed27a(0x339):case _0x5ed27a(0x238):default:if(_0x25a738[_0x5ed27a(0x32e)]>0x0){if(useFullExample&&Object[_0x5ed27a(0x3ba)](_0x3c91cd)[_0x5ed27a(0x32e)]>0x0)return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+'('+_0x31a20f(_0x3c91cd)+');';else{const _0x113cad=Object[_0x5ed27a(0x3ba)](_0x3c91cd);if(_0x113cad[_0x5ed27a(0x32e)]>0x0){const _0x45fd79=_0x113cad[_0x5ed27a(0x313)](0x0,0x2)[_0x5ed27a(0x2f5)](',\x20');return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+_0x5ed27a(0x1ec)+_0x45fd79+_0x5ed27a(0x373);}else return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+'(params);';}}else return'const\x20result\x20=\x20await\x20client.models.'+_0x3364ce+'.'+_0x4c31c0+'();';}}[a0_0x59051e(0x386)](){const _0x5aa4fc=a0_0x59051e;return[{'title':_0x5aa4fc(0x35f),'data':this[_0x5aa4fc(0x213)]()}];}[a0_0x59051e(0x20a)](){const _0x2f4569=a0_0x59051e,_0x134bd8=this['getType'](),_0x3f7c64=[];switch(_0x134bd8){case _0x2f4569(0x353):case _0x2f4569(0x28d):const _0x19b04e={};_0x19b04e[_0x2f4569(0x1cb)]='id',_0x19b04e[_0x2f4569(0x280)]=_0x2f4569(0x2d6),_0x19b04e['description']=_0x2f4569(0x1bb),_0x3f7c64[_0x2f4569(0x276)](_0x19b04e);break;case _0x2f4569(0x339):const _0x5c425d={};_0x5c425d[_0x2f4569(0x1cb)]='currentPage',_0x5c425d['type']=_0x2f4569(0x2d6),_0x5c425d[_0x2f4569(0x1f2)]='当前页码';const _0x2529b7={};_0x2529b7[_0x2f4569(0x1cb)]=_0x2f4569(0x2f0),_0x2529b7[_0x2f4569(0x280)]=_0x2f4569(0x2d6),_0x2529b7[_0x2f4569(0x1f2)]=_0x2f4569(0x3ef),_0x3f7c64[_0x2f4569(0x276)](_0x5c425d,_0x2529b7);break;case _0x2f4569(0x238):const _0x25b325={};_0x25b325[_0x2f4569(0x1cb)]=_0x2f4569(0x1cb),_0x25b325[_0x2f4569(0x280)]=_0x2f4569(0x286),_0x25b325['description']='选项编码(可选)',_0x3f7c64[_0x2f4569(0x276)](_0x25b325);break;default:break;}return _0x3f7c64;}[a0_0x59051e(0x20e)](){const _0x465268=a0_0x59051e,_0x3a3f4b=this[_0x465268(0x321)](),_0x17d5ed=this[_0x465268(0x1f6)][_0x465268(0x208)]||[];switch(_0x3a3f4b){case'getOne':case _0x465268(0x28d):return[];case _0x465268(0x382):case _0x465268(0x3a6):return _0x17d5ed['filter'](_0x5d9adc=>{const _0x174fae=_0x465268;if(_0x5d9adc[_0x174fae(0x44a)])return![];if(_0x5d9adc[_0x174fae(0x3a4)]()&&_0x5d9adc[_0x174fae(0x3b6)]())return![];if(_0x5d9adc[_0x174fae(0x38c)]())return![];if(_0x5d9adc[_0x174fae(0x2ae)]()||_0x5d9adc[_0x174fae(0x20d)]())return![];return!![];});case _0x465268(0x234):return _0x17d5ed['filter'](_0x15c7a8=>{const _0x5e10cc=_0x465268;if(_0x15c7a8[_0x5e10cc(0x44a)])return![];if(_0x15c7a8[_0x5e10cc(0x3a4)]())return![];if(_0x15c7a8[_0x5e10cc(0x38c)]())return![];if(_0x15c7a8['isCreateTime']()||_0x15c7a8[_0x5e10cc(0x20d)]())return![];if(_0x15c7a8[_0x5e10cc(0x3b6)]())return![];return!![];});case _0x465268(0x339):case'getSelectOptions':return _0x17d5ed[_0x465268(0x3a8)](_0x331e0e=>!_0x331e0e[_0x465268(0x44a)]&&_0x331e0e[_0x465268(0x470)]());default:return _0x17d5ed[_0x465268(0x3a8)](_0x5eb131=>!_0x5eb131['deleted']&&_0x5eb131[_0x465268(0x470)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0xb43dfe=a0_0x59051e,_0x1d42dd=super[_0xb43dfe(0x2ce)](),_0x3f8aaf=Object[_0xb43dfe(0x3ba)](_0x1d42dd);if(_0x3f8aaf[_0xb43dfe(0x32e)]===0x0||_0x3f8aaf[_0xb43dfe(0x32e)]===0x1&&_0x3f8aaf[0x0]===_0xb43dfe(0x1cb)){if(!_0x1d42dd[_0xb43dfe(0x1cb)]){const _0xe562cb={};_0xe562cb[_0xb43dfe(0x280)]=_0xb43dfe(0x248),_0xe562cb[_0xb43dfe(0x1f2)]=_0xb43dfe(0x471),_0x1d42dd[_0xb43dfe(0x1cb)]=_0xe562cb;}const _0x4f00ea={};_0x4f00ea[_0xb43dfe(0x280)]=_0xb43dfe(0x248),_0x4f00ea['description']=_0xb43dfe(0x2e2),_0x1d42dd[_0xb43dfe(0x240)]=_0x4f00ea;}return _0x1d42dd;}[a0_0x59051e(0x20e)](){return[];}[a0_0x59051e(0x20a)](){const _0x27a5c7=a0_0x59051e,_0x4793eb={};_0x4793eb[_0x27a5c7(0x1cb)]=_0x27a5c7(0x1cb),_0x4793eb[_0x27a5c7(0x280)]=_0x27a5c7(0x248),_0x4793eb[_0x27a5c7(0x1f2)]=_0x27a5c7(0x471);const _0x4311e9={};return _0x4311e9[_0x27a5c7(0x1cb)]=_0x27a5c7(0x240),_0x4311e9[_0x27a5c7(0x280)]=_0x27a5c7(0x248),_0x4311e9[_0x27a5c7(0x1f2)]='字段名称',[_0x4793eb,_0x4311e9];}[a0_0x59051e(0x213)](){const _0x45bc6d=a0_0x59051e,_0x243b05={};return _0x243b05[_0x45bc6d(0x1cb)]=_0x45bc6d(0x1b5),_0x243b05[_0x45bc6d(0x240)]=_0x45bc6d(0x1b5),_0x243b05;}['generateSDKCallCode'](_0xdc7974){const _0x529711=a0_0x59051e,_0xc010a5=this[_0x529711(0x1d4)]();return _0x529711(0x294)+_0xdc7974+'.'+_0xc010a5+_0x529711(0x2bb);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x30f721=a0_0x59051e,_0x54abfc=super[_0x30f721(0x2ce)](),{currentPage:_0x747631,pageSize:_0x1882d3,..._0x5c61c0}=_0x54abfc,_0xff2844={};Object[_0x30f721(0x3f5)](_0x5c61c0)[_0x30f721(0x246)](([_0x494e8d,_0x789cab])=>{const _0x4db811=_0x30f721;if(typeof _0x789cab==='object'&&_0x789cab!==null){const _0x386d34=_0x789cab,_0x1201f5=_0x386d34[_0x4db811(0x1f2)]||'',_0x2c7bf8={..._0x386d34};_0x2c7bf8['description']=_0x1201f5?_0x1201f5+_0x4db811(0x41f):_0x4db811(0x1fc),_0xff2844[_0x494e8d]=_0x2c7bf8;}else _0xff2844[_0x494e8d]=_0x789cab;});const _0x55ddb8={...typeof _0x747631===_0x30f721(0x434)?_0x747631:{}};_0x55ddb8[_0x30f721(0x280)]='Number',_0x55ddb8[_0x30f721(0x1f2)]='当前页码';const _0x12cc7e={...typeof _0x1882d3===_0x30f721(0x434)?_0x1882d3:{}};_0x12cc7e[_0x30f721(0x280)]=_0x30f721(0x2c3),_0x12cc7e[_0x30f721(0x1f2)]='每页数量';const _0x230bab={..._0xff2844};return _0x230bab['currentPage']=_0x55ddb8,_0x230bab[_0x30f721(0x2f0)]=_0x12cc7e,_0x230bab;}[a0_0x59051e(0x213)](_0x4def73){const _0x401969=a0_0x59051e,{useArrayValues:useArrayValues=!![]}=_0x4def73||{},_0x192711=super[_0x401969(0x213)](),{currentPage:_0x276656,pageSize:_0x4a5396,..._0x18818e}=_0x192711;if(!useArrayValues){const _0x2a13e9={..._0x18818e};return _0x2a13e9[_0x401969(0x42c)]=_0x276656??0x1,_0x2a13e9['pageSize']=_0x4a5396??0xa,_0x2a13e9;}const _0xdd5529={},_0x231d51=['id',_0x401969(0x300),_0x401969(0x1cb),_0x401969(0x280)];Object[_0x401969(0x3f5)](_0x18818e)[_0x401969(0x246)](([_0x58b946,_0x71991e],_0x3451a2)=>{const _0x455df3=_0x401969,_0x2fc4d2=_0x231d51[_0x455df3(0x2fa)](_0x19226=>_0x58b946['toLowerCase']()[_0x455df3(0x439)](_0x19226))||_0x3451a2%0x3===0x0;if(_0x2fc4d2&&_0x71991e!==null&&_0x71991e!==undefined){if(typeof _0x71991e===_0x455df3(0x29a))_0xdd5529[_0x58b946]=[_0x71991e,_0x71991e+0x1,_0x71991e+0x2];else typeof _0x71991e===_0x455df3(0x236)?_0xdd5529[_0x58b946]=[_0x71991e,_0x71991e+'_2',_0x71991e+'_3']:_0xdd5529[_0x58b946]=[_0x71991e];}else _0xdd5529[_0x58b946]=_0x71991e;});const _0x4facca={..._0xdd5529};return _0x4facca[_0x401969(0x42c)]=_0x276656??0x1,_0x4facca['pageSize']=_0x4a5396??0xa,_0x4facca;}[a0_0x59051e(0x430)](){const _0x5a47d9=a0_0x59051e,_0x1a2812={};return _0x1a2812[_0x5a47d9(0x2b5)]=![],this['generateRequestExample'](_0x1a2812);}[a0_0x59051e(0x386)](){const _0x4c5eaf=a0_0x59051e;return[{'title':_0x4c5eaf(0x3c4),'description':_0x4c5eaf(0x243),'data':this[_0x4c5eaf(0x430)]()},{'title':_0x4c5eaf(0x3c2),'description':_0x4c5eaf(0x273),'data':this[_0x4c5eaf(0x213)]()}];}[a0_0x59051e(0x1e8)](_0x1a5229,_0x27ed6d){const _0x403906=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x27ed6d||{},_0x2dcf24=this[_0x403906(0x1d4)](),_0x177cde={};_0x177cde[_0x403906(0x2b5)]=!![];const _0x4be613=this['generateRequestExample'](_0x177cde),{currentPage:_0xdd9e79,pageSize:_0x4b3be0,..._0x6fa1a9}=_0x4be613;if(useFullExample&&Object['keys'](_0x4be613)['length']>0x0){const _0x3acc72=Object['keys'](_0x6fa1a9)['length']>0x0;if(_0x3acc72){const _0xe8ab92=this[_0x403906(0x430)](),_0x69f9ba=_0x33f88c=>{const _0x2d4582=_0x403906;return JSON[_0x2d4582(0x1ca)](_0x33f88c,null,0x2)[_0x2d4582(0x2c5)]('\x0a')[_0x2d4582(0x390)]((_0x178029,_0x1463a6)=>_0x1463a6===0x0?_0x178029:indent+_0x178029)[_0x2d4582(0x2f5)]('\x0a');};return _0x403906(0x428)+_0x1a5229+'.'+_0x2dcf24+'('+_0x69f9ba(_0xe8ab92)+_0x403906(0x264)+_0x1a5229+'.'+_0x2dcf24+'('+_0x69f9ba(_0x4be613)+');';}else{const _0x27a744=JSON[_0x403906(0x1ca)](_0x4be613,null,0x2)[_0x403906(0x2c5)]('\x0a')[_0x403906(0x390)]((_0x42f584,_0x2da7b5)=>_0x2da7b5===0x0?_0x42f584:indent+_0x42f584)['join']('\x0a');return _0x403906(0x294)+_0x1a5229+'.'+_0x2dcf24+'('+_0x27a744+');';}}if(Object[_0x403906(0x3ba)](_0x6fa1a9)[_0x403906(0x32e)]>0x0){const _0x19af78=Object['keys'](_0x6fa1a9)[0x0];return _0x403906(0x294)+_0x1a5229+'.'+_0x2dcf24+'({\x20'+_0x19af78+',\x20currentPage,\x20pageSize,\x20...\x20});';}return _0x403906(0x294)+_0x1a5229+'.'+_0x2dcf24+'({\x20currentPage,\x20pageSize\x20});';}}var AGGREGATE_FUNCTIONS=[a0_0x59051e(0x32b),a0_0x59051e(0x256),a0_0x59051e(0x30a),a0_0x59051e(0x33b),a0_0x59051e(0x32d)],FILTER_OPERATORS=['$eq',a0_0x59051e(0x44b),a0_0x59051e(0x290),a0_0x59051e(0x38b),a0_0x59051e(0x3ac),a0_0x59051e(0x334),a0_0x59051e(0x3d1),a0_0x59051e(0x2fd),a0_0x59051e(0x262),'$endWith',a0_0x59051e(0x466),a0_0x59051e(0x232)];class FilterOperation extends GenericOperation{constructor(_0x441f44,_0x259c9c,_0x550cd0){super(_0x441f44,_0x259c9c,_0x550cd0);}['getOperators'](){return FILTER_OPERATORS;}['getFieldOperators'](_0x54a1da){const _0xdbd832=a0_0x59051e,_0x56a4b7=this[_0xdbd832(0x3cb)](_0x54a1da);if(!_0x56a4b7)return[];return this[_0xdbd832(0x31d)](_0x56a4b7);}['getRequestParams'](){const _0x3f509d=a0_0x59051e,_0x5294d2=super['getRequestParams'](),_0x35617e={};_0x35617e['type']=_0x3f509d(0x2c6),_0x35617e[_0x3f509d(0x1f2)]=_0x3f509d(0x263),_0x35617e['required']=![];const _0x59b6b1={};_0x59b6b1[_0x3f509d(0x280)]=_0x3f509d(0x3c0),_0x59b6b1[_0x3f509d(0x1f2)]=_0x3f509d(0x228),_0x59b6b1[_0x3f509d(0x2d3)]=![];const _0x168721={};_0x168721[_0x3f509d(0x280)]=_0x3f509d(0x397),_0x168721[_0x3f509d(0x1f2)]=_0x3f509d(0x37a),_0x168721[_0x3f509d(0x2d3)]=![];const _0x30a624={};_0x30a624[_0x3f509d(0x280)]=_0x3f509d(0x2c3),_0x30a624[_0x3f509d(0x1f2)]=_0x3f509d(0x3ec),_0x30a624[_0x3f509d(0x2d3)]=![],_0x30a624[_0x3f509d(0x41b)]=0x1;const _0x3cba99={};_0x3cba99[_0x3f509d(0x280)]='Number',_0x3cba99[_0x3f509d(0x1f2)]=_0x3f509d(0x216),_0x3cba99['required']=![],_0x3cba99['default']=0xa;const _0x2b38b1={..._0x5294d2};return _0x2b38b1[_0x3f509d(0x1f7)]=_0x35617e,_0x2b38b1[_0x3f509d(0x461)]=_0x59b6b1,_0x2b38b1[_0x3f509d(0x202)]=_0x168721,_0x2b38b1[_0x3f509d(0x42c)]=_0x30a624,_0x2b38b1[_0x3f509d(0x2f0)]=_0x3cba99,_0x2b38b1;}[a0_0x59051e(0x20a)](){const _0x48dabd=a0_0x59051e,_0x57772f=this[_0x48dabd(0x2ce)](),_0x12c6f7=[],_0x2d01d5=[_0x48dabd(0x1f7),_0x48dabd(0x461),_0x48dabd(0x202),'currentPage',_0x48dabd(0x2f0)];return Object[_0x48dabd(0x3f5)](_0x57772f)[_0x48dabd(0x246)](([_0x358e70,_0x3d8cd1])=>{const _0x59ef3b=_0x48dabd;if(_0x2d01d5[_0x59ef3b(0x439)](_0x358e70)){const _0x5efd82=_0x3d8cd1,_0x571a3c={};_0x571a3c[_0x59ef3b(0x1cb)]=_0x358e70,_0x571a3c['type']=_0x5efd82[_0x59ef3b(0x280)]||_0x59ef3b(0x2c6),_0x571a3c[_0x59ef3b(0x1f2)]=_0x5efd82[_0x59ef3b(0x1f2)]||'-',_0x12c6f7[_0x59ef3b(0x276)](_0x571a3c);}}),_0x12c6f7;}[a0_0x59051e(0x20e)](){const _0x226eb1=a0_0x59051e;return this[_0x226eb1(0x1f6)][_0x226eb1(0x208)]||[];}[a0_0x59051e(0x1c6)](){const _0x41a93a=a0_0x59051e;return{'systemParams':this[_0x41a93a(0x20a)](),'businessFields':this[_0x41a93a(0x20e)]()};}['generateRequestExample'](){const _0x17913a=a0_0x59051e,_0x46aa17=this[_0x17913a(0x1f6)][_0x17913a(0x208)]||[];if(_0x46aa17[_0x17913a(0x32e)]===0x0){const _0x5d1e4e={};return _0x5d1e4e[_0x17913a(0x1f7)]={},_0x5d1e4e[_0x17913a(0x42c)]=0x1,_0x5d1e4e[_0x17913a(0x2f0)]=0x14,_0x5d1e4e;}const _0x5c6cb6={},_0x3bdba3=_0x46aa17[_0x17913a(0x313)](0x0,Math[_0x17913a(0x32d)](0x3,_0x46aa17[_0x17913a(0x32e)]));_0x3bdba3[_0x17913a(0x246)](_0x73025b=>{const _0x118cbb=_0x17913a,_0x4ca25d=this[_0x118cbb(0x31d)](_0x73025b);if(_0x4ca25d[_0x118cbb(0x32e)]===0x0)return;const _0x3ce5d2=this['selectBestOperator'](_0x73025b,_0x4ca25d),_0x4b1586=this[_0x118cbb(0x309)](_0x73025b,_0x3ce5d2),_0x2df245={};_0x2df245[_0x3ce5d2]=_0x4b1586,_0x5c6cb6[_0x73025b[_0x118cbb(0x1cb)]]=_0x2df245;});const _0x5d4b0d=_0x46aa17[_0x17913a(0x313)](0x0,Math[_0x17913a(0x32d)](0x5,_0x46aa17['length']))[_0x17913a(0x390)](_0x222c73=>_0x222c73[_0x17913a(0x1cb)]),_0x505a9a=_0x46aa17[0x0]?_0x46aa17[0x0]['code']:'id',_0x332ea0={};_0x332ea0[_0x505a9a]='DESC';const _0x265f27={};return _0x265f27['where']=_0x5c6cb6,_0x265f27[_0x17913a(0x461)]=_0x5d4b0d,_0x265f27['orderBy']=[_0x332ea0],_0x265f27[_0x17913a(0x42c)]=0x1,_0x265f27[_0x17913a(0x2f0)]=0x14,_0x265f27;}[a0_0x59051e(0x1e8)](_0x1250e5,_0x367d4d){const _0x320f21=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x367d4d||{},_0xc654f5=this[_0x320f21(0x1d4)](),_0x31d9a8=this[_0x320f21(0x213)](),_0x42df69=_0x285e4d=>{const _0x4c1f19=_0x320f21;return JSON[_0x4c1f19(0x1ca)](_0x285e4d,null,0x2)[_0x4c1f19(0x2c5)]('\x0a')['map']((_0x9c38ad,_0x3e2d04)=>_0x3e2d04===0x0?_0x9c38ad:indent+_0x9c38ad)['join']('\x0a');};if(useFullExample){const _0x5d0feb=this[_0x320f21(0x1f6)][_0x320f21(0x208)]||[],_0x131525={'where':_0x5d0feb[0x0]?{[_0x5d0feb[0x0][_0x320f21(0x1cb)]]:{'$eq':this[_0x320f21(0x309)](_0x5d0feb[0x0],'$eq')}}:{},'select':_0x5d0feb[_0x320f21(0x313)](0x0,0x3)[_0x320f21(0x390)](_0x251e08=>_0x251e08[_0x320f21(0x1cb)]),'currentPage':0x1,'pageSize':0x14};let _0x364872='';if(_0x5d0feb[_0x320f21(0x32e)]>=0x3){const _0x4d45c8={};_0x4d45c8[_0x320f21(0x466)]=[];const _0x15d7c6=_0x4d45c8,_0x3cbf9a=[];if(_0x5d0feb[_0x320f21(0x32e)]>0x0){const _0x18f1d8=_0x5d0feb[_0x320f21(0x42e)](_0x26010c=>{const _0x2a224b=_0x320f21,_0x5f252d=_0x26010c[_0x2a224b(0x2f6)]();return['NUMBER',_0x2a224b(0x444),_0x2a224b(0x222),_0x2a224b(0x361),'TINYINT',_0x2a224b(0x381)]['includes'](_0x5f252d);});if(_0x18f1d8){const _0x471b89={};_0x471b89[_0x320f21(0x290)]=0x0,_0x471b89[_0x320f21(0x3ac)]=0x64;const _0x17827b={[_0x18f1d8['code']]:_0x471b89};_0x3cbf9a['push'](_0x17827b);}}if(_0x5d0feb[_0x320f21(0x32e)]>0x1){const _0x5026d1=_0x5d0feb[_0x320f21(0x42e)](_0x4172c7=>{const _0x453e9c=_0x320f21,_0x19f07b=_0x4172c7[_0x453e9c(0x2f6)]();return['STRING',_0x453e9c(0x3fe),_0x453e9c(0x2aa),_0x453e9c(0x3d9),_0x453e9c(0x45f)][_0x453e9c(0x439)](_0x19f07b);});if(_0x5026d1){const _0xfa3d60={};_0xfa3d60['$contain']=_0x320f21(0x3bc);const _0x2d3fad={[_0x5026d1[_0x320f21(0x1cb)]]:_0xfa3d60};_0x3cbf9a[_0x320f21(0x276)](_0x2d3fad);}}if(_0x3cbf9a[_0x320f21(0x32e)]>0x0){_0x15d7c6[_0x320f21(0x466)]=_0x3cbf9a;const _0x5075d5={'where':_0x15d7c6,'select':_0x5d0feb[_0x320f21(0x313)](0x0,0x4)[_0x320f21(0x390)](_0x103ac7=>_0x103ac7['code']),'orderBy':[{[_0x5d0feb[0x0][_0x320f21(0x1cb)]]:_0x320f21(0x34a)}],'currentPage':0x1,'pageSize':0x14};_0x364872=_0x320f21(0x26d)+_0x1250e5+'.'+_0xc654f5+'('+_0x42df69(_0x5075d5)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x1250e5+'.'+_0xc654f5+'('+_0x42df69(_0x131525)+');'+_0x364872;}const _0x5a9ef8=JSON[_0x320f21(0x1ca)](_0x31d9a8,null,0x2)['split']('\x0a')['map']((_0x252eb0,_0x3c9ae8)=>_0x3c9ae8===0x0?_0x252eb0:indent+_0x252eb0)[_0x320f21(0x2f5)]('\x0a');return _0x320f21(0x294)+_0x1250e5+'.'+_0xc654f5+'('+_0x5a9ef8+');';}[a0_0x59051e(0x31d)](_0x38d0ff){const _0x1359e9=a0_0x59051e,_0xaa2f83=_0x38d0ff[_0x1359e9(0x2f6)](),_0x4cf0c5=[];if([_0x1359e9(0x2d6),_0x1359e9(0x444),'BIGINT','DECIMAL'][_0x1359e9(0x439)](_0xaa2f83)||[_0x1359e9(0x361),_0x1359e9(0x3f1),_0x1359e9(0x381),_0x1359e9(0x299),'FLOAT'][_0x1359e9(0x439)](_0xaa2f83))_0x4cf0c5[_0x1359e9(0x276)](_0x1359e9(0x31e),'$ne',_0x1359e9(0x290),_0x1359e9(0x3ac),_0x1359e9(0x38b),_0x1359e9(0x334),_0x1359e9(0x3d1));else{if([_0x1359e9(0x286),_0x1359e9(0x3fe),_0x1359e9(0x2aa)][_0x1359e9(0x439)](_0xaa2f83)||[_0x1359e9(0x3d9),'LONGTEXT'][_0x1359e9(0x439)](_0xaa2f83))_0x4cf0c5[_0x1359e9(0x276)](_0x1359e9(0x31e),_0x1359e9(0x44b),_0x1359e9(0x3d1),_0x1359e9(0x2fd),_0x1359e9(0x262),_0x1359e9(0x267));else{if(['DATE','DATETIME',_0x1359e9(0x1fa)]['includes'](_0xaa2f83)||[_0x1359e9(0x3e2)][_0x1359e9(0x439)](_0xaa2f83))_0x4cf0c5[_0x1359e9(0x276)](_0x1359e9(0x31e),_0x1359e9(0x44b),_0x1359e9(0x290),_0x1359e9(0x3ac),'$gteq',_0x1359e9(0x334));else['BOOLEAN',_0x1359e9(0x462),'BIT'][_0x1359e9(0x439)](_0xaa2f83)?_0x4cf0c5[_0x1359e9(0x276)](_0x1359e9(0x31e),'$ne'):_0x4cf0c5[_0x1359e9(0x276)](_0x1359e9(0x31e),'$ne');}}return _0x4cf0c5;}[a0_0x59051e(0x2ac)](_0x46bd06,_0x1c2b09){const _0x9076cf=a0_0x59051e,_0x6547c8=_0x46bd06[_0x9076cf(0x2f6)]();if([_0x9076cf(0x2d6),_0x9076cf(0x444),_0x9076cf(0x222),_0x9076cf(0x447)][_0x9076cf(0x439)](_0x6547c8)||['INT',_0x9076cf(0x3f1),_0x9076cf(0x381),_0x9076cf(0x299),_0x9076cf(0x37c)][_0x9076cf(0x439)](_0x6547c8))return _0x1c2b09[_0x9076cf(0x439)](_0x9076cf(0x290))?_0x9076cf(0x290):_0x9076cf(0x31e);if([_0x9076cf(0x286),_0x9076cf(0x3fe),'VARCHAR'][_0x9076cf(0x439)](_0x6547c8)||[_0x9076cf(0x3d9),_0x9076cf(0x45f)][_0x9076cf(0x439)](_0x6547c8))return _0x1c2b09[_0x9076cf(0x439)](_0x9076cf(0x2fd))?_0x9076cf(0x2fd):_0x9076cf(0x31e);if([_0x9076cf(0x23c),_0x9076cf(0x1da),_0x9076cf(0x1fa),'TIME']['includes'](_0x6547c8))return _0x1c2b09[_0x9076cf(0x439)](_0x9076cf(0x290))?_0x9076cf(0x290):_0x9076cf(0x31e);return _0x9076cf(0x31e);}[a0_0x59051e(0x309)](_0x47a121,_0x5a54dd){const _0x46033b=a0_0x59051e,_0x502c32=_0x47a121[_0x46033b(0x2f6)](),_0x20df47=_0x47a121[_0x46033b(0x288)]();if(_0x20df47&&_0x20df47[_0x46033b(0x32e)]>0x0){if(_0x5a54dd===_0x46033b(0x3d1))return _0x20df47[_0x46033b(0x313)](0x0,0x2)[_0x46033b(0x390)](_0x111dd5=>_0x111dd5[_0x46033b(0x43b)]);return _0x20df47[0x0][_0x46033b(0x43b)];}if([_0x46033b(0x2d6),_0x46033b(0x444),_0x46033b(0x222),_0x46033b(0x447)][_0x46033b(0x439)](_0x502c32)||['INT','TINYINT',_0x46033b(0x381),_0x46033b(0x299),_0x46033b(0x37c)][_0x46033b(0x439)](_0x502c32)){if(_0x5a54dd==='$in')return[0x1,0x2,0x3];if(_0x5a54dd===_0x46033b(0x290)||_0x5a54dd==='$gteq')return 0x0;if(_0x5a54dd===_0x46033b(0x3ac)||_0x5a54dd==='$lteq')return 0x64;return 0x1;}if(['STRING',_0x46033b(0x3fe),_0x46033b(0x2aa)][_0x46033b(0x439)](_0x502c32)||['CHAR',_0x46033b(0x45f)][_0x46033b(0x439)](_0x502c32)){if(_0x5a54dd===_0x46033b(0x3d1))return['value1','value2'];if(_0x5a54dd===_0x46033b(0x2fd))return _0x46033b(0x3bc);if(_0x5a54dd==='$startWith')return _0x46033b(0x315);if(_0x5a54dd===_0x46033b(0x267))return'suffix';return _0x46033b(0x43b);}if(['DATE',_0x46033b(0x1da),_0x46033b(0x1fa),_0x46033b(0x3e2)][_0x46033b(0x439)](_0x502c32)){if(_0x5a54dd===_0x46033b(0x290)||_0x5a54dd===_0x46033b(0x38b))return _0x46033b(0x3de);if(_0x5a54dd==='$lte'||_0x5a54dd===_0x46033b(0x334))return _0x46033b(0x32c);return _0x46033b(0x3de);}if([_0x46033b(0x21f),'BOOL',_0x46033b(0x406)][_0x46033b(0x439)](_0x502c32))return!![];return _0x5a54dd===_0x46033b(0x3d1)?[_0x46033b(0x2de),_0x46033b(0x328)]:_0x46033b(0x43b);}[a0_0x59051e(0x388)](){const _0x3b15e4=a0_0x59051e,_0x29f242=super[_0x3b15e4(0x2ce)](),_0x906b6b=Object[_0x3b15e4(0x3f5)](_0x29f242)[_0x3b15e4(0x3a8)](([_0x916e6f])=>_0x916e6f!==_0x3b15e4(0x42c)&&_0x916e6f!==_0x3b15e4(0x2f0))[_0x3b15e4(0x390)](([_0x5a01cb,_0x2473bd])=>{const _0x474c37=_0x3b15e4,_0x334910=_0x2473bd,_0x587af6={};return _0x587af6[_0x474c37(0x2e6)]=_0x5a01cb,_0x587af6[_0x474c37(0x280)]=_0x334910[_0x474c37(0x280)]||_0x474c37(0x248),_0x587af6[_0x474c37(0x1f2)]=_0x334910[_0x474c37(0x1f2)]||'-',_0x587af6['required']=_0x334910[_0x474c37(0x2d3)],_0x587af6;}),_0x1f2465={};return _0x1f2465[_0x3b15e4(0x1f2)]=_0x3b15e4(0x418),_0x1f2465[_0x3b15e4(0x2cf)]=_0x906b6b,_0x1f2465;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x2db3f2=a0_0x59051e,_0x25462a=super[_0x2db3f2(0x2ce)]();if(Object[_0x2db3f2(0x3ba)](_0x25462a)[_0x2db3f2(0x32e)]===0x0){const _0x2f51ab={};this['context'][_0x2db3f2(0x208)][_0x2db3f2(0x246)](_0x42d378=>{const _0x123b1f=_0x2db3f2;if(_0x42d378){const _0x49ed5a=_0x42d378[_0x123b1f(0x1cb)],_0x44ec9e=_0x42d378[_0x123b1f(0x2f6)](),_0x566d82={};_0x566d82[_0x123b1f(0x280)]=_0x44ec9e||'TEXT',_0x566d82['sortNum']=_0x42d378[_0x123b1f(0x3ea)],_0x566d82[_0x123b1f(0x1f2)]=_0x42d378['description']||_0x42d378[_0x123b1f(0x2e6)],_0x2f51ab[_0x49ed5a]=_0x566d82;}});const _0x55596c={};_0x55596c['type']=_0x2db3f2(0x41c),_0x55596c[_0x2db3f2(0x1f2)]=_0x2db3f2(0x31c),_0x2f51ab[_0x2db3f2(0x42c)]=_0x55596c;const _0x559b8c={};return _0x559b8c[_0x2db3f2(0x280)]=_0x2db3f2(0x41c),_0x559b8c[_0x2db3f2(0x1f2)]=_0x2db3f2(0x215),_0x2f51ab[_0x2db3f2(0x2f0)]=_0x559b8c,_0x2f51ab;}return _0x25462a;}[a0_0x59051e(0x213)](){const _0x4ae51e=a0_0x59051e,_0x5f3dfb=super[_0x4ae51e(0x213)]();if(Object[_0x4ae51e(0x3ba)](_0x5f3dfb)[_0x4ae51e(0x32e)]===0x0){const _0xedebfd={};return _0xedebfd[_0x4ae51e(0x42c)]=0x1,_0xedebfd[_0x4ae51e(0x2f0)]=0x64,_0xedebfd;}const _0x445f5c={..._0x5f3dfb};return _0x445f5c[_0x4ae51e(0x42c)]=_0x5f3dfb[_0x4ae51e(0x42c)]??0x1,_0x445f5c['pageSize']=_0x5f3dfb[_0x4ae51e(0x2f0)]??0x64,_0x445f5c;}[a0_0x59051e(0x38a)](){const _0x1bd3ee=a0_0x59051e,_0x46e849={};return _0x46e849[_0x1bd3ee(0x305)]=!![],_0x46e849[_0x1bd3ee(0x44d)]='',_0x46e849[_0x1bd3ee(0x2e1)]='',_0x46e849[_0x1bd3ee(0x3b1)]=_0x1bd3ee(0x266),_0x46e849[_0x1bd3ee(0x316)]=_0x1bd3ee(0x3a0),_0x46e849[_0x1bd3ee(0x2cf)]=null,_0x46e849;}[a0_0x59051e(0x1e8)](_0x4779d9,_0x579021){const _0x6053c8=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x579021||{},_0x97f53a=this[_0x6053c8(0x1d4)]();if(useFullExample){const _0x9918c1=this[_0x6053c8(0x213)](),{currentPage:_0x46902e,pageSize:_0x53d82c,..._0x1c759a}=_0x9918c1,_0x2933dd=Object[_0x6053c8(0x3ba)](_0x1c759a)['length']>0x0;if(_0x2933dd){const _0x44dca6=_0x3a11ba=>{const _0xf46b27=_0x6053c8;return JSON[_0xf46b27(0x1ca)](_0x3a11ba,null,0x2)['split']('\x0a')[_0xf46b27(0x390)]((_0x56b947,_0x2374b6)=>_0x2374b6===0x0?_0x56b947:indent+_0x56b947)['join']('\x0a');};return _0x6053c8(0x433)+_0x4779d9+'.'+_0x97f53a+_0x6053c8(0x34d)+_0x4779d9+'.'+_0x97f53a+'('+_0x44dca6(_0x9918c1)+');';}else{const _0x567367=_0x4f4ff8=>{const _0xb8716=_0x6053c8;return JSON['stringify'](_0x4f4ff8,null,0x2)[_0xb8716(0x2c5)]('\x0a')[_0xb8716(0x390)]((_0x299c42,_0x48cae8)=>_0x48cae8===0x0?_0x299c42:indent+_0x299c42)['join']('\x0a');},_0x511bc1={};return _0x511bc1[_0x6053c8(0x42c)]=0x1,_0x511bc1[_0x6053c8(0x2f0)]=0x64,_0x6053c8(0x433)+_0x4779d9+'.'+_0x97f53a+_0x6053c8(0x375)+_0x4779d9+'.'+_0x97f53a+'('+_0x567367(_0x511bc1)+');';}}return _0x6053c8(0x28e)+_0x4779d9+'.'+_0x97f53a+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}[a0_0x59051e(0x402)](_0x34d253){const _0x33ddb8=a0_0x59051e,_0x2efdca=this[_0x33ddb8(0x1d4)](),_0x1472b4=_0x34d253||'yourModel',_0xd0dac0='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x1472b4+'.'+_0x2efdca+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x1e84bf=_0x33ddb8(0x40b)+_0x1472b4+'.'+_0x2efdca+_0x33ddb8(0x2ec),_0x12f874={};return _0x12f874[_0x33ddb8(0x207)]=_0xd0dac0,_0x12f874[_0x33ddb8(0x3b1)]=_0x1e84bf,_0x12f874;}}class UpdateOperation extends GenericOperation{[a0_0x59051e(0x435)](){const _0x2a0436=a0_0x59051e;return this[_0x2a0436(0x356)]();}['getRequestParams'](){const _0x205e3a=a0_0x59051e,_0x56115e=this[_0x205e3a(0x435)](),_0x4b4f25={};_0x4b4f25[_0x205e3a(0x280)]='NUMBER',_0x4b4f25[_0x205e3a(0x1f2)]=_0x205e3a(0x3bd),_0x4b4f25[_0x205e3a(0x2d3)]=!![];const _0x12e08b={};_0x12e08b[_0x205e3a(0x280)]=_0x205e3a(0x434),_0x12e08b[_0x205e3a(0x1f2)]=_0x205e3a(0x411),_0x12e08b[_0x205e3a(0x2d3)]=!![],_0x12e08b[_0x205e3a(0x376)]=_0x56115e;const _0x37844d={};return _0x37844d['id']=_0x4b4f25,_0x37844d[_0x205e3a(0x316)]=_0x12e08b,_0x37844d;}[a0_0x59051e(0x2cb)](){const _0x32cd2d=a0_0x59051e;return this[_0x32cd2d(0x435)]();}['getHTTPFields'](){const _0xf55e43=a0_0x59051e,_0x81b219=this['context'][_0xf55e43(0x208)]||[],_0x530f88=this[_0xf55e43(0x1f6)][_0xf55e43(0x46c)],_0x51c04f=_0x81b219[_0xf55e43(0x42e)](_0x16e75a=>_0x16e75a[_0xf55e43(0x3a4)]()||_0x16e75a[_0xf55e43(0x1cb)]===_0x530f88),_0x2a2557=_0x81b219[_0xf55e43(0x3a8)](_0x321d8b=>{const _0x29a113=_0xf55e43;if(_0x321d8b[_0x29a113(0x44a)])return![];if(_0x321d8b===_0x51c04f||_0x321d8b[_0x29a113(0x3a4)]())return![];if(_0x321d8b[_0x29a113(0x2ae)]()||_0x321d8b[_0x29a113(0x20d)]())return![];if(_0x321d8b['isAutoIncrement']())return![];return!![];});return _0x51c04f?[_0x51c04f,..._0x2a2557]:_0x2a2557;}[a0_0x59051e(0x2ba)](){const _0x553f08=a0_0x59051e,_0x3018f4=this[_0x553f08(0x20c)](),_0xecd135=this[_0x553f08(0x1f6)]['pkField'],_0x58831f=_0x3018f4['map'](_0x5af233=>{const _0x174a4a=_0x553f08,_0x10108c=_0x5af233[_0x174a4a(0x3a4)]()||_0x5af233[_0x174a4a(0x1cb)]===_0xecd135,_0x4bbc68=_0x10108c?'id':_0x5af233[_0x174a4a(0x1cb)],_0x1bf41b={};return _0x1bf41b[_0x174a4a(0x2e6)]=_0x4bbc68,_0x1bf41b[_0x174a4a(0x280)]=_0x5af233[_0x174a4a(0x280)],_0x1bf41b[_0x174a4a(0x1f2)]=_0x10108c?'主键,用于定位要更新的记录'+(_0xecd135&&_0xecd135!==_0x5af233[_0x174a4a(0x1cb)]?_0x174a4a(0x1ea)+_0x5af233[_0x174a4a(0x1cb)]+')':''):_0x5af233[_0x174a4a(0x1f2)]||_0x5af233[_0x174a4a(0x2e6)],_0x1bf41b;}),_0x43067a={};return _0x43067a[_0x553f08(0x1f2)]=_0x553f08(0x26c),_0x43067a[_0x553f08(0x2cf)]=_0x58831f,_0x43067a;}[a0_0x59051e(0x388)](){const _0x48bc34=a0_0x59051e,_0x199a87=this[_0x48bc34(0x435)](),_0x385dd1=Object['entries'](_0x199a87)[_0x48bc34(0x390)](([_0xa7e455,_0x21f793])=>{const _0x6cd9a4=_0x48bc34,_0x552cc1=_0x21f793,_0x408962={};return _0x408962['name']=_0xa7e455,_0x408962[_0x6cd9a4(0x280)]=_0x552cc1[_0x6cd9a4(0x280)]||_0x6cd9a4(0x248),_0x408962[_0x6cd9a4(0x1f2)]=_0x552cc1['description']||'-',_0x408962;}),_0x754c7d={};return _0x754c7d[_0x48bc34(0x1f2)]=_0x48bc34(0x1c7)+_0x48bc34(0x200)+_0x48bc34(0x30d)+_0x48bc34(0x317)+_0x48bc34(0x31b)+_0x48bc34(0x25b),_0x754c7d[_0x48bc34(0x2cf)]=_0x385dd1,_0x754c7d;}[a0_0x59051e(0x213)](){const _0x39f74c=a0_0x59051e,_0x14f874=this[_0x39f74c(0x435)](),_0x15230c={};Object[_0x39f74c(0x3f5)](_0x14f874)[_0x39f74c(0x246)](([_0x1a109c,_0x22eaba])=>{const _0x3d798f=_0x39f74c,_0x2e35c3=_0x22eaba;let _0x4a7def;if(typeof _0x2e35c3['type']===_0x3d798f(0x236))_0x4a7def=_0x2e35c3['type'];else _0x2e35c3['type']&&typeof _0x2e35c3[_0x3d798f(0x280)]==='object'?_0x4a7def=_0x2e35c3[_0x3d798f(0x280)][_0x3d798f(0x280)]||_0x3d798f(0x3fe):_0x4a7def=_0x3d798f(0x3fe);const _0x4cc1ff=_0x2e35c3[_0x3d798f(0x1f2)],_0x2f5057=this[_0x3d798f(0x3cb)](_0x1a109c);_0x15230c[_0x1a109c]=this['generateFieldExample'](_0x1a109c,_0x4a7def,_0x2f5057?.[_0x3d798f(0x2f6)](),{'isPrimaryKey':![],'description':_0x4cc1ff||_0x2f5057?.[_0x3d798f(0x1f2)]||_0x2f5057?.[_0x3d798f(0x2e6)]});});const _0x2832ae={};return _0x2832ae['id']=0x1,_0x2832ae['data']=_0x15230c,_0x2832ae;}['generateRequestAllExamples'](){const _0x1f80db=a0_0x59051e,_0x44781b=this[_0x1f80db(0x213)](),_0x281d5e={};return _0x281d5e['title']=_0x1f80db(0x35e),_0x281d5e['description']=_0x1f80db(0x253)+'-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a'+_0x1f80db(0x40e),_0x281d5e[_0x1f80db(0x316)]=_0x44781b,[_0x281d5e,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x1f80db(0x3f9)+_0x1f80db(0x1ff)+_0x1f80db(0x1de),'data':this[_0x1f80db(0x3f7)]()}];}[a0_0x59051e(0x3f7)](){const _0x190fd5=a0_0x59051e,_0x24361a=this[_0x190fd5(0x435)](),_0x19ceb6={};_0x19ceb6['id']=0x1;const _0x47be7a=_0x19ceb6;return Object[_0x190fd5(0x3f5)](_0x24361a)[_0x190fd5(0x246)](([_0x598495,_0x550580])=>{const _0x5740c7=_0x190fd5,_0x28855a=_0x550580;let _0x58616a;if(typeof _0x28855a['type']==='string')_0x58616a=_0x28855a[_0x5740c7(0x280)];else _0x28855a[_0x5740c7(0x280)]&&typeof _0x28855a[_0x5740c7(0x280)]==='object'?_0x58616a=_0x28855a[_0x5740c7(0x280)][_0x5740c7(0x280)]||_0x5740c7(0x3fe):_0x58616a=_0x5740c7(0x3fe);const _0xb56bc9=_0x28855a[_0x5740c7(0x1f2)],_0x3b3b97=this['getFieldDefinition'](_0x598495);if(_0x3b3b97?.[_0x5740c7(0x3a4)]())return;_0x47be7a[_0x598495]=this[_0x5740c7(0x427)](_0x598495,_0x58616a,_0x3b3b97?.[_0x5740c7(0x2f6)](),{'isPrimaryKey':![],'description':_0xb56bc9||_0x3b3b97?.['description']||_0x3b3b97?.[_0x5740c7(0x2e6)]});}),_0x47be7a;}[a0_0x59051e(0x3e0)](){const _0x1a544c=a0_0x59051e;return this[_0x1a544c(0x3f7)]();}[a0_0x59051e(0x1e8)](_0x23c786,_0x27005b){const _0x90fb2f=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x27005b||{},_0x3f81ee=this[_0x90fb2f(0x1d4)]();if(useFullExample){const _0xd61c7f=this['generateRequestExample'](),_0x466064=JSON[_0x90fb2f(0x1ca)](_0xd61c7f[_0x90fb2f(0x316)],null,0x2)[_0x90fb2f(0x2c5)]('\x0a')[_0x90fb2f(0x390)]((_0x550091,_0x282a6b)=>_0x282a6b===0x0?_0x550091:indent+_0x550091)[_0x90fb2f(0x2f5)]('\x0a');return _0x90fb2f(0x294)+_0x23c786+'.'+_0x3f81ee+'('+_0xd61c7f['id']+',\x20'+_0x466064+');';}return _0x90fb2f(0x294)+_0x23c786+'.'+_0x3f81ee+_0x90fb2f(0x22e);}}class AggregateOperation extends GenericOperation{constructor(_0x431a18,_0x1ee680,_0x81729f){super(_0x431a18,_0x1ee680,_0x81729f);}['normalizeDbType'](_0x33d7d5){const _0x243bf7=a0_0x59051e;return _0x33d7d5[_0x243bf7(0x210)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()[_0x243bf7(0x40a)]();}[a0_0x59051e(0x458)](){return AGGREGATE_FUNCTIONS;}[a0_0x59051e(0x2ce)](){const _0x43535e=a0_0x59051e,_0x38b181=super[_0x43535e(0x2ce)](),_0x4a2129={};_0x4a2129[_0x43535e(0x280)]=_0x43535e(0x3c0),_0x4a2129[_0x43535e(0x1f2)]=_0x43535e(0x303),_0x4a2129[_0x43535e(0x2d3)]=![];const _0x4ddb36={};_0x4ddb36[_0x43535e(0x280)]=_0x43535e(0x2c6),_0x4ddb36[_0x43535e(0x1f2)]=_0x43535e(0x2a5),_0x4ddb36[_0x43535e(0x2d3)]=![];const _0x2bf6c9={};_0x2bf6c9['type']=_0x43535e(0x3c0),_0x2bf6c9[_0x43535e(0x1f2)]=_0x43535e(0x318),_0x2bf6c9[_0x43535e(0x2d3)]=![];const _0x514f69={};_0x514f69[_0x43535e(0x280)]=_0x43535e(0x36b),_0x514f69[_0x43535e(0x1f2)]=_0x43535e(0x1e2),_0x514f69['required']=![];const _0x3d7b6a={};_0x3d7b6a[_0x43535e(0x280)]=_0x43535e(0x36b),_0x3d7b6a['description']='分组后的过滤条件(对聚合结果进行过滤)',_0x3d7b6a[_0x43535e(0x2d3)]=![];const _0x1de405={};_0x1de405[_0x43535e(0x280)]='Array',_0x1de405[_0x43535e(0x1f2)]=_0x43535e(0x1c0),_0x1de405[_0x43535e(0x2d3)]=![];const _0x3cdc94={};_0x3cdc94['type']=_0x43535e(0x2c3),_0x3cdc94[_0x43535e(0x1f2)]='当前页码(从\x201\x20开始,默认:\x201)',_0x3cdc94[_0x43535e(0x2d3)]=![];const _0x3da367={};_0x3da367[_0x43535e(0x280)]=_0x43535e(0x2c3),_0x3da367[_0x43535e(0x1f2)]='每页数量(默认:\x2020)',_0x3da367[_0x43535e(0x2d3)]=![];const _0x966d78={..._0x38b181};return _0x966d78[_0x43535e(0x461)]=_0x4a2129,_0x966d78[_0x43535e(0x1f7)]=_0x4ddb36,_0x966d78[_0x43535e(0x235)]=_0x2bf6c9,_0x966d78[_0x43535e(0x1b3)]=_0x514f69,_0x966d78[_0x43535e(0x3f6)]=_0x3d7b6a,_0x966d78['orderBy']=_0x1de405,_0x966d78['currentPage']=_0x3cdc94,_0x966d78[_0x43535e(0x2f0)]=_0x3da367,_0x966d78;}[a0_0x59051e(0x20a)](){const _0x638a85=a0_0x59051e,_0x1f5627={};_0x1f5627[_0x638a85(0x1cb)]='select',_0x1f5627[_0x638a85(0x280)]=_0x638a85(0x3c0),_0x1f5627[_0x638a85(0x1f2)]=_0x638a85(0x303);const _0x54f1bc={};_0x54f1bc[_0x638a85(0x1cb)]=_0x638a85(0x1f7),_0x54f1bc['type']=_0x638a85(0x2c6),_0x54f1bc[_0x638a85(0x1f2)]=_0x638a85(0x2a5);const _0x4037e5={};_0x4037e5[_0x638a85(0x1cb)]=_0x638a85(0x235),_0x4037e5['type']='String[]',_0x4037e5[_0x638a85(0x1f2)]=_0x638a85(0x318);const _0x23855b={};_0x23855b['code']=_0x638a85(0x1b3),_0x23855b[_0x638a85(0x280)]=_0x638a85(0x36b),_0x23855b[_0x638a85(0x1f2)]=_0x638a85(0x23a);const _0x29e1e8={};_0x29e1e8['code']=_0x638a85(0x3f6),_0x29e1e8[_0x638a85(0x280)]=_0x638a85(0x36b),_0x29e1e8['description']=_0x638a85(0x3d3);const _0x47c32a={};_0x47c32a[_0x638a85(0x1cb)]=_0x638a85(0x202),_0x47c32a[_0x638a85(0x280)]=_0x638a85(0x36b),_0x47c32a[_0x638a85(0x1f2)]=_0x638a85(0x1c0);const _0x3c658f={};_0x3c658f[_0x638a85(0x1cb)]='currentPage',_0x3c658f['type']='Number',_0x3c658f['description']='当前页码(从\x201\x20开始,默认:\x201)';const _0x161c94={};return _0x161c94[_0x638a85(0x1cb)]='pageSize',_0x161c94['type']=_0x638a85(0x2c3),_0x161c94[_0x638a85(0x1f2)]='每页数量(默认:\x2020)',[_0x1f5627,_0x54f1bc,_0x4037e5,_0x23855b,_0x29e1e8,_0x47c32a,_0x3c658f,_0x161c94];}['generateRequestExample'](){const _0x5ebb99=a0_0x59051e,_0x2669a5=this[_0x5ebb99(0x1f6)]['fields']||[];if(_0x2669a5[_0x5ebb99(0x32e)]===0x0){const _0x54768d={};return _0x54768d['where']={},_0x54768d[_0x5ebb99(0x235)]=[],_0x54768d[_0x5ebb99(0x1b3)]=[],_0x54768d;}const _0x42e46d={},_0x589b91=_0x2669a5['slice'](0x0,Math[_0x5ebb99(0x32d)](0x3,_0x2669a5[_0x5ebb99(0x32e)]));_0x589b91['forEach'](_0x249ecb=>{const _0x1f9143=_0x5ebb99,_0x52e8f7=this[_0x1f9143(0x31d)](_0x249ecb);if(_0x52e8f7[_0x1f9143(0x32e)]===0x0)return;const _0x59ac9c=this[_0x1f9143(0x2ac)](_0x249ecb,_0x52e8f7),_0x5393cb=this[_0x1f9143(0x309)](_0x249ecb,_0x59ac9c),_0x24a43e={};_0x24a43e[_0x59ac9c]=_0x5393cb,_0x42e46d[_0x249ecb[_0x1f9143(0x1cb)]]=_0x24a43e;});const _0x31e93e=_0x2669a5['slice'](0x0,Math[_0x5ebb99(0x32d)](0x2,_0x2669a5[_0x5ebb99(0x32e)]))[_0x5ebb99(0x390)](_0xc4af66=>_0xc4af66['code']),_0x2516f7=[],_0x297c21=_0x2669a5['filter'](_0x555600=>this[_0x5ebb99(0x1cc)](_0x555600));if(_0x297c21['length']>0x0){const _0x1b495d=_0x297c21[0x0],_0x164ab2=_0x1b495d[_0x5ebb99(0x1cb)],_0x2f22c1={};_0x2f22c1[_0x5ebb99(0x280)]=_0x5ebb99(0x32b),_0x2f22c1[_0x5ebb99(0x43a)]=_0x164ab2,_0x2f22c1[_0x5ebb99(0x2c8)]=_0x164ab2+_0x5ebb99(0x33e),_0x2f22c1[_0x5ebb99(0x1bf)]=![],_0x2f22c1[_0x5ebb99(0x337)]=!![],_0x2f22c1['precision']=0x2,_0x2516f7[_0x5ebb99(0x276)](_0x2f22c1);const _0x5c29f2={};_0x5c29f2[_0x5ebb99(0x280)]='avg',_0x5c29f2[_0x5ebb99(0x43a)]=_0x164ab2,_0x5c29f2[_0x5ebb99(0x2c8)]=_0x164ab2+'_avg',_0x5c29f2['distinct']=![],_0x5c29f2[_0x5ebb99(0x337)]=!![],_0x5c29f2['precision']=0x2,_0x2516f7['push'](_0x5c29f2);const _0x2dd500={};_0x2dd500[_0x5ebb99(0x280)]=_0x5ebb99(0x33b),_0x2dd500[_0x5ebb99(0x43a)]=_0x164ab2,_0x2dd500[_0x5ebb99(0x2c8)]=_0x164ab2+'_max',_0x2dd500[_0x5ebb99(0x1bf)]=![],_0x2dd500[_0x5ebb99(0x337)]=!![],_0x2dd500[_0x5ebb99(0x1f4)]=0x2,_0x2516f7[_0x5ebb99(0x276)](_0x2dd500);const _0x2389b4={};_0x2389b4['type']=_0x5ebb99(0x32d),_0x2389b4[_0x5ebb99(0x43a)]=_0x164ab2,_0x2389b4[_0x5ebb99(0x2c8)]=_0x164ab2+_0x5ebb99(0x3b0),_0x2389b4[_0x5ebb99(0x1bf)]=![],_0x2389b4['round']=!![],_0x2389b4[_0x5ebb99(0x1f4)]=0x2,_0x2516f7[_0x5ebb99(0x276)](_0x2389b4);}else{if(_0x2669a5[_0x5ebb99(0x32e)]>0x0){const _0x143029=_0x2669a5[0x0],_0x1523fd=_0x143029[_0x5ebb99(0x1cb)],_0x447fd2={};_0x447fd2[_0x5ebb99(0x280)]=_0x5ebb99(0x256),_0x447fd2['column']=_0x1523fd,_0x447fd2[_0x5ebb99(0x2c8)]=_0x5ebb99(0x24f),_0x447fd2['distinct']=!![],_0x2516f7[_0x5ebb99(0x276)](_0x447fd2);}}const _0x57e6f5=[];if(_0x2669a5[_0x5ebb99(0x32e)]>0x0){const _0x11f051=_0x2669a5[0x0][_0x5ebb99(0x1cb)],_0x283b62={};_0x283b62[_0x11f051]=_0x5ebb99(0x3e9),_0x57e6f5[_0x5ebb99(0x276)](_0x283b62);}const _0xbdf405=[..._0x31e93e,..._0x2516f7['map'](_0x4df190=>_0x4df190[_0x5ebb99(0x2c8)])],_0x241702=[];if(_0x2516f7[_0x5ebb99(0x32e)]>0x0){const _0x32ea6f={};_0x32ea6f[_0x5ebb99(0x290)]=0x0;const _0x380c4c={};_0x380c4c[_0x5ebb99(0x3fb)]=_0x2516f7[0x0][_0x5ebb99(0x2c8)],_0x380c4c[_0x5ebb99(0x1d9)]=_0x32ea6f,_0x241702['push'](_0x380c4c);}const _0x53b070={};return _0x53b070[_0x5ebb99(0x461)]=_0xbdf405,_0x53b070[_0x5ebb99(0x1f7)]=_0x42e46d,_0x53b070['groupBy']=_0x31e93e,_0x53b070[_0x5ebb99(0x1b3)]=_0x2516f7,_0x53b070['having']=_0x241702[_0x5ebb99(0x32e)]>0x0?_0x241702:undefined,_0x53b070['orderBy']=_0x57e6f5,_0x53b070[_0x5ebb99(0x42c)]=0x1,_0x53b070['pageSize']=0x14,_0x53b070;}[a0_0x59051e(0x1e8)](_0x9ac05d,_0x579f6d){const _0x2a8641=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x579f6d||{},_0xa66162=this['getName'](),_0x1bea3e=this[_0x2a8641(0x213)](),_0x50323f=_0x135e4e=>{const _0x46b585=_0x2a8641;return JSON[_0x46b585(0x1ca)](_0x135e4e,null,0x2)[_0x46b585(0x2c5)]('\x0a')['map']((_0x3a56b2,_0x35518f)=>_0x35518f===0x0?_0x3a56b2:indent+_0x3a56b2)[_0x46b585(0x2f5)]('\x0a');};if(useFullExample){const _0x5780d5=this[_0x2a8641(0x1f6)][_0x2a8641(0x208)]||[],_0x574b33=_0x5780d5['filter'](_0x29e4af=>this[_0x2a8641(0x1cc)](_0x29e4af)),_0xcd87a9={'where':_0x5780d5[0x0]?{[_0x5780d5[0x0][_0x2a8641(0x1cb)]]:{'$eq':this[_0x2a8641(0x309)](_0x5780d5[0x0],_0x2a8641(0x31e))}}:{},'aggregate':_0x574b33[_0x2a8641(0x32e)]>0x0?[{'type':'sum','column':_0x574b33[0x0][_0x2a8641(0x1cb)],'alias':_0x574b33[0x0][_0x2a8641(0x1cb)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x2a8641(0x256),'column':_0x5780d5[0x0][_0x2a8641(0x1cb)],'alias':_0x2a8641(0x24f),'distinct':!![]}],'orderBy':[{[_0x5780d5[0x0][_0x2a8641(0x1cb)]]:_0x2a8641(0x3e9)}]};let _0xe96cb5='';return _0x5780d5[_0x2a8641(0x32e)]>=0x3&&(_0xe96cb5='\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x9ac05d+'.'+_0xa66162+'('+_0x50323f(_0x1bea3e)+');'),_0x2a8641(0x358)+_0x9ac05d+'.'+_0xa66162+'('+_0x50323f(_0xcd87a9)+');'+_0xe96cb5;}const _0x3f70a7=JSON[_0x2a8641(0x1ca)](_0x1bea3e,null,0x2)['split']('\x0a')['map']((_0x22e267,_0x2142fe)=>_0x2142fe===0x0?_0x22e267:indent+_0x22e267)[_0x2a8641(0x2f5)]('\x0a');return _0x2a8641(0x294)+_0x9ac05d+'.'+_0xa66162+'('+_0x3f70a7+');';}[a0_0x59051e(0x1cc)](_0x2a6a9b){const _0x2645e6=a0_0x59051e,_0x5385ff=_0x2a6a9b[_0x2645e6(0x2f6)]();return[_0x2645e6(0x2d6),_0x2645e6(0x444),_0x2645e6(0x222),_0x2645e6(0x447)][_0x2645e6(0x439)](_0x5385ff)||[_0x2645e6(0x361),_0x2645e6(0x3f1),_0x2645e6(0x381),'DOUBLE',_0x2645e6(0x37c)][_0x2645e6(0x439)](_0x5385ff);}['getApplicableOperators'](_0xe86120){const _0x29f355=a0_0x59051e,_0x8115eb=_0xe86120[_0x29f355(0x2f6)](),_0x2807f5=[];if([_0x29f355(0x2d6),_0x29f355(0x444),_0x29f355(0x222),'DECIMAL'][_0x29f355(0x439)](_0x8115eb)||[_0x29f355(0x361),_0x29f355(0x3f1),'SMALLINT',_0x29f355(0x299),'FLOAT']['includes'](_0x8115eb))_0x2807f5['push'](_0x29f355(0x31e),_0x29f355(0x44b),_0x29f355(0x290),_0x29f355(0x3ac),_0x29f355(0x38b),_0x29f355(0x334),'$in');else{if(['STRING',_0x29f355(0x3fe),_0x29f355(0x2aa)][_0x29f355(0x439)](_0x8115eb)||['CHAR','LONGTEXT'][_0x29f355(0x439)](_0x8115eb))_0x2807f5[_0x29f355(0x276)]('$eq',_0x29f355(0x44b),'$in',_0x29f355(0x2fd),_0x29f355(0x262),_0x29f355(0x267));else{if([_0x29f355(0x23c),_0x29f355(0x1da),_0x29f355(0x1fa)][_0x29f355(0x439)](_0x8115eb)||[_0x29f355(0x3e2)][_0x29f355(0x439)](_0x8115eb))_0x2807f5['push']('$eq',_0x29f355(0x44b),_0x29f355(0x290),_0x29f355(0x3ac),_0x29f355(0x38b),_0x29f355(0x334));else[_0x29f355(0x21f),_0x29f355(0x462),_0x29f355(0x406)][_0x29f355(0x439)](_0x8115eb)?_0x2807f5['push'](_0x29f355(0x31e),_0x29f355(0x44b)):_0x2807f5[_0x29f355(0x276)]('$eq',_0x29f355(0x44b));}}return _0x2807f5;}['selectBestOperator'](_0x3141de,_0x3eb867){const _0x4f75b1=a0_0x59051e,_0xb7ff7f=_0x3141de[_0x4f75b1(0x2f6)]();if([_0x4f75b1(0x2d6),_0x4f75b1(0x444),_0x4f75b1(0x222),_0x4f75b1(0x447)][_0x4f75b1(0x439)](_0xb7ff7f)||[_0x4f75b1(0x361),_0x4f75b1(0x3f1),_0x4f75b1(0x381),_0x4f75b1(0x299),'FLOAT'][_0x4f75b1(0x439)](_0xb7ff7f))return _0x3eb867[_0x4f75b1(0x439)]('$gte')?_0x4f75b1(0x290):'$eq';if([_0x4f75b1(0x286),_0x4f75b1(0x3fe),_0x4f75b1(0x2aa)][_0x4f75b1(0x439)](_0xb7ff7f)||[_0x4f75b1(0x3d9),_0x4f75b1(0x45f)]['includes'](_0xb7ff7f))return _0x3eb867['includes']('$contain')?_0x4f75b1(0x2fd):_0x4f75b1(0x31e);if([_0x4f75b1(0x23c),_0x4f75b1(0x1da),_0x4f75b1(0x1fa),_0x4f75b1(0x3e2)][_0x4f75b1(0x439)](_0xb7ff7f))return _0x3eb867[_0x4f75b1(0x439)](_0x4f75b1(0x290))?_0x4f75b1(0x290):'$eq';return _0x4f75b1(0x31e);}[a0_0x59051e(0x309)](_0x96546c,_0x9ee578){const _0x140944=a0_0x59051e,_0x291f77=_0x96546c[_0x140944(0x2f6)](),_0x4b2ffe=_0x96546c[_0x140944(0x288)]();if(_0x4b2ffe&&_0x4b2ffe[_0x140944(0x32e)]>0x0){if(_0x9ee578===_0x140944(0x3d1))return _0x4b2ffe[_0x140944(0x313)](0x0,0x2)[_0x140944(0x390)](_0x43c55b=>_0x43c55b[_0x140944(0x43b)]);return _0x4b2ffe[0x0]['value'];}if(['NUMBER','INTEGER',_0x140944(0x222),_0x140944(0x447)][_0x140944(0x439)](_0x291f77)||[_0x140944(0x361),_0x140944(0x3f1),'SMALLINT',_0x140944(0x299),_0x140944(0x37c)][_0x140944(0x439)](_0x291f77)){if(_0x9ee578===_0x140944(0x3d1))return[0x1,0x2,0x3];if(_0x9ee578===_0x140944(0x290)||_0x9ee578===_0x140944(0x38b))return 0x0;if(_0x9ee578===_0x140944(0x3ac)||_0x9ee578===_0x140944(0x334))return 0x64;return 0x1;}if([_0x140944(0x286),_0x140944(0x3fe),_0x140944(0x2aa)][_0x140944(0x439)](_0x291f77)||[_0x140944(0x3d9),_0x140944(0x45f)][_0x140944(0x439)](_0x291f77)){if(_0x9ee578===_0x140944(0x3d1))return[_0x140944(0x2de),'value2'];if(_0x9ee578===_0x140944(0x2fd))return _0x140944(0x3bc);if(_0x9ee578===_0x140944(0x262))return _0x140944(0x315);if(_0x9ee578===_0x140944(0x267))return _0x140944(0x330);return _0x140944(0x43b);}if([_0x140944(0x23c),_0x140944(0x1da),_0x140944(0x1fa),'TIME'][_0x140944(0x439)](_0x291f77)){if(_0x9ee578===_0x140944(0x290)||_0x9ee578===_0x140944(0x38b))return _0x140944(0x3de);if(_0x9ee578===_0x140944(0x3ac)||_0x9ee578===_0x140944(0x334))return'2024-12-31';return _0x140944(0x3de);}if([_0x140944(0x21f),'BOOL',_0x140944(0x406)][_0x140944(0x439)](_0x291f77))return!![];return _0x9ee578===_0x140944(0x3d1)?[_0x140944(0x2de),'value2']:_0x140944(0x43b);}[a0_0x59051e(0x388)](){const _0x1197f4=a0_0x59051e,_0x1880b7=this['getRequestParams'](),_0x3337fe=Object[_0x1197f4(0x3f5)](_0x1880b7)['filter'](([_0x5e9696])=>_0x5e9696!==_0x1197f4(0x42c)&&_0x5e9696!==_0x1197f4(0x2f0))[_0x1197f4(0x390)](([_0x4a5847,_0x2b4821])=>{const _0x55c822=_0x1197f4,_0x5c3f8a=_0x2b4821,_0x1047bc={};return _0x1047bc[_0x55c822(0x2e6)]=_0x4a5847,_0x1047bc['type']=_0x5c3f8a[_0x55c822(0x280)]||_0x55c822(0x248),_0x1047bc['description']=_0x5c3f8a[_0x55c822(0x1f2)]||'-',_0x1047bc[_0x55c822(0x2d3)]=_0x5c3f8a['required'],_0x1047bc;}),_0x1ed212={};return _0x1ed212['description']=_0x1197f4(0x352),_0x1ed212[_0x1197f4(0x2cf)]=_0x3337fe,_0x1ed212;}[a0_0x59051e(0x38a)](){const _0x118fc5=a0_0x59051e,_0x568ef8=this['generateRequestExample']()[_0x118fc5(0x1b3)],_0x2d4fc0=[{}],_0x57793f=[];_0x568ef8?.[_0x118fc5(0x246)](_0x533cc7=>{const _0x11fbe0=_0x118fc5,_0x22cf05={};_0x22cf05[_0x11fbe0(0x2a4)]=_0x533cc7[_0x11fbe0(0x2c8)],_0x22cf05[_0x11fbe0(0x3dc)]=_0x533cc7[_0x11fbe0(0x2c8)],_0x57793f[_0x11fbe0(0x276)](_0x22cf05),_0x2d4fc0[0x0][_0x533cc7[_0x11fbe0(0x2c8)]]=_0x533cc7[_0x11fbe0(0x280)]===_0x11fbe0(0x256)?0x64:Math[_0x11fbe0(0x337)](Math[_0x11fbe0(0x21b)]()*0x64*0x64)/0x64;});const _0x508a3f={};_0x508a3f[_0x118fc5(0x2f0)]=0x1,_0x508a3f[_0x118fc5(0x1f0)]=0x64,_0x508a3f[_0x118fc5(0x42c)]=0x1;const _0x265574={};_0x265574[_0x118fc5(0x281)]=_0x508a3f,_0x265574[_0x118fc5(0x465)]=_0x2d4fc0,_0x265574[_0x118fc5(0x3ab)]=_0x57793f;const _0x3a5ed6={};return _0x3a5ed6[_0x118fc5(0x305)]=!![],_0x3a5ed6[_0x118fc5(0x44d)]='',_0x3a5ed6[_0x118fc5(0x2e1)]='',_0x3a5ed6[_0x118fc5(0x3b1)]=_0x118fc5(0x266),_0x3a5ed6[_0x118fc5(0x316)]=_0x265574,_0x3a5ed6[_0x118fc5(0x2cf)]=null,_0x3a5ed6;}}class OperationFactory{[a0_0x59051e(0x382)](_0x167ad3,_0x21148c,_0x362b7c){const _0x5bddf3=a0_0x59051e;switch(_0x167ad3){case _0x5bddf3(0x238):return new GetSelectOptionsOperation(_0x167ad3,_0x21148c,_0x362b7c);case _0x5bddf3(0x339):return new GetListOperation(_0x167ad3,_0x21148c,_0x362b7c);case _0x5bddf3(0x3a8):return new FilterOperation(_0x167ad3,_0x21148c,_0x362b7c);case _0x5bddf3(0x33d):return new ExcelExportOperation(_0x167ad3,_0x21148c,_0x362b7c);case _0x5bddf3(0x234):return new UpdateOperation(_0x167ad3,_0x21148c,_0x362b7c);case'aggregate':return new AggregateOperation(_0x167ad3,_0x21148c,_0x362b7c);default:return new GenericOperation(_0x167ad3,_0x21148c,_0x362b7c);}}[a0_0x59051e(0x3b2)](_0x2962a9,_0x41062a){const _0x5cc6be=a0_0x59051e,_0xcc9f5f=new Map();return Object[_0x5cc6be(0x3f5)](_0x2962a9)['forEach'](([_0x1409ef,_0x3edea9])=>{const _0xb22532=_0x5cc6be;_0xcc9f5f[_0xb22532(0x380)](_0x1409ef,this[_0xb22532(0x382)](_0x1409ef,_0x3edea9,_0x41062a));}),_0xcc9f5f;}}class OperationList{['_operations'];constructor(_0x47d42c,_0x2b5269){const _0x3767c7=a0_0x59051e,_0x3dca57=new OperationFactory();this['_operations']=_0x3dca57[_0x3767c7(0x3b2)](_0x47d42c,_0x2b5269);}['get'](_0x12e799){const _0x4d3e77=a0_0x59051e;return this[_0x4d3e77(0x338)][_0x4d3e77(0x2a8)](_0x12e799);}[a0_0x59051e(0x370)](_0x484f6e){const _0x5a7e93=a0_0x59051e;return this[_0x5a7e93(0x338)][_0x5a7e93(0x370)](_0x484f6e);}[a0_0x59051e(0x203)](){const _0x393da7=a0_0x59051e;return this[_0x393da7(0x338)][_0x393da7(0x203)];}[a0_0x59051e(0x289)](){const _0x493124=a0_0x59051e;return Array[_0x493124(0x2f2)](this[_0x493124(0x338)]['keys']());}[a0_0x59051e(0x2f3)](){const _0x1e4157=a0_0x59051e,_0x259bde=Array[_0x1e4157(0x2f2)](this[_0x1e4157(0x338)][_0x1e4157(0x34f)]());return this[_0x1e4157(0x357)](_0x259bde);}[a0_0x59051e(0x1b2)](){const _0x255063=a0_0x59051e;return this[_0x255063(0x2f3)]()['filter'](_0x1bb168=>_0x1bb168['isEnabled']());}[a0_0x59051e(0x2c7)](){const _0x564a33=a0_0x59051e;return this[_0x564a33(0x2f3)]()[_0x564a33(0x3a8)](_0x544a96=>!_0x544a96[_0x564a33(0x3b3)]());}[a0_0x59051e(0x2ed)](){const _0x4e65c6=a0_0x59051e;return this['getEnabled']()[_0x4e65c6(0x390)](_0x4ac4b6=>_0x4ac4b6['getName']());}[a0_0x59051e(0x3fd)](){const _0x424d98=a0_0x59051e;return this['getDisabled']()[_0x424d98(0x390)](_0xcb9fb1=>_0xcb9fb1['getName']());}[a0_0x59051e(0x362)](_0x1f11dd){const _0x38f308=a0_0x59051e;return this[_0x38f308(0x2f3)]()[_0x38f308(0x3a8)](_0x46f309=>_0x46f309[_0x38f308(0x321)]()===_0x1f11dd);}['filter'](_0x54eab2){return this['toArray']()['filter'](_0x54eab2);}['getFiltered'](_0x73ec3e={}){const _0x2ae9b7=a0_0x59051e;let _0x1a421a=this[_0x2ae9b7(0x2f3)]();!_0x73ec3e[_0x2ae9b7(0x225)]&&(_0x1a421a=_0x1a421a['filter'](_0x4f5450=>_0x4f5450[_0x2ae9b7(0x3b3)]()));if(_0x73ec3e[_0x2ae9b7(0x2b2)]!==![]){const _0x586795=_0x1a421a['map'](_0x585464=>({'name':_0x585464[_0x2ae9b7(0x1d4)](),'operation':_0x585464})),_0x48dd2f=filterApiOperations(_0x586795);_0x1a421a=_0x48dd2f[_0x2ae9b7(0x390)](_0x286f17=>_0x286f17['operation']),_0x1a421a=this['sortOperationsWithFilterFirst'](_0x1a421a);}return _0x73ec3e[_0x2ae9b7(0x27e)]&&(_0x1a421a=_0x1a421a['filter'](_0x73ec3e[_0x2ae9b7(0x27e)])),_0x1a421a;}[a0_0x59051e(0x357)](_0x25f253){const _0x3a774e=a0_0x59051e,_0x5a3a6d=_0x25f253[_0x3a774e(0x42e)](_0x1e5eff=>_0x1e5eff[_0x3a774e(0x1d4)]()===_0x3a774e(0x3a8)),_0x54d796=_0x25f253[_0x3a774e(0x3a8)](_0x9a504d=>_0x9a504d[_0x3a774e(0x1d4)]()!==_0x3a774e(0x3a8));return _0x5a3a6d?[_0x5a3a6d,..._0x54d796]:_0x54d796;}[a0_0x59051e(0x419)](){const _0x51e114=a0_0x59051e,_0x4ef388=this[_0x51e114(0x1b2)]();return{'total':this[_0x51e114(0x203)](),'enabled':_0x4ef388[_0x51e114(0x32e)],'disabled':this['size']()-_0x4ef388[_0x51e114(0x32e)],'byType':this[_0x51e114(0x325)](_0x4ef388),'byMethod':this[_0x51e114(0x33c)](_0x4ef388)};}[a0_0x59051e(0x325)](_0x54d60f){const _0x431279=a0_0x59051e,_0xe8e966={};return _0x54d60f[_0x431279(0x246)](_0x241d75=>{const _0x573cd=_0x431279,_0x4bfb6e=_0x241d75[_0x573cd(0x321)]();_0x4bfb6e&&(_0xe8e966[_0x4bfb6e]=(_0xe8e966[_0x4bfb6e]||0x0)+0x1);}),_0xe8e966;}['getCountByMethod'](_0x1cd39c){const _0x22b3ec=a0_0x59051e,_0x519449={};return _0x1cd39c[_0x22b3ec(0x246)](_0x54700c=>{const _0x103c49=_0x54700c['getMethod']();_0x103c49&&(_0x519449[_0x103c49]=(_0x519449[_0x103c49]||0x0)+0x1);}),_0x519449;}[Symbol['iterator']](){const _0x24b7dd=a0_0x59051e;return this[_0x24b7dd(0x338)]['values']();}['toString'](){const _0x351dc6=a0_0x59051e,_0x5dc646=this[_0x351dc6(0x419)]();return _0x351dc6(0x429)+_0x5dc646[_0x351dc6(0x441)]+'/'+_0x5dc646[_0x351dc6(0x2b8)]+_0x351dc6(0x43c);}}class DBConfig{['raw'];['dbId'];[a0_0x59051e(0x2be)];[a0_0x59051e(0x2d2)];[a0_0x59051e(0x258)];[a0_0x59051e(0x424)];[a0_0x59051e(0x250)];['pkField'];[a0_0x59051e(0x28f)];[a0_0x59051e(0x1d3)];constructor(_0xcc96b7,_0x1b4a72){const _0x52f76f=a0_0x59051e;this[_0x52f76f(0x3fa)]=_0x1b4a72,this['dbId']=_0xcc96b7[_0x52f76f(0x420)],this[_0x52f76f(0x2be)]=_0xcc96b7[_0x52f76f(0x2be)],this[_0x52f76f(0x2d2)]=_0xcc96b7['dbType'],this[_0x52f76f(0x258)]=_0xcc96b7[_0x52f76f(0x258)],this[_0x52f76f(0x424)]=_0xcc96b7[_0x52f76f(0x424)],this['datasetKey']=_0xcc96b7[_0x52f76f(0x250)],this[_0x52f76f(0x46c)]=_0xcc96b7[_0x52f76f(0x46c)],this[_0x52f76f(0x28f)]=_0xcc96b7[_0x52f76f(0x28f)],this[_0x52f76f(0x1d3)]=_0xcc96b7['appCode'];}['getRaw'](){const _0x54ce05=a0_0x59051e;return this[_0x54ce05(0x3fa)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x59051e(0x1d5)];[a0_0x59051e(0x2db)];['_fieldListWithDeleted'];constructor(_0x5b8650){const _0x4c2737=a0_0x59051e,_0x58ba53={..._0x5b8650};_0x58ba53['id']=_0x5b8650['modelId']||_0x5b8650['id'],_0x58ba53[_0x4c2737(0x43e)]=_0x5b8650[_0x4c2737(0x1cd)]||_0x5b8650[_0x4c2737(0x43e)]||_0x5b8650[_0x4c2737(0x1cb)],super(_0x58ba53);}[a0_0x59051e(0x298)](){return;}[a0_0x59051e(0x2ee)](){return[];}[a0_0x59051e(0x405)](){return[];}get['source'](){const _0x27929c=a0_0x59051e;return this[_0x27929c(0x239)]();}[a0_0x59051e(0x378)](){const _0x53c128=a0_0x59051e;if(!this['_fieldList'])throw new Error(_0x53c128(0x340));return this[_0x53c128(0x2db)];}[a0_0x59051e(0x3dd)](){const _0x26251a=a0_0x59051e;if(!this[_0x26251a(0x341)])throw new Error(_0x26251a(0x46b));return this['_fieldListWithDeleted'];}[a0_0x59051e(0x3cd)](){return[];}[a0_0x59051e(0x3ae)](){const _0x51a78b=a0_0x59051e,_0x2ea564=this[_0x51a78b(0x414)]();return _0x2ea564[_0x51a78b(0x208)];}[a0_0x59051e(0x367)](){const _0x250954=a0_0x59051e;return this['getFields']()[_0x250954(0x32e)];}[a0_0x59051e(0x395)](_0x3a910c){const _0x4b8e94=a0_0x59051e,_0x5b5da4=this[_0x4b8e94(0x227)](_0x3a910c);return _0x5b5da4?_0x5b5da4[_0x4b8e94(0x3fa)]:undefined;}[a0_0x59051e(0x469)](_0x1bf9b6){return;}['parseFieldExtend'](_0x4f08ae){const _0x4b432b=a0_0x59051e;if(!_0x4f08ae||typeof _0x4f08ae!==_0x4b432b(0x434))return!![]&&console['warn'](_0x4b432b(0x2eb),_0x4f08ae),{};if(_0x4b432b(0x46c)in _0x4f08ae){const _0xaceb4f=_0x4f08ae;return{'primaryKey':typeof _0xaceb4f['pkField']==='boolean'?_0xaceb4f[_0x4b432b(0x46c)]:Boolean(_0xaceb4f[_0x4b432b(0x46c)]),'required':_0xaceb4f[_0x4b432b(0x2d3)],'systemRetain':Boolean(_0xaceb4f['systemRetain']),'autoIncrement':_0xaceb4f[_0x4b432b(0x312)]??undefined};}if(!(_0x4b432b(0x293)in _0x4f08ae)||!_0x4f08ae[_0x4b432b(0x293)])return{};try{const _0x116515=typeof _0x4f08ae['extend']===_0x4b432b(0x236)?JSON['parse'](_0x4f08ae['extend']):_0x4f08ae[_0x4b432b(0x293)];if(typeof _0x116515!==_0x4b432b(0x434)||_0x116515===null)return{};return _0x116515;}catch{return{};}}[a0_0x59051e(0x2a1)](){const _0x14232a=a0_0x59051e;if(!this[_0x14232a(0x1d5)]){const _0x24c540=this[_0x14232a(0x407)](this[_0x14232a(0x3f4)]()||{});this[_0x14232a(0x1d5)]=new OperationList(_0x24c540,{'fields':this[_0x14232a(0x378)]()['all'](),'pkField':this[_0x14232a(0x261)][_0x14232a(0x36c)]?.[_0x14232a(0x46c)],'dbtableConfig':this['_raw'][_0x14232a(0x36c)]||null});}return this[_0x14232a(0x1d5)];}[a0_0x59051e(0x407)](_0x51b5a3){const _0x229820=a0_0x59051e;if(_0x51b5a3[_0x229820(0x3a8)]!==undefined)return _0x51b5a3;return{..._0x51b5a3,'filter':this[_0x229820(0x366)]()};}[a0_0x59051e(0x366)](){const _0x3489b8=a0_0x59051e,_0x53d4b6=this[_0x3489b8(0x3f4)]()?.[_0x3489b8(0x339)];let _0x3733d7=_0x53d4b6?.[_0x3489b8(0x329)],_0x3bb6dc='';if(!_0x3733d7&&this[_0x3489b8(0x3f4)]()){const _0x37e33d=Object[_0x3489b8(0x34f)](this['getOperationsData']());for(const _0x59217e of _0x37e33d){if(_0x59217e&&typeof _0x59217e===_0x3489b8(0x434)&&_0x3489b8(0x329)in _0x59217e){_0x3733d7=_0x59217e['host'];break;}}}if(_0x53d4b6?.[_0x3489b8(0x377)]){const _0x1f80ed=_0x53d4b6[_0x3489b8(0x377)],_0x3cc8fd=_0x1f80ed['lastIndexOf']('/');_0x3cc8fd!==-0x1&&(_0x3bb6dc=_0x1f80ed['substring'](0x0,_0x3cc8fd));}const _0x3585f0={};_0x3585f0[_0x3489b8(0x2e6)]='where',_0x3585f0[_0x3489b8(0x280)]=_0x3489b8(0x434),_0x3585f0[_0x3489b8(0x2d3)]=![];const _0x5a1342={};_0x5a1342['name']='select',_0x5a1342[_0x3489b8(0x280)]=_0x3489b8(0x323),_0x5a1342['required']=![];const _0x321ffe={};_0x321ffe[_0x3489b8(0x2e6)]=_0x3489b8(0x202),_0x321ffe['type']=_0x3489b8(0x323),_0x321ffe[_0x3489b8(0x2d3)]=![];const _0x161674={};_0x161674[_0x3489b8(0x2e6)]=_0x3489b8(0x42c),_0x161674[_0x3489b8(0x280)]='number',_0x161674['required']=![],_0x161674[_0x3489b8(0x41b)]=0x1;const _0x2477f5={};_0x2477f5['name']=_0x3489b8(0x2f0),_0x2477f5['type']=_0x3489b8(0x29a),_0x2477f5[_0x3489b8(0x2d3)]=![],_0x2477f5[_0x3489b8(0x41b)]=0xa;const _0x5b16f7={};return _0x5b16f7['name']=_0x3489b8(0x3a8),_0x5b16f7[_0x3489b8(0x280)]=_0x3489b8(0x2d4),_0x5b16f7[_0x3489b8(0x1f2)]=_0x3489b8(0x237),_0x5b16f7[_0x3489b8(0x2f9)]=_0x3489b8(0x219),_0x5b16f7[_0x3489b8(0x329)]=_0x3733d7,_0x5b16f7[_0x3489b8(0x377)]=_0x3bb6dc?_0x3bb6dc+_0x3489b8(0x2c0):_0x3489b8(0x2c0),_0x5b16f7[_0x3489b8(0x2cf)]=_0x53d4b6?.['params']||[_0x3585f0,_0x5a1342,_0x321ffe,_0x161674,_0x2477f5],_0x5b16f7['_autoGenerated']=!![],_0x5b16f7;}[a0_0x59051e(0x450)](){const _0x445f9c=a0_0x59051e;return this[_0x445f9c(0x2a1)]()[_0x445f9c(0x2f3)]();}[a0_0x59051e(0x214)](){const _0x1f4048=a0_0x59051e;return this[_0x1f4048(0x2a1)]()['size']();}[a0_0x59051e(0x46e)](_0x2e4893){const _0x1cbcb3=a0_0x59051e;if(typeof _0x2e4893!=='string'){!![]&&console[_0x1cbcb3(0x24e)](_0x1cbcb3(0x231),_0x2e4893);return;}return this['getOperationList']()[_0x1cbcb3(0x2a8)](_0x2e4893);}[a0_0x59051e(0x2cc)](_0x1f6a87){const _0x245410=a0_0x59051e;if(typeof _0x1f6a87!=='string')return![];return this['getOperationList']()[_0x245410(0x370)](_0x1f6a87);}[a0_0x59051e(0x38f)](_0x10f472){const _0x2d24e2=a0_0x59051e;if(typeof _0x10f472!==_0x2d24e2(0x236))return![];const _0x8cdc70=this[_0x2d24e2(0x46e)](_0x10f472);return _0x8cdc70?.['isEnabled']()||![];}['getEnabledOperations'](){const _0x592b96=a0_0x59051e;return this[_0x592b96(0x2a1)]()[_0x592b96(0x2ed)]();}[a0_0x59051e(0x3f2)](){const _0x3257bf=a0_0x59051e;return this['getOperationList']()[_0x3257bf(0x3fd)]();}[a0_0x59051e(0x1b4)](){const _0x3bcea2=a0_0x59051e;return this['getOperationList']()[_0x3bcea2(0x1b2)]();}[a0_0x59051e(0x43f)](){const _0x4b3180=a0_0x59051e;return this[_0x4b3180(0x2a1)]()[_0x4b3180(0x2c7)]();}[a0_0x59051e(0x1d2)](_0x45ab70={}){const _0x318cce=a0_0x59051e;return this[_0x318cce(0x2a1)]()['getFiltered'](_0x45ab70);}[a0_0x59051e(0x419)](){const _0xbddb5a=a0_0x59051e;return{'fieldCount':this[_0xbddb5a(0x367)](),'systemFieldCount':this['getSystemFields']()[_0xbddb5a(0x32e)],'businessFieldCount':this[_0xbddb5a(0x20e)]()[_0xbddb5a(0x32e)],'requiredFieldCount':this[_0xbddb5a(0x2b4)]()[_0xbddb5a(0x32e)],'primaryKeyCount':this[_0xbddb5a(0x26e)]()[_0xbddb5a(0x32e)],'operationCount':this[_0xbddb5a(0x214)](),'enabledOperationCount':this[_0xbddb5a(0x1f9)]()[_0xbddb5a(0x32e)]};}[a0_0x59051e(0x1be)](_0x197d88){const _0x450513=a0_0x59051e;if(!_0x197d88||typeof _0x197d88!==_0x450513(0x434))return'';if(_0x450513(0x1cb)in _0x197d88&&typeof _0x197d88[_0x450513(0x1cb)]==='string')return _0x197d88[_0x450513(0x1cb)];if(_0x450513(0x2e6)in _0x197d88&&typeof _0x197d88[_0x450513(0x2e6)]===_0x450513(0x236))return _0x197d88[_0x450513(0x2e6)];return'';}[a0_0x59051e(0x22f)](_0x26512c){const _0x220210=a0_0x59051e;return this[_0x220210(0x378)]()[_0x220210(0x370)](_0x26512c);}[a0_0x59051e(0x3bb)](_0x444898){const _0x4e8341=a0_0x59051e;if(!_0x444898||typeof _0x444898!==_0x4e8341(0x434))return![];const _0x3434da=this[_0x4e8341(0x1be)](_0x444898),_0x2b66bd=this[_0x4e8341(0x227)](_0x3434da);return _0x2b66bd?_0x2b66bd[_0x4e8341(0x3a4)]():![];}[a0_0x59051e(0x455)](_0x422f47){const _0x2fa92b=a0_0x59051e;if(!_0x422f47||typeof _0x422f47!==_0x2fa92b(0x434))return![];const _0x301213=this[_0x2fa92b(0x1be)](_0x422f47),_0xd17a41=this[_0x2fa92b(0x227)](_0x301213);return _0xd17a41?_0xd17a41[_0x2fa92b(0x38c)]():![];}[a0_0x59051e(0x2cd)](_0x49fd2a){const _0x10239e=a0_0x59051e;if(!_0x49fd2a||typeof _0x49fd2a!==_0x10239e(0x434))return![];const _0x1ac6e2=this['getFieldCode'](_0x49fd2a),_0x1aa4a7=this[_0x10239e(0x227)](_0x1ac6e2);return _0x1aa4a7?_0x1aa4a7[_0x10239e(0x241)]():![];}[a0_0x59051e(0x454)](_0x1af927){const _0x80dfd2=a0_0x59051e;if(!_0x1af927||typeof _0x1af927!=='object')return![];const _0x2e018e=this[_0x80dfd2(0x1be)](_0x1af927),_0x4b3e81=this['getFieldInstance'](_0x2e018e);return _0x4b3e81?_0x4b3e81[_0x80dfd2(0x31a)]():![];}[a0_0x59051e(0x42b)](_0x5a8874){const _0x599be9=a0_0x59051e;if(!_0x5a8874||typeof _0x5a8874!==_0x599be9(0x434))return![];const _0x34f536=this[_0x599be9(0x1be)](_0x5a8874),_0x78991f=this[_0x599be9(0x227)](_0x34f536);return _0x78991f?_0x78991f[_0x599be9(0x3a3)]():![];}[a0_0x59051e(0x35d)](_0x273231){const _0x19f7cf=a0_0x59051e;if(!_0x273231||typeof _0x273231!==_0x19f7cf(0x434))return[];const _0x19e6a3=this[_0x19f7cf(0x1be)](_0x273231),_0x422d54=this['getFieldInstance'](_0x19e6a3);if(!_0x422d54||!_0x422d54[_0x19f7cf(0x31a)]())return[];return _0x422d54['getEnumOptions']()||[];}[a0_0x59051e(0x467)](_0x110704){const _0xba91b6=a0_0x59051e;if(!_0x110704||typeof _0x110704!==_0xba91b6(0x434))return;const _0x27db47=this[_0xba91b6(0x1be)](_0x110704),_0x5f31e4=this[_0xba91b6(0x227)](_0x27db47);if(!_0x5f31e4||!_0x5f31e4['isEnum']())return;return _0x5f31e4['getSelectItemsSource']();}[a0_0x59051e(0x1c3)](_0x163ab4){const _0x466f4a=a0_0x59051e;if(!_0x163ab4||typeof _0x163ab4!==_0x466f4a(0x434))return;const _0x5cc21f=this[_0x466f4a(0x1be)](_0x163ab4),_0x26b346=this[_0x466f4a(0x227)](_0x5cc21f);if(!_0x26b346||!_0x26b346[_0x466f4a(0x31a)]())return;return _0x26b346[_0x466f4a(0x336)]();}[a0_0x59051e(0x26e)](){const _0x38ae06=a0_0x59051e;return this[_0x38ae06(0x378)]()['getPrimaryKeys']()['map'](_0x1c6272=>_0x1c6272['raw']);}[a0_0x59051e(0x20a)](){const _0x31a07f=a0_0x59051e;return this[_0x31a07f(0x378)]()[_0x31a07f(0x36f)]()[_0x31a07f(0x390)](_0x4249fe=>_0x4249fe[_0x31a07f(0x3fa)]);}[a0_0x59051e(0x20e)](){const _0x5923e9=a0_0x59051e;return this[_0x5923e9(0x378)]()[_0x5923e9(0x269)]()[_0x5923e9(0x390)](_0x1e4535=>_0x1e4535[_0x5923e9(0x3fa)]);}[a0_0x59051e(0x2b4)](){const _0x5e434c=a0_0x59051e;return this['getFieldList']()[_0x5e434c(0x438)]()[_0x5e434c(0x390)](_0x452e45=>_0x452e45[_0x5e434c(0x3fa)]);}[a0_0x59051e(0x379)](){const _0x3ec79d=a0_0x59051e,_0x41b0ef=this[_0x3ec79d(0x378)]()[_0x3ec79d(0x3b7)](),_0x264a33={};for(const [_0x1e8033,_0x531778]of Object[_0x3ec79d(0x3f5)](_0x41b0ef)){_0x264a33[_0x1e8033]=_0x531778['map'](_0x4e0f15=>_0x4e0f15['raw']);}return _0x264a33;}[a0_0x59051e(0x1c5)](){const _0x29b242=a0_0x59051e;return this[_0x29b242(0x378)]()[_0x29b242(0x320)]()[_0x29b242(0x390)](_0x3882f3=>_0x3882f3['raw']);}['getEnumFieldsMeta'](){const _0x81fc2c=a0_0x59051e,_0x298de3={};return this[_0x81fc2c(0x1c5)]()['forEach'](_0x347172=>{const _0x32469e=_0x81fc2c,_0x441fcb=this['getEnumFieldMeta'](_0x347172);if(_0x441fcb){const _0x491a97=this[_0x32469e(0x1be)](_0x347172);_0x298de3[_0x491a97]=_0x441fcb;}}),_0x298de3;}[a0_0x59051e(0x23e)](_0x45d8dc,_0x15b03d){const _0xa379bd=a0_0x59051e,_0x2fc905=this[_0xa379bd(0x1c3)](_0x45d8dc);if(!_0x2fc905)return!![];if(_0x2fc905[_0xa379bd(0x326)]&&!_0x2fc905[_0xa379bd(0x25c)])return!![];const _0x556f98=this[_0xa379bd(0x1be)](_0x45d8dc),_0x5dc3fb=this[_0xa379bd(0x227)](_0x556f98),_0x2f086b=_0x5dc3fb?_0x5dc3fb[_0xa379bd(0x3a3)]():![];if(_0x2f086b&&Array[_0xa379bd(0x2e0)](_0x15b03d))return _0x15b03d[_0xa379bd(0x468)](_0x46f024=>_0x2fc905[_0xa379bd(0x34f)]['includes'](_0x46f024));return _0x2fc905[_0xa379bd(0x34f)][_0xa379bd(0x439)](_0x15b03d);}[a0_0x59051e(0x311)](){const _0x470f23=a0_0x59051e;return new DatasetItem({'id':this['id'],'name':this[_0x470f23(0x2e6)],'datasetCode':this[_0x470f23(0x43e)],'dbtableConfig':this[_0x470f23(0x2a9)]()});}[a0_0x59051e(0x3c8)](){const _0x1e33e2=a0_0x59051e;return _0x1e33e2(0x30e)+this['name']+',\x20'+this[_0x1e33e2(0x43e)]+',\x20'+this[_0x1e33e2(0x367)]()+'\x20fields,\x20'+this[_0x1e33e2(0x214)]()+_0x1e33e2(0x457)+this[_0x1e33e2(0x265)]()+')';}['getFilterOperators'](){const _0x47104f=a0_0x59051e;return this[_0x47104f(0x201)](_0x47104f(0x3a8));}[a0_0x59051e(0x3df)](_0x52f4d5){const _0x587cff=a0_0x59051e;return this['getOperationFieldOperators'](_0x587cff(0x3a8),_0x52f4d5);}[a0_0x59051e(0x2fe)](){const _0x20f921=a0_0x59051e;return this[_0x20f921(0x28b)](_0x20f921(0x3a8));}['getOperationOperators'](_0xf1ae41){const _0xfc8694=a0_0x59051e,_0x3891e2=this[_0xfc8694(0x46e)](_0xf1ae41);return _0x3891e2?_0x3891e2[_0xfc8694(0x295)]():[];}[a0_0x59051e(0x2b1)](_0x561934,_0x4f2f2b){const _0x563bfa=a0_0x59051e,_0x45a951=this[_0x563bfa(0x46e)](_0x561934);return _0x45a951?_0x45a951[_0x563bfa(0x437)](_0x4f2f2b):[];}['getOperationFieldsOperatorsMap'](_0x34c13a){const _0x3de6ac=a0_0x59051e,_0x5d1508={};return this[_0x3de6ac(0x378)]()['forEach'](_0x4e9ee4=>{const _0x4b0de2=_0x3de6ac,_0x5aef6b=this[_0x4b0de2(0x2b1)](_0x34c13a,_0x4e9ee4[_0x4b0de2(0x1cb)]);_0x5aef6b['length']>0x0&&(_0x5d1508[_0x4e9ee4[_0x4b0de2(0x1cb)]]=_0x5aef6b);}),_0x5d1508;}['isOperatorApplicableToField'](_0x13583c,_0x2c0e15,_0x27680f){const _0x4ace1f=a0_0x59051e,_0xae838b=this['getOperationFieldOperators'](_0x13583c,_0x2c0e15);return _0xae838b[_0x4ace1f(0x439)](_0x27680f);}}class FieldBase{get['dbType'](){return;}get[a0_0x59051e(0x251)](){return;}get['displayName'](){return;}get['doType'](){return;}[a0_0x59051e(0x470)](){const _0x2a1d7e=a0_0x59051e;return!this[_0x2a1d7e(0x38c)]();}[a0_0x59051e(0x3c7)](){return this['deleted'];}[a0_0x59051e(0x31a)](){const _0x18887b=a0_0x59051e,_0x500e96=[_0x18887b(0x2a3),_0x18887b(0x283),'CHECKBOX'];return _0x500e96[_0x18887b(0x439)](this[_0x18887b(0x280)]);}[a0_0x59051e(0x3a3)](){const _0x48f3bd=a0_0x59051e;return this[_0x48f3bd(0x280)]===_0x48f3bd(0x3e4);}[a0_0x59051e(0x347)](){const _0x58cd38=this['getEnumMeta']();return _0x58cd38?.['values']||[];}[a0_0x59051e(0x336)](){const _0x594849=a0_0x59051e;if(!this['isEnum']())return;const _0xcfddd0=this[_0x594849(0x288)](),_0x4276ed=this['getSelectItemsSource'](),_0x1d11a8=[],_0x4d2c53={},_0x131f6a=_0x551774=>{const _0x4f96ab=_0x594849;_0x551774[_0x4f96ab(0x246)](_0x11b65f=>{const _0x304848=_0x4f96ab;if(!_0x11b65f||typeof _0x11b65f!==_0x304848(0x434))return;_0x11b65f[_0x304848(0x43b)]!==undefined&&_0x11b65f[_0x304848(0x43b)]!==null&&(_0x1d11a8[_0x304848(0x276)](_0x11b65f[_0x304848(0x43b)]),_0x4d2c53[String(_0x11b65f[_0x304848(0x43b)])]=_0x11b65f[_0x304848(0x240)]||''),_0x11b65f['children']&&Array['isArray'](_0x11b65f['children'])&&_0x11b65f[_0x304848(0x307)][_0x304848(0x32e)]>0x0&&_0x131f6a(_0x11b65f[_0x304848(0x307)]);});};return _0xcfddd0&&Array[_0x594849(0x2e0)](_0xcfddd0)&&_0xcfddd0[_0x594849(0x32e)]>0x0&&_0x131f6a(_0xcfddd0),{'code':this['code'],'name':this[_0x594849(0x2e6)],'type':this['type'],'multiple':this[_0x594849(0x3a3)](),'options':_0xcfddd0,'selectItemsSource':_0x4276ed,'values':_0x1d11a8,'valueLabels':_0x4d2c53};}get[a0_0x59051e(0x3d4)](){const _0x582e8a=a0_0x59051e;return this[_0x582e8a(0x347)]();}[a0_0x59051e(0x3c8)](){const _0x6c7d02=a0_0x59051e;return _0x6c7d02(0x39b)+this['name']+',\x20'+this[_0x6c7d02(0x1cb)]+',\x20'+this['type']+',\x20'+this[_0x6c7d02(0x265)]()+')';}}class FieldV1 extends FieldBase{[a0_0x59051e(0x261)];[a0_0x59051e(0x3b8)]=null;constructor(_0x142ee4){const _0x9299b2=a0_0x59051e;super();if(!_0x142ee4||typeof _0x142ee4!=='object')throw new Error(_0x9299b2(0x431));this['_raw']=_0x142ee4;}[a0_0x59051e(0x230)](){const _0x4c1cc1=a0_0x59051e;return this[_0x4c1cc1(0x261)];}[a0_0x59051e(0x265)](){return'v1';}get[a0_0x59051e(0x3fa)](){const _0x5e4fab=a0_0x59051e;return this[_0x5e4fab(0x261)];}get[a0_0x59051e(0x2e6)](){const _0x314d3b=a0_0x59051e;return this[_0x314d3b(0x261)][_0x314d3b(0x2e6)]||'';}get[a0_0x59051e(0x1cb)](){const _0x3ec825=a0_0x59051e;return this[_0x3ec825(0x261)]['code']||'';}get['type'](){const _0x198513=a0_0x59051e;return this['_raw'][_0x198513(0x280)]||'';}get['description'](){const _0x460580=a0_0x59051e;return this[_0x460580(0x261)][_0x460580(0x1f2)]||'';}get[a0_0x59051e(0x44a)](){const _0x28bdf6=a0_0x59051e;return Boolean(this[_0x28bdf6(0x261)]['deleted']);}get[a0_0x59051e(0x2d2)](){const _0x40c4fe=a0_0x59051e;return this[_0x40c4fe(0x261)][_0x40c4fe(0x2d2)];}get[a0_0x59051e(0x251)](){const _0x206275=a0_0x59051e;return this['_raw'][_0x206275(0x251)];}get[a0_0x59051e(0x45b)](){const _0x1e8802=a0_0x59051e;return this[_0x1e8802(0x261)][_0x1e8802(0x2c8)];}get['doType'](){return;}get[a0_0x59051e(0x293)](){const _0x19146c=a0_0x59051e;if(this[_0x19146c(0x3b8)]!==null&&typeof this[_0x19146c(0x3b8)]===_0x19146c(0x434))return this[_0x19146c(0x3b8)];const _0x337c5e=this[_0x19146c(0x261)][_0x19146c(0x293)];if(!_0x337c5e||typeof _0x337c5e!==_0x19146c(0x236))return this['_extend']={},this['_extend'];if(_0x337c5e===_0x19146c(0x26f)||_0x337c5e[_0x19146c(0x242)]()===_0x19146c(0x26f))return this[_0x19146c(0x3b8)]={},this[_0x19146c(0x3b8)];try{const _0x1252cc=JSON[_0x19146c(0x1ae)](_0x337c5e);return this[_0x19146c(0x3b8)]=_0x1252cc!==null&&typeof _0x1252cc===_0x19146c(0x434)&&!Array[_0x19146c(0x2e0)](_0x1252cc)?_0x1252cc:{},this[_0x19146c(0x3b8)];}catch(_0x5767d1){return!![]&&console[_0x19146c(0x24e)]('[FieldV1.extend]\x20解析字段\x20'+this[_0x19146c(0x1cb)]+_0x19146c(0x1e1),_0x5767d1),this['_extend']={},this['_extend'];}}[a0_0x59051e(0x241)](){const _0x1c9685=a0_0x59051e;return Boolean(this[_0x1c9685(0x293)][_0x1c9685(0x2d3)]);}[a0_0x59051e(0x3a4)](){const _0xe3e16=a0_0x59051e;return Boolean(this[_0xe3e16(0x293)][_0xe3e16(0x459)]||this[_0xe3e16(0x293)][_0xe3e16(0x46c)]);}['isSystem'](){const _0x4c6dc3=a0_0x59051e;return Boolean(this[_0x4c6dc3(0x293)][_0x4c6dc3(0x426)]);}[a0_0x59051e(0x3b6)](){const _0x5b7b08=a0_0x59051e;return Boolean(this[_0x5b7b08(0x293)][_0x5b7b08(0x312)]);}['isCreateTime'](){const _0x1e2f96=a0_0x59051e;return Boolean(this[_0x1e2f96(0x293)][_0x1e2f96(0x3b5)]);}[a0_0x59051e(0x20d)](){const _0x12fe55=a0_0x59051e;return Boolean(this['extend'][_0x12fe55(0x1b8)]);}[a0_0x59051e(0x40c)](){const _0x2ec8a3=a0_0x59051e;return this[_0x2ec8a3(0x2e6)];}[a0_0x59051e(0x2c9)](){const _0x8c39c0=a0_0x59051e;return this[_0x8c39c0(0x1cb)];}['isEnum'](){const _0x4f0a70=a0_0x59051e,_0x1fed26=[_0x4f0a70(0x2a3),_0x4f0a70(0x283),_0x4f0a70(0x3e4)];if(_0x1fed26[_0x4f0a70(0x439)](this[_0x4f0a70(0x280)]))return!![];const _0x478fa6=this[_0x4f0a70(0x293)];return Boolean(_0x478fa6['options']&&Array[_0x4f0a70(0x2e0)](_0x478fa6[_0x4f0a70(0x25c)])&&_0x478fa6[_0x4f0a70(0x25c)][_0x4f0a70(0x32e)]>0x0||_0x478fa6[_0x4f0a70(0x326)]);}[a0_0x59051e(0x3a3)](){const _0x4a355e=a0_0x59051e;if(this[_0x4a355e(0x280)]===_0x4a355e(0x3e4))return!![];return Boolean(this[_0x4a355e(0x293)][_0x4a355e(0x1e0)]);}[a0_0x59051e(0x288)](){const _0x208e92=a0_0x59051e,_0x13e455=this[_0x208e92(0x293)];if(_0x13e455[_0x208e92(0x25c)]&&Array['isArray'](_0x13e455[_0x208e92(0x25c)]))return _0x13e455[_0x208e92(0x25c)];return;}['getSelectItemsSource'](){const _0x399c55=a0_0x59051e,_0x50b9ee=this[_0x399c55(0x293)];if(_0x50b9ee[_0x399c55(0x326)]&&typeof _0x50b9ee[_0x399c55(0x326)]==='object')return _0x50b9ee[_0x399c55(0x326)];return;}[a0_0x59051e(0x2f6)](){const _0x3f4018=a0_0x59051e;return this[_0x3f4018(0x280)][_0x3f4018(0x40a)]();}[a0_0x59051e(0x342)](){const _0x585335=a0_0x59051e;return this[_0x585335(0x293)][_0x585335(0x452)];}[a0_0x59051e(0x2fc)](){const _0x2bcbfb=a0_0x59051e;return this[_0x2bcbfb(0x293)]['tooltip'];}[a0_0x59051e(0x345)](){const _0x1a40b3=a0_0x59051e;return{'name':this[_0x1a40b3(0x2e6)],'code':this[_0x1a40b3(0x1cb)],'type':this[_0x1a40b3(0x280)],'dbType':this['dbType'],'dbTypeLen':this['dbTypeLen'],'description':this[_0x1a40b3(0x1f2)],'required':this[_0x1a40b3(0x241)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x1a40b3(0x38c)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x1a40b3(0x2ae)](),'updateTime':this[_0x1a40b3(0x20d)](),'isEnum':this[_0x1a40b3(0x31a)](),'enumMeta':this[_0x1a40b3(0x31a)]()?this['getEnumMeta']():undefined};}['toString'](){const _0x39ef00=a0_0x59051e;return _0x39ef00(0x2d7)+this[_0x39ef00(0x2e6)]+',\x20'+this['code']+',\x20'+this[_0x39ef00(0x280)]+')';}}class FieldListBase{[a0_0x59051e(0x29e)];constructor(_0x5aba18,_0x25a002){const _0x48dcba=a0_0x59051e,_0x512883=Array['isArray'](_0x5aba18)?_0x5aba18:[],_0x25cfba=_0x25a002?.[_0x48dcba(0x1b1)]??![],_0x50648e=_0x25cfba?_0x512883:_0x512883['filter'](_0x536cf0=>{const _0xe3691d=_0x48dcba;if(!_0x536cf0||typeof _0x536cf0!==_0xe3691d(0x434))return![];const _0x2697f5=_0x536cf0;return!_0x2697f5[_0xe3691d(0x44a)];});this['_fields']=this[_0x48dcba(0x314)](_0x50648e);}get[a0_0x59051e(0x32e)](){const _0x470665=a0_0x59051e;return this[_0x470665(0x29e)]['length'];}[a0_0x59051e(0x272)](){return[...this['_fields']];}['at'](_0xf09bb4){const _0x3f273e=a0_0x59051e;return this[_0x3f273e(0x29e)]['at'](_0xf09bb4);}[a0_0x59051e(0x42e)](_0x192fe4){const _0x34bd62=a0_0x59051e;return this[_0x34bd62(0x29e)][_0x34bd62(0x42e)](_0x51c4ff=>_0x51c4ff[_0x34bd62(0x1cb)]===_0x192fe4);}[a0_0x59051e(0x30c)](_0x1729c5){const _0x178dc6=a0_0x59051e;return this['_fields'][_0x178dc6(0x42e)](_0x194037=>_0x194037[_0x178dc6(0x2e6)]===_0x1729c5);}[a0_0x59051e(0x370)](_0x49b465){const _0x2412ff=a0_0x59051e;return this['_fields'][_0x2412ff(0x2fa)](_0x3bce26=>_0x3bce26[_0x2412ff(0x1cb)]===_0x49b465);}['forEach'](_0x49252a){const _0x4493e6=a0_0x59051e;this['_fields'][_0x4493e6(0x246)](_0x49252a);}[a0_0x59051e(0x390)](_0x51498e){const _0x1cf634=a0_0x59051e;return this[_0x1cf634(0x29e)][_0x1cf634(0x390)](_0x51498e);}[a0_0x59051e(0x3a8)](_0x420b75){const _0x32ef78=a0_0x59051e;return this[_0x32ef78(0x29e)][_0x32ef78(0x3a8)](_0x420b75);}[a0_0x59051e(0x468)](_0x5e2551){const _0x216197=a0_0x59051e;return this[_0x216197(0x29e)][_0x216197(0x468)](_0x5e2551);}[a0_0x59051e(0x2fa)](_0x1046f3){const _0x52e53f=a0_0x59051e;return this['_fields'][_0x52e53f(0x2fa)](_0x1046f3);}[a0_0x59051e(0x438)](){const _0x17a04d=a0_0x59051e;return this['_fields'][_0x17a04d(0x3a8)](_0x4f805f=>_0x4f805f[_0x17a04d(0x241)]());}['getPrimaryKeys'](){const _0x513a6e=a0_0x59051e;return this[_0x513a6e(0x29e)][_0x513a6e(0x3a8)](_0x1c304f=>_0x1c304f[_0x513a6e(0x3a4)]());}[a0_0x59051e(0x36f)](){const _0x40d126=a0_0x59051e;return this['_fields'][_0x40d126(0x3a8)](_0x178c45=>_0x178c45[_0x40d126(0x38c)]());}['getBusiness'](){const _0x4671de=a0_0x59051e;return this[_0x4671de(0x29e)][_0x4671de(0x3a8)](_0x5f0596=>_0x5f0596[_0x4671de(0x470)]());}[a0_0x59051e(0x320)](){const _0x4d26fb=a0_0x59051e;return this[_0x4d26fb(0x29e)][_0x4d26fb(0x3a8)](_0x1d5f61=>_0x1d5f61[_0x4d26fb(0x31a)]());}[a0_0x59051e(0x2d0)](){const _0x3972b7=a0_0x59051e;return this[_0x3972b7(0x29e)][_0x3972b7(0x3a8)](_0x266e11=>_0x266e11[_0x3972b7(0x3b6)]());}[a0_0x59051e(0x36a)](){const _0x1e4772=a0_0x59051e;return this[_0x1e4772(0x29e)][_0x1e4772(0x3a8)](_0x9bf9bf=>_0x9bf9bf[_0x1e4772(0x2ae)]());}[a0_0x59051e(0x2e7)](){const _0x5e5746=a0_0x59051e;return this[_0x5e5746(0x29e)][_0x5e5746(0x3a8)](_0x27c562=>_0x27c562[_0x5e5746(0x20d)]());}[a0_0x59051e(0x43d)](){const _0x56a377=a0_0x59051e;return this[_0x56a377(0x29e)][_0x56a377(0x3a8)](_0x407263=>_0x407263['isDeleted']());}[a0_0x59051e(0x1d8)](){const _0x275525=a0_0x59051e;return this[_0x275525(0x29e)]['filter'](_0x4f6154=>!_0x4f6154[_0x275525(0x3c7)]());}[a0_0x59051e(0x3b7)](){const _0x33c380=a0_0x59051e,_0x3c9c12={};return this[_0x33c380(0x29e)][_0x33c380(0x246)](_0x4ccd5b=>{const _0xe1a6be=_0x33c380,_0x3ef133=_0x4ccd5b[_0xe1a6be(0x280)];!_0x3c9c12[_0x3ef133]&&(_0x3c9c12[_0x3ef133]=[]),_0x3c9c12[_0x3ef133]['push'](_0x4ccd5b);}),_0x3c9c12;}[a0_0x59051e(0x22b)](){const _0x40cc1c=a0_0x59051e,_0x4972f2={};return this[_0x40cc1c(0x29e)][_0x40cc1c(0x246)](_0x23c456=>{const _0x4b4d70=_0x40cc1c;if(_0x23c456['isEnum']()){const _0x3e1e10=_0x23c456['getEnumMeta']();_0x3e1e10&&(_0x4972f2[_0x23c456[_0x4b4d70(0x1cb)]]=_0x3e1e10);}}),_0x4972f2;}[a0_0x59051e(0x419)](){const _0x548551=a0_0x59051e;return{'total':this[_0x548551(0x32e)],'required':this[_0x548551(0x438)]()['length'],'primaryKey':this[_0x548551(0x27f)]()['length'],'system':this['getSystem']()['length'],'business':this['getBusiness']()[_0x548551(0x32e)],'enum':this[_0x548551(0x320)]()[_0x548551(0x32e)],'autoIncrement':this[_0x548551(0x2d0)]()[_0x548551(0x32e)]};}[a0_0x59051e(0x1c9)](){const _0x193a1e=a0_0x59051e;return this[_0x193a1e(0x29e)][_0x193a1e(0x390)](_0x209b7c=>_0x209b7c[_0x193a1e(0x1cb)]);}['getNames'](){const _0x107f5a=a0_0x59051e;return this[_0x107f5a(0x29e)][_0x107f5a(0x390)](_0x11f29f=>_0x11f29f[_0x107f5a(0x40c)]());}['getFieldNames'](){const _0x5d2afc=a0_0x59051e;return this[_0x5d2afc(0x29e)][_0x5d2afc(0x390)](_0x4f1762=>_0x4f1762['getFieldName']());}['toJSON'](){const _0x5208d2=a0_0x59051e;return this[_0x5208d2(0x29e)][_0x5208d2(0x390)](_0xdae1ee=>_0xdae1ee[_0x5208d2(0x345)]());}['toString'](){const _0x4e5ae4=a0_0x59051e;return _0x4e5ae4(0x351)+this['length']+_0x4e5ae4(0x27b);}}class FieldListV1 extends FieldListBase{constructor(_0x4246fa,_0x4d8aae){super(_0x4246fa,_0x4d8aae);}[a0_0x59051e(0x314)](_0x7d7521){const _0xd4b50=a0_0x59051e;return _0x7d7521[_0xd4b50(0x390)](_0x2c87d5=>new FieldV1(_0x2c87d5));}[a0_0x59051e(0x272)](){const _0x52835c=a0_0x59051e;return[...this[_0x52835c(0x29e)]];}['at'](_0x5e15b7){return this['_fields']['at'](_0x5e15b7);}['find'](_0x276a8a){const _0x8cfb9e=a0_0x59051e;return this[_0x8cfb9e(0x29e)][_0x8cfb9e(0x42e)](_0x3a3be0=>_0x3a3be0[_0x8cfb9e(0x1cb)]===_0x276a8a);}[a0_0x59051e(0x30c)](_0x31df0f){const _0x35e477=a0_0x59051e;return this['_fields'][_0x35e477(0x42e)](_0x4347d1=>_0x4347d1[_0x35e477(0x2e6)]===_0x31df0f);}[a0_0x59051e(0x3a8)](_0x159f95){const _0xd9687e=a0_0x59051e;return this[_0xd9687e(0x29e)]['filter'](_0x159f95);}[a0_0x59051e(0x390)](_0x28543f){const _0x5acfce=a0_0x59051e;return this[_0x5acfce(0x29e)][_0x5acfce(0x390)](_0x28543f);}[a0_0x59051e(0x438)](){const _0x52407f=a0_0x59051e;return this['_fields'][_0x52407f(0x3a8)](_0x44507e=>_0x44507e[_0x52407f(0x241)]());}[a0_0x59051e(0x27f)](){const _0x59db4b=a0_0x59051e;return this[_0x59db4b(0x29e)][_0x59db4b(0x3a8)](_0x527da0=>_0x527da0[_0x59db4b(0x3a4)]());}[a0_0x59051e(0x36f)](){const _0x4429b2=a0_0x59051e;return this[_0x4429b2(0x29e)]['filter'](_0x41a7c8=>_0x41a7c8[_0x4429b2(0x38c)]());}['getBusiness'](){const _0x476036=a0_0x59051e;return this[_0x476036(0x29e)][_0x476036(0x3a8)](_0x10f80d=>_0x10f80d[_0x476036(0x470)]());}[a0_0x59051e(0x320)](){const _0x1a8b90=a0_0x59051e;return this['_fields']['filter'](_0x94e083=>_0x94e083[_0x1a8b90(0x31a)]());}[a0_0x59051e(0x3b7)](){const _0xaa3a08=a0_0x59051e,_0x4c860e={};return this['_fields'][_0xaa3a08(0x246)](_0x142641=>{const _0x11f2b5=_0xaa3a08,_0x37f020=_0x142641[_0x11f2b5(0x280)];!_0x4c860e[_0x37f020]&&(_0x4c860e[_0x37f020]=[]),_0x4c860e[_0x37f020][_0x11f2b5(0x276)](_0x142641);}),_0x4c860e;}[a0_0x59051e(0x3fa)](){const _0x16cb5b=a0_0x59051e;return this[_0x16cb5b(0x29e)][_0x16cb5b(0x390)](_0x3ca671=>_0x3ca671['raw']);}static[a0_0x59051e(0x2f2)](_0x51a6d2){const _0x1c4c44=a0_0x59051e,_0x276131=_0x51a6d2[_0x1c4c44(0x390)](_0x482f23=>_0x482f23[_0x1c4c44(0x3fa)]);return new FieldListV1(_0x276131);}static['withDeleted'](_0x572ef7){const _0x4faad=a0_0x59051e,_0x4a9faf={};return _0x4a9faf[_0x4faad(0x1b1)]=!![],new FieldListV1(_0x572ef7,_0x4a9faf);}}class FieldV2 extends FieldBase{[a0_0x59051e(0x261)];constructor(_0x2d5bfe){const _0x3ee4c3=a0_0x59051e;super();if(!_0x2d5bfe||typeof _0x2d5bfe!=='object')throw new Error('[FieldV2]\x20Invalid\x20field\x20definition');this[_0x3ee4c3(0x261)]=_0x2d5bfe;}[a0_0x59051e(0x265)](){return'v2';}get['raw'](){const _0x296a25=a0_0x59051e;return this[_0x296a25(0x261)];}get[a0_0x59051e(0x2e6)](){const _0xf358e5=a0_0x59051e;return this[_0xf358e5(0x261)][_0xf358e5(0x2e6)]||'';}get['code'](){const _0x320919=a0_0x59051e;return this[_0x320919(0x261)]['name']||'';}get[a0_0x59051e(0x45b)](){const _0x259c43=a0_0x59051e;return this[_0x259c43(0x261)][_0x259c43(0x45b)]||'';}get[a0_0x59051e(0x280)](){const _0x5480d5=a0_0x59051e;if(this[_0x5480d5(0x261)][_0x5480d5(0x2c1)])return this[_0x5480d5(0x261)][_0x5480d5(0x2c1)];return this[_0x5480d5(0x34c)](this[_0x5480d5(0x261)][_0x5480d5(0x2d2)]);}get[a0_0x59051e(0x1f2)](){const _0x3a5e8c=a0_0x59051e;return this[_0x3a5e8c(0x261)][_0x3a5e8c(0x1f2)]||'';}get[a0_0x59051e(0x44a)](){const _0x3a4183=a0_0x59051e;return Boolean(this['_raw'][_0x3a4183(0x44a)]);}[a0_0x59051e(0x241)](){const _0x3ba192=a0_0x59051e;return Boolean(this['_raw'][_0x3ba192(0x2d3)]);}['isPrimaryKey'](){const _0x3d3182=a0_0x59051e;return Boolean(this[_0x3d3182(0x261)]['pkField']);}['isSystem'](){const _0x52a79c=a0_0x59051e;return Boolean(this['_raw'][_0x52a79c(0x426)]);}[a0_0x59051e(0x3b6)](){const _0x449808=a0_0x59051e;return Boolean(this[_0x449808(0x261)]['autoIncrement']);}[a0_0x59051e(0x2ae)](){return this['_raw']['systemRetain']==='createTime';}[a0_0x59051e(0x20d)](){const _0x26a644=a0_0x59051e;return this[_0x26a644(0x261)][_0x26a644(0x426)]==='updateTime';}[a0_0x59051e(0x40c)](){const _0x2e1656=a0_0x59051e;return this[_0x2e1656(0x261)]['displayName']||'';}[a0_0x59051e(0x2c9)](){const _0x3ba5b3=a0_0x59051e;return this[_0x3ba5b3(0x261)][_0x3ba5b3(0x2e6)]||'';}[a0_0x59051e(0x31a)](){const _0x26fc3c=a0_0x59051e;return Boolean(this[_0x26fc3c(0x261)][_0x26fc3c(0x25c)]&&Array[_0x26fc3c(0x2e0)](this[_0x26fc3c(0x261)][_0x26fc3c(0x25c)])&&this[_0x26fc3c(0x261)][_0x26fc3c(0x25c)][_0x26fc3c(0x32e)]>0x0);}['isMultipleSelect'](){const _0x1fb984=a0_0x59051e,_0x53d186=this[_0x1fb984(0x261)][_0x1fb984(0x293)];if(!_0x53d186)return![];try{const _0x96a134=JSON[_0x1fb984(0x1ae)](_0x53d186);if(_0x96a134&&typeof _0x96a134===_0x1fb984(0x434)&&_0x1fb984(0x1e0)in _0x96a134)return Boolean(_0x96a134['multiple']);}catch{}return![];}[a0_0x59051e(0x288)](){const _0x5dc34c=a0_0x59051e;if(this['_raw'][_0x5dc34c(0x25c)]&&Array[_0x5dc34c(0x2e0)](this[_0x5dc34c(0x261)][_0x5dc34c(0x25c)]))return this['_raw']['options'];return;}[a0_0x59051e(0x268)](){const _0x2abefc=a0_0x59051e,_0x3cc132=this[_0x2abefc(0x261)]['extend'];if(!_0x3cc132)return;try{const _0x49cd67=JSON[_0x2abefc(0x1ae)](_0x3cc132);if(_0x49cd67&&typeof _0x49cd67===_0x2abefc(0x434)&&_0x2abefc(0x326)in _0x49cd67)return _0x49cd67['selectItemsSource'];}catch{}return;}[a0_0x59051e(0x2f6)](){const _0x5bca42=a0_0x59051e;if(!this[_0x5bca42(0x261)][_0x5bca42(0x2d2)])return'';return this[_0x5bca42(0x261)][_0x5bca42(0x2d2)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x5bca42(0x242)]()[_0x5bca42(0x40a)]();}[a0_0x59051e(0x342)](){return;}[a0_0x59051e(0x2fc)](){return;}get[a0_0x59051e(0x2d2)](){return this['_raw']['dbType']??undefined;}get[a0_0x59051e(0x251)](){const _0x3cfc46=a0_0x59051e;return this[_0x3cfc46(0x261)]['dbTypeLen'];}[a0_0x59051e(0x2dd)](){const _0x2fec05=a0_0x59051e;return this[_0x2fec05(0x261)][_0x2fec05(0x2c1)]??null;}get[a0_0x59051e(0x2c1)](){const _0x43612c=a0_0x59051e;return this['_raw'][_0x43612c(0x2c1)]??null;}[a0_0x59051e(0x345)](){const _0x59464b=a0_0x59051e;return{'name':this['name'],'code':this[_0x59464b(0x1cb)],'type':this[_0x59464b(0x280)],'dbType':this[_0x59464b(0x2d2)],'dbTypeLen':this[_0x59464b(0x251)],'doType':this['getDOType'](),'displayName':this[_0x59464b(0x45b)],'description':this[_0x59464b(0x1f2)],'required':this['isRequired'](),'primaryKey':this[_0x59464b(0x3a4)](),'system':this[_0x59464b(0x38c)](),'autoIncrement':this[_0x59464b(0x3b6)](),'createTime':this[_0x59464b(0x2ae)](),'updateTime':this[_0x59464b(0x20d)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x59464b(0x31a)]()?this[_0x59464b(0x336)]():undefined};}[a0_0x59051e(0x3c8)](){const _0x88f066=a0_0x59051e;return _0x88f066(0x343)+this[_0x88f066(0x2e6)]+',\x20'+this[_0x88f066(0x1cb)]+',\x20'+this[_0x88f066(0x2d2)]+',\x20doType='+this['getDOType']()+')';}['mapDbTypeToType'](_0x3fb33d){const _0x294a07=a0_0x59051e;if(!_0x3fb33d)return _0x294a07(0x3fe);const _0x3179b4={};_0x3179b4[_0x294a07(0x2aa)]=_0x294a07(0x3fe),_0x3179b4[_0x294a07(0x3d9)]=_0x294a07(0x3fe),_0x3179b4[_0x294a07(0x3fe)]='TEXTAREA',_0x3179b4[_0x294a07(0x45f)]=_0x294a07(0x257),_0x3179b4[_0x294a07(0x361)]=_0x294a07(0x2d6),_0x3179b4[_0x294a07(0x222)]=_0x294a07(0x2d6),_0x3179b4['TINYINT']='NUMBER',_0x3179b4[_0x294a07(0x381)]=_0x294a07(0x2d6),_0x3179b4[_0x294a07(0x447)]=_0x294a07(0x2d6),_0x3179b4[_0x294a07(0x299)]='NUMBER',_0x3179b4['FLOAT']='NUMBER',_0x3179b4[_0x294a07(0x1da)]='DATE',_0x3179b4['TIMESTAMP']=_0x294a07(0x23c),_0x3179b4[_0x294a07(0x23c)]=_0x294a07(0x23c),_0x3179b4[_0x294a07(0x3e2)]=_0x294a07(0x3e2),_0x3179b4['BOOLEAN']='SWITCH',_0x3179b4[_0x294a07(0x406)]=_0x294a07(0x224),_0x3179b4[_0x294a07(0x2b6)]=_0x294a07(0x39f),_0x3179b4[_0x294a07(0x436)]='FILE';const _0x2bb85c=_0x3179b4,_0x3b6c4b=_0x3fb33d[_0x294a07(0x40a)]();return _0x2bb85c[_0x3b6c4b]||_0x294a07(0x3fe);}}class FieldListV2 extends FieldListBase{constructor(_0xbcc117,_0xe3f6fc){super(_0xbcc117,_0xe3f6fc);}[a0_0x59051e(0x314)](_0x108c9b){const _0x6dcb14=a0_0x59051e;return _0x108c9b[_0x6dcb14(0x390)](_0x49e60b=>new FieldV2(_0x49e60b));}[a0_0x59051e(0x272)](){const _0x312075=a0_0x59051e;return[...this[_0x312075(0x29e)]];}['at'](_0x52fc48){return this['_fields']['at'](_0x52fc48);}[a0_0x59051e(0x42e)](_0xb42015){const _0x18da8b=a0_0x59051e;return this[_0x18da8b(0x29e)]['find'](_0x1f4418=>_0x1f4418[_0x18da8b(0x1cb)]===_0xb42015);}[a0_0x59051e(0x30c)](_0x356f6a){const _0xa5e4c4=a0_0x59051e;return this[_0xa5e4c4(0x29e)][_0xa5e4c4(0x42e)](_0x8b66e9=>_0x8b66e9[_0xa5e4c4(0x40c)]()===_0x356f6a);}[a0_0x59051e(0x3a8)](_0x4458c1){const _0x2b1995=a0_0x59051e;return this[_0x2b1995(0x29e)]['filter'](_0x4458c1);}[a0_0x59051e(0x390)](_0x4b82b2){const _0x467317=a0_0x59051e;return this[_0x467317(0x29e)]['map'](_0x4b82b2);}[a0_0x59051e(0x438)](){const _0x5ad81d=a0_0x59051e;return this[_0x5ad81d(0x29e)]['filter'](_0x18537d=>_0x18537d['isRequired']());}[a0_0x59051e(0x27f)](){const _0x1a6652=a0_0x59051e;return this[_0x1a6652(0x29e)][_0x1a6652(0x3a8)](_0x575a9e=>_0x575a9e[_0x1a6652(0x3a4)]());}[a0_0x59051e(0x36f)](){const _0xd60796=a0_0x59051e;return this[_0xd60796(0x29e)][_0xd60796(0x3a8)](_0x10bea7=>_0x10bea7[_0xd60796(0x38c)]());}[a0_0x59051e(0x269)](){const _0x47765a=a0_0x59051e;return this[_0x47765a(0x29e)][_0x47765a(0x3a8)](_0x42aaf2=>_0x42aaf2['isBusiness']());}[a0_0x59051e(0x320)](){const _0x4b8927=a0_0x59051e;return this[_0x4b8927(0x29e)]['filter'](_0x1487b2=>_0x1487b2[_0x4b8927(0x31a)]());}[a0_0x59051e(0x3b7)](){const _0x2082c1=a0_0x59051e,_0x53925a={};return this[_0x2082c1(0x29e)][_0x2082c1(0x246)](_0x3ba3bc=>{const _0x14d5e2=_0x2082c1,_0x35a8e3=_0x3ba3bc[_0x14d5e2(0x280)];!_0x53925a[_0x35a8e3]&&(_0x53925a[_0x35a8e3]=[]),_0x53925a[_0x35a8e3]['push'](_0x3ba3bc);}),_0x53925a;}[a0_0x59051e(0x3fa)](){const _0x3f65e7=a0_0x59051e;return this[_0x3f65e7(0x29e)][_0x3f65e7(0x390)](_0x1bfc3f=>_0x1bfc3f['raw']);}static[a0_0x59051e(0x2f2)](_0x4ad3ff){const _0x17f26f=_0x4ad3ff['map'](_0x3882ad=>_0x3882ad['raw']);return new FieldListV2(_0x17f26f);}static[a0_0x59051e(0x28c)](_0x2afa69){const _0x879826=a0_0x59051e,_0x53eb30={};return _0x53eb30[_0x879826(0x1b1)]=!![],new FieldListV2(_0x2afa69,_0x53eb30);}['toString'](){const _0x3b65e7=a0_0x59051e;return _0x3b65e7(0x2af)+this[_0x3b65e7(0x32e)]+_0x3b65e7(0x27b);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{['_fieldListV1'];[a0_0x59051e(0x2e8)];constructor(_0x85d6f3){super(_0x85d6f3);}[a0_0x59051e(0x378)](){const _0x180729=a0_0x59051e;if(!this[_0x180729(0x3e8)]){const _0x39a20f={};_0x39a20f[_0x180729(0x1b1)]=![],this[_0x180729(0x3e8)]=new FieldListV1(this[_0x180729(0x261)][_0x180729(0x376)]||[],_0x39a20f);}return this[_0x180729(0x3e8)];}[a0_0x59051e(0x3dd)](){const _0x5f3cfb=a0_0x59051e;if(!this['_fieldListV1WithDeleted']){const _0x40deb0={};_0x40deb0[_0x5f3cfb(0x1b1)]=!![],this['_fieldListV1WithDeleted']=new FieldListV1(this[_0x5f3cfb(0x261)][_0x5f3cfb(0x376)]||[],_0x40deb0);}return this[_0x5f3cfb(0x2e8)];}[a0_0x59051e(0x3cd)](){const _0x8d524=a0_0x59051e;return(this['_raw'][_0x8d524(0x376)]||[])[_0x8d524(0x3a8)](_0x38ef28=>!_0x38ef28[_0x8d524(0x44a)]);}['getFieldCount'](){const _0x10d476=a0_0x59051e;return this[_0x10d476(0x378)]()[_0x10d476(0x32e)];}[a0_0x59051e(0x469)](_0x50c9fe){const _0x3ecf8a=a0_0x59051e;return this[_0x3ecf8a(0x261)]['properties']?.[_0x3ecf8a(0x42e)](_0x40a32d=>_0x40a32d['code']===_0x50c9fe);}[a0_0x59051e(0x265)](){return'v1';}['getFieldDataSource'](){const _0x535f81=a0_0x59051e,_0xd70319={};return _0xd70319[_0x535f81(0x208)]=this['_raw']['properties']||[],_0xd70319['includeDeleted']=![],_0xd70319;}[a0_0x59051e(0x3f4)](){const _0x5a6803=a0_0x59051e;return this[_0x5a6803(0x261)]['operations'];}[a0_0x59051e(0x239)](){const _0x494097=a0_0x59051e;return this['_raw'][_0x494097(0x400)];}['getDBConfig'](){const _0x4e8cbc=a0_0x59051e,_0x5ccfc2=this['getRawDbtableConfig'](),_0x23c33d=_0x5ccfc2?.[_0x4e8cbc(0x448)],_0x329622={};return _0x329622[_0x4e8cbc(0x420)]=_0x5ccfc2?.[_0x4e8cbc(0x420)],_0x329622[_0x4e8cbc(0x2be)]=_0x5ccfc2?.[_0x4e8cbc(0x2be)]??_0x23c33d?.[_0x4e8cbc(0x2be)],_0x329622[_0x4e8cbc(0x2d2)]=_0x23c33d?.[_0x4e8cbc(0x2d2)],_0x329622[_0x4e8cbc(0x258)]=_0x23c33d?.['dbVersion'],_0x329622['tableName']=_0x5ccfc2?.[_0x4e8cbc(0x424)],_0x329622[_0x4e8cbc(0x250)]=_0x5ccfc2?.['datasetKey'],_0x329622[_0x4e8cbc(0x46c)]=_0x5ccfc2?.[_0x4e8cbc(0x46c)],_0x329622['tenantCode']=_0x23c33d?.[_0x4e8cbc(0x28f)],_0x329622[_0x4e8cbc(0x1d3)]=_0x23c33d?.[_0x4e8cbc(0x1d3)],new DBConfig(_0x329622,_0x5ccfc2);}get[a0_0x59051e(0x415)](){const _0x4339c4=a0_0x59051e;return this[_0x4339c4(0x261)][_0x4339c4(0x415)];}[a0_0x59051e(0x227)](_0x5c7ad9){const _0x3678fd=a0_0x59051e;if(typeof _0x5c7ad9!=='string'){!![]&&console[_0x3678fd(0x24e)](_0x3678fd(0x374),_0x5c7ad9);return;}return this[_0x3678fd(0x378)]()[_0x3678fd(0x42e)](_0x5c7ad9);}['isMultipleSelectField'](_0x17fc30){const _0x39e9a8=a0_0x59051e;if(!_0x17fc30||typeof _0x17fc30!==_0x39e9a8(0x434))return![];const _0x1c2c3a=this[_0x39e9a8(0x227)](_0x17fc30[_0x39e9a8(0x1cb)]);return _0x1c2c3a?_0x1c2c3a[_0x39e9a8(0x3a3)]():![];}[a0_0x59051e(0x1d0)](){const _0x572162=this['getOperation']('filter');return _0x572162;}[a0_0x59051e(0x24a)](){const _0x3b23a7=a0_0x59051e;return this[_0x3b23a7(0x2cc)](_0x3b23a7(0x3a8));}['toListItem'](){const _0xdfb28f=a0_0x59051e;return new DatasetItem({'id':this['id'],'name':this[_0xdfb28f(0x2e6)],'datasetCode':this[_0xdfb28f(0x43e)],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];[a0_0x59051e(0x274)];['_relations'];constructor(_0x1f4653){const _0x3f9214=a0_0x59051e;super(_0x1f4653),this['_datasetMeta']=_0x1f4653[_0x3f9214(0x25e)],this['_relations']=_0x1f4653[_0x3f9214(0x3ca)]||[];}['getVersion'](){return'v2';}[a0_0x59051e(0x414)](){const _0x3ad071=a0_0x59051e,_0x1cf922={};return _0x1cf922[_0x3ad071(0x208)]=this[_0x3ad071(0x261)][_0x3ad071(0x208)],_0x1cf922[_0x3ad071(0x1b1)]=![],_0x1cf922;}['getOperationsData'](){return this['_raw']['operations'];}[a0_0x59051e(0x239)](){const _0x252e08=a0_0x59051e;return this[_0x252e08(0x261)][_0x252e08(0x400)];}[a0_0x59051e(0x308)](){const _0x47c5ee=a0_0x59051e,_0x3f18d0=this['_raw'][_0x47c5ee(0x36c)],_0x113d4a=_0x3f18d0?.[_0x47c5ee(0x448)],_0x5801ac={};return _0x5801ac['dbId']=_0x3f18d0?.['dbId'],_0x5801ac['dbName']=_0x3f18d0?.[_0x47c5ee(0x2be)]??_0x113d4a?.['dbName'],_0x5801ac['dbType']=_0x113d4a?.[_0x47c5ee(0x2d2)],_0x5801ac[_0x47c5ee(0x258)]=_0x113d4a?.['dbVersion'],_0x5801ac[_0x47c5ee(0x424)]=_0x3f18d0?.[_0x47c5ee(0x424)],_0x5801ac[_0x47c5ee(0x250)]=_0x3f18d0?.['datasetKey'],_0x5801ac[_0x47c5ee(0x46c)]=_0x3f18d0?.[_0x47c5ee(0x46c)],_0x5801ac[_0x47c5ee(0x28f)]=_0x3f18d0?.[_0x47c5ee(0x28f)]??_0x113d4a?.[_0x47c5ee(0x28f)],_0x5801ac[_0x47c5ee(0x1d3)]=_0x3f18d0?.['appCode']??_0x113d4a?.[_0x47c5ee(0x1d3)],new DBConfig(_0x5801ac,_0x3f18d0);}['getFieldList'](){const _0x6fe843=a0_0x59051e;return this[_0x6fe843(0x1e6)]();}['getFields'](){const _0x147dbf=a0_0x59051e;return this[_0x147dbf(0x261)][_0x147dbf(0x208)]||[];}[a0_0x59051e(0x367)](){const _0x2cfd47=a0_0x59051e;return(this[_0x2cfd47(0x261)][_0x2cfd47(0x208)]||[])[_0x2cfd47(0x32e)];}['getFieldRaw'](_0x2c0d00){const _0x46ad46=a0_0x59051e;return this['_raw'][_0x46ad46(0x208)][_0x46ad46(0x42e)](_0x259828=>_0x259828[_0x46ad46(0x2e6)]===_0x2c0d00);}[a0_0x59051e(0x298)](){const _0x37c459=a0_0x59051e;return this[_0x37c459(0x274)];}[a0_0x59051e(0x2ee)](){const _0x312b56=a0_0x59051e;return this[_0x312b56(0x212)];}[a0_0x59051e(0x405)](){const _0x5c6a8b=a0_0x59051e;return this[_0x5c6a8b(0x274)]['indexes']||[];}[a0_0x59051e(0x421)](_0x4f3793){const _0x64a5c9=a0_0x59051e;return this[_0x64a5c9(0x212)][_0x64a5c9(0x3a8)](_0x4caf24=>_0x4caf24[_0x64a5c9(0x2c4)]===_0x4f3793);}[a0_0x59051e(0x1e3)](_0x3b55a2){const _0x4a8a3a=a0_0x59051e;return this['_relations'][_0x4a8a3a(0x2fa)](_0x1979b3=>_0x1979b3['fromField']===_0x3b55a2);}[a0_0x59051e(0x29c)](_0x5e7af9){const _0x3dbd1b=a0_0x59051e,_0x2b4524=this['_relations']['find'](_0x253575=>_0x253575[_0x3dbd1b(0x2c4)]===_0x5e7af9);if(!_0x2b4524)return;const _0x1a85d9={};return _0x1a85d9[_0x3dbd1b(0x440)]=_0x2b4524[_0x3dbd1b(0x393)],_0x1a85d9['datasetCode']=_0x2b4524['toDatasetCode'],_0x1a85d9[_0x3dbd1b(0x211)]=_0x2b4524[_0x3dbd1b(0x34b)],_0x1a85d9[_0x3dbd1b(0x424)]=_0x2b4524[_0x3dbd1b(0x1e4)],_0x1a85d9[_0x3dbd1b(0x368)]=_0x2b4524[_0x3dbd1b(0x368)],_0x1a85d9;}[a0_0x59051e(0x3d0)](){const _0x271f4=a0_0x59051e;return this['_relations'][_0x271f4(0x390)](_0x1abbe8=>_0x1abbe8['fromField']);}[a0_0x59051e(0x1e6)](){const _0x409aea=a0_0x59051e;if(!this[_0x409aea(0x387)]){const _0x29c6b2=this['_raw'][_0x409aea(0x208)]||[];this['_fieldListV2']=new FieldListV2(_0x29c6b2);}return this['_fieldListV2'];}[a0_0x59051e(0x227)](_0x1ba842){const _0x561be=a0_0x59051e;if(typeof _0x1ba842!==_0x561be(0x236)){!![]&&console[_0x561be(0x24e)](_0x561be(0x209),_0x1ba842);return;}return this[_0x561be(0x1e6)]()[_0x561be(0x42e)](_0x1ba842);}[a0_0x59051e(0x42b)](_0xa5f01){const _0x237b41=a0_0x59051e;if(!_0xa5f01||typeof _0xa5f01!==_0x237b41(0x434))return![];const _0x1f7bfe=_0xa5f01[_0x237b41(0x2e6)]||_0xa5f01[_0x237b41(0x1cb)],_0x4eab8e=this[_0x237b41(0x227)](_0x1f7bfe);return _0x4eab8e?_0x4eab8e[_0x237b41(0x3a3)]():![];}[a0_0x59051e(0x2a1)](){const _0xd72756=a0_0x59051e;if(!this[_0xd72756(0x1d5)]){const _0x2061cc=this[_0xd72756(0x407)](this['getOperationsData']()||{});this['_operationList']=new OperationList(_0x2061cc,{'fields':this[_0xd72756(0x1e6)]()['all'](),'pkField':this[_0xd72756(0x261)][_0xd72756(0x36c)]?.[_0xd72756(0x46c)],'dbtableConfig':this[_0xd72756(0x261)][_0xd72756(0x36c)]||null});}return this[_0xd72756(0x1d5)];}['getFilterOperation'](){const _0x409990=a0_0x59051e,_0xee4434=this['getOperation'](_0x409990(0x3a8));return _0xee4434;}[a0_0x59051e(0x24a)](){const _0xa2fe41=a0_0x59051e;return this[_0xa2fe41(0x2cc)](_0xa2fe41(0x3a8));}[a0_0x59051e(0x311)](){const _0x2711a4=a0_0x59051e;return new DatasetItem({'id':this['id'],'name':this[_0x2711a4(0x2e6)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x2711a4(0x2a9)]()});}[a0_0x59051e(0x3c8)](){const _0x4ad65e=a0_0x59051e,_0x9aec47=this[_0x4ad65e(0x212)]['length'],_0x4d125f=this[_0x4ad65e(0x405)]()[_0x4ad65e(0x32e)];return'DrivenDataDetailV2('+this['name']+',\x20'+this[_0x4ad65e(0x43e)]+',\x20'+this['getFieldCount']()+_0x4ad65e(0x279)+this['getOperationCount']()+'\x20operations,\x20'+_0x9aec47+_0x4ad65e(0x391)+_0x4d125f+_0x4ad65e(0x3ce);}[a0_0x59051e(0x404)](){const _0x4df0f5=a0_0x59051e;return this[_0x4df0f5(0x261)][_0x4df0f5(0x208)];}['getFieldV2'](_0x21b475){const _0x231146=a0_0x59051e;return this['_raw'][_0x231146(0x208)][_0x231146(0x42e)](_0x304534=>_0x304534[_0x231146(0x2e6)]===_0x21b475);}}function detectDatasetVersion(_0x5c5846){const _0x1c4fc8=a0_0x59051e;if(_0x5c5846[_0x1c4fc8(0x35c)]==='v2'&&_0x1c4fc8(0x208)in _0x5c5846&&Array[_0x1c4fc8(0x2e0)](_0x5c5846[_0x1c4fc8(0x208)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x59051e(0x410)];constructor(_0x57e403){super(_0x57e403);const _0x2eaa0c=detectDatasetVersion(_0x57e403);this['_instance']=_0x2eaa0c==='v2'?new DrivenDataDetailV2(_0x57e403):new DrivenDataDetailV1(_0x57e403);}get['id'](){const _0x3d47ed=a0_0x59051e;return this[_0x3d47ed(0x410)]['id'];}get[a0_0x59051e(0x2e6)](){return this['_instance']['name'];}get[a0_0x59051e(0x43e)](){const _0x1622a8=a0_0x59051e;return this[_0x1622a8(0x410)]['datasetCode'];}get['version'](){const _0x5b569f=a0_0x59051e;return this[_0x5b569f(0x410)][_0x5b569f(0x265)]()==='v2'?_0x5b569f(0x369):'1.0';}[a0_0x59051e(0x265)](){const _0x1953ae=a0_0x59051e;return this['_instance'][_0x1953ae(0x265)]();}[a0_0x59051e(0x2e9)](){return this['_instance']['id'];}[a0_0x59051e(0x39e)](){const _0x40f08f=a0_0x59051e;return this[_0x40f08f(0x410)][_0x40f08f(0x43e)];}[a0_0x59051e(0x1d4)](){const _0xf45a2c=a0_0x59051e;return this[_0xf45a2c(0x410)][_0xf45a2c(0x2e6)];}[a0_0x59051e(0x414)](){const _0x2c80a8=a0_0x59051e;return this[_0x2c80a8(0x410)][_0x2c80a8(0x414)]();}[a0_0x59051e(0x3f4)](){const _0x2bc58e=a0_0x59051e;return this['_instance'][_0x2bc58e(0x3f4)]();}[a0_0x59051e(0x239)](){const _0x2440b6=a0_0x59051e;return this[_0x2440b6(0x410)][_0x2440b6(0x239)]();}['getFieldListWithDeleted'](){const _0x3501b9=a0_0x59051e;return this[_0x3501b9(0x410)][_0x3501b9(0x3dd)]();}[a0_0x59051e(0x378)](){const _0x56f767=a0_0x59051e;return this[_0x56f767(0x410)][_0x56f767(0x378)]();}['getFieldsWithDeleted'](){const _0x81d26f=a0_0x59051e;return this[_0x81d26f(0x410)][_0x81d26f(0x3ae)]();}[a0_0x59051e(0x3cd)](){const _0x294898=a0_0x59051e;return this['_instance'][_0x294898(0x3cd)]();}[a0_0x59051e(0x367)](){const _0x398a65=a0_0x59051e;return this[_0x398a65(0x410)][_0x398a65(0x367)]();}[a0_0x59051e(0x2d9)](){const _0x2d7532=a0_0x59051e,_0x1e8c94=this[_0x2d7532(0x410)]['getRawDbtableConfig']();return _0x1e8c94?.['pkField'];}[a0_0x59051e(0x308)](){const _0x620f7b=a0_0x59051e;return this['_instance'][_0x620f7b(0x308)]();}['getFieldInstance'](_0x15880d){const _0x430b76=a0_0x59051e;return this['_instance'][_0x430b76(0x227)](_0x15880d);}[a0_0x59051e(0x26e)](){const _0x59f18c=a0_0x59051e;return this[_0x59f18c(0x410)][_0x59f18c(0x26e)]();}[a0_0x59051e(0x20a)](){const _0x333f11=a0_0x59051e;return this[_0x333f11(0x410)][_0x333f11(0x20a)]();}[a0_0x59051e(0x20e)](){const _0x6fcd59=a0_0x59051e;return this[_0x6fcd59(0x410)]['getBusinessFields']();}[a0_0x59051e(0x2b4)](){const _0x54cee9=a0_0x59051e;return this['_instance'][_0x54cee9(0x2b4)]();}[a0_0x59051e(0x379)](){const _0x246c38=a0_0x59051e;return this[_0x246c38(0x410)]['getFieldsByType']();}[a0_0x59051e(0x1c5)](){const _0x10a36a=a0_0x59051e;return this[_0x10a36a(0x410)][_0x10a36a(0x1c5)]();}[a0_0x59051e(0x252)](){const _0x5949c3=a0_0x59051e;return this[_0x5949c3(0x410)]['getEnumFieldsMeta']();}['getOperations'](){const _0x5d938d=a0_0x59051e;return this[_0x5d938d(0x410)][_0x5d938d(0x450)]();}[a0_0x59051e(0x214)](){const _0x4ae542=a0_0x59051e;return this[_0x4ae542(0x410)][_0x4ae542(0x214)]();}[a0_0x59051e(0x1f9)](){const _0x5baefc=a0_0x59051e;return this['_instance'][_0x5baefc(0x1f9)]();}[a0_0x59051e(0x3f2)](){return this['_instance']['getDisabledOperations']();}[a0_0x59051e(0x1b4)](){const _0x4cc4ec=a0_0x59051e;return this[_0x4cc4ec(0x410)]['getEnabledOperationInstances']();}[a0_0x59051e(0x43f)](){const _0x495abf=a0_0x59051e;return this[_0x495abf(0x410)]['getDisabledOperationInstances']();}[a0_0x59051e(0x419)](){const _0x50482a=a0_0x59051e;return this[_0x50482a(0x410)]['getStats']();}[a0_0x59051e(0x298)](){const _0x1fc4d6=a0_0x59051e;return this['_instance'][_0x1fc4d6(0x298)]();}[a0_0x59051e(0x2ee)](){const _0x42dc63=a0_0x59051e;return this['_instance'][_0x42dc63(0x2ee)]();}[a0_0x59051e(0x405)](){const _0x1eb3e2=a0_0x59051e;return this[_0x1eb3e2(0x410)][_0x1eb3e2(0x405)]();}[a0_0x59051e(0x302)](){const _0xb87586=a0_0x59051e;return this['_instance'][_0xb87586(0x302)]();}[a0_0x59051e(0x2fe)](){const _0x15bc68=a0_0x59051e;return this['_instance'][_0x15bc68(0x2fe)]();}['toJSON'](){const _0x2b849f=a0_0x59051e;return this['_instance'][_0x2b849f(0x345)]();}['getFilterOperation'](){const _0x189302=a0_0x59051e;return this[_0x189302(0x410)][_0x189302(0x1d0)]();}[a0_0x59051e(0x24a)](){const _0x2a12ce=a0_0x59051e;return this['_instance'][_0x2a12ce(0x24a)]();}[a0_0x59051e(0x311)](){return this['_instance']['toListItem']();}[a0_0x59051e(0x3c8)](){const _0x63c4b3=a0_0x59051e;return this[_0x63c4b3(0x410)][_0x63c4b3(0x3c8)]();}[a0_0x59051e(0x3a9)](){return this['_instance'];}}function detectDatasetVersion2(_0x109cb8){const _0x18ee8b=a0_0x59051e;if(_0x109cb8[_0x18ee8b(0x35c)]==='v2'&&'fields'in _0x109cb8&&Array[_0x18ee8b(0x2e0)](_0x109cb8[_0x18ee8b(0x208)]))return'v2';return'v1';}function createDrivenDataDetail(_0x119f1a,_0x9b4d2a={}){const {forceVersion:_0x2b0fa0}=_0x9b4d2a;if(_0x2b0fa0==='v2')return new DrivenDataDetailV2(_0x119f1a);if(_0x2b0fa0==='v1')return new DrivenDataDetailV1(_0x119f1a);const _0x1a470c=detectDatasetVersion2(_0x119f1a);if(_0x1a470c==='v2')return new DrivenDataDetailV2(_0x119f1a);return new DrivenDataDetailV1(_0x119f1a);}function isV2Data(_0x3fc6f6){return detectDatasetVersion2(_0x3fc6f6)==='v2';}function isV1Data(_0x494a6c){return detectDatasetVersion2(_0x494a6c)==='v1';}function isV2Instance(_0x2b8a16){const _0x5ca70d=a0_0x59051e;return _0x2b8a16[_0x5ca70d(0x265)]()==='v2';}function isV1Instance(_0x357044){const _0x1fb4b7=a0_0x59051e;return _0x357044[_0x1fb4b7(0x265)]()==='v1';}class DatasetGroup{[a0_0x59051e(0x372)];constructor(_0x374128){const _0x367f5a=a0_0x59051e;this[_0x367f5a(0x372)]=Array['isArray'](_0x374128)?[..._0x374128]:[_0x374128],this[_0x367f5a(0x372)][_0x367f5a(0x33a)]((_0x2ca6b5,_0x8c36d)=>{const _0x2fd52b=Number(_0x2ca6b5['id'])||0x0,_0x254dc6=Number(_0x8c36d['id'])||0x0;return _0x254dc6-_0x2fd52b;});}[a0_0x59051e(0x1fe)](){const _0x4e5ac0=a0_0x59051e;return this[_0x4e5ac0(0x372)]['length']>0x1;}['getLatest'](){const _0x5593a7=a0_0x59051e;return this[_0x5593a7(0x372)][0x0];}[a0_0x59051e(0x364)](){const _0x286b49=a0_0x59051e;return this[_0x286b49(0x372)][this['items'][_0x286b49(0x32e)]-0x1];}['getAll'](){const _0x11bd9a=a0_0x59051e;return[...this[_0x11bd9a(0x372)]];}[a0_0x59051e(0x206)](){const _0x4386ad=a0_0x59051e;return this[_0x4386ad(0x372)][_0x4386ad(0x32e)];}[a0_0x59051e(0x20f)](_0x1d2737){return this['items'][_0x1d2737];}[a0_0x59051e(0x384)](_0x304856){const _0x1202e8=a0_0x59051e;return this[_0x1202e8(0x372)][_0x1202e8(0x42e)](_0x2bb321=>_0x2bb321['id']===_0x304856);}[a0_0x59051e(0x1b9)](_0x119f77){const _0x41e86c=a0_0x59051e;return this[_0x41e86c(0x372)][_0x41e86c(0x42e)](_0x5ace34=>_0x5ace34['datasetCode']===_0x119f77);}[a0_0x59051e(0x301)](){const _0x1e3dcf=a0_0x59051e;return this[_0x1e3dcf(0x372)][_0x1e3dcf(0x390)](_0x3d3446=>_0x3d3446['id'])[_0x1e3dcf(0x3a8)](_0x32c57a=>_0x32c57a!==undefined);}[a0_0x59051e(0x1c9)](){const _0x3d86bd=a0_0x59051e;return this[_0x3d86bd(0x372)]['map'](_0x388e72=>_0x388e72[_0x3d86bd(0x43e)]);}[a0_0x59051e(0x3c8)](){const _0x511bf2=a0_0x59051e;if(this[_0x511bf2(0x1fe)]())return _0x511bf2(0x1eb)+this[_0x511bf2(0x372)][_0x511bf2(0x32e)]+_0x511bf2(0x22c)+this['getLatest']()['name']+')';return _0x511bf2(0x1eb)+this[_0x511bf2(0x372)][0x0]['name']+')';}}class DatasetGroupMap{[a0_0x59051e(0x2ad)];constructor(_0x2e1d01){const _0x4f5234=a0_0x59051e;this[_0x4f5234(0x2ad)]=new Map();for(const _0x24d4d5 of _0x2e1d01){const _0x101b2e=_0x24d4d5[_0x4f5234(0x2ef)](),_0xd6b48b=_0x24d4d5[_0x4f5234(0x36c)]?.[_0x4f5234(0x420)],_0x12240c=_0x24d4d5[_0x4f5234(0x36c)]?.[_0x4f5234(0x2be)]||_0x24d4d5[_0x4f5234(0x36c)]?.[_0x4f5234(0x448)]?.['dbName']||'',_0x201b43=_0xd6b48b!==undefined&&_0xd6b48b!==null?'db'+_0xd6b48b:_0x12240c?getTableKey(_0x12240c):'',_0x326266=_0x201b43?_0x201b43+'_'+_0x101b2e:_0x101b2e,_0x187589=getTableKey(_0x326266);if(!this[_0x4f5234(0x2ad)][_0x4f5234(0x370)](_0x187589))this[_0x4f5234(0x2ad)]['set'](_0x187589,new DatasetGroup(_0x24d4d5));else{const _0x2f862d=this[_0x4f5234(0x2ad)]['get'](_0x187589),_0x5b6af3=[..._0x2f862d[_0x4f5234(0x221)](),_0x24d4d5];this[_0x4f5234(0x2ad)][_0x4f5234(0x380)](_0x187589,new DatasetGroup(_0x5b6af3));}}}[a0_0x59051e(0x2a8)](_0x3d0428){return this['groups']['get'](_0x3d0428);}[a0_0x59051e(0x370)](_0x52874b){const _0x44fe13=a0_0x59051e;return this[_0x44fe13(0x2ad)][_0x44fe13(0x370)](_0x52874b);}get[a0_0x59051e(0x203)](){const _0x329ab8=a0_0x59051e;return this['groups'][_0x329ab8(0x203)];}[a0_0x59051e(0x3ba)](){const _0x453575=a0_0x59051e;return this[_0x453575(0x2ad)][_0x453575(0x3ba)]();}[a0_0x59051e(0x34f)](){const _0x2be7f6=a0_0x59051e;return this['groups'][_0x2be7f6(0x34f)]();}[a0_0x59051e(0x3f5)](){const _0x1e38c1=a0_0x59051e;return this[_0x1e38c1(0x2ad)][_0x1e38c1(0x3f5)]();}[Symbol[a0_0x59051e(0x2b3)]](){const _0x585d07=a0_0x59051e;return this['groups'][_0x585d07(0x3f5)]();}[a0_0x59051e(0x246)](_0x1a8314){const _0x5eeeba=a0_0x59051e;this[_0x5eeeba(0x2ad)][_0x5eeeba(0x246)]((_0x1932d9,_0x30d3e5)=>_0x1a8314(_0x1932d9,_0x30d3e5,this));}['getConflicts'](){const _0x159876=a0_0x59051e,_0x161281=new Map();for(const [_0x44d6ab,_0x1caf85]of this['groups']){_0x1caf85['hasConflict']()&&_0x161281[_0x159876(0x380)](_0x44d6ab,_0x1caf85);}return _0x161281;}['hasConflicts'](){const _0x11339e=a0_0x59051e;for(const _0x31b118 of this[_0x11339e(0x2ad)][_0x11339e(0x34f)]()){if(_0x31b118[_0x11339e(0x1fe)]())return!![];}return![];}[a0_0x59051e(0x3f0)](){const _0x57268f=a0_0x59051e;let _0x320b6e=0x0,_0x4e64be=0x0;for(const _0x36494c of this['groups'][_0x57268f(0x34f)]()){_0x36494c['hasConflict']()&&(_0x320b6e++,_0x4e64be+=_0x36494c[_0x57268f(0x206)]());}const _0x1c585c={};return _0x1c585c[_0x57268f(0x3ed)]=_0x320b6e,_0x1c585c[_0x57268f(0x35a)]=_0x4e64be,_0x1c585c[_0x57268f(0x292)]=this[_0x57268f(0x2ad)][_0x57268f(0x203)],_0x1c585c;}[a0_0x59051e(0x453)](){const _0x4c12a4=a0_0x59051e,_0x50a927=[];for(const _0x43a98c of this[_0x4c12a4(0x2ad)][_0x4c12a4(0x34f)]()){_0x50a927[_0x4c12a4(0x276)](..._0x43a98c['getAll']());}return _0x50a927;}['getLatestDatasets'](){const _0x1f1dcc=a0_0x59051e,_0x32319f=[];for(const _0xc60c8f of this[_0x1f1dcc(0x2ad)][_0x1f1dcc(0x34f)]()){_0x32319f[_0x1f1dcc(0x276)](_0xc60c8f[_0x1f1dcc(0x446)]());}return _0x32319f;}[a0_0x59051e(0x446)](_0x4fc0f9){const _0x5dfeaa=a0_0x59051e;return this['groups'][_0x5dfeaa(0x2a8)](_0x4fc0f9)?.['getLatest']();}[a0_0x59051e(0x221)](_0x575866){const _0x4288be=a0_0x59051e;return this['groups'][_0x4288be(0x2a8)](_0x575866)?.[_0x4288be(0x221)]()||[];}[a0_0x59051e(0x24c)](){const _0x2d5b94=a0_0x59051e,_0x2119b0=this[_0x2d5b94(0x39d)](),_0x4db8d1=new Map();for(const _0x37dcf8 of _0x2119b0){const _0x262f71=_0x37dcf8[_0x2d5b94(0x2ef)](),_0x1c0a57=_0x37dcf8[_0x2d5b94(0x36c)]?.[_0x2d5b94(0x420)],_0x245f87=_0x37dcf8[_0x2d5b94(0x36c)]?.[_0x2d5b94(0x2be)]||_0x37dcf8[_0x2d5b94(0x36c)]?.[_0x2d5b94(0x448)]?.['dbName']||'',_0x43fb33=_0x1c0a57!==undefined&&_0x1c0a57!==null?'db'+_0x1c0a57:_0x245f87?getTableKey(_0x245f87):'';!_0x4db8d1[_0x2d5b94(0x370)](_0x262f71)&&_0x4db8d1['set'](_0x262f71,new Set()),_0x4db8d1[_0x2d5b94(0x2a8)](_0x262f71)[_0x2d5b94(0x394)](_0x43fb33);}const _0x27e884=new Set();for(const [_0x44b3c9,_0x3482d7]of _0x4db8d1){_0x3482d7[_0x2d5b94(0x203)]>0x1&&_0x27e884[_0x2d5b94(0x394)](_0x44b3c9);}const _0x2afcfe={},_0x13066f=new Set();for(const _0x2c1f8c of _0x2119b0){const _0x1cc535=_0x2c1f8c[_0x2d5b94(0x2ef)](),_0x31f32d=_0x2c1f8c[_0x2d5b94(0x345)](),_0x142ede=getTableKey(_0x1cc535);let _0x4c5bbb=_0x142ede;const _0xb3401d=_0x2c1f8c['dbtableConfig']?.[_0x2d5b94(0x2be)]||_0x2c1f8c[_0x2d5b94(0x36c)]?.['dblinkInfoDTO']?.[_0x2d5b94(0x2be)]||'';if(_0x27e884[_0x2d5b94(0x370)](_0x1cc535)&&_0xb3401d){const _0x19f4f4=getTableKey(_0xb3401d);_0x4c5bbb=''+_0x19f4f4+_0x142ede['charAt'](0x0)[_0x2d5b94(0x40a)]()+_0x142ede[_0x2d5b94(0x313)](0x1);}let _0x4f018b=_0x4c5bbb,_0x38acbf=0x1;while(_0x13066f[_0x2d5b94(0x370)](_0x4f018b)){_0x4f018b=_0x4c5bbb+'_'+_0x38acbf,_0x38acbf++;}_0x13066f['add'](_0x4f018b);const _0xe55542=_0x4f018b;_0x2afcfe[_0x4f018b]={'key':_0x4f018b,'alias':_0xe55542,'tableName':_0x1cc535,'datasetCode':_0x31f32d[_0x2d5b94(0x43e)],'name':_0x31f32d[_0x2d5b94(0x2e6)],'id':_0x31f32d['id'],'dbName':_0xb3401d};}return _0x2afcfe;}[a0_0x59051e(0x285)](){const _0x48e597=a0_0x59051e,_0x16374f=this['getAllDatasets'](),_0x38cb1e=_0x16374f[_0x48e597(0x390)](_0x2720dd=>_0x2720dd['toJSON']());return generateFullDatasetsConfig(_0x38cb1e);}[a0_0x59051e(0x3e5)](){const _0x3837={};for(const [_0x4eb5fb,_0x2b49d5]of this['groups']){_0x3837[_0x4eb5fb]=_0x2b49d5;}return _0x3837;}[a0_0x59051e(0x345)](){const _0x206c80=a0_0x59051e,_0x40e382={};for(const [_0x54de50,_0x4403cd]of this[_0x206c80(0x2ad)]){_0x40e382[_0x54de50]=_0x4403cd[_0x206c80(0x221)]()[_0x206c80(0x390)](_0x453c10=>_0x453c10['toJSON']());}return _0x40e382;}[a0_0x59051e(0x3c8)](){const _0x30a873=a0_0x59051e;return'DatasetGroupMap('+this['groups'][_0x30a873(0x203)]+_0x30a873(0x3e3)+(this['hasConflicts']()?'has\x20conflicts':_0x30a873(0x3a7))+')';}}class DatasetList{['_datasetMap'];constructor(_0x4dfee5){const _0x524905=a0_0x59051e;let _0x16791e;if(Array[_0x524905(0x2e0)](_0x4dfee5))_0x16791e=_0x4dfee5;else{if(_0x524905(0x305)in _0x4dfee5){if(!_0x4dfee5[_0x524905(0x305)])throw new Error(_0x524905(0x41e));if(Array[_0x524905(0x2e0)](_0x4dfee5[_0x524905(0x316)]))_0x16791e=_0x4dfee5[_0x524905(0x316)][_0x524905(0x390)](_0x571299=>({..._0x571299,'datasetCode':_0x571299[_0x524905(0x1cb)]||_0x571299[_0x524905(0x43e)]}));else{if(_0x4dfee5[_0x524905(0x316)]?.['tableData'])_0x16791e=_0x4dfee5[_0x524905(0x316)][_0x524905(0x465)][_0x524905(0x390)](_0x1b1ba4=>({..._0x1b1ba4,'datasetCode':_0x1b1ba4[_0x524905(0x1cb)]||_0x1b1ba4[_0x524905(0x43e)]}));else throw new Error('Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)');}}else{if(_0x524905(0x465)in _0x4dfee5){if(!Array[_0x524905(0x2e0)](_0x4dfee5[_0x524905(0x465)]))throw new Error(_0x524905(0x3db));_0x16791e=_0x4dfee5['tableData'][_0x524905(0x390)](_0x2cd64c=>({..._0x2cd64c,'datasetCode':_0x2cd64c[_0x524905(0x1cb)]||_0x2cd64c['datasetCode']}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse');}}const _0x55a615=cleanDatasetNames(_0x16791e),_0x4125d9=_0x55a615[_0x524905(0x390)](_0x41e069=>new DatasetItem(_0x41e069));this[_0x524905(0x33f)]=new DatasetGroupMap(_0x4125d9);}get[a0_0x59051e(0x401)](){const _0xab5182=a0_0x59051e;return this[_0xab5182(0x33f)];}[a0_0x59051e(0x350)](){const _0x334815=a0_0x59051e;return this['_datasetMap'][_0x334815(0x453)]();}[a0_0x59051e(0x206)](){const _0x843627=a0_0x59051e;return this[_0x843627(0x350)]()[_0x843627(0x32e)];}[a0_0x59051e(0x3c1)](){const _0x197b7c=a0_0x59051e;return this[_0x197b7c(0x33f)][_0x197b7c(0x203)]===0x0;}[a0_0x59051e(0x20f)](_0x29068c){const _0x57ca53=a0_0x59051e;return this[_0x57ca53(0x350)]()[_0x29068c];}[a0_0x59051e(0x3d7)](){const _0x4676d5=a0_0x59051e;return this[_0x4676d5(0x350)]()[0x0];}['getLast'](){const _0x2dcb61=a0_0x59051e,_0x37a60e=this[_0x2dcb61(0x350)]();return _0x37a60e[_0x37a60e[_0x2dcb61(0x32e)]-0x1];}[a0_0x59051e(0x1b9)](_0x33356e){const _0x53bb12=a0_0x59051e;for(const _0x59fa4e of this[_0x53bb12(0x33f)]['values']()){const _0x20154e=_0x59fa4e[_0x53bb12(0x1b9)](_0x33356e);if(_0x20154e)return _0x20154e;}return;}[a0_0x59051e(0x30c)](_0x3488cd){const _0x4551a8=a0_0x59051e;return this[_0x4551a8(0x350)]()[_0x4551a8(0x42e)](_0x362d5f=>_0x362d5f[_0x4551a8(0x2e6)]===_0x3488cd);}[a0_0x59051e(0x384)](_0x505c43){const _0x5cd5da=a0_0x59051e;for(const _0x5c4b89 of this[_0x5cd5da(0x33f)]['values']()){const _0x6d14a7=_0x5c4b89[_0x5cd5da(0x384)](_0x505c43);if(_0x6d14a7)return _0x6d14a7;}return;}[a0_0x59051e(0x26a)](_0x4f0b9f){const _0x53f890=a0_0x59051e;for(const _0x1169ac of this['_datasetMap'][_0x53f890(0x34f)]()){const _0x212da6=_0x1169ac['getLatest']();if(_0x212da6[_0x53f890(0x2ef)]()===_0x4f0b9f)return _0x212da6;}return;}['findAllByTableName'](_0x198f05){const _0x5e8234=a0_0x59051e,_0x498453=[];for(const _0x1175b1 of this[_0x5e8234(0x33f)][_0x5e8234(0x34f)]()){const _0x9bcaf1=_0x1175b1['getLatest']();_0x9bcaf1[_0x5e8234(0x2ef)]()===_0x198f05&&_0x498453[_0x5e8234(0x276)](_0x9bcaf1);}return _0x498453;}['filter'](_0x2356a8){const _0x369628=a0_0x59051e,_0x56d408=this['getItems']()[_0x369628(0x3a8)](_0x2356a8);return new DatasetList(_0x56d408['map'](_0xa202d6=>_0xa202d6[_0x369628(0x345)]()));}['findAll'](_0x1d478b){const _0x4c1c83=a0_0x59051e;return this[_0x4c1c83(0x350)]()['filter'](_0x1d478b);}['forEach'](_0x2a563c){const _0x5e89e7=a0_0x59051e;this['getItems']()[_0x5e89e7(0x246)](_0x2a563c);}['map'](_0x291859){const _0xa1c22=a0_0x59051e;return this[_0xa1c22(0x350)]()[_0xa1c22(0x390)](_0x291859);}[Symbol[a0_0x59051e(0x2b3)]](){const _0x300e28=a0_0x59051e;return this[_0x300e28(0x350)]()[Symbol['iterator']]();}[a0_0x59051e(0x249)](){const _0x46ce35=a0_0x59051e;return this['getItems']()[_0x46ce35(0x3a8)](_0x3db000=>_0x3db000[_0x46ce35(0x423)]());}[a0_0x59051e(0x23f)](){const _0x3e7b1d=a0_0x59051e;return this[_0x3e7b1d(0x350)]()[_0x3e7b1d(0x3a8)](_0x837faf=>!_0x837faf['isVirtualTable']());}[a0_0x59051e(0x1ba)](){const _0x3f93f3=a0_0x59051e,_0x10899b={};for(const _0x1713ab of this[_0x3f93f3(0x33f)][_0x3f93f3(0x34f)]()){const _0x304eaa=_0x1713ab[_0x3f93f3(0x446)]()['getTableName']();_0x10899b[_0x304eaa]=_0x1713ab[_0x3f93f3(0x221)]();}return _0x10899b;}[a0_0x59051e(0x282)](){const _0x9d2e71=a0_0x59051e,_0x11d95d={};for(const _0x2bdd7e of this['_datasetMap']['getConflicts']()[_0x9d2e71(0x34f)]()){const _0x570566=_0x2bdd7e[_0x9d2e71(0x446)]()[_0x9d2e71(0x2ef)]();_0x11d95d[_0x570566]=_0x2bdd7e[_0x9d2e71(0x221)]()[_0x9d2e71(0x390)](_0x271545=>_0x271545[_0x9d2e71(0x345)]());}return{'hasConflicts':Object[_0x9d2e71(0x3ba)](_0x11d95d)['length']>0x0,'conflicts':_0x11d95d};}[a0_0x59051e(0x40d)](){const _0x28af5f=a0_0x59051e;return this[_0x28af5f(0x33f)]['hasConflicts']();}['getConflictingItems'](){const _0x4e68a3=a0_0x59051e,_0x449ba4=[];for(const _0x5270d6 of this[_0x4e68a3(0x33f)][_0x4e68a3(0x1f1)]()[_0x4e68a3(0x34f)]()){_0x449ba4[_0x4e68a3(0x276)](..._0x5270d6[_0x4e68a3(0x221)]());}return _0x449ba4;}['generateConfig'](_0x51244d){const _0x30b3db=a0_0x59051e;if(!_0x51244d||Object[_0x30b3db(0x3ba)](_0x51244d)['length']===0x0)return this[_0x30b3db(0x401)][_0x30b3db(0x24c)]();const _0x140aa2=this[_0x30b3db(0x350)]()['map'](_0x2cf088=>_0x2cf088[_0x30b3db(0x345)]());return generateDatasetsConfig(_0x140aa2,_0x51244d);}[a0_0x59051e(0x244)](_0x546ed3){const _0x43805f=a0_0x59051e,_0x286dd9=this[_0x43805f(0x432)](_0x546ed3);return datasetsConfigToArray(_0x286dd9);}['toConfigArray'](){const _0x20e09f=a0_0x59051e;return this[_0x20e09f(0x350)]()[_0x20e09f(0x390)](_0xa6e850=>_0xa6e850['toConfig']());}['getStats'](){const _0x42c0f9=a0_0x59051e;return{'total':this[_0x42c0f9(0x206)](),'virtualTables':this['getVirtualTables']()[_0x42c0f9(0x32e)],'realTables':this[_0x42c0f9(0x23f)]()[_0x42c0f9(0x32e)],'hasConflicts':this[_0x42c0f9(0x40d)](),'conflictCount':this[_0x42c0f9(0x3b9)]()[_0x42c0f9(0x32e)]};}[a0_0x59051e(0x2f3)](){const _0x4aca9a=a0_0x59051e;return this[_0x4aca9a(0x350)]()['map'](_0x30f142=>_0x30f142[_0x4aca9a(0x345)]());}[a0_0x59051e(0x345)](){return this['toArray']();}[a0_0x59051e(0x3c8)](){const _0xb9f527=a0_0x59051e;return _0xb9f527(0x2ca)+this[_0xb9f527(0x206)]()+_0xb9f527(0x392)+this[_0xb9f527(0x33f)][_0xb9f527(0x203)]+_0xb9f527(0x1c8);}static[a0_0x59051e(0x223)](_0x14fb32){return new DatasetList(_0x14fb32);}static[a0_0x59051e(0x403)](_0x29a32a){return new DatasetList(_0x29a32a);}static[a0_0x59051e(0x2dc)](){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(_0x3638f2,_0x36e818,_0x220091={}){const _0x13f31f=a0_0x59051e;let _0x4cda91=_0x3638f2;return Object[_0x13f31f(0x3f5)](_0x220091)[_0x13f31f(0x246)](([_0x108221,_0x34928b])=>{const _0x4e2084=_0x13f31f,_0x56cea3=new RegExp(_0x4e2084(0x278)+_0x108221+_0x4e2084(0x291),'g');_0x4cda91=_0x4cda91[_0x4e2084(0x210)](_0x56cea3,_0x34928b?'$1':'');}),Object[_0x13f31f(0x3f5)](_0x36e818)['forEach'](([_0x323141,_0x56a331])=>{const _0x3f6516=_0x13f31f;if(_0x56a331!==undefined){const _0x529077=new RegExp('\x5c{\x5c{'+_0x323141+_0x3f6516(0x3e7),'g');_0x4cda91=_0x4cda91[_0x3f6516(0x210)](_0x529077,_0x56a331);}}),_0x4cda91;}function generateSDKInitCode(_0x11efd3,_0x27ebb5,_0xa62064,_0x2c5758,_0x538784){const _0x3ad549=a0_0x59051e,_0x1adea9={};_0x1adea9[_0x3ad549(0x1d3)]=_0x11efd3,_0x1adea9[_0x3ad549(0x43e)]=_0x27ebb5,_0x1adea9[_0x3ad549(0x2c8)]=_0xa62064,_0x1adea9[_0x3ad549(0x45c)]=_0x2c5758==='daily'?_0x3ad549(0x1d7):undefined;const _0xb18a6a={};return _0xb18a6a[_0x3ad549(0x45c)]=_0x2c5758!==undefined&&_0x2c5758!=='online',_0xb18a6a['isOpenAPI']=_0x538784===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x1adea9,_0xb18a6a);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x59051e(0x32a);function generateAliasExplanation(_0x443d77,_0x320f2b,_0x371454,_0x233834){const _0x33b2fb=a0_0x59051e,_0x2b6a3f='dataset_'+_0x443d77,_0x13a191=_0x33b2fb(0x398),_0x1035a8={};return _0x1035a8['datasetCode']=_0x443d77,_0x1035a8['datasetSDKKey']=_0x2b6a3f,_0x1035a8[_0x33b2fb(0x424)]=_0x320f2b,_0x1035a8['alias']=_0x371454,_0x1035a8['appCode']=_0x233834,_0x1035a8['exampleWhere']=_0x13a191,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x1035a8,{});}function DrivenDataDetailPlusMixin(_0x137206){const _0x29f5df=a0_0x59051e;return class _0x547c73 extends _0x137206{[_0x29f5df(0x1f3)](_0xea0426){const _0x56f08a=_0x29f5df;return{'appCode':_0xea0426,'datasetSDKKey':this[_0x56f08a(0x27c)](),'alias':this[_0x56f08a(0x399)](),'tableName':this[_0x56f08a(0x2ef)](),'datasetCode':this[_0x56f08a(0x43e)]};}['generateSDKInitCode'](_0x54d83c,_0x6291bb=_0x29f5df(0x245),_0x54cd7f=![]){const _0x5237f9=_0x29f5df;return generateSDKInitCode(_0x54d83c,this['datasetCode'],this[_0x5237f9(0x399)](),_0x6291bb===_0x5237f9(0x1d7)?_0x6291bb:undefined,_0x54cd7f);}['generateFullSDKExample'](_0x1a0a2d,_0x43bb57,_0x231465={}){const _0x397581=_0x29f5df,_0x5dcfbf=this[_0x397581(0x450)]()[_0x397581(0x42e)](_0x310e58=>_0x310e58[_0x397581(0x1d4)]()===_0x1a0a2d);if(!_0x5dcfbf)return null;const _0x2e59c4={};_0x2e59c4[_0x397581(0x2ff)]=_0x231465[_0x397581(0x27d)]!==![];const _0xe12a01=this[_0x397581(0x3a2)](_0x1a0a2d,_0x2e59c4);if(!_0xe12a01)return null;const _0x1b5aa5=[];return _0x1b5aa5[_0x397581(0x276)]('//\x20Call\x20the\x20'+_0x5dcfbf[_0x397581(0x1d4)]()+_0x397581(0x3c9)),_0x1b5aa5[_0x397581(0x276)](_0xe12a01[_0x397581(0x297)][_0x397581(0x1cb)]),_0x1b5aa5['push'](''),_0x231465[_0x397581(0x327)]!==![]&&(_0x1b5aa5[_0x397581(0x276)]('//\x20Usage\x20examples'),_0x1b5aa5[_0x397581(0x276)](_0xe12a01[_0x397581(0x1b6)][_0x397581(0x207)]),_0x1b5aa5[_0x397581(0x276)](''),_0x1b5aa5[_0x397581(0x276)](_0xe12a01[_0x397581(0x1b6)][_0x397581(0x3b1)])),_0x1b5aa5[_0x397581(0x2f5)]('\x0a');}[_0x29f5df(0x1ed)](_0x256abf={}){const _0x41eb93=_0x29f5df,_0x10ac15=this['getEnabledOperationAnalyses'](),_0x6a8a6f=[];return _0x10ac15[_0x41eb93(0x246)]((_0x278325,_0xcb796e)=>{const _0x1c9502=_0x41eb93,_0x15cf90=this[_0x1c9502(0x205)](_0x278325[_0x1c9502(0x2e6)],_0x1c9502(0x1fb),_0x256abf);_0x15cf90&&(_0x6a8a6f[_0x1c9502(0x276)](_0x1c9502(0x2b0)+(_0xcb796e+0x1)+'.\x20'+_0x278325[_0x1c9502(0x45b)]),_0x6a8a6f[_0x1c9502(0x276)](_0x15cf90),_0x6a8a6f[_0x1c9502(0x276)](''));}),_0x6a8a6f['join']('\x0a');}[_0x29f5df(0x2b9)](_0xb34958){const _0x571750=_0x29f5df,_0x58ccbc=this[_0x571750(0x254)](_0xb34958);if(!_0x58ccbc)return null;const _0x556b66={};return _0x556b66['name']=_0x58ccbc[_0x571750(0x2e6)],_0x556b66[_0x571750(0x45b)]=_0x58ccbc['displayName'],_0x556b66[_0x571750(0x2f9)]=_0x58ccbc[_0x571750(0x2f9)],_0x556b66[_0x571750(0x377)]=_0x58ccbc['path'],_0x556b66['enabled']=_0x58ccbc[_0x571750(0x441)],_0x556b66['requestFieldCount']=_0x58ccbc['requestFields'][_0x571750(0x32e)],_0x556b66[_0x571750(0x40f)]=_0x58ccbc[_0x571750(0x45a)]!==null,_0x556b66;}[_0x29f5df(0x1ce)](_0x35e4a5={}){const _0x31fcfa=_0x29f5df,_0x1cc366=this[_0x31fcfa(0x445)]();return{'datasetName':this[_0x31fcfa(0x2e6)],'datasetCode':this[_0x31fcfa(0x43e)],'tableName':this['getTableName'](),'totalOperations':_0x1cc366[_0x31fcfa(0x32e)],'operations':_0x1cc366['map'](_0x4570b9=>({'name':_0x4570b9[_0x31fcfa(0x2e6)],'displayName':_0x4570b9[_0x31fcfa(0x45b)],'method':_0x4570b9['method'],'enabled':_0x4570b9[_0x31fcfa(0x441)]}))};}[_0x29f5df(0x2c2)](_0x578300){const _0x2e3ee8=_0x29f5df,_0x59e48f=this[_0x2e3ee8(0x254)](_0x578300);if(!_0x59e48f)return[];return _0x59e48f['requestFields']['map'](_0x368c0f=>{const _0x3742b2=_0x2e3ee8,_0x583c77=this[_0x3742b2(0x227)](_0x368c0f);if(!_0x583c77)return null;const _0x20650d={};return _0x20650d[_0x3742b2(0x1cb)]=_0x368c0f,_0x20650d[_0x3742b2(0x2e6)]=_0x583c77[_0x3742b2(0x2e6)]||_0x368c0f,_0x20650d;})['filter'](_0x484a23=>_0x484a23!==null);}['getMissingCRUDOperations'](){const _0x2aa401=_0x29f5df,_0x2cd495=new Set(this[_0x2aa401(0x445)]()[_0x2aa401(0x390)](_0x4dd339=>String(_0x4dd339['type']))),_0x32085e=[_0x2aa401(0x382),_0x2aa401(0x339),_0x2aa401(0x234),_0x2aa401(0x28d)];return _0x32085e['filter'](_0x30c633=>!_0x2cd495['has'](String(_0x30c633)));}['generateAliasExplanation'](_0x50c3c4='demo-app'){const _0x444ae9=_0x29f5df;return generateAliasExplanation(this[_0x444ae9(0x43e)],this[_0x444ae9(0x2ef)](),this[_0x444ae9(0x399)](),_0x50c3c4);}};}function operationToAnalysis(_0xf8e0bd){const _0x44dd84=a0_0x59051e;return{'name':_0xf8e0bd['getName'](),'displayName':_0xf8e0bd['getDisplayName'](),'type':_0xf8e0bd[_0x44dd84(0x321)](),'method':_0xf8e0bd[_0x44dd84(0x1c4)](),'path':_0xf8e0bd['getPath'](),'fullUrl':_0xf8e0bd[_0x44dd84(0x21c)](),'requestFields':_0xf8e0bd[_0x44dd84(0x204)](),'requestParams':_0xf8e0bd[_0x44dd84(0x2ce)](),'responseSchema':_0xf8e0bd[_0x44dd84(0x2d1)](),'requestExample':_0xf8e0bd[_0x44dd84(0x213)](),'responseExample':_0xf8e0bd[_0x44dd84(0x38a)](),'enabled':_0xf8e0bd[_0x44dd84(0x3b3)]()};}function operationsToAnalyses(_0x22fe02){const _0x23e8fe=a0_0x59051e;if(!Array[_0x23e8fe(0x2e0)](_0x22fe02))return!![]&&console[_0x23e8fe(0x24e)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0x22fe02),[];return _0x22fe02[_0x23e8fe(0x390)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x44b3dd){const _0x4c9abb=a0_0x59051e,_0x4857d1=_0x44b3dd['find'](_0x511c96=>_0x511c96['name']===_0x4c9abb(0x3a8)),_0xe6c820=_0x44b3dd[_0x4c9abb(0x3a8)](_0x55f1fa=>_0x55f1fa[_0x4c9abb(0x2e6)]!==_0x4c9abb(0x3a8));return _0x4857d1?[_0x4857d1,..._0xe6c820]:_0xe6c820;}function filterOperationAnalyses(_0x5bf01d,_0x22d8e7={}){const _0x514a19=a0_0x59051e;let _0x16066f=_0x5bf01d;return!_0x22d8e7[_0x514a19(0x225)]&&(_0x16066f=_0x16066f['filter'](_0x6d13f5=>_0x6d13f5[_0x514a19(0x441)])),_0x22d8e7[_0x514a19(0x2b2)]!==![]&&(_0x16066f=filterApiOperations(_0x16066f)),_0x22d8e7[_0x514a19(0x27e)]&&(_0x16066f=_0x16066f['filter'](_0x22d8e7['customFilter'])),sortOperationsWithFilterFirst(_0x16066f);}function getOperationStats(_0x2b5833){const _0x4bb031=a0_0x59051e,_0x4c8ed7=_0x2b5833[_0x4bb031(0x3a8)](_0x1716bb=>_0x1716bb[_0x4bb031(0x441)]);return{'total':_0x2b5833[_0x4bb031(0x32e)],'enabled':_0x4c8ed7[_0x4bb031(0x32e)],'disabled':_0x2b5833['length']-_0x4c8ed7[_0x4bb031(0x32e)],'byType':getCountByType(_0x4c8ed7),'byMethod':getCountByMethod(_0x4c8ed7)};}function getCountByType(_0x30c3c6){const _0xbbde13={};return _0x30c3c6['forEach'](_0x14e86b=>{const _0x329b5a=a0_0x4dcf;if(_0x14e86b[_0x329b5a(0x280)])_0xbbde13[_0x14e86b[_0x329b5a(0x280)]]=(_0xbbde13[_0x14e86b[_0x329b5a(0x280)]]||0x0)+0x1;}),_0xbbde13;}function getCountByMethod(_0x61576c){const _0xf7181e=a0_0x59051e,_0x59cb1e={};return _0x61576c[_0xf7181e(0x246)](_0x1aeab5=>{const _0x38f199=_0xf7181e;_0x59cb1e[_0x1aeab5[_0x38f199(0x2f9)]]=(_0x59cb1e[_0x1aeab5['method']]||0x0)+0x1;}),_0x59cb1e;}function supportsCRUD(_0x1f177d){const _0x5e182e=a0_0x59051e,_0x3d6f73=new Set(_0x1f177d['map'](_0x1041dd=>_0x1041dd[_0x5e182e(0x280)])[_0x5e182e(0x3a8)](Boolean));return _0x3d6f73[_0x5e182e(0x370)](_0x5e182e(0x382))&&_0x3d6f73[_0x5e182e(0x370)]('getList')&&_0x3d6f73[_0x5e182e(0x370)](_0x5e182e(0x234))&&_0x3d6f73[_0x5e182e(0x370)]('delete');}function createOperationDocMeta(_0x326aa8,_0x42b70d,_0xe2566c,_0x242505,_0x149df1,_0xc6f004){const _0x128e94=a0_0x59051e,_0x32f6b4={};return _0x32f6b4[_0x128e94(0x2ff)]=_0xc6f004?.[_0x128e94(0x2ff)],{'operation':_0x326aa8,'operationInstance':_0x42b70d,'basicInfo':{'name':_0x326aa8[_0x128e94(0x2e6)],'displayName':_0x326aa8[_0x128e94(0x45b)],'method':_0x326aa8[_0x128e94(0x2f9)],'path':_0x326aa8[_0x128e94(0x377)],'fullUrl':_0x326aa8[_0x128e94(0x38d)],'enabled':_0x326aa8[_0x128e94(0x441)]},'sdkCall':{'datasetCode':_0xe2566c,'datasetSDKKey':_0x242505,'tableName':_0x149df1,'operationName':_0x326aa8['name'],'params':_0x326aa8[_0x128e94(0x1c2)],'code':_0x42b70d['generateSDKCallCode'](_0x242505,_0x32f6b4)},'usageExample':_0x42b70d[_0x128e94(0x402)](_0x242505)};}function createOperationsOverviewData(_0x1a639f){const _0x4d0eeb=a0_0x59051e,_0x271631={};_0x271631[_0x4d0eeb(0x319)]=_0x4d0eeb(0x2e6),_0x271631['label']=_0x4d0eeb(0x3c3);const _0x7f6030={};_0x7f6030['index']='displayName',_0x7f6030[_0x4d0eeb(0x240)]=_0x4d0eeb(0x460);const _0x5b0b3a={};_0x5b0b3a[_0x4d0eeb(0x319)]=_0x4d0eeb(0x2f9),_0x5b0b3a[_0x4d0eeb(0x240)]='方法';const _0x4cdec6={};_0x4cdec6[_0x4d0eeb(0x319)]=_0x4d0eeb(0x297),_0x4cdec6[_0x4d0eeb(0x240)]='SDK\x20调用';const _0x10cbfc={};_0x10cbfc[_0x4d0eeb(0x319)]='path',_0x10cbfc[_0x4d0eeb(0x240)]=_0x4d0eeb(0x3aa);const _0x2de3fa={};_0x2de3fa['index']=_0x4d0eeb(0x2a7),_0x2de3fa[_0x4d0eeb(0x240)]='完整的\x20SDK\x20调用代码';const _0x17a6dd=[_0x271631,_0x7f6030,_0x5b0b3a,_0x4cdec6,_0x10cbfc,_0x2de3fa],_0x3abe36=_0x1a639f[_0x4d0eeb(0x390)](_0x207656=>{const _0x40f8d5=_0x4d0eeb,{basicInfo:_0x2820fc,sdkCall:_0x442720}=_0x207656,_0x2b1f20=_0x442720[_0x40f8d5(0x1cb)][_0x40f8d5(0x210)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x40f8d5(0x210)](/;$/,''),_0x4a9b0f={};return _0x4a9b0f[_0x40f8d5(0x45b)]=_0x2820fc[_0x40f8d5(0x45b)],_0x4a9b0f['name']=_0x2820fc[_0x40f8d5(0x2e6)],_0x4a9b0f[_0x40f8d5(0x2f9)]=_0x2820fc[_0x40f8d5(0x2f9)],_0x4a9b0f[_0x40f8d5(0x377)]=_0x2820fc[_0x40f8d5(0x377)],_0x4a9b0f[_0x40f8d5(0x297)]=_0x2b1f20,_0x4a9b0f[_0x40f8d5(0x2a7)]=_0x442720['code'],_0x4a9b0f;}),_0x3e3057={};return _0x3e3057[_0x4d0eeb(0x3ab)]=_0x17a6dd,_0x3e3057['tableData']=_0x3abe36,_0x3e3057;}function createDatasetDocMeta(_0x3ddfc5,_0x191b36,_0x476523,_0x55ab4c,_0x193d0a,_0x45f330,_0x578401,_0x5a93f8,_0x434b3b){const _0x257cd0=a0_0x59051e,_0xb6250a={};return _0xb6250a[_0x257cd0(0x2a4)]=_0x3ddfc5+_0x257cd0(0x21e),_0xb6250a[_0x257cd0(0x2f7)]={},_0xb6250a[_0x257cd0(0x1bd)]=_0x434b3b,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x2e6)]=_0x3ddfc5,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x1cb)]=_0x191b36,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x424)]=_0x476523,_0xb6250a[_0x257cd0(0x2f7)]['datasetSDKKey']=_0x55ab4c,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x22a)]=_0x193d0a,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x400)]=_0x45f330,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x277)]=_0x578401,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x34e)]=0x0,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x23d)]=0x0,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x335)]=_0x5a93f8,_0xb6250a[_0x257cd0(0x2f7)]['enabledOperationCount']=_0x434b3b[_0x257cd0(0x32e)],_0xb6250a;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}[a0_0x59051e(0x399)](){const _0x3d169d=a0_0x59051e;return this[_0x3d169d(0x2e3)]();}[a0_0x59051e(0x371)](_0xe4e109=![]){const _0x104d70=a0_0x59051e;if(!_0xe4e109&&this[_0x104d70(0x37e)])return this[_0x104d70(0x37e)];const _0x3d34f0=this[_0x104d70(0x450)]();return this[_0x104d70(0x37e)]=operationsToAnalyses(_0x3d34f0),this['_operationAnalyses'];}['getEnabledOperationAnalyses'](){const _0x4cfb15=a0_0x59051e,_0x5976e4={};return _0x5976e4[_0x4cfb15(0x225)]=![],_0x5976e4[_0x4cfb15(0x2b2)]=!![],this[_0x4cfb15(0x3d2)](_0x5976e4);}[a0_0x59051e(0x3d2)](_0x2da04a={}){const _0x16b5ce=a0_0x59051e;return filterOperationAnalyses(this[_0x16b5ce(0x371)](),_0x2da04a);}[a0_0x59051e(0x254)](_0x2e169b){const _0xb07f63=a0_0x59051e;return this['getOperationAnalyses']()[_0xb07f63(0x42e)](_0x30f164=>_0x30f164['name']===_0x2e169b);}[a0_0x59051e(0x30b)](_0x37c876){const _0x460e90=a0_0x59051e;return this['getOperationAnalyses']()['filter'](_0x2e6c1d=>_0x2e6c1d[_0x460e90(0x280)]===_0x37c876);}[a0_0x59051e(0x3a2)](_0x1c2ec1,_0x2a2a21){const _0x453a15=a0_0x59051e,_0x2f0bad=this['getOperationAnalysis'](_0x1c2ec1);if(!_0x2f0bad)return null;const _0x97c646=this[_0x453a15(0x450)]()[_0x453a15(0x42e)](_0x513516=>_0x513516['getName']()===_0x2f0bad['name']);if(!_0x97c646)throw new Error(_0x453a15(0x365)+_0x2f0bad[_0x453a15(0x2e6)]);return createOperationDocMeta(_0x2f0bad,_0x97c646,this['datasetCode'],this[_0x453a15(0x27c)](),this[_0x453a15(0x2ef)](),_0x2a2a21);}[a0_0x59051e(0x44e)](_0x8eba16={}){const _0x4094aa=a0_0x59051e,_0x1f3250=this[_0x4094aa(0x3d2)](_0x8eba16),_0xc45525=_0x1f3250[_0x4094aa(0x390)](_0x29d7ab=>this[_0x4094aa(0x3a2)](_0x29d7ab[_0x4094aa(0x2e6)]))['filter'](_0x1baf27=>_0x1baf27!==null);return createDatasetDocMeta(this[_0x4094aa(0x2e6)],this['datasetCode'],this[_0x4094aa(0x2ef)](),this[_0x4094aa(0x27c)](),this[_0x4094aa(0x2e3)](),this[_0x4094aa(0x400)],this[_0x4094aa(0x367)](),this[_0x4094aa(0x214)](),_0xc45525);}[a0_0x59051e(0x324)](_0x2248a2){return createOperationsOverviewData(_0x2248a2);}[a0_0x59051e(0x1df)](){const _0x4fb7a0=a0_0x59051e;return supportsCRUD(this[_0x4fb7a0(0x445)]());}[a0_0x59051e(0x2f8)](){const _0x540757=a0_0x59051e;return getOperationStats(this[_0x540757(0x371)]());}[a0_0x59051e(0x3c8)](){const _0x1a9b8a=a0_0x59051e,_0x5d48c0=this[_0x1a9b8a(0x2f8)]();return _0x1a9b8a(0x1af)+this[_0x1a9b8a(0x2e6)]+',\x20'+this[_0x1a9b8a(0x43e)]+',\x20'+this[_0x1a9b8a(0x367)]()+_0x1a9b8a(0x279)+_0x5d48c0['enabled']+'/'+_0x5d48c0[_0x1a9b8a(0x2b8)]+_0x1a9b8a(0x29b);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x59051e(0x37e)];['getVersion'](){return'v2';}[a0_0x59051e(0x399)](){const _0x2d3779=a0_0x59051e;return this[_0x2d3779(0x2e3)]();}[a0_0x59051e(0x371)](_0x1b2d72=![]){const _0x41e564=a0_0x59051e;if(!_0x1b2d72&&this[_0x41e564(0x37e)])return this[_0x41e564(0x37e)];const _0x3a5bd1=this[_0x41e564(0x450)]();return this[_0x41e564(0x37e)]=operationsToAnalyses(_0x3a5bd1),this[_0x41e564(0x37e)];}[a0_0x59051e(0x445)](){const _0x28577a=a0_0x59051e,_0x5536e0={};return _0x5536e0['includeDisabled']=![],_0x5536e0[_0x28577a(0x2b2)]=!![],this[_0x28577a(0x3d2)](_0x5536e0);}[a0_0x59051e(0x3d2)](_0x288273={}){const _0x2c15df=a0_0x59051e;return filterOperationAnalyses(this[_0x2c15df(0x371)](),_0x288273);}[a0_0x59051e(0x254)](_0x5d2109){const _0xba5833=a0_0x59051e;return this['getOperationAnalyses']()[_0xba5833(0x42e)](_0x546fee=>_0x546fee[_0xba5833(0x2e6)]===_0x5d2109);}[a0_0x59051e(0x30b)](_0x26d3bb){const _0x59e495=a0_0x59051e;return this[_0x59e495(0x371)]()[_0x59e495(0x3a8)](_0xa927e6=>_0xa927e6[_0x59e495(0x280)]===_0x26d3bb);}[a0_0x59051e(0x3a2)](_0x4e0e7f,_0x28ba06){const _0x2462ad=a0_0x59051e,_0x5f0ce4=this[_0x2462ad(0x254)](_0x4e0e7f);if(!_0x5f0ce4)return null;const _0x2d5ec5=this['getOperations']()[_0x2462ad(0x42e)](_0x28276b=>_0x28276b[_0x2462ad(0x1d4)]()===_0x5f0ce4['name']);if(!_0x2d5ec5)throw new Error('Operation\x20not\x20found:\x20'+_0x5f0ce4[_0x2462ad(0x2e6)]);return createOperationDocMeta(_0x5f0ce4,_0x2d5ec5,this[_0x2462ad(0x43e)],this['getDatasetSDKKey'](),this[_0x2462ad(0x2ef)](),_0x28ba06);}[a0_0x59051e(0x44e)](_0x39961b={}){const _0x1bec50=a0_0x59051e,_0x8c452e=this[_0x1bec50(0x3d2)](_0x39961b),_0x484a7f=_0x8c452e['map'](_0x446a06=>this[_0x1bec50(0x3a2)](_0x446a06[_0x1bec50(0x2e6)]))[_0x1bec50(0x3a8)](_0x3f5446=>_0x3f5446!==null);return createDatasetDocMeta(this[_0x1bec50(0x2e6)],this[_0x1bec50(0x43e)],this['getTableName'](),this[_0x1bec50(0x27c)](),this[_0x1bec50(0x2e3)](),this[_0x1bec50(0x400)],this['getFieldCount'](),this[_0x1bec50(0x214)](),_0x484a7f);}['getOperationsOverviewData'](_0x5c2734){return createOperationsOverviewData(_0x5c2734);}[a0_0x59051e(0x1df)](){const _0x273d7d=a0_0x59051e;return supportsCRUD(this[_0x273d7d(0x445)]());}[a0_0x59051e(0x2f8)](){const _0x3f2627=a0_0x59051e;return getOperationStats(this[_0x3f2627(0x371)]());}['toString'](){const _0x41a394=a0_0x59051e,_0x4f9c4d=this[_0x41a394(0x2f8)]();return _0x41a394(0x1dc)+this[_0x41a394(0x2e6)]+',\x20'+this[_0x41a394(0x43e)]+',\x20'+this['getFieldCount']()+_0x41a394(0x279)+_0x4f9c4d[_0x41a394(0x441)]+'/'+_0x4f9c4d[_0x41a394(0x2b8)]+'\x20operations,\x20v2)';}}function detectDatasetVersion3(_0x11196e){const _0x42c932=a0_0x59051e;if(_0x11196e['doVersion']==='v2'&&_0x42c932(0x208)in _0x11196e&&Array[_0x42c932(0x2e0)](_0x11196e[_0x42c932(0x208)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x59051e(0x410)];constructor(_0x130abd){const _0x529a51=a0_0x59051e,_0x563e60=detectDatasetVersion3(_0x130abd);return this[_0x529a51(0x410)]=_0x563e60==='v2'?new DrivenDataDetailPlusV2(_0x130abd):new DrivenDataDetailPlusV1(_0x130abd),new Proxy(this,{'get'(_0x470881,_0x5cd903){const _0x3fdb06=_0x529a51;if(_0x5cd903 in _0x470881){const _0x49645f=_0x470881[_0x5cd903];return typeof _0x49645f===_0x3fdb06(0x39a)?_0x49645f[_0x3fdb06(0x306)](_0x470881):_0x49645f;}if(_0x5cd903 in _0x470881[_0x3fdb06(0x410)]){const _0x2313bc=_0x470881[_0x3fdb06(0x410)][_0x5cd903];return typeof _0x2313bc===_0x3fdb06(0x39a)?_0x2313bc['bind'](_0x470881['_instance']):_0x2313bc;}return;},'set'(_0x316db2,_0x5190ec,_0x3322d2){return _0x316db2[_0x5190ec]=_0x3322d2,!![];},'getPrototypeOf'(_0x484eb7){const _0x4cdaf7=_0x529a51;return DrivenDataDetailPlus[_0x4cdaf7(0x3c6)];}});}get['name'](){const _0x567f27=a0_0x59051e;return this['_instance'][_0x567f27(0x2e6)];}get['id'](){const _0x347fcf=a0_0x59051e;return this[_0x347fcf(0x410)]['id'];}get[a0_0x59051e(0x43e)](){const _0x2c7acd=a0_0x59051e;return this[_0x2c7acd(0x410)]['datasetCode'];}get[a0_0x59051e(0x400)](){const _0x184f10=a0_0x59051e;return this[_0x184f10(0x410)][_0x184f10(0x400)];}get[a0_0x59051e(0x36c)](){return this['_instance']['getDBConfig']();}[a0_0x59051e(0x265)](){const _0x4a3636=a0_0x59051e,_0x35eaa4=this[_0x4a3636(0x410)]['getVersion']();return _0x35eaa4==='v2'?'v2':'v1';}[a0_0x59051e(0x367)](){const _0x4e235b=a0_0x59051e;return this[_0x4e235b(0x410)][_0x4e235b(0x367)]();}[a0_0x59051e(0x214)](){const _0x19ada9=a0_0x59051e;return this[_0x19ada9(0x410)]['getOperationCount']();}[a0_0x59051e(0x3cd)](){const _0x363e61=a0_0x59051e;return this[_0x363e61(0x410)][_0x363e61(0x3cd)]();}[a0_0x59051e(0x450)](){const _0xf6ed5b=a0_0x59051e;return this[_0xf6ed5b(0x410)][_0xf6ed5b(0x450)]();}[a0_0x59051e(0x1d2)](_0x28b20f){const _0x1e9dc4=a0_0x59051e;return this[_0x1e9dc4(0x410)][_0x1e9dc4(0x1d2)](_0x28b20f);}['getFieldInstance'](_0x2815d7){const _0x2b0945=a0_0x59051e;return this[_0x2b0945(0x410)][_0x2b0945(0x227)](_0x2815d7);}['getTableName'](){const _0x3b68d8=a0_0x59051e;return this[_0x3b68d8(0x410)]['getTableName']();}[a0_0x59051e(0x2e3)](){const _0x4c19eb=a0_0x59051e;return this[_0x4c19eb(0x410)][_0x4c19eb(0x2e3)]();}['getDatasetSDKKey'](){const _0x17ac1c=a0_0x59051e;return this[_0x17ac1c(0x410)][_0x17ac1c(0x27c)]();}[a0_0x59051e(0x378)](){const _0x152990=a0_0x59051e;return this[_0x152990(0x410)]['getFieldList']();}[a0_0x59051e(0x1c5)](){const _0x93df6=a0_0x59051e;return this['_instance'][_0x93df6(0x1c5)]();}[a0_0x59051e(0x252)](){const _0x3f4039=a0_0x59051e;return this[_0x3f4039(0x410)][_0x3f4039(0x252)]();}['isMultipleSelectField'](_0x2f9ceb){const _0x203fa5=a0_0x59051e;return this[_0x203fa5(0x410)]['isMultipleSelectField'](_0x2f9ceb);}[a0_0x59051e(0x395)](_0x5df481){return this['_instance']['getField'](_0x5df481);}[a0_0x59051e(0x35d)](_0x580261){const _0x18568d=a0_0x59051e;return this[_0x18568d(0x410)][_0x18568d(0x35d)](_0x580261);}['getFieldSelectItemsSource'](_0x5d579b){const _0x64d4d0=a0_0x59051e;return this['_instance'][_0x64d4d0(0x467)](_0x5d579b);}['getEnumFieldMeta'](_0x2017bb){const _0x25b290=a0_0x59051e;return this[_0x25b290(0x410)]['getEnumFieldMeta'](_0x2017bb);}[a0_0x59051e(0x23e)](_0xc16e16,_0x4c0ee5){const _0x2c4971=a0_0x59051e;return this[_0x2c4971(0x410)][_0x2c4971(0x23e)](_0xc16e16,_0x4c0ee5);}[a0_0x59051e(0x2cd)](_0x1f61d9){const _0xdd9f27=a0_0x59051e;return this['_instance'][_0xdd9f27(0x2cd)](_0x1f61d9);}[a0_0x59051e(0x419)](){return this['_instance']['getStats']();}['getFilterOperation'](){const _0x4e49d2=a0_0x59051e;return this['_instance'][_0x4e49d2(0x1d0)]();}['hasFilterOperation'](){const _0x3506f4=a0_0x59051e;return this['_instance'][_0x3506f4(0x24a)]();}[a0_0x59051e(0x2cc)](_0x567d61){const _0x1ae248=a0_0x59051e;return this['_instance'][_0x1ae248(0x2cc)](_0x567d61);}[a0_0x59051e(0x308)](){const _0x38b6eb=a0_0x59051e;return this[_0x38b6eb(0x410)][_0x38b6eb(0x308)]();}['getRawDbtableConfig'](){const _0x4f9291=a0_0x59051e;return this[_0x4f9291(0x410)][_0x4f9291(0x2a9)]();}['getSource'](){const _0x329ade=a0_0x59051e;return this[_0x329ade(0x410)][_0x329ade(0x239)]();}[a0_0x59051e(0x371)](_0x11cc5a){const _0x293477=a0_0x59051e;return this[_0x293477(0x410)]['getOperationAnalyses'](_0x11cc5a);}['getEnabledOperationAnalyses'](){const _0x50ab7d=a0_0x59051e;return this[_0x50ab7d(0x410)][_0x50ab7d(0x445)]();}[a0_0x59051e(0x3d2)](_0x5d154d){const _0x262c76=a0_0x59051e;return this[_0x262c76(0x410)]['getFilteredOperationAnalyses'](_0x5d154d);}[a0_0x59051e(0x254)](_0x1edd7d){const _0x3a2dc5=a0_0x59051e;return this[_0x3a2dc5(0x410)][_0x3a2dc5(0x254)](_0x1edd7d);}['getOperationAnalysesByType'](_0x22ba88){const _0x4bb613=a0_0x59051e;return this['_instance'][_0x4bb613(0x30b)](_0x22ba88);}[a0_0x59051e(0x3a2)](_0xbae79,_0x1eeaf5){const _0x3ae503=a0_0x59051e;return this[_0x3ae503(0x410)][_0x3ae503(0x3a2)](_0xbae79,_0x1eeaf5);}['getDatasetDocMeta'](_0x45081b){const _0x7c7c26=a0_0x59051e;return this[_0x7c7c26(0x410)][_0x7c7c26(0x44e)](_0x45081b);}['getOperationsOverviewData'](_0x2880a4){const _0x4bbf71=a0_0x59051e;return this[_0x4bbf71(0x410)][_0x4bbf71(0x324)](_0x2880a4);}[a0_0x59051e(0x399)](){const _0x54b0f9=a0_0x59051e;return this[_0x54b0f9(0x410)][_0x54b0f9(0x399)]();}['supportsCRUD'](){const _0x103424=a0_0x59051e;return this[_0x103424(0x410)][_0x103424(0x1df)]();}[a0_0x59051e(0x2f8)](){const _0xb6f24c=a0_0x59051e;return this[_0xb6f24c(0x410)]['getOperationStats']();}['toString'](){const _0x551f45=a0_0x59051e;return this[_0x551f45(0x410)][_0x551f45(0x3c8)]();}['getOperation'](_0x5bbb1d){const _0x32f9cb=a0_0x59051e;return this[_0x32f9cb(0x410)][_0x32f9cb(0x46e)](_0x5bbb1d);}[a0_0x59051e(0x1f3)](_0x59252d){const _0x59b8f0=a0_0x59051e;return this[_0x59b8f0(0x410)][_0x59b8f0(0x1f3)](_0x59252d);}[a0_0x59051e(0x42a)](_0x597618,_0x5d5886,_0x1784d0){const _0x3864b6=a0_0x59051e;return this[_0x3864b6(0x410)][_0x3864b6(0x42a)](_0x597618,_0x5d5886,_0x1784d0);}['generateFullSDKExample'](_0x2dc905,_0x218408,_0x4b5681){const _0x577ad4=a0_0x59051e;return this[_0x577ad4(0x410)][_0x577ad4(0x205)](_0x2dc905,_0x218408,_0x4b5681);}[a0_0x59051e(0x1ed)](_0x3ebe1a){const _0x30cda3=a0_0x59051e;return this[_0x30cda3(0x410)][_0x30cda3(0x1ed)](_0x3ebe1a);}[a0_0x59051e(0x2b9)](_0x3d9f78){const _0x4dfdfa=a0_0x59051e;return this[_0x4dfdfa(0x410)]['generateOperationSummary'](_0x3d9f78);}['generateAllOperationsSummary'](_0x19e7e8){const _0x42b862=a0_0x59051e;return this[_0x42b862(0x410)][_0x42b862(0x1ce)](_0x19e7e8);}[a0_0x59051e(0x2c2)](_0x2c7bc6){const _0x76d0ad=a0_0x59051e;return this['_instance'][_0x76d0ad(0x2c2)](_0x2c7bc6);}[a0_0x59051e(0x354)](){const _0x382556=a0_0x59051e;return this[_0x382556(0x410)][_0x382556(0x354)]();}[a0_0x59051e(0x1ee)](){const _0x1b6969=a0_0x59051e;return this[_0x1b6969(0x410)][_0x1b6969(0x1ee)]();}['getInternalInstance'](){return this['_instance'];}}function createDrivenDataDetailPlus(_0x5c7e4c,_0x5a6ab3={}){const _0x53561b=a0_0x59051e;if(_0x5a6ab3[_0x53561b(0x29f)]==='v1')return new DrivenDataDetailPlusV1(_0x5c7e4c);if(_0x5a6ab3[_0x53561b(0x29f)]==='v2')return new DrivenDataDetailPlusV2(_0x5c7e4c);if(_0x5c7e4c[_0x53561b(0x35c)]==='v2'||'dataset'in _0x5c7e4c)return new DrivenDataDetailPlusV2(_0x5c7e4c);return new DrivenDataDetailPlusV1(_0x5c7e4c);}function isPlusV2Instance(_0x3c0470){const _0x93675e=a0_0x59051e;return _0x3c0470[_0x93675e(0x265)]()==='v2';}function isPlusV1Instance(_0x6f04e7){return _0x6f04e7['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 +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;CAgD/C"}
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"}
@@ -7,11 +7,13 @@ import type { FieldDefinition, FieldExtendConfig } from '../../types/index.js';
7
7
  * 数据集操作类型枚举
8
8
  */
9
9
  export declare enum DatasetOperationType {
10
+ FILTER = "filter",
10
11
  GET_LIST = "getList",
11
12
  GET_ONE = "getOne",
12
13
  GET_ONE_ORIGIN = "getOneOrigin",
13
14
  GET_ONE_UPDATE = "getOneUpdate",
14
15
  CREATE = "create",
16
+ BATCH_CREATE = "batchCreate",
15
17
  UPDATE = "update",
16
18
  DELETE = "delete",
17
19
  GET_SELECT_OPTIONS = "getSelectOptions",
@@ -20,6 +22,7 @@ export declare enum DatasetOperationType {
20
22
  GET_UPLOAD_FILE_SCRIPT = "getUploadFileScript",
21
23
  CREATE_IMPORT = "createImport",
22
24
  CREATE_EXPORT = "createExport",
25
+ AGGREGATE = "aggregate",
23
26
  TASK_INFO = "taskInfo",
24
27
  IMPORT_TEMPLATE = "importTemplate"
25
28
  }
@@ -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,CAgB5E,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,CAsDT;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"}
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,MAAM,WAAW;IACjB,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,cAAc;IACvB,SAAS,aAAa;IACtB,eAAe,mBAAmB;CACnC;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAmB5E,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,CAyDT;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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.3.9",
3
+ "version": "1.3.11-beta.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",