@lovrabet/dsparser 1.3.6 → 1.3.7-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_0x3f05bc=a0_0x184c;(function(_0x171c25,_0x3e7c94){const _0x3d3654=a0_0x184c,_0x508881=_0x171c25();while(!![]){try{const _0x3bc341=parseInt(_0x3d3654(0x2eb))/0x1+parseInt(_0x3d3654(0x21c))/0x2+-parseInt(_0x3d3654(0x18c))/0x3*(parseInt(_0x3d3654(0x321))/0x4)+-parseInt(_0x3d3654(0x35d))/0x5+-parseInt(_0x3d3654(0x1ed))/0x6*(parseInt(_0x3d3654(0x34d))/0x7)+parseInt(_0x3d3654(0x1fe))/0x8+parseInt(_0x3d3654(0x317))/0x9;if(_0x3bc341===_0x3e7c94)break;else _0x508881['push'](_0x508881['shift']());}catch(_0x39c5d8){_0x508881['push'](_0x508881['shift']());}}}(a0_0x4111,0x5d03f));function a0_0x184c(_0x9e1631,_0x485410){const _0x411121=a0_0x4111();return a0_0x184c=function(_0x184c6c,_0x17a573){_0x184c6c=_0x184c6c-0xea;let _0x3173f4=_0x411121[_0x184c6c];return _0x3173f4;},a0_0x184c(_0x9e1631,_0x485410);}function toCamelCase(_0x58606a){const _0x553b23=a0_0x184c;if(!_0x58606a)return'';return _0x58606a[_0x553b23(0x385)](/[_-]/)['map']((_0x3256c1,_0x22ffed)=>{const _0x421cf8=_0x553b23;if(_0x22ffed===0x0)return _0x3256c1['toLowerCase']();return _0x3256c1[_0x421cf8(0x2c6)](0x0)[_0x421cf8(0x395)]()+_0x3256c1[_0x421cf8(0x198)](0x1)[_0x421cf8(0x122)]();})['join']('');}function toPascalCase(_0x3a0902){const _0x1d694d=a0_0x184c;if(!_0x3a0902)return'';const _0x4a01f2=toCamelCase(_0x3a0902);return _0x4a01f2[_0x1d694d(0x2c6)](0x0)[_0x1d694d(0x395)]()+_0x4a01f2[_0x1d694d(0x198)](0x1);}function toSnakeCase(_0xd71673){const _0x22605e=a0_0x184c;if(!_0xd71673)return'';return _0xd71673[_0x22605e(0x1c7)](/([A-Z])/g,_0x22605e(0x184))['toLowerCase']()['replace'](/^_/,'');}function toKebabCase(_0x4c7ee3){const _0x39434f=a0_0x184c;if(!_0x4c7ee3)return'';return _0x4c7ee3[_0x39434f(0x1c7)](/([A-Z])/g,_0x39434f(0x1dd))[_0x39434f(0x122)]()[_0x39434f(0x1c7)](/^-/,'');}function normalizeFieldName(_0x3e28a5){const _0x171d4d=a0_0x184c;if(!_0x3e28a5)return'';return _0x3e28a5['trim']()[_0x171d4d(0x1c7)](/\s+/g,'_')[_0x171d4d(0x1c7)](/[^a-zA-Z0-9_]/g,'_')['replace'](/_+/g,'_')[_0x171d4d(0x1c7)](/^_|_$/g,'');}function getTableName(_0x21ff16){const _0x36b2bc=a0_0x184c;if(!_0x21ff16)return'dataset_000000';if(_0x21ff16[_0x36b2bc(0x381)]?.[_0x36b2bc(0x277)])return _0x21ff16[_0x36b2bc(0x381)]['tableName'];const _0x3ccdd0=_0x21ff16['datasetCode']||_0x21ff16[_0x36b2bc(0x25a)]||_0x21ff16['modelCode'];if(_0x3ccdd0)return generateTableNameFromCode(_0x3ccdd0);return _0x36b2bc(0x23b);}function getTableKey(_0x549867){const _0x31eeb1=a0_0x184c;if(typeof _0x549867===_0x31eeb1(0x112))return toCamelCase(_0x549867);const _0x1b6bcb=getTableName(_0x549867);return toCamelCase(_0x1b6bcb);}function generateTableNameFromCode(_0x5eaf05){const _0x7f80aa=a0_0x184c;if(!_0x5eaf05)return'dataset_000000';const _0x12a3b3=_0x5eaf05[_0x7f80aa(0x198)](-0x6)[_0x7f80aa(0x38f)](0x6,'0');return _0x7f80aa(0x269)+_0x12a3b3;}function isVirtualTableName(_0x35b17f){const _0x3668cf=a0_0x184c;return/^dataset_[a-zA-Z0-9]{6}$/[_0x3668cf(0x2d4)](_0x35b17f);}function generateModelKeyFromCode(_0x4f2c84){const _0x1b42bd=a0_0x184c;if(!_0x4f2c84)return _0x1b42bd(0x18a);return'dataset_'+_0x4f2c84;}function getDbName(_0xacbd2e){const _0x3a019f=a0_0x184c;return _0xacbd2e[_0x3a019f(0x381)]?.[_0x3a019f(0x1c8)]||_0xacbd2e[_0x3a019f(0x381)]?.['dblinkInfoDTO']?.['dbName']||'';}function generateDatasetsConfig(_0x556564,_0x35c1a3={}){const _0x55876d=a0_0x184c,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x2102c5,filter:_0x1b19bf}=_0x35c1a3,_0x517a43=_0x1b19bf?_0x556564[_0x55876d(0x100)](_0x1b19bf):_0x556564,_0x2e95b1=new Map();for(const _0x516f32 of _0x517a43){const _0x579be0=getTableName(_0x516f32),_0x10142a=getDbName(_0x516f32);!_0x2e95b1['has'](_0x579be0)&&_0x2e95b1[_0x55876d(0x2a3)](_0x579be0,new Set()),_0x2e95b1[_0x55876d(0x2f8)](_0x579be0)[_0x55876d(0x320)](_0x10142a);}const _0x21968d=new Set();for(const [_0x5c19a3,_0x69c20]of _0x2e95b1){_0x69c20[_0x55876d(0x271)]>0x1&&_0x21968d['add'](_0x5c19a3);}const _0x406604={},_0x2acf6e=new Set();for(const _0x180feb of _0x517a43){const _0x4c2fe0=getTableName(_0x180feb);if(enableDeduplication&&_0x2acf6e[_0x55876d(0x214)](_0x4c2fe0)){console[_0x55876d(0x1f3)](_0x55876d(0x24d)+_0x4c2fe0+_0x55876d(0x157)+_0x180feb[_0x55876d(0x1ae)]+'\x20('+_0x180feb[_0x55876d(0x247)]+')');continue;}_0x2acf6e[_0x55876d(0x320)](_0x4c2fe0);const _0x2bace9=_0x2102c5?_0x2102c5(_0x4c2fe0,_0x180feb):getTableKey(_0x4c2fe0),_0x6f2be2=getDbName(_0x180feb),_0xfe1e56=_0x21968d[_0x55876d(0x214)](_0x4c2fe0)&&_0x6f2be2?getTableKey(_0x6f2be2)+'_'+_0x2bace9:_0x2bace9;_0x406604[_0x2bace9]={'key':_0x2bace9,'alias':_0xfe1e56,'tableName':_0x4c2fe0,'datasetCode':_0x180feb[_0x55876d(0x247)],'name':_0x180feb[_0x55876d(0x1ae)],'id':_0x180feb['id'],'dbName':_0x6f2be2};}return _0x406604;}function generateFullDatasetsConfig(_0x312939,_0x347e5e={}){const _0x34e8af=a0_0x184c,{filter:_0x12b235,datasetNameGenerator:_0x5a4d89}=_0x347e5e,_0x40d860=_0x12b235?_0x312939[_0x34e8af(0x100)](_0x12b235):_0x312939,_0x31473f=new Map();for(const _0x7fbd90 of _0x40d860){const _0x356579=getTableName(_0x7fbd90),_0x28621c=getDbName(_0x7fbd90);!_0x31473f['has'](_0x356579)&&_0x31473f[_0x34e8af(0x2a3)](_0x356579,new Set()),_0x31473f['get'](_0x356579)['add'](_0x28621c);}const _0x4b868a=new Set();for(const [_0x58f3d7,_0x28fd45]of _0x31473f){_0x28fd45[_0x34e8af(0x271)]>0x1&&_0x4b868a[_0x34e8af(0x320)](_0x58f3d7);}const _0x462bf6=groupByTableName(_0x40d860),_0x10f8a2={};for(const [_0xcaadd,_0x27fa65]of Object[_0x34e8af(0xef)](_0x462bf6)){if(_0x27fa65[_0x34e8af(0x161)]===0x1){const _0x124e03=_0x27fa65[0x0],_0x5ac55e=_0x5a4d89?_0x5a4d89(_0xcaadd,_0x124e03):getTableKey(_0xcaadd),_0x178244=getDbName(_0x124e03),_0x2db62a=_0x4b868a[_0x34e8af(0x214)](_0xcaadd)&&_0x178244?getTableKey(_0x178244)+'_'+_0x5ac55e:_0x5ac55e;_0x10f8a2[_0x5ac55e]={'key':_0x5ac55e,'alias':_0x2db62a,'tableName':_0xcaadd,'datasetCode':_0x124e03[_0x34e8af(0x247)],'name':_0x124e03['name'],'id':_0x124e03['id'],'dbName':_0x178244};}else{const _0x3acab1=[..._0x27fa65][_0x34e8af(0x297)]((_0x52c105,_0x5bf474)=>{const _0x537766=Number(_0x52c105['id'])||0x0,_0x5cdd8b=Number(_0x5bf474['id'])||0x0;return _0x5cdd8b-_0x537766;});_0x3acab1[_0x34e8af(0x31d)]((_0x251319,_0x256a8e)=>{const _0x4daba2=_0x34e8af,_0x1cabd5=_0x5a4d89?_0x5a4d89(_0xcaadd,_0x251319):getTableKey(_0xcaadd),_0x29de44=_0x256a8e===0x0?_0x1cabd5:_0x1cabd5+'_'+_0x256a8e,_0x1cecb1=getDbName(_0x251319),_0xafa042=_0x4b868a[_0x4daba2(0x214)](_0xcaadd)&&_0x1cecb1?getTableKey(_0x1cecb1)+'_'+_0x29de44:_0x29de44;_0x10f8a2[_0x29de44]={'key':_0x29de44,'alias':_0xafa042,'tableName':_0xcaadd,'datasetCode':_0x251319[_0x4daba2(0x247)],'name':_0x251319[_0x4daba2(0x1ae)],'id':_0x251319['id'],'dbName':_0x1cecb1};});}}return _0x10f8a2;}function detectTableNameConflicts(_0x332c7f){const _0x5635c5=a0_0x184c,_0x20f6c4={};for(const _0x31424c of _0x332c7f){const _0x2d2671=getTableName(_0x31424c);!_0x20f6c4[_0x2d2671]&&(_0x20f6c4[_0x2d2671]=[]),_0x20f6c4[_0x2d2671][_0x5635c5(0x31b)](_0x31424c);}const _0x9e9f1c={};for(const [_0x382a3d,_0xfdb556]of Object[_0x5635c5(0xef)](_0x20f6c4)){_0xfdb556['length']>0x1&&(_0x9e9f1c[_0x382a3d]=_0xfdb556);}return{'hasConflicts':Object[_0x5635c5(0x2af)](_0x9e9f1c)[_0x5635c5(0x161)]>0x0,'conflicts':_0x9e9f1c};}function createDatasetNameMap(_0x40a7f6){const _0x5b65f2=a0_0x184c,_0x5b1240={};for(const [_0x3db647,_0x1b28f3]of Object[_0x5b65f2(0xef)](_0x40a7f6)){_0x5b1240[_0x3db647]=_0x1b28f3[_0x5b65f2(0x247)]||'';}return _0x5b1240;}function groupByTableName(_0xf5ea76){const _0x598ca0={};for(const _0xcf893 of _0xf5ea76){const _0x1b8719=getTableName(_0xcf893);!_0x598ca0[_0x1b8719]&&(_0x598ca0[_0x1b8719]=[]),_0x598ca0[_0x1b8719]['push'](_0xcf893);}return _0x598ca0;}function datasetsConfigToArray(_0xdbe423){const _0x23a913=a0_0x184c;return Object[_0x23a913(0x27b)](_0xdbe423);}function adaptDrivenDataDetail(_0x19ae0b){const _0x33005e=a0_0x184c,_0x23d917={};return _0x23d917['id']=_0x19ae0b[_0x33005e(0x394)],_0x23d917[_0x33005e(0x1ae)]=_0x19ae0b[_0x33005e(0x1ae)],_0x23d917[_0x33005e(0x247)]=_0x19ae0b[_0x33005e(0x1c4)],_0x23d917[_0x33005e(0x381)]=_0x19ae0b[_0x33005e(0x381)],_0x23d917[_0x33005e(0x1d1)]=_0x19ae0b[_0x33005e(0x1d1)],_0x23d917[_0x33005e(0x226)]=_0x19ae0b['version'],_0x23d917['extend']=_0x19ae0b[_0x33005e(0x229)],_0x23d917['properties']=_0x19ae0b[_0x33005e(0x1b1)],_0x23d917[_0x33005e(0x37a)]=_0x19ae0b[_0x33005e(0x37a)],_0x23d917;}function adaptDrivenDataDetails(_0x53135b){const _0x5e8279=a0_0x184c;return _0x53135b[_0x5e8279(0x2cb)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x447eca){const _0x1be517=a0_0x184c;if(!_0x447eca[_0x1be517(0x16d)]||!_0x447eca[_0x1be517(0x2b7)])throw new Error(_0x1be517(0x2fe)+(_0x447eca[_0x1be517(0x3a0)]||_0x447eca['msg']));return adaptDrivenDataDetail(_0x447eca[_0x1be517(0x2b7)]);}function extractDatasetsFromListResponse(_0x2cdcc1){const _0x159a69=a0_0x184c;if(!_0x2cdcc1[_0x159a69(0x16d)]||!_0x2cdcc1[_0x159a69(0x2b7)]?.['tableData'])throw new Error(_0x159a69(0x1a3)+(_0x2cdcc1[_0x159a69(0x3a0)]||_0x2cdcc1['msg']));return _0x2cdcc1[_0x159a69(0x2b7)][_0x159a69(0x361)][_0x159a69(0x2cb)](_0x1f53ac=>({..._0x1f53ac,'datasetCode':_0x1f53ac[_0x159a69(0x25a)]||_0x1f53ac[_0x159a69(0x247)]}));}function isDrivenDataDetail(_0x43585d){const _0x47c61b=a0_0x184c;return Boolean(_0x43585d&&typeof _0x43585d[_0x47c61b(0x1c4)]===_0x47c61b(0x112));}function smartAdapt(_0x2e3911){const _0xc0ec68=a0_0x184c;if(isDrivenDataDetail(_0x2e3911))return adaptDrivenDataDetail(_0x2e3911);if(_0x2e3911['datasetCode'])return _0x2e3911;if(_0x2e3911[_0xc0ec68(0x25a)]){const _0x1e2236={..._0x2e3911};return _0x1e2236[_0xc0ec68(0x247)]=_0x2e3911[_0xc0ec68(0x25a)],_0x1e2236;}return _0x2e3911;}function cleanNewlines(_0x46d06c){const _0x14fdb3=a0_0x184c;return _0x46d06c[_0x14fdb3(0x1c7)](/[\r\n]+/g,'\x20')['trim']();}function cleanDatasetName(_0x3e8747){const _0x2ccc46=a0_0x184c;if(!_0x3e8747[_0x2ccc46(0x1ae)])return _0x3e8747;return{..._0x3e8747,'name':cleanNewlines(_0x3e8747['name'])};}function cleanDatasetNames(_0x43c65b){const _0x19e945=a0_0x184c;return _0x43c65b[_0x19e945(0x2cb)](cleanDatasetName);}var DatasetOperationType;(_0x4758a3=>{const _0x1fd375=a0_0x184c;_0x4758a3[_0x1fd375(0x106)]=_0x1fd375(0x117),_0x4758a3[_0x1fd375(0x197)]=_0x1fd375(0x30a),_0x4758a3[_0x1fd375(0x1d2)]='getOneOrigin',_0x4758a3[_0x1fd375(0x1f0)]=_0x1fd375(0x293),_0x4758a3[_0x1fd375(0x186)]='create',_0x4758a3[_0x1fd375(0x36d)]=_0x1fd375(0x1df),_0x4758a3['DELETE']=_0x1fd375(0x234),_0x4758a3[_0x1fd375(0x2fd)]=_0x1fd375(0x399),_0x4758a3[_0x1fd375(0x235)]='getFileUrl',_0x4758a3[_0x1fd375(0x349)]=_0x1fd375(0x1d0),_0x4758a3[_0x1fd375(0x216)]=_0x1fd375(0x217),_0x4758a3[_0x1fd375(0x18f)]='createImport',_0x4758a3[_0x1fd375(0x2a7)]=_0x1fd375(0x154),_0x4758a3['TASK_INFO']=_0x1fd375(0x219),_0x4758a3['IMPORT_TEMPLATE']='importTemplate';})(DatasetOperationType||={});const a0_0x2b80cc={};a0_0x2b80cc[a0_0x3f05bc(0x117)]=a0_0x3f05bc(0x204),a0_0x2b80cc[a0_0x3f05bc(0x30a)]=a0_0x3f05bc(0x390),a0_0x2b80cc[a0_0x3f05bc(0x290)]=a0_0x3f05bc(0x16b),a0_0x2b80cc[a0_0x3f05bc(0x293)]=a0_0x3f05bc(0x110),a0_0x2b80cc[a0_0x3f05bc(0x1ff)]='创建',a0_0x2b80cc[a0_0x3f05bc(0x1df)]='更新',a0_0x2b80cc['delete']='删除',a0_0x2b80cc[a0_0x3f05bc(0x399)]=a0_0x3f05bc(0x273),a0_0x2b80cc['getFileUrl']=a0_0x3f05bc(0x169),a0_0x2b80cc['excelExport']='Excel导出',a0_0x2b80cc[a0_0x3f05bc(0x217)]='获取上传脚本',a0_0x2b80cc[a0_0x3f05bc(0x1d6)]=a0_0x3f05bc(0x3a1),a0_0x2b80cc[a0_0x3f05bc(0x154)]=a0_0x3f05bc(0x130),a0_0x2b80cc[a0_0x3f05bc(0x219)]='任务信息',a0_0x2b80cc['importTemplate']=a0_0x3f05bc(0x1eb);var OPERATION_TYPE_DISPLAY_NAME=a0_0x2b80cc,API_BLACKLIST=[a0_0x3f05bc(0x117),a0_0x3f05bc(0x290),a0_0x3f05bc(0x293),a0_0x3f05bc(0x2f5)];function parseFieldExtend(_0x138567){const _0x3ae166=a0_0x3f05bc;if(!_0x138567||typeof _0x138567!==_0x3ae166(0x280))return!![]&&console[_0x3ae166(0x1f3)](_0x3ae166(0x11a),_0x138567),{};if(!_0x138567[_0x3ae166(0x229)])return{};try{const _0x5a846e=typeof _0x138567[_0x3ae166(0x229)]===_0x3ae166(0x112)?JSON[_0x3ae166(0xea)](_0x138567['extend']):_0x138567['extend'];if(typeof _0x5a846e!==_0x3ae166(0x280)||_0x5a846e===null)return{};return _0x5a846e;}catch{return{};}}function isPrimaryKeyField(_0x346146,_0x5bc2e0){const _0x12cab2=a0_0x3f05bc;if(!_0x346146||typeof _0x346146!==_0x12cab2(0x280))return![];if(typeof _0x5bc2e0===_0x12cab2(0x112)&&_0x346146[_0x12cab2(0x25a)]===_0x5bc2e0)return!![];const _0x50a2d6=parseFieldExtend(_0x346146);return Boolean(_0x50a2d6['primaryKey']||_0x50a2d6[_0x12cab2(0x2bf)]);}function isSystemField(_0xf668c5){const _0x4f8ba3=a0_0x3f05bc,_0x4cb987=parseFieldExtend(_0xf668c5);return Boolean(_0x4cb987[_0x4f8ba3(0x16a)]);}function isRequiredField(_0x3cc675){const _0x33ea85=a0_0x3f05bc,_0x2aa2ee=parseFieldExtend(_0x3cc675);return Boolean(_0x2aa2ee[_0x33ea85(0x13b)]);}function isAutoIncrementField(_0x2b06b7){const _0x34085e=a0_0x3f05bc,_0x9643da=parseFieldExtend(_0x2b06b7);return Boolean(_0x9643da[_0x34085e(0x242)]);}function isCreateTimeField(_0x2a7daa){const _0x44b470=a0_0x3f05bc,_0x21ecaa=parseFieldExtend(_0x2a7daa);return Boolean(_0x21ecaa[_0x44b470(0x311)]);}function isModifyTimeField(_0x274b12){const _0x4cbfe7=parseFieldExtend(_0x274b12);return Boolean(_0x4cbfe7['modifyDate']);}const a0_0x5745c4={};a0_0x5745c4['NUMBER']='数字',a0_0x5745c4[a0_0x3f05bc(0x1bf)]='文本',a0_0x5745c4[a0_0x3f05bc(0x2dd)]=a0_0x3f05bc(0x145),a0_0x5745c4['DATE']='日期',a0_0x5745c4[a0_0x3f05bc(0x1fd)]=a0_0x3f05bc(0x1b4),a0_0x5745c4[a0_0x3f05bc(0x239)]=a0_0x3f05bc(0x28d),a0_0x5745c4['SELECT']=a0_0x3f05bc(0x283),a0_0x5745c4[a0_0x3f05bc(0x26e)]='多选',a0_0x5745c4['RADIO']='单选',a0_0x5745c4['SWITCH']='开关',a0_0x5745c4[a0_0x3f05bc(0x284)]='文件上传',a0_0x5745c4[a0_0x3f05bc(0x2fb)]='图片',a0_0x5745c4[a0_0x3f05bc(0x260)]=a0_0x3f05bc(0x23e),a0_0x5745c4[a0_0x3f05bc(0x339)]=a0_0x3f05bc(0x339),a0_0x5745c4[a0_0x3f05bc(0x1bc)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x5745c4;function getDbTypeDisplay(_0x3f9f99){const _0xfe4dbf=a0_0x3f05bc;if(typeof _0x3f9f99!==_0xfe4dbf(0x112))return!![]&&console[_0xfe4dbf(0x1f3)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x3f9f99),String(_0x3f9f99||'-');return DB_TYPE_DISPLAY_MAP[_0x3f9f99]||_0x3f9f99;}function formatDbType(_0x3c8ba9,_0x546939){const _0x4e1cac=a0_0x3f05bc;if(!_0x3c8ba9||typeof _0x3c8ba9!==_0x4e1cac(0x112))return'-';if(!_0x546939||typeof _0x546939!==_0x4e1cac(0x2ca))return _0x3c8ba9;const _0x12deb6=[_0x4e1cac(0x1bf),_0x4e1cac(0x1fd),_0x4e1cac(0x239),'DATE'];if(_0x12deb6['includes'](_0x3c8ba9['toUpperCase']()))return _0x3c8ba9;return _0x3c8ba9+'('+_0x546939+')';}function parseOperationType(_0x5234c3){const _0x1989e6=a0_0x3f05bc;if(typeof _0x5234c3!=='string'){!![]&&console['warn'](_0x1989e6(0x2a1),_0x5234c3);return;}if(Object[_0x1989e6(0x27b)](DatasetOperationType)['includes'](_0x5234c3))return _0x5234c3;const _0x4545aa=Object[_0x1989e6(0xef)](OPERATION_TYPE_DISPLAY_NAME)[_0x1989e6(0x213)](([_0x2d9452,_0x1e552f])=>_0x1e552f===_0x5234c3);return _0x4545aa?_0x4545aa[0x0]:undefined;}function shouldIncludeField(_0x51519c,_0x3d4aaa,_0x354ad7){const _0x1bf5df=a0_0x3f05bc,_0x518b3b=parseFieldExtend(_0x51519c),_0x218b70=isPrimaryKeyField(_0x51519c,_0x354ad7),_0x36b072=Boolean(_0x518b3b[_0x1bf5df(0x16a)]),_0x471f0c=Boolean(_0x518b3b['autoIncrement']),_0x119898=Boolean(_0x518b3b[_0x1bf5df(0x311)]),_0x3a97e9=Boolean(_0x518b3b['modifyDate']);switch(_0x3d4aaa){case _0x1bf5df(0x117):return!![];case _0x1bf5df(0x30a):case _0x1bf5df(0x290):case _0x1bf5df(0x234):return _0x218b70;case _0x1bf5df(0x1ff):if(_0x218b70&&_0x471f0c)return![];if(_0x36b072)return![];if(_0x119898||_0x3a97e9)return![];return!![];case _0x1bf5df(0x1df):case _0x1bf5df(0x293):if(_0x218b70)return!![];if(_0x36b072)return![];if(_0x119898||_0x3a97e9)return![];return!![];case _0x1bf5df(0x399):return _0x51519c[_0x1bf5df(0x25a)]==='code';default:return!![];}}function getFieldsForOperation(_0xc31205,_0x4345dc,_0x382186){const _0x49ddd5=a0_0x3f05bc;if(!Array[_0x49ddd5(0x123)](_0xc31205))return!![]&&console[_0x49ddd5(0x1f3)](_0x49ddd5(0x29e),_0xc31205),[];return _0xc31205['filter'](_0x6305d5=>shouldIncludeField(_0x6305d5,_0x4345dc,_0x382186));}function isApiBlacklisted(_0x3338bc){const _0x31b58e=a0_0x3f05bc;if(typeof _0x3338bc!==_0x31b58e(0x112))return!![]&&console['warn']('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0x3338bc),![];return API_BLACKLIST['includes'](_0x3338bc);}function filterApiOperations(_0x3f1b7e){const _0x20a8ce=a0_0x3f05bc;if(!Array['isArray'](_0x3f1b7e))return!![]&&console['warn'](_0x20a8ce(0x358),_0x3f1b7e),[];return _0x3f1b7e[_0x20a8ce(0x100)](_0x1afd14=>_0x1afd14&&typeof _0x1afd14===_0x20a8ce(0x280)&&!isApiBlacklisted(_0x1afd14[_0x20a8ce(0x1ae)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x3f05bc(0x1d9)](),'DATE':()=>Date[a0_0x3f05bc(0x1d9)](),'SELECT':({fieldInfo:_0x2e30c0})=>{const _0x1bd360=a0_0x3f05bc;if(_0x2e30c0?.[_0x1bd360(0x1ee)]&&Array['isArray'](_0x2e30c0[_0x1bd360(0x1ee)])&&_0x2e30c0[_0x1bd360(0x1ee)][_0x1bd360(0x161)]>0x0)return _0x2e30c0[_0x1bd360(0x1ee)][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x157f9c})=>{const _0x5f3457=a0_0x3f05bc;if(_0x157f9c===_0x5f3457(0x334))return 0x1;if(_0x157f9c===_0x5f3457(0x249))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x2e9ce8})=>{const _0x40c190=a0_0x3f05bc;if(_0x2e9ce8&&typeof _0x2e9ce8===_0x40c190(0x112)){const _0x35ebe8=_0x2e9ce8[_0x40c190(0x122)]();if(_0x35ebe8['includes']('邮箱')||_0x35ebe8[_0x40c190(0x13e)](_0x40c190(0x264)))return _0x40c190(0x352);if(_0x35ebe8[_0x40c190(0x13e)]('电话')||_0x35ebe8[_0x40c190(0x13e)]('手机')||_0x35ebe8[_0x40c190(0x13e)](_0x40c190(0x1c2)))return _0x40c190(0x1aa);if(_0x35ebe8[_0x40c190(0x13e)]('地址')||_0x35ebe8[_0x40c190(0x13e)](_0x40c190(0x2c8)))return _0x40c190(0x389);if(_0x35ebe8[_0x40c190(0x13e)]('姓名')||_0x35ebe8['includes']('name'))return'张三';}return _0x40c190(0x193);},'VARCHAR':({description:_0x102915})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x102915}),'CHAR':({description:_0x18305f})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x18305f}),'STRING':({fieldInfo:_0x5e3cd1,description:_0x39afbc})=>{const _0x19dcc5=a0_0x3f05bc;if(_0x5e3cd1?.[_0x19dcc5(0x302)]&&typeof _0x5e3cd1[_0x19dcc5(0x302)]===_0x19dcc5(0x112)&&_0x5e3cd1['placeholder']!==_0x19dcc5(0x1be))return _0x5e3cd1[_0x19dcc5(0x302)][_0x19dcc5(0x1c7)](/^请输入|^请选择/,'');const _0x3f9802={};return _0x3f9802[_0x19dcc5(0x347)]=_0x39afbc,TYPE_VALUE_GENERATORS['TEXT'](_0x3f9802);},'TEXTAREA':()=>a0_0x3f05bc(0x251),'LONGTEXT':()=>a0_0x3f05bc(0x251),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x3f05bc(0xf8),a0_0x3f05bc(0x31c)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x3f05bc(0x244),'RICH_TEXT':()=>a0_0x3f05bc(0x1f1)};function generateExampleValue(_0x2d213d,_0x574ce5,_0x1232e6,_0x2e54ab={}){const _0x3f1a5c=a0_0x3f05bc;typeof _0x2d213d!==_0x3f1a5c(0x112)&&(!![]&&console[_0x3f1a5c(0x1f3)](_0x3f1a5c(0x2ee),_0x2d213d),_0x2d213d=String(_0x2d213d||''));if(typeof _0x574ce5!=='string')return!![]&&console[_0x3f1a5c(0x1f3)](_0x3f1a5c(0x146),_0x574ce5),_0x3f1a5c(0xee);const {isPrimaryKey:_0x9d0ca6,dbtableConfig:_0x3235ac}=_0x2e54ab;if(_0x9d0ca6)return 0x1;if(_0x3235ac&&typeof _0x3235ac===_0x3f1a5c(0x280)){const _0x48a322=_0x3235ac[_0x3f1a5c(0x18b)]?.[_0x3f1a5c(0x383)]===_0x2d213d,_0x2484d5=_0x3235ac['updateTimeField']?.[_0x3f1a5c(0x383)]===_0x2d213d;if(_0x48a322||_0x2484d5){if(_0x1232e6&&typeof _0x1232e6===_0x3f1a5c(0x112)&&_0x1232e6[_0x3f1a5c(0x395)]()['includes']('TIMESTAMP'))return Date[_0x3f1a5c(0x1d9)]();return new Date()['toISOString']()[_0x3f1a5c(0x1c7)]('T','\x20')[_0x3f1a5c(0x385)]('.')[0x0];}}const _0x3d89a7={..._0x2e54ab};_0x3d89a7['fieldCode']=_0x2d213d;const _0x46eaf7=_0x3d89a7;if(_0x1232e6&&typeof _0x1232e6===_0x3f1a5c(0x112)){const _0x5af4a1=_0x1232e6['toUpperCase'](),_0x2e4920=TYPE_VALUE_GENERATORS[_0x5af4a1];if(_0x2e4920)return _0x2e4920(_0x46eaf7);}if(_0x574ce5&&typeof _0x574ce5==='string'){const _0x502295=_0x574ce5[_0x3f1a5c(0x395)](),_0x2e8888=TYPE_VALUE_GENERATORS[_0x502295];if(_0x2e8888)return _0x2e8888(_0x46eaf7);}return _0x3f1a5c(0xee);}function generateExampleFromSchema(_0x23bf53,_0x2e82f1){const _0x5decc5=a0_0x3f05bc;if(!_0x23bf53||typeof _0x23bf53!==_0x5decc5(0x280))return{};if(Array['isArray'](_0x23bf53)){if(_0x23bf53[_0x5decc5(0x161)]>0x0)return[generateExampleFromSchema(_0x23bf53[0x0],_0x2e82f1)];return[];}const _0x1d7880={};return Object[_0x5decc5(0x2af)](_0x23bf53)[_0x5decc5(0x31d)](_0x2c06ad=>{const _0x51aa35=_0x5decc5,_0x184862=_0x23bf53[_0x2c06ad];if(_0x184862&&typeof _0x184862===_0x51aa35(0x280)&&!Array[_0x51aa35(0x123)](_0x184862)&&_0x184862[_0x51aa35(0x101)]){const _0x81d17d=_0x184862,_0x9d1562=_0x81d17d[_0x51aa35(0x101)],_0xa5f02d=_0x81d17d[_0x51aa35(0x347)];if(typeof _0x9d1562==='string'){const _0x4d3c29={};_0x4d3c29['description']=_0xa5f02d,_0x4d3c29[_0x51aa35(0x381)]=_0x2e82f1,_0x1d7880[_0x2c06ad]=generateExampleValue(_0x2c06ad,_0x9d1562,undefined,_0x4d3c29);}else _0x1d7880[_0x2c06ad]=_0x51aa35(0xee);}else{if(Array[_0x51aa35(0x123)](_0x184862))_0x1d7880[_0x2c06ad]=_0x184862['length']>0x0?[generateExampleFromSchema(_0x184862[0x0],_0x2e82f1)]:[];else _0x184862&&typeof _0x184862==='object'?_0x1d7880[_0x2c06ad]=generateExampleFromSchema(_0x184862,_0x2e82f1):_0x1d7880[_0x2c06ad]=_0x184862;}}),_0x1d7880;}function parseRequestBody(_0xeac314){const _0x5b4070=a0_0x3f05bc;if(!_0xeac314)return{};try{return JSON[_0x5b4070(0xea)](_0xeac314);}catch(_0x52f716){return!![]&&console[_0x5b4070(0x1f3)](_0x5b4070(0x222),_0x52f716),{};}}function parseResponseBody(_0x1f9ae4){const _0x576d29=a0_0x3f05bc;if(!_0x1f9ae4)return null;try{const _0xe86371=JSON[_0x576d29(0xea)](_0x1f9ae4);return _0xe86371['200']||_0xe86371;}catch(_0x31a733){return!![]&&console[_0x576d29(0x1f3)](_0x576d29(0x38c),_0x31a733),null;}}function generateRequestExample(_0x24d9f7,_0x3f3e0d,_0x34295c,_0x1b3b1b){const _0x2205e8=a0_0x3f05bc,_0x4640bb={};if(!Array[_0x2205e8(0x123)](_0x24d9f7))return!![]&&console['warn'](_0x2205e8(0x121),_0x24d9f7),_0x4640bb;return _0x24d9f7['forEach'](_0x2b7e24=>{const _0x4dda60=_0x2205e8;if(!_0x2b7e24||typeof _0x2b7e24!=='object'){!![]&&console[_0x4dda60(0x1f3)](_0x4dda60(0x18e),_0x2b7e24);return;}if(typeof _0x2b7e24[_0x4dda60(0x25a)]!==_0x4dda60(0x112)||typeof _0x2b7e24[_0x4dda60(0x101)]!==_0x4dda60(0x112)){!![]&&console[_0x4dda60(0x1f3)]('[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:',_0x2b7e24);return;}const _0x51c2cf=parseFieldExtend(_0x2b7e24),_0x59deca=_0x2b7e24[_0x4dda60(0x25a)]===_0x34295c||Boolean(_0x51c2cf?.[_0x4dda60(0x153)]),_0x3d99f8=generateExampleValue(_0x2b7e24[_0x4dda60(0x25a)],_0x2b7e24[_0x4dda60(0x101)],typeof _0x2b7e24['dbType']===_0x4dda60(0x112)?_0x2b7e24[_0x4dda60(0x27d)]:undefined,{'fieldInfo':_0x51c2cf,'isPrimaryKey':_0x59deca,'description':_0x2b7e24[_0x4dda60(0x347)]||_0x2b7e24['name'],'dbtableConfig':_0x1b3b1b});_0x4640bb[_0x2b7e24['code']]=_0x3d99f8;}),_0x3f3e0d===_0x2205e8(0x117)&&(_0x4640bb[_0x2205e8(0x334)]=0x1,_0x4640bb['pageSize']=0xa),_0x4640bb;}function formatEnumValue(_0x226d1e,_0x1b6b9b){const _0x26279f=a0_0x3f05bc;if(_0x226d1e[_0x26279f(0x2ed)]&&Array[_0x26279f(0x123)](_0x1b6b9b))return _0x1b6b9b[_0x26279f(0x2cb)](_0x78b5ff=>_0x226d1e[_0x26279f(0x2b4)][String(_0x78b5ff)]||String(_0x78b5ff))[_0x26279f(0x12d)](',\x20');return _0x226d1e['valueLabels'][String(_0x1b6b9b)]||String(_0x1b6b9b);}function formatOptionsForDoc(_0x432eb0){const _0x33d485=a0_0x3f05bc;return _0x432eb0['map'](_0x4c3067=>_0x4c3067[_0x33d485(0x1b5)]+'('+_0x4c3067[_0x33d485(0x243)]+')')[_0x33d485(0x12d)](',\x20');}function formatOptionsAsMarkdownList(_0x5acfa7,_0x5ea363=0x0){const _0xaab850=a0_0x3f05bc,_0x580438='\x20\x20'['repeat'](_0x5ea363),_0x1d47e1=[];return _0x5acfa7[_0xaab850(0x31d)](_0x1b6c45=>{const _0x244df6=_0xaab850;_0x1d47e1[_0x244df6(0x31b)](_0x580438+_0x244df6(0x2ae)+_0x1b6c45[_0x244df6(0x1b5)]+_0x244df6(0x356)+_0x1b6c45[_0x244df6(0x243)]),_0x1b6c45[_0x244df6(0x39d)]&&_0x1b6c45['children'][_0x244df6(0x161)]>0x0&&_0x1d47e1['push'](formatOptionsAsMarkdownList(_0x1b6c45[_0x244df6(0x39d)],_0x5ea363+0x1));}),_0x1d47e1[_0xaab850(0x12d)]('\x0a');}class DbtableConfig{[a0_0x3f05bc(0x181)];constructor(_0x2fd1a2){const _0x42050b={..._0x2fd1a2};this['_raw']=_0x42050b;}get[a0_0x3f05bc(0x14c)](){const _0x439488=a0_0x3f05bc;return this[_0x439488(0x181)][_0x439488(0x14c)];}get[a0_0x3f05bc(0x1c8)](){const _0x45b547=a0_0x3f05bc;return this[_0x45b547(0x181)][_0x45b547(0x1c8)]??this[_0x45b547(0x181)]['dblinkInfoDTO']?.[_0x45b547(0x1c8)];}get[a0_0x3f05bc(0x277)](){const _0x7c9019=a0_0x3f05bc;return this[_0x7c9019(0x181)][_0x7c9019(0x277)];}get[a0_0x3f05bc(0x1b3)](){const _0x27ce97=a0_0x3f05bc;return this[_0x27ce97(0x181)][_0x27ce97(0x1b3)];}get[a0_0x3f05bc(0x2bf)](){const _0x4ccb47=a0_0x3f05bc;return this[_0x4ccb47(0x181)][_0x4ccb47(0x2bf)];}get[a0_0x3f05bc(0x150)](){const _0x528b16=a0_0x3f05bc;return this[_0x528b16(0x181)][_0x528b16(0x150)];}get[a0_0x3f05bc(0xec)](){const _0x43f465=a0_0x3f05bc;return this[_0x43f465(0x181)]['logicField'];}get[a0_0x3f05bc(0x18b)](){const _0x2b45cc=a0_0x3f05bc;return this[_0x2b45cc(0x181)][_0x2b45cc(0x18b)];}get[a0_0x3f05bc(0x11d)](){const _0x35cfa6=a0_0x3f05bc;return this[_0x35cfa6(0x181)][_0x35cfa6(0x11d)];}get[a0_0x3f05bc(0x1f7)](){const _0x529cab=a0_0x3f05bc;return this[_0x529cab(0x181)]['creatorIdField'];}get[a0_0x3f05bc(0x299)](){const _0x597ecc=a0_0x3f05bc;return this[_0x597ecc(0x181)][_0x597ecc(0x299)];}get[a0_0x3f05bc(0x26f)](){const _0xc2367c=a0_0x3f05bc;return this['_raw'][_0xc2367c(0x26f)];}get[a0_0x3f05bc(0x1ec)](){const _0x5b82e2=a0_0x3f05bc;return this[_0x5b82e2(0x181)][_0x5b82e2(0x1ec)];}get[a0_0x3f05bc(0x255)](){const _0x1be48e=a0_0x3f05bc;return this[_0x1be48e(0x181)][_0x1be48e(0x255)];}[a0_0x3f05bc(0x343)](){const _0x37bed9=a0_0x3f05bc;if(!this[_0x37bed9(0x181)][_0x37bed9(0x368)])return[];return this[_0x37bed9(0x181)][_0x37bed9(0x368)]['split'](',')[_0x37bed9(0x2cb)](_0x242a12=>_0x242a12[_0x37bed9(0x2bd)]())[_0x37bed9(0x100)](Boolean);}[a0_0x3f05bc(0x21e)](){const _0x342e39=a0_0x3f05bc;return this[_0x342e39(0x181)][_0x342e39(0x368)];}[a0_0x3f05bc(0xf5)](_0xc74935){const _0x2c26f3=a0_0x3f05bc;return this[_0x2c26f3(0x343)]()[_0x2c26f3(0x13e)](_0xc74935);}['hasTableName'](){const _0x112e4e=a0_0x3f05bc;return Boolean(this[_0x112e4e(0x181)][_0x112e4e(0x277)]);}[a0_0x3f05bc(0x17f)](){const _0x48ef52=a0_0x3f05bc;return Boolean(this[_0x48ef52(0x181)][_0x48ef52(0x255)]);}[a0_0x3f05bc(0x25b)](){const _0x5cea5d=a0_0x3f05bc;return Boolean(this[_0x5cea5d(0x181)][_0x5cea5d(0xec)]?.[_0x5cea5d(0x383)]);}['hasCreateTimeField'](){const _0x57e6b7=a0_0x3f05bc;return Boolean(this[_0x57e6b7(0x181)][_0x57e6b7(0x18b)]?.['fieldName']);}[a0_0x3f05bc(0x32a)](){const _0x975886=a0_0x3f05bc;return Boolean(this['_raw'][_0x975886(0x11d)]?.[_0x975886(0x383)]);}[a0_0x3f05bc(0x354)](){const _0xd2831b=a0_0x3f05bc;return Boolean(this[_0xd2831b(0x181)]['creatorIdField']?.['fieldName']);}[a0_0x3f05bc(0x2ad)](){const _0x3b71fa=a0_0x3f05bc;return Boolean(this['_raw'][_0x3b71fa(0x26f)]?.[_0x3b71fa(0x383)]);}[a0_0x3f05bc(0x241)](_0x420fb8){const _0x2ec27d=a0_0x3f05bc;return this[_0x2ec27d(0x181)]['pkField']===_0x420fb8;}['isSystemField'](_0x1ff62c){const _0x9f1d78=a0_0x3f05bc;return this['isPrimaryKeyField'](_0x1ff62c)||this[_0x9f1d78(0x181)]['logicField']?.[_0x9f1d78(0x383)]===_0x1ff62c||this[_0x9f1d78(0x181)]['createTimeField']?.[_0x9f1d78(0x383)]===_0x1ff62c||this['_raw'][_0x9f1d78(0x11d)]?.[_0x9f1d78(0x383)]===_0x1ff62c||this[_0x9f1d78(0x181)][_0x9f1d78(0x1f7)]?.[_0x9f1d78(0x383)]===_0x1ff62c||this[_0x9f1d78(0x181)][_0x9f1d78(0x299)]?.[_0x9f1d78(0x383)]===_0x1ff62c||this[_0x9f1d78(0x181)][_0x9f1d78(0x26f)]?.[_0x9f1d78(0x383)]===_0x1ff62c||this['_raw'][_0x9f1d78(0x1ec)]?.['fieldName']===_0x1ff62c;}[a0_0x3f05bc(0x206)](){const _0x233b0d=a0_0x3f05bc;return this[_0x233b0d(0x181)][_0x233b0d(0x255)]?.[_0x233b0d(0x1c8)];}[a0_0x3f05bc(0x327)](){const _0x428c74=a0_0x3f05bc;return this[_0x428c74(0x181)][_0x428c74(0x255)]?.[_0x428c74(0x27d)];}[a0_0x3f05bc(0x254)](){const _0x10bccf=a0_0x3f05bc;return this['_raw'][_0x10bccf(0x255)]?.['dbVersion'];}[a0_0x3f05bc(0x31e)](){const _0x3ce4e=a0_0x3f05bc;return this['_raw'][_0x3ce4e(0x255)]?.[_0x3ce4e(0x175)];}[a0_0x3f05bc(0x319)](){const _0xfc12e4=a0_0x3f05bc;return this[_0xfc12e4(0x181)]['dblinkInfoDTO']?.[_0xfc12e4(0x240)];}[a0_0x3f05bc(0x1c9)](){const _0x60b9e1=a0_0x3f05bc;return this[_0x60b9e1(0x181)][_0x60b9e1(0x255)]?.['systemAnalysisResult'];}[a0_0x3f05bc(0x172)](){const _0x35b11b=a0_0x3f05bc;return{'hasTableName':this[_0x35b11b(0x22d)](),'hasDblinkInfo':this[_0x35b11b(0x17f)](),'fieldCount':this[_0x35b11b(0x343)]()[_0x35b11b(0x161)],'systemFields':{'hasLogicField':this[_0x35b11b(0x25b)](),'hasCreateTimeField':this['hasCreateTimeField'](),'hasUpdateTimeField':this[_0x35b11b(0x32a)](),'hasCreatorIdField':this[_0x35b11b(0x354)](),'hasModifierIdField':this[_0x35b11b(0x2ad)]()}};}[a0_0x3f05bc(0x115)](){const _0x2e64ae=a0_0x3f05bc,_0x350336={};return _0x350336[_0x2e64ae(0x277)]=this[_0x2e64ae(0x277)],_0x350336[_0x2e64ae(0x2bf)]=this[_0x2e64ae(0x2bf)],_0x350336['datasetKey']=this[_0x2e64ae(0x1b3)],_0x350336['dbId']=this['dbId'],_0x350336;}['toJSON'](){const _0xedd390={...this['_raw']};return _0xedd390;}['getRaw'](){const _0x214c50=a0_0x3f05bc,_0x2bfdda={...this[_0x214c50(0x181)]};return _0x2bfdda;}[a0_0x3f05bc(0x2c3)](){const _0x2ba8a3=a0_0x3f05bc,_0x2e57ae=this[_0x2ba8a3(0x277)]||'N/A',_0x40abbe=this[_0x2ba8a3(0x343)]()[_0x2ba8a3(0x161)];return'DbtableConfig(table:\x20'+_0x2e57ae+_0x2ba8a3(0x1f5)+_0x40abbe+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{['_raw'];constructor(_0x2bafb7){const _0x33b6d5=a0_0x3f05bc,_0x3d0616=_0x2bafb7['datasetCode']||_0x2bafb7['code']||_0x2bafb7['modelCode'],_0x57a995={..._0x2bafb7};_0x57a995['datasetCode']=_0x3d0616,this[_0x33b6d5(0x181)]=_0x57a995;}get['id'](){const _0x46d2c0=a0_0x3f05bc;return this[_0x46d2c0(0x181)]['id'];}get[a0_0x3f05bc(0x1ae)](){const _0x5c42ee=a0_0x3f05bc;return this[_0x5c42ee(0x181)][_0x5c42ee(0x1ae)];}[a0_0x3f05bc(0x23d)](){return this['name'];}get['datasetCode'](){const _0x262717=a0_0x3f05bc;return this[_0x262717(0x181)][_0x262717(0x247)]||'';}get[a0_0x3f05bc(0x381)](){const _0x4e99ff=a0_0x3f05bc;if(!this[_0x4e99ff(0x181)][_0x4e99ff(0x381)])return null;return new DbtableConfig(this[_0x4e99ff(0x181)]['dbtableConfig']);}[a0_0x3f05bc(0xf6)](){const _0x489b95=a0_0x3f05bc;return this[_0x489b95(0x181)]['dbtableConfig'];}[a0_0x3f05bc(0x207)](){return this['dbtableConfig']?.['dbName']||'';}['getTableName'](){const _0x1e3d17=a0_0x3f05bc;return getTableName(this[_0x1e3d17(0x181)]);}[a0_0x3f05bc(0x272)](){const _0x28c351=a0_0x3f05bc;return getTableKey(this[_0x28c351(0x2e4)]());}[a0_0x3f05bc(0x36f)](){const _0x422d6a=a0_0x3f05bc;return generateModelKeyFromCode(this[_0x422d6a(0x247)]);}['isVirtualTable'](){return isVirtualTableName(this['getTableName']());}[a0_0x3f05bc(0x1b7)](){return getTableKey(this['getTableName']());}['toConfig'](){const _0x48cd5b=a0_0x3f05bc,_0x17a7cc=getTableKey(this[_0x48cd5b(0x2e4)]());return{'key':_0x17a7cc,'alias':_0x17a7cc,'tableName':this[_0x48cd5b(0x2e4)](),'datasetCode':this['datasetCode'],'name':this[_0x48cd5b(0x1ae)]};}['toJSON'](){const _0x413a1e=a0_0x3f05bc,_0x4dea78={...this[_0x413a1e(0x181)]};return _0x4dea78[_0x413a1e(0x247)]=this[_0x413a1e(0x247)],_0x4dea78;}[a0_0x3f05bc(0x1cf)](){const _0x77aa25=a0_0x3f05bc,_0x1e29d6={...this[_0x77aa25(0x181)]};return _0x1e29d6;}[a0_0x3f05bc(0x1d8)](){const _0x4c9d77=a0_0x3f05bc,_0x1deb77=this['dbtableConfig'];return _0x1deb77!==null&&_0x1deb77[_0x4c9d77(0x22d)]();}['getExtendField'](_0x3bede9){const _0x400fd6=a0_0x3f05bc;return this[_0x400fd6(0x181)][_0x3bede9];}[a0_0x3f05bc(0x143)](_0x49fd5f){const _0x13d835=a0_0x3f05bc;return _0x49fd5f in this[_0x13d835(0x181)];}[a0_0x3f05bc(0x2c3)](){const _0x56c9bb=a0_0x3f05bc;return _0x56c9bb(0x177)+this[_0x56c9bb(0x1ae)]+',\x20'+this[_0x56c9bb(0x247)]+')';}}class Operation{[a0_0x3f05bc(0x1ae)];['_raw'];[a0_0x3f05bc(0x279)];constructor(_0x13ceaa,_0x21d2aa,_0x419b18){const _0xfe531a=a0_0x3f05bc;this[_0xfe531a(0x1ae)]=_0x13ceaa,this[_0xfe531a(0x181)]=_0x21d2aa,this['context']=_0x419b18;}[a0_0x3f05bc(0x23d)](){const _0x22f8ad=a0_0x3f05bc;return this[_0x22f8ad(0x1ae)];}[a0_0x3f05bc(0x2ce)](){return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this['name'];}['getType'](){const _0x1b8fda=a0_0x3f05bc;return parseOperationType(this[_0x1b8fda(0x1ae)]);}[a0_0x3f05bc(0x348)](){const _0x4620bd=a0_0x3f05bc;return this[_0x4620bd(0x181)]!==null&&this[_0x4620bd(0x181)]!==![];}[a0_0x3f05bc(0x118)](){const _0xdc4b16=a0_0x3f05bc,_0x2c503c=this['_raw'];if(_0x2c503c===![]||_0x2c503c===null)return'';return _0x2c503c[_0xdc4b16(0x29b)]||'GET';}[a0_0x3f05bc(0x285)](){const _0x132fc5=a0_0x3f05bc,_0x5a7a62=this['_raw'];if(_0x5a7a62===![]||_0x5a7a62===null)return'';return _0x5a7a62[_0x132fc5(0x111)]||'';}[a0_0x3f05bc(0x2b8)](){const _0x70c558=a0_0x3f05bc,_0x5a884c=this[_0x70c558(0x181)];let _0x211425='';_0x5a884c!==![]&&_0x5a884c!==null&&_0x5a884c[_0x70c558(0x1f6)]&&(_0x211425=_0x5a884c[_0x70c558(0x1f6)]);const _0x1e2837=this['getPath']();return _0x211425&&_0x1e2837?''+_0x211425+_0x1e2837:_0x1e2837;}[a0_0x3f05bc(0x1ea)](){const _0x406e38=a0_0x3f05bc,_0x43d492=this[_0x406e38(0x181)];if(_0x43d492===![]||_0x43d492===null||!_0x43d492[_0x406e38(0x135)])return{};try{return JSON['parse'](_0x43d492[_0x406e38(0x135)]);}catch{return{};}}['parseRawResponseBody'](){const _0x1028da=a0_0x3f05bc,_0x528aab=this['_raw'];if(_0x528aab===![]||_0x528aab===null||!_0x528aab[_0x1028da(0x2dc)])return null;return parseResponseBody(_0x528aab[_0x1028da(0x2dc)]);}[a0_0x3f05bc(0x378)](){const _0x5ec526=a0_0x3f05bc;return this[_0x5ec526(0x1ea)]();}[a0_0x3f05bc(0x151)](){const _0x327cf9=a0_0x3f05bc;return this[_0x327cf9(0x33c)]();}[a0_0x3f05bc(0x35e)](){const _0x653837=a0_0x3f05bc,_0x4552a8=this[_0x653837(0x378)]();return Object[_0x653837(0x2af)](_0x4552a8);}[a0_0x3f05bc(0x39b)](){const _0x4670f3=a0_0x3f05bc,_0xa2f78c=this[_0x4670f3(0x378)](),_0x1cf3b8={};return Object[_0x4670f3(0xef)](_0xa2f78c)['forEach'](([_0x389f67,_0xcbef93])=>{const _0x540b2e=_0x4670f3,_0x7e87f2=_0xcbef93;_0x1cf3b8[_0x389f67]=generateExampleValue(_0x389f67,_0x7e87f2[_0x540b2e(0x101)]||_0x540b2e(0x35b),undefined,{'description':_0x7e87f2[_0x540b2e(0x347)]});}),_0x1cf3b8;}[a0_0x3f05bc(0x13a)](){const _0x17e392=a0_0x3f05bc;return this[_0x17e392(0x39b)]();}[a0_0x3f05bc(0x371)](){const _0x347a21=a0_0x3f05bc,_0x52eb08=this['parseRawResponseBody']();if(!_0x52eb08){const _0x45dd28={};return _0x45dd28[_0x347a21(0x16d)]=!![],_0x45dd28[_0x347a21(0x15f)]='操作成功',_0x45dd28[_0x347a21(0x3a0)]='',_0x45dd28[_0x347a21(0x289)]='0000',_0x45dd28[_0x347a21(0x2b7)]=null,_0x45dd28;}return this[_0x347a21(0x2ec)](_0x52eb08);}[a0_0x3f05bc(0x2ec)](_0x481eb8){const _0x53d360=a0_0x3f05bc;if(!_0x481eb8||typeof _0x481eb8!==_0x53d360(0x280))return{};if(Array['isArray'](_0x481eb8))return _0x481eb8[_0x53d360(0x161)]>0x0?[this[_0x53d360(0x2ec)](_0x481eb8[0x0])]:[];const _0x264c06={};for(const [_0x5c917e,_0x3d6587]of Object['entries'](_0x481eb8)){if(_0x3d6587&&typeof _0x3d6587===_0x53d360(0x280)&&!Array['isArray'](_0x3d6587)){const _0x5ab7cd=_0x3d6587;_0x264c06[_0x5c917e]=generateExampleValue(_0x5c917e,_0x5ab7cd[_0x53d360(0x101)]||_0x53d360(0x35b),undefined,{'description':_0x5ab7cd[_0x53d360(0x347)]});}else Array[_0x53d360(0x123)](_0x3d6587)?_0x264c06[_0x5c917e]=_0x3d6587[_0x53d360(0x161)]>0x0?[this[_0x53d360(0x2ec)](_0x3d6587[0x0])]:[]:_0x264c06[_0x5c917e]=_0x3d6587;}return _0x264c06;}[a0_0x3f05bc(0x38a)](_0x4d7ff4,_0x5c008c,_0x2a025c,_0x11c152){return generateExampleValue(_0x4d7ff4,_0x5c008c,_0x2a025c,_0x11c152);}[a0_0x3f05bc(0x2a5)](_0x1a1237,_0x263e61){const _0x526890=a0_0x3f05bc,_0x333b8b=this['getName']();return _0x526890(0x1a5)+_0x1a1237+'.'+_0x333b8b+_0x526890(0x13c);}[a0_0x3f05bc(0x2d1)](_0x5e8dd0){const _0x50c116=a0_0x3f05bc,_0x5c2dde=this['getName'](),_0x230431=_0x5e8dd0||_0x50c116(0x2f4),_0x214083={};return _0x214083[_0x50c116(0x2d3)]=_0x50c116(0x305)+_0x230431+'.'+_0x5c2dde+_0x50c116(0x13c),_0x214083[_0x50c116(0x289)]='try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'+_0x230431+'.'+_0x5c2dde+_0x50c116(0x190),_0x214083;}['getRequestParamsDocInfo'](){const _0x5659f1=a0_0x3f05bc,_0x291ae5=this[_0x5659f1(0x378)](),_0x3bf68a=Object[_0x5659f1(0xef)](_0x291ae5)[_0x5659f1(0x2cb)](([_0x38b973,_0x27472e])=>{const _0x508085=_0x5659f1,_0x136955=_0x27472e,_0x4b78ed={};return _0x4b78ed[_0x508085(0x1ae)]=_0x38b973,_0x4b78ed[_0x508085(0x101)]=_0x136955[_0x508085(0x101)]||_0x508085(0x35b),_0x4b78ed['description']=_0x136955[_0x508085(0x347)]||'-',_0x4b78ed[_0x508085(0x13b)]=_0x136955[_0x508085(0x13b)],_0x4b78ed;}),_0x35934d={};return _0x35934d[_0x5659f1(0x160)]=_0x3bf68a,_0x35934d;}[a0_0x3f05bc(0x212)](){const _0x2b13f0=a0_0x3f05bc,_0x200a56=this['parseRawResponseBody']();if(!_0x200a56){const _0x16ff9c={};return _0x16ff9c['params']=[],_0x16ff9c;}const _0x318465=Object[_0x2b13f0(0xef)](_0x200a56)[_0x2b13f0(0x2cb)](([_0x467e81,_0xbc61e8])=>{const _0x214882=_0x2b13f0,_0x2e3375=_0xbc61e8,_0x182aff={};return _0x182aff[_0x214882(0x1ae)]=_0x467e81,_0x182aff[_0x214882(0x101)]=_0x2e3375[_0x214882(0x101)]||'String',_0x182aff[_0x214882(0x347)]=_0x2e3375['description']||'-',_0x182aff;}),_0x574248={};return _0x574248[_0x2b13f0(0x160)]=_0x318465,_0x574248;}[a0_0x3f05bc(0x1b0)](){return[];}['getBusinessFields'](){const _0x382fc8=a0_0x3f05bc;return this[_0x382fc8(0x279)]['fields']||[];}[a0_0x3f05bc(0x1f9)](){const _0x375852=a0_0x3f05bc;return{'systemFields':this[_0x375852(0x1b0)](),'businessFields':this[_0x375852(0x19b)]()};}['getFieldDefinition'](_0x3824b7){const _0x394640=a0_0x3f05bc;return this['context'][_0x394640(0x30d)][_0x394640(0x213)](_0x1d5259=>_0x1d5259?.[_0x394640(0x25a)]===_0x3824b7);}[a0_0x3f05bc(0x313)](_0x3f8d76){const _0xb696f8=a0_0x3f05bc;return _0x3f8d76[_0xb696f8(0x25a)];}[a0_0x3f05bc(0x30b)](_0x112b8a){const _0x4303aa=a0_0x3f05bc;return _0x112b8a[_0x4303aa(0x101)];}[a0_0x3f05bc(0x17b)](_0x1e7f65){const _0x1d9454=a0_0x3f05bc;return _0x1e7f65[_0x1d9454(0x1ae)];}[a0_0x3f05bc(0x28c)](_0x30f146){const _0x5e17bc=a0_0x3f05bc;return _0x30f146[_0x5e17bc(0x347)];}[a0_0x3f05bc(0x32b)](_0x116557){const _0x4e5f3e=a0_0x3f05bc;return _0x116557[_0x4e5f3e(0x363)]()||null;}[a0_0x3f05bc(0x398)](_0x2a259d){const _0x3631da=a0_0x3f05bc;return _0x2a259d[_0x3631da(0x2f7)]();}[a0_0x3f05bc(0x2d8)](){return[];}[a0_0x3f05bc(0x262)](_0x82184d){return[];}[a0_0x3f05bc(0x232)](){const _0x196f47=a0_0x3f05bc;return{'name':this[_0x196f47(0x23d)](),'displayName':this[_0x196f47(0x2ce)](),'type':this[_0x196f47(0x291)](),'enabled':this[_0x196f47(0x348)](),'method':this[_0x196f47(0x118)](),'path':this[_0x196f47(0x285)](),'fullUrl':this[_0x196f47(0x2b8)](),'requestParams':this[_0x196f47(0x378)](),'requestExample':this[_0x196f47(0x39b)](),'responseExample':this['generateResponseExample']()};}['toString'](){const _0x1d97a9=a0_0x3f05bc,_0x3b7d04=this[_0x1d97a9(0x348)]()?'启用':'禁用';return this[_0x1d97a9(0x2ce)]()+'('+this[_0x1d97a9(0x1ae)]+',\x20'+_0x3b7d04+')';}}class GenericOperation extends Operation{['_requestExampleCache'];[a0_0x3f05bc(0x378)](){return this['parseRawRequestBody']();}[a0_0x3f05bc(0x151)](){const _0x441173=a0_0x3f05bc;return this[_0x441173(0x33c)]();}[a0_0x3f05bc(0x39b)](){const _0x138cd3=a0_0x3f05bc;if(this['_requestExampleCache'])return this[_0x138cd3(0x1e6)];const _0x2c3e63={},_0x2b2bd4=this[_0x138cd3(0x378)](),_0x25a4fc=this[_0x138cd3(0x291)]();if(Object[_0x138cd3(0x2af)](_0x2b2bd4)[_0x138cd3(0x161)]===0x0&&_0x25a4fc){const _0x52ca89=this[_0x138cd3(0x19b)]();return _0x52ca89[_0x138cd3(0x31d)](_0x12fc67=>{const _0x3a78a7=_0x138cd3,_0x3c1735=_0x12fc67[_0x3a78a7(0x25a)],_0x245f52=_0x12fc67[_0x3a78a7(0x101)],_0xff6533=this[_0x3a78a7(0x38a)](_0x3c1735,_0x245f52,_0x12fc67[_0x3a78a7(0x2f6)](),{'isPrimaryKey':_0x12fc67[_0x3a78a7(0x2f7)](),'description':_0x12fc67[_0x3a78a7(0x347)]||_0x12fc67[_0x3a78a7(0x1ae)]});_0x2c3e63[_0x3c1735]=_0xff6533;}),this[_0x138cd3(0x1e6)]=_0x2c3e63,_0x2c3e63;}return Object[_0x138cd3(0xef)](_0x2b2bd4)[_0x138cd3(0x31d)](([_0x50d0b2,_0x5cd6e7])=>{const _0x5dbab4=_0x138cd3,_0x9e594e=_0x5cd6e7;let _0x1fcb44;if(typeof _0x9e594e[_0x5dbab4(0x101)]==='string')_0x1fcb44=_0x9e594e[_0x5dbab4(0x101)];else _0x9e594e[_0x5dbab4(0x101)]&&typeof _0x9e594e[_0x5dbab4(0x101)]===_0x5dbab4(0x280)?_0x1fcb44=_0x9e594e[_0x5dbab4(0x101)]['type']||_0x5dbab4(0x1bf):_0x1fcb44=_0x5dbab4(0x1bf);const _0x3f65d4=_0x9e594e[_0x5dbab4(0x347)],_0x5d8b06=this[_0x5dbab4(0x376)](_0x50d0b2);if(_0x50d0b2===_0x5dbab4(0x334))_0x2c3e63[_0x50d0b2]=0x1;else{if(_0x50d0b2===_0x5dbab4(0x249))_0x2c3e63[_0x50d0b2]=0xa;else{if(_0x50d0b2==='id')_0x2c3e63[_0x50d0b2]=0x1;else{const _0x500d5c=_0x5d8b06?_0x5d8b06[_0x5dbab4(0x2f6)]():undefined,_0x2dab4d=_0x5d8b06?_0x5d8b06[_0x5dbab4(0x347)]:undefined,_0x4c6172=_0x5d8b06?_0x5d8b06['name']:undefined;_0x2c3e63[_0x50d0b2]=this['generateFieldExample'](_0x50d0b2,_0x1fcb44,_0x500d5c||undefined,{'isPrimaryKey':_0x50d0b2===this['context'][_0x5dbab4(0x2bf)]||_0x50d0b2==='id','description':_0x3f65d4||_0x2dab4d||_0x4c6172});}}}}),this['_requestExampleCache']=_0x2c3e63,_0x2c3e63;}[a0_0x3f05bc(0x371)](){const _0x54ed44=a0_0x3f05bc,_0x2d5d8a=this[_0x54ed44(0x151)]();if(!_0x2d5d8a){const _0x18904c={};return _0x18904c['success']=!![],_0x18904c['msg']=_0x54ed44(0x2e1),_0x18904c['errorMsg']='',_0x18904c['errorCode']=_0x54ed44(0x211),_0x18904c[_0x54ed44(0x2b7)]=null,_0x18904c;}return this[_0x54ed44(0x2ec)](_0x2d5d8a);}[a0_0x3f05bc(0x2ec)](_0xc55b85){const _0x327eaf=a0_0x3f05bc;if(!_0xc55b85||typeof _0xc55b85!==_0x327eaf(0x280))return{};if(Array[_0x327eaf(0x123)](_0xc55b85)){if(_0xc55b85[_0x327eaf(0x161)]>0x0)return[this['generateFromSchema'](_0xc55b85[0x0])];return[];}const _0x3a8f91={};return Object[_0x327eaf(0x2af)](_0xc55b85)['forEach'](_0x228808=>{const _0x436961=_0x327eaf,_0x365a23=_0xc55b85[_0x228808];if(_0x365a23&&typeof _0x365a23===_0x436961(0x280)&&!Array['isArray'](_0x365a23)&&_0x365a23['type']){const _0x16ccba=_0x365a23;let _0x4d3448;if(typeof _0x16ccba[_0x436961(0x101)]===_0x436961(0x112))_0x4d3448=_0x16ccba[_0x436961(0x101)];else _0x16ccba[_0x436961(0x101)]&&typeof _0x16ccba[_0x436961(0x101)]==='object'?_0x4d3448=_0x16ccba[_0x436961(0x101)][_0x436961(0x101)]||_0x436961(0x1bf):_0x4d3448='TEXT';const _0x86ee12=_0x16ccba[_0x436961(0x347)],_0x35e056={};_0x35e056['description']=_0x86ee12,_0x3a8f91[_0x228808]=this[_0x436961(0x38a)](_0x228808,_0x4d3448,undefined,_0x35e056);}else{if(Array[_0x436961(0x123)](_0x365a23))_0x3a8f91[_0x228808]=_0x365a23['length']>0x0?[this[_0x436961(0x2ec)](_0x365a23[0x0])]:[];else _0x365a23&&typeof _0x365a23===_0x436961(0x280)?_0x3a8f91[_0x228808]=this['generateFromSchema'](_0x365a23):_0x3a8f91[_0x228808]=_0x365a23;}}),_0x3a8f91;}[a0_0x3f05bc(0x2a5)](_0x3f14d5,_0x4b63e0){const _0x15630f=a0_0x3f05bc,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4b63e0||{},_0x45cf3b=this[_0x15630f(0x23d)](),_0x446121=this[_0x15630f(0x291)](),_0xe4fa80=this['getRequestFields'](),_0x31d99b=this['generateRequestExample'](),_0x39a9de=_0x2efad5=>{const _0x4fea1c=_0x15630f;if(Object['keys'](_0x2efad5)[_0x4fea1c(0x161)]===0x0)return'{}';const _0x2767e8=JSON[_0x4fea1c(0x370)](_0x2efad5,null,0x2)[_0x4fea1c(0x385)]('\x0a')[_0x4fea1c(0x2cb)]((_0x2c861a,_0x24550f)=>_0x24550f===0x0?_0x2c861a:indent+_0x2c861a)[_0x4fea1c(0x12d)]('\x0a');return _0x2767e8;};switch(_0x446121){case _0x15630f(0x30a):case _0x15630f(0x234):return'const\x20result\x20=\x20await\x20client.models.'+_0x3f14d5+'.'+_0x45cf3b+'(id);';case _0x15630f(0x1df):if(useFullExample&&Object[_0x15630f(0x2af)](_0x31d99b)[_0x15630f(0x161)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x3f14d5+'.'+_0x45cf3b+_0x15630f(0x238)+_0x39a9de(_0x31d99b)+');';return _0x15630f(0x1a5)+_0x3f14d5+'.'+_0x45cf3b+'(id,\x20data);';case _0x15630f(0x1ff):case _0x15630f(0x117):case _0x15630f(0x399):default:if(_0xe4fa80['length']>0x0){if(useFullExample&&Object[_0x15630f(0x2af)](_0x31d99b)[_0x15630f(0x161)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x3f14d5+'.'+_0x45cf3b+'('+_0x39a9de(_0x31d99b)+');';else{const _0x3d0995=Object[_0x15630f(0x2af)](_0x31d99b);if(_0x3d0995[_0x15630f(0x161)]>0x0){const _0x34040f=_0x3d0995[_0x15630f(0x198)](0x0,0x2)[_0x15630f(0x12d)](',\x20');return _0x15630f(0x1a5)+_0x3f14d5+'.'+_0x45cf3b+_0x15630f(0x340)+_0x34040f+',\x20...\x20});';}else return _0x15630f(0x1a5)+_0x3f14d5+'.'+_0x45cf3b+_0x15630f(0x388);}}else return _0x15630f(0x1a5)+_0x3f14d5+'.'+_0x45cf3b+_0x15630f(0x13c);}}['generateRequestAllExamples'](){const _0x496341=a0_0x3f05bc;return[{'title':'请求示例','data':this[_0x496341(0x39b)]()}];}[a0_0x3f05bc(0x1b0)](){const _0x4cd687=a0_0x3f05bc,_0x37afab=this[_0x4cd687(0x291)](),_0x3084b1=[];switch(_0x37afab){case _0x4cd687(0x30a):case'delete':const _0x201f9b={};_0x201f9b['code']='id',_0x201f9b[_0x4cd687(0x101)]=_0x4cd687(0x1d7),_0x201f9b[_0x4cd687(0x347)]=_0x4cd687(0x373),_0x3084b1[_0x4cd687(0x31b)](_0x201f9b);break;case'getList':const _0x607b87={};_0x607b87[_0x4cd687(0x25a)]='currentPage',_0x607b87[_0x4cd687(0x101)]=_0x4cd687(0x1d7),_0x607b87[_0x4cd687(0x347)]=_0x4cd687(0x276);const _0x5177a1={};_0x5177a1[_0x4cd687(0x25a)]=_0x4cd687(0x249),_0x5177a1[_0x4cd687(0x101)]='NUMBER',_0x5177a1['description']=_0x4cd687(0x17e),_0x3084b1['push'](_0x607b87,_0x5177a1);break;case _0x4cd687(0x399):const _0x26191c={};_0x26191c[_0x4cd687(0x25a)]=_0x4cd687(0x25a),_0x26191c[_0x4cd687(0x101)]='STRING',_0x26191c[_0x4cd687(0x347)]=_0x4cd687(0x1c3),_0x3084b1[_0x4cd687(0x31b)](_0x26191c);break;default:break;}return _0x3084b1;}[a0_0x3f05bc(0x19b)](){const _0x4ac702=a0_0x3f05bc,_0x57e069=this[_0x4ac702(0x291)](),_0xa30812=this[_0x4ac702(0x279)][_0x4ac702(0x30d)]||[];switch(_0x57e069){case _0x4ac702(0x30a):case _0x4ac702(0x234):return[];case _0x4ac702(0x1ff):return _0xa30812[_0x4ac702(0x100)](_0x5b205e=>{const _0x31598a=_0x4ac702;if(_0x5b205e['deleted'])return![];if(_0x5b205e[_0x31598a(0x2f7)]()&&_0x5b205e[_0x31598a(0x253)]())return![];if(_0x5b205e[_0x31598a(0x33b)]())return![];if(_0x5b205e[_0x31598a(0x133)]()||_0x5b205e[_0x31598a(0x210)]())return![];return!![];});case _0x4ac702(0x1df):return _0xa30812[_0x4ac702(0x100)](_0x23cf73=>{const _0x124679=_0x4ac702;if(_0x23cf73['deleted'])return![];if(_0x23cf73[_0x124679(0x2f7)]())return![];if(_0x23cf73['isSystem']())return![];if(_0x23cf73[_0x124679(0x133)]()||_0x23cf73[_0x124679(0x210)]())return![];if(_0x23cf73['isAutoIncrement']())return![];return!![];});case'getList':case _0x4ac702(0x399):return _0xa30812[_0x4ac702(0x100)](_0xbe3cf1=>!_0xbe3cf1[_0x4ac702(0x36e)]&&_0xbe3cf1[_0x4ac702(0x307)]());default:return _0xa30812[_0x4ac702(0x100)](_0x246242=>!_0x246242['deleted']&&_0x246242[_0x4ac702(0x307)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x3f05bc(0x378)](){const _0x5774fd=a0_0x3f05bc,_0x576579=super[_0x5774fd(0x378)](),_0x52f21f=Object[_0x5774fd(0x2af)](_0x576579);if(_0x52f21f[_0x5774fd(0x161)]===0x0||_0x52f21f['length']===0x1&&_0x52f21f[0x0]===_0x5774fd(0x25a)){if(!_0x576579['code']){const _0x4bce76={};_0x4bce76[_0x5774fd(0x101)]=_0x5774fd(0x35b),_0x4bce76[_0x5774fd(0x347)]=_0x5774fd(0x11c),_0x576579[_0x5774fd(0x25a)]=_0x4bce76;}const _0x2dbdb9={};_0x2dbdb9[_0x5774fd(0x101)]='String',_0x2dbdb9['description']=_0x5774fd(0x1cc),_0x576579[_0x5774fd(0x243)]=_0x2dbdb9;}return _0x576579;}['getBusinessFields'](){return[];}[a0_0x3f05bc(0x1b0)](){const _0xd655e1=a0_0x3f05bc,_0x2c3c6b={};_0x2c3c6b[_0xd655e1(0x25a)]=_0xd655e1(0x25a),_0x2c3c6b[_0xd655e1(0x101)]=_0xd655e1(0x35b),_0x2c3c6b[_0xd655e1(0x347)]=_0xd655e1(0x11c);const _0x56e21c={};return _0x56e21c[_0xd655e1(0x25a)]=_0xd655e1(0x243),_0x56e21c[_0xd655e1(0x101)]=_0xd655e1(0x35b),_0x56e21c[_0xd655e1(0x347)]='字段名称',[_0x2c3c6b,_0x56e21c];}[a0_0x3f05bc(0x39b)](){const _0x50fad7=a0_0x3f05bc,_0x2ac514={};return _0x2ac514[_0x50fad7(0x25a)]='field_name',_0x2ac514[_0x50fad7(0x243)]=_0x50fad7(0x2e8),_0x2ac514;}[a0_0x3f05bc(0x2a5)](_0xd52297){const _0x319a0e=a0_0x3f05bc,_0x32283=this[_0x319a0e(0x23d)]();return _0x319a0e(0x1a5)+_0xd52297+'.'+_0x32283+'({\x20code,\x20label\x20});';}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0xf27c5=a0_0x3f05bc,_0x27aa26=super[_0xf27c5(0x378)](),{currentPage:_0x30545d,pageSize:_0x78ff07,..._0x2da5c1}=_0x27aa26,_0x117b70={};Object[_0xf27c5(0xef)](_0x2da5c1)[_0xf27c5(0x31d)](([_0x16f1bd,_0x294748])=>{const _0x137605=_0xf27c5;if(typeof _0x294748==='object'&&_0x294748!==null){const _0x4a997a=_0x294748,_0x5edc6e=_0x4a997a['description']||'',_0xf9b749={..._0x4a997a};_0xf9b749[_0x137605(0x347)]=_0x5edc6e?_0x5edc6e+_0x137605(0x227):'支持单值或数组',_0x117b70[_0x16f1bd]=_0xf9b749;}else _0x117b70[_0x16f1bd]=_0x294748;});const _0x259098={...typeof _0x30545d===_0xf27c5(0x280)?_0x30545d:{}};_0x259098[_0xf27c5(0x101)]=_0xf27c5(0x1e3),_0x259098[_0xf27c5(0x347)]=_0xf27c5(0x276);const _0x5e553f={...typeof _0x78ff07===_0xf27c5(0x280)?_0x78ff07:{}};_0x5e553f[_0xf27c5(0x101)]=_0xf27c5(0x1e3),_0x5e553f[_0xf27c5(0x347)]=_0xf27c5(0x20b);const _0x33f3b3={..._0x117b70};return _0x33f3b3[_0xf27c5(0x334)]=_0x259098,_0x33f3b3['pageSize']=_0x5e553f,_0x33f3b3;}[a0_0x3f05bc(0x39b)](_0x54ef96){const _0x4c2d7a=a0_0x3f05bc,{useArrayValues:useArrayValues=!![]}=_0x54ef96||{},_0x4de6d3=super[_0x4c2d7a(0x39b)](),{currentPage:_0x79ef41,pageSize:_0x4e3a54,..._0x542270}=_0x4de6d3;if(!useArrayValues){const _0x6ead2b={..._0x542270};return _0x6ead2b[_0x4c2d7a(0x334)]=_0x79ef41??0x1,_0x6ead2b[_0x4c2d7a(0x249)]=_0x4e3a54??0xa,_0x6ead2b;}const _0x185bf3={},_0x46c774=['id',_0x4c2d7a(0x2fc),_0x4c2d7a(0x25a),_0x4c2d7a(0x101)];Object[_0x4c2d7a(0xef)](_0x542270)[_0x4c2d7a(0x31d)](([_0x54b2cb,_0x46016b],_0x1c8c2b)=>{const _0x544fff=_0x4c2d7a,_0x247c2d=_0x46c774[_0x544fff(0x2f3)](_0x4e8073=>_0x54b2cb[_0x544fff(0x122)]()[_0x544fff(0x13e)](_0x4e8073))||_0x1c8c2b%0x3===0x0;if(_0x247c2d&&_0x46016b!==null&&_0x46016b!==undefined){if(typeof _0x46016b===_0x544fff(0x2ca))_0x185bf3[_0x54b2cb]=[_0x46016b,_0x46016b+0x1,_0x46016b+0x2];else typeof _0x46016b===_0x544fff(0x112)?_0x185bf3[_0x54b2cb]=[_0x46016b,_0x46016b+'_2',_0x46016b+'_3']:_0x185bf3[_0x54b2cb]=[_0x46016b];}else _0x185bf3[_0x54b2cb]=_0x46016b;});const _0x343588={..._0x185bf3};return _0x343588[_0x4c2d7a(0x334)]=_0x79ef41??0x1,_0x343588[_0x4c2d7a(0x249)]=_0x4e3a54??0xa,_0x343588;}['generateSingleValueExample'](){const _0x4ac880=a0_0x3f05bc,_0x4233b3={};return _0x4233b3[_0x4ac880(0x2b6)]=![],this[_0x4ac880(0x39b)](_0x4233b3);}[a0_0x3f05bc(0x2ff)](){const _0x98cb7=a0_0x3f05bc;return[{'title':_0x98cb7(0x396),'description':_0x98cb7(0x39e),'data':this[_0x98cb7(0x34f)]()},{'title':'数组查询(支持多选)','description':'支持多个条件','data':this[_0x98cb7(0x39b)]()}];}[a0_0x3f05bc(0x2a5)](_0x269962,_0x14aeae){const _0x363715=a0_0x3f05bc,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x14aeae||{},_0x500702=this[_0x363715(0x23d)](),_0x275836={};_0x275836[_0x363715(0x2b6)]=!![];const _0x5e051e=this[_0x363715(0x39b)](_0x275836),{currentPage:_0x1761d6,pageSize:_0x3766b9,..._0x465943}=_0x5e051e;if(useFullExample&&Object[_0x363715(0x2af)](_0x5e051e)[_0x363715(0x161)]>0x0){const _0x2e4bff=Object['keys'](_0x465943)['length']>0x0;if(_0x2e4bff){const _0x3e5ce2=this['generateSingleValueExample'](),_0x4bc4c6=_0x181ce5=>{return JSON['stringify'](_0x181ce5,null,0x2)['split']('\x0a')['map']((_0xe518e2,_0x115366)=>_0x115366===0x0?_0xe518e2:indent+_0xe518e2)['join']('\x0a');};return _0x363715(0x2cf)+_0x269962+'.'+_0x500702+'('+_0x4bc4c6(_0x3e5ce2)+_0x363715(0x1fc)+_0x269962+'.'+_0x500702+'('+_0x4bc4c6(_0x5e051e)+');';}else{const _0x394c79=JSON[_0x363715(0x370)](_0x5e051e,null,0x2)[_0x363715(0x385)]('\x0a')[_0x363715(0x2cb)]((_0x33809d,_0x5755d8)=>_0x5755d8===0x0?_0x33809d:indent+_0x33809d)[_0x363715(0x12d)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x269962+'.'+_0x500702+'('+_0x394c79+');';}}if(Object[_0x363715(0x2af)](_0x465943)[_0x363715(0x161)]>0x0){const _0x579d41=Object[_0x363715(0x2af)](_0x465943)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x269962+'.'+_0x500702+_0x363715(0x340)+_0x579d41+_0x363715(0x2cc);}return _0x363715(0x1a5)+_0x269962+'.'+_0x500702+_0x363715(0x1a7);}}var AGGREGATE_FUNCTIONS=[a0_0x3f05bc(0x1e5),a0_0x3f05bc(0x1ca),a0_0x3f05bc(0x1de),a0_0x3f05bc(0x174),a0_0x3f05bc(0x345)],FILTER_OPERATORS=[a0_0x3f05bc(0x1f4),a0_0x3f05bc(0x30c),a0_0x3f05bc(0x1d5),a0_0x3f05bc(0x275),a0_0x3f05bc(0x2be),a0_0x3f05bc(0x300),'$in','$contain','$startWith',a0_0x3f05bc(0x282),a0_0x3f05bc(0x15b),'$or'];class FilterOperation extends GenericOperation{constructor(_0x5752a5,_0x219b9f,_0x5dcd28){super(_0x5752a5,_0x219b9f,_0x5dcd28);}['getOperators'](){return FILTER_OPERATORS;}['getFieldOperators'](_0x4b79b7){const _0x385eb3=a0_0x3f05bc,_0x29f4ca=this['getFieldDefinition'](_0x4b79b7);if(!_0x29f4ca)return[];return this[_0x385eb3(0x124)](_0x29f4ca);}[a0_0x3f05bc(0x378)](){const _0x29be2b=a0_0x3f05bc,_0x2789c6=super['getRequestParams'](),_0x469443={};_0x469443[_0x29be2b(0x101)]=_0x29be2b(0x158),_0x469443[_0x29be2b(0x347)]=_0x29be2b(0x20f),_0x469443[_0x29be2b(0x13b)]=![];const _0x2c2834={};_0x2c2834[_0x29be2b(0x101)]=_0x29be2b(0x2b9),_0x2c2834[_0x29be2b(0x347)]=_0x29be2b(0x266),_0x2c2834[_0x29be2b(0x13b)]=![];const _0x55c66a={};_0x55c66a['type']=_0x29be2b(0xfe),_0x55c66a[_0x29be2b(0x347)]=_0x29be2b(0x220),_0x55c66a[_0x29be2b(0x13b)]=![];const _0x3a0e59={};_0x3a0e59['type']=_0x29be2b(0x1e3),_0x3a0e59[_0x29be2b(0x347)]='当前页码',_0x3a0e59['required']=![],_0x3a0e59[_0x29be2b(0x246)]=0x1;const _0x225926={};_0x225926[_0x29be2b(0x101)]='Number',_0x225926[_0x29be2b(0x347)]=_0x29be2b(0x20b),_0x225926[_0x29be2b(0x13b)]=![],_0x225926['default']=0xa;const _0x2e63f7={..._0x2789c6};return _0x2e63f7[_0x29be2b(0x35c)]=_0x469443,_0x2e63f7[_0x29be2b(0x29f)]=_0x2c2834,_0x2e63f7[_0x29be2b(0x346)]=_0x55c66a,_0x2e63f7['currentPage']=_0x3a0e59,_0x2e63f7[_0x29be2b(0x249)]=_0x225926,_0x2e63f7;}[a0_0x3f05bc(0x1b0)](){const _0x1d8d77=a0_0x3f05bc,_0x5e4479=this[_0x1d8d77(0x378)](),_0x1768e5=[],_0x3ce540=[_0x1d8d77(0x35c),_0x1d8d77(0x29f),_0x1d8d77(0x346),'currentPage',_0x1d8d77(0x249)];return Object[_0x1d8d77(0xef)](_0x5e4479)[_0x1d8d77(0x31d)](([_0x2b4d93,_0x3ec49d])=>{const _0x34f6cf=_0x1d8d77;if(_0x3ce540[_0x34f6cf(0x13e)](_0x2b4d93)){const _0x385815=_0x3ec49d,_0x321f47={};_0x321f47[_0x34f6cf(0x25a)]=_0x2b4d93,_0x321f47[_0x34f6cf(0x101)]=_0x385815[_0x34f6cf(0x101)]||_0x34f6cf(0x158),_0x321f47[_0x34f6cf(0x347)]=_0x385815[_0x34f6cf(0x347)]||'-',_0x1768e5[_0x34f6cf(0x31b)](_0x321f47);}}),_0x1768e5;}[a0_0x3f05bc(0x19b)](){const _0x13419b=a0_0x3f05bc;return this[_0x13419b(0x279)][_0x13419b(0x30d)]||[];}['getGroupedParams'](){const _0x5562c4=a0_0x3f05bc;return{'systemParams':this[_0x5562c4(0x1b0)](),'businessFields':this[_0x5562c4(0x19b)]()};}[a0_0x3f05bc(0x39b)](){const _0x380674=a0_0x3f05bc,_0x122557=this[_0x380674(0x279)]['fields']||[];if(_0x122557['length']===0x0){const _0x18003d={};return _0x18003d[_0x380674(0x35c)]={},_0x18003d[_0x380674(0x334)]=0x1,_0x18003d[_0x380674(0x249)]=0x14,_0x18003d;}const _0x1532ce={},_0x194ade=_0x122557[_0x380674(0x198)](0x0,Math['min'](0x3,_0x122557[_0x380674(0x161)]));_0x194ade[_0x380674(0x31d)](_0x5407cb=>{const _0x5aaed8=_0x380674,_0x30c35d=this[_0x5aaed8(0x124)](_0x5407cb);if(_0x30c35d[_0x5aaed8(0x161)]===0x0)return;const _0x1a1113=this['selectBestOperator'](_0x5407cb,_0x30c35d),_0xf6b88c=this['generateExampleValue'](_0x5407cb,_0x1a1113),_0x3c82e1={};_0x3c82e1[_0x1a1113]=_0xf6b88c,_0x1532ce[_0x5407cb[_0x5aaed8(0x25a)]]=_0x3c82e1;});const _0xd04fb3=_0x122557[_0x380674(0x198)](0x0,Math[_0x380674(0x345)](0x5,_0x122557[_0x380674(0x161)]))['map'](_0x504023=>_0x504023[_0x380674(0x25a)]),_0x2e9e4e=_0x122557[0x0]?_0x122557[0x0][_0x380674(0x25a)]:'id',_0x31df28={};_0x31df28[_0x2e9e4e]=_0x380674(0x1e2);const _0x1aef38={};return _0x1aef38[_0x380674(0x35c)]=_0x1532ce,_0x1aef38[_0x380674(0x29f)]=_0xd04fb3,_0x1aef38[_0x380674(0x346)]=[_0x31df28],_0x1aef38['currentPage']=0x1,_0x1aef38['pageSize']=0x14,_0x1aef38;}[a0_0x3f05bc(0x2a5)](_0x1452f0,_0x52a81f){const _0x3ea93a=a0_0x3f05bc,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x52a81f||{},_0x153b26=this[_0x3ea93a(0x23d)](),_0x5b6c89=this[_0x3ea93a(0x39b)](),_0x45bdce=_0x1a3d5f=>{const _0x136d84=_0x3ea93a;return JSON['stringify'](_0x1a3d5f,null,0x2)[_0x136d84(0x385)]('\x0a')[_0x136d84(0x2cb)]((_0x679fe7,_0x91ebb9)=>_0x91ebb9===0x0?_0x679fe7:indent+_0x679fe7)[_0x136d84(0x12d)]('\x0a');};if(useFullExample){const _0x404655=this[_0x3ea93a(0x279)][_0x3ea93a(0x30d)]||[],_0x86dc6d={'where':_0x404655[0x0]?{[_0x404655[0x0][_0x3ea93a(0x25a)]]:{'$eq':this[_0x3ea93a(0x377)](_0x404655[0x0],_0x3ea93a(0x1f4))}}:{},'select':_0x404655[_0x3ea93a(0x198)](0x0,0x3)[_0x3ea93a(0x2cb)](_0xbc193c=>_0xbc193c[_0x3ea93a(0x25a)]),'currentPage':0x1,'pageSize':0x14};let _0x1582ff='';if(_0x404655[_0x3ea93a(0x161)]>=0x3){const _0x46282c={};_0x46282c[_0x3ea93a(0x15b)]=[];const _0x2c6680=_0x46282c,_0x691cba=[];if(_0x404655[_0x3ea93a(0x161)]>0x0){const _0x44800e=_0x404655[_0x3ea93a(0x213)](_0x1d0836=>{const _0x19e34e=_0x3ea93a,_0x1ba124=_0x1d0836[_0x19e34e(0x2f6)]();return[_0x19e34e(0x1d7),'INTEGER',_0x19e34e(0x162),'INT',_0x19e34e(0x2e0),_0x19e34e(0x298)][_0x19e34e(0x13e)](_0x1ba124);});if(_0x44800e){const _0x88904a={};_0x88904a['$gte']=0x0,_0x88904a[_0x3ea93a(0x2be)]=0x64;const _0x19f7d4={[_0x44800e[_0x3ea93a(0x25a)]]:_0x88904a};_0x691cba[_0x3ea93a(0x31b)](_0x19f7d4);}}if(_0x404655['length']>0x1){const _0x3d5cf3=_0x404655['find'](_0x557622=>{const _0x597daa=_0x3ea93a,_0x4d117f=_0x557622['getDbTypeForOperation']();return[_0x597daa(0x155),_0x597daa(0x1bf),_0x597daa(0x17c),'CHAR',_0x597daa(0x132)][_0x597daa(0x13e)](_0x4d117f);});if(_0x3d5cf3){const _0x24440f={};_0x24440f[_0x3ea93a(0x25c)]=_0x3ea93a(0x114);const _0x4d0f25={[_0x3d5cf3[_0x3ea93a(0x25a)]]:_0x24440f};_0x691cba[_0x3ea93a(0x31b)](_0x4d0f25);}}if(_0x691cba[_0x3ea93a(0x161)]>0x0){_0x2c6680['$and']=_0x691cba;const _0x544d4e={'where':_0x2c6680,'select':_0x404655[_0x3ea93a(0x198)](0x0,0x4)[_0x3ea93a(0x2cb)](_0x5e80e7=>_0x5e80e7[_0x3ea93a(0x25a)]),'orderBy':[{[_0x404655[0x0][_0x3ea93a(0x25a)]]:_0x3ea93a(0x1e2)}],'currentPage':0x1,'pageSize':0x14};_0x1582ff=_0x3ea93a(0x33e)+_0x1452f0+'.'+_0x153b26+'('+_0x45bdce(_0x544d4e)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x1452f0+'.'+_0x153b26+'('+_0x45bdce(_0x86dc6d)+');'+_0x1582ff;}const _0x1d5f27=JSON['stringify'](_0x5b6c89,null,0x2)['split']('\x0a')[_0x3ea93a(0x2cb)]((_0x3d3bd1,_0x3bf069)=>_0x3bf069===0x0?_0x3d3bd1:indent+_0x3d3bd1)['join']('\x0a');return _0x3ea93a(0x1a5)+_0x1452f0+'.'+_0x153b26+'('+_0x1d5f27+');';}['getApplicableOperators'](_0x49563d){const _0x120ba3=a0_0x3f05bc,_0x529f10=_0x49563d[_0x120ba3(0x2f6)](),_0x431b74=[];if(['NUMBER',_0x120ba3(0x1e4),_0x120ba3(0x162),_0x120ba3(0x2e9)]['includes'](_0x529f10)||[_0x120ba3(0x2e2),'TINYINT',_0x120ba3(0x298),_0x120ba3(0x17a),_0x120ba3(0x335)][_0x120ba3(0x13e)](_0x529f10))_0x431b74[_0x120ba3(0x31b)](_0x120ba3(0x1f4),_0x120ba3(0x30c),_0x120ba3(0x1d5),_0x120ba3(0x2be),'$gteq',_0x120ba3(0x300),_0x120ba3(0x2e7));else{if(['STRING',_0x120ba3(0x1bf),_0x120ba3(0x17c)]['includes'](_0x529f10)||[_0x120ba3(0x148),_0x120ba3(0x132)][_0x120ba3(0x13e)](_0x529f10))_0x431b74[_0x120ba3(0x31b)]('$eq',_0x120ba3(0x30c),'$in','$contain','$startWith',_0x120ba3(0x282));else{if([_0x120ba3(0x332),'DATETIME','TIMESTAMP'][_0x120ba3(0x13e)](_0x529f10)||[_0x120ba3(0xf0)][_0x120ba3(0x13e)](_0x529f10))_0x431b74['push'](_0x120ba3(0x1f4),_0x120ba3(0x30c),_0x120ba3(0x1d5),_0x120ba3(0x2be),_0x120ba3(0x275),_0x120ba3(0x300));else[_0x120ba3(0x31a),_0x120ba3(0x1e8),'BIT'][_0x120ba3(0x13e)](_0x529f10)?_0x431b74[_0x120ba3(0x31b)](_0x120ba3(0x1f4),'$ne'):_0x431b74[_0x120ba3(0x31b)](_0x120ba3(0x1f4),_0x120ba3(0x30c));}}return _0x431b74;}[a0_0x3f05bc(0x2d0)](_0x310355,_0x59e9e1){const _0x33ae7d=a0_0x3f05bc,_0x1c72cb=_0x310355[_0x33ae7d(0x2f6)]();if(['NUMBER',_0x33ae7d(0x1e4),_0x33ae7d(0x162),_0x33ae7d(0x2e9)][_0x33ae7d(0x13e)](_0x1c72cb)||[_0x33ae7d(0x2e2),_0x33ae7d(0x2e0),'SMALLINT',_0x33ae7d(0x17a),_0x33ae7d(0x335)][_0x33ae7d(0x13e)](_0x1c72cb))return _0x59e9e1[_0x33ae7d(0x13e)](_0x33ae7d(0x1d5))?_0x33ae7d(0x1d5):_0x33ae7d(0x1f4);if([_0x33ae7d(0x155),_0x33ae7d(0x1bf),_0x33ae7d(0x17c)]['includes'](_0x1c72cb)||[_0x33ae7d(0x148),'LONGTEXT'][_0x33ae7d(0x13e)](_0x1c72cb))return _0x59e9e1[_0x33ae7d(0x13e)](_0x33ae7d(0x25c))?_0x33ae7d(0x25c):_0x33ae7d(0x1f4);if(['DATE',_0x33ae7d(0x1fd),_0x33ae7d(0x239),'TIME'][_0x33ae7d(0x13e)](_0x1c72cb))return _0x59e9e1[_0x33ae7d(0x13e)](_0x33ae7d(0x1d5))?_0x33ae7d(0x1d5):_0x33ae7d(0x1f4);return _0x33ae7d(0x1f4);}[a0_0x3f05bc(0x377)](_0x25ee8e,_0xb057a9){const _0x3b24f3=a0_0x3f05bc,_0xdeed5=_0x25ee8e[_0x3b24f3(0x2f6)](),_0x10e036=_0x25ee8e[_0x3b24f3(0x363)]();if(_0x10e036&&_0x10e036[_0x3b24f3(0x161)]>0x0){if(_0xb057a9===_0x3b24f3(0x2e7))return _0x10e036[_0x3b24f3(0x198)](0x0,0x2)[_0x3b24f3(0x2cb)](_0x6c602f=>_0x6c602f[_0x3b24f3(0x1b5)]);return _0x10e036[0x0]['value'];}if(['NUMBER',_0x3b24f3(0x1e4),_0x3b24f3(0x162),_0x3b24f3(0x2e9)][_0x3b24f3(0x13e)](_0xdeed5)||[_0x3b24f3(0x2e2),_0x3b24f3(0x2e0),_0x3b24f3(0x298),'DOUBLE',_0x3b24f3(0x335)][_0x3b24f3(0x13e)](_0xdeed5)){if(_0xb057a9===_0x3b24f3(0x2e7))return[0x1,0x2,0x3];if(_0xb057a9==='$gte'||_0xb057a9===_0x3b24f3(0x275))return 0x0;if(_0xb057a9==='$lte'||_0xb057a9==='$lteq')return 0x64;return 0x1;}if([_0x3b24f3(0x155),_0x3b24f3(0x1bf),_0x3b24f3(0x17c)][_0x3b24f3(0x13e)](_0xdeed5)||['CHAR','LONGTEXT'][_0x3b24f3(0x13e)](_0xdeed5)){if(_0xb057a9===_0x3b24f3(0x2e7))return[_0x3b24f3(0x23c),'value2'];if(_0xb057a9===_0x3b24f3(0x25c))return _0x3b24f3(0x114);if(_0xb057a9===_0x3b24f3(0x25f))return _0x3b24f3(0x236);if(_0xb057a9===_0x3b24f3(0x282))return _0x3b24f3(0x185);return _0x3b24f3(0x1b5);}if([_0x3b24f3(0x332),_0x3b24f3(0x1fd),'TIMESTAMP',_0x3b24f3(0xf0)][_0x3b24f3(0x13e)](_0xdeed5)){if(_0xb057a9===_0x3b24f3(0x1d5)||_0xb057a9===_0x3b24f3(0x275))return'2024-01-01';if(_0xb057a9===_0x3b24f3(0x2be)||_0xb057a9===_0x3b24f3(0x300))return'2024-12-31';return _0x3b24f3(0x2da);}if([_0x3b24f3(0x31a),_0x3b24f3(0x1e8),_0x3b24f3(0x353)]['includes'](_0xdeed5))return!![];return _0xb057a9===_0x3b24f3(0x2e7)?['value1',_0x3b24f3(0x16f)]:_0x3b24f3(0x1b5);}[a0_0x3f05bc(0x165)](){const _0x4c0234=a0_0x3f05bc,_0x3f17c4=super[_0x4c0234(0x378)](),_0x539a72=Object[_0x4c0234(0xef)](_0x3f17c4)[_0x4c0234(0x100)](([_0xa4f7a2])=>_0xa4f7a2!=='currentPage'&&_0xa4f7a2!==_0x4c0234(0x249))['map'](([_0x1fcdb7,_0x4bf67e])=>{const _0x185d5a=_0x4c0234,_0x144686=_0x4bf67e,_0x58e4e5={};return _0x58e4e5[_0x185d5a(0x1ae)]=_0x1fcdb7,_0x58e4e5[_0x185d5a(0x101)]=_0x144686['type']||_0x185d5a(0x35b),_0x58e4e5[_0x185d5a(0x347)]=_0x144686[_0x185d5a(0x347)]||'-',_0x58e4e5['required']=_0x144686[_0x185d5a(0x13b)],_0x58e4e5;}),_0x560000={};return _0x560000[_0x4c0234(0x347)]=_0x4c0234(0x1b8),_0x560000[_0x4c0234(0x160)]=_0x539a72,_0x560000;}}class ExcelExportOperation extends GenericOperation{[a0_0x3f05bc(0x378)](){const _0x49572a=a0_0x3f05bc,_0x4e0912=super[_0x49572a(0x378)]();if(Object['keys'](_0x4e0912)[_0x49572a(0x161)]===0x0){const _0x48efe8={};this['context'][_0x49572a(0x30d)][_0x49572a(0x31d)](_0x31799a=>{const _0x1eac30=_0x49572a;if(_0x31799a){const _0x4566af=_0x31799a[_0x1eac30(0x25a)],_0x159ad0=_0x31799a[_0x1eac30(0x2f6)](),_0x1ba6ac={};_0x1ba6ac[_0x1eac30(0x101)]=_0x159ad0||_0x1eac30(0x1bf),_0x1ba6ac[_0x1eac30(0x362)]=_0x31799a[_0x1eac30(0x362)],_0x1ba6ac[_0x1eac30(0x347)]=_0x31799a['description']||_0x31799a['name'],_0x48efe8[_0x4566af]=_0x1ba6ac;}});const _0x4c3ed4={};_0x4c3ed4[_0x49572a(0x101)]=_0x49572a(0x365),_0x4c3ed4[_0x49572a(0x347)]=_0x49572a(0x257),_0x48efe8['currentPage']=_0x4c3ed4;const _0x4ca8c0={};return _0x4ca8c0[_0x49572a(0x101)]=_0x49572a(0x365),_0x4ca8c0[_0x49572a(0x347)]=_0x49572a(0x183),_0x48efe8[_0x49572a(0x249)]=_0x4ca8c0,_0x48efe8;}return _0x4e0912;}[a0_0x3f05bc(0x39b)](){const _0x564a79=a0_0x3f05bc,_0x420de7=super[_0x564a79(0x39b)]();if(Object[_0x564a79(0x2af)](_0x420de7)[_0x564a79(0x161)]===0x0){const _0x4b3d0d={};return _0x4b3d0d['currentPage']=0x1,_0x4b3d0d[_0x564a79(0x249)]=0x64,_0x4b3d0d;}const _0x4e98ff={..._0x420de7};return _0x4e98ff[_0x564a79(0x334)]=_0x420de7[_0x564a79(0x334)]??0x1,_0x4e98ff[_0x564a79(0x249)]=_0x420de7[_0x564a79(0x249)]??0x64,_0x4e98ff;}['generateResponseExample'](){const _0xf5db13=a0_0x3f05bc,_0x555cf5={};return _0x555cf5['success']=!![],_0x555cf5['msg']='',_0x555cf5[_0xf5db13(0x3a0)]='',_0x555cf5['errorCode']=_0xf5db13(0x211),_0x555cf5[_0xf5db13(0x2b7)]='https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D',_0x555cf5['params']=null,_0x555cf5;}['generateSDKCallCode'](_0x3370d4,_0x414b0e){const _0x29de56=a0_0x3f05bc,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x414b0e||{},_0x4cc18d=this['getName']();if(useFullExample){const _0x5b513c=this['generateRequestExample'](),{currentPage:_0x100a08,pageSize:_0x3e8da0,..._0x51c5ca}=_0x5b513c,_0x2e8bca=Object[_0x29de56(0x2af)](_0x51c5ca)[_0x29de56(0x161)]>0x0;if(_0x2e8bca){const _0x364126=_0x26f5c6=>{const _0x4b5ee4=_0x29de56;return JSON[_0x4b5ee4(0x370)](_0x26f5c6,null,0x2)[_0x4b5ee4(0x385)]('\x0a')['map']((_0x572a53,_0xe5aef0)=>_0xe5aef0===0x0?_0x572a53:indent+_0x572a53)[_0x4b5ee4(0x12d)]('\x0a');};return _0x29de56(0x29d)+_0x3370d4+'.'+_0x4cc18d+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x3370d4+'.'+_0x4cc18d+'('+_0x364126(_0x5b513c)+');';}else{const _0x2f5bb6=_0x4ef6df=>{const _0x3448d2=_0x29de56;return JSON['stringify'](_0x4ef6df,null,0x2)[_0x3448d2(0x385)]('\x0a')['map']((_0x560a63,_0x152299)=>_0x152299===0x0?_0x560a63:indent+_0x560a63)[_0x3448d2(0x12d)]('\x0a');},_0x1fab52={};return _0x1fab52['currentPage']=0x1,_0x1fab52[_0x29de56(0x249)]=0x64,_0x29de56(0x29d)+_0x3370d4+'.'+_0x4cc18d+_0x29de56(0x140)+_0x3370d4+'.'+_0x4cc18d+'('+_0x2f5bb6(_0x1fab52)+');';}}return _0x29de56(0x28f)+_0x3370d4+'.'+_0x4cc18d+_0x29de56(0x2bb);}[a0_0x3f05bc(0x2d1)](_0x816f48){const _0x476713=a0_0x3f05bc,_0x59e0d2=this[_0x476713(0x23d)](),_0x46c149=_0x816f48||_0x476713(0x2f4),_0xccd277=_0x476713(0x28e)+_0x46c149+'.'+_0x59e0d2+_0x476713(0xfd),_0x4bb91c='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x46c149+'.'+_0x59e0d2+'();\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}',_0x5c5b02={};return _0x5c5b02[_0x476713(0x2d3)]=_0xccd277,_0x5c5b02[_0x476713(0x289)]=_0x4bb91c,_0x5c5b02;}}class UpdateOperation extends GenericOperation{[a0_0x3f05bc(0x159)](){return this['parseRawRequestBody']();}[a0_0x3f05bc(0x378)](){const _0x41cb3d=a0_0x3f05bc,_0x18996e=this[_0x41cb3d(0x159)](),_0x20078c={};_0x20078c[_0x41cb3d(0x101)]=_0x41cb3d(0x1d7),_0x20078c[_0x41cb3d(0x347)]=_0x41cb3d(0x337),_0x20078c['required']=!![];const _0x32c1ca={};_0x32c1ca[_0x41cb3d(0x101)]=_0x41cb3d(0x280),_0x32c1ca['description']='要更新的字段数据对象',_0x32c1ca[_0x41cb3d(0x13b)]=!![],_0x32c1ca['properties']=_0x18996e;const _0x453058={};return _0x453058['id']=_0x20078c,_0x453058['data']=_0x32c1ca,_0x453058;}[a0_0x3f05bc(0x36c)](){const _0x4afef5=a0_0x3f05bc;return this[_0x4afef5(0x159)]();}[a0_0x3f05bc(0x27f)](){const _0x51a2cc=a0_0x3f05bc,_0xeeb88c=this[_0x51a2cc(0x279)][_0x51a2cc(0x30d)]||[],_0x4c1eec=this[_0x51a2cc(0x279)]['pkField'],_0x342f54=_0xeeb88c[_0x51a2cc(0x213)](_0x4d75e7=>_0x4d75e7[_0x51a2cc(0x2f7)]()||_0x4d75e7[_0x51a2cc(0x25a)]===_0x4c1eec),_0x441a60=_0xeeb88c[_0x51a2cc(0x100)](_0x5e2c54=>{const _0x2db382=_0x51a2cc;if(_0x5e2c54[_0x2db382(0x36e)])return![];if(_0x5e2c54===_0x342f54||_0x5e2c54[_0x2db382(0x2f7)]())return![];if(_0x5e2c54['isCreateTime']()||_0x5e2c54[_0x2db382(0x210)]())return![];if(_0x5e2c54[_0x2db382(0x253)]())return![];return!![];});return _0x342f54?[_0x342f54,..._0x441a60]:_0x441a60;}[a0_0x3f05bc(0x1e1)](){const _0x446f73=a0_0x3f05bc,_0x39eba9=this[_0x446f73(0x27f)](),_0x41b38a=this['context']['pkField'],_0x55ac42=_0x39eba9[_0x446f73(0x2cb)](_0x2fe4ea=>{const _0x2862bb=_0x446f73,_0x3cb9af=_0x2fe4ea['isPrimaryKey']()||_0x2fe4ea['code']===_0x41b38a,_0x310290=_0x3cb9af?'id':_0x2fe4ea[_0x2862bb(0x25a)],_0x165a84={};return _0x165a84[_0x2862bb(0x1ae)]=_0x310290,_0x165a84['type']=_0x2fe4ea[_0x2862bb(0x101)],_0x165a84[_0x2862bb(0x347)]=_0x3cb9af?_0x2862bb(0x2ab)+(_0x41b38a&&_0x41b38a!==_0x2fe4ea[_0x2862bb(0x25a)]?'(实际字段:'+_0x2fe4ea[_0x2862bb(0x25a)]+')':''):_0x2fe4ea[_0x2862bb(0x347)]||_0x2fe4ea[_0x2862bb(0x1ae)],_0x165a84;}),_0x27655e={};return _0x27655e[_0x446f73(0x347)]='HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。',_0x27655e[_0x446f73(0x160)]=_0x55ac42,_0x27655e;}['getRequestParamsDocInfo'](){const _0x4e1b83=a0_0x3f05bc,_0x2354de=this[_0x4e1b83(0x159)](),_0x4916ef=Object['entries'](_0x2354de)[_0x4e1b83(0x2cb)](([_0x4dca33,_0x511681])=>{const _0x5b23a5=_0x4e1b83,_0x5427f6=_0x511681,_0x514e57={};return _0x514e57[_0x5b23a5(0x1ae)]=_0x4dca33,_0x514e57[_0x5b23a5(0x101)]=_0x5427f6['type']||_0x5b23a5(0x35b),_0x514e57[_0x5b23a5(0x347)]=_0x5427f6[_0x5b23a5(0x347)]||'-',_0x514e57;}),_0x2224ff={};return _0x2224ff[_0x4e1b83(0x347)]=_0x4e1b83(0x178)+_0x4e1b83(0x12b)+_0x4e1b83(0xed)+_0x4e1b83(0x22c)+'-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a'+_0x4e1b83(0x21a),_0x2224ff[_0x4e1b83(0x160)]=_0x4916ef,_0x2224ff;}[a0_0x3f05bc(0x39b)](){const _0xdbcd8c=a0_0x3f05bc,_0x4dd6f1=this[_0xdbcd8c(0x159)](),_0x4a6b63={};Object[_0xdbcd8c(0xef)](_0x4dd6f1)[_0xdbcd8c(0x31d)](([_0xa4d675,_0x6404b3])=>{const _0x151bb9=_0xdbcd8c,_0x3ae2dc=_0x6404b3;let _0x4fce30;if(typeof _0x3ae2dc[_0x151bb9(0x101)]===_0x151bb9(0x112))_0x4fce30=_0x3ae2dc[_0x151bb9(0x101)];else _0x3ae2dc[_0x151bb9(0x101)]&&typeof _0x3ae2dc[_0x151bb9(0x101)]===_0x151bb9(0x280)?_0x4fce30=_0x3ae2dc[_0x151bb9(0x101)][_0x151bb9(0x101)]||_0x151bb9(0x1bf):_0x4fce30='TEXT';const _0x17a6d5=_0x3ae2dc[_0x151bb9(0x347)],_0xaeb8e2=this[_0x151bb9(0x376)](_0xa4d675);_0x4a6b63[_0xa4d675]=this['generateFieldExample'](_0xa4d675,_0x4fce30,_0xaeb8e2?.[_0x151bb9(0x2f6)](),{'isPrimaryKey':![],'description':_0x17a6d5||_0xaeb8e2?.[_0x151bb9(0x347)]||_0xaeb8e2?.['name']});});const _0x54616a={};return _0x54616a['id']=0x1,_0x54616a['data']=_0x4a6b63,_0x54616a;}[a0_0x3f05bc(0x2ff)](){const _0x4c73c8=a0_0x3f05bc,_0x50f9ae=this[_0x4c73c8(0x39b)](),_0x49c8f7={};return _0x49c8f7['title']=_0x4c73c8(0x326),_0x49c8f7[_0x4c73c8(0x347)]='SDK\x20调用时传递两个参数:\x0a'+_0x4c73c8(0x37e)+'-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段',_0x49c8f7[_0x4c73c8(0x2b7)]=_0x50f9ae,[_0x49c8f7,{'title':_0x4c73c8(0x1af),'description':_0x4c73c8(0x21d)+'-\x20主键使用\x20`id`\x20字段\x0a'+_0x4c73c8(0x170),'data':this[_0x4c73c8(0x303)]()}];}['generateHTTPRequestExample'](){const _0x42f562=a0_0x3f05bc,_0x117ae9=this[_0x42f562(0x159)](),_0x41102d={};_0x41102d['id']=0x1;const _0x5be98d=_0x41102d;return Object[_0x42f562(0xef)](_0x117ae9)[_0x42f562(0x31d)](([_0x49accc,_0x457f6b])=>{const _0x4169ed=_0x42f562,_0x2eda31=_0x457f6b;let _0x1c37ef;if(typeof _0x2eda31[_0x4169ed(0x101)]===_0x4169ed(0x112))_0x1c37ef=_0x2eda31[_0x4169ed(0x101)];else _0x2eda31['type']&&typeof _0x2eda31['type']==='object'?_0x1c37ef=_0x2eda31[_0x4169ed(0x101)][_0x4169ed(0x101)]||_0x4169ed(0x1bf):_0x1c37ef=_0x4169ed(0x1bf);const _0x191f32=_0x2eda31[_0x4169ed(0x347)],_0x48d5c1=this[_0x4169ed(0x376)](_0x49accc);if(_0x48d5c1?.[_0x4169ed(0x2f7)]())return;_0x5be98d[_0x49accc]=this['generateFieldExample'](_0x49accc,_0x1c37ef,_0x48d5c1?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x191f32||_0x48d5c1?.[_0x4169ed(0x347)]||_0x48d5c1?.[_0x4169ed(0x1ae)]});}),_0x5be98d;}[a0_0x3f05bc(0x13a)](){const _0x190f53=a0_0x3f05bc;return this[_0x190f53(0x303)]();}[a0_0x3f05bc(0x2a5)](_0x9048b5,_0x34e2fe){const _0x4872e0=a0_0x3f05bc,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x34e2fe||{},_0x3b174a=this[_0x4872e0(0x23d)]();if(useFullExample){const _0x140bd0=this[_0x4872e0(0x39b)](),_0x8662ac=JSON[_0x4872e0(0x370)](_0x140bd0[_0x4872e0(0x2b7)],null,0x2)[_0x4872e0(0x385)]('\x0a')[_0x4872e0(0x2cb)]((_0x1b2caf,_0x5e6330)=>_0x5e6330===0x0?_0x1b2caf:indent+_0x1b2caf)[_0x4872e0(0x12d)]('\x0a');return _0x4872e0(0x1a5)+_0x9048b5+'.'+_0x3b174a+'('+_0x140bd0['id']+',\x20'+_0x8662ac+');';}return _0x4872e0(0x1a5)+_0x9048b5+'.'+_0x3b174a+_0x4872e0(0x225);}}class AggregateOperation extends GenericOperation{constructor(_0x42fd42,_0x1aa274,_0x344d5b){super(_0x42fd42,_0x1aa274,_0x344d5b);}['normalizeDbType'](_0x54ca8f){const _0x3cd3b5=a0_0x3f05bc;return _0x54ca8f[_0x3cd3b5(0x1c7)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x3cd3b5(0x2bd)]()['toUpperCase']();}[a0_0x3f05bc(0xfc)](){return AGGREGATE_FUNCTIONS;}[a0_0x3f05bc(0x378)](){const _0x3ae0eb=a0_0x3f05bc,_0x4f6e03=super['getRequestParams'](),_0x126fe1={};_0x126fe1[_0x3ae0eb(0x101)]='String[]',_0x126fe1['description']=_0x3ae0eb(0x32e),_0x126fe1[_0x3ae0eb(0x13b)]=![];const _0x2bcd98={};_0x2bcd98[_0x3ae0eb(0x101)]='Object',_0x2bcd98[_0x3ae0eb(0x347)]='查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)',_0x2bcd98['required']=![];const _0x52bd9f={};_0x52bd9f[_0x3ae0eb(0x101)]='String[]',_0x52bd9f['description']='分组字段列表',_0x52bd9f[_0x3ae0eb(0x13b)]=![];const _0x5f1fc0={};_0x5f1fc0[_0x3ae0eb(0x101)]='Array',_0x5f1fc0[_0x3ae0eb(0x347)]=_0x3ae0eb(0x17d),_0x5f1fc0[_0x3ae0eb(0x13b)]=![];const _0x3fff09={};_0x3fff09[_0x3ae0eb(0x101)]='Array',_0x3fff09['description']=_0x3ae0eb(0x18d),_0x3fff09[_0x3ae0eb(0x13b)]=![];const _0x2e8f9f={};_0x2e8f9f['type']=_0x3ae0eb(0x142),_0x2e8f9f[_0x3ae0eb(0x347)]='排序规则(与\x20Filter\x20API\x20一致)',_0x2e8f9f[_0x3ae0eb(0x13b)]=![];const _0x2a71e6={};_0x2a71e6[_0x3ae0eb(0x101)]=_0x3ae0eb(0x1e3),_0x2a71e6['description']=_0x3ae0eb(0x2c9),_0x2a71e6['required']=![];const _0x47098c={};_0x47098c[_0x3ae0eb(0x101)]='Number',_0x47098c['description']=_0x3ae0eb(0x33d),_0x47098c[_0x3ae0eb(0x13b)]=![];const _0x2794fb={..._0x4f6e03};return _0x2794fb[_0x3ae0eb(0x29f)]=_0x126fe1,_0x2794fb['where']=_0x2bcd98,_0x2794fb[_0x3ae0eb(0x136)]=_0x52bd9f,_0x2794fb['aggregate']=_0x5f1fc0,_0x2794fb[_0x3ae0eb(0x27e)]=_0x3fff09,_0x2794fb['orderBy']=_0x2e8f9f,_0x2794fb[_0x3ae0eb(0x334)]=_0x2a71e6,_0x2794fb[_0x3ae0eb(0x249)]=_0x47098c,_0x2794fb;}[a0_0x3f05bc(0x1b0)](){const _0x6f8899=a0_0x3f05bc,_0x1af711={};_0x1af711[_0x6f8899(0x25a)]='select',_0x1af711[_0x6f8899(0x101)]='String[]',_0x1af711[_0x6f8899(0x347)]=_0x6f8899(0x32e);const _0x1afbb2={};_0x1afbb2['code']=_0x6f8899(0x35c),_0x1afbb2['type']=_0x6f8899(0x158),_0x1afbb2[_0x6f8899(0x347)]=_0x6f8899(0x218);const _0x474e43={};_0x474e43['code']=_0x6f8899(0x136),_0x474e43[_0x6f8899(0x101)]=_0x6f8899(0x2b9),_0x474e43[_0x6f8899(0x347)]=_0x6f8899(0xf1);const _0x5ad3d6={};_0x5ad3d6[_0x6f8899(0x25a)]=_0x6f8899(0x33f),_0x5ad3d6['type']=_0x6f8899(0x142),_0x5ad3d6[_0x6f8899(0x347)]=_0x6f8899(0x25d);const _0x3c652a={};_0x3c652a['code']='having',_0x3c652a['type']=_0x6f8899(0x142),_0x3c652a[_0x6f8899(0x347)]=_0x6f8899(0x18d);const _0x3166d9={};_0x3166d9[_0x6f8899(0x25a)]='orderBy',_0x3166d9['type']=_0x6f8899(0x142),_0x3166d9['description']=_0x6f8899(0x34a);const _0x5ee41b={};_0x5ee41b[_0x6f8899(0x25a)]='currentPage',_0x5ee41b[_0x6f8899(0x101)]=_0x6f8899(0x1e3),_0x5ee41b[_0x6f8899(0x347)]=_0x6f8899(0x2c9);const _0x3140ec={};return _0x3140ec[_0x6f8899(0x25a)]='pageSize',_0x3140ec[_0x6f8899(0x101)]=_0x6f8899(0x1e3),_0x3140ec[_0x6f8899(0x347)]=_0x6f8899(0x33d),[_0x1af711,_0x1afbb2,_0x474e43,_0x5ad3d6,_0x3c652a,_0x3166d9,_0x5ee41b,_0x3140ec];}[a0_0x3f05bc(0x39b)](){const _0x489049=a0_0x3f05bc,_0xf5d8a6=this[_0x489049(0x279)][_0x489049(0x30d)]||[];if(_0xf5d8a6[_0x489049(0x161)]===0x0){const _0x1ed4a0={};return _0x1ed4a0[_0x489049(0x35c)]={},_0x1ed4a0[_0x489049(0x136)]=[],_0x1ed4a0[_0x489049(0x33f)]=[],_0x1ed4a0;}const _0x3f5429={},_0x53ad74=_0xf5d8a6[_0x489049(0x198)](0x0,Math[_0x489049(0x345)](0x3,_0xf5d8a6[_0x489049(0x161)]));_0x53ad74[_0x489049(0x31d)](_0x3990ed=>{const _0x59844b=_0x489049,_0x506e36=this[_0x59844b(0x124)](_0x3990ed);if(_0x506e36[_0x59844b(0x161)]===0x0)return;const _0x485fcd=this['selectBestOperator'](_0x3990ed,_0x506e36),_0x5e89dc=this[_0x59844b(0x377)](_0x3990ed,_0x485fcd),_0x19c74b={};_0x19c74b[_0x485fcd]=_0x5e89dc,_0x3f5429[_0x3990ed[_0x59844b(0x25a)]]=_0x19c74b;});const _0x3076b6=_0xf5d8a6[_0x489049(0x198)](0x0,Math[_0x489049(0x345)](0x2,_0xf5d8a6[_0x489049(0x161)]))[_0x489049(0x2cb)](_0x5688a2=>_0x5688a2[_0x489049(0x25a)]),_0x1d274d=[],_0x196d79=_0xf5d8a6[_0x489049(0x100)](_0x11854c=>this[_0x489049(0x1fa)](_0x11854c));if(_0x196d79[_0x489049(0x161)]>0x0){const _0x389bda=_0x196d79[0x0],_0x3043ed=_0x389bda[_0x489049(0x25a)],_0x4acf7d={};_0x4acf7d[_0x489049(0x101)]=_0x489049(0x1e5),_0x4acf7d[_0x489049(0x2c0)]=_0x3043ed,_0x4acf7d['alias']=_0x3043ed+_0x489049(0x2a6),_0x4acf7d[_0x489049(0x173)]=![],_0x4acf7d[_0x489049(0x2d7)]=!![],_0x4acf7d[_0x489049(0x2cd)]=0x2,_0x1d274d[_0x489049(0x31b)](_0x4acf7d);const _0x444ece={};_0x444ece[_0x489049(0x101)]='avg',_0x444ece['column']=_0x3043ed,_0x444ece[_0x489049(0x1f8)]=_0x3043ed+_0x489049(0x147),_0x444ece[_0x489049(0x173)]=![],_0x444ece[_0x489049(0x2d7)]=!![],_0x444ece[_0x489049(0x2cd)]=0x2,_0x1d274d[_0x489049(0x31b)](_0x444ece);const _0x37b8e6={};_0x37b8e6[_0x489049(0x101)]='max',_0x37b8e6[_0x489049(0x2c0)]=_0x3043ed,_0x37b8e6['alias']=_0x3043ed+'_max',_0x37b8e6['distinct']=![],_0x37b8e6[_0x489049(0x2d7)]=!![],_0x37b8e6[_0x489049(0x2cd)]=0x2,_0x1d274d[_0x489049(0x31b)](_0x37b8e6);const _0x342f0f={};_0x342f0f[_0x489049(0x101)]=_0x489049(0x345),_0x342f0f[_0x489049(0x2c0)]=_0x3043ed,_0x342f0f['alias']=_0x3043ed+_0x489049(0x1c6),_0x342f0f[_0x489049(0x173)]=![],_0x342f0f[_0x489049(0x2d7)]=!![],_0x342f0f[_0x489049(0x2cd)]=0x2,_0x1d274d[_0x489049(0x31b)](_0x342f0f);}else{if(_0xf5d8a6[_0x489049(0x161)]>0x0){const _0x3721cc=_0xf5d8a6[0x0],_0x2c1c02=_0x3721cc[_0x489049(0x25a)],_0x200556={};_0x200556[_0x489049(0x101)]=_0x489049(0x1ca),_0x200556[_0x489049(0x2c0)]=_0x2c1c02,_0x200556[_0x489049(0x1f8)]=_0x489049(0x2a2),_0x200556[_0x489049(0x173)]=!![],_0x1d274d[_0x489049(0x31b)](_0x200556);}}const _0x4bfe72=[];if(_0xf5d8a6[_0x489049(0x161)]>0x0){const _0x2a9bfb=_0xf5d8a6[0x0][_0x489049(0x25a)],_0x11781d={};_0x11781d[_0x2a9bfb]='desc',_0x4bfe72[_0x489049(0x31b)](_0x11781d);}const _0x340b05=[..._0x3076b6,..._0x1d274d[_0x489049(0x2cb)](_0x1604c0=>_0x1604c0[_0x489049(0x1f8)])],_0x32008f=[];if(_0x1d274d[_0x489049(0x161)]>0x0){const _0x5093aa={};_0x5093aa[_0x489049(0x1d5)]=0x0;const _0x41d99e={};_0x41d99e[_0x489049(0x34e)]=_0x1d274d[0x0][_0x489049(0x1f8)],_0x41d99e[_0x489049(0x24b)]=_0x5093aa,_0x32008f[_0x489049(0x31b)](_0x41d99e);}const _0x29dd85={};return _0x29dd85['select']=_0x340b05,_0x29dd85[_0x489049(0x35c)]=_0x3f5429,_0x29dd85[_0x489049(0x136)]=_0x3076b6,_0x29dd85['aggregate']=_0x1d274d,_0x29dd85[_0x489049(0x27e)]=_0x32008f['length']>0x0?_0x32008f:undefined,_0x29dd85[_0x489049(0x346)]=_0x4bfe72,_0x29dd85[_0x489049(0x334)]=0x1,_0x29dd85[_0x489049(0x249)]=0x14,_0x29dd85;}[a0_0x3f05bc(0x2a5)](_0x35f267,_0x179ed9){const _0x49d217=a0_0x3f05bc,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x179ed9||{},_0x55d0cf=this[_0x49d217(0x23d)](),_0x347d32=this['generateRequestExample'](),_0x587c96=_0x285b04=>{const _0xbc2afc=_0x49d217;return JSON[_0xbc2afc(0x370)](_0x285b04,null,0x2)[_0xbc2afc(0x385)]('\x0a')['map']((_0x2b8913,_0x4ed65b)=>_0x4ed65b===0x0?_0x2b8913:indent+_0x2b8913)[_0xbc2afc(0x12d)]('\x0a');};if(useFullExample){const _0x98bed8=this[_0x49d217(0x279)][_0x49d217(0x30d)]||[],_0xd95f60=_0x98bed8[_0x49d217(0x100)](_0x4302dd=>this[_0x49d217(0x1fa)](_0x4302dd)),_0x2d86ab={'where':_0x98bed8[0x0]?{[_0x98bed8[0x0][_0x49d217(0x25a)]]:{'$eq':this[_0x49d217(0x377)](_0x98bed8[0x0],_0x49d217(0x1f4))}}:{},'aggregate':_0xd95f60['length']>0x0?[{'type':_0x49d217(0x1e5),'column':_0xd95f60[0x0][_0x49d217(0x25a)],'alias':_0xd95f60[0x0]['code']+_0x49d217(0x2a6),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x49d217(0x1ca),'column':_0x98bed8[0x0][_0x49d217(0x25a)],'alias':_0x49d217(0x2a2),'distinct':!![]}],'orderBy':[{[_0x98bed8[0x0][_0x49d217(0x25a)]]:_0x49d217(0x292)}]};let _0x4dcb79='';return _0x98bed8['length']>=0x3&&(_0x4dcb79=_0x49d217(0x11f)+_0x35f267+'.'+_0x55d0cf+'('+_0x587c96(_0x347d32)+');'),_0x49d217(0x1ac)+_0x35f267+'.'+_0x55d0cf+'('+_0x587c96(_0x2d86ab)+');'+_0x4dcb79;}const _0x94ec23=JSON[_0x49d217(0x370)](_0x347d32,null,0x2)['split']('\x0a')[_0x49d217(0x2cb)]((_0x5c652b,_0x20bc7a)=>_0x20bc7a===0x0?_0x5c652b:indent+_0x5c652b)['join']('\x0a');return _0x49d217(0x1a5)+_0x35f267+'.'+_0x55d0cf+'('+_0x94ec23+');';}[a0_0x3f05bc(0x1fa)](_0x4ede32){const _0x5af2c8=a0_0x3f05bc,_0x55abfc=_0x4ede32[_0x5af2c8(0x2f6)]();return[_0x5af2c8(0x1d7),_0x5af2c8(0x1e4),_0x5af2c8(0x162),_0x5af2c8(0x2e9)][_0x5af2c8(0x13e)](_0x55abfc)||[_0x5af2c8(0x2e2),_0x5af2c8(0x2e0),'SMALLINT',_0x5af2c8(0x17a),_0x5af2c8(0x335)][_0x5af2c8(0x13e)](_0x55abfc);}['getApplicableOperators'](_0x1440dc){const _0x3345f2=a0_0x3f05bc,_0x5a0f1e=_0x1440dc[_0x3345f2(0x2f6)](),_0x1f9a2d=[];if(['NUMBER',_0x3345f2(0x1e4),_0x3345f2(0x162),'DECIMAL']['includes'](_0x5a0f1e)||[_0x3345f2(0x2e2),_0x3345f2(0x2e0),_0x3345f2(0x298),_0x3345f2(0x17a),_0x3345f2(0x335)][_0x3345f2(0x13e)](_0x5a0f1e))_0x1f9a2d[_0x3345f2(0x31b)](_0x3345f2(0x1f4),'$ne','$gte','$lte',_0x3345f2(0x275),'$lteq',_0x3345f2(0x2e7));else{if([_0x3345f2(0x155),_0x3345f2(0x1bf),_0x3345f2(0x17c)][_0x3345f2(0x13e)](_0x5a0f1e)||[_0x3345f2(0x148),_0x3345f2(0x132)][_0x3345f2(0x13e)](_0x5a0f1e))_0x1f9a2d[_0x3345f2(0x31b)](_0x3345f2(0x1f4),_0x3345f2(0x30c),'$in','$contain',_0x3345f2(0x25f),_0x3345f2(0x282));else{if([_0x3345f2(0x332),_0x3345f2(0x1fd),'TIMESTAMP'][_0x3345f2(0x13e)](_0x5a0f1e)||[_0x3345f2(0xf0)][_0x3345f2(0x13e)](_0x5a0f1e))_0x1f9a2d[_0x3345f2(0x31b)](_0x3345f2(0x1f4),_0x3345f2(0x30c),_0x3345f2(0x1d5),_0x3345f2(0x2be),_0x3345f2(0x275),_0x3345f2(0x300));else[_0x3345f2(0x31a),_0x3345f2(0x1e8),_0x3345f2(0x353)][_0x3345f2(0x13e)](_0x5a0f1e)?_0x1f9a2d[_0x3345f2(0x31b)](_0x3345f2(0x1f4),_0x3345f2(0x30c)):_0x1f9a2d[_0x3345f2(0x31b)](_0x3345f2(0x1f4),'$ne');}}return _0x1f9a2d;}[a0_0x3f05bc(0x2d0)](_0x418957,_0x1f0ae7){const _0x22b082=a0_0x3f05bc,_0x2e9d9b=_0x418957[_0x22b082(0x2f6)]();if([_0x22b082(0x1d7),'INTEGER','BIGINT',_0x22b082(0x2e9)][_0x22b082(0x13e)](_0x2e9d9b)||[_0x22b082(0x2e2),'TINYINT',_0x22b082(0x298),_0x22b082(0x17a),_0x22b082(0x335)][_0x22b082(0x13e)](_0x2e9d9b))return _0x1f0ae7[_0x22b082(0x13e)](_0x22b082(0x1d5))?_0x22b082(0x1d5):'$eq';if(['STRING','TEXT',_0x22b082(0x17c)][_0x22b082(0x13e)](_0x2e9d9b)||[_0x22b082(0x148),_0x22b082(0x132)][_0x22b082(0x13e)](_0x2e9d9b))return _0x1f0ae7[_0x22b082(0x13e)](_0x22b082(0x25c))?'$contain':_0x22b082(0x1f4);if([_0x22b082(0x332),_0x22b082(0x1fd),_0x22b082(0x239),_0x22b082(0xf0)][_0x22b082(0x13e)](_0x2e9d9b))return _0x1f0ae7[_0x22b082(0x13e)]('$gte')?_0x22b082(0x1d5):_0x22b082(0x1f4);return _0x22b082(0x1f4);}[a0_0x3f05bc(0x377)](_0x4860d3,_0x510544){const _0x2d560a=a0_0x3f05bc,_0x44d7b0=_0x4860d3[_0x2d560a(0x2f6)](),_0x4a3bf6=_0x4860d3[_0x2d560a(0x363)]();if(_0x4a3bf6&&_0x4a3bf6[_0x2d560a(0x161)]>0x0){if(_0x510544===_0x2d560a(0x2e7))return _0x4a3bf6[_0x2d560a(0x198)](0x0,0x2)[_0x2d560a(0x2cb)](_0xd75f77=>_0xd75f77[_0x2d560a(0x1b5)]);return _0x4a3bf6[0x0][_0x2d560a(0x1b5)];}if(['NUMBER','INTEGER',_0x2d560a(0x162),_0x2d560a(0x2e9)][_0x2d560a(0x13e)](_0x44d7b0)||[_0x2d560a(0x2e2),_0x2d560a(0x2e0),_0x2d560a(0x298),_0x2d560a(0x17a),_0x2d560a(0x335)][_0x2d560a(0x13e)](_0x44d7b0)){if(_0x510544===_0x2d560a(0x2e7))return[0x1,0x2,0x3];if(_0x510544===_0x2d560a(0x1d5)||_0x510544===_0x2d560a(0x275))return 0x0;if(_0x510544==='$lte'||_0x510544===_0x2d560a(0x300))return 0x64;return 0x1;}if(['STRING','TEXT','VARCHAR'][_0x2d560a(0x13e)](_0x44d7b0)||['CHAR',_0x2d560a(0x132)][_0x2d560a(0x13e)](_0x44d7b0)){if(_0x510544===_0x2d560a(0x2e7))return[_0x2d560a(0x23c),_0x2d560a(0x16f)];if(_0x510544===_0x2d560a(0x25c))return _0x2d560a(0x114);if(_0x510544===_0x2d560a(0x25f))return _0x2d560a(0x236);if(_0x510544===_0x2d560a(0x282))return _0x2d560a(0x185);return _0x2d560a(0x1b5);}if(['DATE',_0x2d560a(0x1fd),_0x2d560a(0x239),_0x2d560a(0xf0)]['includes'](_0x44d7b0)){if(_0x510544===_0x2d560a(0x1d5)||_0x510544===_0x2d560a(0x275))return _0x2d560a(0x2da);if(_0x510544===_0x2d560a(0x2be)||_0x510544===_0x2d560a(0x300))return _0x2d560a(0x180);return _0x2d560a(0x2da);}if([_0x2d560a(0x31a),_0x2d560a(0x1e8),'BIT'][_0x2d560a(0x13e)](_0x44d7b0))return!![];return _0x510544==='$in'?['value1',_0x2d560a(0x16f)]:_0x2d560a(0x1b5);}[a0_0x3f05bc(0x165)](){const _0x39b62b=a0_0x3f05bc,_0x274b39=this[_0x39b62b(0x378)](),_0x3a0969=Object[_0x39b62b(0xef)](_0x274b39)[_0x39b62b(0x100)](([_0x185cb6])=>_0x185cb6!==_0x39b62b(0x334)&&_0x185cb6!=='pageSize')[_0x39b62b(0x2cb)](([_0x49a530,_0xe4dbd9])=>{const _0x3488eb=_0x39b62b,_0x483e77=_0xe4dbd9,_0x1a3b46={};return _0x1a3b46[_0x3488eb(0x1ae)]=_0x49a530,_0x1a3b46[_0x3488eb(0x101)]=_0x483e77[_0x3488eb(0x101)]||'String',_0x1a3b46[_0x3488eb(0x347)]=_0x483e77[_0x3488eb(0x347)]||'-',_0x1a3b46[_0x3488eb(0x13b)]=_0x483e77[_0x3488eb(0x13b)],_0x1a3b46;}),_0x34c83c={};return _0x34c83c['description']='\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',_0x34c83c[_0x39b62b(0x160)]=_0x3a0969,_0x34c83c;}[a0_0x3f05bc(0x371)](){const _0x3c98a7=a0_0x3f05bc,_0x2d9625=this[_0x3c98a7(0x39b)]()[_0x3c98a7(0x33f)],_0x3a57fa=[{}],_0x1e19ab=[];_0x2d9625?.[_0x3c98a7(0x31d)](_0x560b96=>{const _0x5d4e72=_0x3c98a7,_0x245fcf={};_0x245fcf[_0x5d4e72(0x1da)]=_0x560b96[_0x5d4e72(0x1f8)],_0x245fcf['dataIndex']=_0x560b96['alias'],_0x1e19ab[_0x5d4e72(0x31b)](_0x245fcf),_0x3a57fa[0x0][_0x560b96[_0x5d4e72(0x1f8)]]=_0x560b96['type']===_0x5d4e72(0x1ca)?0x64:Math[_0x5d4e72(0x2d7)](Math[_0x5d4e72(0x215)]()*0x64*0x64)/0x64;});const _0xa21293={};_0xa21293[_0x3c98a7(0x249)]=0x1,_0xa21293[_0x3c98a7(0x1b9)]=0x64,_0xa21293['currentPage']=0x1;const _0x262b10={};_0x262b10[_0x3c98a7(0x338)]=_0xa21293,_0x262b10[_0x3c98a7(0x361)]=_0x3a57fa,_0x262b10[_0x3c98a7(0x107)]=_0x1e19ab;const _0x507e45={};return _0x507e45[_0x3c98a7(0x16d)]=!![],_0x507e45['msg']='',_0x507e45['errorMsg']='',_0x507e45['errorCode']=_0x3c98a7(0x211),_0x507e45[_0x3c98a7(0x2b7)]=_0x262b10,_0x507e45[_0x3c98a7(0x160)]=null,_0x507e45;}}class OperationFactory{[a0_0x3f05bc(0x1ff)](_0x310886,_0x183218,_0x50d5af){const _0x316f37=a0_0x3f05bc;switch(_0x310886){case _0x316f37(0x399):return new GetSelectOptionsOperation(_0x310886,_0x183218,_0x50d5af);case'getList':return new GetListOperation(_0x310886,_0x183218,_0x50d5af);case _0x316f37(0x100):return new FilterOperation(_0x310886,_0x183218,_0x50d5af);case'excelExport':return new ExcelExportOperation(_0x310886,_0x183218,_0x50d5af);case _0x316f37(0x1df):return new UpdateOperation(_0x310886,_0x183218,_0x50d5af);case _0x316f37(0x33f):return new AggregateOperation(_0x310886,_0x183218,_0x50d5af);default:return new GenericOperation(_0x310886,_0x183218,_0x50d5af);}}['createAll'](_0x55ca70,_0x35b06f){const _0x33257d=a0_0x3f05bc,_0x482c6d=new Map();return Object['entries'](_0x55ca70)[_0x33257d(0x31d)](([_0x1bad22,_0x166fea])=>{const _0x4d1af0=_0x33257d;_0x482c6d[_0x4d1af0(0x2a3)](_0x1bad22,this[_0x4d1af0(0x1ff)](_0x1bad22,_0x166fea,_0x35b06f));}),_0x482c6d;}}class OperationList{[a0_0x3f05bc(0x29a)];constructor(_0x17b162,_0x11e031){const _0x332e3d=new OperationFactory();this['_operations']=_0x332e3d['createAll'](_0x17b162,_0x11e031);}[a0_0x3f05bc(0x2f8)](_0xb5af55){const _0x243bab=a0_0x3f05bc;return this[_0x243bab(0x29a)][_0x243bab(0x2f8)](_0xb5af55);}[a0_0x3f05bc(0x214)](_0x20abd8){const _0x474edb=a0_0x3f05bc;return this[_0x474edb(0x29a)][_0x474edb(0x214)](_0x20abd8);}['size'](){const _0x51118c=a0_0x3f05bc;return this['_operations'][_0x51118c(0x271)];}[a0_0x3f05bc(0x11b)](){const _0x196296=a0_0x3f05bc;return Array['from'](this[_0x196296(0x29a)][_0x196296(0x2af)]());}[a0_0x3f05bc(0x1c0)](){const _0x1c41d3=a0_0x3f05bc,_0x5802b7=Array['from'](this[_0x1c41d3(0x29a)][_0x1c41d3(0x27b)]());return this[_0x1c41d3(0x323)](_0x5802b7);}['getEnabled'](){const _0x1ec119=a0_0x3f05bc;return this['toArray']()[_0x1ec119(0x100)](_0x553858=>_0x553858[_0x1ec119(0x348)]());}[a0_0x3f05bc(0x372)](){const _0x2fae8b=a0_0x3f05bc;return this[_0x2fae8b(0x1c0)]()[_0x2fae8b(0x100)](_0x33e698=>!_0x33e698[_0x2fae8b(0x348)]());}[a0_0x3f05bc(0x19f)](){const _0x8116ee=a0_0x3f05bc;return this[_0x8116ee(0x134)]()['map'](_0x3ec455=>_0x3ec455[_0x8116ee(0x23d)]());}[a0_0x3f05bc(0x224)](){const _0x38df4d=a0_0x3f05bc;return this[_0x38df4d(0x372)]()[_0x38df4d(0x2cb)](_0xcf9bb7=>_0xcf9bb7['getName']());}['getByType'](_0x3b5d95){const _0x97442c=a0_0x3f05bc;return this[_0x97442c(0x1c0)]()['filter'](_0x27488f=>_0x27488f[_0x97442c(0x291)]()===_0x3b5d95);}[a0_0x3f05bc(0x100)](_0x2a5042){const _0x1eecb5=a0_0x3f05bc;return this['toArray']()[_0x1eecb5(0x100)](_0x2a5042);}['getFiltered'](_0x5808fc={}){const _0x56c051=a0_0x3f05bc;let _0x113750=this['toArray']();!_0x5808fc[_0x56c051(0x2b2)]&&(_0x113750=_0x113750['filter'](_0x2c0860=>_0x2c0860[_0x56c051(0x348)]()));if(_0x5808fc[_0x56c051(0x375)]!==![]){const _0x2567c0=_0x113750['map'](_0x361dc3=>({'name':_0x361dc3[_0x56c051(0x23d)](),'operation':_0x361dc3})),_0x127d3c=filterApiOperations(_0x2567c0);_0x113750=_0x127d3c['map'](_0x54b566=>_0x54b566['operation']),_0x113750=this[_0x56c051(0x323)](_0x113750);}return _0x5808fc['customFilter']&&(_0x113750=_0x113750['filter'](_0x5808fc[_0x56c051(0x24e)])),_0x113750;}[a0_0x3f05bc(0x323)](_0x439180){const _0x40f89f=a0_0x3f05bc,_0x575026=_0x439180[_0x40f89f(0x213)](_0x278f5b=>_0x278f5b[_0x40f89f(0x23d)]()===_0x40f89f(0x100)),_0x374b7e=_0x439180[_0x40f89f(0x100)](_0x2e4047=>_0x2e4047[_0x40f89f(0x23d)]()!=='filter');return _0x575026?[_0x575026,..._0x374b7e]:_0x374b7e;}['getStats'](){const _0x12984c=a0_0x3f05bc,_0x452ae1=this['getEnabled']();return{'total':this[_0x12984c(0x271)](),'enabled':_0x452ae1[_0x12984c(0x161)],'disabled':this[_0x12984c(0x271)]()-_0x452ae1['length'],'byType':this[_0x12984c(0x248)](_0x452ae1),'byMethod':this['getCountByMethod'](_0x452ae1)};}['getCountByType'](_0x1c5431){const _0x5d454f=a0_0x3f05bc,_0x4adbc5={};return _0x1c5431[_0x5d454f(0x31d)](_0x1e06b5=>{const _0x5a73c8=_0x1e06b5['getType']();_0x5a73c8&&(_0x4adbc5[_0x5a73c8]=(_0x4adbc5[_0x5a73c8]||0x0)+0x1);}),_0x4adbc5;}[a0_0x3f05bc(0x19d)](_0x1b81a3){const _0x93b961=a0_0x3f05bc,_0x2b0103={};return _0x1b81a3[_0x93b961(0x31d)](_0x728eca=>{const _0x2c62c1=_0x728eca['getMethod']();_0x2c62c1&&(_0x2b0103[_0x2c62c1]=(_0x2b0103[_0x2c62c1]||0x0)+0x1);}),_0x2b0103;}[Symbol[a0_0x3f05bc(0x22e)]](){const _0x59596d=a0_0x3f05bc;return this['_operations'][_0x59596d(0x27b)]();}[a0_0x3f05bc(0x2c3)](){const _0x147f42=a0_0x3f05bc,_0x10d67d=this[_0x147f42(0x172)]();return _0x147f42(0x22f)+_0x10d67d[_0x147f42(0x179)]+'/'+_0x10d67d[_0x147f42(0x2c5)]+_0x147f42(0x39a);}}class DBConfig{[a0_0x3f05bc(0x312)];[a0_0x3f05bc(0x14c)];[a0_0x3f05bc(0x1c8)];[a0_0x3f05bc(0x27d)];[a0_0x3f05bc(0x2aa)];['tableName'];[a0_0x3f05bc(0x1b3)];[a0_0x3f05bc(0x2bf)];[a0_0x3f05bc(0x175)];[a0_0x3f05bc(0x240)];constructor(_0x1e431d,_0xdd692c){const _0x159d98=a0_0x3f05bc;this[_0x159d98(0x312)]=_0xdd692c,this['dbId']=_0x1e431d[_0x159d98(0x14c)],this[_0x159d98(0x1c8)]=_0x1e431d[_0x159d98(0x1c8)],this[_0x159d98(0x27d)]=_0x1e431d[_0x159d98(0x27d)],this[_0x159d98(0x2aa)]=_0x1e431d['dbVersion'],this[_0x159d98(0x277)]=_0x1e431d[_0x159d98(0x277)],this[_0x159d98(0x1b3)]=_0x1e431d[_0x159d98(0x1b3)],this[_0x159d98(0x2bf)]=_0x1e431d[_0x159d98(0x2bf)],this[_0x159d98(0x175)]=_0x1e431d['tenantCode'],this['appCode']=_0x1e431d[_0x159d98(0x240)];}[a0_0x3f05bc(0x1cf)](){return this['raw'];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x3f05bc(0x258)];['_fieldList'];[a0_0x3f05bc(0x149)];constructor(_0x405350){const _0x1f2e12=a0_0x3f05bc,_0x558c26={..._0x405350};_0x558c26['id']=_0x405350[_0x1f2e12(0x394)]||_0x405350['id'],_0x558c26['datasetCode']=_0x405350[_0x1f2e12(0x1c4)]||_0x405350[_0x1f2e12(0x247)]||_0x405350['code'],super(_0x558c26);}[a0_0x3f05bc(0x351)](){return;}[a0_0x3f05bc(0x384)](){return[];}[a0_0x3f05bc(0x315)](){return[];}get[a0_0x3f05bc(0x1d1)](){const _0x27e552=a0_0x3f05bc;return this[_0x27e552(0x23a)]();}['getFieldList'](){const _0x17af20=a0_0x3f05bc;if(!this['_fieldList'])throw new Error(_0x17af20(0x1ce));return this['_fieldList'];}[a0_0x3f05bc(0x201)](){const _0x20a20b=a0_0x3f05bc;if(!this[_0x20a20b(0x149)])throw new Error('getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass');return this[_0x20a20b(0x149)];}[a0_0x3f05bc(0x314)](){return[];}[a0_0x3f05bc(0x20c)](){const _0x4dd286=a0_0x3f05bc,_0x1840da=this['getFieldDataSource']();return _0x1840da[_0x4dd286(0x30d)];}[a0_0x3f05bc(0x30e)](){const _0x448d6e=a0_0x3f05bc;return this[_0x448d6e(0x314)]()[_0x448d6e(0x161)];}['getField'](_0x5f09d4){const _0x3c8376=a0_0x3f05bc,_0x1d8b23=this[_0x3c8376(0x24f)](_0x5f09d4);return _0x1d8b23?_0x1d8b23['raw']:undefined;}['getFieldRaw'](_0x23f260){return;}[a0_0x3f05bc(0x387)](_0x1d6de2){const _0x213809=a0_0x3f05bc;if(!_0x1d6de2||typeof _0x1d6de2!==_0x213809(0x280))return!![]&&console['warn'](_0x213809(0x309),_0x1d6de2),{};if(_0x213809(0x2bf)in _0x1d6de2){const _0x160fff=_0x1d6de2;return{'primaryKey':typeof _0x160fff[_0x213809(0x2bf)]===_0x213809(0x129)?_0x160fff['pkField']:Boolean(_0x160fff['pkField']),'required':_0x160fff[_0x213809(0x13b)],'systemRetain':Boolean(_0x160fff['systemRetain']),'autoIncrement':_0x160fff['autoIncrement']??undefined};}if(!(_0x213809(0x229)in _0x1d6de2)||!_0x1d6de2[_0x213809(0x229)])return{};try{const _0x22965c=typeof _0x1d6de2[_0x213809(0x229)]==='string'?JSON['parse'](_0x1d6de2[_0x213809(0x229)]):_0x1d6de2[_0x213809(0x229)];if(typeof _0x22965c!==_0x213809(0x280)||_0x22965c===null)return{};return _0x22965c;}catch{return{};}}[a0_0x3f05bc(0x333)](){const _0x44ffd4=a0_0x3f05bc;if(!this[_0x44ffd4(0x258)]){const _0x2478b8=this[_0x44ffd4(0x39f)](this[_0x44ffd4(0x104)]()||{});this['_operationList']=new OperationList(_0x2478b8,{'fields':this[_0x44ffd4(0x301)]()[_0x44ffd4(0x36b)](),'pkField':this[_0x44ffd4(0x181)][_0x44ffd4(0x381)]?.['pkField'],'dbtableConfig':this[_0x44ffd4(0x181)]['dbtableConfig']||null});}return this[_0x44ffd4(0x258)];}[a0_0x3f05bc(0x39f)](_0x76e48b){const _0x145104=a0_0x3f05bc;if(_0x76e48b[_0x145104(0x100)]!==undefined)return _0x76e48b;return{..._0x76e48b,'filter':this[_0x145104(0xf9)]()};}[a0_0x3f05bc(0xf9)](){const _0xb67b69=a0_0x3f05bc,_0x2acc9e=this[_0xb67b69(0x104)]()?.['getList'];let _0x307143=_0x2acc9e?.[_0xb67b69(0x1f6)],_0x46dd6d='';if(!_0x307143&&this[_0xb67b69(0x104)]()){const _0x54d8de=Object[_0xb67b69(0x27b)](this[_0xb67b69(0x104)]());for(const _0x58f25d of _0x54d8de){if(_0x58f25d&&typeof _0x58f25d===_0xb67b69(0x280)&&_0xb67b69(0x1f6)in _0x58f25d){_0x307143=_0x58f25d['host'];break;}}}if(_0x2acc9e?.[_0xb67b69(0x111)]){const _0x2d871e=_0x2acc9e[_0xb67b69(0x111)],_0x257577=_0x2d871e[_0xb67b69(0x2b0)]('/');_0x257577!==-0x1&&(_0x46dd6d=_0x2d871e['substring'](0x0,_0x257577));}const _0x26cbeb={};_0x26cbeb[_0xb67b69(0x1ae)]=_0xb67b69(0x35c),_0x26cbeb[_0xb67b69(0x101)]='object',_0x26cbeb[_0xb67b69(0x13b)]=![];const _0x47faf7={};_0x47faf7[_0xb67b69(0x1ae)]='select',_0x47faf7[_0xb67b69(0x101)]=_0xb67b69(0x281),_0x47faf7['required']=![];const _0x1e5398={};_0x1e5398[_0xb67b69(0x1ae)]=_0xb67b69(0x346),_0x1e5398[_0xb67b69(0x101)]=_0xb67b69(0x281),_0x1e5398['required']=![];const _0x5bbaab={};_0x5bbaab['name']=_0xb67b69(0x334),_0x5bbaab['type']='number',_0x5bbaab[_0xb67b69(0x13b)]=![],_0x5bbaab[_0xb67b69(0x246)]=0x1;const _0x5635e0={};_0x5635e0[_0xb67b69(0x1ae)]=_0xb67b69(0x249),_0x5635e0[_0xb67b69(0x101)]=_0xb67b69(0x2ca),_0x5635e0[_0xb67b69(0x13b)]=![],_0x5635e0['default']=0xa;const _0x32ceee={};return _0x32ceee[_0xb67b69(0x1ae)]=_0xb67b69(0x100),_0x32ceee[_0xb67b69(0x101)]=_0xb67b69(0x27c),_0x32ceee['description']=_0xb67b69(0x116),_0x32ceee[_0xb67b69(0x29b)]='POST',_0x32ceee[_0xb67b69(0x1f6)]=_0x307143,_0x32ceee[_0xb67b69(0x111)]=_0x46dd6d?_0x46dd6d+_0xb67b69(0x2f1):_0xb67b69(0x2f1),_0x32ceee[_0xb67b69(0x160)]=_0x2acc9e?.[_0xb67b69(0x160)]||[_0x26cbeb,_0x47faf7,_0x1e5398,_0x5bbaab,_0x5635e0],_0x32ceee['_autoGenerated']=!![],_0x32ceee;}['getOperations'](){const _0x3b817b=a0_0x3f05bc;return this[_0x3b817b(0x333)]()['toArray']();}['getOperationCount'](){const _0x5ec932=a0_0x3f05bc;return this[_0x5ec932(0x333)]()['size']();}['getOperation'](_0x133f56){const _0x2516b6=a0_0x3f05bc;if(typeof _0x133f56!=='string'){!![]&&console['warn'](_0x2516b6(0x392),_0x133f56);return;}return this[_0x2516b6(0x333)]()[_0x2516b6(0x2f8)](_0x133f56);}[a0_0x3f05bc(0x15c)](_0x454ac5){const _0x3042f9=a0_0x3f05bc;if(typeof _0x454ac5!=='string')return![];return this[_0x3042f9(0x333)]()['has'](_0x454ac5);}[a0_0x3f05bc(0x221)](_0x58e89a){const _0x281082=a0_0x3f05bc;if(typeof _0x58e89a!==_0x281082(0x112))return![];const _0x162458=this['getOperation'](_0x58e89a);return _0x162458?.[_0x281082(0x348)]()||![];}[a0_0x3f05bc(0x24c)](){const _0x32d7a7=a0_0x3f05bc;return this[_0x32d7a7(0x333)]()[_0x32d7a7(0x19f)]();}[a0_0x3f05bc(0x37c)](){const _0x16058e=a0_0x3f05bc;return this[_0x16058e(0x333)]()[_0x16058e(0x224)]();}[a0_0x3f05bc(0x1e0)](){const _0x4290c7=a0_0x3f05bc;return this[_0x4290c7(0x333)]()[_0x4290c7(0x134)]();}[a0_0x3f05bc(0x35f)](){const _0x11166f=a0_0x3f05bc;return this[_0x11166f(0x333)]()[_0x11166f(0x372)]();}[a0_0x3f05bc(0x359)](_0x3ef630={}){const _0x6192cd=a0_0x3f05bc;return this['getOperationList']()[_0x6192cd(0x380)](_0x3ef630);}['getStats'](){const _0x548b33=a0_0x3f05bc;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this['getSystemFields']()[_0x548b33(0x161)],'businessFieldCount':this[_0x548b33(0x19b)]()[_0x548b33(0x161)],'requiredFieldCount':this['getRequiredFields']()[_0x548b33(0x161)],'primaryKeyCount':this[_0x548b33(0x2c2)]()[_0x548b33(0x161)],'operationCount':this[_0x548b33(0x250)](),'enabledOperationCount':this['getEnabledOperations']()['length']};}[a0_0x3f05bc(0x313)](_0x32b195){const _0x420645=a0_0x3f05bc;if(!_0x32b195||typeof _0x32b195!==_0x420645(0x280))return'';if(_0x420645(0x25a)in _0x32b195&&typeof _0x32b195['code']===_0x420645(0x112))return _0x32b195['code'];if('name'in _0x32b195&&typeof _0x32b195[_0x420645(0x1ae)]===_0x420645(0x112))return _0x32b195[_0x420645(0x1ae)];return'';}['hasField'](_0x5e0744){const _0x501f79=a0_0x3f05bc;return this[_0x501f79(0x301)]()[_0x501f79(0x214)](_0x5e0744);}[a0_0x3f05bc(0x241)](_0x216288){const _0x8c2458=a0_0x3f05bc;if(!_0x216288||typeof _0x216288!==_0x8c2458(0x280))return![];const _0x58d8e2=this['getFieldCode'](_0x216288),_0x490f37=this[_0x8c2458(0x24f)](_0x58d8e2);return _0x490f37?_0x490f37['isPrimaryKey']():![];}[a0_0x3f05bc(0x1fb)](_0x5bc9d3){const _0x5a8d30=a0_0x3f05bc;if(!_0x5bc9d3||typeof _0x5bc9d3!=='object')return![];const _0xa7a391=this[_0x5a8d30(0x313)](_0x5bc9d3),_0x12739a=this[_0x5a8d30(0x24f)](_0xa7a391);return _0x12739a?_0x12739a['isSystem']():![];}[a0_0x3f05bc(0x287)](_0x1fa17d){const _0x31e6a3=a0_0x3f05bc;if(!_0x1fa17d||typeof _0x1fa17d!==_0x31e6a3(0x280))return![];const _0x1db29f=this[_0x31e6a3(0x313)](_0x1fa17d),_0x34ed23=this[_0x31e6a3(0x24f)](_0x1db29f);return _0x34ed23?_0x34ed23[_0x31e6a3(0x2f0)]():![];}['isEnumField'](_0x4ecadb){const _0x27fca2=a0_0x3f05bc;if(!_0x4ecadb||typeof _0x4ecadb!==_0x27fca2(0x280))return![];const _0x3a6fd2=this['getFieldCode'](_0x4ecadb),_0xe2b5f6=this['getFieldInstance'](_0x3a6fd2);return _0xe2b5f6?_0xe2b5f6['isEnum']():![];}['isMultipleSelectField'](_0x4cecab){const _0x1468c1=a0_0x3f05bc;if(!_0x4cecab||typeof _0x4cecab!=='object')return![];const _0x3725b9=this[_0x1468c1(0x313)](_0x4cecab),_0x378241=this[_0x1468c1(0x24f)](_0x3725b9);return _0x378241?_0x378241[_0x1468c1(0x1a4)]():![];}[a0_0x3f05bc(0x32b)](_0x3ffb7f){const _0x58f1a3=a0_0x3f05bc;if(!_0x3ffb7f||typeof _0x3ffb7f!=='object')return[];const _0x44d361=this['getFieldCode'](_0x3ffb7f),_0x37bf48=this['getFieldInstance'](_0x44d361);if(!_0x37bf48||!_0x37bf48[_0x58f1a3(0x14a)]())return[];return _0x37bf48[_0x58f1a3(0x363)]()||[];}['getFieldSelectItemsSource'](_0x286b81){const _0x574974=a0_0x3f05bc;if(!_0x286b81||typeof _0x286b81!==_0x574974(0x280))return;const _0x359ad7=this['getFieldCode'](_0x286b81),_0x169662=this[_0x574974(0x24f)](_0x359ad7);if(!_0x169662||!_0x169662[_0x574974(0x14a)]())return;return _0x169662['getSelectItemsSource']();}[a0_0x3f05bc(0x167)](_0x50d8c0){const _0x4193b1=a0_0x3f05bc;if(!_0x50d8c0||typeof _0x50d8c0!=='object')return;const _0x5a9b6c=this['getFieldCode'](_0x50d8c0),_0x16a5a2=this[_0x4193b1(0x24f)](_0x5a9b6c);if(!_0x16a5a2||!_0x16a5a2[_0x4193b1(0x14a)]())return;return _0x16a5a2['getEnumMeta']();}[a0_0x3f05bc(0x2c2)](){const _0x511874=a0_0x3f05bc;return this[_0x511874(0x301)]()[_0x511874(0x15a)]()['map'](_0x36a095=>_0x36a095[_0x511874(0x312)]);}[a0_0x3f05bc(0x1b0)](){const _0x112c5b=a0_0x3f05bc;return this[_0x112c5b(0x301)]()[_0x112c5b(0x38e)]()['map'](_0x312a1f=>_0x312a1f[_0x112c5b(0x312)]);}[a0_0x3f05bc(0x19b)](){const _0xa40269=a0_0x3f05bc;return this[_0xa40269(0x301)]()[_0xa40269(0x367)]()[_0xa40269(0x2cb)](_0x19e3ed=>_0x19e3ed[_0xa40269(0x312)]);}['getRequiredFields'](){const _0x2e481b=a0_0x3f05bc;return this[_0x2e481b(0x301)]()['getRequired']()[_0x2e481b(0x2cb)](_0x470616=>_0x470616[_0x2e481b(0x312)]);}[a0_0x3f05bc(0x28a)](){const _0xd62ce=a0_0x3f05bc,_0x18f893=this[_0xd62ce(0x301)]()[_0xd62ce(0x14d)](),_0x4feb95={};for(const [_0x27e93d,_0x474077]of Object[_0xd62ce(0xef)](_0x18f893)){_0x4feb95[_0x27e93d]=_0x474077[_0xd62ce(0x2cb)](_0x23fc01=>_0x23fc01['raw']);}return _0x4feb95;}['getEnumFields'](){const _0x28f969=a0_0x3f05bc;return this[_0x28f969(0x301)]()[_0x28f969(0xf7)]()[_0x28f969(0x2cb)](_0x5f304f=>_0x5f304f[_0x28f969(0x312)]);}['getEnumFieldsMeta'](){const _0x579187=a0_0x3f05bc,_0x479322={};return this[_0x579187(0x325)]()[_0x579187(0x31d)](_0x41818b=>{const _0x23fb3f=_0x579187,_0x3c5b8e=this[_0x23fb3f(0x167)](_0x41818b);if(_0x3c5b8e){const _0x48138a=this[_0x23fb3f(0x313)](_0x41818b);_0x479322[_0x48138a]=_0x3c5b8e;}}),_0x479322;}[a0_0x3f05bc(0x1c1)](_0x3f1deb,_0x3bc289){const _0x28e3ce=a0_0x3f05bc,_0x31b9fe=this['getEnumFieldMeta'](_0x3f1deb);if(!_0x31b9fe)return!![];if(_0x31b9fe[_0x28e3ce(0x2b1)]&&!_0x31b9fe[_0x28e3ce(0x1ee)])return!![];const _0x2b3aad=this[_0x28e3ce(0x313)](_0x3f1deb),_0x1ae1aa=this[_0x28e3ce(0x24f)](_0x2b3aad),_0xbfacee=_0x1ae1aa?_0x1ae1aa['isMultipleSelect']():![];if(_0xbfacee&&Array[_0x28e3ce(0x123)](_0x3bc289))return _0x3bc289[_0x28e3ce(0x2c4)](_0x321263=>_0x31b9fe[_0x28e3ce(0x27b)]['includes'](_0x321263));return _0x31b9fe[_0x28e3ce(0x27b)][_0x28e3ce(0x13e)](_0x3bc289);}[a0_0x3f05bc(0x336)](){const _0xfd6904=a0_0x3f05bc;return new DatasetItem({'id':this['id'],'name':this[_0xfd6904(0x1ae)],'datasetCode':this[_0xfd6904(0x247)],'dbtableConfig':this[_0xfd6904(0xf6)]()});}['toString'](){const _0x2cb0d6=a0_0x3f05bc;return'DrivenDataDetail('+this['name']+',\x20'+this[_0x2cb0d6(0x247)]+',\x20'+this[_0x2cb0d6(0x30e)]()+_0x2cb0d6(0x182)+this[_0x2cb0d6(0x250)]()+'\x20operations,\x20'+this['getVersion']()+')';}['getFilterOperators'](){const _0x1b6a92=a0_0x3f05bc;return this[_0x1b6a92(0x2f9)](_0x1b6a92(0x100));}['getFieldFilterOperators'](_0x1128e2){const _0x4912b9=a0_0x3f05bc;return this[_0x4912b9(0x350)]('filter',_0x1128e2);}[a0_0x3f05bc(0x2d9)](){return this['getOperationFieldsOperatorsMap']('filter');}[a0_0x3f05bc(0x2f9)](_0x15b1d8){const _0x244c3a=a0_0x3f05bc,_0x410c0=this[_0x244c3a(0x109)](_0x15b1d8);return _0x410c0?_0x410c0[_0x244c3a(0x2d8)]():[];}[a0_0x3f05bc(0x350)](_0x570928,_0x5509d0){const _0x3941c7=a0_0x3f05bc,_0xa2b730=this['getOperation'](_0x570928);return _0xa2b730?_0xa2b730[_0x3941c7(0x262)](_0x5509d0):[];}[a0_0x3f05bc(0x27a)](_0x2bd25c){const _0x43ac1d=a0_0x3f05bc,_0x1ec176={};return this[_0x43ac1d(0x301)]()[_0x43ac1d(0x31d)](_0xffc29=>{const _0x52fb2d=_0x43ac1d,_0xa44b08=this[_0x52fb2d(0x350)](_0x2bd25c,_0xffc29[_0x52fb2d(0x25a)]);_0xa44b08[_0x52fb2d(0x161)]>0x0&&(_0x1ec176[_0xffc29[_0x52fb2d(0x25a)]]=_0xa44b08);}),_0x1ec176;}[a0_0x3f05bc(0x144)](_0xaea1d6,_0x5003e7,_0x3223c1){const _0x553f08=a0_0x3f05bc,_0x14f443=this[_0x553f08(0x350)](_0xaea1d6,_0x5003e7);return _0x14f443[_0x553f08(0x13e)](_0x3223c1);}}class FieldBase{get[a0_0x3f05bc(0x27d)](){return;}get[a0_0x3f05bc(0x3a2)](){return;}get[a0_0x3f05bc(0x164)](){return;}get[a0_0x3f05bc(0x2b3)](){return;}[a0_0x3f05bc(0x307)](){const _0x1db0ab=a0_0x3f05bc;return!this[_0x1db0ab(0x33b)]();}['isDeleted'](){return this['deleted'];}[a0_0x3f05bc(0x14a)](){const _0x21123a=a0_0x3f05bc,_0x41ee6b=['RADIO',_0x21123a(0x263),'CHECKBOX'];return _0x41ee6b[_0x21123a(0x13e)](this[_0x21123a(0x101)]);}[a0_0x3f05bc(0x1a4)](){const _0x3c77f1=a0_0x3f05bc;return this[_0x3c77f1(0x101)]===_0x3c77f1(0x26e);}[a0_0x3f05bc(0x357)](){const _0x1342b1=a0_0x3f05bc,_0x264961=this[_0x1342b1(0x126)]();return _0x264961?.[_0x1342b1(0x27b)]||[];}['getEnumMeta'](){const _0x107739=a0_0x3f05bc;if(!this[_0x107739(0x14a)]())return;const _0x21aefe=this['getEnumOptions'](),_0x5c2149=this['getSelectItemsSource'](),_0x428e61=[],_0x14bea6={},_0x51d3b0=_0x130436=>{const _0x2ed86f=_0x107739;_0x130436[_0x2ed86f(0x31d)](_0xb86b22=>{const _0x1ad056=_0x2ed86f;_0x428e61['push'](_0xb86b22[_0x1ad056(0x1b5)]),_0x14bea6[String(_0xb86b22[_0x1ad056(0x1b5)])]=_0xb86b22['label'],_0xb86b22['children']&&_0xb86b22[_0x1ad056(0x39d)][_0x1ad056(0x161)]>0x0&&_0x51d3b0(_0xb86b22['children']);});};return _0x21aefe&&_0x21aefe[_0x107739(0x161)]>0x0&&_0x51d3b0(_0x21aefe),{'code':this[_0x107739(0x25a)],'name':this['name'],'type':this['type'],'multiple':this[_0x107739(0x1a4)](),'options':_0x21aefe,'selectItemsSource':_0x5c2149,'values':_0x428e61,'valueLabels':_0x14bea6};}get[a0_0x3f05bc(0x26d)](){const _0x5cfe3d=a0_0x3f05bc;return this[_0x5cfe3d(0x357)]();}[a0_0x3f05bc(0x2c3)](){const _0x4e197f=a0_0x3f05bc;return'Field('+this[_0x4e197f(0x1ae)]+',\x20'+this['code']+',\x20'+this[_0x4e197f(0x101)]+',\x20'+this['getVersion']()+')';}}class FieldV1 extends FieldBase{[a0_0x3f05bc(0x181)];[a0_0x3f05bc(0x156)]=null;constructor(_0xa6824f){const _0x244c50=a0_0x3f05bc;super();if(!_0xa6824f||typeof _0xa6824f!=='object')throw new Error(_0x244c50(0x128));this[_0x244c50(0x181)]=_0xa6824f;}[a0_0x3f05bc(0x2d6)](){return this['_raw'];}[a0_0x3f05bc(0x14b)](){return'v1';}get[a0_0x3f05bc(0x312)](){const _0x3c251d=a0_0x3f05bc;return this[_0x3c251d(0x181)];}get[a0_0x3f05bc(0x1ae)](){const _0x30ddb3=a0_0x3f05bc;return this[_0x30ddb3(0x181)][_0x30ddb3(0x1ae)]||'';}get[a0_0x3f05bc(0x25a)](){const _0x11b6d4=a0_0x3f05bc;return this[_0x11b6d4(0x181)][_0x11b6d4(0x25a)]||'';}get[a0_0x3f05bc(0x101)](){const _0x535f2b=a0_0x3f05bc;return this[_0x535f2b(0x181)][_0x535f2b(0x101)]||'';}get[a0_0x3f05bc(0x347)](){const _0xfa8b4f=a0_0x3f05bc;return this[_0xfa8b4f(0x181)][_0xfa8b4f(0x347)]||'';}get[a0_0x3f05bc(0x36e)](){const _0x489ea6=a0_0x3f05bc;return Boolean(this[_0x489ea6(0x181)][_0x489ea6(0x36e)]);}get[a0_0x3f05bc(0x27d)](){const _0x4432bb=a0_0x3f05bc;return this[_0x4432bb(0x181)][_0x4432bb(0x27d)];}get['dbTypeLen'](){const _0x5c95c6=a0_0x3f05bc;return this[_0x5c95c6(0x181)][_0x5c95c6(0x3a2)];}get[a0_0x3f05bc(0x164)](){return this['_raw']['alias'];}get[a0_0x3f05bc(0x2b3)](){return;}get[a0_0x3f05bc(0x229)](){const _0x140fe4=a0_0x3f05bc;if(this[_0x140fe4(0x156)]!==null&&typeof this['_extend']===_0x140fe4(0x280))return this[_0x140fe4(0x156)];const _0x321107=this[_0x140fe4(0x181)]['extend'];if(!_0x321107||typeof _0x321107!==_0x140fe4(0x112))return this[_0x140fe4(0x156)]={},this[_0x140fe4(0x156)];if(_0x321107===_0x140fe4(0x38b)||_0x321107[_0x140fe4(0x2bd)]()===_0x140fe4(0x38b))return this['_extend']={},this[_0x140fe4(0x156)];try{const _0x4e6b17=JSON[_0x140fe4(0xea)](_0x321107);return this[_0x140fe4(0x156)]=_0x4e6b17!==null&&typeof _0x4e6b17===_0x140fe4(0x280)&&!Array[_0x140fe4(0x123)](_0x4e6b17)?_0x4e6b17:{},this['_extend'];}catch(_0x5161fc){return!![]&&console['warn'](_0x140fe4(0x32d)+this[_0x140fe4(0x25a)]+_0x140fe4(0x205),_0x5161fc),this[_0x140fe4(0x156)]={},this[_0x140fe4(0x156)];}}[a0_0x3f05bc(0x2f0)](){const _0x1f7d1d=a0_0x3f05bc;return Boolean(this[_0x1f7d1d(0x229)][_0x1f7d1d(0x13b)]);}[a0_0x3f05bc(0x2f7)](){const _0x5adc34=a0_0x3f05bc;return Boolean(this[_0x5adc34(0x229)][_0x5adc34(0x153)]||this['extend'][_0x5adc34(0x2bf)]);}['isSystem'](){const _0xd1ea3e=a0_0x3f05bc;return Boolean(this['extend'][_0xd1ea3e(0x16a)]);}['isAutoIncrement'](){const _0x1106fe=a0_0x3f05bc;return Boolean(this[_0x1106fe(0x229)]['autoIncrement']);}[a0_0x3f05bc(0x133)](){const _0x2b8ade=a0_0x3f05bc;return Boolean(this[_0x2b8ade(0x229)][_0x2b8ade(0x2e3)]);}['isUpdateTime'](){const _0x7b64a1=a0_0x3f05bc;return Boolean(this['extend'][_0x7b64a1(0x176)]);}[a0_0x3f05bc(0x2ce)](){const _0x2b20b2=a0_0x3f05bc;return this[_0x2b20b2(0x1ae)];}[a0_0x3f05bc(0x252)](){const _0x10c716=a0_0x3f05bc;return this[_0x10c716(0x25a)];}['isEnum'](){const _0x3d0856=a0_0x3f05bc,_0x47392c=[_0x3d0856(0x152),_0x3d0856(0x263),'CHECKBOX'];if(_0x47392c[_0x3d0856(0x13e)](this[_0x3d0856(0x101)]))return!![];const _0x1fdf6e=this[_0x3d0856(0x229)];return Boolean(_0x1fdf6e['options']&&Array[_0x3d0856(0x123)](_0x1fdf6e['options'])&&_0x1fdf6e[_0x3d0856(0x1ee)][_0x3d0856(0x161)]>0x0||_0x1fdf6e[_0x3d0856(0x2b1)]);}[a0_0x3f05bc(0x1a4)](){const _0x6285c1=a0_0x3f05bc;if(this[_0x6285c1(0x101)]==='CHECKBOX')return!![];return Boolean(this['extend'][_0x6285c1(0x2ed)]);}['getEnumOptions'](){const _0x26072c=a0_0x3f05bc,_0x5a3daf=this[_0x26072c(0x229)];if(_0x5a3daf['options']&&Array[_0x26072c(0x123)](_0x5a3daf[_0x26072c(0x1ee)]))return _0x5a3daf['options'];return;}['getSelectItemsSource'](){const _0x2cd464=a0_0x3f05bc,_0x3f89fc=this[_0x2cd464(0x229)];if(_0x3f89fc[_0x2cd464(0x2b1)]&&typeof _0x3f89fc[_0x2cd464(0x2b1)]==='object')return _0x3f89fc['selectItemsSource'];return;}[a0_0x3f05bc(0x2f6)](){const _0x3b4989=a0_0x3f05bc;return this[_0x3b4989(0x101)][_0x3b4989(0x395)]();}['getDefaultValue'](){const _0x2792b4=a0_0x3f05bc;return this[_0x2792b4(0x229)]['defaultValue'];}[a0_0x3f05bc(0x1ab)](){const _0x5c6281=a0_0x3f05bc;return this[_0x5c6281(0x229)]['tooltip'];}[a0_0x3f05bc(0x232)](){const _0x5e3ce6=a0_0x3f05bc;return{'name':this[_0x5e3ce6(0x1ae)],'code':this[_0x5e3ce6(0x25a)],'type':this['type'],'dbType':this[_0x5e3ce6(0x27d)],'dbTypeLen':this[_0x5e3ce6(0x3a2)],'description':this[_0x5e3ce6(0x347)],'required':this['isRequired'](),'primaryKey':this[_0x5e3ce6(0x2f7)](),'system':this[_0x5e3ce6(0x33b)](),'autoIncrement':this[_0x5e3ce6(0x253)](),'createTime':this['isCreateTime'](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x5e3ce6(0x14a)](),'enumMeta':this[_0x5e3ce6(0x14a)]()?this[_0x5e3ce6(0x126)]():undefined};}[a0_0x3f05bc(0x2c3)](){const _0x310b2a=a0_0x3f05bc;return _0x310b2a(0x37d)+this[_0x310b2a(0x1ae)]+',\x20'+this[_0x310b2a(0x25a)]+',\x20'+this[_0x310b2a(0x101)]+')';}}class FieldListBase{[a0_0x3f05bc(0x1cd)];constructor(_0x3b9ede,_0x1eafe3){const _0x1c41eb=a0_0x3f05bc;if(!Array['isArray'](_0x3b9ede))throw new Error('[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array');const _0x257cbe=_0x1eafe3?.[_0x1c41eb(0x265)]??![],_0x3d54f0=_0x257cbe?_0x3b9ede:_0x3b9ede[_0x1c41eb(0x100)](_0x1f916f=>{const _0x227133=_0x1f916f;return!_0x227133['deleted'];});this[_0x1c41eb(0x1cd)]=this['createFields'](_0x3d54f0);}get[a0_0x3f05bc(0x161)](){const _0x1b0b6b=a0_0x3f05bc;return this[_0x1b0b6b(0x1cd)][_0x1b0b6b(0x161)];}['all'](){const _0x1062ac=a0_0x3f05bc;return[...this[_0x1062ac(0x1cd)]];}['at'](_0x46a0a4){const _0x55d2b2=a0_0x3f05bc;return this[_0x55d2b2(0x1cd)]['at'](_0x46a0a4);}[a0_0x3f05bc(0x213)](_0xdc22e7){const _0x100853=a0_0x3f05bc;return this['_fields'][_0x100853(0x213)](_0x2e3891=>_0x2e3891[_0x100853(0x25a)]===_0xdc22e7);}[a0_0x3f05bc(0x267)](_0x586b24){const _0x1f5cb0=a0_0x3f05bc;return this[_0x1f5cb0(0x1cd)][_0x1f5cb0(0x213)](_0x1a80f5=>_0x1a80f5[_0x1f5cb0(0x1ae)]===_0x586b24);}[a0_0x3f05bc(0x214)](_0x17b8e8){const _0x5be26d=a0_0x3f05bc;return this[_0x5be26d(0x1cd)][_0x5be26d(0x2f3)](_0x14561e=>_0x14561e[_0x5be26d(0x25a)]===_0x17b8e8);}[a0_0x3f05bc(0x31d)](_0x2473db){const _0x37b29=a0_0x3f05bc;this[_0x37b29(0x1cd)]['forEach'](_0x2473db);}[a0_0x3f05bc(0x2cb)](_0x1a74cb){const _0x472552=a0_0x3f05bc;return this[_0x472552(0x1cd)][_0x472552(0x2cb)](_0x1a74cb);}['filter'](_0x136ac5){return this['_fields']['filter'](_0x136ac5);}[a0_0x3f05bc(0x2c4)](_0x156882){const _0x3c7095=a0_0x3f05bc;return this[_0x3c7095(0x1cd)][_0x3c7095(0x2c4)](_0x156882);}[a0_0x3f05bc(0x2f3)](_0x305f18){const _0x3404e3=a0_0x3f05bc;return this[_0x3404e3(0x1cd)][_0x3404e3(0x2f3)](_0x305f18);}[a0_0x3f05bc(0x397)](){const _0x534a40=a0_0x3f05bc;return this['_fields'][_0x534a40(0x100)](_0x598fa6=>_0x598fa6[_0x534a40(0x2f0)]());}['getPrimaryKeys'](){const _0x4a8111=a0_0x3f05bc;return this[_0x4a8111(0x1cd)][_0x4a8111(0x100)](_0x5c13b6=>_0x5c13b6[_0x4a8111(0x2f7)]());}[a0_0x3f05bc(0x38e)](){const _0x3a758e=a0_0x3f05bc;return this[_0x3a758e(0x1cd)]['filter'](_0x2b9a00=>_0x2b9a00[_0x3a758e(0x33b)]());}['getBusiness'](){const _0x2c537d=a0_0x3f05bc;return this[_0x2c537d(0x1cd)]['filter'](_0xf55db2=>_0xf55db2[_0x2c537d(0x307)]());}[a0_0x3f05bc(0xf7)](){const _0x40288c=a0_0x3f05bc;return this[_0x40288c(0x1cd)][_0x40288c(0x100)](_0x146eb4=>_0x146eb4[_0x40288c(0x14a)]());}[a0_0x3f05bc(0x22a)](){const _0x4a627c=a0_0x3f05bc;return this[_0x4a627c(0x1cd)][_0x4a627c(0x100)](_0x283e42=>_0x283e42[_0x4a627c(0x253)]());}[a0_0x3f05bc(0x2db)](){const _0x13d0ab=a0_0x3f05bc;return this[_0x13d0ab(0x1cd)]['filter'](_0x4b86f1=>_0x4b86f1[_0x13d0ab(0x133)]());}['getUpdateTime'](){const _0x265cf8=a0_0x3f05bc;return this['_fields'][_0x265cf8(0x100)](_0x4555ce=>_0x4555ce[_0x265cf8(0x210)]());}[a0_0x3f05bc(0x31f)](){const _0x30d81f=a0_0x3f05bc;return this[_0x30d81f(0x1cd)]['filter'](_0x479434=>_0x479434[_0x30d81f(0x38d)]());}[a0_0x3f05bc(0x318)](){const _0x1cd62a=a0_0x3f05bc;return this[_0x1cd62a(0x1cd)][_0x1cd62a(0x100)](_0x5b96ce=>!_0x5b96ce[_0x1cd62a(0x38d)]());}[a0_0x3f05bc(0x14d)](){const _0x3fc662=a0_0x3f05bc,_0x485407={};return this[_0x3fc662(0x1cd)][_0x3fc662(0x31d)](_0x200e16=>{const _0x5fcd6b=_0x3fc662,_0x4d4cc6=_0x200e16[_0x5fcd6b(0x101)];!_0x485407[_0x4d4cc6]&&(_0x485407[_0x4d4cc6]=[]),_0x485407[_0x4d4cc6][_0x5fcd6b(0x31b)](_0x200e16);}),_0x485407;}[a0_0x3f05bc(0x2e5)](){const _0x47e8ca=a0_0x3f05bc,_0x56e4e5={};return this[_0x47e8ca(0x1cd)][_0x47e8ca(0x31d)](_0x26d9e6=>{const _0x472770=_0x47e8ca;if(_0x26d9e6['isEnum']()){const _0x381b01=_0x26d9e6['getEnumMeta']();_0x381b01&&(_0x56e4e5[_0x26d9e6[_0x472770(0x25a)]]=_0x381b01);}}),_0x56e4e5;}['getStats'](){const _0x2cbd57=a0_0x3f05bc;return{'total':this[_0x2cbd57(0x161)],'required':this[_0x2cbd57(0x397)]()[_0x2cbd57(0x161)],'primaryKey':this[_0x2cbd57(0x15a)]()[_0x2cbd57(0x161)],'system':this[_0x2cbd57(0x38e)]()[_0x2cbd57(0x161)],'business':this['getBusiness']()[_0x2cbd57(0x161)],'enum':this[_0x2cbd57(0xf7)]()[_0x2cbd57(0x161)],'autoIncrement':this[_0x2cbd57(0x22a)]()[_0x2cbd57(0x161)]};}[a0_0x3f05bc(0x10a)](){const _0x599005=a0_0x3f05bc;return this['_fields'][_0x599005(0x2cb)](_0x377afb=>_0x377afb['code']);}[a0_0x3f05bc(0x11b)](){const _0x39c7d9=a0_0x3f05bc;return this['_fields'][_0x39c7d9(0x2cb)](_0x1e1a0a=>_0x1e1a0a[_0x39c7d9(0x2ce)]());}[a0_0x3f05bc(0x208)](){const _0x10e8ea=a0_0x3f05bc;return this[_0x10e8ea(0x1cd)][_0x10e8ea(0x2cb)](_0x5827e9=>_0x5827e9['getFieldName']());}[a0_0x3f05bc(0x232)](){const _0x167f0c=a0_0x3f05bc;return this[_0x167f0c(0x1cd)]['map'](_0x554881=>_0x554881[_0x167f0c(0x232)]());}['toString'](){const _0x38a04c=a0_0x3f05bc;return _0x38a04c(0x202)+this[_0x38a04c(0x161)]+_0x38a04c(0x119);}}class FieldListV1 extends FieldListBase{constructor(_0x40c5a6,_0x5d5b14){super(_0x40c5a6,_0x5d5b14);}[a0_0x3f05bc(0x1dc)](_0x381d2f){const _0x5cea80=a0_0x3f05bc;return _0x381d2f[_0x5cea80(0x2cb)](_0x4bf69f=>new FieldV1(_0x4bf69f));}[a0_0x3f05bc(0x36b)](){const _0x57e5f9=a0_0x3f05bc;return[...this[_0x57e5f9(0x1cd)]];}['at'](_0x5a4799){const _0x525999=a0_0x3f05bc;return this[_0x525999(0x1cd)]['at'](_0x5a4799);}[a0_0x3f05bc(0x213)](_0x119046){const _0x379773=a0_0x3f05bc;return this[_0x379773(0x1cd)][_0x379773(0x213)](_0x1717c9=>_0x1717c9['code']===_0x119046);}[a0_0x3f05bc(0x267)](_0x19d615){const _0x57749d=a0_0x3f05bc;return this[_0x57749d(0x1cd)][_0x57749d(0x213)](_0x379ecd=>_0x379ecd[_0x57749d(0x1ae)]===_0x19d615);}['filter'](_0x5685d8){return this['_fields']['filter'](_0x5685d8);}[a0_0x3f05bc(0x2cb)](_0x91455){const _0x2db445=a0_0x3f05bc;return this[_0x2db445(0x1cd)][_0x2db445(0x2cb)](_0x91455);}['getRequired'](){const _0x26b9d9=a0_0x3f05bc;return this[_0x26b9d9(0x1cd)][_0x26b9d9(0x100)](_0x4791e3=>_0x4791e3[_0x26b9d9(0x2f0)]());}[a0_0x3f05bc(0x15a)](){const _0x513141=a0_0x3f05bc;return this['_fields'][_0x513141(0x100)](_0x504e6b=>_0x504e6b[_0x513141(0x2f7)]());}[a0_0x3f05bc(0x38e)](){const _0x303f37=a0_0x3f05bc;return this['_fields'][_0x303f37(0x100)](_0x59fce5=>_0x59fce5['isSystem']());}[a0_0x3f05bc(0x367)](){const _0x4b7159=a0_0x3f05bc;return this['_fields'][_0x4b7159(0x100)](_0x271fee=>_0x271fee[_0x4b7159(0x307)]());}[a0_0x3f05bc(0xf7)](){const _0x191ad3=a0_0x3f05bc;return this['_fields']['filter'](_0x4f68cb=>_0x4f68cb[_0x191ad3(0x14a)]());}[a0_0x3f05bc(0x14d)](){const _0x11b675=a0_0x3f05bc,_0x4fecbe={};return this[_0x11b675(0x1cd)]['forEach'](_0x5b30cc=>{const _0x5e4a33=_0x11b675,_0x5bc2fd=_0x5b30cc[_0x5e4a33(0x101)];!_0x4fecbe[_0x5bc2fd]&&(_0x4fecbe[_0x5bc2fd]=[]),_0x4fecbe[_0x5bc2fd][_0x5e4a33(0x31b)](_0x5b30cc);}),_0x4fecbe;}[a0_0x3f05bc(0x312)](){const _0x3c3197=a0_0x3f05bc;return this[_0x3c3197(0x1cd)][_0x3c3197(0x2cb)](_0x45ff7c=>_0x45ff7c[_0x3c3197(0x312)]);}static[a0_0x3f05bc(0x138)](_0x5f4bd7){const _0xb03c6b=a0_0x3f05bc,_0x32dc9a=_0x5f4bd7[_0xb03c6b(0x2cb)](_0x40b1e3=>_0x40b1e3['raw']);return new FieldListV1(_0x32dc9a);}static[a0_0x3f05bc(0x245)](_0x3b4f0c){const _0x362c6=a0_0x3f05bc,_0x38ee3e={};return _0x38ee3e[_0x362c6(0x265)]=!![],new FieldListV1(_0x3b4f0c,_0x38ee3e);}}function a0_0x4111(){const _0xf94970=['getIndexes','//\x20Call\x20the\x20','3203415gUKtnr','getActive','getAppCode','BOOLEAN','push','item2','forEach','getTenantCode','getDeleted','add','8244SoHMGD','\x20items,\x20','sortOperationsWithFilterFirst','toDatasetCode','getEnumFields','SDK\x20调用示例(两参数格式)','getDatabaseType','index','generateConfigArray','hasUpdateTimeField','getFieldOptions','getDefaultValue','[FieldV1.extend]\x20解析字段\x20','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','requestFieldCount','getOperationAnalysesByType','toDatasetId','DATE','getOperationList','currentPage','FLOAT','toListItem','主键ID(必填)','paging','JSON','_fieldListV1WithDeleted','isSystem','parseRawResponseBody','每页数量(默认:\x2020)','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','aggregate','({\x20','datasetSDKKey','totalGroups','getAllFieldsArray','getEnumFieldsMeta','min','orderBy','description','isEnabled','EXCEL_EXPORT','排序规则(与\x20Filter\x20API\x20一致)','\x20groups)','getMissingCRUDOperations','2087127TgpRbX','columnName','generateSingleValueExample','getOperationFieldOperators','getDatasetMeta','user@example.com','BIT','hasCreatorIdField','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','`:\x20','getEnumValues','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getFilteredOperations','useFullExample','String','where','1606790bnFqCD','getRequestFields','getDisabledOperationInstances','toObject','tableData','sortNum','getEnumOptions','isEmpty','Integer','datasetName','getBusiness','allFields','fieldCount','getOperationsOverviewData','all','getUpdatableFields','UPDATE','deleted','getDatasetSDKKey','stringify','generateResponseExample','getDisabled','主键ID','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','filterBlacklist','getFieldDefinition','generateExampleValue','getRequestParams','getRealTables','operations','_datasetMap','getDisabledOperations','FieldV1(','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','fromField','getFiltered','dbtableConfig','toTableName','fieldName','getRelations','split','items','parseFieldExtend','(params);','北京市朝阳区','generateFieldExample','null','解析\x20responseBody\x20失败:','isDeleted','getSystem','padStart','查询单条','groupByTableName','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','modelId','toUpperCase','单值查询','getRequired','isFieldPrimaryKey','getSelectOptions','\x20operations)','generateRequestExample','hasResponseSchema','children','查询单个条件','ensureFilterOperation','errorMsg','创建导入','dbTypeLen','parse',',\x20doType=','logicField','-\x20主键ID,用于定位要更新的记录\x0a\x0a','示例值','entries','TIME','分组字段列表','getSelectItemsSource','getDatasetDocMeta','getVirtualTables','hasField','getRawDbtableConfig','getEnum','item1','generateDefaultFilterOperation','fromApiResponse','getRelationsByField','getAggregates','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','Object[]','generateAliasExplanation','filter','type','hasConflict','DrivenDataDetailPlusV2(','getOperationsData','getInternalInstance','GET_LIST','tableColumns','sdkCallCode','getOperation','getCodes','接口名称','datasetInfo','API路径','getFieldV2','getEnabledOperationAnalyses','查询单条(用于更新)','path','string','getOperationAnalysis','keyword','toConfig','Filter\x20API\x20-\x20高级查询接口','getList','getMethod','\x20fields)','[parseFieldExtend]\x20Invalid\x20field:','getNames','字段编码','updateTimeField','FieldV2(','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','getLatestDatasets','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','toLowerCase','isArray','getApplicableOperators','findByCode','getEnumMeta','getField','[Field]\x20Invalid\x20field\x20definition','boolean','_fieldListV1','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','getRelatedDataset','join','getPkField','getFieldRaw','创建导出','getForeignKeyFields','LONGTEXT','isCreateTime','getEnabled','requestBody','groupBy','完整的\x20SDK\x20调用代码','from','function','generateHTTPExample','required','();','getRequiredFields','includes','\x20groups,\x20','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','env','Array','hasExtendField','isOperatorApplicableToField','长文本','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','_avg','CHAR','_fieldListWithDeleted','isEnum','getVersion','dbId','groupByType','getModelAlias','getConflictStats','labelField','getResponseSchema','RADIO','primaryKey','createExport','STRING','_extend','\x22,数据集:\x20','Object','getUpdateFields','getPrimaryKeys','$and','hasOperation','isOpenAPI','DatasetGroup(','msg','params','length','BIGINT','mapDbTypeToType','displayName','getRequestParamsDocInfo','_fieldListV2','getEnumFieldMeta','doVersion','获取文件URL','systemRetain','查询单条(原始)','generateOperationSummary','success','getAt','value2','-\x20其他要更新的字段直接平铺在同一层级','getItems','getStats','distinct','max','tenantCode','updateTime','DatasetItem(','update\x20接口接受两个参数:\x0a\x0a','enabled','DOUBLE','getFieldDisplayName','VARCHAR','聚合函数配置数组','每页条数','hasDblinkInfo','2024-12-31','_raw','\x20fields,\x20','每页数量(可选)','_$1','suffix','CREATE','getSDKInitData','responseSchema','sdkCall','dataset_unknown','createTimeField','903uVNqdW','分组后的过滤条件(对聚合结果进行过滤)','[generateRequestExample]\x20Invalid\x20field:','CREATE_IMPORT','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','includeRequestExample','datasetMap','示例文本','getOperationRequestFields','conflictGroupCount','isMultipleSelectField','GET_ONE','slice','getDOType','2.0','getBusinessFields','findAll','getCountByMethod','SWITCH','getEnabledNames','getOperationAnalyses','demo-app','findById','获取数据集列表失败:\x20','isMultipleSelect','const\x20result\x20=\x20await\x20client.models.','getConflicts','({\x20currentPage,\x20pageSize\x20});','getFirst','[FieldV2]\x20Invalid\x20field\x20definition','13800138000','getTooltip','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','no\x20conflicts','name','HTTP\x20请求示例(平铺格式)','getSystemFields','properties','tableKey','datasetKey','日期时间','value','has\x20conflicts','getModelName','\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','totalCount','BLOB','DrivenDataDetailPlus(','ARRAY','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','系统自动生成','TEXT','toArray','validateEnumValue','phone','选项编码(可选)','modelCode','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','_min','replace','dbName','getSystemAnalysisResult','count','hasConflicts','字段名称','_fields','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','getRaw','excelExport','source','GET_ONE_ORIGIN','getOperationDocMeta','getId','$gte','createImport','NUMBER','hasDbtableConfig','now','title','getLatest','createFields','-$1','avg','update','getEnabledOperationInstances','getHTTPRequestParamsDocInfo','DESC','Number','INTEGER','sum','_requestExampleCache','findByTableName','BOOL','getFieldDataSource','parseRawRequestBody','导入模板','modifierNameField','6Awnlfp','options','supportsCRUD','GET_ONE_UPDATE','<p>富文本内容</p>','getOperations','warn','$eq',',\x20fields:\x20','host','creatorIdField','alias','getAllParams','isNumericField','isSystemField',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','DATETIME','1656248MYWhOs','create','getFieldListV2','getFieldListWithDeleted','FieldList(','detectConflicts','查询列表','\x20的\x20extend\x20配置失败:','getDatabaseName','getDbName','getFieldNames','getFilterOperators','getDBConfig','每页数量','getFieldsWithDeleted','generateAllOperationsSummary','bind','查询条件(支持\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)','isUpdateTime','0000','getResponseParamsDocInfo','find','has','random','GET_UPLOAD_FILE_SCRIPT','getUploadFileScript','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','taskInfo','**可更新的字段列表:**','online','1050518hrOgpn','HTTP\x20直接调用时使用平铺格式:\x0a','getAllFieldsString','generateSDKInitCode','排序规则','isOperationEnabled','解析\x20requestBody\x20失败:','FILE','getDisabledNames','(id,\x20data);','version','(支持单值或数组)','daily','extend','getAutoIncrement','\x5c{\x5c{','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','hasTableName','iterator','OperationList(','DatasetList(','requestFields','toJSON','_datasetMeta','delete','GET_FILE_URL','prefix','enabledOperationCount','(id,\x20','TIMESTAMP','getSource','dataset_000000','value1','getName','富文本','DatasetGroupMap(','appCode','isPrimaryKeyField','autoIncrement','label','https://example.com/image.jpg','withDeleted','default','datasetCode','getCountByType','pageSize','hasFilterOperation','condition','getEnabledOperations','[dsparser]\x20跳过重复的表名\x20\x22','customFilter','getFieldInstance','getOperationCount','这是一段较长的文本内容示例','getFieldName','isAutoIncrement','getDatabaseVersion','dblinkInfoDTO','1.0','当前页码(可选)','_operationList','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','code','hasLogicField','$contain','聚合函数配置数组(type:\x20sum/count/avg/max/min)','getLast','$startWith','RICH_TEXT','groups','getFieldOperators','SELECT','email','includeDeleted','返回字段列表(字段投影)','findByName','getOperationStats','dataset_','LONGBLOB','getConflictingItems','initDataset','enumValues','CHECKBOX','modifierIdField','##\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','size','getTableKey','获取下拉选项','generateFullSDKExample','$gteq','当前页码','tableName','usageExample','context','getOperationFieldsOperatorsMap','values','query','dbType','having','getHTTPFields','object','array','$endWith','下拉选择','UPLOAD','getPath','getFilteredOperationAnalyses','isRequiredField','getIds','errorCode','getFieldsByType','getFilterOperation','getFieldDescription','时间戳','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','const\x20fileUrl\x20=\x20await\x20client.models.','getOneOrigin','getType','desc','getOneUpdate','_relations','systemFieldCount','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','sort','SMALLINT','creatorNameField','_operations','method','getCount','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','select','getAllDatasets','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','total_count','set','//\x20Usage\x20examples','generateSDKCallCode','_sum','CREATE_EXPORT','fullUrl','操作名称','dbVersion','主键,用于定位要更新的记录','dataset','hasModifierIdField','-\x20`','keys','lastIndexOf','selectItemsSource','includeDisabled','doType','valueLabels','\x20relations,\x20','useArrayValues','data','getFullUrl','String[]','\x20operations,\x20','({\x20/*\x20可选:筛选条件\x20*/\x20});','_instance','trim','$lte','pkField','column','getAll','getPrimaryKeyFields','toString','every','total','charAt','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','address','当前页码(从\x201\x20开始,默认:\x201)','number','map',',\x20currentPage,\x20pageSize,\x20...\x20});','precision','getDisplayName','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','selectBestOperator','generateUsageExample','\x20API\x20文档','successCode','test','toDatasetName','toFieldDefinition','round','getOperators','getFieldsFilterOperatorsMap','2024-01-01','getCreateTime','responseBody','TEXTAREA','generateConfig','getFieldsV2','TINYINT','操作成功','INT','createTime','getTableName','getEnumMetas','forceVersion','$in','field_name','DECIMAL','includeUsageExample','532646eKXaiy','generateFromSchema','multiple','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','\x20operations,\x20v2)','isRequired','/filter','generateAllOperationsFullSDKExample','some','yourModel','getFileUrl','getDbTypeForOperation','isPrimaryKey','get','getOperationOperators','toField','IMAGE','status','GET_SELECT_OPTIONS','获取数据集失败:\x20','generateRequestAllExamples','$lteq','getFieldList','placeholder','generateHTTPRequestExample','_operationAnalyses','const\x20data\x20=\x20await\x20client.models.','toFullConfig','isBusiness','Operation\x20not\x20found:\x20','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','getOne','getFieldType','$ne','fields','getFieldCount','getFieldSelectItemsSource','hasRelation','createDate','raw','getFieldCode','getFields'];a0_0x4111=function(){return _0xf94970;};return a0_0x4111();}class FieldV2 extends FieldBase{['_raw'];constructor(_0x2fb30a){const _0x3193c0=a0_0x3f05bc;super();if(!_0x2fb30a||typeof _0x2fb30a!==_0x3193c0(0x280))throw new Error(_0x3193c0(0x1a9));this[_0x3193c0(0x181)]=_0x2fb30a;}[a0_0x3f05bc(0x14b)](){return'v2';}get[a0_0x3f05bc(0x312)](){const _0x5caab7=a0_0x3f05bc;return this[_0x5caab7(0x181)];}get[a0_0x3f05bc(0x1ae)](){const _0xfb8dd1=a0_0x3f05bc;return this[_0xfb8dd1(0x181)][_0xfb8dd1(0x1ae)]||'';}get[a0_0x3f05bc(0x25a)](){const _0x44e6be=a0_0x3f05bc;return this[_0x44e6be(0x181)][_0x44e6be(0x1ae)]||'';}get[a0_0x3f05bc(0x164)](){const _0x5b114a=a0_0x3f05bc;return this[_0x5b114a(0x181)][_0x5b114a(0x164)]||'';}get[a0_0x3f05bc(0x101)](){const _0x1d9781=a0_0x3f05bc;return this[_0x1d9781(0x163)](this[_0x1d9781(0x181)][_0x1d9781(0x27d)]);}get['description'](){return this['_raw']['description']||'';}get[a0_0x3f05bc(0x36e)](){const _0x2c8426=a0_0x3f05bc;return Boolean(this[_0x2c8426(0x181)][_0x2c8426(0x36e)]);}[a0_0x3f05bc(0x2f0)](){const _0x4969a4=a0_0x3f05bc;return Boolean(this[_0x4969a4(0x181)][_0x4969a4(0x13b)]);}[a0_0x3f05bc(0x2f7)](){const _0x128a28=a0_0x3f05bc;return Boolean(this[_0x128a28(0x181)]['pkField']);}[a0_0x3f05bc(0x33b)](){const _0x1b9b59=a0_0x3f05bc;return Boolean(this['_raw'][_0x1b9b59(0x16a)]);}['isAutoIncrement'](){const _0x498ab7=a0_0x3f05bc;return Boolean(this[_0x498ab7(0x181)][_0x498ab7(0x242)]);}[a0_0x3f05bc(0x133)](){const _0x524def=a0_0x3f05bc;return this['_raw'][_0x524def(0x16a)]===_0x524def(0x2e3);}['isUpdateTime'](){const _0x47268c=a0_0x3f05bc;return this[_0x47268c(0x181)][_0x47268c(0x16a)]==='updateTime';}[a0_0x3f05bc(0x2ce)](){const _0x43a611=a0_0x3f05bc;return this[_0x43a611(0x181)][_0x43a611(0x164)]||'';}[a0_0x3f05bc(0x252)](){const _0x42a4d8=a0_0x3f05bc;return this[_0x42a4d8(0x181)][_0x42a4d8(0x1ae)]||'';}[a0_0x3f05bc(0x14a)](){const _0x42d5ae=a0_0x3f05bc;return Boolean(this[_0x42d5ae(0x181)][_0x42d5ae(0x1ee)]&&Array[_0x42d5ae(0x123)](this[_0x42d5ae(0x181)][_0x42d5ae(0x1ee)])&&this[_0x42d5ae(0x181)][_0x42d5ae(0x1ee)][_0x42d5ae(0x161)]>0x0);}[a0_0x3f05bc(0x1a4)](){const _0x5b4562=a0_0x3f05bc,_0x48dea7=this[_0x5b4562(0x181)][_0x5b4562(0x229)];if(!_0x48dea7)return![];try{const _0x437490=JSON['parse'](_0x48dea7);if(_0x437490&&typeof _0x437490==='object'&&_0x5b4562(0x2ed)in _0x437490)return Boolean(_0x437490[_0x5b4562(0x2ed)]);}catch{}return![];}[a0_0x3f05bc(0x363)](){const _0x10735c=a0_0x3f05bc;if(this[_0x10735c(0x181)]['options']&&Array[_0x10735c(0x123)](this[_0x10735c(0x181)][_0x10735c(0x1ee)]))return this[_0x10735c(0x181)][_0x10735c(0x1ee)];return;}[a0_0x3f05bc(0xf2)](){const _0x2d76f1=a0_0x3f05bc,_0xa2bdbb=this[_0x2d76f1(0x181)][_0x2d76f1(0x229)];if(!_0xa2bdbb)return;try{const _0x502425=JSON[_0x2d76f1(0xea)](_0xa2bdbb);if(_0x502425&&typeof _0x502425===_0x2d76f1(0x280)&&_0x2d76f1(0x2b1)in _0x502425)return _0x502425[_0x2d76f1(0x2b1)];}catch{}return;}[a0_0x3f05bc(0x2f6)](){const _0x5a2b80=a0_0x3f05bc;return this[_0x5a2b80(0x181)][_0x5a2b80(0x27d)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x5a2b80(0x2bd)]()[_0x5a2b80(0x395)]();}[a0_0x3f05bc(0x32c)](){return;}[a0_0x3f05bc(0x1ab)](){return;}get[a0_0x3f05bc(0x27d)](){const _0xc4185c=a0_0x3f05bc;return this['_raw'][_0xc4185c(0x27d)];}get[a0_0x3f05bc(0x3a2)](){const _0x4d4f78=a0_0x3f05bc;return this[_0x4d4f78(0x181)]['dbTypeLen'];}[a0_0x3f05bc(0x199)](){const _0x8ae6ef=a0_0x3f05bc;return this[_0x8ae6ef(0x181)][_0x8ae6ef(0x2b3)]??null;}get[a0_0x3f05bc(0x2b3)](){const _0x4c3ab1=a0_0x3f05bc;return this[_0x4c3ab1(0x181)]['doType']??null;}[a0_0x3f05bc(0x232)](){const _0x1f09c9=a0_0x3f05bc;return{'name':this[_0x1f09c9(0x1ae)],'code':this['code'],'type':this[_0x1f09c9(0x101)],'dbType':this[_0x1f09c9(0x27d)],'dbTypeLen':this[_0x1f09c9(0x3a2)],'doType':this[_0x1f09c9(0x199)](),'displayName':this[_0x1f09c9(0x164)],'description':this[_0x1f09c9(0x347)],'required':this[_0x1f09c9(0x2f0)](),'primaryKey':this[_0x1f09c9(0x2f7)](),'system':this[_0x1f09c9(0x33b)](),'autoIncrement':this[_0x1f09c9(0x253)](),'createTime':this[_0x1f09c9(0x133)](),'updateTime':this[_0x1f09c9(0x210)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x1f09c9(0x14a)]()?this[_0x1f09c9(0x126)]():undefined};}[a0_0x3f05bc(0x2c3)](){const _0x57abcc=a0_0x3f05bc;return _0x57abcc(0x11e)+this[_0x57abcc(0x1ae)]+',\x20'+this['code']+',\x20'+this[_0x57abcc(0x27d)]+_0x57abcc(0xeb)+this[_0x57abcc(0x199)]()+')';}[a0_0x3f05bc(0x163)](_0x100f70){const _0xea778d=a0_0x3f05bc,_0xcbbcb3={};_0xcbbcb3[_0xea778d(0x17c)]='TEXT',_0xcbbcb3[_0xea778d(0x148)]='TEXT',_0xcbbcb3[_0xea778d(0x1bf)]=_0xea778d(0x2dd),_0xcbbcb3[_0xea778d(0x132)]=_0xea778d(0x2dd),_0xcbbcb3[_0xea778d(0x2e2)]=_0xea778d(0x1d7),_0xcbbcb3[_0xea778d(0x162)]=_0xea778d(0x1d7),_0xcbbcb3['TINYINT']=_0xea778d(0x1d7),_0xcbbcb3[_0xea778d(0x298)]=_0xea778d(0x1d7),_0xcbbcb3['DECIMAL']=_0xea778d(0x1d7),_0xcbbcb3[_0xea778d(0x17a)]=_0xea778d(0x1d7),_0xcbbcb3['FLOAT']=_0xea778d(0x1d7),_0xcbbcb3[_0xea778d(0x1fd)]=_0xea778d(0x332),_0xcbbcb3[_0xea778d(0x239)]=_0xea778d(0x332),_0xcbbcb3['DATE']='DATE',_0xcbbcb3['TIME']='TIME',_0xcbbcb3['BOOLEAN']=_0xea778d(0x19e),_0xcbbcb3[_0xea778d(0x353)]=_0xea778d(0x19e),_0xcbbcb3[_0xea778d(0x1ba)]=_0xea778d(0x223),_0xcbbcb3[_0xea778d(0x26a)]=_0xea778d(0x223);const _0x44ea62=_0xcbbcb3,_0x20a7e1=_0x100f70['toUpperCase']();return _0x44ea62[_0x20a7e1]||_0xea778d(0x1bf);}}class FieldListV2 extends FieldListBase{constructor(_0x7e66b4,_0x15a09a){super(_0x7e66b4,_0x15a09a);}[a0_0x3f05bc(0x1dc)](_0x3a5b54){const _0x475ec1=a0_0x3f05bc;return _0x3a5b54[_0x475ec1(0x2cb)](_0x27b7b2=>new FieldV2(_0x27b7b2));}[a0_0x3f05bc(0x36b)](){const _0x5f2b63=a0_0x3f05bc;return[...this[_0x5f2b63(0x1cd)]];}['at'](_0x109974){return this['_fields']['at'](_0x109974);}['find'](_0x5d1df7){const _0x1f0e5e=a0_0x3f05bc;return this[_0x1f0e5e(0x1cd)]['find'](_0x474d1f=>_0x474d1f[_0x1f0e5e(0x25a)]===_0x5d1df7);}[a0_0x3f05bc(0x267)](_0x341e06){const _0x188562=a0_0x3f05bc;return this[_0x188562(0x1cd)][_0x188562(0x213)](_0x435aa4=>_0x435aa4[_0x188562(0x2ce)]()===_0x341e06);}['filter'](_0x41e9ff){return this['_fields']['filter'](_0x41e9ff);}[a0_0x3f05bc(0x2cb)](_0xf155a){const _0x5f3c78=a0_0x3f05bc;return this['_fields'][_0x5f3c78(0x2cb)](_0xf155a);}[a0_0x3f05bc(0x397)](){const _0x33c976=a0_0x3f05bc;return this[_0x33c976(0x1cd)][_0x33c976(0x100)](_0x1a1751=>_0x1a1751[_0x33c976(0x2f0)]());}[a0_0x3f05bc(0x15a)](){const _0x2b8636=a0_0x3f05bc;return this['_fields']['filter'](_0x197bcc=>_0x197bcc[_0x2b8636(0x2f7)]());}['getSystem'](){const _0x3d0fa7=a0_0x3f05bc;return this[_0x3d0fa7(0x1cd)][_0x3d0fa7(0x100)](_0x3ed599=>_0x3ed599[_0x3d0fa7(0x33b)]());}[a0_0x3f05bc(0x367)](){const _0xd2cbd9=a0_0x3f05bc;return this[_0xd2cbd9(0x1cd)][_0xd2cbd9(0x100)](_0x49230b=>_0x49230b[_0xd2cbd9(0x307)]());}['getEnum'](){const _0x39d63e=a0_0x3f05bc;return this[_0x39d63e(0x1cd)]['filter'](_0x384afc=>_0x384afc[_0x39d63e(0x14a)]());}[a0_0x3f05bc(0x14d)](){const _0x59305e=a0_0x3f05bc,_0x456173={};return this[_0x59305e(0x1cd)]['forEach'](_0x47ee29=>{const _0x257e02=_0x59305e,_0x12dcd0=_0x47ee29[_0x257e02(0x101)];!_0x456173[_0x12dcd0]&&(_0x456173[_0x12dcd0]=[]),_0x456173[_0x12dcd0][_0x257e02(0x31b)](_0x47ee29);}),_0x456173;}['raw'](){const _0x50165f=a0_0x3f05bc;return this['_fields'][_0x50165f(0x2cb)](_0x86b380=>_0x86b380[_0x50165f(0x312)]);}static[a0_0x3f05bc(0x138)](_0x3a6006){const _0x570735=_0x3a6006['map'](_0x1d96aa=>_0x1d96aa['raw']);return new FieldListV2(_0x570735);}static[a0_0x3f05bc(0x245)](_0x574f00){const _0x5bbf3a=a0_0x3f05bc,_0x259887={};return _0x259887[_0x5bbf3a(0x265)]=!![],new FieldListV2(_0x574f00,_0x259887);}['toString'](){const _0x4f1fe5=a0_0x3f05bc;return'FieldListV2('+this['length']+_0x4f1fe5(0x119);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x3f05bc(0x12a)];[a0_0x3f05bc(0x33a)];constructor(_0x282b79){super(_0x282b79);}[a0_0x3f05bc(0x301)](){const _0x21c89d=a0_0x3f05bc;if(!this[_0x21c89d(0x12a)]){const _0x5f148b={};_0x5f148b[_0x21c89d(0x265)]=![],this[_0x21c89d(0x12a)]=new FieldListV1(this[_0x21c89d(0x181)]['properties']||[],_0x5f148b);}return this[_0x21c89d(0x12a)];}[a0_0x3f05bc(0x201)](){const _0x20174d=a0_0x3f05bc;if(!this[_0x20174d(0x33a)]){const _0xd6c35e={};_0xd6c35e[_0x20174d(0x265)]=!![],this[_0x20174d(0x33a)]=new FieldListV1(this[_0x20174d(0x181)][_0x20174d(0x1b1)]||[],_0xd6c35e);}return this[_0x20174d(0x33a)];}[a0_0x3f05bc(0x314)](){const _0x2bc390=a0_0x3f05bc;return(this[_0x2bc390(0x181)][_0x2bc390(0x1b1)]||[])[_0x2bc390(0x100)](_0x4c6549=>!_0x4c6549[_0x2bc390(0x36e)]);}[a0_0x3f05bc(0x30e)](){const _0xb96122=a0_0x3f05bc;return this[_0xb96122(0x301)]()[_0xb96122(0x161)];}['getFieldRaw'](_0x4520af){const _0x3f19e7=a0_0x3f05bc;return this[_0x3f19e7(0x181)][_0x3f19e7(0x1b1)]?.[_0x3f19e7(0x213)](_0x62bd0=>_0x62bd0[_0x3f19e7(0x25a)]===_0x4520af);}[a0_0x3f05bc(0x14b)](){return'v1';}[a0_0x3f05bc(0x1e9)](){const _0x1ca46d=a0_0x3f05bc,_0x3fd284={};return _0x3fd284[_0x1ca46d(0x30d)]=this['_raw'][_0x1ca46d(0x1b1)]||[],_0x3fd284[_0x1ca46d(0x265)]=![],_0x3fd284;}[a0_0x3f05bc(0x104)](){const _0x446397=a0_0x3f05bc;return this[_0x446397(0x181)][_0x446397(0x37a)];}[a0_0x3f05bc(0x23a)](){return this['_raw']['source'];}[a0_0x3f05bc(0x20a)](){const _0x20bcd1=a0_0x3f05bc,_0x27aee3=this['getRawDbtableConfig'](),_0x1c42c0=_0x27aee3?.['dblinkInfoDTO'],_0x35e7b9={};return _0x35e7b9[_0x20bcd1(0x14c)]=_0x27aee3?.[_0x20bcd1(0x14c)],_0x35e7b9[_0x20bcd1(0x1c8)]=_0x27aee3?.[_0x20bcd1(0x1c8)]??_0x1c42c0?.[_0x20bcd1(0x1c8)],_0x35e7b9[_0x20bcd1(0x27d)]=_0x1c42c0?.['dbType'],_0x35e7b9[_0x20bcd1(0x2aa)]=_0x1c42c0?.[_0x20bcd1(0x2aa)],_0x35e7b9[_0x20bcd1(0x277)]=_0x27aee3?.['tableName'],_0x35e7b9[_0x20bcd1(0x1b3)]=_0x27aee3?.['datasetKey'],_0x35e7b9['pkField']=_0x27aee3?.[_0x20bcd1(0x2bf)],_0x35e7b9[_0x20bcd1(0x175)]=_0x1c42c0?.[_0x20bcd1(0x175)],_0x35e7b9['appCode']=_0x1c42c0?.[_0x20bcd1(0x240)],new DBConfig(_0x35e7b9,_0x27aee3);}get['version'](){const _0x55d114=a0_0x3f05bc;return this[_0x55d114(0x181)][_0x55d114(0x226)];}[a0_0x3f05bc(0x24f)](_0x3a36e1){const _0x37fe5=a0_0x3f05bc;if(typeof _0x3a36e1!==_0x37fe5(0x112)){!![]&&console[_0x37fe5(0x1f3)](_0x37fe5(0x2c7),_0x3a36e1);return;}return this[_0x37fe5(0x301)]()[_0x37fe5(0x213)](_0x3a36e1);}['isMultipleSelectField'](_0x7235c4){const _0x389387=a0_0x3f05bc;if(!_0x7235c4||typeof _0x7235c4!==_0x389387(0x280))return![];const _0x573242=this['getFieldInstance'](_0x7235c4[_0x389387(0x25a)]);return _0x573242?_0x573242['isMultipleSelect']():![];}[a0_0x3f05bc(0x28b)](){const _0x3d0dfb=a0_0x3f05bc,_0x34aa80=this[_0x3d0dfb(0x109)]('filter');return _0x34aa80;}['hasFilterOperation'](){const _0xe3ca7a=a0_0x3f05bc;return this[_0xe3ca7a(0x15c)](_0xe3ca7a(0x100));}[a0_0x3f05bc(0x336)](){const _0x24bf6a=a0_0x3f05bc;return new DatasetItem({'id':this['id'],'name':this[_0x24bf6a(0x1ae)],'datasetCode':this[_0x24bf6a(0x247)],'dbtableConfig':this[_0x24bf6a(0xf6)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];[a0_0x3f05bc(0x233)];[a0_0x3f05bc(0x294)];constructor(_0x3715dd){const _0x1a64da=a0_0x3f05bc;super(_0x3715dd),this[_0x1a64da(0x233)]=_0x3715dd[_0x1a64da(0x2ac)],this[_0x1a64da(0x294)]=_0x3715dd['relations']||[];}[a0_0x3f05bc(0x14b)](){return'v2';}[a0_0x3f05bc(0x1e9)](){const _0x250ff6=a0_0x3f05bc,_0x20d9ee={};return _0x20d9ee[_0x250ff6(0x30d)]=this[_0x250ff6(0x181)]['fields'],_0x20d9ee[_0x250ff6(0x265)]=![],_0x20d9ee;}[a0_0x3f05bc(0x104)](){return this['_raw']['operations'];}['getSource'](){const _0x2caac6=a0_0x3f05bc;return this['_raw'][_0x2caac6(0x1d1)];}[a0_0x3f05bc(0x20a)](){const _0x4a5dc5=a0_0x3f05bc,_0x2d5180=this[_0x4a5dc5(0x181)][_0x4a5dc5(0x381)],_0x21b04a=_0x2d5180?.[_0x4a5dc5(0x255)],_0x5983db={};return _0x5983db[_0x4a5dc5(0x14c)]=_0x2d5180?.[_0x4a5dc5(0x14c)],_0x5983db[_0x4a5dc5(0x1c8)]=_0x2d5180?.[_0x4a5dc5(0x1c8)]??_0x21b04a?.[_0x4a5dc5(0x1c8)],_0x5983db['dbType']=_0x21b04a?.['dbType'],_0x5983db[_0x4a5dc5(0x2aa)]=_0x21b04a?.['dbVersion'],_0x5983db[_0x4a5dc5(0x277)]=_0x2d5180?.[_0x4a5dc5(0x277)],_0x5983db[_0x4a5dc5(0x1b3)]=_0x2d5180?.[_0x4a5dc5(0x1b3)],_0x5983db['pkField']=_0x2d5180?.['pkField'],_0x5983db[_0x4a5dc5(0x175)]=_0x2d5180?.[_0x4a5dc5(0x175)]??_0x21b04a?.[_0x4a5dc5(0x175)],_0x5983db[_0x4a5dc5(0x240)]=_0x2d5180?.[_0x4a5dc5(0x240)]??_0x21b04a?.[_0x4a5dc5(0x240)],new DBConfig(_0x5983db,_0x2d5180);}['getFieldList'](){const _0x646788=a0_0x3f05bc;return this[_0x646788(0x200)]();}[a0_0x3f05bc(0x314)](){const _0x3e2ab4=a0_0x3f05bc;return this[_0x3e2ab4(0x181)][_0x3e2ab4(0x30d)];}['getFieldCount'](){const _0x57036b=a0_0x3f05bc;return this[_0x57036b(0x181)][_0x57036b(0x30d)][_0x57036b(0x161)];}[a0_0x3f05bc(0x12f)](_0x5be316){const _0x54ea2d=a0_0x3f05bc;return this[_0x54ea2d(0x181)][_0x54ea2d(0x30d)][_0x54ea2d(0x213)](_0xe4bd74=>_0xe4bd74['name']===_0x5be316);}[a0_0x3f05bc(0x351)](){const _0x5c1d59=a0_0x3f05bc;return this[_0x5c1d59(0x233)];}[a0_0x3f05bc(0x384)](){const _0x5f2b8d=a0_0x3f05bc;return this[_0x5f2b8d(0x294)];}[a0_0x3f05bc(0x315)](){const _0x3ebd37=a0_0x3f05bc;return this[_0x3ebd37(0x233)]['indexes']||[];}[a0_0x3f05bc(0xfb)](_0xa1a6a4){const _0x2d3c27=a0_0x3f05bc;return this[_0x2d3c27(0x294)][_0x2d3c27(0x100)](_0x11cd7f=>_0x11cd7f[_0x2d3c27(0x37f)]===_0xa1a6a4);}[a0_0x3f05bc(0x310)](_0x43a1d1){return this['_relations']['some'](_0x2feb2d=>_0x2feb2d['fromField']===_0x43a1d1);}[a0_0x3f05bc(0x12c)](_0x315a9e){const _0x3526c5=a0_0x3f05bc,_0x24525a=this[_0x3526c5(0x294)]['find'](_0x426d30=>_0x426d30[_0x3526c5(0x37f)]===_0x315a9e);if(!_0x24525a)return;const _0x34529e={};return _0x34529e['datasetId']=_0x24525a[_0x3526c5(0x331)],_0x34529e[_0x3526c5(0x247)]=_0x24525a[_0x3526c5(0x324)],_0x34529e[_0x3526c5(0x366)]=_0x24525a[_0x3526c5(0x2d5)],_0x34529e[_0x3526c5(0x277)]=_0x24525a[_0x3526c5(0x382)],_0x34529e[_0x3526c5(0x2fa)]=_0x24525a[_0x3526c5(0x2fa)],_0x34529e;}[a0_0x3f05bc(0x131)](){const _0x7790f4=a0_0x3f05bc;return this['_relations']['map'](_0x12bfaa=>_0x12bfaa[_0x7790f4(0x37f)]);}[a0_0x3f05bc(0x200)](){const _0x5cfa82=a0_0x3f05bc;if(!this['_fieldListV2']){const _0xcc4ca9=this[_0x5cfa82(0x181)][_0x5cfa82(0x30d)]||[];this['_fieldListV2']=new FieldListV2(_0xcc4ca9);}return this[_0x5cfa82(0x166)];}[a0_0x3f05bc(0x24f)](_0x532093){const _0x37b798=a0_0x3f05bc;if(typeof _0x532093!==_0x37b798(0x112)){!![]&&console[_0x37b798(0x1f3)](_0x37b798(0x393),_0x532093);return;}return this[_0x37b798(0x200)]()['find'](_0x532093);}['isMultipleSelectField'](_0x39a63f){const _0x30a4c7=a0_0x3f05bc;if(!_0x39a63f||typeof _0x39a63f!=='object')return![];const _0x52c11b=_0x39a63f['name']||_0x39a63f['code'],_0x5f2c97=this[_0x30a4c7(0x24f)](_0x52c11b);return _0x5f2c97?_0x5f2c97[_0x30a4c7(0x1a4)]():![];}[a0_0x3f05bc(0x333)](){const _0x301a1e=a0_0x3f05bc;if(!this['_operationList']){const _0xc56115=this['ensureFilterOperation'](this[_0x301a1e(0x104)]()||{});this[_0x301a1e(0x258)]=new OperationList(_0xc56115,{'fields':this['getFieldListV2']()[_0x301a1e(0x36b)](),'pkField':this[_0x301a1e(0x181)][_0x301a1e(0x381)]?.[_0x301a1e(0x2bf)],'dbtableConfig':this[_0x301a1e(0x181)][_0x301a1e(0x381)]||null});}return this[_0x301a1e(0x258)];}[a0_0x3f05bc(0x28b)](){const _0x4182ae=a0_0x3f05bc,_0x357afc=this[_0x4182ae(0x109)](_0x4182ae(0x100));return _0x357afc;}[a0_0x3f05bc(0x24a)](){const _0x4a2ff5=a0_0x3f05bc;return this[_0x4a2ff5(0x15c)](_0x4a2ff5(0x100));}['toListItem'](){const _0x2956de=a0_0x3f05bc;return new DatasetItem({'id':this['id'],'name':this[_0x2956de(0x1ae)],'datasetCode':this[_0x2956de(0x247)],'dbtableConfig':this[_0x2956de(0xf6)]()});}[a0_0x3f05bc(0x2c3)](){const _0x5d02d3=a0_0x3f05bc,_0x1806a5=this[_0x5d02d3(0x294)][_0x5d02d3(0x161)],_0x5ea20e=this[_0x5d02d3(0x315)]()[_0x5d02d3(0x161)];return'DrivenDataDetailV2('+this['name']+',\x20'+this[_0x5d02d3(0x247)]+',\x20'+this[_0x5d02d3(0x30e)]()+'\x20fields,\x20'+this[_0x5d02d3(0x250)]()+_0x5d02d3(0x2ba)+_0x1806a5+_0x5d02d3(0x2b5)+_0x5ea20e+'\x20indexes)';}[a0_0x3f05bc(0x2df)](){const _0x432244=a0_0x3f05bc;return this[_0x432244(0x181)][_0x432244(0x30d)];}[a0_0x3f05bc(0x10e)](_0x3b2ad3){const _0x1b733b=a0_0x3f05bc;return this[_0x1b733b(0x181)][_0x1b733b(0x30d)][_0x1b733b(0x213)](_0x4df014=>_0x4df014['name']===_0x3b2ad3);}}function detectDatasetVersion(_0xdd7835){const _0xfcef7f=a0_0x3f05bc;if(_0xdd7835['doVersion']==='v2'&&'fields'in _0xdd7835&&Array[_0xfcef7f(0x123)](_0xdd7835[_0xfcef7f(0x30d)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{['_instance'];constructor(_0x5d0cc7){const _0x4c0bc9=a0_0x3f05bc;super(_0x5d0cc7);const _0x2cdb81=detectDatasetVersion(_0x5d0cc7);this[_0x4c0bc9(0x2bc)]=_0x2cdb81==='v2'?new DrivenDataDetailV2(_0x5d0cc7):new DrivenDataDetailV1(_0x5d0cc7);}get['id'](){const _0x163f9b=a0_0x3f05bc;return this[_0x163f9b(0x2bc)]['id'];}get[a0_0x3f05bc(0x1ae)](){const _0x345991=a0_0x3f05bc;return this[_0x345991(0x2bc)][_0x345991(0x1ae)];}get['datasetCode'](){const _0x41b5a7=a0_0x3f05bc;return this[_0x41b5a7(0x2bc)][_0x41b5a7(0x247)];}get[a0_0x3f05bc(0x226)](){const _0x240479=a0_0x3f05bc;return this[_0x240479(0x2bc)]['getVersion']()==='v2'?_0x240479(0x19a):_0x240479(0x256);}['getVersion'](){const _0x285010=a0_0x3f05bc;return this[_0x285010(0x2bc)]['getVersion']();}[a0_0x3f05bc(0x1d4)](){return this['_instance']['id'];}['getCode'](){const _0x32e2bc=a0_0x3f05bc;return this[_0x32e2bc(0x2bc)]['datasetCode'];}[a0_0x3f05bc(0x23d)](){const _0x28f176=a0_0x3f05bc;return this['_instance'][_0x28f176(0x1ae)];}['getFieldDataSource'](){const _0x30ba77=a0_0x3f05bc;return this[_0x30ba77(0x2bc)][_0x30ba77(0x1e9)]();}[a0_0x3f05bc(0x104)](){const _0x45e563=a0_0x3f05bc;return this['_instance'][_0x45e563(0x104)]();}[a0_0x3f05bc(0x23a)](){const _0xfad04c=a0_0x3f05bc;return this[_0xfad04c(0x2bc)][_0xfad04c(0x23a)]();}['getFieldListWithDeleted'](){const _0x2eb844=a0_0x3f05bc;return this[_0x2eb844(0x2bc)]['getFieldListWithDeleted']();}[a0_0x3f05bc(0x301)](){return this['_instance']['getFieldList']();}[a0_0x3f05bc(0x20c)](){const _0x512a6a=a0_0x3f05bc;return this[_0x512a6a(0x2bc)][_0x512a6a(0x20c)]();}[a0_0x3f05bc(0x314)](){const _0xf4ad6f=a0_0x3f05bc;return this[_0xf4ad6f(0x2bc)][_0xf4ad6f(0x314)]();}[a0_0x3f05bc(0x30e)](){const _0x5c1def=a0_0x3f05bc;return this[_0x5c1def(0x2bc)][_0x5c1def(0x30e)]();}[a0_0x3f05bc(0x12e)](){const _0x5d2dc3=a0_0x3f05bc,_0x1f2005=this[_0x5d2dc3(0x2bc)][_0x5d2dc3(0xf6)]();return _0x1f2005?.['pkField'];}['getDBConfig'](){const _0x57ca2d=a0_0x3f05bc;return this['_instance'][_0x57ca2d(0x20a)]();}[a0_0x3f05bc(0x24f)](_0x4e4b34){const _0x8a6f14=a0_0x3f05bc;return this[_0x8a6f14(0x2bc)][_0x8a6f14(0x24f)](_0x4e4b34);}[a0_0x3f05bc(0x2c2)](){const _0x166e13=a0_0x3f05bc;return this['_instance'][_0x166e13(0x2c2)]();}[a0_0x3f05bc(0x1b0)](){const _0x2cbc8a=a0_0x3f05bc;return this[_0x2cbc8a(0x2bc)][_0x2cbc8a(0x1b0)]();}[a0_0x3f05bc(0x19b)](){const _0x4ee8e2=a0_0x3f05bc;return this[_0x4ee8e2(0x2bc)][_0x4ee8e2(0x19b)]();}[a0_0x3f05bc(0x13d)](){const _0xbaac16=a0_0x3f05bc;return this[_0xbaac16(0x2bc)]['getRequiredFields']();}[a0_0x3f05bc(0x28a)](){const _0x23838f=a0_0x3f05bc;return this[_0x23838f(0x2bc)][_0x23838f(0x28a)]();}[a0_0x3f05bc(0x325)](){const _0x5d5b5f=a0_0x3f05bc;return this[_0x5d5b5f(0x2bc)][_0x5d5b5f(0x325)]();}[a0_0x3f05bc(0x344)](){const _0x31f363=a0_0x3f05bc;return this['_instance'][_0x31f363(0x344)]();}['getOperations'](){const _0x17936b=a0_0x3f05bc;return this[_0x17936b(0x2bc)]['getOperations']();}[a0_0x3f05bc(0x250)](){return this['_instance']['getOperationCount']();}[a0_0x3f05bc(0x24c)](){const _0x32989e=a0_0x3f05bc;return this[_0x32989e(0x2bc)][_0x32989e(0x24c)]();}[a0_0x3f05bc(0x37c)](){const _0x49f923=a0_0x3f05bc;return this['_instance'][_0x49f923(0x37c)]();}[a0_0x3f05bc(0x1e0)](){const _0xe38a47=a0_0x3f05bc;return this[_0xe38a47(0x2bc)]['getEnabledOperationInstances']();}['getDisabledOperationInstances'](){const _0x26c465=a0_0x3f05bc;return this[_0x26c465(0x2bc)][_0x26c465(0x35f)]();}[a0_0x3f05bc(0x172)](){const _0x433c9b=a0_0x3f05bc;return this[_0x433c9b(0x2bc)][_0x433c9b(0x172)]();}[a0_0x3f05bc(0x351)](){const _0x46c19f=a0_0x3f05bc;return this[_0x46c19f(0x2bc)][_0x46c19f(0x351)]();}[a0_0x3f05bc(0x384)](){const _0xba3f0c=a0_0x3f05bc;return this[_0xba3f0c(0x2bc)]['getRelations']();}[a0_0x3f05bc(0x315)](){const _0x1a9fac=a0_0x3f05bc;return this[_0x1a9fac(0x2bc)][_0x1a9fac(0x315)]();}[a0_0x3f05bc(0x209)](){return this['_instance']['getFilterOperators']();}[a0_0x3f05bc(0x2d9)](){const _0x24e8f2=a0_0x3f05bc;return this['_instance'][_0x24e8f2(0x2d9)]();}['toJSON'](){const _0x3c232c=a0_0x3f05bc;return this['_instance'][_0x3c232c(0x232)]();}[a0_0x3f05bc(0x28b)](){const _0x46d136=a0_0x3f05bc;return this[_0x46d136(0x2bc)][_0x46d136(0x28b)]();}[a0_0x3f05bc(0x24a)](){const _0x3c1d73=a0_0x3f05bc;return this['_instance'][_0x3c1d73(0x24a)]();}[a0_0x3f05bc(0x336)](){const _0x5ee83d=a0_0x3f05bc;return this[_0x5ee83d(0x2bc)][_0x5ee83d(0x336)]();}[a0_0x3f05bc(0x2c3)](){const _0x1acfcf=a0_0x3f05bc;return this[_0x1acfcf(0x2bc)][_0x1acfcf(0x2c3)]();}[a0_0x3f05bc(0x105)](){return this['_instance'];}}function detectDatasetVersion2(_0x223ff0){const _0xc8785c=a0_0x3f05bc;if(_0x223ff0[_0xc8785c(0x168)]==='v2'&&_0xc8785c(0x30d)in _0x223ff0&&Array[_0xc8785c(0x123)](_0x223ff0[_0xc8785c(0x30d)]))return'v2';return'v1';}function createDrivenDataDetail(_0x2fc377,_0x3b0a97={}){const {forceVersion:_0x9f8a20}=_0x3b0a97;if(_0x9f8a20==='v2')return new DrivenDataDetailV2(_0x2fc377);if(_0x9f8a20==='v1')return new DrivenDataDetailV1(_0x2fc377);const _0x4a51a1=detectDatasetVersion2(_0x2fc377);if(_0x4a51a1==='v2')return new DrivenDataDetailV2(_0x2fc377);return new DrivenDataDetailV1(_0x2fc377);}function isV2Data(_0xe3884f){return detectDatasetVersion2(_0xe3884f)==='v2';}function isV1Data(_0x1fe5b5){return detectDatasetVersion2(_0x1fe5b5)==='v1';}function isV2Instance(_0x295e47){const _0x19f248=a0_0x3f05bc;return _0x295e47[_0x19f248(0x14b)]()==='v2';}function isV1Instance(_0x75ed41){const _0x1d7a0c=a0_0x3f05bc;return _0x75ed41[_0x1d7a0c(0x14b)]()==='v1';}class DatasetGroup{[a0_0x3f05bc(0x386)];constructor(_0x591bda){const _0x2b2e3b=a0_0x3f05bc;this[_0x2b2e3b(0x386)]=Array['isArray'](_0x591bda)?[..._0x591bda]:[_0x591bda],this[_0x2b2e3b(0x386)][_0x2b2e3b(0x297)]((_0x17eb1c,_0x21873c)=>{const _0x339c53=Number(_0x17eb1c['id'])||0x0,_0x4888b9=Number(_0x21873c['id'])||0x0;return _0x4888b9-_0x339c53;});}[a0_0x3f05bc(0x102)](){const _0x53913f=a0_0x3f05bc;return this[_0x53913f(0x386)][_0x53913f(0x161)]>0x1;}[a0_0x3f05bc(0x1db)](){return this['items'][0x0];}['getOldest'](){const _0x48f6da=a0_0x3f05bc;return this[_0x48f6da(0x386)][this[_0x48f6da(0x386)][_0x48f6da(0x161)]-0x1];}[a0_0x3f05bc(0x2c1)](){const _0x2adba1=a0_0x3f05bc;return[...this[_0x2adba1(0x386)]];}[a0_0x3f05bc(0x29c)](){const _0x1f5812=a0_0x3f05bc;return this[_0x1f5812(0x386)][_0x1f5812(0x161)];}[a0_0x3f05bc(0x16e)](_0x7390e7){const _0xb59146=a0_0x3f05bc;return this[_0xb59146(0x386)][_0x7390e7];}[a0_0x3f05bc(0x1a2)](_0x5f1f7b){const _0x434bdb=a0_0x3f05bc;return this[_0x434bdb(0x386)][_0x434bdb(0x213)](_0x556f3c=>_0x556f3c['id']===_0x5f1f7b);}[a0_0x3f05bc(0x125)](_0x2e19ef){const _0x27178c=a0_0x3f05bc;return this[_0x27178c(0x386)][_0x27178c(0x213)](_0x12814f=>_0x12814f[_0x27178c(0x247)]===_0x2e19ef);}[a0_0x3f05bc(0x288)](){const _0x35cdd4=a0_0x3f05bc;return this[_0x35cdd4(0x386)][_0x35cdd4(0x2cb)](_0x9c31b0=>_0x9c31b0['id'])[_0x35cdd4(0x100)](_0x5a23b3=>_0x5a23b3!==undefined);}[a0_0x3f05bc(0x10a)](){const _0x431444=a0_0x3f05bc;return this[_0x431444(0x386)]['map'](_0x5af2fb=>_0x5af2fb[_0x431444(0x247)]);}[a0_0x3f05bc(0x2c3)](){const _0x5c041a=a0_0x3f05bc;if(this[_0x5c041a(0x102)]())return _0x5c041a(0x15e)+this[_0x5c041a(0x386)][_0x5c041a(0x161)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x5c041a(0x1db)]()[_0x5c041a(0x1ae)]+')';return _0x5c041a(0x15e)+this['items'][0x0][_0x5c041a(0x1ae)]+')';}}class DatasetGroupMap{[a0_0x3f05bc(0x261)];constructor(_0xe09c03){const _0x15d8c8=a0_0x3f05bc;this[_0x15d8c8(0x261)]=new Map();for(const _0x3b9019 of _0xe09c03){const _0x51f44a=getTableKey(_0x3b9019);if(!this[_0x15d8c8(0x261)]['has'](_0x51f44a))this['groups'][_0x15d8c8(0x2a3)](_0x51f44a,new DatasetGroup(_0x3b9019));else{const _0x570d0c=this[_0x15d8c8(0x261)][_0x15d8c8(0x2f8)](_0x51f44a),_0x33cbc4=[..._0x570d0c[_0x15d8c8(0x2c1)](),_0x3b9019];this[_0x15d8c8(0x261)][_0x15d8c8(0x2a3)](_0x51f44a,new DatasetGroup(_0x33cbc4));}}}[a0_0x3f05bc(0x2f8)](_0x2e07d6){const _0x18792b=a0_0x3f05bc;return this[_0x18792b(0x261)]['get'](_0x2e07d6);}[a0_0x3f05bc(0x214)](_0xc444e6){const _0x543bd8=a0_0x3f05bc;return this[_0x543bd8(0x261)]['has'](_0xc444e6);}get[a0_0x3f05bc(0x271)](){const _0x30f463=a0_0x3f05bc;return this[_0x30f463(0x261)][_0x30f463(0x271)];}[a0_0x3f05bc(0x2af)](){const _0x4659b2=a0_0x3f05bc;return this[_0x4659b2(0x261)][_0x4659b2(0x2af)]();}[a0_0x3f05bc(0x27b)](){const _0x2ebf71=a0_0x3f05bc;return this[_0x2ebf71(0x261)][_0x2ebf71(0x27b)]();}['entries'](){const _0x41c08a=a0_0x3f05bc;return this[_0x41c08a(0x261)]['entries']();}[Symbol[a0_0x3f05bc(0x22e)]](){const _0x309e56=a0_0x3f05bc;return this[_0x309e56(0x261)][_0x309e56(0xef)]();}[a0_0x3f05bc(0x31d)](_0x5c432c){const _0x117cf6=a0_0x3f05bc;this['groups'][_0x117cf6(0x31d)]((_0x74af06,_0xe36d5f)=>_0x5c432c(_0x74af06,_0xe36d5f,this));}[a0_0x3f05bc(0x1a6)](){const _0x2b996c=a0_0x3f05bc,_0x34e67a=new Map();for(const [_0x492bc3,_0x1a5de0]of this[_0x2b996c(0x261)]){_0x1a5de0[_0x2b996c(0x102)]()&&_0x34e67a['set'](_0x492bc3,_0x1a5de0);}return _0x34e67a;}[a0_0x3f05bc(0x1cb)](){const _0x2d395a=a0_0x3f05bc;for(const _0xad9c2 of this[_0x2d395a(0x261)][_0x2d395a(0x27b)]()){if(_0xad9c2['hasConflict']())return!![];}return![];}[a0_0x3f05bc(0x14f)](){const _0x6a3b47=a0_0x3f05bc;let _0xf814eb=0x0,_0x588942=0x0;for(const _0xfcd856 of this[_0x6a3b47(0x261)][_0x6a3b47(0x27b)]()){_0xfcd856['hasConflict']()&&(_0xf814eb++,_0x588942+=_0xfcd856[_0x6a3b47(0x29c)]());}const _0x536b73={};return _0x536b73[_0x6a3b47(0x195)]=_0xf814eb,_0x536b73['conflictItemCount']=_0x588942,_0x536b73[_0x6a3b47(0x342)]=this[_0x6a3b47(0x261)][_0x6a3b47(0x271)],_0x536b73;}['getAllDatasets'](){const _0x483c78=a0_0x3f05bc,_0x2d7a99=[];for(const _0x1690fd of this[_0x483c78(0x261)][_0x483c78(0x27b)]()){_0x2d7a99[_0x483c78(0x31b)](..._0x1690fd[_0x483c78(0x2c1)]());}return _0x2d7a99;}[a0_0x3f05bc(0x120)](){const _0x2cbff9=a0_0x3f05bc,_0x5232cd=[];for(const _0x4e8ade of this[_0x2cbff9(0x261)]['values']()){_0x5232cd[_0x2cbff9(0x31b)](_0x4e8ade[_0x2cbff9(0x1db)]());}return _0x5232cd;}[a0_0x3f05bc(0x1db)](_0x2b8de8){const _0x58f713=a0_0x3f05bc;return this['groups'][_0x58f713(0x2f8)](_0x2b8de8)?.[_0x58f713(0x1db)]();}[a0_0x3f05bc(0x2c1)](_0x3e35f4){const _0x21b8de=a0_0x3f05bc;return this[_0x21b8de(0x261)][_0x21b8de(0x2f8)](_0x3e35f4)?.[_0x21b8de(0x2c1)]()||[];}[a0_0x3f05bc(0x115)](){const _0x36f69d=a0_0x3f05bc,_0x1582b6=this[_0x36f69d(0x120)](),_0x2c09cd=_0x1582b6[_0x36f69d(0x2cb)](_0x254386=>_0x254386[_0x36f69d(0x232)]()),_0x448d6c={};return _0x448d6c['enableDeduplication']=![],generateDatasetsConfig(_0x2c09cd,_0x448d6c);}[a0_0x3f05bc(0x306)](){const _0x14a32c=a0_0x3f05bc,_0x3299ce=this['getAllDatasets'](),_0xc6310=_0x3299ce[_0x14a32c(0x2cb)](_0x30d7b7=>_0x30d7b7[_0x14a32c(0x232)]());return generateFullDatasetsConfig(_0xc6310);}[a0_0x3f05bc(0x360)](){const _0x12ea40=a0_0x3f05bc,_0x4dbdc={};for(const [_0x50de5b,_0x1db793]of this[_0x12ea40(0x261)]){_0x4dbdc[_0x50de5b]=_0x1db793;}return _0x4dbdc;}['toJSON'](){const _0x1d6665=a0_0x3f05bc,_0x32a3b4={};for(const [_0x458752,_0x539a06]of this[_0x1d6665(0x261)]){_0x32a3b4[_0x458752]=_0x539a06[_0x1d6665(0x2c1)]()['map'](_0x1879de=>_0x1879de['toJSON']());}return _0x32a3b4;}['toString'](){const _0x52a380=a0_0x3f05bc;return _0x52a380(0x23f)+this[_0x52a380(0x261)][_0x52a380(0x271)]+_0x52a380(0x13f)+(this[_0x52a380(0x1cb)]()?_0x52a380(0x1b6):_0x52a380(0x1ad))+')';}}class DatasetList{[a0_0x3f05bc(0x37b)];constructor(_0x1454e9){const _0x588a69=a0_0x3f05bc;let _0x3f4536;if(Array['isArray'](_0x1454e9))_0x3f4536=_0x1454e9;else{if(_0x588a69(0x16d)in _0x1454e9){if(!_0x1454e9['success'])throw new Error('Invalid\x20API\x20response:\x20success\x20is\x20false');if(Array['isArray'](_0x1454e9['data']))_0x3f4536=_0x1454e9[_0x588a69(0x2b7)][_0x588a69(0x2cb)](_0x3af0ac=>({..._0x3af0ac,'datasetCode':_0x3af0ac[_0x588a69(0x25a)]||_0x3af0ac[_0x588a69(0x247)]}));else{if(_0x1454e9[_0x588a69(0x2b7)]?.['tableData'])_0x3f4536=_0x1454e9[_0x588a69(0x2b7)][_0x588a69(0x361)]['map'](_0x164ba0=>({..._0x164ba0,'datasetCode':_0x164ba0[_0x588a69(0x25a)]||_0x164ba0[_0x588a69(0x247)]}));else throw new Error(_0x588a69(0x1bd));}}else{if('tableData'in _0x1454e9){if(!Array[_0x588a69(0x123)](_0x1454e9[_0x588a69(0x361)]))throw new Error(_0x588a69(0x355));_0x3f4536=_0x1454e9['tableData'][_0x588a69(0x2cb)](_0x191dc1=>({..._0x191dc1,'datasetCode':_0x191dc1['code']||_0x191dc1['datasetCode']}));}else throw new Error(_0x588a69(0x1c5));}}const _0x38cf84=cleanDatasetNames(_0x3f4536),_0x2b912a=_0x38cf84['map'](_0x538f57=>new DatasetItem(_0x538f57));this[_0x588a69(0x37b)]=new DatasetGroupMap(_0x2b912a);}get[a0_0x3f05bc(0x192)](){const _0xbe8dac=a0_0x3f05bc;return this[_0xbe8dac(0x37b)];}['getItems'](){const _0x541714=a0_0x3f05bc;return this[_0x541714(0x37b)][_0x541714(0x2a0)]();}['getCount'](){const _0x1f3fe6=a0_0x3f05bc;return this[_0x1f3fe6(0x171)]()[_0x1f3fe6(0x161)];}[a0_0x3f05bc(0x364)](){const _0x4c5aff=a0_0x3f05bc;return this[_0x4c5aff(0x37b)][_0x4c5aff(0x271)]===0x0;}['getAt'](_0xf3e3c7){return this['getItems']()[_0xf3e3c7];}[a0_0x3f05bc(0x1a8)](){const _0x49e81d=a0_0x3f05bc;return this[_0x49e81d(0x171)]()[0x0];}[a0_0x3f05bc(0x25e)](){const _0x163d3f=a0_0x3f05bc,_0x2fb631=this[_0x163d3f(0x171)]();return _0x2fb631[_0x2fb631[_0x163d3f(0x161)]-0x1];}[a0_0x3f05bc(0x125)](_0x36a1bc){const _0x4a7dd3=a0_0x3f05bc;for(const _0x4f1275 of this[_0x4a7dd3(0x37b)][_0x4a7dd3(0x27b)]()){const _0x4af08a=_0x4f1275[_0x4a7dd3(0x125)](_0x36a1bc);if(_0x4af08a)return _0x4af08a;}return;}[a0_0x3f05bc(0x267)](_0x3b994f){const _0x7c5729=a0_0x3f05bc;return this[_0x7c5729(0x171)]()[_0x7c5729(0x213)](_0x3e966e=>_0x3e966e[_0x7c5729(0x1ae)]===_0x3b994f);}[a0_0x3f05bc(0x1a2)](_0x28ea6e){const _0x20851e=a0_0x3f05bc;for(const _0x39acf1 of this[_0x20851e(0x37b)][_0x20851e(0x27b)]()){const _0x5e44be=_0x39acf1['findById'](_0x28ea6e);if(_0x5e44be)return _0x5e44be;}return;}[a0_0x3f05bc(0x1e7)](_0x3becd3){const _0xd2215f=a0_0x3f05bc,_0x1ab933=getTableKey(_0x3becd3);return this[_0xd2215f(0x37b)][_0xd2215f(0x1db)](_0x1ab933);}[a0_0x3f05bc(0x100)](_0x313adf){const _0x365e6f=a0_0x3f05bc,_0x3f061f=this[_0x365e6f(0x171)]()[_0x365e6f(0x100)](_0x313adf);return new DatasetList(_0x3f061f[_0x365e6f(0x2cb)](_0x2d8b29=>_0x2d8b29[_0x365e6f(0x232)]()));}[a0_0x3f05bc(0x19c)](_0x48fbe3){const _0x540be6=a0_0x3f05bc;return this[_0x540be6(0x171)]()[_0x540be6(0x100)](_0x48fbe3);}['forEach'](_0x1c0f0f){const _0x53546c=a0_0x3f05bc;this[_0x53546c(0x171)]()[_0x53546c(0x31d)](_0x1c0f0f);}[a0_0x3f05bc(0x2cb)](_0x558b27){const _0x599a40=a0_0x3f05bc;return this[_0x599a40(0x171)]()[_0x599a40(0x2cb)](_0x558b27);}[Symbol[a0_0x3f05bc(0x22e)]](){const _0x5d9afe=a0_0x3f05bc;return this[_0x5d9afe(0x171)]()[Symbol[_0x5d9afe(0x22e)]]();}[a0_0x3f05bc(0xf4)](){const _0x439af8=a0_0x3f05bc;return this['getItems']()[_0x439af8(0x100)](_0x6e2a7b=>_0x6e2a7b['isVirtualTable']());}['getRealTables'](){const _0x488df7=a0_0x3f05bc;return this[_0x488df7(0x171)]()[_0x488df7(0x100)](_0x529aac=>!_0x529aac['isVirtualTable']());}[a0_0x3f05bc(0x391)](){const _0x3ffd99=a0_0x3f05bc,_0x970b83={};for(const _0x323c1f of this[_0x3ffd99(0x37b)][_0x3ffd99(0x27b)]()){const _0x441264=_0x323c1f[_0x3ffd99(0x1db)]()[_0x3ffd99(0x2e4)]();_0x970b83[_0x441264]=_0x323c1f[_0x3ffd99(0x2c1)]();}return _0x970b83;}[a0_0x3f05bc(0x203)](){const _0x2932cf=a0_0x3f05bc,_0x154d7b={};for(const _0x195908 of this['_datasetMap'][_0x2932cf(0x1a6)]()[_0x2932cf(0x27b)]()){const _0x474157=_0x195908[_0x2932cf(0x1db)]()[_0x2932cf(0x2e4)]();_0x154d7b[_0x474157]=_0x195908[_0x2932cf(0x2c1)]()[_0x2932cf(0x2cb)](_0x3e28ea=>_0x3e28ea[_0x2932cf(0x232)]());}return{'hasConflicts':Object[_0x2932cf(0x2af)](_0x154d7b)['length']>0x0,'conflicts':_0x154d7b};}[a0_0x3f05bc(0x1cb)](){const _0x1b46df=a0_0x3f05bc;return this[_0x1b46df(0x37b)][_0x1b46df(0x1cb)]();}[a0_0x3f05bc(0x26b)](){const _0x304445=a0_0x3f05bc,_0x5612fc=[];for(const _0x211743 of this[_0x304445(0x37b)][_0x304445(0x1a6)]()[_0x304445(0x27b)]()){_0x5612fc[_0x304445(0x31b)](..._0x211743[_0x304445(0x2c1)]());}return _0x5612fc;}['generateConfig'](_0x4dd539){const _0x5bfc05=a0_0x3f05bc;if(!_0x4dd539||Object['keys'](_0x4dd539)[_0x5bfc05(0x161)]===0x0)return this[_0x5bfc05(0x192)][_0x5bfc05(0x115)]();const _0xe0d3c2=this[_0x5bfc05(0x171)]()[_0x5bfc05(0x2cb)](_0x49c5ed=>_0x49c5ed[_0x5bfc05(0x232)]());return generateDatasetsConfig(_0xe0d3c2,_0x4dd539);}[a0_0x3f05bc(0x329)](_0x1471a1){const _0x41ed92=a0_0x3f05bc,_0x3bfc96=this[_0x41ed92(0x2de)](_0x1471a1);return datasetsConfigToArray(_0x3bfc96);}['toConfigArray'](){const _0x37980b=a0_0x3f05bc;return this[_0x37980b(0x171)]()[_0x37980b(0x2cb)](_0xf538a8=>_0xf538a8[_0x37980b(0x115)]());}['getStats'](){const _0x2ad522=a0_0x3f05bc;return{'total':this['getCount'](),'virtualTables':this['getVirtualTables']()['length'],'realTables':this[_0x2ad522(0x379)]()[_0x2ad522(0x161)],'hasConflicts':this[_0x2ad522(0x1cb)](),'conflictCount':this['getConflictingItems']()[_0x2ad522(0x161)]};}[a0_0x3f05bc(0x1c0)](){const _0x11eb4d=a0_0x3f05bc;return this['getItems']()[_0x11eb4d(0x2cb)](_0x4a4507=>_0x4a4507['toJSON']());}[a0_0x3f05bc(0x232)](){const _0x1801b0=a0_0x3f05bc;return this[_0x1801b0(0x1c0)]();}[a0_0x3f05bc(0x2c3)](){const _0x3a1bbe=a0_0x3f05bc;return _0x3a1bbe(0x230)+this[_0x3a1bbe(0x29c)]()+_0x3a1bbe(0x322)+this[_0x3a1bbe(0x37b)][_0x3a1bbe(0x271)]+_0x3a1bbe(0x34b);}static[a0_0x3f05bc(0xfa)](_0x4fcb59){return new DatasetList(_0x4fcb59);}static[a0_0x3f05bc(0x26c)](_0x42d755){return new DatasetList(_0x42d755);}static['empty'](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x3f05bc(0x296);function renderTemplate(_0x209089,_0x265c5c,_0x2c2db2={}){const _0xbf276d=a0_0x3f05bc;let _0xbc52a0=_0x209089;return Object[_0xbf276d(0xef)](_0x2c2db2)['forEach'](([_0x1af26d,_0x4d4b83])=>{const _0x594111=_0xbf276d,_0x228ce6=new RegExp('<!--\x5cs*CONDITION:\x5cs*'+_0x1af26d+_0x594111(0x374),'g');_0xbc52a0=_0xbc52a0[_0x594111(0x1c7)](_0x228ce6,_0x4d4b83?'$1':'');}),Object[_0xbf276d(0xef)](_0x265c5c)[_0xbf276d(0x31d)](([_0x23115f,_0x2ef9cd])=>{const _0x9e310=_0xbf276d;if(_0x2ef9cd!==undefined){const _0x2d7132=new RegExp(_0x9e310(0x22b)+_0x23115f+'\x5c}\x5c}','g');_0xbc52a0=_0xbc52a0[_0x9e310(0x1c7)](_0x2d7132,_0x2ef9cd);}}),_0xbc52a0;}function generateSDKInitCode(_0x2be698,_0x17be1d,_0x514763,_0x27c5a9,_0x5390a4){const _0x2ccffe=a0_0x3f05bc,_0x18e6ef={};_0x18e6ef['appCode']=_0x2be698,_0x18e6ef[_0x2ccffe(0x247)]=_0x17be1d,_0x18e6ef[_0x2ccffe(0x1f8)]=_0x514763,_0x18e6ef[_0x2ccffe(0x141)]=_0x27c5a9===_0x2ccffe(0x228)?_0x2ccffe(0x228):undefined;const _0x43a073={};return _0x43a073[_0x2ccffe(0x141)]=_0x27c5a9!==undefined&&_0x27c5a9!=='online',_0x43a073[_0x2ccffe(0x15d)]=_0x5390a4===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x18e6ef,_0x43a073);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x3f05bc(0x270);function generateAliasExplanation(_0x561a3e,_0x2eaf71,_0x44e48c,_0x421ec7){const _0x112d96=a0_0x3f05bc,_0x20d5c8=_0x112d96(0x269)+_0x561a3e,_0x2a1ca9=_0x112d96(0x259),_0x4ba25c={};return _0x4ba25c[_0x112d96(0x247)]=_0x561a3e,_0x4ba25c[_0x112d96(0x341)]=_0x20d5c8,_0x4ba25c[_0x112d96(0x277)]=_0x2eaf71,_0x4ba25c[_0x112d96(0x1f8)]=_0x44e48c,_0x4ba25c[_0x112d96(0x240)]=_0x421ec7,_0x4ba25c['exampleWhere']=_0x2a1ca9,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x4ba25c,{});}function DrivenDataDetailPlusMixin(_0x19f7ce){const _0x969317=a0_0x3f05bc;return class _0x4b7b1f extends _0x19f7ce{[_0x969317(0x187)](_0x57c4b3){const _0x434b51=_0x969317;return{'appCode':_0x57c4b3,'datasetSDKKey':this[_0x434b51(0x36f)](),'alias':this['getModelAlias'](),'tableName':this[_0x434b51(0x2e4)](),'datasetCode':this[_0x434b51(0x247)]};}[_0x969317(0x21f)](_0x16c36,_0x28f412=_0x969317(0x21b),_0x5548d1=![]){const _0x26ed8b=_0x969317;return generateSDKInitCode(_0x16c36,this[_0x26ed8b(0x247)],this[_0x26ed8b(0x14e)](),_0x28f412===_0x26ed8b(0x228)?_0x28f412:undefined,_0x5548d1);}[_0x969317(0x274)](_0x3d6bb0,_0x332fb7,_0x1fbadb={}){const _0x17a86f=_0x969317,_0x348fab=this[_0x17a86f(0x1f2)]()[_0x17a86f(0x213)](_0x3c34a4=>_0x3c34a4['getName']()===_0x3d6bb0);if(!_0x348fab)return null;const _0x1b497a={};_0x1b497a['useFullExample']=_0x1fbadb[_0x17a86f(0x191)]!==![];const _0x20b01d=this[_0x17a86f(0x1d3)](_0x3d6bb0,_0x1b497a);if(!_0x20b01d)return null;const _0x58a335=[];return _0x58a335[_0x17a86f(0x31b)](_0x17a86f(0x316)+_0x348fab[_0x17a86f(0x23d)]()+'\x20operation'),_0x58a335[_0x17a86f(0x31b)](_0x20b01d[_0x17a86f(0x189)][_0x17a86f(0x25a)]),_0x58a335[_0x17a86f(0x31b)](''),_0x1fbadb[_0x17a86f(0x2ea)]!==![]&&(_0x58a335[_0x17a86f(0x31b)](_0x17a86f(0x2a4)),_0x58a335[_0x17a86f(0x31b)](_0x20b01d[_0x17a86f(0x278)][_0x17a86f(0x2d3)]),_0x58a335[_0x17a86f(0x31b)](''),_0x58a335[_0x17a86f(0x31b)](_0x20b01d['usageExample'][_0x17a86f(0x289)])),_0x58a335[_0x17a86f(0x12d)]('\x0a');}[_0x969317(0x2f2)](_0x3bc967={}){const _0x59e5b2=_0x969317,_0x4df896=this['getEnabledOperationAnalyses'](),_0x14e25a=[];return _0x4df896[_0x59e5b2(0x31d)]((_0x249190,_0x4f121b)=>{const _0x2d9f02=_0x59e5b2,_0x26262d=this[_0x2d9f02(0x274)](_0x249190[_0x2d9f02(0x1ae)],'demo-app',_0x3bc967);_0x26262d&&(_0x14e25a[_0x2d9f02(0x31b)]('//\x20'+(_0x4f121b+0x1)+'.\x20'+_0x249190['displayName']),_0x14e25a[_0x2d9f02(0x31b)](_0x26262d),_0x14e25a['push'](''));}),_0x14e25a[_0x59e5b2(0x12d)]('\x0a');}[_0x969317(0x16c)](_0x1da247){const _0x345a69=_0x969317,_0x5ae830=this[_0x345a69(0x113)](_0x1da247);if(!_0x5ae830)return null;const _0xab9bf9={};return _0xab9bf9[_0x345a69(0x1ae)]=_0x5ae830[_0x345a69(0x1ae)],_0xab9bf9[_0x345a69(0x164)]=_0x5ae830[_0x345a69(0x164)],_0xab9bf9[_0x345a69(0x29b)]=_0x5ae830[_0x345a69(0x29b)],_0xab9bf9[_0x345a69(0x111)]=_0x5ae830['path'],_0xab9bf9[_0x345a69(0x179)]=_0x5ae830[_0x345a69(0x179)],_0xab9bf9[_0x345a69(0x32f)]=_0x5ae830[_0x345a69(0x231)][_0x345a69(0x161)],_0xab9bf9[_0x345a69(0x39c)]=_0x5ae830[_0x345a69(0x188)]!==null,_0xab9bf9;}[_0x969317(0x20d)](_0x40f448={}){const _0x31dcfa=_0x969317,_0x5c18a4=this[_0x31dcfa(0x10f)]();return{'datasetName':this[_0x31dcfa(0x1ae)],'datasetCode':this[_0x31dcfa(0x247)],'tableName':this[_0x31dcfa(0x2e4)](),'totalOperations':_0x5c18a4[_0x31dcfa(0x161)],'operations':_0x5c18a4[_0x31dcfa(0x2cb)](_0x20399e=>({'name':_0x20399e[_0x31dcfa(0x1ae)],'displayName':_0x20399e[_0x31dcfa(0x164)],'method':_0x20399e[_0x31dcfa(0x29b)],'enabled':_0x20399e['enabled']}))};}[_0x969317(0x194)](_0x584383){const _0x134292=_0x969317,_0x5492c3=this['getOperationAnalysis'](_0x584383);if(!_0x5492c3)return[];return _0x5492c3['requestFields'][_0x134292(0x2cb)](_0x5e714a=>{const _0x558f94=_0x134292,_0x3f40f6=this[_0x558f94(0x24f)](_0x5e714a);if(!_0x3f40f6)return null;const _0x1d2b25={};return _0x1d2b25[_0x558f94(0x25a)]=_0x5e714a,_0x1d2b25[_0x558f94(0x1ae)]=_0x3f40f6[_0x558f94(0x1ae)]||_0x5e714a,_0x1d2b25;})['filter'](_0x5edb44=>_0x5edb44!==null);}['getMissingCRUDOperations'](){const _0x13eb8c=_0x969317,_0x216254=new Set(this[_0x13eb8c(0x10f)]()[_0x13eb8c(0x2cb)](_0x5d7db6=>String(_0x5d7db6[_0x13eb8c(0x101)]))),_0x39345b=[_0x13eb8c(0x1ff),_0x13eb8c(0x117),_0x13eb8c(0x1df),_0x13eb8c(0x234)];return _0x39345b[_0x13eb8c(0x100)](_0x45b729=>!_0x216254[_0x13eb8c(0x214)](String(_0x45b729)));}[_0x969317(0xff)](_0x39fd8a=_0x969317(0x1a1)){const _0x25da96=_0x969317;return generateAliasExplanation(this[_0x25da96(0x247)],this[_0x25da96(0x2e4)](),this[_0x25da96(0x14e)](),_0x39fd8a);}};}function operationToAnalysis(_0x270650){const _0x40c1a3=a0_0x3f05bc;return{'name':_0x270650['getName'](),'displayName':_0x270650[_0x40c1a3(0x2ce)](),'type':_0x270650[_0x40c1a3(0x291)](),'method':_0x270650[_0x40c1a3(0x118)](),'path':_0x270650[_0x40c1a3(0x285)](),'fullUrl':_0x270650[_0x40c1a3(0x2b8)](),'requestFields':_0x270650[_0x40c1a3(0x35e)](),'requestParams':_0x270650[_0x40c1a3(0x378)](),'responseSchema':_0x270650[_0x40c1a3(0x151)](),'requestExample':_0x270650['generateRequestExample'](),'responseExample':_0x270650[_0x40c1a3(0x371)](),'enabled':_0x270650[_0x40c1a3(0x348)]()};}function operationsToAnalyses(_0x1a27eb){const _0x3b295d=a0_0x3f05bc;if(!Array[_0x3b295d(0x123)](_0x1a27eb))return!![]&&console[_0x3b295d(0x1f3)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0x1a27eb),[];return _0x1a27eb['map'](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x20aeaf){const _0x2869af=a0_0x3f05bc,_0x217c31=_0x20aeaf['find'](_0x44fb98=>_0x44fb98[_0x2869af(0x1ae)]===_0x2869af(0x100)),_0x5e903d=_0x20aeaf['filter'](_0x4c5ef4=>_0x4c5ef4[_0x2869af(0x1ae)]!=='filter');return _0x217c31?[_0x217c31,..._0x5e903d]:_0x5e903d;}function filterOperationAnalyses(_0x13e70e,_0x516159={}){const _0x90c765=a0_0x3f05bc;let _0x215a10=_0x13e70e;return!_0x516159[_0x90c765(0x2b2)]&&(_0x215a10=_0x215a10[_0x90c765(0x100)](_0x186c07=>_0x186c07[_0x90c765(0x179)])),_0x516159[_0x90c765(0x375)]!==![]&&(_0x215a10=filterApiOperations(_0x215a10)),_0x516159[_0x90c765(0x24e)]&&(_0x215a10=_0x215a10[_0x90c765(0x100)](_0x516159[_0x90c765(0x24e)])),sortOperationsWithFilterFirst(_0x215a10);}function getOperationStats(_0x1aa4a9){const _0x55e58f=a0_0x3f05bc,_0x5dac25=_0x1aa4a9[_0x55e58f(0x100)](_0x1cc012=>_0x1cc012[_0x55e58f(0x179)]);return{'total':_0x1aa4a9['length'],'enabled':_0x5dac25['length'],'disabled':_0x1aa4a9[_0x55e58f(0x161)]-_0x5dac25[_0x55e58f(0x161)],'byType':getCountByType(_0x5dac25),'byMethod':getCountByMethod(_0x5dac25)};}function getCountByType(_0x4b3d5f){const _0x49b063={};return _0x4b3d5f['forEach'](_0x7ceaf9=>{const _0x245fa5=a0_0x184c;if(_0x7ceaf9[_0x245fa5(0x101)])_0x49b063[_0x7ceaf9[_0x245fa5(0x101)]]=(_0x49b063[_0x7ceaf9[_0x245fa5(0x101)]]||0x0)+0x1;}),_0x49b063;}function getCountByMethod(_0x4679b7){const _0x10e569={};return _0x4679b7['forEach'](_0x5cee08=>{const _0x6016b4=a0_0x184c;_0x10e569[_0x5cee08[_0x6016b4(0x29b)]]=(_0x10e569[_0x5cee08[_0x6016b4(0x29b)]]||0x0)+0x1;}),_0x10e569;}function supportsCRUD(_0x4d6e1d){const _0x48e876=a0_0x3f05bc,_0x4c18f8=new Set(_0x4d6e1d[_0x48e876(0x2cb)](_0x111ea6=>_0x111ea6[_0x48e876(0x101)])[_0x48e876(0x100)](Boolean));return _0x4c18f8[_0x48e876(0x214)](_0x48e876(0x1ff))&&_0x4c18f8[_0x48e876(0x214)](_0x48e876(0x117))&&_0x4c18f8[_0x48e876(0x214)]('update')&&_0x4c18f8['has'](_0x48e876(0x234));}function createOperationDocMeta(_0x25cdda,_0x3834d3,_0x13a1b5,_0x3e6b7f,_0x4ac758,_0x16c993){const _0x3dda37=a0_0x3f05bc,_0x2f0bbb={};return _0x2f0bbb['useFullExample']=_0x16c993?.[_0x3dda37(0x35a)],{'operation':_0x25cdda,'operationInstance':_0x3834d3,'basicInfo':{'name':_0x25cdda[_0x3dda37(0x1ae)],'displayName':_0x25cdda[_0x3dda37(0x164)],'method':_0x25cdda['method'],'path':_0x25cdda[_0x3dda37(0x111)],'fullUrl':_0x25cdda[_0x3dda37(0x2a8)],'enabled':_0x25cdda[_0x3dda37(0x179)]},'sdkCall':{'datasetCode':_0x13a1b5,'datasetSDKKey':_0x3e6b7f,'tableName':_0x4ac758,'operationName':_0x25cdda['name'],'params':_0x25cdda[_0x3dda37(0x231)],'code':_0x3834d3[_0x3dda37(0x2a5)](_0x3e6b7f,_0x2f0bbb)},'usageExample':_0x3834d3[_0x3dda37(0x2d1)](_0x3e6b7f)};}function createOperationsOverviewData(_0x2e9f3b){const _0x13e31a=a0_0x3f05bc,_0x2ced1a={};_0x2ced1a['index']=_0x13e31a(0x1ae),_0x2ced1a[_0x13e31a(0x243)]=_0x13e31a(0x10b);const _0x3a8750={};_0x3a8750[_0x13e31a(0x328)]=_0x13e31a(0x164),_0x3a8750['label']=_0x13e31a(0x2a9);const _0x127de2={};_0x127de2[_0x13e31a(0x328)]='method',_0x127de2[_0x13e31a(0x243)]='方法';const _0x2e8304={};_0x2e8304[_0x13e31a(0x328)]=_0x13e31a(0x189),_0x2e8304[_0x13e31a(0x243)]='SDK\x20调用';const _0x5e6496={};_0x5e6496['index']=_0x13e31a(0x111),_0x5e6496[_0x13e31a(0x243)]=_0x13e31a(0x10d);const _0xeaefbf={};_0xeaefbf['index']=_0x13e31a(0x108),_0xeaefbf[_0x13e31a(0x243)]=_0x13e31a(0x137);const _0x50ddfe=[_0x2ced1a,_0x3a8750,_0x127de2,_0x2e8304,_0x5e6496,_0xeaefbf],_0xd75a05=_0x2e9f3b[_0x13e31a(0x2cb)](_0x589f1a=>{const _0x30a030=_0x13e31a,{basicInfo:_0x58d1c0,sdkCall:_0x51a527}=_0x589f1a,_0x154c43=_0x51a527[_0x30a030(0x25a)][_0x30a030(0x1c7)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x30a030(0x1c7)](/;$/,''),_0x2f0b5d={};return _0x2f0b5d[_0x30a030(0x164)]=_0x58d1c0['displayName'],_0x2f0b5d['name']=_0x58d1c0['name'],_0x2f0b5d[_0x30a030(0x29b)]=_0x58d1c0[_0x30a030(0x29b)],_0x2f0b5d[_0x30a030(0x111)]=_0x58d1c0[_0x30a030(0x111)],_0x2f0b5d[_0x30a030(0x189)]=_0x154c43,_0x2f0b5d[_0x30a030(0x108)]=_0x51a527[_0x30a030(0x25a)],_0x2f0b5d;}),_0x3ac995={};return _0x3ac995[_0x13e31a(0x107)]=_0x50ddfe,_0x3ac995['tableData']=_0xd75a05,_0x3ac995;}function createDatasetDocMeta(_0xb105a1,_0x95037f,_0x4d9816,_0x42a23c,_0x22ac0e,_0x59e99c,_0x424d9,_0x10fc3e,_0x470f63){const _0x4dd3c6=a0_0x3f05bc,_0x51b296={};return _0x51b296[_0x4dd3c6(0x1da)]=_0xb105a1+_0x4dd3c6(0x2d2),_0x51b296[_0x4dd3c6(0x10c)]={},_0x51b296[_0x4dd3c6(0x37a)]=_0x470f63,_0x51b296[_0x4dd3c6(0x10c)][_0x4dd3c6(0x1ae)]=_0xb105a1,_0x51b296[_0x4dd3c6(0x10c)][_0x4dd3c6(0x25a)]=_0x95037f,_0x51b296[_0x4dd3c6(0x10c)]['tableName']=_0x4d9816,_0x51b296[_0x4dd3c6(0x10c)][_0x4dd3c6(0x341)]=_0x42a23c,_0x51b296[_0x4dd3c6(0x10c)][_0x4dd3c6(0x1b2)]=_0x22ac0e,_0x51b296[_0x4dd3c6(0x10c)][_0x4dd3c6(0x1d1)]=_0x59e99c,_0x51b296[_0x4dd3c6(0x10c)][_0x4dd3c6(0x369)]=_0x424d9,_0x51b296[_0x4dd3c6(0x10c)]['businessFieldCount']=0x0,_0x51b296[_0x4dd3c6(0x10c)][_0x4dd3c6(0x295)]=0x0,_0x51b296[_0x4dd3c6(0x10c)]['operationCount']=_0x10fc3e,_0x51b296[_0x4dd3c6(0x10c)][_0x4dd3c6(0x237)]=_0x470f63['length'],_0x51b296;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x3f05bc(0x304)];['getVersion'](){return'v1';}['getModelAlias'](){return this['getTableKey']();}['getOperationAnalyses'](_0x24dec0=![]){const _0x46b7eb=a0_0x3f05bc;if(!_0x24dec0&&this[_0x46b7eb(0x304)])return this[_0x46b7eb(0x304)];const _0x1278ce=this[_0x46b7eb(0x1f2)]();return this[_0x46b7eb(0x304)]=operationsToAnalyses(_0x1278ce),this['_operationAnalyses'];}[a0_0x3f05bc(0x10f)](){const _0x57fdf4=a0_0x3f05bc,_0x1967a8={};return _0x1967a8[_0x57fdf4(0x2b2)]=![],_0x1967a8['filterBlacklist']=!![],this[_0x57fdf4(0x286)](_0x1967a8);}[a0_0x3f05bc(0x286)](_0x5af75f={}){const _0x2d30d1=a0_0x3f05bc;return filterOperationAnalyses(this[_0x2d30d1(0x1a0)](),_0x5af75f);}[a0_0x3f05bc(0x113)](_0x294100){const _0x517ff3=a0_0x3f05bc;return this[_0x517ff3(0x1a0)]()[_0x517ff3(0x213)](_0x2d38fb=>_0x2d38fb[_0x517ff3(0x1ae)]===_0x294100);}[a0_0x3f05bc(0x330)](_0x37072b){const _0x5512cc=a0_0x3f05bc;return this[_0x5512cc(0x1a0)]()[_0x5512cc(0x100)](_0xf114be=>_0xf114be[_0x5512cc(0x101)]===_0x37072b);}[a0_0x3f05bc(0x1d3)](_0x59106a,_0x300902){const _0x3528fd=a0_0x3f05bc,_0x509140=this[_0x3528fd(0x113)](_0x59106a);if(!_0x509140)return null;const _0x34c2e3=this[_0x3528fd(0x1f2)]()[_0x3528fd(0x213)](_0x46a810=>_0x46a810[_0x3528fd(0x23d)]()===_0x509140['name']);if(!_0x34c2e3)throw new Error(_0x3528fd(0x308)+_0x509140['name']);return createOperationDocMeta(_0x509140,_0x34c2e3,this['datasetCode'],this['getDatasetSDKKey'](),this[_0x3528fd(0x2e4)](),_0x300902);}[a0_0x3f05bc(0xf3)](_0x4cbe91={}){const _0x15ab38=a0_0x3f05bc,_0xf4bf38=this[_0x15ab38(0x286)](_0x4cbe91),_0x163399=_0xf4bf38[_0x15ab38(0x2cb)](_0x26f528=>this[_0x15ab38(0x1d3)](_0x26f528[_0x15ab38(0x1ae)]))[_0x15ab38(0x100)](_0x447d6e=>_0x447d6e!==null);return createDatasetDocMeta(this[_0x15ab38(0x1ae)],this[_0x15ab38(0x247)],this[_0x15ab38(0x2e4)](),this['getDatasetSDKKey'](),this[_0x15ab38(0x272)](),this[_0x15ab38(0x1d1)],this[_0x15ab38(0x30e)](),this[_0x15ab38(0x250)](),_0x163399);}[a0_0x3f05bc(0x36a)](_0x35195d){return createOperationsOverviewData(_0x35195d);}[a0_0x3f05bc(0x1ef)](){const _0x5a3f10=a0_0x3f05bc;return supportsCRUD(this[_0x5a3f10(0x10f)]());}[a0_0x3f05bc(0x268)](){const _0x3154e5=a0_0x3f05bc;return getOperationStats(this[_0x3154e5(0x1a0)]());}[a0_0x3f05bc(0x2c3)](){const _0x4ab52e=a0_0x3f05bc,_0x4e5e17=this['getOperationStats']();return _0x4ab52e(0x1bb)+this['name']+',\x20'+this[_0x4ab52e(0x247)]+',\x20'+this[_0x4ab52e(0x30e)]()+_0x4ab52e(0x182)+_0x4e5e17[_0x4ab52e(0x179)]+'/'+_0x4e5e17[_0x4ab52e(0x2c5)]+'\x20operations,\x20v1)';}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x3f05bc(0x304)];[a0_0x3f05bc(0x14b)](){return'v2';}['getModelAlias'](){const _0x3541b9=a0_0x3f05bc;return this[_0x3541b9(0x272)]();}[a0_0x3f05bc(0x1a0)](_0x4b3f64=![]){const _0xb43a90=a0_0x3f05bc;if(!_0x4b3f64&&this[_0xb43a90(0x304)])return this[_0xb43a90(0x304)];const _0x5812b0=this[_0xb43a90(0x1f2)]();return this['_operationAnalyses']=operationsToAnalyses(_0x5812b0),this[_0xb43a90(0x304)];}[a0_0x3f05bc(0x10f)](){const _0x23d0f4=a0_0x3f05bc,_0x51fff1={};return _0x51fff1[_0x23d0f4(0x2b2)]=![],_0x51fff1['filterBlacklist']=!![],this[_0x23d0f4(0x286)](_0x51fff1);}[a0_0x3f05bc(0x286)](_0x12466e={}){const _0x4a1ba5=a0_0x3f05bc;return filterOperationAnalyses(this[_0x4a1ba5(0x1a0)](),_0x12466e);}[a0_0x3f05bc(0x113)](_0x2ffa37){const _0x1828d4=a0_0x3f05bc;return this[_0x1828d4(0x1a0)]()[_0x1828d4(0x213)](_0x233aa3=>_0x233aa3[_0x1828d4(0x1ae)]===_0x2ffa37);}[a0_0x3f05bc(0x330)](_0x5e6050){const _0x1e62b7=a0_0x3f05bc;return this[_0x1e62b7(0x1a0)]()[_0x1e62b7(0x100)](_0xe26186=>_0xe26186['type']===_0x5e6050);}['getOperationDocMeta'](_0x2e5245,_0x537c5a){const _0x14521f=a0_0x3f05bc,_0x15a189=this[_0x14521f(0x113)](_0x2e5245);if(!_0x15a189)return null;const _0x2c773e=this['getOperations']()[_0x14521f(0x213)](_0x56c442=>_0x56c442[_0x14521f(0x23d)]()===_0x15a189[_0x14521f(0x1ae)]);if(!_0x2c773e)throw new Error(_0x14521f(0x308)+_0x15a189[_0x14521f(0x1ae)]);return createOperationDocMeta(_0x15a189,_0x2c773e,this[_0x14521f(0x247)],this['getDatasetSDKKey'](),this['getTableName'](),_0x537c5a);}[a0_0x3f05bc(0xf3)](_0x258c14={}){const _0x5523f0=a0_0x3f05bc,_0x8ef7b4=this[_0x5523f0(0x286)](_0x258c14),_0xc8a229=_0x8ef7b4['map'](_0x7d780f=>this[_0x5523f0(0x1d3)](_0x7d780f[_0x5523f0(0x1ae)]))[_0x5523f0(0x100)](_0x3e45a4=>_0x3e45a4!==null);return createDatasetDocMeta(this[_0x5523f0(0x1ae)],this[_0x5523f0(0x247)],this[_0x5523f0(0x2e4)](),this[_0x5523f0(0x36f)](),this[_0x5523f0(0x272)](),this['source'],this[_0x5523f0(0x30e)](),this[_0x5523f0(0x250)](),_0xc8a229);}[a0_0x3f05bc(0x36a)](_0x19f87a){return createOperationsOverviewData(_0x19f87a);}[a0_0x3f05bc(0x1ef)](){const _0x349c98=a0_0x3f05bc;return supportsCRUD(this[_0x349c98(0x10f)]());}[a0_0x3f05bc(0x268)](){const _0xa50b27=a0_0x3f05bc;return getOperationStats(this[_0xa50b27(0x1a0)]());}[a0_0x3f05bc(0x2c3)](){const _0xc0d8b1=a0_0x3f05bc,_0x40be09=this['getOperationStats']();return _0xc0d8b1(0x103)+this[_0xc0d8b1(0x1ae)]+',\x20'+this[_0xc0d8b1(0x247)]+',\x20'+this['getFieldCount']()+_0xc0d8b1(0x182)+_0x40be09[_0xc0d8b1(0x179)]+'/'+_0x40be09[_0xc0d8b1(0x2c5)]+_0xc0d8b1(0x2ef);}}function detectDatasetVersion3(_0x2b7af2){const _0x2b67e4=a0_0x3f05bc;if(_0x2b7af2[_0x2b67e4(0x168)]==='v2'&&_0x2b67e4(0x30d)in _0x2b7af2&&Array[_0x2b67e4(0x123)](_0x2b7af2[_0x2b67e4(0x30d)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x3f05bc(0x2bc)];constructor(_0x275d27){const _0x22c893=a0_0x3f05bc,_0x2ff9f6=detectDatasetVersion3(_0x275d27);return this[_0x22c893(0x2bc)]=_0x2ff9f6==='v2'?new DrivenDataDetailPlusV2(_0x275d27):new DrivenDataDetailPlusV1(_0x275d27),new Proxy(this,{'get'(_0xf77312,_0x5d3da0){const _0x5e2685=_0x22c893;if(_0x5d3da0 in _0xf77312){const _0x4e0777=_0xf77312[_0x5d3da0];return typeof _0x4e0777===_0x5e2685(0x139)?_0x4e0777['bind'](_0xf77312):_0x4e0777;}if(_0x5d3da0 in _0xf77312['_instance']){const _0xc36f43=_0xf77312[_0x5e2685(0x2bc)][_0x5d3da0];return typeof _0xc36f43===_0x5e2685(0x139)?_0xc36f43[_0x5e2685(0x20e)](_0xf77312['_instance']):_0xc36f43;}return;},'set'(_0x36fc02,_0x318e85,_0x12952e){return _0x36fc02[_0x318e85]=_0x12952e,!![];},'getPrototypeOf'(_0x37dfc8){return DrivenDataDetailPlus['prototype'];}});}get[a0_0x3f05bc(0x1ae)](){const _0x1db055=a0_0x3f05bc;return this[_0x1db055(0x2bc)]['name'];}get['id'](){const _0x400b0c=a0_0x3f05bc;return this[_0x400b0c(0x2bc)]['id'];}get[a0_0x3f05bc(0x247)](){const _0x495ec1=a0_0x3f05bc;return this[_0x495ec1(0x2bc)][_0x495ec1(0x247)];}get[a0_0x3f05bc(0x1d1)](){const _0xde6e98=a0_0x3f05bc;return this[_0xde6e98(0x2bc)][_0xde6e98(0x1d1)];}get[a0_0x3f05bc(0x381)](){const _0x438a18=a0_0x3f05bc;return this[_0x438a18(0x2bc)][_0x438a18(0x20a)]();}[a0_0x3f05bc(0x14b)](){const _0x343d74=a0_0x3f05bc,_0x42504b=this[_0x343d74(0x2bc)][_0x343d74(0x14b)]();return _0x42504b==='v2'?'v2':'v1';}[a0_0x3f05bc(0x30e)](){const _0x1179d0=a0_0x3f05bc;return this[_0x1179d0(0x2bc)][_0x1179d0(0x30e)]();}[a0_0x3f05bc(0x250)](){const _0x5bdb04=a0_0x3f05bc;return this[_0x5bdb04(0x2bc)]['getOperationCount']();}['getFields'](){const _0x1fbda0=a0_0x3f05bc;return this[_0x1fbda0(0x2bc)][_0x1fbda0(0x314)]();}[a0_0x3f05bc(0x1f2)](){const _0x4c1d9b=a0_0x3f05bc;return this[_0x4c1d9b(0x2bc)][_0x4c1d9b(0x1f2)]();}[a0_0x3f05bc(0x359)](_0x204f75){const _0x4fd4ae=a0_0x3f05bc;return this[_0x4fd4ae(0x2bc)][_0x4fd4ae(0x359)](_0x204f75);}[a0_0x3f05bc(0x24f)](_0x5bdfe4){const _0x4bcf3d=a0_0x3f05bc;return this[_0x4bcf3d(0x2bc)]['getFieldInstance'](_0x5bdfe4);}[a0_0x3f05bc(0x2e4)](){const _0x2a008c=a0_0x3f05bc;return this[_0x2a008c(0x2bc)]['getTableName']();}['getTableKey'](){const _0x57112b=a0_0x3f05bc;return this[_0x57112b(0x2bc)]['getTableKey']();}[a0_0x3f05bc(0x36f)](){const _0x15fb15=a0_0x3f05bc;return this[_0x15fb15(0x2bc)][_0x15fb15(0x36f)]();}[a0_0x3f05bc(0x301)](){const _0x55d515=a0_0x3f05bc;return this[_0x55d515(0x2bc)][_0x55d515(0x301)]();}[a0_0x3f05bc(0x325)](){const _0x590ebb=a0_0x3f05bc;return this['_instance'][_0x590ebb(0x325)]();}['getEnumFieldsMeta'](){const _0x591e77=a0_0x3f05bc;return this[_0x591e77(0x2bc)][_0x591e77(0x344)]();}['isMultipleSelectField'](_0x367cb5){const _0x3ad925=a0_0x3f05bc;return this[_0x3ad925(0x2bc)][_0x3ad925(0x196)](_0x367cb5);}[a0_0x3f05bc(0x127)](_0x1bf036){const _0x22d4b5=a0_0x3f05bc;return this[_0x22d4b5(0x2bc)]['getField'](_0x1bf036);}['getFieldOptions'](_0x45d476){const _0x2fb8b8=a0_0x3f05bc;return this[_0x2fb8b8(0x2bc)][_0x2fb8b8(0x32b)](_0x45d476);}[a0_0x3f05bc(0x30f)](_0x59840d){const _0x31b51e=a0_0x3f05bc;return this['_instance'][_0x31b51e(0x30f)](_0x59840d);}[a0_0x3f05bc(0x167)](_0x4bd997){const _0x3f4816=a0_0x3f05bc;return this[_0x3f4816(0x2bc)][_0x3f4816(0x167)](_0x4bd997);}[a0_0x3f05bc(0x1c1)](_0x490cb9,_0x27d25c){const _0x4c4e53=a0_0x3f05bc;return this[_0x4c4e53(0x2bc)][_0x4c4e53(0x1c1)](_0x490cb9,_0x27d25c);}[a0_0x3f05bc(0x287)](_0x287a86){const _0x528c85=a0_0x3f05bc;return this[_0x528c85(0x2bc)][_0x528c85(0x287)](_0x287a86);}['getStats'](){const _0x521960=a0_0x3f05bc;return this[_0x521960(0x2bc)][_0x521960(0x172)]();}[a0_0x3f05bc(0x28b)](){const _0x2efacb=a0_0x3f05bc;return this[_0x2efacb(0x2bc)][_0x2efacb(0x28b)]();}[a0_0x3f05bc(0x24a)](){const _0x332215=a0_0x3f05bc;return this[_0x332215(0x2bc)][_0x332215(0x24a)]();}[a0_0x3f05bc(0x15c)](_0xa6cac){const _0x13ddee=a0_0x3f05bc;return this[_0x13ddee(0x2bc)][_0x13ddee(0x15c)](_0xa6cac);}[a0_0x3f05bc(0x20a)](){const _0xd50f6a=a0_0x3f05bc;return this[_0xd50f6a(0x2bc)]['getDBConfig']();}[a0_0x3f05bc(0xf6)](){const _0x65d8dc=a0_0x3f05bc;return this[_0x65d8dc(0x2bc)][_0x65d8dc(0xf6)]();}[a0_0x3f05bc(0x23a)](){const _0x19f697=a0_0x3f05bc;return this[_0x19f697(0x2bc)]['getSource']();}['getOperationAnalyses'](_0x5c3868){const _0x2645d4=a0_0x3f05bc;return this[_0x2645d4(0x2bc)][_0x2645d4(0x1a0)](_0x5c3868);}['getEnabledOperationAnalyses'](){const _0x211272=a0_0x3f05bc;return this[_0x211272(0x2bc)][_0x211272(0x10f)]();}[a0_0x3f05bc(0x286)](_0x6e5f7a){const _0x3bc048=a0_0x3f05bc;return this['_instance'][_0x3bc048(0x286)](_0x6e5f7a);}['getOperationAnalysis'](_0x5090f3){const _0x57bd7c=a0_0x3f05bc;return this[_0x57bd7c(0x2bc)][_0x57bd7c(0x113)](_0x5090f3);}[a0_0x3f05bc(0x330)](_0x44cce5){const _0x372ae1=a0_0x3f05bc;return this[_0x372ae1(0x2bc)][_0x372ae1(0x330)](_0x44cce5);}[a0_0x3f05bc(0x1d3)](_0x9fcdb6,_0x4c658c){const _0x5ccc3b=a0_0x3f05bc;return this['_instance'][_0x5ccc3b(0x1d3)](_0x9fcdb6,_0x4c658c);}[a0_0x3f05bc(0xf3)](_0x1577c6){const _0x1f833f=a0_0x3f05bc;return this[_0x1f833f(0x2bc)][_0x1f833f(0xf3)](_0x1577c6);}[a0_0x3f05bc(0x36a)](_0x34527e){const _0x43c156=a0_0x3f05bc;return this[_0x43c156(0x2bc)]['getOperationsOverviewData'](_0x34527e);}[a0_0x3f05bc(0x14e)](){const _0x3e46e1=a0_0x3f05bc;return this[_0x3e46e1(0x2bc)][_0x3e46e1(0x14e)]();}[a0_0x3f05bc(0x1ef)](){const _0x5ee7d8=a0_0x3f05bc;return this[_0x5ee7d8(0x2bc)][_0x5ee7d8(0x1ef)]();}[a0_0x3f05bc(0x268)](){const _0x457494=a0_0x3f05bc;return this[_0x457494(0x2bc)][_0x457494(0x268)]();}['toString'](){const _0x2bd1a3=a0_0x3f05bc;return this[_0x2bd1a3(0x2bc)][_0x2bd1a3(0x2c3)]();}[a0_0x3f05bc(0x109)](_0x4b87f5){const _0x552f09=a0_0x3f05bc;return this[_0x552f09(0x2bc)][_0x552f09(0x109)](_0x4b87f5);}[a0_0x3f05bc(0x187)](_0x3f2d16){const _0x59d44a=a0_0x3f05bc;return this[_0x59d44a(0x2bc)][_0x59d44a(0x187)](_0x3f2d16);}[a0_0x3f05bc(0x21f)](_0x4b09ea,_0x351b40,_0x5cc9a6){return this['_instance']['generateSDKInitCode'](_0x4b09ea,_0x351b40,_0x5cc9a6);}[a0_0x3f05bc(0x274)](_0x378e7c,_0x28d61c,_0x4fa96c){const _0x498f2b=a0_0x3f05bc;return this[_0x498f2b(0x2bc)]['generateFullSDKExample'](_0x378e7c,_0x28d61c,_0x4fa96c);}[a0_0x3f05bc(0x2f2)](_0xa2d0ef){const _0x4e7f2f=a0_0x3f05bc;return this['_instance'][_0x4e7f2f(0x2f2)](_0xa2d0ef);}['generateOperationSummary'](_0x498c36){const _0x15a477=a0_0x3f05bc;return this[_0x15a477(0x2bc)]['generateOperationSummary'](_0x498c36);}['generateAllOperationsSummary'](_0x3adb7e){return this['_instance']['generateAllOperationsSummary'](_0x3adb7e);}[a0_0x3f05bc(0x194)](_0x59415f){const _0x1cc2d7=a0_0x3f05bc;return this[_0x1cc2d7(0x2bc)][_0x1cc2d7(0x194)](_0x59415f);}[a0_0x3f05bc(0x34c)](){const _0x19eadf=a0_0x3f05bc;return this[_0x19eadf(0x2bc)][_0x19eadf(0x34c)]();}[a0_0x3f05bc(0xff)](){const _0x2ddf32=a0_0x3f05bc;return this[_0x2ddf32(0x2bc)]['generateAliasExplanation']();}[a0_0x3f05bc(0x105)](){const _0x1453e9=a0_0x3f05bc;return this[_0x1453e9(0x2bc)];}}function createDrivenDataDetailPlus(_0x4d4c58,_0x3effdc={}){const _0x354289=a0_0x3f05bc;if(_0x3effdc[_0x354289(0x2e6)]==='v1')return new DrivenDataDetailPlusV1(_0x4d4c58);if(_0x3effdc[_0x354289(0x2e6)]==='v2')return new DrivenDataDetailPlusV2(_0x4d4c58);if(_0x4d4c58[_0x354289(0x168)]==='v2'||'dataset'in _0x4d4c58)return new DrivenDataDetailPlusV2(_0x4d4c58);return new DrivenDataDetailPlusV1(_0x4d4c58);}function isPlusV2Instance(_0x3dd357){return _0x3dd357['getVersion']()==='v2';}function isPlusV1Instance(_0x422f2a){const _0x421077=a0_0x3f05bc;return _0x422f2a[_0x421077(0x14b)]()==='v1';}var VERSION='1.0.0-beta.8';export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
1
+ const a0_0x4986fd=a0_0x5c95;(function(_0x2ce3f5,_0x2fd46f){const _0x3aea2c=a0_0x5c95,_0x574cf6=_0x2ce3f5();while(!![]){try{const _0x1057fa=parseInt(_0x3aea2c(0x295))/0x1+parseInt(_0x3aea2c(0x2c5))/0x2+-parseInt(_0x3aea2c(0x363))/0x3*(-parseInt(_0x3aea2c(0x2c4))/0x4)+-parseInt(_0x3aea2c(0x379))/0x5*(parseInt(_0x3aea2c(0x308))/0x6)+parseInt(_0x3aea2c(0x20b))/0x7*(parseInt(_0x3aea2c(0x244))/0x8)+-parseInt(_0x3aea2c(0x307))/0x9+-parseInt(_0x3aea2c(0x277))/0xa*(-parseInt(_0x3aea2c(0x1f8))/0xb);if(_0x1057fa===_0x2fd46f)break;else _0x574cf6['push'](_0x574cf6['shift']());}catch(_0xc4b10a){_0x574cf6['push'](_0x574cf6['shift']());}}}(a0_0x57bd,0xcea65));function toCamelCase(_0x298944){const _0x2a25a9=a0_0x5c95;if(!_0x298944)return'';return _0x298944[_0x2a25a9(0x398)](/[_-]/)[_0x2a25a9(0x30d)]((_0x1feca1,_0x4d121b)=>{const _0x12c698=_0x2a25a9;if(_0x4d121b===0x0)return _0x1feca1[_0x12c698(0x258)]();return _0x1feca1[_0x12c698(0x272)](0x0)['toUpperCase']()+_0x1feca1['slice'](0x1)[_0x12c698(0x258)]();})[_0x2a25a9(0x348)]('');}function toPascalCase(_0x45445d){const _0x3f7a8e=a0_0x5c95;if(!_0x45445d)return'';const _0x34d1c3=toCamelCase(_0x45445d);return _0x34d1c3['charAt'](0x0)[_0x3f7a8e(0x39b)]()+_0x34d1c3[_0x3f7a8e(0x14d)](0x1);}function toSnakeCase(_0x58057c){const _0x34ef63=a0_0x5c95;if(!_0x58057c)return'';return _0x58057c[_0x34ef63(0x15c)](/([A-Z])/g,'_$1')[_0x34ef63(0x258)]()[_0x34ef63(0x15c)](/^_/,'');}function toKebabCase(_0x15db88){const _0x12bb8b=a0_0x5c95;if(!_0x15db88)return'';return _0x15db88['replace'](/([A-Z])/g,_0x12bb8b(0x3b1))[_0x12bb8b(0x258)]()['replace'](/^-/,'');}function normalizeFieldName(_0x4256f2){const _0x4c09ba=a0_0x5c95;if(!_0x4256f2)return'';return _0x4256f2['trim']()[_0x4c09ba(0x15c)](/\s+/g,'_')[_0x4c09ba(0x15c)](/[^a-zA-Z0-9_]/g,'_')[_0x4c09ba(0x15c)](/_+/g,'_')[_0x4c09ba(0x15c)](/^_|_$/g,'');}function getTableName(_0x2fce8b){const _0x50a966=a0_0x5c95;if(!_0x2fce8b)return'dataset_000000';if(_0x2fce8b[_0x50a966(0x128)]?.['tableName'])return _0x2fce8b[_0x50a966(0x128)][_0x50a966(0x1ca)];const _0x30ae98=_0x2fce8b[_0x50a966(0x2e2)]||_0x2fce8b[_0x50a966(0x3b7)]||_0x2fce8b[_0x50a966(0x395)];if(_0x30ae98)return generateTableNameFromCode(_0x30ae98);return'dataset_000000';}function getTableKey(_0x33b480){if(typeof _0x33b480==='string')return toCamelCase(_0x33b480);const _0x3bf0fd=getTableName(_0x33b480);return toCamelCase(_0x3bf0fd);}function generateTableNameFromCode(_0xf84bd0){const _0x29467a=a0_0x5c95;if(!_0xf84bd0)return'dataset_000000';const _0x38fe53=_0xf84bd0[_0x29467a(0x14d)](-0x6)[_0x29467a(0x153)](0x6,'0');return _0x29467a(0x10c)+_0x38fe53;}function isVirtualTableName(_0xc42abe){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0xc42abe);}function a0_0x57bd(){const _0x2a2081=['getFilteredOperations','1.0.0-beta.8','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','_avg','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','enableDeduplication','toArray','getDisplayName','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','useArrayValues','getConflictingItems','152gtsZWS','raw','parseFieldExtend','创建导出','datasetId','hasCreatorIdField','每页条数','$endWith','选项编码(可选)','_max','toFieldDefinition','getActive','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getFilterOperators','getType','isDeleted','getApplicableOperators','exampleWhere','GET_ONE_UPDATE','ARRAY','toLowerCase','getFiltered','getFieldNames','Number','2024-01-01','getItems','fieldCode','getRequestParamsDocInfo','\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','[FieldV2]\x20Invalid\x20field\x20definition','datasetMap','iterator','聚合函数配置数组','长文本','findAll','主键ID(必填)','createTime','getRelations','$contain','getFieldFilterOperators','getLatestDatasets','fields','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','createAll','delete','valueLabels','charAt','index','getFieldDataSource','groupBy','filter','972350JWMumi','13800138000','push','has','filterBlacklist','\x20API\x20文档','IMAGE','warn','currentPage','_operations','getRequestFields','isEnabled','_raw','labelField','sdkCallCode','generateHTTPRequestExample','hasConflicts','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','Excel导出','toString','getUpdatableFields','hasDbtableConfig','DELETE','alias','这是一段较长的文本内容示例','getOperationStats','字段名称','OperationList(','getFilteredOperationAnalyses','getVersion','380868vhAPqi','some','getFieldListWithDeleted','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','CREATE_EXPORT','GET','_autoGenerated','getModelAlias','/filter','getCountByMethod','要更新的字段数据对象','toField','getCodes','array','parse','items','getEnumOptions','GET_ONE','_datasetMap','TIME','dbName','<!--\x5cs*CONDITION:\x5cs*','_fieldList','findById','toISOString','generateAllOperationsSummary','all','getDatasetSDKKey','requestFieldCount','getOperationAnalysesByType','isSystem','find','round','getIds','getTableKey','datasetName','getFieldsWithDeleted','创建导入','getOperationFieldsOperatorsMap','isPrimaryKeyField','getEnumFieldsMeta','查询单条','getFieldRaw','getByType','hasUpdateTimeField','-\x20主键ID,用于定位要更新的记录\x0a\x0a','getOperationsData','8ivIMsK','1030792TAaMju','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getBusinessFields','getGroupedParams','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','query','\x5c}\x5c}','-\x20其他要更新的字段直接平铺在同一层级','FieldV2(','返回字段列表(字段投影)','isAutoIncrement','获取上传脚本','查询单个条件','add','https://example.com/image.jpg','values','getConflicts','total_count','set','getCount','DrivenDataDetailPlusV2(','hasResponseSchema','TASK_INFO','SDK\x20调用','toDatasetId',',\x20doType=','\x20groups,\x20','(id,\x20','UPLOAD','datasetCode','keyword','yourModel','errorCode','hasField','getResponseParamsDocInfo','getLatest','VARCHAR','_fieldListV1','isMultipleSelectField','getDatasetDocMeta','TINYINT','//\x20','示例值','N/A','modifierIdField','示例文本','update\x20接口接受两个参数:\x0a\x0a','source','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','isPrimaryKey','主键,用于定位要更新的记录','required','LONGBLOB','createImport','BIT','method','getFieldDefinition','字段编码','properties','_requestExampleCache','getTooltip','getEnumFields','getFieldList','INTEGER','includeRequestExample','getCountByType','1194192zHPvKY','4362gFXkeF','getHTTPFields','Filter\x20API\x20-\x20高级查询接口','field_name','appCode','map','name','BOOLEAN','//\x20Call\x20the\x20','ensureFilterOperation','has\x20conflicts','getInternalInstance','msg','GET_SELECT_OPTIONS','getFieldDisplayName','version','isEmpty','CHAR','forEach','\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','Field(','当前页码(从\x201\x20开始,默认:\x201)','value','totalGroups','CHECKBOX','getDisabledOperationInstances','DatasetGroupMap(','`:\x20','children','导入模板','getOperationsOverviewData','sdkCall','hasDblinkInfo','getPath','getEnumValues','address','支持单值或数组','DATE','\x20operations,\x20v2)','toConfig','condition','getOneUpdate','操作名称','supportsCRUD','DOUBLE','_fieldListV1WithDeleted','normalizeDbType','isUpdateTime','length','DatasetList(','_operationList','DrivenDataDetailV2(','200','$eq','getAutoIncrement','prefix','getCreateTime','getAllFieldsString','分组字段列表','getVirtualTables','getOne','getPrimaryKeyFields','hasLogicField','generateDefaultFilterOperation','join','dbId','HTTP\x20直接调用时使用平铺格式:\x0a','taskInfo','isCreateTime','params','getFullUrl','operationCount','generateSDKInitCode','isMultipleSelect','desc','entries','fieldName','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','trim','Integer','host','isOperationEnabled','\x20operation','groups','_operationAnalyses','responseBody','generateOperationSummary','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','dbVersion','String[]','getEnabledOperations','66273MXIPDx','mapDbTypeToType','doType','generateConfigArray','LONGTEXT','getRealTables','(支持单值或数组)','generateFromSchema','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getMissingCRUDOperations','const\x20fileUrl\x20=\x20await\x20client.models.','\x20operations,\x20','findByCode','selectItemsSource',',\x20fields:\x20','hasCreateTimeField','getAllDatasets','generateRequestExample','(id);','getRelatedDataset','detectConflicts','hasOperation','9015txkFfl','2024-12-31','avg','orderBy','deleted','Object','getRequired','const\x20result\x20=\x20await\x20client.models.','excelExport','$ne','getFieldV2','BLOB','-\x20`','请求示例','multiple','string','getOldest','create','getEnumMeta','BIGINT','size','distinct','({\x20','createTimeField','SWITCH','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getFieldsByType','usageExample','modelCode','$and','tableColumns','split','success','FLOAT','toUpperCase','now','({\x20/*\x20可选:筛选条件\x20*/\x20});','null',',\x20...\x20});','dblinkInfoDTO','groupByType','getSDKInitData','updateTime','[FieldV1.extend]\x20解析字段\x20','getFilterOperation','online','datasetInfo','getDbName','\x20fields)','操作成功','STRING','DATETIME','EXCEL_EXPORT','getOperationDocMeta','isNumericField','generateRequestAllExamples','-$1','getEnum','selectBestOperator','generateExampleValue','data','customFilter','code','[parseFieldExtend]\x20Invalid\x20field:','initDataset','datasetKey','getFieldName','单值查询','SELECT','(实际字段:','\x20indexes)','$lte','({\x20currentPage,\x20pageSize\x20});','getPrimaryKeys','min','createExport','$gteq','value2','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getDatasetMeta','fieldCount','max','HTTP\x20请求示例(平铺格式)','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','aggregate','tenantCode','dataset_','every','groupByTableName','getUpdateTime','TIMESTAMP','createFields','getAppCode','requestFields','no\x20conflicts','isRequired','getFieldOptions','getEnabled','getEnabledOperationInstances','getRawDbtableConfig','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','toDatasetCode','getIndexes','排序规则(与\x20Filter\x20API\x20一致)','env','getOperationAnalysis','当前页码','[generateRequestExample]\x20Invalid\x20field:','stringify','demo-app','getOneOrigin','$in','isFieldPrimaryKey','parseRawRequestBody','dbtableConfig','dataset_unknown','context','getMethod','获取文件URL','getRequestParams','getDOType','displayName','getDisabledNames','\x20items,\x20','**可更新的字段列表:**','forceVersion','hasConflict','status','Array','generateSDKCallCode','creatorNameField','TEXT','placeholder','getExtendField','getDefaultValue','_fields','getTableName','DatasetGroup(','获取下拉选项','_fieldListV2','extend','getResponseSchema','分组后的过滤条件(对聚合结果进行过滤)','CREATE_IMPORT','getSelectItemsSource','toDatasetName','tableData','getAllFieldsArray','findByTableName','parseRawResponseBody','getOperations','slice','获取数据集列表失败:\x20','getSource','JSON','getStats','isSystemField','padStart','\x22,数据集:\x20','$startWith','_datasetMeta','getOperationAnalyses','getOperationList','options','SDK\x20调用时传递两个参数:\x0a','operations','replace','文件上传','getOperationCount','generateFullSDKExample','[Field]\x20Invalid\x20field\x20definition','get','查询列表','$gte','北京市朝阳区','getSystemFields','(id,\x20data);','columnName','creatorIdField','label','item1','select','RADIO','Object[]','conflictGroupCount','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','toJSON','getUpdateFields','getFieldCount','systemRetain','查询单条(原始)','getFieldInstance','();','importTemplate','();\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}','getFieldsFilterOperatorsMap','日期时间','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','indexes','operation','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','getEnabledNames','datasetSDKKey','doVersion','modifyDate','每页数量','sortOperationsWithFilterFirst','type','substring','systemFieldCount','getEnabledOperationAnalyses','getRequiredFields','modelId','toObject','column','getRelationsByField','isArray','hasFilterOperation','FieldV1(','getAt','getOperationOperators','generateConfig','getDbTypeForOperation','generateAllOperationsFullSDKExample','toConfigArray','解析\x20responseBody\x20失败:','_relations','DECIMAL','FieldList(','conflictItemCount','getSystem','description','fromApiResponse','lastIndexOf','pkField','hasTableName','\x20operations,\x20v1)','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','includeDisabled','useFullExample','getAll','数组查询(支持多选)','isRequiredField',',\x20currentPage,\x20pageSize,\x20...\x20});','getHTTPRequestParamsDocInfo','enabled','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getLast','getFields','getField','keys','INT','String','getFieldListV2','autoIncrement','_instance','getBusiness','relations','每页数量(可选)','getDisabledOperations','isBusiness','pageSize','toListItem','_fieldListWithDeleted','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','POST','({\x20code,\x20label\x20});','0000','getNames','repeat','update','RICH_TEXT','generateAliasExplanation','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','successCode','tableName','withDeleted','SDK\x20调用示例(两参数格式)','enumValues','getEnumFieldMeta','getEnumMetas','getDisabled','sortNum','generateResponseExample','sort','BOOL','UPDATE','requestBody','getOperationFieldOperators','email','isVirtualTable','value1','errorMsg','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','getName','_extend','from','Operation\x20not\x20found:\x20','primaryKey','bind','//\x20Usage\x20examples','GET_LIST','getDBConfig','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','where','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','dataIndex','当前页码(可选)','generateSingleValueExample','tooltip','聚合函数配置数组(type:\x20sum/count/avg/max/min)','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','-\x20主键使用\x20`id`\x20字段\x0a','generateHTTPExample','path','suffix','fromField','DrivenDataDetail(','precision','tableKey','isEnum','143AUqWhj','NUMBER','getOperation','getFieldSelectItemsSource','allFields','getCode','getOperationRequestFields','default','having','\x20operations)','count','random','每页数量(默认:\x2020)','GET_ONE_ORIGIN','modifierNameField','TEXTAREA','getList','logicField','dbTypeLen','31465wjnbrG','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','createDate','getDeleted','findByName','updateTimeField','includeDeleted','Invalid\x20API\x20response:\x20success\x20is\x20false','getOperators','getAggregates','SMALLINT','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','\x20relations,\x20','dataset','解析\x20requestBody\x20失败:','<p>富文本内容</p>','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','generateFieldExample','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','getForeignKeyFields','\x20fields,\x20','DESC','$lteq','\x20的\x20extend\x20配置失败:','$or','getSelectOptions','hasModifierIdField','\x20items,\x20conflict,\x20latest:\x20','dbType','includes','boolean','getFieldCode','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','排序规则','getFieldsV2','title','number','getRaw','getFieldOperators','empty','_sum','接口名称','generateUsageExample','object','getUploadFileScript','total'];a0_0x57bd=function(){return _0x2a2081;};return a0_0x57bd();}function generateModelKeyFromCode(_0x4e37af){const _0x458b1a=a0_0x5c95;if(!_0x4e37af)return _0x458b1a(0x129);return _0x458b1a(0x10c)+_0x4e37af;}function getDbName(_0x265e26){const _0x3ca35d=a0_0x5c95;return _0x265e26[_0x3ca35d(0x128)]?.[_0x3ca35d(0x2a9)]||_0x265e26[_0x3ca35d(0x128)]?.[_0x3ca35d(0x3a0)]?.[_0x3ca35d(0x2a9)]||'';}function generateDatasetsConfig(_0x49ff89,_0x5277b3={}){const _0x409097=a0_0x5c95,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x3f516c,filter:_0x17d0b4}=_0x5277b3,_0x4b85e2=_0x17d0b4?_0x49ff89[_0x409097(0x276)](_0x17d0b4):_0x49ff89,_0x46f309=new Map();for(const _0x1ebd14 of _0x4b85e2){const _0x34f150=getTableName(_0x1ebd14),_0x3612e3=getDbName(_0x1ebd14);!_0x46f309[_0x409097(0x27a)](_0x34f150)&&_0x46f309[_0x409097(0x2d7)](_0x34f150,new Set()),_0x46f309[_0x409097(0x161)](_0x34f150)['add'](_0x3612e3);}const _0x24a456=new Set();for(const [_0x229ddc,_0x2862bc]of _0x46f309){_0x2862bc[_0x409097(0x38d)]>0x1&&_0x24a456[_0x409097(0x2d2)](_0x229ddc);}const _0x345935={},_0x4c8969=new Set();for(const _0x167826 of _0x4b85e2){const _0x2195fb=getTableName(_0x167826);if(enableDeduplication&&_0x4c8969['has'](_0x2195fb)){console[_0x409097(0x27e)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x2195fb+_0x409097(0x154)+_0x167826[_0x409097(0x30e)]+'\x20('+_0x167826[_0x409097(0x2e2)]+')');continue;}_0x4c8969[_0x409097(0x2d2)](_0x2195fb);const _0x360b96=_0x3f516c?_0x3f516c(_0x2195fb,_0x167826):getTableKey(_0x2195fb),_0x58435a=getDbName(_0x167826),_0x2e2fd8=_0x24a456[_0x409097(0x27a)](_0x2195fb)&&_0x58435a?getTableKey(_0x58435a)+'_'+_0x360b96:_0x360b96;_0x345935[_0x360b96]={'key':_0x360b96,'alias':_0x2e2fd8,'tableName':_0x2195fb,'datasetCode':_0x167826['datasetCode'],'name':_0x167826[_0x409097(0x30e)],'id':_0x167826['id'],'dbName':_0x58435a};}return _0x345935;}function generateFullDatasetsConfig(_0x530f8f,_0xa83116={}){const _0x4b0f6e=a0_0x5c95,{filter:_0x2fcba3,datasetNameGenerator:_0x5b72e6}=_0xa83116,_0x40f3d0=_0x2fcba3?_0x530f8f['filter'](_0x2fcba3):_0x530f8f,_0x5136d3=new Map();for(const _0x587ae0 of _0x40f3d0){const _0x3c2d9a=getTableName(_0x587ae0),_0x123e75=getDbName(_0x587ae0);!_0x5136d3[_0x4b0f6e(0x27a)](_0x3c2d9a)&&_0x5136d3[_0x4b0f6e(0x2d7)](_0x3c2d9a,new Set()),_0x5136d3['get'](_0x3c2d9a)[_0x4b0f6e(0x2d2)](_0x123e75);}const _0x845b6e=new Set();for(const [_0x17b4b9,_0xea1759]of _0x5136d3){_0xea1759[_0x4b0f6e(0x38d)]>0x1&&_0x845b6e[_0x4b0f6e(0x2d2)](_0x17b4b9);}const _0x123dc1=groupByTableName(_0x40f3d0),_0x52b516={};for(const [_0x3762f4,_0x5a0a4c]of Object[_0x4b0f6e(0x353)](_0x123dc1)){if(_0x5a0a4c['length']===0x1){const _0x262feb=_0x5a0a4c[0x0],_0x20e597=_0x5b72e6?_0x5b72e6(_0x3762f4,_0x262feb):getTableKey(_0x3762f4),_0x146faf=getDbName(_0x262feb),_0xa56a34=_0x845b6e[_0x4b0f6e(0x27a)](_0x3762f4)&&_0x146faf?getTableKey(_0x146faf)+'_'+_0x20e597:_0x20e597;_0x52b516[_0x20e597]={'key':_0x20e597,'alias':_0xa56a34,'tableName':_0x3762f4,'datasetCode':_0x262feb[_0x4b0f6e(0x2e2)],'name':_0x262feb['name'],'id':_0x262feb['id'],'dbName':_0x146faf};}else{const _0x56b5e6=[..._0x5a0a4c][_0x4b0f6e(0x1d3)]((_0x3558cd,_0x13b4b4)=>{const _0x347f7e=Number(_0x3558cd['id'])||0x0,_0x13c080=Number(_0x13b4b4['id'])||0x0;return _0x13c080-_0x347f7e;});_0x56b5e6[_0x4b0f6e(0x31a)]((_0x4adda1,_0x342c90)=>{const _0x2b272f=_0x4b0f6e,_0x359510=_0x5b72e6?_0x5b72e6(_0x3762f4,_0x4adda1):getTableKey(_0x3762f4),_0x542ef8=_0x342c90===0x0?_0x359510:_0x359510+'_'+_0x342c90,_0x5cdadb=getDbName(_0x4adda1),_0x43ddc1=_0x845b6e[_0x2b272f(0x27a)](_0x3762f4)&&_0x5cdadb?getTableKey(_0x5cdadb)+'_'+_0x542ef8:_0x542ef8;_0x52b516[_0x542ef8]={'key':_0x542ef8,'alias':_0x43ddc1,'tableName':_0x3762f4,'datasetCode':_0x4adda1[_0x2b272f(0x2e2)],'name':_0x4adda1['name'],'id':_0x4adda1['id'],'dbName':_0x5cdadb};});}}return _0x52b516;}function detectTableNameConflicts(_0x2128d7){const _0x4c5855=a0_0x5c95,_0x2753ba={};for(const _0x167c16 of _0x2128d7){const _0x3c70a8=getTableName(_0x167c16);!_0x2753ba[_0x3c70a8]&&(_0x2753ba[_0x3c70a8]=[]),_0x2753ba[_0x3c70a8]['push'](_0x167c16);}const _0x8a6fd3={};for(const [_0x35bae5,_0x1f6ab9]of Object[_0x4c5855(0x353)](_0x2753ba)){_0x1f6ab9[_0x4c5855(0x338)]>0x1&&(_0x8a6fd3[_0x35bae5]=_0x1f6ab9);}return{'hasConflicts':Object[_0x4c5855(0x1b1)](_0x8a6fd3)[_0x4c5855(0x338)]>0x0,'conflicts':_0x8a6fd3};}function createDatasetNameMap(_0xadc2eb){const _0x33647d=a0_0x5c95,_0x27b300={};for(const [_0x2bcd90,_0x1a45d3]of Object['entries'](_0xadc2eb)){_0x27b300[_0x2bcd90]=_0x1a45d3[_0x33647d(0x2e2)]||'';}return _0x27b300;}function groupByTableName(_0x396643){const _0x5ad9e4={};for(const _0x4c71d8 of _0x396643){const _0x32069f=getTableName(_0x4c71d8);!_0x5ad9e4[_0x32069f]&&(_0x5ad9e4[_0x32069f]=[]),_0x5ad9e4[_0x32069f]['push'](_0x4c71d8);}return _0x5ad9e4;}function datasetsConfigToArray(_0x1b2e23){const _0x5c1187=a0_0x5c95;return Object[_0x5c1187(0x2d4)](_0x1b2e23);}function adaptDrivenDataDetail(_0x3041eb){const _0x4d256d=a0_0x5c95,_0x8d3dfd={};return _0x8d3dfd['id']=_0x3041eb[_0x4d256d(0x18b)],_0x8d3dfd['name']=_0x3041eb[_0x4d256d(0x30e)],_0x8d3dfd[_0x4d256d(0x2e2)]=_0x3041eb[_0x4d256d(0x395)],_0x8d3dfd['dbtableConfig']=_0x3041eb[_0x4d256d(0x128)],_0x8d3dfd[_0x4d256d(0x2f4)]=_0x3041eb[_0x4d256d(0x2f4)],_0x8d3dfd['version']=_0x3041eb[_0x4d256d(0x317)],_0x8d3dfd[_0x4d256d(0x142)]=_0x3041eb[_0x4d256d(0x142)],_0x8d3dfd['properties']=_0x3041eb['properties'],_0x8d3dfd[_0x4d256d(0x15b)]=_0x3041eb[_0x4d256d(0x15b)],_0x8d3dfd;}function adaptDrivenDataDetails(_0x5d15fd){return _0x5d15fd['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x274940){const _0x2dbf71=a0_0x5c95;if(!_0x274940[_0x2dbf71(0x399)]||!_0x274940['data'])throw new Error('获取数据集失败:\x20'+(_0x274940[_0x2dbf71(0x1db)]||_0x274940[_0x2dbf71(0x314)]));return adaptDrivenDataDetail(_0x274940[_0x2dbf71(0x3b5)]);}function extractDatasetsFromListResponse(_0x133437){const _0x1e015f=a0_0x5c95;if(!_0x133437[_0x1e015f(0x399)]||!_0x133437['data']?.[_0x1e015f(0x148)])throw new Error(_0x1e015f(0x14e)+(_0x133437['errorMsg']||_0x133437[_0x1e015f(0x314)]));return _0x133437[_0x1e015f(0x3b5)][_0x1e015f(0x148)][_0x1e015f(0x30d)](_0x58415c=>({..._0x58415c,'datasetCode':_0x58415c[_0x1e015f(0x3b7)]||_0x58415c[_0x1e015f(0x2e2)]}));}function isDrivenDataDetail(_0x157285){const _0x4603fc=a0_0x5c95;return Boolean(_0x157285&&typeof _0x157285[_0x4603fc(0x395)]===_0x4603fc(0x388));}function smartAdapt(_0x26b02e){const _0xe00d9b=a0_0x5c95;if(isDrivenDataDetail(_0x26b02e))return adaptDrivenDataDetail(_0x26b02e);if(_0x26b02e[_0xe00d9b(0x2e2)])return _0x26b02e;if(_0x26b02e[_0xe00d9b(0x3b7)]){const _0x36f11e={..._0x26b02e};return _0x36f11e[_0xe00d9b(0x2e2)]=_0x26b02e[_0xe00d9b(0x3b7)],_0x36f11e;}return _0x26b02e;}function cleanNewlines(_0x10c584){const _0xc580d4=a0_0x5c95;return _0x10c584[_0xc580d4(0x15c)](/[\r\n]+/g,'\x20')['trim']();}function cleanDatasetName(_0x546805){const _0x35a2a3=a0_0x5c95;if(!_0x546805[_0x35a2a3(0x30e)])return _0x546805;return{..._0x546805,'name':cleanNewlines(_0x546805[_0x35a2a3(0x30e)])};}function cleanDatasetNames(_0x40f0d9){return _0x40f0d9['map'](cleanDatasetName);}var DatasetOperationType;(_0x3b5923=>{const _0x1256c8=a0_0x5c95;_0x3b5923[_0x1256c8(0x1e4)]='getList',_0x3b5923[_0x1256c8(0x2a6)]=_0x1256c8(0x344),_0x3b5923[_0x1256c8(0x205)]=_0x1256c8(0x124),_0x3b5923[_0x1256c8(0x256)]=_0x1256c8(0x331),_0x3b5923['CREATE']=_0x1256c8(0x38a),_0x3b5923[_0x1256c8(0x1d5)]=_0x1256c8(0x1c5),_0x3b5923[_0x1256c8(0x28d)]=_0x1256c8(0x270),_0x3b5923[_0x1256c8(0x315)]='getSelectOptions',_0x3b5923['GET_FILE_URL']='getFileUrl',_0x3b5923[_0x1256c8(0x3ad)]=_0x1256c8(0x381),_0x3b5923['GET_UPLOAD_FILE_SCRIPT']=_0x1256c8(0x237),_0x3b5923[_0x1256c8(0x145)]='createImport',_0x3b5923[_0x1256c8(0x299)]=_0x1256c8(0x3c4),_0x3b5923[_0x1256c8(0x2db)]=_0x1256c8(0x34b),_0x3b5923['IMPORT_TEMPLATE']=_0x1256c8(0x178);})(DatasetOperationType||={});const a0_0xa14466={};a0_0xa14466['getList']=a0_0x4986fd(0x162),a0_0xa14466[a0_0x4986fd(0x344)]=a0_0x4986fd(0x2be),a0_0xa14466[a0_0x4986fd(0x124)]=a0_0x4986fd(0x175),a0_0xa14466['getOneUpdate']='查询单条(用于更新)',a0_0xa14466[a0_0x4986fd(0x38a)]='创建',a0_0xa14466[a0_0x4986fd(0x1c5)]='更新',a0_0xa14466[a0_0x4986fd(0x270)]='删除',a0_0xa14466[a0_0x4986fd(0x224)]=a0_0x4986fd(0x140),a0_0xa14466['getFileUrl']=a0_0x4986fd(0x12c),a0_0xa14466[a0_0x4986fd(0x381)]=a0_0x4986fd(0x289),a0_0xa14466[a0_0x4986fd(0x237)]=a0_0x4986fd(0x2d0),a0_0xa14466[a0_0x4986fd(0x2fa)]=a0_0x4986fd(0x2ba),a0_0xa14466[a0_0x4986fd(0x3c4)]=a0_0x4986fd(0x247),a0_0xa14466[a0_0x4986fd(0x34b)]='任务信息',a0_0xa14466['importTemplate']=a0_0x4986fd(0x325);var OPERATION_TYPE_DISPLAY_NAME=a0_0xa14466,API_BLACKLIST=[a0_0x4986fd(0x208),a0_0x4986fd(0x124),a0_0x4986fd(0x331),'getFileUrl'];function parseFieldExtend(_0x4de958){const _0x4e2a63=a0_0x4986fd;if(!_0x4de958||typeof _0x4de958!==_0x4e2a63(0x236))return!![]&&console[_0x4e2a63(0x27e)](_0x4e2a63(0x3b8),_0x4de958),{};if(!_0x4de958[_0x4e2a63(0x142)])return{};try{const _0x98609a=typeof _0x4de958[_0x4e2a63(0x142)]==='string'?JSON[_0x4e2a63(0x2a3)](_0x4de958[_0x4e2a63(0x142)]):_0x4de958[_0x4e2a63(0x142)];if(typeof _0x98609a!=='object'||_0x98609a===null)return{};return _0x98609a;}catch{return{};}}function isPrimaryKeyField(_0x62067f,_0x406059){const _0x48af87=a0_0x4986fd;if(!_0x62067f||typeof _0x62067f!==_0x48af87(0x236))return![];if(typeof _0x406059===_0x48af87(0x388)&&_0x62067f['code']===_0x406059)return!![];const _0x41f974=parseFieldExtend(_0x62067f);return Boolean(_0x41f974[_0x48af87(0x1e1)]||_0x41f974['pkField']);}function isSystemField(_0x108b41){const _0x5b266e=a0_0x4986fd,_0x28204e=parseFieldExtend(_0x108b41);return Boolean(_0x28204e[_0x5b266e(0x174)]);}function isRequiredField(_0x9ff7f1){const _0x277798=a0_0x4986fd,_0x3e15f4=parseFieldExtend(_0x9ff7f1);return Boolean(_0x3e15f4[_0x277798(0x2f8)]);}function isAutoIncrementField(_0x113521){const _0x4053cc=a0_0x4986fd,_0x38a259=parseFieldExtend(_0x113521);return Boolean(_0x38a259[_0x4053cc(0x1b5)]);}function isCreateTimeField(_0x3a21a7){const _0x19982a=a0_0x4986fd,_0x2f5844=parseFieldExtend(_0x3a21a7);return Boolean(_0x2f5844[_0x19982a(0x20d)]);}function isModifyTimeField(_0x18cee0){const _0x58f31f=a0_0x4986fd,_0x1e18bb=parseFieldExtend(_0x18cee0);return Boolean(_0x1e18bb[_0x58f31f(0x183)]);}const a0_0x3b6c87={};a0_0x3b6c87['NUMBER']='数字',a0_0x3b6c87[a0_0x4986fd(0x139)]='文本',a0_0x3b6c87[a0_0x4986fd(0x207)]=a0_0x4986fd(0x265),a0_0x3b6c87[a0_0x4986fd(0x32d)]='日期',a0_0x3b6c87[a0_0x4986fd(0x3ac)]=a0_0x4986fd(0x17b),a0_0x3b6c87[a0_0x4986fd(0x110)]='时间戳',a0_0x3b6c87[a0_0x4986fd(0x3bd)]='下拉选择',a0_0x3b6c87[a0_0x4986fd(0x320)]='多选',a0_0x3b6c87[a0_0x4986fd(0x16c)]='单选',a0_0x3b6c87[a0_0x4986fd(0x391)]='开关',a0_0x3b6c87[a0_0x4986fd(0x2e1)]=a0_0x4986fd(0x15d),a0_0x3b6c87[a0_0x4986fd(0x27d)]='图片',a0_0x3b6c87[a0_0x4986fd(0x1c6)]='富文本',a0_0x3b6c87['JSON']=a0_0x4986fd(0x150),a0_0x3b6c87[a0_0x4986fd(0x257)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x3b6c87;function getDbTypeDisplay(_0x5a742c){const _0x137eb1=a0_0x4986fd;if(typeof _0x5a742c!==_0x137eb1(0x388))return!![]&&console[_0x137eb1(0x27e)](_0x137eb1(0x26e),_0x5a742c),String(_0x5a742c||'-');return DB_TYPE_DISPLAY_MAP[_0x5a742c]||_0x5a742c;}function formatDbType(_0x1a4e5a,_0x383733){const _0x555283=a0_0x4986fd;if(!_0x1a4e5a||typeof _0x1a4e5a!==_0x555283(0x388))return'-';if(!_0x383733||typeof _0x383733!==_0x555283(0x22f))return _0x1a4e5a;const _0xc804f2=[_0x555283(0x139),_0x555283(0x3ac),_0x555283(0x110),_0x555283(0x32d)];if(_0xc804f2[_0x555283(0x228)](_0x1a4e5a['toUpperCase']()))return _0x1a4e5a;return _0x1a4e5a+'('+_0x383733+')';}function parseOperationType(_0x2ff09c){const _0x18418d=a0_0x4986fd;if(typeof _0x2ff09c!=='string'){!![]&&console[_0x18418d(0x27e)](_0x18418d(0x216),_0x2ff09c);return;}if(Object[_0x18418d(0x2d4)](DatasetOperationType)['includes'](_0x2ff09c))return _0x2ff09c;const _0x1a5037=Object[_0x18418d(0x353)](OPERATION_TYPE_DISPLAY_NAME)[_0x18418d(0x2b4)](([_0x5d5efe,_0x1349a7])=>_0x1349a7===_0x2ff09c);return _0x1a5037?_0x1a5037[0x0]:undefined;}function shouldIncludeField(_0x41524e,_0x37bbca,_0x983316){const _0xf7b910=a0_0x4986fd,_0x5d26f3=parseFieldExtend(_0x41524e),_0x44304d=isPrimaryKeyField(_0x41524e,_0x983316),_0x313d2b=Boolean(_0x5d26f3[_0xf7b910(0x174)]),_0x58957d=Boolean(_0x5d26f3[_0xf7b910(0x1b5)]),_0x5e6f8a=Boolean(_0x5d26f3[_0xf7b910(0x20d)]),_0x40f765=Boolean(_0x5d26f3[_0xf7b910(0x183)]);switch(_0x37bbca){case'getList':return!![];case _0xf7b910(0x344):case'getOneOrigin':case _0xf7b910(0x270):return _0x44304d;case _0xf7b910(0x38a):if(_0x44304d&&_0x58957d)return![];if(_0x313d2b)return![];if(_0x5e6f8a||_0x40f765)return![];return!![];case _0xf7b910(0x1c5):case _0xf7b910(0x331):if(_0x44304d)return!![];if(_0x313d2b)return![];if(_0x5e6f8a||_0x40f765)return![];return!![];case'getSelectOptions':return _0x41524e[_0xf7b910(0x3b7)]===_0xf7b910(0x3b7);default:return!![];}}function getFieldsForOperation(_0x18b770,_0x3dc101,_0xc5f6d6){const _0x3c5417=a0_0x4986fd;if(!Array['isArray'](_0x18b770))return!![]&&console[_0x3c5417(0x27e)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x18b770),[];return _0x18b770[_0x3c5417(0x276)](_0x3a548d=>shouldIncludeField(_0x3a548d,_0x3dc101,_0xc5f6d6));}function isApiBlacklisted(_0x222b75){const _0x5c6656=a0_0x4986fd;if(typeof _0x222b75!==_0x5c6656(0x388))return!![]&&console[_0x5c6656(0x27e)](_0x5c6656(0x2f5),_0x222b75),![];return API_BLACKLIST[_0x5c6656(0x228)](_0x222b75);}function a0_0x5c95(_0xdae66f,_0x209759){_0xdae66f=_0xdae66f-0x103;const _0x57bd23=a0_0x57bd();let _0x5c9523=_0x57bd23[_0xdae66f];return _0x5c9523;}function filterApiOperations(_0xa3486a){const _0x2f64c1=a0_0x4986fd;if(!Array[_0x2f64c1(0x18f)](_0xa3486a))return!![]&&console['warn'](_0x2f64c1(0x36b),_0xa3486a),[];return _0xa3486a['filter'](_0x5ef722=>_0x5ef722&&typeof _0x5ef722===_0x2f64c1(0x236)&&!isApiBlacklisted(_0x5ef722[_0x2f64c1(0x30e)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x4986fd(0x39c)](),'SELECT':({fieldInfo:_0x4de5c2})=>{const _0x4ae731=a0_0x4986fd;if(_0x4de5c2?.[_0x4ae731(0x159)]&&Array['isArray'](_0x4de5c2['options'])&&_0x4de5c2[_0x4ae731(0x159)][_0x4ae731(0x338)]>0x0)return _0x4de5c2['options'][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x5c3fa2})=>{const _0x1d382d=a0_0x4986fd;if(_0x5c3fa2===_0x1d382d(0x27f))return 0x1;if(_0x5c3fa2===_0x1d382d(0x1bc))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x56b308})=>{const _0x3f0a97=a0_0x4986fd;if(_0x56b308&&typeof _0x56b308===_0x3f0a97(0x388)){const _0x319cfa=_0x56b308[_0x3f0a97(0x258)]();if(_0x319cfa[_0x3f0a97(0x228)]('邮箱')||_0x319cfa[_0x3f0a97(0x228)](_0x3f0a97(0x1d8)))return'user@example.com';if(_0x319cfa['includes']('电话')||_0x319cfa['includes']('手机')||_0x319cfa[_0x3f0a97(0x228)]('phone'))return _0x3f0a97(0x278);if(_0x319cfa[_0x3f0a97(0x228)]('地址')||_0x319cfa[_0x3f0a97(0x228)](_0x3f0a97(0x32b)))return _0x3f0a97(0x164);if(_0x319cfa[_0x3f0a97(0x228)]('姓名')||_0x319cfa['includes']('name'))return'张三';}return _0x3f0a97(0x2f2);},'VARCHAR':({description:_0x7a8cb9})=>TYPE_VALUE_GENERATORS[a0_0x4986fd(0x139)]({'description':_0x7a8cb9}),'CHAR':({description:_0x3a7128})=>TYPE_VALUE_GENERATORS[a0_0x4986fd(0x139)]({'description':_0x3a7128}),'STRING':({fieldInfo:_0x44ef5f,description:_0x7f4719})=>{const _0x305d5c=a0_0x4986fd;if(_0x44ef5f?.[_0x305d5c(0x13a)]&&typeof _0x44ef5f[_0x305d5c(0x13a)]===_0x305d5c(0x388)&&_0x44ef5f[_0x305d5c(0x13a)]!=='系统自动生成')return _0x44ef5f[_0x305d5c(0x13a)][_0x305d5c(0x15c)](/^请输入|^请选择/,'');const _0x4b6829={};return _0x4b6829[_0x305d5c(0x19e)]=_0x7f4719,TYPE_VALUE_GENERATORS[_0x305d5c(0x139)](_0x4b6829);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x4986fd(0x28f),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x4986fd(0x16a),'item2'],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x4986fd(0x2d3),'RICH_TEXT':()=>a0_0x4986fd(0x21a)};function generateExampleValue(_0x2bf921,_0x2b02e5,_0x4435c5,_0x150da3={}){const _0xabd26=a0_0x4986fd;typeof _0x2bf921!==_0xabd26(0x388)&&(!![]&&console[_0xabd26(0x27e)](_0xabd26(0x11a),_0x2bf921),_0x2bf921=String(_0x2bf921||''));if(typeof _0x2b02e5!==_0xabd26(0x388))return!![]&&console[_0xabd26(0x27e)](_0xabd26(0x103),_0x2b02e5),_0xabd26(0x2ef);const {isPrimaryKey:_0x26fbdd,dbtableConfig:_0x1b22dc}=_0x150da3;if(_0x26fbdd)return 0x1;if(_0x1b22dc&&typeof _0x1b22dc===_0xabd26(0x236)){const _0x5e1411=_0x1b22dc[_0xabd26(0x390)]?.[_0xabd26(0x354)]===_0x2bf921,_0x16ac58=_0x1b22dc[_0xabd26(0x210)]?.[_0xabd26(0x354)]===_0x2bf921;if(_0x5e1411||_0x16ac58){if(_0x4435c5&&typeof _0x4435c5===_0xabd26(0x388)&&_0x4435c5[_0xabd26(0x39b)]()[_0xabd26(0x228)](_0xabd26(0x110)))return Date[_0xabd26(0x39c)]();return new Date()[_0xabd26(0x2ad)]()[_0xabd26(0x15c)]('T','\x20')[_0xabd26(0x398)]('.')[0x0];}}const _0x3a8cb3={..._0x150da3};_0x3a8cb3[_0xabd26(0x25e)]=_0x2bf921;const _0x58799a=_0x3a8cb3;if(_0x4435c5&&typeof _0x4435c5==='string'){const _0x59bdb0=_0x4435c5[_0xabd26(0x39b)](),_0x29bb16=TYPE_VALUE_GENERATORS[_0x59bdb0];if(_0x29bb16)return _0x29bb16(_0x58799a);}if(_0x2b02e5&&typeof _0x2b02e5===_0xabd26(0x388)){const _0x5129f5=_0x2b02e5[_0xabd26(0x39b)](),_0xb20653=TYPE_VALUE_GENERATORS[_0x5129f5];if(_0xb20653)return _0xb20653(_0x58799a);}return _0xabd26(0x2ef);}function generateExampleFromSchema(_0x4f96f3,_0x5c2f1f){const _0x14c22f=a0_0x4986fd;if(!_0x4f96f3||typeof _0x4f96f3!==_0x14c22f(0x236))return{};if(Array['isArray'](_0x4f96f3)){if(_0x4f96f3[_0x14c22f(0x338)]>0x0)return[generateExampleFromSchema(_0x4f96f3[0x0],_0x5c2f1f)];return[];}const _0x26998c={};return Object['keys'](_0x4f96f3)['forEach'](_0x445d97=>{const _0x329e84=_0x14c22f,_0x3ee4e5=_0x4f96f3[_0x445d97];if(_0x3ee4e5&&typeof _0x3ee4e5===_0x329e84(0x236)&&!Array[_0x329e84(0x18f)](_0x3ee4e5)&&_0x3ee4e5[_0x329e84(0x186)]){const _0x67239a=_0x3ee4e5,_0x1ac1cd=_0x67239a['type'],_0x3ae49c=_0x67239a[_0x329e84(0x19e)];if(typeof _0x1ac1cd===_0x329e84(0x388)){const _0x4b9de2={};_0x4b9de2['description']=_0x3ae49c,_0x4b9de2[_0x329e84(0x128)]=_0x5c2f1f,_0x26998c[_0x445d97]=generateExampleValue(_0x445d97,_0x1ac1cd,undefined,_0x4b9de2);}else _0x26998c[_0x445d97]='示例值';}else{if(Array[_0x329e84(0x18f)](_0x3ee4e5))_0x26998c[_0x445d97]=_0x3ee4e5[_0x329e84(0x338)]>0x0?[generateExampleFromSchema(_0x3ee4e5[0x0],_0x5c2f1f)]:[];else _0x3ee4e5&&typeof _0x3ee4e5==='object'?_0x26998c[_0x445d97]=generateExampleFromSchema(_0x3ee4e5,_0x5c2f1f):_0x26998c[_0x445d97]=_0x3ee4e5;}}),_0x26998c;}function parseRequestBody(_0x50bd13){const _0x4aa4c1=a0_0x4986fd;if(!_0x50bd13)return{};try{return JSON[_0x4aa4c1(0x2a3)](_0x50bd13);}catch(_0x89b500){return!![]&&console[_0x4aa4c1(0x27e)](_0x4aa4c1(0x219),_0x89b500),{};}}function parseResponseBody(_0x5af419){const _0x42ec0f=a0_0x4986fd;if(!_0x5af419)return null;try{const _0x20438c=JSON[_0x42ec0f(0x2a3)](_0x5af419);return _0x20438c[_0x42ec0f(0x33c)]||_0x20438c;}catch(_0x42020c){return!![]&&console[_0x42ec0f(0x27e)](_0x42ec0f(0x198),_0x42020c),null;}}function generateRequestExample(_0x401854,_0x20e2e6,_0xb67e58,_0x3da408){const _0x5ad712=a0_0x4986fd,_0x44e741={};if(!Array[_0x5ad712(0x18f)](_0x401854))return!![]&&console[_0x5ad712(0x27e)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x401854),_0x44e741;return _0x401854[_0x5ad712(0x31a)](_0x3057d8=>{const _0x216e98=_0x5ad712;if(!_0x3057d8||typeof _0x3057d8!==_0x216e98(0x236)){!![]&&console[_0x216e98(0x27e)](_0x216e98(0x121),_0x3057d8);return;}if(typeof _0x3057d8[_0x216e98(0x3b7)]!==_0x216e98(0x388)||typeof _0x3057d8[_0x216e98(0x186)]!==_0x216e98(0x388)){!![]&&console[_0x216e98(0x27e)](_0x216e98(0x21b),_0x3057d8);return;}const _0x2b9a40=parseFieldExtend(_0x3057d8),_0x5093ba=_0x3057d8[_0x216e98(0x3b7)]===_0xb67e58||Boolean(_0x2b9a40?.['primaryKey']),_0x175ff4=generateExampleValue(_0x3057d8[_0x216e98(0x3b7)],_0x3057d8[_0x216e98(0x186)],typeof _0x3057d8[_0x216e98(0x227)]===_0x216e98(0x388)?_0x3057d8[_0x216e98(0x227)]:undefined,{'fieldInfo':_0x2b9a40,'isPrimaryKey':_0x5093ba,'description':_0x3057d8[_0x216e98(0x19e)]||_0x3057d8[_0x216e98(0x30e)],'dbtableConfig':_0x3da408});_0x44e741[_0x3057d8[_0x216e98(0x3b7)]]=_0x175ff4;}),_0x20e2e6==='getList'&&(_0x44e741['currentPage']=0x1,_0x44e741[_0x5ad712(0x1bc)]=0xa),_0x44e741;}function formatEnumValue(_0x24a53c,_0x1f5afb){const _0x2ac589=a0_0x4986fd;if(_0x24a53c[_0x2ac589(0x387)]&&Array[_0x2ac589(0x18f)](_0x1f5afb))return _0x1f5afb['map'](_0x4e0886=>_0x24a53c['valueLabels'][String(_0x4e0886)]||String(_0x4e0886))[_0x2ac589(0x348)](',\x20');return _0x24a53c[_0x2ac589(0x271)][String(_0x1f5afb)]||String(_0x1f5afb);}function formatOptionsForDoc(_0x4545b3){const _0xee527c=a0_0x4986fd;return _0x4545b3[_0xee527c(0x30d)](_0x7b3ab5=>_0x7b3ab5['value']+'('+_0x7b3ab5['label']+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x138152,_0x229e96=0x0){const _0x57c9dd=a0_0x4986fd,_0x34ad9b='\x20\x20'[_0x57c9dd(0x1c4)](_0x229e96),_0x29d87b=[];return _0x138152[_0x57c9dd(0x31a)](_0x70b4cf=>{const _0x690714=_0x57c9dd;_0x29d87b[_0x690714(0x279)](_0x34ad9b+_0x690714(0x385)+_0x70b4cf['value']+_0x690714(0x323)+_0x70b4cf[_0x690714(0x169)]),_0x70b4cf['children']&&_0x70b4cf['children']['length']>0x0&&_0x29d87b[_0x690714(0x279)](formatOptionsAsMarkdownList(_0x70b4cf[_0x690714(0x324)],_0x229e96+0x1));}),_0x29d87b[_0x57c9dd(0x348)]('\x0a');}class DbtableConfig{[a0_0x4986fd(0x283)];constructor(_0x2efede){const _0x31f920={..._0x2efede};this['_raw']=_0x31f920;}get[a0_0x4986fd(0x349)](){const _0x3b2a4d=a0_0x4986fd;return this[_0x3b2a4d(0x283)][_0x3b2a4d(0x349)];}get[a0_0x4986fd(0x2a9)](){const _0x975e7=a0_0x4986fd;return this['_raw'][_0x975e7(0x2a9)]??this['_raw'][_0x975e7(0x3a0)]?.[_0x975e7(0x2a9)];}get[a0_0x4986fd(0x1ca)](){return this['_raw']['tableName'];}get[a0_0x4986fd(0x3ba)](){const _0x4a4620=a0_0x4986fd;return this['_raw'][_0x4a4620(0x3ba)];}get[a0_0x4986fd(0x1a1)](){const _0x3bcd9b=a0_0x4986fd;return this[_0x3bcd9b(0x283)][_0x3bcd9b(0x1a1)];}get[a0_0x4986fd(0x284)](){const _0x32492d=a0_0x4986fd;return this[_0x32492d(0x283)][_0x32492d(0x284)];}get['logicField'](){return this['_raw']['logicField'];}get[a0_0x4986fd(0x390)](){const _0x558fb5=a0_0x4986fd;return this[_0x558fb5(0x283)][_0x558fb5(0x390)];}get[a0_0x4986fd(0x210)](){const _0x2a34e0=a0_0x4986fd;return this[_0x2a34e0(0x283)][_0x2a34e0(0x210)];}get[a0_0x4986fd(0x168)](){const _0x4420b7=a0_0x4986fd;return this[_0x4420b7(0x283)][_0x4420b7(0x168)];}get['creatorNameField'](){const _0x1b3ce2=a0_0x4986fd;return this['_raw'][_0x1b3ce2(0x138)];}get[a0_0x4986fd(0x2f1)](){const _0x517971=a0_0x4986fd;return this['_raw'][_0x517971(0x2f1)];}get[a0_0x4986fd(0x206)](){const _0x890ac0=a0_0x4986fd;return this[_0x890ac0(0x283)][_0x890ac0(0x206)];}get['dblinkInfoDTO'](){const _0x414613=a0_0x4986fd;return this['_raw'][_0x414613(0x3a0)];}[a0_0x4986fd(0x149)](){const _0x50883f=a0_0x4986fd;if(!this[_0x50883f(0x283)][_0x50883f(0x1fc)])return[];return this[_0x50883f(0x283)][_0x50883f(0x1fc)][_0x50883f(0x398)](',')[_0x50883f(0x30d)](_0x3ff079=>_0x3ff079[_0x50883f(0x356)]())[_0x50883f(0x276)](Boolean);}[a0_0x4986fd(0x341)](){const _0x50fa06=a0_0x4986fd;return this[_0x50fa06(0x283)][_0x50fa06(0x1fc)];}[a0_0x4986fd(0x2e6)](_0x2556e5){const _0x542ebf=a0_0x4986fd;return this['getAllFieldsArray']()[_0x542ebf(0x228)](_0x2556e5);}[a0_0x4986fd(0x1a2)](){const _0x45344a=a0_0x4986fd;return Boolean(this[_0x45344a(0x283)][_0x45344a(0x1ca)]);}[a0_0x4986fd(0x328)](){const _0x69a476=a0_0x4986fd;return Boolean(this['_raw'][_0x69a476(0x3a0)]);}['hasLogicField'](){const _0x445e62=a0_0x4986fd;return Boolean(this[_0x445e62(0x283)][_0x445e62(0x209)]?.['fieldName']);}[a0_0x4986fd(0x372)](){const _0x6abb06=a0_0x4986fd;return Boolean(this[_0x6abb06(0x283)]['createTimeField']?.[_0x6abb06(0x354)]);}[a0_0x4986fd(0x2c1)](){const _0x4e236e=a0_0x4986fd;return Boolean(this[_0x4e236e(0x283)][_0x4e236e(0x210)]?.[_0x4e236e(0x354)]);}[a0_0x4986fd(0x249)](){const _0x3ddabc=a0_0x4986fd;return Boolean(this[_0x3ddabc(0x283)][_0x3ddabc(0x168)]?.[_0x3ddabc(0x354)]);}['hasModifierIdField'](){const _0x5e8338=a0_0x4986fd;return Boolean(this[_0x5e8338(0x283)][_0x5e8338(0x2f1)]?.[_0x5e8338(0x354)]);}[a0_0x4986fd(0x2bc)](_0xf5891b){const _0x54e79f=a0_0x4986fd;return this[_0x54e79f(0x283)][_0x54e79f(0x1a1)]===_0xf5891b;}['isSystemField'](_0x5921f2){const _0x5204bf=a0_0x4986fd;return this[_0x5204bf(0x2bc)](_0x5921f2)||this[_0x5204bf(0x283)][_0x5204bf(0x209)]?.[_0x5204bf(0x354)]===_0x5921f2||this[_0x5204bf(0x283)][_0x5204bf(0x390)]?.[_0x5204bf(0x354)]===_0x5921f2||this['_raw'][_0x5204bf(0x210)]?.[_0x5204bf(0x354)]===_0x5921f2||this[_0x5204bf(0x283)]['creatorIdField']?.[_0x5204bf(0x354)]===_0x5921f2||this[_0x5204bf(0x283)][_0x5204bf(0x138)]?.['fieldName']===_0x5921f2||this['_raw'][_0x5204bf(0x2f1)]?.[_0x5204bf(0x354)]===_0x5921f2||this['_raw'][_0x5204bf(0x206)]?.[_0x5204bf(0x354)]===_0x5921f2;}['getDatabaseName'](){const _0x317231=a0_0x4986fd;return this[_0x317231(0x283)][_0x317231(0x3a0)]?.['dbName'];}['getDatabaseType'](){const _0x4168b0=a0_0x4986fd;return this[_0x4168b0(0x283)][_0x4168b0(0x3a0)]?.[_0x4168b0(0x227)];}['getDatabaseVersion'](){const _0x284d62=a0_0x4986fd;return this[_0x284d62(0x283)]['dblinkInfoDTO']?.[_0x284d62(0x360)];}['getTenantCode'](){const _0x3bed2a=a0_0x4986fd;return this[_0x3bed2a(0x283)][_0x3bed2a(0x3a0)]?.[_0x3bed2a(0x10b)];}[a0_0x4986fd(0x112)](){const _0x373fbc=a0_0x4986fd;return this[_0x373fbc(0x283)][_0x373fbc(0x3a0)]?.[_0x373fbc(0x30c)];}['getSystemAnalysisResult'](){const _0x514bd9=a0_0x4986fd;return this[_0x514bd9(0x283)][_0x514bd9(0x3a0)]?.['systemAnalysisResult'];}[a0_0x4986fd(0x151)](){const _0x1cada1=a0_0x4986fd;return{'hasTableName':this[_0x1cada1(0x1a2)](),'hasDblinkInfo':this[_0x1cada1(0x328)](),'fieldCount':this[_0x1cada1(0x149)]()[_0x1cada1(0x338)],'systemFields':{'hasLogicField':this[_0x1cada1(0x346)](),'hasCreateTimeField':this[_0x1cada1(0x372)](),'hasUpdateTimeField':this[_0x1cada1(0x2c1)](),'hasCreatorIdField':this[_0x1cada1(0x249)](),'hasModifierIdField':this[_0x1cada1(0x225)]()}};}[a0_0x4986fd(0x32f)](){const _0x491545=a0_0x4986fd,_0x202366={};return _0x202366[_0x491545(0x1ca)]=this[_0x491545(0x1ca)],_0x202366['pkField']=this[_0x491545(0x1a1)],_0x202366[_0x491545(0x3ba)]=this['datasetKey'],_0x202366['dbId']=this['dbId'],_0x202366;}[a0_0x4986fd(0x171)](){const _0x527680=a0_0x4986fd,_0x31cc55={...this[_0x527680(0x283)]};return _0x31cc55;}[a0_0x4986fd(0x230)](){const _0x135d0f={...this['_raw']};return _0x135d0f;}[a0_0x4986fd(0x28a)](){const _0x82e106=a0_0x4986fd,_0x587493=this[_0x82e106(0x1ca)]||_0x82e106(0x2f0),_0x287ab7=this[_0x82e106(0x149)]()[_0x82e106(0x338)];return'DbtableConfig(table:\x20'+_0x587493+_0x82e106(0x371)+_0x287ab7+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x4986fd(0x283)];constructor(_0x1c6e1a){const _0x831b43=a0_0x4986fd,_0x4ab55a=_0x1c6e1a[_0x831b43(0x2e2)]||_0x1c6e1a['code']||_0x1c6e1a[_0x831b43(0x395)],_0x12f960={..._0x1c6e1a};_0x12f960[_0x831b43(0x2e2)]=_0x4ab55a,this[_0x831b43(0x283)]=_0x12f960;}get['id'](){const _0x21a73e=a0_0x4986fd;return this[_0x21a73e(0x283)]['id'];}get['name'](){const _0x274315=a0_0x4986fd;return this[_0x274315(0x283)][_0x274315(0x30e)];}[a0_0x4986fd(0x1dd)](){const _0x233057=a0_0x4986fd;return this[_0x233057(0x30e)];}get[a0_0x4986fd(0x2e2)](){const _0x5b142b=a0_0x4986fd;return this[_0x5b142b(0x283)][_0x5b142b(0x2e2)]||'';}get['dbtableConfig'](){const _0x55001d=a0_0x4986fd;if(!this[_0x55001d(0x283)][_0x55001d(0x128)])return null;return new DbtableConfig(this[_0x55001d(0x283)][_0x55001d(0x128)]);}[a0_0x4986fd(0x119)](){const _0x4f775a=a0_0x4986fd;return this[_0x4f775a(0x283)]['dbtableConfig'];}[a0_0x4986fd(0x3a8)](){const _0x92fda3=a0_0x4986fd;return this[_0x92fda3(0x128)]?.[_0x92fda3(0x2a9)]||'';}[a0_0x4986fd(0x13e)](){return getTableName(this['_raw']);}[a0_0x4986fd(0x2b7)](){const _0x11afde=a0_0x4986fd;return getTableKey(this[_0x11afde(0x13e)]());}[a0_0x4986fd(0x2b0)](){const _0x339eb1=a0_0x4986fd;return generateModelKeyFromCode(this[_0x339eb1(0x2e2)]);}['isVirtualTable'](){const _0x7faed3=a0_0x4986fd;return isVirtualTableName(this[_0x7faed3(0x13e)]());}['getModelName'](){const _0x574781=a0_0x4986fd;return getTableKey(this[_0x574781(0x13e)]());}[a0_0x4986fd(0x32f)](){const _0x5d5b22=a0_0x4986fd,_0x2b5992=getTableKey(this[_0x5d5b22(0x13e)]());return{'key':_0x2b5992,'alias':_0x2b5992,'tableName':this[_0x5d5b22(0x13e)](),'datasetCode':this[_0x5d5b22(0x2e2)],'name':this[_0x5d5b22(0x30e)]};}[a0_0x4986fd(0x171)](){const _0x446b78=a0_0x4986fd,_0x2cf060={...this[_0x446b78(0x283)]};return _0x2cf060['datasetCode']=this[_0x446b78(0x2e2)],_0x2cf060;}[a0_0x4986fd(0x230)](){const _0x3e1a60=a0_0x4986fd,_0x207b37={...this[_0x3e1a60(0x283)]};return _0x207b37;}[a0_0x4986fd(0x28c)](){const _0x5b0562=a0_0x4986fd,_0x25d9a2=this[_0x5b0562(0x128)];return _0x25d9a2!==null&&_0x25d9a2[_0x5b0562(0x1a2)]();}[a0_0x4986fd(0x13b)](_0x4b4554){const _0x319cce=a0_0x4986fd;return this[_0x319cce(0x283)][_0x4b4554];}['hasExtendField'](_0x2fdb5e){const _0x329679=a0_0x4986fd;return _0x2fdb5e in this[_0x329679(0x283)];}[a0_0x4986fd(0x28a)](){const _0x4545f6=a0_0x4986fd;return'DatasetItem('+this[_0x4545f6(0x30e)]+',\x20'+this[_0x4545f6(0x2e2)]+')';}}class Operation{[a0_0x4986fd(0x30e)];['_raw'];['context'];constructor(_0x537920,_0x44735a,_0x4c924a){const _0x4026e5=a0_0x4986fd;this[_0x4026e5(0x30e)]=_0x537920,this[_0x4026e5(0x283)]=_0x44735a,this[_0x4026e5(0x12a)]=_0x4c924a;}[a0_0x4986fd(0x1dd)](){const _0x6dc436=a0_0x4986fd;return this[_0x6dc436(0x30e)];}[a0_0x4986fd(0x240)](){const _0x2c3674=a0_0x4986fd;return OPERATION_TYPE_DISPLAY_NAME[this[_0x2c3674(0x30e)]]||this[_0x2c3674(0x30e)];}[a0_0x4986fd(0x252)](){return parseOperationType(this['name']);}['isEnabled'](){return this['_raw']!==null&&this['_raw']!==![];}[a0_0x4986fd(0x12b)](){const _0x3d3a39=a0_0x4986fd,_0x91ba30=this[_0x3d3a39(0x283)];if(_0x91ba30===![]||_0x91ba30===null)return'';return _0x91ba30[_0x3d3a39(0x2fc)]||_0x3d3a39(0x29a);}['getPath'](){const _0x506aa1=a0_0x4986fd,_0x6826b9=this[_0x506aa1(0x283)];if(_0x6826b9===![]||_0x6826b9===null)return'';return _0x6826b9[_0x506aa1(0x1f1)]||'';}['getFullUrl'](){const _0x620933=a0_0x4986fd,_0x58610e=this[_0x620933(0x283)];let _0x1ea980='';_0x58610e!==![]&&_0x58610e!==null&&_0x58610e[_0x620933(0x358)]&&(_0x1ea980=_0x58610e['host']);const _0x752fd=this[_0x620933(0x329)]();return _0x1ea980&&_0x752fd?''+_0x1ea980+_0x752fd:_0x752fd;}['parseRawRequestBody'](){const _0x5e715f=a0_0x4986fd,_0x257a58=this[_0x5e715f(0x283)];if(_0x257a58===![]||_0x257a58===null||!_0x257a58['requestBody'])return{};try{return JSON[_0x5e715f(0x2a3)](_0x257a58[_0x5e715f(0x1d6)]);}catch{return{};}}['parseRawResponseBody'](){const _0x5b8603=a0_0x4986fd,_0x1bd872=this[_0x5b8603(0x283)];if(_0x1bd872===![]||_0x1bd872===null||!_0x1bd872['responseBody'])return null;return parseResponseBody(_0x1bd872[_0x5b8603(0x35d)]);}[a0_0x4986fd(0x12d)](){const _0x58577f=a0_0x4986fd;return this[_0x58577f(0x127)]();}[a0_0x4986fd(0x143)](){const _0x5e56a1=a0_0x4986fd;return this[_0x5e56a1(0x14b)]();}[a0_0x4986fd(0x281)](){const _0x5c3023=this['getRequestParams']();return Object['keys'](_0x5c3023);}['generateRequestExample'](){const _0x189293=a0_0x4986fd,_0x454537=this['getRequestParams'](),_0x5edc5c={};return Object[_0x189293(0x353)](_0x454537)['forEach'](([_0x211dc1,_0x399734])=>{const _0x42604a=_0x189293,_0x5c4591=_0x399734;_0x5edc5c[_0x211dc1]=generateExampleValue(_0x211dc1,_0x5c4591[_0x42604a(0x186)]||_0x42604a(0x1b3),undefined,{'description':_0x5c4591[_0x42604a(0x19e)]});}),_0x5edc5c;}[a0_0x4986fd(0x1f0)](){const _0x1ddf01=a0_0x4986fd;return this[_0x1ddf01(0x374)]();}[a0_0x4986fd(0x1d2)](){const _0x410b94=a0_0x4986fd,_0x2ad600=this[_0x410b94(0x14b)]();if(!_0x2ad600){const _0x924f27={};return _0x924f27[_0x410b94(0x399)]=!![],_0x924f27[_0x410b94(0x314)]=_0x410b94(0x3aa),_0x924f27[_0x410b94(0x1db)]='',_0x924f27[_0x410b94(0x2e5)]='0000',_0x924f27[_0x410b94(0x3b5)]=null,_0x924f27;}return this[_0x410b94(0x36a)](_0x2ad600);}['generateFromSchema'](_0x1159fa){const _0x4932d1=a0_0x4986fd;if(!_0x1159fa||typeof _0x1159fa!==_0x4932d1(0x236))return{};if(Array[_0x4932d1(0x18f)](_0x1159fa))return _0x1159fa[_0x4932d1(0x338)]>0x0?[this[_0x4932d1(0x36a)](_0x1159fa[0x0])]:[];const _0x437afb={};for(const [_0x50ca7f,_0x1823e8]of Object[_0x4932d1(0x353)](_0x1159fa)){if(_0x1823e8&&typeof _0x1823e8===_0x4932d1(0x236)&&!Array['isArray'](_0x1823e8)){const _0x527248=_0x1823e8;_0x437afb[_0x50ca7f]=generateExampleValue(_0x50ca7f,_0x527248['type']||_0x4932d1(0x1b3),undefined,{'description':_0x527248[_0x4932d1(0x19e)]});}else Array[_0x4932d1(0x18f)](_0x1823e8)?_0x437afb[_0x50ca7f]=_0x1823e8[_0x4932d1(0x338)]>0x0?[this[_0x4932d1(0x36a)](_0x1823e8[0x0])]:[]:_0x437afb[_0x50ca7f]=_0x1823e8;}return _0x437afb;}[a0_0x4986fd(0x21c)](_0xce2e7e,_0xdc63b6,_0x497406,_0x5f3035){return generateExampleValue(_0xce2e7e,_0xdc63b6,_0x497406,_0x5f3035);}[a0_0x4986fd(0x137)](_0x2a4442,_0x3607ed){const _0xecee5b=a0_0x4986fd,_0x2c7b35=this[_0xecee5b(0x1dd)]();return _0xecee5b(0x380)+_0x2a4442+'.'+_0x2c7b35+_0xecee5b(0x177);}[a0_0x4986fd(0x235)](_0x4451de){const _0x34b8a0=a0_0x4986fd,_0x1727a1=this['getName'](),_0x8c4724=_0x4451de||_0x34b8a0(0x2e4),_0x453d89={};return _0x453d89[_0x34b8a0(0x1c9)]='const\x20data\x20=\x20await\x20client.models.'+_0x8c4724+'.'+_0x1727a1+_0x34b8a0(0x177),_0x453d89[_0x34b8a0(0x2e5)]=_0x34b8a0(0x1a4)+_0x8c4724+'.'+_0x1727a1+_0x34b8a0(0x35f),_0x453d89;}[a0_0x4986fd(0x25f)](){const _0x2aac69=a0_0x4986fd,_0x22f58c=this[_0x2aac69(0x12d)](),_0x1d0b03=Object[_0x2aac69(0x353)](_0x22f58c)[_0x2aac69(0x30d)](([_0xe8e0fe,_0x213d03])=>{const _0x489bb1=_0x2aac69,_0xc51ab5=_0x213d03,_0x7f40c3={};return _0x7f40c3[_0x489bb1(0x30e)]=_0xe8e0fe,_0x7f40c3[_0x489bb1(0x186)]=_0xc51ab5[_0x489bb1(0x186)]||'String',_0x7f40c3[_0x489bb1(0x19e)]=_0xc51ab5[_0x489bb1(0x19e)]||'-',_0x7f40c3['required']=_0xc51ab5[_0x489bb1(0x2f8)],_0x7f40c3;}),_0x1fad77={};return _0x1fad77[_0x2aac69(0x34d)]=_0x1d0b03,_0x1fad77;}[a0_0x4986fd(0x2e7)](){const _0x771574=a0_0x4986fd,_0x19c568=this[_0x771574(0x14b)]();if(!_0x19c568){const _0x2eb161={};return _0x2eb161[_0x771574(0x34d)]=[],_0x2eb161;}const _0x2b8741=Object[_0x771574(0x353)](_0x19c568)[_0x771574(0x30d)](([_0x5b76a6,_0x1e8e5d])=>{const _0x2bd1b3=_0x771574,_0x595ad4=_0x1e8e5d,_0x3764e4={};return _0x3764e4[_0x2bd1b3(0x30e)]=_0x5b76a6,_0x3764e4[_0x2bd1b3(0x186)]=_0x595ad4[_0x2bd1b3(0x186)]||'String',_0x3764e4[_0x2bd1b3(0x19e)]=_0x595ad4[_0x2bd1b3(0x19e)]||'-',_0x3764e4;}),_0x3046bc={};return _0x3046bc[_0x771574(0x34d)]=_0x2b8741,_0x3046bc;}['getSystemFields'](){return[];}[a0_0x4986fd(0x2c7)](){const _0x1c6624=a0_0x4986fd;return this[_0x1c6624(0x12a)]['fields']||[];}['getAllParams'](){const _0x5d5b20=a0_0x4986fd;return{'systemFields':this[_0x5d5b20(0x165)](),'businessFields':this[_0x5d5b20(0x2c7)]()};}[a0_0x4986fd(0x2fd)](_0x124758){const _0x1ac50d=a0_0x4986fd;return this['context'][_0x1ac50d(0x26d)][_0x1ac50d(0x2b4)](_0x523776=>_0x523776?.[_0x1ac50d(0x3b7)]===_0x124758);}['getFieldCode'](_0x4489ea){const _0x42c86b=a0_0x4986fd;return _0x4489ea[_0x42c86b(0x3b7)];}['getFieldType'](_0x1fff4f){return _0x1fff4f['type'];}[a0_0x4986fd(0x316)](_0x47e834){const _0x5c1fd9=a0_0x4986fd;return _0x47e834[_0x5c1fd9(0x30e)];}['getFieldDescription'](_0x23da94){const _0x3e955f=a0_0x4986fd;return _0x23da94[_0x3e955f(0x19e)];}[a0_0x4986fd(0x116)](_0x5ecde4){const _0x58980c=a0_0x4986fd;return _0x5ecde4[_0x58980c(0x2a5)]()||null;}[a0_0x4986fd(0x126)](_0x385b61){const _0x48b2e1=a0_0x4986fd;return _0x385b61[_0x48b2e1(0x2f6)]();}['getOperators'](){return[];}[a0_0x4986fd(0x231)](_0xb98cb0){return[];}[a0_0x4986fd(0x171)](){const _0x34e27b=a0_0x4986fd;return{'name':this[_0x34e27b(0x1dd)](),'displayName':this[_0x34e27b(0x240)](),'type':this['getType'](),'enabled':this[_0x34e27b(0x282)](),'method':this[_0x34e27b(0x12b)](),'path':this[_0x34e27b(0x329)](),'fullUrl':this[_0x34e27b(0x34e)](),'requestParams':this[_0x34e27b(0x12d)](),'requestExample':this[_0x34e27b(0x374)](),'responseExample':this['generateResponseExample']()};}['toString'](){const _0x4da4be=a0_0x4986fd,_0x201430=this[_0x4da4be(0x282)]()?'启用':'禁用';return this[_0x4da4be(0x240)]()+'('+this['name']+',\x20'+_0x201430+')';}}class GenericOperation extends Operation{['_requestExampleCache'];[a0_0x4986fd(0x12d)](){const _0x396171=a0_0x4986fd;return this[_0x396171(0x127)]();}[a0_0x4986fd(0x143)](){const _0x3852ee=a0_0x4986fd;return this[_0x3852ee(0x14b)]();}[a0_0x4986fd(0x374)](){const _0x3368a7=a0_0x4986fd;if(this[_0x3368a7(0x300)])return this[_0x3368a7(0x300)];const _0x6e3fa={},_0x58c478=this[_0x3368a7(0x12d)](),_0x65691f=this[_0x3368a7(0x252)]();if(Object['keys'](_0x58c478)[_0x3368a7(0x338)]===0x0&&_0x65691f){const _0x539ea5=this['getBusinessFields']();return _0x539ea5[_0x3368a7(0x31a)](_0x5910a9=>{const _0x36596a=_0x3368a7,_0x1ed364=_0x5910a9[_0x36596a(0x3b7)],_0x4c55d9=_0x5910a9[_0x36596a(0x186)],_0x2b7e5f=this['generateFieldExample'](_0x1ed364,_0x4c55d9,_0x5910a9[_0x36596a(0x195)](),{'isPrimaryKey':_0x5910a9[_0x36596a(0x2f6)](),'description':_0x5910a9['description']||_0x5910a9[_0x36596a(0x30e)]});_0x6e3fa[_0x1ed364]=_0x2b7e5f;}),this[_0x3368a7(0x300)]=_0x6e3fa,_0x6e3fa;}return Object[_0x3368a7(0x353)](_0x58c478)[_0x3368a7(0x31a)](([_0x1758bd,_0x104b50])=>{const _0x98e929=_0x3368a7,_0x52d545=_0x104b50;let _0x3a67ad;if(typeof _0x52d545[_0x98e929(0x186)]===_0x98e929(0x388))_0x3a67ad=_0x52d545[_0x98e929(0x186)];else _0x52d545['type']&&typeof _0x52d545[_0x98e929(0x186)]===_0x98e929(0x236)?_0x3a67ad=_0x52d545[_0x98e929(0x186)][_0x98e929(0x186)]||_0x98e929(0x139):_0x3a67ad=_0x98e929(0x139);const _0x46472a=_0x52d545[_0x98e929(0x19e)],_0x3e7da9=this[_0x98e929(0x2fd)](_0x1758bd);if(_0x1758bd===_0x98e929(0x27f))_0x6e3fa[_0x1758bd]=0x1;else{if(_0x1758bd===_0x98e929(0x1bc))_0x6e3fa[_0x1758bd]=0xa;else{if(_0x1758bd==='id')_0x6e3fa[_0x1758bd]=0x1;else{const _0x564e78=_0x3e7da9?_0x3e7da9[_0x98e929(0x195)]():undefined,_0x1c3b9b=_0x3e7da9?_0x3e7da9['description']:undefined,_0x209eb2=_0x3e7da9?_0x3e7da9[_0x98e929(0x30e)]:undefined;_0x6e3fa[_0x1758bd]=this['generateFieldExample'](_0x1758bd,_0x3a67ad,_0x564e78||undefined,{'isPrimaryKey':_0x1758bd===this[_0x98e929(0x12a)][_0x98e929(0x1a1)]||_0x1758bd==='id','description':_0x46472a||_0x1c3b9b||_0x209eb2});}}}}),this['_requestExampleCache']=_0x6e3fa,_0x6e3fa;}[a0_0x4986fd(0x1d2)](){const _0x4173a9=a0_0x4986fd,_0x4fda0e=this['getResponseSchema']();if(!_0x4fda0e){const _0x2f0db4={};return _0x2f0db4['success']=!![],_0x2f0db4[_0x4173a9(0x314)]=_0x4173a9(0x3aa),_0x2f0db4['errorMsg']='',_0x2f0db4[_0x4173a9(0x2e5)]=_0x4173a9(0x1c2),_0x2f0db4[_0x4173a9(0x3b5)]=null,_0x2f0db4;}return this[_0x4173a9(0x36a)](_0x4fda0e);}[a0_0x4986fd(0x36a)](_0x17aabc){const _0x32c40f=a0_0x4986fd;if(!_0x17aabc||typeof _0x17aabc!==_0x32c40f(0x236))return{};if(Array[_0x32c40f(0x18f)](_0x17aabc)){if(_0x17aabc[_0x32c40f(0x338)]>0x0)return[this['generateFromSchema'](_0x17aabc[0x0])];return[];}const _0xcbd701={};return Object[_0x32c40f(0x1b1)](_0x17aabc)[_0x32c40f(0x31a)](_0x3f5f85=>{const _0x3f193e=_0x32c40f,_0x261b6c=_0x17aabc[_0x3f5f85];if(_0x261b6c&&typeof _0x261b6c==='object'&&!Array[_0x3f193e(0x18f)](_0x261b6c)&&_0x261b6c['type']){const _0x16722b=_0x261b6c;let _0x42d313;if(typeof _0x16722b[_0x3f193e(0x186)]===_0x3f193e(0x388))_0x42d313=_0x16722b['type'];else _0x16722b[_0x3f193e(0x186)]&&typeof _0x16722b[_0x3f193e(0x186)]===_0x3f193e(0x236)?_0x42d313=_0x16722b[_0x3f193e(0x186)]['type']||_0x3f193e(0x139):_0x42d313=_0x3f193e(0x139);const _0xcb84fb=_0x16722b['description'],_0x18ef7b={};_0x18ef7b['description']=_0xcb84fb,_0xcbd701[_0x3f5f85]=this['generateFieldExample'](_0x3f5f85,_0x42d313,undefined,_0x18ef7b);}else{if(Array[_0x3f193e(0x18f)](_0x261b6c))_0xcbd701[_0x3f5f85]=_0x261b6c['length']>0x0?[this[_0x3f193e(0x36a)](_0x261b6c[0x0])]:[];else _0x261b6c&&typeof _0x261b6c===_0x3f193e(0x236)?_0xcbd701[_0x3f5f85]=this[_0x3f193e(0x36a)](_0x261b6c):_0xcbd701[_0x3f5f85]=_0x261b6c;}}),_0xcbd701;}[a0_0x4986fd(0x137)](_0x19e5ce,_0x538de3){const _0x5eda79=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x538de3||{},_0x500ddc=this['getName'](),_0x2cb4e3=this[_0x5eda79(0x252)](),_0x5b4dfe=this[_0x5eda79(0x281)](),_0x47ddcc=this[_0x5eda79(0x374)](),_0x33a956=_0x30ed7b=>{const _0x511694=_0x5eda79;if(Object[_0x511694(0x1b1)](_0x30ed7b)['length']===0x0)return'{}';const _0x4b1b70=JSON[_0x511694(0x122)](_0x30ed7b,null,0x2)[_0x511694(0x398)]('\x0a')['map']((_0x29af77,_0x41af28)=>_0x41af28===0x0?_0x29af77:indent+_0x29af77)[_0x511694(0x348)]('\x0a');return _0x4b1b70;};switch(_0x2cb4e3){case _0x5eda79(0x344):case _0x5eda79(0x270):return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x375);case _0x5eda79(0x1c5):if(useFullExample&&Object[_0x5eda79(0x1b1)](_0x47ddcc)[_0x5eda79(0x338)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x2e0)+_0x33a956(_0x47ddcc)+');';return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x166);case _0x5eda79(0x38a):case _0x5eda79(0x208):case _0x5eda79(0x224):default:if(_0x5b4dfe[_0x5eda79(0x338)]>0x0){if(useFullExample&&Object[_0x5eda79(0x1b1)](_0x47ddcc)[_0x5eda79(0x338)]>0x0)return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+'('+_0x33a956(_0x47ddcc)+');';else{const _0x27ced9=Object[_0x5eda79(0x1b1)](_0x47ddcc);if(_0x27ced9[_0x5eda79(0x338)]>0x0){const _0x11ba07=_0x27ced9[_0x5eda79(0x14d)](0x0,0x2)['join'](',\x20');return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x38f)+_0x11ba07+_0x5eda79(0x39f);}else return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+'(params);';}}else return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x177);}}[a0_0x4986fd(0x3b0)](){const _0x234915=a0_0x4986fd;return[{'title':_0x234915(0x386),'data':this[_0x234915(0x374)]()}];}[a0_0x4986fd(0x165)](){const _0x1e1c46=a0_0x4986fd,_0x3df8bf=this[_0x1e1c46(0x252)](),_0x52af7d=[];switch(_0x3df8bf){case _0x1e1c46(0x344):case _0x1e1c46(0x270):const _0x3ba0b6={};_0x3ba0b6[_0x1e1c46(0x3b7)]='id',_0x3ba0b6[_0x1e1c46(0x186)]=_0x1e1c46(0x1f9),_0x3ba0b6[_0x1e1c46(0x19e)]='主键ID',_0x52af7d['push'](_0x3ba0b6);break;case _0x1e1c46(0x208):const _0x581c18={};_0x581c18[_0x1e1c46(0x3b7)]='currentPage',_0x581c18[_0x1e1c46(0x186)]='NUMBER',_0x581c18[_0x1e1c46(0x19e)]='当前页码';const _0x532be3={};_0x532be3[_0x1e1c46(0x3b7)]=_0x1e1c46(0x1bc),_0x532be3[_0x1e1c46(0x186)]=_0x1e1c46(0x1f9),_0x532be3['description']=_0x1e1c46(0x24a),_0x52af7d['push'](_0x581c18,_0x532be3);break;case'getSelectOptions':const _0x1df286={};_0x1df286[_0x1e1c46(0x3b7)]=_0x1e1c46(0x3b7),_0x1df286[_0x1e1c46(0x186)]='STRING',_0x1df286[_0x1e1c46(0x19e)]=_0x1e1c46(0x24c),_0x52af7d[_0x1e1c46(0x279)](_0x1df286);break;default:break;}return _0x52af7d;}[a0_0x4986fd(0x2c7)](){const _0x4a5704=a0_0x4986fd,_0x515435=this['getType'](),_0x1e6bcf=this[_0x4a5704(0x12a)][_0x4a5704(0x26d)]||[];switch(_0x515435){case'getOne':case _0x4a5704(0x270):return[];case _0x4a5704(0x38a):return _0x1e6bcf[_0x4a5704(0x276)](_0x4a9e9=>{const _0x2d2042=_0x4a5704;if(_0x4a9e9[_0x2d2042(0x37d)])return![];if(_0x4a9e9[_0x2d2042(0x2f6)]()&&_0x4a9e9[_0x2d2042(0x2cf)]())return![];if(_0x4a9e9[_0x2d2042(0x2b3)]())return![];if(_0x4a9e9[_0x2d2042(0x34c)]()||_0x4a9e9[_0x2d2042(0x337)]())return![];return!![];});case _0x4a5704(0x1c5):return _0x1e6bcf[_0x4a5704(0x276)](_0x519a7e=>{const _0x181567=_0x4a5704;if(_0x519a7e[_0x181567(0x37d)])return![];if(_0x519a7e[_0x181567(0x2f6)]())return![];if(_0x519a7e[_0x181567(0x2b3)]())return![];if(_0x519a7e[_0x181567(0x34c)]()||_0x519a7e[_0x181567(0x337)]())return![];if(_0x519a7e[_0x181567(0x2cf)]())return![];return!![];});case'getList':case _0x4a5704(0x224):return _0x1e6bcf[_0x4a5704(0x276)](_0xd87d7f=>!_0xd87d7f[_0x4a5704(0x37d)]&&_0xd87d7f[_0x4a5704(0x1bb)]());default:return _0x1e6bcf[_0x4a5704(0x276)](_0x16934b=>!_0x16934b[_0x4a5704(0x37d)]&&_0x16934b[_0x4a5704(0x1bb)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x58fd56=a0_0x4986fd,_0x5783cd=super['getRequestParams'](),_0x43898e=Object[_0x58fd56(0x1b1)](_0x5783cd);if(_0x43898e[_0x58fd56(0x338)]===0x0||_0x43898e[_0x58fd56(0x338)]===0x1&&_0x43898e[0x0]===_0x58fd56(0x3b7)){if(!_0x5783cd['code']){const _0x62ed3a={};_0x62ed3a[_0x58fd56(0x186)]=_0x58fd56(0x1b3),_0x62ed3a['description']=_0x58fd56(0x2fe),_0x5783cd[_0x58fd56(0x3b7)]=_0x62ed3a;}const _0x84357c={};_0x84357c[_0x58fd56(0x186)]=_0x58fd56(0x1b3),_0x84357c[_0x58fd56(0x19e)]=_0x58fd56(0x291),_0x5783cd[_0x58fd56(0x169)]=_0x84357c;}return _0x5783cd;}['getBusinessFields'](){return[];}[a0_0x4986fd(0x165)](){const _0x3f6827=a0_0x4986fd,_0x10985a={};_0x10985a[_0x3f6827(0x3b7)]='code',_0x10985a[_0x3f6827(0x186)]=_0x3f6827(0x1b3),_0x10985a[_0x3f6827(0x19e)]=_0x3f6827(0x2fe);const _0x1646a4={};return _0x1646a4['code']=_0x3f6827(0x169),_0x1646a4[_0x3f6827(0x186)]='String',_0x1646a4[_0x3f6827(0x19e)]='字段名称',[_0x10985a,_0x1646a4];}[a0_0x4986fd(0x374)](){const _0x479beb=a0_0x4986fd,_0x3080f4={};return _0x3080f4[_0x479beb(0x3b7)]=_0x479beb(0x30b),_0x3080f4[_0x479beb(0x169)]=_0x479beb(0x30b),_0x3080f4;}[a0_0x4986fd(0x137)](_0x5887ca){const _0x60b83c=a0_0x4986fd,_0x5aa80c=this['getName']();return'const\x20result\x20=\x20await\x20client.models.'+_0x5887ca+'.'+_0x5aa80c+_0x60b83c(0x1c1);}}class GetListOperation extends GenericOperation{[a0_0x4986fd(0x12d)](){const _0x2472f0=a0_0x4986fd,_0x2f9d3e=super[_0x2472f0(0x12d)](),{currentPage:_0x52b310,pageSize:_0x3cecab,..._0x7405f6}=_0x2f9d3e,_0x2eb11b={};Object[_0x2472f0(0x353)](_0x7405f6)[_0x2472f0(0x31a)](([_0x1f59f1,_0x484f9b])=>{const _0x3dd846=_0x2472f0;if(typeof _0x484f9b==='object'&&_0x484f9b!==null){const _0x41f9b5=_0x484f9b,_0x6efd76=_0x41f9b5[_0x3dd846(0x19e)]||'',_0x428eb1={..._0x41f9b5};_0x428eb1[_0x3dd846(0x19e)]=_0x6efd76?_0x6efd76+_0x3dd846(0x369):_0x3dd846(0x32c),_0x2eb11b[_0x1f59f1]=_0x428eb1;}else _0x2eb11b[_0x1f59f1]=_0x484f9b;});const _0x3456dc={...typeof _0x52b310===_0x2472f0(0x236)?_0x52b310:{}};_0x3456dc[_0x2472f0(0x186)]=_0x2472f0(0x25b),_0x3456dc['description']=_0x2472f0(0x120);const _0x4e2326={...typeof _0x3cecab===_0x2472f0(0x236)?_0x3cecab:{}};_0x4e2326['type']=_0x2472f0(0x25b),_0x4e2326[_0x2472f0(0x19e)]=_0x2472f0(0x184);const _0x293f92={..._0x2eb11b};return _0x293f92['currentPage']=_0x3456dc,_0x293f92[_0x2472f0(0x1bc)]=_0x4e2326,_0x293f92;}['generateRequestExample'](_0xc74371){const _0x4d251d=a0_0x4986fd,{useArrayValues:useArrayValues=!![]}=_0xc74371||{},_0x38e75f=super[_0x4d251d(0x374)](),{currentPage:_0x162b55,pageSize:_0x9a0b91,..._0x1f106c}=_0x38e75f;if(!useArrayValues){const _0x14193c={..._0x1f106c};return _0x14193c[_0x4d251d(0x27f)]=_0x162b55??0x1,_0x14193c[_0x4d251d(0x1bc)]=_0x9a0b91??0xa,_0x14193c;}const _0x25abb0={},_0x288346=['id',_0x4d251d(0x135),_0x4d251d(0x3b7),_0x4d251d(0x186)];Object['entries'](_0x1f106c)[_0x4d251d(0x31a)](([_0x2ac3b6,_0x3fdec2],_0x3e37d0)=>{const _0x2100d9=_0x4d251d,_0x1bd1c2=_0x288346['some'](_0x378264=>_0x2ac3b6[_0x2100d9(0x258)]()['includes'](_0x378264))||_0x3e37d0%0x3===0x0;if(_0x1bd1c2&&_0x3fdec2!==null&&_0x3fdec2!==undefined){if(typeof _0x3fdec2==='number')_0x25abb0[_0x2ac3b6]=[_0x3fdec2,_0x3fdec2+0x1,_0x3fdec2+0x2];else typeof _0x3fdec2===_0x2100d9(0x388)?_0x25abb0[_0x2ac3b6]=[_0x3fdec2,_0x3fdec2+'_2',_0x3fdec2+'_3']:_0x25abb0[_0x2ac3b6]=[_0x3fdec2];}else _0x25abb0[_0x2ac3b6]=_0x3fdec2;});const _0x1dc982={..._0x25abb0};return _0x1dc982['currentPage']=_0x162b55??0x1,_0x1dc982[_0x4d251d(0x1bc)]=_0x9a0b91??0xa,_0x1dc982;}['generateSingleValueExample'](){const _0x3a13d3=a0_0x4986fd,_0x488ce4={};return _0x488ce4['useArrayValues']=![],this[_0x3a13d3(0x374)](_0x488ce4);}[a0_0x4986fd(0x3b0)](){const _0xa040d5=a0_0x4986fd;return[{'title':_0xa040d5(0x3bc),'description':_0xa040d5(0x2d1),'data':this[_0xa040d5(0x1eb)]()},{'title':_0xa040d5(0x1a8),'description':'支持多个条件','data':this[_0xa040d5(0x374)]()}];}['generateSDKCallCode'](_0x3f5919,_0x39a374){const _0x2930db=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x39a374||{},_0xc19525=this[_0x2930db(0x1dd)](),_0x42e0a4={};_0x42e0a4[_0x2930db(0x242)]=!![];const _0x4a9373=this['generateRequestExample'](_0x42e0a4),{currentPage:_0x214883,pageSize:_0x492423,..._0x510889}=_0x4a9373;if(useFullExample&&Object['keys'](_0x4a9373)['length']>0x0){const _0x3e2e25=Object[_0x2930db(0x1b1)](_0x510889)[_0x2930db(0x338)]>0x0;if(_0x3e2e25){const _0x389426=this[_0x2930db(0x1eb)](),_0x182cd3=_0x4f9aac=>{const _0x118399=_0x2930db;return JSON[_0x118399(0x122)](_0x4f9aac,null,0x2)[_0x118399(0x398)]('\x0a')['map']((_0x39e575,_0x34ab18)=>_0x34ab18===0x0?_0x39e575:indent+_0x39e575)['join']('\x0a');};return _0x2930db(0x23b)+_0x3f5919+'.'+_0xc19525+'('+_0x182cd3(_0x389426)+');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x3f5919+'.'+_0xc19525+'('+_0x182cd3(_0x4a9373)+');';}else{const _0x4a43ca=JSON[_0x2930db(0x122)](_0x4a9373,null,0x2)[_0x2930db(0x398)]('\x0a')[_0x2930db(0x30d)]((_0x53a02e,_0x57bc58)=>_0x57bc58===0x0?_0x53a02e:indent+_0x53a02e)[_0x2930db(0x348)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x3f5919+'.'+_0xc19525+'('+_0x4a43ca+');';}}if(Object[_0x2930db(0x1b1)](_0x510889)['length']>0x0){const _0xc0d80e=Object['keys'](_0x510889)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x3f5919+'.'+_0xc19525+_0x2930db(0x38f)+_0xc0d80e+_0x2930db(0x1aa);}return _0x2930db(0x380)+_0x3f5919+'.'+_0xc19525+_0x2930db(0x3c1);}}var AGGREGATE_FUNCTIONS=['sum',a0_0x4986fd(0x202),a0_0x4986fd(0x37b),a0_0x4986fd(0x107),a0_0x4986fd(0x3c3)],FILTER_OPERATORS=[a0_0x4986fd(0x33d),a0_0x4986fd(0x382),a0_0x4986fd(0x163),a0_0x4986fd(0x3c5),a0_0x4986fd(0x3c0),a0_0x4986fd(0x221),a0_0x4986fd(0x125),a0_0x4986fd(0x26a),a0_0x4986fd(0x155),a0_0x4986fd(0x24b),a0_0x4986fd(0x396),a0_0x4986fd(0x223)];class FilterOperation extends GenericOperation{constructor(_0x5113ea,_0x4e883d,_0x313e6a){super(_0x5113ea,_0x4e883d,_0x313e6a);}[a0_0x4986fd(0x213)](){return FILTER_OPERATORS;}['getFieldOperators'](_0x19f93f){const _0x3d0dc9=a0_0x4986fd,_0x28a8ec=this[_0x3d0dc9(0x2fd)](_0x19f93f);if(!_0x28a8ec)return[];return this[_0x3d0dc9(0x254)](_0x28a8ec);}[a0_0x4986fd(0x12d)](){const _0x529cb2=a0_0x4986fd,_0x4d1e84=super[_0x529cb2(0x12d)](),_0x3f01ec={};_0x3f01ec[_0x529cb2(0x186)]=_0x529cb2(0x37e),_0x3f01ec[_0x529cb2(0x19e)]='查询条件(支持\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)',_0x3f01ec['required']=![];const _0x556b6b={};_0x556b6b[_0x529cb2(0x186)]=_0x529cb2(0x361),_0x556b6b['description']=_0x529cb2(0x2ce),_0x556b6b[_0x529cb2(0x2f8)]=![];const _0x29d967={};_0x29d967['type']=_0x529cb2(0x16d),_0x29d967[_0x529cb2(0x19e)]=_0x529cb2(0x22c),_0x29d967[_0x529cb2(0x2f8)]=![];const _0x4b3d2c={};_0x4b3d2c[_0x529cb2(0x186)]=_0x529cb2(0x25b),_0x4b3d2c[_0x529cb2(0x19e)]=_0x529cb2(0x120),_0x4b3d2c[_0x529cb2(0x2f8)]=![],_0x4b3d2c[_0x529cb2(0x1ff)]=0x1;const _0xe0bfde={};_0xe0bfde['type']=_0x529cb2(0x25b),_0xe0bfde[_0x529cb2(0x19e)]=_0x529cb2(0x184),_0xe0bfde['required']=![],_0xe0bfde[_0x529cb2(0x1ff)]=0xa;const _0xe29bbe={..._0x4d1e84};return _0xe29bbe[_0x529cb2(0x1e7)]=_0x3f01ec,_0xe29bbe[_0x529cb2(0x16b)]=_0x556b6b,_0xe29bbe['orderBy']=_0x29d967,_0xe29bbe[_0x529cb2(0x27f)]=_0x4b3d2c,_0xe29bbe[_0x529cb2(0x1bc)]=_0xe0bfde,_0xe29bbe;}[a0_0x4986fd(0x165)](){const _0x19ec29=a0_0x4986fd,_0x4e3274=this[_0x19ec29(0x12d)](),_0xaf8b8d=[],_0x24c61b=[_0x19ec29(0x1e7),_0x19ec29(0x16b),_0x19ec29(0x37c),_0x19ec29(0x27f),'pageSize'];return Object[_0x19ec29(0x353)](_0x4e3274)[_0x19ec29(0x31a)](([_0x5d56ca,_0x284b98])=>{const _0x2ac858=_0x19ec29;if(_0x24c61b[_0x2ac858(0x228)](_0x5d56ca)){const _0x2a3f3a=_0x284b98,_0x3bb522={};_0x3bb522[_0x2ac858(0x3b7)]=_0x5d56ca,_0x3bb522[_0x2ac858(0x186)]=_0x2a3f3a[_0x2ac858(0x186)]||'Object',_0x3bb522[_0x2ac858(0x19e)]=_0x2a3f3a[_0x2ac858(0x19e)]||'-',_0xaf8b8d['push'](_0x3bb522);}}),_0xaf8b8d;}[a0_0x4986fd(0x2c7)](){const _0x7d7d2=a0_0x4986fd;return this[_0x7d7d2(0x12a)][_0x7d7d2(0x26d)]||[];}[a0_0x4986fd(0x2c8)](){return{'systemParams':this['getSystemFields'](),'businessFields':this['getBusinessFields']()};}[a0_0x4986fd(0x374)](){const _0x42df96=a0_0x4986fd,_0x32be88=this[_0x42df96(0x12a)][_0x42df96(0x26d)]||[];if(_0x32be88['length']===0x0){const _0x35a63a={};return _0x35a63a[_0x42df96(0x1e7)]={},_0x35a63a[_0x42df96(0x27f)]=0x1,_0x35a63a['pageSize']=0x14,_0x35a63a;}const _0x1d9a03={},_0x352f78=_0x32be88[_0x42df96(0x14d)](0x0,Math['min'](0x3,_0x32be88[_0x42df96(0x338)]));_0x352f78['forEach'](_0x440694=>{const _0x1cc9b1=_0x42df96,_0x5a1911=this[_0x1cc9b1(0x254)](_0x440694);if(_0x5a1911[_0x1cc9b1(0x338)]===0x0)return;const _0x24f32f=this[_0x1cc9b1(0x3b3)](_0x440694,_0x5a1911),_0x1bca66=this[_0x1cc9b1(0x3b4)](_0x440694,_0x24f32f),_0x30351a={};_0x30351a[_0x24f32f]=_0x1bca66,_0x1d9a03[_0x440694[_0x1cc9b1(0x3b7)]]=_0x30351a;});const _0x19a0d4=_0x32be88['slice'](0x0,Math[_0x42df96(0x3c3)](0x5,_0x32be88[_0x42df96(0x338)]))['map'](_0x3ecd16=>_0x3ecd16['code']),_0x3bc124=_0x32be88[0x0]?_0x32be88[0x0][_0x42df96(0x3b7)]:'id',_0x385801={};_0x385801[_0x3bc124]='DESC';const _0x1836b5={};return _0x1836b5['where']=_0x1d9a03,_0x1836b5['select']=_0x19a0d4,_0x1836b5[_0x42df96(0x37c)]=[_0x385801],_0x1836b5['currentPage']=0x1,_0x1836b5[_0x42df96(0x1bc)]=0x14,_0x1836b5;}[a0_0x4986fd(0x137)](_0x5b5376,_0xcb62d2){const _0x3780c5=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0xcb62d2||{},_0x1c2d49=this[_0x3780c5(0x1dd)](),_0x14b02a=this[_0x3780c5(0x374)](),_0x832e2=_0x178e3c=>{const _0x5e5455=_0x3780c5;return JSON[_0x5e5455(0x122)](_0x178e3c,null,0x2)[_0x5e5455(0x398)]('\x0a')[_0x5e5455(0x30d)]((_0x1d0009,_0x460d10)=>_0x460d10===0x0?_0x1d0009:indent+_0x1d0009)[_0x5e5455(0x348)]('\x0a');};if(useFullExample){const _0x4b5cf8=this[_0x3780c5(0x12a)]['fields']||[],_0x5c4468={'where':_0x4b5cf8[0x0]?{[_0x4b5cf8[0x0][_0x3780c5(0x3b7)]]:{'$eq':this[_0x3780c5(0x3b4)](_0x4b5cf8[0x0],'$eq')}}:{},'select':_0x4b5cf8[_0x3780c5(0x14d)](0x0,0x3)[_0x3780c5(0x30d)](_0x203b78=>_0x203b78[_0x3780c5(0x3b7)]),'currentPage':0x1,'pageSize':0x14};let _0x4e18d3='';if(_0x4b5cf8[_0x3780c5(0x338)]>=0x3){const _0xf3bf20={};_0xf3bf20[_0x3780c5(0x396)]=[];const _0x49050b=_0xf3bf20,_0xdedf8c=[];if(_0x4b5cf8[_0x3780c5(0x338)]>0x0){const _0x5578fb=_0x4b5cf8[_0x3780c5(0x2b4)](_0x85d38a=>{const _0x3db14b=_0x3780c5,_0x2e22cd=_0x85d38a['getDbTypeForOperation']();return['NUMBER','INTEGER','BIGINT',_0x3db14b(0x1b2),_0x3db14b(0x2ed),'SMALLINT'][_0x3db14b(0x228)](_0x2e22cd);});if(_0x5578fb){const _0x3a54df={};_0x3a54df[_0x3780c5(0x163)]=0x0,_0x3a54df['$lte']=0x64;const _0x2c0b01={[_0x5578fb['code']]:_0x3a54df};_0xdedf8c[_0x3780c5(0x279)](_0x2c0b01);}}if(_0x4b5cf8['length']>0x1){const _0x582b94=_0x4b5cf8[_0x3780c5(0x2b4)](_0x5ba6a7=>{const _0x31a97d=_0x3780c5,_0xa0beae=_0x5ba6a7[_0x31a97d(0x195)]();return[_0x31a97d(0x3ab),'TEXT',_0x31a97d(0x2e9),_0x31a97d(0x319),_0x31a97d(0x367)][_0x31a97d(0x228)](_0xa0beae);});if(_0x582b94){const _0x1526eb={};_0x1526eb['$contain']=_0x3780c5(0x2e3);const _0x79580e={[_0x582b94[_0x3780c5(0x3b7)]]:_0x1526eb};_0xdedf8c[_0x3780c5(0x279)](_0x79580e);}}if(_0xdedf8c[_0x3780c5(0x338)]>0x0){_0x49050b[_0x3780c5(0x396)]=_0xdedf8c;const _0x55913d={'where':_0x49050b,'select':_0x4b5cf8[_0x3780c5(0x14d)](0x0,0x4)['map'](_0x5d15a9=>_0x5d15a9[_0x3780c5(0x3b7)]),'orderBy':[{[_0x4b5cf8[0x0][_0x3780c5(0x3b7)]]:_0x3780c5(0x220)}],'currentPage':0x1,'pageSize':0x14};_0x4e18d3='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x5b5376+'.'+_0x1c2d49+'('+_0x832e2(_0x55913d)+');';}}return _0x3780c5(0x20c)+_0x5b5376+'.'+_0x1c2d49+'('+_0x832e2(_0x5c4468)+');'+_0x4e18d3;}const _0x35b5de=JSON[_0x3780c5(0x122)](_0x14b02a,null,0x2)['split']('\x0a')[_0x3780c5(0x30d)]((_0x19f7cd,_0x207955)=>_0x207955===0x0?_0x19f7cd:indent+_0x19f7cd)[_0x3780c5(0x348)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x5b5376+'.'+_0x1c2d49+'('+_0x35b5de+');';}[a0_0x4986fd(0x254)](_0x200759){const _0x39ae3d=a0_0x4986fd,_0x6449f5=_0x200759[_0x39ae3d(0x195)](),_0x355df3=[];if([_0x39ae3d(0x1f9),'INTEGER',_0x39ae3d(0x38c),_0x39ae3d(0x19a)]['includes'](_0x6449f5)||[_0x39ae3d(0x1b2),'TINYINT',_0x39ae3d(0x215),_0x39ae3d(0x334),_0x39ae3d(0x39a)]['includes'](_0x6449f5))_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382),_0x39ae3d(0x163),_0x39ae3d(0x3c0),_0x39ae3d(0x3c5),_0x39ae3d(0x221),_0x39ae3d(0x125));else{if(['STRING',_0x39ae3d(0x139),_0x39ae3d(0x2e9)][_0x39ae3d(0x228)](_0x6449f5)||[_0x39ae3d(0x319),'LONGTEXT'][_0x39ae3d(0x228)](_0x6449f5))_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382),_0x39ae3d(0x125),_0x39ae3d(0x26a),_0x39ae3d(0x155),_0x39ae3d(0x24b));else{if([_0x39ae3d(0x32d),_0x39ae3d(0x3ac),'TIMESTAMP'][_0x39ae3d(0x228)](_0x6449f5)||[_0x39ae3d(0x2a8)]['includes'](_0x6449f5))_0x355df3['push'](_0x39ae3d(0x33d),_0x39ae3d(0x382),_0x39ae3d(0x163),'$lte','$gteq','$lteq');else[_0x39ae3d(0x30f),'BOOL',_0x39ae3d(0x2fb)][_0x39ae3d(0x228)](_0x6449f5)?_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382)):_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382));}}return _0x355df3;}[a0_0x4986fd(0x3b3)](_0x54f78b,_0x23c723){const _0x2432a6=a0_0x4986fd,_0x269c1c=_0x54f78b['getDbTypeForOperation']();if([_0x2432a6(0x1f9),_0x2432a6(0x304),'BIGINT','DECIMAL'][_0x2432a6(0x228)](_0x269c1c)||[_0x2432a6(0x1b2),'TINYINT',_0x2432a6(0x215),_0x2432a6(0x334),_0x2432a6(0x39a)][_0x2432a6(0x228)](_0x269c1c))return _0x23c723[_0x2432a6(0x228)]('$gte')?'$gte':_0x2432a6(0x33d);if(['STRING',_0x2432a6(0x139),_0x2432a6(0x2e9)]['includes'](_0x269c1c)||[_0x2432a6(0x319),'LONGTEXT'][_0x2432a6(0x228)](_0x269c1c))return _0x23c723[_0x2432a6(0x228)]('$contain')?'$contain':'$eq';if([_0x2432a6(0x32d),'DATETIME',_0x2432a6(0x110),_0x2432a6(0x2a8)][_0x2432a6(0x228)](_0x269c1c))return _0x23c723['includes'](_0x2432a6(0x163))?'$gte':_0x2432a6(0x33d);return _0x2432a6(0x33d);}[a0_0x4986fd(0x3b4)](_0x406e0f,_0x4b19a1){const _0x858cd5=a0_0x4986fd,_0x30f3a4=_0x406e0f['getDbTypeForOperation'](),_0x835da7=_0x406e0f[_0x858cd5(0x2a5)]();if(_0x835da7&&_0x835da7[_0x858cd5(0x338)]>0x0){if(_0x4b19a1==='$in')return _0x835da7[_0x858cd5(0x14d)](0x0,0x2)['map'](_0x3146f0=>_0x3146f0[_0x858cd5(0x31e)]);return _0x835da7[0x0][_0x858cd5(0x31e)];}if(['NUMBER',_0x858cd5(0x304),_0x858cd5(0x38c),_0x858cd5(0x19a)][_0x858cd5(0x228)](_0x30f3a4)||[_0x858cd5(0x1b2),_0x858cd5(0x2ed),_0x858cd5(0x215),'DOUBLE',_0x858cd5(0x39a)][_0x858cd5(0x228)](_0x30f3a4)){if(_0x4b19a1==='$in')return[0x1,0x2,0x3];if(_0x4b19a1===_0x858cd5(0x163)||_0x4b19a1===_0x858cd5(0x3c5))return 0x0;if(_0x4b19a1===_0x858cd5(0x3c0)||_0x4b19a1===_0x858cd5(0x221))return 0x64;return 0x1;}if([_0x858cd5(0x3ab),_0x858cd5(0x139),_0x858cd5(0x2e9)][_0x858cd5(0x228)](_0x30f3a4)||[_0x858cd5(0x319),_0x858cd5(0x367)][_0x858cd5(0x228)](_0x30f3a4)){if(_0x4b19a1===_0x858cd5(0x125))return['value1',_0x858cd5(0x3c6)];if(_0x4b19a1===_0x858cd5(0x26a))return'keyword';if(_0x4b19a1==='$startWith')return _0x858cd5(0x33f);if(_0x4b19a1===_0x858cd5(0x24b))return _0x858cd5(0x1f2);return _0x858cd5(0x31e);}if(['DATE','DATETIME',_0x858cd5(0x110),_0x858cd5(0x2a8)][_0x858cd5(0x228)](_0x30f3a4)){if(_0x4b19a1===_0x858cd5(0x163)||_0x4b19a1===_0x858cd5(0x3c5))return'2024-01-01';if(_0x4b19a1==='$lte'||_0x4b19a1===_0x858cd5(0x221))return _0x858cd5(0x37a);return'2024-01-01';}if(['BOOLEAN','BOOL',_0x858cd5(0x2fb)][_0x858cd5(0x228)](_0x30f3a4))return!![];return _0x4b19a1===_0x858cd5(0x125)?['value1',_0x858cd5(0x3c6)]:'value';}[a0_0x4986fd(0x25f)](){const _0x8896d9=a0_0x4986fd,_0x14bf6d=super[_0x8896d9(0x12d)](),_0x969a44=Object[_0x8896d9(0x353)](_0x14bf6d)[_0x8896d9(0x276)](([_0x33e08d])=>_0x33e08d!==_0x8896d9(0x27f)&&_0x33e08d!=='pageSize')['map'](([_0x28407d,_0x273e7d])=>{const _0x251f0c=_0x8896d9,_0x11e884=_0x273e7d,_0x53ca7a={};return _0x53ca7a['name']=_0x28407d,_0x53ca7a[_0x251f0c(0x186)]=_0x11e884[_0x251f0c(0x186)]||'String',_0x53ca7a[_0x251f0c(0x19e)]=_0x11e884[_0x251f0c(0x19e)]||'-',_0x53ca7a[_0x251f0c(0x2f8)]=_0x11e884['required'],_0x53ca7a;}),_0x402d5f={};return _0x402d5f[_0x8896d9(0x19e)]=_0x8896d9(0x260),_0x402d5f[_0x8896d9(0x34d)]=_0x969a44,_0x402d5f;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x257075=a0_0x4986fd,_0x1dcec9=super[_0x257075(0x12d)]();if(Object[_0x257075(0x1b1)](_0x1dcec9)[_0x257075(0x338)]===0x0){const _0x598b5a={};this[_0x257075(0x12a)][_0x257075(0x26d)][_0x257075(0x31a)](_0x3c218a=>{const _0x26b576=_0x257075;if(_0x3c218a){const _0x44a00b=_0x3c218a[_0x26b576(0x3b7)],_0x15933b=_0x3c218a['getDbTypeForOperation'](),_0x4e9f28={};_0x4e9f28[_0x26b576(0x186)]=_0x15933b||_0x26b576(0x139),_0x4e9f28[_0x26b576(0x1d1)]=_0x3c218a['sortNum'],_0x4e9f28['description']=_0x3c218a[_0x26b576(0x19e)]||_0x3c218a['name'],_0x598b5a[_0x44a00b]=_0x4e9f28;}});const _0x5a3f9c={};_0x5a3f9c[_0x257075(0x186)]=_0x257075(0x357),_0x5a3f9c[_0x257075(0x19e)]=_0x257075(0x1ea),_0x598b5a['currentPage']=_0x5a3f9c;const _0x4fcace={};return _0x4fcace['type']=_0x257075(0x357),_0x4fcace['description']=_0x257075(0x1b9),_0x598b5a[_0x257075(0x1bc)]=_0x4fcace,_0x598b5a;}return _0x1dcec9;}[a0_0x4986fd(0x374)](){const _0xbf2f2a=a0_0x4986fd,_0x7d6ee5=super[_0xbf2f2a(0x374)]();if(Object[_0xbf2f2a(0x1b1)](_0x7d6ee5)[_0xbf2f2a(0x338)]===0x0){const _0x5ad994={};return _0x5ad994[_0xbf2f2a(0x27f)]=0x1,_0x5ad994[_0xbf2f2a(0x1bc)]=0x64,_0x5ad994;}const _0x9662c1={..._0x7d6ee5};return _0x9662c1['currentPage']=_0x7d6ee5[_0xbf2f2a(0x27f)]??0x1,_0x9662c1[_0xbf2f2a(0x1bc)]=_0x7d6ee5[_0xbf2f2a(0x1bc)]??0x64,_0x9662c1;}[a0_0x4986fd(0x1d2)](){const _0x4fe86=a0_0x4986fd,_0x52d154={};return _0x52d154[_0x4fe86(0x399)]=!![],_0x52d154[_0x4fe86(0x314)]='',_0x52d154[_0x4fe86(0x1db)]='',_0x52d154['errorCode']=_0x4fe86(0x1c2),_0x52d154[_0x4fe86(0x3b5)]=_0x4fe86(0x1dc),_0x52d154[_0x4fe86(0x34d)]=null,_0x52d154;}[a0_0x4986fd(0x137)](_0x3b7810,_0x18838f){const _0x2bf8e8=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x18838f||{},_0x475c5c=this[_0x2bf8e8(0x1dd)]();if(useFullExample){const _0xbae615=this[_0x2bf8e8(0x374)](),{currentPage:_0x2ffded,pageSize:_0x5a1f64,..._0x8e2535}=_0xbae615,_0x9f77cc=Object[_0x2bf8e8(0x1b1)](_0x8e2535)[_0x2bf8e8(0x338)]>0x0;if(_0x9f77cc){const _0x3f607b=_0x2e1a3e=>{const _0xdf3898=_0x2bf8e8;return JSON[_0xdf3898(0x122)](_0x2e1a3e,null,0x2)[_0xdf3898(0x398)]('\x0a')['map']((_0xf79bf9,_0x5e598c)=>_0x5e598c===0x0?_0xf79bf9:indent+_0xf79bf9)['join']('\x0a');};return _0x2bf8e8(0x2c6)+_0x3b7810+'.'+_0x475c5c+_0x2bf8e8(0x392)+_0x3b7810+'.'+_0x475c5c+'('+_0x3f607b(_0xbae615)+');';}else{const _0x72651b=_0xdf0c42=>{const _0x1f42cd=_0x2bf8e8;return JSON['stringify'](_0xdf0c42,null,0x2)[_0x1f42cd(0x398)]('\x0a')[_0x1f42cd(0x30d)]((_0x32ed7b,_0x399322)=>_0x399322===0x0?_0x32ed7b:indent+_0x32ed7b)[_0x1f42cd(0x348)]('\x0a');},_0xaeb687={};return _0xaeb687[_0x2bf8e8(0x27f)]=0x1,_0xaeb687[_0x2bf8e8(0x1bc)]=0x64,_0x2bf8e8(0x2c6)+_0x3b7810+'.'+_0x475c5c+_0x2bf8e8(0x109)+_0x3b7810+'.'+_0x475c5c+'('+_0x72651b(_0xaeb687)+');';}}return _0x2bf8e8(0x36d)+_0x3b7810+'.'+_0x475c5c+_0x2bf8e8(0x39d);}[a0_0x4986fd(0x235)](_0x2667b0){const _0x2c57dd=a0_0x4986fd,_0x75dc82=this[_0x2c57dd(0x1dd)](),_0x4bb5f1=_0x2667b0||_0x2c57dd(0x2e4),_0x5541d2=_0x2c57dd(0x1e6)+_0x4bb5f1+'.'+_0x75dc82+_0x2c57dd(0x1ee),_0x2fe595='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x4bb5f1+'.'+_0x75dc82+_0x2c57dd(0x179),_0x5ff24d={};return _0x5ff24d[_0x2c57dd(0x1c9)]=_0x5541d2,_0x5ff24d['errorCode']=_0x2fe595,_0x5ff24d;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x14a422=a0_0x4986fd;return this[_0x14a422(0x127)]();}[a0_0x4986fd(0x12d)](){const _0x1593bd=a0_0x4986fd,_0x51f29f=this[_0x1593bd(0x172)](),_0x489bdf={};_0x489bdf[_0x1593bd(0x186)]='NUMBER',_0x489bdf[_0x1593bd(0x19e)]=_0x1593bd(0x267),_0x489bdf[_0x1593bd(0x2f8)]=!![];const _0x112621={};_0x112621[_0x1593bd(0x186)]=_0x1593bd(0x236),_0x112621[_0x1593bd(0x19e)]=_0x1593bd(0x29f),_0x112621[_0x1593bd(0x2f8)]=!![],_0x112621[_0x1593bd(0x2ff)]=_0x51f29f;const _0x4241d5={};return _0x4241d5['id']=_0x489bdf,_0x4241d5['data']=_0x112621,_0x4241d5;}[a0_0x4986fd(0x28b)](){const _0x42c338=a0_0x4986fd;return this[_0x42c338(0x172)]();}[a0_0x4986fd(0x309)](){const _0x565c74=a0_0x4986fd,_0x5db358=this[_0x565c74(0x12a)][_0x565c74(0x26d)]||[],_0x422f15=this[_0x565c74(0x12a)][_0x565c74(0x1a1)],_0x368119=_0x5db358['find'](_0x217cde=>_0x217cde['isPrimaryKey']()||_0x217cde[_0x565c74(0x3b7)]===_0x422f15),_0x5bd023=_0x5db358[_0x565c74(0x276)](_0x3efb62=>{const _0x2abb57=_0x565c74;if(_0x3efb62[_0x2abb57(0x37d)])return![];if(_0x3efb62===_0x368119||_0x3efb62[_0x2abb57(0x2f6)]())return![];if(_0x3efb62[_0x2abb57(0x34c)]()||_0x3efb62[_0x2abb57(0x337)]())return![];if(_0x3efb62[_0x2abb57(0x2cf)]())return![];return!![];});return _0x368119?[_0x368119,..._0x5bd023]:_0x5bd023;}[a0_0x4986fd(0x1ab)](){const _0x14191d=a0_0x4986fd,_0x542ed6=this[_0x14191d(0x309)](),_0x5a0453=this[_0x14191d(0x12a)][_0x14191d(0x1a1)],_0x6412df=_0x542ed6[_0x14191d(0x30d)](_0x291d85=>{const _0x22cc55=_0x14191d,_0x7a6572=_0x291d85[_0x22cc55(0x2f6)]()||_0x291d85['code']===_0x5a0453,_0x4704b5=_0x7a6572?'id':_0x291d85[_0x22cc55(0x3b7)],_0x2467f9={};return _0x2467f9[_0x22cc55(0x30e)]=_0x4704b5,_0x2467f9[_0x22cc55(0x186)]=_0x291d85[_0x22cc55(0x186)],_0x2467f9['description']=_0x7a6572?_0x22cc55(0x2f7)+(_0x5a0453&&_0x5a0453!==_0x291d85[_0x22cc55(0x3b7)]?_0x22cc55(0x3be)+_0x291d85[_0x22cc55(0x3b7)]+')':''):_0x291d85[_0x22cc55(0x19e)]||_0x291d85[_0x22cc55(0x30e)],_0x2467f9;}),_0x2ffb5e={};return _0x2ffb5e[_0x14191d(0x19e)]=_0x14191d(0x355),_0x2ffb5e[_0x14191d(0x34d)]=_0x6412df,_0x2ffb5e;}[a0_0x4986fd(0x25f)](){const _0x2d95c1=a0_0x4986fd,_0x1a8e03=this[_0x2d95c1(0x172)](),_0x2c8ab5=Object[_0x2d95c1(0x353)](_0x1a8e03)[_0x2d95c1(0x30d)](([_0xec20b8,_0x451d6b])=>{const _0x560abb=_0x2d95c1,_0xc8c47a=_0x451d6b,_0x455044={};return _0x455044[_0x560abb(0x30e)]=_0xec20b8,_0x455044[_0x560abb(0x186)]=_0xc8c47a[_0x560abb(0x186)]||_0x560abb(0x1b3),_0x455044[_0x560abb(0x19e)]=_0xc8c47a['description']||'-',_0x455044;}),_0x14ddff={};return _0x14ddff['description']=_0x2d95c1(0x2f3)+_0x2d95c1(0x1c8)+_0x2d95c1(0x2c2)+_0x2d95c1(0x16f)+_0x2d95c1(0x17c)+_0x2d95c1(0x132),_0x14ddff[_0x2d95c1(0x34d)]=_0x2c8ab5,_0x14ddff;}[a0_0x4986fd(0x374)](){const _0x353397=a0_0x4986fd,_0x709a1f=this['getUpdateFields'](),_0x498585={};Object[_0x353397(0x353)](_0x709a1f)[_0x353397(0x31a)](([_0x529a79,_0x5ef5ac])=>{const _0x502207=_0x353397,_0x57aa81=_0x5ef5ac;let _0x5c29b4;if(typeof _0x57aa81[_0x502207(0x186)]===_0x502207(0x388))_0x5c29b4=_0x57aa81[_0x502207(0x186)];else _0x57aa81['type']&&typeof _0x57aa81[_0x502207(0x186)]===_0x502207(0x236)?_0x5c29b4=_0x57aa81[_0x502207(0x186)]['type']||_0x502207(0x139):_0x5c29b4=_0x502207(0x139);const _0xaddac=_0x57aa81['description'],_0x1893f9=this['getFieldDefinition'](_0x529a79);_0x498585[_0x529a79]=this[_0x502207(0x21c)](_0x529a79,_0x5c29b4,_0x1893f9?.[_0x502207(0x195)](),{'isPrimaryKey':![],'description':_0xaddac||_0x1893f9?.['description']||_0x1893f9?.[_0x502207(0x30e)]});});const _0x2df90b={};return _0x2df90b['id']=0x1,_0x2df90b[_0x353397(0x3b5)]=_0x498585,_0x2df90b;}[a0_0x4986fd(0x3b0)](){const _0x5ad91d=a0_0x4986fd,_0xb1f567=this[_0x5ad91d(0x374)](),_0x38f0b6={};return _0x38f0b6['title']=_0x5ad91d(0x1cc),_0x38f0b6[_0x5ad91d(0x19e)]=_0x5ad91d(0x15a)+_0x5ad91d(0x21d)+'-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段',_0x38f0b6[_0x5ad91d(0x3b5)]=_0xb1f567,[_0x38f0b6,{'title':_0x5ad91d(0x108),'description':_0x5ad91d(0x34a)+_0x5ad91d(0x1ef)+_0x5ad91d(0x2cc),'data':this[_0x5ad91d(0x286)]()}];}[a0_0x4986fd(0x286)](){const _0xade2b2=a0_0x4986fd,_0x5f1eb8=this[_0xade2b2(0x172)](),_0x1d1f46={};_0x1d1f46['id']=0x1;const _0x39b4e1=_0x1d1f46;return Object['entries'](_0x5f1eb8)[_0xade2b2(0x31a)](([_0x5e1215,_0x141089])=>{const _0x2d392d=_0xade2b2,_0x2b00e9=_0x141089;let _0x11ccea;if(typeof _0x2b00e9[_0x2d392d(0x186)]===_0x2d392d(0x388))_0x11ccea=_0x2b00e9[_0x2d392d(0x186)];else _0x2b00e9['type']&&typeof _0x2b00e9[_0x2d392d(0x186)]==='object'?_0x11ccea=_0x2b00e9[_0x2d392d(0x186)][_0x2d392d(0x186)]||_0x2d392d(0x139):_0x11ccea=_0x2d392d(0x139);const _0x5868b6=_0x2b00e9[_0x2d392d(0x19e)],_0x3ae214=this['getFieldDefinition'](_0x5e1215);if(_0x3ae214?.[_0x2d392d(0x2f6)]())return;_0x39b4e1[_0x5e1215]=this[_0x2d392d(0x21c)](_0x5e1215,_0x11ccea,_0x3ae214?.[_0x2d392d(0x195)](),{'isPrimaryKey':![],'description':_0x5868b6||_0x3ae214?.[_0x2d392d(0x19e)]||_0x3ae214?.[_0x2d392d(0x30e)]});}),_0x39b4e1;}[a0_0x4986fd(0x1f0)](){const _0x296d3f=a0_0x4986fd;return this[_0x296d3f(0x286)]();}[a0_0x4986fd(0x137)](_0x4a7ea9,_0x3557c9){const _0x4f5bea=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3557c9||{},_0x53b9b2=this[_0x4f5bea(0x1dd)]();if(useFullExample){const _0x5855b6=this[_0x4f5bea(0x374)](),_0x5210f6=JSON[_0x4f5bea(0x122)](_0x5855b6[_0x4f5bea(0x3b5)],null,0x2)[_0x4f5bea(0x398)]('\x0a')[_0x4f5bea(0x30d)]((_0x5ade64,_0x2eb662)=>_0x2eb662===0x0?_0x5ade64:indent+_0x5ade64)[_0x4f5bea(0x348)]('\x0a');return _0x4f5bea(0x380)+_0x4a7ea9+'.'+_0x53b9b2+'('+_0x5855b6['id']+',\x20'+_0x5210f6+');';}return _0x4f5bea(0x380)+_0x4a7ea9+'.'+_0x53b9b2+_0x4f5bea(0x166);}}class AggregateOperation extends GenericOperation{constructor(_0x437224,_0x3ba89e,_0x3e4997){super(_0x437224,_0x3ba89e,_0x3e4997);}[a0_0x4986fd(0x336)](_0x4c7313){const _0xc5039=a0_0x4986fd;return _0x4c7313[_0xc5039(0x15c)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0xc5039(0x356)]()[_0xc5039(0x39b)]();}[a0_0x4986fd(0x214)](){return AGGREGATE_FUNCTIONS;}[a0_0x4986fd(0x12d)](){const _0x257ef6=a0_0x4986fd,_0x3faebe=super[_0x257ef6(0x12d)](),_0x5d57ff={};_0x5d57ff[_0x257ef6(0x186)]='String[]',_0x5d57ff[_0x257ef6(0x19e)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)',_0x5d57ff[_0x257ef6(0x2f8)]=![];const _0x115274={};_0x115274[_0x257ef6(0x186)]='Object',_0x115274[_0x257ef6(0x19e)]=_0x257ef6(0x22b),_0x115274[_0x257ef6(0x2f8)]=![];const _0x56745b={};_0x56745b[_0x257ef6(0x186)]=_0x257ef6(0x361),_0x56745b[_0x257ef6(0x19e)]=_0x257ef6(0x342),_0x56745b[_0x257ef6(0x2f8)]=![];const _0x51bfa6={};_0x51bfa6[_0x257ef6(0x186)]=_0x257ef6(0x136),_0x51bfa6['description']=_0x257ef6(0x264),_0x51bfa6[_0x257ef6(0x2f8)]=![];const _0x324fb7={};_0x324fb7[_0x257ef6(0x186)]='Array',_0x324fb7['description']=_0x257ef6(0x144),_0x324fb7[_0x257ef6(0x2f8)]=![];const _0x11c161={};_0x11c161[_0x257ef6(0x186)]='Array',_0x11c161[_0x257ef6(0x19e)]=_0x257ef6(0x11d),_0x11c161['required']=![];const _0x2aaf99={};_0x2aaf99[_0x257ef6(0x186)]=_0x257ef6(0x25b),_0x2aaf99[_0x257ef6(0x19e)]=_0x257ef6(0x31d),_0x2aaf99['required']=![];const _0x127d46={};_0x127d46[_0x257ef6(0x186)]=_0x257ef6(0x25b),_0x127d46[_0x257ef6(0x19e)]=_0x257ef6(0x204),_0x127d46['required']=![];const _0x530603={..._0x3faebe};return _0x530603[_0x257ef6(0x16b)]=_0x5d57ff,_0x530603[_0x257ef6(0x1e7)]=_0x115274,_0x530603[_0x257ef6(0x275)]=_0x56745b,_0x530603[_0x257ef6(0x10a)]=_0x51bfa6,_0x530603[_0x257ef6(0x200)]=_0x324fb7,_0x530603[_0x257ef6(0x37c)]=_0x11c161,_0x530603['currentPage']=_0x2aaf99,_0x530603[_0x257ef6(0x1bc)]=_0x127d46,_0x530603;}[a0_0x4986fd(0x165)](){const _0x2e467d=a0_0x4986fd,_0x117520={};_0x117520['code']=_0x2e467d(0x16b),_0x117520[_0x2e467d(0x186)]='String[]',_0x117520[_0x2e467d(0x19e)]=_0x2e467d(0x1ad);const _0x544a50={};_0x544a50[_0x2e467d(0x3b7)]=_0x2e467d(0x1e7),_0x544a50['type']=_0x2e467d(0x37e),_0x544a50['description']=_0x2e467d(0x22b);const _0x310f65={};_0x310f65[_0x2e467d(0x3b7)]='groupBy',_0x310f65[_0x2e467d(0x186)]='String[]',_0x310f65[_0x2e467d(0x19e)]=_0x2e467d(0x342);const _0x53875e={};_0x53875e[_0x2e467d(0x3b7)]=_0x2e467d(0x10a),_0x53875e[_0x2e467d(0x186)]=_0x2e467d(0x136),_0x53875e[_0x2e467d(0x19e)]=_0x2e467d(0x1ed);const _0x56104d={};_0x56104d[_0x2e467d(0x3b7)]=_0x2e467d(0x200),_0x56104d['type']=_0x2e467d(0x136),_0x56104d['description']='分组后的过滤条件(对聚合结果进行过滤)';const _0x5bf415={};_0x5bf415['code']=_0x2e467d(0x37c),_0x5bf415[_0x2e467d(0x186)]='Array',_0x5bf415[_0x2e467d(0x19e)]=_0x2e467d(0x11d);const _0x507308={};_0x507308[_0x2e467d(0x3b7)]='currentPage',_0x507308['type']=_0x2e467d(0x25b),_0x507308[_0x2e467d(0x19e)]=_0x2e467d(0x31d);const _0x2d4acd={};return _0x2d4acd[_0x2e467d(0x3b7)]=_0x2e467d(0x1bc),_0x2d4acd[_0x2e467d(0x186)]=_0x2e467d(0x25b),_0x2d4acd['description']=_0x2e467d(0x204),[_0x117520,_0x544a50,_0x310f65,_0x53875e,_0x56104d,_0x5bf415,_0x507308,_0x2d4acd];}[a0_0x4986fd(0x374)](){const _0x336254=a0_0x4986fd,_0x4a6983=this[_0x336254(0x12a)][_0x336254(0x26d)]||[];if(_0x4a6983[_0x336254(0x338)]===0x0){const _0x180b05={};return _0x180b05[_0x336254(0x1e7)]={},_0x180b05[_0x336254(0x275)]=[],_0x180b05[_0x336254(0x10a)]=[],_0x180b05;}const _0x8a5519={},_0x5b648d=_0x4a6983[_0x336254(0x14d)](0x0,Math[_0x336254(0x3c3)](0x3,_0x4a6983[_0x336254(0x338)]));_0x5b648d[_0x336254(0x31a)](_0x3b35aa=>{const _0x36e79b=_0x336254,_0x593a50=this[_0x36e79b(0x254)](_0x3b35aa);if(_0x593a50['length']===0x0)return;const _0x3b5842=this['selectBestOperator'](_0x3b35aa,_0x593a50),_0x5d81c9=this['generateExampleValue'](_0x3b35aa,_0x3b5842),_0x2d01d4={};_0x2d01d4[_0x3b5842]=_0x5d81c9,_0x8a5519[_0x3b35aa['code']]=_0x2d01d4;});const _0x172c94=_0x4a6983['slice'](0x0,Math[_0x336254(0x3c3)](0x2,_0x4a6983['length']))[_0x336254(0x30d)](_0x58134c=>_0x58134c[_0x336254(0x3b7)]),_0x27ea88=[],_0xb92ea7=_0x4a6983[_0x336254(0x276)](_0xd0be3=>this[_0x336254(0x3af)](_0xd0be3));if(_0xb92ea7[_0x336254(0x338)]>0x0){const _0x13d081=_0xb92ea7[0x0],_0x9dc65a=_0x13d081[_0x336254(0x3b7)],_0x1dd956={};_0x1dd956[_0x336254(0x186)]='sum',_0x1dd956[_0x336254(0x18d)]=_0x9dc65a,_0x1dd956[_0x336254(0x28e)]=_0x9dc65a+_0x336254(0x233),_0x1dd956[_0x336254(0x38e)]=![],_0x1dd956['round']=!![],_0x1dd956['precision']=0x2,_0x27ea88[_0x336254(0x279)](_0x1dd956);const _0x2ca1a1={};_0x2ca1a1[_0x336254(0x186)]=_0x336254(0x37b),_0x2ca1a1[_0x336254(0x18d)]=_0x9dc65a,_0x2ca1a1[_0x336254(0x28e)]=_0x9dc65a+_0x336254(0x23c),_0x2ca1a1[_0x336254(0x38e)]=![],_0x2ca1a1['round']=!![],_0x2ca1a1['precision']=0x2,_0x27ea88['push'](_0x2ca1a1);const _0x4b6889={};_0x4b6889[_0x336254(0x186)]='max',_0x4b6889[_0x336254(0x18d)]=_0x9dc65a,_0x4b6889[_0x336254(0x28e)]=_0x9dc65a+_0x336254(0x24d),_0x4b6889[_0x336254(0x38e)]=![],_0x4b6889['round']=!![],_0x4b6889[_0x336254(0x1f5)]=0x2,_0x27ea88[_0x336254(0x279)](_0x4b6889);const _0x5d448f={};_0x5d448f[_0x336254(0x186)]=_0x336254(0x3c3),_0x5d448f[_0x336254(0x18d)]=_0x9dc65a,_0x5d448f[_0x336254(0x28e)]=_0x9dc65a+'_min',_0x5d448f[_0x336254(0x38e)]=![],_0x5d448f[_0x336254(0x2b5)]=!![],_0x5d448f['precision']=0x2,_0x27ea88[_0x336254(0x279)](_0x5d448f);}else{if(_0x4a6983['length']>0x0){const _0x1532f9=_0x4a6983[0x0],_0x2e4bac=_0x1532f9[_0x336254(0x3b7)],_0x334cff={};_0x334cff[_0x336254(0x186)]=_0x336254(0x202),_0x334cff[_0x336254(0x18d)]=_0x2e4bac,_0x334cff['alias']=_0x336254(0x2d6),_0x334cff['distinct']=!![],_0x27ea88[_0x336254(0x279)](_0x334cff);}}const _0x17f2fd=[];if(_0x4a6983['length']>0x0){const _0x2994f1=_0x4a6983[0x0][_0x336254(0x3b7)],_0x543c0d={};_0x543c0d[_0x2994f1]='desc',_0x17f2fd[_0x336254(0x279)](_0x543c0d);}const _0x27a0e0=[..._0x172c94,..._0x27ea88[_0x336254(0x30d)](_0x2e431c=>_0x2e431c[_0x336254(0x28e)])],_0x1d8b6e=[];if(_0x27ea88[_0x336254(0x338)]>0x0){const _0x4b47dc={};_0x4b47dc[_0x336254(0x163)]=0x0;const _0x2d39ae={};_0x2d39ae[_0x336254(0x167)]=_0x27ea88[0x0][_0x336254(0x28e)],_0x2d39ae[_0x336254(0x330)]=_0x4b47dc,_0x1d8b6e['push'](_0x2d39ae);}const _0x3af158={};return _0x3af158[_0x336254(0x16b)]=_0x27a0e0,_0x3af158['where']=_0x8a5519,_0x3af158[_0x336254(0x275)]=_0x172c94,_0x3af158['aggregate']=_0x27ea88,_0x3af158[_0x336254(0x200)]=_0x1d8b6e[_0x336254(0x338)]>0x0?_0x1d8b6e:undefined,_0x3af158[_0x336254(0x37c)]=_0x17f2fd,_0x3af158['currentPage']=0x1,_0x3af158[_0x336254(0x1bc)]=0x14,_0x3af158;}[a0_0x4986fd(0x137)](_0x5a4de5,_0x3812d3){const _0x10c73e=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3812d3||{},_0x688ac=this[_0x10c73e(0x1dd)](),_0x56b77f=this[_0x10c73e(0x374)](),_0x127204=_0x127bd5=>{const _0x28b9c2=_0x10c73e;return JSON[_0x28b9c2(0x122)](_0x127bd5,null,0x2)['split']('\x0a')['map']((_0x419120,_0x3bb2c2)=>_0x3bb2c2===0x0?_0x419120:indent+_0x419120)['join']('\x0a');};if(useFullExample){const _0x1f6849=this[_0x10c73e(0x12a)][_0x10c73e(0x26d)]||[],_0x5c8a6d=_0x1f6849[_0x10c73e(0x276)](_0x1a58ec=>this['isNumericField'](_0x1a58ec)),_0x550520={'where':_0x1f6849[0x0]?{[_0x1f6849[0x0][_0x10c73e(0x3b7)]]:{'$eq':this[_0x10c73e(0x3b4)](_0x1f6849[0x0],'$eq')}}:{},'aggregate':_0x5c8a6d[_0x10c73e(0x338)]>0x0?[{'type':'sum','column':_0x5c8a6d[0x0][_0x10c73e(0x3b7)],'alias':_0x5c8a6d[0x0][_0x10c73e(0x3b7)]+_0x10c73e(0x233),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x10c73e(0x202),'column':_0x1f6849[0x0]['code'],'alias':_0x10c73e(0x2d6),'distinct':!![]}],'orderBy':[{[_0x1f6849[0x0]['code']]:_0x10c73e(0x352)}]};let _0x58a656='';return _0x1f6849[_0x10c73e(0x338)]>=0x3&&(_0x58a656=_0x10c73e(0x17f)+_0x5a4de5+'.'+_0x688ac+'('+_0x127204(_0x56b77f)+');'),_0x10c73e(0x170)+_0x5a4de5+'.'+_0x688ac+'('+_0x127204(_0x550520)+');'+_0x58a656;}const _0x58511e=JSON[_0x10c73e(0x122)](_0x56b77f,null,0x2)['split']('\x0a')[_0x10c73e(0x30d)]((_0x36a038,_0x3bad04)=>_0x3bad04===0x0?_0x36a038:indent+_0x36a038)[_0x10c73e(0x348)]('\x0a');return _0x10c73e(0x380)+_0x5a4de5+'.'+_0x688ac+'('+_0x58511e+');';}[a0_0x4986fd(0x3af)](_0xcffff8){const _0x329866=a0_0x4986fd,_0x4e509e=_0xcffff8['getDbTypeForOperation']();return[_0x329866(0x1f9),_0x329866(0x304),'BIGINT',_0x329866(0x19a)][_0x329866(0x228)](_0x4e509e)||[_0x329866(0x1b2),'TINYINT',_0x329866(0x215),_0x329866(0x334),_0x329866(0x39a)]['includes'](_0x4e509e);}['getApplicableOperators'](_0x318dde){const _0x5237db=a0_0x4986fd,_0x320b2e=_0x318dde['getDbTypeForOperation'](),_0x663a93=[];if(['NUMBER',_0x5237db(0x304),_0x5237db(0x38c),_0x5237db(0x19a)]['includes'](_0x320b2e)||['INT',_0x5237db(0x2ed),_0x5237db(0x215),_0x5237db(0x334),_0x5237db(0x39a)][_0x5237db(0x228)](_0x320b2e))_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382),_0x5237db(0x163),_0x5237db(0x3c0),_0x5237db(0x3c5),_0x5237db(0x221),_0x5237db(0x125));else{if([_0x5237db(0x3ab),_0x5237db(0x139),_0x5237db(0x2e9)]['includes'](_0x320b2e)||['CHAR',_0x5237db(0x367)][_0x5237db(0x228)](_0x320b2e))_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382),_0x5237db(0x125),'$contain','$startWith',_0x5237db(0x24b));else{if(['DATE',_0x5237db(0x3ac),_0x5237db(0x110)][_0x5237db(0x228)](_0x320b2e)||[_0x5237db(0x2a8)][_0x5237db(0x228)](_0x320b2e))_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382),'$gte',_0x5237db(0x3c0),_0x5237db(0x3c5),_0x5237db(0x221));else[_0x5237db(0x30f),_0x5237db(0x1d4),_0x5237db(0x2fb)][_0x5237db(0x228)](_0x320b2e)?_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382)):_0x663a93[_0x5237db(0x279)]('$eq',_0x5237db(0x382));}}return _0x663a93;}[a0_0x4986fd(0x3b3)](_0x54061c,_0x305b39){const _0x24b8a5=a0_0x4986fd,_0x31b0a6=_0x54061c['getDbTypeForOperation']();if([_0x24b8a5(0x1f9),_0x24b8a5(0x304),_0x24b8a5(0x38c),_0x24b8a5(0x19a)]['includes'](_0x31b0a6)||['INT',_0x24b8a5(0x2ed),_0x24b8a5(0x215),_0x24b8a5(0x334),_0x24b8a5(0x39a)]['includes'](_0x31b0a6))return _0x305b39['includes'](_0x24b8a5(0x163))?_0x24b8a5(0x163):_0x24b8a5(0x33d);if([_0x24b8a5(0x3ab),_0x24b8a5(0x139),_0x24b8a5(0x2e9)]['includes'](_0x31b0a6)||[_0x24b8a5(0x319),_0x24b8a5(0x367)][_0x24b8a5(0x228)](_0x31b0a6))return _0x305b39['includes'](_0x24b8a5(0x26a))?_0x24b8a5(0x26a):_0x24b8a5(0x33d);if([_0x24b8a5(0x32d),_0x24b8a5(0x3ac),'TIMESTAMP',_0x24b8a5(0x2a8)][_0x24b8a5(0x228)](_0x31b0a6))return _0x305b39[_0x24b8a5(0x228)](_0x24b8a5(0x163))?_0x24b8a5(0x163):_0x24b8a5(0x33d);return _0x24b8a5(0x33d);}['generateExampleValue'](_0x2e2652,_0x1bf465){const _0x5de230=a0_0x4986fd,_0x5dcd77=_0x2e2652['getDbTypeForOperation'](),_0x6916bf=_0x2e2652[_0x5de230(0x2a5)]();if(_0x6916bf&&_0x6916bf['length']>0x0){if(_0x1bf465===_0x5de230(0x125))return _0x6916bf[_0x5de230(0x14d)](0x0,0x2)[_0x5de230(0x30d)](_0x1df165=>_0x1df165[_0x5de230(0x31e)]);return _0x6916bf[0x0][_0x5de230(0x31e)];}if([_0x5de230(0x1f9),_0x5de230(0x304),_0x5de230(0x38c),_0x5de230(0x19a)]['includes'](_0x5dcd77)||[_0x5de230(0x1b2),'TINYINT',_0x5de230(0x215),_0x5de230(0x334),'FLOAT'][_0x5de230(0x228)](_0x5dcd77)){if(_0x1bf465===_0x5de230(0x125))return[0x1,0x2,0x3];if(_0x1bf465===_0x5de230(0x163)||_0x1bf465===_0x5de230(0x3c5))return 0x0;if(_0x1bf465===_0x5de230(0x3c0)||_0x1bf465===_0x5de230(0x221))return 0x64;return 0x1;}if([_0x5de230(0x3ab),_0x5de230(0x139),'VARCHAR']['includes'](_0x5dcd77)||[_0x5de230(0x319),_0x5de230(0x367)][_0x5de230(0x228)](_0x5dcd77)){if(_0x1bf465===_0x5de230(0x125))return[_0x5de230(0x1da),_0x5de230(0x3c6)];if(_0x1bf465===_0x5de230(0x26a))return _0x5de230(0x2e3);if(_0x1bf465==='$startWith')return _0x5de230(0x33f);if(_0x1bf465===_0x5de230(0x24b))return _0x5de230(0x1f2);return _0x5de230(0x31e);}if([_0x5de230(0x32d),_0x5de230(0x3ac),_0x5de230(0x110),_0x5de230(0x2a8)][_0x5de230(0x228)](_0x5dcd77)){if(_0x1bf465===_0x5de230(0x163)||_0x1bf465===_0x5de230(0x3c5))return _0x5de230(0x25c);if(_0x1bf465===_0x5de230(0x3c0)||_0x1bf465===_0x5de230(0x221))return _0x5de230(0x37a);return _0x5de230(0x25c);}if([_0x5de230(0x30f),_0x5de230(0x1d4),_0x5de230(0x2fb)][_0x5de230(0x228)](_0x5dcd77))return!![];return _0x1bf465==='$in'?['value1','value2']:_0x5de230(0x31e);}[a0_0x4986fd(0x25f)](){const _0x2254cb=a0_0x4986fd,_0x30db01=this['getRequestParams'](),_0x2a07ec=Object[_0x2254cb(0x353)](_0x30db01)[_0x2254cb(0x276)](([_0x5bae93])=>_0x5bae93!==_0x2254cb(0x27f)&&_0x5bae93!==_0x2254cb(0x1bc))[_0x2254cb(0x30d)](([_0x4f464f,_0x2642df])=>{const _0x1b873f=_0x2254cb,_0x4a8d8b=_0x2642df,_0x27da48={};return _0x27da48[_0x1b873f(0x30e)]=_0x4f464f,_0x27da48[_0x1b873f(0x186)]=_0x4a8d8b[_0x1b873f(0x186)]||_0x1b873f(0x1b3),_0x27da48[_0x1b873f(0x19e)]=_0x4a8d8b[_0x1b873f(0x19e)]||'-',_0x27da48['required']=_0x4a8d8b[_0x1b873f(0x2f8)],_0x27da48;}),_0x23ff2c={};return _0x23ff2c[_0x2254cb(0x19e)]=_0x2254cb(0x31b),_0x23ff2c[_0x2254cb(0x34d)]=_0x2a07ec,_0x23ff2c;}[a0_0x4986fd(0x1d2)](){const _0xd22833=a0_0x4986fd,_0x313cbe=this[_0xd22833(0x374)]()[_0xd22833(0x10a)],_0x11a7fb=[{}],_0x2eec4b=[];_0x313cbe?.[_0xd22833(0x31a)](_0x3a0bcd=>{const _0x6b5037=_0xd22833,_0xcaf57d={};_0xcaf57d[_0x6b5037(0x22e)]=_0x3a0bcd[_0x6b5037(0x28e)],_0xcaf57d[_0x6b5037(0x1e9)]=_0x3a0bcd[_0x6b5037(0x28e)],_0x2eec4b[_0x6b5037(0x279)](_0xcaf57d),_0x11a7fb[0x0][_0x3a0bcd[_0x6b5037(0x28e)]]=_0x3a0bcd['type']==='count'?0x64:Math[_0x6b5037(0x2b5)](Math[_0x6b5037(0x203)]()*0x64*0x64)/0x64;});const _0x32bdb9={};_0x32bdb9[_0xd22833(0x1bc)]=0x1,_0x32bdb9['totalCount']=0x64,_0x32bdb9[_0xd22833(0x27f)]=0x1;const _0xf74a93={};_0xf74a93['paging']=_0x32bdb9,_0xf74a93[_0xd22833(0x148)]=_0x11a7fb,_0xf74a93[_0xd22833(0x397)]=_0x2eec4b;const _0x409ecc={};return _0x409ecc[_0xd22833(0x399)]=!![],_0x409ecc['msg']='',_0x409ecc[_0xd22833(0x1db)]='',_0x409ecc[_0xd22833(0x2e5)]=_0xd22833(0x1c2),_0x409ecc[_0xd22833(0x3b5)]=_0xf74a93,_0x409ecc[_0xd22833(0x34d)]=null,_0x409ecc;}}class OperationFactory{['create'](_0x1bb368,_0x161fe3,_0x1d803f){const _0x5ae6e7=a0_0x4986fd;switch(_0x1bb368){case _0x5ae6e7(0x224):return new GetSelectOptionsOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x208):return new GetListOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x276):return new FilterOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x381):return new ExcelExportOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x1c5):return new UpdateOperation(_0x1bb368,_0x161fe3,_0x1d803f);case'aggregate':return new AggregateOperation(_0x1bb368,_0x161fe3,_0x1d803f);default:return new GenericOperation(_0x1bb368,_0x161fe3,_0x1d803f);}}[a0_0x4986fd(0x26f)](_0x3e402f,_0x12862a){const _0x1e2a21=a0_0x4986fd,_0x4db50f=new Map();return Object['entries'](_0x3e402f)[_0x1e2a21(0x31a)](([_0x437bfe,_0x259c2f])=>{const _0x57d605=_0x1e2a21;_0x4db50f[_0x57d605(0x2d7)](_0x437bfe,this['create'](_0x437bfe,_0x259c2f,_0x12862a));}),_0x4db50f;}}class OperationList{['_operations'];constructor(_0x16cab0,_0x5a703b){const _0x5e0dfd=a0_0x4986fd,_0x39a041=new OperationFactory();this[_0x5e0dfd(0x280)]=_0x39a041['createAll'](_0x16cab0,_0x5a703b);}[a0_0x4986fd(0x161)](_0x47e703){const _0x101035=a0_0x4986fd;return this[_0x101035(0x280)][_0x101035(0x161)](_0x47e703);}[a0_0x4986fd(0x27a)](_0x4c65e5){const _0x173baf=a0_0x4986fd;return this[_0x173baf(0x280)]['has'](_0x4c65e5);}[a0_0x4986fd(0x38d)](){const _0x4031a8=a0_0x4986fd;return this[_0x4031a8(0x280)][_0x4031a8(0x38d)];}[a0_0x4986fd(0x1c3)](){const _0x880942=a0_0x4986fd;return Array[_0x880942(0x1df)](this[_0x880942(0x280)][_0x880942(0x1b1)]());}[a0_0x4986fd(0x23f)](){const _0x532a1f=a0_0x4986fd,_0x5dbb86=Array[_0x532a1f(0x1df)](this[_0x532a1f(0x280)][_0x532a1f(0x2d4)]());return this[_0x532a1f(0x185)](_0x5dbb86);}[a0_0x4986fd(0x117)](){const _0x21f61d=a0_0x4986fd;return this[_0x21f61d(0x23f)]()[_0x21f61d(0x276)](_0x5b70af=>_0x5b70af[_0x21f61d(0x282)]());}[a0_0x4986fd(0x1d0)](){const _0x46b92d=a0_0x4986fd;return this[_0x46b92d(0x23f)]()[_0x46b92d(0x276)](_0x1c04ab=>!_0x1c04ab[_0x46b92d(0x282)]());}[a0_0x4986fd(0x180)](){const _0x3e2c78=a0_0x4986fd;return this[_0x3e2c78(0x117)]()['map'](_0xa110a1=>_0xa110a1[_0x3e2c78(0x1dd)]());}['getDisabledNames'](){const _0x107285=a0_0x4986fd;return this[_0x107285(0x1d0)]()['map'](_0x23db5e=>_0x23db5e[_0x107285(0x1dd)]());}[a0_0x4986fd(0x2c0)](_0x56224a){const _0x54842e=a0_0x4986fd;return this['toArray']()[_0x54842e(0x276)](_0x31742d=>_0x31742d[_0x54842e(0x252)]()===_0x56224a);}[a0_0x4986fd(0x276)](_0x3d7ff8){const _0x4d0286=a0_0x4986fd;return this[_0x4d0286(0x23f)]()[_0x4d0286(0x276)](_0x3d7ff8);}[a0_0x4986fd(0x259)](_0x32850f={}){const _0x4eb9d5=a0_0x4986fd;let _0x1f9fe5=this['toArray']();!_0x32850f['includeDisabled']&&(_0x1f9fe5=_0x1f9fe5[_0x4eb9d5(0x276)](_0x51256c=>_0x51256c[_0x4eb9d5(0x282)]()));if(_0x32850f[_0x4eb9d5(0x27b)]!==![]){const _0x672266=_0x1f9fe5['map'](_0x52d10c=>({'name':_0x52d10c[_0x4eb9d5(0x1dd)](),'operation':_0x52d10c})),_0x50fe99=filterApiOperations(_0x672266);_0x1f9fe5=_0x50fe99[_0x4eb9d5(0x30d)](_0x3fc383=>_0x3fc383[_0x4eb9d5(0x17e)]),_0x1f9fe5=this[_0x4eb9d5(0x185)](_0x1f9fe5);}return _0x32850f[_0x4eb9d5(0x3b6)]&&(_0x1f9fe5=_0x1f9fe5[_0x4eb9d5(0x276)](_0x32850f['customFilter'])),_0x1f9fe5;}[a0_0x4986fd(0x185)](_0x3bf815){const _0x2a3584=a0_0x4986fd,_0x29d3d4=_0x3bf815[_0x2a3584(0x2b4)](_0x28b4c2=>_0x28b4c2['getName']()===_0x2a3584(0x276)),_0x51ae5e=_0x3bf815[_0x2a3584(0x276)](_0x216cf2=>_0x216cf2[_0x2a3584(0x1dd)]()!=='filter');return _0x29d3d4?[_0x29d3d4,..._0x51ae5e]:_0x51ae5e;}[a0_0x4986fd(0x151)](){const _0x39797f=a0_0x4986fd,_0x2664e7=this[_0x39797f(0x117)]();return{'total':this['size'](),'enabled':_0x2664e7[_0x39797f(0x338)],'disabled':this['size']()-_0x2664e7[_0x39797f(0x338)],'byType':this[_0x39797f(0x306)](_0x2664e7),'byMethod':this[_0x39797f(0x29e)](_0x2664e7)};}[a0_0x4986fd(0x306)](_0x11ba56){const _0x2637df={};return _0x11ba56['forEach'](_0x2c120e=>{const _0x41044d=_0x2c120e['getType']();_0x41044d&&(_0x2637df[_0x41044d]=(_0x2637df[_0x41044d]||0x0)+0x1);}),_0x2637df;}[a0_0x4986fd(0x29e)](_0x392e46){const _0x3d6b22={};return _0x392e46['forEach'](_0x23bcc8=>{const _0x1847d9=a0_0x5c95,_0x4ed774=_0x23bcc8[_0x1847d9(0x12b)]();_0x4ed774&&(_0x3d6b22[_0x4ed774]=(_0x3d6b22[_0x4ed774]||0x0)+0x1);}),_0x3d6b22;}[Symbol[a0_0x4986fd(0x263)]](){const _0x207ba4=a0_0x4986fd;return this[_0x207ba4(0x280)][_0x207ba4(0x2d4)]();}['toString'](){const _0x5da13d=a0_0x4986fd,_0x7eb7d3=this[_0x5da13d(0x151)]();return _0x5da13d(0x292)+_0x7eb7d3[_0x5da13d(0x1ac)]+'/'+_0x7eb7d3[_0x5da13d(0x238)]+_0x5da13d(0x201);}}class DBConfig{[a0_0x4986fd(0x245)];[a0_0x4986fd(0x349)];[a0_0x4986fd(0x2a9)];[a0_0x4986fd(0x227)];[a0_0x4986fd(0x360)];[a0_0x4986fd(0x1ca)];[a0_0x4986fd(0x3ba)];[a0_0x4986fd(0x1a1)];['tenantCode'];[a0_0x4986fd(0x30c)];constructor(_0xb2c617,_0x1e0d58){const _0x2d1597=a0_0x4986fd;this[_0x2d1597(0x245)]=_0x1e0d58,this[_0x2d1597(0x349)]=_0xb2c617[_0x2d1597(0x349)],this[_0x2d1597(0x2a9)]=_0xb2c617[_0x2d1597(0x2a9)],this[_0x2d1597(0x227)]=_0xb2c617[_0x2d1597(0x227)],this[_0x2d1597(0x360)]=_0xb2c617[_0x2d1597(0x360)],this[_0x2d1597(0x1ca)]=_0xb2c617[_0x2d1597(0x1ca)],this[_0x2d1597(0x3ba)]=_0xb2c617[_0x2d1597(0x3ba)],this[_0x2d1597(0x1a1)]=_0xb2c617[_0x2d1597(0x1a1)],this[_0x2d1597(0x10b)]=_0xb2c617[_0x2d1597(0x10b)],this[_0x2d1597(0x30c)]=_0xb2c617[_0x2d1597(0x30c)];}[a0_0x4986fd(0x230)](){const _0x126dc1=a0_0x4986fd;return this[_0x126dc1(0x245)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x4986fd(0x33a)];[a0_0x4986fd(0x2ab)];[a0_0x4986fd(0x1be)];constructor(_0x3467ee){const _0x3a9bb8=a0_0x4986fd,_0x576c9c={..._0x3467ee};_0x576c9c['id']=_0x3467ee['modelId']||_0x3467ee['id'],_0x576c9c[_0x3a9bb8(0x2e2)]=_0x3467ee['modelCode']||_0x3467ee[_0x3a9bb8(0x2e2)]||_0x3467ee[_0x3a9bb8(0x3b7)],super(_0x576c9c);}[a0_0x4986fd(0x105)](){return;}[a0_0x4986fd(0x269)](){return[];}[a0_0x4986fd(0x11c)](){return[];}get[a0_0x4986fd(0x2f4)](){const _0x2f7640=a0_0x4986fd;return this[_0x2f7640(0x14f)]();}['getFieldList'](){if(!this['_fieldList'])throw new Error('getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass');return this['_fieldList'];}[a0_0x4986fd(0x297)](){const _0x592b08=a0_0x4986fd;if(!this['_fieldListWithDeleted'])throw new Error(_0x592b08(0x23d));return this['_fieldListWithDeleted'];}[a0_0x4986fd(0x1af)](){return[];}[a0_0x4986fd(0x2b9)](){const _0x551610=a0_0x4986fd,_0x2bf3a6=this[_0x551610(0x274)]();return _0x2bf3a6[_0x551610(0x26d)];}[a0_0x4986fd(0x173)](){const _0x9c542a=a0_0x4986fd;return this[_0x9c542a(0x1af)]()['length'];}[a0_0x4986fd(0x1b0)](_0x480150){const _0x3c2a2b=a0_0x4986fd,_0x1fbc4b=this[_0x3c2a2b(0x176)](_0x480150);return _0x1fbc4b?_0x1fbc4b[_0x3c2a2b(0x245)]:undefined;}[a0_0x4986fd(0x2bf)](_0x1e12e8){return;}[a0_0x4986fd(0x246)](_0x4ec054){const _0x3e794c=a0_0x4986fd;if(!_0x4ec054||typeof _0x4ec054!=='object')return!![]&&console[_0x3e794c(0x27e)]('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0x4ec054),{};if(_0x3e794c(0x1a1)in _0x4ec054){const _0x5c3efc=_0x4ec054;return{'primaryKey':typeof _0x5c3efc['pkField']===_0x3e794c(0x229)?_0x5c3efc[_0x3e794c(0x1a1)]:Boolean(_0x5c3efc['pkField']),'required':_0x5c3efc[_0x3e794c(0x2f8)],'systemRetain':Boolean(_0x5c3efc['systemRetain']),'autoIncrement':_0x5c3efc[_0x3e794c(0x1b5)]??undefined};}if(!('extend'in _0x4ec054)||!_0x4ec054[_0x3e794c(0x142)])return{};try{const _0x4935f8=typeof _0x4ec054['extend']==='string'?JSON[_0x3e794c(0x2a3)](_0x4ec054[_0x3e794c(0x142)]):_0x4ec054[_0x3e794c(0x142)];if(typeof _0x4935f8!==_0x3e794c(0x236)||_0x4935f8===null)return{};return _0x4935f8;}catch{return{};}}[a0_0x4986fd(0x158)](){const _0x211aee=a0_0x4986fd;if(!this[_0x211aee(0x33a)]){const _0x46dc9b=this[_0x211aee(0x311)](this['getOperationsData']()||{});this[_0x211aee(0x33a)]=new OperationList(_0x46dc9b,{'fields':this[_0x211aee(0x303)]()[_0x211aee(0x2af)](),'pkField':this['_raw'][_0x211aee(0x128)]?.[_0x211aee(0x1a1)],'dbtableConfig':this['_raw'][_0x211aee(0x128)]||null});}return this['_operationList'];}[a0_0x4986fd(0x311)](_0x297016){const _0x4ec277=a0_0x4986fd;if(_0x297016['filter']!==undefined)return _0x297016;return{..._0x297016,'filter':this[_0x4ec277(0x347)]()};}[a0_0x4986fd(0x347)](){const _0x503a08=a0_0x4986fd,_0x389390=this[_0x503a08(0x2c3)]()?.[_0x503a08(0x208)];let _0x236eb1=_0x389390?.[_0x503a08(0x358)],_0x5b266b='';if(!_0x236eb1&&this[_0x503a08(0x2c3)]()){const _0x4ca377=Object[_0x503a08(0x2d4)](this['getOperationsData']());for(const _0x44b97a of _0x4ca377){if(_0x44b97a&&typeof _0x44b97a===_0x503a08(0x236)&&_0x503a08(0x358)in _0x44b97a){_0x236eb1=_0x44b97a['host'];break;}}}if(_0x389390?.[_0x503a08(0x1f1)]){const _0x23b334=_0x389390[_0x503a08(0x1f1)],_0x2cff39=_0x23b334[_0x503a08(0x1a0)]('/');_0x2cff39!==-0x1&&(_0x5b266b=_0x23b334[_0x503a08(0x187)](0x0,_0x2cff39));}const _0x4e655c={};_0x4e655c[_0x503a08(0x30e)]=_0x503a08(0x1e7),_0x4e655c[_0x503a08(0x186)]=_0x503a08(0x236),_0x4e655c[_0x503a08(0x2f8)]=![];const _0x5c19d9={};_0x5c19d9[_0x503a08(0x30e)]=_0x503a08(0x16b),_0x5c19d9[_0x503a08(0x186)]=_0x503a08(0x2a2),_0x5c19d9[_0x503a08(0x2f8)]=![];const _0x1f3d54={};_0x1f3d54[_0x503a08(0x30e)]=_0x503a08(0x37c),_0x1f3d54['type']=_0x503a08(0x2a2),_0x1f3d54[_0x503a08(0x2f8)]=![];const _0x12453e={};_0x12453e['name']=_0x503a08(0x27f),_0x12453e['type']='number',_0x12453e[_0x503a08(0x2f8)]=![],_0x12453e[_0x503a08(0x1ff)]=0x1;const _0x3ddc64={};_0x3ddc64['name']=_0x503a08(0x1bc),_0x3ddc64[_0x503a08(0x186)]='number',_0x3ddc64[_0x503a08(0x2f8)]=![],_0x3ddc64[_0x503a08(0x1ff)]=0xa;const _0x26809f={};return _0x26809f[_0x503a08(0x30e)]='filter',_0x26809f[_0x503a08(0x186)]=_0x503a08(0x2ca),_0x26809f[_0x503a08(0x19e)]=_0x503a08(0x30a),_0x26809f[_0x503a08(0x2fc)]=_0x503a08(0x1c0),_0x26809f[_0x503a08(0x358)]=_0x236eb1,_0x26809f['path']=_0x5b266b?_0x5b266b+_0x503a08(0x29d):_0x503a08(0x29d),_0x26809f[_0x503a08(0x34d)]=_0x389390?.[_0x503a08(0x34d)]||[_0x4e655c,_0x5c19d9,_0x1f3d54,_0x12453e,_0x3ddc64],_0x26809f[_0x503a08(0x29b)]=!![],_0x26809f;}[a0_0x4986fd(0x14c)](){const _0x54cb9c=a0_0x4986fd;return this[_0x54cb9c(0x158)]()[_0x54cb9c(0x23f)]();}[a0_0x4986fd(0x15e)](){const _0x4349cf=a0_0x4986fd;return this[_0x4349cf(0x158)]()[_0x4349cf(0x38d)]();}[a0_0x4986fd(0x1fa)](_0x58364d){const _0x2f0324=a0_0x4986fd;if(typeof _0x58364d!=='string'){!![]&&console[_0x2f0324(0x27e)](_0x2f0324(0x250),_0x58364d);return;}return this[_0x2f0324(0x158)]()['get'](_0x58364d);}[a0_0x4986fd(0x378)](_0x1ebf17){const _0x1fe7df=a0_0x4986fd;if(typeof _0x1ebf17!==_0x1fe7df(0x388))return![];return this['getOperationList']()[_0x1fe7df(0x27a)](_0x1ebf17);}[a0_0x4986fd(0x359)](_0x1b93b1){const _0x45f36c=a0_0x4986fd;if(typeof _0x1b93b1!=='string')return![];const _0x50654a=this[_0x45f36c(0x1fa)](_0x1b93b1);return _0x50654a?.['isEnabled']()||![];}[a0_0x4986fd(0x362)](){const _0x4e4a25=a0_0x4986fd;return this['getOperationList']()[_0x4e4a25(0x180)]();}[a0_0x4986fd(0x1ba)](){const _0x3d7fa8=a0_0x4986fd;return this[_0x3d7fa8(0x158)]()[_0x3d7fa8(0x130)]();}['getEnabledOperationInstances'](){const _0x1d76c4=a0_0x4986fd;return this[_0x1d76c4(0x158)]()['getEnabled']();}[a0_0x4986fd(0x321)](){const _0x28c437=a0_0x4986fd;return this[_0x28c437(0x158)]()[_0x28c437(0x1d0)]();}[a0_0x4986fd(0x239)](_0x488f92={}){const _0x49a752=a0_0x4986fd;return this['getOperationList']()[_0x49a752(0x259)](_0x488f92);}[a0_0x4986fd(0x151)](){const _0x14cab3=a0_0x4986fd;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this[_0x14cab3(0x165)]()[_0x14cab3(0x338)],'businessFieldCount':this[_0x14cab3(0x2c7)]()['length'],'requiredFieldCount':this[_0x14cab3(0x18a)]()[_0x14cab3(0x338)],'primaryKeyCount':this[_0x14cab3(0x345)]()['length'],'operationCount':this['getOperationCount'](),'enabledOperationCount':this[_0x14cab3(0x362)]()[_0x14cab3(0x338)]};}[a0_0x4986fd(0x22a)](_0x426aad){const _0x1cac4e=a0_0x4986fd;if(!_0x426aad||typeof _0x426aad!==_0x1cac4e(0x236))return'';if(_0x1cac4e(0x3b7)in _0x426aad&&typeof _0x426aad[_0x1cac4e(0x3b7)]==='string')return _0x426aad[_0x1cac4e(0x3b7)];if('name'in _0x426aad&&typeof _0x426aad[_0x1cac4e(0x30e)]==='string')return _0x426aad[_0x1cac4e(0x30e)];return'';}['hasField'](_0x1fbb73){const _0x58ec8b=a0_0x4986fd;return this[_0x58ec8b(0x303)]()[_0x58ec8b(0x27a)](_0x1fbb73);}[a0_0x4986fd(0x2bc)](_0x34b97b){const _0x551581=a0_0x4986fd;if(!_0x34b97b||typeof _0x34b97b!==_0x551581(0x236))return![];const _0x3bacf9=this['getFieldCode'](_0x34b97b),_0x1ca9f9=this[_0x551581(0x176)](_0x3bacf9);return _0x1ca9f9?_0x1ca9f9[_0x551581(0x2f6)]():![];}[a0_0x4986fd(0x152)](_0x249053){const _0xaab4c2=a0_0x4986fd;if(!_0x249053||typeof _0x249053!==_0xaab4c2(0x236))return![];const _0xca4320=this[_0xaab4c2(0x22a)](_0x249053),_0x52dd70=this[_0xaab4c2(0x176)](_0xca4320);return _0x52dd70?_0x52dd70['isSystem']():![];}[a0_0x4986fd(0x1a9)](_0x3af3fa){const _0x53f30e=a0_0x4986fd;if(!_0x3af3fa||typeof _0x3af3fa!==_0x53f30e(0x236))return![];const _0x40425c=this['getFieldCode'](_0x3af3fa),_0x37a61d=this[_0x53f30e(0x176)](_0x40425c);return _0x37a61d?_0x37a61d[_0x53f30e(0x115)]():![];}['isEnumField'](_0x703386){const _0x9a074b=a0_0x4986fd;if(!_0x703386||typeof _0x703386!==_0x9a074b(0x236))return![];const _0x2dc7da=this[_0x9a074b(0x22a)](_0x703386),_0x213cc9=this[_0x9a074b(0x176)](_0x2dc7da);return _0x213cc9?_0x213cc9[_0x9a074b(0x1f7)]():![];}[a0_0x4986fd(0x2eb)](_0x4988d8){const _0x4c3339=a0_0x4986fd;if(!_0x4988d8||typeof _0x4988d8!=='object')return![];const _0x5d3954=this[_0x4c3339(0x22a)](_0x4988d8),_0x23a724=this['getFieldInstance'](_0x5d3954);return _0x23a724?_0x23a724[_0x4c3339(0x351)]():![];}[a0_0x4986fd(0x116)](_0x41844b){const _0x569377=a0_0x4986fd;if(!_0x41844b||typeof _0x41844b!==_0x569377(0x236))return[];const _0x39ca87=this['getFieldCode'](_0x41844b),_0x7863dc=this[_0x569377(0x176)](_0x39ca87);if(!_0x7863dc||!_0x7863dc[_0x569377(0x1f7)]())return[];return _0x7863dc[_0x569377(0x2a5)]()||[];}[a0_0x4986fd(0x1fb)](_0x262bfe){const _0x14eb48=a0_0x4986fd;if(!_0x262bfe||typeof _0x262bfe!==_0x14eb48(0x236))return;const _0x184eb6=this[_0x14eb48(0x22a)](_0x262bfe),_0x2a989c=this['getFieldInstance'](_0x184eb6);if(!_0x2a989c||!_0x2a989c[_0x14eb48(0x1f7)]())return;return _0x2a989c[_0x14eb48(0x146)]();}[a0_0x4986fd(0x1ce)](_0x5317fd){const _0x49267e=a0_0x4986fd;if(!_0x5317fd||typeof _0x5317fd!==_0x49267e(0x236))return;const _0x20cd15=this[_0x49267e(0x22a)](_0x5317fd),_0x29c918=this[_0x49267e(0x176)](_0x20cd15);if(!_0x29c918||!_0x29c918['isEnum']())return;return _0x29c918[_0x49267e(0x38b)]();}[a0_0x4986fd(0x345)](){const _0x53c3e6=a0_0x4986fd;return this[_0x53c3e6(0x303)]()[_0x53c3e6(0x3c2)]()[_0x53c3e6(0x30d)](_0x37226b=>_0x37226b[_0x53c3e6(0x245)]);}[a0_0x4986fd(0x165)](){const _0x2b52c7=a0_0x4986fd;return this[_0x2b52c7(0x303)]()['getSystem']()['map'](_0x2b292b=>_0x2b292b[_0x2b52c7(0x245)]);}[a0_0x4986fd(0x2c7)](){const _0x1710a5=a0_0x4986fd;return this[_0x1710a5(0x303)]()[_0x1710a5(0x1b7)]()[_0x1710a5(0x30d)](_0x3f6707=>_0x3f6707[_0x1710a5(0x245)]);}[a0_0x4986fd(0x18a)](){const _0x3859b0=a0_0x4986fd;return this[_0x3859b0(0x303)]()[_0x3859b0(0x37f)]()['map'](_0x27c2a7=>_0x27c2a7['raw']);}[a0_0x4986fd(0x393)](){const _0x104e39=a0_0x4986fd,_0x2f9751=this['getFieldList']()[_0x104e39(0x3a1)](),_0x43bbdc={};for(const [_0x1290c4,_0xbde429]of Object['entries'](_0x2f9751)){_0x43bbdc[_0x1290c4]=_0xbde429[_0x104e39(0x30d)](_0xc72832=>_0xc72832[_0x104e39(0x245)]);}return _0x43bbdc;}[a0_0x4986fd(0x302)](){const _0x5f4488=a0_0x4986fd;return this[_0x5f4488(0x303)]()[_0x5f4488(0x3b2)]()[_0x5f4488(0x30d)](_0x3359cf=>_0x3359cf['raw']);}[a0_0x4986fd(0x2bd)](){const _0x455f88=a0_0x4986fd,_0x1da2c9={};return this[_0x455f88(0x302)]()[_0x455f88(0x31a)](_0xd6126b=>{const _0x277139=this['getEnumFieldMeta'](_0xd6126b);if(_0x277139){const _0x617805=this['getFieldCode'](_0xd6126b);_0x1da2c9[_0x617805]=_0x277139;}}),_0x1da2c9;}['validateEnumValue'](_0x178a21,_0x4a3999){const _0x536ec0=a0_0x4986fd,_0x2d9dd2=this['getEnumFieldMeta'](_0x178a21);if(!_0x2d9dd2)return!![];if(_0x2d9dd2[_0x536ec0(0x370)]&&!_0x2d9dd2['options'])return!![];const _0x5178e2=this[_0x536ec0(0x22a)](_0x178a21),_0x3515d9=this['getFieldInstance'](_0x5178e2),_0x37918a=_0x3515d9?_0x3515d9[_0x536ec0(0x351)]():![];if(_0x37918a&&Array[_0x536ec0(0x18f)](_0x4a3999))return _0x4a3999[_0x536ec0(0x10d)](_0x4a16ad=>_0x2d9dd2['values'][_0x536ec0(0x228)](_0x4a16ad));return _0x2d9dd2[_0x536ec0(0x2d4)][_0x536ec0(0x228)](_0x4a3999);}[a0_0x4986fd(0x1bd)](){const _0x4e885c=a0_0x4986fd;return new DatasetItem({'id':this['id'],'name':this[_0x4e885c(0x30e)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x4e885c(0x119)]()});}['toString'](){const _0x26a363=a0_0x4986fd;return _0x26a363(0x1f4)+this[_0x26a363(0x30e)]+',\x20'+this[_0x26a363(0x2e2)]+',\x20'+this[_0x26a363(0x173)]()+_0x26a363(0x21f)+this[_0x26a363(0x15e)]()+_0x26a363(0x36e)+this['getVersion']()+')';}[a0_0x4986fd(0x251)](){const _0x23b3b1=a0_0x4986fd;return this[_0x23b3b1(0x193)]('filter');}[a0_0x4986fd(0x26b)](_0x25ab7e){const _0x3719bb=a0_0x4986fd;return this[_0x3719bb(0x1d7)](_0x3719bb(0x276),_0x25ab7e);}[a0_0x4986fd(0x17a)](){const _0x2042d5=a0_0x4986fd;return this[_0x2042d5(0x2bb)](_0x2042d5(0x276));}['getOperationOperators'](_0x34999b){const _0x194bc3=a0_0x4986fd,_0xddeed0=this[_0x194bc3(0x1fa)](_0x34999b);return _0xddeed0?_0xddeed0[_0x194bc3(0x213)]():[];}[a0_0x4986fd(0x1d7)](_0x4f2aa0,_0x1020fd){const _0x4420f2=a0_0x4986fd,_0x56e156=this['getOperation'](_0x4f2aa0);return _0x56e156?_0x56e156[_0x4420f2(0x231)](_0x1020fd):[];}[a0_0x4986fd(0x2bb)](_0x32d906){const _0x2bd706=a0_0x4986fd,_0x17d15b={};return this[_0x2bd706(0x303)]()[_0x2bd706(0x31a)](_0x1f6227=>{const _0x2da472=_0x2bd706,_0x5f3e75=this[_0x2da472(0x1d7)](_0x32d906,_0x1f6227['code']);_0x5f3e75[_0x2da472(0x338)]>0x0&&(_0x17d15b[_0x1f6227[_0x2da472(0x3b7)]]=_0x5f3e75);}),_0x17d15b;}['isOperatorApplicableToField'](_0x25327f,_0x4a4911,_0x380906){const _0x979458=a0_0x4986fd,_0x468f7c=this[_0x979458(0x1d7)](_0x25327f,_0x4a4911);return _0x468f7c[_0x979458(0x228)](_0x380906);}}class FieldBase{get[a0_0x4986fd(0x227)](){return;}get[a0_0x4986fd(0x20a)](){return;}get['displayName'](){return;}get[a0_0x4986fd(0x365)](){return;}[a0_0x4986fd(0x1bb)](){const _0x263e6b=a0_0x4986fd;return!this[_0x263e6b(0x2b3)]();}[a0_0x4986fd(0x253)](){return this['deleted'];}[a0_0x4986fd(0x1f7)](){const _0xbc4152=a0_0x4986fd,_0x421e24=[_0xbc4152(0x16c),_0xbc4152(0x3bd),'CHECKBOX'];return _0x421e24[_0xbc4152(0x228)](this['type']);}[a0_0x4986fd(0x351)](){const _0x719033=a0_0x4986fd;return this[_0x719033(0x186)]===_0x719033(0x320);}[a0_0x4986fd(0x32a)](){const _0x12864d=a0_0x4986fd,_0x182dae=this[_0x12864d(0x38b)]();return _0x182dae?.[_0x12864d(0x2d4)]||[];}[a0_0x4986fd(0x38b)](){const _0x22fb88=a0_0x4986fd;if(!this[_0x22fb88(0x1f7)]())return;const _0x2fce2d=this[_0x22fb88(0x2a5)](),_0x495054=this['getSelectItemsSource'](),_0x3d905a=[],_0xe3f16f={},_0x13bf92=_0xd71359=>{_0xd71359['forEach'](_0x357d4b=>{const _0x1821b4=a0_0x5c95;_0x3d905a[_0x1821b4(0x279)](_0x357d4b['value']),_0xe3f16f[String(_0x357d4b[_0x1821b4(0x31e)])]=_0x357d4b[_0x1821b4(0x169)],_0x357d4b['children']&&_0x357d4b[_0x1821b4(0x324)][_0x1821b4(0x338)]>0x0&&_0x13bf92(_0x357d4b[_0x1821b4(0x324)]);});};return _0x2fce2d&&_0x2fce2d[_0x22fb88(0x338)]>0x0&&_0x13bf92(_0x2fce2d),{'code':this['code'],'name':this[_0x22fb88(0x30e)],'type':this[_0x22fb88(0x186)],'multiple':this[_0x22fb88(0x351)](),'options':_0x2fce2d,'selectItemsSource':_0x495054,'values':_0x3d905a,'valueLabels':_0xe3f16f};}get[a0_0x4986fd(0x1cd)](){const _0x2d0fa9=a0_0x4986fd;return this[_0x2d0fa9(0x32a)]();}['toString'](){const _0x136028=a0_0x4986fd;return _0x136028(0x31c)+this[_0x136028(0x30e)]+',\x20'+this[_0x136028(0x3b7)]+',\x20'+this['type']+',\x20'+this[_0x136028(0x294)]()+')';}}class FieldV1 extends FieldBase{[a0_0x4986fd(0x283)];[a0_0x4986fd(0x1de)]=null;constructor(_0x1ae13a){const _0x19919b=a0_0x4986fd;super();if(!_0x1ae13a||typeof _0x1ae13a!=='object')throw new Error(_0x19919b(0x160));this[_0x19919b(0x283)]=_0x1ae13a;}[a0_0x4986fd(0x24e)](){const _0x2cba52=a0_0x4986fd;return this[_0x2cba52(0x283)];}['getVersion'](){return'v1';}get[a0_0x4986fd(0x245)](){const _0x154f73=a0_0x4986fd;return this[_0x154f73(0x283)];}get[a0_0x4986fd(0x30e)](){const _0x1e3b48=a0_0x4986fd;return this[_0x1e3b48(0x283)]['name']||'';}get[a0_0x4986fd(0x3b7)](){const _0x14cda7=a0_0x4986fd;return this[_0x14cda7(0x283)][_0x14cda7(0x3b7)]||'';}get[a0_0x4986fd(0x186)](){return this['_raw']['type']||'';}get['description'](){const _0x58650c=a0_0x4986fd;return this[_0x58650c(0x283)][_0x58650c(0x19e)]||'';}get[a0_0x4986fd(0x37d)](){const _0x2658d8=a0_0x4986fd;return Boolean(this['_raw'][_0x2658d8(0x37d)]);}get['dbType'](){const _0x11428b=a0_0x4986fd;return this[_0x11428b(0x283)][_0x11428b(0x227)];}get[a0_0x4986fd(0x20a)](){const _0x3cc999=a0_0x4986fd;return this['_raw'][_0x3cc999(0x20a)];}get[a0_0x4986fd(0x12f)](){const _0x40a0b6=a0_0x4986fd;return this['_raw'][_0x40a0b6(0x28e)];}get[a0_0x4986fd(0x365)](){return;}get[a0_0x4986fd(0x142)](){const _0x2f02f0=a0_0x4986fd;if(this['_extend']!==null&&typeof this['_extend']===_0x2f02f0(0x236))return this['_extend'];const _0x9207c9=this['_raw'][_0x2f02f0(0x142)];if(!_0x9207c9||typeof _0x9207c9!==_0x2f02f0(0x388))return this['_extend']={},this[_0x2f02f0(0x1de)];if(_0x9207c9===_0x2f02f0(0x39e)||_0x9207c9[_0x2f02f0(0x356)]()==='null')return this['_extend']={},this[_0x2f02f0(0x1de)];try{const _0x23dca3=JSON['parse'](_0x9207c9);return this[_0x2f02f0(0x1de)]=_0x23dca3!==null&&typeof _0x23dca3===_0x2f02f0(0x236)&&!Array[_0x2f02f0(0x18f)](_0x23dca3)?_0x23dca3:{},this[_0x2f02f0(0x1de)];}catch(_0x115c84){return!![]&&console['warn'](_0x2f02f0(0x3a4)+this['code']+_0x2f02f0(0x222),_0x115c84),this[_0x2f02f0(0x1de)]={},this[_0x2f02f0(0x1de)];}}['isRequired'](){const _0x1e3dd8=a0_0x4986fd;return Boolean(this[_0x1e3dd8(0x142)][_0x1e3dd8(0x2f8)]);}[a0_0x4986fd(0x2f6)](){const _0x44899b=a0_0x4986fd;return Boolean(this[_0x44899b(0x142)]['primaryKey']||this[_0x44899b(0x142)]['pkField']);}[a0_0x4986fd(0x2b3)](){const _0x12b049=a0_0x4986fd;return Boolean(this[_0x12b049(0x142)][_0x12b049(0x174)]);}['isAutoIncrement'](){const _0x3d177c=a0_0x4986fd;return Boolean(this[_0x3d177c(0x142)][_0x3d177c(0x1b5)]);}[a0_0x4986fd(0x34c)](){const _0x146b9a=a0_0x4986fd;return Boolean(this[_0x146b9a(0x142)][_0x146b9a(0x268)]);}[a0_0x4986fd(0x337)](){const _0x4a58bb=a0_0x4986fd;return Boolean(this['extend'][_0x4a58bb(0x3a3)]);}[a0_0x4986fd(0x240)](){return this['name'];}['getFieldName'](){const _0x177b78=a0_0x4986fd;return this[_0x177b78(0x3b7)];}['isEnum'](){const _0x41cc1c=a0_0x4986fd,_0x23b183=['RADIO',_0x41cc1c(0x3bd),_0x41cc1c(0x320)];if(_0x23b183[_0x41cc1c(0x228)](this[_0x41cc1c(0x186)]))return!![];const _0x3c36b8=this[_0x41cc1c(0x142)];return Boolean(_0x3c36b8['options']&&Array[_0x41cc1c(0x18f)](_0x3c36b8['options'])&&_0x3c36b8[_0x41cc1c(0x159)][_0x41cc1c(0x338)]>0x0||_0x3c36b8['selectItemsSource']);}[a0_0x4986fd(0x351)](){const _0x46ee7c=a0_0x4986fd;if(this[_0x46ee7c(0x186)]===_0x46ee7c(0x320))return!![];return Boolean(this['extend'][_0x46ee7c(0x387)]);}[a0_0x4986fd(0x2a5)](){const _0xb1d350=a0_0x4986fd,_0xb958c6=this[_0xb1d350(0x142)];if(_0xb958c6[_0xb1d350(0x159)]&&Array[_0xb1d350(0x18f)](_0xb958c6[_0xb1d350(0x159)]))return _0xb958c6[_0xb1d350(0x159)];return;}[a0_0x4986fd(0x146)](){const _0x161661=a0_0x4986fd,_0x5482da=this[_0x161661(0x142)];if(_0x5482da[_0x161661(0x370)]&&typeof _0x5482da['selectItemsSource']===_0x161661(0x236))return _0x5482da['selectItemsSource'];return;}[a0_0x4986fd(0x195)](){const _0x395173=a0_0x4986fd;return this[_0x395173(0x186)][_0x395173(0x39b)]();}[a0_0x4986fd(0x13c)](){const _0x563d2c=a0_0x4986fd;return this[_0x563d2c(0x142)]['defaultValue'];}['getTooltip'](){const _0xc95f9=a0_0x4986fd;return this[_0xc95f9(0x142)][_0xc95f9(0x1ec)];}[a0_0x4986fd(0x171)](){const _0x336246=a0_0x4986fd;return{'name':this[_0x336246(0x30e)],'code':this[_0x336246(0x3b7)],'type':this[_0x336246(0x186)],'dbType':this[_0x336246(0x227)],'dbTypeLen':this[_0x336246(0x20a)],'description':this[_0x336246(0x19e)],'required':this[_0x336246(0x115)](),'primaryKey':this[_0x336246(0x2f6)](),'system':this['isSystem'](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x336246(0x34c)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x336246(0x1f7)](),'enumMeta':this[_0x336246(0x1f7)]()?this[_0x336246(0x38b)]():undefined};}['toString'](){const _0x2c554b=a0_0x4986fd;return _0x2c554b(0x191)+this[_0x2c554b(0x30e)]+',\x20'+this[_0x2c554b(0x3b7)]+',\x20'+this[_0x2c554b(0x186)]+')';}}class FieldListBase{[a0_0x4986fd(0x13d)];constructor(_0x1fcfa1,_0x512507){const _0x56b8e9=a0_0x4986fd;if(!Array[_0x56b8e9(0x18f)](_0x1fcfa1))throw new Error(_0x56b8e9(0x1e8));const _0x98a276=_0x512507?.[_0x56b8e9(0x211)]??![],_0x53d960=_0x98a276?_0x1fcfa1:_0x1fcfa1[_0x56b8e9(0x276)](_0x8f7f7e=>{const _0xde11ed=_0x56b8e9,_0x1ba269=_0x8f7f7e;return!_0x1ba269[_0xde11ed(0x37d)];});this[_0x56b8e9(0x13d)]=this[_0x56b8e9(0x111)](_0x53d960);}get['length'](){const _0xfac983=a0_0x4986fd;return this[_0xfac983(0x13d)]['length'];}[a0_0x4986fd(0x2af)](){const _0x2549aa=a0_0x4986fd;return[...this[_0x2549aa(0x13d)]];}['at'](_0x5eb656){const _0x43095c=a0_0x4986fd;return this[_0x43095c(0x13d)]['at'](_0x5eb656);}[a0_0x4986fd(0x2b4)](_0x28b11a){const _0x4558cb=a0_0x4986fd;return this['_fields'][_0x4558cb(0x2b4)](_0x27c5c9=>_0x27c5c9[_0x4558cb(0x3b7)]===_0x28b11a);}[a0_0x4986fd(0x20f)](_0x1524a7){const _0x5a5a7f=a0_0x4986fd;return this[_0x5a5a7f(0x13d)]['find'](_0x3dccba=>_0x3dccba[_0x5a5a7f(0x30e)]===_0x1524a7);}[a0_0x4986fd(0x27a)](_0x1fcbf8){const _0x3b696e=a0_0x4986fd;return this[_0x3b696e(0x13d)]['some'](_0x336adb=>_0x336adb[_0x3b696e(0x3b7)]===_0x1fcbf8);}[a0_0x4986fd(0x31a)](_0x597a8a){const _0x3ca5fb=a0_0x4986fd;this[_0x3ca5fb(0x13d)][_0x3ca5fb(0x31a)](_0x597a8a);}[a0_0x4986fd(0x30d)](_0x239a9c){const _0x20db51=a0_0x4986fd;return this[_0x20db51(0x13d)]['map'](_0x239a9c);}[a0_0x4986fd(0x276)](_0x317771){const _0xe85a77=a0_0x4986fd;return this[_0xe85a77(0x13d)]['filter'](_0x317771);}[a0_0x4986fd(0x10d)](_0x411237){const _0x3e25e0=a0_0x4986fd;return this[_0x3e25e0(0x13d)][_0x3e25e0(0x10d)](_0x411237);}[a0_0x4986fd(0x296)](_0x5af862){const _0x226965=a0_0x4986fd;return this[_0x226965(0x13d)][_0x226965(0x296)](_0x5af862);}[a0_0x4986fd(0x37f)](){const _0x10ec04=a0_0x4986fd;return this['_fields'][_0x10ec04(0x276)](_0x197555=>_0x197555[_0x10ec04(0x115)]());}['getPrimaryKeys'](){const _0x1d9ce9=a0_0x4986fd;return this[_0x1d9ce9(0x13d)][_0x1d9ce9(0x276)](_0x38218e=>_0x38218e[_0x1d9ce9(0x2f6)]());}[a0_0x4986fd(0x19d)](){const _0x5408e8=a0_0x4986fd;return this['_fields'][_0x5408e8(0x276)](_0x261eb4=>_0x261eb4[_0x5408e8(0x2b3)]());}['getBusiness'](){const _0x5b9169=a0_0x4986fd;return this['_fields'][_0x5b9169(0x276)](_0xb34588=>_0xb34588[_0x5b9169(0x1bb)]());}[a0_0x4986fd(0x3b2)](){const _0xc0a328=a0_0x4986fd;return this[_0xc0a328(0x13d)][_0xc0a328(0x276)](_0x16ad93=>_0x16ad93[_0xc0a328(0x1f7)]());}[a0_0x4986fd(0x33e)](){const _0x4ac423=a0_0x4986fd;return this[_0x4ac423(0x13d)][_0x4ac423(0x276)](_0x5071c3=>_0x5071c3['isAutoIncrement']());}[a0_0x4986fd(0x340)](){const _0x56e2f3=a0_0x4986fd;return this['_fields'][_0x56e2f3(0x276)](_0x5a0451=>_0x5a0451[_0x56e2f3(0x34c)]());}[a0_0x4986fd(0x10f)](){const _0x191252=a0_0x4986fd;return this[_0x191252(0x13d)][_0x191252(0x276)](_0x2aa095=>_0x2aa095[_0x191252(0x337)]());}[a0_0x4986fd(0x20e)](){const _0x290382=a0_0x4986fd;return this[_0x290382(0x13d)]['filter'](_0x5445ba=>_0x5445ba[_0x290382(0x253)]());}[a0_0x4986fd(0x24f)](){const _0x3ae527=a0_0x4986fd;return this[_0x3ae527(0x13d)][_0x3ae527(0x276)](_0x4c60c0=>!_0x4c60c0[_0x3ae527(0x253)]());}['groupByType'](){const _0x805771=a0_0x4986fd,_0x8c375f={};return this[_0x805771(0x13d)][_0x805771(0x31a)](_0x3f950f=>{const _0x261530=_0x805771,_0x590c94=_0x3f950f[_0x261530(0x186)];!_0x8c375f[_0x590c94]&&(_0x8c375f[_0x590c94]=[]),_0x8c375f[_0x590c94][_0x261530(0x279)](_0x3f950f);}),_0x8c375f;}[a0_0x4986fd(0x1cf)](){const _0x3780ac=a0_0x4986fd,_0x46de44={};return this[_0x3780ac(0x13d)]['forEach'](_0x3098a8=>{const _0x3c4d64=_0x3780ac;if(_0x3098a8[_0x3c4d64(0x1f7)]()){const _0x10d5d6=_0x3098a8[_0x3c4d64(0x38b)]();_0x10d5d6&&(_0x46de44[_0x3098a8[_0x3c4d64(0x3b7)]]=_0x10d5d6);}}),_0x46de44;}[a0_0x4986fd(0x151)](){const _0x49dd67=a0_0x4986fd;return{'total':this[_0x49dd67(0x338)],'required':this[_0x49dd67(0x37f)]()['length'],'primaryKey':this[_0x49dd67(0x3c2)]()['length'],'system':this[_0x49dd67(0x19d)]()[_0x49dd67(0x338)],'business':this[_0x49dd67(0x1b7)]()['length'],'enum':this[_0x49dd67(0x3b2)]()['length'],'autoIncrement':this[_0x49dd67(0x33e)]()[_0x49dd67(0x338)]};}[a0_0x4986fd(0x2a1)](){const _0x5b0a20=a0_0x4986fd;return this[_0x5b0a20(0x13d)][_0x5b0a20(0x30d)](_0xed00c5=>_0xed00c5[_0x5b0a20(0x3b7)]);}['getNames'](){const _0xef046a=a0_0x4986fd;return this['_fields'][_0xef046a(0x30d)](_0x2bd5bc=>_0x2bd5bc[_0xef046a(0x240)]());}[a0_0x4986fd(0x25a)](){const _0x53eccb=a0_0x4986fd;return this[_0x53eccb(0x13d)]['map'](_0x43c616=>_0x43c616[_0x53eccb(0x3bb)]());}[a0_0x4986fd(0x171)](){const _0x4fe42c=a0_0x4986fd;return this[_0x4fe42c(0x13d)]['map'](_0x132773=>_0x132773['toJSON']());}[a0_0x4986fd(0x28a)](){const _0x495e22=a0_0x4986fd;return _0x495e22(0x19b)+this[_0x495e22(0x338)]+_0x495e22(0x3a9);}}class FieldListV1 extends FieldListBase{constructor(_0x38a169,_0x1b66c2){super(_0x38a169,_0x1b66c2);}[a0_0x4986fd(0x111)](_0x1150f5){const _0x2bdb72=a0_0x4986fd;return _0x1150f5[_0x2bdb72(0x30d)](_0x171fe9=>new FieldV1(_0x171fe9));}['all'](){const _0x3d84cc=a0_0x4986fd;return[...this[_0x3d84cc(0x13d)]];}['at'](_0x2586df){return this['_fields']['at'](_0x2586df);}[a0_0x4986fd(0x2b4)](_0x50a37d){const _0x13b54c=a0_0x4986fd;return this[_0x13b54c(0x13d)][_0x13b54c(0x2b4)](_0x41693b=>_0x41693b['code']===_0x50a37d);}[a0_0x4986fd(0x20f)](_0xa8702f){const _0x9c7261=a0_0x4986fd;return this[_0x9c7261(0x13d)][_0x9c7261(0x2b4)](_0x4ddf19=>_0x4ddf19[_0x9c7261(0x30e)]===_0xa8702f);}[a0_0x4986fd(0x276)](_0x14d744){const _0x130ab3=a0_0x4986fd;return this[_0x130ab3(0x13d)]['filter'](_0x14d744);}[a0_0x4986fd(0x30d)](_0x3adfdf){const _0x186398=a0_0x4986fd;return this[_0x186398(0x13d)]['map'](_0x3adfdf);}[a0_0x4986fd(0x37f)](){const _0x5891a1=a0_0x4986fd;return this[_0x5891a1(0x13d)][_0x5891a1(0x276)](_0x199ad9=>_0x199ad9[_0x5891a1(0x115)]());}[a0_0x4986fd(0x3c2)](){const _0xc7b6b1=a0_0x4986fd;return this[_0xc7b6b1(0x13d)][_0xc7b6b1(0x276)](_0x233b20=>_0x233b20['isPrimaryKey']());}[a0_0x4986fd(0x19d)](){const _0x466b4a=a0_0x4986fd;return this[_0x466b4a(0x13d)]['filter'](_0x750cbb=>_0x750cbb[_0x466b4a(0x2b3)]());}[a0_0x4986fd(0x1b7)](){const _0x47a2a9=a0_0x4986fd;return this[_0x47a2a9(0x13d)][_0x47a2a9(0x276)](_0x12dabc=>_0x12dabc[_0x47a2a9(0x1bb)]());}['getEnum'](){const _0x2f6919=a0_0x4986fd;return this[_0x2f6919(0x13d)][_0x2f6919(0x276)](_0x5a7e78=>_0x5a7e78[_0x2f6919(0x1f7)]());}[a0_0x4986fd(0x3a1)](){const _0x4d9159=a0_0x4986fd,_0x159a2a={};return this[_0x4d9159(0x13d)][_0x4d9159(0x31a)](_0x4e5e44=>{const _0x4e6dae=_0x4d9159,_0x4ba81a=_0x4e5e44[_0x4e6dae(0x186)];!_0x159a2a[_0x4ba81a]&&(_0x159a2a[_0x4ba81a]=[]),_0x159a2a[_0x4ba81a][_0x4e6dae(0x279)](_0x4e5e44);}),_0x159a2a;}[a0_0x4986fd(0x245)](){const _0x17e799=a0_0x4986fd;return this[_0x17e799(0x13d)][_0x17e799(0x30d)](_0x51515b=>_0x51515b[_0x17e799(0x245)]);}static[a0_0x4986fd(0x1df)](_0x57a010){const _0x5edc3f=a0_0x4986fd,_0x13bf78=_0x57a010[_0x5edc3f(0x30d)](_0x35e39b=>_0x35e39b[_0x5edc3f(0x245)]);return new FieldListV1(_0x13bf78);}static[a0_0x4986fd(0x1cb)](_0x20a61e){const _0x3ae280=a0_0x4986fd,_0x34d983={};return _0x34d983[_0x3ae280(0x211)]=!![],new FieldListV1(_0x20a61e,_0x34d983);}}class FieldV2 extends FieldBase{[a0_0x4986fd(0x283)];constructor(_0x4db0ec){const _0x50448b=a0_0x4986fd;super();if(!_0x4db0ec||typeof _0x4db0ec!=='object')throw new Error(_0x50448b(0x261));this[_0x50448b(0x283)]=_0x4db0ec;}['getVersion'](){return'v2';}get['raw'](){return this['_raw'];}get['name'](){const _0x4a4969=a0_0x4986fd;return this['_raw'][_0x4a4969(0x30e)]||'';}get[a0_0x4986fd(0x3b7)](){const _0x5a2e9b=a0_0x4986fd;return this[_0x5a2e9b(0x283)][_0x5a2e9b(0x30e)]||'';}get[a0_0x4986fd(0x12f)](){const _0x18c921=a0_0x4986fd;return this[_0x18c921(0x283)]['displayName']||'';}get[a0_0x4986fd(0x186)](){const _0x39af31=a0_0x4986fd;if(this[_0x39af31(0x283)][_0x39af31(0x365)])return this['_raw'][_0x39af31(0x365)];return this[_0x39af31(0x364)](this[_0x39af31(0x283)][_0x39af31(0x227)]);}get['description'](){const _0x3fcd02=a0_0x4986fd;return this[_0x3fcd02(0x283)][_0x3fcd02(0x19e)]||'';}get[a0_0x4986fd(0x37d)](){const _0x449f50=a0_0x4986fd;return Boolean(this[_0x449f50(0x283)][_0x449f50(0x37d)]);}['isRequired'](){const _0x3a5b96=a0_0x4986fd;return Boolean(this[_0x3a5b96(0x283)][_0x3a5b96(0x2f8)]);}[a0_0x4986fd(0x2f6)](){const _0x2bc035=a0_0x4986fd;return Boolean(this['_raw'][_0x2bc035(0x1a1)]);}[a0_0x4986fd(0x2b3)](){const _0x5c0c=a0_0x4986fd;return Boolean(this[_0x5c0c(0x283)][_0x5c0c(0x174)]);}[a0_0x4986fd(0x2cf)](){const _0x4fca37=a0_0x4986fd;return Boolean(this[_0x4fca37(0x283)][_0x4fca37(0x1b5)]);}[a0_0x4986fd(0x34c)](){const _0x2d6191=a0_0x4986fd;return this[_0x2d6191(0x283)][_0x2d6191(0x174)]===_0x2d6191(0x268);}[a0_0x4986fd(0x337)](){const _0x387488=a0_0x4986fd;return this[_0x387488(0x283)]['systemRetain']==='updateTime';}['getDisplayName'](){return this['_raw']['displayName']||'';}[a0_0x4986fd(0x3bb)](){const _0x4c66a7=a0_0x4986fd;return this[_0x4c66a7(0x283)][_0x4c66a7(0x30e)]||'';}[a0_0x4986fd(0x1f7)](){const _0x3d5306=a0_0x4986fd;return Boolean(this[_0x3d5306(0x283)]['options']&&Array[_0x3d5306(0x18f)](this[_0x3d5306(0x283)][_0x3d5306(0x159)])&&this[_0x3d5306(0x283)][_0x3d5306(0x159)][_0x3d5306(0x338)]>0x0);}[a0_0x4986fd(0x351)](){const _0x25cc97=a0_0x4986fd,_0x466271=this[_0x25cc97(0x283)][_0x25cc97(0x142)];if(!_0x466271)return![];try{const _0x913033=JSON['parse'](_0x466271);if(_0x913033&&typeof _0x913033===_0x25cc97(0x236)&&'multiple'in _0x913033)return Boolean(_0x913033[_0x25cc97(0x387)]);}catch{}return![];}[a0_0x4986fd(0x2a5)](){const _0x21ec83=a0_0x4986fd;if(this[_0x21ec83(0x283)][_0x21ec83(0x159)]&&Array[_0x21ec83(0x18f)](this[_0x21ec83(0x283)][_0x21ec83(0x159)]))return this['_raw']['options'];return;}[a0_0x4986fd(0x146)](){const _0x23d82d=a0_0x4986fd,_0x498812=this[_0x23d82d(0x283)][_0x23d82d(0x142)];if(!_0x498812)return;try{const _0x1c74fa=JSON['parse'](_0x498812);if(_0x1c74fa&&typeof _0x1c74fa===_0x23d82d(0x236)&&_0x23d82d(0x370)in _0x1c74fa)return _0x1c74fa[_0x23d82d(0x370)];}catch{}return;}[a0_0x4986fd(0x195)](){const _0x361198=a0_0x4986fd;if(!this['_raw']['dbType'])return'';return this[_0x361198(0x283)]['dbType'][_0x361198(0x15c)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x361198(0x356)]()['toUpperCase']();}['getDefaultValue'](){return;}[a0_0x4986fd(0x301)](){return;}get[a0_0x4986fd(0x227)](){const _0x4e5adf=a0_0x4986fd;return this[_0x4e5adf(0x283)][_0x4e5adf(0x227)]??undefined;}get['dbTypeLen'](){const _0x3acc09=a0_0x4986fd;return this[_0x3acc09(0x283)][_0x3acc09(0x20a)];}[a0_0x4986fd(0x12e)](){const _0x5bfd6e=a0_0x4986fd;return this[_0x5bfd6e(0x283)]['doType']??null;}get[a0_0x4986fd(0x365)](){return this['_raw']['doType']??null;}[a0_0x4986fd(0x171)](){const _0x14a50a=a0_0x4986fd;return{'name':this[_0x14a50a(0x30e)],'code':this['code'],'type':this[_0x14a50a(0x186)],'dbType':this[_0x14a50a(0x227)],'dbTypeLen':this[_0x14a50a(0x20a)],'doType':this[_0x14a50a(0x12e)](),'displayName':this['displayName'],'description':this[_0x14a50a(0x19e)],'required':this['isRequired'](),'primaryKey':this[_0x14a50a(0x2f6)](),'system':this[_0x14a50a(0x2b3)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x14a50a(0x34c)](),'updateTime':this[_0x14a50a(0x337)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x14a50a(0x1f7)]()?this[_0x14a50a(0x38b)]():undefined};}[a0_0x4986fd(0x28a)](){const _0x45ea78=a0_0x4986fd;return _0x45ea78(0x2cd)+this[_0x45ea78(0x30e)]+',\x20'+this[_0x45ea78(0x3b7)]+',\x20'+this[_0x45ea78(0x227)]+_0x45ea78(0x2de)+this[_0x45ea78(0x12e)]()+')';}[a0_0x4986fd(0x364)](_0x543580){const _0x1f673f=a0_0x4986fd;if(!_0x543580)return _0x1f673f(0x139);const _0x35f9c8={};_0x35f9c8[_0x1f673f(0x2e9)]=_0x1f673f(0x139),_0x35f9c8['CHAR']=_0x1f673f(0x139),_0x35f9c8['TEXT']='TEXTAREA',_0x35f9c8[_0x1f673f(0x367)]=_0x1f673f(0x207),_0x35f9c8[_0x1f673f(0x1b2)]=_0x1f673f(0x1f9),_0x35f9c8[_0x1f673f(0x38c)]=_0x1f673f(0x1f9),_0x35f9c8['TINYINT']='NUMBER',_0x35f9c8['SMALLINT']=_0x1f673f(0x1f9),_0x35f9c8[_0x1f673f(0x19a)]=_0x1f673f(0x1f9),_0x35f9c8['DOUBLE']='NUMBER',_0x35f9c8[_0x1f673f(0x39a)]='NUMBER',_0x35f9c8['DATETIME']=_0x1f673f(0x32d),_0x35f9c8['TIMESTAMP']=_0x1f673f(0x32d),_0x35f9c8[_0x1f673f(0x32d)]=_0x1f673f(0x32d),_0x35f9c8['TIME']=_0x1f673f(0x2a8),_0x35f9c8[_0x1f673f(0x30f)]=_0x1f673f(0x391),_0x35f9c8['BIT']=_0x1f673f(0x391),_0x35f9c8[_0x1f673f(0x384)]='FILE',_0x35f9c8[_0x1f673f(0x2f9)]='FILE';const _0x226b8e=_0x35f9c8,_0x5b38aa=_0x543580['toUpperCase']();return _0x226b8e[_0x5b38aa]||'TEXT';}}class FieldListV2 extends FieldListBase{constructor(_0x13ba21,_0x4a16f9){super(_0x13ba21,_0x4a16f9);}[a0_0x4986fd(0x111)](_0x21261e){return _0x21261e['map'](_0x353405=>new FieldV2(_0x353405));}[a0_0x4986fd(0x2af)](){const _0x416297=a0_0x4986fd;return[...this[_0x416297(0x13d)]];}['at'](_0x146a74){const _0x411d92=a0_0x4986fd;return this[_0x411d92(0x13d)]['at'](_0x146a74);}['find'](_0x2a05c4){const _0x5bb285=a0_0x4986fd;return this[_0x5bb285(0x13d)]['find'](_0x2f8eba=>_0x2f8eba[_0x5bb285(0x3b7)]===_0x2a05c4);}[a0_0x4986fd(0x20f)](_0x43f6dd){const _0x39920e=a0_0x4986fd;return this[_0x39920e(0x13d)][_0x39920e(0x2b4)](_0x1f1955=>_0x1f1955['getDisplayName']()===_0x43f6dd);}[a0_0x4986fd(0x276)](_0x28777b){const _0x5d10c5=a0_0x4986fd;return this['_fields'][_0x5d10c5(0x276)](_0x28777b);}['map'](_0x427b7a){const _0x130905=a0_0x4986fd;return this[_0x130905(0x13d)][_0x130905(0x30d)](_0x427b7a);}[a0_0x4986fd(0x37f)](){const _0x343afe=a0_0x4986fd;return this[_0x343afe(0x13d)][_0x343afe(0x276)](_0x34fd80=>_0x34fd80[_0x343afe(0x115)]());}[a0_0x4986fd(0x3c2)](){const _0x40a3d2=a0_0x4986fd;return this[_0x40a3d2(0x13d)]['filter'](_0x37f4d1=>_0x37f4d1[_0x40a3d2(0x2f6)]());}[a0_0x4986fd(0x19d)](){const _0x2abbdf=a0_0x4986fd;return this[_0x2abbdf(0x13d)][_0x2abbdf(0x276)](_0x1f03f9=>_0x1f03f9[_0x2abbdf(0x2b3)]());}[a0_0x4986fd(0x1b7)](){const _0x1d825c=a0_0x4986fd;return this[_0x1d825c(0x13d)][_0x1d825c(0x276)](_0x4110b4=>_0x4110b4['isBusiness']());}[a0_0x4986fd(0x3b2)](){const _0xbd21f9=a0_0x4986fd;return this['_fields'][_0xbd21f9(0x276)](_0x12133f=>_0x12133f[_0xbd21f9(0x1f7)]());}[a0_0x4986fd(0x3a1)](){const _0x3ad050=a0_0x4986fd,_0x3a4137={};return this['_fields'][_0x3ad050(0x31a)](_0x21cc70=>{const _0xbf0166=_0x3ad050,_0x3e2ac6=_0x21cc70[_0xbf0166(0x186)];!_0x3a4137[_0x3e2ac6]&&(_0x3a4137[_0x3e2ac6]=[]),_0x3a4137[_0x3e2ac6][_0xbf0166(0x279)](_0x21cc70);}),_0x3a4137;}['raw'](){const _0x72197c=a0_0x4986fd;return this[_0x72197c(0x13d)][_0x72197c(0x30d)](_0x14b9b8=>_0x14b9b8['raw']);}static[a0_0x4986fd(0x1df)](_0x5b358b){const _0x53e355=a0_0x4986fd,_0x44460c=_0x5b358b[_0x53e355(0x30d)](_0x4edae7=>_0x4edae7[_0x53e355(0x245)]);return new FieldListV2(_0x44460c);}static[a0_0x4986fd(0x1cb)](_0x3b3cbd){const _0x1664c5=a0_0x4986fd,_0x58d2ff={};return _0x58d2ff[_0x1664c5(0x211)]=!![],new FieldListV2(_0x3b3cbd,_0x58d2ff);}[a0_0x4986fd(0x28a)](){const _0x1a5fac=a0_0x4986fd;return'FieldListV2('+this[_0x1a5fac(0x338)]+_0x1a5fac(0x3a9);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x4986fd(0x2ea)];['_fieldListV1WithDeleted'];constructor(_0x2c5eb5){super(_0x2c5eb5);}[a0_0x4986fd(0x303)](){const _0x23b9f8=a0_0x4986fd;if(!this['_fieldListV1']){const _0x54ed87={};_0x54ed87[_0x23b9f8(0x211)]=![],this['_fieldListV1']=new FieldListV1(this[_0x23b9f8(0x283)][_0x23b9f8(0x2ff)]||[],_0x54ed87);}return this[_0x23b9f8(0x2ea)];}['getFieldListWithDeleted'](){const _0x34b4fc=a0_0x4986fd;if(!this[_0x34b4fc(0x335)]){const _0x33fbe8={};_0x33fbe8[_0x34b4fc(0x211)]=!![],this[_0x34b4fc(0x335)]=new FieldListV1(this[_0x34b4fc(0x283)][_0x34b4fc(0x2ff)]||[],_0x33fbe8);}return this[_0x34b4fc(0x335)];}[a0_0x4986fd(0x1af)](){const _0x124b73=a0_0x4986fd;return(this['_raw'][_0x124b73(0x2ff)]||[])[_0x124b73(0x276)](_0x615c8c=>!_0x615c8c[_0x124b73(0x37d)]);}[a0_0x4986fd(0x173)](){const _0x484049=a0_0x4986fd;return this[_0x484049(0x303)]()[_0x484049(0x338)];}[a0_0x4986fd(0x2bf)](_0x21609a){const _0x56ba42=a0_0x4986fd;return this['_raw']['properties']?.['find'](_0x167359=>_0x167359[_0x56ba42(0x3b7)]===_0x21609a);}['getVersion'](){return'v1';}[a0_0x4986fd(0x274)](){const _0x2bee4f=a0_0x4986fd,_0x405e67={};return _0x405e67[_0x2bee4f(0x26d)]=this['_raw'][_0x2bee4f(0x2ff)]||[],_0x405e67[_0x2bee4f(0x211)]=![],_0x405e67;}[a0_0x4986fd(0x2c3)](){const _0x4ace0f=a0_0x4986fd;return this['_raw'][_0x4ace0f(0x15b)];}[a0_0x4986fd(0x14f)](){const _0xd8d51d=a0_0x4986fd;return this['_raw'][_0xd8d51d(0x2f4)];}[a0_0x4986fd(0x1e5)](){const _0x12258d=a0_0x4986fd,_0x53ddf9=this[_0x12258d(0x119)](),_0x2724bf=_0x53ddf9?.[_0x12258d(0x3a0)],_0x25cad9={};return _0x25cad9[_0x12258d(0x349)]=_0x53ddf9?.[_0x12258d(0x349)],_0x25cad9['dbName']=_0x53ddf9?.[_0x12258d(0x2a9)]??_0x2724bf?.[_0x12258d(0x2a9)],_0x25cad9['dbType']=_0x2724bf?.[_0x12258d(0x227)],_0x25cad9[_0x12258d(0x360)]=_0x2724bf?.[_0x12258d(0x360)],_0x25cad9[_0x12258d(0x1ca)]=_0x53ddf9?.['tableName'],_0x25cad9[_0x12258d(0x3ba)]=_0x53ddf9?.['datasetKey'],_0x25cad9[_0x12258d(0x1a1)]=_0x53ddf9?.['pkField'],_0x25cad9[_0x12258d(0x10b)]=_0x2724bf?.['tenantCode'],_0x25cad9[_0x12258d(0x30c)]=_0x2724bf?.[_0x12258d(0x30c)],new DBConfig(_0x25cad9,_0x53ddf9);}get[a0_0x4986fd(0x317)](){const _0x46cb8f=a0_0x4986fd;return this[_0x46cb8f(0x283)][_0x46cb8f(0x317)];}[a0_0x4986fd(0x176)](_0x389aef){const _0x436e67=a0_0x4986fd;if(typeof _0x389aef!==_0x436e67(0x388)){!![]&&console['warn'](_0x436e67(0x298),_0x389aef);return;}return this[_0x436e67(0x303)]()['find'](_0x389aef);}[a0_0x4986fd(0x2eb)](_0x4cb054){const _0x3f0bc6=a0_0x4986fd;if(!_0x4cb054||typeof _0x4cb054!==_0x3f0bc6(0x236))return![];const _0x26b014=this[_0x3f0bc6(0x176)](_0x4cb054[_0x3f0bc6(0x3b7)]);return _0x26b014?_0x26b014['isMultipleSelect']():![];}[a0_0x4986fd(0x3a5)](){const _0x52492c=a0_0x4986fd,_0x3953e8=this['getOperation'](_0x52492c(0x276));return _0x3953e8;}[a0_0x4986fd(0x190)](){const _0x27b6ac=a0_0x4986fd;return this[_0x27b6ac(0x378)](_0x27b6ac(0x276));}[a0_0x4986fd(0x1bd)](){return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x4986fd(0x141)];['_datasetMeta'];[a0_0x4986fd(0x199)];constructor(_0x11ca89){const _0x4e1704=a0_0x4986fd;super(_0x11ca89),this[_0x4e1704(0x156)]=_0x11ca89[_0x4e1704(0x218)],this[_0x4e1704(0x199)]=_0x11ca89[_0x4e1704(0x1b8)]||[];}[a0_0x4986fd(0x294)](){return'v2';}[a0_0x4986fd(0x274)](){const _0x255e99=a0_0x4986fd,_0x3dc45c={};return _0x3dc45c[_0x255e99(0x26d)]=this[_0x255e99(0x283)][_0x255e99(0x26d)],_0x3dc45c[_0x255e99(0x211)]=![],_0x3dc45c;}[a0_0x4986fd(0x2c3)](){const _0x1ed685=a0_0x4986fd;return this[_0x1ed685(0x283)][_0x1ed685(0x15b)];}[a0_0x4986fd(0x14f)](){const _0x4a93ea=a0_0x4986fd;return this[_0x4a93ea(0x283)][_0x4a93ea(0x2f4)];}[a0_0x4986fd(0x1e5)](){const _0x5dd866=a0_0x4986fd,_0x4e43ac=this[_0x5dd866(0x283)][_0x5dd866(0x128)],_0x43263b=_0x4e43ac?.[_0x5dd866(0x3a0)],_0x6c95e9={};return _0x6c95e9['dbId']=_0x4e43ac?.[_0x5dd866(0x349)],_0x6c95e9[_0x5dd866(0x2a9)]=_0x4e43ac?.[_0x5dd866(0x2a9)]??_0x43263b?.[_0x5dd866(0x2a9)],_0x6c95e9['dbType']=_0x43263b?.['dbType'],_0x6c95e9[_0x5dd866(0x360)]=_0x43263b?.['dbVersion'],_0x6c95e9[_0x5dd866(0x1ca)]=_0x4e43ac?.[_0x5dd866(0x1ca)],_0x6c95e9[_0x5dd866(0x3ba)]=_0x4e43ac?.[_0x5dd866(0x3ba)],_0x6c95e9[_0x5dd866(0x1a1)]=_0x4e43ac?.['pkField'],_0x6c95e9[_0x5dd866(0x10b)]=_0x4e43ac?.[_0x5dd866(0x10b)]??_0x43263b?.[_0x5dd866(0x10b)],_0x6c95e9[_0x5dd866(0x30c)]=_0x4e43ac?.[_0x5dd866(0x30c)]??_0x43263b?.[_0x5dd866(0x30c)],new DBConfig(_0x6c95e9,_0x4e43ac);}[a0_0x4986fd(0x303)](){const _0xe16d21=a0_0x4986fd;return this[_0xe16d21(0x1b4)]();}['getFields'](){const _0x42155d=a0_0x4986fd;return this[_0x42155d(0x283)][_0x42155d(0x26d)];}['getFieldCount'](){const _0x5a97d9=a0_0x4986fd;return this['_raw'][_0x5a97d9(0x26d)][_0x5a97d9(0x338)];}['getFieldRaw'](_0x3370a4){const _0x501a5d=a0_0x4986fd;return this[_0x501a5d(0x283)][_0x501a5d(0x26d)]['find'](_0x3a3bce=>_0x3a3bce[_0x501a5d(0x30e)]===_0x3370a4);}[a0_0x4986fd(0x105)](){const _0x4c542c=a0_0x4986fd;return this[_0x4c542c(0x156)];}[a0_0x4986fd(0x269)](){const _0x3dea36=a0_0x4986fd;return this[_0x3dea36(0x199)];}[a0_0x4986fd(0x11c)](){const _0x36d8c5=a0_0x4986fd;return this[_0x36d8c5(0x156)][_0x36d8c5(0x17d)]||[];}[a0_0x4986fd(0x18e)](_0x1827f9){const _0x786cef=a0_0x4986fd;return this['_relations']['filter'](_0x4c45a1=>_0x4c45a1[_0x786cef(0x1f3)]===_0x1827f9);}['hasRelation'](_0x3346b8){const _0x16e66d=a0_0x4986fd;return this[_0x16e66d(0x199)][_0x16e66d(0x296)](_0x14d8d8=>_0x14d8d8[_0x16e66d(0x1f3)]===_0x3346b8);}[a0_0x4986fd(0x376)](_0x3ee487){const _0x40ca6b=a0_0x4986fd,_0x1042a6=this[_0x40ca6b(0x199)][_0x40ca6b(0x2b4)](_0x3c07b5=>_0x3c07b5[_0x40ca6b(0x1f3)]===_0x3ee487);if(!_0x1042a6)return;const _0x57fd5c={};return _0x57fd5c[_0x40ca6b(0x248)]=_0x1042a6[_0x40ca6b(0x2dd)],_0x57fd5c[_0x40ca6b(0x2e2)]=_0x1042a6[_0x40ca6b(0x11b)],_0x57fd5c[_0x40ca6b(0x2b8)]=_0x1042a6[_0x40ca6b(0x147)],_0x57fd5c[_0x40ca6b(0x1ca)]=_0x1042a6['toTableName'],_0x57fd5c[_0x40ca6b(0x2a0)]=_0x1042a6['toField'],_0x57fd5c;}[a0_0x4986fd(0x21e)](){const _0x584cd7=a0_0x4986fd;return this[_0x584cd7(0x199)]['map'](_0x242a2c=>_0x242a2c[_0x584cd7(0x1f3)]);}[a0_0x4986fd(0x1b4)](){const _0x580ae9=a0_0x4986fd;if(!this['_fieldListV2']){const _0x5de621=this[_0x580ae9(0x283)][_0x580ae9(0x26d)]||[];this['_fieldListV2']=new FieldListV2(_0x5de621);}return this[_0x580ae9(0x141)];}[a0_0x4986fd(0x176)](_0x48425c){const _0x584985=a0_0x4986fd;if(typeof _0x48425c!==_0x584985(0x388)){!![]&&console[_0x584985(0x27e)](_0x584985(0x104),_0x48425c);return;}return this[_0x584985(0x1b4)]()[_0x584985(0x2b4)](_0x48425c);}[a0_0x4986fd(0x2eb)](_0x55302d){const _0x2101d5=a0_0x4986fd;if(!_0x55302d||typeof _0x55302d!==_0x2101d5(0x236))return![];const _0x5c8701=_0x55302d[_0x2101d5(0x30e)]||_0x55302d['code'],_0x3cb52b=this[_0x2101d5(0x176)](_0x5c8701);return _0x3cb52b?_0x3cb52b[_0x2101d5(0x351)]():![];}[a0_0x4986fd(0x158)](){const _0x1256f0=a0_0x4986fd;if(!this[_0x1256f0(0x33a)]){const _0x5ebc63=this[_0x1256f0(0x311)](this[_0x1256f0(0x2c3)]()||{});this['_operationList']=new OperationList(_0x5ebc63,{'fields':this[_0x1256f0(0x1b4)]()[_0x1256f0(0x2af)](),'pkField':this[_0x1256f0(0x283)]['dbtableConfig']?.[_0x1256f0(0x1a1)],'dbtableConfig':this[_0x1256f0(0x283)][_0x1256f0(0x128)]||null});}return this['_operationList'];}[a0_0x4986fd(0x3a5)](){const _0x5ac0ed=a0_0x4986fd,_0xc48e17=this['getOperation'](_0x5ac0ed(0x276));return _0xc48e17;}[a0_0x4986fd(0x190)](){const _0x40b021=a0_0x4986fd;return this['hasOperation'](_0x40b021(0x276));}[a0_0x4986fd(0x1bd)](){const _0x5dc8e0=a0_0x4986fd;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x5dc8e0(0x119)]()});}[a0_0x4986fd(0x28a)](){const _0x5d65f7=a0_0x4986fd,_0xad5fe=this[_0x5d65f7(0x199)][_0x5d65f7(0x338)],_0x3904f0=this[_0x5d65f7(0x11c)]()[_0x5d65f7(0x338)];return _0x5d65f7(0x33b)+this[_0x5d65f7(0x30e)]+',\x20'+this[_0x5d65f7(0x2e2)]+',\x20'+this[_0x5d65f7(0x173)]()+_0x5d65f7(0x21f)+this['getOperationCount']()+_0x5d65f7(0x36e)+_0xad5fe+_0x5d65f7(0x217)+_0x3904f0+_0x5d65f7(0x3bf);}[a0_0x4986fd(0x22d)](){const _0x286eab=a0_0x4986fd;return this[_0x286eab(0x283)][_0x286eab(0x26d)];}[a0_0x4986fd(0x383)](_0x48831c){const _0x5891fd=a0_0x4986fd;return this[_0x5891fd(0x283)][_0x5891fd(0x26d)]['find'](_0x13d41e=>_0x13d41e[_0x5891fd(0x30e)]===_0x48831c);}}function detectDatasetVersion(_0x4126eb){const _0x50e71f=a0_0x4986fd;if(_0x4126eb[_0x50e71f(0x182)]==='v2'&&_0x50e71f(0x26d)in _0x4126eb&&Array[_0x50e71f(0x18f)](_0x4126eb['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x4986fd(0x1b6)];constructor(_0x734ba5){const _0xe773a3=a0_0x4986fd;super(_0x734ba5);const _0x4a1a2b=detectDatasetVersion(_0x734ba5);this[_0xe773a3(0x1b6)]=_0x4a1a2b==='v2'?new DrivenDataDetailV2(_0x734ba5):new DrivenDataDetailV1(_0x734ba5);}get['id'](){const _0xf14917=a0_0x4986fd;return this[_0xf14917(0x1b6)]['id'];}get[a0_0x4986fd(0x30e)](){const _0x4f1a4c=a0_0x4986fd;return this[_0x4f1a4c(0x1b6)][_0x4f1a4c(0x30e)];}get[a0_0x4986fd(0x2e2)](){const _0x20fd84=a0_0x4986fd;return this[_0x20fd84(0x1b6)][_0x20fd84(0x2e2)];}get[a0_0x4986fd(0x317)](){const _0x19109f=a0_0x4986fd;return this[_0x19109f(0x1b6)][_0x19109f(0x294)]()==='v2'?'2.0':'1.0';}['getVersion'](){const _0x14870f=a0_0x4986fd;return this[_0x14870f(0x1b6)]['getVersion']();}['getId'](){const _0x5c3895=a0_0x4986fd;return this[_0x5c3895(0x1b6)]['id'];}[a0_0x4986fd(0x1fd)](){const _0x5e2ec6=a0_0x4986fd;return this['_instance'][_0x5e2ec6(0x2e2)];}[a0_0x4986fd(0x1dd)](){return this['_instance']['name'];}[a0_0x4986fd(0x274)](){const _0x217bab=a0_0x4986fd;return this[_0x217bab(0x1b6)]['getFieldDataSource']();}[a0_0x4986fd(0x2c3)](){const _0x148717=a0_0x4986fd;return this[_0x148717(0x1b6)][_0x148717(0x2c3)]();}[a0_0x4986fd(0x14f)](){const _0xa5d44c=a0_0x4986fd;return this[_0xa5d44c(0x1b6)][_0xa5d44c(0x14f)]();}['getFieldListWithDeleted'](){const _0xb66abc=a0_0x4986fd;return this[_0xb66abc(0x1b6)]['getFieldListWithDeleted']();}[a0_0x4986fd(0x303)](){const _0x19f1d7=a0_0x4986fd;return this[_0x19f1d7(0x1b6)]['getFieldList']();}[a0_0x4986fd(0x2b9)](){const _0x56f200=a0_0x4986fd;return this[_0x56f200(0x1b6)][_0x56f200(0x2b9)]();}[a0_0x4986fd(0x1af)](){const _0x1762e4=a0_0x4986fd;return this[_0x1762e4(0x1b6)][_0x1762e4(0x1af)]();}[a0_0x4986fd(0x173)](){const _0x76b718=a0_0x4986fd;return this[_0x76b718(0x1b6)]['getFieldCount']();}['getPkField'](){const _0x3fac3a=a0_0x4986fd,_0x5d6589=this[_0x3fac3a(0x1b6)][_0x3fac3a(0x119)]();return _0x5d6589?.[_0x3fac3a(0x1a1)];}['getDBConfig'](){const _0x12b83b=a0_0x4986fd;return this[_0x12b83b(0x1b6)]['getDBConfig']();}[a0_0x4986fd(0x176)](_0x3f9e2b){const _0x5604ae=a0_0x4986fd;return this[_0x5604ae(0x1b6)]['getFieldInstance'](_0x3f9e2b);}[a0_0x4986fd(0x345)](){const _0x1d5b83=a0_0x4986fd;return this[_0x1d5b83(0x1b6)][_0x1d5b83(0x345)]();}[a0_0x4986fd(0x165)](){const _0x2398f3=a0_0x4986fd;return this[_0x2398f3(0x1b6)][_0x2398f3(0x165)]();}[a0_0x4986fd(0x2c7)](){const _0x130fe0=a0_0x4986fd;return this[_0x130fe0(0x1b6)][_0x130fe0(0x2c7)]();}[a0_0x4986fd(0x18a)](){const _0x4cee3a=a0_0x4986fd;return this[_0x4cee3a(0x1b6)]['getRequiredFields']();}[a0_0x4986fd(0x393)](){const _0x33ef0d=a0_0x4986fd;return this[_0x33ef0d(0x1b6)]['getFieldsByType']();}['getEnumFields'](){return this['_instance']['getEnumFields']();}[a0_0x4986fd(0x2bd)](){const _0x265f2a=a0_0x4986fd;return this[_0x265f2a(0x1b6)][_0x265f2a(0x2bd)]();}['getOperations'](){const _0x319d77=a0_0x4986fd;return this[_0x319d77(0x1b6)][_0x319d77(0x14c)]();}['getOperationCount'](){const _0x512f01=a0_0x4986fd;return this[_0x512f01(0x1b6)][_0x512f01(0x15e)]();}[a0_0x4986fd(0x362)](){const _0x3037b9=a0_0x4986fd;return this[_0x3037b9(0x1b6)][_0x3037b9(0x362)]();}[a0_0x4986fd(0x1ba)](){const _0x581fae=a0_0x4986fd;return this[_0x581fae(0x1b6)][_0x581fae(0x1ba)]();}[a0_0x4986fd(0x118)](){const _0x361660=a0_0x4986fd;return this[_0x361660(0x1b6)]['getEnabledOperationInstances']();}[a0_0x4986fd(0x321)](){return this['_instance']['getDisabledOperationInstances']();}[a0_0x4986fd(0x151)](){const _0x169278=a0_0x4986fd;return this[_0x169278(0x1b6)][_0x169278(0x151)]();}['getDatasetMeta'](){return this['_instance']['getDatasetMeta']();}['getRelations'](){const _0x2fc888=a0_0x4986fd;return this[_0x2fc888(0x1b6)]['getRelations']();}[a0_0x4986fd(0x11c)](){const _0xb8e6bf=a0_0x4986fd;return this[_0xb8e6bf(0x1b6)]['getIndexes']();}['getFilterOperators'](){const _0x1a914a=a0_0x4986fd;return this[_0x1a914a(0x1b6)][_0x1a914a(0x251)]();}['getFieldsFilterOperatorsMap'](){const _0x53e719=a0_0x4986fd;return this[_0x53e719(0x1b6)][_0x53e719(0x17a)]();}['toJSON'](){const _0x477974=a0_0x4986fd;return this[_0x477974(0x1b6)][_0x477974(0x171)]();}['getFilterOperation'](){const _0x5f4125=a0_0x4986fd;return this[_0x5f4125(0x1b6)]['getFilterOperation']();}[a0_0x4986fd(0x190)](){const _0x19c799=a0_0x4986fd;return this[_0x19c799(0x1b6)][_0x19c799(0x190)]();}[a0_0x4986fd(0x1bd)](){return this['_instance']['toListItem']();}[a0_0x4986fd(0x28a)](){const _0x20e6f2=a0_0x4986fd;return this[_0x20e6f2(0x1b6)][_0x20e6f2(0x28a)]();}[a0_0x4986fd(0x313)](){const _0x49a085=a0_0x4986fd;return this[_0x49a085(0x1b6)];}}function detectDatasetVersion2(_0x3b7add){const _0x3db174=a0_0x4986fd;if(_0x3b7add[_0x3db174(0x182)]==='v2'&&'fields'in _0x3b7add&&Array['isArray'](_0x3b7add[_0x3db174(0x26d)]))return'v2';return'v1';}function createDrivenDataDetail(_0x9cd481,_0xbb9e79={}){const {forceVersion:_0x45e107}=_0xbb9e79;if(_0x45e107==='v2')return new DrivenDataDetailV2(_0x9cd481);if(_0x45e107==='v1')return new DrivenDataDetailV1(_0x9cd481);const _0x437fac=detectDatasetVersion2(_0x9cd481);if(_0x437fac==='v2')return new DrivenDataDetailV2(_0x9cd481);return new DrivenDataDetailV1(_0x9cd481);}function isV2Data(_0x55fcfa){return detectDatasetVersion2(_0x55fcfa)==='v2';}function isV1Data(_0x21beff){return detectDatasetVersion2(_0x21beff)==='v1';}function isV2Instance(_0x2d59d5){return _0x2d59d5['getVersion']()==='v2';}function isV1Instance(_0x290ab8){return _0x290ab8['getVersion']()==='v1';}class DatasetGroup{['items'];constructor(_0x1cb3ee){const _0x100d52=a0_0x4986fd;this[_0x100d52(0x2a4)]=Array[_0x100d52(0x18f)](_0x1cb3ee)?[..._0x1cb3ee]:[_0x1cb3ee],this[_0x100d52(0x2a4)]['sort']((_0xf13757,_0x1d90f4)=>{const _0x138d41=Number(_0xf13757['id'])||0x0,_0x19bc0d=Number(_0x1d90f4['id'])||0x0;return _0x19bc0d-_0x138d41;});}[a0_0x4986fd(0x134)](){const _0x4a446a=a0_0x4986fd;return this[_0x4a446a(0x2a4)][_0x4a446a(0x338)]>0x1;}[a0_0x4986fd(0x2e8)](){const _0x2091be=a0_0x4986fd;return this[_0x2091be(0x2a4)][0x0];}[a0_0x4986fd(0x389)](){return this['items'][this['items']['length']-0x1];}[a0_0x4986fd(0x1a7)](){return[...this['items']];}[a0_0x4986fd(0x2d8)](){return this['items']['length'];}[a0_0x4986fd(0x192)](_0x567865){const _0x1467ce=a0_0x4986fd;return this[_0x1467ce(0x2a4)][_0x567865];}[a0_0x4986fd(0x2ac)](_0x1161ec){const _0x1bbf44=a0_0x4986fd;return this['items'][_0x1bbf44(0x2b4)](_0x4908c6=>_0x4908c6['id']===_0x1161ec);}[a0_0x4986fd(0x36f)](_0x5d8865){const _0x5f45b8=a0_0x4986fd;return this[_0x5f45b8(0x2a4)]['find'](_0x5d8421=>_0x5d8421[_0x5f45b8(0x2e2)]===_0x5d8865);}[a0_0x4986fd(0x2b6)](){const _0x5caf43=a0_0x4986fd;return this[_0x5caf43(0x2a4)][_0x5caf43(0x30d)](_0x3399cd=>_0x3399cd['id'])[_0x5caf43(0x276)](_0x1061ed=>_0x1061ed!==undefined);}[a0_0x4986fd(0x2a1)](){const _0x463371=a0_0x4986fd;return this['items'][_0x463371(0x30d)](_0x3a4a33=>_0x3a4a33[_0x463371(0x2e2)]);}[a0_0x4986fd(0x28a)](){const _0x4284cb=a0_0x4986fd;if(this[_0x4284cb(0x134)]())return _0x4284cb(0x13f)+this['items'][_0x4284cb(0x338)]+_0x4284cb(0x226)+this[_0x4284cb(0x2e8)]()[_0x4284cb(0x30e)]+')';return _0x4284cb(0x13f)+this[_0x4284cb(0x2a4)][0x0]['name']+')';}}class DatasetGroupMap{[a0_0x4986fd(0x35b)];constructor(_0x498b4c){const _0x2be2d6=a0_0x4986fd;this['groups']=new Map();for(const _0x22364d of _0x498b4c){const _0x3b12c0=getTableKey(_0x22364d);if(!this[_0x2be2d6(0x35b)][_0x2be2d6(0x27a)](_0x3b12c0))this['groups'][_0x2be2d6(0x2d7)](_0x3b12c0,new DatasetGroup(_0x22364d));else{const _0x4cb5c5=this[_0x2be2d6(0x35b)][_0x2be2d6(0x161)](_0x3b12c0),_0xbfbb1b=[..._0x4cb5c5[_0x2be2d6(0x1a7)](),_0x22364d];this[_0x2be2d6(0x35b)][_0x2be2d6(0x2d7)](_0x3b12c0,new DatasetGroup(_0xbfbb1b));}}}[a0_0x4986fd(0x161)](_0x333a77){const _0xaf723=a0_0x4986fd;return this['groups'][_0xaf723(0x161)](_0x333a77);}[a0_0x4986fd(0x27a)](_0x550b0e){const _0x53ab98=a0_0x4986fd;return this[_0x53ab98(0x35b)][_0x53ab98(0x27a)](_0x550b0e);}get['size'](){const _0xc8424e=a0_0x4986fd;return this[_0xc8424e(0x35b)][_0xc8424e(0x38d)];}[a0_0x4986fd(0x1b1)](){const _0x72e88c=a0_0x4986fd;return this[_0x72e88c(0x35b)][_0x72e88c(0x1b1)]();}[a0_0x4986fd(0x2d4)](){const _0xc8719b=a0_0x4986fd;return this[_0xc8719b(0x35b)][_0xc8719b(0x2d4)]();}[a0_0x4986fd(0x353)](){const _0x13217f=a0_0x4986fd;return this[_0x13217f(0x35b)][_0x13217f(0x353)]();}[Symbol['iterator']](){const _0x40853a=a0_0x4986fd;return this[_0x40853a(0x35b)]['entries']();}[a0_0x4986fd(0x31a)](_0x37120d){const _0x20d51d=a0_0x4986fd;this[_0x20d51d(0x35b)][_0x20d51d(0x31a)]((_0x3d153e,_0x15e2b0)=>_0x37120d(_0x3d153e,_0x15e2b0,this));}['getConflicts'](){const _0x4ae0e7=a0_0x4986fd,_0xb2260a=new Map();for(const [_0x5d708a,_0x285a15]of this[_0x4ae0e7(0x35b)]){_0x285a15[_0x4ae0e7(0x134)]()&&_0xb2260a['set'](_0x5d708a,_0x285a15);}return _0xb2260a;}[a0_0x4986fd(0x287)](){const _0x104d7=a0_0x4986fd;for(const _0x1b7950 of this[_0x104d7(0x35b)]['values']()){if(_0x1b7950[_0x104d7(0x134)]())return!![];}return![];}['getConflictStats'](){const _0x6c373f=a0_0x4986fd;let _0x589c99=0x0,_0x34ea20=0x0;for(const _0x8b09d2 of this[_0x6c373f(0x35b)][_0x6c373f(0x2d4)]()){_0x8b09d2[_0x6c373f(0x134)]()&&(_0x589c99++,_0x34ea20+=_0x8b09d2['getCount']());}const _0x252c74={};return _0x252c74[_0x6c373f(0x16e)]=_0x589c99,_0x252c74[_0x6c373f(0x19c)]=_0x34ea20,_0x252c74[_0x6c373f(0x31f)]=this[_0x6c373f(0x35b)]['size'],_0x252c74;}['getAllDatasets'](){const _0x13f212=a0_0x4986fd,_0x489caa=[];for(const _0x1eb069 of this[_0x13f212(0x35b)][_0x13f212(0x2d4)]()){_0x489caa[_0x13f212(0x279)](..._0x1eb069['getAll']());}return _0x489caa;}[a0_0x4986fd(0x26c)](){const _0x439336=a0_0x4986fd,_0x481723=[];for(const _0x3de161 of this[_0x439336(0x35b)][_0x439336(0x2d4)]()){_0x481723[_0x439336(0x279)](_0x3de161[_0x439336(0x2e8)]());}return _0x481723;}[a0_0x4986fd(0x2e8)](_0xdb68f5){const _0x3237d4=a0_0x4986fd;return this[_0x3237d4(0x35b)]['get'](_0xdb68f5)?.[_0x3237d4(0x2e8)]();}['getAll'](_0x2ea2cf){const _0x602dc3=a0_0x4986fd;return this[_0x602dc3(0x35b)][_0x602dc3(0x161)](_0x2ea2cf)?.[_0x602dc3(0x1a7)]()||[];}[a0_0x4986fd(0x32f)](){const _0x3f2a82=a0_0x4986fd,_0x1440e2=this[_0x3f2a82(0x26c)](),_0x2a762d=_0x1440e2[_0x3f2a82(0x30d)](_0x2519dc=>_0x2519dc[_0x3f2a82(0x171)]()),_0x4f6457={};return _0x4f6457[_0x3f2a82(0x23e)]=![],generateDatasetsConfig(_0x2a762d,_0x4f6457);}['toFullConfig'](){const _0x5538a7=a0_0x4986fd,_0x400f0f=this[_0x5538a7(0x373)](),_0x4e3af3=_0x400f0f[_0x5538a7(0x30d)](_0x3ea664=>_0x3ea664[_0x5538a7(0x171)]());return generateFullDatasetsConfig(_0x4e3af3);}[a0_0x4986fd(0x18c)](){const _0x411f78={};for(const [_0x35cc67,_0x3792d4]of this['groups']){_0x411f78[_0x35cc67]=_0x3792d4;}return _0x411f78;}[a0_0x4986fd(0x171)](){const _0x638882=a0_0x4986fd,_0xd41b7e={};for(const [_0x1ca16b,_0x23170d]of this['groups']){_0xd41b7e[_0x1ca16b]=_0x23170d[_0x638882(0x1a7)]()[_0x638882(0x30d)](_0x533e7d=>_0x533e7d[_0x638882(0x171)]());}return _0xd41b7e;}[a0_0x4986fd(0x28a)](){const _0x82bd9a=a0_0x4986fd;return _0x82bd9a(0x322)+this[_0x82bd9a(0x35b)][_0x82bd9a(0x38d)]+_0x82bd9a(0x2df)+(this['hasConflicts']()?_0x82bd9a(0x312):_0x82bd9a(0x114))+')';}}class DatasetList{[a0_0x4986fd(0x2a7)];constructor(_0x19d309){const _0xc36274=a0_0x4986fd;let _0x34fa1f;if(Array[_0xc36274(0x18f)](_0x19d309))_0x34fa1f=_0x19d309;else{if(_0xc36274(0x399)in _0x19d309){if(!_0x19d309['success'])throw new Error(_0xc36274(0x212));if(Array['isArray'](_0x19d309[_0xc36274(0x3b5)]))_0x34fa1f=_0x19d309[_0xc36274(0x3b5)][_0xc36274(0x30d)](_0xf49ad5=>({..._0xf49ad5,'datasetCode':_0xf49ad5[_0xc36274(0x3b7)]||_0xf49ad5[_0xc36274(0x2e2)]}));else{if(_0x19d309['data']?.[_0xc36274(0x148)])_0x34fa1f=_0x19d309['data'][_0xc36274(0x148)][_0xc36274(0x30d)](_0x7f6a2c=>({..._0x7f6a2c,'datasetCode':_0x7f6a2c['code']||_0x7f6a2c[_0xc36274(0x2e2)]}));else throw new Error(_0xc36274(0x288));}}else{if('tableData'in _0x19d309){if(!Array[_0xc36274(0x18f)](_0x19d309[_0xc36274(0x148)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0x34fa1f=_0x19d309['tableData'][_0xc36274(0x30d)](_0x33a718=>({..._0x33a718,'datasetCode':_0x33a718[_0xc36274(0x3b7)]||_0x33a718[_0xc36274(0x2e2)]}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse');}}const _0x329a07=cleanDatasetNames(_0x34fa1f),_0x17b3bb=_0x329a07[_0xc36274(0x30d)](_0x123987=>new DatasetItem(_0x123987));this[_0xc36274(0x2a7)]=new DatasetGroupMap(_0x17b3bb);}get['datasetMap'](){const _0x1f2da0=a0_0x4986fd;return this[_0x1f2da0(0x2a7)];}[a0_0x4986fd(0x25d)](){const _0x125002=a0_0x4986fd;return this[_0x125002(0x2a7)]['getAllDatasets']();}[a0_0x4986fd(0x2d8)](){const _0x365527=a0_0x4986fd;return this[_0x365527(0x25d)]()[_0x365527(0x338)];}[a0_0x4986fd(0x318)](){const _0x2a68c9=a0_0x4986fd;return this[_0x2a68c9(0x2a7)][_0x2a68c9(0x38d)]===0x0;}['getAt'](_0x2dc40f){const _0x4f42c9=a0_0x4986fd;return this[_0x4f42c9(0x25d)]()[_0x2dc40f];}['getFirst'](){const _0x2276a7=a0_0x4986fd;return this[_0x2276a7(0x25d)]()[0x0];}[a0_0x4986fd(0x1ae)](){const _0x1d4680=a0_0x4986fd,_0x3ad9d6=this[_0x1d4680(0x25d)]();return _0x3ad9d6[_0x3ad9d6[_0x1d4680(0x338)]-0x1];}[a0_0x4986fd(0x36f)](_0x503955){const _0x34095f=a0_0x4986fd;for(const _0x4dfa05 of this[_0x34095f(0x2a7)][_0x34095f(0x2d4)]()){const _0x3a2b5e=_0x4dfa05[_0x34095f(0x36f)](_0x503955);if(_0x3a2b5e)return _0x3a2b5e;}return;}[a0_0x4986fd(0x20f)](_0x52df3c){const _0x187018=a0_0x4986fd;return this['getItems']()[_0x187018(0x2b4)](_0x1e9594=>_0x1e9594[_0x187018(0x30e)]===_0x52df3c);}[a0_0x4986fd(0x2ac)](_0x1bf210){const _0x268bf1=a0_0x4986fd;for(const _0x19dfa2 of this[_0x268bf1(0x2a7)]['values']()){const _0x26faf4=_0x19dfa2[_0x268bf1(0x2ac)](_0x1bf210);if(_0x26faf4)return _0x26faf4;}return;}[a0_0x4986fd(0x14a)](_0x2fa42d){const _0x44f682=a0_0x4986fd,_0x541bde=getTableKey(_0x2fa42d);return this[_0x44f682(0x2a7)][_0x44f682(0x2e8)](_0x541bde);}['filter'](_0x4887de){const _0x30f51e=a0_0x4986fd,_0x421e00=this[_0x30f51e(0x25d)]()[_0x30f51e(0x276)](_0x4887de);return new DatasetList(_0x421e00[_0x30f51e(0x30d)](_0x3c379b=>_0x3c379b[_0x30f51e(0x171)]()));}[a0_0x4986fd(0x266)](_0x326fa9){const _0x682269=a0_0x4986fd;return this[_0x682269(0x25d)]()['filter'](_0x326fa9);}[a0_0x4986fd(0x31a)](_0x32ae5e){const _0x193b6d=a0_0x4986fd;this['getItems']()[_0x193b6d(0x31a)](_0x32ae5e);}[a0_0x4986fd(0x30d)](_0x25608e){const _0xe1374c=a0_0x4986fd;return this['getItems']()[_0xe1374c(0x30d)](_0x25608e);}[Symbol[a0_0x4986fd(0x263)]](){const _0x9857fd=a0_0x4986fd;return this['getItems']()[Symbol[_0x9857fd(0x263)]]();}[a0_0x4986fd(0x343)](){const _0x318114=a0_0x4986fd;return this[_0x318114(0x25d)]()['filter'](_0x465e86=>_0x465e86[_0x318114(0x1d9)]());}['getRealTables'](){const _0x15d757=a0_0x4986fd;return this[_0x15d757(0x25d)]()[_0x15d757(0x276)](_0x299a7=>!_0x299a7[_0x15d757(0x1d9)]());}[a0_0x4986fd(0x10e)](){const _0xf1c71a=a0_0x4986fd,_0x311f05={};for(const _0x528895 of this['_datasetMap']['values']()){const _0x4f00fd=_0x528895[_0xf1c71a(0x2e8)]()[_0xf1c71a(0x13e)]();_0x311f05[_0x4f00fd]=_0x528895[_0xf1c71a(0x1a7)]();}return _0x311f05;}[a0_0x4986fd(0x377)](){const _0x4f36b3=a0_0x4986fd,_0x20bf4b={};for(const _0x1e8ed2 of this[_0x4f36b3(0x2a7)][_0x4f36b3(0x2d5)]()[_0x4f36b3(0x2d4)]()){const _0x24d63d=_0x1e8ed2['getLatest']()['getTableName']();_0x20bf4b[_0x24d63d]=_0x1e8ed2[_0x4f36b3(0x1a7)]()[_0x4f36b3(0x30d)](_0x4a8208=>_0x4a8208[_0x4f36b3(0x171)]());}return{'hasConflicts':Object[_0x4f36b3(0x1b1)](_0x20bf4b)[_0x4f36b3(0x338)]>0x0,'conflicts':_0x20bf4b};}[a0_0x4986fd(0x287)](){const _0x38a82b=a0_0x4986fd;return this[_0x38a82b(0x2a7)][_0x38a82b(0x287)]();}['getConflictingItems'](){const _0x5dd6ed=a0_0x4986fd,_0x42dcf8=[];for(const _0x2c64bc of this[_0x5dd6ed(0x2a7)]['getConflicts']()[_0x5dd6ed(0x2d4)]()){_0x42dcf8[_0x5dd6ed(0x279)](..._0x2c64bc[_0x5dd6ed(0x1a7)]());}return _0x42dcf8;}[a0_0x4986fd(0x194)](_0x239ea5){const _0x12330f=a0_0x4986fd;if(!_0x239ea5||Object[_0x12330f(0x1b1)](_0x239ea5)[_0x12330f(0x338)]===0x0)return this[_0x12330f(0x262)][_0x12330f(0x32f)]();const _0x544ae9=this[_0x12330f(0x25d)]()['map'](_0x2dc92a=>_0x2dc92a[_0x12330f(0x171)]());return generateDatasetsConfig(_0x544ae9,_0x239ea5);}[a0_0x4986fd(0x366)](_0x18e9f4){const _0xace7ac=this['generateConfig'](_0x18e9f4);return datasetsConfigToArray(_0xace7ac);}[a0_0x4986fd(0x197)](){const _0x24a8de=a0_0x4986fd;return this['getItems']()[_0x24a8de(0x30d)](_0x5adc02=>_0x5adc02[_0x24a8de(0x32f)]());}[a0_0x4986fd(0x151)](){const _0xdfa085=a0_0x4986fd;return{'total':this['getCount'](),'virtualTables':this['getVirtualTables']()[_0xdfa085(0x338)],'realTables':this[_0xdfa085(0x368)]()['length'],'hasConflicts':this[_0xdfa085(0x287)](),'conflictCount':this[_0xdfa085(0x243)]()[_0xdfa085(0x338)]};}[a0_0x4986fd(0x23f)](){const _0x55041f=a0_0x4986fd;return this['getItems']()['map'](_0x2905dd=>_0x2905dd[_0x55041f(0x171)]());}['toJSON'](){return this['toArray']();}[a0_0x4986fd(0x28a)](){const _0xcddd9b=a0_0x4986fd;return _0xcddd9b(0x339)+this[_0xcddd9b(0x2d8)]()+_0xcddd9b(0x131)+this[_0xcddd9b(0x2a7)]['size']+'\x20groups)';}static[a0_0x4986fd(0x19f)](_0x42d2cc){return new DatasetList(_0x42d2cc);}static[a0_0x4986fd(0x3b9)](_0x12d03b){return new DatasetList(_0x12d03b);}static[a0_0x4986fd(0x232)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x4986fd(0x241);function renderTemplate(_0x229ded,_0x52cfd8,_0xddd68a={}){const _0x21ec98=a0_0x4986fd;let _0x112fbf=_0x229ded;return Object[_0x21ec98(0x353)](_0xddd68a)[_0x21ec98(0x31a)](([_0x1d5c45,_0x2bbec8])=>{const _0x513a24=_0x21ec98,_0x4cb511=new RegExp(_0x513a24(0x2aa)+_0x1d5c45+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x112fbf=_0x112fbf[_0x513a24(0x15c)](_0x4cb511,_0x2bbec8?'$1':'');}),Object[_0x21ec98(0x353)](_0x52cfd8)['forEach'](([_0x1db96b,_0x2be9e6])=>{const _0x1b9f0a=_0x21ec98;if(_0x2be9e6!==undefined){const _0xaf35cd=new RegExp('\x5c{\x5c{'+_0x1db96b+_0x1b9f0a(0x2cb),'g');_0x112fbf=_0x112fbf[_0x1b9f0a(0x15c)](_0xaf35cd,_0x2be9e6);}}),_0x112fbf;}function generateSDKInitCode(_0x410fa3,_0x465706,_0x5eff05,_0x1a8768,_0x588bd8){const _0x44e57a=a0_0x4986fd,_0x19f8ed={};_0x19f8ed[_0x44e57a(0x30c)]=_0x410fa3,_0x19f8ed[_0x44e57a(0x2e2)]=_0x465706,_0x19f8ed['alias']=_0x5eff05,_0x19f8ed[_0x44e57a(0x11e)]=_0x1a8768==='daily'?'daily':undefined;const _0x57ef85={};return _0x57ef85[_0x44e57a(0x11e)]=_0x1a8768!==undefined&&_0x1a8768!==_0x44e57a(0x3a6),_0x57ef85['isOpenAPI']=_0x588bd8===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x19f8ed,_0x57ef85);}var ALIAS_EXPLANATION_TEMPLATE='##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a';function generateAliasExplanation(_0x26160a,_0x15b825,_0x5eb2d5,_0x3776f8){const _0x7174a0=a0_0x4986fd,_0x47f491='dataset_'+_0x26160a,_0x22701f=_0x7174a0(0x1bf),_0x154460={};return _0x154460[_0x7174a0(0x2e2)]=_0x26160a,_0x154460['datasetSDKKey']=_0x47f491,_0x154460[_0x7174a0(0x1ca)]=_0x15b825,_0x154460[_0x7174a0(0x28e)]=_0x5eb2d5,_0x154460[_0x7174a0(0x30c)]=_0x3776f8,_0x154460[_0x7174a0(0x255)]=_0x22701f,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x154460,{});}function DrivenDataDetailPlusMixin(_0x144689){const _0x56ac75=a0_0x4986fd;return class _0x3738ef extends _0x144689{[_0x56ac75(0x3a2)](_0x33f206){const _0x2be04e=_0x56ac75;return{'appCode':_0x33f206,'datasetSDKKey':this['getDatasetSDKKey'](),'alias':this['getModelAlias'](),'tableName':this[_0x2be04e(0x13e)](),'datasetCode':this[_0x2be04e(0x2e2)]};}[_0x56ac75(0x350)](_0x4d0837,_0x51412b=_0x56ac75(0x3a6),_0x585bba=![]){const _0x19e789=_0x56ac75;return generateSDKInitCode(_0x4d0837,this[_0x19e789(0x2e2)],this[_0x19e789(0x29c)](),_0x51412b==='daily'?_0x51412b:undefined,_0x585bba);}['generateFullSDKExample'](_0x43abd6,_0x116496,_0x488d2f={}){const _0x1aafce=_0x56ac75,_0x4a2ad7=this[_0x1aafce(0x14c)]()[_0x1aafce(0x2b4)](_0x436e18=>_0x436e18[_0x1aafce(0x1dd)]()===_0x43abd6);if(!_0x4a2ad7)return null;const _0x2e7227={};_0x2e7227[_0x1aafce(0x1a6)]=_0x488d2f[_0x1aafce(0x305)]!==![];const _0x284aa2=this['getOperationDocMeta'](_0x43abd6,_0x2e7227);if(!_0x284aa2)return null;const _0x1036fc=[];return _0x1036fc[_0x1aafce(0x279)](_0x1aafce(0x310)+_0x4a2ad7['getName']()+_0x1aafce(0x35a)),_0x1036fc[_0x1aafce(0x279)](_0x284aa2[_0x1aafce(0x327)]['code']),_0x1036fc[_0x1aafce(0x279)](''),_0x488d2f['includeUsageExample']!==![]&&(_0x1036fc[_0x1aafce(0x279)](_0x1aafce(0x1e3)),_0x1036fc[_0x1aafce(0x279)](_0x284aa2[_0x1aafce(0x394)][_0x1aafce(0x1c9)]),_0x1036fc[_0x1aafce(0x279)](''),_0x1036fc[_0x1aafce(0x279)](_0x284aa2['usageExample'][_0x1aafce(0x2e5)])),_0x1036fc[_0x1aafce(0x348)]('\x0a');}[_0x56ac75(0x196)](_0x527926={}){const _0x3f4bb7=_0x56ac75,_0x256135=this[_0x3f4bb7(0x189)](),_0x3274c8=[];return _0x256135[_0x3f4bb7(0x31a)]((_0x219f69,_0x224125)=>{const _0x1b1b28=_0x3f4bb7,_0x5c316f=this['generateFullSDKExample'](_0x219f69[_0x1b1b28(0x30e)],'demo-app',_0x527926);_0x5c316f&&(_0x3274c8[_0x1b1b28(0x279)](_0x1b1b28(0x2ee)+(_0x224125+0x1)+'.\x20'+_0x219f69[_0x1b1b28(0x12f)]),_0x3274c8[_0x1b1b28(0x279)](_0x5c316f),_0x3274c8[_0x1b1b28(0x279)](''));}),_0x3274c8[_0x3f4bb7(0x348)]('\x0a');}[_0x56ac75(0x35e)](_0x47f671){const _0x888a69=_0x56ac75,_0x3da2d7=this['getOperationAnalysis'](_0x47f671);if(!_0x3da2d7)return null;const _0x22131d={};return _0x22131d[_0x888a69(0x30e)]=_0x3da2d7[_0x888a69(0x30e)],_0x22131d[_0x888a69(0x12f)]=_0x3da2d7['displayName'],_0x22131d['method']=_0x3da2d7['method'],_0x22131d[_0x888a69(0x1f1)]=_0x3da2d7[_0x888a69(0x1f1)],_0x22131d[_0x888a69(0x1ac)]=_0x3da2d7['enabled'],_0x22131d[_0x888a69(0x2b1)]=_0x3da2d7[_0x888a69(0x113)]['length'],_0x22131d[_0x888a69(0x2da)]=_0x3da2d7['responseSchema']!==null,_0x22131d;}[_0x56ac75(0x2ae)](_0x2a48fc={}){const _0x35e6ec=_0x56ac75,_0x299a3f=this[_0x35e6ec(0x189)]();return{'datasetName':this[_0x35e6ec(0x30e)],'datasetCode':this[_0x35e6ec(0x2e2)],'tableName':this['getTableName'](),'totalOperations':_0x299a3f[_0x35e6ec(0x338)],'operations':_0x299a3f[_0x35e6ec(0x30d)](_0x4428e9=>({'name':_0x4428e9[_0x35e6ec(0x30e)],'displayName':_0x4428e9[_0x35e6ec(0x12f)],'method':_0x4428e9[_0x35e6ec(0x2fc)],'enabled':_0x4428e9[_0x35e6ec(0x1ac)]}))};}[_0x56ac75(0x1fe)](_0x3c306a){const _0x3d503c=_0x56ac75,_0xf2fe05=this[_0x3d503c(0x11f)](_0x3c306a);if(!_0xf2fe05)return[];return _0xf2fe05[_0x3d503c(0x113)][_0x3d503c(0x30d)](_0x1c38c1=>{const _0x4607cb=_0x3d503c,_0x1a23ca=this[_0x4607cb(0x176)](_0x1c38c1);if(!_0x1a23ca)return null;const _0x13fbdf={};return _0x13fbdf[_0x4607cb(0x3b7)]=_0x1c38c1,_0x13fbdf[_0x4607cb(0x30e)]=_0x1a23ca[_0x4607cb(0x30e)]||_0x1c38c1,_0x13fbdf;})[_0x3d503c(0x276)](_0xac6425=>_0xac6425!==null);}[_0x56ac75(0x36c)](){const _0x596f9b=_0x56ac75,_0x1697ff=new Set(this['getEnabledOperationAnalyses']()['map'](_0x20f97c=>String(_0x20f97c[_0x596f9b(0x186)]))),_0x50b3d2=[_0x596f9b(0x38a),_0x596f9b(0x208),'update',_0x596f9b(0x270)];return _0x50b3d2[_0x596f9b(0x276)](_0x27f829=>!_0x1697ff['has'](String(_0x27f829)));}[_0x56ac75(0x1c7)](_0x5165a5=_0x56ac75(0x123)){const _0x45026a=_0x56ac75;return generateAliasExplanation(this[_0x45026a(0x2e2)],this['getTableName'](),this['getModelAlias'](),_0x5165a5);}};}function operationToAnalysis(_0x2fab36){const _0x1b0f74=a0_0x4986fd;return{'name':_0x2fab36[_0x1b0f74(0x1dd)](),'displayName':_0x2fab36[_0x1b0f74(0x240)](),'type':_0x2fab36[_0x1b0f74(0x252)](),'method':_0x2fab36['getMethod'](),'path':_0x2fab36['getPath'](),'fullUrl':_0x2fab36['getFullUrl'](),'requestFields':_0x2fab36[_0x1b0f74(0x281)](),'requestParams':_0x2fab36[_0x1b0f74(0x12d)](),'responseSchema':_0x2fab36['getResponseSchema'](),'requestExample':_0x2fab36['generateRequestExample'](),'responseExample':_0x2fab36[_0x1b0f74(0x1d2)](),'enabled':_0x2fab36[_0x1b0f74(0x282)]()};}function operationsToAnalyses(_0x364cb7){const _0x13b912=a0_0x4986fd;if(!Array[_0x13b912(0x18f)](_0x364cb7))return!![]&&console[_0x13b912(0x27e)](_0x13b912(0x2c9),_0x364cb7),[];return _0x364cb7['map'](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x2162b2){const _0x34ecc2=a0_0x4986fd,_0x5f21a0=_0x2162b2['find'](_0x15f089=>_0x15f089[_0x34ecc2(0x30e)]===_0x34ecc2(0x276)),_0x2ddb0b=_0x2162b2[_0x34ecc2(0x276)](_0xde52ba=>_0xde52ba[_0x34ecc2(0x30e)]!==_0x34ecc2(0x276));return _0x5f21a0?[_0x5f21a0,..._0x2ddb0b]:_0x2ddb0b;}function filterOperationAnalyses(_0x478f4e,_0x36db24={}){const _0x157fc3=a0_0x4986fd;let _0x18d79a=_0x478f4e;return!_0x36db24[_0x157fc3(0x1a5)]&&(_0x18d79a=_0x18d79a[_0x157fc3(0x276)](_0x1e1b09=>_0x1e1b09[_0x157fc3(0x1ac)])),_0x36db24['filterBlacklist']!==![]&&(_0x18d79a=filterApiOperations(_0x18d79a)),_0x36db24[_0x157fc3(0x3b6)]&&(_0x18d79a=_0x18d79a['filter'](_0x36db24[_0x157fc3(0x3b6)])),sortOperationsWithFilterFirst(_0x18d79a);}function getOperationStats(_0x29634e){const _0x4244d0=a0_0x4986fd,_0x1e758b=_0x29634e['filter'](_0x3a4457=>_0x3a4457[_0x4244d0(0x1ac)]);return{'total':_0x29634e[_0x4244d0(0x338)],'enabled':_0x1e758b['length'],'disabled':_0x29634e['length']-_0x1e758b[_0x4244d0(0x338)],'byType':getCountByType(_0x1e758b),'byMethod':getCountByMethod(_0x1e758b)};}function getCountByType(_0x81491f){const _0x13ec9b=a0_0x4986fd,_0x379138={};return _0x81491f[_0x13ec9b(0x31a)](_0x5c8bb8=>{const _0x326375=_0x13ec9b;if(_0x5c8bb8['type'])_0x379138[_0x5c8bb8[_0x326375(0x186)]]=(_0x379138[_0x5c8bb8['type']]||0x0)+0x1;}),_0x379138;}function getCountByMethod(_0x1b2fd5){const _0x1eec0d=a0_0x4986fd,_0x2c0f68={};return _0x1b2fd5[_0x1eec0d(0x31a)](_0x25235e=>{const _0xa37836=_0x1eec0d;_0x2c0f68[_0x25235e[_0xa37836(0x2fc)]]=(_0x2c0f68[_0x25235e[_0xa37836(0x2fc)]]||0x0)+0x1;}),_0x2c0f68;}function supportsCRUD(_0x5791f0){const _0x5a382c=a0_0x4986fd,_0x1550dc=new Set(_0x5791f0[_0x5a382c(0x30d)](_0x1c270d=>_0x1c270d[_0x5a382c(0x186)])[_0x5a382c(0x276)](Boolean));return _0x1550dc[_0x5a382c(0x27a)](_0x5a382c(0x38a))&&_0x1550dc[_0x5a382c(0x27a)]('getList')&&_0x1550dc['has'](_0x5a382c(0x1c5))&&_0x1550dc[_0x5a382c(0x27a)](_0x5a382c(0x270));}function createOperationDocMeta(_0x51845e,_0x172d61,_0x5b7c0e,_0x502da5,_0x44bdaf,_0x4c29e7){const _0x6cc899=a0_0x4986fd,_0x52c928={};return _0x52c928[_0x6cc899(0x1a6)]=_0x4c29e7?.[_0x6cc899(0x1a6)],{'operation':_0x51845e,'operationInstance':_0x172d61,'basicInfo':{'name':_0x51845e['name'],'displayName':_0x51845e[_0x6cc899(0x12f)],'method':_0x51845e['method'],'path':_0x51845e['path'],'fullUrl':_0x51845e['fullUrl'],'enabled':_0x51845e['enabled']},'sdkCall':{'datasetCode':_0x5b7c0e,'datasetSDKKey':_0x502da5,'tableName':_0x44bdaf,'operationName':_0x51845e[_0x6cc899(0x30e)],'params':_0x51845e[_0x6cc899(0x113)],'code':_0x172d61['generateSDKCallCode'](_0x502da5,_0x52c928)},'usageExample':_0x172d61[_0x6cc899(0x235)](_0x502da5)};}function createOperationsOverviewData(_0x4a1c9f){const _0x4cd9c5=a0_0x4986fd,_0x2b4919={};_0x2b4919[_0x4cd9c5(0x273)]='name',_0x2b4919[_0x4cd9c5(0x169)]=_0x4cd9c5(0x234);const _0x4125c8={};_0x4125c8['index']=_0x4cd9c5(0x12f),_0x4125c8[_0x4cd9c5(0x169)]=_0x4cd9c5(0x332);const _0x2e605a={};_0x2e605a[_0x4cd9c5(0x273)]=_0x4cd9c5(0x2fc),_0x2e605a[_0x4cd9c5(0x169)]='方法';const _0x1e6f0e={};_0x1e6f0e['index']=_0x4cd9c5(0x327),_0x1e6f0e['label']=_0x4cd9c5(0x2dc);const _0x3ed51b={};_0x3ed51b[_0x4cd9c5(0x273)]=_0x4cd9c5(0x1f1),_0x3ed51b[_0x4cd9c5(0x169)]='API路径';const _0x9629e7={};_0x9629e7[_0x4cd9c5(0x273)]=_0x4cd9c5(0x285),_0x9629e7[_0x4cd9c5(0x169)]='完整的\x20SDK\x20调用代码';const _0x68cd19=[_0x2b4919,_0x4125c8,_0x2e605a,_0x1e6f0e,_0x3ed51b,_0x9629e7],_0x22089b=_0x4a1c9f[_0x4cd9c5(0x30d)](_0x51a19b=>{const _0x53a5fa=_0x4cd9c5,{basicInfo:_0x2a3ef2,sdkCall:_0x4b5c54}=_0x51a19b,_0x1b5f38=_0x4b5c54[_0x53a5fa(0x3b7)][_0x53a5fa(0x15c)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x53a5fa(0x15c)](/;$/,''),_0x2de9c={};return _0x2de9c[_0x53a5fa(0x12f)]=_0x2a3ef2[_0x53a5fa(0x12f)],_0x2de9c[_0x53a5fa(0x30e)]=_0x2a3ef2['name'],_0x2de9c[_0x53a5fa(0x2fc)]=_0x2a3ef2[_0x53a5fa(0x2fc)],_0x2de9c[_0x53a5fa(0x1f1)]=_0x2a3ef2[_0x53a5fa(0x1f1)],_0x2de9c['sdkCall']=_0x1b5f38,_0x2de9c['sdkCallCode']=_0x4b5c54[_0x53a5fa(0x3b7)],_0x2de9c;}),_0x36105f={};return _0x36105f['tableColumns']=_0x68cd19,_0x36105f[_0x4cd9c5(0x148)]=_0x22089b,_0x36105f;}function createDatasetDocMeta(_0x3c97a2,_0xe25381,_0x2c3ede,_0x27e149,_0x51c63f,_0x3239ba,_0x3ec8f4,_0x28842a,_0x17d427){const _0xd86c62=a0_0x4986fd,_0xb10f8c={};return _0xb10f8c[_0xd86c62(0x22e)]=_0x3c97a2+_0xd86c62(0x27c),_0xb10f8c[_0xd86c62(0x3a7)]={},_0xb10f8c[_0xd86c62(0x15b)]=_0x17d427,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x30e)]=_0x3c97a2,_0xb10f8c[_0xd86c62(0x3a7)]['code']=_0xe25381,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x1ca)]=_0x2c3ede,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x181)]=_0x27e149,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x1f6)]=_0x51c63f,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x2f4)]=_0x3239ba,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x106)]=_0x3ec8f4,_0xb10f8c[_0xd86c62(0x3a7)]['businessFieldCount']=0x0,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x188)]=0x0,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x34f)]=_0x28842a,_0xb10f8c[_0xd86c62(0x3a7)]['enabledOperationCount']=_0x17d427[_0xd86c62(0x338)],_0xb10f8c;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}[a0_0x4986fd(0x29c)](){const _0x1fd6bb=a0_0x4986fd;return this[_0x1fd6bb(0x2b7)]();}[a0_0x4986fd(0x157)](_0x4b3619=![]){const _0x3df1b1=a0_0x4986fd;if(!_0x4b3619&&this[_0x3df1b1(0x35c)])return this[_0x3df1b1(0x35c)];const _0x5f4a70=this[_0x3df1b1(0x14c)]();return this['_operationAnalyses']=operationsToAnalyses(_0x5f4a70),this[_0x3df1b1(0x35c)];}[a0_0x4986fd(0x189)](){const _0x5a6e9e=a0_0x4986fd,_0x39531b={};return _0x39531b['includeDisabled']=![],_0x39531b[_0x5a6e9e(0x27b)]=!![],this[_0x5a6e9e(0x293)](_0x39531b);}['getFilteredOperationAnalyses'](_0x32bfcd={}){const _0x506fe2=a0_0x4986fd;return filterOperationAnalyses(this[_0x506fe2(0x157)](),_0x32bfcd);}[a0_0x4986fd(0x11f)](_0x1f2ed7){const _0x56b6d1=a0_0x4986fd;return this[_0x56b6d1(0x157)]()[_0x56b6d1(0x2b4)](_0x171642=>_0x171642[_0x56b6d1(0x30e)]===_0x1f2ed7);}['getOperationAnalysesByType'](_0x2133e9){const _0x411b1=a0_0x4986fd;return this['getOperationAnalyses']()[_0x411b1(0x276)](_0x1144c0=>_0x1144c0[_0x411b1(0x186)]===_0x2133e9);}[a0_0x4986fd(0x3ae)](_0xf7cd15,_0x413ea5){const _0x16c86c=a0_0x4986fd,_0x5ec90d=this[_0x16c86c(0x11f)](_0xf7cd15);if(!_0x5ec90d)return null;const _0x535704=this['getOperations']()['find'](_0xe1f87e=>_0xe1f87e['getName']()===_0x5ec90d['name']);if(!_0x535704)throw new Error(_0x16c86c(0x1e0)+_0x5ec90d[_0x16c86c(0x30e)]);return createOperationDocMeta(_0x5ec90d,_0x535704,this['datasetCode'],this[_0x16c86c(0x2b0)](),this[_0x16c86c(0x13e)](),_0x413ea5);}[a0_0x4986fd(0x2ec)](_0x46f49f={}){const _0x5bf26a=a0_0x4986fd,_0x234909=this[_0x5bf26a(0x293)](_0x46f49f),_0x315c9e=_0x234909['map'](_0x5d8aa0=>this['getOperationDocMeta'](_0x5d8aa0[_0x5bf26a(0x30e)]))[_0x5bf26a(0x276)](_0x5c161e=>_0x5c161e!==null);return createDatasetDocMeta(this[_0x5bf26a(0x30e)],this[_0x5bf26a(0x2e2)],this[_0x5bf26a(0x13e)](),this[_0x5bf26a(0x2b0)](),this[_0x5bf26a(0x2b7)](),this[_0x5bf26a(0x2f4)],this[_0x5bf26a(0x173)](),this['getOperationCount'](),_0x315c9e);}['getOperationsOverviewData'](_0x4e37d0){return createOperationsOverviewData(_0x4e37d0);}[a0_0x4986fd(0x333)](){const _0x54a72f=a0_0x4986fd;return supportsCRUD(this[_0x54a72f(0x189)]());}['getOperationStats'](){const _0x2b3527=a0_0x4986fd;return getOperationStats(this[_0x2b3527(0x157)]());}[a0_0x4986fd(0x28a)](){const _0x4c58b8=a0_0x4986fd,_0xe12987=this['getOperationStats']();return'DrivenDataDetailPlus('+this['name']+',\x20'+this[_0x4c58b8(0x2e2)]+',\x20'+this[_0x4c58b8(0x173)]()+_0x4c58b8(0x21f)+_0xe12987[_0x4c58b8(0x1ac)]+'/'+_0xe12987[_0x4c58b8(0x238)]+_0x4c58b8(0x1a3);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x4986fd(0x35c)];[a0_0x4986fd(0x294)](){return'v2';}[a0_0x4986fd(0x29c)](){const _0x28b460=a0_0x4986fd;return this[_0x28b460(0x2b7)]();}[a0_0x4986fd(0x157)](_0x26a98a=![]){const _0x8dd49d=a0_0x4986fd;if(!_0x26a98a&&this[_0x8dd49d(0x35c)])return this[_0x8dd49d(0x35c)];const _0x411f70=this[_0x8dd49d(0x14c)]();return this['_operationAnalyses']=operationsToAnalyses(_0x411f70),this[_0x8dd49d(0x35c)];}[a0_0x4986fd(0x189)](){const _0x127b69=a0_0x4986fd,_0x5e3c36={};return _0x5e3c36['includeDisabled']=![],_0x5e3c36['filterBlacklist']=!![],this[_0x127b69(0x293)](_0x5e3c36);}['getFilteredOperationAnalyses'](_0xc3bd78={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0xc3bd78);}[a0_0x4986fd(0x11f)](_0x3bbebf){const _0x18142f=a0_0x4986fd;return this[_0x18142f(0x157)]()[_0x18142f(0x2b4)](_0x3aa59c=>_0x3aa59c['name']===_0x3bbebf);}[a0_0x4986fd(0x2b2)](_0x500aea){const _0x5e3de6=a0_0x4986fd;return this[_0x5e3de6(0x157)]()[_0x5e3de6(0x276)](_0x279705=>_0x279705['type']===_0x500aea);}[a0_0x4986fd(0x3ae)](_0x401b47,_0x17a168){const _0x1310ab=a0_0x4986fd,_0x487d5d=this[_0x1310ab(0x11f)](_0x401b47);if(!_0x487d5d)return null;const _0x5af670=this[_0x1310ab(0x14c)]()[_0x1310ab(0x2b4)](_0x516e49=>_0x516e49['getName']()===_0x487d5d[_0x1310ab(0x30e)]);if(!_0x5af670)throw new Error(_0x1310ab(0x1e0)+_0x487d5d['name']);return createOperationDocMeta(_0x487d5d,_0x5af670,this[_0x1310ab(0x2e2)],this[_0x1310ab(0x2b0)](),this[_0x1310ab(0x13e)](),_0x17a168);}[a0_0x4986fd(0x2ec)](_0x275b89={}){const _0x4bc161=a0_0x4986fd,_0x2b0d17=this[_0x4bc161(0x293)](_0x275b89),_0x468dff=_0x2b0d17[_0x4bc161(0x30d)](_0x5dd849=>this[_0x4bc161(0x3ae)](_0x5dd849['name']))['filter'](_0x1228cd=>_0x1228cd!==null);return createDatasetDocMeta(this['name'],this['datasetCode'],this[_0x4bc161(0x13e)](),this[_0x4bc161(0x2b0)](),this['getTableKey'](),this[_0x4bc161(0x2f4)],this[_0x4bc161(0x173)](),this[_0x4bc161(0x15e)](),_0x468dff);}['getOperationsOverviewData'](_0xa97a92){return createOperationsOverviewData(_0xa97a92);}['supportsCRUD'](){const _0x11760c=a0_0x4986fd;return supportsCRUD(this[_0x11760c(0x189)]());}[a0_0x4986fd(0x290)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x4986fd(0x28a)](){const _0x2c9741=a0_0x4986fd,_0x4c8739=this[_0x2c9741(0x290)]();return _0x2c9741(0x2d9)+this[_0x2c9741(0x30e)]+',\x20'+this['datasetCode']+',\x20'+this[_0x2c9741(0x173)]()+_0x2c9741(0x21f)+_0x4c8739[_0x2c9741(0x1ac)]+'/'+_0x4c8739['total']+_0x2c9741(0x32e);}}function detectDatasetVersion3(_0x3128fa){const _0x5285e4=a0_0x4986fd;if(_0x3128fa[_0x5285e4(0x182)]==='v2'&&'fields'in _0x3128fa&&Array[_0x5285e4(0x18f)](_0x3128fa[_0x5285e4(0x26d)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x4986fd(0x1b6)];constructor(_0x2c0c12){const _0x407dfc=detectDatasetVersion3(_0x2c0c12);return this['_instance']=_0x407dfc==='v2'?new DrivenDataDetailPlusV2(_0x2c0c12):new DrivenDataDetailPlusV1(_0x2c0c12),new Proxy(this,{'get'(_0x10ba5c,_0x4f42ef){const _0x2fbe72=a0_0x5c95;if(_0x4f42ef in _0x10ba5c){const _0x590bd0=_0x10ba5c[_0x4f42ef];return typeof _0x590bd0==='function'?_0x590bd0[_0x2fbe72(0x1e2)](_0x10ba5c):_0x590bd0;}if(_0x4f42ef in _0x10ba5c[_0x2fbe72(0x1b6)]){const _0x53591b=_0x10ba5c[_0x2fbe72(0x1b6)][_0x4f42ef];return typeof _0x53591b==='function'?_0x53591b['bind'](_0x10ba5c[_0x2fbe72(0x1b6)]):_0x53591b;}return;},'set'(_0x578f91,_0x418f2e,_0x4b1a30){return _0x578f91[_0x418f2e]=_0x4b1a30,!![];},'getPrototypeOf'(_0x43b14f){return DrivenDataDetailPlus['prototype'];}});}get[a0_0x4986fd(0x30e)](){const _0x119c37=a0_0x4986fd;return this[_0x119c37(0x1b6)][_0x119c37(0x30e)];}get['id'](){const _0x2fb1c6=a0_0x4986fd;return this[_0x2fb1c6(0x1b6)]['id'];}get[a0_0x4986fd(0x2e2)](){const _0x423c5f=a0_0x4986fd;return this['_instance'][_0x423c5f(0x2e2)];}get[a0_0x4986fd(0x2f4)](){const _0x5c72cc=a0_0x4986fd;return this[_0x5c72cc(0x1b6)][_0x5c72cc(0x2f4)];}get[a0_0x4986fd(0x128)](){const _0x83218b=a0_0x4986fd;return this[_0x83218b(0x1b6)][_0x83218b(0x1e5)]();}[a0_0x4986fd(0x294)](){const _0xec189e=a0_0x4986fd,_0x98adb5=this['_instance'][_0xec189e(0x294)]();return _0x98adb5==='v2'?'v2':'v1';}[a0_0x4986fd(0x173)](){const _0x4577ca=a0_0x4986fd;return this[_0x4577ca(0x1b6)][_0x4577ca(0x173)]();}[a0_0x4986fd(0x15e)](){const _0x5c549e=a0_0x4986fd;return this[_0x5c549e(0x1b6)][_0x5c549e(0x15e)]();}['getFields'](){const _0x3fd237=a0_0x4986fd;return this[_0x3fd237(0x1b6)][_0x3fd237(0x1af)]();}[a0_0x4986fd(0x14c)](){const _0x399520=a0_0x4986fd;return this[_0x399520(0x1b6)][_0x399520(0x14c)]();}['getFilteredOperations'](_0x16972c){return this['_instance']['getFilteredOperations'](_0x16972c);}['getFieldInstance'](_0x3fa891){const _0x3661cf=a0_0x4986fd;return this['_instance'][_0x3661cf(0x176)](_0x3fa891);}['getTableName'](){return this['_instance']['getTableName']();}[a0_0x4986fd(0x2b7)](){const _0x45e72e=a0_0x4986fd;return this['_instance'][_0x45e72e(0x2b7)]();}['getDatasetSDKKey'](){const _0x1051e0=a0_0x4986fd;return this[_0x1051e0(0x1b6)][_0x1051e0(0x2b0)]();}[a0_0x4986fd(0x303)](){const _0x2531f1=a0_0x4986fd;return this[_0x2531f1(0x1b6)][_0x2531f1(0x303)]();}[a0_0x4986fd(0x302)](){const _0x4e7e3f=a0_0x4986fd;return this[_0x4e7e3f(0x1b6)][_0x4e7e3f(0x302)]();}[a0_0x4986fd(0x2bd)](){const _0x59221e=a0_0x4986fd;return this[_0x59221e(0x1b6)][_0x59221e(0x2bd)]();}[a0_0x4986fd(0x2eb)](_0x316397){const _0x462248=a0_0x4986fd;return this[_0x462248(0x1b6)]['isMultipleSelectField'](_0x316397);}[a0_0x4986fd(0x1b0)](_0x1df27c){const _0x520fd1=a0_0x4986fd;return this[_0x520fd1(0x1b6)]['getField'](_0x1df27c);}[a0_0x4986fd(0x116)](_0xd138c0){const _0x3c41e9=a0_0x4986fd;return this[_0x3c41e9(0x1b6)][_0x3c41e9(0x116)](_0xd138c0);}['getFieldSelectItemsSource'](_0x254a38){const _0x20d5e8=a0_0x4986fd;return this[_0x20d5e8(0x1b6)][_0x20d5e8(0x1fb)](_0x254a38);}[a0_0x4986fd(0x1ce)](_0x5d34bd){const _0x34a4f2=a0_0x4986fd;return this[_0x34a4f2(0x1b6)][_0x34a4f2(0x1ce)](_0x5d34bd);}['validateEnumValue'](_0x49385d,_0x2e389b){return this['_instance']['validateEnumValue'](_0x49385d,_0x2e389b);}['isRequiredField'](_0x2049e7){const _0x26ab28=a0_0x4986fd;return this[_0x26ab28(0x1b6)][_0x26ab28(0x1a9)](_0x2049e7);}['getStats'](){const _0x4fb109=a0_0x4986fd;return this[_0x4fb109(0x1b6)]['getStats']();}[a0_0x4986fd(0x3a5)](){const _0x2295c2=a0_0x4986fd;return this[_0x2295c2(0x1b6)][_0x2295c2(0x3a5)]();}[a0_0x4986fd(0x190)](){const _0x44f71a=a0_0x4986fd;return this[_0x44f71a(0x1b6)][_0x44f71a(0x190)]();}['hasOperation'](_0xe95bc6){const _0xcb8a1e=a0_0x4986fd;return this[_0xcb8a1e(0x1b6)]['hasOperation'](_0xe95bc6);}[a0_0x4986fd(0x1e5)](){const _0x5267fb=a0_0x4986fd;return this[_0x5267fb(0x1b6)][_0x5267fb(0x1e5)]();}['getRawDbtableConfig'](){const _0x29f7cc=a0_0x4986fd;return this[_0x29f7cc(0x1b6)]['getRawDbtableConfig']();}['getSource'](){const _0x39fa69=a0_0x4986fd;return this[_0x39fa69(0x1b6)][_0x39fa69(0x14f)]();}[a0_0x4986fd(0x157)](_0x277a65){const _0x3d4671=a0_0x4986fd;return this['_instance'][_0x3d4671(0x157)](_0x277a65);}['getEnabledOperationAnalyses'](){const _0x518904=a0_0x4986fd;return this[_0x518904(0x1b6)][_0x518904(0x189)]();}['getFilteredOperationAnalyses'](_0x2a33e9){const _0x26a8fe=a0_0x4986fd;return this['_instance'][_0x26a8fe(0x293)](_0x2a33e9);}[a0_0x4986fd(0x11f)](_0x3c7b2e){const _0x47e095=a0_0x4986fd;return this['_instance'][_0x47e095(0x11f)](_0x3c7b2e);}['getOperationAnalysesByType'](_0x39b328){const _0x3138d8=a0_0x4986fd;return this[_0x3138d8(0x1b6)][_0x3138d8(0x2b2)](_0x39b328);}['getOperationDocMeta'](_0x181888,_0x2ca670){return this['_instance']['getOperationDocMeta'](_0x181888,_0x2ca670);}[a0_0x4986fd(0x2ec)](_0x15fc52){const _0x2e02f1=a0_0x4986fd;return this[_0x2e02f1(0x1b6)]['getDatasetDocMeta'](_0x15fc52);}['getOperationsOverviewData'](_0x191d01){const _0x7dfd03=a0_0x4986fd;return this[_0x7dfd03(0x1b6)][_0x7dfd03(0x326)](_0x191d01);}[a0_0x4986fd(0x29c)](){const _0x15a961=a0_0x4986fd;return this['_instance'][_0x15a961(0x29c)]();}[a0_0x4986fd(0x333)](){const _0x484e4c=a0_0x4986fd;return this[_0x484e4c(0x1b6)]['supportsCRUD']();}[a0_0x4986fd(0x290)](){const _0x15959a=a0_0x4986fd;return this[_0x15959a(0x1b6)][_0x15959a(0x290)]();}[a0_0x4986fd(0x28a)](){const _0x13a642=a0_0x4986fd;return this[_0x13a642(0x1b6)][_0x13a642(0x28a)]();}[a0_0x4986fd(0x1fa)](_0x2b4c98){const _0x10c65b=a0_0x4986fd;return this['_instance'][_0x10c65b(0x1fa)](_0x2b4c98);}[a0_0x4986fd(0x3a2)](_0x3ac39a){const _0x1eef42=a0_0x4986fd;return this[_0x1eef42(0x1b6)]['getSDKInitData'](_0x3ac39a);}[a0_0x4986fd(0x350)](_0x4e1bf7,_0x15d8dc,_0xece430){const _0x16cb4c=a0_0x4986fd;return this['_instance'][_0x16cb4c(0x350)](_0x4e1bf7,_0x15d8dc,_0xece430);}[a0_0x4986fd(0x15f)](_0x5e703a,_0x1efcf2,_0x1e6a41){return this['_instance']['generateFullSDKExample'](_0x5e703a,_0x1efcf2,_0x1e6a41);}[a0_0x4986fd(0x196)](_0x3d7a20){const _0x5dd8f2=a0_0x4986fd;return this['_instance'][_0x5dd8f2(0x196)](_0x3d7a20);}['generateOperationSummary'](_0x2d8c26){const _0x179672=a0_0x4986fd;return this[_0x179672(0x1b6)]['generateOperationSummary'](_0x2d8c26);}[a0_0x4986fd(0x2ae)](_0x15a4d5){const _0x221577=a0_0x4986fd;return this[_0x221577(0x1b6)]['generateAllOperationsSummary'](_0x15a4d5);}['getOperationRequestFields'](_0x306f11){const _0x1756bd=a0_0x4986fd;return this[_0x1756bd(0x1b6)]['getOperationRequestFields'](_0x306f11);}[a0_0x4986fd(0x36c)](){const _0x42379c=a0_0x4986fd;return this[_0x42379c(0x1b6)][_0x42379c(0x36c)]();}['generateAliasExplanation'](){const _0x31a2ef=a0_0x4986fd;return this['_instance'][_0x31a2ef(0x1c7)]();}[a0_0x4986fd(0x313)](){return this['_instance'];}}function createDrivenDataDetailPlus(_0x398777,_0x4c0110={}){const _0x25cf48=a0_0x4986fd;if(_0x4c0110[_0x25cf48(0x133)]==='v1')return new DrivenDataDetailPlusV1(_0x398777);if(_0x4c0110[_0x25cf48(0x133)]==='v2')return new DrivenDataDetailPlusV2(_0x398777);if(_0x398777[_0x25cf48(0x182)]==='v2'||_0x25cf48(0x218)in _0x398777)return new DrivenDataDetailPlusV2(_0x398777);return new DrivenDataDetailPlusV1(_0x398777);}function isPlusV2Instance(_0x113f33){const _0x8023aa=a0_0x4986fd;return _0x113f33[_0x8023aa(0x294)]()==='v2';}function isPlusV1Instance(_0xe8d9a8){return _0xe8d9a8['getVersion']()==='v1';}var VERSION=a0_0x4986fd(0x23a);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};
@@ -39,7 +39,11 @@ export declare class FieldV2 extends FieldBase {
39
39
  get displayName(): string;
40
40
  /**
41
41
  * 字段类型
42
- * V2 使用 dbType,需要映射为 V1 的业务类型
42
+ * V2 优先使用 doType(业务类型),其次使用 dbType 映射
43
+ * 为什么这样设计?
44
+ * 1. doType 是显式配置的业务类型,语义更准确
45
+ * 2. 某些虚拟字段可能没有 dbType(如计算字段)
46
+ * 3. 保持与 V1 的类型系统兼容
43
47
  */
44
48
  get type(): string;
45
49
  /** 字段描述 */
@@ -91,15 +95,15 @@ export declare class FieldV2 extends FieldBase {
91
95
  /**
92
96
  * 获取用于 Operation 操作符判断的有效类型
93
97
  * V2 返回规范化的数据库类型(移除 UNSIGNED 等后缀)
94
- * @returns 规范化后的数据库类型(如 "BIGINT", "VARCHAR", "INT"
98
+ * @returns 规范化后的数据库类型(如 "BIGINT", "VARCHAR", "INT"),dbType 为 null 时返回空字符串
95
99
  */
96
100
  getDbTypeForOperation(): string;
97
101
  /** 获取默认值(V2 可能没有 defaultValue,返回 undefined) */
98
102
  getDefaultValue(): unknown;
99
103
  /** 获取提示信息(V2 可能没有 tooltip,返回 undefined) */
100
104
  getTooltip(): string | undefined;
101
- /** 获取数据库类型 */
102
- get dbType(): string;
105
+ /** 获取数据库类型(可能为 undefined,兼容接口定义) */
106
+ get dbType(): string | undefined;
103
107
  /** 获取数据库类型长度 */
104
108
  get dbTypeLen(): number;
105
109
  /**
@@ -116,7 +120,7 @@ export declare class FieldV2 extends FieldBase {
116
120
  toString(): string;
117
121
  /**
118
122
  * 映射数据库类型到字段类型
119
- * @param dbType 数据库类型
123
+ * @param dbType 数据库类型(可能为 null)
120
124
  * @returns 字段类型
121
125
  */
122
126
  private mapDbTypeToType;
@@ -1 +1 @@
1
- {"version":3,"file":"FieldV2.d.ts","sourceRoot":"","sources":["../../../../src/core/field/FieldV2.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE3E;;;;;;GAMG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,gBAAgB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;gBAE7B,eAAe,EAAE,iBAAiB;IAU9C,aAAa;IACb,UAAU,IAAI,YAAY;IAM1B,eAAe;IACf,IAAI,GAAG,IAAI,iBAAiB,CAE3B;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,WAAW;IACX,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,cAAc;IACd,IAAI,OAAO,IAAI,OAAO,CAErB;IAID,aAAa;IACb,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,QAAQ,IAAI,OAAO;IAInB,aAAa;IACb,eAAe,IAAI,OAAO;IAI1B,eAAe;IACf,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,YAAY,IAAI,OAAO;IAMvB;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAMtB;;;OAGG;IACM,MAAM,IAAI,OAAO;IAM1B;;;OAGG;IACM,gBAAgB,IAAI,OAAO;IAkBpC;;;OAGG;IACH,cAAc,IAAI,WAAW,EAAE,GAAG,SAAS;IAO3C;;;OAGG;IACH,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAoBrD;;;;OAIG;IACH,qBAAqB,IAAI,MAAM;IAQ/B,+CAA+C;IAC/C,eAAe,IAAI,OAAO;IAK1B,2CAA2C;IAC3C,UAAU,IAAI,MAAM,GAAG,SAAS;IAIhC,cAAc;IACd,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,gBAAgB;IAChB,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;OAIG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI;IAI1B,oBAAoB;IACpB,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAEtC;IAED,kBAAkB;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAqBjC,aAAa;IACJ,QAAQ,IAAI,MAAM;IAM3B;;;;OAIG;IACH,OAAO,CAAC,eAAe;CA+BxB"}
1
+ {"version":3,"file":"FieldV2.d.ts","sourceRoot":"","sources":["../../../../src/core/field/FieldV2.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE3E;;;;;;GAMG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,gBAAgB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;gBAE7B,eAAe,EAAE,iBAAiB;IAU9C,aAAa;IACb,UAAU,IAAI,YAAY;IAM1B,eAAe;IACf,IAAI,GAAG,IAAI,iBAAiB,CAE3B;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;;OAIG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;;;;;;OAOG;IACH,IAAI,IAAI,IAAI,MAAM,CAOjB;IAED,WAAW;IACX,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,cAAc;IACd,IAAI,OAAO,IAAI,OAAO,CAErB;IAID,aAAa;IACb,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,QAAQ,IAAI,OAAO;IAInB,aAAa;IACb,eAAe,IAAI,OAAO;IAI1B,eAAe;IACf,YAAY,IAAI,OAAO;IAIvB,eAAe;IACf,YAAY,IAAI,OAAO;IAMvB;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAMtB;;;OAGG;IACM,MAAM,IAAI,OAAO;IAM1B;;;OAGG;IACM,gBAAgB,IAAI,OAAO;IAkBpC;;;OAGG;IACH,cAAc,IAAI,WAAW,EAAE,GAAG,SAAS;IAO3C;;;OAGG;IACH,oBAAoB,IAAI,iBAAiB,GAAG,SAAS;IAoBrD;;;;OAIG;IACH,qBAAqB,IAAI,MAAM;IAY/B,+CAA+C;IAC/C,eAAe,IAAI,OAAO;IAK1B,2CAA2C;IAC3C,UAAU,IAAI,MAAM,GAAG,SAAS;IAIhC,oCAAoC;IACpC,IAAI,MAAM,IAAI,MAAM,GAAG,SAAS,CAE/B;IAED,gBAAgB;IAChB,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;OAIG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI;IAI1B,oBAAoB;IACpB,IAAI,MAAM,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAEtC;IAED,kBAAkB;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAqBjC,aAAa;IACJ,QAAQ,IAAI,MAAM;IAM3B;;;;OAIG;IACH,OAAO,CAAC,eAAe;CAoCxB"}
@@ -45,15 +45,15 @@ export declare function getFieldType(field: FieldLike): string;
45
45
  /**
46
46
  * 获取数据库类型
47
47
  * - V1: 无(返回 field.type 或空字符串)
48
- * - V2: field.dbType
48
+ * - V2: field.dbType(可能为 null)
49
49
  */
50
50
  export declare function getDbType(field: FieldLike): string;
51
51
  /**
52
52
  * 规范化数据库类型,移除 UNSIGNED、ZEROFILL 等后缀
53
- * @param rawType 原始类型(如 "BIGINT UNSIGNED", "INT ZEROFILL"
54
- * @returns 规范化后的类型(如 "BIGINT", "INT"
53
+ * @param rawType 原始类型(如 "BIGINT UNSIGNED", "INT ZEROFILL"),可能为 null
54
+ * @returns 规范化后的类型(如 "BIGINT", "INT"),输入为 null 时返回空字符串
55
55
  */
56
- export declare function normalizeDbType(rawType: string): string;
56
+ export declare function normalizeDbType(rawType: string | null | undefined): string;
57
57
  /**
58
58
  * 获取用于操作符判断的有效类型
59
59
  * - V1: 返回业务类型(TEXT, NUMBER, DATE 等)大写
@@ -1 +1 @@
1
- {"version":3,"file":"FieldHelper.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/FieldHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,iBAAiB,CAAC;AAE5D;;GAEG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK,IAAI,iBAAiB,CAEtE;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAKrD;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAK5D;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAUrD;AA+BD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAMlD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAKvD;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAOzD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAE5D;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAcnD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAczD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,SAAS,GACf,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC,GAAG,IAAI,CAgBzD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAmB1D;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAqBxE;AAED;;;;GAIG;AACH,qBAAa,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,EAAE,SAAS;IAE7C,aAAa;IACb,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,aAAa;IACb,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,aAAa;IACb,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,cAAc;IACd,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,aAAa;IACb,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,YAAY;IACZ,IAAI,IAAI,OAAO;IAIf,WAAW;IACX,UAAU,IAAI,OAAO;IAIrB,WAAW;IACX,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,UAAU,IAAI,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI;IAIrE,aAAa;IACb,SAAS,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAIpC,gBAAgB;IAChB,IAAI,IAAI,OAAO;CAGhB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,aAAa,EAAE,CAEzE"}
1
+ {"version":3,"file":"FieldHelper.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/FieldHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,iBAAiB,CAAC;AAE5D;;GAEG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK,IAAI,iBAAiB,CAEtE;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAKrD;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAK5D;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAUrD;AAkCD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAMlD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAQ1E;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAOzD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAE5D;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAcnD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAczD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,SAAS,GACf,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC,GAAG,IAAI,CAgBzD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAmB1D;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAqBxE;AAED;;;;GAIG;AACH,qBAAa,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,EAAE,SAAS;IAE7C,aAAa;IACb,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,aAAa;IACb,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,aAAa;IACb,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,cAAc;IACd,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,aAAa;IACb,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,YAAY;IACZ,IAAI,IAAI,OAAO;IAIf,WAAW;IACX,UAAU,IAAI,OAAO;IAIrB,WAAW;IACX,UAAU,IAAI,OAAO;IAIrB,aAAa;IACb,UAAU,IAAI,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI;IAIrE,aAAa;IACb,SAAS,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAIpC,gBAAgB;IAChB,IAAI,IAAI,OAAO;CAGhB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,aAAa,EAAE,CAEzE"}
@@ -66,8 +66,8 @@ export interface FieldDefinitionV2 {
66
66
  name: string;
67
67
  /** 显示名称(新增) */
68
68
  displayName: string;
69
- /** 数据库类型(新增) */
70
- dbType: string;
69
+ /** 数据库类型(新增,可能为 null 表示非数据库字段) */
70
+ dbType: string | null;
71
71
  /** 数据库类型长度(新增) */
72
72
  dbTypeLen: number;
73
73
  /** 数据对象类型(新增) */
@@ -1 +1 @@
1
- {"version":3,"file":"dataset-v2.d.ts","sourceRoot":"","sources":["../../../src/types/dataset-v2.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,YAAY;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU;IACV,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY;IACZ,UAAU,EAAE,UAAU,GAAG,UAAU,CAAC;IACpC,WAAW;IACX,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,oBAAoB;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY;IACZ,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IAChC,eAAe;IACf,EAAE,EAAE,MAAM,CAAC;IACX,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gCAAgC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY;IACZ,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB;IAChB,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,2BAA2B;IAC3B,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IAC9B,2BAA2B;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,0DAA0D;IAC1D,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,2BAA2B;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,2BAA2B;IAC3B,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,eAAe;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,iBAAiB;IACjB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,iBAAiB;IACjB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAClC,cAAc;IACd,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,aAAa;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,aAAa;IACpD,YAAY;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,YAAY;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS;IACT,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe;IACf,UAAU,EAAE;QACV,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,mBAAmB;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe;IACf,eAAe,EAAE;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,eAAe;IACf,eAAe,EAAE;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,gBAAgB;IAChB,cAAc,EAAE;QACd,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,gBAAgB;IAChB,gBAAgB,EAAE;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,gBAAgB;IAChB,eAAe,EAAE;QACf,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,gBAAgB;IAChB,iBAAiB,EAAE;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,WAAW;IACX,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,cAAc;IACd,aAAa,EAAE;QACb,EAAE,EAAE,MAAM,CAAC;QACX,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,OAAO,CAAC;QACjB,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,oBAAoB,CAAC,EAAE;YACrB,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,aAAa,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YAChC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;YAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;SACxB,CAAC;KACH,GAAG,IAAI,CAAC;CACV;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACvC,aAAa,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,WAAW;IACX,SAAS,EAAE,IAAI,CAAC;IAChB,aAAa;IACb,OAAO,EAAE,WAAW,CAAC;IACrB,+BAA+B;IAC/B,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,eAAe;IACf,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,YAAY;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,YAAY;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,WAAW;IACX,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC,CAAC;IAC/C,UAAU;IACV,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW;IACX,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,YAAY;IACZ,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,kBAAkB;IAClB,aAAa,EAAE,eAAe,GAAG,IAAI,CAAC;IACtC,mBAAmB;IACnB,yBAAyB,EAAE,MAAM,EAAE,CAAC;IACpC,WAAW;IACX,WAAW,EAAE,OAAO,EAAE,CAAC;IACvB,WAAW;IACX,aAAa,EAAE,OAAO,EAAE,CAAC;IACzB,eAAe;IACf,mBAAmB,EAAE,OAAO,EAAE,CAAC;IAC/B,WAAW;IACX,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,8BAA8B;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
1
+ {"version":3,"file":"dataset-v2.d.ts","sourceRoot":"","sources":["../../../src/types/dataset-v2.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,YAAY;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU;IACV,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY;IACZ,UAAU,EAAE,UAAU,GAAG,UAAU,CAAC;IACpC,WAAW;IACX,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,oBAAoB;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY;IACZ,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IAChC,eAAe;IACf,EAAE,EAAE,MAAM,CAAC;IACX,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,kBAAkB;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gCAAgC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY;IACZ,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB;IAChB,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,2BAA2B;IAC3B,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IAC9B,2BAA2B;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,0DAA0D;IAC1D,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,2BAA2B;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,2BAA2B;IAC3B,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,eAAe;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,iBAAiB;IACjB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,iBAAiB;IACjB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAClC,cAAc;IACd,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,aAAa;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,aAAa;IACpD,YAAY;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,YAAY;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS;IACT,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe;IACf,UAAU,EAAE;QACV,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,mBAAmB;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe;IACf,eAAe,EAAE;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,eAAe;IACf,eAAe,EAAE;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,gBAAgB;IAChB,cAAc,EAAE;QACd,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,gBAAgB;IAChB,gBAAgB,EAAE;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,gBAAgB;IAChB,eAAe,EAAE;QACf,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,gBAAgB;IAChB,iBAAiB,EAAE;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,WAAW;IACX,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,cAAc;IACd,aAAa,EAAE;QACb,EAAE,EAAE,MAAM,CAAC;QACX,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,OAAO,CAAC;QACjB,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,oBAAoB,CAAC,EAAE;YACrB,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,aAAa,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YAChC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;YAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;SACxB,CAAC;KACH,GAAG,IAAI,CAAC;CACV;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACvC,aAAa,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,WAAW;IACX,SAAS,EAAE,IAAI,CAAC;IAChB,aAAa;IACb,OAAO,EAAE,WAAW,CAAC;IACrB,+BAA+B;IAC/B,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,eAAe;IACf,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,YAAY;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,YAAY;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,WAAW;IACX,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC,CAAC;IAC/C,UAAU;IACV,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW;IACX,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,YAAY;IACZ,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,kBAAkB;IAClB,aAAa,EAAE,eAAe,GAAG,IAAI,CAAC;IACtC,mBAAmB;IACnB,yBAAyB,EAAE,MAAM,EAAE,CAAC;IACpC,WAAW;IACX,WAAW,EAAE,OAAO,EAAE,CAAC;IACvB,WAAW;IACX,aAAa,EAAE,OAAO,EAAE,CAAC;IACzB,eAAe;IACf,mBAAmB,EAAE,OAAO,EAAE,CAAC;IAC/B,WAAW;IACX,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,8BAA8B;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.3.6",
3
+ "version": "1.3.7-beta.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",