@lovrabet/dsparser 1.3.5-beta.1 → 1.3.5

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_0x5456ff=a0_0x2d67;(function(_0x4a4eea,_0x2644e5){const _0x390b23=a0_0x2d67,_0x54aec5=_0x4a4eea();while(!![]){try{const _0x3fd1a1=-parseInt(_0x390b23(0x38f))/0x1+-parseInt(_0x390b23(0x28e))/0x2*(-parseInt(_0x390b23(0x447))/0x3)+parseInt(_0x390b23(0x241))/0x4*(-parseInt(_0x390b23(0x342))/0x5)+parseInt(_0x390b23(0x24d))/0x6*(-parseInt(_0x390b23(0x2c6))/0x7)+-parseInt(_0x390b23(0x340))/0x8+parseInt(_0x390b23(0x39d))/0x9+parseInt(_0x390b23(0x40b))/0xa;if(_0x3fd1a1===_0x2644e5)break;else _0x54aec5['push'](_0x54aec5['shift']());}catch(_0x33a4e6){_0x54aec5['push'](_0x54aec5['shift']());}}}(a0_0xbb4d,0xc9463));function toCamelCase(_0x21ba8f){const _0x50cd36=a0_0x2d67;if(!_0x21ba8f)return'';return _0x21ba8f[_0x50cd36(0x2ae)](/[_-]/)[_0x50cd36(0x418)]((_0x5d4237,_0x470741)=>{const _0x4d6696=_0x50cd36;if(_0x470741===0x0)return _0x5d4237[_0x4d6696(0x371)]();return _0x5d4237[_0x4d6696(0x2f2)](0x0)[_0x4d6696(0x292)]()+_0x5d4237[_0x4d6696(0x45b)](0x1)['toLowerCase']();})[_0x50cd36(0x396)]('');}function toPascalCase(_0x121013){const _0xf82094=a0_0x2d67;if(!_0x121013)return'';const _0x46933e=toCamelCase(_0x121013);return _0x46933e[_0xf82094(0x2f2)](0x0)[_0xf82094(0x292)]()+_0x46933e[_0xf82094(0x45b)](0x1);}function toSnakeCase(_0x3b0c9a){const _0x38a004=a0_0x2d67;if(!_0x3b0c9a)return'';return _0x3b0c9a[_0x38a004(0x276)](/([A-Z])/g,'_$1')[_0x38a004(0x371)]()[_0x38a004(0x276)](/^_/,'');}function toKebabCase(_0x28d82f){const _0x12a4af=a0_0x2d67;if(!_0x28d82f)return'';return _0x28d82f[_0x12a4af(0x276)](/([A-Z])/g,_0x12a4af(0x35e))[_0x12a4af(0x371)]()[_0x12a4af(0x276)](/^-/,'');}function normalizeFieldName(_0x121168){const _0x592d23=a0_0x2d67;if(!_0x121168)return'';return _0x121168[_0x592d23(0x3a3)]()['replace'](/\s+/g,'_')[_0x592d23(0x276)](/[^a-zA-Z0-9_]/g,'_')[_0x592d23(0x276)](/_+/g,'_')[_0x592d23(0x276)](/^_|_$/g,'');}function getTableName(_0x598f62){const _0xf26bec=a0_0x2d67;if(!_0x598f62)return _0xf26bec(0x29d);if(_0x598f62[_0xf26bec(0x3a2)]?.[_0xf26bec(0x42b)])return _0x598f62['dbtableConfig'][_0xf26bec(0x42b)];const _0x3fd077=_0x598f62[_0xf26bec(0x25c)]||_0x598f62[_0xf26bec(0x421)]||_0x598f62['modelCode'];if(_0x3fd077)return generateTableNameFromCode(_0x3fd077);return _0xf26bec(0x29d);}function getTableKey(_0x2ce172){const _0x12b1c3=a0_0x2d67;if(typeof _0x2ce172===_0x12b1c3(0x386))return toCamelCase(_0x2ce172);const _0x49c051=getTableName(_0x2ce172);return toCamelCase(_0x49c051);}function generateTableNameFromCode(_0x15643a){const _0x4c2b72=a0_0x2d67;if(!_0x15643a)return _0x4c2b72(0x29d);const _0xd51424=_0x15643a[_0x4c2b72(0x45b)](-0x6)[_0x4c2b72(0x209)](0x6,'0');return _0x4c2b72(0x253)+_0xd51424;}function isVirtualTableName(_0x5e00fc){const _0x25a09b=a0_0x2d67;return/^dataset_[a-zA-Z0-9]{6}$/[_0x25a09b(0x395)](_0x5e00fc);}function generateModelKeyFromCode(_0x44291f){const _0x151ae8=a0_0x2d67;if(!_0x44291f)return'dataset_unknown';return _0x151ae8(0x253)+_0x44291f;}function getDbName(_0x51f7ae){const _0xba4e0f=a0_0x2d67;return _0x51f7ae['dbtableConfig']?.[_0xba4e0f(0x2bc)]||_0x51f7ae[_0xba4e0f(0x3a2)]?.[_0xba4e0f(0x2fa)]?.['dbName']||'';}function generateDatasetsConfig(_0xfa69fd,_0x57091f={}){const _0x11383f=a0_0x2d67,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x50c858,filter:_0x1686ad}=_0x57091f,_0x36351e=_0x1686ad?_0xfa69fd[_0x11383f(0x2b7)](_0x1686ad):_0xfa69fd,_0x51f71f=new Map();for(const _0x1f2a54 of _0x36351e){const _0x3d60e0=getTableName(_0x1f2a54),_0x18feb6=getDbName(_0x1f2a54);!_0x51f71f[_0x11383f(0x3a9)](_0x3d60e0)&&_0x51f71f[_0x11383f(0x270)](_0x3d60e0,new Set()),_0x51f71f[_0x11383f(0x326)](_0x3d60e0)[_0x11383f(0x3a1)](_0x18feb6);}const _0x338186=new Set();for(const [_0x3b1d64,_0x39b9b6]of _0x51f71f){_0x39b9b6['size']>0x1&&_0x338186[_0x11383f(0x3a1)](_0x3b1d64);}const _0x4372e6={},_0x9f3931=new Set();for(const _0x388e1f of _0x36351e){const _0x1a5078=getTableName(_0x388e1f);if(enableDeduplication&&_0x9f3931[_0x11383f(0x3a9)](_0x1a5078)){console[_0x11383f(0x47e)](_0x11383f(0x214)+_0x1a5078+_0x11383f(0x462)+_0x388e1f[_0x11383f(0x464)]+'\x20('+_0x388e1f[_0x11383f(0x25c)]+')');continue;}_0x9f3931[_0x11383f(0x3a1)](_0x1a5078);const _0x27c430=_0x50c858?_0x50c858(_0x1a5078,_0x388e1f):getTableKey(_0x1a5078),_0x249b7e=getDbName(_0x388e1f),_0x3d0fec=_0x338186[_0x11383f(0x3a9)](_0x1a5078)&&_0x249b7e?getTableKey(_0x249b7e)+'_'+_0x27c430:_0x27c430;_0x4372e6[_0x27c430]={'key':_0x27c430,'alias':_0x3d0fec,'tableName':_0x1a5078,'datasetCode':_0x388e1f[_0x11383f(0x25c)],'name':_0x388e1f[_0x11383f(0x464)],'id':_0x388e1f['id'],'dbName':_0x249b7e};}return _0x4372e6;}function generateFullDatasetsConfig(_0x7ca43a,_0x38a03e={}){const _0x15fe1a=a0_0x2d67,{filter:_0x4d2dff,datasetNameGenerator:_0x33cfb3}=_0x38a03e,_0x32014d=_0x4d2dff?_0x7ca43a[_0x15fe1a(0x2b7)](_0x4d2dff):_0x7ca43a,_0x117a06=new Map();for(const _0x41415b of _0x32014d){const _0x24d32d=getTableName(_0x41415b),_0x5d75bb=getDbName(_0x41415b);!_0x117a06[_0x15fe1a(0x3a9)](_0x24d32d)&&_0x117a06[_0x15fe1a(0x270)](_0x24d32d,new Set()),_0x117a06[_0x15fe1a(0x326)](_0x24d32d)[_0x15fe1a(0x3a1)](_0x5d75bb);}const _0x14eab6=new Set();for(const [_0x4f4051,_0x573b4d]of _0x117a06){_0x573b4d[_0x15fe1a(0x1ee)]>0x1&&_0x14eab6[_0x15fe1a(0x3a1)](_0x4f4051);}const _0x4041af=groupByTableName(_0x32014d),_0x735499={};for(const [_0x4c778c,_0x1000d5]of Object['entries'](_0x4041af)){if(_0x1000d5['length']===0x1){const _0xd55716=_0x1000d5[0x0],_0x4e3547=_0x33cfb3?_0x33cfb3(_0x4c778c,_0xd55716):getTableKey(_0x4c778c),_0x52f579=getDbName(_0xd55716),_0x276813=_0x14eab6['has'](_0x4c778c)&&_0x52f579?getTableKey(_0x52f579)+'_'+_0x4e3547:_0x4e3547;_0x735499[_0x4e3547]={'key':_0x4e3547,'alias':_0x276813,'tableName':_0x4c778c,'datasetCode':_0xd55716[_0x15fe1a(0x25c)],'name':_0xd55716[_0x15fe1a(0x464)],'id':_0xd55716['id'],'dbName':_0x52f579};}else{const _0x9fdd53=[..._0x1000d5][_0x15fe1a(0x27d)]((_0x1e7c39,_0x25b325)=>{const _0x8087fd=Number(_0x1e7c39['id'])||0x0,_0x21a418=Number(_0x25b325['id'])||0x0;return _0x21a418-_0x8087fd;});_0x9fdd53[_0x15fe1a(0x3b2)]((_0x10e1e8,_0x3d9bc6)=>{const _0xca0f53=_0x15fe1a,_0x2319f6=_0x33cfb3?_0x33cfb3(_0x4c778c,_0x10e1e8):getTableKey(_0x4c778c),_0x4007b4=_0x3d9bc6===0x0?_0x2319f6:_0x2319f6+'_'+_0x3d9bc6,_0x13f632=getDbName(_0x10e1e8),_0x1d7851=_0x14eab6[_0xca0f53(0x3a9)](_0x4c778c)&&_0x13f632?getTableKey(_0x13f632)+'_'+_0x4007b4:_0x4007b4;_0x735499[_0x4007b4]={'key':_0x4007b4,'alias':_0x1d7851,'tableName':_0x4c778c,'datasetCode':_0x10e1e8[_0xca0f53(0x25c)],'name':_0x10e1e8[_0xca0f53(0x464)],'id':_0x10e1e8['id'],'dbName':_0x13f632};});}}return _0x735499;}function detectTableNameConflicts(_0x55f7ec){const _0x4ec0a9=a0_0x2d67,_0x3bb4a0={};for(const _0x1be463 of _0x55f7ec){const _0x523cea=getTableName(_0x1be463);!_0x3bb4a0[_0x523cea]&&(_0x3bb4a0[_0x523cea]=[]),_0x3bb4a0[_0x523cea][_0x4ec0a9(0x20f)](_0x1be463);}const _0x40c3ff={};for(const [_0x5410be,_0x56daa8]of Object['entries'](_0x3bb4a0)){_0x56daa8[_0x4ec0a9(0x46b)]>0x1&&(_0x40c3ff[_0x5410be]=_0x56daa8);}return{'hasConflicts':Object['keys'](_0x40c3ff)[_0x4ec0a9(0x46b)]>0x0,'conflicts':_0x40c3ff};}function createDatasetNameMap(_0x61b2a1){const _0x5224d0=a0_0x2d67,_0x43c2b6={};for(const [_0x10b428,_0x4b1e45]of Object[_0x5224d0(0x2eb)](_0x61b2a1)){_0x43c2b6[_0x10b428]=_0x4b1e45[_0x5224d0(0x25c)]||'';}return _0x43c2b6;}function groupByTableName(_0x2efcb6){const _0x77d503=a0_0x2d67,_0x1558a3={};for(const _0x523389 of _0x2efcb6){const _0x48e575=getTableName(_0x523389);!_0x1558a3[_0x48e575]&&(_0x1558a3[_0x48e575]=[]),_0x1558a3[_0x48e575][_0x77d503(0x20f)](_0x523389);}return _0x1558a3;}function datasetsConfigToArray(_0x22eb7f){const _0x4f10ef=a0_0x2d67;return Object[_0x4f10ef(0x25d)](_0x22eb7f);}function adaptDrivenDataDetail(_0x1af3b3){const _0x41563a=a0_0x2d67,_0x3eafd7={};return _0x3eafd7['id']=_0x1af3b3[_0x41563a(0x2b5)],_0x3eafd7[_0x41563a(0x464)]=_0x1af3b3[_0x41563a(0x464)],_0x3eafd7['datasetCode']=_0x1af3b3[_0x41563a(0x34b)],_0x3eafd7['dbtableConfig']=_0x1af3b3[_0x41563a(0x3a2)],_0x3eafd7[_0x41563a(0x3c0)]=_0x1af3b3[_0x41563a(0x3c0)],_0x3eafd7[_0x41563a(0x29e)]=_0x1af3b3[_0x41563a(0x29e)],_0x3eafd7[_0x41563a(0x201)]=_0x1af3b3[_0x41563a(0x201)],_0x3eafd7[_0x41563a(0x2e8)]=_0x1af3b3[_0x41563a(0x2e8)],_0x3eafd7[_0x41563a(0x2d3)]=_0x1af3b3[_0x41563a(0x2d3)],_0x3eafd7;}function adaptDrivenDataDetails(_0x4301a9){const _0x37e2bc=a0_0x2d67;return _0x4301a9[_0x37e2bc(0x418)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x4e4c9d){const _0x3e477d=a0_0x2d67;if(!_0x4e4c9d[_0x3e477d(0x3e8)]||!_0x4e4c9d[_0x3e477d(0x3e3)])throw new Error(_0x3e477d(0x322)+(_0x4e4c9d['errorMsg']||_0x4e4c9d['msg']));return adaptDrivenDataDetail(_0x4e4c9d[_0x3e477d(0x3e3)]);}function extractDatasetsFromListResponse(_0x187caf){const _0x181f60=a0_0x2d67;if(!_0x187caf[_0x181f60(0x3e8)]||!_0x187caf[_0x181f60(0x3e3)]?.[_0x181f60(0x218)])throw new Error(_0x181f60(0x400)+(_0x187caf[_0x181f60(0x2ce)]||_0x187caf[_0x181f60(0x41e)]));return _0x187caf['data']['tableData']['map'](_0x1ae837=>({..._0x1ae837,'datasetCode':_0x1ae837[_0x181f60(0x421)]||_0x1ae837[_0x181f60(0x25c)]}));}function isDrivenDataDetail(_0x27c884){const _0x5a4531=a0_0x2d67;return Boolean(_0x27c884&&typeof _0x27c884['modelCode']===_0x5a4531(0x386));}function smartAdapt(_0x4d59a1){const _0x317556=a0_0x2d67;if(isDrivenDataDetail(_0x4d59a1))return adaptDrivenDataDetail(_0x4d59a1);if(_0x4d59a1['datasetCode'])return _0x4d59a1;if(_0x4d59a1[_0x317556(0x421)]){const _0x3aaa64={..._0x4d59a1};return _0x3aaa64[_0x317556(0x25c)]=_0x4d59a1['code'],_0x3aaa64;}return _0x4d59a1;}function cleanNewlines(_0x21865a){const _0x1cabcd=a0_0x2d67;return _0x21865a[_0x1cabcd(0x276)](/[\r\n]+/g,'\x20')[_0x1cabcd(0x3a3)]();}function cleanDatasetName(_0x38bcdd){const _0x4dedeb=a0_0x2d67;if(!_0x38bcdd[_0x4dedeb(0x464)])return _0x38bcdd;return{..._0x38bcdd,'name':cleanNewlines(_0x38bcdd[_0x4dedeb(0x464)])};}function cleanDatasetNames(_0x25ffe5){return _0x25ffe5['map'](cleanDatasetName);}var DatasetOperationType;(_0x321972=>{const _0x50ce34=a0_0x2d67;_0x321972[_0x50ce34(0x414)]='getList',_0x321972['GET_ONE']=_0x50ce34(0x3df),_0x321972[_0x50ce34(0x419)]=_0x50ce34(0x36e),_0x321972[_0x50ce34(0x1d1)]=_0x50ce34(0x3ca),_0x321972[_0x50ce34(0x35a)]='create',_0x321972['UPDATE']='update',_0x321972[_0x50ce34(0x29a)]='delete',_0x321972['GET_SELECT_OPTIONS']='getSelectOptions',_0x321972[_0x50ce34(0x457)]='getFileUrl',_0x321972[_0x50ce34(0x3a6)]=_0x50ce34(0x331),_0x321972['GET_UPLOAD_FILE_SCRIPT']=_0x50ce34(0x1fe),_0x321972[_0x50ce34(0x2ab)]=_0x50ce34(0x2ac),_0x321972[_0x50ce34(0x425)]='createExport',_0x321972[_0x50ce34(0x2e3)]=_0x50ce34(0x2e2),_0x321972[_0x50ce34(0x473)]=_0x50ce34(0x33b);})(DatasetOperationType||={});const a0_0x46ae8d={};a0_0x46ae8d[a0_0x5456ff(0x42d)]='查询列表',a0_0x46ae8d[a0_0x5456ff(0x3df)]=a0_0x5456ff(0x320),a0_0x46ae8d[a0_0x5456ff(0x36e)]=a0_0x5456ff(0x3dd),a0_0x46ae8d[a0_0x5456ff(0x3ca)]=a0_0x5456ff(0x335),a0_0x46ae8d['create']='创建',a0_0x46ae8d[a0_0x5456ff(0x2ea)]='更新',a0_0x46ae8d[a0_0x5456ff(0x422)]='删除',a0_0x46ae8d[a0_0x5456ff(0x42e)]=a0_0x5456ff(0x264),a0_0x46ae8d[a0_0x5456ff(0x41a)]=a0_0x5456ff(0x439),a0_0x46ae8d[a0_0x5456ff(0x331)]=a0_0x5456ff(0x436),a0_0x46ae8d[a0_0x5456ff(0x1fe)]=a0_0x5456ff(0x41f),a0_0x46ae8d[a0_0x5456ff(0x2ac)]=a0_0x5456ff(0x407),a0_0x46ae8d[a0_0x5456ff(0x328)]=a0_0x5456ff(0x221),a0_0x46ae8d[a0_0x5456ff(0x2e2)]=a0_0x5456ff(0x272),a0_0x46ae8d[a0_0x5456ff(0x33b)]=a0_0x5456ff(0x27e);var OPERATION_TYPE_DISPLAY_NAME=a0_0x46ae8d,API_BLACKLIST=[a0_0x5456ff(0x42d),a0_0x5456ff(0x36e),a0_0x5456ff(0x3ca),'getFileUrl'];function parseFieldExtend(_0xb748f9){const _0x36908f=a0_0x5456ff;if(!_0xb748f9||typeof _0xb748f9!==_0x36908f(0x39c))return!![]&&console['warn']('[parseFieldExtend]\x20Invalid\x20field:',_0xb748f9),{};if(!_0xb748f9[_0x36908f(0x201)])return{};try{const _0x463830=typeof _0xb748f9['extend']===_0x36908f(0x386)?JSON[_0x36908f(0x2ca)](_0xb748f9[_0x36908f(0x201)]):_0xb748f9[_0x36908f(0x201)];if(typeof _0x463830!==_0x36908f(0x39c)||_0x463830===null)return{};return _0x463830;}catch{return{};}}function isPrimaryKeyField(_0xc9b3ea,_0x4e964a){const _0x2823ad=a0_0x5456ff;if(!_0xc9b3ea||typeof _0xc9b3ea!==_0x2823ad(0x39c))return![];if(typeof _0x4e964a==='string'&&_0xc9b3ea[_0x2823ad(0x421)]===_0x4e964a)return!![];const _0x2dc2c6=parseFieldExtend(_0xc9b3ea);return Boolean(_0x2dc2c6[_0x2823ad(0x380)]||_0x2dc2c6['pkField']);}function isSystemField(_0x4cd347){const _0x503acc=parseFieldExtend(_0x4cd347);return Boolean(_0x503acc['systemRetain']);}function isRequiredField(_0x73b982){const _0x2d4db9=a0_0x5456ff,_0xc613c=parseFieldExtend(_0x73b982);return Boolean(_0xc613c[_0x2d4db9(0x33c)]);}function isAutoIncrementField(_0x27ffdf){const _0x36633e=a0_0x5456ff,_0x17ccf7=parseFieldExtend(_0x27ffdf);return Boolean(_0x17ccf7[_0x36633e(0x461)]);}function isCreateTimeField(_0x4daaf7){const _0x10154f=a0_0x5456ff,_0x24f786=parseFieldExtend(_0x4daaf7);return Boolean(_0x24f786[_0x10154f(0x3bf)]);}function isModifyTimeField(_0xc849d8){const _0xa3b440=a0_0x5456ff,_0xf2740a=parseFieldExtend(_0xc849d8);return Boolean(_0xf2740a[_0xa3b440(0x1db)]);}const a0_0xd6e467={};a0_0xd6e467[a0_0x5456ff(0x357)]='数字',a0_0xd6e467[a0_0x5456ff(0x267)]='文本',a0_0xd6e467[a0_0x5456ff(0x2a0)]=a0_0x5456ff(0x3f5),a0_0xd6e467[a0_0x5456ff(0x343)]='日期',a0_0xd6e467[a0_0x5456ff(0x213)]='日期时间',a0_0xd6e467[a0_0x5456ff(0x3bb)]=a0_0x5456ff(0x23d),a0_0xd6e467[a0_0x5456ff(0x38c)]='下拉选择',a0_0xd6e467[a0_0x5456ff(0x2e4)]='多选',a0_0xd6e467[a0_0x5456ff(0x1f9)]='单选',a0_0xd6e467['SWITCH']='开关',a0_0xd6e467[a0_0x5456ff(0x428)]=a0_0x5456ff(0x3c5),a0_0xd6e467[a0_0x5456ff(0x351)]='图片',a0_0xd6e467[a0_0x5456ff(0x3dc)]=a0_0x5456ff(0x206),a0_0xd6e467[a0_0x5456ff(0x378)]=a0_0x5456ff(0x378),a0_0xd6e467['ARRAY']='数组';var DB_TYPE_DISPLAY_MAP=a0_0xd6e467;function getDbTypeDisplay(_0x5f399e){const _0x52daaf=a0_0x5456ff;if(typeof _0x5f399e!==_0x52daaf(0x386))return!![]&&console[_0x52daaf(0x47e)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x5f399e),String(_0x5f399e||'-');return DB_TYPE_DISPLAY_MAP[_0x5f399e]||_0x5f399e;}function formatDbType(_0x268edb,_0x19d8d4){const _0x2ad32f=a0_0x5456ff;if(!_0x268edb||typeof _0x268edb!=='string')return'-';if(!_0x19d8d4||typeof _0x19d8d4!==_0x2ad32f(0x2fb))return _0x268edb;const _0x18565f=[_0x2ad32f(0x267),_0x2ad32f(0x213),_0x2ad32f(0x3bb),_0x2ad32f(0x343)];if(_0x18565f[_0x2ad32f(0x46c)](_0x268edb[_0x2ad32f(0x292)]()))return _0x268edb;return _0x268edb+'('+_0x19d8d4+')';}function parseOperationType(_0x46a12f){const _0x1abacc=a0_0x5456ff;if(typeof _0x46a12f!==_0x1abacc(0x386)){!![]&&console[_0x1abacc(0x47e)](_0x1abacc(0x3f8),_0x46a12f);return;}if(Object[_0x1abacc(0x25d)](DatasetOperationType)['includes'](_0x46a12f))return _0x46a12f;const _0x131d51=Object[_0x1abacc(0x2eb)](OPERATION_TYPE_DISPLAY_NAME)[_0x1abacc(0x283)](([_0x4ddedb,_0x263a7c])=>_0x263a7c===_0x46a12f);return _0x131d51?_0x131d51[0x0]:undefined;}function shouldIncludeField(_0x5d8edb,_0x1e31f4,_0x391284){const _0x387e16=a0_0x5456ff,_0x263aa8=parseFieldExtend(_0x5d8edb),_0x44b8f9=isPrimaryKeyField(_0x5d8edb,_0x391284),_0x43088e=Boolean(_0x263aa8[_0x387e16(0x363)]),_0x553013=Boolean(_0x263aa8['autoIncrement']),_0x5e80f6=Boolean(_0x263aa8[_0x387e16(0x3bf)]),_0x35b8ad=Boolean(_0x263aa8[_0x387e16(0x1db)]);switch(_0x1e31f4){case _0x387e16(0x42d):return!![];case _0x387e16(0x3df):case _0x387e16(0x36e):case _0x387e16(0x422):return _0x44b8f9;case _0x387e16(0x450):if(_0x44b8f9&&_0x553013)return![];if(_0x43088e)return![];if(_0x5e80f6||_0x35b8ad)return![];return!![];case'update':case'getOneUpdate':if(_0x44b8f9)return!![];if(_0x43088e)return![];if(_0x5e80f6||_0x35b8ad)return![];return!![];case _0x387e16(0x42e):return _0x5d8edb['code']===_0x387e16(0x421);default:return!![];}}function getFieldsForOperation(_0x1bb960,_0xe27593,_0xa2b0bb){const _0x4ee51a=a0_0x5456ff;if(!Array[_0x4ee51a(0x248)](_0x1bb960))return!![]&&console[_0x4ee51a(0x47e)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x1bb960),[];return _0x1bb960['filter'](_0x5c8714=>shouldIncludeField(_0x5c8714,_0xe27593,_0xa2b0bb));}function isApiBlacklisted(_0xbc13ff){const _0x12e31c=a0_0x5456ff;if(typeof _0xbc13ff!=='string')return!![]&&console[_0x12e31c(0x47e)](_0x12e31c(0x364),_0xbc13ff),![];return API_BLACKLIST[_0x12e31c(0x46c)](_0xbc13ff);}function filterApiOperations(_0x2a7ddc){const _0xe16552=a0_0x5456ff;if(!Array[_0xe16552(0x248)](_0x2a7ddc))return!![]&&console[_0xe16552(0x47e)](_0xe16552(0x259),_0x2a7ddc),[];return _0x2a7ddc[_0xe16552(0x2b7)](_0x1a3190=>_0x1a3190&&typeof _0x1a3190===_0xe16552(0x39c)&&!isApiBlacklisted(_0x1a3190[_0xe16552(0x464)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x5456ff(0x35d)](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x413ac0})=>{const _0x30e213=a0_0x5456ff;if(_0x413ac0?.[_0x30e213(0x45e)]&&Array[_0x30e213(0x248)](_0x413ac0[_0x30e213(0x45e)])&&_0x413ac0[_0x30e213(0x45e)][_0x30e213(0x46b)]>0x0)return _0x413ac0[_0x30e213(0x45e)][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x52055d})=>{const _0x4e537d=a0_0x5456ff;if(_0x52055d===_0x4e537d(0x2d8))return 0x1;if(_0x52055d==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x1cae18})=>{const _0x196e92=a0_0x5456ff;if(_0x1cae18&&typeof _0x1cae18===_0x196e92(0x386)){const _0x29288d=_0x1cae18[_0x196e92(0x371)]();if(_0x29288d[_0x196e92(0x46c)]('邮箱')||_0x29288d['includes'](_0x196e92(0x222)))return'user@example.com';if(_0x29288d[_0x196e92(0x46c)]('电话')||_0x29288d['includes']('手机')||_0x29288d[_0x196e92(0x46c)]('phone'))return _0x196e92(0x324);if(_0x29288d[_0x196e92(0x46c)]('地址')||_0x29288d[_0x196e92(0x46c)](_0x196e92(0x3ea)))return'北京市朝阳区';if(_0x29288d[_0x196e92(0x46c)]('姓名')||_0x29288d['includes'](_0x196e92(0x464)))return'张三';}return _0x196e92(0x44b);},'VARCHAR':({description:_0x4579cd})=>TYPE_VALUE_GENERATORS[a0_0x5456ff(0x267)]({'description':_0x4579cd}),'CHAR':({description:_0x43a4ed})=>TYPE_VALUE_GENERATORS[a0_0x5456ff(0x267)]({'description':_0x43a4ed}),'STRING':({fieldInfo:_0x5a949e,description:_0x5dffef})=>{const _0x4bd593=a0_0x5456ff;if(_0x5a949e?.[_0x4bd593(0x24e)]&&typeof _0x5a949e[_0x4bd593(0x24e)]===_0x4bd593(0x386)&&_0x5a949e['placeholder']!==_0x4bd593(0x298))return _0x5a949e[_0x4bd593(0x24e)][_0x4bd593(0x276)](/^请输入|^请选择/,'');const _0x467072={};return _0x467072[_0x4bd593(0x346)]=_0x5dffef,TYPE_VALUE_GENERATORS[_0x4bd593(0x267)](_0x467072);},'TEXTAREA':()=>a0_0x5456ff(0x381),'LONGTEXT':()=>a0_0x5456ff(0x381),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x5456ff(0x405),a0_0x5456ff(0x21a)],'UPLOAD':()=>a0_0x5456ff(0x1cf),'IMAGE':()=>a0_0x5456ff(0x445),'RICH_TEXT':()=>a0_0x5456ff(0x27c)};function generateExampleValue(_0xc31a0e,_0x558f9f,_0x1ca95d,_0x5d4ca1={}){const _0x4684bb=a0_0x5456ff;typeof _0xc31a0e!==_0x4684bb(0x386)&&(!![]&&console[_0x4684bb(0x47e)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0xc31a0e),_0xc31a0e=String(_0xc31a0e||''));if(typeof _0x558f9f!=='string')return!![]&&console[_0x4684bb(0x47e)](_0x4684bb(0x402),_0x558f9f),_0x4684bb(0x317);const {isPrimaryKey:_0x2c1164,dbtableConfig:_0x4b21e5}=_0x5d4ca1;if(_0x2c1164)return 0x1;if(_0x4b21e5&&typeof _0x4b21e5==='object'){const _0x27733f=_0x4b21e5[_0x4684bb(0x200)]?.['fieldName']===_0xc31a0e,_0x5a697b=_0x4b21e5[_0x4684bb(0x1d3)]?.[_0x4684bb(0x379)]===_0xc31a0e;if(_0x27733f||_0x5a697b){if(_0x1ca95d&&typeof _0x1ca95d===_0x4684bb(0x386)&&_0x1ca95d[_0x4684bb(0x292)]()['includes'](_0x4684bb(0x3bb)))return Date[_0x4684bb(0x35d)]();return new Date()[_0x4684bb(0x2d7)]()[_0x4684bb(0x276)]('T','\x20')[_0x4684bb(0x2ae)]('.')[0x0];}}const _0x4dc9bd={..._0x5d4ca1};_0x4dc9bd[_0x4684bb(0x345)]=_0xc31a0e;const _0x1f14e4=_0x4dc9bd;if(_0x1ca95d&&typeof _0x1ca95d===_0x4684bb(0x386)){const _0x2b5ef7=_0x1ca95d[_0x4684bb(0x292)](),_0x2bd40d=TYPE_VALUE_GENERATORS[_0x2b5ef7];if(_0x2bd40d)return _0x2bd40d(_0x1f14e4);}if(_0x558f9f&&typeof _0x558f9f===_0x4684bb(0x386)){const _0x328fea=_0x558f9f['toUpperCase'](),_0x19668b=TYPE_VALUE_GENERATORS[_0x328fea];if(_0x19668b)return _0x19668b(_0x1f14e4);}return _0x4684bb(0x317);}function generateExampleFromSchema(_0x108f14,_0x18bd1a){const _0x2564c3=a0_0x5456ff;if(!_0x108f14||typeof _0x108f14!==_0x2564c3(0x39c))return{};if(Array[_0x2564c3(0x248)](_0x108f14)){if(_0x108f14[_0x2564c3(0x46b)]>0x0)return[generateExampleFromSchema(_0x108f14[0x0],_0x18bd1a)];return[];}const _0x2cd51b={};return Object[_0x2564c3(0x35f)](_0x108f14)[_0x2564c3(0x3b2)](_0x132819=>{const _0x546372=_0x2564c3,_0x25398c=_0x108f14[_0x132819];if(_0x25398c&&typeof _0x25398c===_0x546372(0x39c)&&!Array['isArray'](_0x25398c)&&_0x25398c[_0x546372(0x39e)]){const _0x4d547d=_0x25398c,_0x3fcb48=_0x4d547d[_0x546372(0x39e)],_0x30d3d2=_0x4d547d['description'];if(typeof _0x3fcb48===_0x546372(0x386)){const _0x3760a3={};_0x3760a3[_0x546372(0x346)]=_0x30d3d2,_0x3760a3[_0x546372(0x3a2)]=_0x18bd1a,_0x2cd51b[_0x132819]=generateExampleValue(_0x132819,_0x3fcb48,undefined,_0x3760a3);}else _0x2cd51b[_0x132819]=_0x546372(0x317);}else{if(Array[_0x546372(0x248)](_0x25398c))_0x2cd51b[_0x132819]=_0x25398c[_0x546372(0x46b)]>0x0?[generateExampleFromSchema(_0x25398c[0x0],_0x18bd1a)]:[];else _0x25398c&&typeof _0x25398c==='object'?_0x2cd51b[_0x132819]=generateExampleFromSchema(_0x25398c,_0x18bd1a):_0x2cd51b[_0x132819]=_0x25398c;}}),_0x2cd51b;}function parseRequestBody(_0x5b5142){const _0x7cd129=a0_0x5456ff;if(!_0x5b5142)return{};try{return JSON['parse'](_0x5b5142);}catch(_0x5d8897){return!![]&&console[_0x7cd129(0x47e)](_0x7cd129(0x21d),_0x5d8897),{};}}function parseResponseBody(_0x3e540d){const _0x16db2f=a0_0x5456ff;if(!_0x3e540d)return null;try{const _0xa76635=JSON[_0x16db2f(0x2ca)](_0x3e540d);return _0xa76635['200']||_0xa76635;}catch(_0x37f40d){return!![]&&console[_0x16db2f(0x47e)](_0x16db2f(0x3eb),_0x37f40d),null;}}function generateRequestExample(_0x5f3c84,_0x587783,_0x2ff3ce,_0x585624){const _0x1fe5eb=a0_0x5456ff,_0x41cab7={};if(!Array['isArray'](_0x5f3c84))return!![]&&console['warn']('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x5f3c84),_0x41cab7;return _0x5f3c84[_0x1fe5eb(0x3b2)](_0x2845f5=>{const _0x24f3b3=_0x1fe5eb;if(!_0x2845f5||typeof _0x2845f5!==_0x24f3b3(0x39c)){!![]&&console['warn'](_0x24f3b3(0x3ff),_0x2845f5);return;}if(typeof _0x2845f5[_0x24f3b3(0x421)]!==_0x24f3b3(0x386)||typeof _0x2845f5['type']!==_0x24f3b3(0x386)){!![]&&console[_0x24f3b3(0x47e)](_0x24f3b3(0x2cc),_0x2845f5);return;}const _0x5b1402=parseFieldExtend(_0x2845f5),_0x16a42b=_0x2845f5[_0x24f3b3(0x421)]===_0x2ff3ce||Boolean(_0x5b1402?.['primaryKey']),_0x5e0ab7=generateExampleValue(_0x2845f5[_0x24f3b3(0x421)],_0x2845f5[_0x24f3b3(0x39e)],typeof _0x2845f5['dbType']==='string'?_0x2845f5[_0x24f3b3(0x353)]:undefined,{'fieldInfo':_0x5b1402,'isPrimaryKey':_0x16a42b,'description':_0x2845f5[_0x24f3b3(0x346)]||_0x2845f5[_0x24f3b3(0x464)],'dbtableConfig':_0x585624});_0x41cab7[_0x2845f5[_0x24f3b3(0x421)]]=_0x5e0ab7;}),_0x587783===_0x1fe5eb(0x42d)&&(_0x41cab7['currentPage']=0x1,_0x41cab7[_0x1fe5eb(0x28a)]=0xa),_0x41cab7;}function formatEnumValue(_0x1529bd,_0x1f8944){const _0x10051f=a0_0x5456ff;if(_0x1529bd['multiple']&&Array['isArray'](_0x1f8944))return _0x1f8944[_0x10051f(0x418)](_0x542b7b=>_0x1529bd['valueLabels'][String(_0x542b7b)]||String(_0x542b7b))[_0x10051f(0x396)](',\x20');return _0x1529bd[_0x10051f(0x3c7)][String(_0x1f8944)]||String(_0x1f8944);}function a0_0xbb4d(){const _0x4595d8=['generateSingleValueExample','toConfig','toLowerCase','getConflicts','generateFromSchema','generateHTTPExample','\x5c}\x5c}','getFieldDataSource','getFilteredOperationAnalyses','JSON','fieldName','includeUsageExample','SMALLINT','getLatestDatasets','getDbTypeForOperation','-\x20主键使用\x20`id`\x20字段\x0a','_extend','primaryKey','这是一段较长的文本内容示例','selectBestOperator','({\x20currentPage,\x20pageSize\x20});','操作名称','getDbName','string','getFieldList','datasetSDKKey','getHTTPFields','getIds','getEnumMetas','SELECT','请求示例','requestFieldCount','181616mefBlx','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','Integer','substring','where','test','join','getTooltip','hasConflict','每页条数','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getEnabled','object','9147123FKmMpi','type','_raw','Field(','add','dbtableConfig','trim','findByCode','Operation\x20not\x20found:\x20','EXCEL_EXPORT','datasetId','FILE','has','_instance','toConfigArray','();','isUpdateTime','getDOType','isNumericField','聚合函数配置数组(type:\x20sum/count/avg/max/min)','Array','forEach','requestBody','getHTTPRequestParamsDocInfo','getAutoIncrement','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getByType','GET','getNames','tableKey','TIMESTAMP',',\x20doType=','getDisplayName','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','createDate','source','prefix','withDeleted','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','dbId','文件上传','no\x20conflicts','valueLabels','$gteq','字段名称','getOneUpdate','round','HTTP\x20直接调用时使用平铺格式:\x0a','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','indexes','getFieldListWithDeleted','INTEGER','getConflictStats','排序规则(与\x20Filter\x20API\x20一致)','parseRawRequestBody','isOpenAPI','normalizeDbType','DrivenDataDetailPlus(','getDBConfig','isBusiness','generateSDKInitCode','FieldListV2(','2024-12-31','RICH_TEXT','查询单条(原始)','<!--\x5cs*CONDITION:\x5cs*','getOne','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','_min','getFieldListV2','data','getDatasetMeta','createFields','getFieldDisplayName','getDatasetDocMeta','success','STRING','address','解析\x20responseBody\x20失败:','requestFields','TINYINT','getSource','enumValues','getOperationAnalysesByType','null','getEnabledOperations','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','hasConflicts','长文本','每页数量(默认:\x2020)','repeat','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getCodes','getFieldName','getFieldRaw','forceVersion','_fieldListV2','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','[generateRequestExample]\x20Invalid\x20field:','获取数据集列表失败:\x20','avg','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','path','\x20fields,\x20','item1','getOperationDocMeta','创建导入','generateRequestExample','dbVersion','creatorIdField','15974500OOIYux','demo-app','detectConflicts','function','array','\x5c{\x5c{','dataIndex','multiple','//\x20Usage\x20examples','GET_LIST','isEnabled','ensureFilterOperation','field_name','map','GET_ONE_ORIGIN','getFileUrl','(id);','daily','value2','msg','获取上传脚本','DatasetGroup(','code','delete','getAppCode','max','CREATE_EXPORT','getEnumValues','update\x20接口接受两个参数:\x0a\x0a','UPLOAD','getDisabled','getOperators','tableName','TIME','getList','getSelectOptions','totalCount','getFieldsByType','getCountByMethod','getName','alias','isFieldPrimaryKey','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','Excel导出','modifierNameField','DbtableConfig(table:\x20','获取文件URL','BIGINT','having','orderBy','//\x20','$or','empty','getField','appCode','DECIMAL','method','generateUsageExample','https://example.com/image.jpg','排序规则','189951FjGfIP','_max','random','enabledOperationCount','示例文本','$lte','includeRequestExample','FieldV2(','const\x20fileUrl\x20=\x20await\x20client.models.','create','单值查询','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getFieldOptions','getModelName','sdkCallCode','groupByTableName','GET_FILE_URL','relations','getModelAlias','主键ID(必填)','slice','all','$lteq','options','getEnumFields','$and','autoIncrement','\x22,数据集:\x20','value1','name','generateFieldExample','_fieldListV1WithDeleted','mapDbTypeToType','getRealTables','modifierIdField','doType','length','includes','toTableName','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getRelationsByField','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getFieldDescription','getFieldsWithDeleted','IMPORT_TEMPLATE','getIndexes','getDisabledOperationInstances','-\x20其他要更新的字段直接平铺在同一层级','generateHTTPRequestExample','getCreateTime','labelField','tableColumns','responseBody','Filter\x20API\x20-\x20高级查询接口','N/A','warn','getLatest','\x20operations,\x20v1)','\x20operation','getEnum','https://example.com/file.pdf','value','GET_ONE_UPDATE','-\x20`','updateTimeField','generateAllOperationsFullSDKExample','_operations','getRawDbtableConfig','当前页码(从\x201\x20开始,默认:\x201)','(支持单值或数组)','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','_fieldListWithDeleted','modifyDate','generateOperationSummary','getOperationRequestFields','String','getRaw',',\x20currentPage,\x20pageSize,\x20...\x20});','errorCode','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','getId','columnName','getType','datasetMap','getFilterOperators','SDK\x20调用','getRequired','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','_avg','getSystemFields','customFilter','size','0000','_requestExampleCache','hasFilterOperation','getRequiredFields','({\x20code,\x20label\x20});','isDeleted','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getConflictingItems','env','getSelectItemsSource','RADIO','getSDKInitData','isSystem','exampleWhere','suffix','getUploadFileScript','getPath','createTimeField','extend','getVirtualTables','precision','String[]','stringify','富文本','$eq','$ne','padStart','total','defaultValue','toArray','BOOLEAN','2024-01-01','push','toString','hasCreatorIdField','pkField','DATETIME','[dsparser]\x20跳过重复的表名\x20\x22','$in','getFieldSelectItemsSource','$startWith','tableData','generateDefaultFilterOperation','item2','isPrimaryKey','VARCHAR','解析\x20requestBody\x20失败:','getStats','getEnumFieldMeta','({\x20','创建导出','email','status','createTime','\x20operations,\x20','host','getOperationList','getAllFieldsArray','getSystemAnalysisResult','total_count','dataset','LONGBLOB','isRequiredField','DrivenDataDetail(','getDatabaseVersion','getOperation','getOperationsOverviewData','hasCreateTimeField','useFullExample','from','_datasetMeta','_operationList','getDisabledOperations','\x20的\x20extend\x20配置失败:','getDisabledNames','getEnumMeta','SWITCH','includeDisabled','时间戳','DrivenDataDetailV2(','distinct','getBusiness','4588BNYJiq','groups','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','isSystemField','getOperationCount','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','toFieldDefinition','isArray','toDatasetCode','getBusinessFields','getOperationFieldOperators','getRequestParamsDocInfo','94278gtBnTo','placeholder','usageExample','getRelatedDataset','getFieldNames','groupByType','dataset_','FieldList(','sortOperationsWithFilterFirst','logicField','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','hasOperation','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getFieldCode','LONGTEXT','datasetCode','values','isVirtualTable','每页数量(可选)','getAll','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','toJSON','hasDblinkInfo','获取下拉选项','sortNum','isRequired','TEXT','includeDeleted','\x20indexes)','getOperationsData','generateRequestAllExamples','generateExampleValue','aggregate','/filter','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','set','lastIndexOf','任务信息','**可更新的字段列表:**','doVersion','FLOAT','replace','getInternalInstance','getExtendField','every','isMultipleSelectField','getSystem','<p>富文本内容</p>','sort','导入模板','displayName','BIT','当前页码(可选)','items','find','tenantCode','datasetKey','online','getPrimaryKeys','getCode','creatorNameField','pageSize','isEnum','支持多个条件','查询条件(支持\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)','4lCXWSC','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','successCode','count','toUpperCase','isMultipleSelect','主键ID','boolean','allFields','_datasetMap','系统自动生成','##\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','DELETE','operationCount','CHAR','dataset_000000','version','isOperatorApplicableToField','TEXTAREA','generateAliasExplanation','getOperations','isAutoIncrement','getAt','getDatabaseType','完整的\x20SDK\x20调用代码','toListItem','prototype','\x20relations,\x20','hasLogicField','CREATE_IMPORT','createImport','Number','split','getResponseSchema','findById','context','DESC','hasModifierIdField','isEmpty','modelId','_operationAnalyses','filter','min','keyword','(params);','\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','dbName','column','title','hasRelation','分组字段列表','分组后的过滤条件(对聚合结果进行过滤)','getFieldV2','toObject','getApplicableOperators','getAllDatasets','154yWzpBX','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','sum','DatasetItem(','parse','getUpdateFields','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','toDatasetName','errorMsg','fromField','iterator','label','index','operations','params','fromApiResponse','hasField','toISOString','currentPage','getFilterOperation','findByTableName','getFieldInstance','getDeleted','has\x20conflicts','generateResponseExample','default','getOperationAnalyses','dbTypeLen','taskInfo','TASK_INFO','CHECKBOX','some','getFirst','initDataset','properties','$contain','update','entries','findByName','getOperationFieldsOperatorsMap','children','OperationList(','getFieldOperators','当前页码','charAt','parseRawResponseBody','BOOL','datasetInfo','字段编码','datasetName','sdkCall','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','dblinkInfoDTO','number','getPrimaryKeyFields','getEnabledNames','getFields','generateAllOperationsSummary','getOperationAnalysis','toDatasetId','condition','getItems','$gte','\x20groups)','getRequestFields','getVersion','desc','\x20fields)','\x20items,\x20','parseFieldExtend','getTableKey','要更新的字段数据对象','getFieldsFilterOperatorsMap','getEnumOptions','validateEnumValue','_sum','isCreateTime','//\x20Call\x20the\x20','supportsCRUD','(实际字段:','enabled','示例值','conflictGroupCount','2.0','paging','createAll','getOperationStats','const\x20result\x20=\x20await\x20client.models.','responseSchema','getFilteredOperations','查询单条','select','获取数据集失败:\x20','_fieldListV1','13800138000','$endWith','get','hasUpdateTimeField','createExport','isPrimaryKeyField','getFullUrl','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','getRequestParams','getPkField','yourModel','totalGroups','filterBlacklist','excelExport','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getOperationOperators','getMethod','查询单条(用于更新)','bind','getRelations','_fields','toField','\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','importTemplate','required','hasTableName','getEnumFieldsMeta','Object','10715112okpqFS','fields','215qcCvwJ','DATE','INT','fieldCode','description','getFieldDefinition','getOldest','toFullConfig','getEnabledOperationInstances','modelCode','isEnumField','\x20API\x20文档','groupBy','deleted','updateTime','IMAGE','_relations','dbType','getFieldCount','getGroupedParams',',\x20...\x20});','NUMBER','Invalid\x20API\x20response:\x20success\x20is\x20false','getCount','CREATE','getDatasetSDKKey','conflictItemCount','now','-$1','keys','hasExtendField','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','raw','systemRetain','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','getFiltered','_fieldList','generateSDKCallCode','DOUBLE','query','getTableName','getEnabledOperationAnalyses','getMissingCRUDOperations','selectItemsSource','getOneOrigin'];a0_0xbb4d=function(){return _0x4595d8;};return a0_0xbb4d();}function formatOptionsForDoc(_0x2670a6){const _0x271187=a0_0x5456ff;return _0x2670a6[_0x271187(0x418)](_0x19ead0=>_0x19ead0[_0x271187(0x1d0)]+'('+_0x19ead0[_0x271187(0x2d1)]+')')[_0x271187(0x396)](',\x20');}function formatOptionsAsMarkdownList(_0x3811b2,_0x409a3a=0x0){const _0x559ce0=a0_0x5456ff,_0x39e16a='\x20\x20'[_0x559ce0(0x3f7)](_0x409a3a),_0x40a2d8=[];return _0x3811b2['forEach'](_0x2d8775=>{const _0x26c2f8=_0x559ce0;_0x40a2d8[_0x26c2f8(0x20f)](_0x39e16a+_0x26c2f8(0x1d2)+_0x2d8775[_0x26c2f8(0x1d0)]+'`:\x20'+_0x2d8775['label']),_0x2d8775[_0x26c2f8(0x2ee)]&&_0x2d8775[_0x26c2f8(0x2ee)]['length']>0x0&&_0x40a2d8[_0x26c2f8(0x20f)](formatOptionsAsMarkdownList(_0x2d8775['children'],_0x409a3a+0x1));}),_0x40a2d8[_0x559ce0(0x396)]('\x0a');}class DbtableConfig{[a0_0x5456ff(0x39f)];constructor(_0xe127a9){const _0x347d15=a0_0x5456ff,_0x545e28={..._0xe127a9};this[_0x347d15(0x39f)]=_0x545e28;}get['dbId'](){const _0x2ff46b=a0_0x5456ff;return this[_0x2ff46b(0x39f)][_0x2ff46b(0x3c4)];}get['dbName'](){const _0x4f6069=a0_0x5456ff;return this[_0x4f6069(0x39f)][_0x4f6069(0x2bc)]??this[_0x4f6069(0x39f)][_0x4f6069(0x2fa)]?.[_0x4f6069(0x2bc)];}get[a0_0x5456ff(0x42b)](){const _0x573c0b=a0_0x5456ff;return this[_0x573c0b(0x39f)][_0x573c0b(0x42b)];}get[a0_0x5456ff(0x285)](){const _0x3ff57c=a0_0x5456ff;return this['_raw'][_0x3ff57c(0x285)];}get['pkField'](){const _0x3f11d8=a0_0x5456ff;return this[_0x3f11d8(0x39f)][_0x3f11d8(0x212)];}get['labelField'](){const _0x504a66=a0_0x5456ff;return this[_0x504a66(0x39f)][_0x504a66(0x479)];}get['logicField'](){const _0x555110=a0_0x5456ff;return this[_0x555110(0x39f)][_0x555110(0x256)];}get['createTimeField'](){const _0x4e9f99=a0_0x5456ff;return this['_raw'][_0x4e9f99(0x200)];}get[a0_0x5456ff(0x1d3)](){const _0x3c89d5=a0_0x5456ff;return this[_0x3c89d5(0x39f)][_0x3c89d5(0x1d3)];}get[a0_0x5456ff(0x40a)](){const _0x168a51=a0_0x5456ff;return this[_0x168a51(0x39f)][_0x168a51(0x40a)];}get['creatorNameField'](){const _0x495c2a=a0_0x5456ff;return this['_raw'][_0x495c2a(0x289)];}get[a0_0x5456ff(0x469)](){const _0x2a65bf=a0_0x5456ff;return this[_0x2a65bf(0x39f)]['modifierIdField'];}get[a0_0x5456ff(0x437)](){const _0x11b192=a0_0x5456ff;return this[_0x11b192(0x39f)]['modifierNameField'];}get[a0_0x5456ff(0x2fa)](){const _0x7d4e19=a0_0x5456ff;return this[_0x7d4e19(0x39f)][_0x7d4e19(0x2fa)];}[a0_0x5456ff(0x228)](){const _0x55e171=a0_0x5456ff;if(!this[_0x55e171(0x39f)][_0x55e171(0x296)])return[];return this[_0x55e171(0x39f)][_0x55e171(0x296)]['split'](',')[_0x55e171(0x418)](_0x3c2b22=>_0x3c2b22['trim']())[_0x55e171(0x2b7)](Boolean);}['getAllFieldsString'](){const _0x38b073=a0_0x5456ff;return this[_0x38b073(0x39f)][_0x38b073(0x296)];}[a0_0x5456ff(0x2d6)](_0x31a3c4){const _0x2fbefe=a0_0x5456ff;return this[_0x2fbefe(0x228)]()[_0x2fbefe(0x46c)](_0x31a3c4);}[a0_0x5456ff(0x33d)](){const _0x7ed8fd=a0_0x5456ff;return Boolean(this[_0x7ed8fd(0x39f)]['tableName']);}['hasDblinkInfo'](){const _0x173d6e=a0_0x5456ff;return Boolean(this['_raw'][_0x173d6e(0x2fa)]);}[a0_0x5456ff(0x2aa)](){const _0xbc0fc5=a0_0x5456ff;return Boolean(this['_raw']['logicField']?.[_0xbc0fc5(0x379)]);}['hasCreateTimeField'](){const _0x52701f=a0_0x5456ff;return Boolean(this['_raw']['createTimeField']?.[_0x52701f(0x379)]);}['hasUpdateTimeField'](){const _0x47f9c0=a0_0x5456ff;return Boolean(this[_0x47f9c0(0x39f)][_0x47f9c0(0x1d3)]?.['fieldName']);}[a0_0x5456ff(0x211)](){const _0x502cf0=a0_0x5456ff;return Boolean(this['_raw']['creatorIdField']?.[_0x502cf0(0x379)]);}[a0_0x5456ff(0x2b3)](){const _0x473442=a0_0x5456ff;return Boolean(this['_raw'][_0x473442(0x469)]?.['fieldName']);}['isPrimaryKeyField'](_0x118345){const _0x4a6da5=a0_0x5456ff;return this[_0x4a6da5(0x39f)][_0x4a6da5(0x212)]===_0x118345;}[a0_0x5456ff(0x244)](_0x1a83ba){const _0x5666e9=a0_0x5456ff;return this[_0x5666e9(0x329)](_0x1a83ba)||this['_raw']['logicField']?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)]['createTimeField']?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)]['updateTimeField']?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x40a)]?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x289)]?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x469)]?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x437)]?.[_0x5666e9(0x379)]===_0x1a83ba;}['getDatabaseName'](){const _0x5dc579=a0_0x5456ff;return this[_0x5dc579(0x39f)][_0x5dc579(0x2fa)]?.[_0x5dc579(0x2bc)];}[a0_0x5456ff(0x2a5)](){const _0x27da8a=a0_0x5456ff;return this[_0x27da8a(0x39f)][_0x27da8a(0x2fa)]?.[_0x27da8a(0x353)];}[a0_0x5456ff(0x22f)](){const _0x2d0d87=a0_0x5456ff;return this['_raw'][_0x2d0d87(0x2fa)]?.[_0x2d0d87(0x409)];}['getTenantCode'](){const _0x2119a1=a0_0x5456ff;return this[_0x2119a1(0x39f)][_0x2119a1(0x2fa)]?.[_0x2119a1(0x284)];}[a0_0x5456ff(0x423)](){const _0x473763=a0_0x5456ff;return this['_raw'][_0x473763(0x2fa)]?.['appCode'];}[a0_0x5456ff(0x229)](){const _0xbcabd2=a0_0x5456ff;return this['_raw'][_0xbcabd2(0x2fa)]?.['systemAnalysisResult'];}[a0_0x5456ff(0x21e)](){const _0x1d54a9=a0_0x5456ff;return{'hasTableName':this[_0x1d54a9(0x33d)](),'hasDblinkInfo':this[_0x1d54a9(0x263)](),'fieldCount':this['getAllFieldsArray']()[_0x1d54a9(0x46b)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x1d54a9(0x232)](),'hasUpdateTimeField':this[_0x1d54a9(0x327)](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this['hasModifierIdField']()}};}['toConfig'](){const _0xbbb7ed=a0_0x5456ff,_0x20994a={};return _0x20994a[_0xbbb7ed(0x42b)]=this[_0xbbb7ed(0x42b)],_0x20994a[_0xbbb7ed(0x212)]=this[_0xbbb7ed(0x212)],_0x20994a[_0xbbb7ed(0x285)]=this['datasetKey'],_0x20994a[_0xbbb7ed(0x3c4)]=this[_0xbbb7ed(0x3c4)],_0x20994a;}['toJSON'](){const _0x2c14ad=a0_0x5456ff,_0x46d805={...this[_0x2c14ad(0x39f)]};return _0x46d805;}[a0_0x5456ff(0x1df)](){const _0x2c0cd4={...this['_raw']};return _0x2c0cd4;}[a0_0x5456ff(0x210)](){const _0x5cb9b0=a0_0x5456ff,_0x2437b4=this[_0x5cb9b0(0x42b)]||_0x5cb9b0(0x47d),_0x2044d3=this[_0x5cb9b0(0x228)]()[_0x5cb9b0(0x46b)];return _0x5cb9b0(0x438)+_0x2437b4+',\x20fields:\x20'+_0x2044d3+')';}static[a0_0x5456ff(0x43f)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x5456ff(0x39f)];constructor(_0x5ed77c){const _0x4edc0b=a0_0x5456ff,_0x1d7457=_0x5ed77c[_0x4edc0b(0x25c)]||_0x5ed77c[_0x4edc0b(0x421)]||_0x5ed77c[_0x4edc0b(0x34b)],_0x365e4c={..._0x5ed77c};_0x365e4c[_0x4edc0b(0x25c)]=_0x1d7457,this[_0x4edc0b(0x39f)]=_0x365e4c;}get['id'](){const _0x4152f5=a0_0x5456ff;return this[_0x4152f5(0x39f)]['id'];}get[a0_0x5456ff(0x464)](){const _0xfdc6e7=a0_0x5456ff;return this['_raw'][_0xfdc6e7(0x464)];}['getName'](){const _0x4fa5fd=a0_0x5456ff;return this[_0x4fa5fd(0x464)];}get[a0_0x5456ff(0x25c)](){const _0x5b8324=a0_0x5456ff;return this[_0x5b8324(0x39f)][_0x5b8324(0x25c)]||'';}get[a0_0x5456ff(0x3a2)](){const _0x2d7a54=a0_0x5456ff;if(!this[_0x2d7a54(0x39f)][_0x2d7a54(0x3a2)])return null;return new DbtableConfig(this['_raw'][_0x2d7a54(0x3a2)]);}['getRawDbtableConfig'](){const _0xa64ce5=a0_0x5456ff;return this[_0xa64ce5(0x39f)][_0xa64ce5(0x3a2)];}[a0_0x5456ff(0x385)](){const _0x2fabd3=a0_0x5456ff;return this[_0x2fabd3(0x3a2)]?.[_0x2fabd3(0x2bc)]||'';}[a0_0x5456ff(0x36a)](){const _0x2f5494=a0_0x5456ff;return getTableName(this[_0x2f5494(0x39f)]);}[a0_0x5456ff(0x30c)](){const _0xa211c8=a0_0x5456ff;return getTableKey(this[_0xa211c8(0x36a)]());}[a0_0x5456ff(0x35b)](){const _0x32931d=a0_0x5456ff;return generateModelKeyFromCode(this[_0x32931d(0x25c)]);}[a0_0x5456ff(0x25e)](){const _0x4aa415=a0_0x5456ff;return isVirtualTableName(this[_0x4aa415(0x36a)]());}[a0_0x5456ff(0x454)](){const _0x3d6be3=a0_0x5456ff;return getTableKey(this[_0x3d6be3(0x36a)]());}[a0_0x5456ff(0x370)](){const _0xc40275=a0_0x5456ff,_0x5ce273=getTableKey(this['getTableName']());return{'key':_0x5ce273,'alias':_0x5ce273,'tableName':this[_0xc40275(0x36a)](),'datasetCode':this[_0xc40275(0x25c)],'name':this[_0xc40275(0x464)]};}[a0_0x5456ff(0x262)](){const _0x23cd36=a0_0x5456ff,_0x4ad7e6={...this[_0x23cd36(0x39f)]};return _0x4ad7e6[_0x23cd36(0x25c)]=this[_0x23cd36(0x25c)],_0x4ad7e6;}[a0_0x5456ff(0x1df)](){const _0x4960fc=a0_0x5456ff,_0x498683={...this[_0x4960fc(0x39f)]};return _0x498683;}['hasDbtableConfig'](){const _0x173bfe=a0_0x5456ff,_0x2cd305=this[_0x173bfe(0x3a2)];return _0x2cd305!==null&&_0x2cd305[_0x173bfe(0x33d)]();}[a0_0x5456ff(0x278)](_0x30198b){const _0x243248=a0_0x5456ff;return this[_0x243248(0x39f)][_0x30198b];}[a0_0x5456ff(0x360)](_0x4d8566){return _0x4d8566 in this['_raw'];}[a0_0x5456ff(0x210)](){const _0x3e68f9=a0_0x5456ff;return _0x3e68f9(0x2c9)+this['name']+',\x20'+this[_0x3e68f9(0x25c)]+')';}}class Operation{[a0_0x5456ff(0x464)];[a0_0x5456ff(0x39f)];[a0_0x5456ff(0x2b1)];constructor(_0x4ca34e,_0x2d354c,_0x293ca9){const _0x16ea49=a0_0x5456ff;this[_0x16ea49(0x464)]=_0x4ca34e,this[_0x16ea49(0x39f)]=_0x2d354c,this['context']=_0x293ca9;}[a0_0x5456ff(0x432)](){return this['name'];}['getDisplayName'](){const _0x148140=a0_0x5456ff;return OPERATION_TYPE_DISPLAY_NAME[this[_0x148140(0x464)]]||this[_0x148140(0x464)];}[a0_0x5456ff(0x1e5)](){const _0x1cb3ac=a0_0x5456ff;return parseOperationType(this[_0x1cb3ac(0x464)]);}[a0_0x5456ff(0x415)](){const _0x3fe4a3=a0_0x5456ff;return this[_0x3fe4a3(0x39f)]!==null&&this[_0x3fe4a3(0x39f)]!==![];}[a0_0x5456ff(0x334)](){const _0x57eca8=a0_0x5456ff,_0x23ea05=this[_0x57eca8(0x39f)];if(_0x23ea05===![]||_0x23ea05===null)return'';return _0x23ea05[_0x57eca8(0x443)]||_0x57eca8(0x3b8);}['getPath'](){const _0x24f21c=a0_0x5456ff,_0x418d9b=this['_raw'];if(_0x418d9b===![]||_0x418d9b===null)return'';return _0x418d9b[_0x24f21c(0x403)]||'';}['getFullUrl'](){const _0x3bdd81=a0_0x5456ff,_0x12cda2=this[_0x3bdd81(0x39f)];let _0x197e8c='';_0x12cda2!==![]&&_0x12cda2!==null&&_0x12cda2[_0x3bdd81(0x226)]&&(_0x197e8c=_0x12cda2[_0x3bdd81(0x226)]);const _0x4c19ef=this[_0x3bdd81(0x1ff)]();return _0x197e8c&&_0x4c19ef?''+_0x197e8c+_0x4c19ef:_0x4c19ef;}[a0_0x5456ff(0x3d3)](){const _0x2c9ce9=a0_0x5456ff,_0x29b666=this[_0x2c9ce9(0x39f)];if(_0x29b666===![]||_0x29b666===null||!_0x29b666[_0x2c9ce9(0x3b3)])return{};try{return JSON[_0x2c9ce9(0x2ca)](_0x29b666['requestBody']);}catch{return{};}}[a0_0x5456ff(0x2f3)](){const _0x1dd876=a0_0x5456ff,_0x120a1b=this['_raw'];if(_0x120a1b===![]||_0x120a1b===null||!_0x120a1b[_0x1dd876(0x47b)])return null;try{return JSON[_0x1dd876(0x2ca)](_0x120a1b['responseBody']);}catch{return null;}}['getRequestParams'](){const _0xc5e8f=a0_0x5456ff;return this[_0xc5e8f(0x3d3)]();}[a0_0x5456ff(0x2af)](){const _0x397dde=a0_0x5456ff;return this[_0x397dde(0x2f3)]();}[a0_0x5456ff(0x306)](){const _0x31edfc=a0_0x5456ff,_0x56b7f3=this['getRequestParams']();return Object[_0x31edfc(0x35f)](_0x56b7f3);}[a0_0x5456ff(0x408)](){const _0x5b1e43=a0_0x5456ff,_0x102b6b=this[_0x5b1e43(0x32c)](),_0x1a5c28={};return Object[_0x5b1e43(0x2eb)](_0x102b6b)[_0x5b1e43(0x3b2)](([_0x2ea11a,_0x3e3a60])=>{const _0x19b5d2=_0x5b1e43,_0x35e2ad=_0x3e3a60;_0x1a5c28[_0x2ea11a]=generateExampleValue(_0x2ea11a,_0x35e2ad['type']||'String',undefined,{'description':_0x35e2ad[_0x19b5d2(0x346)]});}),_0x1a5c28;}[a0_0x5456ff(0x374)](){const _0x26acd9=a0_0x5456ff;return this[_0x26acd9(0x408)]();}[a0_0x5456ff(0x2de)](){const _0x315b22=a0_0x5456ff,_0x388205=this['parseRawResponseBody']();if(!_0x388205){const _0x3e78e4={};return _0x3e78e4['success']=!![],_0x3e78e4['msg']='操作成功',_0x3e78e4[_0x315b22(0x2ce)]='',_0x3e78e4[_0x315b22(0x1e1)]=_0x315b22(0x1ef),_0x3e78e4[_0x315b22(0x3e3)]=null,_0x3e78e4;}return this[_0x315b22(0x373)](_0x388205);}[a0_0x5456ff(0x373)](_0x3a3384){const _0x95235c=a0_0x5456ff;if(!_0x3a3384||typeof _0x3a3384!==_0x95235c(0x39c))return{};if(Array[_0x95235c(0x248)](_0x3a3384))return _0x3a3384['length']>0x0?[this['generateFromSchema'](_0x3a3384[0x0])]:[];const _0x3c93fc={};for(const [_0x26fb32,_0x3eff88]of Object[_0x95235c(0x2eb)](_0x3a3384)){if(_0x3eff88&&typeof _0x3eff88==='object'&&!Array[_0x95235c(0x248)](_0x3eff88)){const _0x5c34ab=_0x3eff88;_0x3c93fc[_0x26fb32]=generateExampleValue(_0x26fb32,_0x5c34ab[_0x95235c(0x39e)]||'String',undefined,{'description':_0x5c34ab[_0x95235c(0x346)]});}else Array['isArray'](_0x3eff88)?_0x3c93fc[_0x26fb32]=_0x3eff88['length']>0x0?[this[_0x95235c(0x373)](_0x3eff88[0x0])]:[]:_0x3c93fc[_0x26fb32]=_0x3eff88;}return _0x3c93fc;}[a0_0x5456ff(0x465)](_0x4ed1a9,_0x51c6da,_0x41c204,_0x4344fd){return generateExampleValue(_0x4ed1a9,_0x51c6da,_0x41c204,_0x4344fd);}[a0_0x5456ff(0x367)](_0x14f7fc,_0x15d181){const _0x198f0c=a0_0x5456ff,_0x212d33=this[_0x198f0c(0x432)]();return _0x198f0c(0x31d)+_0x14f7fc+'.'+_0x212d33+_0x198f0c(0x3ac);}['generateUsageExample'](_0x1b5700){const _0x5db664=a0_0x5456ff,_0x421e59=this['getName'](),_0x464fb1=_0x1b5700||_0x5db664(0x32e),_0x116852={};return _0x116852['successCode']='const\x20data\x20=\x20await\x20client.models.'+_0x464fb1+'.'+_0x421e59+_0x5db664(0x3ac),_0x116852[_0x5db664(0x1e1)]=_0x5db664(0x3e0)+_0x464fb1+'.'+_0x421e59+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x116852;}[a0_0x5456ff(0x24c)](){const _0x44baa6=a0_0x5456ff,_0x263968=this[_0x44baa6(0x32c)](),_0x503a9f=Object[_0x44baa6(0x2eb)](_0x263968)[_0x44baa6(0x418)](([_0x9ef2,_0x5e5f96])=>{const _0x28bb56=_0x44baa6,_0x105c11=_0x5e5f96,_0x23de83={};return _0x23de83[_0x28bb56(0x464)]=_0x9ef2,_0x23de83['type']=_0x105c11[_0x28bb56(0x39e)]||_0x28bb56(0x1de),_0x23de83[_0x28bb56(0x346)]=_0x105c11['description']||'-',_0x23de83[_0x28bb56(0x33c)]=_0x105c11[_0x28bb56(0x33c)],_0x23de83;}),_0x41251d={};return _0x41251d[_0x44baa6(0x2d4)]=_0x503a9f,_0x41251d;}['getResponseParamsDocInfo'](){const _0x45bdf7=a0_0x5456ff,_0x45cd34=this[_0x45bdf7(0x2f3)]();if(!_0x45cd34){const _0x4c3783={};return _0x4c3783[_0x45bdf7(0x2d4)]=[],_0x4c3783;}const _0x554a2e=Object['entries'](_0x45cd34)[_0x45bdf7(0x418)](([_0xd6e426,_0x43873b])=>{const _0xdae793=_0x45bdf7,_0x8e06f2=_0x43873b,_0x23b5c5={};return _0x23b5c5[_0xdae793(0x464)]=_0xd6e426,_0x23b5c5['type']=_0x8e06f2[_0xdae793(0x39e)]||'String',_0x23b5c5[_0xdae793(0x346)]=_0x8e06f2[_0xdae793(0x346)]||'-',_0x23b5c5;}),_0x9fa844={};return _0x9fa844[_0x45bdf7(0x2d4)]=_0x554a2e,_0x9fa844;}[a0_0x5456ff(0x1ec)](){return[];}[a0_0x5456ff(0x24a)](){return this['context']['fields']||[];}['getAllParams'](){return{'systemFields':this['getSystemFields'](),'businessFields':this['getBusinessFields']()};}['getFieldDefinition'](_0x1c4640){const _0x122047=a0_0x5456ff;return this[_0x122047(0x2b1)][_0x122047(0x341)]['find'](_0x280a35=>_0x280a35?.[_0x122047(0x421)]===_0x1c4640);}[a0_0x5456ff(0x25a)](_0x24bf82){const _0x29e05d=a0_0x5456ff;return _0x24bf82[_0x29e05d(0x421)];}['getFieldType'](_0x5be854){return _0x5be854['type'];}[a0_0x5456ff(0x3e6)](_0x182293){const _0x51ebf4=a0_0x5456ff;return _0x182293[_0x51ebf4(0x464)];}[a0_0x5456ff(0x471)](_0x541175){const _0x5d6bdf=a0_0x5456ff;return _0x541175[_0x5d6bdf(0x346)];}['getFieldOptions'](_0x1e97e3){const _0x35e9e3=a0_0x5456ff;return _0x1e97e3[_0x35e9e3(0x30f)]()||null;}[a0_0x5456ff(0x434)](_0x31cfe6){const _0x4793c0=a0_0x5456ff;return _0x31cfe6[_0x4793c0(0x21b)]();}[a0_0x5456ff(0x42a)](){return[];}[a0_0x5456ff(0x2f0)](_0x530358){return[];}[a0_0x5456ff(0x262)](){const _0x4493db=a0_0x5456ff;return{'name':this[_0x4493db(0x432)](),'displayName':this[_0x4493db(0x3bd)](),'type':this['getType'](),'enabled':this[_0x4493db(0x415)](),'method':this[_0x4493db(0x334)](),'path':this['getPath'](),'fullUrl':this[_0x4493db(0x32a)](),'requestParams':this[_0x4493db(0x32c)](),'requestExample':this[_0x4493db(0x408)](),'responseExample':this[_0x4493db(0x2de)]()};}[a0_0x5456ff(0x210)](){const _0x1c98a2=a0_0x5456ff,_0x11e738=this[_0x1c98a2(0x415)]()?'启用':'禁用';return this[_0x1c98a2(0x3bd)]()+'('+this[_0x1c98a2(0x464)]+',\x20'+_0x11e738+')';}}class GenericOperation extends Operation{[a0_0x5456ff(0x1f0)];[a0_0x5456ff(0x32c)](){const _0x4a9e83=a0_0x5456ff;return this[_0x4a9e83(0x3d3)]();}[a0_0x5456ff(0x2af)](){return this['parseRawResponseBody']();}[a0_0x5456ff(0x408)](){const _0x34857c=a0_0x5456ff;if(this[_0x34857c(0x1f0)])return this[_0x34857c(0x1f0)];const _0x49ca26={},_0x4b28e3=this[_0x34857c(0x32c)](),_0x4f4c99=this[_0x34857c(0x1e5)]();if(Object[_0x34857c(0x35f)](_0x4b28e3)['length']===0x0&&_0x4f4c99){const _0x5832da=this[_0x34857c(0x24a)]();return _0x5832da[_0x34857c(0x3b2)](_0x31e782=>{const _0x5c425f=_0x34857c,_0x4d0b89=_0x31e782[_0x5c425f(0x421)],_0x243ed8=_0x31e782[_0x5c425f(0x39e)],_0x3dd941=this['generateFieldExample'](_0x4d0b89,_0x243ed8,_0x31e782['getDbTypeForOperation'](),{'isPrimaryKey':_0x31e782[_0x5c425f(0x21b)](),'description':_0x31e782[_0x5c425f(0x346)]||_0x31e782[_0x5c425f(0x464)]});_0x49ca26[_0x4d0b89]=_0x3dd941;}),this[_0x34857c(0x1f0)]=_0x49ca26,_0x49ca26;}return Object['entries'](_0x4b28e3)[_0x34857c(0x3b2)](([_0x1d46ff,_0x12b386])=>{const _0x8b62a0=_0x34857c,_0x41f055=_0x12b386;let _0x53e9e5;if(typeof _0x41f055[_0x8b62a0(0x39e)]===_0x8b62a0(0x386))_0x53e9e5=_0x41f055[_0x8b62a0(0x39e)];else _0x41f055['type']&&typeof _0x41f055['type']===_0x8b62a0(0x39c)?_0x53e9e5=_0x41f055[_0x8b62a0(0x39e)][_0x8b62a0(0x39e)]||_0x8b62a0(0x267):_0x53e9e5=_0x8b62a0(0x267);const _0x483f6f=_0x41f055[_0x8b62a0(0x346)],_0x39ba61=this[_0x8b62a0(0x347)](_0x1d46ff);if(_0x1d46ff===_0x8b62a0(0x2d8))_0x49ca26[_0x1d46ff]=0x1;else{if(_0x1d46ff===_0x8b62a0(0x28a))_0x49ca26[_0x1d46ff]=0xa;else{if(_0x1d46ff==='id')_0x49ca26[_0x1d46ff]=0x1;else{const _0xea4bfe=_0x39ba61?_0x39ba61['getDbTypeForOperation']():undefined,_0x8989a2=_0x39ba61?_0x39ba61[_0x8b62a0(0x346)]:undefined,_0x2f326e=_0x39ba61?_0x39ba61['name']:undefined;_0x49ca26[_0x1d46ff]=this[_0x8b62a0(0x465)](_0x1d46ff,_0x53e9e5,_0xea4bfe||undefined,{'isPrimaryKey':_0x1d46ff===this['context'][_0x8b62a0(0x212)]||_0x1d46ff==='id','description':_0x483f6f||_0x8989a2||_0x2f326e});}}}}),this[_0x34857c(0x1f0)]=_0x49ca26,_0x49ca26;}[a0_0x5456ff(0x2de)](){const _0x48f98a=a0_0x5456ff,_0x2264e9=this[_0x48f98a(0x2af)]();if(!_0x2264e9){const _0x14e397={};return _0x14e397[_0x48f98a(0x3e8)]=!![],_0x14e397[_0x48f98a(0x41e)]='操作成功',_0x14e397[_0x48f98a(0x2ce)]='',_0x14e397[_0x48f98a(0x1e1)]=_0x48f98a(0x1ef),_0x14e397['data']=null,_0x14e397;}return this[_0x48f98a(0x373)](_0x2264e9);}[a0_0x5456ff(0x373)](_0x10f665){const _0x3dbe1e=a0_0x5456ff;if(!_0x10f665||typeof _0x10f665!==_0x3dbe1e(0x39c))return{};if(Array[_0x3dbe1e(0x248)](_0x10f665)){if(_0x10f665[_0x3dbe1e(0x46b)]>0x0)return[this[_0x3dbe1e(0x373)](_0x10f665[0x0])];return[];}const _0x3f506e={};return Object[_0x3dbe1e(0x35f)](_0x10f665)[_0x3dbe1e(0x3b2)](_0x1b98f9=>{const _0x302d0f=_0x3dbe1e,_0x14f6a9=_0x10f665[_0x1b98f9];if(_0x14f6a9&&typeof _0x14f6a9===_0x302d0f(0x39c)&&!Array[_0x302d0f(0x248)](_0x14f6a9)&&_0x14f6a9['type']){const _0x13f607=_0x14f6a9;let _0x2be6fb;if(typeof _0x13f607[_0x302d0f(0x39e)]==='string')_0x2be6fb=_0x13f607[_0x302d0f(0x39e)];else _0x13f607[_0x302d0f(0x39e)]&&typeof _0x13f607[_0x302d0f(0x39e)]===_0x302d0f(0x39c)?_0x2be6fb=_0x13f607['type'][_0x302d0f(0x39e)]||_0x302d0f(0x267):_0x2be6fb=_0x302d0f(0x267);const _0x3cc4f9=_0x13f607[_0x302d0f(0x346)],_0x3cbfcd={};_0x3cbfcd[_0x302d0f(0x346)]=_0x3cc4f9,_0x3f506e[_0x1b98f9]=this[_0x302d0f(0x465)](_0x1b98f9,_0x2be6fb,undefined,_0x3cbfcd);}else{if(Array[_0x302d0f(0x248)](_0x14f6a9))_0x3f506e[_0x1b98f9]=_0x14f6a9[_0x302d0f(0x46b)]>0x0?[this[_0x302d0f(0x373)](_0x14f6a9[0x0])]:[];else _0x14f6a9&&typeof _0x14f6a9===_0x302d0f(0x39c)?_0x3f506e[_0x1b98f9]=this[_0x302d0f(0x373)](_0x14f6a9):_0x3f506e[_0x1b98f9]=_0x14f6a9;}}),_0x3f506e;}[a0_0x5456ff(0x367)](_0xf80432,_0x2f6d18){const _0x1c46cb=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2f6d18||{},_0x4124e9=this['getName'](),_0x88b03d=this[_0x1c46cb(0x1e5)](),_0x21b98d=this[_0x1c46cb(0x306)](),_0x191691=this['generateRequestExample'](),_0x1e33a7=_0x5a4139=>{const _0xf8239e=_0x1c46cb;if(Object[_0xf8239e(0x35f)](_0x5a4139)['length']===0x0)return'{}';const _0x1f205d=JSON[_0xf8239e(0x205)](_0x5a4139,null,0x2)['split']('\x0a')[_0xf8239e(0x418)]((_0x1e676d,_0x51d8d8)=>_0x51d8d8===0x0?_0x1e676d:indent+_0x1e676d)[_0xf8239e(0x396)]('\x0a');return _0x1f205d;};switch(_0x88b03d){case _0x1c46cb(0x3df):case'delete':return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x41b);case _0x1c46cb(0x2ea):if(useFullExample&&Object[_0x1c46cb(0x35f)](_0x191691)[_0x1c46cb(0x46b)]>0x0)return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+'(id,\x20'+_0x1e33a7(_0x191691)+');';return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+'(id,\x20data);';case _0x1c46cb(0x450):case'getList':case _0x1c46cb(0x42e):default:if(_0x21b98d[_0x1c46cb(0x46b)]>0x0){if(useFullExample&&Object[_0x1c46cb(0x35f)](_0x191691)[_0x1c46cb(0x46b)]>0x0)return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+'('+_0x1e33a7(_0x191691)+');';else{const _0x573ef2=Object['keys'](_0x191691);if(_0x573ef2[_0x1c46cb(0x46b)]>0x0){const _0x4e588e=_0x573ef2[_0x1c46cb(0x45b)](0x0,0x2)[_0x1c46cb(0x396)](',\x20');return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x220)+_0x4e588e+_0x1c46cb(0x356);}else return'const\x20result\x20=\x20await\x20client.models.'+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x2ba);}}else return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x3ac);}}['generateRequestAllExamples'](){const _0x2f9d3d=a0_0x5456ff;return[{'title':_0x2f9d3d(0x38d),'data':this['generateRequestExample']()}];}[a0_0x5456ff(0x1ec)](){const _0xe42431=a0_0x5456ff,_0x4d4d8b=this[_0xe42431(0x1e5)](),_0x3d8b0d=[];switch(_0x4d4d8b){case _0xe42431(0x3df):case'delete':const _0x44ba39={};_0x44ba39['code']='id',_0x44ba39[_0xe42431(0x39e)]=_0xe42431(0x357),_0x44ba39[_0xe42431(0x346)]=_0xe42431(0x294),_0x3d8b0d[_0xe42431(0x20f)](_0x44ba39);break;case _0xe42431(0x42d):const _0x373728={};_0x373728[_0xe42431(0x421)]=_0xe42431(0x2d8),_0x373728[_0xe42431(0x39e)]='NUMBER',_0x373728['description']=_0xe42431(0x2f1);const _0xe19717={};_0xe19717['code']=_0xe42431(0x28a),_0xe19717['type']='NUMBER',_0xe19717['description']=_0xe42431(0x399),_0x3d8b0d['push'](_0x373728,_0xe19717);break;case'getSelectOptions':const _0xf25458={};_0xf25458['code']=_0xe42431(0x421),_0xf25458['type']='STRING',_0xf25458[_0xe42431(0x346)]='选项编码(可选)',_0x3d8b0d[_0xe42431(0x20f)](_0xf25458);break;default:break;}return _0x3d8b0d;}[a0_0x5456ff(0x24a)](){const _0x59af69=a0_0x5456ff,_0x59f16b=this[_0x59af69(0x1e5)](),_0x265006=this[_0x59af69(0x2b1)][_0x59af69(0x341)]||[];switch(_0x59f16b){case _0x59af69(0x3df):case'delete':return[];case _0x59af69(0x450):return _0x265006[_0x59af69(0x2b7)](_0x52099d=>{const _0x5bfe35=_0x59af69;if(_0x52099d[_0x5bfe35(0x34f)])return![];if(_0x52099d[_0x5bfe35(0x21b)]()&&_0x52099d[_0x5bfe35(0x2a3)]())return![];if(_0x52099d[_0x5bfe35(0x1fb)]())return![];if(_0x52099d['isCreateTime']()||_0x52099d[_0x5bfe35(0x3ad)]())return![];return!![];});case _0x59af69(0x2ea):return _0x265006['filter'](_0x2baa16=>{const _0x27caa6=_0x59af69;if(_0x2baa16[_0x27caa6(0x34f)])return![];if(_0x2baa16[_0x27caa6(0x21b)]())return![];if(_0x2baa16[_0x27caa6(0x1fb)]())return![];if(_0x2baa16['isCreateTime']()||_0x2baa16['isUpdateTime']())return![];if(_0x2baa16[_0x27caa6(0x2a3)]())return![];return!![];});case _0x59af69(0x42d):case'getSelectOptions':return _0x265006['filter'](_0x5e1246=>!_0x5e1246[_0x59af69(0x34f)]&&_0x5e1246[_0x59af69(0x3d8)]());default:return _0x265006[_0x59af69(0x2b7)](_0x32f571=>!_0x32f571['deleted']&&_0x32f571[_0x59af69(0x3d8)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x834b8f=a0_0x5456ff,_0x598353=super[_0x834b8f(0x32c)](),_0x5cee8f=Object[_0x834b8f(0x35f)](_0x598353);if(_0x5cee8f[_0x834b8f(0x46b)]===0x0||_0x5cee8f[_0x834b8f(0x46b)]===0x1&&_0x5cee8f[0x0]===_0x834b8f(0x421)){if(!_0x598353[_0x834b8f(0x421)]){const _0x53a788={};_0x53a788[_0x834b8f(0x39e)]=_0x834b8f(0x1de),_0x53a788[_0x834b8f(0x346)]=_0x834b8f(0x2f6),_0x598353[_0x834b8f(0x421)]=_0x53a788;}const _0x1e5b22={};_0x1e5b22[_0x834b8f(0x39e)]='String',_0x1e5b22[_0x834b8f(0x346)]=_0x834b8f(0x3c9),_0x598353['label']=_0x1e5b22;}return _0x598353;}[a0_0x5456ff(0x24a)](){return[];}['getSystemFields'](){const _0xa17775=a0_0x5456ff,_0x375f49={};_0x375f49['code']=_0xa17775(0x421),_0x375f49[_0xa17775(0x39e)]=_0xa17775(0x1de),_0x375f49[_0xa17775(0x346)]=_0xa17775(0x2f6);const _0x45e999={};return _0x45e999['code']=_0xa17775(0x2d1),_0x45e999[_0xa17775(0x39e)]=_0xa17775(0x1de),_0x45e999[_0xa17775(0x346)]=_0xa17775(0x3c9),[_0x375f49,_0x45e999];}['generateRequestExample'](){const _0x230304=a0_0x5456ff,_0x388f08={};return _0x388f08[_0x230304(0x421)]='field_name',_0x388f08[_0x230304(0x2d1)]=_0x230304(0x417),_0x388f08;}['generateSDKCallCode'](_0x65c0fd){const _0x1b0edc=a0_0x5456ff,_0x5a1d78=this[_0x1b0edc(0x432)]();return _0x1b0edc(0x31d)+_0x65c0fd+'.'+_0x5a1d78+_0x1b0edc(0x1f3);}}class GetListOperation extends GenericOperation{[a0_0x5456ff(0x32c)](){const _0x4ee2a1=a0_0x5456ff,_0x561925=super[_0x4ee2a1(0x32c)](),{currentPage:_0x10466f,pageSize:_0x3cd558,..._0x394e8c}=_0x561925,_0x360ae4={};Object[_0x4ee2a1(0x2eb)](_0x394e8c)[_0x4ee2a1(0x3b2)](([_0x59aebf,_0x2cbc09])=>{const _0x431a07=_0x4ee2a1;if(typeof _0x2cbc09===_0x431a07(0x39c)&&_0x2cbc09!==null){const _0x4dc144=_0x2cbc09,_0x406a29=_0x4dc144[_0x431a07(0x346)]||'',_0x59d39c={..._0x4dc144};_0x59d39c['description']=_0x406a29?_0x406a29+_0x431a07(0x1d8):'支持单值或数组',_0x360ae4[_0x59aebf]=_0x59d39c;}else _0x360ae4[_0x59aebf]=_0x2cbc09;});const _0x3918ab={...typeof _0x10466f===_0x4ee2a1(0x39c)?_0x10466f:{}};_0x3918ab['type']='Number',_0x3918ab[_0x4ee2a1(0x346)]='当前页码';const _0x1f06c2={...typeof _0x3cd558===_0x4ee2a1(0x39c)?_0x3cd558:{}};_0x1f06c2[_0x4ee2a1(0x39e)]=_0x4ee2a1(0x2ad),_0x1f06c2[_0x4ee2a1(0x346)]='每页数量';const _0x146cb9={..._0x360ae4};return _0x146cb9[_0x4ee2a1(0x2d8)]=_0x3918ab,_0x146cb9[_0x4ee2a1(0x28a)]=_0x1f06c2,_0x146cb9;}['generateRequestExample'](_0x1b4821){const _0x31c44a=a0_0x5456ff,{useArrayValues:useArrayValues=!![]}=_0x1b4821||{},_0x1ec3de=super['generateRequestExample'](),{currentPage:_0x170775,pageSize:_0x2fff2d,..._0x28c3c7}=_0x1ec3de;if(!useArrayValues){const _0x337b6e={..._0x28c3c7};return _0x337b6e[_0x31c44a(0x2d8)]=_0x170775??0x1,_0x337b6e[_0x31c44a(0x28a)]=_0x2fff2d??0xa,_0x337b6e;}const _0xab67d5={},_0x547777=['id',_0x31c44a(0x223),_0x31c44a(0x421),'type'];Object[_0x31c44a(0x2eb)](_0x28c3c7)['forEach'](([_0x39e8be,_0x165667],_0x20c42d)=>{const _0x40aa79=_0x31c44a,_0x594e4f=_0x547777[_0x40aa79(0x2e5)](_0x119fbb=>_0x39e8be['toLowerCase']()[_0x40aa79(0x46c)](_0x119fbb))||_0x20c42d%0x3===0x0;if(_0x594e4f&&_0x165667!==null&&_0x165667!==undefined){if(typeof _0x165667===_0x40aa79(0x2fb))_0xab67d5[_0x39e8be]=[_0x165667,_0x165667+0x1,_0x165667+0x2];else typeof _0x165667===_0x40aa79(0x386)?_0xab67d5[_0x39e8be]=[_0x165667,_0x165667+'_2',_0x165667+'_3']:_0xab67d5[_0x39e8be]=[_0x165667];}else _0xab67d5[_0x39e8be]=_0x165667;});const _0x47f375={..._0xab67d5};return _0x47f375[_0x31c44a(0x2d8)]=_0x170775??0x1,_0x47f375[_0x31c44a(0x28a)]=_0x2fff2d??0xa,_0x47f375;}[a0_0x5456ff(0x36f)](){const _0x4bd93f=a0_0x5456ff,_0x50f0cd={};return _0x50f0cd['useArrayValues']=![],this[_0x4bd93f(0x408)](_0x50f0cd);}[a0_0x5456ff(0x26b)](){const _0x2e0b85=a0_0x5456ff;return[{'title':_0x2e0b85(0x451),'description':'查询单个条件','data':this[_0x2e0b85(0x36f)]()},{'title':'数组查询(支持多选)','description':_0x2e0b85(0x28c),'data':this[_0x2e0b85(0x408)]()}];}[a0_0x5456ff(0x367)](_0x116c0a,_0x25d8a7){const _0x10031f=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x25d8a7||{},_0x1538e7=this[_0x10031f(0x432)](),_0x33f705={};_0x33f705['useArrayValues']=!![];const _0x462e37=this['generateRequestExample'](_0x33f705),{currentPage:_0x5b8c04,pageSize:_0x6bfce,..._0x1f3409}=_0x462e37;if(useFullExample&&Object['keys'](_0x462e37)[_0x10031f(0x46b)]>0x0){const _0x3883be=Object[_0x10031f(0x35f)](_0x1f3409)['length']>0x0;if(_0x3883be){const _0x23ce7e=this[_0x10031f(0x36f)](),_0x1581e5=_0x36e5d6=>{const _0x158fd5=_0x10031f;return JSON[_0x158fd5(0x205)](_0x36e5d6,null,0x2)[_0x158fd5(0x2ae)]('\x0a')[_0x158fd5(0x418)]((_0xbd144e,_0x5aecbf)=>_0x5aecbf===0x0?_0xbd144e:indent+_0xbd144e)[_0x158fd5(0x396)]('\x0a');};return _0x10031f(0x2f9)+_0x116c0a+'.'+_0x1538e7+'('+_0x1581e5(_0x23ce7e)+_0x10031f(0x391)+_0x116c0a+'.'+_0x1538e7+'('+_0x1581e5(_0x462e37)+');';}else{const _0x40cfbe=JSON['stringify'](_0x462e37,null,0x2)[_0x10031f(0x2ae)]('\x0a')[_0x10031f(0x418)]((_0x42b39b,_0x8ba1ac)=>_0x8ba1ac===0x0?_0x42b39b:indent+_0x42b39b)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x116c0a+'.'+_0x1538e7+'('+_0x40cfbe+');';}}if(Object['keys'](_0x1f3409)['length']>0x0){const _0x358a85=Object[_0x10031f(0x35f)](_0x1f3409)[0x0];return _0x10031f(0x31d)+_0x116c0a+'.'+_0x1538e7+'({\x20'+_0x358a85+_0x10031f(0x1e0);}return _0x10031f(0x31d)+_0x116c0a+'.'+_0x1538e7+_0x10031f(0x383);}}var AGGREGATE_FUNCTIONS=[a0_0x5456ff(0x2c8),'count',a0_0x5456ff(0x401),a0_0x5456ff(0x424),a0_0x5456ff(0x2b8)],FILTER_OPERATORS=[a0_0x5456ff(0x207),a0_0x5456ff(0x208),a0_0x5456ff(0x304),a0_0x5456ff(0x3c8),a0_0x5456ff(0x44c),'$lteq',a0_0x5456ff(0x215),'$contain',a0_0x5456ff(0x217),a0_0x5456ff(0x325),'$and',a0_0x5456ff(0x43e)];class FilterOperation extends GenericOperation{constructor(_0x2e47e2,_0xa1dce1,_0xc2683f){super(_0x2e47e2,_0xa1dce1,_0xc2683f);}[a0_0x5456ff(0x42a)](){return FILTER_OPERATORS;}[a0_0x5456ff(0x2f0)](_0x1491c1){const _0x4fabf5=a0_0x5456ff,_0x2b76ea=this['getFieldDefinition'](_0x1491c1);if(!_0x2b76ea)return[];return this[_0x4fabf5(0x2c4)](_0x2b76ea);}[a0_0x5456ff(0x32c)](){const _0x49a151=a0_0x5456ff,_0x598ce3=super[_0x49a151(0x32c)](),_0x4f80e0={};_0x4f80e0['type']=_0x49a151(0x33f),_0x4f80e0[_0x49a151(0x346)]=_0x49a151(0x28d),_0x4f80e0[_0x49a151(0x33c)]=![];const _0x126f60={};_0x126f60[_0x49a151(0x39e)]=_0x49a151(0x204),_0x126f60[_0x49a151(0x346)]='返回字段列表(字段投影)',_0x126f60[_0x49a151(0x33c)]=![];const _0x4f958a={};_0x4f958a[_0x49a151(0x39e)]='Object[]',_0x4f958a['description']=_0x49a151(0x446),_0x4f958a[_0x49a151(0x33c)]=![];const _0x350418={};_0x350418[_0x49a151(0x39e)]=_0x49a151(0x2ad),_0x350418[_0x49a151(0x346)]='当前页码',_0x350418[_0x49a151(0x33c)]=![],_0x350418[_0x49a151(0x2df)]=0x1;const _0x242959={};_0x242959[_0x49a151(0x39e)]=_0x49a151(0x2ad),_0x242959[_0x49a151(0x346)]='每页数量',_0x242959[_0x49a151(0x33c)]=![],_0x242959[_0x49a151(0x2df)]=0xa;const _0x5abbaf={..._0x598ce3};return _0x5abbaf['where']=_0x4f80e0,_0x5abbaf[_0x49a151(0x321)]=_0x126f60,_0x5abbaf[_0x49a151(0x43c)]=_0x4f958a,_0x5abbaf['currentPage']=_0x350418,_0x5abbaf[_0x49a151(0x28a)]=_0x242959,_0x5abbaf;}['getSystemFields'](){const _0x3f8e4d=a0_0x5456ff,_0x3cf346=this['getRequestParams'](),_0x17d9c1=[],_0x4c2d62=[_0x3f8e4d(0x394),'select',_0x3f8e4d(0x43c),'currentPage',_0x3f8e4d(0x28a)];return Object[_0x3f8e4d(0x2eb)](_0x3cf346)[_0x3f8e4d(0x3b2)](([_0x571cf9,_0x316887])=>{const _0xcd7be2=_0x3f8e4d;if(_0x4c2d62['includes'](_0x571cf9)){const _0x3bc3c8=_0x316887,_0x152d97={};_0x152d97[_0xcd7be2(0x421)]=_0x571cf9,_0x152d97[_0xcd7be2(0x39e)]=_0x3bc3c8[_0xcd7be2(0x39e)]||'Object',_0x152d97[_0xcd7be2(0x346)]=_0x3bc3c8['description']||'-',_0x17d9c1[_0xcd7be2(0x20f)](_0x152d97);}}),_0x17d9c1;}['getBusinessFields'](){const _0x86e607=a0_0x5456ff;return this[_0x86e607(0x2b1)][_0x86e607(0x341)]||[];}[a0_0x5456ff(0x355)](){const _0x2a277a=a0_0x5456ff;return{'systemParams':this[_0x2a277a(0x1ec)](),'businessFields':this['getBusinessFields']()};}['generateRequestExample'](){const _0x2f21dd=a0_0x5456ff,_0x2a0dde=this['context'][_0x2f21dd(0x341)]||[];if(_0x2a0dde[_0x2f21dd(0x46b)]===0x0){const _0x1525b7={};return _0x1525b7['where']={},_0x1525b7[_0x2f21dd(0x2d8)]=0x1,_0x1525b7[_0x2f21dd(0x28a)]=0x14,_0x1525b7;}const _0x4082e7={},_0x3515ac=_0x2a0dde[_0x2f21dd(0x45b)](0x0,Math[_0x2f21dd(0x2b8)](0x3,_0x2a0dde[_0x2f21dd(0x46b)]));_0x3515ac['forEach'](_0x4835aa=>{const _0x92ad3=_0x2f21dd,_0x216fab=this['getApplicableOperators'](_0x4835aa);if(_0x216fab[_0x92ad3(0x46b)]===0x0)return;const _0x540b62=this[_0x92ad3(0x382)](_0x4835aa,_0x216fab),_0x4bb7b8=this[_0x92ad3(0x26c)](_0x4835aa,_0x540b62),_0xc4345b={};_0xc4345b[_0x540b62]=_0x4bb7b8,_0x4082e7[_0x4835aa[_0x92ad3(0x421)]]=_0xc4345b;});const _0x3a1f30=_0x2a0dde['slice'](0x0,Math[_0x2f21dd(0x2b8)](0x5,_0x2a0dde['length']))[_0x2f21dd(0x418)](_0x2ea0e1=>_0x2ea0e1['code']),_0x4dfdf7=_0x2a0dde[0x0]?_0x2a0dde[0x0][_0x2f21dd(0x421)]:'id',_0x1cd7a4={};_0x1cd7a4[_0x4dfdf7]=_0x2f21dd(0x2b2);const _0xa0abd3={};return _0xa0abd3[_0x2f21dd(0x394)]=_0x4082e7,_0xa0abd3[_0x2f21dd(0x321)]=_0x3a1f30,_0xa0abd3[_0x2f21dd(0x43c)]=[_0x1cd7a4],_0xa0abd3[_0x2f21dd(0x2d8)]=0x1,_0xa0abd3['pageSize']=0x14,_0xa0abd3;}[a0_0x5456ff(0x367)](_0x27f71a,_0x16b20b){const _0x5518d5=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x16b20b||{},_0xfafe05=this[_0x5518d5(0x432)](),_0x3b0f5c=this[_0x5518d5(0x408)](),_0x7a2315=_0x16003a=>{const _0x2eb281=_0x5518d5;return JSON['stringify'](_0x16003a,null,0x2)[_0x2eb281(0x2ae)]('\x0a')[_0x2eb281(0x418)]((_0x5f3929,_0x54faf9)=>_0x54faf9===0x0?_0x5f3929:indent+_0x5f3929)[_0x2eb281(0x396)]('\x0a');};if(useFullExample){const _0x37fe66=this['context'][_0x5518d5(0x341)]||[],_0x4a7d00={'where':_0x37fe66[0x0]?{[_0x37fe66[0x0][_0x5518d5(0x421)]]:{'$eq':this[_0x5518d5(0x26c)](_0x37fe66[0x0],_0x5518d5(0x207))}}:{},'select':_0x37fe66[_0x5518d5(0x45b)](0x0,0x3)[_0x5518d5(0x418)](_0x2079ea=>_0x2079ea[_0x5518d5(0x421)]),'currentPage':0x1,'pageSize':0x14};let _0xe3c57e='';if(_0x37fe66[_0x5518d5(0x46b)]>=0x3){const _0x11a454={};_0x11a454[_0x5518d5(0x460)]=[];const _0x14df76=_0x11a454,_0x1b2673=[];if(_0x37fe66[_0x5518d5(0x46b)]>0x0){const _0x5dfc82=_0x37fe66[_0x5518d5(0x283)](_0x53b04b=>{const _0x47783a=_0x5518d5,_0x4d50d5=_0x53b04b[_0x47783a(0x37d)]();return[_0x47783a(0x357),'INTEGER','BIGINT',_0x47783a(0x344),_0x47783a(0x3ed),_0x47783a(0x37b)]['includes'](_0x4d50d5);});if(_0x5dfc82){const _0x594c38={};_0x594c38[_0x5518d5(0x304)]=0x0,_0x594c38[_0x5518d5(0x44c)]=0x64;const _0x2b26a9={[_0x5dfc82[_0x5518d5(0x421)]]:_0x594c38};_0x1b2673[_0x5518d5(0x20f)](_0x2b26a9);}}if(_0x37fe66[_0x5518d5(0x46b)]>0x1){const _0x5dd4a6=_0x37fe66['find'](_0x1c48e6=>{const _0x15fbc5=_0x5518d5,_0x10888a=_0x1c48e6['getDbTypeForOperation']();return[_0x15fbc5(0x3e9),_0x15fbc5(0x267),_0x15fbc5(0x21c),_0x15fbc5(0x29c),_0x15fbc5(0x25b)][_0x15fbc5(0x46c)](_0x10888a);});if(_0x5dd4a6){const _0x489c21={};_0x489c21[_0x5518d5(0x2e9)]=_0x5518d5(0x2b9);const _0x19a562={[_0x5dd4a6[_0x5518d5(0x421)]]:_0x489c21};_0x1b2673[_0x5518d5(0x20f)](_0x19a562);}}if(_0x1b2673[_0x5518d5(0x46b)]>0x0){_0x14df76['$and']=_0x1b2673;const _0x414cb6={'where':_0x14df76,'select':_0x37fe66['slice'](0x0,0x4)[_0x5518d5(0x418)](_0x213be8=>_0x213be8[_0x5518d5(0x421)]),'orderBy':[{[_0x37fe66[0x0]['code']]:_0x5518d5(0x2b2)}],'currentPage':0x1,'pageSize':0x14};_0xe3c57e='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x27f71a+'.'+_0xfafe05+'('+_0x7a2315(_0x414cb6)+');';}}return _0x5518d5(0x3b6)+_0x27f71a+'.'+_0xfafe05+'('+_0x7a2315(_0x4a7d00)+');'+_0xe3c57e;}const _0x2e3573=JSON['stringify'](_0x3b0f5c,null,0x2)['split']('\x0a')[_0x5518d5(0x418)]((_0x27c524,_0x42a985)=>_0x42a985===0x0?_0x27c524:indent+_0x27c524)['join']('\x0a');return _0x5518d5(0x31d)+_0x27f71a+'.'+_0xfafe05+'('+_0x2e3573+');';}[a0_0x5456ff(0x2c4)](_0x5c79fb){const _0x1e425a=a0_0x5456ff,_0x1a1c5f=_0x5c79fb['getDbTypeForOperation'](),_0x3fed73=[];if([_0x1e425a(0x357),_0x1e425a(0x3d0),_0x1e425a(0x43a),_0x1e425a(0x442)][_0x1e425a(0x46c)](_0x1a1c5f)||['INT',_0x1e425a(0x3ed),_0x1e425a(0x37b),_0x1e425a(0x368),_0x1e425a(0x275)][_0x1e425a(0x46c)](_0x1a1c5f))_0x3fed73['push']('$eq',_0x1e425a(0x208),'$gte',_0x1e425a(0x44c),_0x1e425a(0x3c8),_0x1e425a(0x45d),_0x1e425a(0x215));else{if([_0x1e425a(0x3e9),_0x1e425a(0x267),_0x1e425a(0x21c)]['includes'](_0x1a1c5f)||[_0x1e425a(0x29c),'LONGTEXT'][_0x1e425a(0x46c)](_0x1a1c5f))_0x3fed73[_0x1e425a(0x20f)]('$eq',_0x1e425a(0x208),_0x1e425a(0x215),'$contain','$startWith',_0x1e425a(0x325));else{if(['DATE','DATETIME',_0x1e425a(0x3bb)][_0x1e425a(0x46c)](_0x1a1c5f)||[_0x1e425a(0x42c)]['includes'](_0x1a1c5f))_0x3fed73[_0x1e425a(0x20f)](_0x1e425a(0x207),'$ne',_0x1e425a(0x304),_0x1e425a(0x44c),_0x1e425a(0x3c8),_0x1e425a(0x45d));else[_0x1e425a(0x20d),_0x1e425a(0x2f4),_0x1e425a(0x280)][_0x1e425a(0x46c)](_0x1a1c5f)?_0x3fed73[_0x1e425a(0x20f)](_0x1e425a(0x207),_0x1e425a(0x208)):_0x3fed73[_0x1e425a(0x20f)]('$eq',_0x1e425a(0x208));}}return _0x3fed73;}[a0_0x5456ff(0x382)](_0x37cfb4,_0x4c8839){const _0x7a6ec0=a0_0x5456ff,_0x4dbfed=_0x37cfb4['getDbTypeForOperation']();if([_0x7a6ec0(0x357),_0x7a6ec0(0x3d0),_0x7a6ec0(0x43a),_0x7a6ec0(0x442)][_0x7a6ec0(0x46c)](_0x4dbfed)||[_0x7a6ec0(0x344),_0x7a6ec0(0x3ed),'SMALLINT',_0x7a6ec0(0x368),_0x7a6ec0(0x275)][_0x7a6ec0(0x46c)](_0x4dbfed))return _0x4c8839[_0x7a6ec0(0x46c)](_0x7a6ec0(0x304))?'$gte':_0x7a6ec0(0x207);if([_0x7a6ec0(0x3e9),_0x7a6ec0(0x267),_0x7a6ec0(0x21c)][_0x7a6ec0(0x46c)](_0x4dbfed)||[_0x7a6ec0(0x29c),'LONGTEXT'][_0x7a6ec0(0x46c)](_0x4dbfed))return _0x4c8839[_0x7a6ec0(0x46c)](_0x7a6ec0(0x2e9))?'$contain':'$eq';if(['DATE',_0x7a6ec0(0x213),'TIMESTAMP','TIME'][_0x7a6ec0(0x46c)](_0x4dbfed))return _0x4c8839['includes'](_0x7a6ec0(0x304))?_0x7a6ec0(0x304):'$eq';return _0x7a6ec0(0x207);}[a0_0x5456ff(0x26c)](_0x4403d1,_0x3e2fca){const _0x5a036a=a0_0x5456ff,_0x128abc=_0x4403d1[_0x5a036a(0x37d)](),_0x260c08=_0x4403d1[_0x5a036a(0x30f)]();if(_0x260c08&&_0x260c08[_0x5a036a(0x46b)]>0x0){if(_0x3e2fca==='$in')return _0x260c08[_0x5a036a(0x45b)](0x0,0x2)[_0x5a036a(0x418)](_0x12a20f=>_0x12a20f[_0x5a036a(0x1d0)]);return _0x260c08[0x0][_0x5a036a(0x1d0)];}if([_0x5a036a(0x357),_0x5a036a(0x3d0),_0x5a036a(0x43a),_0x5a036a(0x442)][_0x5a036a(0x46c)](_0x128abc)||[_0x5a036a(0x344),'TINYINT',_0x5a036a(0x37b),_0x5a036a(0x368),_0x5a036a(0x275)]['includes'](_0x128abc)){if(_0x3e2fca==='$in')return[0x1,0x2,0x3];if(_0x3e2fca===_0x5a036a(0x304)||_0x3e2fca==='$gteq')return 0x0;if(_0x3e2fca===_0x5a036a(0x44c)||_0x3e2fca===_0x5a036a(0x45d))return 0x64;return 0x1;}if([_0x5a036a(0x3e9),_0x5a036a(0x267),_0x5a036a(0x21c)][_0x5a036a(0x46c)](_0x128abc)||['CHAR','LONGTEXT'][_0x5a036a(0x46c)](_0x128abc)){if(_0x3e2fca===_0x5a036a(0x215))return[_0x5a036a(0x463),_0x5a036a(0x41d)];if(_0x3e2fca===_0x5a036a(0x2e9))return _0x5a036a(0x2b9);if(_0x3e2fca===_0x5a036a(0x217))return _0x5a036a(0x3c1);if(_0x3e2fca===_0x5a036a(0x325))return _0x5a036a(0x1fd);return'value';}if([_0x5a036a(0x343),_0x5a036a(0x213),_0x5a036a(0x3bb),_0x5a036a(0x42c)][_0x5a036a(0x46c)](_0x128abc)){if(_0x3e2fca===_0x5a036a(0x304)||_0x3e2fca===_0x5a036a(0x3c8))return'2024-01-01';if(_0x3e2fca===_0x5a036a(0x44c)||_0x3e2fca===_0x5a036a(0x45d))return _0x5a036a(0x3db);return'2024-01-01';}if([_0x5a036a(0x20d),_0x5a036a(0x2f4),_0x5a036a(0x280)][_0x5a036a(0x46c)](_0x128abc))return!![];return _0x3e2fca===_0x5a036a(0x215)?['value1',_0x5a036a(0x41d)]:_0x5a036a(0x1d0);}[a0_0x5456ff(0x24c)](){const _0x2c6f67=a0_0x5456ff,_0x9442bc=super['getRequestParams'](),_0x5a5952=Object[_0x2c6f67(0x2eb)](_0x9442bc)[_0x2c6f67(0x2b7)](([_0x5b2850])=>_0x5b2850!==_0x2c6f67(0x2d8)&&_0x5b2850!==_0x2c6f67(0x28a))['map'](([_0x436738,_0x255648])=>{const _0x34f51d=_0x2c6f67,_0x56bb5f=_0x255648,_0x11276d={};return _0x11276d[_0x34f51d(0x464)]=_0x436738,_0x11276d[_0x34f51d(0x39e)]=_0x56bb5f['type']||_0x34f51d(0x1de),_0x11276d[_0x34f51d(0x346)]=_0x56bb5f[_0x34f51d(0x346)]||'-',_0x11276d[_0x34f51d(0x33c)]=_0x56bb5f['required'],_0x11276d;}),_0x3710fb={};return _0x3710fb[_0x2c6f67(0x346)]=_0x2c6f67(0x2bb),_0x3710fb[_0x2c6f67(0x2d4)]=_0x5a5952,_0x3710fb;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x55377f=a0_0x5456ff,_0x6bcd97=super[_0x55377f(0x32c)]();if(Object[_0x55377f(0x35f)](_0x6bcd97)[_0x55377f(0x46b)]===0x0){const _0x589a2b={};this[_0x55377f(0x2b1)][_0x55377f(0x341)]['forEach'](_0x83b6e1=>{const _0x5e7829=_0x55377f;if(_0x83b6e1){const _0x451523=_0x83b6e1[_0x5e7829(0x421)],_0x386ea8=_0x83b6e1[_0x5e7829(0x37d)](),_0x4acdbe={};_0x4acdbe[_0x5e7829(0x39e)]=_0x386ea8||'TEXT',_0x4acdbe[_0x5e7829(0x265)]=_0x83b6e1[_0x5e7829(0x265)],_0x4acdbe[_0x5e7829(0x346)]=_0x83b6e1[_0x5e7829(0x346)]||_0x83b6e1['name'],_0x589a2b[_0x451523]=_0x4acdbe;}});const _0x2dbc8f={};_0x2dbc8f[_0x55377f(0x39e)]=_0x55377f(0x392),_0x2dbc8f[_0x55377f(0x346)]=_0x55377f(0x281),_0x589a2b[_0x55377f(0x2d8)]=_0x2dbc8f;const _0x316314={};return _0x316314[_0x55377f(0x39e)]=_0x55377f(0x392),_0x316314['description']=_0x55377f(0x25f),_0x589a2b['pageSize']=_0x316314,_0x589a2b;}return _0x6bcd97;}[a0_0x5456ff(0x408)](){const _0x568747=a0_0x5456ff,_0x4f5e48=super[_0x568747(0x408)]();if(Object['keys'](_0x4f5e48)[_0x568747(0x46b)]===0x0){const _0x34c2ae={};return _0x34c2ae['currentPage']=0x1,_0x34c2ae['pageSize']=0x64,_0x34c2ae;}const _0x2a8c52={..._0x4f5e48};return _0x2a8c52[_0x568747(0x2d8)]=_0x4f5e48['currentPage']??0x1,_0x2a8c52[_0x568747(0x28a)]=_0x4f5e48[_0x568747(0x28a)]??0x64,_0x2a8c52;}[a0_0x5456ff(0x2de)](){const _0x5b503a=a0_0x5456ff,_0x599001={};return _0x599001[_0x5b503a(0x3e8)]=!![],_0x599001[_0x5b503a(0x41e)]='',_0x599001[_0x5b503a(0x2ce)]='',_0x599001[_0x5b503a(0x1e1)]='0000',_0x599001['data']=_0x5b503a(0x243),_0x599001[_0x5b503a(0x2d4)]=null,_0x599001;}[a0_0x5456ff(0x367)](_0x58c7bf,_0x563db4){const _0x58f1ad=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x563db4||{},_0x2edda1=this[_0x58f1ad(0x432)]();if(useFullExample){const _0x1e3971=this[_0x58f1ad(0x408)](),{currentPage:_0x2cba02,pageSize:_0x14c886,..._0xc54cfc}=_0x1e3971,_0xd4a60c=Object['keys'](_0xc54cfc)[_0x58f1ad(0x46b)]>0x0;if(_0xd4a60c){const _0x1d38d8=_0x1d051c=>{const _0x18ae7a=_0x58f1ad;return JSON[_0x18ae7a(0x205)](_0x1d051c,null,0x2)[_0x18ae7a(0x2ae)]('\x0a')[_0x18ae7a(0x418)]((_0x45d6b0,_0x4ff5fc)=>_0x4ff5fc===0x0?_0x45d6b0:indent+_0x45d6b0)[_0x18ae7a(0x396)]('\x0a');};return _0x58f1ad(0x257)+_0x58c7bf+'.'+_0x2edda1+_0x58f1ad(0x46e)+_0x58c7bf+'.'+_0x2edda1+'('+_0x1d38d8(_0x1e3971)+');';}else{const _0x2426ae=_0x5015fe=>{const _0x27571f=_0x58f1ad;return JSON[_0x27571f(0x205)](_0x5015fe,null,0x2)[_0x27571f(0x2ae)]('\x0a')[_0x27571f(0x418)]((_0x147beb,_0x4d6fc8)=>_0x4d6fc8===0x0?_0x147beb:indent+_0x147beb)['join']('\x0a');},_0x10a8e8={};return _0x10a8e8[_0x58f1ad(0x2d8)]=0x1,_0x10a8e8['pageSize']=0x64,_0x58f1ad(0x257)+_0x58c7bf+'.'+_0x2edda1+_0x58f1ad(0x332)+_0x58c7bf+'.'+_0x2edda1+'('+_0x2426ae(_0x10a8e8)+');';}}return _0x58f1ad(0x44f)+_0x58c7bf+'.'+_0x2edda1+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}[a0_0x5456ff(0x444)](_0x1f9795){const _0x540c89=a0_0x5456ff,_0x459377=this[_0x540c89(0x432)](),_0x2376d0=_0x1f9795||_0x540c89(0x32e),_0x48c1ee='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x2376d0+'.'+_0x459377+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x85e2d1=_0x540c89(0x32b)+_0x2376d0+'.'+_0x459377+'();\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}',_0x381b14={};return _0x381b14['successCode']=_0x48c1ee,_0x381b14[_0x540c89(0x1e1)]=_0x85e2d1,_0x381b14;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x59a447=a0_0x5456ff;return this[_0x59a447(0x3d3)]();}[a0_0x5456ff(0x32c)](){const _0x475782=a0_0x5456ff,_0x598ca3=this[_0x475782(0x2cb)](),_0x5f4a1d={};_0x5f4a1d[_0x475782(0x39e)]=_0x475782(0x357),_0x5f4a1d['description']=_0x475782(0x45a),_0x5f4a1d[_0x475782(0x33c)]=!![];const _0x370e95={};_0x370e95['type']=_0x475782(0x39c),_0x370e95[_0x475782(0x346)]=_0x475782(0x30d),_0x370e95['required']=!![],_0x370e95['properties']=_0x598ca3;const _0x77d8a4={};return _0x77d8a4['id']=_0x5f4a1d,_0x77d8a4[_0x475782(0x3e3)]=_0x370e95,_0x77d8a4;}['getUpdatableFields'](){const _0x3353c3=a0_0x5456ff;return this[_0x3353c3(0x2cb)]();}[a0_0x5456ff(0x389)](){const _0x2e0d60=a0_0x5456ff,_0x208513=this[_0x2e0d60(0x2b1)][_0x2e0d60(0x341)]||[],_0x495ad5=this['context'][_0x2e0d60(0x212)],_0x3756ef=_0x208513['find'](_0xd9ed36=>_0xd9ed36[_0x2e0d60(0x21b)]()||_0xd9ed36['code']===_0x495ad5),_0x23089a=_0x208513[_0x2e0d60(0x2b7)](_0x4e8894=>{const _0x4f2129=_0x2e0d60;if(_0x4e8894[_0x4f2129(0x34f)])return![];if(_0x4e8894===_0x3756ef||_0x4e8894[_0x4f2129(0x21b)]())return![];if(_0x4e8894[_0x4f2129(0x312)]()||_0x4e8894[_0x4f2129(0x3ad)]())return![];if(_0x4e8894[_0x4f2129(0x2a3)]())return![];return!![];});return _0x3756ef?[_0x3756ef,..._0x23089a]:_0x23089a;}[a0_0x5456ff(0x3b4)](){const _0x489181=a0_0x5456ff,_0x49c1f4=this['getHTTPFields'](),_0x2bc30c=this[_0x489181(0x2b1)]['pkField'],_0x5aed1a=_0x49c1f4[_0x489181(0x418)](_0x492374=>{const _0x4087cb=_0x489181,_0x7068b7=_0x492374[_0x4087cb(0x21b)]()||_0x492374[_0x4087cb(0x421)]===_0x2bc30c,_0x5c3027=_0x7068b7?'id':_0x492374['code'],_0x3ccd1b={};return _0x3ccd1b[_0x4087cb(0x464)]=_0x5c3027,_0x3ccd1b[_0x4087cb(0x39e)]=_0x492374[_0x4087cb(0x39e)],_0x3ccd1b[_0x4087cb(0x346)]=_0x7068b7?'主键,用于定位要更新的记录'+(_0x2bc30c&&_0x2bc30c!==_0x492374[_0x4087cb(0x421)]?_0x4087cb(0x315)+_0x492374[_0x4087cb(0x421)]+')':''):_0x492374['description']||_0x492374['name'],_0x3ccd1b;}),_0x59214d={};return _0x59214d[_0x489181(0x346)]=_0x489181(0x28f),_0x59214d['params']=_0x5aed1a,_0x59214d;}[a0_0x5456ff(0x24c)](){const _0x459a6c=a0_0x5456ff,_0x5cb249=this[_0x459a6c(0x2cb)](),_0x539358=Object[_0x459a6c(0x2eb)](_0x5cb249)['map'](([_0xa96712,_0x28e526])=>{const _0x1420d4=_0x459a6c,_0x2865be=_0x28e526,_0x2e808={};return _0x2e808['name']=_0xa96712,_0x2e808[_0x1420d4(0x39e)]=_0x2865be[_0x1420d4(0x39e)]||_0x1420d4(0x1de),_0x2e808[_0x1420d4(0x346)]=_0x2865be[_0x1420d4(0x346)]||'-',_0x2e808;}),_0x11bdd2={};return _0x11bdd2[_0x459a6c(0x346)]=_0x459a6c(0x427)+_0x459a6c(0x1ea)+'-\x20主键ID,用于定位要更新的记录\x0a\x0a'+_0x459a6c(0x3cd)+_0x459a6c(0x361)+_0x459a6c(0x273),_0x11bdd2[_0x459a6c(0x2d4)]=_0x539358,_0x11bdd2;}[a0_0x5456ff(0x408)](){const _0x2d0298=a0_0x5456ff,_0x1fd8fa=this['getUpdateFields'](),_0x4682d7={};Object[_0x2d0298(0x2eb)](_0x1fd8fa)[_0x2d0298(0x3b2)](([_0x3311c0,_0x579ffd])=>{const _0x36ba01=_0x2d0298,_0x5ee997=_0x579ffd;let _0x4b95bb;if(typeof _0x5ee997[_0x36ba01(0x39e)]==='string')_0x4b95bb=_0x5ee997[_0x36ba01(0x39e)];else _0x5ee997['type']&&typeof _0x5ee997[_0x36ba01(0x39e)]===_0x36ba01(0x39c)?_0x4b95bb=_0x5ee997[_0x36ba01(0x39e)][_0x36ba01(0x39e)]||_0x36ba01(0x267):_0x4b95bb='TEXT';const _0x236239=_0x5ee997[_0x36ba01(0x346)],_0x4ee8a8=this[_0x36ba01(0x347)](_0x3311c0);_0x4682d7[_0x3311c0]=this[_0x36ba01(0x465)](_0x3311c0,_0x4b95bb,_0x4ee8a8?.[_0x36ba01(0x37d)](),{'isPrimaryKey':![],'description':_0x236239||_0x4ee8a8?.[_0x36ba01(0x346)]||_0x4ee8a8?.['name']});});const _0x48d9f3={};return _0x48d9f3['id']=0x1,_0x48d9f3[_0x2d0298(0x3e3)]=_0x4682d7,_0x48d9f3;}['generateRequestAllExamples'](){const _0x22b16c=a0_0x5456ff,_0x3983eb=this[_0x22b16c(0x408)](),_0x4efada={};return _0x4efada[_0x22b16c(0x2be)]='SDK\x20调用示例(两参数格式)',_0x4efada['description']='SDK\x20调用时传递两个参数:\x0a'+_0x22b16c(0x3f3)+'-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段',_0x4efada[_0x22b16c(0x3e3)]=_0x3983eb,[_0x4efada,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x22b16c(0x3cc)+_0x22b16c(0x37e)+_0x22b16c(0x476),'data':this[_0x22b16c(0x477)]()}];}[a0_0x5456ff(0x477)](){const _0x540d9a=a0_0x5456ff,_0x3b2411=this[_0x540d9a(0x2cb)](),_0x54ecc2={};_0x54ecc2['id']=0x1;const _0x8429c=_0x54ecc2;return Object['entries'](_0x3b2411)[_0x540d9a(0x3b2)](([_0x33f6fe,_0x2056de])=>{const _0x18ada7=_0x540d9a,_0x437d3c=_0x2056de;let _0x14c804;if(typeof _0x437d3c[_0x18ada7(0x39e)]===_0x18ada7(0x386))_0x14c804=_0x437d3c['type'];else _0x437d3c[_0x18ada7(0x39e)]&&typeof _0x437d3c[_0x18ada7(0x39e)]===_0x18ada7(0x39c)?_0x14c804=_0x437d3c[_0x18ada7(0x39e)]['type']||_0x18ada7(0x267):_0x14c804=_0x18ada7(0x267);const _0x4b0a4e=_0x437d3c['description'],_0x4df3cd=this[_0x18ada7(0x347)](_0x33f6fe);if(_0x4df3cd?.[_0x18ada7(0x21b)]())return;_0x8429c[_0x33f6fe]=this[_0x18ada7(0x465)](_0x33f6fe,_0x14c804,_0x4df3cd?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x4b0a4e||_0x4df3cd?.[_0x18ada7(0x346)]||_0x4df3cd?.[_0x18ada7(0x464)]});}),_0x8429c;}[a0_0x5456ff(0x374)](){return this['generateHTTPRequestExample']();}['generateSDKCallCode'](_0x26646a,_0x15b875){const _0x26133e=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x15b875||{},_0x1da909=this[_0x26133e(0x432)]();if(useFullExample){const _0x7ac47a=this['generateRequestExample'](),_0xd503a1=JSON[_0x26133e(0x205)](_0x7ac47a['data'],null,0x2)[_0x26133e(0x2ae)]('\x0a')[_0x26133e(0x418)]((_0x2dce59,_0x2e1651)=>_0x2e1651===0x0?_0x2dce59:indent+_0x2dce59)[_0x26133e(0x396)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x26646a+'.'+_0x1da909+'('+_0x7ac47a['id']+',\x20'+_0xd503a1+');';}return _0x26133e(0x31d)+_0x26646a+'.'+_0x1da909+'(id,\x20data);';}}class AggregateOperation extends GenericOperation{constructor(_0x7d2dbf,_0x1e62c5,_0x5b2da8){super(_0x7d2dbf,_0x1e62c5,_0x5b2da8);}[a0_0x5456ff(0x3d5)](_0x411507){const _0x33c9b9=a0_0x5456ff;return _0x411507[_0x33c9b9(0x276)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x33c9b9(0x3a3)]()[_0x33c9b9(0x292)]();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}[a0_0x5456ff(0x32c)](){const _0x137109=a0_0x5456ff,_0x40e990=super[_0x137109(0x32c)](),_0x471c1a={};_0x471c1a['type']='String[]',_0x471c1a['description']=_0x137109(0x3fe),_0x471c1a[_0x137109(0x33c)]=![];const _0x4549e3={};_0x4549e3[_0x137109(0x39e)]=_0x137109(0x33f),_0x4549e3[_0x137109(0x346)]=_0x137109(0x390),_0x4549e3['required']=![];const _0x5c90e0={};_0x5c90e0[_0x137109(0x39e)]=_0x137109(0x204),_0x5c90e0[_0x137109(0x346)]=_0x137109(0x2c0),_0x5c90e0[_0x137109(0x33c)]=![];const _0x202818={};_0x202818[_0x137109(0x39e)]=_0x137109(0x3b1),_0x202818[_0x137109(0x346)]='聚合函数配置数组',_0x202818[_0x137109(0x33c)]=![];const _0x547de0={};_0x547de0[_0x137109(0x39e)]=_0x137109(0x3b1),_0x547de0['description']='分组后的过滤条件(对聚合结果进行过滤)',_0x547de0[_0x137109(0x33c)]=![];const _0x2888ca={};_0x2888ca[_0x137109(0x39e)]='Array',_0x2888ca[_0x137109(0x346)]='排序规则(与\x20Filter\x20API\x20一致)',_0x2888ca['required']=![];const _0x49179d={};_0x49179d[_0x137109(0x39e)]=_0x137109(0x2ad),_0x49179d[_0x137109(0x346)]=_0x137109(0x1d7),_0x49179d['required']=![];const _0x25fa82={};_0x25fa82[_0x137109(0x39e)]='Number',_0x25fa82[_0x137109(0x346)]=_0x137109(0x3f6),_0x25fa82[_0x137109(0x33c)]=![];const _0x5bf996={..._0x40e990};return _0x5bf996[_0x137109(0x321)]=_0x471c1a,_0x5bf996[_0x137109(0x394)]=_0x4549e3,_0x5bf996[_0x137109(0x34e)]=_0x5c90e0,_0x5bf996['aggregate']=_0x202818,_0x5bf996[_0x137109(0x43b)]=_0x547de0,_0x5bf996['orderBy']=_0x2888ca,_0x5bf996['currentPage']=_0x49179d,_0x5bf996[_0x137109(0x28a)]=_0x25fa82,_0x5bf996;}[a0_0x5456ff(0x1ec)](){const _0x41f5fc=a0_0x5456ff,_0x399085={};_0x399085[_0x41f5fc(0x421)]=_0x41f5fc(0x321),_0x399085[_0x41f5fc(0x39e)]=_0x41f5fc(0x204),_0x399085['description']=_0x41f5fc(0x3fe);const _0x5af293={};_0x5af293[_0x41f5fc(0x421)]='where',_0x5af293[_0x41f5fc(0x39e)]='Object',_0x5af293[_0x41f5fc(0x346)]=_0x41f5fc(0x390);const _0x329517={};_0x329517[_0x41f5fc(0x421)]=_0x41f5fc(0x34e),_0x329517[_0x41f5fc(0x39e)]=_0x41f5fc(0x204),_0x329517['description']='分组字段列表';const _0x27546d={};_0x27546d[_0x41f5fc(0x421)]=_0x41f5fc(0x26d),_0x27546d[_0x41f5fc(0x39e)]='Array',_0x27546d['description']=_0x41f5fc(0x3b0);const _0x5dff3c={};_0x5dff3c[_0x41f5fc(0x421)]=_0x41f5fc(0x43b),_0x5dff3c[_0x41f5fc(0x39e)]=_0x41f5fc(0x3b1),_0x5dff3c[_0x41f5fc(0x346)]=_0x41f5fc(0x2c1);const _0x26a6e3={};_0x26a6e3['code']=_0x41f5fc(0x43c),_0x26a6e3[_0x41f5fc(0x39e)]=_0x41f5fc(0x3b1),_0x26a6e3[_0x41f5fc(0x346)]=_0x41f5fc(0x3d2);const _0x208479={};_0x208479[_0x41f5fc(0x421)]=_0x41f5fc(0x2d8),_0x208479[_0x41f5fc(0x39e)]=_0x41f5fc(0x2ad),_0x208479[_0x41f5fc(0x346)]=_0x41f5fc(0x1d7);const _0x5c5e26={};return _0x5c5e26[_0x41f5fc(0x421)]='pageSize',_0x5c5e26[_0x41f5fc(0x39e)]=_0x41f5fc(0x2ad),_0x5c5e26[_0x41f5fc(0x346)]=_0x41f5fc(0x3f6),[_0x399085,_0x5af293,_0x329517,_0x27546d,_0x5dff3c,_0x26a6e3,_0x208479,_0x5c5e26];}[a0_0x5456ff(0x408)](){const _0x7aca43=a0_0x5456ff,_0x5b0c5b=this['context'][_0x7aca43(0x341)]||[];if(_0x5b0c5b[_0x7aca43(0x46b)]===0x0){const _0x3edf0a={};return _0x3edf0a[_0x7aca43(0x394)]={},_0x3edf0a[_0x7aca43(0x34e)]=[],_0x3edf0a[_0x7aca43(0x26d)]=[],_0x3edf0a;}const _0x845cc4={},_0x37c2ad=_0x5b0c5b['slice'](0x0,Math['min'](0x3,_0x5b0c5b['length']));_0x37c2ad[_0x7aca43(0x3b2)](_0x55b0cb=>{const _0x2b2b30=_0x7aca43,_0x4da786=this[_0x2b2b30(0x2c4)](_0x55b0cb);if(_0x4da786['length']===0x0)return;const _0x1c35cd=this[_0x2b2b30(0x382)](_0x55b0cb,_0x4da786),_0x673bfb=this['generateExampleValue'](_0x55b0cb,_0x1c35cd),_0x47c617={};_0x47c617[_0x1c35cd]=_0x673bfb,_0x845cc4[_0x55b0cb[_0x2b2b30(0x421)]]=_0x47c617;});const _0x19e825=_0x5b0c5b['slice'](0x0,Math[_0x7aca43(0x2b8)](0x2,_0x5b0c5b['length']))[_0x7aca43(0x418)](_0x43d5f6=>_0x43d5f6[_0x7aca43(0x421)]),_0x1dd092=[],_0x1e76b6=_0x5b0c5b[_0x7aca43(0x2b7)](_0x3dd731=>this[_0x7aca43(0x3af)](_0x3dd731));if(_0x1e76b6[_0x7aca43(0x46b)]>0x0){const _0x588561=_0x1e76b6[0x0],_0x589579=_0x588561[_0x7aca43(0x421)],_0x563009={};_0x563009[_0x7aca43(0x39e)]=_0x7aca43(0x2c8),_0x563009[_0x7aca43(0x2bd)]=_0x589579,_0x563009[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x311),_0x563009[_0x7aca43(0x23f)]=![],_0x563009[_0x7aca43(0x3cb)]=!![],_0x563009['precision']=0x2,_0x1dd092['push'](_0x563009);const _0x5d48c9={};_0x5d48c9[_0x7aca43(0x39e)]='avg',_0x5d48c9[_0x7aca43(0x2bd)]=_0x589579,_0x5d48c9[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x1eb),_0x5d48c9[_0x7aca43(0x23f)]=![],_0x5d48c9[_0x7aca43(0x3cb)]=!![],_0x5d48c9['precision']=0x2,_0x1dd092[_0x7aca43(0x20f)](_0x5d48c9);const _0x4e26a2={};_0x4e26a2['type']='max',_0x4e26a2['column']=_0x589579,_0x4e26a2[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x448),_0x4e26a2[_0x7aca43(0x23f)]=![],_0x4e26a2[_0x7aca43(0x3cb)]=!![],_0x4e26a2[_0x7aca43(0x203)]=0x2,_0x1dd092['push'](_0x4e26a2);const _0x4eff32={};_0x4eff32[_0x7aca43(0x39e)]=_0x7aca43(0x2b8),_0x4eff32[_0x7aca43(0x2bd)]=_0x589579,_0x4eff32[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x3e1),_0x4eff32[_0x7aca43(0x23f)]=![],_0x4eff32[_0x7aca43(0x3cb)]=!![],_0x4eff32[_0x7aca43(0x203)]=0x2,_0x1dd092[_0x7aca43(0x20f)](_0x4eff32);}else{if(_0x5b0c5b[_0x7aca43(0x46b)]>0x0){const _0xb3e9df=_0x5b0c5b[0x0],_0x408716=_0xb3e9df[_0x7aca43(0x421)],_0x5f2658={};_0x5f2658[_0x7aca43(0x39e)]=_0x7aca43(0x291),_0x5f2658[_0x7aca43(0x2bd)]=_0x408716,_0x5f2658['alias']=_0x7aca43(0x22a),_0x5f2658[_0x7aca43(0x23f)]=!![],_0x1dd092['push'](_0x5f2658);}}const _0x16b63b=[];if(_0x5b0c5b[_0x7aca43(0x46b)]>0x0){const _0x14fcac=_0x5b0c5b[0x0][_0x7aca43(0x421)],_0x45ba3a={};_0x45ba3a[_0x14fcac]=_0x7aca43(0x308),_0x16b63b[_0x7aca43(0x20f)](_0x45ba3a);}const _0x19aa05=[..._0x19e825,..._0x1dd092[_0x7aca43(0x418)](_0x30baaf=>_0x30baaf[_0x7aca43(0x433)])],_0x299725=[];if(_0x1dd092[_0x7aca43(0x46b)]>0x0){const _0x383001={};_0x383001['$gte']=0x0;const _0x3ac762={};_0x3ac762[_0x7aca43(0x1e4)]=_0x1dd092[0x0]['alias'],_0x3ac762[_0x7aca43(0x302)]=_0x383001,_0x299725[_0x7aca43(0x20f)](_0x3ac762);}const _0x4b53d6={};return _0x4b53d6[_0x7aca43(0x321)]=_0x19aa05,_0x4b53d6[_0x7aca43(0x394)]=_0x845cc4,_0x4b53d6[_0x7aca43(0x34e)]=_0x19e825,_0x4b53d6[_0x7aca43(0x26d)]=_0x1dd092,_0x4b53d6['having']=_0x299725[_0x7aca43(0x46b)]>0x0?_0x299725:undefined,_0x4b53d6[_0x7aca43(0x43c)]=_0x16b63b,_0x4b53d6[_0x7aca43(0x2d8)]=0x1,_0x4b53d6[_0x7aca43(0x28a)]=0x14,_0x4b53d6;}[a0_0x5456ff(0x367)](_0x1e29ff,_0x1e3695){const _0x10b08a=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1e3695||{},_0x1e3b41=this[_0x10b08a(0x432)](),_0x169f38=this[_0x10b08a(0x408)](),_0x3f0af=_0x1172f3=>{const _0x2f9d0b=_0x10b08a;return JSON[_0x2f9d0b(0x205)](_0x1172f3,null,0x2)[_0x2f9d0b(0x2ae)]('\x0a')[_0x2f9d0b(0x418)]((_0x221406,_0xaf1732)=>_0xaf1732===0x0?_0x221406:indent+_0x221406)['join']('\x0a');};if(useFullExample){const _0x35f401=this[_0x10b08a(0x2b1)][_0x10b08a(0x341)]||[],_0x4b2fe0=_0x35f401[_0x10b08a(0x2b7)](_0x2a517d=>this[_0x10b08a(0x3af)](_0x2a517d)),_0x4a558b={'where':_0x35f401[0x0]?{[_0x35f401[0x0][_0x10b08a(0x421)]]:{'$eq':this['generateExampleValue'](_0x35f401[0x0],_0x10b08a(0x207))}}:{},'aggregate':_0x4b2fe0['length']>0x0?[{'type':_0x10b08a(0x2c8),'column':_0x4b2fe0[0x0]['code'],'alias':_0x4b2fe0[0x0][_0x10b08a(0x421)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':'count','column':_0x35f401[0x0][_0x10b08a(0x421)],'alias':_0x10b08a(0x22a),'distinct':!![]}],'orderBy':[{[_0x35f401[0x0]['code']]:_0x10b08a(0x308)}]};let _0x1ae6ed='';return _0x35f401[_0x10b08a(0x46b)]>=0x3&&(_0x1ae6ed='\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x1e29ff+'.'+_0x1e3b41+'('+_0x3f0af(_0x169f38)+');'),_0x10b08a(0x452)+_0x1e29ff+'.'+_0x1e3b41+'('+_0x3f0af(_0x4a558b)+');'+_0x1ae6ed;}const _0x34eab5=JSON['stringify'](_0x169f38,null,0x2)[_0x10b08a(0x2ae)]('\x0a')[_0x10b08a(0x418)]((_0x436954,_0x22882a)=>_0x22882a===0x0?_0x436954:indent+_0x436954)[_0x10b08a(0x396)]('\x0a');return _0x10b08a(0x31d)+_0x1e29ff+'.'+_0x1e3b41+'('+_0x34eab5+');';}['isNumericField'](_0x517996){const _0x1982ff=a0_0x5456ff,_0x1c7266=_0x517996[_0x1982ff(0x37d)]();return[_0x1982ff(0x357),'INTEGER',_0x1982ff(0x43a),_0x1982ff(0x442)][_0x1982ff(0x46c)](_0x1c7266)||[_0x1982ff(0x344),'TINYINT',_0x1982ff(0x37b),_0x1982ff(0x368),_0x1982ff(0x275)][_0x1982ff(0x46c)](_0x1c7266);}['getApplicableOperators'](_0x2785c0){const _0x5b64f3=a0_0x5456ff,_0x5b42fa=_0x2785c0[_0x5b64f3(0x37d)](),_0x164fc2=[];if([_0x5b64f3(0x357),_0x5b64f3(0x3d0),_0x5b64f3(0x43a),_0x5b64f3(0x442)]['includes'](_0x5b42fa)||[_0x5b64f3(0x344),_0x5b64f3(0x3ed),_0x5b64f3(0x37b),_0x5b64f3(0x368),'FLOAT'][_0x5b64f3(0x46c)](_0x5b42fa))_0x164fc2[_0x5b64f3(0x20f)](_0x5b64f3(0x207),_0x5b64f3(0x208),_0x5b64f3(0x304),_0x5b64f3(0x44c),_0x5b64f3(0x3c8),'$lteq',_0x5b64f3(0x215));else{if([_0x5b64f3(0x3e9),_0x5b64f3(0x267),_0x5b64f3(0x21c)][_0x5b64f3(0x46c)](_0x5b42fa)||['CHAR',_0x5b64f3(0x25b)][_0x5b64f3(0x46c)](_0x5b42fa))_0x164fc2['push']('$eq',_0x5b64f3(0x208),_0x5b64f3(0x215),'$contain',_0x5b64f3(0x217),_0x5b64f3(0x325));else{if([_0x5b64f3(0x343),'DATETIME',_0x5b64f3(0x3bb)][_0x5b64f3(0x46c)](_0x5b42fa)||[_0x5b64f3(0x42c)][_0x5b64f3(0x46c)](_0x5b42fa))_0x164fc2[_0x5b64f3(0x20f)](_0x5b64f3(0x207),_0x5b64f3(0x208),_0x5b64f3(0x304),_0x5b64f3(0x44c),'$gteq',_0x5b64f3(0x45d));else['BOOLEAN',_0x5b64f3(0x2f4),_0x5b64f3(0x280)][_0x5b64f3(0x46c)](_0x5b42fa)?_0x164fc2['push']('$eq',_0x5b64f3(0x208)):_0x164fc2[_0x5b64f3(0x20f)]('$eq',_0x5b64f3(0x208));}}return _0x164fc2;}[a0_0x5456ff(0x382)](_0x593b6e,_0x4e2660){const _0x597ee5=a0_0x5456ff,_0x58cb0b=_0x593b6e['getDbTypeForOperation']();if([_0x597ee5(0x357),_0x597ee5(0x3d0),_0x597ee5(0x43a),_0x597ee5(0x442)][_0x597ee5(0x46c)](_0x58cb0b)||['INT',_0x597ee5(0x3ed),_0x597ee5(0x37b),'DOUBLE','FLOAT']['includes'](_0x58cb0b))return _0x4e2660['includes']('$gte')?_0x597ee5(0x304):_0x597ee5(0x207);if([_0x597ee5(0x3e9),_0x597ee5(0x267),'VARCHAR'][_0x597ee5(0x46c)](_0x58cb0b)||[_0x597ee5(0x29c),_0x597ee5(0x25b)][_0x597ee5(0x46c)](_0x58cb0b))return _0x4e2660[_0x597ee5(0x46c)]('$contain')?_0x597ee5(0x2e9):'$eq';if([_0x597ee5(0x343),_0x597ee5(0x213),_0x597ee5(0x3bb),_0x597ee5(0x42c)][_0x597ee5(0x46c)](_0x58cb0b))return _0x4e2660['includes'](_0x597ee5(0x304))?_0x597ee5(0x304):_0x597ee5(0x207);return _0x597ee5(0x207);}['generateExampleValue'](_0x21d8b9,_0xfbcdb){const _0x14a93a=a0_0x5456ff,_0x4d3a00=_0x21d8b9[_0x14a93a(0x37d)](),_0x25edbf=_0x21d8b9[_0x14a93a(0x30f)]();if(_0x25edbf&&_0x25edbf[_0x14a93a(0x46b)]>0x0){if(_0xfbcdb==='$in')return _0x25edbf[_0x14a93a(0x45b)](0x0,0x2)[_0x14a93a(0x418)](_0x18442f=>_0x18442f[_0x14a93a(0x1d0)]);return _0x25edbf[0x0]['value'];}if([_0x14a93a(0x357),_0x14a93a(0x3d0),_0x14a93a(0x43a),'DECIMAL'][_0x14a93a(0x46c)](_0x4d3a00)||[_0x14a93a(0x344),_0x14a93a(0x3ed),'SMALLINT','DOUBLE',_0x14a93a(0x275)]['includes'](_0x4d3a00)){if(_0xfbcdb===_0x14a93a(0x215))return[0x1,0x2,0x3];if(_0xfbcdb==='$gte'||_0xfbcdb===_0x14a93a(0x3c8))return 0x0;if(_0xfbcdb===_0x14a93a(0x44c)||_0xfbcdb===_0x14a93a(0x45d))return 0x64;return 0x1;}if([_0x14a93a(0x3e9),_0x14a93a(0x267),_0x14a93a(0x21c)][_0x14a93a(0x46c)](_0x4d3a00)||[_0x14a93a(0x29c),_0x14a93a(0x25b)]['includes'](_0x4d3a00)){if(_0xfbcdb==='$in')return['value1',_0x14a93a(0x41d)];if(_0xfbcdb===_0x14a93a(0x2e9))return _0x14a93a(0x2b9);if(_0xfbcdb===_0x14a93a(0x217))return'prefix';if(_0xfbcdb==='$endWith')return _0x14a93a(0x1fd);return _0x14a93a(0x1d0);}if([_0x14a93a(0x343),_0x14a93a(0x213),_0x14a93a(0x3bb),_0x14a93a(0x42c)][_0x14a93a(0x46c)](_0x4d3a00)){if(_0xfbcdb===_0x14a93a(0x304)||_0xfbcdb===_0x14a93a(0x3c8))return _0x14a93a(0x20e);if(_0xfbcdb==='$lte'||_0xfbcdb===_0x14a93a(0x45d))return _0x14a93a(0x3db);return _0x14a93a(0x20e);}if([_0x14a93a(0x20d),'BOOL','BIT'][_0x14a93a(0x46c)](_0x4d3a00))return!![];return _0xfbcdb==='$in'?[_0x14a93a(0x463),'value2']:'value';}['getRequestParamsDocInfo'](){const _0x36fcbc=a0_0x5456ff,_0x5e4d06=this['getRequestParams'](),_0x350bc4=Object[_0x36fcbc(0x2eb)](_0x5e4d06)[_0x36fcbc(0x2b7)](([_0x303ae1])=>_0x303ae1!==_0x36fcbc(0x2d8)&&_0x303ae1!==_0x36fcbc(0x28a))['map'](([_0x3f1914,_0x44aceb])=>{const _0x3ad347=_0x36fcbc,_0x11da9=_0x44aceb,_0xa15f46={};return _0xa15f46[_0x3ad347(0x464)]=_0x3f1914,_0xa15f46['type']=_0x11da9['type']||_0x3ad347(0x1de),_0xa15f46['description']=_0x11da9['description']||'-',_0xa15f46['required']=_0x11da9[_0x3ad347(0x33c)],_0xa15f46;}),_0x5c1774={};return _0x5c1774[_0x36fcbc(0x346)]=_0x36fcbc(0x33a),_0x5c1774['params']=_0x350bc4,_0x5c1774;}[a0_0x5456ff(0x2de)](){const _0x389e6a=a0_0x5456ff,_0x531c44=this[_0x389e6a(0x408)]()[_0x389e6a(0x26d)],_0x13cdfd=[{}],_0x4bacd1=[];_0x531c44?.[_0x389e6a(0x3b2)](_0x4c94cc=>{const _0x2229cb=_0x389e6a,_0x1b10f5={};_0x1b10f5[_0x2229cb(0x2be)]=_0x4c94cc[_0x2229cb(0x433)],_0x1b10f5[_0x2229cb(0x411)]=_0x4c94cc['alias'],_0x4bacd1[_0x2229cb(0x20f)](_0x1b10f5),_0x13cdfd[0x0][_0x4c94cc[_0x2229cb(0x433)]]=_0x4c94cc[_0x2229cb(0x39e)]==='count'?0x64:Math['round'](Math[_0x2229cb(0x449)]()*0x64*0x64)/0x64;});const _0x1313e3={};_0x1313e3[_0x389e6a(0x28a)]=0x1,_0x1313e3[_0x389e6a(0x42f)]=0x64,_0x1313e3['currentPage']=0x1;const _0x3c788b={};_0x3c788b[_0x389e6a(0x31a)]=_0x1313e3,_0x3c788b['tableData']=_0x13cdfd,_0x3c788b[_0x389e6a(0x47a)]=_0x4bacd1;const _0xa81998={};return _0xa81998[_0x389e6a(0x3e8)]=!![],_0xa81998[_0x389e6a(0x41e)]='',_0xa81998['errorMsg']='',_0xa81998['errorCode']='0000',_0xa81998[_0x389e6a(0x3e3)]=_0x3c788b,_0xa81998[_0x389e6a(0x2d4)]=null,_0xa81998;}}class OperationFactory{[a0_0x5456ff(0x450)](_0x4f0692,_0x321a8e,_0x5c5f8f){const _0x26c09b=a0_0x5456ff;switch(_0x4f0692){case _0x26c09b(0x42e):return new GetSelectOptionsOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case _0x26c09b(0x42d):return new GetListOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case'filter':return new FilterOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case _0x26c09b(0x331):return new ExcelExportOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case'update':return new UpdateOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case _0x26c09b(0x26d):return new AggregateOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);default:return new GenericOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);}}[a0_0x5456ff(0x31b)](_0x584914,_0x4a83ce){const _0x3edcc8=a0_0x5456ff,_0x299a07=new Map();return Object[_0x3edcc8(0x2eb)](_0x584914)[_0x3edcc8(0x3b2)](([_0x15858c,_0x772842])=>{const _0x5d20e1=_0x3edcc8;_0x299a07['set'](_0x15858c,this[_0x5d20e1(0x450)](_0x15858c,_0x772842,_0x4a83ce));}),_0x299a07;}}class OperationList{[a0_0x5456ff(0x1d5)];constructor(_0x4bfe29,_0x52e496){const _0xfc8448=a0_0x5456ff,_0x2167c3=new OperationFactory();this[_0xfc8448(0x1d5)]=_0x2167c3['createAll'](_0x4bfe29,_0x52e496);}[a0_0x5456ff(0x326)](_0x1a4c22){const _0x171a94=a0_0x5456ff;return this[_0x171a94(0x1d5)][_0x171a94(0x326)](_0x1a4c22);}[a0_0x5456ff(0x3a9)](_0x43f1dc){const _0x2dafda=a0_0x5456ff;return this[_0x2dafda(0x1d5)]['has'](_0x43f1dc);}['size'](){const _0x4d66d5=a0_0x5456ff;return this[_0x4d66d5(0x1d5)]['size'];}[a0_0x5456ff(0x3b9)](){const _0x3595cf=a0_0x5456ff;return Array[_0x3595cf(0x234)](this['_operations'][_0x3595cf(0x35f)]());}['toArray'](){const _0x44679c=a0_0x5456ff,_0x1144e6=Array[_0x44679c(0x234)](this[_0x44679c(0x1d5)][_0x44679c(0x25d)]());return this[_0x44679c(0x255)](_0x1144e6);}[a0_0x5456ff(0x39b)](){const _0x38a3e3=a0_0x5456ff;return this[_0x38a3e3(0x20c)]()[_0x38a3e3(0x2b7)](_0x1914e8=>_0x1914e8[_0x38a3e3(0x415)]());}[a0_0x5456ff(0x429)](){const _0x52281e=a0_0x5456ff;return this[_0x52281e(0x20c)]()[_0x52281e(0x2b7)](_0x1a8387=>!_0x1a8387[_0x52281e(0x415)]());}[a0_0x5456ff(0x2fd)](){const _0x4378c6=a0_0x5456ff;return this[_0x4378c6(0x39b)]()[_0x4378c6(0x418)](_0x38b9c9=>_0x38b9c9[_0x4378c6(0x432)]());}[a0_0x5456ff(0x239)](){const _0x5754ed=a0_0x5456ff;return this[_0x5754ed(0x429)]()[_0x5754ed(0x418)](_0x4e5d01=>_0x4e5d01[_0x5754ed(0x432)]());}[a0_0x5456ff(0x3b7)](_0x408e12){const _0x2d8d47=a0_0x5456ff;return this['toArray']()['filter'](_0x4c78b9=>_0x4c78b9[_0x2d8d47(0x1e5)]()===_0x408e12);}[a0_0x5456ff(0x2b7)](_0xdd9f7c){const _0x3b01b1=a0_0x5456ff;return this[_0x3b01b1(0x20c)]()[_0x3b01b1(0x2b7)](_0xdd9f7c);}[a0_0x5456ff(0x365)](_0x59a1b9={}){const _0x5c0818=a0_0x5456ff;let _0x311662=this[_0x5c0818(0x20c)]();!_0x59a1b9[_0x5c0818(0x23c)]&&(_0x311662=_0x311662['filter'](_0x239e5b=>_0x239e5b[_0x5c0818(0x415)]()));if(_0x59a1b9[_0x5c0818(0x330)]!==![]){const _0x3f5190=_0x311662[_0x5c0818(0x418)](_0x22df93=>({'name':_0x22df93[_0x5c0818(0x432)](),'operation':_0x22df93})),_0xebf1ba=filterApiOperations(_0x3f5190);_0x311662=_0xebf1ba[_0x5c0818(0x418)](_0x32d79c=>_0x32d79c['operation']),_0x311662=this['sortOperationsWithFilterFirst'](_0x311662);}return _0x59a1b9['customFilter']&&(_0x311662=_0x311662[_0x5c0818(0x2b7)](_0x59a1b9[_0x5c0818(0x1ed)])),_0x311662;}[a0_0x5456ff(0x255)](_0x52e2b0){const _0x56747f=a0_0x5456ff,_0x44d627=_0x52e2b0['find'](_0x4d1966=>_0x4d1966[_0x56747f(0x432)]()==='filter'),_0x5562da=_0x52e2b0['filter'](_0x190bd4=>_0x190bd4[_0x56747f(0x432)]()!==_0x56747f(0x2b7));return _0x44d627?[_0x44d627,..._0x5562da]:_0x5562da;}[a0_0x5456ff(0x21e)](){const _0x78ea1c=a0_0x5456ff,_0x58c7c1=this[_0x78ea1c(0x39b)]();return{'total':this[_0x78ea1c(0x1ee)](),'enabled':_0x58c7c1['length'],'disabled':this[_0x78ea1c(0x1ee)]()-_0x58c7c1[_0x78ea1c(0x46b)],'byType':this['getCountByType'](_0x58c7c1),'byMethod':this['getCountByMethod'](_0x58c7c1)};}['getCountByType'](_0x2bbf93){const _0x2578c4={};return _0x2bbf93['forEach'](_0x520bcc=>{const _0x22b5f7=_0x520bcc['getType']();_0x22b5f7&&(_0x2578c4[_0x22b5f7]=(_0x2578c4[_0x22b5f7]||0x0)+0x1);}),_0x2578c4;}[a0_0x5456ff(0x431)](_0x1f3ddb){const _0x3f5c57=a0_0x5456ff,_0x4cad18={};return _0x1f3ddb[_0x3f5c57(0x3b2)](_0x136935=>{const _0x203afc=_0x3f5c57,_0x179e4f=_0x136935[_0x203afc(0x334)]();_0x179e4f&&(_0x4cad18[_0x179e4f]=(_0x4cad18[_0x179e4f]||0x0)+0x1);}),_0x4cad18;}[Symbol[a0_0x5456ff(0x2d0)]](){const _0x486827=a0_0x5456ff;return this['_operations'][_0x486827(0x25d)]();}[a0_0x5456ff(0x210)](){const _0x63ea25=a0_0x5456ff,_0x7eaefd=this[_0x63ea25(0x21e)]();return _0x63ea25(0x2ef)+_0x7eaefd[_0x63ea25(0x316)]+'/'+_0x7eaefd['total']+'\x20operations)';}}class DBConfig{[a0_0x5456ff(0x362)];['dbId'];['dbName'];[a0_0x5456ff(0x353)];[a0_0x5456ff(0x409)];[a0_0x5456ff(0x42b)];['datasetKey'];[a0_0x5456ff(0x212)];['tenantCode'];['appCode'];constructor(_0x19345d,_0x427288){const _0xdb93c4=a0_0x5456ff;this[_0xdb93c4(0x362)]=_0x427288,this[_0xdb93c4(0x3c4)]=_0x19345d[_0xdb93c4(0x3c4)],this[_0xdb93c4(0x2bc)]=_0x19345d[_0xdb93c4(0x2bc)],this[_0xdb93c4(0x353)]=_0x19345d['dbType'],this[_0xdb93c4(0x409)]=_0x19345d[_0xdb93c4(0x409)],this[_0xdb93c4(0x42b)]=_0x19345d['tableName'],this[_0xdb93c4(0x285)]=_0x19345d['datasetKey'],this[_0xdb93c4(0x212)]=_0x19345d[_0xdb93c4(0x212)],this[_0xdb93c4(0x284)]=_0x19345d[_0xdb93c4(0x284)],this[_0xdb93c4(0x441)]=_0x19345d[_0xdb93c4(0x441)];}[a0_0x5456ff(0x1df)](){const _0x126c24=a0_0x5456ff;return this[_0x126c24(0x362)];}}class DrivenDataDetailBase extends DatasetItem{['_operationList'];['_fieldList'];[a0_0x5456ff(0x1da)];constructor(_0x5d8a4b){const _0x2ed5dc=a0_0x5456ff,_0x707d17={..._0x5d8a4b};_0x707d17['id']=_0x5d8a4b['modelId']||_0x5d8a4b['id'],_0x707d17[_0x2ed5dc(0x25c)]=_0x5d8a4b[_0x2ed5dc(0x34b)]||_0x5d8a4b[_0x2ed5dc(0x25c)]||_0x5d8a4b[_0x2ed5dc(0x421)],super(_0x707d17);}[a0_0x5456ff(0x3e4)](){return;}[a0_0x5456ff(0x337)](){return[];}[a0_0x5456ff(0x474)](){return[];}get[a0_0x5456ff(0x3c0)](){const _0xc53e41=a0_0x5456ff;return this[_0xc53e41(0x3ee)]();}[a0_0x5456ff(0x387)](){const _0x5dd4e7=a0_0x5456ff;if(!this[_0x5dd4e7(0x366)])throw new Error(_0x5dd4e7(0x1e2));return this[_0x5dd4e7(0x366)];}['getFieldListWithDeleted'](){const _0x14d202=a0_0x5456ff;if(!this[_0x14d202(0x1da)])throw new Error(_0x14d202(0x246));return this['_fieldListWithDeleted'];}[a0_0x5456ff(0x2fe)](){return[];}[a0_0x5456ff(0x472)](){const _0x4d51c5=a0_0x5456ff,_0xc25722=this[_0x4d51c5(0x376)]();return _0xc25722[_0x4d51c5(0x341)];}[a0_0x5456ff(0x354)](){return this['getFields']()['length'];}['getField'](_0x5ca966){const _0x5148c5=a0_0x5456ff,_0x56b301=this[_0x5148c5(0x2db)](_0x5ca966);return _0x56b301?_0x56b301[_0x5148c5(0x362)]:undefined;}[a0_0x5456ff(0x3fb)](_0x6170d0){return;}[a0_0x5456ff(0x30b)](_0x16bc8a){const _0x33399a=a0_0x5456ff;if(!_0x16bc8a||typeof _0x16bc8a!=='object')return!![]&&console[_0x33399a(0x47e)]('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0x16bc8a),{};if(_0x33399a(0x212)in _0x16bc8a){const _0x4cdb33=_0x16bc8a;return{'primaryKey':typeof _0x4cdb33[_0x33399a(0x212)]===_0x33399a(0x295)?_0x4cdb33['pkField']:Boolean(_0x4cdb33[_0x33399a(0x212)]),'required':_0x4cdb33['required'],'systemRetain':Boolean(_0x4cdb33[_0x33399a(0x363)]),'autoIncrement':_0x4cdb33['autoIncrement']??undefined};}if(!(_0x33399a(0x201)in _0x16bc8a)||!_0x16bc8a['extend'])return{};try{const _0x5e849a=typeof _0x16bc8a[_0x33399a(0x201)]===_0x33399a(0x386)?JSON['parse'](_0x16bc8a[_0x33399a(0x201)]):_0x16bc8a[_0x33399a(0x201)];if(typeof _0x5e849a!=='object'||_0x5e849a===null)return{};return _0x5e849a;}catch{return{};}}[a0_0x5456ff(0x227)](){const _0x1b2f5b=a0_0x5456ff;if(!this[_0x1b2f5b(0x236)]){const _0x4c8600=this[_0x1b2f5b(0x416)](this[_0x1b2f5b(0x26a)]()||{});this['_operationList']=new OperationList(_0x4c8600,{'fields':this[_0x1b2f5b(0x387)]()[_0x1b2f5b(0x45c)](),'pkField':this[_0x1b2f5b(0x39f)][_0x1b2f5b(0x3a2)]?.[_0x1b2f5b(0x212)],'dbtableConfig':this['_raw'][_0x1b2f5b(0x3a2)]||null});}return this['_operationList'];}[a0_0x5456ff(0x416)](_0x56a980){const _0x3f3781=a0_0x5456ff;if(_0x56a980[_0x3f3781(0x2b7)]!==undefined)return _0x56a980;return{..._0x56a980,'filter':this[_0x3f3781(0x219)]()};}[a0_0x5456ff(0x219)](){const _0x5423d4=a0_0x5456ff,_0x4faee9=this['getOperationsData']()?.['getList'];let _0xba28f5=_0x4faee9?.['host'],_0x40af1a='';if(!_0xba28f5&&this[_0x5423d4(0x26a)]()){const _0xbed32b=Object[_0x5423d4(0x25d)](this[_0x5423d4(0x26a)]());for(const _0x149abd of _0xbed32b){if(_0x149abd&&typeof _0x149abd===_0x5423d4(0x39c)&&_0x5423d4(0x226)in _0x149abd){_0xba28f5=_0x149abd['host'];break;}}}if(_0x4faee9?.[_0x5423d4(0x403)]){const _0x358e73=_0x4faee9[_0x5423d4(0x403)],_0x22c1e1=_0x358e73[_0x5423d4(0x271)]('/');_0x22c1e1!==-0x1&&(_0x40af1a=_0x358e73[_0x5423d4(0x393)](0x0,_0x22c1e1));}const _0xbd62cc={};_0xbd62cc[_0x5423d4(0x464)]=_0x5423d4(0x394),_0xbd62cc[_0x5423d4(0x39e)]=_0x5423d4(0x39c),_0xbd62cc['required']=![];const _0x5cfd14={};_0x5cfd14[_0x5423d4(0x464)]=_0x5423d4(0x321),_0x5cfd14[_0x5423d4(0x39e)]='array',_0x5cfd14['required']=![];const _0x330c8a={};_0x330c8a[_0x5423d4(0x464)]=_0x5423d4(0x43c),_0x330c8a[_0x5423d4(0x39e)]=_0x5423d4(0x40f),_0x330c8a[_0x5423d4(0x33c)]=![];const _0x341d97={};_0x341d97['name']=_0x5423d4(0x2d8),_0x341d97['type']=_0x5423d4(0x2fb),_0x341d97[_0x5423d4(0x33c)]=![],_0x341d97['default']=0x1;const _0x4fbc90={};_0x4fbc90[_0x5423d4(0x464)]=_0x5423d4(0x28a),_0x4fbc90[_0x5423d4(0x39e)]=_0x5423d4(0x2fb),_0x4fbc90[_0x5423d4(0x33c)]=![],_0x4fbc90[_0x5423d4(0x2df)]=0xa;const _0x59c100={};return _0x59c100[_0x5423d4(0x464)]=_0x5423d4(0x2b7),_0x59c100[_0x5423d4(0x39e)]=_0x5423d4(0x369),_0x59c100[_0x5423d4(0x346)]=_0x5423d4(0x47c),_0x59c100[_0x5423d4(0x443)]='POST',_0x59c100[_0x5423d4(0x226)]=_0xba28f5,_0x59c100[_0x5423d4(0x403)]=_0x40af1a?_0x40af1a+_0x5423d4(0x26e):_0x5423d4(0x26e),_0x59c100[_0x5423d4(0x2d4)]=_0x4faee9?.[_0x5423d4(0x2d4)]||[_0xbd62cc,_0x5cfd14,_0x330c8a,_0x341d97,_0x4fbc90],_0x59c100['_autoGenerated']=!![],_0x59c100;}[a0_0x5456ff(0x2a2)](){const _0x2a3ea8=a0_0x5456ff;return this[_0x2a3ea8(0x227)]()['toArray']();}['getOperationCount'](){const _0x1f479f=a0_0x5456ff;return this['getOperationList']()[_0x1f479f(0x1ee)]();}[a0_0x5456ff(0x230)](_0x3bef92){const _0x178810=a0_0x5456ff;if(typeof _0x3bef92!==_0x178810(0x386)){!![]&&console[_0x178810(0x47e)](_0x178810(0x39a),_0x3bef92);return;}return this[_0x178810(0x227)]()[_0x178810(0x326)](_0x3bef92);}[a0_0x5456ff(0x258)](_0x28d32b){const _0xa09318=a0_0x5456ff;if(typeof _0x28d32b!==_0xa09318(0x386))return![];return this[_0xa09318(0x227)]()[_0xa09318(0x3a9)](_0x28d32b);}['isOperationEnabled'](_0xa511f4){const _0x1fa778=a0_0x5456ff;if(typeof _0xa511f4!==_0x1fa778(0x386))return![];const _0x455c5b=this[_0x1fa778(0x230)](_0xa511f4);return _0x455c5b?.[_0x1fa778(0x415)]()||![];}['getEnabledOperations'](){const _0x1aa59c=a0_0x5456ff;return this[_0x1aa59c(0x227)]()[_0x1aa59c(0x2fd)]();}[a0_0x5456ff(0x237)](){const _0x74469=a0_0x5456ff;return this[_0x74469(0x227)]()[_0x74469(0x239)]();}[a0_0x5456ff(0x34a)](){const _0x365122=a0_0x5456ff;return this[_0x365122(0x227)]()[_0x365122(0x39b)]();}['getDisabledOperationInstances'](){return this['getOperationList']()['getDisabled']();}[a0_0x5456ff(0x31f)](_0x58edaf={}){const _0x4686ed=a0_0x5456ff;return this[_0x4686ed(0x227)]()[_0x4686ed(0x365)](_0x58edaf);}[a0_0x5456ff(0x21e)](){const _0x2a4d6c=a0_0x5456ff;return{'fieldCount':this[_0x2a4d6c(0x354)](),'systemFieldCount':this[_0x2a4d6c(0x1ec)]()['length'],'businessFieldCount':this[_0x2a4d6c(0x24a)]()['length'],'requiredFieldCount':this['getRequiredFields']()[_0x2a4d6c(0x46b)],'primaryKeyCount':this[_0x2a4d6c(0x2fc)]()['length'],'operationCount':this[_0x2a4d6c(0x245)](),'enabledOperationCount':this[_0x2a4d6c(0x3f2)]()[_0x2a4d6c(0x46b)]};}['getFieldCode'](_0x24a7db){const _0x4fa0c8=a0_0x5456ff;if(!_0x24a7db||typeof _0x24a7db!=='object')return'';if(_0x4fa0c8(0x421)in _0x24a7db&&typeof _0x24a7db[_0x4fa0c8(0x421)]===_0x4fa0c8(0x386))return _0x24a7db[_0x4fa0c8(0x421)];if('name'in _0x24a7db&&typeof _0x24a7db[_0x4fa0c8(0x464)]===_0x4fa0c8(0x386))return _0x24a7db[_0x4fa0c8(0x464)];return'';}['hasField'](_0x4202d8){const _0x4e3e6c=a0_0x5456ff;return this[_0x4e3e6c(0x387)]()[_0x4e3e6c(0x3a9)](_0x4202d8);}[a0_0x5456ff(0x329)](_0x403e43){const _0x168837=a0_0x5456ff;if(!_0x403e43||typeof _0x403e43!==_0x168837(0x39c))return![];const _0x50a044=this[_0x168837(0x25a)](_0x403e43),_0x388e01=this[_0x168837(0x2db)](_0x50a044);return _0x388e01?_0x388e01['isPrimaryKey']():![];}[a0_0x5456ff(0x244)](_0x42a283){const _0x14b9b2=a0_0x5456ff;if(!_0x42a283||typeof _0x42a283!==_0x14b9b2(0x39c))return![];const _0x812907=this[_0x14b9b2(0x25a)](_0x42a283),_0x2f1bf5=this['getFieldInstance'](_0x812907);return _0x2f1bf5?_0x2f1bf5[_0x14b9b2(0x1fb)]():![];}['isRequiredField'](_0x5546aa){const _0x4900c0=a0_0x5456ff;if(!_0x5546aa||typeof _0x5546aa!==_0x4900c0(0x39c))return![];const _0x208407=this['getFieldCode'](_0x5546aa),_0x58bca2=this['getFieldInstance'](_0x208407);return _0x58bca2?_0x58bca2[_0x4900c0(0x266)]():![];}[a0_0x5456ff(0x34c)](_0xca2d84){const _0x22c708=a0_0x5456ff;if(!_0xca2d84||typeof _0xca2d84!=='object')return![];const _0x5db626=this[_0x22c708(0x25a)](_0xca2d84),_0x311900=this[_0x22c708(0x2db)](_0x5db626);return _0x311900?_0x311900[_0x22c708(0x28b)]():![];}[a0_0x5456ff(0x27a)](_0x1e8e6d){const _0x5acd6e=a0_0x5456ff;if(!_0x1e8e6d||typeof _0x1e8e6d!==_0x5acd6e(0x39c))return![];const _0x249469=this[_0x5acd6e(0x25a)](_0x1e8e6d),_0x3228aa=this[_0x5acd6e(0x2db)](_0x249469);return _0x3228aa?_0x3228aa[_0x5acd6e(0x293)]():![];}[a0_0x5456ff(0x453)](_0x3ae235){const _0x5b4caf=a0_0x5456ff;if(!_0x3ae235||typeof _0x3ae235!==_0x5b4caf(0x39c))return[];const _0x37fd53=this[_0x5b4caf(0x25a)](_0x3ae235),_0x4d55e7=this[_0x5b4caf(0x2db)](_0x37fd53);if(!_0x4d55e7||!_0x4d55e7['isEnum']())return[];return _0x4d55e7[_0x5b4caf(0x30f)]()||[];}[a0_0x5456ff(0x216)](_0xc5c1bd){const _0x594833=a0_0x5456ff;if(!_0xc5c1bd||typeof _0xc5c1bd!=='object')return;const _0x3bfae0=this[_0x594833(0x25a)](_0xc5c1bd),_0x5a4ed5=this[_0x594833(0x2db)](_0x3bfae0);if(!_0x5a4ed5||!_0x5a4ed5[_0x594833(0x28b)]())return;return _0x5a4ed5[_0x594833(0x1f8)]();}[a0_0x5456ff(0x21f)](_0x149bfb){const _0x303d25=a0_0x5456ff;if(!_0x149bfb||typeof _0x149bfb!==_0x303d25(0x39c))return;const _0x2bf13c=this[_0x303d25(0x25a)](_0x149bfb),_0x2f9b3e=this['getFieldInstance'](_0x2bf13c);if(!_0x2f9b3e||!_0x2f9b3e[_0x303d25(0x28b)]())return;return _0x2f9b3e[_0x303d25(0x23a)]();}[a0_0x5456ff(0x2fc)](){const _0x486dc7=a0_0x5456ff;return this['getFieldList']()[_0x486dc7(0x287)]()[_0x486dc7(0x418)](_0x39c123=>_0x39c123[_0x486dc7(0x362)]);}[a0_0x5456ff(0x1ec)](){const _0x758041=a0_0x5456ff;return this[_0x758041(0x387)]()[_0x758041(0x27b)]()[_0x758041(0x418)](_0x14ae77=>_0x14ae77['raw']);}[a0_0x5456ff(0x24a)](){const _0x5b49e7=a0_0x5456ff;return this[_0x5b49e7(0x387)]()['getBusiness']()['map'](_0x1cd210=>_0x1cd210['raw']);}[a0_0x5456ff(0x1f2)](){const _0x5a5bbc=a0_0x5456ff;return this[_0x5a5bbc(0x387)]()[_0x5a5bbc(0x1e9)]()[_0x5a5bbc(0x418)](_0xa28f79=>_0xa28f79[_0x5a5bbc(0x362)]);}['getFieldsByType'](){const _0x1af390=a0_0x5456ff,_0x318b47=this['getFieldList']()[_0x1af390(0x252)](),_0xb73d64={};for(const [_0x5ba1a4,_0xb9fd5d]of Object[_0x1af390(0x2eb)](_0x318b47)){_0xb73d64[_0x5ba1a4]=_0xb9fd5d[_0x1af390(0x418)](_0x326adf=>_0x326adf[_0x1af390(0x362)]);}return _0xb73d64;}['getEnumFields'](){const _0x48e2f0=a0_0x5456ff;return this['getFieldList']()[_0x48e2f0(0x482)]()['map'](_0x203578=>_0x203578[_0x48e2f0(0x362)]);}[a0_0x5456ff(0x33e)](){const _0x1d8c9a=a0_0x5456ff,_0x8142e4={};return this['getEnumFields']()[_0x1d8c9a(0x3b2)](_0x50f086=>{const _0x4d6e04=_0x1d8c9a,_0x360862=this[_0x4d6e04(0x21f)](_0x50f086);if(_0x360862){const _0x2265a8=this['getFieldCode'](_0x50f086);_0x8142e4[_0x2265a8]=_0x360862;}}),_0x8142e4;}[a0_0x5456ff(0x310)](_0x547625,_0x4bd629){const _0x291d85=a0_0x5456ff,_0x5577e2=this[_0x291d85(0x21f)](_0x547625);if(!_0x5577e2)return!![];if(_0x5577e2[_0x291d85(0x36d)]&&!_0x5577e2['options'])return!![];const _0xe0ad3b=this['getFieldCode'](_0x547625),_0x46d273=this['getFieldInstance'](_0xe0ad3b),_0x574534=_0x46d273?_0x46d273[_0x291d85(0x293)]():![];if(_0x574534&&Array['isArray'](_0x4bd629))return _0x4bd629[_0x291d85(0x279)](_0xc5c9a4=>_0x5577e2[_0x291d85(0x25d)][_0x291d85(0x46c)](_0xc5c9a4));return _0x5577e2[_0x291d85(0x25d)][_0x291d85(0x46c)](_0x4bd629);}[a0_0x5456ff(0x2a7)](){const _0x587eeb=a0_0x5456ff;return new DatasetItem({'id':this['id'],'name':this[_0x587eeb(0x464)],'datasetCode':this[_0x587eeb(0x25c)],'dbtableConfig':this[_0x587eeb(0x1d6)]()});}[a0_0x5456ff(0x210)](){const _0x3bdc08=a0_0x5456ff;return _0x3bdc08(0x22e)+this['name']+',\x20'+this[_0x3bdc08(0x25c)]+',\x20'+this['getFieldCount']()+'\x20fields,\x20'+this['getOperationCount']()+'\x20operations,\x20'+this[_0x3bdc08(0x307)]()+')';}[a0_0x5456ff(0x1e7)](){const _0x456ea8=a0_0x5456ff;return this[_0x456ea8(0x333)](_0x456ea8(0x2b7));}['getFieldFilterOperators'](_0x46fe24){const _0x174260=a0_0x5456ff;return this[_0x174260(0x24b)](_0x174260(0x2b7),_0x46fe24);}['getFieldsFilterOperatorsMap'](){const _0x261587=a0_0x5456ff;return this[_0x261587(0x2ed)](_0x261587(0x2b7));}[a0_0x5456ff(0x333)](_0x1107f3){const _0x2692ca=a0_0x5456ff,_0x34cc79=this['getOperation'](_0x1107f3);return _0x34cc79?_0x34cc79[_0x2692ca(0x42a)]():[];}[a0_0x5456ff(0x24b)](_0x16f123,_0x5c461c){const _0x35dfb5=a0_0x5456ff,_0x33a81a=this[_0x35dfb5(0x230)](_0x16f123);return _0x33a81a?_0x33a81a[_0x35dfb5(0x2f0)](_0x5c461c):[];}[a0_0x5456ff(0x2ed)](_0x188e7b){const _0x2bd8ef=a0_0x5456ff,_0x5e85ec={};return this[_0x2bd8ef(0x387)]()[_0x2bd8ef(0x3b2)](_0x3fe504=>{const _0x35a7ea=_0x2bd8ef,_0x47f417=this['getOperationFieldOperators'](_0x188e7b,_0x3fe504['code']);_0x47f417[_0x35a7ea(0x46b)]>0x0&&(_0x5e85ec[_0x3fe504['code']]=_0x47f417);}),_0x5e85ec;}[a0_0x5456ff(0x29f)](_0x2434b7,_0x5af883,_0x41c733){const _0x514269=a0_0x5456ff,_0x28e8a1=this[_0x514269(0x24b)](_0x2434b7,_0x5af883);return _0x28e8a1['includes'](_0x41c733);}}class FieldBase{get[a0_0x5456ff(0x353)](){return;}get[a0_0x5456ff(0x2e1)](){return;}get[a0_0x5456ff(0x27f)](){return;}get['doType'](){return;}[a0_0x5456ff(0x3d8)](){return!this['isSystem']();}[a0_0x5456ff(0x1f4)](){const _0x197c35=a0_0x5456ff;return this[_0x197c35(0x34f)];}['isEnum'](){const _0x5e1605=a0_0x5456ff,_0x5f4d4a=[_0x5e1605(0x1f9),'SELECT',_0x5e1605(0x2e4)];return _0x5f4d4a[_0x5e1605(0x46c)](this['type']);}[a0_0x5456ff(0x293)](){const _0x4da5dc=a0_0x5456ff;return this['type']===_0x4da5dc(0x2e4);}[a0_0x5456ff(0x426)](){const _0x295b67=a0_0x5456ff,_0x4068ca=this[_0x295b67(0x23a)]();return _0x4068ca?.[_0x295b67(0x25d)]||[];}[a0_0x5456ff(0x23a)](){const _0x37a68e=a0_0x5456ff;if(!this[_0x37a68e(0x28b)]())return;const _0x3c85c0=this[_0x37a68e(0x30f)](),_0x9e44dc=this['getSelectItemsSource'](),_0x57f316=[],_0x7f672e={},_0x194d82=_0xa1b43=>{_0xa1b43['forEach'](_0x164afc=>{const _0x313f6d=a0_0x2d67;_0x57f316[_0x313f6d(0x20f)](_0x164afc[_0x313f6d(0x1d0)]),_0x7f672e[String(_0x164afc[_0x313f6d(0x1d0)])]=_0x164afc[_0x313f6d(0x2d1)],_0x164afc['children']&&_0x164afc[_0x313f6d(0x2ee)][_0x313f6d(0x46b)]>0x0&&_0x194d82(_0x164afc[_0x313f6d(0x2ee)]);});};return _0x3c85c0&&_0x3c85c0[_0x37a68e(0x46b)]>0x0&&_0x194d82(_0x3c85c0),{'code':this['code'],'name':this['name'],'type':this[_0x37a68e(0x39e)],'multiple':this[_0x37a68e(0x293)](),'options':_0x3c85c0,'selectItemsSource':_0x9e44dc,'values':_0x57f316,'valueLabels':_0x7f672e};}get[a0_0x5456ff(0x3ef)](){const _0x540dfc=a0_0x5456ff;return this[_0x540dfc(0x426)]();}[a0_0x5456ff(0x210)](){const _0x2594ec=a0_0x5456ff;return _0x2594ec(0x3a0)+this[_0x2594ec(0x464)]+',\x20'+this[_0x2594ec(0x421)]+',\x20'+this[_0x2594ec(0x39e)]+',\x20'+this[_0x2594ec(0x307)]()+')';}}class FieldV1 extends FieldBase{[a0_0x5456ff(0x39f)];['_extend']=null;constructor(_0xbdee60){const _0x408b29=a0_0x5456ff;super();if(!_0xbdee60||typeof _0xbdee60!==_0x408b29(0x39c))throw new Error('[Field]\x20Invalid\x20field\x20definition');this[_0x408b29(0x39f)]=_0xbdee60;}[a0_0x5456ff(0x247)](){const _0x951ce0=a0_0x5456ff;return this[_0x951ce0(0x39f)];}[a0_0x5456ff(0x307)](){return'v1';}get['raw'](){return this['_raw'];}get[a0_0x5456ff(0x464)](){const _0x142f5a=a0_0x5456ff;return this[_0x142f5a(0x39f)][_0x142f5a(0x464)]||'';}get[a0_0x5456ff(0x421)](){const _0x5639e0=a0_0x5456ff;return this[_0x5639e0(0x39f)][_0x5639e0(0x421)]||'';}get[a0_0x5456ff(0x39e)](){const _0x2a0370=a0_0x5456ff;return this[_0x2a0370(0x39f)][_0x2a0370(0x39e)]||'';}get[a0_0x5456ff(0x346)](){const _0x2a7cb9=a0_0x5456ff;return this[_0x2a7cb9(0x39f)][_0x2a7cb9(0x346)]||'';}get['deleted'](){const _0x453fe3=a0_0x5456ff;return Boolean(this[_0x453fe3(0x39f)][_0x453fe3(0x34f)]);}get['dbType'](){const _0x2f21e4=a0_0x5456ff;return this[_0x2f21e4(0x39f)][_0x2f21e4(0x353)];}get[a0_0x5456ff(0x2e1)](){const _0x4fbd37=a0_0x5456ff;return this[_0x4fbd37(0x39f)][_0x4fbd37(0x2e1)];}get['displayName'](){const _0x2ff4f8=a0_0x5456ff;return this[_0x2ff4f8(0x39f)][_0x2ff4f8(0x433)];}get[a0_0x5456ff(0x46a)](){return;}get[a0_0x5456ff(0x201)](){const _0xb50b53=a0_0x5456ff;if(this[_0xb50b53(0x37f)]!==null&&typeof this['_extend']===_0xb50b53(0x39c))return this[_0xb50b53(0x37f)];const _0x414a68=this[_0xb50b53(0x39f)][_0xb50b53(0x201)];if(!_0x414a68||typeof _0x414a68!==_0xb50b53(0x386))return this[_0xb50b53(0x37f)]={},this['_extend'];if(_0x414a68===_0xb50b53(0x3f1)||_0x414a68[_0xb50b53(0x3a3)]()===_0xb50b53(0x3f1))return this[_0xb50b53(0x37f)]={},this[_0xb50b53(0x37f)];try{const _0x4d2e99=JSON[_0xb50b53(0x2ca)](_0x414a68);return this['_extend']=_0x4d2e99!==null&&typeof _0x4d2e99==='object'&&!Array['isArray'](_0x4d2e99)?_0x4d2e99:{},this[_0xb50b53(0x37f)];}catch(_0x5b4c22){return!![]&&console[_0xb50b53(0x47e)]('[FieldV1.extend]\x20解析字段\x20'+this[_0xb50b53(0x421)]+_0xb50b53(0x238),_0x5b4c22),this[_0xb50b53(0x37f)]={},this[_0xb50b53(0x37f)];}}[a0_0x5456ff(0x266)](){const _0x44c152=a0_0x5456ff;return Boolean(this[_0x44c152(0x201)][_0x44c152(0x33c)]);}[a0_0x5456ff(0x21b)](){const _0x65e394=a0_0x5456ff;return Boolean(this['extend']['primaryKey']||this[_0x65e394(0x201)][_0x65e394(0x212)]);}['isSystem'](){const _0x25ec40=a0_0x5456ff;return Boolean(this[_0x25ec40(0x201)][_0x25ec40(0x363)]);}[a0_0x5456ff(0x2a3)](){const _0x40531b=a0_0x5456ff;return Boolean(this[_0x40531b(0x201)]['autoIncrement']);}[a0_0x5456ff(0x312)](){const _0x41b183=a0_0x5456ff;return Boolean(this['extend'][_0x41b183(0x224)]);}['isUpdateTime'](){const _0x487bec=a0_0x5456ff;return Boolean(this[_0x487bec(0x201)][_0x487bec(0x350)]);}['getDisplayName'](){const _0x5d1ac0=a0_0x5456ff;return this[_0x5d1ac0(0x464)];}[a0_0x5456ff(0x3fa)](){const _0x43fa1c=a0_0x5456ff;return this[_0x43fa1c(0x421)];}[a0_0x5456ff(0x28b)](){const _0x1d66ff=a0_0x5456ff,_0x4afc1c=['RADIO',_0x1d66ff(0x38c),_0x1d66ff(0x2e4)];if(_0x4afc1c[_0x1d66ff(0x46c)](this[_0x1d66ff(0x39e)]))return!![];const _0x34147d=this[_0x1d66ff(0x201)];return Boolean(_0x34147d[_0x1d66ff(0x45e)]&&Array[_0x1d66ff(0x248)](_0x34147d[_0x1d66ff(0x45e)])&&_0x34147d[_0x1d66ff(0x45e)][_0x1d66ff(0x46b)]>0x0||_0x34147d['selectItemsSource']);}[a0_0x5456ff(0x293)](){const _0x1d754d=a0_0x5456ff;if(this[_0x1d754d(0x39e)]===_0x1d754d(0x2e4))return!![];return Boolean(this[_0x1d754d(0x201)][_0x1d754d(0x412)]);}[a0_0x5456ff(0x30f)](){const _0x527665=a0_0x5456ff,_0x4be5df=this[_0x527665(0x201)];if(_0x4be5df[_0x527665(0x45e)]&&Array[_0x527665(0x248)](_0x4be5df['options']))return _0x4be5df['options'];return;}['getSelectItemsSource'](){const _0x5cda87=a0_0x5456ff,_0x5c4823=this[_0x5cda87(0x201)];if(_0x5c4823[_0x5cda87(0x36d)]&&typeof _0x5c4823[_0x5cda87(0x36d)]===_0x5cda87(0x39c))return _0x5c4823[_0x5cda87(0x36d)];return;}[a0_0x5456ff(0x37d)](){return this['type']['toUpperCase']();}['getDefaultValue'](){const _0x1d75c3=a0_0x5456ff;return this['extend'][_0x1d75c3(0x20b)];}[a0_0x5456ff(0x397)](){const _0xa49cc4=a0_0x5456ff;return this[_0xa49cc4(0x201)]['tooltip'];}[a0_0x5456ff(0x262)](){const _0x53d918=a0_0x5456ff;return{'name':this[_0x53d918(0x464)],'code':this[_0x53d918(0x421)],'type':this[_0x53d918(0x39e)],'dbType':this[_0x53d918(0x353)],'dbTypeLen':this[_0x53d918(0x2e1)],'description':this['description'],'required':this[_0x53d918(0x266)](),'primaryKey':this[_0x53d918(0x21b)](),'system':this[_0x53d918(0x1fb)](),'autoIncrement':this[_0x53d918(0x2a3)](),'createTime':this['isCreateTime'](),'updateTime':this[_0x53d918(0x3ad)](),'isEnum':this[_0x53d918(0x28b)](),'enumMeta':this['isEnum']()?this[_0x53d918(0x23a)]():undefined};}['toString'](){const _0x1b5b67=a0_0x5456ff;return'FieldV1('+this['name']+',\x20'+this[_0x1b5b67(0x421)]+',\x20'+this[_0x1b5b67(0x39e)]+')';}}class FieldListBase{[a0_0x5456ff(0x338)];constructor(_0x27647b,_0x429ba6){const _0x5971cb=a0_0x5456ff;if(!Array[_0x5971cb(0x248)](_0x27647b))throw new Error(_0x5971cb(0x3c3));const _0x3e56b1=_0x429ba6?.[_0x5971cb(0x268)]??![],_0x65ca3=_0x3e56b1?_0x27647b:_0x27647b[_0x5971cb(0x2b7)](_0x2c657f=>{const _0x1d649b=_0x5971cb,_0x556f36=_0x2c657f;return!_0x556f36[_0x1d649b(0x34f)];});this[_0x5971cb(0x338)]=this['createFields'](_0x65ca3);}get[a0_0x5456ff(0x46b)](){const _0x459dfe=a0_0x5456ff;return this[_0x459dfe(0x338)][_0x459dfe(0x46b)];}['all'](){return[...this['_fields']];}['at'](_0x4e1f70){const _0x24d3e1=a0_0x5456ff;return this[_0x24d3e1(0x338)]['at'](_0x4e1f70);}[a0_0x5456ff(0x283)](_0x33fb3e){const _0x2ad2bb=a0_0x5456ff;return this[_0x2ad2bb(0x338)][_0x2ad2bb(0x283)](_0x4a21d1=>_0x4a21d1[_0x2ad2bb(0x421)]===_0x33fb3e);}[a0_0x5456ff(0x2ec)](_0x1fea3c){const _0x4c31e3=a0_0x5456ff;return this[_0x4c31e3(0x338)][_0x4c31e3(0x283)](_0x4ab765=>_0x4ab765[_0x4c31e3(0x464)]===_0x1fea3c);}[a0_0x5456ff(0x3a9)](_0x320dcb){const _0x1d750d=a0_0x5456ff;return this[_0x1d750d(0x338)][_0x1d750d(0x2e5)](_0x11fe04=>_0x11fe04[_0x1d750d(0x421)]===_0x320dcb);}[a0_0x5456ff(0x3b2)](_0x4b576f){const _0x20def2=a0_0x5456ff;this[_0x20def2(0x338)][_0x20def2(0x3b2)](_0x4b576f);}[a0_0x5456ff(0x418)](_0x52f848){const _0x2b47e0=a0_0x5456ff;return this[_0x2b47e0(0x338)]['map'](_0x52f848);}['filter'](_0xdabfcb){const _0x515e1c=a0_0x5456ff;return this[_0x515e1c(0x338)][_0x515e1c(0x2b7)](_0xdabfcb);}[a0_0x5456ff(0x279)](_0x42c946){return this['_fields']['every'](_0x42c946);}[a0_0x5456ff(0x2e5)](_0x2bf6d8){const _0x5cb481=a0_0x5456ff;return this[_0x5cb481(0x338)][_0x5cb481(0x2e5)](_0x2bf6d8);}[a0_0x5456ff(0x1e9)](){const _0x22eb12=a0_0x5456ff;return this['_fields'][_0x22eb12(0x2b7)](_0x52796a=>_0x52796a[_0x22eb12(0x266)]());}['getPrimaryKeys'](){const _0x43f0ec=a0_0x5456ff;return this[_0x43f0ec(0x338)][_0x43f0ec(0x2b7)](_0x126c16=>_0x126c16[_0x43f0ec(0x21b)]());}[a0_0x5456ff(0x27b)](){const _0x55e0af=a0_0x5456ff;return this[_0x55e0af(0x338)][_0x55e0af(0x2b7)](_0x12ab61=>_0x12ab61['isSystem']());}['getBusiness'](){const _0x2a30a9=a0_0x5456ff;return this[_0x2a30a9(0x338)][_0x2a30a9(0x2b7)](_0x1d7ece=>_0x1d7ece[_0x2a30a9(0x3d8)]());}[a0_0x5456ff(0x482)](){const _0x3537c1=a0_0x5456ff;return this[_0x3537c1(0x338)]['filter'](_0x3fed3c=>_0x3fed3c[_0x3537c1(0x28b)]());}[a0_0x5456ff(0x3b5)](){const _0x269440=a0_0x5456ff;return this['_fields']['filter'](_0xa70cb8=>_0xa70cb8[_0x269440(0x2a3)]());}[a0_0x5456ff(0x478)](){const _0x216c77=a0_0x5456ff;return this[_0x216c77(0x338)][_0x216c77(0x2b7)](_0x584585=>_0x584585[_0x216c77(0x312)]());}['getUpdateTime'](){const _0x48e8e5=a0_0x5456ff;return this[_0x48e8e5(0x338)][_0x48e8e5(0x2b7)](_0x411670=>_0x411670[_0x48e8e5(0x3ad)]());}[a0_0x5456ff(0x2dc)](){const _0xabd337=a0_0x5456ff;return this[_0xabd337(0x338)][_0xabd337(0x2b7)](_0x4d654a=>_0x4d654a['isDeleted']());}['getActive'](){const _0x57f36c=a0_0x5456ff;return this[_0x57f36c(0x338)]['filter'](_0x15b930=>!_0x15b930[_0x57f36c(0x1f4)]());}['groupByType'](){const _0x3091ff=a0_0x5456ff,_0xcbd7a1={};return this[_0x3091ff(0x338)][_0x3091ff(0x3b2)](_0x113af9=>{const _0x3ced74=_0x3091ff,_0x2a5938=_0x113af9[_0x3ced74(0x39e)];!_0xcbd7a1[_0x2a5938]&&(_0xcbd7a1[_0x2a5938]=[]),_0xcbd7a1[_0x2a5938][_0x3ced74(0x20f)](_0x113af9);}),_0xcbd7a1;}[a0_0x5456ff(0x38b)](){const _0x284643=a0_0x5456ff,_0x364dc3={};return this[_0x284643(0x338)][_0x284643(0x3b2)](_0x3cd953=>{const _0x6c4f57=_0x284643;if(_0x3cd953['isEnum']()){const _0x1cca9d=_0x3cd953[_0x6c4f57(0x23a)]();_0x1cca9d&&(_0x364dc3[_0x3cd953[_0x6c4f57(0x421)]]=_0x1cca9d);}}),_0x364dc3;}[a0_0x5456ff(0x21e)](){const _0x50cd3a=a0_0x5456ff;return{'total':this[_0x50cd3a(0x46b)],'required':this[_0x50cd3a(0x1e9)]()['length'],'primaryKey':this[_0x50cd3a(0x287)]()['length'],'system':this[_0x50cd3a(0x27b)]()['length'],'business':this[_0x50cd3a(0x240)]()['length'],'enum':this['getEnum']()[_0x50cd3a(0x46b)],'autoIncrement':this[_0x50cd3a(0x3b5)]()[_0x50cd3a(0x46b)]};}[a0_0x5456ff(0x3f9)](){const _0x1c2b6a=a0_0x5456ff;return this[_0x1c2b6a(0x338)][_0x1c2b6a(0x418)](_0x456ada=>_0x456ada[_0x1c2b6a(0x421)]);}[a0_0x5456ff(0x3b9)](){const _0x8c1e92=a0_0x5456ff;return this['_fields']['map'](_0x1ba90f=>_0x1ba90f[_0x8c1e92(0x3bd)]());}[a0_0x5456ff(0x251)](){const _0x3ab012=a0_0x5456ff;return this['_fields'][_0x3ab012(0x418)](_0x3a915d=>_0x3a915d[_0x3ab012(0x3fa)]());}[a0_0x5456ff(0x262)](){const _0x4b111f=a0_0x5456ff;return this[_0x4b111f(0x338)]['map'](_0x4094de=>_0x4094de['toJSON']());}[a0_0x5456ff(0x210)](){const _0x2a0a0e=a0_0x5456ff;return _0x2a0a0e(0x254)+this[_0x2a0a0e(0x46b)]+_0x2a0a0e(0x309);}}class FieldListV1 extends FieldListBase{constructor(_0x5f0434,_0x182856){super(_0x5f0434,_0x182856);}[a0_0x5456ff(0x3e5)](_0x46e604){const _0x3dc7a6=a0_0x5456ff;return _0x46e604[_0x3dc7a6(0x418)](_0x25d35e=>new FieldV1(_0x25d35e));}['all'](){const _0x4280ce=a0_0x5456ff;return[...this[_0x4280ce(0x338)]];}['at'](_0x46ff9b){return this['_fields']['at'](_0x46ff9b);}['find'](_0x32dc1b){const _0x3e4bbf=a0_0x5456ff;return this['_fields'][_0x3e4bbf(0x283)](_0x4f959c=>_0x4f959c[_0x3e4bbf(0x421)]===_0x32dc1b);}[a0_0x5456ff(0x2ec)](_0x268fdb){const _0x38a86f=a0_0x5456ff;return this['_fields']['find'](_0xb83601=>_0xb83601[_0x38a86f(0x464)]===_0x268fdb);}[a0_0x5456ff(0x2b7)](_0x29c70e){const _0x3f2833=a0_0x5456ff;return this[_0x3f2833(0x338)][_0x3f2833(0x2b7)](_0x29c70e);}['map'](_0x4a3a5b){return this['_fields']['map'](_0x4a3a5b);}[a0_0x5456ff(0x1e9)](){const _0x6c09b2=a0_0x5456ff;return this[_0x6c09b2(0x338)][_0x6c09b2(0x2b7)](_0x4149e1=>_0x4149e1['isRequired']());}[a0_0x5456ff(0x287)](){const _0x3f02ea=a0_0x5456ff;return this['_fields'][_0x3f02ea(0x2b7)](_0x3a4cef=>_0x3a4cef[_0x3f02ea(0x21b)]());}[a0_0x5456ff(0x27b)](){const _0x5651ac=a0_0x5456ff;return this[_0x5651ac(0x338)]['filter'](_0x1e5ba4=>_0x1e5ba4[_0x5651ac(0x1fb)]());}['getBusiness'](){const _0x452a99=a0_0x5456ff;return this[_0x452a99(0x338)][_0x452a99(0x2b7)](_0x471df5=>_0x471df5[_0x452a99(0x3d8)]());}['getEnum'](){const _0x58fac1=a0_0x5456ff;return this[_0x58fac1(0x338)]['filter'](_0x14b88a=>_0x14b88a[_0x58fac1(0x28b)]());}['groupByType'](){const _0x36f6e0=a0_0x5456ff,_0x51ea8b={};return this['_fields'][_0x36f6e0(0x3b2)](_0x5875db=>{const _0x5b1537=_0x36f6e0,_0x1a91fa=_0x5875db[_0x5b1537(0x39e)];!_0x51ea8b[_0x1a91fa]&&(_0x51ea8b[_0x1a91fa]=[]),_0x51ea8b[_0x1a91fa][_0x5b1537(0x20f)](_0x5875db);}),_0x51ea8b;}[a0_0x5456ff(0x362)](){const _0x3c59b9=a0_0x5456ff;return this[_0x3c59b9(0x338)]['map'](_0x11f30=>_0x11f30[_0x3c59b9(0x362)]);}static[a0_0x5456ff(0x234)](_0x338548){const _0x3fb2df=a0_0x5456ff,_0x521375=_0x338548['map'](_0x1cfdeb=>_0x1cfdeb[_0x3fb2df(0x362)]);return new FieldListV1(_0x521375);}static[a0_0x5456ff(0x3c2)](_0x1b9f0a){const _0x1bdd3d=a0_0x5456ff,_0xf2fa14={};return _0xf2fa14[_0x1bdd3d(0x268)]=!![],new FieldListV1(_0x1b9f0a,_0xf2fa14);}}class FieldV2 extends FieldBase{[a0_0x5456ff(0x39f)];constructor(_0x27d556){const _0x83e162=a0_0x5456ff;super();if(!_0x27d556||typeof _0x27d556!==_0x83e162(0x39c))throw new Error('[FieldV2]\x20Invalid\x20field\x20definition');this['_raw']=_0x27d556;}[a0_0x5456ff(0x307)](){return'v2';}get[a0_0x5456ff(0x362)](){const _0x1342f7=a0_0x5456ff;return this[_0x1342f7(0x39f)];}get[a0_0x5456ff(0x464)](){const _0x519a2a=a0_0x5456ff;return this[_0x519a2a(0x39f)][_0x519a2a(0x464)]||'';}get[a0_0x5456ff(0x421)](){const _0x36707f=a0_0x5456ff;return this[_0x36707f(0x39f)][_0x36707f(0x464)]||'';}get[a0_0x5456ff(0x27f)](){const _0x429825=a0_0x5456ff;return this['_raw'][_0x429825(0x27f)]||'';}get[a0_0x5456ff(0x39e)](){const _0x13f5c6=a0_0x5456ff;return this['mapDbTypeToType'](this[_0x13f5c6(0x39f)]['dbType']);}get['description'](){const _0x14b029=a0_0x5456ff;return this[_0x14b029(0x39f)][_0x14b029(0x346)]||'';}get['deleted'](){const _0x4db8c9=a0_0x5456ff;return Boolean(this[_0x4db8c9(0x39f)][_0x4db8c9(0x34f)]);}[a0_0x5456ff(0x266)](){const _0x4434f4=a0_0x5456ff;return Boolean(this[_0x4434f4(0x39f)][_0x4434f4(0x33c)]);}[a0_0x5456ff(0x21b)](){const _0xf5d202=a0_0x5456ff;return Boolean(this[_0xf5d202(0x39f)][_0xf5d202(0x212)]);}[a0_0x5456ff(0x1fb)](){const _0x5e5cca=a0_0x5456ff;return Boolean(this['_raw'][_0x5e5cca(0x363)]);}[a0_0x5456ff(0x2a3)](){const _0x3486a0=a0_0x5456ff;return Boolean(this[_0x3486a0(0x39f)]['autoIncrement']);}['isCreateTime'](){const _0x25714c=a0_0x5456ff;return this[_0x25714c(0x39f)][_0x25714c(0x363)]===_0x25714c(0x224);}[a0_0x5456ff(0x3ad)](){const _0x25c4b7=a0_0x5456ff;return this[_0x25c4b7(0x39f)][_0x25c4b7(0x363)]===_0x25c4b7(0x350);}[a0_0x5456ff(0x3bd)](){const _0x3f9d26=a0_0x5456ff;return this[_0x3f9d26(0x39f)][_0x3f9d26(0x27f)]||'';}[a0_0x5456ff(0x3fa)](){const _0x429b4f=a0_0x5456ff;return this[_0x429b4f(0x39f)]['name']||'';}['isEnum'](){const _0x1cd0b8=a0_0x5456ff;return Boolean(this[_0x1cd0b8(0x39f)][_0x1cd0b8(0x45e)]&&Array[_0x1cd0b8(0x248)](this[_0x1cd0b8(0x39f)][_0x1cd0b8(0x45e)])&&this['_raw'][_0x1cd0b8(0x45e)][_0x1cd0b8(0x46b)]>0x0);}[a0_0x5456ff(0x293)](){const _0x46ae4d=a0_0x5456ff,_0x1c6197=this['_raw'][_0x46ae4d(0x201)];if(!_0x1c6197)return![];try{const _0x44eabb=JSON['parse'](_0x1c6197);if(_0x44eabb&&typeof _0x44eabb===_0x46ae4d(0x39c)&&_0x46ae4d(0x412)in _0x44eabb)return Boolean(_0x44eabb['multiple']);}catch{}return![];}[a0_0x5456ff(0x30f)](){const _0x5ee159=a0_0x5456ff;if(this[_0x5ee159(0x39f)]['options']&&Array['isArray'](this[_0x5ee159(0x39f)][_0x5ee159(0x45e)]))return this[_0x5ee159(0x39f)]['options'];return;}['getSelectItemsSource'](){const _0x5126cd=a0_0x5456ff,_0x2da75f=this[_0x5126cd(0x39f)][_0x5126cd(0x201)];if(!_0x2da75f)return;try{const _0x25a63c=JSON['parse'](_0x2da75f);if(_0x25a63c&&typeof _0x25a63c===_0x5126cd(0x39c)&&_0x5126cd(0x36d)in _0x25a63c)return _0x25a63c['selectItemsSource'];}catch{}return;}['getDbTypeForOperation'](){const _0x48713f=a0_0x5456ff;return this['_raw'][_0x48713f(0x353)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}['getDefaultValue'](){return;}[a0_0x5456ff(0x397)](){return;}get[a0_0x5456ff(0x353)](){const _0x14cfb9=a0_0x5456ff;return this[_0x14cfb9(0x39f)][_0x14cfb9(0x353)];}get['dbTypeLen'](){const _0x253553=a0_0x5456ff;return this[_0x253553(0x39f)][_0x253553(0x2e1)];}['getDOType'](){const _0x21855b=a0_0x5456ff;return this[_0x21855b(0x39f)][_0x21855b(0x46a)]??null;}get[a0_0x5456ff(0x46a)](){const _0x56d76a=a0_0x5456ff;return this[_0x56d76a(0x39f)][_0x56d76a(0x46a)]??null;}['toJSON'](){const _0x5350e7=a0_0x5456ff;return{'name':this['name'],'code':this[_0x5350e7(0x421)],'type':this[_0x5350e7(0x39e)],'dbType':this[_0x5350e7(0x353)],'dbTypeLen':this[_0x5350e7(0x2e1)],'doType':this[_0x5350e7(0x3ae)](),'displayName':this[_0x5350e7(0x27f)],'description':this[_0x5350e7(0x346)],'required':this[_0x5350e7(0x266)](),'primaryKey':this[_0x5350e7(0x21b)](),'system':this[_0x5350e7(0x1fb)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x5350e7(0x312)](),'updateTime':this[_0x5350e7(0x3ad)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x5350e7(0x28b)]()?this[_0x5350e7(0x23a)]():undefined};}[a0_0x5456ff(0x210)](){const _0x150f48=a0_0x5456ff;return _0x150f48(0x44e)+this[_0x150f48(0x464)]+',\x20'+this['code']+',\x20'+this[_0x150f48(0x353)]+_0x150f48(0x3bc)+this[_0x150f48(0x3ae)]()+')';}[a0_0x5456ff(0x467)](_0x49b96e){const _0x13517b=a0_0x5456ff,_0x5d1124={};_0x5d1124['VARCHAR']=_0x13517b(0x267),_0x5d1124['CHAR']=_0x13517b(0x267),_0x5d1124['TEXT']=_0x13517b(0x2a0),_0x5d1124['LONGTEXT']=_0x13517b(0x2a0),_0x5d1124[_0x13517b(0x344)]=_0x13517b(0x357),_0x5d1124[_0x13517b(0x43a)]=_0x13517b(0x357),_0x5d1124[_0x13517b(0x3ed)]='NUMBER',_0x5d1124[_0x13517b(0x37b)]='NUMBER',_0x5d1124[_0x13517b(0x442)]='NUMBER',_0x5d1124['DOUBLE']=_0x13517b(0x357),_0x5d1124[_0x13517b(0x275)]=_0x13517b(0x357),_0x5d1124[_0x13517b(0x213)]=_0x13517b(0x343),_0x5d1124[_0x13517b(0x3bb)]='DATE',_0x5d1124[_0x13517b(0x343)]=_0x13517b(0x343),_0x5d1124[_0x13517b(0x42c)]=_0x13517b(0x42c),_0x5d1124[_0x13517b(0x20d)]=_0x13517b(0x23b),_0x5d1124[_0x13517b(0x280)]=_0x13517b(0x23b),_0x5d1124['BLOB']=_0x13517b(0x3a8),_0x5d1124[_0x13517b(0x22c)]=_0x13517b(0x3a8);const _0x53a6ca=_0x5d1124,_0x19de39=_0x49b96e['toUpperCase']();return _0x53a6ca[_0x19de39]||_0x13517b(0x267);}}class FieldListV2 extends FieldListBase{constructor(_0x29a08c,_0x2e4794){super(_0x29a08c,_0x2e4794);}[a0_0x5456ff(0x3e5)](_0x46ff4c){const _0x168dda=a0_0x5456ff;return _0x46ff4c[_0x168dda(0x418)](_0x5c3caf=>new FieldV2(_0x5c3caf));}['all'](){const _0x237a2b=a0_0x5456ff;return[...this[_0x237a2b(0x338)]];}['at'](_0x2261ad){const _0x56c510=a0_0x5456ff;return this[_0x56c510(0x338)]['at'](_0x2261ad);}[a0_0x5456ff(0x283)](_0x348d35){const _0x21c5e6=a0_0x5456ff;return this[_0x21c5e6(0x338)][_0x21c5e6(0x283)](_0x2414b9=>_0x2414b9['code']===_0x348d35);}[a0_0x5456ff(0x2ec)](_0x7144ac){const _0x2b1c3c=a0_0x5456ff;return this[_0x2b1c3c(0x338)][_0x2b1c3c(0x283)](_0x5ceea3=>_0x5ceea3[_0x2b1c3c(0x3bd)]()===_0x7144ac);}['filter'](_0x48faa0){const _0x2e69b8=a0_0x5456ff;return this[_0x2e69b8(0x338)][_0x2e69b8(0x2b7)](_0x48faa0);}[a0_0x5456ff(0x418)](_0x59d2e0){const _0x4ae336=a0_0x5456ff;return this['_fields'][_0x4ae336(0x418)](_0x59d2e0);}[a0_0x5456ff(0x1e9)](){const _0x194acb=a0_0x5456ff;return this[_0x194acb(0x338)][_0x194acb(0x2b7)](_0x14d9d0=>_0x14d9d0['isRequired']());}[a0_0x5456ff(0x287)](){const _0x53df19=a0_0x5456ff;return this['_fields'][_0x53df19(0x2b7)](_0xb65748=>_0xb65748['isPrimaryKey']());}['getSystem'](){const _0x205056=a0_0x5456ff;return this[_0x205056(0x338)][_0x205056(0x2b7)](_0x2e40ad=>_0x2e40ad[_0x205056(0x1fb)]());}[a0_0x5456ff(0x240)](){const _0x17be79=a0_0x5456ff;return this['_fields'][_0x17be79(0x2b7)](_0x83be17=>_0x83be17[_0x17be79(0x3d8)]());}[a0_0x5456ff(0x482)](){const _0xdedba=a0_0x5456ff;return this[_0xdedba(0x338)]['filter'](_0x46ec69=>_0x46ec69[_0xdedba(0x28b)]());}['groupByType'](){const _0x3fef9f=a0_0x5456ff,_0x1e2566={};return this[_0x3fef9f(0x338)]['forEach'](_0x1cffda=>{const _0x31b550=_0x3fef9f,_0x234e4a=_0x1cffda['type'];!_0x1e2566[_0x234e4a]&&(_0x1e2566[_0x234e4a]=[]),_0x1e2566[_0x234e4a][_0x31b550(0x20f)](_0x1cffda);}),_0x1e2566;}[a0_0x5456ff(0x362)](){const _0x34558a=a0_0x5456ff;return this[_0x34558a(0x338)][_0x34558a(0x418)](_0x318061=>_0x318061['raw']);}static[a0_0x5456ff(0x234)](_0x11dbde){const _0x4c542f=a0_0x5456ff,_0x73486a=_0x11dbde[_0x4c542f(0x418)](_0x216bee=>_0x216bee[_0x4c542f(0x362)]);return new FieldListV2(_0x73486a);}static[a0_0x5456ff(0x3c2)](_0x4a918e){const _0x5a7a1c={};return _0x5a7a1c['includeDeleted']=!![],new FieldListV2(_0x4a918e,_0x5a7a1c);}['toString'](){const _0x5a07d7=a0_0x5456ff;return _0x5a07d7(0x3da)+this['length']+_0x5a07d7(0x309);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x5456ff(0x323)];['_fieldListV1WithDeleted'];constructor(_0x1cdea0){super(_0x1cdea0);}[a0_0x5456ff(0x387)](){const _0x5ba6f8=a0_0x5456ff;if(!this[_0x5ba6f8(0x323)]){const _0x2ebbf9={};_0x2ebbf9[_0x5ba6f8(0x268)]=![],this['_fieldListV1']=new FieldListV1(this[_0x5ba6f8(0x39f)]['properties']||[],_0x2ebbf9);}return this[_0x5ba6f8(0x323)];}['getFieldListWithDeleted'](){const _0x167a85=a0_0x5456ff;if(!this[_0x167a85(0x466)]){const _0x46c140={};_0x46c140[_0x167a85(0x268)]=!![],this[_0x167a85(0x466)]=new FieldListV1(this[_0x167a85(0x39f)][_0x167a85(0x2e8)]||[],_0x46c140);}return this[_0x167a85(0x466)];}[a0_0x5456ff(0x2fe)](){const _0x1f6524=a0_0x5456ff;return(this['_raw'][_0x1f6524(0x2e8)]||[])[_0x1f6524(0x2b7)](_0x45efce=>!_0x45efce['deleted']);}[a0_0x5456ff(0x354)](){const _0x3a90f5=a0_0x5456ff;return this['getFieldList']()[_0x3a90f5(0x46b)];}[a0_0x5456ff(0x3fb)](_0xe069b8){const _0x482394=a0_0x5456ff;return this[_0x482394(0x39f)][_0x482394(0x2e8)]?.[_0x482394(0x283)](_0x18c7af=>_0x18c7af['code']===_0xe069b8);}['getVersion'](){return'v1';}[a0_0x5456ff(0x376)](){const _0x22ec2e=a0_0x5456ff,_0x43be5f={};return _0x43be5f[_0x22ec2e(0x341)]=this['_raw'][_0x22ec2e(0x2e8)]||[],_0x43be5f[_0x22ec2e(0x268)]=![],_0x43be5f;}[a0_0x5456ff(0x26a)](){const _0x15ea9f=a0_0x5456ff;return this[_0x15ea9f(0x39f)]['operations'];}[a0_0x5456ff(0x3ee)](){const _0x5a7d13=a0_0x5456ff;return this['_raw'][_0x5a7d13(0x3c0)];}[a0_0x5456ff(0x3d7)](){const _0x55c6c7=a0_0x5456ff,_0x138a31=this[_0x55c6c7(0x1d6)](),_0x4cedd5=_0x138a31?.['dblinkInfoDTO'],_0xc0ded2={};return _0xc0ded2[_0x55c6c7(0x3c4)]=_0x138a31?.['dbId'],_0xc0ded2[_0x55c6c7(0x2bc)]=_0x138a31?.[_0x55c6c7(0x2bc)]??_0x4cedd5?.[_0x55c6c7(0x2bc)],_0xc0ded2[_0x55c6c7(0x353)]=_0x4cedd5?.[_0x55c6c7(0x353)],_0xc0ded2[_0x55c6c7(0x409)]=_0x4cedd5?.['dbVersion'],_0xc0ded2['tableName']=_0x138a31?.[_0x55c6c7(0x42b)],_0xc0ded2[_0x55c6c7(0x285)]=_0x138a31?.[_0x55c6c7(0x285)],_0xc0ded2[_0x55c6c7(0x212)]=_0x138a31?.[_0x55c6c7(0x212)],_0xc0ded2[_0x55c6c7(0x284)]=_0x4cedd5?.[_0x55c6c7(0x284)],_0xc0ded2['appCode']=_0x4cedd5?.['appCode'],new DBConfig(_0xc0ded2,_0x138a31);}get[a0_0x5456ff(0x29e)](){const _0x107f0c=a0_0x5456ff;return this[_0x107f0c(0x39f)][_0x107f0c(0x29e)];}[a0_0x5456ff(0x2db)](_0x567b10){const _0x177106=a0_0x5456ff;if(typeof _0x567b10!==_0x177106(0x386)){!![]&&console['warn'](_0x177106(0x26f),_0x567b10);return;}return this[_0x177106(0x387)]()['find'](_0x567b10);}[a0_0x5456ff(0x27a)](_0x38510a){const _0x41857d=a0_0x5456ff;if(!_0x38510a||typeof _0x38510a!==_0x41857d(0x39c))return![];const _0x2cf4f4=this[_0x41857d(0x2db)](_0x38510a[_0x41857d(0x421)]);return _0x2cf4f4?_0x2cf4f4[_0x41857d(0x293)]():![];}['getFilterOperation'](){const _0x173ff4=a0_0x5456ff,_0x213dac=this[_0x173ff4(0x230)]('filter');return _0x213dac;}[a0_0x5456ff(0x1f1)](){const _0x3d450c=a0_0x5456ff;return this['hasOperation'](_0x3d450c(0x2b7));}['toListItem'](){const _0x3b33de=a0_0x5456ff;return new DatasetItem({'id':this['id'],'name':this[_0x3b33de(0x464)],'datasetCode':this[_0x3b33de(0x25c)],'dbtableConfig':this[_0x3b33de(0x1d6)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x5456ff(0x3fd)];['_datasetMeta'];['_relations'];constructor(_0x382234){const _0x2a4a7e=a0_0x5456ff;super(_0x382234),this[_0x2a4a7e(0x235)]=_0x382234[_0x2a4a7e(0x22b)],this[_0x2a4a7e(0x352)]=_0x382234[_0x2a4a7e(0x458)]||[];}[a0_0x5456ff(0x307)](){return'v2';}[a0_0x5456ff(0x376)](){const _0x4ab78e=a0_0x5456ff,_0x146fd8={};return _0x146fd8['fields']=this[_0x4ab78e(0x39f)][_0x4ab78e(0x341)],_0x146fd8[_0x4ab78e(0x268)]=![],_0x146fd8;}[a0_0x5456ff(0x26a)](){const _0x321314=a0_0x5456ff;return this[_0x321314(0x39f)][_0x321314(0x2d3)];}[a0_0x5456ff(0x3ee)](){const _0x1ceff9=a0_0x5456ff;return this[_0x1ceff9(0x39f)]['source'];}[a0_0x5456ff(0x3d7)](){const _0x4fc528=a0_0x5456ff,_0x3f9caa=this[_0x4fc528(0x39f)][_0x4fc528(0x3a2)],_0x1fa0b2=_0x3f9caa?.[_0x4fc528(0x2fa)],_0x449c1c={};return _0x449c1c[_0x4fc528(0x3c4)]=_0x3f9caa?.[_0x4fc528(0x3c4)],_0x449c1c[_0x4fc528(0x2bc)]=_0x3f9caa?.['dbName']??_0x1fa0b2?.[_0x4fc528(0x2bc)],_0x449c1c[_0x4fc528(0x353)]=_0x1fa0b2?.[_0x4fc528(0x353)],_0x449c1c[_0x4fc528(0x409)]=_0x1fa0b2?.['dbVersion'],_0x449c1c['tableName']=_0x3f9caa?.[_0x4fc528(0x42b)],_0x449c1c['datasetKey']=_0x3f9caa?.[_0x4fc528(0x285)],_0x449c1c['pkField']=_0x3f9caa?.[_0x4fc528(0x212)],_0x449c1c[_0x4fc528(0x284)]=_0x3f9caa?.[_0x4fc528(0x284)]??_0x1fa0b2?.['tenantCode'],_0x449c1c['appCode']=_0x3f9caa?.[_0x4fc528(0x441)]??_0x1fa0b2?.['appCode'],new DBConfig(_0x449c1c,_0x3f9caa);}[a0_0x5456ff(0x387)](){const _0x40efaf=a0_0x5456ff;return this[_0x40efaf(0x3e2)]();}[a0_0x5456ff(0x2fe)](){const _0x479ccd=a0_0x5456ff;return this[_0x479ccd(0x39f)][_0x479ccd(0x341)];}[a0_0x5456ff(0x354)](){const _0x2f3755=a0_0x5456ff;return this[_0x2f3755(0x39f)][_0x2f3755(0x341)][_0x2f3755(0x46b)];}[a0_0x5456ff(0x3fb)](_0x5c6b01){const _0x428892=a0_0x5456ff;return this[_0x428892(0x39f)][_0x428892(0x341)][_0x428892(0x283)](_0x3c15e5=>_0x3c15e5[_0x428892(0x464)]===_0x5c6b01);}['getDatasetMeta'](){return this['_datasetMeta'];}[a0_0x5456ff(0x337)](){const _0x2d1f49=a0_0x5456ff;return this[_0x2d1f49(0x352)];}[a0_0x5456ff(0x474)](){const _0x208d52=a0_0x5456ff;return this[_0x208d52(0x235)][_0x208d52(0x3ce)]||[];}[a0_0x5456ff(0x46f)](_0x415ab0){const _0x3b3305=a0_0x5456ff;return this[_0x3b3305(0x352)][_0x3b3305(0x2b7)](_0x2c0d4b=>_0x2c0d4b[_0x3b3305(0x2cf)]===_0x415ab0);}[a0_0x5456ff(0x2bf)](_0x53bf2f){const _0x2c2279=a0_0x5456ff;return this[_0x2c2279(0x352)][_0x2c2279(0x2e5)](_0x362668=>_0x362668[_0x2c2279(0x2cf)]===_0x53bf2f);}[a0_0x5456ff(0x250)](_0x56247f){const _0xff0e1d=a0_0x5456ff,_0x3840e8=this[_0xff0e1d(0x352)]['find'](_0x349415=>_0x349415['fromField']===_0x56247f);if(!_0x3840e8)return;const _0x4a810f={};return _0x4a810f[_0xff0e1d(0x3a7)]=_0x3840e8[_0xff0e1d(0x301)],_0x4a810f[_0xff0e1d(0x25c)]=_0x3840e8[_0xff0e1d(0x249)],_0x4a810f[_0xff0e1d(0x2f7)]=_0x3840e8[_0xff0e1d(0x2cd)],_0x4a810f[_0xff0e1d(0x42b)]=_0x3840e8[_0xff0e1d(0x46d)],_0x4a810f[_0xff0e1d(0x339)]=_0x3840e8[_0xff0e1d(0x339)],_0x4a810f;}['getForeignKeyFields'](){const _0x2b0662=a0_0x5456ff;return this[_0x2b0662(0x352)]['map'](_0x2a8363=>_0x2a8363[_0x2b0662(0x2cf)]);}[a0_0x5456ff(0x3e2)](){const _0x5417f4=a0_0x5456ff;if(!this[_0x5417f4(0x3fd)]){const _0xc89b41=this[_0x5417f4(0x39f)][_0x5417f4(0x341)]||[];this[_0x5417f4(0x3fd)]=new FieldListV2(_0xc89b41);}return this[_0x5417f4(0x3fd)];}[a0_0x5456ff(0x2db)](_0x34a8ca){const _0xfe9c3=a0_0x5456ff;if(typeof _0x34a8ca!=='string'){!![]&&console[_0xfe9c3(0x47e)](_0xfe9c3(0x470),_0x34a8ca);return;}return this[_0xfe9c3(0x3e2)]()[_0xfe9c3(0x283)](_0x34a8ca);}[a0_0x5456ff(0x27a)](_0x141592){const _0x41d5e0=a0_0x5456ff;if(!_0x141592||typeof _0x141592!==_0x41d5e0(0x39c))return![];const _0x5efd32=_0x141592['name']||_0x141592[_0x41d5e0(0x421)],_0x17d333=this[_0x41d5e0(0x2db)](_0x5efd32);return _0x17d333?_0x17d333['isMultipleSelect']():![];}[a0_0x5456ff(0x227)](){const _0x35a18b=a0_0x5456ff;if(!this['_operationList']){const _0x1c8bc4=this[_0x35a18b(0x416)](this[_0x35a18b(0x26a)]()||{});this[_0x35a18b(0x236)]=new OperationList(_0x1c8bc4,{'fields':this[_0x35a18b(0x3e2)]()[_0x35a18b(0x45c)](),'pkField':this[_0x35a18b(0x39f)][_0x35a18b(0x3a2)]?.['pkField'],'dbtableConfig':this[_0x35a18b(0x39f)][_0x35a18b(0x3a2)]||null});}return this[_0x35a18b(0x236)];}[a0_0x5456ff(0x2d9)](){const _0x5583a8=a0_0x5456ff,_0x1ced39=this[_0x5583a8(0x230)](_0x5583a8(0x2b7));return _0x1ced39;}['hasFilterOperation'](){const _0x2a5b3d=a0_0x5456ff;return this[_0x2a5b3d(0x258)](_0x2a5b3d(0x2b7));}[a0_0x5456ff(0x2a7)](){const _0x2f987f=a0_0x5456ff;return new DatasetItem({'id':this['id'],'name':this[_0x2f987f(0x464)],'datasetCode':this['datasetCode'],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x5456ff(0x210)](){const _0x3217db=a0_0x5456ff,_0x2f6bdd=this['_relations'][_0x3217db(0x46b)],_0x2013ec=this[_0x3217db(0x474)]()[_0x3217db(0x46b)];return _0x3217db(0x23e)+this[_0x3217db(0x464)]+',\x20'+this[_0x3217db(0x25c)]+',\x20'+this['getFieldCount']()+_0x3217db(0x404)+this[_0x3217db(0x245)]()+_0x3217db(0x225)+_0x2f6bdd+_0x3217db(0x2a9)+_0x2013ec+_0x3217db(0x269);}['getFieldsV2'](){const _0x5e2701=a0_0x5456ff;return this[_0x5e2701(0x39f)][_0x5e2701(0x341)];}[a0_0x5456ff(0x2c2)](_0x3d8910){const _0x30ff97=a0_0x5456ff;return this['_raw'][_0x30ff97(0x341)][_0x30ff97(0x283)](_0x25c44f=>_0x25c44f[_0x30ff97(0x464)]===_0x3d8910);}}function detectDatasetVersion(_0x541426){const _0x5ce68d=a0_0x5456ff;if(_0x541426[_0x5ce68d(0x274)]==='v2'&&_0x5ce68d(0x341)in _0x541426&&Array[_0x5ce68d(0x248)](_0x541426[_0x5ce68d(0x341)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x5456ff(0x3aa)];constructor(_0x45a918){const _0x39a7fb=a0_0x5456ff;super(_0x45a918);const _0x2ab81d=detectDatasetVersion(_0x45a918);this[_0x39a7fb(0x3aa)]=_0x2ab81d==='v2'?new DrivenDataDetailV2(_0x45a918):new DrivenDataDetailV1(_0x45a918);}get['id'](){return this['_instance']['id'];}get[a0_0x5456ff(0x464)](){const _0x1b408f=a0_0x5456ff;return this[_0x1b408f(0x3aa)]['name'];}get[a0_0x5456ff(0x25c)](){const _0x2dcc75=a0_0x5456ff;return this[_0x2dcc75(0x3aa)][_0x2dcc75(0x25c)];}get[a0_0x5456ff(0x29e)](){const _0x33a36a=a0_0x5456ff;return this[_0x33a36a(0x3aa)][_0x33a36a(0x307)]()==='v2'?_0x33a36a(0x319):'1.0';}[a0_0x5456ff(0x307)](){const _0x5789d8=a0_0x5456ff;return this[_0x5789d8(0x3aa)][_0x5789d8(0x307)]();}[a0_0x5456ff(0x1e3)](){return this['_instance']['id'];}[a0_0x5456ff(0x288)](){const _0x480c9f=a0_0x5456ff;return this[_0x480c9f(0x3aa)][_0x480c9f(0x25c)];}[a0_0x5456ff(0x432)](){return this['_instance']['name'];}[a0_0x5456ff(0x376)](){const _0x5f4b35=a0_0x5456ff;return this['_instance'][_0x5f4b35(0x376)]();}['getOperationsData'](){const _0x21961e=a0_0x5456ff;return this[_0x21961e(0x3aa)][_0x21961e(0x26a)]();}[a0_0x5456ff(0x3ee)](){const _0x58dce0=a0_0x5456ff;return this[_0x58dce0(0x3aa)][_0x58dce0(0x3ee)]();}[a0_0x5456ff(0x3cf)](){const _0x51d048=a0_0x5456ff;return this[_0x51d048(0x3aa)][_0x51d048(0x3cf)]();}['getFieldList'](){const _0x52743a=a0_0x5456ff;return this['_instance'][_0x52743a(0x387)]();}['getFieldsWithDeleted'](){const _0x12f3cb=a0_0x5456ff;return this[_0x12f3cb(0x3aa)]['getFieldsWithDeleted']();}[a0_0x5456ff(0x2fe)](){return this['_instance']['getFields']();}[a0_0x5456ff(0x354)](){const _0x29003a=a0_0x5456ff;return this['_instance'][_0x29003a(0x354)]();}[a0_0x5456ff(0x32d)](){const _0x57cf0c=a0_0x5456ff,_0x291de4=this[_0x57cf0c(0x3aa)][_0x57cf0c(0x1d6)]();return _0x291de4?.['pkField'];}[a0_0x5456ff(0x3d7)](){const _0x4b1974=a0_0x5456ff;return this[_0x4b1974(0x3aa)][_0x4b1974(0x3d7)]();}[a0_0x5456ff(0x2db)](_0x171820){const _0x2a0275=a0_0x5456ff;return this[_0x2a0275(0x3aa)][_0x2a0275(0x2db)](_0x171820);}['getPrimaryKeyFields'](){const _0x1c5847=a0_0x5456ff;return this[_0x1c5847(0x3aa)][_0x1c5847(0x2fc)]();}[a0_0x5456ff(0x1ec)](){const _0x9ac9c9=a0_0x5456ff;return this['_instance'][_0x9ac9c9(0x1ec)]();}[a0_0x5456ff(0x24a)](){const _0x51d23f=a0_0x5456ff;return this[_0x51d23f(0x3aa)][_0x51d23f(0x24a)]();}['getRequiredFields'](){return this['_instance']['getRequiredFields']();}['getFieldsByType'](){const _0x4ad50f=a0_0x5456ff;return this[_0x4ad50f(0x3aa)][_0x4ad50f(0x430)]();}[a0_0x5456ff(0x45f)](){const _0x2f7c30=a0_0x5456ff;return this[_0x2f7c30(0x3aa)][_0x2f7c30(0x45f)]();}['getEnumFieldsMeta'](){return this['_instance']['getEnumFieldsMeta']();}[a0_0x5456ff(0x2a2)](){const _0x32ca42=a0_0x5456ff;return this[_0x32ca42(0x3aa)][_0x32ca42(0x2a2)]();}[a0_0x5456ff(0x245)](){const _0x153851=a0_0x5456ff;return this[_0x153851(0x3aa)][_0x153851(0x245)]();}[a0_0x5456ff(0x3f2)](){const _0x25c322=a0_0x5456ff;return this[_0x25c322(0x3aa)][_0x25c322(0x3f2)]();}['getDisabledOperations'](){const _0x3c8cb6=a0_0x5456ff;return this[_0x3c8cb6(0x3aa)][_0x3c8cb6(0x237)]();}[a0_0x5456ff(0x34a)](){const _0x1d693e=a0_0x5456ff;return this[_0x1d693e(0x3aa)][_0x1d693e(0x34a)]();}['getDisabledOperationInstances'](){const _0x4b4fa4=a0_0x5456ff;return this['_instance'][_0x4b4fa4(0x475)]();}['getStats'](){const _0x5c8db2=a0_0x5456ff;return this[_0x5c8db2(0x3aa)][_0x5c8db2(0x21e)]();}[a0_0x5456ff(0x3e4)](){const _0x1dc89c=a0_0x5456ff;return this[_0x1dc89c(0x3aa)][_0x1dc89c(0x3e4)]();}[a0_0x5456ff(0x337)](){const _0x54f3b0=a0_0x5456ff;return this[_0x54f3b0(0x3aa)]['getRelations']();}[a0_0x5456ff(0x474)](){const _0xef4f3f=a0_0x5456ff;return this[_0xef4f3f(0x3aa)]['getIndexes']();}[a0_0x5456ff(0x1e7)](){const _0x8b20ef=a0_0x5456ff;return this[_0x8b20ef(0x3aa)][_0x8b20ef(0x1e7)]();}[a0_0x5456ff(0x30e)](){const _0x390cd3=a0_0x5456ff;return this['_instance'][_0x390cd3(0x30e)]();}[a0_0x5456ff(0x262)](){const _0x967330=a0_0x5456ff;return this['_instance'][_0x967330(0x262)]();}['getFilterOperation'](){const _0xc65279=a0_0x5456ff;return this[_0xc65279(0x3aa)]['getFilterOperation']();}[a0_0x5456ff(0x1f1)](){const _0x294416=a0_0x5456ff;return this[_0x294416(0x3aa)][_0x294416(0x1f1)]();}['toListItem'](){const _0x354318=a0_0x5456ff;return this['_instance'][_0x354318(0x2a7)]();}[a0_0x5456ff(0x210)](){const _0x2725a9=a0_0x5456ff;return this[_0x2725a9(0x3aa)]['toString']();}[a0_0x5456ff(0x277)](){const _0x17c62f=a0_0x5456ff;return this[_0x17c62f(0x3aa)];}}function detectDatasetVersion2(_0x2367ec){const _0x1feba2=a0_0x5456ff;if(_0x2367ec['doVersion']==='v2'&&_0x1feba2(0x341)in _0x2367ec&&Array['isArray'](_0x2367ec[_0x1feba2(0x341)]))return'v2';return'v1';}function createDrivenDataDetail(_0x270fa3,_0x5a7b0e={}){const {forceVersion:_0x5582f4}=_0x5a7b0e;if(_0x5582f4==='v2')return new DrivenDataDetailV2(_0x270fa3);if(_0x5582f4==='v1')return new DrivenDataDetailV1(_0x270fa3);const _0x4f6758=detectDatasetVersion2(_0x270fa3);if(_0x4f6758==='v2')return new DrivenDataDetailV2(_0x270fa3);return new DrivenDataDetailV1(_0x270fa3);}function isV2Data(_0xabd19e){return detectDatasetVersion2(_0xabd19e)==='v2';}function isV1Data(_0x25ec3a){return detectDatasetVersion2(_0x25ec3a)==='v1';}function isV2Instance(_0x119a14){return _0x119a14['getVersion']()==='v2';}function isV1Instance(_0x2d6cb8){return _0x2d6cb8['getVersion']()==='v1';}class DatasetGroup{[a0_0x5456ff(0x282)];constructor(_0x73853){const _0x56a7eb=a0_0x5456ff;this[_0x56a7eb(0x282)]=Array['isArray'](_0x73853)?[..._0x73853]:[_0x73853],this['items'][_0x56a7eb(0x27d)]((_0x38b88d,_0x252b69)=>{const _0x3f16c2=Number(_0x38b88d['id'])||0x0,_0x45da77=Number(_0x252b69['id'])||0x0;return _0x45da77-_0x3f16c2;});}[a0_0x5456ff(0x398)](){const _0x56f118=a0_0x5456ff;return this[_0x56f118(0x282)][_0x56f118(0x46b)]>0x1;}[a0_0x5456ff(0x47f)](){const _0x3edc08=a0_0x5456ff;return this[_0x3edc08(0x282)][0x0];}[a0_0x5456ff(0x348)](){const _0x1eeaac=a0_0x5456ff;return this[_0x1eeaac(0x282)][this[_0x1eeaac(0x282)][_0x1eeaac(0x46b)]-0x1];}[a0_0x5456ff(0x260)](){const _0x344f0a=a0_0x5456ff;return[...this[_0x344f0a(0x282)]];}['getCount'](){const _0x14a023=a0_0x5456ff;return this[_0x14a023(0x282)][_0x14a023(0x46b)];}['getAt'](_0x345b8b){const _0x128155=a0_0x5456ff;return this[_0x128155(0x282)][_0x345b8b];}['findById'](_0x1550f8){const _0x263976=a0_0x5456ff;return this[_0x263976(0x282)][_0x263976(0x283)](_0x1e1dfd=>_0x1e1dfd['id']===_0x1550f8);}[a0_0x5456ff(0x3a4)](_0xa3879e){const _0x189913=a0_0x5456ff;return this[_0x189913(0x282)][_0x189913(0x283)](_0x5d6e23=>_0x5d6e23[_0x189913(0x25c)]===_0xa3879e);}[a0_0x5456ff(0x38a)](){const _0x4656b7=a0_0x5456ff;return this[_0x4656b7(0x282)][_0x4656b7(0x418)](_0x4c2cb7=>_0x4c2cb7['id'])[_0x4656b7(0x2b7)](_0x1e7bc5=>_0x1e7bc5!==undefined);}[a0_0x5456ff(0x3f9)](){const _0x5665c2=a0_0x5456ff;return this['items'][_0x5665c2(0x418)](_0x9a4206=>_0x9a4206[_0x5665c2(0x25c)]);}[a0_0x5456ff(0x210)](){const _0x8d0357=a0_0x5456ff;if(this['hasConflict']())return _0x8d0357(0x420)+this['items'][_0x8d0357(0x46b)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x8d0357(0x47f)]()['name']+')';return'DatasetGroup('+this[_0x8d0357(0x282)][0x0][_0x8d0357(0x464)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x1281b1){const _0x5d9fc4=a0_0x5456ff;this[_0x5d9fc4(0x242)]=new Map();for(const _0x1cb965 of _0x1281b1){const _0x1ac4d1=getTableKey(_0x1cb965);if(!this['groups'][_0x5d9fc4(0x3a9)](_0x1ac4d1))this[_0x5d9fc4(0x242)]['set'](_0x1ac4d1,new DatasetGroup(_0x1cb965));else{const _0x5c31e5=this[_0x5d9fc4(0x242)][_0x5d9fc4(0x326)](_0x1ac4d1),_0x421ab1=[..._0x5c31e5[_0x5d9fc4(0x260)](),_0x1cb965];this[_0x5d9fc4(0x242)][_0x5d9fc4(0x270)](_0x1ac4d1,new DatasetGroup(_0x421ab1));}}}[a0_0x5456ff(0x326)](_0xb9fe3e){const _0x498586=a0_0x5456ff;return this[_0x498586(0x242)][_0x498586(0x326)](_0xb9fe3e);}[a0_0x5456ff(0x3a9)](_0x49c1c3){const _0x19b833=a0_0x5456ff;return this['groups'][_0x19b833(0x3a9)](_0x49c1c3);}get[a0_0x5456ff(0x1ee)](){const _0x50b82e=a0_0x5456ff;return this[_0x50b82e(0x242)][_0x50b82e(0x1ee)];}[a0_0x5456ff(0x35f)](){const _0x200464=a0_0x5456ff;return this[_0x200464(0x242)][_0x200464(0x35f)]();}[a0_0x5456ff(0x25d)](){const _0x239ddf=a0_0x5456ff;return this[_0x239ddf(0x242)][_0x239ddf(0x25d)]();}[a0_0x5456ff(0x2eb)](){const _0x51097c=a0_0x5456ff;return this[_0x51097c(0x242)][_0x51097c(0x2eb)]();}[Symbol[a0_0x5456ff(0x2d0)]](){return this['groups']['entries']();}[a0_0x5456ff(0x3b2)](_0x52f926){const _0x2673fb=a0_0x5456ff;this['groups'][_0x2673fb(0x3b2)]((_0x458172,_0x245f42)=>_0x52f926(_0x458172,_0x245f42,this));}[a0_0x5456ff(0x372)](){const _0x16a632=a0_0x5456ff,_0x5f5f26=new Map();for(const [_0x2f4074,_0x349dd1]of this[_0x16a632(0x242)]){_0x349dd1['hasConflict']()&&_0x5f5f26[_0x16a632(0x270)](_0x2f4074,_0x349dd1);}return _0x5f5f26;}[a0_0x5456ff(0x3f4)](){const _0x3144c7=a0_0x5456ff;for(const _0x347ad8 of this[_0x3144c7(0x242)][_0x3144c7(0x25d)]()){if(_0x347ad8[_0x3144c7(0x398)]())return!![];}return![];}[a0_0x5456ff(0x3d1)](){const _0x3d83df=a0_0x5456ff;let _0x4036b1=0x0,_0x2e5078=0x0;for(const _0x48ca76 of this[_0x3d83df(0x242)][_0x3d83df(0x25d)]()){_0x48ca76[_0x3d83df(0x398)]()&&(_0x4036b1++,_0x2e5078+=_0x48ca76[_0x3d83df(0x359)]());}const _0x53e03a={};return _0x53e03a[_0x3d83df(0x318)]=_0x4036b1,_0x53e03a[_0x3d83df(0x35c)]=_0x2e5078,_0x53e03a[_0x3d83df(0x32f)]=this[_0x3d83df(0x242)][_0x3d83df(0x1ee)],_0x53e03a;}[a0_0x5456ff(0x2c5)](){const _0x5196d8=a0_0x5456ff,_0x399df1=[];for(const _0x2d0ab3 of this['groups'][_0x5196d8(0x25d)]()){_0x399df1['push'](..._0x2d0ab3['getAll']());}return _0x399df1;}[a0_0x5456ff(0x37c)](){const _0x15b86e=a0_0x5456ff,_0x512b0a=[];for(const _0x5daaf8 of this['groups']['values']()){_0x512b0a[_0x15b86e(0x20f)](_0x5daaf8[_0x15b86e(0x47f)]());}return _0x512b0a;}[a0_0x5456ff(0x47f)](_0x12a589){const _0xdde0d=a0_0x5456ff;return this[_0xdde0d(0x242)]['get'](_0x12a589)?.[_0xdde0d(0x47f)]();}[a0_0x5456ff(0x260)](_0x38be3e){const _0x1925bf=a0_0x5456ff;return this[_0x1925bf(0x242)][_0x1925bf(0x326)](_0x38be3e)?.[_0x1925bf(0x260)]()||[];}['toConfig'](){const _0x34b703=a0_0x5456ff,_0x194a9e=this[_0x34b703(0x37c)](),_0x339ca6=_0x194a9e['map'](_0x3ef76b=>_0x3ef76b[_0x34b703(0x262)]()),_0x4abde8={};return _0x4abde8['enableDeduplication']=![],generateDatasetsConfig(_0x339ca6,_0x4abde8);}[a0_0x5456ff(0x349)](){const _0x16651f=a0_0x5456ff,_0xba1b52=this['getAllDatasets'](),_0x48af31=_0xba1b52[_0x16651f(0x418)](_0x480db6=>_0x480db6[_0x16651f(0x262)]());return generateFullDatasetsConfig(_0x48af31);}[a0_0x5456ff(0x2c3)](){const _0x409836={};for(const [_0x4f3e0c,_0x17211e]of this['groups']){_0x409836[_0x4f3e0c]=_0x17211e;}return _0x409836;}['toJSON'](){const _0x46256f=a0_0x5456ff,_0x1d50f5={};for(const [_0x2b0daa,_0x1b3cef]of this[_0x46256f(0x242)]){_0x1d50f5[_0x2b0daa]=_0x1b3cef[_0x46256f(0x260)]()[_0x46256f(0x418)](_0x256e0c=>_0x256e0c[_0x46256f(0x262)]());}return _0x1d50f5;}[a0_0x5456ff(0x210)](){const _0x4843f8=a0_0x5456ff;return'DatasetGroupMap('+this['groups'][_0x4843f8(0x1ee)]+'\x20groups,\x20'+(this[_0x4843f8(0x3f4)]()?_0x4843f8(0x2dd):_0x4843f8(0x3c6))+')';}}class DatasetList{['_datasetMap'];constructor(_0x49d2a3){const _0x512626=a0_0x5456ff;let _0x4164b1;if(Array['isArray'](_0x49d2a3))_0x4164b1=_0x49d2a3;else{if('success'in _0x49d2a3){if(!_0x49d2a3[_0x512626(0x3e8)])throw new Error(_0x512626(0x358));if(Array['isArray'](_0x49d2a3[_0x512626(0x3e3)]))_0x4164b1=_0x49d2a3[_0x512626(0x3e3)][_0x512626(0x418)](_0x3a0c8e=>({..._0x3a0c8e,'datasetCode':_0x3a0c8e['code']||_0x3a0c8e[_0x512626(0x25c)]}));else{if(_0x49d2a3[_0x512626(0x3e3)]?.[_0x512626(0x218)])_0x4164b1=_0x49d2a3['data'][_0x512626(0x218)][_0x512626(0x418)](_0x3228b5=>({..._0x3228b5,'datasetCode':_0x3228b5['code']||_0x3228b5[_0x512626(0x25c)]}));else throw new Error(_0x512626(0x435));}}else{if(_0x512626(0x218)in _0x49d2a3){if(!Array[_0x512626(0x248)](_0x49d2a3['tableData']))throw new Error(_0x512626(0x2c7));_0x4164b1=_0x49d2a3[_0x512626(0x218)][_0x512626(0x418)](_0x57b6ec=>({..._0x57b6ec,'datasetCode':_0x57b6ec[_0x512626(0x421)]||_0x57b6ec[_0x512626(0x25c)]}));}else throw new Error(_0x512626(0x3be));}}const _0x37b8be=cleanDatasetNames(_0x4164b1),_0xe2f60a=_0x37b8be[_0x512626(0x418)](_0x77753c=>new DatasetItem(_0x77753c));this[_0x512626(0x297)]=new DatasetGroupMap(_0xe2f60a);}get[a0_0x5456ff(0x1e6)](){const _0x31f042=a0_0x5456ff;return this[_0x31f042(0x297)];}[a0_0x5456ff(0x303)](){const _0x509a0d=a0_0x5456ff;return this[_0x509a0d(0x297)][_0x509a0d(0x2c5)]();}['getCount'](){const _0x4033c3=a0_0x5456ff;return this['getItems']()[_0x4033c3(0x46b)];}[a0_0x5456ff(0x2b4)](){const _0x269460=a0_0x5456ff;return this[_0x269460(0x297)][_0x269460(0x1ee)]===0x0;}[a0_0x5456ff(0x2a4)](_0x2a42c0){const _0x3b6061=a0_0x5456ff;return this[_0x3b6061(0x303)]()[_0x2a42c0];}[a0_0x5456ff(0x2e6)](){const _0x288b32=a0_0x5456ff;return this[_0x288b32(0x303)]()[0x0];}['getLast'](){const _0x62fb44=this['getItems']();return _0x62fb44[_0x62fb44['length']-0x1];}[a0_0x5456ff(0x3a4)](_0x8c3eb0){const _0x1a174c=a0_0x5456ff;for(const _0x58102a of this[_0x1a174c(0x297)][_0x1a174c(0x25d)]()){const _0x223dd6=_0x58102a[_0x1a174c(0x3a4)](_0x8c3eb0);if(_0x223dd6)return _0x223dd6;}return;}[a0_0x5456ff(0x2ec)](_0x5abf40){const _0x397813=a0_0x5456ff;return this[_0x397813(0x303)]()[_0x397813(0x283)](_0x632fdd=>_0x632fdd[_0x397813(0x464)]===_0x5abf40);}[a0_0x5456ff(0x2b0)](_0x47d572){const _0x532b0a=a0_0x5456ff;for(const _0x1bf8ea of this[_0x532b0a(0x297)][_0x532b0a(0x25d)]()){const _0x20083c=_0x1bf8ea['findById'](_0x47d572);if(_0x20083c)return _0x20083c;}return;}[a0_0x5456ff(0x2da)](_0x49fe47){const _0x331a98=a0_0x5456ff,_0x36d3e9=getTableKey(_0x49fe47);return this[_0x331a98(0x297)][_0x331a98(0x47f)](_0x36d3e9);}['filter'](_0xed823e){const _0x11eeb2=a0_0x5456ff,_0x57f473=this[_0x11eeb2(0x303)]()[_0x11eeb2(0x2b7)](_0xed823e);return new DatasetList(_0x57f473[_0x11eeb2(0x418)](_0x410ee6=>_0x410ee6[_0x11eeb2(0x262)]()));}['findAll'](_0x3b2ef1){const _0x2d0330=a0_0x5456ff;return this[_0x2d0330(0x303)]()[_0x2d0330(0x2b7)](_0x3b2ef1);}['forEach'](_0x3b90b7){const _0x1cc1fb=a0_0x5456ff;this['getItems']()[_0x1cc1fb(0x3b2)](_0x3b90b7);}['map'](_0x34503f){const _0x1bce57=a0_0x5456ff;return this[_0x1bce57(0x303)]()['map'](_0x34503f);}[Symbol['iterator']](){const _0x4e1d69=a0_0x5456ff;return this['getItems']()[Symbol[_0x4e1d69(0x2d0)]]();}['getVirtualTables'](){const _0x4cce2f=a0_0x5456ff;return this[_0x4cce2f(0x303)]()[_0x4cce2f(0x2b7)](_0x1d8cb6=>_0x1d8cb6[_0x4cce2f(0x25e)]());}[a0_0x5456ff(0x468)](){const _0x34f76c=a0_0x5456ff;return this[_0x34f76c(0x303)]()[_0x34f76c(0x2b7)](_0x33adf5=>!_0x33adf5[_0x34f76c(0x25e)]());}[a0_0x5456ff(0x456)](){const _0x5b0bda=a0_0x5456ff,_0x3c8665={};for(const _0x313d77 of this[_0x5b0bda(0x297)][_0x5b0bda(0x25d)]()){const _0x2713c9=_0x313d77[_0x5b0bda(0x47f)]()[_0x5b0bda(0x36a)]();_0x3c8665[_0x2713c9]=_0x313d77[_0x5b0bda(0x260)]();}return _0x3c8665;}[a0_0x5456ff(0x40d)](){const _0x5cb274=a0_0x5456ff,_0x57e94c={};for(const _0x484a43 of this[_0x5cb274(0x297)][_0x5cb274(0x372)]()[_0x5cb274(0x25d)]()){const _0x6bcdab=_0x484a43[_0x5cb274(0x47f)]()[_0x5cb274(0x36a)]();_0x57e94c[_0x6bcdab]=_0x484a43[_0x5cb274(0x260)]()[_0x5cb274(0x418)](_0x129a96=>_0x129a96['toJSON']());}return{'hasConflicts':Object[_0x5cb274(0x35f)](_0x57e94c)[_0x5cb274(0x46b)]>0x0,'conflicts':_0x57e94c};}[a0_0x5456ff(0x3f4)](){const _0x5ea920=a0_0x5456ff;return this[_0x5ea920(0x297)][_0x5ea920(0x3f4)]();}[a0_0x5456ff(0x1f6)](){const _0x4b8e0e=a0_0x5456ff,_0x4d9fa5=[];for(const _0x418cb5 of this[_0x4b8e0e(0x297)][_0x4b8e0e(0x372)]()['values']()){_0x4d9fa5['push'](..._0x418cb5['getAll']());}return _0x4d9fa5;}['generateConfig'](_0x10d994){const _0xc4c325=a0_0x5456ff;if(!_0x10d994||Object[_0xc4c325(0x35f)](_0x10d994)['length']===0x0)return this[_0xc4c325(0x1e6)]['toConfig']();const _0x511b9c=this[_0xc4c325(0x303)]()[_0xc4c325(0x418)](_0x33fd30=>_0x33fd30[_0xc4c325(0x262)]());return generateDatasetsConfig(_0x511b9c,_0x10d994);}['generateConfigArray'](_0x50bea3){const _0x265818=this['generateConfig'](_0x50bea3);return datasetsConfigToArray(_0x265818);}[a0_0x5456ff(0x3ab)](){const _0x2848b0=a0_0x5456ff;return this[_0x2848b0(0x303)]()['map'](_0x3d9c53=>_0x3d9c53['toConfig']());}[a0_0x5456ff(0x21e)](){const _0xa6a89=a0_0x5456ff;return{'total':this[_0xa6a89(0x359)](),'virtualTables':this[_0xa6a89(0x202)]()[_0xa6a89(0x46b)],'realTables':this[_0xa6a89(0x468)]()[_0xa6a89(0x46b)],'hasConflicts':this[_0xa6a89(0x3f4)](),'conflictCount':this[_0xa6a89(0x1f6)]()[_0xa6a89(0x46b)]};}[a0_0x5456ff(0x20c)](){const _0x30264b=a0_0x5456ff;return this[_0x30264b(0x303)]()[_0x30264b(0x418)](_0x20e714=>_0x20e714['toJSON']());}['toJSON'](){const _0x5ef820=a0_0x5456ff;return this[_0x5ef820(0x20c)]();}['toString'](){const _0x23a0c0=a0_0x5456ff;return'DatasetList('+this[_0x23a0c0(0x359)]()+_0x23a0c0(0x30a)+this[_0x23a0c0(0x297)][_0x23a0c0(0x1ee)]+_0x23a0c0(0x305);}static[a0_0x5456ff(0x2d5)](_0x54760c){return new DatasetList(_0x54760c);}static[a0_0x5456ff(0x2e7)](_0x8a3435){return new DatasetList(_0x8a3435);}static[a0_0x5456ff(0x43f)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x5456ff(0x261);function renderTemplate(_0x4c2af1,_0x4ca15b,_0x4675ae={}){const _0x30297a=a0_0x5456ff;let _0x214e02=_0x4c2af1;return Object['entries'](_0x4675ae)['forEach'](([_0x472440,_0x1eacda])=>{const _0x2dd222=a0_0x2d67,_0x244006=new RegExp(_0x2dd222(0x3de)+_0x472440+_0x2dd222(0x1d9),'g');_0x214e02=_0x214e02['replace'](_0x244006,_0x1eacda?'$1':'');}),Object[_0x30297a(0x2eb)](_0x4ca15b)[_0x30297a(0x3b2)](([_0x223932,_0x2ab1c3])=>{const _0x447ab2=_0x30297a;if(_0x2ab1c3!==undefined){const _0x494795=new RegExp(_0x447ab2(0x410)+_0x223932+_0x447ab2(0x375),'g');_0x214e02=_0x214e02[_0x447ab2(0x276)](_0x494795,_0x2ab1c3);}}),_0x214e02;}function generateSDKInitCode(_0xd19437,_0x5c73d6,_0x5721f5,_0x19daf2,_0x1ff26a){const _0x4756f8=a0_0x5456ff,_0x55a03a={};_0x55a03a['appCode']=_0xd19437,_0x55a03a['datasetCode']=_0x5c73d6,_0x55a03a[_0x4756f8(0x433)]=_0x5721f5,_0x55a03a[_0x4756f8(0x1f7)]=_0x19daf2==='daily'?'daily':undefined;const _0x4a709c={};return _0x4a709c['env']=_0x19daf2!==undefined&&_0x19daf2!==_0x4756f8(0x286),_0x4a709c[_0x4756f8(0x3d4)]=_0x1ff26a===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x55a03a,_0x4a709c);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x5456ff(0x299);function generateAliasExplanation(_0x10b5f8,_0x21cb22,_0x5b490a,_0x310801){const _0x190488=a0_0x5456ff,_0x5014c6=_0x190488(0x253)+_0x10b5f8,_0x217a78=_0x190488(0x1f5),_0x38dc7c={};return _0x38dc7c[_0x190488(0x25c)]=_0x10b5f8,_0x38dc7c[_0x190488(0x388)]=_0x5014c6,_0x38dc7c['tableName']=_0x21cb22,_0x38dc7c[_0x190488(0x433)]=_0x5b490a,_0x38dc7c[_0x190488(0x441)]=_0x310801,_0x38dc7c[_0x190488(0x1fc)]=_0x217a78,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x38dc7c,{});}function DrivenDataDetailPlusMixin(_0x5e0c89){const _0x3b4e85=a0_0x5456ff;return class _0x157c6b extends _0x5e0c89{[_0x3b4e85(0x1fa)](_0x4f9112){const _0x4c2aa9=_0x3b4e85;return{'appCode':_0x4f9112,'datasetSDKKey':this[_0x4c2aa9(0x35b)](),'alias':this[_0x4c2aa9(0x459)](),'tableName':this[_0x4c2aa9(0x36a)](),'datasetCode':this[_0x4c2aa9(0x25c)]};}[_0x3b4e85(0x3d9)](_0x160de3,_0x2d4e36=_0x3b4e85(0x286),_0x2bb46d=![]){const _0x2dbc48=_0x3b4e85;return generateSDKInitCode(_0x160de3,this[_0x2dbc48(0x25c)],this[_0x2dbc48(0x459)](),_0x2d4e36===_0x2dbc48(0x41c)?_0x2d4e36:undefined,_0x2bb46d);}['generateFullSDKExample'](_0x74eb65,_0x44d225,_0x20f846={}){const _0x443fbd=_0x3b4e85,_0x157027=this[_0x443fbd(0x2a2)]()[_0x443fbd(0x283)](_0x7b890e=>_0x7b890e['getName']()===_0x74eb65);if(!_0x157027)return null;const _0x1f5b8c={};_0x1f5b8c[_0x443fbd(0x233)]=_0x20f846[_0x443fbd(0x44d)]!==![];const _0x5e96b3=this[_0x443fbd(0x406)](_0x74eb65,_0x1f5b8c);if(!_0x5e96b3)return null;const _0x799f5a=[];return _0x799f5a[_0x443fbd(0x20f)](_0x443fbd(0x313)+_0x157027[_0x443fbd(0x432)]()+_0x443fbd(0x481)),_0x799f5a[_0x443fbd(0x20f)](_0x5e96b3['sdkCall']['code']),_0x799f5a[_0x443fbd(0x20f)](''),_0x20f846[_0x443fbd(0x37a)]!==![]&&(_0x799f5a['push'](_0x443fbd(0x413)),_0x799f5a[_0x443fbd(0x20f)](_0x5e96b3[_0x443fbd(0x24f)][_0x443fbd(0x290)]),_0x799f5a[_0x443fbd(0x20f)](''),_0x799f5a[_0x443fbd(0x20f)](_0x5e96b3[_0x443fbd(0x24f)][_0x443fbd(0x1e1)])),_0x799f5a[_0x443fbd(0x396)]('\x0a');}[_0x3b4e85(0x1d4)](_0x1ccd87={}){const _0x24adf5=_0x3b4e85,_0x1fcaf6=this[_0x24adf5(0x36b)](),_0x58b7b0=[];return _0x1fcaf6['forEach']((_0x574d1e,_0x4b9395)=>{const _0xb4d26e=_0x24adf5,_0x29086b=this['generateFullSDKExample'](_0x574d1e[_0xb4d26e(0x464)],_0xb4d26e(0x40c),_0x1ccd87);_0x29086b&&(_0x58b7b0[_0xb4d26e(0x20f)](_0xb4d26e(0x43d)+(_0x4b9395+0x1)+'.\x20'+_0x574d1e['displayName']),_0x58b7b0[_0xb4d26e(0x20f)](_0x29086b),_0x58b7b0[_0xb4d26e(0x20f)](''));}),_0x58b7b0['join']('\x0a');}[_0x3b4e85(0x1dc)](_0xece1d6){const _0x461881=_0x3b4e85,_0x69081c=this[_0x461881(0x300)](_0xece1d6);if(!_0x69081c)return null;const _0x2a5bb4={};return _0x2a5bb4[_0x461881(0x464)]=_0x69081c[_0x461881(0x464)],_0x2a5bb4[_0x461881(0x27f)]=_0x69081c[_0x461881(0x27f)],_0x2a5bb4[_0x461881(0x443)]=_0x69081c[_0x461881(0x443)],_0x2a5bb4['path']=_0x69081c['path'],_0x2a5bb4[_0x461881(0x316)]=_0x69081c[_0x461881(0x316)],_0x2a5bb4[_0x461881(0x38e)]=_0x69081c[_0x461881(0x3ec)][_0x461881(0x46b)],_0x2a5bb4['hasResponseSchema']=_0x69081c[_0x461881(0x31e)]!==null,_0x2a5bb4;}[_0x3b4e85(0x2ff)](_0x4a6bcc={}){const _0x244580=_0x3b4e85,_0x196ac9=this[_0x244580(0x36b)]();return{'datasetName':this['name'],'datasetCode':this[_0x244580(0x25c)],'tableName':this['getTableName'](),'totalOperations':_0x196ac9[_0x244580(0x46b)],'operations':_0x196ac9[_0x244580(0x418)](_0x2edee7=>({'name':_0x2edee7[_0x244580(0x464)],'displayName':_0x2edee7[_0x244580(0x27f)],'method':_0x2edee7['method'],'enabled':_0x2edee7[_0x244580(0x316)]}))};}[_0x3b4e85(0x1dd)](_0x313daa){const _0x40c3fc=_0x3b4e85,_0x8a1cb3=this[_0x40c3fc(0x300)](_0x313daa);if(!_0x8a1cb3)return[];return _0x8a1cb3[_0x40c3fc(0x3ec)][_0x40c3fc(0x418)](_0x5325d9=>{const _0x4bd2f3=_0x40c3fc,_0x50896f=this['getFieldInstance'](_0x5325d9);if(!_0x50896f)return null;const _0x486652={};return _0x486652[_0x4bd2f3(0x421)]=_0x5325d9,_0x486652[_0x4bd2f3(0x464)]=_0x50896f[_0x4bd2f3(0x464)]||_0x5325d9,_0x486652;})['filter'](_0x1b3bb1=>_0x1b3bb1!==null);}['getMissingCRUDOperations'](){const _0x341c00=_0x3b4e85,_0x5b57d3=new Set(this[_0x341c00(0x36b)]()['map'](_0x52ade8=>String(_0x52ade8[_0x341c00(0x39e)]))),_0x3a5684=['create',_0x341c00(0x42d),'update',_0x341c00(0x422)];return _0x3a5684[_0x341c00(0x2b7)](_0x3ef3c4=>!_0x5b57d3[_0x341c00(0x3a9)](String(_0x3ef3c4)));}[_0x3b4e85(0x2a1)](_0x586937='demo-app'){const _0x45ffee=_0x3b4e85;return generateAliasExplanation(this[_0x45ffee(0x25c)],this['getTableName'](),this['getModelAlias'](),_0x586937);}};}function operationToAnalysis(_0xb34a49){const _0x2c3f70=a0_0x5456ff;return{'name':_0xb34a49['getName'](),'displayName':_0xb34a49[_0x2c3f70(0x3bd)](),'type':_0xb34a49[_0x2c3f70(0x1e5)](),'method':_0xb34a49[_0x2c3f70(0x334)](),'path':_0xb34a49[_0x2c3f70(0x1ff)](),'fullUrl':_0xb34a49['getFullUrl'](),'requestFields':_0xb34a49[_0x2c3f70(0x306)](),'requestParams':_0xb34a49[_0x2c3f70(0x32c)](),'responseSchema':_0xb34a49['getResponseSchema'](),'requestExample':_0xb34a49[_0x2c3f70(0x408)](),'responseExample':_0xb34a49[_0x2c3f70(0x2de)](),'enabled':_0xb34a49['isEnabled']()};}function operationsToAnalyses(_0xce7396){const _0x2452ab=a0_0x5456ff;if(!Array[_0x2452ab(0x248)](_0xce7396))return!![]&&console[_0x2452ab(0x47e)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0xce7396),[];return _0xce7396[_0x2452ab(0x418)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x4e9db3){const _0x22403f=a0_0x5456ff,_0x4df2e8=_0x4e9db3[_0x22403f(0x283)](_0x22b2d8=>_0x22b2d8['name']===_0x22403f(0x2b7)),_0x2889ad=_0x4e9db3['filter'](_0x445ec4=>_0x445ec4[_0x22403f(0x464)]!=='filter');return _0x4df2e8?[_0x4df2e8,..._0x2889ad]:_0x2889ad;}function filterOperationAnalyses(_0x4f36d8,_0x168057={}){const _0x4c23e6=a0_0x5456ff;let _0x43a9a1=_0x4f36d8;return!_0x168057[_0x4c23e6(0x23c)]&&(_0x43a9a1=_0x43a9a1['filter'](_0x34fb91=>_0x34fb91[_0x4c23e6(0x316)])),_0x168057[_0x4c23e6(0x330)]!==![]&&(_0x43a9a1=filterApiOperations(_0x43a9a1)),_0x168057[_0x4c23e6(0x1ed)]&&(_0x43a9a1=_0x43a9a1[_0x4c23e6(0x2b7)](_0x168057['customFilter'])),sortOperationsWithFilterFirst(_0x43a9a1);}function getOperationStats(_0x1d1e9a){const _0x58e0b4=a0_0x5456ff,_0x139769=_0x1d1e9a['filter'](_0x25d2ea=>_0x25d2ea[_0x58e0b4(0x316)]);return{'total':_0x1d1e9a[_0x58e0b4(0x46b)],'enabled':_0x139769[_0x58e0b4(0x46b)],'disabled':_0x1d1e9a[_0x58e0b4(0x46b)]-_0x139769[_0x58e0b4(0x46b)],'byType':getCountByType(_0x139769),'byMethod':getCountByMethod(_0x139769)};}function getCountByType(_0x417ad4){const _0x4caddd=a0_0x5456ff,_0x22d843={};return _0x417ad4[_0x4caddd(0x3b2)](_0x3af6f3=>{const _0x131a90=_0x4caddd;if(_0x3af6f3['type'])_0x22d843[_0x3af6f3[_0x131a90(0x39e)]]=(_0x22d843[_0x3af6f3[_0x131a90(0x39e)]]||0x0)+0x1;}),_0x22d843;}function getCountByMethod(_0x3f1140){const _0x2aeb89=a0_0x5456ff,_0x32118a={};return _0x3f1140[_0x2aeb89(0x3b2)](_0x4e8136=>{const _0x4d9de0=_0x2aeb89;_0x32118a[_0x4e8136['method']]=(_0x32118a[_0x4e8136[_0x4d9de0(0x443)]]||0x0)+0x1;}),_0x32118a;}function supportsCRUD(_0x409036){const _0x1cfbe=a0_0x5456ff,_0x217f40=new Set(_0x409036[_0x1cfbe(0x418)](_0x2e65eb=>_0x2e65eb['type'])[_0x1cfbe(0x2b7)](Boolean));return _0x217f40[_0x1cfbe(0x3a9)]('create')&&_0x217f40['has'](_0x1cfbe(0x42d))&&_0x217f40[_0x1cfbe(0x3a9)](_0x1cfbe(0x2ea))&&_0x217f40[_0x1cfbe(0x3a9)](_0x1cfbe(0x422));}function createOperationDocMeta(_0x537d18,_0x4a1dd5,_0x1b3ced,_0x4222f9,_0x1801b8,_0x355e61){const _0x10baa0=a0_0x5456ff,_0xbf03f8={};return _0xbf03f8[_0x10baa0(0x233)]=_0x355e61?.[_0x10baa0(0x233)],{'operation':_0x537d18,'operationInstance':_0x4a1dd5,'basicInfo':{'name':_0x537d18[_0x10baa0(0x464)],'displayName':_0x537d18['displayName'],'method':_0x537d18[_0x10baa0(0x443)],'path':_0x537d18['path'],'fullUrl':_0x537d18['fullUrl'],'enabled':_0x537d18['enabled']},'sdkCall':{'datasetCode':_0x1b3ced,'datasetSDKKey':_0x4222f9,'tableName':_0x1801b8,'operationName':_0x537d18[_0x10baa0(0x464)],'params':_0x537d18[_0x10baa0(0x3ec)],'code':_0x4a1dd5[_0x10baa0(0x367)](_0x4222f9,_0xbf03f8)},'usageExample':_0x4a1dd5[_0x10baa0(0x444)](_0x4222f9)};}function createOperationsOverviewData(_0x6281b4){const _0x4077be=a0_0x5456ff,_0x1c6766={};_0x1c6766[_0x4077be(0x2d2)]=_0x4077be(0x464),_0x1c6766[_0x4077be(0x2d1)]='接口名称';const _0x3708bf={};_0x3708bf['index']=_0x4077be(0x27f),_0x3708bf['label']=_0x4077be(0x384);const _0x16edd0={};_0x16edd0[_0x4077be(0x2d2)]=_0x4077be(0x443),_0x16edd0[_0x4077be(0x2d1)]='方法';const _0x341e48={};_0x341e48[_0x4077be(0x2d2)]='sdkCall',_0x341e48[_0x4077be(0x2d1)]=_0x4077be(0x1e8);const _0x338814={};_0x338814[_0x4077be(0x2d2)]=_0x4077be(0x403),_0x338814[_0x4077be(0x2d1)]='API路径';const _0x239330={};_0x239330[_0x4077be(0x2d2)]=_0x4077be(0x455),_0x239330['label']=_0x4077be(0x2a6);const _0x49fcfb=[_0x1c6766,_0x3708bf,_0x16edd0,_0x341e48,_0x338814,_0x239330],_0x183067=_0x6281b4[_0x4077be(0x418)](_0x37ef77=>{const _0x8f1772=_0x4077be,{basicInfo:_0x606965,sdkCall:_0x4724ff}=_0x37ef77,_0x2995b8=_0x4724ff[_0x8f1772(0x421)][_0x8f1772(0x276)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x8f1772(0x276)](/;$/,''),_0x3d8e24={};return _0x3d8e24[_0x8f1772(0x27f)]=_0x606965[_0x8f1772(0x27f)],_0x3d8e24[_0x8f1772(0x464)]=_0x606965['name'],_0x3d8e24[_0x8f1772(0x443)]=_0x606965[_0x8f1772(0x443)],_0x3d8e24[_0x8f1772(0x403)]=_0x606965[_0x8f1772(0x403)],_0x3d8e24[_0x8f1772(0x2f8)]=_0x2995b8,_0x3d8e24['sdkCallCode']=_0x4724ff[_0x8f1772(0x421)],_0x3d8e24;}),_0x126846={};return _0x126846[_0x4077be(0x47a)]=_0x49fcfb,_0x126846[_0x4077be(0x218)]=_0x183067,_0x126846;}function createDatasetDocMeta(_0x3ee037,_0x533b5d,_0x999ebb,_0x385b2f,_0x21e4ce,_0x505e58,_0x324346,_0x792eed,_0x12125c){const _0x17ec04=a0_0x5456ff,_0x43e44a={};return _0x43e44a[_0x17ec04(0x2be)]=_0x3ee037+_0x17ec04(0x34d),_0x43e44a[_0x17ec04(0x2f5)]={},_0x43e44a['operations']=_0x12125c,_0x43e44a[_0x17ec04(0x2f5)]['name']=_0x3ee037,_0x43e44a[_0x17ec04(0x2f5)]['code']=_0x533b5d,_0x43e44a[_0x17ec04(0x2f5)]['tableName']=_0x999ebb,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x388)]=_0x385b2f,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x3ba)]=_0x21e4ce,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x3c0)]=_0x505e58,_0x43e44a[_0x17ec04(0x2f5)]['fieldCount']=_0x324346,_0x43e44a[_0x17ec04(0x2f5)]['businessFieldCount']=0x0,_0x43e44a[_0x17ec04(0x2f5)]['systemFieldCount']=0x0,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x29b)]=_0x792eed,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x44a)]=_0x12125c[_0x17ec04(0x46b)],_0x43e44a;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}[a0_0x5456ff(0x459)](){const _0x4a245a=a0_0x5456ff;return this[_0x4a245a(0x30c)]();}[a0_0x5456ff(0x2e0)](_0x5b424a=![]){const _0x4e7911=a0_0x5456ff;if(!_0x5b424a&&this['_operationAnalyses'])return this[_0x4e7911(0x2b6)];const _0x49588e=this[_0x4e7911(0x2a2)]();return this[_0x4e7911(0x2b6)]=operationsToAnalyses(_0x49588e),this['_operationAnalyses'];}['getEnabledOperationAnalyses'](){const _0x596378={};return _0x596378['includeDisabled']=![],_0x596378['filterBlacklist']=!![],this['getFilteredOperationAnalyses'](_0x596378);}['getFilteredOperationAnalyses'](_0x503bcb={}){const _0x25c1c4=a0_0x5456ff;return filterOperationAnalyses(this[_0x25c1c4(0x2e0)](),_0x503bcb);}[a0_0x5456ff(0x300)](_0x2633e7){const _0x42060e=a0_0x5456ff;return this[_0x42060e(0x2e0)]()[_0x42060e(0x283)](_0x116588=>_0x116588[_0x42060e(0x464)]===_0x2633e7);}[a0_0x5456ff(0x3f0)](_0x5c5e87){const _0x224020=a0_0x5456ff;return this[_0x224020(0x2e0)]()[_0x224020(0x2b7)](_0x3b424c=>_0x3b424c[_0x224020(0x39e)]===_0x5c5e87);}[a0_0x5456ff(0x406)](_0x34f69b,_0x41ac9c){const _0x1b9964=a0_0x5456ff,_0x3a4781=this[_0x1b9964(0x300)](_0x34f69b);if(!_0x3a4781)return null;const _0x47836b=this[_0x1b9964(0x2a2)]()[_0x1b9964(0x283)](_0x30a807=>_0x30a807[_0x1b9964(0x432)]()===_0x3a4781[_0x1b9964(0x464)]);if(!_0x47836b)throw new Error('Operation\x20not\x20found:\x20'+_0x3a4781[_0x1b9964(0x464)]);return createOperationDocMeta(_0x3a4781,_0x47836b,this['datasetCode'],this[_0x1b9964(0x35b)](),this[_0x1b9964(0x36a)](),_0x41ac9c);}[a0_0x5456ff(0x3e7)](_0x34afc6={}){const _0x4b788e=a0_0x5456ff,_0x377055=this[_0x4b788e(0x377)](_0x34afc6),_0x5859a4=_0x377055[_0x4b788e(0x418)](_0x1f072b=>this[_0x4b788e(0x406)](_0x1f072b[_0x4b788e(0x464)]))[_0x4b788e(0x2b7)](_0x5cee43=>_0x5cee43!==null);return createDatasetDocMeta(this[_0x4b788e(0x464)],this[_0x4b788e(0x25c)],this[_0x4b788e(0x36a)](),this[_0x4b788e(0x35b)](),this[_0x4b788e(0x30c)](),this[_0x4b788e(0x3c0)],this[_0x4b788e(0x354)](),this[_0x4b788e(0x245)](),_0x5859a4);}[a0_0x5456ff(0x231)](_0x595ab0){return createOperationsOverviewData(_0x595ab0);}[a0_0x5456ff(0x314)](){const _0x5b9c29=a0_0x5456ff;return supportsCRUD(this[_0x5b9c29(0x36b)]());}['getOperationStats'](){return getOperationStats(this['getOperationAnalyses']());}['toString'](){const _0x2c7a95=a0_0x5456ff,_0x5ba60a=this[_0x2c7a95(0x31c)]();return _0x2c7a95(0x3d6)+this[_0x2c7a95(0x464)]+',\x20'+this['datasetCode']+',\x20'+this[_0x2c7a95(0x354)]()+'\x20fields,\x20'+_0x5ba60a[_0x2c7a95(0x316)]+'/'+_0x5ba60a[_0x2c7a95(0x20a)]+_0x2c7a95(0x480);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x5456ff(0x2b6)];[a0_0x5456ff(0x307)](){return'v2';}[a0_0x5456ff(0x459)](){const _0x4d624f=a0_0x5456ff;return this[_0x4d624f(0x30c)]();}['getOperationAnalyses'](_0x51c987=![]){const _0x5087d3=a0_0x5456ff;if(!_0x51c987&&this[_0x5087d3(0x2b6)])return this['_operationAnalyses'];const _0x51bc51=this[_0x5087d3(0x2a2)]();return this[_0x5087d3(0x2b6)]=operationsToAnalyses(_0x51bc51),this[_0x5087d3(0x2b6)];}[a0_0x5456ff(0x36b)](){const _0x126604=a0_0x5456ff,_0xfb95af={};return _0xfb95af['includeDisabled']=![],_0xfb95af[_0x126604(0x330)]=!![],this[_0x126604(0x377)](_0xfb95af);}[a0_0x5456ff(0x377)](_0x5de855={}){const _0x14c88a=a0_0x5456ff;return filterOperationAnalyses(this[_0x14c88a(0x2e0)](),_0x5de855);}[a0_0x5456ff(0x300)](_0x5259e8){const _0x4551f9=a0_0x5456ff;return this[_0x4551f9(0x2e0)]()[_0x4551f9(0x283)](_0x5c3b61=>_0x5c3b61[_0x4551f9(0x464)]===_0x5259e8);}[a0_0x5456ff(0x3f0)](_0x34b35b){const _0x363eb2=a0_0x5456ff;return this[_0x363eb2(0x2e0)]()[_0x363eb2(0x2b7)](_0x24fab2=>_0x24fab2[_0x363eb2(0x39e)]===_0x34b35b);}['getOperationDocMeta'](_0x25a948,_0x32a445){const _0x4e70ce=a0_0x5456ff,_0x480a4f=this[_0x4e70ce(0x300)](_0x25a948);if(!_0x480a4f)return null;const _0x3de5de=this['getOperations']()[_0x4e70ce(0x283)](_0x3967b4=>_0x3967b4[_0x4e70ce(0x432)]()===_0x480a4f[_0x4e70ce(0x464)]);if(!_0x3de5de)throw new Error(_0x4e70ce(0x3a5)+_0x480a4f[_0x4e70ce(0x464)]);return createOperationDocMeta(_0x480a4f,_0x3de5de,this['datasetCode'],this['getDatasetSDKKey'](),this[_0x4e70ce(0x36a)](),_0x32a445);}['getDatasetDocMeta'](_0x312850={}){const _0x3cf9be=a0_0x5456ff,_0x4ec1f3=this[_0x3cf9be(0x377)](_0x312850),_0x6b551d=_0x4ec1f3[_0x3cf9be(0x418)](_0x468233=>this[_0x3cf9be(0x406)](_0x468233['name']))['filter'](_0x439a07=>_0x439a07!==null);return createDatasetDocMeta(this['name'],this[_0x3cf9be(0x25c)],this[_0x3cf9be(0x36a)](),this[_0x3cf9be(0x35b)](),this['getTableKey'](),this[_0x3cf9be(0x3c0)],this[_0x3cf9be(0x354)](),this[_0x3cf9be(0x245)](),_0x6b551d);}[a0_0x5456ff(0x231)](_0x5cad8e){return createOperationsOverviewData(_0x5cad8e);}[a0_0x5456ff(0x314)](){const _0x47cd02=a0_0x5456ff;return supportsCRUD(this[_0x47cd02(0x36b)]());}['getOperationStats'](){const _0x50e89c=a0_0x5456ff;return getOperationStats(this[_0x50e89c(0x2e0)]());}[a0_0x5456ff(0x210)](){const _0x2f8be5=a0_0x5456ff,_0xe82fee=this[_0x2f8be5(0x31c)]();return'DrivenDataDetailPlusV2('+this[_0x2f8be5(0x464)]+',\x20'+this['datasetCode']+',\x20'+this[_0x2f8be5(0x354)]()+_0x2f8be5(0x404)+_0xe82fee[_0x2f8be5(0x316)]+'/'+_0xe82fee['total']+'\x20operations,\x20v2)';}}function a0_0x2d67(_0x548578,_0x1b278d){_0x548578=_0x548578-0x1cf;const _0xbb4d91=a0_0xbb4d();let _0x2d6732=_0xbb4d91[_0x548578];return _0x2d6732;}function detectDatasetVersion3(_0x595e19){const _0x5b6ad5=a0_0x5456ff;if(_0x595e19['doVersion']==='v2'&&_0x5b6ad5(0x341)in _0x595e19&&Array[_0x5b6ad5(0x248)](_0x595e19[_0x5b6ad5(0x341)]))return'v2';return'v1';}class DrivenDataDetailPlus{['_instance'];constructor(_0x129630){const _0x595bbd=a0_0x5456ff,_0x37e500=detectDatasetVersion3(_0x129630);return this[_0x595bbd(0x3aa)]=_0x37e500==='v2'?new DrivenDataDetailPlusV2(_0x129630):new DrivenDataDetailPlusV1(_0x129630),new Proxy(this,{'get'(_0x2125e9,_0x50bc29){const _0x1e4110=_0x595bbd;if(_0x50bc29 in _0x2125e9){const _0x413ac1=_0x2125e9[_0x50bc29];return typeof _0x413ac1==='function'?_0x413ac1[_0x1e4110(0x336)](_0x2125e9):_0x413ac1;}if(_0x50bc29 in _0x2125e9['_instance']){const _0x5b788f=_0x2125e9[_0x1e4110(0x3aa)][_0x50bc29];return typeof _0x5b788f===_0x1e4110(0x40e)?_0x5b788f[_0x1e4110(0x336)](_0x2125e9['_instance']):_0x5b788f;}return;},'set'(_0x26afa7,_0x119f6a,_0x198dc6){return _0x26afa7[_0x119f6a]=_0x198dc6,!![];},'getPrototypeOf'(_0x4041ce){const _0x5419cf=_0x595bbd;return DrivenDataDetailPlus[_0x5419cf(0x2a8)];}});}get[a0_0x5456ff(0x464)](){const _0x28bafc=a0_0x5456ff;return this[_0x28bafc(0x3aa)][_0x28bafc(0x464)];}get['id'](){const _0x182728=a0_0x5456ff;return this[_0x182728(0x3aa)]['id'];}get[a0_0x5456ff(0x25c)](){const _0x281ee8=a0_0x5456ff;return this[_0x281ee8(0x3aa)]['datasetCode'];}get['source'](){const _0x2d3385=a0_0x5456ff;return this[_0x2d3385(0x3aa)][_0x2d3385(0x3c0)];}get[a0_0x5456ff(0x3a2)](){const _0x609712=a0_0x5456ff;return this[_0x609712(0x3aa)][_0x609712(0x3d7)]();}[a0_0x5456ff(0x307)](){const _0x577f02=a0_0x5456ff,_0xeee5b9=this[_0x577f02(0x3aa)][_0x577f02(0x307)]();return _0xeee5b9==='v2'?'v2':'v1';}[a0_0x5456ff(0x354)](){const _0x33b71=a0_0x5456ff;return this[_0x33b71(0x3aa)]['getFieldCount']();}[a0_0x5456ff(0x245)](){const _0x2e530e=a0_0x5456ff;return this['_instance'][_0x2e530e(0x245)]();}[a0_0x5456ff(0x2fe)](){const _0x4efced=a0_0x5456ff;return this[_0x4efced(0x3aa)]['getFields']();}[a0_0x5456ff(0x2a2)](){const _0x2c7f2d=a0_0x5456ff;return this[_0x2c7f2d(0x3aa)][_0x2c7f2d(0x2a2)]();}[a0_0x5456ff(0x31f)](_0x5e5eac){const _0x56f940=a0_0x5456ff;return this[_0x56f940(0x3aa)]['getFilteredOperations'](_0x5e5eac);}[a0_0x5456ff(0x2db)](_0x2e28c9){const _0x3f4f9d=a0_0x5456ff;return this[_0x3f4f9d(0x3aa)][_0x3f4f9d(0x2db)](_0x2e28c9);}['getTableName'](){const _0xbb9239=a0_0x5456ff;return this['_instance'][_0xbb9239(0x36a)]();}[a0_0x5456ff(0x30c)](){const _0x5ad3d3=a0_0x5456ff;return this[_0x5ad3d3(0x3aa)][_0x5ad3d3(0x30c)]();}[a0_0x5456ff(0x35b)](){const _0x532854=a0_0x5456ff;return this['_instance'][_0x532854(0x35b)]();}[a0_0x5456ff(0x387)](){const _0x593e90=a0_0x5456ff;return this[_0x593e90(0x3aa)][_0x593e90(0x387)]();}['getEnumFields'](){const _0x2a1495=a0_0x5456ff;return this['_instance'][_0x2a1495(0x45f)]();}['getEnumFieldsMeta'](){const _0xc40b2f=a0_0x5456ff;return this[_0xc40b2f(0x3aa)][_0xc40b2f(0x33e)]();}['isMultipleSelectField'](_0x2fa6c2){const _0x43862e=a0_0x5456ff;return this[_0x43862e(0x3aa)][_0x43862e(0x27a)](_0x2fa6c2);}[a0_0x5456ff(0x440)](_0x32c6af){const _0x5d09f1=a0_0x5456ff;return this[_0x5d09f1(0x3aa)][_0x5d09f1(0x440)](_0x32c6af);}[a0_0x5456ff(0x453)](_0x10dbb3){const _0x2cfbf8=a0_0x5456ff;return this['_instance'][_0x2cfbf8(0x453)](_0x10dbb3);}[a0_0x5456ff(0x216)](_0x208829){const _0x4473b4=a0_0x5456ff;return this[_0x4473b4(0x3aa)][_0x4473b4(0x216)](_0x208829);}[a0_0x5456ff(0x21f)](_0x4107c6){const _0xddfe40=a0_0x5456ff;return this[_0xddfe40(0x3aa)][_0xddfe40(0x21f)](_0x4107c6);}['validateEnumValue'](_0x2fd327,_0x2b3369){const _0x2d1ed5=a0_0x5456ff;return this['_instance'][_0x2d1ed5(0x310)](_0x2fd327,_0x2b3369);}[a0_0x5456ff(0x22d)](_0x4cb89f){const _0x181c7f=a0_0x5456ff;return this[_0x181c7f(0x3aa)][_0x181c7f(0x22d)](_0x4cb89f);}[a0_0x5456ff(0x21e)](){const _0x42f5d4=a0_0x5456ff;return this[_0x42f5d4(0x3aa)][_0x42f5d4(0x21e)]();}[a0_0x5456ff(0x2d9)](){const _0x5e029f=a0_0x5456ff;return this[_0x5e029f(0x3aa)][_0x5e029f(0x2d9)]();}[a0_0x5456ff(0x1f1)](){const _0x4a35e6=a0_0x5456ff;return this[_0x4a35e6(0x3aa)][_0x4a35e6(0x1f1)]();}['hasOperation'](_0x366c6b){const _0x5beb01=a0_0x5456ff;return this[_0x5beb01(0x3aa)]['hasOperation'](_0x366c6b);}['getDBConfig'](){const _0x42e16c=a0_0x5456ff;return this[_0x42e16c(0x3aa)][_0x42e16c(0x3d7)]();}[a0_0x5456ff(0x1d6)](){const _0x28753c=a0_0x5456ff;return this['_instance'][_0x28753c(0x1d6)]();}[a0_0x5456ff(0x3ee)](){return this['_instance']['getSource']();}[a0_0x5456ff(0x2e0)](_0x379b7a){const _0x297f17=a0_0x5456ff;return this[_0x297f17(0x3aa)][_0x297f17(0x2e0)](_0x379b7a);}[a0_0x5456ff(0x36b)](){const _0x2bb86e=a0_0x5456ff;return this[_0x2bb86e(0x3aa)][_0x2bb86e(0x36b)]();}[a0_0x5456ff(0x377)](_0xc1adf6){return this['_instance']['getFilteredOperationAnalyses'](_0xc1adf6);}['getOperationAnalysis'](_0x384d56){const _0x111e2e=a0_0x5456ff;return this[_0x111e2e(0x3aa)]['getOperationAnalysis'](_0x384d56);}[a0_0x5456ff(0x3f0)](_0x3dc974){const _0x59a34b=a0_0x5456ff;return this[_0x59a34b(0x3aa)][_0x59a34b(0x3f0)](_0x3dc974);}[a0_0x5456ff(0x406)](_0x39761e,_0x1f9a5a){const _0x46e690=a0_0x5456ff;return this[_0x46e690(0x3aa)][_0x46e690(0x406)](_0x39761e,_0x1f9a5a);}['getDatasetDocMeta'](_0x3e4885){const _0x161e4c=a0_0x5456ff;return this[_0x161e4c(0x3aa)][_0x161e4c(0x3e7)](_0x3e4885);}[a0_0x5456ff(0x231)](_0x935d8c){const _0x579870=a0_0x5456ff;return this[_0x579870(0x3aa)][_0x579870(0x231)](_0x935d8c);}[a0_0x5456ff(0x459)](){const _0x38b0d0=a0_0x5456ff;return this[_0x38b0d0(0x3aa)]['getModelAlias']();}[a0_0x5456ff(0x314)](){const _0x4d1c9c=a0_0x5456ff;return this[_0x4d1c9c(0x3aa)][_0x4d1c9c(0x314)]();}['getOperationStats'](){return this['_instance']['getOperationStats']();}[a0_0x5456ff(0x210)](){const _0x44c1b0=a0_0x5456ff;return this[_0x44c1b0(0x3aa)]['toString']();}[a0_0x5456ff(0x230)](_0x11076f){const _0x4ec641=a0_0x5456ff;return this[_0x4ec641(0x3aa)]['getOperation'](_0x11076f);}[a0_0x5456ff(0x1fa)](_0x56bb3f){const _0x368064=a0_0x5456ff;return this[_0x368064(0x3aa)][_0x368064(0x1fa)](_0x56bb3f);}['generateSDKInitCode'](_0x2a52,_0x20cc82,_0x191042){const _0x4aee35=a0_0x5456ff;return this[_0x4aee35(0x3aa)]['generateSDKInitCode'](_0x2a52,_0x20cc82,_0x191042);}['generateFullSDKExample'](_0x337b4e,_0x488497,_0xda5feb){return this['_instance']['generateFullSDKExample'](_0x337b4e,_0x488497,_0xda5feb);}[a0_0x5456ff(0x1d4)](_0x187566){const _0x3bb958=a0_0x5456ff;return this[_0x3bb958(0x3aa)][_0x3bb958(0x1d4)](_0x187566);}[a0_0x5456ff(0x1dc)](_0x155cd9){const _0x230d24=a0_0x5456ff;return this['_instance'][_0x230d24(0x1dc)](_0x155cd9);}[a0_0x5456ff(0x2ff)](_0x35d576){const _0x4e9f23=a0_0x5456ff;return this[_0x4e9f23(0x3aa)][_0x4e9f23(0x2ff)](_0x35d576);}[a0_0x5456ff(0x1dd)](_0x21728e){const _0x580ff3=a0_0x5456ff;return this['_instance'][_0x580ff3(0x1dd)](_0x21728e);}[a0_0x5456ff(0x36c)](){const _0xedc4f1=a0_0x5456ff;return this[_0xedc4f1(0x3aa)]['getMissingCRUDOperations']();}[a0_0x5456ff(0x2a1)](){const _0x39e2b8=a0_0x5456ff;return this[_0x39e2b8(0x3aa)][_0x39e2b8(0x2a1)]();}[a0_0x5456ff(0x277)](){return this['_instance'];}}function createDrivenDataDetailPlus(_0x333a64,_0x5afd61={}){const _0x1d681d=a0_0x5456ff;if(_0x5afd61[_0x1d681d(0x3fc)]==='v1')return new DrivenDataDetailPlusV1(_0x333a64);if(_0x5afd61[_0x1d681d(0x3fc)]==='v2')return new DrivenDataDetailPlusV2(_0x333a64);if(_0x333a64['doVersion']==='v2'||_0x1d681d(0x22b)in _0x333a64)return new DrivenDataDetailPlusV2(_0x333a64);return new DrivenDataDetailPlusV1(_0x333a64);}function isPlusV2Instance(_0x1755c7){return _0x1755c7['getVersion']()==='v2';}function isPlusV1Instance(_0x5b8266){const _0x765257=a0_0x5456ff;return _0x5b8266[_0x765257(0x307)]()==='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};