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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/src/core/DatasetList.d.ts.map +1 -1
  3. package/dist/src/core/field/FieldListBase.d.ts.map +1 -1
  4. package/dist/src/core/field/FieldV1.d.ts.map +1 -1
  5. package/dist/src/core/operations/ExcelExportOperation.d.ts.map +1 -1
  6. package/dist/src/core/operations/GenericOperation.d.ts.map +1 -1
  7. package/dist/src/core/operations/Operation.d.ts +1 -1
  8. package/dist/src/core/operations/Operation.d.ts.map +1 -1
  9. package/dist/src/core/operations/UpdateOperation.d.ts.map +1 -1
  10. package/dist/src/core/version/DrivenDataDetail.d.ts.map +1 -1
  11. package/dist/src/core/version/DrivenDataDetailBase.d.ts +1 -1
  12. package/dist/src/core/version/DrivenDataDetailBase.d.ts.map +1 -1
  13. package/dist/src/core/version/DrivenDataDetailV1.d.ts.map +1 -1
  14. package/dist/src/core/version/DrivenDataDetailV2.d.ts.map +1 -1
  15. package/dist/src/plus/DrivenDataDetailPlus.d.ts.map +1 -1
  16. package/dist/src/plus/DrivenDataDetailPlusBase.d.ts +64 -4
  17. package/dist/src/plus/DrivenDataDetailPlusBase.d.ts.map +1 -1
  18. package/dist/src/plus/DrivenDataDetailPlusV1.d.ts +14 -2
  19. package/dist/src/plus/DrivenDataDetailPlusV1.d.ts.map +1 -1
  20. package/dist/src/plus/DrivenDataDetailPlusV2.d.ts +14 -2
  21. package/dist/src/plus/DrivenDataDetailPlusV2.d.ts.map +1 -1
  22. package/dist/src/plus/index.d.ts.map +1 -1
  23. package/dist/src/plus/plus-types.d.ts.map +1 -1
  24. package/dist/src/plus/plus-utils.d.ts.map +1 -1
  25. package/dist/src/types/adapter.d.ts.map +1 -1
  26. package/dist/src/types/dataset-v2.d.ts.map +1 -1
  27. package/dist/src/types/plus.d.ts.map +1 -1
  28. package/dist/src/utils/core/dataset-filter.d.ts +21 -0
  29. package/dist/src/utils/core/dataset-filter.d.ts.map +1 -0
  30. package/dist/src/utils/core/index.d.ts +1 -0
  31. package/dist/src/utils/core/index.d.ts.map +1 -1
  32. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const a0_0x342bd1=a0_0x380d;(function(_0x3751a3,_0x16cd76){const _0x739e28=a0_0x380d,_0xafd7b6=_0x3751a3();while(!![]){try{const _0x26d850=parseInt(_0x739e28(0x429))/0x1*(-parseInt(_0x739e28(0x23a))/0x2)+-parseInt(_0x739e28(0x408))/0x3+parseInt(_0x739e28(0x3f4))/0x4*(parseInt(_0x739e28(0x267))/0x5)+parseInt(_0x739e28(0x215))/0x6*(-parseInt(_0x739e28(0x3a2))/0x7)+-parseInt(_0x739e28(0x2fa))/0x8+-parseInt(_0x739e28(0x385))/0x9*(parseInt(_0x739e28(0x39d))/0xa)+parseInt(_0x739e28(0x44d))/0xb;if(_0x26d850===_0x16cd76)break;else _0xafd7b6['push'](_0xafd7b6['shift']());}catch(_0x38dc57){_0xafd7b6['push'](_0xafd7b6['shift']());}}}(a0_0x3171,0xe102c));function toCamelCase(_0x1ddb2b){const _0xf97159=a0_0x380d;if(!_0x1ddb2b)return'';return _0x1ddb2b[_0xf97159(0x257)](/[_-]/)[_0xf97159(0x2bc)]((_0x291771,_0x52e2f5)=>{const _0x15bd7f=_0xf97159;if(_0x52e2f5===0x0)return _0x291771['toLowerCase']();return _0x291771['charAt'](0x0)[_0x15bd7f(0x2b5)]()+_0x291771[_0x15bd7f(0x3eb)](0x1)['toLowerCase']();})['join']('');}function toPascalCase(_0x1dfcea){const _0x54d651=a0_0x380d;if(!_0x1dfcea)return'';const _0x2135c1=toCamelCase(_0x1dfcea);return _0x2135c1[_0x54d651(0x25d)](0x0)[_0x54d651(0x2b5)]()+_0x2135c1[_0x54d651(0x3eb)](0x1);}function toSnakeCase(_0x5668a5){const _0x1e33eb=a0_0x380d;if(!_0x5668a5)return'';return _0x5668a5[_0x1e33eb(0x36e)](/([A-Z])/g,'_$1')[_0x1e33eb(0x2fc)]()['replace'](/^_/,'');}function toKebabCase(_0x5f2234){const _0x222f3a=a0_0x380d;if(!_0x5f2234)return'';return _0x5f2234['replace'](/([A-Z])/g,_0x222f3a(0x43c))['toLowerCase']()[_0x222f3a(0x36e)](/^-/,'');}function normalizeFieldName(_0x4647cc){const _0x324e03=a0_0x380d;if(!_0x4647cc)return'';return _0x4647cc[_0x324e03(0x266)]()[_0x324e03(0x36e)](/\s+/g,'_')[_0x324e03(0x36e)](/[^a-zA-Z0-9_]/g,'_')[_0x324e03(0x36e)](/_+/g,'_')[_0x324e03(0x36e)](/^_|_$/g,'');}function getTableName(_0x2f4a1f){const _0x17604c=a0_0x380d;if(!_0x2f4a1f)return'dataset_000000';if(_0x2f4a1f[_0x17604c(0x1b2)]?.[_0x17604c(0x269)])return _0x2f4a1f[_0x17604c(0x1b2)][_0x17604c(0x269)];const _0x44204b=_0x2f4a1f['datasetCode']||_0x2f4a1f['code']||_0x2f4a1f['modelCode'];if(_0x44204b)return generateTableNameFromCode(_0x44204b);return _0x17604c(0x386);}function getTableKey(_0x3d8ac9){if(typeof _0x3d8ac9==='string')return toCamelCase(_0x3d8ac9);const _0x411f2f=getTableName(_0x3d8ac9);return toCamelCase(_0x411f2f);}function generateTableNameFromCode(_0xea6ff5){const _0x5bdaab=a0_0x380d;if(!_0xea6ff5)return _0x5bdaab(0x386);const _0x20fe8f=_0xea6ff5['slice'](-0x6)[_0x5bdaab(0x354)](0x6,'0');return _0x5bdaab(0x21c)+_0x20fe8f;}function isVirtualTableName(_0x302529){const _0xb16030=a0_0x380d;return/^dataset_[a-zA-Z0-9]{6}$/[_0xb16030(0x2d6)](_0x302529);}function generateModelKeyFromCode(_0x271e03){const _0x3e36e7=a0_0x380d;if(!_0x271e03)return'dataset_unknown';return _0x3e36e7(0x21c)+_0x271e03;}function getDbName(_0x36955a){const _0x3d862a=a0_0x380d;return _0x36955a[_0x3d862a(0x1b2)]?.[_0x3d862a(0x406)]||_0x36955a['dbtableConfig']?.[_0x3d862a(0x42c)]?.[_0x3d862a(0x406)]||'';}function generateDatasetsConfig(_0x4f88c2,_0x7c9ca3={}){const _0xba0a5c=a0_0x380d,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x4d7361,filter:_0x62dba2}=_0x7c9ca3,_0x38e5b3=_0x62dba2?_0x4f88c2['filter'](_0x62dba2):_0x4f88c2,_0x480bfb=new Map();for(const _0x25d213 of _0x38e5b3){const _0x219e82=getTableName(_0x25d213),_0x1d7b3e=getDbName(_0x25d213);!_0x480bfb[_0xba0a5c(0x2a1)](_0x219e82)&&_0x480bfb[_0xba0a5c(0x3a0)](_0x219e82,new Set()),_0x480bfb[_0xba0a5c(0x394)](_0x219e82)[_0xba0a5c(0x3e1)](_0x1d7b3e);}const _0x3db026=new Set();for(const [_0x1df1e1,_0x59460c]of _0x480bfb){_0x59460c[_0xba0a5c(0x1b1)]>0x1&&_0x3db026['add'](_0x1df1e1);}const _0x561ff0={},_0x36f708=new Set();for(const _0x36b228 of _0x38e5b3){const _0x5be6dc=getTableName(_0x36b228);if(enableDeduplication&&_0x36f708[_0xba0a5c(0x2a1)](_0x5be6dc)){console[_0xba0a5c(0x1fc)](_0xba0a5c(0x1b5)+_0x5be6dc+_0xba0a5c(0x23b)+_0x36b228[_0xba0a5c(0x351)]+'\x20('+_0x36b228[_0xba0a5c(0x37f)]+')');continue;}_0x36f708['add'](_0x5be6dc);const _0x57a2ac=_0x4d7361?_0x4d7361(_0x5be6dc,_0x36b228):getTableKey(_0x5be6dc),_0x4b7ff2=getDbName(_0x36b228),_0x57666e=_0x3db026[_0xba0a5c(0x2a1)](_0x5be6dc)&&_0x4b7ff2?getTableKey(_0x4b7ff2)+'_'+_0x57a2ac:_0x57a2ac;_0x561ff0[_0x57a2ac]={'key':_0x57a2ac,'alias':_0x57666e,'tableName':_0x5be6dc,'datasetCode':_0x36b228[_0xba0a5c(0x37f)],'name':_0x36b228['name'],'id':_0x36b228['id'],'dbName':_0x4b7ff2};}return _0x561ff0;}function generateFullDatasetsConfig(_0x406aca,_0x28f448={}){const _0x5de1c2=a0_0x380d,{filter:_0x25c97d,datasetNameGenerator:_0x57ff3a}=_0x28f448,_0x3a16fb=_0x25c97d?_0x406aca['filter'](_0x25c97d):_0x406aca,_0x44c69d=new Map();for(const _0x4d6b82 of _0x3a16fb){const _0x3272b0=getTableName(_0x4d6b82),_0x184574=getDbName(_0x4d6b82);!_0x44c69d['has'](_0x3272b0)&&_0x44c69d[_0x5de1c2(0x3a0)](_0x3272b0,new Set()),_0x44c69d[_0x5de1c2(0x394)](_0x3272b0)[_0x5de1c2(0x3e1)](_0x184574);}const _0x5ee61c=new Set();for(const [_0x5dd3bf,_0xdc973f]of _0x44c69d){_0xdc973f[_0x5de1c2(0x1b1)]>0x1&&_0x5ee61c[_0x5de1c2(0x3e1)](_0x5dd3bf);}const _0x150701=groupByTableName(_0x3a16fb),_0x510e05={};for(const [_0x3835c5,_0x56809a]of Object['entries'](_0x150701)){if(_0x56809a[_0x5de1c2(0x345)]===0x1){const _0x4498f4=_0x56809a[0x0],_0x1c692d=_0x57ff3a?_0x57ff3a(_0x3835c5,_0x4498f4):getTableKey(_0x3835c5),_0x15bee6=getDbName(_0x4498f4),_0x568ffa=_0x5ee61c['has'](_0x3835c5)&&_0x15bee6?getTableKey(_0x15bee6)+'_'+_0x1c692d:_0x1c692d;_0x510e05[_0x1c692d]={'key':_0x1c692d,'alias':_0x568ffa,'tableName':_0x3835c5,'datasetCode':_0x4498f4[_0x5de1c2(0x37f)],'name':_0x4498f4['name'],'id':_0x4498f4['id'],'dbName':_0x15bee6};}else{const _0x86e245=[..._0x56809a][_0x5de1c2(0x457)]((_0x1d06cf,_0x54c2e0)=>{const _0x8768cd=Number(_0x1d06cf['id'])||0x0,_0x4aff88=Number(_0x54c2e0['id'])||0x0;return _0x4aff88-_0x8768cd;});_0x86e245[_0x5de1c2(0x40c)]((_0x42dc95,_0x196779)=>{const _0x57e7a2=_0x5de1c2,_0x136179=_0x57ff3a?_0x57ff3a(_0x3835c5,_0x42dc95):getTableKey(_0x3835c5),_0x37a474=_0x196779===0x0?_0x136179:_0x136179+'_'+_0x196779,_0x17248a=getDbName(_0x42dc95),_0x434aec=_0x5ee61c[_0x57e7a2(0x2a1)](_0x3835c5)&&_0x17248a?getTableKey(_0x17248a)+'_'+_0x37a474:_0x37a474;_0x510e05[_0x37a474]={'key':_0x37a474,'alias':_0x434aec,'tableName':_0x3835c5,'datasetCode':_0x42dc95[_0x57e7a2(0x37f)],'name':_0x42dc95[_0x57e7a2(0x351)],'id':_0x42dc95['id'],'dbName':_0x17248a};});}}return _0x510e05;}function detectTableNameConflicts(_0x447bd6){const _0x4bae68=a0_0x380d,_0x33f31f={};for(const _0x17e7d3 of _0x447bd6){const _0x1fe142=getTableName(_0x17e7d3);!_0x33f31f[_0x1fe142]&&(_0x33f31f[_0x1fe142]=[]),_0x33f31f[_0x1fe142]['push'](_0x17e7d3);}const _0x453135={};for(const [_0x25e6a1,_0x4d10d7]of Object[_0x4bae68(0x241)](_0x33f31f)){_0x4d10d7[_0x4bae68(0x345)]>0x1&&(_0x453135[_0x25e6a1]=_0x4d10d7);}return{'hasConflicts':Object[_0x4bae68(0x1ea)](_0x453135)[_0x4bae68(0x345)]>0x0,'conflicts':_0x453135};}function createDatasetNameMap(_0x3ebe40){const _0x4ee942=a0_0x380d,_0x239190={};for(const [_0xcb9873,_0x2682d0]of Object[_0x4ee942(0x241)](_0x3ebe40)){_0x239190[_0xcb9873]=_0x2682d0['datasetCode']||'';}return _0x239190;}function groupByTableName(_0x4415c2){const _0x19e13b={};for(const _0x3b1ee1 of _0x4415c2){const _0x42d8de=getTableName(_0x3b1ee1);!_0x19e13b[_0x42d8de]&&(_0x19e13b[_0x42d8de]=[]),_0x19e13b[_0x42d8de]['push'](_0x3b1ee1);}return _0x19e13b;}function datasetsConfigToArray(_0x15d5fb){const _0x47dec0=a0_0x380d;return Object[_0x47dec0(0x31e)](_0x15d5fb);}function adaptDrivenDataDetail(_0x384a9b){const _0x4c4671=a0_0x380d,_0x4970f1={};return _0x4970f1['id']=_0x384a9b[_0x4c4671(0x470)],_0x4970f1[_0x4c4671(0x351)]=_0x384a9b['name'],_0x4970f1[_0x4c4671(0x37f)]=_0x384a9b[_0x4c4671(0x1d5)],_0x4970f1['dbtableConfig']=_0x384a9b[_0x4c4671(0x1b2)],_0x4970f1[_0x4c4671(0x328)]=_0x384a9b[_0x4c4671(0x328)],_0x4970f1['version']=_0x384a9b[_0x4c4671(0x3f5)],_0x4970f1[_0x4c4671(0x2f8)]=_0x384a9b[_0x4c4671(0x2f8)],_0x4970f1[_0x4c4671(0x395)]=_0x384a9b['properties'],_0x4970f1[_0x4c4671(0x325)]=_0x384a9b[_0x4c4671(0x325)],_0x4970f1;}function adaptDrivenDataDetails(_0x3d6a9f){const _0x28ef67=a0_0x380d;return _0x3d6a9f[_0x28ef67(0x2bc)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x20c6c9){const _0x39fba9=a0_0x380d;if(!_0x20c6c9['success']||!_0x20c6c9[_0x39fba9(0x24c)])throw new Error('获取数据集失败:\x20'+(_0x20c6c9[_0x39fba9(0x291)]||_0x20c6c9[_0x39fba9(0x2c4)]));return adaptDrivenDataDetail(_0x20c6c9[_0x39fba9(0x24c)]);}function extractDatasetsFromListResponse(_0x5b49fc){const _0x4ff9b9=a0_0x380d;if(!_0x5b49fc['success']||!_0x5b49fc[_0x4ff9b9(0x24c)]?.[_0x4ff9b9(0x1bd)])throw new Error(_0x4ff9b9(0x33a)+(_0x5b49fc['errorMsg']||_0x5b49fc[_0x4ff9b9(0x2c4)]));return _0x5b49fc[_0x4ff9b9(0x24c)][_0x4ff9b9(0x1bd)]['map'](_0x37d866=>({..._0x37d866,'datasetCode':_0x37d866[_0x4ff9b9(0x2bd)]||_0x37d866[_0x4ff9b9(0x37f)]}));}function isDrivenDataDetail(_0x3fa4a2){const _0x50fddd=a0_0x380d;return Boolean(_0x3fa4a2&&typeof _0x3fa4a2[_0x50fddd(0x1d5)]===_0x50fddd(0x3d2));}function smartAdapt(_0x542763){const _0x5d9185=a0_0x380d;if(isDrivenDataDetail(_0x542763))return adaptDrivenDataDetail(_0x542763);if(_0x542763[_0x5d9185(0x37f)])return _0x542763;if(_0x542763[_0x5d9185(0x2bd)]){const _0x5e0d5f={..._0x542763};return _0x5e0d5f[_0x5d9185(0x37f)]=_0x542763['code'],_0x5e0d5f;}return _0x542763;}var DatasetOperationType;(_0xb4fbc5=>{const _0x45bb9e=a0_0x380d;_0xb4fbc5['GET_LIST']=_0x45bb9e(0x3c5),_0xb4fbc5['GET_ONE']=_0x45bb9e(0x3cb),_0xb4fbc5[_0x45bb9e(0x26b)]='getOneOrigin',_0xb4fbc5[_0x45bb9e(0x1dc)]=_0x45bb9e(0x1c5),_0xb4fbc5[_0x45bb9e(0x352)]=_0x45bb9e(0x34f),_0xb4fbc5[_0x45bb9e(0x3aa)]=_0x45bb9e(0x1dd),_0xb4fbc5[_0x45bb9e(0x43e)]=_0x45bb9e(0x305),_0xb4fbc5['GET_SELECT_OPTIONS']='getSelectOptions',_0xb4fbc5[_0x45bb9e(0x286)]=_0x45bb9e(0x238),_0xb4fbc5[_0x45bb9e(0x41d)]='excelExport',_0xb4fbc5[_0x45bb9e(0x28b)]=_0x45bb9e(0x1bc),_0xb4fbc5['CREATE_IMPORT']=_0x45bb9e(0x23e),_0xb4fbc5[_0x45bb9e(0x441)]=_0x45bb9e(0x45f),_0xb4fbc5['TASK_INFO']=_0x45bb9e(0x20a),_0xb4fbc5['IMPORT_TEMPLATE']='importTemplate';})(DatasetOperationType||={});const a0_0x8081bd={};a0_0x8081bd[a0_0x342bd1(0x3c5)]=a0_0x342bd1(0x2e7),a0_0x8081bd[a0_0x342bd1(0x3cb)]=a0_0x342bd1(0x21a),a0_0x8081bd[a0_0x342bd1(0x338)]=a0_0x342bd1(0x33c),a0_0x8081bd['getOneUpdate']=a0_0x342bd1(0x33f),a0_0x8081bd['create']='创建',a0_0x8081bd[a0_0x342bd1(0x1dd)]='更新',a0_0x8081bd[a0_0x342bd1(0x305)]='删除',a0_0x8081bd[a0_0x342bd1(0x205)]=a0_0x342bd1(0x259),a0_0x8081bd[a0_0x342bd1(0x238)]=a0_0x342bd1(0x34b),a0_0x8081bd['excelExport']=a0_0x342bd1(0x28c),a0_0x8081bd[a0_0x342bd1(0x1bc)]=a0_0x342bd1(0x397),a0_0x8081bd[a0_0x342bd1(0x23e)]=a0_0x342bd1(0x23f),a0_0x8081bd[a0_0x342bd1(0x45f)]=a0_0x342bd1(0x1e4),a0_0x8081bd[a0_0x342bd1(0x20a)]=a0_0x342bd1(0x224),a0_0x8081bd[a0_0x342bd1(0x391)]='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0x8081bd,API_BLACKLIST=[a0_0x342bd1(0x3c5),a0_0x342bd1(0x338),a0_0x342bd1(0x1c5),a0_0x342bd1(0x238)];function parseFieldExtend(_0x582b72){const _0x1e9469=a0_0x342bd1;if(!_0x582b72||typeof _0x582b72!=='object')return!![]&&console[_0x1e9469(0x1fc)](_0x1e9469(0x3d4),_0x582b72),{};if(!_0x582b72[_0x1e9469(0x2f8)])return{};try{const _0x45087a=typeof _0x582b72[_0x1e9469(0x2f8)]===_0x1e9469(0x3d2)?JSON['parse'](_0x582b72['extend']):_0x582b72[_0x1e9469(0x2f8)];if(typeof _0x45087a!=='object'||_0x45087a===null)return{};return _0x45087a;}catch{return{};}}function isPrimaryKeyField(_0x445566,_0x1887e6){const _0x29e73a=a0_0x342bd1;if(!_0x445566||typeof _0x445566!==_0x29e73a(0x1eb))return![];if(typeof _0x1887e6==='string'&&_0x445566[_0x29e73a(0x2bd)]===_0x1887e6)return!![];const _0x328001=parseFieldExtend(_0x445566);return Boolean(_0x328001[_0x29e73a(0x358)]||_0x328001['pkField']);}function isSystemField(_0x510b52){const _0x51ec04=a0_0x342bd1,_0x444009=parseFieldExtend(_0x510b52);return Boolean(_0x444009[_0x51ec04(0x3c7)]);}function isRequiredField(_0x88b613){const _0x4d127a=a0_0x342bd1,_0x1d569a=parseFieldExtend(_0x88b613);return Boolean(_0x1d569a[_0x4d127a(0x22c)]);}function isAutoIncrementField(_0x469a0d){const _0x209e51=a0_0x342bd1,_0x463cd9=parseFieldExtend(_0x469a0d);return Boolean(_0x463cd9[_0x209e51(0x468)]);}function isCreateTimeField(_0x1fe6d1){const _0xf38f26=parseFieldExtend(_0x1fe6d1);return Boolean(_0xf38f26['createDate']);}function isModifyTimeField(_0x2be0b3){const _0x2fc07a=a0_0x342bd1,_0x2c422=parseFieldExtend(_0x2be0b3);return Boolean(_0x2c422[_0x2fc07a(0x414)]);}const a0_0x434cc9={};a0_0x434cc9[a0_0x342bd1(0x42e)]='数字',a0_0x434cc9[a0_0x342bd1(0x2f1)]='文本',a0_0x434cc9[a0_0x342bd1(0x1d8)]='长文本',a0_0x434cc9[a0_0x342bd1(0x3db)]='日期',a0_0x434cc9[a0_0x342bd1(0x302)]=a0_0x342bd1(0x3b5),a0_0x434cc9[a0_0x342bd1(0x1da)]=a0_0x342bd1(0x404),a0_0x434cc9[a0_0x342bd1(0x237)]=a0_0x342bd1(0x29d),a0_0x434cc9[a0_0x342bd1(0x29e)]='多选',a0_0x434cc9['RADIO']='单选',a0_0x434cc9['SWITCH']='开关',a0_0x434cc9['UPLOAD']=a0_0x342bd1(0x42a),a0_0x434cc9[a0_0x342bd1(0x2ae)]='图片',a0_0x434cc9[a0_0x342bd1(0x1e9)]=a0_0x342bd1(0x1c8),a0_0x434cc9['JSON']=a0_0x342bd1(0x277),a0_0x434cc9[a0_0x342bd1(0x227)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x434cc9;function getDbTypeDisplay(_0x509376){const _0x5251d1=a0_0x342bd1;if(typeof _0x509376!=='string')return!![]&&console[_0x5251d1(0x1fc)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x509376),String(_0x509376||'-');return DB_TYPE_DISPLAY_MAP[_0x509376]||_0x509376;}function formatDbType(_0x323ed5,_0x1fb275){const _0x5dd2d5=a0_0x342bd1;if(!_0x323ed5||typeof _0x323ed5!==_0x5dd2d5(0x3d2))return'-';if(!_0x1fb275||typeof _0x1fb275!==_0x5dd2d5(0x44b))return _0x323ed5;const _0x431d70=['TEXT','DATETIME','TIMESTAMP','DATE'];if(_0x431d70[_0x5dd2d5(0x461)](_0x323ed5['toUpperCase']()))return _0x323ed5;return _0x323ed5+'('+_0x1fb275+')';}function parseOperationType(_0x5650ed){const _0xb3264f=a0_0x342bd1;if(typeof _0x5650ed!==_0xb3264f(0x3d2)){!![]&&console[_0xb3264f(0x1fc)](_0xb3264f(0x2f7),_0x5650ed);return;}if(Object[_0xb3264f(0x31e)](DatasetOperationType)['includes'](_0x5650ed))return _0x5650ed;const _0x132734=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x44669a,_0x3fbe25])=>_0x3fbe25===_0x5650ed);return _0x132734?_0x132734[0x0]:undefined;}function shouldIncludeField(_0x14bd0c,_0x164ce7,_0x3e5a64){const _0x1df5b2=a0_0x342bd1,_0x5955dc=parseFieldExtend(_0x14bd0c),_0x5a1219=isPrimaryKeyField(_0x14bd0c,_0x3e5a64),_0xf8de08=Boolean(_0x5955dc[_0x1df5b2(0x3c7)]),_0x4da8b0=Boolean(_0x5955dc[_0x1df5b2(0x468)]),_0x5791d9=Boolean(_0x5955dc[_0x1df5b2(0x2ef)]),_0x2f2f5e=Boolean(_0x5955dc[_0x1df5b2(0x414)]);switch(_0x164ce7){case'getList':return!![];case _0x1df5b2(0x3cb):case _0x1df5b2(0x338):case _0x1df5b2(0x305):return _0x5a1219;case _0x1df5b2(0x34f):if(_0x5a1219&&_0x4da8b0)return![];if(_0xf8de08)return![];if(_0x5791d9||_0x2f2f5e)return![];return!![];case _0x1df5b2(0x1dd):case _0x1df5b2(0x1c5):if(_0x5a1219)return!![];if(_0xf8de08)return![];if(_0x5791d9||_0x2f2f5e)return![];return!![];case _0x1df5b2(0x205):return _0x14bd0c[_0x1df5b2(0x2bd)]===_0x1df5b2(0x2bd);default:return!![];}}function getFieldsForOperation(_0xc9b761,_0x3a85e0,_0x5da485){const _0x150548=a0_0x342bd1;if(!Array['isArray'](_0xc9b761))return!![]&&console[_0x150548(0x1fc)](_0x150548(0x1d6),_0xc9b761),[];return _0xc9b761['filter'](_0x2d684d=>shouldIncludeField(_0x2d684d,_0x3a85e0,_0x5da485));}function isApiBlacklisted(_0x430686){const _0xbc5e25=a0_0x342bd1;if(typeof _0x430686!==_0xbc5e25(0x3d2))return!![]&&console[_0xbc5e25(0x1fc)](_0xbc5e25(0x3da),_0x430686),![];return API_BLACKLIST[_0xbc5e25(0x461)](_0x430686);}function filterApiOperations(_0x276ef8){const _0x2dbaf0=a0_0x342bd1;if(!Array[_0x2dbaf0(0x200)](_0x276ef8))return!![]&&console[_0x2dbaf0(0x1fc)](_0x2dbaf0(0x309),_0x276ef8),[];return _0x276ef8[_0x2dbaf0(0x282)](_0x5f4501=>_0x5f4501&&typeof _0x5f4501===_0x2dbaf0(0x1eb)&&!isApiBlacklisted(_0x5f4501[_0x2dbaf0(0x351)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x342bd1(0x2e9)](),'SELECT':({fieldInfo:_0x4aced7})=>{const _0x1dfc66=a0_0x342bd1;if(_0x4aced7?.[_0x1dfc66(0x23c)]&&Array['isArray'](_0x4aced7['options'])&&_0x4aced7[_0x1dfc66(0x23c)][_0x1dfc66(0x345)]>0x0)return _0x4aced7[_0x1dfc66(0x23c)][0x0][_0x1dfc66(0x3d9)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x286f08})=>{const _0x2e7522=a0_0x342bd1;if(_0x286f08===_0x2e7522(0x401))return 0x1;if(_0x286f08===_0x2e7522(0x3ac))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0xb13b98})=>{const _0x4f039f=a0_0x342bd1;if(_0xb13b98&&typeof _0xb13b98===_0x4f039f(0x3d2)){const _0x4f022a=_0xb13b98[_0x4f039f(0x2fc)]();if(_0x4f022a['includes']('邮箱')||_0x4f022a['includes'](_0x4f039f(0x255)))return _0x4f039f(0x3c4);if(_0x4f022a[_0x4f039f(0x461)]('电话')||_0x4f022a[_0x4f039f(0x461)]('手机')||_0x4f022a[_0x4f039f(0x461)](_0x4f039f(0x2ba)))return _0x4f039f(0x262);if(_0x4f022a[_0x4f039f(0x461)]('地址')||_0x4f022a['includes'](_0x4f039f(0x1e7)))return _0x4f039f(0x3e2);if(_0x4f022a[_0x4f039f(0x461)]('姓名')||_0x4f022a[_0x4f039f(0x461)](_0x4f039f(0x351)))return'张三';}return _0x4f039f(0x3f8);},'VARCHAR':({description:_0xa68b16})=>TYPE_VALUE_GENERATORS[a0_0x342bd1(0x2f1)]({'description':_0xa68b16}),'CHAR':({description:_0x4f8879})=>TYPE_VALUE_GENERATORS[a0_0x342bd1(0x2f1)]({'description':_0x4f8879}),'STRING':({fieldInfo:_0x15fec0,description:_0x5038e2})=>{const _0x19cf6d=a0_0x342bd1;if(_0x15fec0?.[_0x19cf6d(0x35a)]&&typeof _0x15fec0[_0x19cf6d(0x35a)]===_0x19cf6d(0x3d2)&&_0x15fec0[_0x19cf6d(0x35a)]!==_0x19cf6d(0x40e))return _0x15fec0[_0x19cf6d(0x35a)]['replace'](/^请输入|^请选择/,'');const _0x37f015={};return _0x37f015['description']=_0x5038e2,TYPE_VALUE_GENERATORS[_0x19cf6d(0x2f1)](_0x37f015);},'TEXTAREA':()=>a0_0x342bd1(0x3c1),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x342bd1(0x3d9)}),'ARRAY':()=>[a0_0x342bd1(0x356),a0_0x342bd1(0x475)],'UPLOAD':()=>a0_0x342bd1(0x432),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>'<p>富文本内容</p>'};function generateExampleValue(_0x4e91f0,_0x82a8db,_0xd36935,_0x2b1645={}){const _0xf36b1e=a0_0x342bd1;typeof _0x4e91f0!=='string'&&(!![]&&console[_0xf36b1e(0x1fc)](_0xf36b1e(0x24e),_0x4e91f0),_0x4e91f0=String(_0x4e91f0||''));if(typeof _0x82a8db!==_0xf36b1e(0x3d2))return!![]&&console['warn'](_0xf36b1e(0x41a),_0x82a8db),_0xf36b1e(0x21e);const {isPrimaryKey:_0x119825,dbtableConfig:_0x25c12b}=_0x2b1645;if(_0x119825)return 0x1;if(_0x25c12b&&typeof _0x25c12b===_0xf36b1e(0x1eb)){const _0x5bb2a5=_0x25c12b['createTimeField']?.['fieldName']===_0x4e91f0,_0x140010=_0x25c12b[_0xf36b1e(0x418)]?.['fieldName']===_0x4e91f0;if(_0x5bb2a5||_0x140010){if(_0xd36935&&typeof _0xd36935===_0xf36b1e(0x3d2)&&_0xd36935[_0xf36b1e(0x2b5)]()['includes']('TIMESTAMP'))return Date[_0xf36b1e(0x2e9)]();return new Date()[_0xf36b1e(0x3f0)]()[_0xf36b1e(0x36e)]('T','\x20')[_0xf36b1e(0x257)]('.')[0x0];}}const _0x39638b={..._0x2b1645};_0x39638b[_0xf36b1e(0x344)]=_0x4e91f0;const _0x12b45c=_0x39638b;if(_0xd36935&&typeof _0xd36935===_0xf36b1e(0x3d2)){const _0x137339=_0xd36935[_0xf36b1e(0x2b5)](),_0x161144=TYPE_VALUE_GENERATORS[_0x137339];if(_0x161144)return _0x161144(_0x12b45c);}if(_0x82a8db&&typeof _0x82a8db===_0xf36b1e(0x3d2)){const _0x5cbd07=_0x82a8db[_0xf36b1e(0x2b5)](),_0x20ec34=TYPE_VALUE_GENERATORS[_0x5cbd07];if(_0x20ec34)return _0x20ec34(_0x12b45c);}return _0xf36b1e(0x21e);}function generateExampleFromSchema(_0x2543bc,_0xa7de41){const _0x114585=a0_0x342bd1;if(!_0x2543bc||typeof _0x2543bc!==_0x114585(0x1eb))return{};if(Array[_0x114585(0x200)](_0x2543bc)){if(_0x2543bc[_0x114585(0x345)]>0x0)return[generateExampleFromSchema(_0x2543bc[0x0],_0xa7de41)];return[];}const _0x5db34a={};return Object['keys'](_0x2543bc)['forEach'](_0x4d2dfb=>{const _0x18d55b=_0x114585,_0x3f86ab=_0x2543bc[_0x4d2dfb];if(_0x3f86ab&&typeof _0x3f86ab==='object'&&!Array[_0x18d55b(0x200)](_0x3f86ab)&&_0x3f86ab[_0x18d55b(0x399)]){const _0x1afa66=_0x3f86ab,_0x30277e=_0x1afa66[_0x18d55b(0x399)],_0x2d15b7=_0x1afa66['description'];if(typeof _0x30277e===_0x18d55b(0x3d2)){const _0x1fecf0={};_0x1fecf0[_0x18d55b(0x1ca)]=_0x2d15b7,_0x1fecf0[_0x18d55b(0x1b2)]=_0xa7de41,_0x5db34a[_0x4d2dfb]=generateExampleValue(_0x4d2dfb,_0x30277e,undefined,_0x1fecf0);}else _0x5db34a[_0x4d2dfb]=_0x18d55b(0x21e);}else{if(Array[_0x18d55b(0x200)](_0x3f86ab))_0x5db34a[_0x4d2dfb]=_0x3f86ab[_0x18d55b(0x345)]>0x0?[generateExampleFromSchema(_0x3f86ab[0x0],_0xa7de41)]:[];else _0x3f86ab&&typeof _0x3f86ab==='object'?_0x5db34a[_0x4d2dfb]=generateExampleFromSchema(_0x3f86ab,_0xa7de41):_0x5db34a[_0x4d2dfb]=_0x3f86ab;}}),_0x5db34a;}function parseRequestBody(_0x2c64f5){const _0x272bfa=a0_0x342bd1;if(!_0x2c64f5)return{};try{return JSON[_0x272bfa(0x2aa)](_0x2c64f5);}catch(_0x29f822){return!![]&&console[_0x272bfa(0x1fc)](_0x272bfa(0x3a6),_0x29f822),{};}}function parseResponseBody(_0x117418){const _0x83cd85=a0_0x342bd1;if(!_0x117418)return null;try{const _0x2d8289=JSON[_0x83cd85(0x2aa)](_0x117418);return _0x2d8289[_0x83cd85(0x362)]||_0x2d8289;}catch(_0xe52fed){return!![]&&console[_0x83cd85(0x1fc)](_0x83cd85(0x42f),_0xe52fed),null;}}function generateRequestExample(_0x3d345b,_0x413b7f,_0x535427,_0xc774ac){const _0x3ba2a1=a0_0x342bd1,_0x574aa5={};if(!Array['isArray'](_0x3d345b))return!![]&&console['warn']('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x3d345b),_0x574aa5;return _0x3d345b['forEach'](_0x41e28b=>{const _0x4e9684=a0_0x380d;if(!_0x41e28b||typeof _0x41e28b!==_0x4e9684(0x1eb)){!![]&&console[_0x4e9684(0x1fc)]('[generateRequestExample]\x20Invalid\x20field:',_0x41e28b);return;}if(typeof _0x41e28b[_0x4e9684(0x2bd)]!==_0x4e9684(0x3d2)||typeof _0x41e28b['type']!=='string'){!![]&&console[_0x4e9684(0x1fc)](_0x4e9684(0x2c0),_0x41e28b);return;}const _0x1f8285=parseFieldExtend(_0x41e28b),_0x1dc54d=_0x41e28b[_0x4e9684(0x2bd)]===_0x535427||Boolean(_0x1f8285?.['primaryKey']),_0x317460=generateExampleValue(_0x41e28b['code'],_0x41e28b[_0x4e9684(0x399)],typeof _0x41e28b[_0x4e9684(0x2e0)]===_0x4e9684(0x3d2)?_0x41e28b[_0x4e9684(0x2e0)]:undefined,{'fieldInfo':_0x1f8285,'isPrimaryKey':_0x1dc54d,'description':_0x41e28b['description']||_0x41e28b['name'],'dbtableConfig':_0xc774ac});_0x574aa5[_0x41e28b[_0x4e9684(0x2bd)]]=_0x317460;}),_0x413b7f===_0x3ba2a1(0x3c5)&&(_0x574aa5[_0x3ba2a1(0x401)]=0x1,_0x574aa5[_0x3ba2a1(0x3ac)]=0xa),_0x574aa5;}function formatEnumValue(_0x5e6412,_0x10267d){const _0x3127f6=a0_0x342bd1;if(_0x5e6412[_0x3127f6(0x3df)]&&Array[_0x3127f6(0x200)](_0x10267d))return _0x10267d[_0x3127f6(0x2bc)](_0x1ad002=>_0x5e6412['valueLabels'][String(_0x1ad002)]||String(_0x1ad002))[_0x3127f6(0x314)](',\x20');return _0x5e6412[_0x3127f6(0x20b)][String(_0x10267d)]||String(_0x10267d);}function formatOptionsForDoc(_0x398b66){const _0x2935ed=a0_0x342bd1;return _0x398b66['map'](_0x4d8f97=>_0x4d8f97[_0x2935ed(0x3d9)]+'('+_0x4d8f97[_0x2935ed(0x469)]+')')[_0x2935ed(0x314)](',\x20');}function formatOptionsAsMarkdownList(_0x16a0ba,_0x1f6d4e=0x0){const _0x51dbab=a0_0x342bd1,_0x4cfd8f='\x20\x20'[_0x51dbab(0x366)](_0x1f6d4e),_0x9cd3ab=[];return _0x16a0ba[_0x51dbab(0x40c)](_0x2262cb=>{const _0x53e5fc=_0x51dbab;_0x9cd3ab[_0x53e5fc(0x37b)](_0x4cfd8f+_0x53e5fc(0x2ad)+_0x2262cb[_0x53e5fc(0x3d9)]+_0x53e5fc(0x443)+_0x2262cb[_0x53e5fc(0x469)]),_0x2262cb[_0x53e5fc(0x217)]&&_0x2262cb['children']['length']>0x0&&_0x9cd3ab['push'](formatOptionsAsMarkdownList(_0x2262cb['children'],_0x1f6d4e+0x1));}),_0x9cd3ab[_0x51dbab(0x314)]('\x0a');}class DbtableConfig{['_raw'];constructor(_0x1a7531){const _0x293ebc=a0_0x342bd1,_0xff2830={..._0x1a7531};this[_0x293ebc(0x3c9)]=_0xff2830;}get['dbId'](){const _0x25d3a7=a0_0x342bd1;return this['_raw'][_0x25d3a7(0x442)];}get[a0_0x342bd1(0x406)](){const _0x26df64=a0_0x342bd1;return this[_0x26df64(0x3c9)]['dbName']??this[_0x26df64(0x3c9)][_0x26df64(0x42c)]?.['dbName'];}get[a0_0x342bd1(0x269)](){const _0xeec7cb=a0_0x342bd1;return this[_0xeec7cb(0x3c9)][_0xeec7cb(0x269)];}get[a0_0x342bd1(0x1fd)](){const _0x11265c=a0_0x342bd1;return this[_0x11265c(0x3c9)][_0x11265c(0x1fd)];}get[a0_0x342bd1(0x2ab)](){const _0x3ea05f=a0_0x342bd1;return this[_0x3ea05f(0x3c9)]['pkField'];}get[a0_0x342bd1(0x459)](){const _0x579f36=a0_0x342bd1;return this[_0x579f36(0x3c9)][_0x579f36(0x459)];}get['logicField'](){const _0x48eecc=a0_0x342bd1;return this['_raw'][_0x48eecc(0x1ed)];}get[a0_0x342bd1(0x287)](){const _0x1e48f3=a0_0x342bd1;return this[_0x1e48f3(0x3c9)][_0x1e48f3(0x287)];}get[a0_0x342bd1(0x418)](){const _0x1cad0e=a0_0x342bd1;return this[_0x1cad0e(0x3c9)][_0x1cad0e(0x418)];}get[a0_0x342bd1(0x41e)](){const _0x4115a3=a0_0x342bd1;return this[_0x4115a3(0x3c9)][_0x4115a3(0x41e)];}get[a0_0x342bd1(0x1c2)](){const _0x59be8d=a0_0x342bd1;return this[_0x59be8d(0x3c9)]['creatorNameField'];}get['modifierIdField'](){const _0x1ad2e0=a0_0x342bd1;return this[_0x1ad2e0(0x3c9)][_0x1ad2e0(0x245)];}get['modifierNameField'](){const _0xcd33b2=a0_0x342bd1;return this[_0xcd33b2(0x3c9)]['modifierNameField'];}get['dblinkInfoDTO'](){return this['_raw']['dblinkInfoDTO'];}[a0_0x342bd1(0x207)](){const _0x16dfec=a0_0x342bd1;if(!this[_0x16dfec(0x3c9)][_0x16dfec(0x339)])return[];return this[_0x16dfec(0x3c9)][_0x16dfec(0x339)]['split'](',')[_0x16dfec(0x2bc)](_0x27ee26=>_0x27ee26[_0x16dfec(0x266)]())[_0x16dfec(0x282)](Boolean);}[a0_0x342bd1(0x3dd)](){const _0x3a2149=a0_0x342bd1;return this[_0x3a2149(0x3c9)][_0x3a2149(0x339)];}[a0_0x342bd1(0x39b)](_0x1df857){const _0x10c9d0=a0_0x342bd1;return this['getAllFieldsArray']()[_0x10c9d0(0x461)](_0x1df857);}[a0_0x342bd1(0x3a8)](){const _0x566284=a0_0x342bd1;return Boolean(this[_0x566284(0x3c9)][_0x566284(0x269)]);}[a0_0x342bd1(0x392)](){const _0x45c5c6=a0_0x342bd1;return Boolean(this[_0x45c5c6(0x3c9)]['dblinkInfoDTO']);}['hasLogicField'](){const _0xbdccf2=a0_0x342bd1;return Boolean(this[_0xbdccf2(0x3c9)][_0xbdccf2(0x1ed)]?.['fieldName']);}[a0_0x342bd1(0x1b8)](){const _0x530e1f=a0_0x342bd1;return Boolean(this[_0x530e1f(0x3c9)][_0x530e1f(0x287)]?.[_0x530e1f(0x234)]);}[a0_0x342bd1(0x201)](){const _0xd06d18=a0_0x342bd1;return Boolean(this[_0xd06d18(0x3c9)][_0xd06d18(0x418)]?.[_0xd06d18(0x234)]);}[a0_0x342bd1(0x430)](){const _0x1ce75e=a0_0x342bd1;return Boolean(this['_raw'][_0x1ce75e(0x41e)]?.['fieldName']);}[a0_0x342bd1(0x452)](){const _0x322585=a0_0x342bd1;return Boolean(this[_0x322585(0x3c9)][_0x322585(0x245)]?.[_0x322585(0x234)]);}[a0_0x342bd1(0x1c0)](_0x417f3a){const _0x3e12ee=a0_0x342bd1;return this[_0x3e12ee(0x3c9)][_0x3e12ee(0x2ab)]===_0x417f3a;}['isSystemField'](_0x25fb63){const _0x1295c5=a0_0x342bd1;return this[_0x1295c5(0x1c0)](_0x25fb63)||this[_0x1295c5(0x3c9)]['logicField']?.[_0x1295c5(0x234)]===_0x25fb63||this[_0x1295c5(0x3c9)]['createTimeField']?.['fieldName']===_0x25fb63||this[_0x1295c5(0x3c9)][_0x1295c5(0x418)]?.[_0x1295c5(0x234)]===_0x25fb63||this['_raw'][_0x1295c5(0x41e)]?.[_0x1295c5(0x234)]===_0x25fb63||this[_0x1295c5(0x3c9)]['creatorNameField']?.['fieldName']===_0x25fb63||this[_0x1295c5(0x3c9)][_0x1295c5(0x245)]?.['fieldName']===_0x25fb63||this['_raw'][_0x1295c5(0x44f)]?.[_0x1295c5(0x234)]===_0x25fb63;}['getDatabaseName'](){const _0x117421=a0_0x342bd1;return this[_0x117421(0x3c9)][_0x117421(0x42c)]?.['dbName'];}[a0_0x342bd1(0x335)](){const _0x2d1634=a0_0x342bd1;return this[_0x2d1634(0x3c9)][_0x2d1634(0x42c)]?.[_0x2d1634(0x2e0)];}[a0_0x342bd1(0x2d4)](){const _0x468146=a0_0x342bd1;return this[_0x468146(0x3c9)][_0x468146(0x42c)]?.[_0x468146(0x23d)];}[a0_0x342bd1(0x306)](){const _0x390c21=a0_0x342bd1;return this['_raw'][_0x390c21(0x42c)]?.['tenantCode'];}[a0_0x342bd1(0x1ce)](){const _0x514b60=a0_0x342bd1;return this['_raw']['dblinkInfoDTO']?.[_0x514b60(0x223)];}[a0_0x342bd1(0x3fe)](){const _0x30792a=a0_0x342bd1;return this[_0x30792a(0x3c9)]['dblinkInfoDTO']?.['systemAnalysisResult'];}[a0_0x342bd1(0x1cb)](){const _0x3e662e=a0_0x342bd1;return{'hasTableName':this[_0x3e662e(0x3a8)](),'hasDblinkInfo':this[_0x3e662e(0x392)](),'fieldCount':this['getAllFieldsArray']()[_0x3e662e(0x345)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x3e662e(0x1b8)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this[_0x3e662e(0x430)](),'hasModifierIdField':this['hasModifierIdField']()}};}[a0_0x342bd1(0x1c7)](){const _0x3cc191=a0_0x342bd1,_0x463a33={};return _0x463a33[_0x3cc191(0x269)]=this[_0x3cc191(0x269)],_0x463a33[_0x3cc191(0x2ab)]=this[_0x3cc191(0x2ab)],_0x463a33[_0x3cc191(0x1fd)]=this[_0x3cc191(0x1fd)],_0x463a33[_0x3cc191(0x442)]=this[_0x3cc191(0x442)],_0x463a33;}[a0_0x342bd1(0x463)](){const _0x7375b9=a0_0x342bd1,_0x114873={...this[_0x7375b9(0x3c9)]};return _0x114873;}[a0_0x342bd1(0x289)](){const _0x5ec3b9=a0_0x342bd1,_0x338fac={...this[_0x5ec3b9(0x3c9)]};return _0x338fac;}[a0_0x342bd1(0x279)](){const _0x5f2117=a0_0x342bd1,_0x2c2091=this[_0x5f2117(0x269)]||_0x5f2117(0x28a),_0x46eaa3=this[_0x5f2117(0x207)]()[_0x5f2117(0x345)];return _0x5f2117(0x466)+_0x2c2091+_0x5f2117(0x43d)+_0x46eaa3+')';}static[a0_0x342bd1(0x26c)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x342bd1(0x3c9)];constructor(_0x5026bd){const _0x12a569=a0_0x342bd1,_0xf0bec7=_0x5026bd[_0x12a569(0x37f)]||_0x5026bd[_0x12a569(0x2bd)]||_0x5026bd[_0x12a569(0x1d5)],_0x5de90c={..._0x5026bd};_0x5de90c['datasetCode']=_0xf0bec7,this['_raw']=_0x5de90c;}get['id'](){const _0x224bc3=a0_0x342bd1;return this[_0x224bc3(0x3c9)]['id'];}get[a0_0x342bd1(0x351)](){const _0x19ba80=a0_0x342bd1;return this[_0x19ba80(0x3c9)][_0x19ba80(0x351)];}[a0_0x342bd1(0x3c3)](){return this['name'];}get[a0_0x342bd1(0x37f)](){const _0x4a65cd=a0_0x342bd1;return this[_0x4a65cd(0x3c9)][_0x4a65cd(0x37f)]||'';}get[a0_0x342bd1(0x1b2)](){const _0x3141a3=a0_0x342bd1;if(!this[_0x3141a3(0x3c9)][_0x3141a3(0x1b2)])return null;return new DbtableConfig(this['_raw'][_0x3141a3(0x1b2)]);}[a0_0x342bd1(0x304)](){const _0x37baae=a0_0x342bd1;return this[_0x37baae(0x3c9)]['dbtableConfig'];}['getDbName'](){const _0x18adef=a0_0x342bd1;return this['dbtableConfig']?.[_0x18adef(0x406)]||'';}['getTableName'](){const _0x344fdc=a0_0x342bd1;return getTableName(this[_0x344fdc(0x3c9)]);}['getTableKey'](){return getTableKey(this['getTableName']());}[a0_0x342bd1(0x434)](){return generateModelKeyFromCode(this['datasetCode']);}['isVirtualTable'](){const _0x57ba57=a0_0x342bd1;return isVirtualTableName(this[_0x57ba57(0x2a7)]());}[a0_0x342bd1(0x296)](){const _0x39a92d=a0_0x342bd1;return getTableKey(this[_0x39a92d(0x2a7)]());}[a0_0x342bd1(0x1c7)](){const _0x181efd=a0_0x342bd1,_0x438bad=getTableKey(this[_0x181efd(0x2a7)]());return{'key':_0x438bad,'alias':_0x438bad,'tableName':this[_0x181efd(0x2a7)](),'datasetCode':this[_0x181efd(0x37f)],'name':this[_0x181efd(0x351)]};}[a0_0x342bd1(0x463)](){const _0x31797e=a0_0x342bd1,_0x597855={...this['_raw']};return _0x597855[_0x31797e(0x37f)]=this[_0x31797e(0x37f)],_0x597855;}['getRaw'](){const _0x425d42=a0_0x342bd1,_0x3581ab={...this[_0x425d42(0x3c9)]};return _0x3581ab;}[a0_0x342bd1(0x41c)](){const _0x59f03c=a0_0x342bd1,_0x1c362b=this[_0x59f03c(0x1b2)];return _0x1c362b!==null&&_0x1c362b[_0x59f03c(0x3a8)]();}[a0_0x342bd1(0x2da)](_0x1a4173){const _0x583443=a0_0x342bd1;return this[_0x583443(0x3c9)][_0x1a4173];}['hasExtendField'](_0x3ee16e){const _0x108289=a0_0x342bd1;return _0x3ee16e in this[_0x108289(0x3c9)];}[a0_0x342bd1(0x279)](){const _0x6f7c13=a0_0x342bd1;return _0x6f7c13(0x446)+this['name']+',\x20'+this[_0x6f7c13(0x37f)]+')';}}class Operation{[a0_0x342bd1(0x351)];[a0_0x342bd1(0x3c9)];[a0_0x342bd1(0x244)];constructor(_0x2ffcc6,_0x2ac200,_0x1fdaef){const _0x589c99=a0_0x342bd1;this[_0x589c99(0x351)]=_0x2ffcc6,this[_0x589c99(0x3c9)]=_0x2ac200,this[_0x589c99(0x244)]=_0x1fdaef;}[a0_0x342bd1(0x3c3)](){return this['name'];}[a0_0x342bd1(0x26d)](){const _0x8f8b7c=a0_0x342bd1;return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this[_0x8f8b7c(0x351)];}[a0_0x342bd1(0x2a0)](){const _0x1ef496=a0_0x342bd1;return parseOperationType(this[_0x1ef496(0x351)]);}[a0_0x342bd1(0x2f2)](){const _0x4a385f=a0_0x342bd1;return this['_raw']!==null&&this[_0x4a385f(0x3c9)]!==![];}[a0_0x342bd1(0x38b)](){const _0x29d65a=a0_0x342bd1,_0x17d30c=this[_0x29d65a(0x3c9)];if(_0x17d30c===![]||_0x17d30c===null)return'';return _0x17d30c['method']||_0x29d65a(0x2d5);}[a0_0x342bd1(0x3bb)](){const _0x16b215=a0_0x342bd1,_0x177823=this[_0x16b215(0x3c9)];if(_0x177823===![]||_0x177823===null)return'';return _0x177823[_0x16b215(0x361)]||'';}[a0_0x342bd1(0x40f)](){const _0x3f236c=a0_0x342bd1,_0x5f0362=this[_0x3f236c(0x3c9)];let _0x1fe043='';_0x5f0362!==![]&&_0x5f0362!==null&&_0x5f0362[_0x3f236c(0x3d8)]&&(_0x1fe043=_0x5f0362[_0x3f236c(0x3d8)]);const _0x2ebcf1=this[_0x3f236c(0x3bb)]();return _0x1fe043&&_0x2ebcf1?''+_0x1fe043+_0x2ebcf1:_0x2ebcf1;}['parseRawRequestBody'](){const _0x427376=a0_0x342bd1,_0x404a5d=this['_raw'];if(_0x404a5d===![]||_0x404a5d===null||!_0x404a5d[_0x427376(0x31a)])return{};try{return JSON[_0x427376(0x2aa)](_0x404a5d[_0x427376(0x31a)]);}catch{return{};}}[a0_0x342bd1(0x45a)](){const _0x4f8a3e=a0_0x342bd1,_0x284f7f=this[_0x4f8a3e(0x3c9)];if(_0x284f7f===![]||_0x284f7f===null||!_0x284f7f[_0x4f8a3e(0x2a2)])return null;try{return JSON[_0x4f8a3e(0x2aa)](_0x284f7f['responseBody']);}catch{return null;}}[a0_0x342bd1(0x3c0)](){const _0x1c8d36=a0_0x342bd1;return this[_0x1c8d36(0x431)]();}['getResponseSchema'](){return this['parseRawResponseBody']();}['getRequestFields'](){const _0x2dd7e7=a0_0x342bd1,_0x33b7cd=this[_0x2dd7e7(0x3c0)]();return Object[_0x2dd7e7(0x1ea)](_0x33b7cd);}[a0_0x342bd1(0x2c9)](){const _0x86e8ed=a0_0x342bd1,_0x4d6e04=this[_0x86e8ed(0x3c0)](),_0x4f0e3f={};return Object[_0x86e8ed(0x241)](_0x4d6e04)[_0x86e8ed(0x40c)](([_0x1bc9ec,_0x9f3b94])=>{const _0x3357ee=_0x86e8ed,_0x511ce4=_0x9f3b94;_0x4f0e3f[_0x1bc9ec]=generateExampleValue(_0x1bc9ec,_0x511ce4[_0x3357ee(0x399)]||'String',undefined,{'description':_0x511ce4['description']});}),_0x4f0e3f;}[a0_0x342bd1(0x39c)](){const _0x55290b=a0_0x342bd1;return this[_0x55290b(0x2c9)]();}['generateResponseExample'](){const _0x5ec40e=a0_0x342bd1,_0x1b40ff=this[_0x5ec40e(0x45a)]();if(!_0x1b40ff){const _0x3c016e={};return _0x3c016e[_0x5ec40e(0x284)]=!![],_0x3c016e[_0x5ec40e(0x2c4)]='操作成功',_0x3c016e[_0x5ec40e(0x291)]='',_0x3c016e['errorCode']=_0x5ec40e(0x310),_0x3c016e['data']=null,_0x3c016e;}return this['generateFromSchema'](_0x1b40ff);}[a0_0x342bd1(0x379)](_0x139631){const _0x3dd422=a0_0x342bd1;if(!_0x139631||typeof _0x139631!=='object')return{};if(Array[_0x3dd422(0x200)](_0x139631))return _0x139631[_0x3dd422(0x345)]>0x0?[this[_0x3dd422(0x379)](_0x139631[0x0])]:[];const _0x2b770b={};for(const [_0x1d876c,_0x5aa7e5]of Object[_0x3dd422(0x241)](_0x139631)){if(_0x5aa7e5&&typeof _0x5aa7e5===_0x3dd422(0x1eb)&&!Array[_0x3dd422(0x200)](_0x5aa7e5)){const _0x14109a=_0x5aa7e5;_0x2b770b[_0x1d876c]=generateExampleValue(_0x1d876c,_0x14109a[_0x3dd422(0x399)]||_0x3dd422(0x36d),undefined,{'description':_0x14109a[_0x3dd422(0x1ca)]});}else Array[_0x3dd422(0x200)](_0x5aa7e5)?_0x2b770b[_0x1d876c]=_0x5aa7e5[_0x3dd422(0x345)]>0x0?[this[_0x3dd422(0x379)](_0x5aa7e5[0x0])]:[]:_0x2b770b[_0x1d876c]=_0x5aa7e5;}return _0x2b770b;}['generateFieldExample'](_0x52dddf,_0x213564,_0x164839,_0x36549e){return generateExampleValue(_0x52dddf,_0x213564,_0x164839,_0x36549e);}[a0_0x342bd1(0x1b3)](_0x3299f0,_0x1a3da1){const _0x36faa6=a0_0x342bd1,_0x44fad9=this[_0x36faa6(0x3c3)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x3299f0+'.'+_0x44fad9+'();';}[a0_0x342bd1(0x278)](_0x3bf143){const _0x382dc6=a0_0x342bd1,_0x5b2101=this['getName'](),_0x4cf39c=_0x3bf143||_0x382dc6(0x45c),_0x4797af={};return _0x4797af['successCode']='const\x20data\x20=\x20await\x20client.models.'+_0x4cf39c+'.'+_0x5b2101+'();',_0x4797af[_0x382dc6(0x3f3)]=_0x382dc6(0x2e2)+_0x4cf39c+'.'+_0x5b2101+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x4797af;}[a0_0x342bd1(0x21b)](){const _0xc4dbc=a0_0x342bd1,_0x2eb7f5=this[_0xc4dbc(0x3c0)](),_0x109a41=Object[_0xc4dbc(0x241)](_0x2eb7f5)['map'](([_0x4ad462,_0x1787d2])=>{const _0x1e05ee=_0xc4dbc,_0x1466e8=_0x1787d2,_0x1f546b={};return _0x1f546b['name']=_0x4ad462,_0x1f546b[_0x1e05ee(0x399)]=_0x1466e8['type']||_0x1e05ee(0x36d),_0x1f546b['description']=_0x1466e8[_0x1e05ee(0x1ca)]||'-',_0x1f546b['required']=_0x1466e8[_0x1e05ee(0x22c)],_0x1f546b;}),_0xa3967b={};return _0xa3967b[_0xc4dbc(0x2af)]=_0x109a41,_0xa3967b;}[a0_0x342bd1(0x218)](){const _0x501ba9=a0_0x342bd1,_0x23afc6=this[_0x501ba9(0x45a)]();if(!_0x23afc6){const _0x5da78f={};return _0x5da78f[_0x501ba9(0x2af)]=[],_0x5da78f;}const _0x59d436=Object[_0x501ba9(0x241)](_0x23afc6)[_0x501ba9(0x2bc)](([_0x1b4edb,_0x3207ff])=>{const _0x32dea8=_0x501ba9,_0x5013d9=_0x3207ff,_0x250910={};return _0x250910[_0x32dea8(0x351)]=_0x1b4edb,_0x250910[_0x32dea8(0x399)]=_0x5013d9['type']||_0x32dea8(0x36d),_0x250910[_0x32dea8(0x1ca)]=_0x5013d9[_0x32dea8(0x1ca)]||'-',_0x250910;}),_0x86adc9={};return _0x86adc9[_0x501ba9(0x2af)]=_0x59d436,_0x86adc9;}['getSystemFields'](){return[];}['getBusinessFields'](){const _0x1e1741=a0_0x342bd1;return this[_0x1e1741(0x244)][_0x1e1741(0x202)]||[];}['getAllParams'](){const _0x3712a5=a0_0x342bd1;return{'systemFields':this[_0x3712a5(0x374)](),'businessFields':this[_0x3712a5(0x3fd)]()};}[a0_0x342bd1(0x216)](_0x4b1045){const _0x24151d=a0_0x342bd1;return this[_0x24151d(0x244)][_0x24151d(0x202)][_0x24151d(0x396)](_0xf234f2=>_0xf234f2?.[_0x24151d(0x2bd)]===_0x4b1045);}['getFieldCode'](_0x36c477){const _0x56d968=a0_0x342bd1;return _0x36c477[_0x56d968(0x2bd)];}['getFieldType'](_0x5ee4cd){const _0x5974fd=a0_0x342bd1;return _0x5ee4cd[_0x5974fd(0x399)];}[a0_0x342bd1(0x2e1)](_0x1d50c7){return _0x1d50c7['name'];}[a0_0x342bd1(0x423)](_0x4f2f30){const _0x4b354d=a0_0x342bd1;return _0x4f2f30[_0x4b354d(0x1ca)];}[a0_0x342bd1(0x2b1)](_0x59d816){const _0x425253=a0_0x342bd1;return _0x59d816[_0x425253(0x3ad)]()||null;}[a0_0x342bd1(0x34d)](_0x20ff40){return _0x20ff40['isPrimaryKey']();}[a0_0x342bd1(0x46d)](){return[];}[a0_0x342bd1(0x467)](_0xa55c68){return[];}['toJSON'](){const _0xc2b75=a0_0x342bd1;return{'name':this[_0xc2b75(0x3c3)](),'displayName':this[_0xc2b75(0x26d)](),'type':this[_0xc2b75(0x2a0)](),'enabled':this[_0xc2b75(0x2f2)](),'method':this[_0xc2b75(0x38b)](),'path':this['getPath'](),'fullUrl':this[_0xc2b75(0x40f)](),'requestParams':this[_0xc2b75(0x3c0)](),'requestExample':this[_0xc2b75(0x2c9)](),'responseExample':this[_0xc2b75(0x22b)]()};}['toString'](){const _0x56d3ff=a0_0x342bd1,_0x25acdb=this[_0x56d3ff(0x2f2)]()?'启用':'禁用';return this[_0x56d3ff(0x26d)]()+'('+this[_0x56d3ff(0x351)]+',\x20'+_0x25acdb+')';}}class GenericOperation extends Operation{[a0_0x342bd1(0x293)];[a0_0x342bd1(0x3c0)](){const _0x745c72=a0_0x342bd1;return this[_0x745c72(0x431)]();}[a0_0x342bd1(0x450)](){const _0x1b8abe=a0_0x342bd1;return this[_0x1b8abe(0x45a)]();}[a0_0x342bd1(0x2c9)](){const _0x240558=a0_0x342bd1;if(this['_requestExampleCache'])return this[_0x240558(0x293)];const _0xc270b0={},_0x116ced=this['getRequestParams'](),_0x32d1a2=this[_0x240558(0x2a0)]();if(Object[_0x240558(0x1ea)](_0x116ced)['length']===0x0&&_0x32d1a2){const _0x2bf272=this['getBusinessFields']();return _0x2bf272['forEach'](_0x3ccccd=>{const _0x133986=_0x240558,_0x36e378=_0x3ccccd[_0x133986(0x2bd)],_0x4b4647=_0x3ccccd['type'],_0x45be5a=this[_0x133986(0x371)](_0x36e378,_0x4b4647,_0x3ccccd['getDbTypeForOperation'](),{'isPrimaryKey':_0x3ccccd[_0x133986(0x353)](),'description':_0x3ccccd[_0x133986(0x1ca)]||_0x3ccccd['name']});_0xc270b0[_0x36e378]=_0x45be5a;}),this[_0x240558(0x293)]=_0xc270b0,_0xc270b0;}return Object['entries'](_0x116ced)['forEach'](([_0x227b47,_0x4d9a3d])=>{const _0x77daf9=_0x240558,_0x2ace1f=_0x4d9a3d;let _0x354e8a;if(typeof _0x2ace1f[_0x77daf9(0x399)]===_0x77daf9(0x3d2))_0x354e8a=_0x2ace1f['type'];else _0x2ace1f[_0x77daf9(0x399)]&&typeof _0x2ace1f[_0x77daf9(0x399)]==='object'?_0x354e8a=_0x2ace1f[_0x77daf9(0x399)][_0x77daf9(0x399)]||_0x77daf9(0x2f1):_0x354e8a=_0x77daf9(0x2f1);const _0x22b900=_0x2ace1f['description'],_0x2b9981=this[_0x77daf9(0x216)](_0x227b47);if(_0x227b47===_0x77daf9(0x401))_0xc270b0[_0x227b47]=0x1;else{if(_0x227b47===_0x77daf9(0x3ac))_0xc270b0[_0x227b47]=0xa;else{if(_0x227b47==='id')_0xc270b0[_0x227b47]=0x1;else{const _0x456239=_0x2b9981?_0x2b9981[_0x77daf9(0x31d)]():undefined,_0x18cbab=_0x2b9981?_0x2b9981['description']:undefined,_0x4274c6=_0x2b9981?_0x2b9981[_0x77daf9(0x351)]:undefined;_0xc270b0[_0x227b47]=this[_0x77daf9(0x371)](_0x227b47,_0x354e8a,_0x456239||undefined,{'isPrimaryKey':_0x227b47===this[_0x77daf9(0x244)][_0x77daf9(0x2ab)]||_0x227b47==='id','description':_0x22b900||_0x18cbab||_0x4274c6});}}}}),this[_0x240558(0x293)]=_0xc270b0,_0xc270b0;}['generateResponseExample'](){const _0x309e77=a0_0x342bd1,_0x2051a7=this[_0x309e77(0x450)]();if(!_0x2051a7){const _0x282409={};return _0x282409['success']=!![],_0x282409[_0x309e77(0x2c4)]=_0x309e77(0x370),_0x282409[_0x309e77(0x291)]='',_0x282409[_0x309e77(0x3f3)]='0000',_0x282409[_0x309e77(0x24c)]=null,_0x282409;}return this[_0x309e77(0x379)](_0x2051a7);}[a0_0x342bd1(0x379)](_0x3afe93){const _0x5bbbfe=a0_0x342bd1;if(!_0x3afe93||typeof _0x3afe93!==_0x5bbbfe(0x1eb))return{};if(Array[_0x5bbbfe(0x200)](_0x3afe93)){if(_0x3afe93['length']>0x0)return[this['generateFromSchema'](_0x3afe93[0x0])];return[];}const _0x2bd220={};return Object['keys'](_0x3afe93)[_0x5bbbfe(0x40c)](_0x2d5289=>{const _0x1ed4ae=_0x5bbbfe,_0x540be0=_0x3afe93[_0x2d5289];if(_0x540be0&&typeof _0x540be0===_0x1ed4ae(0x1eb)&&!Array['isArray'](_0x540be0)&&_0x540be0[_0x1ed4ae(0x399)]){const _0x481a8a=_0x540be0;let _0x855399;if(typeof _0x481a8a[_0x1ed4ae(0x399)]===_0x1ed4ae(0x3d2))_0x855399=_0x481a8a[_0x1ed4ae(0x399)];else _0x481a8a[_0x1ed4ae(0x399)]&&typeof _0x481a8a['type']==='object'?_0x855399=_0x481a8a[_0x1ed4ae(0x399)]['type']||_0x1ed4ae(0x2f1):_0x855399=_0x1ed4ae(0x2f1);const _0x3d167c=_0x481a8a[_0x1ed4ae(0x1ca)],_0x1e6644={};_0x1e6644['description']=_0x3d167c,_0x2bd220[_0x2d5289]=this[_0x1ed4ae(0x371)](_0x2d5289,_0x855399,undefined,_0x1e6644);}else{if(Array['isArray'](_0x540be0))_0x2bd220[_0x2d5289]=_0x540be0[_0x1ed4ae(0x345)]>0x0?[this[_0x1ed4ae(0x379)](_0x540be0[0x0])]:[];else _0x540be0&&typeof _0x540be0==='object'?_0x2bd220[_0x2d5289]=this[_0x1ed4ae(0x379)](_0x540be0):_0x2bd220[_0x2d5289]=_0x540be0;}}),_0x2bd220;}[a0_0x342bd1(0x1b3)](_0x5aaa9d,_0x2c277e){const _0x4a937f=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2c277e||{},_0x145fe9=this[_0x4a937f(0x3c3)](),_0x1ba940=this[_0x4a937f(0x2a0)](),_0x229c43=this['getRequestFields'](),_0x16130b=this[_0x4a937f(0x2c9)](),_0x2b6eb1=_0x48e3e9=>{const _0x243850=_0x4a937f;if(Object['keys'](_0x48e3e9)['length']===0x0)return'{}';const _0x1b40dc=JSON['stringify'](_0x48e3e9,null,0x2)[_0x243850(0x257)]('\x0a')['map']((_0x4f97b6,_0x4d9c0c)=>_0x4d9c0c===0x0?_0x4f97b6:indent+_0x4f97b6)[_0x243850(0x314)]('\x0a');return _0x1b40dc;};switch(_0x1ba940){case _0x4a937f(0x3cb):case _0x4a937f(0x305):return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x3fb);case _0x4a937f(0x1dd):if(useFullExample&&Object['keys'](_0x16130b)[_0x4a937f(0x345)]>0x0)return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x448)+_0x2b6eb1(_0x16130b)+');';return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+'(id,\x20data);';case'create':case _0x4a937f(0x3c5):case _0x4a937f(0x205):default:if(_0x229c43[_0x4a937f(0x345)]>0x0){if(useFullExample&&Object[_0x4a937f(0x1ea)](_0x16130b)[_0x4a937f(0x345)]>0x0)return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+'('+_0x2b6eb1(_0x16130b)+');';else{const _0x4801eb=Object['keys'](_0x16130b);if(_0x4801eb[_0x4a937f(0x345)]>0x0){const _0x5ae919=_0x4801eb[_0x4a937f(0x3eb)](0x0,0x2)[_0x4a937f(0x314)](',\x20');return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x2d2)+_0x5ae919+_0x4a937f(0x3e4);}else return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x298);}}else return _0x4a937f(0x20f)+_0x5aaa9d+'.'+_0x145fe9+_0x4a937f(0x36f);}}['generateRequestAllExamples'](){const _0x4805be=a0_0x342bd1;return[{'title':_0x4805be(0x1f3),'data':this[_0x4805be(0x2c9)]()}];}[a0_0x342bd1(0x374)](){const _0x1bb8e7=a0_0x342bd1,_0x7a773f=this[_0x1bb8e7(0x2a0)](),_0x299ccf=[];switch(_0x7a773f){case _0x1bb8e7(0x3cb):case _0x1bb8e7(0x305):const _0x471b4b={};_0x471b4b[_0x1bb8e7(0x2bd)]='id',_0x471b4b[_0x1bb8e7(0x399)]=_0x1bb8e7(0x42e),_0x471b4b[_0x1bb8e7(0x1ca)]='主键ID',_0x299ccf[_0x1bb8e7(0x37b)](_0x471b4b);break;case'getList':const _0x2f0afa={};_0x2f0afa[_0x1bb8e7(0x2bd)]=_0x1bb8e7(0x401),_0x2f0afa[_0x1bb8e7(0x399)]=_0x1bb8e7(0x42e),_0x2f0afa[_0x1bb8e7(0x1ca)]='当前页码';const _0x2246cd={};_0x2246cd['code']=_0x1bb8e7(0x3ac),_0x2246cd[_0x1bb8e7(0x399)]=_0x1bb8e7(0x42e),_0x2246cd[_0x1bb8e7(0x1ca)]=_0x1bb8e7(0x3a3),_0x299ccf['push'](_0x2f0afa,_0x2246cd);break;case _0x1bb8e7(0x205):const _0x3a0ad2={};_0x3a0ad2[_0x1bb8e7(0x2bd)]=_0x1bb8e7(0x2bd),_0x3a0ad2[_0x1bb8e7(0x399)]=_0x1bb8e7(0x388),_0x3a0ad2[_0x1bb8e7(0x1ca)]=_0x1bb8e7(0x2e6),_0x299ccf['push'](_0x3a0ad2);break;default:break;}return _0x299ccf;}[a0_0x342bd1(0x3fd)](){const _0x49a398=a0_0x342bd1,_0x2da76d=this[_0x49a398(0x2a0)](),_0x4e980a=this['context'][_0x49a398(0x202)]||[];switch(_0x2da76d){case _0x49a398(0x3cb):case _0x49a398(0x305):return[];case _0x49a398(0x34f):return _0x4e980a[_0x49a398(0x282)](_0x25ef3e=>{const _0x40f0a5=_0x49a398;if(_0x25ef3e['deleted'])return![];if(_0x25ef3e['isPrimaryKey']()&&_0x25ef3e[_0x40f0a5(0x31c)]())return![];if(_0x25ef3e[_0x40f0a5(0x270)]())return![];if(_0x25ef3e[_0x40f0a5(0x276)]()||_0x25ef3e[_0x40f0a5(0x402)]())return![];return!![];});case'update':return _0x4e980a[_0x49a398(0x282)](_0x31e0c6=>{const _0x3caf1b=_0x49a398;if(_0x31e0c6[_0x3caf1b(0x331)])return![];if(_0x31e0c6[_0x3caf1b(0x353)]())return![];if(_0x31e0c6[_0x3caf1b(0x270)]())return![];if(_0x31e0c6[_0x3caf1b(0x276)]()||_0x31e0c6[_0x3caf1b(0x402)]())return![];if(_0x31e0c6[_0x3caf1b(0x31c)]())return![];return!![];});case'getList':case'getSelectOptions':return _0x4e980a['filter'](_0x12bddd=>!_0x12bddd[_0x49a398(0x331)]&&_0x12bddd['isBusiness']());default:return _0x4e980a[_0x49a398(0x282)](_0x2459ca=>!_0x2459ca[_0x49a398(0x331)]&&_0x2459ca['isBusiness']());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x342bd1(0x3c0)](){const _0x308b0e=a0_0x342bd1,_0x2e87fa=super[_0x308b0e(0x3c0)](),_0x3e71e7=Object[_0x308b0e(0x1ea)](_0x2e87fa);if(_0x3e71e7[_0x308b0e(0x345)]===0x0||_0x3e71e7['length']===0x1&&_0x3e71e7[0x0]===_0x308b0e(0x2bd)){if(!_0x2e87fa['code']){const _0x492558={};_0x492558[_0x308b0e(0x399)]='String',_0x492558['description']=_0x308b0e(0x445),_0x2e87fa[_0x308b0e(0x2bd)]=_0x492558;}const _0x2a16cb={};_0x2a16cb[_0x308b0e(0x399)]=_0x308b0e(0x36d),_0x2a16cb[_0x308b0e(0x1ca)]=_0x308b0e(0x2ed),_0x2e87fa[_0x308b0e(0x469)]=_0x2a16cb;}return _0x2e87fa;}[a0_0x342bd1(0x3fd)](){return[];}[a0_0x342bd1(0x374)](){const _0x49eb3d=a0_0x342bd1,_0x15b0a0={};_0x15b0a0[_0x49eb3d(0x2bd)]='code',_0x15b0a0[_0x49eb3d(0x399)]=_0x49eb3d(0x36d),_0x15b0a0[_0x49eb3d(0x1ca)]=_0x49eb3d(0x445);const _0xd30341={};return _0xd30341[_0x49eb3d(0x2bd)]=_0x49eb3d(0x469),_0xd30341[_0x49eb3d(0x399)]='String',_0xd30341[_0x49eb3d(0x1ca)]=_0x49eb3d(0x2ed),[_0x15b0a0,_0xd30341];}[a0_0x342bd1(0x2c9)](){const _0x54077a=a0_0x342bd1,_0xf12e12={};return _0xf12e12[_0x54077a(0x2bd)]=_0x54077a(0x31f),_0xf12e12[_0x54077a(0x469)]='field_name',_0xf12e12;}['generateSDKCallCode'](_0x46d8fa){const _0x1fd10c=a0_0x342bd1,_0x2233a8=this['getName']();return _0x1fd10c(0x20f)+_0x46d8fa+'.'+_0x2233a8+_0x1fd10c(0x225);}}class GetListOperation extends GenericOperation{[a0_0x342bd1(0x3c0)](){const _0xe54ec9=a0_0x342bd1,_0x5979d3=super[_0xe54ec9(0x3c0)](),{currentPage:_0xb6bf9a,pageSize:_0x3319da,..._0x3037b4}=_0x5979d3,_0x26ce9f={};Object[_0xe54ec9(0x241)](_0x3037b4)[_0xe54ec9(0x40c)](([_0x1f2719,_0x142c85])=>{const _0x1eb2cb=_0xe54ec9;if(typeof _0x142c85===_0x1eb2cb(0x1eb)&&_0x142c85!==null){const _0x4551bf=_0x142c85,_0x49664d=_0x4551bf['description']||'',_0x4b3364={..._0x4551bf};_0x4b3364[_0x1eb2cb(0x1ca)]=_0x49664d?_0x49664d+_0x1eb2cb(0x44e):_0x1eb2cb(0x3f6),_0x26ce9f[_0x1f2719]=_0x4b3364;}else _0x26ce9f[_0x1f2719]=_0x142c85;});const _0x5c0643={...typeof _0xb6bf9a===_0xe54ec9(0x1eb)?_0xb6bf9a:{}};_0x5c0643[_0xe54ec9(0x399)]=_0xe54ec9(0x464),_0x5c0643['description']=_0xe54ec9(0x239);const _0x3867b7={...typeof _0x3319da==='object'?_0x3319da:{}};_0x3867b7[_0xe54ec9(0x399)]=_0xe54ec9(0x464),_0x3867b7[_0xe54ec9(0x1ca)]=_0xe54ec9(0x1db);const _0x3b03f7={..._0x26ce9f};return _0x3b03f7[_0xe54ec9(0x401)]=_0x5c0643,_0x3b03f7['pageSize']=_0x3867b7,_0x3b03f7;}['generateRequestExample'](_0x1966f7){const _0x25bc23=a0_0x342bd1,{useArrayValues:useArrayValues=!![]}=_0x1966f7||{},_0x58b64c=super[_0x25bc23(0x2c9)](),{currentPage:_0x315770,pageSize:_0x50b177,..._0x3e4cf6}=_0x58b64c;if(!useArrayValues){const _0x283243={..._0x3e4cf6};return _0x283243[_0x25bc23(0x401)]=_0x315770??0x1,_0x283243[_0x25bc23(0x3ac)]=_0x50b177??0xa,_0x283243;}const _0x3443d0={},_0xf967e8=['id',_0x25bc23(0x1e2),'code',_0x25bc23(0x399)];Object[_0x25bc23(0x241)](_0x3e4cf6)['forEach'](([_0x15a762,_0x1831cd],_0x40bfe3)=>{const _0x4c3f8f=_0x25bc23,_0x2f83a3=_0xf967e8[_0x4c3f8f(0x2a9)](_0x4c6d0d=>_0x15a762[_0x4c3f8f(0x2fc)]()[_0x4c3f8f(0x461)](_0x4c6d0d))||_0x40bfe3%0x3===0x0;if(_0x2f83a3&&_0x1831cd!==null&&_0x1831cd!==undefined){if(typeof _0x1831cd===_0x4c3f8f(0x44b))_0x3443d0[_0x15a762]=[_0x1831cd,_0x1831cd+0x1,_0x1831cd+0x2];else typeof _0x1831cd===_0x4c3f8f(0x3d2)?_0x3443d0[_0x15a762]=[_0x1831cd,_0x1831cd+'_2',_0x1831cd+'_3']:_0x3443d0[_0x15a762]=[_0x1831cd];}else _0x3443d0[_0x15a762]=_0x1831cd;});const _0x5c96a4={..._0x3443d0};return _0x5c96a4[_0x25bc23(0x401)]=_0x315770??0x1,_0x5c96a4['pageSize']=_0x50b177??0xa,_0x5c96a4;}[a0_0x342bd1(0x26f)](){const _0x4c54ce={};return _0x4c54ce['useArrayValues']=![],this['generateRequestExample'](_0x4c54ce);}[a0_0x342bd1(0x28e)](){const _0x39780a=a0_0x342bd1;return[{'title':_0x39780a(0x2a6),'description':_0x39780a(0x453),'data':this[_0x39780a(0x26f)]()},{'title':_0x39780a(0x283),'description':_0x39780a(0x260),'data':this['generateRequestExample']()}];}[a0_0x342bd1(0x1b3)](_0x324130,_0x1e4f80){const _0x26688e=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1e4f80||{},_0x4c7a4d=this[_0x26688e(0x3c3)](),_0x517305={};_0x517305['useArrayValues']=!![];const _0x56f81b=this[_0x26688e(0x2c9)](_0x517305),{currentPage:_0x574920,pageSize:_0x4dd292,..._0x1777df}=_0x56f81b;if(useFullExample&&Object[_0x26688e(0x1ea)](_0x56f81b)['length']>0x0){const _0x491441=Object['keys'](_0x1777df)[_0x26688e(0x345)]>0x0;if(_0x491441){const _0x554c61=this[_0x26688e(0x26f)](),_0xc62ed9=_0x3a9d78=>{const _0x488d60=_0x26688e;return JSON['stringify'](_0x3a9d78,null,0x2)[_0x488d60(0x257)]('\x0a')[_0x488d60(0x2bc)]((_0xa5e705,_0x28d9a6)=>_0x28d9a6===0x0?_0xa5e705:indent+_0xa5e705)['join']('\x0a');};return _0x26688e(0x1b4)+_0x324130+'.'+_0x4c7a4d+'('+_0xc62ed9(_0x554c61)+_0x26688e(0x2f9)+_0x324130+'.'+_0x4c7a4d+'('+_0xc62ed9(_0x56f81b)+');';}else{const _0x57ac48=JSON[_0x26688e(0x301)](_0x56f81b,null,0x2)['split']('\x0a')[_0x26688e(0x2bc)]((_0x3ed998,_0x463d91)=>_0x463d91===0x0?_0x3ed998:indent+_0x3ed998)[_0x26688e(0x314)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x324130+'.'+_0x4c7a4d+'('+_0x57ac48+');';}}if(Object[_0x26688e(0x1ea)](_0x1777df)[_0x26688e(0x345)]>0x0){const _0x1c0bf2=Object[_0x26688e(0x1ea)](_0x1777df)[0x0];return _0x26688e(0x20f)+_0x324130+'.'+_0x4c7a4d+_0x26688e(0x2d2)+_0x1c0bf2+_0x26688e(0x3c6);}return _0x26688e(0x20f)+_0x324130+'.'+_0x4c7a4d+_0x26688e(0x29b);}}var AGGREGATE_FUNCTIONS=[a0_0x342bd1(0x32a),a0_0x342bd1(0x3b3),a0_0x342bd1(0x32f),'max','min'],FILTER_OPERATORS=[a0_0x342bd1(0x1e5),'$ne',a0_0x342bd1(0x2be),a0_0x342bd1(0x2a4),a0_0x342bd1(0x380),'$lteq',a0_0x342bd1(0x46a),a0_0x342bd1(0x313),a0_0x342bd1(0x3e7),a0_0x342bd1(0x1c1),a0_0x342bd1(0x2b7),a0_0x342bd1(0x1d1)];class FilterOperation extends GenericOperation{constructor(_0x50d0f5,_0x55ae98,_0x3fea8b){super(_0x50d0f5,_0x55ae98,_0x3fea8b);}['getOperators'](){return FILTER_OPERATORS;}['getFieldOperators'](_0x4a595c){const _0x2a37b5=a0_0x342bd1,_0x2e0d72=this[_0x2a37b5(0x216)](_0x4a595c);if(!_0x2e0d72)return[];return this[_0x2a37b5(0x2c8)](_0x2e0d72);}['getRequestParams'](){const _0x10ad7b=a0_0x342bd1,_0x4e7bce=super['getRequestParams'](),_0xa8caab={};_0xa8caab[_0x10ad7b(0x399)]=_0x10ad7b(0x3ba),_0xa8caab[_0x10ad7b(0x1ca)]='查询条件(支持\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)',_0xa8caab[_0x10ad7b(0x22c)]=![];const _0x49acda={};_0x49acda[_0x10ad7b(0x399)]=_0x10ad7b(0x1ee),_0x49acda['description']=_0x10ad7b(0x30d),_0x49acda[_0x10ad7b(0x22c)]=![];const _0x4d25bc={};_0x4d25bc[_0x10ad7b(0x399)]=_0x10ad7b(0x1c6),_0x4d25bc[_0x10ad7b(0x1ca)]=_0x10ad7b(0x3de),_0x4d25bc[_0x10ad7b(0x22c)]=![];const _0x69d45a={};_0x69d45a['type']='Number',_0x69d45a[_0x10ad7b(0x1ca)]=_0x10ad7b(0x239),_0x69d45a[_0x10ad7b(0x22c)]=![],_0x69d45a[_0x10ad7b(0x348)]=0x1;const _0x45cf47={};_0x45cf47[_0x10ad7b(0x399)]=_0x10ad7b(0x464),_0x45cf47[_0x10ad7b(0x1ca)]='每页数量',_0x45cf47[_0x10ad7b(0x22c)]=![],_0x45cf47['default']=0xa;const _0x4898a0={..._0x4e7bce};return _0x4898a0['where']=_0xa8caab,_0x4898a0['select']=_0x49acda,_0x4898a0[_0x10ad7b(0x1f5)]=_0x4d25bc,_0x4898a0[_0x10ad7b(0x401)]=_0x69d45a,_0x4898a0[_0x10ad7b(0x3ac)]=_0x45cf47,_0x4898a0;}['getSystemFields'](){const _0x3443ed=a0_0x342bd1,_0x531222=this[_0x3443ed(0x3c0)](),_0x5b1715=[],_0x3707a2=['where',_0x3443ed(0x438),'orderBy',_0x3443ed(0x401),_0x3443ed(0x3ac)];return Object[_0x3443ed(0x241)](_0x531222)[_0x3443ed(0x40c)](([_0x162303,_0x57c496])=>{const _0x83eff2=_0x3443ed;if(_0x3707a2[_0x83eff2(0x461)](_0x162303)){const _0x3758eb=_0x57c496,_0xf4024a={};_0xf4024a[_0x83eff2(0x2bd)]=_0x162303,_0xf4024a[_0x83eff2(0x399)]=_0x3758eb[_0x83eff2(0x399)]||_0x83eff2(0x3ba),_0xf4024a[_0x83eff2(0x1ca)]=_0x3758eb['description']||'-',_0x5b1715[_0x83eff2(0x37b)](_0xf4024a);}}),_0x5b1715;}[a0_0x342bd1(0x3fd)](){const _0x5979f6=a0_0x342bd1;return this[_0x5979f6(0x244)][_0x5979f6(0x202)]||[];}[a0_0x342bd1(0x285)](){const _0x1c4399=a0_0x342bd1;return{'systemParams':this[_0x1c4399(0x374)](),'businessFields':this['getBusinessFields']()};}[a0_0x342bd1(0x2c9)](){const _0x354ead=a0_0x342bd1,_0x6de9fe=this[_0x354ead(0x244)][_0x354ead(0x202)]||[];if(_0x6de9fe[_0x354ead(0x345)]===0x0){const _0x3e763f={};return _0x3e763f['where']={},_0x3e763f[_0x354ead(0x401)]=0x1,_0x3e763f[_0x354ead(0x3ac)]=0x14,_0x3e763f;}const _0x1b1b7f={},_0x39ac4a=_0x6de9fe[_0x354ead(0x3eb)](0x0,Math['min'](0x3,_0x6de9fe[_0x354ead(0x345)]));_0x39ac4a[_0x354ead(0x40c)](_0x4ef14c=>{const _0x3ebb1c=_0x354ead,_0x3fc94a=this[_0x3ebb1c(0x2c8)](_0x4ef14c);if(_0x3fc94a[_0x3ebb1c(0x345)]===0x0)return;const _0x1a5cc6=this['selectBestOperator'](_0x4ef14c,_0x3fc94a),_0xbd9786=this[_0x3ebb1c(0x2fd)](_0x4ef14c,_0x1a5cc6),_0x3a27c7={};_0x3a27c7[_0x1a5cc6]=_0xbd9786,_0x1b1b7f[_0x4ef14c[_0x3ebb1c(0x2bd)]]=_0x3a27c7;});const _0x499534=_0x6de9fe[_0x354ead(0x3eb)](0x0,Math[_0x354ead(0x1e8)](0x5,_0x6de9fe[_0x354ead(0x345)]))[_0x354ead(0x2bc)](_0xe1cfdd=>_0xe1cfdd[_0x354ead(0x2bd)]),_0x5116b5=_0x6de9fe[0x0]?_0x6de9fe[0x0]['code']:'id',_0x556dbd={};_0x556dbd[_0x5116b5]='DESC';const _0x183d95={};return _0x183d95['where']=_0x1b1b7f,_0x183d95[_0x354ead(0x438)]=_0x499534,_0x183d95[_0x354ead(0x1f5)]=[_0x556dbd],_0x183d95[_0x354ead(0x401)]=0x1,_0x183d95[_0x354ead(0x3ac)]=0x14,_0x183d95;}[a0_0x342bd1(0x1b3)](_0x2c23a7,_0x5e5f3b){const _0xc16af=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5e5f3b||{},_0x2d6761=this['getName'](),_0x128305=this[_0xc16af(0x2c9)](),_0x4288f6=_0x57a6be=>{const _0x501294=_0xc16af;return JSON[_0x501294(0x301)](_0x57a6be,null,0x2)[_0x501294(0x257)]('\x0a')['map']((_0x450228,_0x335299)=>_0x335299===0x0?_0x450228:indent+_0x450228)['join']('\x0a');};if(useFullExample){const _0x57c0a5=this[_0xc16af(0x244)]['fields']||[],_0x3f1b99={'where':_0x57c0a5[0x0]?{[_0x57c0a5[0x0]['code']]:{'$eq':this['generateExampleValue'](_0x57c0a5[0x0],_0xc16af(0x1e5))}}:{},'select':_0x57c0a5['slice'](0x0,0x3)['map'](_0x43bf57=>_0x43bf57[_0xc16af(0x2bd)]),'currentPage':0x1,'pageSize':0x14};let _0x3918dd='';if(_0x57c0a5['length']>=0x3){const _0x124f73={};_0x124f73[_0xc16af(0x2b7)]=[];const _0x478feb=_0x124f73,_0x268251=[];if(_0x57c0a5['length']>0x0){const _0x2e32b5=_0x57c0a5[_0xc16af(0x396)](_0x475173=>{const _0x54cec7=_0xc16af,_0x49c758=_0x475173[_0x54cec7(0x31d)]();return[_0x54cec7(0x42e),_0x54cec7(0x232),_0x54cec7(0x39a),_0x54cec7(0x336),'TINYINT',_0x54cec7(0x2d9)]['includes'](_0x49c758);});if(_0x2e32b5){const _0x4fb8a6={};_0x4fb8a6[_0xc16af(0x2be)]=0x0,_0x4fb8a6[_0xc16af(0x380)]=0x64;const _0x5ba3be={[_0x2e32b5[_0xc16af(0x2bd)]]:_0x4fb8a6};_0x268251[_0xc16af(0x37b)](_0x5ba3be);}}if(_0x57c0a5['length']>0x1){const _0x5bd6ea=_0x57c0a5[_0xc16af(0x396)](_0x42ff3a=>{const _0x654a38=_0xc16af,_0x4fe708=_0x42ff3a[_0x654a38(0x31d)]();return[_0x654a38(0x388),'TEXT',_0x654a38(0x355),_0x654a38(0x407),_0x654a38(0x387)]['includes'](_0x4fe708);});if(_0x5bd6ea){const _0x249d2c={};_0x249d2c['$contain']=_0xc16af(0x426);const _0x336734={[_0x5bd6ea[_0xc16af(0x2bd)]]:_0x249d2c};_0x268251[_0xc16af(0x37b)](_0x336734);}}if(_0x268251[_0xc16af(0x345)]>0x0){_0x478feb[_0xc16af(0x2b7)]=_0x268251;const _0x3134cb={'where':_0x478feb,'select':_0x57c0a5[_0xc16af(0x3eb)](0x0,0x4)[_0xc16af(0x2bc)](_0x11c016=>_0x11c016['code']),'orderBy':[{[_0x57c0a5[0x0][_0xc16af(0x2bd)]]:_0xc16af(0x316)}],'currentPage':0x1,'pageSize':0x14};_0x3918dd=_0xc16af(0x38c)+_0x2c23a7+'.'+_0x2d6761+'('+_0x4288f6(_0x3134cb)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x2c23a7+'.'+_0x2d6761+'('+_0x4288f6(_0x3f1b99)+');'+_0x3918dd;}const _0x4f2829=JSON[_0xc16af(0x301)](_0x128305,null,0x2)[_0xc16af(0x257)]('\x0a')['map']((_0x44a04e,_0x4011a1)=>_0x4011a1===0x0?_0x44a04e:indent+_0x44a04e)[_0xc16af(0x314)]('\x0a');return _0xc16af(0x20f)+_0x2c23a7+'.'+_0x2d6761+'('+_0x4f2829+');';}[a0_0x342bd1(0x2c8)](_0x2fb29a){const _0x492e24=a0_0x342bd1,_0x5449a0=_0x2fb29a[_0x492e24(0x31d)](),_0x5274fc=[];if([_0x492e24(0x42e),_0x492e24(0x232),_0x492e24(0x39a),_0x492e24(0x349)][_0x492e24(0x461)](_0x5449a0)||[_0x492e24(0x336),'TINYINT',_0x492e24(0x2d9),'DOUBLE',_0x492e24(0x44a)]['includes'](_0x5449a0))_0x5274fc[_0x492e24(0x37b)]('$eq',_0x492e24(0x428),_0x492e24(0x2be),_0x492e24(0x380),_0x492e24(0x2a4),_0x492e24(0x35d),_0x492e24(0x46a));else{if([_0x492e24(0x388),'TEXT',_0x492e24(0x355)][_0x492e24(0x461)](_0x5449a0)||[_0x492e24(0x407),_0x492e24(0x387)][_0x492e24(0x461)](_0x5449a0))_0x5274fc[_0x492e24(0x37b)](_0x492e24(0x1e5),_0x492e24(0x428),_0x492e24(0x46a),_0x492e24(0x313),_0x492e24(0x3e7),_0x492e24(0x1c1));else{if([_0x492e24(0x3db),'DATETIME',_0x492e24(0x1da)][_0x492e24(0x461)](_0x5449a0)||[_0x492e24(0x1c4)][_0x492e24(0x461)](_0x5449a0))_0x5274fc['push'](_0x492e24(0x1e5),'$ne','$gte',_0x492e24(0x380),'$gteq',_0x492e24(0x35d));else['BOOLEAN',_0x492e24(0x43a),_0x492e24(0x37d)][_0x492e24(0x461)](_0x5449a0)?_0x5274fc['push'](_0x492e24(0x1e5),_0x492e24(0x428)):_0x5274fc['push']('$eq',_0x492e24(0x428));}}return _0x5274fc;}['selectBestOperator'](_0x2be9a8,_0x23102b){const _0x1b6e65=a0_0x342bd1,_0x131627=_0x2be9a8[_0x1b6e65(0x31d)]();if([_0x1b6e65(0x42e),_0x1b6e65(0x232),_0x1b6e65(0x39a),'DECIMAL'][_0x1b6e65(0x461)](_0x131627)||[_0x1b6e65(0x336),_0x1b6e65(0x2d7),_0x1b6e65(0x2d9),_0x1b6e65(0x21d),'FLOAT'][_0x1b6e65(0x461)](_0x131627))return _0x23102b[_0x1b6e65(0x461)](_0x1b6e65(0x2be))?_0x1b6e65(0x2be):_0x1b6e65(0x1e5);if([_0x1b6e65(0x388),_0x1b6e65(0x2f1),_0x1b6e65(0x355)][_0x1b6e65(0x461)](_0x131627)||[_0x1b6e65(0x407),_0x1b6e65(0x387)][_0x1b6e65(0x461)](_0x131627))return _0x23102b[_0x1b6e65(0x461)](_0x1b6e65(0x313))?_0x1b6e65(0x313):_0x1b6e65(0x1e5);if([_0x1b6e65(0x3db),'DATETIME','TIMESTAMP','TIME'][_0x1b6e65(0x461)](_0x131627))return _0x23102b['includes'](_0x1b6e65(0x2be))?_0x1b6e65(0x2be):'$eq';return _0x1b6e65(0x1e5);}[a0_0x342bd1(0x2fd)](_0x1398bb,_0xbdc69){const _0x15b01d=a0_0x342bd1,_0x25e4d4=_0x1398bb[_0x15b01d(0x31d)](),_0x1dd8fb=_0x1398bb['getEnumOptions']();if(_0x1dd8fb&&_0x1dd8fb[_0x15b01d(0x345)]>0x0){if(_0xbdc69===_0x15b01d(0x46a))return _0x1dd8fb['slice'](0x0,0x2)[_0x15b01d(0x2bc)](_0x2a66fa=>_0x2a66fa[_0x15b01d(0x3d9)]);return _0x1dd8fb[0x0][_0x15b01d(0x3d9)];}if(['NUMBER',_0x15b01d(0x232),_0x15b01d(0x39a),_0x15b01d(0x349)][_0x15b01d(0x461)](_0x25e4d4)||[_0x15b01d(0x336),'TINYINT',_0x15b01d(0x2d9),'DOUBLE','FLOAT'][_0x15b01d(0x461)](_0x25e4d4)){if(_0xbdc69==='$in')return[0x1,0x2,0x3];if(_0xbdc69===_0x15b01d(0x2be)||_0xbdc69===_0x15b01d(0x2a4))return 0x0;if(_0xbdc69===_0x15b01d(0x380)||_0xbdc69===_0x15b01d(0x35d))return 0x64;return 0x1;}if([_0x15b01d(0x388),'TEXT','VARCHAR'][_0x15b01d(0x461)](_0x25e4d4)||[_0x15b01d(0x407),'LONGTEXT'][_0x15b01d(0x461)](_0x25e4d4)){if(_0xbdc69===_0x15b01d(0x46a))return[_0x15b01d(0x229),'value2'];if(_0xbdc69===_0x15b01d(0x313))return'keyword';if(_0xbdc69===_0x15b01d(0x3e7))return _0x15b01d(0x1ba);if(_0xbdc69===_0x15b01d(0x1c1))return _0x15b01d(0x369);return _0x15b01d(0x3d9);}if([_0x15b01d(0x3db),_0x15b01d(0x302),'TIMESTAMP',_0x15b01d(0x1c4)][_0x15b01d(0x461)](_0x25e4d4)){if(_0xbdc69===_0x15b01d(0x2be)||_0xbdc69===_0x15b01d(0x2a4))return _0x15b01d(0x308);if(_0xbdc69==='$lte'||_0xbdc69===_0x15b01d(0x35d))return _0x15b01d(0x3cc);return _0x15b01d(0x308);}if(['BOOLEAN',_0x15b01d(0x43a),_0x15b01d(0x37d)][_0x15b01d(0x461)](_0x25e4d4))return!![];return _0xbdc69==='$in'?[_0x15b01d(0x229),'value2']:_0x15b01d(0x3d9);}[a0_0x342bd1(0x21b)](){const _0x5d2016=a0_0x342bd1,_0x2b81c6=super[_0x5d2016(0x3c0)](),_0x4ccc58=Object[_0x5d2016(0x241)](_0x2b81c6)[_0x5d2016(0x282)](([_0x41ddc0])=>_0x41ddc0!==_0x5d2016(0x401)&&_0x41ddc0!==_0x5d2016(0x3ac))['map'](([_0x81f1c2,_0x531b70])=>{const _0x20b5d6=_0x5d2016,_0xd6322d=_0x531b70,_0x352dc2={};return _0x352dc2[_0x20b5d6(0x351)]=_0x81f1c2,_0x352dc2[_0x20b5d6(0x399)]=_0xd6322d[_0x20b5d6(0x399)]||_0x20b5d6(0x36d),_0x352dc2[_0x20b5d6(0x1ca)]=_0xd6322d['description']||'-',_0x352dc2[_0x20b5d6(0x22c)]=_0xd6322d[_0x20b5d6(0x22c)],_0x352dc2;}),_0x18058f={};return _0x18058f[_0x5d2016(0x1ca)]=_0x5d2016(0x2dd),_0x18058f['params']=_0x4ccc58,_0x18058f;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x57bfd5=a0_0x342bd1,_0x3faabf=super[_0x57bfd5(0x3c0)]();if(Object[_0x57bfd5(0x1ea)](_0x3faabf)[_0x57bfd5(0x345)]===0x0){const _0x44e14f={};this[_0x57bfd5(0x244)][_0x57bfd5(0x202)]['forEach'](_0x559694=>{const _0x1d2f28=_0x57bfd5;if(_0x559694){const _0x251b4d=_0x559694[_0x1d2f28(0x2bd)],_0x97e7a9=_0x559694[_0x1d2f28(0x31d)](),_0x2dab99={};_0x2dab99['type']=_0x97e7a9||_0x1d2f28(0x2f1),_0x2dab99[_0x1d2f28(0x1e6)]=_0x559694[_0x1d2f28(0x1e6)],_0x2dab99[_0x1d2f28(0x1ca)]=_0x559694[_0x1d2f28(0x1ca)]||_0x559694[_0x1d2f28(0x351)],_0x44e14f[_0x251b4d]=_0x2dab99;}});const _0x2f064e={};_0x2f064e[_0x57bfd5(0x399)]=_0x57bfd5(0x3e9),_0x2f064e[_0x57bfd5(0x1ca)]=_0x57bfd5(0x36c),_0x44e14f['currentPage']=_0x2f064e;const _0x457c2a={};return _0x457c2a[_0x57bfd5(0x399)]=_0x57bfd5(0x3e9),_0x457c2a[_0x57bfd5(0x1ca)]=_0x57bfd5(0x42d),_0x44e14f[_0x57bfd5(0x3ac)]=_0x457c2a,_0x44e14f;}return _0x3faabf;}[a0_0x342bd1(0x2c9)](){const _0x5c41c8=a0_0x342bd1,_0x2c9b4a=super[_0x5c41c8(0x2c9)]();if(Object[_0x5c41c8(0x1ea)](_0x2c9b4a)[_0x5c41c8(0x345)]===0x0){const _0x1af30d={};return _0x1af30d[_0x5c41c8(0x401)]=0x1,_0x1af30d[_0x5c41c8(0x3ac)]=0x64,_0x1af30d;}const _0x33b976={..._0x2c9b4a};return _0x33b976[_0x5c41c8(0x401)]=_0x2c9b4a['currentPage']??0x1,_0x33b976[_0x5c41c8(0x3ac)]=_0x2c9b4a[_0x5c41c8(0x3ac)]??0x64,_0x33b976;}[a0_0x342bd1(0x22b)](){const _0xdb6e75=a0_0x342bd1,_0x43c269={};return _0x43c269[_0xdb6e75(0x284)]=!![],_0x43c269[_0xdb6e75(0x2c4)]='',_0x43c269[_0xdb6e75(0x291)]='',_0x43c269[_0xdb6e75(0x3f3)]=_0xdb6e75(0x310),_0x43c269[_0xdb6e75(0x24c)]=_0xdb6e75(0x372),_0x43c269[_0xdb6e75(0x2af)]=null,_0x43c269;}[a0_0x342bd1(0x1b3)](_0x42e1e,_0x32f990){const _0x4889ff=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x32f990||{},_0x2541f9=this[_0x4889ff(0x3c3)]();if(useFullExample){const _0x1c8e9e=this[_0x4889ff(0x2c9)](),{currentPage:_0x4b1769,pageSize:_0x39311f,..._0x3a2415}=_0x1c8e9e,_0x5b7b88=Object[_0x4889ff(0x1ea)](_0x3a2415)[_0x4889ff(0x345)]>0x0;if(_0x5b7b88){const _0x34ac32=_0x41b623=>{const _0x5d32ed=_0x4889ff;return JSON[_0x5d32ed(0x301)](_0x41b623,null,0x2)['split']('\x0a')['map']((_0x4be04b,_0x46f60c)=>_0x46f60c===0x0?_0x4be04b:indent+_0x4be04b)[_0x5d32ed(0x314)]('\x0a');};return _0x4889ff(0x437)+_0x42e1e+'.'+_0x2541f9+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x42e1e+'.'+_0x2541f9+'('+_0x34ac32(_0x1c8e9e)+');';}else{const _0x174acf=_0x5fb860=>{return JSON['stringify'](_0x5fb860,null,0x2)['split']('\x0a')['map']((_0x1d929d,_0x1daa33)=>_0x1daa33===0x0?_0x1d929d:indent+_0x1d929d)['join']('\x0a');},_0x3c5cce={};return _0x3c5cce[_0x4889ff(0x401)]=0x1,_0x3c5cce[_0x4889ff(0x3ac)]=0x64,_0x4889ff(0x437)+_0x42e1e+'.'+_0x2541f9+_0x4889ff(0x398)+_0x42e1e+'.'+_0x2541f9+'('+_0x174acf(_0x3c5cce)+');';}}return _0x4889ff(0x35f)+_0x42e1e+'.'+_0x2541f9+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}['generateUsageExample'](_0x25da14){const _0x23d3ca=a0_0x342bd1,_0x3b441b=this[_0x23d3ca(0x3c3)](),_0xe664d1=_0x25da14||_0x23d3ca(0x45c),_0x445527=_0x23d3ca(0x1de)+_0xe664d1+'.'+_0x3b441b+_0x23d3ca(0x3a9),_0x35092c=_0x23d3ca(0x41b)+_0xe664d1+'.'+_0x3b441b+_0x23d3ca(0x1fb),_0x3ee66c={};return _0x3ee66c[_0x23d3ca(0x236)]=_0x445527,_0x3ee66c[_0x23d3ca(0x3f3)]=_0x35092c,_0x3ee66c;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x55dcd9=a0_0x342bd1;return this[_0x55dcd9(0x431)]();}['getRequestParams'](){const _0x1c84f5=a0_0x342bd1,_0x1e34a6=this['getUpdateFields'](),_0x1ffea9={};_0x1ffea9[_0x1c84f5(0x399)]=_0x1c84f5(0x42e),_0x1ffea9[_0x1c84f5(0x1ca)]=_0x1c84f5(0x1d7),_0x1ffea9[_0x1c84f5(0x22c)]=!![];const _0x339dac={};_0x339dac['type']='object',_0x339dac['description']='要更新的字段数据对象',_0x339dac[_0x1c84f5(0x22c)]=!![],_0x339dac[_0x1c84f5(0x395)]=_0x1e34a6;const _0x2d4938={};return _0x2d4938['id']=_0x1ffea9,_0x2d4938[_0x1c84f5(0x24c)]=_0x339dac,_0x2d4938;}[a0_0x342bd1(0x1ae)](){const _0x48bd21=a0_0x342bd1;return this[_0x48bd21(0x307)]();}[a0_0x342bd1(0x2eb)](){const _0x4609f2=a0_0x342bd1,_0x5bc5e0=this[_0x4609f2(0x244)][_0x4609f2(0x202)]||[],_0x3db044=this['context'][_0x4609f2(0x2ab)],_0x3097c1=_0x5bc5e0[_0x4609f2(0x396)](_0x9dae87=>_0x9dae87[_0x4609f2(0x353)]()||_0x9dae87[_0x4609f2(0x2bd)]===_0x3db044),_0x3cfcac=_0x5bc5e0[_0x4609f2(0x282)](_0x3138d4=>{const _0x1a4cca=_0x4609f2;if(_0x3138d4[_0x1a4cca(0x331)])return![];if(_0x3138d4===_0x3097c1||_0x3138d4['isPrimaryKey']())return![];if(_0x3138d4['isCreateTime']()||_0x3138d4[_0x1a4cca(0x402)]())return![];if(_0x3138d4[_0x1a4cca(0x31c)]())return![];return!![];});return _0x3097c1?[_0x3097c1,..._0x3cfcac]:_0x3cfcac;}[a0_0x342bd1(0x22a)](){const _0x14c5de=a0_0x342bd1,_0x12cc17=this[_0x14c5de(0x2eb)](),_0x38c0e7=this[_0x14c5de(0x244)][_0x14c5de(0x2ab)],_0x2de22d=_0x12cc17[_0x14c5de(0x2bc)](_0x1369f8=>{const _0x5d59b3=_0x14c5de,_0x558aae=_0x1369f8['isPrimaryKey']()||_0x1369f8[_0x5d59b3(0x2bd)]===_0x38c0e7,_0x4dd68d=_0x558aae?'id':_0x1369f8['code'],_0x36f2bd={};return _0x36f2bd[_0x5d59b3(0x351)]=_0x4dd68d,_0x36f2bd[_0x5d59b3(0x399)]=_0x1369f8[_0x5d59b3(0x399)],_0x36f2bd[_0x5d59b3(0x1ca)]=_0x558aae?'主键,用于定位要更新的记录'+(_0x38c0e7&&_0x38c0e7!==_0x1369f8['code']?_0x5d59b3(0x419)+_0x1369f8[_0x5d59b3(0x2bd)]+')':''):_0x1369f8[_0x5d59b3(0x1ca)]||_0x1369f8[_0x5d59b3(0x351)],_0x36f2bd;}),_0x310c6e={};return _0x310c6e[_0x14c5de(0x1ca)]=_0x14c5de(0x290),_0x310c6e[_0x14c5de(0x2af)]=_0x2de22d,_0x310c6e;}['getRequestParamsDocInfo'](){const _0x28ee30=a0_0x342bd1,_0x1122ef=this['getUpdateFields'](),_0x2239c0=Object['entries'](_0x1122ef)[_0x28ee30(0x2bc)](([_0x208b24,_0x58011f])=>{const _0x2e346c=_0x28ee30,_0x3293cb=_0x58011f,_0x3d8689={};return _0x3d8689[_0x2e346c(0x351)]=_0x208b24,_0x3d8689['type']=_0x3293cb[_0x2e346c(0x399)]||_0x2e346c(0x36d),_0x3d8689[_0x2e346c(0x1ca)]=_0x3293cb['description']||'-',_0x3d8689;}),_0x5c2733={};return _0x5c2733[_0x28ee30(0x1ca)]='update\x20接口接受两个参数:\x0a\x0a'+_0x28ee30(0x2ce)+_0x28ee30(0x3a4)+'**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a'+_0x28ee30(0x1fe)+'**可更新的字段列表:**',_0x5c2733[_0x28ee30(0x2af)]=_0x2239c0,_0x5c2733;}[a0_0x342bd1(0x2c9)](){const _0x552f94=a0_0x342bd1,_0x2804d7=this['getUpdateFields'](),_0x2e5261={};Object[_0x552f94(0x241)](_0x2804d7)['forEach'](([_0x3acea3,_0x34186e])=>{const _0x517aff=_0x552f94,_0x458a37=_0x34186e;let _0x5207ca;if(typeof _0x458a37[_0x517aff(0x399)]===_0x517aff(0x3d2))_0x5207ca=_0x458a37[_0x517aff(0x399)];else _0x458a37[_0x517aff(0x399)]&&typeof _0x458a37[_0x517aff(0x399)]===_0x517aff(0x1eb)?_0x5207ca=_0x458a37[_0x517aff(0x399)][_0x517aff(0x399)]||_0x517aff(0x2f1):_0x5207ca='TEXT';const _0x5f07bd=_0x458a37[_0x517aff(0x1ca)],_0x3172c6=this['getFieldDefinition'](_0x3acea3);_0x2e5261[_0x3acea3]=this['generateFieldExample'](_0x3acea3,_0x5207ca,_0x3172c6?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x5f07bd||_0x3172c6?.[_0x517aff(0x1ca)]||_0x3172c6?.[_0x517aff(0x351)]});});const _0x550c2f={};return _0x550c2f['id']=0x1,_0x550c2f[_0x552f94(0x24c)]=_0x2e5261,_0x550c2f;}[a0_0x342bd1(0x28e)](){const _0x1f4cd7=a0_0x342bd1,_0x3f00e9=this['generateRequestExample'](),_0x5dbbd7={};return _0x5dbbd7[_0x1f4cd7(0x254)]='SDK\x20调用示例(两参数格式)',_0x5dbbd7['description']=_0x1f4cd7(0x1d9)+_0x1f4cd7(0x412)+_0x1f4cd7(0x3ce),_0x5dbbd7['data']=_0x3f00e9,[_0x5dbbd7,{'title':_0x1f4cd7(0x41f),'description':_0x1f4cd7(0x1bb)+_0x1f4cd7(0x27c)+'-\x20其他要更新的字段直接平铺在同一层级','data':this[_0x1f4cd7(0x38d)]()}];}[a0_0x342bd1(0x38d)](){const _0x16554f=a0_0x342bd1,_0x30b529=this[_0x16554f(0x307)](),_0x14f53c={};_0x14f53c['id']=0x1;const _0x5943dc=_0x14f53c;return Object[_0x16554f(0x241)](_0x30b529)[_0x16554f(0x40c)](([_0x2f67a1,_0x1f0b1b])=>{const _0x18b154=_0x16554f,_0x3bd656=_0x1f0b1b;let _0x265c97;if(typeof _0x3bd656['type']===_0x18b154(0x3d2))_0x265c97=_0x3bd656[_0x18b154(0x399)];else _0x3bd656[_0x18b154(0x399)]&&typeof _0x3bd656[_0x18b154(0x399)]==='object'?_0x265c97=_0x3bd656['type'][_0x18b154(0x399)]||_0x18b154(0x2f1):_0x265c97='TEXT';const _0x5ac00a=_0x3bd656['description'],_0x27dc92=this['getFieldDefinition'](_0x2f67a1);if(_0x27dc92?.['isPrimaryKey']())return;_0x5943dc[_0x2f67a1]=this['generateFieldExample'](_0x2f67a1,_0x265c97,_0x27dc92?.[_0x18b154(0x31d)](),{'isPrimaryKey':![],'description':_0x5ac00a||_0x27dc92?.['description']||_0x27dc92?.[_0x18b154(0x351)]});}),_0x5943dc;}['generateHTTPExample'](){return this['generateHTTPRequestExample']();}[a0_0x342bd1(0x1b3)](_0x25b45a,_0x149280){const _0x557949=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x149280||{},_0x252602=this['getName']();if(useFullExample){const _0x3b15b8=this['generateRequestExample'](),_0x39d9de=JSON[_0x557949(0x301)](_0x3b15b8[_0x557949(0x24c)],null,0x2)[_0x557949(0x257)]('\x0a')['map']((_0x4110ad,_0x13758c)=>_0x13758c===0x0?_0x4110ad:indent+_0x4110ad)[_0x557949(0x314)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x25b45a+'.'+_0x252602+'('+_0x3b15b8['id']+',\x20'+_0x39d9de+');';}return'const\x20result\x20=\x20await\x20client.models.'+_0x25b45a+'.'+_0x252602+_0x557949(0x3ff);}}class AggregateOperation extends GenericOperation{constructor(_0xb2758,_0x465a1a,_0x12d715){super(_0xb2758,_0x465a1a,_0x12d715);}[a0_0x342bd1(0x253)](_0x5de3d4){const _0xa97bff=a0_0x342bd1;return _0x5de3d4[_0xa97bff(0x36e)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0xa97bff(0x266)]()[_0xa97bff(0x2b5)]();}[a0_0x342bd1(0x37e)](){return AGGREGATE_FUNCTIONS;}[a0_0x342bd1(0x3c0)](){const _0x20de02=a0_0x342bd1,_0x47541a=super[_0x20de02(0x3c0)](),_0x3aa962={};_0x3aa962[_0x20de02(0x399)]=_0x20de02(0x1ee),_0x3aa962[_0x20de02(0x1ca)]=_0x20de02(0x36b),_0x3aa962[_0x20de02(0x22c)]=![];const _0x45ea91={};_0x45ea91[_0x20de02(0x399)]=_0x20de02(0x3ba),_0x45ea91['description']=_0x20de02(0x27f),_0x45ea91[_0x20de02(0x22c)]=![];const _0x1be6c1={};_0x1be6c1[_0x20de02(0x399)]=_0x20de02(0x1ee),_0x1be6c1[_0x20de02(0x1ca)]=_0x20de02(0x294),_0x1be6c1['required']=![];const _0x315d06={};_0x315d06[_0x20de02(0x399)]=_0x20de02(0x421),_0x315d06[_0x20de02(0x1ca)]='聚合函数配置数组',_0x315d06['required']=![];const _0x5c91cc={};_0x5c91cc[_0x20de02(0x399)]=_0x20de02(0x421),_0x5c91cc[_0x20de02(0x1ca)]=_0x20de02(0x1f4),_0x5c91cc[_0x20de02(0x22c)]=![];const _0xf1a55f={};_0xf1a55f['type']=_0x20de02(0x421),_0xf1a55f[_0x20de02(0x1ca)]=_0x20de02(0x444),_0xf1a55f[_0x20de02(0x22c)]=![];const _0x53d87f={};_0x53d87f[_0x20de02(0x399)]=_0x20de02(0x464),_0x53d87f['description']=_0x20de02(0x3bf),_0x53d87f[_0x20de02(0x22c)]=![];const _0x42e60e={};_0x42e60e[_0x20de02(0x399)]=_0x20de02(0x464),_0x42e60e['description']='每页数量(默认:\x2020)',_0x42e60e['required']=![];const _0x28f807={..._0x47541a};return _0x28f807[_0x20de02(0x438)]=_0x3aa962,_0x28f807['where']=_0x45ea91,_0x28f807[_0x20de02(0x383)]=_0x1be6c1,_0x28f807[_0x20de02(0x268)]=_0x315d06,_0x28f807[_0x20de02(0x3a5)]=_0x5c91cc,_0x28f807[_0x20de02(0x1f5)]=_0xf1a55f,_0x28f807[_0x20de02(0x401)]=_0x53d87f,_0x28f807[_0x20de02(0x3ac)]=_0x42e60e,_0x28f807;}['getSystemFields'](){const _0x237232=a0_0x342bd1,_0x221f2b={};_0x221f2b[_0x237232(0x2bd)]='select',_0x221f2b[_0x237232(0x399)]='String[]',_0x221f2b['description']=_0x237232(0x36b);const _0x21e8f5={};_0x21e8f5[_0x237232(0x2bd)]=_0x237232(0x2df),_0x21e8f5[_0x237232(0x399)]=_0x237232(0x3ba),_0x21e8f5['description']=_0x237232(0x27f);const _0x22d0d7={};_0x22d0d7['code']=_0x237232(0x383),_0x22d0d7[_0x237232(0x399)]=_0x237232(0x1ee),_0x22d0d7['description']=_0x237232(0x294);const _0x49eead={};_0x49eead[_0x237232(0x2bd)]='aggregate',_0x49eead[_0x237232(0x399)]=_0x237232(0x421),_0x49eead[_0x237232(0x1ca)]=_0x237232(0x35b);const _0x3394d0={};_0x3394d0['code']=_0x237232(0x3a5),_0x3394d0[_0x237232(0x399)]='Array',_0x3394d0[_0x237232(0x1ca)]=_0x237232(0x1f4);const _0x2ebc68={};_0x2ebc68[_0x237232(0x2bd)]=_0x237232(0x1f5),_0x2ebc68['type']=_0x237232(0x421),_0x2ebc68['description']=_0x237232(0x444);const _0x28df2a={};_0x28df2a[_0x237232(0x2bd)]=_0x237232(0x401),_0x28df2a['type']='Number',_0x28df2a[_0x237232(0x1ca)]='当前页码(从\x201\x20开始,默认:\x201)';const _0x350f03={};return _0x350f03[_0x237232(0x2bd)]=_0x237232(0x3ac),_0x350f03[_0x237232(0x399)]=_0x237232(0x464),_0x350f03[_0x237232(0x1ca)]=_0x237232(0x288),[_0x221f2b,_0x21e8f5,_0x22d0d7,_0x49eead,_0x3394d0,_0x2ebc68,_0x28df2a,_0x350f03];}[a0_0x342bd1(0x2c9)](){const _0xa269ac=a0_0x342bd1,_0x35b129=this[_0xa269ac(0x244)][_0xa269ac(0x202)]||[];if(_0x35b129[_0xa269ac(0x345)]===0x0){const _0xe1e7d6={};return _0xe1e7d6[_0xa269ac(0x2df)]={},_0xe1e7d6[_0xa269ac(0x383)]=[],_0xe1e7d6[_0xa269ac(0x268)]=[],_0xe1e7d6;}const _0xd275c8={},_0xdf3751=_0x35b129[_0xa269ac(0x3eb)](0x0,Math['min'](0x3,_0x35b129[_0xa269ac(0x345)]));_0xdf3751['forEach'](_0x131800=>{const _0x26c7ff=_0xa269ac,_0x1fce74=this[_0x26c7ff(0x2c8)](_0x131800);if(_0x1fce74['length']===0x0)return;const _0xf0f46e=this[_0x26c7ff(0x2fb)](_0x131800,_0x1fce74),_0x470bd1=this[_0x26c7ff(0x2fd)](_0x131800,_0xf0f46e),_0x4ee50d={};_0x4ee50d[_0xf0f46e]=_0x470bd1,_0xd275c8[_0x131800[_0x26c7ff(0x2bd)]]=_0x4ee50d;});const _0x3b8d21=_0x35b129[_0xa269ac(0x3eb)](0x0,Math[_0xa269ac(0x1e8)](0x2,_0x35b129[_0xa269ac(0x345)]))[_0xa269ac(0x2bc)](_0x4f6e29=>_0x4f6e29['code']),_0xffd573=[],_0x1ce4c7=_0x35b129[_0xa269ac(0x282)](_0x2c747f=>this[_0xa269ac(0x248)](_0x2c747f));if(_0x1ce4c7[_0xa269ac(0x345)]>0x0){const _0x5b3123=_0x1ce4c7[0x0],_0x266073=_0x5b3123[_0xa269ac(0x2bd)],_0x5c07d4={};_0x5c07d4[_0xa269ac(0x399)]=_0xa269ac(0x32a),_0x5c07d4[_0xa269ac(0x299)]=_0x266073,_0x5c07d4[_0xa269ac(0x347)]=_0x266073+_0xa269ac(0x3b1),_0x5c07d4[_0xa269ac(0x1ff)]=![],_0x5c07d4[_0xa269ac(0x1c9)]=!![],_0x5c07d4['precision']=0x2,_0xffd573[_0xa269ac(0x37b)](_0x5c07d4);const _0x5a7d2d={};_0x5a7d2d['type']=_0xa269ac(0x32f),_0x5a7d2d[_0xa269ac(0x299)]=_0x266073,_0x5a7d2d['alias']=_0x266073+_0xa269ac(0x37c),_0x5a7d2d['distinct']=![],_0x5a7d2d[_0xa269ac(0x1c9)]=!![],_0x5a7d2d[_0xa269ac(0x24d)]=0x2,_0xffd573[_0xa269ac(0x37b)](_0x5a7d2d);const _0x7b7564={};_0x7b7564[_0xa269ac(0x399)]=_0xa269ac(0x3fc),_0x7b7564[_0xa269ac(0x299)]=_0x266073,_0x7b7564[_0xa269ac(0x347)]=_0x266073+'_max',_0x7b7564['distinct']=![],_0x7b7564['round']=!![],_0x7b7564[_0xa269ac(0x24d)]=0x2,_0xffd573['push'](_0x7b7564);const _0x2e815f={};_0x2e815f[_0xa269ac(0x399)]=_0xa269ac(0x1e8),_0x2e815f[_0xa269ac(0x299)]=_0x266073,_0x2e815f[_0xa269ac(0x347)]=_0x266073+_0xa269ac(0x210),_0x2e815f['distinct']=![],_0x2e815f[_0xa269ac(0x1c9)]=!![],_0x2e815f['precision']=0x2,_0xffd573[_0xa269ac(0x37b)](_0x2e815f);}else{if(_0x35b129[_0xa269ac(0x345)]>0x0){const _0x43276a=_0x35b129[0x0],_0x3f0724=_0x43276a[_0xa269ac(0x2bd)],_0x10620c={};_0x10620c[_0xa269ac(0x399)]='count',_0x10620c['column']=_0x3f0724,_0x10620c[_0xa269ac(0x347)]='total_count',_0x10620c[_0xa269ac(0x1ff)]=!![],_0xffd573['push'](_0x10620c);}}const _0x56552=[];if(_0x35b129[_0xa269ac(0x345)]>0x0){const _0x5779d2=_0x35b129[0x0][_0xa269ac(0x2bd)],_0x690c09={};_0x690c09[_0x5779d2]=_0xa269ac(0x24a),_0x56552[_0xa269ac(0x37b)](_0x690c09);}const _0x66457a=[..._0x3b8d21,..._0xffd573['map'](_0x163608=>_0x163608[_0xa269ac(0x347)])],_0x297167=[];if(_0xffd573[_0xa269ac(0x345)]>0x0){const _0x1cee9e={};_0x1cee9e[_0xa269ac(0x2be)]=0x0;const _0x32b8eb={};_0x32b8eb[_0xa269ac(0x230)]=_0xffd573[0x0][_0xa269ac(0x347)],_0x32b8eb[_0xa269ac(0x212)]=_0x1cee9e,_0x297167[_0xa269ac(0x37b)](_0x32b8eb);}const _0x1eed95={};return _0x1eed95[_0xa269ac(0x438)]=_0x66457a,_0x1eed95[_0xa269ac(0x2df)]=_0xd275c8,_0x1eed95[_0xa269ac(0x383)]=_0x3b8d21,_0x1eed95[_0xa269ac(0x268)]=_0xffd573,_0x1eed95[_0xa269ac(0x3a5)]=_0x297167[_0xa269ac(0x345)]>0x0?_0x297167:undefined,_0x1eed95[_0xa269ac(0x1f5)]=_0x56552,_0x1eed95['currentPage']=0x1,_0x1eed95[_0xa269ac(0x3ac)]=0x14,_0x1eed95;}['generateSDKCallCode'](_0x47c357,_0x4305d9){const _0x54d402=a0_0x342bd1,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4305d9||{},_0x2ae87f=this[_0x54d402(0x3c3)](),_0x476d97=this['generateRequestExample'](),_0x2139f9=_0x11677c=>{const _0x161236=_0x54d402;return JSON[_0x161236(0x301)](_0x11677c,null,0x2)[_0x161236(0x257)]('\x0a')['map']((_0x3c99a6,_0x211c99)=>_0x211c99===0x0?_0x3c99a6:indent+_0x3c99a6)[_0x161236(0x314)]('\x0a');};if(useFullExample){const _0x3f5fa3=this[_0x54d402(0x244)][_0x54d402(0x202)]||[],_0x5c6576=_0x3f5fa3[_0x54d402(0x282)](_0x2eab67=>this[_0x54d402(0x248)](_0x2eab67)),_0x4b6e1d={'where':_0x3f5fa3[0x0]?{[_0x3f5fa3[0x0]['code']]:{'$eq':this[_0x54d402(0x2fd)](_0x3f5fa3[0x0],'$eq')}}:{},'aggregate':_0x5c6576['length']>0x0?[{'type':'sum','column':_0x5c6576[0x0][_0x54d402(0x2bd)],'alias':_0x5c6576[0x0][_0x54d402(0x2bd)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':'count','column':_0x3f5fa3[0x0][_0x54d402(0x2bd)],'alias':_0x54d402(0x21f),'distinct':!![]}],'orderBy':[{[_0x3f5fa3[0x0][_0x54d402(0x2bd)]]:'desc'}]};let _0x3928fc='';return _0x3f5fa3[_0x54d402(0x345)]>=0x3&&(_0x3928fc=_0x54d402(0x1e0)+_0x47c357+'.'+_0x2ae87f+'('+_0x2139f9(_0x476d97)+');'),_0x54d402(0x3cd)+_0x47c357+'.'+_0x2ae87f+'('+_0x2139f9(_0x4b6e1d)+');'+_0x3928fc;}const _0x2c1b71=JSON[_0x54d402(0x301)](_0x476d97,null,0x2)[_0x54d402(0x257)]('\x0a')[_0x54d402(0x2bc)]((_0x104f33,_0x25b21e)=>_0x25b21e===0x0?_0x104f33:indent+_0x104f33)['join']('\x0a');return _0x54d402(0x20f)+_0x47c357+'.'+_0x2ae87f+'('+_0x2c1b71+');';}[a0_0x342bd1(0x248)](_0x282541){const _0x394320=a0_0x342bd1,_0x4d15a3=_0x282541[_0x394320(0x31d)]();return[_0x394320(0x42e),'INTEGER','BIGINT','DECIMAL'][_0x394320(0x461)](_0x4d15a3)||[_0x394320(0x336),_0x394320(0x2d7),'SMALLINT',_0x394320(0x21d),_0x394320(0x44a)][_0x394320(0x461)](_0x4d15a3);}[a0_0x342bd1(0x2c8)](_0x188230){const _0x21749c=a0_0x342bd1,_0x4ed0e8=_0x188230['getDbTypeForOperation'](),_0x4f6bbc=[];if([_0x21749c(0x42e),_0x21749c(0x232),_0x21749c(0x39a),_0x21749c(0x349)][_0x21749c(0x461)](_0x4ed0e8)||[_0x21749c(0x336),_0x21749c(0x2d7),_0x21749c(0x2d9),_0x21749c(0x21d),_0x21749c(0x44a)][_0x21749c(0x461)](_0x4ed0e8))_0x4f6bbc[_0x21749c(0x37b)]('$eq',_0x21749c(0x428),'$gte','$lte',_0x21749c(0x2a4),'$lteq',_0x21749c(0x46a));else{if(['STRING',_0x21749c(0x2f1),_0x21749c(0x355)]['includes'](_0x4ed0e8)||[_0x21749c(0x407),_0x21749c(0x387)][_0x21749c(0x461)](_0x4ed0e8))_0x4f6bbc[_0x21749c(0x37b)](_0x21749c(0x1e5),_0x21749c(0x428),'$in','$contain','$startWith','$endWith');else{if([_0x21749c(0x3db),_0x21749c(0x302),_0x21749c(0x1da)][_0x21749c(0x461)](_0x4ed0e8)||[_0x21749c(0x1c4)][_0x21749c(0x461)](_0x4ed0e8))_0x4f6bbc['push'](_0x21749c(0x1e5),'$ne',_0x21749c(0x2be),_0x21749c(0x380),_0x21749c(0x2a4),_0x21749c(0x35d));else[_0x21749c(0x2de),_0x21749c(0x43a),'BIT'][_0x21749c(0x461)](_0x4ed0e8)?_0x4f6bbc['push'](_0x21749c(0x1e5),'$ne'):_0x4f6bbc[_0x21749c(0x37b)]('$eq','$ne');}}return _0x4f6bbc;}[a0_0x342bd1(0x2fb)](_0x22c328,_0x394543){const _0x40e825=a0_0x342bd1,_0x2ed9a2=_0x22c328['getDbTypeForOperation']();if([_0x40e825(0x42e),_0x40e825(0x232),_0x40e825(0x39a),_0x40e825(0x349)][_0x40e825(0x461)](_0x2ed9a2)||[_0x40e825(0x336),_0x40e825(0x2d7),_0x40e825(0x2d9),_0x40e825(0x21d),_0x40e825(0x44a)]['includes'](_0x2ed9a2))return _0x394543['includes'](_0x40e825(0x2be))?'$gte':'$eq';if([_0x40e825(0x388),_0x40e825(0x2f1),'VARCHAR']['includes'](_0x2ed9a2)||[_0x40e825(0x407),_0x40e825(0x387)][_0x40e825(0x461)](_0x2ed9a2))return _0x394543['includes'](_0x40e825(0x313))?'$contain':'$eq';if([_0x40e825(0x3db),'DATETIME',_0x40e825(0x1da),_0x40e825(0x1c4)][_0x40e825(0x461)](_0x2ed9a2))return _0x394543[_0x40e825(0x461)]('$gte')?_0x40e825(0x2be):_0x40e825(0x1e5);return _0x40e825(0x1e5);}[a0_0x342bd1(0x2fd)](_0x38c9f0,_0xa4c874){const _0x422d31=a0_0x342bd1,_0x219de0=_0x38c9f0[_0x422d31(0x31d)](),_0x234c8b=_0x38c9f0[_0x422d31(0x3ad)]();if(_0x234c8b&&_0x234c8b[_0x422d31(0x345)]>0x0){if(_0xa4c874==='$in')return _0x234c8b[_0x422d31(0x3eb)](0x0,0x2)[_0x422d31(0x2bc)](_0x172d73=>_0x172d73[_0x422d31(0x3d9)]);return _0x234c8b[0x0]['value'];}if([_0x422d31(0x42e),'INTEGER','BIGINT','DECIMAL'][_0x422d31(0x461)](_0x219de0)||[_0x422d31(0x336),'TINYINT',_0x422d31(0x2d9),_0x422d31(0x21d),_0x422d31(0x44a)][_0x422d31(0x461)](_0x219de0)){if(_0xa4c874===_0x422d31(0x46a))return[0x1,0x2,0x3];if(_0xa4c874===_0x422d31(0x2be)||_0xa4c874==='$gteq')return 0x0;if(_0xa4c874==='$lte'||_0xa4c874==='$lteq')return 0x64;return 0x1;}if([_0x422d31(0x388),_0x422d31(0x2f1),_0x422d31(0x355)]['includes'](_0x219de0)||['CHAR',_0x422d31(0x387)]['includes'](_0x219de0)){if(_0xa4c874==='$in')return['value1',_0x422d31(0x1ec)];if(_0xa4c874===_0x422d31(0x313))return _0x422d31(0x426);if(_0xa4c874===_0x422d31(0x3e7))return _0x422d31(0x1ba);if(_0xa4c874==='$endWith')return _0x422d31(0x369);return _0x422d31(0x3d9);}if([_0x422d31(0x3db),_0x422d31(0x302),_0x422d31(0x1da),_0x422d31(0x1c4)][_0x422d31(0x461)](_0x219de0)){if(_0xa4c874===_0x422d31(0x2be)||_0xa4c874===_0x422d31(0x2a4))return _0x422d31(0x308);if(_0xa4c874===_0x422d31(0x380)||_0xa4c874===_0x422d31(0x35d))return _0x422d31(0x3cc);return _0x422d31(0x308);}if(['BOOLEAN',_0x422d31(0x43a),_0x422d31(0x37d)]['includes'](_0x219de0))return!![];return _0xa4c874===_0x422d31(0x46a)?[_0x422d31(0x229),_0x422d31(0x1ec)]:_0x422d31(0x3d9);}['getRequestParamsDocInfo'](){const _0x2f128a=a0_0x342bd1,_0xd9fbd5=this[_0x2f128a(0x3c0)](),_0x443b01=Object[_0x2f128a(0x241)](_0xd9fbd5)[_0x2f128a(0x282)](([_0x55a5d])=>_0x55a5d!==_0x2f128a(0x401)&&_0x55a5d!=='pageSize')[_0x2f128a(0x2bc)](([_0x48f2f6,_0x39da80])=>{const _0x3d7691=_0x2f128a,_0x39b3ff=_0x39da80,_0x11fd7f={};return _0x11fd7f[_0x3d7691(0x351)]=_0x48f2f6,_0x11fd7f['type']=_0x39b3ff['type']||_0x3d7691(0x36d),_0x11fd7f[_0x3d7691(0x1ca)]=_0x39b3ff['description']||'-',_0x11fd7f[_0x3d7691(0x22c)]=_0x39b3ff['required'],_0x11fd7f;}),_0x60dc={};return _0x60dc[_0x2f128a(0x1ca)]='\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',_0x60dc['params']=_0x443b01,_0x60dc;}['generateResponseExample'](){const _0x2bf04d=a0_0x342bd1,_0x3a326f=this[_0x2bf04d(0x2c9)]()[_0x2bf04d(0x268)],_0x222846=[{}],_0x1ef250=[];_0x3a326f?.['forEach'](_0x32f393=>{const _0x527772=_0x2bf04d,_0x58e90e={};_0x58e90e['title']=_0x32f393[_0x527772(0x347)],_0x58e90e[_0x527772(0x30c)]=_0x32f393[_0x527772(0x347)],_0x1ef250[_0x527772(0x37b)](_0x58e90e),_0x222846[0x0][_0x32f393[_0x527772(0x347)]]=_0x32f393[_0x527772(0x399)]==='count'?0x64:Math['round'](Math[_0x527772(0x2b3)]()*0x64*0x64)/0x64;});const _0x5cec4c={};_0x5cec4c[_0x2bf04d(0x3ac)]=0x1,_0x5cec4c['totalCount']=0x64,_0x5cec4c[_0x2bf04d(0x401)]=0x1;const _0x27df85={};_0x27df85['paging']=_0x5cec4c,_0x27df85[_0x2bf04d(0x1bd)]=_0x222846,_0x27df85[_0x2bf04d(0x32e)]=_0x1ef250;const _0x2489aa={};return _0x2489aa[_0x2bf04d(0x284)]=!![],_0x2489aa[_0x2bf04d(0x2c4)]='',_0x2489aa[_0x2bf04d(0x291)]='',_0x2489aa[_0x2bf04d(0x3f3)]='0000',_0x2489aa['data']=_0x27df85,_0x2489aa[_0x2bf04d(0x2af)]=null,_0x2489aa;}}class OperationFactory{[a0_0x342bd1(0x34f)](_0x1f163c,_0x48be34,_0x2a5c2e){const _0x3cfbb9=a0_0x342bd1;switch(_0x1f163c){case _0x3cfbb9(0x205):return new GetSelectOptionsOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case'getList':return new GetListOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case _0x3cfbb9(0x282):return new FilterOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case _0x3cfbb9(0x271):return new ExcelExportOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case'update':return new UpdateOperation(_0x1f163c,_0x48be34,_0x2a5c2e);case _0x3cfbb9(0x268):return new AggregateOperation(_0x1f163c,_0x48be34,_0x2a5c2e);default:return new GenericOperation(_0x1f163c,_0x48be34,_0x2a5c2e);}}[a0_0x342bd1(0x333)](_0x2714f4,_0x10ae10){const _0x104906=a0_0x342bd1,_0x452ab3=new Map();return Object[_0x104906(0x241)](_0x2714f4)['forEach'](([_0x20afd8,_0x290ed6])=>{const _0x394f1e=_0x104906;_0x452ab3[_0x394f1e(0x3a0)](_0x20afd8,this['create'](_0x20afd8,_0x290ed6,_0x10ae10));}),_0x452ab3;}}class OperationList{[a0_0x342bd1(0x2c5)];constructor(_0xfbdf9b,_0x24a9c8){const _0x454b7a=new OperationFactory();this['_operations']=_0x454b7a['createAll'](_0xfbdf9b,_0x24a9c8);}[a0_0x342bd1(0x394)](_0x5ed0f1){const _0x37b532=a0_0x342bd1;return this['_operations'][_0x37b532(0x394)](_0x5ed0f1);}['has'](_0x40ddd5){const _0x37e9d4=a0_0x342bd1;return this[_0x37e9d4(0x2c5)][_0x37e9d4(0x2a1)](_0x40ddd5);}[a0_0x342bd1(0x1b1)](){const _0xa8876a=a0_0x342bd1;return this[_0xa8876a(0x2c5)][_0xa8876a(0x1b1)];}[a0_0x342bd1(0x33b)](){const _0x385142=a0_0x342bd1;return Array[_0x385142(0x30f)](this[_0x385142(0x2c5)][_0x385142(0x1ea)]());}[a0_0x342bd1(0x3bd)](){const _0x4bea62=a0_0x342bd1,_0x45de67=Array[_0x4bea62(0x30f)](this[_0x4bea62(0x2c5)][_0x4bea62(0x31e)]());return this[_0x4bea62(0x3a1)](_0x45de67);}[a0_0x342bd1(0x384)](){const _0x57c333=a0_0x342bd1;return this[_0x57c333(0x3bd)]()[_0x57c333(0x282)](_0x9508e6=>_0x9508e6['isEnabled']());}[a0_0x342bd1(0x206)](){const _0x2c7d52=a0_0x342bd1;return this[_0x2c7d52(0x3bd)]()['filter'](_0x1b40b1=>!_0x1b40b1[_0x2c7d52(0x2f2)]());}['getEnabledNames'](){const _0x21e1ff=a0_0x342bd1;return this[_0x21e1ff(0x384)]()[_0x21e1ff(0x2bc)](_0x6aa026=>_0x6aa026[_0x21e1ff(0x3c3)]());}[a0_0x342bd1(0x454)](){const _0x7f2f98=a0_0x342bd1;return this[_0x7f2f98(0x206)]()[_0x7f2f98(0x2bc)](_0x1bc827=>_0x1bc827[_0x7f2f98(0x3c3)]());}[a0_0x342bd1(0x359)](_0x109656){const _0x3338c7=a0_0x342bd1;return this[_0x3338c7(0x3bd)]()['filter'](_0x148503=>_0x148503[_0x3338c7(0x2a0)]()===_0x109656);}['filter'](_0x38675a){const _0x1e71ec=a0_0x342bd1;return this[_0x1e71ec(0x3bd)]()[_0x1e71ec(0x282)](_0x38675a);}[a0_0x342bd1(0x365)](_0x48a32e={}){const _0x446d8a=a0_0x342bd1;let _0x3ba5e9=this[_0x446d8a(0x3bd)]();!_0x48a32e[_0x446d8a(0x433)]&&(_0x3ba5e9=_0x3ba5e9[_0x446d8a(0x282)](_0x3a5a64=>_0x3a5a64[_0x446d8a(0x2f2)]()));if(_0x48a32e[_0x446d8a(0x3be)]!==![]){const _0x183ac0=_0x3ba5e9['map'](_0x64f4ee=>({'name':_0x64f4ee[_0x446d8a(0x3c3)](),'operation':_0x64f4ee})),_0x2bb5a8=filterApiOperations(_0x183ac0);_0x3ba5e9=_0x2bb5a8[_0x446d8a(0x2bc)](_0x57965c=>_0x57965c['operation']),_0x3ba5e9=this[_0x446d8a(0x3a1)](_0x3ba5e9);}return _0x48a32e['customFilter']&&(_0x3ba5e9=_0x3ba5e9[_0x446d8a(0x282)](_0x48a32e[_0x446d8a(0x251)])),_0x3ba5e9;}[a0_0x342bd1(0x3a1)](_0x38f0b4){const _0x3afdef=a0_0x342bd1,_0x33390b=_0x38f0b4['find'](_0x1b939c=>_0x1b939c[_0x3afdef(0x3c3)]()===_0x3afdef(0x282)),_0x55c99f=_0x38f0b4['filter'](_0x419418=>_0x419418['getName']()!==_0x3afdef(0x282));return _0x33390b?[_0x33390b,..._0x55c99f]:_0x55c99f;}[a0_0x342bd1(0x1cb)](){const _0x403bf7=a0_0x342bd1,_0x4ab785=this[_0x403bf7(0x384)]();return{'total':this['size'](),'enabled':_0x4ab785[_0x403bf7(0x345)],'disabled':this['size']()-_0x4ab785['length'],'byType':this[_0x403bf7(0x2a8)](_0x4ab785),'byMethod':this['getCountByMethod'](_0x4ab785)};}[a0_0x342bd1(0x2a8)](_0x8e4dd2){const _0x33b12f={};return _0x8e4dd2['forEach'](_0x7a5d70=>{const _0xa5db38=a0_0x380d,_0x551bef=_0x7a5d70[_0xa5db38(0x2a0)]();_0x551bef&&(_0x33b12f[_0x551bef]=(_0x33b12f[_0x551bef]||0x0)+0x1);}),_0x33b12f;}[a0_0x342bd1(0x3a7)](_0x6f0a87){const _0x136622={};return _0x6f0a87['forEach'](_0x2fb759=>{const _0x5e6b58=a0_0x380d,_0x426b82=_0x2fb759[_0x5e6b58(0x38b)]();_0x426b82&&(_0x136622[_0x426b82]=(_0x136622[_0x426b82]||0x0)+0x1);}),_0x136622;}[Symbol[a0_0x342bd1(0x24b)]](){const _0x56a341=a0_0x342bd1;return this[_0x56a341(0x2c5)][_0x56a341(0x31e)]();}[a0_0x342bd1(0x279)](){const _0x229eff=a0_0x342bd1,_0x2c16e5=this[_0x229eff(0x1cb)]();return _0x229eff(0x350)+_0x2c16e5['enabled']+'/'+_0x2c16e5[_0x229eff(0x263)]+_0x229eff(0x2cc);}}class DBConfig{[a0_0x342bd1(0x43b)];[a0_0x342bd1(0x442)];['dbName'];[a0_0x342bd1(0x2e0)];[a0_0x342bd1(0x23d)];[a0_0x342bd1(0x269)];[a0_0x342bd1(0x1fd)];[a0_0x342bd1(0x2ab)];['tenantCode'];[a0_0x342bd1(0x223)];constructor(_0x5378e3,_0x450f02){const _0x4d9d38=a0_0x342bd1;this[_0x4d9d38(0x43b)]=_0x450f02,this[_0x4d9d38(0x442)]=_0x5378e3[_0x4d9d38(0x442)],this[_0x4d9d38(0x406)]=_0x5378e3[_0x4d9d38(0x406)],this[_0x4d9d38(0x2e0)]=_0x5378e3['dbType'],this['dbVersion']=_0x5378e3[_0x4d9d38(0x23d)],this[_0x4d9d38(0x269)]=_0x5378e3[_0x4d9d38(0x269)],this[_0x4d9d38(0x1fd)]=_0x5378e3[_0x4d9d38(0x1fd)],this[_0x4d9d38(0x2ab)]=_0x5378e3[_0x4d9d38(0x2ab)],this[_0x4d9d38(0x264)]=_0x5378e3['tenantCode'],this[_0x4d9d38(0x223)]=_0x5378e3[_0x4d9d38(0x223)];}[a0_0x342bd1(0x289)](){const _0x380452=a0_0x342bd1;return this[_0x380452(0x43b)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x342bd1(0x219)];[a0_0x342bd1(0x378)];[a0_0x342bd1(0x2ee)];constructor(_0x16f8ac){const _0x39ecf8=a0_0x342bd1,_0x397542={..._0x16f8ac};_0x397542['id']=_0x16f8ac[_0x39ecf8(0x470)]||_0x16f8ac['id'],_0x397542[_0x39ecf8(0x37f)]=_0x16f8ac['modelCode']||_0x16f8ac['datasetCode']||_0x16f8ac['code'],super(_0x397542);}[a0_0x342bd1(0x377)](){return;}[a0_0x342bd1(0x247)](){return[];}[a0_0x342bd1(0x451)](){return[];}get[a0_0x342bd1(0x328)](){const _0x71fdf4=a0_0x342bd1;return this[_0x71fdf4(0x2e3)]();}[a0_0x342bd1(0x28f)](){const _0xeb9668=a0_0x342bd1;if(!this['_fieldList']){const _0x48eeb8=this[_0xeb9668(0x228)]();throw new Error(_0xeb9668(0x2ec));}return this[_0xeb9668(0x378)];}[a0_0x342bd1(0x364)](){const _0x2f89e1=a0_0x342bd1;if(!this['_fieldListWithDeleted']){const _0x155772=this[_0x2f89e1(0x228)]();throw new Error(_0x2f89e1(0x3bc));}return this[_0x2f89e1(0x2ee)];}['getFields'](){return[];}[a0_0x342bd1(0x326)](){const _0x2ddda6=a0_0x342bd1,_0xcdb048=this[_0x2ddda6(0x228)]();return _0xcdb048[_0x2ddda6(0x202)];}[a0_0x342bd1(0x2ca)](){const _0x1343f2=a0_0x342bd1;return this[_0x1343f2(0x34a)]()['length'];}[a0_0x342bd1(0x2fe)](_0x3a7ff4){const _0x5c6d0e=a0_0x342bd1,_0x4cf368=this['getFieldInstance'](_0x3a7ff4);return _0x4cf368?_0x4cf368[_0x5c6d0e(0x43b)]:undefined;}[a0_0x342bd1(0x246)](_0x4bb864){return;}[a0_0x342bd1(0x3ee)](_0x4e7819){const _0x32a837=a0_0x342bd1;if(!_0x4e7819||typeof _0x4e7819!==_0x32a837(0x1eb))return!![]&&console[_0x32a837(0x1fc)](_0x32a837(0x2ea),_0x4e7819),{};if(_0x32a837(0x2ab)in _0x4e7819){const _0x99587c=_0x4e7819;return{'primaryKey':typeof _0x99587c['pkField']===_0x32a837(0x32b)?_0x99587c[_0x32a837(0x2ab)]:Boolean(_0x99587c['pkField']),'required':_0x99587c[_0x32a837(0x22c)],'systemRetain':Boolean(_0x99587c['systemRetain']),'autoIncrement':_0x99587c[_0x32a837(0x468)]??undefined};}if(!(_0x32a837(0x2f8)in _0x4e7819)||!_0x4e7819[_0x32a837(0x2f8)])return{};try{const _0x45b0e4=typeof _0x4e7819[_0x32a837(0x2f8)]===_0x32a837(0x3d2)?JSON['parse'](_0x4e7819['extend']):_0x4e7819['extend'];if(typeof _0x45b0e4!==_0x32a837(0x1eb)||_0x45b0e4===null)return{};return _0x45b0e4;}catch{return{};}}[a0_0x342bd1(0x2b0)](){const _0x25ac1e=a0_0x342bd1;if(!this[_0x25ac1e(0x219)]){const _0x5f1dae=this[_0x25ac1e(0x424)](this[_0x25ac1e(0x2d0)]()||{});this[_0x25ac1e(0x219)]=new OperationList(_0x5f1dae,{'fields':this['getFieldList']()['all'](),'pkField':this[_0x25ac1e(0x3c9)][_0x25ac1e(0x1b2)]?.[_0x25ac1e(0x2ab)],'dbtableConfig':this[_0x25ac1e(0x3c9)][_0x25ac1e(0x1b2)]||null});}return this[_0x25ac1e(0x219)];}[a0_0x342bd1(0x424)](_0x59f8c0){const _0x13a392=a0_0x342bd1;if(_0x59f8c0['filter']!==undefined)return _0x59f8c0;return{..._0x59f8c0,'filter':this[_0x13a392(0x447)]()};}['generateDefaultFilterOperation'](){const _0x56d4be=a0_0x342bd1,_0x5dd9c9=this[_0x56d4be(0x2d0)]()?.[_0x56d4be(0x3c5)];let _0x1209b3=_0x5dd9c9?.[_0x56d4be(0x3d8)],_0x1788f5='';if(!_0x1209b3&&this[_0x56d4be(0x2d0)]()){const _0x30782a=Object[_0x56d4be(0x31e)](this[_0x56d4be(0x2d0)]());for(const _0x2a8d32 of _0x30782a){if(_0x2a8d32&&typeof _0x2a8d32===_0x56d4be(0x1eb)&&'host'in _0x2a8d32){_0x1209b3=_0x2a8d32[_0x56d4be(0x3d8)];break;}}}if(_0x5dd9c9?.['path']){const _0x2f857e=_0x5dd9c9[_0x56d4be(0x361)],_0x66ec20=_0x2f857e[_0x56d4be(0x1cd)]('/');_0x66ec20!==-0x1&&(_0x1788f5=_0x2f857e[_0x56d4be(0x3ec)](0x0,_0x66ec20));}const _0x1158fe={};_0x1158fe['name']=_0x56d4be(0x2df),_0x1158fe[_0x56d4be(0x399)]=_0x56d4be(0x1eb),_0x1158fe[_0x56d4be(0x22c)]=![];const _0x25ebf4={};_0x25ebf4[_0x56d4be(0x351)]=_0x56d4be(0x438),_0x25ebf4[_0x56d4be(0x399)]='array',_0x25ebf4[_0x56d4be(0x22c)]=![];const _0x5b7593={};_0x5b7593[_0x56d4be(0x351)]=_0x56d4be(0x1f5),_0x5b7593[_0x56d4be(0x399)]=_0x56d4be(0x261),_0x5b7593[_0x56d4be(0x22c)]=![];const _0x49e073={};_0x49e073[_0x56d4be(0x351)]=_0x56d4be(0x401),_0x49e073['type']=_0x56d4be(0x44b),_0x49e073[_0x56d4be(0x22c)]=![],_0x49e073[_0x56d4be(0x348)]=0x1;const _0x5e694b={};_0x5e694b[_0x56d4be(0x351)]=_0x56d4be(0x3ac),_0x5e694b[_0x56d4be(0x399)]=_0x56d4be(0x44b),_0x5e694b['required']=![],_0x5e694b[_0x56d4be(0x348)]=0xa;const _0x431f3f={};return _0x431f3f[_0x56d4be(0x351)]=_0x56d4be(0x282),_0x431f3f['type']='query',_0x431f3f['description']=_0x56d4be(0x1af),_0x431f3f['method']='POST',_0x431f3f[_0x56d4be(0x3d8)]=_0x1209b3,_0x431f3f['path']=_0x1788f5?_0x1788f5+_0x56d4be(0x2ac):'/filter',_0x431f3f[_0x56d4be(0x2af)]=_0x5dd9c9?.[_0x56d4be(0x2af)]||[_0x1158fe,_0x25ebf4,_0x5b7593,_0x49e073,_0x5e694b],_0x431f3f[_0x56d4be(0x375)]=!![],_0x431f3f;}['getOperations'](){const _0x178b74=a0_0x342bd1;return this['getOperationList']()[_0x178b74(0x3bd)]();}[a0_0x342bd1(0x42b)](){const _0x3ac941=a0_0x342bd1;return this[_0x3ac941(0x2b0)]()[_0x3ac941(0x1b1)]();}[a0_0x342bd1(0x465)](_0x1a12e9){const _0x4ef76c=a0_0x342bd1;if(typeof _0x1a12e9!==_0x4ef76c(0x3d2)){!![]&&console[_0x4ef76c(0x1fc)](_0x4ef76c(0x1cf),_0x1a12e9);return;}return this[_0x4ef76c(0x2b0)]()[_0x4ef76c(0x394)](_0x1a12e9);}['hasOperation'](_0x59e1d4){const _0x4a88b8=a0_0x342bd1;if(typeof _0x59e1d4!=='string')return![];return this[_0x4a88b8(0x2b0)]()['has'](_0x59e1d4);}[a0_0x342bd1(0x417)](_0x32ac14){const _0x305cc4=a0_0x342bd1;if(typeof _0x32ac14!==_0x305cc4(0x3d2))return![];const _0xa7dd8b=this[_0x305cc4(0x465)](_0x32ac14);return _0xa7dd8b?.[_0x305cc4(0x2f2)]()||![];}['getEnabledOperations'](){const _0x968c20=a0_0x342bd1;return this[_0x968c20(0x2b0)]()[_0x968c20(0x40d)]();}['getDisabledOperations'](){const _0x2bdf59=a0_0x342bd1;return this[_0x2bdf59(0x2b0)]()[_0x2bdf59(0x454)]();}[a0_0x342bd1(0x30b)](){const _0x458d56=a0_0x342bd1;return this[_0x458d56(0x2b0)]()['getEnabled']();}['getDisabledOperationInstances'](){const _0x290f21=a0_0x342bd1;return this['getOperationList']()[_0x290f21(0x206)]();}['getFilteredOperations'](_0x4fa1a3={}){return this['getOperationList']()['getFiltered'](_0x4fa1a3);}[a0_0x342bd1(0x1cb)](){const _0xd9cf75=a0_0x342bd1;return{'fieldCount':this[_0xd9cf75(0x2ca)](),'systemFieldCount':this['getSystemFields']()[_0xd9cf75(0x345)],'businessFieldCount':this[_0xd9cf75(0x3fd)]()['length'],'requiredFieldCount':this['getRequiredFields']()[_0xd9cf75(0x345)],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this[_0xd9cf75(0x42b)](),'enabledOperationCount':this[_0xd9cf75(0x3b6)]()['length']};}[a0_0x342bd1(0x25a)](_0x376b9e){const _0x4a6a24=a0_0x342bd1;if(!_0x376b9e||typeof _0x376b9e!==_0x4a6a24(0x1eb))return'';if(_0x4a6a24(0x2bd)in _0x376b9e&&typeof _0x376b9e[_0x4a6a24(0x2bd)]===_0x4a6a24(0x3d2))return _0x376b9e[_0x4a6a24(0x2bd)];if(_0x4a6a24(0x351)in _0x376b9e&&typeof _0x376b9e[_0x4a6a24(0x351)]===_0x4a6a24(0x3d2))return _0x376b9e[_0x4a6a24(0x351)];return'';}[a0_0x342bd1(0x39b)](_0x55c559){const _0x697f72=a0_0x342bd1;return this[_0x697f72(0x28f)]()[_0x697f72(0x2a1)](_0x55c559);}[a0_0x342bd1(0x1c0)](_0x4ab09c){const _0x5bcecb=a0_0x342bd1;if(!_0x4ab09c||typeof _0x4ab09c!==_0x5bcecb(0x1eb))return![];const _0x1cde0c=this['getFieldCode'](_0x4ab09c),_0x235bba=this[_0x5bcecb(0x2cb)](_0x1cde0c);return _0x235bba?_0x235bba[_0x5bcecb(0x353)]():![];}[a0_0x342bd1(0x2b4)](_0x5c148d){const _0x39e1cd=a0_0x342bd1;if(!_0x5c148d||typeof _0x5c148d!=='object')return![];const _0x5bb787=this['getFieldCode'](_0x5c148d),_0x158b65=this[_0x39e1cd(0x2cb)](_0x5bb787);return _0x158b65?_0x158b65[_0x39e1cd(0x270)]():![];}[a0_0x342bd1(0x1ef)](_0x28896c){const _0x263ae3=a0_0x342bd1;if(!_0x28896c||typeof _0x28896c!=='object')return![];const _0x2e879d=this[_0x263ae3(0x25a)](_0x28896c),_0x42b351=this[_0x263ae3(0x2cb)](_0x2e879d);return _0x42b351?_0x42b351[_0x263ae3(0x303)]():![];}[a0_0x342bd1(0x346)](_0x51d871){const _0x2a8856=a0_0x342bd1;if(!_0x51d871||typeof _0x51d871!==_0x2a8856(0x1eb))return![];const _0x4dfe23=this[_0x2a8856(0x25a)](_0x51d871),_0x427d6d=this[_0x2a8856(0x2cb)](_0x4dfe23);return _0x427d6d?_0x427d6d[_0x2a8856(0x2b6)]():![];}[a0_0x342bd1(0x3f9)](_0x4a62f0){const _0x286798=a0_0x342bd1;if(!_0x4a62f0||typeof _0x4a62f0!==_0x286798(0x1eb))return![];const _0x19f06a=this[_0x286798(0x25a)](_0x4a62f0),_0x32002d=this[_0x286798(0x2cb)](_0x19f06a);return _0x32002d?_0x32002d['isMultipleSelect']():![];}['getFieldOptions'](_0xd664bf){const _0x5a4063=a0_0x342bd1;if(!_0xd664bf||typeof _0xd664bf!==_0x5a4063(0x1eb))return[];const _0x81099b=this['getFieldCode'](_0xd664bf),_0xa65556=this[_0x5a4063(0x2cb)](_0x81099b);if(!_0xa65556||!_0xa65556['isEnum']())return[];return _0xa65556[_0x5a4063(0x3ad)]()||[];}[a0_0x342bd1(0x43f)](_0x1bba45){const _0x12d0c7=a0_0x342bd1;if(!_0x1bba45||typeof _0x1bba45!==_0x12d0c7(0x1eb))return;const _0x2bac36=this[_0x12d0c7(0x25a)](_0x1bba45),_0x495244=this[_0x12d0c7(0x2cb)](_0x2bac36);if(!_0x495244||!_0x495244[_0x12d0c7(0x2b6)]())return;return _0x495244['getSelectItemsSource']();}[a0_0x342bd1(0x211)](_0x564547){const _0x4f2b69=a0_0x342bd1;if(!_0x564547||typeof _0x564547!==_0x4f2b69(0x1eb))return;const _0x1977fd=this['getFieldCode'](_0x564547),_0x5310d5=this[_0x4f2b69(0x2cb)](_0x1977fd);if(!_0x5310d5||!_0x5310d5[_0x4f2b69(0x2b6)]())return;return _0x5310d5[_0x4f2b69(0x1f0)]();}[a0_0x342bd1(0x209)](){const _0x5b2ff5=a0_0x342bd1;return this['getFieldList']()['getPrimaryKeys']()[_0x5b2ff5(0x2bc)](_0x4160ae=>_0x4160ae[_0x5b2ff5(0x43b)]);}[a0_0x342bd1(0x374)](){const _0x7d28ca=a0_0x342bd1;return this['getFieldList']()[_0x7d28ca(0x26a)]()[_0x7d28ca(0x2bc)](_0x1c44e4=>_0x1c44e4['raw']);}[a0_0x342bd1(0x3fd)](){const _0x5a49f3=a0_0x342bd1;return this[_0x5a49f3(0x28f)]()[_0x5a49f3(0x409)]()['map'](_0x189208=>_0x189208[_0x5a49f3(0x43b)]);}['getRequiredFields'](){const _0x6880ff=a0_0x342bd1;return this[_0x6880ff(0x28f)]()[_0x6880ff(0x272)]()['map'](_0x3f8eb4=>_0x3f8eb4['raw']);}[a0_0x342bd1(0x3ef)](){const _0x34a1a5=a0_0x342bd1,_0x255567=this[_0x34a1a5(0x28f)]()['groupByType'](),_0x193d9d={};for(const [_0x257948,_0x2e51e1]of Object['entries'](_0x255567)){_0x193d9d[_0x257948]=_0x2e51e1[_0x34a1a5(0x2bc)](_0xd82d3f=>_0xd82d3f[_0x34a1a5(0x43b)]);}return _0x193d9d;}['getEnumFields'](){const _0x223505=a0_0x342bd1;return this[_0x223505(0x28f)]()[_0x223505(0x46f)]()[_0x223505(0x2bc)](_0x400e77=>_0x400e77[_0x223505(0x43b)]);}[a0_0x342bd1(0x31b)](){const _0x527557=a0_0x342bd1,_0x179770={};return this[_0x527557(0x252)]()['forEach'](_0x52f75f=>{const _0x5f06e3=_0x527557,_0x2fe1a5=this[_0x5f06e3(0x211)](_0x52f75f);if(_0x2fe1a5){const _0x2bd5c6=this['getFieldCode'](_0x52f75f);_0x179770[_0x2bd5c6]=_0x2fe1a5;}}),_0x179770;}[a0_0x342bd1(0x220)](_0x2ddf39,_0x37a5da){const _0x52eba7=a0_0x342bd1,_0x47ed29=this[_0x52eba7(0x211)](_0x2ddf39);if(!_0x47ed29)return!![];if(_0x47ed29[_0x52eba7(0x45d)]&&!_0x47ed29['options'])return!![];const _0x14f5ad=this[_0x52eba7(0x25a)](_0x2ddf39),_0x2be9ad=this[_0x52eba7(0x2cb)](_0x14f5ad),_0x591b38=_0x2be9ad?_0x2be9ad['isMultipleSelect']():![];if(_0x591b38&&Array[_0x52eba7(0x200)](_0x37a5da))return _0x37a5da[_0x52eba7(0x27e)](_0x424c47=>_0x47ed29[_0x52eba7(0x31e)][_0x52eba7(0x461)](_0x424c47));return _0x47ed29[_0x52eba7(0x31e)][_0x52eba7(0x461)](_0x37a5da);}['toListItem'](){const _0x9e8d80=a0_0x342bd1;return new DatasetItem({'id':this['id'],'name':this[_0x9e8d80(0x351)],'datasetCode':this[_0x9e8d80(0x37f)],'dbtableConfig':this[_0x9e8d80(0x304)]()});}[a0_0x342bd1(0x279)](){const _0x5f4db9=a0_0x342bd1;return _0x5f4db9(0x3ab)+this[_0x5f4db9(0x351)]+',\x20'+this[_0x5f4db9(0x37f)]+',\x20'+this[_0x5f4db9(0x2ca)]()+'\x20fields,\x20'+this['getOperationCount']()+_0x5f4db9(0x2c7)+this['getVersion']()+')';}[a0_0x342bd1(0x2ff)](){const _0x19e879=a0_0x342bd1;return this[_0x19e879(0x22f)](_0x19e879(0x282));}[a0_0x342bd1(0x1f9)](_0x3fe328){const _0x3f448c=a0_0x342bd1;return this[_0x3f448c(0x340)](_0x3f448c(0x282),_0x3fe328);}[a0_0x342bd1(0x265)](){const _0x5387ef=a0_0x342bd1;return this['getOperationFieldsOperatorsMap'](_0x5387ef(0x282));}[a0_0x342bd1(0x22f)](_0x15546e){const _0x339bda=a0_0x342bd1,_0xf88bf2=this[_0x339bda(0x465)](_0x15546e);return _0xf88bf2?_0xf88bf2[_0x339bda(0x46d)]():[];}[a0_0x342bd1(0x340)](_0x16039d,_0x45c860){const _0x91eeef=a0_0x342bd1,_0x5a2da1=this['getOperation'](_0x16039d);return _0x5a2da1?_0x5a2da1[_0x91eeef(0x467)](_0x45c860):[];}['getOperationFieldsOperatorsMap'](_0x9da66){const _0x8668cb=a0_0x342bd1,_0x489a81={};return this[_0x8668cb(0x28f)]()[_0x8668cb(0x40c)](_0x197775=>{const _0x5b7de4=_0x8668cb,_0x264e6c=this[_0x5b7de4(0x340)](_0x9da66,_0x197775[_0x5b7de4(0x2bd)]);_0x264e6c[_0x5b7de4(0x345)]>0x0&&(_0x489a81[_0x197775[_0x5b7de4(0x2bd)]]=_0x264e6c);}),_0x489a81;}[a0_0x342bd1(0x46c)](_0x3267f6,_0x30c61f,_0x840210){const _0x26b443=a0_0x342bd1,_0x291b2c=this[_0x26b443(0x340)](_0x3267f6,_0x30c61f);return _0x291b2c['includes'](_0x840210);}}function a0_0x3171(){const _0x1d353d=['isFieldPrimaryKey','doVersion','create','OperationList(','name','CREATE','isPrimaryKey','padStart','VARCHAR','item1','Field(','primaryKey','getByType','placeholder','聚合函数配置数组(type:\x20sum/count/avg/max/min)','createTime','$lteq','toTableName','const\x20fileUrl\x20=\x20await\x20client.models.','items','path','200','getAllDatasets','getFieldListWithDeleted','getFiltered','repeat','requestFieldCount','\x20items,\x20conflict,\x20latest:\x20','suffix','getDisabledOperationInstances','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','当前页码(可选)','String','replace','();','操作成功','generateFieldExample','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','findByTableName','getSystemFields','_autoGenerated','\x20items,\x20','getDatasetMeta','_fieldList','generateFromSchema','getInternalInstance','push','_avg','BIT','getAggregates','datasetCode','$lte','getOperationsOverviewData','generateFullSDKExample','groupBy','getEnabled','5013ravfiQ','dataset_000000','LONGTEXT','STRING','接口名称','[Field]\x20Invalid\x20field\x20definition','getMethod','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','generateHTTPRequestExample','totalGroups','sdkCallCode','toField','importTemplate','hasDblinkInfo','getSDKInitData','get','properties','find','获取上传脚本','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','type','BIGINT','hasField','generateHTTPExample','30270VoSTGN','tableKey','API路径','set','sortOperationsWithFilterFirst','2947PKpYjl','每页条数','-\x20主键ID,用于定位要更新的记录\x0a\x0a','having','解析\x20requestBody\x20失败:','getCountByMethod','hasTableName','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','UPDATE','DrivenDataDetail(','pageSize','getEnumOptions','fullUrl','getConflictingItems','getDatasetDocMeta','_sum','FieldV2(','count','usageExample','日期时间','getEnabledOperations','_datasetMeta','2.0','getAutoIncrement','Object','getPath','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','toArray','filterBlacklist','当前页码(从\x201\x20开始,默认:\x201)','getRequestParams','这是一段较长的文本内容示例','tooltip','getName','user@example.com','getList',',\x20currentPage,\x20pageSize,\x20...\x20});','systemRetain','getRelatedDataset','_raw','FieldList(','getOne','2024-12-31','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','\x20operations,\x20v2)','displayName','toConfigArray','string','mapDbTypeToType','[parseFieldExtend]\x20Invalid\x20field:','getFilterOperation','isBusiness','SWITCH','host','value','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','DATE','getMissingCRUDOperations','getAllFieldsString','排序规则','multiple','hasConflict','add','北京市朝阳区','getDOType',',\x20...\x20});','findById','\x20groups,\x20','$startWith','exampleWhere','Integer','LONGBLOB','slice','substring','dataset','parseFieldExtend','getFieldsByType','toISOString','groupByType','toListItem','errorCode','2240YILyQO','version','支持单值或数组','null','示例文本','isMultipleSelectField','toFieldDefinition','(id);','max','getBusinessFields','getSystemAnalysisResult','(id,\x20data);','_fields','currentPage','isUpdateTime','getVersion','时间戳','updateTime','dbName','CHAR','5412219mPoQDw','getBusiness','getTooltip','all','forEach','getEnabledNames','系统自动生成','getFullUrl','datasetSDKKey','getDBConfig','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','operationCount','modifyDate','includeRequestExample','fromApiResponse','isOperationEnabled','updateTimeField','(实际字段:','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','hasDbtableConfig','EXCEL_EXPORT','creatorIdField','HTTP\x20请求示例(平铺格式)','getPrimaryKeys','Array','getDeleted','getFieldDescription','ensureFilterOperation','defaultValue','keyword','_datasetMap','$ne','50497nOuDZN','文件上传','getOperationCount','dblinkInfoDTO','每页数量(可选)','NUMBER','解析\x20responseBody\x20失败:','hasCreatorIdField','parseRawRequestBody','https://example.com/file.pdf','includeDisabled','getDatasetSDKKey','method','getFieldListV2','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','select','datasetName','BOOL','raw','-$1',',\x20fields:\x20','DELETE','getFieldSelectItemsSource','getFilteredOperations','CREATE_EXPORT','dbId','`:\x20','排序规则(与\x20Filter\x20API\x20一致)','字段编码','DatasetItem(','generateDefaultFilterOperation','(id,\x20','\x20的\x20extend\x20配置失败:','FLOAT','number','enabled','51530754MZkXCd','(支持单值或数组)','modifierNameField','getResponseSchema','getIndexes','hasModifierIdField','查询单个条件','getDisabledNames','\x20indexes)','[FieldV2]\x20Invalid\x20field\x20definition','sort','supportsCRUD','labelField','parseRawResponseBody','findByCode','yourModel','selectItemsSource','SDK\x20调用','createExport','responseSchema','includes','isOpenAPI','toJSON','Number','getOperation','DbtableConfig(table:\x20','getFieldOperators','autoIncrement','label','$in','isDeleted','isOperatorApplicableToField','getOperators','generateAllOperationsSummary','getEnum','modelId','initDataset','doType','_operationAnalyses','_fieldListV1','item2','Invalid\x20API\x20response:\x20success\x20is\x20false','getUpdatableFields','Filter\x20API\x20-\x20高级查询接口','datasetInfo','size','dbtableConfig','generateSDKCallCode','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','[dsparser]\x20跳过重复的表名\x20\x22','getLast','generateSDKInitCode','hasCreateTimeField','hasConflicts','prefix','HTTP\x20直接调用时使用平铺格式:\x0a','getUploadFileScript','tableData','getDefaultValue','online','isPrimaryKeyField','$endWith','creatorNameField','FieldV1(','TIME','getOneUpdate','Object[]','toConfig','富文本','round','description','getStats','fromField','lastIndexOf','getAppCode','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getCreateTime','$or','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','<!--\x5cs*CONDITION:\x5cs*','\x20operation','modelCode','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','主键ID(必填)','TEXTAREA','SDK\x20调用时传递两个参数:\x0a','TIMESTAMP','每页数量','GET_ONE_UPDATE','update','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getOperations','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','no\x20conflicts','status','isMultipleSelect','创建导出','$eq','sortNum','address','min','RICH_TEXT','keys','object','value2','logicField','String[]','isRequiredField','getEnumMeta','getRequiredFields','hasRelation','请求示例','分组后的过滤条件(对聚合结果进行过滤)','orderBy','getOperationRequestFields','enabledOperationCount','getEnumValues','getFieldFilterOperators','getFieldName','();\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}','warn','datasetKey','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','distinct','isArray','hasUpdateTimeField','fields','getOperationStats','Operation\x20not\x20found:\x20','getSelectOptions','getDisabled','getAllFieldsArray','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getPrimaryKeyFields','taskInfo','valueLabels','##\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','findByName','withDeleted','const\x20result\x20=\x20await\x20client.models.','_min','getEnumFieldMeta','condition','getUpdateTime','getOperationDocMeta','450HQAEXv','getFieldDefinition','children','getResponseParamsDocInfo','_operationList','查询单条','getRequestParamsDocInfo','dataset_','DOUBLE','示例值','total_count','validateEnumValue','getDisabledOperations','getEnabledOperationAnalyses','appCode','任务信息','({\x20code,\x20label\x20});','getFilteredOperationAnalyses','ARRAY','getFieldDataSource','value1','getHTTPRequestParamsDocInfo','generateResponseExample','required','generateOperationSummary','getCodes','getOperationOperators','columnName','getLatestDatasets','INTEGER','getAll','fieldName','DatasetList(','successCode','SELECT','getFileUrl','当前页码','6LRLjlT','\x22,数据集:\x20','options','dbVersion','createImport','创建导入','groups','entries','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','完整的\x20SDK\x20调用代码','context','modifierIdField','getFieldRaw','getRelations','isNumericField','getOperationAnalysis','desc','iterator','data','precision','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','_instance','\x20fields,\x20','customFilter','getEnumFields','normalizeDbType','title','email','DrivenDataDetailPlusV2(','split','bind','获取下拉选项','getFieldCode','env','getVirtualTables','charAt','systemFieldCount','enumValues','支持多个条件','array','13800138000','total','tenantCode','getFieldsFilterOperatorsMap','trim','590yFsKGI','aggregate','tableName','getSystem','GET_ONE_ORIGIN','empty','getDisplayName','getIds','generateSingleValueExample','isSystem','excelExport','getRequired','getTableKey','detectConflicts','enableDeduplication','isCreateTime','JSON','generateUsageExample','toString','操作名称','toObject','-\x20主键使用\x20`id`\x20字段\x0a','getConflictStats','every','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','getRealTables','getLatest','filter','数组查询(支持多选)','success','getGroupedParams','GET_FILE_URL','createTimeField','每页数量(默认:\x2020)','getRaw','N/A','GET_UPLOAD_FILE_SCRIPT','Excel导出','\x5c}\x5c}','generateRequestAllExamples','getFieldList','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','errorMsg','daily','_requestExampleCache','分组字段列表','_extend','getModelName','generateAliasExplanation','(params);','column','_relations','({\x20currentPage,\x20pageSize\x20});','\x20fields)','下拉选择','CHECKBOX','datasetMap','getType','has','responseBody','getId','$gteq','forceVersion','单值查询','getTableName','getCountByType','some','parse','pkField','/filter','-\x20`','IMAGE','params','getOperationList','getFieldOptions','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','random','isSystemField','toUpperCase','isEnum','$and','getFirst','toDatasetId','phone','getAt','map','code','$gte','\x20API\x20文档','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','createFields','DrivenDataDetailV2(','RADIO','msg','_operations','getActive','\x20operations,\x20','getApplicableOperators','generateRequestExample','getFieldCount','getFieldInstance','\x20operations)','getRelationsByField','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','getEnumMetas','getOperationsData','_fieldListV2','({\x20','toDatasetName','getDatabaseVersion','GET','test','TINYINT','DatasetGroup(','SMALLINT','getExtendField','\x20relations,\x20','groupByTableName','\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','BOOLEAN','where','dbType','getFieldDisplayName','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','getSource','relations','generateAllOperationsFullSDKExample','选项编码(可选)','查询列表','getCount','now','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','getHTTPFields','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','字段名称','_fieldListWithDeleted','createDate','has\x20conflicts','TEXT','isEnabled','\x20operations,\x20v1)','1.0.0-beta.8','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','getConflicts','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','extend',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','1246976dIrcFe','selectBestOperator','toLowerCase','generateExampleValue','getField','getFilterOperators','toDatasetCode','stringify','DATETIME','isRequired','getRawDbtableConfig','delete','getTenantCode','getUpdateFields','2024-01-01','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','generateConfig','getEnabledOperationInstances','dataIndex','返回字段列表(字段投影)','function','from','0000','getOperationAnalysesByType','includeDeleted','$contain','join','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','DESC','hasFilterOperation','sdkCall','demo-app','requestBody','getEnumFieldsMeta','isAutoIncrement','getDbTypeForOperation','values','field_name','prototype','useFullExample','isEmpty','getFieldNames','DatasetGroupMap(','operations','getFieldsWithDeleted','BLOB','source','index','sum','boolean','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getCode','tableColumns','avg','getOperationAnalyses','deleted','getModelAlias','createAll','requestFields','getDatabaseType','INT','getItems','getOneOrigin','allFields','获取数据集列表失败:\x20','getNames','查询单条(原始)','_fieldListV1WithDeleted','FieldListV2(','查询单条(用于更新)','getOperationFieldOperators','hasOperation','isVirtualTable','generateConfigArray','fieldCode','length','isEnumField','alias','default','DECIMAL','getFields','获取文件URL','dbTypeLen'];a0_0x3171=function(){return _0x1d353d;};return a0_0x3171();}class FieldBase{get[a0_0x342bd1(0x2e0)](){return;}get[a0_0x342bd1(0x34c)](){return;}get[a0_0x342bd1(0x3d0)](){return;}get[a0_0x342bd1(0x472)](){return;}['isBusiness'](){const _0x5cd4b4=a0_0x342bd1;return!this[_0x5cd4b4(0x270)]();}[a0_0x342bd1(0x46b)](){return this['deleted'];}[a0_0x342bd1(0x2b6)](){const _0x5114e9=a0_0x342bd1,_0x447eb2=[_0x5114e9(0x2c3),_0x5114e9(0x237),_0x5114e9(0x29e)];return _0x447eb2['includes'](this[_0x5114e9(0x399)]);}[a0_0x342bd1(0x1e3)](){const _0x1fb590=a0_0x342bd1;return this[_0x1fb590(0x399)]===_0x1fb590(0x29e);}[a0_0x342bd1(0x1f8)](){const _0x18befa=a0_0x342bd1,_0x5814fb=this[_0x18befa(0x1f0)]();return _0x5814fb?.[_0x18befa(0x31e)]||[];}[a0_0x342bd1(0x1f0)](){const _0x376fdc=a0_0x342bd1;if(!this['isEnum']())return;const _0x48115c=this['getEnumOptions'](),_0x390f6f=this['getSelectItemsSource'](),_0x2c473d=[],_0x2192c0={},_0x389672=_0x358e59=>{_0x358e59['forEach'](_0x358181=>{const _0x435a95=a0_0x380d;_0x2c473d[_0x435a95(0x37b)](_0x358181['value']),_0x2192c0[String(_0x358181['value'])]=_0x358181[_0x435a95(0x469)],_0x358181[_0x435a95(0x217)]&&_0x358181[_0x435a95(0x217)][_0x435a95(0x345)]>0x0&&_0x389672(_0x358181[_0x435a95(0x217)]);});};return _0x48115c&&_0x48115c[_0x376fdc(0x345)]>0x0&&_0x389672(_0x48115c),{'code':this[_0x376fdc(0x2bd)],'name':this[_0x376fdc(0x351)],'type':this[_0x376fdc(0x399)],'multiple':this[_0x376fdc(0x1e3)](),'options':_0x48115c,'selectItemsSource':_0x390f6f,'values':_0x2c473d,'valueLabels':_0x2192c0};}get[a0_0x342bd1(0x25f)](){const _0x28bab0=a0_0x342bd1;return this[_0x28bab0(0x1f8)]();}[a0_0x342bd1(0x279)](){const _0x46b73b=a0_0x342bd1;return _0x46b73b(0x357)+this['name']+',\x20'+this[_0x46b73b(0x2bd)]+',\x20'+this[_0x46b73b(0x399)]+',\x20'+this[_0x46b73b(0x403)]()+')';}}class FieldV1 extends FieldBase{[a0_0x342bd1(0x3c9)];[a0_0x342bd1(0x295)]=null;constructor(_0xc94e99){const _0xbca735=a0_0x342bd1;super();if(!_0xc94e99||typeof _0xc94e99!==_0xbca735(0x1eb))throw new Error(_0xbca735(0x38a));this[_0xbca735(0x3c9)]=_0xc94e99;}[a0_0x342bd1(0x3fa)](){const _0x10cf80=a0_0x342bd1;return this[_0x10cf80(0x3c9)];}[a0_0x342bd1(0x403)](){return'v1';}get[a0_0x342bd1(0x43b)](){const _0x17121c=a0_0x342bd1;return this[_0x17121c(0x3c9)];}get['name'](){const _0x30e4f8=a0_0x342bd1;return this['_raw'][_0x30e4f8(0x351)]||'';}get['code'](){const _0x246adc=a0_0x342bd1;return this[_0x246adc(0x3c9)][_0x246adc(0x2bd)]||'';}get[a0_0x342bd1(0x399)](){const _0x4c1666=a0_0x342bd1;return this['_raw'][_0x4c1666(0x399)]||'';}get['description'](){return this['_raw']['description']||'';}get[a0_0x342bd1(0x331)](){return Boolean(this['_raw']['deleted']);}get[a0_0x342bd1(0x2e0)](){const _0x252f2f=a0_0x342bd1;return this[_0x252f2f(0x3c9)]['dbType'];}get[a0_0x342bd1(0x34c)](){const _0x1b4c6=a0_0x342bd1;return this[_0x1b4c6(0x3c9)]['dbTypeLen'];}get[a0_0x342bd1(0x3d0)](){const _0x151a02=a0_0x342bd1;return this[_0x151a02(0x3c9)][_0x151a02(0x347)];}get[a0_0x342bd1(0x472)](){return;}get[a0_0x342bd1(0x2f8)](){const _0x4dfe8f=a0_0x342bd1;if(this[_0x4dfe8f(0x295)]!==null&&typeof this[_0x4dfe8f(0x295)]===_0x4dfe8f(0x1eb))return this[_0x4dfe8f(0x295)];const _0x5b8ec0=this[_0x4dfe8f(0x3c9)][_0x4dfe8f(0x2f8)];if(!_0x5b8ec0||typeof _0x5b8ec0!=='string')return this[_0x4dfe8f(0x295)]={},this[_0x4dfe8f(0x295)];if(_0x5b8ec0===_0x4dfe8f(0x3f7)||_0x5b8ec0['trim']()===_0x4dfe8f(0x3f7))return this[_0x4dfe8f(0x295)]={},this[_0x4dfe8f(0x295)];try{const _0x5b4597=JSON[_0x4dfe8f(0x2aa)](_0x5b8ec0);return this[_0x4dfe8f(0x295)]=_0x5b4597!==null&&typeof _0x5b4597==='object'&&!Array[_0x4dfe8f(0x200)](_0x5b4597)?_0x5b4597:{},this[_0x4dfe8f(0x295)];}catch(_0x2396e6){return!![]&&console[_0x4dfe8f(0x1fc)]('[FieldV1.extend]\x20解析字段\x20'+this[_0x4dfe8f(0x2bd)]+_0x4dfe8f(0x449),_0x2396e6),this[_0x4dfe8f(0x295)]={},this[_0x4dfe8f(0x295)];}}[a0_0x342bd1(0x303)](){const _0x402856=a0_0x342bd1;return Boolean(this[_0x402856(0x2f8)]['required']);}[a0_0x342bd1(0x353)](){const _0x1780c3=a0_0x342bd1;return Boolean(this[_0x1780c3(0x2f8)][_0x1780c3(0x358)]||this[_0x1780c3(0x2f8)][_0x1780c3(0x2ab)]);}[a0_0x342bd1(0x270)](){return Boolean(this['extend']['systemRetain']);}[a0_0x342bd1(0x31c)](){const _0x5f274e=a0_0x342bd1;return Boolean(this[_0x5f274e(0x2f8)][_0x5f274e(0x468)]);}[a0_0x342bd1(0x276)](){const _0x33cddb=a0_0x342bd1;return Boolean(this[_0x33cddb(0x2f8)][_0x33cddb(0x35c)]);}[a0_0x342bd1(0x402)](){const _0x1bd808=a0_0x342bd1;return Boolean(this[_0x1bd808(0x2f8)][_0x1bd808(0x405)]);}[a0_0x342bd1(0x26d)](){const _0x1b0f00=a0_0x342bd1;return this[_0x1b0f00(0x351)];}['getFieldName'](){const _0x1e9bda=a0_0x342bd1;return this[_0x1e9bda(0x2bd)];}['isEnum'](){const _0xa4ba72=a0_0x342bd1,_0x37acac=[_0xa4ba72(0x2c3),_0xa4ba72(0x237),_0xa4ba72(0x29e)];if(_0x37acac['includes'](this[_0xa4ba72(0x399)]))return!![];const _0x3b7e09=this[_0xa4ba72(0x2f8)];return Boolean(_0x3b7e09[_0xa4ba72(0x23c)]&&Array[_0xa4ba72(0x200)](_0x3b7e09[_0xa4ba72(0x23c)])&&_0x3b7e09['options'][_0xa4ba72(0x345)]>0x0||_0x3b7e09[_0xa4ba72(0x45d)]);}[a0_0x342bd1(0x1e3)](){const _0x174024=a0_0x342bd1;if(this[_0x174024(0x399)]==='CHECKBOX')return!![];return Boolean(this[_0x174024(0x2f8)][_0x174024(0x3df)]);}[a0_0x342bd1(0x3ad)](){const _0x4f1461=a0_0x342bd1,_0x211e76=this[_0x4f1461(0x2f8)];if(_0x211e76['options']&&Array[_0x4f1461(0x200)](_0x211e76[_0x4f1461(0x23c)]))return _0x211e76['options'];return;}['getSelectItemsSource'](){const _0x1766db=a0_0x342bd1,_0x4debbb=this[_0x1766db(0x2f8)];if(_0x4debbb['selectItemsSource']&&typeof _0x4debbb[_0x1766db(0x45d)]===_0x1766db(0x1eb))return _0x4debbb['selectItemsSource'];return;}[a0_0x342bd1(0x31d)](){const _0x8946a=a0_0x342bd1;return this[_0x8946a(0x399)][_0x8946a(0x2b5)]();}[a0_0x342bd1(0x1be)](){const _0x2fea90=a0_0x342bd1;return this[_0x2fea90(0x2f8)][_0x2fea90(0x425)];}['getTooltip'](){const _0x12756a=a0_0x342bd1;return this[_0x12756a(0x2f8)][_0x12756a(0x3c2)];}[a0_0x342bd1(0x463)](){const _0x104b41=a0_0x342bd1;return{'name':this[_0x104b41(0x351)],'code':this[_0x104b41(0x2bd)],'type':this['type'],'dbType':this[_0x104b41(0x2e0)],'dbTypeLen':this[_0x104b41(0x34c)],'description':this[_0x104b41(0x1ca)],'required':this[_0x104b41(0x303)](),'primaryKey':this['isPrimaryKey'](),'system':this['isSystem'](),'autoIncrement':this[_0x104b41(0x31c)](),'createTime':this[_0x104b41(0x276)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x104b41(0x2b6)](),'enumMeta':this['isEnum']()?this[_0x104b41(0x1f0)]():undefined};}[a0_0x342bd1(0x279)](){const _0x4f37ad=a0_0x342bd1;return _0x4f37ad(0x1c3)+this[_0x4f37ad(0x351)]+',\x20'+this[_0x4f37ad(0x2bd)]+',\x20'+this['type']+')';}}class FieldListBase{[a0_0x342bd1(0x400)];constructor(_0xcbf762,_0xf89eb4){const _0x5587b7=a0_0x342bd1;if(!Array[_0x5587b7(0x200)](_0xcbf762))throw new Error(_0x5587b7(0x315));const _0x8c7089=_0xf89eb4?.['includeDeleted']??![],_0x29d91b=_0x8c7089?_0xcbf762:_0xcbf762[_0x5587b7(0x282)](_0x88b537=>{const _0x9605e6=_0x5587b7,_0x3c4d1f=_0x88b537;return!_0x3c4d1f[_0x9605e6(0x331)];});this[_0x5587b7(0x400)]=this['createFields'](_0x29d91b);}get['length'](){const _0x5338cb=a0_0x342bd1;return this[_0x5338cb(0x400)]['length'];}[a0_0x342bd1(0x40b)](){const _0x452407=a0_0x342bd1;return[...this[_0x452407(0x400)]];}['at'](_0x255b11){const _0x3c3071=a0_0x342bd1;return this[_0x3c3071(0x400)]['at'](_0x255b11);}[a0_0x342bd1(0x396)](_0x4ed073){const _0x3567fd=a0_0x342bd1;return this[_0x3567fd(0x400)]['find'](_0x17b1c9=>_0x17b1c9['code']===_0x4ed073);}[a0_0x342bd1(0x20d)](_0x411c4c){const _0x41c32f=a0_0x342bd1;return this[_0x41c32f(0x400)]['find'](_0x41952b=>_0x41952b[_0x41c32f(0x351)]===_0x411c4c);}[a0_0x342bd1(0x2a1)](_0xdba94){const _0x437ee1=a0_0x342bd1;return this[_0x437ee1(0x400)][_0x437ee1(0x2a9)](_0x55d5bc=>_0x55d5bc[_0x437ee1(0x2bd)]===_0xdba94);}[a0_0x342bd1(0x40c)](_0x281759){const _0x819914=a0_0x342bd1;this[_0x819914(0x400)]['forEach'](_0x281759);}[a0_0x342bd1(0x2bc)](_0x2a196d){const _0x2b3017=a0_0x342bd1;return this[_0x2b3017(0x400)][_0x2b3017(0x2bc)](_0x2a196d);}[a0_0x342bd1(0x282)](_0x2c3505){const _0x2265a3=a0_0x342bd1;return this[_0x2265a3(0x400)][_0x2265a3(0x282)](_0x2c3505);}['every'](_0x40c239){const _0x522ab2=a0_0x342bd1;return this[_0x522ab2(0x400)][_0x522ab2(0x27e)](_0x40c239);}['some'](_0x378387){return this['_fields']['some'](_0x378387);}[a0_0x342bd1(0x272)](){const _0x305f96=a0_0x342bd1;return this['_fields'][_0x305f96(0x282)](_0x630bf5=>_0x630bf5[_0x305f96(0x303)]());}['getPrimaryKeys'](){const _0x5e4fd1=a0_0x342bd1;return this[_0x5e4fd1(0x400)]['filter'](_0x32d518=>_0x32d518[_0x5e4fd1(0x353)]());}[a0_0x342bd1(0x26a)](){const _0x356ac8=a0_0x342bd1;return this[_0x356ac8(0x400)][_0x356ac8(0x282)](_0xf7a3c=>_0xf7a3c['isSystem']());}[a0_0x342bd1(0x409)](){const _0x41a005=a0_0x342bd1;return this[_0x41a005(0x400)][_0x41a005(0x282)](_0x63a45a=>_0x63a45a['isBusiness']());}[a0_0x342bd1(0x46f)](){const _0x3fcbb7=a0_0x342bd1;return this[_0x3fcbb7(0x400)][_0x3fcbb7(0x282)](_0x26b10c=>_0x26b10c[_0x3fcbb7(0x2b6)]());}[a0_0x342bd1(0x3b9)](){const _0x5dfa7a=a0_0x342bd1;return this[_0x5dfa7a(0x400)]['filter'](_0x461618=>_0x461618[_0x5dfa7a(0x31c)]());}[a0_0x342bd1(0x1d0)](){const _0x24ba61=a0_0x342bd1;return this[_0x24ba61(0x400)][_0x24ba61(0x282)](_0x24401a=>_0x24401a['isCreateTime']());}[a0_0x342bd1(0x213)](){const _0x2cf0fa=a0_0x342bd1;return this[_0x2cf0fa(0x400)][_0x2cf0fa(0x282)](_0x4ec8c3=>_0x4ec8c3[_0x2cf0fa(0x402)]());}[a0_0x342bd1(0x422)](){const _0x125440=a0_0x342bd1;return this['_fields'][_0x125440(0x282)](_0xfbb099=>_0xfbb099[_0x125440(0x46b)]());}[a0_0x342bd1(0x2c6)](){const _0x5b5901=a0_0x342bd1;return this['_fields'][_0x5b5901(0x282)](_0x449be8=>!_0x449be8[_0x5b5901(0x46b)]());}[a0_0x342bd1(0x3f1)](){const _0x306ecb=a0_0x342bd1,_0x41ceb2={};return this[_0x306ecb(0x400)][_0x306ecb(0x40c)](_0x3e37f3=>{const _0xdc56f3=_0x306ecb,_0xcf0466=_0x3e37f3[_0xdc56f3(0x399)];!_0x41ceb2[_0xcf0466]&&(_0x41ceb2[_0xcf0466]=[]),_0x41ceb2[_0xcf0466]['push'](_0x3e37f3);}),_0x41ceb2;}[a0_0x342bd1(0x2cf)](){const _0x464d71=a0_0x342bd1,_0x3775d7={};return this[_0x464d71(0x400)]['forEach'](_0x3fff53=>{const _0x307377=_0x464d71;if(_0x3fff53[_0x307377(0x2b6)]()){const _0x49d002=_0x3fff53[_0x307377(0x1f0)]();_0x49d002&&(_0x3775d7[_0x3fff53[_0x307377(0x2bd)]]=_0x49d002);}}),_0x3775d7;}[a0_0x342bd1(0x1cb)](){const _0x13ecfc=a0_0x342bd1;return{'total':this[_0x13ecfc(0x345)],'required':this[_0x13ecfc(0x272)]()['length'],'primaryKey':this['getPrimaryKeys']()['length'],'system':this[_0x13ecfc(0x26a)]()[_0x13ecfc(0x345)],'business':this['getBusiness']()[_0x13ecfc(0x345)],'enum':this[_0x13ecfc(0x46f)]()[_0x13ecfc(0x345)],'autoIncrement':this[_0x13ecfc(0x3b9)]()[_0x13ecfc(0x345)]};}[a0_0x342bd1(0x22e)](){const _0x4107ab=a0_0x342bd1;return this['_fields'][_0x4107ab(0x2bc)](_0x37c71f=>_0x37c71f[_0x4107ab(0x2bd)]);}[a0_0x342bd1(0x33b)](){const _0x5bfd1d=a0_0x342bd1;return this['_fields']['map'](_0x5192f5=>_0x5192f5[_0x5bfd1d(0x26d)]());}[a0_0x342bd1(0x323)](){const _0x49e492=a0_0x342bd1;return this['_fields'][_0x49e492(0x2bc)](_0x3e60bb=>_0x3e60bb[_0x49e492(0x1fa)]());}[a0_0x342bd1(0x463)](){const _0x7d0d2f=a0_0x342bd1;return this[_0x7d0d2f(0x400)][_0x7d0d2f(0x2bc)](_0x52b2e3=>_0x52b2e3[_0x7d0d2f(0x463)]());}[a0_0x342bd1(0x279)](){const _0x3ad63c=a0_0x342bd1;return _0x3ad63c(0x3ca)+this[_0x3ad63c(0x345)]+_0x3ad63c(0x29c);}}class FieldListV1 extends FieldListBase{constructor(_0xc4400a,_0x4689b4){super(_0xc4400a,_0x4689b4);}[a0_0x342bd1(0x2c1)](_0x4b8eb5){const _0x1ffe1b=a0_0x342bd1;return _0x4b8eb5[_0x1ffe1b(0x2bc)](_0xd5dc07=>new FieldV1(_0xd5dc07));}[a0_0x342bd1(0x40b)](){const _0x30bd77=a0_0x342bd1;return[...this[_0x30bd77(0x400)]];}['at'](_0x36f155){const _0x54033a=a0_0x342bd1;return this[_0x54033a(0x400)]['at'](_0x36f155);}[a0_0x342bd1(0x396)](_0x5bcb09){const _0x55ba6d=a0_0x342bd1;return this[_0x55ba6d(0x400)]['find'](_0x4f283c=>_0x4f283c[_0x55ba6d(0x2bd)]===_0x5bcb09);}[a0_0x342bd1(0x20d)](_0x5116ed){const _0x407946=a0_0x342bd1;return this[_0x407946(0x400)][_0x407946(0x396)](_0xc13638=>_0xc13638[_0x407946(0x351)]===_0x5116ed);}[a0_0x342bd1(0x282)](_0x37e2de){const _0x28463d=a0_0x342bd1;return this[_0x28463d(0x400)][_0x28463d(0x282)](_0x37e2de);}[a0_0x342bd1(0x2bc)](_0x53528c){const _0x2605db=a0_0x342bd1;return this['_fields'][_0x2605db(0x2bc)](_0x53528c);}[a0_0x342bd1(0x272)](){const _0xf3b2cd=a0_0x342bd1;return this[_0xf3b2cd(0x400)]['filter'](_0x372462=>_0x372462[_0xf3b2cd(0x303)]());}['getPrimaryKeys'](){const _0x458046=a0_0x342bd1;return this[_0x458046(0x400)][_0x458046(0x282)](_0x2ce677=>_0x2ce677[_0x458046(0x353)]());}['getSystem'](){const _0x212202=a0_0x342bd1;return this[_0x212202(0x400)][_0x212202(0x282)](_0x2ecad7=>_0x2ecad7[_0x212202(0x270)]());}[a0_0x342bd1(0x409)](){const _0x3b74fc=a0_0x342bd1;return this[_0x3b74fc(0x400)][_0x3b74fc(0x282)](_0x30ab99=>_0x30ab99[_0x3b74fc(0x3d6)]());}[a0_0x342bd1(0x46f)](){const _0x27ea30=a0_0x342bd1;return this['_fields'][_0x27ea30(0x282)](_0x2d140f=>_0x2d140f[_0x27ea30(0x2b6)]());}['groupByType'](){const _0x15fcd1=a0_0x342bd1,_0x4b5ef5={};return this['_fields'][_0x15fcd1(0x40c)](_0x10a345=>{const _0xa3e5d3=_0x15fcd1,_0x189df5=_0x10a345[_0xa3e5d3(0x399)];!_0x4b5ef5[_0x189df5]&&(_0x4b5ef5[_0x189df5]=[]),_0x4b5ef5[_0x189df5][_0xa3e5d3(0x37b)](_0x10a345);}),_0x4b5ef5;}['raw'](){const _0x7d534=a0_0x342bd1;return this['_fields'][_0x7d534(0x2bc)](_0x4b02cf=>_0x4b02cf[_0x7d534(0x43b)]);}static['from'](_0x45ac93){const _0x196524=a0_0x342bd1,_0x6e231b=_0x45ac93[_0x196524(0x2bc)](_0x48450f=>_0x48450f['raw']);return new FieldListV1(_0x6e231b);}static[a0_0x342bd1(0x20e)](_0x52dcc7){const _0xbc7547=a0_0x342bd1,_0x369744={};return _0x369744[_0xbc7547(0x312)]=!![],new FieldListV1(_0x52dcc7,_0x369744);}}class FieldV2 extends FieldBase{[a0_0x342bd1(0x3c9)];constructor(_0xe9ebb1){const _0x14d16f=a0_0x342bd1;super();if(!_0xe9ebb1||typeof _0xe9ebb1!==_0x14d16f(0x1eb))throw new Error(_0x14d16f(0x456));this[_0x14d16f(0x3c9)]=_0xe9ebb1;}[a0_0x342bd1(0x403)](){return'v2';}get['raw'](){const _0x205989=a0_0x342bd1;return this[_0x205989(0x3c9)];}get['name'](){const _0xa45ba4=a0_0x342bd1;return this[_0xa45ba4(0x3c9)]['name']||'';}get['code'](){const _0x24e6e9=a0_0x342bd1;return this['_raw'][_0x24e6e9(0x351)]||'';}get[a0_0x342bd1(0x3d0)](){const _0x1e418f=a0_0x342bd1;return this[_0x1e418f(0x3c9)]['displayName']||'';}get[a0_0x342bd1(0x399)](){const _0x4799fc=a0_0x342bd1;return this[_0x4799fc(0x3d3)](this['_raw'][_0x4799fc(0x2e0)]);}get[a0_0x342bd1(0x1ca)](){const _0x1c7da3=a0_0x342bd1;return this['_raw'][_0x1c7da3(0x1ca)]||'';}get[a0_0x342bd1(0x331)](){const _0x327bc5=a0_0x342bd1;return Boolean(this[_0x327bc5(0x3c9)][_0x327bc5(0x331)]);}[a0_0x342bd1(0x303)](){const _0x208e24=a0_0x342bd1;return Boolean(this[_0x208e24(0x3c9)][_0x208e24(0x22c)]);}['isPrimaryKey'](){const _0x5bf27d=a0_0x342bd1;return Boolean(this[_0x5bf27d(0x3c9)]['pkField']);}['isSystem'](){const _0x54bc18=a0_0x342bd1;return Boolean(this[_0x54bc18(0x3c9)][_0x54bc18(0x3c7)]);}[a0_0x342bd1(0x31c)](){const _0x323e23=a0_0x342bd1;return Boolean(this[_0x323e23(0x3c9)][_0x323e23(0x468)]);}['isCreateTime'](){const _0x38aa9a=a0_0x342bd1;return this[_0x38aa9a(0x3c9)]['systemRetain']===_0x38aa9a(0x35c);}['isUpdateTime'](){const _0x42505b=a0_0x342bd1;return this[_0x42505b(0x3c9)][_0x42505b(0x3c7)]===_0x42505b(0x405);}[a0_0x342bd1(0x26d)](){return this['_raw']['displayName']||'';}['getFieldName'](){const _0x21b1a9=a0_0x342bd1;return this['_raw'][_0x21b1a9(0x351)]||'';}['isEnum'](){const _0x3fb8aa=a0_0x342bd1;return Boolean(this['_raw'][_0x3fb8aa(0x23c)]&&Array[_0x3fb8aa(0x200)](this['_raw']['options'])&&this[_0x3fb8aa(0x3c9)]['options'][_0x3fb8aa(0x345)]>0x0);}[a0_0x342bd1(0x1e3)](){const _0x39f7c2=a0_0x342bd1,_0x3bc4e1=this[_0x39f7c2(0x3c9)][_0x39f7c2(0x2f8)];if(!_0x3bc4e1)return![];try{const _0x19f53f=JSON[_0x39f7c2(0x2aa)](_0x3bc4e1);if(_0x19f53f&&typeof _0x19f53f===_0x39f7c2(0x1eb)&&_0x39f7c2(0x3df)in _0x19f53f)return Boolean(_0x19f53f[_0x39f7c2(0x3df)]);}catch{}return![];}[a0_0x342bd1(0x3ad)](){const _0x32dd9a=a0_0x342bd1;if(this[_0x32dd9a(0x3c9)][_0x32dd9a(0x23c)]&&Array[_0x32dd9a(0x200)](this[_0x32dd9a(0x3c9)]['options']))return this[_0x32dd9a(0x3c9)][_0x32dd9a(0x23c)];return;}['getSelectItemsSource'](){const _0x252162=a0_0x342bd1,_0x2ba0d7=this[_0x252162(0x3c9)][_0x252162(0x2f8)];if(!_0x2ba0d7)return;try{const _0x3ebbdc=JSON[_0x252162(0x2aa)](_0x2ba0d7);if(_0x3ebbdc&&typeof _0x3ebbdc==='object'&&_0x252162(0x45d)in _0x3ebbdc)return _0x3ebbdc['selectItemsSource'];}catch{}return;}[a0_0x342bd1(0x31d)](){const _0x173673=a0_0x342bd1;return this[_0x173673(0x3c9)][_0x173673(0x2e0)][_0x173673(0x36e)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x173673(0x266)]()[_0x173673(0x2b5)]();}[a0_0x342bd1(0x1be)](){return;}[a0_0x342bd1(0x40a)](){return;}get['dbType'](){const _0x2cc92f=a0_0x342bd1;return this[_0x2cc92f(0x3c9)]['dbType'];}get[a0_0x342bd1(0x34c)](){const _0x5016a9=a0_0x342bd1;return this[_0x5016a9(0x3c9)][_0x5016a9(0x34c)];}[a0_0x342bd1(0x3e3)](){const _0x44a3f8=a0_0x342bd1;return this[_0x44a3f8(0x3c9)][_0x44a3f8(0x472)]??null;}get[a0_0x342bd1(0x472)](){const _0x297875=a0_0x342bd1;return this[_0x297875(0x3c9)]['doType']??null;}[a0_0x342bd1(0x463)](){const _0x2f3639=a0_0x342bd1;return{'name':this[_0x2f3639(0x351)],'code':this['code'],'type':this[_0x2f3639(0x399)],'dbType':this['dbType'],'dbTypeLen':this['dbTypeLen'],'doType':this[_0x2f3639(0x3e3)](),'displayName':this['displayName'],'description':this[_0x2f3639(0x1ca)],'required':this[_0x2f3639(0x303)](),'primaryKey':this[_0x2f3639(0x353)](),'system':this['isSystem'](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x2f3639(0x276)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x2f3639(0x2b6)](),'enumMeta':this[_0x2f3639(0x2b6)]()?this[_0x2f3639(0x1f0)]():undefined};}[a0_0x342bd1(0x279)](){const _0x5cf901=a0_0x342bd1;return _0x5cf901(0x3b2)+this['name']+',\x20'+this['code']+',\x20'+this[_0x5cf901(0x2e0)]+',\x20doType='+this[_0x5cf901(0x3e3)]()+')';}[a0_0x342bd1(0x3d3)](_0x29fcd1){const _0x3321a1=a0_0x342bd1,_0x3a8442={};_0x3a8442['VARCHAR']='TEXT',_0x3a8442[_0x3321a1(0x407)]='TEXT',_0x3a8442[_0x3321a1(0x2f1)]=_0x3321a1(0x1d8),_0x3a8442['LONGTEXT']=_0x3321a1(0x1d8),_0x3a8442[_0x3321a1(0x336)]=_0x3321a1(0x42e),_0x3a8442['BIGINT']=_0x3321a1(0x42e),_0x3a8442[_0x3321a1(0x2d7)]='NUMBER',_0x3a8442[_0x3321a1(0x2d9)]='NUMBER',_0x3a8442[_0x3321a1(0x349)]=_0x3321a1(0x42e),_0x3a8442[_0x3321a1(0x21d)]=_0x3321a1(0x42e),_0x3a8442[_0x3321a1(0x44a)]='NUMBER',_0x3a8442[_0x3321a1(0x302)]='DATE',_0x3a8442[_0x3321a1(0x1da)]=_0x3321a1(0x3db),_0x3a8442[_0x3321a1(0x3db)]=_0x3321a1(0x3db),_0x3a8442[_0x3321a1(0x1c4)]='TIME',_0x3a8442[_0x3321a1(0x2de)]=_0x3321a1(0x3d7),_0x3a8442[_0x3321a1(0x37d)]='SWITCH',_0x3a8442[_0x3321a1(0x327)]='FILE',_0x3a8442[_0x3321a1(0x3ea)]='FILE';const _0x3e9482=_0x3a8442,_0x556798=_0x29fcd1['toUpperCase']();return _0x3e9482[_0x556798]||_0x3321a1(0x2f1);}}class FieldListV2 extends FieldListBase{constructor(_0x40cb1c,_0x127407){super(_0x40cb1c,_0x127407);}[a0_0x342bd1(0x2c1)](_0x20fb35){return _0x20fb35['map'](_0x129eb9=>new FieldV2(_0x129eb9));}[a0_0x342bd1(0x40b)](){const _0x47d664=a0_0x342bd1;return[...this[_0x47d664(0x400)]];}['at'](_0x41ff20){return this['_fields']['at'](_0x41ff20);}['find'](_0x2fb641){const _0x5749d9=a0_0x342bd1;return this[_0x5749d9(0x400)][_0x5749d9(0x396)](_0x229fd9=>_0x229fd9['code']===_0x2fb641);}['findByName'](_0x5aba05){const _0x5318b7=a0_0x342bd1;return this['_fields'][_0x5318b7(0x396)](_0x9b824c=>_0x9b824c[_0x5318b7(0x26d)]()===_0x5aba05);}[a0_0x342bd1(0x282)](_0x281c72){const _0xecaabd=a0_0x342bd1;return this[_0xecaabd(0x400)]['filter'](_0x281c72);}[a0_0x342bd1(0x2bc)](_0x37d5f4){const _0x19fc37=a0_0x342bd1;return this[_0x19fc37(0x400)][_0x19fc37(0x2bc)](_0x37d5f4);}['getRequired'](){const _0x3e99bc=a0_0x342bd1;return this[_0x3e99bc(0x400)][_0x3e99bc(0x282)](_0x169cb0=>_0x169cb0[_0x3e99bc(0x303)]());}[a0_0x342bd1(0x420)](){const _0xec0c53=a0_0x342bd1;return this['_fields'][_0xec0c53(0x282)](_0x136aee=>_0x136aee['isPrimaryKey']());}['getSystem'](){const _0x2515ce=a0_0x342bd1;return this[_0x2515ce(0x400)][_0x2515ce(0x282)](_0x53838a=>_0x53838a[_0x2515ce(0x270)]());}['getBusiness'](){const _0x5a5387=a0_0x342bd1;return this['_fields'][_0x5a5387(0x282)](_0xc85589=>_0xc85589[_0x5a5387(0x3d6)]());}[a0_0x342bd1(0x46f)](){const _0x9744b2=a0_0x342bd1;return this['_fields'][_0x9744b2(0x282)](_0x30e9af=>_0x30e9af[_0x9744b2(0x2b6)]());}['groupByType'](){const _0x388af7=a0_0x342bd1,_0xba95f6={};return this[_0x388af7(0x400)][_0x388af7(0x40c)](_0x261d57=>{const _0x33a974=_0x388af7,_0x4ca955=_0x261d57[_0x33a974(0x399)];!_0xba95f6[_0x4ca955]&&(_0xba95f6[_0x4ca955]=[]),_0xba95f6[_0x4ca955][_0x33a974(0x37b)](_0x261d57);}),_0xba95f6;}[a0_0x342bd1(0x43b)](){const _0x55fd1e=a0_0x342bd1;return this[_0x55fd1e(0x400)]['map'](_0x5322a8=>_0x5322a8[_0x55fd1e(0x43b)]);}static['from'](_0x20898e){const _0x1d031f=a0_0x342bd1,_0x3da03a=_0x20898e[_0x1d031f(0x2bc)](_0x495af4=>_0x495af4[_0x1d031f(0x43b)]);return new FieldListV2(_0x3da03a);}static[a0_0x342bd1(0x20e)](_0x203648){const _0x2296e5=a0_0x342bd1,_0x42c96f={};return _0x42c96f[_0x2296e5(0x312)]=!![],new FieldListV2(_0x203648,_0x42c96f);}[a0_0x342bd1(0x279)](){const _0x4569f7=a0_0x342bd1;return _0x4569f7(0x33e)+this[_0x4569f7(0x345)]+_0x4569f7(0x29c);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x342bd1(0x474)];[a0_0x342bd1(0x33d)];constructor(_0x40617b){super(_0x40617b);}[a0_0x342bd1(0x28f)](){const _0x5b0049=a0_0x342bd1;if(!this[_0x5b0049(0x474)]){const _0x14b7e6={};_0x14b7e6['includeDeleted']=![],this[_0x5b0049(0x474)]=new FieldListV1(this[_0x5b0049(0x3c9)]['properties']||[],_0x14b7e6);}return this[_0x5b0049(0x474)];}[a0_0x342bd1(0x364)](){const _0x318471=a0_0x342bd1;if(!this['_fieldListV1WithDeleted']){const _0x339565={};_0x339565['includeDeleted']=!![],this[_0x318471(0x33d)]=new FieldListV1(this['_raw'][_0x318471(0x395)]||[],_0x339565);}return this[_0x318471(0x33d)];}[a0_0x342bd1(0x34a)](){const _0x21f449=a0_0x342bd1;return(this[_0x21f449(0x3c9)][_0x21f449(0x395)]||[])[_0x21f449(0x282)](_0x56dd6c=>!_0x56dd6c[_0x21f449(0x331)]);}[a0_0x342bd1(0x2ca)](){const _0x2d2e4d=a0_0x342bd1;return this[_0x2d2e4d(0x28f)]()['length'];}['getFieldRaw'](_0x337d0a){const _0x4e6492=a0_0x342bd1;return this[_0x4e6492(0x3c9)][_0x4e6492(0x395)]?.[_0x4e6492(0x396)](_0x6786a3=>_0x6786a3[_0x4e6492(0x2bd)]===_0x337d0a);}['getVersion'](){return'v1';}[a0_0x342bd1(0x228)](){const _0x429094=a0_0x342bd1,_0x10e97e={};return _0x10e97e[_0x429094(0x202)]=this[_0x429094(0x3c9)][_0x429094(0x395)]||[],_0x10e97e[_0x429094(0x312)]=![],_0x10e97e;}[a0_0x342bd1(0x2d0)](){const _0x31b0a4=a0_0x342bd1;return this['_raw'][_0x31b0a4(0x325)];}[a0_0x342bd1(0x2e3)](){const _0x399c08=a0_0x342bd1;return this['_raw'][_0x399c08(0x328)];}[a0_0x342bd1(0x411)](){const _0x57b31f=a0_0x342bd1,_0x898465=this['getRawDbtableConfig'](),_0x2a9b2b=_0x898465?.['dblinkInfoDTO'],_0x46ec95={};return _0x46ec95[_0x57b31f(0x442)]=_0x898465?.[_0x57b31f(0x442)],_0x46ec95['dbName']=_0x898465?.[_0x57b31f(0x406)]??_0x2a9b2b?.['dbName'],_0x46ec95[_0x57b31f(0x2e0)]=_0x2a9b2b?.[_0x57b31f(0x2e0)],_0x46ec95[_0x57b31f(0x23d)]=_0x2a9b2b?.[_0x57b31f(0x23d)],_0x46ec95[_0x57b31f(0x269)]=_0x898465?.['tableName'],_0x46ec95[_0x57b31f(0x1fd)]=_0x898465?.[_0x57b31f(0x1fd)],_0x46ec95['pkField']=_0x898465?.[_0x57b31f(0x2ab)],_0x46ec95['tenantCode']=_0x2a9b2b?.[_0x57b31f(0x264)],_0x46ec95['appCode']=_0x2a9b2b?.[_0x57b31f(0x223)],new DBConfig(_0x46ec95,_0x898465);}get[a0_0x342bd1(0x3f5)](){const _0x390790=a0_0x342bd1;return this[_0x390790(0x3c9)]['version'];}['getFieldInstance'](_0x3b8e49){const _0x2939d2=a0_0x342bd1;if(typeof _0x3b8e49!==_0x2939d2(0x3d2)){!![]&&console[_0x2939d2(0x1fc)]('[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x3b8e49);return;}return this[_0x2939d2(0x28f)]()[_0x2939d2(0x396)](_0x3b8e49);}[a0_0x342bd1(0x3f9)](_0xa678da){const _0x3fbd02=a0_0x342bd1;if(!_0xa678da||typeof _0xa678da!==_0x3fbd02(0x1eb))return![];const _0x8cb2f2=this['getFieldInstance'](_0xa678da['code']);return _0x8cb2f2?_0x8cb2f2[_0x3fbd02(0x1e3)]():![];}[a0_0x342bd1(0x3d5)](){const _0x4927f0=a0_0x342bd1,_0x2784e1=this[_0x4927f0(0x465)](_0x4927f0(0x282));return _0x2784e1;}['hasFilterOperation'](){const _0x837b14=a0_0x342bd1;return this['hasOperation'](_0x837b14(0x282));}[a0_0x342bd1(0x3f2)](){const _0x445eda=a0_0x342bd1;return new DatasetItem({'id':this['id'],'name':this[_0x445eda(0x351)],'datasetCode':this[_0x445eda(0x37f)],'dbtableConfig':this[_0x445eda(0x304)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];[a0_0x342bd1(0x3b7)];[a0_0x342bd1(0x29a)];constructor(_0x3d1ebe){const _0x15ca5f=a0_0x342bd1;super(_0x3d1ebe),this[_0x15ca5f(0x3b7)]=_0x3d1ebe['dataset'],this['_relations']=_0x3d1ebe[_0x15ca5f(0x2e4)]||[];}[a0_0x342bd1(0x403)](){return'v2';}[a0_0x342bd1(0x228)](){const _0x1dae1a=a0_0x342bd1,_0xded554={};return _0xded554[_0x1dae1a(0x202)]=this['_raw'][_0x1dae1a(0x202)],_0xded554[_0x1dae1a(0x312)]=![],_0xded554;}[a0_0x342bd1(0x2d0)](){const _0x38a09a=a0_0x342bd1;return this[_0x38a09a(0x3c9)]['operations'];}[a0_0x342bd1(0x2e3)](){const _0x1a9b74=a0_0x342bd1;return this[_0x1a9b74(0x3c9)]['source'];}['getDBConfig'](){const _0x5a4197=a0_0x342bd1,_0x89f10c=this[_0x5a4197(0x3c9)][_0x5a4197(0x1b2)],_0x1a3bf4=_0x89f10c?.['dblinkInfoDTO'],_0x163acb={};return _0x163acb[_0x5a4197(0x442)]=_0x89f10c?.[_0x5a4197(0x442)],_0x163acb[_0x5a4197(0x406)]=_0x89f10c?.[_0x5a4197(0x406)]??_0x1a3bf4?.[_0x5a4197(0x406)],_0x163acb[_0x5a4197(0x2e0)]=_0x1a3bf4?.['dbType'],_0x163acb[_0x5a4197(0x23d)]=_0x1a3bf4?.[_0x5a4197(0x23d)],_0x163acb[_0x5a4197(0x269)]=_0x89f10c?.[_0x5a4197(0x269)],_0x163acb['datasetKey']=_0x89f10c?.[_0x5a4197(0x1fd)],_0x163acb[_0x5a4197(0x2ab)]=_0x89f10c?.[_0x5a4197(0x2ab)],_0x163acb[_0x5a4197(0x264)]=_0x89f10c?.[_0x5a4197(0x264)]??_0x1a3bf4?.[_0x5a4197(0x264)],_0x163acb[_0x5a4197(0x223)]=_0x89f10c?.[_0x5a4197(0x223)]??_0x1a3bf4?.[_0x5a4197(0x223)],new DBConfig(_0x163acb,_0x89f10c);}[a0_0x342bd1(0x28f)](){return this['getFieldListV2']();}[a0_0x342bd1(0x34a)](){const _0x2be976=a0_0x342bd1;return this[_0x2be976(0x3c9)]['fields'];}['getFieldCount'](){const _0x4afdcf=a0_0x342bd1;return this[_0x4afdcf(0x3c9)][_0x4afdcf(0x202)][_0x4afdcf(0x345)];}[a0_0x342bd1(0x246)](_0x1047e0){const _0x271d82=a0_0x342bd1;return this['_raw']['fields'][_0x271d82(0x396)](_0x38722b=>_0x38722b[_0x271d82(0x351)]===_0x1047e0);}['getDatasetMeta'](){const _0x1a2e21=a0_0x342bd1;return this[_0x1a2e21(0x3b7)];}[a0_0x342bd1(0x247)](){const _0x20b43a=a0_0x342bd1;return this[_0x20b43a(0x29a)];}[a0_0x342bd1(0x451)](){const _0x37e93c=a0_0x342bd1;return this[_0x37e93c(0x3b7)]['indexes']||[];}[a0_0x342bd1(0x2cd)](_0x5bb189){const _0x36fd83=a0_0x342bd1;return this[_0x36fd83(0x29a)]['filter'](_0x3c7b21=>_0x3c7b21[_0x36fd83(0x1cc)]===_0x5bb189);}[a0_0x342bd1(0x1f2)](_0x3952a4){return this['_relations']['some'](_0x5b4062=>_0x5b4062['fromField']===_0x3952a4);}[a0_0x342bd1(0x3c8)](_0x9ce469){const _0xdb74bf=a0_0x342bd1,_0x2418e5=this[_0xdb74bf(0x29a)][_0xdb74bf(0x396)](_0x4e5504=>_0x4e5504['fromField']===_0x9ce469);if(!_0x2418e5)return;const _0x470087={};return _0x470087['datasetId']=_0x2418e5[_0xdb74bf(0x2b9)],_0x470087[_0xdb74bf(0x37f)]=_0x2418e5[_0xdb74bf(0x300)],_0x470087[_0xdb74bf(0x439)]=_0x2418e5[_0xdb74bf(0x2d3)],_0x470087[_0xdb74bf(0x269)]=_0x2418e5[_0xdb74bf(0x35e)],_0x470087[_0xdb74bf(0x390)]=_0x2418e5[_0xdb74bf(0x390)],_0x470087;}['getForeignKeyFields'](){const _0xf211d1=a0_0x342bd1;return this[_0xf211d1(0x29a)]['map'](_0x4f2f3c=>_0x4f2f3c[_0xf211d1(0x1cc)]);}['getFieldListV2'](){const _0x202c47=a0_0x342bd1;if(!this[_0x202c47(0x2d1)]){const _0x3d539d=this[_0x202c47(0x3c9)][_0x202c47(0x202)]||[];this[_0x202c47(0x2d1)]=new FieldListV2(_0x3d539d);}return this[_0x202c47(0x2d1)];}[a0_0x342bd1(0x2cb)](_0x4591c1){const _0x354ca3=a0_0x342bd1;if(typeof _0x4591c1!=='string'){!![]&&console[_0x354ca3(0x1fc)](_0x354ca3(0x208),_0x4591c1);return;}return this[_0x354ca3(0x436)]()[_0x354ca3(0x396)](_0x4591c1);}[a0_0x342bd1(0x3f9)](_0x536619){const _0x4065e3=a0_0x342bd1;if(!_0x536619||typeof _0x536619!==_0x4065e3(0x1eb))return![];const _0x292dff=_0x536619[_0x4065e3(0x351)]||_0x536619['code'],_0x48ce5b=this[_0x4065e3(0x2cb)](_0x292dff);return _0x48ce5b?_0x48ce5b[_0x4065e3(0x1e3)]():![];}[a0_0x342bd1(0x2b0)](){const _0x3cb9f2=a0_0x342bd1;if(!this['_operationList']){const _0x56c840=this['ensureFilterOperation'](this[_0x3cb9f2(0x2d0)]()||{});this['_operationList']=new OperationList(_0x56c840,{'fields':this[_0x3cb9f2(0x436)]()[_0x3cb9f2(0x40b)](),'pkField':this['_raw'][_0x3cb9f2(0x1b2)]?.[_0x3cb9f2(0x2ab)],'dbtableConfig':this[_0x3cb9f2(0x3c9)][_0x3cb9f2(0x1b2)]||null});}return this['_operationList'];}[a0_0x342bd1(0x3d5)](){const _0x5528bf=a0_0x342bd1,_0xac4915=this[_0x5528bf(0x465)](_0x5528bf(0x282));return _0xac4915;}[a0_0x342bd1(0x317)](){const _0xe8fb63=a0_0x342bd1;return this[_0xe8fb63(0x341)](_0xe8fb63(0x282));}[a0_0x342bd1(0x3f2)](){const _0x1dc424=a0_0x342bd1;return new DatasetItem({'id':this['id'],'name':this[_0x1dc424(0x351)],'datasetCode':this[_0x1dc424(0x37f)],'dbtableConfig':this[_0x1dc424(0x304)]()});}[a0_0x342bd1(0x279)](){const _0x577edf=a0_0x342bd1,_0x1a4ea1=this[_0x577edf(0x29a)][_0x577edf(0x345)],_0x24371c=this[_0x577edf(0x451)]()[_0x577edf(0x345)];return _0x577edf(0x2c2)+this[_0x577edf(0x351)]+',\x20'+this['datasetCode']+',\x20'+this[_0x577edf(0x2ca)]()+'\x20fields,\x20'+this[_0x577edf(0x42b)]()+_0x577edf(0x2c7)+_0x1a4ea1+_0x577edf(0x2db)+_0x24371c+_0x577edf(0x455);}['getFieldsV2'](){const _0x36691d=a0_0x342bd1;return this[_0x36691d(0x3c9)][_0x36691d(0x202)];}['getFieldV2'](_0x256908){const _0x180869=a0_0x342bd1;return this[_0x180869(0x3c9)]['fields'][_0x180869(0x396)](_0x800e3d=>_0x800e3d[_0x180869(0x351)]===_0x256908);}}function detectDatasetVersion(_0x3391fc){const _0x199aad=a0_0x342bd1;if(_0x3391fc['doVersion']==='v2'&&_0x199aad(0x202)in _0x3391fc&&Array[_0x199aad(0x200)](_0x3391fc['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x342bd1(0x24f)];constructor(_0x37f368){super(_0x37f368);const _0x3feaf8=detectDatasetVersion(_0x37f368);this['_instance']=_0x3feaf8==='v2'?new DrivenDataDetailV2(_0x37f368):new DrivenDataDetailV1(_0x37f368);}get['id'](){return this['_instance']['id'];}get[a0_0x342bd1(0x351)](){const _0x56b4a9=a0_0x342bd1;return this[_0x56b4a9(0x24f)][_0x56b4a9(0x351)];}get[a0_0x342bd1(0x37f)](){const _0x3bfd69=a0_0x342bd1;return this[_0x3bfd69(0x24f)][_0x3bfd69(0x37f)];}get[a0_0x342bd1(0x3f5)](){const _0x2710b4=a0_0x342bd1;return this[_0x2710b4(0x24f)][_0x2710b4(0x403)]()==='v2'?_0x2710b4(0x3b8):'1.0';}[a0_0x342bd1(0x403)](){const _0x1180a5=a0_0x342bd1;return this['_instance'][_0x1180a5(0x403)]();}[a0_0x342bd1(0x2a3)](){const _0x24fedb=a0_0x342bd1;return this[_0x24fedb(0x24f)]['id'];}[a0_0x342bd1(0x32d)](){const _0x15575d=a0_0x342bd1;return this[_0x15575d(0x24f)][_0x15575d(0x37f)];}[a0_0x342bd1(0x3c3)](){const _0x21ac1d=a0_0x342bd1;return this[_0x21ac1d(0x24f)]['name'];}[a0_0x342bd1(0x228)](){const _0x4b1a8b=a0_0x342bd1;return this[_0x4b1a8b(0x24f)][_0x4b1a8b(0x228)]();}[a0_0x342bd1(0x2d0)](){const _0x42a4a0=a0_0x342bd1;return this[_0x42a4a0(0x24f)]['getOperationsData']();}[a0_0x342bd1(0x2e3)](){const _0x491703=a0_0x342bd1;return this[_0x491703(0x24f)][_0x491703(0x2e3)]();}[a0_0x342bd1(0x364)](){const _0x2040a6=a0_0x342bd1;return this['_instance'][_0x2040a6(0x364)]();}['getFieldList'](){const _0x36ee3c=a0_0x342bd1;return this[_0x36ee3c(0x24f)][_0x36ee3c(0x28f)]();}['getFieldsWithDeleted'](){const _0x310585=a0_0x342bd1;return this[_0x310585(0x24f)][_0x310585(0x326)]();}[a0_0x342bd1(0x34a)](){const _0x29f085=a0_0x342bd1;return this[_0x29f085(0x24f)][_0x29f085(0x34a)]();}[a0_0x342bd1(0x2ca)](){const _0x33ec4c=a0_0x342bd1;return this[_0x33ec4c(0x24f)][_0x33ec4c(0x2ca)]();}['getPkField'](){const _0x5dfb89=a0_0x342bd1,_0x34ec6b=this[_0x5dfb89(0x24f)][_0x5dfb89(0x304)]();return _0x34ec6b?.[_0x5dfb89(0x2ab)];}['getDBConfig'](){const _0x5e14df=a0_0x342bd1;return this[_0x5e14df(0x24f)][_0x5e14df(0x411)]();}[a0_0x342bd1(0x2cb)](_0x465fbc){const _0x4b2f0c=a0_0x342bd1;return this[_0x4b2f0c(0x24f)]['getFieldInstance'](_0x465fbc);}['getPrimaryKeyFields'](){const _0x3aba20=a0_0x342bd1;return this[_0x3aba20(0x24f)][_0x3aba20(0x209)]();}[a0_0x342bd1(0x374)](){const _0x397572=a0_0x342bd1;return this[_0x397572(0x24f)][_0x397572(0x374)]();}['getBusinessFields'](){const _0x3fa939=a0_0x342bd1;return this['_instance'][_0x3fa939(0x3fd)]();}[a0_0x342bd1(0x1f1)](){const _0x1f113f=a0_0x342bd1;return this[_0x1f113f(0x24f)][_0x1f113f(0x1f1)]();}[a0_0x342bd1(0x3ef)](){const _0x1d126d=a0_0x342bd1;return this[_0x1d126d(0x24f)][_0x1d126d(0x3ef)]();}[a0_0x342bd1(0x252)](){const _0x324716=a0_0x342bd1;return this[_0x324716(0x24f)]['getEnumFields']();}['getEnumFieldsMeta'](){const _0x4e1c11=a0_0x342bd1;return this[_0x4e1c11(0x24f)][_0x4e1c11(0x31b)]();}[a0_0x342bd1(0x1df)](){const _0x1b1fb2=a0_0x342bd1;return this[_0x1b1fb2(0x24f)]['getOperations']();}['getOperationCount'](){const _0x243778=a0_0x342bd1;return this[_0x243778(0x24f)][_0x243778(0x42b)]();}[a0_0x342bd1(0x3b6)](){const _0x254c20=a0_0x342bd1;return this[_0x254c20(0x24f)][_0x254c20(0x3b6)]();}['getDisabledOperations'](){const _0x56d250=a0_0x342bd1;return this[_0x56d250(0x24f)][_0x56d250(0x221)]();}['getEnabledOperationInstances'](){const _0x56c925=a0_0x342bd1;return this[_0x56c925(0x24f)]['getEnabledOperationInstances']();}[a0_0x342bd1(0x36a)](){const _0x6393aa=a0_0x342bd1;return this[_0x6393aa(0x24f)][_0x6393aa(0x36a)]();}['getStats'](){const _0x1939f4=a0_0x342bd1;return this[_0x1939f4(0x24f)][_0x1939f4(0x1cb)]();}['getDatasetMeta'](){const _0x2431b3=a0_0x342bd1;return this[_0x2431b3(0x24f)][_0x2431b3(0x377)]();}[a0_0x342bd1(0x247)](){const _0x2d7d28=a0_0x342bd1;return this[_0x2d7d28(0x24f)][_0x2d7d28(0x247)]();}[a0_0x342bd1(0x451)](){const _0x52cd7b=a0_0x342bd1;return this[_0x52cd7b(0x24f)][_0x52cd7b(0x451)]();}['getFilterOperators'](){const _0xf09ed8=a0_0x342bd1;return this[_0xf09ed8(0x24f)][_0xf09ed8(0x2ff)]();}['getFieldsFilterOperatorsMap'](){const _0x4a7bb0=a0_0x342bd1;return this[_0x4a7bb0(0x24f)][_0x4a7bb0(0x265)]();}[a0_0x342bd1(0x463)](){const _0x458973=a0_0x342bd1;return this[_0x458973(0x24f)][_0x458973(0x463)]();}['getFilterOperation'](){const _0x94f732=a0_0x342bd1;return this[_0x94f732(0x24f)]['getFilterOperation']();}[a0_0x342bd1(0x317)](){const _0x19e424=a0_0x342bd1;return this[_0x19e424(0x24f)]['hasFilterOperation']();}[a0_0x342bd1(0x3f2)](){const _0x18d960=a0_0x342bd1;return this[_0x18d960(0x24f)][_0x18d960(0x3f2)]();}[a0_0x342bd1(0x279)](){const _0x57eacf=a0_0x342bd1;return this['_instance'][_0x57eacf(0x279)]();}['getInternalInstance'](){return this['_instance'];}}function detectDatasetVersion2(_0x5e254c){const _0xc6ab41=a0_0x342bd1;if(_0x5e254c[_0xc6ab41(0x34e)]==='v2'&&_0xc6ab41(0x202)in _0x5e254c&&Array[_0xc6ab41(0x200)](_0x5e254c[_0xc6ab41(0x202)]))return'v2';return'v1';}function createDrivenDataDetail(_0x2c5d27,_0x594eb9={}){const {forceVersion:_0x8ff862}=_0x594eb9;if(_0x8ff862==='v2')return new DrivenDataDetailV2(_0x2c5d27);if(_0x8ff862==='v1')return new DrivenDataDetailV1(_0x2c5d27);const _0x27705b=detectDatasetVersion2(_0x2c5d27);if(_0x27705b==='v2')return new DrivenDataDetailV2(_0x2c5d27);return new DrivenDataDetailV1(_0x2c5d27);}function isV2Data(_0xacc279){return detectDatasetVersion2(_0xacc279)==='v2';}function isV1Data(_0x589568){return detectDatasetVersion2(_0x589568)==='v1';}function isV2Instance(_0x522671){const _0x82320e=a0_0x342bd1;return _0x522671[_0x82320e(0x403)]()==='v2';}function isV1Instance(_0x12dc03){const _0xba456c=a0_0x342bd1;return _0x12dc03[_0xba456c(0x403)]()==='v1';}class DatasetGroup{[a0_0x342bd1(0x360)];constructor(_0x1dff72){const _0xb88823=a0_0x342bd1;this[_0xb88823(0x360)]=Array['isArray'](_0x1dff72)?[..._0x1dff72]:[_0x1dff72],this[_0xb88823(0x360)]['sort']((_0x234afb,_0x7d6ba9)=>{const _0x4758ab=Number(_0x234afb['id'])||0x0,_0x47b93b=Number(_0x7d6ba9['id'])||0x0;return _0x47b93b-_0x4758ab;});}[a0_0x342bd1(0x3e0)](){const _0x281bb1=a0_0x342bd1;return this[_0x281bb1(0x360)]['length']>0x1;}[a0_0x342bd1(0x281)](){const _0x492ab4=a0_0x342bd1;return this[_0x492ab4(0x360)][0x0];}['getOldest'](){const _0x45262e=a0_0x342bd1;return this[_0x45262e(0x360)][this[_0x45262e(0x360)][_0x45262e(0x345)]-0x1];}[a0_0x342bd1(0x233)](){const _0x4cbc30=a0_0x342bd1;return[...this[_0x4cbc30(0x360)]];}['getCount'](){const _0x629ea4=a0_0x342bd1;return this[_0x629ea4(0x360)][_0x629ea4(0x345)];}[a0_0x342bd1(0x2bb)](_0x252c3e){const _0x57196a=a0_0x342bd1;return this[_0x57196a(0x360)][_0x252c3e];}[a0_0x342bd1(0x3e5)](_0x1b2b5c){const _0x5ea8dc=a0_0x342bd1;return this[_0x5ea8dc(0x360)][_0x5ea8dc(0x396)](_0x5413d1=>_0x5413d1['id']===_0x1b2b5c);}[a0_0x342bd1(0x45b)](_0xc5c937){const _0x5c7615=a0_0x342bd1;return this[_0x5c7615(0x360)]['find'](_0x1f79d1=>_0x1f79d1[_0x5c7615(0x37f)]===_0xc5c937);}[a0_0x342bd1(0x26e)](){const _0x1988ce=a0_0x342bd1;return this[_0x1988ce(0x360)][_0x1988ce(0x2bc)](_0x5e8742=>_0x5e8742['id'])[_0x1988ce(0x282)](_0x54feef=>_0x54feef!==undefined);}[a0_0x342bd1(0x22e)](){const _0x2eb6be=a0_0x342bd1;return this[_0x2eb6be(0x360)][_0x2eb6be(0x2bc)](_0xed3c0a=>_0xed3c0a[_0x2eb6be(0x37f)]);}[a0_0x342bd1(0x279)](){const _0x100a87=a0_0x342bd1;if(this[_0x100a87(0x3e0)]())return _0x100a87(0x2d8)+this[_0x100a87(0x360)][_0x100a87(0x345)]+_0x100a87(0x368)+this[_0x100a87(0x281)]()[_0x100a87(0x351)]+')';return'DatasetGroup('+this[_0x100a87(0x360)][0x0][_0x100a87(0x351)]+')';}}class DatasetGroupMap{[a0_0x342bd1(0x240)];constructor(_0x446aee){const _0x3fd391=a0_0x342bd1;this[_0x3fd391(0x240)]=new Map();for(const _0x123895 of _0x446aee){const _0x1bf448=getTableKey(_0x123895);if(!this[_0x3fd391(0x240)][_0x3fd391(0x2a1)](_0x1bf448))this[_0x3fd391(0x240)][_0x3fd391(0x3a0)](_0x1bf448,new DatasetGroup(_0x123895));else{const _0x35e632=this[_0x3fd391(0x240)][_0x3fd391(0x394)](_0x1bf448),_0x47c9b6=[..._0x35e632[_0x3fd391(0x233)](),_0x123895];this[_0x3fd391(0x240)][_0x3fd391(0x3a0)](_0x1bf448,new DatasetGroup(_0x47c9b6));}}}['get'](_0x437101){return this['groups']['get'](_0x437101);}[a0_0x342bd1(0x2a1)](_0x6001){const _0x457147=a0_0x342bd1;return this[_0x457147(0x240)][_0x457147(0x2a1)](_0x6001);}get[a0_0x342bd1(0x1b1)](){const _0x90aa47=a0_0x342bd1;return this[_0x90aa47(0x240)][_0x90aa47(0x1b1)];}[a0_0x342bd1(0x1ea)](){const _0xe95dc=a0_0x342bd1;return this[_0xe95dc(0x240)][_0xe95dc(0x1ea)]();}['values'](){const _0x2e0fd3=a0_0x342bd1;return this[_0x2e0fd3(0x240)][_0x2e0fd3(0x31e)]();}['entries'](){const _0x27400a=a0_0x342bd1;return this['groups'][_0x27400a(0x241)]();}[Symbol[a0_0x342bd1(0x24b)]](){const _0xb0aeea=a0_0x342bd1;return this[_0xb0aeea(0x240)][_0xb0aeea(0x241)]();}['forEach'](_0x57b107){const _0x12a8d0=a0_0x342bd1;this[_0x12a8d0(0x240)]['forEach']((_0x1dc3fc,_0x4eb9f2)=>_0x57b107(_0x1dc3fc,_0x4eb9f2,this));}['getConflicts'](){const _0x16e874=a0_0x342bd1,_0x57a2ee=new Map();for(const [_0x30021f,_0x1bc6b0]of this['groups']){_0x1bc6b0[_0x16e874(0x3e0)]()&&_0x57a2ee['set'](_0x30021f,_0x1bc6b0);}return _0x57a2ee;}[a0_0x342bd1(0x1b9)](){const _0x24a396=a0_0x342bd1;for(const _0x453ba7 of this[_0x24a396(0x240)][_0x24a396(0x31e)]()){if(_0x453ba7[_0x24a396(0x3e0)]())return!![];}return![];}[a0_0x342bd1(0x27d)](){const _0x57310e=a0_0x342bd1;let _0x3c14e0=0x0,_0x24e269=0x0;for(const _0x1113db of this[_0x57310e(0x240)][_0x57310e(0x31e)]()){_0x1113db[_0x57310e(0x3e0)]()&&(_0x3c14e0++,_0x24e269+=_0x1113db[_0x57310e(0x2e8)]());}const _0x5f5c6d={};return _0x5f5c6d['conflictGroupCount']=_0x3c14e0,_0x5f5c6d['conflictItemCount']=_0x24e269,_0x5f5c6d[_0x57310e(0x38e)]=this[_0x57310e(0x240)][_0x57310e(0x1b1)],_0x5f5c6d;}[a0_0x342bd1(0x363)](){const _0x10777d=a0_0x342bd1,_0x232567=[];for(const _0x4bf078 of this[_0x10777d(0x240)][_0x10777d(0x31e)]()){_0x232567[_0x10777d(0x37b)](..._0x4bf078[_0x10777d(0x233)]());}return _0x232567;}['getLatestDatasets'](){const _0x326980=a0_0x342bd1,_0x29cc9f=[];for(const _0x20856a of this[_0x326980(0x240)][_0x326980(0x31e)]()){_0x29cc9f[_0x326980(0x37b)](_0x20856a['getLatest']());}return _0x29cc9f;}[a0_0x342bd1(0x281)](_0x547939){const _0x3ac39d=a0_0x342bd1;return this[_0x3ac39d(0x240)][_0x3ac39d(0x394)](_0x547939)?.[_0x3ac39d(0x281)]();}[a0_0x342bd1(0x233)](_0x3c8993){const _0x35597b=a0_0x342bd1;return this[_0x35597b(0x240)][_0x35597b(0x394)](_0x3c8993)?.[_0x35597b(0x233)]()||[];}[a0_0x342bd1(0x1c7)](){const _0x49f0fa=a0_0x342bd1,_0x3d346e=this[_0x49f0fa(0x231)](),_0xc5916e=_0x3d346e[_0x49f0fa(0x2bc)](_0x433bbb=>_0x433bbb['toJSON']()),_0x1e744e={};return _0x1e744e[_0x49f0fa(0x275)]=![],generateDatasetsConfig(_0xc5916e,_0x1e744e);}['toFullConfig'](){const _0x2841e9=a0_0x342bd1,_0x2c75e9=this[_0x2841e9(0x363)](),_0x123bad=_0x2c75e9[_0x2841e9(0x2bc)](_0x3858d4=>_0x3858d4[_0x2841e9(0x463)]());return generateFullDatasetsConfig(_0x123bad);}[a0_0x342bd1(0x27b)](){const _0x1304e2=a0_0x342bd1,_0x5b1f55={};for(const [_0x502cf1,_0x8227e]of this[_0x1304e2(0x240)]){_0x5b1f55[_0x502cf1]=_0x8227e;}return _0x5b1f55;}[a0_0x342bd1(0x463)](){const _0xe5e4b7=a0_0x342bd1,_0x280ac1={};for(const [_0x330592,_0x28ee13]of this[_0xe5e4b7(0x240)]){_0x280ac1[_0x330592]=_0x28ee13[_0xe5e4b7(0x233)]()[_0xe5e4b7(0x2bc)](_0x31cefa=>_0x31cefa[_0xe5e4b7(0x463)]());}return _0x280ac1;}[a0_0x342bd1(0x279)](){const _0x36e782=a0_0x342bd1;return _0x36e782(0x324)+this['groups'][_0x36e782(0x1b1)]+_0x36e782(0x3e6)+(this[_0x36e782(0x1b9)]()?_0x36e782(0x2f0):_0x36e782(0x1e1))+')';}}class DatasetList{[a0_0x342bd1(0x427)];constructor(_0x4dc2e8){const _0x58e699=a0_0x342bd1;let _0x1837fc;if(Array[_0x58e699(0x200)](_0x4dc2e8))_0x1837fc=_0x4dc2e8;else{if(_0x58e699(0x284)in _0x4dc2e8){if(!_0x4dc2e8[_0x58e699(0x284)])throw new Error(_0x58e699(0x1ad));if(Array['isArray'](_0x4dc2e8[_0x58e699(0x24c)]))_0x1837fc=_0x4dc2e8['data']['map'](_0x108d30=>({..._0x108d30,'datasetCode':_0x108d30[_0x58e699(0x2bd)]||_0x108d30['datasetCode']}));else{if(_0x4dc2e8[_0x58e699(0x24c)]?.[_0x58e699(0x1bd)])_0x1837fc=_0x4dc2e8[_0x58e699(0x24c)][_0x58e699(0x1bd)]['map'](_0x4bc140=>({..._0x4bc140,'datasetCode':_0x4bc140[_0x58e699(0x2bd)]||_0x4bc140[_0x58e699(0x37f)]}));else throw new Error(_0x58e699(0x2f5));}}else{if(_0x58e699(0x1bd)in _0x4dc2e8){if(!Array['isArray'](_0x4dc2e8[_0x58e699(0x1bd)]))throw new Error(_0x58e699(0x1d2));_0x1837fc=_0x4dc2e8['tableData'][_0x58e699(0x2bc)](_0x401e8a=>({..._0x401e8a,'datasetCode':_0x401e8a['code']||_0x401e8a[_0x58e699(0x37f)]}));}else throw new Error(_0x58e699(0x2b2));}}const _0x41d39c=_0x1837fc[_0x58e699(0x2bc)](_0x4e8411=>new DatasetItem(_0x4e8411));this[_0x58e699(0x427)]=new DatasetGroupMap(_0x41d39c);}get[a0_0x342bd1(0x29f)](){return this['_datasetMap'];}['getItems'](){const _0x528c73=a0_0x342bd1;return this[_0x528c73(0x427)][_0x528c73(0x363)]();}[a0_0x342bd1(0x2e8)](){const _0x15592f=a0_0x342bd1;return this['getItems']()[_0x15592f(0x345)];}[a0_0x342bd1(0x322)](){const _0x511520=a0_0x342bd1;return this[_0x511520(0x427)][_0x511520(0x1b1)]===0x0;}[a0_0x342bd1(0x2bb)](_0x498326){const _0x12e995=a0_0x342bd1;return this[_0x12e995(0x337)]()[_0x498326];}[a0_0x342bd1(0x2b8)](){const _0x53acdb=a0_0x342bd1;return this[_0x53acdb(0x337)]()[0x0];}[a0_0x342bd1(0x1b6)](){const _0x4e723e=this['getItems']();return _0x4e723e[_0x4e723e['length']-0x1];}[a0_0x342bd1(0x45b)](_0x20df79){const _0x2e363f=a0_0x342bd1;for(const _0x1456a8 of this[_0x2e363f(0x427)][_0x2e363f(0x31e)]()){const _0x5cd9d7=_0x1456a8[_0x2e363f(0x45b)](_0x20df79);if(_0x5cd9d7)return _0x5cd9d7;}return;}[a0_0x342bd1(0x20d)](_0x350b6f){const _0x39d510=a0_0x342bd1;return this[_0x39d510(0x337)]()[_0x39d510(0x396)](_0x44d54a=>_0x44d54a[_0x39d510(0x351)]===_0x350b6f);}[a0_0x342bd1(0x3e5)](_0xd435dc){const _0x5e0254=a0_0x342bd1;for(const _0x83c817 of this[_0x5e0254(0x427)][_0x5e0254(0x31e)]()){const _0x12398b=_0x83c817[_0x5e0254(0x3e5)](_0xd435dc);if(_0x12398b)return _0x12398b;}return;}[a0_0x342bd1(0x373)](_0x51e2fd){const _0xcc8212=a0_0x342bd1,_0xf589f9=getTableKey(_0x51e2fd);return this[_0xcc8212(0x427)]['getLatest'](_0xf589f9);}[a0_0x342bd1(0x282)](_0xc9257f){const _0x2af5cf=a0_0x342bd1,_0x1d9fac=this[_0x2af5cf(0x337)]()[_0x2af5cf(0x282)](_0xc9257f);return new DatasetList(_0x1d9fac[_0x2af5cf(0x2bc)](_0x14fd47=>_0x14fd47[_0x2af5cf(0x463)]()));}['findAll'](_0x46357a){const _0x358209=a0_0x342bd1;return this[_0x358209(0x337)]()[_0x358209(0x282)](_0x46357a);}['forEach'](_0x3281e8){const _0x189eef=a0_0x342bd1;this[_0x189eef(0x337)]()[_0x189eef(0x40c)](_0x3281e8);}[a0_0x342bd1(0x2bc)](_0x3d28a2){const _0x3ef3a4=a0_0x342bd1;return this[_0x3ef3a4(0x337)]()[_0x3ef3a4(0x2bc)](_0x3d28a2);}[Symbol['iterator']](){const _0x5a0556=a0_0x342bd1;return this[_0x5a0556(0x337)]()[Symbol[_0x5a0556(0x24b)]]();}[a0_0x342bd1(0x25c)](){const _0x416c84=a0_0x342bd1;return this['getItems']()[_0x416c84(0x282)](_0x12d97b=>_0x12d97b[_0x416c84(0x342)]());}[a0_0x342bd1(0x280)](){return this['getItems']()['filter'](_0x473868=>!_0x473868['isVirtualTable']());}[a0_0x342bd1(0x2dc)](){const _0x5d1cf1=a0_0x342bd1,_0x33301f={};for(const _0x4bbbb8 of this[_0x5d1cf1(0x427)]['values']()){const _0x57bbb3=_0x4bbbb8[_0x5d1cf1(0x281)]()[_0x5d1cf1(0x2a7)]();_0x33301f[_0x57bbb3]=_0x4bbbb8[_0x5d1cf1(0x233)]();}return _0x33301f;}[a0_0x342bd1(0x274)](){const _0x2f8112=a0_0x342bd1,_0x19f9af={};for(const _0x3093e1 of this['_datasetMap']['getConflicts']()[_0x2f8112(0x31e)]()){const _0x2c9407=_0x3093e1['getLatest']()['getTableName']();_0x19f9af[_0x2c9407]=_0x3093e1['getAll']()[_0x2f8112(0x2bc)](_0x208bd7=>_0x208bd7['toJSON']());}return{'hasConflicts':Object[_0x2f8112(0x1ea)](_0x19f9af)[_0x2f8112(0x345)]>0x0,'conflicts':_0x19f9af};}['hasConflicts'](){const _0x461f44=a0_0x342bd1;return this['_datasetMap'][_0x461f44(0x1b9)]();}[a0_0x342bd1(0x3af)](){const _0x2575de=a0_0x342bd1,_0x5b8cc1=[];for(const _0x58cc59 of this[_0x2575de(0x427)][_0x2575de(0x2f6)]()['values']()){_0x5b8cc1[_0x2575de(0x37b)](..._0x58cc59[_0x2575de(0x233)]());}return _0x5b8cc1;}[a0_0x342bd1(0x30a)](_0x13f21a){const _0x6b23b8=a0_0x342bd1;if(!_0x13f21a||Object[_0x6b23b8(0x1ea)](_0x13f21a)[_0x6b23b8(0x345)]===0x0)return this[_0x6b23b8(0x29f)][_0x6b23b8(0x1c7)]();const _0x2bba22=this['getItems']()['map'](_0x571cc3=>_0x571cc3[_0x6b23b8(0x463)]());return generateDatasetsConfig(_0x2bba22,_0x13f21a);}[a0_0x342bd1(0x343)](_0x20ae27){const _0x404d82=a0_0x342bd1,_0x5ce2f8=this[_0x404d82(0x30a)](_0x20ae27);return datasetsConfigToArray(_0x5ce2f8);}[a0_0x342bd1(0x3d1)](){const _0x3cc235=a0_0x342bd1;return this[_0x3cc235(0x337)]()[_0x3cc235(0x2bc)](_0x224db8=>_0x224db8[_0x3cc235(0x1c7)]());}[a0_0x342bd1(0x1cb)](){const _0x5cd2e2=a0_0x342bd1;return{'total':this[_0x5cd2e2(0x2e8)](),'virtualTables':this[_0x5cd2e2(0x25c)]()[_0x5cd2e2(0x345)],'realTables':this[_0x5cd2e2(0x280)]()[_0x5cd2e2(0x345)],'hasConflicts':this[_0x5cd2e2(0x1b9)](),'conflictCount':this[_0x5cd2e2(0x3af)]()[_0x5cd2e2(0x345)]};}[a0_0x342bd1(0x3bd)](){const _0x4e606e=a0_0x342bd1;return this[_0x4e606e(0x337)]()[_0x4e606e(0x2bc)](_0xb53749=>_0xb53749['toJSON']());}[a0_0x342bd1(0x463)](){const _0x4d8fd5=a0_0x342bd1;return this[_0x4d8fd5(0x3bd)]();}[a0_0x342bd1(0x279)](){const _0x4e6071=a0_0x342bd1;return _0x4e6071(0x235)+this[_0x4e6071(0x2e8)]()+_0x4e6071(0x376)+this[_0x4e6071(0x427)][_0x4e6071(0x1b1)]+'\x20groups)';}static[a0_0x342bd1(0x416)](_0x436d2f){return new DatasetList(_0x436d2f);}static[a0_0x342bd1(0x471)](_0x8240b7){return new DatasetList(_0x8240b7);}static[a0_0x342bd1(0x26c)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x342bd1(0x242);function renderTemplate(_0x282e39,_0x31c4b4,_0x32508f={}){let _0x35a86b=_0x282e39;return Object['entries'](_0x32508f)['forEach'](([_0x468c83,_0x1eadcd])=>{const _0x3101a6=a0_0x380d,_0x234d63=new RegExp(_0x3101a6(0x1d3)+_0x468c83+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x35a86b=_0x35a86b[_0x3101a6(0x36e)](_0x234d63,_0x1eadcd?'$1':'');}),Object['entries'](_0x31c4b4)['forEach'](([_0x22cb23,_0x450adf])=>{const _0x4dae89=a0_0x380d;if(_0x450adf!==undefined){const _0x2e4698=new RegExp('\x5c{\x5c{'+_0x22cb23+_0x4dae89(0x28d),'g');_0x35a86b=_0x35a86b[_0x4dae89(0x36e)](_0x2e4698,_0x450adf);}}),_0x35a86b;}function generateSDKInitCode(_0x321f36,_0x3f5048,_0x43f359,_0x36352a,_0x1c147c){const _0x289e9d=a0_0x342bd1,_0x50a435={};_0x50a435[_0x289e9d(0x223)]=_0x321f36,_0x50a435[_0x289e9d(0x37f)]=_0x3f5048,_0x50a435[_0x289e9d(0x347)]=_0x43f359,_0x50a435['env']=_0x36352a===_0x289e9d(0x292)?'daily':undefined;const _0x10ee8b={};return _0x10ee8b[_0x289e9d(0x25b)]=_0x36352a!==undefined&&_0x36352a!==_0x289e9d(0x1bf),_0x10ee8b[_0x289e9d(0x462)]=_0x1c147c===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x50a435,_0x10ee8b);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x342bd1(0x20c);function generateAliasExplanation(_0x1a4f72,_0x1b0b8d,_0x5b0213,_0x143403){const _0x1a64cf=a0_0x342bd1,_0x236cd6=_0x1a64cf(0x21c)+_0x1a4f72,_0xf09f25=_0x1a64cf(0x32c),_0x27d882={};return _0x27d882[_0x1a64cf(0x37f)]=_0x1a4f72,_0x27d882[_0x1a64cf(0x410)]=_0x236cd6,_0x27d882[_0x1a64cf(0x269)]=_0x1b0b8d,_0x27d882[_0x1a64cf(0x347)]=_0x5b0213,_0x27d882[_0x1a64cf(0x223)]=_0x143403,_0x27d882[_0x1a64cf(0x3e8)]=_0xf09f25,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x27d882,{});}function DrivenDataDetailPlusMixin(_0x7bad11){const _0x4d6bfe=a0_0x342bd1;return class extends _0x7bad11{[_0x4d6bfe(0x393)](_0x1eac1b){const _0x447e88=_0x4d6bfe,_0x5687c7=this;return{'appCode':_0x1eac1b,'datasetSDKKey':_0x5687c7[_0x447e88(0x434)](),'alias':_0x5687c7[_0x447e88(0x332)](),'tableName':_0x5687c7[_0x447e88(0x2a7)](),'datasetCode':_0x5687c7[_0x447e88(0x37f)]};}[_0x4d6bfe(0x1b7)](_0x88f3e3,_0x36b456=_0x4d6bfe(0x1bf),_0x3326fe=![]){const _0x4b28cb=_0x4d6bfe,_0x4c327c=this;return generateSDKInitCode(_0x88f3e3,_0x4c327c[_0x4b28cb(0x37f)],_0x4c327c['getModelAlias'](),_0x36b456===_0x4b28cb(0x292)?_0x36b456:undefined,_0x3326fe);}[_0x4d6bfe(0x382)](_0x301b79,_0x1410e7,_0x5442a1={}){const _0xf10128=_0x4d6bfe,_0x1e33e7=this,_0x401b86=_0x1e33e7[_0xf10128(0x1df)]()[_0xf10128(0x396)](_0x23d833=>_0x23d833[_0xf10128(0x3c3)]()===_0x301b79);if(!_0x401b86)return null;const _0x350080={};_0x350080[_0xf10128(0x321)]=_0x5442a1[_0xf10128(0x415)]!==![];const _0x25dab3=_0x1e33e7[_0xf10128(0x214)](_0x301b79,_0x350080);if(!_0x25dab3)return null;const _0x120f5d=[];return _0x120f5d[_0xf10128(0x37b)]('//\x20Call\x20the\x20'+_0x401b86[_0xf10128(0x3c3)]()+_0xf10128(0x1d4)),_0x120f5d[_0xf10128(0x37b)](_0x25dab3['sdkCall'][_0xf10128(0x2bd)]),_0x120f5d[_0xf10128(0x37b)](''),_0x5442a1['includeUsageExample']!==![]&&(_0x120f5d[_0xf10128(0x37b)]('//\x20Usage\x20examples'),_0x120f5d[_0xf10128(0x37b)](_0x25dab3[_0xf10128(0x3b4)][_0xf10128(0x236)]),_0x120f5d[_0xf10128(0x37b)](''),_0x120f5d[_0xf10128(0x37b)](_0x25dab3[_0xf10128(0x3b4)]['errorCode'])),_0x120f5d[_0xf10128(0x314)]('\x0a');}[_0x4d6bfe(0x2e5)](_0x2d277b={}){const _0x58ddfc=_0x4d6bfe,_0x1758a9=this,_0x568aa4=_0x1758a9['getEnabledOperationAnalyses'](),_0x20e3a1=[];return _0x568aa4[_0x58ddfc(0x40c)]((_0x17f194,_0x10bf1c)=>{const _0x3ddaea=_0x58ddfc,_0x51a9c9=this['generateFullSDKExample'](_0x17f194[_0x3ddaea(0x351)],_0x3ddaea(0x319),_0x2d277b);_0x51a9c9&&(_0x20e3a1[_0x3ddaea(0x37b)]('//\x20'+(_0x10bf1c+0x1)+'.\x20'+_0x17f194['displayName']),_0x20e3a1['push'](_0x51a9c9),_0x20e3a1[_0x3ddaea(0x37b)](''));}),_0x20e3a1[_0x58ddfc(0x314)]('\x0a');}['generateOperationSummary'](_0x35fe8f){const _0x4f6005=_0x4d6bfe,_0x35b0da=this,_0x535e19=_0x35b0da[_0x4f6005(0x249)](_0x35fe8f);if(!_0x535e19)return null;const _0x2be669={};return _0x2be669[_0x4f6005(0x351)]=_0x535e19[_0x4f6005(0x351)],_0x2be669['displayName']=_0x535e19[_0x4f6005(0x3d0)],_0x2be669[_0x4f6005(0x435)]=_0x535e19[_0x4f6005(0x435)],_0x2be669[_0x4f6005(0x361)]=_0x535e19[_0x4f6005(0x361)],_0x2be669[_0x4f6005(0x44c)]=_0x535e19[_0x4f6005(0x44c)],_0x2be669[_0x4f6005(0x367)]=_0x535e19[_0x4f6005(0x334)][_0x4f6005(0x345)],_0x2be669['hasResponseSchema']=_0x535e19[_0x4f6005(0x460)]!==null,_0x2be669;}['generateAllOperationsSummary'](_0x54bd8f={}){const _0x4bcc17=_0x4d6bfe,_0x2ed4e5=this,_0x2b0782=_0x2ed4e5[_0x4bcc17(0x222)]();return{'datasetName':_0x2ed4e5[_0x4bcc17(0x351)],'datasetCode':_0x2ed4e5[_0x4bcc17(0x37f)],'tableName':_0x2ed4e5[_0x4bcc17(0x2a7)](),'totalOperations':_0x2b0782[_0x4bcc17(0x345)],'operations':_0x2b0782[_0x4bcc17(0x2bc)](_0x1a0b99=>({'name':_0x1a0b99[_0x4bcc17(0x351)],'displayName':_0x1a0b99['displayName'],'method':_0x1a0b99['method'],'enabled':_0x1a0b99['enabled']}))};}[_0x4d6bfe(0x1f6)](_0x5569fe){const _0x776998=_0x4d6bfe,_0x72040d=this,_0x59c2e4=_0x72040d[_0x776998(0x249)](_0x5569fe);if(!_0x59c2e4)return[];return _0x59c2e4[_0x776998(0x334)][_0x776998(0x2bc)](_0x473211=>{const _0x11c7f0=_0x776998,_0x95a2e=_0x72040d['getFieldInstance'](_0x473211);if(!_0x95a2e)return null;const _0x5dbc7c={};return _0x5dbc7c['code']=_0x473211,_0x5dbc7c[_0x11c7f0(0x351)]=_0x95a2e['name']||_0x473211,_0x5dbc7c;})[_0x776998(0x282)](_0x11a27a=>_0x11a27a!==null);}[_0x4d6bfe(0x3dc)](){const _0x4fb739=_0x4d6bfe,_0x21280f=this,_0x41cbb0=new Set(_0x21280f['getEnabledOperationAnalyses']()[_0x4fb739(0x2bc)](_0x4a1911=>String(_0x4a1911['type']))),_0x2bde97=[_0x4fb739(0x34f),'getList',_0x4fb739(0x1dd),_0x4fb739(0x305)];return _0x2bde97['filter'](_0x2d92f4=>!_0x41cbb0[_0x4fb739(0x2a1)](String(_0x2d92f4)));}[_0x4d6bfe(0x297)](_0x385591='demo-app'){const _0xe014cd=_0x4d6bfe,_0x1de8e6=this;return generateAliasExplanation(_0x1de8e6[_0xe014cd(0x37f)],_0x1de8e6[_0xe014cd(0x2a7)](),_0x1de8e6[_0xe014cd(0x332)](),_0x385591);}};}function operationToAnalysis(_0x242122){const _0x672b32=a0_0x342bd1;return{'name':_0x242122[_0x672b32(0x3c3)](),'displayName':_0x242122['getDisplayName'](),'type':_0x242122[_0x672b32(0x2a0)](),'method':_0x242122['getMethod'](),'path':_0x242122['getPath'](),'fullUrl':_0x242122[_0x672b32(0x40f)](),'requestFields':_0x242122['getRequestFields'](),'requestParams':_0x242122[_0x672b32(0x3c0)](),'responseSchema':_0x242122['getResponseSchema'](),'requestExample':_0x242122[_0x672b32(0x2c9)](),'responseExample':_0x242122[_0x672b32(0x22b)](),'enabled':_0x242122[_0x672b32(0x2f2)]()};}function operationsToAnalyses(_0xd4be41){const _0x23062f=a0_0x342bd1;if(!Array['isArray'](_0xd4be41))return!![]&&console['warn']('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0xd4be41),[];return _0xd4be41[_0x23062f(0x2bc)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x24647f){const _0x5cc4ef=a0_0x342bd1,_0x18a0ef=_0x24647f[_0x5cc4ef(0x396)](_0x40b7d1=>_0x40b7d1['name']===_0x5cc4ef(0x282)),_0xa8bfc=_0x24647f['filter'](_0x3bf325=>_0x3bf325[_0x5cc4ef(0x351)]!=='filter');return _0x18a0ef?[_0x18a0ef,..._0xa8bfc]:_0xa8bfc;}function filterOperationAnalyses(_0x50ca0d,_0x207f9b={}){const _0x3704af=a0_0x342bd1;let _0x1fabbd=_0x50ca0d;return!_0x207f9b[_0x3704af(0x433)]&&(_0x1fabbd=_0x1fabbd['filter'](_0x5a1e19=>_0x5a1e19['enabled'])),_0x207f9b[_0x3704af(0x3be)]!==![]&&(_0x1fabbd=filterApiOperations(_0x1fabbd)),_0x207f9b[_0x3704af(0x251)]&&(_0x1fabbd=_0x1fabbd[_0x3704af(0x282)](_0x207f9b[_0x3704af(0x251)])),sortOperationsWithFilterFirst(_0x1fabbd);}function getOperationStats(_0xc55c59){const _0x10adc2=a0_0x342bd1,_0x34ff70=_0xc55c59[_0x10adc2(0x282)](_0xbcb2ed=>_0xbcb2ed[_0x10adc2(0x44c)]);return{'total':_0xc55c59['length'],'enabled':_0x34ff70[_0x10adc2(0x345)],'disabled':_0xc55c59[_0x10adc2(0x345)]-_0x34ff70[_0x10adc2(0x345)],'byType':getCountByType(_0x34ff70),'byMethod':getCountByMethod(_0x34ff70)};}function getCountByType(_0x2cfdf5){const _0x4ec380=a0_0x342bd1,_0x160722={};return _0x2cfdf5[_0x4ec380(0x40c)](_0xa1c1b7=>{const _0x596b94=_0x4ec380;if(_0xa1c1b7[_0x596b94(0x399)])_0x160722[_0xa1c1b7[_0x596b94(0x399)]]=(_0x160722[_0xa1c1b7[_0x596b94(0x399)]]||0x0)+0x1;}),_0x160722;}function getCountByMethod(_0x3f61f3){const _0x4a584f={};return _0x3f61f3['forEach'](_0x28a12b=>{const _0x9f7f6b=a0_0x380d;_0x4a584f[_0x28a12b[_0x9f7f6b(0x435)]]=(_0x4a584f[_0x28a12b[_0x9f7f6b(0x435)]]||0x0)+0x1;}),_0x4a584f;}function supportsCRUD(_0x123fa0){const _0x57dc2f=a0_0x342bd1,_0x40a87c=new Set(_0x123fa0['map'](_0x5e40f8=>_0x5e40f8[_0x57dc2f(0x399)])[_0x57dc2f(0x282)](Boolean));return _0x40a87c[_0x57dc2f(0x2a1)](_0x57dc2f(0x34f))&&_0x40a87c['has']('getList')&&_0x40a87c[_0x57dc2f(0x2a1)](_0x57dc2f(0x1dd))&&_0x40a87c['has'](_0x57dc2f(0x305));}function createOperationDocMeta(_0x5bd0c5,_0x1fa2d1,_0x5d0d97,_0x174316,_0x3c9e22,_0x276a40){const _0x54a8f2=a0_0x342bd1,_0x59d7a8={};return _0x59d7a8[_0x54a8f2(0x321)]=_0x276a40?.[_0x54a8f2(0x321)],{'operation':_0x5bd0c5,'operationInstance':_0x1fa2d1,'basicInfo':{'name':_0x5bd0c5[_0x54a8f2(0x351)],'displayName':_0x5bd0c5[_0x54a8f2(0x3d0)],'method':_0x5bd0c5[_0x54a8f2(0x435)],'path':_0x5bd0c5['path'],'fullUrl':_0x5bd0c5[_0x54a8f2(0x3ae)],'enabled':_0x5bd0c5[_0x54a8f2(0x44c)]},'sdkCall':{'datasetCode':_0x5d0d97,'datasetSDKKey':_0x174316,'tableName':_0x3c9e22,'operationName':_0x5bd0c5[_0x54a8f2(0x351)],'params':_0x5bd0c5[_0x54a8f2(0x334)],'code':_0x1fa2d1[_0x54a8f2(0x1b3)](_0x174316,_0x59d7a8)},'usageExample':_0x1fa2d1[_0x54a8f2(0x278)](_0x174316)};}function createOperationsOverviewData(_0x393baf){const _0x46ccf2=a0_0x342bd1,_0x3bd4ee={};_0x3bd4ee[_0x46ccf2(0x329)]=_0x46ccf2(0x351),_0x3bd4ee[_0x46ccf2(0x469)]=_0x46ccf2(0x389);const _0x391ece={};_0x391ece[_0x46ccf2(0x329)]=_0x46ccf2(0x3d0),_0x391ece['label']=_0x46ccf2(0x27a);const _0x5d5f05={};_0x5d5f05[_0x46ccf2(0x329)]=_0x46ccf2(0x435),_0x5d5f05['label']='方法';const _0x2205b7={};_0x2205b7[_0x46ccf2(0x329)]=_0x46ccf2(0x318),_0x2205b7[_0x46ccf2(0x469)]=_0x46ccf2(0x45e);const _0xf06ad4={};_0xf06ad4[_0x46ccf2(0x329)]=_0x46ccf2(0x361),_0xf06ad4[_0x46ccf2(0x469)]=_0x46ccf2(0x39f);const _0x403083={};_0x403083[_0x46ccf2(0x329)]=_0x46ccf2(0x38f),_0x403083[_0x46ccf2(0x469)]=_0x46ccf2(0x243);const _0x42db42=[_0x3bd4ee,_0x391ece,_0x5d5f05,_0x2205b7,_0xf06ad4,_0x403083],_0xdc65ae=_0x393baf[_0x46ccf2(0x2bc)](_0x2abd58=>{const _0x39e824=_0x46ccf2,{basicInfo:_0x5d88b2,sdkCall:_0x231788}=_0x2abd58,_0x27ca7f=_0x231788[_0x39e824(0x2bd)][_0x39e824(0x36e)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x39e824(0x36e)](/;$/,''),_0x5a20cf={};return _0x5a20cf[_0x39e824(0x3d0)]=_0x5d88b2[_0x39e824(0x3d0)],_0x5a20cf[_0x39e824(0x351)]=_0x5d88b2[_0x39e824(0x351)],_0x5a20cf['method']=_0x5d88b2[_0x39e824(0x435)],_0x5a20cf[_0x39e824(0x361)]=_0x5d88b2[_0x39e824(0x361)],_0x5a20cf['sdkCall']=_0x27ca7f,_0x5a20cf[_0x39e824(0x38f)]=_0x231788[_0x39e824(0x2bd)],_0x5a20cf;}),_0x53dfbc={};return _0x53dfbc[_0x46ccf2(0x32e)]=_0x42db42,_0x53dfbc[_0x46ccf2(0x1bd)]=_0xdc65ae,_0x53dfbc;}function createDatasetDocMeta(_0x1818b1,_0xe1b981,_0x229701,_0x122a01,_0x18ee97,_0x56b69e,_0x130869,_0x25322e,_0x2c00cc){const _0x1c0cb3=a0_0x342bd1,_0x41fafd={};return _0x41fafd[_0x1c0cb3(0x254)]=_0x1818b1+_0x1c0cb3(0x2bf),_0x41fafd[_0x1c0cb3(0x1b0)]={},_0x41fafd[_0x1c0cb3(0x325)]=_0x2c00cc,_0x41fafd[_0x1c0cb3(0x1b0)]['name']=_0x1818b1,_0x41fafd[_0x1c0cb3(0x1b0)]['code']=_0xe1b981,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x269)]=_0x229701,_0x41fafd[_0x1c0cb3(0x1b0)]['datasetSDKKey']=_0x122a01,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x39e)]=_0x18ee97,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x328)]=_0x56b69e,_0x41fafd[_0x1c0cb3(0x1b0)]['fieldCount']=_0x130869,_0x41fafd[_0x1c0cb3(0x1b0)]['businessFieldCount']=0x0,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x25e)]=0x0,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x413)]=_0x25322e,_0x41fafd[_0x1c0cb3(0x1b0)][_0x1c0cb3(0x1f7)]=_0x2c00cc[_0x1c0cb3(0x345)],_0x41fafd;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}['getModelAlias'](){const _0x3b3f75=a0_0x342bd1;return this[_0x3b3f75(0x273)]();}[a0_0x342bd1(0x330)](_0x5af8e4=![]){const _0x39e022=a0_0x342bd1;if(!_0x5af8e4&&this['_operationAnalyses'])return this[_0x39e022(0x473)];const _0x152c77=this[_0x39e022(0x1df)]();return this[_0x39e022(0x473)]=operationsToAnalyses(_0x152c77),this[_0x39e022(0x473)];}[a0_0x342bd1(0x222)](){const _0x4f4c34=a0_0x342bd1,_0xd2b72f={};return _0xd2b72f[_0x4f4c34(0x433)]=![],_0xd2b72f['filterBlacklist']=!![],this[_0x4f4c34(0x226)](_0xd2b72f);}[a0_0x342bd1(0x226)](_0x4f7518={}){const _0x1aaefd=a0_0x342bd1;return filterOperationAnalyses(this[_0x1aaefd(0x330)](),_0x4f7518);}['getOperationAnalysis'](_0x4f6704){const _0x4fa8ae=a0_0x342bd1;return this[_0x4fa8ae(0x330)]()['find'](_0x57f57c=>_0x57f57c['name']===_0x4f6704);}[a0_0x342bd1(0x311)](_0x3379ea){const _0x123f0a=a0_0x342bd1;return this[_0x123f0a(0x330)]()[_0x123f0a(0x282)](_0x3900d2=>_0x3900d2[_0x123f0a(0x399)]===_0x3379ea);}[a0_0x342bd1(0x214)](_0x6c8c1,_0x6edc87){const _0x5554c6=a0_0x342bd1,_0x4b7fdd=this[_0x5554c6(0x249)](_0x6c8c1);if(!_0x4b7fdd)return null;const _0xdb9feb=this['getOperations']()[_0x5554c6(0x396)](_0x4baa22=>_0x4baa22[_0x5554c6(0x3c3)]()===_0x4b7fdd[_0x5554c6(0x351)]);if(!_0xdb9feb)throw new Error(_0x5554c6(0x204)+_0x4b7fdd['name']);return createOperationDocMeta(_0x4b7fdd,_0xdb9feb,this[_0x5554c6(0x37f)],this['getDatasetSDKKey'](),this[_0x5554c6(0x2a7)](),_0x6edc87);}['getDatasetDocMeta'](_0x46290f={}){const _0x1e8f8b=a0_0x342bd1,_0x151c27=this[_0x1e8f8b(0x226)](_0x46290f),_0x356300=_0x151c27['map'](_0x1a0cfa=>this[_0x1e8f8b(0x214)](_0x1a0cfa['name']))['filter'](_0x28908b=>_0x28908b!==null);return createDatasetDocMeta(this[_0x1e8f8b(0x351)],this['datasetCode'],this[_0x1e8f8b(0x2a7)](),this['getDatasetSDKKey'](),this[_0x1e8f8b(0x273)](),this[_0x1e8f8b(0x328)],this['getFieldCount'](),this[_0x1e8f8b(0x42b)](),_0x356300);}[a0_0x342bd1(0x381)](_0x342fcb){return createOperationsOverviewData(_0x342fcb);}[a0_0x342bd1(0x458)](){const _0x570e95=a0_0x342bd1;return supportsCRUD(this[_0x570e95(0x222)]());}[a0_0x342bd1(0x203)](){const _0x46ac0e=a0_0x342bd1;return getOperationStats(this[_0x46ac0e(0x330)]());}[a0_0x342bd1(0x279)](){const _0x3144b6=a0_0x342bd1,_0x30b691=this['getOperationStats']();return'DrivenDataDetailPlus('+this[_0x3144b6(0x351)]+',\x20'+this[_0x3144b6(0x37f)]+',\x20'+this['getFieldCount']()+'\x20fields,\x20'+_0x30b691[_0x3144b6(0x44c)]+'/'+_0x30b691[_0x3144b6(0x263)]+_0x3144b6(0x2f3);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x342bd1(0x473)];[a0_0x342bd1(0x403)](){return'v2';}[a0_0x342bd1(0x332)](){const _0x119c03=a0_0x342bd1;return this[_0x119c03(0x273)]();}[a0_0x342bd1(0x330)](_0x13ab88=![]){const _0x5863ac=a0_0x342bd1;if(!_0x13ab88&&this[_0x5863ac(0x473)])return this[_0x5863ac(0x473)];const _0x187b62=this[_0x5863ac(0x1df)]();return this[_0x5863ac(0x473)]=operationsToAnalyses(_0x187b62),this[_0x5863ac(0x473)];}[a0_0x342bd1(0x222)](){const _0x15fcf2=a0_0x342bd1,_0x5a06da={};return _0x5a06da[_0x15fcf2(0x433)]=![],_0x5a06da[_0x15fcf2(0x3be)]=!![],this[_0x15fcf2(0x226)](_0x5a06da);}[a0_0x342bd1(0x226)](_0x4346b9={}){const _0x3623fb=a0_0x342bd1;return filterOperationAnalyses(this[_0x3623fb(0x330)](),_0x4346b9);}[a0_0x342bd1(0x249)](_0xb6fc57){const _0x50117c=a0_0x342bd1;return this[_0x50117c(0x330)]()['find'](_0x595ce4=>_0x595ce4[_0x50117c(0x351)]===_0xb6fc57);}[a0_0x342bd1(0x311)](_0x29c997){const _0x43f9fa=a0_0x342bd1;return this[_0x43f9fa(0x330)]()[_0x43f9fa(0x282)](_0x1999f9=>_0x1999f9[_0x43f9fa(0x399)]===_0x29c997);}[a0_0x342bd1(0x214)](_0x3bf3fa,_0x4e87e2){const _0x1792a0=a0_0x342bd1,_0x16a9ac=this[_0x1792a0(0x249)](_0x3bf3fa);if(!_0x16a9ac)return null;const _0x21b05a=this[_0x1792a0(0x1df)]()[_0x1792a0(0x396)](_0x320ba9=>_0x320ba9[_0x1792a0(0x3c3)]()===_0x16a9ac[_0x1792a0(0x351)]);if(!_0x21b05a)throw new Error(_0x1792a0(0x204)+_0x16a9ac['name']);return createOperationDocMeta(_0x16a9ac,_0x21b05a,this[_0x1792a0(0x37f)],this[_0x1792a0(0x434)](),this[_0x1792a0(0x2a7)](),_0x4e87e2);}[a0_0x342bd1(0x3b0)](_0x2b7673={}){const _0x274d7c=a0_0x342bd1,_0x23fcdc=this[_0x274d7c(0x226)](_0x2b7673),_0x1767b8=_0x23fcdc[_0x274d7c(0x2bc)](_0x192c04=>this[_0x274d7c(0x214)](_0x192c04[_0x274d7c(0x351)]))['filter'](_0x3805d5=>_0x3805d5!==null);return createDatasetDocMeta(this[_0x274d7c(0x351)],this['datasetCode'],this[_0x274d7c(0x2a7)](),this[_0x274d7c(0x434)](),this[_0x274d7c(0x273)](),this[_0x274d7c(0x328)],this['getFieldCount'](),this[_0x274d7c(0x42b)](),_0x1767b8);}['getOperationsOverviewData'](_0x508461){return createOperationsOverviewData(_0x508461);}[a0_0x342bd1(0x458)](){const _0x1fa83b=a0_0x342bd1;return supportsCRUD(this[_0x1fa83b(0x222)]());}[a0_0x342bd1(0x203)](){const _0x19be32=a0_0x342bd1;return getOperationStats(this[_0x19be32(0x330)]());}[a0_0x342bd1(0x279)](){const _0x309f5c=a0_0x342bd1,_0x25057e=this['getOperationStats']();return _0x309f5c(0x256)+this['name']+',\x20'+this[_0x309f5c(0x37f)]+',\x20'+this[_0x309f5c(0x2ca)]()+_0x309f5c(0x250)+_0x25057e[_0x309f5c(0x44c)]+'/'+_0x25057e[_0x309f5c(0x263)]+_0x309f5c(0x3cf);}}function detectDatasetVersion3(_0x1af110){const _0x256e0b=a0_0x342bd1;if(_0x1af110[_0x256e0b(0x34e)]==='v2'&&_0x256e0b(0x202)in _0x1af110&&Array[_0x256e0b(0x200)](_0x1af110['fields']))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x342bd1(0x24f)];constructor(_0x5023af){const _0x499503=a0_0x342bd1,_0x540165=detectDatasetVersion3(_0x5023af);return this[_0x499503(0x24f)]=_0x540165==='v2'?new DrivenDataDetailPlusV2(_0x5023af):new DrivenDataDetailPlusV1(_0x5023af),new Proxy(this,{'get'(_0x29d62c,_0x1eeddc){const _0x3cac9d=_0x499503;if(_0x1eeddc in _0x29d62c){const _0x2deeef=_0x29d62c[_0x1eeddc];return typeof _0x2deeef===_0x3cac9d(0x30e)?_0x2deeef['bind'](_0x29d62c):_0x2deeef;}if(_0x1eeddc in _0x29d62c['_instance']){const _0x2304b4=_0x29d62c[_0x3cac9d(0x24f)][_0x1eeddc];return typeof _0x2304b4===_0x3cac9d(0x30e)?_0x2304b4[_0x3cac9d(0x258)](_0x29d62c[_0x3cac9d(0x24f)]):_0x2304b4;}return;},'set'(_0x582629,_0x30a50d,_0x2efa78){return _0x582629[_0x30a50d]=_0x2efa78,!![];},'getPrototypeOf'(_0x32aec5){const _0x32a21e=_0x499503;return DrivenDataDetailPlus[_0x32a21e(0x320)];}});}get[a0_0x342bd1(0x351)](){const _0x4d8c65=a0_0x342bd1;return this[_0x4d8c65(0x24f)][_0x4d8c65(0x351)];}get['id'](){const _0x15535a=a0_0x342bd1;return this[_0x15535a(0x24f)]['id'];}get[a0_0x342bd1(0x37f)](){const _0xd636a5=a0_0x342bd1;return this[_0xd636a5(0x24f)][_0xd636a5(0x37f)];}get['source'](){const _0x378e3f=a0_0x342bd1;return this[_0x378e3f(0x24f)][_0x378e3f(0x328)];}get[a0_0x342bd1(0x1b2)](){const _0x49803f=a0_0x342bd1;return this[_0x49803f(0x24f)][_0x49803f(0x411)]();}[a0_0x342bd1(0x403)](){const _0x147d8d=a0_0x342bd1,_0x578849=this[_0x147d8d(0x24f)][_0x147d8d(0x403)]();return _0x578849==='v2'?'v2':'v1';}[a0_0x342bd1(0x2ca)](){const _0x26e198=a0_0x342bd1;return this[_0x26e198(0x24f)][_0x26e198(0x2ca)]();}[a0_0x342bd1(0x42b)](){const _0x1fb87d=a0_0x342bd1;return this[_0x1fb87d(0x24f)][_0x1fb87d(0x42b)]();}[a0_0x342bd1(0x34a)](){const _0x4a5f6a=a0_0x342bd1;return this[_0x4a5f6a(0x24f)][_0x4a5f6a(0x34a)]();}[a0_0x342bd1(0x1df)](){const _0x48d328=a0_0x342bd1;return this[_0x48d328(0x24f)][_0x48d328(0x1df)]();}[a0_0x342bd1(0x440)](_0xccc810){const _0x24ca66=a0_0x342bd1;return this[_0x24ca66(0x24f)][_0x24ca66(0x440)](_0xccc810);}[a0_0x342bd1(0x2cb)](_0x288a88){return this['_instance']['getFieldInstance'](_0x288a88);}[a0_0x342bd1(0x2a7)](){const _0x2837b4=a0_0x342bd1;return this[_0x2837b4(0x24f)][_0x2837b4(0x2a7)]();}[a0_0x342bd1(0x273)](){const _0x514614=a0_0x342bd1;return this[_0x514614(0x24f)]['getTableKey']();}['getDatasetSDKKey'](){const _0x12e11a=a0_0x342bd1;return this['_instance'][_0x12e11a(0x434)]();}['getFieldList'](){const _0x143c6e=a0_0x342bd1;return this[_0x143c6e(0x24f)][_0x143c6e(0x28f)]();}[a0_0x342bd1(0x252)](){const _0x3be6e0=a0_0x342bd1;return this['_instance'][_0x3be6e0(0x252)]();}['getEnumFieldsMeta'](){const _0x127851=a0_0x342bd1;return this[_0x127851(0x24f)][_0x127851(0x31b)]();}['isMultipleSelectField'](_0x10166d){const _0x39c7eb=a0_0x342bd1;return this[_0x39c7eb(0x24f)][_0x39c7eb(0x3f9)](_0x10166d);}['getField'](_0x1495bb){const _0x20fda3=a0_0x342bd1;return this[_0x20fda3(0x24f)][_0x20fda3(0x2fe)](_0x1495bb);}[a0_0x342bd1(0x2b1)](_0xc6feed){const _0x5a2875=a0_0x342bd1;return this[_0x5a2875(0x24f)]['getFieldOptions'](_0xc6feed);}[a0_0x342bd1(0x43f)](_0x109e67){const _0x56aec0=a0_0x342bd1;return this[_0x56aec0(0x24f)]['getFieldSelectItemsSource'](_0x109e67);}['getEnumFieldMeta'](_0x45f6db){const _0x58e4aa=a0_0x342bd1;return this['_instance'][_0x58e4aa(0x211)](_0x45f6db);}['validateEnumValue'](_0x38ecd3,_0x587b75){const _0x314678=a0_0x342bd1;return this['_instance'][_0x314678(0x220)](_0x38ecd3,_0x587b75);}['isRequiredField'](_0x31425c){const _0x5c73af=a0_0x342bd1;return this[_0x5c73af(0x24f)][_0x5c73af(0x1ef)](_0x31425c);}[a0_0x342bd1(0x1cb)](){const _0x4403c4=a0_0x342bd1;return this[_0x4403c4(0x24f)][_0x4403c4(0x1cb)]();}[a0_0x342bd1(0x3d5)](){const _0x456b11=a0_0x342bd1;return this[_0x456b11(0x24f)]['getFilterOperation']();}[a0_0x342bd1(0x317)](){const _0x24240d=a0_0x342bd1;return this['_instance'][_0x24240d(0x317)]();}[a0_0x342bd1(0x341)](_0x219a86){const _0x5c83a4=a0_0x342bd1;return this[_0x5c83a4(0x24f)]['hasOperation'](_0x219a86);}['getDBConfig'](){return this['_instance']['getDBConfig']();}[a0_0x342bd1(0x304)](){const _0x17f8bb=a0_0x342bd1;return this['_instance'][_0x17f8bb(0x304)]();}[a0_0x342bd1(0x2e3)](){const _0x271271=a0_0x342bd1;return this[_0x271271(0x24f)][_0x271271(0x2e3)]();}[a0_0x342bd1(0x330)](_0x3e2f32){const _0xed5a09=a0_0x342bd1;return this[_0xed5a09(0x24f)][_0xed5a09(0x330)](_0x3e2f32);}[a0_0x342bd1(0x222)](){const _0x1c31d2=a0_0x342bd1;return this[_0x1c31d2(0x24f)]['getEnabledOperationAnalyses']();}[a0_0x342bd1(0x226)](_0x409095){const _0x42540f=a0_0x342bd1;return this[_0x42540f(0x24f)][_0x42540f(0x226)](_0x409095);}[a0_0x342bd1(0x249)](_0x1101c7){const _0x363343=a0_0x342bd1;return this[_0x363343(0x24f)]['getOperationAnalysis'](_0x1101c7);}[a0_0x342bd1(0x311)](_0x2eca59){const _0x597dc6=a0_0x342bd1;return this['_instance'][_0x597dc6(0x311)](_0x2eca59);}[a0_0x342bd1(0x214)](_0x331a23,_0x12883d){const _0x2fa2ca=a0_0x342bd1;return this['_instance'][_0x2fa2ca(0x214)](_0x331a23,_0x12883d);}[a0_0x342bd1(0x3b0)](_0x5520af){const _0x505b03=a0_0x342bd1;return this[_0x505b03(0x24f)]['getDatasetDocMeta'](_0x5520af);}[a0_0x342bd1(0x381)](_0x2c813c){const _0x452d19=a0_0x342bd1;return this[_0x452d19(0x24f)][_0x452d19(0x381)](_0x2c813c);}[a0_0x342bd1(0x332)](){const _0x4b3c06=a0_0x342bd1;return this[_0x4b3c06(0x24f)][_0x4b3c06(0x332)]();}[a0_0x342bd1(0x458)](){const _0x473206=a0_0x342bd1;return this[_0x473206(0x24f)][_0x473206(0x458)]();}['getOperationStats'](){const _0xd8dcd8=a0_0x342bd1;return this[_0xd8dcd8(0x24f)]['getOperationStats']();}[a0_0x342bd1(0x279)](){const _0x4413cc=a0_0x342bd1;return this[_0x4413cc(0x24f)][_0x4413cc(0x279)]();}[a0_0x342bd1(0x465)](_0x256514){const _0xf1fe43=a0_0x342bd1;return this[_0xf1fe43(0x24f)][_0xf1fe43(0x465)](_0x256514);}[a0_0x342bd1(0x393)](_0xd580eb){const _0x3071c7=a0_0x342bd1;return this[_0x3071c7(0x24f)][_0x3071c7(0x393)](_0xd580eb);}[a0_0x342bd1(0x1b7)](_0x388d7f,_0x242c0a,_0x75417){const _0x1e0f67=a0_0x342bd1;return this['_instance'][_0x1e0f67(0x1b7)](_0x388d7f,_0x242c0a,_0x75417);}[a0_0x342bd1(0x382)](_0x12c1fd,_0x596ec2,_0x5a4838){const _0x147241=a0_0x342bd1;return this[_0x147241(0x24f)][_0x147241(0x382)](_0x12c1fd,_0x596ec2,_0x5a4838);}[a0_0x342bd1(0x2e5)](_0x317eb6){const _0x6c43d4=a0_0x342bd1;return this['_instance'][_0x6c43d4(0x2e5)](_0x317eb6);}['generateOperationSummary'](_0x198db0){const _0x3ddb1d=a0_0x342bd1;return this[_0x3ddb1d(0x24f)][_0x3ddb1d(0x22d)](_0x198db0);}[a0_0x342bd1(0x46e)](_0x489065){const _0x1926bd=a0_0x342bd1;return this[_0x1926bd(0x24f)][_0x1926bd(0x46e)](_0x489065);}[a0_0x342bd1(0x1f6)](_0x303d4e){const _0x2877b2=a0_0x342bd1;return this['_instance'][_0x2877b2(0x1f6)](_0x303d4e);}['getMissingCRUDOperations'](){const _0x24843a=a0_0x342bd1;return this[_0x24843a(0x24f)][_0x24843a(0x3dc)]();}['generateAliasExplanation'](){const _0x19c895=a0_0x342bd1;return this[_0x19c895(0x24f)]['generateAliasExplanation']();}[a0_0x342bd1(0x37a)](){const _0x3d99b3=a0_0x342bd1;return this[_0x3d99b3(0x24f)];}}function createDrivenDataDetailPlus(_0x1e5008,_0x111baf={}){const _0x17f8ed=a0_0x342bd1;if(_0x111baf[_0x17f8ed(0x2a5)]==='v1')return new DrivenDataDetailPlusV1(_0x1e5008);if(_0x111baf[_0x17f8ed(0x2a5)]==='v2')return new DrivenDataDetailPlusV2(_0x1e5008);if(_0x1e5008[_0x17f8ed(0x34e)]==='v2'||_0x17f8ed(0x3ed)in _0x1e5008)return new DrivenDataDetailPlusV2(_0x1e5008);return new DrivenDataDetailPlusV1(_0x1e5008);}function isPlusV2Instance(_0x434bae){const _0xdc2b61=a0_0x342bd1;return _0x434bae[_0xdc2b61(0x403)]()==='v2';}function isPlusV1Instance(_0x18b81c){const _0x5baf71=a0_0x342bd1;return _0x18b81c[_0x5baf71(0x403)]()==='v1';}var VERSION=a0_0x342bd1(0x2f4);function a0_0x380d(_0x1f89e2,_0x2168ec){_0x1f89e2=_0x1f89e2-0x1ad;const _0x3171e4=a0_0x3171();let _0x380d4b=_0x3171e4[_0x1f89e2];return _0x380d4b;}export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
1
+ const a0_0x5ba6db=a0_0x5697;(function(_0x326ba4,_0x2d88f0){const _0x2e7275=a0_0x5697,_0x139976=_0x326ba4();while(!![]){try{const _0x4d6105=parseInt(_0x2e7275(0x312))/0x1*(parseInt(_0x2e7275(0x22c))/0x2)+parseInt(_0x2e7275(0x2f9))/0x3+-parseInt(_0x2e7275(0x290))/0x4*(-parseInt(_0x2e7275(0x20d))/0x5)+-parseInt(_0x2e7275(0x7f))/0x6*(parseInt(_0x2e7275(0x27d))/0x7)+-parseInt(_0x2e7275(0x81))/0x8+parseInt(_0x2e7275(0x1a9))/0x9*(-parseInt(_0x2e7275(0x268))/0xa)+parseInt(_0x2e7275(0x222))/0xb;if(_0x4d6105===_0x2d88f0)break;else _0x139976['push'](_0x139976['shift']());}catch(_0x37725c){_0x139976['push'](_0x139976['shift']());}}}(a0_0x1065,0xc99ef));function toCamelCase(_0x4304c0){const _0x4269e8=a0_0x5697;if(!_0x4304c0)return'';return _0x4304c0[_0x4269e8(0x294)](/[_-]/)[_0x4269e8(0xc9)]((_0x373f6b,_0x4b3203)=>{const _0xfb1b75=_0x4269e8;if(_0x4b3203===0x0)return _0x373f6b['toLowerCase']();return _0x373f6b['charAt'](0x0)[_0xfb1b75(0x201)]()+_0x373f6b[_0xfb1b75(0x1a0)](0x1)[_0xfb1b75(0x291)]();})['join']('');}function toPascalCase(_0x4c0757){const _0x518cb3=a0_0x5697;if(!_0x4c0757)return'';const _0x3f7663=toCamelCase(_0x4c0757);return _0x3f7663['charAt'](0x0)['toUpperCase']()+_0x3f7663[_0x518cb3(0x1a0)](0x1);}function toSnakeCase(_0x6ebc8d){const _0x2a4048=a0_0x5697;if(!_0x6ebc8d)return'';return _0x6ebc8d[_0x2a4048(0x1bd)](/([A-Z])/g,_0x2a4048(0x210))[_0x2a4048(0x291)]()['replace'](/^_/,'');}function toKebabCase(_0x823648){const _0x1b86aa=a0_0x5697;if(!_0x823648)return'';return _0x823648['replace'](/([A-Z])/g,_0x1b86aa(0x17e))[_0x1b86aa(0x291)]()[_0x1b86aa(0x1bd)](/^-/,'');}function normalizeFieldName(_0x36ab18){const _0x1398cd=a0_0x5697;if(!_0x36ab18)return'';return _0x36ab18[_0x1398cd(0x17a)]()[_0x1398cd(0x1bd)](/\s+/g,'_')[_0x1398cd(0x1bd)](/[^a-zA-Z0-9_]/g,'_')[_0x1398cd(0x1bd)](/_+/g,'_')[_0x1398cd(0x1bd)](/^_|_$/g,'');}function getTableName(_0x41ba06){const _0x1445e7=a0_0x5697;if(!_0x41ba06)return _0x1445e7(0x264);if(_0x41ba06[_0x1445e7(0x126)]?.['tableName'])return _0x41ba06['dbtableConfig']['tableName'];const _0xe22458=_0x41ba06[_0x1445e7(0x89)]||_0x41ba06[_0x1445e7(0x1f0)]||_0x41ba06[_0x1445e7(0x144)];if(_0xe22458)return generateTableNameFromCode(_0xe22458);return _0x1445e7(0x264);}function getTableKey(_0x200df7){const _0x4198c9=a0_0x5697;if(typeof _0x200df7===_0x4198c9(0x27c))return toCamelCase(_0x200df7);const _0x11108d=getTableName(_0x200df7);return toCamelCase(_0x11108d);}function generateTableNameFromCode(_0x57bb4c){const _0xe78086=a0_0x5697;if(!_0x57bb4c)return'dataset_000000';const _0x4e0351=_0x57bb4c[_0xe78086(0x1a0)](-0x6)['padStart'](0x6,'0');return _0xe78086(0x1fc)+_0x4e0351;}function isVirtualTableName(_0x19b175){const _0x4cf1ff=a0_0x5697;return/^dataset_[a-zA-Z0-9]{6}$/[_0x4cf1ff(0x2cf)](_0x19b175);}function generateModelKeyFromCode(_0x15fc78){const _0x5d08fa=a0_0x5697;if(!_0x15fc78)return _0x5d08fa(0x112);return _0x5d08fa(0x1fc)+_0x15fc78;}function getDbName(_0x1b0380){const _0x1f71ad=a0_0x5697;return _0x1b0380[_0x1f71ad(0x126)]?.['dbName']||_0x1b0380[_0x1f71ad(0x126)]?.[_0x1f71ad(0x2be)]?.[_0x1f71ad(0x2f8)]||'';}function generateDatasetsConfig(_0xddf26,_0x5d862b={}){const _0x3ddb86=a0_0x5697,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x1166e4,filter:_0x2ce58a}=_0x5d862b,_0x469041=_0x2ce58a?_0xddf26[_0x3ddb86(0x7e)](_0x2ce58a):_0xddf26,_0x45ff01=new Map();for(const _0x215167 of _0x469041){const _0x352416=getTableName(_0x215167),_0x41e294=getDbName(_0x215167);!_0x45ff01[_0x3ddb86(0x2c0)](_0x352416)&&_0x45ff01[_0x3ddb86(0x311)](_0x352416,new Set()),_0x45ff01['get'](_0x352416)[_0x3ddb86(0x17c)](_0x41e294);}const _0x414c04=new Set();for(const [_0x576e90,_0x254b5a]of _0x45ff01){_0x254b5a[_0x3ddb86(0x2fd)]>0x1&&_0x414c04[_0x3ddb86(0x17c)](_0x576e90);}const _0x3b2043={},_0x5bdddf=new Set();for(const _0x287da7 of _0x469041){const _0x2424c0=getTableName(_0x287da7);if(enableDeduplication&&_0x5bdddf[_0x3ddb86(0x2c0)](_0x2424c0)){console[_0x3ddb86(0x223)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x2424c0+'\x22,数据集:\x20'+_0x287da7[_0x3ddb86(0x176)]+'\x20('+_0x287da7['datasetCode']+')');continue;}_0x5bdddf['add'](_0x2424c0);const _0x589832=_0x1166e4?_0x1166e4(_0x2424c0,_0x287da7):getTableKey(_0x2424c0),_0x53db19=getDbName(_0x287da7),_0x4e0626=_0x414c04[_0x3ddb86(0x2c0)](_0x2424c0)&&_0x53db19?getTableKey(_0x53db19)+'_'+_0x589832:_0x589832;_0x3b2043[_0x589832]={'key':_0x589832,'alias':_0x4e0626,'tableName':_0x2424c0,'datasetCode':_0x287da7[_0x3ddb86(0x89)],'name':_0x287da7[_0x3ddb86(0x176)],'id':_0x287da7['id'],'dbName':_0x53db19};}return _0x3b2043;}function generateFullDatasetsConfig(_0x15fb4f,_0x39dd0b={}){const _0x3b63e9=a0_0x5697,{filter:_0x24321f,datasetNameGenerator:_0x47b161}=_0x39dd0b,_0x39831a=_0x24321f?_0x15fb4f[_0x3b63e9(0x7e)](_0x24321f):_0x15fb4f,_0x215059=new Map();for(const _0x44320b of _0x39831a){const _0x2e1c8b=getTableName(_0x44320b),_0x1a5fb9=getDbName(_0x44320b);!_0x215059[_0x3b63e9(0x2c0)](_0x2e1c8b)&&_0x215059[_0x3b63e9(0x311)](_0x2e1c8b,new Set()),_0x215059[_0x3b63e9(0x2e1)](_0x2e1c8b)[_0x3b63e9(0x17c)](_0x1a5fb9);}const _0x124c08=new Set();for(const [_0x4608ff,_0x52ceaa]of _0x215059){_0x52ceaa[_0x3b63e9(0x2fd)]>0x1&&_0x124c08[_0x3b63e9(0x17c)](_0x4608ff);}const _0x4f4cf1=groupByTableName(_0x39831a),_0x864a4d={};for(const [_0x26f4d7,_0x5ab070]of Object['entries'](_0x4f4cf1)){if(_0x5ab070[_0x3b63e9(0x1d6)]===0x1){const _0x58d15f=_0x5ab070[0x0],_0x16e5a5=_0x47b161?_0x47b161(_0x26f4d7,_0x58d15f):getTableKey(_0x26f4d7),_0x2e0e8d=getDbName(_0x58d15f),_0x1f9ee0=_0x124c08['has'](_0x26f4d7)&&_0x2e0e8d?getTableKey(_0x2e0e8d)+'_'+_0x16e5a5:_0x16e5a5;_0x864a4d[_0x16e5a5]={'key':_0x16e5a5,'alias':_0x1f9ee0,'tableName':_0x26f4d7,'datasetCode':_0x58d15f[_0x3b63e9(0x89)],'name':_0x58d15f[_0x3b63e9(0x176)],'id':_0x58d15f['id'],'dbName':_0x2e0e8d};}else{const _0x4216b7=[..._0x5ab070][_0x3b63e9(0x297)]((_0x5f4cfe,_0x172015)=>{const _0x519bbb=Number(_0x5f4cfe['id'])||0x0,_0x254439=Number(_0x172015['id'])||0x0;return _0x254439-_0x519bbb;});_0x4216b7[_0x3b63e9(0x2a7)]((_0x3da36f,_0x3da266)=>{const _0x1e6466=_0x3b63e9,_0x1c64a1=_0x47b161?_0x47b161(_0x26f4d7,_0x3da36f):getTableKey(_0x26f4d7),_0x131ac9=_0x3da266===0x0?_0x1c64a1:_0x1c64a1+'_'+_0x3da266,_0x28a029=getDbName(_0x3da36f),_0x8dc276=_0x124c08['has'](_0x26f4d7)&&_0x28a029?getTableKey(_0x28a029)+'_'+_0x131ac9:_0x131ac9;_0x864a4d[_0x131ac9]={'key':_0x131ac9,'alias':_0x8dc276,'tableName':_0x26f4d7,'datasetCode':_0x3da36f['datasetCode'],'name':_0x3da36f[_0x1e6466(0x176)],'id':_0x3da36f['id'],'dbName':_0x28a029};});}}return _0x864a4d;}function detectTableNameConflicts(_0x4d5c2b){const _0x126093=a0_0x5697,_0x401e5b={};for(const _0x5998db of _0x4d5c2b){const _0x518f82=getTableName(_0x5998db);!_0x401e5b[_0x518f82]&&(_0x401e5b[_0x518f82]=[]),_0x401e5b[_0x518f82][_0x126093(0x296)](_0x5998db);}const _0x331862={};for(const [_0x423e67,_0x2d930e]of Object[_0x126093(0x1c9)](_0x401e5b)){_0x2d930e['length']>0x1&&(_0x331862[_0x423e67]=_0x2d930e);}return{'hasConflicts':Object[_0x126093(0xe9)](_0x331862)[_0x126093(0x1d6)]>0x0,'conflicts':_0x331862};}function createDatasetNameMap(_0x53bcf5){const _0x5f330d=a0_0x5697,_0x10735c={};for(const [_0xcd41da,_0x17cb65]of Object[_0x5f330d(0x1c9)](_0x53bcf5)){_0x10735c[_0xcd41da]=_0x17cb65[_0x5f330d(0x89)]||'';}return _0x10735c;}function groupByTableName(_0x7bc982){const _0x5ec5bb=a0_0x5697,_0x36c0e8={};for(const _0x1cd934 of _0x7bc982){const _0x448806=getTableName(_0x1cd934);!_0x36c0e8[_0x448806]&&(_0x36c0e8[_0x448806]=[]),_0x36c0e8[_0x448806][_0x5ec5bb(0x296)](_0x1cd934);}return _0x36c0e8;}function datasetsConfigToArray(_0x55c318){const _0x1297b5=a0_0x5697;return Object[_0x1297b5(0x141)](_0x55c318);}function adaptDrivenDataDetail(_0x9e4438){const _0x12a07c=a0_0x5697,_0x20bb91={};return _0x20bb91['id']=_0x9e4438[_0x12a07c(0x206)],_0x20bb91['name']=_0x9e4438['name'],_0x20bb91['datasetCode']=_0x9e4438[_0x12a07c(0x144)],_0x20bb91[_0x12a07c(0x126)]=_0x9e4438[_0x12a07c(0x126)],_0x20bb91[_0x12a07c(0x1dd)]=_0x9e4438[_0x12a07c(0x1dd)],_0x20bb91['version']=_0x9e4438[_0x12a07c(0x1f2)],_0x20bb91[_0x12a07c(0x21d)]=_0x9e4438[_0x12a07c(0x21d)],_0x20bb91['properties']=_0x9e4438[_0x12a07c(0x1f5)],_0x20bb91['operations']=_0x9e4438[_0x12a07c(0x2ef)],_0x20bb91;}function adaptDrivenDataDetails(_0x5dc493){const _0xdc42dd=a0_0x5697;return _0x5dc493[_0xdc42dd(0xc9)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x1ccfaa){const _0x29aea7=a0_0x5697;if(!_0x1ccfaa[_0x29aea7(0x231)]||!_0x1ccfaa[_0x29aea7(0x98)])throw new Error(_0x29aea7(0xb0)+(_0x1ccfaa[_0x29aea7(0x1d0)]||_0x1ccfaa['msg']));return adaptDrivenDataDetail(_0x1ccfaa[_0x29aea7(0x98)]);}function extractDatasetsFromListResponse(_0x451f0b){const _0x3d5d7c=a0_0x5697;if(!_0x451f0b[_0x3d5d7c(0x231)]||!_0x451f0b[_0x3d5d7c(0x98)]?.['tableData'])throw new Error(_0x3d5d7c(0x138)+(_0x451f0b[_0x3d5d7c(0x1d0)]||_0x451f0b[_0x3d5d7c(0x10f)]));return _0x451f0b[_0x3d5d7c(0x98)][_0x3d5d7c(0xa6)][_0x3d5d7c(0xc9)](_0x2b5878=>({..._0x2b5878,'datasetCode':_0x2b5878[_0x3d5d7c(0x1f0)]||_0x2b5878[_0x3d5d7c(0x89)]}));}function isDrivenDataDetail(_0x4d77be){const _0x1e59e8=a0_0x5697;return Boolean(_0x4d77be&&typeof _0x4d77be[_0x1e59e8(0x144)]===_0x1e59e8(0x27c));}function smartAdapt(_0xfa08ca){const _0x334cfa=a0_0x5697;if(isDrivenDataDetail(_0xfa08ca))return adaptDrivenDataDetail(_0xfa08ca);if(_0xfa08ca['datasetCode'])return _0xfa08ca;if(_0xfa08ca[_0x334cfa(0x1f0)]){const _0x44f841={..._0xfa08ca};return _0x44f841['datasetCode']=_0xfa08ca['code'],_0x44f841;}return _0xfa08ca;}function cleanNewlines(_0x4192a7){const _0x49c990=a0_0x5697;return _0x4192a7[_0x49c990(0x1bd)](/[\r\n]+/g,'\x20')[_0x49c990(0x17a)]();}function cleanDatasetName(_0x531201){const _0x1f487a=a0_0x5697;if(!_0x531201[_0x1f487a(0x176)])return _0x531201;return{..._0x531201,'name':cleanNewlines(_0x531201['name'])};}function cleanDatasetNames(_0x21cfd3){const _0x359596=a0_0x5697;return _0x21cfd3[_0x359596(0xc9)](cleanDatasetName);}var DatasetOperationType;(_0x479cdd=>{const _0x32ff9e=a0_0x5697;_0x479cdd[_0x32ff9e(0x2c9)]=_0x32ff9e(0x1d7),_0x479cdd[_0x32ff9e(0xc8)]='getOne',_0x479cdd['GET_ONE_ORIGIN']=_0x32ff9e(0x18d),_0x479cdd['GET_ONE_UPDATE']=_0x32ff9e(0x9b),_0x479cdd[_0x32ff9e(0x213)]=_0x32ff9e(0x2c2),_0x479cdd['UPDATE']='update',_0x479cdd['DELETE']='delete',_0x479cdd[_0x32ff9e(0xa5)]='getSelectOptions',_0x479cdd['GET_FILE_URL']=_0x32ff9e(0x205),_0x479cdd['EXCEL_EXPORT']='excelExport',_0x479cdd['GET_UPLOAD_FILE_SCRIPT']=_0x32ff9e(0x1ff),_0x479cdd[_0x32ff9e(0x17d)]=_0x32ff9e(0x164),_0x479cdd[_0x32ff9e(0x241)]=_0x32ff9e(0xa7),_0x479cdd[_0x32ff9e(0x136)]='taskInfo',_0x479cdd['IMPORT_TEMPLATE']=_0x32ff9e(0x207);})(DatasetOperationType||={});const a0_0x2ac2c8={};a0_0x2ac2c8[a0_0x5ba6db(0x1d7)]=a0_0x5ba6db(0x271),a0_0x2ac2c8['getOne']=a0_0x5ba6db(0x1c5),a0_0x2ac2c8[a0_0x5ba6db(0x18d)]=a0_0x5ba6db(0xbc),a0_0x2ac2c8['getOneUpdate']=a0_0x5ba6db(0x1b5),a0_0x2ac2c8[a0_0x5ba6db(0x2c2)]='创建',a0_0x2ac2c8[a0_0x5ba6db(0xf1)]='更新',a0_0x2ac2c8[a0_0x5ba6db(0x24d)]='删除',a0_0x2ac2c8[a0_0x5ba6db(0x20f)]=a0_0x5ba6db(0x259),a0_0x2ac2c8[a0_0x5ba6db(0x205)]=a0_0x5ba6db(0xf5),a0_0x2ac2c8[a0_0x5ba6db(0x26e)]=a0_0x5ba6db(0x2db),a0_0x2ac2c8[a0_0x5ba6db(0x1ff)]=a0_0x5ba6db(0x274),a0_0x2ac2c8[a0_0x5ba6db(0x164)]=a0_0x5ba6db(0x8c),a0_0x2ac2c8[a0_0x5ba6db(0xa7)]=a0_0x5ba6db(0x23b),a0_0x2ac2c8['taskInfo']=a0_0x5ba6db(0x1eb),a0_0x2ac2c8[a0_0x5ba6db(0x207)]=a0_0x5ba6db(0x237);var OPERATION_TYPE_DISPLAY_NAME=a0_0x2ac2c8,API_BLACKLIST=[a0_0x5ba6db(0x1d7),'getOneOrigin',a0_0x5ba6db(0x9b),a0_0x5ba6db(0x205)];function parseFieldExtend(_0x447743){const _0x174ae8=a0_0x5ba6db;if(!_0x447743||typeof _0x447743!==_0x174ae8(0x181))return!![]&&console[_0x174ae8(0x223)](_0x174ae8(0x17b),_0x447743),{};if(!_0x447743[_0x174ae8(0x21d)])return{};try{const _0x5087f3=typeof _0x447743[_0x174ae8(0x21d)]==='string'?JSON[_0x174ae8(0x80)](_0x447743[_0x174ae8(0x21d)]):_0x447743[_0x174ae8(0x21d)];if(typeof _0x5087f3!=='object'||_0x5087f3===null)return{};return _0x5087f3;}catch{return{};}}function isPrimaryKeyField(_0x235d05,_0x34d390){const _0x46681c=a0_0x5ba6db;if(!_0x235d05||typeof _0x235d05!==_0x46681c(0x181))return![];if(typeof _0x34d390===_0x46681c(0x27c)&&_0x235d05['code']===_0x34d390)return!![];const _0x55de10=parseFieldExtend(_0x235d05);return Boolean(_0x55de10['primaryKey']||_0x55de10['pkField']);}function isSystemField(_0x529e43){const _0x1e2843=a0_0x5ba6db,_0x3a9a90=parseFieldExtend(_0x529e43);return Boolean(_0x3a9a90[_0x1e2843(0x8b)]);}function isRequiredField(_0x12e91c){const _0x53cf59=a0_0x5ba6db,_0x212a92=parseFieldExtend(_0x12e91c);return Boolean(_0x212a92[_0x53cf59(0x1ae)]);}function isAutoIncrementField(_0xd7c1f8){const _0x4d3fbf=a0_0x5ba6db,_0xec4733=parseFieldExtend(_0xd7c1f8);return Boolean(_0xec4733[_0x4d3fbf(0x180)]);}function isCreateTimeField(_0x157d8e){const _0x500e5c=parseFieldExtend(_0x157d8e);return Boolean(_0x500e5c['createDate']);}function isModifyTimeField(_0x557e19){const _0x900c53=a0_0x5ba6db,_0x223641=parseFieldExtend(_0x557e19);return Boolean(_0x223641[_0x900c53(0xfd)]);}const a0_0x40bcc8={};a0_0x40bcc8[a0_0x5ba6db(0x135)]='数字',a0_0x40bcc8['TEXT']='文本',a0_0x40bcc8[a0_0x5ba6db(0x1db)]=a0_0x5ba6db(0x197),a0_0x40bcc8[a0_0x5ba6db(0x108)]='日期',a0_0x40bcc8[a0_0x5ba6db(0x26f)]='日期时间',a0_0x40bcc8[a0_0x5ba6db(0x202)]=a0_0x5ba6db(0x255),a0_0x40bcc8['SELECT']='下拉选择',a0_0x40bcc8['CHECKBOX']='多选',a0_0x40bcc8[a0_0x5ba6db(0x227)]='单选',a0_0x40bcc8[a0_0x5ba6db(0x2ea)]='开关',a0_0x40bcc8[a0_0x5ba6db(0xaa)]=a0_0x5ba6db(0xee),a0_0x40bcc8[a0_0x5ba6db(0x190)]='图片',a0_0x40bcc8[a0_0x5ba6db(0x99)]=a0_0x5ba6db(0x199),a0_0x40bcc8[a0_0x5ba6db(0x24f)]='JSON',a0_0x40bcc8[a0_0x5ba6db(0x25c)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x40bcc8;function getDbTypeDisplay(_0x3ee9c0){const _0x1a5c06=a0_0x5ba6db;if(typeof _0x3ee9c0!==_0x1a5c06(0x27c))return!![]&&console[_0x1a5c06(0x223)](_0x1a5c06(0xb9),_0x3ee9c0),String(_0x3ee9c0||'-');return DB_TYPE_DISPLAY_MAP[_0x3ee9c0]||_0x3ee9c0;}function formatDbType(_0x4951d5,_0x4579d5){const _0x9825be=a0_0x5ba6db;if(!_0x4951d5||typeof _0x4951d5!=='string')return'-';if(!_0x4579d5||typeof _0x4579d5!==_0x9825be(0xd3))return _0x4951d5;const _0x4e81a1=[_0x9825be(0x1ac),_0x9825be(0x26f),_0x9825be(0x202),_0x9825be(0x108)];if(_0x4e81a1[_0x9825be(0x122)](_0x4951d5[_0x9825be(0x201)]()))return _0x4951d5;return _0x4951d5+'('+_0x4579d5+')';}function parseOperationType(_0x3d67a0){const _0x9f175c=a0_0x5ba6db;if(typeof _0x3d67a0!==_0x9f175c(0x27c)){!![]&&console[_0x9f175c(0x223)](_0x9f175c(0x298),_0x3d67a0);return;}if(Object['values'](DatasetOperationType)[_0x9f175c(0x122)](_0x3d67a0))return _0x3d67a0;const _0x57d377=Object[_0x9f175c(0x1c9)](OPERATION_TYPE_DISPLAY_NAME)[_0x9f175c(0xbf)](([_0x13df9c,_0x5dc1c6])=>_0x5dc1c6===_0x3d67a0);return _0x57d377?_0x57d377[0x0]:undefined;}function shouldIncludeField(_0x19b25f,_0x5d85bd,_0x3ce425){const _0x1f2a4c=a0_0x5ba6db,_0x143d0f=parseFieldExtend(_0x19b25f),_0x47478f=isPrimaryKeyField(_0x19b25f,_0x3ce425),_0x3019d6=Boolean(_0x143d0f['systemRetain']),_0xefd6c0=Boolean(_0x143d0f[_0x1f2a4c(0x180)]),_0x1fa9b8=Boolean(_0x143d0f[_0x1f2a4c(0x2d2)]),_0x4963a8=Boolean(_0x143d0f['modifyDate']);switch(_0x5d85bd){case _0x1f2a4c(0x1d7):return!![];case _0x1f2a4c(0x2b4):case _0x1f2a4c(0x18d):case _0x1f2a4c(0x24d):return _0x47478f;case _0x1f2a4c(0x2c2):if(_0x47478f&&_0xefd6c0)return![];if(_0x3019d6)return![];if(_0x1fa9b8||_0x4963a8)return![];return!![];case _0x1f2a4c(0xf1):case _0x1f2a4c(0x9b):if(_0x47478f)return!![];if(_0x3019d6)return![];if(_0x1fa9b8||_0x4963a8)return![];return!![];case _0x1f2a4c(0x20f):return _0x19b25f[_0x1f2a4c(0x1f0)]==='code';default:return!![];}}function getFieldsForOperation(_0x1cba92,_0x1b179b,_0x537a8b){const _0x1e468e=a0_0x5ba6db;if(!Array[_0x1e468e(0x2f6)](_0x1cba92))return!![]&&console[_0x1e468e(0x223)](_0x1e468e(0xf3),_0x1cba92),[];return _0x1cba92[_0x1e468e(0x7e)](_0x5584d6=>shouldIncludeField(_0x5584d6,_0x1b179b,_0x537a8b));}function isApiBlacklisted(_0x577708){const _0x5bef9c=a0_0x5ba6db;if(typeof _0x577708!==_0x5bef9c(0x27c))return!![]&&console[_0x5bef9c(0x223)](_0x5bef9c(0x1e0),_0x577708),![];return API_BLACKLIST[_0x5bef9c(0x122)](_0x577708);}function filterApiOperations(_0x2dc55d){const _0x262697=a0_0x5ba6db;if(!Array[_0x262697(0x2f6)](_0x2dc55d))return!![]&&console['warn'](_0x262697(0x1a1),_0x2dc55d),[];return _0x2dc55d[_0x262697(0x7e)](_0x21e2ab=>_0x21e2ab&&typeof _0x21e2ab==='object'&&!isApiBlacklisted(_0x21e2ab[_0x262697(0x176)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x5ba6db(0x2a4)](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x211e3e})=>{const _0x2d5b97=a0_0x5ba6db;if(_0x211e3e?.[_0x2d5b97(0x1d4)]&&Array[_0x2d5b97(0x2f6)](_0x211e3e[_0x2d5b97(0x1d4)])&&_0x211e3e[_0x2d5b97(0x1d4)]['length']>0x0)return _0x211e3e[_0x2d5b97(0x1d4)][0x0][_0x2d5b97(0x14b)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x5522ac})=>{const _0xb997ec=a0_0x5ba6db;if(_0x5522ac==='currentPage')return 0x1;if(_0x5522ac===_0xb997ec(0x27b))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x6f2129})=>{const _0x590afd=a0_0x5ba6db;if(_0x6f2129&&typeof _0x6f2129===_0x590afd(0x27c)){const _0x3dc041=_0x6f2129['toLowerCase']();if(_0x3dc041['includes']('邮箱')||_0x3dc041[_0x590afd(0x122)](_0x590afd(0x25d)))return _0x590afd(0x12b);if(_0x3dc041[_0x590afd(0x122)]('电话')||_0x3dc041[_0x590afd(0x122)]('手机')||_0x3dc041['includes'](_0x590afd(0x2b3)))return'13800138000';if(_0x3dc041['includes']('地址')||_0x3dc041[_0x590afd(0x122)](_0x590afd(0x27e)))return _0x590afd(0x1b8);if(_0x3dc041[_0x590afd(0x122)]('姓名')||_0x3dc041[_0x590afd(0x122)](_0x590afd(0x176)))return'张三';}return _0x590afd(0x233);},'VARCHAR':({description:_0x5bbda9})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x5bbda9}),'CHAR':({description:_0x3be13c})=>TYPE_VALUE_GENERATORS[a0_0x5ba6db(0x1ac)]({'description':_0x3be13c}),'STRING':({fieldInfo:_0x11af5c,description:_0x2fc9b7})=>{const _0x4ef35f=a0_0x5ba6db;if(_0x11af5c?.[_0x4ef35f(0x224)]&&typeof _0x11af5c['placeholder']===_0x4ef35f(0x27c)&&_0x11af5c[_0x4ef35f(0x224)]!=='系统自动生成')return _0x11af5c[_0x4ef35f(0x224)][_0x4ef35f(0x1bd)](/^请输入|^请选择/,'');const _0x58aa13={};return _0x58aa13[_0x4ef35f(0x1ce)]=_0x2fc9b7,TYPE_VALUE_GENERATORS[_0x4ef35f(0x1ac)](_0x58aa13);},'TEXTAREA':()=>a0_0x5ba6db(0x184),'LONGTEXT':()=>a0_0x5ba6db(0x184),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x5ba6db(0x14b)}),'ARRAY':()=>[a0_0x5ba6db(0x256),'item2'],'UPLOAD':()=>a0_0x5ba6db(0x204),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0x5ba6db(0xb1)};function generateExampleValue(_0xb26717,_0x5f5ad9,_0x5b2c60,_0x36d924={}){const _0x2a1abe=a0_0x5ba6db;typeof _0xb26717!=='string'&&(!![]&&console[_0x2a1abe(0x223)](_0x2a1abe(0x14f),_0xb26717),_0xb26717=String(_0xb26717||''));if(typeof _0x5f5ad9!==_0x2a1abe(0x27c))return!![]&&console[_0x2a1abe(0x223)]('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x5f5ad9),_0x2a1abe(0x143);const {isPrimaryKey:_0x81b939,dbtableConfig:_0x29e426}=_0x36d924;if(_0x81b939)return 0x1;if(_0x29e426&&typeof _0x29e426==='object'){const _0x241e1e=_0x29e426['createTimeField']?.['fieldName']===_0xb26717,_0x4a5f29=_0x29e426[_0x2a1abe(0x69)]?.['fieldName']===_0xb26717;if(_0x241e1e||_0x4a5f29){if(_0x5b2c60&&typeof _0x5b2c60===_0x2a1abe(0x27c)&&_0x5b2c60['toUpperCase']()[_0x2a1abe(0x122)]('TIMESTAMP'))return Date[_0x2a1abe(0x2a4)]();return new Date()[_0x2a1abe(0x1b3)]()[_0x2a1abe(0x1bd)]('T','\x20')[_0x2a1abe(0x294)]('.')[0x0];}}const _0x289d32={..._0x36d924};_0x289d32[_0x2a1abe(0x178)]=_0xb26717;const _0x1e1065=_0x289d32;if(_0x5b2c60&&typeof _0x5b2c60===_0x2a1abe(0x27c)){const _0x55f14e=_0x5b2c60[_0x2a1abe(0x201)](),_0x110f7b=TYPE_VALUE_GENERATORS[_0x55f14e];if(_0x110f7b)return _0x110f7b(_0x1e1065);}if(_0x5f5ad9&&typeof _0x5f5ad9===_0x2a1abe(0x27c)){const _0x54eb66=_0x5f5ad9['toUpperCase'](),_0x372cfc=TYPE_VALUE_GENERATORS[_0x54eb66];if(_0x372cfc)return _0x372cfc(_0x1e1065);}return'示例值';}function generateExampleFromSchema(_0x1f4725,_0x165f1c){const _0x549a7d=a0_0x5ba6db;if(!_0x1f4725||typeof _0x1f4725!==_0x549a7d(0x181))return{};if(Array[_0x549a7d(0x2f6)](_0x1f4725)){if(_0x1f4725[_0x549a7d(0x1d6)]>0x0)return[generateExampleFromSchema(_0x1f4725[0x0],_0x165f1c)];return[];}const _0x49f13a={};return Object[_0x549a7d(0xe9)](_0x1f4725)[_0x549a7d(0x2a7)](_0x5db779=>{const _0x1f0fbc=_0x549a7d,_0x1b847a=_0x1f4725[_0x5db779];if(_0x1b847a&&typeof _0x1b847a==='object'&&!Array[_0x1f0fbc(0x2f6)](_0x1b847a)&&_0x1b847a[_0x1f0fbc(0xe8)]){const _0x4fefc9=_0x1b847a,_0x20c848=_0x4fefc9[_0x1f0fbc(0xe8)],_0x52eaa3=_0x4fefc9[_0x1f0fbc(0x1ce)];if(typeof _0x20c848===_0x1f0fbc(0x27c)){const _0x371910={};_0x371910[_0x1f0fbc(0x1ce)]=_0x52eaa3,_0x371910[_0x1f0fbc(0x126)]=_0x165f1c,_0x49f13a[_0x5db779]=generateExampleValue(_0x5db779,_0x20c848,undefined,_0x371910);}else _0x49f13a[_0x5db779]='示例值';}else{if(Array[_0x1f0fbc(0x2f6)](_0x1b847a))_0x49f13a[_0x5db779]=_0x1b847a[_0x1f0fbc(0x1d6)]>0x0?[generateExampleFromSchema(_0x1b847a[0x0],_0x165f1c)]:[];else _0x1b847a&&typeof _0x1b847a===_0x1f0fbc(0x181)?_0x49f13a[_0x5db779]=generateExampleFromSchema(_0x1b847a,_0x165f1c):_0x49f13a[_0x5db779]=_0x1b847a;}}),_0x49f13a;}function parseRequestBody(_0x1a74d2){const _0x2b9938=a0_0x5ba6db;if(!_0x1a74d2)return{};try{return JSON['parse'](_0x1a74d2);}catch(_0x19b9b5){return!![]&&console[_0x2b9938(0x223)](_0x2b9938(0xfb),_0x19b9b5),{};}}function parseResponseBody(_0x1acb44){const _0xcf44d2=a0_0x5ba6db;if(!_0x1acb44)return null;try{const _0x587079=JSON[_0xcf44d2(0x80)](_0x1acb44);return _0x587079[_0xcf44d2(0x22a)]||_0x587079;}catch(_0x57092b){return!![]&&console['warn'](_0xcf44d2(0x2f7),_0x57092b),null;}}function generateRequestExample(_0x4cada8,_0x4f70a0,_0x3238ad,_0x415c29){const _0xd7ed29=a0_0x5ba6db,_0x4f624f={};if(!Array[_0xd7ed29(0x2f6)](_0x4cada8))return!![]&&console[_0xd7ed29(0x223)](_0xd7ed29(0xd9),_0x4cada8),_0x4f624f;return _0x4cada8[_0xd7ed29(0x2a7)](_0x1366d7=>{const _0x3e2c72=_0xd7ed29;if(!_0x1366d7||typeof _0x1366d7!==_0x3e2c72(0x181)){!![]&&console['warn']('[generateRequestExample]\x20Invalid\x20field:',_0x1366d7);return;}if(typeof _0x1366d7[_0x3e2c72(0x1f0)]!=='string'||typeof _0x1366d7['type']!==_0x3e2c72(0x27c)){!![]&&console[_0x3e2c72(0x223)](_0x3e2c72(0x117),_0x1366d7);return;}const _0x43a6a3=parseFieldExtend(_0x1366d7),_0x72f2c6=_0x1366d7['code']===_0x3238ad||Boolean(_0x43a6a3?.[_0x3e2c72(0x1ad)]),_0x10a6c6=generateExampleValue(_0x1366d7[_0x3e2c72(0x1f0)],_0x1366d7[_0x3e2c72(0xe8)],typeof _0x1366d7[_0x3e2c72(0x2e6)]===_0x3e2c72(0x27c)?_0x1366d7[_0x3e2c72(0x2e6)]:undefined,{'fieldInfo':_0x43a6a3,'isPrimaryKey':_0x72f2c6,'description':_0x1366d7['description']||_0x1366d7[_0x3e2c72(0x176)],'dbtableConfig':_0x415c29});_0x4f624f[_0x1366d7[_0x3e2c72(0x1f0)]]=_0x10a6c6;}),_0x4f70a0==='getList'&&(_0x4f624f[_0xd7ed29(0x319)]=0x1,_0x4f624f[_0xd7ed29(0x27b)]=0xa),_0x4f624f;}function formatEnumValue(_0x51951f,_0x26078e){const _0x264e67=a0_0x5ba6db;if(_0x51951f[_0x264e67(0x1ef)]&&Array[_0x264e67(0x2f6)](_0x26078e))return _0x26078e['map'](_0x1a6d79=>_0x51951f['valueLabels'][String(_0x1a6d79)]||String(_0x1a6d79))[_0x264e67(0x18b)](',\x20');return _0x51951f[_0x264e67(0xc6)][String(_0x26078e)]||String(_0x26078e);}function formatOptionsForDoc(_0xa4a150){const _0x56f708=a0_0x5ba6db;return _0xa4a150[_0x56f708(0xc9)](_0x4a6340=>_0x4a6340['value']+'('+_0x4a6340[_0x56f708(0x2c4)]+')')[_0x56f708(0x18b)](',\x20');}function formatOptionsAsMarkdownList(_0x54b39e,_0x2399a5=0x0){const _0x7f38ec=a0_0x5ba6db,_0xd09c10='\x20\x20'['repeat'](_0x2399a5),_0x52018a=[];return _0x54b39e[_0x7f38ec(0x2a7)](_0x4061d9=>{const _0x5cb44f=_0x7f38ec;_0x52018a[_0x5cb44f(0x296)](_0xd09c10+'-\x20`'+_0x4061d9['value']+'`:\x20'+_0x4061d9[_0x5cb44f(0x2c4)]),_0x4061d9['children']&&_0x4061d9[_0x5cb44f(0x189)][_0x5cb44f(0x1d6)]>0x0&&_0x52018a[_0x5cb44f(0x296)](formatOptionsAsMarkdownList(_0x4061d9[_0x5cb44f(0x189)],_0x2399a5+0x1));}),_0x52018a[_0x7f38ec(0x18b)]('\x0a');}class DbtableConfig{[a0_0x5ba6db(0x244)];constructor(_0x428349){const _0xa93612={..._0x428349};this['_raw']=_0xa93612;}get[a0_0x5ba6db(0xb6)](){const _0x539de0=a0_0x5ba6db;return this[_0x539de0(0x244)][_0x539de0(0xb6)];}get[a0_0x5ba6db(0x2f8)](){const _0x21b86b=a0_0x5ba6db;return this['_raw'][_0x21b86b(0x2f8)]??this[_0x21b86b(0x244)][_0x21b86b(0x2be)]?.[_0x21b86b(0x2f8)];}get['tableName'](){const _0x5abc6d=a0_0x5ba6db;return this[_0x5abc6d(0x244)][_0x5abc6d(0x21f)];}get[a0_0x5ba6db(0x29f)](){const _0x3620fd=a0_0x5ba6db;return this[_0x3620fd(0x244)][_0x3620fd(0x29f)];}get['pkField'](){const _0x1b22c4=a0_0x5ba6db;return this[_0x1b22c4(0x244)][_0x1b22c4(0x9a)];}get[a0_0x5ba6db(0x2b0)](){const _0x1ec2db=a0_0x5ba6db;return this['_raw'][_0x1ec2db(0x2b0)];}get[a0_0x5ba6db(0xce)](){const _0x23caf4=a0_0x5ba6db;return this[_0x23caf4(0x244)][_0x23caf4(0xce)];}get[a0_0x5ba6db(0xb4)](){const _0x5955cc=a0_0x5ba6db;return this[_0x5955cc(0x244)][_0x5955cc(0xb4)];}get['updateTimeField'](){const _0x49b77e=a0_0x5ba6db;return this[_0x49b77e(0x244)][_0x49b77e(0x69)];}get[a0_0x5ba6db(0x28c)](){const _0x589894=a0_0x5ba6db;return this[_0x589894(0x244)][_0x589894(0x28c)];}get[a0_0x5ba6db(0x2d7)](){const _0x41ed2b=a0_0x5ba6db;return this[_0x41ed2b(0x244)][_0x41ed2b(0x2d7)];}get['modifierIdField'](){const _0x422263=a0_0x5ba6db;return this['_raw'][_0x422263(0x11b)];}get[a0_0x5ba6db(0x11f)](){const _0x262bc6=a0_0x5ba6db;return this[_0x262bc6(0x244)]['modifierNameField'];}get[a0_0x5ba6db(0x2be)](){const _0x3954a8=a0_0x5ba6db;return this['_raw'][_0x3954a8(0x2be)];}[a0_0x5ba6db(0x134)](){const _0x4bc4c9=a0_0x5ba6db;if(!this[_0x4bc4c9(0x244)][_0x4bc4c9(0x1ee)])return[];return this[_0x4bc4c9(0x244)][_0x4bc4c9(0x1ee)][_0x4bc4c9(0x294)](',')[_0x4bc4c9(0xc9)](_0x415e15=>_0x415e15['trim']())['filter'](Boolean);}[a0_0x5ba6db(0x302)](){const _0x5c792c=a0_0x5ba6db;return this[_0x5c792c(0x244)]['allFields'];}['hasField'](_0x493960){const _0x37feaf=a0_0x5ba6db;return this[_0x37feaf(0x134)]()['includes'](_0x493960);}[a0_0x5ba6db(0xdb)](){const _0x4e1d92=a0_0x5ba6db;return Boolean(this[_0x4e1d92(0x244)]['tableName']);}['hasDblinkInfo'](){const _0x44a68f=a0_0x5ba6db;return Boolean(this['_raw'][_0x44a68f(0x2be)]);}['hasLogicField'](){const _0x4ca9e0=a0_0x5ba6db;return Boolean(this[_0x4ca9e0(0x244)]['logicField']?.[_0x4ca9e0(0x2af)]);}['hasCreateTimeField'](){const _0x4fae10=a0_0x5ba6db;return Boolean(this[_0x4fae10(0x244)][_0x4fae10(0xb4)]?.[_0x4fae10(0x2af)]);}['hasUpdateTimeField'](){const _0x5059b6=a0_0x5ba6db;return Boolean(this[_0x5059b6(0x244)][_0x5059b6(0x69)]?.[_0x5059b6(0x2af)]);}[a0_0x5ba6db(0x2bc)](){const _0x27e3c9=a0_0x5ba6db;return Boolean(this[_0x27e3c9(0x244)]['creatorIdField']?.['fieldName']);}[a0_0x5ba6db(0x219)](){const _0x5aaab4=a0_0x5ba6db;return Boolean(this['_raw'][_0x5aaab4(0x11b)]?.[_0x5aaab4(0x2af)]);}[a0_0x5ba6db(0xef)](_0x152d44){const _0x2e3453=a0_0x5ba6db;return this[_0x2e3453(0x244)][_0x2e3453(0x9a)]===_0x152d44;}[a0_0x5ba6db(0x192)](_0x29b7d1){const _0x30e08f=a0_0x5ba6db;return this['isPrimaryKeyField'](_0x29b7d1)||this[_0x30e08f(0x244)][_0x30e08f(0xce)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0xb4)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x69)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x28c)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x2d7)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x11b)]?.[_0x30e08f(0x2af)]===_0x29b7d1||this[_0x30e08f(0x244)][_0x30e08f(0x11f)]?.[_0x30e08f(0x2af)]===_0x29b7d1;}[a0_0x5ba6db(0x74)](){const _0xed5016=a0_0x5ba6db;return this['_raw'][_0xed5016(0x2be)]?.[_0xed5016(0x2f8)];}[a0_0x5ba6db(0x105)](){const _0x10c604=a0_0x5ba6db;return this[_0x10c604(0x244)][_0x10c604(0x2be)]?.[_0x10c604(0x2e6)];}[a0_0x5ba6db(0x11a)](){const _0x3ce039=a0_0x5ba6db;return this[_0x3ce039(0x244)][_0x3ce039(0x2be)]?.[_0x3ce039(0x292)];}[a0_0x5ba6db(0x73)](){const _0x421f95=a0_0x5ba6db;return this[_0x421f95(0x244)][_0x421f95(0x2be)]?.[_0x421f95(0xc2)];}[a0_0x5ba6db(0x2ce)](){const _0x300547=a0_0x5ba6db;return this[_0x300547(0x244)][_0x300547(0x2be)]?.[_0x300547(0x13f)];}[a0_0x5ba6db(0x288)](){const _0x398fb3=a0_0x5ba6db;return this[_0x398fb3(0x244)][_0x398fb3(0x2be)]?.[_0x398fb3(0x128)];}[a0_0x5ba6db(0x30b)](){const _0x5c078d=a0_0x5ba6db;return{'hasTableName':this[_0x5c078d(0xdb)](),'hasDblinkInfo':this[_0x5c078d(0x293)](),'fieldCount':this['getAllFieldsArray']()[_0x5c078d(0x1d6)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x5c078d(0x2a6)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x5c078d(0x219)]()}};}['toConfig'](){const _0x5ef689=a0_0x5ba6db,_0x4a77ed={};return _0x4a77ed[_0x5ef689(0x21f)]=this[_0x5ef689(0x21f)],_0x4a77ed[_0x5ef689(0x9a)]=this[_0x5ef689(0x9a)],_0x4a77ed[_0x5ef689(0x29f)]=this[_0x5ef689(0x29f)],_0x4a77ed[_0x5ef689(0xb6)]=this[_0x5ef689(0xb6)],_0x4a77ed;}[a0_0x5ba6db(0x308)](){const _0x218a65=a0_0x5ba6db,_0x44a841={...this[_0x218a65(0x244)]};return _0x44a841;}[a0_0x5ba6db(0x1f4)](){const _0x8c8fd6={...this['_raw']};return _0x8c8fd6;}['toString'](){const _0x6ef7f1=a0_0x5ba6db,_0x322661=this[_0x6ef7f1(0x21f)]||_0x6ef7f1(0x253),_0x135c26=this[_0x6ef7f1(0x134)]()[_0x6ef7f1(0x1d6)];return _0x6ef7f1(0xe5)+_0x322661+_0x6ef7f1(0x29e)+_0x135c26+')';}static[a0_0x5ba6db(0x1e6)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x5ba6db(0x244)];constructor(_0x265794){const _0x38e272=a0_0x5ba6db,_0x58126e=_0x265794[_0x38e272(0x89)]||_0x265794['code']||_0x265794[_0x38e272(0x144)],_0x3e6e01={..._0x265794};_0x3e6e01['datasetCode']=_0x58126e,this[_0x38e272(0x244)]=_0x3e6e01;}get['id'](){const _0x14fa22=a0_0x5ba6db;return this[_0x14fa22(0x244)]['id'];}get[a0_0x5ba6db(0x176)](){const _0x2a555f=a0_0x5ba6db;return this[_0x2a555f(0x244)][_0x2a555f(0x176)];}[a0_0x5ba6db(0x1e7)](){const _0x251f97=a0_0x5ba6db;return this[_0x251f97(0x176)];}get[a0_0x5ba6db(0x89)](){const _0x2df2a6=a0_0x5ba6db;return this[_0x2df2a6(0x244)][_0x2df2a6(0x89)]||'';}get[a0_0x5ba6db(0x126)](){const _0x37099d=a0_0x5ba6db;if(!this['_raw'][_0x37099d(0x126)])return null;return new DbtableConfig(this[_0x37099d(0x244)][_0x37099d(0x126)]);}[a0_0x5ba6db(0x18f)](){const _0x216a36=a0_0x5ba6db;return this[_0x216a36(0x244)][_0x216a36(0x126)];}['getDbName'](){const _0x509a01=a0_0x5ba6db;return this[_0x509a01(0x126)]?.['dbName']||'';}[a0_0x5ba6db(0x26c)](){return getTableName(this['_raw']);}[a0_0x5ba6db(0x240)](){const _0x1c7bdd=a0_0x5ba6db;return getTableKey(this[_0x1c7bdd(0x26c)]());}[a0_0x5ba6db(0x127)](){return generateModelKeyFromCode(this['datasetCode']);}[a0_0x5ba6db(0x263)](){const _0x5d937f=a0_0x5ba6db;return isVirtualTableName(this[_0x5d937f(0x26c)]());}[a0_0x5ba6db(0x20e)](){const _0x1e66a8=a0_0x5ba6db;return getTableKey(this[_0x1e66a8(0x26c)]());}[a0_0x5ba6db(0x28f)](){const _0x11a1c9=a0_0x5ba6db,_0x7d46e6=getTableKey(this['getTableName']());return{'key':_0x7d46e6,'alias':_0x7d46e6,'tableName':this[_0x11a1c9(0x26c)](),'datasetCode':this[_0x11a1c9(0x89)],'name':this[_0x11a1c9(0x176)]};}[a0_0x5ba6db(0x308)](){const _0x330115=a0_0x5ba6db,_0x4f7223={...this['_raw']};return _0x4f7223[_0x330115(0x89)]=this[_0x330115(0x89)],_0x4f7223;}[a0_0x5ba6db(0x1f4)](){const _0x1706cd=a0_0x5ba6db,_0xa461a5={...this[_0x1706cd(0x244)]};return _0xa461a5;}[a0_0x5ba6db(0x200)](){const _0x4d78c8=a0_0x5ba6db,_0x310730=this['dbtableConfig'];return _0x310730!==null&&_0x310730[_0x4d78c8(0xdb)]();}['getExtendField'](_0xeb42b8){const _0x432c18=a0_0x5ba6db;return this[_0x432c18(0x244)][_0xeb42b8];}[a0_0x5ba6db(0x2c5)](_0x49ddf1){const _0x5b740f=a0_0x5ba6db;return _0x49ddf1 in this[_0x5b740f(0x244)];}[a0_0x5ba6db(0x146)](){const _0x1dd969=a0_0x5ba6db;return'DatasetItem('+this[_0x1dd969(0x176)]+',\x20'+this[_0x1dd969(0x89)]+')';}}class Operation{[a0_0x5ba6db(0x176)];['_raw'];[a0_0x5ba6db(0x111)];constructor(_0x3778c8,_0x35b77a,_0x10e168){const _0x51fa08=a0_0x5ba6db;this[_0x51fa08(0x176)]=_0x3778c8,this[_0x51fa08(0x244)]=_0x35b77a,this[_0x51fa08(0x111)]=_0x10e168;}['getName'](){return this['name'];}[a0_0x5ba6db(0x2a1)](){const _0x551493=a0_0x5ba6db;return OPERATION_TYPE_DISPLAY_NAME[this[_0x551493(0x176)]]||this[_0x551493(0x176)];}['getType'](){const _0x1d9ccf=a0_0x5ba6db;return parseOperationType(this[_0x1d9ccf(0x176)]);}[a0_0x5ba6db(0x2c6)](){const _0xf0f9ac=a0_0x5ba6db;return this['_raw']!==null&&this[_0xf0f9ac(0x244)]!==![];}[a0_0x5ba6db(0x149)](){const _0x55057f=a0_0x5ba6db,_0x149640=this['_raw'];if(_0x149640===![]||_0x149640===null)return'';return _0x149640[_0x55057f(0x76)]||_0x55057f(0x2b7);}[a0_0x5ba6db(0x1e9)](){const _0x26cbfa=a0_0x5ba6db,_0x2a2339=this['_raw'];if(_0x2a2339===![]||_0x2a2339===null)return'';return _0x2a2339[_0x26cbfa(0x267)]||'';}[a0_0x5ba6db(0x1d2)](){const _0x5d0c4d=a0_0x5ba6db,_0x43a9c2=this['_raw'];let _0x5b07a6='';_0x43a9c2!==![]&&_0x43a9c2!==null&&_0x43a9c2[_0x5d0c4d(0x230)]&&(_0x5b07a6=_0x43a9c2[_0x5d0c4d(0x230)]);const _0x4cac0a=this[_0x5d0c4d(0x1e9)]();return _0x5b07a6&&_0x4cac0a?''+_0x5b07a6+_0x4cac0a:_0x4cac0a;}[a0_0x5ba6db(0x157)](){const _0x220f21=a0_0x5ba6db,_0x206090=this[_0x220f21(0x244)];if(_0x206090===![]||_0x206090===null||!_0x206090[_0x220f21(0x208)])return{};try{return JSON[_0x220f21(0x80)](_0x206090[_0x220f21(0x208)]);}catch{return{};}}['parseRawResponseBody'](){const _0x7a9e90=a0_0x5ba6db,_0xde6b2e=this['_raw'];if(_0xde6b2e===![]||_0xde6b2e===null||!_0xde6b2e[_0x7a9e90(0x139)])return null;try{return JSON[_0x7a9e90(0x80)](_0xde6b2e[_0x7a9e90(0x139)]);}catch{return null;}}['getRequestParams'](){return this['parseRawRequestBody']();}[a0_0x5ba6db(0x232)](){return this['parseRawResponseBody']();}[a0_0x5ba6db(0x26b)](){const _0x42d21f=a0_0x5ba6db,_0x3191f1=this[_0x42d21f(0x24b)]();return Object[_0x42d21f(0xe9)](_0x3191f1);}[a0_0x5ba6db(0x194)](){const _0x216865=a0_0x5ba6db,_0x8d5cb8=this[_0x216865(0x24b)](),_0x36067d={};return Object['entries'](_0x8d5cb8)[_0x216865(0x2a7)](([_0x3da81a,_0x10b798])=>{const _0x412936=_0x216865,_0x55f181=_0x10b798;_0x36067d[_0x3da81a]=generateExampleValue(_0x3da81a,_0x55f181[_0x412936(0xe8)]||_0x412936(0x1bb),undefined,{'description':_0x55f181['description']});}),_0x36067d;}[a0_0x5ba6db(0x2aa)](){const _0x4d52a8=a0_0x5ba6db;return this[_0x4d52a8(0x194)]();}[a0_0x5ba6db(0x262)](){const _0x43d18f=a0_0x5ba6db,_0x3bf1d3=this[_0x43d18f(0x170)]();if(!_0x3bf1d3){const _0x435596={};return _0x435596['success']=!![],_0x435596[_0x43d18f(0x10f)]=_0x43d18f(0x1b6),_0x435596[_0x43d18f(0x1d0)]='',_0x435596[_0x43d18f(0x2eb)]=_0x43d18f(0x1ca),_0x435596[_0x43d18f(0x98)]=null,_0x435596;}return this['generateFromSchema'](_0x3bf1d3);}[a0_0x5ba6db(0x71)](_0x40d463){const _0x23b8a6=a0_0x5ba6db;if(!_0x40d463||typeof _0x40d463!==_0x23b8a6(0x181))return{};if(Array[_0x23b8a6(0x2f6)](_0x40d463))return _0x40d463[_0x23b8a6(0x1d6)]>0x0?[this[_0x23b8a6(0x71)](_0x40d463[0x0])]:[];const _0x596215={};for(const [_0x551ef5,_0x4a3a15]of Object['entries'](_0x40d463)){if(_0x4a3a15&&typeof _0x4a3a15===_0x23b8a6(0x181)&&!Array[_0x23b8a6(0x2f6)](_0x4a3a15)){const _0x21705d=_0x4a3a15;_0x596215[_0x551ef5]=generateExampleValue(_0x551ef5,_0x21705d['type']||_0x23b8a6(0x1bb),undefined,{'description':_0x21705d[_0x23b8a6(0x1ce)]});}else Array['isArray'](_0x4a3a15)?_0x596215[_0x551ef5]=_0x4a3a15[_0x23b8a6(0x1d6)]>0x0?[this[_0x23b8a6(0x71)](_0x4a3a15[0x0])]:[]:_0x596215[_0x551ef5]=_0x4a3a15;}return _0x596215;}[a0_0x5ba6db(0x1f1)](_0x16a596,_0x29b28e,_0x29a038,_0x5a4b87){return generateExampleValue(_0x16a596,_0x29b28e,_0x29a038,_0x5a4b87);}[a0_0x5ba6db(0x13a)](_0x30d11f,_0x337c5b){const _0x55e6ac=a0_0x5ba6db,_0x20c196=this['getName']();return _0x55e6ac(0x1a6)+_0x30d11f+'.'+_0x20c196+'();';}['generateUsageExample'](_0x2ca17d){const _0x3a7346=a0_0x5ba6db,_0x4e979e=this['getName'](),_0x5c9fe5=_0x2ca17d||_0x3a7346(0x21b),_0x257e2c={};return _0x257e2c[_0x3a7346(0x2ee)]=_0x3a7346(0x249)+_0x5c9fe5+'.'+_0x4e979e+_0x3a7346(0x1fa),_0x257e2c[_0x3a7346(0x2eb)]=_0x3a7346(0xfa)+_0x5c9fe5+'.'+_0x4e979e+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x257e2c;}[a0_0x5ba6db(0x70)](){const _0x3c8893=a0_0x5ba6db,_0x5d0fc0=this[_0x3c8893(0x24b)](),_0x29f1ab=Object[_0x3c8893(0x1c9)](_0x5d0fc0)[_0x3c8893(0xc9)](([_0x3af01a,_0x2a3a25])=>{const _0x161354=_0x3c8893,_0xb7cabd=_0x2a3a25,_0x22ca65={};return _0x22ca65[_0x161354(0x176)]=_0x3af01a,_0x22ca65[_0x161354(0xe8)]=_0xb7cabd[_0x161354(0xe8)]||_0x161354(0x1bb),_0x22ca65[_0x161354(0x1ce)]=_0xb7cabd[_0x161354(0x1ce)]||'-',_0x22ca65[_0x161354(0x1ae)]=_0xb7cabd['required'],_0x22ca65;}),_0x26a081={};return _0x26a081[_0x3c8893(0x165)]=_0x29f1ab,_0x26a081;}[a0_0x5ba6db(0x16b)](){const _0x1688fa=a0_0x5ba6db,_0x4c2de3=this[_0x1688fa(0x170)]();if(!_0x4c2de3){const _0x2edff0={};return _0x2edff0[_0x1688fa(0x165)]=[],_0x2edff0;}const _0xb1b83a=Object[_0x1688fa(0x1c9)](_0x4c2de3)['map'](([_0x89e5c0,_0x532f6c])=>{const _0x3b5e29=_0x1688fa,_0x1da33f=_0x532f6c,_0x17c437={};return _0x17c437[_0x3b5e29(0x176)]=_0x89e5c0,_0x17c437[_0x3b5e29(0xe8)]=_0x1da33f['type']||_0x3b5e29(0x1bb),_0x17c437[_0x3b5e29(0x1ce)]=_0x1da33f['description']||'-',_0x17c437;}),_0x5971cd={};return _0x5971cd[_0x1688fa(0x165)]=_0xb1b83a,_0x5971cd;}[a0_0x5ba6db(0x2fe)](){return[];}['getBusinessFields'](){const _0x4c15ac=a0_0x5ba6db;return this['context'][_0x4c15ac(0x145)]||[];}[a0_0x5ba6db(0x109)](){const _0x2dc064=a0_0x5ba6db;return{'systemFields':this[_0x2dc064(0x2fe)](),'businessFields':this[_0x2dc064(0x287)]()};}['getFieldDefinition'](_0x51ec4c){const _0xebbe42=a0_0x5ba6db;return this[_0xebbe42(0x111)][_0xebbe42(0x145)][_0xebbe42(0xbf)](_0x5c89ea=>_0x5c89ea?.[_0xebbe42(0x1f0)]===_0x51ec4c);}['getFieldCode'](_0x4d57eb){const _0x2727cb=a0_0x5ba6db;return _0x4d57eb[_0x2727cb(0x1f0)];}[a0_0x5ba6db(0x1c6)](_0x85d222){const _0x1cde8a=a0_0x5ba6db;return _0x85d222[_0x1cde8a(0xe8)];}['getFieldDisplayName'](_0x3a1002){const _0x57948f=a0_0x5ba6db;return _0x3a1002[_0x57948f(0x176)];}[a0_0x5ba6db(0x1a3)](_0x3ebdc7){return _0x3ebdc7['description'];}['getFieldOptions'](_0x40da52){const _0x38af12=a0_0x5ba6db;return _0x40da52[_0x38af12(0x225)]()||null;}[a0_0x5ba6db(0x235)](_0x2c5f06){const _0x31c448=a0_0x5ba6db;return _0x2c5f06[_0x31c448(0x18a)]();}['getOperators'](){return[];}['getFieldOperators'](_0x212b20){return[];}[a0_0x5ba6db(0x308)](){const _0x5edaca=a0_0x5ba6db;return{'name':this[_0x5edaca(0x1e7)](),'displayName':this[_0x5edaca(0x2a1)](),'type':this[_0x5edaca(0x295)](),'enabled':this['isEnabled'](),'method':this[_0x5edaca(0x149)](),'path':this[_0x5edaca(0x1e9)](),'fullUrl':this[_0x5edaca(0x1d2)](),'requestParams':this['getRequestParams'](),'requestExample':this[_0x5edaca(0x194)](),'responseExample':this[_0x5edaca(0x262)]()};}[a0_0x5ba6db(0x146)](){const _0x6c9196=a0_0x5ba6db,_0x537d18=this[_0x6c9196(0x2c6)]()?'启用':'禁用';return this[_0x6c9196(0x2a1)]()+'('+this['name']+',\x20'+_0x537d18+')';}}class GenericOperation extends Operation{[a0_0x5ba6db(0x2a2)];[a0_0x5ba6db(0x24b)](){const _0x3270fe=a0_0x5ba6db;return this[_0x3270fe(0x157)]();}['getResponseSchema'](){const _0x59e879=a0_0x5ba6db;return this[_0x59e879(0x170)]();}[a0_0x5ba6db(0x194)](){const _0x313c1a=a0_0x5ba6db;if(this[_0x313c1a(0x2a2)])return this['_requestExampleCache'];const _0x4acca3={},_0x1b3924=this[_0x313c1a(0x24b)](),_0x136c89=this[_0x313c1a(0x295)]();if(Object[_0x313c1a(0xe9)](_0x1b3924)['length']===0x0&&_0x136c89){const _0x7a20b2=this[_0x313c1a(0x287)]();return _0x7a20b2[_0x313c1a(0x2a7)](_0x491c91=>{const _0x2718ce=_0x313c1a,_0x2ae122=_0x491c91['code'],_0x338c00=_0x491c91[_0x2718ce(0xe8)],_0x48d64f=this['generateFieldExample'](_0x2ae122,_0x338c00,_0x491c91[_0x2718ce(0x1da)](),{'isPrimaryKey':_0x491c91[_0x2718ce(0x18a)](),'description':_0x491c91['description']||_0x491c91[_0x2718ce(0x176)]});_0x4acca3[_0x2ae122]=_0x48d64f;}),this[_0x313c1a(0x2a2)]=_0x4acca3,_0x4acca3;}return Object[_0x313c1a(0x1c9)](_0x1b3924)['forEach'](([_0xed7d4f,_0x256bae])=>{const _0x6ca79=_0x313c1a,_0x4e0d9a=_0x256bae;let _0x4c5eed;if(typeof _0x4e0d9a[_0x6ca79(0xe8)]===_0x6ca79(0x27c))_0x4c5eed=_0x4e0d9a['type'];else _0x4e0d9a[_0x6ca79(0xe8)]&&typeof _0x4e0d9a[_0x6ca79(0xe8)]==='object'?_0x4c5eed=_0x4e0d9a[_0x6ca79(0xe8)][_0x6ca79(0xe8)]||_0x6ca79(0x1ac):_0x4c5eed=_0x6ca79(0x1ac);const _0x4890ae=_0x4e0d9a[_0x6ca79(0x1ce)],_0xaa6b1e=this[_0x6ca79(0xac)](_0xed7d4f);if(_0xed7d4f==='currentPage')_0x4acca3[_0xed7d4f]=0x1;else{if(_0xed7d4f==='pageSize')_0x4acca3[_0xed7d4f]=0xa;else{if(_0xed7d4f==='id')_0x4acca3[_0xed7d4f]=0x1;else{const _0x18a0b5=_0xaa6b1e?_0xaa6b1e[_0x6ca79(0x1da)]():undefined,_0xfc4069=_0xaa6b1e?_0xaa6b1e[_0x6ca79(0x1ce)]:undefined,_0x2053ca=_0xaa6b1e?_0xaa6b1e[_0x6ca79(0x176)]:undefined;_0x4acca3[_0xed7d4f]=this['generateFieldExample'](_0xed7d4f,_0x4c5eed,_0x18a0b5||undefined,{'isPrimaryKey':_0xed7d4f===this['context'][_0x6ca79(0x9a)]||_0xed7d4f==='id','description':_0x4890ae||_0xfc4069||_0x2053ca});}}}}),this['_requestExampleCache']=_0x4acca3,_0x4acca3;}[a0_0x5ba6db(0x262)](){const _0x3e8608=a0_0x5ba6db,_0xb2baf0=this[_0x3e8608(0x232)]();if(!_0xb2baf0){const _0x48ce52={};return _0x48ce52[_0x3e8608(0x231)]=!![],_0x48ce52[_0x3e8608(0x10f)]=_0x3e8608(0x1b6),_0x48ce52['errorMsg']='',_0x48ce52['errorCode']=_0x3e8608(0x1ca),_0x48ce52['data']=null,_0x48ce52;}return this[_0x3e8608(0x71)](_0xb2baf0);}[a0_0x5ba6db(0x71)](_0x32ddcf){const _0x280e28=a0_0x5ba6db;if(!_0x32ddcf||typeof _0x32ddcf!==_0x280e28(0x181))return{};if(Array[_0x280e28(0x2f6)](_0x32ddcf)){if(_0x32ddcf[_0x280e28(0x1d6)]>0x0)return[this['generateFromSchema'](_0x32ddcf[0x0])];return[];}const _0x2ba4e7={};return Object['keys'](_0x32ddcf)[_0x280e28(0x2a7)](_0x2f705c=>{const _0x8752b4=_0x280e28,_0x4430e4=_0x32ddcf[_0x2f705c];if(_0x4430e4&&typeof _0x4430e4==='object'&&!Array['isArray'](_0x4430e4)&&_0x4430e4[_0x8752b4(0xe8)]){const _0x358be5=_0x4430e4;let _0x5db559;if(typeof _0x358be5[_0x8752b4(0xe8)]==='string')_0x5db559=_0x358be5['type'];else _0x358be5[_0x8752b4(0xe8)]&&typeof _0x358be5['type']===_0x8752b4(0x181)?_0x5db559=_0x358be5[_0x8752b4(0xe8)]['type']||_0x8752b4(0x1ac):_0x5db559=_0x8752b4(0x1ac);const _0x4b70ad=_0x358be5[_0x8752b4(0x1ce)],_0x50801f={};_0x50801f[_0x8752b4(0x1ce)]=_0x4b70ad,_0x2ba4e7[_0x2f705c]=this[_0x8752b4(0x1f1)](_0x2f705c,_0x5db559,undefined,_0x50801f);}else{if(Array[_0x8752b4(0x2f6)](_0x4430e4))_0x2ba4e7[_0x2f705c]=_0x4430e4[_0x8752b4(0x1d6)]>0x0?[this[_0x8752b4(0x71)](_0x4430e4[0x0])]:[];else _0x4430e4&&typeof _0x4430e4===_0x8752b4(0x181)?_0x2ba4e7[_0x2f705c]=this['generateFromSchema'](_0x4430e4):_0x2ba4e7[_0x2f705c]=_0x4430e4;}}),_0x2ba4e7;}[a0_0x5ba6db(0x13a)](_0x4e65ec,_0x247c41){const _0x48728c=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x247c41||{},_0x4a5d3c=this[_0x48728c(0x1e7)](),_0x4690a1=this[_0x48728c(0x295)](),_0x30ddcc=this['getRequestFields'](),_0x3ad593=this[_0x48728c(0x194)](),_0x2fce96=_0x12b020=>{const _0x295c02=_0x48728c;if(Object['keys'](_0x12b020)[_0x295c02(0x1d6)]===0x0)return'{}';const _0x9e409a=JSON[_0x295c02(0x275)](_0x12b020,null,0x2)[_0x295c02(0x294)]('\x0a')[_0x295c02(0xc9)]((_0x2265b3,_0x5c93a2)=>_0x5c93a2===0x0?_0x2265b3:indent+_0x2265b3)[_0x295c02(0x18b)]('\x0a');return _0x9e409a;};switch(_0x4690a1){case'getOne':case'delete':return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x1a5);case'update':if(useFullExample&&Object[_0x48728c(0xe9)](_0x3ad593)[_0x48728c(0x1d6)]>0x0)return _0x48728c(0x1a6)+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x19a)+_0x2fce96(_0x3ad593)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x7a);case _0x48728c(0x2c2):case _0x48728c(0x1d7):case _0x48728c(0x20f):default:if(_0x30ddcc[_0x48728c(0x1d6)]>0x0){if(useFullExample&&Object[_0x48728c(0xe9)](_0x3ad593)['length']>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+'('+_0x2fce96(_0x3ad593)+');';else{const _0x7144e5=Object[_0x48728c(0xe9)](_0x3ad593);if(_0x7144e5[_0x48728c(0x1d6)]>0x0){const _0x49c999=_0x7144e5['slice'](0x0,0x2)[_0x48728c(0x18b)](',\x20');return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x15b)+_0x49c999+',\x20...\x20});';}else return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0xc3);}}else return'const\x20result\x20=\x20await\x20client.models.'+_0x4e65ec+'.'+_0x4a5d3c+_0x48728c(0x1fa);}}[a0_0x5ba6db(0xe6)](){const _0x1a5479=a0_0x5ba6db;return[{'title':_0x1a5479(0x1a2),'data':this[_0x1a5479(0x194)]()}];}['getSystemFields'](){const _0x363d8c=a0_0x5ba6db,_0x1df83c=this[_0x363d8c(0x295)](),_0x18b692=[];switch(_0x1df83c){case'getOne':case'delete':const _0x570771={};_0x570771[_0x363d8c(0x1f0)]='id',_0x570771[_0x363d8c(0xe8)]='NUMBER',_0x570771[_0x363d8c(0x1ce)]=_0x363d8c(0x1b1),_0x18b692[_0x363d8c(0x296)](_0x570771);break;case _0x363d8c(0x1d7):const _0x5c5993={};_0x5c5993[_0x363d8c(0x1f0)]=_0x363d8c(0x319),_0x5c5993[_0x363d8c(0xe8)]='NUMBER',_0x5c5993[_0x363d8c(0x1ce)]=_0x363d8c(0x234);const _0x197424={};_0x197424[_0x363d8c(0x1f0)]=_0x363d8c(0x27b),_0x197424[_0x363d8c(0xe8)]=_0x363d8c(0x135),_0x197424[_0x363d8c(0x1ce)]=_0x363d8c(0x26a),_0x18b692[_0x363d8c(0x296)](_0x5c5993,_0x197424);break;case _0x363d8c(0x20f):const _0x553df3={};_0x553df3['code']='code',_0x553df3[_0x363d8c(0xe8)]='STRING',_0x553df3['description']='选项编码(可选)',_0x18b692[_0x363d8c(0x296)](_0x553df3);break;default:break;}return _0x18b692;}[a0_0x5ba6db(0x287)](){const _0x1fee59=a0_0x5ba6db,_0x94831f=this[_0x1fee59(0x295)](),_0x599fbf=this[_0x1fee59(0x111)][_0x1fee59(0x145)]||[];switch(_0x94831f){case _0x1fee59(0x2b4):case _0x1fee59(0x24d):return[];case _0x1fee59(0x2c2):return _0x599fbf[_0x1fee59(0x7e)](_0xd34364=>{const _0x248832=_0x1fee59;if(_0xd34364[_0x248832(0xda)])return![];if(_0xd34364['isPrimaryKey']()&&_0xd34364[_0x248832(0x2e5)]())return![];if(_0xd34364[_0x248832(0xe3)]())return![];if(_0xd34364[_0x248832(0x118)]()||_0xd34364[_0x248832(0x23f)]())return![];return!![];});case'update':return _0x599fbf['filter'](_0x372a38=>{const _0x56236d=_0x1fee59;if(_0x372a38[_0x56236d(0xda)])return![];if(_0x372a38['isPrimaryKey']())return![];if(_0x372a38[_0x56236d(0xe3)]())return![];if(_0x372a38['isCreateTime']()||_0x372a38[_0x56236d(0x23f)]())return![];if(_0x372a38[_0x56236d(0x2e5)]())return![];return!![];});case _0x1fee59(0x1d7):case'getSelectOptions':return _0x599fbf['filter'](_0x363d8f=>!_0x363d8f[_0x1fee59(0xda)]&&_0x363d8f[_0x1fee59(0x188)]());default:return _0x599fbf['filter'](_0x4e455e=>!_0x4e455e[_0x1fee59(0xda)]&&_0x4e455e[_0x1fee59(0x188)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x5ba6db(0x24b)](){const _0x5a9193=a0_0x5ba6db,_0x17ea6b=super['getRequestParams'](),_0xb6abb=Object[_0x5a9193(0xe9)](_0x17ea6b);if(_0xb6abb[_0x5a9193(0x1d6)]===0x0||_0xb6abb['length']===0x1&&_0xb6abb[0x0]===_0x5a9193(0x1f0)){if(!_0x17ea6b['code']){const _0x369363={};_0x369363[_0x5a9193(0xe8)]='String',_0x369363[_0x5a9193(0x1ce)]=_0x5a9193(0x245),_0x17ea6b['code']=_0x369363;}const _0x2068d3={};_0x2068d3[_0x5a9193(0xe8)]=_0x5a9193(0x1bb),_0x2068d3[_0x5a9193(0x1ce)]=_0x5a9193(0x27f),_0x17ea6b[_0x5a9193(0x2c4)]=_0x2068d3;}return _0x17ea6b;}[a0_0x5ba6db(0x287)](){return[];}[a0_0x5ba6db(0x2fe)](){const _0x42285d=a0_0x5ba6db,_0x455848={};_0x455848[_0x42285d(0x1f0)]='code',_0x455848[_0x42285d(0xe8)]=_0x42285d(0x1bb),_0x455848[_0x42285d(0x1ce)]='字段编码';const _0x19863c={};return _0x19863c[_0x42285d(0x1f0)]=_0x42285d(0x2c4),_0x19863c[_0x42285d(0xe8)]='String',_0x19863c[_0x42285d(0x1ce)]=_0x42285d(0x27f),[_0x455848,_0x19863c];}[a0_0x5ba6db(0x194)](){const _0x2ffbea=a0_0x5ba6db,_0x3e6376={};return _0x3e6376[_0x2ffbea(0x1f0)]=_0x2ffbea(0x252),_0x3e6376[_0x2ffbea(0x2c4)]=_0x2ffbea(0x252),_0x3e6376;}[a0_0x5ba6db(0x13a)](_0x4cb4be){const _0x28f868=a0_0x5ba6db,_0x3434d0=this['getName']();return _0x28f868(0x1a6)+_0x4cb4be+'.'+_0x3434d0+_0x28f868(0xc7);}}class GetListOperation extends GenericOperation{[a0_0x5ba6db(0x24b)](){const _0x48dd07=a0_0x5ba6db,_0x233356=super[_0x48dd07(0x24b)](),{currentPage:_0x3d78d5,pageSize:_0x3834bc,..._0xf34c54}=_0x233356,_0x4599a0={};Object[_0x48dd07(0x1c9)](_0xf34c54)[_0x48dd07(0x2a7)](([_0x42e34b,_0x447436])=>{const _0x577f29=_0x48dd07;if(typeof _0x447436===_0x577f29(0x181)&&_0x447436!==null){const _0xd42ae6=_0x447436,_0x14cb14=_0xd42ae6[_0x577f29(0x1ce)]||'',_0x20ff9e={..._0xd42ae6};_0x20ff9e[_0x577f29(0x1ce)]=_0x14cb14?_0x14cb14+_0x577f29(0x1bc):_0x577f29(0x179),_0x4599a0[_0x42e34b]=_0x20ff9e;}else _0x4599a0[_0x42e34b]=_0x447436;});const _0x487ab3={...typeof _0x3d78d5===_0x48dd07(0x181)?_0x3d78d5:{}};_0x487ab3[_0x48dd07(0xe8)]='Number',_0x487ab3['description']=_0x48dd07(0x234);const _0x2dcfee={...typeof _0x3834bc===_0x48dd07(0x181)?_0x3834bc:{}};_0x2dcfee[_0x48dd07(0xe8)]=_0x48dd07(0x119),_0x2dcfee[_0x48dd07(0x1ce)]='每页数量';const _0x2a85b4={..._0x4599a0};return _0x2a85b4[_0x48dd07(0x319)]=_0x487ab3,_0x2a85b4[_0x48dd07(0x27b)]=_0x2dcfee,_0x2a85b4;}[a0_0x5ba6db(0x194)](_0x304ffe){const _0x21c27e=a0_0x5ba6db,{useArrayValues:useArrayValues=!![]}=_0x304ffe||{},_0x22b4db=super[_0x21c27e(0x194)](),{currentPage:_0x577335,pageSize:_0x1cc6b4,..._0x119ef4}=_0x22b4db;if(!useArrayValues){const _0x25965a={..._0x119ef4};return _0x25965a[_0x21c27e(0x319)]=_0x577335??0x1,_0x25965a['pageSize']=_0x1cc6b4??0xa,_0x25965a;}const _0x150906={},_0x31bb4c=['id',_0x21c27e(0x137),_0x21c27e(0x1f0),'type'];Object[_0x21c27e(0x1c9)](_0x119ef4)[_0x21c27e(0x2a7)](([_0x1fbc98,_0x180cda],_0x41bfaa)=>{const _0x2200c9=_0x21c27e,_0xf55681=_0x31bb4c[_0x2200c9(0x229)](_0x132af3=>_0x1fbc98[_0x2200c9(0x291)]()[_0x2200c9(0x122)](_0x132af3))||_0x41bfaa%0x3===0x0;if(_0xf55681&&_0x180cda!==null&&_0x180cda!==undefined){if(typeof _0x180cda===_0x2200c9(0xd3))_0x150906[_0x1fbc98]=[_0x180cda,_0x180cda+0x1,_0x180cda+0x2];else typeof _0x180cda===_0x2200c9(0x27c)?_0x150906[_0x1fbc98]=[_0x180cda,_0x180cda+'_2',_0x180cda+'_3']:_0x150906[_0x1fbc98]=[_0x180cda];}else _0x150906[_0x1fbc98]=_0x180cda;});const _0x11a60a={..._0x150906};return _0x11a60a[_0x21c27e(0x319)]=_0x577335??0x1,_0x11a60a['pageSize']=_0x1cc6b4??0xa,_0x11a60a;}['generateSingleValueExample'](){const _0x5dd6d7=a0_0x5ba6db,_0x47c1d9={};return _0x47c1d9[_0x5dd6d7(0x16c)]=![],this[_0x5dd6d7(0x194)](_0x47c1d9);}[a0_0x5ba6db(0xe6)](){const _0x1ac967=a0_0x5ba6db;return[{'title':_0x1ac967(0x2d3),'description':_0x1ac967(0x124),'data':this[_0x1ac967(0x2a0)]()},{'title':_0x1ac967(0x12e),'description':'支持多个条件','data':this[_0x1ac967(0x194)]()}];}[a0_0x5ba6db(0x13a)](_0x112a4c,_0x3ec512){const _0x4df63b=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3ec512||{},_0x16e9e6=this[_0x4df63b(0x1e7)](),_0x4ed0db={};_0x4ed0db[_0x4df63b(0x16c)]=!![];const _0x35f22c=this[_0x4df63b(0x194)](_0x4ed0db),{currentPage:_0xf9f66c,pageSize:_0x38ffb1,..._0x23162f}=_0x35f22c;if(useFullExample&&Object[_0x4df63b(0xe9)](_0x35f22c)[_0x4df63b(0x1d6)]>0x0){const _0x2aede8=Object[_0x4df63b(0xe9)](_0x23162f)[_0x4df63b(0x1d6)]>0x0;if(_0x2aede8){const _0x432b04=this[_0x4df63b(0x2a0)](),_0xa94519=_0x3bb7e9=>{const _0x93e0c=_0x4df63b;return JSON[_0x93e0c(0x275)](_0x3bb7e9,null,0x2)['split']('\x0a')[_0x93e0c(0xc9)]((_0x149319,_0x15a8ef)=>_0x15a8ef===0x0?_0x149319:indent+_0x149319)[_0x93e0c(0x18b)]('\x0a');};return _0x4df63b(0x236)+_0x112a4c+'.'+_0x16e9e6+'('+_0xa94519(_0x432b04)+_0x4df63b(0x258)+_0x112a4c+'.'+_0x16e9e6+'('+_0xa94519(_0x35f22c)+');';}else{const _0x7cc088=JSON['stringify'](_0x35f22c,null,0x2)[_0x4df63b(0x294)]('\x0a')[_0x4df63b(0xc9)]((_0x185ad3,_0x2d93d)=>_0x2d93d===0x0?_0x185ad3:indent+_0x185ad3)[_0x4df63b(0x18b)]('\x0a');return _0x4df63b(0x1a6)+_0x112a4c+'.'+_0x16e9e6+'('+_0x7cc088+');';}}if(Object[_0x4df63b(0xe9)](_0x23162f)[_0x4df63b(0x1d6)]>0x0){const _0x122a24=Object['keys'](_0x23162f)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x112a4c+'.'+_0x16e9e6+_0x4df63b(0x15b)+_0x122a24+_0x4df63b(0x1e5);}return _0x4df63b(0x1a6)+_0x112a4c+'.'+_0x16e9e6+_0x4df63b(0x6e);}}var AGGREGATE_FUNCTIONS=[a0_0x5ba6db(0x1af),a0_0x5ba6db(0x16a),a0_0x5ba6db(0x1c3),a0_0x5ba6db(0x19c),a0_0x5ba6db(0x65)],FILTER_OPERATORS=[a0_0x5ba6db(0x22d),a0_0x5ba6db(0x22b),a0_0x5ba6db(0x247),a0_0x5ba6db(0x87),a0_0x5ba6db(0x228),a0_0x5ba6db(0x2b2),a0_0x5ba6db(0xe7),'$contain',a0_0x5ba6db(0x1b0),a0_0x5ba6db(0x30e),a0_0x5ba6db(0xa8),'$or'];class FilterOperation extends GenericOperation{constructor(_0x53424f,_0x36c74d,_0x2f046b){super(_0x53424f,_0x36c74d,_0x2f046b);}[a0_0x5ba6db(0x1ab)](){return FILTER_OPERATORS;}[a0_0x5ba6db(0x1c8)](_0x191976){const _0x53ee42=a0_0x5ba6db,_0x49d7ed=this[_0x53ee42(0xac)](_0x191976);if(!_0x49d7ed)return[];return this[_0x53ee42(0x1d8)](_0x49d7ed);}[a0_0x5ba6db(0x24b)](){const _0x485a2c=a0_0x5ba6db,_0x5c78c8=super['getRequestParams'](),_0x528936={};_0x528936[_0x485a2c(0xe8)]=_0x485a2c(0x9d),_0x528936[_0x485a2c(0x1ce)]=_0x485a2c(0x1d5),_0x528936[_0x485a2c(0x1ae)]=![];const _0x50659d={};_0x50659d[_0x485a2c(0xe8)]='String[]',_0x50659d['description']='返回字段列表(字段投影)',_0x50659d['required']=![];const _0x584cd8={};_0x584cd8[_0x485a2c(0xe8)]=_0x485a2c(0x196),_0x584cd8[_0x485a2c(0x1ce)]=_0x485a2c(0x156),_0x584cd8[_0x485a2c(0x1ae)]=![];const _0x366be2={};_0x366be2[_0x485a2c(0xe8)]=_0x485a2c(0x119),_0x366be2[_0x485a2c(0x1ce)]=_0x485a2c(0x234),_0x366be2[_0x485a2c(0x1ae)]=![],_0x366be2['default']=0x1;const _0x37497f={};_0x37497f[_0x485a2c(0xe8)]=_0x485a2c(0x119),_0x37497f[_0x485a2c(0x1ce)]='每页数量',_0x37497f[_0x485a2c(0x1ae)]=![],_0x37497f[_0x485a2c(0x91)]=0xa;const _0x4e58c0={..._0x5c78c8};return _0x4e58c0[_0x485a2c(0xc5)]=_0x528936,_0x4e58c0['select']=_0x50659d,_0x4e58c0['orderBy']=_0x584cd8,_0x4e58c0[_0x485a2c(0x319)]=_0x366be2,_0x4e58c0[_0x485a2c(0x27b)]=_0x37497f,_0x4e58c0;}['getSystemFields'](){const _0x283c8d=a0_0x5ba6db,_0x41083d=this[_0x283c8d(0x24b)](),_0x292a55=[],_0x3f9766=[_0x283c8d(0xc5),_0x283c8d(0x198),_0x283c8d(0x2e9),'currentPage',_0x283c8d(0x27b)];return Object[_0x283c8d(0x1c9)](_0x41083d)[_0x283c8d(0x2a7)](([_0x4d34be,_0x10e51a])=>{const _0x3a4702=_0x283c8d;if(_0x3f9766['includes'](_0x4d34be)){const _0x163580=_0x10e51a,_0x1713fe={};_0x1713fe[_0x3a4702(0x1f0)]=_0x4d34be,_0x1713fe[_0x3a4702(0xe8)]=_0x163580[_0x3a4702(0xe8)]||_0x3a4702(0x9d),_0x1713fe[_0x3a4702(0x1ce)]=_0x163580[_0x3a4702(0x1ce)]||'-',_0x292a55[_0x3a4702(0x296)](_0x1713fe);}}),_0x292a55;}[a0_0x5ba6db(0x287)](){const _0x2cdea5=a0_0x5ba6db;return this[_0x2cdea5(0x111)][_0x2cdea5(0x145)]||[];}[a0_0x5ba6db(0x270)](){const _0x1f1707=a0_0x5ba6db;return{'systemParams':this[_0x1f1707(0x2fe)](),'businessFields':this[_0x1f1707(0x287)]()};}[a0_0x5ba6db(0x194)](){const _0x37f66d=a0_0x5ba6db,_0x48799b=this[_0x37f66d(0x111)]['fields']||[];if(_0x48799b[_0x37f66d(0x1d6)]===0x0){const _0x529cb4={};return _0x529cb4[_0x37f66d(0xc5)]={},_0x529cb4[_0x37f66d(0x319)]=0x1,_0x529cb4['pageSize']=0x14,_0x529cb4;}const _0x2352d0={},_0x581652=_0x48799b[_0x37f66d(0x1a0)](0x0,Math['min'](0x3,_0x48799b[_0x37f66d(0x1d6)]));_0x581652[_0x37f66d(0x2a7)](_0x2ff03c=>{const _0x34651c=_0x37f66d,_0x378350=this[_0x34651c(0x1d8)](_0x2ff03c);if(_0x378350['length']===0x0)return;const _0x2140cb=this[_0x34651c(0x21c)](_0x2ff03c,_0x378350),_0x3b59dd=this[_0x34651c(0x1aa)](_0x2ff03c,_0x2140cb),_0x1ed643={};_0x1ed643[_0x2140cb]=_0x3b59dd,_0x2352d0[_0x2ff03c[_0x34651c(0x1f0)]]=_0x1ed643;});const _0x12548f=_0x48799b[_0x37f66d(0x1a0)](0x0,Math[_0x37f66d(0x65)](0x5,_0x48799b[_0x37f66d(0x1d6)]))[_0x37f66d(0xc9)](_0x189845=>_0x189845['code']),_0x24a071=_0x48799b[0x0]?_0x48799b[0x0]['code']:'id',_0x3bc080={};_0x3bc080[_0x24a071]=_0x37f66d(0x2b1);const _0x5ba0fa={};return _0x5ba0fa[_0x37f66d(0xc5)]=_0x2352d0,_0x5ba0fa[_0x37f66d(0x198)]=_0x12548f,_0x5ba0fa[_0x37f66d(0x2e9)]=[_0x3bc080],_0x5ba0fa[_0x37f66d(0x319)]=0x1,_0x5ba0fa[_0x37f66d(0x27b)]=0x14,_0x5ba0fa;}[a0_0x5ba6db(0x13a)](_0x578989,_0x202c18){const _0x451da2=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x202c18||{},_0x3b6a5b=this[_0x451da2(0x1e7)](),_0x209e19=this[_0x451da2(0x194)](),_0x6cdefa=_0x392e0b=>{const _0x1d4b71=_0x451da2;return JSON[_0x1d4b71(0x275)](_0x392e0b,null,0x2)['split']('\x0a')[_0x1d4b71(0xc9)]((_0x20f4e6,_0x1261d0)=>_0x1261d0===0x0?_0x20f4e6:indent+_0x20f4e6)['join']('\x0a');};if(useFullExample){const _0x1863c4=this[_0x451da2(0x111)][_0x451da2(0x145)]||[],_0x5b6507={'where':_0x1863c4[0x0]?{[_0x1863c4[0x0][_0x451da2(0x1f0)]]:{'$eq':this[_0x451da2(0x1aa)](_0x1863c4[0x0],_0x451da2(0x22d))}}:{},'select':_0x1863c4[_0x451da2(0x1a0)](0x0,0x3)[_0x451da2(0xc9)](_0x161145=>_0x161145[_0x451da2(0x1f0)]),'currentPage':0x1,'pageSize':0x14};let _0xaafb19='';if(_0x1863c4[_0x451da2(0x1d6)]>=0x3){const _0x14d7a1={};_0x14d7a1[_0x451da2(0xa8)]=[];const _0x3bb87b=_0x14d7a1,_0x2fd037=[];if(_0x1863c4[_0x451da2(0x1d6)]>0x0){const _0x223a15=_0x1863c4[_0x451da2(0xbf)](_0x5ecea5=>{const _0x3d4096=_0x451da2,_0x39e3c5=_0x5ecea5[_0x3d4096(0x1da)]();return[_0x3d4096(0x135),_0x3d4096(0xbe),_0x3d4096(0x1cd),_0x3d4096(0x1a7),'TINYINT','SMALLINT'][_0x3d4096(0x122)](_0x39e3c5);});if(_0x223a15){const _0x28fb34={};_0x28fb34[_0x451da2(0x247)]=0x0,_0x28fb34[_0x451da2(0x228)]=0x64;const _0x17800d={[_0x223a15[_0x451da2(0x1f0)]]:_0x28fb34};_0x2fd037[_0x451da2(0x296)](_0x17800d);}}if(_0x1863c4[_0x451da2(0x1d6)]>0x1){const _0x5ab3f3=_0x1863c4[_0x451da2(0xbf)](_0x498895=>{const _0x57ca56=_0x451da2,_0x3ba40e=_0x498895[_0x57ca56(0x1da)]();return[_0x57ca56(0x23c),_0x57ca56(0x1ac),_0x57ca56(0x2cb),_0x57ca56(0x6b),'LONGTEXT'][_0x57ca56(0x122)](_0x3ba40e);});if(_0x5ab3f3){const _0x1893fa={};_0x1893fa['$contain']=_0x451da2(0x2fb);const _0x240d58={[_0x5ab3f3[_0x451da2(0x1f0)]]:_0x1893fa};_0x2fd037[_0x451da2(0x296)](_0x240d58);}}if(_0x2fd037[_0x451da2(0x1d6)]>0x0){_0x3bb87b[_0x451da2(0xa8)]=_0x2fd037;const _0x264d3c={'where':_0x3bb87b,'select':_0x1863c4[_0x451da2(0x1a0)](0x0,0x4)['map'](_0x3c4a28=>_0x3c4a28['code']),'orderBy':[{[_0x1863c4[0x0][_0x451da2(0x1f0)]]:_0x451da2(0x2b1)}],'currentPage':0x1,'pageSize':0x14};_0xaafb19=_0x451da2(0x1f3)+_0x578989+'.'+_0x3b6a5b+'('+_0x6cdefa(_0x264d3c)+');';}}return _0x451da2(0x171)+_0x578989+'.'+_0x3b6a5b+'('+_0x6cdefa(_0x5b6507)+');'+_0xaafb19;}const _0x325faa=JSON[_0x451da2(0x275)](_0x209e19,null,0x2)[_0x451da2(0x294)]('\x0a')[_0x451da2(0xc9)]((_0x4d4cd1,_0x4fc15c)=>_0x4fc15c===0x0?_0x4d4cd1:indent+_0x4d4cd1)[_0x451da2(0x18b)]('\x0a');return _0x451da2(0x1a6)+_0x578989+'.'+_0x3b6a5b+'('+_0x325faa+');';}[a0_0x5ba6db(0x1d8)](_0x1b8fae){const _0x2a77d0=a0_0x5ba6db,_0x20c189=_0x1b8fae[_0x2a77d0(0x1da)](),_0x1f95b8=[];if([_0x2a77d0(0x135),_0x2a77d0(0xbe),_0x2a77d0(0x1cd),'DECIMAL'][_0x2a77d0(0x122)](_0x20c189)||[_0x2a77d0(0x1a7),_0x2a77d0(0x279),'SMALLINT',_0x2a77d0(0x1b7),_0x2a77d0(0x14d)][_0x2a77d0(0x122)](_0x20c189))_0x1f95b8[_0x2a77d0(0x296)]('$eq',_0x2a77d0(0x22b),_0x2a77d0(0x247),_0x2a77d0(0x228),_0x2a77d0(0x87),_0x2a77d0(0x2b2),_0x2a77d0(0xe7));else{if(['STRING',_0x2a77d0(0x1ac),_0x2a77d0(0x2cb)][_0x2a77d0(0x122)](_0x20c189)||[_0x2a77d0(0x6b),_0x2a77d0(0x9e)][_0x2a77d0(0x122)](_0x20c189))_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),_0x2a77d0(0x22b),_0x2a77d0(0xe7),_0x2a77d0(0xf4),_0x2a77d0(0x1b0),_0x2a77d0(0x30e));else{if([_0x2a77d0(0x108),_0x2a77d0(0x26f),_0x2a77d0(0x202)]['includes'](_0x20c189)||[_0x2a77d0(0x276)][_0x2a77d0(0x122)](_0x20c189))_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),'$ne',_0x2a77d0(0x247),_0x2a77d0(0x228),_0x2a77d0(0x87),_0x2a77d0(0x2b2));else[_0x2a77d0(0x28e),_0x2a77d0(0x28d),_0x2a77d0(0x15c)][_0x2a77d0(0x122)](_0x20c189)?_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),'$ne'):_0x1f95b8[_0x2a77d0(0x296)](_0x2a77d0(0x22d),'$ne');}}return _0x1f95b8;}[a0_0x5ba6db(0x21c)](_0x40dd52,_0x4a560a){const _0xa3b2b9=a0_0x5ba6db,_0x1e3bce=_0x40dd52[_0xa3b2b9(0x1da)]();if([_0xa3b2b9(0x135),'INTEGER','BIGINT','DECIMAL'][_0xa3b2b9(0x122)](_0x1e3bce)||[_0xa3b2b9(0x1a7),_0xa3b2b9(0x279),_0xa3b2b9(0x2c7),_0xa3b2b9(0x1b7),_0xa3b2b9(0x14d)]['includes'](_0x1e3bce))return _0x4a560a['includes'](_0xa3b2b9(0x247))?'$gte':_0xa3b2b9(0x22d);if([_0xa3b2b9(0x23c),'TEXT',_0xa3b2b9(0x2cb)][_0xa3b2b9(0x122)](_0x1e3bce)||['CHAR',_0xa3b2b9(0x9e)]['includes'](_0x1e3bce))return _0x4a560a[_0xa3b2b9(0x122)]('$contain')?_0xa3b2b9(0xf4):_0xa3b2b9(0x22d);if([_0xa3b2b9(0x108),_0xa3b2b9(0x26f),_0xa3b2b9(0x202),_0xa3b2b9(0x276)][_0xa3b2b9(0x122)](_0x1e3bce))return _0x4a560a[_0xa3b2b9(0x122)]('$gte')?_0xa3b2b9(0x247):_0xa3b2b9(0x22d);return _0xa3b2b9(0x22d);}['generateExampleValue'](_0x1f024b,_0x310299){const _0x2894ba=a0_0x5ba6db,_0x5ce1e2=_0x1f024b[_0x2894ba(0x1da)](),_0x388547=_0x1f024b[_0x2894ba(0x225)]();if(_0x388547&&_0x388547['length']>0x0){if(_0x310299===_0x2894ba(0xe7))return _0x388547[_0x2894ba(0x1a0)](0x0,0x2)['map'](_0xe158b5=>_0xe158b5[_0x2894ba(0x14b)]);return _0x388547[0x0][_0x2894ba(0x14b)];}if([_0x2894ba(0x135),_0x2894ba(0xbe),_0x2894ba(0x1cd),'DECIMAL'][_0x2894ba(0x122)](_0x5ce1e2)||[_0x2894ba(0x1a7),_0x2894ba(0x279),_0x2894ba(0x2c7),'DOUBLE',_0x2894ba(0x14d)][_0x2894ba(0x122)](_0x5ce1e2)){if(_0x310299===_0x2894ba(0xe7))return[0x1,0x2,0x3];if(_0x310299===_0x2894ba(0x247)||_0x310299==='$gteq')return 0x0;if(_0x310299===_0x2894ba(0x228)||_0x310299===_0x2894ba(0x2b2))return 0x64;return 0x1;}if(['STRING',_0x2894ba(0x1ac),_0x2894ba(0x2cb)][_0x2894ba(0x122)](_0x5ce1e2)||[_0x2894ba(0x6b),_0x2894ba(0x9e)]['includes'](_0x5ce1e2)){if(_0x310299===_0x2894ba(0xe7))return[_0x2894ba(0x215),'value2'];if(_0x310299===_0x2894ba(0xf4))return _0x2894ba(0x2fb);if(_0x310299==='$startWith')return _0x2894ba(0xa3);if(_0x310299===_0x2894ba(0x30e))return'suffix';return _0x2894ba(0x14b);}if([_0x2894ba(0x108),_0x2894ba(0x26f),_0x2894ba(0x202),_0x2894ba(0x276)][_0x2894ba(0x122)](_0x5ce1e2)){if(_0x310299===_0x2894ba(0x247)||_0x310299===_0x2894ba(0x87))return _0x2894ba(0x183);if(_0x310299===_0x2894ba(0x228)||_0x310299==='$lteq')return _0x2894ba(0xbd);return _0x2894ba(0x183);}if([_0x2894ba(0x28e),_0x2894ba(0x28d),_0x2894ba(0x15c)][_0x2894ba(0x122)](_0x5ce1e2))return!![];return _0x310299===_0x2894ba(0xe7)?[_0x2894ba(0x215),_0x2894ba(0x75)]:_0x2894ba(0x14b);}['getRequestParamsDocInfo'](){const _0x17b618=a0_0x5ba6db,_0x527625=super[_0x17b618(0x24b)](),_0x39f65f=Object['entries'](_0x527625)[_0x17b618(0x7e)](([_0x3015db])=>_0x3015db!==_0x17b618(0x319)&&_0x3015db!==_0x17b618(0x27b))[_0x17b618(0xc9)](([_0x9362c,_0x50fdc0])=>{const _0x92eb92=_0x17b618,_0x1037ca=_0x50fdc0,_0x3cf24c={};return _0x3cf24c['name']=_0x9362c,_0x3cf24c[_0x92eb92(0xe8)]=_0x1037ca[_0x92eb92(0xe8)]||_0x92eb92(0x1bb),_0x3cf24c[_0x92eb92(0x1ce)]=_0x1037ca[_0x92eb92(0x1ce)]||'-',_0x3cf24c[_0x92eb92(0x1ae)]=_0x1037ca[_0x92eb92(0x1ae)],_0x3cf24c;}),_0x392e47={};return _0x392e47['description']=_0x17b618(0x281),_0x392e47[_0x17b618(0x165)]=_0x39f65f,_0x392e47;}}class ExcelExportOperation extends GenericOperation{[a0_0x5ba6db(0x24b)](){const _0x289ad8=a0_0x5ba6db,_0x55c215=super[_0x289ad8(0x24b)]();if(Object[_0x289ad8(0xe9)](_0x55c215)[_0x289ad8(0x1d6)]===0x0){const _0x1c2594={};this['context']['fields'][_0x289ad8(0x2a7)](_0x550139=>{const _0x464b3c=_0x289ad8;if(_0x550139){const _0x4942d2=_0x550139['code'],_0x13f1f4=_0x550139[_0x464b3c(0x1da)](),_0x395dbb={};_0x395dbb['type']=_0x13f1f4||'TEXT',_0x395dbb[_0x464b3c(0x261)]=_0x550139[_0x464b3c(0x261)],_0x395dbb['description']=_0x550139[_0x464b3c(0x1ce)]||_0x550139[_0x464b3c(0x176)],_0x1c2594[_0x4942d2]=_0x395dbb;}});const _0x15b91b={};_0x15b91b[_0x289ad8(0xe8)]=_0x289ad8(0x123),_0x15b91b[_0x289ad8(0x1ce)]='当前页码(可选)',_0x1c2594[_0x289ad8(0x319)]=_0x15b91b;const _0x4df34f={};return _0x4df34f['type']=_0x289ad8(0x123),_0x4df34f['description']='每页数量(可选)',_0x1c2594[_0x289ad8(0x27b)]=_0x4df34f,_0x1c2594;}return _0x55c215;}['generateRequestExample'](){const _0x45a4da=a0_0x5ba6db,_0x543c98=super[_0x45a4da(0x194)]();if(Object[_0x45a4da(0xe9)](_0x543c98)[_0x45a4da(0x1d6)]===0x0){const _0x175739={};return _0x175739[_0x45a4da(0x319)]=0x1,_0x175739[_0x45a4da(0x27b)]=0x64,_0x175739;}const _0x44a1fd={..._0x543c98};return _0x44a1fd[_0x45a4da(0x319)]=_0x543c98[_0x45a4da(0x319)]??0x1,_0x44a1fd[_0x45a4da(0x27b)]=_0x543c98['pageSize']??0x64,_0x44a1fd;}[a0_0x5ba6db(0x262)](){const _0x34e988=a0_0x5ba6db,_0x5e8a40={};return _0x5e8a40[_0x34e988(0x231)]=!![],_0x5e8a40[_0x34e988(0x10f)]='',_0x5e8a40[_0x34e988(0x1d0)]='',_0x5e8a40[_0x34e988(0x2eb)]='0000',_0x5e8a40[_0x34e988(0x98)]=_0x34e988(0x239),_0x5e8a40['params']=null,_0x5e8a40;}[a0_0x5ba6db(0x13a)](_0x3c6908,_0x2e9931){const _0x17fc1e=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2e9931||{},_0x1476c0=this[_0x17fc1e(0x1e7)]();if(useFullExample){const _0x2adedc=this[_0x17fc1e(0x194)](),{currentPage:_0x40c4b2,pageSize:_0x2e70c4,..._0x45b742}=_0x2adedc,_0x53131a=Object[_0x17fc1e(0xe9)](_0x45b742)[_0x17fc1e(0x1d6)]>0x0;if(_0x53131a){const _0x57618c=_0x28ccd2=>{const _0x2038f5=_0x17fc1e;return JSON[_0x2038f5(0x275)](_0x28ccd2,null,0x2)[_0x2038f5(0x294)]('\x0a')[_0x2038f5(0xc9)]((_0x463d83,_0x3306ce)=>_0x3306ce===0x0?_0x463d83:indent+_0x463d83)[_0x2038f5(0x18b)]('\x0a');};return _0x17fc1e(0x1ba)+_0x3c6908+'.'+_0x1476c0+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+'('+_0x57618c(_0x2adedc)+');';}else{const _0x5606d1=_0x519951=>{const _0x33cec9=_0x17fc1e;return JSON[_0x33cec9(0x275)](_0x519951,null,0x2)['split']('\x0a')['map']((_0x34a22e,_0x5b6889)=>_0x5b6889===0x0?_0x34a22e:indent+_0x34a22e)[_0x33cec9(0x18b)]('\x0a');},_0x126cd2={};return _0x126cd2['currentPage']=0x1,_0x126cd2[_0x17fc1e(0x27b)]=0x64,'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+'();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+'('+_0x5606d1(_0x126cd2)+');';}}return'const\x20fileUrl\x20=\x20await\x20client.models.'+_0x3c6908+'.'+_0x1476c0+_0x17fc1e(0xf2);}['generateUsageExample'](_0xdf9cf2){const _0x411c52=a0_0x5ba6db,_0x3a4061=this[_0x411c52(0x1e7)](),_0x3e0d62=_0xdf9cf2||_0x411c52(0x21b),_0x4c3b3a=_0x411c52(0x186)+_0x3e0d62+'.'+_0x3a4061+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x3af797='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x3e0d62+'.'+_0x3a4061+_0x411c52(0x1d1),_0x3179ea={};return _0x3179ea[_0x411c52(0x2ee)]=_0x4c3b3a,_0x3179ea[_0x411c52(0x2eb)]=_0x3af797,_0x3179ea;}}class UpdateOperation extends GenericOperation{[a0_0x5ba6db(0x2de)](){const _0x232191=a0_0x5ba6db;return this[_0x232191(0x157)]();}[a0_0x5ba6db(0x24b)](){const _0x2ee24=a0_0x5ba6db,_0x47e3da=this[_0x2ee24(0x2de)](),_0x3eb7cc={};_0x3eb7cc[_0x2ee24(0xe8)]='NUMBER',_0x3eb7cc[_0x2ee24(0x1ce)]=_0x2ee24(0xe2),_0x3eb7cc[_0x2ee24(0x1ae)]=!![];const _0x1cc0bf={};_0x1cc0bf[_0x2ee24(0xe8)]=_0x2ee24(0x181),_0x1cc0bf['description']=_0x2ee24(0x307),_0x1cc0bf[_0x2ee24(0x1ae)]=!![],_0x1cc0bf[_0x2ee24(0x1f5)]=_0x47e3da;const _0x2dd30f={};return _0x2dd30f['id']=_0x3eb7cc,_0x2dd30f[_0x2ee24(0x98)]=_0x1cc0bf,_0x2dd30f;}[a0_0x5ba6db(0x154)](){const _0x403f7d=a0_0x5ba6db;return this[_0x403f7d(0x2de)]();}[a0_0x5ba6db(0x226)](){const _0x4d52e2=a0_0x5ba6db,_0x3f9061=this[_0x4d52e2(0x111)][_0x4d52e2(0x145)]||[],_0x4296ac=this[_0x4d52e2(0x111)][_0x4d52e2(0x9a)],_0x4b0d3b=_0x3f9061['find'](_0x200979=>_0x200979[_0x4d52e2(0x18a)]()||_0x200979['code']===_0x4296ac),_0x38738d=_0x3f9061[_0x4d52e2(0x7e)](_0x3a7dfc=>{const _0x511d87=_0x4d52e2;if(_0x3a7dfc[_0x511d87(0xda)])return![];if(_0x3a7dfc===_0x4b0d3b||_0x3a7dfc[_0x511d87(0x18a)]())return![];if(_0x3a7dfc[_0x511d87(0x118)]()||_0x3a7dfc[_0x511d87(0x23f)]())return![];if(_0x3a7dfc['isAutoIncrement']())return![];return!![];});return _0x4b0d3b?[_0x4b0d3b,..._0x38738d]:_0x38738d;}[a0_0x5ba6db(0x15f)](){const _0x488d16=a0_0x5ba6db,_0x1e6426=this[_0x488d16(0x226)](),_0x3e9591=this[_0x488d16(0x111)][_0x488d16(0x9a)],_0x4c3107=_0x1e6426[_0x488d16(0xc9)](_0x5edc81=>{const _0x5ad32a=_0x488d16,_0x1257ac=_0x5edc81[_0x5ad32a(0x18a)]()||_0x5edc81[_0x5ad32a(0x1f0)]===_0x3e9591,_0x3434ab=_0x1257ac?'id':_0x5edc81['code'],_0x5dc415={};return _0x5dc415[_0x5ad32a(0x176)]=_0x3434ab,_0x5dc415[_0x5ad32a(0xe8)]=_0x5edc81[_0x5ad32a(0xe8)],_0x5dc415[_0x5ad32a(0x1ce)]=_0x1257ac?_0x5ad32a(0x2d5)+(_0x3e9591&&_0x3e9591!==_0x5edc81[_0x5ad32a(0x1f0)]?_0x5ad32a(0x1e1)+_0x5edc81[_0x5ad32a(0x1f0)]+')':''):_0x5edc81['description']||_0x5edc81[_0x5ad32a(0x176)],_0x5dc415;}),_0x44bc9c={};return _0x44bc9c[_0x488d16(0x1ce)]='HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。',_0x44bc9c['params']=_0x4c3107,_0x44bc9c;}[a0_0x5ba6db(0x70)](){const _0x28dc39=a0_0x5ba6db,_0x387923=this['getUpdateFields'](),_0xe56af3=Object['entries'](_0x387923)['map'](([_0x1e91f5,_0x151b5c])=>{const _0x527546=a0_0x5697,_0x13f045=_0x151b5c,_0x562e85={};return _0x562e85['name']=_0x1e91f5,_0x562e85[_0x527546(0xe8)]=_0x13f045[_0x527546(0xe8)]||_0x527546(0x1bb),_0x562e85[_0x527546(0x1ce)]=_0x13f045[_0x527546(0x1ce)]||'-',_0x562e85;}),_0x42e323={};return _0x42e323[_0x28dc39(0x1ce)]='update\x20接口接受两个参数:\x0a\x0a'+_0x28dc39(0x160)+_0x28dc39(0x93)+_0x28dc39(0x166)+'-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a'+_0x28dc39(0xad),_0x42e323['params']=_0xe56af3,_0x42e323;}['generateRequestExample'](){const _0x4cb757=a0_0x5ba6db,_0x2ebdf7=this[_0x4cb757(0x2de)](),_0x383a50={};Object[_0x4cb757(0x1c9)](_0x2ebdf7)[_0x4cb757(0x2a7)](([_0x4a08f2,_0x176d67])=>{const _0x27c7c1=_0x4cb757,_0x36481d=_0x176d67;let _0x11cacf;if(typeof _0x36481d[_0x27c7c1(0xe8)]===_0x27c7c1(0x27c))_0x11cacf=_0x36481d[_0x27c7c1(0xe8)];else _0x36481d[_0x27c7c1(0xe8)]&&typeof _0x36481d['type']===_0x27c7c1(0x181)?_0x11cacf=_0x36481d[_0x27c7c1(0xe8)][_0x27c7c1(0xe8)]||'TEXT':_0x11cacf=_0x27c7c1(0x1ac);const _0x1738b9=_0x36481d[_0x27c7c1(0x1ce)],_0x3c9882=this[_0x27c7c1(0xac)](_0x4a08f2);_0x383a50[_0x4a08f2]=this[_0x27c7c1(0x1f1)](_0x4a08f2,_0x11cacf,_0x3c9882?.[_0x27c7c1(0x1da)](),{'isPrimaryKey':![],'description':_0x1738b9||_0x3c9882?.[_0x27c7c1(0x1ce)]||_0x3c9882?.[_0x27c7c1(0x176)]});});const _0x5e8957={};return _0x5e8957['id']=0x1,_0x5e8957['data']=_0x383a50,_0x5e8957;}['generateRequestAllExamples'](){const _0x1c1caf=a0_0x5ba6db,_0x5a673b=this[_0x1c1caf(0x194)](),_0xc34300={};return _0xc34300[_0x1c1caf(0x6c)]=_0x1c1caf(0x151),_0xc34300[_0x1c1caf(0x1ce)]=_0x1c1caf(0x78)+_0x1c1caf(0x115)+_0x1c1caf(0x1f6),_0xc34300[_0x1c1caf(0x98)]=_0x5a673b,[_0xc34300,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x1c1caf(0x278)+'-\x20主键使用\x20`id`\x20字段\x0a'+_0x1c1caf(0x254),'data':this['generateHTTPRequestExample']()}];}[a0_0x5ba6db(0x86)](){const _0x139960=a0_0x5ba6db,_0x219a66=this['getUpdateFields'](),_0x1bcce6={};_0x1bcce6['id']=0x1;const _0x4a8d4d=_0x1bcce6;return Object[_0x139960(0x1c9)](_0x219a66)['forEach'](([_0x42ff16,_0x4f2d39])=>{const _0x564427=_0x139960,_0x290316=_0x4f2d39;let _0x14e87f;if(typeof _0x290316[_0x564427(0xe8)]==='string')_0x14e87f=_0x290316['type'];else _0x290316[_0x564427(0xe8)]&&typeof _0x290316['type']===_0x564427(0x181)?_0x14e87f=_0x290316[_0x564427(0xe8)][_0x564427(0xe8)]||_0x564427(0x1ac):_0x14e87f=_0x564427(0x1ac);const _0x3bf057=_0x290316[_0x564427(0x1ce)],_0x2d0a08=this[_0x564427(0xac)](_0x42ff16);if(_0x2d0a08?.[_0x564427(0x18a)]())return;_0x4a8d4d[_0x42ff16]=this[_0x564427(0x1f1)](_0x42ff16,_0x14e87f,_0x2d0a08?.[_0x564427(0x1da)](),{'isPrimaryKey':![],'description':_0x3bf057||_0x2d0a08?.['description']||_0x2d0a08?.[_0x564427(0x176)]});}),_0x4a8d4d;}[a0_0x5ba6db(0x2aa)](){const _0x1e8c4d=a0_0x5ba6db;return this[_0x1e8c4d(0x86)]();}[a0_0x5ba6db(0x13a)](_0x24c6b8,_0x4c01c0){const _0x37429c=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4c01c0||{},_0x1e2161=this[_0x37429c(0x1e7)]();if(useFullExample){const _0x390c79=this[_0x37429c(0x194)](),_0x197e6e=JSON['stringify'](_0x390c79['data'],null,0x2)[_0x37429c(0x294)]('\x0a')['map']((_0x247af7,_0x142a27)=>_0x142a27===0x0?_0x247af7:indent+_0x247af7)[_0x37429c(0x18b)]('\x0a');return _0x37429c(0x1a6)+_0x24c6b8+'.'+_0x1e2161+'('+_0x390c79['id']+',\x20'+_0x197e6e+');';}return _0x37429c(0x1a6)+_0x24c6b8+'.'+_0x1e2161+_0x37429c(0x7a);}}class AggregateOperation extends GenericOperation{constructor(_0x10bf4b,_0x6ac7a0,_0x3bcaff){super(_0x10bf4b,_0x6ac7a0,_0x3bcaff);}[a0_0x5ba6db(0xb2)](_0x33952a){const _0x29ef64=a0_0x5ba6db;return _0x33952a[_0x29ef64(0x1bd)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x29ef64(0x17a)]()[_0x29ef64(0x201)]();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}['getRequestParams'](){const _0x5a7052=a0_0x5ba6db,_0x2f78ce=super[_0x5a7052(0x24b)](),_0x2fac63={};_0x2fac63[_0x5a7052(0xe8)]=_0x5a7052(0x24e),_0x2fac63[_0x5a7052(0x1ce)]=_0x5a7052(0xe1),_0x2fac63[_0x5a7052(0x1ae)]=![];const _0x1fe3a5={};_0x1fe3a5[_0x5a7052(0xe8)]='Object',_0x1fe3a5[_0x5a7052(0x1ce)]=_0x5a7052(0xb7),_0x1fe3a5[_0x5a7052(0x1ae)]=![];const _0x3ab941={};_0x3ab941[_0x5a7052(0xe8)]=_0x5a7052(0x24e),_0x3ab941[_0x5a7052(0x1ce)]=_0x5a7052(0x6a),_0x3ab941['required']=![];const _0x26045b={};_0x26045b[_0x5a7052(0xe8)]=_0x5a7052(0x1ea),_0x26045b['description']=_0x5a7052(0xf9),_0x26045b[_0x5a7052(0x1ae)]=![];const _0x30593a={};_0x30593a['type']='Array',_0x30593a[_0x5a7052(0x1ce)]=_0x5a7052(0x22e),_0x30593a[_0x5a7052(0x1ae)]=![];const _0x949951={};_0x949951[_0x5a7052(0xe8)]=_0x5a7052(0x1ea),_0x949951[_0x5a7052(0x1ce)]='排序规则(与\x20Filter\x20API\x20一致)',_0x949951[_0x5a7052(0x1ae)]=![];const _0x384e57={};_0x384e57[_0x5a7052(0xe8)]=_0x5a7052(0x119),_0x384e57[_0x5a7052(0x1ce)]=_0x5a7052(0x1df),_0x384e57[_0x5a7052(0x1ae)]=![];const _0x288b09={};_0x288b09[_0x5a7052(0xe8)]='Number',_0x288b09[_0x5a7052(0x1ce)]=_0x5a7052(0x13b),_0x288b09[_0x5a7052(0x1ae)]=![];const _0x173643={..._0x2f78ce};return _0x173643['select']=_0x2fac63,_0x173643[_0x5a7052(0xc5)]=_0x1fe3a5,_0x173643['groupBy']=_0x3ab941,_0x173643['aggregate']=_0x26045b,_0x173643[_0x5a7052(0x152)]=_0x30593a,_0x173643['orderBy']=_0x949951,_0x173643[_0x5a7052(0x319)]=_0x384e57,_0x173643[_0x5a7052(0x27b)]=_0x288b09,_0x173643;}[a0_0x5ba6db(0x2fe)](){const _0x36b77f=a0_0x5ba6db,_0x17d0c9={};_0x17d0c9['code']=_0x36b77f(0x198),_0x17d0c9['type']=_0x36b77f(0x24e),_0x17d0c9['description']=_0x36b77f(0xe1);const _0x172eb5={};_0x172eb5[_0x36b77f(0x1f0)]=_0x36b77f(0xc5),_0x172eb5[_0x36b77f(0xe8)]=_0x36b77f(0x9d),_0x172eb5[_0x36b77f(0x1ce)]=_0x36b77f(0xb7);const _0x42201c={};_0x42201c['code']=_0x36b77f(0x1f7),_0x42201c[_0x36b77f(0xe8)]='String[]',_0x42201c['description']=_0x36b77f(0x6a);const _0x2a6b60={};_0x2a6b60[_0x36b77f(0x1f0)]='aggregate',_0x2a6b60[_0x36b77f(0xe8)]=_0x36b77f(0x1ea),_0x2a6b60[_0x36b77f(0x1ce)]=_0x36b77f(0xe0);const _0x4afcdc={};_0x4afcdc[_0x36b77f(0x1f0)]=_0x36b77f(0x152),_0x4afcdc[_0x36b77f(0xe8)]='Array',_0x4afcdc[_0x36b77f(0x1ce)]='分组后的过滤条件(对聚合结果进行过滤)';const _0x5ec40b={};_0x5ec40b['code']='orderBy',_0x5ec40b['type']=_0x36b77f(0x1ea),_0x5ec40b[_0x36b77f(0x1ce)]=_0x36b77f(0xc1);const _0x192340={};_0x192340[_0x36b77f(0x1f0)]=_0x36b77f(0x319),_0x192340[_0x36b77f(0xe8)]=_0x36b77f(0x119),_0x192340[_0x36b77f(0x1ce)]=_0x36b77f(0x1df);const _0x13f56d={};return _0x13f56d['code']=_0x36b77f(0x27b),_0x13f56d[_0x36b77f(0xe8)]=_0x36b77f(0x119),_0x13f56d[_0x36b77f(0x1ce)]='每页数量(默认:\x2020)',[_0x17d0c9,_0x172eb5,_0x42201c,_0x2a6b60,_0x4afcdc,_0x5ec40b,_0x192340,_0x13f56d];}[a0_0x5ba6db(0x194)](){const _0x39300f=a0_0x5ba6db,_0x30918a=this['context']['fields']||[];if(_0x30918a[_0x39300f(0x1d6)]===0x0){const _0x354dee={};return _0x354dee[_0x39300f(0xc5)]={},_0x354dee[_0x39300f(0x1f7)]=[],_0x354dee[_0x39300f(0x10a)]=[],_0x354dee;}const _0x50186b={},_0x544dc3=_0x30918a[_0x39300f(0x1a0)](0x0,Math['min'](0x3,_0x30918a['length']));_0x544dc3[_0x39300f(0x2a7)](_0x14a4de=>{const _0x4a7dc1=_0x39300f,_0x5c414d=this[_0x4a7dc1(0x1d8)](_0x14a4de);if(_0x5c414d['length']===0x0)return;const _0x1ab6d5=this[_0x4a7dc1(0x21c)](_0x14a4de,_0x5c414d),_0x3d9c59=this[_0x4a7dc1(0x1aa)](_0x14a4de,_0x1ab6d5),_0xb35de3={};_0xb35de3[_0x1ab6d5]=_0x3d9c59,_0x50186b[_0x14a4de['code']]=_0xb35de3;});const _0x3b7de5=_0x30918a[_0x39300f(0x1a0)](0x0,Math['min'](0x2,_0x30918a[_0x39300f(0x1d6)]))[_0x39300f(0xc9)](_0x4ad719=>_0x4ad719['code']),_0x6a117=[],_0x189ae4=_0x30918a[_0x39300f(0x7e)](_0x53f419=>this['isNumericField'](_0x53f419));if(_0x189ae4[_0x39300f(0x1d6)]>0x0){const _0x4990bf=_0x189ae4[0x0],_0x3324d7=_0x4990bf[_0x39300f(0x1f0)],_0x58d32e={};_0x58d32e[_0x39300f(0xe8)]=_0x39300f(0x1af),_0x58d32e[_0x39300f(0xa0)]=_0x3324d7,_0x58d32e[_0x39300f(0xd1)]=_0x3324d7+_0x39300f(0x19d),_0x58d32e[_0x39300f(0x8e)]=![],_0x58d32e[_0x39300f(0x24a)]=!![],_0x58d32e[_0x39300f(0x212)]=0x2,_0x6a117[_0x39300f(0x296)](_0x58d32e);const _0x153b6f={};_0x153b6f[_0x39300f(0xe8)]=_0x39300f(0x1c3),_0x153b6f[_0x39300f(0xa0)]=_0x3324d7,_0x153b6f[_0x39300f(0xd1)]=_0x3324d7+_0x39300f(0x2bd),_0x153b6f[_0x39300f(0x8e)]=![],_0x153b6f[_0x39300f(0x24a)]=!![],_0x153b6f['precision']=0x2,_0x6a117[_0x39300f(0x296)](_0x153b6f);const _0x529969={};_0x529969['type']='max',_0x529969['column']=_0x3324d7,_0x529969[_0x39300f(0xd1)]=_0x3324d7+'_max',_0x529969[_0x39300f(0x8e)]=![],_0x529969['round']=!![],_0x529969[_0x39300f(0x212)]=0x2,_0x6a117[_0x39300f(0x296)](_0x529969);const _0x198f6e={};_0x198f6e[_0x39300f(0xe8)]='min',_0x198f6e[_0x39300f(0xa0)]=_0x3324d7,_0x198f6e[_0x39300f(0xd1)]=_0x3324d7+'_min',_0x198f6e[_0x39300f(0x8e)]=![],_0x198f6e[_0x39300f(0x24a)]=!![],_0x198f6e[_0x39300f(0x212)]=0x2,_0x6a117[_0x39300f(0x296)](_0x198f6e);}else{if(_0x30918a[_0x39300f(0x1d6)]>0x0){const _0x5222dd=_0x30918a[0x0],_0x33830c=_0x5222dd[_0x39300f(0x1f0)],_0x479af7={};_0x479af7['type']=_0x39300f(0x16a),_0x479af7[_0x39300f(0xa0)]=_0x33830c,_0x479af7[_0x39300f(0xd1)]=_0x39300f(0x1fb),_0x479af7['distinct']=!![],_0x6a117[_0x39300f(0x296)](_0x479af7);}}const _0x21f527=[];if(_0x30918a[_0x39300f(0x1d6)]>0x0){const _0x46b8cb=_0x30918a[0x0][_0x39300f(0x1f0)],_0x209cbf={};_0x209cbf[_0x46b8cb]=_0x39300f(0x15d),_0x21f527[_0x39300f(0x296)](_0x209cbf);}const _0x23aabb=[..._0x3b7de5,..._0x6a117['map'](_0xfc302f=>_0xfc302f[_0x39300f(0xd1)])],_0x309d5a=[];if(_0x6a117[_0x39300f(0x1d6)]>0x0){const _0x27f515={};_0x27f515[_0x39300f(0x247)]=0x0;const _0x3e4fb5={};_0x3e4fb5[_0x39300f(0x195)]=_0x6a117[0x0]['alias'],_0x3e4fb5['condition']=_0x27f515,_0x309d5a[_0x39300f(0x296)](_0x3e4fb5);}const _0x321066={};return _0x321066[_0x39300f(0x198)]=_0x23aabb,_0x321066[_0x39300f(0xc5)]=_0x50186b,_0x321066[_0x39300f(0x1f7)]=_0x3b7de5,_0x321066['aggregate']=_0x6a117,_0x321066[_0x39300f(0x152)]=_0x309d5a[_0x39300f(0x1d6)]>0x0?_0x309d5a:undefined,_0x321066[_0x39300f(0x2e9)]=_0x21f527,_0x321066[_0x39300f(0x319)]=0x1,_0x321066[_0x39300f(0x27b)]=0x14,_0x321066;}[a0_0x5ba6db(0x13a)](_0x3fd2a2,_0x23cd6d){const _0x31a67f=a0_0x5ba6db,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x23cd6d||{},_0xa066=this[_0x31a67f(0x1e7)](),_0x35f0bf=this[_0x31a67f(0x194)](),_0x568b7b=_0x10eda2=>{const _0x30c25e=_0x31a67f;return JSON[_0x30c25e(0x275)](_0x10eda2,null,0x2)['split']('\x0a')[_0x30c25e(0xc9)]((_0x2c998c,_0x5c9513)=>_0x5c9513===0x0?_0x2c998c:indent+_0x2c998c)[_0x30c25e(0x18b)]('\x0a');};if(useFullExample){const _0x28a51d=this[_0x31a67f(0x111)]['fields']||[],_0x41e2fe=_0x28a51d[_0x31a67f(0x7e)](_0x588d2a=>this[_0x31a67f(0x104)](_0x588d2a)),_0x3fb129={'where':_0x28a51d[0x0]?{[_0x28a51d[0x0][_0x31a67f(0x1f0)]]:{'$eq':this[_0x31a67f(0x1aa)](_0x28a51d[0x0],'$eq')}}:{},'aggregate':_0x41e2fe[_0x31a67f(0x1d6)]>0x0?[{'type':_0x31a67f(0x1af),'column':_0x41e2fe[0x0][_0x31a67f(0x1f0)],'alias':_0x41e2fe[0x0][_0x31a67f(0x1f0)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x31a67f(0x16a),'column':_0x28a51d[0x0][_0x31a67f(0x1f0)],'alias':_0x31a67f(0x1fb),'distinct':!![]}],'orderBy':[{[_0x28a51d[0x0][_0x31a67f(0x1f0)]]:_0x31a67f(0x15d)}]};let _0x24cb64='';return _0x28a51d['length']>=0x3&&(_0x24cb64=_0x31a67f(0x221)+_0x3fd2a2+'.'+_0xa066+'('+_0x568b7b(_0x35f0bf)+');'),_0x31a67f(0x169)+_0x3fd2a2+'.'+_0xa066+'('+_0x568b7b(_0x3fb129)+');'+_0x24cb64;}const _0x1ace3b=JSON[_0x31a67f(0x275)](_0x35f0bf,null,0x2)['split']('\x0a')[_0x31a67f(0xc9)]((_0x3e3bad,_0x82f605)=>_0x82f605===0x0?_0x3e3bad:indent+_0x3e3bad)[_0x31a67f(0x18b)]('\x0a');return _0x31a67f(0x1a6)+_0x3fd2a2+'.'+_0xa066+'('+_0x1ace3b+');';}[a0_0x5ba6db(0x104)](_0x177975){const _0x55b17b=a0_0x5ba6db,_0x230a74=_0x177975[_0x55b17b(0x1da)]();return[_0x55b17b(0x135),_0x55b17b(0xbe),_0x55b17b(0x1cd),'DECIMAL'][_0x55b17b(0x122)](_0x230a74)||[_0x55b17b(0x1a7),_0x55b17b(0x279),_0x55b17b(0x2c7),_0x55b17b(0x1b7),'FLOAT'][_0x55b17b(0x122)](_0x230a74);}['getApplicableOperators'](_0x48ba32){const _0x3c1297=a0_0x5ba6db,_0x411557=_0x48ba32[_0x3c1297(0x1da)](),_0x586f5d=[];if([_0x3c1297(0x135),_0x3c1297(0xbe),'BIGINT','DECIMAL'][_0x3c1297(0x122)](_0x411557)||[_0x3c1297(0x1a7),_0x3c1297(0x279),'SMALLINT','DOUBLE',_0x3c1297(0x14d)][_0x3c1297(0x122)](_0x411557))_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),'$ne',_0x3c1297(0x247),'$lte',_0x3c1297(0x87),_0x3c1297(0x2b2),_0x3c1297(0xe7));else{if([_0x3c1297(0x23c),'TEXT','VARCHAR'][_0x3c1297(0x122)](_0x411557)||[_0x3c1297(0x6b),_0x3c1297(0x9e)]['includes'](_0x411557))_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),'$ne',_0x3c1297(0xe7),_0x3c1297(0xf4),'$startWith','$endWith');else{if([_0x3c1297(0x108),_0x3c1297(0x26f),'TIMESTAMP'][_0x3c1297(0x122)](_0x411557)||['TIME'][_0x3c1297(0x122)](_0x411557))_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),'$ne',_0x3c1297(0x247),_0x3c1297(0x228),_0x3c1297(0x87),'$lteq');else['BOOLEAN',_0x3c1297(0x28d),_0x3c1297(0x15c)][_0x3c1297(0x122)](_0x411557)?_0x586f5d[_0x3c1297(0x296)]('$eq',_0x3c1297(0x22b)):_0x586f5d[_0x3c1297(0x296)](_0x3c1297(0x22d),_0x3c1297(0x22b));}}return _0x586f5d;}[a0_0x5ba6db(0x21c)](_0x157cdd,_0x56d3b3){const _0x483c84=a0_0x5ba6db,_0x380029=_0x157cdd[_0x483c84(0x1da)]();if([_0x483c84(0x135),_0x483c84(0xbe),_0x483c84(0x1cd),_0x483c84(0x304)]['includes'](_0x380029)||[_0x483c84(0x1a7),_0x483c84(0x279),'SMALLINT',_0x483c84(0x1b7),_0x483c84(0x14d)]['includes'](_0x380029))return _0x56d3b3['includes']('$gte')?_0x483c84(0x247):_0x483c84(0x22d);if([_0x483c84(0x23c),_0x483c84(0x1ac),_0x483c84(0x2cb)][_0x483c84(0x122)](_0x380029)||[_0x483c84(0x6b),_0x483c84(0x9e)]['includes'](_0x380029))return _0x56d3b3['includes'](_0x483c84(0xf4))?_0x483c84(0xf4):_0x483c84(0x22d);if([_0x483c84(0x108),_0x483c84(0x26f),_0x483c84(0x202),'TIME'][_0x483c84(0x122)](_0x380029))return _0x56d3b3[_0x483c84(0x122)](_0x483c84(0x247))?_0x483c84(0x247):'$eq';return _0x483c84(0x22d);}[a0_0x5ba6db(0x1aa)](_0x12a05a,_0x2865db){const _0x1b9940=a0_0x5ba6db,_0x4692ef=_0x12a05a['getDbTypeForOperation'](),_0x444384=_0x12a05a[_0x1b9940(0x225)]();if(_0x444384&&_0x444384['length']>0x0){if(_0x2865db===_0x1b9940(0xe7))return _0x444384[_0x1b9940(0x1a0)](0x0,0x2)[_0x1b9940(0xc9)](_0x38b0e8=>_0x38b0e8[_0x1b9940(0x14b)]);return _0x444384[0x0][_0x1b9940(0x14b)];}if([_0x1b9940(0x135),_0x1b9940(0xbe),_0x1b9940(0x1cd),_0x1b9940(0x304)]['includes'](_0x4692ef)||['INT',_0x1b9940(0x279),_0x1b9940(0x2c7),_0x1b9940(0x1b7),_0x1b9940(0x14d)][_0x1b9940(0x122)](_0x4692ef)){if(_0x2865db===_0x1b9940(0xe7))return[0x1,0x2,0x3];if(_0x2865db==='$gte'||_0x2865db==='$gteq')return 0x0;if(_0x2865db===_0x1b9940(0x228)||_0x2865db===_0x1b9940(0x2b2))return 0x64;return 0x1;}if([_0x1b9940(0x23c),'TEXT',_0x1b9940(0x2cb)]['includes'](_0x4692ef)||['CHAR',_0x1b9940(0x9e)][_0x1b9940(0x122)](_0x4692ef)){if(_0x2865db===_0x1b9940(0xe7))return['value1','value2'];if(_0x2865db===_0x1b9940(0xf4))return _0x1b9940(0x2fb);if(_0x2865db===_0x1b9940(0x1b0))return'prefix';if(_0x2865db===_0x1b9940(0x30e))return _0x1b9940(0x216);return _0x1b9940(0x14b);}if([_0x1b9940(0x108),_0x1b9940(0x26f),_0x1b9940(0x202),_0x1b9940(0x276)][_0x1b9940(0x122)](_0x4692ef)){if(_0x2865db===_0x1b9940(0x247)||_0x2865db==='$gteq')return _0x1b9940(0x183);if(_0x2865db==='$lte'||_0x2865db==='$lteq')return _0x1b9940(0xbd);return _0x1b9940(0x183);}if([_0x1b9940(0x28e),_0x1b9940(0x28d),_0x1b9940(0x15c)][_0x1b9940(0x122)](_0x4692ef))return!![];return _0x2865db===_0x1b9940(0xe7)?[_0x1b9940(0x215),_0x1b9940(0x75)]:_0x1b9940(0x14b);}[a0_0x5ba6db(0x70)](){const _0xa646a2=a0_0x5ba6db,_0x2e7b63=this[_0xa646a2(0x24b)](),_0x237d10=Object[_0xa646a2(0x1c9)](_0x2e7b63)[_0xa646a2(0x7e)](([_0x2b0817])=>_0x2b0817!==_0xa646a2(0x319)&&_0x2b0817!==_0xa646a2(0x27b))['map'](([_0x121bb3,_0x255c1a])=>{const _0x4c1366=_0xa646a2,_0x51011e=_0x255c1a,_0x1826b2={};return _0x1826b2[_0x4c1366(0x176)]=_0x121bb3,_0x1826b2[_0x4c1366(0xe8)]=_0x51011e[_0x4c1366(0xe8)]||'String',_0x1826b2[_0x4c1366(0x1ce)]=_0x51011e[_0x4c1366(0x1ce)]||'-',_0x1826b2[_0x4c1366(0x1ae)]=_0x51011e['required'],_0x1826b2;}),_0x32186e={};return _0x32186e[_0xa646a2(0x1ce)]='\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregate`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20HavingCondition[];\x20//\x20分组后的过滤条件(可选,对聚合结果进行过滤)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20column:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a\x0ainterface\x20HavingCondition\x20{\x0a\x20\x20columnName:\x20string;\x20//\x20聚合字段的别名(alias)\x0a\x20\x20condition:\x20WhereCondition;\x20//\x20聚合字段的过滤条件(支持与\x20where\x20相同的操作符)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**HavingCondition\x20使用示例**\x0a\x0a```ts\x0ahaving:\x20[\x0a\x20\x20{\x20columnName:\x20\x22total_amount\x22,\x20condition:\x20{\x20$gte:\x2010000\x20}\x20},\x0a\x20\x20{\x20columnName:\x20\x22count\x22,\x20condition:\x20{\x20$lte:\x20100\x20}\x20}\x0a]\x0a```\x0a\x0a**可用聚合字段**\x0a',_0x32186e[_0xa646a2(0x165)]=_0x237d10,_0x32186e;}[a0_0x5ba6db(0x262)](){const _0x4376a2=a0_0x5ba6db,_0x289dc0=this[_0x4376a2(0x194)]()[_0x4376a2(0x10a)],_0x52caca=[{}],_0x3af721=[];_0x289dc0?.[_0x4376a2(0x2a7)](_0x593b4c=>{const _0x519f84=_0x4376a2,_0x3cd804={};_0x3cd804[_0x519f84(0x6c)]=_0x593b4c['alias'],_0x3cd804['dataIndex']=_0x593b4c['alias'],_0x3af721[_0x519f84(0x296)](_0x3cd804),_0x52caca[0x0][_0x593b4c[_0x519f84(0xd1)]]=_0x593b4c[_0x519f84(0xe8)]==='count'?0x64:Math[_0x519f84(0x24a)](Math['random']()*0x64*0x64)/0x64;});const _0x21654a={};_0x21654a[_0x4376a2(0x27b)]=0x1,_0x21654a[_0x4376a2(0xfe)]=0x64,_0x21654a[_0x4376a2(0x319)]=0x1;const _0x19711b={};_0x19711b[_0x4376a2(0x1a4)]=_0x21654a,_0x19711b['tableData']=_0x52caca,_0x19711b[_0x4376a2(0x193)]=_0x3af721;const _0x3e793a={};return _0x3e793a['success']=!![],_0x3e793a[_0x4376a2(0x10f)]='',_0x3e793a[_0x4376a2(0x1d0)]='',_0x3e793a['errorCode']=_0x4376a2(0x1ca),_0x3e793a[_0x4376a2(0x98)]=_0x19711b,_0x3e793a[_0x4376a2(0x165)]=null,_0x3e793a;}}class OperationFactory{[a0_0x5ba6db(0x2c2)](_0x5247c2,_0x5595be,_0x3e3286){const _0x5dd2e1=a0_0x5ba6db;switch(_0x5247c2){case _0x5dd2e1(0x20f):return new GetSelectOptionsOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x1d7):return new GetListOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x7e):return new FilterOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x26e):return new ExcelExportOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0xf1):return new UpdateOperation(_0x5247c2,_0x5595be,_0x3e3286);case _0x5dd2e1(0x10a):return new AggregateOperation(_0x5247c2,_0x5595be,_0x3e3286);default:return new GenericOperation(_0x5247c2,_0x5595be,_0x3e3286);}}[a0_0x5ba6db(0xde)](_0x3e64f3,_0x53df6e){const _0x1cddc2=a0_0x5ba6db,_0x5899d3=new Map();return Object[_0x1cddc2(0x1c9)](_0x3e64f3)[_0x1cddc2(0x2a7)](([_0x1ebe03,_0x24eadf])=>{const _0x30f768=_0x1cddc2;_0x5899d3['set'](_0x1ebe03,this[_0x30f768(0x2c2)](_0x1ebe03,_0x24eadf,_0x53df6e));}),_0x5899d3;}}class OperationList{[a0_0x5ba6db(0x2dd)];constructor(_0x213808,_0x523d03){const _0x3a5009=a0_0x5ba6db,_0x345d9a=new OperationFactory();this[_0x3a5009(0x2dd)]=_0x345d9a[_0x3a5009(0xde)](_0x213808,_0x523d03);}[a0_0x5ba6db(0x2e1)](_0x31f24c){const _0x34cd69=a0_0x5ba6db;return this[_0x34cd69(0x2dd)][_0x34cd69(0x2e1)](_0x31f24c);}['has'](_0x2a0470){const _0xb407f8=a0_0x5ba6db;return this[_0xb407f8(0x2dd)]['has'](_0x2a0470);}[a0_0x5ba6db(0x2fd)](){const _0x580694=a0_0x5ba6db;return this[_0x580694(0x2dd)][_0x580694(0x2fd)];}[a0_0x5ba6db(0x248)](){const _0x16d25f=a0_0x5ba6db;return Array[_0x16d25f(0x1e3)](this['_operations'][_0x16d25f(0xe9)]());}['toArray'](){const _0x151da7=a0_0x5ba6db,_0x508a2f=Array[_0x151da7(0x1e3)](this[_0x151da7(0x2dd)]['values']());return this[_0x151da7(0x172)](_0x508a2f);}[a0_0x5ba6db(0xcb)](){const _0x2336ee=a0_0x5ba6db;return this[_0x2336ee(0x16f)]()[_0x2336ee(0x7e)](_0x45eca3=>_0x45eca3[_0x2336ee(0x2c6)]());}[a0_0x5ba6db(0x159)](){const _0x4f2fe3=a0_0x5ba6db;return this[_0x4f2fe3(0x16f)]()[_0x4f2fe3(0x7e)](_0x3aa11a=>!_0x3aa11a[_0x4f2fe3(0x2c6)]());}[a0_0x5ba6db(0x260)](){const _0x50a4fd=a0_0x5ba6db;return this[_0x50a4fd(0xcb)]()[_0x50a4fd(0xc9)](_0xda1026=>_0xda1026['getName']());}['getDisabledNames'](){const _0x3ddd65=a0_0x5ba6db;return this[_0x3ddd65(0x159)]()[_0x3ddd65(0xc9)](_0x445d06=>_0x445d06['getName']());}['getByType'](_0x2068f2){const _0x15adc0=a0_0x5ba6db;return this[_0x15adc0(0x16f)]()['filter'](_0x3f9bfc=>_0x3f9bfc[_0x15adc0(0x295)]()===_0x2068f2);}['filter'](_0x17864e){const _0xff6b82=a0_0x5ba6db;return this[_0xff6b82(0x16f)]()[_0xff6b82(0x7e)](_0x17864e);}[a0_0x5ba6db(0xcc)](_0x56a6eb={}){const _0x10ead9=a0_0x5ba6db;let _0x595130=this['toArray']();!_0x56a6eb[_0x10ead9(0x14a)]&&(_0x595130=_0x595130[_0x10ead9(0x7e)](_0x205df8=>_0x205df8[_0x10ead9(0x2c6)]()));if(_0x56a6eb[_0x10ead9(0x8d)]!==![]){const _0x50a0b0=_0x595130[_0x10ead9(0xc9)](_0x1c484a=>({'name':_0x1c484a[_0x10ead9(0x1e7)](),'operation':_0x1c484a})),_0x1088ea=filterApiOperations(_0x50a0b0);_0x595130=_0x1088ea['map'](_0x1ab6d7=>_0x1ab6d7['operation']),_0x595130=this[_0x10ead9(0x172)](_0x595130);}return _0x56a6eb[_0x10ead9(0x2d4)]&&(_0x595130=_0x595130[_0x10ead9(0x7e)](_0x56a6eb[_0x10ead9(0x2d4)])),_0x595130;}[a0_0x5ba6db(0x172)](_0x2223e3){const _0x47dd45=a0_0x5ba6db,_0x2367c7=_0x2223e3[_0x47dd45(0xbf)](_0x278204=>_0x278204[_0x47dd45(0x1e7)]()===_0x47dd45(0x7e)),_0x3f5e0d=_0x2223e3[_0x47dd45(0x7e)](_0x430b1b=>_0x430b1b[_0x47dd45(0x1e7)]()!=='filter');return _0x2367c7?[_0x2367c7,..._0x3f5e0d]:_0x3f5e0d;}[a0_0x5ba6db(0x30b)](){const _0x36852c=a0_0x5ba6db,_0x1fadb7=this[_0x36852c(0xcb)]();return{'total':this[_0x36852c(0x2fd)](),'enabled':_0x1fadb7[_0x36852c(0x1d6)],'disabled':this['size']()-_0x1fadb7[_0x36852c(0x1d6)],'byType':this[_0x36852c(0x97)](_0x1fadb7),'byMethod':this[_0x36852c(0x1c4)](_0x1fadb7)};}[a0_0x5ba6db(0x97)](_0x4c66a5){const _0x451dc5=a0_0x5ba6db,_0x4c6bca={};return _0x4c66a5[_0x451dc5(0x2a7)](_0x1074df=>{const _0x32bae5=_0x451dc5,_0x571e55=_0x1074df[_0x32bae5(0x295)]();_0x571e55&&(_0x4c6bca[_0x571e55]=(_0x4c6bca[_0x571e55]||0x0)+0x1);}),_0x4c6bca;}['getCountByMethod'](_0x2ebefd){const _0x2b687c=a0_0x5ba6db,_0x42ba1e={};return _0x2ebefd[_0x2b687c(0x2a7)](_0x4b5db0=>{const _0x287bfb=_0x4b5db0['getMethod']();_0x287bfb&&(_0x42ba1e[_0x287bfb]=(_0x42ba1e[_0x287bfb]||0x0)+0x1);}),_0x42ba1e;}[Symbol[a0_0x5ba6db(0x2a9)]](){const _0x342e3f=a0_0x5ba6db;return this[_0x342e3f(0x2dd)][_0x342e3f(0x141)]();}[a0_0x5ba6db(0x146)](){const _0x3c2fbc=a0_0x5ba6db,_0x192ba7=this[_0x3c2fbc(0x30b)]();return'OperationList('+_0x192ba7['enabled']+'/'+_0x192ba7[_0x3c2fbc(0x7d)]+'\x20operations)';}}class DBConfig{['raw'];['dbId'];[a0_0x5ba6db(0x2f8)];[a0_0x5ba6db(0x2e6)];[a0_0x5ba6db(0x292)];['tableName'];[a0_0x5ba6db(0x29f)];[a0_0x5ba6db(0x9a)];[a0_0x5ba6db(0xc2)];[a0_0x5ba6db(0x13f)];constructor(_0x5035ad,_0x46463c){const _0x5dd6ad=a0_0x5ba6db;this[_0x5dd6ad(0x12f)]=_0x46463c,this[_0x5dd6ad(0xb6)]=_0x5035ad[_0x5dd6ad(0xb6)],this[_0x5dd6ad(0x2f8)]=_0x5035ad[_0x5dd6ad(0x2f8)],this['dbType']=_0x5035ad[_0x5dd6ad(0x2e6)],this[_0x5dd6ad(0x292)]=_0x5035ad[_0x5dd6ad(0x292)],this[_0x5dd6ad(0x21f)]=_0x5035ad[_0x5dd6ad(0x21f)],this[_0x5dd6ad(0x29f)]=_0x5035ad[_0x5dd6ad(0x29f)],this[_0x5dd6ad(0x9a)]=_0x5035ad['pkField'],this[_0x5dd6ad(0xc2)]=_0x5035ad[_0x5dd6ad(0xc2)],this['appCode']=_0x5035ad['appCode'];}[a0_0x5ba6db(0x1f4)](){const _0xd59ffa=a0_0x5ba6db;return this[_0xd59ffa(0x12f)];}}class DrivenDataDetailBase extends DatasetItem{['_operationList'];[a0_0x5ba6db(0x129)];[a0_0x5ba6db(0xa2)];constructor(_0x14af5b){const _0x36e860=a0_0x5ba6db,_0x3f1934={..._0x14af5b};_0x3f1934['id']=_0x14af5b[_0x36e860(0x206)]||_0x14af5b['id'],_0x3f1934[_0x36e860(0x89)]=_0x14af5b[_0x36e860(0x144)]||_0x14af5b['datasetCode']||_0x14af5b[_0x36e860(0x1f0)],super(_0x3f1934);}[a0_0x5ba6db(0x12c)](){return;}[a0_0x5ba6db(0x120)](){return[];}[a0_0x5ba6db(0x19b)](){return[];}get[a0_0x5ba6db(0x1dd)](){const _0x503f2c=a0_0x5ba6db;return this[_0x503f2c(0x2b8)]();}[a0_0x5ba6db(0x11c)](){const _0x5e889e=a0_0x5ba6db;if(!this['_fieldList'])throw new Error(_0x5e889e(0x2f0));return this['_fieldList'];}[a0_0x5ba6db(0x95)](){const _0x15d736=a0_0x5ba6db;if(!this[_0x15d736(0xa2)])throw new Error(_0x15d736(0xd4));return this[_0x15d736(0xa2)];}['getFields'](){return[];}[a0_0x5ba6db(0x238)](){const _0x42b44d=a0_0x5ba6db,_0x4f91ae=this['getFieldDataSource']();return _0x4f91ae[_0x42b44d(0x145)];}[a0_0x5ba6db(0x27a)](){const _0x397a04=a0_0x5ba6db;return this[_0x397a04(0x26d)]()[_0x397a04(0x1d6)];}[a0_0x5ba6db(0x11e)](_0x23a0fb){const _0x23f038=a0_0x5ba6db,_0x49ae60=this[_0x23f038(0x18c)](_0x23a0fb);return _0x49ae60?_0x49ae60[_0x23f038(0x12f)]:undefined;}[a0_0x5ba6db(0x13c)](_0x4e1eb1){return;}[a0_0x5ba6db(0xf8)](_0xab24c3){const _0x241b8c=a0_0x5ba6db;if(!_0xab24c3||typeof _0xab24c3!==_0x241b8c(0x181))return!![]&&console[_0x241b8c(0x223)]('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0xab24c3),{};if(_0x241b8c(0x9a)in _0xab24c3){const _0x476f0c=_0xab24c3;return{'primaryKey':typeof _0x476f0c['pkField']===_0x241b8c(0x25e)?_0x476f0c['pkField']:Boolean(_0x476f0c[_0x241b8c(0x9a)]),'required':_0x476f0c[_0x241b8c(0x1ae)],'systemRetain':Boolean(_0x476f0c[_0x241b8c(0x8b)]),'autoIncrement':_0x476f0c[_0x241b8c(0x180)]??undefined};}if(!('extend'in _0xab24c3)||!_0xab24c3[_0x241b8c(0x21d)])return{};try{const _0x497eed=typeof _0xab24c3['extend']==='string'?JSON[_0x241b8c(0x80)](_0xab24c3['extend']):_0xab24c3[_0x241b8c(0x21d)];if(typeof _0x497eed!==_0x241b8c(0x181)||_0x497eed===null)return{};return _0x497eed;}catch{return{};}}[a0_0x5ba6db(0x90)](){const _0x2ef1d4=a0_0x5ba6db;if(!this[_0x2ef1d4(0x30c)]){const _0x1260e5=this['ensureFilterOperation'](this[_0x2ef1d4(0x306)]()||{});this[_0x2ef1d4(0x30c)]=new OperationList(_0x1260e5,{'fields':this['getFieldList']()[_0x2ef1d4(0x15a)](),'pkField':this[_0x2ef1d4(0x244)]['dbtableConfig']?.[_0x2ef1d4(0x9a)],'dbtableConfig':this['_raw'][_0x2ef1d4(0x126)]||null});}return this[_0x2ef1d4(0x30c)];}[a0_0x5ba6db(0xf6)](_0x3f2bd9){const _0x41dea3=a0_0x5ba6db;if(_0x3f2bd9[_0x41dea3(0x7e)]!==undefined)return _0x3f2bd9;return{..._0x3f2bd9,'filter':this[_0x41dea3(0x2e3)]()};}['generateDefaultFilterOperation'](){const _0x3a444f=a0_0x5ba6db,_0x1f48c0=this[_0x3a444f(0x306)]()?.[_0x3a444f(0x1d7)];let _0x32116e=_0x1f48c0?.['host'],_0x4d174f='';if(!_0x32116e&&this[_0x3a444f(0x306)]()){const _0xf0b4a7=Object[_0x3a444f(0x141)](this[_0x3a444f(0x306)]());for(const _0x505dba of _0xf0b4a7){if(_0x505dba&&typeof _0x505dba===_0x3a444f(0x181)&&_0x3a444f(0x230)in _0x505dba){_0x32116e=_0x505dba[_0x3a444f(0x230)];break;}}}if(_0x1f48c0?.['path']){const _0x2bed4a=_0x1f48c0[_0x3a444f(0x267)],_0x109dd4=_0x2bed4a[_0x3a444f(0x220)]('/');_0x109dd4!==-0x1&&(_0x4d174f=_0x2bed4a['substring'](0x0,_0x109dd4));}const _0x470629={};_0x470629[_0x3a444f(0x176)]='where',_0x470629['type']=_0x3a444f(0x181),_0x470629[_0x3a444f(0x1ae)]=![];const _0x11c113={};_0x11c113[_0x3a444f(0x176)]=_0x3a444f(0x198),_0x11c113['type']=_0x3a444f(0x20b),_0x11c113[_0x3a444f(0x1ae)]=![];const _0xa6c84e={};_0xa6c84e[_0x3a444f(0x176)]=_0x3a444f(0x2e9),_0xa6c84e['type']=_0x3a444f(0x20b),_0xa6c84e[_0x3a444f(0x1ae)]=![];const _0x167a8a={};_0x167a8a[_0x3a444f(0x176)]=_0x3a444f(0x319),_0x167a8a[_0x3a444f(0xe8)]=_0x3a444f(0xd3),_0x167a8a[_0x3a444f(0x1ae)]=![],_0x167a8a[_0x3a444f(0x91)]=0x1;const _0x419a61={};_0x419a61['name']='pageSize',_0x419a61['type']=_0x3a444f(0xd3),_0x419a61[_0x3a444f(0x1ae)]=![],_0x419a61['default']=0xa;const _0x1c89a6={};return _0x1c89a6[_0x3a444f(0x176)]=_0x3a444f(0x7e),_0x1c89a6[_0x3a444f(0xe8)]='query',_0x1c89a6[_0x3a444f(0x1ce)]=_0x3a444f(0x2e2),_0x1c89a6['method']=_0x3a444f(0xaf),_0x1c89a6[_0x3a444f(0x230)]=_0x32116e,_0x1c89a6[_0x3a444f(0x267)]=_0x4d174f?_0x4d174f+_0x3a444f(0x2da):'/filter',_0x1c89a6[_0x3a444f(0x165)]=_0x1f48c0?.[_0x3a444f(0x165)]||[_0x470629,_0x11c113,_0xa6c84e,_0x167a8a,_0x419a61],_0x1c89a6[_0x3a444f(0x12d)]=!![],_0x1c89a6;}[a0_0x5ba6db(0x29c)](){const _0x4b9299=a0_0x5ba6db;return this[_0x4b9299(0x90)]()[_0x4b9299(0x16f)]();}['getOperationCount'](){const _0x29c1cd=a0_0x5ba6db;return this[_0x29c1cd(0x90)]()[_0x29c1cd(0x2fd)]();}[a0_0x5ba6db(0xa1)](_0x417eba){const _0x5110a7=a0_0x5ba6db;if(typeof _0x417eba!==_0x5110a7(0x27c)){!![]&&console[_0x5110a7(0x223)]('[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:',_0x417eba);return;}return this[_0x5110a7(0x90)]()[_0x5110a7(0x2e1)](_0x417eba);}[a0_0x5ba6db(0x113)](_0x28bfba){const _0x549949=a0_0x5ba6db;if(typeof _0x28bfba!==_0x549949(0x27c))return![];return this['getOperationList']()[_0x549949(0x2c0)](_0x28bfba);}[a0_0x5ba6db(0xe4)](_0x17bbe2){const _0x33d3d5=a0_0x5ba6db;if(typeof _0x17bbe2!=='string')return![];const _0x3f97e4=this['getOperation'](_0x17bbe2);return _0x3f97e4?.[_0x33d3d5(0x2c6)]()||![];}[a0_0x5ba6db(0x314)](){const _0xefd751=a0_0x5ba6db;return this[_0xefd751(0x90)]()[_0xefd751(0x260)]();}[a0_0x5ba6db(0x1de)](){const _0x5c5205=a0_0x5ba6db;return this[_0x5c5205(0x90)]()[_0x5c5205(0x101)]();}[a0_0x5ba6db(0x286)](){const _0xb95f2d=a0_0x5ba6db;return this['getOperationList']()[_0xb95f2d(0xcb)]();}[a0_0x5ba6db(0x191)](){const _0x20b48b=a0_0x5ba6db;return this[_0x20b48b(0x90)]()['getDisabled']();}[a0_0x5ba6db(0x14c)](_0x3e75c5={}){const _0x5dcb9b=a0_0x5ba6db;return this[_0x5dcb9b(0x90)]()[_0x5dcb9b(0xcc)](_0x3e75c5);}[a0_0x5ba6db(0x30b)](){const _0xfb1305=a0_0x5ba6db;return{'fieldCount':this[_0xfb1305(0x27a)](),'systemFieldCount':this[_0xfb1305(0x2fe)]()[_0xfb1305(0x1d6)],'businessFieldCount':this[_0xfb1305(0x287)]()[_0xfb1305(0x1d6)],'requiredFieldCount':this[_0xfb1305(0x173)]()[_0xfb1305(0x1d6)],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this[_0xfb1305(0x132)](),'enabledOperationCount':this[_0xfb1305(0x314)]()['length']};}[a0_0x5ba6db(0x22f)](_0x3e45e9){const _0xf2f00b=a0_0x5ba6db;if(!_0x3e45e9||typeof _0x3e45e9!=='object')return'';if(_0xf2f00b(0x1f0)in _0x3e45e9&&typeof _0x3e45e9[_0xf2f00b(0x1f0)]===_0xf2f00b(0x27c))return _0x3e45e9[_0xf2f00b(0x1f0)];if(_0xf2f00b(0x176)in _0x3e45e9&&typeof _0x3e45e9[_0xf2f00b(0x176)]===_0xf2f00b(0x27c))return _0x3e45e9[_0xf2f00b(0x176)];return'';}[a0_0x5ba6db(0xcf)](_0x21919e){return this['getFieldList']()['has'](_0x21919e);}['isPrimaryKeyField'](_0x32755d){const _0x1c30a9=a0_0x5ba6db;if(!_0x32755d||typeof _0x32755d!==_0x1c30a9(0x181))return![];const _0x53f3c5=this[_0x1c30a9(0x22f)](_0x32755d),_0x3ce5a4=this[_0x1c30a9(0x18c)](_0x53f3c5);return _0x3ce5a4?_0x3ce5a4[_0x1c30a9(0x18a)]():![];}[a0_0x5ba6db(0x192)](_0xe8a46e){const _0x39e8e2=a0_0x5ba6db;if(!_0xe8a46e||typeof _0xe8a46e!==_0x39e8e2(0x181))return![];const _0xde23ff=this[_0x39e8e2(0x22f)](_0xe8a46e),_0x4919e9=this[_0x39e8e2(0x18c)](_0xde23ff);return _0x4919e9?_0x4919e9['isSystem']():![];}[a0_0x5ba6db(0x2a8)](_0x56b115){const _0x4f0ecd=a0_0x5ba6db;if(!_0x56b115||typeof _0x56b115!==_0x4f0ecd(0x181))return![];const _0x1dd651=this[_0x4f0ecd(0x22f)](_0x56b115),_0x27ea53=this[_0x4f0ecd(0x18c)](_0x1dd651);return _0x27ea53?_0x27ea53[_0x4f0ecd(0x2bf)]():![];}[a0_0x5ba6db(0x30d)](_0x149584){const _0x440281=a0_0x5ba6db;if(!_0x149584||typeof _0x149584!=='object')return![];const _0x5cd5f6=this[_0x440281(0x22f)](_0x149584),_0x32738e=this[_0x440281(0x18c)](_0x5cd5f6);return _0x32738e?_0x32738e[_0x440281(0xbb)]():![];}[a0_0x5ba6db(0x209)](_0x3b1af0){const _0x2d1955=a0_0x5ba6db;if(!_0x3b1af0||typeof _0x3b1af0!==_0x2d1955(0x181))return![];const _0x11bdda=this[_0x2d1955(0x22f)](_0x3b1af0),_0x4786f0=this[_0x2d1955(0x18c)](_0x11bdda);return _0x4786f0?_0x4786f0['isMultipleSelect']():![];}[a0_0x5ba6db(0x243)](_0x1622a6){const _0x34acea=a0_0x5ba6db;if(!_0x1622a6||typeof _0x1622a6!==_0x34acea(0x181))return[];const _0x36cc8c=this['getFieldCode'](_0x1622a6),_0x45f6ed=this[_0x34acea(0x18c)](_0x36cc8c);if(!_0x45f6ed||!_0x45f6ed[_0x34acea(0xbb)]())return[];return _0x45f6ed['getEnumOptions']()||[];}[a0_0x5ba6db(0x265)](_0x5a3ee0){const _0x476fbd=a0_0x5ba6db;if(!_0x5a3ee0||typeof _0x5a3ee0!=='object')return;const _0x3b2a75=this[_0x476fbd(0x22f)](_0x5a3ee0),_0x5d4d39=this[_0x476fbd(0x18c)](_0x3b2a75);if(!_0x5d4d39||!_0x5d4d39[_0x476fbd(0xbb)]())return;return _0x5d4d39[_0x476fbd(0x2f3)]();}[a0_0x5ba6db(0x2ba)](_0x36020d){const _0x4864d7=a0_0x5ba6db;if(!_0x36020d||typeof _0x36020d!==_0x4864d7(0x181))return;const _0x56b201=this[_0x4864d7(0x22f)](_0x36020d),_0x4162de=this['getFieldInstance'](_0x56b201);if(!_0x4162de||!_0x4162de[_0x4864d7(0xbb)]())return;return _0x4162de[_0x4864d7(0xb8)]();}[a0_0x5ba6db(0x300)](){const _0x83fd8d=a0_0x5ba6db;return this[_0x83fd8d(0x11c)]()[_0x83fd8d(0x2f1)]()[_0x83fd8d(0xc9)](_0x418386=>_0x418386[_0x83fd8d(0x12f)]);}[a0_0x5ba6db(0x2fe)](){const _0x3296a0=a0_0x5ba6db;return this[_0x3296a0(0x11c)]()['getSystem']()[_0x3296a0(0xc9)](_0x4d522c=>_0x4d522c[_0x3296a0(0x12f)]);}[a0_0x5ba6db(0x287)](){const _0x48da84=a0_0x5ba6db;return this[_0x48da84(0x11c)]()['getBusiness']()[_0x48da84(0xc9)](_0x369444=>_0x369444[_0x48da84(0x12f)]);}['getRequiredFields'](){const _0x5d8569=a0_0x5ba6db;return this['getFieldList']()[_0x5d8569(0x23d)]()[_0x5d8569(0xc9)](_0x5afffa=>_0x5afffa[_0x5d8569(0x12f)]);}[a0_0x5ba6db(0xae)](){const _0x34f710=a0_0x5ba6db,_0x369263=this[_0x34f710(0x11c)]()[_0x34f710(0xa4)](),_0x5c2196={};for(const [_0x15a5a7,_0x42c4b0]of Object[_0x34f710(0x1c9)](_0x369263)){_0x5c2196[_0x15a5a7]=_0x42c4b0[_0x34f710(0xc9)](_0x4b7244=>_0x4b7244[_0x34f710(0x12f)]);}return _0x5c2196;}[a0_0x5ba6db(0xed)](){const _0x529a65=a0_0x5ba6db;return this[_0x529a65(0x11c)]()[_0x529a65(0x17f)]()[_0x529a65(0xc9)](_0x38eb08=>_0x38eb08[_0x529a65(0x12f)]);}[a0_0x5ba6db(0x9c)](){const _0x550b0c=a0_0x5ba6db,_0x140cf0={};return this[_0x550b0c(0xed)]()[_0x550b0c(0x2a7)](_0x4a234f=>{const _0x11fe8b=_0x550b0c,_0x26544f=this[_0x11fe8b(0x2ba)](_0x4a234f);if(_0x26544f){const _0x5aa3a9=this[_0x11fe8b(0x22f)](_0x4a234f);_0x140cf0[_0x5aa3a9]=_0x26544f;}}),_0x140cf0;}[a0_0x5ba6db(0x28a)](_0x4f8325,_0x47d1b7){const _0x385342=a0_0x5ba6db,_0x1cfbf4=this[_0x385342(0x2ba)](_0x4f8325);if(!_0x1cfbf4)return!![];if(_0x1cfbf4[_0x385342(0x250)]&&!_0x1cfbf4[_0x385342(0x1d4)])return!![];const _0x49813a=this[_0x385342(0x22f)](_0x4f8325),_0xd6b59d=this['getFieldInstance'](_0x49813a),_0x55d241=_0xd6b59d?_0xd6b59d[_0x385342(0x2cc)]():![];if(_0x55d241&&Array[_0x385342(0x2f6)](_0x47d1b7))return _0x47d1b7[_0x385342(0x1c0)](_0x373a73=>_0x1cfbf4[_0x385342(0x141)][_0x385342(0x122)](_0x373a73));return _0x1cfbf4[_0x385342(0x141)][_0x385342(0x122)](_0x47d1b7);}[a0_0x5ba6db(0xdf)](){const _0x503ecf=a0_0x5ba6db;return new DatasetItem({'id':this['id'],'name':this[_0x503ecf(0x176)],'datasetCode':this[_0x503ecf(0x89)],'dbtableConfig':this[_0x503ecf(0x18f)]()});}[a0_0x5ba6db(0x146)](){const _0x1317b1=a0_0x5ba6db;return _0x1317b1(0x142)+this[_0x1317b1(0x176)]+',\x20'+this[_0x1317b1(0x89)]+',\x20'+this[_0x1317b1(0x27a)]()+_0x1317b1(0x20a)+this[_0x1317b1(0x132)]()+'\x20operations,\x20'+this[_0x1317b1(0x272)]()+')';}[a0_0x5ba6db(0x100)](){const _0x16ebbe=a0_0x5ba6db;return this[_0x16ebbe(0x2a5)](_0x16ebbe(0x7e));}[a0_0x5ba6db(0xc0)](_0x1ef452){const _0x2fb318=a0_0x5ba6db;return this[_0x2fb318(0x2e8)](_0x2fb318(0x7e),_0x1ef452);}[a0_0x5ba6db(0x2ed)](){const _0x1c3bd3=a0_0x5ba6db;return this[_0x1c3bd3(0x277)](_0x1c3bd3(0x7e));}[a0_0x5ba6db(0x2a5)](_0x9c5136){const _0x22b4bb=a0_0x5ba6db,_0x5da62a=this[_0x22b4bb(0xa1)](_0x9c5136);return _0x5da62a?_0x5da62a[_0x22b4bb(0x1ab)]():[];}[a0_0x5ba6db(0x2e8)](_0x514c3b,_0x539768){const _0x24332a=a0_0x5ba6db,_0x2dc21d=this['getOperation'](_0x514c3b);return _0x2dc21d?_0x2dc21d[_0x24332a(0x1c8)](_0x539768):[];}[a0_0x5ba6db(0x277)](_0x29b50e){const _0x25f09a=a0_0x5ba6db,_0x2a3134={};return this[_0x25f09a(0x11c)]()[_0x25f09a(0x2a7)](_0x348428=>{const _0x3c52f0=_0x25f09a,_0x2c5bf7=this[_0x3c52f0(0x2e8)](_0x29b50e,_0x348428[_0x3c52f0(0x1f0)]);_0x2c5bf7[_0x3c52f0(0x1d6)]>0x0&&(_0x2a3134[_0x348428['code']]=_0x2c5bf7);}),_0x2a3134;}[a0_0x5ba6db(0x309)](_0x2a26b6,_0x158038,_0x3b22f8){const _0x596852=a0_0x5ba6db,_0x5ad8bb=this[_0x596852(0x2e8)](_0x2a26b6,_0x158038);return _0x5ad8bb[_0x596852(0x122)](_0x3b22f8);}}class FieldBase{get['dbType'](){return;}get['dbTypeLen'](){return;}get['displayName'](){return;}get[a0_0x5ba6db(0x28b)](){return;}['isBusiness'](){const _0x95e53b=a0_0x5ba6db;return!this[_0x95e53b(0xe3)]();}[a0_0x5ba6db(0x162)](){const _0x41a874=a0_0x5ba6db;return this[_0x41a874(0xda)];}[a0_0x5ba6db(0xbb)](){const _0x5e287f=a0_0x5ba6db,_0x2b6b3a=[_0x5e287f(0x227),_0x5e287f(0x68),'CHECKBOX'];return _0x2b6b3a['includes'](this[_0x5e287f(0xe8)]);}[a0_0x5ba6db(0x2cc)](){const _0x265a31=a0_0x5ba6db;return this[_0x265a31(0xe8)]===_0x265a31(0x168);}['getEnumValues'](){const _0x32bfa7=a0_0x5ba6db,_0x74e71b=this[_0x32bfa7(0xb8)]();return _0x74e71b?.[_0x32bfa7(0x141)]||[];}[a0_0x5ba6db(0xb8)](){const _0x516c9e=a0_0x5ba6db;if(!this['isEnum']())return;const _0x53e5c2=this[_0x516c9e(0x225)](),_0x3cec95=this[_0x516c9e(0x2f3)](),_0x32d741=[],_0x35474e={},_0x1a7054=_0x554dcc=>{const _0x49cc5b=_0x516c9e;_0x554dcc[_0x49cc5b(0x2a7)](_0x5017df=>{const _0x3f9354=_0x49cc5b;_0x32d741[_0x3f9354(0x296)](_0x5017df['value']),_0x35474e[String(_0x5017df[_0x3f9354(0x14b)])]=_0x5017df[_0x3f9354(0x2c4)],_0x5017df[_0x3f9354(0x189)]&&_0x5017df[_0x3f9354(0x189)][_0x3f9354(0x1d6)]>0x0&&_0x1a7054(_0x5017df[_0x3f9354(0x189)]);});};return _0x53e5c2&&_0x53e5c2[_0x516c9e(0x1d6)]>0x0&&_0x1a7054(_0x53e5c2),{'code':this['code'],'name':this[_0x516c9e(0x176)],'type':this[_0x516c9e(0xe8)],'multiple':this[_0x516c9e(0x2cc)](),'options':_0x53e5c2,'selectItemsSource':_0x3cec95,'values':_0x32d741,'valueLabels':_0x35474e};}get['enumValues'](){const _0xfce2ab=a0_0x5ba6db;return this[_0xfce2ab(0x2c8)]();}[a0_0x5ba6db(0x146)](){const _0x32dec4=a0_0x5ba6db;return'Field('+this[_0x32dec4(0x176)]+',\x20'+this['code']+',\x20'+this[_0x32dec4(0xe8)]+',\x20'+this[_0x32dec4(0x272)]()+')';}}class FieldV1 extends FieldBase{[a0_0x5ba6db(0x244)];['_extend']=null;constructor(_0x35acfb){const _0x37e429=a0_0x5ba6db;super();if(!_0x35acfb||typeof _0x35acfb!=='object')throw new Error('[Field]\x20Invalid\x20field\x20definition');this[_0x37e429(0x244)]=_0x35acfb;}[a0_0x5ba6db(0x67)](){const _0x269d0e=a0_0x5ba6db;return this[_0x269d0e(0x244)];}[a0_0x5ba6db(0x272)](){return'v1';}get['raw'](){const _0x4cebe6=a0_0x5ba6db;return this[_0x4cebe6(0x244)];}get['name'](){const _0x105c97=a0_0x5ba6db;return this[_0x105c97(0x244)][_0x105c97(0x176)]||'';}get[a0_0x5ba6db(0x1f0)](){const _0x46a7c0=a0_0x5ba6db;return this[_0x46a7c0(0x244)]['code']||'';}get[a0_0x5ba6db(0xe8)](){const _0x53020b=a0_0x5ba6db;return this['_raw'][_0x53020b(0xe8)]||'';}get[a0_0x5ba6db(0x1ce)](){const _0x5c6343=a0_0x5ba6db;return this[_0x5c6343(0x244)]['description']||'';}get['deleted'](){const _0x37971d=a0_0x5ba6db;return Boolean(this[_0x37971d(0x244)][_0x37971d(0xda)]);}get['dbType'](){const _0x4743ac=a0_0x5ba6db;return this[_0x4743ac(0x244)]['dbType'];}get['dbTypeLen'](){const _0x5968ca=a0_0x5ba6db;return this[_0x5968ca(0x244)][_0x5968ca(0x2ae)];}get[a0_0x5ba6db(0x1be)](){const _0x28e36b=a0_0x5ba6db;return this['_raw'][_0x28e36b(0xd1)];}get['doType'](){return;}get['extend'](){const _0x5c9033=a0_0x5ba6db;if(this[_0x5c9033(0x15e)]!==null&&typeof this['_extend']==='object')return this[_0x5c9033(0x15e)];const _0x94d010=this[_0x5c9033(0x244)]['extend'];if(!_0x94d010||typeof _0x94d010!=='string')return this[_0x5c9033(0x15e)]={},this['_extend'];if(_0x94d010==='null'||_0x94d010[_0x5c9033(0x17a)]()===_0x5c9033(0x12a))return this[_0x5c9033(0x15e)]={},this[_0x5c9033(0x15e)];try{const _0x5a33f9=JSON[_0x5c9033(0x80)](_0x94d010);return this[_0x5c9033(0x15e)]=_0x5a33f9!==null&&typeof _0x5a33f9===_0x5c9033(0x181)&&!Array[_0x5c9033(0x2f6)](_0x5a33f9)?_0x5a33f9:{},this[_0x5c9033(0x15e)];}catch(_0x40544b){return!![]&&console[_0x5c9033(0x223)](_0x5c9033(0x88)+this[_0x5c9033(0x1f0)]+'\x20的\x20extend\x20配置失败:',_0x40544b),this[_0x5c9033(0x15e)]={},this[_0x5c9033(0x15e)];}}[a0_0x5ba6db(0x2bf)](){return Boolean(this['extend']['required']);}[a0_0x5ba6db(0x18a)](){const _0x384144=a0_0x5ba6db;return Boolean(this[_0x384144(0x21d)][_0x384144(0x1ad)]||this[_0x384144(0x21d)][_0x384144(0x9a)]);}['isSystem'](){const _0x3b9006=a0_0x5ba6db;return Boolean(this[_0x3b9006(0x21d)][_0x3b9006(0x8b)]);}[a0_0x5ba6db(0x2e5)](){const _0x527e2f=a0_0x5ba6db;return Boolean(this[_0x527e2f(0x21d)][_0x527e2f(0x180)]);}[a0_0x5ba6db(0x118)](){const _0x3cc627=a0_0x5ba6db;return Boolean(this[_0x3cc627(0x21d)][_0x3cc627(0x84)]);}['isUpdateTime'](){const _0x1b1285=a0_0x5ba6db;return Boolean(this[_0x1b1285(0x21d)][_0x1b1285(0x315)]);}[a0_0x5ba6db(0x2a1)](){const _0x2de2eb=a0_0x5ba6db;return this[_0x2de2eb(0x176)];}[a0_0x5ba6db(0x299)](){const _0x23858a=a0_0x5ba6db;return this[_0x23858a(0x1f0)];}[a0_0x5ba6db(0xbb)](){const _0x5c6aa7=a0_0x5ba6db,_0x3b3e66=['RADIO','SELECT',_0x5c6aa7(0x168)];if(_0x3b3e66['includes'](this[_0x5c6aa7(0xe8)]))return!![];const _0x2544cb=this[_0x5c6aa7(0x21d)];return Boolean(_0x2544cb[_0x5c6aa7(0x1d4)]&&Array[_0x5c6aa7(0x2f6)](_0x2544cb[_0x5c6aa7(0x1d4)])&&_0x2544cb[_0x5c6aa7(0x1d4)][_0x5c6aa7(0x1d6)]>0x0||_0x2544cb[_0x5c6aa7(0x250)]);}[a0_0x5ba6db(0x2cc)](){const _0x11f81d=a0_0x5ba6db;if(this[_0x11f81d(0xe8)]==='CHECKBOX')return!![];return Boolean(this[_0x11f81d(0x21d)][_0x11f81d(0x1ef)]);}['getEnumOptions'](){const _0x17009b=a0_0x5ba6db,_0x8f90f2=this[_0x17009b(0x21d)];if(_0x8f90f2[_0x17009b(0x1d4)]&&Array[_0x17009b(0x2f6)](_0x8f90f2['options']))return _0x8f90f2[_0x17009b(0x1d4)];return;}[a0_0x5ba6db(0x2f3)](){const _0x4dbe8a=a0_0x5ba6db,_0x3a97b8=this[_0x4dbe8a(0x21d)];if(_0x3a97b8[_0x4dbe8a(0x250)]&&typeof _0x3a97b8['selectItemsSource']===_0x4dbe8a(0x181))return _0x3a97b8[_0x4dbe8a(0x250)];return;}[a0_0x5ba6db(0x1da)](){const _0xecb96e=a0_0x5ba6db;return this[_0xecb96e(0xe8)][_0xecb96e(0x201)]();}[a0_0x5ba6db(0x13e)](){return this['extend']['defaultValue'];}[a0_0x5ba6db(0x1cb)](){const _0x3652fa=a0_0x5ba6db;return this[_0x3652fa(0x21d)][_0x3652fa(0x285)];}[a0_0x5ba6db(0x308)](){const _0x59b8f8=a0_0x5ba6db;return{'name':this[_0x59b8f8(0x176)],'code':this[_0x59b8f8(0x1f0)],'type':this['type'],'dbType':this[_0x59b8f8(0x2e6)],'dbTypeLen':this['dbTypeLen'],'description':this[_0x59b8f8(0x1ce)],'required':this['isRequired'](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x59b8f8(0xe3)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x59b8f8(0x118)](),'updateTime':this[_0x59b8f8(0x23f)](),'isEnum':this[_0x59b8f8(0xbb)](),'enumMeta':this[_0x59b8f8(0xbb)]()?this[_0x59b8f8(0xb8)]():undefined};}['toString'](){const _0x390550=a0_0x5ba6db;return _0x390550(0x1a8)+this[_0x390550(0x176)]+',\x20'+this[_0x390550(0x1f0)]+',\x20'+this['type']+')';}}class FieldListBase{['_fields'];constructor(_0x178896,_0x51571a){const _0x5bd910=a0_0x5ba6db;if(!Array[_0x5bd910(0x2f6)](_0x178896))throw new Error(_0x5bd910(0x153));const _0x1b2ac5=_0x51571a?.[_0x5bd910(0x2c3)]??![],_0x3378a4=_0x1b2ac5?_0x178896:_0x178896[_0x5bd910(0x7e)](_0x382b43=>{const _0xdd7f0a=_0x382b43;return!_0xdd7f0a['deleted'];});this[_0x5bd910(0x77)]=this[_0x5bd910(0x1c7)](_0x3378a4);}get[a0_0x5ba6db(0x1d6)](){const _0x143b40=a0_0x5ba6db;return this['_fields'][_0x143b40(0x1d6)];}[a0_0x5ba6db(0x15a)](){const _0x1b77a5=a0_0x5ba6db;return[...this[_0x1b77a5(0x77)]];}['at'](_0x1904eb){return this['_fields']['at'](_0x1904eb);}['find'](_0x52bffc){const _0x14df7d=a0_0x5ba6db;return this[_0x14df7d(0x77)][_0x14df7d(0xbf)](_0x1d5230=>_0x1d5230[_0x14df7d(0x1f0)]===_0x52bffc);}[a0_0x5ba6db(0x133)](_0x50fd9b){const _0x2272ad=a0_0x5ba6db;return this[_0x2272ad(0x77)][_0x2272ad(0xbf)](_0x27e8a3=>_0x27e8a3[_0x2272ad(0x176)]===_0x50fd9b);}['has'](_0x36b6c3){const _0x104e3f=a0_0x5ba6db;return this[_0x104e3f(0x77)][_0x104e3f(0x229)](_0x384c10=>_0x384c10[_0x104e3f(0x1f0)]===_0x36b6c3);}[a0_0x5ba6db(0x2a7)](_0x21b268){const _0x10e8a6=a0_0x5ba6db;this['_fields'][_0x10e8a6(0x2a7)](_0x21b268);}['map'](_0x2c8a05){const _0x2363b5=a0_0x5ba6db;return this[_0x2363b5(0x77)][_0x2363b5(0xc9)](_0x2c8a05);}[a0_0x5ba6db(0x7e)](_0x4466ff){const _0x2e3164=a0_0x5ba6db;return this[_0x2e3164(0x77)][_0x2e3164(0x7e)](_0x4466ff);}[a0_0x5ba6db(0x1c0)](_0x407cc5){const _0x159592=a0_0x5ba6db;return this[_0x159592(0x77)][_0x159592(0x1c0)](_0x407cc5);}[a0_0x5ba6db(0x229)](_0x3bf849){const _0x433d6b=a0_0x5ba6db;return this['_fields'][_0x433d6b(0x229)](_0x3bf849);}[a0_0x5ba6db(0x23d)](){const _0x5dcf35=a0_0x5ba6db;return this[_0x5dcf35(0x77)][_0x5dcf35(0x7e)](_0x156402=>_0x156402[_0x5dcf35(0x2bf)]());}[a0_0x5ba6db(0x2f1)](){const _0x4193b1=a0_0x5ba6db;return this['_fields'][_0x4193b1(0x7e)](_0xf4ac9e=>_0xf4ac9e[_0x4193b1(0x18a)]());}[a0_0x5ba6db(0x23e)](){const _0x1e896d=a0_0x5ba6db;return this[_0x1e896d(0x77)]['filter'](_0x1284eb=>_0x1284eb[_0x1e896d(0xe3)]());}[a0_0x5ba6db(0x25a)](){const _0xddfc0c=a0_0x5ba6db;return this[_0xddfc0c(0x77)][_0xddfc0c(0x7e)](_0xba1d58=>_0xba1d58['isBusiness']());}['getEnum'](){const _0x2fd9ae=a0_0x5ba6db;return this[_0x2fd9ae(0x77)][_0x2fd9ae(0x7e)](_0x390819=>_0x390819['isEnum']());}[a0_0x5ba6db(0x11d)](){const _0x76e2b2=a0_0x5ba6db;return this[_0x76e2b2(0x77)][_0x76e2b2(0x7e)](_0x5d1e27=>_0x5d1e27[_0x76e2b2(0x2e5)]());}[a0_0x5ba6db(0x1dc)](){const _0x42fcf2=a0_0x5ba6db;return this[_0x42fcf2(0x77)][_0x42fcf2(0x7e)](_0x7a34b9=>_0x7a34b9['isCreateTime']());}['getUpdateTime'](){const _0xadaadf=a0_0x5ba6db;return this[_0xadaadf(0x77)][_0xadaadf(0x7e)](_0x1f85e0=>_0x1f85e0[_0xadaadf(0x23f)]());}[a0_0x5ba6db(0xec)](){const _0x31d1d1=a0_0x5ba6db;return this[_0x31d1d1(0x77)][_0x31d1d1(0x7e)](_0x4b9cac=>_0x4b9cac[_0x31d1d1(0x162)]());}[a0_0x5ba6db(0x14e)](){const _0x142924=a0_0x5ba6db;return this['_fields'][_0x142924(0x7e)](_0x41cee7=>!_0x41cee7[_0x142924(0x162)]());}['groupByType'](){const _0x374894={};return this['_fields']['forEach'](_0x2e7ae7=>{const _0x106e6d=a0_0x5697,_0x1c0456=_0x2e7ae7['type'];!_0x374894[_0x1c0456]&&(_0x374894[_0x1c0456]=[]),_0x374894[_0x1c0456][_0x106e6d(0x296)](_0x2e7ae7);}),_0x374894;}[a0_0x5ba6db(0x1cc)](){const _0x31a167=a0_0x5ba6db,_0x4d7b73={};return this[_0x31a167(0x77)][_0x31a167(0x2a7)](_0x3c193d=>{const _0x407b69=_0x31a167;if(_0x3c193d[_0x407b69(0xbb)]()){const _0x412617=_0x3c193d[_0x407b69(0xb8)]();_0x412617&&(_0x4d7b73[_0x3c193d[_0x407b69(0x1f0)]]=_0x412617);}}),_0x4d7b73;}[a0_0x5ba6db(0x30b)](){const _0x33fe90=a0_0x5ba6db;return{'total':this['length'],'required':this['getRequired']()[_0x33fe90(0x1d6)],'primaryKey':this[_0x33fe90(0x2f1)]()[_0x33fe90(0x1d6)],'system':this[_0x33fe90(0x23e)]()[_0x33fe90(0x1d6)],'business':this[_0x33fe90(0x25a)]()[_0x33fe90(0x1d6)],'enum':this[_0x33fe90(0x17f)]()[_0x33fe90(0x1d6)],'autoIncrement':this['getAutoIncrement']()[_0x33fe90(0x1d6)]};}[a0_0x5ba6db(0x1c1)](){const _0xf7b6bc=a0_0x5ba6db;return this[_0xf7b6bc(0x77)][_0xf7b6bc(0xc9)](_0x40950f=>_0x40950f[_0xf7b6bc(0x1f0)]);}[a0_0x5ba6db(0x248)](){const _0x4647cb=a0_0x5ba6db;return this[_0x4647cb(0x77)][_0x4647cb(0xc9)](_0x12ba2c=>_0x12ba2c[_0x4647cb(0x2a1)]());}['getFieldNames'](){const _0x16d4c3=a0_0x5ba6db;return this[_0x16d4c3(0x77)]['map'](_0x29d948=>_0x29d948[_0x16d4c3(0x299)]());}[a0_0x5ba6db(0x308)](){const _0x7bbbaf=a0_0x5ba6db;return this[_0x7bbbaf(0x77)][_0x7bbbaf(0xc9)](_0x4732c7=>_0x4732c7[_0x7bbbaf(0x308)]());}['toString'](){const _0x446a39=a0_0x5ba6db;return _0x446a39(0x2c1)+this[_0x446a39(0x1d6)]+'\x20fields)';}}class FieldListV1 extends FieldListBase{constructor(_0x2e9a37,_0x32fbe4){super(_0x2e9a37,_0x32fbe4);}['createFields'](_0x2d9181){return _0x2d9181['map'](_0x58bdf3=>new FieldV1(_0x58bdf3));}[a0_0x5ba6db(0x15a)](){const _0x4232f6=a0_0x5ba6db;return[...this[_0x4232f6(0x77)]];}['at'](_0xd2be48){return this['_fields']['at'](_0xd2be48);}[a0_0x5ba6db(0xbf)](_0x4f05a){const _0x23f41c=a0_0x5ba6db;return this[_0x23f41c(0x77)]['find'](_0x2e14eb=>_0x2e14eb['code']===_0x4f05a);}[a0_0x5ba6db(0x133)](_0x16745a){const _0x573077=a0_0x5ba6db;return this[_0x573077(0x77)]['find'](_0x5531af=>_0x5531af[_0x573077(0x176)]===_0x16745a);}[a0_0x5ba6db(0x7e)](_0x47a824){const _0x1863bb=a0_0x5ba6db;return this[_0x1863bb(0x77)]['filter'](_0x47a824);}[a0_0x5ba6db(0xc9)](_0x26cfc5){return this['_fields']['map'](_0x26cfc5);}[a0_0x5ba6db(0x23d)](){const _0x47ec95=a0_0x5ba6db;return this[_0x47ec95(0x77)]['filter'](_0x1c0b1f=>_0x1c0b1f['isRequired']());}[a0_0x5ba6db(0x2f1)](){const _0x261571=a0_0x5ba6db;return this['_fields'][_0x261571(0x7e)](_0x552dcc=>_0x552dcc[_0x261571(0x18a)]());}['getSystem'](){const _0x5504e9=a0_0x5ba6db;return this['_fields']['filter'](_0x28e38e=>_0x28e38e[_0x5504e9(0xe3)]());}['getBusiness'](){const _0xb2bab2=a0_0x5ba6db;return this[_0xb2bab2(0x77)][_0xb2bab2(0x7e)](_0x16d261=>_0x16d261['isBusiness']());}['getEnum'](){const _0xb1c853=a0_0x5ba6db;return this['_fields'][_0xb1c853(0x7e)](_0x4ce7b8=>_0x4ce7b8[_0xb1c853(0xbb)]());}[a0_0x5ba6db(0xa4)](){const _0x66daa3=a0_0x5ba6db,_0x1ab7ea={};return this[_0x66daa3(0x77)]['forEach'](_0x490bd0=>{const _0x1bc551=_0x490bd0['type'];!_0x1ab7ea[_0x1bc551]&&(_0x1ab7ea[_0x1bc551]=[]),_0x1ab7ea[_0x1bc551]['push'](_0x490bd0);}),_0x1ab7ea;}[a0_0x5ba6db(0x12f)](){const _0x8cfa6f=a0_0x5ba6db;return this['_fields'][_0x8cfa6f(0xc9)](_0x209fb8=>_0x209fb8['raw']);}static[a0_0x5ba6db(0x1e3)](_0x1e1e48){const _0x2431da=a0_0x5ba6db,_0x1d19b9=_0x1e1e48[_0x2431da(0xc9)](_0x3fa161=>_0x3fa161[_0x2431da(0x12f)]);return new FieldListV1(_0x1d19b9);}static[a0_0x5ba6db(0x82)](_0x232635){const _0xd88ccb=a0_0x5ba6db,_0x5893d1={};return _0x5893d1[_0xd88ccb(0x2c3)]=!![],new FieldListV1(_0x232635,_0x5893d1);}}class FieldV2 extends FieldBase{[a0_0x5ba6db(0x244)];constructor(_0x50b8ba){const _0x237905=a0_0x5ba6db;super();if(!_0x50b8ba||typeof _0x50b8ba!==_0x237905(0x181))throw new Error(_0x237905(0x1b9));this[_0x237905(0x244)]=_0x50b8ba;}['getVersion'](){return'v2';}get['raw'](){return this['_raw'];}get[a0_0x5ba6db(0x176)](){const _0x34a726=a0_0x5ba6db;return this[_0x34a726(0x244)][_0x34a726(0x176)]||'';}get[a0_0x5ba6db(0x1f0)](){const _0x32d77a=a0_0x5ba6db;return this[_0x32d77a(0x244)][_0x32d77a(0x176)]||'';}get[a0_0x5ba6db(0x1be)](){const _0x288d1a=a0_0x5ba6db;return this['_raw'][_0x288d1a(0x1be)]||'';}get['type'](){const _0x3c4dd1=a0_0x5ba6db;return this['mapDbTypeToType'](this[_0x3c4dd1(0x244)][_0x3c4dd1(0x2e6)]);}get['description'](){const _0x51b663=a0_0x5ba6db;return this[_0x51b663(0x244)][_0x51b663(0x1ce)]||'';}get[a0_0x5ba6db(0xda)](){const _0xc35095=a0_0x5ba6db;return Boolean(this[_0xc35095(0x244)][_0xc35095(0xda)]);}[a0_0x5ba6db(0x2bf)](){const _0x25084a=a0_0x5ba6db;return Boolean(this[_0x25084a(0x244)]['required']);}[a0_0x5ba6db(0x18a)](){const _0x47aa2e=a0_0x5ba6db;return Boolean(this[_0x47aa2e(0x244)]['pkField']);}[a0_0x5ba6db(0xe3)](){const _0x2924ee=a0_0x5ba6db;return Boolean(this[_0x2924ee(0x244)][_0x2924ee(0x8b)]);}['isAutoIncrement'](){const _0x2fcfa7=a0_0x5ba6db;return Boolean(this['_raw'][_0x2fcfa7(0x180)]);}['isCreateTime'](){const _0x59c61a=a0_0x5ba6db;return this[_0x59c61a(0x244)][_0x59c61a(0x8b)]==='createTime';}[a0_0x5ba6db(0x23f)](){const _0x1ab7c5=a0_0x5ba6db;return this[_0x1ab7c5(0x244)][_0x1ab7c5(0x8b)]===_0x1ab7c5(0x315);}['getDisplayName'](){const _0x3d263d=a0_0x5ba6db;return this['_raw'][_0x3d263d(0x1be)]||'';}['getFieldName'](){const _0x35ac31=a0_0x5ba6db;return this[_0x35ac31(0x244)][_0x35ac31(0x176)]||'';}[a0_0x5ba6db(0xbb)](){const _0x5ddca6=a0_0x5ba6db;return Boolean(this[_0x5ddca6(0x244)][_0x5ddca6(0x1d4)]&&Array[_0x5ddca6(0x2f6)](this[_0x5ddca6(0x244)]['options'])&&this[_0x5ddca6(0x244)]['options'][_0x5ddca6(0x1d6)]>0x0);}[a0_0x5ba6db(0x2cc)](){const _0x491d27=a0_0x5ba6db,_0x573969=this[_0x491d27(0x244)][_0x491d27(0x21d)];if(!_0x573969)return![];try{const _0x474801=JSON[_0x491d27(0x80)](_0x573969);if(_0x474801&&typeof _0x474801===_0x491d27(0x181)&&'multiple'in _0x474801)return Boolean(_0x474801[_0x491d27(0x1ef)]);}catch{}return![];}[a0_0x5ba6db(0x225)](){const _0x3f4734=a0_0x5ba6db;if(this[_0x3f4734(0x244)][_0x3f4734(0x1d4)]&&Array[_0x3f4734(0x2f6)](this[_0x3f4734(0x244)][_0x3f4734(0x1d4)]))return this[_0x3f4734(0x244)]['options'];return;}[a0_0x5ba6db(0x2f3)](){const _0x256e0a=a0_0x5ba6db,_0x16b2b1=this[_0x256e0a(0x244)][_0x256e0a(0x21d)];if(!_0x16b2b1)return;try{const _0x1e190b=JSON[_0x256e0a(0x80)](_0x16b2b1);if(_0x1e190b&&typeof _0x1e190b===_0x256e0a(0x181)&&_0x256e0a(0x250)in _0x1e190b)return _0x1e190b[_0x256e0a(0x250)];}catch{}return;}['getDbTypeForOperation'](){const _0x2e8a98=a0_0x5ba6db;return this[_0x2e8a98(0x244)][_0x2e8a98(0x2e6)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x2e8a98(0x17a)]()['toUpperCase']();}['getDefaultValue'](){return;}[a0_0x5ba6db(0x1cb)](){return;}get['dbType'](){const _0x2b14f0=a0_0x5ba6db;return this[_0x2b14f0(0x244)][_0x2b14f0(0x2e6)];}get[a0_0x5ba6db(0x2ae)](){const _0x43af7d=a0_0x5ba6db;return this[_0x43af7d(0x244)][_0x43af7d(0x2ae)];}[a0_0x5ba6db(0x30f)](){const _0x1509c3=a0_0x5ba6db;return this[_0x1509c3(0x244)]['doType']??null;}get['doType'](){const _0x17b624=a0_0x5ba6db;return this['_raw'][_0x17b624(0x28b)]??null;}[a0_0x5ba6db(0x308)](){const _0x5153a5=a0_0x5ba6db;return{'name':this[_0x5153a5(0x176)],'code':this[_0x5153a5(0x1f0)],'type':this[_0x5153a5(0xe8)],'dbType':this[_0x5153a5(0x2e6)],'dbTypeLen':this['dbTypeLen'],'doType':this[_0x5153a5(0x30f)](),'displayName':this[_0x5153a5(0x1be)],'description':this['description'],'required':this[_0x5153a5(0x2bf)](),'primaryKey':this[_0x5153a5(0x18a)](),'system':this[_0x5153a5(0xe3)](),'autoIncrement':this[_0x5153a5(0x2e5)](),'createTime':this[_0x5153a5(0x118)](),'updateTime':this[_0x5153a5(0x23f)](),'isEnum':this[_0x5153a5(0xbb)](),'enumMeta':this[_0x5153a5(0xbb)]()?this[_0x5153a5(0xb8)]():undefined};}[a0_0x5ba6db(0x146)](){const _0x49d975=a0_0x5ba6db;return _0x49d975(0x106)+this[_0x49d975(0x176)]+',\x20'+this[_0x49d975(0x1f0)]+',\x20'+this[_0x49d975(0x2e6)]+_0x49d975(0x2ca)+this[_0x49d975(0x30f)]()+')';}[a0_0x5ba6db(0x301)](_0x49a518){const _0x19f927=a0_0x5ba6db,_0x425bfa={};_0x425bfa[_0x19f927(0x2cb)]=_0x19f927(0x1ac),_0x425bfa[_0x19f927(0x6b)]=_0x19f927(0x1ac),_0x425bfa[_0x19f927(0x1ac)]=_0x19f927(0x1db),_0x425bfa[_0x19f927(0x9e)]=_0x19f927(0x1db),_0x425bfa[_0x19f927(0x1a7)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x1cd)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x279)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x2c7)]=_0x19f927(0x135),_0x425bfa['DECIMAL']=_0x19f927(0x135),_0x425bfa[_0x19f927(0x1b7)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x14d)]=_0x19f927(0x135),_0x425bfa[_0x19f927(0x26f)]=_0x19f927(0x108),_0x425bfa[_0x19f927(0x202)]=_0x19f927(0x108),_0x425bfa[_0x19f927(0x108)]=_0x19f927(0x108),_0x425bfa[_0x19f927(0x276)]=_0x19f927(0x276),_0x425bfa[_0x19f927(0x28e)]='SWITCH',_0x425bfa[_0x19f927(0x15c)]=_0x19f927(0x2ea),_0x425bfa[_0x19f927(0xd7)]=_0x19f927(0x2df),_0x425bfa[_0x19f927(0x8a)]=_0x19f927(0x2df);const _0x452724=_0x425bfa,_0xcd656f=_0x49a518[_0x19f927(0x201)]();return _0x452724[_0xcd656f]||_0x19f927(0x1ac);}}class FieldListV2 extends FieldListBase{constructor(_0x2439bd,_0x552a1b){super(_0x2439bd,_0x552a1b);}[a0_0x5ba6db(0x1c7)](_0x3a395){const _0xee9501=a0_0x5ba6db;return _0x3a395[_0xee9501(0xc9)](_0x5bf1e4=>new FieldV2(_0x5bf1e4));}['all'](){const _0x213251=a0_0x5ba6db;return[...this[_0x213251(0x77)]];}['at'](_0x5c175d){return this['_fields']['at'](_0x5c175d);}[a0_0x5ba6db(0xbf)](_0x5e52bf){const _0x4f167e=a0_0x5ba6db;return this[_0x4f167e(0x77)][_0x4f167e(0xbf)](_0x52fb79=>_0x52fb79[_0x4f167e(0x1f0)]===_0x5e52bf);}[a0_0x5ba6db(0x133)](_0x1fa8a2){const _0x5df971=a0_0x5ba6db;return this[_0x5df971(0x77)][_0x5df971(0xbf)](_0x3c6761=>_0x3c6761[_0x5df971(0x2a1)]()===_0x1fa8a2);}[a0_0x5ba6db(0x7e)](_0x29c08e){return this['_fields']['filter'](_0x29c08e);}['map'](_0x5808f7){const _0x3e1e0d=a0_0x5ba6db;return this[_0x3e1e0d(0x77)]['map'](_0x5808f7);}[a0_0x5ba6db(0x23d)](){const _0x27a82c=a0_0x5ba6db;return this[_0x27a82c(0x77)][_0x27a82c(0x7e)](_0x4af403=>_0x4af403[_0x27a82c(0x2bf)]());}['getPrimaryKeys'](){const _0x3c329c=a0_0x5ba6db;return this[_0x3c329c(0x77)][_0x3c329c(0x7e)](_0x160d9e=>_0x160d9e['isPrimaryKey']());}[a0_0x5ba6db(0x23e)](){const _0x17151c=a0_0x5ba6db;return this[_0x17151c(0x77)][_0x17151c(0x7e)](_0x17be07=>_0x17be07[_0x17151c(0xe3)]());}[a0_0x5ba6db(0x25a)](){return this['_fields']['filter'](_0x17138b=>_0x17138b['isBusiness']());}[a0_0x5ba6db(0x17f)](){const _0x3762ae=a0_0x5ba6db;return this[_0x3762ae(0x77)]['filter'](_0x3d6daf=>_0x3d6daf['isEnum']());}[a0_0x5ba6db(0xa4)](){const _0x38f206=a0_0x5ba6db,_0x2ab91={};return this[_0x38f206(0x77)]['forEach'](_0x59d9d9=>{const _0x1a27ad=_0x38f206,_0x1eeda1=_0x59d9d9[_0x1a27ad(0xe8)];!_0x2ab91[_0x1eeda1]&&(_0x2ab91[_0x1eeda1]=[]),_0x2ab91[_0x1eeda1]['push'](_0x59d9d9);}),_0x2ab91;}[a0_0x5ba6db(0x12f)](){const _0x25ade4=a0_0x5ba6db;return this[_0x25ade4(0x77)][_0x25ade4(0xc9)](_0xb23f8=>_0xb23f8[_0x25ade4(0x12f)]);}static[a0_0x5ba6db(0x1e3)](_0x4deec6){const _0x2e681c=a0_0x5ba6db,_0x55833a=_0x4deec6[_0x2e681c(0xc9)](_0x12a098=>_0x12a098[_0x2e681c(0x12f)]);return new FieldListV2(_0x55833a);}static[a0_0x5ba6db(0x82)](_0x3dea35){const _0x5b0139=a0_0x5ba6db,_0x465c91={};return _0x465c91[_0x5b0139(0x2c3)]=!![],new FieldListV2(_0x3dea35,_0x465c91);}[a0_0x5ba6db(0x146)](){const _0x14084c=a0_0x5ba6db;return'FieldListV2('+this[_0x14084c(0x1d6)]+_0x14084c(0x2ad);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{['_fieldListV1'];[a0_0x5ba6db(0x318)];constructor(_0x131edd){super(_0x131edd);}[a0_0x5ba6db(0x11c)](){const _0x2038cd=a0_0x5ba6db;if(!this[_0x2038cd(0xdd)]){const _0x35e0cb={};_0x35e0cb['includeDeleted']=![],this[_0x2038cd(0xdd)]=new FieldListV1(this[_0x2038cd(0x244)][_0x2038cd(0x1f5)]||[],_0x35e0cb);}return this['_fieldListV1'];}[a0_0x5ba6db(0x95)](){const _0x326b88=a0_0x5ba6db;if(!this['_fieldListV1WithDeleted']){const _0x28df26={};_0x28df26[_0x326b88(0x2c3)]=!![],this[_0x326b88(0x318)]=new FieldListV1(this[_0x326b88(0x244)][_0x326b88(0x1f5)]||[],_0x28df26);}return this[_0x326b88(0x318)];}[a0_0x5ba6db(0x26d)](){const _0x5a68a3=a0_0x5ba6db;return(this[_0x5a68a3(0x244)][_0x5a68a3(0x1f5)]||[])[_0x5a68a3(0x7e)](_0x43b3d7=>!_0x43b3d7[_0x5a68a3(0xda)]);}[a0_0x5ba6db(0x27a)](){const _0x3a48e2=a0_0x5ba6db;return this['getFieldList']()[_0x3a48e2(0x1d6)];}['getFieldRaw'](_0x156791){const _0x10c39b=a0_0x5ba6db;return this[_0x10c39b(0x244)][_0x10c39b(0x1f5)]?.[_0x10c39b(0xbf)](_0x3cf0a1=>_0x3cf0a1[_0x10c39b(0x1f0)]===_0x156791);}[a0_0x5ba6db(0x272)](){return'v1';}[a0_0x5ba6db(0x83)](){const _0x16a643=a0_0x5ba6db,_0x5a4760={};return _0x5a4760[_0x16a643(0x145)]=this[_0x16a643(0x244)][_0x16a643(0x1f5)]||[],_0x5a4760[_0x16a643(0x2c3)]=![],_0x5a4760;}[a0_0x5ba6db(0x306)](){const _0x58d78f=a0_0x5ba6db;return this['_raw'][_0x58d78f(0x2ef)];}[a0_0x5ba6db(0x2b8)](){const _0x31b9dd=a0_0x5ba6db;return this[_0x31b9dd(0x244)][_0x31b9dd(0x1dd)];}[a0_0x5ba6db(0xab)](){const _0x44b88d=a0_0x5ba6db,_0xbaea8a=this[_0x44b88d(0x18f)](),_0x26ef82=_0xbaea8a?.[_0x44b88d(0x2be)],_0x27b7f2={};return _0x27b7f2[_0x44b88d(0xb6)]=_0xbaea8a?.[_0x44b88d(0xb6)],_0x27b7f2[_0x44b88d(0x2f8)]=_0xbaea8a?.[_0x44b88d(0x2f8)]??_0x26ef82?.[_0x44b88d(0x2f8)],_0x27b7f2['dbType']=_0x26ef82?.[_0x44b88d(0x2e6)],_0x27b7f2[_0x44b88d(0x292)]=_0x26ef82?.[_0x44b88d(0x292)],_0x27b7f2['tableName']=_0xbaea8a?.[_0x44b88d(0x21f)],_0x27b7f2[_0x44b88d(0x29f)]=_0xbaea8a?.[_0x44b88d(0x29f)],_0x27b7f2[_0x44b88d(0x9a)]=_0xbaea8a?.[_0x44b88d(0x9a)],_0x27b7f2[_0x44b88d(0xc2)]=_0x26ef82?.[_0x44b88d(0xc2)],_0x27b7f2[_0x44b88d(0x13f)]=_0x26ef82?.[_0x44b88d(0x13f)],new DBConfig(_0x27b7f2,_0xbaea8a);}get[a0_0x5ba6db(0x1f2)](){const _0x3a7458=a0_0x5ba6db;return this[_0x3a7458(0x244)][_0x3a7458(0x1f2)];}[a0_0x5ba6db(0x18c)](_0x3f44ee){const _0x16c268=a0_0x5ba6db;if(typeof _0x3f44ee!==_0x16c268(0x27c)){!![]&&console[_0x16c268(0x223)](_0x16c268(0x140),_0x3f44ee);return;}return this[_0x16c268(0x11c)]()[_0x16c268(0xbf)](_0x3f44ee);}['isMultipleSelectField'](_0x579c82){const _0xd8f45b=a0_0x5ba6db;if(!_0x579c82||typeof _0x579c82!==_0xd8f45b(0x181))return![];const _0x24d1c1=this['getFieldInstance'](_0x579c82[_0xd8f45b(0x1f0)]);return _0x24d1c1?_0x24d1c1[_0xd8f45b(0x2cc)]():![];}[a0_0x5ba6db(0x107)](){const _0xb3b97c=a0_0x5ba6db,_0x1a5305=this['getOperation'](_0xb3b97c(0x7e));return _0x1a5305;}[a0_0x5ba6db(0x116)](){const _0x1c5c5b=a0_0x5ba6db;return this['hasOperation'](_0x1c5c5b(0x7e));}['toListItem'](){const _0x669302=a0_0x5ba6db;return new DatasetItem({'id':this['id'],'name':this[_0x669302(0x176)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x669302(0x18f)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x5ba6db(0xb5)];[a0_0x5ba6db(0x303)];[a0_0x5ba6db(0x72)];constructor(_0x3bcd25){const _0x4b3a3b=a0_0x5ba6db;super(_0x3bcd25),this['_datasetMeta']=_0x3bcd25['dataset'],this[_0x4b3a3b(0x72)]=_0x3bcd25[_0x4b3a3b(0x2ec)]||[];}[a0_0x5ba6db(0x272)](){return'v2';}[a0_0x5ba6db(0x83)](){const _0x1f9087=a0_0x5ba6db,_0x5b59e9={};return _0x5b59e9['fields']=this['_raw'][_0x1f9087(0x145)],_0x5b59e9[_0x1f9087(0x2c3)]=![],_0x5b59e9;}[a0_0x5ba6db(0x306)](){const _0x55e710=a0_0x5ba6db;return this[_0x55e710(0x244)][_0x55e710(0x2ef)];}[a0_0x5ba6db(0x2b8)](){const _0x319cc8=a0_0x5ba6db;return this[_0x319cc8(0x244)]['source'];}[a0_0x5ba6db(0xab)](){const _0x422373=a0_0x5ba6db,_0x303860=this['_raw'][_0x422373(0x126)],_0x4d7809=_0x303860?.[_0x422373(0x2be)],_0x4d3ca9={};return _0x4d3ca9['dbId']=_0x303860?.[_0x422373(0xb6)],_0x4d3ca9[_0x422373(0x2f8)]=_0x303860?.[_0x422373(0x2f8)]??_0x4d7809?.[_0x422373(0x2f8)],_0x4d3ca9[_0x422373(0x2e6)]=_0x4d7809?.[_0x422373(0x2e6)],_0x4d3ca9['dbVersion']=_0x4d7809?.['dbVersion'],_0x4d3ca9[_0x422373(0x21f)]=_0x303860?.['tableName'],_0x4d3ca9['datasetKey']=_0x303860?.['datasetKey'],_0x4d3ca9[_0x422373(0x9a)]=_0x303860?.['pkField'],_0x4d3ca9[_0x422373(0xc2)]=_0x303860?.[_0x422373(0xc2)]??_0x4d7809?.[_0x422373(0xc2)],_0x4d3ca9[_0x422373(0x13f)]=_0x303860?.['appCode']??_0x4d7809?.[_0x422373(0x13f)],new DBConfig(_0x4d3ca9,_0x303860);}[a0_0x5ba6db(0x11c)](){const _0x18a334=a0_0x5ba6db;return this[_0x18a334(0x2f2)]();}[a0_0x5ba6db(0x26d)](){const _0x22dac7=a0_0x5ba6db;return this[_0x22dac7(0x244)]['fields'];}[a0_0x5ba6db(0x27a)](){const _0x331f53=a0_0x5ba6db;return this[_0x331f53(0x244)][_0x331f53(0x145)][_0x331f53(0x1d6)];}['getFieldRaw'](_0x2d9047){const _0x71da94=a0_0x5ba6db;return this[_0x71da94(0x244)][_0x71da94(0x145)][_0x71da94(0xbf)](_0x257f82=>_0x257f82[_0x71da94(0x176)]===_0x2d9047);}[a0_0x5ba6db(0x12c)](){const _0x1c6127=a0_0x5ba6db;return this[_0x1c6127(0x303)];}[a0_0x5ba6db(0x120)](){const _0x21d076=a0_0x5ba6db;return this[_0x21d076(0x72)];}['getIndexes'](){const _0x58c1d0=a0_0x5ba6db;return this[_0x58c1d0(0x303)][_0x58c1d0(0x10d)]||[];}[a0_0x5ba6db(0x1e4)](_0x91a35){const _0x25e152=a0_0x5ba6db;return this[_0x25e152(0x72)][_0x25e152(0x7e)](_0x2f051c=>_0x2f051c[_0x25e152(0x217)]===_0x91a35);}['hasRelation'](_0x9f3859){const _0xd59dc7=a0_0x5ba6db;return this[_0xd59dc7(0x72)][_0xd59dc7(0x229)](_0x35c7d6=>_0x35c7d6[_0xd59dc7(0x217)]===_0x9f3859);}['getRelatedDataset'](_0x5a5498){const _0x1b0681=a0_0x5ba6db,_0x232081=this[_0x1b0681(0x72)][_0x1b0681(0xbf)](_0x95fad8=>_0x95fad8['fromField']===_0x5a5498);if(!_0x232081)return;const _0x3a4de4={};return _0x3a4de4[_0x1b0681(0x158)]=_0x232081['toDatasetId'],_0x3a4de4[_0x1b0681(0x89)]=_0x232081[_0x1b0681(0x6d)],_0x3a4de4[_0x1b0681(0xeb)]=_0x232081[_0x1b0681(0x6f)],_0x3a4de4['tableName']=_0x232081[_0x1b0681(0x102)],_0x3a4de4[_0x1b0681(0x1bf)]=_0x232081[_0x1b0681(0x1bf)],_0x3a4de4;}[a0_0x5ba6db(0x1ed)](){const _0x535cd7=a0_0x5ba6db;return this[_0x535cd7(0x72)][_0x535cd7(0xc9)](_0x28972f=>_0x28972f[_0x535cd7(0x217)]);}[a0_0x5ba6db(0x2f2)](){const _0xabdf59=a0_0x5ba6db;if(!this['_fieldListV2']){const _0x48d4a0=this[_0xabdf59(0x244)][_0xabdf59(0x145)]||[];this[_0xabdf59(0xb5)]=new FieldListV2(_0x48d4a0);}return this['_fieldListV2'];}['getFieldInstance'](_0x3e1264){const _0x45b3ca=a0_0x5ba6db;if(typeof _0x3e1264!==_0x45b3ca(0x27c)){!![]&&console['warn'](_0x45b3ca(0x266),_0x3e1264);return;}return this[_0x45b3ca(0x2f2)]()[_0x45b3ca(0xbf)](_0x3e1264);}[a0_0x5ba6db(0x209)](_0x27fed7){const _0x2c3b64=a0_0x5ba6db;if(!_0x27fed7||typeof _0x27fed7!==_0x2c3b64(0x181))return![];const _0x41bf89=_0x27fed7[_0x2c3b64(0x176)]||_0x27fed7['code'],_0x242cce=this[_0x2c3b64(0x18c)](_0x41bf89);return _0x242cce?_0x242cce[_0x2c3b64(0x2cc)]():![];}['getOperationList'](){const _0x30ce01=a0_0x5ba6db;if(!this['_operationList']){const _0x82db5=this[_0x30ce01(0xf6)](this[_0x30ce01(0x306)]()||{});this['_operationList']=new OperationList(_0x82db5,{'fields':this['getFieldListV2']()['all'](),'pkField':this[_0x30ce01(0x244)][_0x30ce01(0x126)]?.[_0x30ce01(0x9a)],'dbtableConfig':this[_0x30ce01(0x244)][_0x30ce01(0x126)]||null});}return this[_0x30ce01(0x30c)];}['getFilterOperation'](){const _0x38d678=a0_0x5ba6db,_0x3bef7c=this[_0x38d678(0xa1)](_0x38d678(0x7e));return _0x3bef7c;}['hasFilterOperation'](){const _0x541087=a0_0x5ba6db;return this['hasOperation'](_0x541087(0x7e));}[a0_0x5ba6db(0xdf)](){const _0x2132d9=a0_0x5ba6db;return new DatasetItem({'id':this['id'],'name':this[_0x2132d9(0x176)],'datasetCode':this[_0x2132d9(0x89)],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x5ba6db(0x146)](){const _0x128c14=a0_0x5ba6db,_0xbb821e=this['_relations'][_0x128c14(0x1d6)],_0x2741fb=this[_0x128c14(0x19b)]()[_0x128c14(0x1d6)];return _0x128c14(0xa9)+this[_0x128c14(0x176)]+',\x20'+this['datasetCode']+',\x20'+this[_0x128c14(0x27a)]()+_0x128c14(0x20a)+this[_0x128c14(0x132)]()+'\x20operations,\x20'+_0xbb821e+_0x128c14(0xd2)+_0x2741fb+_0x128c14(0xf7);}[a0_0x5ba6db(0x29b)](){const _0x269338=a0_0x5ba6db;return this[_0x269338(0x244)][_0x269338(0x145)];}[a0_0x5ba6db(0x2f5)](_0x13def4){const _0x5e04d5=a0_0x5ba6db;return this[_0x5e04d5(0x244)]['fields'][_0x5e04d5(0xbf)](_0x1c5fb5=>_0x1c5fb5[_0x5e04d5(0x176)]===_0x13def4);}}function detectDatasetVersion(_0x259d58){const _0x1ce973=a0_0x5ba6db;if(_0x259d58[_0x1ce973(0x283)]==='v2'&&_0x1ce973(0x145)in _0x259d58&&Array[_0x1ce973(0x2f6)](_0x259d58[_0x1ce973(0x145)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x5ba6db(0x1d3)];constructor(_0x2e2415){const _0x50e83e=a0_0x5ba6db;super(_0x2e2415);const _0x3922a3=detectDatasetVersion(_0x2e2415);this[_0x50e83e(0x1d3)]=_0x3922a3==='v2'?new DrivenDataDetailV2(_0x2e2415):new DrivenDataDetailV1(_0x2e2415);}get['id'](){const _0x1826e1=a0_0x5ba6db;return this[_0x1826e1(0x1d3)]['id'];}get[a0_0x5ba6db(0x176)](){const _0x212975=a0_0x5ba6db;return this[_0x212975(0x1d3)][_0x212975(0x176)];}get[a0_0x5ba6db(0x89)](){const _0x5304ce=a0_0x5ba6db;return this[_0x5304ce(0x1d3)][_0x5304ce(0x89)];}get['version'](){const _0x527c8b=a0_0x5ba6db;return this['_instance'][_0x527c8b(0x272)]()==='v2'?_0x527c8b(0xd8):_0x527c8b(0x2fa);}[a0_0x5ba6db(0x272)](){const _0x2f7a6c=a0_0x5ba6db;return this['_instance'][_0x2f7a6c(0x272)]();}[a0_0x5ba6db(0x214)](){const _0x53732e=a0_0x5ba6db;return this[_0x53732e(0x1d3)]['id'];}[a0_0x5ba6db(0x284)](){const _0x547809=a0_0x5ba6db;return this['_instance'][_0x547809(0x89)];}[a0_0x5ba6db(0x1e7)](){const _0x268341=a0_0x5ba6db;return this[_0x268341(0x1d3)][_0x268341(0x176)];}[a0_0x5ba6db(0x83)](){const _0x24f716=a0_0x5ba6db;return this[_0x24f716(0x1d3)][_0x24f716(0x83)]();}[a0_0x5ba6db(0x306)](){const _0x23269f=a0_0x5ba6db;return this[_0x23269f(0x1d3)][_0x23269f(0x306)]();}[a0_0x5ba6db(0x2b8)](){const _0x2e97a1=a0_0x5ba6db;return this[_0x2e97a1(0x1d3)]['getSource']();}[a0_0x5ba6db(0x95)](){const _0x4b00bf=a0_0x5ba6db;return this[_0x4b00bf(0x1d3)][_0x4b00bf(0x95)]();}[a0_0x5ba6db(0x11c)](){const _0x1cd8e1=a0_0x5ba6db;return this[_0x1cd8e1(0x1d3)][_0x1cd8e1(0x11c)]();}[a0_0x5ba6db(0x238)](){const _0x1518a3=a0_0x5ba6db;return this[_0x1518a3(0x1d3)][_0x1518a3(0x238)]();}[a0_0x5ba6db(0x26d)](){const _0x1f6b07=a0_0x5ba6db;return this[_0x1f6b07(0x1d3)][_0x1f6b07(0x26d)]();}['getFieldCount'](){return this['_instance']['getFieldCount']();}['getPkField'](){const _0x50010a=a0_0x5ba6db,_0x37ab3b=this[_0x50010a(0x1d3)][_0x50010a(0x18f)]();return _0x37ab3b?.[_0x50010a(0x9a)];}[a0_0x5ba6db(0xab)](){const _0x1f30d7=a0_0x5ba6db;return this[_0x1f30d7(0x1d3)][_0x1f30d7(0xab)]();}['getFieldInstance'](_0x111c95){const _0x5ddc5a=a0_0x5ba6db;return this['_instance'][_0x5ddc5a(0x18c)](_0x111c95);}[a0_0x5ba6db(0x300)](){const _0x527249=a0_0x5ba6db;return this['_instance'][_0x527249(0x300)]();}[a0_0x5ba6db(0x2fe)](){const _0x398db1=a0_0x5ba6db;return this[_0x398db1(0x1d3)][_0x398db1(0x2fe)]();}[a0_0x5ba6db(0x287)](){const _0x125d1d=a0_0x5ba6db;return this[_0x125d1d(0x1d3)][_0x125d1d(0x287)]();}[a0_0x5ba6db(0x173)](){const _0x423ab3=a0_0x5ba6db;return this[_0x423ab3(0x1d3)][_0x423ab3(0x173)]();}[a0_0x5ba6db(0xae)](){const _0x524a2=a0_0x5ba6db;return this[_0x524a2(0x1d3)]['getFieldsByType']();}[a0_0x5ba6db(0xed)](){const _0x45b31=a0_0x5ba6db;return this[_0x45b31(0x1d3)]['getEnumFields']();}[a0_0x5ba6db(0x9c)](){const _0x37aeb9=a0_0x5ba6db;return this[_0x37aeb9(0x1d3)][_0x37aeb9(0x9c)]();}['getOperations'](){const _0xcae6e4=a0_0x5ba6db;return this[_0xcae6e4(0x1d3)][_0xcae6e4(0x29c)]();}[a0_0x5ba6db(0x132)](){const _0x12fc08=a0_0x5ba6db;return this[_0x12fc08(0x1d3)][_0x12fc08(0x132)]();}['getEnabledOperations'](){const _0x4e5042=a0_0x5ba6db;return this[_0x4e5042(0x1d3)]['getEnabledOperations']();}[a0_0x5ba6db(0x1de)](){const _0x3797df=a0_0x5ba6db;return this['_instance'][_0x3797df(0x1de)]();}[a0_0x5ba6db(0x286)](){const _0x5f67a4=a0_0x5ba6db;return this[_0x5f67a4(0x1d3)][_0x5f67a4(0x286)]();}[a0_0x5ba6db(0x191)](){const _0x3cf96a=a0_0x5ba6db;return this[_0x3cf96a(0x1d3)][_0x3cf96a(0x191)]();}[a0_0x5ba6db(0x30b)](){const _0x32c7d2=a0_0x5ba6db;return this[_0x32c7d2(0x1d3)]['getStats']();}[a0_0x5ba6db(0x12c)](){return this['_instance']['getDatasetMeta']();}[a0_0x5ba6db(0x120)](){const _0x14a3fa=a0_0x5ba6db;return this[_0x14a3fa(0x1d3)][_0x14a3fa(0x120)]();}[a0_0x5ba6db(0x19b)](){const _0x180c64=a0_0x5ba6db;return this['_instance'][_0x180c64(0x19b)]();}[a0_0x5ba6db(0x100)](){const _0x30da97=a0_0x5ba6db;return this[_0x30da97(0x1d3)]['getFilterOperators']();}[a0_0x5ba6db(0x2ed)](){const _0x133233=a0_0x5ba6db;return this['_instance'][_0x133233(0x2ed)]();}['toJSON'](){const _0x1a9bd7=a0_0x5ba6db;return this[_0x1a9bd7(0x1d3)][_0x1a9bd7(0x308)]();}[a0_0x5ba6db(0x107)](){const _0x27ce7b=a0_0x5ba6db;return this[_0x27ce7b(0x1d3)]['getFilterOperation']();}[a0_0x5ba6db(0x116)](){const _0x24cb25=a0_0x5ba6db;return this[_0x24cb25(0x1d3)][_0x24cb25(0x116)]();}[a0_0x5ba6db(0xdf)](){const _0x11e838=a0_0x5ba6db;return this[_0x11e838(0x1d3)][_0x11e838(0xdf)]();}['toString'](){const _0x2f4ebb=a0_0x5ba6db;return this['_instance'][_0x2f4ebb(0x146)]();}[a0_0x5ba6db(0x29a)](){const _0x1e45ad=a0_0x5ba6db;return this[_0x1e45ad(0x1d3)];}}function a0_0x5697(_0x357d0f,_0x457048){_0x357d0f=_0x357d0f-0x65;const _0x106525=a0_0x1065();let _0x5697be=_0x106525[_0x357d0f];return _0x5697be;}function detectDatasetVersion2(_0x38b41a){const _0x505b8f=a0_0x5ba6db;if(_0x38b41a['doVersion']==='v2'&&'fields'in _0x38b41a&&Array[_0x505b8f(0x2f6)](_0x38b41a[_0x505b8f(0x145)]))return'v2';return'v1';}function createDrivenDataDetail(_0x5e4415,_0x561661={}){const {forceVersion:_0xa0b823}=_0x561661;if(_0xa0b823==='v2')return new DrivenDataDetailV2(_0x5e4415);if(_0xa0b823==='v1')return new DrivenDataDetailV1(_0x5e4415);const _0xc2042d=detectDatasetVersion2(_0x5e4415);if(_0xc2042d==='v2')return new DrivenDataDetailV2(_0x5e4415);return new DrivenDataDetailV1(_0x5e4415);}function isV2Data(_0x2b6827){return detectDatasetVersion2(_0x2b6827)==='v2';}function isV1Data(_0x14757a){return detectDatasetVersion2(_0x14757a)==='v1';}function isV2Instance(_0x268e88){const _0x134170=a0_0x5ba6db;return _0x268e88[_0x134170(0x272)]()==='v2';}function isV1Instance(_0x47db3b){return _0x47db3b['getVersion']()==='v1';}class DatasetGroup{[a0_0x5ba6db(0x182)];constructor(_0x57bada){const _0xad8d3a=a0_0x5ba6db;this[_0xad8d3a(0x182)]=Array[_0xad8d3a(0x2f6)](_0x57bada)?[..._0x57bada]:[_0x57bada],this[_0xad8d3a(0x182)][_0xad8d3a(0x297)]((_0x257764,_0x5c0158)=>{const _0x42e7b4=Number(_0x257764['id'])||0x0,_0x526d2d=Number(_0x5c0158['id'])||0x0;return _0x526d2d-_0x42e7b4;});}[a0_0x5ba6db(0x2d9)](){const _0x25983e=a0_0x5ba6db;return this[_0x25983e(0x182)]['length']>0x1;}[a0_0x5ba6db(0x18e)](){const _0x527ed3=a0_0x5ba6db;return this[_0x527ed3(0x182)][0x0];}['getOldest'](){const _0x458894=a0_0x5ba6db;return this[_0x458894(0x182)][this[_0x458894(0x182)]['length']-0x1];}['getAll'](){const _0x5de13a=a0_0x5ba6db;return[...this[_0x5de13a(0x182)]];}[a0_0x5ba6db(0x218)](){const _0x5cca63=a0_0x5ba6db;return this[_0x5cca63(0x182)]['length'];}['getAt'](_0x2bb8cc){const _0x2f3ee9=a0_0x5ba6db;return this[_0x2f3ee9(0x182)][_0x2bb8cc];}[a0_0x5ba6db(0x7b)](_0x417bfd){const _0x49a6a9=a0_0x5ba6db;return this[_0x49a6a9(0x182)][_0x49a6a9(0xbf)](_0x9484c5=>_0x9484c5['id']===_0x417bfd);}[a0_0x5ba6db(0x2bb)](_0x4fd75b){const _0x5637d7=a0_0x5ba6db;return this[_0x5637d7(0x182)][_0x5637d7(0xbf)](_0x423d66=>_0x423d66[_0x5637d7(0x89)]===_0x4fd75b);}['getIds'](){const _0x4cd117=a0_0x5ba6db;return this[_0x4cd117(0x182)][_0x4cd117(0xc9)](_0x5e82e3=>_0x5e82e3['id'])['filter'](_0x3d0073=>_0x3d0073!==undefined);}[a0_0x5ba6db(0x1c1)](){const _0x57195b=a0_0x5ba6db;return this['items'][_0x57195b(0xc9)](_0x47f4db=>_0x47f4db[_0x57195b(0x89)]);}[a0_0x5ba6db(0x146)](){const _0x3fd845=a0_0x5ba6db;if(this[_0x3fd845(0x2d9)]())return _0x3fd845(0x2d8)+this[_0x3fd845(0x182)][_0x3fd845(0x1d6)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x3fd845(0x18e)]()[_0x3fd845(0x176)]+')';return _0x3fd845(0x2d8)+this[_0x3fd845(0x182)][0x0][_0x3fd845(0x176)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x374ab7){const _0x3f5f6e=a0_0x5ba6db;this[_0x3f5f6e(0xd0)]=new Map();for(const _0x35d4ba of _0x374ab7){const _0x3296a2=getTableKey(_0x35d4ba);if(!this[_0x3f5f6e(0xd0)][_0x3f5f6e(0x2c0)](_0x3296a2))this['groups']['set'](_0x3296a2,new DatasetGroup(_0x35d4ba));else{const _0x14c76f=this[_0x3f5f6e(0xd0)][_0x3f5f6e(0x2e1)](_0x3296a2),_0x3a3ef0=[..._0x14c76f[_0x3f5f6e(0x1f8)](),_0x35d4ba];this[_0x3f5f6e(0xd0)][_0x3f5f6e(0x311)](_0x3296a2,new DatasetGroup(_0x3a3ef0));}}}[a0_0x5ba6db(0x2e1)](_0xbe2993){const _0x5b1ffc=a0_0x5ba6db;return this[_0x5b1ffc(0xd0)][_0x5b1ffc(0x2e1)](_0xbe2993);}[a0_0x5ba6db(0x2c0)](_0x520421){const _0xb5360e=a0_0x5ba6db;return this[_0xb5360e(0xd0)][_0xb5360e(0x2c0)](_0x520421);}get[a0_0x5ba6db(0x2fd)](){const _0x379008=a0_0x5ba6db;return this[_0x379008(0xd0)][_0x379008(0x2fd)];}['keys'](){const _0xbbfcf9=a0_0x5ba6db;return this['groups'][_0xbbfcf9(0xe9)]();}[a0_0x5ba6db(0x141)](){const _0x145e82=a0_0x5ba6db;return this['groups'][_0x145e82(0x141)]();}['entries'](){const _0x3510ac=a0_0x5ba6db;return this[_0x3510ac(0xd0)][_0x3510ac(0x1c9)]();}[Symbol[a0_0x5ba6db(0x2a9)]](){const _0x2f8358=a0_0x5ba6db;return this[_0x2f8358(0xd0)][_0x2f8358(0x1c9)]();}[a0_0x5ba6db(0x2a7)](_0x2b591f){this['groups']['forEach']((_0x562550,_0x50338f)=>_0x2b591f(_0x562550,_0x50338f,this));}[a0_0x5ba6db(0x8f)](){const _0x351998=a0_0x5ba6db,_0x16cf13=new Map();for(const [_0x1957dc,_0x1f387a]of this['groups']){_0x1f387a['hasConflict']()&&_0x16cf13[_0x351998(0x311)](_0x1957dc,_0x1f387a);}return _0x16cf13;}[a0_0x5ba6db(0x110)](){const _0x2ce093=a0_0x5ba6db;for(const _0x2222b2 of this[_0x2ce093(0xd0)][_0x2ce093(0x141)]()){if(_0x2222b2[_0x2ce093(0x2d9)]())return!![];}return![];}['getConflictStats'](){const _0x312893=a0_0x5ba6db;let _0xfde709=0x0,_0x34f0e7=0x0;for(const _0x20d9f8 of this[_0x312893(0xd0)][_0x312893(0x141)]()){_0x20d9f8[_0x312893(0x2d9)]()&&(_0xfde709++,_0x34f0e7+=_0x20d9f8['getCount']());}const _0x46d4c1={};return _0x46d4c1[_0x312893(0x273)]=_0xfde709,_0x46d4c1['conflictItemCount']=_0x34f0e7,_0x46d4c1[_0x312893(0x185)]=this[_0x312893(0xd0)][_0x312893(0x2fd)],_0x46d4c1;}['getAllDatasets'](){const _0x284840=a0_0x5ba6db,_0xae9f45=[];for(const _0x210bc3 of this[_0x284840(0xd0)][_0x284840(0x141)]()){_0xae9f45[_0x284840(0x296)](..._0x210bc3['getAll']());}return _0xae9f45;}[a0_0x5ba6db(0x305)](){const _0x537a37=a0_0x5ba6db,_0x3e7033=[];for(const _0x2efc7c of this[_0x537a37(0xd0)][_0x537a37(0x141)]()){_0x3e7033[_0x537a37(0x296)](_0x2efc7c[_0x537a37(0x18e)]());}return _0x3e7033;}[a0_0x5ba6db(0x18e)](_0x2801e3){const _0xa97fb6=a0_0x5ba6db;return this['groups']['get'](_0x2801e3)?.[_0xa97fb6(0x18e)]();}[a0_0x5ba6db(0x1f8)](_0x12a4be){const _0x106275=a0_0x5ba6db;return this['groups'][_0x106275(0x2e1)](_0x12a4be)?.[_0x106275(0x1f8)]()||[];}[a0_0x5ba6db(0x28f)](){const _0x531723=a0_0x5ba6db,_0x2e361d=this[_0x531723(0x305)](),_0x2be1d=_0x2e361d[_0x531723(0xc9)](_0x5cf522=>_0x5cf522['toJSON']()),_0x59ca21={};return _0x59ca21[_0x531723(0x1fe)]=![],generateDatasetsConfig(_0x2be1d,_0x59ca21);}['toFullConfig'](){const _0x605b79=a0_0x5ba6db,_0xe1ce1f=this[_0x605b79(0x1cf)](),_0x585ada=_0xe1ce1f['map'](_0x318846=>_0x318846[_0x605b79(0x308)]());return generateFullDatasetsConfig(_0x585ada);}[a0_0x5ba6db(0x1e8)](){const _0xc24bcd=a0_0x5ba6db,_0x382e29={};for(const [_0x50b796,_0x5c98a9]of this[_0xc24bcd(0xd0)]){_0x382e29[_0x50b796]=_0x5c98a9;}return _0x382e29;}[a0_0x5ba6db(0x308)](){const _0x3471f9=a0_0x5ba6db,_0x26db08={};for(const [_0x4a3a7e,_0x39d012]of this[_0x3471f9(0xd0)]){_0x26db08[_0x4a3a7e]=_0x39d012[_0x3471f9(0x1f8)]()['map'](_0x1b0810=>_0x1b0810[_0x3471f9(0x308)]());}return _0x26db08;}[a0_0x5ba6db(0x146)](){const _0x4f3ee7=a0_0x5ba6db;return _0x4f3ee7(0x2b9)+this[_0x4f3ee7(0xd0)][_0x4f3ee7(0x2fd)]+_0x4f3ee7(0x10b)+(this['hasConflicts']()?_0x4f3ee7(0x2b5):_0x4f3ee7(0x1d9))+')';}}class DatasetList{[a0_0x5ba6db(0x16d)];constructor(_0x128a9c){const _0x4133f6=a0_0x5ba6db;let _0x47e8c7;if(Array[_0x4133f6(0x2f6)](_0x128a9c))_0x47e8c7=_0x128a9c;else{if('success'in _0x128a9c){if(!_0x128a9c['success'])throw new Error(_0x4133f6(0x20c));if(Array['isArray'](_0x128a9c['data']))_0x47e8c7=_0x128a9c[_0x4133f6(0x98)][_0x4133f6(0xc9)](_0x29b1fb=>({..._0x29b1fb,'datasetCode':_0x29b1fb[_0x4133f6(0x1f0)]||_0x29b1fb[_0x4133f6(0x89)]}));else{if(_0x128a9c[_0x4133f6(0x98)]?.[_0x4133f6(0xa6)])_0x47e8c7=_0x128a9c[_0x4133f6(0x98)]['tableData'][_0x4133f6(0xc9)](_0x2aa6ab=>({..._0x2aa6ab,'datasetCode':_0x2aa6ab[_0x4133f6(0x1f0)]||_0x2aa6ab['datasetCode']}));else throw new Error('Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)');}}else{if('tableData'in _0x128a9c){if(!Array[_0x4133f6(0x2f6)](_0x128a9c[_0x4133f6(0xa6)]))throw new Error(_0x4133f6(0xb3));_0x47e8c7=_0x128a9c[_0x4133f6(0xa6)]['map'](_0x49f3c5=>({..._0x49f3c5,'datasetCode':_0x49f3c5['code']||_0x49f3c5[_0x4133f6(0x89)]}));}else throw new Error(_0x4133f6(0x79));}}const _0x2b8e68=cleanDatasetNames(_0x47e8c7),_0x1e8661=_0x2b8e68[_0x4133f6(0xc9)](_0xc1a9a4=>new DatasetItem(_0xc1a9a4));this[_0x4133f6(0x16d)]=new DatasetGroupMap(_0x1e8661);}get[a0_0x5ba6db(0x155)](){const _0xb07f8a=a0_0x5ba6db;return this[_0xb07f8a(0x16d)];}[a0_0x5ba6db(0xf0)](){return this['_datasetMap']['getAllDatasets']();}[a0_0x5ba6db(0x218)](){const _0x3c4dd0=a0_0x5ba6db;return this[_0x3c4dd0(0xf0)]()[_0x3c4dd0(0x1d6)];}[a0_0x5ba6db(0x316)](){const _0x64e635=a0_0x5ba6db;return this[_0x64e635(0x16d)]['size']===0x0;}[a0_0x5ba6db(0x203)](_0x589d90){return this['getItems']()[_0x589d90];}['getFirst'](){const _0x5ebee5=a0_0x5ba6db;return this[_0x5ebee5(0xf0)]()[0x0];}[a0_0x5ba6db(0xd5)](){const _0x4671cf=this['getItems']();return _0x4671cf[_0x4671cf['length']-0x1];}[a0_0x5ba6db(0x2bb)](_0x2a3d4e){const _0x36e6a8=a0_0x5ba6db;for(const _0x32630a of this[_0x36e6a8(0x16d)][_0x36e6a8(0x141)]()){const _0x1a2c59=_0x32630a[_0x36e6a8(0x2bb)](_0x2a3d4e);if(_0x1a2c59)return _0x1a2c59;}return;}[a0_0x5ba6db(0x133)](_0x22ba61){const _0x2eb5ed=a0_0x5ba6db;return this[_0x2eb5ed(0xf0)]()[_0x2eb5ed(0xbf)](_0x42066a=>_0x42066a['name']===_0x22ba61);}['findById'](_0x5c91e9){const _0x2c958f=a0_0x5ba6db;for(const _0x25d11f of this['_datasetMap'][_0x2c958f(0x141)]()){const _0xa06681=_0x25d11f[_0x2c958f(0x7b)](_0x5c91e9);if(_0xa06681)return _0xa06681;}return;}['findByTableName'](_0x15e46a){const _0x3d5631=a0_0x5ba6db,_0x1bce68=getTableKey(_0x15e46a);return this[_0x3d5631(0x16d)]['getLatest'](_0x1bce68);}[a0_0x5ba6db(0x7e)](_0x73f136){const _0xc92fb3=a0_0x5ba6db,_0x3b76ef=this['getItems']()['filter'](_0x73f136);return new DatasetList(_0x3b76ef[_0xc92fb3(0xc9)](_0x7de1c9=>_0x7de1c9[_0xc92fb3(0x308)]()));}[a0_0x5ba6db(0x85)](_0x5e7974){const _0xab23df=a0_0x5ba6db;return this[_0xab23df(0xf0)]()[_0xab23df(0x7e)](_0x5e7974);}['forEach'](_0x3fde51){const _0x278e97=a0_0x5ba6db;this[_0x278e97(0xf0)]()[_0x278e97(0x2a7)](_0x3fde51);}[a0_0x5ba6db(0xc9)](_0x1878df){const _0x1d8a11=a0_0x5ba6db;return this['getItems']()[_0x1d8a11(0xc9)](_0x1878df);}[Symbol[a0_0x5ba6db(0x2a9)]](){const _0x19f0e7=a0_0x5ba6db;return this['getItems']()[Symbol[_0x19f0e7(0x2a9)]]();}['getVirtualTables'](){const _0x2863ed=a0_0x5ba6db;return this['getItems']()[_0x2863ed(0x7e)](_0x4cb78c=>_0x4cb78c[_0x2863ed(0x263)]());}['getRealTables'](){const _0x2f18bb=a0_0x5ba6db;return this['getItems']()[_0x2f18bb(0x7e)](_0x5cd629=>!_0x5cd629['isVirtualTable']());}[a0_0x5ba6db(0x96)](){const _0x3c3f2e=a0_0x5ba6db,_0x1d9741={};for(const _0x5d77c4 of this['_datasetMap'][_0x3c3f2e(0x141)]()){const _0x3aa876=_0x5d77c4['getLatest']()['getTableName']();_0x1d9741[_0x3aa876]=_0x5d77c4['getAll']();}return _0x1d9741;}[a0_0x5ba6db(0x131)](){const _0x415bc8=a0_0x5ba6db,_0x311d05={};for(const _0xa70cc2 of this[_0x415bc8(0x16d)][_0x415bc8(0x8f)]()[_0x415bc8(0x141)]()){const _0x42aa82=_0xa70cc2[_0x415bc8(0x18e)]()['getTableName']();_0x311d05[_0x42aa82]=_0xa70cc2[_0x415bc8(0x1f8)]()[_0x415bc8(0xc9)](_0x3da667=>_0x3da667['toJSON']());}return{'hasConflicts':Object[_0x415bc8(0xe9)](_0x311d05)[_0x415bc8(0x1d6)]>0x0,'conflicts':_0x311d05};}['hasConflicts'](){const _0x16b0ba=a0_0x5ba6db;return this[_0x16b0ba(0x16d)]['hasConflicts']();}[a0_0x5ba6db(0x25b)](){const _0x283617=a0_0x5ba6db,_0x2dbe89=[];for(const _0x5a99a0 of this[_0x283617(0x16d)][_0x283617(0x8f)]()[_0x283617(0x141)]()){_0x2dbe89['push'](..._0x5a99a0['getAll']());}return _0x2dbe89;}[a0_0x5ba6db(0x2ac)](_0x54aa6a){const _0x476e0f=a0_0x5ba6db;if(!_0x54aa6a||Object['keys'](_0x54aa6a)[_0x476e0f(0x1d6)]===0x0)return this['datasetMap']['toConfig']();const _0x3dbb4c=this[_0x476e0f(0xf0)]()[_0x476e0f(0xc9)](_0x1e5e78=>_0x1e5e78[_0x476e0f(0x308)]());return generateDatasetsConfig(_0x3dbb4c,_0x54aa6a);}[a0_0x5ba6db(0x2cd)](_0x3ad38d){const _0x5bca1f=a0_0x5ba6db,_0x389d89=this[_0x5bca1f(0x2ac)](_0x3ad38d);return datasetsConfigToArray(_0x389d89);}[a0_0x5ba6db(0x1ec)](){const _0x173fd1=a0_0x5ba6db;return this[_0x173fd1(0xf0)]()[_0x173fd1(0xc9)](_0x30a12a=>_0x30a12a[_0x173fd1(0x28f)]());}[a0_0x5ba6db(0x30b)](){const _0x5d3183=a0_0x5ba6db;return{'total':this['getCount'](),'virtualTables':this[_0x5d3183(0xba)]()[_0x5d3183(0x1d6)],'realTables':this['getRealTables']()[_0x5d3183(0x1d6)],'hasConflicts':this[_0x5d3183(0x110)](),'conflictCount':this['getConflictingItems']()[_0x5d3183(0x1d6)]};}[a0_0x5ba6db(0x16f)](){const _0x2b9bf6=a0_0x5ba6db;return this[_0x2b9bf6(0xf0)]()[_0x2b9bf6(0xc9)](_0x884a85=>_0x884a85['toJSON']());}[a0_0x5ba6db(0x308)](){return this['toArray']();}[a0_0x5ba6db(0x146)](){const _0x3ee652=a0_0x5ba6db;return _0x3ee652(0x246)+this[_0x3ee652(0x218)]()+_0x3ee652(0x167)+this['_datasetMap'][_0x3ee652(0x2fd)]+'\x20groups)';}static[a0_0x5ba6db(0x163)](_0x54f038){return new DatasetList(_0x54f038);}static['initDataset'](_0x55ccf9){return new DatasetList(_0x55ccf9);}static[a0_0x5ba6db(0x1e6)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x5ba6db(0x16e);function renderTemplate(_0xeafafd,_0x21b8cd,_0x332871={}){const _0x1a7b9c=a0_0x5ba6db;let _0x5e8a2c=_0xeafafd;return Object[_0x1a7b9c(0x1c9)](_0x332871)['forEach'](([_0x2d52a7,_0x432404])=>{const _0x3400ce=_0x1a7b9c,_0x135c3d=new RegExp(_0x3400ce(0xea)+_0x2d52a7+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x5e8a2c=_0x5e8a2c['replace'](_0x135c3d,_0x432404?'$1':'');}),Object[_0x1a7b9c(0x1c9)](_0x21b8cd)[_0x1a7b9c(0x2a7)](([_0x372c08,_0x3478c0])=>{const _0x41f7ff=_0x1a7b9c;if(_0x3478c0!==undefined){const _0x3b5959=new RegExp(_0x41f7ff(0x2f4)+_0x372c08+_0x41f7ff(0x13d),'g');_0x5e8a2c=_0x5e8a2c[_0x41f7ff(0x1bd)](_0x3b5959,_0x3478c0);}}),_0x5e8a2c;}function generateSDKInitCode(_0x308b01,_0x3109f1,_0x3e8a13,_0x1e413b,_0x962f2){const _0xa02c0c=a0_0x5ba6db,_0x1bc8c0={};_0x1bc8c0[_0xa02c0c(0x13f)]=_0x308b01,_0x1bc8c0[_0xa02c0c(0x89)]=_0x3109f1,_0x1bc8c0[_0xa02c0c(0xd1)]=_0x3e8a13,_0x1bc8c0[_0xa02c0c(0x19f)]=_0x1e413b===_0xa02c0c(0x2dc)?_0xa02c0c(0x2dc):undefined;const _0x4f495c={};return _0x4f495c['env']=_0x1e413b!==undefined&&_0x1e413b!==_0xa02c0c(0x25f),_0x4f495c[_0xa02c0c(0x23a)]=_0x962f2===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x1bc8c0,_0x4f495c);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x5ba6db(0x103);function generateAliasExplanation(_0x435192,_0x80c8ff,_0x5bb1c0,_0x35f0b1){const _0x1bff9c=a0_0x5ba6db,_0x5c2781=_0x1bff9c(0x1fc)+_0x435192,_0x33cd71=_0x1bff9c(0x94),_0x2d5cd7={};return _0x2d5cd7[_0x1bff9c(0x89)]=_0x435192,_0x2d5cd7[_0x1bff9c(0xc4)]=_0x5c2781,_0x2d5cd7['tableName']=_0x80c8ff,_0x2d5cd7[_0x1bff9c(0xd1)]=_0x5bb1c0,_0x2d5cd7['appCode']=_0x35f0b1,_0x2d5cd7[_0x1bff9c(0x317)]=_0x33cd71,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x2d5cd7,{});}function DrivenDataDetailPlusMixin(_0x2f269f){const _0x2b5435=a0_0x5ba6db;return class _0x1a2c39 extends _0x2f269f{[_0x2b5435(0x92)](_0x3e3928){const _0x38329d=_0x2b5435;return{'appCode':_0x3e3928,'datasetSDKKey':this[_0x38329d(0x127)](),'alias':this[_0x38329d(0x2b6)](),'tableName':this['getTableName'](),'datasetCode':this['datasetCode']};}['generateSDKInitCode'](_0x3e76b9,_0x28cff1='online',_0x40c162=![]){const _0x1a92af=_0x2b5435;return generateSDKInitCode(_0x3e76b9,this[_0x1a92af(0x89)],this[_0x1a92af(0x2b6)](),_0x28cff1==='daily'?_0x28cff1:undefined,_0x40c162);}[_0x2b5435(0x174)](_0x19b318,_0x1f0894,_0x479530={}){const _0x421aae=_0x2b5435,_0x171907=this['getOperations']()[_0x421aae(0xbf)](_0x4bd436=>_0x4bd436[_0x421aae(0x1e7)]()===_0x19b318);if(!_0x171907)return null;const _0x543727={};_0x543727[_0x421aae(0x1fd)]=_0x479530[_0x421aae(0x1b2)]!==![];const _0x556b11=this[_0x421aae(0x21a)](_0x19b318,_0x543727);if(!_0x556b11)return null;const _0x20bbac=[];return _0x20bbac[_0x421aae(0x296)]('//\x20Call\x20the\x20'+_0x171907[_0x421aae(0x1e7)]()+_0x421aae(0x2e0)),_0x20bbac[_0x421aae(0x296)](_0x556b11[_0x421aae(0x161)][_0x421aae(0x1f0)]),_0x20bbac[_0x421aae(0x296)](''),_0x479530[_0x421aae(0x2ab)]!==![]&&(_0x20bbac[_0x421aae(0x296)](_0x421aae(0xdc)),_0x20bbac['push'](_0x556b11[_0x421aae(0x2e7)][_0x421aae(0x2ee)]),_0x20bbac[_0x421aae(0x296)](''),_0x20bbac[_0x421aae(0x296)](_0x556b11[_0x421aae(0x2e7)]['errorCode'])),_0x20bbac['join']('\x0a');}[_0x2b5435(0x1f9)](_0x504ae7={}){const _0x1d315=_0x2b5435,_0x145f51=this[_0x1d315(0x147)](),_0x29e960=[];return _0x145f51['forEach']((_0xdbb729,_0x26f17d)=>{const _0x3bc464=_0x1d315,_0x154d62=this['generateFullSDKExample'](_0xdbb729[_0x3bc464(0x176)],_0x3bc464(0x24c),_0x504ae7);_0x154d62&&(_0x29e960[_0x3bc464(0x296)](_0x3bc464(0x2e4)+(_0x26f17d+0x1)+'.\x20'+_0xdbb729['displayName']),_0x29e960[_0x3bc464(0x296)](_0x154d62),_0x29e960[_0x3bc464(0x296)](''));}),_0x29e960[_0x1d315(0x18b)]('\x0a');}[_0x2b5435(0x187)](_0x3a6c24){const _0x193cfc=_0x2b5435,_0x4f3c47=this['getOperationAnalysis'](_0x3a6c24);if(!_0x4f3c47)return null;const _0x3d1086={};return _0x3d1086[_0x193cfc(0x176)]=_0x4f3c47[_0x193cfc(0x176)],_0x3d1086['displayName']=_0x4f3c47[_0x193cfc(0x1be)],_0x3d1086['method']=_0x4f3c47[_0x193cfc(0x76)],_0x3d1086[_0x193cfc(0x267)]=_0x4f3c47[_0x193cfc(0x267)],_0x3d1086[_0x193cfc(0xcd)]=_0x4f3c47['enabled'],_0x3d1086[_0x193cfc(0x280)]=_0x4f3c47[_0x193cfc(0x30a)]['length'],_0x3d1086[_0x193cfc(0x1c2)]=_0x4f3c47[_0x193cfc(0x211)]!==null,_0x3d1086;}[_0x2b5435(0x289)](_0x1bf738={}){const _0x4d4218=_0x2b5435,_0xe949b4=this['getEnabledOperationAnalyses']();return{'datasetName':this[_0x4d4218(0x176)],'datasetCode':this[_0x4d4218(0x89)],'tableName':this[_0x4d4218(0x26c)](),'totalOperations':_0xe949b4[_0x4d4218(0x1d6)],'operations':_0xe949b4[_0x4d4218(0xc9)](_0x1c9977=>({'name':_0x1c9977[_0x4d4218(0x176)],'displayName':_0x1c9977[_0x4d4218(0x1be)],'method':_0x1c9977['method'],'enabled':_0x1c9977[_0x4d4218(0xcd)]}))};}['getOperationRequestFields'](_0x31b763){const _0x344b2a=_0x2b5435,_0xb32fa3=this['getOperationAnalysis'](_0x31b763);if(!_0xb32fa3)return[];return _0xb32fa3[_0x344b2a(0x30a)]['map'](_0x206329=>{const _0x6fc4c1=_0x344b2a,_0x382884=this['getFieldInstance'](_0x206329);if(!_0x382884)return null;const _0x4860c5={};return _0x4860c5[_0x6fc4c1(0x1f0)]=_0x206329,_0x4860c5[_0x6fc4c1(0x176)]=_0x382884['name']||_0x206329,_0x4860c5;})[_0x344b2a(0x7e)](_0x1c9c74=>_0x1c9c74!==null);}['getMissingCRUDOperations'](){const _0x3bdc30=_0x2b5435,_0x55f7d8=new Set(this[_0x3bdc30(0x147)]()['map'](_0x205e6c=>String(_0x205e6c['type']))),_0xadb9d1=['create','getList',_0x3bdc30(0xf1),'delete'];return _0xadb9d1[_0x3bdc30(0x7e)](_0x22b817=>!_0x55f7d8[_0x3bdc30(0x2c0)](String(_0x22b817)));}[_0x2b5435(0x2d6)](_0x5933d6=_0x2b5435(0x24c)){const _0x10522f=_0x2b5435;return generateAliasExplanation(this[_0x10522f(0x89)],this[_0x10522f(0x26c)](),this[_0x10522f(0x2b6)](),_0x5933d6);}};}function operationToAnalysis(_0x17914e){const _0x54203a=a0_0x5ba6db;return{'name':_0x17914e['getName'](),'displayName':_0x17914e[_0x54203a(0x2a1)](),'type':_0x17914e[_0x54203a(0x295)](),'method':_0x17914e[_0x54203a(0x149)](),'path':_0x17914e['getPath'](),'fullUrl':_0x17914e['getFullUrl'](),'requestFields':_0x17914e['getRequestFields'](),'requestParams':_0x17914e[_0x54203a(0x24b)](),'responseSchema':_0x17914e[_0x54203a(0x232)](),'requestExample':_0x17914e[_0x54203a(0x194)](),'responseExample':_0x17914e[_0x54203a(0x262)](),'enabled':_0x17914e[_0x54203a(0x2c6)]()};}function operationsToAnalyses(_0x35891f){const _0x1b0039=a0_0x5ba6db;if(!Array[_0x1b0039(0x2f6)](_0x35891f))return!![]&&console[_0x1b0039(0x223)](_0x1b0039(0x150),_0x35891f),[];return _0x35891f[_0x1b0039(0xc9)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x2d2c70){const _0x50fa93=a0_0x5ba6db,_0x31961d=_0x2d2c70[_0x50fa93(0xbf)](_0x7b966a=>_0x7b966a[_0x50fa93(0x176)]===_0x50fa93(0x7e)),_0x1330de=_0x2d2c70[_0x50fa93(0x7e)](_0x14b581=>_0x14b581['name']!==_0x50fa93(0x7e));return _0x31961d?[_0x31961d,..._0x1330de]:_0x1330de;}function filterOperationAnalyses(_0x48c864,_0x21a1d3={}){const _0x544330=a0_0x5ba6db;let _0x2ab661=_0x48c864;return!_0x21a1d3[_0x544330(0x14a)]&&(_0x2ab661=_0x2ab661[_0x544330(0x7e)](_0x4c0691=>_0x4c0691[_0x544330(0xcd)])),_0x21a1d3['filterBlacklist']!==![]&&(_0x2ab661=filterApiOperations(_0x2ab661)),_0x21a1d3['customFilter']&&(_0x2ab661=_0x2ab661[_0x544330(0x7e)](_0x21a1d3[_0x544330(0x2d4)])),sortOperationsWithFilterFirst(_0x2ab661);}function getOperationStats(_0x9a5ce8){const _0x2dae15=a0_0x5ba6db,_0x59a54f=_0x9a5ce8[_0x2dae15(0x7e)](_0x1a5973=>_0x1a5973[_0x2dae15(0xcd)]);return{'total':_0x9a5ce8['length'],'enabled':_0x59a54f[_0x2dae15(0x1d6)],'disabled':_0x9a5ce8[_0x2dae15(0x1d6)]-_0x59a54f['length'],'byType':getCountByType(_0x59a54f),'byMethod':getCountByMethod(_0x59a54f)};}function getCountByType(_0x439df9){const _0x1dd99f=a0_0x5ba6db,_0x5d6b54={};return _0x439df9[_0x1dd99f(0x2a7)](_0x331072=>{const _0x4cc737=_0x1dd99f;if(_0x331072[_0x4cc737(0xe8)])_0x5d6b54[_0x331072['type']]=(_0x5d6b54[_0x331072[_0x4cc737(0xe8)]]||0x0)+0x1;}),_0x5d6b54;}function getCountByMethod(_0x14319b){const _0x2d129b=a0_0x5ba6db,_0x858f1d={};return _0x14319b[_0x2d129b(0x2a7)](_0x32b438=>{const _0x4c765e=_0x2d129b;_0x858f1d[_0x32b438[_0x4c765e(0x76)]]=(_0x858f1d[_0x32b438[_0x4c765e(0x76)]]||0x0)+0x1;}),_0x858f1d;}function a0_0x1065(){const _0x3ac319=['getSystem','isUpdateTime','getTableKey','CREATE_EXPORT','getOperationAnalysis','getFieldOptions','_raw','字段编码','DatasetList(','$gte','getNames','const\x20data\x20=\x20await\x20client.models.','round','getRequestParams','demo-app','delete','String[]','JSON','selectItemsSource','prototype','field_name','N/A','-\x20其他要更新的字段直接平铺在同一层级','时间戳','item1','getMissingCRUDOperations',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','获取下拉选项','getBusiness','getConflictingItems','ARRAY','email','boolean','online','getEnabledNames','sortNum','generateResponseExample','isVirtualTable','dataset_000000','getFieldSelectItemsSource','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','path','15706850gEkzpe','_operationAnalyses','每页条数','getRequestFields','getTableName','getFields','excelExport','DATETIME','getGroupedParams','查询列表','getVersion','conflictGroupCount','获取上传脚本','stringify','TIME','getOperationFieldsOperatorsMap','HTTP\x20直接调用时使用平铺格式:\x0a','TINYINT','getFieldCount','pageSize','string','3787vPXePX','address','字段名称','requestFieldCount','\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a','getOperationStats','doVersion','getCode','tooltip','getEnabledOperationInstances','getBusinessFields','getSystemAnalysisResult','generateAllOperationsSummary','validateEnumValue','doType','creatorIdField','BOOL','BOOLEAN','toConfig','4308TcVPZl','toLowerCase','dbVersion','hasDblinkInfo','split','getType','push','sort','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getFieldName','getInternalInstance','getFieldsV2','getOperations','getOperationAnalysesByType',',\x20fields:\x20','datasetKey','generateSingleValueExample','getDisplayName','_requestExampleCache','接口名称','now','getOperationOperators','hasCreateTimeField','forEach','isRequiredField','iterator','generateHTTPExample','includeUsageExample','generateConfig','\x20fields)','dbTypeLen','fieldName','labelField','DESC','$lteq','phone','getOne','has\x20conflicts','getModelAlias','GET','getSource','DatasetGroupMap(','getEnumFieldMeta','findByCode','hasCreatorIdField','_avg','dblinkInfoDTO','isRequired','has','FieldList(','create','includeDeleted','label','hasExtendField','isEnabled','SMALLINT','getEnumValues','GET_LIST',',\x20doType=','VARCHAR','isMultipleSelect','generateConfigArray','getAppCode','test','dataset','getOperationRequestFields','createDate','单值查询','customFilter','主键,用于定位要更新的记录','generateAliasExplanation','creatorNameField','DatasetGroup(','hasConflict','/filter','Excel导出','daily','_operations','getUpdateFields','FILE','\x20operation','get','Filter\x20API\x20-\x20高级查询接口','generateDefaultFilterOperation','//\x20','isAutoIncrement','dbType','usageExample','getOperationFieldOperators','orderBy','SWITCH','errorCode','relations','getFieldsFilterOperatorsMap','successCode','operations','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','getPrimaryKeys','getFieldListV2','getSelectItemsSource','\x5c{\x5c{','getFieldV2','isArray','解析\x20responseBody\x20失败:','dbName','2195781VJKjvX','1.0','keyword','generateSDKInitCode','size','getSystemFields','function','getPrimaryKeyFields','mapDbTypeToType','getAllFieldsString','_datasetMeta','DECIMAL','getLatestDatasets','getOperationsData','要更新的字段数据对象','toJSON','isOperatorApplicableToField','requestFields','getStats','_operationList','isEnumField','$endWith','getDOType','systemFieldCount','set','3MuVxUE','getFilteredOperationAnalyses','getEnabledOperations','updateTime','isEmpty','exampleWhere','_fieldListV1WithDeleted','currentPage','min','API路径','toFieldDefinition','SELECT','updateTimeField','分组字段列表','CHAR','title','toDatasetCode','({\x20currentPage,\x20pageSize\x20});','toDatasetName','getRequestParamsDocInfo','generateFromSchema','_relations','getTenantCode','getDatabaseName','value2','method','_fields','SDK\x20调用时传递两个参数:\x0a','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','(id,\x20data);','findById','DrivenDataDetailPlusV2(','total','filter','1590aafRUm','parse','8915008ZmBQpx','withDeleted','getFieldDataSource','createTime','findAll','generateHTTPRequestExample','$gteq','[FieldV1.extend]\x20解析字段\x20','datasetCode','LONGBLOB','systemRetain','创建导入','filterBlacklist','distinct','getConflicts','getOperationList','default','getSDKInitData','-\x20主键ID,用于定位要更新的记录\x0a\x0a','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getFieldListWithDeleted','groupByTableName','getCountByType','data','RICH_TEXT','pkField','getOneUpdate','getEnumFieldsMeta','Object','LONGTEXT','\x20operations,\x20v2)','column','getOperation','_fieldListWithDeleted','prefix','groupByType','GET_SELECT_OPTIONS','tableData','createExport','$and','DrivenDataDetailV2(','UPLOAD','getDBConfig','getFieldDefinition','**可更新的字段列表:**','getFieldsByType','POST','获取数据集失败:\x20','<p>富文本内容</p>','normalizeDbType','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','createTimeField','_fieldListV2','dbId','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','getEnumMeta','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','getVirtualTables','isEnum','查询单条(原始)','2024-12-31','INTEGER','find','getFieldFilterOperators','排序规则(与\x20Filter\x20API\x20一致)','tenantCode','(params);','datasetSDKKey','where','valueLabels','({\x20code,\x20label\x20});','GET_ONE','map','\x20operations,\x20v1)','getEnabled','getFiltered','enabled','logicField','hasField','groups','alias','\x20relations,\x20','number','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','getLast','操作名称','BLOB','2.0','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','deleted','hasTableName','//\x20Usage\x20examples','_fieldListV1','createAll','toListItem','聚合函数配置数组(type:\x20sum/count/avg/max/min)','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','主键ID(必填)','isSystem','isOperationEnabled','DbtableConfig(table:\x20','generateRequestAllExamples','$in','type','keys','<!--\x5cs*CONDITION:\x5cs*','datasetName','getDeleted','getEnumFields','文件上传','isPrimaryKeyField','getItems','update','({\x20/*\x20可选:筛选条件\x20*/\x20});','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','$contain','获取文件URL','ensureFilterOperation','\x20indexes)','parseFieldExtend','聚合函数配置数组','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','解析\x20requestBody\x20失败:','完整的\x20SDK\x20调用代码','modifyDate','totalCount','operationCount','getFilterOperators','getDisabledNames','toTableName','##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a','isNumericField','getDatabaseType','FieldV2(','getFilterOperation','DATE','getAllParams','aggregate','\x20groups,\x20','\x20API\x20文档','indexes','getDatasetDocMeta','msg','hasConflicts','context','dataset_unknown','hasOperation','getOperationsOverviewData','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','hasFilterOperation','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','isCreateTime','Number','getDatabaseVersion','modifierIdField','getFieldList','getAutoIncrement','getField','modifierNameField','getRelations','supportsCRUD','includes','Integer','查询单个条件','index','dbtableConfig','getDatasetSDKKey','systemAnalysisResult','_fieldList','null','user@example.com','getDatasetMeta','_autoGenerated','数组查询(支持多选)','raw','getOperationAnalyses','detectConflicts','getOperationCount','findByName','getAllFieldsArray','NUMBER','TASK_INFO','status','获取数据集列表失败:\x20','responseBody','generateSDKCallCode','每页数量(默认:\x2020)','getFieldRaw','\x5c}\x5c}','getDefaultValue','appCode','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','values','DrivenDataDetail(','示例值','modelCode','fields','toString','getEnabledOperationAnalyses','forceVersion','getMethod','includeDisabled','value','getFilteredOperations','FLOAT','getActive','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','SDK\x20调用示例(两参数格式)','having','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','getUpdatableFields','datasetMap','排序规则','parseRawRequestBody','datasetId','getDisabled','all','({\x20','BIT','desc','_extend','getHTTPRequestParamsDocInfo','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','sdkCall','isDeleted','fromApiResponse','createImport','params','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','\x20items,\x20','CHECKBOX','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','count','getResponseParamsDocInfo','useArrayValues','_datasetMap','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/node-sdk\x27;\x0a\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27{{appCode}}\x27,\x0a<!--\x20CONDITION:\x20env\x20-->\x0a\x20\x20env:\x20\x27{{env}}\x27,\x0a<!--\x20/CONDITION\x20-->\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27{{datasetCode}}\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27{{alias}}\x27,\x0a\x20\x20\x20\x20}\x0a\x20\x20],\x0a<!--\x20CONDITION:\x20isOpenAPI\x20-->\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,\x0a<!--\x20/CONDITION\x20-->\x0a});\x0a\x0aexport\x20default\x20client;\x0a','toArray','parseRawResponseBody','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','sortOperationsWithFilterFirst','getRequiredFields','generateFullSDKExample','fieldCount','name','Operation\x20not\x20found:\x20','fieldCode','支持单值或数组','trim','[parseFieldExtend]\x20Invalid\x20field:','add','CREATE_IMPORT','-$1','getEnum','autoIncrement','object','items','2024-01-01','这是一段较长的文本内容示例','totalGroups','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','generateOperationSummary','isBusiness','children','isPrimaryKey','join','getFieldInstance','getOneOrigin','getLatest','getRawDbtableConfig','IMAGE','getDisabledOperationInstances','isSystemField','tableColumns','generateRequestExample','columnName','Object[]','长文本','select','富文本','(id,\x20','getIndexes','max','_sum','sdkCallCode','env','slice','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','请求示例','getFieldDescription','paging','(id);','const\x20result\x20=\x20await\x20client.models.','INT','FieldV1(','9SMaLen','generateExampleValue','getOperators','TEXT','primaryKey','required','sum','$startWith','主键ID','includeRequestExample','toISOString','datasetInfo','查询单条(用于更新)','操作成功','DOUBLE','北京市朝阳区','[FieldV2]\x20Invalid\x20field\x20definition','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','String','(支持单值或数组)','replace','displayName','toField','every','getCodes','hasResponseSchema','avg','getCountByMethod','查询单条','getFieldType','createFields','getFieldOperators','entries','0000','getTooltip','getEnumMetas','BIGINT','description','getAllDatasets','errorMsg','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','getFullUrl','_instance','options','查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)','length','getList','getApplicableOperators','no\x20conflicts','getDbTypeForOperation','TEXTAREA','getCreateTime','source','getDisabledOperations','当前页码(从\x201\x20开始,默认:\x201)','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','(实际字段:','1.0.0-beta.8','from','getRelationsByField',',\x20currentPage,\x20pageSize,\x20...\x20});','empty','getName','toObject','getPath','Array','任务信息','toConfigArray','getForeignKeyFields','allFields','multiple','code','generateFieldExample','version','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','getRaw','properties','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','groupBy','getAll','generateAllOperationsFullSDKExample','();','total_count','dataset_','useFullExample','enableDeduplication','getUploadFileScript','hasDbtableConfig','toUpperCase','TIMESTAMP','getAt','https://example.com/file.pdf','getFileUrl','modelId','importTemplate','requestBody','isMultipleSelectField','\x20fields,\x20','array','Invalid\x20API\x20response:\x20success\x20is\x20false','50ONEDdi','getModelName','getSelectOptions','_$1','responseSchema','precision','CREATE','getId','value1','suffix','fromField','getCount','hasModifierIdField','getOperationDocMeta','yourModel','selectBestOperator','extend','generateUsageExample','tableName','lastIndexOf','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','16926118wFFLIf','warn','placeholder','getEnumOptions','getHTTPFields','RADIO','$lte','some','200','$ne','915220SJUNwc','$eq','分组后的过滤条件(对聚合结果进行过滤)','getFieldCode','host','success','getResponseSchema','示例文本','当前页码','isFieldPrimaryKey','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','导入模板','getFieldsWithDeleted','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','isOpenAPI','创建导出','STRING','getRequired'];a0_0x1065=function(){return _0x3ac319;};return a0_0x1065();}function supportsCRUD(_0x1b5645){const _0x533d31=a0_0x5ba6db,_0x27f36b=new Set(_0x1b5645['map'](_0x5cd065=>_0x5cd065[_0x533d31(0xe8)])['filter'](Boolean));return _0x27f36b[_0x533d31(0x2c0)](_0x533d31(0x2c2))&&_0x27f36b[_0x533d31(0x2c0)](_0x533d31(0x1d7))&&_0x27f36b[_0x533d31(0x2c0)]('update')&&_0x27f36b[_0x533d31(0x2c0)](_0x533d31(0x24d));}function createOperationDocMeta(_0x5e6dc1,_0x32e459,_0x2d6268,_0x25202d,_0x48173e,_0x3e2e4c){const _0x1f7851=a0_0x5ba6db,_0x147f9c={};return _0x147f9c[_0x1f7851(0x1fd)]=_0x3e2e4c?.['useFullExample'],{'operation':_0x5e6dc1,'operationInstance':_0x32e459,'basicInfo':{'name':_0x5e6dc1[_0x1f7851(0x176)],'displayName':_0x5e6dc1[_0x1f7851(0x1be)],'method':_0x5e6dc1['method'],'path':_0x5e6dc1[_0x1f7851(0x267)],'fullUrl':_0x5e6dc1['fullUrl'],'enabled':_0x5e6dc1[_0x1f7851(0xcd)]},'sdkCall':{'datasetCode':_0x2d6268,'datasetSDKKey':_0x25202d,'tableName':_0x48173e,'operationName':_0x5e6dc1[_0x1f7851(0x176)],'params':_0x5e6dc1[_0x1f7851(0x30a)],'code':_0x32e459[_0x1f7851(0x13a)](_0x25202d,_0x147f9c)},'usageExample':_0x32e459[_0x1f7851(0x21e)](_0x25202d)};}function createOperationsOverviewData(_0x1ee94e){const _0x289b2e=a0_0x5ba6db,_0x49aff8={};_0x49aff8[_0x289b2e(0x125)]=_0x289b2e(0x176),_0x49aff8['label']=_0x289b2e(0x2a3);const _0x1af704={};_0x1af704[_0x289b2e(0x125)]=_0x289b2e(0x1be),_0x1af704[_0x289b2e(0x2c4)]=_0x289b2e(0xd6);const _0x4bd43a={};_0x4bd43a[_0x289b2e(0x125)]=_0x289b2e(0x76),_0x4bd43a['label']='方法';const _0x1c6d84={};_0x1c6d84[_0x289b2e(0x125)]=_0x289b2e(0x161),_0x1c6d84['label']='SDK\x20调用';const _0x5916be={};_0x5916be[_0x289b2e(0x125)]=_0x289b2e(0x267),_0x5916be[_0x289b2e(0x2c4)]=_0x289b2e(0x66);const _0x2d57f5={};_0x2d57f5[_0x289b2e(0x125)]=_0x289b2e(0x19e),_0x2d57f5[_0x289b2e(0x2c4)]=_0x289b2e(0xfc);const _0x17cbd6=[_0x49aff8,_0x1af704,_0x4bd43a,_0x1c6d84,_0x5916be,_0x2d57f5],_0x2de89f=_0x1ee94e[_0x289b2e(0xc9)](_0x12deba=>{const _0x2fd5bf=_0x289b2e,{basicInfo:_0x58f5ad,sdkCall:_0x37dd75}=_0x12deba,_0x3d2c69=_0x37dd75['code'][_0x2fd5bf(0x1bd)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x2fd5bf(0x1bd)](/;$/,''),_0x2a5ef9={};return _0x2a5ef9[_0x2fd5bf(0x1be)]=_0x58f5ad[_0x2fd5bf(0x1be)],_0x2a5ef9['name']=_0x58f5ad['name'],_0x2a5ef9[_0x2fd5bf(0x76)]=_0x58f5ad['method'],_0x2a5ef9[_0x2fd5bf(0x267)]=_0x58f5ad[_0x2fd5bf(0x267)],_0x2a5ef9[_0x2fd5bf(0x161)]=_0x3d2c69,_0x2a5ef9['sdkCallCode']=_0x37dd75[_0x2fd5bf(0x1f0)],_0x2a5ef9;}),_0x1bd510={};return _0x1bd510[_0x289b2e(0x193)]=_0x17cbd6,_0x1bd510[_0x289b2e(0xa6)]=_0x2de89f,_0x1bd510;}function createDatasetDocMeta(_0x4a79e5,_0xfb0bc8,_0x2d4ea0,_0x2074f2,_0x4855ec,_0x4d6daf,_0xa3dfa4,_0x211e0b,_0x8ec0b0){const _0x5473a5=a0_0x5ba6db,_0x3ae9d1={};return _0x3ae9d1[_0x5473a5(0x6c)]=_0x4a79e5+_0x5473a5(0x10c),_0x3ae9d1[_0x5473a5(0x1b4)]={},_0x3ae9d1[_0x5473a5(0x2ef)]=_0x8ec0b0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x176)]=_0x4a79e5,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x1f0)]=_0xfb0bc8,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x21f)]=_0x2d4ea0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0xc4)]=_0x2074f2,_0x3ae9d1[_0x5473a5(0x1b4)]['tableKey']=_0x4855ec,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x1dd)]=_0x4d6daf,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x175)]=_0xa3dfa4,_0x3ae9d1[_0x5473a5(0x1b4)]['businessFieldCount']=0x0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0x310)]=0x0,_0x3ae9d1[_0x5473a5(0x1b4)][_0x5473a5(0xff)]=_0x211e0b,_0x3ae9d1[_0x5473a5(0x1b4)]['enabledOperationCount']=_0x8ec0b0[_0x5473a5(0x1d6)],_0x3ae9d1;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x5ba6db(0x269)];[a0_0x5ba6db(0x272)](){return'v1';}[a0_0x5ba6db(0x2b6)](){const _0x1b5966=a0_0x5ba6db;return this[_0x1b5966(0x240)]();}[a0_0x5ba6db(0x130)](_0x34f4d6=![]){const _0x53437e=a0_0x5ba6db;if(!_0x34f4d6&&this[_0x53437e(0x269)])return this[_0x53437e(0x269)];const _0x210db5=this[_0x53437e(0x29c)]();return this[_0x53437e(0x269)]=operationsToAnalyses(_0x210db5),this[_0x53437e(0x269)];}[a0_0x5ba6db(0x147)](){const _0x2f9f7e=a0_0x5ba6db,_0x54dcdd={};return _0x54dcdd[_0x2f9f7e(0x14a)]=![],_0x54dcdd[_0x2f9f7e(0x8d)]=!![],this[_0x2f9f7e(0x313)](_0x54dcdd);}[a0_0x5ba6db(0x313)](_0x1af2a7={}){const _0x51d492=a0_0x5ba6db;return filterOperationAnalyses(this[_0x51d492(0x130)](),_0x1af2a7);}[a0_0x5ba6db(0x242)](_0x399612){const _0x3ca731=a0_0x5ba6db;return this[_0x3ca731(0x130)]()[_0x3ca731(0xbf)](_0x1abfd7=>_0x1abfd7[_0x3ca731(0x176)]===_0x399612);}[a0_0x5ba6db(0x29d)](_0x2523e9){const _0x3c5cc4=a0_0x5ba6db;return this[_0x3c5cc4(0x130)]()['filter'](_0x5bca4d=>_0x5bca4d[_0x3c5cc4(0xe8)]===_0x2523e9);}[a0_0x5ba6db(0x21a)](_0x5634a3,_0xc00743){const _0x2353ef=a0_0x5ba6db,_0x193e0c=this[_0x2353ef(0x242)](_0x5634a3);if(!_0x193e0c)return null;const _0x5d9637=this['getOperations']()[_0x2353ef(0xbf)](_0x1583e1=>_0x1583e1['getName']()===_0x193e0c[_0x2353ef(0x176)]);if(!_0x5d9637)throw new Error('Operation\x20not\x20found:\x20'+_0x193e0c[_0x2353ef(0x176)]);return createOperationDocMeta(_0x193e0c,_0x5d9637,this[_0x2353ef(0x89)],this[_0x2353ef(0x127)](),this[_0x2353ef(0x26c)](),_0xc00743);}[a0_0x5ba6db(0x10e)](_0x3b6082={}){const _0x1c1386=a0_0x5ba6db,_0x36b593=this[_0x1c1386(0x313)](_0x3b6082),_0x256b68=_0x36b593[_0x1c1386(0xc9)](_0x1b266b=>this[_0x1c1386(0x21a)](_0x1b266b[_0x1c1386(0x176)]))[_0x1c1386(0x7e)](_0x3bdf73=>_0x3bdf73!==null);return createDatasetDocMeta(this[_0x1c1386(0x176)],this[_0x1c1386(0x89)],this['getTableName'](),this['getDatasetSDKKey'](),this[_0x1c1386(0x240)](),this[_0x1c1386(0x1dd)],this[_0x1c1386(0x27a)](),this[_0x1c1386(0x132)](),_0x256b68);}[a0_0x5ba6db(0x114)](_0x4f4e0b){return createOperationsOverviewData(_0x4f4e0b);}[a0_0x5ba6db(0x121)](){const _0x1b1bf7=a0_0x5ba6db;return supportsCRUD(this[_0x1b1bf7(0x147)]());}[a0_0x5ba6db(0x282)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x5ba6db(0x146)](){const _0x36d771=a0_0x5ba6db,_0x312b74=this[_0x36d771(0x282)]();return'DrivenDataDetailPlus('+this[_0x36d771(0x176)]+',\x20'+this[_0x36d771(0x89)]+',\x20'+this[_0x36d771(0x27a)]()+_0x36d771(0x20a)+_0x312b74[_0x36d771(0xcd)]+'/'+_0x312b74[_0x36d771(0x7d)]+_0x36d771(0xca);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x5ba6db(0x269)];['getVersion'](){return'v2';}[a0_0x5ba6db(0x2b6)](){return this['getTableKey']();}['getOperationAnalyses'](_0x3e4b55=![]){const _0x84eee7=a0_0x5ba6db;if(!_0x3e4b55&&this['_operationAnalyses'])return this[_0x84eee7(0x269)];const _0x54538c=this[_0x84eee7(0x29c)]();return this['_operationAnalyses']=operationsToAnalyses(_0x54538c),this[_0x84eee7(0x269)];}['getEnabledOperationAnalyses'](){const _0x7e9bd5=a0_0x5ba6db,_0x45aa9e={};return _0x45aa9e[_0x7e9bd5(0x14a)]=![],_0x45aa9e[_0x7e9bd5(0x8d)]=!![],this['getFilteredOperationAnalyses'](_0x45aa9e);}[a0_0x5ba6db(0x313)](_0x57f787={}){const _0x3bf6da=a0_0x5ba6db;return filterOperationAnalyses(this[_0x3bf6da(0x130)](),_0x57f787);}['getOperationAnalysis'](_0xe36c92){return this['getOperationAnalyses']()['find'](_0x1a97e5=>_0x1a97e5['name']===_0xe36c92);}['getOperationAnalysesByType'](_0x1ab294){const _0x24611e=a0_0x5ba6db;return this[_0x24611e(0x130)]()[_0x24611e(0x7e)](_0x1838f3=>_0x1838f3[_0x24611e(0xe8)]===_0x1ab294);}[a0_0x5ba6db(0x21a)](_0x20fb33,_0x429a2c){const _0x5ce66b=a0_0x5ba6db,_0x35cab4=this[_0x5ce66b(0x242)](_0x20fb33);if(!_0x35cab4)return null;const _0xbca7b8=this['getOperations']()[_0x5ce66b(0xbf)](_0x1698fa=>_0x1698fa['getName']()===_0x35cab4[_0x5ce66b(0x176)]);if(!_0xbca7b8)throw new Error(_0x5ce66b(0x177)+_0x35cab4['name']);return createOperationDocMeta(_0x35cab4,_0xbca7b8,this[_0x5ce66b(0x89)],this[_0x5ce66b(0x127)](),this[_0x5ce66b(0x26c)](),_0x429a2c);}[a0_0x5ba6db(0x10e)](_0x1f0446={}){const _0x41b6ab=a0_0x5ba6db,_0x904c2f=this[_0x41b6ab(0x313)](_0x1f0446),_0x22023b=_0x904c2f[_0x41b6ab(0xc9)](_0x56d0d6=>this[_0x41b6ab(0x21a)](_0x56d0d6[_0x41b6ab(0x176)]))[_0x41b6ab(0x7e)](_0x8fade4=>_0x8fade4!==null);return createDatasetDocMeta(this[_0x41b6ab(0x176)],this[_0x41b6ab(0x89)],this[_0x41b6ab(0x26c)](),this[_0x41b6ab(0x127)](),this[_0x41b6ab(0x240)](),this[_0x41b6ab(0x1dd)],this['getFieldCount'](),this[_0x41b6ab(0x132)](),_0x22023b);}['getOperationsOverviewData'](_0xf0dc7f){return createOperationsOverviewData(_0xf0dc7f);}[a0_0x5ba6db(0x121)](){return supportsCRUD(this['getEnabledOperationAnalyses']());}[a0_0x5ba6db(0x282)](){const _0x2df869=a0_0x5ba6db;return getOperationStats(this[_0x2df869(0x130)]());}[a0_0x5ba6db(0x146)](){const _0x542e24=a0_0x5ba6db,_0x1f08e6=this[_0x542e24(0x282)]();return _0x542e24(0x7c)+this['name']+',\x20'+this[_0x542e24(0x89)]+',\x20'+this['getFieldCount']()+_0x542e24(0x20a)+_0x1f08e6[_0x542e24(0xcd)]+'/'+_0x1f08e6['total']+_0x542e24(0x9f);}}function detectDatasetVersion3(_0xe87bf3){const _0x49070f=a0_0x5ba6db;if(_0xe87bf3[_0x49070f(0x283)]==='v2'&&_0x49070f(0x145)in _0xe87bf3&&Array[_0x49070f(0x2f6)](_0xe87bf3['fields']))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x5ba6db(0x1d3)];constructor(_0x410f00){const _0x440adc=a0_0x5ba6db,_0x2fe8d0=detectDatasetVersion3(_0x410f00);return this[_0x440adc(0x1d3)]=_0x2fe8d0==='v2'?new DrivenDataDetailPlusV2(_0x410f00):new DrivenDataDetailPlusV1(_0x410f00),new Proxy(this,{'get'(_0x80ebf9,_0x3bc330){const _0xe9285c=_0x440adc;if(_0x3bc330 in _0x80ebf9){const _0x267155=_0x80ebf9[_0x3bc330];return typeof _0x267155==='function'?_0x267155['bind'](_0x80ebf9):_0x267155;}if(_0x3bc330 in _0x80ebf9[_0xe9285c(0x1d3)]){const _0x20a8e1=_0x80ebf9[_0xe9285c(0x1d3)][_0x3bc330];return typeof _0x20a8e1===_0xe9285c(0x2ff)?_0x20a8e1['bind'](_0x80ebf9[_0xe9285c(0x1d3)]):_0x20a8e1;}return;},'set'(_0x5524ba,_0x41c342,_0x229d10){return _0x5524ba[_0x41c342]=_0x229d10,!![];},'getPrototypeOf'(_0x1ebfbb){const _0x5d17be=_0x440adc;return DrivenDataDetailPlus[_0x5d17be(0x251)];}});}get['name'](){const _0x2cfd3d=a0_0x5ba6db;return this[_0x2cfd3d(0x1d3)][_0x2cfd3d(0x176)];}get['id'](){const _0x51e3b0=a0_0x5ba6db;return this[_0x51e3b0(0x1d3)]['id'];}get[a0_0x5ba6db(0x89)](){const _0x156934=a0_0x5ba6db;return this[_0x156934(0x1d3)][_0x156934(0x89)];}get[a0_0x5ba6db(0x1dd)](){const _0x2ca3bf=a0_0x5ba6db;return this[_0x2ca3bf(0x1d3)][_0x2ca3bf(0x1dd)];}get[a0_0x5ba6db(0x126)](){const _0x50bf0a=a0_0x5ba6db;return this['_instance'][_0x50bf0a(0xab)]();}['getVersion'](){const _0x241802=a0_0x5ba6db,_0x55bf65=this[_0x241802(0x1d3)]['getVersion']();return _0x55bf65==='v2'?'v2':'v1';}[a0_0x5ba6db(0x27a)](){const _0x16e064=a0_0x5ba6db;return this[_0x16e064(0x1d3)][_0x16e064(0x27a)]();}[a0_0x5ba6db(0x132)](){const _0x43ef81=a0_0x5ba6db;return this[_0x43ef81(0x1d3)][_0x43ef81(0x132)]();}[a0_0x5ba6db(0x26d)](){const _0x2e71dd=a0_0x5ba6db;return this[_0x2e71dd(0x1d3)][_0x2e71dd(0x26d)]();}['getOperations'](){return this['_instance']['getOperations']();}[a0_0x5ba6db(0x14c)](_0x55df2e){const _0x1f4b2a=a0_0x5ba6db;return this[_0x1f4b2a(0x1d3)][_0x1f4b2a(0x14c)](_0x55df2e);}[a0_0x5ba6db(0x18c)](_0x245dfc){return this['_instance']['getFieldInstance'](_0x245dfc);}[a0_0x5ba6db(0x26c)](){const _0x5926ca=a0_0x5ba6db;return this['_instance'][_0x5926ca(0x26c)]();}[a0_0x5ba6db(0x240)](){const _0x1d7374=a0_0x5ba6db;return this[_0x1d7374(0x1d3)]['getTableKey']();}['getDatasetSDKKey'](){const _0x2c5b98=a0_0x5ba6db;return this[_0x2c5b98(0x1d3)][_0x2c5b98(0x127)]();}[a0_0x5ba6db(0x11c)](){const _0x4c2994=a0_0x5ba6db;return this[_0x4c2994(0x1d3)][_0x4c2994(0x11c)]();}['getEnumFields'](){const _0x49c036=a0_0x5ba6db;return this[_0x49c036(0x1d3)][_0x49c036(0xed)]();}['getEnumFieldsMeta'](){const _0xadafac=a0_0x5ba6db;return this[_0xadafac(0x1d3)][_0xadafac(0x9c)]();}[a0_0x5ba6db(0x209)](_0x2b09ea){const _0x4a04c0=a0_0x5ba6db;return this['_instance'][_0x4a04c0(0x209)](_0x2b09ea);}['getField'](_0x5988d6){const _0x366b8d=a0_0x5ba6db;return this[_0x366b8d(0x1d3)][_0x366b8d(0x11e)](_0x5988d6);}[a0_0x5ba6db(0x243)](_0x3b2d2b){const _0x561ff0=a0_0x5ba6db;return this['_instance'][_0x561ff0(0x243)](_0x3b2d2b);}[a0_0x5ba6db(0x265)](_0x197fab){const _0xff7ba2=a0_0x5ba6db;return this[_0xff7ba2(0x1d3)][_0xff7ba2(0x265)](_0x197fab);}['getEnumFieldMeta'](_0x2af6b4){const _0x5c99dd=a0_0x5ba6db;return this[_0x5c99dd(0x1d3)][_0x5c99dd(0x2ba)](_0x2af6b4);}[a0_0x5ba6db(0x28a)](_0x20d320,_0x39fd30){const _0x3cbc3d=a0_0x5ba6db;return this['_instance'][_0x3cbc3d(0x28a)](_0x20d320,_0x39fd30);}[a0_0x5ba6db(0x2a8)](_0x2d4a45){const _0x6f8d08=a0_0x5ba6db;return this[_0x6f8d08(0x1d3)][_0x6f8d08(0x2a8)](_0x2d4a45);}[a0_0x5ba6db(0x30b)](){const _0x5aa43b=a0_0x5ba6db;return this[_0x5aa43b(0x1d3)]['getStats']();}[a0_0x5ba6db(0x107)](){const _0x4a6ee9=a0_0x5ba6db;return this[_0x4a6ee9(0x1d3)]['getFilterOperation']();}[a0_0x5ba6db(0x116)](){return this['_instance']['hasFilterOperation']();}[a0_0x5ba6db(0x113)](_0x1f8253){return this['_instance']['hasOperation'](_0x1f8253);}[a0_0x5ba6db(0xab)](){const _0x35d933=a0_0x5ba6db;return this[_0x35d933(0x1d3)]['getDBConfig']();}[a0_0x5ba6db(0x18f)](){const _0x107a31=a0_0x5ba6db;return this[_0x107a31(0x1d3)][_0x107a31(0x18f)]();}[a0_0x5ba6db(0x2b8)](){const _0xadecd3=a0_0x5ba6db;return this[_0xadecd3(0x1d3)]['getSource']();}[a0_0x5ba6db(0x130)](_0x4d81d4){const _0x548e38=a0_0x5ba6db;return this[_0x548e38(0x1d3)]['getOperationAnalyses'](_0x4d81d4);}['getEnabledOperationAnalyses'](){const _0x5aff60=a0_0x5ba6db;return this[_0x5aff60(0x1d3)][_0x5aff60(0x147)]();}['getFilteredOperationAnalyses'](_0x8ef55d){const _0x10ef12=a0_0x5ba6db;return this['_instance'][_0x10ef12(0x313)](_0x8ef55d);}['getOperationAnalysis'](_0x267ccf){const _0x1dc510=a0_0x5ba6db;return this['_instance'][_0x1dc510(0x242)](_0x267ccf);}[a0_0x5ba6db(0x29d)](_0x53c7f0){const _0xd800ba=a0_0x5ba6db;return this[_0xd800ba(0x1d3)][_0xd800ba(0x29d)](_0x53c7f0);}[a0_0x5ba6db(0x21a)](_0x512a36,_0x4ee614){const _0x49de05=a0_0x5ba6db;return this[_0x49de05(0x1d3)]['getOperationDocMeta'](_0x512a36,_0x4ee614);}[a0_0x5ba6db(0x10e)](_0x33856e){const _0x1b3cb0=a0_0x5ba6db;return this[_0x1b3cb0(0x1d3)][_0x1b3cb0(0x10e)](_0x33856e);}['getOperationsOverviewData'](_0xe4f4e0){const _0x13f4cb=a0_0x5ba6db;return this[_0x13f4cb(0x1d3)][_0x13f4cb(0x114)](_0xe4f4e0);}[a0_0x5ba6db(0x2b6)](){const _0xe04eb6=a0_0x5ba6db;return this[_0xe04eb6(0x1d3)][_0xe04eb6(0x2b6)]();}[a0_0x5ba6db(0x121)](){const _0x4b8cc7=a0_0x5ba6db;return this[_0x4b8cc7(0x1d3)][_0x4b8cc7(0x121)]();}[a0_0x5ba6db(0x282)](){const _0x46b743=a0_0x5ba6db;return this[_0x46b743(0x1d3)][_0x46b743(0x282)]();}[a0_0x5ba6db(0x146)](){return this['_instance']['toString']();}[a0_0x5ba6db(0xa1)](_0xfc7f8b){const _0x3759b7=a0_0x5ba6db;return this[_0x3759b7(0x1d3)][_0x3759b7(0xa1)](_0xfc7f8b);}[a0_0x5ba6db(0x92)](_0x564d56){const _0x21e288=a0_0x5ba6db;return this['_instance'][_0x21e288(0x92)](_0x564d56);}[a0_0x5ba6db(0x2fc)](_0x17b786,_0x26c524,_0x4b81c3){const _0x534075=a0_0x5ba6db;return this[_0x534075(0x1d3)][_0x534075(0x2fc)](_0x17b786,_0x26c524,_0x4b81c3);}['generateFullSDKExample'](_0x378edd,_0xb341fe,_0x2da9a7){const _0x25951b=a0_0x5ba6db;return this[_0x25951b(0x1d3)][_0x25951b(0x174)](_0x378edd,_0xb341fe,_0x2da9a7);}[a0_0x5ba6db(0x1f9)](_0x516fe2){const _0x43ad9f=a0_0x5ba6db;return this[_0x43ad9f(0x1d3)]['generateAllOperationsFullSDKExample'](_0x516fe2);}[a0_0x5ba6db(0x187)](_0x4e4e0f){const _0x478df9=a0_0x5ba6db;return this[_0x478df9(0x1d3)][_0x478df9(0x187)](_0x4e4e0f);}['generateAllOperationsSummary'](_0x14fc3d){const _0x148604=a0_0x5ba6db;return this[_0x148604(0x1d3)]['generateAllOperationsSummary'](_0x14fc3d);}[a0_0x5ba6db(0x2d1)](_0x8ea7d0){return this['_instance']['getOperationRequestFields'](_0x8ea7d0);}['getMissingCRUDOperations'](){const _0x526d15=a0_0x5ba6db;return this[_0x526d15(0x1d3)][_0x526d15(0x257)]();}[a0_0x5ba6db(0x2d6)](){const _0x5ce3d9=a0_0x5ba6db;return this[_0x5ce3d9(0x1d3)]['generateAliasExplanation']();}[a0_0x5ba6db(0x29a)](){const _0x5a1f9f=a0_0x5ba6db;return this[_0x5a1f9f(0x1d3)];}}function createDrivenDataDetailPlus(_0x382d75,_0x1ead9b={}){const _0x493457=a0_0x5ba6db;if(_0x1ead9b['forceVersion']==='v1')return new DrivenDataDetailPlusV1(_0x382d75);if(_0x1ead9b[_0x493457(0x148)]==='v2')return new DrivenDataDetailPlusV2(_0x382d75);if(_0x382d75[_0x493457(0x283)]==='v2'||_0x493457(0x2d0)in _0x382d75)return new DrivenDataDetailPlusV2(_0x382d75);return new DrivenDataDetailPlusV1(_0x382d75);}function isPlusV2Instance(_0xbc8f9b){const _0x3160f0=a0_0x5ba6db;return _0xbc8f9b[_0x3160f0(0x272)]()==='v2';}function isPlusV1Instance(_0x550076){const _0x2ece1a=a0_0x5ba6db;return _0x550076[_0x2ece1a(0x272)]()==='v1';}var VERSION=a0_0x5ba6db(0x1e2);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};