@lovrabet/dsparser 1.3.5-beta.1 → 1.3.5-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/src/core/field/FieldListBase.d.ts.map +1 -1
  3. package/dist/src/core/field/FieldV1.d.ts.map +1 -1
  4. package/dist/src/core/operations/ExcelExportOperation.d.ts.map +1 -1
  5. package/dist/src/core/operations/GenericOperation.d.ts.map +1 -1
  6. package/dist/src/core/operations/Operation.d.ts +1 -1
  7. package/dist/src/core/operations/Operation.d.ts.map +1 -1
  8. package/dist/src/core/operations/UpdateOperation.d.ts.map +1 -1
  9. package/dist/src/core/version/DrivenDataDetail.d.ts.map +1 -1
  10. package/dist/src/core/version/DrivenDataDetailBase.d.ts +1 -1
  11. package/dist/src/core/version/DrivenDataDetailBase.d.ts.map +1 -1
  12. package/dist/src/core/version/DrivenDataDetailV1.d.ts.map +1 -1
  13. package/dist/src/core/version/DrivenDataDetailV2.d.ts.map +1 -1
  14. package/dist/src/plus/DrivenDataDetailPlus.d.ts.map +1 -1
  15. package/dist/src/plus/DrivenDataDetailPlusBase.d.ts +64 -4
  16. package/dist/src/plus/DrivenDataDetailPlusBase.d.ts.map +1 -1
  17. package/dist/src/plus/DrivenDataDetailPlusV1.d.ts +14 -2
  18. package/dist/src/plus/DrivenDataDetailPlusV1.d.ts.map +1 -1
  19. package/dist/src/plus/DrivenDataDetailPlusV2.d.ts +14 -2
  20. package/dist/src/plus/DrivenDataDetailPlusV2.d.ts.map +1 -1
  21. package/dist/src/plus/index.d.ts.map +1 -1
  22. package/dist/src/plus/plus-types.d.ts.map +1 -1
  23. package/dist/src/plus/plus-utils.d.ts.map +1 -1
  24. package/dist/src/types/adapter.d.ts.map +1 -1
  25. package/dist/src/types/dataset-v2.d.ts.map +1 -1
  26. package/dist/src/types/plus.d.ts.map +1 -1
  27. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const a0_0x11fa2b=a0_0x4f1f;(function(_0x2d8c84,_0x19c8b6){const _0x4176de=a0_0x4f1f,_0x751f59=_0x2d8c84();while(!![]){try{const _0x13a230=-parseInt(_0x4176de(0x33b))/0x1+-parseInt(_0x4176de(0x29d))/0x2*(-parseInt(_0x4176de(0x34e))/0x3)+parseInt(_0x4176de(0x23a))/0x4*(-parseInt(_0x4176de(0x286))/0x5)+parseInt(_0x4176de(0x29c))/0x6+parseInt(_0x4176de(0x350))/0x7*(parseInt(_0x4176de(0x296))/0x8)+-parseInt(_0x4176de(0x38c))/0x9+parseInt(_0x4176de(0x37c))/0xa*(-parseInt(_0x4176de(0x41c))/0xb);if(_0x13a230===_0x19c8b6)break;else _0x751f59['push'](_0x751f59['shift']());}catch(_0x1e6eae){_0x751f59['push'](_0x751f59['shift']());}}}(a0_0x57a2,0xbfd6b));function toCamelCase(_0x2e9149){const _0x29325b=a0_0x4f1f;if(!_0x2e9149)return'';return _0x2e9149[_0x29325b(0x31c)](/[_-]/)[_0x29325b(0x427)]((_0x11105b,_0x1f936c)=>{const _0xbd6074=_0x29325b;if(_0x1f936c===0x0)return _0x11105b['toLowerCase']();return _0x11105b['charAt'](0x0)[_0xbd6074(0x405)]()+_0x11105b[_0xbd6074(0x313)](0x1)[_0xbd6074(0x45e)]();})[_0x29325b(0x33f)]('');}function toPascalCase(_0xa64a81){const _0x538a98=a0_0x4f1f;if(!_0xa64a81)return'';const _0x2accf3=toCamelCase(_0xa64a81);return _0x2accf3['charAt'](0x0)['toUpperCase']()+_0x2accf3[_0x538a98(0x313)](0x1);}function toSnakeCase(_0x5478f6){const _0xdd6dc9=a0_0x4f1f;if(!_0x5478f6)return'';return _0x5478f6['replace'](/([A-Z])/g,_0xdd6dc9(0x251))[_0xdd6dc9(0x45e)]()['replace'](/^_/,'');}function toKebabCase(_0x6bdef1){const _0x2f5681=a0_0x4f1f;if(!_0x6bdef1)return'';return _0x6bdef1[_0x2f5681(0x20d)](/([A-Z])/g,'-$1')[_0x2f5681(0x45e)]()[_0x2f5681(0x20d)](/^-/,'');}function normalizeFieldName(_0x53cb3f){const _0x2e2ec7=a0_0x4f1f;if(!_0x53cb3f)return'';return _0x53cb3f[_0x2e2ec7(0x1e1)]()[_0x2e2ec7(0x20d)](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')[_0x2e2ec7(0x20d)](/_+/g,'_')[_0x2e2ec7(0x20d)](/^_|_$/g,'');}function getTableName(_0x4ed64c){const _0x488ca4=a0_0x4f1f;if(!_0x4ed64c)return'dataset_000000';if(_0x4ed64c[_0x488ca4(0x1ec)]?.[_0x488ca4(0x42a)])return _0x4ed64c[_0x488ca4(0x1ec)][_0x488ca4(0x42a)];const _0x2fb028=_0x4ed64c[_0x488ca4(0x349)]||_0x4ed64c[_0x488ca4(0x3e6)]||_0x4ed64c[_0x488ca4(0x386)];if(_0x2fb028)return generateTableNameFromCode(_0x2fb028);return'dataset_000000';}function getTableKey(_0x2803f1){if(typeof _0x2803f1==='string')return toCamelCase(_0x2803f1);const _0x447179=getTableName(_0x2803f1);return toCamelCase(_0x447179);}function generateTableNameFromCode(_0x2a85cb){const _0x514249=a0_0x4f1f;if(!_0x2a85cb)return'dataset_000000';const _0xd3c5ef=_0x2a85cb['slice'](-0x6)[_0x514249(0x1f3)](0x6,'0');return _0x514249(0x2e6)+_0xd3c5ef;}function isVirtualTableName(_0x331214){const _0x255838=a0_0x4f1f;return/^dataset_[a-zA-Z0-9]{6}$/[_0x255838(0x33a)](_0x331214);}function generateModelKeyFromCode(_0x3fbdd7){if(!_0x3fbdd7)return'dataset_unknown';return'dataset_'+_0x3fbdd7;}function getDbName(_0x5a256a){const _0x147d67=a0_0x4f1f;return _0x5a256a[_0x147d67(0x1ec)]?.['dbName']||_0x5a256a[_0x147d67(0x1ec)]?.[_0x147d67(0x40e)]?.[_0x147d67(0x271)]||'';}function generateDatasetsConfig(_0x40e4fe,_0x2883c3={}){const _0x45408c=a0_0x4f1f,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x146cf7,filter:_0x1ed9bc}=_0x2883c3,_0x1d4e87=_0x1ed9bc?_0x40e4fe[_0x45408c(0x3f8)](_0x1ed9bc):_0x40e4fe,_0x159766=new Map();for(const _0x115c01 of _0x1d4e87){const _0x45c6d2=getTableName(_0x115c01),_0x599a71=getDbName(_0x115c01);!_0x159766['has'](_0x45c6d2)&&_0x159766[_0x45408c(0x3c6)](_0x45c6d2,new Set()),_0x159766[_0x45408c(0x3ca)](_0x45c6d2)[_0x45408c(0x208)](_0x599a71);}const _0x9da079=new Set();for(const [_0x105f41,_0x12a16d]of _0x159766){_0x12a16d[_0x45408c(0x200)]>0x1&&_0x9da079[_0x45408c(0x208)](_0x105f41);}const _0x52c9e9={},_0xfe7107=new Set();for(const _0xf605e2 of _0x1d4e87){const _0xec0a14=getTableName(_0xf605e2);if(enableDeduplication&&_0xfe7107[_0x45408c(0x221)](_0xec0a14)){console[_0x45408c(0x2b3)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0xec0a14+_0x45408c(0x225)+_0xf605e2['name']+'\x20('+_0xf605e2[_0x45408c(0x349)]+')');continue;}_0xfe7107[_0x45408c(0x208)](_0xec0a14);const _0x1d08a5=_0x146cf7?_0x146cf7(_0xec0a14,_0xf605e2):getTableKey(_0xec0a14),_0x1aa5a2=getDbName(_0xf605e2),_0x2830d5=_0x9da079[_0x45408c(0x221)](_0xec0a14)&&_0x1aa5a2?getTableKey(_0x1aa5a2)+'_'+_0x1d08a5:_0x1d08a5;_0x52c9e9[_0x1d08a5]={'key':_0x1d08a5,'alias':_0x2830d5,'tableName':_0xec0a14,'datasetCode':_0xf605e2[_0x45408c(0x349)],'name':_0xf605e2['name'],'id':_0xf605e2['id'],'dbName':_0x1aa5a2};}return _0x52c9e9;}function generateFullDatasetsConfig(_0x3cf501,_0x234a68={}){const _0x4c2031=a0_0x4f1f,{filter:_0x6f0dfa,datasetNameGenerator:_0x4a9931}=_0x234a68,_0x1700dc=_0x6f0dfa?_0x3cf501[_0x4c2031(0x3f8)](_0x6f0dfa):_0x3cf501,_0x4c686a=new Map();for(const _0x4890a8 of _0x1700dc){const _0x179f2f=getTableName(_0x4890a8),_0x4c51cc=getDbName(_0x4890a8);!_0x4c686a[_0x4c2031(0x221)](_0x179f2f)&&_0x4c686a[_0x4c2031(0x3c6)](_0x179f2f,new Set()),_0x4c686a[_0x4c2031(0x3ca)](_0x179f2f)[_0x4c2031(0x208)](_0x4c51cc);}const _0x57e2b1=new Set();for(const [_0x25930e,_0x207046]of _0x4c686a){_0x207046['size']>0x1&&_0x57e2b1['add'](_0x25930e);}const _0x184dc4=groupByTableName(_0x1700dc),_0x21ee51={};for(const [_0x47bf3b,_0x1c0ffc]of Object[_0x4c2031(0x472)](_0x184dc4)){if(_0x1c0ffc[_0x4c2031(0x3e4)]===0x1){const _0x1666d7=_0x1c0ffc[0x0],_0x381a0e=_0x4a9931?_0x4a9931(_0x47bf3b,_0x1666d7):getTableKey(_0x47bf3b),_0x246313=getDbName(_0x1666d7),_0x229330=_0x57e2b1[_0x4c2031(0x221)](_0x47bf3b)&&_0x246313?getTableKey(_0x246313)+'_'+_0x381a0e:_0x381a0e;_0x21ee51[_0x381a0e]={'key':_0x381a0e,'alias':_0x229330,'tableName':_0x47bf3b,'datasetCode':_0x1666d7[_0x4c2031(0x349)],'name':_0x1666d7['name'],'id':_0x1666d7['id'],'dbName':_0x246313};}else{const _0x2fa642=[..._0x1c0ffc]['sort']((_0x539cb9,_0x457a35)=>{const _0x4994a1=Number(_0x539cb9['id'])||0x0,_0x197f52=Number(_0x457a35['id'])||0x0;return _0x197f52-_0x4994a1;});_0x2fa642[_0x4c2031(0x3d2)]((_0x559439,_0x305876)=>{const _0x2ce4f6=_0x4a9931?_0x4a9931(_0x47bf3b,_0x559439):getTableKey(_0x47bf3b),_0xcdb17f=_0x305876===0x0?_0x2ce4f6:_0x2ce4f6+'_'+_0x305876,_0x573332=getDbName(_0x559439),_0x56209d=_0x57e2b1['has'](_0x47bf3b)&&_0x573332?getTableKey(_0x573332)+'_'+_0xcdb17f:_0xcdb17f;_0x21ee51[_0xcdb17f]={'key':_0xcdb17f,'alias':_0x56209d,'tableName':_0x47bf3b,'datasetCode':_0x559439['datasetCode'],'name':_0x559439['name'],'id':_0x559439['id'],'dbName':_0x573332};});}}return _0x21ee51;}function detectTableNameConflicts(_0x2873b7){const _0x1c7867=a0_0x4f1f,_0x4692d1={};for(const _0x21b633 of _0x2873b7){const _0x44c389=getTableName(_0x21b633);!_0x4692d1[_0x44c389]&&(_0x4692d1[_0x44c389]=[]),_0x4692d1[_0x44c389][_0x1c7867(0x2eb)](_0x21b633);}const _0x251781={};for(const [_0x23be18,_0x3f5216]of Object['entries'](_0x4692d1)){_0x3f5216[_0x1c7867(0x3e4)]>0x1&&(_0x251781[_0x23be18]=_0x3f5216);}return{'hasConflicts':Object[_0x1c7867(0x3f6)](_0x251781)['length']>0x0,'conflicts':_0x251781};}function createDatasetNameMap(_0x895e74){const _0x1dd099=a0_0x4f1f,_0x4d07cb={};for(const [_0xedf1bb,_0x1a417f]of Object[_0x1dd099(0x472)](_0x895e74)){_0x4d07cb[_0xedf1bb]=_0x1a417f[_0x1dd099(0x349)]||'';}return _0x4d07cb;}function groupByTableName(_0x216d4b){const _0x2a430=a0_0x4f1f,_0x21cab7={};for(const _0x5a5fb4 of _0x216d4b){const _0x230820=getTableName(_0x5a5fb4);!_0x21cab7[_0x230820]&&(_0x21cab7[_0x230820]=[]),_0x21cab7[_0x230820][_0x2a430(0x2eb)](_0x5a5fb4);}return _0x21cab7;}function datasetsConfigToArray(_0x1e69dc){const _0xa6bca7=a0_0x4f1f;return Object[_0xa6bca7(0x372)](_0x1e69dc);}function adaptDrivenDataDetail(_0x5c5320){const _0x30e7fd=a0_0x4f1f,_0x24b1b9={};return _0x24b1b9['id']=_0x5c5320[_0x30e7fd(0x340)],_0x24b1b9[_0x30e7fd(0x254)]=_0x5c5320[_0x30e7fd(0x254)],_0x24b1b9[_0x30e7fd(0x349)]=_0x5c5320[_0x30e7fd(0x386)],_0x24b1b9[_0x30e7fd(0x1ec)]=_0x5c5320[_0x30e7fd(0x1ec)],_0x24b1b9[_0x30e7fd(0x202)]=_0x5c5320['source'],_0x24b1b9[_0x30e7fd(0x441)]=_0x5c5320[_0x30e7fd(0x441)],_0x24b1b9[_0x30e7fd(0x2bb)]=_0x5c5320['extend'],_0x24b1b9[_0x30e7fd(0x45b)]=_0x5c5320['properties'],_0x24b1b9[_0x30e7fd(0x2fc)]=_0x5c5320['operations'],_0x24b1b9;}function adaptDrivenDataDetails(_0x118c51){const _0x55392d=a0_0x4f1f;return _0x118c51[_0x55392d(0x427)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x1f03a0){const _0x6e8971=a0_0x4f1f;if(!_0x1f03a0['success']||!_0x1f03a0['data'])throw new Error('获取数据集失败:\x20'+(_0x1f03a0[_0x6e8971(0x20e)]||_0x1f03a0[_0x6e8971(0x2f5)]));return adaptDrivenDataDetail(_0x1f03a0[_0x6e8971(0x31d)]);}function extractDatasetsFromListResponse(_0x2ef312){const _0x1f6d52=a0_0x4f1f;if(!_0x2ef312[_0x1f6d52(0x3cd)]||!_0x2ef312['data']?.['tableData'])throw new Error('获取数据集列表失败:\x20'+(_0x2ef312[_0x1f6d52(0x20e)]||_0x2ef312[_0x1f6d52(0x2f5)]));return _0x2ef312[_0x1f6d52(0x31d)]['tableData'][_0x1f6d52(0x427)](_0x5bacad=>({..._0x5bacad,'datasetCode':_0x5bacad[_0x1f6d52(0x3e6)]||_0x5bacad['datasetCode']}));}function isDrivenDataDetail(_0x16b4e5){const _0x1f9759=a0_0x4f1f;return Boolean(_0x16b4e5&&typeof _0x16b4e5[_0x1f9759(0x386)]===_0x1f9759(0x481));}function smartAdapt(_0x495ad9){const _0x27d993=a0_0x4f1f;if(isDrivenDataDetail(_0x495ad9))return adaptDrivenDataDetail(_0x495ad9);if(_0x495ad9[_0x27d993(0x349)])return _0x495ad9;if(_0x495ad9[_0x27d993(0x3e6)]){const _0x36e24b={..._0x495ad9};return _0x36e24b[_0x27d993(0x349)]=_0x495ad9['code'],_0x36e24b;}return _0x495ad9;}function cleanNewlines(_0x3cebb8){const _0x5489f3=a0_0x4f1f;return _0x3cebb8[_0x5489f3(0x20d)](/[\r\n]+/g,'\x20')['trim']();}function cleanDatasetName(_0x147399){const _0x485c34=a0_0x4f1f;if(!_0x147399[_0x485c34(0x254)])return _0x147399;return{..._0x147399,'name':cleanNewlines(_0x147399['name'])};}function cleanDatasetNames(_0x127cf7){const _0x65d776=a0_0x4f1f;return _0x127cf7[_0x65d776(0x427)](cleanDatasetName);}var DatasetOperationType;(_0x20d31e=>{const _0x14e3f6=a0_0x4f1f;_0x20d31e[_0x14e3f6(0x3aa)]='getList',_0x20d31e[_0x14e3f6(0x404)]='getOne',_0x20d31e[_0x14e3f6(0x220)]=_0x14e3f6(0x30e),_0x20d31e['GET_ONE_UPDATE']=_0x14e3f6(0x453),_0x20d31e[_0x14e3f6(0x2a5)]=_0x14e3f6(0x46c),_0x20d31e['UPDATE']=_0x14e3f6(0x352),_0x20d31e[_0x14e3f6(0x42b)]=_0x14e3f6(0x276),_0x20d31e['GET_SELECT_OPTIONS']=_0x14e3f6(0x3b3),_0x20d31e[_0x14e3f6(0x24e)]=_0x14e3f6(0x39c),_0x20d31e[_0x14e3f6(0x2d1)]='excelExport',_0x20d31e[_0x14e3f6(0x460)]=_0x14e3f6(0x228),_0x20d31e[_0x14e3f6(0x325)]='createImport',_0x20d31e[_0x14e3f6(0x370)]='createExport',_0x20d31e[_0x14e3f6(0x470)]='taskInfo',_0x20d31e[_0x14e3f6(0x3d9)]=_0x14e3f6(0x43e);})(DatasetOperationType||={});const a0_0x4ed44b={};a0_0x4ed44b['getList']=a0_0x11fa2b(0x236),a0_0x4ed44b['getOne']=a0_0x11fa2b(0x25f),a0_0x4ed44b[a0_0x11fa2b(0x30e)]=a0_0x11fa2b(0x475),a0_0x4ed44b[a0_0x11fa2b(0x453)]=a0_0x11fa2b(0x212),a0_0x4ed44b[a0_0x11fa2b(0x46c)]='创建',a0_0x4ed44b[a0_0x11fa2b(0x352)]='更新',a0_0x4ed44b[a0_0x11fa2b(0x276)]='删除',a0_0x4ed44b['getSelectOptions']='获取下拉选项',a0_0x4ed44b['getFileUrl']='获取文件URL',a0_0x4ed44b[a0_0x11fa2b(0x32c)]=a0_0x11fa2b(0x2c5),a0_0x4ed44b['getUploadFileScript']='获取上传脚本',a0_0x4ed44b[a0_0x11fa2b(0x373)]=a0_0x11fa2b(0x368),a0_0x4ed44b['createExport']=a0_0x11fa2b(0x342),a0_0x4ed44b['taskInfo']='任务信息',a0_0x4ed44b['importTemplate']='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0x4ed44b,API_BLACKLIST=[a0_0x11fa2b(0x41d),'getOneOrigin','getOneUpdate',a0_0x11fa2b(0x39c)];function a0_0x4f1f(_0x3e7b59,_0x104cf5){_0x3e7b59=_0x3e7b59-0x1d9;const _0x57a228=a0_0x57a2();let _0x4f1f5e=_0x57a228[_0x3e7b59];return _0x4f1f5e;}function parseFieldExtend(_0x39243b){const _0x406a49=a0_0x11fa2b;if(!_0x39243b||typeof _0x39243b!==_0x406a49(0x1fd))return!![]&&console[_0x406a49(0x2b3)](_0x406a49(0x3e1),_0x39243b),{};if(!_0x39243b['extend'])return{};try{const _0x30123e=typeof _0x39243b['extend']===_0x406a49(0x481)?JSON[_0x406a49(0x435)](_0x39243b[_0x406a49(0x2bb)]):_0x39243b[_0x406a49(0x2bb)];if(typeof _0x30123e!==_0x406a49(0x1fd)||_0x30123e===null)return{};return _0x30123e;}catch{return{};}}function isPrimaryKeyField(_0x5029ee,_0x2a98cc){const _0x2fa88f=a0_0x11fa2b;if(!_0x5029ee||typeof _0x5029ee!==_0x2fa88f(0x1fd))return![];if(typeof _0x2a98cc===_0x2fa88f(0x481)&&_0x5029ee[_0x2fa88f(0x3e6)]===_0x2a98cc)return!![];const _0x44619e=parseFieldExtend(_0x5029ee);return Boolean(_0x44619e[_0x2fa88f(0x23d)]||_0x44619e['pkField']);}function isSystemField(_0xa068f5){const _0x4f7002=a0_0x11fa2b,_0x36b6cf=parseFieldExtend(_0xa068f5);return Boolean(_0x36b6cf[_0x4f7002(0x1dd)]);}function isRequiredField(_0x362e17){const _0x5f2c47=a0_0x11fa2b,_0x3c8858=parseFieldExtend(_0x362e17);return Boolean(_0x3c8858[_0x5f2c47(0x224)]);}function isAutoIncrementField(_0x268cd7){const _0x2cf671=a0_0x11fa2b,_0x23824f=parseFieldExtend(_0x268cd7);return Boolean(_0x23824f[_0x2cf671(0x2ef)]);}function isCreateTimeField(_0x210f3b){const _0x86c200=a0_0x11fa2b,_0x446da5=parseFieldExtend(_0x210f3b);return Boolean(_0x446da5[_0x86c200(0x430)]);}function isModifyTimeField(_0x24ba85){const _0x1fbf97=parseFieldExtend(_0x24ba85);return Boolean(_0x1fbf97['modifyDate']);}const a0_0x483e96={};a0_0x483e96[a0_0x11fa2b(0x2fe)]='数字',a0_0x483e96[a0_0x11fa2b(0x3fc)]='文本',a0_0x483e96[a0_0x11fa2b(0x30d)]=a0_0x11fa2b(0x335),a0_0x483e96['DATE']='日期',a0_0x483e96[a0_0x11fa2b(0x32f)]='日期时间',a0_0x483e96[a0_0x11fa2b(0x216)]=a0_0x11fa2b(0x2f9),a0_0x483e96[a0_0x11fa2b(0x2ab)]=a0_0x11fa2b(0x2c6),a0_0x483e96[a0_0x11fa2b(0x3d1)]='多选',a0_0x483e96['RADIO']='单选',a0_0x483e96[a0_0x11fa2b(0x36c)]='开关',a0_0x483e96[a0_0x11fa2b(0x444)]=a0_0x11fa2b(0x40d),a0_0x483e96[a0_0x11fa2b(0x2a0)]='图片',a0_0x483e96[a0_0x11fa2b(0x247)]=a0_0x11fa2b(0x3ae),a0_0x483e96[a0_0x11fa2b(0x2f1)]=a0_0x11fa2b(0x2f1),a0_0x483e96['ARRAY']='数组';var DB_TYPE_DISPLAY_MAP=a0_0x483e96;function getDbTypeDisplay(_0x510ed4){const _0x5d7416=a0_0x11fa2b;if(typeof _0x510ed4!==_0x5d7416(0x481))return!![]&&console[_0x5d7416(0x2b3)](_0x5d7416(0x42e),_0x510ed4),String(_0x510ed4||'-');return DB_TYPE_DISPLAY_MAP[_0x510ed4]||_0x510ed4;}function formatDbType(_0x608687,_0x253d53){const _0x46f001=a0_0x11fa2b;if(!_0x608687||typeof _0x608687!=='string')return'-';if(!_0x253d53||typeof _0x253d53!==_0x46f001(0x482))return _0x608687;const _0x50209a=[_0x46f001(0x3fc),_0x46f001(0x32f),_0x46f001(0x216),_0x46f001(0x23b)];if(_0x50209a['includes'](_0x608687['toUpperCase']()))return _0x608687;return _0x608687+'('+_0x253d53+')';}function parseOperationType(_0x2d88c7){const _0x14a226=a0_0x11fa2b;if(typeof _0x2d88c7!==_0x14a226(0x481)){!![]&&console['warn'](_0x14a226(0x20b),_0x2d88c7);return;}if(Object['values'](DatasetOperationType)[_0x14a226(0x3c3)](_0x2d88c7))return _0x2d88c7;const _0x2bea01=Object[_0x14a226(0x472)](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x48d3f1,_0x440746])=>_0x440746===_0x2d88c7);return _0x2bea01?_0x2bea01[0x0]:undefined;}function shouldIncludeField(_0x193e80,_0xc8bd5e,_0x53637e){const _0x2ed6f9=a0_0x11fa2b,_0x5f1986=parseFieldExtend(_0x193e80),_0xf3f706=isPrimaryKeyField(_0x193e80,_0x53637e),_0x5ae205=Boolean(_0x5f1986[_0x2ed6f9(0x1dd)]),_0x193b03=Boolean(_0x5f1986[_0x2ed6f9(0x2ef)]),_0x574df1=Boolean(_0x5f1986[_0x2ed6f9(0x430)]),_0x2a17fb=Boolean(_0x5f1986[_0x2ed6f9(0x2c2)]);switch(_0xc8bd5e){case _0x2ed6f9(0x41d):return!![];case _0x2ed6f9(0x2e4):case _0x2ed6f9(0x30e):case _0x2ed6f9(0x276):return _0xf3f706;case _0x2ed6f9(0x46c):if(_0xf3f706&&_0x193b03)return![];if(_0x5ae205)return![];if(_0x574df1||_0x2a17fb)return![];return!![];case'update':case'getOneUpdate':if(_0xf3f706)return!![];if(_0x5ae205)return![];if(_0x574df1||_0x2a17fb)return![];return!![];case _0x2ed6f9(0x3b3):return _0x193e80[_0x2ed6f9(0x3e6)]==='code';default:return!![];}}function getFieldsForOperation(_0x1c7d95,_0x1374ca,_0xa8a6fa){const _0x12a7c4=a0_0x11fa2b;if(!Array['isArray'](_0x1c7d95))return!![]&&console[_0x12a7c4(0x2b3)](_0x12a7c4(0x3b6),_0x1c7d95),[];return _0x1c7d95[_0x12a7c4(0x3f8)](_0x1d0bbe=>shouldIncludeField(_0x1d0bbe,_0x1374ca,_0xa8a6fa));}function isApiBlacklisted(_0x12945c){const _0x3b26c2=a0_0x11fa2b;if(typeof _0x12945c!==_0x3b26c2(0x481))return!![]&&console[_0x3b26c2(0x2b3)](_0x3b26c2(0x34d),_0x12945c),![];return API_BLACKLIST[_0x3b26c2(0x3c3)](_0x12945c);}function filterApiOperations(_0x4ebdb3){const _0x5b8ddc=a0_0x11fa2b;if(!Array[_0x5b8ddc(0x25b)](_0x4ebdb3))return!![]&&console[_0x5b8ddc(0x2b3)]('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x4ebdb3),[];return _0x4ebdb3[_0x5b8ddc(0x3f8)](_0x5cc5ac=>_0x5cc5ac&&typeof _0x5cc5ac===_0x5b8ddc(0x1fd)&&!isApiBlacklisted(_0x5cc5ac['name']));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x4b7ed7})=>{const _0x4ad474=a0_0x11fa2b;if(_0x4b7ed7?.[_0x4ad474(0x265)]&&Array[_0x4ad474(0x25b)](_0x4b7ed7['options'])&&_0x4b7ed7[_0x4ad474(0x265)][_0x4ad474(0x3e4)]>0x0)return _0x4b7ed7[_0x4ad474(0x265)][0x0][_0x4ad474(0x45c)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x4f9e7e})=>{const _0xc122d1=a0_0x11fa2b;if(_0x4f9e7e===_0xc122d1(0x255))return 0x1;if(_0x4f9e7e===_0xc122d1(0x462))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x2edd1b})=>{const _0x21386d=a0_0x11fa2b;if(_0x2edd1b&&typeof _0x2edd1b===_0x21386d(0x481)){const _0x389f00=_0x2edd1b[_0x21386d(0x45e)]();if(_0x389f00[_0x21386d(0x3c3)]('邮箱')||_0x389f00['includes'](_0x21386d(0x27d)))return'user@example.com';if(_0x389f00['includes']('电话')||_0x389f00[_0x21386d(0x3c3)]('手机')||_0x389f00[_0x21386d(0x3c3)]('phone'))return _0x21386d(0x3c4);if(_0x389f00['includes']('地址')||_0x389f00['includes'](_0x21386d(0x3d3)))return'北京市朝阳区';if(_0x389f00['includes']('姓名')||_0x389f00['includes'](_0x21386d(0x254)))return'张三';}return'示例文本';},'VARCHAR':({description:_0x455aa2})=>TYPE_VALUE_GENERATORS[a0_0x11fa2b(0x3fc)]({'description':_0x455aa2}),'CHAR':({description:_0x36230b})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x36230b}),'STRING':({fieldInfo:_0x442b1a,description:_0x2b3060})=>{const _0x5f05c0=a0_0x11fa2b;if(_0x442b1a?.[_0x5f05c0(0x3a5)]&&typeof _0x442b1a['placeholder']==='string'&&_0x442b1a[_0x5f05c0(0x3a5)]!==_0x5f05c0(0x1fb))return _0x442b1a['placeholder'][_0x5f05c0(0x20d)](/^请输入|^请选择/,'');const _0xc888ab={};return _0xc888ab[_0x5f05c0(0x2b4)]=_0x2b3060,TYPE_VALUE_GENERATORS[_0x5f05c0(0x3fc)](_0xc888ab);},'TEXTAREA':()=>a0_0x11fa2b(0x1e2),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x11fa2b(0x3e3),a0_0x11fa2b(0x3f9)],'UPLOAD':()=>a0_0x11fa2b(0x235),'IMAGE':()=>a0_0x11fa2b(0x28a),'RICH_TEXT':()=>a0_0x11fa2b(0x2bd)};function generateExampleValue(_0x181091,_0x4941c7,_0x3e4b9e,_0x380011={}){const _0x469f39=a0_0x11fa2b;typeof _0x181091!==_0x469f39(0x481)&&(!![]&&console[_0x469f39(0x2b3)](_0x469f39(0x2a6),_0x181091),_0x181091=String(_0x181091||''));if(typeof _0x4941c7!==_0x469f39(0x481))return!![]&&console[_0x469f39(0x2b3)](_0x469f39(0x2f3),_0x4941c7),_0x469f39(0x2f4);const {isPrimaryKey:_0x488670,dbtableConfig:_0x5a3d42}=_0x380011;if(_0x488670)return 0x1;if(_0x5a3d42&&typeof _0x5a3d42===_0x469f39(0x1fd)){const _0x5efab5=_0x5a3d42[_0x469f39(0x2d4)]?.[_0x469f39(0x357)]===_0x181091,_0x21c184=_0x5a3d42[_0x469f39(0x3fe)]?.['fieldName']===_0x181091;if(_0x5efab5||_0x21c184){if(_0x3e4b9e&&typeof _0x3e4b9e===_0x469f39(0x481)&&_0x3e4b9e[_0x469f39(0x405)]()[_0x469f39(0x3c3)](_0x469f39(0x216)))return Date[_0x469f39(0x22b)]();return new Date()[_0x469f39(0x3f4)]()[_0x469f39(0x20d)]('T','\x20')['split']('.')[0x0];}}const _0x2d805e={..._0x380011};_0x2d805e[_0x469f39(0x39f)]=_0x181091;const _0x4208bd=_0x2d805e;if(_0x3e4b9e&&typeof _0x3e4b9e===_0x469f39(0x481)){const _0x2be7c9=_0x3e4b9e['toUpperCase'](),_0x51c96e=TYPE_VALUE_GENERATORS[_0x2be7c9];if(_0x51c96e)return _0x51c96e(_0x4208bd);}if(_0x4941c7&&typeof _0x4941c7===_0x469f39(0x481)){const _0x5602fe=_0x4941c7[_0x469f39(0x405)](),_0x2945f9=TYPE_VALUE_GENERATORS[_0x5602fe];if(_0x2945f9)return _0x2945f9(_0x4208bd);}return'示例值';}function generateExampleFromSchema(_0x2cdefa,_0x4058ab){const _0x5dcc03=a0_0x11fa2b;if(!_0x2cdefa||typeof _0x2cdefa!=='object')return{};if(Array[_0x5dcc03(0x25b)](_0x2cdefa)){if(_0x2cdefa[_0x5dcc03(0x3e4)]>0x0)return[generateExampleFromSchema(_0x2cdefa[0x0],_0x4058ab)];return[];}const _0x4928a9={};return Object[_0x5dcc03(0x3f6)](_0x2cdefa)['forEach'](_0x1bfcdd=>{const _0x384447=_0x5dcc03,_0x3b875e=_0x2cdefa[_0x1bfcdd];if(_0x3b875e&&typeof _0x3b875e===_0x384447(0x1fd)&&!Array[_0x384447(0x25b)](_0x3b875e)&&_0x3b875e[_0x384447(0x34f)]){const _0x36b3ba=_0x3b875e,_0x464570=_0x36b3ba[_0x384447(0x34f)],_0xf7872b=_0x36b3ba[_0x384447(0x2b4)];if(typeof _0x464570===_0x384447(0x481)){const _0x1c2957={};_0x1c2957['description']=_0xf7872b,_0x1c2957[_0x384447(0x1ec)]=_0x4058ab,_0x4928a9[_0x1bfcdd]=generateExampleValue(_0x1bfcdd,_0x464570,undefined,_0x1c2957);}else _0x4928a9[_0x1bfcdd]=_0x384447(0x2f4);}else{if(Array[_0x384447(0x25b)](_0x3b875e))_0x4928a9[_0x1bfcdd]=_0x3b875e[_0x384447(0x3e4)]>0x0?[generateExampleFromSchema(_0x3b875e[0x0],_0x4058ab)]:[];else _0x3b875e&&typeof _0x3b875e===_0x384447(0x1fd)?_0x4928a9[_0x1bfcdd]=generateExampleFromSchema(_0x3b875e,_0x4058ab):_0x4928a9[_0x1bfcdd]=_0x3b875e;}}),_0x4928a9;}function parseRequestBody(_0x571e1d){const _0x27372d=a0_0x11fa2b;if(!_0x571e1d)return{};try{return JSON[_0x27372d(0x435)](_0x571e1d);}catch(_0x4dd2f2){return!![]&&console[_0x27372d(0x2b3)](_0x27372d(0x418),_0x4dd2f2),{};}}function parseResponseBody(_0x5027a4){const _0x1dfb67=a0_0x11fa2b;if(!_0x5027a4)return null;try{const _0x521dda=JSON[_0x1dfb67(0x435)](_0x5027a4);return _0x521dda[_0x1dfb67(0x26e)]||_0x521dda;}catch(_0x1b6304){return!![]&&console[_0x1dfb67(0x2b3)](_0x1dfb67(0x2c1),_0x1b6304),null;}}function generateRequestExample(_0x122f6c,_0x462c24,_0x2a53b1,_0x2c89f1){const _0x18a53e=a0_0x11fa2b,_0x388893={};if(!Array[_0x18a53e(0x25b)](_0x122f6c))return!![]&&console[_0x18a53e(0x2b3)](_0x18a53e(0x234),_0x122f6c),_0x388893;return _0x122f6c['forEach'](_0x27fa92=>{const _0x15d064=_0x18a53e;if(!_0x27fa92||typeof _0x27fa92!==_0x15d064(0x1fd)){!![]&&console[_0x15d064(0x2b3)](_0x15d064(0x24c),_0x27fa92);return;}if(typeof _0x27fa92[_0x15d064(0x3e6)]!==_0x15d064(0x481)||typeof _0x27fa92[_0x15d064(0x34f)]!=='string'){!![]&&console[_0x15d064(0x2b3)](_0x15d064(0x454),_0x27fa92);return;}const _0x48af29=parseFieldExtend(_0x27fa92),_0x9e6cd2=_0x27fa92[_0x15d064(0x3e6)]===_0x2a53b1||Boolean(_0x48af29?.[_0x15d064(0x23d)]),_0x363ce2=generateExampleValue(_0x27fa92[_0x15d064(0x3e6)],_0x27fa92[_0x15d064(0x34f)],typeof _0x27fa92['dbType']===_0x15d064(0x481)?_0x27fa92[_0x15d064(0x203)]:undefined,{'fieldInfo':_0x48af29,'isPrimaryKey':_0x9e6cd2,'description':_0x27fa92[_0x15d064(0x2b4)]||_0x27fa92['name'],'dbtableConfig':_0x2c89f1});_0x388893[_0x27fa92[_0x15d064(0x3e6)]]=_0x363ce2;}),_0x462c24==='getList'&&(_0x388893['currentPage']=0x1,_0x388893[_0x18a53e(0x462)]=0xa),_0x388893;}function formatEnumValue(_0x32ad9a,_0x1eed14){const _0x272456=a0_0x11fa2b;if(_0x32ad9a[_0x272456(0x489)]&&Array[_0x272456(0x25b)](_0x1eed14))return _0x1eed14[_0x272456(0x427)](_0x34cf77=>_0x32ad9a[_0x272456(0x24d)][String(_0x34cf77)]||String(_0x34cf77))[_0x272456(0x33f)](',\x20');return _0x32ad9a[_0x272456(0x24d)][String(_0x1eed14)]||String(_0x1eed14);}function formatOptionsForDoc(_0x4d46dc){const _0x25094b=a0_0x11fa2b;return _0x4d46dc[_0x25094b(0x427)](_0x14594a=>_0x14594a['value']+'('+_0x14594a[_0x25094b(0x28d)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x2f8750,_0x5e512f=0x0){const _0x2fd84a=a0_0x11fa2b,_0x546057='\x20\x20'['repeat'](_0x5e512f),_0x4df425=[];return _0x2f8750[_0x2fd84a(0x3d2)](_0x5088f5=>{const _0x5744dc=_0x2fd84a;_0x4df425['push'](_0x546057+_0x5744dc(0x416)+_0x5088f5['value']+_0x5744dc(0x3cb)+_0x5088f5['label']),_0x5088f5[_0x5744dc(0x353)]&&_0x5088f5[_0x5744dc(0x353)]['length']>0x0&&_0x4df425[_0x5744dc(0x2eb)](formatOptionsAsMarkdownList(_0x5088f5[_0x5744dc(0x353)],_0x5e512f+0x1));}),_0x4df425[_0x2fd84a(0x33f)]('\x0a');}class DbtableConfig{[a0_0x11fa2b(0x33d)];constructor(_0x4a2145){const _0x187e63=a0_0x11fa2b,_0x1eac41={..._0x4a2145};this[_0x187e63(0x33d)]=_0x1eac41;}get[a0_0x11fa2b(0x1fe)](){const _0x79a6b9=a0_0x11fa2b;return this['_raw'][_0x79a6b9(0x1fe)];}get['dbName'](){const _0x45d55d=a0_0x11fa2b;return this['_raw']['dbName']??this[_0x45d55d(0x33d)][_0x45d55d(0x40e)]?.['dbName'];}get[a0_0x11fa2b(0x42a)](){const _0xa46365=a0_0x11fa2b;return this[_0xa46365(0x33d)]['tableName'];}get[a0_0x11fa2b(0x459)](){const _0x1b4b3c=a0_0x11fa2b;return this[_0x1b4b3c(0x33d)]['datasetKey'];}get[a0_0x11fa2b(0x2ca)](){const _0x442603=a0_0x11fa2b;return this[_0x442603(0x33d)][_0x442603(0x2ca)];}get[a0_0x11fa2b(0x263)](){const _0xf0c9c9=a0_0x11fa2b;return this[_0xf0c9c9(0x33d)][_0xf0c9c9(0x263)];}get[a0_0x11fa2b(0x321)](){const _0xefc89a=a0_0x11fa2b;return this[_0xefc89a(0x33d)][_0xefc89a(0x321)];}get[a0_0x11fa2b(0x2d4)](){const _0x55643b=a0_0x11fa2b;return this[_0x55643b(0x33d)][_0x55643b(0x2d4)];}get[a0_0x11fa2b(0x3fe)](){const _0x4e0a20=a0_0x11fa2b;return this[_0x4e0a20(0x33d)]['updateTimeField'];}get[a0_0x11fa2b(0x28b)](){const _0x28c544=a0_0x11fa2b;return this[_0x28c544(0x33d)][_0x28c544(0x28b)];}get[a0_0x11fa2b(0x3a0)](){const _0x17d52a=a0_0x11fa2b;return this['_raw'][_0x17d52a(0x3a0)];}get['modifierIdField'](){const _0x3db727=a0_0x11fa2b;return this['_raw'][_0x3db727(0x21b)];}get[a0_0x11fa2b(0x2be)](){const _0x53bff9=a0_0x11fa2b;return this['_raw'][_0x53bff9(0x2be)];}get[a0_0x11fa2b(0x40e)](){const _0x160841=a0_0x11fa2b;return this[_0x160841(0x33d)]['dblinkInfoDTO'];}[a0_0x11fa2b(0x40c)](){const _0x2a6f3b=a0_0x11fa2b;if(!this[_0x2a6f3b(0x33d)][_0x2a6f3b(0x467)])return[];return this['_raw'][_0x2a6f3b(0x467)]['split'](',')[_0x2a6f3b(0x427)](_0x24f5dd=>_0x24f5dd[_0x2a6f3b(0x1e1)]())[_0x2a6f3b(0x3f8)](Boolean);}['getAllFieldsString'](){const _0x2559e4=a0_0x11fa2b;return this[_0x2559e4(0x33d)][_0x2559e4(0x467)];}[a0_0x11fa2b(0x1f5)](_0x2e42c2){const _0x36da94=a0_0x11fa2b;return this['getAllFieldsArray']()[_0x36da94(0x3c3)](_0x2e42c2);}[a0_0x11fa2b(0x429)](){const _0x393697=a0_0x11fa2b;return Boolean(this['_raw'][_0x393697(0x42a)]);}[a0_0x11fa2b(0x480)](){const _0x4f8fff=a0_0x11fa2b;return Boolean(this['_raw'][_0x4f8fff(0x40e)]);}[a0_0x11fa2b(0x395)](){const _0x4fd962=a0_0x11fa2b;return Boolean(this['_raw'][_0x4fd962(0x321)]?.[_0x4fd962(0x357)]);}[a0_0x11fa2b(0x355)](){const _0x45e58a=a0_0x11fa2b;return Boolean(this[_0x45e58a(0x33d)][_0x45e58a(0x2d4)]?.[_0x45e58a(0x357)]);}[a0_0x11fa2b(0x2c4)](){const _0x2a9931=a0_0x11fa2b;return Boolean(this[_0x2a9931(0x33d)][_0x2a9931(0x3fe)]?.[_0x2a9931(0x357)]);}[a0_0x11fa2b(0x41a)](){const _0x568842=a0_0x11fa2b;return Boolean(this[_0x568842(0x33d)][_0x568842(0x28b)]?.['fieldName']);}[a0_0x11fa2b(0x3ce)](){const _0x47c639=a0_0x11fa2b;return Boolean(this[_0x47c639(0x33d)][_0x47c639(0x21b)]?.[_0x47c639(0x357)]);}[a0_0x11fa2b(0x29f)](_0x17ac66){const _0x3f7ee5=a0_0x11fa2b;return this[_0x3f7ee5(0x33d)][_0x3f7ee5(0x2ca)]===_0x17ac66;}['isSystemField'](_0x45e9ca){const _0x309159=a0_0x11fa2b;return this[_0x309159(0x29f)](_0x45e9ca)||this['_raw'][_0x309159(0x321)]?.[_0x309159(0x357)]===_0x45e9ca||this['_raw'][_0x309159(0x2d4)]?.[_0x309159(0x357)]===_0x45e9ca||this['_raw'][_0x309159(0x3fe)]?.['fieldName']===_0x45e9ca||this['_raw'][_0x309159(0x28b)]?.[_0x309159(0x357)]===_0x45e9ca||this[_0x309159(0x33d)][_0x309159(0x3a0)]?.['fieldName']===_0x45e9ca||this[_0x309159(0x33d)]['modifierIdField']?.[_0x309159(0x357)]===_0x45e9ca||this['_raw']['modifierNameField']?.[_0x309159(0x357)]===_0x45e9ca;}[a0_0x11fa2b(0x37b)](){const _0x313696=a0_0x11fa2b;return this[_0x313696(0x33d)][_0x313696(0x40e)]?.[_0x313696(0x271)];}[a0_0x11fa2b(0x422)](){const _0x5de589=a0_0x11fa2b;return this[_0x5de589(0x33d)]['dblinkInfoDTO']?.[_0x5de589(0x203)];}[a0_0x11fa2b(0x229)](){const _0x5b7352=a0_0x11fa2b;return this[_0x5b7352(0x33d)][_0x5b7352(0x40e)]?.['dbVersion'];}[a0_0x11fa2b(0x432)](){const _0x111f4f=a0_0x11fa2b;return this['_raw']['dblinkInfoDTO']?.[_0x111f4f(0x338)];}[a0_0x11fa2b(0x3fa)](){const _0x465347=a0_0x11fa2b;return this[_0x465347(0x33d)][_0x465347(0x40e)]?.['appCode'];}[a0_0x11fa2b(0x275)](){const _0x56b9a7=a0_0x11fa2b;return this[_0x56b9a7(0x33d)][_0x56b9a7(0x40e)]?.[_0x56b9a7(0x2b7)];}[a0_0x11fa2b(0x3e2)](){const _0x6537b3=a0_0x11fa2b;return{'hasTableName':this[_0x6537b3(0x429)](),'hasDblinkInfo':this[_0x6537b3(0x480)](),'fieldCount':this['getAllFieldsArray']()[_0x6537b3(0x3e4)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x6537b3(0x355)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x6537b3(0x3ce)]()}};}['toConfig'](){const _0xf42361=a0_0x11fa2b,_0x8952d2={};return _0x8952d2[_0xf42361(0x42a)]=this['tableName'],_0x8952d2['pkField']=this[_0xf42361(0x2ca)],_0x8952d2[_0xf42361(0x459)]=this[_0xf42361(0x459)],_0x8952d2['dbId']=this['dbId'],_0x8952d2;}[a0_0x11fa2b(0x41e)](){const _0x2f406a=a0_0x11fa2b,_0x1b2101={...this[_0x2f406a(0x33d)]};return _0x1b2101;}[a0_0x11fa2b(0x3da)](){const _0x3a5619=a0_0x11fa2b,_0xcf2cd4={...this[_0x3a5619(0x33d)]};return _0xcf2cd4;}[a0_0x11fa2b(0x22d)](){const _0x5d866c=a0_0x11fa2b,_0x19b3dc=this['tableName']||_0x5d866c(0x379),_0x1e293e=this['getAllFieldsArray']()['length'];return _0x5d866c(0x351)+_0x19b3dc+_0x5d866c(0x302)+_0x1e293e+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x11fa2b(0x33d)];constructor(_0x1a39d8){const _0x20ef0d=a0_0x11fa2b,_0xc0c5b9=_0x1a39d8['datasetCode']||_0x1a39d8[_0x20ef0d(0x3e6)]||_0x1a39d8['modelCode'],_0xfee3f7={..._0x1a39d8};_0xfee3f7['datasetCode']=_0xc0c5b9,this[_0x20ef0d(0x33d)]=_0xfee3f7;}get['id'](){const _0xa21d0=a0_0x11fa2b;return this[_0xa21d0(0x33d)]['id'];}get[a0_0x11fa2b(0x254)](){const _0x1f06a1=a0_0x11fa2b;return this[_0x1f06a1(0x33d)][_0x1f06a1(0x254)];}[a0_0x11fa2b(0x2da)](){const _0x3bd11f=a0_0x11fa2b;return this[_0x3bd11f(0x254)];}get[a0_0x11fa2b(0x349)](){const _0xe317f2=a0_0x11fa2b;return this[_0xe317f2(0x33d)][_0xe317f2(0x349)]||'';}get['dbtableConfig'](){const _0x50f80e=a0_0x11fa2b;if(!this[_0x50f80e(0x33d)][_0x50f80e(0x1ec)])return null;return new DbtableConfig(this['_raw'][_0x50f80e(0x1ec)]);}[a0_0x11fa2b(0x36d)](){return this['_raw']['dbtableConfig'];}[a0_0x11fa2b(0x397)](){const _0x3111a6=a0_0x11fa2b;return this[_0x3111a6(0x1ec)]?.[_0x3111a6(0x271)]||'';}[a0_0x11fa2b(0x3bd)](){const _0x2ae3c2=a0_0x11fa2b;return getTableName(this[_0x2ae3c2(0x33d)]);}[a0_0x11fa2b(0x27a)](){const _0x1c8d3d=a0_0x11fa2b;return getTableKey(this[_0x1c8d3d(0x3bd)]());}[a0_0x11fa2b(0x407)](){const _0x4370a3=a0_0x11fa2b;return generateModelKeyFromCode(this[_0x4370a3(0x349)]);}[a0_0x11fa2b(0x318)](){const _0x411ab6=a0_0x11fa2b;return isVirtualTableName(this[_0x411ab6(0x3bd)]());}[a0_0x11fa2b(0x337)](){const _0x573c18=a0_0x11fa2b;return getTableKey(this[_0x573c18(0x3bd)]());}[a0_0x11fa2b(0x288)](){const _0x54aa57=a0_0x11fa2b,_0x12f2d9=getTableKey(this[_0x54aa57(0x3bd)]());return{'key':_0x12f2d9,'alias':_0x12f2d9,'tableName':this['getTableName'](),'datasetCode':this[_0x54aa57(0x349)],'name':this['name']};}[a0_0x11fa2b(0x41e)](){const _0x24fcda=a0_0x11fa2b,_0x4bd052={...this[_0x24fcda(0x33d)]};return _0x4bd052[_0x24fcda(0x349)]=this[_0x24fcda(0x349)],_0x4bd052;}['getRaw'](){const _0x11485d={...this['_raw']};return _0x11485d;}[a0_0x11fa2b(0x3d0)](){const _0xd69c78=a0_0x11fa2b,_0x3df697=this[_0xd69c78(0x1ec)];return _0x3df697!==null&&_0x3df697[_0xd69c78(0x429)]();}['getExtendField'](_0x37de88){const _0x46fca0=a0_0x11fa2b;return this[_0x46fca0(0x33d)][_0x37de88];}[a0_0x11fa2b(0x3be)](_0xbc719f){return _0xbc719f in this['_raw'];}[a0_0x11fa2b(0x22d)](){const _0x490bfe=a0_0x11fa2b;return _0x490bfe(0x2e0)+this[_0x490bfe(0x254)]+',\x20'+this[_0x490bfe(0x349)]+')';}}class Operation{[a0_0x11fa2b(0x254)];[a0_0x11fa2b(0x33d)];['context'];constructor(_0x370b49,_0x57f267,_0x1ee00e){const _0x316ce0=a0_0x11fa2b;this['name']=_0x370b49,this[_0x316ce0(0x33d)]=_0x57f267,this[_0x316ce0(0x23f)]=_0x1ee00e;}['getName'](){const _0x1f8552=a0_0x11fa2b;return this[_0x1f8552(0x254)];}[a0_0x11fa2b(0x2ed)](){const _0x4e454d=a0_0x11fa2b;return OPERATION_TYPE_DISPLAY_NAME[this[_0x4e454d(0x254)]]||this['name'];}[a0_0x11fa2b(0x3af)](){return parseOperationType(this['name']);}[a0_0x11fa2b(0x456)](){const _0x25b3a5=a0_0x11fa2b;return this['_raw']!==null&&this[_0x25b3a5(0x33d)]!==![];}[a0_0x11fa2b(0x27e)](){const _0x537871=a0_0x11fa2b,_0x1a899b=this['_raw'];if(_0x1a899b===![]||_0x1a899b===null)return'';return _0x1a899b[_0x537871(0x38a)]||_0x537871(0x367);}['getPath'](){const _0x4d1bd9=a0_0x11fa2b,_0x267410=this['_raw'];if(_0x267410===![]||_0x267410===null)return'';return _0x267410[_0x4d1bd9(0x28f)]||'';}[a0_0x11fa2b(0x48b)](){const _0x2a6c4d=a0_0x11fa2b,_0x51cc2c=this['_raw'];let _0x36007a='';_0x51cc2c!==![]&&_0x51cc2c!==null&&_0x51cc2c[_0x2a6c4d(0x354)]&&(_0x36007a=_0x51cc2c['host']);const _0x12e781=this[_0x2a6c4d(0x455)]();return _0x36007a&&_0x12e781?''+_0x36007a+_0x12e781:_0x12e781;}[a0_0x11fa2b(0x23c)](){const _0x4c357a=a0_0x11fa2b,_0x556d34=this[_0x4c357a(0x33d)];if(_0x556d34===![]||_0x556d34===null||!_0x556d34['requestBody'])return{};try{return JSON[_0x4c357a(0x435)](_0x556d34['requestBody']);}catch{return{};}}[a0_0x11fa2b(0x423)](){const _0x494187=a0_0x11fa2b,_0x429dae=this[_0x494187(0x33d)];if(_0x429dae===![]||_0x429dae===null||!_0x429dae['responseBody'])return null;try{return JSON[_0x494187(0x435)](_0x429dae[_0x494187(0x2c0)]);}catch{return null;}}['getRequestParams'](){const _0x3d6c7e=a0_0x11fa2b;return this[_0x3d6c7e(0x23c)]();}[a0_0x11fa2b(0x2ec)](){const _0x2f47b1=a0_0x11fa2b;return this[_0x2f47b1(0x423)]();}[a0_0x11fa2b(0x328)](){const _0x279ad1=a0_0x11fa2b,_0x575629=this[_0x279ad1(0x375)]();return Object[_0x279ad1(0x3f6)](_0x575629);}[a0_0x11fa2b(0x290)](){const _0x2d2141=a0_0x11fa2b,_0x1ca7ed=this[_0x2d2141(0x375)](),_0x132744={};return Object[_0x2d2141(0x472)](_0x1ca7ed)['forEach'](([_0x63febe,_0x1a0e22])=>{const _0x1233b5=_0x2d2141,_0x18d43b=_0x1a0e22;_0x132744[_0x63febe]=generateExampleValue(_0x63febe,_0x18d43b[_0x1233b5(0x34f)]||_0x1233b5(0x3ef),undefined,{'description':_0x18d43b[_0x1233b5(0x2b4)]});}),_0x132744;}['generateHTTPExample'](){const _0x3da0ce=a0_0x11fa2b;return this[_0x3da0ce(0x290)]();}['generateResponseExample'](){const _0x4905ad=a0_0x11fa2b,_0x241d57=this[_0x4905ad(0x423)]();if(!_0x241d57){const _0xda8ed7={};return _0xda8ed7[_0x4905ad(0x3cd)]=!![],_0xda8ed7['msg']=_0x4905ad(0x2e1),_0xda8ed7['errorMsg']='',_0xda8ed7[_0x4905ad(0x39b)]='0000',_0xda8ed7[_0x4905ad(0x31d)]=null,_0xda8ed7;}return this['generateFromSchema'](_0x241d57);}['generateFromSchema'](_0x286a1f){const _0x2e3900=a0_0x11fa2b;if(!_0x286a1f||typeof _0x286a1f!=='object')return{};if(Array[_0x2e3900(0x25b)](_0x286a1f))return _0x286a1f[_0x2e3900(0x3e4)]>0x0?[this[_0x2e3900(0x3d4)](_0x286a1f[0x0])]:[];const _0x504847={};for(const [_0x1312e2,_0xa2f237]of Object['entries'](_0x286a1f)){if(_0xa2f237&&typeof _0xa2f237===_0x2e3900(0x1fd)&&!Array[_0x2e3900(0x25b)](_0xa2f237)){const _0x5bbc32=_0xa2f237;_0x504847[_0x1312e2]=generateExampleValue(_0x1312e2,_0x5bbc32[_0x2e3900(0x34f)]||'String',undefined,{'description':_0x5bbc32[_0x2e3900(0x2b4)]});}else Array[_0x2e3900(0x25b)](_0xa2f237)?_0x504847[_0x1312e2]=_0xa2f237[_0x2e3900(0x3e4)]>0x0?[this[_0x2e3900(0x3d4)](_0xa2f237[0x0])]:[]:_0x504847[_0x1312e2]=_0xa2f237;}return _0x504847;}[a0_0x11fa2b(0x40f)](_0x16a0da,_0x40a67c,_0x398687,_0x4d43fc){return generateExampleValue(_0x16a0da,_0x40a67c,_0x398687,_0x4d43fc);}[a0_0x11fa2b(0x3ab)](_0x3e6307,_0x118ba7){const _0x3647ca=a0_0x11fa2b,_0x2e40ea=this['getName']();return _0x3647ca(0x39e)+_0x3e6307+'.'+_0x2e40ea+_0x3647ca(0x3f0);}[a0_0x11fa2b(0x3e0)](_0x3d6e8f){const _0x3360c=a0_0x11fa2b,_0x43ad49=this[_0x3360c(0x2da)](),_0x54dda4=_0x3d6e8f||_0x3360c(0x2a4),_0x1c56b5={};return _0x1c56b5[_0x3360c(0x27b)]=_0x3360c(0x307)+_0x54dda4+'.'+_0x43ad49+_0x3360c(0x3f0),_0x1c56b5['errorCode']=_0x3360c(0x214)+_0x54dda4+'.'+_0x43ad49+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x1c56b5;}[a0_0x11fa2b(0x3b1)](){const _0x2bedce=a0_0x11fa2b,_0xaf54dd=this['getRequestParams'](),_0x22cb2e=Object['entries'](_0xaf54dd)[_0x2bedce(0x427)](([_0x4f5e4a,_0x22f679])=>{const _0x3cd1db=_0x2bedce,_0x323212=_0x22f679,_0x30335e={};return _0x30335e['name']=_0x4f5e4a,_0x30335e['type']=_0x323212[_0x3cd1db(0x34f)]||'String',_0x30335e[_0x3cd1db(0x2b4)]=_0x323212[_0x3cd1db(0x2b4)]||'-',_0x30335e['required']=_0x323212[_0x3cd1db(0x224)],_0x30335e;}),_0x2225c5={};return _0x2225c5[_0x2bedce(0x244)]=_0x22cb2e,_0x2225c5;}[a0_0x11fa2b(0x33c)](){const _0x2f16f9=a0_0x11fa2b,_0x201eb7=this[_0x2f16f9(0x423)]();if(!_0x201eb7){const _0x54661f={};return _0x54661f[_0x2f16f9(0x244)]=[],_0x54661f;}const _0x10fa78=Object['entries'](_0x201eb7)['map'](([_0x2ad09d,_0x2dc5d1])=>{const _0x3bcd29=_0x2f16f9,_0x21c299=_0x2dc5d1,_0x47fa6a={};return _0x47fa6a[_0x3bcd29(0x254)]=_0x2ad09d,_0x47fa6a['type']=_0x21c299[_0x3bcd29(0x34f)]||_0x3bcd29(0x3ef),_0x47fa6a['description']=_0x21c299[_0x3bcd29(0x2b4)]||'-',_0x47fa6a;}),_0x590ba8={};return _0x590ba8[_0x2f16f9(0x244)]=_0x10fa78,_0x590ba8;}[a0_0x11fa2b(0x46d)](){return[];}[a0_0x11fa2b(0x44d)](){const _0x3e4574=a0_0x11fa2b;return this['context'][_0x3e4574(0x38d)]||[];}['getAllParams'](){const _0x355adf=a0_0x11fa2b;return{'systemFields':this[_0x355adf(0x46d)](),'businessFields':this[_0x355adf(0x44d)]()};}['getFieldDefinition'](_0x163996){const _0x79e28d=a0_0x11fa2b;return this[_0x79e28d(0x23f)]['fields'][_0x79e28d(0x358)](_0x52851b=>_0x52851b?.[_0x79e28d(0x3e6)]===_0x163996);}[a0_0x11fa2b(0x301)](_0x44bc89){const _0x20b07c=a0_0x11fa2b;return _0x44bc89[_0x20b07c(0x3e6)];}['getFieldType'](_0x2b89a5){const _0x4a6a4a=a0_0x11fa2b;return _0x2b89a5[_0x4a6a4a(0x34f)];}[a0_0x11fa2b(0x336)](_0x372ba9){const _0x18f512=a0_0x11fa2b;return _0x372ba9[_0x18f512(0x254)];}[a0_0x11fa2b(0x438)](_0x412e05){const _0x3afc84=a0_0x11fa2b;return _0x412e05[_0x3afc84(0x2b4)];}[a0_0x11fa2b(0x273)](_0x45a5ac){const _0x57fb8f=a0_0x11fa2b;return _0x45a5ac[_0x57fb8f(0x41b)]()||null;}[a0_0x11fa2b(0x25c)](_0x275cdf){return _0x275cdf['isPrimaryKey']();}['getOperators'](){return[];}['getFieldOperators'](_0x43cd2b){return[];}[a0_0x11fa2b(0x41e)](){const _0x264b71=a0_0x11fa2b;return{'name':this[_0x264b71(0x2da)](),'displayName':this[_0x264b71(0x2ed)](),'type':this[_0x264b71(0x3af)](),'enabled':this[_0x264b71(0x456)](),'method':this[_0x264b71(0x27e)](),'path':this[_0x264b71(0x455)](),'fullUrl':this[_0x264b71(0x48b)](),'requestParams':this[_0x264b71(0x375)](),'requestExample':this[_0x264b71(0x290)](),'responseExample':this['generateResponseExample']()};}[a0_0x11fa2b(0x22d)](){const _0x308ffc=a0_0x11fa2b,_0x488a86=this['isEnabled']()?'启用':'禁用';return this['getDisplayName']()+'('+this[_0x308ffc(0x254)]+',\x20'+_0x488a86+')';}}class GenericOperation extends Operation{[a0_0x11fa2b(0x25d)];[a0_0x11fa2b(0x375)](){const _0xea5c1f=a0_0x11fa2b;return this[_0xea5c1f(0x23c)]();}[a0_0x11fa2b(0x2ec)](){const _0x593420=a0_0x11fa2b;return this[_0x593420(0x423)]();}['generateRequestExample'](){const _0x2a8907=a0_0x11fa2b;if(this['_requestExampleCache'])return this[_0x2a8907(0x25d)];const _0x238625={},_0x563c08=this[_0x2a8907(0x375)](),_0x260ef0=this[_0x2a8907(0x3af)]();if(Object[_0x2a8907(0x3f6)](_0x563c08)['length']===0x0&&_0x260ef0){const _0x477bea=this[_0x2a8907(0x44d)]();return _0x477bea['forEach'](_0xae4da8=>{const _0x6ec5e8=_0x2a8907,_0x28b0b6=_0xae4da8[_0x6ec5e8(0x3e6)],_0x43da79=_0xae4da8[_0x6ec5e8(0x34f)],_0x1b8faa=this['generateFieldExample'](_0x28b0b6,_0x43da79,_0xae4da8[_0x6ec5e8(0x365)](),{'isPrimaryKey':_0xae4da8[_0x6ec5e8(0x466)](),'description':_0xae4da8[_0x6ec5e8(0x2b4)]||_0xae4da8[_0x6ec5e8(0x254)]});_0x238625[_0x28b0b6]=_0x1b8faa;}),this[_0x2a8907(0x25d)]=_0x238625,_0x238625;}return Object[_0x2a8907(0x472)](_0x563c08)[_0x2a8907(0x3d2)](([_0x4b9811,_0x5b600d])=>{const _0x1da78d=_0x2a8907,_0xe39158=_0x5b600d;let _0x38f452;if(typeof _0xe39158[_0x1da78d(0x34f)]===_0x1da78d(0x481))_0x38f452=_0xe39158[_0x1da78d(0x34f)];else _0xe39158['type']&&typeof _0xe39158['type']===_0x1da78d(0x1fd)?_0x38f452=_0xe39158['type'][_0x1da78d(0x34f)]||_0x1da78d(0x3fc):_0x38f452=_0x1da78d(0x3fc);const _0x2fe890=_0xe39158['description'],_0x1c74be=this['getFieldDefinition'](_0x4b9811);if(_0x4b9811===_0x1da78d(0x255))_0x238625[_0x4b9811]=0x1;else{if(_0x4b9811===_0x1da78d(0x462))_0x238625[_0x4b9811]=0xa;else{if(_0x4b9811==='id')_0x238625[_0x4b9811]=0x1;else{const _0x1f1453=_0x1c74be?_0x1c74be['getDbTypeForOperation']():undefined,_0x4a3646=_0x1c74be?_0x1c74be[_0x1da78d(0x2b4)]:undefined,_0x49fdac=_0x1c74be?_0x1c74be[_0x1da78d(0x254)]:undefined;_0x238625[_0x4b9811]=this[_0x1da78d(0x40f)](_0x4b9811,_0x38f452,_0x1f1453||undefined,{'isPrimaryKey':_0x4b9811===this[_0x1da78d(0x23f)][_0x1da78d(0x2ca)]||_0x4b9811==='id','description':_0x2fe890||_0x4a3646||_0x49fdac});}}}}),this['_requestExampleCache']=_0x238625,_0x238625;}[a0_0x11fa2b(0x424)](){const _0x57987b=a0_0x11fa2b,_0x5f4651=this[_0x57987b(0x2ec)]();if(!_0x5f4651){const _0x30961d={};return _0x30961d[_0x57987b(0x3cd)]=!![],_0x30961d[_0x57987b(0x2f5)]=_0x57987b(0x2e1),_0x30961d[_0x57987b(0x20e)]='',_0x30961d[_0x57987b(0x39b)]='0000',_0x30961d[_0x57987b(0x31d)]=null,_0x30961d;}return this['generateFromSchema'](_0x5f4651);}['generateFromSchema'](_0x416ce9){const _0x27a1aa=a0_0x11fa2b;if(!_0x416ce9||typeof _0x416ce9!==_0x27a1aa(0x1fd))return{};if(Array[_0x27a1aa(0x25b)](_0x416ce9)){if(_0x416ce9[_0x27a1aa(0x3e4)]>0x0)return[this['generateFromSchema'](_0x416ce9[0x0])];return[];}const _0x236a09={};return Object[_0x27a1aa(0x3f6)](_0x416ce9)['forEach'](_0xa1c46=>{const _0x51ebbc=_0x27a1aa,_0x42d84d=_0x416ce9[_0xa1c46];if(_0x42d84d&&typeof _0x42d84d===_0x51ebbc(0x1fd)&&!Array['isArray'](_0x42d84d)&&_0x42d84d['type']){const _0x4fb0ef=_0x42d84d;let _0x5d49e4;if(typeof _0x4fb0ef[_0x51ebbc(0x34f)]===_0x51ebbc(0x481))_0x5d49e4=_0x4fb0ef[_0x51ebbc(0x34f)];else _0x4fb0ef[_0x51ebbc(0x34f)]&&typeof _0x4fb0ef[_0x51ebbc(0x34f)]==='object'?_0x5d49e4=_0x4fb0ef[_0x51ebbc(0x34f)][_0x51ebbc(0x34f)]||_0x51ebbc(0x3fc):_0x5d49e4='TEXT';const _0x5590fc=_0x4fb0ef[_0x51ebbc(0x2b4)],_0x5ad72c={};_0x5ad72c['description']=_0x5590fc,_0x236a09[_0xa1c46]=this[_0x51ebbc(0x40f)](_0xa1c46,_0x5d49e4,undefined,_0x5ad72c);}else{if(Array[_0x51ebbc(0x25b)](_0x42d84d))_0x236a09[_0xa1c46]=_0x42d84d['length']>0x0?[this[_0x51ebbc(0x3d4)](_0x42d84d[0x0])]:[];else _0x42d84d&&typeof _0x42d84d==='object'?_0x236a09[_0xa1c46]=this['generateFromSchema'](_0x42d84d):_0x236a09[_0xa1c46]=_0x42d84d;}}),_0x236a09;}['generateSDKCallCode'](_0x465e10,_0xdbec74){const _0x386b7c=a0_0x11fa2b,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0xdbec74||{},_0x16af97=this[_0x386b7c(0x2da)](),_0x126e41=this[_0x386b7c(0x3af)](),_0x38e42f=this[_0x386b7c(0x328)](),_0x23ffd6=this[_0x386b7c(0x290)](),_0xf5b950=_0x9092cf=>{const _0x3f8e2b=_0x386b7c;if(Object['keys'](_0x9092cf)[_0x3f8e2b(0x3e4)]===0x0)return'{}';const _0x398c25=JSON[_0x3f8e2b(0x310)](_0x9092cf,null,0x2)['split']('\x0a')[_0x3f8e2b(0x427)]((_0x454db1,_0x25712e)=>_0x25712e===0x0?_0x454db1:indent+_0x454db1)['join']('\x0a');return _0x398c25;};switch(_0x126e41){case'getOne':case'delete':return'const\x20result\x20=\x20await\x20client.models.'+_0x465e10+'.'+_0x16af97+_0x386b7c(0x2d8);case _0x386b7c(0x352):if(useFullExample&&Object[_0x386b7c(0x3f6)](_0x23ffd6)[_0x386b7c(0x3e4)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x465e10+'.'+_0x16af97+'(id,\x20'+_0xf5b950(_0x23ffd6)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x465e10+'.'+_0x16af97+_0x386b7c(0x1e0);case'create':case _0x386b7c(0x41d):case'getSelectOptions':default:if(_0x38e42f[_0x386b7c(0x3e4)]>0x0){if(useFullExample&&Object[_0x386b7c(0x3f6)](_0x23ffd6)['length']>0x0)return _0x386b7c(0x39e)+_0x465e10+'.'+_0x16af97+'('+_0xf5b950(_0x23ffd6)+');';else{const _0x21f04a=Object[_0x386b7c(0x3f6)](_0x23ffd6);if(_0x21f04a['length']>0x0){const _0x5a52dd=_0x21f04a[_0x386b7c(0x313)](0x0,0x2)['join'](',\x20');return _0x386b7c(0x39e)+_0x465e10+'.'+_0x16af97+_0x386b7c(0x485)+_0x5a52dd+_0x386b7c(0x36b);}else return'const\x20result\x20=\x20await\x20client.models.'+_0x465e10+'.'+_0x16af97+'(params);';}}else return _0x386b7c(0x39e)+_0x465e10+'.'+_0x16af97+'();';}}[a0_0x11fa2b(0x42f)](){const _0xaad04a=a0_0x11fa2b;return[{'title':_0xaad04a(0x269),'data':this[_0xaad04a(0x290)]()}];}[a0_0x11fa2b(0x46d)](){const _0x65a3be=a0_0x11fa2b,_0x2849dd=this['getType'](),_0xb21b88=[];switch(_0x2849dd){case _0x65a3be(0x2e4):case _0x65a3be(0x276):const _0x3e0a23={};_0x3e0a23[_0x65a3be(0x3e6)]='id',_0x3e0a23[_0x65a3be(0x34f)]=_0x65a3be(0x2fe),_0x3e0a23[_0x65a3be(0x2b4)]=_0x65a3be(0x431),_0xb21b88[_0x65a3be(0x2eb)](_0x3e0a23);break;case _0x65a3be(0x41d):const _0x1aab15={};_0x1aab15[_0x65a3be(0x3e6)]='currentPage',_0x1aab15[_0x65a3be(0x34f)]=_0x65a3be(0x2fe),_0x1aab15[_0x65a3be(0x2b4)]=_0x65a3be(0x207);const _0x34bd9d={};_0x34bd9d[_0x65a3be(0x3e6)]=_0x65a3be(0x462),_0x34bd9d['type']='NUMBER',_0x34bd9d[_0x65a3be(0x2b4)]=_0x65a3be(0x28e),_0xb21b88['push'](_0x1aab15,_0x34bd9d);break;case _0x65a3be(0x3b3):const _0x4bfe7f={};_0x4bfe7f[_0x65a3be(0x3e6)]=_0x65a3be(0x3e6),_0x4bfe7f[_0x65a3be(0x34f)]=_0x65a3be(0x46f),_0x4bfe7f[_0x65a3be(0x2b4)]='选项编码(可选)',_0xb21b88[_0x65a3be(0x2eb)](_0x4bfe7f);break;default:break;}return _0xb21b88;}[a0_0x11fa2b(0x44d)](){const _0x3f908=a0_0x11fa2b,_0x195919=this[_0x3f908(0x3af)](),_0x333929=this[_0x3f908(0x23f)][_0x3f908(0x38d)]||[];switch(_0x195919){case _0x3f908(0x2e4):case _0x3f908(0x276):return[];case _0x3f908(0x46c):return _0x333929['filter'](_0x5887ad=>{const _0x2511e2=_0x3f908;if(_0x5887ad['deleted'])return![];if(_0x5887ad[_0x2511e2(0x466)]()&&_0x5887ad['isAutoIncrement']())return![];if(_0x5887ad[_0x2511e2(0x46a)]())return![];if(_0x5887ad['isCreateTime']()||_0x5887ad[_0x2511e2(0x283)]())return![];return!![];});case _0x3f908(0x352):return _0x333929['filter'](_0x43bfdd=>{const _0x7c4081=_0x3f908;if(_0x43bfdd[_0x7c4081(0x1ed)])return![];if(_0x43bfdd[_0x7c4081(0x466)]())return![];if(_0x43bfdd[_0x7c4081(0x46a)]())return![];if(_0x43bfdd[_0x7c4081(0x1df)]()||_0x43bfdd['isUpdateTime']())return![];if(_0x43bfdd[_0x7c4081(0x30f)]())return![];return!![];});case'getList':case'getSelectOptions':return _0x333929['filter'](_0x12046b=>!_0x12046b[_0x3f908(0x1ed)]&&_0x12046b[_0x3f908(0x3d8)]());default:return _0x333929[_0x3f908(0x3f8)](_0x32d670=>!_0x32d670[_0x3f908(0x1ed)]&&_0x32d670[_0x3f908(0x3d8)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x11fa2b(0x375)](){const _0x5b13ec=a0_0x11fa2b,_0x4f399c=super['getRequestParams'](),_0x4dfb5f=Object[_0x5b13ec(0x3f6)](_0x4f399c);if(_0x4dfb5f[_0x5b13ec(0x3e4)]===0x0||_0x4dfb5f[_0x5b13ec(0x3e4)]===0x1&&_0x4dfb5f[0x0]==='code'){if(!_0x4f399c['code']){const _0x10297f={};_0x10297f[_0x5b13ec(0x34f)]=_0x5b13ec(0x3ef),_0x10297f['description']=_0x5b13ec(0x242),_0x4f399c[_0x5b13ec(0x3e6)]=_0x10297f;}const _0x15fc46={};_0x15fc46['type']=_0x5b13ec(0x3ef),_0x15fc46[_0x5b13ec(0x2b4)]=_0x5b13ec(0x3bb),_0x4f399c[_0x5b13ec(0x28d)]=_0x15fc46;}return _0x4f399c;}[a0_0x11fa2b(0x44d)](){return[];}[a0_0x11fa2b(0x46d)](){const _0x13c681=a0_0x11fa2b,_0x5bf2a6={};_0x5bf2a6[_0x13c681(0x3e6)]=_0x13c681(0x3e6),_0x5bf2a6[_0x13c681(0x34f)]=_0x13c681(0x3ef),_0x5bf2a6['description']=_0x13c681(0x242);const _0x4763b0={};return _0x4763b0[_0x13c681(0x3e6)]=_0x13c681(0x28d),_0x4763b0[_0x13c681(0x34f)]=_0x13c681(0x3ef),_0x4763b0[_0x13c681(0x2b4)]=_0x13c681(0x3bb),[_0x5bf2a6,_0x4763b0];}[a0_0x11fa2b(0x290)](){const _0x106397=a0_0x11fa2b,_0x13369c={};return _0x13369c[_0x106397(0x3e6)]='field_name',_0x13369c[_0x106397(0x28d)]=_0x106397(0x394),_0x13369c;}[a0_0x11fa2b(0x3ab)](_0x559c35){const _0x4381d9=a0_0x11fa2b,_0x306123=this['getName']();return _0x4381d9(0x39e)+_0x559c35+'.'+_0x306123+_0x4381d9(0x3de);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x51c3f8=a0_0x11fa2b,_0x20fdc8=super[_0x51c3f8(0x375)](),{currentPage:_0x4a32fe,pageSize:_0x3a6fe2,..._0x35816d}=_0x20fdc8,_0x571f11={};Object[_0x51c3f8(0x472)](_0x35816d)[_0x51c3f8(0x3d2)](([_0x541163,_0x2a155b])=>{const _0xb0c4f5=_0x51c3f8;if(typeof _0x2a155b===_0xb0c4f5(0x1fd)&&_0x2a155b!==null){const _0x10c83d=_0x2a155b,_0x21bcaf=_0x10c83d['description']||'',_0x1b55ce={..._0x10c83d};_0x1b55ce[_0xb0c4f5(0x2b4)]=_0x21bcaf?_0x21bcaf+_0xb0c4f5(0x232):'支持单值或数组',_0x571f11[_0x541163]=_0x1b55ce;}else _0x571f11[_0x541163]=_0x2a155b;});const _0x28e55d={...typeof _0x4a32fe===_0x51c3f8(0x1fd)?_0x4a32fe:{}};_0x28e55d[_0x51c3f8(0x34f)]=_0x51c3f8(0x30b),_0x28e55d[_0x51c3f8(0x2b4)]=_0x51c3f8(0x207);const _0x1d73ea={...typeof _0x3a6fe2===_0x51c3f8(0x1fd)?_0x3a6fe2:{}};_0x1d73ea[_0x51c3f8(0x34f)]=_0x51c3f8(0x30b),_0x1d73ea['description']='每页数量';const _0x1b5743={..._0x571f11};return _0x1b5743[_0x51c3f8(0x255)]=_0x28e55d,_0x1b5743[_0x51c3f8(0x462)]=_0x1d73ea,_0x1b5743;}['generateRequestExample'](_0xa99344){const _0x555eeb=a0_0x11fa2b,{useArrayValues:useArrayValues=!![]}=_0xa99344||{},_0x5217b3=super[_0x555eeb(0x290)](),{currentPage:_0x4ff679,pageSize:_0x69ba5a,..._0x2db3a6}=_0x5217b3;if(!useArrayValues){const _0xaf967={..._0x2db3a6};return _0xaf967[_0x555eeb(0x255)]=_0x4ff679??0x1,_0xaf967[_0x555eeb(0x462)]=_0x69ba5a??0xa,_0xaf967;}const _0x36ff79={},_0x4f5ad8=['id',_0x555eeb(0x1d9),_0x555eeb(0x3e6),_0x555eeb(0x34f)];Object['entries'](_0x2db3a6)[_0x555eeb(0x3d2)](([_0x518972,_0x19fc45],_0x365374)=>{const _0x41387b=_0x555eeb,_0x1523ef=_0x4f5ad8['some'](_0x3b766c=>_0x518972[_0x41387b(0x45e)]()['includes'](_0x3b766c))||_0x365374%0x3===0x0;if(_0x1523ef&&_0x19fc45!==null&&_0x19fc45!==undefined){if(typeof _0x19fc45===_0x41387b(0x482))_0x36ff79[_0x518972]=[_0x19fc45,_0x19fc45+0x1,_0x19fc45+0x2];else typeof _0x19fc45===_0x41387b(0x481)?_0x36ff79[_0x518972]=[_0x19fc45,_0x19fc45+'_2',_0x19fc45+'_3']:_0x36ff79[_0x518972]=[_0x19fc45];}else _0x36ff79[_0x518972]=_0x19fc45;});const _0x51949d={..._0x36ff79};return _0x51949d[_0x555eeb(0x255)]=_0x4ff679??0x1,_0x51949d['pageSize']=_0x69ba5a??0xa,_0x51949d;}[a0_0x11fa2b(0x43a)](){const _0x4ea1d3=a0_0x11fa2b,_0x35fc62={};return _0x35fc62[_0x4ea1d3(0x35b)]=![],this[_0x4ea1d3(0x290)](_0x35fc62);}[a0_0x11fa2b(0x42f)](){const _0x4400e8=a0_0x11fa2b;return[{'title':_0x4400e8(0x477),'description':_0x4400e8(0x2a7),'data':this[_0x4400e8(0x43a)]()},{'title':_0x4400e8(0x29e),'description':_0x4400e8(0x2bc),'data':this['generateRequestExample']()}];}[a0_0x11fa2b(0x3ab)](_0xff18f,_0xe20b02){const _0x3ad789=a0_0x11fa2b,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0xe20b02||{},_0x456ddc=this[_0x3ad789(0x2da)](),_0x1002f1={};_0x1002f1['useArrayValues']=!![];const _0x159ea4=this['generateRequestExample'](_0x1002f1),{currentPage:_0x87b9c3,pageSize:_0x517d4a,..._0x55ab9b}=_0x159ea4;if(useFullExample&&Object[_0x3ad789(0x3f6)](_0x159ea4)[_0x3ad789(0x3e4)]>0x0){const _0x1d1b46=Object['keys'](_0x55ab9b)[_0x3ad789(0x3e4)]>0x0;if(_0x1d1b46){const _0x41e46f=this[_0x3ad789(0x43a)](),_0x3d73ae=_0xa9efd2=>{const _0x1ac259=_0x3ad789;return JSON['stringify'](_0xa9efd2,null,0x2)[_0x1ac259(0x31c)]('\x0a')[_0x1ac259(0x427)]((_0x4c9ae0,_0x2e4d)=>_0x2e4d===0x0?_0x4c9ae0:indent+_0x4c9ae0)[_0x1ac259(0x33f)]('\x0a');};return _0x3ad789(0x1de)+_0xff18f+'.'+_0x456ddc+'('+_0x3d73ae(_0x41e46f)+_0x3ad789(0x37f)+_0xff18f+'.'+_0x456ddc+'('+_0x3d73ae(_0x159ea4)+');';}else{const _0x10704a=JSON['stringify'](_0x159ea4,null,0x2)['split']('\x0a')[_0x3ad789(0x427)]((_0x4fb57c,_0x11b539)=>_0x11b539===0x0?_0x4fb57c:indent+_0x4fb57c)[_0x3ad789(0x33f)]('\x0a');return _0x3ad789(0x39e)+_0xff18f+'.'+_0x456ddc+'('+_0x10704a+');';}}if(Object[_0x3ad789(0x3f6)](_0x55ab9b)[_0x3ad789(0x3e4)]>0x0){const _0x19405e=Object[_0x3ad789(0x3f6)](_0x55ab9b)[0x0];return _0x3ad789(0x39e)+_0xff18f+'.'+_0x456ddc+'({\x20'+_0x19405e+_0x3ad789(0x468);}return _0x3ad789(0x39e)+_0xff18f+'.'+_0x456ddc+'({\x20currentPage,\x20pageSize\x20});';}}var AGGREGATE_FUNCTIONS=[a0_0x11fa2b(0x32e),a0_0x11fa2b(0x47e),a0_0x11fa2b(0x3e7),a0_0x11fa2b(0x388),'min'],FILTER_OPERATORS=[a0_0x11fa2b(0x201),a0_0x11fa2b(0x3e8),a0_0x11fa2b(0x483),a0_0x11fa2b(0x323),a0_0x11fa2b(0x3b8),a0_0x11fa2b(0x437),a0_0x11fa2b(0x226),a0_0x11fa2b(0x2b5),a0_0x11fa2b(0x26f),a0_0x11fa2b(0x320),a0_0x11fa2b(0x209),a0_0x11fa2b(0x3d6)];class FilterOperation extends GenericOperation{constructor(_0x5a7322,_0x3f2ed7,_0x3efa8f){super(_0x5a7322,_0x3f2ed7,_0x3efa8f);}[a0_0x11fa2b(0x412)](){return FILTER_OPERATORS;}['getFieldOperators'](_0x519bb8){const _0x2736c2=a0_0x11fa2b,_0xba3767=this[_0x2736c2(0x2f0)](_0x519bb8);if(!_0xba3767)return[];return this['getApplicableOperators'](_0xba3767);}['getRequestParams'](){const _0x3f5b3d=a0_0x11fa2b,_0x24a75f=super[_0x3f5b3d(0x375)](),_0x1feae8={};_0x1feae8[_0x3f5b3d(0x34f)]=_0x3f5b3d(0x217),_0x1feae8[_0x3f5b3d(0x2b4)]=_0x3f5b3d(0x293),_0x1feae8['required']=![];const _0x1fe4f8={};_0x1fe4f8['type']=_0x3f5b3d(0x2b0),_0x1fe4f8[_0x3f5b3d(0x2b4)]=_0x3f5b3d(0x2ee),_0x1fe4f8['required']=![];const _0x27625c={};_0x27625c[_0x3f5b3d(0x34f)]=_0x3f5b3d(0x32a),_0x27625c['description']=_0x3f5b3d(0x398),_0x27625c[_0x3f5b3d(0x224)]=![];const _0x5821db={};_0x5821db[_0x3f5b3d(0x34f)]=_0x3f5b3d(0x30b),_0x5821db[_0x3f5b3d(0x2b4)]='当前页码',_0x5821db[_0x3f5b3d(0x224)]=![],_0x5821db[_0x3f5b3d(0x484)]=0x1;const _0x30463a={};_0x30463a[_0x3f5b3d(0x34f)]=_0x3f5b3d(0x30b),_0x30463a['description']=_0x3f5b3d(0x2d5),_0x30463a[_0x3f5b3d(0x224)]=![],_0x30463a[_0x3f5b3d(0x484)]=0xa;const _0x543c69={..._0x24a75f};return _0x543c69['where']=_0x1feae8,_0x543c69[_0x3f5b3d(0x2b8)]=_0x1fe4f8,_0x543c69[_0x3f5b3d(0x41f)]=_0x27625c,_0x543c69[_0x3f5b3d(0x255)]=_0x5821db,_0x543c69[_0x3f5b3d(0x462)]=_0x30463a,_0x543c69;}[a0_0x11fa2b(0x46d)](){const _0x460fe2=a0_0x11fa2b,_0x1e5dcb=this[_0x460fe2(0x375)](),_0x37939d=[],_0x511d19=[_0x460fe2(0x32d),_0x460fe2(0x2b8),_0x460fe2(0x41f),_0x460fe2(0x255),_0x460fe2(0x462)];return Object[_0x460fe2(0x472)](_0x1e5dcb)[_0x460fe2(0x3d2)](([_0x4aa8ea,_0x4f6d4e])=>{const _0x55bcac=_0x460fe2;if(_0x511d19[_0x55bcac(0x3c3)](_0x4aa8ea)){const _0x55cc81=_0x4f6d4e,_0x1a449e={};_0x1a449e['code']=_0x4aa8ea,_0x1a449e[_0x55bcac(0x34f)]=_0x55cc81[_0x55bcac(0x34f)]||_0x55bcac(0x217),_0x1a449e[_0x55bcac(0x2b4)]=_0x55cc81[_0x55bcac(0x2b4)]||'-',_0x37939d[_0x55bcac(0x2eb)](_0x1a449e);}}),_0x37939d;}[a0_0x11fa2b(0x44d)](){const _0x5649da=a0_0x11fa2b;return this['context'][_0x5649da(0x38d)]||[];}[a0_0x11fa2b(0x27f)](){const _0x45af9d=a0_0x11fa2b;return{'systemParams':this[_0x45af9d(0x46d)](),'businessFields':this[_0x45af9d(0x44d)]()};}[a0_0x11fa2b(0x290)](){const _0x7d3f5d=a0_0x11fa2b,_0x4f90fd=this[_0x7d3f5d(0x23f)][_0x7d3f5d(0x38d)]||[];if(_0x4f90fd['length']===0x0){const _0x51fc3e={};return _0x51fc3e['where']={},_0x51fc3e[_0x7d3f5d(0x255)]=0x1,_0x51fc3e[_0x7d3f5d(0x462)]=0x14,_0x51fc3e;}const _0x58ffc8={},_0x1dcabd=_0x4f90fd[_0x7d3f5d(0x313)](0x0,Math['min'](0x3,_0x4f90fd[_0x7d3f5d(0x3e4)]));_0x1dcabd[_0x7d3f5d(0x3d2)](_0xa5ff36=>{const _0x31cac4=_0x7d3f5d,_0x49cd52=this['getApplicableOperators'](_0xa5ff36);if(_0x49cd52[_0x31cac4(0x3e4)]===0x0)return;const _0x4e83dd=this['selectBestOperator'](_0xa5ff36,_0x49cd52),_0x4c56ed=this[_0x31cac4(0x341)](_0xa5ff36,_0x4e83dd),_0x36a1b0={};_0x36a1b0[_0x4e83dd]=_0x4c56ed,_0x58ffc8[_0xa5ff36[_0x31cac4(0x3e6)]]=_0x36a1b0;});const _0x190d18=_0x4f90fd[_0x7d3f5d(0x313)](0x0,Math[_0x7d3f5d(0x433)](0x5,_0x4f90fd[_0x7d3f5d(0x3e4)]))['map'](_0x356dbc=>_0x356dbc[_0x7d3f5d(0x3e6)]),_0x4f55b5=_0x4f90fd[0x0]?_0x4f90fd[0x0][_0x7d3f5d(0x3e6)]:'id',_0x506f78={};_0x506f78[_0x4f55b5]=_0x7d3f5d(0x243);const _0x153652={};return _0x153652[_0x7d3f5d(0x32d)]=_0x58ffc8,_0x153652['select']=_0x190d18,_0x153652['orderBy']=[_0x506f78],_0x153652['currentPage']=0x1,_0x153652[_0x7d3f5d(0x462)]=0x14,_0x153652;}[a0_0x11fa2b(0x3ab)](_0x31c7f4,_0x665862){const _0x258da2=a0_0x11fa2b,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x665862||{},_0x5a2a57=this[_0x258da2(0x2da)](),_0x53054a=this[_0x258da2(0x290)](),_0x25afc7=_0x1f293b=>{const _0x1f61cf=_0x258da2;return JSON['stringify'](_0x1f293b,null,0x2)[_0x1f61cf(0x31c)]('\x0a')['map']((_0x74ef00,_0x130f13)=>_0x130f13===0x0?_0x74ef00:indent+_0x74ef00)[_0x1f61cf(0x33f)]('\x0a');};if(useFullExample){const _0x283e36=this[_0x258da2(0x23f)]['fields']||[],_0x4c2388={'where':_0x283e36[0x0]?{[_0x283e36[0x0][_0x258da2(0x3e6)]]:{'$eq':this[_0x258da2(0x341)](_0x283e36[0x0],_0x258da2(0x201))}}:{},'select':_0x283e36[_0x258da2(0x313)](0x0,0x3)[_0x258da2(0x427)](_0x11ea83=>_0x11ea83['code']),'currentPage':0x1,'pageSize':0x14};let _0x5bdaa0='';if(_0x283e36[_0x258da2(0x3e4)]>=0x3){const _0x175e08={};_0x175e08[_0x258da2(0x209)]=[];const _0x15ddb0=_0x175e08,_0x17fdab=[];if(_0x283e36['length']>0x0){const _0x34202c=_0x283e36[_0x258da2(0x358)](_0x41b989=>{const _0x4ff68f=_0x258da2,_0x22f778=_0x41b989[_0x4ff68f(0x365)]();return[_0x4ff68f(0x2fe),'INTEGER',_0x4ff68f(0x333),_0x4ff68f(0x2b9),_0x4ff68f(0x45f),_0x4ff68f(0x272)][_0x4ff68f(0x3c3)](_0x22f778);});if(_0x34202c){const _0x12f077={};_0x12f077['$gte']=0x0,_0x12f077['$lte']=0x64;const _0x34e3de={[_0x34202c[_0x258da2(0x3e6)]]:_0x12f077};_0x17fdab[_0x258da2(0x2eb)](_0x34e3de);}}if(_0x283e36[_0x258da2(0x3e4)]>0x1){const _0x275e8b=_0x283e36[_0x258da2(0x358)](_0x435f99=>{const _0x402daf=_0x258da2,_0x1c5eec=_0x435f99[_0x402daf(0x365)]();return[_0x402daf(0x46f),'TEXT',_0x402daf(0x1f2),'CHAR',_0x402daf(0x2ea)][_0x402daf(0x3c3)](_0x1c5eec);});if(_0x275e8b){const _0x41d0e7={};_0x41d0e7[_0x258da2(0x2b5)]=_0x258da2(0x311);const _0x53587e={[_0x275e8b[_0x258da2(0x3e6)]]:_0x41d0e7};_0x17fdab[_0x258da2(0x2eb)](_0x53587e);}}if(_0x17fdab[_0x258da2(0x3e4)]>0x0){_0x15ddb0[_0x258da2(0x209)]=_0x17fdab;const _0x57bbc6={'where':_0x15ddb0,'select':_0x283e36[_0x258da2(0x313)](0x0,0x4)[_0x258da2(0x427)](_0x473832=>_0x473832['code']),'orderBy':[{[_0x283e36[0x0][_0x258da2(0x3e6)]]:_0x258da2(0x243)}],'currentPage':0x1,'pageSize':0x14};_0x5bdaa0=_0x258da2(0x23e)+_0x31c7f4+'.'+_0x5a2a57+'('+_0x25afc7(_0x57bbc6)+');';}}return _0x258da2(0x3cc)+_0x31c7f4+'.'+_0x5a2a57+'('+_0x25afc7(_0x4c2388)+');'+_0x5bdaa0;}const _0x105ff4=JSON[_0x258da2(0x310)](_0x53054a,null,0x2)[_0x258da2(0x31c)]('\x0a')['map']((_0x224f8d,_0xe6383c)=>_0xe6383c===0x0?_0x224f8d:indent+_0x224f8d)['join']('\x0a');return _0x258da2(0x39e)+_0x31c7f4+'.'+_0x5a2a57+'('+_0x105ff4+');';}[a0_0x11fa2b(0x43d)](_0x328008){const _0x223ff4=a0_0x11fa2b,_0x39bc59=_0x328008[_0x223ff4(0x365)](),_0x22eacc=[];if([_0x223ff4(0x2fe),_0x223ff4(0x250),_0x223ff4(0x333),'DECIMAL']['includes'](_0x39bc59)||[_0x223ff4(0x2b9),_0x223ff4(0x45f),_0x223ff4(0x272),'DOUBLE','FLOAT'][_0x223ff4(0x3c3)](_0x39bc59))_0x22eacc[_0x223ff4(0x2eb)](_0x223ff4(0x201),'$ne',_0x223ff4(0x483),_0x223ff4(0x3b8),'$gteq',_0x223ff4(0x437),_0x223ff4(0x226));else{if([_0x223ff4(0x46f),_0x223ff4(0x3fc),_0x223ff4(0x1f2)][_0x223ff4(0x3c3)](_0x39bc59)||['CHAR',_0x223ff4(0x2ea)][_0x223ff4(0x3c3)](_0x39bc59))_0x22eacc[_0x223ff4(0x2eb)](_0x223ff4(0x201),_0x223ff4(0x3e8),_0x223ff4(0x226),_0x223ff4(0x2b5),'$startWith','$endWith');else{if([_0x223ff4(0x23b),_0x223ff4(0x32f),_0x223ff4(0x216)][_0x223ff4(0x3c3)](_0x39bc59)||[_0x223ff4(0x2f2)][_0x223ff4(0x3c3)](_0x39bc59))_0x22eacc[_0x223ff4(0x2eb)]('$eq',_0x223ff4(0x3e8),_0x223ff4(0x483),'$lte','$gteq',_0x223ff4(0x437));else['BOOLEAN','BOOL','BIT'][_0x223ff4(0x3c3)](_0x39bc59)?_0x22eacc[_0x223ff4(0x2eb)](_0x223ff4(0x201),_0x223ff4(0x3e8)):_0x22eacc['push'](_0x223ff4(0x201),_0x223ff4(0x3e8));}}return _0x22eacc;}['selectBestOperator'](_0x3f2182,_0x448b8f){const _0x4d5be0=a0_0x11fa2b,_0x61e61b=_0x3f2182[_0x4d5be0(0x365)]();if([_0x4d5be0(0x2fe),_0x4d5be0(0x250),_0x4d5be0(0x333),_0x4d5be0(0x2cf)]['includes'](_0x61e61b)||['INT',_0x4d5be0(0x45f),_0x4d5be0(0x272),_0x4d5be0(0x2b2),_0x4d5be0(0x29a)][_0x4d5be0(0x3c3)](_0x61e61b))return _0x448b8f[_0x4d5be0(0x3c3)](_0x4d5be0(0x483))?_0x4d5be0(0x483):_0x4d5be0(0x201);if([_0x4d5be0(0x46f),_0x4d5be0(0x3fc),_0x4d5be0(0x1f2)][_0x4d5be0(0x3c3)](_0x61e61b)||[_0x4d5be0(0x390),'LONGTEXT'][_0x4d5be0(0x3c3)](_0x61e61b))return _0x448b8f[_0x4d5be0(0x3c3)](_0x4d5be0(0x2b5))?_0x4d5be0(0x2b5):_0x4d5be0(0x201);if([_0x4d5be0(0x23b),_0x4d5be0(0x32f),_0x4d5be0(0x216),'TIME'][_0x4d5be0(0x3c3)](_0x61e61b))return _0x448b8f[_0x4d5be0(0x3c3)]('$gte')?_0x4d5be0(0x483):_0x4d5be0(0x201);return'$eq';}[a0_0x11fa2b(0x341)](_0x138ede,_0x40dec6){const _0x4f5590=a0_0x11fa2b,_0x2e275d=_0x138ede[_0x4f5590(0x365)](),_0x11efe9=_0x138ede['getEnumOptions']();if(_0x11efe9&&_0x11efe9[_0x4f5590(0x3e4)]>0x0){if(_0x40dec6==='$in')return _0x11efe9[_0x4f5590(0x313)](0x0,0x2)[_0x4f5590(0x427)](_0x342e2f=>_0x342e2f[_0x4f5590(0x45c)]);return _0x11efe9[0x0][_0x4f5590(0x45c)];}if([_0x4f5590(0x2fe),'INTEGER',_0x4f5590(0x333),_0x4f5590(0x2cf)][_0x4f5590(0x3c3)](_0x2e275d)||[_0x4f5590(0x2b9),_0x4f5590(0x45f),_0x4f5590(0x272),_0x4f5590(0x2b2),_0x4f5590(0x29a)]['includes'](_0x2e275d)){if(_0x40dec6===_0x4f5590(0x226))return[0x1,0x2,0x3];if(_0x40dec6==='$gte'||_0x40dec6===_0x4f5590(0x323))return 0x0;if(_0x40dec6===_0x4f5590(0x3b8)||_0x40dec6===_0x4f5590(0x437))return 0x64;return 0x1;}if(['STRING','TEXT',_0x4f5590(0x1f2)][_0x4f5590(0x3c3)](_0x2e275d)||['CHAR',_0x4f5590(0x2ea)][_0x4f5590(0x3c3)](_0x2e275d)){if(_0x40dec6===_0x4f5590(0x226))return[_0x4f5590(0x261),_0x4f5590(0x3ea)];if(_0x40dec6==='$contain')return _0x4f5590(0x311);if(_0x40dec6===_0x4f5590(0x26f))return _0x4f5590(0x316);if(_0x40dec6===_0x4f5590(0x320))return _0x4f5590(0x399);return _0x4f5590(0x45c);}if([_0x4f5590(0x23b),_0x4f5590(0x32f),'TIMESTAMP',_0x4f5590(0x2f2)][_0x4f5590(0x3c3)](_0x2e275d)){if(_0x40dec6===_0x4f5590(0x483)||_0x40dec6===_0x4f5590(0x323))return _0x4f5590(0x36e);if(_0x40dec6===_0x4f5590(0x3b8)||_0x40dec6===_0x4f5590(0x437))return _0x4f5590(0x44e);return _0x4f5590(0x36e);}if([_0x4f5590(0x1e6),_0x4f5590(0x2fd),_0x4f5590(0x30c)][_0x4f5590(0x3c3)](_0x2e275d))return!![];return _0x40dec6===_0x4f5590(0x226)?[_0x4f5590(0x261),_0x4f5590(0x3ea)]:_0x4f5590(0x45c);}[a0_0x11fa2b(0x3b1)](){const _0x7de0d1=a0_0x11fa2b,_0x43dafa=super[_0x7de0d1(0x375)](),_0x4a3f95=Object[_0x7de0d1(0x472)](_0x43dafa)[_0x7de0d1(0x3f8)](([_0x421eb8])=>_0x421eb8!==_0x7de0d1(0x255)&&_0x421eb8!==_0x7de0d1(0x462))[_0x7de0d1(0x427)](([_0x92c35b,_0x1021c5])=>{const _0x2cf12c=_0x7de0d1,_0x5494bb=_0x1021c5,_0xed49f1={};return _0xed49f1[_0x2cf12c(0x254)]=_0x92c35b,_0xed49f1[_0x2cf12c(0x34f)]=_0x5494bb[_0x2cf12c(0x34f)]||_0x2cf12c(0x3ef),_0xed49f1[_0x2cf12c(0x2b4)]=_0x5494bb[_0x2cf12c(0x2b4)]||'-',_0xed49f1[_0x2cf12c(0x224)]=_0x5494bb[_0x2cf12c(0x224)],_0xed49f1;}),_0xf8f942={};return _0xf8f942[_0x7de0d1(0x2b4)]='\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',_0xf8f942[_0x7de0d1(0x244)]=_0x4a3f95,_0xf8f942;}}class ExcelExportOperation extends GenericOperation{[a0_0x11fa2b(0x375)](){const _0x295adf=a0_0x11fa2b,_0x4a96f3=super[_0x295adf(0x375)]();if(Object[_0x295adf(0x3f6)](_0x4a96f3)[_0x295adf(0x3e4)]===0x0){const _0x58d02f={};this[_0x295adf(0x23f)][_0x295adf(0x38d)][_0x295adf(0x3d2)](_0x5e86ef=>{const _0x128248=_0x295adf;if(_0x5e86ef){const _0x14c974=_0x5e86ef[_0x128248(0x3e6)],_0x349a3d=_0x5e86ef[_0x128248(0x365)](),_0x2e9a3c={};_0x2e9a3c[_0x128248(0x34f)]=_0x349a3d||_0x128248(0x3fc),_0x2e9a3c[_0x128248(0x2d3)]=_0x5e86ef[_0x128248(0x2d3)],_0x2e9a3c['description']=_0x5e86ef[_0x128248(0x2b4)]||_0x5e86ef[_0x128248(0x254)],_0x58d02f[_0x14c974]=_0x2e9a3c;}});const _0x3ae6ba={};_0x3ae6ba['type']=_0x295adf(0x47c),_0x3ae6ba[_0x295adf(0x2b4)]='当前页码(可选)',_0x58d02f[_0x295adf(0x255)]=_0x3ae6ba;const _0x28f9fe={};return _0x28f9fe['type']=_0x295adf(0x47c),_0x28f9fe[_0x295adf(0x2b4)]=_0x295adf(0x382),_0x58d02f[_0x295adf(0x462)]=_0x28f9fe,_0x58d02f;}return _0x4a96f3;}['generateRequestExample'](){const _0x471f9c=a0_0x11fa2b,_0x4d0c4b=super['generateRequestExample']();if(Object[_0x471f9c(0x3f6)](_0x4d0c4b)[_0x471f9c(0x3e4)]===0x0){const _0x874f01={};return _0x874f01[_0x471f9c(0x255)]=0x1,_0x874f01[_0x471f9c(0x462)]=0x64,_0x874f01;}const _0x1dcf73={..._0x4d0c4b};return _0x1dcf73[_0x471f9c(0x255)]=_0x4d0c4b[_0x471f9c(0x255)]??0x1,_0x1dcf73[_0x471f9c(0x462)]=_0x4d0c4b['pageSize']??0x64,_0x1dcf73;}[a0_0x11fa2b(0x424)](){const _0x5c08a6=a0_0x11fa2b,_0x45e8f6={};return _0x45e8f6[_0x5c08a6(0x3cd)]=!![],_0x45e8f6[_0x5c08a6(0x2f5)]='',_0x45e8f6[_0x5c08a6(0x20e)]='',_0x45e8f6[_0x5c08a6(0x39b)]=_0x5c08a6(0x43f),_0x45e8f6[_0x5c08a6(0x31d)]='https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D',_0x45e8f6[_0x5c08a6(0x244)]=null,_0x45e8f6;}['generateSDKCallCode'](_0x4931aa,_0x57eaf7){const _0x18aefd=a0_0x11fa2b,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x57eaf7||{},_0x3bba62=this[_0x18aefd(0x2da)]();if(useFullExample){const _0x326265=this[_0x18aefd(0x290)](),{currentPage:_0x5011de,pageSize:_0x26bba7,..._0x207236}=_0x326265,_0x79963d=Object[_0x18aefd(0x3f6)](_0x207236)[_0x18aefd(0x3e4)]>0x0;if(_0x79963d){const _0x1d88c1=_0x158050=>{const _0x57d853=_0x18aefd;return JSON[_0x57d853(0x310)](_0x158050,null,0x2)[_0x57d853(0x31c)]('\x0a')['map']((_0x2b49be,_0x5d36af)=>_0x5d36af===0x0?_0x2b49be:indent+_0x2b49be)[_0x57d853(0x33f)]('\x0a');};return'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x4931aa+'.'+_0x3bba62+_0x18aefd(0x1f4)+_0x4931aa+'.'+_0x3bba62+'('+_0x1d88c1(_0x326265)+');';}else{const _0x5c0746=_0x27110a=>{const _0x54362d=_0x18aefd;return JSON[_0x54362d(0x310)](_0x27110a,null,0x2)[_0x54362d(0x31c)]('\x0a')['map']((_0x550be3,_0x33253a)=>_0x33253a===0x0?_0x550be3:indent+_0x550be3)[_0x54362d(0x33f)]('\x0a');},_0x1ffd4b={};return _0x1ffd4b[_0x18aefd(0x255)]=0x1,_0x1ffd4b[_0x18aefd(0x462)]=0x64,'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x4931aa+'.'+_0x3bba62+_0x18aefd(0x448)+_0x4931aa+'.'+_0x3bba62+'('+_0x5c0746(_0x1ffd4b)+');';}}return _0x18aefd(0x25e)+_0x4931aa+'.'+_0x3bba62+_0x18aefd(0x479);}[a0_0x11fa2b(0x3e0)](_0x152e42){const _0x221053=a0_0x11fa2b,_0x138f6e=this['getName'](),_0x42b789=_0x152e42||'yourModel',_0x2e8afd=_0x221053(0x231)+_0x42b789+'.'+_0x138f6e+_0x221053(0x401),_0x3e7131='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x42b789+'.'+_0x138f6e+_0x221053(0x326),_0x3baea8={};return _0x3baea8['successCode']=_0x2e8afd,_0x3baea8[_0x221053(0x39b)]=_0x3e7131,_0x3baea8;}}class UpdateOperation extends GenericOperation{[a0_0x11fa2b(0x38f)](){return this['parseRawRequestBody']();}[a0_0x11fa2b(0x375)](){const _0x282c79=a0_0x11fa2b,_0x25fd80=this[_0x282c79(0x38f)](),_0x53eb17={};_0x53eb17[_0x282c79(0x34f)]=_0x282c79(0x2fe),_0x53eb17[_0x282c79(0x2b4)]=_0x282c79(0x371),_0x53eb17[_0x282c79(0x224)]=!![];const _0x6e5f78={};_0x6e5f78['type']=_0x282c79(0x1fd),_0x6e5f78[_0x282c79(0x2b4)]=_0x282c79(0x3c2),_0x6e5f78['required']=!![],_0x6e5f78['properties']=_0x25fd80;const _0x160640={};return _0x160640['id']=_0x53eb17,_0x160640[_0x282c79(0x31d)]=_0x6e5f78,_0x160640;}[a0_0x11fa2b(0x222)](){const _0x110009=a0_0x11fa2b;return this[_0x110009(0x38f)]();}['getHTTPFields'](){const _0x455b2b=a0_0x11fa2b,_0x514c3b=this[_0x455b2b(0x23f)][_0x455b2b(0x38d)]||[],_0x3ad3a4=this[_0x455b2b(0x23f)]['pkField'],_0x20feae=_0x514c3b['find'](_0x36d24d=>_0x36d24d[_0x455b2b(0x466)]()||_0x36d24d[_0x455b2b(0x3e6)]===_0x3ad3a4),_0x5a6bd6=_0x514c3b['filter'](_0xe2d53a=>{const _0x3d6dfd=_0x455b2b;if(_0xe2d53a[_0x3d6dfd(0x1ed)])return![];if(_0xe2d53a===_0x20feae||_0xe2d53a['isPrimaryKey']())return![];if(_0xe2d53a[_0x3d6dfd(0x1df)]()||_0xe2d53a[_0x3d6dfd(0x283)]())return![];if(_0xe2d53a[_0x3d6dfd(0x30f)]())return![];return!![];});return _0x20feae?[_0x20feae,..._0x5a6bd6]:_0x5a6bd6;}['getHTTPRequestParamsDocInfo'](){const _0xe4231c=a0_0x11fa2b,_0x56a471=this['getHTTPFields'](),_0x4604ce=this[_0xe4231c(0x23f)]['pkField'],_0x317402=_0x56a471[_0xe4231c(0x427)](_0x6a3093=>{const _0x3e79b2=_0xe4231c,_0x122e17=_0x6a3093[_0x3e79b2(0x466)]()||_0x6a3093[_0x3e79b2(0x3e6)]===_0x4604ce,_0x5cffcf=_0x122e17?'id':_0x6a3093[_0x3e79b2(0x3e6)],_0x589609={};return _0x589609['name']=_0x5cffcf,_0x589609['type']=_0x6a3093['type'],_0x589609[_0x3e79b2(0x2b4)]=_0x122e17?_0x3e79b2(0x3a1)+(_0x4604ce&&_0x4604ce!==_0x6a3093['code']?'(实际字段:'+_0x6a3093[_0x3e79b2(0x3e6)]+')':''):_0x6a3093[_0x3e79b2(0x2b4)]||_0x6a3093['name'],_0x589609;}),_0x2b2dbf={};return _0x2b2dbf[_0xe4231c(0x2b4)]=_0xe4231c(0x449),_0x2b2dbf[_0xe4231c(0x244)]=_0x317402,_0x2b2dbf;}[a0_0x11fa2b(0x3b1)](){const _0x41a1fd=a0_0x11fa2b,_0x218ee6=this[_0x41a1fd(0x38f)](),_0x137c62=Object['entries'](_0x218ee6)[_0x41a1fd(0x427)](([_0x47a69a,_0x5ec1b6])=>{const _0x4d4e72=_0x41a1fd,_0x5ba325=_0x5ec1b6,_0x53f3a6={};return _0x53f3a6['name']=_0x47a69a,_0x53f3a6[_0x4d4e72(0x34f)]=_0x5ba325[_0x4d4e72(0x34f)]||_0x4d4e72(0x3ef),_0x53f3a6['description']=_0x5ba325[_0x4d4e72(0x2b4)]||'-',_0x53f3a6;}),_0x426c4f={};return _0x426c4f[_0x41a1fd(0x2b4)]=_0x41a1fd(0x309)+_0x41a1fd(0x458)+_0x41a1fd(0x48c)+_0x41a1fd(0x1db)+'-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a'+'**可更新的字段列表:**',_0x426c4f[_0x41a1fd(0x244)]=_0x137c62,_0x426c4f;}['generateRequestExample'](){const _0x249a0d=a0_0x11fa2b,_0x199e9a=this['getUpdateFields'](),_0x179c47={};Object[_0x249a0d(0x472)](_0x199e9a)[_0x249a0d(0x3d2)](([_0x1608a6,_0x2d89b0])=>{const _0x47c9bf=_0x249a0d,_0x5837c2=_0x2d89b0;let _0x4b7460;if(typeof _0x5837c2['type']===_0x47c9bf(0x481))_0x4b7460=_0x5837c2[_0x47c9bf(0x34f)];else _0x5837c2[_0x47c9bf(0x34f)]&&typeof _0x5837c2[_0x47c9bf(0x34f)]==='object'?_0x4b7460=_0x5837c2[_0x47c9bf(0x34f)][_0x47c9bf(0x34f)]||_0x47c9bf(0x3fc):_0x4b7460=_0x47c9bf(0x3fc);const _0x39d7f2=_0x5837c2[_0x47c9bf(0x2b4)],_0x10e2aa=this[_0x47c9bf(0x2f0)](_0x1608a6);_0x179c47[_0x1608a6]=this[_0x47c9bf(0x40f)](_0x1608a6,_0x4b7460,_0x10e2aa?.[_0x47c9bf(0x365)](),{'isPrimaryKey':![],'description':_0x39d7f2||_0x10e2aa?.[_0x47c9bf(0x2b4)]||_0x10e2aa?.[_0x47c9bf(0x254)]});});const _0x5af0e4={};return _0x5af0e4['id']=0x1,_0x5af0e4[_0x249a0d(0x31d)]=_0x179c47,_0x5af0e4;}[a0_0x11fa2b(0x42f)](){const _0x3f31d3=a0_0x11fa2b,_0x2a8e14=this[_0x3f31d3(0x290)](),_0x5b8c92={};return _0x5b8c92['title']='SDK\x20调用示例(两参数格式)',_0x5b8c92[_0x3f31d3(0x2b4)]=_0x3f31d3(0x1e4)+'-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a'+_0x3f31d3(0x457),_0x5b8c92[_0x3f31d3(0x31d)]=_0x2a8e14,[_0x5b8c92,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x3f31d3(0x305)+'-\x20主键使用\x20`id`\x20字段\x0a'+_0x3f31d3(0x2de),'data':this[_0x3f31d3(0x461)]()}];}[a0_0x11fa2b(0x461)](){const _0x4a95de=a0_0x11fa2b,_0x3fb7d0=this[_0x4a95de(0x38f)](),_0x47001c={};_0x47001c['id']=0x1;const _0x38f1f5=_0x47001c;return Object[_0x4a95de(0x472)](_0x3fb7d0)[_0x4a95de(0x3d2)](([_0xca3ff,_0x4654fe])=>{const _0x2d908a=_0x4a95de,_0x40cd15=_0x4654fe;let _0x26b05a;if(typeof _0x40cd15['type']==='string')_0x26b05a=_0x40cd15[_0x2d908a(0x34f)];else _0x40cd15[_0x2d908a(0x34f)]&&typeof _0x40cd15[_0x2d908a(0x34f)]===_0x2d908a(0x1fd)?_0x26b05a=_0x40cd15[_0x2d908a(0x34f)][_0x2d908a(0x34f)]||_0x2d908a(0x3fc):_0x26b05a='TEXT';const _0x2c2490=_0x40cd15[_0x2d908a(0x2b4)],_0x47d5a1=this[_0x2d908a(0x2f0)](_0xca3ff);if(_0x47d5a1?.[_0x2d908a(0x466)]())return;_0x38f1f5[_0xca3ff]=this[_0x2d908a(0x40f)](_0xca3ff,_0x26b05a,_0x47d5a1?.[_0x2d908a(0x365)](),{'isPrimaryKey':![],'description':_0x2c2490||_0x47d5a1?.['description']||_0x47d5a1?.[_0x2d908a(0x254)]});}),_0x38f1f5;}[a0_0x11fa2b(0x298)](){return this['generateHTTPRequestExample']();}['generateSDKCallCode'](_0x5844c3,_0x5bdf09){const _0x181cbc=a0_0x11fa2b,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5bdf09||{},_0x436727=this[_0x181cbc(0x2da)]();if(useFullExample){const _0x2b7023=this[_0x181cbc(0x290)](),_0xcb1feb=JSON['stringify'](_0x2b7023[_0x181cbc(0x31d)],null,0x2)[_0x181cbc(0x31c)]('\x0a')['map']((_0x9c6438,_0x4748ea)=>_0x4748ea===0x0?_0x9c6438:indent+_0x9c6438)[_0x181cbc(0x33f)]('\x0a');return _0x181cbc(0x39e)+_0x5844c3+'.'+_0x436727+'('+_0x2b7023['id']+',\x20'+_0xcb1feb+');';}return _0x181cbc(0x39e)+_0x5844c3+'.'+_0x436727+_0x181cbc(0x1e0);}}class AggregateOperation extends GenericOperation{constructor(_0x461ece,_0x1382e6,_0xca66f8){super(_0x461ece,_0x1382e6,_0xca66f8);}[a0_0x11fa2b(0x26a)](_0x2135c7){const _0x45c4f3=a0_0x11fa2b;return _0x2135c7[_0x45c4f3(0x20d)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x45c4f3(0x1e1)]()[_0x45c4f3(0x405)]();}[a0_0x11fa2b(0x2cb)](){return AGGREGATE_FUNCTIONS;}[a0_0x11fa2b(0x375)](){const _0x37bef0=a0_0x11fa2b,_0x4eac50=super[_0x37bef0(0x375)](),_0x481b13={};_0x481b13[_0x37bef0(0x34f)]=_0x37bef0(0x2b0),_0x481b13[_0x37bef0(0x2b4)]=_0x37bef0(0x369),_0x481b13[_0x37bef0(0x224)]=![];const _0x245875={};_0x245875[_0x37bef0(0x34f)]='Object',_0x245875[_0x37bef0(0x2b4)]=_0x37bef0(0x45a),_0x245875[_0x37bef0(0x224)]=![];const _0x17f818={};_0x17f818[_0x37bef0(0x34f)]='String[]',_0x17f818[_0x37bef0(0x2b4)]=_0x37bef0(0x27c),_0x17f818[_0x37bef0(0x224)]=![];const _0xc2cb35={};_0xc2cb35['type']=_0x37bef0(0x256),_0xc2cb35[_0x37bef0(0x2b4)]=_0x37bef0(0x3f5),_0xc2cb35[_0x37bef0(0x224)]=![];const _0x3b5b75={};_0x3b5b75[_0x37bef0(0x34f)]=_0x37bef0(0x256),_0x3b5b75['description']=_0x37bef0(0x22e),_0x3b5b75['required']=![];const _0x51f982={};_0x51f982[_0x37bef0(0x34f)]='Array',_0x51f982[_0x37bef0(0x2b4)]='排序规则(与\x20Filter\x20API\x20一致)',_0x51f982[_0x37bef0(0x224)]=![];const _0x2edc06={};_0x2edc06[_0x37bef0(0x34f)]=_0x37bef0(0x30b),_0x2edc06['description']=_0x37bef0(0x428),_0x2edc06[_0x37bef0(0x224)]=![];const _0x5935bb={};_0x5935bb[_0x37bef0(0x34f)]=_0x37bef0(0x30b),_0x5935bb[_0x37bef0(0x2b4)]=_0x37bef0(0x331),_0x5935bb[_0x37bef0(0x224)]=![];const _0x2355ff={..._0x4eac50};return _0x2355ff[_0x37bef0(0x2b8)]=_0x481b13,_0x2355ff['where']=_0x245875,_0x2355ff[_0x37bef0(0x347)]=_0x17f818,_0x2355ff[_0x37bef0(0x34b)]=_0xc2cb35,_0x2355ff['having']=_0x3b5b75,_0x2355ff[_0x37bef0(0x41f)]=_0x51f982,_0x2355ff['currentPage']=_0x2edc06,_0x2355ff['pageSize']=_0x5935bb,_0x2355ff;}[a0_0x11fa2b(0x46d)](){const _0x29fb41=a0_0x11fa2b,_0x212d3e={};_0x212d3e[_0x29fb41(0x3e6)]=_0x29fb41(0x2b8),_0x212d3e['type']='String[]',_0x212d3e['description']=_0x29fb41(0x369);const _0x175de7={};_0x175de7[_0x29fb41(0x3e6)]=_0x29fb41(0x32d),_0x175de7[_0x29fb41(0x34f)]=_0x29fb41(0x217),_0x175de7[_0x29fb41(0x2b4)]='查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)';const _0x2f18bd={};_0x2f18bd[_0x29fb41(0x3e6)]=_0x29fb41(0x347),_0x2f18bd['type']=_0x29fb41(0x2b0),_0x2f18bd['description']='分组字段列表';const _0x2ad4f1={};_0x2ad4f1[_0x29fb41(0x3e6)]=_0x29fb41(0x34b),_0x2ad4f1[_0x29fb41(0x34f)]='Array',_0x2ad4f1[_0x29fb41(0x2b4)]=_0x29fb41(0x278);const _0x33a1c7={};_0x33a1c7[_0x29fb41(0x3e6)]=_0x29fb41(0x348),_0x33a1c7[_0x29fb41(0x34f)]='Array',_0x33a1c7[_0x29fb41(0x2b4)]=_0x29fb41(0x22e);const _0x68d967={};_0x68d967['code']=_0x29fb41(0x41f),_0x68d967[_0x29fb41(0x34f)]=_0x29fb41(0x256),_0x68d967['description']=_0x29fb41(0x1f6);const _0x32f715={};_0x32f715['code']=_0x29fb41(0x255),_0x32f715[_0x29fb41(0x34f)]=_0x29fb41(0x30b),_0x32f715['description']=_0x29fb41(0x428);const _0x25a4e4={};return _0x25a4e4[_0x29fb41(0x3e6)]='pageSize',_0x25a4e4['type']=_0x29fb41(0x30b),_0x25a4e4[_0x29fb41(0x2b4)]=_0x29fb41(0x331),[_0x212d3e,_0x175de7,_0x2f18bd,_0x2ad4f1,_0x33a1c7,_0x68d967,_0x32f715,_0x25a4e4];}[a0_0x11fa2b(0x290)](){const _0x269fc3=a0_0x11fa2b,_0x61e27a=this['context'][_0x269fc3(0x38d)]||[];if(_0x61e27a[_0x269fc3(0x3e4)]===0x0){const _0x2e0836={};return _0x2e0836[_0x269fc3(0x32d)]={},_0x2e0836[_0x269fc3(0x347)]=[],_0x2e0836[_0x269fc3(0x34b)]=[],_0x2e0836;}const _0x442243={},_0x540942=_0x61e27a['slice'](0x0,Math[_0x269fc3(0x433)](0x3,_0x61e27a[_0x269fc3(0x3e4)]));_0x540942[_0x269fc3(0x3d2)](_0x26e60e=>{const _0x16fac9=_0x269fc3,_0x4b9fea=this[_0x16fac9(0x43d)](_0x26e60e);if(_0x4b9fea['length']===0x0)return;const _0x405e5d=this[_0x16fac9(0x417)](_0x26e60e,_0x4b9fea),_0x17f600=this['generateExampleValue'](_0x26e60e,_0x405e5d),_0x3a8990={};_0x3a8990[_0x405e5d]=_0x17f600,_0x442243[_0x26e60e[_0x16fac9(0x3e6)]]=_0x3a8990;});const _0x10b1fd=_0x61e27a['slice'](0x0,Math['min'](0x2,_0x61e27a[_0x269fc3(0x3e4)]))[_0x269fc3(0x427)](_0x261a3=>_0x261a3['code']),_0x216bcb=[],_0x1674b1=_0x61e27a['filter'](_0x24fc5d=>this[_0x269fc3(0x223)](_0x24fc5d));if(_0x1674b1['length']>0x0){const _0x12424c=_0x1674b1[0x0],_0x47be83=_0x12424c[_0x269fc3(0x3e6)],_0x3010f5={};_0x3010f5[_0x269fc3(0x34f)]=_0x269fc3(0x32e),_0x3010f5[_0x269fc3(0x439)]=_0x47be83,_0x3010f5['alias']=_0x47be83+_0x269fc3(0x410),_0x3010f5[_0x269fc3(0x378)]=![],_0x3010f5[_0x269fc3(0x281)]=!![],_0x3010f5[_0x269fc3(0x31a)]=0x2,_0x216bcb[_0x269fc3(0x2eb)](_0x3010f5);const _0x1d8be1={};_0x1d8be1[_0x269fc3(0x34f)]=_0x269fc3(0x3e7),_0x1d8be1[_0x269fc3(0x439)]=_0x47be83,_0x1d8be1[_0x269fc3(0x3f3)]=_0x47be83+_0x269fc3(0x3b9),_0x1d8be1['distinct']=![],_0x1d8be1[_0x269fc3(0x281)]=!![],_0x1d8be1[_0x269fc3(0x31a)]=0x2,_0x216bcb['push'](_0x1d8be1);const _0x208863={};_0x208863[_0x269fc3(0x34f)]=_0x269fc3(0x388),_0x208863[_0x269fc3(0x439)]=_0x47be83,_0x208863[_0x269fc3(0x3f3)]=_0x47be83+_0x269fc3(0x3c0),_0x208863['distinct']=![],_0x208863['round']=!![],_0x208863[_0x269fc3(0x31a)]=0x2,_0x216bcb['push'](_0x208863);const _0x373f03={};_0x373f03[_0x269fc3(0x34f)]=_0x269fc3(0x433),_0x373f03[_0x269fc3(0x439)]=_0x47be83,_0x373f03[_0x269fc3(0x3f3)]=_0x47be83+_0x269fc3(0x3c7),_0x373f03[_0x269fc3(0x378)]=![],_0x373f03[_0x269fc3(0x281)]=!![],_0x373f03['precision']=0x2,_0x216bcb[_0x269fc3(0x2eb)](_0x373f03);}else{if(_0x61e27a[_0x269fc3(0x3e4)]>0x0){const _0x14d2a6=_0x61e27a[0x0],_0x54dd9c=_0x14d2a6[_0x269fc3(0x3e6)],_0x50dc2f={};_0x50dc2f[_0x269fc3(0x34f)]='count',_0x50dc2f[_0x269fc3(0x439)]=_0x54dd9c,_0x50dc2f['alias']=_0x269fc3(0x376),_0x50dc2f[_0x269fc3(0x378)]=!![],_0x216bcb['push'](_0x50dc2f);}}const _0x2841db=[];if(_0x61e27a['length']>0x0){const _0x49f968=_0x61e27a[0x0][_0x269fc3(0x3e6)],_0x44149f={};_0x44149f[_0x49f968]='desc',_0x2841db['push'](_0x44149f);}const _0x3e3338=[..._0x10b1fd,..._0x216bcb[_0x269fc3(0x427)](_0x5360e4=>_0x5360e4[_0x269fc3(0x3f3)])],_0x9b7ba=[];if(_0x216bcb['length']>0x0){const _0x2ddb93={};_0x2ddb93['$gte']=0x0;const _0x4f1a05={};_0x4f1a05['columnName']=_0x216bcb[0x0]['alias'],_0x4f1a05['condition']=_0x2ddb93,_0x9b7ba[_0x269fc3(0x2eb)](_0x4f1a05);}const _0x439fdf={};return _0x439fdf['select']=_0x3e3338,_0x439fdf[_0x269fc3(0x32d)]=_0x442243,_0x439fdf['groupBy']=_0x10b1fd,_0x439fdf[_0x269fc3(0x34b)]=_0x216bcb,_0x439fdf[_0x269fc3(0x348)]=_0x9b7ba[_0x269fc3(0x3e4)]>0x0?_0x9b7ba:undefined,_0x439fdf[_0x269fc3(0x41f)]=_0x2841db,_0x439fdf[_0x269fc3(0x255)]=0x1,_0x439fdf[_0x269fc3(0x462)]=0x14,_0x439fdf;}[a0_0x11fa2b(0x3ab)](_0x5ec69d,_0x170860){const _0x439a9b=a0_0x11fa2b,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x170860||{},_0x554dd6=this['getName'](),_0x5d6db9=this['generateRequestExample'](),_0x21f7b6=_0x1f9cdd=>{const _0x2343cd=a0_0x4f1f;return JSON[_0x2343cd(0x310)](_0x1f9cdd,null,0x2)['split']('\x0a')[_0x2343cd(0x427)]((_0x2390d5,_0x3cf3ca)=>_0x3cf3ca===0x0?_0x2390d5:indent+_0x2390d5)[_0x2343cd(0x33f)]('\x0a');};if(useFullExample){const _0x486b5b=this[_0x439a9b(0x23f)][_0x439a9b(0x38d)]||[],_0x142729=_0x486b5b[_0x439a9b(0x3f8)](_0x3c6802=>this[_0x439a9b(0x223)](_0x3c6802)),_0x4809bc={'where':_0x486b5b[0x0]?{[_0x486b5b[0x0][_0x439a9b(0x3e6)]]:{'$eq':this[_0x439a9b(0x341)](_0x486b5b[0x0],_0x439a9b(0x201))}}:{},'aggregate':_0x142729[_0x439a9b(0x3e4)]>0x0?[{'type':_0x439a9b(0x32e),'column':_0x142729[0x0][_0x439a9b(0x3e6)],'alias':_0x142729[0x0][_0x439a9b(0x3e6)]+_0x439a9b(0x410),'distinct':![],'round':!![],'precision':0x2}]:[{'type':'count','column':_0x486b5b[0x0]['code'],'alias':_0x439a9b(0x376),'distinct':!![]}],'orderBy':[{[_0x486b5b[0x0]['code']]:'desc'}]};let _0x3e6262='';return _0x486b5b['length']>=0x3&&(_0x3e6262='\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x5ec69d+'.'+_0x554dd6+'('+_0x21f7b6(_0x5d6db9)+');'),_0x439a9b(0x46e)+_0x5ec69d+'.'+_0x554dd6+'('+_0x21f7b6(_0x4809bc)+');'+_0x3e6262;}const _0x2d3e2d=JSON['stringify'](_0x5d6db9,null,0x2)[_0x439a9b(0x31c)]('\x0a')['map']((_0xaaac53,_0xbb0952)=>_0xbb0952===0x0?_0xaaac53:indent+_0xaaac53)[_0x439a9b(0x33f)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x5ec69d+'.'+_0x554dd6+'('+_0x2d3e2d+');';}[a0_0x11fa2b(0x223)](_0x5971fc){const _0x22b646=a0_0x11fa2b,_0x5f460b=_0x5971fc[_0x22b646(0x365)]();return[_0x22b646(0x2fe),_0x22b646(0x250),_0x22b646(0x333),'DECIMAL']['includes'](_0x5f460b)||[_0x22b646(0x2b9),_0x22b646(0x45f),_0x22b646(0x272),_0x22b646(0x2b2),_0x22b646(0x29a)]['includes'](_0x5f460b);}[a0_0x11fa2b(0x43d)](_0xc5d4b1){const _0x20cdd2=a0_0x11fa2b,_0x23f171=_0xc5d4b1['getDbTypeForOperation'](),_0x5ee016=[];if([_0x20cdd2(0x2fe),_0x20cdd2(0x250),_0x20cdd2(0x333),_0x20cdd2(0x2cf)][_0x20cdd2(0x3c3)](_0x23f171)||['INT','TINYINT',_0x20cdd2(0x272),_0x20cdd2(0x2b2),_0x20cdd2(0x29a)][_0x20cdd2(0x3c3)](_0x23f171))_0x5ee016[_0x20cdd2(0x2eb)](_0x20cdd2(0x201),'$ne',_0x20cdd2(0x483),_0x20cdd2(0x3b8),_0x20cdd2(0x323),'$lteq',_0x20cdd2(0x226));else{if(['STRING',_0x20cdd2(0x3fc),'VARCHAR'][_0x20cdd2(0x3c3)](_0x23f171)||['CHAR','LONGTEXT']['includes'](_0x23f171))_0x5ee016['push'](_0x20cdd2(0x201),_0x20cdd2(0x3e8),'$in',_0x20cdd2(0x2b5),'$startWith',_0x20cdd2(0x320));else{if(['DATE',_0x20cdd2(0x32f),'TIMESTAMP'][_0x20cdd2(0x3c3)](_0x23f171)||['TIME'][_0x20cdd2(0x3c3)](_0x23f171))_0x5ee016['push']('$eq',_0x20cdd2(0x3e8),_0x20cdd2(0x483),_0x20cdd2(0x3b8),_0x20cdd2(0x323),_0x20cdd2(0x437));else['BOOLEAN','BOOL',_0x20cdd2(0x30c)][_0x20cdd2(0x3c3)](_0x23f171)?_0x5ee016['push']('$eq',_0x20cdd2(0x3e8)):_0x5ee016[_0x20cdd2(0x2eb)](_0x20cdd2(0x201),_0x20cdd2(0x3e8));}}return _0x5ee016;}[a0_0x11fa2b(0x417)](_0x5eae4e,_0x4af0ac){const _0x4d21f8=a0_0x11fa2b,_0xf66a84=_0x5eae4e[_0x4d21f8(0x365)]();if([_0x4d21f8(0x2fe),_0x4d21f8(0x250),_0x4d21f8(0x333),'DECIMAL'][_0x4d21f8(0x3c3)](_0xf66a84)||[_0x4d21f8(0x2b9),_0x4d21f8(0x45f),'SMALLINT',_0x4d21f8(0x2b2),_0x4d21f8(0x29a)][_0x4d21f8(0x3c3)](_0xf66a84))return _0x4af0ac['includes'](_0x4d21f8(0x483))?_0x4d21f8(0x483):_0x4d21f8(0x201);if([_0x4d21f8(0x46f),'TEXT',_0x4d21f8(0x1f2)][_0x4d21f8(0x3c3)](_0xf66a84)||[_0x4d21f8(0x390),'LONGTEXT'][_0x4d21f8(0x3c3)](_0xf66a84))return _0x4af0ac[_0x4d21f8(0x3c3)](_0x4d21f8(0x2b5))?_0x4d21f8(0x2b5):'$eq';if([_0x4d21f8(0x23b),_0x4d21f8(0x32f),'TIMESTAMP','TIME'][_0x4d21f8(0x3c3)](_0xf66a84))return _0x4af0ac[_0x4d21f8(0x3c3)](_0x4d21f8(0x483))?_0x4d21f8(0x483):_0x4d21f8(0x201);return _0x4d21f8(0x201);}[a0_0x11fa2b(0x341)](_0x17b27d,_0x134d8c){const _0x215876=a0_0x11fa2b,_0x10da64=_0x17b27d[_0x215876(0x365)](),_0x5c6a82=_0x17b27d['getEnumOptions']();if(_0x5c6a82&&_0x5c6a82[_0x215876(0x3e4)]>0x0){if(_0x134d8c===_0x215876(0x226))return _0x5c6a82[_0x215876(0x313)](0x0,0x2)[_0x215876(0x427)](_0x4378c4=>_0x4378c4[_0x215876(0x45c)]);return _0x5c6a82[0x0]['value'];}if([_0x215876(0x2fe),_0x215876(0x250),_0x215876(0x333),_0x215876(0x2cf)][_0x215876(0x3c3)](_0x10da64)||[_0x215876(0x2b9),_0x215876(0x45f),_0x215876(0x272),'DOUBLE',_0x215876(0x29a)][_0x215876(0x3c3)](_0x10da64)){if(_0x134d8c===_0x215876(0x226))return[0x1,0x2,0x3];if(_0x134d8c===_0x215876(0x483)||_0x134d8c===_0x215876(0x323))return 0x0;if(_0x134d8c===_0x215876(0x3b8)||_0x134d8c===_0x215876(0x437))return 0x64;return 0x1;}if(['STRING',_0x215876(0x3fc),_0x215876(0x1f2)][_0x215876(0x3c3)](_0x10da64)||[_0x215876(0x390),'LONGTEXT'][_0x215876(0x3c3)](_0x10da64)){if(_0x134d8c===_0x215876(0x226))return[_0x215876(0x261),_0x215876(0x3ea)];if(_0x134d8c===_0x215876(0x2b5))return _0x215876(0x311);if(_0x134d8c===_0x215876(0x26f))return _0x215876(0x316);if(_0x134d8c==='$endWith')return _0x215876(0x399);return _0x215876(0x45c);}if(['DATE',_0x215876(0x32f),_0x215876(0x216),'TIME']['includes'](_0x10da64)){if(_0x134d8c===_0x215876(0x483)||_0x134d8c===_0x215876(0x323))return _0x215876(0x36e);if(_0x134d8c===_0x215876(0x3b8)||_0x134d8c==='$lteq')return _0x215876(0x44e);return _0x215876(0x36e);}if([_0x215876(0x1e6),'BOOL',_0x215876(0x30c)][_0x215876(0x3c3)](_0x10da64))return!![];return _0x134d8c==='$in'?[_0x215876(0x261),'value2']:_0x215876(0x45c);}[a0_0x11fa2b(0x3b1)](){const _0x10b4c6=a0_0x11fa2b,_0x117926=this[_0x10b4c6(0x375)](),_0x1a114e=Object[_0x10b4c6(0x472)](_0x117926)[_0x10b4c6(0x3f8)](([_0x1ccef1])=>_0x1ccef1!=='currentPage'&&_0x1ccef1!==_0x10b4c6(0x462))[_0x10b4c6(0x427)](([_0x136743,_0x3bcee1])=>{const _0x51bb56=_0x10b4c6,_0x2d7521=_0x3bcee1,_0x7d8726={};return _0x7d8726['name']=_0x136743,_0x7d8726[_0x51bb56(0x34f)]=_0x2d7521[_0x51bb56(0x34f)]||_0x51bb56(0x3ef),_0x7d8726[_0x51bb56(0x2b4)]=_0x2d7521[_0x51bb56(0x2b4)]||'-',_0x7d8726['required']=_0x2d7521[_0x51bb56(0x224)],_0x7d8726;}),_0x3a31ec={};return _0x3a31ec['description']=_0x10b4c6(0x3fb),_0x3a31ec[_0x10b4c6(0x244)]=_0x1a114e,_0x3a31ec;}[a0_0x11fa2b(0x424)](){const _0x1baa46=a0_0x11fa2b,_0x2ffe4b=this[_0x1baa46(0x290)]()[_0x1baa46(0x34b)],_0xb9619c=[{}],_0xa2c502=[];_0x2ffe4b?.['forEach'](_0x253900=>{const _0x2db8e6=_0x1baa46,_0x32f69a={};_0x32f69a['title']=_0x253900[_0x2db8e6(0x3f3)],_0x32f69a[_0x2db8e6(0x2fb)]=_0x253900[_0x2db8e6(0x3f3)],_0xa2c502['push'](_0x32f69a),_0xb9619c[0x0][_0x253900['alias']]=_0x253900[_0x2db8e6(0x34f)]===_0x2db8e6(0x47e)?0x64:Math[_0x2db8e6(0x281)](Math['random']()*0x64*0x64)/0x64;});const _0x99875f={};_0x99875f[_0x1baa46(0x462)]=0x1,_0x99875f['totalCount']=0x64,_0x99875f[_0x1baa46(0x255)]=0x1;const _0x4cf685={};_0x4cf685['paging']=_0x99875f,_0x4cf685['tableData']=_0xb9619c,_0x4cf685[_0x1baa46(0x324)]=_0xa2c502;const _0xa10041={};return _0xa10041[_0x1baa46(0x3cd)]=!![],_0xa10041[_0x1baa46(0x2f5)]='',_0xa10041['errorMsg']='',_0xa10041[_0x1baa46(0x39b)]=_0x1baa46(0x43f),_0xa10041[_0x1baa46(0x31d)]=_0x4cf685,_0xa10041['params']=null,_0xa10041;}}class OperationFactory{[a0_0x11fa2b(0x46c)](_0x3286d6,_0x47ae55,_0xc8d105){const _0x113056=a0_0x11fa2b;switch(_0x3286d6){case'getSelectOptions':return new GetSelectOptionsOperation(_0x3286d6,_0x47ae55,_0xc8d105);case'getList':return new GetListOperation(_0x3286d6,_0x47ae55,_0xc8d105);case _0x113056(0x3f8):return new FilterOperation(_0x3286d6,_0x47ae55,_0xc8d105);case _0x113056(0x32c):return new ExcelExportOperation(_0x3286d6,_0x47ae55,_0xc8d105);case _0x113056(0x352):return new UpdateOperation(_0x3286d6,_0x47ae55,_0xc8d105);case'aggregate':return new AggregateOperation(_0x3286d6,_0x47ae55,_0xc8d105);default:return new GenericOperation(_0x3286d6,_0x47ae55,_0xc8d105);}}[a0_0x11fa2b(0x3ee)](_0x31a033,_0x5f57d7){const _0x56c718=a0_0x11fa2b,_0x1b5017=new Map();return Object[_0x56c718(0x472)](_0x31a033)[_0x56c718(0x3d2)](([_0x420499,_0x32eb34])=>{const _0x57bb4a=_0x56c718;_0x1b5017[_0x57bb4a(0x3c6)](_0x420499,this[_0x57bb4a(0x46c)](_0x420499,_0x32eb34,_0x5f57d7));}),_0x1b5017;}}class OperationList{[a0_0x11fa2b(0x1ee)];constructor(_0x39fcb1,_0x320a8a){const _0x3faa9d=a0_0x11fa2b,_0xeb7c70=new OperationFactory();this[_0x3faa9d(0x1ee)]=_0xeb7c70[_0x3faa9d(0x3ee)](_0x39fcb1,_0x320a8a);}[a0_0x11fa2b(0x3ca)](_0x4baae3){const _0x162a58=a0_0x11fa2b;return this[_0x162a58(0x1ee)][_0x162a58(0x3ca)](_0x4baae3);}[a0_0x11fa2b(0x221)](_0x665723){const _0x469b8d=a0_0x11fa2b;return this[_0x469b8d(0x1ee)][_0x469b8d(0x221)](_0x665723);}['size'](){const _0x49f733=a0_0x11fa2b;return this[_0x49f733(0x1ee)]['size'];}[a0_0x11fa2b(0x1e3)](){const _0x8721cf=a0_0x11fa2b;return Array[_0x8721cf(0x447)](this[_0x8721cf(0x1ee)]['keys']());}[a0_0x11fa2b(0x47d)](){const _0x4b62ec=a0_0x11fa2b,_0x1f661a=Array['from'](this['_operations'][_0x4b62ec(0x372)]());return this[_0x4b62ec(0x3cf)](_0x1f661a);}[a0_0x11fa2b(0x3bc)](){const _0x2a268e=a0_0x11fa2b;return this[_0x2a268e(0x47d)]()['filter'](_0x536ba6=>_0x536ba6['isEnabled']());}[a0_0x11fa2b(0x270)](){const _0x993359=a0_0x11fa2b;return this[_0x993359(0x47d)]()[_0x993359(0x3f8)](_0x26eb15=>!_0x26eb15['isEnabled']());}[a0_0x11fa2b(0x392)](){const _0x309cb7=a0_0x11fa2b;return this[_0x309cb7(0x3bc)]()['map'](_0x5cf496=>_0x5cf496[_0x309cb7(0x2da)]());}['getDisabledNames'](){const _0x4e5b2a=a0_0x11fa2b;return this[_0x4e5b2a(0x270)]()['map'](_0x53ae54=>_0x53ae54[_0x4e5b2a(0x2da)]());}['getByType'](_0x37d59d){const _0x19bb4c=a0_0x11fa2b;return this['toArray']()[_0x19bb4c(0x3f8)](_0x20e6c0=>_0x20e6c0[_0x19bb4c(0x3af)]()===_0x37d59d);}[a0_0x11fa2b(0x3f8)](_0x1720d4){const _0x1768fa=a0_0x11fa2b;return this[_0x1768fa(0x47d)]()[_0x1768fa(0x3f8)](_0x1720d4);}['getFiltered'](_0x4532ca={}){const _0x30e684=a0_0x11fa2b;let _0x1a6c3c=this['toArray']();!_0x4532ca['includeDisabled']&&(_0x1a6c3c=_0x1a6c3c['filter'](_0x1ef889=>_0x1ef889[_0x30e684(0x456)]()));if(_0x4532ca[_0x30e684(0x252)]!==![]){const _0x1d112f=_0x1a6c3c[_0x30e684(0x427)](_0x205b19=>({'name':_0x205b19[_0x30e684(0x2da)](),'operation':_0x205b19})),_0xf0f0d9=filterApiOperations(_0x1d112f);_0x1a6c3c=_0xf0f0d9[_0x30e684(0x427)](_0x5ae6f8=>_0x5ae6f8[_0x30e684(0x327)]),_0x1a6c3c=this[_0x30e684(0x3cf)](_0x1a6c3c);}return _0x4532ca[_0x30e684(0x473)]&&(_0x1a6c3c=_0x1a6c3c[_0x30e684(0x3f8)](_0x4532ca[_0x30e684(0x473)])),_0x1a6c3c;}['sortOperationsWithFilterFirst'](_0x1d8c18){const _0x12a0cd=a0_0x11fa2b,_0x38ec2a=_0x1d8c18['find'](_0x44a748=>_0x44a748['getName']()==='filter'),_0x44e16f=_0x1d8c18['filter'](_0x3147a6=>_0x3147a6[_0x12a0cd(0x2da)]()!=='filter');return _0x38ec2a?[_0x38ec2a,..._0x44e16f]:_0x44e16f;}[a0_0x11fa2b(0x3e2)](){const _0x3addeb=a0_0x11fa2b,_0xfe331b=this['getEnabled']();return{'total':this[_0x3addeb(0x200)](),'enabled':_0xfe331b[_0x3addeb(0x3e4)],'disabled':this[_0x3addeb(0x200)]()-_0xfe331b[_0x3addeb(0x3e4)],'byType':this[_0x3addeb(0x3b4)](_0xfe331b),'byMethod':this[_0x3addeb(0x442)](_0xfe331b)};}[a0_0x11fa2b(0x3b4)](_0x299791){const _0x473a3c=a0_0x11fa2b,_0xf20b6b={};return _0x299791[_0x473a3c(0x3d2)](_0x5092eb=>{const _0x4463e2=_0x473a3c,_0x113929=_0x5092eb[_0x4463e2(0x3af)]();_0x113929&&(_0xf20b6b[_0x113929]=(_0xf20b6b[_0x113929]||0x0)+0x1);}),_0xf20b6b;}[a0_0x11fa2b(0x442)](_0x2c44e3){const _0x12ab36=a0_0x11fa2b,_0x54afc5={};return _0x2c44e3[_0x12ab36(0x3d2)](_0xba1812=>{const _0x1d8fc2=_0x12ab36,_0x42e80c=_0xba1812[_0x1d8fc2(0x27e)]();_0x42e80c&&(_0x54afc5[_0x42e80c]=(_0x54afc5[_0x42e80c]||0x0)+0x1);}),_0x54afc5;}[Symbol[a0_0x11fa2b(0x2e7)]](){const _0x4cf056=a0_0x11fa2b;return this[_0x4cf056(0x1ee)][_0x4cf056(0x372)]();}[a0_0x11fa2b(0x22d)](){const _0x9fd19f=a0_0x11fa2b,_0x167184=this[_0x9fd19f(0x3e2)]();return _0x9fd19f(0x3d5)+_0x167184['enabled']+'/'+_0x167184[_0x9fd19f(0x35f)]+'\x20operations)';}}class DBConfig{[a0_0x11fa2b(0x3c1)];[a0_0x11fa2b(0x1fe)];[a0_0x11fa2b(0x271)];[a0_0x11fa2b(0x203)];[a0_0x11fa2b(0x291)];['tableName'];[a0_0x11fa2b(0x459)];['pkField'];[a0_0x11fa2b(0x338)];[a0_0x11fa2b(0x1fa)];constructor(_0x108d94,_0x48cee4){const _0x3042eb=a0_0x11fa2b;this[_0x3042eb(0x3c1)]=_0x48cee4,this[_0x3042eb(0x1fe)]=_0x108d94['dbId'],this['dbName']=_0x108d94['dbName'],this['dbType']=_0x108d94[_0x3042eb(0x203)],this['dbVersion']=_0x108d94[_0x3042eb(0x291)],this[_0x3042eb(0x42a)]=_0x108d94[_0x3042eb(0x42a)],this['datasetKey']=_0x108d94['datasetKey'],this['pkField']=_0x108d94[_0x3042eb(0x2ca)],this[_0x3042eb(0x338)]=_0x108d94['tenantCode'],this[_0x3042eb(0x1fa)]=_0x108d94[_0x3042eb(0x1fa)];}[a0_0x11fa2b(0x3da)](){const _0x1a776d=a0_0x11fa2b;return this[_0x1a776d(0x3c1)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x11fa2b(0x36f)];['_fieldList'];[a0_0x11fa2b(0x2ff)];constructor(_0x45106f){const _0x5568d4=a0_0x11fa2b,_0x322888={..._0x45106f};_0x322888['id']=_0x45106f[_0x5568d4(0x340)]||_0x45106f['id'],_0x322888[_0x5568d4(0x349)]=_0x45106f[_0x5568d4(0x386)]||_0x45106f[_0x5568d4(0x349)]||_0x45106f[_0x5568d4(0x3e6)],super(_0x322888);}[a0_0x11fa2b(0x2c3)](){return;}[a0_0x11fa2b(0x219)](){return[];}[a0_0x11fa2b(0x393)](){return[];}get[a0_0x11fa2b(0x202)](){const _0x46217a=a0_0x11fa2b;return this[_0x46217a(0x425)]();}[a0_0x11fa2b(0x21a)](){const _0x871103=a0_0x11fa2b;if(!this[_0x871103(0x2b1)]){const _0x25bdf0=this[_0x871103(0x414)]();throw new Error(_0x871103(0x38e));}return this[_0x871103(0x2b1)];}[a0_0x11fa2b(0x452)](){const _0x67b953=a0_0x11fa2b;if(!this[_0x67b953(0x2ff)]){const _0x3e3871=this[_0x67b953(0x414)]();throw new Error(_0x67b953(0x21f));}return this['_fieldListWithDeleted'];}[a0_0x11fa2b(0x43b)](){return[];}[a0_0x11fa2b(0x434)](){const _0x47494d=a0_0x11fa2b,_0x14faeb=this[_0x47494d(0x414)]();return _0x14faeb[_0x47494d(0x38d)];}[a0_0x11fa2b(0x381)](){const _0x354b40=a0_0x11fa2b;return this['getFields']()[_0x354b40(0x3e4)];}[a0_0x11fa2b(0x37e)](_0x37fdc9){const _0x5f4917=a0_0x11fa2b,_0x1138a6=this[_0x5f4917(0x387)](_0x37fdc9);return _0x1138a6?_0x1138a6[_0x5f4917(0x3c1)]:undefined;}[a0_0x11fa2b(0x3a8)](_0x1b354d){return;}['parseFieldExtend'](_0x488359){const _0x45b1ab=a0_0x11fa2b;if(!_0x488359||typeof _0x488359!==_0x45b1ab(0x1fd))return!![]&&console[_0x45b1ab(0x2b3)](_0x45b1ab(0x44a),_0x488359),{};if(_0x45b1ab(0x2ca)in _0x488359){const _0x5cb741=_0x488359;return{'primaryKey':typeof _0x5cb741['pkField']===_0x45b1ab(0x364)?_0x5cb741[_0x45b1ab(0x2ca)]:Boolean(_0x5cb741[_0x45b1ab(0x2ca)]),'required':_0x5cb741[_0x45b1ab(0x224)],'systemRetain':Boolean(_0x5cb741[_0x45b1ab(0x1dd)]),'autoIncrement':_0x5cb741[_0x45b1ab(0x2ef)]??undefined};}if(!(_0x45b1ab(0x2bb)in _0x488359)||!_0x488359[_0x45b1ab(0x2bb)])return{};try{const _0x5191e7=typeof _0x488359[_0x45b1ab(0x2bb)]===_0x45b1ab(0x481)?JSON[_0x45b1ab(0x435)](_0x488359[_0x45b1ab(0x2bb)]):_0x488359[_0x45b1ab(0x2bb)];if(typeof _0x5191e7!==_0x45b1ab(0x1fd)||_0x5191e7===null)return{};return _0x5191e7;}catch{return{};}}[a0_0x11fa2b(0x26b)](){const _0x20c039=a0_0x11fa2b;if(!this[_0x20c039(0x36f)]){const _0x340e95=this[_0x20c039(0x384)](this['getOperationsData']()||{});this[_0x20c039(0x36f)]=new OperationList(_0x340e95,{'fields':this[_0x20c039(0x21a)]()[_0x20c039(0x2ce)](),'pkField':this['_raw'][_0x20c039(0x1ec)]?.['pkField'],'dbtableConfig':this[_0x20c039(0x33d)]['dbtableConfig']||null});}return this[_0x20c039(0x36f)];}[a0_0x11fa2b(0x384)](_0xa00ea4){const _0x150491=a0_0x11fa2b;if(_0xa00ea4['filter']!==undefined)return _0xa00ea4;return{..._0xa00ea4,'filter':this[_0x150491(0x2b6)]()};}[a0_0x11fa2b(0x2b6)](){const _0x21a187=a0_0x11fa2b,_0x5d76a4=this['getOperationsData']()?.['getList'];let _0x38580b=_0x5d76a4?.['host'],_0x4056b9='';if(!_0x38580b&&this['getOperationsData']()){const _0x857cee=Object['values'](this[_0x21a187(0x277)]());for(const _0x1ddef5 of _0x857cee){if(_0x1ddef5&&typeof _0x1ddef5==='object'&&_0x21a187(0x354)in _0x1ddef5){_0x38580b=_0x1ddef5[_0x21a187(0x354)];break;}}}if(_0x5d76a4?.[_0x21a187(0x28f)]){const _0x341c6a=_0x5d76a4[_0x21a187(0x28f)],_0x2c93e0=_0x341c6a['lastIndexOf']('/');_0x2c93e0!==-0x1&&(_0x4056b9=_0x341c6a['substring'](0x0,_0x2c93e0));}const _0x9860c4={};_0x9860c4['name']=_0x21a187(0x32d),_0x9860c4[_0x21a187(0x34f)]=_0x21a187(0x1fd),_0x9860c4[_0x21a187(0x224)]=![];const _0x2297ef={};_0x2297ef[_0x21a187(0x254)]=_0x21a187(0x2b8),_0x2297ef['type']=_0x21a187(0x2e9),_0x2297ef[_0x21a187(0x224)]=![];const _0x3da458={};_0x3da458[_0x21a187(0x254)]=_0x21a187(0x41f),_0x3da458[_0x21a187(0x34f)]=_0x21a187(0x2e9),_0x3da458[_0x21a187(0x224)]=![];const _0x38526c={};_0x38526c[_0x21a187(0x254)]=_0x21a187(0x255),_0x38526c[_0x21a187(0x34f)]=_0x21a187(0x482),_0x38526c[_0x21a187(0x224)]=![],_0x38526c[_0x21a187(0x484)]=0x1;const _0x56ee1d={};_0x56ee1d[_0x21a187(0x254)]=_0x21a187(0x462),_0x56ee1d['type']=_0x21a187(0x482),_0x56ee1d[_0x21a187(0x224)]=![],_0x56ee1d[_0x21a187(0x484)]=0xa;const _0x51eac6={};return _0x51eac6[_0x21a187(0x254)]=_0x21a187(0x3f8),_0x51eac6[_0x21a187(0x34f)]=_0x21a187(0x292),_0x51eac6[_0x21a187(0x2b4)]=_0x21a187(0x245),_0x51eac6[_0x21a187(0x38a)]=_0x21a187(0x2c7),_0x51eac6[_0x21a187(0x354)]=_0x38580b,_0x51eac6['path']=_0x4056b9?_0x4056b9+_0x21a187(0x308):_0x21a187(0x308),_0x51eac6['params']=_0x5d76a4?.[_0x21a187(0x244)]||[_0x9860c4,_0x2297ef,_0x3da458,_0x38526c,_0x56ee1d],_0x51eac6['_autoGenerated']=!![],_0x51eac6;}[a0_0x11fa2b(0x40a)](){return this['getOperationList']()['toArray']();}['getOperationCount'](){const _0x206ad5=a0_0x11fa2b;return this[_0x206ad5(0x26b)]()[_0x206ad5(0x200)]();}[a0_0x11fa2b(0x3c5)](_0x335a85){const _0x382fe0=a0_0x11fa2b;if(typeof _0x335a85!=='string'){!![]&&console[_0x382fe0(0x2b3)](_0x382fe0(0x28c),_0x335a85);return;}return this['getOperationList']()[_0x382fe0(0x3ca)](_0x335a85);}[a0_0x11fa2b(0x42d)](_0x19f132){const _0x5ead92=a0_0x11fa2b;if(typeof _0x19f132!=='string')return![];return this[_0x5ead92(0x26b)]()[_0x5ead92(0x221)](_0x19f132);}[a0_0x11fa2b(0x1ef)](_0x3cc2b9){const _0x285f4d=a0_0x11fa2b;if(typeof _0x3cc2b9!==_0x285f4d(0x481))return![];const _0x791bd1=this[_0x285f4d(0x3c5)](_0x3cc2b9);return _0x791bd1?.[_0x285f4d(0x456)]()||![];}['getEnabledOperations'](){const _0x57f6d8=a0_0x11fa2b;return this['getOperationList']()[_0x57f6d8(0x392)]();}['getDisabledOperations'](){const _0x1a30e9=a0_0x11fa2b;return this[_0x1a30e9(0x26b)]()[_0x1a30e9(0x332)]();}['getEnabledOperationInstances'](){const _0x4c1f56=a0_0x11fa2b;return this[_0x4c1f56(0x26b)]()[_0x4c1f56(0x3bc)]();}[a0_0x11fa2b(0x258)](){const _0x13f106=a0_0x11fa2b;return this['getOperationList']()[_0x13f106(0x270)]();}[a0_0x11fa2b(0x215)](_0x11ee88={}){const _0x236764=a0_0x11fa2b;return this[_0x236764(0x26b)]()[_0x236764(0x3b0)](_0x11ee88);}[a0_0x11fa2b(0x3e2)](){const _0x2a20cb=a0_0x11fa2b;return{'fieldCount':this[_0x2a20cb(0x381)](),'systemFieldCount':this[_0x2a20cb(0x46d)]()[_0x2a20cb(0x3e4)],'businessFieldCount':this[_0x2a20cb(0x44d)]()[_0x2a20cb(0x3e4)],'requiredFieldCount':this[_0x2a20cb(0x38b)]()[_0x2a20cb(0x3e4)],'primaryKeyCount':this[_0x2a20cb(0x3dd)]()[_0x2a20cb(0x3e4)],'operationCount':this[_0x2a20cb(0x1e9)](),'enabledOperationCount':this['getEnabledOperations']()['length']};}[a0_0x11fa2b(0x301)](_0x33ec06){const _0x309e29=a0_0x11fa2b;if(!_0x33ec06||typeof _0x33ec06!=='object')return'';if(_0x309e29(0x3e6)in _0x33ec06&&typeof _0x33ec06[_0x309e29(0x3e6)]===_0x309e29(0x481))return _0x33ec06[_0x309e29(0x3e6)];if(_0x309e29(0x254)in _0x33ec06&&typeof _0x33ec06['name']===_0x309e29(0x481))return _0x33ec06[_0x309e29(0x254)];return'';}[a0_0x11fa2b(0x1f5)](_0x4dae3f){const _0xd3bbf0=a0_0x11fa2b;return this[_0xd3bbf0(0x21a)]()[_0xd3bbf0(0x221)](_0x4dae3f);}['isPrimaryKeyField'](_0x513ff1){const _0x5c6c83=a0_0x11fa2b;if(!_0x513ff1||typeof _0x513ff1!==_0x5c6c83(0x1fd))return![];const _0x54a614=this['getFieldCode'](_0x513ff1),_0x51b543=this[_0x5c6c83(0x387)](_0x54a614);return _0x51b543?_0x51b543[_0x5c6c83(0x466)]():![];}[a0_0x11fa2b(0x20c)](_0x410488){const _0x47fede=a0_0x11fa2b;if(!_0x410488||typeof _0x410488!==_0x47fede(0x1fd))return![];const _0x46030b=this[_0x47fede(0x301)](_0x410488),_0x10a4af=this[_0x47fede(0x387)](_0x46030b);return _0x10a4af?_0x10a4af['isSystem']():![];}['isRequiredField'](_0x17a95a){const _0x2dc0e8=a0_0x11fa2b;if(!_0x17a95a||typeof _0x17a95a!==_0x2dc0e8(0x1fd))return![];const _0x2592ea=this['getFieldCode'](_0x17a95a),_0x2a4d9b=this[_0x2dc0e8(0x387)](_0x2592ea);return _0x2a4d9b?_0x2a4d9b[_0x2dc0e8(0x383)]():![];}['isEnumField'](_0x12b81d){const _0x5cd10c=a0_0x11fa2b;if(!_0x12b81d||typeof _0x12b81d!=='object')return![];const _0x6d79b7=this[_0x5cd10c(0x301)](_0x12b81d),_0x26eb56=this[_0x5cd10c(0x387)](_0x6d79b7);return _0x26eb56?_0x26eb56['isEnum']():![];}[a0_0x11fa2b(0x1f7)](_0x1d0a5f){const _0x1b5efc=a0_0x11fa2b;if(!_0x1d0a5f||typeof _0x1d0a5f!==_0x1b5efc(0x1fd))return![];const _0x1540a1=this[_0x1b5efc(0x301)](_0x1d0a5f),_0x455555=this[_0x1b5efc(0x387)](_0x1540a1);return _0x455555?_0x455555[_0x1b5efc(0x297)]():![];}[a0_0x11fa2b(0x273)](_0x28b964){const _0x410d9a=a0_0x11fa2b;if(!_0x28b964||typeof _0x28b964!=='object')return[];const _0x390852=this['getFieldCode'](_0x28b964),_0x57fc6d=this['getFieldInstance'](_0x390852);if(!_0x57fc6d||!_0x57fc6d[_0x410d9a(0x3f7)]())return[];return _0x57fc6d[_0x410d9a(0x41b)]()||[];}['getFieldSelectItemsSource'](_0x3459f0){const _0x2d3c33=a0_0x11fa2b;if(!_0x3459f0||typeof _0x3459f0!==_0x2d3c33(0x1fd))return;const _0x2d89c9=this[_0x2d3c33(0x301)](_0x3459f0),_0x43d54f=this[_0x2d3c33(0x387)](_0x2d89c9);if(!_0x43d54f||!_0x43d54f[_0x2d3c33(0x3f7)]())return;return _0x43d54f[_0x2d3c33(0x36a)]();}['getEnumFieldMeta'](_0x1cf1c8){const _0x46e41c=a0_0x11fa2b;if(!_0x1cf1c8||typeof _0x1cf1c8!==_0x46e41c(0x1fd))return;const _0xc70e22=this[_0x46e41c(0x301)](_0x1cf1c8),_0xc844cd=this[_0x46e41c(0x387)](_0xc70e22);if(!_0xc844cd||!_0xc844cd['isEnum']())return;return _0xc844cd[_0x46e41c(0x3eb)]();}['getPrimaryKeyFields'](){const _0x203500=a0_0x11fa2b;return this[_0x203500(0x21a)]()[_0x203500(0x204)]()[_0x203500(0x427)](_0x4b9fa9=>_0x4b9fa9[_0x203500(0x3c1)]);}[a0_0x11fa2b(0x46d)](){const _0x1b7a3d=a0_0x11fa2b;return this[_0x1b7a3d(0x21a)]()[_0x1b7a3d(0x3ba)]()['map'](_0x5b0a2f=>_0x5b0a2f[_0x1b7a3d(0x3c1)]);}['getBusinessFields'](){const _0x237e3c=a0_0x11fa2b;return this[_0x237e3c(0x21a)]()[_0x237e3c(0x314)]()[_0x237e3c(0x427)](_0x171648=>_0x171648[_0x237e3c(0x3c1)]);}['getRequiredFields'](){const _0x2384bc=a0_0x11fa2b;return this[_0x2384bc(0x21a)]()[_0x2384bc(0x2d9)]()[_0x2384bc(0x427)](_0x3a9283=>_0x3a9283['raw']);}[a0_0x11fa2b(0x3b5)](){const _0x1f7a07=a0_0x11fa2b,_0x25b749=this[_0x1f7a07(0x21a)]()[_0x1f7a07(0x303)](),_0x35f62a={};for(const [_0x194cdc,_0x124129]of Object[_0x1f7a07(0x472)](_0x25b749)){_0x35f62a[_0x194cdc]=_0x124129['map'](_0x1145a4=>_0x1145a4[_0x1f7a07(0x3c1)]);}return _0x35f62a;}['getEnumFields'](){const _0xd15a71=a0_0x11fa2b;return this['getFieldList']()[_0xd15a71(0x1ff)]()[_0xd15a71(0x427)](_0x45270b=>_0x45270b['raw']);}[a0_0x11fa2b(0x31b)](){const _0x2b39d2=a0_0x11fa2b,_0x544412={};return this[_0x2b39d2(0x3b2)]()[_0x2b39d2(0x3d2)](_0x1243f8=>{const _0x409f76=_0x2b39d2,_0x69ed20=this[_0x409f76(0x259)](_0x1243f8);if(_0x69ed20){const _0x1b52e4=this[_0x409f76(0x301)](_0x1243f8);_0x544412[_0x1b52e4]=_0x69ed20;}}),_0x544412;}[a0_0x11fa2b(0x205)](_0x2f7fdf,_0x5b4852){const _0x5cbe20=a0_0x11fa2b,_0x581a15=this[_0x5cbe20(0x259)](_0x2f7fdf);if(!_0x581a15)return!![];if(_0x581a15['selectItemsSource']&&!_0x581a15[_0x5cbe20(0x265)])return!![];const _0x20db31=this['getFieldCode'](_0x2f7fdf),_0xac6eba=this[_0x5cbe20(0x387)](_0x20db31),_0x99ff6=_0xac6eba?_0xac6eba[_0x5cbe20(0x297)]():![];if(_0x99ff6&&Array[_0x5cbe20(0x25b)](_0x5b4852))return _0x5b4852[_0x5cbe20(0x487)](_0x373052=>_0x581a15['values'][_0x5cbe20(0x3c3)](_0x373052));return _0x581a15[_0x5cbe20(0x372)][_0x5cbe20(0x3c3)](_0x5b4852);}[a0_0x11fa2b(0x2fa)](){const _0x200a87=a0_0x11fa2b;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x200a87(0x349)],'dbtableConfig':this[_0x200a87(0x36d)]()});}[a0_0x11fa2b(0x22d)](){const _0x3e8277=a0_0x11fa2b;return _0x3e8277(0x20f)+this[_0x3e8277(0x254)]+',\x20'+this['datasetCode']+',\x20'+this[_0x3e8277(0x381)]()+_0x3e8277(0x2df)+this['getOperationCount']()+_0x3e8277(0x3a3)+this[_0x3e8277(0x1f0)]()+')';}[a0_0x11fa2b(0x486)](){const _0x54d3e1=a0_0x11fa2b;return this[_0x54d3e1(0x3a2)]('filter');}[a0_0x11fa2b(0x2a2)](_0x78222c){const _0x28528d=a0_0x11fa2b;return this['getOperationFieldOperators'](_0x28528d(0x3f8),_0x78222c);}[a0_0x11fa2b(0x230)](){const _0x13b645=a0_0x11fa2b;return this[_0x13b645(0x284)]('filter');}['getOperationOperators'](_0x20899c){const _0x46ded6=a0_0x11fa2b,_0x171081=this[_0x46ded6(0x3c5)](_0x20899c);return _0x171081?_0x171081[_0x46ded6(0x412)]():[];}['getOperationFieldOperators'](_0x438c39,_0x3e389d){const _0x52a4b4=a0_0x11fa2b,_0x47b490=this[_0x52a4b4(0x3c5)](_0x438c39);return _0x47b490?_0x47b490[_0x52a4b4(0x262)](_0x3e389d):[];}['getOperationFieldsOperatorsMap'](_0x5e481){const _0x48a72e=a0_0x11fa2b,_0x40175f={};return this[_0x48a72e(0x21a)]()[_0x48a72e(0x3d2)](_0x94e4e5=>{const _0x57419d=_0x48a72e,_0x1e55c9=this[_0x57419d(0x210)](_0x5e481,_0x94e4e5[_0x57419d(0x3e6)]);_0x1e55c9[_0x57419d(0x3e4)]>0x0&&(_0x40175f[_0x94e4e5['code']]=_0x1e55c9);}),_0x40175f;}['isOperatorApplicableToField'](_0x3310a0,_0x1b5e92,_0x3f7296){const _0x1d5497=a0_0x11fa2b,_0xe6228e=this[_0x1d5497(0x210)](_0x3310a0,_0x1b5e92);return _0xe6228e[_0x1d5497(0x3c3)](_0x3f7296);}}class FieldBase{get[a0_0x11fa2b(0x203)](){return;}get[a0_0x11fa2b(0x257)](){return;}get[a0_0x11fa2b(0x295)](){return;}get[a0_0x11fa2b(0x2e3)](){return;}[a0_0x11fa2b(0x3d8)](){return!this['isSystem']();}[a0_0x11fa2b(0x2a8)](){return this['deleted'];}[a0_0x11fa2b(0x3f7)](){const _0x51db9c=a0_0x11fa2b,_0x58f798=[_0x51db9c(0x2d6),_0x51db9c(0x2ab),_0x51db9c(0x3d1)];return _0x58f798[_0x51db9c(0x3c3)](this[_0x51db9c(0x34f)]);}[a0_0x11fa2b(0x297)](){const _0x158ec4=a0_0x11fa2b;return this[_0x158ec4(0x34f)]===_0x158ec4(0x3d1);}[a0_0x11fa2b(0x42c)](){const _0x72b0a8=a0_0x11fa2b,_0x4ba6b6=this[_0x72b0a8(0x3eb)]();return _0x4ba6b6?.[_0x72b0a8(0x372)]||[];}[a0_0x11fa2b(0x3eb)](){const _0x55d19d=a0_0x11fa2b;if(!this[_0x55d19d(0x3f7)]())return;const _0x2f20d5=this[_0x55d19d(0x41b)](),_0x39e0e9=this[_0x55d19d(0x36a)](),_0xbc9f88=[],_0x1aa78d={},_0x507edf=_0x4fea5c=>{const _0x25b9bc=_0x55d19d;_0x4fea5c[_0x25b9bc(0x3d2)](_0x2b2818=>{const _0x197683=_0x25b9bc;_0xbc9f88[_0x197683(0x2eb)](_0x2b2818[_0x197683(0x45c)]),_0x1aa78d[String(_0x2b2818[_0x197683(0x45c)])]=_0x2b2818[_0x197683(0x28d)],_0x2b2818[_0x197683(0x353)]&&_0x2b2818[_0x197683(0x353)]['length']>0x0&&_0x507edf(_0x2b2818['children']);});};return _0x2f20d5&&_0x2f20d5['length']>0x0&&_0x507edf(_0x2f20d5),{'code':this[_0x55d19d(0x3e6)],'name':this[_0x55d19d(0x254)],'type':this[_0x55d19d(0x34f)],'multiple':this[_0x55d19d(0x297)](),'options':_0x2f20d5,'selectItemsSource':_0x39e0e9,'values':_0xbc9f88,'valueLabels':_0x1aa78d};}get[a0_0x11fa2b(0x312)](){const _0xb7639a=a0_0x11fa2b;return this[_0xb7639a(0x42c)]();}['toString'](){const _0x47ef12=a0_0x11fa2b;return _0x47ef12(0x2d2)+this[_0x47ef12(0x254)]+',\x20'+this['code']+',\x20'+this[_0x47ef12(0x34f)]+',\x20'+this['getVersion']()+')';}}class FieldV1 extends FieldBase{['_raw'];[a0_0x11fa2b(0x21c)]=null;constructor(_0x2054be){const _0x3ae46f=a0_0x11fa2b;super();if(!_0x2054be||typeof _0x2054be!=='object')throw new Error(_0x3ae46f(0x206));this['_raw']=_0x2054be;}['toFieldDefinition'](){const _0x4c494c=a0_0x11fa2b;return this[_0x4c494c(0x33d)];}[a0_0x11fa2b(0x1f0)](){return'v1';}get[a0_0x11fa2b(0x3c1)](){const _0x4b5ead=a0_0x11fa2b;return this[_0x4b5ead(0x33d)];}get[a0_0x11fa2b(0x254)](){const _0x5edb67=a0_0x11fa2b;return this['_raw'][_0x5edb67(0x254)]||'';}get[a0_0x11fa2b(0x3e6)](){const _0x764a04=a0_0x11fa2b;return this['_raw'][_0x764a04(0x3e6)]||'';}get['type'](){const _0x32d167=a0_0x11fa2b;return this['_raw'][_0x32d167(0x34f)]||'';}get[a0_0x11fa2b(0x2b4)](){const _0x39b0dc=a0_0x11fa2b;return this[_0x39b0dc(0x33d)][_0x39b0dc(0x2b4)]||'';}get[a0_0x11fa2b(0x1ed)](){const _0x145aaf=a0_0x11fa2b;return Boolean(this[_0x145aaf(0x33d)]['deleted']);}get['dbType'](){const _0x3d3781=a0_0x11fa2b;return this[_0x3d3781(0x33d)][_0x3d3781(0x203)];}get[a0_0x11fa2b(0x257)](){const _0x30c75f=a0_0x11fa2b;return this[_0x30c75f(0x33d)][_0x30c75f(0x257)];}get[a0_0x11fa2b(0x295)](){const _0x565d1d=a0_0x11fa2b;return this[_0x565d1d(0x33d)][_0x565d1d(0x3f3)];}get['doType'](){return;}get['extend'](){const _0x108601=a0_0x11fa2b;if(this[_0x108601(0x21c)]!==null&&typeof this[_0x108601(0x21c)]===_0x108601(0x1fd))return this['_extend'];const _0x566118=this[_0x108601(0x33d)]['extend'];if(!_0x566118||typeof _0x566118!==_0x108601(0x481))return this[_0x108601(0x21c)]={},this[_0x108601(0x21c)];if(_0x566118==='null'||_0x566118[_0x108601(0x1e1)]()==='null')return this['_extend']={},this[_0x108601(0x21c)];try{const _0x30fec2=JSON[_0x108601(0x435)](_0x566118);return this[_0x108601(0x21c)]=_0x30fec2!==null&&typeof _0x30fec2==='object'&&!Array['isArray'](_0x30fec2)?_0x30fec2:{},this[_0x108601(0x21c)];}catch(_0x4c4f99){return!![]&&console[_0x108601(0x2b3)]('[FieldV1.extend]\x20解析字段\x20'+this[_0x108601(0x3e6)]+'\x20的\x20extend\x20配置失败:',_0x4c4f99),this[_0x108601(0x21c)]={},this[_0x108601(0x21c)];}}['isRequired'](){const _0x29352d=a0_0x11fa2b;return Boolean(this[_0x29352d(0x2bb)][_0x29352d(0x224)]);}[a0_0x11fa2b(0x466)](){const _0x1928b2=a0_0x11fa2b;return Boolean(this[_0x1928b2(0x2bb)][_0x1928b2(0x23d)]||this[_0x1928b2(0x2bb)][_0x1928b2(0x2ca)]);}[a0_0x11fa2b(0x46a)](){const _0x1b7a0e=a0_0x11fa2b;return Boolean(this[_0x1b7a0e(0x2bb)][_0x1b7a0e(0x1dd)]);}[a0_0x11fa2b(0x30f)](){const _0x4a3aeb=a0_0x11fa2b;return Boolean(this[_0x4a3aeb(0x2bb)][_0x4a3aeb(0x2ef)]);}[a0_0x11fa2b(0x1df)](){const _0x502db1=a0_0x11fa2b;return Boolean(this['extend'][_0x502db1(0x3bf)]);}[a0_0x11fa2b(0x283)](){const _0xb03580=a0_0x11fa2b;return Boolean(this[_0xb03580(0x2bb)][_0xb03580(0x39d)]);}[a0_0x11fa2b(0x2ed)](){const _0x2c4ef5=a0_0x11fa2b;return this[_0x2c4ef5(0x254)];}[a0_0x11fa2b(0x334)](){return this['code'];}[a0_0x11fa2b(0x3f7)](){const _0x2469f4=a0_0x11fa2b,_0x3e43d4=[_0x2469f4(0x2d6),_0x2469f4(0x2ab),'CHECKBOX'];if(_0x3e43d4['includes'](this[_0x2469f4(0x34f)]))return!![];const _0x653d2b=this['extend'];return Boolean(_0x653d2b[_0x2469f4(0x265)]&&Array[_0x2469f4(0x25b)](_0x653d2b[_0x2469f4(0x265)])&&_0x653d2b[_0x2469f4(0x265)][_0x2469f4(0x3e4)]>0x0||_0x653d2b[_0x2469f4(0x30a)]);}[a0_0x11fa2b(0x297)](){const _0x35792f=a0_0x11fa2b;if(this[_0x35792f(0x34f)]==='CHECKBOX')return!![];return Boolean(this[_0x35792f(0x2bb)][_0x35792f(0x489)]);}[a0_0x11fa2b(0x41b)](){const _0x239f66=a0_0x11fa2b,_0x24b405=this[_0x239f66(0x2bb)];if(_0x24b405[_0x239f66(0x265)]&&Array[_0x239f66(0x25b)](_0x24b405[_0x239f66(0x265)]))return _0x24b405[_0x239f66(0x265)];return;}[a0_0x11fa2b(0x36a)](){const _0x54ac8c=a0_0x11fa2b,_0x3c95e9=this['extend'];if(_0x3c95e9[_0x54ac8c(0x30a)]&&typeof _0x3c95e9[_0x54ac8c(0x30a)]===_0x54ac8c(0x1fd))return _0x3c95e9[_0x54ac8c(0x30a)];return;}[a0_0x11fa2b(0x365)](){const _0xe49a81=a0_0x11fa2b;return this[_0xe49a81(0x34f)][_0xe49a81(0x405)]();}[a0_0x11fa2b(0x306)](){const _0x2a313c=a0_0x11fa2b;return this[_0x2a313c(0x2bb)][_0x2a313c(0x440)];}[a0_0x11fa2b(0x2ad)](){const _0x4532d3=a0_0x11fa2b;return this[_0x4532d3(0x2bb)][_0x4532d3(0x248)];}[a0_0x11fa2b(0x41e)](){const _0x506559=a0_0x11fa2b;return{'name':this[_0x506559(0x254)],'code':this[_0x506559(0x3e6)],'type':this['type'],'dbType':this[_0x506559(0x203)],'dbTypeLen':this[_0x506559(0x257)],'description':this[_0x506559(0x2b4)],'required':this[_0x506559(0x383)](),'primaryKey':this[_0x506559(0x466)](),'system':this[_0x506559(0x46a)](),'autoIncrement':this[_0x506559(0x30f)](),'createTime':this[_0x506559(0x1df)](),'updateTime':this[_0x506559(0x283)](),'isEnum':this[_0x506559(0x3f7)](),'enumMeta':this[_0x506559(0x3f7)]()?this[_0x506559(0x3eb)]():undefined};}[a0_0x11fa2b(0x22d)](){const _0x158034=a0_0x11fa2b;return'FieldV1('+this[_0x158034(0x254)]+',\x20'+this[_0x158034(0x3e6)]+',\x20'+this['type']+')';}}class FieldListBase{[a0_0x11fa2b(0x317)];constructor(_0x2a959a,_0x3d3207){const _0x561db5=a0_0x11fa2b;if(!Array[_0x561db5(0x25b)](_0x2a959a))throw new Error(_0x561db5(0x37d));const _0x6be327=_0x3d3207?.['includeDeleted']??![],_0x34250e=_0x6be327?_0x2a959a:_0x2a959a[_0x561db5(0x3f8)](_0x278634=>{const _0x2c9017=_0x278634;return!_0x2c9017['deleted'];});this['_fields']=this['createFields'](_0x34250e);}get[a0_0x11fa2b(0x3e4)](){const _0x2f6f74=a0_0x11fa2b;return this[_0x2f6f74(0x317)][_0x2f6f74(0x3e4)];}['all'](){const _0xe479c6=a0_0x11fa2b;return[...this[_0xe479c6(0x317)]];}['at'](_0x39e09f){const _0xf97c94=a0_0x11fa2b;return this[_0xf97c94(0x317)]['at'](_0x39e09f);}[a0_0x11fa2b(0x358)](_0x924ec1){const _0x539f8f=a0_0x11fa2b;return this[_0x539f8f(0x317)][_0x539f8f(0x358)](_0x5cae5a=>_0x5cae5a[_0x539f8f(0x3e6)]===_0x924ec1);}[a0_0x11fa2b(0x380)](_0x42dea2){const _0x32bd51=a0_0x11fa2b;return this[_0x32bd51(0x317)][_0x32bd51(0x358)](_0x234270=>_0x234270[_0x32bd51(0x254)]===_0x42dea2);}[a0_0x11fa2b(0x221)](_0x5c6ebf){const _0x1f92a2=a0_0x11fa2b;return this['_fields']['some'](_0x3e1d06=>_0x3e1d06[_0x1f92a2(0x3e6)]===_0x5c6ebf);}[a0_0x11fa2b(0x3d2)](_0x2434c0){const _0x3396e9=a0_0x11fa2b;this[_0x3396e9(0x317)][_0x3396e9(0x3d2)](_0x2434c0);}[a0_0x11fa2b(0x427)](_0x1a1c4d){const _0xeb761a=a0_0x11fa2b;return this[_0xeb761a(0x317)]['map'](_0x1a1c4d);}[a0_0x11fa2b(0x3f8)](_0x4fe1cf){const _0x25398e=a0_0x11fa2b;return this[_0x25398e(0x317)]['filter'](_0x4fe1cf);}[a0_0x11fa2b(0x487)](_0x15d859){const _0x7dd901=a0_0x11fa2b;return this[_0x7dd901(0x317)][_0x7dd901(0x487)](_0x15d859);}[a0_0x11fa2b(0x3f2)](_0x585bb4){const _0xe857d1=a0_0x11fa2b;return this[_0xe857d1(0x317)][_0xe857d1(0x3f2)](_0x585bb4);}[a0_0x11fa2b(0x2d9)](){const _0x1c2b52=a0_0x11fa2b;return this[_0x1c2b52(0x317)][_0x1c2b52(0x3f8)](_0x52961d=>_0x52961d[_0x1c2b52(0x383)]());}[a0_0x11fa2b(0x204)](){const _0xcdf4ba=a0_0x11fa2b;return this[_0xcdf4ba(0x317)][_0xcdf4ba(0x3f8)](_0x50f33c=>_0x50f33c[_0xcdf4ba(0x466)]());}['getSystem'](){const _0x20d283=a0_0x11fa2b;return this[_0x20d283(0x317)][_0x20d283(0x3f8)](_0x43c9df=>_0x43c9df['isSystem']());}[a0_0x11fa2b(0x314)](){const _0x1b4b8f=a0_0x11fa2b;return this['_fields'][_0x1b4b8f(0x3f8)](_0x4324b6=>_0x4324b6[_0x1b4b8f(0x3d8)]());}[a0_0x11fa2b(0x1ff)](){const _0x336ce2=a0_0x11fa2b;return this[_0x336ce2(0x317)][_0x336ce2(0x3f8)](_0x4a9b17=>_0x4a9b17[_0x336ce2(0x3f7)]());}[a0_0x11fa2b(0x25a)](){const _0xa91d2=a0_0x11fa2b;return this[_0xa91d2(0x317)][_0xa91d2(0x3f8)](_0x6f7806=>_0x6f7806[_0xa91d2(0x30f)]());}[a0_0x11fa2b(0x44f)](){const _0x3c16a1=a0_0x11fa2b;return this[_0x3c16a1(0x317)][_0x3c16a1(0x3f8)](_0x3164c3=>_0x3164c3[_0x3c16a1(0x1df)]());}['getUpdateTime'](){const _0x1587be=a0_0x11fa2b;return this[_0x1587be(0x317)]['filter'](_0x395afc=>_0x395afc[_0x1587be(0x283)]());}[a0_0x11fa2b(0x304)](){const _0x335929=a0_0x11fa2b;return this[_0x335929(0x317)][_0x335929(0x3f8)](_0x3dd5f1=>_0x3dd5f1[_0x335929(0x2a8)]());}[a0_0x11fa2b(0x346)](){const _0x1af42a=a0_0x11fa2b;return this[_0x1af42a(0x317)][_0x1af42a(0x3f8)](_0x37ad24=>!_0x37ad24[_0x1af42a(0x2a8)]());}[a0_0x11fa2b(0x303)](){const _0x3a0af2={};return this['_fields']['forEach'](_0x411c01=>{const _0x51f887=a0_0x4f1f,_0x1351f9=_0x411c01[_0x51f887(0x34f)];!_0x3a0af2[_0x1351f9]&&(_0x3a0af2[_0x1351f9]=[]),_0x3a0af2[_0x1351f9][_0x51f887(0x2eb)](_0x411c01);}),_0x3a0af2;}['getEnumMetas'](){const _0x297212=a0_0x11fa2b,_0x1d0814={};return this[_0x297212(0x317)]['forEach'](_0x20a7d7=>{const _0x292a27=_0x297212;if(_0x20a7d7[_0x292a27(0x3f7)]()){const _0x6d1100=_0x20a7d7['getEnumMeta']();_0x6d1100&&(_0x1d0814[_0x20a7d7[_0x292a27(0x3e6)]]=_0x6d1100);}}),_0x1d0814;}[a0_0x11fa2b(0x3e2)](){const _0x572156=a0_0x11fa2b;return{'total':this[_0x572156(0x3e4)],'required':this[_0x572156(0x2d9)]()['length'],'primaryKey':this[_0x572156(0x204)]()[_0x572156(0x3e4)],'system':this['getSystem']()['length'],'business':this['getBusiness']()[_0x572156(0x3e4)],'enum':this[_0x572156(0x1ff)]()[_0x572156(0x3e4)],'autoIncrement':this[_0x572156(0x25a)]()[_0x572156(0x3e4)]};}[a0_0x11fa2b(0x218)](){const _0x565510=a0_0x11fa2b;return this['_fields'][_0x565510(0x427)](_0x3a0ebe=>_0x3a0ebe[_0x565510(0x3e6)]);}[a0_0x11fa2b(0x1e3)](){const _0x6b68c8=a0_0x11fa2b;return this[_0x6b68c8(0x317)][_0x6b68c8(0x427)](_0x52c915=>_0x52c915['getDisplayName']());}[a0_0x11fa2b(0x344)](){const _0x3dbea7=a0_0x11fa2b;return this['_fields'][_0x3dbea7(0x427)](_0x37602a=>_0x37602a['getFieldName']());}['toJSON'](){const _0x569958=a0_0x11fa2b;return this[_0x569958(0x317)][_0x569958(0x427)](_0x4e3675=>_0x4e3675[_0x569958(0x41e)]());}['toString'](){const _0x9a32d7=a0_0x11fa2b;return _0x9a32d7(0x3ad)+this[_0x9a32d7(0x3e4)]+'\x20fields)';}}class FieldListV1 extends FieldListBase{constructor(_0x54afb2,_0xdc3533){super(_0x54afb2,_0xdc3533);}[a0_0x11fa2b(0x339)](_0x44dd43){return _0x44dd43['map'](_0xaff7ee=>new FieldV1(_0xaff7ee));}[a0_0x11fa2b(0x2ce)](){const _0x27b94b=a0_0x11fa2b;return[...this[_0x27b94b(0x317)]];}['at'](_0x39b145){const _0x5221f6=a0_0x11fa2b;return this[_0x5221f6(0x317)]['at'](_0x39b145);}['find'](_0x2b36a0){const _0x2caa15=a0_0x11fa2b;return this[_0x2caa15(0x317)][_0x2caa15(0x358)](_0x20b9fd=>_0x20b9fd[_0x2caa15(0x3e6)]===_0x2b36a0);}[a0_0x11fa2b(0x380)](_0x3d5022){const _0x587b5f=a0_0x11fa2b;return this[_0x587b5f(0x317)][_0x587b5f(0x358)](_0x8e8f43=>_0x8e8f43[_0x587b5f(0x254)]===_0x3d5022);}[a0_0x11fa2b(0x3f8)](_0x24a815){const _0x112fdf=a0_0x11fa2b;return this['_fields'][_0x112fdf(0x3f8)](_0x24a815);}[a0_0x11fa2b(0x427)](_0x569083){const _0x4da95c=a0_0x11fa2b;return this[_0x4da95c(0x317)][_0x4da95c(0x427)](_0x569083);}[a0_0x11fa2b(0x2d9)](){const _0x64fb0f=a0_0x11fa2b;return this[_0x64fb0f(0x317)]['filter'](_0x167dce=>_0x167dce[_0x64fb0f(0x383)]());}['getPrimaryKeys'](){const _0x26d9bf=a0_0x11fa2b;return this[_0x26d9bf(0x317)][_0x26d9bf(0x3f8)](_0x5ec433=>_0x5ec433[_0x26d9bf(0x466)]());}['getSystem'](){const _0x163178=a0_0x11fa2b;return this[_0x163178(0x317)][_0x163178(0x3f8)](_0x20f119=>_0x20f119[_0x163178(0x46a)]());}[a0_0x11fa2b(0x314)](){const _0x41b9b1=a0_0x11fa2b;return this[_0x41b9b1(0x317)][_0x41b9b1(0x3f8)](_0x419d9d=>_0x419d9d[_0x41b9b1(0x3d8)]());}[a0_0x11fa2b(0x1ff)](){const _0x4d59bd=a0_0x11fa2b;return this[_0x4d59bd(0x317)][_0x4d59bd(0x3f8)](_0x52c7dc=>_0x52c7dc[_0x4d59bd(0x3f7)]());}[a0_0x11fa2b(0x303)](){const _0x3a9266=a0_0x11fa2b,_0x2cb557={};return this[_0x3a9266(0x317)][_0x3a9266(0x3d2)](_0x55a2bb=>{const _0x25da5f=_0x3a9266,_0x56db2e=_0x55a2bb[_0x25da5f(0x34f)];!_0x2cb557[_0x56db2e]&&(_0x2cb557[_0x56db2e]=[]),_0x2cb557[_0x56db2e][_0x25da5f(0x2eb)](_0x55a2bb);}),_0x2cb557;}[a0_0x11fa2b(0x3c1)](){const _0xa4c855=a0_0x11fa2b;return this[_0xa4c855(0x317)][_0xa4c855(0x427)](_0x4d1160=>_0x4d1160[_0xa4c855(0x3c1)]);}static[a0_0x11fa2b(0x447)](_0x257a8d){const _0x3a40a5=a0_0x11fa2b,_0x34b54e=_0x257a8d[_0x3a40a5(0x427)](_0x27f13b=>_0x27f13b[_0x3a40a5(0x3c1)]);return new FieldListV1(_0x34b54e);}static['withDeleted'](_0x57a8b4){const _0x1dfaf8={};return _0x1dfaf8['includeDeleted']=!![],new FieldListV1(_0x57a8b4,_0x1dfaf8);}}class FieldV2 extends FieldBase{[a0_0x11fa2b(0x33d)];constructor(_0x413a4b){const _0x4208cd=a0_0x11fa2b;super();if(!_0x413a4b||typeof _0x413a4b!==_0x4208cd(0x1fd))throw new Error(_0x4208cd(0x396));this[_0x4208cd(0x33d)]=_0x413a4b;}[a0_0x11fa2b(0x1f0)](){return'v2';}get[a0_0x11fa2b(0x3c1)](){const _0x53cd25=a0_0x11fa2b;return this[_0x53cd25(0x33d)];}get[a0_0x11fa2b(0x254)](){const _0x376516=a0_0x11fa2b;return this['_raw'][_0x376516(0x254)]||'';}get['code'](){const _0x4bf2fc=a0_0x11fa2b;return this[_0x4bf2fc(0x33d)][_0x4bf2fc(0x254)]||'';}get[a0_0x11fa2b(0x295)](){const _0x591265=a0_0x11fa2b;return this[_0x591265(0x33d)]['displayName']||'';}get['type'](){const _0x51065f=a0_0x11fa2b;return this[_0x51065f(0x1f1)](this[_0x51065f(0x33d)]['dbType']);}get['description'](){const _0x52ccb6=a0_0x11fa2b;return this['_raw'][_0x52ccb6(0x2b4)]||'';}get[a0_0x11fa2b(0x1ed)](){const _0x5d5540=a0_0x11fa2b;return Boolean(this[_0x5d5540(0x33d)]['deleted']);}['isRequired'](){return Boolean(this['_raw']['required']);}[a0_0x11fa2b(0x466)](){const _0x5ec1de=a0_0x11fa2b;return Boolean(this[_0x5ec1de(0x33d)][_0x5ec1de(0x2ca)]);}[a0_0x11fa2b(0x46a)](){const _0xc11609=a0_0x11fa2b;return Boolean(this['_raw'][_0xc11609(0x1dd)]);}[a0_0x11fa2b(0x30f)](){const _0x484a0e=a0_0x11fa2b;return Boolean(this[_0x484a0e(0x33d)][_0x484a0e(0x2ef)]);}['isCreateTime'](){const _0x5be1e8=a0_0x11fa2b;return this[_0x5be1e8(0x33d)][_0x5be1e8(0x1dd)]==='createTime';}['isUpdateTime'](){const _0x3e4824=a0_0x11fa2b;return this[_0x3e4824(0x33d)][_0x3e4824(0x1dd)]==='updateTime';}[a0_0x11fa2b(0x2ed)](){const _0x1d6fa7=a0_0x11fa2b;return this[_0x1d6fa7(0x33d)][_0x1d6fa7(0x295)]||'';}['getFieldName'](){const _0x42fbb9=a0_0x11fa2b;return this[_0x42fbb9(0x33d)][_0x42fbb9(0x254)]||'';}[a0_0x11fa2b(0x3f7)](){const _0x50a886=a0_0x11fa2b;return Boolean(this['_raw'][_0x50a886(0x265)]&&Array[_0x50a886(0x25b)](this[_0x50a886(0x33d)][_0x50a886(0x265)])&&this['_raw']['options']['length']>0x0);}[a0_0x11fa2b(0x297)](){const _0x5efc6f=a0_0x11fa2b,_0x2ac7e9=this['_raw'][_0x5efc6f(0x2bb)];if(!_0x2ac7e9)return![];try{const _0xa794bf=JSON[_0x5efc6f(0x435)](_0x2ac7e9);if(_0xa794bf&&typeof _0xa794bf===_0x5efc6f(0x1fd)&&_0x5efc6f(0x489)in _0xa794bf)return Boolean(_0xa794bf['multiple']);}catch{}return![];}['getEnumOptions'](){const _0x474e3e=a0_0x11fa2b;if(this[_0x474e3e(0x33d)][_0x474e3e(0x265)]&&Array[_0x474e3e(0x25b)](this[_0x474e3e(0x33d)]['options']))return this[_0x474e3e(0x33d)][_0x474e3e(0x265)];return;}[a0_0x11fa2b(0x36a)](){const _0xd0e9e=a0_0x11fa2b,_0x237ca2=this[_0xd0e9e(0x33d)][_0xd0e9e(0x2bb)];if(!_0x237ca2)return;try{const _0x13bc3e=JSON['parse'](_0x237ca2);if(_0x13bc3e&&typeof _0x13bc3e===_0xd0e9e(0x1fd)&&'selectItemsSource'in _0x13bc3e)return _0x13bc3e[_0xd0e9e(0x30a)];}catch{}return;}['getDbTypeForOperation'](){const _0x318c80=a0_0x11fa2b;return this[_0x318c80(0x33d)]['dbType'][_0x318c80(0x20d)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x318c80(0x1e1)]()[_0x318c80(0x405)]();}[a0_0x11fa2b(0x306)](){return;}[a0_0x11fa2b(0x2ad)](){return;}get[a0_0x11fa2b(0x203)](){return this['_raw']['dbType'];}get[a0_0x11fa2b(0x257)](){const _0x1bbb0f=a0_0x11fa2b;return this[_0x1bbb0f(0x33d)][_0x1bbb0f(0x257)];}['getDOType'](){const _0x374bc9=a0_0x11fa2b;return this[_0x374bc9(0x33d)][_0x374bc9(0x2e3)]??null;}get[a0_0x11fa2b(0x2e3)](){const _0x554ee6=a0_0x11fa2b;return this[_0x554ee6(0x33d)]['doType']??null;}[a0_0x11fa2b(0x41e)](){const _0xb76335=a0_0x11fa2b;return{'name':this[_0xb76335(0x254)],'code':this[_0xb76335(0x3e6)],'type':this[_0xb76335(0x34f)],'dbType':this[_0xb76335(0x203)],'dbTypeLen':this[_0xb76335(0x257)],'doType':this[_0xb76335(0x35d)](),'displayName':this[_0xb76335(0x295)],'description':this['description'],'required':this['isRequired'](),'primaryKey':this['isPrimaryKey'](),'system':this[_0xb76335(0x46a)](),'autoIncrement':this[_0xb76335(0x30f)](),'createTime':this[_0xb76335(0x1df)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0xb76335(0x3f7)](),'enumMeta':this[_0xb76335(0x3f7)]()?this[_0xb76335(0x3eb)]():undefined};}[a0_0x11fa2b(0x22d)](){const _0x334dd5=a0_0x11fa2b;return _0x334dd5(0x294)+this[_0x334dd5(0x254)]+',\x20'+this[_0x334dd5(0x3e6)]+',\x20'+this[_0x334dd5(0x203)]+_0x334dd5(0x330)+this['getDOType']()+')';}['mapDbTypeToType'](_0x1c6a3e){const _0x53d3b8=a0_0x11fa2b,_0x4e5af1={};_0x4e5af1[_0x53d3b8(0x1f2)]=_0x53d3b8(0x3fc),_0x4e5af1[_0x53d3b8(0x390)]=_0x53d3b8(0x3fc),_0x4e5af1[_0x53d3b8(0x3fc)]=_0x53d3b8(0x30d),_0x4e5af1[_0x53d3b8(0x2ea)]=_0x53d3b8(0x30d),_0x4e5af1[_0x53d3b8(0x2b9)]=_0x53d3b8(0x2fe),_0x4e5af1[_0x53d3b8(0x333)]=_0x53d3b8(0x2fe),_0x4e5af1['TINYINT']=_0x53d3b8(0x2fe),_0x4e5af1[_0x53d3b8(0x272)]=_0x53d3b8(0x2fe),_0x4e5af1['DECIMAL']=_0x53d3b8(0x2fe),_0x4e5af1[_0x53d3b8(0x2b2)]=_0x53d3b8(0x2fe),_0x4e5af1[_0x53d3b8(0x29a)]=_0x53d3b8(0x2fe),_0x4e5af1[_0x53d3b8(0x32f)]=_0x53d3b8(0x23b),_0x4e5af1[_0x53d3b8(0x216)]=_0x53d3b8(0x23b),_0x4e5af1[_0x53d3b8(0x23b)]=_0x53d3b8(0x23b),_0x4e5af1[_0x53d3b8(0x2f2)]=_0x53d3b8(0x2f2),_0x4e5af1[_0x53d3b8(0x1e6)]=_0x53d3b8(0x36c),_0x4e5af1['BIT']=_0x53d3b8(0x36c),_0x4e5af1[_0x53d3b8(0x450)]='FILE',_0x4e5af1[_0x53d3b8(0x421)]=_0x53d3b8(0x469);const _0x4a7c1d=_0x4e5af1,_0x41b093=_0x1c6a3e[_0x53d3b8(0x405)]();return _0x4a7c1d[_0x41b093]||_0x53d3b8(0x3fc);}}class FieldListV2 extends FieldListBase{constructor(_0x269718,_0x12c1a5){super(_0x269718,_0x12c1a5);}[a0_0x11fa2b(0x339)](_0x4dd8f0){const _0x11a20a=a0_0x11fa2b;return _0x4dd8f0[_0x11a20a(0x427)](_0x3f40ca=>new FieldV2(_0x3f40ca));}[a0_0x11fa2b(0x2ce)](){const _0x3e236d=a0_0x11fa2b;return[...this[_0x3e236d(0x317)]];}['at'](_0x56b025){return this['_fields']['at'](_0x56b025);}[a0_0x11fa2b(0x358)](_0x4c1eee){const _0x5ea5bf=a0_0x11fa2b;return this[_0x5ea5bf(0x317)]['find'](_0x5e8706=>_0x5e8706[_0x5ea5bf(0x3e6)]===_0x4c1eee);}[a0_0x11fa2b(0x380)](_0x597e93){const _0x349a69=a0_0x11fa2b;return this['_fields'][_0x349a69(0x358)](_0x3db2f0=>_0x3db2f0[_0x349a69(0x2ed)]()===_0x597e93);}[a0_0x11fa2b(0x3f8)](_0x355e77){const _0x5edf63=a0_0x11fa2b;return this[_0x5edf63(0x317)][_0x5edf63(0x3f8)](_0x355e77);}[a0_0x11fa2b(0x427)](_0xeab8eb){const _0x55dc2=a0_0x11fa2b;return this['_fields'][_0x55dc2(0x427)](_0xeab8eb);}[a0_0x11fa2b(0x2d9)](){const _0x25b14d=a0_0x11fa2b;return this[_0x25b14d(0x317)][_0x25b14d(0x3f8)](_0x39785b=>_0x39785b['isRequired']());}[a0_0x11fa2b(0x204)](){const _0xdee723=a0_0x11fa2b;return this[_0xdee723(0x317)][_0xdee723(0x3f8)](_0x52f4dc=>_0x52f4dc[_0xdee723(0x466)]());}[a0_0x11fa2b(0x3ba)](){const _0x3c7379=a0_0x11fa2b;return this['_fields'][_0x3c7379(0x3f8)](_0x41977c=>_0x41977c[_0x3c7379(0x46a)]());}[a0_0x11fa2b(0x314)](){const _0x47db05=a0_0x11fa2b;return this['_fields'][_0x47db05(0x3f8)](_0x308520=>_0x308520[_0x47db05(0x3d8)]());}[a0_0x11fa2b(0x1ff)](){const _0x31e5b7=a0_0x11fa2b;return this[_0x31e5b7(0x317)][_0x31e5b7(0x3f8)](_0x58eaf2=>_0x58eaf2[_0x31e5b7(0x3f7)]());}['groupByType'](){const _0x5dfb6f=a0_0x11fa2b,_0x1977bd={};return this[_0x5dfb6f(0x317)][_0x5dfb6f(0x3d2)](_0x5afbcf=>{const _0x1e60c6=_0x5dfb6f,_0x10ed50=_0x5afbcf['type'];!_0x1977bd[_0x10ed50]&&(_0x1977bd[_0x10ed50]=[]),_0x1977bd[_0x10ed50][_0x1e60c6(0x2eb)](_0x5afbcf);}),_0x1977bd;}[a0_0x11fa2b(0x3c1)](){return this['_fields']['map'](_0x40a80c=>_0x40a80c['raw']);}static[a0_0x11fa2b(0x447)](_0x318c1d){const _0x3de67a=a0_0x11fa2b,_0x1c30ce=_0x318c1d[_0x3de67a(0x427)](_0x1a9bcb=>_0x1a9bcb[_0x3de67a(0x3c1)]);return new FieldListV2(_0x1c30ce);}static[a0_0x11fa2b(0x29b)](_0x54f244){const _0x33b791={};return _0x33b791['includeDeleted']=!![],new FieldListV2(_0x54f244,_0x33b791);}[a0_0x11fa2b(0x22d)](){const _0x54b06a=a0_0x11fa2b;return _0x54b06a(0x426)+this[_0x54b06a(0x3e4)]+_0x54b06a(0x211);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x11fa2b(0x246)];['_fieldListV1WithDeleted'];constructor(_0x5c2a3c){super(_0x5c2a3c);}[a0_0x11fa2b(0x21a)](){const _0x1fc7b7=a0_0x11fa2b;if(!this[_0x1fc7b7(0x246)]){const _0x2e70fd={};_0x2e70fd['includeDeleted']=![],this[_0x1fc7b7(0x246)]=new FieldListV1(this['_raw'][_0x1fc7b7(0x45b)]||[],_0x2e70fd);}return this[_0x1fc7b7(0x246)];}['getFieldListWithDeleted'](){const _0x3315c4=a0_0x11fa2b;if(!this['_fieldListV1WithDeleted']){const _0x417361={};_0x417361[_0x3315c4(0x24a)]=!![],this[_0x3315c4(0x34a)]=new FieldListV1(this[_0x3315c4(0x33d)][_0x3315c4(0x45b)]||[],_0x417361);}return this[_0x3315c4(0x34a)];}['getFields'](){const _0x30db3e=a0_0x11fa2b;return(this['_raw'][_0x30db3e(0x45b)]||[])[_0x30db3e(0x3f8)](_0x5bdb04=>!_0x5bdb04[_0x30db3e(0x1ed)]);}['getFieldCount'](){return this['getFieldList']()['length'];}[a0_0x11fa2b(0x3a8)](_0x50a345){const _0x18a33b=a0_0x11fa2b;return this[_0x18a33b(0x33d)][_0x18a33b(0x45b)]?.['find'](_0x5ed709=>_0x5ed709['code']===_0x50a345);}[a0_0x11fa2b(0x1f0)](){return'v1';}['getFieldDataSource'](){const _0x51034b=a0_0x11fa2b,_0x4fe1d7={};return _0x4fe1d7[_0x51034b(0x38d)]=this[_0x51034b(0x33d)][_0x51034b(0x45b)]||[],_0x4fe1d7[_0x51034b(0x24a)]=![],_0x4fe1d7;}[a0_0x11fa2b(0x277)](){const _0x9db451=a0_0x11fa2b;return this[_0x9db451(0x33d)]['operations'];}[a0_0x11fa2b(0x425)](){const _0x3c3b10=a0_0x11fa2b;return this[_0x3c3b10(0x33d)]['source'];}[a0_0x11fa2b(0x2ae)](){const _0x544370=a0_0x11fa2b,_0x1b002e=this[_0x544370(0x36d)](),_0x3e362f=_0x1b002e?.[_0x544370(0x40e)],_0x483651={};return _0x483651[_0x544370(0x1fe)]=_0x1b002e?.[_0x544370(0x1fe)],_0x483651[_0x544370(0x271)]=_0x1b002e?.[_0x544370(0x271)]??_0x3e362f?.[_0x544370(0x271)],_0x483651[_0x544370(0x203)]=_0x3e362f?.[_0x544370(0x203)],_0x483651[_0x544370(0x291)]=_0x3e362f?.['dbVersion'],_0x483651[_0x544370(0x42a)]=_0x1b002e?.[_0x544370(0x42a)],_0x483651[_0x544370(0x459)]=_0x1b002e?.[_0x544370(0x459)],_0x483651[_0x544370(0x2ca)]=_0x1b002e?.[_0x544370(0x2ca)],_0x483651['tenantCode']=_0x3e362f?.[_0x544370(0x338)],_0x483651[_0x544370(0x1fa)]=_0x3e362f?.[_0x544370(0x1fa)],new DBConfig(_0x483651,_0x1b002e);}get['version'](){const _0x33d68f=a0_0x11fa2b;return this[_0x33d68f(0x33d)][_0x33d68f(0x441)];}[a0_0x11fa2b(0x387)](_0x38c59c){const _0x578fc9=a0_0x11fa2b;if(typeof _0x38c59c!==_0x578fc9(0x481)){!![]&&console[_0x578fc9(0x2b3)](_0x578fc9(0x3a9),_0x38c59c);return;}return this[_0x578fc9(0x21a)]()['find'](_0x38c59c);}[a0_0x11fa2b(0x1f7)](_0x22703b){const _0x5ab908=a0_0x11fa2b;if(!_0x22703b||typeof _0x22703b!==_0x5ab908(0x1fd))return![];const _0xb38a40=this['getFieldInstance'](_0x22703b['code']);return _0xb38a40?_0xb38a40['isMultipleSelect']():![];}[a0_0x11fa2b(0x400)](){const _0x364a4c=a0_0x11fa2b,_0x37bc64=this[_0x364a4c(0x3c5)](_0x364a4c(0x3f8));return _0x37bc64;}[a0_0x11fa2b(0x33e)](){const _0x3c96ae=a0_0x11fa2b;return this[_0x3c96ae(0x42d)](_0x3c96ae(0x3f8));}[a0_0x11fa2b(0x2fa)](){const _0x568336=a0_0x11fa2b;return new DatasetItem({'id':this['id'],'name':this[_0x568336(0x254)],'datasetCode':this[_0x568336(0x349)],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];['_datasetMeta'];[a0_0x11fa2b(0x363)];constructor(_0x34370c){const _0x17ed48=a0_0x11fa2b;super(_0x34370c),this[_0x17ed48(0x2db)]=_0x34370c['dataset'],this[_0x17ed48(0x363)]=_0x34370c['relations']||[];}['getVersion'](){return'v2';}[a0_0x11fa2b(0x414)](){const _0x130ab6=a0_0x11fa2b,_0x301158={};return _0x301158['fields']=this[_0x130ab6(0x33d)][_0x130ab6(0x38d)],_0x301158[_0x130ab6(0x24a)]=![],_0x301158;}[a0_0x11fa2b(0x277)](){const _0x2de25a=a0_0x11fa2b;return this[_0x2de25a(0x33d)][_0x2de25a(0x2fc)];}[a0_0x11fa2b(0x425)](){const _0x41d5b3=a0_0x11fa2b;return this[_0x41d5b3(0x33d)][_0x41d5b3(0x202)];}[a0_0x11fa2b(0x2ae)](){const _0x271136=a0_0x11fa2b,_0x23af13=this[_0x271136(0x33d)]['dbtableConfig'],_0x2e08cd=_0x23af13?.[_0x271136(0x40e)],_0x218660={};return _0x218660[_0x271136(0x1fe)]=_0x23af13?.[_0x271136(0x1fe)],_0x218660[_0x271136(0x271)]=_0x23af13?.[_0x271136(0x271)]??_0x2e08cd?.[_0x271136(0x271)],_0x218660[_0x271136(0x203)]=_0x2e08cd?.[_0x271136(0x203)],_0x218660[_0x271136(0x291)]=_0x2e08cd?.[_0x271136(0x291)],_0x218660[_0x271136(0x42a)]=_0x23af13?.[_0x271136(0x42a)],_0x218660['datasetKey']=_0x23af13?.[_0x271136(0x459)],_0x218660[_0x271136(0x2ca)]=_0x23af13?.[_0x271136(0x2ca)],_0x218660[_0x271136(0x338)]=_0x23af13?.['tenantCode']??_0x2e08cd?.[_0x271136(0x338)],_0x218660['appCode']=_0x23af13?.[_0x271136(0x1fa)]??_0x2e08cd?.[_0x271136(0x1fa)],new DBConfig(_0x218660,_0x23af13);}[a0_0x11fa2b(0x21a)](){const _0x47d8be=a0_0x11fa2b;return this[_0x47d8be(0x3ec)]();}[a0_0x11fa2b(0x43b)](){const _0x535fd5=a0_0x11fa2b;return this[_0x535fd5(0x33d)][_0x535fd5(0x38d)];}[a0_0x11fa2b(0x381)](){const _0x180c89=a0_0x11fa2b;return this['_raw'][_0x180c89(0x38d)][_0x180c89(0x3e4)];}[a0_0x11fa2b(0x3a8)](_0x216206){const _0xcf52b1=a0_0x11fa2b;return this['_raw'][_0xcf52b1(0x38d)][_0xcf52b1(0x358)](_0x3d2321=>_0x3d2321['name']===_0x216206);}['getDatasetMeta'](){const _0x5bba85=a0_0x11fa2b;return this[_0x5bba85(0x2db)];}[a0_0x11fa2b(0x219)](){const _0x2316c6=a0_0x11fa2b;return this[_0x2316c6(0x363)];}[a0_0x11fa2b(0x393)](){const _0x5cf38b=a0_0x11fa2b;return this[_0x5cf38b(0x2db)][_0x5cf38b(0x2f6)]||[];}[a0_0x11fa2b(0x3f1)](_0x14faae){const _0x32269b=a0_0x11fa2b;return this[_0x32269b(0x363)][_0x32269b(0x3f8)](_0x30d3f0=>_0x30d3f0[_0x32269b(0x488)]===_0x14faae);}['hasRelation'](_0x41763e){const _0x28598a=a0_0x11fa2b;return this['_relations'][_0x28598a(0x3f2)](_0x18b620=>_0x18b620[_0x28598a(0x488)]===_0x41763e);}[a0_0x11fa2b(0x279)](_0x3cb24c){const _0x112062=a0_0x11fa2b,_0x366318=this[_0x112062(0x363)][_0x112062(0x358)](_0x2fb921=>_0x2fb921[_0x112062(0x488)]===_0x3cb24c);if(!_0x366318)return;const _0x49184f={};return _0x49184f[_0x112062(0x315)]=_0x366318[_0x112062(0x356)],_0x49184f['datasetCode']=_0x366318[_0x112062(0x3c9)],_0x49184f[_0x112062(0x464)]=_0x366318['toDatasetName'],_0x49184f[_0x112062(0x42a)]=_0x366318[_0x112062(0x478)],_0x49184f[_0x112062(0x343)]=_0x366318[_0x112062(0x343)],_0x49184f;}['getForeignKeyFields'](){const _0x4d3149=a0_0x11fa2b;return this['_relations'][_0x4d3149(0x427)](_0x149e15=>_0x149e15[_0x4d3149(0x488)]);}[a0_0x11fa2b(0x3ec)](){const _0x45654c=a0_0x11fa2b;if(!this[_0x45654c(0x366)]){const _0x58edca=this[_0x45654c(0x33d)][_0x45654c(0x38d)]||[];this[_0x45654c(0x366)]=new FieldListV2(_0x58edca);}return this['_fieldListV2'];}[a0_0x11fa2b(0x387)](_0x218565){const _0x52391f=a0_0x11fa2b;if(typeof _0x218565!==_0x52391f(0x481)){!![]&&console[_0x52391f(0x2b3)](_0x52391f(0x1f8),_0x218565);return;}return this[_0x52391f(0x3ec)]()[_0x52391f(0x358)](_0x218565);}[a0_0x11fa2b(0x1f7)](_0x5bd00f){const _0x3f0cf1=a0_0x11fa2b;if(!_0x5bd00f||typeof _0x5bd00f!=='object')return![];const _0x29de72=_0x5bd00f[_0x3f0cf1(0x254)]||_0x5bd00f[_0x3f0cf1(0x3e6)],_0x5e4185=this[_0x3f0cf1(0x387)](_0x29de72);return _0x5e4185?_0x5e4185['isMultipleSelect']():![];}[a0_0x11fa2b(0x26b)](){const _0x2aaef5=a0_0x11fa2b;if(!this[_0x2aaef5(0x36f)]){const _0x118da0=this[_0x2aaef5(0x384)](this['getOperationsData']()||{});this[_0x2aaef5(0x36f)]=new OperationList(_0x118da0,{'fields':this[_0x2aaef5(0x3ec)]()[_0x2aaef5(0x2ce)](),'pkField':this[_0x2aaef5(0x33d)][_0x2aaef5(0x1ec)]?.[_0x2aaef5(0x2ca)],'dbtableConfig':this[_0x2aaef5(0x33d)][_0x2aaef5(0x1ec)]||null});}return this[_0x2aaef5(0x36f)];}[a0_0x11fa2b(0x400)](){const _0x244213=a0_0x11fa2b,_0x5f3ab4=this[_0x244213(0x3c5)]('filter');return _0x5f3ab4;}[a0_0x11fa2b(0x33e)](){const _0x375ca2=a0_0x11fa2b;return this[_0x375ca2(0x42d)](_0x375ca2(0x3f8));}[a0_0x11fa2b(0x2fa)](){const _0x36e5ef=a0_0x11fa2b;return new DatasetItem({'id':this['id'],'name':this[_0x36e5ef(0x254)],'datasetCode':this[_0x36e5ef(0x349)],'dbtableConfig':this['getRawDbtableConfig']()});}['toString'](){const _0x5c2bb9=a0_0x11fa2b,_0x460e14=this[_0x5c2bb9(0x363)][_0x5c2bb9(0x3e4)],_0x370fe4=this[_0x5c2bb9(0x393)]()['length'];return _0x5c2bb9(0x299)+this[_0x5c2bb9(0x254)]+',\x20'+this['datasetCode']+',\x20'+this[_0x5c2bb9(0x381)]()+'\x20fields,\x20'+this[_0x5c2bb9(0x1e9)]()+'\x20operations,\x20'+_0x460e14+'\x20relations,\x20'+_0x370fe4+_0x5c2bb9(0x268);}['getFieldsV2'](){const _0x2ba026=a0_0x11fa2b;return this[_0x2ba026(0x33d)][_0x2ba026(0x38d)];}[a0_0x11fa2b(0x1e8)](_0x2e5075){const _0x42f561=a0_0x11fa2b;return this[_0x42f561(0x33d)][_0x42f561(0x38d)][_0x42f561(0x358)](_0x3ab5cd=>_0x3ab5cd['name']===_0x2e5075);}}function detectDatasetVersion(_0xc26ae5){const _0x3cf50c=a0_0x11fa2b;if(_0xc26ae5[_0x3cf50c(0x419)]==='v2'&&_0x3cf50c(0x38d)in _0xc26ae5&&Array[_0x3cf50c(0x25b)](_0xc26ae5[_0x3cf50c(0x38d)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x11fa2b(0x465)];constructor(_0x2e88ef){const _0x40f32f=a0_0x11fa2b;super(_0x2e88ef);const _0x2f3a51=detectDatasetVersion(_0x2e88ef);this[_0x40f32f(0x465)]=_0x2f3a51==='v2'?new DrivenDataDetailV2(_0x2e88ef):new DrivenDataDetailV1(_0x2e88ef);}get['id'](){const _0x45a418=a0_0x11fa2b;return this[_0x45a418(0x465)]['id'];}get['name'](){const _0x4e9027=a0_0x11fa2b;return this[_0x4e9027(0x465)][_0x4e9027(0x254)];}get['datasetCode'](){const _0x5846f5=a0_0x11fa2b;return this[_0x5846f5(0x465)][_0x5846f5(0x349)];}get['version'](){const _0x2c6c85=a0_0x11fa2b;return this[_0x2c6c85(0x465)][_0x2c6c85(0x1f0)]()==='v2'?_0x2c6c85(0x3ac):_0x2c6c85(0x21d);}[a0_0x11fa2b(0x1f0)](){const _0x1309e8=a0_0x11fa2b;return this[_0x1309e8(0x465)][_0x1309e8(0x1f0)]();}['getId'](){return this['_instance']['id'];}[a0_0x11fa2b(0x2a3)](){const _0x53bef7=a0_0x11fa2b;return this[_0x53bef7(0x465)][_0x53bef7(0x349)];}['getName'](){const _0x4f4279=a0_0x11fa2b;return this[_0x4f4279(0x465)][_0x4f4279(0x254)];}[a0_0x11fa2b(0x414)](){const _0x42e7bf=a0_0x11fa2b;return this[_0x42e7bf(0x465)][_0x42e7bf(0x414)]();}[a0_0x11fa2b(0x277)](){const _0x429fc1=a0_0x11fa2b;return this[_0x429fc1(0x465)][_0x429fc1(0x277)]();}[a0_0x11fa2b(0x425)](){const _0x31d186=a0_0x11fa2b;return this[_0x31d186(0x465)]['getSource']();}[a0_0x11fa2b(0x452)](){const _0x405197=a0_0x11fa2b;return this['_instance'][_0x405197(0x452)]();}[a0_0x11fa2b(0x21a)](){const _0x25e278=a0_0x11fa2b;return this[_0x25e278(0x465)][_0x25e278(0x21a)]();}[a0_0x11fa2b(0x434)](){const _0xc9a4b7=a0_0x11fa2b;return this[_0xc9a4b7(0x465)]['getFieldsWithDeleted']();}[a0_0x11fa2b(0x43b)](){const _0x25b935=a0_0x11fa2b;return this[_0x25b935(0x465)][_0x25b935(0x43b)]();}['getFieldCount'](){const _0x84c8ec=a0_0x11fa2b;return this['_instance'][_0x84c8ec(0x381)]();}['getPkField'](){const _0x41b257=a0_0x11fa2b,_0x44b0b9=this[_0x41b257(0x465)][_0x41b257(0x36d)]();return _0x44b0b9?.['pkField'];}[a0_0x11fa2b(0x2ae)](){const _0x292a72=a0_0x11fa2b;return this[_0x292a72(0x465)][_0x292a72(0x2ae)]();}['getFieldInstance'](_0x5057a1){const _0x1466e9=a0_0x11fa2b;return this['_instance'][_0x1466e9(0x387)](_0x5057a1);}[a0_0x11fa2b(0x3dd)](){const _0x1cc7e3=a0_0x11fa2b;return this[_0x1cc7e3(0x465)]['getPrimaryKeyFields']();}[a0_0x11fa2b(0x46d)](){const _0x39db93=a0_0x11fa2b;return this[_0x39db93(0x465)][_0x39db93(0x46d)]();}[a0_0x11fa2b(0x44d)](){const _0x444d88=a0_0x11fa2b;return this[_0x444d88(0x465)][_0x444d88(0x44d)]();}['getRequiredFields'](){const _0x27bec3=a0_0x11fa2b;return this[_0x27bec3(0x465)]['getRequiredFields']();}[a0_0x11fa2b(0x3b5)](){const _0x54d0da=a0_0x11fa2b;return this[_0x54d0da(0x465)][_0x54d0da(0x3b5)]();}[a0_0x11fa2b(0x3b2)](){const _0x108318=a0_0x11fa2b;return this[_0x108318(0x465)][_0x108318(0x3b2)]();}[a0_0x11fa2b(0x31b)](){const _0x2172f4=a0_0x11fa2b;return this[_0x2172f4(0x465)][_0x2172f4(0x31b)]();}[a0_0x11fa2b(0x40a)](){const _0x4c2ee8=a0_0x11fa2b;return this[_0x4c2ee8(0x465)][_0x4c2ee8(0x40a)]();}['getOperationCount'](){return this['_instance']['getOperationCount']();}['getEnabledOperations'](){const _0x4144cf=a0_0x11fa2b;return this['_instance'][_0x4144cf(0x37a)]();}[a0_0x11fa2b(0x359)](){const _0x566f26=a0_0x11fa2b;return this[_0x566f26(0x465)][_0x566f26(0x359)]();}['getEnabledOperationInstances'](){const _0x3623b2=a0_0x11fa2b;return this[_0x3623b2(0x465)][_0x3623b2(0x227)]();}[a0_0x11fa2b(0x258)](){const _0x434b0b=a0_0x11fa2b;return this[_0x434b0b(0x465)][_0x434b0b(0x258)]();}[a0_0x11fa2b(0x3e2)](){const _0x38cb6e=a0_0x11fa2b;return this[_0x38cb6e(0x465)][_0x38cb6e(0x3e2)]();}[a0_0x11fa2b(0x2c3)](){const _0x391bb2=a0_0x11fa2b;return this[_0x391bb2(0x465)][_0x391bb2(0x2c3)]();}[a0_0x11fa2b(0x219)](){const _0x19e477=a0_0x11fa2b;return this[_0x19e477(0x465)]['getRelations']();}[a0_0x11fa2b(0x393)](){const _0xaecd18=a0_0x11fa2b;return this[_0xaecd18(0x465)][_0xaecd18(0x393)]();}['getFilterOperators'](){const _0x18429d=a0_0x11fa2b;return this[_0x18429d(0x465)]['getFilterOperators']();}[a0_0x11fa2b(0x230)](){const _0x4a4207=a0_0x11fa2b;return this[_0x4a4207(0x465)][_0x4a4207(0x230)]();}[a0_0x11fa2b(0x41e)](){const _0x324f91=a0_0x11fa2b;return this[_0x324f91(0x465)][_0x324f91(0x41e)]();}['getFilterOperation'](){const _0x5badb3=a0_0x11fa2b;return this[_0x5badb3(0x465)]['getFilterOperation']();}['hasFilterOperation'](){const _0x2d53f8=a0_0x11fa2b;return this[_0x2d53f8(0x465)]['hasFilterOperation']();}[a0_0x11fa2b(0x2fa)](){const _0x3e7c15=a0_0x11fa2b;return this['_instance'][_0x3e7c15(0x2fa)]();}[a0_0x11fa2b(0x22d)](){const _0x2b93d6=a0_0x11fa2b;return this[_0x2b93d6(0x465)][_0x2b93d6(0x22d)]();}['getInternalInstance'](){const _0x572aa0=a0_0x11fa2b;return this[_0x572aa0(0x465)];}}function detectDatasetVersion2(_0x2f0021){const _0x462bb4=a0_0x11fa2b;if(_0x2f0021[_0x462bb4(0x419)]==='v2'&&_0x462bb4(0x38d)in _0x2f0021&&Array[_0x462bb4(0x25b)](_0x2f0021[_0x462bb4(0x38d)]))return'v2';return'v1';}function createDrivenDataDetail(_0x25f963,_0x423f53={}){const {forceVersion:_0x703617}=_0x423f53;if(_0x703617==='v2')return new DrivenDataDetailV2(_0x25f963);if(_0x703617==='v1')return new DrivenDataDetailV1(_0x25f963);const _0x5c1b68=detectDatasetVersion2(_0x25f963);if(_0x5c1b68==='v2')return new DrivenDataDetailV2(_0x25f963);return new DrivenDataDetailV1(_0x25f963);}function isV2Data(_0x5d1d60){return detectDatasetVersion2(_0x5d1d60)==='v2';}function isV1Data(_0x346b9d){return detectDatasetVersion2(_0x346b9d)==='v1';}function isV2Instance(_0x20ab18){const _0x4b3a09=a0_0x11fa2b;return _0x20ab18[_0x4b3a09(0x1f0)]()==='v2';}function isV1Instance(_0x4a0ea1){const _0x2acd38=a0_0x11fa2b;return _0x4a0ea1[_0x2acd38(0x1f0)]()==='v1';}class DatasetGroup{[a0_0x11fa2b(0x2f7)];constructor(_0xc4ee94){const _0x183882=a0_0x11fa2b;this[_0x183882(0x2f7)]=Array[_0x183882(0x25b)](_0xc4ee94)?[..._0xc4ee94]:[_0xc4ee94],this['items']['sort']((_0x1d772d,_0x2e5006)=>{const _0x31ca92=Number(_0x1d772d['id'])||0x0,_0x319eb6=Number(_0x2e5006['id'])||0x0;return _0x319eb6-_0x31ca92;});}[a0_0x11fa2b(0x3fd)](){const _0x15f401=a0_0x11fa2b;return this[_0x15f401(0x2f7)][_0x15f401(0x3e4)]>0x1;}['getLatest'](){return this['items'][0x0];}['getOldest'](){const _0x4e6e62=a0_0x11fa2b;return this['items'][this[_0x4e6e62(0x2f7)][_0x4e6e62(0x3e4)]-0x1];}['getAll'](){const _0x1aae80=a0_0x11fa2b;return[...this[_0x1aae80(0x2f7)]];}[a0_0x11fa2b(0x35a)](){const _0x31a1a6=a0_0x11fa2b;return this[_0x31a1a6(0x2f7)][_0x31a1a6(0x3e4)];}[a0_0x11fa2b(0x3b7)](_0x246fff){const _0xa15e4a=a0_0x11fa2b;return this[_0xa15e4a(0x2f7)][_0x246fff];}[a0_0x11fa2b(0x48a)](_0x41bea5){const _0x161502=a0_0x11fa2b;return this[_0x161502(0x2f7)][_0x161502(0x358)](_0x11dec4=>_0x11dec4['id']===_0x41bea5);}['findByCode'](_0x201b70){const _0xed5b31=a0_0x11fa2b;return this[_0xed5b31(0x2f7)][_0xed5b31(0x358)](_0x3d7960=>_0x3d7960[_0xed5b31(0x349)]===_0x201b70);}[a0_0x11fa2b(0x3df)](){const _0x2ff4b8=a0_0x11fa2b;return this[_0x2ff4b8(0x2f7)][_0x2ff4b8(0x427)](_0x42f301=>_0x42f301['id'])[_0x2ff4b8(0x3f8)](_0xa259eb=>_0xa259eb!==undefined);}[a0_0x11fa2b(0x218)](){const _0x2b0625=a0_0x11fa2b;return this[_0x2b0625(0x2f7)][_0x2b0625(0x427)](_0x1ac350=>_0x1ac350[_0x2b0625(0x349)]);}[a0_0x11fa2b(0x22d)](){const _0x3576dc=a0_0x11fa2b;if(this[_0x3576dc(0x3fd)]())return _0x3576dc(0x48d)+this[_0x3576dc(0x2f7)]['length']+_0x3576dc(0x287)+this[_0x3576dc(0x345)]()[_0x3576dc(0x254)]+')';return'DatasetGroup('+this[_0x3576dc(0x2f7)][0x0]['name']+')';}}class DatasetGroupMap{[a0_0x11fa2b(0x47a)];constructor(_0x4443b9){const _0x51442b=a0_0x11fa2b;this['groups']=new Map();for(const _0x4c19e0 of _0x4443b9){const _0x531607=getTableKey(_0x4c19e0);if(!this[_0x51442b(0x47a)][_0x51442b(0x221)](_0x531607))this['groups'][_0x51442b(0x3c6)](_0x531607,new DatasetGroup(_0x4c19e0));else{const _0x20f77=this[_0x51442b(0x47a)]['get'](_0x531607),_0x53122d=[..._0x20f77[_0x51442b(0x2a9)](),_0x4c19e0];this[_0x51442b(0x47a)][_0x51442b(0x3c6)](_0x531607,new DatasetGroup(_0x53122d));}}}['get'](_0x11d828){const _0x276877=a0_0x11fa2b;return this[_0x276877(0x47a)][_0x276877(0x3ca)](_0x11d828);}[a0_0x11fa2b(0x221)](_0x458e6f){const _0x152515=a0_0x11fa2b;return this[_0x152515(0x47a)]['has'](_0x458e6f);}get['size'](){const _0x213eb7=a0_0x11fa2b;return this[_0x213eb7(0x47a)][_0x213eb7(0x200)];}[a0_0x11fa2b(0x3f6)](){const _0x43cf56=a0_0x11fa2b;return this['groups'][_0x43cf56(0x3f6)]();}['values'](){const _0x3bd52c=a0_0x11fa2b;return this[_0x3bd52c(0x47a)][_0x3bd52c(0x372)]();}[a0_0x11fa2b(0x472)](){const _0x395010=a0_0x11fa2b;return this['groups'][_0x395010(0x472)]();}[Symbol[a0_0x11fa2b(0x2e7)]](){const _0x538536=a0_0x11fa2b;return this[_0x538536(0x47a)][_0x538536(0x472)]();}[a0_0x11fa2b(0x3d2)](_0x4bdb1d){const _0x4057d9=a0_0x11fa2b;this[_0x4057d9(0x47a)]['forEach']((_0x2590bb,_0x5b2b1a)=>_0x4bdb1d(_0x2590bb,_0x5b2b1a,this));}[a0_0x11fa2b(0x391)](){const _0x26d487=a0_0x11fa2b,_0x4b5b57=new Map();for(const [_0x508b8c,_0x51cbaf]of this['groups']){_0x51cbaf[_0x26d487(0x3fd)]()&&_0x4b5b57[_0x26d487(0x3c6)](_0x508b8c,_0x51cbaf);}return _0x4b5b57;}[a0_0x11fa2b(0x411)](){const _0x40ef12=a0_0x11fa2b;for(const _0xc8ac68 of this[_0x40ef12(0x47a)][_0x40ef12(0x372)]()){if(_0xc8ac68[_0x40ef12(0x3fd)]())return!![];}return![];}['getConflictStats'](){const _0x2a7a40=a0_0x11fa2b;let _0x2add17=0x0,_0x173e4a=0x0;for(const _0x4516ce of this[_0x2a7a40(0x47a)][_0x2a7a40(0x372)]()){_0x4516ce[_0x2a7a40(0x3fd)]()&&(_0x2add17++,_0x173e4a+=_0x4516ce[_0x2a7a40(0x35a)]());}const _0x14b1bf={};return _0x14b1bf[_0x2a7a40(0x445)]=_0x2add17,_0x14b1bf[_0x2a7a40(0x474)]=_0x173e4a,_0x14b1bf['totalGroups']=this[_0x2a7a40(0x47a)]['size'],_0x14b1bf;}['getAllDatasets'](){const _0x2e75e9=a0_0x11fa2b,_0x27e2b8=[];for(const _0x4a682c of this[_0x2e75e9(0x47a)][_0x2e75e9(0x372)]()){_0x27e2b8[_0x2e75e9(0x2eb)](..._0x4a682c[_0x2e75e9(0x2a9)]());}return _0x27e2b8;}['getLatestDatasets'](){const _0x5aba57=a0_0x11fa2b,_0x42f0bc=[];for(const _0x1de55f of this['groups'][_0x5aba57(0x372)]()){_0x42f0bc[_0x5aba57(0x2eb)](_0x1de55f['getLatest']());}return _0x42f0bc;}['getLatest'](_0xd3244c){const _0x262e94=a0_0x11fa2b;return this[_0x262e94(0x47a)][_0x262e94(0x3ca)](_0xd3244c)?.[_0x262e94(0x345)]();}[a0_0x11fa2b(0x2a9)](_0x508ca8){const _0x2f2dcb=a0_0x11fa2b;return this['groups'][_0x2f2dcb(0x3ca)](_0x508ca8)?.[_0x2f2dcb(0x2a9)]()||[];}[a0_0x11fa2b(0x288)](){const _0x618510=a0_0x11fa2b,_0x440c4d=this['getLatestDatasets'](),_0x1556d7=_0x440c4d[_0x618510(0x427)](_0x1ffa2b=>_0x1ffa2b['toJSON']()),_0x465a80={};return _0x465a80[_0x618510(0x2d7)]=![],generateDatasetsConfig(_0x1556d7,_0x465a80);}[a0_0x11fa2b(0x1dc)](){const _0x33d66b=a0_0x11fa2b,_0x12074a=this['getAllDatasets'](),_0x3cc9e8=_0x12074a[_0x33d66b(0x427)](_0x14eaff=>_0x14eaff[_0x33d66b(0x41e)]());return generateFullDatasetsConfig(_0x3cc9e8);}['toObject'](){const _0x38c56f=a0_0x11fa2b,_0x125099={};for(const [_0x234b3a,_0xd1135d]of this[_0x38c56f(0x47a)]){_0x125099[_0x234b3a]=_0xd1135d;}return _0x125099;}['toJSON'](){const _0xc81565=a0_0x11fa2b,_0x1946b3={};for(const [_0x5caf4b,_0x2b75ec]of this[_0xc81565(0x47a)]){_0x1946b3[_0x5caf4b]=_0x2b75ec[_0xc81565(0x2a9)]()[_0xc81565(0x427)](_0x2317ed=>_0x2317ed[_0xc81565(0x41e)]());}return _0x1946b3;}['toString'](){const _0x41fd9f=a0_0x11fa2b;return'DatasetGroupMap('+this[_0x41fd9f(0x47a)][_0x41fd9f(0x200)]+_0x41fd9f(0x2a1)+(this['hasConflicts']()?'has\x20conflicts':_0x41fd9f(0x443))+')';}}function a0_0x57a2(){const _0x3476e5=['enabled','String[]','_fieldList','DOUBLE','warn','description','$contain','generateDefaultFilterOperation','systemAnalysisResult','select','INT','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','extend','支持多个条件','<p>富文本内容</p>','modifierNameField','systemFieldCount','responseBody','解析\x20responseBody\x20失败:','modifyDate','getDatasetMeta','hasUpdateTimeField','Excel导出','下拉选择','POST','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','Operation\x20not\x20found:\x20','pkField','getAggregates','title','DrivenDataDetailPlus(','all','DECIMAL','function','EXCEL_EXPORT','Field(','sortNum','createTimeField','每页数量','RADIO','enableDeduplication','(id);','getRequired','getName','_datasetMeta','getRealTables','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','-\x20其他要更新的字段直接平铺在同一层级','\x20fields,\x20','DatasetItem(','操作成功','DrivenDataDetailPlusV2(','doType','getOne','fromApiResponse','dataset_','iterator','generateAliasExplanation','array','LONGTEXT','push','getResponseSchema','getDisplayName','返回字段列表(字段投影)','autoIncrement','getFieldDefinition','JSON','TIME','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','示例值','msg','indexes','items','##\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','时间戳','toListItem','dataIndex','operations','BOOL','NUMBER','_fieldListWithDeleted','接口名称','getFieldCode',',\x20fields:\x20','groupByType','getDeleted','HTTP\x20直接调用时使用平铺格式:\x0a','getDefaultValue','const\x20data\x20=\x20await\x20client.models.','/filter','update\x20接口接受两个参数:\x0a\x0a','selectItemsSource','Number','BIT','TEXTAREA','getOneOrigin','isAutoIncrement','stringify','keyword','enumValues','slice','getBusiness','datasetId','prefix','_fields','isVirtualTable','_datasetMap','precision','getEnumFieldsMeta','split','data','\x5c{\x5c{','dataset','$endWith','logicField','online','$gteq','tableColumns','CREATE_IMPORT','();\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}','operation','getRequestFields','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','Object[]','//\x20Call\x20the\x20','excelExport','where','sum','DATETIME',',\x20doType=','每页数量(默认:\x2020)','getDisabledNames','BIGINT','getFieldName','长文本','getFieldDisplayName','getModelName','tenantCode','createFields','test','1405159ATOqQx','getResponseParamsDocInfo','_raw','hasFilterOperation','join','modelId','generateExampleValue','创建导出','toField','getFieldNames','getLatest','getActive','groupBy','having','datasetCode','_fieldListV1WithDeleted','aggregate','getSDKInitData','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','18345JPCHBS','type','4541467BvnydJ','DbtableConfig(table:\x20','update','children','host','hasCreateTimeField','toDatasetId','fieldName','find','getDisabledOperations','getCount','useArrayValues','initDataset','getDOType','getDatasetDocMeta','total','prototype','includeRequestExample','getModelAlias','_relations','boolean','getDbTypeForOperation','_fieldListV2','GET','创建导入','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getSelectItemsSource',',\x20...\x20});','SWITCH','getRawDbtableConfig','2024-01-01','_operationList','CREATE_EXPORT','主键ID(必填)','values','createImport','getFilteredOperationAnalyses','getRequestParams','total_count','\x20groups)','distinct','N/A','getEnabledOperations','getDatabaseName','20Ydpkxm','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','getField',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','findByName','getFieldCount','每页数量(可选)','isRequired','ensureFilterOperation','isOpenAPI','modelCode','getFieldInstance','max','fieldCount','method','getRequiredFields','3691890NBSJLU','fields','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','getUpdateFields','CHAR','getConflicts','getEnabledNames','getIndexes','field_name','hasLogicField','[FieldV2]\x20Invalid\x20field\x20definition','getDbName','排序规则','suffix','findByCode','errorCode','getFileUrl','updateTime','const\x20result\x20=\x20await\x20client.models.','fieldCode','creatorNameField','主键,用于定位要更新的记录','getOperationOperators','\x20operations,\x20','isRequiredField','placeholder','hasResponseSchema','bind','getFieldRaw','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','GET_LIST','generateSDKCallCode','2.0','FieldList(','富文本','getType','getFiltered','getRequestParamsDocInfo','getEnumFields','getSelectOptions','getCountByType','getFieldsByType','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','getAt','$lte','_avg','getSystem','字段名称','getEnabled','getTableName','hasExtendField','createTime','_max','raw','要更新的字段数据对象','includes','13800138000','getOperation','set','_min','getFirst','toDatasetCode','get','`:\x20','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','success','hasModifierIdField','sortOperationsWithFilterFirst','hasDbtableConfig','CHECKBOX','forEach','address','generateFromSchema','OperationList(','$or','generateConfig','isBusiness','IMPORT_TEMPLATE','getRaw','getEnabledOperationAnalyses','Invalid\x20API\x20response:\x20success\x20is\x20false','getPrimaryKeyFields','({\x20code,\x20label\x20});','getIds','generateUsageExample','[parseFieldExtend]\x20Invalid\x20field:','getStats','item1','length','responseSchema','code','avg','$ne','usageExample','value2','getEnumMeta','getFieldListV2','businessFieldCount','createAll','String','();','getRelationsByField','some','alias','toISOString','聚合函数配置数组','keys','isEnum','filter','item2','getAppCode','\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','TEXT','hasConflict','updateTimeField','toConfigArray','getFilterOperation','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','_operationAnalyses','//\x20','GET_ONE','toUpperCase','requestFields','getDatasetSDKKey','\x20operations,\x20v1)','demo-app','getOperations','fullUrl','getAllFieldsArray','文件上传','dblinkInfoDTO','generateFieldExample','_sum','hasConflicts','getOperators','getOperationsOverviewData','getFieldDataSource','\x20operation','-\x20`','selectBestOperator','解析\x20requestBody\x20失败:','doVersion','hasCreatorIdField','getEnumOptions','93731tHloat','getList','toJSON','orderBy','sdkCallCode','LONGBLOB','getDatabaseType','parseRawResponseBody','generateResponseExample','getSource','FieldListV2(','map','当前页码(从\x201\x20开始,默认:\x201)','hasTableName','tableName','DELETE','getEnumValues','hasOperation','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','generateRequestAllExamples','createDate','主键ID','getTenantCode','min','getFieldsWithDeleted','parse','sdkCall','$lteq','getFieldDescription','column','generateSingleValueExample','getFields','DatasetList(','getApplicableOperators','importTemplate','0000','defaultValue','version','getCountByMethod','no\x20conflicts','UPLOAD','conflictGroupCount','datasetSDKKey','from','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','\x20API\x20文档','getOperationStats','getBusinessFields','2024-12-31','getCreateTime','BLOB','env','getFieldListWithDeleted','getOneUpdate','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','getPath','isEnabled','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','datasetKey','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','properties','value','<!--\x5cs*CONDITION:\x5cs*','toLowerCase','TINYINT','GET_UPLOAD_FILE_SCRIPT','generateHTTPRequestExample','pageSize','操作名称','datasetName','_instance','isPrimaryKey','allFields',',\x20currentPage,\x20pageSize,\x20...\x20});','FILE','isSystem','generateOperationSummary','create','getSystemFields','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','STRING','TASK_INFO','getAllDatasets','entries','customFilter','conflictItemCount','查询单条(原始)','tableKey','单值查询','toTableName','({\x20/*\x20可选:筛选条件\x20*/\x20});','groups','index','Integer','toArray','count','getConflictingItems','hasDblinkInfo','string','number','$gte','default','({\x20','getFilterOperators','every','fromField','multiple','findById','getFullUrl','-\x20主键ID,用于定位要更新的记录\x0a\x0a','DatasetGroup(','getOperationAnalysesByType','status','generateFullSDKExample','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','toFullConfig','systemRetain','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','isCreateTime','(id,\x20data);','trim','这是一段较长的文本内容示例','getNames','SDK\x20调用时传递两个参数:\x0a','完整的\x20SDK\x20调用代码','BOOLEAN','getLast','getFieldV2','getOperationCount','\x20operations,\x20v2)','datasetMap','dbtableConfig','deleted','_operations','isOperationEnabled','getVersion','mapDbTypeToType','VARCHAR','padStart','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','hasField','排序规则(与\x20Filter\x20API\x20一致)','isMultipleSelectField','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','supportsCRUD','appCode','系统自动生成','generateSDKInitCode','object','dbId','getEnum','size','$eq','source','dbType','getPrimaryKeys','validateEnumValue','[Field]\x20Invalid\x20field\x20definition','当前页码','add','$and','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','isSystemField','replace','errorMsg','DrivenDataDetail(','getOperationFieldOperators','\x20fields)','查询单条(用于更新)','groupByTableName','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','getFilteredOperations','TIMESTAMP','Object','getCodes','getRelations','getFieldList','modifierIdField','_extend','1.0','generateAllOperationsFullSDKExample','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','GET_ONE_ORIGIN','has','getUpdatableFields','isNumericField','required','\x22,数据集:\x20','$in','getEnabledOperationInstances','getUploadFileScript','getDatabaseVersion','datasetInfo','now','getItems','toString','分组后的过滤条件(对聚合结果进行过滤)','tableData','getFieldsFilterOperatorsMap','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','(支持单值或数组)','empty','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','https://example.com/file.pdf','查询列表','getOperationRequestFields','getOperationDocMeta','detectConflicts','4lXAXfe','DATE','parseRawRequestBody','primaryKey','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','context','getMissingCRUDOperations','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','字段编码','DESC','params','Filter\x20API\x20-\x20高级查询接口','_fieldListV1','RICH_TEXT','tooltip','\x20items,\x20','includeDeleted','API路径','[generateRequestExample]\x20Invalid\x20field:','valueLabels','GET_FILE_URL','includeDisabled','INTEGER','_$1','filterBlacklist','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','name','currentPage','Array','dbTypeLen','getDisabledOperationInstances','getEnumFieldMeta','getAutoIncrement','isArray','isFieldPrimaryKey','_requestExampleCache','const\x20fileUrl\x20=\x20await\x20client.models.','查询单条','useFullExample','value1','getFieldOperators','labelField','getVirtualTables','options','daily','getInternalInstance','\x20indexes)','请求示例','normalizeDbType','getOperationList','generateAllOperationsSummary','getFieldSelectItemsSource','200','$startWith','getDisabled','dbName','SMALLINT','getFieldOptions','getOperationAnalysis','getSystemAnalysisResult','delete','getOperationsData','聚合函数配置数组(type:\x20sum/count/avg/max/min)','getRelatedDataset','getTableKey','successCode','分组字段列表','email','getMethod','getGroupedParams','getOperationAnalyses','round','generateConfigArray','isUpdateTime','getOperationFieldsOperatorsMap','requestFieldCount','339425NGOsPx','\x20items,\x20conflict,\x20latest:\x20','toConfig','includeUsageExample','https://example.com/image.jpg','creatorIdField','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','label','每页条数','path','generateRequestExample','dbVersion','query','查询条件(支持\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)','FieldV2(','displayName','8fqIRAc','isMultipleSelect','generateHTTPExample','DrivenDataDetailV2(','FLOAT','withDeleted','9031686mJUhLE','174McJZKR','数组查询(支持多选)','isPrimaryKeyField','IMAGE','\x20groups,\x20','getFieldFilterOperators','getCode','yourModel','CREATE','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','查询单个条件','isDeleted','getAll','operationCount','SELECT','\x5c}\x5c}','getTooltip','getDBConfig'];a0_0x57a2=function(){return _0x3476e5;};return a0_0x57a2();}class DatasetList{[a0_0x11fa2b(0x319)];constructor(_0x327bf1){const _0x40189a=a0_0x11fa2b;let _0x19c511;if(Array[_0x40189a(0x25b)](_0x327bf1))_0x19c511=_0x327bf1;else{if(_0x40189a(0x3cd)in _0x327bf1){if(!_0x327bf1[_0x40189a(0x3cd)])throw new Error(_0x40189a(0x3dc));if(Array['isArray'](_0x327bf1['data']))_0x19c511=_0x327bf1[_0x40189a(0x31d)]['map'](_0x31dca9=>({..._0x31dca9,'datasetCode':_0x31dca9[_0x40189a(0x3e6)]||_0x31dca9[_0x40189a(0x349)]}));else{if(_0x327bf1[_0x40189a(0x31d)]?.[_0x40189a(0x22f)])_0x19c511=_0x327bf1[_0x40189a(0x31d)][_0x40189a(0x22f)]['map'](_0x49a29d=>({..._0x49a29d,'datasetCode':_0x49a29d[_0x40189a(0x3e6)]||_0x49a29d[_0x40189a(0x349)]}));else throw new Error(_0x40189a(0x329));}}else{if('tableData'in _0x327bf1){if(!Array[_0x40189a(0x25b)](_0x327bf1[_0x40189a(0x22f)]))throw new Error(_0x40189a(0x2c8));_0x19c511=_0x327bf1[_0x40189a(0x22f)]['map'](_0x213de4=>({..._0x213de4,'datasetCode':_0x213de4[_0x40189a(0x3e6)]||_0x213de4['datasetCode']}));}else throw new Error(_0x40189a(0x253));}}const _0x2c85ee=cleanDatasetNames(_0x19c511),_0x2a4606=_0x2c85ee[_0x40189a(0x427)](_0x4bb8f0=>new DatasetItem(_0x4bb8f0));this[_0x40189a(0x319)]=new DatasetGroupMap(_0x2a4606);}get[a0_0x11fa2b(0x1eb)](){const _0x26ef55=a0_0x11fa2b;return this[_0x26ef55(0x319)];}[a0_0x11fa2b(0x22c)](){const _0x2c9a12=a0_0x11fa2b;return this[_0x2c9a12(0x319)][_0x2c9a12(0x471)]();}[a0_0x11fa2b(0x35a)](){const _0x280a78=a0_0x11fa2b;return this[_0x280a78(0x22c)]()[_0x280a78(0x3e4)];}['isEmpty'](){const _0x2d701b=a0_0x11fa2b;return this[_0x2d701b(0x319)][_0x2d701b(0x200)]===0x0;}['getAt'](_0x2abbad){return this['getItems']()[_0x2abbad];}[a0_0x11fa2b(0x3c8)](){return this['getItems']()[0x0];}[a0_0x11fa2b(0x1e7)](){const _0xeb4378=a0_0x11fa2b,_0x173b31=this[_0xeb4378(0x22c)]();return _0x173b31[_0x173b31['length']-0x1];}[a0_0x11fa2b(0x39a)](_0x1ac7a1){const _0x2454f2=a0_0x11fa2b;for(const _0x10db55 of this[_0x2454f2(0x319)][_0x2454f2(0x372)]()){const _0x2e17f3=_0x10db55[_0x2454f2(0x39a)](_0x1ac7a1);if(_0x2e17f3)return _0x2e17f3;}return;}[a0_0x11fa2b(0x380)](_0x4399cf){const _0x241670=a0_0x11fa2b;return this[_0x241670(0x22c)]()[_0x241670(0x358)](_0x1f3cd8=>_0x1f3cd8[_0x241670(0x254)]===_0x4399cf);}['findById'](_0x16e7f0){const _0x3a537b=a0_0x11fa2b;for(const _0x56aac8 of this[_0x3a537b(0x319)][_0x3a537b(0x372)]()){const _0x177664=_0x56aac8[_0x3a537b(0x48a)](_0x16e7f0);if(_0x177664)return _0x177664;}return;}['findByTableName'](_0x55edbc){const _0x417ab6=a0_0x11fa2b,_0x2bf3e9=getTableKey(_0x55edbc);return this[_0x417ab6(0x319)][_0x417ab6(0x345)](_0x2bf3e9);}[a0_0x11fa2b(0x3f8)](_0x376107){const _0x269a28=a0_0x11fa2b,_0x16368c=this[_0x269a28(0x22c)]()[_0x269a28(0x3f8)](_0x376107);return new DatasetList(_0x16368c[_0x269a28(0x427)](_0xfc101f=>_0xfc101f[_0x269a28(0x41e)]()));}['findAll'](_0x4089d7){const _0x32bf04=a0_0x11fa2b;return this[_0x32bf04(0x22c)]()[_0x32bf04(0x3f8)](_0x4089d7);}['forEach'](_0x10bc4f){const _0x277a71=a0_0x11fa2b;this[_0x277a71(0x22c)]()[_0x277a71(0x3d2)](_0x10bc4f);}[a0_0x11fa2b(0x427)](_0x1fecfa){const _0x25dd02=a0_0x11fa2b;return this['getItems']()[_0x25dd02(0x427)](_0x1fecfa);}[Symbol[a0_0x11fa2b(0x2e7)]](){const _0x4fdc05=a0_0x11fa2b;return this[_0x4fdc05(0x22c)]()[Symbol[_0x4fdc05(0x2e7)]]();}[a0_0x11fa2b(0x264)](){const _0x313f7f=a0_0x11fa2b;return this[_0x313f7f(0x22c)]()[_0x313f7f(0x3f8)](_0x23156c=>_0x23156c['isVirtualTable']());}[a0_0x11fa2b(0x2dc)](){const _0x14c92e=a0_0x11fa2b;return this[_0x14c92e(0x22c)]()[_0x14c92e(0x3f8)](_0x2261ee=>!_0x2261ee['isVirtualTable']());}[a0_0x11fa2b(0x213)](){const _0x2ec710=a0_0x11fa2b,_0x1e3402={};for(const _0x521260 of this[_0x2ec710(0x319)][_0x2ec710(0x372)]()){const _0x4a40a1=_0x521260[_0x2ec710(0x345)]()['getTableName']();_0x1e3402[_0x4a40a1]=_0x521260[_0x2ec710(0x2a9)]();}return _0x1e3402;}[a0_0x11fa2b(0x239)](){const _0x44ff2f=a0_0x11fa2b,_0x1b17ed={};for(const _0x1ee009 of this[_0x44ff2f(0x319)][_0x44ff2f(0x391)]()[_0x44ff2f(0x372)]()){const _0x119ad8=_0x1ee009[_0x44ff2f(0x345)]()['getTableName']();_0x1b17ed[_0x119ad8]=_0x1ee009[_0x44ff2f(0x2a9)]()[_0x44ff2f(0x427)](_0x2f5019=>_0x2f5019[_0x44ff2f(0x41e)]());}return{'hasConflicts':Object['keys'](_0x1b17ed)[_0x44ff2f(0x3e4)]>0x0,'conflicts':_0x1b17ed};}[a0_0x11fa2b(0x411)](){const _0x307335=a0_0x11fa2b;return this['_datasetMap'][_0x307335(0x411)]();}[a0_0x11fa2b(0x47f)](){const _0x50964a=a0_0x11fa2b,_0x3edcea=[];for(const _0x594af0 of this[_0x50964a(0x319)]['getConflicts']()[_0x50964a(0x372)]()){_0x3edcea[_0x50964a(0x2eb)](..._0x594af0[_0x50964a(0x2a9)]());}return _0x3edcea;}[a0_0x11fa2b(0x3d7)](_0xfd4ea3){const _0x5a1221=a0_0x11fa2b;if(!_0xfd4ea3||Object['keys'](_0xfd4ea3)[_0x5a1221(0x3e4)]===0x0)return this[_0x5a1221(0x1eb)][_0x5a1221(0x288)]();const _0x46c34d=this['getItems']()['map'](_0x13b73b=>_0x13b73b[_0x5a1221(0x41e)]());return generateDatasetsConfig(_0x46c34d,_0xfd4ea3);}[a0_0x11fa2b(0x282)](_0x2edf22){const _0x53517e=this['generateConfig'](_0x2edf22);return datasetsConfigToArray(_0x53517e);}[a0_0x11fa2b(0x3ff)](){const _0x5d1a32=a0_0x11fa2b;return this['getItems']()[_0x5d1a32(0x427)](_0x2bd4f6=>_0x2bd4f6['toConfig']());}['getStats'](){const _0x127926=a0_0x11fa2b;return{'total':this['getCount'](),'virtualTables':this[_0x127926(0x264)]()[_0x127926(0x3e4)],'realTables':this[_0x127926(0x2dc)]()[_0x127926(0x3e4)],'hasConflicts':this[_0x127926(0x411)](),'conflictCount':this[_0x127926(0x47f)]()['length']};}[a0_0x11fa2b(0x47d)](){const _0x299276=a0_0x11fa2b;return this[_0x299276(0x22c)]()[_0x299276(0x427)](_0x297ba8=>_0x297ba8['toJSON']());}[a0_0x11fa2b(0x41e)](){return this['toArray']();}[a0_0x11fa2b(0x22d)](){const _0x5ab15c=a0_0x11fa2b;return _0x5ab15c(0x43c)+this[_0x5ab15c(0x35a)]()+_0x5ab15c(0x249)+this[_0x5ab15c(0x319)][_0x5ab15c(0x200)]+_0x5ab15c(0x377);}static[a0_0x11fa2b(0x2e5)](_0x48e66d){return new DatasetList(_0x48e66d);}static[a0_0x11fa2b(0x35c)](_0x2ef8af){return new DatasetList(_0x2ef8af);}static[a0_0x11fa2b(0x233)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x11fa2b(0x2dd);function renderTemplate(_0x319a6d,_0x1a9aad,_0x266a7d={}){const _0x4d31c7=a0_0x11fa2b;let _0x22bc8d=_0x319a6d;return Object[_0x4d31c7(0x472)](_0x266a7d)[_0x4d31c7(0x3d2)](([_0x2e0b32,_0x238eaa])=>{const _0x40d359=_0x4d31c7,_0x3dfb32=new RegExp(_0x40d359(0x45d)+_0x2e0b32+_0x40d359(0x241),'g');_0x22bc8d=_0x22bc8d['replace'](_0x3dfb32,_0x238eaa?'$1':'');}),Object[_0x4d31c7(0x472)](_0x1a9aad)['forEach'](([_0x2e1891,_0x2cef55])=>{const _0x83294c=_0x4d31c7;if(_0x2cef55!==undefined){const _0xe551a2=new RegExp(_0x83294c(0x31e)+_0x2e1891+_0x83294c(0x2ac),'g');_0x22bc8d=_0x22bc8d['replace'](_0xe551a2,_0x2cef55);}}),_0x22bc8d;}function generateSDKInitCode(_0x43dd20,_0x510f2e,_0x112d23,_0x26c724,_0x28b141){const _0x3dc4d7=a0_0x11fa2b,_0x72e81b={};_0x72e81b['appCode']=_0x43dd20,_0x72e81b['datasetCode']=_0x510f2e,_0x72e81b[_0x3dc4d7(0x3f3)]=_0x112d23,_0x72e81b['env']=_0x26c724===_0x3dc4d7(0x266)?'daily':undefined;const _0x5cb013={};return _0x5cb013[_0x3dc4d7(0x451)]=_0x26c724!==undefined&&_0x26c724!==_0x3dc4d7(0x322),_0x5cb013[_0x3dc4d7(0x385)]=_0x28b141===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x72e81b,_0x5cb013);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x11fa2b(0x2f8);function generateAliasExplanation(_0x27bbe2,_0x4bf4ac,_0x5ede61,_0x233cbe){const _0x50e313=a0_0x11fa2b,_0x1ecbf0=_0x50e313(0x2e6)+_0x27bbe2,_0x3e3e35=_0x50e313(0x20a),_0x3eac45={};return _0x3eac45[_0x50e313(0x349)]=_0x27bbe2,_0x3eac45[_0x50e313(0x446)]=_0x1ecbf0,_0x3eac45[_0x50e313(0x42a)]=_0x4bf4ac,_0x3eac45[_0x50e313(0x3f3)]=_0x5ede61,_0x3eac45['appCode']=_0x233cbe,_0x3eac45['exampleWhere']=_0x3e3e35,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x3eac45,{});}function DrivenDataDetailPlusMixin(_0x2d47b4){const _0x5a4fe2=a0_0x11fa2b;return class extends _0x2d47b4{['getSDKInitData'](_0x138711){const _0x25cb3b=a0_0x4f1f,_0x22384d=this;return{'appCode':_0x138711,'datasetSDKKey':_0x22384d[_0x25cb3b(0x407)](),'alias':_0x22384d['getModelAlias'](),'tableName':_0x22384d['getTableName'](),'datasetCode':_0x22384d[_0x25cb3b(0x349)]};}['generateSDKInitCode'](_0x51ecaa,_0x1793c5=_0x5a4fe2(0x322),_0x4c0a1d=![]){const _0x202f2e=_0x5a4fe2,_0x52a94a=this;return generateSDKInitCode(_0x51ecaa,_0x52a94a[_0x202f2e(0x349)],_0x52a94a[_0x202f2e(0x362)](),_0x1793c5===_0x202f2e(0x266)?_0x1793c5:undefined,_0x4c0a1d);}[_0x5a4fe2(0x1da)](_0x3378bc,_0x4bb975,_0x30636f={}){const _0x40b3db=_0x5a4fe2,_0x58797a=this,_0x5b388c=_0x58797a['getOperations']()[_0x40b3db(0x358)](_0x6916f5=>_0x6916f5[_0x40b3db(0x2da)]()===_0x3378bc);if(!_0x5b388c)return null;const _0x788686={};_0x788686[_0x40b3db(0x260)]=_0x30636f[_0x40b3db(0x361)]!==![];const _0x592398=_0x58797a[_0x40b3db(0x238)](_0x3378bc,_0x788686);if(!_0x592398)return null;const _0x1dbcc9=[];return _0x1dbcc9['push'](_0x40b3db(0x32b)+_0x5b388c[_0x40b3db(0x2da)]()+_0x40b3db(0x415)),_0x1dbcc9[_0x40b3db(0x2eb)](_0x592398[_0x40b3db(0x436)][_0x40b3db(0x3e6)]),_0x1dbcc9[_0x40b3db(0x2eb)](''),_0x30636f[_0x40b3db(0x289)]!==![]&&(_0x1dbcc9[_0x40b3db(0x2eb)]('//\x20Usage\x20examples'),_0x1dbcc9[_0x40b3db(0x2eb)](_0x592398['usageExample']['successCode']),_0x1dbcc9[_0x40b3db(0x2eb)](''),_0x1dbcc9[_0x40b3db(0x2eb)](_0x592398[_0x40b3db(0x3e9)][_0x40b3db(0x39b)])),_0x1dbcc9[_0x40b3db(0x33f)]('\x0a');}[_0x5a4fe2(0x21e)](_0x5c5f81={}){const _0x2f052f=_0x5a4fe2,_0x26581f=this,_0x37a178=_0x26581f[_0x2f052f(0x3db)](),_0x3ed0ed=[];return _0x37a178[_0x2f052f(0x3d2)]((_0x25b34c,_0x4d096e)=>{const _0x44a718=_0x2f052f,_0x57e204=this[_0x44a718(0x1da)](_0x25b34c[_0x44a718(0x254)],_0x44a718(0x409),_0x5c5f81);_0x57e204&&(_0x3ed0ed[_0x44a718(0x2eb)](_0x44a718(0x403)+(_0x4d096e+0x1)+'.\x20'+_0x25b34c[_0x44a718(0x295)]),_0x3ed0ed[_0x44a718(0x2eb)](_0x57e204),_0x3ed0ed[_0x44a718(0x2eb)](''));}),_0x3ed0ed['join']('\x0a');}['generateOperationSummary'](_0x302f10){const _0x178e6c=_0x5a4fe2,_0x2532ea=this,_0x57109d=_0x2532ea['getOperationAnalysis'](_0x302f10);if(!_0x57109d)return null;const _0x31bc63={};return _0x31bc63[_0x178e6c(0x254)]=_0x57109d['name'],_0x31bc63[_0x178e6c(0x295)]=_0x57109d[_0x178e6c(0x295)],_0x31bc63[_0x178e6c(0x38a)]=_0x57109d[_0x178e6c(0x38a)],_0x31bc63[_0x178e6c(0x28f)]=_0x57109d['path'],_0x31bc63[_0x178e6c(0x2af)]=_0x57109d['enabled'],_0x31bc63[_0x178e6c(0x285)]=_0x57109d['requestFields'][_0x178e6c(0x3e4)],_0x31bc63[_0x178e6c(0x3a6)]=_0x57109d[_0x178e6c(0x3e5)]!==null,_0x31bc63;}[_0x5a4fe2(0x26c)](_0x437633={}){const _0x5a1b56=_0x5a4fe2,_0x597397=this,_0x241001=_0x597397['getEnabledOperationAnalyses']();return{'datasetName':_0x597397[_0x5a1b56(0x254)],'datasetCode':_0x597397[_0x5a1b56(0x349)],'tableName':_0x597397['getTableName'](),'totalOperations':_0x241001['length'],'operations':_0x241001['map'](_0x55fa5d=>({'name':_0x55fa5d['name'],'displayName':_0x55fa5d[_0x5a1b56(0x295)],'method':_0x55fa5d['method'],'enabled':_0x55fa5d[_0x5a1b56(0x2af)]}))};}['getOperationRequestFields'](_0x35cf29){const _0x2c53ec=_0x5a4fe2,_0x460f65=this,_0x5a9463=_0x460f65[_0x2c53ec(0x274)](_0x35cf29);if(!_0x5a9463)return[];return _0x5a9463[_0x2c53ec(0x406)][_0x2c53ec(0x427)](_0x14c3a1=>{const _0x5117af=_0x2c53ec,_0x2a6f7f=_0x460f65['getFieldInstance'](_0x14c3a1);if(!_0x2a6f7f)return null;const _0x384a82={};return _0x384a82['code']=_0x14c3a1,_0x384a82['name']=_0x2a6f7f[_0x5117af(0x254)]||_0x14c3a1,_0x384a82;})[_0x2c53ec(0x3f8)](_0x3023bf=>_0x3023bf!==null);}[_0x5a4fe2(0x240)](){const _0x56a1c4=_0x5a4fe2,_0x36a561=this,_0x4d67bd=new Set(_0x36a561[_0x56a1c4(0x3db)]()[_0x56a1c4(0x427)](_0x40446e=>String(_0x40446e[_0x56a1c4(0x34f)]))),_0x116ea2=[_0x56a1c4(0x46c),_0x56a1c4(0x41d),_0x56a1c4(0x352),_0x56a1c4(0x276)];return _0x116ea2['filter'](_0x435abf=>!_0x4d67bd[_0x56a1c4(0x221)](String(_0x435abf)));}[_0x5a4fe2(0x2e8)](_0x152f75='demo-app'){const _0x211aaa=_0x5a4fe2,_0x4f1ad1=this;return generateAliasExplanation(_0x4f1ad1['datasetCode'],_0x4f1ad1[_0x211aaa(0x3bd)](),_0x4f1ad1[_0x211aaa(0x362)](),_0x152f75);}};}function operationToAnalysis(_0x82c8f2){const _0x358b23=a0_0x11fa2b;return{'name':_0x82c8f2[_0x358b23(0x2da)](),'displayName':_0x82c8f2['getDisplayName'](),'type':_0x82c8f2[_0x358b23(0x3af)](),'method':_0x82c8f2[_0x358b23(0x27e)](),'path':_0x82c8f2[_0x358b23(0x455)](),'fullUrl':_0x82c8f2[_0x358b23(0x48b)](),'requestFields':_0x82c8f2['getRequestFields'](),'requestParams':_0x82c8f2['getRequestParams'](),'responseSchema':_0x82c8f2[_0x358b23(0x2ec)](),'requestExample':_0x82c8f2[_0x358b23(0x290)](),'responseExample':_0x82c8f2[_0x358b23(0x424)](),'enabled':_0x82c8f2[_0x358b23(0x456)]()};}function operationsToAnalyses(_0x4dc8ad){const _0x257193=a0_0x11fa2b;if(!Array[_0x257193(0x25b)](_0x4dc8ad))return!![]&&console['warn'](_0x257193(0x2ba),_0x4dc8ad),[];return _0x4dc8ad[_0x257193(0x427)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x42e647){const _0x51c568=a0_0x11fa2b,_0x28a3e0=_0x42e647[_0x51c568(0x358)](_0x54cb5e=>_0x54cb5e['name']==='filter'),_0x4a76c1=_0x42e647[_0x51c568(0x3f8)](_0x5f599f=>_0x5f599f['name']!==_0x51c568(0x3f8));return _0x28a3e0?[_0x28a3e0,..._0x4a76c1]:_0x4a76c1;}function filterOperationAnalyses(_0x4fb5e1,_0x5a0550={}){const _0x3de2e1=a0_0x11fa2b;let _0x48d4d1=_0x4fb5e1;return!_0x5a0550[_0x3de2e1(0x24f)]&&(_0x48d4d1=_0x48d4d1[_0x3de2e1(0x3f8)](_0x1f4cd5=>_0x1f4cd5[_0x3de2e1(0x2af)])),_0x5a0550[_0x3de2e1(0x252)]!==![]&&(_0x48d4d1=filterApiOperations(_0x48d4d1)),_0x5a0550[_0x3de2e1(0x473)]&&(_0x48d4d1=_0x48d4d1[_0x3de2e1(0x3f8)](_0x5a0550[_0x3de2e1(0x473)])),sortOperationsWithFilterFirst(_0x48d4d1);}function getOperationStats(_0x2f9151){const _0x35c81b=a0_0x11fa2b,_0x3e56b8=_0x2f9151[_0x35c81b(0x3f8)](_0x483c40=>_0x483c40['enabled']);return{'total':_0x2f9151[_0x35c81b(0x3e4)],'enabled':_0x3e56b8['length'],'disabled':_0x2f9151['length']-_0x3e56b8['length'],'byType':getCountByType(_0x3e56b8),'byMethod':getCountByMethod(_0x3e56b8)};}function getCountByType(_0x2c10fb){const _0x303e2a={};return _0x2c10fb['forEach'](_0xb3505=>{if(_0xb3505['type'])_0x303e2a[_0xb3505['type']]=(_0x303e2a[_0xb3505['type']]||0x0)+0x1;}),_0x303e2a;}function getCountByMethod(_0x5372fe){const _0x396315={};return _0x5372fe['forEach'](_0x3c997a=>{const _0x2458b6=a0_0x4f1f;_0x396315[_0x3c997a['method']]=(_0x396315[_0x3c997a[_0x2458b6(0x38a)]]||0x0)+0x1;}),_0x396315;}function supportsCRUD(_0x1a748e){const _0x25d8a1=a0_0x11fa2b,_0x67786f=new Set(_0x1a748e[_0x25d8a1(0x427)](_0x386a5e=>_0x386a5e['type'])[_0x25d8a1(0x3f8)](Boolean));return _0x67786f[_0x25d8a1(0x221)]('create')&&_0x67786f[_0x25d8a1(0x221)](_0x25d8a1(0x41d))&&_0x67786f[_0x25d8a1(0x221)]('update')&&_0x67786f[_0x25d8a1(0x221)](_0x25d8a1(0x276));}function createOperationDocMeta(_0x3a6134,_0x24141e,_0x2ca38b,_0x8410b8,_0x67b496,_0x4ea663){const _0xc81fed=a0_0x11fa2b,_0xc95031={};return _0xc95031[_0xc81fed(0x260)]=_0x4ea663?.[_0xc81fed(0x260)],{'operation':_0x3a6134,'operationInstance':_0x24141e,'basicInfo':{'name':_0x3a6134[_0xc81fed(0x254)],'displayName':_0x3a6134[_0xc81fed(0x295)],'method':_0x3a6134[_0xc81fed(0x38a)],'path':_0x3a6134[_0xc81fed(0x28f)],'fullUrl':_0x3a6134[_0xc81fed(0x40b)],'enabled':_0x3a6134['enabled']},'sdkCall':{'datasetCode':_0x2ca38b,'datasetSDKKey':_0x8410b8,'tableName':_0x67b496,'operationName':_0x3a6134[_0xc81fed(0x254)],'params':_0x3a6134['requestFields'],'code':_0x24141e['generateSDKCallCode'](_0x8410b8,_0xc95031)},'usageExample':_0x24141e[_0xc81fed(0x3e0)](_0x8410b8)};}function createOperationsOverviewData(_0x1cb089){const _0x988754=a0_0x11fa2b,_0x5c28b6={};_0x5c28b6[_0x988754(0x47b)]=_0x988754(0x254),_0x5c28b6[_0x988754(0x28d)]=_0x988754(0x300);const _0x19eb7d={};_0x19eb7d['index']='displayName',_0x19eb7d[_0x988754(0x28d)]=_0x988754(0x463);const _0x41723b={};_0x41723b[_0x988754(0x47b)]=_0x988754(0x38a),_0x41723b[_0x988754(0x28d)]='方法';const _0x451b5e={};_0x451b5e[_0x988754(0x47b)]=_0x988754(0x436),_0x451b5e[_0x988754(0x28d)]='SDK\x20调用';const _0x28843e={};_0x28843e[_0x988754(0x47b)]=_0x988754(0x28f),_0x28843e[_0x988754(0x28d)]=_0x988754(0x24b);const _0x54b4ff={};_0x54b4ff['index']=_0x988754(0x420),_0x54b4ff[_0x988754(0x28d)]=_0x988754(0x1e5);const _0x40a202=[_0x5c28b6,_0x19eb7d,_0x41723b,_0x451b5e,_0x28843e,_0x54b4ff],_0x2c20c5=_0x1cb089[_0x988754(0x427)](_0x430f7b=>{const _0x401df4=_0x988754,{basicInfo:_0x428257,sdkCall:_0x2ea510}=_0x430f7b,_0x589ef4=_0x2ea510['code'][_0x401df4(0x20d)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x401df4(0x20d)](/;$/,''),_0x1c53c7={};return _0x1c53c7[_0x401df4(0x295)]=_0x428257['displayName'],_0x1c53c7['name']=_0x428257[_0x401df4(0x254)],_0x1c53c7[_0x401df4(0x38a)]=_0x428257['method'],_0x1c53c7[_0x401df4(0x28f)]=_0x428257[_0x401df4(0x28f)],_0x1c53c7['sdkCall']=_0x589ef4,_0x1c53c7[_0x401df4(0x420)]=_0x2ea510[_0x401df4(0x3e6)],_0x1c53c7;}),_0x3a39e0={};return _0x3a39e0[_0x988754(0x324)]=_0x40a202,_0x3a39e0[_0x988754(0x22f)]=_0x2c20c5,_0x3a39e0;}function createDatasetDocMeta(_0x1855d1,_0x47299a,_0x33b0dd,_0x329697,_0x3179eb,_0x2ac091,_0x833402,_0x47c52e,_0x4f4361){const _0x35a14a=a0_0x11fa2b,_0x1cb4ef={};return _0x1cb4ef[_0x35a14a(0x2cc)]=_0x1855d1+_0x35a14a(0x44b),_0x1cb4ef[_0x35a14a(0x22a)]={},_0x1cb4ef[_0x35a14a(0x2fc)]=_0x4f4361,_0x1cb4ef[_0x35a14a(0x22a)][_0x35a14a(0x254)]=_0x1855d1,_0x1cb4ef[_0x35a14a(0x22a)][_0x35a14a(0x3e6)]=_0x47299a,_0x1cb4ef[_0x35a14a(0x22a)][_0x35a14a(0x42a)]=_0x33b0dd,_0x1cb4ef[_0x35a14a(0x22a)][_0x35a14a(0x446)]=_0x329697,_0x1cb4ef[_0x35a14a(0x22a)][_0x35a14a(0x476)]=_0x3179eb,_0x1cb4ef[_0x35a14a(0x22a)][_0x35a14a(0x202)]=_0x2ac091,_0x1cb4ef[_0x35a14a(0x22a)][_0x35a14a(0x389)]=_0x833402,_0x1cb4ef[_0x35a14a(0x22a)][_0x35a14a(0x3ed)]=0x0,_0x1cb4ef[_0x35a14a(0x22a)][_0x35a14a(0x2bf)]=0x0,_0x1cb4ef[_0x35a14a(0x22a)][_0x35a14a(0x2aa)]=_0x47c52e,_0x1cb4ef[_0x35a14a(0x22a)]['enabledOperationCount']=_0x4f4361[_0x35a14a(0x3e4)],_0x1cb4ef;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x11fa2b(0x402)];[a0_0x11fa2b(0x1f0)](){return'v1';}[a0_0x11fa2b(0x362)](){const _0x495135=a0_0x11fa2b;return this[_0x495135(0x27a)]();}[a0_0x11fa2b(0x280)](_0x57d0da=![]){const _0x53f4f6=a0_0x11fa2b;if(!_0x57d0da&&this['_operationAnalyses'])return this[_0x53f4f6(0x402)];const _0x5a841e=this['getOperations']();return this['_operationAnalyses']=operationsToAnalyses(_0x5a841e),this['_operationAnalyses'];}[a0_0x11fa2b(0x3db)](){const _0x20e842=a0_0x11fa2b,_0x136dbe={};return _0x136dbe[_0x20e842(0x24f)]=![],_0x136dbe[_0x20e842(0x252)]=!![],this['getFilteredOperationAnalyses'](_0x136dbe);}[a0_0x11fa2b(0x374)](_0x39facf={}){const _0x162b6b=a0_0x11fa2b;return filterOperationAnalyses(this[_0x162b6b(0x280)](),_0x39facf);}['getOperationAnalysis'](_0x27a601){const _0x469dd2=a0_0x11fa2b;return this['getOperationAnalyses']()[_0x469dd2(0x358)](_0x2d1dee=>_0x2d1dee['name']===_0x27a601);}[a0_0x11fa2b(0x48e)](_0x404277){const _0x3fa72f=a0_0x11fa2b;return this[_0x3fa72f(0x280)]()[_0x3fa72f(0x3f8)](_0x592921=>_0x592921[_0x3fa72f(0x34f)]===_0x404277);}[a0_0x11fa2b(0x238)](_0xca9276,_0x332991){const _0x5e34ce=a0_0x11fa2b,_0x71991a=this[_0x5e34ce(0x274)](_0xca9276);if(!_0x71991a)return null;const _0x1db619=this['getOperations']()[_0x5e34ce(0x358)](_0x48851f=>_0x48851f['getName']()===_0x71991a['name']);if(!_0x1db619)throw new Error('Operation\x20not\x20found:\x20'+_0x71991a[_0x5e34ce(0x254)]);return createOperationDocMeta(_0x71991a,_0x1db619,this['datasetCode'],this['getDatasetSDKKey'](),this[_0x5e34ce(0x3bd)](),_0x332991);}[a0_0x11fa2b(0x35e)](_0x17018d={}){const _0x50fa61=a0_0x11fa2b,_0x27d509=this[_0x50fa61(0x374)](_0x17018d),_0x5a9fb2=_0x27d509[_0x50fa61(0x427)](_0x217b06=>this[_0x50fa61(0x238)](_0x217b06[_0x50fa61(0x254)]))[_0x50fa61(0x3f8)](_0x4a75b4=>_0x4a75b4!==null);return createDatasetDocMeta(this[_0x50fa61(0x254)],this['datasetCode'],this[_0x50fa61(0x3bd)](),this[_0x50fa61(0x407)](),this[_0x50fa61(0x27a)](),this[_0x50fa61(0x202)],this['getFieldCount'](),this['getOperationCount'](),_0x5a9fb2);}[a0_0x11fa2b(0x413)](_0x50cef0){return createOperationsOverviewData(_0x50cef0);}[a0_0x11fa2b(0x1f9)](){const _0x3c2859=a0_0x11fa2b;return supportsCRUD(this[_0x3c2859(0x3db)]());}[a0_0x11fa2b(0x44c)](){const _0x3dad79=a0_0x11fa2b;return getOperationStats(this[_0x3dad79(0x280)]());}['toString'](){const _0x424f06=a0_0x11fa2b,_0x8aaa74=this[_0x424f06(0x44c)]();return _0x424f06(0x2cd)+this['name']+',\x20'+this[_0x424f06(0x349)]+',\x20'+this[_0x424f06(0x381)]()+_0x424f06(0x2df)+_0x8aaa74[_0x424f06(0x2af)]+'/'+_0x8aaa74[_0x424f06(0x35f)]+_0x424f06(0x408);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x11fa2b(0x402)];[a0_0x11fa2b(0x1f0)](){return'v2';}['getModelAlias'](){return this['getTableKey']();}['getOperationAnalyses'](_0xce7dec=![]){const _0x2a7ccb=a0_0x11fa2b;if(!_0xce7dec&&this['_operationAnalyses'])return this[_0x2a7ccb(0x402)];const _0x5432d1=this[_0x2a7ccb(0x40a)]();return this[_0x2a7ccb(0x402)]=operationsToAnalyses(_0x5432d1),this[_0x2a7ccb(0x402)];}['getEnabledOperationAnalyses'](){const _0xbb4626=a0_0x11fa2b,_0x281672={};return _0x281672['includeDisabled']=![],_0x281672[_0xbb4626(0x252)]=!![],this[_0xbb4626(0x374)](_0x281672);}['getFilteredOperationAnalyses'](_0x32e274={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x32e274);}[a0_0x11fa2b(0x274)](_0x52378d){const _0x8a5762=a0_0x11fa2b;return this[_0x8a5762(0x280)]()[_0x8a5762(0x358)](_0x410518=>_0x410518[_0x8a5762(0x254)]===_0x52378d);}[a0_0x11fa2b(0x48e)](_0xc94fc0){const _0x4866c6=a0_0x11fa2b;return this[_0x4866c6(0x280)]()[_0x4866c6(0x3f8)](_0x19e41b=>_0x19e41b[_0x4866c6(0x34f)]===_0xc94fc0);}[a0_0x11fa2b(0x238)](_0x5083f4,_0x2c35d3){const _0x5058e1=a0_0x11fa2b,_0x2f5c2b=this[_0x5058e1(0x274)](_0x5083f4);if(!_0x2f5c2b)return null;const _0x16f31c=this['getOperations']()['find'](_0x5bfd23=>_0x5bfd23[_0x5058e1(0x2da)]()===_0x2f5c2b[_0x5058e1(0x254)]);if(!_0x16f31c)throw new Error(_0x5058e1(0x2c9)+_0x2f5c2b[_0x5058e1(0x254)]);return createOperationDocMeta(_0x2f5c2b,_0x16f31c,this[_0x5058e1(0x349)],this[_0x5058e1(0x407)](),this[_0x5058e1(0x3bd)](),_0x2c35d3);}[a0_0x11fa2b(0x35e)](_0x1bbd28={}){const _0x26e621=a0_0x11fa2b,_0x33660f=this[_0x26e621(0x374)](_0x1bbd28),_0x23c59f=_0x33660f['map'](_0x17ea4a=>this['getOperationDocMeta'](_0x17ea4a[_0x26e621(0x254)]))['filter'](_0x80eb12=>_0x80eb12!==null);return createDatasetDocMeta(this[_0x26e621(0x254)],this[_0x26e621(0x349)],this['getTableName'](),this[_0x26e621(0x407)](),this[_0x26e621(0x27a)](),this['source'],this[_0x26e621(0x381)](),this[_0x26e621(0x1e9)](),_0x23c59f);}[a0_0x11fa2b(0x413)](_0x37bf5a){return createOperationsOverviewData(_0x37bf5a);}[a0_0x11fa2b(0x1f9)](){const _0x304ce0=a0_0x11fa2b;return supportsCRUD(this[_0x304ce0(0x3db)]());}[a0_0x11fa2b(0x44c)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x11fa2b(0x22d)](){const _0x1667f9=a0_0x11fa2b,_0x35cab1=this[_0x1667f9(0x44c)]();return _0x1667f9(0x2e2)+this[_0x1667f9(0x254)]+',\x20'+this[_0x1667f9(0x349)]+',\x20'+this[_0x1667f9(0x381)]()+'\x20fields,\x20'+_0x35cab1[_0x1667f9(0x2af)]+'/'+_0x35cab1[_0x1667f9(0x35f)]+_0x1667f9(0x1ea);}}function detectDatasetVersion3(_0x5755f4){const _0x41ea0a=a0_0x11fa2b;if(_0x5755f4[_0x41ea0a(0x419)]==='v2'&&_0x41ea0a(0x38d)in _0x5755f4&&Array[_0x41ea0a(0x25b)](_0x5755f4[_0x41ea0a(0x38d)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x11fa2b(0x465)];constructor(_0x201c85){const _0x399d5c=a0_0x11fa2b,_0x288cef=detectDatasetVersion3(_0x201c85);return this[_0x399d5c(0x465)]=_0x288cef==='v2'?new DrivenDataDetailPlusV2(_0x201c85):new DrivenDataDetailPlusV1(_0x201c85),new Proxy(this,{'get'(_0x292e67,_0x59bd7a){const _0x27817c=_0x399d5c;if(_0x59bd7a in _0x292e67){const _0x1a1d72=_0x292e67[_0x59bd7a];return typeof _0x1a1d72===_0x27817c(0x2d0)?_0x1a1d72['bind'](_0x292e67):_0x1a1d72;}if(_0x59bd7a in _0x292e67[_0x27817c(0x465)]){const _0x1e2571=_0x292e67[_0x27817c(0x465)][_0x59bd7a];return typeof _0x1e2571===_0x27817c(0x2d0)?_0x1e2571[_0x27817c(0x3a7)](_0x292e67[_0x27817c(0x465)]):_0x1e2571;}return;},'set'(_0x45363e,_0x31fd83,_0x1147bf){return _0x45363e[_0x31fd83]=_0x1147bf,!![];},'getPrototypeOf'(_0x2d38c4){const _0x26769d=_0x399d5c;return DrivenDataDetailPlus[_0x26769d(0x360)];}});}get[a0_0x11fa2b(0x254)](){const _0x1b06c9=a0_0x11fa2b;return this[_0x1b06c9(0x465)][_0x1b06c9(0x254)];}get['id'](){return this['_instance']['id'];}get['datasetCode'](){const _0x2a4ad7=a0_0x11fa2b;return this[_0x2a4ad7(0x465)][_0x2a4ad7(0x349)];}get[a0_0x11fa2b(0x202)](){const _0x2d1ebb=a0_0x11fa2b;return this[_0x2d1ebb(0x465)]['source'];}get[a0_0x11fa2b(0x1ec)](){const _0x2cc101=a0_0x11fa2b;return this[_0x2cc101(0x465)][_0x2cc101(0x2ae)]();}[a0_0x11fa2b(0x1f0)](){const _0x5d1e0c=a0_0x11fa2b,_0x2d68a6=this[_0x5d1e0c(0x465)]['getVersion']();return _0x2d68a6==='v2'?'v2':'v1';}[a0_0x11fa2b(0x381)](){return this['_instance']['getFieldCount']();}[a0_0x11fa2b(0x1e9)](){const _0x5c4398=a0_0x11fa2b;return this['_instance'][_0x5c4398(0x1e9)]();}[a0_0x11fa2b(0x43b)](){const _0x29d722=a0_0x11fa2b;return this[_0x29d722(0x465)][_0x29d722(0x43b)]();}[a0_0x11fa2b(0x40a)](){const _0x30fd72=a0_0x11fa2b;return this[_0x30fd72(0x465)][_0x30fd72(0x40a)]();}['getFilteredOperations'](_0x37e40a){const _0x21a4e2=a0_0x11fa2b;return this[_0x21a4e2(0x465)][_0x21a4e2(0x215)](_0x37e40a);}['getFieldInstance'](_0x3a41cc){const _0xe2f647=a0_0x11fa2b;return this[_0xe2f647(0x465)]['getFieldInstance'](_0x3a41cc);}[a0_0x11fa2b(0x3bd)](){const _0x469563=a0_0x11fa2b;return this[_0x469563(0x465)][_0x469563(0x3bd)]();}[a0_0x11fa2b(0x27a)](){const _0x1c0197=a0_0x11fa2b;return this[_0x1c0197(0x465)]['getTableKey']();}['getDatasetSDKKey'](){const _0x8a96b=a0_0x11fa2b;return this['_instance'][_0x8a96b(0x407)]();}['getFieldList'](){const _0x36e79d=a0_0x11fa2b;return this[_0x36e79d(0x465)][_0x36e79d(0x21a)]();}[a0_0x11fa2b(0x3b2)](){const _0xf42d5d=a0_0x11fa2b;return this[_0xf42d5d(0x465)][_0xf42d5d(0x3b2)]();}['getEnumFieldsMeta'](){const _0x13756e=a0_0x11fa2b;return this['_instance'][_0x13756e(0x31b)]();}[a0_0x11fa2b(0x1f7)](_0x1d6827){const _0x54deef=a0_0x11fa2b;return this[_0x54deef(0x465)]['isMultipleSelectField'](_0x1d6827);}['getField'](_0x4dfa55){const _0x38eb14=a0_0x11fa2b;return this[_0x38eb14(0x465)][_0x38eb14(0x37e)](_0x4dfa55);}['getFieldOptions'](_0x1ce1ae){const _0x4dde7c=a0_0x11fa2b;return this[_0x4dde7c(0x465)][_0x4dde7c(0x273)](_0x1ce1ae);}['getFieldSelectItemsSource'](_0xb277dd){const _0x3fd46b=a0_0x11fa2b;return this[_0x3fd46b(0x465)][_0x3fd46b(0x26d)](_0xb277dd);}[a0_0x11fa2b(0x259)](_0x34baac){const _0x1ed6c3=a0_0x11fa2b;return this[_0x1ed6c3(0x465)]['getEnumFieldMeta'](_0x34baac);}['validateEnumValue'](_0x517901,_0x58c033){const _0x381e68=a0_0x11fa2b;return this[_0x381e68(0x465)][_0x381e68(0x205)](_0x517901,_0x58c033);}[a0_0x11fa2b(0x3a4)](_0x53d4f6){const _0x599a7b=a0_0x11fa2b;return this[_0x599a7b(0x465)][_0x599a7b(0x3a4)](_0x53d4f6);}[a0_0x11fa2b(0x3e2)](){const _0x2aa17c=a0_0x11fa2b;return this[_0x2aa17c(0x465)]['getStats']();}[a0_0x11fa2b(0x400)](){const _0x23d480=a0_0x11fa2b;return this['_instance'][_0x23d480(0x400)]();}[a0_0x11fa2b(0x33e)](){const _0x104dcd=a0_0x11fa2b;return this[_0x104dcd(0x465)][_0x104dcd(0x33e)]();}['hasOperation'](_0x52b9af){const _0x1828f0=a0_0x11fa2b;return this['_instance'][_0x1828f0(0x42d)](_0x52b9af);}[a0_0x11fa2b(0x2ae)](){const _0x4505f9=a0_0x11fa2b;return this[_0x4505f9(0x465)][_0x4505f9(0x2ae)]();}['getRawDbtableConfig'](){const _0x24b9ef=a0_0x11fa2b;return this['_instance'][_0x24b9ef(0x36d)]();}['getSource'](){const _0xe8c488=a0_0x11fa2b;return this[_0xe8c488(0x465)][_0xe8c488(0x425)]();}[a0_0x11fa2b(0x280)](_0x4d8d22){const _0x1bb08e=a0_0x11fa2b;return this[_0x1bb08e(0x465)][_0x1bb08e(0x280)](_0x4d8d22);}[a0_0x11fa2b(0x3db)](){const _0x2908d4=a0_0x11fa2b;return this[_0x2908d4(0x465)]['getEnabledOperationAnalyses']();}[a0_0x11fa2b(0x374)](_0x50e814){const _0x2a2802=a0_0x11fa2b;return this[_0x2a2802(0x465)]['getFilteredOperationAnalyses'](_0x50e814);}['getOperationAnalysis'](_0x2ebaff){const _0x4f8d8a=a0_0x11fa2b;return this[_0x4f8d8a(0x465)]['getOperationAnalysis'](_0x2ebaff);}[a0_0x11fa2b(0x48e)](_0x542be8){const _0x55eb01=a0_0x11fa2b;return this['_instance'][_0x55eb01(0x48e)](_0x542be8);}['getOperationDocMeta'](_0x1c30b8,_0x3ce911){const _0x554168=a0_0x11fa2b;return this[_0x554168(0x465)][_0x554168(0x238)](_0x1c30b8,_0x3ce911);}[a0_0x11fa2b(0x35e)](_0x5b92b6){const _0x47a563=a0_0x11fa2b;return this[_0x47a563(0x465)][_0x47a563(0x35e)](_0x5b92b6);}['getOperationsOverviewData'](_0xf3eb0a){const _0xb02af9=a0_0x11fa2b;return this[_0xb02af9(0x465)][_0xb02af9(0x413)](_0xf3eb0a);}[a0_0x11fa2b(0x362)](){const _0x447fc1=a0_0x11fa2b;return this['_instance'][_0x447fc1(0x362)]();}['supportsCRUD'](){const _0x34e2fa=a0_0x11fa2b;return this[_0x34e2fa(0x465)][_0x34e2fa(0x1f9)]();}[a0_0x11fa2b(0x44c)](){const _0x3d12d4=a0_0x11fa2b;return this[_0x3d12d4(0x465)][_0x3d12d4(0x44c)]();}[a0_0x11fa2b(0x22d)](){const _0x5356d5=a0_0x11fa2b;return this['_instance'][_0x5356d5(0x22d)]();}['getOperation'](_0xbed412){const _0x3800c1=a0_0x11fa2b;return this[_0x3800c1(0x465)][_0x3800c1(0x3c5)](_0xbed412);}[a0_0x11fa2b(0x34c)](_0x52326d){const _0x31604c=a0_0x11fa2b;return this[_0x31604c(0x465)][_0x31604c(0x34c)](_0x52326d);}[a0_0x11fa2b(0x1fc)](_0x4ab3c6,_0x449641,_0x5e66e6){const _0x5b4ce1=a0_0x11fa2b;return this['_instance'][_0x5b4ce1(0x1fc)](_0x4ab3c6,_0x449641,_0x5e66e6);}[a0_0x11fa2b(0x1da)](_0x420029,_0x352c10,_0x5e5e8a){const _0x4d406d=a0_0x11fa2b;return this['_instance'][_0x4d406d(0x1da)](_0x420029,_0x352c10,_0x5e5e8a);}[a0_0x11fa2b(0x21e)](_0x5039d6){const _0x147fe3=a0_0x11fa2b;return this[_0x147fe3(0x465)][_0x147fe3(0x21e)](_0x5039d6);}[a0_0x11fa2b(0x46b)](_0x1eac9c){return this['_instance']['generateOperationSummary'](_0x1eac9c);}['generateAllOperationsSummary'](_0x2a19bc){const _0x655e35=a0_0x11fa2b;return this[_0x655e35(0x465)][_0x655e35(0x26c)](_0x2a19bc);}[a0_0x11fa2b(0x237)](_0x2fd4d4){const _0x98ae1d=a0_0x11fa2b;return this[_0x98ae1d(0x465)][_0x98ae1d(0x237)](_0x2fd4d4);}['getMissingCRUDOperations'](){const _0x868994=a0_0x11fa2b;return this[_0x868994(0x465)][_0x868994(0x240)]();}[a0_0x11fa2b(0x2e8)](){const _0x7259d2=a0_0x11fa2b;return this[_0x7259d2(0x465)][_0x7259d2(0x2e8)]();}[a0_0x11fa2b(0x267)](){const _0x30c31e=a0_0x11fa2b;return this[_0x30c31e(0x465)];}}function createDrivenDataDetailPlus(_0x2c1d3f,_0x177346={}){const _0x21ccbd=a0_0x11fa2b;if(_0x177346['forceVersion']==='v1')return new DrivenDataDetailPlusV1(_0x2c1d3f);if(_0x177346['forceVersion']==='v2')return new DrivenDataDetailPlusV2(_0x2c1d3f);if(_0x2c1d3f[_0x21ccbd(0x419)]==='v2'||_0x21ccbd(0x31f)in _0x2c1d3f)return new DrivenDataDetailPlusV2(_0x2c1d3f);return new DrivenDataDetailPlusV1(_0x2c1d3f);}function isPlusV2Instance(_0x1c01b5){const _0x2f31d0=a0_0x11fa2b;return _0x1c01b5[_0x2f31d0(0x1f0)]()==='v2';}function isPlusV1Instance(_0x35a141){const _0x2aaee0=a0_0x11fa2b;return _0x35a141[_0x2aaee0(0x1f0)]()==='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_0x5ba6db=a0_0x5697;(function(_0x326ba4,_0x2d88f0){const _0x2e7275=a0_0x5697,_0x139976=_0x326ba4();while(!![]){try{const _0x4d6105=parseInt(_0x2e7275(0x312))/0x1*(parseInt(_0x2e7275(0x22c))/0x2)+parseInt(_0x2e7275(0x2f9))/0x3+-parseInt(_0x2e7275(0x290))/0x4*(-parseInt(_0x2e7275(0x20d))/0x5)+-parseInt(_0x2e7275(0x7f))/0x6*(parseInt(_0x2e7275(0x27d))/0x7)+-parseInt(_0x2e7275(0x81))/0x8+parseInt(_0x2e7275(0x1a9))/0x9*(-parseInt(_0x2e7275(0x268))/0xa)+parseInt(_0x2e7275(0x222))/0xb;if(_0x4d6105===_0x2d88f0)break;else _0x139976['push'](_0x139976['shift']());}catch(_0x37725c){_0x139976['push'](_0x139976['shift']());}}}(a0_0x1065,0xc99ef));function toCamelCase(_0x4304c0){const _0x4269e8=a0_0x5697;if(!_0x4304c0)return'';return _0x4304c0[_0x4269e8(0x294)](/[_-]/)[_0x4269e8(0xc9)]((_0x373f6b,_0x4b3203)=>{const _0xfb1b75=_0x4269e8;if(_0x4b3203===0x0)return _0x373f6b['toLowerCase']();return _0x373f6b['charAt'](0x0)[_0xfb1b75(0x201)]()+_0x373f6b[_0xfb1b75(0x1a0)](0x1)[_0xfb1b75(0x291)]();})['join']('');}function toPascalCase(_0x4c0757){const _0x518cb3=a0_0x5697;if(!_0x4c0757)return'';const _0x3f7663=toCamelCase(_0x4c0757);return _0x3f7663['charAt'](0x0)['toUpperCase']()+_0x3f7663[_0x518cb3(0x1a0)](0x1);}function toSnakeCase(_0x6ebc8d){const _0x2a4048=a0_0x5697;if(!_0x6ebc8d)return'';return _0x6ebc8d[_0x2a4048(0x1bd)](/([A-Z])/g,_0x2a4048(0x210))[_0x2a4048(0x291)]()['replace'](/^_/,'');}function toKebabCase(_0x823648){const _0x1b86aa=a0_0x5697;if(!_0x823648)return'';return _0x823648['replace'](/([A-Z])/g,_0x1b86aa(0x17e))[_0x1b86aa(0x291)]()[_0x1b86aa(0x1bd)](/^-/,'');}function normalizeFieldName(_0x36ab18){const _0x1398cd=a0_0x5697;if(!_0x36ab18)return'';return _0x36ab18[_0x1398cd(0x17a)]()[_0x1398cd(0x1bd)](/\s+/g,'_')[_0x1398cd(0x1bd)](/[^a-zA-Z0-9_]/g,'_')[_0x1398cd(0x1bd)](/_+/g,'_')[_0x1398cd(0x1bd)](/^_|_$/g,'');}function getTableName(_0x41ba06){const _0x1445e7=a0_0x5697;if(!_0x41ba06)return _0x1445e7(0x264);if(_0x41ba06[_0x1445e7(0x126)]?.['tableName'])return _0x41ba06['dbtableConfig']['tableName'];const _0xe22458=_0x41ba06[_0x1445e7(0x89)]||_0x41ba06[_0x1445e7(0x1f0)]||_0x41ba06[_0x1445e7(0x144)];if(_0xe22458)return generateTableNameFromCode(_0xe22458);return _0x1445e7(0x264);}function getTableKey(_0x200df7){const _0x4198c9=a0_0x5697;if(typeof _0x200df7===_0x4198c9(0x27c))return toCamelCase(_0x200df7);const _0x11108d=getTableName(_0x200df7);return toCamelCase(_0x11108d);}function generateTableNameFromCode(_0x57bb4c){const _0xe78086=a0_0x5697;if(!_0x57bb4c)return'dataset_000000';const _0x4e0351=_0x57bb4c[_0xe78086(0x1a0)](-0x6)['padStart'](0x6,'0');return _0xe78086(0x1fc)+_0x4e0351;}function isVirtualTableName(_0x19b175){const _0x4cf1ff=a0_0x5697;return/^dataset_[a-zA-Z0-9]{6}$/[_0x4cf1ff(0x2cf)](_0x19b175);}function generateModelKeyFromCode(_0x15fc78){const _0x5d08fa=a0_0x5697;if(!_0x15fc78)return _0x5d08fa(0x112);return _0x5d08fa(0x1fc)+_0x15fc78;}function getDbName(_0x1b0380){const _0x1f71ad=a0_0x5697;return _0x1b0380[_0x1f71ad(0x126)]?.['dbName']||_0x1b0380[_0x1f71ad(0x126)]?.[_0x1f71ad(0x2be)]?.[_0x1f71ad(0x2f8)]||'';}function generateDatasetsConfig(_0xddf26,_0x5d862b={}){const _0x3ddb86=a0_0x5697,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x1166e4,filter:_0x2ce58a}=_0x5d862b,_0x469041=_0x2ce58a?_0xddf26[_0x3ddb86(0x7e)](_0x2ce58a):_0xddf26,_0x45ff01=new Map();for(const _0x215167 of _0x469041){const _0x352416=getTableName(_0x215167),_0x41e294=getDbName(_0x215167);!_0x45ff01[_0x3ddb86(0x2c0)](_0x352416)&&_0x45ff01[_0x3ddb86(0x311)](_0x352416,new Set()),_0x45ff01['get'](_0x352416)[_0x3ddb86(0x17c)](_0x41e294);}const _0x414c04=new Set();for(const [_0x576e90,_0x254b5a]of _0x45ff01){_0x254b5a[_0x3ddb86(0x2fd)]>0x1&&_0x414c04[_0x3ddb86(0x17c)](_0x576e90);}const _0x3b2043={},_0x5bdddf=new Set();for(const _0x287da7 of _0x469041){const _0x2424c0=getTableName(_0x287da7);if(enableDeduplication&&_0x5bdddf[_0x3ddb86(0x2c0)](_0x2424c0)){console[_0x3ddb86(0x223)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x2424c0+'\x22,数据集:\x20'+_0x287da7[_0x3ddb86(0x176)]+'\x20('+_0x287da7['datasetCode']+')');continue;}_0x5bdddf['add'](_0x2424c0);const _0x589832=_0x1166e4?_0x1166e4(_0x2424c0,_0x287da7):getTableKey(_0x2424c0),_0x53db19=getDbName(_0x287da7),_0x4e0626=_0x414c04[_0x3ddb86(0x2c0)](_0x2424c0)&&_0x53db19?getTableKey(_0x53db19)+'_'+_0x589832:_0x589832;_0x3b2043[_0x589832]={'key':_0x589832,'alias':_0x4e0626,'tableName':_0x2424c0,'datasetCode':_0x287da7[_0x3ddb86(0x89)],'name':_0x287da7[_0x3ddb86(0x176)],'id':_0x287da7['id'],'dbName':_0x53db19};}return _0x3b2043;}function generateFullDatasetsConfig(_0x15fb4f,_0x39dd0b={}){const _0x3b63e9=a0_0x5697,{filter:_0x24321f,datasetNameGenerator:_0x47b161}=_0x39dd0b,_0x39831a=_0x24321f?_0x15fb4f[_0x3b63e9(0x7e)](_0x24321f):_0x15fb4f,_0x215059=new Map();for(const _0x44320b of _0x39831a){const _0x2e1c8b=getTableName(_0x44320b),_0x1a5fb9=getDbName(_0x44320b);!_0x215059[_0x3b63e9(0x2c0)](_0x2e1c8b)&&_0x215059[_0x3b63e9(0x311)](_0x2e1c8b,new Set()),_0x215059[_0x3b63e9(0x2e1)](_0x2e1c8b)[_0x3b63e9(0x17c)](_0x1a5fb9);}const _0x124c08=new Set();for(const [_0x4608ff,_0x52ceaa]of _0x215059){_0x52ceaa[_0x3b63e9(0x2fd)]>0x1&&_0x124c08[_0x3b63e9(0x17c)](_0x4608ff);}const _0x4f4cf1=groupByTableName(_0x39831a),_0x864a4d={};for(const [_0x26f4d7,_0x5ab070]of Object['entries'](_0x4f4cf1)){if(_0x5ab070[_0x3b63e9(0x1d6)]===0x1){const _0x58d15f=_0x5ab070[0x0],_0x16e5a5=_0x47b161?_0x47b161(_0x26f4d7,_0x58d15f):getTableKey(_0x26f4d7),_0x2e0e8d=getDbName(_0x58d15f),_0x1f9ee0=_0x124c08['has'](_0x26f4d7)&&_0x2e0e8d?getTableKey(_0x2e0e8d)+'_'+_0x16e5a5:_0x16e5a5;_0x864a4d[_0x16e5a5]={'key':_0x16e5a5,'alias':_0x1f9ee0,'tableName':_0x26f4d7,'datasetCode':_0x58d15f[_0x3b63e9(0x89)],'name':_0x58d15f[_0x3b63e9(0x176)],'id':_0x58d15f['id'],'dbName':_0x2e0e8d};}else{const _0x4216b7=[..._0x5ab070][_0x3b63e9(0x297)]((_0x5f4cfe,_0x172015)=>{const _0x519bbb=Number(_0x5f4cfe['id'])||0x0,_0x254439=Number(_0x172015['id'])||0x0;return _0x254439-_0x519bbb;});_0x4216b7[_0x3b63e9(0x2a7)]((_0x3da36f,_0x3da266)=>{const _0x1e6466=_0x3b63e9,_0x1c64a1=_0x47b161?_0x47b161(_0x26f4d7,_0x3da36f):getTableKey(_0x26f4d7),_0x131ac9=_0x3da266===0x0?_0x1c64a1:_0x1c64a1+'_'+_0x3da266,_0x28a029=getDbName(_0x3da36f),_0x8dc276=_0x124c08['has'](_0x26f4d7)&&_0x28a029?getTableKey(_0x28a029)+'_'+_0x131ac9:_0x131ac9;_0x864a4d[_0x131ac9]={'key':_0x131ac9,'alias':_0x8dc276,'tableName':_0x26f4d7,'datasetCode':_0x3da36f['datasetCode'],'name':_0x3da36f[_0x1e6466(0x176)],'id':_0x3da36f['id'],'dbName':_0x28a029};});}}return _0x864a4d;}function detectTableNameConflicts(_0x4d5c2b){const _0x126093=a0_0x5697,_0x401e5b={};for(const _0x5998db of _0x4d5c2b){const _0x518f82=getTableName(_0x5998db);!_0x401e5b[_0x518f82]&&(_0x401e5b[_0x518f82]=[]),_0x401e5b[_0x518f82][_0x126093(0x296)](_0x5998db);}const _0x331862={};for(const [_0x423e67,_0x2d930e]of Object[_0x126093(0x1c9)](_0x401e5b)){_0x2d930e['length']>0x1&&(_0x331862[_0x423e67]=_0x2d930e);}return{'hasConflicts':Object[_0x126093(0xe9)](_0x331862)[_0x126093(0x1d6)]>0x0,'conflicts':_0x331862};}function createDatasetNameMap(_0x53bcf5){const _0x5f330d=a0_0x5697,_0x10735c={};for(const [_0xcd41da,_0x17cb65]of Object[_0x5f330d(0x1c9)](_0x53bcf5)){_0x10735c[_0xcd41da]=_0x17cb65[_0x5f330d(0x89)]||'';}return _0x10735c;}function groupByTableName(_0x7bc982){const _0x5ec5bb=a0_0x5697,_0x36c0e8={};for(const _0x1cd934 of _0x7bc982){const _0x448806=getTableName(_0x1cd934);!_0x36c0e8[_0x448806]&&(_0x36c0e8[_0x448806]=[]),_0x36c0e8[_0x448806][_0x5ec5bb(0x296)](_0x1cd934);}return _0x36c0e8;}function datasetsConfigToArray(_0x55c318){const _0x1297b5=a0_0x5697;return Object[_0x1297b5(0x141)](_0x55c318);}function adaptDrivenDataDetail(_0x9e4438){const _0x12a07c=a0_0x5697,_0x20bb91={};return _0x20bb91['id']=_0x9e4438[_0x12a07c(0x206)],_0x20bb91['name']=_0x9e4438['name'],_0x20bb91['datasetCode']=_0x9e4438[_0x12a07c(0x144)],_0x20bb91[_0x12a07c(0x126)]=_0x9e4438[_0x12a07c(0x126)],_0x20bb91[_0x12a07c(0x1dd)]=_0x9e4438[_0x12a07c(0x1dd)],_0x20bb91['version']=_0x9e4438[_0x12a07c(0x1f2)],_0x20bb91[_0x12a07c(0x21d)]=_0x9e4438[_0x12a07c(0x21d)],_0x20bb91['properties']=_0x9e4438[_0x12a07c(0x1f5)],_0x20bb91['operations']=_0x9e4438[_0x12a07c(0x2ef)],_0x20bb91;}function adaptDrivenDataDetails(_0x5dc493){const _0xdc42dd=a0_0x5697;return _0x5dc493[_0xdc42dd(0xc9)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x1ccfaa){const _0x29aea7=a0_0x5697;if(!_0x1ccfaa[_0x29aea7(0x231)]||!_0x1ccfaa[_0x29aea7(0x98)])throw new Error(_0x29aea7(0xb0)+(_0x1ccfaa[_0x29aea7(0x1d0)]||_0x1ccfaa['msg']));return adaptDrivenDataDetail(_0x1ccfaa[_0x29aea7(0x98)]);}function extractDatasetsFromListResponse(_0x451f0b){const _0x3d5d7c=a0_0x5697;if(!_0x451f0b[_0x3d5d7c(0x231)]||!_0x451f0b[_0x3d5d7c(0x98)]?.['tableData'])throw new Error(_0x3d5d7c(0x138)+(_0x451f0b[_0x3d5d7c(0x1d0)]||_0x451f0b[_0x3d5d7c(0x10f)]));return _0x451f0b[_0x3d5d7c(0x98)][_0x3d5d7c(0xa6)][_0x3d5d7c(0xc9)](_0x2b5878=>({..._0x2b5878,'datasetCode':_0x2b5878[_0x3d5d7c(0x1f0)]||_0x2b5878[_0x3d5d7c(0x89)]}));}function isDrivenDataDetail(_0x4d77be){const _0x1e59e8=a0_0x5697;return Boolean(_0x4d77be&&typeof _0x4d77be[_0x1e59e8(0x144)]===_0x1e59e8(0x27c));}function smartAdapt(_0xfa08ca){const _0x334cfa=a0_0x5697;if(isDrivenDataDetail(_0xfa08ca))return adaptDrivenDataDetail(_0xfa08ca);if(_0xfa08ca['datasetCode'])return _0xfa08ca;if(_0xfa08ca[_0x334cfa(0x1f0)]){const _0x44f841={..._0xfa08ca};return _0x44f841['datasetCode']=_0xfa08ca['code'],_0x44f841;}return _0xfa08ca;}function cleanNewlines(_0x4192a7){const _0x49c990=a0_0x5697;return _0x4192a7[_0x49c990(0x1bd)](/[\r\n]+/g,'\x20')[_0x49c990(0x17a)]();}function cleanDatasetName(_0x531201){const _0x1f487a=a0_0x5697;if(!_0x531201[_0x1f487a(0x176)])return _0x531201;return{..._0x531201,'name':cleanNewlines(_0x531201['name'])};}function cleanDatasetNames(_0x21cfd3){const _0x359596=a0_0x5697;return _0x21cfd3[_0x359596(0xc9)](cleanDatasetName);}var DatasetOperationType;(_0x479cdd=>{const _0x32ff9e=a0_0x5697;_0x479cdd[_0x32ff9e(0x2c9)]=_0x32ff9e(0x1d7),_0x479cdd[_0x32ff9e(0xc8)]='getOne',_0x479cdd['GET_ONE_ORIGIN']=_0x32ff9e(0x18d),_0x479cdd['GET_ONE_UPDATE']=_0x32ff9e(0x9b),_0x479cdd[_0x32ff9e(0x213)]=_0x32ff9e(0x2c2),_0x479cdd['UPDATE']='update',_0x479cdd['DELETE']='delete',_0x479cdd[_0x32ff9e(0xa5)]='getSelectOptions',_0x479cdd['GET_FILE_URL']=_0x32ff9e(0x205),_0x479cdd['EXCEL_EXPORT']='excelExport',_0x479cdd['GET_UPLOAD_FILE_SCRIPT']=_0x32ff9e(0x1ff),_0x479cdd[_0x32ff9e(0x17d)]=_0x32ff9e(0x164),_0x479cdd[_0x32ff9e(0x241)]=_0x32ff9e(0xa7),_0x479cdd[_0x32ff9e(0x136)]='taskInfo',_0x479cdd['IMPORT_TEMPLATE']=_0x32ff9e(0x207);})(DatasetOperationType||={});const a0_0x2ac2c8={};a0_0x2ac2c8[a0_0x5ba6db(0x1d7)]=a0_0x5ba6db(0x271),a0_0x2ac2c8['getOne']=a0_0x5ba6db(0x1c5),a0_0x2ac2c8[a0_0x5ba6db(0x18d)]=a0_0x5ba6db(0xbc),a0_0x2ac2c8['getOneUpdate']=a0_0x5ba6db(0x1b5),a0_0x2ac2c8[a0_0x5ba6db(0x2c2)]='创建',a0_0x2ac2c8[a0_0x5ba6db(0xf1)]='更新',a0_0x2ac2c8[a0_0x5ba6db(0x24d)]='删除',a0_0x2ac2c8[a0_0x5ba6db(0x20f)]=a0_0x5ba6db(0x259),a0_0x2ac2c8[a0_0x5ba6db(0x205)]=a0_0x5ba6db(0xf5),a0_0x2ac2c8[a0_0x5ba6db(0x26e)]=a0_0x5ba6db(0x2db),a0_0x2ac2c8[a0_0x5ba6db(0x1ff)]=a0_0x5ba6db(0x274),a0_0x2ac2c8[a0_0x5ba6db(0x164)]=a0_0x5ba6db(0x8c),a0_0x2ac2c8[a0_0x5ba6db(0xa7)]=a0_0x5ba6db(0x23b),a0_0x2ac2c8['taskInfo']=a0_0x5ba6db(0x1eb),a0_0x2ac2c8[a0_0x5ba6db(0x207)]=a0_0x5ba6db(0x237);var OPERATION_TYPE_DISPLAY_NAME=a0_0x2ac2c8,API_BLACKLIST=[a0_0x5ba6db(0x1d7),'getOneOrigin',a0_0x5ba6db(0x9b),a0_0x5ba6db(0x205)];function parseFieldExtend(_0x447743){const _0x174ae8=a0_0x5ba6db;if(!_0x447743||typeof _0x447743!==_0x174ae8(0x181))return!![]&&console[_0x174ae8(0x223)](_0x174ae8(0x17b),_0x447743),{};if(!_0x447743[_0x174ae8(0x21d)])return{};try{const _0x5087f3=typeof _0x447743[_0x174ae8(0x21d)]==='string'?JSON[_0x174ae8(0x80)](_0x447743[_0x174ae8(0x21d)]):_0x447743[_0x174ae8(0x21d)];if(typeof _0x5087f3!=='object'||_0x5087f3===null)return{};return _0x5087f3;}catch{return{};}}function isPrimaryKeyField(_0x235d05,_0x34d390){const _0x46681c=a0_0x5ba6db;if(!_0x235d05||typeof _0x235d05!==_0x46681c(0x181))return![];if(typeof _0x34d390===_0x46681c(0x27c)&&_0x235d05['code']===_0x34d390)return!![];const _0x55de10=parseFieldExtend(_0x235d05);return Boolean(_0x55de10['primaryKey']||_0x55de10['pkField']);}function isSystemField(_0x529e43){const _0x1e2843=a0_0x5ba6db,_0x3a9a90=parseFieldExtend(_0x529e43);return Boolean(_0x3a9a90[_0x1e2843(0x8b)]);}function isRequiredField(_0x12e91c){const _0x53cf59=a0_0x5ba6db,_0x212a92=parseFieldExtend(_0x12e91c);return Boolean(_0x212a92[_0x53cf59(0x1ae)]);}function isAutoIncrementField(_0xd7c1f8){const _0x4d3fbf=a0_0x5ba6db,_0xec4733=parseFieldExtend(_0xd7c1f8);return Boolean(_0xec4733[_0x4d3fbf(0x180)]);}function isCreateTimeField(_0x157d8e){const _0x500e5c=parseFieldExtend(_0x157d8e);return Boolean(_0x500e5c['createDate']);}function isModifyTimeField(_0x557e19){const _0x900c53=a0_0x5ba6db,_0x223641=parseFieldExtend(_0x557e19);return Boolean(_0x223641[_0x900c53(0xfd)]);}const a0_0x40bcc8={};a0_0x40bcc8[a0_0x5ba6db(0x135)]='数字',a0_0x40bcc8['TEXT']='文本',a0_0x40bcc8[a0_0x5ba6db(0x1db)]=a0_0x5ba6db(0x197),a0_0x40bcc8[a0_0x5ba6db(0x108)]='日期',a0_0x40bcc8[a0_0x5ba6db(0x26f)]='日期时间',a0_0x40bcc8[a0_0x5ba6db(0x202)]=a0_0x5ba6db(0x255),a0_0x40bcc8['SELECT']='下拉选择',a0_0x40bcc8['CHECKBOX']='多选',a0_0x40bcc8[a0_0x5ba6db(0x227)]='单选',a0_0x40bcc8[a0_0x5ba6db(0x2ea)]='开关',a0_0x40bcc8[a0_0x5ba6db(0xaa)]=a0_0x5ba6db(0xee),a0_0x40bcc8[a0_0x5ba6db(0x190)]='图片',a0_0x40bcc8[a0_0x5ba6db(0x99)]=a0_0x5ba6db(0x199),a0_0x40bcc8[a0_0x5ba6db(0x24f)]='JSON',a0_0x40bcc8[a0_0x5ba6db(0x25c)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x40bcc8;function getDbTypeDisplay(_0x3ee9c0){const _0x1a5c06=a0_0x5ba6db;if(typeof _0x3ee9c0!==_0x1a5c06(0x27c))return!![]&&console[_0x1a5c06(0x223)](_0x1a5c06(0xb9),_0x3ee9c0),String(_0x3ee9c0||'-');return DB_TYPE_DISPLAY_MAP[_0x3ee9c0]||_0x3ee9c0;}function formatDbType(_0x4951d5,_0x4579d5){const _0x9825be=a0_0x5ba6db;if(!_0x4951d5||typeof _0x4951d5!=='string')return'-';if(!_0x4579d5||typeof _0x4579d5!==_0x9825be(0xd3))return _0x4951d5;const _0x4e81a1=[_0x9825be(0x1ac),_0x9825be(0x26f),_0x9825be(0x202),_0x9825be(0x108)];if(_0x4e81a1[_0x9825be(0x122)](_0x4951d5[_0x9825be(0x201)]()))return _0x4951d5;return _0x4951d5+'('+_0x4579d5+')';}function parseOperationType(_0x3d67a0){const _0x9f175c=a0_0x5ba6db;if(typeof _0x3d67a0!==_0x9f175c(0x27c)){!![]&&console[_0x9f175c(0x223)](_0x9f175c(0x298),_0x3d67a0);return;}if(Object['values'](DatasetOperationType)[_0x9f175c(0x122)](_0x3d67a0))return _0x3d67a0;const _0x57d377=Object[_0x9f175c(0x1c9)](OPERATION_TYPE_DISPLAY_NAME)[_0x9f175c(0xbf)](([_0x13df9c,_0x5dc1c6])=>_0x5dc1c6===_0x3d67a0);return _0x57d377?_0x57d377[0x0]:undefined;}function shouldIncludeField(_0x19b25f,_0x5d85bd,_0x3ce425){const _0x1f2a4c=a0_0x5ba6db,_0x143d0f=parseFieldExtend(_0x19b25f),_0x47478f=isPrimaryKeyField(_0x19b25f,_0x3ce425),_0x3019d6=Boolean(_0x143d0f['systemRetain']),_0xefd6c0=Boolean(_0x143d0f[_0x1f2a4c(0x180)]),_0x1fa9b8=Boolean(_0x143d0f[_0x1f2a4c(0x2d2)]),_0x4963a8=Boolean(_0x143d0f['modifyDate']);switch(_0x5d85bd){case _0x1f2a4c(0x1d7):return!![];case _0x1f2a4c(0x2b4):case _0x1f2a4c(0x18d):case _0x1f2a4c(0x24d):return _0x47478f;case _0x1f2a4c(0x2c2):if(_0x47478f&&_0xefd6c0)return![];if(_0x3019d6)return![];if(_0x1fa9b8||_0x4963a8)return![];return!![];case _0x1f2a4c(0xf1):case _0x1f2a4c(0x9b):if(_0x47478f)return!![];if(_0x3019d6)return![];if(_0x1fa9b8||_0x4963a8)return![];return!![];case _0x1f2a4c(0x20f):return _0x19b25f[_0x1f2a4c(0x1f0)]==='code';default:return!![];}}function getFieldsForOperation(_0x1cba92,_0x1b179b,_0x537a8b){const _0x1e468e=a0_0x5ba6db;if(!Array[_0x1e468e(0x2f6)](_0x1cba92))return!![]&&console[_0x1e468e(0x223)](_0x1e468e(0xf3),_0x1cba92),[];return _0x1cba92[_0x1e468e(0x7e)](_0x5584d6=>shouldIncludeField(_0x5584d6,_0x1b179b,_0x537a8b));}function isApiBlacklisted(_0x577708){const _0x5bef9c=a0_0x5ba6db;if(typeof _0x577708!==_0x5bef9c(0x27c))return!![]&&console[_0x5bef9c(0x223)](_0x5bef9c(0x1e0),_0x577708),![];return API_BLACKLIST[_0x5bef9c(0x122)](_0x577708);}function filterApiOperations(_0x2dc55d){const _0x262697=a0_0x5ba6db;if(!Array[_0x262697(0x2f6)](_0x2dc55d))return!![]&&console['warn'](_0x262697(0x1a1),_0x2dc55d),[];return _0x2dc55d[_0x262697(0x7e)](_0x21e2ab=>_0x21e2ab&&typeof _0x21e2ab==='object'&&!isApiBlacklisted(_0x21e2ab[_0x262697(0x176)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x5ba6db(0x2a4)](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x211e3e})=>{const _0x2d5b97=a0_0x5ba6db;if(_0x211e3e?.[_0x2d5b97(0x1d4)]&&Array[_0x2d5b97(0x2f6)](_0x211e3e[_0x2d5b97(0x1d4)])&&_0x211e3e[_0x2d5b97(0x1d4)]['length']>0x0)return _0x211e3e[_0x2d5b97(0x1d4)][0x0][_0x2d5b97(0x14b)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x5522ac})=>{const _0xb997ec=a0_0x5ba6db;if(_0x5522ac==='currentPage')return 0x1;if(_0x5522ac===_0xb997ec(0x27b))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x6f2129})=>{const _0x590afd=a0_0x5ba6db;if(_0x6f2129&&typeof _0x6f2129===_0x590afd(0x27c)){const _0x3dc041=_0x6f2129['toLowerCase']();if(_0x3dc041['includes']('邮箱')||_0x3dc041[_0x590afd(0x122)](_0x590afd(0x25d)))return _0x590afd(0x12b);if(_0x3dc041[_0x590afd(0x122)]('电话')||_0x3dc041[_0x590afd(0x122)]('手机')||_0x3dc041['includes'](_0x590afd(0x2b3)))return'13800138000';if(_0x3dc041['includes']('地址')||_0x3dc041[_0x590afd(0x122)](_0x590afd(0x27e)))return _0x590afd(0x1b8);if(_0x3dc041[_0x590afd(0x122)]('姓名')||_0x3dc041[_0x590afd(0x122)](_0x590afd(0x176)))return'张三';}return _0x590afd(0x233);},'VARCHAR':({description:_0x5bbda9})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x5bbda9}),'CHAR':({description:_0x3be13c})=>TYPE_VALUE_GENERATORS[a0_0x5ba6db(0x1ac)]({'description':_0x3be13c}),'STRING':({fieldInfo:_0x11af5c,description:_0x2fc9b7})=>{const _0x4ef35f=a0_0x5ba6db;if(_0x11af5c?.[_0x4ef35f(0x224)]&&typeof _0x11af5c['placeholder']===_0x4ef35f(0x27c)&&_0x11af5c[_0x4ef35f(0x224)]!=='系统自动生成')return _0x11af5c[_0x4ef35f(0x224)][_0x4ef35f(0x1bd)](/^请输入|^请选择/,'');const _0x58aa13={};return _0x58aa13[_0x4ef35f(0x1ce)]=_0x2fc9b7,TYPE_VALUE_GENERATORS[_0x4ef35f(0x1ac)](_0x58aa13);},'TEXTAREA':()=>a0_0x5ba6db(0x184),'LONGTEXT':()=>a0_0x5ba6db(0x184),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x5ba6db(0x14b)}),'ARRAY':()=>[a0_0x5ba6db(0x256),'item2'],'UPLOAD':()=>a0_0x5ba6db(0x204),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0x5ba6db(0xb1)};function generateExampleValue(_0xb26717,_0x5f5ad9,_0x5b2c60,_0x36d924={}){const _0x2a1abe=a0_0x5ba6db;typeof _0xb26717!=='string'&&(!![]&&console[_0x2a1abe(0x223)](_0x2a1abe(0x14f),_0xb26717),_0xb26717=String(_0xb26717||''));if(typeof _0x5f5ad9!==_0x2a1abe(0x27c))return!![]&&console[_0x2a1abe(0x223)]('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x5f5ad9),_0x2a1abe(0x143);const {isPrimaryKey:_0x81b939,dbtableConfig:_0x29e426}=_0x36d924;if(_0x81b939)return 0x1;if(_0x29e426&&typeof _0x29e426==='object'){const _0x241e1e=_0x29e426['createTimeField']?.['fieldName']===_0xb26717,_0x4a5f29=_0x29e426[_0x2a1abe(0x69)]?.['fieldName']===_0xb26717;if(_0x241e1e||_0x4a5f29){if(_0x5b2c60&&typeof _0x5b2c60===_0x2a1abe(0x27c)&&_0x5b2c60['toUpperCase']()[_0x2a1abe(0x122)]('TIMESTAMP'))return Date[_0x2a1abe(0x2a4)]();return new Date()[_0x2a1abe(0x1b3)]()[_0x2a1abe(0x1bd)]('T','\x20')[_0x2a1abe(0x294)]('.')[0x0];}}const _0x289d32={..._0x36d924};_0x289d32[_0x2a1abe(0x178)]=_0xb26717;const _0x1e1065=_0x289d32;if(_0x5b2c60&&typeof _0x5b2c60===_0x2a1abe(0x27c)){const _0x55f14e=_0x5b2c60[_0x2a1abe(0x201)](),_0x110f7b=TYPE_VALUE_GENERATORS[_0x55f14e];if(_0x110f7b)return _0x110f7b(_0x1e1065);}if(_0x5f5ad9&&typeof _0x5f5ad9===_0x2a1abe(0x27c)){const _0x54eb66=_0x5f5ad9['toUpperCase'](),_0x372cfc=TYPE_VALUE_GENERATORS[_0x54eb66];if(_0x372cfc)return _0x372cfc(_0x1e1065);}return'示例值';}function generateExampleFromSchema(_0x1f4725,_0x165f1c){const _0x549a7d=a0_0x5ba6db;if(!_0x1f4725||typeof _0x1f4725!==_0x549a7d(0x181))return{};if(Array[_0x549a7d(0x2f6)](_0x1f4725)){if(_0x1f4725[_0x549a7d(0x1d6)]>0x0)return[generateExampleFromSchema(_0x1f4725[0x0],_0x165f1c)];return[];}const _0x49f13a={};return Object[_0x549a7d(0xe9)](_0x1f4725)[_0x549a7d(0x2a7)](_0x5db779=>{const _0x1f0fbc=_0x549a7d,_0x1b847a=_0x1f4725[_0x5db779];if(_0x1b847a&&typeof _0x1b847a==='object'&&!Array[_0x1f0fbc(0x2f6)](_0x1b847a)&&_0x1b847a[_0x1f0fbc(0xe8)]){const _0x4fefc9=_0x1b847a,_0x20c848=_0x4fefc9[_0x1f0fbc(0xe8)],_0x52eaa3=_0x4fefc9[_0x1f0fbc(0x1ce)];if(typeof _0x20c848===_0x1f0fbc(0x27c)){const _0x371910={};_0x371910[_0x1f0fbc(0x1ce)]=_0x52eaa3,_0x371910[_0x1f0fbc(0x126)]=_0x165f1c,_0x49f13a[_0x5db779]=generateExampleValue(_0x5db779,_0x20c848,undefined,_0x371910);}else _0x49f13a[_0x5db779]='示例值';}else{if(Array[_0x1f0fbc(0x2f6)](_0x1b847a))_0x49f13a[_0x5db779]=_0x1b847a[_0x1f0fbc(0x1d6)]>0x0?[generateExampleFromSchema(_0x1b847a[0x0],_0x165f1c)]:[];else _0x1b847a&&typeof _0x1b847a===_0x1f0fbc(0x181)?_0x49f13a[_0x5db779]=generateExampleFromSchema(_0x1b847a,_0x165f1c):_0x49f13a[_0x5db779]=_0x1b847a;}}),_0x49f13a;}function parseRequestBody(_0x1a74d2){const _0x2b9938=a0_0x5ba6db;if(!_0x1a74d2)return{};try{return JSON['parse'](_0x1a74d2);}catch(_0x19b9b5){return!![]&&console[_0x2b9938(0x223)](_0x2b9938(0xfb),_0x19b9b5),{};}}function parseResponseBody(_0x1acb44){const _0xcf44d2=a0_0x5ba6db;if(!_0x1acb44)return null;try{const _0x587079=JSON[_0xcf44d2(0x80)](_0x1acb44);return _0x587079[_0xcf44d2(0x22a)]||_0x587079;}catch(_0x57092b){return!![]&&console['warn'](_0xcf44d2(0x2f7),_0x57092b),null;}}function generateRequestExample(_0x4cada8,_0x4f70a0,_0x3238ad,_0x415c29){const _0xd7ed29=a0_0x5ba6db,_0x4f624f={};if(!Array[_0xd7ed29(0x2f6)](_0x4cada8))return!![]&&console[_0xd7ed29(0x223)](_0xd7ed29(0xd9),_0x4cada8),_0x4f624f;return _0x4cada8[_0xd7ed29(0x2a7)](_0x1366d7=>{const _0x3e2c72=_0xd7ed29;if(!_0x1366d7||typeof _0x1366d7!==_0x3e2c72(0x181)){!![]&&console['warn']('[generateRequestExample]\x20Invalid\x20field:',_0x1366d7);return;}if(typeof _0x1366d7[_0x3e2c72(0x1f0)]!=='string'||typeof _0x1366d7['type']!==_0x3e2c72(0x27c)){!![]&&console[_0x3e2c72(0x223)](_0x3e2c72(0x117),_0x1366d7);return;}const _0x43a6a3=parseFieldExtend(_0x1366d7),_0x72f2c6=_0x1366d7['code']===_0x3238ad||Boolean(_0x43a6a3?.[_0x3e2c72(0x1ad)]),_0x10a6c6=generateExampleValue(_0x1366d7[_0x3e2c72(0x1f0)],_0x1366d7[_0x3e2c72(0xe8)],typeof _0x1366d7[_0x3e2c72(0x2e6)]===_0x3e2c72(0x27c)?_0x1366d7[_0x3e2c72(0x2e6)]:undefined,{'fieldInfo':_0x43a6a3,'isPrimaryKey':_0x72f2c6,'description':_0x1366d7['description']||_0x1366d7[_0x3e2c72(0x176)],'dbtableConfig':_0x415c29});_0x4f624f[_0x1366d7[_0x3e2c72(0x1f0)]]=_0x10a6c6;}),_0x4f70a0==='getList'&&(_0x4f624f[_0xd7ed29(0x319)]=0x1,_0x4f624f[_0xd7ed29(0x27b)]=0xa),_0x4f624f;}function formatEnumValue(_0x51951f,_0x26078e){const _0x264e67=a0_0x5ba6db;if(_0x51951f[_0x264e67(0x1ef)]&&Array[_0x264e67(0x2f6)](_0x26078e))return _0x26078e['map'](_0x1a6d79=>_0x51951f['valueLabels'][String(_0x1a6d79)]||String(_0x1a6d79))[_0x264e67(0x18b)](',\x20');return _0x51951f[_0x264e67(0xc6)][String(_0x26078e)]||String(_0x26078e);}function formatOptionsForDoc(_0xa4a150){const _0x56f708=a0_0x5ba6db;return _0xa4a150[_0x56f708(0xc9)](_0x4a6340=>_0x4a6340['value']+'('+_0x4a6340[_0x56f708(0x2c4)]+')')[_0x56f708(0x18b)](',\x20');}function formatOptionsAsMarkdownList(_0x54b39e,_0x2399a5=0x0){const _0x7f38ec=a0_0x5ba6db,_0xd09c10='\x20\x20'['repeat'](_0x2399a5),_0x52018a=[];return _0x54b39e[_0x7f38ec(0x2a7)](_0x4061d9=>{const _0x5cb44f=_0x7f38ec;_0x52018a[_0x5cb44f(0x296)](_0xd09c10+'-\x20`'+_0x4061d9['value']+'`:\x20'+_0x4061d9[_0x5cb44f(0x2c4)]),_0x4061d9['children']&&_0x4061d9[_0x5cb44f(0x189)][_0x5cb44f(0x1d6)]>0x0&&_0x52018a[_0x5cb44f(0x296)](formatOptionsAsMarkdownList(_0x4061d9[_0x5cb44f(0x189)],_0x2399a5+0x1));}),_0x52018a[_0x7f38ec(0x18b)]('\x0a');}class DbtableConfig{[a0_0x5ba6db(0x244)];constructor(_0x428349){const _0xa93612={..._0x428349};this['_raw']=_0xa93612;}get[a0_0x5ba6db(0xb6)](){const _0x539de0=a0_0x5ba6db;return this[_0x539de0(0x244)][_0x539de0(0xb6)];}get[a0_0x5ba6db(0x2f8)](){const _0x21b86b=a0_0x5ba6db;return this['_raw'][_0x21b86b(0x2f8)]??this[_0x21b86b(0x244)][_0x21b86b(0x2be)]?.[_0x21b86b(0x2f8)];}get['tableName'](){const _0x5abc6d=a0_0x5ba6db;return this[_0x5abc6d(0x244)][_0x5abc6d(0x21f)];}get[a0_0x5ba6db(0x29f)](){const _0x3620fd=a0_0x5ba6db;return this[_0x3620fd(0x244)][_0x3620fd(0x29f)];}get['pkField'](){const _0x1b22c4=a0_0x5ba6db;return this[_0x1b22c4(0x244)][_0x1b22c4(0x9a)];}get[a0_0x5ba6db(0x2b0)](){const _0x1ec2db=a0_0x5ba6db;return this['_raw'][_0x1ec2db(0x2b0)];}get[a0_0x5ba6db(0xce)](){const _0x23caf4=a0_0x5ba6db;return this[_0x23caf4(0x244)][_0x23caf4(0xce)];}get[a0_0x5ba6db(0xb4)](){const _0x5955cc=a0_0x5ba6db;return this[_0x5955cc(0x244)][_0x5955cc(0xb4)];}get['updateTimeField'](){const _0x49b77e=a0_0x5ba6db;return this[_0x49b77e(0x244)][_0x49b77e(0x69)];}get[a0_0x5ba6db(0x28c)](){const _0x589894=a0_0x5ba6db;return this[_0x589894(0x244)][_0x589894(0x28c)];}get[a0_0x5ba6db(0x2d7)](){const _0x41ed2b=a0_0x5ba6db;return this[_0x41ed2b(0x244)][_0x41ed2b(0x2d7)];}get['modifierIdField'](){const _0x422263=a0_0x5ba6db;return this['_raw'][_0x422263(0x11b)];}get[a0_0x5ba6db(0x11f)](){const _0x262bc6=a0_0x5ba6db;return this[_0x262bc6(0x244)]['modifierNameField'];}get[a0_0x5ba6db(0x2be)](){const _0x3954a8=a0_0x5ba6db;return this['_raw'][_0x3954a8(0x2be)];}[a0_0x5ba6db(0x134)](){const _0x4bc4c9=a0_0x5ba6db;if(!this[_0x4bc4c9(0x244)][_0x4bc4c9(0x1ee)])return[];return this[_0x4bc4c9(0x244)][_0x4bc4c9(0x1ee)][_0x4bc4c9(0x294)](',')[_0x4bc4c9(0xc9)](_0x415e15=>_0x415e15['trim']())['filter'](Boolean);}[a0_0x5ba6db(0x302)](){const _0x5c792c=a0_0x5ba6db;return this[_0x5c792c(0x244)]['allFields'];}['hasField'](_0x493960){const _0x37feaf=a0_0x5ba6db;return this[_0x37feaf(0x134)]()['includes'](_0x493960);}[a0_0x5ba6db(0xdb)](){const _0x4e1d92=a0_0x5ba6db;return Boolean(this[_0x4e1d92(0x244)]['tableName']);}['hasDblinkInfo'](){const _0x44a68f=a0_0x5ba6db;return Boolean(this['_raw'][_0x44a68f(0x2be)]);}['hasLogicField'](){const _0x4ca9e0=a0_0x5ba6db;return Boolean(this[_0x4ca9e0(0x244)]['logicField']?.[_0x4ca9e0(0x2af)]);}['hasCreateTimeField'](){const _0x4fae10=a0_0x5ba6db;return Boolean(this[_0x4fae10(0x244)][_0x4fae10(0xb4)]?.[_0x4fae10(0x2af)]);}['hasUpdateTimeField'](){const _0x5059b6=a0_0x5ba6db;return Boolean(this[_0x5059b6(0x244)][_0x5059b6(0x69)]?.[_0x5059b6(0x2af)]);}[a0_0x5ba6db(0x2bc)](){const _0x27e3c9=a0_0x5ba6db;return Boolean(this[_0x27e3c9(0x244)]['creatorIdField']?.['fieldName']);}[a0_0x5ba6db(0x219)](){const _0x5aaab4=a0_0x5ba6db;return Boolean(this['_raw'][_0x5aaab4(0x11b)]?.[_0x5aaab4(0x2af)]);}[a0_0x5ba6db(0xef)](_0x152d44){const _0x2e3453=a0_0x5ba6db;return this[_0x2e3453(0x244)][_0x2e3453(0x9a)]===_0x152d44;}[a0_0x5ba6db(0x192)](_0x29b7d1){const _0x30e08f=a0_0x5ba6db;return this['isPrimaryKeyField'](_0x29b7d1)||this[_0x30e08f(0x244)][_0x30e08f(0xce)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0xb4)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x69)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x28c)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x2d7)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x11b)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x11f)]?.[_0x30e08f(0x2af)]===_0x29b7d1;}[a0_0x5ba6db(0x74)](){const _0xed5016=a0_0x5ba6db;return this['_raw'][_0xed5016(0x2be)]?.[_0xed5016(0x2f8)];}[a0_0x5ba6db(0x105)](){const _0x10c604=a0_0x5ba6db;return this[_0x10c604(0x244)][_0x10c604(0x2be)]?.[_0x10c604(0x2e6)];}[a0_0x5ba6db(0x11a)](){const _0x3ce039=a0_0x5ba6db;return this[_0x3ce039(0x244)][_0x3ce039(0x2be)]?.[_0x3ce039(0x292)];}[a0_0x5ba6db(0x73)](){const _0x421f95=a0_0x5ba6db;return this[_0x421f95(0x244)][_0x421f95(0x2be)]?.[_0x421f95(0xc2)];}[a0_0x5ba6db(0x2ce)](){const _0x300547=a0_0x5ba6db;return this[_0x300547(0x244)][_0x300547(0x2be)]?.[_0x300547(0x13f)];}[a0_0x5ba6db(0x288)](){const _0x398fb3=a0_0x5ba6db;return this[_0x398fb3(0x244)][_0x398fb3(0x2be)]?.[_0x398fb3(0x128)];}[a0_0x5ba6db(0x30b)](){const _0x5c078d=a0_0x5ba6db;return{'hasTableName':this[_0x5c078d(0xdb)](),'hasDblinkInfo':this[_0x5c078d(0x293)](),'fieldCount':this['getAllFieldsArray']()[_0x5c078d(0x1d6)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x5c078d(0x2a6)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x5c078d(0x219)]()}};}['toConfig'](){const _0x5ef689=a0_0x5ba6db,_0x4a77ed={};return _0x4a77ed[_0x5ef689(0x21f)]=this[_0x5ef689(0x21f)],_0x4a77ed[_0x5ef689(0x9a)]=this[_0x5ef689(0x9a)],_0x4a77ed[_0x5ef689(0x29f)]=this[_0x5ef689(0x29f)],_0x4a77ed[_0x5ef689(0xb6)]=this[_0x5ef689(0xb6)],_0x4a77ed;}[a0_0x5ba6db(0x308)](){const _0x218a65=a0_0x5ba6db,_0x44a841={...this[_0x218a65(0x244)]};return _0x44a841;}[a0_0x5ba6db(0x1f4)](){const _0x8c8fd6={...this['_raw']};return _0x8c8fd6;}['toString'](){const _0x6ef7f1=a0_0x5ba6db,_0x322661=this[_0x6ef7f1(0x21f)]||_0x6ef7f1(0x253),_0x135c26=this[_0x6ef7f1(0x134)]()[_0x6ef7f1(0x1d6)];return _0x6ef7f1(0xe5)+_0x322661+_0x6ef7f1(0x29e)+_0x135c26+')';}static[a0_0x5ba6db(0x1e6)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x5ba6db(0x244)];constructor(_0x265794){const _0x38e272=a0_0x5ba6db,_0x58126e=_0x265794[_0x38e272(0x89)]||_0x265794['code']||_0x265794[_0x38e272(0x144)],_0x3e6e01={..._0x265794};_0x3e6e01['datasetCode']=_0x58126e,this[_0x38e272(0x244)]=_0x3e6e01;}get['id'](){const _0x14fa22=a0_0x5ba6db;return this[_0x14fa22(0x244)]['id'];}get[a0_0x5ba6db(0x176)](){const _0x2a555f=a0_0x5ba6db;return this[_0x2a555f(0x244)][_0x2a555f(0x176)];}[a0_0x5ba6db(0x1e7)](){const _0x251f97=a0_0x5ba6db;return this[_0x251f97(0x176)];}get[a0_0x5ba6db(0x89)](){const _0x2df2a6=a0_0x5ba6db;return this[_0x2df2a6(0x244)][_0x2df2a6(0x89)]||'';}get[a0_0x5ba6db(0x126)](){const _0x37099d=a0_0x5ba6db;if(!this['_raw'][_0x37099d(0x126)])return null;return new DbtableConfig(this[_0x37099d(0x244)][_0x37099d(0x126)]);}[a0_0x5ba6db(0x18f)](){const _0x216a36=a0_0x5ba6db;return this[_0x216a36(0x244)][_0x216a36(0x126)];}['getDbName'](){const _0x509a01=a0_0x5ba6db;return this[_0x509a01(0x126)]?.['dbName']||'';}[a0_0x5ba6db(0x26c)](){return getTableName(this['_raw']);}[a0_0x5ba6db(0x240)](){const _0x1c7bdd=a0_0x5ba6db;return getTableKey(this[_0x1c7bdd(0x26c)]());}[a0_0x5ba6db(0x127)](){return generateModelKeyFromCode(this['datasetCode']);}[a0_0x5ba6db(0x263)](){const _0x5d937f=a0_0x5ba6db;return isVirtualTableName(this[_0x5d937f(0x26c)]());}[a0_0x5ba6db(0x20e)](){const _0x1e66a8=a0_0x5ba6db;return getTableKey(this[_0x1e66a8(0x26c)]());}[a0_0x5ba6db(0x28f)](){const _0x11a1c9=a0_0x5ba6db,_0x7d46e6=getTableKey(this['getTableName']());return{'key':_0x7d46e6,'alias':_0x7d46e6,'tableName':this[_0x11a1c9(0x26c)](),'datasetCode':this[_0x11a1c9(0x89)],'name':this[_0x11a1c9(0x176)]};}[a0_0x5ba6db(0x308)](){const _0x330115=a0_0x5ba6db,_0x4f7223={...this['_raw']};return _0x4f7223[_0x330115(0x89)]=this[_0x330115(0x89)],_0x4f7223;}[a0_0x5ba6db(0x1f4)](){const _0x1706cd=a0_0x5ba6db,_0xa461a5={...this[_0x1706cd(0x244)]};return _0xa461a5;}[a0_0x5ba6db(0x200)](){const _0x4d78c8=a0_0x5ba6db,_0x310730=this['dbtableConfig'];return _0x310730!==null&&_0x310730[_0x4d78c8(0xdb)]();}['getExtendField'](_0xeb42b8){const _0x432c18=a0_0x5ba6db;return this[_0x432c18(0x244)][_0xeb42b8];}[a0_0x5ba6db(0x2c5)](_0x49ddf1){const _0x5b740f=a0_0x5ba6db;return _0x49ddf1 in this[_0x5b740f(0x244)];}[a0_0x5ba6db(0x146)](){const _0x1dd969=a0_0x5ba6db;return'DatasetItem('+this[_0x1dd969(0x176)]+',\x20'+this[_0x1dd969(0x89)]+')';}}class Operation{[a0_0x5ba6db(0x176)];['_raw'];[a0_0x5ba6db(0x111)];constructor(_0x3778c8,_0x35b77a,_0x10e168){const _0x51fa08=a0_0x5ba6db;this[_0x51fa08(0x176)]=_0x3778c8,this[_0x51fa08(0x244)]=_0x35b77a,this[_0x51fa08(0x111)]=_0x10e168;}['getName'](){return this['name'];}[a0_0x5ba6db(0x2a1)](){const _0x551493=a0_0x5ba6db;return OPERATION_TYPE_DISPLAY_NAME[this[_0x551493(0x176)]]||this[_0x551493(0x176)];}['getType'](){const _0x1d9ccf=a0_0x5ba6db;return parseOperationType(this[_0x1d9ccf(0x176)]);}[a0_0x5ba6db(0x2c6)](){const _0xf0f9ac=a0_0x5ba6db;return this['_raw']!==null&&this[_0xf0f9ac(0x244)]!==![];}[a0_0x5ba6db(0x149)](){const _0x55057f=a0_0x5ba6db,_0x149640=this['_raw'];if(_0x149640===![]||_0x149640===null)return'';return _0x149640[_0x55057f(0x76)]||_0x55057f(0x2b7);}[a0_0x5ba6db(0x1e9)](){const _0x26cbfa=a0_0x5ba6db,_0x2a2339=this['_raw'];if(_0x2a2339===![]||_0x2a2339===null)return'';return _0x2a2339[_0x26cbfa(0x267)]||'';}[a0_0x5ba6db(0x1d2)](){const _0x5d0c4d=a0_0x5ba6db,_0x43a9c2=this['_raw'];let _0x5b07a6='';_0x43a9c2!==![]&&_0x43a9c2!==null&&_0x43a9c2[_0x5d0c4d(0x230)]&&(_0x5b07a6=_0x43a9c2[_0x5d0c4d(0x230)]);const _0x4cac0a=this[_0x5d0c4d(0x1e9)]();return _0x5b07a6&&_0x4cac0a?''+_0x5b07a6+_0x4cac0a:_0x4cac0a;}[a0_0x5ba6db(0x157)](){const _0x220f21=a0_0x5ba6db,_0x206090=this[_0x220f21(0x244)];if(_0x206090===![]||_0x206090===null||!_0x206090[_0x220f21(0x208)])return{};try{return JSON[_0x220f21(0x80)](_0x206090[_0x220f21(0x208)]);}catch{return{};}}['parseRawResponseBody'](){const _0x7a9e90=a0_0x5ba6db,_0xde6b2e=this['_raw'];if(_0xde6b2e===![]||_0xde6b2e===null||!_0xde6b2e[_0x7a9e90(0x139)])return null;try{return JSON[_0x7a9e90(0x80)](_0xde6b2e[_0x7a9e90(0x139)]);}catch{return null;}}['getRequestParams'](){return this['parseRawRequestBody']();}[a0_0x5ba6db(0x232)](){return this['parseRawResponseBody']();}[a0_0x5ba6db(0x26b)](){const _0x42d21f=a0_0x5ba6db,_0x3191f1=this[_0x42d21f(0x24b)]();return Object[_0x42d21f(0xe9)](_0x3191f1);}[a0_0x5ba6db(0x194)](){const _0x216865=a0_0x5ba6db,_0x8d5cb8=this[_0x216865(0x24b)](),_0x36067d={};return Object['entries'](_0x8d5cb8)[_0x216865(0x2a7)](([_0x3da81a,_0x10b798])=>{const _0x412936=_0x216865,_0x55f181=_0x10b798;_0x36067d[_0x3da81a]=generateExampleValue(_0x3da81a,_0x55f181[_0x412936(0xe8)]||_0x412936(0x1bb),undefined,{'description':_0x55f181['description']});}),_0x36067d;}[a0_0x5ba6db(0x2aa)](){const _0x4d52a8=a0_0x5ba6db;return this[_0x4d52a8(0x194)]();}[a0_0x5ba6db(0x262)](){const _0x43d18f=a0_0x5ba6db,_0x3bf1d3=this[_0x43d18f(0x170)]();if(!_0x3bf1d3){const _0x435596={};return _0x435596['success']=!![],_0x435596[_0x43d18f(0x10f)]=_0x43d18f(0x1b6),_0x435596[_0x43d18f(0x1d0)]='',_0x435596[_0x43d18f(0x2eb)]=_0x43d18f(0x1ca),_0x435596[_0x43d18f(0x98)]=null,_0x435596;}return this['generateFromSchema'](_0x3bf1d3);}[a0_0x5ba6db(0x71)](_0x40d463){const _0x23b8a6=a0_0x5ba6db;if(!_0x40d463||typeof _0x40d463!==_0x23b8a6(0x181))return{};if(Array[_0x23b8a6(0x2f6)](_0x40d463))return _0x40d463[_0x23b8a6(0x1d6)]>0x0?[this[_0x23b8a6(0x71)](_0x40d463[0x0])]:[];const _0x596215={};for(const [_0x551ef5,_0x4a3a15]of Object['entries'](_0x40d463)){if(_0x4a3a15&&typeof _0x4a3a15===_0x23b8a6(0x181)&&!Array[_0x23b8a6(0x2f6)](_0x4a3a15)){const _0x21705d=_0x4a3a15;_0x596215[_0x551ef5]=generateExampleValue(_0x551ef5,_0x21705d['type']||_0x23b8a6(0x1bb),undefined,{'description':_0x21705d[_0x23b8a6(0x1ce)]});}else Array['isArray'](_0x4a3a15)?_0x596215[_0x551ef5]=_0x4a3a15[_0x23b8a6(0x1d6)]>0x0?[this[_0x23b8a6(0x71)](_0x4a3a15[0x0])]:[]:_0x596215[_0x551ef5]=_0x4a3a15;}return _0x596215;}[a0_0x5ba6db(0x1f1)](_0x16a596,_0x29b28e,_0x29a038,_0x5a4b87){return generateExampleValue(_0x16a596,_0x29b28e,_0x29a038,_0x5a4b87);}[a0_0x5ba6db(0x13a)](_0x30d11f,_0x337c5b){const _0x55e6ac=a0_0x5ba6db,_0x20c196=this['getName']();return _0x55e6ac(0x1a6)+_0x30d11f+'.'+_0x20c196+'();';}['generateUsageExample'](_0x2ca17d){const _0x3a7346=a0_0x5ba6db,_0x4e979e=this['getName'](),_0x5c9fe5=_0x2ca17d||_0x3a7346(0x21b),_0x257e2c={};return _0x257e2c[_0x3a7346(0x2ee)]=_0x3a7346(0x249)+_0x5c9fe5+'.'+_0x4e979e+_0x3a7346(0x1fa),_0x257e2c[_0x3a7346(0x2eb)]=_0x3a7346(0xfa)+_0x5c9fe5+'.'+_0x4e979e+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x257e2c;}[a0_0x5ba6db(0x70)](){const _0x3c8893=a0_0x5ba6db,_0x5d0fc0=this[_0x3c8893(0x24b)](),_0x29f1ab=Object[_0x3c8893(0x1c9)](_0x5d0fc0)[_0x3c8893(0xc9)](([_0x3af01a,_0x2a3a25])=>{const _0x161354=_0x3c8893,_0xb7cabd=_0x2a3a25,_0x22ca65={};return _0x22ca65[_0x161354(0x176)]=_0x3af01a,_0x22ca65[_0x161354(0xe8)]=_0xb7cabd[_0x161354(0xe8)]||_0x161354(0x1bb),_0x22ca65[_0x161354(0x1ce)]=_0xb7cabd[_0x161354(0x1ce)]||'-',_0x22ca65[_0x161354(0x1ae)]=_0xb7cabd['required'],_0x22ca65;}),_0x26a081={};return _0x26a081[_0x3c8893(0x165)]=_0x29f1ab,_0x26a081;}[a0_0x5ba6db(0x16b)](){const _0x1688fa=a0_0x5ba6db,_0x4c2de3=this[_0x1688fa(0x170)]();if(!_0x4c2de3){const _0x2edff0={};return _0x2edff0[_0x1688fa(0x165)]=[],_0x2edff0;}const _0xb1b83a=Object[_0x1688fa(0x1c9)](_0x4c2de3)['map'](([_0x89e5c0,_0x532f6c])=>{const _0x3b5e29=_0x1688fa,_0x1da33f=_0x532f6c,_0x17c437={};return _0x17c437[_0x3b5e29(0x176)]=_0x89e5c0,_0x17c437[_0x3b5e29(0xe8)]=_0x1da33f['type']||_0x3b5e29(0x1bb),_0x17c437[_0x3b5e29(0x1ce)]=_0x1da33f['description']||'-',_0x17c437;}),_0x5971cd={};return _0x5971cd[_0x1688fa(0x165)]=_0xb1b83a,_0x5971cd;}[a0_0x5ba6db(0x2fe)](){return[];}['getBusinessFields'](){const _0x4c15ac=a0_0x5ba6db;return this['context'][_0x4c15ac(0x145)]||[];}[a0_0x5ba6db(0x109)](){const _0x2dc064=a0_0x5ba6db;return{'systemFields':this[_0x2dc064(0x2fe)](),'businessFields':this[_0x2dc064(0x287)]()};}['getFieldDefinition'](_0x51ec4c){const _0xebbe42=a0_0x5ba6db;return this[_0xebbe42(0x111)][_0xebbe42(0x145)][_0xebbe42(0xbf)](_0x5c89ea=>_0x5c89ea?.[_0xebbe42(0x1f0)]===_0x51ec4c);}['getFieldCode'](_0x4d57eb){const _0x2727cb=a0_0x5ba6db;return _0x4d57eb[_0x2727cb(0x1f0)];}[a0_0x5ba6db(0x1c6)](_0x85d222){const _0x1cde8a=a0_0x5ba6db;return _0x85d222[_0x1cde8a(0xe8)];}['getFieldDisplayName'](_0x3a1002){const _0x57948f=a0_0x5ba6db;return _0x3a1002[_0x57948f(0x176)];}[a0_0x5ba6db(0x1a3)](_0x3ebdc7){return _0x3ebdc7['description'];}['getFieldOptions'](_0x40da52){const _0x38af12=a0_0x5ba6db;return _0x40da52[_0x38af12(0x225)]()||null;}[a0_0x5ba6db(0x235)](_0x2c5f06){const _0x31c448=a0_0x5ba6db;return _0x2c5f06[_0x31c448(0x18a)]();}['getOperators'](){return[];}['getFieldOperators'](_0x212b20){return[];}[a0_0x5ba6db(0x308)](){const _0x5edaca=a0_0x5ba6db;return{'name':this[_0x5edaca(0x1e7)](),'displayName':this[_0x5edaca(0x2a1)](),'type':this[_0x5edaca(0x295)](),'enabled':this['isEnabled'](),'method':this[_0x5edaca(0x149)](),'path':this[_0x5edaca(0x1e9)](),'fullUrl':this[_0x5edaca(0x1d2)](),'requestParams':this['getRequestParams'](),'requestExample':this[_0x5edaca(0x194)](),'responseExample':this[_0x5edaca(0x262)]()};}[a0_0x5ba6db(0x146)](){const _0x6c9196=a0_0x5ba6db,_0x537d18=this[_0x6c9196(0x2c6)]()?'启用':'禁用';return this[_0x6c9196(0x2a1)]()+'('+this['name']+',\x20'+_0x537d18+')';}}class GenericOperation extends Operation{[a0_0x5ba6db(0x2a2)];[a0_0x5ba6db(0x24b)](){const _0x3270fe=a0_0x5ba6db;return this[_0x3270fe(0x157)]();}['getResponseSchema'](){const _0x59e879=a0_0x5ba6db;return this[_0x59e879(0x170)]();}[a0_0x5ba6db(0x194)](){const _0x313c1a=a0_0x5ba6db;if(this[_0x313c1a(0x2a2)])return this['_requestExampleCache'];const _0x4acca3={},_0x1b3924=this[_0x313c1a(0x24b)](),_0x136c89=this[_0x313c1a(0x295)]();if(Object[_0x313c1a(0xe9)](_0x1b3924)['length']===0x0&&_0x136c89){const _0x7a20b2=this[_0x313c1a(0x287)]();return _0x7a20b2[_0x313c1a(0x2a7)](_0x491c91=>{const _0x2718ce=_0x313c1a,_0x2ae122=_0x491c91['code'],_0x338c00=_0x491c91[_0x2718ce(0xe8)],_0x48d64f=this['generateFieldExample'](_0x2ae122,_0x338c00,_0x491c91[_0x2718ce(0x1da)](),{'isPrimaryKey':_0x491c91[_0x2718ce(0x18a)](),'description':_0x491c91['description']||_0x491c91[_0x2718ce(0x176)]});_0x4acca3[_0x2ae122]=_0x48d64f;}),this[_0x313c1a(0x2a2)]=_0x4acca3,_0x4acca3;}return Object[_0x313c1a(0x1c9)](_0x1b3924)['forEach'](([_0xed7d4f,_0x256bae])=>{const _0x6ca79=_0x313c1a,_0x4e0d9a=_0x256bae;let _0x4c5eed;if(typeof _0x4e0d9a[_0x6ca79(0xe8)]===_0x6ca79(0x27c))_0x4c5eed=_0x4e0d9a['type'];else _0x4e0d9a[_0x6ca79(0xe8)]&&typeof _0x4e0d9a[_0x6ca79(0xe8)]==='object'?_0x4c5eed=_0x4e0d9a[_0x6ca79(0xe8)][_0x6ca79(0xe8)]||_0x6ca79(0x1ac):_0x4c5eed=_0x6ca79(0x1ac);const _0x4890ae=_0x4e0d9a[_0x6ca79(0x1ce)],_0xaa6b1e=this[_0x6ca79(0xac)](_0xed7d4f);if(_0xed7d4f==='currentPage')_0x4acca3[_0xed7d4f]=0x1;else{if(_0xed7d4f==='pageSize')_0x4acca3[_0xed7d4f]=0xa;else{if(_0xed7d4f==='id')_0x4acca3[_0xed7d4f]=0x1;else{const _0x18a0b5=_0xaa6b1e?_0xaa6b1e[_0x6ca79(0x1da)]():undefined,_0xfc4069=_0xaa6b1e?_0xaa6b1e[_0x6ca79(0x1ce)]:undefined,_0x2053ca=_0xaa6b1e?_0xaa6b1e[_0x6ca79(0x176)]:undefined;_0x4acca3[_0xed7d4f]=this['generateFieldExample'](_0xed7d4f,_0x4c5eed,_0x18a0b5||undefined,{'isPrimaryKey':_0xed7d4f===this['context'][_0x6ca79(0x9a)]||_0xed7d4f==='id','description':_0x4890ae||_0xfc4069||_0x2053ca});}}}}),this['_requestExampleCache']=_0x4acca3,_0x4acca3;}[a0_0x5ba6db(0x262)](){const _0x3e8608=a0_0x5ba6db,_0xb2baf0=this[_0x3e8608(0x232)]();if(!_0xb2baf0){const _0x48ce52={};return _0x48ce52[_0x3e8608(0x231)]=!![],_0x48ce52[_0x3e8608(0x10f)]=_0x3e8608(0x1b6),_0x48ce52['errorMsg']='',_0x48ce52['errorCode']=_0x3e8608(0x1ca),_0x48ce52['data']=null,_0x48ce52;}return this[_0x3e8608(0x71)](_0xb2baf0);}[a0_0x5ba6db(0x71)](_0x32ddcf){const _0x280e28=a0_0x5ba6db;if(!_0x32ddcf||typeof _0x32ddcf!==_0x280e28(0x181))return{};if(Array[_0x280e28(0x2f6)](_0x32ddcf)){if(_0x32ddcf[_0x280e28(0x1d6)]>0x0)return[this['generateFromSchema'](_0x32ddcf[0x0])];return[];}const _0x2ba4e7={};return Object['keys'](_0x32ddcf)[_0x280e28(0x2a7)](_0x2f705c=>{const _0x8752b4=_0x280e28,_0x4430e4=_0x32ddcf[_0x2f705c];if(_0x4430e4&&typeof _0x4430e4==='object'&&!Array['isArray'](_0x4430e4)&&_0x4430e4[_0x8752b4(0xe8)]){const _0x358be5=_0x4430e4;let _0x5db559;if(typeof _0x358be5[_0x8752b4(0xe8)]==='string')_0x5db559=_0x358be5['type'];else _0x358be5[_0x8752b4(0xe8)]&&typeof _0x358be5['type']===_0x8752b4(0x181)?_0x5db559=_0x358be5[_0x8752b4(0xe8)]['type']||_0x8752b4(0x1ac):_0x5db559=_0x8752b4(0x1ac);const _0x4b70ad=_0x358be5[_0x8752b4(0x1ce)],_0x50801f={};_0x50801f[_0x8752b4(0x1ce)]=_0x4b70ad,_0x2ba4e7[_0x2f705c]=this[_0x8752b4(0x1f1)](_0x2f705c,_0x5db559,undefined,_0x50801f);}else{if(Array[_0x8752b4(0x2f6)](_0x4430e4))_0x2ba4e7[_0x2f705c]=_0x4430e4[_0x8752b4(0x1d6)]>0x0?[this[_0x8752b4(0x71)](_0x4430e4[0x0])]:[];else _0x4430e4&&typeof _0x4430e4===_0x8752b4(0x181)?_0x2ba4e7[_0x2f705c]=this['generateFromSchema'](_0x4430e4):_0x2ba4e7[_0x2f705c]=_0x4430e4;}}),_0x2ba4e7;}[a0_0x5ba6db(0x13a)](_0x4e65ec,_0x247c41){const _0x48728c=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x247c41||{},_0x4a5d3c=this[_0x48728c(0x1e7)](),_0x4690a1=this[_0x48728c(0x295)](),_0x30ddcc=this['getRequestFields'](),_0x3ad593=this[_0x48728c(0x194)](),_0x2fce96=_0x12b020=>{const _0x295c02=_0x48728c;if(Object['keys'](_0x12b020)[_0x295c02(0x1d6)]===0x0)return'{}';const _0x9e409a=JSON[_0x295c02(0x275)](_0x12b020,null,0x2)[_0x295c02(0x294)]('\x0a')[_0x295c02(0xc9)]((_0x2265b3,_0x5c93a2)=>_0x5c93a2===0x0?_0x2265b3:indent+_0x2265b3)[_0x295c02(0x18b)]('\x0a');return _0x9e409a;};switch(_0x4690a1){case'getOne':case'delete':return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x1a5);case'update':if(useFullExample&&Object[_0x48728c(0xe9)](_0x3ad593)[_0x48728c(0x1d6)]>0x0)return _0x48728c(0x1a6)+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x19a)+_0x2fce96(_0x3ad593)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x7a);case _0x48728c(0x2c2):case _0x48728c(0x1d7):case _0x48728c(0x20f):default:if(_0x30ddcc[_0x48728c(0x1d6)]>0x0){if(useFullExample&&Object[_0x48728c(0xe9)](_0x3ad593)['length']>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+'('+_0x2fce96(_0x3ad593)+');';else{const _0x7144e5=Object[_0x48728c(0xe9)](_0x3ad593);if(_0x7144e5[_0x48728c(0x1d6)]>0x0){const _0x49c999=_0x7144e5['slice'](0x0,0x2)[_0x48728c(0x18b)](',\x20');return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x15b)+_0x49c999+',\x20...\x20});';}else return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0xc3);}}else return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x1fa);}}[a0_0x5ba6db(0xe6)](){const _0x1a5479=a0_0x5ba6db;return[{'title':_0x1a5479(0x1a2),'data':this[_0x1a5479(0x194)]()}];}['getSystemFields'](){const _0x363d8c=a0_0x5ba6db,_0x1df83c=this[_0x363d8c(0x295)](),_0x18b692=[];switch(_0x1df83c){case'getOne':case'delete':const _0x570771={};_0x570771[_0x363d8c(0x1f0)]='id',_0x570771[_0x363d8c(0xe8)]='NUMBER',_0x570771[_0x363d8c(0x1ce)]=_0x363d8c(0x1b1),_0x18b692[_0x363d8c(0x296)](_0x570771);break;case _0x363d8c(0x1d7):const _0x5c5993={};_0x5c5993[_0x363d8c(0x1f0)]=_0x363d8c(0x319),_0x5c5993[_0x363d8c(0xe8)]='NUMBER',_0x5c5993[_0x363d8c(0x1ce)]=_0x363d8c(0x234);const _0x197424={};_0x197424[_0x363d8c(0x1f0)]=_0x363d8c(0x27b),_0x197424[_0x363d8c(0xe8)]=_0x363d8c(0x135),_0x197424[_0x363d8c(0x1ce)]=_0x363d8c(0x26a),_0x18b692[_0x363d8c(0x296)](_0x5c5993,_0x197424);break;case _0x363d8c(0x20f):const _0x553df3={};_0x553df3['code']='code',_0x553df3[_0x363d8c(0xe8)]='STRING',_0x553df3['description']='选项编码(可选)',_0x18b692[_0x363d8c(0x296)](_0x553df3);break;default:break;}return _0x18b692;}[a0_0x5ba6db(0x287)](){const _0x1fee59=a0_0x5ba6db,_0x94831f=this[_0x1fee59(0x295)](),_0x599fbf=this[_0x1fee59(0x111)][_0x1fee59(0x145)]||[];switch(_0x94831f){case _0x1fee59(0x2b4):case _0x1fee59(0x24d):return[];case _0x1fee59(0x2c2):return _0x599fbf[_0x1fee59(0x7e)](_0xd34364=>{const _0x248832=_0x1fee59;if(_0xd34364[_0x248832(0xda)])return![];if(_0xd34364['isPrimaryKey']()&&_0xd34364[_0x248832(0x2e5)]())return![];if(_0xd34364[_0x248832(0xe3)]())return![];if(_0xd34364[_0x248832(0x118)]()||_0xd34364[_0x248832(0x23f)]())return![];return!![];});case'update':return _0x599fbf['filter'](_0x372a38=>{const _0x56236d=_0x1fee59;if(_0x372a38[_0x56236d(0xda)])return![];if(_0x372a38['isPrimaryKey']())return![];if(_0x372a38[_0x56236d(0xe3)]())return![];if(_0x372a38['isCreateTime']()||_0x372a38[_0x56236d(0x23f)]())return![];if(_0x372a38[_0x56236d(0x2e5)]())return![];return!![];});case _0x1fee59(0x1d7):case'getSelectOptions':return _0x599fbf['filter'](_0x363d8f=>!_0x363d8f[_0x1fee59(0xda)]&&_0x363d8f[_0x1fee59(0x188)]());default:return _0x599fbf['filter'](_0x4e455e=>!_0x4e455e[_0x1fee59(0xda)]&&_0x4e455e[_0x1fee59(0x188)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x5ba6db(0x24b)](){const _0x5a9193=a0_0x5ba6db,_0x17ea6b=super['getRequestParams'](),_0xb6abb=Object[_0x5a9193(0xe9)](_0x17ea6b);if(_0xb6abb[_0x5a9193(0x1d6)]===0x0||_0xb6abb['length']===0x1&&_0xb6abb[0x0]===_0x5a9193(0x1f0)){if(!_0x17ea6b['code']){const _0x369363={};_0x369363[_0x5a9193(0xe8)]='String',_0x369363[_0x5a9193(0x1ce)]=_0x5a9193(0x245),_0x17ea6b['code']=_0x369363;}const _0x2068d3={};_0x2068d3[_0x5a9193(0xe8)]=_0x5a9193(0x1bb),_0x2068d3[_0x5a9193(0x1ce)]=_0x5a9193(0x27f),_0x17ea6b[_0x5a9193(0x2c4)]=_0x2068d3;}return _0x17ea6b;}[a0_0x5ba6db(0x287)](){return[];}[a0_0x5ba6db(0x2fe)](){const _0x42285d=a0_0x5ba6db,_0x455848={};_0x455848[_0x42285d(0x1f0)]='code',_0x455848[_0x42285d(0xe8)]=_0x42285d(0x1bb),_0x455848[_0x42285d(0x1ce)]='字段编码';const _0x19863c={};return _0x19863c[_0x42285d(0x1f0)]=_0x42285d(0x2c4),_0x19863c[_0x42285d(0xe8)]='String',_0x19863c[_0x42285d(0x1ce)]=_0x42285d(0x27f),[_0x455848,_0x19863c];}[a0_0x5ba6db(0x194)](){const _0x2ffbea=a0_0x5ba6db,_0x3e6376={};return _0x3e6376[_0x2ffbea(0x1f0)]=_0x2ffbea(0x252),_0x3e6376[_0x2ffbea(0x2c4)]=_0x2ffbea(0x252),_0x3e6376;}[a0_0x5ba6db(0x13a)](_0x4cb4be){const _0x28f868=a0_0x5ba6db,_0x3434d0=this['getName']();return _0x28f868(0x1a6)+_0x4cb4be+'.'+_0x3434d0+_0x28f868(0xc7);}}class GetListOperation extends GenericOperation{[a0_0x5ba6db(0x24b)](){const _0x48dd07=a0_0x5ba6db,_0x233356=super[_0x48dd07(0x24b)](),{currentPage:_0x3d78d5,pageSize:_0x3834bc,..._0xf34c54}=_0x233356,_0x4599a0={};Object[_0x48dd07(0x1c9)](_0xf34c54)[_0x48dd07(0x2a7)](([_0x42e34b,_0x447436])=>{const _0x577f29=_0x48dd07;if(typeof _0x447436===_0x577f29(0x181)&&_0x447436!==null){const _0xd42ae6=_0x447436,_0x14cb14=_0xd42ae6[_0x577f29(0x1ce)]||'',_0x20ff9e={..._0xd42ae6};_0x20ff9e[_0x577f29(0x1ce)]=_0x14cb14?_0x14cb14+_0x577f29(0x1bc):_0x577f29(0x179),_0x4599a0[_0x42e34b]=_0x20ff9e;}else _0x4599a0[_0x42e34b]=_0x447436;});const _0x487ab3={...typeof _0x3d78d5===_0x48dd07(0x181)?_0x3d78d5:{}};_0x487ab3[_0x48dd07(0xe8)]='Number',_0x487ab3['description']=_0x48dd07(0x234);const _0x2dcfee={...typeof _0x3834bc===_0x48dd07(0x181)?_0x3834bc:{}};_0x2dcfee[_0x48dd07(0xe8)]=_0x48dd07(0x119),_0x2dcfee[_0x48dd07(0x1ce)]='每页数量';const _0x2a85b4={..._0x4599a0};return _0x2a85b4[_0x48dd07(0x319)]=_0x487ab3,_0x2a85b4[_0x48dd07(0x27b)]=_0x2dcfee,_0x2a85b4;}[a0_0x5ba6db(0x194)](_0x304ffe){const _0x21c27e=a0_0x5ba6db,{useArrayValues:useArrayValues=!![]}=_0x304ffe||{},_0x22b4db=super[_0x21c27e(0x194)](),{currentPage:_0x577335,pageSize:_0x1cc6b4,..._0x119ef4}=_0x22b4db;if(!useArrayValues){const _0x25965a={..._0x119ef4};return _0x25965a[_0x21c27e(0x319)]=_0x577335??0x1,_0x25965a['pageSize']=_0x1cc6b4??0xa,_0x25965a;}const _0x150906={},_0x31bb4c=['id',_0x21c27e(0x137),_0x21c27e(0x1f0),'type'];Object[_0x21c27e(0x1c9)](_0x119ef4)[_0x21c27e(0x2a7)](([_0x1fbc98,_0x180cda],_0x41bfaa)=>{const _0x2200c9=_0x21c27e,_0xf55681=_0x31bb4c[_0x2200c9(0x229)](_0x132af3=>_0x1fbc98[_0x2200c9(0x291)]()[_0x2200c9(0x122)](_0x132af3))||_0x41bfaa%0x3===0x0;if(_0xf55681&&_0x180cda!==null&&_0x180cda!==undefined){if(typeof _0x180cda===_0x2200c9(0xd3))_0x150906[_0x1fbc98]=[_0x180cda,_0x180cda+0x1,_0x180cda+0x2];else typeof _0x180cda===_0x2200c9(0x27c)?_0x150906[_0x1fbc98]=[_0x180cda,_0x180cda+'_2',_0x180cda+'_3']:_0x150906[_0x1fbc98]=[_0x180cda];}else _0x150906[_0x1fbc98]=_0x180cda;});const _0x11a60a={..._0x150906};return _0x11a60a[_0x21c27e(0x319)]=_0x577335??0x1,_0x11a60a['pageSize']=_0x1cc6b4??0xa,_0x11a60a;}['generateSingleValueExample'](){const _0x5dd6d7=a0_0x5ba6db,_0x47c1d9={};return _0x47c1d9[_0x5dd6d7(0x16c)]=![],this[_0x5dd6d7(0x194)](_0x47c1d9);}[a0_0x5ba6db(0xe6)](){const _0x1ac967=a0_0x5ba6db;return[{'title':_0x1ac967(0x2d3),'description':_0x1ac967(0x124),'data':this[_0x1ac967(0x2a0)]()},{'title':_0x1ac967(0x12e),'description':'支持多个条件','data':this[_0x1ac967(0x194)]()}];}[a0_0x5ba6db(0x13a)](_0x112a4c,_0x3ec512){const _0x4df63b=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3ec512||{},_0x16e9e6=this[_0x4df63b(0x1e7)](),_0x4ed0db={};_0x4ed0db[_0x4df63b(0x16c)]=!![];const _0x35f22c=this[_0x4df63b(0x194)](_0x4ed0db),{currentPage:_0xf9f66c,pageSize:_0x38ffb1,..._0x23162f}=_0x35f22c;if(useFullExample&&Object[_0x4df63b(0xe9)](_0x35f22c)[_0x4df63b(0x1d6)]>0x0){const _0x2aede8=Object[_0x4df63b(0xe9)](_0x23162f)[_0x4df63b(0x1d6)]>0x0;if(_0x2aede8){const _0x432b04=this[_0x4df63b(0x2a0)](),_0xa94519=_0x3bb7e9=>{const _0x93e0c=_0x4df63b;return JSON[_0x93e0c(0x275)](_0x3bb7e9,null,0x2)['split']('\x0a')[_0x93e0c(0xc9)]((_0x149319,_0x15a8ef)=>_0x15a8ef===0x0?_0x149319:indent+_0x149319)[_0x93e0c(0x18b)]('\x0a');};return _0x4df63b(0x236)+_0x112a4c+'.'+_0x16e9e6+'('+_0xa94519(_0x432b04)+_0x4df63b(0x258)+_0x112a4c+'.'+_0x16e9e6+'('+_0xa94519(_0x35f22c)+');';}else{const _0x7cc088=JSON['stringify'](_0x35f22c,null,0x2)[_0x4df63b(0x294)]('\x0a')[_0x4df63b(0xc9)]((_0x185ad3,_0x2d93d)=>_0x2d93d===0x0?_0x185ad3:indent+_0x185ad3)[_0x4df63b(0x18b)]('\x0a');return _0x4df63b(0x1a6)+_0x112a4c+'.'+_0x16e9e6+'('+_0x7cc088+');';}}if(Object[_0x4df63b(0xe9)](_0x23162f)[_0x4df63b(0x1d6)]>0x0){const _0x122a24=Object['keys'](_0x23162f)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x112a4c+'.'+_0x16e9e6+_0x4df63b(0x15b)+_0x122a24+_0x4df63b(0x1e5);}return _0x4df63b(0x1a6)+_0x112a4c+'.'+_0x16e9e6+_0x4df63b(0x6e);}}var AGGREGATE_FUNCTIONS=[a0_0x5ba6db(0x1af),a0_0x5ba6db(0x16a),a0_0x5ba6db(0x1c3),a0_0x5ba6db(0x19c),a0_0x5ba6db(0x65)],FILTER_OPERATORS=[a0_0x5ba6db(0x22d),a0_0x5ba6db(0x22b),a0_0x5ba6db(0x247),a0_0x5ba6db(0x87),a0_0x5ba6db(0x228),a0_0x5ba6db(0x2b2),a0_0x5ba6db(0xe7),'$contain',a0_0x5ba6db(0x1b0),a0_0x5ba6db(0x30e),a0_0x5ba6db(0xa8),'$or'];class FilterOperation extends GenericOperation{constructor(_0x53424f,_0x36c74d,_0x2f046b){super(_0x53424f,_0x36c74d,_0x2f046b);}[a0_0x5ba6db(0x1ab)](){return FILTER_OPERATORS;}[a0_0x5ba6db(0x1c8)](_0x191976){const _0x53ee42=a0_0x5ba6db,_0x49d7ed=this[_0x53ee42(0xac)](_0x191976);if(!_0x49d7ed)return[];return this[_0x53ee42(0x1d8)](_0x49d7ed);}[a0_0x5ba6db(0x24b)](){const _0x485a2c=a0_0x5ba6db,_0x5c78c8=super['getRequestParams'](),_0x528936={};_0x528936[_0x485a2c(0xe8)]=_0x485a2c(0x9d),_0x528936[_0x485a2c(0x1ce)]=_0x485a2c(0x1d5),_0x528936[_0x485a2c(0x1ae)]=![];const _0x50659d={};_0x50659d[_0x485a2c(0xe8)]='String[]',_0x50659d['description']='返回字段列表(字段投影)',_0x50659d['required']=![];const _0x584cd8={};_0x584cd8[_0x485a2c(0xe8)]=_0x485a2c(0x196),_0x584cd8[_0x485a2c(0x1ce)]=_0x485a2c(0x156),_0x584cd8[_0x485a2c(0x1ae)]=![];const _0x366be2={};_0x366be2[_0x485a2c(0xe8)]=_0x485a2c(0x119),_0x366be2[_0x485a2c(0x1ce)]=_0x485a2c(0x234),_0x366be2[_0x485a2c(0x1ae)]=![],_0x366be2['default']=0x1;const _0x37497f={};_0x37497f[_0x485a2c(0xe8)]=_0x485a2c(0x119),_0x37497f[_0x485a2c(0x1ce)]='每页数量',_0x37497f[_0x485a2c(0x1ae)]=![],_0x37497f[_0x485a2c(0x91)]=0xa;const _0x4e58c0={..._0x5c78c8};return _0x4e58c0[_0x485a2c(0xc5)]=_0x528936,_0x4e58c0['select']=_0x50659d,_0x4e58c0['orderBy']=_0x584cd8,_0x4e58c0[_0x485a2c(0x319)]=_0x366be2,_0x4e58c0[_0x485a2c(0x27b)]=_0x37497f,_0x4e58c0;}['getSystemFields'](){const _0x283c8d=a0_0x5ba6db,_0x41083d=this[_0x283c8d(0x24b)](),_0x292a55=[],_0x3f9766=[_0x283c8d(0xc5),_0x283c8d(0x198),_0x283c8d(0x2e9),'currentPage',_0x283c8d(0x27b)];return Object[_0x283c8d(0x1c9)](_0x41083d)[_0x283c8d(0x2a7)](([_0x4d34be,_0x10e51a])=>{const _0x3a4702=_0x283c8d;if(_0x3f9766['includes'](_0x4d34be)){const _0x163580=_0x10e51a,_0x1713fe={};_0x1713fe[_0x3a4702(0x1f0)]=_0x4d34be,_0x1713fe[_0x3a4702(0xe8)]=_0x163580[_0x3a4702(0xe8)]||_0x3a4702(0x9d),_0x1713fe[_0x3a4702(0x1ce)]=_0x163580[_0x3a4702(0x1ce)]||'-',_0x292a55[_0x3a4702(0x296)](_0x1713fe);}}),_0x292a55;}[a0_0x5ba6db(0x287)](){const _0x2cdea5=a0_0x5ba6db;return this[_0x2cdea5(0x111)][_0x2cdea5(0x145)]||[];}[a0_0x5ba6db(0x270)](){const _0x1f1707=a0_0x5ba6db;return{'systemParams':this[_0x1f1707(0x2fe)](),'businessFields':this[_0x1f1707(0x287)]()};}[a0_0x5ba6db(0x194)](){const _0x37f66d=a0_0x5ba6db,_0x48799b=this[_0x37f66d(0x111)]['fields']||[];if(_0x48799b[_0x37f66d(0x1d6)]===0x0){const _0x529cb4={};return _0x529cb4[_0x37f66d(0xc5)]={},_0x529cb4[_0x37f66d(0x319)]=0x1,_0x529cb4['pageSize']=0x14,_0x529cb4;}const _0x2352d0={},_0x581652=_0x48799b[_0x37f66d(0x1a0)](0x0,Math['min'](0x3,_0x48799b[_0x37f66d(0x1d6)]));_0x581652[_0x37f66d(0x2a7)](_0x2ff03c=>{const _0x34651c=_0x37f66d,_0x378350=this[_0x34651c(0x1d8)](_0x2ff03c);if(_0x378350['length']===0x0)return;const _0x2140cb=this[_0x34651c(0x21c)](_0x2ff03c,_0x378350),_0x3b59dd=this[_0x34651c(0x1aa)](_0x2ff03c,_0x2140cb),_0x1ed643={};_0x1ed643[_0x2140cb]=_0x3b59dd,_0x2352d0[_0x2ff03c[_0x34651c(0x1f0)]]=_0x1ed643;});const _0x12548f=_0x48799b[_0x37f66d(0x1a0)](0x0,Math[_0x37f66d(0x65)](0x5,_0x48799b[_0x37f66d(0x1d6)]))[_0x37f66d(0xc9)](_0x189845=>_0x189845['code']),_0x24a071=_0x48799b[0x0]?_0x48799b[0x0]['code']:'id',_0x3bc080={};_0x3bc080[_0x24a071]=_0x37f66d(0x2b1);const _0x5ba0fa={};return _0x5ba0fa[_0x37f66d(0xc5)]=_0x2352d0,_0x5ba0fa[_0x37f66d(0x198)]=_0x12548f,_0x5ba0fa[_0x37f66d(0x2e9)]=[_0x3bc080],_0x5ba0fa[_0x37f66d(0x319)]=0x1,_0x5ba0fa[_0x37f66d(0x27b)]=0x14,_0x5ba0fa;}[a0_0x5ba6db(0x13a)](_0x578989,_0x202c18){const _0x451da2=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x202c18||{},_0x3b6a5b=this[_0x451da2(0x1e7)](),_0x209e19=this[_0x451da2(0x194)](),_0x6cdefa=_0x392e0b=>{const _0x1d4b71=_0x451da2;return JSON[_0x1d4b71(0x275)](_0x392e0b,null,0x2)['split']('\x0a')[_0x1d4b71(0xc9)]((_0x20f4e6,_0x1261d0)=>_0x1261d0===0x0?_0x20f4e6:indent+_0x20f4e6)['join']('\x0a');};if(useFullExample){const _0x1863c4=this[_0x451da2(0x111)][_0x451da2(0x145)]||[],_0x5b6507={'where':_0x1863c4[0x0]?{[_0x1863c4[0x0][_0x451da2(0x1f0)]]:{'$eq':this[_0x451da2(0x1aa)](_0x1863c4[0x0],_0x451da2(0x22d))}}:{},'select':_0x1863c4[_0x451da2(0x1a0)](0x0,0x3)[_0x451da2(0xc9)](_0x161145=>_0x161145[_0x451da2(0x1f0)]),'currentPage':0x1,'pageSize':0x14};let _0xaafb19='';if(_0x1863c4[_0x451da2(0x1d6)]>=0x3){const _0x14d7a1={};_0x14d7a1[_0x451da2(0xa8)]=[];const _0x3bb87b=_0x14d7a1,_0x2fd037=[];if(_0x1863c4[_0x451da2(0x1d6)]>0x0){const _0x223a15=_0x1863c4[_0x451da2(0xbf)](_0x5ecea5=>{const _0x3d4096=_0x451da2,_0x39e3c5=_0x5ecea5[_0x3d4096(0x1da)]();return[_0x3d4096(0x135),_0x3d4096(0xbe),_0x3d4096(0x1cd),_0x3d4096(0x1a7),'TINYINT','SMALLINT'][_0x3d4096(0x122)](_0x39e3c5);});if(_0x223a15){const _0x28fb34={};_0x28fb34[_0x451da2(0x247)]=0x0,_0x28fb34[_0x451da2(0x228)]=0x64;const _0x17800d={[_0x223a15[_0x451da2(0x1f0)]]:_0x28fb34};_0x2fd037[_0x451da2(0x296)](_0x17800d);}}if(_0x1863c4[_0x451da2(0x1d6)]>0x1){const _0x5ab3f3=_0x1863c4[_0x451da2(0xbf)](_0x498895=>{const _0x57ca56=_0x451da2,_0x3ba40e=_0x498895[_0x57ca56(0x1da)]();return[_0x57ca56(0x23c),_0x57ca56(0x1ac),_0x57ca56(0x2cb),_0x57ca56(0x6b),'LONGTEXT'][_0x57ca56(0x122)](_0x3ba40e);});if(_0x5ab3f3){const _0x1893fa={};_0x1893fa['$contain']=_0x451da2(0x2fb);const _0x240d58={[_0x5ab3f3[_0x451da2(0x1f0)]]:_0x1893fa};_0x2fd037[_0x451da2(0x296)](_0x240d58);}}if(_0x2fd037[_0x451da2(0x1d6)]>0x0){_0x3bb87b[_0x451da2(0xa8)]=_0x2fd037;const _0x264d3c={'where':_0x3bb87b,'select':_0x1863c4[_0x451da2(0x1a0)](0x0,0x4)['map'](_0x3c4a28=>_0x3c4a28['code']),'orderBy':[{[_0x1863c4[0x0][_0x451da2(0x1f0)]]:_0x451da2(0x2b1)}],'currentPage':0x1,'pageSize':0x14};_0xaafb19=_0x451da2(0x1f3)+_0x578989+'.'+_0x3b6a5b+'('+_0x6cdefa(_0x264d3c)+');';}}return _0x451da2(0x171)+_0x578989+'.'+_0x3b6a5b+'('+_0x6cdefa(_0x5b6507)+');'+_0xaafb19;}const _0x325faa=JSON[_0x451da2(0x275)](_0x209e19,null,0x2)[_0x451da2(0x294)]('\x0a')[_0x451da2(0xc9)]((_0x4d4cd1,_0x4fc15c)=>_0x4fc15c===0x0?_0x4d4cd1:indent+_0x4d4cd1)[_0x451da2(0x18b)]('\x0a');return _0x451da2(0x1a6)+_0x578989+'.'+_0x3b6a5b+'('+_0x325faa+');';}[a0_0x5ba6db(0x1d8)](_0x1b8fae){const _0x2a77d0=a0_0x5ba6db,_0x20c189=_0x1b8fae[_0x2a77d0(0x1da)](),_0x1f95b8=[];if([_0x2a77d0(0x135),_0x2a77d0(0xbe),_0x2a77d0(0x1cd),'DECIMAL'][_0x2a77d0(0x122)](_0x20c189)||[_0x2a77d0(0x1a7),_0x2a77d0(0x279),'SMALLINT',_0x2a77d0(0x1b7),_0x2a77d0(0x14d)][_0x2a77d0(0x122)](_0x20c189))_0x1f95b8[_0x2a77d0(0x296)]('$eq',_0x2a77d0(0x22b),_0x2a77d0(0x247),_0x2a77d0(0x228),_0x2a77d0(0x87),_0x2a77d0(0x2b2),_0x2a77d0(0xe7));else{if(['STRING',_0x2a77d0(0x1ac),_0x2a77d0(0x2cb)][_0x2a77d0(0x122)](_0x20c189)||[_0x2a77d0(0x6b),_0x2a77d0(0x9e)][_0x2a77d0(0x122)](_0x20c189))_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),_0x2a77d0(0x22b),_0x2a77d0(0xe7),_0x2a77d0(0xf4),_0x2a77d0(0x1b0),_0x2a77d0(0x30e));else{if([_0x2a77d0(0x108),_0x2a77d0(0x26f),_0x2a77d0(0x202)]['includes'](_0x20c189)||[_0x2a77d0(0x276)][_0x2a77d0(0x122)](_0x20c189))_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),'$ne',_0x2a77d0(0x247),_0x2a77d0(0x228),_0x2a77d0(0x87),_0x2a77d0(0x2b2));else[_0x2a77d0(0x28e),_0x2a77d0(0x28d),_0x2a77d0(0x15c)][_0x2a77d0(0x122)](_0x20c189)?_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),'$ne'):_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),'$ne');}}return _0x1f95b8;}[a0_0x5ba6db(0x21c)](_0x40dd52,_0x4a560a){const _0xa3b2b9=a0_0x5ba6db,_0x1e3bce=_0x40dd52[_0xa3b2b9(0x1da)]();if([_0xa3b2b9(0x135),'INTEGER','BIGINT','DECIMAL'][_0xa3b2b9(0x122)](_0x1e3bce)||[_0xa3b2b9(0x1a7),_0xa3b2b9(0x279),_0xa3b2b9(0x2c7),_0xa3b2b9(0x1b7),_0xa3b2b9(0x14d)]['includes'](_0x1e3bce))return _0x4a560a['includes'](_0xa3b2b9(0x247))?'$gte':_0xa3b2b9(0x22d);if([_0xa3b2b9(0x23c),'TEXT',_0xa3b2b9(0x2cb)][_0xa3b2b9(0x122)](_0x1e3bce)||['CHAR',_0xa3b2b9(0x9e)]['includes'](_0x1e3bce))return _0x4a560a[_0xa3b2b9(0x122)]('$contain')?_0xa3b2b9(0xf4):_0xa3b2b9(0x22d);if([_0xa3b2b9(0x108),_0xa3b2b9(0x26f),_0xa3b2b9(0x202),_0xa3b2b9(0x276)][_0xa3b2b9(0x122)](_0x1e3bce))return _0x4a560a[_0xa3b2b9(0x122)]('$gte')?_0xa3b2b9(0x247):_0xa3b2b9(0x22d);return _0xa3b2b9(0x22d);}['generateExampleValue'](_0x1f024b,_0x310299){const _0x2894ba=a0_0x5ba6db,_0x5ce1e2=_0x1f024b[_0x2894ba(0x1da)](),_0x388547=_0x1f024b[_0x2894ba(0x225)]();if(_0x388547&&_0x388547['length']>0x0){if(_0x310299===_0x2894ba(0xe7))return _0x388547[_0x2894ba(0x1a0)](0x0,0x2)['map'](_0xe158b5=>_0xe158b5[_0x2894ba(0x14b)]);return _0x388547[0x0][_0x2894ba(0x14b)];}if([_0x2894ba(0x135),_0x2894ba(0xbe),_0x2894ba(0x1cd),'DECIMAL'][_0x2894ba(0x122)](_0x5ce1e2)||[_0x2894ba(0x1a7),_0x2894ba(0x279),_0x2894ba(0x2c7),'DOUBLE',_0x2894ba(0x14d)][_0x2894ba(0x122)](_0x5ce1e2)){if(_0x310299===_0x2894ba(0xe7))return[0x1,0x2,0x3];if(_0x310299===_0x2894ba(0x247)||_0x310299==='$gteq')return 0x0;if(_0x310299===_0x2894ba(0x228)||_0x310299===_0x2894ba(0x2b2))return 0x64;return 0x1;}if(['STRING',_0x2894ba(0x1ac),_0x2894ba(0x2cb)][_0x2894ba(0x122)](_0x5ce1e2)||[_0x2894ba(0x6b),_0x2894ba(0x9e)]['includes'](_0x5ce1e2)){if(_0x310299===_0x2894ba(0xe7))return[_0x2894ba(0x215),'value2'];if(_0x310299===_0x2894ba(0xf4))return _0x2894ba(0x2fb);if(_0x310299==='$startWith')return _0x2894ba(0xa3);if(_0x310299===_0x2894ba(0x30e))return'suffix';return _0x2894ba(0x14b);}if([_0x2894ba(0x108),_0x2894ba(0x26f),_0x2894ba(0x202),_0x2894ba(0x276)][_0x2894ba(0x122)](_0x5ce1e2)){if(_0x310299===_0x2894ba(0x247)||_0x310299===_0x2894ba(0x87))return _0x2894ba(0x183);if(_0x310299===_0x2894ba(0x228)||_0x310299==='$lteq')return _0x2894ba(0xbd);return _0x2894ba(0x183);}if([_0x2894ba(0x28e),_0x2894ba(0x28d),_0x2894ba(0x15c)][_0x2894ba(0x122)](_0x5ce1e2))return!![];return _0x310299===_0x2894ba(0xe7)?[_0x2894ba(0x215),_0x2894ba(0x75)]:_0x2894ba(0x14b);}['getRequestParamsDocInfo'](){const _0x17b618=a0_0x5ba6db,_0x527625=super[_0x17b618(0x24b)](),_0x39f65f=Object['entries'](_0x527625)[_0x17b618(0x7e)](([_0x3015db])=>_0x3015db!==_0x17b618(0x319)&&_0x3015db!==_0x17b618(0x27b))[_0x17b618(0xc9)](([_0x9362c,_0x50fdc0])=>{const _0x92eb92=_0x17b618,_0x1037ca=_0x50fdc0,_0x3cf24c={};return _0x3cf24c['name']=_0x9362c,_0x3cf24c[_0x92eb92(0xe8)]=_0x1037ca[_0x92eb92(0xe8)]||_0x92eb92(0x1bb),_0x3cf24c[_0x92eb92(0x1ce)]=_0x1037ca[_0x92eb92(0x1ce)]||'-',_0x3cf24c[_0x92eb92(0x1ae)]=_0x1037ca[_0x92eb92(0x1ae)],_0x3cf24c;}),_0x392e47={};return _0x392e47['description']=_0x17b618(0x281),_0x392e47[_0x17b618(0x165)]=_0x39f65f,_0x392e47;}}class ExcelExportOperation extends GenericOperation{[a0_0x5ba6db(0x24b)](){const _0x289ad8=a0_0x5ba6db,_0x55c215=super[_0x289ad8(0x24b)]();if(Object[_0x289ad8(0xe9)](_0x55c215)[_0x289ad8(0x1d6)]===0x0){const _0x1c2594={};this['context']['fields'][_0x289ad8(0x2a7)](_0x550139=>{const _0x464b3c=_0x289ad8;if(_0x550139){const _0x4942d2=_0x550139['code'],_0x13f1f4=_0x550139[_0x464b3c(0x1da)](),_0x395dbb={};_0x395dbb['type']=_0x13f1f4||'TEXT',_0x395dbb[_0x464b3c(0x261)]=_0x550139[_0x464b3c(0x261)],_0x395dbb['description']=_0x550139[_0x464b3c(0x1ce)]||_0x550139[_0x464b3c(0x176)],_0x1c2594[_0x4942d2]=_0x395dbb;}});const _0x15b91b={};_0x15b91b[_0x289ad8(0xe8)]=_0x289ad8(0x123),_0x15b91b[_0x289ad8(0x1ce)]='当前页码(可选)',_0x1c2594[_0x289ad8(0x319)]=_0x15b91b;const _0x4df34f={};return _0x4df34f['type']=_0x289ad8(0x123),_0x4df34f['description']='每页数量(可选)',_0x1c2594[_0x289ad8(0x27b)]=_0x4df34f,_0x1c2594;}return _0x55c215;}['generateRequestExample'](){const _0x45a4da=a0_0x5ba6db,_0x543c98=super[_0x45a4da(0x194)]();if(Object[_0x45a4da(0xe9)](_0x543c98)[_0x45a4da(0x1d6)]===0x0){const _0x175739={};return _0x175739[_0x45a4da(0x319)]=0x1,_0x175739[_0x45a4da(0x27b)]=0x64,_0x175739;}const _0x44a1fd={..._0x543c98};return _0x44a1fd[_0x45a4da(0x319)]=_0x543c98[_0x45a4da(0x319)]??0x1,_0x44a1fd[_0x45a4da(0x27b)]=_0x543c98['pageSize']??0x64,_0x44a1fd;}[a0_0x5ba6db(0x262)](){const _0x34e988=a0_0x5ba6db,_0x5e8a40={};return _0x5e8a40[_0x34e988(0x231)]=!![],_0x5e8a40[_0x34e988(0x10f)]='',_0x5e8a40[_0x34e988(0x1d0)]='',_0x5e8a40[_0x34e988(0x2eb)]='0000',_0x5e8a40[_0x34e988(0x98)]=_0x34e988(0x239),_0x5e8a40['params']=null,_0x5e8a40;}[a0_0x5ba6db(0x13a)](_0x3c6908,_0x2e9931){const _0x17fc1e=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2e9931||{},_0x1476c0=this[_0x17fc1e(0x1e7)]();if(useFullExample){const _0x2adedc=this[_0x17fc1e(0x194)](),{currentPage:_0x40c4b2,pageSize:_0x2e70c4,..._0x45b742}=_0x2adedc,_0x53131a=Object[_0x17fc1e(0xe9)](_0x45b742)[_0x17fc1e(0x1d6)]>0x0;if(_0x53131a){const _0x57618c=_0x28ccd2=>{const _0x2038f5=_0x17fc1e;return JSON[_0x2038f5(0x275)](_0x28ccd2,null,0x2)[_0x2038f5(0x294)]('\x0a')[_0x2038f5(0xc9)]((_0x463d83,_0x3306ce)=>_0x3306ce===0x0?_0x463d83:indent+_0x463d83)[_0x2038f5(0x18b)]('\x0a');};return _0x17fc1e(0x1ba)+_0x3c6908+'.'+_0x1476c0+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+'('+_0x57618c(_0x2adedc)+');';}else{const _0x5606d1=_0x519951=>{const _0x33cec9=_0x17fc1e;return JSON[_0x33cec9(0x275)](_0x519951,null,0x2)['split']('\x0a')['map']((_0x34a22e,_0x5b6889)=>_0x5b6889===0x0?_0x34a22e:indent+_0x34a22e)[_0x33cec9(0x18b)]('\x0a');},_0x126cd2={};return _0x126cd2['currentPage']=0x1,_0x126cd2[_0x17fc1e(0x27b)]=0x64,'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+'();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+'('+_0x5606d1(_0x126cd2)+');';}}return'const\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+_0x17fc1e(0xf2);}['generateUsageExample'](_0xdf9cf2){const _0x411c52=a0_0x5ba6db,_0x3a4061=this[_0x411c52(0x1e7)](),_0x3e0d62=_0xdf9cf2||_0x411c52(0x21b),_0x4c3b3a=_0x411c52(0x186)+_0x3e0d62+'.'+_0x3a4061+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x3af797='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x3e0d62+'.'+_0x3a4061+_0x411c52(0x1d1),_0x3179ea={};return _0x3179ea[_0x411c52(0x2ee)]=_0x4c3b3a,_0x3179ea[_0x411c52(0x2eb)]=_0x3af797,_0x3179ea;}}class UpdateOperation extends GenericOperation{[a0_0x5ba6db(0x2de)](){const _0x232191=a0_0x5ba6db;return this[_0x232191(0x157)]();}[a0_0x5ba6db(0x24b)](){const _0x2ee24=a0_0x5ba6db,_0x47e3da=this[_0x2ee24(0x2de)](),_0x3eb7cc={};_0x3eb7cc[_0x2ee24(0xe8)]='NUMBER',_0x3eb7cc[_0x2ee24(0x1ce)]=_0x2ee24(0xe2),_0x3eb7cc[_0x2ee24(0x1ae)]=!![];const _0x1cc0bf={};_0x1cc0bf[_0x2ee24(0xe8)]=_0x2ee24(0x181),_0x1cc0bf['description']=_0x2ee24(0x307),_0x1cc0bf[_0x2ee24(0x1ae)]=!![],_0x1cc0bf[_0x2ee24(0x1f5)]=_0x47e3da;const _0x2dd30f={};return _0x2dd30f['id']=_0x3eb7cc,_0x2dd30f[_0x2ee24(0x98)]=_0x1cc0bf,_0x2dd30f;}[a0_0x5ba6db(0x154)](){const _0x403f7d=a0_0x5ba6db;return this[_0x403f7d(0x2de)]();}[a0_0x5ba6db(0x226)](){const _0x4d52e2=a0_0x5ba6db,_0x3f9061=this[_0x4d52e2(0x111)][_0x4d52e2(0x145)]||[],_0x4296ac=this[_0x4d52e2(0x111)][_0x4d52e2(0x9a)],_0x4b0d3b=_0x3f9061['find'](_0x200979=>_0x200979[_0x4d52e2(0x18a)]()||_0x200979['code']===_0x4296ac),_0x38738d=_0x3f9061[_0x4d52e2(0x7e)](_0x3a7dfc=>{const _0x511d87=_0x4d52e2;if(_0x3a7dfc[_0x511d87(0xda)])return![];if(_0x3a7dfc===_0x4b0d3b||_0x3a7dfc[_0x511d87(0x18a)]())return![];if(_0x3a7dfc[_0x511d87(0x118)]()||_0x3a7dfc[_0x511d87(0x23f)]())return![];if(_0x3a7dfc['isAutoIncrement']())return![];return!![];});return _0x4b0d3b?[_0x4b0d3b,..._0x38738d]:_0x38738d;}[a0_0x5ba6db(0x15f)](){const _0x488d16=a0_0x5ba6db,_0x1e6426=this[_0x488d16(0x226)](),_0x3e9591=this[_0x488d16(0x111)][_0x488d16(0x9a)],_0x4c3107=_0x1e6426[_0x488d16(0xc9)](_0x5edc81=>{const _0x5ad32a=_0x488d16,_0x1257ac=_0x5edc81[_0x5ad32a(0x18a)]()||_0x5edc81[_0x5ad32a(0x1f0)]===_0x3e9591,_0x3434ab=_0x1257ac?'id':_0x5edc81['code'],_0x5dc415={};return _0x5dc415[_0x5ad32a(0x176)]=_0x3434ab,_0x5dc415[_0x5ad32a(0xe8)]=_0x5edc81[_0x5ad32a(0xe8)],_0x5dc415[_0x5ad32a(0x1ce)]=_0x1257ac?_0x5ad32a(0x2d5)+(_0x3e9591&&_0x3e9591!==_0x5edc81[_0x5ad32a(0x1f0)]?_0x5ad32a(0x1e1)+_0x5edc81[_0x5ad32a(0x1f0)]+')':''):_0x5edc81['description']||_0x5edc81[_0x5ad32a(0x176)],_0x5dc415;}),_0x44bc9c={};return _0x44bc9c[_0x488d16(0x1ce)]='HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。',_0x44bc9c['params']=_0x4c3107,_0x44bc9c;}[a0_0x5ba6db(0x70)](){const _0x28dc39=a0_0x5ba6db,_0x387923=this['getUpdateFields'](),_0xe56af3=Object['entries'](_0x387923)['map'](([_0x1e91f5,_0x151b5c])=>{const _0x527546=a0_0x5697,_0x13f045=_0x151b5c,_0x562e85={};return _0x562e85['name']=_0x1e91f5,_0x562e85[_0x527546(0xe8)]=_0x13f045[_0x527546(0xe8)]||_0x527546(0x1bb),_0x562e85[_0x527546(0x1ce)]=_0x13f045[_0x527546(0x1ce)]||'-',_0x562e85;}),_0x42e323={};return _0x42e323[_0x28dc39(0x1ce)]='update\x20接口接受两个参数:\x0a\x0a'+_0x28dc39(0x160)+_0x28dc39(0x93)+_0x28dc39(0x166)+'-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a'+_0x28dc39(0xad),_0x42e323['params']=_0xe56af3,_0x42e323;}['generateRequestExample'](){const _0x4cb757=a0_0x5ba6db,_0x2ebdf7=this[_0x4cb757(0x2de)](),_0x383a50={};Object[_0x4cb757(0x1c9)](_0x2ebdf7)[_0x4cb757(0x2a7)](([_0x4a08f2,_0x176d67])=>{const _0x27c7c1=_0x4cb757,_0x36481d=_0x176d67;let _0x11cacf;if(typeof _0x36481d[_0x27c7c1(0xe8)]===_0x27c7c1(0x27c))_0x11cacf=_0x36481d[_0x27c7c1(0xe8)];else _0x36481d[_0x27c7c1(0xe8)]&&typeof _0x36481d['type']===_0x27c7c1(0x181)?_0x11cacf=_0x36481d[_0x27c7c1(0xe8)][_0x27c7c1(0xe8)]||'TEXT':_0x11cacf=_0x27c7c1(0x1ac);const _0x1738b9=_0x36481d[_0x27c7c1(0x1ce)],_0x3c9882=this[_0x27c7c1(0xac)](_0x4a08f2);_0x383a50[_0x4a08f2]=this[_0x27c7c1(0x1f1)](_0x4a08f2,_0x11cacf,_0x3c9882?.[_0x27c7c1(0x1da)](),{'isPrimaryKey':![],'description':_0x1738b9||_0x3c9882?.[_0x27c7c1(0x1ce)]||_0x3c9882?.[_0x27c7c1(0x176)]});});const _0x5e8957={};return _0x5e8957['id']=0x1,_0x5e8957['data']=_0x383a50,_0x5e8957;}['generateRequestAllExamples'](){const _0x1c1caf=a0_0x5ba6db,_0x5a673b=this[_0x1c1caf(0x194)](),_0xc34300={};return _0xc34300[_0x1c1caf(0x6c)]=_0x1c1caf(0x151),_0xc34300[_0x1c1caf(0x1ce)]=_0x1c1caf(0x78)+_0x1c1caf(0x115)+_0x1c1caf(0x1f6),_0xc34300[_0x1c1caf(0x98)]=_0x5a673b,[_0xc34300,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x1c1caf(0x278)+'-\x20主键使用\x20`id`\x20字段\x0a'+_0x1c1caf(0x254),'data':this['generateHTTPRequestExample']()}];}[a0_0x5ba6db(0x86)](){const _0x139960=a0_0x5ba6db,_0x219a66=this['getUpdateFields'](),_0x1bcce6={};_0x1bcce6['id']=0x1;const _0x4a8d4d=_0x1bcce6;return Object[_0x139960(0x1c9)](_0x219a66)['forEach'](([_0x42ff16,_0x4f2d39])=>{const _0x564427=_0x139960,_0x290316=_0x4f2d39;let _0x14e87f;if(typeof _0x290316[_0x564427(0xe8)]==='string')_0x14e87f=_0x290316['type'];else _0x290316[_0x564427(0xe8)]&&typeof _0x290316['type']===_0x564427(0x181)?_0x14e87f=_0x290316[_0x564427(0xe8)][_0x564427(0xe8)]||_0x564427(0x1ac):_0x14e87f=_0x564427(0x1ac);const _0x3bf057=_0x290316[_0x564427(0x1ce)],_0x2d0a08=this[_0x564427(0xac)](_0x42ff16);if(_0x2d0a08?.[_0x564427(0x18a)]())return;_0x4a8d4d[_0x42ff16]=this[_0x564427(0x1f1)](_0x42ff16,_0x14e87f,_0x2d0a08?.[_0x564427(0x1da)](),{'isPrimaryKey':![],'description':_0x3bf057||_0x2d0a08?.['description']||_0x2d0a08?.[_0x564427(0x176)]});}),_0x4a8d4d;}[a0_0x5ba6db(0x2aa)](){const _0x1e8c4d=a0_0x5ba6db;return this[_0x1e8c4d(0x86)]();}[a0_0x5ba6db(0x13a)](_0x24c6b8,_0x4c01c0){const _0x37429c=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4c01c0||{},_0x1e2161=this[_0x37429c(0x1e7)]();if(useFullExample){const _0x390c79=this[_0x37429c(0x194)](),_0x197e6e=JSON['stringify'](_0x390c79['data'],null,0x2)[_0x37429c(0x294)]('\x0a')['map']((_0x247af7,_0x142a27)=>_0x142a27===0x0?_0x247af7:indent+_0x247af7)[_0x37429c(0x18b)]('\x0a');return _0x37429c(0x1a6)+_0x24c6b8+'.'+_0x1e2161+'('+_0x390c79['id']+',\x20'+_0x197e6e+');';}return _0x37429c(0x1a6)+_0x24c6b8+'.'+_0x1e2161+_0x37429c(0x7a);}}class AggregateOperation extends GenericOperation{constructor(_0x10bf4b,_0x6ac7a0,_0x3bcaff){super(_0x10bf4b,_0x6ac7a0,_0x3bcaff);}[a0_0x5ba6db(0xb2)](_0x33952a){const _0x29ef64=a0_0x5ba6db;return _0x33952a[_0x29ef64(0x1bd)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x29ef64(0x17a)]()[_0x29ef64(0x201)]();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}['getRequestParams'](){const _0x5a7052=a0_0x5ba6db,_0x2f78ce=super[_0x5a7052(0x24b)](),_0x2fac63={};_0x2fac63[_0x5a7052(0xe8)]=_0x5a7052(0x24e),_0x2fac63[_0x5a7052(0x1ce)]=_0x5a7052(0xe1),_0x2fac63[_0x5a7052(0x1ae)]=![];const _0x1fe3a5={};_0x1fe3a5[_0x5a7052(0xe8)]='Object',_0x1fe3a5[_0x5a7052(0x1ce)]=_0x5a7052(0xb7),_0x1fe3a5[_0x5a7052(0x1ae)]=![];const _0x3ab941={};_0x3ab941[_0x5a7052(0xe8)]=_0x5a7052(0x24e),_0x3ab941[_0x5a7052(0x1ce)]=_0x5a7052(0x6a),_0x3ab941['required']=![];const _0x26045b={};_0x26045b[_0x5a7052(0xe8)]=_0x5a7052(0x1ea),_0x26045b['description']=_0x5a7052(0xf9),_0x26045b[_0x5a7052(0x1ae)]=![];const _0x30593a={};_0x30593a['type']='Array',_0x30593a[_0x5a7052(0x1ce)]=_0x5a7052(0x22e),_0x30593a[_0x5a7052(0x1ae)]=![];const _0x949951={};_0x949951[_0x5a7052(0xe8)]=_0x5a7052(0x1ea),_0x949951[_0x5a7052(0x1ce)]='排序规则(与\x20Filter\x20API\x20一致)',_0x949951[_0x5a7052(0x1ae)]=![];const _0x384e57={};_0x384e57[_0x5a7052(0xe8)]=_0x5a7052(0x119),_0x384e57[_0x5a7052(0x1ce)]=_0x5a7052(0x1df),_0x384e57[_0x5a7052(0x1ae)]=![];const _0x288b09={};_0x288b09[_0x5a7052(0xe8)]='Number',_0x288b09[_0x5a7052(0x1ce)]=_0x5a7052(0x13b),_0x288b09[_0x5a7052(0x1ae)]=![];const _0x173643={..._0x2f78ce};return _0x173643['select']=_0x2fac63,_0x173643[_0x5a7052(0xc5)]=_0x1fe3a5,_0x173643['groupBy']=_0x3ab941,_0x173643['aggregate']=_0x26045b,_0x173643[_0x5a7052(0x152)]=_0x30593a,_0x173643['orderBy']=_0x949951,_0x173643[_0x5a7052(0x319)]=_0x384e57,_0x173643[_0x5a7052(0x27b)]=_0x288b09,_0x173643;}[a0_0x5ba6db(0x2fe)](){const _0x36b77f=a0_0x5ba6db,_0x17d0c9={};_0x17d0c9['code']=_0x36b77f(0x198),_0x17d0c9['type']=_0x36b77f(0x24e),_0x17d0c9['description']=_0x36b77f(0xe1);const _0x172eb5={};_0x172eb5[_0x36b77f(0x1f0)]=_0x36b77f(0xc5),_0x172eb5[_0x36b77f(0xe8)]=_0x36b77f(0x9d),_0x172eb5[_0x36b77f(0x1ce)]=_0x36b77f(0xb7);const _0x42201c={};_0x42201c['code']=_0x36b77f(0x1f7),_0x42201c[_0x36b77f(0xe8)]='String[]',_0x42201c['description']=_0x36b77f(0x6a);const _0x2a6b60={};_0x2a6b60[_0x36b77f(0x1f0)]='aggregate',_0x2a6b60[_0x36b77f(0xe8)]=_0x36b77f(0x1ea),_0x2a6b60[_0x36b77f(0x1ce)]=_0x36b77f(0xe0);const _0x4afcdc={};_0x4afcdc[_0x36b77f(0x1f0)]=_0x36b77f(0x152),_0x4afcdc[_0x36b77f(0xe8)]='Array',_0x4afcdc[_0x36b77f(0x1ce)]='分组后的过滤条件(对聚合结果进行过滤)';const _0x5ec40b={};_0x5ec40b['code']='orderBy',_0x5ec40b['type']=_0x36b77f(0x1ea),_0x5ec40b[_0x36b77f(0x1ce)]=_0x36b77f(0xc1);const _0x192340={};_0x192340[_0x36b77f(0x1f0)]=_0x36b77f(0x319),_0x192340[_0x36b77f(0xe8)]=_0x36b77f(0x119),_0x192340[_0x36b77f(0x1ce)]=_0x36b77f(0x1df);const _0x13f56d={};return _0x13f56d['code']=_0x36b77f(0x27b),_0x13f56d[_0x36b77f(0xe8)]=_0x36b77f(0x119),_0x13f56d[_0x36b77f(0x1ce)]='每页数量(默认:\x2020)',[_0x17d0c9,_0x172eb5,_0x42201c,_0x2a6b60,_0x4afcdc,_0x5ec40b,_0x192340,_0x13f56d];}[a0_0x5ba6db(0x194)](){const _0x39300f=a0_0x5ba6db,_0x30918a=this['context']['fields']||[];if(_0x30918a[_0x39300f(0x1d6)]===0x0){const _0x354dee={};return _0x354dee[_0x39300f(0xc5)]={},_0x354dee[_0x39300f(0x1f7)]=[],_0x354dee[_0x39300f(0x10a)]=[],_0x354dee;}const _0x50186b={},_0x544dc3=_0x30918a[_0x39300f(0x1a0)](0x0,Math['min'](0x3,_0x30918a['length']));_0x544dc3[_0x39300f(0x2a7)](_0x14a4de=>{const _0x4a7dc1=_0x39300f,_0x5c414d=this[_0x4a7dc1(0x1d8)](_0x14a4de);if(_0x5c414d['length']===0x0)return;const _0x1ab6d5=this[_0x4a7dc1(0x21c)](_0x14a4de,_0x5c414d),_0x3d9c59=this[_0x4a7dc1(0x1aa)](_0x14a4de,_0x1ab6d5),_0xb35de3={};_0xb35de3[_0x1ab6d5]=_0x3d9c59,_0x50186b[_0x14a4de['code']]=_0xb35de3;});const _0x3b7de5=_0x30918a[_0x39300f(0x1a0)](0x0,Math['min'](0x2,_0x30918a[_0x39300f(0x1d6)]))[_0x39300f(0xc9)](_0x4ad719=>_0x4ad719['code']),_0x6a117=[],_0x189ae4=_0x30918a[_0x39300f(0x7e)](_0x53f419=>this['isNumericField'](_0x53f419));if(_0x189ae4[_0x39300f(0x1d6)]>0x0){const _0x4990bf=_0x189ae4[0x0],_0x3324d7=_0x4990bf[_0x39300f(0x1f0)],_0x58d32e={};_0x58d32e[_0x39300f(0xe8)]=_0x39300f(0x1af),_0x58d32e[_0x39300f(0xa0)]=_0x3324d7,_0x58d32e[_0x39300f(0xd1)]=_0x3324d7+_0x39300f(0x19d),_0x58d32e[_0x39300f(0x8e)]=![],_0x58d32e[_0x39300f(0x24a)]=!![],_0x58d32e[_0x39300f(0x212)]=0x2,_0x6a117[_0x39300f(0x296)](_0x58d32e);const _0x153b6f={};_0x153b6f[_0x39300f(0xe8)]=_0x39300f(0x1c3),_0x153b6f[_0x39300f(0xa0)]=_0x3324d7,_0x153b6f[_0x39300f(0xd1)]=_0x3324d7+_0x39300f(0x2bd),_0x153b6f[_0x39300f(0x8e)]=![],_0x153b6f[_0x39300f(0x24a)]=!![],_0x153b6f['precision']=0x2,_0x6a117[_0x39300f(0x296)](_0x153b6f);const _0x529969={};_0x529969['type']='max',_0x529969['column']=_0x3324d7,_0x529969[_0x39300f(0xd1)]=_0x3324d7+'_max',_0x529969[_0x39300f(0x8e)]=![],_0x529969['round']=!![],_0x529969[_0x39300f(0x212)]=0x2,_0x6a117[_0x39300f(0x296)](_0x529969);const _0x198f6e={};_0x198f6e[_0x39300f(0xe8)]='min',_0x198f6e[_0x39300f(0xa0)]=_0x3324d7,_0x198f6e[_0x39300f(0xd1)]=_0x3324d7+'_min',_0x198f6e[_0x39300f(0x8e)]=![],_0x198f6e[_0x39300f(0x24a)]=!![],_0x198f6e[_0x39300f(0x212)]=0x2,_0x6a117[_0x39300f(0x296)](_0x198f6e);}else{if(_0x30918a[_0x39300f(0x1d6)]>0x0){const _0x5222dd=_0x30918a[0x0],_0x33830c=_0x5222dd[_0x39300f(0x1f0)],_0x479af7={};_0x479af7['type']=_0x39300f(0x16a),_0x479af7[_0x39300f(0xa0)]=_0x33830c,_0x479af7[_0x39300f(0xd1)]=_0x39300f(0x1fb),_0x479af7['distinct']=!![],_0x6a117[_0x39300f(0x296)](_0x479af7);}}const _0x21f527=[];if(_0x30918a[_0x39300f(0x1d6)]>0x0){const _0x46b8cb=_0x30918a[0x0][_0x39300f(0x1f0)],_0x209cbf={};_0x209cbf[_0x46b8cb]=_0x39300f(0x15d),_0x21f527[_0x39300f(0x296)](_0x209cbf);}const _0x23aabb=[..._0x3b7de5,..._0x6a117['map'](_0xfc302f=>_0xfc302f[_0x39300f(0xd1)])],_0x309d5a=[];if(_0x6a117[_0x39300f(0x1d6)]>0x0){const _0x27f515={};_0x27f515[_0x39300f(0x247)]=0x0;const _0x3e4fb5={};_0x3e4fb5[_0x39300f(0x195)]=_0x6a117[0x0]['alias'],_0x3e4fb5['condition']=_0x27f515,_0x309d5a[_0x39300f(0x296)](_0x3e4fb5);}const _0x321066={};return _0x321066[_0x39300f(0x198)]=_0x23aabb,_0x321066[_0x39300f(0xc5)]=_0x50186b,_0x321066[_0x39300f(0x1f7)]=_0x3b7de5,_0x321066['aggregate']=_0x6a117,_0x321066[_0x39300f(0x152)]=_0x309d5a[_0x39300f(0x1d6)]>0x0?_0x309d5a:undefined,_0x321066[_0x39300f(0x2e9)]=_0x21f527,_0x321066[_0x39300f(0x319)]=0x1,_0x321066[_0x39300f(0x27b)]=0x14,_0x321066;}[a0_0x5ba6db(0x13a)](_0x3fd2a2,_0x23cd6d){const _0x31a67f=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x23cd6d||{},_0xa066=this[_0x31a67f(0x1e7)](),_0x35f0bf=this[_0x31a67f(0x194)](),_0x568b7b=_0x10eda2=>{const _0x30c25e=_0x31a67f;return JSON[_0x30c25e(0x275)](_0x10eda2,null,0x2)['split']('\x0a')[_0x30c25e(0xc9)]((_0x2c998c,_0x5c9513)=>_0x5c9513===0x0?_0x2c998c:indent+_0x2c998c)[_0x30c25e(0x18b)]('\x0a');};if(useFullExample){const _0x28a51d=this[_0x31a67f(0x111)]['fields']||[],_0x41e2fe=_0x28a51d[_0x31a67f(0x7e)](_0x588d2a=>this[_0x31a67f(0x104)](_0x588d2a)),_0x3fb129={'where':_0x28a51d[0x0]?{[_0x28a51d[0x0][_0x31a67f(0x1f0)]]:{'$eq':this[_0x31a67f(0x1aa)](_0x28a51d[0x0],'$eq')}}:{},'aggregate':_0x41e2fe[_0x31a67f(0x1d6)]>0x0?[{'type':_0x31a67f(0x1af),'column':_0x41e2fe[0x0][_0x31a67f(0x1f0)],'alias':_0x41e2fe[0x0][_0x31a67f(0x1f0)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x31a67f(0x16a),'column':_0x28a51d[0x0][_0x31a67f(0x1f0)],'alias':_0x31a67f(0x1fb),'distinct':!![]}],'orderBy':[{[_0x28a51d[0x0][_0x31a67f(0x1f0)]]:_0x31a67f(0x15d)}]};let _0x24cb64='';return _0x28a51d['length']>=0x3&&(_0x24cb64=_0x31a67f(0x221)+_0x3fd2a2+'.'+_0xa066+'('+_0x568b7b(_0x35f0bf)+');'),_0x31a67f(0x169)+_0x3fd2a2+'.'+_0xa066+'('+_0x568b7b(_0x3fb129)+');'+_0x24cb64;}const _0x1ace3b=JSON[_0x31a67f(0x275)](_0x35f0bf,null,0x2)['split']('\x0a')[_0x31a67f(0xc9)]((_0x3e3bad,_0x82f605)=>_0x82f605===0x0?_0x3e3bad:indent+_0x3e3bad)[_0x31a67f(0x18b)]('\x0a');return _0x31a67f(0x1a6)+_0x3fd2a2+'.'+_0xa066+'('+_0x1ace3b+');';}[a0_0x5ba6db(0x104)](_0x177975){const _0x55b17b=a0_0x5ba6db,_0x230a74=_0x177975[_0x55b17b(0x1da)]();return[_0x55b17b(0x135),_0x55b17b(0xbe),_0x55b17b(0x1cd),'DECIMAL'][_0x55b17b(0x122)](_0x230a74)||[_0x55b17b(0x1a7),_0x55b17b(0x279),_0x55b17b(0x2c7),_0x55b17b(0x1b7),'FLOAT'][_0x55b17b(0x122)](_0x230a74);}['getApplicableOperators'](_0x48ba32){const _0x3c1297=a0_0x5ba6db,_0x411557=_0x48ba32[_0x3c1297(0x1da)](),_0x586f5d=[];if([_0x3c1297(0x135),_0x3c1297(0xbe),'BIGINT','DECIMAL'][_0x3c1297(0x122)](_0x411557)||[_0x3c1297(0x1a7),_0x3c1297(0x279),'SMALLINT','DOUBLE',_0x3c1297(0x14d)][_0x3c1297(0x122)](_0x411557))_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),'$ne',_0x3c1297(0x247),'$lte',_0x3c1297(0x87),_0x3c1297(0x2b2),_0x3c1297(0xe7));else{if([_0x3c1297(0x23c),'TEXT','VARCHAR'][_0x3c1297(0x122)](_0x411557)||[_0x3c1297(0x6b),_0x3c1297(0x9e)]['includes'](_0x411557))_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),'$ne',_0x3c1297(0xe7),_0x3c1297(0xf4),'$startWith','$endWith');else{if([_0x3c1297(0x108),_0x3c1297(0x26f),'TIMESTAMP'][_0x3c1297(0x122)](_0x411557)||['TIME'][_0x3c1297(0x122)](_0x411557))_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),'$ne',_0x3c1297(0x247),_0x3c1297(0x228),_0x3c1297(0x87),'$lteq');else['BOOLEAN',_0x3c1297(0x28d),_0x3c1297(0x15c)][_0x3c1297(0x122)](_0x411557)?_0x586f5d[_0x3c1297(0x296)]('$eq',_0x3c1297(0x22b)):_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),_0x3c1297(0x22b));}}return _0x586f5d;}[a0_0x5ba6db(0x21c)](_0x157cdd,_0x56d3b3){const _0x483c84=a0_0x5ba6db,_0x380029=_0x157cdd[_0x483c84(0x1da)]();if([_0x483c84(0x135),_0x483c84(0xbe),_0x483c84(0x1cd),_0x483c84(0x304)]['includes'](_0x380029)||[_0x483c84(0x1a7),_0x483c84(0x279),'SMALLINT',_0x483c84(0x1b7),_0x483c84(0x14d)]['includes'](_0x380029))return _0x56d3b3['includes']('$gte')?_0x483c84(0x247):_0x483c84(0x22d);if([_0x483c84(0x23c),_0x483c84(0x1ac),_0x483c84(0x2cb)][_0x483c84(0x122)](_0x380029)||[_0x483c84(0x6b),_0x483c84(0x9e)]['includes'](_0x380029))return _0x56d3b3['includes'](_0x483c84(0xf4))?_0x483c84(0xf4):_0x483c84(0x22d);if([_0x483c84(0x108),_0x483c84(0x26f),_0x483c84(0x202),'TIME'][_0x483c84(0x122)](_0x380029))return _0x56d3b3[_0x483c84(0x122)](_0x483c84(0x247))?_0x483c84(0x247):'$eq';return _0x483c84(0x22d);}[a0_0x5ba6db(0x1aa)](_0x12a05a,_0x2865db){const _0x1b9940=a0_0x5ba6db,_0x4692ef=_0x12a05a['getDbTypeForOperation'](),_0x444384=_0x12a05a[_0x1b9940(0x225)]();if(_0x444384&&_0x444384['length']>0x0){if(_0x2865db===_0x1b9940(0xe7))return _0x444384[_0x1b9940(0x1a0)](0x0,0x2)[_0x1b9940(0xc9)](_0x38b0e8=>_0x38b0e8[_0x1b9940(0x14b)]);return _0x444384[0x0][_0x1b9940(0x14b)];}if([_0x1b9940(0x135),_0x1b9940(0xbe),_0x1b9940(0x1cd),_0x1b9940(0x304)]['includes'](_0x4692ef)||['INT',_0x1b9940(0x279),_0x1b9940(0x2c7),_0x1b9940(0x1b7),_0x1b9940(0x14d)][_0x1b9940(0x122)](_0x4692ef)){if(_0x2865db===_0x1b9940(0xe7))return[0x1,0x2,0x3];if(_0x2865db==='$gte'||_0x2865db==='$gteq')return 0x0;if(_0x2865db===_0x1b9940(0x228)||_0x2865db===_0x1b9940(0x2b2))return 0x64;return 0x1;}if([_0x1b9940(0x23c),'TEXT',_0x1b9940(0x2cb)]['includes'](_0x4692ef)||['CHAR',_0x1b9940(0x9e)][_0x1b9940(0x122)](_0x4692ef)){if(_0x2865db===_0x1b9940(0xe7))return['value1','value2'];if(_0x2865db===_0x1b9940(0xf4))return _0x1b9940(0x2fb);if(_0x2865db===_0x1b9940(0x1b0))return'prefix';if(_0x2865db===_0x1b9940(0x30e))return _0x1b9940(0x216);return _0x1b9940(0x14b);}if([_0x1b9940(0x108),_0x1b9940(0x26f),_0x1b9940(0x202),_0x1b9940(0x276)][_0x1b9940(0x122)](_0x4692ef)){if(_0x2865db===_0x1b9940(0x247)||_0x2865db==='$gteq')return _0x1b9940(0x183);if(_0x2865db==='$lte'||_0x2865db==='$lteq')return _0x1b9940(0xbd);return _0x1b9940(0x183);}if([_0x1b9940(0x28e),_0x1b9940(0x28d),_0x1b9940(0x15c)][_0x1b9940(0x122)](_0x4692ef))return!![];return _0x2865db===_0x1b9940(0xe7)?[_0x1b9940(0x215),_0x1b9940(0x75)]:_0x1b9940(0x14b);}[a0_0x5ba6db(0x70)](){const _0xa646a2=a0_0x5ba6db,_0x2e7b63=this[_0xa646a2(0x24b)](),_0x237d10=Object[_0xa646a2(0x1c9)](_0x2e7b63)[_0xa646a2(0x7e)](([_0x2b0817])=>_0x2b0817!==_0xa646a2(0x319)&&_0x2b0817!==_0xa646a2(0x27b))['map'](([_0x121bb3,_0x255c1a])=>{const _0x4c1366=_0xa646a2,_0x51011e=_0x255c1a,_0x1826b2={};return _0x1826b2[_0x4c1366(0x176)]=_0x121bb3,_0x1826b2[_0x4c1366(0xe8)]=_0x51011e[_0x4c1366(0xe8)]||'String',_0x1826b2[_0x4c1366(0x1ce)]=_0x51011e[_0x4c1366(0x1ce)]||'-',_0x1826b2[_0x4c1366(0x1ae)]=_0x51011e['required'],_0x1826b2;}),_0x32186e={};return _0x32186e[_0xa646a2(0x1ce)]='\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregate`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20HavingCondition[];\x20//\x20分组后的过滤条件(可选,对聚合结果进行过滤)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20column:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a\x0ainterface\x20HavingCondition\x20{\x0a\x20\x20columnName:\x20string;\x20//\x20聚合字段的别名(alias)\x0a\x20\x20condition:\x20WhereCondition;\x20//\x20聚合字段的过滤条件(支持与\x20where\x20相同的操作符)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**HavingCondition\x20使用示例**\x0a\x0a```ts\x0ahaving:\x20[\x0a\x20\x20{\x20columnName:\x20\x22total_amount\x22,\x20condition:\x20{\x20$gte:\x2010000\x20}\x20},\x0a\x20\x20{\x20columnName:\x20\x22count\x22,\x20condition:\x20{\x20$lte:\x20100\x20}\x20}\x0a]\x0a```\x0a\x0a**可用聚合字段**\x0a',_0x32186e[_0xa646a2(0x165)]=_0x237d10,_0x32186e;}[a0_0x5ba6db(0x262)](){const _0x4376a2=a0_0x5ba6db,_0x289dc0=this[_0x4376a2(0x194)]()[_0x4376a2(0x10a)],_0x52caca=[{}],_0x3af721=[];_0x289dc0?.[_0x4376a2(0x2a7)](_0x593b4c=>{const _0x519f84=_0x4376a2,_0x3cd804={};_0x3cd804[_0x519f84(0x6c)]=_0x593b4c['alias'],_0x3cd804['dataIndex']=_0x593b4c['alias'],_0x3af721[_0x519f84(0x296)](_0x3cd804),_0x52caca[0x0][_0x593b4c[_0x519f84(0xd1)]]=_0x593b4c[_0x519f84(0xe8)]==='count'?0x64:Math[_0x519f84(0x24a)](Math['random']()*0x64*0x64)/0x64;});const _0x21654a={};_0x21654a[_0x4376a2(0x27b)]=0x1,_0x21654a[_0x4376a2(0xfe)]=0x64,_0x21654a[_0x4376a2(0x319)]=0x1;const _0x19711b={};_0x19711b[_0x4376a2(0x1a4)]=_0x21654a,_0x19711b['tableData']=_0x52caca,_0x19711b[_0x4376a2(0x193)]=_0x3af721;const _0x3e793a={};return _0x3e793a['success']=!![],_0x3e793a[_0x4376a2(0x10f)]='',_0x3e793a[_0x4376a2(0x1d0)]='',_0x3e793a['errorCode']=_0x4376a2(0x1ca),_0x3e793a[_0x4376a2(0x98)]=_0x19711b,_0x3e793a[_0x4376a2(0x165)]=null,_0x3e793a;}}class OperationFactory{[a0_0x5ba6db(0x2c2)](_0x5247c2,_0x5595be,_0x3e3286){const _0x5dd2e1=a0_0x5ba6db;switch(_0x5247c2){case _0x5dd2e1(0x20f):return new GetSelectOptionsOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x1d7):return new GetListOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x7e):return new FilterOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x26e):return new ExcelExportOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0xf1):return new UpdateOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x10a):return new AggregateOperation(_0x5247c2,_0x5595be,_0x3e3286);default:return new GenericOperation(_0x5247c2,_0x5595be,_0x3e3286);}}[a0_0x5ba6db(0xde)](_0x3e64f3,_0x53df6e){const _0x1cddc2=a0_0x5ba6db,_0x5899d3=new Map();return Object[_0x1cddc2(0x1c9)](_0x3e64f3)[_0x1cddc2(0x2a7)](([_0x1ebe03,_0x24eadf])=>{const _0x30f768=_0x1cddc2;_0x5899d3['set'](_0x1ebe03,this[_0x30f768(0x2c2)](_0x1ebe03,_0x24eadf,_0x53df6e));}),_0x5899d3;}}class OperationList{[a0_0x5ba6db(0x2dd)];constructor(_0x213808,_0x523d03){const _0x3a5009=a0_0x5ba6db,_0x345d9a=new OperationFactory();this[_0x3a5009(0x2dd)]=_0x345d9a[_0x3a5009(0xde)](_0x213808,_0x523d03);}[a0_0x5ba6db(0x2e1)](_0x31f24c){const _0x34cd69=a0_0x5ba6db;return this[_0x34cd69(0x2dd)][_0x34cd69(0x2e1)](_0x31f24c);}['has'](_0x2a0470){const _0xb407f8=a0_0x5ba6db;return this[_0xb407f8(0x2dd)]['has'](_0x2a0470);}[a0_0x5ba6db(0x2fd)](){const _0x580694=a0_0x5ba6db;return this[_0x580694(0x2dd)][_0x580694(0x2fd)];}[a0_0x5ba6db(0x248)](){const _0x16d25f=a0_0x5ba6db;return Array[_0x16d25f(0x1e3)](this['_operations'][_0x16d25f(0xe9)]());}['toArray'](){const _0x151da7=a0_0x5ba6db,_0x508a2f=Array[_0x151da7(0x1e3)](this[_0x151da7(0x2dd)]['values']());return this[_0x151da7(0x172)](_0x508a2f);}[a0_0x5ba6db(0xcb)](){const _0x2336ee=a0_0x5ba6db;return this[_0x2336ee(0x16f)]()[_0x2336ee(0x7e)](_0x45eca3=>_0x45eca3[_0x2336ee(0x2c6)]());}[a0_0x5ba6db(0x159)](){const _0x4f2fe3=a0_0x5ba6db;return this[_0x4f2fe3(0x16f)]()[_0x4f2fe3(0x7e)](_0x3aa11a=>!_0x3aa11a[_0x4f2fe3(0x2c6)]());}[a0_0x5ba6db(0x260)](){const _0x50a4fd=a0_0x5ba6db;return this[_0x50a4fd(0xcb)]()[_0x50a4fd(0xc9)](_0xda1026=>_0xda1026['getName']());}['getDisabledNames'](){const _0x3ddd65=a0_0x5ba6db;return this[_0x3ddd65(0x159)]()[_0x3ddd65(0xc9)](_0x445d06=>_0x445d06['getName']());}['getByType'](_0x2068f2){const _0x15adc0=a0_0x5ba6db;return this[_0x15adc0(0x16f)]()['filter'](_0x3f9bfc=>_0x3f9bfc[_0x15adc0(0x295)]()===_0x2068f2);}['filter'](_0x17864e){const _0xff6b82=a0_0x5ba6db;return this[_0xff6b82(0x16f)]()[_0xff6b82(0x7e)](_0x17864e);}[a0_0x5ba6db(0xcc)](_0x56a6eb={}){const _0x10ead9=a0_0x5ba6db;let _0x595130=this['toArray']();!_0x56a6eb[_0x10ead9(0x14a)]&&(_0x595130=_0x595130[_0x10ead9(0x7e)](_0x205df8=>_0x205df8[_0x10ead9(0x2c6)]()));if(_0x56a6eb[_0x10ead9(0x8d)]!==![]){const _0x50a0b0=_0x595130[_0x10ead9(0xc9)](_0x1c484a=>({'name':_0x1c484a[_0x10ead9(0x1e7)](),'operation':_0x1c484a})),_0x1088ea=filterApiOperations(_0x50a0b0);_0x595130=_0x1088ea['map'](_0x1ab6d7=>_0x1ab6d7['operation']),_0x595130=this[_0x10ead9(0x172)](_0x595130);}return _0x56a6eb[_0x10ead9(0x2d4)]&&(_0x595130=_0x595130[_0x10ead9(0x7e)](_0x56a6eb[_0x10ead9(0x2d4)])),_0x595130;}[a0_0x5ba6db(0x172)](_0x2223e3){const _0x47dd45=a0_0x5ba6db,_0x2367c7=_0x2223e3[_0x47dd45(0xbf)](_0x278204=>_0x278204[_0x47dd45(0x1e7)]()===_0x47dd45(0x7e)),_0x3f5e0d=_0x2223e3[_0x47dd45(0x7e)](_0x430b1b=>_0x430b1b[_0x47dd45(0x1e7)]()!=='filter');return _0x2367c7?[_0x2367c7,..._0x3f5e0d]:_0x3f5e0d;}[a0_0x5ba6db(0x30b)](){const _0x36852c=a0_0x5ba6db,_0x1fadb7=this[_0x36852c(0xcb)]();return{'total':this[_0x36852c(0x2fd)](),'enabled':_0x1fadb7[_0x36852c(0x1d6)],'disabled':this['size']()-_0x1fadb7[_0x36852c(0x1d6)],'byType':this[_0x36852c(0x97)](_0x1fadb7),'byMethod':this[_0x36852c(0x1c4)](_0x1fadb7)};}[a0_0x5ba6db(0x97)](_0x4c66a5){const _0x451dc5=a0_0x5ba6db,_0x4c6bca={};return _0x4c66a5[_0x451dc5(0x2a7)](_0x1074df=>{const _0x32bae5=_0x451dc5,_0x571e55=_0x1074df[_0x32bae5(0x295)]();_0x571e55&&(_0x4c6bca[_0x571e55]=(_0x4c6bca[_0x571e55]||0x0)+0x1);}),_0x4c6bca;}['getCountByMethod'](_0x2ebefd){const _0x2b687c=a0_0x5ba6db,_0x42ba1e={};return _0x2ebefd[_0x2b687c(0x2a7)](_0x4b5db0=>{const _0x287bfb=_0x4b5db0['getMethod']();_0x287bfb&&(_0x42ba1e[_0x287bfb]=(_0x42ba1e[_0x287bfb]||0x0)+0x1);}),_0x42ba1e;}[Symbol[a0_0x5ba6db(0x2a9)]](){const _0x342e3f=a0_0x5ba6db;return this[_0x342e3f(0x2dd)][_0x342e3f(0x141)]();}[a0_0x5ba6db(0x146)](){const _0x3c2fbc=a0_0x5ba6db,_0x192ba7=this[_0x3c2fbc(0x30b)]();return'OperationList('+_0x192ba7['enabled']+'/'+_0x192ba7[_0x3c2fbc(0x7d)]+'\x20operations)';}}class DBConfig{['raw'];['dbId'];[a0_0x5ba6db(0x2f8)];[a0_0x5ba6db(0x2e6)];[a0_0x5ba6db(0x292)];['tableName'];[a0_0x5ba6db(0x29f)];[a0_0x5ba6db(0x9a)];[a0_0x5ba6db(0xc2)];[a0_0x5ba6db(0x13f)];constructor(_0x5035ad,_0x46463c){const _0x5dd6ad=a0_0x5ba6db;this[_0x5dd6ad(0x12f)]=_0x46463c,this[_0x5dd6ad(0xb6)]=_0x5035ad[_0x5dd6ad(0xb6)],this[_0x5dd6ad(0x2f8)]=_0x5035ad[_0x5dd6ad(0x2f8)],this['dbType']=_0x5035ad[_0x5dd6ad(0x2e6)],this[_0x5dd6ad(0x292)]=_0x5035ad[_0x5dd6ad(0x292)],this[_0x5dd6ad(0x21f)]=_0x5035ad[_0x5dd6ad(0x21f)],this[_0x5dd6ad(0x29f)]=_0x5035ad[_0x5dd6ad(0x29f)],this[_0x5dd6ad(0x9a)]=_0x5035ad['pkField'],this[_0x5dd6ad(0xc2)]=_0x5035ad[_0x5dd6ad(0xc2)],this['appCode']=_0x5035ad['appCode'];}[a0_0x5ba6db(0x1f4)](){const _0xd59ffa=a0_0x5ba6db;return this[_0xd59ffa(0x12f)];}}class DrivenDataDetailBase extends DatasetItem{['_operationList'];[a0_0x5ba6db(0x129)];[a0_0x5ba6db(0xa2)];constructor(_0x14af5b){const _0x36e860=a0_0x5ba6db,_0x3f1934={..._0x14af5b};_0x3f1934['id']=_0x14af5b[_0x36e860(0x206)]||_0x14af5b['id'],_0x3f1934[_0x36e860(0x89)]=_0x14af5b[_0x36e860(0x144)]||_0x14af5b['datasetCode']||_0x14af5b[_0x36e860(0x1f0)],super(_0x3f1934);}[a0_0x5ba6db(0x12c)](){return;}[a0_0x5ba6db(0x120)](){return[];}[a0_0x5ba6db(0x19b)](){return[];}get[a0_0x5ba6db(0x1dd)](){const _0x503f2c=a0_0x5ba6db;return this[_0x503f2c(0x2b8)]();}[a0_0x5ba6db(0x11c)](){const _0x5e889e=a0_0x5ba6db;if(!this['_fieldList'])throw new Error(_0x5e889e(0x2f0));return this['_fieldList'];}[a0_0x5ba6db(0x95)](){const _0x15d736=a0_0x5ba6db;if(!this[_0x15d736(0xa2)])throw new Error(_0x15d736(0xd4));return this[_0x15d736(0xa2)];}['getFields'](){return[];}[a0_0x5ba6db(0x238)](){const _0x42b44d=a0_0x5ba6db,_0x4f91ae=this['getFieldDataSource']();return _0x4f91ae[_0x42b44d(0x145)];}[a0_0x5ba6db(0x27a)](){const _0x397a04=a0_0x5ba6db;return this[_0x397a04(0x26d)]()[_0x397a04(0x1d6)];}[a0_0x5ba6db(0x11e)](_0x23a0fb){const _0x23f038=a0_0x5ba6db,_0x49ae60=this[_0x23f038(0x18c)](_0x23a0fb);return _0x49ae60?_0x49ae60[_0x23f038(0x12f)]:undefined;}[a0_0x5ba6db(0x13c)](_0x4e1eb1){return;}[a0_0x5ba6db(0xf8)](_0xab24c3){const _0x241b8c=a0_0x5ba6db;if(!_0xab24c3||typeof _0xab24c3!==_0x241b8c(0x181))return!![]&&console[_0x241b8c(0x223)]('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0xab24c3),{};if(_0x241b8c(0x9a)in _0xab24c3){const _0x476f0c=_0xab24c3;return{'primaryKey':typeof _0x476f0c['pkField']===_0x241b8c(0x25e)?_0x476f0c['pkField']:Boolean(_0x476f0c[_0x241b8c(0x9a)]),'required':_0x476f0c[_0x241b8c(0x1ae)],'systemRetain':Boolean(_0x476f0c[_0x241b8c(0x8b)]),'autoIncrement':_0x476f0c[_0x241b8c(0x180)]??undefined};}if(!('extend'in _0xab24c3)||!_0xab24c3[_0x241b8c(0x21d)])return{};try{const _0x497eed=typeof _0xab24c3['extend']==='string'?JSON[_0x241b8c(0x80)](_0xab24c3['extend']):_0xab24c3[_0x241b8c(0x21d)];if(typeof _0x497eed!==_0x241b8c(0x181)||_0x497eed===null)return{};return _0x497eed;}catch{return{};}}[a0_0x5ba6db(0x90)](){const _0x2ef1d4=a0_0x5ba6db;if(!this[_0x2ef1d4(0x30c)]){const _0x1260e5=this['ensureFilterOperation'](this[_0x2ef1d4(0x306)]()||{});this[_0x2ef1d4(0x30c)]=new OperationList(_0x1260e5,{'fields':this['getFieldList']()[_0x2ef1d4(0x15a)](),'pkField':this[_0x2ef1d4(0x244)]['dbtableConfig']?.[_0x2ef1d4(0x9a)],'dbtableConfig':this['_raw'][_0x2ef1d4(0x126)]||null});}return this[_0x2ef1d4(0x30c)];}[a0_0x5ba6db(0xf6)](_0x3f2bd9){const _0x41dea3=a0_0x5ba6db;if(_0x3f2bd9[_0x41dea3(0x7e)]!==undefined)return _0x3f2bd9;return{..._0x3f2bd9,'filter':this[_0x41dea3(0x2e3)]()};}['generateDefaultFilterOperation'](){const _0x3a444f=a0_0x5ba6db,_0x1f48c0=this[_0x3a444f(0x306)]()?.[_0x3a444f(0x1d7)];let _0x32116e=_0x1f48c0?.['host'],_0x4d174f='';if(!_0x32116e&&this[_0x3a444f(0x306)]()){const _0xf0b4a7=Object[_0x3a444f(0x141)](this[_0x3a444f(0x306)]());for(const _0x505dba of _0xf0b4a7){if(_0x505dba&&typeof _0x505dba===_0x3a444f(0x181)&&_0x3a444f(0x230)in _0x505dba){_0x32116e=_0x505dba[_0x3a444f(0x230)];break;}}}if(_0x1f48c0?.['path']){const _0x2bed4a=_0x1f48c0[_0x3a444f(0x267)],_0x109dd4=_0x2bed4a[_0x3a444f(0x220)]('/');_0x109dd4!==-0x1&&(_0x4d174f=_0x2bed4a['substring'](0x0,_0x109dd4));}const _0x470629={};_0x470629[_0x3a444f(0x176)]='where',_0x470629['type']=_0x3a444f(0x181),_0x470629[_0x3a444f(0x1ae)]=![];const _0x11c113={};_0x11c113[_0x3a444f(0x176)]=_0x3a444f(0x198),_0x11c113['type']=_0x3a444f(0x20b),_0x11c113[_0x3a444f(0x1ae)]=![];const _0xa6c84e={};_0xa6c84e[_0x3a444f(0x176)]=_0x3a444f(0x2e9),_0xa6c84e['type']=_0x3a444f(0x20b),_0xa6c84e[_0x3a444f(0x1ae)]=![];const _0x167a8a={};_0x167a8a[_0x3a444f(0x176)]=_0x3a444f(0x319),_0x167a8a[_0x3a444f(0xe8)]=_0x3a444f(0xd3),_0x167a8a[_0x3a444f(0x1ae)]=![],_0x167a8a[_0x3a444f(0x91)]=0x1;const _0x419a61={};_0x419a61['name']='pageSize',_0x419a61['type']=_0x3a444f(0xd3),_0x419a61[_0x3a444f(0x1ae)]=![],_0x419a61['default']=0xa;const _0x1c89a6={};return _0x1c89a6[_0x3a444f(0x176)]=_0x3a444f(0x7e),_0x1c89a6[_0x3a444f(0xe8)]='query',_0x1c89a6[_0x3a444f(0x1ce)]=_0x3a444f(0x2e2),_0x1c89a6['method']=_0x3a444f(0xaf),_0x1c89a6[_0x3a444f(0x230)]=_0x32116e,_0x1c89a6[_0x3a444f(0x267)]=_0x4d174f?_0x4d174f+_0x3a444f(0x2da):'/filter',_0x1c89a6[_0x3a444f(0x165)]=_0x1f48c0?.[_0x3a444f(0x165)]||[_0x470629,_0x11c113,_0xa6c84e,_0x167a8a,_0x419a61],_0x1c89a6[_0x3a444f(0x12d)]=!![],_0x1c89a6;}[a0_0x5ba6db(0x29c)](){const _0x4b9299=a0_0x5ba6db;return this[_0x4b9299(0x90)]()[_0x4b9299(0x16f)]();}['getOperationCount'](){const _0x29c1cd=a0_0x5ba6db;return this[_0x29c1cd(0x90)]()[_0x29c1cd(0x2fd)]();}[a0_0x5ba6db(0xa1)](_0x417eba){const _0x5110a7=a0_0x5ba6db;if(typeof _0x417eba!==_0x5110a7(0x27c)){!![]&&console[_0x5110a7(0x223)]('[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:',_0x417eba);return;}return this[_0x5110a7(0x90)]()[_0x5110a7(0x2e1)](_0x417eba);}[a0_0x5ba6db(0x113)](_0x28bfba){const _0x549949=a0_0x5ba6db;if(typeof _0x28bfba!==_0x549949(0x27c))return![];return this['getOperationList']()[_0x549949(0x2c0)](_0x28bfba);}[a0_0x5ba6db(0xe4)](_0x17bbe2){const _0x33d3d5=a0_0x5ba6db;if(typeof _0x17bbe2!=='string')return![];const _0x3f97e4=this['getOperation'](_0x17bbe2);return _0x3f97e4?.[_0x33d3d5(0x2c6)]()||![];}[a0_0x5ba6db(0x314)](){const _0xefd751=a0_0x5ba6db;return this[_0xefd751(0x90)]()[_0xefd751(0x260)]();}[a0_0x5ba6db(0x1de)](){const _0x5c5205=a0_0x5ba6db;return this[_0x5c5205(0x90)]()[_0x5c5205(0x101)]();}[a0_0x5ba6db(0x286)](){const _0xb95f2d=a0_0x5ba6db;return this['getOperationList']()[_0xb95f2d(0xcb)]();}[a0_0x5ba6db(0x191)](){const _0x20b48b=a0_0x5ba6db;return this[_0x20b48b(0x90)]()['getDisabled']();}[a0_0x5ba6db(0x14c)](_0x3e75c5={}){const _0x5dcb9b=a0_0x5ba6db;return this[_0x5dcb9b(0x90)]()[_0x5dcb9b(0xcc)](_0x3e75c5);}[a0_0x5ba6db(0x30b)](){const _0xfb1305=a0_0x5ba6db;return{'fieldCount':this[_0xfb1305(0x27a)](),'systemFieldCount':this[_0xfb1305(0x2fe)]()[_0xfb1305(0x1d6)],'businessFieldCount':this[_0xfb1305(0x287)]()[_0xfb1305(0x1d6)],'requiredFieldCount':this[_0xfb1305(0x173)]()[_0xfb1305(0x1d6)],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this[_0xfb1305(0x132)](),'enabledOperationCount':this[_0xfb1305(0x314)]()['length']};}[a0_0x5ba6db(0x22f)](_0x3e45e9){const _0xf2f00b=a0_0x5ba6db;if(!_0x3e45e9||typeof _0x3e45e9!=='object')return'';if(_0xf2f00b(0x1f0)in _0x3e45e9&&typeof _0x3e45e9[_0xf2f00b(0x1f0)]===_0xf2f00b(0x27c))return _0x3e45e9[_0xf2f00b(0x1f0)];if(_0xf2f00b(0x176)in _0x3e45e9&&typeof _0x3e45e9[_0xf2f00b(0x176)]===_0xf2f00b(0x27c))return _0x3e45e9[_0xf2f00b(0x176)];return'';}[a0_0x5ba6db(0xcf)](_0x21919e){return this['getFieldList']()['has'](_0x21919e);}['isPrimaryKeyField'](_0x32755d){const _0x1c30a9=a0_0x5ba6db;if(!_0x32755d||typeof _0x32755d!==_0x1c30a9(0x181))return![];const _0x53f3c5=this[_0x1c30a9(0x22f)](_0x32755d),_0x3ce5a4=this[_0x1c30a9(0x18c)](_0x53f3c5);return _0x3ce5a4?_0x3ce5a4[_0x1c30a9(0x18a)]():![];}[a0_0x5ba6db(0x192)](_0xe8a46e){const _0x39e8e2=a0_0x5ba6db;if(!_0xe8a46e||typeof _0xe8a46e!==_0x39e8e2(0x181))return![];const _0xde23ff=this[_0x39e8e2(0x22f)](_0xe8a46e),_0x4919e9=this[_0x39e8e2(0x18c)](_0xde23ff);return _0x4919e9?_0x4919e9['isSystem']():![];}[a0_0x5ba6db(0x2a8)](_0x56b115){const _0x4f0ecd=a0_0x5ba6db;if(!_0x56b115||typeof _0x56b115!==_0x4f0ecd(0x181))return![];const _0x1dd651=this[_0x4f0ecd(0x22f)](_0x56b115),_0x27ea53=this[_0x4f0ecd(0x18c)](_0x1dd651);return _0x27ea53?_0x27ea53[_0x4f0ecd(0x2bf)]():![];}[a0_0x5ba6db(0x30d)](_0x149584){const _0x440281=a0_0x5ba6db;if(!_0x149584||typeof _0x149584!=='object')return![];const _0x5cd5f6=this[_0x440281(0x22f)](_0x149584),_0x32738e=this[_0x440281(0x18c)](_0x5cd5f6);return _0x32738e?_0x32738e[_0x440281(0xbb)]():![];}[a0_0x5ba6db(0x209)](_0x3b1af0){const _0x2d1955=a0_0x5ba6db;if(!_0x3b1af0||typeof _0x3b1af0!==_0x2d1955(0x181))return![];const _0x11bdda=this[_0x2d1955(0x22f)](_0x3b1af0),_0x4786f0=this[_0x2d1955(0x18c)](_0x11bdda);return _0x4786f0?_0x4786f0['isMultipleSelect']():![];}[a0_0x5ba6db(0x243)](_0x1622a6){const _0x34acea=a0_0x5ba6db;if(!_0x1622a6||typeof _0x1622a6!==_0x34acea(0x181))return[];const _0x36cc8c=this['getFieldCode'](_0x1622a6),_0x45f6ed=this[_0x34acea(0x18c)](_0x36cc8c);if(!_0x45f6ed||!_0x45f6ed[_0x34acea(0xbb)]())return[];return _0x45f6ed['getEnumOptions']()||[];}[a0_0x5ba6db(0x265)](_0x5a3ee0){const _0x476fbd=a0_0x5ba6db;if(!_0x5a3ee0||typeof _0x5a3ee0!=='object')return;const _0x3b2a75=this[_0x476fbd(0x22f)](_0x5a3ee0),_0x5d4d39=this[_0x476fbd(0x18c)](_0x3b2a75);if(!_0x5d4d39||!_0x5d4d39[_0x476fbd(0xbb)]())return;return _0x5d4d39[_0x476fbd(0x2f3)]();}[a0_0x5ba6db(0x2ba)](_0x36020d){const _0x4864d7=a0_0x5ba6db;if(!_0x36020d||typeof _0x36020d!==_0x4864d7(0x181))return;const _0x56b201=this[_0x4864d7(0x22f)](_0x36020d),_0x4162de=this['getFieldInstance'](_0x56b201);if(!_0x4162de||!_0x4162de[_0x4864d7(0xbb)]())return;return _0x4162de[_0x4864d7(0xb8)]();}[a0_0x5ba6db(0x300)](){const _0x83fd8d=a0_0x5ba6db;return this[_0x83fd8d(0x11c)]()[_0x83fd8d(0x2f1)]()[_0x83fd8d(0xc9)](_0x418386=>_0x418386[_0x83fd8d(0x12f)]);}[a0_0x5ba6db(0x2fe)](){const _0x3296a0=a0_0x5ba6db;return this[_0x3296a0(0x11c)]()['getSystem']()[_0x3296a0(0xc9)](_0x4d522c=>_0x4d522c[_0x3296a0(0x12f)]);}[a0_0x5ba6db(0x287)](){const _0x48da84=a0_0x5ba6db;return this[_0x48da84(0x11c)]()['getBusiness']()[_0x48da84(0xc9)](_0x369444=>_0x369444[_0x48da84(0x12f)]);}['getRequiredFields'](){const _0x5d8569=a0_0x5ba6db;return this['getFieldList']()[_0x5d8569(0x23d)]()[_0x5d8569(0xc9)](_0x5afffa=>_0x5afffa[_0x5d8569(0x12f)]);}[a0_0x5ba6db(0xae)](){const _0x34f710=a0_0x5ba6db,_0x369263=this[_0x34f710(0x11c)]()[_0x34f710(0xa4)](),_0x5c2196={};for(const [_0x15a5a7,_0x42c4b0]of Object[_0x34f710(0x1c9)](_0x369263)){_0x5c2196[_0x15a5a7]=_0x42c4b0[_0x34f710(0xc9)](_0x4b7244=>_0x4b7244[_0x34f710(0x12f)]);}return _0x5c2196;}[a0_0x5ba6db(0xed)](){const _0x529a65=a0_0x5ba6db;return this[_0x529a65(0x11c)]()[_0x529a65(0x17f)]()[_0x529a65(0xc9)](_0x38eb08=>_0x38eb08[_0x529a65(0x12f)]);}[a0_0x5ba6db(0x9c)](){const _0x550b0c=a0_0x5ba6db,_0x140cf0={};return this[_0x550b0c(0xed)]()[_0x550b0c(0x2a7)](_0x4a234f=>{const _0x11fe8b=_0x550b0c,_0x26544f=this[_0x11fe8b(0x2ba)](_0x4a234f);if(_0x26544f){const _0x5aa3a9=this[_0x11fe8b(0x22f)](_0x4a234f);_0x140cf0[_0x5aa3a9]=_0x26544f;}}),_0x140cf0;}[a0_0x5ba6db(0x28a)](_0x4f8325,_0x47d1b7){const _0x385342=a0_0x5ba6db,_0x1cfbf4=this[_0x385342(0x2ba)](_0x4f8325);if(!_0x1cfbf4)return!![];if(_0x1cfbf4[_0x385342(0x250)]&&!_0x1cfbf4[_0x385342(0x1d4)])return!![];const _0x49813a=this[_0x385342(0x22f)](_0x4f8325),_0xd6b59d=this['getFieldInstance'](_0x49813a),_0x55d241=_0xd6b59d?_0xd6b59d[_0x385342(0x2cc)]():![];if(_0x55d241&&Array[_0x385342(0x2f6)](_0x47d1b7))return _0x47d1b7[_0x385342(0x1c0)](_0x373a73=>_0x1cfbf4[_0x385342(0x141)][_0x385342(0x122)](_0x373a73));return _0x1cfbf4[_0x385342(0x141)][_0x385342(0x122)](_0x47d1b7);}[a0_0x5ba6db(0xdf)](){const _0x503ecf=a0_0x5ba6db;return new DatasetItem({'id':this['id'],'name':this[_0x503ecf(0x176)],'datasetCode':this[_0x503ecf(0x89)],'dbtableConfig':this[_0x503ecf(0x18f)]()});}[a0_0x5ba6db(0x146)](){const _0x1317b1=a0_0x5ba6db;return _0x1317b1(0x142)+this[_0x1317b1(0x176)]+',\x20'+this[_0x1317b1(0x89)]+',\x20'+this[_0x1317b1(0x27a)]()+_0x1317b1(0x20a)+this[_0x1317b1(0x132)]()+'\x20operations,\x20'+this[_0x1317b1(0x272)]()+')';}[a0_0x5ba6db(0x100)](){const _0x16ebbe=a0_0x5ba6db;return this[_0x16ebbe(0x2a5)](_0x16ebbe(0x7e));}[a0_0x5ba6db(0xc0)](_0x1ef452){const _0x2fb318=a0_0x5ba6db;return this[_0x2fb318(0x2e8)](_0x2fb318(0x7e),_0x1ef452);}[a0_0x5ba6db(0x2ed)](){const _0x1c3bd3=a0_0x5ba6db;return this[_0x1c3bd3(0x277)](_0x1c3bd3(0x7e));}[a0_0x5ba6db(0x2a5)](_0x9c5136){const _0x22b4bb=a0_0x5ba6db,_0x5da62a=this[_0x22b4bb(0xa1)](_0x9c5136);return _0x5da62a?_0x5da62a[_0x22b4bb(0x1ab)]():[];}[a0_0x5ba6db(0x2e8)](_0x514c3b,_0x539768){const _0x24332a=a0_0x5ba6db,_0x2dc21d=this['getOperation'](_0x514c3b);return _0x2dc21d?_0x2dc21d[_0x24332a(0x1c8)](_0x539768):[];}[a0_0x5ba6db(0x277)](_0x29b50e){const _0x25f09a=a0_0x5ba6db,_0x2a3134={};return this[_0x25f09a(0x11c)]()[_0x25f09a(0x2a7)](_0x348428=>{const _0x3c52f0=_0x25f09a,_0x2c5bf7=this[_0x3c52f0(0x2e8)](_0x29b50e,_0x348428[_0x3c52f0(0x1f0)]);_0x2c5bf7[_0x3c52f0(0x1d6)]>0x0&&(_0x2a3134[_0x348428['code']]=_0x2c5bf7);}),_0x2a3134;}[a0_0x5ba6db(0x309)](_0x2a26b6,_0x158038,_0x3b22f8){const _0x596852=a0_0x5ba6db,_0x5ad8bb=this[_0x596852(0x2e8)](_0x2a26b6,_0x158038);return _0x5ad8bb[_0x596852(0x122)](_0x3b22f8);}}class FieldBase{get['dbType'](){return;}get['dbTypeLen'](){return;}get['displayName'](){return;}get[a0_0x5ba6db(0x28b)](){return;}['isBusiness'](){const _0x95e53b=a0_0x5ba6db;return!this[_0x95e53b(0xe3)]();}[a0_0x5ba6db(0x162)](){const _0x41a874=a0_0x5ba6db;return this[_0x41a874(0xda)];}[a0_0x5ba6db(0xbb)](){const _0x5e287f=a0_0x5ba6db,_0x2b6b3a=[_0x5e287f(0x227),_0x5e287f(0x68),'CHECKBOX'];return _0x2b6b3a['includes'](this[_0x5e287f(0xe8)]);}[a0_0x5ba6db(0x2cc)](){const _0x265a31=a0_0x5ba6db;return this[_0x265a31(0xe8)]===_0x265a31(0x168);}['getEnumValues'](){const _0x32bfa7=a0_0x5ba6db,_0x74e71b=this[_0x32bfa7(0xb8)]();return _0x74e71b?.[_0x32bfa7(0x141)]||[];}[a0_0x5ba6db(0xb8)](){const _0x516c9e=a0_0x5ba6db;if(!this['isEnum']())return;const _0x53e5c2=this[_0x516c9e(0x225)](),_0x3cec95=this[_0x516c9e(0x2f3)](),_0x32d741=[],_0x35474e={},_0x1a7054=_0x554dcc=>{const _0x49cc5b=_0x516c9e;_0x554dcc[_0x49cc5b(0x2a7)](_0x5017df=>{const _0x3f9354=_0x49cc5b;_0x32d741[_0x3f9354(0x296)](_0x5017df['value']),_0x35474e[String(_0x5017df[_0x3f9354(0x14b)])]=_0x5017df[_0x3f9354(0x2c4)],_0x5017df[_0x3f9354(0x189)]&&_0x5017df[_0x3f9354(0x189)][_0x3f9354(0x1d6)]>0x0&&_0x1a7054(_0x5017df[_0x3f9354(0x189)]);});};return _0x53e5c2&&_0x53e5c2[_0x516c9e(0x1d6)]>0x0&&_0x1a7054(_0x53e5c2),{'code':this['code'],'name':this[_0x516c9e(0x176)],'type':this[_0x516c9e(0xe8)],'multiple':this[_0x516c9e(0x2cc)](),'options':_0x53e5c2,'selectItemsSource':_0x3cec95,'values':_0x32d741,'valueLabels':_0x35474e};}get['enumValues'](){const _0xfce2ab=a0_0x5ba6db;return this[_0xfce2ab(0x2c8)]();}[a0_0x5ba6db(0x146)](){const _0x32dec4=a0_0x5ba6db;return'Field('+this[_0x32dec4(0x176)]+',\x20'+this['code']+',\x20'+this[_0x32dec4(0xe8)]+',\x20'+this[_0x32dec4(0x272)]()+')';}}class FieldV1 extends FieldBase{[a0_0x5ba6db(0x244)];['_extend']=null;constructor(_0x35acfb){const _0x37e429=a0_0x5ba6db;super();if(!_0x35acfb||typeof _0x35acfb!=='object')throw new Error('[Field]\x20Invalid\x20field\x20definition');this[_0x37e429(0x244)]=_0x35acfb;}[a0_0x5ba6db(0x67)](){const _0x269d0e=a0_0x5ba6db;return this[_0x269d0e(0x244)];}[a0_0x5ba6db(0x272)](){return'v1';}get['raw'](){const _0x4cebe6=a0_0x5ba6db;return this[_0x4cebe6(0x244)];}get['name'](){const _0x105c97=a0_0x5ba6db;return this[_0x105c97(0x244)][_0x105c97(0x176)]||'';}get[a0_0x5ba6db(0x1f0)](){const _0x46a7c0=a0_0x5ba6db;return this[_0x46a7c0(0x244)]['code']||'';}get[a0_0x5ba6db(0xe8)](){const _0x53020b=a0_0x5ba6db;return this['_raw'][_0x53020b(0xe8)]||'';}get[a0_0x5ba6db(0x1ce)](){const _0x5c6343=a0_0x5ba6db;return this[_0x5c6343(0x244)]['description']||'';}get['deleted'](){const _0x37971d=a0_0x5ba6db;return Boolean(this[_0x37971d(0x244)][_0x37971d(0xda)]);}get['dbType'](){const _0x4743ac=a0_0x5ba6db;return this[_0x4743ac(0x244)]['dbType'];}get['dbTypeLen'](){const _0x5968ca=a0_0x5ba6db;return this[_0x5968ca(0x244)][_0x5968ca(0x2ae)];}get[a0_0x5ba6db(0x1be)](){const _0x28e36b=a0_0x5ba6db;return this['_raw'][_0x28e36b(0xd1)];}get['doType'](){return;}get['extend'](){const _0x5c9033=a0_0x5ba6db;if(this[_0x5c9033(0x15e)]!==null&&typeof this['_extend']==='object')return this[_0x5c9033(0x15e)];const _0x94d010=this[_0x5c9033(0x244)]['extend'];if(!_0x94d010||typeof _0x94d010!=='string')return this[_0x5c9033(0x15e)]={},this['_extend'];if(_0x94d010==='null'||_0x94d010[_0x5c9033(0x17a)]()===_0x5c9033(0x12a))return this[_0x5c9033(0x15e)]={},this[_0x5c9033(0x15e)];try{const _0x5a33f9=JSON[_0x5c9033(0x80)](_0x94d010);return this[_0x5c9033(0x15e)]=_0x5a33f9!==null&&typeof _0x5a33f9===_0x5c9033(0x181)&&!Array[_0x5c9033(0x2f6)](_0x5a33f9)?_0x5a33f9:{},this[_0x5c9033(0x15e)];}catch(_0x40544b){return!![]&&console[_0x5c9033(0x223)](_0x5c9033(0x88)+this[_0x5c9033(0x1f0)]+'\x20的\x20extend\x20配置失败:',_0x40544b),this[_0x5c9033(0x15e)]={},this[_0x5c9033(0x15e)];}}[a0_0x5ba6db(0x2bf)](){return Boolean(this['extend']['required']);}[a0_0x5ba6db(0x18a)](){const _0x384144=a0_0x5ba6db;return Boolean(this[_0x384144(0x21d)][_0x384144(0x1ad)]||this[_0x384144(0x21d)][_0x384144(0x9a)]);}['isSystem'](){const _0x3b9006=a0_0x5ba6db;return Boolean(this[_0x3b9006(0x21d)][_0x3b9006(0x8b)]);}[a0_0x5ba6db(0x2e5)](){const _0x527e2f=a0_0x5ba6db;return Boolean(this[_0x527e2f(0x21d)][_0x527e2f(0x180)]);}[a0_0x5ba6db(0x118)](){const _0x3cc627=a0_0x5ba6db;return Boolean(this[_0x3cc627(0x21d)][_0x3cc627(0x84)]);}['isUpdateTime'](){const _0x1b1285=a0_0x5ba6db;return Boolean(this[_0x1b1285(0x21d)][_0x1b1285(0x315)]);}[a0_0x5ba6db(0x2a1)](){const _0x2de2eb=a0_0x5ba6db;return this[_0x2de2eb(0x176)];}[a0_0x5ba6db(0x299)](){const _0x23858a=a0_0x5ba6db;return this[_0x23858a(0x1f0)];}[a0_0x5ba6db(0xbb)](){const _0x5c6aa7=a0_0x5ba6db,_0x3b3e66=['RADIO','SELECT',_0x5c6aa7(0x168)];if(_0x3b3e66['includes'](this[_0x5c6aa7(0xe8)]))return!![];const _0x2544cb=this[_0x5c6aa7(0x21d)];return Boolean(_0x2544cb[_0x5c6aa7(0x1d4)]&&Array[_0x5c6aa7(0x2f6)](_0x2544cb[_0x5c6aa7(0x1d4)])&&_0x2544cb[_0x5c6aa7(0x1d4)][_0x5c6aa7(0x1d6)]>0x0||_0x2544cb[_0x5c6aa7(0x250)]);}[a0_0x5ba6db(0x2cc)](){const _0x11f81d=a0_0x5ba6db;if(this[_0x11f81d(0xe8)]==='CHECKBOX')return!![];return Boolean(this[_0x11f81d(0x21d)][_0x11f81d(0x1ef)]);}['getEnumOptions'](){const _0x17009b=a0_0x5ba6db,_0x8f90f2=this[_0x17009b(0x21d)];if(_0x8f90f2[_0x17009b(0x1d4)]&&Array[_0x17009b(0x2f6)](_0x8f90f2['options']))return _0x8f90f2[_0x17009b(0x1d4)];return;}[a0_0x5ba6db(0x2f3)](){const _0x4dbe8a=a0_0x5ba6db,_0x3a97b8=this[_0x4dbe8a(0x21d)];if(_0x3a97b8[_0x4dbe8a(0x250)]&&typeof _0x3a97b8['selectItemsSource']===_0x4dbe8a(0x181))return _0x3a97b8[_0x4dbe8a(0x250)];return;}[a0_0x5ba6db(0x1da)](){const _0xecb96e=a0_0x5ba6db;return this[_0xecb96e(0xe8)][_0xecb96e(0x201)]();}[a0_0x5ba6db(0x13e)](){return this['extend']['defaultValue'];}[a0_0x5ba6db(0x1cb)](){const _0x3652fa=a0_0x5ba6db;return this[_0x3652fa(0x21d)][_0x3652fa(0x285)];}[a0_0x5ba6db(0x308)](){const _0x59b8f8=a0_0x5ba6db;return{'name':this[_0x59b8f8(0x176)],'code':this[_0x59b8f8(0x1f0)],'type':this['type'],'dbType':this[_0x59b8f8(0x2e6)],'dbTypeLen':this['dbTypeLen'],'description':this[_0x59b8f8(0x1ce)],'required':this['isRequired'](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x59b8f8(0xe3)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x59b8f8(0x118)](),'updateTime':this[_0x59b8f8(0x23f)](),'isEnum':this[_0x59b8f8(0xbb)](),'enumMeta':this[_0x59b8f8(0xbb)]()?this[_0x59b8f8(0xb8)]():undefined};}['toString'](){const _0x390550=a0_0x5ba6db;return _0x390550(0x1a8)+this[_0x390550(0x176)]+',\x20'+this[_0x390550(0x1f0)]+',\x20'+this['type']+')';}}class FieldListBase{['_fields'];constructor(_0x178896,_0x51571a){const _0x5bd910=a0_0x5ba6db;if(!Array[_0x5bd910(0x2f6)](_0x178896))throw new Error(_0x5bd910(0x153));const _0x1b2ac5=_0x51571a?.[_0x5bd910(0x2c3)]??![],_0x3378a4=_0x1b2ac5?_0x178896:_0x178896[_0x5bd910(0x7e)](_0x382b43=>{const _0xdd7f0a=_0x382b43;return!_0xdd7f0a['deleted'];});this[_0x5bd910(0x77)]=this[_0x5bd910(0x1c7)](_0x3378a4);}get[a0_0x5ba6db(0x1d6)](){const _0x143b40=a0_0x5ba6db;return this['_fields'][_0x143b40(0x1d6)];}[a0_0x5ba6db(0x15a)](){const _0x1b77a5=a0_0x5ba6db;return[...this[_0x1b77a5(0x77)]];}['at'](_0x1904eb){return this['_fields']['at'](_0x1904eb);}['find'](_0x52bffc){const _0x14df7d=a0_0x5ba6db;return this[_0x14df7d(0x77)][_0x14df7d(0xbf)](_0x1d5230=>_0x1d5230[_0x14df7d(0x1f0)]===_0x52bffc);}[a0_0x5ba6db(0x133)](_0x50fd9b){const _0x2272ad=a0_0x5ba6db;return this[_0x2272ad(0x77)][_0x2272ad(0xbf)](_0x27e8a3=>_0x27e8a3[_0x2272ad(0x176)]===_0x50fd9b);}['has'](_0x36b6c3){const _0x104e3f=a0_0x5ba6db;return this[_0x104e3f(0x77)][_0x104e3f(0x229)](_0x384c10=>_0x384c10[_0x104e3f(0x1f0)]===_0x36b6c3);}[a0_0x5ba6db(0x2a7)](_0x21b268){const _0x10e8a6=a0_0x5ba6db;this['_fields'][_0x10e8a6(0x2a7)](_0x21b268);}['map'](_0x2c8a05){const _0x2363b5=a0_0x5ba6db;return this[_0x2363b5(0x77)][_0x2363b5(0xc9)](_0x2c8a05);}[a0_0x5ba6db(0x7e)](_0x4466ff){const _0x2e3164=a0_0x5ba6db;return this[_0x2e3164(0x77)][_0x2e3164(0x7e)](_0x4466ff);}[a0_0x5ba6db(0x1c0)](_0x407cc5){const _0x159592=a0_0x5ba6db;return this[_0x159592(0x77)][_0x159592(0x1c0)](_0x407cc5);}[a0_0x5ba6db(0x229)](_0x3bf849){const _0x433d6b=a0_0x5ba6db;return this['_fields'][_0x433d6b(0x229)](_0x3bf849);}[a0_0x5ba6db(0x23d)](){const _0x5dcf35=a0_0x5ba6db;return this[_0x5dcf35(0x77)][_0x5dcf35(0x7e)](_0x156402=>_0x156402[_0x5dcf35(0x2bf)]());}[a0_0x5ba6db(0x2f1)](){const _0x4193b1=a0_0x5ba6db;return this['_fields'][_0x4193b1(0x7e)](_0xf4ac9e=>_0xf4ac9e[_0x4193b1(0x18a)]());}[a0_0x5ba6db(0x23e)](){const _0x1e896d=a0_0x5ba6db;return this[_0x1e896d(0x77)]['filter'](_0x1284eb=>_0x1284eb[_0x1e896d(0xe3)]());}[a0_0x5ba6db(0x25a)](){const _0xddfc0c=a0_0x5ba6db;return this[_0xddfc0c(0x77)][_0xddfc0c(0x7e)](_0xba1d58=>_0xba1d58['isBusiness']());}['getEnum'](){const _0x2fd9ae=a0_0x5ba6db;return this[_0x2fd9ae(0x77)][_0x2fd9ae(0x7e)](_0x390819=>_0x390819['isEnum']());}[a0_0x5ba6db(0x11d)](){const _0x76e2b2=a0_0x5ba6db;return this[_0x76e2b2(0x77)][_0x76e2b2(0x7e)](_0x5d1e27=>_0x5d1e27[_0x76e2b2(0x2e5)]());}[a0_0x5ba6db(0x1dc)](){const _0x42fcf2=a0_0x5ba6db;return this[_0x42fcf2(0x77)][_0x42fcf2(0x7e)](_0x7a34b9=>_0x7a34b9['isCreateTime']());}['getUpdateTime'](){const _0xadaadf=a0_0x5ba6db;return this[_0xadaadf(0x77)][_0xadaadf(0x7e)](_0x1f85e0=>_0x1f85e0[_0xadaadf(0x23f)]());}[a0_0x5ba6db(0xec)](){const _0x31d1d1=a0_0x5ba6db;return this[_0x31d1d1(0x77)][_0x31d1d1(0x7e)](_0x4b9cac=>_0x4b9cac[_0x31d1d1(0x162)]());}[a0_0x5ba6db(0x14e)](){const _0x142924=a0_0x5ba6db;return this['_fields'][_0x142924(0x7e)](_0x41cee7=>!_0x41cee7[_0x142924(0x162)]());}['groupByType'](){const _0x374894={};return this['_fields']['forEach'](_0x2e7ae7=>{const _0x106e6d=a0_0x5697,_0x1c0456=_0x2e7ae7['type'];!_0x374894[_0x1c0456]&&(_0x374894[_0x1c0456]=[]),_0x374894[_0x1c0456][_0x106e6d(0x296)](_0x2e7ae7);}),_0x374894;}[a0_0x5ba6db(0x1cc)](){const _0x31a167=a0_0x5ba6db,_0x4d7b73={};return this[_0x31a167(0x77)][_0x31a167(0x2a7)](_0x3c193d=>{const _0x407b69=_0x31a167;if(_0x3c193d[_0x407b69(0xbb)]()){const _0x412617=_0x3c193d[_0x407b69(0xb8)]();_0x412617&&(_0x4d7b73[_0x3c193d[_0x407b69(0x1f0)]]=_0x412617);}}),_0x4d7b73;}[a0_0x5ba6db(0x30b)](){const _0x33fe90=a0_0x5ba6db;return{'total':this['length'],'required':this['getRequired']()[_0x33fe90(0x1d6)],'primaryKey':this[_0x33fe90(0x2f1)]()[_0x33fe90(0x1d6)],'system':this[_0x33fe90(0x23e)]()[_0x33fe90(0x1d6)],'business':this[_0x33fe90(0x25a)]()[_0x33fe90(0x1d6)],'enum':this[_0x33fe90(0x17f)]()[_0x33fe90(0x1d6)],'autoIncrement':this['getAutoIncrement']()[_0x33fe90(0x1d6)]};}[a0_0x5ba6db(0x1c1)](){const _0xf7b6bc=a0_0x5ba6db;return this[_0xf7b6bc(0x77)][_0xf7b6bc(0xc9)](_0x40950f=>_0x40950f[_0xf7b6bc(0x1f0)]);}[a0_0x5ba6db(0x248)](){const _0x4647cb=a0_0x5ba6db;return this[_0x4647cb(0x77)][_0x4647cb(0xc9)](_0x12ba2c=>_0x12ba2c[_0x4647cb(0x2a1)]());}['getFieldNames'](){const _0x16d4c3=a0_0x5ba6db;return this[_0x16d4c3(0x77)]['map'](_0x29d948=>_0x29d948[_0x16d4c3(0x299)]());}[a0_0x5ba6db(0x308)](){const _0x7bbbaf=a0_0x5ba6db;return this[_0x7bbbaf(0x77)][_0x7bbbaf(0xc9)](_0x4732c7=>_0x4732c7[_0x7bbbaf(0x308)]());}['toString'](){const _0x446a39=a0_0x5ba6db;return _0x446a39(0x2c1)+this[_0x446a39(0x1d6)]+'\x20fields)';}}class FieldListV1 extends FieldListBase{constructor(_0x2e9a37,_0x32fbe4){super(_0x2e9a37,_0x32fbe4);}['createFields'](_0x2d9181){return _0x2d9181['map'](_0x58bdf3=>new FieldV1(_0x58bdf3));}[a0_0x5ba6db(0x15a)](){const _0x4232f6=a0_0x5ba6db;return[...this[_0x4232f6(0x77)]];}['at'](_0xd2be48){return this['_fields']['at'](_0xd2be48);}[a0_0x5ba6db(0xbf)](_0x4f05a){const _0x23f41c=a0_0x5ba6db;return this[_0x23f41c(0x77)]['find'](_0x2e14eb=>_0x2e14eb['code']===_0x4f05a);}[a0_0x5ba6db(0x133)](_0x16745a){const _0x573077=a0_0x5ba6db;return this[_0x573077(0x77)]['find'](_0x5531af=>_0x5531af[_0x573077(0x176)]===_0x16745a);}[a0_0x5ba6db(0x7e)](_0x47a824){const _0x1863bb=a0_0x5ba6db;return this[_0x1863bb(0x77)]['filter'](_0x47a824);}[a0_0x5ba6db(0xc9)](_0x26cfc5){return this['_fields']['map'](_0x26cfc5);}[a0_0x5ba6db(0x23d)](){const _0x47ec95=a0_0x5ba6db;return this[_0x47ec95(0x77)]['filter'](_0x1c0b1f=>_0x1c0b1f['isRequired']());}[a0_0x5ba6db(0x2f1)](){const _0x261571=a0_0x5ba6db;return this['_fields'][_0x261571(0x7e)](_0x552dcc=>_0x552dcc[_0x261571(0x18a)]());}['getSystem'](){const _0x5504e9=a0_0x5ba6db;return this['_fields']['filter'](_0x28e38e=>_0x28e38e[_0x5504e9(0xe3)]());}['getBusiness'](){const _0xb2bab2=a0_0x5ba6db;return this[_0xb2bab2(0x77)][_0xb2bab2(0x7e)](_0x16d261=>_0x16d261['isBusiness']());}['getEnum'](){const _0xb1c853=a0_0x5ba6db;return this['_fields'][_0xb1c853(0x7e)](_0x4ce7b8=>_0x4ce7b8[_0xb1c853(0xbb)]());}[a0_0x5ba6db(0xa4)](){const _0x66daa3=a0_0x5ba6db,_0x1ab7ea={};return this[_0x66daa3(0x77)]['forEach'](_0x490bd0=>{const _0x1bc551=_0x490bd0['type'];!_0x1ab7ea[_0x1bc551]&&(_0x1ab7ea[_0x1bc551]=[]),_0x1ab7ea[_0x1bc551]['push'](_0x490bd0);}),_0x1ab7ea;}[a0_0x5ba6db(0x12f)](){const _0x8cfa6f=a0_0x5ba6db;return this['_fields'][_0x8cfa6f(0xc9)](_0x209fb8=>_0x209fb8['raw']);}static[a0_0x5ba6db(0x1e3)](_0x1e1e48){const _0x2431da=a0_0x5ba6db,_0x1d19b9=_0x1e1e48[_0x2431da(0xc9)](_0x3fa161=>_0x3fa161[_0x2431da(0x12f)]);return new FieldListV1(_0x1d19b9);}static[a0_0x5ba6db(0x82)](_0x232635){const _0xd88ccb=a0_0x5ba6db,_0x5893d1={};return _0x5893d1[_0xd88ccb(0x2c3)]=!![],new FieldListV1(_0x232635,_0x5893d1);}}class FieldV2 extends FieldBase{[a0_0x5ba6db(0x244)];constructor(_0x50b8ba){const _0x237905=a0_0x5ba6db;super();if(!_0x50b8ba||typeof _0x50b8ba!==_0x237905(0x181))throw new Error(_0x237905(0x1b9));this[_0x237905(0x244)]=_0x50b8ba;}['getVersion'](){return'v2';}get['raw'](){return this['_raw'];}get[a0_0x5ba6db(0x176)](){const _0x34a726=a0_0x5ba6db;return this[_0x34a726(0x244)][_0x34a726(0x176)]||'';}get[a0_0x5ba6db(0x1f0)](){const _0x32d77a=a0_0x5ba6db;return this[_0x32d77a(0x244)][_0x32d77a(0x176)]||'';}get[a0_0x5ba6db(0x1be)](){const _0x288d1a=a0_0x5ba6db;return this['_raw'][_0x288d1a(0x1be)]||'';}get['type'](){const _0x3c4dd1=a0_0x5ba6db;return this['mapDbTypeToType'](this[_0x3c4dd1(0x244)][_0x3c4dd1(0x2e6)]);}get['description'](){const _0x51b663=a0_0x5ba6db;return this[_0x51b663(0x244)][_0x51b663(0x1ce)]||'';}get[a0_0x5ba6db(0xda)](){const _0xc35095=a0_0x5ba6db;return Boolean(this[_0xc35095(0x244)][_0xc35095(0xda)]);}[a0_0x5ba6db(0x2bf)](){const _0x25084a=a0_0x5ba6db;return Boolean(this[_0x25084a(0x244)]['required']);}[a0_0x5ba6db(0x18a)](){const _0x47aa2e=a0_0x5ba6db;return Boolean(this[_0x47aa2e(0x244)]['pkField']);}[a0_0x5ba6db(0xe3)](){const _0x2924ee=a0_0x5ba6db;return Boolean(this[_0x2924ee(0x244)][_0x2924ee(0x8b)]);}['isAutoIncrement'](){const _0x2fcfa7=a0_0x5ba6db;return Boolean(this['_raw'][_0x2fcfa7(0x180)]);}['isCreateTime'](){const _0x59c61a=a0_0x5ba6db;return this[_0x59c61a(0x244)][_0x59c61a(0x8b)]==='createTime';}[a0_0x5ba6db(0x23f)](){const _0x1ab7c5=a0_0x5ba6db;return this[_0x1ab7c5(0x244)][_0x1ab7c5(0x8b)]===_0x1ab7c5(0x315);}['getDisplayName'](){const _0x3d263d=a0_0x5ba6db;return this['_raw'][_0x3d263d(0x1be)]||'';}['getFieldName'](){const _0x35ac31=a0_0x5ba6db;return this[_0x35ac31(0x244)][_0x35ac31(0x176)]||'';}[a0_0x5ba6db(0xbb)](){const _0x5ddca6=a0_0x5ba6db;return Boolean(this[_0x5ddca6(0x244)][_0x5ddca6(0x1d4)]&&Array[_0x5ddca6(0x2f6)](this[_0x5ddca6(0x244)]['options'])&&this[_0x5ddca6(0x244)]['options'][_0x5ddca6(0x1d6)]>0x0);}[a0_0x5ba6db(0x2cc)](){const _0x491d27=a0_0x5ba6db,_0x573969=this[_0x491d27(0x244)][_0x491d27(0x21d)];if(!_0x573969)return![];try{const _0x474801=JSON[_0x491d27(0x80)](_0x573969);if(_0x474801&&typeof _0x474801===_0x491d27(0x181)&&'multiple'in _0x474801)return Boolean(_0x474801[_0x491d27(0x1ef)]);}catch{}return![];}[a0_0x5ba6db(0x225)](){const _0x3f4734=a0_0x5ba6db;if(this[_0x3f4734(0x244)][_0x3f4734(0x1d4)]&&Array[_0x3f4734(0x2f6)](this[_0x3f4734(0x244)][_0x3f4734(0x1d4)]))return this[_0x3f4734(0x244)]['options'];return;}[a0_0x5ba6db(0x2f3)](){const _0x256e0a=a0_0x5ba6db,_0x16b2b1=this[_0x256e0a(0x244)][_0x256e0a(0x21d)];if(!_0x16b2b1)return;try{const _0x1e190b=JSON[_0x256e0a(0x80)](_0x16b2b1);if(_0x1e190b&&typeof _0x1e190b===_0x256e0a(0x181)&&_0x256e0a(0x250)in _0x1e190b)return _0x1e190b[_0x256e0a(0x250)];}catch{}return;}['getDbTypeForOperation'](){const _0x2e8a98=a0_0x5ba6db;return this[_0x2e8a98(0x244)][_0x2e8a98(0x2e6)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x2e8a98(0x17a)]()['toUpperCase']();}['getDefaultValue'](){return;}[a0_0x5ba6db(0x1cb)](){return;}get['dbType'](){const _0x2b14f0=a0_0x5ba6db;return this[_0x2b14f0(0x244)][_0x2b14f0(0x2e6)];}get[a0_0x5ba6db(0x2ae)](){const _0x43af7d=a0_0x5ba6db;return this[_0x43af7d(0x244)][_0x43af7d(0x2ae)];}[a0_0x5ba6db(0x30f)](){const _0x1509c3=a0_0x5ba6db;return this[_0x1509c3(0x244)]['doType']??null;}get['doType'](){const _0x17b624=a0_0x5ba6db;return this['_raw'][_0x17b624(0x28b)]??null;}[a0_0x5ba6db(0x308)](){const _0x5153a5=a0_0x5ba6db;return{'name':this[_0x5153a5(0x176)],'code':this[_0x5153a5(0x1f0)],'type':this[_0x5153a5(0xe8)],'dbType':this[_0x5153a5(0x2e6)],'dbTypeLen':this['dbTypeLen'],'doType':this[_0x5153a5(0x30f)](),'displayName':this[_0x5153a5(0x1be)],'description':this['description'],'required':this[_0x5153a5(0x2bf)](),'primaryKey':this[_0x5153a5(0x18a)](),'system':this[_0x5153a5(0xe3)](),'autoIncrement':this[_0x5153a5(0x2e5)](),'createTime':this[_0x5153a5(0x118)](),'updateTime':this[_0x5153a5(0x23f)](),'isEnum':this[_0x5153a5(0xbb)](),'enumMeta':this[_0x5153a5(0xbb)]()?this[_0x5153a5(0xb8)]():undefined};}[a0_0x5ba6db(0x146)](){const _0x49d975=a0_0x5ba6db;return _0x49d975(0x106)+this[_0x49d975(0x176)]+',\x20'+this[_0x49d975(0x1f0)]+',\x20'+this[_0x49d975(0x2e6)]+_0x49d975(0x2ca)+this[_0x49d975(0x30f)]()+')';}[a0_0x5ba6db(0x301)](_0x49a518){const _0x19f927=a0_0x5ba6db,_0x425bfa={};_0x425bfa[_0x19f927(0x2cb)]=_0x19f927(0x1ac),_0x425bfa[_0x19f927(0x6b)]=_0x19f927(0x1ac),_0x425bfa[_0x19f927(0x1ac)]=_0x19f927(0x1db),_0x425bfa[_0x19f927(0x9e)]=_0x19f927(0x1db),_0x425bfa[_0x19f927(0x1a7)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x1cd)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x279)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x2c7)]=_0x19f927(0x135),_0x425bfa['DECIMAL']=_0x19f927(0x135),_0x425bfa[_0x19f927(0x1b7)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x14d)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x26f)]=_0x19f927(0x108),_0x425bfa[_0x19f927(0x202)]=_0x19f927(0x108),_0x425bfa[_0x19f927(0x108)]=_0x19f927(0x108),_0x425bfa[_0x19f927(0x276)]=_0x19f927(0x276),_0x425bfa[_0x19f927(0x28e)]='SWITCH',_0x425bfa[_0x19f927(0x15c)]=_0x19f927(0x2ea),_0x425bfa[_0x19f927(0xd7)]=_0x19f927(0x2df),_0x425bfa[_0x19f927(0x8a)]=_0x19f927(0x2df);const _0x452724=_0x425bfa,_0xcd656f=_0x49a518[_0x19f927(0x201)]();return _0x452724[_0xcd656f]||_0x19f927(0x1ac);}}class FieldListV2 extends FieldListBase{constructor(_0x2439bd,_0x552a1b){super(_0x2439bd,_0x552a1b);}[a0_0x5ba6db(0x1c7)](_0x3a395){const _0xee9501=a0_0x5ba6db;return _0x3a395[_0xee9501(0xc9)](_0x5bf1e4=>new FieldV2(_0x5bf1e4));}['all'](){const _0x213251=a0_0x5ba6db;return[...this[_0x213251(0x77)]];}['at'](_0x5c175d){return this['_fields']['at'](_0x5c175d);}[a0_0x5ba6db(0xbf)](_0x5e52bf){const _0x4f167e=a0_0x5ba6db;return this[_0x4f167e(0x77)][_0x4f167e(0xbf)](_0x52fb79=>_0x52fb79[_0x4f167e(0x1f0)]===_0x5e52bf);}[a0_0x5ba6db(0x133)](_0x1fa8a2){const _0x5df971=a0_0x5ba6db;return this[_0x5df971(0x77)][_0x5df971(0xbf)](_0x3c6761=>_0x3c6761[_0x5df971(0x2a1)]()===_0x1fa8a2);}[a0_0x5ba6db(0x7e)](_0x29c08e){return this['_fields']['filter'](_0x29c08e);}['map'](_0x5808f7){const _0x3e1e0d=a0_0x5ba6db;return this[_0x3e1e0d(0x77)]['map'](_0x5808f7);}[a0_0x5ba6db(0x23d)](){const _0x27a82c=a0_0x5ba6db;return this[_0x27a82c(0x77)][_0x27a82c(0x7e)](_0x4af403=>_0x4af403[_0x27a82c(0x2bf)]());}['getPrimaryKeys'](){const _0x3c329c=a0_0x5ba6db;return this[_0x3c329c(0x77)][_0x3c329c(0x7e)](_0x160d9e=>_0x160d9e['isPrimaryKey']());}[a0_0x5ba6db(0x23e)](){const _0x17151c=a0_0x5ba6db;return this[_0x17151c(0x77)][_0x17151c(0x7e)](_0x17be07=>_0x17be07[_0x17151c(0xe3)]());}[a0_0x5ba6db(0x25a)](){return this['_fields']['filter'](_0x17138b=>_0x17138b['isBusiness']());}[a0_0x5ba6db(0x17f)](){const _0x3762ae=a0_0x5ba6db;return this[_0x3762ae(0x77)]['filter'](_0x3d6daf=>_0x3d6daf['isEnum']());}[a0_0x5ba6db(0xa4)](){const _0x38f206=a0_0x5ba6db,_0x2ab91={};return this[_0x38f206(0x77)]['forEach'](_0x59d9d9=>{const _0x1a27ad=_0x38f206,_0x1eeda1=_0x59d9d9[_0x1a27ad(0xe8)];!_0x2ab91[_0x1eeda1]&&(_0x2ab91[_0x1eeda1]=[]),_0x2ab91[_0x1eeda1]['push'](_0x59d9d9);}),_0x2ab91;}[a0_0x5ba6db(0x12f)](){const _0x25ade4=a0_0x5ba6db;return this[_0x25ade4(0x77)][_0x25ade4(0xc9)](_0xb23f8=>_0xb23f8[_0x25ade4(0x12f)]);}static[a0_0x5ba6db(0x1e3)](_0x4deec6){const _0x2e681c=a0_0x5ba6db,_0x55833a=_0x4deec6[_0x2e681c(0xc9)](_0x12a098=>_0x12a098[_0x2e681c(0x12f)]);return new FieldListV2(_0x55833a);}static[a0_0x5ba6db(0x82)](_0x3dea35){const _0x5b0139=a0_0x5ba6db,_0x465c91={};return _0x465c91[_0x5b0139(0x2c3)]=!![],new FieldListV2(_0x3dea35,_0x465c91);}[a0_0x5ba6db(0x146)](){const _0x14084c=a0_0x5ba6db;return'FieldListV2('+this[_0x14084c(0x1d6)]+_0x14084c(0x2ad);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{['_fieldListV1'];[a0_0x5ba6db(0x318)];constructor(_0x131edd){super(_0x131edd);}[a0_0x5ba6db(0x11c)](){const _0x2038cd=a0_0x5ba6db;if(!this[_0x2038cd(0xdd)]){const _0x35e0cb={};_0x35e0cb['includeDeleted']=![],this[_0x2038cd(0xdd)]=new FieldListV1(this[_0x2038cd(0x244)][_0x2038cd(0x1f5)]||[],_0x35e0cb);}return this['_fieldListV1'];}[a0_0x5ba6db(0x95)](){const _0x326b88=a0_0x5ba6db;if(!this['_fieldListV1WithDeleted']){const _0x28df26={};_0x28df26[_0x326b88(0x2c3)]=!![],this[_0x326b88(0x318)]=new FieldListV1(this[_0x326b88(0x244)][_0x326b88(0x1f5)]||[],_0x28df26);}return this[_0x326b88(0x318)];}[a0_0x5ba6db(0x26d)](){const _0x5a68a3=a0_0x5ba6db;return(this[_0x5a68a3(0x244)][_0x5a68a3(0x1f5)]||[])[_0x5a68a3(0x7e)](_0x43b3d7=>!_0x43b3d7[_0x5a68a3(0xda)]);}[a0_0x5ba6db(0x27a)](){const _0x3a48e2=a0_0x5ba6db;return this['getFieldList']()[_0x3a48e2(0x1d6)];}['getFieldRaw'](_0x156791){const _0x10c39b=a0_0x5ba6db;return this[_0x10c39b(0x244)][_0x10c39b(0x1f5)]?.[_0x10c39b(0xbf)](_0x3cf0a1=>_0x3cf0a1[_0x10c39b(0x1f0)]===_0x156791);}[a0_0x5ba6db(0x272)](){return'v1';}[a0_0x5ba6db(0x83)](){const _0x16a643=a0_0x5ba6db,_0x5a4760={};return _0x5a4760[_0x16a643(0x145)]=this[_0x16a643(0x244)][_0x16a643(0x1f5)]||[],_0x5a4760[_0x16a643(0x2c3)]=![],_0x5a4760;}[a0_0x5ba6db(0x306)](){const _0x58d78f=a0_0x5ba6db;return this['_raw'][_0x58d78f(0x2ef)];}[a0_0x5ba6db(0x2b8)](){const _0x31b9dd=a0_0x5ba6db;return this[_0x31b9dd(0x244)][_0x31b9dd(0x1dd)];}[a0_0x5ba6db(0xab)](){const _0x44b88d=a0_0x5ba6db,_0xbaea8a=this[_0x44b88d(0x18f)](),_0x26ef82=_0xbaea8a?.[_0x44b88d(0x2be)],_0x27b7f2={};return _0x27b7f2[_0x44b88d(0xb6)]=_0xbaea8a?.[_0x44b88d(0xb6)],_0x27b7f2[_0x44b88d(0x2f8)]=_0xbaea8a?.[_0x44b88d(0x2f8)]??_0x26ef82?.[_0x44b88d(0x2f8)],_0x27b7f2['dbType']=_0x26ef82?.[_0x44b88d(0x2e6)],_0x27b7f2[_0x44b88d(0x292)]=_0x26ef82?.[_0x44b88d(0x292)],_0x27b7f2['tableName']=_0xbaea8a?.[_0x44b88d(0x21f)],_0x27b7f2[_0x44b88d(0x29f)]=_0xbaea8a?.[_0x44b88d(0x29f)],_0x27b7f2[_0x44b88d(0x9a)]=_0xbaea8a?.[_0x44b88d(0x9a)],_0x27b7f2[_0x44b88d(0xc2)]=_0x26ef82?.[_0x44b88d(0xc2)],_0x27b7f2[_0x44b88d(0x13f)]=_0x26ef82?.[_0x44b88d(0x13f)],new DBConfig(_0x27b7f2,_0xbaea8a);}get[a0_0x5ba6db(0x1f2)](){const _0x3a7458=a0_0x5ba6db;return this[_0x3a7458(0x244)][_0x3a7458(0x1f2)];}[a0_0x5ba6db(0x18c)](_0x3f44ee){const _0x16c268=a0_0x5ba6db;if(typeof _0x3f44ee!==_0x16c268(0x27c)){!![]&&console[_0x16c268(0x223)](_0x16c268(0x140),_0x3f44ee);return;}return this[_0x16c268(0x11c)]()[_0x16c268(0xbf)](_0x3f44ee);}['isMultipleSelectField'](_0x579c82){const _0xd8f45b=a0_0x5ba6db;if(!_0x579c82||typeof _0x579c82!==_0xd8f45b(0x181))return![];const _0x24d1c1=this['getFieldInstance'](_0x579c82[_0xd8f45b(0x1f0)]);return _0x24d1c1?_0x24d1c1[_0xd8f45b(0x2cc)]():![];}[a0_0x5ba6db(0x107)](){const _0xb3b97c=a0_0x5ba6db,_0x1a5305=this['getOperation'](_0xb3b97c(0x7e));return _0x1a5305;}[a0_0x5ba6db(0x116)](){const _0x1c5c5b=a0_0x5ba6db;return this['hasOperation'](_0x1c5c5b(0x7e));}['toListItem'](){const _0x669302=a0_0x5ba6db;return new DatasetItem({'id':this['id'],'name':this[_0x669302(0x176)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x669302(0x18f)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x5ba6db(0xb5)];[a0_0x5ba6db(0x303)];[a0_0x5ba6db(0x72)];constructor(_0x3bcd25){const _0x4b3a3b=a0_0x5ba6db;super(_0x3bcd25),this['_datasetMeta']=_0x3bcd25['dataset'],this[_0x4b3a3b(0x72)]=_0x3bcd25[_0x4b3a3b(0x2ec)]||[];}[a0_0x5ba6db(0x272)](){return'v2';}[a0_0x5ba6db(0x83)](){const _0x1f9087=a0_0x5ba6db,_0x5b59e9={};return _0x5b59e9['fields']=this['_raw'][_0x1f9087(0x145)],_0x5b59e9[_0x1f9087(0x2c3)]=![],_0x5b59e9;}[a0_0x5ba6db(0x306)](){const _0x55e710=a0_0x5ba6db;return this[_0x55e710(0x244)][_0x55e710(0x2ef)];}[a0_0x5ba6db(0x2b8)](){const _0x319cc8=a0_0x5ba6db;return this[_0x319cc8(0x244)]['source'];}[a0_0x5ba6db(0xab)](){const _0x422373=a0_0x5ba6db,_0x303860=this['_raw'][_0x422373(0x126)],_0x4d7809=_0x303860?.[_0x422373(0x2be)],_0x4d3ca9={};return _0x4d3ca9['dbId']=_0x303860?.[_0x422373(0xb6)],_0x4d3ca9[_0x422373(0x2f8)]=_0x303860?.[_0x422373(0x2f8)]??_0x4d7809?.[_0x422373(0x2f8)],_0x4d3ca9[_0x422373(0x2e6)]=_0x4d7809?.[_0x422373(0x2e6)],_0x4d3ca9['dbVersion']=_0x4d7809?.['dbVersion'],_0x4d3ca9[_0x422373(0x21f)]=_0x303860?.['tableName'],_0x4d3ca9['datasetKey']=_0x303860?.['datasetKey'],_0x4d3ca9[_0x422373(0x9a)]=_0x303860?.['pkField'],_0x4d3ca9[_0x422373(0xc2)]=_0x303860?.[_0x422373(0xc2)]??_0x4d7809?.[_0x422373(0xc2)],_0x4d3ca9[_0x422373(0x13f)]=_0x303860?.['appCode']??_0x4d7809?.[_0x422373(0x13f)],new DBConfig(_0x4d3ca9,_0x303860);}[a0_0x5ba6db(0x11c)](){const _0x18a334=a0_0x5ba6db;return this[_0x18a334(0x2f2)]();}[a0_0x5ba6db(0x26d)](){const _0x22dac7=a0_0x5ba6db;return this[_0x22dac7(0x244)]['fields'];}[a0_0x5ba6db(0x27a)](){const _0x331f53=a0_0x5ba6db;return this[_0x331f53(0x244)][_0x331f53(0x145)][_0x331f53(0x1d6)];}['getFieldRaw'](_0x2d9047){const _0x71da94=a0_0x5ba6db;return this[_0x71da94(0x244)][_0x71da94(0x145)][_0x71da94(0xbf)](_0x257f82=>_0x257f82[_0x71da94(0x176)]===_0x2d9047);}[a0_0x5ba6db(0x12c)](){const _0x1c6127=a0_0x5ba6db;return this[_0x1c6127(0x303)];}[a0_0x5ba6db(0x120)](){const _0x21d076=a0_0x5ba6db;return this[_0x21d076(0x72)];}['getIndexes'](){const _0x58c1d0=a0_0x5ba6db;return this[_0x58c1d0(0x303)][_0x58c1d0(0x10d)]||[];}[a0_0x5ba6db(0x1e4)](_0x91a35){const _0x25e152=a0_0x5ba6db;return this[_0x25e152(0x72)][_0x25e152(0x7e)](_0x2f051c=>_0x2f051c[_0x25e152(0x217)]===_0x91a35);}['hasRelation'](_0x9f3859){const _0xd59dc7=a0_0x5ba6db;return this[_0xd59dc7(0x72)][_0xd59dc7(0x229)](_0x35c7d6=>_0x35c7d6[_0xd59dc7(0x217)]===_0x9f3859);}['getRelatedDataset'](_0x5a5498){const _0x1b0681=a0_0x5ba6db,_0x232081=this[_0x1b0681(0x72)][_0x1b0681(0xbf)](_0x95fad8=>_0x95fad8['fromField']===_0x5a5498);if(!_0x232081)return;const _0x3a4de4={};return _0x3a4de4[_0x1b0681(0x158)]=_0x232081['toDatasetId'],_0x3a4de4[_0x1b0681(0x89)]=_0x232081[_0x1b0681(0x6d)],_0x3a4de4[_0x1b0681(0xeb)]=_0x232081[_0x1b0681(0x6f)],_0x3a4de4['tableName']=_0x232081[_0x1b0681(0x102)],_0x3a4de4[_0x1b0681(0x1bf)]=_0x232081[_0x1b0681(0x1bf)],_0x3a4de4;}[a0_0x5ba6db(0x1ed)](){const _0x535cd7=a0_0x5ba6db;return this[_0x535cd7(0x72)][_0x535cd7(0xc9)](_0x28972f=>_0x28972f[_0x535cd7(0x217)]);}[a0_0x5ba6db(0x2f2)](){const _0xabdf59=a0_0x5ba6db;if(!this['_fieldListV2']){const _0x48d4a0=this[_0xabdf59(0x244)][_0xabdf59(0x145)]||[];this[_0xabdf59(0xb5)]=new FieldListV2(_0x48d4a0);}return this['_fieldListV2'];}['getFieldInstance'](_0x3e1264){const _0x45b3ca=a0_0x5ba6db;if(typeof _0x3e1264!==_0x45b3ca(0x27c)){!![]&&console['warn'](_0x45b3ca(0x266),_0x3e1264);return;}return this[_0x45b3ca(0x2f2)]()[_0x45b3ca(0xbf)](_0x3e1264);}[a0_0x5ba6db(0x209)](_0x27fed7){const _0x2c3b64=a0_0x5ba6db;if(!_0x27fed7||typeof _0x27fed7!==_0x2c3b64(0x181))return![];const _0x41bf89=_0x27fed7[_0x2c3b64(0x176)]||_0x27fed7['code'],_0x242cce=this[_0x2c3b64(0x18c)](_0x41bf89);return _0x242cce?_0x242cce[_0x2c3b64(0x2cc)]():![];}['getOperationList'](){const _0x30ce01=a0_0x5ba6db;if(!this['_operationList']){const _0x82db5=this[_0x30ce01(0xf6)](this[_0x30ce01(0x306)]()||{});this['_operationList']=new OperationList(_0x82db5,{'fields':this['getFieldListV2']()['all'](),'pkField':this[_0x30ce01(0x244)][_0x30ce01(0x126)]?.[_0x30ce01(0x9a)],'dbtableConfig':this[_0x30ce01(0x244)][_0x30ce01(0x126)]||null});}return this[_0x30ce01(0x30c)];}['getFilterOperation'](){const _0x38d678=a0_0x5ba6db,_0x3bef7c=this[_0x38d678(0xa1)](_0x38d678(0x7e));return _0x3bef7c;}['hasFilterOperation'](){const _0x541087=a0_0x5ba6db;return this['hasOperation'](_0x541087(0x7e));}[a0_0x5ba6db(0xdf)](){const _0x2132d9=a0_0x5ba6db;return new DatasetItem({'id':this['id'],'name':this[_0x2132d9(0x176)],'datasetCode':this[_0x2132d9(0x89)],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x5ba6db(0x146)](){const _0x128c14=a0_0x5ba6db,_0xbb821e=this['_relations'][_0x128c14(0x1d6)],_0x2741fb=this[_0x128c14(0x19b)]()[_0x128c14(0x1d6)];return _0x128c14(0xa9)+this[_0x128c14(0x176)]+',\x20'+this['datasetCode']+',\x20'+this[_0x128c14(0x27a)]()+_0x128c14(0x20a)+this[_0x128c14(0x132)]()+'\x20operations,\x20'+_0xbb821e+_0x128c14(0xd2)+_0x2741fb+_0x128c14(0xf7);}[a0_0x5ba6db(0x29b)](){const _0x269338=a0_0x5ba6db;return this[_0x269338(0x244)][_0x269338(0x145)];}[a0_0x5ba6db(0x2f5)](_0x13def4){const _0x5e04d5=a0_0x5ba6db;return this[_0x5e04d5(0x244)]['fields'][_0x5e04d5(0xbf)](_0x1c5fb5=>_0x1c5fb5[_0x5e04d5(0x176)]===_0x13def4);}}function detectDatasetVersion(_0x259d58){const _0x1ce973=a0_0x5ba6db;if(_0x259d58[_0x1ce973(0x283)]==='v2'&&_0x1ce973(0x145)in _0x259d58&&Array[_0x1ce973(0x2f6)](_0x259d58[_0x1ce973(0x145)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x5ba6db(0x1d3)];constructor(_0x2e2415){const _0x50e83e=a0_0x5ba6db;super(_0x2e2415);const _0x3922a3=detectDatasetVersion(_0x2e2415);this[_0x50e83e(0x1d3)]=_0x3922a3==='v2'?new DrivenDataDetailV2(_0x2e2415):new DrivenDataDetailV1(_0x2e2415);}get['id'](){const _0x1826e1=a0_0x5ba6db;return this[_0x1826e1(0x1d3)]['id'];}get[a0_0x5ba6db(0x176)](){const _0x212975=a0_0x5ba6db;return this[_0x212975(0x1d3)][_0x212975(0x176)];}get[a0_0x5ba6db(0x89)](){const _0x5304ce=a0_0x5ba6db;return this[_0x5304ce(0x1d3)][_0x5304ce(0x89)];}get['version'](){const _0x527c8b=a0_0x5ba6db;return this['_instance'][_0x527c8b(0x272)]()==='v2'?_0x527c8b(0xd8):_0x527c8b(0x2fa);}[a0_0x5ba6db(0x272)](){const _0x2f7a6c=a0_0x5ba6db;return this['_instance'][_0x2f7a6c(0x272)]();}[a0_0x5ba6db(0x214)](){const _0x53732e=a0_0x5ba6db;return this[_0x53732e(0x1d3)]['id'];}[a0_0x5ba6db(0x284)](){const _0x547809=a0_0x5ba6db;return this['_instance'][_0x547809(0x89)];}[a0_0x5ba6db(0x1e7)](){const _0x268341=a0_0x5ba6db;return this[_0x268341(0x1d3)][_0x268341(0x176)];}[a0_0x5ba6db(0x83)](){const _0x24f716=a0_0x5ba6db;return this[_0x24f716(0x1d3)][_0x24f716(0x83)]();}[a0_0x5ba6db(0x306)](){const _0x23269f=a0_0x5ba6db;return this[_0x23269f(0x1d3)][_0x23269f(0x306)]();}[a0_0x5ba6db(0x2b8)](){const _0x2e97a1=a0_0x5ba6db;return this[_0x2e97a1(0x1d3)]['getSource']();}[a0_0x5ba6db(0x95)](){const _0x4b00bf=a0_0x5ba6db;return this[_0x4b00bf(0x1d3)][_0x4b00bf(0x95)]();}[a0_0x5ba6db(0x11c)](){const _0x1cd8e1=a0_0x5ba6db;return this[_0x1cd8e1(0x1d3)][_0x1cd8e1(0x11c)]();}[a0_0x5ba6db(0x238)](){const _0x1518a3=a0_0x5ba6db;return this[_0x1518a3(0x1d3)][_0x1518a3(0x238)]();}[a0_0x5ba6db(0x26d)](){const _0x1f6b07=a0_0x5ba6db;return this[_0x1f6b07(0x1d3)][_0x1f6b07(0x26d)]();}['getFieldCount'](){return this['_instance']['getFieldCount']();}['getPkField'](){const _0x50010a=a0_0x5ba6db,_0x37ab3b=this[_0x50010a(0x1d3)][_0x50010a(0x18f)]();return _0x37ab3b?.[_0x50010a(0x9a)];}[a0_0x5ba6db(0xab)](){const _0x1f30d7=a0_0x5ba6db;return this[_0x1f30d7(0x1d3)][_0x1f30d7(0xab)]();}['getFieldInstance'](_0x111c95){const _0x5ddc5a=a0_0x5ba6db;return this['_instance'][_0x5ddc5a(0x18c)](_0x111c95);}[a0_0x5ba6db(0x300)](){const _0x527249=a0_0x5ba6db;return this['_instance'][_0x527249(0x300)]();}[a0_0x5ba6db(0x2fe)](){const _0x398db1=a0_0x5ba6db;return this[_0x398db1(0x1d3)][_0x398db1(0x2fe)]();}[a0_0x5ba6db(0x287)](){const _0x125d1d=a0_0x5ba6db;return this[_0x125d1d(0x1d3)][_0x125d1d(0x287)]();}[a0_0x5ba6db(0x173)](){const _0x423ab3=a0_0x5ba6db;return this[_0x423ab3(0x1d3)][_0x423ab3(0x173)]();}[a0_0x5ba6db(0xae)](){const _0x524a2=a0_0x5ba6db;return this[_0x524a2(0x1d3)]['getFieldsByType']();}[a0_0x5ba6db(0xed)](){const _0x45b31=a0_0x5ba6db;return this[_0x45b31(0x1d3)]['getEnumFields']();}[a0_0x5ba6db(0x9c)](){const _0x37aeb9=a0_0x5ba6db;return this[_0x37aeb9(0x1d3)][_0x37aeb9(0x9c)]();}['getOperations'](){const _0xcae6e4=a0_0x5ba6db;return this[_0xcae6e4(0x1d3)][_0xcae6e4(0x29c)]();}[a0_0x5ba6db(0x132)](){const _0x12fc08=a0_0x5ba6db;return this[_0x12fc08(0x1d3)][_0x12fc08(0x132)]();}['getEnabledOperations'](){const _0x4e5042=a0_0x5ba6db;return this[_0x4e5042(0x1d3)]['getEnabledOperations']();}[a0_0x5ba6db(0x1de)](){const _0x3797df=a0_0x5ba6db;return this['_instance'][_0x3797df(0x1de)]();}[a0_0x5ba6db(0x286)](){const _0x5f67a4=a0_0x5ba6db;return this[_0x5f67a4(0x1d3)][_0x5f67a4(0x286)]();}[a0_0x5ba6db(0x191)](){const _0x3cf96a=a0_0x5ba6db;return this[_0x3cf96a(0x1d3)][_0x3cf96a(0x191)]();}[a0_0x5ba6db(0x30b)](){const _0x32c7d2=a0_0x5ba6db;return this[_0x32c7d2(0x1d3)]['getStats']();}[a0_0x5ba6db(0x12c)](){return this['_instance']['getDatasetMeta']();}[a0_0x5ba6db(0x120)](){const _0x14a3fa=a0_0x5ba6db;return this[_0x14a3fa(0x1d3)][_0x14a3fa(0x120)]();}[a0_0x5ba6db(0x19b)](){const _0x180c64=a0_0x5ba6db;return this['_instance'][_0x180c64(0x19b)]();}[a0_0x5ba6db(0x100)](){const _0x30da97=a0_0x5ba6db;return this[_0x30da97(0x1d3)]['getFilterOperators']();}[a0_0x5ba6db(0x2ed)](){const _0x133233=a0_0x5ba6db;return this['_instance'][_0x133233(0x2ed)]();}['toJSON'](){const _0x1a9bd7=a0_0x5ba6db;return this[_0x1a9bd7(0x1d3)][_0x1a9bd7(0x308)]();}[a0_0x5ba6db(0x107)](){const _0x27ce7b=a0_0x5ba6db;return this[_0x27ce7b(0x1d3)]['getFilterOperation']();}[a0_0x5ba6db(0x116)](){const _0x24cb25=a0_0x5ba6db;return this[_0x24cb25(0x1d3)][_0x24cb25(0x116)]();}[a0_0x5ba6db(0xdf)](){const _0x11e838=a0_0x5ba6db;return this[_0x11e838(0x1d3)][_0x11e838(0xdf)]();}['toString'](){const _0x2f4ebb=a0_0x5ba6db;return this['_instance'][_0x2f4ebb(0x146)]();}[a0_0x5ba6db(0x29a)](){const _0x1e45ad=a0_0x5ba6db;return this[_0x1e45ad(0x1d3)];}}function a0_0x5697(_0x357d0f,_0x457048){_0x357d0f=_0x357d0f-0x65;const _0x106525=a0_0x1065();let _0x5697be=_0x106525[_0x357d0f];return _0x5697be;}function detectDatasetVersion2(_0x38b41a){const _0x505b8f=a0_0x5ba6db;if(_0x38b41a['doVersion']==='v2'&&'fields'in _0x38b41a&&Array[_0x505b8f(0x2f6)](_0x38b41a[_0x505b8f(0x145)]))return'v2';return'v1';}function createDrivenDataDetail(_0x5e4415,_0x561661={}){const {forceVersion:_0xa0b823}=_0x561661;if(_0xa0b823==='v2')return new DrivenDataDetailV2(_0x5e4415);if(_0xa0b823==='v1')return new DrivenDataDetailV1(_0x5e4415);const _0xc2042d=detectDatasetVersion2(_0x5e4415);if(_0xc2042d==='v2')return new DrivenDataDetailV2(_0x5e4415);return new DrivenDataDetailV1(_0x5e4415);}function isV2Data(_0x2b6827){return detectDatasetVersion2(_0x2b6827)==='v2';}function isV1Data(_0x14757a){return detectDatasetVersion2(_0x14757a)==='v1';}function isV2Instance(_0x268e88){const _0x134170=a0_0x5ba6db;return _0x268e88[_0x134170(0x272)]()==='v2';}function isV1Instance(_0x47db3b){return _0x47db3b['getVersion']()==='v1';}class DatasetGroup{[a0_0x5ba6db(0x182)];constructor(_0x57bada){const _0xad8d3a=a0_0x5ba6db;this[_0xad8d3a(0x182)]=Array[_0xad8d3a(0x2f6)](_0x57bada)?[..._0x57bada]:[_0x57bada],this[_0xad8d3a(0x182)][_0xad8d3a(0x297)]((_0x257764,_0x5c0158)=>{const _0x42e7b4=Number(_0x257764['id'])||0x0,_0x526d2d=Number(_0x5c0158['id'])||0x0;return _0x526d2d-_0x42e7b4;});}[a0_0x5ba6db(0x2d9)](){const _0x25983e=a0_0x5ba6db;return this[_0x25983e(0x182)]['length']>0x1;}[a0_0x5ba6db(0x18e)](){const _0x527ed3=a0_0x5ba6db;return this[_0x527ed3(0x182)][0x0];}['getOldest'](){const _0x458894=a0_0x5ba6db;return this[_0x458894(0x182)][this[_0x458894(0x182)]['length']-0x1];}['getAll'](){const _0x5de13a=a0_0x5ba6db;return[...this[_0x5de13a(0x182)]];}[a0_0x5ba6db(0x218)](){const _0x5cca63=a0_0x5ba6db;return this[_0x5cca63(0x182)]['length'];}['getAt'](_0x2bb8cc){const _0x2f3ee9=a0_0x5ba6db;return this[_0x2f3ee9(0x182)][_0x2bb8cc];}[a0_0x5ba6db(0x7b)](_0x417bfd){const _0x49a6a9=a0_0x5ba6db;return this[_0x49a6a9(0x182)][_0x49a6a9(0xbf)](_0x9484c5=>_0x9484c5['id']===_0x417bfd);}[a0_0x5ba6db(0x2bb)](_0x4fd75b){const _0x5637d7=a0_0x5ba6db;return this[_0x5637d7(0x182)][_0x5637d7(0xbf)](_0x423d66=>_0x423d66[_0x5637d7(0x89)]===_0x4fd75b);}['getIds'](){const _0x4cd117=a0_0x5ba6db;return this[_0x4cd117(0x182)][_0x4cd117(0xc9)](_0x5e82e3=>_0x5e82e3['id'])['filter'](_0x3d0073=>_0x3d0073!==undefined);}[a0_0x5ba6db(0x1c1)](){const _0x57195b=a0_0x5ba6db;return this['items'][_0x57195b(0xc9)](_0x47f4db=>_0x47f4db[_0x57195b(0x89)]);}[a0_0x5ba6db(0x146)](){const _0x3fd845=a0_0x5ba6db;if(this[_0x3fd845(0x2d9)]())return _0x3fd845(0x2d8)+this[_0x3fd845(0x182)][_0x3fd845(0x1d6)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x3fd845(0x18e)]()[_0x3fd845(0x176)]+')';return _0x3fd845(0x2d8)+this[_0x3fd845(0x182)][0x0][_0x3fd845(0x176)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x374ab7){const _0x3f5f6e=a0_0x5ba6db;this[_0x3f5f6e(0xd0)]=new Map();for(const _0x35d4ba of _0x374ab7){const _0x3296a2=getTableKey(_0x35d4ba);if(!this[_0x3f5f6e(0xd0)][_0x3f5f6e(0x2c0)](_0x3296a2))this['groups']['set'](_0x3296a2,new DatasetGroup(_0x35d4ba));else{const _0x14c76f=this[_0x3f5f6e(0xd0)][_0x3f5f6e(0x2e1)](_0x3296a2),_0x3a3ef0=[..._0x14c76f[_0x3f5f6e(0x1f8)](),_0x35d4ba];this[_0x3f5f6e(0xd0)][_0x3f5f6e(0x311)](_0x3296a2,new DatasetGroup(_0x3a3ef0));}}}[a0_0x5ba6db(0x2e1)](_0xbe2993){const _0x5b1ffc=a0_0x5ba6db;return this[_0x5b1ffc(0xd0)][_0x5b1ffc(0x2e1)](_0xbe2993);}[a0_0x5ba6db(0x2c0)](_0x520421){const _0xb5360e=a0_0x5ba6db;return this[_0xb5360e(0xd0)][_0xb5360e(0x2c0)](_0x520421);}get[a0_0x5ba6db(0x2fd)](){const _0x379008=a0_0x5ba6db;return this[_0x379008(0xd0)][_0x379008(0x2fd)];}['keys'](){const _0xbbfcf9=a0_0x5ba6db;return this['groups'][_0xbbfcf9(0xe9)]();}[a0_0x5ba6db(0x141)](){const _0x145e82=a0_0x5ba6db;return this['groups'][_0x145e82(0x141)]();}['entries'](){const _0x3510ac=a0_0x5ba6db;return this[_0x3510ac(0xd0)][_0x3510ac(0x1c9)]();}[Symbol[a0_0x5ba6db(0x2a9)]](){const _0x2f8358=a0_0x5ba6db;return this[_0x2f8358(0xd0)][_0x2f8358(0x1c9)]();}[a0_0x5ba6db(0x2a7)](_0x2b591f){this['groups']['forEach']((_0x562550,_0x50338f)=>_0x2b591f(_0x562550,_0x50338f,this));}[a0_0x5ba6db(0x8f)](){const _0x351998=a0_0x5ba6db,_0x16cf13=new Map();for(const [_0x1957dc,_0x1f387a]of this['groups']){_0x1f387a['hasConflict']()&&_0x16cf13[_0x351998(0x311)](_0x1957dc,_0x1f387a);}return _0x16cf13;}[a0_0x5ba6db(0x110)](){const _0x2ce093=a0_0x5ba6db;for(const _0x2222b2 of this[_0x2ce093(0xd0)][_0x2ce093(0x141)]()){if(_0x2222b2[_0x2ce093(0x2d9)]())return!![];}return![];}['getConflictStats'](){const _0x312893=a0_0x5ba6db;let _0xfde709=0x0,_0x34f0e7=0x0;for(const _0x20d9f8 of this[_0x312893(0xd0)][_0x312893(0x141)]()){_0x20d9f8[_0x312893(0x2d9)]()&&(_0xfde709++,_0x34f0e7+=_0x20d9f8['getCount']());}const _0x46d4c1={};return _0x46d4c1[_0x312893(0x273)]=_0xfde709,_0x46d4c1['conflictItemCount']=_0x34f0e7,_0x46d4c1[_0x312893(0x185)]=this[_0x312893(0xd0)][_0x312893(0x2fd)],_0x46d4c1;}['getAllDatasets'](){const _0x284840=a0_0x5ba6db,_0xae9f45=[];for(const _0x210bc3 of this[_0x284840(0xd0)][_0x284840(0x141)]()){_0xae9f45[_0x284840(0x296)](..._0x210bc3['getAll']());}return _0xae9f45;}[a0_0x5ba6db(0x305)](){const _0x537a37=a0_0x5ba6db,_0x3e7033=[];for(const _0x2efc7c of this[_0x537a37(0xd0)][_0x537a37(0x141)]()){_0x3e7033[_0x537a37(0x296)](_0x2efc7c[_0x537a37(0x18e)]());}return _0x3e7033;}[a0_0x5ba6db(0x18e)](_0x2801e3){const _0xa97fb6=a0_0x5ba6db;return this['groups']['get'](_0x2801e3)?.[_0xa97fb6(0x18e)]();}[a0_0x5ba6db(0x1f8)](_0x12a4be){const _0x106275=a0_0x5ba6db;return this['groups'][_0x106275(0x2e1)](_0x12a4be)?.[_0x106275(0x1f8)]()||[];}[a0_0x5ba6db(0x28f)](){const _0x531723=a0_0x5ba6db,_0x2e361d=this[_0x531723(0x305)](),_0x2be1d=_0x2e361d[_0x531723(0xc9)](_0x5cf522=>_0x5cf522['toJSON']()),_0x59ca21={};return _0x59ca21[_0x531723(0x1fe)]=![],generateDatasetsConfig(_0x2be1d,_0x59ca21);}['toFullConfig'](){const _0x605b79=a0_0x5ba6db,_0xe1ce1f=this[_0x605b79(0x1cf)](),_0x585ada=_0xe1ce1f['map'](_0x318846=>_0x318846[_0x605b79(0x308)]());return generateFullDatasetsConfig(_0x585ada);}[a0_0x5ba6db(0x1e8)](){const _0xc24bcd=a0_0x5ba6db,_0x382e29={};for(const [_0x50b796,_0x5c98a9]of this[_0xc24bcd(0xd0)]){_0x382e29[_0x50b796]=_0x5c98a9;}return _0x382e29;}[a0_0x5ba6db(0x308)](){const _0x3471f9=a0_0x5ba6db,_0x26db08={};for(const [_0x4a3a7e,_0x39d012]of this[_0x3471f9(0xd0)]){_0x26db08[_0x4a3a7e]=_0x39d012[_0x3471f9(0x1f8)]()['map'](_0x1b0810=>_0x1b0810[_0x3471f9(0x308)]());}return _0x26db08;}[a0_0x5ba6db(0x146)](){const _0x4f3ee7=a0_0x5ba6db;return _0x4f3ee7(0x2b9)+this[_0x4f3ee7(0xd0)][_0x4f3ee7(0x2fd)]+_0x4f3ee7(0x10b)+(this['hasConflicts']()?_0x4f3ee7(0x2b5):_0x4f3ee7(0x1d9))+')';}}class DatasetList{[a0_0x5ba6db(0x16d)];constructor(_0x128a9c){const _0x4133f6=a0_0x5ba6db;let _0x47e8c7;if(Array[_0x4133f6(0x2f6)](_0x128a9c))_0x47e8c7=_0x128a9c;else{if('success'in _0x128a9c){if(!_0x128a9c['success'])throw new Error(_0x4133f6(0x20c));if(Array['isArray'](_0x128a9c['data']))_0x47e8c7=_0x128a9c[_0x4133f6(0x98)][_0x4133f6(0xc9)](_0x29b1fb=>({..._0x29b1fb,'datasetCode':_0x29b1fb[_0x4133f6(0x1f0)]||_0x29b1fb[_0x4133f6(0x89)]}));else{if(_0x128a9c[_0x4133f6(0x98)]?.[_0x4133f6(0xa6)])_0x47e8c7=_0x128a9c[_0x4133f6(0x98)]['tableData'][_0x4133f6(0xc9)](_0x2aa6ab=>({..._0x2aa6ab,'datasetCode':_0x2aa6ab[_0x4133f6(0x1f0)]||_0x2aa6ab['datasetCode']}));else throw new Error('Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)');}}else{if('tableData'in _0x128a9c){if(!Array[_0x4133f6(0x2f6)](_0x128a9c[_0x4133f6(0xa6)]))throw new Error(_0x4133f6(0xb3));_0x47e8c7=_0x128a9c[_0x4133f6(0xa6)]['map'](_0x49f3c5=>({..._0x49f3c5,'datasetCode':_0x49f3c5['code']||_0x49f3c5[_0x4133f6(0x89)]}));}else throw new Error(_0x4133f6(0x79));}}const _0x2b8e68=cleanDatasetNames(_0x47e8c7),_0x1e8661=_0x2b8e68[_0x4133f6(0xc9)](_0xc1a9a4=>new DatasetItem(_0xc1a9a4));this[_0x4133f6(0x16d)]=new DatasetGroupMap(_0x1e8661);}get[a0_0x5ba6db(0x155)](){const _0xb07f8a=a0_0x5ba6db;return this[_0xb07f8a(0x16d)];}[a0_0x5ba6db(0xf0)](){return this['_datasetMap']['getAllDatasets']();}[a0_0x5ba6db(0x218)](){const _0x3c4dd0=a0_0x5ba6db;return this[_0x3c4dd0(0xf0)]()[_0x3c4dd0(0x1d6)];}[a0_0x5ba6db(0x316)](){const _0x64e635=a0_0x5ba6db;return this[_0x64e635(0x16d)]['size']===0x0;}[a0_0x5ba6db(0x203)](_0x589d90){return this['getItems']()[_0x589d90];}['getFirst'](){const _0x5ebee5=a0_0x5ba6db;return this[_0x5ebee5(0xf0)]()[0x0];}[a0_0x5ba6db(0xd5)](){const _0x4671cf=this['getItems']();return _0x4671cf[_0x4671cf['length']-0x1];}[a0_0x5ba6db(0x2bb)](_0x2a3d4e){const _0x36e6a8=a0_0x5ba6db;for(const _0x32630a of this[_0x36e6a8(0x16d)][_0x36e6a8(0x141)]()){const _0x1a2c59=_0x32630a[_0x36e6a8(0x2bb)](_0x2a3d4e);if(_0x1a2c59)return _0x1a2c59;}return;}[a0_0x5ba6db(0x133)](_0x22ba61){const _0x2eb5ed=a0_0x5ba6db;return this[_0x2eb5ed(0xf0)]()[_0x2eb5ed(0xbf)](_0x42066a=>_0x42066a['name']===_0x22ba61);}['findById'](_0x5c91e9){const _0x2c958f=a0_0x5ba6db;for(const _0x25d11f of this['_datasetMap'][_0x2c958f(0x141)]()){const _0xa06681=_0x25d11f[_0x2c958f(0x7b)](_0x5c91e9);if(_0xa06681)return _0xa06681;}return;}['findByTableName'](_0x15e46a){const _0x3d5631=a0_0x5ba6db,_0x1bce68=getTableKey(_0x15e46a);return this[_0x3d5631(0x16d)]['getLatest'](_0x1bce68);}[a0_0x5ba6db(0x7e)](_0x73f136){const _0xc92fb3=a0_0x5ba6db,_0x3b76ef=this['getItems']()['filter'](_0x73f136);return new DatasetList(_0x3b76ef[_0xc92fb3(0xc9)](_0x7de1c9=>_0x7de1c9[_0xc92fb3(0x308)]()));}[a0_0x5ba6db(0x85)](_0x5e7974){const _0xab23df=a0_0x5ba6db;return this[_0xab23df(0xf0)]()[_0xab23df(0x7e)](_0x5e7974);}['forEach'](_0x3fde51){const _0x278e97=a0_0x5ba6db;this[_0x278e97(0xf0)]()[_0x278e97(0x2a7)](_0x3fde51);}[a0_0x5ba6db(0xc9)](_0x1878df){const _0x1d8a11=a0_0x5ba6db;return this['getItems']()[_0x1d8a11(0xc9)](_0x1878df);}[Symbol[a0_0x5ba6db(0x2a9)]](){const _0x19f0e7=a0_0x5ba6db;return this['getItems']()[Symbol[_0x19f0e7(0x2a9)]]();}['getVirtualTables'](){const _0x2863ed=a0_0x5ba6db;return this['getItems']()[_0x2863ed(0x7e)](_0x4cb78c=>_0x4cb78c[_0x2863ed(0x263)]());}['getRealTables'](){const _0x2f18bb=a0_0x5ba6db;return this['getItems']()[_0x2f18bb(0x7e)](_0x5cd629=>!_0x5cd629['isVirtualTable']());}[a0_0x5ba6db(0x96)](){const _0x3c3f2e=a0_0x5ba6db,_0x1d9741={};for(const _0x5d77c4 of this['_datasetMap'][_0x3c3f2e(0x141)]()){const _0x3aa876=_0x5d77c4['getLatest']()['getTableName']();_0x1d9741[_0x3aa876]=_0x5d77c4['getAll']();}return _0x1d9741;}[a0_0x5ba6db(0x131)](){const _0x415bc8=a0_0x5ba6db,_0x311d05={};for(const _0xa70cc2 of this[_0x415bc8(0x16d)][_0x415bc8(0x8f)]()[_0x415bc8(0x141)]()){const _0x42aa82=_0xa70cc2[_0x415bc8(0x18e)]()['getTableName']();_0x311d05[_0x42aa82]=_0xa70cc2[_0x415bc8(0x1f8)]()[_0x415bc8(0xc9)](_0x3da667=>_0x3da667['toJSON']());}return{'hasConflicts':Object[_0x415bc8(0xe9)](_0x311d05)[_0x415bc8(0x1d6)]>0x0,'conflicts':_0x311d05};}['hasConflicts'](){const _0x16b0ba=a0_0x5ba6db;return this[_0x16b0ba(0x16d)]['hasConflicts']();}[a0_0x5ba6db(0x25b)](){const _0x283617=a0_0x5ba6db,_0x2dbe89=[];for(const _0x5a99a0 of this[_0x283617(0x16d)][_0x283617(0x8f)]()[_0x283617(0x141)]()){_0x2dbe89['push'](..._0x5a99a0['getAll']());}return _0x2dbe89;}[a0_0x5ba6db(0x2ac)](_0x54aa6a){const _0x476e0f=a0_0x5ba6db;if(!_0x54aa6a||Object['keys'](_0x54aa6a)[_0x476e0f(0x1d6)]===0x0)return this['datasetMap']['toConfig']();const _0x3dbb4c=this[_0x476e0f(0xf0)]()[_0x476e0f(0xc9)](_0x1e5e78=>_0x1e5e78[_0x476e0f(0x308)]());return generateDatasetsConfig(_0x3dbb4c,_0x54aa6a);}[a0_0x5ba6db(0x2cd)](_0x3ad38d){const _0x5bca1f=a0_0x5ba6db,_0x389d89=this[_0x5bca1f(0x2ac)](_0x3ad38d);return datasetsConfigToArray(_0x389d89);}[a0_0x5ba6db(0x1ec)](){const _0x173fd1=a0_0x5ba6db;return this[_0x173fd1(0xf0)]()[_0x173fd1(0xc9)](_0x30a12a=>_0x30a12a[_0x173fd1(0x28f)]());}[a0_0x5ba6db(0x30b)](){const _0x5d3183=a0_0x5ba6db;return{'total':this['getCount'](),'virtualTables':this[_0x5d3183(0xba)]()[_0x5d3183(0x1d6)],'realTables':this['getRealTables']()[_0x5d3183(0x1d6)],'hasConflicts':this[_0x5d3183(0x110)](),'conflictCount':this['getConflictingItems']()[_0x5d3183(0x1d6)]};}[a0_0x5ba6db(0x16f)](){const _0x2b9bf6=a0_0x5ba6db;return this[_0x2b9bf6(0xf0)]()[_0x2b9bf6(0xc9)](_0x884a85=>_0x884a85['toJSON']());}[a0_0x5ba6db(0x308)](){return this['toArray']();}[a0_0x5ba6db(0x146)](){const _0x3ee652=a0_0x5ba6db;return _0x3ee652(0x246)+this[_0x3ee652(0x218)]()+_0x3ee652(0x167)+this['_datasetMap'][_0x3ee652(0x2fd)]+'\x20groups)';}static[a0_0x5ba6db(0x163)](_0x54f038){return new DatasetList(_0x54f038);}static['initDataset'](_0x55ccf9){return new DatasetList(_0x55ccf9);}static[a0_0x5ba6db(0x1e6)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x5ba6db(0x16e);function renderTemplate(_0xeafafd,_0x21b8cd,_0x332871={}){const _0x1a7b9c=a0_0x5ba6db;let _0x5e8a2c=_0xeafafd;return Object[_0x1a7b9c(0x1c9)](_0x332871)['forEach'](([_0x2d52a7,_0x432404])=>{const _0x3400ce=_0x1a7b9c,_0x135c3d=new RegExp(_0x3400ce(0xea)+_0x2d52a7+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x5e8a2c=_0x5e8a2c['replace'](_0x135c3d,_0x432404?'$1':'');}),Object[_0x1a7b9c(0x1c9)](_0x21b8cd)[_0x1a7b9c(0x2a7)](([_0x372c08,_0x3478c0])=>{const _0x41f7ff=_0x1a7b9c;if(_0x3478c0!==undefined){const _0x3b5959=new RegExp(_0x41f7ff(0x2f4)+_0x372c08+_0x41f7ff(0x13d),'g');_0x5e8a2c=_0x5e8a2c[_0x41f7ff(0x1bd)](_0x3b5959,_0x3478c0);}}),_0x5e8a2c;}function generateSDKInitCode(_0x308b01,_0x3109f1,_0x3e8a13,_0x1e413b,_0x962f2){const _0xa02c0c=a0_0x5ba6db,_0x1bc8c0={};_0x1bc8c0[_0xa02c0c(0x13f)]=_0x308b01,_0x1bc8c0[_0xa02c0c(0x89)]=_0x3109f1,_0x1bc8c0[_0xa02c0c(0xd1)]=_0x3e8a13,_0x1bc8c0[_0xa02c0c(0x19f)]=_0x1e413b===_0xa02c0c(0x2dc)?_0xa02c0c(0x2dc):undefined;const _0x4f495c={};return _0x4f495c['env']=_0x1e413b!==undefined&&_0x1e413b!==_0xa02c0c(0x25f),_0x4f495c[_0xa02c0c(0x23a)]=_0x962f2===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x1bc8c0,_0x4f495c);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x5ba6db(0x103);function generateAliasExplanation(_0x435192,_0x80c8ff,_0x5bb1c0,_0x35f0b1){const _0x1bff9c=a0_0x5ba6db,_0x5c2781=_0x1bff9c(0x1fc)+_0x435192,_0x33cd71=_0x1bff9c(0x94),_0x2d5cd7={};return _0x2d5cd7[_0x1bff9c(0x89)]=_0x435192,_0x2d5cd7[_0x1bff9c(0xc4)]=_0x5c2781,_0x2d5cd7['tableName']=_0x80c8ff,_0x2d5cd7[_0x1bff9c(0xd1)]=_0x5bb1c0,_0x2d5cd7['appCode']=_0x35f0b1,_0x2d5cd7[_0x1bff9c(0x317)]=_0x33cd71,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x2d5cd7,{});}function DrivenDataDetailPlusMixin(_0x2f269f){const _0x2b5435=a0_0x5ba6db;return class _0x1a2c39 extends _0x2f269f{[_0x2b5435(0x92)](_0x3e3928){const _0x38329d=_0x2b5435;return{'appCode':_0x3e3928,'datasetSDKKey':this[_0x38329d(0x127)](),'alias':this[_0x38329d(0x2b6)](),'tableName':this['getTableName'](),'datasetCode':this['datasetCode']};}['generateSDKInitCode'](_0x3e76b9,_0x28cff1='online',_0x40c162=![]){const _0x1a92af=_0x2b5435;return generateSDKInitCode(_0x3e76b9,this[_0x1a92af(0x89)],this[_0x1a92af(0x2b6)](),_0x28cff1==='daily'?_0x28cff1:undefined,_0x40c162);}[_0x2b5435(0x174)](_0x19b318,_0x1f0894,_0x479530={}){const _0x421aae=_0x2b5435,_0x171907=this['getOperations']()[_0x421aae(0xbf)](_0x4bd436=>_0x4bd436[_0x421aae(0x1e7)]()===_0x19b318);if(!_0x171907)return null;const _0x543727={};_0x543727[_0x421aae(0x1fd)]=_0x479530[_0x421aae(0x1b2)]!==![];const _0x556b11=this[_0x421aae(0x21a)](_0x19b318,_0x543727);if(!_0x556b11)return null;const _0x20bbac=[];return _0x20bbac[_0x421aae(0x296)]('//\x20Call\x20the\x20'+_0x171907[_0x421aae(0x1e7)]()+_0x421aae(0x2e0)),_0x20bbac[_0x421aae(0x296)](_0x556b11[_0x421aae(0x161)][_0x421aae(0x1f0)]),_0x20bbac[_0x421aae(0x296)](''),_0x479530[_0x421aae(0x2ab)]!==![]&&(_0x20bbac[_0x421aae(0x296)](_0x421aae(0xdc)),_0x20bbac['push'](_0x556b11[_0x421aae(0x2e7)][_0x421aae(0x2ee)]),_0x20bbac[_0x421aae(0x296)](''),_0x20bbac[_0x421aae(0x296)](_0x556b11[_0x421aae(0x2e7)]['errorCode'])),_0x20bbac['join']('\x0a');}[_0x2b5435(0x1f9)](_0x504ae7={}){const _0x1d315=_0x2b5435,_0x145f51=this[_0x1d315(0x147)](),_0x29e960=[];return _0x145f51['forEach']((_0xdbb729,_0x26f17d)=>{const _0x3bc464=_0x1d315,_0x154d62=this['generateFullSDKExample'](_0xdbb729[_0x3bc464(0x176)],_0x3bc464(0x24c),_0x504ae7);_0x154d62&&(_0x29e960[_0x3bc464(0x296)](_0x3bc464(0x2e4)+(_0x26f17d+0x1)+'.\x20'+_0xdbb729['displayName']),_0x29e960[_0x3bc464(0x296)](_0x154d62),_0x29e960[_0x3bc464(0x296)](''));}),_0x29e960[_0x1d315(0x18b)]('\x0a');}[_0x2b5435(0x187)](_0x3a6c24){const _0x193cfc=_0x2b5435,_0x4f3c47=this['getOperationAnalysis'](_0x3a6c24);if(!_0x4f3c47)return null;const _0x3d1086={};return _0x3d1086[_0x193cfc(0x176)]=_0x4f3c47[_0x193cfc(0x176)],_0x3d1086['displayName']=_0x4f3c47[_0x193cfc(0x1be)],_0x3d1086['method']=_0x4f3c47[_0x193cfc(0x76)],_0x3d1086[_0x193cfc(0x267)]=_0x4f3c47[_0x193cfc(0x267)],_0x3d1086[_0x193cfc(0xcd)]=_0x4f3c47['enabled'],_0x3d1086[_0x193cfc(0x280)]=_0x4f3c47[_0x193cfc(0x30a)]['length'],_0x3d1086[_0x193cfc(0x1c2)]=_0x4f3c47[_0x193cfc(0x211)]!==null,_0x3d1086;}[_0x2b5435(0x289)](_0x1bf738={}){const _0x4d4218=_0x2b5435,_0xe949b4=this['getEnabledOperationAnalyses']();return{'datasetName':this[_0x4d4218(0x176)],'datasetCode':this[_0x4d4218(0x89)],'tableName':this[_0x4d4218(0x26c)](),'totalOperations':_0xe949b4[_0x4d4218(0x1d6)],'operations':_0xe949b4[_0x4d4218(0xc9)](_0x1c9977=>({'name':_0x1c9977[_0x4d4218(0x176)],'displayName':_0x1c9977[_0x4d4218(0x1be)],'method':_0x1c9977['method'],'enabled':_0x1c9977[_0x4d4218(0xcd)]}))};}['getOperationRequestFields'](_0x31b763){const _0x344b2a=_0x2b5435,_0xb32fa3=this['getOperationAnalysis'](_0x31b763);if(!_0xb32fa3)return[];return _0xb32fa3[_0x344b2a(0x30a)]['map'](_0x206329=>{const _0x6fc4c1=_0x344b2a,_0x382884=this['getFieldInstance'](_0x206329);if(!_0x382884)return null;const _0x4860c5={};return _0x4860c5[_0x6fc4c1(0x1f0)]=_0x206329,_0x4860c5[_0x6fc4c1(0x176)]=_0x382884['name']||_0x206329,_0x4860c5;})[_0x344b2a(0x7e)](_0x1c9c74=>_0x1c9c74!==null);}['getMissingCRUDOperations'](){const _0x3bdc30=_0x2b5435,_0x55f7d8=new Set(this[_0x3bdc30(0x147)]()['map'](_0x205e6c=>String(_0x205e6c['type']))),_0xadb9d1=['create','getList',_0x3bdc30(0xf1),'delete'];return _0xadb9d1[_0x3bdc30(0x7e)](_0x22b817=>!_0x55f7d8[_0x3bdc30(0x2c0)](String(_0x22b817)));}[_0x2b5435(0x2d6)](_0x5933d6=_0x2b5435(0x24c)){const _0x10522f=_0x2b5435;return generateAliasExplanation(this[_0x10522f(0x89)],this[_0x10522f(0x26c)](),this[_0x10522f(0x2b6)](),_0x5933d6);}};}function operationToAnalysis(_0x17914e){const _0x54203a=a0_0x5ba6db;return{'name':_0x17914e['getName'](),'displayName':_0x17914e[_0x54203a(0x2a1)](),'type':_0x17914e[_0x54203a(0x295)](),'method':_0x17914e[_0x54203a(0x149)](),'path':_0x17914e['getPath'](),'fullUrl':_0x17914e['getFullUrl'](),'requestFields':_0x17914e['getRequestFields'](),'requestParams':_0x17914e[_0x54203a(0x24b)](),'responseSchema':_0x17914e[_0x54203a(0x232)](),'requestExample':_0x17914e[_0x54203a(0x194)](),'responseExample':_0x17914e[_0x54203a(0x262)](),'enabled':_0x17914e[_0x54203a(0x2c6)]()};}function operationsToAnalyses(_0x35891f){const _0x1b0039=a0_0x5ba6db;if(!Array[_0x1b0039(0x2f6)](_0x35891f))return!![]&&console[_0x1b0039(0x223)](_0x1b0039(0x150),_0x35891f),[];return _0x35891f[_0x1b0039(0xc9)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x2d2c70){const _0x50fa93=a0_0x5ba6db,_0x31961d=_0x2d2c70[_0x50fa93(0xbf)](_0x7b966a=>_0x7b966a[_0x50fa93(0x176)]===_0x50fa93(0x7e)),_0x1330de=_0x2d2c70[_0x50fa93(0x7e)](_0x14b581=>_0x14b581['name']!==_0x50fa93(0x7e));return _0x31961d?[_0x31961d,..._0x1330de]:_0x1330de;}function filterOperationAnalyses(_0x48c864,_0x21a1d3={}){const _0x544330=a0_0x5ba6db;let _0x2ab661=_0x48c864;return!_0x21a1d3[_0x544330(0x14a)]&&(_0x2ab661=_0x2ab661[_0x544330(0x7e)](_0x4c0691=>_0x4c0691[_0x544330(0xcd)])),_0x21a1d3['filterBlacklist']!==![]&&(_0x2ab661=filterApiOperations(_0x2ab661)),_0x21a1d3['customFilter']&&(_0x2ab661=_0x2ab661[_0x544330(0x7e)](_0x21a1d3[_0x544330(0x2d4)])),sortOperationsWithFilterFirst(_0x2ab661);}function getOperationStats(_0x9a5ce8){const _0x2dae15=a0_0x5ba6db,_0x59a54f=_0x9a5ce8[_0x2dae15(0x7e)](_0x1a5973=>_0x1a5973[_0x2dae15(0xcd)]);return{'total':_0x9a5ce8['length'],'enabled':_0x59a54f[_0x2dae15(0x1d6)],'disabled':_0x9a5ce8[_0x2dae15(0x1d6)]-_0x59a54f['length'],'byType':getCountByType(_0x59a54f),'byMethod':getCountByMethod(_0x59a54f)};}function getCountByType(_0x439df9){const _0x1dd99f=a0_0x5ba6db,_0x5d6b54={};return _0x439df9[_0x1dd99f(0x2a7)](_0x331072=>{const _0x4cc737=_0x1dd99f;if(_0x331072[_0x4cc737(0xe8)])_0x5d6b54[_0x331072['type']]=(_0x5d6b54[_0x331072[_0x4cc737(0xe8)]]||0x0)+0x1;}),_0x5d6b54;}function getCountByMethod(_0x14319b){const _0x2d129b=a0_0x5ba6db,_0x858f1d={};return _0x14319b[_0x2d129b(0x2a7)](_0x32b438=>{const _0x4c765e=_0x2d129b;_0x858f1d[_0x32b438[_0x4c765e(0x76)]]=(_0x858f1d[_0x32b438[_0x4c765e(0x76)]]||0x0)+0x1;}),_0x858f1d;}function a0_0x1065(){const _0x3ac319=['getSystem','isUpdateTime','getTableKey','CREATE_EXPORT','getOperationAnalysis','getFieldOptions','_raw','字段编码','DatasetList(','$gte','getNames','const\x20data\x20=\x20await\x20client.models.','round','getRequestParams','demo-app','delete','String[]','JSON','selectItemsSource','prototype','field_name','N/A','-\x20其他要更新的字段直接平铺在同一层级','时间戳','item1','getMissingCRUDOperations',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','获取下拉选项','getBusiness','getConflictingItems','ARRAY','email','boolean','online','getEnabledNames','sortNum','generateResponseExample','isVirtualTable','dataset_000000','getFieldSelectItemsSource','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','path','15706850gEkzpe','_operationAnalyses','每页条数','getRequestFields','getTableName','getFields','excelExport','DATETIME','getGroupedParams','查询列表','getVersion','conflictGroupCount','获取上传脚本','stringify','TIME','getOperationFieldsOperatorsMap','HTTP\x20直接调用时使用平铺格式:\x0a','TINYINT','getFieldCount','pageSize','string','3787vPXePX','address','字段名称','requestFieldCount','\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a','getOperationStats','doVersion','getCode','tooltip','getEnabledOperationInstances','getBusinessFields','getSystemAnalysisResult','generateAllOperationsSummary','validateEnumValue','doType','creatorIdField','BOOL','BOOLEAN','toConfig','4308TcVPZl','toLowerCase','dbVersion','hasDblinkInfo','split','getType','push','sort','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getFieldName','getInternalInstance','getFieldsV2','getOperations','getOperationAnalysesByType',',\x20fields:\x20','datasetKey','generateSingleValueExample','getDisplayName','_requestExampleCache','接口名称','now','getOperationOperators','hasCreateTimeField','forEach','isRequiredField','iterator','generateHTTPExample','includeUsageExample','generateConfig','\x20fields)','dbTypeLen','fieldName','labelField','DESC','$lteq','phone','getOne','has\x20conflicts','getModelAlias','GET','getSource','DatasetGroupMap(','getEnumFieldMeta','findByCode','hasCreatorIdField','_avg','dblinkInfoDTO','isRequired','has','FieldList(','create','includeDeleted','label','hasExtendField','isEnabled','SMALLINT','getEnumValues','GET_LIST',',\x20doType=','VARCHAR','isMultipleSelect','generateConfigArray','getAppCode','test','dataset','getOperationRequestFields','createDate','单值查询','customFilter','主键,用于定位要更新的记录','generateAliasExplanation','creatorNameField','DatasetGroup(','hasConflict','/filter','Excel导出','daily','_operations','getUpdateFields','FILE','\x20operation','get','Filter\x20API\x20-\x20高级查询接口','generateDefaultFilterOperation','//\x20','isAutoIncrement','dbType','usageExample','getOperationFieldOperators','orderBy','SWITCH','errorCode','relations','getFieldsFilterOperatorsMap','successCode','operations','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','getPrimaryKeys','getFieldListV2','getSelectItemsSource','\x5c{\x5c{','getFieldV2','isArray','解析\x20responseBody\x20失败:','dbName','2195781VJKjvX','1.0','keyword','generateSDKInitCode','size','getSystemFields','function','getPrimaryKeyFields','mapDbTypeToType','getAllFieldsString','_datasetMeta','DECIMAL','getLatestDatasets','getOperationsData','要更新的字段数据对象','toJSON','isOperatorApplicableToField','requestFields','getStats','_operationList','isEnumField','$endWith','getDOType','systemFieldCount','set','3MuVxUE','getFilteredOperationAnalyses','getEnabledOperations','updateTime','isEmpty','exampleWhere','_fieldListV1WithDeleted','currentPage','min','API路径','toFieldDefinition','SELECT','updateTimeField','分组字段列表','CHAR','title','toDatasetCode','({\x20currentPage,\x20pageSize\x20});','toDatasetName','getRequestParamsDocInfo','generateFromSchema','_relations','getTenantCode','getDatabaseName','value2','method','_fields','SDK\x20调用时传递两个参数:\x0a','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','(id,\x20data);','findById','DrivenDataDetailPlusV2(','total','filter','1590aafRUm','parse','8915008ZmBQpx','withDeleted','getFieldDataSource','createTime','findAll','generateHTTPRequestExample','$gteq','[FieldV1.extend]\x20解析字段\x20','datasetCode','LONGBLOB','systemRetain','创建导入','filterBlacklist','distinct','getConflicts','getOperationList','default','getSDKInitData','-\x20主键ID,用于定位要更新的记录\x0a\x0a','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getFieldListWithDeleted','groupByTableName','getCountByType','data','RICH_TEXT','pkField','getOneUpdate','getEnumFieldsMeta','Object','LONGTEXT','\x20operations,\x20v2)','column','getOperation','_fieldListWithDeleted','prefix','groupByType','GET_SELECT_OPTIONS','tableData','createExport','$and','DrivenDataDetailV2(','UPLOAD','getDBConfig','getFieldDefinition','**可更新的字段列表:**','getFieldsByType','POST','获取数据集失败:\x20','<p>富文本内容</p>','normalizeDbType','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','createTimeField','_fieldListV2','dbId','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','getEnumMeta','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','getVirtualTables','isEnum','查询单条(原始)','2024-12-31','INTEGER','find','getFieldFilterOperators','排序规则(与\x20Filter\x20API\x20一致)','tenantCode','(params);','datasetSDKKey','where','valueLabels','({\x20code,\x20label\x20});','GET_ONE','map','\x20operations,\x20v1)','getEnabled','getFiltered','enabled','logicField','hasField','groups','alias','\x20relations,\x20','number','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','getLast','操作名称','BLOB','2.0','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','deleted','hasTableName','//\x20Usage\x20examples','_fieldListV1','createAll','toListItem','聚合函数配置数组(type:\x20sum/count/avg/max/min)','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','主键ID(必填)','isSystem','isOperationEnabled','DbtableConfig(table:\x20','generateRequestAllExamples','$in','type','keys','<!--\x5cs*CONDITION:\x5cs*','datasetName','getDeleted','getEnumFields','文件上传','isPrimaryKeyField','getItems','update','({\x20/*\x20可选:筛选条件\x20*/\x20});','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','$contain','获取文件URL','ensureFilterOperation','\x20indexes)','parseFieldExtend','聚合函数配置数组','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','解析\x20requestBody\x20失败:','完整的\x20SDK\x20调用代码','modifyDate','totalCount','operationCount','getFilterOperators','getDisabledNames','toTableName','##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a','isNumericField','getDatabaseType','FieldV2(','getFilterOperation','DATE','getAllParams','aggregate','\x20groups,\x20','\x20API\x20文档','indexes','getDatasetDocMeta','msg','hasConflicts','context','dataset_unknown','hasOperation','getOperationsOverviewData','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','hasFilterOperation','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','isCreateTime','Number','getDatabaseVersion','modifierIdField','getFieldList','getAutoIncrement','getField','modifierNameField','getRelations','supportsCRUD','includes','Integer','查询单个条件','index','dbtableConfig','getDatasetSDKKey','systemAnalysisResult','_fieldList','null','user@example.com','getDatasetMeta','_autoGenerated','数组查询(支持多选)','raw','getOperationAnalyses','detectConflicts','getOperationCount','findByName','getAllFieldsArray','NUMBER','TASK_INFO','status','获取数据集列表失败:\x20','responseBody','generateSDKCallCode','每页数量(默认:\x2020)','getFieldRaw','\x5c}\x5c}','getDefaultValue','appCode','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','values','DrivenDataDetail(','示例值','modelCode','fields','toString','getEnabledOperationAnalyses','forceVersion','getMethod','includeDisabled','value','getFilteredOperations','FLOAT','getActive','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','SDK\x20调用示例(两参数格式)','having','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','getUpdatableFields','datasetMap','排序规则','parseRawRequestBody','datasetId','getDisabled','all','({\x20','BIT','desc','_extend','getHTTPRequestParamsDocInfo','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','sdkCall','isDeleted','fromApiResponse','createImport','params','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','\x20items,\x20','CHECKBOX','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','count','getResponseParamsDocInfo','useArrayValues','_datasetMap','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/node-sdk\x27;\x0a\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27{{appCode}}\x27,\x0a<!--\x20CONDITION:\x20env\x20-->\x0a\x20\x20env:\x20\x27{{env}}\x27,\x0a<!--\x20/CONDITION\x20-->\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27{{datasetCode}}\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27{{alias}}\x27,\x0a\x20\x20\x20\x20}\x0a\x20\x20],\x0a<!--\x20CONDITION:\x20isOpenAPI\x20-->\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,\x0a<!--\x20/CONDITION\x20-->\x0a});\x0a\x0aexport\x20default\x20client;\x0a','toArray','parseRawResponseBody','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','sortOperationsWithFilterFirst','getRequiredFields','generateFullSDKExample','fieldCount','name','Operation\x20not\x20found:\x20','fieldCode','支持单值或数组','trim','[parseFieldExtend]\x20Invalid\x20field:','add','CREATE_IMPORT','-$1','getEnum','autoIncrement','object','items','2024-01-01','这是一段较长的文本内容示例','totalGroups','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','generateOperationSummary','isBusiness','children','isPrimaryKey','join','getFieldInstance','getOneOrigin','getLatest','getRawDbtableConfig','IMAGE','getDisabledOperationInstances','isSystemField','tableColumns','generateRequestExample','columnName','Object[]','长文本','select','富文本','(id,\x20','getIndexes','max','_sum','sdkCallCode','env','slice','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','请求示例','getFieldDescription','paging','(id);','const\x20result\x20=\x20await\x20client.models.','INT','FieldV1(','9SMaLen','generateExampleValue','getOperators','TEXT','primaryKey','required','sum','$startWith','主键ID','includeRequestExample','toISOString','datasetInfo','查询单条(用于更新)','操作成功','DOUBLE','北京市朝阳区','[FieldV2]\x20Invalid\x20field\x20definition','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','String','(支持单值或数组)','replace','displayName','toField','every','getCodes','hasResponseSchema','avg','getCountByMethod','查询单条','getFieldType','createFields','getFieldOperators','entries','0000','getTooltip','getEnumMetas','BIGINT','description','getAllDatasets','errorMsg','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','getFullUrl','_instance','options','查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)','length','getList','getApplicableOperators','no\x20conflicts','getDbTypeForOperation','TEXTAREA','getCreateTime','source','getDisabledOperations','当前页码(从\x201\x20开始,默认:\x201)','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','(实际字段:','1.0.0-beta.8','from','getRelationsByField',',\x20currentPage,\x20pageSize,\x20...\x20});','empty','getName','toObject','getPath','Array','任务信息','toConfigArray','getForeignKeyFields','allFields','multiple','code','generateFieldExample','version','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','getRaw','properties','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','groupBy','getAll','generateAllOperationsFullSDKExample','();','total_count','dataset_','useFullExample','enableDeduplication','getUploadFileScript','hasDbtableConfig','toUpperCase','TIMESTAMP','getAt','https://example.com/file.pdf','getFileUrl','modelId','importTemplate','requestBody','isMultipleSelectField','\x20fields,\x20','array','Invalid\x20API\x20response:\x20success\x20is\x20false','50ONEDdi','getModelName','getSelectOptions','_$1','responseSchema','precision','CREATE','getId','value1','suffix','fromField','getCount','hasModifierIdField','getOperationDocMeta','yourModel','selectBestOperator','extend','generateUsageExample','tableName','lastIndexOf','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','16926118wFFLIf','warn','placeholder','getEnumOptions','getHTTPFields','RADIO','$lte','some','200','$ne','915220SJUNwc','$eq','分组后的过滤条件(对聚合结果进行过滤)','getFieldCode','host','success','getResponseSchema','示例文本','当前页码','isFieldPrimaryKey','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','导入模板','getFieldsWithDeleted','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','isOpenAPI','创建导出','STRING','getRequired'];a0_0x1065=function(){return _0x3ac319;};return a0_0x1065();}function supportsCRUD(_0x1b5645){const _0x533d31=a0_0x5ba6db,_0x27f36b=new Set(_0x1b5645['map'](_0x5cd065=>_0x5cd065[_0x533d31(0xe8)])['filter'](Boolean));return _0x27f36b[_0x533d31(0x2c0)](_0x533d31(0x2c2))&&_0x27f36b[_0x533d31(0x2c0)](_0x533d31(0x1d7))&&_0x27f36b[_0x533d31(0x2c0)]('update')&&_0x27f36b[_0x533d31(0x2c0)](_0x533d31(0x24d));}function createOperationDocMeta(_0x5e6dc1,_0x32e459,_0x2d6268,_0x25202d,_0x48173e,_0x3e2e4c){const _0x1f7851=a0_0x5ba6db,_0x147f9c={};return _0x147f9c[_0x1f7851(0x1fd)]=_0x3e2e4c?.['useFullExample'],{'operation':_0x5e6dc1,'operationInstance':_0x32e459,'basicInfo':{'name':_0x5e6dc1[_0x1f7851(0x176)],'displayName':_0x5e6dc1[_0x1f7851(0x1be)],'method':_0x5e6dc1['method'],'path':_0x5e6dc1[_0x1f7851(0x267)],'fullUrl':_0x5e6dc1['fullUrl'],'enabled':_0x5e6dc1[_0x1f7851(0xcd)]},'sdkCall':{'datasetCode':_0x2d6268,'datasetSDKKey':_0x25202d,'tableName':_0x48173e,'operationName':_0x5e6dc1[_0x1f7851(0x176)],'params':_0x5e6dc1[_0x1f7851(0x30a)],'code':_0x32e459[_0x1f7851(0x13a)](_0x25202d,_0x147f9c)},'usageExample':_0x32e459[_0x1f7851(0x21e)](_0x25202d)};}function createOperationsOverviewData(_0x1ee94e){const _0x289b2e=a0_0x5ba6db,_0x49aff8={};_0x49aff8[_0x289b2e(0x125)]=_0x289b2e(0x176),_0x49aff8['label']=_0x289b2e(0x2a3);const _0x1af704={};_0x1af704[_0x289b2e(0x125)]=_0x289b2e(0x1be),_0x1af704[_0x289b2e(0x2c4)]=_0x289b2e(0xd6);const _0x4bd43a={};_0x4bd43a[_0x289b2e(0x125)]=_0x289b2e(0x76),_0x4bd43a['label']='方法';const _0x1c6d84={};_0x1c6d84[_0x289b2e(0x125)]=_0x289b2e(0x161),_0x1c6d84['label']='SDK\x20调用';const _0x5916be={};_0x5916be[_0x289b2e(0x125)]=_0x289b2e(0x267),_0x5916be[_0x289b2e(0x2c4)]=_0x289b2e(0x66);const _0x2d57f5={};_0x2d57f5[_0x289b2e(0x125)]=_0x289b2e(0x19e),_0x2d57f5[_0x289b2e(0x2c4)]=_0x289b2e(0xfc);const _0x17cbd6=[_0x49aff8,_0x1af704,_0x4bd43a,_0x1c6d84,_0x5916be,_0x2d57f5],_0x2de89f=_0x1ee94e[_0x289b2e(0xc9)](_0x12deba=>{const _0x2fd5bf=_0x289b2e,{basicInfo:_0x58f5ad,sdkCall:_0x37dd75}=_0x12deba,_0x3d2c69=_0x37dd75['code'][_0x2fd5bf(0x1bd)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x2fd5bf(0x1bd)](/;$/,''),_0x2a5ef9={};return _0x2a5ef9[_0x2fd5bf(0x1be)]=_0x58f5ad[_0x2fd5bf(0x1be)],_0x2a5ef9['name']=_0x58f5ad['name'],_0x2a5ef9[_0x2fd5bf(0x76)]=_0x58f5ad['method'],_0x2a5ef9[_0x2fd5bf(0x267)]=_0x58f5ad[_0x2fd5bf(0x267)],_0x2a5ef9[_0x2fd5bf(0x161)]=_0x3d2c69,_0x2a5ef9['sdkCallCode']=_0x37dd75[_0x2fd5bf(0x1f0)],_0x2a5ef9;}),_0x1bd510={};return _0x1bd510[_0x289b2e(0x193)]=_0x17cbd6,_0x1bd510[_0x289b2e(0xa6)]=_0x2de89f,_0x1bd510;}function createDatasetDocMeta(_0x4a79e5,_0xfb0bc8,_0x2d4ea0,_0x2074f2,_0x4855ec,_0x4d6daf,_0xa3dfa4,_0x211e0b,_0x8ec0b0){const _0x5473a5=a0_0x5ba6db,_0x3ae9d1={};return _0x3ae9d1[_0x5473a5(0x6c)]=_0x4a79e5+_0x5473a5(0x10c),_0x3ae9d1[_0x5473a5(0x1b4)]={},_0x3ae9d1[_0x5473a5(0x2ef)]=_0x8ec0b0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x176)]=_0x4a79e5,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x1f0)]=_0xfb0bc8,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x21f)]=_0x2d4ea0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0xc4)]=_0x2074f2,_0x3ae9d1[_0x5473a5(0x1b4)]['tableKey']=_0x4855ec,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x1dd)]=_0x4d6daf,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x175)]=_0xa3dfa4,_0x3ae9d1[_0x5473a5(0x1b4)]['businessFieldCount']=0x0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x310)]=0x0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0xff)]=_0x211e0b,_0x3ae9d1[_0x5473a5(0x1b4)]['enabledOperationCount']=_0x8ec0b0[_0x5473a5(0x1d6)],_0x3ae9d1;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x5ba6db(0x269)];[a0_0x5ba6db(0x272)](){return'v1';}[a0_0x5ba6db(0x2b6)](){const _0x1b5966=a0_0x5ba6db;return this[_0x1b5966(0x240)]();}[a0_0x5ba6db(0x130)](_0x34f4d6=![]){const _0x53437e=a0_0x5ba6db;if(!_0x34f4d6&&this[_0x53437e(0x269)])return this[_0x53437e(0x269)];const _0x210db5=this[_0x53437e(0x29c)]();return this[_0x53437e(0x269)]=operationsToAnalyses(_0x210db5),this[_0x53437e(0x269)];}[a0_0x5ba6db(0x147)](){const _0x2f9f7e=a0_0x5ba6db,_0x54dcdd={};return _0x54dcdd[_0x2f9f7e(0x14a)]=![],_0x54dcdd[_0x2f9f7e(0x8d)]=!![],this[_0x2f9f7e(0x313)](_0x54dcdd);}[a0_0x5ba6db(0x313)](_0x1af2a7={}){const _0x51d492=a0_0x5ba6db;return filterOperationAnalyses(this[_0x51d492(0x130)](),_0x1af2a7);}[a0_0x5ba6db(0x242)](_0x399612){const _0x3ca731=a0_0x5ba6db;return this[_0x3ca731(0x130)]()[_0x3ca731(0xbf)](_0x1abfd7=>_0x1abfd7[_0x3ca731(0x176)]===_0x399612);}[a0_0x5ba6db(0x29d)](_0x2523e9){const _0x3c5cc4=a0_0x5ba6db;return this[_0x3c5cc4(0x130)]()['filter'](_0x5bca4d=>_0x5bca4d[_0x3c5cc4(0xe8)]===_0x2523e9);}[a0_0x5ba6db(0x21a)](_0x5634a3,_0xc00743){const _0x2353ef=a0_0x5ba6db,_0x193e0c=this[_0x2353ef(0x242)](_0x5634a3);if(!_0x193e0c)return null;const _0x5d9637=this['getOperations']()[_0x2353ef(0xbf)](_0x1583e1=>_0x1583e1['getName']()===_0x193e0c[_0x2353ef(0x176)]);if(!_0x5d9637)throw new Error('Operation\x20not\x20found:\x20'+_0x193e0c[_0x2353ef(0x176)]);return createOperationDocMeta(_0x193e0c,_0x5d9637,this[_0x2353ef(0x89)],this[_0x2353ef(0x127)](),this[_0x2353ef(0x26c)](),_0xc00743);}[a0_0x5ba6db(0x10e)](_0x3b6082={}){const _0x1c1386=a0_0x5ba6db,_0x36b593=this[_0x1c1386(0x313)](_0x3b6082),_0x256b68=_0x36b593[_0x1c1386(0xc9)](_0x1b266b=>this[_0x1c1386(0x21a)](_0x1b266b[_0x1c1386(0x176)]))[_0x1c1386(0x7e)](_0x3bdf73=>_0x3bdf73!==null);return createDatasetDocMeta(this[_0x1c1386(0x176)],this[_0x1c1386(0x89)],this['getTableName'](),this['getDatasetSDKKey'](),this[_0x1c1386(0x240)](),this[_0x1c1386(0x1dd)],this[_0x1c1386(0x27a)](),this[_0x1c1386(0x132)](),_0x256b68);}[a0_0x5ba6db(0x114)](_0x4f4e0b){return createOperationsOverviewData(_0x4f4e0b);}[a0_0x5ba6db(0x121)](){const _0x1b1bf7=a0_0x5ba6db;return supportsCRUD(this[_0x1b1bf7(0x147)]());}[a0_0x5ba6db(0x282)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x5ba6db(0x146)](){const _0x36d771=a0_0x5ba6db,_0x312b74=this[_0x36d771(0x282)]();return'DrivenDataDetailPlus('+this[_0x36d771(0x176)]+',\x20'+this[_0x36d771(0x89)]+',\x20'+this[_0x36d771(0x27a)]()+_0x36d771(0x20a)+_0x312b74[_0x36d771(0xcd)]+'/'+_0x312b74[_0x36d771(0x7d)]+_0x36d771(0xca);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x5ba6db(0x269)];['getVersion'](){return'v2';}[a0_0x5ba6db(0x2b6)](){return this['getTableKey']();}['getOperationAnalyses'](_0x3e4b55=![]){const _0x84eee7=a0_0x5ba6db;if(!_0x3e4b55&&this['_operationAnalyses'])return this[_0x84eee7(0x269)];const _0x54538c=this[_0x84eee7(0x29c)]();return this['_operationAnalyses']=operationsToAnalyses(_0x54538c),this[_0x84eee7(0x269)];}['getEnabledOperationAnalyses'](){const _0x7e9bd5=a0_0x5ba6db,_0x45aa9e={};return _0x45aa9e[_0x7e9bd5(0x14a)]=![],_0x45aa9e[_0x7e9bd5(0x8d)]=!![],this['getFilteredOperationAnalyses'](_0x45aa9e);}[a0_0x5ba6db(0x313)](_0x57f787={}){const _0x3bf6da=a0_0x5ba6db;return filterOperationAnalyses(this[_0x3bf6da(0x130)](),_0x57f787);}['getOperationAnalysis'](_0xe36c92){return this['getOperationAnalyses']()['find'](_0x1a97e5=>_0x1a97e5['name']===_0xe36c92);}['getOperationAnalysesByType'](_0x1ab294){const _0x24611e=a0_0x5ba6db;return this[_0x24611e(0x130)]()[_0x24611e(0x7e)](_0x1838f3=>_0x1838f3[_0x24611e(0xe8)]===_0x1ab294);}[a0_0x5ba6db(0x21a)](_0x20fb33,_0x429a2c){const _0x5ce66b=a0_0x5ba6db,_0x35cab4=this[_0x5ce66b(0x242)](_0x20fb33);if(!_0x35cab4)return null;const _0xbca7b8=this['getOperations']()[_0x5ce66b(0xbf)](_0x1698fa=>_0x1698fa['getName']()===_0x35cab4[_0x5ce66b(0x176)]);if(!_0xbca7b8)throw new Error(_0x5ce66b(0x177)+_0x35cab4['name']);return createOperationDocMeta(_0x35cab4,_0xbca7b8,this[_0x5ce66b(0x89)],this[_0x5ce66b(0x127)](),this[_0x5ce66b(0x26c)](),_0x429a2c);}[a0_0x5ba6db(0x10e)](_0x1f0446={}){const _0x41b6ab=a0_0x5ba6db,_0x904c2f=this[_0x41b6ab(0x313)](_0x1f0446),_0x22023b=_0x904c2f[_0x41b6ab(0xc9)](_0x56d0d6=>this[_0x41b6ab(0x21a)](_0x56d0d6[_0x41b6ab(0x176)]))[_0x41b6ab(0x7e)](_0x8fade4=>_0x8fade4!==null);return createDatasetDocMeta(this[_0x41b6ab(0x176)],this[_0x41b6ab(0x89)],this[_0x41b6ab(0x26c)](),this[_0x41b6ab(0x127)](),this[_0x41b6ab(0x240)](),this[_0x41b6ab(0x1dd)],this['getFieldCount'](),this[_0x41b6ab(0x132)](),_0x22023b);}['getOperationsOverviewData'](_0xf0dc7f){return createOperationsOverviewData(_0xf0dc7f);}[a0_0x5ba6db(0x121)](){return supportsCRUD(this['getEnabledOperationAnalyses']());}[a0_0x5ba6db(0x282)](){const _0x2df869=a0_0x5ba6db;return getOperationStats(this[_0x2df869(0x130)]());}[a0_0x5ba6db(0x146)](){const _0x542e24=a0_0x5ba6db,_0x1f08e6=this[_0x542e24(0x282)]();return _0x542e24(0x7c)+this['name']+',\x20'+this[_0x542e24(0x89)]+',\x20'+this['getFieldCount']()+_0x542e24(0x20a)+_0x1f08e6[_0x542e24(0xcd)]+'/'+_0x1f08e6['total']+_0x542e24(0x9f);}}function detectDatasetVersion3(_0xe87bf3){const _0x49070f=a0_0x5ba6db;if(_0xe87bf3[_0x49070f(0x283)]==='v2'&&_0x49070f(0x145)in _0xe87bf3&&Array[_0x49070f(0x2f6)](_0xe87bf3['fields']))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x5ba6db(0x1d3)];constructor(_0x410f00){const _0x440adc=a0_0x5ba6db,_0x2fe8d0=detectDatasetVersion3(_0x410f00);return this[_0x440adc(0x1d3)]=_0x2fe8d0==='v2'?new DrivenDataDetailPlusV2(_0x410f00):new DrivenDataDetailPlusV1(_0x410f00),new Proxy(this,{'get'(_0x80ebf9,_0x3bc330){const _0xe9285c=_0x440adc;if(_0x3bc330 in _0x80ebf9){const _0x267155=_0x80ebf9[_0x3bc330];return typeof _0x267155==='function'?_0x267155['bind'](_0x80ebf9):_0x267155;}if(_0x3bc330 in _0x80ebf9[_0xe9285c(0x1d3)]){const _0x20a8e1=_0x80ebf9[_0xe9285c(0x1d3)][_0x3bc330];return typeof _0x20a8e1===_0xe9285c(0x2ff)?_0x20a8e1['bind'](_0x80ebf9[_0xe9285c(0x1d3)]):_0x20a8e1;}return;},'set'(_0x5524ba,_0x41c342,_0x229d10){return _0x5524ba[_0x41c342]=_0x229d10,!![];},'getPrototypeOf'(_0x1ebfbb){const _0x5d17be=_0x440adc;return DrivenDataDetailPlus[_0x5d17be(0x251)];}});}get['name'](){const _0x2cfd3d=a0_0x5ba6db;return this[_0x2cfd3d(0x1d3)][_0x2cfd3d(0x176)];}get['id'](){const _0x51e3b0=a0_0x5ba6db;return this[_0x51e3b0(0x1d3)]['id'];}get[a0_0x5ba6db(0x89)](){const _0x156934=a0_0x5ba6db;return this[_0x156934(0x1d3)][_0x156934(0x89)];}get[a0_0x5ba6db(0x1dd)](){const _0x2ca3bf=a0_0x5ba6db;return this[_0x2ca3bf(0x1d3)][_0x2ca3bf(0x1dd)];}get[a0_0x5ba6db(0x126)](){const _0x50bf0a=a0_0x5ba6db;return this['_instance'][_0x50bf0a(0xab)]();}['getVersion'](){const _0x241802=a0_0x5ba6db,_0x55bf65=this[_0x241802(0x1d3)]['getVersion']();return _0x55bf65==='v2'?'v2':'v1';}[a0_0x5ba6db(0x27a)](){const _0x16e064=a0_0x5ba6db;return this[_0x16e064(0x1d3)][_0x16e064(0x27a)]();}[a0_0x5ba6db(0x132)](){const _0x43ef81=a0_0x5ba6db;return this[_0x43ef81(0x1d3)][_0x43ef81(0x132)]();}[a0_0x5ba6db(0x26d)](){const _0x2e71dd=a0_0x5ba6db;return this[_0x2e71dd(0x1d3)][_0x2e71dd(0x26d)]();}['getOperations'](){return this['_instance']['getOperations']();}[a0_0x5ba6db(0x14c)](_0x55df2e){const _0x1f4b2a=a0_0x5ba6db;return this[_0x1f4b2a(0x1d3)][_0x1f4b2a(0x14c)](_0x55df2e);}[a0_0x5ba6db(0x18c)](_0x245dfc){return this['_instance']['getFieldInstance'](_0x245dfc);}[a0_0x5ba6db(0x26c)](){const _0x5926ca=a0_0x5ba6db;return this['_instance'][_0x5926ca(0x26c)]();}[a0_0x5ba6db(0x240)](){const _0x1d7374=a0_0x5ba6db;return this[_0x1d7374(0x1d3)]['getTableKey']();}['getDatasetSDKKey'](){const _0x2c5b98=a0_0x5ba6db;return this[_0x2c5b98(0x1d3)][_0x2c5b98(0x127)]();}[a0_0x5ba6db(0x11c)](){const _0x4c2994=a0_0x5ba6db;return this[_0x4c2994(0x1d3)][_0x4c2994(0x11c)]();}['getEnumFields'](){const _0x49c036=a0_0x5ba6db;return this[_0x49c036(0x1d3)][_0x49c036(0xed)]();}['getEnumFieldsMeta'](){const _0xadafac=a0_0x5ba6db;return this[_0xadafac(0x1d3)][_0xadafac(0x9c)]();}[a0_0x5ba6db(0x209)](_0x2b09ea){const _0x4a04c0=a0_0x5ba6db;return this['_instance'][_0x4a04c0(0x209)](_0x2b09ea);}['getField'](_0x5988d6){const _0x366b8d=a0_0x5ba6db;return this[_0x366b8d(0x1d3)][_0x366b8d(0x11e)](_0x5988d6);}[a0_0x5ba6db(0x243)](_0x3b2d2b){const _0x561ff0=a0_0x5ba6db;return this['_instance'][_0x561ff0(0x243)](_0x3b2d2b);}[a0_0x5ba6db(0x265)](_0x197fab){const _0xff7ba2=a0_0x5ba6db;return this[_0xff7ba2(0x1d3)][_0xff7ba2(0x265)](_0x197fab);}['getEnumFieldMeta'](_0x2af6b4){const _0x5c99dd=a0_0x5ba6db;return this[_0x5c99dd(0x1d3)][_0x5c99dd(0x2ba)](_0x2af6b4);}[a0_0x5ba6db(0x28a)](_0x20d320,_0x39fd30){const _0x3cbc3d=a0_0x5ba6db;return this['_instance'][_0x3cbc3d(0x28a)](_0x20d320,_0x39fd30);}[a0_0x5ba6db(0x2a8)](_0x2d4a45){const _0x6f8d08=a0_0x5ba6db;return this[_0x6f8d08(0x1d3)][_0x6f8d08(0x2a8)](_0x2d4a45);}[a0_0x5ba6db(0x30b)](){const _0x5aa43b=a0_0x5ba6db;return this[_0x5aa43b(0x1d3)]['getStats']();}[a0_0x5ba6db(0x107)](){const _0x4a6ee9=a0_0x5ba6db;return this[_0x4a6ee9(0x1d3)]['getFilterOperation']();}[a0_0x5ba6db(0x116)](){return this['_instance']['hasFilterOperation']();}[a0_0x5ba6db(0x113)](_0x1f8253){return this['_instance']['hasOperation'](_0x1f8253);}[a0_0x5ba6db(0xab)](){const _0x35d933=a0_0x5ba6db;return this[_0x35d933(0x1d3)]['getDBConfig']();}[a0_0x5ba6db(0x18f)](){const _0x107a31=a0_0x5ba6db;return this[_0x107a31(0x1d3)][_0x107a31(0x18f)]();}[a0_0x5ba6db(0x2b8)](){const _0xadecd3=a0_0x5ba6db;return this[_0xadecd3(0x1d3)]['getSource']();}[a0_0x5ba6db(0x130)](_0x4d81d4){const _0x548e38=a0_0x5ba6db;return this[_0x548e38(0x1d3)]['getOperationAnalyses'](_0x4d81d4);}['getEnabledOperationAnalyses'](){const _0x5aff60=a0_0x5ba6db;return this[_0x5aff60(0x1d3)][_0x5aff60(0x147)]();}['getFilteredOperationAnalyses'](_0x8ef55d){const _0x10ef12=a0_0x5ba6db;return this['_instance'][_0x10ef12(0x313)](_0x8ef55d);}['getOperationAnalysis'](_0x267ccf){const _0x1dc510=a0_0x5ba6db;return this['_instance'][_0x1dc510(0x242)](_0x267ccf);}[a0_0x5ba6db(0x29d)](_0x53c7f0){const _0xd800ba=a0_0x5ba6db;return this[_0xd800ba(0x1d3)][_0xd800ba(0x29d)](_0x53c7f0);}[a0_0x5ba6db(0x21a)](_0x512a36,_0x4ee614){const _0x49de05=a0_0x5ba6db;return this[_0x49de05(0x1d3)]['getOperationDocMeta'](_0x512a36,_0x4ee614);}[a0_0x5ba6db(0x10e)](_0x33856e){const _0x1b3cb0=a0_0x5ba6db;return this[_0x1b3cb0(0x1d3)][_0x1b3cb0(0x10e)](_0x33856e);}['getOperationsOverviewData'](_0xe4f4e0){const _0x13f4cb=a0_0x5ba6db;return this[_0x13f4cb(0x1d3)][_0x13f4cb(0x114)](_0xe4f4e0);}[a0_0x5ba6db(0x2b6)](){const _0xe04eb6=a0_0x5ba6db;return this[_0xe04eb6(0x1d3)][_0xe04eb6(0x2b6)]();}[a0_0x5ba6db(0x121)](){const _0x4b8cc7=a0_0x5ba6db;return this[_0x4b8cc7(0x1d3)][_0x4b8cc7(0x121)]();}[a0_0x5ba6db(0x282)](){const _0x46b743=a0_0x5ba6db;return this[_0x46b743(0x1d3)][_0x46b743(0x282)]();}[a0_0x5ba6db(0x146)](){return this['_instance']['toString']();}[a0_0x5ba6db(0xa1)](_0xfc7f8b){const _0x3759b7=a0_0x5ba6db;return this[_0x3759b7(0x1d3)][_0x3759b7(0xa1)](_0xfc7f8b);}[a0_0x5ba6db(0x92)](_0x564d56){const _0x21e288=a0_0x5ba6db;return this['_instance'][_0x21e288(0x92)](_0x564d56);}[a0_0x5ba6db(0x2fc)](_0x17b786,_0x26c524,_0x4b81c3){const _0x534075=a0_0x5ba6db;return this[_0x534075(0x1d3)][_0x534075(0x2fc)](_0x17b786,_0x26c524,_0x4b81c3);}['generateFullSDKExample'](_0x378edd,_0xb341fe,_0x2da9a7){const _0x25951b=a0_0x5ba6db;return this[_0x25951b(0x1d3)][_0x25951b(0x174)](_0x378edd,_0xb341fe,_0x2da9a7);}[a0_0x5ba6db(0x1f9)](_0x516fe2){const _0x43ad9f=a0_0x5ba6db;return this[_0x43ad9f(0x1d3)]['generateAllOperationsFullSDKExample'](_0x516fe2);}[a0_0x5ba6db(0x187)](_0x4e4e0f){const _0x478df9=a0_0x5ba6db;return this[_0x478df9(0x1d3)][_0x478df9(0x187)](_0x4e4e0f);}['generateAllOperationsSummary'](_0x14fc3d){const _0x148604=a0_0x5ba6db;return this[_0x148604(0x1d3)]['generateAllOperationsSummary'](_0x14fc3d);}[a0_0x5ba6db(0x2d1)](_0x8ea7d0){return this['_instance']['getOperationRequestFields'](_0x8ea7d0);}['getMissingCRUDOperations'](){const _0x526d15=a0_0x5ba6db;return this[_0x526d15(0x1d3)][_0x526d15(0x257)]();}[a0_0x5ba6db(0x2d6)](){const _0x5ce3d9=a0_0x5ba6db;return this[_0x5ce3d9(0x1d3)]['generateAliasExplanation']();}[a0_0x5ba6db(0x29a)](){const _0x5a1f9f=a0_0x5ba6db;return this[_0x5a1f9f(0x1d3)];}}function createDrivenDataDetailPlus(_0x382d75,_0x1ead9b={}){const _0x493457=a0_0x5ba6db;if(_0x1ead9b['forceVersion']==='v1')return new DrivenDataDetailPlusV1(_0x382d75);if(_0x1ead9b[_0x493457(0x148)]==='v2')return new DrivenDataDetailPlusV2(_0x382d75);if(_0x382d75[_0x493457(0x283)]==='v2'||_0x493457(0x2d0)in _0x382d75)return new DrivenDataDetailPlusV2(_0x382d75);return new DrivenDataDetailPlusV1(_0x382d75);}function isPlusV2Instance(_0xbc8f9b){const _0x3160f0=a0_0x5ba6db;return _0xbc8f9b[_0x3160f0(0x272)]()==='v2';}function isPlusV1Instance(_0x550076){const _0x2ece1a=a0_0x5ba6db;return _0x550076[_0x2ece1a(0x272)]()==='v1';}var VERSION=a0_0x5ba6db(0x1e2);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};