@lovrabet/dsparser 1.0.16-beta.0 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x2c4dc0=a0_0x478a;(function(_0x4bcc28,_0x205d24){const _0x564c4d=a0_0x478a,_0x5b0bef=_0x4bcc28();while(!![]){try{const _0x170734=-parseInt(_0x564c4d(0x283))/0x1*(-parseInt(_0x564c4d(0x2a0))/0x2)+parseInt(_0x564c4d(0x192))/0x3*(-parseInt(_0x564c4d(0x346))/0x4)+parseInt(_0x564c4d(0x31b))/0x5*(-parseInt(_0x564c4d(0x2dd))/0x6)+parseInt(_0x564c4d(0x1b3))/0x7*(-parseInt(_0x564c4d(0x1f8))/0x8)+parseInt(_0x564c4d(0x35d))/0x9*(parseInt(_0x564c4d(0x1c1))/0xa)+parseInt(_0x564c4d(0x342))/0xb+-parseInt(_0x564c4d(0x313))/0xc;if(_0x170734===_0x205d24)break;else _0x5b0bef['push'](_0x5b0bef['shift']());}catch(_0x59f95d){_0x5b0bef['push'](_0x5b0bef['shift']());}}}(a0_0x57e3,0x92eaf));function toCamelCase(_0x342362){const _0x487c03=a0_0x478a;if(!_0x342362)return'';return _0x342362['split'](/[_-]/)[_0x487c03(0x2b2)]((_0x29bdce,_0x325208)=>{const _0x3b52a9=_0x487c03;if(_0x325208===0x0)return _0x29bdce[_0x3b52a9(0x1a8)]();return _0x29bdce[_0x3b52a9(0x33f)](0x0)[_0x3b52a9(0x31a)]()+_0x29bdce[_0x3b52a9(0x202)](0x1)[_0x3b52a9(0x1a8)]();})[_0x487c03(0x2f8)]('');}function toPascalCase(_0x37abcc){const _0x987b46=a0_0x478a;if(!_0x37abcc)return'';const _0x5366e4=toCamelCase(_0x37abcc);return _0x5366e4[_0x987b46(0x33f)](0x0)[_0x987b46(0x31a)]()+_0x5366e4[_0x987b46(0x202)](0x1);}function toSnakeCase(_0x12ba6d){const _0x313634=a0_0x478a;if(!_0x12ba6d)return'';return _0x12ba6d[_0x313634(0x326)](/([A-Z])/g,'_$1')['toLowerCase']()['replace'](/^_/,'');}function toKebabCase(_0x511190){const _0x21b240=a0_0x478a;if(!_0x511190)return'';return _0x511190[_0x21b240(0x326)](/([A-Z])/g,'-$1')[_0x21b240(0x1a8)]()[_0x21b240(0x326)](/^-/,'');}function normalizeFieldName(_0x41ec68){const _0x391e31=a0_0x478a;if(!_0x41ec68)return'';return _0x41ec68['trim']()['replace'](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')[_0x391e31(0x326)](/_+/g,'_')['replace'](/^_|_$/g,'');}function getTableName(_0x26b897){const _0x10d81b=a0_0x478a;if(!_0x26b897)return _0x10d81b(0x1fd);if(_0x26b897[_0x10d81b(0x246)]?.[_0x10d81b(0x217)])return _0x26b897[_0x10d81b(0x246)][_0x10d81b(0x217)];const _0xa15e89=_0x26b897[_0x10d81b(0x31d)]||_0x26b897[_0x10d81b(0x227)]||_0x26b897[_0x10d81b(0x18c)];if(_0xa15e89)return generateTableNameFromCode(_0xa15e89);return _0x10d81b(0x1fd);}function getTableKey(_0xfb9028){const _0x559f7a=a0_0x478a;if(typeof _0xfb9028===_0x559f7a(0x2ca))return toCamelCase(_0xfb9028);const _0x4d36d2=getTableName(_0xfb9028);return toCamelCase(_0x4d36d2);}function generateTableNameFromCode(_0x494a22){const _0x271dc4=a0_0x478a;if(!_0x494a22)return _0x271dc4(0x1fd);const _0x59f886=_0x494a22[_0x271dc4(0x202)](-0x6)['padStart'](0x6,'0');return'dataset_'+_0x59f886;}function isVirtualTableName(_0x2b2f24){const _0x1c427e=a0_0x478a;return/^dataset_[a-zA-Z0-9]{6}$/[_0x1c427e(0x28e)](_0x2b2f24);}function generateDatasetsConfig(_0x67c6ed,_0x135bf2={}){const _0x1a9ab2=a0_0x478a,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x24d31e,filter:_0x3a4fac}=_0x135bf2,_0x5de357={},_0x289079=new Set();for(const _0x21e8ce of _0x67c6ed){if(_0x3a4fac&&!_0x3a4fac(_0x21e8ce))continue;const _0x5e4fdd=getTableName(_0x21e8ce);if(enableDeduplication&&_0x289079[_0x1a9ab2(0x256)](_0x5e4fdd)){console['warn'](_0x1a9ab2(0x26f)+_0x5e4fdd+'\x22,数据集:\x20'+_0x21e8ce[_0x1a9ab2(0x27f)]+'\x20('+_0x21e8ce[_0x1a9ab2(0x31d)]+')');continue;}_0x289079[_0x1a9ab2(0x1d4)](_0x5e4fdd);const _0x460270=_0x24d31e?_0x24d31e(_0x5e4fdd,_0x21e8ce):getTableKey(_0x5e4fdd);_0x5de357[_0x460270]={'key':_0x460270,'tableName':_0x5e4fdd,'datasetCode':_0x21e8ce[_0x1a9ab2(0x31d)],'name':_0x21e8ce['name'],'id':_0x21e8ce['id']};}return _0x5de357;}function generateFullDatasetsConfig(_0x22d290,_0x65ae62={}){const _0x4e9469=a0_0x478a,{filter:_0x353613,datasetNameGenerator:_0x76a69e}=_0x65ae62,_0x31ed26=_0x353613?_0x22d290[_0x4e9469(0x358)](_0x353613):_0x22d290,_0x4a0220=groupByTableName(_0x31ed26),_0x12e84f={};for(const [_0x9e6109,_0x1c87c6]of Object['entries'](_0x4a0220)){if(_0x1c87c6['length']===0x1){const _0x3910a3=_0x1c87c6[0x0],_0x289312=_0x76a69e?_0x76a69e(_0x9e6109,_0x3910a3):getTableKey(_0x9e6109);_0x12e84f[_0x289312]={'key':_0x289312,'tableName':_0x9e6109,'datasetCode':_0x3910a3[_0x4e9469(0x31d)],'name':_0x3910a3[_0x4e9469(0x27f)],'id':_0x3910a3['id']};}else{const _0xc8eccb=[..._0x1c87c6][_0x4e9469(0x2f5)]((_0x410dc9,_0x5afef0)=>{const _0x316fcf=Number(_0x410dc9['id'])||0x0,_0x31ac2=Number(_0x5afef0['id'])||0x0;return _0x31ac2-_0x316fcf;});_0xc8eccb[_0x4e9469(0x32d)]((_0x250357,_0x2bd8cc)=>{const _0x22f4e9=_0x4e9469,_0xf21db=_0x76a69e?_0x76a69e(_0x9e6109,_0x250357):getTableKey(_0x9e6109),_0x51fa54=_0x2bd8cc===0x0?_0xf21db:_0xf21db+'_'+_0x2bd8cc;_0x12e84f[_0x51fa54]={'key':_0x51fa54,'tableName':_0x9e6109,'datasetCode':_0x250357[_0x22f4e9(0x31d)],'name':_0x250357[_0x22f4e9(0x27f)],'id':_0x250357['id']};});}}return _0x12e84f;}function detectTableNameConflicts(_0x436585){const _0x4e26d4=a0_0x478a,_0x166a81={};for(const _0x440656 of _0x436585){const _0x1c83bf=getTableName(_0x440656);!_0x166a81[_0x1c83bf]&&(_0x166a81[_0x1c83bf]=[]),_0x166a81[_0x1c83bf][_0x4e26d4(0x1f6)](_0x440656);}const _0x58de8c={};for(const [_0x28d3fd,_0x307dca]of Object[_0x4e26d4(0x310)](_0x166a81)){_0x307dca[_0x4e26d4(0x2f3)]>0x1&&(_0x58de8c[_0x28d3fd]=_0x307dca);}return{'hasConflicts':Object['keys'](_0x58de8c)[_0x4e26d4(0x2f3)]>0x0,'conflicts':_0x58de8c};}function createDatasetNameMap(_0x307a5a){const _0x52fd60=a0_0x478a,_0x3321aa={};for(const [_0x39d7e5,_0x1f58ab]of Object[_0x52fd60(0x310)](_0x307a5a)){_0x3321aa[_0x39d7e5]=_0x1f58ab[_0x52fd60(0x31d)]||'';}return _0x3321aa;}function groupByTableName(_0x3354fb){const _0x11579d=a0_0x478a,_0x349dd3={};for(const _0x23342c of _0x3354fb){const _0x3ea91a=getTableName(_0x23342c);!_0x349dd3[_0x3ea91a]&&(_0x349dd3[_0x3ea91a]=[]),_0x349dd3[_0x3ea91a][_0x11579d(0x1f6)](_0x23342c);}return _0x349dd3;}function datasetsConfigToArray(_0x34b2e7){const _0x35afa9=a0_0x478a;return Object[_0x35afa9(0x22d)](_0x34b2e7);}function adaptDrivenDataDetail(_0x1148a3){const _0x4724c5=a0_0x478a;return{'id':_0x1148a3['modelId'],'name':_0x1148a3['name'],'datasetCode':_0x1148a3[_0x4724c5(0x18c)],'dbtableConfig':_0x1148a3['dbtableConfig'],'source':_0x1148a3[_0x4724c5(0x226)],'version':_0x1148a3['version'],'extend':_0x1148a3[_0x4724c5(0x373)],'properties':_0x1148a3['properties'],'operations':_0x1148a3[_0x4724c5(0x30c)]};}function adaptDrivenDataDetails(_0x18b96a){const _0x18f7c0=a0_0x478a;return _0x18b96a[_0x18f7c0(0x2b2)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x46b57c){const _0x7eb2c2=a0_0x478a;if(!_0x46b57c[_0x7eb2c2(0x29c)]||!_0x46b57c[_0x7eb2c2(0x20f)])throw new Error(_0x7eb2c2(0x2c3)+(_0x46b57c['errorMsg']||_0x46b57c['msg']));return adaptDrivenDataDetail(_0x46b57c[_0x7eb2c2(0x20f)]);}function extractDatasetsFromListResponse(_0x52789f){const _0x1bb46c=a0_0x478a;if(!_0x52789f['success']||!_0x52789f[_0x1bb46c(0x20f)]?.['tableData'])throw new Error('获取数据集列表失败:\x20'+(_0x52789f[_0x1bb46c(0x254)]||_0x52789f['msg']));return _0x52789f[_0x1bb46c(0x20f)]['tableData'][_0x1bb46c(0x2b2)](_0x2a1e9e=>({..._0x2a1e9e,'datasetCode':_0x2a1e9e['code']||_0x2a1e9e[_0x1bb46c(0x31d)]}));}function isDrivenDataDetail(_0x7b705e){return Boolean(_0x7b705e&&typeof _0x7b705e['modelCode']==='string');}function smartAdapt(_0x2f6022){const _0x309bc8=a0_0x478a;if(isDrivenDataDetail(_0x2f6022))return adaptDrivenDataDetail(_0x2f6022);if(_0x2f6022[_0x309bc8(0x31d)])return _0x2f6022;if(_0x2f6022[_0x309bc8(0x227)])return{..._0x2f6022,'datasetCode':_0x2f6022['code']};return _0x2f6022;}var DatasetOperationType;(_0x55767d=>{const _0x170db3=a0_0x478a;_0x55767d[_0x170db3(0x1c8)]='getList',_0x55767d[_0x170db3(0x1ce)]='getOne',_0x55767d[_0x170db3(0x236)]=_0x170db3(0x25e),_0x55767d[_0x170db3(0x363)]=_0x170db3(0x239),_0x55767d['CREATE']=_0x170db3(0x334),_0x55767d[_0x170db3(0x18d)]='update',_0x55767d[_0x170db3(0x1bf)]=_0x170db3(0x30f),_0x55767d['GET_SELECT_OPTIONS']=_0x170db3(0x357),_0x55767d['GET_FILE_URL']=_0x170db3(0x302),_0x55767d[_0x170db3(0x2c6)]=_0x170db3(0x20a),_0x55767d[_0x170db3(0x317)]='getUploadFileScript',_0x55767d['CREATE_IMPORT']=_0x170db3(0x1de),_0x55767d['CREATE_EXPORT']=_0x170db3(0x1f5),_0x55767d[_0x170db3(0x269)]='taskInfo',_0x55767d[_0x170db3(0x2d4)]=_0x170db3(0x263);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x2c4dc0(0x194)]:a0_0x2c4dc0(0x284),[a0_0x2c4dc0(0x365)]:'查询单条',[a0_0x2c4dc0(0x25e)]:a0_0x2c4dc0(0x2c8),[a0_0x2c4dc0(0x239)]:'查询单条(用于更新)',[a0_0x2c4dc0(0x334)]:'创建',[a0_0x2c4dc0(0x24a)]:'更新',[a0_0x2c4dc0(0x30f)]:'删除',['getSelectOptions']:'获取下拉选项',[a0_0x2c4dc0(0x302)]:a0_0x2c4dc0(0x197),[a0_0x2c4dc0(0x20a)]:a0_0x2c4dc0(0x1c4),[a0_0x2c4dc0(0x2f0)]:'获取上传脚本',[a0_0x2c4dc0(0x1de)]:a0_0x2c4dc0(0x208),[a0_0x2c4dc0(0x1f5)]:a0_0x2c4dc0(0x23f),[a0_0x2c4dc0(0x344)]:a0_0x2c4dc0(0x2ae),['importTemplate']:a0_0x2c4dc0(0x29d)},API_BLACKLIST=['getOneOrigin',a0_0x2c4dc0(0x239),a0_0x2c4dc0(0x302)];function parseFieldExtend(_0x34b0bd){const _0x1ab06e=a0_0x2c4dc0;if(!_0x34b0bd||typeof _0x34b0bd!==_0x1ab06e(0x1a0))return!![]&&console[_0x1ab06e(0x26c)]('[parseFieldExtend]\x20Invalid\x20field:',_0x34b0bd),{};if(!_0x34b0bd[_0x1ab06e(0x373)])return{};try{const _0x28b6af=typeof _0x34b0bd[_0x1ab06e(0x373)]===_0x1ab06e(0x2ca)?JSON[_0x1ab06e(0x1f3)](_0x34b0bd[_0x1ab06e(0x373)]):_0x34b0bd[_0x1ab06e(0x373)];if(typeof _0x28b6af!=='object'||_0x28b6af===null)return!![]&&console[_0x1ab06e(0x26c)](_0x1ab06e(0x1db),_0x28b6af),{};return _0x28b6af;}catch(_0x1fa1f5){return!![]&&console[_0x1ab06e(0x26c)](_0x1ab06e(0x2b4)+_0x34b0bd[_0x1ab06e(0x227)]+_0x1ab06e(0x2ce),_0x1fa1f5),{};}}function isPrimaryKeyField(_0x53c6f3,_0x3da625){const _0x2a9658=a0_0x2c4dc0;if(!_0x53c6f3||typeof _0x53c6f3!==_0x2a9658(0x1a0))return![];if(typeof _0x3da625==='string'&&_0x53c6f3[_0x2a9658(0x227)]===_0x3da625)return!![];const _0x5ea9bd=parseFieldExtend(_0x53c6f3);return Boolean(_0x5ea9bd[_0x2a9658(0x1f4)]||_0x5ea9bd[_0x2a9658(0x336)]);}function isSystemField(_0x2449f7){const _0x326e80=a0_0x2c4dc0,_0x454422=parseFieldExtend(_0x2449f7);return Boolean(_0x454422[_0x326e80(0x34f)]);}function isRequiredField(_0x22e9a7){const _0x2e9988=a0_0x2c4dc0,_0x21f77e=parseFieldExtend(_0x22e9a7);return Boolean(_0x21f77e[_0x2e9988(0x316)]);}function isAutoIncrementField(_0x4972db){const _0x331a0a=parseFieldExtend(_0x4972db);return Boolean(_0x331a0a['autoIncrement']);}function isCreateTimeField(_0x921339){const _0x1fef83=a0_0x2c4dc0,_0xe8fb12=parseFieldExtend(_0x921339);return Boolean(_0xe8fb12[_0x1fef83(0x1ae)]);}function isModifyTimeField(_0x4dfa08){const _0x4b0736=a0_0x2c4dc0,_0x1ab0e1=parseFieldExtend(_0x4dfa08);return Boolean(_0x1ab0e1[_0x4b0736(0x28c)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':a0_0x2c4dc0(0x1c7),'DATE':'日期','DATETIME':a0_0x2c4dc0(0x287),'TIMESTAMP':a0_0x2c4dc0(0x22c),'SELECT':'下拉选择','CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0x2c4dc0(0x2f7),'IMAGE':'图片','RICH_TEXT':'富文本','JSON':'JSON','ARRAY':'数组'};function getDbTypeDisplay(_0x91a13){const _0x27e4c5=a0_0x2c4dc0;if(typeof _0x91a13!==_0x27e4c5(0x2ca))return!![]&&console['warn'](_0x27e4c5(0x293),_0x91a13),String(_0x91a13||'-');return DB_TYPE_DISPLAY_MAP[_0x91a13]||_0x91a13;}function formatDbType(_0x56fd5b,_0xd283bb){const _0x4da3a2=a0_0x2c4dc0;if(!_0x56fd5b||typeof _0x56fd5b!==_0x4da3a2(0x2ca))return'-';if(!_0xd283bb||typeof _0xd283bb!=='number')return _0x56fd5b;const _0x16b1db=[_0x4da3a2(0x19b),_0x4da3a2(0x2c5),_0x4da3a2(0x2db),_0x4da3a2(0x1eb)];if(_0x16b1db[_0x4da3a2(0x349)](_0x56fd5b[_0x4da3a2(0x31a)]()))return _0x56fd5b;return _0x56fd5b+'('+_0xd283bb+')';}function parseOperationType(_0x1d4d9b){const _0x22a37e=a0_0x2c4dc0;if(typeof _0x1d4d9b!==_0x22a37e(0x2ca)){!![]&&console[_0x22a37e(0x26c)](_0x22a37e(0x252),_0x1d4d9b);return;}if(Object[_0x22a37e(0x22d)](DatasetOperationType)[_0x22a37e(0x349)](_0x1d4d9b))return _0x1d4d9b;const _0x2b81d5=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)[_0x22a37e(0x2a7)](([_0x5b2325,_0x4a1d77])=>_0x4a1d77===_0x1d4d9b);return _0x2b81d5?_0x2b81d5[0x0]:undefined;}function shouldIncludeField(_0x4ed329,_0x3d140d,_0x493f8e){const _0x8eec48=a0_0x2c4dc0,_0x2004b0=parseFieldExtend(_0x4ed329),_0x9625f6=isPrimaryKeyField(_0x4ed329,_0x493f8e),_0x82e934=Boolean(_0x2004b0[_0x8eec48(0x34f)]),_0x4856ad=Boolean(_0x2004b0['autoIncrement']),_0x2377f0=Boolean(_0x2004b0[_0x8eec48(0x1ae)]),_0x4062dd=Boolean(_0x2004b0[_0x8eec48(0x28c)]);switch(_0x3d140d){case'getList':return!![];case'getOne':case _0x8eec48(0x25e):case _0x8eec48(0x30f):return _0x9625f6;case _0x8eec48(0x334):if(_0x9625f6&&_0x4856ad)return![];if(_0x82e934&&(_0x2377f0||_0x4062dd))return![];return!![];case _0x8eec48(0x24a):case _0x8eec48(0x239):if(_0x9625f6)return!![];if(_0x82e934&&(_0x2377f0||_0x4062dd))return![];return!![];case _0x8eec48(0x357):return _0x4ed329[_0x8eec48(0x227)]===_0x8eec48(0x227);default:return!![];}}function getFieldsForOperation(_0x53309b,_0x415744,_0xf17269){const _0x198f79=a0_0x2c4dc0;if(!Array[_0x198f79(0x35e)](_0x53309b))return!![]&&console[_0x198f79(0x26c)](_0x198f79(0x268),_0x53309b),[];return _0x53309b[_0x198f79(0x358)](_0x3649f9=>shouldIncludeField(_0x3649f9,_0x415744,_0xf17269));}function isApiBlacklisted(_0x2029f7){const _0x197e6f=a0_0x2c4dc0;if(typeof _0x2029f7!==_0x197e6f(0x2ca))return!![]&&console[_0x197e6f(0x26c)]('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0x2029f7),![];return API_BLACKLIST['includes'](_0x2029f7);}function filterApiOperations(_0x15ee8f){const _0x57fe0e=a0_0x2c4dc0;if(!Array[_0x57fe0e(0x35e)](_0x15ee8f))return!![]&&console[_0x57fe0e(0x26c)](_0x57fe0e(0x32f),_0x15ee8f),[];return _0x15ee8f[_0x57fe0e(0x358)](_0x3b1ea6=>_0x3b1ea6&&typeof _0x3b1ea6===_0x57fe0e(0x1a0)&&!isApiBlacklisted(_0x3b1ea6['name']));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x2c4dc0(0x1ad)](),'DATE':()=>Date[a0_0x2c4dc0(0x1ad)](),'SELECT':({fieldInfo:_0x32d420})=>{const _0x51a6c1=a0_0x2c4dc0;if(_0x32d420?.['options']&&Array[_0x51a6c1(0x35e)](_0x32d420['options'])&&_0x32d420[_0x51a6c1(0x190)][_0x51a6c1(0x2f3)]>0x0)return _0x32d420[_0x51a6c1(0x190)][0x0][_0x51a6c1(0x361)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x1a2e7b})=>{const _0x446e54=a0_0x2c4dc0;if(_0x1a2e7b===_0x446e54(0x1fb))return 0x1;if(_0x1a2e7b===_0x446e54(0x301))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x3706e3})=>{const _0x1674a8=a0_0x2c4dc0;if(_0x3706e3&&typeof _0x3706e3===_0x1674a8(0x2ca)){const _0x227173=_0x3706e3[_0x1674a8(0x1a8)]();if(_0x227173[_0x1674a8(0x349)]('邮箱')||_0x227173[_0x1674a8(0x349)](_0x1674a8(0x1e2)))return _0x1674a8(0x2c0);if(_0x227173['includes']('电话')||_0x227173[_0x1674a8(0x349)]('手机')||_0x227173['includes']('phone'))return _0x1674a8(0x2c7);if(_0x227173['includes']('地址')||_0x227173[_0x1674a8(0x349)]('address'))return'北京市朝阳区';if(_0x227173[_0x1674a8(0x349)]('姓名')||_0x227173[_0x1674a8(0x349)](_0x1674a8(0x27f)))return'张三';}return _0x1674a8(0x2ab);},'VARCHAR':({description:_0x343b0d})=>TYPE_VALUE_GENERATORS[a0_0x2c4dc0(0x19b)]({'description':_0x343b0d}),'CHAR':({description:_0x14b01c})=>TYPE_VALUE_GENERATORS[a0_0x2c4dc0(0x19b)]({'description':_0x14b01c}),'STRING':({fieldInfo:_0x27df5f,description:_0x37768e})=>{const _0x4a7b1e=a0_0x2c4dc0;if(_0x27df5f?.[_0x4a7b1e(0x34c)]&&typeof _0x27df5f[_0x4a7b1e(0x34c)]===_0x4a7b1e(0x2ca)&&_0x27df5f['placeholder']!==_0x4a7b1e(0x1e6))return _0x27df5f['placeholder']['replace'](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x4a7b1e(0x19b)]({'description':_0x37768e});},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x2c4dc0(0x2b3),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x2c4dc0(0x361)}),'ARRAY':()=>[a0_0x2c4dc0(0x2bf),'item2'],'UPLOAD':()=>a0_0x2c4dc0(0x2d6),'IMAGE':()=>a0_0x2c4dc0(0x35b),'RICH_TEXT':()=>a0_0x2c4dc0(0x1e0)};function generateExampleValue(_0x59b3d2,_0x41c9cb,_0x3a193e,_0x5f40cc={}){const _0x2ca221=a0_0x2c4dc0;typeof _0x59b3d2!==_0x2ca221(0x2ca)&&(!![]&&console['warn'](_0x2ca221(0x36f),_0x59b3d2),_0x59b3d2=String(_0x59b3d2||''));if(typeof _0x41c9cb!==_0x2ca221(0x2ca))return!![]&&console[_0x2ca221(0x26c)](_0x2ca221(0x2fb),_0x41c9cb),_0x2ca221(0x258);const {isPrimaryKey:_0x1c0880,dbtableConfig:_0xda5a57}=_0x5f40cc;if(_0x1c0880)return 0x1;if(_0xda5a57&&typeof _0xda5a57===_0x2ca221(0x1a0)){const _0x3e51c9=_0xda5a57[_0x2ca221(0x34b)]?.[_0x2ca221(0x2e4)]===_0x59b3d2,_0x8d203e=_0xda5a57[_0x2ca221(0x1d0)]?.[_0x2ca221(0x2e4)]===_0x59b3d2;if(_0x3e51c9||_0x8d203e){if(_0x3a193e&&typeof _0x3a193e==='string'&&_0x3a193e[_0x2ca221(0x31a)]()['includes']('TIMESTAMP'))return Date[_0x2ca221(0x1ad)]();return new Date()[_0x2ca221(0x300)]()[_0x2ca221(0x326)]('T','\x20')[_0x2ca221(0x28a)]('.')[0x0];}}const _0x4b48f6={..._0x5f40cc,'fieldCode':_0x59b3d2};if(_0x3a193e&&typeof _0x3a193e===_0x2ca221(0x2ca)){const _0x3d7b05=_0x3a193e[_0x2ca221(0x31a)](),_0x287953=TYPE_VALUE_GENERATORS[_0x3d7b05];if(_0x287953)return _0x287953(_0x4b48f6);}if(_0x41c9cb&&typeof _0x41c9cb===_0x2ca221(0x2ca)){const _0x2a529b=_0x41c9cb['toUpperCase'](),_0x33f49e=TYPE_VALUE_GENERATORS[_0x2a529b];if(_0x33f49e)return _0x33f49e(_0x4b48f6);}return _0x2ca221(0x258);}function generateExampleFromSchema(_0x41cb8e,_0x5f0855){const _0x54dec3=a0_0x2c4dc0;if(!_0x41cb8e||typeof _0x41cb8e!=='object')return{};if(Array['isArray'](_0x41cb8e)){if(_0x41cb8e['length']>0x0)return[generateExampleFromSchema(_0x41cb8e[0x0],_0x5f0855)];return[];}const _0x570f85={};return Object[_0x54dec3(0x21f)](_0x41cb8e)[_0x54dec3(0x32d)](_0x504b12=>{const _0x506115=_0x54dec3,_0x11ef20=_0x41cb8e[_0x504b12];if(_0x11ef20&&typeof _0x11ef20==='object'&&!Array[_0x506115(0x35e)](_0x11ef20)&&_0x11ef20['type']){const _0x771f35=_0x11ef20,_0xf7b94=_0x771f35['type'],_0x2cb071=_0x771f35[_0x506115(0x1fc)];typeof _0xf7b94===_0x506115(0x2ca)?_0x570f85[_0x504b12]=generateExampleValue(_0x504b12,_0xf7b94,undefined,{'description':_0x2cb071,'dbtableConfig':_0x5f0855}):_0x570f85[_0x504b12]=_0x506115(0x258);}else{if(Array[_0x506115(0x35e)](_0x11ef20))_0x570f85[_0x504b12]=_0x11ef20[_0x506115(0x2f3)]>0x0?[generateExampleFromSchema(_0x11ef20[0x0],_0x5f0855)]:[];else _0x11ef20&&typeof _0x11ef20==='object'?_0x570f85[_0x504b12]=generateExampleFromSchema(_0x11ef20,_0x5f0855):_0x570f85[_0x504b12]=_0x11ef20;}}),_0x570f85;}function parseRequestBody(_0x111d84){const _0x29cad4=a0_0x2c4dc0;if(!_0x111d84)return{};try{return JSON['parse'](_0x111d84);}catch(_0x39450d){return!![]&&console['warn'](_0x29cad4(0x1c9),_0x39450d),{};}}function parseResponseBody(_0x2ba3d2){const _0x461b6b=a0_0x2c4dc0;if(!_0x2ba3d2)return null;try{const _0x5be6d2=JSON[_0x461b6b(0x1f3)](_0x2ba3d2);return _0x5be6d2[_0x461b6b(0x1a2)]||_0x5be6d2;}catch(_0x57028b){return!![]&&console['warn'](_0x461b6b(0x232),_0x57028b),null;}}function generateRequestExample(_0x2c51e5,_0xe0ad7b,_0x4ebd75,_0x48bfd3){const _0x58f909=a0_0x2c4dc0,_0x4f775c={};if(!Array[_0x58f909(0x35e)](_0x2c51e5))return!![]&&console[_0x58f909(0x26c)](_0x58f909(0x2e5),_0x2c51e5),_0x4f775c;return _0x2c51e5[_0x58f909(0x32d)](_0x428b10=>{const _0x6462c5=_0x58f909;if(!_0x428b10||typeof _0x428b10!=='object'){!![]&&console[_0x6462c5(0x26c)]('[generateRequestExample]\x20Invalid\x20field:',_0x428b10);return;}if(typeof _0x428b10[_0x6462c5(0x227)]!==_0x6462c5(0x2ca)||typeof _0x428b10[_0x6462c5(0x20d)]!==_0x6462c5(0x2ca)){!![]&&console['warn'](_0x6462c5(0x34d),_0x428b10);return;}const _0x5bd3a3=parseFieldExtend(_0x428b10),_0x3ccd3a=_0x428b10[_0x6462c5(0x227)]===_0x4ebd75||Boolean(_0x5bd3a3?.[_0x6462c5(0x1f4)]),_0x3a3bba=generateExampleValue(_0x428b10['code'],_0x428b10[_0x6462c5(0x20d)],typeof _0x428b10[_0x6462c5(0x2ef)]===_0x6462c5(0x2ca)?_0x428b10[_0x6462c5(0x2ef)]:undefined,{'fieldInfo':_0x5bd3a3,'isPrimaryKey':_0x3ccd3a,'description':_0x428b10[_0x6462c5(0x1fc)]||_0x428b10[_0x6462c5(0x27f)],'dbtableConfig':_0x48bfd3});_0x4f775c[_0x428b10[_0x6462c5(0x227)]]=_0x3a3bba;}),_0xe0ad7b===_0x58f909(0x194)&&(_0x4f775c[_0x58f909(0x1fb)]=0x1,_0x4f775c[_0x58f909(0x301)]=0xa),_0x4f775c;}function formatEnumValue(_0x28ef16,_0x35cb2d){const _0x3de72b=a0_0x2c4dc0;if(_0x28ef16[_0x3de72b(0x2e9)]&&Array[_0x3de72b(0x35e)](_0x35cb2d))return _0x35cb2d['map'](_0xfb041a=>_0x28ef16[_0x3de72b(0x229)][String(_0xfb041a)]||String(_0xfb041a))[_0x3de72b(0x2f8)](',\x20');return _0x28ef16['valueLabels'][String(_0x35cb2d)]||String(_0x35cb2d);}function formatOptionsForDoc(_0x298995){const _0x4539ac=a0_0x2c4dc0;return _0x298995[_0x4539ac(0x2b2)](_0x5c4c65=>_0x5c4c65[_0x4539ac(0x361)]+'('+_0x5c4c65[_0x4539ac(0x2df)]+')')[_0x4539ac(0x2f8)](',\x20');}function formatOptionsAsMarkdownList(_0x1512da,_0x83073e=0x0){const _0x169a70=a0_0x2c4dc0,_0x1b62db='\x20\x20'[_0x169a70(0x26d)](_0x83073e),_0x5a82c3=[];return _0x1512da[_0x169a70(0x32d)](_0x3d1142=>{const _0xd36b37=_0x169a70;_0x5a82c3[_0xd36b37(0x1f6)](_0x1b62db+_0xd36b37(0x1ee)+_0x3d1142[_0xd36b37(0x361)]+_0xd36b37(0x2b5)+_0x3d1142[_0xd36b37(0x2df)]),_0x3d1142[_0xd36b37(0x306)]&&_0x3d1142['children'][_0xd36b37(0x2f3)]>0x0&&_0x5a82c3[_0xd36b37(0x1f6)](formatOptionsAsMarkdownList(_0x3d1142[_0xd36b37(0x306)],_0x83073e+0x1));}),_0x5a82c3['join']('\x0a');}class DbtableConfig{['_raw'];constructor(_0x51d441){const _0x50363c=a0_0x2c4dc0;this[_0x50363c(0x25b)]={..._0x51d441};}get[a0_0x2c4dc0(0x274)](){const _0x180e31=a0_0x2c4dc0;return this[_0x180e31(0x25b)]['dbId'];}get[a0_0x2c4dc0(0x217)](){const _0x51429f=a0_0x2c4dc0;return this[_0x51429f(0x25b)][_0x51429f(0x217)];}get[a0_0x2c4dc0(0x273)](){const _0x5bb5d8=a0_0x2c4dc0;return this[_0x5bb5d8(0x25b)][_0x5bb5d8(0x273)];}get[a0_0x2c4dc0(0x336)](){const _0x72d152=a0_0x2c4dc0;return this[_0x72d152(0x25b)]['pkField'];}get[a0_0x2c4dc0(0x1e8)](){const _0x277d6d=a0_0x2c4dc0;return this[_0x277d6d(0x25b)]['labelField'];}get[a0_0x2c4dc0(0x2bb)](){const _0x4e3907=a0_0x2c4dc0;return this['_raw'][_0x4e3907(0x2bb)];}get[a0_0x2c4dc0(0x34b)](){const _0x3db3de=a0_0x2c4dc0;return this[_0x3db3de(0x25b)][_0x3db3de(0x34b)];}get[a0_0x2c4dc0(0x1d0)](){const _0x10a3e5=a0_0x2c4dc0;return this[_0x10a3e5(0x25b)][_0x10a3e5(0x1d0)];}get[a0_0x2c4dc0(0x20b)](){const _0x1c3283=a0_0x2c4dc0;return this[_0x1c3283(0x25b)][_0x1c3283(0x20b)];}get[a0_0x2c4dc0(0x199)](){const _0xe02e71=a0_0x2c4dc0;return this[_0xe02e71(0x25b)][_0xe02e71(0x199)];}get['modifierIdField'](){const _0x3e1499=a0_0x2c4dc0;return this[_0x3e1499(0x25b)]['modifierIdField'];}get['modifierNameField'](){const _0x4676fb=a0_0x2c4dc0;return this[_0x4676fb(0x25b)][_0x4676fb(0x18f)];}get['dblinkInfoDTO'](){const _0x5dde49=a0_0x2c4dc0;return this['_raw'][_0x5dde49(0x327)];}['getAllFieldsArray'](){const _0x3f2776=a0_0x2c4dc0;if(!this[_0x3f2776(0x25b)]['allFields'])return[];return this[_0x3f2776(0x25b)]['allFields'][_0x3f2776(0x28a)](',')[_0x3f2776(0x2b2)](_0x54e0b8=>_0x54e0b8[_0x3f2776(0x1bd)]())[_0x3f2776(0x358)](Boolean);}[a0_0x2c4dc0(0x2a2)](){const _0x134f97=a0_0x2c4dc0;return this[_0x134f97(0x25b)][_0x134f97(0x2a4)];}[a0_0x2c4dc0(0x2b0)](_0x1b3472){const _0x2a45f4=a0_0x2c4dc0;return this['getAllFieldsArray']()[_0x2a45f4(0x349)](_0x1b3472);}[a0_0x2c4dc0(0x242)](){return Boolean(this['_raw']['tableName']);}['hasDblinkInfo'](){const _0x81bfcf=a0_0x2c4dc0;return Boolean(this['_raw'][_0x81bfcf(0x327)]);}[a0_0x2c4dc0(0x350)](){const _0x4fe56b=a0_0x2c4dc0;return Boolean(this[_0x4fe56b(0x25b)][_0x4fe56b(0x2bb)]?.[_0x4fe56b(0x2e4)]);}['hasCreateTimeField'](){const _0x261da4=a0_0x2c4dc0;return Boolean(this[_0x261da4(0x25b)][_0x261da4(0x34b)]?.['fieldName']);}[a0_0x2c4dc0(0x271)](){const _0x208d2f=a0_0x2c4dc0;return Boolean(this['_raw'][_0x208d2f(0x1d0)]?.['fieldName']);}[a0_0x2c4dc0(0x2c2)](){const _0x1c2d51=a0_0x2c4dc0;return Boolean(this[_0x1c2d51(0x25b)]['creatorIdField']?.['fieldName']);}[a0_0x2c4dc0(0x2b6)](){const _0x2d7f5f=a0_0x2c4dc0;return Boolean(this[_0x2d7f5f(0x25b)][_0x2d7f5f(0x324)]?.[_0x2d7f5f(0x2e4)]);}['isPrimaryKeyField'](_0x542c8c){const _0x4248a9=a0_0x2c4dc0;return this[_0x4248a9(0x25b)]['pkField']===_0x542c8c;}[a0_0x2c4dc0(0x314)](_0x31e0ff){const _0x2e545a=a0_0x2c4dc0;return this['isPrimaryKeyField'](_0x31e0ff)||this['_raw']['logicField']?.[_0x2e545a(0x2e4)]===_0x31e0ff||this[_0x2e545a(0x25b)]['createTimeField']?.[_0x2e545a(0x2e4)]===_0x31e0ff||this['_raw'][_0x2e545a(0x1d0)]?.[_0x2e545a(0x2e4)]===_0x31e0ff||this[_0x2e545a(0x25b)][_0x2e545a(0x20b)]?.[_0x2e545a(0x2e4)]===_0x31e0ff||this['_raw'][_0x2e545a(0x199)]?.['fieldName']===_0x31e0ff||this[_0x2e545a(0x25b)]['modifierIdField']?.['fieldName']===_0x31e0ff||this[_0x2e545a(0x25b)][_0x2e545a(0x18f)]?.['fieldName']===_0x31e0ff;}[a0_0x2c4dc0(0x295)](){const _0x27349a=a0_0x2c4dc0;return this[_0x27349a(0x25b)][_0x27349a(0x327)]?.[_0x27349a(0x333)];}['getDatabaseType'](){const _0x4d5236=a0_0x2c4dc0;return this[_0x4d5236(0x25b)]['dblinkInfoDTO']?.[_0x4d5236(0x2ef)];}[a0_0x2c4dc0(0x251)](){const _0xff0887=a0_0x2c4dc0;return this[_0xff0887(0x25b)][_0xff0887(0x327)]?.['dbVersion'];}[a0_0x2c4dc0(0x219)](){const _0x5a3834=a0_0x2c4dc0;return this['_raw'][_0x5a3834(0x327)]?.[_0x5a3834(0x28b)];}[a0_0x2c4dc0(0x2aa)](){const _0x5630ab=a0_0x2c4dc0;return this[_0x5630ab(0x25b)]['dblinkInfoDTO']?.['appCode'];}[a0_0x2c4dc0(0x213)](){const _0x163ac8=a0_0x2c4dc0;return this['_raw'][_0x163ac8(0x327)]?.[_0x163ac8(0x34a)];}[a0_0x2c4dc0(0x2ee)](){const _0x2cc7e8=a0_0x2c4dc0;return{'hasTableName':this[_0x2cc7e8(0x242)](),'hasDblinkInfo':this[_0x2cc7e8(0x22b)](),'fieldCount':this[_0x2cc7e8(0x353)]()[_0x2cc7e8(0x2f3)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x2cc7e8(0x270)](),'hasUpdateTimeField':this[_0x2cc7e8(0x271)](),'hasCreatorIdField':this[_0x2cc7e8(0x2c2)](),'hasModifierIdField':this[_0x2cc7e8(0x2b6)]()}};}[a0_0x2c4dc0(0x30e)](){const _0x3111dc=a0_0x2c4dc0;return{'tableName':this[_0x3111dc(0x217)],'pkField':this[_0x3111dc(0x336)],'datasetKey':this[_0x3111dc(0x273)],'dbId':this[_0x3111dc(0x274)]};}[a0_0x2c4dc0(0x309)](){return{...this['_raw']};}[a0_0x2c4dc0(0x31c)](){const _0xb5a807=a0_0x2c4dc0;return{...this[_0xb5a807(0x25b)]};}['toString'](){const _0x4f467c=a0_0x2c4dc0,_0x26b2bb=this[_0x4f467c(0x217)]||_0x4f467c(0x36b),_0x27ad04=this['getAllFieldsArray']()[_0x4f467c(0x2f3)];return'DbtableConfig(table:\x20'+_0x26b2bb+',\x20fields:\x20'+_0x27ad04+')';}static[a0_0x2c4dc0(0x281)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x2c4dc0(0x25b)];constructor(_0x176200){const _0x5c970e=a0_0x2c4dc0,_0x2e4740=_0x176200['datasetCode']||_0x176200[_0x5c970e(0x227)]||_0x176200[_0x5c970e(0x18c)];this[_0x5c970e(0x25b)]={..._0x176200,'datasetCode':_0x2e4740};}get['id'](){const _0x38edde=a0_0x2c4dc0;return this[_0x38edde(0x25b)]['id'];}get[a0_0x2c4dc0(0x27f)](){const _0x1274ec=a0_0x2c4dc0;return this[_0x1274ec(0x25b)][_0x1274ec(0x27f)];}['getName'](){const _0x23d70f=a0_0x2c4dc0;return this[_0x23d70f(0x27f)];}get[a0_0x2c4dc0(0x31d)](){const _0x3505f7=a0_0x2c4dc0;return this[_0x3505f7(0x25b)][_0x3505f7(0x31d)]||'';}get[a0_0x2c4dc0(0x246)](){const _0x374083=a0_0x2c4dc0;if(!this[_0x374083(0x25b)][_0x374083(0x246)])return null;return new DbtableConfig(this['_raw'][_0x374083(0x246)]);}[a0_0x2c4dc0(0x257)](){const _0x10452a=a0_0x2c4dc0;return this[_0x10452a(0x25b)][_0x10452a(0x246)];}['getTableName'](){const _0x2045be=a0_0x2c4dc0;return getTableName(this[_0x2045be(0x25b)]);}['getTableKey'](){const _0x190dc5=a0_0x2c4dc0;return getTableKey(this[_0x190dc5(0x21b)]());}[a0_0x2c4dc0(0x1a3)](){const _0x21d579=a0_0x2c4dc0;return isVirtualTableName(this[_0x21d579(0x21b)]());}['getModelName'](){return toPascalCase(this['getTableName']());}['toConfig'](){const _0x4c8afc=a0_0x2c4dc0;return{'key':getTableKey(this[_0x4c8afc(0x21b)]()),'tableName':this[_0x4c8afc(0x21b)](),'datasetCode':this[_0x4c8afc(0x31d)],'name':this['name']};}[a0_0x2c4dc0(0x309)](){const _0x292cd0=a0_0x2c4dc0;return{...this[_0x292cd0(0x25b)],'datasetCode':this[_0x292cd0(0x31d)]};}['getRaw'](){const _0x11a782=a0_0x2c4dc0;return{...this[_0x11a782(0x25b)]};}['hasDbtableConfig'](){const _0x57003a=a0_0x2c4dc0,_0x584910=this[_0x57003a(0x246)];return _0x584910!==null&&_0x584910['hasTableName']();}['getExtendField'](_0x4142f1){const _0x415366=a0_0x2c4dc0;return this[_0x415366(0x25b)][_0x4142f1];}['hasExtendField'](_0x2b7f4b){const _0x3c0af5=a0_0x2c4dc0;return _0x2b7f4b in this[_0x3c0af5(0x25b)];}['toString'](){const _0x38f35d=a0_0x2c4dc0;return'DatasetItem('+this[_0x38f35d(0x27f)]+',\x20'+this[_0x38f35d(0x31d)]+')';}}class Operation{[a0_0x2c4dc0(0x27f)];['_raw'];['context'];constructor(_0x24f668,_0x3cb754,_0x3ea43e){const _0x5a5915=a0_0x2c4dc0;this['name']=_0x24f668,this[_0x5a5915(0x25b)]=_0x3cb754,this[_0x5a5915(0x220)]=_0x3ea43e;}[a0_0x2c4dc0(0x1f0)](){const _0x1fdf21=a0_0x2c4dc0;return this[_0x1fdf21(0x27f)];}[a0_0x2c4dc0(0x2eb)](){const _0x253aea=a0_0x2c4dc0,_0x3f45f4=this['getType']();return _0x3f45f4?OPERATION_TYPE_DISPLAY_NAME[_0x3f45f4]:this[_0x253aea(0x27f)];}[a0_0x2c4dc0(0x19d)](){const _0x5eaf0c=a0_0x2c4dc0;return parseOperationType(this[_0x5eaf0c(0x27f)]);}['isEnabled'](){const _0x3d7841=a0_0x2c4dc0;return this[_0x3d7841(0x25b)]!=null&&this[_0x3d7841(0x25b)]!==![];}['getMethod'](){const _0x530330=a0_0x2c4dc0;if(!this[_0x530330(0x304)]()||!this[_0x530330(0x25b)])return'';const _0x25ccbb=this[_0x530330(0x25b)][_0x530330(0x2bc)];return typeof _0x25ccbb==='string'?_0x25ccbb:_0x530330(0x322);}[a0_0x2c4dc0(0x2fc)](){const _0x42f990=a0_0x2c4dc0;if(!this[_0x42f990(0x304)]()||!this[_0x42f990(0x25b)])return'';const _0x5be8f5=this[_0x42f990(0x25b)][_0x42f990(0x36c)];return typeof _0x5be8f5==='string'?_0x5be8f5:'';}[a0_0x2c4dc0(0x1fe)](){const _0x24bcd6=a0_0x2c4dc0;if(!this['isEnabled']()||!this['_raw'])return'';const {host:_0x5cb17a,path:_0x399b22}=this[_0x24bcd6(0x25b)],_0x40a43e=typeof _0x5cb17a===_0x24bcd6(0x2ca)?_0x5cb17a:'',_0x52ec99=typeof _0x399b22===_0x24bcd6(0x2ca)?_0x399b22:'';return _0x40a43e&&_0x52ec99?''+_0x40a43e+_0x52ec99:_0x52ec99;}[a0_0x2c4dc0(0x1f9)](){const _0xba4c7a=a0_0x2c4dc0;return Object[_0xba4c7a(0x21f)](this[_0xba4c7a(0x29e)]());}[a0_0x2c4dc0(0x1af)](){const _0xd37ae7=a0_0x2c4dc0;if(!this[_0xd37ae7(0x304)]()||typeof this[_0xd37ae7(0x25b)]==='boolean'||!this[_0xd37ae7(0x25b)]?.[_0xd37ae7(0x2e2)])return{};const _0x514939=this[_0xd37ae7(0x25b)][_0xd37ae7(0x2e2)];if(typeof _0x514939!=='string')return!![]&&console[_0xd37ae7(0x26c)](_0xd37ae7(0x33d),_0x514939),{};return parseRequestBody(_0x514939);}[a0_0x2c4dc0(0x18a)](){const _0x2c503f=a0_0x2c4dc0;if(!this[_0x2c503f(0x304)]()||typeof this[_0x2c503f(0x25b)]===_0x2c503f(0x245)||!this[_0x2c503f(0x25b)]?.['responseBody'])return null;const _0x2e60b7=this[_0x2c503f(0x25b)][_0x2c503f(0x297)];if(typeof _0x2e60b7!==_0x2c503f(0x2ca))return!![]&&console['warn'](_0x2c503f(0x1c0),_0x2e60b7),null;return parseResponseBody(_0x2e60b7);}[a0_0x2c4dc0(0x193)](_0x25db16,_0x34238c,_0x337251,_0x1c8ced){const _0x23d8bb=a0_0x2c4dc0;return generateExampleValue(_0x25db16,_0x34238c,_0x337251,{'isPrimaryKey':_0x1c8ced?.[_0x23d8bb(0x323)],'description':_0x1c8ced?.[_0x23d8bb(0x1fc)],'dbtableConfig':this[_0x23d8bb(0x220)][_0x23d8bb(0x246)]});}['getFieldDefinition'](_0x1b385c){const _0x2c60ec=a0_0x2c4dc0;if(!Array['isArray'](this[_0x2c60ec(0x220)]['fields'])){!![]&&console[_0x2c60ec(0x26c)](_0x2c60ec(0x1a1));return;}if(typeof _0x1b385c!=='string'){!![]&&console[_0x2c60ec(0x26c)](_0x2c60ec(0x2c9),_0x1b385c);return;}return this['context'][_0x2c60ec(0x1a5)][_0x2c60ec(0x2a7)](_0x4eccc6=>_0x4eccc6&&_0x4eccc6[_0x2c60ec(0x227)]===_0x1b385c);}[a0_0x2c4dc0(0x29a)](){const _0x576822=a0_0x2c4dc0,_0x10d546=this['isEnabled']()?'启用':'禁用';return this[_0x576822(0x2eb)]()+'('+this['name']+',\x20'+_0x10d546+')';}[a0_0x2c4dc0(0x2fe)](){return[];}['getFieldOperators'](_0x5934f7){return[];}[a0_0x2c4dc0(0x19f)](_0x2a30d4){const _0x388d3c=a0_0x2c4dc0,_0x15c69a=this[_0x388d3c(0x1f0)](),_0x440cb7='//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.'+_0x2a30d4+'.'+_0x15c69a+'(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容',_0x9c1c92=_0x388d3c(0x25a)+_0x2a30d4+'.'+_0x15c69a+_0x388d3c(0x264);return{'successCode':_0x440cb7,'errorCode':_0x9c1c92};}['toJSON'](){const _0x33c209=a0_0x2c4dc0;return{'name':this['getName'](),'displayName':this[_0x33c209(0x2eb)](),'type':this[_0x33c209(0x19d)](),'enabled':this[_0x33c209(0x304)](),'method':this[_0x33c209(0x1ef)](),'path':this[_0x33c209(0x2fc)](),'fullUrl':this[_0x33c209(0x1fe)](),'requestFields':this['getRequestFields'](),'requestParams':this['getRequestParams'](),'responseSchema':this[_0x33c209(0x36d)](),'requestExample':this[_0x33c209(0x2fd)](),'responseExample':this['generateResponseExample']()};}}class GenericOperation extends Operation{['getRequestParams'](){const _0xf90e1d=a0_0x2c4dc0;return this[_0xf90e1d(0x1af)]();}[a0_0x2c4dc0(0x36d)](){return this['parseRawResponseBody']();}['generateRequestExample'](){const _0xd31055=a0_0x2c4dc0,_0xf8eaba={},_0x4fc4ce=this['getRequestParams'](),_0x5ae8be=this[_0xd31055(0x19d)]();if(Object[_0xd31055(0x21f)](_0x4fc4ce)['length']===0x0&&_0x5ae8be){const _0x4b515c=getFieldsForOperation(this['context'][_0xd31055(0x1a5)],_0x5ae8be,this[_0xd31055(0x220)][_0xd31055(0x336)]);return _0x4b515c[_0xd31055(0x32d)](_0x39c90f=>{const _0x1380b8=_0xd31055,_0x12648a=this[_0x1380b8(0x193)](_0x39c90f[_0x1380b8(0x227)],_0x39c90f[_0x1380b8(0x20d)],typeof _0x39c90f[_0x1380b8(0x2ef)]===_0x1380b8(0x2ca)?_0x39c90f[_0x1380b8(0x2ef)]:undefined,{'isPrimaryKey':_0x39c90f['code']===this['context'][_0x1380b8(0x336)],'description':_0x39c90f['description']||_0x39c90f['name']});_0xf8eaba[_0x39c90f['code']]=_0x12648a;}),_0xf8eaba;}return Object['entries'](_0x4fc4ce)[_0xd31055(0x32d)](([_0x4530db,_0x35bb9f])=>{const _0x517652=_0xd31055,_0x3d0af0=_0x35bb9f;let _0x4c9819;if(typeof _0x3d0af0[_0x517652(0x20d)]===_0x517652(0x2ca))_0x4c9819=_0x3d0af0['type'];else _0x3d0af0[_0x517652(0x20d)]&&typeof _0x3d0af0[_0x517652(0x20d)]===_0x517652(0x1a0)?_0x4c9819=_0x3d0af0[_0x517652(0x20d)]['type']||_0x517652(0x19b):_0x4c9819=_0x517652(0x19b);const _0x17c9f4=_0x3d0af0[_0x517652(0x1fc)],_0x532f94=this[_0x517652(0x321)](_0x4530db);if(_0x4530db===_0x517652(0x1fb))_0xf8eaba[_0x4530db]=0x1;else{if(_0x4530db===_0x517652(0x301))_0xf8eaba[_0x4530db]=0xa;else _0x4530db==='id'?_0xf8eaba[_0x4530db]=0x1:_0xf8eaba[_0x4530db]=this[_0x517652(0x193)](_0x4530db,_0x4c9819,typeof _0x532f94?.[_0x517652(0x2ef)]==='string'?_0x532f94['dbType']:undefined,{'isPrimaryKey':_0x4530db===this[_0x517652(0x220)][_0x517652(0x336)]||_0x4530db==='id','description':_0x17c9f4||_0x532f94?.['description']||_0x532f94?.[_0x517652(0x27f)]});}}),_0xf8eaba;}[a0_0x2c4dc0(0x294)](){const _0x208a7c=a0_0x2c4dc0,_0x332ddf=this['getResponseSchema']();if(!_0x332ddf)return{'success':!![],'msg':_0x208a7c(0x2d7),'errorMsg':'','errorCode':_0x208a7c(0x2a1),'data':null};return this[_0x208a7c(0x303)](_0x332ddf);}['generateFromSchema'](_0x3facae){const _0x109095=a0_0x2c4dc0;if(!_0x3facae||typeof _0x3facae!==_0x109095(0x1a0))return{};if(Array[_0x109095(0x35e)](_0x3facae)){if(_0x3facae[_0x109095(0x2f3)]>0x0)return[this[_0x109095(0x303)](_0x3facae[0x0])];return[];}const _0x509160={};return Object[_0x109095(0x21f)](_0x3facae)['forEach'](_0x2255d0=>{const _0x512074=_0x109095,_0x56e3bb=_0x3facae[_0x2255d0];if(_0x56e3bb&&typeof _0x56e3bb===_0x512074(0x1a0)&&!Array[_0x512074(0x35e)](_0x56e3bb)&&_0x56e3bb[_0x512074(0x20d)]){const _0xcddaa3=_0x56e3bb;let _0x452c03;if(typeof _0xcddaa3[_0x512074(0x20d)]===_0x512074(0x2ca))_0x452c03=_0xcddaa3[_0x512074(0x20d)];else _0xcddaa3[_0x512074(0x20d)]&&typeof _0xcddaa3[_0x512074(0x20d)]===_0x512074(0x1a0)?_0x452c03=_0xcddaa3[_0x512074(0x20d)]['type']||_0x512074(0x19b):_0x452c03=_0x512074(0x19b);const _0x41d845=_0xcddaa3[_0x512074(0x1fc)];_0x509160[_0x2255d0]=this[_0x512074(0x193)](_0x2255d0,_0x452c03,undefined,{'description':_0x41d845});}else{if(Array[_0x512074(0x35e)](_0x56e3bb))_0x509160[_0x2255d0]=_0x56e3bb[_0x512074(0x2f3)]>0x0?[this[_0x512074(0x303)](_0x56e3bb[0x0])]:[];else _0x56e3bb&&typeof _0x56e3bb===_0x512074(0x1a0)?_0x509160[_0x2255d0]=this[_0x512074(0x303)](_0x56e3bb):_0x509160[_0x2255d0]=_0x56e3bb;}}),_0x509160;}['generateSDKCallCode'](_0x1a9410,_0x3c596d){const _0x1786c5=a0_0x2c4dc0,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3c596d||{},_0x18cc5d=this[_0x1786c5(0x1f0)](),_0x49d8c8=this['getType'](),_0x53d707=this[_0x1786c5(0x1f9)](),_0x18a4d5=this['generateRequestExample'](),_0x1341e9=_0x8e2b6f=>{const _0x23300f=_0x1786c5;if(Object[_0x23300f(0x21f)](_0x8e2b6f)[_0x23300f(0x2f3)]===0x0)return'{}';const _0x5587dd=JSON['stringify'](_0x8e2b6f,null,0x2)[_0x23300f(0x28a)]('\x0a')[_0x23300f(0x2b2)]((_0x50719c,_0x12a625)=>_0x12a625===0x0?_0x50719c:indent+_0x50719c)['join']('\x0a');return _0x5587dd;};switch(_0x49d8c8){case'getOne':case _0x1786c5(0x30f):return _0x1786c5(0x1d1)+_0x1a9410+'.'+_0x18cc5d+_0x1786c5(0x1b6);case _0x1786c5(0x24a):if(useFullExample&&Object[_0x1786c5(0x21f)](_0x18a4d5)[_0x1786c5(0x2f3)]>0x0)return _0x1786c5(0x1d1)+_0x1a9410+'.'+_0x18cc5d+_0x1786c5(0x319)+_0x1341e9(_0x18a4d5)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x1a9410+'.'+_0x18cc5d+'(id,\x20data);';case _0x1786c5(0x334):case _0x1786c5(0x194):case _0x1786c5(0x357):default:if(_0x53d707[_0x1786c5(0x2f3)]>0x0){if(useFullExample&&Object[_0x1786c5(0x21f)](_0x18a4d5)[_0x1786c5(0x2f3)]>0x0)return _0x1786c5(0x1d1)+_0x1a9410+'.'+_0x18cc5d+'('+_0x1341e9(_0x18a4d5)+');';else{const _0x202daa=Object[_0x1786c5(0x21f)](_0x18a4d5);if(_0x202daa[_0x1786c5(0x2f3)]>0x0){const _0x44dbe8=_0x202daa['slice'](0x0,0x2)[_0x1786c5(0x2f8)](',\x20');return _0x1786c5(0x1d1)+_0x1a9410+'.'+_0x18cc5d+'({\x20'+_0x44dbe8+_0x1786c5(0x2a3);}else return _0x1786c5(0x1d1)+_0x1a9410+'.'+_0x18cc5d+_0x1786c5(0x241);}}else return _0x1786c5(0x1d1)+_0x1a9410+'.'+_0x18cc5d+_0x1786c5(0x1b1);}}[a0_0x2c4dc0(0x204)](){const _0x48dbf1=a0_0x2c4dc0;return[{'title':_0x48dbf1(0x296),'data':this[_0x48dbf1(0x2fd)]()}];}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x2c4dc0(0x29e)](){const _0x247dc2=a0_0x2c4dc0,_0x17214e=super[_0x247dc2(0x29e)](),_0x4a6dca=Object['keys'](_0x17214e);return(_0x4a6dca[_0x247dc2(0x2f3)]===0x0||_0x4a6dca[_0x247dc2(0x2f3)]===0x1&&_0x4a6dca[0x0]==='code')&&(!_0x17214e['code']&&(_0x17214e['code']={'type':_0x247dc2(0x1e7),'description':_0x247dc2(0x24f)}),_0x17214e[_0x247dc2(0x2df)]={'type':'String','description':'字段名称'}),_0x17214e;}['generateRequestExample'](){const _0x1b9208=a0_0x2c4dc0;return{'code':_0x1b9208(0x196),'label':_0x1b9208(0x196)};}[a0_0x2c4dc0(0x1ea)](_0xe5cc5b){const _0x396471=a0_0x2c4dc0,_0x18b8f6=this[_0x396471(0x1f0)]();return _0x396471(0x1d1)+_0xe5cc5b+'.'+_0x18b8f6+'({\x20code,\x20label\x20});';}}class GetListOperation extends GenericOperation{[a0_0x2c4dc0(0x29e)](){const _0x3371dd=a0_0x2c4dc0,_0x212615=super['getRequestParams'](),{currentPage:_0x13e763,pageSize:_0x46c90b,..._0x56e959}=_0x212615,_0x15e82a={};return Object[_0x3371dd(0x310)](_0x56e959)[_0x3371dd(0x32d)](([_0x42ed36,_0x1f66e0])=>{const _0x2c2fbd=_0x3371dd;if(typeof _0x1f66e0===_0x2c2fbd(0x1a0)&&_0x1f66e0!==null){const _0x44eba8=_0x1f66e0,_0x441444=_0x44eba8[_0x2c2fbd(0x1fc)]||'';_0x15e82a[_0x42ed36]={..._0x44eba8,'description':_0x441444?_0x441444+'(支持单值或数组)':_0x2c2fbd(0x1c2)};}else _0x15e82a[_0x42ed36]=_0x1f66e0;}),{..._0x15e82a,'currentPage':{...typeof _0x13e763===_0x3371dd(0x1a0)?_0x13e763:{},'type':'Number','description':_0x3371dd(0x255)},'pageSize':{...typeof _0x46c90b===_0x3371dd(0x1a0)?_0x46c90b:{},'type':_0x3371dd(0x230),'description':'每页数量'}};}[a0_0x2c4dc0(0x2fd)](_0x174be6){const _0xdcd898=a0_0x2c4dc0,{useArrayValues:useArrayValues=!![]}=_0x174be6||{},_0x570eb7=super[_0xdcd898(0x2fd)](),{currentPage:_0x5dbb60,pageSize:_0x4bd69f,..._0x413335}=_0x570eb7;if(!useArrayValues)return{..._0x413335,'currentPage':_0x5dbb60??0x1,'pageSize':_0x4bd69f??0xa};const _0x510fd2={},_0x1ee4d7=['id',_0xdcd898(0x215),'code',_0xdcd898(0x20d)];return Object[_0xdcd898(0x310)](_0x413335)['forEach'](([_0x411593,_0x1c30fe],_0x5e68d4)=>{const _0x32ed55=_0xdcd898,_0x34397f=_0x1ee4d7['some'](_0x21ed38=>_0x411593['toLowerCase']()[_0x32ed55(0x349)](_0x21ed38))||_0x5e68d4%0x3===0x0;if(_0x34397f&&_0x1c30fe!==null&&_0x1c30fe!==undefined){if(typeof _0x1c30fe===_0x32ed55(0x260))_0x510fd2[_0x411593]=[_0x1c30fe,_0x1c30fe+0x1,_0x1c30fe+0x2];else typeof _0x1c30fe===_0x32ed55(0x2ca)?_0x510fd2[_0x411593]=[_0x1c30fe,_0x1c30fe+'_2',_0x1c30fe+'_3']:_0x510fd2[_0x411593]=[_0x1c30fe];}else _0x510fd2[_0x411593]=_0x1c30fe;}),{..._0x510fd2,'currentPage':_0x5dbb60??0x1,'pageSize':_0x4bd69f??0xa};}[a0_0x2c4dc0(0x2d3)](){const _0x2babde=a0_0x2c4dc0;return this[_0x2babde(0x2fd)]({'useArrayValues':![]});}['generateRequestAllExamples'](){const _0x3aee04=a0_0x2c4dc0;return[{'title':'单值查询','description':_0x3aee04(0x1b5),'data':this[_0x3aee04(0x2d3)]()},{'title':_0x3aee04(0x18b),'description':_0x3aee04(0x288),'data':this[_0x3aee04(0x2fd)]()}];}['generateSDKCallCode'](_0x221312,_0xe8d5eb){const _0x5c770b=a0_0x2c4dc0,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0xe8d5eb||{},_0x12408f=this[_0x5c770b(0x1f0)](),_0x53c23d=this[_0x5c770b(0x2fd)]({'useArrayValues':!![]}),{currentPage:_0x17b1aa,pageSize:_0x1f434c,..._0x1ece3f}=_0x53c23d;if(useFullExample&&Object[_0x5c770b(0x21f)](_0x53c23d)[_0x5c770b(0x2f3)]>0x0){const _0x5b797f=Object['keys'](_0x1ece3f)[_0x5c770b(0x2f3)]>0x0;if(_0x5b797f){const _0x5d25bc=this[_0x5c770b(0x2d3)](),_0x4d6a18=_0x11e4fb=>{const _0x497a7e=_0x5c770b;return JSON[_0x497a7e(0x2a5)](_0x11e4fb,null,0x2)[_0x497a7e(0x28a)]('\x0a')[_0x497a7e(0x2b2)]((_0x5669ac,_0x16dcb5)=>_0x16dcb5===0x0?_0x5669ac:indent+_0x5669ac)[_0x497a7e(0x2f8)]('\x0a');};return _0x5c770b(0x311)+_0x221312+'.'+_0x12408f+'('+_0x4d6a18(_0x5d25bc)+_0x5c770b(0x35f)+_0x221312+'.'+_0x12408f+'('+_0x4d6a18(_0x53c23d)+');';}else{const _0x5ec3ca=JSON[_0x5c770b(0x2a5)](_0x53c23d,null,0x2)[_0x5c770b(0x28a)]('\x0a')['map']((_0x467fd5,_0x4a6873)=>_0x4a6873===0x0?_0x467fd5:indent+_0x467fd5)['join']('\x0a');return _0x5c770b(0x1d1)+_0x221312+'.'+_0x12408f+'('+_0x5ec3ca+');';}}if(Object['keys'](_0x1ece3f)[_0x5c770b(0x2f3)]>0x0){const _0x51a0b7=Object['keys'](_0x1ece3f)[0x0];return _0x5c770b(0x1d1)+_0x221312+'.'+_0x12408f+_0x5c770b(0x1bc)+_0x51a0b7+_0x5c770b(0x2be);}return _0x5c770b(0x1d1)+_0x221312+'.'+_0x12408f+'({\x20currentPage,\x20pageSize\x20});';}}function a0_0x478a(_0x42bdd4,_0x35fbb0){const _0x57e398=a0_0x57e3();return a0_0x478a=function(_0x478ace,_0x2e8795){_0x478ace=_0x478ace-0x189;let _0x3e39fd=_0x57e398[_0x478ace];return _0x3e39fd;},a0_0x478a(_0x42bdd4,_0x35fbb0);}var FILTER_OPERATORS=[a0_0x2c4dc0(0x222),a0_0x2c4dc0(0x27d),a0_0x2c4dc0(0x2bd),a0_0x2c4dc0(0x1cf),a0_0x2c4dc0(0x2ea),a0_0x2c4dc0(0x1ec),a0_0x2c4dc0(0x1e9),a0_0x2c4dc0(0x1b9),a0_0x2c4dc0(0x1f1),a0_0x2c4dc0(0x205),a0_0x2c4dc0(0x2ed),a0_0x2c4dc0(0x33b)];class FilterOperation extends GenericOperation{constructor(_0xf3db85,_0x239d2f,_0x2ff1f6){super(_0xf3db85,_0x239d2f,_0x2ff1f6);}[a0_0x2c4dc0(0x2fe)](){return FILTER_OPERATORS;}[a0_0x2c4dc0(0x352)](_0x53b9f5){const _0x35ad13=a0_0x2c4dc0,_0xfca666=this['getFieldDefinition'](_0x53b9f5);if(!_0xfca666)return[];return this[_0x35ad13(0x24c)](_0xfca666['type']);}[a0_0x2c4dc0(0x29e)](){const _0x554576=a0_0x2c4dc0,_0x41c0ee=super[_0x554576(0x29e)]();return{..._0x41c0ee,'where':{'type':_0x554576(0x228),'description':'查询条件(支持\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)','required':![]},'select':{'type':_0x554576(0x285),'description':'返回字段列表(字段投影)','required':![]},'orderBy':{'type':_0x554576(0x19c),'description':_0x554576(0x341),'required':![]},'currentPage':{'type':'Number','description':_0x554576(0x255),'required':![],'default':0x1},'pageSize':{'type':_0x554576(0x230),'description':'每页数量','required':![],'default':0xa}};}[a0_0x2c4dc0(0x2fd)](){const _0x4c4c9b=a0_0x2c4dc0,_0x57c5c8=this[_0x4c4c9b(0x220)][_0x4c4c9b(0x1a5)]||[];if(_0x57c5c8[_0x4c4c9b(0x2f3)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x541ff1={},_0x37c56a=_0x57c5c8[_0x4c4c9b(0x202)](0x0,Math[_0x4c4c9b(0x1a9)](0x3,_0x57c5c8[_0x4c4c9b(0x2f3)]));_0x37c56a['forEach'](_0x3ba40f=>{const _0x4da7d4=_0x4c4c9b,_0x11f13c=this[_0x4da7d4(0x24c)](_0x3ba40f[_0x4da7d4(0x20d)]);if(_0x11f13c[_0x4da7d4(0x2f3)]===0x0)return;const _0x4a562b=this[_0x4da7d4(0x292)](_0x3ba40f[_0x4da7d4(0x20d)],_0x11f13c),_0x51af8a=this[_0x4da7d4(0x262)](_0x3ba40f,_0x4a562b);_0x541ff1[_0x3ba40f[_0x4da7d4(0x227)]]={[_0x4a562b]:_0x51af8a};});const _0xc82299=_0x57c5c8['slice'](0x0,Math[_0x4c4c9b(0x1a9)](0x5,_0x57c5c8[_0x4c4c9b(0x2f3)]))['map'](_0x38bc7f=>_0x38bc7f['code']),_0x493740=_0x57c5c8[0x0]?.[_0x4c4c9b(0x227)]||'id';return{'where':_0x541ff1,'select':_0xc82299,'orderBy':[{[_0x493740]:_0x4c4c9b(0x247)}],'currentPage':0x1,'pageSize':0x14};}['generateSDKCallCode'](_0x5c14c5,_0x8078d4){const _0x349b7c=a0_0x2c4dc0,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x8078d4||{},_0x19e24f=this[_0x349b7c(0x1f0)](),_0xeeed58=this[_0x349b7c(0x2fd)](),_0x47c99c=_0x368e85=>{const _0x3cf1b7=_0x349b7c;return JSON[_0x3cf1b7(0x2a5)](_0x368e85,null,0x2)[_0x3cf1b7(0x28a)]('\x0a')[_0x3cf1b7(0x2b2)]((_0x376a45,_0x4c4dcc)=>_0x4c4dcc===0x0?_0x376a45:indent+_0x376a45)[_0x3cf1b7(0x2f8)]('\x0a');};if(useFullExample){const _0x2f19d6=this[_0x349b7c(0x220)][_0x349b7c(0x1a5)]||[],_0x22acf7={'where':_0x2f19d6[0x0]?{[_0x2f19d6[0x0][_0x349b7c(0x227)]]:{'$eq':this[_0x349b7c(0x262)](_0x2f19d6[0x0],'$eq')}}:{},'select':_0x2f19d6[_0x349b7c(0x202)](0x0,0x3)[_0x349b7c(0x2b2)](_0x1534e9=>_0x1534e9[_0x349b7c(0x227)]),'currentPage':0x1,'pageSize':0x14};let _0x2caaf5='';if(_0x2f19d6[_0x349b7c(0x2f3)]>=0x3){const _0x33989a={'$and':[]},_0x3cb296=[];if(_0x2f19d6[_0x349b7c(0x2f3)]>0x0){const _0x2c6102=_0x2f19d6[_0x349b7c(0x2a7)](_0x266019=>[_0x349b7c(0x366),_0x349b7c(0x2d0),_0x349b7c(0x325)][_0x349b7c(0x349)](_0x266019[_0x349b7c(0x20d)][_0x349b7c(0x31a)]()));_0x2c6102&&_0x3cb296[_0x349b7c(0x1f6)]({[_0x2c6102[_0x349b7c(0x227)]]:{'$gte':0x0,'$lte':0x64}});}if(_0x2f19d6['length']>0x1){const _0x48c9c7=_0x2f19d6['find'](_0x1a2580=>[_0x349b7c(0x32e),_0x349b7c(0x19b),_0x349b7c(0x248)][_0x349b7c(0x349)](_0x1a2580[_0x349b7c(0x20d)][_0x349b7c(0x31a)]()));_0x48c9c7&&_0x3cb296[_0x349b7c(0x1f6)]({[_0x48c9c7[_0x349b7c(0x227)]]:{'$contain':_0x349b7c(0x2ad)}});}if(_0x3cb296[_0x349b7c(0x2f3)]>0x0){_0x33989a[_0x349b7c(0x2ed)]=_0x3cb296;const _0x435de4={'where':_0x33989a,'select':_0x2f19d6[_0x349b7c(0x202)](0x0,0x4)[_0x349b7c(0x2b2)](_0x565cb9=>_0x565cb9['code']),'orderBy':[{[_0x2f19d6[0x0][_0x349b7c(0x227)]]:_0x349b7c(0x247)}],'currentPage':0x1,'pageSize':0x14};_0x2caaf5=_0x349b7c(0x312)+_0x5c14c5+'.'+_0x19e24f+'('+_0x47c99c(_0x435de4)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x5c14c5+'.'+_0x19e24f+'('+_0x47c99c(_0x22acf7)+');'+_0x2caaf5;}const _0x2a8bed=JSON[_0x349b7c(0x2a5)](_0xeeed58,null,0x2)['split']('\x0a')[_0x349b7c(0x2b2)]((_0x53686e,_0x48246a)=>_0x48246a===0x0?_0x53686e:indent+_0x53686e)[_0x349b7c(0x2f8)]('\x0a');return _0x349b7c(0x1d1)+_0x5c14c5+'.'+_0x19e24f+'('+_0x2a8bed+');';}[a0_0x2c4dc0(0x24c)](_0x3fcd05){const _0x21e177=a0_0x2c4dc0,_0x541fe3=_0x3fcd05['toUpperCase'](),_0xd3b35e=[];if([_0x21e177(0x366),'INTEGER','BIGINT',_0x21e177(0x32b)][_0x21e177(0x349)](_0x541fe3))_0xd3b35e[_0x21e177(0x1f6)](_0x21e177(0x222),_0x21e177(0x27d),'$gte',_0x21e177(0x2ea),'$gteq','$lteq',_0x21e177(0x1e9));else{if(['STRING',_0x21e177(0x19b),_0x21e177(0x248)]['includes'](_0x541fe3))_0xd3b35e[_0x21e177(0x1f6)]('$eq','$ne',_0x21e177(0x1e9),'$contain',_0x21e177(0x1f1),_0x21e177(0x205));else{if([_0x21e177(0x1eb),'DATETIME',_0x21e177(0x2db)][_0x21e177(0x349)](_0x541fe3))_0xd3b35e[_0x21e177(0x1f6)](_0x21e177(0x222),_0x21e177(0x27d),_0x21e177(0x2bd),_0x21e177(0x2ea),_0x21e177(0x1cf),_0x21e177(0x1ec));else['BOOLEAN',_0x21e177(0x2ba)]['includes'](_0x541fe3)?_0xd3b35e[_0x21e177(0x1f6)](_0x21e177(0x222),'$ne'):_0xd3b35e[_0x21e177(0x1f6)]('$eq','$ne');}}return _0xd3b35e;}[a0_0x2c4dc0(0x292)](_0x521d72,_0x2aa60c){const _0x37b41e=a0_0x2c4dc0,_0x32a19d=_0x521d72[_0x37b41e(0x31a)]();if(['NUMBER',_0x37b41e(0x2d0),_0x37b41e(0x325),_0x37b41e(0x32b)][_0x37b41e(0x349)](_0x32a19d))return _0x2aa60c[_0x37b41e(0x349)](_0x37b41e(0x2bd))?_0x37b41e(0x2bd):_0x37b41e(0x222);if([_0x37b41e(0x32e),'TEXT',_0x37b41e(0x248)][_0x37b41e(0x349)](_0x32a19d))return _0x2aa60c[_0x37b41e(0x349)](_0x37b41e(0x1b9))?'$contain':'$eq';if([_0x37b41e(0x1eb),_0x37b41e(0x2c5),_0x37b41e(0x2db)]['includes'](_0x32a19d))return _0x2aa60c[_0x37b41e(0x349)](_0x37b41e(0x2bd))?'$gte':_0x37b41e(0x222);return _0x37b41e(0x222);}[a0_0x2c4dc0(0x262)](_0x2f683e,_0x251118){const _0x433150=a0_0x2c4dc0,_0xe37d3f=String(_0x2f683e[_0x433150(0x20d)]||'')['toUpperCase']();if(_0x2f683e[_0x433150(0x373)])try{const _0x31c0c8=typeof _0x2f683e[_0x433150(0x373)]===_0x433150(0x2ca)?JSON[_0x433150(0x1f3)](_0x2f683e[_0x433150(0x373)]):_0x2f683e['extend'];if(_0x31c0c8[_0x433150(0x190)]&&Array[_0x433150(0x35e)](_0x31c0c8['options'])&&_0x31c0c8[_0x433150(0x190)]['length']>0x0){if(_0x251118===_0x433150(0x1e9))return _0x31c0c8[_0x433150(0x190)][_0x433150(0x202)](0x0,0x2)[_0x433150(0x2b2)](_0x46e175=>_0x46e175['value']);return _0x31c0c8[_0x433150(0x190)][0x0][_0x433150(0x361)];}}catch{}if([_0x433150(0x366),_0x433150(0x2d0),'BIGINT',_0x433150(0x32b)][_0x433150(0x349)](_0xe37d3f)){if(_0x251118===_0x433150(0x1e9))return[0x1,0x2,0x3];if(_0x251118===_0x433150(0x2bd)||_0x251118===_0x433150(0x1cf))return 0x0;if(_0x251118===_0x433150(0x2ea)||_0x251118==='$lteq')return 0x64;return 0x1;}if(['STRING',_0x433150(0x19b),_0x433150(0x248)][_0x433150(0x349)](_0xe37d3f)){if(_0x251118===_0x433150(0x1e9))return['value1',_0x433150(0x356)];if(_0x251118===_0x433150(0x1b9))return _0x433150(0x2ad);if(_0x251118===_0x433150(0x1f1))return _0x433150(0x272);if(_0x251118==='$endWith')return _0x433150(0x36e);return _0x433150(0x361);}if(['DATE',_0x433150(0x2c5),_0x433150(0x2db)][_0x433150(0x349)](_0xe37d3f)){if(_0x251118==='$gte'||_0x251118===_0x433150(0x1cf))return'2024-01-01';if(_0x251118===_0x433150(0x2ea)||_0x251118===_0x433150(0x1ec))return _0x433150(0x30d);return _0x433150(0x216);}if([_0x433150(0x1e1),_0x433150(0x2ba)][_0x433150(0x349)](_0xe37d3f))return!![];return _0x251118===_0x433150(0x1e9)?[_0x433150(0x2f6),_0x433150(0x356)]:'value';}}class OperationFactory{['create'](_0x2d338f,_0x4bc3c3,_0x27f1b7){const _0x15b2a5=a0_0x2c4dc0;switch(_0x2d338f){case _0x15b2a5(0x357):return new GetSelectOptionsOperation(_0x2d338f,_0x4bc3c3,_0x27f1b7);case _0x15b2a5(0x194):return new GetListOperation(_0x2d338f,_0x4bc3c3,_0x27f1b7);case _0x15b2a5(0x358):return new FilterOperation(_0x2d338f,_0x4bc3c3,_0x27f1b7);default:return new GenericOperation(_0x2d338f,_0x4bc3c3,_0x27f1b7);}}[a0_0x2c4dc0(0x35a)](_0x1db5b5,_0x463517){const _0x26cd49=a0_0x2c4dc0,_0x21c84b=new Map();return Object['entries'](_0x1db5b5)[_0x26cd49(0x32d)](([_0x8eab4b,_0x21cd2c])=>{const _0x41577f=_0x26cd49;_0x21c84b[_0x41577f(0x224)](_0x8eab4b,this['create'](_0x8eab4b,_0x21cd2c,_0x463517));}),_0x21c84b;}}class OperationList{[a0_0x2c4dc0(0x22f)];constructor(_0x2760dd,_0x475e0d){const _0x5753af=a0_0x2c4dc0,_0x4f6a2d=new OperationFactory();this[_0x5753af(0x22f)]=_0x4f6a2d['createAll'](_0x2760dd,_0x475e0d);}[a0_0x2c4dc0(0x1ac)](_0xb26f63){const _0x416518=a0_0x2c4dc0;return this[_0x416518(0x22f)][_0x416518(0x1ac)](_0xb26f63);}[a0_0x2c4dc0(0x256)](_0x485ef5){const _0x5e9994=a0_0x2c4dc0;return this[_0x5e9994(0x22f)][_0x5e9994(0x256)](_0x485ef5);}[a0_0x2c4dc0(0x189)](){const _0x4c35ab=a0_0x2c4dc0;return this['_operations'][_0x4c35ab(0x189)];}[a0_0x2c4dc0(0x289)](){const _0x5ebeaf=a0_0x2c4dc0;return Array[_0x5ebeaf(0x2cb)](this[_0x5ebeaf(0x22f)][_0x5ebeaf(0x21f)]());}[a0_0x2c4dc0(0x235)](){const _0x237aff=a0_0x2c4dc0,_0x3ccfea=Array[_0x237aff(0x2cb)](this[_0x237aff(0x22f)]['values']());return this[_0x237aff(0x308)](_0x3ccfea);}[a0_0x2c4dc0(0x30a)](){const _0x1da649=a0_0x2c4dc0;return this[_0x1da649(0x235)]()['filter'](_0x50d5da=>_0x50d5da[_0x1da649(0x304)]());}['getDisabled'](){const _0x48df78=a0_0x2c4dc0;return this[_0x48df78(0x235)]()[_0x48df78(0x358)](_0x3d86c4=>!_0x3d86c4[_0x48df78(0x304)]());}[a0_0x2c4dc0(0x275)](){const _0x109a78=a0_0x2c4dc0;return this[_0x109a78(0x30a)]()[_0x109a78(0x2b2)](_0x4c8559=>_0x4c8559[_0x109a78(0x1f0)]());}[a0_0x2c4dc0(0x34e)](){const _0x3b0eea=a0_0x2c4dc0;return this[_0x3b0eea(0x1cd)]()[_0x3b0eea(0x2b2)](_0x16601f=>_0x16601f[_0x3b0eea(0x1f0)]());}[a0_0x2c4dc0(0x1bb)](_0x5abbea){const _0x2a6073=a0_0x2c4dc0;return this[_0x2a6073(0x235)]()[_0x2a6073(0x358)](_0x261508=>_0x261508[_0x2a6073(0x19d)]()===_0x5abbea);}[a0_0x2c4dc0(0x358)](_0x17d981){const _0x5daf5b=a0_0x2c4dc0;return this['toArray']()[_0x5daf5b(0x358)](_0x17d981);}['getFiltered'](_0x36b5fb={}){const _0xe0ae2c=a0_0x2c4dc0;let _0x43a5b4=this[_0xe0ae2c(0x235)]();!_0x36b5fb['includeDisabled']&&(_0x43a5b4=_0x43a5b4[_0xe0ae2c(0x358)](_0x1002f0=>_0x1002f0[_0xe0ae2c(0x304)]()));if(_0x36b5fb[_0xe0ae2c(0x20e)]!==![]){const _0x561834=_0x43a5b4['map'](_0x4b6f5e=>({'name':_0x4b6f5e['getName'](),'operation':_0x4b6f5e})),_0x10f63a=filterApiOperations(_0x561834);_0x43a5b4=_0x10f63a[_0xe0ae2c(0x2b2)](_0x2a5210=>_0x2a5210[_0xe0ae2c(0x1ab)]),_0x43a5b4=this[_0xe0ae2c(0x308)](_0x43a5b4);}return _0x36b5fb[_0xe0ae2c(0x1fa)]&&(_0x43a5b4=_0x43a5b4[_0xe0ae2c(0x358)](_0x36b5fb['customFilter'])),_0x43a5b4;}[a0_0x2c4dc0(0x308)](_0xac8b99){const _0xb83477=a0_0x2c4dc0,_0x1ac3ff=_0xac8b99[_0xb83477(0x2a7)](_0x1d4bc5=>_0x1d4bc5[_0xb83477(0x1f0)]()===_0xb83477(0x358)),_0x9d3c5c=_0xac8b99[_0xb83477(0x358)](_0x40f1a5=>_0x40f1a5['getName']()!=='filter');return _0x1ac3ff?[_0x1ac3ff,..._0x9d3c5c]:_0x9d3c5c;}[a0_0x2c4dc0(0x2ee)](){const _0x4cb73c=a0_0x2c4dc0,_0x208ebe=this[_0x4cb73c(0x30a)]();return{'total':this[_0x4cb73c(0x189)](),'enabled':_0x208ebe['length'],'disabled':this['size']()-_0x208ebe[_0x4cb73c(0x2f3)],'byType':this[_0x4cb73c(0x2e1)](_0x208ebe),'byMethod':this['getCountByMethod'](_0x208ebe)};}['getCountByType'](_0x359d40){const _0x58d9c6={};return _0x359d40['forEach'](_0x4ddb6a=>{const _0x34f1ef=_0x4ddb6a['getType']();_0x34f1ef&&(_0x58d9c6[_0x34f1ef]=(_0x58d9c6[_0x34f1ef]||0x0)+0x1);}),_0x58d9c6;}[a0_0x2c4dc0(0x253)](_0x2e5f97){const _0x4fd843=a0_0x2c4dc0,_0x357cd4={};return _0x2e5f97[_0x4fd843(0x32d)](_0x4abafb=>{const _0x518e54=_0x4fd843,_0x346b79=_0x4abafb[_0x518e54(0x1ef)]();_0x346b79&&(_0x357cd4[_0x346b79]=(_0x357cd4[_0x346b79]||0x0)+0x1);}),_0x357cd4;}[Symbol[a0_0x2c4dc0(0x33e)]](){const _0x146fb3=a0_0x2c4dc0;return this[_0x146fb3(0x22f)]['values']();}['toString'](){const _0x2ba8ca=a0_0x2c4dc0,_0x49ff4c=this[_0x2ba8ca(0x2ee)]();return _0x2ba8ca(0x24e)+_0x49ff4c[_0x2ba8ca(0x1d9)]+'/'+_0x49ff4c[_0x2ba8ca(0x250)]+_0x2ba8ca(0x35c);}}class Field{[a0_0x2c4dc0(0x25b)];[a0_0x2c4dc0(0x286)]=null;constructor(_0x2c9885){const _0x2d3528=a0_0x2c4dc0;if(!_0x2c9885||typeof _0x2c9885!==_0x2d3528(0x1a0))throw new Error(_0x2d3528(0x332));this['_raw']=_0x2c9885;}get[a0_0x2c4dc0(0x351)](){const _0x5903a0=a0_0x2c4dc0;return this[_0x5903a0(0x25b)];}['toFieldDefinition'](){const _0x34a156=a0_0x2c4dc0;return this[_0x34a156(0x25b)];}get['name'](){const _0x2acd6f=a0_0x2c4dc0;return this[_0x2acd6f(0x25b)][_0x2acd6f(0x27f)]||'';}get['code'](){const _0x10316e=a0_0x2c4dc0;return this[_0x10316e(0x25b)]['code']||'';}get['type'](){const _0x1868e6=a0_0x2c4dc0;return this[_0x1868e6(0x25b)][_0x1868e6(0x20d)]||'';}get[a0_0x2c4dc0(0x1fc)](){const _0xa1c7a=a0_0x2c4dc0;return this[_0xa1c7a(0x25b)][_0xa1c7a(0x1fc)]||'';}get[a0_0x2c4dc0(0x373)](){const _0x492fdc=a0_0x2c4dc0;if(this[_0x492fdc(0x286)]!==null)return this[_0x492fdc(0x286)];const _0x366ad9=this[_0x492fdc(0x25b)][_0x492fdc(0x373)];if(!_0x366ad9||typeof _0x366ad9!==_0x492fdc(0x2ca))return this['_extend']={},this[_0x492fdc(0x286)];try{return this[_0x492fdc(0x286)]=JSON[_0x492fdc(0x1f3)](_0x366ad9),this[_0x492fdc(0x286)];}catch(_0x2eb204){return!![]&&console['warn']('[Field.extend]\x20解析字段\x20'+this[_0x492fdc(0x227)]+_0x492fdc(0x2ce),_0x2eb204),this[_0x492fdc(0x286)]={},this['_extend'];}}[a0_0x2c4dc0(0x2ac)](){const _0x372af1=a0_0x2c4dc0;return Boolean(this[_0x372af1(0x373)][_0x372af1(0x316)]);}[a0_0x2c4dc0(0x323)](){const _0x4e17db=a0_0x2c4dc0;return Boolean(this[_0x4e17db(0x373)][_0x4e17db(0x1f4)]);}[a0_0x2c4dc0(0x299)](){const _0x2bc996=a0_0x2c4dc0;return Boolean(this[_0x2bc996(0x373)]['systemRetain']);}[a0_0x2c4dc0(0x23a)](){const _0x37f9e3=a0_0x2c4dc0;return!this[_0x37f9e3(0x299)]();}['isAutoIncrement'](){const _0x808886=a0_0x2c4dc0;return Boolean(this[_0x808886(0x373)][_0x808886(0x21c)]);}['isCreateTime'](){const _0xe03ee3=a0_0x2c4dc0;return Boolean(this[_0xe03ee3(0x373)]['createTime']);}['isUpdateTime'](){const _0x17f60c=a0_0x2c4dc0;return Boolean(this['extend'][_0x17f60c(0x318)]);}[a0_0x2c4dc0(0x2e7)](){const _0x423b5e=a0_0x2c4dc0,_0x243435=['RADIO',_0x423b5e(0x211),_0x423b5e(0x223)];return _0x243435[_0x423b5e(0x349)](this[_0x423b5e(0x20d)]);}['isMultipleSelect'](){return this['type']==='CHECKBOX';}['getEnumOptions'](){const _0x391a78=a0_0x2c4dc0,_0x558454=this[_0x391a78(0x373)];if(_0x558454['options']&&Array[_0x391a78(0x35e)](_0x558454[_0x391a78(0x190)]))return _0x558454[_0x391a78(0x190)];return;}[a0_0x2c4dc0(0x277)](){const _0x49d11c=a0_0x2c4dc0,_0x1609b8=this['extend'];if(_0x1609b8['selectItemsSource']&&typeof _0x1609b8[_0x49d11c(0x2c1)]===_0x49d11c(0x1a0))return _0x1609b8[_0x49d11c(0x2c1)];return;}[a0_0x2c4dc0(0x1b0)](){const _0x33e463=a0_0x2c4dc0;if(!this[_0x33e463(0x2e7)]())return;const _0x49bbdd=this[_0x33e463(0x201)](),_0x4c0004=this[_0x33e463(0x277)](),_0x5587d7=[],_0x356f4a={},_0x1af1f8=_0x309726=>{_0x309726['forEach'](_0xc9dd53=>{const _0x1813cb=a0_0x478a;_0x5587d7['push'](_0xc9dd53['value']),_0x356f4a[String(_0xc9dd53[_0x1813cb(0x361)])]=_0xc9dd53['label'],_0xc9dd53[_0x1813cb(0x306)]&&_0xc9dd53[_0x1813cb(0x306)][_0x1813cb(0x2f3)]>0x0&&_0x1af1f8(_0xc9dd53[_0x1813cb(0x306)]);});};return _0x49bbdd&&_0x49bbdd[_0x33e463(0x2f3)]>0x0&&_0x1af1f8(_0x49bbdd),{'code':this[_0x33e463(0x227)],'name':this[_0x33e463(0x27f)],'type':this[_0x33e463(0x20d)],'multiple':this[_0x33e463(0x28d)](),'options':_0x49bbdd,'selectItemsSource':_0x4c0004,'values':_0x5587d7,'valueLabels':_0x356f4a};}[a0_0x2c4dc0(0x291)](){const _0x2b7c2a=a0_0x2c4dc0;return this[_0x2b7c2a(0x373)][_0x2b7c2a(0x1d7)];}[a0_0x2c4dc0(0x221)](){const _0x430b07=a0_0x2c4dc0;return this[_0x430b07(0x373)]['tooltip'];}[a0_0x2c4dc0(0x309)](){const _0x266f63=a0_0x2c4dc0;return{'name':this[_0x266f63(0x27f)],'code':this[_0x266f63(0x227)],'type':this[_0x266f63(0x20d)],'description':this[_0x266f63(0x1fc)],'required':this[_0x266f63(0x2ac)](),'primaryKey':this[_0x266f63(0x323)](),'system':this[_0x266f63(0x299)](),'autoIncrement':this[_0x266f63(0x212)](),'createTime':this[_0x266f63(0x36a)](),'updateTime':this[_0x266f63(0x32c)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x266f63(0x2e7)]()?this[_0x266f63(0x1b0)]():undefined};}}class FieldList{[a0_0x2c4dc0(0x265)];constructor(_0x5bcf49){const _0x15f221=a0_0x2c4dc0;if(!Array[_0x15f221(0x35e)](_0x5bcf49))throw new Error(_0x15f221(0x210));this[_0x15f221(0x265)]=_0x5bcf49[_0x15f221(0x2b2)](_0x9dcb75=>new Field(_0x9dcb75));}get[a0_0x2c4dc0(0x2f3)](){const _0x1c4d1d=a0_0x2c4dc0;return this[_0x1c4d1d(0x265)][_0x1c4d1d(0x2f3)];}['all'](){return[...this['_fields']];}[a0_0x2c4dc0(0x351)](){const _0x28c0a6=a0_0x2c4dc0;return this[_0x28c0a6(0x265)]['map'](_0x330467=>_0x330467[_0x28c0a6(0x351)]);}['at'](_0x31fd5a){const _0x22cede=a0_0x2c4dc0;return this[_0x22cede(0x265)]['at'](_0x31fd5a);}[a0_0x2c4dc0(0x2a7)](_0x1d1dab){const _0x5fec30=a0_0x2c4dc0;return this[_0x5fec30(0x265)][_0x5fec30(0x2a7)](_0x841cf4=>_0x841cf4[_0x5fec30(0x227)]===_0x1d1dab);}[a0_0x2c4dc0(0x1aa)](_0x53a356){const _0x3a8065=a0_0x2c4dc0;return this[_0x3a8065(0x265)]['find'](_0x49863c=>_0x49863c[_0x3a8065(0x27f)]===_0x53a356);}[a0_0x2c4dc0(0x256)](_0x4d83c6){const _0x3976e0=a0_0x2c4dc0;return this['_fields'][_0x3976e0(0x2f2)](_0x1ef2c2=>_0x1ef2c2[_0x3976e0(0x227)]===_0x4d83c6);}[a0_0x2c4dc0(0x32d)](_0x17f0a4){const _0xb72db0=a0_0x2c4dc0;this[_0xb72db0(0x265)][_0xb72db0(0x32d)](_0x17f0a4);}[a0_0x2c4dc0(0x2b2)](_0x1f1064){const _0x305749=a0_0x2c4dc0;return this[_0x305749(0x265)][_0x305749(0x2b2)](_0x1f1064);}['filter'](_0x3a14e7){const _0x2d270b=a0_0x2c4dc0;return this[_0x2d270b(0x265)][_0x2d270b(0x358)](_0x3a14e7);}[a0_0x2c4dc0(0x305)](_0x20bc77){const _0x107bfe=a0_0x2c4dc0;return this[_0x107bfe(0x265)][_0x107bfe(0x305)](_0x20bc77);}[a0_0x2c4dc0(0x2f2)](_0x8575ac){const _0x9c3441=a0_0x2c4dc0;return this[_0x9c3441(0x265)][_0x9c3441(0x2f2)](_0x8575ac);}[a0_0x2c4dc0(0x243)](){const _0x4e026b=a0_0x2c4dc0;return this[_0x4e026b(0x265)]['filter'](_0x4c86e6=>_0x4c86e6[_0x4e026b(0x2ac)]());}[a0_0x2c4dc0(0x338)](){const _0x3c17e4=a0_0x2c4dc0;return this[_0x3c17e4(0x265)]['filter'](_0x558636=>_0x558636[_0x3c17e4(0x323)]());}[a0_0x2c4dc0(0x329)](){const _0x2e1081=a0_0x2c4dc0;return this['_fields'][_0x2e1081(0x358)](_0x456532=>_0x456532['isSystem']());}[a0_0x2c4dc0(0x1cb)](){const _0x5af321=a0_0x2c4dc0;return this['_fields'][_0x5af321(0x358)](_0x50f8c2=>_0x50f8c2['isBusiness']());}[a0_0x2c4dc0(0x23c)](){const _0x4fd1d8=a0_0x2c4dc0;return this[_0x4fd1d8(0x265)][_0x4fd1d8(0x358)](_0x2beb26=>_0x2beb26[_0x4fd1d8(0x2e7)]());}[a0_0x2c4dc0(0x2c4)](){const _0x56796d=a0_0x2c4dc0;return this[_0x56796d(0x265)][_0x56796d(0x358)](_0x2ee7ae=>_0x2ee7ae[_0x56796d(0x212)]());}['getCreateTime'](){const _0x4440e7=a0_0x2c4dc0;return this[_0x4440e7(0x265)][_0x4440e7(0x358)](_0x3d15cd=>_0x3d15cd[_0x4440e7(0x36a)]());}[a0_0x2c4dc0(0x2cd)](){const _0x4cd473=a0_0x2c4dc0;return this['_fields'][_0x4cd473(0x358)](_0x2cfd89=>_0x2cfd89[_0x4cd473(0x32c)]());}['groupByType'](){const _0x446d3d=a0_0x2c4dc0,_0x43715e={};return this[_0x446d3d(0x265)]['forEach'](_0x4df0dd=>{const _0x24e403=_0x446d3d,_0x987aaf=_0x4df0dd[_0x24e403(0x20d)];!_0x43715e[_0x987aaf]&&(_0x43715e[_0x987aaf]=[]),_0x43715e[_0x987aaf]['push'](_0x4df0dd);}),_0x43715e;}[a0_0x2c4dc0(0x1dc)](){const _0x3d7ac5=a0_0x2c4dc0,_0xc4153a={};return this['_fields'][_0x3d7ac5(0x32d)](_0x586d3d=>{const _0x1e389d=_0x3d7ac5;if(_0x586d3d[_0x1e389d(0x2e7)]()){const _0x3ff842=_0x586d3d[_0x1e389d(0x1b0)]();_0x3ff842&&(_0xc4153a[_0x586d3d[_0x1e389d(0x227)]]=_0x3ff842);}}),_0xc4153a;}[a0_0x2c4dc0(0x2ee)](){const _0x2f169e=a0_0x2c4dc0;return{'total':this['length'],'required':this[_0x2f169e(0x243)]()[_0x2f169e(0x2f3)],'primaryKey':this['getPrimaryKeys']()['length'],'system':this['getSystem']()[_0x2f169e(0x2f3)],'business':this[_0x2f169e(0x1cb)]()[_0x2f169e(0x2f3)],'enum':this[_0x2f169e(0x23c)]()['length'],'autoIncrement':this['getAutoIncrement']()[_0x2f169e(0x2f3)]};}['toJSON'](){const _0x51ef6e=a0_0x2c4dc0;return this[_0x51ef6e(0x265)][_0x51ef6e(0x2b2)](_0x30e215=>_0x30e215[_0x51ef6e(0x309)]());}[a0_0x2c4dc0(0x328)](){const _0x88c183=a0_0x2c4dc0;return this[_0x88c183(0x265)][_0x88c183(0x2b2)](_0x2d1fda=>_0x2d1fda[_0x88c183(0x227)]);}[a0_0x2c4dc0(0x289)](){const _0x4e09c8=a0_0x2c4dc0;return this[_0x4e09c8(0x265)][_0x4e09c8(0x2b2)](_0x9e56ef=>_0x9e56ef[_0x4e09c8(0x27f)]);}static[a0_0x2c4dc0(0x2cb)](_0xaafae4){const _0x1d84fc=a0_0x2c4dc0,_0x27bd58=_0xaafae4[_0x1d84fc(0x2b2)](_0x54f9e7=>_0x54f9e7[_0x1d84fc(0x351)]);return new FieldList(_0x27bd58);}}class DrivenDataDetail extends DatasetItem{[a0_0x2c4dc0(0x347)];[a0_0x2c4dc0(0x249)];constructor(_0x529244){super({..._0x529244,'id':_0x529244['modelId'],'datasetCode':_0x529244['modelCode']});}get[a0_0x2c4dc0(0x226)](){const _0xcca403=a0_0x2c4dc0;return this[_0xcca403(0x25b)][_0xcca403(0x226)];}[a0_0x2c4dc0(0x1ba)](){const _0x32c11c=a0_0x2c4dc0;return this[_0x32c11c(0x226)];}get[a0_0x2c4dc0(0x2ec)](){const _0x32a7b6=a0_0x2c4dc0;return this[_0x32a7b6(0x25b)][_0x32a7b6(0x2ec)];}[a0_0x2c4dc0(0x1ca)](){const _0x422d95=a0_0x2c4dc0;return!this[_0x422d95(0x249)]&&(this['_fieldList']=new FieldList(this[_0x422d95(0x354)]())),this['_fieldList'];}[a0_0x2c4dc0(0x354)](){const _0x3e0ad5=a0_0x2c4dc0;return this[_0x3e0ad5(0x25b)][_0x3e0ad5(0x22e)]||[];}[a0_0x2c4dc0(0x21e)](){const _0x37183d=a0_0x2c4dc0;return this[_0x37183d(0x1ca)]()[_0x37183d(0x2f3)];}[a0_0x2c4dc0(0x209)](_0x253897){const _0x331b5c=a0_0x2c4dc0,_0x48f6d1=this[_0x331b5c(0x225)](_0x253897);return _0x48f6d1?_0x48f6d1['raw']:undefined;}[a0_0x2c4dc0(0x207)](_0x3579f8){const _0x23e08c=a0_0x2c4dc0;return this[_0x23e08c(0x1ca)]()[_0x23e08c(0x2a7)](_0x3579f8)?.[_0x23e08c(0x351)]||undefined;}['getFieldInstance'](_0x51580e){const _0x1c9dbd=a0_0x2c4dc0;if(typeof _0x51580e!==_0x1c9dbd(0x2ca)){!![]&&console[_0x1c9dbd(0x26c)]('[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x51580e);return;}return this['getFieldList']()['find'](_0x51580e);}[a0_0x2c4dc0(0x2b0)](_0x31158c){const _0x1249fa=a0_0x2c4dc0;return this[_0x1249fa(0x1ca)]()[_0x1249fa(0x256)](_0x31158c);}[a0_0x2c4dc0(0x315)](_0x1869c4){const _0x74a0e9=a0_0x2c4dc0;if(!_0x1869c4||typeof _0x1869c4!=='object')return!![]&&console[_0x74a0e9(0x26c)]('[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:',_0x1869c4),{};if(!_0x1869c4[_0x74a0e9(0x373)])return{};try{const _0x386efb=typeof _0x1869c4[_0x74a0e9(0x373)]===_0x74a0e9(0x2ca)?JSON[_0x74a0e9(0x1f3)](_0x1869c4[_0x74a0e9(0x373)]):_0x1869c4[_0x74a0e9(0x373)];if(typeof _0x386efb!==_0x74a0e9(0x1a0)||_0x386efb===null)return!![]&&console[_0x74a0e9(0x26c)](_0x74a0e9(0x362),_0x386efb),{};return _0x386efb;}catch(_0x53752c){return!![]&&console[_0x74a0e9(0x26c)](_0x74a0e9(0x1f2)+_0x1869c4['code']+_0x74a0e9(0x2ce),_0x53752c),{};}}[a0_0x2c4dc0(0x1da)](_0x55320a){const _0x4a3cb3=a0_0x2c4dc0;if(!_0x55320a||typeof _0x55320a!=='object')return![];const _0x5864da=this[_0x4a3cb3(0x1ca)]()[_0x4a3cb3(0x2a7)](_0x55320a[_0x4a3cb3(0x227)]);return _0x5864da?_0x5864da[_0x4a3cb3(0x323)]():![];}[a0_0x2c4dc0(0x314)](_0x291ad1){const _0x50b984=a0_0x2c4dc0;if(!_0x291ad1||typeof _0x291ad1!==_0x50b984(0x1a0))return![];const _0x216f81=this['getFieldList']()[_0x50b984(0x2a7)](_0x291ad1['code']);return _0x216f81?_0x216f81['isSystem']():![];}[a0_0x2c4dc0(0x26b)](_0x1ba73e){const _0x49766d=a0_0x2c4dc0;if(!_0x1ba73e||typeof _0x1ba73e!=='object')return![];const _0x750361=this[_0x49766d(0x1ca)]()[_0x49766d(0x2a7)](_0x1ba73e['code']);return _0x750361?_0x750361[_0x49766d(0x2ac)]():![];}['getPrimaryKeyFields'](){const _0x1ff2b8=a0_0x2c4dc0;return this[_0x1ff2b8(0x1ca)]()['getPrimaryKeys']()[_0x1ff2b8(0x2b2)](_0x4f80a6=>_0x4f80a6[_0x1ff2b8(0x351)]);}[a0_0x2c4dc0(0x2f4)](){const _0x31bfd0=a0_0x2c4dc0;return this['getFieldList']()[_0x31bfd0(0x329)]()[_0x31bfd0(0x2b2)](_0x38a874=>_0x38a874[_0x31bfd0(0x351)]);}[a0_0x2c4dc0(0x372)](){const _0x4e3df4=a0_0x2c4dc0;return this['getFieldList']()['getBusiness']()[_0x4e3df4(0x2b2)](_0xae15d8=>_0xae15d8['raw']);}[a0_0x2c4dc0(0x307)](){const _0x20e7df=a0_0x2c4dc0;return this[_0x20e7df(0x1ca)]()[_0x20e7df(0x243)]()[_0x20e7df(0x2b2)](_0x1e20d0=>_0x1e20d0[_0x20e7df(0x351)]);}[a0_0x2c4dc0(0x18e)](){const _0x3d2d17=a0_0x2c4dc0,_0x27d93c=this[_0x3d2d17(0x1ca)]()[_0x3d2d17(0x27c)](),_0xfaa2a6={};for(const [_0xa29cc9,_0x4e162d]of Object['entries'](_0x27d93c)){_0xfaa2a6[_0xa29cc9]=_0x4e162d[_0x3d2d17(0x2b2)](_0x1703a9=>_0x1703a9['raw']);}return _0xfaa2a6;}[a0_0x2c4dc0(0x2e8)](_0x3ea589){const _0x495442=a0_0x2c4dc0;if(!_0x3ea589||typeof _0x3ea589!==_0x495442(0x1a0))return![];const _0x352c90=this['getFieldList']()[_0x495442(0x2a7)](_0x3ea589[_0x495442(0x227)]);return _0x352c90?_0x352c90['isEnum']():![];}[a0_0x2c4dc0(0x2b9)](_0x23e7d3){const _0x2669bd=a0_0x2c4dc0;if(!_0x23e7d3||typeof _0x23e7d3!==_0x2669bd(0x1a0))return![];const _0x2516fd=this[_0x2669bd(0x1ca)]()[_0x2669bd(0x2a7)](_0x23e7d3['code']);return _0x2516fd?_0x2516fd[_0x2669bd(0x28d)]():![];}['getFieldOptions'](_0xf0fb32){const _0x3c4909=a0_0x2c4dc0;if(!_0xf0fb32||typeof _0xf0fb32!==_0x3c4909(0x1a0))return[];const _0x7e0ef8=this['getFieldList']()['find'](_0xf0fb32['code']);if(!_0x7e0ef8||!_0x7e0ef8['isEnum']())return[];return _0x7e0ef8['getEnumOptions']()||[];}['getFieldSelectItemsSource'](_0x1103f3){const _0xd341bf=a0_0x2c4dc0;if(!_0x1103f3||typeof _0x1103f3!==_0xd341bf(0x1a0))return;const _0x416324=this[_0xd341bf(0x1ca)]()[_0xd341bf(0x2a7)](_0x1103f3['code']);if(!_0x416324||!_0x416324[_0xd341bf(0x2e7)]())return;return _0x416324[_0xd341bf(0x277)]();}[a0_0x2c4dc0(0x2de)](_0x3c2a92){const _0x48732f=a0_0x2c4dc0;if(!_0x3c2a92||typeof _0x3c2a92!==_0x48732f(0x1a0))return;const _0x45ffbd=this['getFieldList']()[_0x48732f(0x2a7)](_0x3c2a92['code']);if(!_0x45ffbd||!_0x45ffbd['isEnum']())return;return _0x45ffbd[_0x48732f(0x1b0)]();}[a0_0x2c4dc0(0x368)](){const _0x10e677=a0_0x2c4dc0;return this[_0x10e677(0x1ca)]()[_0x10e677(0x23c)]()[_0x10e677(0x2b2)](_0x47ee90=>_0x47ee90[_0x10e677(0x351)]);}[a0_0x2c4dc0(0x23d)](){const _0xb27b9f=a0_0x2c4dc0,_0x49e7ae={};return this['getEnumFields']()[_0xb27b9f(0x32d)](_0x566f40=>{const _0x22594e=_0xb27b9f,_0x48827b=this[_0x22594e(0x2de)](_0x566f40);_0x48827b&&(_0x49e7ae[_0x566f40[_0x22594e(0x227)]]=_0x48827b);}),_0x49e7ae;}[a0_0x2c4dc0(0x371)](_0x1eae8e,_0x12f5d6){const _0x4eb8fc=a0_0x2c4dc0,_0x16b395=this[_0x4eb8fc(0x2de)](_0x1eae8e);if(!_0x16b395)return!![];if(_0x16b395[_0x4eb8fc(0x2c1)]&&!_0x16b395['options'])return!![];if(_0x16b395[_0x4eb8fc(0x2e9)]&&Array[_0x4eb8fc(0x35e)](_0x12f5d6))return _0x12f5d6[_0x4eb8fc(0x305)](_0x5a389d=>_0x16b395[_0x4eb8fc(0x22d)][_0x4eb8fc(0x349)](_0x5a389d));return _0x16b395[_0x4eb8fc(0x22d)]['includes'](_0x12f5d6);}['getOperationList'](){const _0x454514=a0_0x2c4dc0;if(!this[_0x454514(0x347)]){const _0x11e3ef=this[_0x454514(0x1f7)](this[_0x454514(0x25b)]['operations']||{});this[_0x454514(0x347)]=new OperationList(_0x11e3ef,{'fields':this[_0x454514(0x354)](),'pkField':this[_0x454514(0x25b)][_0x454514(0x246)]?.[_0x454514(0x336)],'dbtableConfig':this['_raw']['dbtableConfig']});}return this[_0x454514(0x347)];}[a0_0x2c4dc0(0x1f7)](_0x376e5e){if(_0x376e5e['filter']!==undefined)return _0x376e5e;return{..._0x376e5e,'filter':this['generateDefaultFilterOperation']()};}[a0_0x2c4dc0(0x28f)](){const _0x2f350c=a0_0x2c4dc0,_0x43d52d=this[_0x2f350c(0x25b)][_0x2f350c(0x30c)]?.[_0x2f350c(0x194)];let _0x5389d9=_0x43d52d?.[_0x2f350c(0x23b)],_0x57b3a0='';if(!_0x5389d9&&this[_0x2f350c(0x25b)][_0x2f350c(0x30c)]){const _0x38c150=Object[_0x2f350c(0x22d)](this['_raw'][_0x2f350c(0x30c)]);for(const _0x5c66aa of _0x38c150){if(_0x5c66aa&&typeof _0x5c66aa===_0x2f350c(0x1a0)&&_0x2f350c(0x23b)in _0x5c66aa){_0x5389d9=_0x5c66aa[_0x2f350c(0x23b)];break;}}}if(_0x43d52d?.[_0x2f350c(0x36c)]){const _0x375e05=_0x43d52d[_0x2f350c(0x36c)],_0x4f9fea=_0x375e05[_0x2f350c(0x198)]('/');_0x4f9fea!==-0x1&&(_0x57b3a0=_0x375e05[_0x2f350c(0x191)](0x0,_0x4f9fea));}return{'name':_0x2f350c(0x358),'type':_0x2f350c(0x1c5),'description':'Filter\x20API\x20-\x20高级查询接口','method':_0x2f350c(0x322),'host':_0x5389d9,'path':_0x57b3a0?_0x57b3a0+_0x2f350c(0x2dc):_0x2f350c(0x2dc),'params':_0x43d52d?.[_0x2f350c(0x1ed)]||[{'name':_0x2f350c(0x369),'type':_0x2f350c(0x1a0),'required':![]},{'name':'select','type':'array','required':![]},{'name':_0x2f350c(0x1d3),'type':_0x2f350c(0x2a9),'required':![]},{'name':_0x2f350c(0x1fb),'type':_0x2f350c(0x260),'required':![],'default':0x1},{'name':'pageSize','type':_0x2f350c(0x260),'required':![],'default':0xa}],'_autoGenerated':!![]};}[a0_0x2c4dc0(0x19a)](){const _0x4fc80a=a0_0x2c4dc0;return this['getOperationList']()[_0x4fc80a(0x235)]();}[a0_0x2c4dc0(0x23e)](){const _0x104117=a0_0x2c4dc0;return this[_0x104117(0x261)]()['size']();}['getOperation'](_0x4dd30c){const _0x7fc382=a0_0x2c4dc0;if(typeof _0x4dd30c!==_0x7fc382(0x2ca)){!![]&&console[_0x7fc382(0x26c)](_0x7fc382(0x280),_0x4dd30c);return;}return this['getOperationList']()[_0x7fc382(0x1ac)](_0x4dd30c);}[a0_0x2c4dc0(0x2a8)](_0x1a33ad){const _0x346a9e=a0_0x2c4dc0;if(typeof _0x1a33ad!==_0x346a9e(0x2ca))return![];return this[_0x346a9e(0x261)]()[_0x346a9e(0x256)](_0x1a33ad);}['isOperationEnabled'](_0x1b35a5){const _0x354838=a0_0x2c4dc0;if(typeof _0x1b35a5!==_0x354838(0x2ca))return![];const _0x52e911=this['getOperation'](_0x1b35a5);return _0x52e911?.[_0x354838(0x304)]()||![];}[a0_0x2c4dc0(0x244)](){const _0x45f185=a0_0x2c4dc0;return this[_0x45f185(0x261)]()[_0x45f185(0x275)]();}[a0_0x2c4dc0(0x29b)](){const _0x43f61e=a0_0x2c4dc0;return this['getOperationList']()[_0x43f61e(0x34e)]();}[a0_0x2c4dc0(0x1c3)](){const _0x2b6a77=a0_0x2c4dc0;return this['getOperationList']()[_0x2b6a77(0x30a)]();}[a0_0x2c4dc0(0x1e3)](){const _0x106ff5=a0_0x2c4dc0;return this[_0x106ff5(0x261)]()[_0x106ff5(0x1cd)]();}[a0_0x2c4dc0(0x2ee)](){const _0xf73958=a0_0x2c4dc0;return{'fieldCount':this[_0xf73958(0x21e)](),'systemFieldCount':this[_0xf73958(0x2f4)]()['length'],'businessFieldCount':this[_0xf73958(0x372)]()[_0xf73958(0x2f3)],'requiredFieldCount':this[_0xf73958(0x307)]()['length'],'primaryKeyCount':this[_0xf73958(0x282)]()[_0xf73958(0x2f3)],'operationCount':this[_0xf73958(0x23e)](),'enabledOperationCount':this[_0xf73958(0x244)]()[_0xf73958(0x2f3)]};}[a0_0x2c4dc0(0x20c)](){const _0x209f5a=a0_0x2c4dc0;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x209f5a(0x31d)],'dbtableConfig':this['getRawDbtableConfig']()});}['toString'](){const _0x47a944=a0_0x2c4dc0;return'DrivenDataDetail('+this['name']+',\x20'+this['datasetCode']+',\x20'+this[_0x47a944(0x21e)]()+_0x47a944(0x200)+this[_0x47a944(0x23e)]()+'\x20operations)';}['getFilterOperation'](){const _0x2dcf71=a0_0x2c4dc0,_0x26106f=this[_0x2dcf71(0x1dd)](_0x2dcf71(0x358));return _0x26106f;}[a0_0x2c4dc0(0x218)](){const _0x512331=a0_0x2c4dc0;return this[_0x512331(0x2a8)](_0x512331(0x358));}['getOperationOperators'](_0xc66e74){const _0x4e5bd9=this['getOperation'](_0xc66e74);return _0x4e5bd9?_0x4e5bd9['getOperators']():[];}['getOperationFieldOperators'](_0x444936,_0x5ebe7d){const _0x1d5353=a0_0x2c4dc0,_0x26f08d=this[_0x1d5353(0x1dd)](_0x444936);return _0x26f08d?_0x26f08d[_0x1d5353(0x352)](_0x5ebe7d):[];}['getOperationFieldsOperatorsMap'](_0xa7c874){const _0x3d7f84={};return this['getFieldList']()['forEach'](_0x29743b=>{const _0x2eea52=a0_0x478a,_0x4596ca=this['getOperationFieldOperators'](_0xa7c874,_0x29743b['code']);_0x4596ca['length']>0x0&&(_0x3d7f84[_0x29743b[_0x2eea52(0x227)]]=_0x4596ca);}),_0x3d7f84;}[a0_0x2c4dc0(0x2ff)](_0x20b799,_0x283d24,_0x3adc53){const _0x151d8f=a0_0x2c4dc0,_0x2b3145=this[_0x151d8f(0x1b2)](_0x20b799,_0x283d24);return _0x2b3145[_0x151d8f(0x349)](_0x3adc53);}[a0_0x2c4dc0(0x31f)](){return this['getOperationOperators']('filter');}['getFieldFilterOperators'](_0x2352ac){const _0x27730b=a0_0x2c4dc0;return this[_0x27730b(0x1b2)]('filter',_0x2352ac);}[a0_0x2c4dc0(0x2b1)](){const _0x188b7e=a0_0x2c4dc0;return this['getOperationFieldsOperatorsMap'](_0x188b7e(0x358));}}class DatasetGroup{[a0_0x2c4dc0(0x370)];constructor(_0xf9f0a5){const _0x5af3cb=a0_0x2c4dc0;this['items']=Array['isArray'](_0xf9f0a5)?[..._0xf9f0a5]:[_0xf9f0a5],this[_0x5af3cb(0x370)][_0x5af3cb(0x2f5)]((_0x6ca2ff,_0x309593)=>{const _0x2d77d0=Number(_0x6ca2ff['id'])||0x0,_0x26a2eb=Number(_0x309593['id'])||0x0;return _0x26a2eb-_0x2d77d0;});}[a0_0x2c4dc0(0x22a)](){const _0x103f90=a0_0x2c4dc0;return this[_0x103f90(0x370)][_0x103f90(0x2f3)]>0x1;}[a0_0x2c4dc0(0x1d8)](){const _0x112a61=a0_0x2c4dc0;return this[_0x112a61(0x370)][0x0];}[a0_0x2c4dc0(0x2b8)](){const _0x4fc52c=a0_0x2c4dc0;return this[_0x4fc52c(0x370)][this['items']['length']-0x1];}[a0_0x2c4dc0(0x290)](){const _0x9ed4cc=a0_0x2c4dc0;return[...this[_0x9ed4cc(0x370)]];}[a0_0x2c4dc0(0x331)](){const _0x2464b1=a0_0x2c4dc0;return this[_0x2464b1(0x370)][_0x2464b1(0x2f3)];}[a0_0x2c4dc0(0x240)](_0x52c1a5){const _0x5a0b8f=a0_0x2c4dc0;return this[_0x5a0b8f(0x370)][_0x52c1a5];}[a0_0x2c4dc0(0x26e)](_0x59a0b2){const _0xecb350=a0_0x2c4dc0;return this[_0xecb350(0x370)]['find'](_0xac50e7=>_0xac50e7['id']===_0x59a0b2);}[a0_0x2c4dc0(0x1b8)](_0x25e3c7){const _0x282d6a=a0_0x2c4dc0;return this[_0x282d6a(0x370)][_0x282d6a(0x2a7)](_0x31f472=>_0x31f472[_0x282d6a(0x31d)]===_0x25e3c7);}[a0_0x2c4dc0(0x367)](){const _0x1ca9f7=a0_0x2c4dc0;return this['items'][_0x1ca9f7(0x2b2)](_0x413db0=>_0x413db0['id'])[_0x1ca9f7(0x358)](_0x477b31=>_0x477b31!==undefined);}[a0_0x2c4dc0(0x328)](){const _0x238c23=a0_0x2c4dc0;return this['items']['map'](_0x285b27=>_0x285b27[_0x238c23(0x31d)]);}[a0_0x2c4dc0(0x29a)](){const _0x1b2f0d=a0_0x2c4dc0;if(this[_0x1b2f0d(0x22a)]())return _0x1b2f0d(0x19e)+this[_0x1b2f0d(0x370)]['length']+_0x1b2f0d(0x27a)+this['getLatest']()[_0x1b2f0d(0x27f)]+')';return _0x1b2f0d(0x19e)+this[_0x1b2f0d(0x370)][0x0][_0x1b2f0d(0x27f)]+')';}}class DatasetGroupMap{[a0_0x2c4dc0(0x33a)];constructor(_0x21044c){const _0x222e6a=a0_0x2c4dc0;this['groups']=new Map();for(const _0x2dcb30 of _0x21044c){const _0x10501c=getTableKey(_0x2dcb30);if(!this[_0x222e6a(0x33a)][_0x222e6a(0x256)](_0x10501c))this[_0x222e6a(0x33a)][_0x222e6a(0x224)](_0x10501c,new DatasetGroup(_0x2dcb30));else{const _0x570d99=this[_0x222e6a(0x33a)][_0x222e6a(0x1ac)](_0x10501c),_0x4c8438=[..._0x570d99[_0x222e6a(0x290)](),_0x2dcb30];this[_0x222e6a(0x33a)][_0x222e6a(0x224)](_0x10501c,new DatasetGroup(_0x4c8438));}}}[a0_0x2c4dc0(0x1ac)](_0x764e8){const _0x211711=a0_0x2c4dc0;return this[_0x211711(0x33a)][_0x211711(0x1ac)](_0x764e8);}[a0_0x2c4dc0(0x256)](_0x51cced){const _0xebac32=a0_0x2c4dc0;return this['groups'][_0xebac32(0x256)](_0x51cced);}get['size'](){const _0x50c52b=a0_0x2c4dc0;return this[_0x50c52b(0x33a)]['size'];}['keys'](){const _0x3dea96=a0_0x2c4dc0;return this['groups'][_0x3dea96(0x21f)]();}['values'](){const _0x204154=a0_0x2c4dc0;return this[_0x204154(0x33a)][_0x204154(0x22d)]();}[a0_0x2c4dc0(0x310)](){const _0x391f0c=a0_0x2c4dc0;return this['groups'][_0x391f0c(0x310)]();}[Symbol['iterator']](){const _0x4adff8=a0_0x2c4dc0;return this[_0x4adff8(0x33a)][_0x4adff8(0x310)]();}[a0_0x2c4dc0(0x32d)](_0x4d7ef4){const _0x13766d=a0_0x2c4dc0;this['groups'][_0x13766d(0x32d)]((_0x2fc3f5,_0x54850a)=>_0x4d7ef4(_0x2fc3f5,_0x54850a,this));}[a0_0x2c4dc0(0x27b)](){const _0x4808ae=a0_0x2c4dc0,_0x22270c=new Map();for(const [_0x516263,_0x4b068d]of this['groups']){_0x4b068d[_0x4808ae(0x22a)]()&&_0x22270c[_0x4808ae(0x224)](_0x516263,_0x4b068d);}return _0x22270c;}[a0_0x2c4dc0(0x25f)](){const _0x236a52=a0_0x2c4dc0;for(const _0x1e1cc6 of this[_0x236a52(0x33a)]['values']()){if(_0x1e1cc6['hasConflict']())return!![];}return![];}['getConflictStats'](){const _0x465936=a0_0x2c4dc0;let _0x5f1c55=0x0,_0x12cb62=0x0;for(const _0x48926a of this[_0x465936(0x33a)][_0x465936(0x22d)]()){_0x48926a[_0x465936(0x22a)]()&&(_0x5f1c55++,_0x12cb62+=_0x48926a[_0x465936(0x331)]());}return{'conflictGroupCount':_0x5f1c55,'conflictItemCount':_0x12cb62,'totalGroups':this['groups'][_0x465936(0x189)]};}[a0_0x2c4dc0(0x2d9)](){const _0x14edd4=a0_0x2c4dc0,_0x333a5c=[];for(const _0x126ad9 of this[_0x14edd4(0x33a)]['values']()){_0x333a5c[_0x14edd4(0x1f6)](..._0x126ad9[_0x14edd4(0x290)]());}return _0x333a5c;}[a0_0x2c4dc0(0x1a7)](){const _0x597040=a0_0x2c4dc0,_0x44e08f=[];for(const _0x508d41 of this[_0x597040(0x33a)][_0x597040(0x22d)]()){_0x44e08f[_0x597040(0x1f6)](_0x508d41['getLatest']());}return _0x44e08f;}[a0_0x2c4dc0(0x1d8)](_0x4016bf){const _0x293c65=a0_0x2c4dc0;return this[_0x293c65(0x33a)][_0x293c65(0x1ac)](_0x4016bf)?.[_0x293c65(0x1d8)]();}['getAll'](_0x10fc8c){const _0xdc71bd=a0_0x2c4dc0;return this[_0xdc71bd(0x33a)][_0xdc71bd(0x1ac)](_0x10fc8c)?.['getAll']()||[];}[a0_0x2c4dc0(0x30e)](){const _0x5b52f1=a0_0x2c4dc0,_0x2f53ce=this[_0x5b52f1(0x1a7)](),_0x4eb9ff=_0x2f53ce[_0x5b52f1(0x2b2)](_0x4355fc=>_0x4355fc[_0x5b52f1(0x309)]());return generateDatasetsConfig(_0x4eb9ff,{'enableDeduplication':![]});}['toFullConfig'](){const _0x4db392=a0_0x2c4dc0,_0x49ac69=this['getAllDatasets'](),_0x2e90ef=_0x49ac69['map'](_0x4df77d=>_0x4df77d[_0x4db392(0x309)]());return generateFullDatasetsConfig(_0x2e90ef);}['toObject'](){const _0x18ba65=a0_0x2c4dc0,_0x569cd6={};for(const [_0x2e5898,_0x27e7cf]of this[_0x18ba65(0x33a)]){_0x569cd6[_0x2e5898]=_0x27e7cf;}return _0x569cd6;}[a0_0x2c4dc0(0x309)](){const _0x7053d1=a0_0x2c4dc0,_0x4bc078={};for(const [_0x436c7b,_0xfae400]of this[_0x7053d1(0x33a)]){_0x4bc078[_0x436c7b]=_0xfae400['getAll']()[_0x7053d1(0x2b2)](_0x59ec85=>_0x59ec85[_0x7053d1(0x309)]());}return _0x4bc078;}[a0_0x2c4dc0(0x29a)](){const _0x4debb7=a0_0x2c4dc0;return _0x4debb7(0x335)+this[_0x4debb7(0x33a)][_0x4debb7(0x189)]+'\x20groups,\x20'+(this[_0x4debb7(0x25f)]()?_0x4debb7(0x298):_0x4debb7(0x340))+')';}}class DatasetList{[a0_0x2c4dc0(0x29f)];constructor(_0x281ad2){const _0x38e21c=a0_0x2c4dc0;let _0xd601d2;if(Array[_0x38e21c(0x35e)](_0x281ad2))_0xd601d2=_0x281ad2;else{if(_0x38e21c(0x29c)in _0x281ad2){if(!_0x281ad2[_0x38e21c(0x29c)]||!_0x281ad2['data']?.[_0x38e21c(0x21d)])throw new Error(_0x38e21c(0x278));_0xd601d2=_0x281ad2[_0x38e21c(0x20f)][_0x38e21c(0x21d)][_0x38e21c(0x2b2)](_0x624fc5=>({..._0x624fc5,'datasetCode':_0x624fc5[_0x38e21c(0x227)]||_0x624fc5['datasetCode']}));}else{if(_0x38e21c(0x21d)in _0x281ad2){if(!Array['isArray'](_0x281ad2[_0x38e21c(0x21d)]))throw new Error(_0x38e21c(0x206));_0xd601d2=_0x281ad2[_0x38e21c(0x21d)][_0x38e21c(0x2b2)](_0x3f8e7a=>({..._0x3f8e7a,'datasetCode':_0x3f8e7a[_0x38e21c(0x227)]||_0x3f8e7a[_0x38e21c(0x31d)]}));}else throw new Error(_0x38e21c(0x266));}}const _0x44c2aa=_0xd601d2[_0x38e21c(0x2b2)](_0x37f005=>new DatasetItem(_0x37f005));this[_0x38e21c(0x29f)]=new DatasetGroupMap(_0x44c2aa);}get['datasetMap'](){const _0xbd22e7=a0_0x2c4dc0;return this[_0xbd22e7(0x29f)];}['getItems'](){const _0x49c5ab=a0_0x2c4dc0;return this['_datasetMap'][_0x49c5ab(0x2d9)]();}[a0_0x2c4dc0(0x331)](){const _0x274163=a0_0x2c4dc0;return this[_0x274163(0x233)]()[_0x274163(0x2f3)];}[a0_0x2c4dc0(0x330)](){const _0x562fee=a0_0x2c4dc0;return this[_0x562fee(0x29f)][_0x562fee(0x189)]===0x0;}[a0_0x2c4dc0(0x240)](_0x24d493){const _0x3cbd74=a0_0x2c4dc0;return this[_0x3cbd74(0x233)]()[_0x24d493];}['getFirst'](){return this['getItems']()[0x0];}['getLast'](){const _0x3344d0=a0_0x2c4dc0,_0x563e12=this[_0x3344d0(0x233)]();return _0x563e12[_0x563e12['length']-0x1];}[a0_0x2c4dc0(0x1b8)](_0x3c14d0){const _0x54208e=a0_0x2c4dc0;for(const _0x44defe of this[_0x54208e(0x29f)][_0x54208e(0x22d)]()){const _0x5474e5=_0x44defe[_0x54208e(0x1b8)](_0x3c14d0);if(_0x5474e5)return _0x5474e5;}return;}[a0_0x2c4dc0(0x1aa)](_0x4612e3){const _0x22776b=a0_0x2c4dc0;return this[_0x22776b(0x233)]()[_0x22776b(0x2a7)](_0x4ad1f8=>_0x4ad1f8[_0x22776b(0x27f)]===_0x4612e3);}[a0_0x2c4dc0(0x26e)](_0x307559){const _0x576750=a0_0x2c4dc0;for(const _0x4e54c8 of this[_0x576750(0x29f)][_0x576750(0x22d)]()){const _0x2755c6=_0x4e54c8[_0x576750(0x26e)](_0x307559);if(_0x2755c6)return _0x2755c6;}return;}[a0_0x2c4dc0(0x1d2)](_0x2552f9){const _0x28b023=a0_0x2c4dc0,_0x5297d2=getTableKey(_0x2552f9);return this[_0x28b023(0x29f)][_0x28b023(0x1d8)](_0x5297d2);}['filter'](_0x411c66){const _0x5b4e72=a0_0x2c4dc0,_0xe413bf=this['getItems']()[_0x5b4e72(0x358)](_0x411c66);return new DatasetList(_0xe413bf['map'](_0x17b814=>_0x17b814[_0x5b4e72(0x309)]()));}[a0_0x2c4dc0(0x32a)](_0x3ec448){const _0x32bbf0=a0_0x2c4dc0;return this[_0x32bbf0(0x233)]()[_0x32bbf0(0x358)](_0x3ec448);}['forEach'](_0x21705d){const _0x25ecc7=a0_0x2c4dc0;this[_0x25ecc7(0x233)]()['forEach'](_0x21705d);}['map'](_0x4faac3){const _0x3444c9=a0_0x2c4dc0;return this[_0x3444c9(0x233)]()['map'](_0x4faac3);}[Symbol[a0_0x2c4dc0(0x33e)]](){const _0x1260a4=a0_0x2c4dc0;return this[_0x1260a4(0x233)]()[Symbol[_0x1260a4(0x33e)]]();}['getVirtualTables'](){const _0x1abeb4=a0_0x2c4dc0;return this[_0x1abeb4(0x233)]()[_0x1abeb4(0x358)](_0x401382=>_0x401382[_0x1abeb4(0x1a3)]());}[a0_0x2c4dc0(0x1ff)](){const _0x5d70d9=a0_0x2c4dc0;return this['getItems']()['filter'](_0x463fdd=>!_0x463fdd[_0x5d70d9(0x1a3)]());}['groupByTableName'](){const _0x3e0433=a0_0x2c4dc0,_0x5208f1={};for(const _0x17bb9b of this[_0x3e0433(0x29f)][_0x3e0433(0x22d)]()){const _0x2e143c=_0x17bb9b['getLatest']()['getTableName']();_0x5208f1[_0x2e143c]=_0x17bb9b[_0x3e0433(0x290)]();}return _0x5208f1;}[a0_0x2c4dc0(0x359)](){const _0x8b0593=a0_0x2c4dc0,_0x199828={};for(const _0x5e5849 of this['_datasetMap'][_0x8b0593(0x27b)]()[_0x8b0593(0x22d)]()){const _0x299e0f=_0x5e5849[_0x8b0593(0x1d8)]()['getTableName']();_0x199828[_0x299e0f]=_0x5e5849[_0x8b0593(0x290)]()[_0x8b0593(0x2b2)](_0x406ae7=>_0x406ae7[_0x8b0593(0x309)]());}return{'hasConflicts':Object['keys'](_0x199828)[_0x8b0593(0x2f3)]>0x0,'conflicts':_0x199828};}[a0_0x2c4dc0(0x25f)](){const _0x23fe83=a0_0x2c4dc0;return this[_0x23fe83(0x29f)][_0x23fe83(0x25f)]();}['getConflictingItems'](){const _0x53fade=a0_0x2c4dc0,_0x4f4c9d=[];for(const _0x253de7 of this['_datasetMap'][_0x53fade(0x27b)]()[_0x53fade(0x22d)]()){_0x4f4c9d[_0x53fade(0x1f6)](..._0x253de7['getAll']());}return _0x4f4c9d;}['generateConfig'](_0x1714cf){const _0x1c9815=a0_0x2c4dc0;if(!_0x1714cf||Object['keys'](_0x1714cf)[_0x1c9815(0x2f3)]===0x0)return this[_0x1c9815(0x234)][_0x1c9815(0x30e)]();const _0x293bec=this['getItems']()[_0x1c9815(0x2b2)](_0x6baa5=>_0x6baa5['toJSON']());return generateDatasetsConfig(_0x293bec,_0x1714cf);}[a0_0x2c4dc0(0x21a)](_0x54172e){const _0x39a29a=this['generateConfig'](_0x54172e);return datasetsConfigToArray(_0x39a29a);}[a0_0x2c4dc0(0x1c6)](){const _0x59bbf=a0_0x2c4dc0;return this[_0x59bbf(0x233)]()['map'](_0xb9a8db=>_0xb9a8db[_0x59bbf(0x30e)]());}[a0_0x2c4dc0(0x2ee)](){const _0x4fecbb=a0_0x2c4dc0;return{'total':this[_0x4fecbb(0x331)](),'virtualTables':this[_0x4fecbb(0x345)]()[_0x4fecbb(0x2f3)],'realTables':this[_0x4fecbb(0x1ff)]()[_0x4fecbb(0x2f3)],'hasConflicts':this['hasConflicts'](),'conflictCount':this[_0x4fecbb(0x237)]()[_0x4fecbb(0x2f3)]};}[a0_0x2c4dc0(0x235)](){const _0x28ba87=a0_0x2c4dc0;return this[_0x28ba87(0x233)]()[_0x28ba87(0x2b2)](_0x240ae5=>_0x240ae5[_0x28ba87(0x309)]());}[a0_0x2c4dc0(0x309)](){return this['toArray']();}[a0_0x2c4dc0(0x29a)](){const _0x3e11f8=a0_0x2c4dc0;return _0x3e11f8(0x1d6)+this[_0x3e11f8(0x331)]()+_0x3e11f8(0x2e0)+this['_datasetMap'][_0x3e11f8(0x189)]+_0x3e11f8(0x26a);}static[a0_0x2c4dc0(0x25c)](_0x2d176d){return new DatasetList(_0x2d176d);}static[a0_0x2c4dc0(0x343)](_0x2208d8){return new DatasetList(_0x2208d8);}static['empty'](){return new DatasetList([]);}}function a0_0x57e3(){const _0x836bdb=['getEnumFieldMeta','label','\x20items,\x20','getCountByType','requestBody','usageExample','fieldName','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','API路径','isEnum','isEnumField','multiple','$lte','getDisplayName','version','$and','getStats','dbType','getUploadFileScript','responseSchema','some','length','getSystemFields','sort','value1','文件上传','join','sdkCallCode','fieldCount','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','getPath','generateRequestExample','getOperators','isOperatorApplicableToField','toISOString','pageSize','getFileUrl','generateFromSchema','isEnabled','every','children','getRequiredFields','sortOperationsWithFilterFirst','toJSON','getEnabled','generateSDKInitCode','operations','2024-12-31','toConfig','delete','entries','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','2016540mKtCfE','isSystemField','parseFieldExtend','required','GET_UPLOAD_FILE_SCRIPT','updateTime','(id,\x20','toUpperCase','15TsEtpR','getRaw','datasetCode','displayName','getFilterOperators','sdkCall','getFieldDefinition','POST','isPrimaryKey','modifierIdField','BIGINT','replace','dblinkInfoDTO','getCodes','getSystem','findAll','DECIMAL','isUpdateTime','forEach','STRING','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','isEmpty','getCount','[Field]\x20Invalid\x20field\x20definition','dbName','create','DatasetGroupMap(','pkField','完整的\x20SDK\x20调用代码','getPrimaryKeys','getOperationsOverviewData','groups','$or','getSDKInitData','[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:','iterator','charAt','no\x20conflicts','排序规则','1114432wEZZvh','initDataset','taskInfo','getVirtualTables','88dlIggb','_operationList','online','includes','systemAnalysisResult','createTimeField','placeholder','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','getDisabledNames','systemRetain','hasLogicField','raw','getFieldOperators','getAllFieldsArray','getFields','supportsCRUD','value2','getSelectOptions','filter','detectConflicts','createAll','https://example.com/image.jpg','\x20operations)','145404CVVwJP','isArray',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getOperationAnalyses','value','[DrivenDataDetail.parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:','GET_ONE_UPDATE','generateOperationSummary','getOne','NUMBER','getIds','getEnumFields','where','isCreateTime','N/A','path','getResponseSchema','suffix','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','items','validateEnumValue','getBusinessFields','extend','size','parseRawResponseBody','数组查询(支持多选)','modelCode','UPDATE','getFieldsByType','modifierNameField','options','substring','97311ydUuvz','generateFieldExample','getList','\x20operation\x0a','field_name','获取文件URL','lastIndexOf','creatorNameField','getOperations','TEXT','Object[]','getType','DatasetGroup(','generateUsageExample','object','[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array','200','isVirtualTable','businessFieldCount','fields','getOperationCountByType','getLatestDatasets','toLowerCase','min','findByName','operation','get','now','createDate','parseRawRequestBody','getEnumMeta','();','getOperationFieldOperators','3810569nyYNyZ','getFilteredOperationAnalyses','查询单个条件','(id);','enabledOperationCount','findByCode','$contain','getSource','getByType','({\x20','trim','\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20','DELETE','[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:','740mrKBNN','支持单值或数组','getEnabledOperationInstances','Excel导出','query','toConfigArray','长文本','GET_LIST','解析\x20requestBody\x20失败:','getFieldList','getBusiness','getOperationStats','getDisabled','GET_ONE','$gteq','updateTimeField','const\x20result\x20=\x20await\x20client.models.','findByTableName','orderBy','add','includeDisabled','DatasetList(','defaultValue','getLatest','enabled','isPrimaryKeyField','[parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:','getEnumMetas','getOperation','createImport','\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,','<p>富文本内容</p>','BOOLEAN','email','getDisabledOperationInstances','successCode','getEnabledOperationAnalyses','系统自动生成','String','labelField','$in','generateSDKCallCode','DATE','$lteq','params','-\x20`','getMethod','getName','$startWith','[DrivenDataDetail.parseFieldExtend]\x20解析字段\x20','parse','primaryKey','createExport','push','ensureFilterOperation','8yrkgYU','getRequestFields','customFilter','currentPage','description','dataset_000000','getFullUrl','getRealTables','\x20fields,\x20','getEnumOptions','slice','systemFieldCount','generateRequestAllExamples','$endWith','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','getFieldRaw','创建导入','getField','excelExport','creatorIdField','toListItem','type','filterBlacklist','data','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','SELECT','isAutoIncrement','getSystemAnalysisResult','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','status','2024-01-01','tableName','hasFilterOperation','getTenantCode','generateConfigArray','getTableName','autoIncrement','tableData','getFieldCount','keys','context','getTooltip','$eq','CHECKBOX','set','getFieldInstance','source','code','Object','valueLabels','hasConflict','hasDblinkInfo','时间戳','values','properties','_operations','Number','\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});','解析\x20responseBody\x20失败:','getItems','datasetMap','toArray','GET_ONE_ORIGIN','getConflictingItems','\x0a\x0a//\x20','getOneUpdate','isBusiness','host','getEnum','getEnumFieldsMeta','getOperationCount','创建导出','getAt','(params);','hasTableName','getRequired','getEnabledOperations','boolean','dbtableConfig','DESC','VARCHAR','_fieldList','update','_operationAnalyses','getApplicableOperators','getMissingCRUDOperations','OperationList(','字段编码','total','getDatabaseVersion','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getCountByMethod','errorMsg','当前页码','has','getRawDbtableConfig','示例值','\x20API\x20文档','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','_raw','fromApiResponse','DrivenDataDetailPlus(','getOneOrigin','hasConflicts','number','getOperationList','generateExampleValue','importTemplate','(...);\x0a\x20\x20console.log(data);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x20(包含\x20success,\x20errorMsg\x20等)\x0a}','_fields','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse','generateFullSDKExample','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','TASK_INFO','\x20groups)','isRequiredField','warn','repeat','findById','[dsparser]\x20跳过重复的表名\x20\x22','hasCreateTimeField','hasUpdateTimeField','prefix','datasetKey','dbId','getEnabledNames','useFullExample','getSelectItemsSource','Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData','getOperationCountByMethod','\x20items,\x20conflict,\x20latest:\x20','getConflicts','groupByType','$ne','getTableKey','name','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','empty','getPrimaryKeyFields','13pvzTpd','查询列表','String[]','_extend','日期时间','支持多个条件','getNames','split','tenantCode','modifyDate','isMultipleSelect','test','generateDefaultFilterOperation','getAll','getDefaultValue','selectBestOperator','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','generateResponseExample','getDatabaseName','请求示例','responseBody','has\x20conflicts','isSystem','toString','getDisabledOperations','success','导入模板','getRequestParams','_datasetMap','136214dGEynh','0000','getAllFieldsString',',\x20...\x20});','allFields','stringify','requestFields','find','hasOperation','array','getAppCode','示例文本','isRequired','keyword','任务信息','getOperationAnalysesByType','hasField','getFieldsFilterOperatorsMap','map','这是一段较长的文本内容示例','[parseFieldExtend]\x20解析字段\x20','`:\x20','hasModifierIdField','Operation\x20instance\x20not\x20found:\x20','getOldest','isMultipleSelectField','BOOL','logicField','method','$gte',',\x20currentPage,\x20pageSize,\x20...\x20});','item1','user@example.com','selectItemsSource','hasCreatorIdField','获取数据集失败:\x20','getAutoIncrement','DATETIME','EXCEL_EXPORT','13800138000','查询单条(原始)','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','string','from','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','getUpdateTime','\x20的\x20extend\x20配置失败:','getOperationAnalysis','INTEGER','getOperationDocMeta','generateAllOperationsSummary','generateSingleValueExample','IMPORT_TEMPLATE','errorCode','https://example.com/file.pdf','操作成功','getOperationRequestFields','getAllDatasets','1.0.0-beta.8','TIMESTAMP','/filter','308892MYchGB'];a0_0x57e3=function(){return _0x836bdb;};return a0_0x57e3();}function operationToAnalysis(_0x3816df){const _0x1e9ed3=a0_0x2c4dc0;return{'name':_0x3816df[_0x1e9ed3(0x1f0)](),'displayName':_0x3816df[_0x1e9ed3(0x2eb)](),'type':_0x3816df[_0x1e9ed3(0x19d)](),'method':_0x3816df['getMethod'](),'path':_0x3816df[_0x1e9ed3(0x2fc)](),'fullUrl':_0x3816df[_0x1e9ed3(0x1fe)](),'requestFields':_0x3816df['getRequestFields'](),'requestParams':_0x3816df[_0x1e9ed3(0x29e)](),'responseSchema':_0x3816df[_0x1e9ed3(0x36d)](),'requestExample':_0x3816df[_0x1e9ed3(0x2fd)](),'responseExample':_0x3816df[_0x1e9ed3(0x294)](),'enabled':_0x3816df[_0x1e9ed3(0x304)]()};}function operationsToAnalyses(_0xd684a1){const _0x3c956c=a0_0x2c4dc0;return _0xd684a1[_0x3c956c(0x2b2)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x2c4dc0(0x24b)];[a0_0x2c4dc0(0x360)](_0x580a62=![]){const _0x3f8e91=a0_0x2c4dc0;if(!_0x580a62&&this[_0x3f8e91(0x24b)])return this[_0x3f8e91(0x24b)];const _0x44b3ea=this[_0x3f8e91(0x19a)]();return this[_0x3f8e91(0x24b)]=operationsToAnalyses(_0x44b3ea),this[_0x3f8e91(0x24b)];}[a0_0x2c4dc0(0x1e5)](){return this['getFilteredOperationAnalyses']({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x2c4dc0(0x1b4)](_0x50e503={}){const _0xe3af82=a0_0x2c4dc0;let _0x17f2ce=this[_0xe3af82(0x360)]();return!_0x50e503[_0xe3af82(0x1d5)]&&(_0x17f2ce=_0x17f2ce[_0xe3af82(0x358)](_0x1f4b9b=>_0x1f4b9b[_0xe3af82(0x1d9)])),_0x50e503[_0xe3af82(0x20e)]!==![]&&(_0x17f2ce=filterApiOperations(_0x17f2ce)),_0x50e503[_0xe3af82(0x1fa)]&&(_0x17f2ce=_0x17f2ce[_0xe3af82(0x358)](_0x50e503[_0xe3af82(0x1fa)])),_0x17f2ce=this['sortOperationsWithFilterFirst'](_0x17f2ce),_0x17f2ce;}['sortOperationsWithFilterFirst'](_0xb2b22a){const _0x6d731d=a0_0x2c4dc0,_0x54ebbd=_0xb2b22a[_0x6d731d(0x2a7)](_0x280803=>_0x280803['name']===_0x6d731d(0x358)),_0x2e6629=_0xb2b22a[_0x6d731d(0x358)](_0x5820b2=>_0x5820b2[_0x6d731d(0x27f)]!==_0x6d731d(0x358));return _0x54ebbd?[_0x54ebbd,..._0x2e6629]:_0x2e6629;}['getOperationAnalysis'](_0x4330a0){const _0x1c608c=a0_0x2c4dc0,_0x2202c9=this[_0x1c608c(0x360)]();return _0x2202c9[_0x1c608c(0x2a7)](_0xcdf671=>_0xcdf671[_0x1c608c(0x27f)]===_0x4330a0);}[a0_0x2c4dc0(0x2af)](_0x556c0c){const _0x5b8859=a0_0x2c4dc0,_0x1d24ac=this[_0x5b8859(0x360)]();return _0x1d24ac[_0x5b8859(0x358)](_0x4fe5dc=>_0x4fe5dc[_0x5b8859(0x20d)]===_0x556c0c);}[a0_0x2c4dc0(0x2d8)](_0x3d1ede){const _0x349221=a0_0x2c4dc0,_0x471a7c=this['getOperation'](_0x3d1ede);if(!_0x471a7c)return[];const _0x31bfd4=_0x471a7c[_0x349221(0x1f9)](),_0x317822=this[_0x349221(0x354)]();return _0x317822[_0x349221(0x358)](_0x416d69=>_0x31bfd4[_0x349221(0x349)](_0x416d69[_0x349221(0x227)]));}['getOperationDocMeta'](_0x2f0b9e,_0x3676f4){const _0xe31c7e=a0_0x2c4dc0,_0x4b339e=this[_0xe31c7e(0x2cf)](_0x2f0b9e);if(!_0x4b339e)return null;const _0x4808ab=this['getOperation'](_0x4b339e[_0xe31c7e(0x27f)]);if(!_0x4808ab)throw new Error(_0xe31c7e(0x2b7)+_0x4b339e[_0xe31c7e(0x27f)]);const _0x103e78=this[_0xe31c7e(0x27e)](),_0x296517=this[_0xe31c7e(0x21b)](),_0x2194fe=_0x4808ab[_0xe31c7e(0x1ea)](_0x103e78,{'useFullExample':_0x3676f4?.[_0xe31c7e(0x276)]}),_0x42b804=_0x4808ab['generateUsageExample'](_0x103e78);return{'operation':_0x4b339e,'operationInstance':_0x4808ab,'basicInfo':{'name':_0x4b339e[_0xe31c7e(0x27f)],'displayName':_0x4b339e[_0xe31c7e(0x31e)],'method':_0x4b339e['method'],'path':_0x4b339e[_0xe31c7e(0x36c)],'fullUrl':_0x4b339e['fullUrl'],'enabled':_0x4b339e[_0xe31c7e(0x1d9)]},'sdkCall':{'datasetCode':this['datasetCode'],'modelName':_0x103e78,'tableName':_0x296517,'operationName':_0x4b339e['name'],'params':_0x4b339e[_0xe31c7e(0x2a6)],'code':_0x2194fe},'usageExample':_0x42b804};}['getDatasetDocMeta'](_0x2a08bd={}){const _0x19e7d3=a0_0x2c4dc0,_0x316421=this[_0x19e7d3(0x1b4)](_0x2a08bd),_0x526983=this[_0x19e7d3(0x2ee)](),_0xa1dacf={'name':this[_0x19e7d3(0x27f)],'code':this[_0x19e7d3(0x31d)],'tableName':this[_0x19e7d3(0x21b)](),'tableKey':this[_0x19e7d3(0x27e)](),'source':this[_0x19e7d3(0x226)],'fieldCount':_0x526983[_0x19e7d3(0x2fa)],'businessFieldCount':_0x526983[_0x19e7d3(0x1a4)],'systemFieldCount':_0x526983[_0x19e7d3(0x203)],'operationCount':_0x526983['operationCount'],'enabledOperationCount':_0x526983[_0x19e7d3(0x1b7)]},_0x3f4cd8=_0x316421[_0x19e7d3(0x2b2)](_0x236f63=>this[_0x19e7d3(0x2d1)](_0x236f63[_0x19e7d3(0x27f)]))['filter'](_0x71bb0e=>_0x71bb0e!==null);return{'title':this['name']+_0x19e7d3(0x259),'datasetInfo':_0xa1dacf,'operations':_0x3f4cd8};}[a0_0x2c4dc0(0x33c)](_0x3c7be2){const _0x59179a=a0_0x2c4dc0;return{'appCode':_0x3c7be2,'tableKey':this[_0x59179a(0x27e)](),'tableName':this[_0x59179a(0x21b)](),'datasetCode':this[_0x59179a(0x31d)]};}[a0_0x2c4dc0(0x339)](_0x13a671){const _0x57a672=a0_0x2c4dc0,_0x1d05fc=[{'index':'name','label':'接口名称'},{'index':_0x57a672(0x31e),'label':'操作名称'},{'index':'method','label':'方法'},{'index':'sdkCall','label':'SDK\x20调用'},{'index':_0x57a672(0x36c),'label':_0x57a672(0x2e6)},{'index':_0x57a672(0x2f9),'label':_0x57a672(0x337)}],_0x104604=_0x13a671['map'](_0x1cf3c7=>{const _0x4d3491=_0x57a672,{basicInfo:_0x46bfec,sdkCall:_0x45d18c}=_0x1cf3c7,_0x44cce9=_0x45d18c['code'][_0x4d3491(0x326)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x4d3491(0x326)](/;$/,'');return{'displayName':_0x46bfec[_0x4d3491(0x31e)],'name':_0x46bfec[_0x4d3491(0x27f)],'method':_0x46bfec[_0x4d3491(0x2bc)],'path':_0x46bfec[_0x4d3491(0x36c)],'sdkCall':_0x44cce9,'sdkCallCode':_0x45d18c[_0x4d3491(0x227)]};});return{'tableColumns':_0x1d05fc,'tableData':_0x104604};}[a0_0x2c4dc0(0x364)](_0x3e3959){const _0x302314=a0_0x2c4dc0,_0x495559=this[_0x302314(0x2cf)](_0x3e3959);if(!_0x495559)return null;return{'name':_0x495559[_0x302314(0x27f)],'displayName':_0x495559[_0x302314(0x31e)],'type':_0x495559['type'],'method':_0x495559['method'],'path':_0x495559['path'],'enabled':_0x495559['enabled'],'requestFieldCount':_0x495559[_0x302314(0x2a6)]['length'],'hasResponseSchema':_0x495559[_0x302314(0x2f1)]!==null};}[a0_0x2c4dc0(0x2d2)](_0x4f3a7b={}){const _0x48aa95=a0_0x2c4dc0,_0x124fef=this[_0x48aa95(0x1b4)](_0x4f3a7b);return{'datasetName':this['name'],'datasetCode':this[_0x48aa95(0x31d)],'tableName':this[_0x48aa95(0x21b)](),'totalOperations':_0x124fef['length'],'operations':_0x124fef[_0x48aa95(0x2b2)](_0x199ce6=>({'name':_0x199ce6[_0x48aa95(0x27f)],'displayName':_0x199ce6[_0x48aa95(0x31e)],'type':_0x199ce6[_0x48aa95(0x20d)],'method':_0x199ce6[_0x48aa95(0x2bc)],'path':_0x199ce6[_0x48aa95(0x36c)],'requestFieldCount':_0x199ce6['requestFields'][_0x48aa95(0x2f3)]}))};}[a0_0x2c4dc0(0x2d3)](_0x2447cb){const _0x19bba8=a0_0x2c4dc0,_0x5c5ea1={};return Object['entries'](_0x2447cb)[_0x19bba8(0x32d)](([_0x531300,_0x1dd1e7])=>{const _0x5aae86=_0x19bba8;Array[_0x5aae86(0x35e)](_0x1dd1e7)&&_0x1dd1e7[_0x5aae86(0x2f3)]>0x0?_0x5c5ea1[_0x531300]=_0x1dd1e7[0x0]:_0x5c5ea1[_0x531300]=_0x1dd1e7;}),_0x5c5ea1;}[a0_0x2c4dc0(0x1cc)](){const _0x320515=a0_0x2c4dc0,_0x4707a2=this[_0x320515(0x360)](),_0x4ff8a5=_0x4707a2[_0x320515(0x358)](_0x53044b=>_0x53044b[_0x320515(0x1d9)]);return{'total':_0x4707a2[_0x320515(0x2f3)],'enabled':_0x4ff8a5[_0x320515(0x2f3)],'disabled':_0x4707a2['length']-_0x4ff8a5[_0x320515(0x2f3)],'byType':this['getOperationCountByType'](_0x4ff8a5),'byMethod':this[_0x320515(0x279)](_0x4ff8a5)};}[a0_0x2c4dc0(0x1a6)](_0x2e182f){const _0x1dfc3e=a0_0x2c4dc0,_0x417a4e={};return _0x2e182f[_0x1dfc3e(0x32d)](_0x3b2072=>{const _0x30d139=_0x1dfc3e;_0x3b2072[_0x30d139(0x20d)]&&(_0x417a4e[_0x3b2072[_0x30d139(0x20d)]]=(_0x417a4e[_0x3b2072['type']]||0x0)+0x1);}),_0x417a4e;}[a0_0x2c4dc0(0x279)](_0x105a51){const _0x26616f={};return _0x105a51['forEach'](_0x374c77=>{const _0x126592=a0_0x478a;_0x26616f[_0x374c77[_0x126592(0x2bc)]]=(_0x26616f[_0x374c77[_0x126592(0x2bc)]]||0x0)+0x1;}),_0x26616f;}[a0_0x2c4dc0(0x355)](){const _0x55eabf=a0_0x2c4dc0,_0x50f1c8=this[_0x55eabf(0x1e5)](),_0x1c2a3d=new Set(_0x50f1c8[_0x55eabf(0x2b2)](_0x2b4952=>_0x2b4952[_0x55eabf(0x20d)])[_0x55eabf(0x358)](Boolean));return _0x1c2a3d[_0x55eabf(0x256)](_0x55eabf(0x334))&&_0x1c2a3d[_0x55eabf(0x256)](_0x55eabf(0x194))&&_0x1c2a3d[_0x55eabf(0x256)](_0x55eabf(0x24a))&&_0x1c2a3d[_0x55eabf(0x256)](_0x55eabf(0x30f));}[a0_0x2c4dc0(0x24d)](){const _0x3d0530=a0_0x2c4dc0,_0x3ec4d8=this[_0x3d0530(0x1e5)](),_0x49d914=new Set(_0x3ec4d8[_0x3d0530(0x2b2)](_0x122d2b=>_0x122d2b[_0x3d0530(0x20d)])[_0x3d0530(0x358)](Boolean)),_0x4888f7=[_0x3d0530(0x334),_0x3d0530(0x194),_0x3d0530(0x24a),_0x3d0530(0x30f)];return _0x4888f7[_0x3d0530(0x358)](_0x12b695=>!_0x49d914[_0x3d0530(0x256)](_0x12b695));}['generateFullSDKExample'](_0x368676,_0x38c52c,_0x50d9e3){const _0x5ba60e=a0_0x2c4dc0,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=!![]}=_0x50d9e3||{},_0x539f8f=this[_0x5ba60e(0x2d1)](_0x368676,{'useFullExample':includeRequestExample});if(!_0x539f8f)return null;let _0xca0c29='';return _0xca0c29+=_0x5ba60e(0x238)+_0x539f8f[_0x5ba60e(0x1ab)][_0x5ba60e(0x31e)]+'\x0a//\x20Call\x20the\x20'+_0x539f8f[_0x5ba60e(0x1ab)]['name']+_0x5ba60e(0x195)+_0x539f8f[_0x5ba60e(0x320)][_0x5ba60e(0x227)],includeUsageExample&&_0x539f8f['usageExample']&&(_0xca0c29+=_0x5ba60e(0x2cc)+_0x539f8f[_0x5ba60e(0x2e3)][_0x5ba60e(0x1e4)]+'\x0a\x0a'+_0x539f8f[_0x5ba60e(0x2e3)][_0x5ba60e(0x2d5)]),_0xca0c29;}['generateAllOperationsFullSDKExample'](_0x1c1c50){const _0x55c89a=a0_0x2c4dc0,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x1c1c50||{},_0x5368d2=this[_0x55c89a(0x1e5)]();return _0x5368d2[_0x55c89a(0x2b2)](_0x335d7e=>this[_0x55c89a(0x267)](_0x335d7e[_0x55c89a(0x27f)],this[_0x55c89a(0x31d)],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x55c89a(0x2f8)]('\x0a');}[a0_0x2c4dc0(0x30b)](_0x23c805,_0x73c11b=a0_0x2c4dc0(0x348),_0x5ea627=![]){const _0x192558=a0_0x2c4dc0,_0x4aa6d9=this['getTableKey'](),_0x54630f=this[_0x192558(0x21b)](),_0x53b740=this[_0x192558(0x31d)],_0x521710=_0x73c11b==='daily'?'\x0a\x20\x20env:\x20\x27'+_0x73c11b+'\x27,':'',_0x2fe62f=_0x5ea627?_0x192558(0x1df):'';return'import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27'+_0x23c805+'\x27,'+_0x2fe62f+_0x521710+_0x192558(0x1be)+_0x4aa6d9+':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27'+_0x54630f+_0x192558(0x214)+_0x53b740+_0x192558(0x231);}[a0_0x2c4dc0(0x29a)](){const _0x4b8d25=a0_0x2c4dc0,_0x2be0bb=this[_0x4b8d25(0x1cc)]();return _0x4b8d25(0x25d)+this['name']+',\x20'+this[_0x4b8d25(0x31d)]+',\x20'+this[_0x4b8d25(0x21e)]()+_0x4b8d25(0x200)+_0x2be0bb[_0x4b8d25(0x1d9)]+'/'+_0x2be0bb[_0x4b8d25(0x250)]+_0x4b8d25(0x35c);}}var VERSION=a0_0x2c4dc0(0x2da);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isSystemField,isRequiredField,isPrimaryKeyField,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FILTER_OPERATORS,DrivenDataDetailPlus,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
1
|
+
const a0_0xbd658e=a0_0x5e11;(function(_0x51ab28,_0x4521c8){const _0x389d94=a0_0x5e11,_0x3310df=_0x51ab28();while(!![]){try{const _0x17def9=-parseInt(_0x389d94(0x257))/0x1+parseInt(_0x389d94(0x389))/0x2+-parseInt(_0x389d94(0x32d))/0x3*(-parseInt(_0x389d94(0x1f2))/0x4)+parseInt(_0x389d94(0x29d))/0x5*(-parseInt(_0x389d94(0x32c))/0x6)+parseInt(_0x389d94(0x213))/0x7+parseInt(_0x389d94(0x291))/0x8*(-parseInt(_0x389d94(0x39e))/0x9)+-parseInt(_0x389d94(0x339))/0xa*(-parseInt(_0x389d94(0x249))/0xb);if(_0x17def9===_0x4521c8)break;else _0x3310df['push'](_0x3310df['shift']());}catch(_0x146dfb){_0x3310df['push'](_0x3310df['shift']());}}}(a0_0x55ec,0xe0d8c));function toCamelCase(_0x1aa5a2){const _0x3b900e=a0_0x5e11;if(!_0x1aa5a2)return'';return _0x1aa5a2[_0x3b900e(0x344)](/[_-]/)[_0x3b900e(0x362)]((_0x446e25,_0x2bac57)=>{const _0x1f019c=_0x3b900e;if(_0x2bac57===0x0)return _0x446e25[_0x1f019c(0x37d)]();return _0x446e25[_0x1f019c(0x26a)](0x0)[_0x1f019c(0x324)]()+_0x446e25[_0x1f019c(0x297)](0x1)[_0x1f019c(0x37d)]();})['join']('');}function toPascalCase(_0x2e02e4){const _0x48b556=a0_0x5e11;if(!_0x2e02e4)return'';const _0xff2652=toCamelCase(_0x2e02e4);return _0xff2652[_0x48b556(0x26a)](0x0)[_0x48b556(0x324)]()+_0xff2652[_0x48b556(0x297)](0x1);}function toSnakeCase(_0x33bd0a){const _0x4a6285=a0_0x5e11;if(!_0x33bd0a)return'';return _0x33bd0a[_0x4a6285(0x37a)](/([A-Z])/g,_0x4a6285(0x244))[_0x4a6285(0x37d)]()[_0x4a6285(0x37a)](/^_/,'');}function toKebabCase(_0x222ce9){const _0x485b7e=a0_0x5e11;if(!_0x222ce9)return'';return _0x222ce9[_0x485b7e(0x37a)](/([A-Z])/g,'-$1')[_0x485b7e(0x37d)]()[_0x485b7e(0x37a)](/^-/,'');}function normalizeFieldName(_0x5a0756){const _0x2dbd64=a0_0x5e11;if(!_0x5a0756)return'';return _0x5a0756[_0x2dbd64(0x2c4)]()['replace'](/\s+/g,'_')[_0x2dbd64(0x37a)](/[^a-zA-Z0-9_]/g,'_')[_0x2dbd64(0x37a)](/_+/g,'_')[_0x2dbd64(0x37a)](/^_|_$/g,'');}function getTableName(_0x1df3ea){const _0x204db7=a0_0x5e11;if(!_0x1df3ea)return _0x204db7(0x347);if(_0x1df3ea[_0x204db7(0x1f0)]?.[_0x204db7(0x1fd)])return _0x1df3ea[_0x204db7(0x1f0)][_0x204db7(0x1fd)];const _0x5bacd0=_0x1df3ea[_0x204db7(0x218)]||_0x1df3ea[_0x204db7(0x2ab)]||_0x1df3ea[_0x204db7(0x1f3)];if(_0x5bacd0)return generateTableNameFromCode(_0x5bacd0);return'dataset_000000';}function getTableKey(_0x2a475d){const _0x1f0e36=a0_0x5e11;if(typeof _0x2a475d===_0x1f0e36(0x261))return toCamelCase(_0x2a475d);const _0x574817=getTableName(_0x2a475d);return toCamelCase(_0x574817);}function generateTableNameFromCode(_0xbf39d){const _0x459f98=a0_0x5e11;if(!_0xbf39d)return'dataset_000000';const _0x173553=_0xbf39d['slice'](-0x6)[_0x459f98(0x373)](0x6,'0');return _0x459f98(0x2d5)+_0x173553;}function a0_0x55ec(){const _0x3cb015=['errorMsg','description','modifierNameField','系统自动生成','getOperationStats','getAllFieldsString','GET_UPLOAD_FILE_SCRIPT','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','entries','includes','getStats','value','map','filter',',\x20...\x20});','fieldName','(...);\x0a\x20\x20console.log(data);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x20(包含\x20success,\x20errorMsg\x20等)\x0a}','createTime','enabledOperationCount','supportsCRUD','getPrimaryKeyFields','importTemplate','selectItemsSource','操作成功','from','/filter','_fieldList','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','请求示例','padStart','-\x20`','长文本','\x20items,\x20','generateRequestAllExamples','toArray','useFullExample','replace','(id);','[parseFieldExtend]\x20解析字段\x20','toLowerCase','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','enabled','isCreateTime','parseRawResponseBody','getOperations','getIds','dblinkInfoDTO','getCountByType','hasOperation','host','select','1120264oDFFsb','OperationList(','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','[DrivenDataDetail.parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','getResponseSchema','findById','dbType','_operations','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','forEach','getByType','getTableName','generateSDKCallCode','toConfigArray','isAutoIncrement','$endWith','<p>富文本内容</p>','parseFieldExtend','where','tooltip','18GRITZW','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','getOperationDocMeta','getEnumMeta','`:\x20','value1','getOperationFieldOperators','getList','getOne','sdkCall','$or','status','String[]','操作名称','13800138000','toFieldDefinition','hasUpdateTimeField','createTimeField','generateResponseExample','params','items',':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','API路径','update','now','method','modifyDate','查询条件(支持\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)','getModelName','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','DatasetGroupMap(','getRequestFields','BOOL','hasModifierIdField','DATETIME','BIGINT','generateOperationSummary','$gte','STRING','isEmpty','delete','getAppCode','VARCHAR','getLatestDatasets','repeat','validateEnumValue','getSource','get','generateFullSDKExample','GET_ONE_ORIGIN','getAll','getUpdateTime','values','filterBlacklist','INTEGER','TIMESTAMP','number','(支持单值或数组)','getSystem','isOperationEnabled','add','groupByType','currentPage','2024-01-01','min','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','getOperation','解析\x20responseBody\x20失败:','dbtableConfig','getFieldDefinition','150068OLKpCT','modelCode','placeholder',',\x20fields:\x20','_operationList','getOperators','name','getEnabledOperations','getEnabled','getSelectOptions','responseBody','tableName','includeDisabled','1.0.0-beta.8','fieldCount','查询单条(原始)','fullUrl','https://example.com/file.pdf','getMissingCRUDOperations','解析\x20requestBody\x20失败:','GET_SELECT_OPTIONS','返回字段列表(字段投影)','\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});','iterator','getBusinessFields','initDataset','stringify','$ne','primaryKey','getUploadFileScript','JSON','DELETE','label','4934482SyhhtO','getSystemAnalysisResult','CREATE_EXPORT','every','$startWith','datasetCode','getField','[dsparser]\x20跳过重复的表名\x20\x22','requestBody','获取下拉选项','getAllFieldsArray','\x20的\x20extend\x20配置失败:','TEXT','getDatabaseName','isUpdateTime','DESC','getRaw','\x20fields,\x20','getPath','TASK_INFO','creatorIdField','isBusiness','_extend','$and','getOperationOperators','getDisabledNames','_raw','warn','isSystem','getSystemFields','empty','getOperationAnalysesByType','getLatest','getRequiredFields','datasetKey','successCode','const\x20result\x20=\x20await\x20client.models.','getFieldOperators','$gteq','updateTimeField','create','RADIO','$eq','Excel导出',',\x20currentPage,\x20pageSize,\x20...\x20});','getFullUrl','getFilteredOperationAnalyses','getEnumMetas','pageSize','_$1','hasConflicts','createImport','();','\x22,数据集:\x20','11yDgmIL','systemRetain','isEnabled','创建导入','properties','[generateRequestExample]\x20Invalid\x20field:','getType','getOldest','完整的\x20SDK\x20调用代码','isPrimaryKey','createDate','DatasetList(','email','isRequired','1330841ARqNVA','Object','operation','fields','sort','(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容','generateExampleValue','getConflictingItems','DECIMAL','getConflicts','string','generateFromSchema','getFieldInstance','data','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27','usageExample','keyword','getAllDatasets','getFieldList','charAt','allFields','object','getEnabledNames','displayName','Filter\x20API\x20-\x20高级查询接口','toConfig','查询列表','获取数据集列表失败:\x20','hasExtendField','context','示例文本','getApplicableOperators','hasLogicField','getCodes','toString','获取上传脚本','获取数据集失败:\x20','getMethod','toListItem','creatorNameField','任务信息','findByCode','excelExport','getOperationCountByType','getItems','isArray','generateSingleValueExample','getEnumFieldMeta','success','\x20groups)','getRequired','_fields','单值查询','has\x20conflicts','POST','CHECKBOX','\x20items,\x20conflict,\x20latest:\x20','这是一段较长的文本内容示例','366616cjuuaM','DbtableConfig(table:\x20','address','(id,\x20data);','operations','({\x20code,\x20label\x20});','slice','groups','CREATE','some','requestFields','日期时间','60fLoZqi','size','getNames','hasDblinkInfo','generateSDKInitCode','\x0a//\x20Call\x20the\x20','NUMBER','has','getFieldCount','total','dbId','version','datasetMap','[Field]\x20Invalid\x20field\x20definition','code','generateUsageExample','查询单条','createAll','(params);','autoIncrement','getFieldOptions','getOneOrigin','path','GET_LIST','parse','getTableKey','Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData','getEnabledOperationAnalyses','modifierIdField','getFilterOperators','getFieldSelectItemsSource','set','getDatabaseType','排序规则','boolean','字段编码','isEnum','getEnumFields','示例值','trim','pkField','isSystemField','tableData','getBusiness','hasTableName','hasField','errorCode',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','extend','2024-12-31','getFileUrl','multiple','DATE','findAll','Number','hasConflict','dataset_','getCountByMethod','array','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,','type','DrivenDataDetailPlus(','[parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:','getOneUpdate','all','文件上传','[Field.extend]\x20解析字段\x20','isMultipleSelect','item1','length','getRequestParams','query','join','dbVersion','msg','selectBestOperator','getAutoIncrement','CREATE_IMPORT','customFilter','generateRequestExample','({\x20currentPage,\x20pageSize\x20});','GET_ONE','下拉选择','getRawDbtableConfig','required','getDisplayName','getEnumOptions','getEnum','push','\x0a\x0a//\x20','labelField','getSDKInitData','_datasetMap','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','modelId','isVirtualTable','getOperationAnalysis','getOperationCount','getCreateTime','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','getName','$lteq','raw','generateConfig','generateAllOperationsFullSDKExample','find','BOOLEAN','EXCEL_EXPORT','createExport','getRealTables','getExtendField','getEnabledOperationInstances','导入模板','getFieldsFilterOperatorsMap','String','user@example.com','\x20operations)','children','logicField','getAt','getOperationList','value2','$lte','getFields','taskInfo','isRequiredField','DatasetItem(','isPrimaryKeyField','时间戳','sortOperationsWithFilterFirst','$in','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','getOperationAnalyses','getDisabled','toUpperCase','({\x20','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:','tenantCode','$contain','toJSON','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','hasCreatorIdField','161778dUpARs','102gekszy','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','generateFieldExample','valueLabels','数组查询(支持多选)','keys','[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:','toFullConfig','getDisabledOperationInstances','支持单值或数组','generateAllOperationsSummary','getPrimaryKeys','1263870wkmVDG','N/A','findByName','getOperationFieldsOperatorsMap','options','DatasetGroup(','appCode','当前页码','generateDefaultFilterOperation','detectConflicts','defaultValue','split','getSelectItemsSource','\x20API\x20文档','dataset_000000','systemAnalysisResult','getCount','source','getFilterOperation','getOperationCountByMethod','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','_operationAnalyses','systemFieldCount','接口名称','no\x20conflicts','[parseFieldExtend]\x20Invalid\x20field:','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','\x20operation\x0a'];a0_0x55ec=function(){return _0x3cb015;};return a0_0x55ec();}function isVirtualTableName(_0x338109){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x338109);}function generateDatasetsConfig(_0x53e994,_0x836f4c={}){const _0x3ef5fd=a0_0x5e11,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0xc3da3b,filter:_0x260d08}=_0x836f4c,_0x1ee839={},_0x1c5d4e=new Set();for(const _0x17f06d of _0x53e994){if(_0x260d08&&!_0x260d08(_0x17f06d))continue;const _0x332b81=getTableName(_0x17f06d);if(enableDeduplication&&_0x1c5d4e[_0x3ef5fd(0x2a4)](_0x332b81)){console[_0x3ef5fd(0x22e)](_0x3ef5fd(0x21a)+_0x332b81+_0x3ef5fd(0x248)+_0x17f06d[_0x3ef5fd(0x1f8)]+'\x20('+_0x17f06d[_0x3ef5fd(0x218)]+')');continue;}_0x1c5d4e[_0x3ef5fd(0x1e8)](_0x332b81);const _0x26aad5=_0xc3da3b?_0xc3da3b(_0x332b81,_0x17f06d):getTableKey(_0x332b81);_0x1ee839[_0x26aad5]={'key':_0x26aad5,'tableName':_0x332b81,'datasetCode':_0x17f06d[_0x3ef5fd(0x218)],'name':_0x17f06d[_0x3ef5fd(0x1f8)],'id':_0x17f06d['id']};}return _0x1ee839;}function generateFullDatasetsConfig(_0x2ef71,_0xa7c43e={}){const _0x45da4e=a0_0x5e11,{filter:_0x5c8603,datasetNameGenerator:_0x1a6fe0}=_0xa7c43e,_0x78a0be=_0x5c8603?_0x2ef71[_0x45da4e(0x363)](_0x5c8603):_0x2ef71,_0x5bad0f=groupByTableName(_0x78a0be),_0x23bae5={};for(const [_0x7dd03a,_0x460847]of Object[_0x45da4e(0x35e)](_0x5bad0f)){if(_0x460847['length']===0x1){const _0x5614c7=_0x460847[0x0],_0x487fc1=_0x1a6fe0?_0x1a6fe0(_0x7dd03a,_0x5614c7):getTableKey(_0x7dd03a);_0x23bae5[_0x487fc1]={'key':_0x487fc1,'tableName':_0x7dd03a,'datasetCode':_0x5614c7['datasetCode'],'name':_0x5614c7[_0x45da4e(0x1f8)],'id':_0x5614c7['id']};}else{const _0x3c4157=[..._0x460847]['sort']((_0x35d258,_0x7380b2)=>{const _0x1869c9=Number(_0x35d258['id'])||0x0,_0x5c8669=Number(_0x7380b2['id'])||0x0;return _0x5c8669-_0x1869c9;});_0x3c4157['forEach']((_0x3c8650,_0x52c027)=>{const _0x2c86cc=_0x45da4e,_0x2eae8a=_0x1a6fe0?_0x1a6fe0(_0x7dd03a,_0x3c8650):getTableKey(_0x7dd03a),_0x5864a0=_0x52c027===0x0?_0x2eae8a:_0x2eae8a+'_'+_0x52c027;_0x23bae5[_0x5864a0]={'key':_0x5864a0,'tableName':_0x7dd03a,'datasetCode':_0x3c8650['datasetCode'],'name':_0x3c8650[_0x2c86cc(0x1f8)],'id':_0x3c8650['id']};});}}return _0x23bae5;}function detectTableNameConflicts(_0x253159){const _0x6023cf=a0_0x5e11,_0xb66039={};for(const _0x13c393 of _0x253159){const _0x1ffce1=getTableName(_0x13c393);!_0xb66039[_0x1ffce1]&&(_0xb66039[_0x1ffce1]=[]),_0xb66039[_0x1ffce1][_0x6023cf(0x2f6)](_0x13c393);}const _0xf9f4c7={};for(const [_0x22409b,_0x5093cd]of Object[_0x6023cf(0x35e)](_0xb66039)){_0x5093cd[_0x6023cf(0x2e3)]>0x1&&(_0xf9f4c7[_0x22409b]=_0x5093cd);}return{'hasConflicts':Object[_0x6023cf(0x332)](_0xf9f4c7)['length']>0x0,'conflicts':_0xf9f4c7};}function createDatasetNameMap(_0xa70e9b){const _0x4b8a99=a0_0x5e11,_0x4f7354={};for(const [_0x4f57d0,_0x37d3db]of Object['entries'](_0xa70e9b)){_0x4f7354[_0x4f57d0]=_0x37d3db[_0x4b8a99(0x218)]||'';}return _0x4f7354;}function groupByTableName(_0x2d8b65){const _0x2ba8e2=a0_0x5e11,_0x38d8cd={};for(const _0xde041c of _0x2d8b65){const _0x3f80e0=getTableName(_0xde041c);!_0x38d8cd[_0x3f80e0]&&(_0x38d8cd[_0x3f80e0]=[]),_0x38d8cd[_0x3f80e0][_0x2ba8e2(0x2f6)](_0xde041c);}return _0x38d8cd;}function datasetsConfigToArray(_0x43be59){return Object['values'](_0x43be59);}function adaptDrivenDataDetail(_0x529f31){const _0x26eb90=a0_0x5e11;return{'id':_0x529f31['modelId'],'name':_0x529f31['name'],'datasetCode':_0x529f31[_0x26eb90(0x1f3)],'dbtableConfig':_0x529f31[_0x26eb90(0x1f0)],'source':_0x529f31[_0x26eb90(0x34a)],'version':_0x529f31[_0x26eb90(0x2a8)],'extend':_0x529f31[_0x26eb90(0x2cd)],'properties':_0x529f31[_0x26eb90(0x24d)],'operations':_0x529f31[_0x26eb90(0x295)]};}function adaptDrivenDataDetails(_0x40252b){const _0x29f829=a0_0x5e11;return _0x40252b[_0x29f829(0x362)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x33227c){const _0x15dfe7=a0_0x5e11;if(!_0x33227c[_0x15dfe7(0x287)]||!_0x33227c[_0x15dfe7(0x264)])throw new Error(_0x15dfe7(0x27b)+(_0x33227c[_0x15dfe7(0x356)]||_0x33227c['msg']));return adaptDrivenDataDetail(_0x33227c[_0x15dfe7(0x264)]);}function extractDatasetsFromListResponse(_0x4b861a){const _0x3b95d9=a0_0x5e11;if(!_0x4b861a[_0x3b95d9(0x287)]||!_0x4b861a['data']?.[_0x3b95d9(0x2c7)])throw new Error(_0x3b95d9(0x272)+(_0x4b861a[_0x3b95d9(0x356)]||_0x4b861a[_0x3b95d9(0x2e8)]));return _0x4b861a[_0x3b95d9(0x264)][_0x3b95d9(0x2c7)][_0x3b95d9(0x362)](_0x2299e5=>({..._0x2299e5,'datasetCode':_0x2299e5[_0x3b95d9(0x2ab)]||_0x2299e5[_0x3b95d9(0x218)]}));}function isDrivenDataDetail(_0x3fbc6e){const _0x5b3711=a0_0x5e11;return Boolean(_0x3fbc6e&&typeof _0x3fbc6e[_0x5b3711(0x1f3)]===_0x5b3711(0x261));}function smartAdapt(_0x540b4a){const _0x371eb2=a0_0x5e11;if(isDrivenDataDetail(_0x540b4a))return adaptDrivenDataDetail(_0x540b4a);if(_0x540b4a[_0x371eb2(0x218)])return _0x540b4a;if(_0x540b4a[_0x371eb2(0x2ab)])return{..._0x540b4a,'datasetCode':_0x540b4a[_0x371eb2(0x2ab)]};return _0x540b4a;}var DatasetOperationType;(_0x5e50fe=>{const _0x5d697f=a0_0x5e11;_0x5e50fe[_0x5d697f(0x2b4)]=_0x5d697f(0x3a5),_0x5e50fe[_0x5d697f(0x2ef)]=_0x5d697f(0x3a6),_0x5e50fe[_0x5d697f(0x3cf)]=_0x5d697f(0x2b2),_0x5e50fe['GET_ONE_UPDATE']=_0x5d697f(0x2dd),_0x5e50fe[_0x5d697f(0x299)]=_0x5d697f(0x23b),_0x5e50fe['UPDATE']=_0x5d697f(0x3b5),_0x5e50fe[_0x5d697f(0x211)]='delete',_0x5e50fe[_0x5d697f(0x206)]=_0x5d697f(0x1fb),_0x5e50fe['GET_FILE_URL']='getFileUrl',_0x5e50fe[_0x5d697f(0x309)]=_0x5d697f(0x281),_0x5e50fe[_0x5d697f(0x35c)]=_0x5d697f(0x20f),_0x5e50fe[_0x5d697f(0x2eb)]=_0x5d697f(0x246),_0x5e50fe[_0x5d697f(0x215)]=_0x5d697f(0x30a),_0x5e50fe[_0x5d697f(0x226)]=_0x5d697f(0x31a),_0x5e50fe['IMPORT_TEMPLATE']=_0x5d697f(0x36b);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0xbd658e(0x3a5)]:a0_0xbd658e(0x271),[a0_0xbd658e(0x3a6)]:a0_0xbd658e(0x2ad),[a0_0xbd658e(0x2b2)]:a0_0xbd658e(0x201),[a0_0xbd658e(0x2dd)]:'查询单条(用于更新)',['create']:'创建',['update']:'更新',[a0_0xbd658e(0x3c6)]:'删除',['getSelectOptions']:a0_0xbd658e(0x21c),[a0_0xbd658e(0x2cf)]:'获取文件URL',[a0_0xbd658e(0x281)]:a0_0xbd658e(0x23e),[a0_0xbd658e(0x20f)]:a0_0xbd658e(0x27a),[a0_0xbd658e(0x246)]:a0_0xbd658e(0x24c),[a0_0xbd658e(0x30a)]:'创建导出',[a0_0xbd658e(0x31a)]:a0_0xbd658e(0x27f),[a0_0xbd658e(0x36b)]:a0_0xbd658e(0x30e)},API_BLACKLIST=['getOneOrigin',a0_0xbd658e(0x2dd),a0_0xbd658e(0x2cf)];function parseFieldExtend(_0x5072bd){const _0x3d85ed=a0_0xbd658e;if(!_0x5072bd||typeof _0x5072bd!=='object')return!![]&&console[_0x3d85ed(0x22e)](_0x3d85ed(0x353),_0x5072bd),{};if(!_0x5072bd[_0x3d85ed(0x2cd)])return{};try{const _0x22d910=typeof _0x5072bd[_0x3d85ed(0x2cd)]==='string'?JSON[_0x3d85ed(0x2b5)](_0x5072bd[_0x3d85ed(0x2cd)]):_0x5072bd[_0x3d85ed(0x2cd)];if(typeof _0x22d910!==_0x3d85ed(0x26c)||_0x22d910===null)return!![]&&console[_0x3d85ed(0x22e)](_0x3d85ed(0x2dc),_0x22d910),{};return _0x22d910;}catch(_0x20ebad){return!![]&&console[_0x3d85ed(0x22e)](_0x3d85ed(0x37c)+_0x5072bd[_0x3d85ed(0x2ab)]+_0x3d85ed(0x21e),_0x20ebad),{};}}function isPrimaryKeyField(_0x415d8e,_0x4e67f8){const _0x529a68=a0_0xbd658e;if(!_0x415d8e||typeof _0x415d8e!==_0x529a68(0x26c))return![];if(typeof _0x4e67f8===_0x529a68(0x261)&&_0x415d8e[_0x529a68(0x2ab)]===_0x4e67f8)return!![];const _0x51f143=parseFieldExtend(_0x415d8e);return Boolean(_0x51f143['primaryKey']||_0x51f143[_0x529a68(0x2c5)]);}function isSystemField(_0x54c7e5){const _0x31c894=a0_0xbd658e,_0x3ca029=parseFieldExtend(_0x54c7e5);return Boolean(_0x3ca029[_0x31c894(0x24a)]);}function isRequiredField(_0x2f8349){const _0x4e4156=a0_0xbd658e,_0x468a23=parseFieldExtend(_0x2f8349);return Boolean(_0x468a23[_0x4e4156(0x2f2)]);}function isAutoIncrementField(_0x2f5e09){const _0x39ccb1=parseFieldExtend(_0x2f5e09);return Boolean(_0x39ccb1['autoIncrement']);}function isCreateTimeField(_0xd052bd){const _0x18284d=a0_0xbd658e,_0x3152a0=parseFieldExtend(_0xd052bd);return Boolean(_0x3152a0[_0x18284d(0x253)]);}function isModifyTimeField(_0xc654e4){const _0x3589f0=a0_0xbd658e,_0x2fa244=parseFieldExtend(_0xc654e4);return Boolean(_0x2fa244[_0x3589f0(0x3b8)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':a0_0xbd658e(0x375),'DATE':'日期','DATETIME':a0_0xbd658e(0x29c),'TIMESTAMP':a0_0xbd658e(0x31e),'SELECT':a0_0xbd658e(0x2f0),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0xbd658e(0x2df),'IMAGE':'图片','RICH_TEXT':'富文本','JSON':a0_0xbd658e(0x210),'ARRAY':'数组'};function getDbTypeDisplay(_0x15b26f){const _0x413500=a0_0xbd658e;if(typeof _0x15b26f!==_0x413500(0x261))return!![]&&console[_0x413500(0x22e)](_0x413500(0x371),_0x15b26f),String(_0x15b26f||'-');return DB_TYPE_DISPLAY_MAP[_0x15b26f]||_0x15b26f;}function formatDbType(_0x532dcb,_0x59c9d8){const _0x5d1fae=a0_0xbd658e;if(!_0x532dcb||typeof _0x532dcb!==_0x5d1fae(0x261))return'-';if(!_0x59c9d8||typeof _0x59c9d8!==_0x5d1fae(0x1e4))return _0x532dcb;const _0x34f1f1=[_0x5d1fae(0x21f),'DATETIME',_0x5d1fae(0x1e3),_0x5d1fae(0x2d1)];if(_0x34f1f1['includes'](_0x532dcb[_0x5d1fae(0x324)]()))return _0x532dcb;return _0x532dcb+'('+_0x59c9d8+')';}function parseOperationType(_0x3ee263){const _0x5a95dc=a0_0xbd658e;if(typeof _0x3ee263!=='string'){!![]&&console['warn'](_0x5a95dc(0x34d),_0x3ee263);return;}if(Object[_0x5a95dc(0x1e0)](DatasetOperationType)[_0x5a95dc(0x35f)](_0x3ee263))return _0x3ee263;const _0x4e3c54=Object[_0x5a95dc(0x35e)](OPERATION_TYPE_DISPLAY_NAME)[_0x5a95dc(0x307)](([_0x29568b,_0x5c04c6])=>_0x5c04c6===_0x3ee263);return _0x4e3c54?_0x4e3c54[0x0]:undefined;}function shouldIncludeField(_0xaa623a,_0xa8bb66,_0x42ce74){const _0x47f72f=a0_0xbd658e,_0xa1106a=parseFieldExtend(_0xaa623a),_0xc110e7=isPrimaryKeyField(_0xaa623a,_0x42ce74),_0x35700c=Boolean(_0xa1106a[_0x47f72f(0x24a)]),_0x58fcc6=Boolean(_0xa1106a[_0x47f72f(0x2b0)]),_0x29050b=Boolean(_0xa1106a[_0x47f72f(0x253)]),_0x49e11a=Boolean(_0xa1106a[_0x47f72f(0x3b8)]);switch(_0xa8bb66){case _0x47f72f(0x3a5):return!![];case _0x47f72f(0x3a6):case'getOneOrigin':case'delete':return _0xc110e7;case _0x47f72f(0x23b):if(_0xc110e7&&_0x58fcc6)return![];if(_0x35700c&&(_0x29050b||_0x49e11a))return![];return!![];case'update':case _0x47f72f(0x2dd):if(_0xc110e7)return!![];if(_0x35700c&&(_0x29050b||_0x49e11a))return![];return!![];case _0x47f72f(0x1fb):return _0xaa623a[_0x47f72f(0x2ab)]===_0x47f72f(0x2ab);default:return!![];}}function a0_0x5e11(_0x98c959,_0x56ea53){const _0x55ec68=a0_0x55ec();return a0_0x5e11=function(_0x5e11fb,_0xf71188){_0x5e11fb=_0x5e11fb-0x1de;let _0x2cffae=_0x55ec68[_0x5e11fb];return _0x2cffae;},a0_0x5e11(_0x98c959,_0x56ea53);}function getFieldsForOperation(_0x3af530,_0x587950,_0x2691dc){const _0x28b402=a0_0xbd658e;if(!Array[_0x28b402(0x284)](_0x3af530))return!![]&&console[_0x28b402(0x22e)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x3af530),[];return _0x3af530[_0x28b402(0x363)](_0x351146=>shouldIncludeField(_0x351146,_0x587950,_0x2691dc));}function isApiBlacklisted(_0x152f37){const _0x4d1774=a0_0xbd658e;if(typeof _0x152f37!==_0x4d1774(0x261))return!![]&&console[_0x4d1774(0x22e)]('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0x152f37),![];return API_BLACKLIST[_0x4d1774(0x35f)](_0x152f37);}function filterApiOperations(_0x30e8ee){const _0xe909a2=a0_0xbd658e;if(!Array['isArray'](_0x30e8ee))return!![]&&console[_0xe909a2(0x22e)](_0xe909a2(0x392),_0x30e8ee),[];return _0x30e8ee[_0xe909a2(0x363)](_0x8f1261=>_0x8f1261&&typeof _0x8f1261===_0xe909a2(0x26c)&&!isApiBlacklisted(_0x8f1261[_0xe909a2(0x1f8)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0xc61b2f})=>{const _0x324888=a0_0xbd658e;if(_0xc61b2f?.[_0x324888(0x33d)]&&Array[_0x324888(0x284)](_0xc61b2f[_0x324888(0x33d)])&&_0xc61b2f[_0x324888(0x33d)][_0x324888(0x2e3)]>0x0)return _0xc61b2f[_0x324888(0x33d)][0x0][_0x324888(0x361)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x430ed1})=>{const _0x935d60=a0_0xbd658e;if(_0x430ed1===_0x935d60(0x1ea))return 0x1;if(_0x430ed1==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x955e87})=>{const _0x3c1516=a0_0xbd658e;if(_0x955e87&&typeof _0x955e87===_0x3c1516(0x261)){const _0x5a2505=_0x955e87[_0x3c1516(0x37d)]();if(_0x5a2505[_0x3c1516(0x35f)]('邮箱')||_0x5a2505[_0x3c1516(0x35f)](_0x3c1516(0x255)))return _0x3c1516(0x311);if(_0x5a2505['includes']('电话')||_0x5a2505['includes']('手机')||_0x5a2505['includes']('phone'))return _0x3c1516(0x3ac);if(_0x5a2505['includes']('地址')||_0x5a2505[_0x3c1516(0x35f)](_0x3c1516(0x293)))return'北京市朝阳区';if(_0x5a2505[_0x3c1516(0x35f)]('姓名')||_0x5a2505['includes'](_0x3c1516(0x1f8)))return'张三';}return _0x3c1516(0x275);},'VARCHAR':({description:_0x3e90f7})=>TYPE_VALUE_GENERATORS[a0_0xbd658e(0x21f)]({'description':_0x3e90f7}),'CHAR':({description:_0x12f2ce})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x12f2ce}),'STRING':({fieldInfo:_0x1bf22e,description:_0x3082cc})=>{const _0x52a6c8=a0_0xbd658e;if(_0x1bf22e?.[_0x52a6c8(0x1f4)]&&typeof _0x1bf22e['placeholder']==='string'&&_0x1bf22e[_0x52a6c8(0x1f4)]!==_0x52a6c8(0x359))return _0x1bf22e[_0x52a6c8(0x1f4)]['replace'](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x52a6c8(0x21f)]({'description':_0x3082cc});},'TEXTAREA':()=>a0_0xbd658e(0x290),'LONGTEXT':()=>a0_0xbd658e(0x290),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0xbd658e(0x361)}),'ARRAY':()=>[a0_0xbd658e(0x2e2),'item2'],'UPLOAD':()=>a0_0xbd658e(0x203),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0xbd658e(0x39a)};function generateExampleValue(_0xc02fca,_0x1f49df,_0x4b1931,_0x3da8da={}){const _0x49a0ba=a0_0xbd658e;typeof _0xc02fca!==_0x49a0ba(0x261)&&(!![]&&console[_0x49a0ba(0x22e)](_0x49a0ba(0x2fb),_0xc02fca),_0xc02fca=String(_0xc02fca||''));if(typeof _0x1f49df!==_0x49a0ba(0x261))return!![]&&console[_0x49a0ba(0x22e)](_0x49a0ba(0x39f),_0x1f49df),_0x49a0ba(0x2c3);const {isPrimaryKey:_0x1da5c6,dbtableConfig:_0x53f1aa}=_0x3da8da;if(_0x1da5c6)return 0x1;if(_0x53f1aa&&typeof _0x53f1aa===_0x49a0ba(0x26c)){const _0x2d012b=_0x53f1aa[_0x49a0ba(0x3af)]?.[_0x49a0ba(0x365)]===_0xc02fca,_0x34367f=_0x53f1aa[_0x49a0ba(0x23a)]?.[_0x49a0ba(0x365)]===_0xc02fca;if(_0x2d012b||_0x34367f){if(_0x4b1931&&typeof _0x4b1931===_0x49a0ba(0x261)&&_0x4b1931[_0x49a0ba(0x324)]()[_0x49a0ba(0x35f)](_0x49a0ba(0x1e3)))return Date[_0x49a0ba(0x3b6)]();return new Date()['toISOString']()[_0x49a0ba(0x37a)]('T','\x20')[_0x49a0ba(0x344)]('.')[0x0];}}const _0x5baf5a={..._0x3da8da,'fieldCode':_0xc02fca};if(_0x4b1931&&typeof _0x4b1931===_0x49a0ba(0x261)){const _0x403197=_0x4b1931['toUpperCase'](),_0xb300d=TYPE_VALUE_GENERATORS[_0x403197];if(_0xb300d)return _0xb300d(_0x5baf5a);}if(_0x1f49df&&typeof _0x1f49df===_0x49a0ba(0x261)){const _0x13feca=_0x1f49df[_0x49a0ba(0x324)](),_0x52bfcc=TYPE_VALUE_GENERATORS[_0x13feca];if(_0x52bfcc)return _0x52bfcc(_0x5baf5a);}return _0x49a0ba(0x2c3);}function generateExampleFromSchema(_0x3d4b9f,_0x36a319){const _0x53a9a9=a0_0xbd658e;if(!_0x3d4b9f||typeof _0x3d4b9f!=='object')return{};if(Array['isArray'](_0x3d4b9f)){if(_0x3d4b9f['length']>0x0)return[generateExampleFromSchema(_0x3d4b9f[0x0],_0x36a319)];return[];}const _0x199746={};return Object[_0x53a9a9(0x332)](_0x3d4b9f)['forEach'](_0x381d6d=>{const _0x5c3692=_0x53a9a9,_0x1726b6=_0x3d4b9f[_0x381d6d];if(_0x1726b6&&typeof _0x1726b6===_0x5c3692(0x26c)&&!Array[_0x5c3692(0x284)](_0x1726b6)&&_0x1726b6[_0x5c3692(0x2da)]){const _0x5856b7=_0x1726b6,_0x9a4395=_0x5856b7[_0x5c3692(0x2da)],_0x3790c7=_0x5856b7['description'];typeof _0x9a4395===_0x5c3692(0x261)?_0x199746[_0x381d6d]=generateExampleValue(_0x381d6d,_0x9a4395,undefined,{'description':_0x3790c7,'dbtableConfig':_0x36a319}):_0x199746[_0x381d6d]=_0x5c3692(0x2c3);}else{if(Array[_0x5c3692(0x284)](_0x1726b6))_0x199746[_0x381d6d]=_0x1726b6[_0x5c3692(0x2e3)]>0x0?[generateExampleFromSchema(_0x1726b6[0x0],_0x36a319)]:[];else _0x1726b6&&typeof _0x1726b6==='object'?_0x199746[_0x381d6d]=generateExampleFromSchema(_0x1726b6,_0x36a319):_0x199746[_0x381d6d]=_0x1726b6;}}),_0x199746;}function parseRequestBody(_0x4c058f){const _0x1dedc9=a0_0xbd658e;if(!_0x4c058f)return{};try{return JSON[_0x1dedc9(0x2b5)](_0x4c058f);}catch(_0x3292d0){return!![]&&console[_0x1dedc9(0x22e)](_0x1dedc9(0x205),_0x3292d0),{};}}function parseResponseBody(_0x25f6f0){const _0x40eb40=a0_0xbd658e;if(!_0x25f6f0)return null;try{const _0x400d72=JSON[_0x40eb40(0x2b5)](_0x25f6f0);return _0x400d72['200']||_0x400d72;}catch(_0x5ac8f4){return!![]&&console['warn'](_0x40eb40(0x1ef),_0x5ac8f4),null;}}function generateRequestExample(_0xe7bb22,_0x1993ba,_0x2d7a2d,_0x20c626){const _0x40cc1a=a0_0xbd658e,_0x557470={};if(!Array[_0x40cc1a(0x284)](_0xe7bb22))return!![]&&console['warn'](_0x40cc1a(0x2d8),_0xe7bb22),_0x557470;return _0xe7bb22[_0x40cc1a(0x393)](_0x57cf16=>{const _0x192ec2=_0x40cc1a;if(!_0x57cf16||typeof _0x57cf16!==_0x192ec2(0x26c)){!![]&&console[_0x192ec2(0x22e)](_0x192ec2(0x24e),_0x57cf16);return;}if(typeof _0x57cf16[_0x192ec2(0x2ab)]!=='string'||typeof _0x57cf16[_0x192ec2(0x2da)]!==_0x192ec2(0x261)){!![]&&console[_0x192ec2(0x22e)](_0x192ec2(0x3bb),_0x57cf16);return;}const _0x1852a7=parseFieldExtend(_0x57cf16),_0x4d185b=_0x57cf16[_0x192ec2(0x2ab)]===_0x2d7a2d||Boolean(_0x1852a7?.[_0x192ec2(0x20e)]),_0x326ddb=generateExampleValue(_0x57cf16['code'],_0x57cf16['type'],typeof _0x57cf16[_0x192ec2(0x390)]===_0x192ec2(0x261)?_0x57cf16[_0x192ec2(0x390)]:undefined,{'fieldInfo':_0x1852a7,'isPrimaryKey':_0x4d185b,'description':_0x57cf16[_0x192ec2(0x357)]||_0x57cf16[_0x192ec2(0x1f8)],'dbtableConfig':_0x20c626});_0x557470[_0x57cf16['code']]=_0x326ddb;}),_0x1993ba==='getList'&&(_0x557470[_0x40cc1a(0x1ea)]=0x1,_0x557470['pageSize']=0xa),_0x557470;}function formatEnumValue(_0x44f5d2,_0x7f9baf){const _0x269dfd=a0_0xbd658e;if(_0x44f5d2[_0x269dfd(0x2d0)]&&Array['isArray'](_0x7f9baf))return _0x7f9baf[_0x269dfd(0x362)](_0x1a7eed=>_0x44f5d2[_0x269dfd(0x330)][String(_0x1a7eed)]||String(_0x1a7eed))[_0x269dfd(0x2e6)](',\x20');return _0x44f5d2['valueLabels'][String(_0x7f9baf)]||String(_0x7f9baf);}function formatOptionsForDoc(_0x2f97f1){const _0x35a965=a0_0xbd658e;return _0x2f97f1[_0x35a965(0x362)](_0x4fa23e=>_0x4fa23e[_0x35a965(0x361)]+'('+_0x4fa23e['label']+')')[_0x35a965(0x2e6)](',\x20');}function formatOptionsAsMarkdownList(_0x5438dc,_0x4568ad=0x0){const _0x44ca0f=a0_0xbd658e,_0x4425ab='\x20\x20'[_0x44ca0f(0x3ca)](_0x4568ad),_0x203b72=[];return _0x5438dc[_0x44ca0f(0x393)](_0x151163=>{const _0x3103ff=_0x44ca0f;_0x203b72[_0x3103ff(0x2f6)](_0x4425ab+_0x3103ff(0x374)+_0x151163['value']+_0x3103ff(0x3a2)+_0x151163['label']),_0x151163['children']&&_0x151163['children']['length']>0x0&&_0x203b72[_0x3103ff(0x2f6)](formatOptionsAsMarkdownList(_0x151163['children'],_0x4568ad+0x1));}),_0x203b72[_0x44ca0f(0x2e6)]('\x0a');}class DbtableConfig{[a0_0xbd658e(0x22d)];constructor(_0x777d69){const _0x53e99d=a0_0xbd658e;this[_0x53e99d(0x22d)]={..._0x777d69};}get['dbId'](){const _0xa10814=a0_0xbd658e;return this['_raw'][_0xa10814(0x2a7)];}get[a0_0xbd658e(0x1fd)](){const _0x2844f4=a0_0xbd658e;return this[_0x2844f4(0x22d)][_0x2844f4(0x1fd)];}get[a0_0xbd658e(0x235)](){const _0x58d66b=a0_0xbd658e;return this[_0x58d66b(0x22d)][_0x58d66b(0x235)];}get[a0_0xbd658e(0x2c5)](){const _0x3b8f33=a0_0xbd658e;return this[_0x3b8f33(0x22d)][_0x3b8f33(0x2c5)];}get[a0_0xbd658e(0x2f8)](){const _0x267e7c=a0_0xbd658e;return this[_0x267e7c(0x22d)][_0x267e7c(0x2f8)];}get[a0_0xbd658e(0x314)](){const _0x5c1f8c=a0_0xbd658e;return this[_0x5c1f8c(0x22d)][_0x5c1f8c(0x314)];}get[a0_0xbd658e(0x3af)](){const _0x233a21=a0_0xbd658e;return this[_0x233a21(0x22d)][_0x233a21(0x3af)];}get[a0_0xbd658e(0x23a)](){const _0x223194=a0_0xbd658e;return this[_0x223194(0x22d)][_0x223194(0x23a)];}get['creatorIdField'](){const _0x4b5647=a0_0xbd658e;return this[_0x4b5647(0x22d)]['creatorIdField'];}get[a0_0xbd658e(0x27e)](){const _0x538068=a0_0xbd658e;return this[_0x538068(0x22d)]['creatorNameField'];}get[a0_0xbd658e(0x2b9)](){const _0x34fba9=a0_0xbd658e;return this['_raw'][_0x34fba9(0x2b9)];}get[a0_0xbd658e(0x358)](){const _0x3245a6=a0_0xbd658e;return this[_0x3245a6(0x22d)][_0x3245a6(0x358)];}get[a0_0xbd658e(0x384)](){const _0x1ee573=a0_0xbd658e;return this[_0x1ee573(0x22d)][_0x1ee573(0x384)];}['getAllFieldsArray'](){const _0x2912e5=a0_0xbd658e;if(!this[_0x2912e5(0x22d)][_0x2912e5(0x26b)])return[];return this[_0x2912e5(0x22d)]['allFields'][_0x2912e5(0x344)](',')[_0x2912e5(0x362)](_0x549753=>_0x549753[_0x2912e5(0x2c4)]())[_0x2912e5(0x363)](Boolean);}[a0_0xbd658e(0x35b)](){const _0x568380=a0_0xbd658e;return this[_0x568380(0x22d)][_0x568380(0x26b)];}[a0_0xbd658e(0x2ca)](_0x14a1aa){return this['getAllFieldsArray']()['includes'](_0x14a1aa);}[a0_0xbd658e(0x2c9)](){const _0x24c06d=a0_0xbd658e;return Boolean(this[_0x24c06d(0x22d)]['tableName']);}[a0_0xbd658e(0x2a0)](){const _0x414600=a0_0xbd658e;return Boolean(this[_0x414600(0x22d)][_0x414600(0x384)]);}['hasLogicField'](){const _0x1afbbf=a0_0xbd658e;return Boolean(this[_0x1afbbf(0x22d)][_0x1afbbf(0x314)]?.[_0x1afbbf(0x365)]);}['hasCreateTimeField'](){const _0x22765f=a0_0xbd658e;return Boolean(this['_raw'][_0x22765f(0x3af)]?.['fieldName']);}[a0_0xbd658e(0x3ae)](){const _0xa6faf6=a0_0xbd658e;return Boolean(this[_0xa6faf6(0x22d)][_0xa6faf6(0x23a)]?.['fieldName']);}[a0_0xbd658e(0x32b)](){const _0x4d2166=a0_0xbd658e;return Boolean(this[_0x4d2166(0x22d)]['creatorIdField']?.['fieldName']);}[a0_0xbd658e(0x3bf)](){const _0x328dea=a0_0xbd658e;return Boolean(this[_0x328dea(0x22d)][_0x328dea(0x2b9)]?.['fieldName']);}[a0_0xbd658e(0x31d)](_0x4c9278){const _0x156f66=a0_0xbd658e;return this[_0x156f66(0x22d)][_0x156f66(0x2c5)]===_0x4c9278;}[a0_0xbd658e(0x2c6)](_0x475b47){const _0x3e5f82=a0_0xbd658e;return this[_0x3e5f82(0x31d)](_0x475b47)||this[_0x3e5f82(0x22d)][_0x3e5f82(0x314)]?.[_0x3e5f82(0x365)]===_0x475b47||this[_0x3e5f82(0x22d)][_0x3e5f82(0x3af)]?.[_0x3e5f82(0x365)]===_0x475b47||this['_raw']['updateTimeField']?.[_0x3e5f82(0x365)]===_0x475b47||this['_raw'][_0x3e5f82(0x227)]?.['fieldName']===_0x475b47||this[_0x3e5f82(0x22d)][_0x3e5f82(0x27e)]?.[_0x3e5f82(0x365)]===_0x475b47||this['_raw'][_0x3e5f82(0x2b9)]?.['fieldName']===_0x475b47||this[_0x3e5f82(0x22d)][_0x3e5f82(0x358)]?.[_0x3e5f82(0x365)]===_0x475b47;}[a0_0xbd658e(0x220)](){const _0x145d35=a0_0xbd658e;return this[_0x145d35(0x22d)][_0x145d35(0x384)]?.['dbName'];}[a0_0xbd658e(0x2bd)](){const _0x2e1b71=a0_0xbd658e;return this[_0x2e1b71(0x22d)]['dblinkInfoDTO']?.[_0x2e1b71(0x390)];}['getDatabaseVersion'](){const _0x512e55=a0_0xbd658e;return this['_raw'][_0x512e55(0x384)]?.[_0x512e55(0x2e7)];}['getTenantCode'](){const _0x403f81=a0_0xbd658e;return this['_raw'][_0x403f81(0x384)]?.[_0x403f81(0x327)];}[a0_0xbd658e(0x3c7)](){const _0x475744=a0_0xbd658e;return this[_0x475744(0x22d)][_0x475744(0x384)]?.[_0x475744(0x33f)];}[a0_0xbd658e(0x214)](){const _0x17098c=a0_0xbd658e;return this[_0x17098c(0x22d)]['dblinkInfoDTO']?.[_0x17098c(0x348)];}[a0_0xbd658e(0x360)](){const _0x31dcfe=a0_0xbd658e;return{'hasTableName':this[_0x31dcfe(0x2c9)](),'hasDblinkInfo':this['hasDblinkInfo'](),'fieldCount':this['getAllFieldsArray']()[_0x31dcfe(0x2e3)],'systemFields':{'hasLogicField':this[_0x31dcfe(0x277)](),'hasCreateTimeField':this['hasCreateTimeField'](),'hasUpdateTimeField':this[_0x31dcfe(0x3ae)](),'hasCreatorIdField':this[_0x31dcfe(0x32b)](),'hasModifierIdField':this['hasModifierIdField']()}};}['toConfig'](){const _0x43ffdf=a0_0xbd658e;return{'tableName':this[_0x43ffdf(0x1fd)],'pkField':this[_0x43ffdf(0x2c5)],'datasetKey':this[_0x43ffdf(0x235)],'dbId':this[_0x43ffdf(0x2a7)]};}[a0_0xbd658e(0x329)](){const _0x4c8461=a0_0xbd658e;return{...this[_0x4c8461(0x22d)]};}[a0_0xbd658e(0x223)](){const _0x18797f=a0_0xbd658e;return{...this[_0x18797f(0x22d)]};}[a0_0xbd658e(0x279)](){const _0x2e29a6=a0_0xbd658e,_0x42f772=this[_0x2e29a6(0x1fd)]||_0x2e29a6(0x33a),_0x5570b5=this[_0x2e29a6(0x21d)]()[_0x2e29a6(0x2e3)];return _0x2e29a6(0x292)+_0x42f772+_0x2e29a6(0x1f5)+_0x5570b5+')';}static[a0_0xbd658e(0x231)](){return new DbtableConfig({});}}class DatasetItem{[a0_0xbd658e(0x22d)];constructor(_0x3a18d2){const _0x44a2e1=a0_0xbd658e,_0x56efb9=_0x3a18d2[_0x44a2e1(0x218)]||_0x3a18d2[_0x44a2e1(0x2ab)]||_0x3a18d2[_0x44a2e1(0x1f3)];this[_0x44a2e1(0x22d)]={..._0x3a18d2,'datasetCode':_0x56efb9};}get['id'](){return this['_raw']['id'];}get[a0_0xbd658e(0x1f8)](){return this['_raw']['name'];}[a0_0xbd658e(0x302)](){return this['name'];}get[a0_0xbd658e(0x218)](){const _0x5939e4=a0_0xbd658e;return this[_0x5939e4(0x22d)][_0x5939e4(0x218)]||'';}get['dbtableConfig'](){const _0x43e4c9=a0_0xbd658e;if(!this[_0x43e4c9(0x22d)]['dbtableConfig'])return null;return new DbtableConfig(this[_0x43e4c9(0x22d)][_0x43e4c9(0x1f0)]);}['getRawDbtableConfig'](){const _0x9b93a2=a0_0xbd658e;return this[_0x9b93a2(0x22d)][_0x9b93a2(0x1f0)];}[a0_0xbd658e(0x395)](){const _0x80edf9=a0_0xbd658e;return getTableName(this[_0x80edf9(0x22d)]);}[a0_0xbd658e(0x2b6)](){const _0x3315a3=a0_0xbd658e;return getTableKey(this[_0x3315a3(0x395)]());}[a0_0xbd658e(0x2fd)](){return isVirtualTableName(this['getTableName']());}[a0_0xbd658e(0x3ba)](){const _0x9d8f93=a0_0xbd658e;return toPascalCase(this[_0x9d8f93(0x395)]());}[a0_0xbd658e(0x270)](){const _0x56bf1a=a0_0xbd658e;return{'key':getTableKey(this[_0x56bf1a(0x395)]()),'tableName':this[_0x56bf1a(0x395)](),'datasetCode':this[_0x56bf1a(0x218)],'name':this[_0x56bf1a(0x1f8)]};}['toJSON'](){const _0x3f9e85=a0_0xbd658e;return{...this[_0x3f9e85(0x22d)],'datasetCode':this['datasetCode']};}[a0_0xbd658e(0x223)](){return{...this['_raw']};}['hasDbtableConfig'](){const _0x16590b=a0_0xbd658e,_0x4311ae=this[_0x16590b(0x1f0)];return _0x4311ae!==null&&_0x4311ae[_0x16590b(0x2c9)]();}[a0_0xbd658e(0x30c)](_0x384ff3){const _0x12e735=a0_0xbd658e;return this[_0x12e735(0x22d)][_0x384ff3];}[a0_0xbd658e(0x273)](_0x2d68b2){const _0xdb3f20=a0_0xbd658e;return _0x2d68b2 in this[_0xdb3f20(0x22d)];}[a0_0xbd658e(0x279)](){const _0x20167e=a0_0xbd658e;return _0x20167e(0x31c)+this[_0x20167e(0x1f8)]+',\x20'+this[_0x20167e(0x218)]+')';}}class Operation{[a0_0xbd658e(0x1f8)];[a0_0xbd658e(0x22d)];['context'];constructor(_0x3d1d3a,_0x42f29e,_0x4b4e0a){const _0x111afd=a0_0xbd658e;this['name']=_0x3d1d3a,this['_raw']=_0x42f29e,this[_0x111afd(0x274)]=_0x4b4e0a;}[a0_0xbd658e(0x302)](){const _0x587acd=a0_0xbd658e;return this[_0x587acd(0x1f8)];}[a0_0xbd658e(0x2f3)](){const _0x5c764c=a0_0xbd658e,_0x340be4=this['getType']();return _0x340be4?OPERATION_TYPE_DISPLAY_NAME[_0x340be4]:this[_0x5c764c(0x1f8)];}['getType'](){const _0x1a7b06=a0_0xbd658e;return parseOperationType(this[_0x1a7b06(0x1f8)]);}['isEnabled'](){const _0x5ea79c=a0_0xbd658e;return this['_raw']!=null&&this[_0x5ea79c(0x22d)]!==![];}[a0_0xbd658e(0x27c)](){const _0x2881e2=a0_0xbd658e;if(!this[_0x2881e2(0x24b)]()||!this[_0x2881e2(0x22d)])return'';const _0x4c93fb=this[_0x2881e2(0x22d)][_0x2881e2(0x3b7)];return typeof _0x4c93fb===_0x2881e2(0x261)?_0x4c93fb:_0x2881e2(0x28d);}[a0_0xbd658e(0x225)](){const _0x4c0523=a0_0xbd658e;if(!this[_0x4c0523(0x24b)]()||!this[_0x4c0523(0x22d)])return'';const _0x4413f3=this['_raw'][_0x4c0523(0x2b3)];return typeof _0x4413f3===_0x4c0523(0x261)?_0x4413f3:'';}[a0_0xbd658e(0x240)](){const _0x5affe5=a0_0xbd658e;if(!this[_0x5affe5(0x24b)]()||!this['_raw'])return'';const {host:_0x5174be,path:_0x51d094}=this[_0x5affe5(0x22d)],_0x1a336e=typeof _0x5174be===_0x5affe5(0x261)?_0x5174be:'',_0x2133d7=typeof _0x51d094==='string'?_0x51d094:'';return _0x1a336e&&_0x2133d7?''+_0x1a336e+_0x2133d7:_0x2133d7;}['getRequestFields'](){const _0x29987f=a0_0xbd658e;return Object[_0x29987f(0x332)](this['getRequestParams']());}['parseRawRequestBody'](){const _0x16e80f=a0_0xbd658e;if(!this[_0x16e80f(0x24b)]()||typeof this[_0x16e80f(0x22d)]===_0x16e80f(0x2bf)||!this['_raw']?.[_0x16e80f(0x21b)])return{};const _0x135bdd=this[_0x16e80f(0x22d)][_0x16e80f(0x21b)];if(typeof _0x135bdd!=='string')return!![]&&console[_0x16e80f(0x22e)](_0x16e80f(0x333),_0x135bdd),{};return parseRequestBody(_0x135bdd);}[a0_0xbd658e(0x381)](){const _0x45403b=a0_0xbd658e;if(!this[_0x45403b(0x24b)]()||typeof this[_0x45403b(0x22d)]===_0x45403b(0x2bf)||!this[_0x45403b(0x22d)]?.[_0x45403b(0x1fc)])return null;const _0x894844=this[_0x45403b(0x22d)][_0x45403b(0x1fc)];if(typeof _0x894844!=='string')return!![]&&console['warn']('[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:',_0x894844),null;return parseResponseBody(_0x894844);}['generateFieldExample'](_0x155ed5,_0x1af825,_0x3bb4e4,_0x58e779){const _0x3ede4c=a0_0xbd658e;return generateExampleValue(_0x155ed5,_0x1af825,_0x3bb4e4,{'isPrimaryKey':_0x58e779?.[_0x3ede4c(0x252)],'description':_0x58e779?.['description'],'dbtableConfig':this[_0x3ede4c(0x274)][_0x3ede4c(0x1f0)]});}['getFieldDefinition'](_0x2693a9){const _0x46be5f=a0_0xbd658e;if(!Array[_0x46be5f(0x284)](this[_0x46be5f(0x274)][_0x46be5f(0x25a)])){!![]&&console['warn']('[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array');return;}if(typeof _0x2693a9!==_0x46be5f(0x261)){!![]&&console[_0x46be5f(0x22e)](_0x46be5f(0x37e),_0x2693a9);return;}return this['context'][_0x46be5f(0x25a)][_0x46be5f(0x307)](_0x2766ba=>_0x2766ba&&_0x2766ba[_0x46be5f(0x2ab)]===_0x2693a9);}[a0_0xbd658e(0x279)](){const _0x43b3e1=a0_0xbd658e,_0x14f390=this[_0x43b3e1(0x24b)]()?'启用':'禁用';return this[_0x43b3e1(0x2f3)]()+'('+this[_0x43b3e1(0x1f8)]+',\x20'+_0x14f390+')';}[a0_0xbd658e(0x1f7)](){return[];}['getFieldOperators'](_0x157ebe){return[];}[a0_0xbd658e(0x2ac)](_0x354a7c){const _0x219d47=a0_0xbd658e,_0x55741c=this[_0x219d47(0x302)](),_0x53c445=_0x219d47(0x1ed)+_0x354a7c+'.'+_0x55741c+_0x219d47(0x25c),_0x3fab29=_0x219d47(0x321)+_0x354a7c+'.'+_0x55741c+_0x219d47(0x366);return{'successCode':_0x53c445,'errorCode':_0x3fab29};}[a0_0xbd658e(0x329)](){const _0x1a1df9=a0_0xbd658e;return{'name':this[_0x1a1df9(0x302)](),'displayName':this['getDisplayName'](),'type':this[_0x1a1df9(0x24f)](),'enabled':this[_0x1a1df9(0x24b)](),'method':this['getMethod'](),'path':this[_0x1a1df9(0x225)](),'fullUrl':this[_0x1a1df9(0x240)](),'requestFields':this['getRequestFields'](),'requestParams':this[_0x1a1df9(0x2e4)](),'responseSchema':this[_0x1a1df9(0x38e)](),'requestExample':this[_0x1a1df9(0x2ed)](),'responseExample':this[_0x1a1df9(0x3b0)]()};}}class GenericOperation extends Operation{[a0_0xbd658e(0x2e4)](){return this['parseRawRequestBody']();}[a0_0xbd658e(0x38e)](){const _0x3f69ce=a0_0xbd658e;return this[_0x3f69ce(0x381)]();}[a0_0xbd658e(0x2ed)](){const _0x22368c=a0_0xbd658e,_0x798639={},_0x250ba8=this[_0x22368c(0x2e4)](),_0xa729b4=this[_0x22368c(0x24f)]();if(Object[_0x22368c(0x332)](_0x250ba8)[_0x22368c(0x2e3)]===0x0&&_0xa729b4){const _0x1802b2=getFieldsForOperation(this['context'][_0x22368c(0x25a)],_0xa729b4,this[_0x22368c(0x274)][_0x22368c(0x2c5)]);return _0x1802b2[_0x22368c(0x393)](_0x310d34=>{const _0x5229aa=_0x22368c,_0x5bfa5e=this[_0x5229aa(0x32f)](_0x310d34[_0x5229aa(0x2ab)],_0x310d34[_0x5229aa(0x2da)],typeof _0x310d34[_0x5229aa(0x390)]===_0x5229aa(0x261)?_0x310d34[_0x5229aa(0x390)]:undefined,{'isPrimaryKey':_0x310d34[_0x5229aa(0x2ab)]===this[_0x5229aa(0x274)]['pkField'],'description':_0x310d34['description']||_0x310d34[_0x5229aa(0x1f8)]});_0x798639[_0x310d34[_0x5229aa(0x2ab)]]=_0x5bfa5e;}),_0x798639;}return Object['entries'](_0x250ba8)['forEach'](([_0xe9abc5,_0x3d3c53])=>{const _0x5d29a9=_0x22368c,_0x17d74d=_0x3d3c53;let _0x324337;if(typeof _0x17d74d[_0x5d29a9(0x2da)]===_0x5d29a9(0x261))_0x324337=_0x17d74d['type'];else _0x17d74d[_0x5d29a9(0x2da)]&&typeof _0x17d74d[_0x5d29a9(0x2da)]===_0x5d29a9(0x26c)?_0x324337=_0x17d74d[_0x5d29a9(0x2da)]['type']||_0x5d29a9(0x21f):_0x324337='TEXT';const _0x58b7b5=_0x17d74d['description'],_0x598850=this['getFieldDefinition'](_0xe9abc5);if(_0xe9abc5===_0x5d29a9(0x1ea))_0x798639[_0xe9abc5]=0x1;else{if(_0xe9abc5===_0x5d29a9(0x243))_0x798639[_0xe9abc5]=0xa;else _0xe9abc5==='id'?_0x798639[_0xe9abc5]=0x1:_0x798639[_0xe9abc5]=this['generateFieldExample'](_0xe9abc5,_0x324337,typeof _0x598850?.[_0x5d29a9(0x390)]===_0x5d29a9(0x261)?_0x598850[_0x5d29a9(0x390)]:undefined,{'isPrimaryKey':_0xe9abc5===this[_0x5d29a9(0x274)]['pkField']||_0xe9abc5==='id','description':_0x58b7b5||_0x598850?.[_0x5d29a9(0x357)]||_0x598850?.[_0x5d29a9(0x1f8)]});}}),_0x798639;}[a0_0xbd658e(0x3b0)](){const _0x20853a=a0_0xbd658e,_0x278510=this[_0x20853a(0x38e)]();if(!_0x278510)return{'success':!![],'msg':_0x20853a(0x36d),'errorMsg':'','errorCode':'0000','data':null};return this[_0x20853a(0x262)](_0x278510);}[a0_0xbd658e(0x262)](_0x5f3f78){const _0x390878=a0_0xbd658e;if(!_0x5f3f78||typeof _0x5f3f78!=='object')return{};if(Array[_0x390878(0x284)](_0x5f3f78)){if(_0x5f3f78[_0x390878(0x2e3)]>0x0)return[this['generateFromSchema'](_0x5f3f78[0x0])];return[];}const _0xe4361f={};return Object[_0x390878(0x332)](_0x5f3f78)[_0x390878(0x393)](_0x4c9762=>{const _0x412d4b=_0x390878,_0x5ac334=_0x5f3f78[_0x4c9762];if(_0x5ac334&&typeof _0x5ac334===_0x412d4b(0x26c)&&!Array[_0x412d4b(0x284)](_0x5ac334)&&_0x5ac334[_0x412d4b(0x2da)]){const _0x5683f5=_0x5ac334;let _0x6d9d3b;if(typeof _0x5683f5['type']==='string')_0x6d9d3b=_0x5683f5[_0x412d4b(0x2da)];else _0x5683f5[_0x412d4b(0x2da)]&&typeof _0x5683f5[_0x412d4b(0x2da)]===_0x412d4b(0x26c)?_0x6d9d3b=_0x5683f5[_0x412d4b(0x2da)][_0x412d4b(0x2da)]||_0x412d4b(0x21f):_0x6d9d3b=_0x412d4b(0x21f);const _0x3401d0=_0x5683f5[_0x412d4b(0x357)];_0xe4361f[_0x4c9762]=this[_0x412d4b(0x32f)](_0x4c9762,_0x6d9d3b,undefined,{'description':_0x3401d0});}else{if(Array[_0x412d4b(0x284)](_0x5ac334))_0xe4361f[_0x4c9762]=_0x5ac334[_0x412d4b(0x2e3)]>0x0?[this[_0x412d4b(0x262)](_0x5ac334[0x0])]:[];else _0x5ac334&&typeof _0x5ac334===_0x412d4b(0x26c)?_0xe4361f[_0x4c9762]=this[_0x412d4b(0x262)](_0x5ac334):_0xe4361f[_0x4c9762]=_0x5ac334;}}),_0xe4361f;}[a0_0xbd658e(0x396)](_0x5f0ad1,_0x43570e){const _0x4335c4=a0_0xbd658e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x43570e||{},_0x46eaae=this['getName'](),_0x565313=this[_0x4335c4(0x24f)](),_0x383e92=this[_0x4335c4(0x3bd)](),_0x6c4cd=this['generateRequestExample'](),_0x57a268=_0xb86c99=>{const _0x287343=_0x4335c4;if(Object[_0x287343(0x332)](_0xb86c99)[_0x287343(0x2e3)]===0x0)return'{}';const _0x4734d2=JSON['stringify'](_0xb86c99,null,0x2)['split']('\x0a')[_0x287343(0x362)]((_0x54b68c,_0x6662fe)=>_0x6662fe===0x0?_0x54b68c:indent+_0x54b68c)[_0x287343(0x2e6)]('\x0a');return _0x4734d2;};switch(_0x565313){case _0x4335c4(0x3a6):case _0x4335c4(0x3c6):return _0x4335c4(0x237)+_0x5f0ad1+'.'+_0x46eaae+_0x4335c4(0x37b);case _0x4335c4(0x3b5):if(useFullExample&&Object[_0x4335c4(0x332)](_0x6c4cd)[_0x4335c4(0x2e3)]>0x0)return _0x4335c4(0x237)+_0x5f0ad1+'.'+_0x46eaae+'(id,\x20'+_0x57a268(_0x6c4cd)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x5f0ad1+'.'+_0x46eaae+_0x4335c4(0x294);case _0x4335c4(0x23b):case _0x4335c4(0x3a5):case _0x4335c4(0x1fb):default:if(_0x383e92['length']>0x0){if(useFullExample&&Object[_0x4335c4(0x332)](_0x6c4cd)[_0x4335c4(0x2e3)]>0x0)return _0x4335c4(0x237)+_0x5f0ad1+'.'+_0x46eaae+'('+_0x57a268(_0x6c4cd)+');';else{const _0x47ea30=Object[_0x4335c4(0x332)](_0x6c4cd);if(_0x47ea30[_0x4335c4(0x2e3)]>0x0){const _0x5565d7=_0x47ea30[_0x4335c4(0x297)](0x0,0x2)[_0x4335c4(0x2e6)](',\x20');return _0x4335c4(0x237)+_0x5f0ad1+'.'+_0x46eaae+_0x4335c4(0x325)+_0x5565d7+_0x4335c4(0x364);}else return'const\x20result\x20=\x20await\x20client.models.'+_0x5f0ad1+'.'+_0x46eaae+_0x4335c4(0x2af);}}else return _0x4335c4(0x237)+_0x5f0ad1+'.'+_0x46eaae+_0x4335c4(0x247);}}['generateRequestAllExamples'](){const _0xafa64f=a0_0xbd658e;return[{'title':_0xafa64f(0x372),'data':this[_0xafa64f(0x2ed)]()}];}}class GetSelectOptionsOperation extends GenericOperation{[a0_0xbd658e(0x2e4)](){const _0x5d2357=a0_0xbd658e,_0x52b3e6=super['getRequestParams'](),_0x2145df=Object['keys'](_0x52b3e6);return(_0x2145df[_0x5d2357(0x2e3)]===0x0||_0x2145df[_0x5d2357(0x2e3)]===0x1&&_0x2145df[0x0]===_0x5d2357(0x2ab))&&(!_0x52b3e6[_0x5d2357(0x2ab)]&&(_0x52b3e6[_0x5d2357(0x2ab)]={'type':'String','description':_0x5d2357(0x2c0)}),_0x52b3e6[_0x5d2357(0x212)]={'type':_0x5d2357(0x310),'description':'字段名称'}),_0x52b3e6;}['generateRequestExample'](){return{'code':'field_name','label':'field_name'};}[a0_0xbd658e(0x396)](_0x27d2dc){const _0x2f9963=a0_0xbd658e,_0x526db8=this[_0x2f9963(0x302)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x27d2dc+'.'+_0x526db8+_0x2f9963(0x296);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x424f9a=a0_0xbd658e,_0x531270=super[_0x424f9a(0x2e4)](),{currentPage:_0x30f56d,pageSize:_0x248dee,..._0x5b1f57}=_0x531270,_0x31f349={};return Object[_0x424f9a(0x35e)](_0x5b1f57)['forEach'](([_0x2fda0b,_0xf3fa3c])=>{const _0x3ae5ed=_0x424f9a;if(typeof _0xf3fa3c===_0x3ae5ed(0x26c)&&_0xf3fa3c!==null){const _0x727fa5=_0xf3fa3c,_0x296ec5=_0x727fa5['description']||'';_0x31f349[_0x2fda0b]={..._0x727fa5,'description':_0x296ec5?_0x296ec5+_0x3ae5ed(0x1e5):_0x3ae5ed(0x336)};}else _0x31f349[_0x2fda0b]=_0xf3fa3c;}),{..._0x31f349,'currentPage':{...typeof _0x30f56d===_0x424f9a(0x26c)?_0x30f56d:{},'type':_0x424f9a(0x2d3),'description':_0x424f9a(0x340)},'pageSize':{...typeof _0x248dee===_0x424f9a(0x26c)?_0x248dee:{},'type':_0x424f9a(0x2d3),'description':'每页数量'}};}[a0_0xbd658e(0x2ed)](_0x5a02a8){const _0x1694ad=a0_0xbd658e,{useArrayValues:useArrayValues=!![]}=_0x5a02a8||{},_0x47fb58=super[_0x1694ad(0x2ed)](),{currentPage:_0x381358,pageSize:_0x190c1e,..._0x236a53}=_0x47fb58;if(!useArrayValues)return{..._0x236a53,'currentPage':_0x381358??0x1,'pageSize':_0x190c1e??0xa};const _0x209481={},_0x40acb9=['id',_0x1694ad(0x3a9),_0x1694ad(0x2ab),_0x1694ad(0x2da)];return Object['entries'](_0x236a53)[_0x1694ad(0x393)](([_0x5d1d94,_0x503a54],_0x5d8a2b)=>{const _0x436794=_0x1694ad,_0x53ebc9=_0x40acb9[_0x436794(0x29a)](_0x3a8d4f=>_0x5d1d94['toLowerCase']()[_0x436794(0x35f)](_0x3a8d4f))||_0x5d8a2b%0x3===0x0;if(_0x53ebc9&&_0x503a54!==null&&_0x503a54!==undefined){if(typeof _0x503a54==='number')_0x209481[_0x5d1d94]=[_0x503a54,_0x503a54+0x1,_0x503a54+0x2];else typeof _0x503a54===_0x436794(0x261)?_0x209481[_0x5d1d94]=[_0x503a54,_0x503a54+'_2',_0x503a54+'_3']:_0x209481[_0x5d1d94]=[_0x503a54];}else _0x209481[_0x5d1d94]=_0x503a54;}),{..._0x209481,'currentPage':_0x381358??0x1,'pageSize':_0x190c1e??0xa};}['generateSingleValueExample'](){return this['generateRequestExample']({'useArrayValues':![]});}[a0_0xbd658e(0x377)](){const _0x569e7f=a0_0xbd658e;return[{'title':_0x569e7f(0x28b),'description':'查询单个条件','data':this['generateSingleValueExample']()},{'title':_0x569e7f(0x331),'description':'支持多个条件','data':this['generateRequestExample']()}];}[a0_0xbd658e(0x396)](_0xd7b928,_0x51388b){const _0x30f78f=a0_0xbd658e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x51388b||{},_0x30e6fb=this[_0x30f78f(0x302)](),_0x475094=this[_0x30f78f(0x2ed)]({'useArrayValues':!![]}),{currentPage:_0x545688,pageSize:_0x50a7be,..._0x50a70e}=_0x475094;if(useFullExample&&Object[_0x30f78f(0x332)](_0x475094)[_0x30f78f(0x2e3)]>0x0){const _0x454343=Object['keys'](_0x50a70e)['length']>0x0;if(_0x454343){const _0x1d0f76=this['generateSingleValueExample'](),_0x1dd515=_0x322db1=>{const _0x2c6e6c=_0x30f78f;return JSON[_0x2c6e6c(0x20c)](_0x322db1,null,0x2)[_0x2c6e6c(0x344)]('\x0a')[_0x2c6e6c(0x362)]((_0x2c46ba,_0x151cd5)=>_0x151cd5===0x0?_0x2c46ba:indent+_0x2c46ba)[_0x2c6e6c(0x2e6)]('\x0a');};return _0x30f78f(0x35d)+_0xd7b928+'.'+_0x30e6fb+'('+_0x1dd515(_0x1d0f76)+_0x30f78f(0x2cc)+_0xd7b928+'.'+_0x30e6fb+'('+_0x1dd515(_0x475094)+');';}else{const _0x4ffaf8=JSON[_0x30f78f(0x20c)](_0x475094,null,0x2)['split']('\x0a')['map']((_0x2416ab,_0x37c84c)=>_0x37c84c===0x0?_0x2416ab:indent+_0x2416ab)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0xd7b928+'.'+_0x30e6fb+'('+_0x4ffaf8+');';}}if(Object[_0x30f78f(0x332)](_0x50a70e)[_0x30f78f(0x2e3)]>0x0){const _0x17c34c=Object[_0x30f78f(0x332)](_0x50a70e)[0x0];return _0x30f78f(0x237)+_0xd7b928+'.'+_0x30e6fb+_0x30f78f(0x325)+_0x17c34c+_0x30f78f(0x23f);}return _0x30f78f(0x237)+_0xd7b928+'.'+_0x30e6fb+_0x30f78f(0x2ee);}}var FILTER_OPERATORS=['$eq','$ne',a0_0xbd658e(0x3c3),a0_0xbd658e(0x239),a0_0xbd658e(0x318),a0_0xbd658e(0x303),a0_0xbd658e(0x320),a0_0xbd658e(0x328),'$startWith',a0_0xbd658e(0x399),'$and',a0_0xbd658e(0x3a8)];class FilterOperation extends GenericOperation{constructor(_0x144356,_0x48d9e4,_0x42e56e){super(_0x144356,_0x48d9e4,_0x42e56e);}[a0_0xbd658e(0x1f7)](){return FILTER_OPERATORS;}[a0_0xbd658e(0x238)](_0xa67862){const _0x340f0f=a0_0xbd658e,_0x1d94fd=this[_0x340f0f(0x1f1)](_0xa67862);if(!_0x1d94fd)return[];return this['getApplicableOperators'](_0x1d94fd['type']);}['getRequestParams'](){const _0x4be95a=a0_0xbd658e,_0x23bf42=super[_0x4be95a(0x2e4)]();return{..._0x23bf42,'where':{'type':_0x4be95a(0x258),'description':_0x4be95a(0x3b9),'required':![]},'select':{'type':_0x4be95a(0x3aa),'description':_0x4be95a(0x207),'required':![]},'orderBy':{'type':'Object[]','description':_0x4be95a(0x2be),'required':![]},'currentPage':{'type':_0x4be95a(0x2d3),'description':_0x4be95a(0x340),'required':![],'default':0x1},'pageSize':{'type':_0x4be95a(0x2d3),'description':'每页数量','required':![],'default':0xa}};}['generateRequestExample'](){const _0x2dfd14=a0_0xbd658e,_0x108e05=this['context'][_0x2dfd14(0x25a)]||[];if(_0x108e05['length']===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x176536={},_0x1ec1ca=_0x108e05[_0x2dfd14(0x297)](0x0,Math[_0x2dfd14(0x1ec)](0x3,_0x108e05[_0x2dfd14(0x2e3)]));_0x1ec1ca[_0x2dfd14(0x393)](_0x18a3c4=>{const _0x159d08=_0x2dfd14,_0x4989a6=this[_0x159d08(0x276)](_0x18a3c4[_0x159d08(0x2da)]);if(_0x4989a6[_0x159d08(0x2e3)]===0x0)return;const _0x4c26b0=this[_0x159d08(0x2e9)](_0x18a3c4[_0x159d08(0x2da)],_0x4989a6),_0x7aca60=this[_0x159d08(0x25d)](_0x18a3c4,_0x4c26b0);_0x176536[_0x18a3c4[_0x159d08(0x2ab)]]={[_0x4c26b0]:_0x7aca60};});const _0x44df23=_0x108e05[_0x2dfd14(0x297)](0x0,Math[_0x2dfd14(0x1ec)](0x5,_0x108e05['length']))['map'](_0x16c00d=>_0x16c00d[_0x2dfd14(0x2ab)]),_0x5b69f1=_0x108e05[0x0]?.[_0x2dfd14(0x2ab)]||'id';return{'where':_0x176536,'select':_0x44df23,'orderBy':[{[_0x5b69f1]:_0x2dfd14(0x222)}],'currentPage':0x1,'pageSize':0x14};}['generateSDKCallCode'](_0xf0620b,_0x475fc0){const _0x193618=a0_0xbd658e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x475fc0||{},_0x550118=this[_0x193618(0x302)](),_0xdbdcba=this[_0x193618(0x2ed)](),_0x5f297d=_0x351111=>{const _0x3c988b=_0x193618;return JSON[_0x3c988b(0x20c)](_0x351111,null,0x2)[_0x3c988b(0x344)]('\x0a')[_0x3c988b(0x362)]((_0x2f8817,_0x55b40b)=>_0x55b40b===0x0?_0x2f8817:indent+_0x2f8817)[_0x3c988b(0x2e6)]('\x0a');};if(useFullExample){const _0x970651=this['context'][_0x193618(0x25a)]||[],_0x3d7e1b={'where':_0x970651[0x0]?{[_0x970651[0x0][_0x193618(0x2ab)]]:{'$eq':this[_0x193618(0x25d)](_0x970651[0x0],_0x193618(0x23d))}}:{},'select':_0x970651[_0x193618(0x297)](0x0,0x3)['map'](_0xc7b480=>_0xc7b480['code']),'currentPage':0x1,'pageSize':0x14};let _0xb41dfe='';if(_0x970651[_0x193618(0x2e3)]>=0x3){const _0x49ad44={'$and':[]},_0x3b6c26=[];if(_0x970651[_0x193618(0x2e3)]>0x0){const _0x5634e0=_0x970651['find'](_0xf075c4=>['NUMBER','INTEGER',_0x193618(0x3c1)][_0x193618(0x35f)](_0xf075c4[_0x193618(0x2da)]['toUpperCase']()));_0x5634e0&&_0x3b6c26[_0x193618(0x2f6)]({[_0x5634e0[_0x193618(0x2ab)]]:{'$gte':0x0,'$lte':0x64}});}if(_0x970651[_0x193618(0x2e3)]>0x1){const _0x17af93=_0x970651[_0x193618(0x307)](_0x7e4c61=>[_0x193618(0x3c4),_0x193618(0x21f),_0x193618(0x3c8)][_0x193618(0x35f)](_0x7e4c61[_0x193618(0x2da)][_0x193618(0x324)]()));_0x17af93&&_0x3b6c26[_0x193618(0x2f6)]({[_0x17af93[_0x193618(0x2ab)]]:{'$contain':_0x193618(0x267)}});}if(_0x3b6c26['length']>0x0){_0x49ad44[_0x193618(0x22a)]=_0x3b6c26;const _0x3e40a2={'where':_0x49ad44,'select':_0x970651[_0x193618(0x297)](0x0,0x4)['map'](_0x2549df=>_0x2549df['code']),'orderBy':[{[_0x970651[0x0]['code']]:_0x193618(0x222)}],'currentPage':0x1,'pageSize':0x14};_0xb41dfe=_0x193618(0x38d)+_0xf0620b+'.'+_0x550118+'('+_0x5f297d(_0x3e40a2)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0xf0620b+'.'+_0x550118+'('+_0x5f297d(_0x3d7e1b)+');'+_0xb41dfe;}const _0x5d22da=JSON[_0x193618(0x20c)](_0xdbdcba,null,0x2)['split']('\x0a')[_0x193618(0x362)]((_0x3f46ce,_0x87a7cf)=>_0x87a7cf===0x0?_0x3f46ce:indent+_0x3f46ce)[_0x193618(0x2e6)]('\x0a');return _0x193618(0x237)+_0xf0620b+'.'+_0x550118+'('+_0x5d22da+');';}['getApplicableOperators'](_0x5e62d8){const _0x233026=a0_0xbd658e,_0x13f80c=_0x5e62d8[_0x233026(0x324)](),_0x21b09b=[];if([_0x233026(0x2a3),_0x233026(0x1e2),_0x233026(0x3c1),_0x233026(0x25f)][_0x233026(0x35f)](_0x13f80c))_0x21b09b[_0x233026(0x2f6)]('$eq',_0x233026(0x20d),_0x233026(0x3c3),'$lte',_0x233026(0x239),_0x233026(0x303),_0x233026(0x320));else{if([_0x233026(0x3c4),_0x233026(0x21f),_0x233026(0x3c8)][_0x233026(0x35f)](_0x13f80c))_0x21b09b[_0x233026(0x2f6)](_0x233026(0x23d),_0x233026(0x20d),_0x233026(0x320),'$contain',_0x233026(0x217),_0x233026(0x399));else{if([_0x233026(0x2d1),_0x233026(0x3c0),_0x233026(0x1e3)][_0x233026(0x35f)](_0x13f80c))_0x21b09b['push']('$eq',_0x233026(0x20d),_0x233026(0x3c3),_0x233026(0x318),'$gteq',_0x233026(0x303));else[_0x233026(0x308),_0x233026(0x3be)][_0x233026(0x35f)](_0x13f80c)?_0x21b09b[_0x233026(0x2f6)](_0x233026(0x23d),_0x233026(0x20d)):_0x21b09b['push']('$eq',_0x233026(0x20d));}}return _0x21b09b;}['selectBestOperator'](_0x38c18c,_0x23e601){const _0x2c7ca1=a0_0xbd658e,_0x5d043e=_0x38c18c['toUpperCase']();if([_0x2c7ca1(0x2a3),'INTEGER','BIGINT',_0x2c7ca1(0x25f)][_0x2c7ca1(0x35f)](_0x5d043e))return _0x23e601[_0x2c7ca1(0x35f)](_0x2c7ca1(0x3c3))?'$gte':_0x2c7ca1(0x23d);if([_0x2c7ca1(0x3c4),_0x2c7ca1(0x21f),_0x2c7ca1(0x3c8)]['includes'](_0x5d043e))return _0x23e601[_0x2c7ca1(0x35f)](_0x2c7ca1(0x328))?_0x2c7ca1(0x328):_0x2c7ca1(0x23d);if([_0x2c7ca1(0x2d1),'DATETIME',_0x2c7ca1(0x1e3)]['includes'](_0x5d043e))return _0x23e601[_0x2c7ca1(0x35f)]('$gte')?_0x2c7ca1(0x3c3):_0x2c7ca1(0x23d);return _0x2c7ca1(0x23d);}['generateExampleValue'](_0x53e731,_0x55d504){const _0x568eb6=a0_0xbd658e,_0x9c890e=String(_0x53e731[_0x568eb6(0x2da)]||'')['toUpperCase']();if(_0x53e731['extend'])try{const _0x4dff28=typeof _0x53e731['extend']===_0x568eb6(0x261)?JSON['parse'](_0x53e731[_0x568eb6(0x2cd)]):_0x53e731[_0x568eb6(0x2cd)];if(_0x4dff28['options']&&Array[_0x568eb6(0x284)](_0x4dff28[_0x568eb6(0x33d)])&&_0x4dff28[_0x568eb6(0x33d)][_0x568eb6(0x2e3)]>0x0){if(_0x55d504===_0x568eb6(0x320))return _0x4dff28[_0x568eb6(0x33d)]['slice'](0x0,0x2)['map'](_0x515801=>_0x515801[_0x568eb6(0x361)]);return _0x4dff28['options'][0x0]['value'];}}catch{}if(['NUMBER',_0x568eb6(0x1e2),_0x568eb6(0x3c1),_0x568eb6(0x25f)]['includes'](_0x9c890e)){if(_0x55d504==='$in')return[0x1,0x2,0x3];if(_0x55d504==='$gte'||_0x55d504===_0x568eb6(0x239))return 0x0;if(_0x55d504===_0x568eb6(0x318)||_0x55d504===_0x568eb6(0x303))return 0x64;return 0x1;}if(['STRING',_0x568eb6(0x21f),_0x568eb6(0x3c8)][_0x568eb6(0x35f)](_0x9c890e)){if(_0x55d504==='$in')return[_0x568eb6(0x3a3),_0x568eb6(0x317)];if(_0x55d504===_0x568eb6(0x328))return _0x568eb6(0x267);if(_0x55d504===_0x568eb6(0x217))return'prefix';if(_0x55d504===_0x568eb6(0x399))return'suffix';return _0x568eb6(0x361);}if(['DATE',_0x568eb6(0x3c0),'TIMESTAMP'][_0x568eb6(0x35f)](_0x9c890e)){if(_0x55d504===_0x568eb6(0x3c3)||_0x55d504===_0x568eb6(0x239))return'2024-01-01';if(_0x55d504==='$lte'||_0x55d504==='$lteq')return _0x568eb6(0x2ce);return _0x568eb6(0x1eb);}if([_0x568eb6(0x308),_0x568eb6(0x3be)]['includes'](_0x9c890e))return!![];return _0x55d504===_0x568eb6(0x320)?[_0x568eb6(0x3a3),_0x568eb6(0x317)]:_0x568eb6(0x361);}}class OperationFactory{[a0_0xbd658e(0x23b)](_0x101f2b,_0x2dadd8,_0x5bc57f){const _0x5690c6=a0_0xbd658e;switch(_0x101f2b){case _0x5690c6(0x1fb):return new GetSelectOptionsOperation(_0x101f2b,_0x2dadd8,_0x5bc57f);case _0x5690c6(0x3a5):return new GetListOperation(_0x101f2b,_0x2dadd8,_0x5bc57f);case _0x5690c6(0x363):return new FilterOperation(_0x101f2b,_0x2dadd8,_0x5bc57f);default:return new GenericOperation(_0x101f2b,_0x2dadd8,_0x5bc57f);}}[a0_0xbd658e(0x2ae)](_0xddca9e,_0x520623){const _0x4ccac6=a0_0xbd658e,_0x40330a=new Map();return Object[_0x4ccac6(0x35e)](_0xddca9e)[_0x4ccac6(0x393)](([_0x5a08eb,_0x53e7a2])=>{const _0x44c6cf=_0x4ccac6;_0x40330a[_0x44c6cf(0x2bc)](_0x5a08eb,this[_0x44c6cf(0x23b)](_0x5a08eb,_0x53e7a2,_0x520623));}),_0x40330a;}}class OperationList{[a0_0xbd658e(0x391)];constructor(_0x47f77d,_0x408a67){const _0x358e24=a0_0xbd658e,_0x11d94d=new OperationFactory();this['_operations']=_0x11d94d[_0x358e24(0x2ae)](_0x47f77d,_0x408a67);}[a0_0xbd658e(0x3cd)](_0x2ffab1){const _0x14b773=a0_0xbd658e;return this[_0x14b773(0x391)][_0x14b773(0x3cd)](_0x2ffab1);}[a0_0xbd658e(0x2a4)](_0x2ed197){const _0xed51ac=a0_0xbd658e;return this[_0xed51ac(0x391)]['has'](_0x2ed197);}[a0_0xbd658e(0x29e)](){const _0x4b4dbb=a0_0xbd658e;return this[_0x4b4dbb(0x391)][_0x4b4dbb(0x29e)];}['getNames'](){const _0x3d12ff=a0_0xbd658e;return Array[_0x3d12ff(0x36e)](this[_0x3d12ff(0x391)][_0x3d12ff(0x332)]());}['toArray'](){const _0xb6bcc9=a0_0xbd658e,_0x4c2db8=Array[_0xb6bcc9(0x36e)](this[_0xb6bcc9(0x391)][_0xb6bcc9(0x1e0)]());return this[_0xb6bcc9(0x31f)](_0x4c2db8);}['getEnabled'](){const _0x336877=a0_0xbd658e;return this['toArray']()[_0x336877(0x363)](_0x14c7aa=>_0x14c7aa[_0x336877(0x24b)]());}[a0_0xbd658e(0x323)](){const _0x563ceb=a0_0xbd658e;return this[_0x563ceb(0x378)]()[_0x563ceb(0x363)](_0x3d113c=>!_0x3d113c[_0x563ceb(0x24b)]());}[a0_0xbd658e(0x26d)](){const _0x2f4ff3=a0_0xbd658e;return this[_0x2f4ff3(0x1fa)]()[_0x2f4ff3(0x362)](_0x19e1d4=>_0x19e1d4['getName']());}[a0_0xbd658e(0x22c)](){const _0x260be4=a0_0xbd658e;return this[_0x260be4(0x323)]()[_0x260be4(0x362)](_0x53bd4d=>_0x53bd4d[_0x260be4(0x302)]());}[a0_0xbd658e(0x394)](_0x59e7fc){const _0x1099a6=a0_0xbd658e;return this[_0x1099a6(0x378)]()['filter'](_0xdda08f=>_0xdda08f['getType']()===_0x59e7fc);}[a0_0xbd658e(0x363)](_0x9ec87e){const _0x303e0e=a0_0xbd658e;return this[_0x303e0e(0x378)]()[_0x303e0e(0x363)](_0x9ec87e);}['getFiltered'](_0xee0229={}){const _0x34a6e9=a0_0xbd658e;let _0x17b582=this[_0x34a6e9(0x378)]();!_0xee0229[_0x34a6e9(0x1fe)]&&(_0x17b582=_0x17b582[_0x34a6e9(0x363)](_0x1a07f5=>_0x1a07f5['isEnabled']()));if(_0xee0229[_0x34a6e9(0x1e1)]!==![]){const _0x234991=_0x17b582[_0x34a6e9(0x362)](_0x280267=>({'name':_0x280267['getName'](),'operation':_0x280267})),_0x4a2635=filterApiOperations(_0x234991);_0x17b582=_0x4a2635[_0x34a6e9(0x362)](_0x306ec2=>_0x306ec2[_0x34a6e9(0x259)]),_0x17b582=this[_0x34a6e9(0x31f)](_0x17b582);}return _0xee0229[_0x34a6e9(0x2ec)]&&(_0x17b582=_0x17b582[_0x34a6e9(0x363)](_0xee0229[_0x34a6e9(0x2ec)])),_0x17b582;}[a0_0xbd658e(0x31f)](_0x4c39d4){const _0x5bc696=a0_0xbd658e,_0x2eee36=_0x4c39d4[_0x5bc696(0x307)](_0x26ceaa=>_0x26ceaa['getName']()==='filter'),_0x167ff3=_0x4c39d4[_0x5bc696(0x363)](_0x5c4750=>_0x5c4750[_0x5bc696(0x302)]()!==_0x5bc696(0x363));return _0x2eee36?[_0x2eee36,..._0x167ff3]:_0x167ff3;}[a0_0xbd658e(0x360)](){const _0xe1c07d=a0_0xbd658e,_0x1fa002=this['getEnabled']();return{'total':this[_0xe1c07d(0x29e)](),'enabled':_0x1fa002[_0xe1c07d(0x2e3)],'disabled':this['size']()-_0x1fa002[_0xe1c07d(0x2e3)],'byType':this[_0xe1c07d(0x385)](_0x1fa002),'byMethod':this[_0xe1c07d(0x2d6)](_0x1fa002)};}['getCountByType'](_0x4fab0d){const _0x5bdf36={};return _0x4fab0d['forEach'](_0x3b71b7=>{const _0x5a8b37=_0x3b71b7['getType']();_0x5a8b37&&(_0x5bdf36[_0x5a8b37]=(_0x5bdf36[_0x5a8b37]||0x0)+0x1);}),_0x5bdf36;}[a0_0xbd658e(0x2d6)](_0x43de20){const _0x2d9f3d=a0_0xbd658e,_0x2b4fdc={};return _0x43de20[_0x2d9f3d(0x393)](_0x471688=>{const _0x3b37bc=_0x2d9f3d,_0x1007f0=_0x471688[_0x3b37bc(0x27c)]();_0x1007f0&&(_0x2b4fdc[_0x1007f0]=(_0x2b4fdc[_0x1007f0]||0x0)+0x1);}),_0x2b4fdc;}[Symbol[a0_0xbd658e(0x209)]](){const _0x3fb4ab=a0_0xbd658e;return this[_0x3fb4ab(0x391)][_0x3fb4ab(0x1e0)]();}['toString'](){const _0x16e982=a0_0xbd658e,_0x560644=this[_0x16e982(0x360)]();return _0x16e982(0x38a)+_0x560644[_0x16e982(0x37f)]+'/'+_0x560644[_0x16e982(0x2a6)]+_0x16e982(0x312);}}class Field{['_raw'];[a0_0xbd658e(0x229)]=null;constructor(_0x11cff3){const _0x510967=a0_0xbd658e;if(!_0x11cff3||typeof _0x11cff3!=='object')throw new Error(_0x510967(0x2aa));this[_0x510967(0x22d)]=_0x11cff3;}get['raw'](){const _0x3754ae=a0_0xbd658e;return this[_0x3754ae(0x22d)];}[a0_0xbd658e(0x3ad)](){return this['_raw'];}get['name'](){return this['_raw']['name']||'';}get[a0_0xbd658e(0x2ab)](){const _0x12cd99=a0_0xbd658e;return this[_0x12cd99(0x22d)]['code']||'';}get[a0_0xbd658e(0x2da)](){const _0x3122cf=a0_0xbd658e;return this[_0x3122cf(0x22d)]['type']||'';}get['description'](){const _0x2eadee=a0_0xbd658e;return this[_0x2eadee(0x22d)][_0x2eadee(0x357)]||'';}get[a0_0xbd658e(0x2cd)](){const _0x3b6e20=a0_0xbd658e;if(this['_extend']!==null)return this[_0x3b6e20(0x229)];const _0x209902=this[_0x3b6e20(0x22d)]['extend'];if(!_0x209902||typeof _0x209902!==_0x3b6e20(0x261))return this[_0x3b6e20(0x229)]={},this[_0x3b6e20(0x229)];try{return this[_0x3b6e20(0x229)]=JSON[_0x3b6e20(0x2b5)](_0x209902),this[_0x3b6e20(0x229)];}catch(_0xd25e64){return!![]&&console[_0x3b6e20(0x22e)](_0x3b6e20(0x2e0)+this['code']+'\x20的\x20extend\x20配置失败:',_0xd25e64),this[_0x3b6e20(0x229)]={},this[_0x3b6e20(0x229)];}}[a0_0xbd658e(0x256)](){const _0x47029e=a0_0xbd658e;return Boolean(this[_0x47029e(0x2cd)][_0x47029e(0x2f2)]);}[a0_0xbd658e(0x252)](){const _0x299f3b=a0_0xbd658e;return Boolean(this[_0x299f3b(0x2cd)][_0x299f3b(0x20e)]);}[a0_0xbd658e(0x22f)](){const _0xbbcbfc=a0_0xbd658e;return Boolean(this[_0xbbcbfc(0x2cd)][_0xbbcbfc(0x24a)]);}['isBusiness'](){const _0x231a81=a0_0xbd658e;return!this[_0x231a81(0x22f)]();}[a0_0xbd658e(0x398)](){const _0x354338=a0_0xbd658e;return Boolean(this['extend'][_0x354338(0x2b0)]);}['isCreateTime'](){const _0x239aaf=a0_0xbd658e;return Boolean(this['extend'][_0x239aaf(0x367)]);}[a0_0xbd658e(0x221)](){return Boolean(this['extend']['updateTime']);}[a0_0xbd658e(0x2c1)](){const _0x135940=a0_0xbd658e,_0x2f1ae0=[_0x135940(0x23c),'SELECT',_0x135940(0x28e)];return _0x2f1ae0['includes'](this[_0x135940(0x2da)]);}[a0_0xbd658e(0x2e1)](){const _0x10e8a4=a0_0xbd658e;return this[_0x10e8a4(0x2da)]===_0x10e8a4(0x28e);}[a0_0xbd658e(0x2f4)](){const _0x48fe4e=a0_0xbd658e,_0x42b37f=this['extend'];if(_0x42b37f['options']&&Array[_0x48fe4e(0x284)](_0x42b37f[_0x48fe4e(0x33d)]))return _0x42b37f[_0x48fe4e(0x33d)];return;}[a0_0xbd658e(0x345)](){const _0x168fe2=a0_0xbd658e,_0x354152=this[_0x168fe2(0x2cd)];if(_0x354152[_0x168fe2(0x36c)]&&typeof _0x354152['selectItemsSource']==='object')return _0x354152[_0x168fe2(0x36c)];return;}[a0_0xbd658e(0x3a1)](){const _0x1ec96a=a0_0xbd658e;if(!this[_0x1ec96a(0x2c1)]())return;const _0x2b7901=this['getEnumOptions'](),_0x28c242=this[_0x1ec96a(0x345)](),_0x78d22d=[],_0x51b8a7={},_0x1e7bda=_0x2ea745=>{const _0x10d5f3=_0x1ec96a;_0x2ea745[_0x10d5f3(0x393)](_0x19932c=>{const _0x46007d=_0x10d5f3;_0x78d22d[_0x46007d(0x2f6)](_0x19932c['value']),_0x51b8a7[String(_0x19932c[_0x46007d(0x361)])]=_0x19932c[_0x46007d(0x212)],_0x19932c[_0x46007d(0x313)]&&_0x19932c[_0x46007d(0x313)][_0x46007d(0x2e3)]>0x0&&_0x1e7bda(_0x19932c[_0x46007d(0x313)]);});};return _0x2b7901&&_0x2b7901[_0x1ec96a(0x2e3)]>0x0&&_0x1e7bda(_0x2b7901),{'code':this['code'],'name':this[_0x1ec96a(0x1f8)],'type':this[_0x1ec96a(0x2da)],'multiple':this[_0x1ec96a(0x2e1)](),'options':_0x2b7901,'selectItemsSource':_0x28c242,'values':_0x78d22d,'valueLabels':_0x51b8a7};}['getDefaultValue'](){const _0xe1fe0c=a0_0xbd658e;return this[_0xe1fe0c(0x2cd)][_0xe1fe0c(0x343)];}['getTooltip'](){const _0x73afa0=a0_0xbd658e;return this[_0x73afa0(0x2cd)][_0x73afa0(0x39d)];}[a0_0xbd658e(0x329)](){const _0x28beb7=a0_0xbd658e;return{'name':this['name'],'code':this['code'],'type':this[_0x28beb7(0x2da)],'description':this['description'],'required':this[_0x28beb7(0x256)](),'primaryKey':this[_0x28beb7(0x252)](),'system':this[_0x28beb7(0x22f)](),'autoIncrement':this[_0x28beb7(0x398)](),'createTime':this['isCreateTime'](),'updateTime':this[_0x28beb7(0x221)](),'isEnum':this[_0x28beb7(0x2c1)](),'enumMeta':this['isEnum']()?this['getEnumMeta']():undefined};}}class FieldList{[a0_0xbd658e(0x28a)];constructor(_0x1c6933){const _0x40ca66=a0_0xbd658e;if(!Array[_0x40ca66(0x284)](_0x1c6933))throw new Error(_0x40ca66(0x32e));this[_0x40ca66(0x28a)]=_0x1c6933[_0x40ca66(0x362)](_0x20ab0f=>new Field(_0x20ab0f));}get[a0_0xbd658e(0x2e3)](){const _0x1dff95=a0_0xbd658e;return this[_0x1dff95(0x28a)][_0x1dff95(0x2e3)];}[a0_0xbd658e(0x2de)](){const _0x18b1b2=a0_0xbd658e;return[...this[_0x18b1b2(0x28a)]];}[a0_0xbd658e(0x304)](){const _0x20ecfa=a0_0xbd658e;return this[_0x20ecfa(0x28a)]['map'](_0x28227f=>_0x28227f[_0x20ecfa(0x304)]);}['at'](_0x505ab9){const _0x6126bd=a0_0xbd658e;return this[_0x6126bd(0x28a)]['at'](_0x505ab9);}['find'](_0x2d7f3d){const _0x590281=a0_0xbd658e;return this[_0x590281(0x28a)]['find'](_0x3e97fa=>_0x3e97fa[_0x590281(0x2ab)]===_0x2d7f3d);}[a0_0xbd658e(0x33b)](_0x333026){const _0x27480a=a0_0xbd658e;return this[_0x27480a(0x28a)][_0x27480a(0x307)](_0x54a8e1=>_0x54a8e1[_0x27480a(0x1f8)]===_0x333026);}[a0_0xbd658e(0x2a4)](_0x254d38){const _0x340551=a0_0xbd658e;return this[_0x340551(0x28a)][_0x340551(0x29a)](_0x53d1e8=>_0x53d1e8['code']===_0x254d38);}[a0_0xbd658e(0x393)](_0x7c8c2){const _0x17ae61=a0_0xbd658e;this[_0x17ae61(0x28a)]['forEach'](_0x7c8c2);}[a0_0xbd658e(0x362)](_0x34e383){const _0x3b0030=a0_0xbd658e;return this['_fields'][_0x3b0030(0x362)](_0x34e383);}[a0_0xbd658e(0x363)](_0x8e5ad4){const _0x8fb6f8=a0_0xbd658e;return this['_fields'][_0x8fb6f8(0x363)](_0x8e5ad4);}[a0_0xbd658e(0x216)](_0x1e2aad){const _0x53d0bd=a0_0xbd658e;return this[_0x53d0bd(0x28a)][_0x53d0bd(0x216)](_0x1e2aad);}[a0_0xbd658e(0x29a)](_0x18103e){const _0x52d1d7=a0_0xbd658e;return this[_0x52d1d7(0x28a)][_0x52d1d7(0x29a)](_0x18103e);}['getRequired'](){const _0xd17636=a0_0xbd658e;return this['_fields']['filter'](_0x3ed4f6=>_0x3ed4f6[_0xd17636(0x256)]());}[a0_0xbd658e(0x338)](){const _0x19aae4=a0_0xbd658e;return this[_0x19aae4(0x28a)]['filter'](_0x57bd8b=>_0x57bd8b[_0x19aae4(0x252)]());}['getSystem'](){const _0x291890=a0_0xbd658e;return this[_0x291890(0x28a)][_0x291890(0x363)](_0x560ec5=>_0x560ec5[_0x291890(0x22f)]());}[a0_0xbd658e(0x2c8)](){const _0x9f1a5c=a0_0xbd658e;return this['_fields'][_0x9f1a5c(0x363)](_0x4ad72b=>_0x4ad72b[_0x9f1a5c(0x228)]());}['getEnum'](){const _0x4973aa=a0_0xbd658e;return this['_fields'][_0x4973aa(0x363)](_0xa92a46=>_0xa92a46['isEnum']());}['getAutoIncrement'](){const _0x230122=a0_0xbd658e;return this[_0x230122(0x28a)]['filter'](_0x27a37c=>_0x27a37c[_0x230122(0x398)]());}[a0_0xbd658e(0x300)](){const _0x3c9589=a0_0xbd658e;return this['_fields'][_0x3c9589(0x363)](_0x5f4a13=>_0x5f4a13[_0x3c9589(0x380)]());}[a0_0xbd658e(0x1df)](){const _0x3a0b28=a0_0xbd658e;return this['_fields'][_0x3a0b28(0x363)](_0x3ce060=>_0x3ce060[_0x3a0b28(0x221)]());}['groupByType'](){const _0x2a612c=a0_0xbd658e,_0x5f0385={};return this[_0x2a612c(0x28a)][_0x2a612c(0x393)](_0x18dda6=>{const _0x563b28=_0x2a612c,_0x3e82e8=_0x18dda6['type'];!_0x5f0385[_0x3e82e8]&&(_0x5f0385[_0x3e82e8]=[]),_0x5f0385[_0x3e82e8][_0x563b28(0x2f6)](_0x18dda6);}),_0x5f0385;}[a0_0xbd658e(0x242)](){const _0x269f10=a0_0xbd658e,_0x3fc3fc={};return this[_0x269f10(0x28a)]['forEach'](_0xd513f8=>{const _0x2bb84e=_0x269f10;if(_0xd513f8[_0x2bb84e(0x2c1)]()){const _0x81e399=_0xd513f8[_0x2bb84e(0x3a1)]();_0x81e399&&(_0x3fc3fc[_0xd513f8[_0x2bb84e(0x2ab)]]=_0x81e399);}}),_0x3fc3fc;}[a0_0xbd658e(0x360)](){const _0x17fb91=a0_0xbd658e;return{'total':this[_0x17fb91(0x2e3)],'required':this[_0x17fb91(0x289)]()['length'],'primaryKey':this[_0x17fb91(0x338)]()[_0x17fb91(0x2e3)],'system':this[_0x17fb91(0x1e6)]()['length'],'business':this[_0x17fb91(0x2c8)]()[_0x17fb91(0x2e3)],'enum':this[_0x17fb91(0x2f5)]()[_0x17fb91(0x2e3)],'autoIncrement':this[_0x17fb91(0x2ea)]()[_0x17fb91(0x2e3)]};}[a0_0xbd658e(0x329)](){const _0x3cae29=a0_0xbd658e;return this[_0x3cae29(0x28a)][_0x3cae29(0x362)](_0x50503e=>_0x50503e[_0x3cae29(0x329)]());}[a0_0xbd658e(0x278)](){const _0x84090=a0_0xbd658e;return this[_0x84090(0x28a)][_0x84090(0x362)](_0x5897f4=>_0x5897f4[_0x84090(0x2ab)]);}[a0_0xbd658e(0x29f)](){const _0x5d2d0e=a0_0xbd658e;return this['_fields'][_0x5d2d0e(0x362)](_0x4a6659=>_0x4a6659[_0x5d2d0e(0x1f8)]);}static[a0_0xbd658e(0x36e)](_0x2de689){const _0x54f323=a0_0xbd658e,_0x109fa3=_0x2de689[_0x54f323(0x362)](_0x54eeef=>_0x54eeef[_0x54f323(0x304)]);return new FieldList(_0x109fa3);}}class DrivenDataDetail extends DatasetItem{[a0_0xbd658e(0x1f6)];[a0_0xbd658e(0x370)];constructor(_0x32e93a){const _0x259718=a0_0xbd658e;super({..._0x32e93a,'id':_0x32e93a[_0x259718(0x2fc)],'datasetCode':_0x32e93a[_0x259718(0x1f3)]});}get[a0_0xbd658e(0x34a)](){const _0x96894a=a0_0xbd658e;return this[_0x96894a(0x22d)]['source'];}[a0_0xbd658e(0x3cc)](){const _0x5c6c08=a0_0xbd658e;return this[_0x5c6c08(0x34a)];}get['version'](){const _0x4da2bb=a0_0xbd658e;return this[_0x4da2bb(0x22d)][_0x4da2bb(0x2a8)];}['getFieldList'](){const _0x1d6df9=a0_0xbd658e;return!this[_0x1d6df9(0x370)]&&(this[_0x1d6df9(0x370)]=new FieldList(this[_0x1d6df9(0x319)]())),this[_0x1d6df9(0x370)];}['getFields'](){const _0x143b88=a0_0xbd658e;return this[_0x143b88(0x22d)][_0x143b88(0x24d)]||[];}['getFieldCount'](){const _0x27fe80=a0_0xbd658e;return this[_0x27fe80(0x269)]()[_0x27fe80(0x2e3)];}[a0_0xbd658e(0x219)](_0x4abcc2){const _0x52cd45=a0_0xbd658e,_0x740a28=this[_0x52cd45(0x263)](_0x4abcc2);return _0x740a28?_0x740a28['raw']:undefined;}['getFieldRaw'](_0x411cf0){return this['getFieldList']()['find'](_0x411cf0)?.['raw']||undefined;}[a0_0xbd658e(0x263)](_0x24bcea){const _0x54d3cc=a0_0xbd658e;if(typeof _0x24bcea!==_0x54d3cc(0x261)){!![]&&console[_0x54d3cc(0x22e)](_0x54d3cc(0x34e),_0x24bcea);return;}return this[_0x54d3cc(0x269)]()[_0x54d3cc(0x307)](_0x24bcea);}[a0_0xbd658e(0x2ca)](_0x5a6852){const _0x574557=a0_0xbd658e;return this[_0x574557(0x269)]()[_0x574557(0x2a4)](_0x5a6852);}[a0_0xbd658e(0x39b)](_0xbb7b99){const _0x89f18=a0_0xbd658e;if(!_0xbb7b99||typeof _0xbb7b99!==_0x89f18(0x26c))return!![]&&console[_0x89f18(0x22e)](_0x89f18(0x326),_0xbb7b99),{};if(!_0xbb7b99[_0x89f18(0x2cd)])return{};try{const _0x38a052=typeof _0xbb7b99[_0x89f18(0x2cd)]===_0x89f18(0x261)?JSON[_0x89f18(0x2b5)](_0xbb7b99[_0x89f18(0x2cd)]):_0xbb7b99[_0x89f18(0x2cd)];if(typeof _0x38a052!==_0x89f18(0x26c)||_0x38a052===null)return!![]&&console['warn'](_0x89f18(0x38c),_0x38a052),{};return _0x38a052;}catch(_0x5e2d8c){return!![]&&console[_0x89f18(0x22e)]('[DrivenDataDetail.parseFieldExtend]\x20解析字段\x20'+_0xbb7b99[_0x89f18(0x2ab)]+_0x89f18(0x21e),_0x5e2d8c),{};}}[a0_0xbd658e(0x31d)](_0x4a33ce){const _0x51ab11=a0_0xbd658e;if(!_0x4a33ce||typeof _0x4a33ce!==_0x51ab11(0x26c))return![];const _0x2fab97=this[_0x51ab11(0x269)]()['find'](_0x4a33ce[_0x51ab11(0x2ab)]);return _0x2fab97?_0x2fab97[_0x51ab11(0x252)]():![];}[a0_0xbd658e(0x2c6)](_0x3e7a87){const _0x3f46e7=a0_0xbd658e;if(!_0x3e7a87||typeof _0x3e7a87!=='object')return![];const _0x307102=this[_0x3f46e7(0x269)]()['find'](_0x3e7a87[_0x3f46e7(0x2ab)]);return _0x307102?_0x307102[_0x3f46e7(0x22f)]():![];}[a0_0xbd658e(0x31b)](_0x5e1213){const _0x3319a7=a0_0xbd658e;if(!_0x5e1213||typeof _0x5e1213!==_0x3319a7(0x26c))return![];const _0x37309f=this[_0x3319a7(0x269)]()[_0x3319a7(0x307)](_0x5e1213[_0x3319a7(0x2ab)]);return _0x37309f?_0x37309f[_0x3319a7(0x256)]():![];}[a0_0xbd658e(0x36a)](){const _0x1f0171=a0_0xbd658e;return this[_0x1f0171(0x269)]()['getPrimaryKeys']()[_0x1f0171(0x362)](_0xe86a02=>_0xe86a02[_0x1f0171(0x304)]);}[a0_0xbd658e(0x230)](){const _0x324977=a0_0xbd658e;return this[_0x324977(0x269)]()[_0x324977(0x1e6)]()[_0x324977(0x362)](_0x3757af=>_0x3757af[_0x324977(0x304)]);}[a0_0xbd658e(0x20a)](){const _0x21a15e=a0_0xbd658e;return this[_0x21a15e(0x269)]()['getBusiness']()[_0x21a15e(0x362)](_0x5070b1=>_0x5070b1[_0x21a15e(0x304)]);}[a0_0xbd658e(0x234)](){const _0x154dcc=a0_0xbd658e;return this[_0x154dcc(0x269)]()[_0x154dcc(0x289)]()[_0x154dcc(0x362)](_0x435d20=>_0x435d20[_0x154dcc(0x304)]);}['getFieldsByType'](){const _0x4b62a6=a0_0xbd658e,_0x33fd01=this['getFieldList']()[_0x4b62a6(0x1e9)](),_0x5cf315={};for(const [_0x267061,_0x517462]of Object[_0x4b62a6(0x35e)](_0x33fd01)){_0x5cf315[_0x267061]=_0x517462[_0x4b62a6(0x362)](_0x3b2e9c=>_0x3b2e9c[_0x4b62a6(0x304)]);}return _0x5cf315;}['isEnumField'](_0x5d9c1d){const _0x1a1c4c=a0_0xbd658e;if(!_0x5d9c1d||typeof _0x5d9c1d!=='object')return![];const _0x1310f1=this[_0x1a1c4c(0x269)]()[_0x1a1c4c(0x307)](_0x5d9c1d[_0x1a1c4c(0x2ab)]);return _0x1310f1?_0x1310f1[_0x1a1c4c(0x2c1)]():![];}['isMultipleSelectField'](_0x288220){const _0x20cb17=a0_0xbd658e;if(!_0x288220||typeof _0x288220!==_0x20cb17(0x26c))return![];const _0x3a91ec=this[_0x20cb17(0x269)]()['find'](_0x288220[_0x20cb17(0x2ab)]);return _0x3a91ec?_0x3a91ec[_0x20cb17(0x2e1)]():![];}[a0_0xbd658e(0x2b1)](_0x18d491){const _0x34c9d8=a0_0xbd658e;if(!_0x18d491||typeof _0x18d491!=='object')return[];const _0x3aa346=this[_0x34c9d8(0x269)]()[_0x34c9d8(0x307)](_0x18d491[_0x34c9d8(0x2ab)]);if(!_0x3aa346||!_0x3aa346[_0x34c9d8(0x2c1)]())return[];return _0x3aa346['getEnumOptions']()||[];}[a0_0xbd658e(0x2bb)](_0x1a38a5){const _0x197bd4=a0_0xbd658e;if(!_0x1a38a5||typeof _0x1a38a5!==_0x197bd4(0x26c))return;const _0x1c64f0=this[_0x197bd4(0x269)]()[_0x197bd4(0x307)](_0x1a38a5[_0x197bd4(0x2ab)]);if(!_0x1c64f0||!_0x1c64f0[_0x197bd4(0x2c1)]())return;return _0x1c64f0[_0x197bd4(0x345)]();}[a0_0xbd658e(0x286)](_0x5cbe02){const _0x2f45d4=a0_0xbd658e;if(!_0x5cbe02||typeof _0x5cbe02!==_0x2f45d4(0x26c))return;const _0x230657=this[_0x2f45d4(0x269)]()[_0x2f45d4(0x307)](_0x5cbe02[_0x2f45d4(0x2ab)]);if(!_0x230657||!_0x230657[_0x2f45d4(0x2c1)]())return;return _0x230657[_0x2f45d4(0x3a1)]();}[a0_0xbd658e(0x2c2)](){const _0x52c8d5=a0_0xbd658e;return this[_0x52c8d5(0x269)]()['getEnum']()[_0x52c8d5(0x362)](_0x5bd69a=>_0x5bd69a[_0x52c8d5(0x304)]);}['getEnumFieldsMeta'](){const _0x534a2d=a0_0xbd658e,_0x3fe2fb={};return this[_0x534a2d(0x2c2)]()[_0x534a2d(0x393)](_0x2fdedd=>{const _0x1de46c=_0x534a2d,_0x486d90=this['getEnumFieldMeta'](_0x2fdedd);_0x486d90&&(_0x3fe2fb[_0x2fdedd[_0x1de46c(0x2ab)]]=_0x486d90);}),_0x3fe2fb;}[a0_0xbd658e(0x3cb)](_0x23367c,_0x1683e9){const _0x431b02=a0_0xbd658e,_0x2838a4=this[_0x431b02(0x286)](_0x23367c);if(!_0x2838a4)return!![];if(_0x2838a4['selectItemsSource']&&!_0x2838a4[_0x431b02(0x33d)])return!![];if(_0x2838a4[_0x431b02(0x2d0)]&&Array[_0x431b02(0x284)](_0x1683e9))return _0x1683e9[_0x431b02(0x216)](_0x597cf2=>_0x2838a4[_0x431b02(0x1e0)][_0x431b02(0x35f)](_0x597cf2));return _0x2838a4[_0x431b02(0x1e0)]['includes'](_0x1683e9);}['getOperationList'](){const _0x1f1760=a0_0xbd658e;if(!this[_0x1f1760(0x1f6)]){const _0x33150b=this['ensureFilterOperation'](this[_0x1f1760(0x22d)][_0x1f1760(0x295)]||{});this[_0x1f1760(0x1f6)]=new OperationList(_0x33150b,{'fields':this['getFields'](),'pkField':this[_0x1f1760(0x22d)][_0x1f1760(0x1f0)]?.[_0x1f1760(0x2c5)],'dbtableConfig':this[_0x1f1760(0x22d)]['dbtableConfig']});}return this[_0x1f1760(0x1f6)];}['ensureFilterOperation'](_0x1a0376){const _0x8a55eb=a0_0xbd658e;if(_0x1a0376[_0x8a55eb(0x363)]!==undefined)return _0x1a0376;return{..._0x1a0376,'filter':this['generateDefaultFilterOperation']()};}[a0_0xbd658e(0x341)](){const _0xd82f67=a0_0xbd658e,_0x39153c=this[_0xd82f67(0x22d)]['operations']?.[_0xd82f67(0x3a5)];let _0x406eb8=_0x39153c?.[_0xd82f67(0x387)],_0x104ab1='';if(!_0x406eb8&&this['_raw'][_0xd82f67(0x295)]){const _0x213c8f=Object['values'](this['_raw'][_0xd82f67(0x295)]);for(const _0x1288eb of _0x213c8f){if(_0x1288eb&&typeof _0x1288eb===_0xd82f67(0x26c)&&_0xd82f67(0x387)in _0x1288eb){_0x406eb8=_0x1288eb['host'];break;}}}if(_0x39153c?.[_0xd82f67(0x2b3)]){const _0x2f1976=_0x39153c[_0xd82f67(0x2b3)],_0x59d711=_0x2f1976['lastIndexOf']('/');_0x59d711!==-0x1&&(_0x104ab1=_0x2f1976['substring'](0x0,_0x59d711));}return{'name':_0xd82f67(0x363),'type':_0xd82f67(0x2e5),'description':_0xd82f67(0x26f),'method':'POST','host':_0x406eb8,'path':_0x104ab1?_0x104ab1+_0xd82f67(0x36f):'/filter','params':_0x39153c?.[_0xd82f67(0x3b1)]||[{'name':_0xd82f67(0x39c),'type':_0xd82f67(0x26c),'required':![]},{'name':_0xd82f67(0x388),'type':_0xd82f67(0x2d7),'required':![]},{'name':'orderBy','type':_0xd82f67(0x2d7),'required':![]},{'name':_0xd82f67(0x1ea),'type':_0xd82f67(0x1e4),'required':![],'default':0x1},{'name':_0xd82f67(0x243),'type':_0xd82f67(0x1e4),'required':![],'default':0xa}],'_autoGenerated':!![]};}['getOperations'](){const _0x10ca1d=a0_0xbd658e;return this[_0x10ca1d(0x316)]()[_0x10ca1d(0x378)]();}['getOperationCount'](){const _0x467074=a0_0xbd658e;return this[_0x467074(0x316)]()['size']();}[a0_0xbd658e(0x1ee)](_0x43d2c7){const _0x22f123=a0_0xbd658e;if(typeof _0x43d2c7!==_0x22f123(0x261)){!![]&&console['warn'](_0x22f123(0x38b),_0x43d2c7);return;}return this[_0x22f123(0x316)]()['get'](_0x43d2c7);}[a0_0xbd658e(0x386)](_0x1c9996){const _0x6702d7=a0_0xbd658e;if(typeof _0x1c9996!==_0x6702d7(0x261))return![];return this['getOperationList']()['has'](_0x1c9996);}[a0_0xbd658e(0x1e7)](_0xf24b30){const _0x13272b=a0_0xbd658e;if(typeof _0xf24b30!=='string')return![];const _0x174bd9=this[_0x13272b(0x1ee)](_0xf24b30);return _0x174bd9?.[_0x13272b(0x24b)]()||![];}['getEnabledOperations'](){const _0x47dc7c=a0_0xbd658e;return this[_0x47dc7c(0x316)]()[_0x47dc7c(0x26d)]();}['getDisabledOperations'](){const _0x1b50a6=a0_0xbd658e;return this[_0x1b50a6(0x316)]()[_0x1b50a6(0x22c)]();}[a0_0xbd658e(0x30d)](){const _0x362ea2=a0_0xbd658e;return this[_0x362ea2(0x316)]()[_0x362ea2(0x1fa)]();}[a0_0xbd658e(0x335)](){const _0x42f37a=a0_0xbd658e;return this[_0x42f37a(0x316)]()[_0x42f37a(0x323)]();}[a0_0xbd658e(0x360)](){const _0x376b1b=a0_0xbd658e;return{'fieldCount':this[_0x376b1b(0x2a5)](),'systemFieldCount':this[_0x376b1b(0x230)]()[_0x376b1b(0x2e3)],'businessFieldCount':this[_0x376b1b(0x20a)]()[_0x376b1b(0x2e3)],'requiredFieldCount':this[_0x376b1b(0x234)]()[_0x376b1b(0x2e3)],'primaryKeyCount':this['getPrimaryKeyFields']()[_0x376b1b(0x2e3)],'operationCount':this[_0x376b1b(0x2ff)](),'enabledOperationCount':this[_0x376b1b(0x1f9)]()[_0x376b1b(0x2e3)]};}[a0_0xbd658e(0x27d)](){const _0x57446a=a0_0xbd658e;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x57446a(0x2f1)]()});}['toString'](){const _0x32da7c=a0_0xbd658e;return'DrivenDataDetail('+this[_0x32da7c(0x1f8)]+',\x20'+this['datasetCode']+',\x20'+this[_0x32da7c(0x2a5)]()+_0x32da7c(0x224)+this[_0x32da7c(0x2ff)]()+'\x20operations)';}[a0_0xbd658e(0x34b)](){const _0x415c73=a0_0xbd658e,_0x356277=this['getOperation'](_0x415c73(0x363));return _0x356277;}['hasFilterOperation'](){const _0x2ba5e0=a0_0xbd658e;return this['hasOperation'](_0x2ba5e0(0x363));}[a0_0xbd658e(0x22b)](_0x2f20c7){const _0x2fe6c5=a0_0xbd658e,_0xd34d1c=this['getOperation'](_0x2f20c7);return _0xd34d1c?_0xd34d1c[_0x2fe6c5(0x1f7)]():[];}[a0_0xbd658e(0x3a4)](_0x1e7f52,_0x528544){const _0xf87b98=a0_0xbd658e,_0x2e8d16=this['getOperation'](_0x1e7f52);return _0x2e8d16?_0x2e8d16[_0xf87b98(0x238)](_0x528544):[];}[a0_0xbd658e(0x33c)](_0x248f2f){const _0x45aa33=a0_0xbd658e,_0x3813f4={};return this[_0x45aa33(0x269)]()['forEach'](_0x1f9d17=>{const _0x2cbe0a=_0x45aa33,_0x452cfd=this[_0x2cbe0a(0x3a4)](_0x248f2f,_0x1f9d17['code']);_0x452cfd[_0x2cbe0a(0x2e3)]>0x0&&(_0x3813f4[_0x1f9d17[_0x2cbe0a(0x2ab)]]=_0x452cfd);}),_0x3813f4;}['isOperatorApplicableToField'](_0x27d2f5,_0x421d56,_0x1a1d1e){const _0x4774a4=a0_0xbd658e,_0x357cab=this[_0x4774a4(0x3a4)](_0x27d2f5,_0x421d56);return _0x357cab[_0x4774a4(0x35f)](_0x1a1d1e);}[a0_0xbd658e(0x2ba)](){const _0x3c3201=a0_0xbd658e;return this['getOperationOperators'](_0x3c3201(0x363));}['getFieldFilterOperators'](_0x4fd6e9){const _0x22d52c=a0_0xbd658e;return this[_0x22d52c(0x3a4)](_0x22d52c(0x363),_0x4fd6e9);}[a0_0xbd658e(0x30f)](){const _0x32281e=a0_0xbd658e;return this[_0x32281e(0x33c)](_0x32281e(0x363));}}class DatasetGroup{[a0_0xbd658e(0x3b2)];constructor(_0x343366){const _0x113554=a0_0xbd658e;this[_0x113554(0x3b2)]=Array[_0x113554(0x284)](_0x343366)?[..._0x343366]:[_0x343366],this[_0x113554(0x3b2)][_0x113554(0x25b)]((_0x19e35c,_0x14cf8e)=>{const _0x25d73f=Number(_0x19e35c['id'])||0x0,_0x107962=Number(_0x14cf8e['id'])||0x0;return _0x107962-_0x25d73f;});}[a0_0xbd658e(0x2d4)](){const _0x4ab545=a0_0xbd658e;return this[_0x4ab545(0x3b2)][_0x4ab545(0x2e3)]>0x1;}[a0_0xbd658e(0x233)](){const _0x292adc=a0_0xbd658e;return this[_0x292adc(0x3b2)][0x0];}[a0_0xbd658e(0x250)](){const _0x47479c=a0_0xbd658e;return this[_0x47479c(0x3b2)][this[_0x47479c(0x3b2)]['length']-0x1];}[a0_0xbd658e(0x1de)](){const _0x2fc4f4=a0_0xbd658e;return[...this[_0x2fc4f4(0x3b2)]];}[a0_0xbd658e(0x349)](){const _0x349e96=a0_0xbd658e;return this['items'][_0x349e96(0x2e3)];}[a0_0xbd658e(0x315)](_0x54dab0){const _0x226e67=a0_0xbd658e;return this[_0x226e67(0x3b2)][_0x54dab0];}[a0_0xbd658e(0x38f)](_0x592c2e){const _0x1b983f=a0_0xbd658e;return this[_0x1b983f(0x3b2)][_0x1b983f(0x307)](_0x4c08bb=>_0x4c08bb['id']===_0x592c2e);}[a0_0xbd658e(0x280)](_0x323a7d){const _0x34ba09=a0_0xbd658e;return this[_0x34ba09(0x3b2)][_0x34ba09(0x307)](_0x32095b=>_0x32095b['datasetCode']===_0x323a7d);}[a0_0xbd658e(0x383)](){const _0xcd63b3=a0_0xbd658e;return this['items'][_0xcd63b3(0x362)](_0x1b5973=>_0x1b5973['id'])[_0xcd63b3(0x363)](_0x9d8630=>_0x9d8630!==undefined);}['getCodes'](){const _0xe78f47=a0_0xbd658e;return this['items'][_0xe78f47(0x362)](_0x500d28=>_0x500d28[_0xe78f47(0x218)]);}[a0_0xbd658e(0x279)](){const _0x349c0e=a0_0xbd658e;if(this[_0x349c0e(0x2d4)]())return _0x349c0e(0x33e)+this[_0x349c0e(0x3b2)][_0x349c0e(0x2e3)]+_0x349c0e(0x28f)+this[_0x349c0e(0x233)]()['name']+')';return _0x349c0e(0x33e)+this[_0x349c0e(0x3b2)][0x0][_0x349c0e(0x1f8)]+')';}}class DatasetGroupMap{[a0_0xbd658e(0x298)];constructor(_0x31f54b){const _0x5723ca=a0_0xbd658e;this[_0x5723ca(0x298)]=new Map();for(const _0x5566b0 of _0x31f54b){const _0x25b946=getTableKey(_0x5566b0);if(!this[_0x5723ca(0x298)][_0x5723ca(0x2a4)](_0x25b946))this['groups']['set'](_0x25b946,new DatasetGroup(_0x5566b0));else{const _0x57f856=this[_0x5723ca(0x298)][_0x5723ca(0x3cd)](_0x25b946),_0x101587=[..._0x57f856['getAll'](),_0x5566b0];this[_0x5723ca(0x298)][_0x5723ca(0x2bc)](_0x25b946,new DatasetGroup(_0x101587));}}}[a0_0xbd658e(0x3cd)](_0x23cc33){const _0x307dce=a0_0xbd658e;return this[_0x307dce(0x298)][_0x307dce(0x3cd)](_0x23cc33);}[a0_0xbd658e(0x2a4)](_0xf5ff14){const _0x374930=a0_0xbd658e;return this[_0x374930(0x298)]['has'](_0xf5ff14);}get[a0_0xbd658e(0x29e)](){const _0x1e2630=a0_0xbd658e;return this['groups'][_0x1e2630(0x29e)];}[a0_0xbd658e(0x332)](){const _0x222d5a=a0_0xbd658e;return this['groups'][_0x222d5a(0x332)]();}[a0_0xbd658e(0x1e0)](){const _0x489aa1=a0_0xbd658e;return this[_0x489aa1(0x298)][_0x489aa1(0x1e0)]();}[a0_0xbd658e(0x35e)](){const _0x101dfc=a0_0xbd658e;return this[_0x101dfc(0x298)][_0x101dfc(0x35e)]();}[Symbol[a0_0xbd658e(0x209)]](){const _0x38b07e=a0_0xbd658e;return this[_0x38b07e(0x298)][_0x38b07e(0x35e)]();}[a0_0xbd658e(0x393)](_0x28d4cb){this['groups']['forEach']((_0x5a8c09,_0x2d6834)=>_0x28d4cb(_0x5a8c09,_0x2d6834,this));}[a0_0xbd658e(0x260)](){const _0x43fd97=a0_0xbd658e,_0x1eb0ae=new Map();for(const [_0x43df72,_0x1b2bf8]of this['groups']){_0x1b2bf8[_0x43fd97(0x2d4)]()&&_0x1eb0ae[_0x43fd97(0x2bc)](_0x43df72,_0x1b2bf8);}return _0x1eb0ae;}[a0_0xbd658e(0x245)](){const _0x3babba=a0_0xbd658e;for(const _0x1067d3 of this[_0x3babba(0x298)][_0x3babba(0x1e0)]()){if(_0x1067d3[_0x3babba(0x2d4)]())return!![];}return![];}['getConflictStats'](){const _0x52c32c=a0_0xbd658e;let _0x49b777=0x0,_0x445a46=0x0;for(const _0x27f51b of this['groups']['values']()){_0x27f51b[_0x52c32c(0x2d4)]()&&(_0x49b777++,_0x445a46+=_0x27f51b[_0x52c32c(0x349)]());}return{'conflictGroupCount':_0x49b777,'conflictItemCount':_0x445a46,'totalGroups':this[_0x52c32c(0x298)][_0x52c32c(0x29e)]};}['getAllDatasets'](){const _0x171119=a0_0xbd658e,_0x4aaf3e=[];for(const _0xea4958 of this['groups'][_0x171119(0x1e0)]()){_0x4aaf3e[_0x171119(0x2f6)](..._0xea4958[_0x171119(0x1de)]());}return _0x4aaf3e;}[a0_0xbd658e(0x3c9)](){const _0x1be960=a0_0xbd658e,_0xbad990=[];for(const _0x4550c3 of this[_0x1be960(0x298)]['values']()){_0xbad990[_0x1be960(0x2f6)](_0x4550c3['getLatest']());}return _0xbad990;}[a0_0xbd658e(0x233)](_0x5d0bfb){const _0x2c85cd=a0_0xbd658e;return this['groups']['get'](_0x5d0bfb)?.[_0x2c85cd(0x233)]();}[a0_0xbd658e(0x1de)](_0x61784f){const _0x649a41=a0_0xbd658e;return this[_0x649a41(0x298)]['get'](_0x61784f)?.[_0x649a41(0x1de)]()||[];}[a0_0xbd658e(0x270)](){const _0x112aec=a0_0xbd658e,_0x4130f2=this[_0x112aec(0x3c9)](),_0x50f04e=_0x4130f2[_0x112aec(0x362)](_0x47f9ec=>_0x47f9ec[_0x112aec(0x329)]());return generateDatasetsConfig(_0x50f04e,{'enableDeduplication':![]});}[a0_0xbd658e(0x334)](){const _0x3e1da7=a0_0xbd658e,_0x441668=this[_0x3e1da7(0x268)](),_0x1f87ef=_0x441668[_0x3e1da7(0x362)](_0x89883f=>_0x89883f['toJSON']());return generateFullDatasetsConfig(_0x1f87ef);}['toObject'](){const _0x97e6b=a0_0xbd658e,_0x543e06={};for(const [_0x53b740,_0x81d57f]of this[_0x97e6b(0x298)]){_0x543e06[_0x53b740]=_0x81d57f;}return _0x543e06;}[a0_0xbd658e(0x329)](){const _0x10efa8=a0_0xbd658e,_0x4105ff={};for(const [_0x14575a,_0x5c3d76]of this[_0x10efa8(0x298)]){_0x4105ff[_0x14575a]=_0x5c3d76['getAll']()['map'](_0x4fbe24=>_0x4fbe24[_0x10efa8(0x329)]());}return _0x4105ff;}[a0_0xbd658e(0x279)](){const _0x199c61=a0_0xbd658e;return _0x199c61(0x3bc)+this[_0x199c61(0x298)][_0x199c61(0x29e)]+'\x20groups,\x20'+(this[_0x199c61(0x245)]()?_0x199c61(0x28c):_0x199c61(0x352))+')';}}class DatasetList{[a0_0xbd658e(0x2fa)];constructor(_0x56f0c3){const _0x4cd013=a0_0xbd658e;let _0x4ceb53;if(Array[_0x4cd013(0x284)](_0x56f0c3))_0x4ceb53=_0x56f0c3;else{if('success'in _0x56f0c3){if(!_0x56f0c3[_0x4cd013(0x287)]||!_0x56f0c3[_0x4cd013(0x264)]?.[_0x4cd013(0x2c7)])throw new Error(_0x4cd013(0x2b7));_0x4ceb53=_0x56f0c3[_0x4cd013(0x264)][_0x4cd013(0x2c7)][_0x4cd013(0x362)](_0x28956a=>({..._0x28956a,'datasetCode':_0x28956a[_0x4cd013(0x2ab)]||_0x28956a[_0x4cd013(0x218)]}));}else{if(_0x4cd013(0x2c7)in _0x56f0c3){if(!Array[_0x4cd013(0x284)](_0x56f0c3[_0x4cd013(0x2c7)]))throw new Error(_0x4cd013(0x32a));_0x4ceb53=_0x56f0c3[_0x4cd013(0x2c7)][_0x4cd013(0x362)](_0x17c8d0=>({..._0x17c8d0,'datasetCode':_0x17c8d0[_0x4cd013(0x2ab)]||_0x17c8d0[_0x4cd013(0x218)]}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse');}}const _0x31d3bd=_0x4ceb53[_0x4cd013(0x362)](_0x570ea1=>new DatasetItem(_0x570ea1));this['_datasetMap']=new DatasetGroupMap(_0x31d3bd);}get[a0_0xbd658e(0x2a9)](){return this['_datasetMap'];}[a0_0xbd658e(0x283)](){const _0x38bc1f=a0_0xbd658e;return this[_0x38bc1f(0x2fa)]['getAllDatasets']();}[a0_0xbd658e(0x349)](){const _0x8a7d2f=a0_0xbd658e;return this[_0x8a7d2f(0x283)]()[_0x8a7d2f(0x2e3)];}[a0_0xbd658e(0x3c5)](){const _0x36f008=a0_0xbd658e;return this['_datasetMap'][_0x36f008(0x29e)]===0x0;}[a0_0xbd658e(0x315)](_0x5e01a1){const _0x49eb83=a0_0xbd658e;return this[_0x49eb83(0x283)]()[_0x5e01a1];}['getFirst'](){const _0x28321f=a0_0xbd658e;return this[_0x28321f(0x283)]()[0x0];}['getLast'](){const _0x1a5c5e=a0_0xbd658e,_0x38c52f=this[_0x1a5c5e(0x283)]();return _0x38c52f[_0x38c52f[_0x1a5c5e(0x2e3)]-0x1];}[a0_0xbd658e(0x280)](_0x4d078f){const _0x25820e=a0_0xbd658e;for(const _0x422e70 of this[_0x25820e(0x2fa)][_0x25820e(0x1e0)]()){const _0x9141f8=_0x422e70[_0x25820e(0x280)](_0x4d078f);if(_0x9141f8)return _0x9141f8;}return;}[a0_0xbd658e(0x33b)](_0x2a69ea){const _0xdd1ccc=a0_0xbd658e;return this[_0xdd1ccc(0x283)]()['find'](_0x16d56f=>_0x16d56f['name']===_0x2a69ea);}[a0_0xbd658e(0x38f)](_0x2716e9){const _0x4c0318=a0_0xbd658e;for(const _0x43e9f2 of this[_0x4c0318(0x2fa)][_0x4c0318(0x1e0)]()){const _0x489a2c=_0x43e9f2[_0x4c0318(0x38f)](_0x2716e9);if(_0x489a2c)return _0x489a2c;}return;}['findByTableName'](_0x1a4889){const _0x27eb07=a0_0xbd658e,_0x140bcb=getTableKey(_0x1a4889);return this[_0x27eb07(0x2fa)][_0x27eb07(0x233)](_0x140bcb);}['filter'](_0x4ede54){const _0x590ede=a0_0xbd658e,_0x239eb6=this[_0x590ede(0x283)]()['filter'](_0x4ede54);return new DatasetList(_0x239eb6[_0x590ede(0x362)](_0x378ad3=>_0x378ad3[_0x590ede(0x329)]()));}[a0_0xbd658e(0x2d2)](_0x15fb50){const _0x4c2db7=a0_0xbd658e;return this[_0x4c2db7(0x283)]()['filter'](_0x15fb50);}[a0_0xbd658e(0x393)](_0x257c78){const _0x10d181=a0_0xbd658e;this[_0x10d181(0x283)]()[_0x10d181(0x393)](_0x257c78);}[a0_0xbd658e(0x362)](_0xefc05c){const _0x3df534=a0_0xbd658e;return this[_0x3df534(0x283)]()[_0x3df534(0x362)](_0xefc05c);}[Symbol[a0_0xbd658e(0x209)]](){const _0x4b4d6e=a0_0xbd658e;return this['getItems']()[Symbol[_0x4b4d6e(0x209)]]();}['getVirtualTables'](){const _0x58cdd4=a0_0xbd658e;return this[_0x58cdd4(0x283)]()['filter'](_0x42ff60=>_0x42ff60[_0x58cdd4(0x2fd)]());}[a0_0xbd658e(0x30b)](){const _0x197e9a=a0_0xbd658e;return this[_0x197e9a(0x283)]()['filter'](_0x24680a=>!_0x24680a[_0x197e9a(0x2fd)]());}['groupByTableName'](){const _0x3d004c=a0_0xbd658e,_0x2acc49={};for(const _0x5b5dac of this['_datasetMap'][_0x3d004c(0x1e0)]()){const _0x370875=_0x5b5dac[_0x3d004c(0x233)]()[_0x3d004c(0x395)]();_0x2acc49[_0x370875]=_0x5b5dac[_0x3d004c(0x1de)]();}return _0x2acc49;}[a0_0xbd658e(0x342)](){const _0x19012c=a0_0xbd658e,_0x57b155={};for(const _0x424099 of this['_datasetMap'][_0x19012c(0x260)]()[_0x19012c(0x1e0)]()){const _0x309b08=_0x424099[_0x19012c(0x233)]()[_0x19012c(0x395)]();_0x57b155[_0x309b08]=_0x424099[_0x19012c(0x1de)]()[_0x19012c(0x362)](_0x42d00f=>_0x42d00f[_0x19012c(0x329)]());}return{'hasConflicts':Object[_0x19012c(0x332)](_0x57b155)[_0x19012c(0x2e3)]>0x0,'conflicts':_0x57b155};}['hasConflicts'](){const _0x2ea28c=a0_0xbd658e;return this[_0x2ea28c(0x2fa)]['hasConflicts']();}[a0_0xbd658e(0x25e)](){const _0x3cf9f8=a0_0xbd658e,_0x649259=[];for(const _0x59ebb1 of this['_datasetMap'][_0x3cf9f8(0x260)]()[_0x3cf9f8(0x1e0)]()){_0x649259['push'](..._0x59ebb1['getAll']());}return _0x649259;}[a0_0xbd658e(0x305)](_0x19cb79){const _0x3fef25=a0_0xbd658e;if(!_0x19cb79||Object['keys'](_0x19cb79)['length']===0x0)return this[_0x3fef25(0x2a9)][_0x3fef25(0x270)]();const _0x19177e=this[_0x3fef25(0x283)]()['map'](_0x4246c9=>_0x4246c9[_0x3fef25(0x329)]());return generateDatasetsConfig(_0x19177e,_0x19cb79);}['generateConfigArray'](_0x550019){const _0x5a0a67=a0_0xbd658e,_0x102ee9=this[_0x5a0a67(0x305)](_0x550019);return datasetsConfigToArray(_0x102ee9);}[a0_0xbd658e(0x397)](){const _0x3d5572=a0_0xbd658e;return this[_0x3d5572(0x283)]()[_0x3d5572(0x362)](_0x1a8ed0=>_0x1a8ed0[_0x3d5572(0x270)]());}[a0_0xbd658e(0x360)](){const _0x409a36=a0_0xbd658e;return{'total':this[_0x409a36(0x349)](),'virtualTables':this['getVirtualTables']()['length'],'realTables':this[_0x409a36(0x30b)]()[_0x409a36(0x2e3)],'hasConflicts':this[_0x409a36(0x245)](),'conflictCount':this[_0x409a36(0x25e)]()[_0x409a36(0x2e3)]};}['toArray'](){const _0x2882fe=a0_0xbd658e;return this[_0x2882fe(0x283)]()[_0x2882fe(0x362)](_0xd13bbb=>_0xd13bbb['toJSON']());}[a0_0xbd658e(0x329)](){const _0x4b544a=a0_0xbd658e;return this[_0x4b544a(0x378)]();}['toString'](){const _0x511fa6=a0_0xbd658e;return _0x511fa6(0x254)+this[_0x511fa6(0x349)]()+_0x511fa6(0x376)+this[_0x511fa6(0x2fa)]['size']+_0x511fa6(0x288);}static['fromApiResponse'](_0x339348){return new DatasetList(_0x339348);}static[a0_0xbd658e(0x20b)](_0x1273af){return new DatasetList(_0x1273af);}static[a0_0xbd658e(0x231)](){return new DatasetList([]);}}function operationToAnalysis(_0x20e00a){const _0x4b8c19=a0_0xbd658e;return{'name':_0x20e00a[_0x4b8c19(0x302)](),'displayName':_0x20e00a[_0x4b8c19(0x2f3)](),'type':_0x20e00a[_0x4b8c19(0x24f)](),'method':_0x20e00a[_0x4b8c19(0x27c)](),'path':_0x20e00a['getPath'](),'fullUrl':_0x20e00a['getFullUrl'](),'requestFields':_0x20e00a['getRequestFields'](),'requestParams':_0x20e00a['getRequestParams'](),'responseSchema':_0x20e00a[_0x4b8c19(0x38e)](),'requestExample':_0x20e00a[_0x4b8c19(0x2ed)](),'responseExample':_0x20e00a[_0x4b8c19(0x3b0)](),'enabled':_0x20e00a[_0x4b8c19(0x24b)]()};}function operationsToAnalyses(_0x20ad8f){const _0x5dece9=a0_0xbd658e;return _0x20ad8f[_0x5dece9(0x362)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{['_operationAnalyses'];[a0_0xbd658e(0x322)](_0x5187a5=![]){const _0x5b63eb=a0_0xbd658e;if(!_0x5187a5&&this[_0x5b63eb(0x34f)])return this['_operationAnalyses'];const _0x384bdd=this[_0x5b63eb(0x382)]();return this[_0x5b63eb(0x34f)]=operationsToAnalyses(_0x384bdd),this[_0x5b63eb(0x34f)];}[a0_0xbd658e(0x2b8)](){const _0x202f45=a0_0xbd658e;return this[_0x202f45(0x241)]({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0xbd658e(0x241)](_0x110894={}){const _0x34d1d1=a0_0xbd658e;let _0x769264=this['getOperationAnalyses']();return!_0x110894[_0x34d1d1(0x1fe)]&&(_0x769264=_0x769264[_0x34d1d1(0x363)](_0x500614=>_0x500614[_0x34d1d1(0x37f)])),_0x110894[_0x34d1d1(0x1e1)]!==![]&&(_0x769264=filterApiOperations(_0x769264)),_0x110894['customFilter']&&(_0x769264=_0x769264['filter'](_0x110894['customFilter'])),_0x769264=this[_0x34d1d1(0x31f)](_0x769264),_0x769264;}[a0_0xbd658e(0x31f)](_0x4bc0f4){const _0x249438=a0_0xbd658e,_0x31cb46=_0x4bc0f4['find'](_0x58fb4b=>_0x58fb4b['name']==='filter'),_0x22ed4b=_0x4bc0f4[_0x249438(0x363)](_0x107555=>_0x107555[_0x249438(0x1f8)]!==_0x249438(0x363));return _0x31cb46?[_0x31cb46,..._0x22ed4b]:_0x22ed4b;}[a0_0xbd658e(0x2fe)](_0x300895){const _0x570b7d=a0_0xbd658e,_0x4e07e2=this[_0x570b7d(0x322)]();return _0x4e07e2[_0x570b7d(0x307)](_0x5b9503=>_0x5b9503[_0x570b7d(0x1f8)]===_0x300895);}[a0_0xbd658e(0x232)](_0x2c30a4){const _0x31da73=a0_0xbd658e,_0x5d8d8f=this[_0x31da73(0x322)]();return _0x5d8d8f['filter'](_0x4f7cf5=>_0x4f7cf5[_0x31da73(0x2da)]===_0x2c30a4);}['getOperationRequestFields'](_0x3d7b47){const _0xd1cfe3=a0_0xbd658e,_0x3f4c90=this[_0xd1cfe3(0x1ee)](_0x3d7b47);if(!_0x3f4c90)return[];const _0x573900=_0x3f4c90[_0xd1cfe3(0x3bd)](),_0x34cda9=this[_0xd1cfe3(0x319)]();return _0x34cda9['filter'](_0x3e7a9b=>_0x573900[_0xd1cfe3(0x35f)](_0x3e7a9b[_0xd1cfe3(0x2ab)]));}[a0_0xbd658e(0x3a0)](_0x5e3465,_0x4c94ad){const _0x477ed2=a0_0xbd658e,_0x10bb3a=this[_0x477ed2(0x2fe)](_0x5e3465);if(!_0x10bb3a)return null;const _0x4595fb=this[_0x477ed2(0x1ee)](_0x10bb3a[_0x477ed2(0x1f8)]);if(!_0x4595fb)throw new Error('Operation\x20instance\x20not\x20found:\x20'+_0x10bb3a[_0x477ed2(0x1f8)]);const _0x20b2d8=this[_0x477ed2(0x2b6)](),_0x5e2e73=this[_0x477ed2(0x395)](),_0x68544f=_0x4595fb[_0x477ed2(0x396)](_0x20b2d8,{'useFullExample':_0x4c94ad?.[_0x477ed2(0x379)]}),_0x5b0389=_0x4595fb['generateUsageExample'](_0x20b2d8);return{'operation':_0x10bb3a,'operationInstance':_0x4595fb,'basicInfo':{'name':_0x10bb3a[_0x477ed2(0x1f8)],'displayName':_0x10bb3a['displayName'],'method':_0x10bb3a['method'],'path':_0x10bb3a[_0x477ed2(0x2b3)],'fullUrl':_0x10bb3a[_0x477ed2(0x202)],'enabled':_0x10bb3a[_0x477ed2(0x37f)]},'sdkCall':{'datasetCode':this[_0x477ed2(0x218)],'modelName':_0x20b2d8,'tableName':_0x5e2e73,'operationName':_0x10bb3a['name'],'params':_0x10bb3a[_0x477ed2(0x29b)],'code':_0x68544f},'usageExample':_0x5b0389};}['getDatasetDocMeta'](_0x355756={}){const _0x1e888d=a0_0xbd658e,_0x4801ff=this['getFilteredOperationAnalyses'](_0x355756),_0x13916b=this['getStats'](),_0xa5bb7={'name':this['name'],'code':this['datasetCode'],'tableName':this['getTableName'](),'tableKey':this['getTableKey'](),'source':this[_0x1e888d(0x34a)],'fieldCount':_0x13916b[_0x1e888d(0x200)],'businessFieldCount':_0x13916b['businessFieldCount'],'systemFieldCount':_0x13916b[_0x1e888d(0x350)],'operationCount':_0x13916b['operationCount'],'enabledOperationCount':_0x13916b[_0x1e888d(0x368)]},_0x5831c1=_0x4801ff[_0x1e888d(0x362)](_0x28b80f=>this[_0x1e888d(0x3a0)](_0x28b80f['name']))['filter'](_0x25b147=>_0x25b147!==null);return{'title':this[_0x1e888d(0x1f8)]+_0x1e888d(0x346),'datasetInfo':_0xa5bb7,'operations':_0x5831c1};}[a0_0xbd658e(0x2f9)](_0x36e164){const _0x495816=a0_0xbd658e;return{'appCode':_0x36e164,'tableKey':this[_0x495816(0x2b6)](),'tableName':this[_0x495816(0x395)](),'datasetCode':this[_0x495816(0x218)]};}['getOperationsOverviewData'](_0x3c5e8a){const _0x36fd9c=a0_0xbd658e,_0x455bee=[{'index':'name','label':_0x36fd9c(0x351)},{'index':_0x36fd9c(0x26e),'label':_0x36fd9c(0x3ab)},{'index':_0x36fd9c(0x3b7),'label':'方法'},{'index':_0x36fd9c(0x3a7),'label':'SDK\x20调用'},{'index':_0x36fd9c(0x2b3),'label':_0x36fd9c(0x3b4)},{'index':'sdkCallCode','label':_0x36fd9c(0x251)}],_0x2c73c7=_0x3c5e8a[_0x36fd9c(0x362)](_0x396bef=>{const _0x73c065=_0x36fd9c,{basicInfo:_0x3b07ee,sdkCall:_0x1c66ab}=_0x396bef,_0x996e78=_0x1c66ab['code'][_0x73c065(0x37a)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x73c065(0x37a)](/;$/,'');return{'displayName':_0x3b07ee[_0x73c065(0x26e)],'name':_0x3b07ee[_0x73c065(0x1f8)],'method':_0x3b07ee['method'],'path':_0x3b07ee[_0x73c065(0x2b3)],'sdkCall':_0x996e78,'sdkCallCode':_0x1c66ab[_0x73c065(0x2ab)]};});return{'tableColumns':_0x455bee,'tableData':_0x2c73c7};}[a0_0xbd658e(0x3c2)](_0x307b17){const _0x5e2731=a0_0xbd658e,_0x4ac6d5=this[_0x5e2731(0x2fe)](_0x307b17);if(!_0x4ac6d5)return null;return{'name':_0x4ac6d5[_0x5e2731(0x1f8)],'displayName':_0x4ac6d5[_0x5e2731(0x26e)],'type':_0x4ac6d5['type'],'method':_0x4ac6d5[_0x5e2731(0x3b7)],'path':_0x4ac6d5['path'],'enabled':_0x4ac6d5[_0x5e2731(0x37f)],'requestFieldCount':_0x4ac6d5[_0x5e2731(0x29b)][_0x5e2731(0x2e3)],'hasResponseSchema':_0x4ac6d5['responseSchema']!==null};}[a0_0xbd658e(0x337)](_0x1971ba={}){const _0x30ea35=a0_0xbd658e,_0x2ea96b=this[_0x30ea35(0x241)](_0x1971ba);return{'datasetName':this[_0x30ea35(0x1f8)],'datasetCode':this[_0x30ea35(0x218)],'tableName':this[_0x30ea35(0x395)](),'totalOperations':_0x2ea96b['length'],'operations':_0x2ea96b[_0x30ea35(0x362)](_0x41dbca=>({'name':_0x41dbca[_0x30ea35(0x1f8)],'displayName':_0x41dbca['displayName'],'type':_0x41dbca[_0x30ea35(0x2da)],'method':_0x41dbca[_0x30ea35(0x3b7)],'path':_0x41dbca['path'],'requestFieldCount':_0x41dbca[_0x30ea35(0x29b)]['length']}))};}[a0_0xbd658e(0x285)](_0x3f33ff){const _0x3749a6=a0_0xbd658e,_0x28e7ce={};return Object[_0x3749a6(0x35e)](_0x3f33ff)[_0x3749a6(0x393)](([_0x16f92a,_0xb9e222])=>{const _0x448f9d=_0x3749a6;Array['isArray'](_0xb9e222)&&_0xb9e222[_0x448f9d(0x2e3)]>0x0?_0x28e7ce[_0x16f92a]=_0xb9e222[0x0]:_0x28e7ce[_0x16f92a]=_0xb9e222;}),_0x28e7ce;}[a0_0xbd658e(0x35a)](){const _0x5df7ee=a0_0xbd658e,_0xaa2e92=this[_0x5df7ee(0x322)](),_0x18cae6=_0xaa2e92[_0x5df7ee(0x363)](_0x539021=>_0x539021[_0x5df7ee(0x37f)]);return{'total':_0xaa2e92['length'],'enabled':_0x18cae6[_0x5df7ee(0x2e3)],'disabled':_0xaa2e92['length']-_0x18cae6[_0x5df7ee(0x2e3)],'byType':this[_0x5df7ee(0x282)](_0x18cae6),'byMethod':this['getOperationCountByMethod'](_0x18cae6)};}['getOperationCountByType'](_0x1e655b){const _0xd3f074=a0_0xbd658e,_0x1c0253={};return _0x1e655b[_0xd3f074(0x393)](_0x1e50ca=>{const _0x350d4a=_0xd3f074;_0x1e50ca[_0x350d4a(0x2da)]&&(_0x1c0253[_0x1e50ca[_0x350d4a(0x2da)]]=(_0x1c0253[_0x1e50ca[_0x350d4a(0x2da)]]||0x0)+0x1);}),_0x1c0253;}[a0_0xbd658e(0x34c)](_0x1450a4){const _0x30b8eb={};return _0x1450a4['forEach'](_0x112166=>{const _0x368db0=a0_0x5e11;_0x30b8eb[_0x112166[_0x368db0(0x3b7)]]=(_0x30b8eb[_0x112166['method']]||0x0)+0x1;}),_0x30b8eb;}[a0_0xbd658e(0x369)](){const _0x43a6e8=a0_0xbd658e,_0x12eb81=this[_0x43a6e8(0x2b8)](),_0x30f237=new Set(_0x12eb81[_0x43a6e8(0x362)](_0x551cce=>_0x551cce['type'])[_0x43a6e8(0x363)](Boolean));return _0x30f237['has'](_0x43a6e8(0x23b))&&_0x30f237[_0x43a6e8(0x2a4)](_0x43a6e8(0x3a5))&&_0x30f237['has']('update')&&_0x30f237[_0x43a6e8(0x2a4)](_0x43a6e8(0x3c6));}[a0_0xbd658e(0x204)](){const _0x1ab39c=a0_0xbd658e,_0x585fc4=this['getEnabledOperationAnalyses'](),_0x4e46f5=new Set(_0x585fc4['map'](_0x51444f=>_0x51444f[_0x1ab39c(0x2da)])[_0x1ab39c(0x363)](Boolean)),_0x25667e=[_0x1ab39c(0x23b),_0x1ab39c(0x3a5),_0x1ab39c(0x3b5),'delete'];return _0x25667e[_0x1ab39c(0x363)](_0x32fa02=>!_0x4e46f5[_0x1ab39c(0x2a4)](_0x32fa02));}[a0_0xbd658e(0x3ce)](_0xfb34a9,_0x55ff3e,_0x7f6e22){const _0x3c1558=a0_0xbd658e,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=!![]}=_0x7f6e22||{},_0x2b5a95=this[_0x3c1558(0x3a0)](_0xfb34a9,{'useFullExample':includeRequestExample});if(!_0x2b5a95)return null;let _0x363919='';return _0x363919+=_0x3c1558(0x2f7)+_0x2b5a95[_0x3c1558(0x259)][_0x3c1558(0x26e)]+_0x3c1558(0x2a2)+_0x2b5a95[_0x3c1558(0x259)][_0x3c1558(0x1f8)]+_0x3c1558(0x355)+_0x2b5a95['sdkCall'][_0x3c1558(0x2ab)],includeUsageExample&&_0x2b5a95[_0x3c1558(0x266)]&&(_0x363919+=_0x3c1558(0x301)+_0x2b5a95['usageExample'][_0x3c1558(0x236)]+'\x0a\x0a'+_0x2b5a95['usageExample'][_0x3c1558(0x2cb)]),_0x363919;}[a0_0xbd658e(0x306)](_0x353945){const _0x3e97a5=a0_0xbd658e,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x353945||{},_0x40d515=this[_0x3e97a5(0x2b8)]();return _0x40d515[_0x3e97a5(0x362)](_0x1c3750=>this[_0x3e97a5(0x3ce)](_0x1c3750[_0x3e97a5(0x1f8)],this[_0x3e97a5(0x218)],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x3e97a5(0x2e6)]('\x0a');}[a0_0xbd658e(0x2a1)](_0x160b66,_0x4b5c3f='online',_0x4f3bc1=![]){const _0x1ad657=a0_0xbd658e,_0x502e92=this[_0x1ad657(0x2b6)](),_0x4ff814=this[_0x1ad657(0x395)](),_0x15dece=this[_0x1ad657(0x218)],_0xaab880=_0x4b5c3f==='daily'?'\x0a\x20\x20env:\x20\x27'+_0x4b5c3f+'\x27,':'',_0x35885d=_0x4f3bc1?_0x1ad657(0x2d9):'';return _0x1ad657(0x265)+_0x160b66+'\x27,'+_0x35885d+_0xaab880+'\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20'+_0x502e92+_0x1ad657(0x3b3)+_0x4ff814+_0x1ad657(0x354)+_0x15dece+_0x1ad657(0x208);}['toString'](){const _0x479d9d=a0_0xbd658e,_0x402b23=this[_0x479d9d(0x35a)]();return _0x479d9d(0x2db)+this[_0x479d9d(0x1f8)]+',\x20'+this[_0x479d9d(0x218)]+',\x20'+this[_0x479d9d(0x2a5)]()+_0x479d9d(0x224)+_0x402b23[_0x479d9d(0x37f)]+'/'+_0x402b23[_0x479d9d(0x2a6)]+'\x20operations)';}}var VERSION=a0_0xbd658e(0x1ff);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isSystemField,isRequiredField,isPrimaryKeyField,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FILTER_OPERATORS,DrivenDataDetailPlus,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|