@lovrabet/dsparser 1.2.4 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x223e12=a0_0x2761;(function(_0x198b32,_0x587810){const _0x30a255=a0_0x2761,_0x4dc207=_0x198b32();while(!![]){try{const _0x2be9d0=parseInt(_0x30a255(0x16b))/0x1+parseInt(_0x30a255(0x23b))/0x2+parseInt(_0x30a255(0x1e8))/0x3*(-parseInt(_0x30a255(0xf5))/0x4)+-parseInt(_0x30a255(0x142))/0x5*(-parseInt(_0x30a255(0x1d1))/0x6)+-parseInt(_0x30a255(0x23a))/0x7+parseInt(_0x30a255(0x1e4))/0x8*(-parseInt(_0x30a255(0xa0))/0x9)+-parseInt(_0x30a255(0x121))/0xa*(-parseInt(_0x30a255(0x182))/0xb);if(_0x2be9d0===_0x587810)break;else _0x4dc207['push'](_0x4dc207['shift']());}catch(_0x5be7a0){_0x4dc207['push'](_0x4dc207['shift']());}}}(a0_0x430a,0x3d303));function toCamelCase(_0x307330){const _0x11ebe2=a0_0x2761;if(!_0x307330)return'';return _0x307330[_0x11ebe2(0xcc)](/[_-]/)[_0x11ebe2(0x1b5)]((_0x5a5061,_0x169dfa)=>{const _0x98287b=_0x11ebe2;if(_0x169dfa===0x0)return _0x5a5061[_0x98287b(0x1de)]();return _0x5a5061[_0x98287b(0x112)](0x0)[_0x98287b(0x11b)]()+_0x5a5061[_0x98287b(0x11a)](0x1)[_0x98287b(0x1de)]();})[_0x11ebe2(0x167)]('');}function toPascalCase(_0xd57032){const _0x3866d3=a0_0x2761;if(!_0xd57032)return'';const _0x302a48=toCamelCase(_0xd57032);return _0x302a48[_0x3866d3(0x112)](0x0)[_0x3866d3(0x11b)]()+_0x302a48[_0x3866d3(0x11a)](0x1);}function toSnakeCase(_0x53c9d8){const _0x23658d=a0_0x2761;if(!_0x53c9d8)return'';return _0x53c9d8[_0x23658d(0x114)](/([A-Z])/g,'_$1')[_0x23658d(0x1de)]()[_0x23658d(0x114)](/^_/,'');}function toKebabCase(_0x19929e){const _0x2a1f7e=a0_0x2761;if(!_0x19929e)return'';return _0x19929e[_0x2a1f7e(0x114)](/([A-Z])/g,'-$1')['toLowerCase']()['replace'](/^-/,'');}function normalizeFieldName(_0x51b6ac){const _0x601cdd=a0_0x2761;if(!_0x51b6ac)return'';return _0x51b6ac[_0x601cdd(0x216)]()[_0x601cdd(0x114)](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')['replace'](/_+/g,'_')['replace'](/^_|_$/g,'');}function getTableName(_0x35697c){const _0x1b94b1=a0_0x2761;if(!_0x35697c)return _0x1b94b1(0x1a8);if(_0x35697c[_0x1b94b1(0x169)]?.[_0x1b94b1(0x92)])return _0x35697c[_0x1b94b1(0x169)]['tableName'];const _0xe77c4=_0x35697c[_0x1b94b1(0x135)]||_0x35697c[_0x1b94b1(0x7a)]||_0x35697c[_0x1b94b1(0x10c)];if(_0xe77c4)return generateTableNameFromCode(_0xe77c4);return'dataset_000000';}function getTableKey(_0x366cf7){if(typeof _0x366cf7==='string')return toCamelCase(_0x366cf7);const _0x5722a9=getTableName(_0x366cf7);return toCamelCase(_0x5722a9);}function generateTableNameFromCode(_0x304f07){const _0x29a85b=a0_0x2761;if(!_0x304f07)return _0x29a85b(0x1a8);const _0x288a69=_0x304f07[_0x29a85b(0x11a)](-0x6)['padStart'](0x6,'0');return _0x29a85b(0x247)+_0x288a69;}function isVirtualTableName(_0xb266d3){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0xb266d3);}function generateModelKeyFromCode(_0x2121f9){const _0x1933ed=a0_0x2761;if(!_0x2121f9)return _0x1933ed(0x204);return _0x1933ed(0x247)+_0x2121f9;}function getDbName(_0x46a6f8){const _0x25e395=a0_0x2761;return _0x46a6f8[_0x25e395(0x169)]?.['dbName']||_0x46a6f8['dbtableConfig']?.[_0x25e395(0x1ff)]?.[_0x25e395(0x87)]||'';}function generateDatasetsConfig(_0x19d21b,_0x550862={}){const _0x1eab8b=a0_0x2761,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x53aa12,filter:_0x3f7ed9}=_0x550862,_0x4ffe1e=_0x3f7ed9?_0x19d21b[_0x1eab8b(0x131)](_0x3f7ed9):_0x19d21b,_0x18f615=new Map();for(const _0x2f2e05 of _0x4ffe1e){const _0x501ee0=getTableName(_0x2f2e05),_0x6b1577=getDbName(_0x2f2e05);!_0x18f615['has'](_0x501ee0)&&_0x18f615[_0x1eab8b(0x220)](_0x501ee0,new Set()),_0x18f615[_0x1eab8b(0x20e)](_0x501ee0)[_0x1eab8b(0x276)](_0x6b1577);}const _0x53d13b=new Set();for(const [_0x22566b,_0x27e7fe]of _0x18f615){_0x27e7fe[_0x1eab8b(0x14f)]>0x1&&_0x53d13b[_0x1eab8b(0x276)](_0x22566b);}const _0x102aef={},_0x4bc39f=new Set();for(const _0x16e121 of _0x4ffe1e){const _0x21f5ec=getTableName(_0x16e121);if(enableDeduplication&&_0x4bc39f[_0x1eab8b(0x125)](_0x21f5ec)){console[_0x1eab8b(0x110)](_0x1eab8b(0xf4)+_0x21f5ec+'\x22,数据集:\x20'+_0x16e121[_0x1eab8b(0x1e1)]+'\x20('+_0x16e121['datasetCode']+')');continue;}_0x4bc39f['add'](_0x21f5ec);const _0x51b83a=_0x53aa12?_0x53aa12(_0x21f5ec,_0x16e121):getTableKey(_0x21f5ec),_0x5d7911=getDbName(_0x16e121),_0x5e7b81=_0x53d13b[_0x1eab8b(0x125)](_0x21f5ec)&&_0x5d7911?getTableKey(_0x5d7911)+'_'+_0x51b83a:_0x51b83a;_0x102aef[_0x51b83a]={'key':_0x51b83a,'alias':_0x5e7b81,'tableName':_0x21f5ec,'datasetCode':_0x16e121[_0x1eab8b(0x135)],'name':_0x16e121[_0x1eab8b(0x1e1)],'id':_0x16e121['id'],'dbName':_0x5d7911};}return _0x102aef;}function generateFullDatasetsConfig(_0x5d0669,_0x33d696={}){const _0x1d8e58=a0_0x2761,{filter:_0x1bf013,datasetNameGenerator:_0x4812bd}=_0x33d696,_0x5aaf5f=_0x1bf013?_0x5d0669[_0x1d8e58(0x131)](_0x1bf013):_0x5d0669,_0x482416=new Map();for(const _0x271598 of _0x5aaf5f){const _0x610bb3=getTableName(_0x271598),_0x202200=getDbName(_0x271598);!_0x482416['has'](_0x610bb3)&&_0x482416[_0x1d8e58(0x220)](_0x610bb3,new Set()),_0x482416[_0x1d8e58(0x20e)](_0x610bb3)['add'](_0x202200);}const _0x3b6156=new Set();for(const [_0x39e599,_0xab3e13]of _0x482416){_0xab3e13[_0x1d8e58(0x14f)]>0x1&&_0x3b6156[_0x1d8e58(0x276)](_0x39e599);}const _0x500bb2=groupByTableName(_0x5aaf5f),_0x4dca54={};for(const [_0x3d71f5,_0x3607a4]of Object[_0x1d8e58(0x1dd)](_0x500bb2)){if(_0x3607a4[_0x1d8e58(0xee)]===0x1){const _0x47f5b2=_0x3607a4[0x0],_0x2d3750=_0x4812bd?_0x4812bd(_0x3d71f5,_0x47f5b2):getTableKey(_0x3d71f5),_0x6f409e=getDbName(_0x47f5b2),_0x46d663=_0x3b6156['has'](_0x3d71f5)&&_0x6f409e?getTableKey(_0x6f409e)+'_'+_0x2d3750:_0x2d3750;_0x4dca54[_0x2d3750]={'key':_0x2d3750,'alias':_0x46d663,'tableName':_0x3d71f5,'datasetCode':_0x47f5b2[_0x1d8e58(0x135)],'name':_0x47f5b2[_0x1d8e58(0x1e1)],'id':_0x47f5b2['id'],'dbName':_0x6f409e};}else{const _0x116a78=[..._0x3607a4][_0x1d8e58(0x272)]((_0x5ed399,_0x14c6a6)=>{const _0x467c9e=Number(_0x5ed399['id'])||0x0,_0x2d6e3d=Number(_0x14c6a6['id'])||0x0;return _0x2d6e3d-_0x467c9e;});_0x116a78[_0x1d8e58(0x265)]((_0x26676b,_0xd23232)=>{const _0x3ba167=_0x1d8e58,_0x3a446d=_0x4812bd?_0x4812bd(_0x3d71f5,_0x26676b):getTableKey(_0x3d71f5),_0x2a83b0=_0xd23232===0x0?_0x3a446d:_0x3a446d+'_'+_0xd23232,_0x12cc4b=getDbName(_0x26676b),_0x3f2f7f=_0x3b6156[_0x3ba167(0x125)](_0x3d71f5)&&_0x12cc4b?getTableKey(_0x12cc4b)+'_'+_0x2a83b0:_0x2a83b0;_0x4dca54[_0x2a83b0]={'key':_0x2a83b0,'alias':_0x3f2f7f,'tableName':_0x3d71f5,'datasetCode':_0x26676b[_0x3ba167(0x135)],'name':_0x26676b[_0x3ba167(0x1e1)],'id':_0x26676b['id'],'dbName':_0x12cc4b};});}}return _0x4dca54;}function detectTableNameConflicts(_0x31deab){const _0xee51b3=a0_0x2761,_0x3e368b={};for(const _0x8b3a14 of _0x31deab){const _0x2c7ed1=getTableName(_0x8b3a14);!_0x3e368b[_0x2c7ed1]&&(_0x3e368b[_0x2c7ed1]=[]),_0x3e368b[_0x2c7ed1][_0xee51b3(0x27f)](_0x8b3a14);}const _0x754b9a={};for(const [_0xc0b0f8,_0x6e30bd]of Object[_0xee51b3(0x1dd)](_0x3e368b)){_0x6e30bd[_0xee51b3(0xee)]>0x1&&(_0x754b9a[_0xc0b0f8]=_0x6e30bd);}return{'hasConflicts':Object[_0xee51b3(0x173)](_0x754b9a)[_0xee51b3(0xee)]>0x0,'conflicts':_0x754b9a};}function createDatasetNameMap(_0x3462e4){const _0x5326f0=a0_0x2761,_0x2b5a7d={};for(const [_0x1612aa,_0x450f0c]of Object[_0x5326f0(0x1dd)](_0x3462e4)){_0x2b5a7d[_0x1612aa]=_0x450f0c['datasetCode']||'';}return _0x2b5a7d;}function groupByTableName(_0x3c1427){const _0x40c5d0=a0_0x2761,_0x2387ec={};for(const _0x28f82d of _0x3c1427){const _0x4dec5=getTableName(_0x28f82d);!_0x2387ec[_0x4dec5]&&(_0x2387ec[_0x4dec5]=[]),_0x2387ec[_0x4dec5][_0x40c5d0(0x27f)](_0x28f82d);}return _0x2387ec;}function datasetsConfigToArray(_0x3bfe03){const _0x8892df=a0_0x2761;return Object[_0x8892df(0x170)](_0x3bfe03);}function adaptDrivenDataDetail(_0x216ff3){const _0x5b7696=a0_0x2761;return{'id':_0x216ff3['modelId'],'name':_0x216ff3['name'],'datasetCode':_0x216ff3[_0x5b7696(0x10c)],'dbtableConfig':_0x216ff3[_0x5b7696(0x169)],'source':_0x216ff3['source'],'version':_0x216ff3[_0x5b7696(0x1c9)],'extend':_0x216ff3[_0x5b7696(0x24d)],'properties':_0x216ff3[_0x5b7696(0x23f)],'operations':_0x216ff3['operations']};}function adaptDrivenDataDetails(_0x10b886){const _0x7eb694=a0_0x2761;return _0x10b886[_0x7eb694(0x1b5)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x58d729){const _0x66d905=a0_0x2761;if(!_0x58d729[_0x66d905(0xaa)]||!_0x58d729[_0x66d905(0x149)])throw new Error(_0x66d905(0xde)+(_0x58d729[_0x66d905(0x91)]||_0x58d729[_0x66d905(0xbf)]));return adaptDrivenDataDetail(_0x58d729[_0x66d905(0x149)]);}function extractDatasetsFromListResponse(_0x44192d){const _0x18501a=a0_0x2761;if(!_0x44192d[_0x18501a(0xaa)]||!_0x44192d[_0x18501a(0x149)]?.[_0x18501a(0x1d4)])throw new Error(_0x18501a(0x1c2)+(_0x44192d['errorMsg']||_0x44192d['msg']));return _0x44192d[_0x18501a(0x149)][_0x18501a(0x1d4)][_0x18501a(0x1b5)](_0x195195=>({..._0x195195,'datasetCode':_0x195195[_0x18501a(0x7a)]||_0x195195['datasetCode']}));}function isDrivenDataDetail(_0x12cf71){const _0x3cdfd9=a0_0x2761;return Boolean(_0x12cf71&&typeof _0x12cf71[_0x3cdfd9(0x10c)]===_0x3cdfd9(0x10f));}function smartAdapt(_0x38ca6c){const _0x35ac0a=a0_0x2761;if(isDrivenDataDetail(_0x38ca6c))return adaptDrivenDataDetail(_0x38ca6c);if(_0x38ca6c[_0x35ac0a(0x135)])return _0x38ca6c;if(_0x38ca6c[_0x35ac0a(0x7a)])return{..._0x38ca6c,'datasetCode':_0x38ca6c['code']};return _0x38ca6c;}var DatasetOperationType;(_0x359ee3=>{const _0x3c3050=a0_0x2761;_0x359ee3['GET_LIST']='getList',_0x359ee3[_0x3c3050(0x197)]=_0x3c3050(0x164),_0x359ee3['GET_ONE_ORIGIN']=_0x3c3050(0x1b8),_0x359ee3[_0x3c3050(0x12a)]='getOneUpdate',_0x359ee3['CREATE']=_0x3c3050(0x126),_0x359ee3['UPDATE']=_0x3c3050(0x14c),_0x359ee3['DELETE']=_0x3c3050(0xb4),_0x359ee3[_0x3c3050(0xa1)]=_0x3c3050(0xef),_0x359ee3[_0x3c3050(0x252)]='getFileUrl',_0x359ee3[_0x3c3050(0x222)]=_0x3c3050(0x22d),_0x359ee3[_0x3c3050(0x1d0)]=_0x3c3050(0x245),_0x359ee3['CREATE_IMPORT']=_0x3c3050(0x94),_0x359ee3[_0x3c3050(0x101)]=_0x3c3050(0x8c),_0x359ee3[_0x3c3050(0xba)]='taskInfo',_0x359ee3[_0x3c3050(0x184)]=_0x3c3050(0x260);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x223e12(0x119)]:a0_0x223e12(0x75),[a0_0x223e12(0x164)]:a0_0x223e12(0x281),[a0_0x223e12(0x1b8)]:a0_0x223e12(0x9d),['getOneUpdate']:a0_0x223e12(0x18f),[a0_0x223e12(0x126)]:'创建',[a0_0x223e12(0x14c)]:'更新',[a0_0x223e12(0xb4)]:'删除',[a0_0x223e12(0xef)]:a0_0x223e12(0x1ed),[a0_0x223e12(0x117)]:'获取文件URL',[a0_0x223e12(0x22d)]:a0_0x223e12(0x178),[a0_0x223e12(0x245)]:a0_0x223e12(0xec),[a0_0x223e12(0x94)]:a0_0x223e12(0x1a6),[a0_0x223e12(0x8c)]:a0_0x223e12(0x283),[a0_0x223e12(0x1fd)]:'任务信息',[a0_0x223e12(0x260)]:a0_0x223e12(0x14b)},API_BLACKLIST=[a0_0x223e12(0x119),a0_0x223e12(0x1b8),a0_0x223e12(0x77),'getFileUrl'];function parseFieldExtend(_0xacdbfa){const _0x1e3aa4=a0_0x223e12;if(!_0xacdbfa||typeof _0xacdbfa!==_0x1e3aa4(0x152))return!![]&&console[_0x1e3aa4(0x110)](_0x1e3aa4(0x20d),_0xacdbfa),{};if(!_0xacdbfa[_0x1e3aa4(0x24d)])return{};try{const _0x4b7156=typeof _0xacdbfa[_0x1e3aa4(0x24d)]===_0x1e3aa4(0x10f)?JSON[_0x1e3aa4(0x74)](_0xacdbfa[_0x1e3aa4(0x24d)]):_0xacdbfa[_0x1e3aa4(0x24d)];if(typeof _0x4b7156!==_0x1e3aa4(0x152)||_0x4b7156===null)return{};return _0x4b7156;}catch{return{};}}function isPrimaryKeyField(_0x4c2fc4,_0x39cf3e){const _0x5d1960=a0_0x223e12;if(!_0x4c2fc4||typeof _0x4c2fc4!==_0x5d1960(0x152))return![];if(typeof _0x39cf3e===_0x5d1960(0x10f)&&_0x4c2fc4[_0x5d1960(0x7a)]===_0x39cf3e)return!![];const _0x2cf7e6=parseFieldExtend(_0x4c2fc4);return Boolean(_0x2cf7e6['primaryKey']||_0x2cf7e6[_0x5d1960(0x80)]);}function isSystemField(_0x1d2437){const _0x5e0335=a0_0x223e12,_0x4c3769=parseFieldExtend(_0x1d2437);return Boolean(_0x4c3769[_0x5e0335(0xcf)]);}function isRequiredField(_0x5a9dd4){const _0x256364=a0_0x223e12,_0x476ff8=parseFieldExtend(_0x5a9dd4);return Boolean(_0x476ff8[_0x256364(0x225)]);}function isAutoIncrementField(_0x4bd85b){const _0x53fa4d=a0_0x223e12,_0x35bd33=parseFieldExtend(_0x4bd85b);return Boolean(_0x35bd33[_0x53fa4d(0x1dc)]);}function isCreateTimeField(_0x3396be){const _0x2ffd59=a0_0x223e12,_0x548e90=parseFieldExtend(_0x3396be);return Boolean(_0x548e90[_0x2ffd59(0x102)]);}function isModifyTimeField(_0x1b6240){const _0x309141=a0_0x223e12,_0x15d78d=parseFieldExtend(_0x1b6240);return Boolean(_0x15d78d[_0x309141(0xb0)]);}function a0_0x2761(_0x463946,_0x515cb4){const _0x430a17=a0_0x430a();return a0_0x2761=function(_0x2761e1,_0x213513){_0x2761e1=_0x2761e1-0x6b;let _0x8c6334=_0x430a17[_0x2761e1];return _0x8c6334;},a0_0x2761(_0x463946,_0x515cb4);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':a0_0x223e12(0x258),'DATE':'日期','DATETIME':a0_0x223e12(0x198),'TIMESTAMP':a0_0x223e12(0x13b),'SELECT':a0_0x223e12(0x6d),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':'文件上传','IMAGE':'图片','RICH_TEXT':a0_0x223e12(0x1d6),'JSON':'JSON','ARRAY':'数组'};function getDbTypeDisplay(_0x1935f5){const _0x5ec1d7=a0_0x223e12;if(typeof _0x1935f5!=='string')return!![]&&console[_0x5ec1d7(0x110)](_0x5ec1d7(0x1fc),_0x1935f5),String(_0x1935f5||'-');return DB_TYPE_DISPLAY_MAP[_0x1935f5]||_0x1935f5;}function formatDbType(_0x3566eb,_0x155c83){const _0x5a8ebf=a0_0x223e12;if(!_0x3566eb||typeof _0x3566eb!==_0x5a8ebf(0x10f))return'-';if(!_0x155c83||typeof _0x155c83!==_0x5a8ebf(0xd1))return _0x3566eb;const _0x1b3a7d=[_0x5a8ebf(0x84),'DATETIME',_0x5a8ebf(0x98),'DATE'];if(_0x1b3a7d[_0x5a8ebf(0x26c)](_0x3566eb[_0x5a8ebf(0x11b)]()))return _0x3566eb;return _0x3566eb+'('+_0x155c83+')';}function parseOperationType(_0x285e4e){const _0x406d52=a0_0x223e12;if(typeof _0x285e4e!=='string'){!![]&&console['warn']('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x285e4e);return;}if(Object[_0x406d52(0x170)](DatasetOperationType)[_0x406d52(0x26c)](_0x285e4e))return _0x285e4e;const _0x3ef3c4=Object[_0x406d52(0x1dd)](OPERATION_TYPE_DISPLAY_NAME)[_0x406d52(0x263)](([_0x259b88,_0x10f7e8])=>_0x10f7e8===_0x285e4e);return _0x3ef3c4?_0x3ef3c4[0x0]:undefined;}function shouldIncludeField(_0x1724e6,_0x4dd651,_0x48f5a2){const _0x5d8c9d=a0_0x223e12,_0x4748fe=parseFieldExtend(_0x1724e6),_0x518d25=isPrimaryKeyField(_0x1724e6,_0x48f5a2),_0x22e42a=Boolean(_0x4748fe[_0x5d8c9d(0xcf)]),_0x138ce2=Boolean(_0x4748fe[_0x5d8c9d(0x1dc)]),_0x1ff996=Boolean(_0x4748fe[_0x5d8c9d(0x102)]),_0x39d5f9=Boolean(_0x4748fe[_0x5d8c9d(0xb0)]);switch(_0x4dd651){case _0x5d8c9d(0x119):return!![];case _0x5d8c9d(0x164):case'getOneOrigin':case _0x5d8c9d(0xb4):return _0x518d25;case'create':if(_0x518d25&&_0x138ce2)return![];if(_0x22e42a)return![];if(_0x1ff996||_0x39d5f9)return![];return!![];case _0x5d8c9d(0x14c):case'getOneUpdate':if(_0x518d25)return!![];if(_0x22e42a)return![];if(_0x1ff996||_0x39d5f9)return![];return!![];case _0x5d8c9d(0xef):return _0x1724e6['code']===_0x5d8c9d(0x7a);default:return!![];}}function getFieldsForOperation(_0x10bd88,_0x388aa1,_0x1f6d17){const _0x47075d=a0_0x223e12;if(!Array[_0x47075d(0xc8)](_0x10bd88))return!![]&&console['warn'](_0x47075d(0x9e),_0x10bd88),[];return _0x10bd88['filter'](_0x514e02=>shouldIncludeField(_0x514e02,_0x388aa1,_0x1f6d17));}function isApiBlacklisted(_0x792874){const _0x34f39b=a0_0x223e12;if(typeof _0x792874!==_0x34f39b(0x10f))return!![]&&console[_0x34f39b(0x110)](_0x34f39b(0x6b),_0x792874),![];return API_BLACKLIST[_0x34f39b(0x26c)](_0x792874);}function filterApiOperations(_0x4c8693){const _0xdf6719=a0_0x223e12;if(!Array['isArray'](_0x4c8693))return!![]&&console['warn'](_0xdf6719(0x160),_0x4c8693),[];return _0x4c8693[_0xdf6719(0x131)](_0x147acb=>_0x147acb&&typeof _0x147acb==='object'&&!isApiBlacklisted(_0x147acb[_0xdf6719(0x1e1)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x223e12(0xe3)](),'SELECT':({fieldInfo:_0x15fec1})=>{const _0x1ef9a1=a0_0x223e12;if(_0x15fec1?.[_0x1ef9a1(0x1b7)]&&Array[_0x1ef9a1(0xc8)](_0x15fec1[_0x1ef9a1(0x1b7)])&&_0x15fec1['options']['length']>0x0)return _0x15fec1[_0x1ef9a1(0x1b7)][0x0][_0x1ef9a1(0x176)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x259d69})=>{const _0x41b6f5=a0_0x223e12;if(_0x259d69===_0x41b6f5(0xc0))return 0x1;if(_0x259d69==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x72237e})=>{const _0xd47fb5=a0_0x223e12;if(_0x72237e&&typeof _0x72237e===_0xd47fb5(0x10f)){const _0x5622ad=_0x72237e[_0xd47fb5(0x1de)]();if(_0x5622ad[_0xd47fb5(0x26c)]('邮箱')||_0x5622ad[_0xd47fb5(0x26c)]('email'))return _0xd47fb5(0x88);if(_0x5622ad[_0xd47fb5(0x26c)]('电话')||_0x5622ad[_0xd47fb5(0x26c)]('手机')||_0x5622ad[_0xd47fb5(0x26c)]('phone'))return'13800138000';if(_0x5622ad[_0xd47fb5(0x26c)]('地址')||_0x5622ad[_0xd47fb5(0x26c)](_0xd47fb5(0x191)))return'北京市朝阳区';if(_0x5622ad['includes']('姓名')||_0x5622ad[_0xd47fb5(0x26c)](_0xd47fb5(0x1e1)))return'张三';}return _0xd47fb5(0x15e);},'VARCHAR':({description:_0x4b66cc})=>TYPE_VALUE_GENERATORS[a0_0x223e12(0x84)]({'description':_0x4b66cc}),'CHAR':({description:_0x278ddf})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x278ddf}),'STRING':({fieldInfo:_0x4cdd44,description:_0xb78d5f})=>{const _0x3cba28=a0_0x223e12;if(_0x4cdd44?.['placeholder']&&typeof _0x4cdd44['placeholder']===_0x3cba28(0x10f)&&_0x4cdd44[_0x3cba28(0x161)]!=='系统自动生成')return _0x4cdd44[_0x3cba28(0x161)][_0x3cba28(0x114)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS['TEXT']({'description':_0xb78d5f});},'TEXTAREA':()=>a0_0x223e12(0x24b),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x223e12(0x176)}),'ARRAY':()=>[a0_0x223e12(0x82),a0_0x223e12(0x20c)],'UPLOAD':()=>a0_0x223e12(0x1eb),'IMAGE':()=>a0_0x223e12(0x11e),'RICH_TEXT':()=>'<p>富文本内容</p>'};function generateExampleValue(_0x511afd,_0x3b46e9,_0x99174a,_0x12147e={}){const _0x42566f=a0_0x223e12;typeof _0x511afd!==_0x42566f(0x10f)&&(!![]&&console[_0x42566f(0x110)](_0x42566f(0x1d8),_0x511afd),_0x511afd=String(_0x511afd||''));if(typeof _0x3b46e9!==_0x42566f(0x10f))return!![]&&console[_0x42566f(0x110)](_0x42566f(0x1d7),_0x3b46e9),_0x42566f(0x1fa);const {isPrimaryKey:_0x6e1167,dbtableConfig:_0xfed677}=_0x12147e;if(_0x6e1167)return 0x1;if(_0xfed677&&typeof _0xfed677===_0x42566f(0x152)){const _0x4e2432=_0xfed677[_0x42566f(0x12f)]?.['fieldName']===_0x511afd,_0x4986ec=_0xfed677[_0x42566f(0x24e)]?.[_0x42566f(0xca)]===_0x511afd;if(_0x4e2432||_0x4986ec){if(_0x99174a&&typeof _0x99174a==='string'&&_0x99174a[_0x42566f(0x11b)]()[_0x42566f(0x26c)](_0x42566f(0x98)))return Date['now']();return new Date()[_0x42566f(0x1c3)]()[_0x42566f(0x114)]('T','\x20')[_0x42566f(0xcc)]('.')[0x0];}}const _0x34d604={..._0x12147e,'fieldCode':_0x511afd};if(_0x99174a&&typeof _0x99174a==='string'){const _0x23a69=_0x99174a['toUpperCase'](),_0x2d687b=TYPE_VALUE_GENERATORS[_0x23a69];if(_0x2d687b)return _0x2d687b(_0x34d604);}if(_0x3b46e9&&typeof _0x3b46e9===_0x42566f(0x10f)){const _0x5cf879=_0x3b46e9[_0x42566f(0x11b)](),_0xb1bf70=TYPE_VALUE_GENERATORS[_0x5cf879];if(_0xb1bf70)return _0xb1bf70(_0x34d604);}return _0x42566f(0x1fa);}function generateExampleFromSchema(_0x4db8ec,_0x57edb1){const _0x360913=a0_0x223e12;if(!_0x4db8ec||typeof _0x4db8ec!==_0x360913(0x152))return{};if(Array['isArray'](_0x4db8ec)){if(_0x4db8ec[_0x360913(0xee)]>0x0)return[generateExampleFromSchema(_0x4db8ec[0x0],_0x57edb1)];return[];}const _0x289aca={};return Object['keys'](_0x4db8ec)[_0x360913(0x265)](_0x46d9f6=>{const _0x8bd9b6=_0x360913,_0x33572b=_0x4db8ec[_0x46d9f6];if(_0x33572b&&typeof _0x33572b===_0x8bd9b6(0x152)&&!Array[_0x8bd9b6(0xc8)](_0x33572b)&&_0x33572b[_0x8bd9b6(0x9a)]){const _0x5e8e22=_0x33572b,_0x5d13c3=_0x5e8e22[_0x8bd9b6(0x9a)],_0xf106fd=_0x5e8e22[_0x8bd9b6(0x243)];typeof _0x5d13c3===_0x8bd9b6(0x10f)?_0x289aca[_0x46d9f6]=generateExampleValue(_0x46d9f6,_0x5d13c3,undefined,{'description':_0xf106fd,'dbtableConfig':_0x57edb1}):_0x289aca[_0x46d9f6]=_0x8bd9b6(0x1fa);}else{if(Array[_0x8bd9b6(0xc8)](_0x33572b))_0x289aca[_0x46d9f6]=_0x33572b['length']>0x0?[generateExampleFromSchema(_0x33572b[0x0],_0x57edb1)]:[];else _0x33572b&&typeof _0x33572b===_0x8bd9b6(0x152)?_0x289aca[_0x46d9f6]=generateExampleFromSchema(_0x33572b,_0x57edb1):_0x289aca[_0x46d9f6]=_0x33572b;}}),_0x289aca;}function parseRequestBody(_0x22f0d4){const _0x46be1a=a0_0x223e12;if(!_0x22f0d4)return{};try{return JSON[_0x46be1a(0x74)](_0x22f0d4);}catch(_0x15c9fe){return!![]&&console['warn']('解析\x20requestBody\x20失败:',_0x15c9fe),{};}}function parseResponseBody(_0x5b9f85){const _0x3e7f4f=a0_0x223e12;if(!_0x5b9f85)return null;try{const _0x521119=JSON['parse'](_0x5b9f85);return _0x521119[_0x3e7f4f(0x1ea)]||_0x521119;}catch(_0x3e2cee){return!![]&&console[_0x3e7f4f(0x110)]('解析\x20responseBody\x20失败:',_0x3e2cee),null;}}function generateRequestExample(_0x168070,_0xa9c607,_0x4b2a07,_0x2492f5){const _0x4880c9=a0_0x223e12,_0x18a0f9={};if(!Array['isArray'](_0x168070))return!![]&&console['warn'](_0x4880c9(0x171),_0x168070),_0x18a0f9;return _0x168070[_0x4880c9(0x265)](_0x269b2b=>{const _0x21e61a=_0x4880c9;if(!_0x269b2b||typeof _0x269b2b!==_0x21e61a(0x152)){!![]&&console[_0x21e61a(0x110)](_0x21e61a(0x1df),_0x269b2b);return;}if(typeof _0x269b2b[_0x21e61a(0x7a)]!=='string'||typeof _0x269b2b[_0x21e61a(0x9a)]!==_0x21e61a(0x10f)){!![]&&console['warn'](_0x21e61a(0x174),_0x269b2b);return;}const _0x45a4da=parseFieldExtend(_0x269b2b),_0x1f6cf0=_0x269b2b[_0x21e61a(0x7a)]===_0x4b2a07||Boolean(_0x45a4da?.['primaryKey']),_0x34e19d=generateExampleValue(_0x269b2b[_0x21e61a(0x7a)],_0x269b2b[_0x21e61a(0x9a)],typeof _0x269b2b[_0x21e61a(0x280)]==='string'?_0x269b2b[_0x21e61a(0x280)]:undefined,{'fieldInfo':_0x45a4da,'isPrimaryKey':_0x1f6cf0,'description':_0x269b2b[_0x21e61a(0x243)]||_0x269b2b[_0x21e61a(0x1e1)],'dbtableConfig':_0x2492f5});_0x18a0f9[_0x269b2b[_0x21e61a(0x7a)]]=_0x34e19d;}),_0xa9c607==='getList'&&(_0x18a0f9[_0x4880c9(0xc0)]=0x1,_0x18a0f9[_0x4880c9(0x279)]=0xa),_0x18a0f9;}function formatEnumValue(_0x544849,_0x29a297){const _0x21170d=a0_0x223e12;if(_0x544849[_0x21170d(0x153)]&&Array['isArray'](_0x29a297))return _0x29a297[_0x21170d(0x1b5)](_0x58efb3=>_0x544849['valueLabels'][String(_0x58efb3)]||String(_0x58efb3))['join'](',\x20');return _0x544849[_0x21170d(0x1c5)][String(_0x29a297)]||String(_0x29a297);}function formatOptionsForDoc(_0x4cc63c){const _0x39ed00=a0_0x223e12;return _0x4cc63c['map'](_0x1d576a=>_0x1d576a[_0x39ed00(0x176)]+'('+_0x1d576a[_0x39ed00(0x259)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x2cf97d,_0x4c1aa2=0x0){const _0x12861f=a0_0x223e12,_0x1e0933='\x20\x20'[_0x12861f(0x14e)](_0x4c1aa2),_0x2434db=[];return _0x2cf97d[_0x12861f(0x265)](_0x97f884=>{const _0x52a9bc=_0x12861f;_0x2434db[_0x52a9bc(0x27f)](_0x1e0933+'-\x20`'+_0x97f884[_0x52a9bc(0x176)]+_0x52a9bc(0x19d)+_0x97f884['label']),_0x97f884['children']&&_0x97f884[_0x52a9bc(0x16d)][_0x52a9bc(0xee)]>0x0&&_0x2434db[_0x52a9bc(0x27f)](formatOptionsAsMarkdownList(_0x97f884[_0x52a9bc(0x16d)],_0x4c1aa2+0x1));}),_0x2434db['join']('\x0a');}class DbtableConfig{['_raw'];constructor(_0x533fb4){const _0x59bb62=a0_0x223e12;this[_0x59bb62(0x96)]={..._0x533fb4};}get['dbId'](){const _0x285c90=a0_0x223e12;return this[_0x285c90(0x96)]['dbId'];}get[a0_0x223e12(0x87)](){const _0x2e5584=a0_0x223e12;return this[_0x2e5584(0x96)][_0x2e5584(0x87)]??this[_0x2e5584(0x96)]['dblinkInfoDTO']?.[_0x2e5584(0x87)];}get[a0_0x223e12(0x92)](){const _0x382d0d=a0_0x223e12;return this[_0x382d0d(0x96)][_0x382d0d(0x92)];}get[a0_0x223e12(0x273)](){const _0x338179=a0_0x223e12;return this[_0x338179(0x96)]['datasetKey'];}get['pkField'](){const _0x4732f7=a0_0x223e12;return this[_0x4732f7(0x96)][_0x4732f7(0x80)];}get[a0_0x223e12(0xc5)](){return this['_raw']['labelField'];}get[a0_0x223e12(0x116)](){const _0x1d6276=a0_0x223e12;return this[_0x1d6276(0x96)][_0x1d6276(0x116)];}get[a0_0x223e12(0x12f)](){const _0x3eff28=a0_0x223e12;return this[_0x3eff28(0x96)][_0x3eff28(0x12f)];}get['updateTimeField'](){const _0x3f35e7=a0_0x223e12;return this[_0x3f35e7(0x96)][_0x3f35e7(0x24e)];}get['creatorIdField'](){const _0x46e063=a0_0x223e12;return this[_0x46e063(0x96)][_0x46e063(0xb3)];}get[a0_0x223e12(0x18c)](){const _0x3542a5=a0_0x223e12;return this[_0x3542a5(0x96)][_0x3542a5(0x18c)];}get[a0_0x223e12(0xdb)](){const _0x4d2939=a0_0x223e12;return this[_0x4d2939(0x96)][_0x4d2939(0xdb)];}get[a0_0x223e12(0x16c)](){const _0xb20510=a0_0x223e12;return this[_0xb20510(0x96)][_0xb20510(0x16c)];}get[a0_0x223e12(0x1ff)](){const _0x2a3cc8=a0_0x223e12;return this[_0x2a3cc8(0x96)][_0x2a3cc8(0x1ff)];}[a0_0x223e12(0x195)](){const _0x3d3f2f=a0_0x223e12;if(!this[_0x3d3f2f(0x96)]['allFields'])return[];return this[_0x3d3f2f(0x96)][_0x3d3f2f(0x16f)][_0x3d3f2f(0xcc)](',')[_0x3d3f2f(0x1b5)](_0x334297=>_0x334297[_0x3d3f2f(0x216)]())[_0x3d3f2f(0x131)](Boolean);}[a0_0x223e12(0x1f6)](){const _0x3d1e8b=a0_0x223e12;return this[_0x3d1e8b(0x96)][_0x3d1e8b(0x16f)];}[a0_0x223e12(0x193)](_0x2cf674){const _0x24de89=a0_0x223e12;return this[_0x24de89(0x195)]()[_0x24de89(0x26c)](_0x2cf674);}[a0_0x223e12(0xa6)](){const _0x4c277b=a0_0x223e12;return Boolean(this[_0x4c277b(0x96)]['tableName']);}['hasDblinkInfo'](){const _0x418940=a0_0x223e12;return Boolean(this[_0x418940(0x96)][_0x418940(0x1ff)]);}[a0_0x223e12(0x232)](){const _0xf7d626=a0_0x223e12;return Boolean(this['_raw'][_0xf7d626(0x116)]?.['fieldName']);}['hasCreateTimeField'](){const _0xeb1477=a0_0x223e12;return Boolean(this['_raw'][_0xeb1477(0x12f)]?.[_0xeb1477(0xca)]);}[a0_0x223e12(0x18b)](){const _0x397437=a0_0x223e12;return Boolean(this[_0x397437(0x96)][_0x397437(0x24e)]?.[_0x397437(0xca)]);}[a0_0x223e12(0x7c)](){const _0x7e30a6=a0_0x223e12;return Boolean(this[_0x7e30a6(0x96)][_0x7e30a6(0xb3)]?.[_0x7e30a6(0xca)]);}['hasModifierIdField'](){const _0x191826=a0_0x223e12;return Boolean(this[_0x191826(0x96)][_0x191826(0xdb)]?.[_0x191826(0xca)]);}[a0_0x223e12(0x1d9)](_0x3dd8d6){const _0x83a006=a0_0x223e12;return this[_0x83a006(0x96)][_0x83a006(0x80)]===_0x3dd8d6;}[a0_0x223e12(0x76)](_0x2f6522){const _0x549a0c=a0_0x223e12;return this[_0x549a0c(0x1d9)](_0x2f6522)||this[_0x549a0c(0x96)][_0x549a0c(0x116)]?.[_0x549a0c(0xca)]===_0x2f6522||this[_0x549a0c(0x96)][_0x549a0c(0x12f)]?.[_0x549a0c(0xca)]===_0x2f6522||this[_0x549a0c(0x96)][_0x549a0c(0x24e)]?.[_0x549a0c(0xca)]===_0x2f6522||this[_0x549a0c(0x96)]['creatorIdField']?.[_0x549a0c(0xca)]===_0x2f6522||this[_0x549a0c(0x96)]['creatorNameField']?.[_0x549a0c(0xca)]===_0x2f6522||this[_0x549a0c(0x96)]['modifierIdField']?.[_0x549a0c(0xca)]===_0x2f6522||this[_0x549a0c(0x96)][_0x549a0c(0x16c)]?.['fieldName']===_0x2f6522;}[a0_0x223e12(0x25c)](){const _0x22870d=a0_0x223e12;return this[_0x22870d(0x96)][_0x22870d(0x1ff)]?.['dbName'];}[a0_0x223e12(0xc4)](){const _0x28c182=a0_0x223e12;return this[_0x28c182(0x96)]['dblinkInfoDTO']?.['dbType'];}[a0_0x223e12(0x115)](){const _0x39a03e=a0_0x223e12;return this[_0x39a03e(0x96)]['dblinkInfoDTO']?.[_0x39a03e(0xaf)];}[a0_0x223e12(0xff)](){const _0x2e90ef=a0_0x223e12;return this[_0x2e90ef(0x96)][_0x2e90ef(0x1ff)]?.[_0x2e90ef(0x25a)];}['getAppCode'](){const _0x42f178=a0_0x223e12;return this['_raw'][_0x42f178(0x1ff)]?.[_0x42f178(0x7f)];}['getSystemAnalysisResult'](){const _0x35cf99=a0_0x223e12;return this[_0x35cf99(0x96)][_0x35cf99(0x1ff)]?.[_0x35cf99(0x27d)];}['getStats'](){const _0x2b28fc=a0_0x223e12;return{'hasTableName':this[_0x2b28fc(0xa6)](),'hasDblinkInfo':this[_0x2b28fc(0x1cb)](),'fieldCount':this[_0x2b28fc(0x195)]()[_0x2b28fc(0xee)],'systemFields':{'hasLogicField':this[_0x2b28fc(0x232)](),'hasCreateTimeField':this['hasCreateTimeField'](),'hasUpdateTimeField':this[_0x2b28fc(0x18b)](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x2b28fc(0x1f2)]()}};}[a0_0x223e12(0xf9)](){const _0xea7ca5=a0_0x223e12;return{'tableName':this[_0xea7ca5(0x92)],'pkField':this[_0xea7ca5(0x80)],'datasetKey':this[_0xea7ca5(0x273)],'dbId':this[_0xea7ca5(0x128)]};}['toJSON'](){const _0x3dd510=a0_0x223e12;return{...this[_0x3dd510(0x96)]};}['getRaw'](){return{...this['_raw']};}[a0_0x223e12(0x144)](){const _0x540e8b=a0_0x223e12,_0x241b09=this[_0x540e8b(0x92)]||_0x540e8b(0x244),_0x53792a=this['getAllFieldsArray']()[_0x540e8b(0xee)];return _0x540e8b(0x15f)+_0x241b09+_0x540e8b(0x145)+_0x53792a+')';}static[a0_0x223e12(0x1e7)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x223e12(0x96)];constructor(_0x904a07){const _0x2a370a=a0_0x223e12,_0x4e531e=_0x904a07[_0x2a370a(0x135)]||_0x904a07[_0x2a370a(0x7a)]||_0x904a07[_0x2a370a(0x10c)];this[_0x2a370a(0x96)]={..._0x904a07,'datasetCode':_0x4e531e};}get['id'](){return this['_raw']['id'];}get[a0_0x223e12(0x1e1)](){const _0x15ff92=a0_0x223e12;return this[_0x15ff92(0x96)][_0x15ff92(0x1e1)];}[a0_0x223e12(0x213)](){const _0x6c17b3=a0_0x223e12;return this[_0x6c17b3(0x1e1)];}get['datasetCode'](){const _0x4db4f7=a0_0x223e12;return this[_0x4db4f7(0x96)]['datasetCode']||'';}get['dbtableConfig'](){const _0x33ad66=a0_0x223e12;if(!this['_raw'][_0x33ad66(0x169)])return null;return new DbtableConfig(this['_raw'][_0x33ad66(0x169)]);}[a0_0x223e12(0x1f8)](){const _0x1f155c=a0_0x223e12;return this['_raw'][_0x1f155c(0x169)];}[a0_0x223e12(0x241)](){const _0x33f3dd=a0_0x223e12;return this[_0x33f3dd(0x169)]?.[_0x33f3dd(0x87)]||'';}[a0_0x223e12(0x1d5)](){return getTableName(this['_raw']);}[a0_0x223e12(0x172)](){const _0xc20e84=a0_0x223e12;return getTableKey(this[_0xc20e84(0x1d5)]());}[a0_0x223e12(0x271)](){const _0x315c8d=a0_0x223e12;return generateModelKeyFromCode(this[_0x315c8d(0x135)]);}[a0_0x223e12(0x8d)](){const _0x1cc0f7=a0_0x223e12;return isVirtualTableName(this[_0x1cc0f7(0x1d5)]());}['getModelName'](){const _0x287b82=a0_0x223e12;return getTableKey(this[_0x287b82(0x1d5)]());}[a0_0x223e12(0xf9)](){const _0x3548d6=getTableKey(this['getTableName']());return{'key':_0x3548d6,'alias':_0x3548d6,'tableName':this['getTableName'](),'datasetCode':this['datasetCode'],'name':this['name']};}[a0_0x223e12(0x1ba)](){const _0x4f0bad=a0_0x223e12;return{...this[_0x4f0bad(0x96)],'datasetCode':this[_0x4f0bad(0x135)]};}[a0_0x223e12(0x12c)](){const _0x3ea33a=a0_0x223e12;return{...this[_0x3ea33a(0x96)]};}[a0_0x223e12(0x1f5)](){const _0x190c79=a0_0x223e12,_0x40e6ca=this[_0x190c79(0x169)];return _0x40e6ca!==null&&_0x40e6ca['hasTableName']();}[a0_0x223e12(0x1db)](_0x1e9cb1){const _0x4a5d2d=a0_0x223e12;return this[_0x4a5d2d(0x96)][_0x1e9cb1];}['hasExtendField'](_0xd8e97f){const _0x4caf=a0_0x223e12;return _0xd8e97f in this[_0x4caf(0x96)];}[a0_0x223e12(0x144)](){const _0x555165=a0_0x223e12;return _0x555165(0x224)+this['name']+',\x20'+this[_0x555165(0x135)]+')';}}class Operation{[a0_0x223e12(0x1e1)];[a0_0x223e12(0x96)];[a0_0x223e12(0x24c)];constructor(_0xa8182,_0x26e3bf,_0x2ffd04){const _0x38fdb2=a0_0x223e12;this[_0x38fdb2(0x1e1)]=_0xa8182,this[_0x38fdb2(0x96)]=_0x26e3bf,this['context']=_0x2ffd04;}[a0_0x223e12(0x213)](){return this['name'];}[a0_0x223e12(0x7b)](){const _0xfc97e0=a0_0x223e12,_0x108b12=this[_0xfc97e0(0xd0)]();return _0x108b12?OPERATION_TYPE_DISPLAY_NAME[_0x108b12]:this[_0xfc97e0(0x1e1)];}['getType'](){const _0x249bf1=a0_0x223e12;return parseOperationType(this[_0x249bf1(0x1e1)]);}['isEnabled'](){const _0x8c01ea=a0_0x223e12;return this[_0x8c01ea(0x96)]!=null&&this[_0x8c01ea(0x96)]!==![];}[a0_0x223e12(0xb8)](){const _0x3821d8=a0_0x223e12;if(!this[_0x3821d8(0x12e)]()||!this[_0x3821d8(0x96)])return'';const _0x30257e=this['_raw'][_0x3821d8(0x6f)];return typeof _0x30257e===_0x3821d8(0x10f)?_0x30257e:_0x3821d8(0x212);}[a0_0x223e12(0x83)](){const _0x29a15a=a0_0x223e12;if(!this[_0x29a15a(0x12e)]()||!this[_0x29a15a(0x96)])return'';const _0x4277f2=this[_0x29a15a(0x96)][_0x29a15a(0x8b)];return typeof _0x4277f2==='string'?_0x4277f2:'';}[a0_0x223e12(0x10a)](){const _0x4e1f44=a0_0x223e12;if(!this[_0x4e1f44(0x12e)]()||!this[_0x4e1f44(0x96)])return'';const {host:_0xee1504,path:_0x1f433f}=this['_raw'],_0x277c7d=typeof _0xee1504===_0x4e1f44(0x10f)?_0xee1504:'',_0x47a99e=typeof _0x1f433f===_0x4e1f44(0x10f)?_0x1f433f:'';return _0x277c7d&&_0x47a99e?''+_0x277c7d+_0x47a99e:_0x47a99e;}[a0_0x223e12(0x187)](){const _0x3db620=a0_0x223e12;return Object[_0x3db620(0x173)](this[_0x3db620(0x19c)]());}[a0_0x223e12(0x13d)](){const _0x358063=a0_0x223e12,_0x2cdcee=this[_0x358063(0x19c)]();return{'params':Object[_0x358063(0x1dd)](_0x2cdcee)[_0x358063(0x1b5)](([_0x4577a5,_0x2a2d81])=>{const _0x368a7c=_0x358063,_0x12e392=_0x2a2d81;return{'name':_0x4577a5,'type':_0x12e392[_0x368a7c(0x9a)]||_0x368a7c(0xa5),'description':_0x12e392[_0x368a7c(0x243)]||'-','required':_0x12e392[_0x368a7c(0x225)]};})};}[a0_0x223e12(0x137)](){const _0x3c9b2d=a0_0x223e12;if(!this['isEnabled']()||typeof this[_0x3c9b2d(0x96)]===_0x3c9b2d(0x1b3)||!this[_0x3c9b2d(0x96)]?.['requestBody'])return{};const _0x2288de=this[_0x3c9b2d(0x96)][_0x3c9b2d(0x108)];if(typeof _0x2288de!==_0x3c9b2d(0x10f))return!![]&&console['warn'](_0x3c9b2d(0xd2),_0x2288de),{};return parseRequestBody(_0x2288de);}[a0_0x223e12(0x1ef)](){const _0x52e89e=a0_0x223e12;if(!this[_0x52e89e(0x12e)]()||typeof this['_raw']===_0x52e89e(0x1b3)||!this[_0x52e89e(0x96)]?.[_0x52e89e(0xeb)])return null;const _0x410cce=this['_raw'][_0x52e89e(0xeb)];if(typeof _0x410cce!==_0x52e89e(0x10f))return!![]&&console[_0x52e89e(0x110)](_0x52e89e(0x270),_0x410cce),null;return parseResponseBody(_0x410cce);}[a0_0x223e12(0x183)](_0x16c3b7,_0x39398c,_0x5efc38,_0x15f7e3){const _0x412ae9=a0_0x223e12;return generateExampleValue(_0x16c3b7,_0x39398c,_0x5efc38,{'isPrimaryKey':_0x15f7e3?.['isPrimaryKey'],'description':_0x15f7e3?.[_0x412ae9(0x243)],'dbtableConfig':this[_0x412ae9(0x24c)][_0x412ae9(0x169)]});}[a0_0x223e12(0x1ae)](_0x4f8d0f){const _0xab0cd7=a0_0x223e12;if(!Array[_0xab0cd7(0xc8)](this[_0xab0cd7(0x24c)][_0xab0cd7(0x249)])){!![]&&console[_0xab0cd7(0x110)](_0xab0cd7(0x274));return;}if(typeof _0x4f8d0f!==_0xab0cd7(0x10f)){!![]&&console[_0xab0cd7(0x110)](_0xab0cd7(0xa2),_0x4f8d0f);return;}return this[_0xab0cd7(0x24c)][_0xab0cd7(0x249)]['find'](_0x2393fc=>_0x2393fc&&_0x2393fc[_0xab0cd7(0x7a)]===_0x4f8d0f);}[a0_0x223e12(0x144)](){const _0x9520a6=a0_0x223e12,_0x2b5cd2=this['isEnabled']()?'启用':'禁用';return this[_0x9520a6(0x7b)]()+'('+this[_0x9520a6(0x1e1)]+',\x20'+_0x2b5cd2+')';}[a0_0x223e12(0x1c0)](){return[];}[a0_0x223e12(0x1a5)](_0xac9baf){return[];}['generateUsageExample'](_0x5e9f2d){const _0x464ec1=a0_0x223e12,_0x31ba41=this[_0x464ec1(0x213)](),_0x3d774e=_0x464ec1(0xab)+_0x5e9f2d+'.'+_0x31ba41+_0x464ec1(0x157),_0x49359e=_0x464ec1(0xbd)+_0x5e9f2d+'.'+_0x31ba41+_0x464ec1(0x10b);return{'successCode':_0x3d774e,'errorCode':_0x49359e};}[a0_0x223e12(0x1ba)](){const _0x185dad=a0_0x223e12;return{'name':this[_0x185dad(0x213)](),'displayName':this['getDisplayName'](),'type':this[_0x185dad(0xd0)](),'enabled':this[_0x185dad(0x12e)](),'method':this['getMethod'](),'path':this[_0x185dad(0x83)](),'fullUrl':this[_0x185dad(0x10a)](),'requestFields':this[_0x185dad(0x187)](),'requestParams':this[_0x185dad(0x19c)](),'responseSchema':this[_0x185dad(0xbe)](),'requestExample':this[_0x185dad(0xd5)](),'responseExample':this[_0x185dad(0x12d)]()};}}class GenericOperation extends Operation{['getRequestParams'](){const _0x47f633=a0_0x223e12;return this[_0x47f633(0x137)]();}[a0_0x223e12(0xbe)](){const _0x4a1e43=a0_0x223e12;return this[_0x4a1e43(0x1ef)]();}[a0_0x223e12(0xd5)](){const _0x4689a1=a0_0x223e12,_0x5cfb9b={},_0x5571a2=this['getRequestParams'](),_0x122509=this['getType']();if(Object['keys'](_0x5571a2)[_0x4689a1(0xee)]===0x0&&_0x122509){const _0x10e779=getFieldsForOperation(this[_0x4689a1(0x24c)][_0x4689a1(0x249)],_0x122509,this[_0x4689a1(0x24c)][_0x4689a1(0x80)]);return _0x10e779['forEach'](_0x1596cc=>{const _0x10658b=_0x4689a1,_0x4dab0d=this['generateFieldExample'](_0x1596cc['code'],_0x1596cc[_0x10658b(0x9a)],typeof _0x1596cc[_0x10658b(0x280)]===_0x10658b(0x10f)?_0x1596cc[_0x10658b(0x280)]:undefined,{'isPrimaryKey':_0x1596cc[_0x10658b(0x7a)]===this['context'][_0x10658b(0x80)],'description':_0x1596cc['description']||_0x1596cc['name']});_0x5cfb9b[_0x1596cc['code']]=_0x4dab0d;}),_0x5cfb9b;}return Object['entries'](_0x5571a2)['forEach'](([_0x1e22f4,_0x312c4f])=>{const _0x5caa9c=_0x4689a1,_0x9e1411=_0x312c4f;let _0x180ecc;if(typeof _0x9e1411[_0x5caa9c(0x9a)]===_0x5caa9c(0x10f))_0x180ecc=_0x9e1411['type'];else _0x9e1411[_0x5caa9c(0x9a)]&&typeof _0x9e1411[_0x5caa9c(0x9a)]===_0x5caa9c(0x152)?_0x180ecc=_0x9e1411[_0x5caa9c(0x9a)]['type']||_0x5caa9c(0x84):_0x180ecc='TEXT';const _0x3e0a2a=_0x9e1411['description'],_0x21a0a1=this[_0x5caa9c(0x1ae)](_0x1e22f4);if(_0x1e22f4===_0x5caa9c(0xc0))_0x5cfb9b[_0x1e22f4]=0x1;else{if(_0x1e22f4===_0x5caa9c(0x279))_0x5cfb9b[_0x1e22f4]=0xa;else _0x1e22f4==='id'?_0x5cfb9b[_0x1e22f4]=0x1:_0x5cfb9b[_0x1e22f4]=this[_0x5caa9c(0x183)](_0x1e22f4,_0x180ecc,typeof _0x21a0a1?.[_0x5caa9c(0x280)]===_0x5caa9c(0x10f)?_0x21a0a1[_0x5caa9c(0x280)]:undefined,{'isPrimaryKey':_0x1e22f4===this['context'][_0x5caa9c(0x80)]||_0x1e22f4==='id','description':_0x3e0a2a||_0x21a0a1?.[_0x5caa9c(0x243)]||_0x21a0a1?.[_0x5caa9c(0x1e1)]});}}),_0x5cfb9b;}[a0_0x223e12(0x12d)](){const _0x5940c0=a0_0x223e12,_0x1e9ab2=this['getResponseSchema']();if(!_0x1e9ab2)return{'success':!![],'msg':_0x5940c0(0x268),'errorMsg':'','errorCode':_0x5940c0(0x1e9),'data':null};return this[_0x5940c0(0x205)](_0x1e9ab2);}['generateFromSchema'](_0x3eeaf8){const _0x361b3b=a0_0x223e12;if(!_0x3eeaf8||typeof _0x3eeaf8!==_0x361b3b(0x152))return{};if(Array['isArray'](_0x3eeaf8)){if(_0x3eeaf8[_0x361b3b(0xee)]>0x0)return[this['generateFromSchema'](_0x3eeaf8[0x0])];return[];}const _0x27ca81={};return Object[_0x361b3b(0x173)](_0x3eeaf8)[_0x361b3b(0x265)](_0x63a56f=>{const _0x154418=_0x361b3b,_0x1b9745=_0x3eeaf8[_0x63a56f];if(_0x1b9745&&typeof _0x1b9745===_0x154418(0x152)&&!Array[_0x154418(0xc8)](_0x1b9745)&&_0x1b9745[_0x154418(0x9a)]){const _0x20110e=_0x1b9745;let _0x16b1ad;if(typeof _0x20110e[_0x154418(0x9a)]==='string')_0x16b1ad=_0x20110e[_0x154418(0x9a)];else _0x20110e['type']&&typeof _0x20110e[_0x154418(0x9a)]===_0x154418(0x152)?_0x16b1ad=_0x20110e[_0x154418(0x9a)][_0x154418(0x9a)]||_0x154418(0x84):_0x16b1ad='TEXT';const _0x3a15ff=_0x20110e[_0x154418(0x243)];_0x27ca81[_0x63a56f]=this['generateFieldExample'](_0x63a56f,_0x16b1ad,undefined,{'description':_0x3a15ff});}else{if(Array[_0x154418(0xc8)](_0x1b9745))_0x27ca81[_0x63a56f]=_0x1b9745['length']>0x0?[this[_0x154418(0x205)](_0x1b9745[0x0])]:[];else _0x1b9745&&typeof _0x1b9745===_0x154418(0x152)?_0x27ca81[_0x63a56f]=this['generateFromSchema'](_0x1b9745):_0x27ca81[_0x63a56f]=_0x1b9745;}}),_0x27ca81;}[a0_0x223e12(0x165)](_0x269d36,_0x282da1){const _0x3e0c72=a0_0x223e12,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x282da1||{},_0x5659c3=this[_0x3e0c72(0x213)](),_0x27c424=this[_0x3e0c72(0xd0)](),_0x564015=this[_0x3e0c72(0x187)](),_0x11e9aa=this['generateRequestExample'](),_0x313647=_0x179845=>{const _0x27b73e=_0x3e0c72;if(Object[_0x27b73e(0x173)](_0x179845)['length']===0x0)return'{}';const _0x101c22=JSON[_0x27b73e(0xf2)](_0x179845,null,0x2)['split']('\x0a')[_0x27b73e(0x1b5)]((_0x329198,_0x5757d1)=>_0x5757d1===0x0?_0x329198:indent+_0x329198)[_0x27b73e(0x167)]('\x0a');return _0x101c22;};switch(_0x27c424){case _0x3e0c72(0x164):case _0x3e0c72(0xb4):return _0x3e0c72(0x23c)+_0x269d36+'.'+_0x5659c3+_0x3e0c72(0x1f1);case'update':if(useFullExample&&Object[_0x3e0c72(0x173)](_0x11e9aa)[_0x3e0c72(0xee)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x269d36+'.'+_0x5659c3+_0x3e0c72(0x27a)+_0x313647(_0x11e9aa)+');';return _0x3e0c72(0x23c)+_0x269d36+'.'+_0x5659c3+_0x3e0c72(0x7d);case _0x3e0c72(0x126):case'getList':case'getSelectOptions':default:if(_0x564015[_0x3e0c72(0xee)]>0x0){if(useFullExample&&Object[_0x3e0c72(0x173)](_0x11e9aa)[_0x3e0c72(0xee)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x269d36+'.'+_0x5659c3+'('+_0x313647(_0x11e9aa)+');';else{const _0x23ebd8=Object[_0x3e0c72(0x173)](_0x11e9aa);if(_0x23ebd8[_0x3e0c72(0xee)]>0x0){const _0x5cce73=_0x23ebd8[_0x3e0c72(0x11a)](0x0,0x2)['join'](',\x20');return _0x3e0c72(0x23c)+_0x269d36+'.'+_0x5659c3+_0x3e0c72(0x21c)+_0x5cce73+_0x3e0c72(0xd9);}else return _0x3e0c72(0x23c)+_0x269d36+'.'+_0x5659c3+_0x3e0c72(0x9b);}}else return _0x3e0c72(0x23c)+_0x269d36+'.'+_0x5659c3+_0x3e0c72(0x89);}}[a0_0x223e12(0xd3)](){const _0x53b47d=a0_0x223e12;return[{'title':_0x53b47d(0x1ca),'data':this['generateRequestExample']()}];}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x223e12(0x19c)](){const _0x61e11a=a0_0x223e12,_0x697333=super[_0x61e11a(0x19c)](),_0x7ed737=Object[_0x61e11a(0x173)](_0x697333);return(_0x7ed737[_0x61e11a(0xee)]===0x0||_0x7ed737['length']===0x1&&_0x7ed737[0x0]===_0x61e11a(0x7a))&&(!_0x697333['code']&&(_0x697333['code']={'type':_0x61e11a(0xa5),'description':_0x61e11a(0xf1)}),_0x697333['label']={'type':'String','description':_0x61e11a(0x26d)}),_0x697333;}[a0_0x223e12(0xd5)](){const _0xd9df90=a0_0x223e12;return{'code':_0xd9df90(0x1f9),'label':'field_name'};}['generateSDKCallCode'](_0x430dfa){const _0x13399d=a0_0x223e12,_0x28fad9=this[_0x13399d(0x213)]();return _0x13399d(0x23c)+_0x430dfa+'.'+_0x28fad9+'({\x20code,\x20label\x20});';}}class GetListOperation extends GenericOperation{[a0_0x223e12(0x19c)](){const _0x2a21fc=a0_0x223e12,_0x411e04=super[_0x2a21fc(0x19c)](),{currentPage:_0x1187ca,pageSize:_0x2be880,..._0x52c8d2}=_0x411e04,_0x112ffe={};return Object['entries'](_0x52c8d2)['forEach'](([_0x48bb4d,_0x2c1eb6])=>{const _0x3e49a8=_0x2a21fc;if(typeof _0x2c1eb6===_0x3e49a8(0x152)&&_0x2c1eb6!==null){const _0x442c87=_0x2c1eb6,_0x38af78=_0x442c87['description']||'';_0x112ffe[_0x48bb4d]={..._0x442c87,'description':_0x38af78?_0x38af78+_0x3e49a8(0x21f):'支持单值或数组'};}else _0x112ffe[_0x48bb4d]=_0x2c1eb6;}),{..._0x112ffe,'currentPage':{...typeof _0x1187ca===_0x2a21fc(0x152)?_0x1187ca:{},'type':_0x2a21fc(0x189),'description':_0x2a21fc(0x73)},'pageSize':{...typeof _0x2be880===_0x2a21fc(0x152)?_0x2be880:{},'type':_0x2a21fc(0x189),'description':'每页数量'}};}[a0_0x223e12(0xd5)](_0x316ffd){const _0x442504=a0_0x223e12,{useArrayValues:useArrayValues=!![]}=_0x316ffd||{},_0x503aaa=super[_0x442504(0xd5)](),{currentPage:_0xb87798,pageSize:_0x4bebe4,..._0x577f7e}=_0x503aaa;if(!useArrayValues)return{..._0x577f7e,'currentPage':_0xb87798??0x1,'pageSize':_0x4bebe4??0xa};const _0x260205={},_0x1933a2=['id',_0x442504(0x150),_0x442504(0x7a),_0x442504(0x9a)];return Object[_0x442504(0x1dd)](_0x577f7e)[_0x442504(0x265)](([_0x420be7,_0x49a71a],_0x4fb557)=>{const _0x18d450=_0x442504,_0x33627b=_0x1933a2[_0x18d450(0x132)](_0x130f34=>_0x420be7['toLowerCase']()['includes'](_0x130f34))||_0x4fb557%0x3===0x0;if(_0x33627b&&_0x49a71a!==null&&_0x49a71a!==undefined){if(typeof _0x49a71a===_0x18d450(0xd1))_0x260205[_0x420be7]=[_0x49a71a,_0x49a71a+0x1,_0x49a71a+0x2];else typeof _0x49a71a==='string'?_0x260205[_0x420be7]=[_0x49a71a,_0x49a71a+'_2',_0x49a71a+'_3']:_0x260205[_0x420be7]=[_0x49a71a];}else _0x260205[_0x420be7]=_0x49a71a;}),{..._0x260205,'currentPage':_0xb87798??0x1,'pageSize':_0x4bebe4??0xa};}[a0_0x223e12(0x93)](){const _0x4b573a=a0_0x223e12;return this[_0x4b573a(0xd5)]({'useArrayValues':![]});}[a0_0x223e12(0xd3)](){const _0x1306a1=a0_0x223e12;return[{'title':'单值查询','description':'查询单个条件','data':this[_0x1306a1(0x93)]()},{'title':_0x1306a1(0x221),'description':_0x1306a1(0x180),'data':this[_0x1306a1(0xd5)]()}];}[a0_0x223e12(0x165)](_0x19b136,_0x34ce04){const _0x43b27f=a0_0x223e12,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x34ce04||{},_0x4a35de=this[_0x43b27f(0x213)](),_0xc00240=this[_0x43b27f(0xd5)]({'useArrayValues':!![]}),{currentPage:_0x1743e2,pageSize:_0x149698,..._0x5a8390}=_0xc00240;if(useFullExample&&Object[_0x43b27f(0x173)](_0xc00240)['length']>0x0){const _0x123d69=Object['keys'](_0x5a8390)[_0x43b27f(0xee)]>0x0;if(_0x123d69){const _0x327794=this['generateSingleValueExample'](),_0x572897=_0x424cc6=>{const _0x4f1aa7=_0x43b27f;return JSON[_0x4f1aa7(0xf2)](_0x424cc6,null,0x2)[_0x4f1aa7(0xcc)]('\x0a')[_0x4f1aa7(0x1b5)]((_0x5bf271,_0x8507ff)=>_0x8507ff===0x0?_0x5bf271:indent+_0x5bf271)[_0x4f1aa7(0x167)]('\x0a');};return _0x43b27f(0xd4)+_0x19b136+'.'+_0x4a35de+'('+_0x572897(_0x327794)+_0x43b27f(0x22b)+_0x19b136+'.'+_0x4a35de+'('+_0x572897(_0xc00240)+');';}else{const _0x4b017c=JSON[_0x43b27f(0xf2)](_0xc00240,null,0x2)['split']('\x0a')[_0x43b27f(0x1b5)]((_0xfa93e3,_0x2b02f8)=>_0x2b02f8===0x0?_0xfa93e3:indent+_0xfa93e3)[_0x43b27f(0x167)]('\x0a');return _0x43b27f(0x23c)+_0x19b136+'.'+_0x4a35de+'('+_0x4b017c+');';}}if(Object['keys'](_0x5a8390)[_0x43b27f(0xee)]>0x0){const _0x42b08a=Object['keys'](_0x5a8390)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x19b136+'.'+_0x4a35de+_0x43b27f(0x21c)+_0x42b08a+_0x43b27f(0x136);}return _0x43b27f(0x23c)+_0x19b136+'.'+_0x4a35de+'({\x20currentPage,\x20pageSize\x20});';}}var FILTER_OPERATORS=[a0_0x223e12(0xa7),'$ne',a0_0x223e12(0x1c8),a0_0x223e12(0x1b4),a0_0x223e12(0x1bb),'$lteq',a0_0x223e12(0x1c6),a0_0x223e12(0x211),'$startWith',a0_0x223e12(0x100),a0_0x223e12(0x151),a0_0x223e12(0x8a)];class FilterOperation extends GenericOperation{constructor(_0xf82bc0,_0x52303d,_0x3ed86f){super(_0xf82bc0,_0x52303d,_0x3ed86f);}[a0_0x223e12(0x1c0)](){return FILTER_OPERATORS;}[a0_0x223e12(0x1a5)](_0x7422eb){const _0x3076f4=a0_0x223e12,_0x499c2f=this[_0x3076f4(0x1ae)](_0x7422eb);if(!_0x499c2f)return[];return this['getApplicableOperators'](_0x499c2f[_0x3076f4(0x9a)]);}['getRequestParams'](){const _0x57f987=a0_0x223e12,_0x203b58=super[_0x57f987(0x19c)]();return{..._0x203b58,'where':{'type':_0x57f987(0x239),'description':_0x57f987(0x209),'required':![]},'select':{'type':_0x57f987(0xbc),'description':_0x57f987(0xe9),'required':![]},'orderBy':{'type':_0x57f987(0xa8),'description':_0x57f987(0x254),'required':![]},'currentPage':{'type':_0x57f987(0x189),'description':_0x57f987(0x73),'required':![],'default':0x1},'pageSize':{'type':_0x57f987(0x189),'description':_0x57f987(0xac),'required':![],'default':0xa}};}[a0_0x223e12(0xd5)](){const _0x186078=a0_0x223e12,_0x282488=this[_0x186078(0x24c)][_0x186078(0x249)]||[];if(_0x282488[_0x186078(0xee)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0xfaa187={},_0x269a63=_0x282488[_0x186078(0x11a)](0x0,Math[_0x186078(0x1cd)](0x3,_0x282488[_0x186078(0xee)]));_0x269a63[_0x186078(0x265)](_0x3e967c=>{const _0x21302f=_0x186078,_0x3fb97c=this[_0x21302f(0x118)](_0x3e967c[_0x21302f(0x9a)]);if(_0x3fb97c['length']===0x0)return;const _0x58f2f6=this[_0x21302f(0x17d)](_0x3e967c[_0x21302f(0x9a)],_0x3fb97c),_0x1b4dd6=this[_0x21302f(0x99)](_0x3e967c,_0x58f2f6);_0xfaa187[_0x3e967c['code']]={[_0x58f2f6]:_0x1b4dd6};});const _0x284729=_0x282488['slice'](0x0,Math[_0x186078(0x1cd)](0x5,_0x282488[_0x186078(0xee)]))['map'](_0x503a4a=>_0x503a4a[_0x186078(0x7a)]),_0x13ae97=_0x282488[0x0]?.[_0x186078(0x7a)]||'id';return{'where':_0xfaa187,'select':_0x284729,'orderBy':[{[_0x13ae97]:'DESC'}],'currentPage':0x1,'pageSize':0x14};}['generateSDKCallCode'](_0x4edb02,_0x336080){const _0x34a6b4=a0_0x223e12,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x336080||{},_0x393153=this[_0x34a6b4(0x213)](),_0x1ca9a1=this['generateRequestExample'](),_0x45f074=_0x274a94=>{const _0x74f816=_0x34a6b4;return JSON[_0x74f816(0xf2)](_0x274a94,null,0x2)[_0x74f816(0xcc)]('\x0a')[_0x74f816(0x1b5)]((_0x343046,_0x5e2e5c)=>_0x5e2e5c===0x0?_0x343046:indent+_0x343046)[_0x74f816(0x167)]('\x0a');};if(useFullExample){const _0x141c2f=this[_0x34a6b4(0x24c)][_0x34a6b4(0x249)]||[],_0x43e002={'where':_0x141c2f[0x0]?{[_0x141c2f[0x0][_0x34a6b4(0x7a)]]:{'$eq':this['generateExampleValue'](_0x141c2f[0x0],_0x34a6b4(0xa7))}}:{},'select':_0x141c2f[_0x34a6b4(0x11a)](0x0,0x3)[_0x34a6b4(0x1b5)](_0x5d2876=>_0x5d2876['code']),'currentPage':0x1,'pageSize':0x14};let _0x1de378='';if(_0x141c2f['length']>=0x3){const _0x11c2b5={'$and':[]},_0x241645=[];if(_0x141c2f[_0x34a6b4(0xee)]>0x0){const _0x2edcf0=_0x141c2f[_0x34a6b4(0x263)](_0xd370a0=>['NUMBER',_0x34a6b4(0x134),_0x34a6b4(0x8f)][_0x34a6b4(0x26c)](_0xd370a0['type'][_0x34a6b4(0x11b)]()));_0x2edcf0&&_0x241645[_0x34a6b4(0x27f)]({[_0x2edcf0[_0x34a6b4(0x7a)]]:{'$gte':0x0,'$lte':0x64}});}if(_0x141c2f[_0x34a6b4(0xee)]>0x1){const _0x27b668=_0x141c2f[_0x34a6b4(0x263)](_0x532c66=>[_0x34a6b4(0x13c),_0x34a6b4(0x84),'VARCHAR'][_0x34a6b4(0x26c)](_0x532c66[_0x34a6b4(0x9a)]['toUpperCase']()));_0x27b668&&_0x241645['push']({[_0x27b668[_0x34a6b4(0x7a)]]:{'$contain':_0x34a6b4(0x123)}});}if(_0x241645[_0x34a6b4(0xee)]>0x0){_0x11c2b5['$and']=_0x241645;const _0x3b829f={'where':_0x11c2b5,'select':_0x141c2f[_0x34a6b4(0x11a)](0x0,0x4)[_0x34a6b4(0x1b5)](_0x250c56=>_0x250c56[_0x34a6b4(0x7a)]),'orderBy':[{[_0x141c2f[0x0][_0x34a6b4(0x7a)]]:_0x34a6b4(0x192)}],'currentPage':0x1,'pageSize':0x14};_0x1de378=_0x34a6b4(0xa4)+_0x4edb02+'.'+_0x393153+'('+_0x45f074(_0x3b829f)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x4edb02+'.'+_0x393153+'('+_0x45f074(_0x43e002)+');'+_0x1de378;}const _0x28b8e3=JSON[_0x34a6b4(0xf2)](_0x1ca9a1,null,0x2)[_0x34a6b4(0xcc)]('\x0a')[_0x34a6b4(0x1b5)]((_0x43a6a5,_0x457c7a)=>_0x457c7a===0x0?_0x43a6a5:indent+_0x43a6a5)['join']('\x0a');return _0x34a6b4(0x23c)+_0x4edb02+'.'+_0x393153+'('+_0x28b8e3+');';}[a0_0x223e12(0x118)](_0x192114){const _0x314677=a0_0x223e12,_0x2bc00b=_0x192114['toUpperCase'](),_0x1c563b=[];if([_0x314677(0x203),_0x314677(0x134),_0x314677(0x8f),_0x314677(0x148)]['includes'](_0x2bc00b))_0x1c563b[_0x314677(0x27f)]('$eq',_0x314677(0x11d),_0x314677(0x1c8),_0x314677(0x1bb),_0x314677(0x1b4),'$lteq','$in');else{if([_0x314677(0x13c),_0x314677(0x84),_0x314677(0x9f)]['includes'](_0x2bc00b))_0x1c563b[_0x314677(0x27f)](_0x314677(0xa7),'$ne',_0x314677(0x1c6),_0x314677(0x211),'$startWith',_0x314677(0x100));else{if([_0x314677(0x12b),_0x314677(0x217),_0x314677(0x98)]['includes'](_0x2bc00b))_0x1c563b['push']('$eq',_0x314677(0x11d),_0x314677(0x1c8),_0x314677(0x1bb),_0x314677(0x1b4),'$lteq');else[_0x314677(0x230),_0x314677(0x1af)][_0x314677(0x26c)](_0x2bc00b)?_0x1c563b[_0x314677(0x27f)]('$eq','$ne'):_0x1c563b[_0x314677(0x27f)](_0x314677(0xa7),_0x314677(0x11d));}}return _0x1c563b;}[a0_0x223e12(0x17d)](_0x248482,_0x5c0fc3){const _0xdcd77c=a0_0x223e12,_0x3af9a7=_0x248482['toUpperCase']();if([_0xdcd77c(0x203),_0xdcd77c(0x134),_0xdcd77c(0x8f),_0xdcd77c(0x148)][_0xdcd77c(0x26c)](_0x3af9a7))return _0x5c0fc3['includes'](_0xdcd77c(0x1c8))?_0xdcd77c(0x1c8):_0xdcd77c(0xa7);if([_0xdcd77c(0x13c),_0xdcd77c(0x84),_0xdcd77c(0x9f)]['includes'](_0x3af9a7))return _0x5c0fc3['includes'](_0xdcd77c(0x211))?_0xdcd77c(0x211):_0xdcd77c(0xa7);if([_0xdcd77c(0x12b),_0xdcd77c(0x217),_0xdcd77c(0x98)]['includes'](_0x3af9a7))return _0x5c0fc3['includes'](_0xdcd77c(0x1c8))?_0xdcd77c(0x1c8):_0xdcd77c(0xa7);return _0xdcd77c(0xa7);}[a0_0x223e12(0x99)](_0x3efde8,_0x50b877){const _0x55fd51=a0_0x223e12,_0xee0a4d=String(_0x3efde8['type']||'')[_0x55fd51(0x11b)]();if(_0x3efde8[_0x55fd51(0x24d)])try{const _0x3a7266=typeof _0x3efde8[_0x55fd51(0x24d)]==='string'?JSON[_0x55fd51(0x74)](_0x3efde8[_0x55fd51(0x24d)]):_0x3efde8[_0x55fd51(0x24d)];if(_0x3a7266['options']&&Array[_0x55fd51(0xc8)](_0x3a7266[_0x55fd51(0x1b7)])&&_0x3a7266['options'][_0x55fd51(0xee)]>0x0){if(_0x50b877==='$in')return _0x3a7266[_0x55fd51(0x1b7)][_0x55fd51(0x11a)](0x0,0x2)[_0x55fd51(0x1b5)](_0x187bf2=>_0x187bf2[_0x55fd51(0x176)]);return _0x3a7266[_0x55fd51(0x1b7)][0x0][_0x55fd51(0x176)];}}catch{}if([_0x55fd51(0x203),_0x55fd51(0x134),_0x55fd51(0x8f),_0x55fd51(0x148)][_0x55fd51(0x26c)](_0xee0a4d)){if(_0x50b877===_0x55fd51(0x1c6))return[0x1,0x2,0x3];if(_0x50b877===_0x55fd51(0x1c8)||_0x50b877===_0x55fd51(0x1b4))return 0x0;if(_0x50b877===_0x55fd51(0x1bb)||_0x50b877===_0x55fd51(0x138))return 0x64;return 0x1;}if([_0x55fd51(0x13c),_0x55fd51(0x84),_0x55fd51(0x9f)][_0x55fd51(0x26c)](_0xee0a4d)){if(_0x50b877===_0x55fd51(0x1c6))return[_0x55fd51(0x255),'value2'];if(_0x50b877===_0x55fd51(0x211))return _0x55fd51(0x123);if(_0x50b877===_0x55fd51(0x22c))return'prefix';if(_0x50b877===_0x55fd51(0x100))return _0x55fd51(0x196);return'value';}if([_0x55fd51(0x12b),_0x55fd51(0x217),_0x55fd51(0x98)][_0x55fd51(0x26c)](_0xee0a4d)){if(_0x50b877==='$gte'||_0x50b877===_0x55fd51(0x1b4))return _0x55fd51(0x14d);if(_0x50b877===_0x55fd51(0x1bb)||_0x50b877===_0x55fd51(0x138))return _0x55fd51(0x147);return'2024-01-01';}if([_0x55fd51(0x230),_0x55fd51(0x1af)][_0x55fd51(0x26c)](_0xee0a4d))return!![];return _0x50b877===_0x55fd51(0x1c6)?[_0x55fd51(0x255),_0x55fd51(0x104)]:_0x55fd51(0x176);}}class ExcelExportOperation extends GenericOperation{[a0_0x223e12(0x19c)](){const _0x17be65=a0_0x223e12,_0x28909e=super['getRequestParams']();if(Object[_0x17be65(0x173)](_0x28909e)[_0x17be65(0xee)]===0x0){const _0x523c6d={};return this[_0x17be65(0x24c)][_0x17be65(0x249)]['forEach'](_0x37ebaf=>{const _0x2e5f98=_0x17be65;_0x37ebaf&&_0x37ebaf[_0x2e5f98(0x7a)]&&(_0x523c6d[_0x37ebaf['code']]={'type':_0x37ebaf[_0x2e5f98(0x9a)]||_0x2e5f98(0x84),'sortNum':_0x37ebaf['sortNum'],'description':_0x37ebaf[_0x2e5f98(0x243)]||_0x37ebaf[_0x2e5f98(0x1e1)]});}),_0x523c6d[_0x17be65(0xc0)]={'type':_0x17be65(0x70),'description':_0x17be65(0x156)},_0x523c6d['pageSize']={'type':_0x17be65(0x70),'description':_0x17be65(0xed)},_0x523c6d;}return _0x28909e;}[a0_0x223e12(0xd5)](){const _0x18ae3e=a0_0x223e12,_0x207fbe=super['generateRequestExample']();if(Object[_0x18ae3e(0x173)](_0x207fbe)[_0x18ae3e(0xee)]===0x0)return{'currentPage':0x1,'pageSize':0x64};return{..._0x207fbe,'currentPage':_0x207fbe[_0x18ae3e(0xc0)]??0x1,'pageSize':_0x207fbe[_0x18ae3e(0x279)]??0x64};}['generateResponseExample'](){const _0x1c0457=a0_0x223e12;return{'success':!![],'msg':'','errorMsg':'','errorCode':_0x1c0457(0x1e9),'data':'https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','params':null};}[a0_0x223e12(0x165)](_0x5b262b,_0x15f9d5){const _0x2ecd7f=a0_0x223e12,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x15f9d5||{},_0x164da0=this[_0x2ecd7f(0x213)]();if(useFullExample){const _0x34e9b4=this[_0x2ecd7f(0xd5)](),{currentPage:_0x3ee824,pageSize:_0x18fac7,..._0x4f8f37}=_0x34e9b4,_0x2b5a0c=Object[_0x2ecd7f(0x173)](_0x4f8f37)[_0x2ecd7f(0xee)]>0x0;if(_0x2b5a0c){const _0x307f92=_0x5f308f=>{const _0x184a1e=_0x2ecd7f;return JSON['stringify'](_0x5f308f,null,0x2)[_0x184a1e(0xcc)]('\x0a')[_0x184a1e(0x1b5)]((_0x1b0fe0,_0x2bb559)=>_0x2bb559===0x0?_0x1b0fe0:indent+_0x1b0fe0)[_0x184a1e(0x167)]('\x0a');};return _0x2ecd7f(0x253)+_0x5b262b+'.'+_0x164da0+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5b262b+'.'+_0x164da0+'('+_0x307f92(_0x34e9b4)+');';}else{const _0x1dd12a=_0x469dfb=>{const _0x45e24f=_0x2ecd7f;return JSON['stringify'](_0x469dfb,null,0x2)['split']('\x0a')['map']((_0x1d6dc6,_0x1a9e8b)=>_0x1a9e8b===0x0?_0x1d6dc6:indent+_0x1d6dc6)[_0x45e24f(0x167)]('\x0a');};return _0x2ecd7f(0x253)+_0x5b262b+'.'+_0x164da0+_0x2ecd7f(0x27e)+_0x5b262b+'.'+_0x164da0+'('+_0x1dd12a({'currentPage':0x1,'pageSize':0x64})+');';}}return _0x2ecd7f(0xc9)+_0x5b262b+'.'+_0x164da0+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}[a0_0x223e12(0x13f)](_0x3eacf8){const _0x25ab7f=a0_0x223e12,_0x269f92=this['getName'](),_0x538b7d=_0x25ab7f(0x22a)+_0x3eacf8+'.'+_0x269f92+_0x25ab7f(0xfb),_0x493235=_0x25ab7f(0x10e)+_0x3eacf8+'.'+_0x269f92+_0x25ab7f(0x1ab);return{'successCode':_0x538b7d,'errorCode':_0x493235};}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x661f71=a0_0x223e12;return this[_0x661f71(0x137)]();}['getRequestParams'](){const _0x538c2c=a0_0x223e12,_0xda263=this[_0x538c2c(0x120)]();return{'id':{'type':'NUMBER','description':_0x538c2c(0x127),'required':!![]},'data':{'type':'object','description':_0x538c2c(0xe8),'required':!![],'properties':_0xda263}};}['getUpdatableFields'](){const _0x53dd40=a0_0x223e12;return this[_0x53dd40(0x120)]();}[a0_0x223e12(0x13d)](){const _0x57e953=a0_0x223e12,_0x409c1d=this[_0x57e953(0x120)](),_0x39923e=Object[_0x57e953(0x1dd)](_0x409c1d)['map'](([_0x5365d9,_0x4b4613])=>{const _0x4811a8=_0x57e953,_0x14f8d5=_0x4b4613;return{'name':_0x5365d9,'type':_0x14f8d5[_0x4811a8(0x9a)]||_0x4811a8(0xa5),'description':_0x14f8d5['description']||'-'};});return{'description':_0x57e953(0x208)+_0x57e953(0x267)+_0x57e953(0x159)+_0x57e953(0x81)+'-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a'+_0x57e953(0x264),'params':_0x39923e};}[a0_0x223e12(0xd5)](){const _0x15fc1d=a0_0x223e12,_0x5bf152=this[_0x15fc1d(0x120)](),_0x59efd7={};return Object[_0x15fc1d(0x1dd)](_0x5bf152)['forEach'](([_0x125e89,_0x11e841])=>{const _0x52c341=_0x15fc1d,_0x2488a9=_0x11e841;let _0x5358ff;if(typeof _0x2488a9[_0x52c341(0x9a)]===_0x52c341(0x10f))_0x5358ff=_0x2488a9[_0x52c341(0x9a)];else _0x2488a9[_0x52c341(0x9a)]&&typeof _0x2488a9['type']===_0x52c341(0x152)?_0x5358ff=_0x2488a9[_0x52c341(0x9a)][_0x52c341(0x9a)]||_0x52c341(0x84):_0x5358ff=_0x52c341(0x84);const _0x22f996=_0x2488a9['description'],_0x25ccb5=this[_0x52c341(0x1ae)](_0x125e89);_0x59efd7[_0x125e89]=this['generateFieldExample'](_0x125e89,_0x5358ff,typeof _0x25ccb5?.[_0x52c341(0x280)]==='string'?_0x25ccb5[_0x52c341(0x280)]:undefined,{'isPrimaryKey':![],'description':_0x22f996||_0x25ccb5?.[_0x52c341(0x243)]||_0x25ccb5?.[_0x52c341(0x1e1)]});}),{'id':0x1,'data':_0x59efd7};}['generateRequestAllExamples'](){const _0x1960a2=a0_0x223e12,_0x8a6293=this[_0x1960a2(0xd5)]();return[{'title':_0x1960a2(0xcb),'description':'update\x20接口接受两个参数:\x0a'+_0x1960a2(0x109)+_0x1960a2(0xe5),'data':_0x8a6293}];}[a0_0x223e12(0x165)](_0x1bca05,_0x41c3de){const _0x30d4b1=a0_0x223e12,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x41c3de||{},_0x5237ef=this[_0x30d4b1(0x213)]();if(useFullExample){const _0x353040=this[_0x30d4b1(0xd5)](),_0x203004=JSON['stringify'](_0x353040[_0x30d4b1(0x149)],null,0x2)['split']('\x0a')[_0x30d4b1(0x1b5)]((_0x251b80,_0xadeabf)=>_0xadeabf===0x0?_0x251b80:indent+_0x251b80)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x1bca05+'.'+_0x5237ef+'('+_0x353040['id']+',\x20'+_0x203004+');';}return _0x30d4b1(0x23c)+_0x1bca05+'.'+_0x5237ef+'(id,\x20data);';}}class OperationFactory{[a0_0x223e12(0x126)](_0xcbec03,_0x5538ab,_0x50ab33){const _0x5c3ba8=a0_0x223e12;switch(_0xcbec03){case _0x5c3ba8(0xef):return new GetSelectOptionsOperation(_0xcbec03,_0x5538ab,_0x50ab33);case _0x5c3ba8(0x119):return new GetListOperation(_0xcbec03,_0x5538ab,_0x50ab33);case'filter':return new FilterOperation(_0xcbec03,_0x5538ab,_0x50ab33);case'excelExport':return new ExcelExportOperation(_0xcbec03,_0x5538ab,_0x50ab33);case _0x5c3ba8(0x14c):return new UpdateOperation(_0xcbec03,_0x5538ab,_0x50ab33);default:return new GenericOperation(_0xcbec03,_0x5538ab,_0x50ab33);}}[a0_0x223e12(0x19f)](_0xe1597e,_0x1d2eab){const _0x52083e=a0_0x223e12,_0x391e67=new Map();return Object[_0x52083e(0x1dd)](_0xe1597e)['forEach'](([_0x288d19,_0x42f82e])=>{const _0x450a10=_0x52083e;_0x391e67['set'](_0x288d19,this[_0x450a10(0x126)](_0x288d19,_0x42f82e,_0x1d2eab));}),_0x391e67;}}class OperationList{[a0_0x223e12(0x163)];constructor(_0x5dbd8f,_0x39ef6f){const _0x485662=a0_0x223e12,_0x3a11be=new OperationFactory();this[_0x485662(0x163)]=_0x3a11be[_0x485662(0x19f)](_0x5dbd8f,_0x39ef6f);}[a0_0x223e12(0x20e)](_0x5ddb0a){const _0x25ee87=a0_0x223e12;return this[_0x25ee87(0x163)][_0x25ee87(0x20e)](_0x5ddb0a);}[a0_0x223e12(0x125)](_0x3f49f3){const _0x17962e=a0_0x223e12;return this[_0x17962e(0x163)]['has'](_0x3f49f3);}['size'](){const _0x1c3eec=a0_0x223e12;return this[_0x1c3eec(0x163)][_0x1c3eec(0x14f)];}[a0_0x223e12(0x1b6)](){const _0x5ce4ef=a0_0x223e12;return Array[_0x5ce4ef(0x231)](this[_0x5ce4ef(0x163)]['keys']());}[a0_0x223e12(0x9c)](){const _0x37b477=a0_0x223e12,_0x510119=Array[_0x37b477(0x231)](this[_0x37b477(0x163)][_0x37b477(0x170)]());return this['sortOperationsWithFilterFirst'](_0x510119);}['getEnabled'](){const _0x1205c6=a0_0x223e12;return this['toArray']()[_0x1205c6(0x131)](_0x36cdee=>_0x36cdee[_0x1205c6(0x12e)]());}[a0_0x223e12(0xb5)](){return this['toArray']()['filter'](_0x31e84d=>!_0x31e84d['isEnabled']());}['getEnabledNames'](){return this['getEnabled']()['map'](_0x435cfa=>_0x435cfa['getName']());}[a0_0x223e12(0x256)](){const _0xe0bd5f=a0_0x223e12;return this['getDisabled']()['map'](_0x8abbd=>_0x8abbd[_0xe0bd5f(0x213)]());}[a0_0x223e12(0x257)](_0x9f6d5b){const _0x23c664=a0_0x223e12;return this[_0x23c664(0x9c)]()['filter'](_0x10356c=>_0x10356c[_0x23c664(0xd0)]()===_0x9f6d5b);}[a0_0x223e12(0x131)](_0x42cc92){const _0x53f5b9=a0_0x223e12;return this['toArray']()[_0x53f5b9(0x131)](_0x42cc92);}['getFiltered'](_0x4130c7={}){const _0x42e8e7=a0_0x223e12;let _0x1fd0ae=this[_0x42e8e7(0x9c)]();!_0x4130c7['includeDisabled']&&(_0x1fd0ae=_0x1fd0ae['filter'](_0x32de30=>_0x32de30[_0x42e8e7(0x12e)]()));if(_0x4130c7[_0x42e8e7(0xc3)]!==![]){const _0xa24a1=_0x1fd0ae[_0x42e8e7(0x1b5)](_0x4a9903=>({'name':_0x4a9903[_0x42e8e7(0x213)](),'operation':_0x4a9903})),_0x2f9b64=filterApiOperations(_0xa24a1);_0x1fd0ae=_0x2f9b64[_0x42e8e7(0x1b5)](_0x5e4341=>_0x5e4341[_0x42e8e7(0x17b)]),_0x1fd0ae=this['sortOperationsWithFilterFirst'](_0x1fd0ae);}return _0x4130c7['customFilter']&&(_0x1fd0ae=_0x1fd0ae[_0x42e8e7(0x131)](_0x4130c7[_0x42e8e7(0x190)])),_0x1fd0ae;}[a0_0x223e12(0x26a)](_0x18fb46){const _0x2dff1a=a0_0x223e12,_0x24790d=_0x18fb46[_0x2dff1a(0x263)](_0x156f87=>_0x156f87[_0x2dff1a(0x213)]()===_0x2dff1a(0x131)),_0xaf649b=_0x18fb46[_0x2dff1a(0x131)](_0x46c80c=>_0x46c80c[_0x2dff1a(0x213)]()!==_0x2dff1a(0x131));return _0x24790d?[_0x24790d,..._0xaf649b]:_0xaf649b;}[a0_0x223e12(0x25b)](){const _0x1312ba=a0_0x223e12,_0x182511=this[_0x1312ba(0x17f)]();return{'total':this['size'](),'enabled':_0x182511[_0x1312ba(0xee)],'disabled':this['size']()-_0x182511[_0x1312ba(0xee)],'byType':this['getCountByType'](_0x182511),'byMethod':this[_0x1312ba(0x71)](_0x182511)};}[a0_0x223e12(0x201)](_0x535bf9){const _0x345b90=a0_0x223e12,_0x5ad3e9={};return _0x535bf9[_0x345b90(0x265)](_0x22a56b=>{const _0x4d2335=_0x345b90,_0x4e4ce6=_0x22a56b[_0x4d2335(0xd0)]();_0x4e4ce6&&(_0x5ad3e9[_0x4e4ce6]=(_0x5ad3e9[_0x4e4ce6]||0x0)+0x1);}),_0x5ad3e9;}[a0_0x223e12(0x71)](_0x2fb49b){const _0x13bc7c=a0_0x223e12,_0x402429={};return _0x2fb49b[_0x13bc7c(0x265)](_0xdfa672=>{const _0x5a8671=_0x13bc7c,_0x432a1d=_0xdfa672[_0x5a8671(0xb8)]();_0x432a1d&&(_0x402429[_0x432a1d]=(_0x402429[_0x432a1d]||0x0)+0x1);}),_0x402429;}[Symbol['iterator']](){const _0x45ee99=a0_0x223e12;return this[_0x45ee99(0x163)][_0x45ee99(0x170)]();}[a0_0x223e12(0x144)](){const _0x53ec1a=a0_0x223e12,_0x1bf798=this[_0x53ec1a(0x25b)]();return _0x53ec1a(0x19e)+_0x1bf798[_0x53ec1a(0xbb)]+'/'+_0x1bf798[_0x53ec1a(0x262)]+_0x53ec1a(0x6e);}}function a0_0x430a(){const _0x336d08=['\x20items,\x20conflict,\x20latest:\x20','\x0a\x0a//\x20','requestBody','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','getFullUrl','(...);\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}','modelCode','groups','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','string','warn','getFilterOperation','charAt','getActive','replace','getDatabaseVersion','logicField','getFileUrl','getApplicableOperators','getList','slice','toUpperCase','getFieldSelectItemsSource','$ne','https://example.com/image.jpg','getEnumFieldsMeta','getUpdateFields','10QetYgz','ensureFilterOperation','keyword','getField','has','create','主键ID(必填)','dbId','hasOperation','GET_ONE_UPDATE','DATE','getRaw','generateResponseExample','isEnabled','createTimeField','getOperationCount','filter','some','getCodes','INTEGER','datasetCode',',\x20currentPage,\x20pageSize,\x20...\x20});','parseRawRequestBody','$lteq','getIds','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:','时间戳','STRING','getRequestParamsDocInfo','getBusinessFields','generateUsageExample','getModelAlias','responseExample','20980QPnqgw','getEnabledOperationAnalyses','toString',',\x20fields:\x20','findById','2024-12-31','DECIMAL','data','parseFieldExtend','导入模板','update','2024-01-01','repeat','size','status','$and','object','multiple','isEmpty','\x20operation\x0a','当前页码(可选)','(...);\x0aconsole.log(data);\x20','getFields','-\x20主键ID,用于定位要更新的记录\x0a\x0a','getItems','_fieldListWithDeleted','generateAllOperationsFullSDKExample','getOperationCountByMethod','示例文本','DbtableConfig(table:\x20','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','placeholder','iterator','_operations','getOne','generateSDKCallCode','\x20Response\x20example:\x0a','join','getAllDatasets','dbtableConfig','getFilteredOperationAnalyses','288426zSqmDX','modifierNameField','children','getOperationAnalysesByType','allFields','values','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','getTableKey','keys','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','isCreateTime','value','_operationList','Excel导出','isSystem','_extend','operation','isUpdateTime','selectBestOperator','raw','getEnabled','支持多个条件','getFirst','4256153atRXQd','generateFieldExample','IMPORT_TEMPLATE','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','detectConflicts','getRequestFields','generateAllOperationsSummary','Number','getEnumMetas','hasUpdateTimeField','creatorNameField','source','hasFilterOperation','查询单条(用于更新)','customFilter','address','DESC','hasField','online','getAllFieldsArray','suffix','GET_ONE','日期时间','getOperationFieldOperators','getFieldList','_datasetMap','getRequestParams','`:\x20','OperationList(','createAll','successCode','items','\x20groups)','getFieldListWithDeleted','getFieldRaw','getFieldOperators','创建导入','\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,','dataset_000000','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','isEnum','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','fullUrl','getOperationOperators','getFieldDefinition','BOOL','isMultipleSelectField','DatasetGroupMap(','getVirtualTables','boolean','$gteq','map','getNames','options','getOneOrigin','getOperations','toJSON','$lte','select','DatasetList(','generateSDKInitCode','findByCode','getOperators','getDefaultValue','获取数据集列表失败:\x20','toISOString','tooltip','valueLabels','$in','getFieldInstance','$gte','version','请求示例','hasDblinkInfo','Filter\x20API\x20-\x20高级查询接口','min','getRealTables','getCreateTime','GET_UPLOAD_FILE_SCRIPT','276aYpOaZ','_operationAnalyses','lastIndexOf','tableData','getTableName','富文本','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','isPrimaryKeyField','isRequiredField','getExtendField','autoIncrement','entries','toLowerCase','[generateRequestExample]\x20Invalid\x20field:','getRequired','name','getOperationFieldsOperatorsMap','errorCode','8FfLKaB','getEnabledOperations','[Field]\x20Invalid\x20field\x20definition','empty','1188015fHEmXV','0000','200','https://example.com/file.pdf','getConflictingItems','获取下拉选项','getFieldCount','parseRawResponseBody','findByName','(id);','hasModifierIdField','isAutoIncrement','toListItem','hasDbtableConfig','getAllFieldsString','requestFields','getRawDbtableConfig','field_name','示例值','isBusiness','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','taskInfo','groupByType','dblinkInfoDTO','getFieldsFilterOperatorsMap','getCountByType','\x20fields,\x20','NUMBER','dataset_unknown','generateFromSchema','datasetMap','getMissingCRUDOperations','update\x20接口接受两个参数:\x0a\x0a','查询条件(支持\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)','hasConflict','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','item2','[parseFieldExtend]\x20Invalid\x20field:','get','getTooltip','isEnumField','$contain','POST','getName','orderBy','null','trim','DATETIME','[Field.extend]\x20解析字段\x20','getOperationAnalyses','\x0a##\x20模型访问方式说明\x0a\x0aSDK\x20提供两种模型访问方式:\x0a\x0a###\x201.\x20标准方式(推荐用于程序化场景)\x0a\x0a使用\x20`dataset_[完整datasetCode]`\x20格式(即\x20datasetSDKKey),这是通用的、稳定的访问方式:\x0a\x0a```javascript\x0a//\x20标准访问方式\x0aconst\x20result\x20=\x20await\x20client.models.','接口名称','({\x20','getSDKInitData','getConflicts','(支持单值或数组)','set','数组查询(支持多选)','EXCEL_EXPORT','API路径','DatasetItem(','required','sdkCallCode','getDisabledOperationInstances','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','$startWith','excelExport','getBusiness','getEnabledNames','BOOLEAN','from','hasLogicField','getAll','getSelectItemsSource','operations','getOperationStats','generateOperationSummary','getSource','Object','1319017miOKAO','73234eiRtFc','const\x20result\x20=\x20await\x20client.models.','withDeleted','businessFieldCount','properties','getLatest','getDbName','\x20items,\x20','description','N/A','getUploadFileScript','updateTime','dataset_','_fields','fields','every','这是一段较长的文本内容示例','context','extend','updateTimeField','all','getOperationDocMeta','systemFieldCount','GET_FILE_URL','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','排序规则','value1','getDisabledNames','getByType','长文本','label','tenantCode','getStats','getDatabaseName','responseSchema','CHECKBOX','toConfigArray','importTemplate','substring','total','find','**可更新的字段列表:**','forEach','getEnum','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','操作成功','getEnumFields','sortOperationsWithFilterFirst','generateFullSDKExample','includes','字段名称','DrivenDataDetail(','getConflictStats','[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:','getDatasetSDKKey','sort','datasetKey','[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array','includeDisabled','add','\x20的\x20extend\x20配置失败:','getEnumOptions','pageSize','(id,\x20','getPrimaryKeyFields','getOperationAnalysis','systemAnalysisResult','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','push','dbType','查询单条','getLast','创建导出','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','getFilterOperators','下拉选择','\x20operations)','method','Integer','getCountByMethod','Operation\x20instance\x20not\x20found:\x20','当前页码','parse','查询列表','isSystemField','getOneUpdate','getRequiredFields','getAutoIncrement','code','getDisplayName','hasCreatorIdField','(id,\x20data);','generateConfigArray','appCode','pkField','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','item1','getPath','TEXT','isMultipleSelect','array','dbName','user@example.com','();','$or','path','createExport','isVirtualTable','displayName','BIGINT','操作名称','errorMsg','tableName','generateSingleValueExample','createImport','getPrimaryKeys','_raw','deleted','TIMESTAMP','generateExampleValue','type','(params);','toArray','查询单条(原始)','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','VARCHAR','629271FlqTlO','GET_SELECT_OPTIONS','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','findAll','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','String','hasTableName','$eq','Object[]','includeDeleted','success','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','每页数量','getFieldOptions','SELECT','dbVersion','modifyDate','isDeleted','usageExample','creatorIdField','delete','getDisabled','\x20访问\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});','isRequired','getMethod','getOperation','TASK_INFO','enabled','String[]','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','getResponseSchema','msg','currentPage','generateDefaultFilterOperation','getEnumFieldMeta','filterBlacklist','getDatabaseType','labelField','\x0a\x20\x20env:\x20\x27','\x20API\x20文档','isArray','const\x20fileUrl\x20=\x20await\x20client.models.','fieldName','更新请求示例','split','generateAliasExplanation','getEnumMeta','systemRetain','getType','number','[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:','generateRequestAllExamples','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','generateRequestExample','完整的\x20SDK\x20调用代码','sdkCall','Invalid\x20API\x20response:\x20success\x20is\x20false',',\x20...\x20});','_fieldList','modifierIdField','DrivenDataDetailPlus(','getEnabledOperationInstances','获取数据集失败:\x20','getSystem','selectItemsSource','getAt','toObject','now','getSystemFields','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','isPrimaryKey','hasConflicts','要更新的字段数据对象','返回字段列表(字段投影)','defaultValue','responseBody','获取上传脚本','每页数量(可选)','length','getSelectOptions','no\x20conflicts','字段编码','stringify','getCount','[dsparser]\x20跳过重复的表名\x20\x22','4giMPaW','createTime','host','getOperationList','toConfig','query','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','getLatestDatasets','/filter','generateConfig','getTenantCode','$endWith','CREATE_EXPORT','createDate','params','value2','getOperationCountByType'];a0_0x430a=function(){return _0x336d08;};return a0_0x430a();}class Field{[a0_0x223e12(0x96)];[a0_0x223e12(0x17a)]=null;constructor(_0x29271b){const _0x2e3be6=a0_0x223e12;if(!_0x29271b||typeof _0x29271b!==_0x2e3be6(0x152))throw new Error(_0x2e3be6(0x1e6));this[_0x2e3be6(0x96)]=_0x29271b;}get['raw'](){const _0x550300=a0_0x223e12;return this[_0x550300(0x96)];}['toFieldDefinition'](){return this['_raw'];}get[a0_0x223e12(0x1e1)](){const _0x21c99d=a0_0x223e12;return this[_0x21c99d(0x96)]['name']||'';}get[a0_0x223e12(0x7a)](){const _0x4be546=a0_0x223e12;return this[_0x4be546(0x96)]['code']||'';}get[a0_0x223e12(0x9a)](){const _0x207db5=a0_0x223e12;return this[_0x207db5(0x96)]['type']||'';}get[a0_0x223e12(0x243)](){const _0x809562=a0_0x223e12;return this[_0x809562(0x96)]['description']||'';}get[a0_0x223e12(0x97)](){const _0xb1158d=a0_0x223e12;return Boolean(this[_0xb1158d(0x96)][_0xb1158d(0x97)]);}get[a0_0x223e12(0x24d)](){const _0xf4d61c=a0_0x223e12;if(this[_0xf4d61c(0x17a)]!==null&&typeof this[_0xf4d61c(0x17a)]===_0xf4d61c(0x152))return this[_0xf4d61c(0x17a)];const _0x40b9a7=this[_0xf4d61c(0x96)]['extend'];if(!_0x40b9a7||typeof _0x40b9a7!==_0xf4d61c(0x10f))return this[_0xf4d61c(0x17a)]={},this[_0xf4d61c(0x17a)];if(_0x40b9a7===_0xf4d61c(0x215)||_0x40b9a7[_0xf4d61c(0x216)]()==='null')return this['_extend']={},this[_0xf4d61c(0x17a)];try{const _0x5a8a5d=JSON['parse'](_0x40b9a7);return this[_0xf4d61c(0x17a)]=_0x5a8a5d!==null&&typeof _0x5a8a5d===_0xf4d61c(0x152)&&!Array[_0xf4d61c(0xc8)](_0x5a8a5d)?_0x5a8a5d:{},this[_0xf4d61c(0x17a)];}catch(_0x590abd){return!![]&&console['warn'](_0xf4d61c(0x218)+this[_0xf4d61c(0x7a)]+_0xf4d61c(0x277),_0x590abd),this[_0xf4d61c(0x17a)]={},this[_0xf4d61c(0x17a)];}}[a0_0x223e12(0xb7)](){const _0x16e29e=a0_0x223e12;return Boolean(this[_0x16e29e(0x24d)]['required']);}[a0_0x223e12(0xe6)](){const _0x1cfeee=a0_0x223e12;return Boolean(this[_0x1cfeee(0x24d)]['primaryKey']);}[a0_0x223e12(0x179)](){const _0x58a951=a0_0x223e12;return Boolean(this[_0x58a951(0x24d)][_0x58a951(0xcf)]);}[a0_0x223e12(0x1fb)](){const _0x9b3418=a0_0x223e12;return!this[_0x9b3418(0x179)]();}[a0_0x223e12(0xb1)](){const _0x5307c5=a0_0x223e12;return this[_0x5307c5(0x97)];}[a0_0x223e12(0x1f3)](){const _0x330f49=a0_0x223e12;return Boolean(this['extend'][_0x330f49(0x1dc)]);}[a0_0x223e12(0x175)](){const _0x145d4d=a0_0x223e12;return Boolean(this[_0x145d4d(0x24d)][_0x145d4d(0xf6)]);}[a0_0x223e12(0x17c)](){const _0x4306df=a0_0x223e12;return Boolean(this[_0x4306df(0x24d)][_0x4306df(0x246)]);}['isEnum'](){const _0x1bc20b=a0_0x223e12,_0x156b88=['RADIO',_0x1bc20b(0xae),_0x1bc20b(0x25e)];return _0x156b88[_0x1bc20b(0x26c)](this[_0x1bc20b(0x9a)]);}[a0_0x223e12(0x85)](){const _0x45fd3a=a0_0x223e12;return this[_0x45fd3a(0x9a)]===_0x45fd3a(0x25e);}['getEnumOptions'](){const _0x2f3d15=a0_0x223e12,_0x397d3a=this[_0x2f3d15(0x24d)];if(_0x397d3a[_0x2f3d15(0x1b7)]&&Array[_0x2f3d15(0xc8)](_0x397d3a[_0x2f3d15(0x1b7)]))return _0x397d3a['options'];return;}[a0_0x223e12(0x234)](){const _0x213706=a0_0x223e12,_0x587518=this['extend'];if(_0x587518[_0x213706(0xe0)]&&typeof _0x587518[_0x213706(0xe0)]==='object')return _0x587518[_0x213706(0xe0)];return;}[a0_0x223e12(0xce)](){const _0x1afe42=a0_0x223e12;if(!this[_0x1afe42(0x1aa)]())return;const _0x1456b6=this['getEnumOptions'](),_0x1b3c92=this[_0x1afe42(0x234)](),_0xcfa54c=[],_0x47760e={},_0x4f65a4=_0x21fdb6=>{const _0x34b9ba=_0x1afe42;_0x21fdb6[_0x34b9ba(0x265)](_0xb208c3=>{const _0x325331=_0x34b9ba;_0xcfa54c[_0x325331(0x27f)](_0xb208c3[_0x325331(0x176)]),_0x47760e[String(_0xb208c3[_0x325331(0x176)])]=_0xb208c3['label'],_0xb208c3[_0x325331(0x16d)]&&_0xb208c3[_0x325331(0x16d)][_0x325331(0xee)]>0x0&&_0x4f65a4(_0xb208c3[_0x325331(0x16d)]);});};return _0x1456b6&&_0x1456b6[_0x1afe42(0xee)]>0x0&&_0x4f65a4(_0x1456b6),{'code':this['code'],'name':this[_0x1afe42(0x1e1)],'type':this[_0x1afe42(0x9a)],'multiple':this[_0x1afe42(0x85)](),'options':_0x1456b6,'selectItemsSource':_0x1b3c92,'values':_0xcfa54c,'valueLabels':_0x47760e};}[a0_0x223e12(0x1c1)](){const _0x58064b=a0_0x223e12;return this[_0x58064b(0x24d)][_0x58064b(0xea)];}[a0_0x223e12(0x20f)](){const _0x5e41ea=a0_0x223e12;return this[_0x5e41ea(0x24d)][_0x5e41ea(0x1c4)];}[a0_0x223e12(0x1ba)](){const _0x9c47eb=a0_0x223e12;return{'name':this[_0x9c47eb(0x1e1)],'code':this[_0x9c47eb(0x7a)],'type':this[_0x9c47eb(0x9a)],'description':this['description'],'required':this[_0x9c47eb(0xb7)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x9c47eb(0x179)](),'autoIncrement':this[_0x9c47eb(0x1f3)](),'createTime':this[_0x9c47eb(0x175)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x9c47eb(0x1aa)](),'enumMeta':this[_0x9c47eb(0x1aa)]()?this[_0x9c47eb(0xce)]():undefined};}}class FieldList{[a0_0x223e12(0x248)];constructor(_0x3ae700,_0x1bde88){const _0x50f1b0=a0_0x223e12;if(!Array[_0x50f1b0(0xc8)](_0x3ae700))throw new Error(_0x50f1b0(0x228));const _0x2f06cd=_0x1bde88?.[_0x50f1b0(0xa9)]??![],_0x5ec6ed=_0x2f06cd?_0x3ae700:_0x3ae700['filter'](_0x291b60=>!_0x291b60['deleted']);this[_0x50f1b0(0x248)]=_0x5ec6ed['map'](_0x23ce82=>new Field(_0x23ce82));}get['length'](){const _0x2d0e11=a0_0x223e12;return this[_0x2d0e11(0x248)][_0x2d0e11(0xee)];}[a0_0x223e12(0x24f)](){const _0x4235e1=a0_0x223e12;return[...this[_0x4235e1(0x248)]];}[a0_0x223e12(0x17e)](){const _0x301430=a0_0x223e12;return this[_0x301430(0x248)][_0x301430(0x1b5)](_0x313034=>_0x313034[_0x301430(0x17e)]);}['at'](_0x12994a){return this['_fields']['at'](_0x12994a);}[a0_0x223e12(0x263)](_0xe8cd2a){const _0x2c97b0=a0_0x223e12;return this['_fields'][_0x2c97b0(0x263)](_0x5eb18a=>_0x5eb18a[_0x2c97b0(0x7a)]===_0xe8cd2a);}[a0_0x223e12(0x1f0)](_0x3e1f1b){const _0x58ea39=a0_0x223e12;return this[_0x58ea39(0x248)][_0x58ea39(0x263)](_0x3dbe2c=>_0x3dbe2c[_0x58ea39(0x1e1)]===_0x3e1f1b);}[a0_0x223e12(0x125)](_0x3d89e6){const _0x4edbac=a0_0x223e12;return this[_0x4edbac(0x248)]['some'](_0x1fd8fb=>_0x1fd8fb[_0x4edbac(0x7a)]===_0x3d89e6);}['forEach'](_0x44870e){const _0x327889=a0_0x223e12;this[_0x327889(0x248)][_0x327889(0x265)](_0x44870e);}[a0_0x223e12(0x1b5)](_0x37c891){const _0x227583=a0_0x223e12;return this[_0x227583(0x248)][_0x227583(0x1b5)](_0x37c891);}['filter'](_0x299647){const _0x27ad26=a0_0x223e12;return this[_0x27ad26(0x248)][_0x27ad26(0x131)](_0x299647);}[a0_0x223e12(0x24a)](_0x3ac76a){const _0x5b34cb=a0_0x223e12;return this[_0x5b34cb(0x248)][_0x5b34cb(0x24a)](_0x3ac76a);}[a0_0x223e12(0x132)](_0x83586a){const _0x129d14=a0_0x223e12;return this[_0x129d14(0x248)]['some'](_0x83586a);}['getRequired'](){const _0x5def17=a0_0x223e12;return this['_fields'][_0x5def17(0x131)](_0x503abe=>_0x503abe[_0x5def17(0xb7)]());}[a0_0x223e12(0x95)](){const _0x3d7833=a0_0x223e12;return this[_0x3d7833(0x248)][_0x3d7833(0x131)](_0x3b7115=>_0x3b7115['isPrimaryKey']());}[a0_0x223e12(0xdf)](){const _0x5122f9=a0_0x223e12;return this[_0x5122f9(0x248)][_0x5122f9(0x131)](_0x43e88b=>_0x43e88b[_0x5122f9(0x179)]());}[a0_0x223e12(0x22e)](){const _0x34c126=a0_0x223e12;return this['_fields'][_0x34c126(0x131)](_0x6c7ad=>_0x6c7ad[_0x34c126(0x1fb)]());}[a0_0x223e12(0x266)](){const _0x57c26c=a0_0x223e12;return this[_0x57c26c(0x248)][_0x57c26c(0x131)](_0x450f96=>_0x450f96[_0x57c26c(0x1aa)]());}[a0_0x223e12(0x79)](){const _0xb84dde=a0_0x223e12;return this[_0xb84dde(0x248)][_0xb84dde(0x131)](_0x3bb100=>_0x3bb100[_0xb84dde(0x1f3)]());}[a0_0x223e12(0x1cf)](){const _0x3fad83=a0_0x223e12;return this[_0x3fad83(0x248)]['filter'](_0x291a27=>_0x291a27['isCreateTime']());}['getUpdateTime'](){const _0x54b037=a0_0x223e12;return this[_0x54b037(0x248)][_0x54b037(0x131)](_0x480397=>_0x480397[_0x54b037(0x17c)]());}['getDeleted'](){const _0x8b7f37=a0_0x223e12;return this[_0x8b7f37(0x248)][_0x8b7f37(0x131)](_0xcf7510=>_0xcf7510[_0x8b7f37(0xb1)]());}[a0_0x223e12(0x113)](){const _0x19c456=a0_0x223e12;return this[_0x19c456(0x248)][_0x19c456(0x131)](_0x565151=>!_0x565151['isDeleted']());}['groupByType'](){const _0x2653cd=a0_0x223e12,_0x61dd2f={};return this[_0x2653cd(0x248)][_0x2653cd(0x265)](_0x2116c4=>{const _0x393f86=_0x2653cd,_0x174db5=_0x2116c4[_0x393f86(0x9a)];!_0x61dd2f[_0x174db5]&&(_0x61dd2f[_0x174db5]=[]),_0x61dd2f[_0x174db5][_0x393f86(0x27f)](_0x2116c4);}),_0x61dd2f;}[a0_0x223e12(0x18a)](){const _0x77b8d1=a0_0x223e12,_0x1b2bf9={};return this['_fields'][_0x77b8d1(0x265)](_0x51ad0=>{const _0x26ba41=_0x77b8d1;if(_0x51ad0[_0x26ba41(0x1aa)]()){const _0x48ce8e=_0x51ad0['getEnumMeta']();_0x48ce8e&&(_0x1b2bf9[_0x51ad0[_0x26ba41(0x7a)]]=_0x48ce8e);}}),_0x1b2bf9;}[a0_0x223e12(0x25b)](){const _0xeef9d9=a0_0x223e12;return{'total':this[_0xeef9d9(0xee)],'required':this[_0xeef9d9(0x1e0)]()['length'],'primaryKey':this[_0xeef9d9(0x95)]()[_0xeef9d9(0xee)],'system':this[_0xeef9d9(0xdf)]()[_0xeef9d9(0xee)],'business':this['getBusiness']()[_0xeef9d9(0xee)],'enum':this['getEnum']()['length'],'autoIncrement':this[_0xeef9d9(0x79)]()[_0xeef9d9(0xee)]};}[a0_0x223e12(0x1ba)](){const _0x4dd121=a0_0x223e12;return this[_0x4dd121(0x248)][_0x4dd121(0x1b5)](_0x3775fe=>_0x3775fe[_0x4dd121(0x1ba)]());}[a0_0x223e12(0x133)](){const _0x1f75da=a0_0x223e12;return this[_0x1f75da(0x248)][_0x1f75da(0x1b5)](_0x59c31e=>_0x59c31e[_0x1f75da(0x7a)]);}[a0_0x223e12(0x1b6)](){const _0x32f442=a0_0x223e12;return this[_0x32f442(0x248)][_0x32f442(0x1b5)](_0x479d93=>_0x479d93[_0x32f442(0x1e1)]);}static[a0_0x223e12(0x231)](_0x4a2213){const _0x5f224d=a0_0x223e12,_0x3b6e0f=_0x4a2213[_0x5f224d(0x1b5)](_0x76726b=>_0x76726b[_0x5f224d(0x17e)]);return new FieldList(_0x3b6e0f);}static[a0_0x223e12(0x23d)](_0x38a251){return new FieldList(_0x38a251,{'includeDeleted':!![]});}}class DrivenDataDetail extends DatasetItem{[a0_0x223e12(0x177)];[a0_0x223e12(0xda)];[a0_0x223e12(0x15b)];constructor(_0x1047f2){super({..._0x1047f2,'id':_0x1047f2['modelId'],'datasetCode':_0x1047f2['modelCode']});}get['source'](){const _0x2ac753=a0_0x223e12;return this[_0x2ac753(0x96)]['source'];}[a0_0x223e12(0x238)](){const _0x34d60c=a0_0x223e12;return this[_0x34d60c(0x18d)];}get['version'](){const _0x3d15ec=a0_0x223e12;return this[_0x3d15ec(0x96)][_0x3d15ec(0x1c9)];}[a0_0x223e12(0x19a)](){const _0x17fdc1=a0_0x223e12;return!this[_0x17fdc1(0xda)]&&(this['_fieldList']=new FieldList(this[_0x17fdc1(0x96)]['properties']||[])),this[_0x17fdc1(0xda)];}[a0_0x223e12(0x1a3)](){const _0x4c3d66=a0_0x223e12;return!this['_fieldListWithDeleted']&&(this[_0x4c3d66(0x15b)]=FieldList[_0x4c3d66(0x23d)](this[_0x4c3d66(0x96)][_0x4c3d66(0x23f)]||[])),this[_0x4c3d66(0x15b)];}[a0_0x223e12(0x158)](){const _0x2bf8e4=a0_0x223e12;return this[_0x2bf8e4(0x19a)]()['raw']();}['getFieldsWithDeleted'](){const _0x24a10c=a0_0x223e12;return this[_0x24a10c(0x96)][_0x24a10c(0x23f)]||[];}['getFieldCount'](){const _0x337241=a0_0x223e12;return this[_0x337241(0x19a)]()[_0x337241(0xee)];}[a0_0x223e12(0x124)](_0x3d4d32){const _0x2b0618=this['getFieldInstance'](_0x3d4d32);return _0x2b0618?_0x2b0618['raw']:undefined;}[a0_0x223e12(0x1a4)](_0x242ad2){const _0x1c4936=a0_0x223e12;return this['getFieldList']()[_0x1c4936(0x263)](_0x242ad2)?.['raw']||undefined;}[a0_0x223e12(0x1c7)](_0xe3cdfb){const _0x37a587=a0_0x223e12;if(typeof _0xe3cdfb!=='string'){!![]&&console[_0x37a587(0x110)]('[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0xe3cdfb);return;}return this[_0x37a587(0x19a)]()[_0x37a587(0x263)](_0xe3cdfb);}[a0_0x223e12(0x193)](_0x54fa3a){const _0x43a8d4=a0_0x223e12;return this[_0x43a8d4(0x19a)]()[_0x43a8d4(0x125)](_0x54fa3a);}[a0_0x223e12(0x14a)](_0x20bb81){const _0x19241e=a0_0x223e12;if(!_0x20bb81||typeof _0x20bb81!==_0x19241e(0x152))return!![]&&console[_0x19241e(0x110)](_0x19241e(0x13a),_0x20bb81),{};if(!_0x20bb81[_0x19241e(0x24d)])return{};try{const _0x62112b=typeof _0x20bb81[_0x19241e(0x24d)]===_0x19241e(0x10f)?JSON['parse'](_0x20bb81['extend']):_0x20bb81[_0x19241e(0x24d)];if(typeof _0x62112b!==_0x19241e(0x152)||_0x62112b===null)return{};return _0x62112b;}catch{return{};}}[a0_0x223e12(0x1d9)](_0x4305ba){const _0x61a8f2=a0_0x223e12;if(!_0x4305ba||typeof _0x4305ba!==_0x61a8f2(0x152))return![];const _0x475265=this[_0x61a8f2(0x19a)]()[_0x61a8f2(0x263)](_0x4305ba[_0x61a8f2(0x7a)]);return _0x475265?_0x475265[_0x61a8f2(0xe6)]():![];}[a0_0x223e12(0x76)](_0x301199){const _0xe1bfdc=a0_0x223e12;if(!_0x301199||typeof _0x301199!==_0xe1bfdc(0x152))return![];const _0x544f8d=this['getFieldList']()[_0xe1bfdc(0x263)](_0x301199[_0xe1bfdc(0x7a)]);return _0x544f8d?_0x544f8d['isSystem']():![];}[a0_0x223e12(0x1da)](_0x52be4a){const _0x4dbb51=a0_0x223e12;if(!_0x52be4a||typeof _0x52be4a!==_0x4dbb51(0x152))return![];const _0x438f6d=this[_0x4dbb51(0x19a)]()[_0x4dbb51(0x263)](_0x52be4a[_0x4dbb51(0x7a)]);return _0x438f6d?_0x438f6d[_0x4dbb51(0xb7)]():![];}[a0_0x223e12(0x27b)](){const _0x649333=a0_0x223e12;return this[_0x649333(0x19a)]()[_0x649333(0x95)]()[_0x649333(0x1b5)](_0x4f90fc=>_0x4f90fc[_0x649333(0x17e)]);}[a0_0x223e12(0xe4)](){const _0x4d1d5f=a0_0x223e12;return this[_0x4d1d5f(0x19a)]()[_0x4d1d5f(0xdf)]()[_0x4d1d5f(0x1b5)](_0x42a3e1=>_0x42a3e1['raw']);}['getBusinessFields'](){const _0x200e97=a0_0x223e12;return this[_0x200e97(0x19a)]()[_0x200e97(0x22e)]()[_0x200e97(0x1b5)](_0x28b56a=>_0x28b56a[_0x200e97(0x17e)]);}[a0_0x223e12(0x78)](){const _0x28d13c=a0_0x223e12;return this[_0x28d13c(0x19a)]()[_0x28d13c(0x1e0)]()['map'](_0x4e7c01=>_0x4e7c01[_0x28d13c(0x17e)]);}['getFieldsByType'](){const _0x475334=a0_0x223e12,_0x482100=this[_0x475334(0x19a)]()[_0x475334(0x1fe)](),_0x547817={};for(const [_0x5aa1c3,_0x17ab49]of Object['entries'](_0x482100)){_0x547817[_0x5aa1c3]=_0x17ab49[_0x475334(0x1b5)](_0xc74c05=>_0xc74c05[_0x475334(0x17e)]);}return _0x547817;}[a0_0x223e12(0x210)](_0x12e384){const _0x62eca0=a0_0x223e12;if(!_0x12e384||typeof _0x12e384!=='object')return![];const _0x36ad48=this['getFieldList']()[_0x62eca0(0x263)](_0x12e384['code']);return _0x36ad48?_0x36ad48[_0x62eca0(0x1aa)]():![];}[a0_0x223e12(0x1b0)](_0x3c4af){const _0x598d4c=a0_0x223e12;if(!_0x3c4af||typeof _0x3c4af!==_0x598d4c(0x152))return![];const _0x1dc5a6=this['getFieldList']()[_0x598d4c(0x263)](_0x3c4af['code']);return _0x1dc5a6?_0x1dc5a6[_0x598d4c(0x85)]():![];}[a0_0x223e12(0xad)](_0x88662f){const _0xab1187=a0_0x223e12;if(!_0x88662f||typeof _0x88662f!=='object')return[];const _0x3d59af=this[_0xab1187(0x19a)]()[_0xab1187(0x263)](_0x88662f[_0xab1187(0x7a)]);if(!_0x3d59af||!_0x3d59af[_0xab1187(0x1aa)]())return[];return _0x3d59af[_0xab1187(0x278)]()||[];}[a0_0x223e12(0x11c)](_0x1b1993){const _0x2e1455=a0_0x223e12;if(!_0x1b1993||typeof _0x1b1993!==_0x2e1455(0x152))return;const _0x4eb7ec=this[_0x2e1455(0x19a)]()['find'](_0x1b1993[_0x2e1455(0x7a)]);if(!_0x4eb7ec||!_0x4eb7ec[_0x2e1455(0x1aa)]())return;return _0x4eb7ec[_0x2e1455(0x234)]();}[a0_0x223e12(0xc2)](_0x344798){const _0x5c06f4=a0_0x223e12;if(!_0x344798||typeof _0x344798!==_0x5c06f4(0x152))return;const _0x1005e3=this['getFieldList']()[_0x5c06f4(0x263)](_0x344798[_0x5c06f4(0x7a)]);if(!_0x1005e3||!_0x1005e3['isEnum']())return;return _0x1005e3['getEnumMeta']();}[a0_0x223e12(0x269)](){const _0x5ec6f6=a0_0x223e12;return this[_0x5ec6f6(0x19a)]()[_0x5ec6f6(0x266)]()[_0x5ec6f6(0x1b5)](_0x4f70bd=>_0x4f70bd[_0x5ec6f6(0x17e)]);}[a0_0x223e12(0x11f)](){const _0x573dcc=a0_0x223e12,_0x5eb39f={};return this[_0x573dcc(0x269)]()[_0x573dcc(0x265)](_0xc35e25=>{const _0x571784=_0x573dcc,_0x2f4543=this[_0x571784(0xc2)](_0xc35e25);_0x2f4543&&(_0x5eb39f[_0xc35e25[_0x571784(0x7a)]]=_0x2f4543);}),_0x5eb39f;}['validateEnumValue'](_0x704e,_0x33836d){const _0x4ce23b=a0_0x223e12,_0x431c6b=this[_0x4ce23b(0xc2)](_0x704e);if(!_0x431c6b)return!![];if(_0x431c6b['selectItemsSource']&&!_0x431c6b['options'])return!![];if(_0x431c6b[_0x4ce23b(0x153)]&&Array[_0x4ce23b(0xc8)](_0x33836d))return _0x33836d[_0x4ce23b(0x24a)](_0x110f2a=>_0x431c6b[_0x4ce23b(0x170)][_0x4ce23b(0x26c)](_0x110f2a));return _0x431c6b[_0x4ce23b(0x170)][_0x4ce23b(0x26c)](_0x33836d);}[a0_0x223e12(0xf8)](){const _0xdc2044=a0_0x223e12;if(!this[_0xdc2044(0x177)]){const _0x4fbff1=this[_0xdc2044(0x122)](this[_0xdc2044(0x96)][_0xdc2044(0x235)]||{});this['_operationList']=new OperationList(_0x4fbff1,{'fields':this[_0xdc2044(0x158)](),'pkField':this[_0xdc2044(0x96)]['dbtableConfig']?.[_0xdc2044(0x80)],'dbtableConfig':this[_0xdc2044(0x96)][_0xdc2044(0x169)]});}return this[_0xdc2044(0x177)];}[a0_0x223e12(0x122)](_0x5ba7f9){const _0x581962=a0_0x223e12;if(_0x5ba7f9['filter']!==undefined)return _0x5ba7f9;return{..._0x5ba7f9,'filter':this[_0x581962(0xc1)]()};}[a0_0x223e12(0xc1)](){const _0x326bd4=a0_0x223e12,_0x4fb06b=this['_raw'][_0x326bd4(0x235)]?.[_0x326bd4(0x119)];let _0x2e9177=_0x4fb06b?.[_0x326bd4(0xf7)],_0xe3a17c='';if(!_0x2e9177&&this['_raw'][_0x326bd4(0x235)]){const _0x35ffb9=Object[_0x326bd4(0x170)](this[_0x326bd4(0x96)][_0x326bd4(0x235)]);for(const _0xda20f6 of _0x35ffb9){if(_0xda20f6&&typeof _0xda20f6===_0x326bd4(0x152)&&_0x326bd4(0xf7)in _0xda20f6){_0x2e9177=_0xda20f6[_0x326bd4(0xf7)];break;}}}if(_0x4fb06b?.[_0x326bd4(0x8b)]){const _0x570658=_0x4fb06b['path'],_0x35599d=_0x570658[_0x326bd4(0x1d3)]('/');_0x35599d!==-0x1&&(_0xe3a17c=_0x570658[_0x326bd4(0x261)](0x0,_0x35599d));}return{'name':_0x326bd4(0x131),'type':_0x326bd4(0xfa),'description':_0x326bd4(0x1cc),'method':_0x326bd4(0x212),'host':_0x2e9177,'path':_0xe3a17c?_0xe3a17c+_0x326bd4(0xfd):_0x326bd4(0xfd),'params':_0x4fb06b?.[_0x326bd4(0x103)]||[{'name':'where','type':_0x326bd4(0x152),'required':![]},{'name':_0x326bd4(0x1bc),'type':'array','required':![]},{'name':_0x326bd4(0x214),'type':_0x326bd4(0x86),'required':![]},{'name':_0x326bd4(0xc0),'type':_0x326bd4(0xd1),'required':![],'default':0x1},{'name':'pageSize','type':_0x326bd4(0xd1),'required':![],'default':0xa}],'_autoGenerated':!![]};}[a0_0x223e12(0x1b9)](){const _0x4a1986=a0_0x223e12;return this[_0x4a1986(0xf8)]()[_0x4a1986(0x9c)]();}[a0_0x223e12(0x130)](){const _0x409207=a0_0x223e12;return this[_0x409207(0xf8)]()[_0x409207(0x14f)]();}[a0_0x223e12(0xb9)](_0x4ccd5b){const _0x5f35a4=a0_0x223e12;if(typeof _0x4ccd5b!=='string'){!![]&&console[_0x5f35a4(0x110)]('[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:',_0x4ccd5b);return;}return this['getOperationList']()[_0x5f35a4(0x20e)](_0x4ccd5b);}[a0_0x223e12(0x129)](_0x229614){const _0xf52854=a0_0x223e12;if(typeof _0x229614!==_0xf52854(0x10f))return![];return this['getOperationList']()[_0xf52854(0x125)](_0x229614);}['isOperationEnabled'](_0x277429){const _0x134e87=a0_0x223e12;if(typeof _0x277429!==_0x134e87(0x10f))return![];const _0x7d397=this[_0x134e87(0xb9)](_0x277429);return _0x7d397?.['isEnabled']()||![];}[a0_0x223e12(0x1e5)](){const _0x24181a=a0_0x223e12;return this['getOperationList']()[_0x24181a(0x22f)]();}['getDisabledOperations'](){const _0x38991a=a0_0x223e12;return this[_0x38991a(0xf8)]()['getDisabledNames']();}[a0_0x223e12(0xdd)](){const _0x4ee326=a0_0x223e12;return this[_0x4ee326(0xf8)]()[_0x4ee326(0x17f)]();}[a0_0x223e12(0x227)](){return this['getOperationList']()['getDisabled']();}[a0_0x223e12(0x25b)](){const _0x2c229d=a0_0x223e12;return{'fieldCount':this[_0x2c229d(0x1ee)](),'systemFieldCount':this[_0x2c229d(0xe4)]()[_0x2c229d(0xee)],'businessFieldCount':this[_0x2c229d(0x13e)]()[_0x2c229d(0xee)],'requiredFieldCount':this[_0x2c229d(0x78)]()[_0x2c229d(0xee)],'primaryKeyCount':this[_0x2c229d(0x27b)]()[_0x2c229d(0xee)],'operationCount':this[_0x2c229d(0x130)](),'enabledOperationCount':this['getEnabledOperations']()['length']};}[a0_0x223e12(0x1f4)](){const _0x55c1a9=a0_0x223e12;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x55c1a9(0x135)],'dbtableConfig':this[_0x55c1a9(0x1f8)]()});}[a0_0x223e12(0x144)](){const _0x222443=a0_0x223e12;return _0x222443(0x26e)+this[_0x222443(0x1e1)]+',\x20'+this[_0x222443(0x135)]+',\x20'+this[_0x222443(0x1ee)]()+_0x222443(0x202)+this[_0x222443(0x130)]()+'\x20operations)';}[a0_0x223e12(0x111)](){const _0x3daf16=a0_0x223e12,_0x2261f1=this[_0x3daf16(0xb9)](_0x3daf16(0x131));return _0x2261f1;}[a0_0x223e12(0x18e)](){const _0x3953ec=a0_0x223e12;return this[_0x3953ec(0x129)](_0x3953ec(0x131));}['getOperationOperators'](_0x559c38){const _0x21e668=a0_0x223e12,_0x8ca0f2=this[_0x21e668(0xb9)](_0x559c38);return _0x8ca0f2?_0x8ca0f2[_0x21e668(0x1c0)]():[];}[a0_0x223e12(0x199)](_0x2124b2,_0x5794b7){const _0x34a0b5=a0_0x223e12,_0x4d5891=this[_0x34a0b5(0xb9)](_0x2124b2);return _0x4d5891?_0x4d5891['getFieldOperators'](_0x5794b7):[];}[a0_0x223e12(0x1e2)](_0x20607c){const _0xf3d85=a0_0x223e12,_0x46080e={};return this['getFieldList']()[_0xf3d85(0x265)](_0xf7f052=>{const _0x2df44c=_0xf3d85,_0x281753=this['getOperationFieldOperators'](_0x20607c,_0xf7f052[_0x2df44c(0x7a)]);_0x281753[_0x2df44c(0xee)]>0x0&&(_0x46080e[_0xf7f052[_0x2df44c(0x7a)]]=_0x281753);}),_0x46080e;}['isOperatorApplicableToField'](_0x487415,_0x28174e,_0x1d2f36){const _0x54c1fd=a0_0x223e12,_0x591eba=this['getOperationFieldOperators'](_0x487415,_0x28174e);return _0x591eba[_0x54c1fd(0x26c)](_0x1d2f36);}[a0_0x223e12(0x6c)](){const _0x5e3a22=a0_0x223e12;return this[_0x5e3a22(0x1ad)](_0x5e3a22(0x131));}['getFieldFilterOperators'](_0x35f4b7){const _0x2d7475=a0_0x223e12;return this[_0x2d7475(0x199)](_0x2d7475(0x131),_0x35f4b7);}[a0_0x223e12(0x200)](){const _0x16094d=a0_0x223e12;return this['getOperationFieldsOperatorsMap'](_0x16094d(0x131));}}class DatasetGroup{['items'];constructor(_0x56bae7){const _0x54a143=a0_0x223e12;this[_0x54a143(0x1a1)]=Array[_0x54a143(0xc8)](_0x56bae7)?[..._0x56bae7]:[_0x56bae7],this[_0x54a143(0x1a1)][_0x54a143(0x272)]((_0x4a06ac,_0x1766d2)=>{const _0x55a309=Number(_0x4a06ac['id'])||0x0,_0x519679=Number(_0x1766d2['id'])||0x0;return _0x519679-_0x55a309;});}[a0_0x223e12(0x20a)](){const _0x5aa357=a0_0x223e12;return this['items'][_0x5aa357(0xee)]>0x1;}['getLatest'](){const _0x3cdc5a=a0_0x223e12;return this[_0x3cdc5a(0x1a1)][0x0];}['getOldest'](){const _0x6aabb8=a0_0x223e12;return this['items'][this['items'][_0x6aabb8(0xee)]-0x1];}[a0_0x223e12(0x233)](){const _0x3be517=a0_0x223e12;return[...this[_0x3be517(0x1a1)]];}[a0_0x223e12(0xf3)](){const _0x4a97d4=a0_0x223e12;return this[_0x4a97d4(0x1a1)]['length'];}[a0_0x223e12(0xe1)](_0x18d92b){return this['items'][_0x18d92b];}[a0_0x223e12(0x146)](_0x578efa){const _0x4f5f97=a0_0x223e12;return this[_0x4f5f97(0x1a1)]['find'](_0x11f1d9=>_0x11f1d9['id']===_0x578efa);}['findByCode'](_0x2a002c){const _0x5c8185=a0_0x223e12;return this['items'][_0x5c8185(0x263)](_0x34772a=>_0x34772a[_0x5c8185(0x135)]===_0x2a002c);}[a0_0x223e12(0x139)](){const _0x3fa07d=a0_0x223e12;return this[_0x3fa07d(0x1a1)]['map'](_0xc771c5=>_0xc771c5['id'])[_0x3fa07d(0x131)](_0x30433a=>_0x30433a!==undefined);}['getCodes'](){const _0xbdad77=a0_0x223e12;return this[_0xbdad77(0x1a1)][_0xbdad77(0x1b5)](_0x588b52=>_0x588b52['datasetCode']);}[a0_0x223e12(0x144)](){const _0x2cc781=a0_0x223e12;if(this['hasConflict']())return'DatasetGroup('+this[_0x2cc781(0x1a1)]['length']+_0x2cc781(0x106)+this[_0x2cc781(0x240)]()[_0x2cc781(0x1e1)]+')';return'DatasetGroup('+this[_0x2cc781(0x1a1)][0x0][_0x2cc781(0x1e1)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x5331ba){const _0x2ec480=a0_0x223e12;this[_0x2ec480(0x10d)]=new Map();for(const _0x2e74b6 of _0x5331ba){const _0x2c0ba4=getTableKey(_0x2e74b6);if(!this['groups'][_0x2ec480(0x125)](_0x2c0ba4))this[_0x2ec480(0x10d)][_0x2ec480(0x220)](_0x2c0ba4,new DatasetGroup(_0x2e74b6));else{const _0x5749c5=this[_0x2ec480(0x10d)]['get'](_0x2c0ba4),_0x57ba16=[..._0x5749c5[_0x2ec480(0x233)](),_0x2e74b6];this['groups'][_0x2ec480(0x220)](_0x2c0ba4,new DatasetGroup(_0x57ba16));}}}[a0_0x223e12(0x20e)](_0x45824e){const _0x5b2405=a0_0x223e12;return this[_0x5b2405(0x10d)][_0x5b2405(0x20e)](_0x45824e);}['has'](_0x52833e){const _0x349259=a0_0x223e12;return this['groups'][_0x349259(0x125)](_0x52833e);}get[a0_0x223e12(0x14f)](){const _0x35f9e2=a0_0x223e12;return this[_0x35f9e2(0x10d)][_0x35f9e2(0x14f)];}[a0_0x223e12(0x173)](){const _0x2856b0=a0_0x223e12;return this[_0x2856b0(0x10d)][_0x2856b0(0x173)]();}[a0_0x223e12(0x170)](){const _0x458d2b=a0_0x223e12;return this[_0x458d2b(0x10d)][_0x458d2b(0x170)]();}[a0_0x223e12(0x1dd)](){const _0xf98661=a0_0x223e12;return this[_0xf98661(0x10d)][_0xf98661(0x1dd)]();}[Symbol['iterator']](){const _0x51ae40=a0_0x223e12;return this[_0x51ae40(0x10d)]['entries']();}[a0_0x223e12(0x265)](_0x40b421){const _0x272b48=a0_0x223e12;this[_0x272b48(0x10d)]['forEach']((_0x934c11,_0x2555b7)=>_0x40b421(_0x934c11,_0x2555b7,this));}[a0_0x223e12(0x21e)](){const _0x148c58=a0_0x223e12,_0x25cec6=new Map();for(const [_0x3fa8dd,_0x4b6913]of this[_0x148c58(0x10d)]){_0x4b6913[_0x148c58(0x20a)]()&&_0x25cec6[_0x148c58(0x220)](_0x3fa8dd,_0x4b6913);}return _0x25cec6;}[a0_0x223e12(0xe7)](){const _0x31abc2=a0_0x223e12;for(const _0x80ef79 of this[_0x31abc2(0x10d)]['values']()){if(_0x80ef79['hasConflict']())return!![];}return![];}[a0_0x223e12(0x26f)](){const _0x4d142a=a0_0x223e12;let _0x4a9b33=0x0,_0x5457d7=0x0;for(const _0x59f809 of this['groups'][_0x4d142a(0x170)]()){_0x59f809['hasConflict']()&&(_0x4a9b33++,_0x5457d7+=_0x59f809[_0x4d142a(0xf3)]());}return{'conflictGroupCount':_0x4a9b33,'conflictItemCount':_0x5457d7,'totalGroups':this[_0x4d142a(0x10d)][_0x4d142a(0x14f)]};}[a0_0x223e12(0x168)](){const _0xab79bb=a0_0x223e12,_0x47978c=[];for(const _0x45a64d of this[_0xab79bb(0x10d)]['values']()){_0x47978c[_0xab79bb(0x27f)](..._0x45a64d['getAll']());}return _0x47978c;}['getLatestDatasets'](){const _0x5721ce=a0_0x223e12,_0x7b0e8b=[];for(const _0xcce99 of this['groups'][_0x5721ce(0x170)]()){_0x7b0e8b['push'](_0xcce99['getLatest']());}return _0x7b0e8b;}[a0_0x223e12(0x240)](_0x74756d){const _0x487738=a0_0x223e12;return this[_0x487738(0x10d)]['get'](_0x74756d)?.[_0x487738(0x240)]();}[a0_0x223e12(0x233)](_0x572aba){const _0x56f80f=a0_0x223e12;return this['groups'][_0x56f80f(0x20e)](_0x572aba)?.[_0x56f80f(0x233)]()||[];}['toConfig'](){const _0x230093=a0_0x223e12,_0xbd21f7=this[_0x230093(0xfc)](),_0x4cc5c8=_0xbd21f7[_0x230093(0x1b5)](_0x204988=>_0x204988[_0x230093(0x1ba)]());return generateDatasetsConfig(_0x4cc5c8,{'enableDeduplication':![]});}['toFullConfig'](){const _0x2ef6a2=a0_0x223e12,_0x3b75f9=this[_0x2ef6a2(0x168)](),_0xe2503f=_0x3b75f9[_0x2ef6a2(0x1b5)](_0x197157=>_0x197157[_0x2ef6a2(0x1ba)]());return generateFullDatasetsConfig(_0xe2503f);}[a0_0x223e12(0xe2)](){const _0x5e30ae=a0_0x223e12,_0x1a6bd5={};for(const [_0x2348d3,_0x2c705f]of this[_0x5e30ae(0x10d)]){_0x1a6bd5[_0x2348d3]=_0x2c705f;}return _0x1a6bd5;}[a0_0x223e12(0x1ba)](){const _0x475921=a0_0x223e12,_0x4d083c={};for(const [_0x474bd5,_0x101ac9]of this[_0x475921(0x10d)]){_0x4d083c[_0x474bd5]=_0x101ac9[_0x475921(0x233)]()[_0x475921(0x1b5)](_0x2e760c=>_0x2e760c[_0x475921(0x1ba)]());}return _0x4d083c;}[a0_0x223e12(0x144)](){const _0x1702bd=a0_0x223e12;return _0x1702bd(0x1b1)+this[_0x1702bd(0x10d)][_0x1702bd(0x14f)]+'\x20groups,\x20'+(this['hasConflicts']()?'has\x20conflicts':_0x1702bd(0xf0))+')';}}class DatasetList{['_datasetMap'];constructor(_0xbc0e66){const _0x501933=a0_0x223e12;let _0x5ed44e;if(Array[_0x501933(0xc8)](_0xbc0e66))_0x5ed44e=_0xbc0e66;else{if(_0x501933(0xaa)in _0xbc0e66){if(!_0xbc0e66['success'])throw new Error(_0x501933(0xd8));if(Array[_0x501933(0xc8)](_0xbc0e66['data']))_0x5ed44e=_0xbc0e66[_0x501933(0x149)]['map'](_0x2337cc=>({..._0x2337cc,'datasetCode':_0x2337cc[_0x501933(0x7a)]||_0x2337cc[_0x501933(0x135)]}));else{if(_0xbc0e66['data']?.[_0x501933(0x1d4)])_0x5ed44e=_0xbc0e66[_0x501933(0x149)][_0x501933(0x1d4)][_0x501933(0x1b5)](_0x3df13d=>({..._0x3df13d,'datasetCode':_0x3df13d[_0x501933(0x7a)]||_0x3df13d[_0x501933(0x135)]}));else throw new Error('Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)');}}else{if(_0x501933(0x1d4)in _0xbc0e66){if(!Array['isArray'](_0xbc0e66[_0x501933(0x1d4)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0x5ed44e=_0xbc0e66['tableData'][_0x501933(0x1b5)](_0x5f16a0=>({..._0x5f16a0,'datasetCode':_0x5f16a0[_0x501933(0x7a)]||_0x5f16a0['datasetCode']}));}else throw new Error(_0x501933(0x20b));}}const _0x425cfe=_0x5ed44e[_0x501933(0x1b5)](_0x19ad91=>new DatasetItem(_0x19ad91));this[_0x501933(0x19b)]=new DatasetGroupMap(_0x425cfe);}get['datasetMap'](){return this['_datasetMap'];}['getItems'](){const _0x406b18=a0_0x223e12;return this['_datasetMap'][_0x406b18(0x168)]();}[a0_0x223e12(0xf3)](){return this['getItems']()['length'];}[a0_0x223e12(0x154)](){const _0x49f844=a0_0x223e12;return this[_0x49f844(0x19b)][_0x49f844(0x14f)]===0x0;}[a0_0x223e12(0xe1)](_0x927542){const _0x1ba64c=a0_0x223e12;return this[_0x1ba64c(0x15a)]()[_0x927542];}[a0_0x223e12(0x181)](){const _0x1f6e1e=a0_0x223e12;return this[_0x1f6e1e(0x15a)]()[0x0];}[a0_0x223e12(0x282)](){const _0x31f385=a0_0x223e12,_0x418f29=this['getItems']();return _0x418f29[_0x418f29[_0x31f385(0xee)]-0x1];}[a0_0x223e12(0x1bf)](_0x152019){const _0x3b1a27=a0_0x223e12;for(const _0x1d6d96 of this[_0x3b1a27(0x19b)]['values']()){const _0x58cc6e=_0x1d6d96[_0x3b1a27(0x1bf)](_0x152019);if(_0x58cc6e)return _0x58cc6e;}return;}['findByName'](_0x2520a0){const _0x12e710=a0_0x223e12;return this['getItems']()[_0x12e710(0x263)](_0x2a0e39=>_0x2a0e39[_0x12e710(0x1e1)]===_0x2520a0);}[a0_0x223e12(0x146)](_0x3d649c){const _0x3f58f8=a0_0x223e12;for(const _0x3d73b8 of this[_0x3f58f8(0x19b)][_0x3f58f8(0x170)]()){const _0x585c4b=_0x3d73b8[_0x3f58f8(0x146)](_0x3d649c);if(_0x585c4b)return _0x585c4b;}return;}['findByTableName'](_0x2019c0){const _0x4afc48=a0_0x223e12,_0x48c83d=getTableKey(_0x2019c0);return this[_0x4afc48(0x19b)]['getLatest'](_0x48c83d);}[a0_0x223e12(0x131)](_0x20d6dc){const _0x437423=a0_0x223e12,_0x4acd84=this[_0x437423(0x15a)]()[_0x437423(0x131)](_0x20d6dc);return new DatasetList(_0x4acd84[_0x437423(0x1b5)](_0x18b3eb=>_0x18b3eb[_0x437423(0x1ba)]()));}[a0_0x223e12(0xa3)](_0x3ba34e){const _0x4b96dd=a0_0x223e12;return this[_0x4b96dd(0x15a)]()['filter'](_0x3ba34e);}['forEach'](_0x294a8a){const _0x19265c=a0_0x223e12;this[_0x19265c(0x15a)]()[_0x19265c(0x265)](_0x294a8a);}['map'](_0x45cfe6){const _0x42a54d=a0_0x223e12;return this['getItems']()[_0x42a54d(0x1b5)](_0x45cfe6);}[Symbol[a0_0x223e12(0x162)]](){const _0x5cfd3=a0_0x223e12;return this[_0x5cfd3(0x15a)]()[Symbol[_0x5cfd3(0x162)]]();}[a0_0x223e12(0x1b2)](){const _0x380ade=a0_0x223e12;return this[_0x380ade(0x15a)]()[_0x380ade(0x131)](_0x3dbf7c=>_0x3dbf7c[_0x380ade(0x8d)]());}[a0_0x223e12(0x1ce)](){const _0x13e2df=a0_0x223e12;return this[_0x13e2df(0x15a)]()[_0x13e2df(0x131)](_0x3cf132=>!_0x3cf132[_0x13e2df(0x8d)]());}['groupByTableName'](){const _0x501ca8=a0_0x223e12,_0x18d963={};for(const _0x2633ec of this[_0x501ca8(0x19b)][_0x501ca8(0x170)]()){const _0x863eb5=_0x2633ec[_0x501ca8(0x240)]()[_0x501ca8(0x1d5)]();_0x18d963[_0x863eb5]=_0x2633ec[_0x501ca8(0x233)]();}return _0x18d963;}[a0_0x223e12(0x186)](){const _0x234ab0=a0_0x223e12,_0x324e75={};for(const _0x47647c of this['_datasetMap'][_0x234ab0(0x21e)]()[_0x234ab0(0x170)]()){const _0x58f889=_0x47647c[_0x234ab0(0x240)]()[_0x234ab0(0x1d5)]();_0x324e75[_0x58f889]=_0x47647c[_0x234ab0(0x233)]()[_0x234ab0(0x1b5)](_0x1f8893=>_0x1f8893[_0x234ab0(0x1ba)]());}return{'hasConflicts':Object[_0x234ab0(0x173)](_0x324e75)[_0x234ab0(0xee)]>0x0,'conflicts':_0x324e75};}[a0_0x223e12(0xe7)](){const _0x2dced8=a0_0x223e12;return this[_0x2dced8(0x19b)]['hasConflicts']();}[a0_0x223e12(0x1ec)](){const _0x1ec0f6=a0_0x223e12,_0x2007d1=[];for(const _0x5e6a3c of this[_0x1ec0f6(0x19b)][_0x1ec0f6(0x21e)]()['values']()){_0x2007d1[_0x1ec0f6(0x27f)](..._0x5e6a3c[_0x1ec0f6(0x233)]());}return _0x2007d1;}[a0_0x223e12(0xfe)](_0x1270d6){const _0x560f7c=a0_0x223e12;if(!_0x1270d6||Object['keys'](_0x1270d6)[_0x560f7c(0xee)]===0x0)return this[_0x560f7c(0x206)][_0x560f7c(0xf9)]();const _0x9a5cdb=this[_0x560f7c(0x15a)]()[_0x560f7c(0x1b5)](_0x865b63=>_0x865b63[_0x560f7c(0x1ba)]());return generateDatasetsConfig(_0x9a5cdb,_0x1270d6);}[a0_0x223e12(0x7e)](_0x55fed5){const _0x58bb86=a0_0x223e12,_0x3308bd=this[_0x58bb86(0xfe)](_0x55fed5);return datasetsConfigToArray(_0x3308bd);}[a0_0x223e12(0x25f)](){const _0xb474f5=a0_0x223e12;return this[_0xb474f5(0x15a)]()['map'](_0x1d84fb=>_0x1d84fb[_0xb474f5(0xf9)]());}[a0_0x223e12(0x25b)](){const _0x3f7275=a0_0x223e12;return{'total':this['getCount'](),'virtualTables':this[_0x3f7275(0x1b2)]()[_0x3f7275(0xee)],'realTables':this[_0x3f7275(0x1ce)]()['length'],'hasConflicts':this[_0x3f7275(0xe7)](),'conflictCount':this[_0x3f7275(0x1ec)]()[_0x3f7275(0xee)]};}[a0_0x223e12(0x9c)](){const _0x43f4c2=a0_0x223e12;return this['getItems']()[_0x43f4c2(0x1b5)](_0x1b8a5a=>_0x1b8a5a[_0x43f4c2(0x1ba)]());}[a0_0x223e12(0x1ba)](){const _0x2ed703=a0_0x223e12;return this[_0x2ed703(0x9c)]();}['toString'](){const _0x165e6a=a0_0x223e12;return _0x165e6a(0x1bd)+this[_0x165e6a(0xf3)]()+_0x165e6a(0x242)+this[_0x165e6a(0x19b)][_0x165e6a(0x14f)]+_0x165e6a(0x1a2);}static['fromApiResponse'](_0x387b62){return new DatasetList(_0x387b62);}static['initDataset'](_0x27c200){return new DatasetList(_0x27c200);}static[a0_0x223e12(0x1e7)](){return new DatasetList([]);}}function operationToAnalysis(_0x4f9891){const _0x28da3d=a0_0x223e12;return{'name':_0x4f9891[_0x28da3d(0x213)](),'displayName':_0x4f9891[_0x28da3d(0x7b)](),'type':_0x4f9891['getType'](),'method':_0x4f9891[_0x28da3d(0xb8)](),'path':_0x4f9891['getPath'](),'fullUrl':_0x4f9891[_0x28da3d(0x10a)](),'requestFields':_0x4f9891[_0x28da3d(0x187)](),'requestParams':_0x4f9891[_0x28da3d(0x19c)](),'responseSchema':_0x4f9891[_0x28da3d(0xbe)](),'requestExample':_0x4f9891[_0x28da3d(0xd5)](),'responseExample':_0x4f9891[_0x28da3d(0x12d)](),'enabled':_0x4f9891[_0x28da3d(0x12e)]()};}function operationsToAnalyses(_0x496b34){const _0x55f9d7=a0_0x223e12;return _0x496b34[_0x55f9d7(0x1b5)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x223e12(0x1d2)];[a0_0x223e12(0x140)](){const _0x2690cf=a0_0x223e12;return this[_0x2690cf(0x172)]();}[a0_0x223e12(0x219)](_0x4a5f6a=![]){const _0x465353=a0_0x223e12;if(!_0x4a5f6a&&this[_0x465353(0x1d2)])return this['_operationAnalyses'];const _0x31384a=this[_0x465353(0x1b9)]();return this[_0x465353(0x1d2)]=operationsToAnalyses(_0x31384a),this[_0x465353(0x1d2)];}['getEnabledOperationAnalyses'](){return this['getFilteredOperationAnalyses']({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x223e12(0x16a)](_0x455ba4={}){const _0x570e4c=a0_0x223e12;let _0x31136c=this['getOperationAnalyses']();return!_0x455ba4[_0x570e4c(0x275)]&&(_0x31136c=_0x31136c[_0x570e4c(0x131)](_0x270c48=>_0x270c48[_0x570e4c(0xbb)])),_0x455ba4[_0x570e4c(0xc3)]!==![]&&(_0x31136c=filterApiOperations(_0x31136c)),_0x455ba4[_0x570e4c(0x190)]&&(_0x31136c=_0x31136c['filter'](_0x455ba4['customFilter'])),_0x31136c=this[_0x570e4c(0x26a)](_0x31136c),_0x31136c;}[a0_0x223e12(0x26a)](_0x47aaa5){const _0x5d77ad=a0_0x223e12,_0x123481=_0x47aaa5['find'](_0x33d14f=>_0x33d14f[_0x5d77ad(0x1e1)]==='filter'),_0x459468=_0x47aaa5[_0x5d77ad(0x131)](_0x130bd4=>_0x130bd4[_0x5d77ad(0x1e1)]!==_0x5d77ad(0x131));return _0x123481?[_0x123481,..._0x459468]:_0x459468;}[a0_0x223e12(0x27c)](_0x42879e){const _0x438e7c=a0_0x223e12,_0x2a965f=this['getOperationAnalyses']();return _0x2a965f[_0x438e7c(0x263)](_0x5ddae9=>_0x5ddae9[_0x438e7c(0x1e1)]===_0x42879e);}[a0_0x223e12(0x16e)](_0x275d8d){const _0x494899=a0_0x223e12,_0x2ae302=this['getOperationAnalyses']();return _0x2ae302[_0x494899(0x131)](_0x3af671=>_0x3af671['type']===_0x275d8d);}['getOperationRequestFields'](_0x4ab96f){const _0x5711c1=a0_0x223e12,_0x4d24ca=this['getOperation'](_0x4ab96f);if(!_0x4d24ca)return[];const _0x421e43=_0x4d24ca['getRequestFields'](),_0x24c3be=this[_0x5711c1(0x158)]();return _0x24c3be[_0x5711c1(0x131)](_0x9334db=>_0x421e43[_0x5711c1(0x26c)](_0x9334db[_0x5711c1(0x7a)]));}[a0_0x223e12(0x250)](_0x5e5c73,_0x44b994){const _0x166a4a=a0_0x223e12,_0x48f850=this['getOperationAnalysis'](_0x5e5c73);if(!_0x48f850)return null;const _0xed7fc9=this['getOperation'](_0x48f850[_0x166a4a(0x1e1)]);if(!_0xed7fc9)throw new Error(_0x166a4a(0x72)+_0x48f850[_0x166a4a(0x1e1)]);const _0x594332=this[_0x166a4a(0x271)](),_0x5ba759=this[_0x166a4a(0x1d5)](),_0x3c4296=_0xed7fc9[_0x166a4a(0x165)](_0x594332,{'useFullExample':_0x44b994?.['useFullExample']}),_0x3176f0=_0xed7fc9[_0x166a4a(0x13f)](_0x594332);return{'operation':_0x48f850,'operationInstance':_0xed7fc9,'basicInfo':{'name':_0x48f850['name'],'displayName':_0x48f850[_0x166a4a(0x8e)],'method':_0x48f850[_0x166a4a(0x6f)],'path':_0x48f850[_0x166a4a(0x8b)],'fullUrl':_0x48f850[_0x166a4a(0x1ac)],'enabled':_0x48f850[_0x166a4a(0xbb)]},'sdkCall':{'datasetCode':this[_0x166a4a(0x135)],'datasetSDKKey':_0x594332,'tableName':_0x5ba759,'operationName':_0x48f850['name'],'params':_0x48f850[_0x166a4a(0x1f7)],'code':_0x3c4296},'usageExample':_0x3176f0};}['getDatasetDocMeta'](_0x5605a2={}){const _0x2cd290=a0_0x223e12,_0x1b9b07=this[_0x2cd290(0x16a)](_0x5605a2),_0x242794=this['getStats'](),_0xdbd218=_0x1b9b07['map'](_0x99c901=>this[_0x2cd290(0x250)](_0x99c901[_0x2cd290(0x1e1)]))[_0x2cd290(0x131)](_0x22bad2=>_0x22bad2!==null),_0x501f17=this[_0x2cd290(0x271)](),_0x916eed={'name':this[_0x2cd290(0x1e1)],'code':this[_0x2cd290(0x135)],'tableName':this[_0x2cd290(0x1d5)](),'datasetSDKKey':_0x501f17,'tableKey':this[_0x2cd290(0x172)](),'source':this[_0x2cd290(0x18d)],'fieldCount':_0x242794['fieldCount'],'businessFieldCount':_0x242794[_0x2cd290(0x23e)],'systemFieldCount':_0x242794[_0x2cd290(0x251)],'operationCount':_0x242794['operationCount'],'enabledOperationCount':_0xdbd218[_0x2cd290(0xee)]};return{'title':this[_0x2cd290(0x1e1)]+_0x2cd290(0xc7),'datasetInfo':_0x916eed,'operations':_0xdbd218};}['getOperationsOverviewData'](_0x5c77b9){const _0x22984c=a0_0x223e12,_0x336e61=[{'index':_0x22984c(0x1e1),'label':_0x22984c(0x21b)},{'index':_0x22984c(0x8e),'label':_0x22984c(0x90)},{'index':_0x22984c(0x6f),'label':'方法'},{'index':_0x22984c(0xd7),'label':'SDK\x20调用'},{'index':'path','label':_0x22984c(0x223)},{'index':_0x22984c(0x226),'label':_0x22984c(0xd6)}],_0x1ef7f4=_0x5c77b9[_0x22984c(0x1b5)](_0x118556=>{const _0x33bf67=_0x22984c,{basicInfo:_0xf32975,sdkCall:_0x1db413}=_0x118556,_0x126d61=_0x1db413['code'][_0x33bf67(0x114)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,'');return{'displayName':_0xf32975['displayName'],'name':_0xf32975[_0x33bf67(0x1e1)],'method':_0xf32975['method'],'path':_0xf32975['path'],'sdkCall':_0x126d61,'sdkCallCode':_0x1db413['code']};});return{'tableColumns':_0x336e61,'tableData':_0x1ef7f4};}[a0_0x223e12(0x237)](_0x2e0cbe){const _0x2a4464=a0_0x223e12,_0x421585=this[_0x2a4464(0x27c)](_0x2e0cbe);if(!_0x421585)return null;return{'name':_0x421585[_0x2a4464(0x1e1)],'displayName':_0x421585[_0x2a4464(0x8e)],'type':_0x421585[_0x2a4464(0x9a)],'method':_0x421585[_0x2a4464(0x6f)],'path':_0x421585['path'],'enabled':_0x421585[_0x2a4464(0xbb)],'requestFieldCount':_0x421585[_0x2a4464(0x1f7)][_0x2a4464(0xee)],'hasResponseSchema':_0x421585[_0x2a4464(0x25d)]!==null};}[a0_0x223e12(0x188)](_0x5a8e1f={}){const _0x5b2db9=a0_0x223e12,_0xf1e51=this[_0x5b2db9(0x16a)](_0x5a8e1f);return{'datasetName':this[_0x5b2db9(0x1e1)],'datasetCode':this[_0x5b2db9(0x135)],'tableName':this[_0x5b2db9(0x1d5)](),'totalOperations':_0xf1e51[_0x5b2db9(0xee)],'operations':_0xf1e51[_0x5b2db9(0x1b5)](_0x3bc123=>({'name':_0x3bc123[_0x5b2db9(0x1e1)],'displayName':_0x3bc123[_0x5b2db9(0x8e)],'type':_0x3bc123[_0x5b2db9(0x9a)],'method':_0x3bc123[_0x5b2db9(0x6f)],'path':_0x3bc123[_0x5b2db9(0x8b)],'requestFieldCount':_0x3bc123[_0x5b2db9(0x1f7)][_0x5b2db9(0xee)]}))};}[a0_0x223e12(0x93)](_0x694099){const _0xc13eb2=a0_0x223e12,_0x42a393={};return Object[_0xc13eb2(0x1dd)](_0x694099)[_0xc13eb2(0x265)](([_0x48c641,_0x22fb59])=>{const _0x16332a=_0xc13eb2;Array[_0x16332a(0xc8)](_0x22fb59)&&_0x22fb59[_0x16332a(0xee)]>0x0?_0x42a393[_0x48c641]=_0x22fb59[0x0]:_0x42a393[_0x48c641]=_0x22fb59;}),_0x42a393;}['getOperationStats'](){const _0x5de55c=a0_0x223e12,_0x5c3c5c=this[_0x5de55c(0x219)](),_0x127837=_0x5c3c5c[_0x5de55c(0x131)](_0x271ea0=>_0x271ea0['enabled']);return{'total':_0x5c3c5c[_0x5de55c(0xee)],'enabled':_0x127837[_0x5de55c(0xee)],'disabled':_0x5c3c5c[_0x5de55c(0xee)]-_0x127837[_0x5de55c(0xee)],'byType':this[_0x5de55c(0x105)](_0x127837),'byMethod':this['getOperationCountByMethod'](_0x127837)};}[a0_0x223e12(0x105)](_0x4cd1c8){const _0x5f2394=a0_0x223e12,_0x283806={};return _0x4cd1c8[_0x5f2394(0x265)](_0x289c0c=>{const _0x3ff2eb=_0x5f2394;_0x289c0c['type']&&(_0x283806[_0x289c0c[_0x3ff2eb(0x9a)]]=(_0x283806[_0x289c0c['type']]||0x0)+0x1);}),_0x283806;}[a0_0x223e12(0x15d)](_0x552b74){const _0x3ed95c=a0_0x223e12,_0x1a66fe={};return _0x552b74[_0x3ed95c(0x265)](_0x1bedae=>{const _0x4e89bf=_0x3ed95c;_0x1a66fe[_0x1bedae[_0x4e89bf(0x6f)]]=(_0x1a66fe[_0x1bedae[_0x4e89bf(0x6f)]]||0x0)+0x1;}),_0x1a66fe;}['supportsCRUD'](){const _0x58e5c4=a0_0x223e12,_0x2d60ae=this[_0x58e5c4(0x143)](),_0x712dfc=new Set(_0x2d60ae['map'](_0x48fd24=>_0x48fd24[_0x58e5c4(0x9a)])[_0x58e5c4(0x131)](Boolean));return _0x712dfc[_0x58e5c4(0x125)](_0x58e5c4(0x126))&&_0x712dfc[_0x58e5c4(0x125)]('getList')&&_0x712dfc[_0x58e5c4(0x125)](_0x58e5c4(0x14c))&&_0x712dfc[_0x58e5c4(0x125)](_0x58e5c4(0xb4));}[a0_0x223e12(0x207)](){const _0x3397af=a0_0x223e12,_0xf6af0a=this['getEnabledOperationAnalyses'](),_0x123311=new Set(_0xf6af0a[_0x3397af(0x1b5)](_0x446193=>_0x446193['type'])[_0x3397af(0x131)](Boolean)),_0x5711ed=['create',_0x3397af(0x119),_0x3397af(0x14c),_0x3397af(0xb4)];return _0x5711ed[_0x3397af(0x131)](_0x4f32a2=>!_0x123311['has'](_0x4f32a2));}[a0_0x223e12(0x26b)](_0x303fdf,_0x2cf557,_0x361ade){const _0x369217=a0_0x223e12,{includeRequestExample:includeRequestExample=!![],includeResponseExample:includeResponseExample=![],includeUsageExample:includeUsageExample=!![]}=_0x361ade||{},_0x2a8062=this[_0x369217(0x250)](_0x303fdf,{'useFullExample':includeRequestExample});if(!_0x2a8062)return null;let _0x570c1b='';_0x570c1b+=_0x369217(0x107)+_0x2a8062[_0x369217(0x17b)][_0x369217(0x8e)]+'\x0a//\x20Call\x20the\x20'+_0x2a8062['operation'][_0x369217(0x1e1)]+_0x369217(0x155)+_0x2a8062['sdkCall'][_0x369217(0x7a)];if(includeResponseExample&&_0x2a8062[_0x369217(0x17b)][_0x369217(0x141)]?.[_0x369217(0x149)]){const _0x218c56=typeof _0x2a8062[_0x369217(0x17b)][_0x369217(0x141)]['data']===_0x369217(0x10f)?_0x2a8062[_0x369217(0x17b)][_0x369217(0x141)][_0x369217(0x149)]:JSON[_0x369217(0xf2)](_0x2a8062[_0x369217(0x17b)]['responseExample'][_0x369217(0x149)],null,0x2);_0x570c1b+=_0x369217(0x107)+_0x2a8062[_0x369217(0x17b)][_0x369217(0x1e1)]+_0x369217(0x166)+_0x218c56;}return includeUsageExample&&_0x2a8062['usageExample']&&(_0x570c1b+=_0x369217(0x185)+_0x2a8062['usageExample'][_0x369217(0x1a0)]+'\x0a\x0a'+_0x2a8062[_0x369217(0xb2)][_0x369217(0x1e3)]),_0x570c1b;}[a0_0x223e12(0x15c)](_0x2e3cbf){const _0x2d66f3=a0_0x223e12,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x2e3cbf||{},_0x20dd2b=this[_0x2d66f3(0x143)]();return _0x20dd2b[_0x2d66f3(0x1b5)](_0x5ce148=>this[_0x2d66f3(0x26b)](_0x5ce148[_0x2d66f3(0x1e1)],this[_0x2d66f3(0x135)],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x2d66f3(0x167)]('\x0a');}['getSDKInitData'](_0x3bec1f){const _0x395827=a0_0x223e12,_0x5cd88c=this[_0x395827(0x271)]();return{'appCode':_0x3bec1f,'datasetSDKKey':_0x5cd88c,'tableKey':this[_0x395827(0x172)](),'alias':this[_0x395827(0x140)](),'tableName':this[_0x395827(0x1d5)](),'datasetCode':this[_0x395827(0x135)]};}[a0_0x223e12(0x1be)](_0x43d9a2,_0x535bbf=a0_0x223e12(0x194),_0x32c188=![]){const _0x129142=a0_0x223e12,{alias:_0x416481,tableName:_0x396071,datasetCode:_0x3efb2e}=this[_0x129142(0x21d)](_0x43d9a2),_0x8a1ec3=_0x535bbf==='daily'?_0x129142(0xc6)+_0x535bbf+'\x27,':'',_0x5162aa=_0x32c188?_0x129142(0x1a7):'';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'+_0x43d9a2+'\x27,'+_0x5162aa+_0x8a1ec3+_0x129142(0x229)+_0x396071+_0x129142(0x1a9)+_0x3efb2e+'\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27'+_0x416481+'\x27\x20\x20//\x20人类友好的别名,可通过\x20client.models.'+_0x416481+_0x129142(0xb6);}[a0_0x223e12(0xcd)](){const _0x5ebe64=a0_0x223e12,_0xae0789=this[_0x5ebe64(0x271)](),_0x396041=this[_0x5ebe64(0x140)]();return _0x5ebe64(0x21a)+_0xae0789+'.filter({...});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会产生命名冲突\x0a-\x20适合程序自动生成代码\x0a-\x20与\x20datasetCode\x20直接对应,便于追溯\x0a\x0a###\x202.\x20别名方式(推荐用于人工编码场景)\x0a\x0a使用\x20camelCase\x20格式的别名,更加人类友好:\x0a\x0a```javascript\x0a//\x20别名访问方式(需要在\x20registerModels\x20时配置\x20alias)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x396041+'.filter({...});\x0a```\x0a\x0a**优点**:\x0a-\x20可读性强,符合编程命名习惯\x0a-\x20便于记忆和手工编写\x0a-\x20代码更加简洁美观\x0a\x0a**注意**:使用别名方式需要在\x20`registerModels`\x20时配置\x20`alias`\x20字段。\x0a';}[a0_0x223e12(0x144)](){const _0x4592b0=a0_0x223e12,_0x14fcb3=this[_0x4592b0(0x236)]();return _0x4592b0(0xdc)+this[_0x4592b0(0x1e1)]+',\x20'+this['datasetCode']+',\x20'+this['getFieldCount']()+_0x4592b0(0x202)+_0x14fcb3['enabled']+'/'+_0x14fcb3['total']+_0x4592b0(0x6e);}}var VERSION='1.0.0-beta.8';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,FieldList,Field,FILTER_OPERATORS,DrivenDataDetailPlus,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
1
|
+
const a0_0x53faec=a0_0x31f3;(function(_0x2fd913,_0x380336){const _0x59cc21=a0_0x31f3,_0x3f0215=_0x2fd913();while(!![]){try{const _0x25789b=parseInt(_0x59cc21(0x200))/0x1*(parseInt(_0x59cc21(0x1c1))/0x2)+parseInt(_0x59cc21(0x2c8))/0x3*(parseInt(_0x59cc21(0x1a9))/0x4)+-parseInt(_0x59cc21(0x2a7))/0x5+parseInt(_0x59cc21(0xbb))/0x6+-parseInt(_0x59cc21(0x13d))/0x7*(-parseInt(_0x59cc21(0xe0))/0x8)+-parseInt(_0x59cc21(0x11c))/0x9+parseInt(_0x59cc21(0x1ba))/0xa*(-parseInt(_0x59cc21(0xd6))/0xb);if(_0x25789b===_0x380336)break;else _0x3f0215['push'](_0x3f0215['shift']());}catch(_0x1a57bf){_0x3f0215['push'](_0x3f0215['shift']());}}}(a0_0x3e91,0xad2e2));function toCamelCase(_0x7ff7d8){const _0x476981=a0_0x31f3;if(!_0x7ff7d8)return'';return _0x7ff7d8[_0x476981(0x1b7)](/[_-]/)[_0x476981(0x254)]((_0x57ac37,_0x1a7782)=>{const _0x8aef82=_0x476981;if(_0x1a7782===0x0)return _0x57ac37[_0x8aef82(0x17a)]();return _0x57ac37[_0x8aef82(0x12a)](0x0)[_0x8aef82(0x2c7)]()+_0x57ac37['slice'](0x1)['toLowerCase']();})[_0x476981(0x2b1)]('');}function toPascalCase(_0x3f0659){const _0x39411e=a0_0x31f3;if(!_0x3f0659)return'';const _0x23fac1=toCamelCase(_0x3f0659);return _0x23fac1['charAt'](0x0)['toUpperCase']()+_0x23fac1[_0x39411e(0x10d)](0x1);}function toSnakeCase(_0x14b811){const _0x51c821=a0_0x31f3;if(!_0x14b811)return'';return _0x14b811[_0x51c821(0xf8)](/([A-Z])/g,_0x51c821(0x170))[_0x51c821(0x17a)]()['replace'](/^_/,'');}function toKebabCase(_0x4bf4e9){const _0x15bb78=a0_0x31f3;if(!_0x4bf4e9)return'';return _0x4bf4e9[_0x15bb78(0xf8)](/([A-Z])/g,_0x15bb78(0xe2))[_0x15bb78(0x17a)]()[_0x15bb78(0xf8)](/^-/,'');}function normalizeFieldName(_0x2127c1){const _0x5240e8=a0_0x31f3;if(!_0x2127c1)return'';return _0x2127c1[_0x5240e8(0x129)]()['replace'](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')[_0x5240e8(0xf8)](/_+/g,'_')[_0x5240e8(0xf8)](/^_|_$/g,'');}function getTableName(_0x28ef83){const _0x316971=a0_0x31f3;if(!_0x28ef83)return _0x316971(0x120);if(_0x28ef83[_0x316971(0x221)]?.[_0x316971(0x258)])return _0x28ef83[_0x316971(0x221)]['tableName'];const _0x3ec48a=_0x28ef83[_0x316971(0x29c)]||_0x28ef83[_0x316971(0x104)]||_0x28ef83[_0x316971(0xcf)];if(_0x3ec48a)return generateTableNameFromCode(_0x3ec48a);return'dataset_000000';}function getTableKey(_0x11dd6d){const _0x1ede90=a0_0x31f3;if(typeof _0x11dd6d===_0x1ede90(0xe8))return toCamelCase(_0x11dd6d);const _0x2dd91f=getTableName(_0x11dd6d);return toCamelCase(_0x2dd91f);}function generateTableNameFromCode(_0x2a39bc){const _0x28cc2d=a0_0x31f3;if(!_0x2a39bc)return _0x28cc2d(0x120);const _0x2b282d=_0x2a39bc[_0x28cc2d(0x10d)](-0x6)[_0x28cc2d(0x16b)](0x6,'0');return'dataset_'+_0x2b282d;}function isVirtualTableName(_0x3da43c){const _0x337420=a0_0x31f3;return/^dataset_[a-zA-Z0-9]{6}$/[_0x337420(0x186)](_0x3da43c);}function generateModelKeyFromCode(_0x5ae07d){const _0x27779d=a0_0x31f3;if(!_0x5ae07d)return _0x27779d(0x1d2);return _0x27779d(0x220)+_0x5ae07d;}function getDbName(_0x12d347){const _0x357596=a0_0x31f3;return _0x12d347[_0x357596(0x221)]?.['dbName']||_0x12d347[_0x357596(0x221)]?.['dblinkInfoDTO']?.[_0x357596(0x27d)]||'';}function generateDatasetsConfig(_0x361a20,_0x374d54={}){const _0x4e1bdd=a0_0x31f3,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x3b7bdd,filter:_0x3344eb}=_0x374d54,_0x4d473a=_0x3344eb?_0x361a20[_0x4e1bdd(0x1c6)](_0x3344eb):_0x361a20,_0x203c70=new Map();for(const _0x3b611d of _0x4d473a){const _0x2d8ff9=getTableName(_0x3b611d),_0x307133=getDbName(_0x3b611d);!_0x203c70[_0x4e1bdd(0x287)](_0x2d8ff9)&&_0x203c70['set'](_0x2d8ff9,new Set()),_0x203c70['get'](_0x2d8ff9)[_0x4e1bdd(0x169)](_0x307133);}const _0x401637=new Set();for(const [_0x2d1465,_0x35b391]of _0x203c70){_0x35b391[_0x4e1bdd(0x286)]>0x1&&_0x401637[_0x4e1bdd(0x169)](_0x2d1465);}const _0x548b23={},_0x1f9941=new Set();for(const _0x52f755 of _0x4d473a){const _0x15d026=getTableName(_0x52f755);if(enableDeduplication&&_0x1f9941[_0x4e1bdd(0x287)](_0x15d026)){console['warn'](_0x4e1bdd(0x10e)+_0x15d026+_0x4e1bdd(0x1ac)+_0x52f755['name']+'\x20('+_0x52f755['datasetCode']+')');continue;}_0x1f9941['add'](_0x15d026);const _0x3a9299=_0x3b7bdd?_0x3b7bdd(_0x15d026,_0x52f755):getTableKey(_0x15d026),_0x11cf3d=getDbName(_0x52f755),_0x1ccf58=_0x401637[_0x4e1bdd(0x287)](_0x15d026)&&_0x11cf3d?getTableKey(_0x11cf3d)+'_'+_0x3a9299:_0x3a9299;_0x548b23[_0x3a9299]={'key':_0x3a9299,'alias':_0x1ccf58,'tableName':_0x15d026,'datasetCode':_0x52f755[_0x4e1bdd(0x29c)],'name':_0x52f755['name'],'id':_0x52f755['id'],'dbName':_0x11cf3d};}return _0x548b23;}function generateFullDatasetsConfig(_0x39cf12,_0x2595d4={}){const _0xa387a6=a0_0x31f3,{filter:_0x3bcd26,datasetNameGenerator:_0x47eca2}=_0x2595d4,_0x102936=_0x3bcd26?_0x39cf12[_0xa387a6(0x1c6)](_0x3bcd26):_0x39cf12,_0x52eb4e=new Map();for(const _0x295eaa of _0x102936){const _0x4847ef=getTableName(_0x295eaa),_0x2e30f4=getDbName(_0x295eaa);!_0x52eb4e['has'](_0x4847ef)&&_0x52eb4e['set'](_0x4847ef,new Set()),_0x52eb4e['get'](_0x4847ef)[_0xa387a6(0x169)](_0x2e30f4);}const _0xf76ba=new Set();for(const [_0x4e019a,_0x3e8d87]of _0x52eb4e){_0x3e8d87[_0xa387a6(0x286)]>0x1&&_0xf76ba[_0xa387a6(0x169)](_0x4e019a);}const _0x59c256=groupByTableName(_0x102936),_0x3cc481={};for(const [_0x2e4fa9,_0x410305]of Object[_0xa387a6(0x1f0)](_0x59c256)){if(_0x410305[_0xa387a6(0x12e)]===0x1){const _0x4e6337=_0x410305[0x0],_0x37725f=_0x47eca2?_0x47eca2(_0x2e4fa9,_0x4e6337):getTableKey(_0x2e4fa9),_0x510322=getDbName(_0x4e6337),_0x3847f1=_0xf76ba[_0xa387a6(0x287)](_0x2e4fa9)&&_0x510322?getTableKey(_0x510322)+'_'+_0x37725f:_0x37725f;_0x3cc481[_0x37725f]={'key':_0x37725f,'alias':_0x3847f1,'tableName':_0x2e4fa9,'datasetCode':_0x4e6337[_0xa387a6(0x29c)],'name':_0x4e6337[_0xa387a6(0x24e)],'id':_0x4e6337['id'],'dbName':_0x510322};}else{const _0x15e2e3=[..._0x410305][_0xa387a6(0x20f)]((_0x14da6a,_0x58e1d5)=>{const _0x6501d4=Number(_0x14da6a['id'])||0x0,_0xc49b5d=Number(_0x58e1d5['id'])||0x0;return _0xc49b5d-_0x6501d4;});_0x15e2e3['forEach']((_0x12067a,_0x43a6d4)=>{const _0x41417=_0xa387a6,_0x302faf=_0x47eca2?_0x47eca2(_0x2e4fa9,_0x12067a):getTableKey(_0x2e4fa9),_0x508eb4=_0x43a6d4===0x0?_0x302faf:_0x302faf+'_'+_0x43a6d4,_0x21b1e8=getDbName(_0x12067a),_0xb0636c=_0xf76ba[_0x41417(0x287)](_0x2e4fa9)&&_0x21b1e8?getTableKey(_0x21b1e8)+'_'+_0x508eb4:_0x508eb4;_0x3cc481[_0x508eb4]={'key':_0x508eb4,'alias':_0xb0636c,'tableName':_0x2e4fa9,'datasetCode':_0x12067a['datasetCode'],'name':_0x12067a[_0x41417(0x24e)],'id':_0x12067a['id'],'dbName':_0x21b1e8};});}}return _0x3cc481;}function detectTableNameConflicts(_0x49f2a4){const _0x5d3fb6=a0_0x31f3,_0x33fd43={};for(const _0x439d85 of _0x49f2a4){const _0x5425cf=getTableName(_0x439d85);!_0x33fd43[_0x5425cf]&&(_0x33fd43[_0x5425cf]=[]),_0x33fd43[_0x5425cf][_0x5d3fb6(0x1fa)](_0x439d85);}const _0x55e2b1={};for(const [_0x1efe83,_0xbd6c8a]of Object[_0x5d3fb6(0x1f0)](_0x33fd43)){_0xbd6c8a[_0x5d3fb6(0x12e)]>0x1&&(_0x55e2b1[_0x1efe83]=_0xbd6c8a);}return{'hasConflicts':Object['keys'](_0x55e2b1)[_0x5d3fb6(0x12e)]>0x0,'conflicts':_0x55e2b1};}function createDatasetNameMap(_0x5491e6){const _0x4903bd=a0_0x31f3,_0x4a8a57={};for(const [_0x198a33,_0xdeb36d]of Object[_0x4903bd(0x1f0)](_0x5491e6)){_0x4a8a57[_0x198a33]=_0xdeb36d[_0x4903bd(0x29c)]||'';}return _0x4a8a57;}function groupByTableName(_0x47682a){const _0x7e4ed7={};for(const _0xb4209 of _0x47682a){const _0x4793a4=getTableName(_0xb4209);!_0x7e4ed7[_0x4793a4]&&(_0x7e4ed7[_0x4793a4]=[]),_0x7e4ed7[_0x4793a4]['push'](_0xb4209);}return _0x7e4ed7;}function datasetsConfigToArray(_0x1ec172){const _0xdf587a=a0_0x31f3;return Object[_0xdf587a(0x115)](_0x1ec172);}function adaptDrivenDataDetail(_0x21942d){const _0xbdf117=a0_0x31f3;return{'id':_0x21942d[_0xbdf117(0x1ee)],'name':_0x21942d['name'],'datasetCode':_0x21942d[_0xbdf117(0xcf)],'dbtableConfig':_0x21942d[_0xbdf117(0x221)],'source':_0x21942d[_0xbdf117(0x2a1)],'version':_0x21942d['version'],'extend':_0x21942d['extend'],'properties':_0x21942d[_0xbdf117(0x1a0)],'operations':_0x21942d[_0xbdf117(0x273)]};}function adaptDrivenDataDetails(_0x5af262){const _0x166f6a=a0_0x31f3;return _0x5af262[_0x166f6a(0x254)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x37d48b){const _0x4989bc=a0_0x31f3;if(!_0x37d48b[_0x4989bc(0xef)]||!_0x37d48b['data'])throw new Error(_0x4989bc(0x165)+(_0x37d48b[_0x4989bc(0xed)]||_0x37d48b[_0x4989bc(0x238)]));return adaptDrivenDataDetail(_0x37d48b[_0x4989bc(0xd5)]);}function extractDatasetsFromListResponse(_0x423de3){const _0x16daf7=a0_0x31f3;if(!_0x423de3[_0x16daf7(0xef)]||!_0x423de3[_0x16daf7(0xd5)]?.['tableData'])throw new Error(_0x16daf7(0xca)+(_0x423de3[_0x16daf7(0xed)]||_0x423de3[_0x16daf7(0x238)]));return _0x423de3[_0x16daf7(0xd5)][_0x16daf7(0x2c9)][_0x16daf7(0x254)](_0x355b6d=>({..._0x355b6d,'datasetCode':_0x355b6d[_0x16daf7(0x104)]||_0x355b6d['datasetCode']}));}function isDrivenDataDetail(_0x3e9638){const _0x279592=a0_0x31f3;return Boolean(_0x3e9638&&typeof _0x3e9638[_0x279592(0xcf)]===_0x279592(0xe8));}function smartAdapt(_0xd00e07){const _0x4e095b=a0_0x31f3;if(isDrivenDataDetail(_0xd00e07))return adaptDrivenDataDetail(_0xd00e07);if(_0xd00e07['datasetCode'])return _0xd00e07;if(_0xd00e07[_0x4e095b(0x104)])return{..._0xd00e07,'datasetCode':_0xd00e07[_0x4e095b(0x104)]};return _0xd00e07;}var DatasetOperationType;(_0x369370=>{const _0x985819=a0_0x31f3;_0x369370['GET_LIST']=_0x985819(0xb6),_0x369370[_0x985819(0x28e)]=_0x985819(0x1d6),_0x369370['GET_ONE_ORIGIN']='getOneOrigin',_0x369370['GET_ONE_UPDATE']=_0x985819(0xf3),_0x369370[_0x985819(0x2b2)]=_0x985819(0x1bf),_0x369370[_0x985819(0x2cc)]=_0x985819(0x182),_0x369370['DELETE']=_0x985819(0xb4),_0x369370[_0x985819(0x29d)]=_0x985819(0x29b),_0x369370[_0x985819(0xce)]=_0x985819(0x1f7),_0x369370[_0x985819(0x105)]=_0x985819(0x159),_0x369370[_0x985819(0x1b4)]='getUploadFileScript',_0x369370[_0x985819(0x108)]=_0x985819(0x1bb),_0x369370[_0x985819(0x1e0)]=_0x985819(0x199),_0x369370[_0x985819(0x23a)]=_0x985819(0x160),_0x369370[_0x985819(0x100)]=_0x985819(0x259);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x53faec(0xb6)]:a0_0x53faec(0x2cf),[a0_0x53faec(0x1d6)]:a0_0x53faec(0xd2),['getOneOrigin']:a0_0x53faec(0x1c8),[a0_0x53faec(0xf3)]:a0_0x53faec(0x17f),[a0_0x53faec(0x1bf)]:'创建',[a0_0x53faec(0x182)]:'更新',['delete']:'删除',['getSelectOptions']:a0_0x53faec(0x10a),[a0_0x53faec(0x1f7)]:a0_0x53faec(0x18f),['excelExport']:a0_0x53faec(0x298),[a0_0x53faec(0x1eb)]:'获取上传脚本',['createImport']:a0_0x53faec(0x275),[a0_0x53faec(0x199)]:a0_0x53faec(0x24f),['taskInfo']:a0_0x53faec(0xc9),[a0_0x53faec(0x259)]:a0_0x53faec(0x178)},API_BLACKLIST=[a0_0x53faec(0xb6),a0_0x53faec(0x1e7),a0_0x53faec(0xf3),a0_0x53faec(0x1f7)];function parseFieldExtend(_0x5b6d14){const _0xee2521=a0_0x53faec;if(!_0x5b6d14||typeof _0x5b6d14!==_0xee2521(0x172))return!![]&&console[_0xee2521(0xe3)]('[parseFieldExtend]\x20Invalid\x20field:',_0x5b6d14),{};if(!_0x5b6d14['extend'])return{};try{const _0x2860c1=typeof _0x5b6d14[_0xee2521(0x21f)]===_0xee2521(0xe8)?JSON['parse'](_0x5b6d14[_0xee2521(0x21f)]):_0x5b6d14[_0xee2521(0x21f)];if(typeof _0x2860c1!==_0xee2521(0x172)||_0x2860c1===null)return{};return _0x2860c1;}catch{return{};}}function isPrimaryKeyField(_0x5afc74,_0x2337ff){const _0x94e448=a0_0x53faec;if(!_0x5afc74||typeof _0x5afc74!=='object')return![];if(typeof _0x2337ff===_0x94e448(0xe8)&&_0x5afc74['code']===_0x2337ff)return!![];const _0x14ca69=parseFieldExtend(_0x5afc74);return Boolean(_0x14ca69['primaryKey']||_0x14ca69[_0x94e448(0x155)]);}function isSystemField(_0x311390){const _0x1a993e=a0_0x53faec,_0x193d68=parseFieldExtend(_0x311390);return Boolean(_0x193d68[_0x1a993e(0xe7)]);}function isRequiredField(_0x177afd){const _0x4e9235=a0_0x53faec,_0xe60c58=parseFieldExtend(_0x177afd);return Boolean(_0xe60c58[_0x4e9235(0x2a0)]);}function isAutoIncrementField(_0x11366f){const _0x196b61=a0_0x53faec,_0x388537=parseFieldExtend(_0x11366f);return Boolean(_0x388537[_0x196b61(0x1d5)]);}function isCreateTimeField(_0x160cc1){const _0x38d6a6=parseFieldExtend(_0x160cc1);return Boolean(_0x38d6a6['createDate']);}function isModifyTimeField(_0x56ba9a){const _0x264446=a0_0x53faec,_0x240179=parseFieldExtend(_0x56ba9a);return Boolean(_0x240179[_0x264446(0x13e)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':a0_0x53faec(0x1ec),'DATE':'日期','DATETIME':a0_0x53faec(0x137),'TIMESTAMP':a0_0x53faec(0x206),'SELECT':a0_0x53faec(0xdd),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0x53faec(0x2b8),'IMAGE':'图片','RICH_TEXT':'富文本','JSON':a0_0x53faec(0x164),'ARRAY':'数组'};function getDbTypeDisplay(_0x20cffd){const _0x2dafe6=a0_0x53faec;if(typeof _0x20cffd!==_0x2dafe6(0xe8))return!![]&&console[_0x2dafe6(0xe3)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x20cffd),String(_0x20cffd||'-');return DB_TYPE_DISPLAY_MAP[_0x20cffd]||_0x20cffd;}function formatDbType(_0x89c88e,_0x5991f2){const _0x1f117a=a0_0x53faec;if(!_0x89c88e||typeof _0x89c88e!==_0x1f117a(0xe8))return'-';if(!_0x5991f2||typeof _0x5991f2!=='number')return _0x89c88e;const _0x4ce4d0=[_0x1f117a(0x187),_0x1f117a(0x1fe),_0x1f117a(0x1c9),_0x1f117a(0x1ed)];if(_0x4ce4d0[_0x1f117a(0x16d)](_0x89c88e[_0x1f117a(0x2c7)]()))return _0x89c88e;return _0x89c88e+'('+_0x5991f2+')';}function parseOperationType(_0x3c1e6e){const _0x548591=a0_0x53faec;if(typeof _0x3c1e6e!==_0x548591(0xe8)){!![]&&console[_0x548591(0xe3)](_0x548591(0x2bf),_0x3c1e6e);return;}if(Object[_0x548591(0x115)](DatasetOperationType)['includes'](_0x3c1e6e))return _0x3c1e6e;const _0x19c349=Object[_0x548591(0x1f0)](OPERATION_TYPE_DISPLAY_NAME)[_0x548591(0x29f)](([_0x306867,_0x1a0a0e])=>_0x1a0a0e===_0x3c1e6e);return _0x19c349?_0x19c349[0x0]:undefined;}function shouldIncludeField(_0x52233b,_0x4bb3ad,_0x338977){const _0x38563e=a0_0x53faec,_0x54e301=parseFieldExtend(_0x52233b),_0x4687bf=isPrimaryKeyField(_0x52233b,_0x338977),_0x3c578c=Boolean(_0x54e301[_0x38563e(0xe7)]),_0x49a0c3=Boolean(_0x54e301[_0x38563e(0x1d5)]),_0x4d5b34=Boolean(_0x54e301[_0x38563e(0x1ab)]),_0x35cbc3=Boolean(_0x54e301[_0x38563e(0x13e)]);switch(_0x4bb3ad){case _0x38563e(0xb6):return!![];case'getOne':case'getOneOrigin':case _0x38563e(0xb4):return _0x4687bf;case _0x38563e(0x1bf):if(_0x4687bf&&_0x49a0c3)return![];if(_0x3c578c)return![];if(_0x4d5b34||_0x35cbc3)return![];return!![];case _0x38563e(0x182):case _0x38563e(0xf3):if(_0x4687bf)return!![];if(_0x3c578c)return![];if(_0x4d5b34||_0x35cbc3)return![];return!![];case _0x38563e(0x29b):return _0x52233b[_0x38563e(0x104)]===_0x38563e(0x104);default:return!![];}}function getFieldsForOperation(_0x3a99a6,_0x3ce2eb,_0x3d35a3){const _0x14991f=a0_0x53faec;if(!Array['isArray'](_0x3a99a6))return!![]&&console[_0x14991f(0xe3)](_0x14991f(0x2b0),_0x3a99a6),[];return _0x3a99a6[_0x14991f(0x1c6)](_0x5cc45a=>shouldIncludeField(_0x5cc45a,_0x3ce2eb,_0x3d35a3));}function isApiBlacklisted(_0x211187){const _0x59dad3=a0_0x53faec;if(typeof _0x211187!=='string')return!![]&&console[_0x59dad3(0xe3)](_0x59dad3(0x1a4),_0x211187),![];return API_BLACKLIST['includes'](_0x211187);}function filterApiOperations(_0x3d54a2){const _0x5de05e=a0_0x53faec;if(!Array[_0x5de05e(0x244)](_0x3d54a2))return!![]&&console[_0x5de05e(0xe3)](_0x5de05e(0xff),_0x3d54a2),[];return _0x3d54a2[_0x5de05e(0x1c6)](_0x3f5403=>_0x3f5403&&typeof _0x3f5403===_0x5de05e(0x172)&&!isApiBlacklisted(_0x3f5403[_0x5de05e(0x24e)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x53faec(0x1b3)](),'SELECT':({fieldInfo:_0x54500a})=>{const _0x8bd709=a0_0x53faec;if(_0x54500a?.[_0x8bd709(0xe9)]&&Array[_0x8bd709(0x244)](_0x54500a['options'])&&_0x54500a[_0x8bd709(0xe9)]['length']>0x0)return _0x54500a[_0x8bd709(0xe9)][0x0][_0x8bd709(0x27a)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x28c09f})=>{const _0x30a9f6=a0_0x53faec;if(_0x28c09f===_0x30a9f6(0x205))return 0x1;if(_0x28c09f===_0x30a9f6(0x18b))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x141ff7})=>{const _0x132b6b=a0_0x53faec;if(_0x141ff7&&typeof _0x141ff7===_0x132b6b(0xe8)){const _0x1ce63c=_0x141ff7[_0x132b6b(0x17a)]();if(_0x1ce63c[_0x132b6b(0x16d)]('邮箱')||_0x1ce63c[_0x132b6b(0x16d)](_0x132b6b(0x1b9)))return'user@example.com';if(_0x1ce63c[_0x132b6b(0x16d)]('电话')||_0x1ce63c[_0x132b6b(0x16d)]('手机')||_0x1ce63c[_0x132b6b(0x16d)](_0x132b6b(0x1dd)))return _0x132b6b(0x22c);if(_0x1ce63c[_0x132b6b(0x16d)]('地址')||_0x1ce63c[_0x132b6b(0x16d)](_0x132b6b(0x1ca)))return _0x132b6b(0x216);if(_0x1ce63c['includes']('姓名')||_0x1ce63c[_0x132b6b(0x16d)]('name'))return'张三';}return'示例文本';},'VARCHAR':({description:_0x42f555})=>TYPE_VALUE_GENERATORS[a0_0x53faec(0x187)]({'description':_0x42f555}),'CHAR':({description:_0x3a5bb4})=>TYPE_VALUE_GENERATORS[a0_0x53faec(0x187)]({'description':_0x3a5bb4}),'STRING':({fieldInfo:_0x95377c,description:_0x374024})=>{const _0x2e6b91=a0_0x53faec;if(_0x95377c?.[_0x2e6b91(0xb9)]&&typeof _0x95377c['placeholder']===_0x2e6b91(0xe8)&&_0x95377c['placeholder']!==_0x2e6b91(0x25f))return _0x95377c[_0x2e6b91(0xb9)][_0x2e6b91(0xf8)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x2e6b91(0x187)]({'description':_0x374024});},'TEXTAREA':()=>a0_0x53faec(0x19a),'LONGTEXT':()=>a0_0x53faec(0x19a),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x53faec(0x27a)}),'ARRAY':()=>['item1',a0_0x53faec(0x25e)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x53faec(0x14d),'RICH_TEXT':()=>'<p>富文本内容</p>'};function generateExampleValue(_0xd581ec,_0x3d3254,_0x354795,_0x4a58c8={}){const _0x486304=a0_0x53faec;typeof _0xd581ec!==_0x486304(0xe8)&&(!![]&&console[_0x486304(0xe3)](_0x486304(0x239),_0xd581ec),_0xd581ec=String(_0xd581ec||''));if(typeof _0x3d3254!==_0x486304(0xe8))return!![]&&console[_0x486304(0xe3)](_0x486304(0x22f),_0x3d3254),_0x486304(0x2a8);const {isPrimaryKey:_0x5883ac,dbtableConfig:_0x26ba45}=_0x4a58c8;if(_0x5883ac)return 0x1;if(_0x26ba45&&typeof _0x26ba45==='object'){const _0x5492fd=_0x26ba45[_0x486304(0x2c4)]?.[_0x486304(0x26b)]===_0xd581ec,_0x22b64c=_0x26ba45['updateTimeField']?.[_0x486304(0x26b)]===_0xd581ec;if(_0x5492fd||_0x22b64c){if(_0x354795&&typeof _0x354795===_0x486304(0xe8)&&_0x354795[_0x486304(0x2c7)]()['includes']('TIMESTAMP'))return Date[_0x486304(0x1b3)]();return new Date()[_0x486304(0x211)]()['replace']('T','\x20')[_0x486304(0x1b7)]('.')[0x0];}}const _0xc0efb1={..._0x4a58c8,'fieldCode':_0xd581ec};if(_0x354795&&typeof _0x354795===_0x486304(0xe8)){const _0x52d569=_0x354795['toUpperCase'](),_0x2e90ba=TYPE_VALUE_GENERATORS[_0x52d569];if(_0x2e90ba)return _0x2e90ba(_0xc0efb1);}if(_0x3d3254&&typeof _0x3d3254===_0x486304(0xe8)){const _0x458cb5=_0x3d3254[_0x486304(0x2c7)](),_0x40be01=TYPE_VALUE_GENERATORS[_0x458cb5];if(_0x40be01)return _0x40be01(_0xc0efb1);}return _0x486304(0x2a8);}function generateExampleFromSchema(_0x3120ee,_0x4e5f63){const _0x157a41=a0_0x53faec;if(!_0x3120ee||typeof _0x3120ee!==_0x157a41(0x172))return{};if(Array['isArray'](_0x3120ee)){if(_0x3120ee[_0x157a41(0x12e)]>0x0)return[generateExampleFromSchema(_0x3120ee[0x0],_0x4e5f63)];return[];}const _0x39dfa0={};return Object['keys'](_0x3120ee)[_0x157a41(0x242)](_0x362c80=>{const _0x62920b=_0x157a41,_0x25ef62=_0x3120ee[_0x362c80];if(_0x25ef62&&typeof _0x25ef62===_0x62920b(0x172)&&!Array['isArray'](_0x25ef62)&&_0x25ef62[_0x62920b(0x101)]){const _0x5d5e5c=_0x25ef62,_0x147e03=_0x5d5e5c[_0x62920b(0x101)],_0x5f8e66=_0x5d5e5c['description'];typeof _0x147e03===_0x62920b(0xe8)?_0x39dfa0[_0x362c80]=generateExampleValue(_0x362c80,_0x147e03,undefined,{'description':_0x5f8e66,'dbtableConfig':_0x4e5f63}):_0x39dfa0[_0x362c80]='示例值';}else{if(Array[_0x62920b(0x244)](_0x25ef62))_0x39dfa0[_0x362c80]=_0x25ef62['length']>0x0?[generateExampleFromSchema(_0x25ef62[0x0],_0x4e5f63)]:[];else _0x25ef62&&typeof _0x25ef62===_0x62920b(0x172)?_0x39dfa0[_0x362c80]=generateExampleFromSchema(_0x25ef62,_0x4e5f63):_0x39dfa0[_0x362c80]=_0x25ef62;}}),_0x39dfa0;}function a0_0x31f3(_0x1a3d52,_0x4b69ae){const _0x3e9170=a0_0x3e91();return a0_0x31f3=function(_0x31f3d9,_0x15879e){_0x31f3d9=_0x31f3d9-0xb0;let _0x7285dd=_0x3e9170[_0x31f3d9];return _0x7285dd;},a0_0x31f3(_0x1a3d52,_0x4b69ae);}function parseRequestBody(_0x451d12){const _0x445153=a0_0x53faec;if(!_0x451d12)return{};try{return JSON[_0x445153(0x223)](_0x451d12);}catch(_0x133e5d){return!![]&&console[_0x445153(0xe3)](_0x445153(0x1a5),_0x133e5d),{};}}function parseResponseBody(_0x52c1e6){const _0x89d03c=a0_0x53faec;if(!_0x52c1e6)return null;try{const _0x141b42=JSON[_0x89d03c(0x223)](_0x52c1e6);return _0x141b42[_0x89d03c(0x208)]||_0x141b42;}catch(_0x5a9962){return!![]&&console['warn']('解析\x20responseBody\x20失败:',_0x5a9962),null;}}function generateRequestExample(_0x5d6d8e,_0x590952,_0x4393f6,_0x564533){const _0x18762=a0_0x53faec,_0x5a1f34={};if(!Array[_0x18762(0x244)](_0x5d6d8e))return!![]&&console[_0x18762(0xe3)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x5d6d8e),_0x5a1f34;return _0x5d6d8e['forEach'](_0x5edc8b=>{const _0x24ddfa=_0x18762;if(!_0x5edc8b||typeof _0x5edc8b!==_0x24ddfa(0x172)){!![]&&console['warn'](_0x24ddfa(0xb1),_0x5edc8b);return;}if(typeof _0x5edc8b[_0x24ddfa(0x104)]!=='string'||typeof _0x5edc8b[_0x24ddfa(0x101)]!=='string'){!![]&&console['warn'](_0x24ddfa(0xd3),_0x5edc8b);return;}const _0x46789e=parseFieldExtend(_0x5edc8b),_0x1431ba=_0x5edc8b[_0x24ddfa(0x104)]===_0x4393f6||Boolean(_0x46789e?.[_0x24ddfa(0x13a)]),_0x13d6ab=generateExampleValue(_0x5edc8b[_0x24ddfa(0x104)],_0x5edc8b[_0x24ddfa(0x101)],typeof _0x5edc8b[_0x24ddfa(0x265)]===_0x24ddfa(0xe8)?_0x5edc8b[_0x24ddfa(0x265)]:undefined,{'fieldInfo':_0x46789e,'isPrimaryKey':_0x1431ba,'description':_0x5edc8b[_0x24ddfa(0xc3)]||_0x5edc8b[_0x24ddfa(0x24e)],'dbtableConfig':_0x564533});_0x5a1f34[_0x5edc8b['code']]=_0x13d6ab;}),_0x590952===_0x18762(0xb6)&&(_0x5a1f34[_0x18762(0x205)]=0x1,_0x5a1f34[_0x18762(0x18b)]=0xa),_0x5a1f34;}function formatEnumValue(_0x457de7,_0x19a19b){const _0x5bc694=a0_0x53faec;if(_0x457de7[_0x5bc694(0x228)]&&Array[_0x5bc694(0x244)](_0x19a19b))return _0x19a19b[_0x5bc694(0x254)](_0x32bc5c=>_0x457de7[_0x5bc694(0x210)][String(_0x32bc5c)]||String(_0x32bc5c))['join'](',\x20');return _0x457de7[_0x5bc694(0x210)][String(_0x19a19b)]||String(_0x19a19b);}function formatOptionsForDoc(_0x20fa78){const _0x21d1d7=a0_0x53faec;return _0x20fa78[_0x21d1d7(0x254)](_0xa301ba=>_0xa301ba[_0x21d1d7(0x27a)]+'('+_0xa301ba[_0x21d1d7(0x1de)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x59230e,_0x3b57f6=0x0){const _0x1dd048=a0_0x53faec,_0x1e6d66='\x20\x20'[_0x1dd048(0x249)](_0x3b57f6),_0x26e710=[];return _0x59230e[_0x1dd048(0x242)](_0x1a2777=>{const _0x52eaf2=_0x1dd048;_0x26e710[_0x52eaf2(0x1fa)](_0x1e6d66+'-\x20`'+_0x1a2777[_0x52eaf2(0x27a)]+'`:\x20'+_0x1a2777[_0x52eaf2(0x1de)]),_0x1a2777[_0x52eaf2(0xb8)]&&_0x1a2777[_0x52eaf2(0xb8)][_0x52eaf2(0x12e)]>0x0&&_0x26e710[_0x52eaf2(0x1fa)](formatOptionsAsMarkdownList(_0x1a2777[_0x52eaf2(0xb8)],_0x3b57f6+0x1));}),_0x26e710[_0x1dd048(0x2b1)]('\x0a');}class DbtableConfig{['_raw'];constructor(_0x2d2646){const _0x4bc758=a0_0x53faec;this[_0x4bc758(0x121)]={..._0x2d2646};}get['dbId'](){const _0xc90023=a0_0x53faec;return this[_0xc90023(0x121)][_0xc90023(0x252)];}get[a0_0x53faec(0x27d)](){const _0xe91577=a0_0x53faec;return this[_0xe91577(0x121)][_0xe91577(0x27d)]??this[_0xe91577(0x121)][_0xe91577(0x1d1)]?.[_0xe91577(0x27d)];}get['tableName'](){const _0x3f90bb=a0_0x53faec;return this[_0x3f90bb(0x121)][_0x3f90bb(0x258)];}get[a0_0x53faec(0x1e9)](){const _0x38740a=a0_0x53faec;return this[_0x38740a(0x121)]['datasetKey'];}get[a0_0x53faec(0x155)](){const _0x3dabcf=a0_0x53faec;return this['_raw'][_0x3dabcf(0x155)];}get[a0_0x53faec(0x2ad)](){const _0x35299a=a0_0x53faec;return this[_0x35299a(0x121)]['labelField'];}get['logicField'](){const _0x2e46d5=a0_0x53faec;return this['_raw'][_0x2e46d5(0x10c)];}get[a0_0x53faec(0x2c4)](){const _0x5c7cff=a0_0x53faec;return this[_0x5c7cff(0x121)][_0x5c7cff(0x2c4)];}get[a0_0x53faec(0x2b4)](){const _0x327a80=a0_0x53faec;return this['_raw'][_0x327a80(0x2b4)];}get[a0_0x53faec(0x20c)](){const _0x53cde0=a0_0x53faec;return this[_0x53cde0(0x121)][_0x53cde0(0x20c)];}get[a0_0x53faec(0x260)](){const _0x48bbe6=a0_0x53faec;return this[_0x48bbe6(0x121)]['creatorNameField'];}get[a0_0x53faec(0x1be)](){const _0x744590=a0_0x53faec;return this[_0x744590(0x121)][_0x744590(0x1be)];}get[a0_0x53faec(0x2a9)](){const _0x53b985=a0_0x53faec;return this[_0x53b985(0x121)][_0x53b985(0x2a9)];}get[a0_0x53faec(0x1d1)](){const _0x4e3e26=a0_0x53faec;return this['_raw'][_0x4e3e26(0x1d1)];}[a0_0x53faec(0x2bc)](){const _0x2ecb8b=a0_0x53faec;if(!this['_raw'][_0x2ecb8b(0x1b2)])return[];return this['_raw']['allFields'][_0x2ecb8b(0x1b7)](',')[_0x2ecb8b(0x254)](_0x287c8e=>_0x287c8e[_0x2ecb8b(0x129)]())['filter'](Boolean);}['getAllFieldsString'](){const _0x2f3688=a0_0x53faec;return this[_0x2f3688(0x121)][_0x2f3688(0x1b2)];}[a0_0x53faec(0x140)](_0x4a6cb8){const _0x1e03ea=a0_0x53faec;return this['getAllFieldsArray']()[_0x1e03ea(0x16d)](_0x4a6cb8);}[a0_0x53faec(0x2ce)](){const _0x59d379=a0_0x53faec;return Boolean(this[_0x59d379(0x121)][_0x59d379(0x258)]);}[a0_0x53faec(0x240)](){const _0x6dbf3=a0_0x53faec;return Boolean(this[_0x6dbf3(0x121)][_0x6dbf3(0x1d1)]);}[a0_0x53faec(0x1b0)](){const _0xd4f8b0=a0_0x53faec;return Boolean(this[_0xd4f8b0(0x121)][_0xd4f8b0(0x10c)]?.['fieldName']);}[a0_0x53faec(0x13c)](){const _0x310fdf=a0_0x53faec;return Boolean(this[_0x310fdf(0x121)][_0x310fdf(0x2c4)]?.['fieldName']);}[a0_0x53faec(0xbd)](){const _0x505efa=a0_0x53faec;return Boolean(this[_0x505efa(0x121)][_0x505efa(0x2b4)]?.['fieldName']);}[a0_0x53faec(0x17d)](){const _0x4fc9ba=a0_0x53faec;return Boolean(this[_0x4fc9ba(0x121)][_0x4fc9ba(0x20c)]?.[_0x4fc9ba(0x26b)]);}[a0_0x53faec(0x124)](){const _0x569749=a0_0x53faec;return Boolean(this[_0x569749(0x121)]['modifierIdField']?.[_0x569749(0x26b)]);}[a0_0x53faec(0xe6)](_0x5313a7){const _0x32fe06=a0_0x53faec;return this[_0x32fe06(0x121)]['pkField']===_0x5313a7;}[a0_0x53faec(0x16a)](_0x5bf304){const _0x1c2d10=a0_0x53faec;return this[_0x1c2d10(0xe6)](_0x5bf304)||this[_0x1c2d10(0x121)][_0x1c2d10(0x10c)]?.[_0x1c2d10(0x26b)]===_0x5bf304||this['_raw'][_0x1c2d10(0x2c4)]?.[_0x1c2d10(0x26b)]===_0x5bf304||this['_raw'][_0x1c2d10(0x2b4)]?.[_0x1c2d10(0x26b)]===_0x5bf304||this[_0x1c2d10(0x121)][_0x1c2d10(0x20c)]?.[_0x1c2d10(0x26b)]===_0x5bf304||this[_0x1c2d10(0x121)][_0x1c2d10(0x260)]?.[_0x1c2d10(0x26b)]===_0x5bf304||this['_raw'][_0x1c2d10(0x1be)]?.[_0x1c2d10(0x26b)]===_0x5bf304||this['_raw'][_0x1c2d10(0x2a9)]?.[_0x1c2d10(0x26b)]===_0x5bf304;}['getDatabaseName'](){const _0x502616=a0_0x53faec;return this[_0x502616(0x121)]['dblinkInfoDTO']?.['dbName'];}[a0_0x53faec(0x277)](){const _0x36ea67=a0_0x53faec;return this[_0x36ea67(0x121)][_0x36ea67(0x1d1)]?.['dbType'];}[a0_0x53faec(0xcc)](){const _0x4ad061=a0_0x53faec;return this[_0x4ad061(0x121)][_0x4ad061(0x1d1)]?.[_0x4ad061(0x147)];}['getTenantCode'](){const _0x2f4bb9=a0_0x53faec;return this[_0x2f4bb9(0x121)][_0x2f4bb9(0x1d1)]?.[_0x2f4bb9(0x232)];}[a0_0x53faec(0x285)](){const _0x1f887a=a0_0x53faec;return this[_0x1f887a(0x121)][_0x1f887a(0x1d1)]?.['appCode'];}[a0_0x53faec(0x2cd)](){const _0x453c66=a0_0x53faec;return this['_raw']['dblinkInfoDTO']?.[_0x453c66(0x25a)];}[a0_0x53faec(0x111)](){const _0x1f1018=a0_0x53faec;return{'hasTableName':this[_0x1f1018(0x2ce)](),'hasDblinkInfo':this[_0x1f1018(0x240)](),'fieldCount':this[_0x1f1018(0x2bc)]()[_0x1f1018(0x12e)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x1f1018(0x13c)](),'hasUpdateTimeField':this[_0x1f1018(0xbd)](),'hasCreatorIdField':this[_0x1f1018(0x17d)](),'hasModifierIdField':this[_0x1f1018(0x124)]()}};}['toConfig'](){const _0x38e23f=a0_0x53faec;return{'tableName':this['tableName'],'pkField':this[_0x38e23f(0x155)],'datasetKey':this['datasetKey'],'dbId':this[_0x38e23f(0x252)]};}['toJSON'](){const _0x2a33a6=a0_0x53faec;return{...this[_0x2a33a6(0x121)]};}['getRaw'](){const _0x1bb7a6=a0_0x53faec;return{...this[_0x1bb7a6(0x121)]};}['toString'](){const _0x44dafc=a0_0x53faec,_0x5104b4=this[_0x44dafc(0x258)]||_0x44dafc(0xec),_0x582dba=this[_0x44dafc(0x2bc)]()['length'];return _0x44dafc(0x21b)+_0x5104b4+',\x20fields:\x20'+_0x582dba+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x53faec(0x121)];constructor(_0xd613ea){const _0x5b51b2=a0_0x53faec,_0x2d9132=_0xd613ea[_0x5b51b2(0x29c)]||_0xd613ea['code']||_0xd613ea[_0x5b51b2(0xcf)];this[_0x5b51b2(0x121)]={..._0xd613ea,'datasetCode':_0x2d9132};}get['id'](){return this['_raw']['id'];}get[a0_0x53faec(0x24e)](){const _0x22d872=a0_0x53faec;return this['_raw'][_0x22d872(0x24e)];}[a0_0x53faec(0x154)](){return this['name'];}get[a0_0x53faec(0x29c)](){const _0x221199=a0_0x53faec;return this['_raw'][_0x221199(0x29c)]||'';}get[a0_0x53faec(0x221)](){const _0x4478bf=a0_0x53faec;if(!this['_raw'][_0x4478bf(0x221)])return null;return new DbtableConfig(this[_0x4478bf(0x121)][_0x4478bf(0x221)]);}[a0_0x53faec(0x294)](){const _0x3be1fe=a0_0x53faec;return this[_0x3be1fe(0x121)][_0x3be1fe(0x221)];}[a0_0x53faec(0x194)](){const _0x2d00eb=a0_0x53faec;return this[_0x2d00eb(0x221)]?.[_0x2d00eb(0x27d)]||'';}['getTableName'](){const _0x59687c=a0_0x53faec;return getTableName(this[_0x59687c(0x121)]);}[a0_0x53faec(0x281)](){const _0x58c783=a0_0x53faec;return getTableKey(this[_0x58c783(0xd7)]());}[a0_0x53faec(0x246)](){const _0x3893cb=a0_0x53faec;return generateModelKeyFromCode(this[_0x3893cb(0x29c)]);}[a0_0x53faec(0x15d)](){const _0x37087a=a0_0x53faec;return isVirtualTableName(this[_0x37087a(0xd7)]());}[a0_0x53faec(0x15c)](){const _0x658e40=a0_0x53faec;return getTableKey(this[_0x658e40(0xd7)]());}['toConfig'](){const _0x2d8c48=a0_0x53faec,_0x4abfb1=getTableKey(this[_0x2d8c48(0xd7)]());return{'key':_0x4abfb1,'alias':_0x4abfb1,'tableName':this['getTableName'](),'datasetCode':this[_0x2d8c48(0x29c)],'name':this['name']};}[a0_0x53faec(0x2c5)](){const _0x2f5d70=a0_0x53faec;return{...this[_0x2f5d70(0x121)],'datasetCode':this[_0x2f5d70(0x29c)]};}['getRaw'](){const _0x3d36ef=a0_0x53faec;return{...this[_0x3d36ef(0x121)]};}[a0_0x53faec(0x1f3)](){const _0x1fdcc3=a0_0x53faec,_0x3c24b6=this[_0x1fdcc3(0x221)];return _0x3c24b6!==null&&_0x3c24b6[_0x1fdcc3(0x2ce)]();}[a0_0x53faec(0x16f)](_0x1b186c){const _0x358f60=a0_0x53faec;return this[_0x358f60(0x121)][_0x1b186c];}['hasExtendField'](_0x4db228){const _0x35e0d4=a0_0x53faec;return _0x4db228 in this[_0x35e0d4(0x121)];}[a0_0x53faec(0x179)](){const _0x55d7bc=a0_0x53faec;return _0x55d7bc(0x237)+this[_0x55d7bc(0x24e)]+',\x20'+this[_0x55d7bc(0x29c)]+')';}}function a0_0x3e91(){const _0x3bd655=['TIMESTAMP','address','$in','字段名称','orderBy','_fields','isOperationEnabled','updateTime','dblinkInfoDTO','dataset_unknown','-\x20主键ID,用于定位要更新的记录\x0a\x0a','displayName','autoIncrement','getOne','some','getVirtualTables','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getLatest','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','getIds','phone','label','getUpdateTime','CREATE_EXPORT','fromApiResponse','$startWith','findByCode','_datasetMap','stringify','usageExample','getOneOrigin','getOperators','datasetKey','hasFilterOperation','getUploadFileScript','长文本','DATE','modelId','groupByTableName','entries','({\x20','datasetMap','hasDbtableConfig','getRequired','getActive','String[]','getFileUrl','getOperationCountByMethod','Number','push','INTEGER','getDisabledNames','(...);\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}','DATETIME','groups','1TJGExu','getApplicableOperators','$endWith','NUMBER','getConflicts','currentPage','时间戳','generateDefaultFilterOperation','200','getOperationsOverviewData','getCountByType','min','creatorIdField','getBusinessFields','\x20items,\x20','sort','valueLabels','toISOString','$lteq','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','getEnabledNames','generateFullSDKExample','北京市朝阳区','parseRawResponseBody','操作成功','getFieldInstance','online','DbtableConfig(table:\x20','toConfigArray','getCodes','context','extend','dataset_','dbtableConfig','update\x20接口接受两个参数:\x0a\x0a','parse','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','generateRequestAllExamples','generateAllOperationsFullSDKExample','getEnumMeta','multiple','$ne','getFilteredOperationAnalyses','$eq','13800138000','getPrimaryKeyFields','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','sortOperationsWithFilterFirst','getOperationFieldOperators','tenantCode','isMultipleSelect','generateExampleValue','字段编码','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','DatasetItem(','msg','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','TASK_INFO','$or','BOOLEAN','getSystem','getOperationCount','getOperationDocMeta','hasDblinkInfo','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','forEach','\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,','isArray','host','getDatasetSDKKey','API路径','update\x20接口接受两个参数:\x0a','repeat','isCreateTime','generateResponseExample','getMissingCRUDOperations','数组查询(支持多选)','name','创建导出','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','Integer','dbId','getByType','map','getFieldOptions','2024-12-31','(id,\x20data);','tableName','importTemplate','systemAnalysisResult','raw','\x27\x20\x20//\x20人类友好的别名,可通过\x20client.models.','get','item2','系统自动生成','creatorNameField','getOperationCountByType','getType','getFieldsFilterOperatorsMap','(...);\x0aconsole.log(data);\x20','dbType','\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','fieldCount','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getFieldDefinition','getResponseSchema','fieldName','isEnum','getEnabledOperations','\x20groups,\x20','from','isEnabled','keys','version','operations','$contain','创建导入','number','getDatabaseType','isEmpty','businessFieldCount','value','getEnumFields','排序规则','dbName','parseRawRequestBody','includeDeleted','getUpdateFields','getTableKey','toFieldDefinition','isBusiness','_fieldList','getAppCode','size','has','getNames','getOperations','DatasetList(','POST','主键ID(必填)','getRequestFields','GET_ONE','getBusiness','$gteq','请求示例','getConflictingItems','generateFromSchema','getRawDbtableConfig','$lte','getItems','getEnabledOperationInstances','Excel导出','.filter({...});\x0a```\x0a\x0a**优点**:\x0a-\x20可读性强,符合编程命名习惯\x0a-\x20便于记忆和手工编写\x0a-\x20代码更加简洁美观\x0a\x0a**注意**:使用别名方式需要在\x20`registerModels`\x20时配置\x20`alias`\x20字段。\x0a','SDK\x20调用','getSelectOptions','datasetCode','GET_SELECT_OPTIONS','getDisplayName','find','required','source','array','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','({\x20currentPage,\x20pageSize\x20});','isDeleted','getOperationAnalysis','4752950mFeMPw','示例值','modifierNameField','getUpdatableFields','getEnumMetas','generateSDKCallCode','labelField','isRequired','getOldest','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','join','CREATE','DESC','updateTimeField','ensureFilterOperation','daily','_operationList','文件上传','getOperationList','(params);','getOperation','getAllFieldsArray','CHECKBOX','getFieldsByType','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getFieldList','\x20operations)','generateRequestExample','getOperationStats','createTimeField','toJSON','findAll','toUpperCase','1965723PrbsZd','tableData','\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','UPDATE','getSystemAnalysisResult','hasTableName','查询列表','();','[Field]\x20Invalid\x20field\x20definition','includeDisabled','select','[generateRequestExample]\x20Invalid\x20field:','selectBestOperator','\x0a//\x20Call\x20the\x20','delete','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','getList','generateFieldExample','children','placeholder','VARCHAR','5564814mbMsfT','getModelAlias','hasUpdateTimeField','({\x20/*\x20可选:筛选条件\x20*/\x20});','\x20访问\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});','const\x20result\x20=\x20await\x20client.models.','getMethod','getFieldSelectItemsSource','description','getFullUrl','_fieldListWithDeleted','返回字段列表(字段投影)','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:','getFieldRaw','任务信息','获取数据集列表失败:\x20','\x20fields,\x20','getDatabaseVersion','getRequiredFields','GET_FILE_URL','modelCode','sdkCall','findById','查询单条','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','toArray','data','838343nQfKMH','getTableName','filterBlacklist','操作名称','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','_operationAnalyses','defaultValue','下拉选择','[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','requestFields','566504XPzUfk','String','-$1','warn','SELECT','getFields','isPrimaryKeyField','systemRetain','string','options','\x0a\x20\x20env:\x20\x27','getEnabled','N/A','errorMsg','支持多个条件','success','Object','set','hasOperation','getOneUpdate','getOperationAnalyses','getCountByMethod','lastIndexOf','getFilterOperators','replace','getFieldFilterOperators','hasConflicts','$gte','getField','toListItem','fields','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','IMPORT_TEMPLATE','type','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','systemFieldCount','code','EXCEL_EXPORT','deleted','查询条件(支持\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)','CREATE_IMPORT','_operations','获取下拉选项','errorCode','logicField','slice','[dsparser]\x20跳过重复的表名\x20\x22','.filter({...});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会产生命名冲突\x0a-\x20适合程序自动生成代码\x0a-\x20与\x20datasetCode\x20直接对应,便于追溯\x0a\x0a###\x202.\x20别名方式(推荐用于人工编码场景)\x0a\x0a使用\x20camelCase\x20格式的别名,更加人类友好:\x0a\x0a```javascript\x0a//\x20别名访问方式(需要在\x20registerModels\x20时配置\x20alias)\x0aconst\x20result\x20=\x20await\x20client.models.','findByName','getStats','enabled','BOOL','isEnumField','values','DECIMAL','getRequestParamsDocInfo','0000','({\x20code,\x20label\x20});','getRequestParams','isOperatorApplicableToField','967743PgzOOi','getAt','$and','getCount','dataset_000000','_raw','2024-01-01','Filter\x20API\x20-\x20高级查询接口','hasModifierIdField','\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a','BIGINT','DatasetGroup(','const\x20fileUrl\x20=\x20await\x20client.models.','trim','charAt','isSystem','selectItemsSource','\x20的\x20extend\x20配置失败:','length','/filter','method','toFullConfig','getTooltip','\x20API\x20文档','toConfig','getEnabledOperationAnalyses','Operation\x20instance\x20not\x20found:\x20','日期时间','generateConfigArray','isPrimaryKey','primaryKey','STRING','hasCreateTimeField','21qNlsLO','modifyDate','getAllDatasets','hasField','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','getPath','getOperationFieldsOperatorsMap','DatasetGroupMap(','createTime','fullUrl','dbVersion','generateUsageExample','每页数量','getOperationOperators','RADIO','generateOperationSummary','https://example.com/image.jpg','path','every',',\x20...\x20});','sortNum','getEnumOptions','getFieldListWithDeleted','getName','pkField','\x20Response\x20example:\x0a','customFilter','suffix','excelExport','empty','total','getModelName','isVirtualTable','getFieldCount','getFirst','taskInfo','getEnumFieldMeta','withDeleted','getEnumFieldsMeta','JSON','获取数据集失败:\x20','null','支持单值或数组','getFiltered','add','isSystemField','padStart','field_name','includes','接口名称','getExtendField','_$1','isUpdateTime','object','getCreateTime','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','getFieldOperators','\x20operation\x0a','单值查询','导入模板','toString','toLowerCase','parseFieldExtend','responseSchema','hasCreatorIdField','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','查询单条(用于更新)','getRealTables','getEnum','update','isAutoIncrement','更新请求示例','generateSingleValueExample','test','TEXT','isRequiredField','groupByType','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','pageSize','getLast','operation','[Field.extend]\x20解析字段\x20','获取文件URL','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27','findByTableName','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','getConflictStats','getDbName','getSelectItemsSource','每页数量(可选)','responseBody','getOperationRequestFields','createExport','这是一段较长的文本内容示例','responseExample','_extend','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','完整的\x20SDK\x20调用代码','getDisabled','properties','OperationList(','requestBody','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','解析\x20requestBody\x20失败:','getAll','1.0.0-beta.8','getSystemFields','4KENITo','Invalid\x20API\x20response:\x20success\x20is\x20false','createDate','\x22,数据集:\x20','Object[]','value2','generateAllOperationsSummary','hasLogicField','getPrimaryKeys','allFields','now','GET_UPLOAD_FILE_SCRIPT','iterator','value1','split','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','email','130JhYzJK','createImport','getSDKInitData','当前页码','modifierIdField','create','items','1926166QHoPNc','**可更新的字段列表:**','\x0a\x0a//\x20','hasConflict','getDefaultValue','filter','keyword','查询单条(原始)'];a0_0x3e91=function(){return _0x3bd655;};return a0_0x3e91();}class Operation{[a0_0x53faec(0x24e)];['_raw'];[a0_0x53faec(0x21e)];constructor(_0x39fa2e,_0x5a7374,_0x371982){const _0x549b04=a0_0x53faec;this[_0x549b04(0x24e)]=_0x39fa2e,this[_0x549b04(0x121)]=_0x5a7374,this['context']=_0x371982;}[a0_0x53faec(0x154)](){return this['name'];}[a0_0x53faec(0x29e)](){const _0x4a8c37=a0_0x53faec,_0x23a4d6=this[_0x4a8c37(0x262)]();return _0x23a4d6?OPERATION_TYPE_DISPLAY_NAME[_0x23a4d6]:this[_0x4a8c37(0x24e)];}[a0_0x53faec(0x262)](){const _0x498c0f=a0_0x53faec;return parseOperationType(this[_0x498c0f(0x24e)]);}['isEnabled'](){const _0x152e6c=a0_0x53faec;return this['_raw']!=null&&this[_0x152e6c(0x121)]!==![];}['getMethod'](){const _0x2ec511=a0_0x53faec;if(!this[_0x2ec511(0x270)]()||!this[_0x2ec511(0x121)])return'';const _0x1ab99f=this['_raw'][_0x2ec511(0x130)];return typeof _0x1ab99f===_0x2ec511(0xe8)?_0x1ab99f:_0x2ec511(0x28b);}[a0_0x53faec(0x142)](){const _0x238bd7=a0_0x53faec;if(!this['isEnabled']()||!this[_0x238bd7(0x121)])return'';const _0x346e31=this[_0x238bd7(0x121)][_0x238bd7(0x14e)];return typeof _0x346e31===_0x238bd7(0xe8)?_0x346e31:'';}[a0_0x53faec(0xc4)](){const _0x529f95=a0_0x53faec;if(!this[_0x529f95(0x270)]()||!this[_0x529f95(0x121)])return'';const {host:_0x331c25,path:_0x4b0547}=this['_raw'],_0x20ddac=typeof _0x331c25===_0x529f95(0xe8)?_0x331c25:'',_0x5d54a8=typeof _0x4b0547===_0x529f95(0xe8)?_0x4b0547:'';return _0x20ddac&&_0x5d54a8?''+_0x20ddac+_0x5d54a8:_0x5d54a8;}[a0_0x53faec(0x28d)](){const _0x46944f=a0_0x53faec;return Object[_0x46944f(0x271)](this[_0x46944f(0x11a)]());}[a0_0x53faec(0x117)](){const _0x2fc2c0=a0_0x53faec,_0x1c8a74=this[_0x2fc2c0(0x11a)]();return{'params':Object[_0x2fc2c0(0x1f0)](_0x1c8a74)[_0x2fc2c0(0x254)](([_0xed5579,_0x42d7db])=>{const _0x78d1c6=_0x2fc2c0,_0x15a7d7=_0x42d7db;return{'name':_0xed5579,'type':_0x15a7d7[_0x78d1c6(0x101)]||'String','description':_0x15a7d7['description']||'-','required':_0x15a7d7[_0x78d1c6(0x2a0)]};})};}[a0_0x53faec(0x27e)](){const _0x2f3bdb=a0_0x53faec;if(!this[_0x2f3bdb(0x270)]()||typeof this[_0x2f3bdb(0x121)]==='boolean'||!this[_0x2f3bdb(0x121)]?.[_0x2f3bdb(0x1a2)])return{};const _0x45b8e3=this[_0x2f3bdb(0x121)][_0x2f3bdb(0x1a2)];if(typeof _0x45b8e3!==_0x2f3bdb(0xe8))return!![]&&console[_0x2f3bdb(0xe3)]('[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:',_0x45b8e3),{};return parseRequestBody(_0x45b8e3);}[a0_0x53faec(0x217)](){const _0xb5f47=a0_0x53faec;if(!this['isEnabled']()||typeof this[_0xb5f47(0x121)]==='boolean'||!this[_0xb5f47(0x121)]?.['responseBody'])return null;const _0x10a2e6=this[_0xb5f47(0x121)][_0xb5f47(0x197)];if(typeof _0x10a2e6!=='string')return!![]&&console[_0xb5f47(0xe3)]('[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:',_0x10a2e6),null;return parseResponseBody(_0x10a2e6);}[a0_0x53faec(0xb7)](_0x3e7f3b,_0x473813,_0x412614,_0x4e550f){const _0x491fdb=a0_0x53faec;return generateExampleValue(_0x3e7f3b,_0x473813,_0x412614,{'isPrimaryKey':_0x4e550f?.[_0x491fdb(0x139)],'description':_0x4e550f?.[_0x491fdb(0xc3)],'dbtableConfig':this['context']['dbtableConfig']});}[a0_0x53faec(0x269)](_0x622b10){const _0x28f218=a0_0x53faec;if(!Array[_0x28f218(0x244)](this[_0x28f218(0x21e)][_0x28f218(0xfe)])){!![]&&console[_0x28f218(0xe3)]('[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array');return;}if(typeof _0x622b10!==_0x28f218(0xe8)){!![]&&console[_0x28f218(0xe3)](_0x28f218(0x22e),_0x622b10);return;}return this[_0x28f218(0x21e)][_0x28f218(0xfe)]['find'](_0x52dc36=>_0x52dc36&&_0x52dc36[_0x28f218(0x104)]===_0x622b10);}['toString'](){const _0xa8f98=a0_0x53faec,_0x4bb50c=this['isEnabled']()?'启用':'禁用';return this[_0xa8f98(0x29e)]()+'('+this[_0xa8f98(0x24e)]+',\x20'+_0x4bb50c+')';}[a0_0x53faec(0x1e8)](){return[];}['getFieldOperators'](_0x3fc08a){return[];}[a0_0x53faec(0x148)](_0x32c0b4){const _0x73d2bc=a0_0x53faec,_0x21c67c=this[_0x73d2bc(0x154)](),_0x10e5aa=_0x73d2bc(0xda)+_0x32c0b4+'.'+_0x21c67c+_0x73d2bc(0x264),_0x14f7b8=_0x73d2bc(0xb5)+_0x32c0b4+'.'+_0x21c67c+_0x73d2bc(0x1fd);return{'successCode':_0x10e5aa,'errorCode':_0x14f7b8};}['toJSON'](){const _0x160073=a0_0x53faec;return{'name':this[_0x160073(0x154)](),'displayName':this['getDisplayName'](),'type':this[_0x160073(0x262)](),'enabled':this[_0x160073(0x270)](),'method':this[_0x160073(0xc1)](),'path':this[_0x160073(0x142)](),'fullUrl':this['getFullUrl'](),'requestFields':this[_0x160073(0x28d)](),'requestParams':this['getRequestParams'](),'responseSchema':this[_0x160073(0x26a)](),'requestExample':this[_0x160073(0x2c2)](),'responseExample':this[_0x160073(0x24b)]()};}}class GenericOperation extends Operation{[a0_0x53faec(0x11a)](){return this['parseRawRequestBody']();}[a0_0x53faec(0x26a)](){const _0x193017=a0_0x53faec;return this[_0x193017(0x217)]();}[a0_0x53faec(0x2c2)](){const _0x34c7d9=a0_0x53faec,_0x563bb0={},_0xaca667=this[_0x34c7d9(0x11a)](),_0x4ad5d1=this[_0x34c7d9(0x262)]();if(Object[_0x34c7d9(0x271)](_0xaca667)['length']===0x0&&_0x4ad5d1){const _0x535956=getFieldsForOperation(this[_0x34c7d9(0x21e)][_0x34c7d9(0xfe)],_0x4ad5d1,this[_0x34c7d9(0x21e)][_0x34c7d9(0x155)]);return _0x535956['forEach'](_0x330790=>{const _0x841325=_0x34c7d9,_0xdb745=this[_0x841325(0xb7)](_0x330790[_0x841325(0x104)],_0x330790['type'],typeof _0x330790[_0x841325(0x265)]==='string'?_0x330790['dbType']:undefined,{'isPrimaryKey':_0x330790[_0x841325(0x104)]===this['context']['pkField'],'description':_0x330790[_0x841325(0xc3)]||_0x330790[_0x841325(0x24e)]});_0x563bb0[_0x330790[_0x841325(0x104)]]=_0xdb745;}),_0x563bb0;}return Object[_0x34c7d9(0x1f0)](_0xaca667)[_0x34c7d9(0x242)](([_0x1f754f,_0x21c954])=>{const _0x46a835=_0x34c7d9,_0x4c7c5e=_0x21c954;let _0x210ded;if(typeof _0x4c7c5e[_0x46a835(0x101)]===_0x46a835(0xe8))_0x210ded=_0x4c7c5e[_0x46a835(0x101)];else _0x4c7c5e['type']&&typeof _0x4c7c5e[_0x46a835(0x101)]===_0x46a835(0x172)?_0x210ded=_0x4c7c5e[_0x46a835(0x101)][_0x46a835(0x101)]||_0x46a835(0x187):_0x210ded=_0x46a835(0x187);const _0x10f43=_0x4c7c5e[_0x46a835(0xc3)],_0x38edb8=this[_0x46a835(0x269)](_0x1f754f);if(_0x1f754f===_0x46a835(0x205))_0x563bb0[_0x1f754f]=0x1;else{if(_0x1f754f===_0x46a835(0x18b))_0x563bb0[_0x1f754f]=0xa;else _0x1f754f==='id'?_0x563bb0[_0x1f754f]=0x1:_0x563bb0[_0x1f754f]=this[_0x46a835(0xb7)](_0x1f754f,_0x210ded,typeof _0x38edb8?.[_0x46a835(0x265)]===_0x46a835(0xe8)?_0x38edb8['dbType']:undefined,{'isPrimaryKey':_0x1f754f===this[_0x46a835(0x21e)][_0x46a835(0x155)]||_0x1f754f==='id','description':_0x10f43||_0x38edb8?.[_0x46a835(0xc3)]||_0x38edb8?.[_0x46a835(0x24e)]});}}),_0x563bb0;}[a0_0x53faec(0x24b)](){const _0x15ba09=a0_0x53faec,_0x555ac4=this[_0x15ba09(0x26a)]();if(!_0x555ac4)return{'success':!![],'msg':_0x15ba09(0x218),'errorMsg':'','errorCode':_0x15ba09(0x118),'data':null};return this[_0x15ba09(0x293)](_0x555ac4);}[a0_0x53faec(0x293)](_0x4c9cf6){const _0x5c3007=a0_0x53faec;if(!_0x4c9cf6||typeof _0x4c9cf6!=='object')return{};if(Array['isArray'](_0x4c9cf6)){if(_0x4c9cf6[_0x5c3007(0x12e)]>0x0)return[this[_0x5c3007(0x293)](_0x4c9cf6[0x0])];return[];}const _0x1a6ef9={};return Object[_0x5c3007(0x271)](_0x4c9cf6)[_0x5c3007(0x242)](_0x1425a4=>{const _0x1e2c14=_0x5c3007,_0x5d5215=_0x4c9cf6[_0x1425a4];if(_0x5d5215&&typeof _0x5d5215==='object'&&!Array[_0x1e2c14(0x244)](_0x5d5215)&&_0x5d5215[_0x1e2c14(0x101)]){const _0x3119a4=_0x5d5215;let _0x5274bf;if(typeof _0x3119a4[_0x1e2c14(0x101)]===_0x1e2c14(0xe8))_0x5274bf=_0x3119a4[_0x1e2c14(0x101)];else _0x3119a4[_0x1e2c14(0x101)]&&typeof _0x3119a4[_0x1e2c14(0x101)]===_0x1e2c14(0x172)?_0x5274bf=_0x3119a4['type'][_0x1e2c14(0x101)]||'TEXT':_0x5274bf=_0x1e2c14(0x187);const _0x131c5e=_0x3119a4[_0x1e2c14(0xc3)];_0x1a6ef9[_0x1425a4]=this[_0x1e2c14(0xb7)](_0x1425a4,_0x5274bf,undefined,{'description':_0x131c5e});}else{if(Array[_0x1e2c14(0x244)](_0x5d5215))_0x1a6ef9[_0x1425a4]=_0x5d5215[_0x1e2c14(0x12e)]>0x0?[this['generateFromSchema'](_0x5d5215[0x0])]:[];else _0x5d5215&&typeof _0x5d5215===_0x1e2c14(0x172)?_0x1a6ef9[_0x1425a4]=this[_0x1e2c14(0x293)](_0x5d5215):_0x1a6ef9[_0x1425a4]=_0x5d5215;}}),_0x1a6ef9;}['generateSDKCallCode'](_0x27c7d7,_0x271829){const _0x44be3e=a0_0x53faec,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x271829||{},_0x34501b=this['getName'](),_0x130ef4=this[_0x44be3e(0x262)](),_0x134231=this[_0x44be3e(0x28d)](),_0xa1576f=this['generateRequestExample'](),_0x265538=_0xc2979f=>{const _0x1645cd=_0x44be3e;if(Object['keys'](_0xc2979f)[_0x1645cd(0x12e)]===0x0)return'{}';const _0x1e8a77=JSON['stringify'](_0xc2979f,null,0x2)['split']('\x0a')[_0x1645cd(0x254)]((_0x521e1d,_0x42f169)=>_0x42f169===0x0?_0x521e1d:indent+_0x521e1d)[_0x1645cd(0x2b1)]('\x0a');return _0x1e8a77;};switch(_0x130ef4){case _0x44be3e(0x1d6):case _0x44be3e(0xb4):return _0x44be3e(0xc0)+_0x27c7d7+'.'+_0x34501b+'(id);';case _0x44be3e(0x182):if(useFullExample&&Object[_0x44be3e(0x271)](_0xa1576f)[_0x44be3e(0x12e)]>0x0)return _0x44be3e(0xc0)+_0x27c7d7+'.'+_0x34501b+'(id,\x20'+_0x265538(_0xa1576f)+');';return _0x44be3e(0xc0)+_0x27c7d7+'.'+_0x34501b+_0x44be3e(0x257);case _0x44be3e(0x1bf):case _0x44be3e(0xb6):case _0x44be3e(0x29b):default:if(_0x134231[_0x44be3e(0x12e)]>0x0){if(useFullExample&&Object[_0x44be3e(0x271)](_0xa1576f)[_0x44be3e(0x12e)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x27c7d7+'.'+_0x34501b+'('+_0x265538(_0xa1576f)+');';else{const _0x50208b=Object[_0x44be3e(0x271)](_0xa1576f);if(_0x50208b['length']>0x0){const _0x1a650f=_0x50208b['slice'](0x0,0x2)[_0x44be3e(0x2b1)](',\x20');return'const\x20result\x20=\x20await\x20client.models.'+_0x27c7d7+'.'+_0x34501b+_0x44be3e(0x1f1)+_0x1a650f+_0x44be3e(0x150);}else return'const\x20result\x20=\x20await\x20client.models.'+_0x27c7d7+'.'+_0x34501b+_0x44be3e(0x2ba);}}else return _0x44be3e(0xc0)+_0x27c7d7+'.'+_0x34501b+_0x44be3e(0x2d0);}}[a0_0x53faec(0x225)](){const _0x583527=a0_0x53faec;return[{'title':_0x583527(0x291),'data':this[_0x583527(0x2c2)]()}];}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x53faec(0x11a)](){const _0x3cf476=a0_0x53faec,_0x187cd4=super['getRequestParams'](),_0x4aa1b2=Object[_0x3cf476(0x271)](_0x187cd4);return(_0x4aa1b2['length']===0x0||_0x4aa1b2[_0x3cf476(0x12e)]===0x1&&_0x4aa1b2[0x0]===_0x3cf476(0x104))&&(!_0x187cd4[_0x3cf476(0x104)]&&(_0x187cd4[_0x3cf476(0x104)]={'type':_0x3cf476(0xe1),'description':_0x3cf476(0x235)}),_0x187cd4[_0x3cf476(0x1de)]={'type':_0x3cf476(0xe1),'description':_0x3cf476(0x1cc)}),_0x187cd4;}[a0_0x53faec(0x2c2)](){const _0x59fe59=a0_0x53faec;return{'code':_0x59fe59(0x16c),'label':'field_name'};}[a0_0x53faec(0x2ac)](_0x3ac00f){const _0x24a5af=a0_0x53faec,_0x4f7cf2=this[_0x24a5af(0x154)]();return _0x24a5af(0xc0)+_0x3ac00f+'.'+_0x4f7cf2+_0x24a5af(0x119);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x3f165d=a0_0x53faec,_0x1e1446=super['getRequestParams'](),{currentPage:_0x2aaa12,pageSize:_0x2ff7d5,..._0x1cbdf8}=_0x1e1446,_0x5b8602={};return Object[_0x3f165d(0x1f0)](_0x1cbdf8)['forEach'](([_0x15e5de,_0x4be69b])=>{const _0x1db00c=_0x3f165d;if(typeof _0x4be69b==='object'&&_0x4be69b!==null){const _0x107e93=_0x4be69b,_0x3bf13a=_0x107e93[_0x1db00c(0xc3)]||'';_0x5b8602[_0x15e5de]={..._0x107e93,'description':_0x3bf13a?_0x3bf13a+'(支持单值或数组)':_0x1db00c(0x167)};}else _0x5b8602[_0x15e5de]=_0x4be69b;}),{..._0x5b8602,'currentPage':{...typeof _0x2aaa12===_0x3f165d(0x172)?_0x2aaa12:{},'type':_0x3f165d(0x1f9),'description':_0x3f165d(0x1bd)},'pageSize':{...typeof _0x2ff7d5===_0x3f165d(0x172)?_0x2ff7d5:{},'type':'Number','description':_0x3f165d(0x149)}};}[a0_0x53faec(0x2c2)](_0x21d079){const _0x43d74a=a0_0x53faec,{useArrayValues:useArrayValues=!![]}=_0x21d079||{},_0x1f2bd2=super['generateRequestExample'](),{currentPage:_0x32f1fc,pageSize:_0x3011d7,..._0x215803}=_0x1f2bd2;if(!useArrayValues)return{..._0x215803,'currentPage':_0x32f1fc??0x1,'pageSize':_0x3011d7??0xa};const _0x2a70a3={},_0x2d6a05=['id','status',_0x43d74a(0x104),_0x43d74a(0x101)];return Object[_0x43d74a(0x1f0)](_0x215803)[_0x43d74a(0x242)](([_0x41dff6,_0x16df59],_0x3ef62e)=>{const _0x332380=_0x43d74a,_0x46cb16=_0x2d6a05[_0x332380(0x1d7)](_0x4b6213=>_0x41dff6[_0x332380(0x17a)]()[_0x332380(0x16d)](_0x4b6213))||_0x3ef62e%0x3===0x0;if(_0x46cb16&&_0x16df59!==null&&_0x16df59!==undefined){if(typeof _0x16df59===_0x332380(0x276))_0x2a70a3[_0x41dff6]=[_0x16df59,_0x16df59+0x1,_0x16df59+0x2];else typeof _0x16df59===_0x332380(0xe8)?_0x2a70a3[_0x41dff6]=[_0x16df59,_0x16df59+'_2',_0x16df59+'_3']:_0x2a70a3[_0x41dff6]=[_0x16df59];}else _0x2a70a3[_0x41dff6]=_0x16df59;}),{..._0x2a70a3,'currentPage':_0x32f1fc??0x1,'pageSize':_0x3011d7??0xa};}[a0_0x53faec(0x185)](){const _0x279d46=a0_0x53faec;return this[_0x279d46(0x2c2)]({'useArrayValues':![]});}[a0_0x53faec(0x225)](){const _0x31b780=a0_0x53faec;return[{'title':_0x31b780(0x177),'description':'查询单个条件','data':this[_0x31b780(0x185)]()},{'title':_0x31b780(0x24d),'description':_0x31b780(0xee),'data':this[_0x31b780(0x2c2)]()}];}[a0_0x53faec(0x2ac)](_0x1c8171,_0x5d4155){const _0x1f3c2c=a0_0x53faec,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5d4155||{},_0x5e9fed=this[_0x1f3c2c(0x154)](),_0x3ef749=this[_0x1f3c2c(0x2c2)]({'useArrayValues':!![]}),{currentPage:_0x434143,pageSize:_0x41eb43,..._0x53e2ae}=_0x3ef749;if(useFullExample&&Object[_0x1f3c2c(0x271)](_0x3ef749)['length']>0x0){const _0x580200=Object['keys'](_0x53e2ae)[_0x1f3c2c(0x12e)]>0x0;if(_0x580200){const _0x45165b=this['generateSingleValueExample'](),_0x578cdb=_0x4f6487=>{const _0x1bac99=_0x1f3c2c;return JSON[_0x1bac99(0x1e5)](_0x4f6487,null,0x2)[_0x1bac99(0x1b7)]('\x0a')[_0x1bac99(0x254)]((_0x39a53d,_0x4d1606)=>_0x4d1606===0x0?_0x39a53d:indent+_0x39a53d)[_0x1bac99(0x2b1)]('\x0a');};return _0x1f3c2c(0x102)+_0x1c8171+'.'+_0x5e9fed+'('+_0x578cdb(_0x45165b)+_0x1f3c2c(0x2cb)+_0x1c8171+'.'+_0x5e9fed+'('+_0x578cdb(_0x3ef749)+');';}else{const _0x29ec6d=JSON[_0x1f3c2c(0x1e5)](_0x3ef749,null,0x2)[_0x1f3c2c(0x1b7)]('\x0a')[_0x1f3c2c(0x254)]((_0x12c7fd,_0x1bacfd)=>_0x1bacfd===0x0?_0x12c7fd:indent+_0x12c7fd)[_0x1f3c2c(0x2b1)]('\x0a');return _0x1f3c2c(0xc0)+_0x1c8171+'.'+_0x5e9fed+'('+_0x29ec6d+');';}}if(Object[_0x1f3c2c(0x271)](_0x53e2ae)[_0x1f3c2c(0x12e)]>0x0){const _0x20c024=Object[_0x1f3c2c(0x271)](_0x53e2ae)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x1c8171+'.'+_0x5e9fed+_0x1f3c2c(0x1f1)+_0x20c024+',\x20currentPage,\x20pageSize,\x20...\x20});';}return _0x1f3c2c(0xc0)+_0x1c8171+'.'+_0x5e9fed+_0x1f3c2c(0x2a4);}}var FILTER_OPERATORS=[a0_0x53faec(0x22b),'$ne','$gte',a0_0x53faec(0x290),a0_0x53faec(0x295),'$lteq','$in','$contain',a0_0x53faec(0x1e2),a0_0x53faec(0x202),a0_0x53faec(0x11e),a0_0x53faec(0x23b)];class FilterOperation extends GenericOperation{constructor(_0x446546,_0x1a876c,_0x47d618){super(_0x446546,_0x1a876c,_0x47d618);}['getOperators'](){return FILTER_OPERATORS;}['getFieldOperators'](_0x2795d6){const _0x48bbe4=a0_0x53faec,_0x3ccc7e=this[_0x48bbe4(0x269)](_0x2795d6);if(!_0x3ccc7e)return[];return this[_0x48bbe4(0x201)](_0x3ccc7e['type']);}['getRequestParams'](){const _0x58033c=a0_0x53faec,_0x4cbf9a=super[_0x58033c(0x11a)]();return{..._0x4cbf9a,'where':{'type':_0x58033c(0xf0),'description':_0x58033c(0x107),'required':![]},'select':{'type':_0x58033c(0x1f6),'description':_0x58033c(0xc6),'required':![]},'orderBy':{'type':_0x58033c(0x1ad),'description':_0x58033c(0x27c),'required':![]},'currentPage':{'type':'Number','description':'当前页码','required':![],'default':0x1},'pageSize':{'type':'Number','description':_0x58033c(0x149),'required':![],'default':0xa}};}[a0_0x53faec(0x2c2)](){const _0xee3af9=a0_0x53faec,_0x233eed=this['context']['fields']||[];if(_0x233eed[_0xee3af9(0x12e)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x1f20b5={},_0x4bc598=_0x233eed[_0xee3af9(0x10d)](0x0,Math['min'](0x3,_0x233eed[_0xee3af9(0x12e)]));_0x4bc598[_0xee3af9(0x242)](_0x4f1779=>{const _0x4a58b9=_0xee3af9,_0x5cd955=this[_0x4a58b9(0x201)](_0x4f1779[_0x4a58b9(0x101)]);if(_0x5cd955[_0x4a58b9(0x12e)]===0x0)return;const _0x26d59e=this[_0x4a58b9(0xb2)](_0x4f1779[_0x4a58b9(0x101)],_0x5cd955),_0x43184b=this[_0x4a58b9(0x234)](_0x4f1779,_0x26d59e);_0x1f20b5[_0x4f1779[_0x4a58b9(0x104)]]={[_0x26d59e]:_0x43184b};});const _0x4d41ac=_0x233eed[_0xee3af9(0x10d)](0x0,Math[_0xee3af9(0x20b)](0x5,_0x233eed[_0xee3af9(0x12e)]))[_0xee3af9(0x254)](_0x9c0aa4=>_0x9c0aa4[_0xee3af9(0x104)]),_0x293e37=_0x233eed[0x0]?.['code']||'id';return{'where':_0x1f20b5,'select':_0x4d41ac,'orderBy':[{[_0x293e37]:_0xee3af9(0x2b3)}],'currentPage':0x1,'pageSize':0x14};}[a0_0x53faec(0x2ac)](_0x2c62eb,_0x1fc29c){const _0x8ad25=a0_0x53faec,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1fc29c||{},_0x268572=this['getName'](),_0x23278d=this[_0x8ad25(0x2c2)](),_0x52a07a=_0x19d344=>{const _0x5a4df4=_0x8ad25;return JSON[_0x5a4df4(0x1e5)](_0x19d344,null,0x2)['split']('\x0a')[_0x5a4df4(0x254)]((_0xe55b16,_0x218f58)=>_0x218f58===0x0?_0xe55b16:indent+_0xe55b16)[_0x5a4df4(0x2b1)]('\x0a');};if(useFullExample){const _0x51d11f=this[_0x8ad25(0x21e)]['fields']||[],_0x13e05c={'where':_0x51d11f[0x0]?{[_0x51d11f[0x0][_0x8ad25(0x104)]]:{'$eq':this[_0x8ad25(0x234)](_0x51d11f[0x0],'$eq')}}:{},'select':_0x51d11f[_0x8ad25(0x10d)](0x0,0x3)[_0x8ad25(0x254)](_0x5494cd=>_0x5494cd[_0x8ad25(0x104)]),'currentPage':0x1,'pageSize':0x14};let _0x7d39b3='';if(_0x51d11f[_0x8ad25(0x12e)]>=0x3){const _0x3628f7={'$and':[]},_0x533862=[];if(_0x51d11f[_0x8ad25(0x12e)]>0x0){const _0x531903=_0x51d11f['find'](_0x1b27ed=>[_0x8ad25(0x203),'INTEGER',_0x8ad25(0x126)][_0x8ad25(0x16d)](_0x1b27ed['type'][_0x8ad25(0x2c7)]()));_0x531903&&_0x533862[_0x8ad25(0x1fa)]({[_0x531903[_0x8ad25(0x104)]]:{'$gte':0x0,'$lte':0x64}});}if(_0x51d11f[_0x8ad25(0x12e)]>0x1){const _0x156b7d=_0x51d11f[_0x8ad25(0x29f)](_0x59a1f4=>[_0x8ad25(0x13b),_0x8ad25(0x187),'VARCHAR'][_0x8ad25(0x16d)](_0x59a1f4['type']['toUpperCase']()));_0x156b7d&&_0x533862['push']({[_0x156b7d[_0x8ad25(0x104)]]:{'$contain':_0x8ad25(0x1c7)}});}if(_0x533862['length']>0x0){_0x3628f7['$and']=_0x533862;const _0x2b9454={'where':_0x3628f7,'select':_0x51d11f[_0x8ad25(0x10d)](0x0,0x4)[_0x8ad25(0x254)](_0x41cf31=>_0x41cf31[_0x8ad25(0x104)]),'orderBy':[{[_0x51d11f[0x0][_0x8ad25(0x104)]]:_0x8ad25(0x2b3)}],'currentPage':0x1,'pageSize':0x14};_0x7d39b3='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x2c62eb+'.'+_0x268572+'('+_0x52a07a(_0x2b9454)+');';}}return _0x8ad25(0x18a)+_0x2c62eb+'.'+_0x268572+'('+_0x52a07a(_0x13e05c)+');'+_0x7d39b3;}const _0x496a49=JSON[_0x8ad25(0x1e5)](_0x23278d,null,0x2)['split']('\x0a')[_0x8ad25(0x254)]((_0x2f94fb,_0x24d77c)=>_0x24d77c===0x0?_0x2f94fb:indent+_0x2f94fb)[_0x8ad25(0x2b1)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x2c62eb+'.'+_0x268572+'('+_0x496a49+');';}[a0_0x53faec(0x201)](_0x106faf){const _0x1ab6bf=a0_0x53faec,_0x1c3d4c=_0x106faf['toUpperCase'](),_0x3f7ba9=[];if([_0x1ab6bf(0x203),_0x1ab6bf(0x1fb),_0x1ab6bf(0x126),_0x1ab6bf(0x116)][_0x1ab6bf(0x16d)](_0x1c3d4c))_0x3f7ba9['push']('$eq',_0x1ab6bf(0x229),_0x1ab6bf(0xfb),_0x1ab6bf(0x295),'$gteq',_0x1ab6bf(0x212),_0x1ab6bf(0x1cb));else{if([_0x1ab6bf(0x13b),_0x1ab6bf(0x187),_0x1ab6bf(0xba)][_0x1ab6bf(0x16d)](_0x1c3d4c))_0x3f7ba9[_0x1ab6bf(0x1fa)](_0x1ab6bf(0x22b),_0x1ab6bf(0x229),'$in',_0x1ab6bf(0x274),'$startWith',_0x1ab6bf(0x202));else{if(['DATE',_0x1ab6bf(0x1fe),_0x1ab6bf(0x1c9)][_0x1ab6bf(0x16d)](_0x1c3d4c))_0x3f7ba9['push'](_0x1ab6bf(0x22b),'$ne','$gte',_0x1ab6bf(0x295),_0x1ab6bf(0x290),_0x1ab6bf(0x212));else[_0x1ab6bf(0x23c),_0x1ab6bf(0x113)][_0x1ab6bf(0x16d)](_0x1c3d4c)?_0x3f7ba9[_0x1ab6bf(0x1fa)]('$eq',_0x1ab6bf(0x229)):_0x3f7ba9[_0x1ab6bf(0x1fa)]('$eq',_0x1ab6bf(0x229));}}return _0x3f7ba9;}['selectBestOperator'](_0x2b444e,_0x276b08){const _0x1d0e71=a0_0x53faec,_0x4f1cf9=_0x2b444e[_0x1d0e71(0x2c7)]();if([_0x1d0e71(0x203),_0x1d0e71(0x1fb),'BIGINT','DECIMAL'][_0x1d0e71(0x16d)](_0x4f1cf9))return _0x276b08[_0x1d0e71(0x16d)]('$gte')?'$gte':_0x1d0e71(0x22b);if(['STRING',_0x1d0e71(0x187),_0x1d0e71(0xba)][_0x1d0e71(0x16d)](_0x4f1cf9))return _0x276b08[_0x1d0e71(0x16d)]('$contain')?'$contain':'$eq';if([_0x1d0e71(0x1ed),_0x1d0e71(0x1fe),'TIMESTAMP'][_0x1d0e71(0x16d)](_0x4f1cf9))return _0x276b08[_0x1d0e71(0x16d)](_0x1d0e71(0xfb))?'$gte':_0x1d0e71(0x22b);return _0x1d0e71(0x22b);}[a0_0x53faec(0x234)](_0x4ec9df,_0xffa911){const _0x5bebf4=a0_0x53faec,_0x51b4e2=String(_0x4ec9df['type']||'')[_0x5bebf4(0x2c7)]();if(_0x4ec9df[_0x5bebf4(0x21f)])try{const _0x2ed93a=typeof _0x4ec9df[_0x5bebf4(0x21f)]===_0x5bebf4(0xe8)?JSON[_0x5bebf4(0x223)](_0x4ec9df[_0x5bebf4(0x21f)]):_0x4ec9df[_0x5bebf4(0x21f)];if(_0x2ed93a[_0x5bebf4(0xe9)]&&Array[_0x5bebf4(0x244)](_0x2ed93a[_0x5bebf4(0xe9)])&&_0x2ed93a['options'][_0x5bebf4(0x12e)]>0x0){if(_0xffa911===_0x5bebf4(0x1cb))return _0x2ed93a['options']['slice'](0x0,0x2)['map'](_0x25299a=>_0x25299a[_0x5bebf4(0x27a)]);return _0x2ed93a[_0x5bebf4(0xe9)][0x0][_0x5bebf4(0x27a)];}}catch{}if(['NUMBER',_0x5bebf4(0x1fb),'BIGINT',_0x5bebf4(0x116)][_0x5bebf4(0x16d)](_0x51b4e2)){if(_0xffa911==='$in')return[0x1,0x2,0x3];if(_0xffa911===_0x5bebf4(0xfb)||_0xffa911===_0x5bebf4(0x290))return 0x0;if(_0xffa911===_0x5bebf4(0x295)||_0xffa911==='$lteq')return 0x64;return 0x1;}if(['STRING',_0x5bebf4(0x187),_0x5bebf4(0xba)][_0x5bebf4(0x16d)](_0x51b4e2)){if(_0xffa911===_0x5bebf4(0x1cb))return[_0x5bebf4(0x1b6),_0x5bebf4(0x1ae)];if(_0xffa911===_0x5bebf4(0x274))return _0x5bebf4(0x1c7);if(_0xffa911===_0x5bebf4(0x1e2))return'prefix';if(_0xffa911==='$endWith')return _0x5bebf4(0x158);return _0x5bebf4(0x27a);}if([_0x5bebf4(0x1ed),_0x5bebf4(0x1fe),_0x5bebf4(0x1c9)][_0x5bebf4(0x16d)](_0x51b4e2)){if(_0xffa911==='$gte'||_0xffa911===_0x5bebf4(0x290))return _0x5bebf4(0x122);if(_0xffa911===_0x5bebf4(0x295)||_0xffa911==='$lteq')return _0x5bebf4(0x256);return'2024-01-01';}if(['BOOLEAN',_0x5bebf4(0x113)][_0x5bebf4(0x16d)](_0x51b4e2))return!![];return _0xffa911===_0x5bebf4(0x1cb)?[_0x5bebf4(0x1b6),_0x5bebf4(0x1ae)]:_0x5bebf4(0x27a);}[a0_0x53faec(0x117)](){const _0x2fc106=a0_0x53faec,_0x2ddfe1=super[_0x2fc106(0x11a)](),_0xe0984b=Object['entries'](_0x2ddfe1)[_0x2fc106(0x254)](([_0x33b37f,_0x23ec0f])=>{const _0x430c19=_0x2fc106,_0x382c14=_0x23ec0f;return{'name':_0x33b37f,'type':_0x382c14[_0x430c19(0x101)]||_0x430c19(0xe1),'description':_0x382c14[_0x430c19(0xc3)]||'-','required':_0x382c14['required']};});return{'description':_0x2fc106(0x125),'params':_0xe0984b};}}class ExcelExportOperation extends GenericOperation{[a0_0x53faec(0x11a)](){const _0x4bfb97=a0_0x53faec,_0x488620=super[_0x4bfb97(0x11a)]();if(Object['keys'](_0x488620)[_0x4bfb97(0x12e)]===0x0){const _0x5d0edf={};return this['context'][_0x4bfb97(0xfe)][_0x4bfb97(0x242)](_0x3a9446=>{const _0x2d0379=_0x4bfb97;_0x3a9446&&_0x3a9446['code']&&(_0x5d0edf[_0x3a9446[_0x2d0379(0x104)]]={'type':_0x3a9446['type']||_0x2d0379(0x187),'sortNum':_0x3a9446[_0x2d0379(0x151)],'description':_0x3a9446['description']||_0x3a9446[_0x2d0379(0x24e)]});}),_0x5d0edf['currentPage']={'type':_0x4bfb97(0x251),'description':'当前页码(可选)'},_0x5d0edf[_0x4bfb97(0x18b)]={'type':'Integer','description':_0x4bfb97(0x196)},_0x5d0edf;}return _0x488620;}['generateRequestExample'](){const _0x1a4814=a0_0x53faec,_0x459a74=super[_0x1a4814(0x2c2)]();if(Object['keys'](_0x459a74)['length']===0x0)return{'currentPage':0x1,'pageSize':0x64};return{..._0x459a74,'currentPage':_0x459a74[_0x1a4814(0x205)]??0x1,'pageSize':_0x459a74[_0x1a4814(0x18b)]??0x64};}[a0_0x53faec(0x24b)](){const _0x3b2d3b=a0_0x53faec;return{'success':!![],'msg':'','errorMsg':'','errorCode':_0x3b2d3b(0x118),'data':_0x3b2d3b(0x17e),'params':null};}[a0_0x53faec(0x2ac)](_0x53af81,_0x4236cc){const _0x15fd3d=a0_0x53faec,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4236cc||{},_0x238ef4=this[_0x15fd3d(0x154)]();if(useFullExample){const _0xd8c2d3=this[_0x15fd3d(0x2c2)](),{currentPage:_0x92aa6d,pageSize:_0x42d39a,..._0x44092b}=_0xd8c2d3,_0x391750=Object[_0x15fd3d(0x271)](_0x44092b)[_0x15fd3d(0x12e)]>0x0;if(_0x391750){const _0x907937=_0x6db8be=>{const _0x2b655e=_0x15fd3d;return JSON[_0x2b655e(0x1e5)](_0x6db8be,null,0x2)[_0x2b655e(0x1b7)]('\x0a')[_0x2b655e(0x254)]((_0x23c9bd,_0xf3f138)=>_0xf3f138===0x0?_0x23c9bd:indent+_0x23c9bd)[_0x2b655e(0x2b1)]('\x0a');};return _0x15fd3d(0x236)+_0x53af81+'.'+_0x238ef4+_0x15fd3d(0x224)+_0x53af81+'.'+_0x238ef4+'('+_0x907937(_0xd8c2d3)+');';}else{const _0x12c0b5=_0x353b4b=>{const _0x5f4efb=_0x15fd3d;return JSON[_0x5f4efb(0x1e5)](_0x353b4b,null,0x2)['split']('\x0a')[_0x5f4efb(0x254)]((_0x3a6fee,_0x2661bf)=>_0x2661bf===0x0?_0x3a6fee:indent+_0x3a6fee)['join']('\x0a');};return _0x15fd3d(0x236)+_0x53af81+'.'+_0x238ef4+_0x15fd3d(0x1d9)+_0x53af81+'.'+_0x238ef4+'('+_0x12c0b5({'currentPage':0x1,'pageSize':0x64})+');';}}return _0x15fd3d(0x128)+_0x53af81+'.'+_0x238ef4+_0x15fd3d(0xbe);}[a0_0x53faec(0x148)](_0x42cefd){const _0x29478b=a0_0x53faec,_0x5c81a3=this['getName'](),_0x39ef9b=_0x29478b(0x268)+_0x42cefd+'.'+_0x5c81a3+_0x29478b(0x241),_0x3eccb3=_0x29478b(0x1b8)+_0x42cefd+'.'+_0x5c81a3+_0x29478b(0x1db);return{'successCode':_0x39ef9b,'errorCode':_0x3eccb3};}}class UpdateOperation extends GenericOperation{[a0_0x53faec(0x280)](){const _0x4450b1=a0_0x53faec;return this[_0x4450b1(0x27e)]();}['getRequestParams'](){const _0x3eef1d=a0_0x53faec,_0x322ab7=this[_0x3eef1d(0x280)]();return{'id':{'type':'NUMBER','description':_0x3eef1d(0x28c),'required':!![]},'data':{'type':_0x3eef1d(0x172),'description':'要更新的字段数据对象','required':!![],'properties':_0x322ab7}};}[a0_0x53faec(0x2aa)](){const _0x280c34=a0_0x53faec;return this[_0x280c34(0x280)]();}[a0_0x53faec(0x117)](){const _0x3230c1=a0_0x53faec,_0x300f98=this[_0x3230c1(0x280)](),_0x5d9bbb=Object[_0x3230c1(0x1f0)](_0x300f98)[_0x3230c1(0x254)](([_0x43b601,_0x120c98])=>{const _0x55b1a5=_0x3230c1,_0x244b0b=_0x120c98;return{'name':_0x43b601,'type':_0x244b0b['type']||_0x55b1a5(0xe1),'description':_0x244b0b[_0x55b1a5(0xc3)]||'-'};});return{'description':_0x3230c1(0x222)+_0x3230c1(0x213)+_0x3230c1(0x1d3)+_0x3230c1(0x174)+'-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a'+_0x3230c1(0x1c2),'params':_0x5d9bbb};}[a0_0x53faec(0x2c2)](){const _0x85e27c=a0_0x53faec,_0x4b5c6c=this[_0x85e27c(0x280)](),_0x1d782e={};return Object[_0x85e27c(0x1f0)](_0x4b5c6c)[_0x85e27c(0x242)](([_0x9a26d5,_0x39e10d])=>{const _0x2130e9=_0x85e27c,_0x26cbc4=_0x39e10d;let _0x40f379;if(typeof _0x26cbc4[_0x2130e9(0x101)]==='string')_0x40f379=_0x26cbc4[_0x2130e9(0x101)];else _0x26cbc4[_0x2130e9(0x101)]&&typeof _0x26cbc4['type']==='object'?_0x40f379=_0x26cbc4[_0x2130e9(0x101)]['type']||_0x2130e9(0x187):_0x40f379=_0x2130e9(0x187);const _0x633695=_0x26cbc4['description'],_0x471624=this['getFieldDefinition'](_0x9a26d5);_0x1d782e[_0x9a26d5]=this[_0x2130e9(0xb7)](_0x9a26d5,_0x40f379,typeof _0x471624?.[_0x2130e9(0x265)]==='string'?_0x471624[_0x2130e9(0x265)]:undefined,{'isPrimaryKey':![],'description':_0x633695||_0x471624?.[_0x2130e9(0xc3)]||_0x471624?.[_0x2130e9(0x24e)]});}),{'id':0x1,'data':_0x1d782e};}[a0_0x53faec(0x225)](){const _0x1ab621=a0_0x53faec,_0x2973e9=this[_0x1ab621(0x2c2)]();return[{'title':_0x1ab621(0x184),'description':_0x1ab621(0x248)+_0x1ab621(0x192)+_0x1ab621(0x141),'data':_0x2973e9}];}[a0_0x53faec(0x2ac)](_0x3f5f35,_0x510f92){const _0x290018=a0_0x53faec,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x510f92||{},_0x27d79b=this[_0x290018(0x154)]();if(useFullExample){const _0x590259=this[_0x290018(0x2c2)](),_0x2fc245=JSON[_0x290018(0x1e5)](_0x590259[_0x290018(0xd5)],null,0x2)[_0x290018(0x1b7)]('\x0a')['map']((_0x2f45af,_0x32ae2b)=>_0x32ae2b===0x0?_0x2f45af:indent+_0x2f45af)[_0x290018(0x2b1)]('\x0a');return _0x290018(0xc0)+_0x3f5f35+'.'+_0x27d79b+'('+_0x590259['id']+',\x20'+_0x2fc245+');';}return'const\x20result\x20=\x20await\x20client.models.'+_0x3f5f35+'.'+_0x27d79b+_0x290018(0x257);}}class OperationFactory{[a0_0x53faec(0x1bf)](_0x430cc8,_0x2a85c7,_0x1a2534){const _0x492c59=a0_0x53faec;switch(_0x430cc8){case _0x492c59(0x29b):return new GetSelectOptionsOperation(_0x430cc8,_0x2a85c7,_0x1a2534);case'getList':return new GetListOperation(_0x430cc8,_0x2a85c7,_0x1a2534);case _0x492c59(0x1c6):return new FilterOperation(_0x430cc8,_0x2a85c7,_0x1a2534);case _0x492c59(0x159):return new ExcelExportOperation(_0x430cc8,_0x2a85c7,_0x1a2534);case _0x492c59(0x182):return new UpdateOperation(_0x430cc8,_0x2a85c7,_0x1a2534);default:return new GenericOperation(_0x430cc8,_0x2a85c7,_0x1a2534);}}['createAll'](_0x4acc15,_0x1c4e0c){const _0x385197=a0_0x53faec,_0xc2f1f5=new Map();return Object[_0x385197(0x1f0)](_0x4acc15)[_0x385197(0x242)](([_0xb70e10,_0x176108])=>{const _0x2f98db=_0x385197;_0xc2f1f5[_0x2f98db(0xf1)](_0xb70e10,this[_0x2f98db(0x1bf)](_0xb70e10,_0x176108,_0x1c4e0c));}),_0xc2f1f5;}}class OperationList{['_operations'];constructor(_0xe362b7,_0x11f689){const _0x303099=new OperationFactory();this['_operations']=_0x303099['createAll'](_0xe362b7,_0x11f689);}[a0_0x53faec(0x25d)](_0x3c5c02){const _0x3b739e=a0_0x53faec;return this[_0x3b739e(0x109)]['get'](_0x3c5c02);}[a0_0x53faec(0x287)](_0x31ecd1){const _0x1687ef=a0_0x53faec;return this['_operations'][_0x1687ef(0x287)](_0x31ecd1);}[a0_0x53faec(0x286)](){const _0x13e3f0=a0_0x53faec;return this[_0x13e3f0(0x109)][_0x13e3f0(0x286)];}[a0_0x53faec(0x288)](){const _0x3773a1=a0_0x53faec;return Array[_0x3773a1(0x26f)](this[_0x3773a1(0x109)][_0x3773a1(0x271)]());}[a0_0x53faec(0xd4)](){const _0x1434f5=a0_0x53faec,_0x199704=Array[_0x1434f5(0x26f)](this['_operations']['values']());return this[_0x1434f5(0x230)](_0x199704);}['getEnabled'](){const _0x2a14cc=a0_0x53faec;return this[_0x2a14cc(0xd4)]()['filter'](_0x19526d=>_0x19526d['isEnabled']());}[a0_0x53faec(0x19f)](){const _0x1b640c=a0_0x53faec;return this[_0x1b640c(0xd4)]()[_0x1b640c(0x1c6)](_0xd74ddd=>!_0xd74ddd[_0x1b640c(0x270)]());}[a0_0x53faec(0x214)](){const _0x3e3eaf=a0_0x53faec;return this[_0x3e3eaf(0xeb)]()[_0x3e3eaf(0x254)](_0x1f7c20=>_0x1f7c20[_0x3e3eaf(0x154)]());}[a0_0x53faec(0x1fc)](){const _0x251359=a0_0x53faec;return this['getDisabled']()[_0x251359(0x254)](_0x1eeef6=>_0x1eeef6['getName']());}[a0_0x53faec(0x253)](_0x1b1a4c){const _0x26f623=a0_0x53faec;return this[_0x26f623(0xd4)]()[_0x26f623(0x1c6)](_0x384420=>_0x384420[_0x26f623(0x262)]()===_0x1b1a4c);}[a0_0x53faec(0x1c6)](_0x456b0c){const _0x146069=a0_0x53faec;return this['toArray']()[_0x146069(0x1c6)](_0x456b0c);}[a0_0x53faec(0x168)](_0x1e4094={}){const _0x2213ba=a0_0x53faec;let _0x8e6ede=this['toArray']();!_0x1e4094[_0x2213ba(0x2d2)]&&(_0x8e6ede=_0x8e6ede['filter'](_0x1b9ff0=>_0x1b9ff0['isEnabled']()));if(_0x1e4094[_0x2213ba(0xd8)]!==![]){const _0x2afe79=_0x8e6ede[_0x2213ba(0x254)](_0x31bffd=>({'name':_0x31bffd[_0x2213ba(0x154)](),'operation':_0x31bffd})),_0x200e0e=filterApiOperations(_0x2afe79);_0x8e6ede=_0x200e0e['map'](_0x1ed205=>_0x1ed205['operation']),_0x8e6ede=this[_0x2213ba(0x230)](_0x8e6ede);}return _0x1e4094[_0x2213ba(0x157)]&&(_0x8e6ede=_0x8e6ede['filter'](_0x1e4094['customFilter'])),_0x8e6ede;}[a0_0x53faec(0x230)](_0x1f7e3c){const _0x4002ef=a0_0x53faec,_0x3dd947=_0x1f7e3c[_0x4002ef(0x29f)](_0x45e71c=>_0x45e71c[_0x4002ef(0x154)]()===_0x4002ef(0x1c6)),_0x4fe5d6=_0x1f7e3c['filter'](_0x27196a=>_0x27196a[_0x4002ef(0x154)]()!==_0x4002ef(0x1c6));return _0x3dd947?[_0x3dd947,..._0x4fe5d6]:_0x4fe5d6;}[a0_0x53faec(0x111)](){const _0x6d458=a0_0x53faec,_0x183ae8=this['getEnabled']();return{'total':this[_0x6d458(0x286)](),'enabled':_0x183ae8[_0x6d458(0x12e)],'disabled':this[_0x6d458(0x286)]()-_0x183ae8[_0x6d458(0x12e)],'byType':this['getCountByType'](_0x183ae8),'byMethod':this['getCountByMethod'](_0x183ae8)};}[a0_0x53faec(0x20a)](_0xe66dfe){const _0x4493a8=a0_0x53faec,_0x402c4b={};return _0xe66dfe[_0x4493a8(0x242)](_0x2584bf=>{const _0x51ed35=_0x4493a8,_0x58d1b7=_0x2584bf[_0x51ed35(0x262)]();_0x58d1b7&&(_0x402c4b[_0x58d1b7]=(_0x402c4b[_0x58d1b7]||0x0)+0x1);}),_0x402c4b;}[a0_0x53faec(0xf5)](_0x627c95){const _0x2a88a6={};return _0x627c95['forEach'](_0x2c298a=>{const _0x15f79a=a0_0x31f3,_0x178624=_0x2c298a[_0x15f79a(0xc1)]();_0x178624&&(_0x2a88a6[_0x178624]=(_0x2a88a6[_0x178624]||0x0)+0x1);}),_0x2a88a6;}[Symbol['iterator']](){const _0x3be672=a0_0x53faec;return this['_operations'][_0x3be672(0x115)]();}['toString'](){const _0x5caea9=a0_0x53faec,_0x5c89f8=this[_0x5caea9(0x111)]();return _0x5caea9(0x1a1)+_0x5c89f8[_0x5caea9(0x112)]+'/'+_0x5c89f8[_0x5caea9(0x15b)]+_0x5caea9(0x2c1);}}class Field{[a0_0x53faec(0x121)];['_extend']=null;constructor(_0x172d18){const _0x40f52d=a0_0x53faec;if(!_0x172d18||typeof _0x172d18!==_0x40f52d(0x172))throw new Error(_0x40f52d(0x2d1));this['_raw']=_0x172d18;}get[a0_0x53faec(0x25b)](){return this['_raw'];}[a0_0x53faec(0x282)](){const _0xd637cd=a0_0x53faec;return this[_0xd637cd(0x121)];}get[a0_0x53faec(0x24e)](){const _0x3299ab=a0_0x53faec;return this[_0x3299ab(0x121)][_0x3299ab(0x24e)]||'';}get[a0_0x53faec(0x104)](){const _0x1bdc52=a0_0x53faec;return this['_raw'][_0x1bdc52(0x104)]||'';}get['type'](){const _0x32d2b8=a0_0x53faec;return this[_0x32d2b8(0x121)][_0x32d2b8(0x101)]||'';}get[a0_0x53faec(0xc3)](){const _0x1d4b0e=a0_0x53faec;return this[_0x1d4b0e(0x121)][_0x1d4b0e(0xc3)]||'';}get['deleted'](){const _0x25dea3=a0_0x53faec;return Boolean(this[_0x25dea3(0x121)][_0x25dea3(0x106)]);}get[a0_0x53faec(0x21f)](){const _0x1882c1=a0_0x53faec;if(this[_0x1882c1(0x19c)]!==null&&typeof this[_0x1882c1(0x19c)]===_0x1882c1(0x172))return this[_0x1882c1(0x19c)];const _0x4b1496=this['_raw']['extend'];if(!_0x4b1496||typeof _0x4b1496!==_0x1882c1(0xe8))return this[_0x1882c1(0x19c)]={},this[_0x1882c1(0x19c)];if(_0x4b1496===_0x1882c1(0x166)||_0x4b1496[_0x1882c1(0x129)]()===_0x1882c1(0x166))return this[_0x1882c1(0x19c)]={},this['_extend'];try{const _0x365351=JSON[_0x1882c1(0x223)](_0x4b1496);return this[_0x1882c1(0x19c)]=_0x365351!==null&&typeof _0x365351===_0x1882c1(0x172)&&!Array[_0x1882c1(0x244)](_0x365351)?_0x365351:{},this[_0x1882c1(0x19c)];}catch(_0x12ec41){return!![]&&console[_0x1882c1(0xe3)](_0x1882c1(0x18e)+this['code']+_0x1882c1(0x12d),_0x12ec41),this[_0x1882c1(0x19c)]={},this['_extend'];}}[a0_0x53faec(0x2ae)](){const _0x577eb3=a0_0x53faec;return Boolean(this[_0x577eb3(0x21f)][_0x577eb3(0x2a0)]);}[a0_0x53faec(0x139)](){const _0x119a08=a0_0x53faec;return Boolean(this['extend'][_0x119a08(0x13a)]);}[a0_0x53faec(0x12b)](){const _0x3c33ef=a0_0x53faec;return Boolean(this['extend'][_0x3c33ef(0xe7)]);}[a0_0x53faec(0x283)](){const _0x4641ab=a0_0x53faec;return!this[_0x4641ab(0x12b)]();}[a0_0x53faec(0x2a5)](){const _0x2a8423=a0_0x53faec;return this[_0x2a8423(0x106)];}[a0_0x53faec(0x183)](){return Boolean(this['extend']['autoIncrement']);}[a0_0x53faec(0x24a)](){const _0x2048f8=a0_0x53faec;return Boolean(this['extend'][_0x2048f8(0x145)]);}['isUpdateTime'](){const _0x149643=a0_0x53faec;return Boolean(this['extend'][_0x149643(0x1d0)]);}['isEnum'](){const _0x2ecce3=a0_0x53faec,_0x23f414=[_0x2ecce3(0x14b),_0x2ecce3(0xe4),_0x2ecce3(0x2bd)];return _0x23f414[_0x2ecce3(0x16d)](this['type']);}[a0_0x53faec(0x233)](){const _0x257817=a0_0x53faec;return this[_0x257817(0x101)]===_0x257817(0x2bd);}[a0_0x53faec(0x152)](){const _0x658400=a0_0x53faec,_0x27afce=this['extend'];if(_0x27afce[_0x658400(0xe9)]&&Array['isArray'](_0x27afce[_0x658400(0xe9)]))return _0x27afce[_0x658400(0xe9)];return;}[a0_0x53faec(0x195)](){const _0x564eee=a0_0x53faec,_0x582d93=this[_0x564eee(0x21f)];if(_0x582d93[_0x564eee(0x12c)]&&typeof _0x582d93['selectItemsSource']===_0x564eee(0x172))return _0x582d93[_0x564eee(0x12c)];return;}[a0_0x53faec(0x227)](){const _0x4bea61=a0_0x53faec;if(!this['isEnum']())return;const _0x1cd80e=this['getEnumOptions'](),_0x4ee500=this[_0x4bea61(0x195)](),_0xf56afa=[],_0x82dcc7={},_0x481b74=_0x159617=>{const _0x6b0345=_0x4bea61;_0x159617[_0x6b0345(0x242)](_0x5949b6=>{const _0x3002a1=_0x6b0345;_0xf56afa[_0x3002a1(0x1fa)](_0x5949b6['value']),_0x82dcc7[String(_0x5949b6['value'])]=_0x5949b6[_0x3002a1(0x1de)],_0x5949b6[_0x3002a1(0xb8)]&&_0x5949b6['children'][_0x3002a1(0x12e)]>0x0&&_0x481b74(_0x5949b6[_0x3002a1(0xb8)]);});};return _0x1cd80e&&_0x1cd80e['length']>0x0&&_0x481b74(_0x1cd80e),{'code':this[_0x4bea61(0x104)],'name':this[_0x4bea61(0x24e)],'type':this[_0x4bea61(0x101)],'multiple':this['isMultipleSelect'](),'options':_0x1cd80e,'selectItemsSource':_0x4ee500,'values':_0xf56afa,'valueLabels':_0x82dcc7};}[a0_0x53faec(0x1c5)](){const _0x58e9dc=a0_0x53faec;return this[_0x58e9dc(0x21f)][_0x58e9dc(0xdc)];}[a0_0x53faec(0x132)](){const _0x311e44=a0_0x53faec;return this[_0x311e44(0x21f)]['tooltip'];}['toJSON'](){const _0xe6e42b=a0_0x53faec;return{'name':this[_0xe6e42b(0x24e)],'code':this[_0xe6e42b(0x104)],'type':this[_0xe6e42b(0x101)],'description':this['description'],'required':this['isRequired'](),'primaryKey':this['isPrimaryKey'](),'system':this[_0xe6e42b(0x12b)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0xe6e42b(0x24a)](),'updateTime':this[_0xe6e42b(0x171)](),'isEnum':this['isEnum'](),'enumMeta':this[_0xe6e42b(0x26c)]()?this[_0xe6e42b(0x227)]():undefined};}}class FieldList{[a0_0x53faec(0x1ce)];constructor(_0x51dfcc,_0xff8d7d){const _0x2dc961=a0_0x53faec;if(!Array[_0x2dc961(0x244)](_0x51dfcc))throw new Error('[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array');const _0x1cfbc1=_0xff8d7d?.[_0x2dc961(0x27f)]??![],_0x2d1cb7=_0x1cfbc1?_0x51dfcc:_0x51dfcc['filter'](_0x5d941f=>!_0x5d941f[_0x2dc961(0x106)]);this[_0x2dc961(0x1ce)]=_0x2d1cb7[_0x2dc961(0x254)](_0x3f1d97=>new Field(_0x3f1d97));}get[a0_0x53faec(0x12e)](){const _0x3c7f5e=a0_0x53faec;return this[_0x3c7f5e(0x1ce)][_0x3c7f5e(0x12e)];}['all'](){const _0x17efbb=a0_0x53faec;return[...this[_0x17efbb(0x1ce)]];}[a0_0x53faec(0x25b)](){const _0x36e32e=a0_0x53faec;return this['_fields'][_0x36e32e(0x254)](_0x28f9a6=>_0x28f9a6[_0x36e32e(0x25b)]);}['at'](_0x4698e6){return this['_fields']['at'](_0x4698e6);}[a0_0x53faec(0x29f)](_0x2f3427){const _0xdad14=a0_0x53faec;return this[_0xdad14(0x1ce)][_0xdad14(0x29f)](_0x4a50f4=>_0x4a50f4[_0xdad14(0x104)]===_0x2f3427);}['findByName'](_0x4d3b68){const _0x13e71a=a0_0x53faec;return this['_fields'][_0x13e71a(0x29f)](_0xf2d08=>_0xf2d08[_0x13e71a(0x24e)]===_0x4d3b68);}[a0_0x53faec(0x287)](_0x234dfb){const _0x238aea=a0_0x53faec;return this[_0x238aea(0x1ce)][_0x238aea(0x1d7)](_0x2bdc40=>_0x2bdc40[_0x238aea(0x104)]===_0x234dfb);}[a0_0x53faec(0x242)](_0x232cfa){const _0x56f719=a0_0x53faec;this[_0x56f719(0x1ce)][_0x56f719(0x242)](_0x232cfa);}[a0_0x53faec(0x254)](_0x55c85f){const _0x2f12dc=a0_0x53faec;return this[_0x2f12dc(0x1ce)][_0x2f12dc(0x254)](_0x55c85f);}[a0_0x53faec(0x1c6)](_0x4ab1e2){const _0x23d360=a0_0x53faec;return this[_0x23d360(0x1ce)][_0x23d360(0x1c6)](_0x4ab1e2);}[a0_0x53faec(0x14f)](_0x275a74){const _0x5541d7=a0_0x53faec;return this[_0x5541d7(0x1ce)][_0x5541d7(0x14f)](_0x275a74);}['some'](_0x3472b3){const _0x4b4e9c=a0_0x53faec;return this[_0x4b4e9c(0x1ce)][_0x4b4e9c(0x1d7)](_0x3472b3);}[a0_0x53faec(0x1f4)](){const _0x3cae59=a0_0x53faec;return this[_0x3cae59(0x1ce)][_0x3cae59(0x1c6)](_0x569ea3=>_0x569ea3[_0x3cae59(0x2ae)]());}[a0_0x53faec(0x1b1)](){const _0x5856ac=a0_0x53faec;return this[_0x5856ac(0x1ce)][_0x5856ac(0x1c6)](_0x385b99=>_0x385b99[_0x5856ac(0x139)]());}[a0_0x53faec(0x23d)](){const _0x39bea4=a0_0x53faec;return this[_0x39bea4(0x1ce)][_0x39bea4(0x1c6)](_0x46a24e=>_0x46a24e['isSystem']());}[a0_0x53faec(0x28f)](){const _0x594362=a0_0x53faec;return this[_0x594362(0x1ce)]['filter'](_0xe2813c=>_0xe2813c['isBusiness']());}[a0_0x53faec(0x181)](){const _0x34c23a=a0_0x53faec;return this[_0x34c23a(0x1ce)][_0x34c23a(0x1c6)](_0x2da9d6=>_0x2da9d6['isEnum']());}['getAutoIncrement'](){const _0x2811ef=a0_0x53faec;return this[_0x2811ef(0x1ce)][_0x2811ef(0x1c6)](_0x3041a8=>_0x3041a8[_0x2811ef(0x183)]());}[a0_0x53faec(0x173)](){const _0x389eab=a0_0x53faec;return this['_fields'][_0x389eab(0x1c6)](_0x1d3dc5=>_0x1d3dc5[_0x389eab(0x24a)]());}[a0_0x53faec(0x1df)](){const _0x1c4ede=a0_0x53faec;return this[_0x1c4ede(0x1ce)][_0x1c4ede(0x1c6)](_0x5f0ea4=>_0x5f0ea4[_0x1c4ede(0x171)]());}['getDeleted'](){const _0x28addf=a0_0x53faec;return this['_fields'][_0x28addf(0x1c6)](_0x455a23=>_0x455a23[_0x28addf(0x2a5)]());}[a0_0x53faec(0x1f5)](){const _0x144f85=a0_0x53faec;return this[_0x144f85(0x1ce)]['filter'](_0x7417aa=>!_0x7417aa['isDeleted']());}[a0_0x53faec(0x189)](){const _0x475156=a0_0x53faec,_0x32e3b5={};return this[_0x475156(0x1ce)][_0x475156(0x242)](_0x480171=>{const _0x19211d=_0x480171['type'];!_0x32e3b5[_0x19211d]&&(_0x32e3b5[_0x19211d]=[]),_0x32e3b5[_0x19211d]['push'](_0x480171);}),_0x32e3b5;}[a0_0x53faec(0x2ab)](){const _0x36354a={};return this['_fields']['forEach'](_0x4db40f=>{const _0x21062b=a0_0x31f3;if(_0x4db40f[_0x21062b(0x26c)]()){const _0x5acba0=_0x4db40f[_0x21062b(0x227)]();_0x5acba0&&(_0x36354a[_0x4db40f['code']]=_0x5acba0);}}),_0x36354a;}[a0_0x53faec(0x111)](){const _0x130b09=a0_0x53faec;return{'total':this[_0x130b09(0x12e)],'required':this[_0x130b09(0x1f4)]()[_0x130b09(0x12e)],'primaryKey':this[_0x130b09(0x1b1)]()[_0x130b09(0x12e)],'system':this['getSystem']()[_0x130b09(0x12e)],'business':this['getBusiness']()[_0x130b09(0x12e)],'enum':this[_0x130b09(0x181)]()[_0x130b09(0x12e)],'autoIncrement':this['getAutoIncrement']()[_0x130b09(0x12e)]};}[a0_0x53faec(0x2c5)](){const _0x2baaff=a0_0x53faec;return this[_0x2baaff(0x1ce)]['map'](_0x4df0da=>_0x4df0da[_0x2baaff(0x2c5)]());}[a0_0x53faec(0x21d)](){const _0x1f99c9=a0_0x53faec;return this[_0x1f99c9(0x1ce)]['map'](_0xd1f26f=>_0xd1f26f['code']);}[a0_0x53faec(0x288)](){const _0x169ead=a0_0x53faec;return this[_0x169ead(0x1ce)][_0x169ead(0x254)](_0x4d7e3a=>_0x4d7e3a[_0x169ead(0x24e)]);}static[a0_0x53faec(0x26f)](_0x11eef7){const _0x5ddf44=a0_0x53faec,_0x3e25a9=_0x11eef7[_0x5ddf44(0x254)](_0x3d556b=>_0x3d556b[_0x5ddf44(0x25b)]);return new FieldList(_0x3e25a9);}static[a0_0x53faec(0x162)](_0x4da3d5){return new FieldList(_0x4da3d5,{'includeDeleted':!![]});}}class DrivenDataDetail extends DatasetItem{[a0_0x53faec(0x2b7)];[a0_0x53faec(0x284)];['_fieldListWithDeleted'];constructor(_0x546e24){const _0x39cea3=a0_0x53faec;super({..._0x546e24,'id':_0x546e24['modelId'],'datasetCode':_0x546e24[_0x39cea3(0xcf)]});}get[a0_0x53faec(0x2a1)](){const _0x4ab94f=a0_0x53faec;return this[_0x4ab94f(0x121)][_0x4ab94f(0x2a1)];}['getSource'](){const _0x550e0a=a0_0x53faec;return this[_0x550e0a(0x2a1)];}get[a0_0x53faec(0x272)](){const _0x1205ba=a0_0x53faec;return this[_0x1205ba(0x121)][_0x1205ba(0x272)];}[a0_0x53faec(0x2c0)](){const _0x107b78=a0_0x53faec;return!this[_0x107b78(0x284)]&&(this[_0x107b78(0x284)]=new FieldList(this['_raw'][_0x107b78(0x1a0)]||[])),this[_0x107b78(0x284)];}[a0_0x53faec(0x153)](){const _0x26b599=a0_0x53faec;return!this[_0x26b599(0xc5)]&&(this[_0x26b599(0xc5)]=FieldList['withDeleted'](this[_0x26b599(0x121)][_0x26b599(0x1a0)]||[])),this[_0x26b599(0xc5)];}[a0_0x53faec(0xe5)](){const _0x55ab6e=a0_0x53faec;return this[_0x55ab6e(0x2c0)]()['raw']();}['getFieldsWithDeleted'](){const _0x4556b9=a0_0x53faec;return this[_0x4556b9(0x121)][_0x4556b9(0x1a0)]||[];}['getFieldCount'](){const _0x17757d=a0_0x53faec;return this[_0x17757d(0x2c0)]()[_0x17757d(0x12e)];}[a0_0x53faec(0xfc)](_0x1af709){const _0x3426c5=a0_0x53faec,_0x2fb758=this[_0x3426c5(0x219)](_0x1af709);return _0x2fb758?_0x2fb758[_0x3426c5(0x25b)]:undefined;}[a0_0x53faec(0xc8)](_0x203680){const _0x5c129d=a0_0x53faec;return this[_0x5c129d(0x2c0)]()['find'](_0x203680)?.[_0x5c129d(0x25b)]||undefined;}[a0_0x53faec(0x219)](_0x1fb33c){const _0x1e59ad=a0_0x53faec;if(typeof _0x1fb33c!==_0x1e59ad(0xe8)){!![]&&console[_0x1e59ad(0xe3)](_0x1e59ad(0xde),_0x1fb33c);return;}return this['getFieldList']()[_0x1e59ad(0x29f)](_0x1fb33c);}[a0_0x53faec(0x140)](_0x1f5447){const _0x2a9dcd=a0_0x53faec;return this[_0x2a9dcd(0x2c0)]()[_0x2a9dcd(0x287)](_0x1f5447);}[a0_0x53faec(0x17b)](_0x31466e){const _0x32c016=a0_0x53faec;if(!_0x31466e||typeof _0x31466e!==_0x32c016(0x172))return!![]&&console['warn'](_0x32c016(0xc7),_0x31466e),{};if(!_0x31466e[_0x32c016(0x21f)])return{};try{const _0x3346f8=typeof _0x31466e['extend']===_0x32c016(0xe8)?JSON[_0x32c016(0x223)](_0x31466e['extend']):_0x31466e['extend'];if(typeof _0x3346f8!==_0x32c016(0x172)||_0x3346f8===null)return{};return _0x3346f8;}catch{return{};}}[a0_0x53faec(0xe6)](_0x35ddf7){const _0x355b2b=a0_0x53faec;if(!_0x35ddf7||typeof _0x35ddf7!=='object')return![];const _0xae5db2=this['getFieldList']()[_0x355b2b(0x29f)](_0x35ddf7[_0x355b2b(0x104)]);return _0xae5db2?_0xae5db2[_0x355b2b(0x139)]():![];}[a0_0x53faec(0x16a)](_0x2785d6){const _0x219a03=a0_0x53faec;if(!_0x2785d6||typeof _0x2785d6!=='object')return![];const _0x1d12b7=this['getFieldList']()[_0x219a03(0x29f)](_0x2785d6['code']);return _0x1d12b7?_0x1d12b7[_0x219a03(0x12b)]():![];}[a0_0x53faec(0x188)](_0x58e221){const _0x29720c=a0_0x53faec;if(!_0x58e221||typeof _0x58e221!=='object')return![];const _0x2acb1c=this[_0x29720c(0x2c0)]()[_0x29720c(0x29f)](_0x58e221[_0x29720c(0x104)]);return _0x2acb1c?_0x2acb1c[_0x29720c(0x2ae)]():![];}[a0_0x53faec(0x22d)](){const _0x248a17=a0_0x53faec;return this[_0x248a17(0x2c0)]()[_0x248a17(0x1b1)]()['map'](_0x3801af=>_0x3801af['raw']);}[a0_0x53faec(0x1a8)](){const _0x19c28=a0_0x53faec;return this[_0x19c28(0x2c0)]()[_0x19c28(0x23d)]()[_0x19c28(0x254)](_0x3dbbe3=>_0x3dbbe3[_0x19c28(0x25b)]);}['getBusinessFields'](){const _0x55a244=a0_0x53faec;return this['getFieldList']()['getBusiness']()[_0x55a244(0x254)](_0x21b48d=>_0x21b48d[_0x55a244(0x25b)]);}['getRequiredFields'](){const _0x3bd528=a0_0x53faec;return this[_0x3bd528(0x2c0)]()['getRequired']()['map'](_0x1b9c2b=>_0x1b9c2b[_0x3bd528(0x25b)]);}[a0_0x53faec(0x2be)](){const _0x362daa=a0_0x53faec,_0x181505=this['getFieldList']()[_0x362daa(0x189)](),_0xe617d3={};for(const [_0x3d7076,_0x22a26c]of Object['entries'](_0x181505)){_0xe617d3[_0x3d7076]=_0x22a26c['map'](_0x688499=>_0x688499[_0x362daa(0x25b)]);}return _0xe617d3;}[a0_0x53faec(0x114)](_0x1d89ab){const _0x5cf5e2=a0_0x53faec;if(!_0x1d89ab||typeof _0x1d89ab!=='object')return![];const _0x4fb945=this[_0x5cf5e2(0x2c0)]()['find'](_0x1d89ab['code']);return _0x4fb945?_0x4fb945[_0x5cf5e2(0x26c)]():![];}['isMultipleSelectField'](_0x17aa52){const _0x5cc6fe=a0_0x53faec;if(!_0x17aa52||typeof _0x17aa52!==_0x5cc6fe(0x172))return![];const _0xe67bac=this[_0x5cc6fe(0x2c0)]()['find'](_0x17aa52['code']);return _0xe67bac?_0xe67bac[_0x5cc6fe(0x233)]():![];}[a0_0x53faec(0x255)](_0x1c795c){const _0x60aa13=a0_0x53faec;if(!_0x1c795c||typeof _0x1c795c!=='object')return[];const _0x106d05=this[_0x60aa13(0x2c0)]()[_0x60aa13(0x29f)](_0x1c795c[_0x60aa13(0x104)]);if(!_0x106d05||!_0x106d05[_0x60aa13(0x26c)]())return[];return _0x106d05['getEnumOptions']()||[];}[a0_0x53faec(0xc2)](_0x2baa16){const _0x59578a=a0_0x53faec;if(!_0x2baa16||typeof _0x2baa16!=='object')return;const _0x225a16=this[_0x59578a(0x2c0)]()[_0x59578a(0x29f)](_0x2baa16[_0x59578a(0x104)]);if(!_0x225a16||!_0x225a16[_0x59578a(0x26c)]())return;return _0x225a16[_0x59578a(0x195)]();}[a0_0x53faec(0x161)](_0x7bc62f){const _0x50cacc=a0_0x53faec;if(!_0x7bc62f||typeof _0x7bc62f!==_0x50cacc(0x172))return;const _0x7ee127=this[_0x50cacc(0x2c0)]()[_0x50cacc(0x29f)](_0x7bc62f[_0x50cacc(0x104)]);if(!_0x7ee127||!_0x7ee127['isEnum']())return;return _0x7ee127[_0x50cacc(0x227)]();}[a0_0x53faec(0x27b)](){const _0x1e1504=a0_0x53faec;return this['getFieldList']()[_0x1e1504(0x181)]()[_0x1e1504(0x254)](_0x497275=>_0x497275[_0x1e1504(0x25b)]);}[a0_0x53faec(0x163)](){const _0x3fdbba=a0_0x53faec,_0x3c7200={};return this[_0x3fdbba(0x27b)]()[_0x3fdbba(0x242)](_0x1ce92b=>{const _0x49a411=_0x3fdbba,_0x5c75d1=this[_0x49a411(0x161)](_0x1ce92b);_0x5c75d1&&(_0x3c7200[_0x1ce92b[_0x49a411(0x104)]]=_0x5c75d1);}),_0x3c7200;}['validateEnumValue'](_0x4045ba,_0x40106e){const _0x55ae69=a0_0x53faec,_0x40bb62=this[_0x55ae69(0x161)](_0x4045ba);if(!_0x40bb62)return!![];if(_0x40bb62[_0x55ae69(0x12c)]&&!_0x40bb62[_0x55ae69(0xe9)])return!![];if(_0x40bb62[_0x55ae69(0x228)]&&Array[_0x55ae69(0x244)](_0x40106e))return _0x40106e[_0x55ae69(0x14f)](_0x570e8f=>_0x40bb62[_0x55ae69(0x115)][_0x55ae69(0x16d)](_0x570e8f));return _0x40bb62[_0x55ae69(0x115)]['includes'](_0x40106e);}[a0_0x53faec(0x2b9)](){const _0x3a19d4=a0_0x53faec;if(!this[_0x3a19d4(0x2b7)]){const _0x5002a2=this[_0x3a19d4(0x2b5)](this[_0x3a19d4(0x121)]['operations']||{});this[_0x3a19d4(0x2b7)]=new OperationList(_0x5002a2,{'fields':this[_0x3a19d4(0xe5)](),'pkField':this['_raw']['dbtableConfig']?.[_0x3a19d4(0x155)],'dbtableConfig':this[_0x3a19d4(0x121)]['dbtableConfig']});}return this[_0x3a19d4(0x2b7)];}[a0_0x53faec(0x2b5)](_0x3e3ab3){const _0x55e2fb=a0_0x53faec;if(_0x3e3ab3[_0x55e2fb(0x1c6)]!==undefined)return _0x3e3ab3;return{..._0x3e3ab3,'filter':this[_0x55e2fb(0x207)]()};}[a0_0x53faec(0x207)](){const _0x1d8a55=a0_0x53faec,_0x1733af=this['_raw']['operations']?.[_0x1d8a55(0xb6)];let _0xeaf9eb=_0x1733af?.[_0x1d8a55(0x245)],_0x1eb43d='';if(!_0xeaf9eb&&this[_0x1d8a55(0x121)][_0x1d8a55(0x273)]){const _0x2927c9=Object[_0x1d8a55(0x115)](this[_0x1d8a55(0x121)][_0x1d8a55(0x273)]);for(const _0x495c8b of _0x2927c9){if(_0x495c8b&&typeof _0x495c8b==='object'&&_0x1d8a55(0x245)in _0x495c8b){_0xeaf9eb=_0x495c8b[_0x1d8a55(0x245)];break;}}}if(_0x1733af?.[_0x1d8a55(0x14e)]){const _0x1bf191=_0x1733af[_0x1d8a55(0x14e)],_0x4a1a6c=_0x1bf191[_0x1d8a55(0xf6)]('/');_0x4a1a6c!==-0x1&&(_0x1eb43d=_0x1bf191['substring'](0x0,_0x4a1a6c));}return{'name':_0x1d8a55(0x1c6),'type':'query','description':_0x1d8a55(0x123),'method':'POST','host':_0xeaf9eb,'path':_0x1eb43d?_0x1eb43d+_0x1d8a55(0x12f):_0x1d8a55(0x12f),'params':_0x1733af?.['params']||[{'name':'where','type':_0x1d8a55(0x172),'required':![]},{'name':_0x1d8a55(0xb0),'type':_0x1d8a55(0x2a2),'required':![]},{'name':_0x1d8a55(0x1cd),'type':_0x1d8a55(0x2a2),'required':![]},{'name':_0x1d8a55(0x205),'type':_0x1d8a55(0x276),'required':![],'default':0x1},{'name':_0x1d8a55(0x18b),'type':_0x1d8a55(0x276),'required':![],'default':0xa}],'_autoGenerated':!![]};}[a0_0x53faec(0x289)](){const _0x2e5294=a0_0x53faec;return this[_0x2e5294(0x2b9)]()[_0x2e5294(0xd4)]();}[a0_0x53faec(0x23e)](){const _0x6bde38=a0_0x53faec;return this[_0x6bde38(0x2b9)]()[_0x6bde38(0x286)]();}['getOperation'](_0x39ae59){const _0x7b1aa3=a0_0x53faec;if(typeof _0x39ae59!==_0x7b1aa3(0xe8)){!![]&&console[_0x7b1aa3(0xe3)](_0x7b1aa3(0x2a3),_0x39ae59);return;}return this[_0x7b1aa3(0x2b9)]()[_0x7b1aa3(0x25d)](_0x39ae59);}['hasOperation'](_0x1e59b2){const _0x3ffab9=a0_0x53faec;if(typeof _0x1e59b2!==_0x3ffab9(0xe8))return![];return this['getOperationList']()[_0x3ffab9(0x287)](_0x1e59b2);}[a0_0x53faec(0x1cf)](_0x1df80c){const _0x38fb6d=a0_0x53faec;if(typeof _0x1df80c!==_0x38fb6d(0xe8))return![];const _0x62f106=this[_0x38fb6d(0x2bb)](_0x1df80c);return _0x62f106?.[_0x38fb6d(0x270)]()||![];}[a0_0x53faec(0x26d)](){return this['getOperationList']()['getEnabledNames']();}['getDisabledOperations'](){const _0xda65ed=a0_0x53faec;return this['getOperationList']()[_0xda65ed(0x1fc)]();}[a0_0x53faec(0x297)](){const _0x57a64b=a0_0x53faec;return this[_0x57a64b(0x2b9)]()[_0x57a64b(0xeb)]();}['getDisabledOperationInstances'](){const _0x46f713=a0_0x53faec;return this[_0x46f713(0x2b9)]()['getDisabled']();}[a0_0x53faec(0x111)](){const _0x1d3c51=a0_0x53faec;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this[_0x1d3c51(0x1a8)]()[_0x1d3c51(0x12e)],'businessFieldCount':this[_0x1d3c51(0x20d)]()[_0x1d3c51(0x12e)],'requiredFieldCount':this[_0x1d3c51(0xcd)]()[_0x1d3c51(0x12e)],'primaryKeyCount':this[_0x1d3c51(0x22d)]()['length'],'operationCount':this[_0x1d3c51(0x23e)](),'enabledOperationCount':this['getEnabledOperations']()['length']};}[a0_0x53faec(0xfd)](){const _0x144b2f=a0_0x53faec;return new DatasetItem({'id':this['id'],'name':this[_0x144b2f(0x24e)],'datasetCode':this[_0x144b2f(0x29c)],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x53faec(0x179)](){const _0xf79821=a0_0x53faec;return'DrivenDataDetail('+this[_0xf79821(0x24e)]+',\x20'+this['datasetCode']+',\x20'+this[_0xf79821(0x15e)]()+_0xf79821(0xcb)+this['getOperationCount']()+'\x20operations)';}['getFilterOperation'](){const _0x371fc0=a0_0x53faec,_0x2587c3=this[_0x371fc0(0x2bb)](_0x371fc0(0x1c6));return _0x2587c3;}[a0_0x53faec(0x1ea)](){const _0x263afd=a0_0x53faec;return this[_0x263afd(0xf2)](_0x263afd(0x1c6));}[a0_0x53faec(0x14a)](_0x57cb4e){const _0x588ab9=a0_0x53faec,_0x4d1485=this['getOperation'](_0x57cb4e);return _0x4d1485?_0x4d1485[_0x588ab9(0x1e8)]():[];}['getOperationFieldOperators'](_0x513609,_0x5c3bbf){const _0x5b2090=a0_0x53faec,_0x2a1cc6=this[_0x5b2090(0x2bb)](_0x513609);return _0x2a1cc6?_0x2a1cc6[_0x5b2090(0x175)](_0x5c3bbf):[];}[a0_0x53faec(0x143)](_0x58fc43){const _0x3e74dc=a0_0x53faec,_0x27efda={};return this[_0x3e74dc(0x2c0)]()[_0x3e74dc(0x242)](_0x34a29b=>{const _0x2c0d64=_0x3e74dc,_0x41fa91=this[_0x2c0d64(0x231)](_0x58fc43,_0x34a29b[_0x2c0d64(0x104)]);_0x41fa91[_0x2c0d64(0x12e)]>0x0&&(_0x27efda[_0x34a29b[_0x2c0d64(0x104)]]=_0x41fa91);}),_0x27efda;}[a0_0x53faec(0x11b)](_0x3fd502,_0x23c4a9,_0xe86e9c){const _0x25f269=a0_0x53faec,_0x23782f=this[_0x25f269(0x231)](_0x3fd502,_0x23c4a9);return _0x23782f['includes'](_0xe86e9c);}[a0_0x53faec(0xf7)](){const _0x3a8a65=a0_0x53faec;return this[_0x3a8a65(0x14a)](_0x3a8a65(0x1c6));}[a0_0x53faec(0xf9)](_0x4b3a51){const _0x4b7c90=a0_0x53faec;return this[_0x4b7c90(0x231)]('filter',_0x4b3a51);}[a0_0x53faec(0x263)](){const _0x2af881=a0_0x53faec;return this[_0x2af881(0x143)](_0x2af881(0x1c6));}}class DatasetGroup{[a0_0x53faec(0x1c0)];constructor(_0x233703){const _0x1c4174=a0_0x53faec;this[_0x1c4174(0x1c0)]=Array['isArray'](_0x233703)?[..._0x233703]:[_0x233703],this['items'][_0x1c4174(0x20f)]((_0x2d9c3d,_0x4e0f25)=>{const _0x564ffe=Number(_0x2d9c3d['id'])||0x0,_0x5e0c2d=Number(_0x4e0f25['id'])||0x0;return _0x5e0c2d-_0x564ffe;});}['hasConflict'](){const _0x4964f1=a0_0x53faec;return this[_0x4964f1(0x1c0)][_0x4964f1(0x12e)]>0x1;}['getLatest'](){const _0x230ec6=a0_0x53faec;return this[_0x230ec6(0x1c0)][0x0];}[a0_0x53faec(0x2af)](){const _0x355f5a=a0_0x53faec;return this[_0x355f5a(0x1c0)][this['items']['length']-0x1];}['getAll'](){const _0x45cf2b=a0_0x53faec;return[...this[_0x45cf2b(0x1c0)]];}['getCount'](){const _0x55644b=a0_0x53faec;return this['items'][_0x55644b(0x12e)];}[a0_0x53faec(0x11d)](_0x500f54){const _0x2702f3=a0_0x53faec;return this[_0x2702f3(0x1c0)][_0x500f54];}[a0_0x53faec(0xd1)](_0x1b7ba5){const _0x1aa97e=a0_0x53faec;return this[_0x1aa97e(0x1c0)][_0x1aa97e(0x29f)](_0x289311=>_0x289311['id']===_0x1b7ba5);}[a0_0x53faec(0x1e3)](_0x52fae5){const _0x418aa9=a0_0x53faec;return this[_0x418aa9(0x1c0)]['find'](_0x333287=>_0x333287[_0x418aa9(0x29c)]===_0x52fae5);}[a0_0x53faec(0x1dc)](){const _0x56ed97=a0_0x53faec;return this['items'][_0x56ed97(0x254)](_0x37ebeb=>_0x37ebeb['id'])['filter'](_0x31fb4d=>_0x31fb4d!==undefined);}[a0_0x53faec(0x21d)](){const _0x2e8b3f=a0_0x53faec;return this[_0x2e8b3f(0x1c0)]['map'](_0x30101a=>_0x30101a[_0x2e8b3f(0x29c)]);}['toString'](){const _0x1400a2=a0_0x53faec;if(this[_0x1400a2(0x1c4)]())return _0x1400a2(0x127)+this['items'][_0x1400a2(0x12e)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x1400a2(0x1da)]()[_0x1400a2(0x24e)]+')';return _0x1400a2(0x127)+this[_0x1400a2(0x1c0)][0x0][_0x1400a2(0x24e)]+')';}}class DatasetGroupMap{[a0_0x53faec(0x1ff)];constructor(_0x596823){const _0x23b400=a0_0x53faec;this[_0x23b400(0x1ff)]=new Map();for(const _0x404444 of _0x596823){const _0x3238a1=getTableKey(_0x404444);if(!this[_0x23b400(0x1ff)][_0x23b400(0x287)](_0x3238a1))this['groups'][_0x23b400(0xf1)](_0x3238a1,new DatasetGroup(_0x404444));else{const _0x457972=this[_0x23b400(0x1ff)][_0x23b400(0x25d)](_0x3238a1),_0x253247=[..._0x457972[_0x23b400(0x1a6)](),_0x404444];this[_0x23b400(0x1ff)][_0x23b400(0xf1)](_0x3238a1,new DatasetGroup(_0x253247));}}}[a0_0x53faec(0x25d)](_0x1fdd1e){const _0x570332=a0_0x53faec;return this[_0x570332(0x1ff)][_0x570332(0x25d)](_0x1fdd1e);}[a0_0x53faec(0x287)](_0x57c751){const _0x5c01e6=a0_0x53faec;return this[_0x5c01e6(0x1ff)][_0x5c01e6(0x287)](_0x57c751);}get[a0_0x53faec(0x286)](){const _0x6b0269=a0_0x53faec;return this[_0x6b0269(0x1ff)]['size'];}['keys'](){const _0x5ea3fe=a0_0x53faec;return this['groups'][_0x5ea3fe(0x271)]();}['values'](){const _0x33db46=a0_0x53faec;return this[_0x33db46(0x1ff)][_0x33db46(0x115)]();}[a0_0x53faec(0x1f0)](){const _0x397b48=a0_0x53faec;return this[_0x397b48(0x1ff)][_0x397b48(0x1f0)]();}[Symbol[a0_0x53faec(0x1b5)]](){const _0x3f7326=a0_0x53faec;return this['groups'][_0x3f7326(0x1f0)]();}[a0_0x53faec(0x242)](_0x7409fe){const _0xa24cab=a0_0x53faec;this[_0xa24cab(0x1ff)][_0xa24cab(0x242)]((_0x33842e,_0x277985)=>_0x7409fe(_0x33842e,_0x277985,this));}[a0_0x53faec(0x204)](){const _0x1ae1fb=a0_0x53faec,_0xb486a0=new Map();for(const [_0x196ade,_0x5c8497]of this[_0x1ae1fb(0x1ff)]){_0x5c8497['hasConflict']()&&_0xb486a0[_0x1ae1fb(0xf1)](_0x196ade,_0x5c8497);}return _0xb486a0;}['hasConflicts'](){const _0xe9da1f=a0_0x53faec;for(const _0x5e4e29 of this[_0xe9da1f(0x1ff)][_0xe9da1f(0x115)]()){if(_0x5e4e29[_0xe9da1f(0x1c4)]())return!![];}return![];}[a0_0x53faec(0x193)](){const _0x3d730f=a0_0x53faec;let _0x5e091b=0x0,_0x5db5c1=0x0;for(const _0x59669b of this['groups']['values']()){_0x59669b[_0x3d730f(0x1c4)]()&&(_0x5e091b++,_0x5db5c1+=_0x59669b['getCount']());}return{'conflictGroupCount':_0x5e091b,'conflictItemCount':_0x5db5c1,'totalGroups':this['groups'][_0x3d730f(0x286)]};}[a0_0x53faec(0x13f)](){const _0x68ed0b=a0_0x53faec,_0x56a3f8=[];for(const _0x3fcdd6 of this['groups']['values']()){_0x56a3f8[_0x68ed0b(0x1fa)](..._0x3fcdd6[_0x68ed0b(0x1a6)]());}return _0x56a3f8;}['getLatestDatasets'](){const _0x2ac487=a0_0x53faec,_0x1806ff=[];for(const _0x56ac77 of this[_0x2ac487(0x1ff)][_0x2ac487(0x115)]()){_0x1806ff[_0x2ac487(0x1fa)](_0x56ac77[_0x2ac487(0x1da)]());}return _0x1806ff;}[a0_0x53faec(0x1da)](_0x3c5677){const _0x90776b=a0_0x53faec;return this[_0x90776b(0x1ff)][_0x90776b(0x25d)](_0x3c5677)?.[_0x90776b(0x1da)]();}[a0_0x53faec(0x1a6)](_0x5b0a6f){const _0xde4fca=a0_0x53faec;return this[_0xde4fca(0x1ff)][_0xde4fca(0x25d)](_0x5b0a6f)?.['getAll']()||[];}['toConfig'](){const _0x39a12e=a0_0x53faec,_0x43b7d3=this['getLatestDatasets'](),_0x2adf83=_0x43b7d3['map'](_0x20fcf5=>_0x20fcf5[_0x39a12e(0x2c5)]());return generateDatasetsConfig(_0x2adf83,{'enableDeduplication':![]});}[a0_0x53faec(0x131)](){const _0x3e2557=a0_0x53faec,_0x58ab0c=this[_0x3e2557(0x13f)](),_0x4df067=_0x58ab0c[_0x3e2557(0x254)](_0x2bbdde=>_0x2bbdde[_0x3e2557(0x2c5)]());return generateFullDatasetsConfig(_0x4df067);}['toObject'](){const _0x3cfb02=a0_0x53faec,_0x5209d3={};for(const [_0x278061,_0x622982]of this[_0x3cfb02(0x1ff)]){_0x5209d3[_0x278061]=_0x622982;}return _0x5209d3;}['toJSON'](){const _0x3bd22e=a0_0x53faec,_0x1e8a8f={};for(const [_0x19f071,_0x277809]of this['groups']){_0x1e8a8f[_0x19f071]=_0x277809[_0x3bd22e(0x1a6)]()[_0x3bd22e(0x254)](_0x3c0fbc=>_0x3c0fbc[_0x3bd22e(0x2c5)]());}return _0x1e8a8f;}['toString'](){const _0x1361b0=a0_0x53faec;return _0x1361b0(0x144)+this['groups'][_0x1361b0(0x286)]+_0x1361b0(0x26e)+(this[_0x1361b0(0xfa)]()?'has\x20conflicts':'no\x20conflicts')+')';}}class DatasetList{[a0_0x53faec(0x1e4)];constructor(_0x509097){const _0x380e0c=a0_0x53faec;let _0x16a8d2;if(Array[_0x380e0c(0x244)](_0x509097))_0x16a8d2=_0x509097;else{if(_0x380e0c(0xef)in _0x509097){if(!_0x509097[_0x380e0c(0xef)])throw new Error(_0x380e0c(0x1aa));if(Array[_0x380e0c(0x244)](_0x509097[_0x380e0c(0xd5)]))_0x16a8d2=_0x509097[_0x380e0c(0xd5)]['map'](_0x58e21d=>({..._0x58e21d,'datasetCode':_0x58e21d['code']||_0x58e21d[_0x380e0c(0x29c)]}));else{if(_0x509097[_0x380e0c(0xd5)]?.[_0x380e0c(0x2c9)])_0x16a8d2=_0x509097['data'][_0x380e0c(0x2c9)][_0x380e0c(0x254)](_0x1eab2c=>({..._0x1eab2c,'datasetCode':_0x1eab2c['code']||_0x1eab2c[_0x380e0c(0x29c)]}));else throw new Error('Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)');}}else{if(_0x380e0c(0x2c9)in _0x509097){if(!Array[_0x380e0c(0x244)](_0x509097[_0x380e0c(0x2c9)]))throw new Error(_0x380e0c(0x19d));_0x16a8d2=_0x509097[_0x380e0c(0x2c9)]['map'](_0x20b753=>({..._0x20b753,'datasetCode':_0x20b753[_0x380e0c(0x104)]||_0x20b753[_0x380e0c(0x29c)]}));}else throw new Error(_0x380e0c(0x1a3));}}const _0x158785=_0x16a8d2[_0x380e0c(0x254)](_0xee628b=>new DatasetItem(_0xee628b));this[_0x380e0c(0x1e4)]=new DatasetGroupMap(_0x158785);}get[a0_0x53faec(0x1f2)](){const _0x221577=a0_0x53faec;return this[_0x221577(0x1e4)];}['getItems'](){const _0x54aefd=a0_0x53faec;return this[_0x54aefd(0x1e4)][_0x54aefd(0x13f)]();}['getCount'](){const _0x471a6f=a0_0x53faec;return this[_0x471a6f(0x296)]()[_0x471a6f(0x12e)];}[a0_0x53faec(0x278)](){const _0x221b0d=a0_0x53faec;return this[_0x221b0d(0x1e4)]['size']===0x0;}[a0_0x53faec(0x11d)](_0x4e3985){return this['getItems']()[_0x4e3985];}[a0_0x53faec(0x15f)](){const _0x2723c1=a0_0x53faec;return this[_0x2723c1(0x296)]()[0x0];}[a0_0x53faec(0x18c)](){const _0xfecd4c=a0_0x53faec,_0x8a52e=this[_0xfecd4c(0x296)]();return _0x8a52e[_0x8a52e[_0xfecd4c(0x12e)]-0x1];}[a0_0x53faec(0x1e3)](_0x36eda3){const _0x304e71=a0_0x53faec;for(const _0x350a13 of this[_0x304e71(0x1e4)][_0x304e71(0x115)]()){const _0x4403ec=_0x350a13[_0x304e71(0x1e3)](_0x36eda3);if(_0x4403ec)return _0x4403ec;}return;}[a0_0x53faec(0x110)](_0x2bdf5b){const _0x386db1=a0_0x53faec;return this[_0x386db1(0x296)]()['find'](_0x158b37=>_0x158b37['name']===_0x2bdf5b);}[a0_0x53faec(0xd1)](_0x2cd78f){const _0x5d880b=a0_0x53faec;for(const _0x54be61 of this[_0x5d880b(0x1e4)][_0x5d880b(0x115)]()){const _0x278bd5=_0x54be61['findById'](_0x2cd78f);if(_0x278bd5)return _0x278bd5;}return;}[a0_0x53faec(0x191)](_0x152b35){const _0x4da9e3=a0_0x53faec,_0x319290=getTableKey(_0x152b35);return this[_0x4da9e3(0x1e4)][_0x4da9e3(0x1da)](_0x319290);}[a0_0x53faec(0x1c6)](_0x321b2e){const _0x3e3009=a0_0x53faec,_0x59e4bb=this[_0x3e3009(0x296)]()['filter'](_0x321b2e);return new DatasetList(_0x59e4bb['map'](_0x823f6=>_0x823f6[_0x3e3009(0x2c5)]()));}[a0_0x53faec(0x2c6)](_0x37187d){const _0x3a33f9=a0_0x53faec;return this[_0x3a33f9(0x296)]()[_0x3a33f9(0x1c6)](_0x37187d);}[a0_0x53faec(0x242)](_0xaf3f34){const _0x3e475c=a0_0x53faec;this[_0x3e475c(0x296)]()['forEach'](_0xaf3f34);}['map'](_0xe5c749){const _0x496579=a0_0x53faec;return this[_0x496579(0x296)]()[_0x496579(0x254)](_0xe5c749);}[Symbol['iterator']](){const _0x3bd86d=a0_0x53faec;return this['getItems']()[Symbol[_0x3bd86d(0x1b5)]]();}[a0_0x53faec(0x1d8)](){const _0x496411=a0_0x53faec;return this[_0x496411(0x296)]()[_0x496411(0x1c6)](_0x139f09=>_0x139f09[_0x496411(0x15d)]());}[a0_0x53faec(0x180)](){const _0xe0b325=a0_0x53faec;return this[_0xe0b325(0x296)]()['filter'](_0x19dda7=>!_0x19dda7[_0xe0b325(0x15d)]());}[a0_0x53faec(0x1ef)](){const _0x294e41=a0_0x53faec,_0x419ca7={};for(const _0x1af255 of this[_0x294e41(0x1e4)][_0x294e41(0x115)]()){const _0x3f710b=_0x1af255['getLatest']()[_0x294e41(0xd7)]();_0x419ca7[_0x3f710b]=_0x1af255[_0x294e41(0x1a6)]();}return _0x419ca7;}['detectConflicts'](){const _0x46bb1c=a0_0x53faec,_0x49ca3f={};for(const _0x855f85 of this[_0x46bb1c(0x1e4)][_0x46bb1c(0x204)]()[_0x46bb1c(0x115)]()){const _0x16dc0f=_0x855f85['getLatest']()['getTableName']();_0x49ca3f[_0x16dc0f]=_0x855f85[_0x46bb1c(0x1a6)]()[_0x46bb1c(0x254)](_0x311e04=>_0x311e04['toJSON']());}return{'hasConflicts':Object[_0x46bb1c(0x271)](_0x49ca3f)['length']>0x0,'conflicts':_0x49ca3f};}['hasConflicts'](){const _0x5c670f=a0_0x53faec;return this[_0x5c670f(0x1e4)][_0x5c670f(0xfa)]();}[a0_0x53faec(0x292)](){const _0x60c20c=a0_0x53faec,_0x44bd11=[];for(const _0x5e9a93 of this[_0x60c20c(0x1e4)][_0x60c20c(0x204)]()[_0x60c20c(0x115)]()){_0x44bd11[_0x60c20c(0x1fa)](..._0x5e9a93[_0x60c20c(0x1a6)]());}return _0x44bd11;}['generateConfig'](_0x5b72a3){const _0x136d4b=a0_0x53faec;if(!_0x5b72a3||Object[_0x136d4b(0x271)](_0x5b72a3)[_0x136d4b(0x12e)]===0x0)return this[_0x136d4b(0x1f2)][_0x136d4b(0x134)]();const _0x509604=this['getItems']()['map'](_0xa31a62=>_0xa31a62[_0x136d4b(0x2c5)]());return generateDatasetsConfig(_0x509604,_0x5b72a3);}[a0_0x53faec(0x138)](_0x5df365){const _0x557bca=this['generateConfig'](_0x5df365);return datasetsConfigToArray(_0x557bca);}[a0_0x53faec(0x21c)](){const _0x1595d9=a0_0x53faec;return this['getItems']()[_0x1595d9(0x254)](_0x2b2e06=>_0x2b2e06['toConfig']());}[a0_0x53faec(0x111)](){const _0x1f9555=a0_0x53faec;return{'total':this[_0x1f9555(0x11f)](),'virtualTables':this[_0x1f9555(0x1d8)]()[_0x1f9555(0x12e)],'realTables':this[_0x1f9555(0x180)]()[_0x1f9555(0x12e)],'hasConflicts':this[_0x1f9555(0xfa)](),'conflictCount':this[_0x1f9555(0x292)]()[_0x1f9555(0x12e)]};}[a0_0x53faec(0xd4)](){const _0x5d8e79=a0_0x53faec;return this['getItems']()[_0x5d8e79(0x254)](_0x4f52fe=>_0x4f52fe[_0x5d8e79(0x2c5)]());}[a0_0x53faec(0x2c5)](){return this['toArray']();}[a0_0x53faec(0x179)](){const _0x179949=a0_0x53faec;return _0x179949(0x28a)+this['getCount']()+_0x179949(0x20e)+this[_0x179949(0x1e4)][_0x179949(0x286)]+'\x20groups)';}static[a0_0x53faec(0x1e1)](_0x15b0e7){return new DatasetList(_0x15b0e7);}static['initDataset'](_0x2a8920){return new DatasetList(_0x2a8920);}static[a0_0x53faec(0x15a)](){return new DatasetList([]);}}function operationToAnalysis(_0x20fdb7){const _0x285d38=a0_0x53faec;return{'name':_0x20fdb7['getName'](),'displayName':_0x20fdb7[_0x285d38(0x29e)](),'type':_0x20fdb7['getType'](),'method':_0x20fdb7[_0x285d38(0xc1)](),'path':_0x20fdb7[_0x285d38(0x142)](),'fullUrl':_0x20fdb7['getFullUrl'](),'requestFields':_0x20fdb7[_0x285d38(0x28d)](),'requestParams':_0x20fdb7['getRequestParams'](),'responseSchema':_0x20fdb7[_0x285d38(0x26a)](),'requestExample':_0x20fdb7[_0x285d38(0x2c2)](),'responseExample':_0x20fdb7[_0x285d38(0x24b)](),'enabled':_0x20fdb7[_0x285d38(0x270)]()};}function operationsToAnalyses(_0x374662){const _0x6605dd=a0_0x53faec;return _0x374662[_0x6605dd(0x254)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x53faec(0xdb)];[a0_0x53faec(0xbc)](){return this['getTableKey']();}['getOperationAnalyses'](_0x6c02c9=![]){const _0x2698e8=a0_0x53faec;if(!_0x6c02c9&&this[_0x2698e8(0xdb)])return this['_operationAnalyses'];const _0x3c7fcb=this[_0x2698e8(0x289)]();return this[_0x2698e8(0xdb)]=operationsToAnalyses(_0x3c7fcb),this[_0x2698e8(0xdb)];}[a0_0x53faec(0x135)](){const _0x340c59=a0_0x53faec;return this[_0x340c59(0x22a)]({'includeDisabled':![],'filterBlacklist':!![]});}['getFilteredOperationAnalyses'](_0x55f3c8={}){const _0xe75cd4=a0_0x53faec;let _0x258745=this[_0xe75cd4(0xf4)]();return!_0x55f3c8[_0xe75cd4(0x2d2)]&&(_0x258745=_0x258745[_0xe75cd4(0x1c6)](_0x557850=>_0x557850[_0xe75cd4(0x112)])),_0x55f3c8[_0xe75cd4(0xd8)]!==![]&&(_0x258745=filterApiOperations(_0x258745)),_0x55f3c8[_0xe75cd4(0x157)]&&(_0x258745=_0x258745[_0xe75cd4(0x1c6)](_0x55f3c8[_0xe75cd4(0x157)])),_0x258745=this[_0xe75cd4(0x230)](_0x258745),_0x258745;}['sortOperationsWithFilterFirst'](_0x34bb01){const _0x4ed70b=a0_0x53faec,_0x555872=_0x34bb01['find'](_0x1ece02=>_0x1ece02['name']===_0x4ed70b(0x1c6)),_0xedbb57=_0x34bb01[_0x4ed70b(0x1c6)](_0x2f1bad=>_0x2f1bad[_0x4ed70b(0x24e)]!==_0x4ed70b(0x1c6));return _0x555872?[_0x555872,..._0xedbb57]:_0xedbb57;}['getOperationAnalysis'](_0x34349d){const _0x2435ad=a0_0x53faec,_0x43d203=this[_0x2435ad(0xf4)]();return _0x43d203['find'](_0x271bca=>_0x271bca[_0x2435ad(0x24e)]===_0x34349d);}['getOperationAnalysesByType'](_0x66a157){const _0x6f8195=a0_0x53faec,_0x4618a9=this[_0x6f8195(0xf4)]();return _0x4618a9['filter'](_0x3a5c04=>_0x3a5c04['type']===_0x66a157);}[a0_0x53faec(0x198)](_0x13a358){const _0x4a4214=a0_0x53faec,_0x357f18=this['getOperation'](_0x13a358);if(!_0x357f18)return[];const _0x4049f3=_0x357f18[_0x4a4214(0x28d)](),_0x34b710=this['getFields']();return _0x34b710[_0x4a4214(0x1c6)](_0x495be1=>_0x4049f3[_0x4a4214(0x16d)](_0x495be1['code']));}[a0_0x53faec(0x23f)](_0x38d256,_0x442334){const _0x2e887a=a0_0x53faec,_0x1b2aa7=this[_0x2e887a(0x2a6)](_0x38d256);if(!_0x1b2aa7)return null;const _0x10763b=this['getOperation'](_0x1b2aa7[_0x2e887a(0x24e)]);if(!_0x10763b)throw new Error(_0x2e887a(0x136)+_0x1b2aa7[_0x2e887a(0x24e)]);const _0x4eb519=this[_0x2e887a(0x246)](),_0x274a88=this[_0x2e887a(0xd7)](),_0x1a6be6=_0x10763b[_0x2e887a(0x2ac)](_0x4eb519,{'useFullExample':_0x442334?.['useFullExample']}),_0xda7256=_0x10763b[_0x2e887a(0x148)](_0x4eb519);return{'operation':_0x1b2aa7,'operationInstance':_0x10763b,'basicInfo':{'name':_0x1b2aa7[_0x2e887a(0x24e)],'displayName':_0x1b2aa7[_0x2e887a(0x1d4)],'method':_0x1b2aa7[_0x2e887a(0x130)],'path':_0x1b2aa7['path'],'fullUrl':_0x1b2aa7[_0x2e887a(0x146)],'enabled':_0x1b2aa7[_0x2e887a(0x112)]},'sdkCall':{'datasetCode':this[_0x2e887a(0x29c)],'datasetSDKKey':_0x4eb519,'tableName':_0x274a88,'operationName':_0x1b2aa7[_0x2e887a(0x24e)],'params':_0x1b2aa7['requestFields'],'code':_0x1a6be6},'usageExample':_0xda7256};}['getDatasetDocMeta'](_0x2edd54={}){const _0x2c9561=a0_0x53faec,_0x5eec40=this['getFilteredOperationAnalyses'](_0x2edd54),_0x445390=this['getStats'](),_0x17d135=_0x5eec40[_0x2c9561(0x254)](_0x2b2a74=>this[_0x2c9561(0x23f)](_0x2b2a74[_0x2c9561(0x24e)]))[_0x2c9561(0x1c6)](_0x115299=>_0x115299!==null),_0x4f9f3b=this[_0x2c9561(0x246)](),_0x23b884={'name':this[_0x2c9561(0x24e)],'code':this[_0x2c9561(0x29c)],'tableName':this[_0x2c9561(0xd7)](),'datasetSDKKey':_0x4f9f3b,'tableKey':this[_0x2c9561(0x281)](),'source':this[_0x2c9561(0x2a1)],'fieldCount':_0x445390[_0x2c9561(0x267)],'businessFieldCount':_0x445390[_0x2c9561(0x279)],'systemFieldCount':_0x445390[_0x2c9561(0x103)],'operationCount':_0x445390['operationCount'],'enabledOperationCount':_0x17d135[_0x2c9561(0x12e)]};return{'title':this[_0x2c9561(0x24e)]+_0x2c9561(0x133),'datasetInfo':_0x23b884,'operations':_0x17d135};}[a0_0x53faec(0x209)](_0x357d71){const _0x331345=a0_0x53faec,_0x2dda61=[{'index':'name','label':_0x331345(0x16e)},{'index':_0x331345(0x1d4),'label':_0x331345(0xd9)},{'index':_0x331345(0x130),'label':'方法'},{'index':_0x331345(0xd0),'label':_0x331345(0x29a)},{'index':'path','label':_0x331345(0x247)},{'index':'sdkCallCode','label':_0x331345(0x19e)}],_0x40da47=_0x357d71[_0x331345(0x254)](_0x451845=>{const _0x402d0c=_0x331345,{basicInfo:_0x3e978f,sdkCall:_0x49965c}=_0x451845,_0x224627=_0x49965c[_0x402d0c(0x104)][_0x402d0c(0xf8)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x402d0c(0xf8)](/;$/,'');return{'displayName':_0x3e978f['displayName'],'name':_0x3e978f['name'],'method':_0x3e978f[_0x402d0c(0x130)],'path':_0x3e978f[_0x402d0c(0x14e)],'sdkCall':_0x224627,'sdkCallCode':_0x49965c[_0x402d0c(0x104)]};});return{'tableColumns':_0x2dda61,'tableData':_0x40da47};}[a0_0x53faec(0x14c)](_0x55092a){const _0x3377b7=a0_0x53faec,_0x451ade=this[_0x3377b7(0x2a6)](_0x55092a);if(!_0x451ade)return null;return{'name':_0x451ade[_0x3377b7(0x24e)],'displayName':_0x451ade[_0x3377b7(0x1d4)],'type':_0x451ade[_0x3377b7(0x101)],'method':_0x451ade['method'],'path':_0x451ade[_0x3377b7(0x14e)],'enabled':_0x451ade['enabled'],'requestFieldCount':_0x451ade[_0x3377b7(0xdf)][_0x3377b7(0x12e)],'hasResponseSchema':_0x451ade[_0x3377b7(0x17c)]!==null};}[a0_0x53faec(0x1af)](_0x48ad8d={}){const _0x14b85f=a0_0x53faec,_0x5c0eae=this[_0x14b85f(0x22a)](_0x48ad8d);return{'datasetName':this[_0x14b85f(0x24e)],'datasetCode':this[_0x14b85f(0x29c)],'tableName':this['getTableName'](),'totalOperations':_0x5c0eae[_0x14b85f(0x12e)],'operations':_0x5c0eae['map'](_0x196288=>({'name':_0x196288[_0x14b85f(0x24e)],'displayName':_0x196288[_0x14b85f(0x1d4)],'type':_0x196288[_0x14b85f(0x101)],'method':_0x196288[_0x14b85f(0x130)],'path':_0x196288['path'],'requestFieldCount':_0x196288[_0x14b85f(0xdf)][_0x14b85f(0x12e)]}))};}[a0_0x53faec(0x185)](_0x1b8fbc){const _0x86f4eb=a0_0x53faec,_0x25bd77={};return Object['entries'](_0x1b8fbc)[_0x86f4eb(0x242)](([_0x4465a0,_0x4182e2])=>{const _0x4d8d8c=_0x86f4eb;Array[_0x4d8d8c(0x244)](_0x4182e2)&&_0x4182e2[_0x4d8d8c(0x12e)]>0x0?_0x25bd77[_0x4465a0]=_0x4182e2[0x0]:_0x25bd77[_0x4465a0]=_0x4182e2;}),_0x25bd77;}['getOperationStats'](){const _0x39a1e2=a0_0x53faec,_0xfe23a8=this[_0x39a1e2(0xf4)](),_0x2bbc57=_0xfe23a8[_0x39a1e2(0x1c6)](_0x27ad16=>_0x27ad16[_0x39a1e2(0x112)]);return{'total':_0xfe23a8[_0x39a1e2(0x12e)],'enabled':_0x2bbc57['length'],'disabled':_0xfe23a8['length']-_0x2bbc57['length'],'byType':this[_0x39a1e2(0x261)](_0x2bbc57),'byMethod':this['getOperationCountByMethod'](_0x2bbc57)};}[a0_0x53faec(0x261)](_0x32243a){const _0x5d3434=a0_0x53faec,_0x1d3713={};return _0x32243a[_0x5d3434(0x242)](_0x4d67d4=>{const _0x2bc727=_0x5d3434;_0x4d67d4[_0x2bc727(0x101)]&&(_0x1d3713[_0x4d67d4[_0x2bc727(0x101)]]=(_0x1d3713[_0x4d67d4[_0x2bc727(0x101)]]||0x0)+0x1);}),_0x1d3713;}[a0_0x53faec(0x1f8)](_0x17d8e8){const _0x529e9f=a0_0x53faec,_0x3de611={};return _0x17d8e8[_0x529e9f(0x242)](_0x5eb041=>{const _0x5ced76=_0x529e9f;_0x3de611[_0x5eb041[_0x5ced76(0x130)]]=(_0x3de611[_0x5eb041[_0x5ced76(0x130)]]||0x0)+0x1;}),_0x3de611;}['supportsCRUD'](){const _0x1d5e1e=a0_0x53faec,_0x10dc40=this[_0x1d5e1e(0x135)](),_0x5912d4=new Set(_0x10dc40['map'](_0xf25185=>_0xf25185['type'])['filter'](Boolean));return _0x5912d4[_0x1d5e1e(0x287)](_0x1d5e1e(0x1bf))&&_0x5912d4['has']('getList')&&_0x5912d4['has']('update')&&_0x5912d4[_0x1d5e1e(0x287)](_0x1d5e1e(0xb4));}[a0_0x53faec(0x24c)](){const _0x5c4ed8=a0_0x53faec,_0x3028bd=this[_0x5c4ed8(0x135)](),_0x50894=new Set(_0x3028bd['map'](_0x2229e1=>_0x2229e1[_0x5c4ed8(0x101)])[_0x5c4ed8(0x1c6)](Boolean)),_0x5923a5=[_0x5c4ed8(0x1bf),_0x5c4ed8(0xb6),_0x5c4ed8(0x182),_0x5c4ed8(0xb4)];return _0x5923a5[_0x5c4ed8(0x1c6)](_0x325f67=>!_0x50894[_0x5c4ed8(0x287)](_0x325f67));}[a0_0x53faec(0x215)](_0x38a20c,_0x1a5fd4,_0x2fcf9a){const _0x26de42=a0_0x53faec,{includeRequestExample:includeRequestExample=!![],includeResponseExample:includeResponseExample=![],includeUsageExample:includeUsageExample=!![]}=_0x2fcf9a||{},_0x529d17=this[_0x26de42(0x23f)](_0x38a20c,{'useFullExample':includeRequestExample});if(!_0x529d17)return null;let _0x236620='';_0x236620+='\x0a\x0a//\x20'+_0x529d17['operation'][_0x26de42(0x1d4)]+_0x26de42(0xb3)+_0x529d17[_0x26de42(0x18d)][_0x26de42(0x24e)]+_0x26de42(0x176)+_0x529d17[_0x26de42(0xd0)][_0x26de42(0x104)];if(includeResponseExample&&_0x529d17[_0x26de42(0x18d)][_0x26de42(0x19b)]?.[_0x26de42(0xd5)]){const _0x560324=typeof _0x529d17['operation'][_0x26de42(0x19b)][_0x26de42(0xd5)]===_0x26de42(0xe8)?_0x529d17[_0x26de42(0x18d)]['responseExample'][_0x26de42(0xd5)]:JSON[_0x26de42(0x1e5)](_0x529d17[_0x26de42(0x18d)]['responseExample'][_0x26de42(0xd5)],null,0x2);_0x236620+=_0x26de42(0x1c3)+_0x529d17[_0x26de42(0x18d)][_0x26de42(0x24e)]+_0x26de42(0x156)+_0x560324;}return includeUsageExample&&_0x529d17['usageExample']&&(_0x236620+='\x0a\x0a//\x20Usage\x20examples:\x0a\x0a'+_0x529d17[_0x26de42(0x1e6)]['successCode']+'\x0a\x0a'+_0x529d17['usageExample'][_0x26de42(0x10b)]),_0x236620;}[a0_0x53faec(0x226)](_0xa2ffbd){const _0x4e7561=a0_0x53faec,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0xa2ffbd||{},_0x273b73=this[_0x4e7561(0x135)]();return _0x273b73['map'](_0xa4edde=>this[_0x4e7561(0x215)](_0xa4edde[_0x4e7561(0x24e)],this['datasetCode'],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x4e7561(0x2b1)]('\x0a');}[a0_0x53faec(0x1bc)](_0x8a7b95){const _0x157f89=a0_0x53faec,_0x48ac3c=this[_0x157f89(0x246)]();return{'appCode':_0x8a7b95,'datasetSDKKey':_0x48ac3c,'tableKey':this[_0x157f89(0x281)](),'alias':this[_0x157f89(0xbc)](),'tableName':this['getTableName'](),'datasetCode':this[_0x157f89(0x29c)]};}['generateSDKInitCode'](_0x42d807,_0xfcf53=a0_0x53faec(0x21a),_0x3800f9=![]){const _0x3638e0=a0_0x53faec,{alias:_0x105eb9,tableName:_0x2f826c,datasetCode:_0x16c2fd}=this['getSDKInitData'](_0x42d807),_0x191c64=_0xfcf53===_0x3638e0(0x2b6)?_0x3638e0(0xea)+_0xfcf53+'\x27,':'',_0x5d8c70=_0x3800f9?_0x3638e0(0x243):'';return _0x3638e0(0x190)+_0x42d807+'\x27,'+_0x5d8c70+_0x191c64+_0x3638e0(0x266)+_0x2f826c+_0x3638e0(0x250)+_0x16c2fd+_0x3638e0(0x2ca)+_0x105eb9+_0x3638e0(0x25c)+_0x105eb9+_0x3638e0(0xbf);}['generateAliasExplanation'](){const _0x4cc383=a0_0x53faec,_0x120e56=this[_0x4cc383(0x246)](),_0x5df5ec=this['getModelAlias']();return'\x0a##\x20模型访问方式说明\x0a\x0aSDK\x20提供两种模型访问方式:\x0a\x0a###\x201.\x20标准方式(推荐用于程序化场景)\x0a\x0a使用\x20`dataset_[完整datasetCode]`\x20格式(即\x20datasetSDKKey),这是通用的、稳定的访问方式:\x0a\x0a```javascript\x0a//\x20标准访问方式\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x120e56+_0x4cc383(0x10f)+_0x5df5ec+_0x4cc383(0x299);}[a0_0x53faec(0x179)](){const _0x3441c5=a0_0x53faec,_0x52e34c=this[_0x3441c5(0x2c3)]();return'DrivenDataDetailPlus('+this['name']+',\x20'+this['datasetCode']+',\x20'+this[_0x3441c5(0x15e)]()+_0x3441c5(0xcb)+_0x52e34c[_0x3441c5(0x112)]+'/'+_0x52e34c[_0x3441c5(0x15b)]+'\x20operations)';}}var VERSION=a0_0x53faec(0x1a7);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,FieldList,Field,FILTER_OPERATORS,DrivenDataDetailPlus,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* 3. 自动生成基于字段类型的查询示例
|
|
7
7
|
*/
|
|
8
8
|
import { GenericOperation } from './GenericOperation.js';
|
|
9
|
-
import type { OperationContext } from './Operation.js';
|
|
9
|
+
import type { OperationContext, RequestParamsDocInfo } from './Operation.js';
|
|
10
10
|
/**
|
|
11
11
|
* Filter API 支持的 12 个操作符
|
|
12
12
|
*/
|
|
@@ -63,5 +63,11 @@ export declare class FilterOperation extends GenericOperation {
|
|
|
63
63
|
* 根据字段和操作符生成示例值
|
|
64
64
|
*/
|
|
65
65
|
private generateExampleValue;
|
|
66
|
+
/**
|
|
67
|
+
* 重写请求参数的文档描述信息
|
|
68
|
+
* 1. 返回 filter 操作的特殊请求说明
|
|
69
|
+
* 2. 可用查询字段只返回业务字段
|
|
70
|
+
*/
|
|
71
|
+
getRequestParamsDocInfo(): RequestParamsDocInfo;
|
|
66
72
|
}
|
|
67
73
|
//# sourceMappingURL=FilterOperation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/FilterOperation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"FilterOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/FilterOperation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,gBAAgB,uHAanB,CAAC;AAEX,mBAAmB;AACnB,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/D;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,gBAAgB;gBACvC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB;IAIrE;;OAEG;IACH,YAAY,IAAI,SAAS,MAAM,EAAE;IAIjC;;;;OAIG;IACH,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE;IAQ9C;;;OAGG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAqC3C;;;;;;;OAOG;IACH,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IA2CjD;;;OAGG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GACA,MAAM;IAqFT;;OAEG;IACH,OAAO,CAAC,sBAAsB;IA4B9B;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAsB1B;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAiD5B;;;;OAIG;IACM,uBAAuB,IAAI,oBAAoB;CAyDzD"}
|