@lovrabet/dsparser 1.0.17 → 1.0.18

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_0xc10a22=a0_0x2ad4;(function(_0x1237fc,_0x2d5fdc){const _0x4bfa13=a0_0x2ad4,_0x1025dc=_0x1237fc();while(!![]){try{const _0x4f174a=parseInt(_0x4bfa13(0x22a))/0x1*(-parseInt(_0x4bfa13(0x18a))/0x2)+parseInt(_0x4bfa13(0x126))/0x3*(-parseInt(_0x4bfa13(0x29c))/0x4)+parseInt(_0x4bfa13(0x2e0))/0x5+-parseInt(_0x4bfa13(0x2c2))/0x6+parseInt(_0x4bfa13(0x281))/0x7+parseInt(_0x4bfa13(0x20a))/0x8+-parseInt(_0x4bfa13(0x192))/0x9;if(_0x4f174a===_0x2d5fdc)break;else _0x1025dc['push'](_0x1025dc['shift']());}catch(_0x199fe2){_0x1025dc['push'](_0x1025dc['shift']());}}}(a0_0x3af3,0xe2170));function toCamelCase(_0x2fdd22){const _0x536da0=a0_0x2ad4;if(!_0x2fdd22)return'';return _0x2fdd22[_0x536da0(0x16d)](/[_-]/)['map']((_0x425e8e,_0x31d5b7)=>{const _0x45f7a0=_0x536da0;if(_0x31d5b7===0x0)return _0x425e8e['toLowerCase']();return _0x425e8e[_0x45f7a0(0x28e)](0x0)[_0x45f7a0(0x294)]()+_0x425e8e[_0x45f7a0(0x191)](0x1)[_0x45f7a0(0x2b7)]();})[_0x536da0(0x19e)]('');}function toPascalCase(_0x457c35){const _0x288671=a0_0x2ad4;if(!_0x457c35)return'';const _0x512385=toCamelCase(_0x457c35);return _0x512385[_0x288671(0x28e)](0x0)[_0x288671(0x294)]()+_0x512385[_0x288671(0x191)](0x1);}function toSnakeCase(_0x54911c){const _0x534f1f=a0_0x2ad4;if(!_0x54911c)return'';return _0x54911c[_0x534f1f(0x277)](/([A-Z])/g,'_$1')[_0x534f1f(0x2b7)]()['replace'](/^_/,'');}function toKebabCase(_0xbabc17){const _0x3fd13a=a0_0x2ad4;if(!_0xbabc17)return'';return _0xbabc17[_0x3fd13a(0x277)](/([A-Z])/g,_0x3fd13a(0x287))['toLowerCase']()[_0x3fd13a(0x277)](/^-/,'');}function normalizeFieldName(_0x22b068){const _0x5eeca1=a0_0x2ad4;if(!_0x22b068)return'';return _0x22b068[_0x5eeca1(0x247)]()[_0x5eeca1(0x277)](/\s+/g,'_')[_0x5eeca1(0x277)](/[^a-zA-Z0-9_]/g,'_')[_0x5eeca1(0x277)](/_+/g,'_')[_0x5eeca1(0x277)](/^_|_$/g,'');}function getTableName(_0x210b8a){const _0x1bf8a3=a0_0x2ad4;if(!_0x210b8a)return _0x1bf8a3(0x2c1);if(_0x210b8a['dbtableConfig']?.[_0x1bf8a3(0xfb)])return _0x210b8a['dbtableConfig']['tableName'];const _0x42c934=_0x210b8a[_0x1bf8a3(0x2b6)]||_0x210b8a[_0x1bf8a3(0x2da)]||_0x210b8a[_0x1bf8a3(0x231)];if(_0x42c934)return generateTableNameFromCode(_0x42c934);return _0x1bf8a3(0x2c1);}function getTableKey(_0x21a9c6){const _0x362900=a0_0x2ad4;if(typeof _0x21a9c6===_0x362900(0x142))return toCamelCase(_0x21a9c6);const _0x4428d3=getTableName(_0x21a9c6);return toCamelCase(_0x4428d3);}function generateTableNameFromCode(_0x48f44e){const _0x3b16bd=a0_0x2ad4;if(!_0x48f44e)return _0x3b16bd(0x2c1);const _0x1ec667=_0x48f44e[_0x3b16bd(0x191)](-0x6)[_0x3b16bd(0x1ea)](0x6,'0');return'dataset_'+_0x1ec667;}function isVirtualTableName(_0x4fe41b){const _0xd15f0f=a0_0x2ad4;return/^dataset_[a-zA-Z0-9]{6}$/[_0xd15f0f(0x251)](_0x4fe41b);}function generateDatasetsConfig(_0x18a529,_0xa7a2f6={}){const _0x132c01=a0_0x2ad4,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x644d6f,filter:_0xa31d41}=_0xa7a2f6,_0x4839f6={},_0x12987=new Set();for(const _0x56305e of _0x18a529){if(_0xa31d41&&!_0xa31d41(_0x56305e))continue;const _0x36be4c=getTableName(_0x56305e);if(enableDeduplication&&_0x12987[_0x132c01(0x13c)](_0x36be4c)){console[_0x132c01(0x1b7)](_0x132c01(0x129)+_0x36be4c+'\x22,数据集:\x20'+_0x56305e[_0x132c01(0x241)]+'\x20('+_0x56305e[_0x132c01(0x2b6)]+')');continue;}_0x12987[_0x132c01(0x269)](_0x36be4c);const _0x2b612a=_0x644d6f?_0x644d6f(_0x36be4c,_0x56305e):getTableKey(_0x36be4c);_0x4839f6[_0x2b612a]={'key':_0x2b612a,'tableName':_0x36be4c,'datasetCode':_0x56305e['datasetCode'],'name':_0x56305e[_0x132c01(0x241)],'id':_0x56305e['id']};}return _0x4839f6;}function generateFullDatasetsConfig(_0x2e0090,_0x3f5baf={}){const _0x3b2122=a0_0x2ad4,{filter:_0x23a8f4,datasetNameGenerator:_0x1c06a0}=_0x3f5baf,_0x4667c8=_0x23a8f4?_0x2e0090['filter'](_0x23a8f4):_0x2e0090,_0x1f742a=groupByTableName(_0x4667c8),_0x52e417={};for(const [_0x3f90a8,_0x47794f]of Object[_0x3b2122(0x107)](_0x1f742a)){if(_0x47794f[_0x3b2122(0x196)]===0x1){const _0x368a7f=_0x47794f[0x0],_0x2de884=_0x1c06a0?_0x1c06a0(_0x3f90a8,_0x368a7f):getTableKey(_0x3f90a8);_0x52e417[_0x2de884]={'key':_0x2de884,'tableName':_0x3f90a8,'datasetCode':_0x368a7f[_0x3b2122(0x2b6)],'name':_0x368a7f['name'],'id':_0x368a7f['id']};}else{const _0x19249f=[..._0x47794f][_0x3b2122(0x2e7)]((_0x4e9bc2,_0x25ff00)=>{const _0x478f86=Number(_0x4e9bc2['id'])||0x0,_0xe8ff56=Number(_0x25ff00['id'])||0x0;return _0xe8ff56-_0x478f86;});_0x19249f[_0x3b2122(0x2df)]((_0x119f56,_0x56086c)=>{const _0x35d416=_0x3b2122,_0x564ed4=_0x1c06a0?_0x1c06a0(_0x3f90a8,_0x119f56):getTableKey(_0x3f90a8),_0x4b523d=_0x56086c===0x0?_0x564ed4:_0x564ed4+'_'+_0x56086c;_0x52e417[_0x4b523d]={'key':_0x4b523d,'tableName':_0x3f90a8,'datasetCode':_0x119f56[_0x35d416(0x2b6)],'name':_0x119f56[_0x35d416(0x241)],'id':_0x119f56['id']};});}}return _0x52e417;}function detectTableNameConflicts(_0x968bb8){const _0x14d195=a0_0x2ad4,_0x42a65f={};for(const _0x81456a of _0x968bb8){const _0x3ca9d4=getTableName(_0x81456a);!_0x42a65f[_0x3ca9d4]&&(_0x42a65f[_0x3ca9d4]=[]),_0x42a65f[_0x3ca9d4][_0x14d195(0x1dd)](_0x81456a);}const _0x14a2f7={};for(const [_0x1a7e30,_0x27e71b]of Object[_0x14d195(0x107)](_0x42a65f)){_0x27e71b[_0x14d195(0x196)]>0x1&&(_0x14a2f7[_0x1a7e30]=_0x27e71b);}return{'hasConflicts':Object['keys'](_0x14a2f7)[_0x14d195(0x196)]>0x0,'conflicts':_0x14a2f7};}function createDatasetNameMap(_0x2f87e0){const _0x283e0e=a0_0x2ad4,_0x4a032b={};for(const [_0xd874fd,_0x133ffb]of Object[_0x283e0e(0x107)](_0x2f87e0)){_0x4a032b[_0xd874fd]=_0x133ffb[_0x283e0e(0x2b6)]||'';}return _0x4a032b;}function groupByTableName(_0x192018){const _0x3f7cb4={};for(const _0x34b845 of _0x192018){const _0x173390=getTableName(_0x34b845);!_0x3f7cb4[_0x173390]&&(_0x3f7cb4[_0x173390]=[]),_0x3f7cb4[_0x173390]['push'](_0x34b845);}return _0x3f7cb4;}function datasetsConfigToArray(_0x4fe3c4){const _0x4d61aa=a0_0x2ad4;return Object[_0x4d61aa(0x27d)](_0x4fe3c4);}function adaptDrivenDataDetail(_0x372a5d){const _0x35b0c5=a0_0x2ad4;return{'id':_0x372a5d[_0x35b0c5(0x14b)],'name':_0x372a5d['name'],'datasetCode':_0x372a5d[_0x35b0c5(0x231)],'dbtableConfig':_0x372a5d['dbtableConfig'],'source':_0x372a5d['source'],'version':_0x372a5d['version'],'extend':_0x372a5d[_0x35b0c5(0x229)],'properties':_0x372a5d[_0x35b0c5(0x128)],'operations':_0x372a5d['operations']};}function adaptDrivenDataDetails(_0x59afa6){const _0x4cf7af=a0_0x2ad4;return _0x59afa6[_0x4cf7af(0x10a)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x3bb31e){const _0x45ab83=a0_0x2ad4;if(!_0x3bb31e[_0x45ab83(0x2af)]||!_0x3bb31e[_0x45ab83(0x220)])throw new Error(_0x45ab83(0x2ea)+(_0x3bb31e[_0x45ab83(0x148)]||_0x3bb31e[_0x45ab83(0x13e)]));return adaptDrivenDataDetail(_0x3bb31e[_0x45ab83(0x220)]);}function extractDatasetsFromListResponse(_0x5d0cf5){const _0x597b2a=a0_0x2ad4;if(!_0x5d0cf5[_0x597b2a(0x2af)]||!_0x5d0cf5[_0x597b2a(0x220)]?.[_0x597b2a(0x25a)])throw new Error(_0x597b2a(0x1c8)+(_0x5d0cf5[_0x597b2a(0x148)]||_0x5d0cf5['msg']));return _0x5d0cf5[_0x597b2a(0x220)][_0x597b2a(0x25a)][_0x597b2a(0x10a)](_0x2d6deb=>({..._0x2d6deb,'datasetCode':_0x2d6deb[_0x597b2a(0x2da)]||_0x2d6deb[_0x597b2a(0x2b6)]}));}function isDrivenDataDetail(_0x515659){const _0x520de4=a0_0x2ad4;return Boolean(_0x515659&&typeof _0x515659[_0x520de4(0x231)]===_0x520de4(0x142));}function smartAdapt(_0x49bd25){const _0x49857c=a0_0x2ad4;if(isDrivenDataDetail(_0x49bd25))return adaptDrivenDataDetail(_0x49bd25);if(_0x49bd25[_0x49857c(0x2b6)])return _0x49bd25;if(_0x49bd25[_0x49857c(0x2da)])return{..._0x49bd25,'datasetCode':_0x49bd25[_0x49857c(0x2da)]};return _0x49bd25;}var DatasetOperationType;(_0x194f32=>{const _0x19140f=a0_0x2ad4;_0x194f32[_0x19140f(0x1e5)]=_0x19140f(0x2b1),_0x194f32[_0x19140f(0x182)]=_0x19140f(0x2e8),_0x194f32[_0x19140f(0x19f)]=_0x19140f(0x167),_0x194f32['GET_ONE_UPDATE']=_0x19140f(0x135),_0x194f32[_0x19140f(0x117)]=_0x19140f(0x20d),_0x194f32[_0x19140f(0x20e)]='update',_0x194f32[_0x19140f(0x1a5)]=_0x19140f(0x252),_0x194f32[_0x19140f(0x200)]=_0x19140f(0x205),_0x194f32[_0x19140f(0x172)]='getFileUrl',_0x194f32[_0x19140f(0x238)]=_0x19140f(0x11d),_0x194f32[_0x19140f(0x2ab)]=_0x19140f(0x1fb),_0x194f32[_0x19140f(0x149)]=_0x19140f(0x259),_0x194f32[_0x19140f(0x284)]='createExport',_0x194f32[_0x19140f(0x138)]='taskInfo',_0x194f32[_0x19140f(0x12b)]=_0x19140f(0x1ce);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0xc10a22(0x2b1)]:'查询列表',['getOne']:a0_0xc10a22(0x1d9),[a0_0xc10a22(0x167)]:a0_0xc10a22(0x1c0),[a0_0xc10a22(0x135)]:a0_0xc10a22(0x206),[a0_0xc10a22(0x20d)]:'创建',[a0_0xc10a22(0x15a)]:'更新',[a0_0xc10a22(0x252)]:'删除',['getSelectOptions']:a0_0xc10a22(0x1b8),[a0_0xc10a22(0x22b)]:'获取文件URL',[a0_0xc10a22(0x11d)]:'Excel导出',[a0_0xc10a22(0x1fb)]:a0_0xc10a22(0x290),[a0_0xc10a22(0x259)]:a0_0xc10a22(0x2ac),[a0_0xc10a22(0x137)]:a0_0xc10a22(0x25b),[a0_0xc10a22(0x1eb)]:a0_0xc10a22(0x224),[a0_0xc10a22(0x1ce)]:'导入模板'},API_BLACKLIST=[a0_0xc10a22(0x167),'getOneUpdate',a0_0xc10a22(0x22b)];function parseFieldExtend(_0x4cf3be){const _0x354064=a0_0xc10a22;if(!_0x4cf3be||typeof _0x4cf3be!==_0x354064(0x15e))return!![]&&console[_0x354064(0x1b7)](_0x354064(0x212),_0x4cf3be),{};if(!_0x4cf3be[_0x354064(0x229)])return{};try{const _0x347a20=typeof _0x4cf3be['extend']===_0x354064(0x142)?JSON['parse'](_0x4cf3be[_0x354064(0x229)]):_0x4cf3be['extend'];if(typeof _0x347a20!=='object'||_0x347a20===null)return!![]&&console[_0x354064(0x1b7)](_0x354064(0x1e7),_0x347a20),{};return _0x347a20;}catch(_0x1a14ca){return!![]&&console[_0x354064(0x1b7)]('[parseFieldExtend]\x20解析字段\x20'+_0x4cf3be[_0x354064(0x2da)]+_0x354064(0x11a),_0x1a14ca),{};}}function isPrimaryKeyField(_0x301ebd,_0x94144b){const _0x7fad83=a0_0xc10a22;if(!_0x301ebd||typeof _0x301ebd!==_0x7fad83(0x15e))return![];if(typeof _0x94144b===_0x7fad83(0x142)&&_0x301ebd[_0x7fad83(0x2da)]===_0x94144b)return!![];const _0x13e4b1=parseFieldExtend(_0x301ebd);return Boolean(_0x13e4b1['primaryKey']||_0x13e4b1[_0x7fad83(0x232)]);}function isSystemField(_0x134639){const _0x54fa4a=parseFieldExtend(_0x134639);return Boolean(_0x54fa4a['systemRetain']);}function isRequiredField(_0x3cd038){const _0x2341cb=a0_0xc10a22,_0x2e329c=parseFieldExtend(_0x3cd038);return Boolean(_0x2e329c[_0x2341cb(0x194)]);}function isAutoIncrementField(_0x2c1603){const _0xe76925=a0_0xc10a22,_0x4b808f=parseFieldExtend(_0x2c1603);return Boolean(_0x4b808f[_0xe76925(0x295)]);}function isCreateTimeField(_0x58331d){const _0x5ec02b=a0_0xc10a22,_0x381434=parseFieldExtend(_0x58331d);return Boolean(_0x381434[_0x5ec02b(0x2b0)]);}function isModifyTimeField(_0x55623a){const _0x19fc6c=a0_0xc10a22,_0xef44e5=parseFieldExtend(_0x55623a);return Boolean(_0xef44e5[_0x19fc6c(0x2c4)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':'长文本','DATE':'日期','DATETIME':a0_0xc10a22(0x1ad),'TIMESTAMP':'时间戳','SELECT':'下拉选择','CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0xc10a22(0x173),'IMAGE':'图片','RICH_TEXT':'富文本','JSON':'JSON','ARRAY':'数组'};function getDbTypeDisplay(_0x590723){const _0x579a41=a0_0xc10a22;if(typeof _0x590723!=='string')return!![]&&console[_0x579a41(0x1b7)](_0x579a41(0x2ec),_0x590723),String(_0x590723||'-');return DB_TYPE_DISPLAY_MAP[_0x590723]||_0x590723;}function formatDbType(_0x2a1609,_0x3e7cd7){const _0x813665=a0_0xc10a22;if(!_0x2a1609||typeof _0x2a1609!==_0x813665(0x142))return'-';if(!_0x3e7cd7||typeof _0x3e7cd7!==_0x813665(0x1af))return _0x2a1609;const _0x3c0f87=['TEXT',_0x813665(0x240),_0x813665(0x292),_0x813665(0x275)];if(_0x3c0f87[_0x813665(0x214)](_0x2a1609[_0x813665(0x294)]()))return _0x2a1609;return _0x2a1609+'('+_0x3e7cd7+')';}function parseOperationType(_0x38b75e){const _0x4d0a36=a0_0xc10a22;if(typeof _0x38b75e!==_0x4d0a36(0x142)){!![]&&console[_0x4d0a36(0x1b7)](_0x4d0a36(0x250),_0x38b75e);return;}if(Object['values'](DatasetOperationType)[_0x4d0a36(0x214)](_0x38b75e))return _0x38b75e;const _0x5e9b7a=Object[_0x4d0a36(0x107)](OPERATION_TYPE_DISPLAY_NAME)[_0x4d0a36(0x2a9)](([_0x5c274f,_0x4a7c60])=>_0x4a7c60===_0x38b75e);return _0x5e9b7a?_0x5e9b7a[0x0]:undefined;}function shouldIncludeField(_0x212914,_0x26c75b,_0x1577c2){const _0x104eac=a0_0xc10a22,_0x5e5a92=parseFieldExtend(_0x212914),_0x365d81=isPrimaryKeyField(_0x212914,_0x1577c2),_0x3e3f6b=Boolean(_0x5e5a92[_0x104eac(0x213)]),_0x3591e6=Boolean(_0x5e5a92[_0x104eac(0x295)]),_0x1315a4=Boolean(_0x5e5a92[_0x104eac(0x2b0)]),_0x6446a2=Boolean(_0x5e5a92['modifyDate']);switch(_0x26c75b){case _0x104eac(0x2b1):return!![];case _0x104eac(0x2e8):case _0x104eac(0x167):case _0x104eac(0x252):return _0x365d81;case _0x104eac(0x20d):if(_0x365d81&&_0x3591e6)return![];if(_0x3e3f6b&&(_0x1315a4||_0x6446a2))return![];return!![];case _0x104eac(0x15a):case _0x104eac(0x135):if(_0x365d81)return!![];if(_0x3e3f6b&&(_0x1315a4||_0x6446a2))return![];return!![];case _0x104eac(0x205):return _0x212914[_0x104eac(0x2da)]===_0x104eac(0x2da);default:return!![];}}function getFieldsForOperation(_0xd9f4b1,_0x1820dd,_0x3e973b){const _0xb1be7f=a0_0xc10a22;if(!Array[_0xb1be7f(0x1e6)](_0xd9f4b1))return!![]&&console[_0xb1be7f(0x1b7)](_0xb1be7f(0x158),_0xd9f4b1),[];return _0xd9f4b1[_0xb1be7f(0x18d)](_0x30a0a9=>shouldIncludeField(_0x30a0a9,_0x1820dd,_0x3e973b));}function isApiBlacklisted(_0x314b79){const _0xc951fe=a0_0xc10a22;if(typeof _0x314b79!==_0xc951fe(0x142))return!![]&&console[_0xc951fe(0x1b7)]('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0x314b79),![];return API_BLACKLIST[_0xc951fe(0x214)](_0x314b79);}function a0_0x3af3(){const _0x35df59=['enabledOperationCount','toISOString','getOneUpdate','hasModifierIdField','createExport','TASK_INFO','getRealTables','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','getFieldInstance','has','parseRawResponseBody','msg','getIds','这是一段较长的文本内容示例','lastIndexOf','string','isEnum','DrivenDataDetailPlus(','generateFieldExample','TEXT','getDatabaseName','errorMsg','CREATE_IMPORT','_fieldListWithDeleted','modelId','getRequiredFields','$gteq','getFieldsFilterOperatorsMap','isUpdateTime','hasConflicts','validateEnumValue','multiple','getConflicts','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','getOperations','_datasetMap','includeDisabled','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','createTime','update','defaultValue','generateSingleValueExample','NUMBER','object','getAt','creatorNameField','getFullUrl','from','\x20operations)','getFilterOperators','type','getOperationFieldsOperatorsMap','getOneOrigin','keyword','set','datasetKey','isEnabled','getCountByType','split','getFirst','Object','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','$contain','GET_FILE_URL','文件上传','CHECKBOX','_fields','https://example.com/file.pdf','\x0a//\x20Call\x20the\x20','(...);\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}','isPrimaryKeyField','getVirtualTables','getEnumMeta','getOperationCountByMethod','getFieldListWithDeleted','\x20fields,\x20','generateDefaultFilterOperation','getDisabledNames','\x20items,\x20conflict,\x20latest:\x20','GET_ONE','getEnumMetas','getOperationOperators',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','\x20API\x20文档','getFieldOptions','getRequestParams','where','2BgVgGa','getUpdateTime','getEnumFields','filter','POST','getEnumOptions','getTableKey','slice','10570644xBmyiJ','responseBody','required','请求示例','length','getAllFieldsArray','isVirtualTable','operations','enabled','detectConflicts','(id,\x20data);','getEnabled','join','GET_ONE_ORIGIN','getType','getOperationStats','customFilter','getDisabled','Number','DELETE','children','version','getFieldFilterOperators','getTenantCode','VARCHAR','status','getCodes','日期时间','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','number','getName','getSDKInitData','path','toConfig','tooltip','getAllFieldsString','boolean','warn','获取下拉选项','creatorIdField','getDatasetDocMeta','dbtableConfig','some','getOperationFieldOperators','getApplicableOperators','解析\x20requestBody\x20失败:','查询单条(原始)','pageSize','getLast','<p>富文本内容</p>','findById','keys','_extend','isEnumField','获取数据集列表失败:\x20','isRequired','getNames','getOperationDocMeta','_raw','value2','importTemplate','北京市朝阳区','createAll','\x20groups,\x20','items','13800138000','getPrimaryKeys','fields','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','generateRequestExample','$eq','查询单条','({\x20currentPage,\x20pageSize\x20});','stringify','支持单值或数组','push','数组查询(支持多选)','getDefaultValue','hasConflict','filterBlacklist','usageExample','hasUpdateTimeField','getFieldsWithDeleted','GET_LIST','isArray','[parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:','BOOL','getFieldList','padStart','taskInfo','DbtableConfig(table:\x20','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','includeDeleted','no\x20conflicts','groupByType','isDeleted','OperationList(','$endWith','getAll','BOOLEAN','getEnumFieldMeta','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:','isSystem','$ne','getRawDbtableConfig','getUploadFileScript','\x20operation\x0a','Object[]','hasCreateTimeField','支持多个条件','GET_SELECT_OPTIONS','hasField','requestFields','getDatabaseType','ensureFilterOperation','getSelectOptions','查询单条(用于更新)','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','SDK\x20调用','\x0a\x20\x20env:\x20\x27','13010808CeCAQs','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','系统自动生成','create','UPDATE','get','getActive','字段名称','[parseFieldExtend]\x20Invalid\x20field:','systemRetain','includes','isMultipleSelectField','0000','dblinkInfoDTO','$gte','$and','getEnum','deleted','every','getCount','total','raw','data','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','getRequired','all','任务信息','getItems','getStats','label','$lteq','extend','823467hWOLzG','getFileUrl','字段编码','allFields','完整的\x20SDK\x20调用代码','hasLogicField','getOldest','modelCode','pkField','toFieldDefinition','getSource','context','description','getFilteredOperationAnalyses','EXCEL_EXPORT','placeholder','parse','repeat','2024-01-01','createTimeField','min','toListItem','DATETIME','name','appCode','displayName','toArray','generateExampleValue','phone','trim','getOperationAnalysesByType','value1','selectBestOperator','\x20items,\x20','示例值',',\x20currentPage,\x20pageSize,\x20...\x20});','sortOperationsWithFilterFirst','getSelectItemsSource','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','test','delete','source','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','parseFieldExtend','DESC','isMultipleSelect','[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array','createImport','tableData','创建导出','generateConfigArray','getRaw','isSystemField','getOperationCountByType','toJSON','errorCode','generateUsageExample','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','suffix','generateConfig','generateSDKCallCode','dbId','(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容','add','isPrimaryKey','DECIMAL','hasDbtableConfig','每页数量','getModelName','modifierNameField','getSystemFields','email','logicField','hasOperation','generateAllOperationsFullSDKExample','DATE','valueLabels','replace','parseRawRequestBody','(id);','hasDblinkInfo','DrivenDataDetail(','getSystem','values','getRequestFields','getField','generateRequestAllExamples','7514409BwlvFy','getTooltip','200','CREATE_EXPORT','(id,\x20','({\x20','-$1','dbType','/filter','\x20groups)','getMethod','INTEGER','hasFilterOperation','charAt','array','获取上传脚本','operationCount','TIMESTAMP','getFieldOperators','toUpperCase','autoIncrement','$lte','操作名称','findAll','DatasetList(','findByCode','getEnabledNames','208gELxUs','[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:','initDataset','const\x20result\x20=\x20await\x20client.models.','field_name','$in','getFields','primaryKey','currentPage','selectItemsSource','updateTime','getFieldSelectItemsSource','groups','find','datasetMap','GET_UPLOAD_FILE_SCRIPT','创建导入','getResponseSchema','getAllDatasets','success','createDate','getList','requestBody','_operations','isEmpty','isBusiness','datasetCode','toLowerCase','单值查询','host','getAutoIncrement','modifierIdField','getOperationList','params','size','getFilterOperation','hasCreatorIdField','dataset_000000','121518lrPqIz','查询单个条件','modifyDate','value','`:\x20','String[]','-\x20`','接口名称','generateResponseExample','_fieldList','operation','isCreateTime','getCreateTime','getFieldDefinition',',\x20...\x20});','getFieldCount','withDeleted','hasTableName','isOperationEnabled','findByName','daily','isOperatorApplicableToField','SELECT','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse','code','generateFromSchema','当前页码','generateFullSDKExample','sdkCall','forEach','6884330gAKbDI','$or','getDeleted','toFullConfig','getEnabledOperations','query','dbVersion','sort','getOne','getFieldRaw','获取数据集失败:\x20','item1','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','prefix','getBusiness','substring','STRING','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/sdk\x27;\x0a\x0a//\x20Create\x20SDK\x20client\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27','N/A','DatasetItem(','tableName','getSystemAnalysisResult','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','getConflictingItems','2024-12-31','Operation\x20instance\x20not\x20found:\x20','1.0.0-beta.8','\x0a\x0a//\x20','[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getOperationAnalysis','\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});','[DrivenDataDetail.parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:','entries','getLatest','getDisabledOperationInstances','map','$startWith','options','now','getLatestDatasets','getOperation','getEnumFieldsMeta','isAutoIncrement','generateOperationSummary','updateTimeField','_operationAnalyses','getOperationAnalyses','businessFieldCount','CREATE','fieldName','操作成功','\x20的\x20extend\x20配置失败:',',\x20fields:\x20',':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','excelExport','https://example.com/image.jpg','getCountByMethod','getTableName','getPath','getBusinessFields','useFullExample','getDisplayName','DatasetGroup(','65331omJcCF','_operationList','properties','[dsparser]\x20跳过重复的表名\x20\x22','BIGINT','IMPORT_TEMPLATE','getPrimaryKeyFields','toString','getEnabledOperationAnalyses','iterator','(params);','getOperationCount','method'];a0_0x3af3=function(){return _0x35df59;};return a0_0x3af3();}function filterApiOperations(_0x4ad076){const _0x281525=a0_0xc10a22;if(!Array[_0x281525(0x1e6)](_0x4ad076))return!![]&&console[_0x281525(0x1b7)]('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x4ad076),[];return _0x4ad076[_0x281525(0x18d)](_0x5dadb5=>_0x5dadb5&&typeof _0x5dadb5===_0x281525(0x15e)&&!isApiBlacklisted(_0x5dadb5[_0x281525(0x241)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0xc10a22(0x10d)](),'SELECT':({fieldInfo:_0x36aa2e})=>{const _0x340077=a0_0xc10a22;if(_0x36aa2e?.[_0x340077(0x10c)]&&Array[_0x340077(0x1e6)](_0x36aa2e['options'])&&_0x36aa2e['options'][_0x340077(0x196)]>0x0)return _0x36aa2e[_0x340077(0x10c)][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x278c20})=>{const _0x35b48e=a0_0xc10a22;if(_0x278c20==='currentPage')return 0x1;if(_0x278c20===_0x35b48e(0x1c1))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x743866})=>{const _0x14be4d=a0_0xc10a22;if(_0x743866&&typeof _0x743866==='string'){const _0x12afaf=_0x743866['toLowerCase']();if(_0x12afaf[_0x14be4d(0x214)]('邮箱')||_0x12afaf[_0x14be4d(0x214)](_0x14be4d(0x271)))return'user@example.com';if(_0x12afaf[_0x14be4d(0x214)]('电话')||_0x12afaf[_0x14be4d(0x214)]('手机')||_0x12afaf['includes'](_0x14be4d(0x246)))return _0x14be4d(0x1d3);if(_0x12afaf['includes']('地址')||_0x12afaf[_0x14be4d(0x214)]('address'))return _0x14be4d(0x1cf);if(_0x12afaf[_0x14be4d(0x214)]('姓名')||_0x12afaf['includes'](_0x14be4d(0x241)))return'张三';}return'示例文本';},'VARCHAR':({description:_0x424647})=>TYPE_VALUE_GENERATORS[a0_0xc10a22(0x146)]({'description':_0x424647}),'CHAR':({description:_0x4e8d14})=>TYPE_VALUE_GENERATORS[a0_0xc10a22(0x146)]({'description':_0x4e8d14}),'STRING':({fieldInfo:_0x5d3c0d,description:_0x13c86a})=>{const _0x17ad91=a0_0xc10a22;if(_0x5d3c0d?.[_0x17ad91(0x239)]&&typeof _0x5d3c0d[_0x17ad91(0x239)]==='string'&&_0x5d3c0d[_0x17ad91(0x239)]!==_0x17ad91(0x20c))return _0x5d3c0d[_0x17ad91(0x239)][_0x17ad91(0x277)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x17ad91(0x146)]({'description':_0x13c86a});},'TEXTAREA':()=>a0_0xc10a22(0x140),'LONGTEXT':()=>a0_0xc10a22(0x140),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0xc10a22(0x2eb),'item2'],'UPLOAD':()=>a0_0xc10a22(0x176),'IMAGE':()=>a0_0xc10a22(0x11e),'RICH_TEXT':()=>a0_0xc10a22(0x1c3)};function generateExampleValue(_0x538fa7,_0x22e702,_0x1848b7,_0x350168={}){const _0x55211e=a0_0xc10a22;typeof _0x538fa7!==_0x55211e(0x142)&&(!![]&&console['warn']('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x538fa7),_0x538fa7=String(_0x538fa7||''));if(typeof _0x22e702!==_0x55211e(0x142))return!![]&&console['warn'](_0x55211e(0x13a),_0x22e702),_0x55211e(0x24c);const {isPrimaryKey:_0x502550,dbtableConfig:_0x5103d9}=_0x350168;if(_0x502550)return 0x1;if(_0x5103d9&&typeof _0x5103d9===_0x55211e(0x15e)){const _0x2d1698=_0x5103d9[_0x55211e(0x23d)]?.[_0x55211e(0x118)]===_0x538fa7,_0x23924a=_0x5103d9[_0x55211e(0x113)]?.[_0x55211e(0x118)]===_0x538fa7;if(_0x2d1698||_0x23924a){if(_0x1848b7&&typeof _0x1848b7==='string'&&_0x1848b7[_0x55211e(0x294)]()[_0x55211e(0x214)](_0x55211e(0x292)))return Date[_0x55211e(0x10d)]();return new Date()[_0x55211e(0x134)]()[_0x55211e(0x277)]('T','\x20')[_0x55211e(0x16d)]('.')[0x0];}}const _0x574eb0={..._0x350168,'fieldCode':_0x538fa7};if(_0x1848b7&&typeof _0x1848b7===_0x55211e(0x142)){const _0xc8b145=_0x1848b7['toUpperCase'](),_0x3b9517=TYPE_VALUE_GENERATORS[_0xc8b145];if(_0x3b9517)return _0x3b9517(_0x574eb0);}if(_0x22e702&&typeof _0x22e702==='string'){const _0x50be49=_0x22e702[_0x55211e(0x294)](),_0x574971=TYPE_VALUE_GENERATORS[_0x50be49];if(_0x574971)return _0x574971(_0x574eb0);}return _0x55211e(0x24c);}function generateExampleFromSchema(_0x35a77e,_0x7d6681){const _0x3ee748=a0_0xc10a22;if(!_0x35a77e||typeof _0x35a77e!==_0x3ee748(0x15e))return{};if(Array[_0x3ee748(0x1e6)](_0x35a77e)){if(_0x35a77e[_0x3ee748(0x196)]>0x0)return[generateExampleFromSchema(_0x35a77e[0x0],_0x7d6681)];return[];}const _0x40708d={};return Object[_0x3ee748(0x1c5)](_0x35a77e)[_0x3ee748(0x2df)](_0x29d989=>{const _0x3791a4=_0x3ee748,_0x35aab8=_0x35a77e[_0x29d989];if(_0x35aab8&&typeof _0x35aab8===_0x3791a4(0x15e)&&!Array[_0x3791a4(0x1e6)](_0x35aab8)&&_0x35aab8[_0x3791a4(0x165)]){const _0x116a48=_0x35aab8,_0xf1c865=_0x116a48[_0x3791a4(0x165)],_0xcc424e=_0x116a48[_0x3791a4(0x236)];typeof _0xf1c865===_0x3791a4(0x142)?_0x40708d[_0x29d989]=generateExampleValue(_0x29d989,_0xf1c865,undefined,{'description':_0xcc424e,'dbtableConfig':_0x7d6681}):_0x40708d[_0x29d989]=_0x3791a4(0x24c);}else{if(Array[_0x3791a4(0x1e6)](_0x35aab8))_0x40708d[_0x29d989]=_0x35aab8[_0x3791a4(0x196)]>0x0?[generateExampleFromSchema(_0x35aab8[0x0],_0x7d6681)]:[];else _0x35aab8&&typeof _0x35aab8===_0x3791a4(0x15e)?_0x40708d[_0x29d989]=generateExampleFromSchema(_0x35aab8,_0x7d6681):_0x40708d[_0x29d989]=_0x35aab8;}}),_0x40708d;}function a0_0x2ad4(_0x38495a,_0x57c685){const _0x3af35f=a0_0x3af3();return a0_0x2ad4=function(_0x2ad456,_0x17164f){_0x2ad456=_0x2ad456-0xf7;let _0x22947a=_0x3af35f[_0x2ad456];return _0x22947a;},a0_0x2ad4(_0x38495a,_0x57c685);}function parseRequestBody(_0x21e320){const _0x2f19ca=a0_0xc10a22;if(!_0x21e320)return{};try{return JSON['parse'](_0x21e320);}catch(_0x5e18d5){return!![]&&console[_0x2f19ca(0x1b7)](_0x2f19ca(0x1bf),_0x5e18d5),{};}}function parseResponseBody(_0x4ad869){const _0xd2ca7=a0_0xc10a22;if(!_0x4ad869)return null;try{const _0x52d1c5=JSON[_0xd2ca7(0x23a)](_0x4ad869);return _0x52d1c5[_0xd2ca7(0x283)]||_0x52d1c5;}catch(_0x10cca0){return!![]&&console[_0xd2ca7(0x1b7)]('解析\x20responseBody\x20失败:',_0x10cca0),null;}}function generateRequestExample(_0xf84cf4,_0x96dc4e,_0x3784a5,_0xe82103){const _0x2915d2=a0_0xc10a22,_0x524a4f={};if(!Array[_0x2915d2(0x1e6)](_0xf84cf4))return!![]&&console[_0x2915d2(0x1b7)](_0x2915d2(0x1ed),_0xf84cf4),_0x524a4f;return _0xf84cf4[_0x2915d2(0x2df)](_0x5f0199=>{const _0x5cef69=_0x2915d2;if(!_0x5f0199||typeof _0x5f0199!==_0x5cef69(0x15e)){!![]&&console[_0x5cef69(0x1b7)]('[generateRequestExample]\x20Invalid\x20field:',_0x5f0199);return;}if(typeof _0x5f0199[_0x5cef69(0x2da)]!==_0x5cef69(0x142)||typeof _0x5f0199[_0x5cef69(0x165)]!==_0x5cef69(0x142)){!![]&&console[_0x5cef69(0x1b7)](_0x5cef69(0xfd),_0x5f0199);return;}const _0x48511b=parseFieldExtend(_0x5f0199),_0x212b71=_0x5f0199[_0x5cef69(0x2da)]===_0x3784a5||Boolean(_0x48511b?.[_0x5cef69(0x2a3)]),_0xe0a62c=generateExampleValue(_0x5f0199[_0x5cef69(0x2da)],_0x5f0199[_0x5cef69(0x165)],typeof _0x5f0199['dbType']===_0x5cef69(0x142)?_0x5f0199[_0x5cef69(0x288)]:undefined,{'fieldInfo':_0x48511b,'isPrimaryKey':_0x212b71,'description':_0x5f0199['description']||_0x5f0199[_0x5cef69(0x241)],'dbtableConfig':_0xe82103});_0x524a4f[_0x5f0199[_0x5cef69(0x2da)]]=_0xe0a62c;}),_0x96dc4e==='getList'&&(_0x524a4f[_0x2915d2(0x2a4)]=0x1,_0x524a4f[_0x2915d2(0x1c1)]=0xa),_0x524a4f;}function formatEnumValue(_0x329076,_0x4bca43){const _0x3e0634=a0_0xc10a22;if(_0x329076[_0x3e0634(0x152)]&&Array[_0x3e0634(0x1e6)](_0x4bca43))return _0x4bca43[_0x3e0634(0x10a)](_0x27ddcc=>_0x329076[_0x3e0634(0x276)][String(_0x27ddcc)]||String(_0x27ddcc))[_0x3e0634(0x19e)](',\x20');return _0x329076['valueLabels'][String(_0x4bca43)]||String(_0x4bca43);}function formatOptionsForDoc(_0x10b242){const _0x341d82=a0_0xc10a22;return _0x10b242[_0x341d82(0x10a)](_0x320c62=>_0x320c62[_0x341d82(0x2c5)]+'('+_0x320c62['label']+')')[_0x341d82(0x19e)](',\x20');}function formatOptionsAsMarkdownList(_0x503a97,_0x461f75=0x0){const _0x4ff851=a0_0xc10a22,_0x22413b='\x20\x20'[_0x4ff851(0x23b)](_0x461f75),_0x291ed4=[];return _0x503a97[_0x4ff851(0x2df)](_0x54c22a=>{const _0x35519a=_0x4ff851;_0x291ed4[_0x35519a(0x1dd)](_0x22413b+_0x35519a(0x2c8)+_0x54c22a['value']+_0x35519a(0x2c6)+_0x54c22a[_0x35519a(0x227)]),_0x54c22a['children']&&_0x54c22a[_0x35519a(0x1a6)][_0x35519a(0x196)]>0x0&&_0x291ed4['push'](formatOptionsAsMarkdownList(_0x54c22a[_0x35519a(0x1a6)],_0x461f75+0x1));}),_0x291ed4[_0x4ff851(0x19e)]('\x0a');}class DbtableConfig{['_raw'];constructor(_0x38c878){const _0x297284=a0_0xc10a22;this[_0x297284(0x1cc)]={..._0x38c878};}get[a0_0xc10a22(0x267)](){const _0x203d25=a0_0xc10a22;return this[_0x203d25(0x1cc)]['dbId'];}get['tableName'](){const _0x15bd67=a0_0xc10a22;return this['_raw'][_0x15bd67(0xfb)];}get[a0_0xc10a22(0x16a)](){const _0x41dc97=a0_0xc10a22;return this[_0x41dc97(0x1cc)]['datasetKey'];}get[a0_0xc10a22(0x232)](){const _0x1f1ae2=a0_0xc10a22;return this[_0x1f1ae2(0x1cc)][_0x1f1ae2(0x232)];}get['labelField'](){const _0xa87c47=a0_0xc10a22;return this[_0xa87c47(0x1cc)]['labelField'];}get[a0_0xc10a22(0x272)](){const _0x2f3642=a0_0xc10a22;return this[_0x2f3642(0x1cc)]['logicField'];}get[a0_0xc10a22(0x23d)](){const _0x35220a=a0_0xc10a22;return this[_0x35220a(0x1cc)][_0x35220a(0x23d)];}get['updateTimeField'](){const _0x51345d=a0_0xc10a22;return this[_0x51345d(0x1cc)][_0x51345d(0x113)];}get['creatorIdField'](){const _0x50e2a3=a0_0xc10a22;return this[_0x50e2a3(0x1cc)][_0x50e2a3(0x1b9)];}get[a0_0xc10a22(0x160)](){const _0x86410c=a0_0xc10a22;return this[_0x86410c(0x1cc)][_0x86410c(0x160)];}get['modifierIdField'](){const _0x520254=a0_0xc10a22;return this[_0x520254(0x1cc)]['modifierIdField'];}get[a0_0xc10a22(0x26f)](){const _0x5040c6=a0_0xc10a22;return this[_0x5040c6(0x1cc)][_0x5040c6(0x26f)];}get[a0_0xc10a22(0x217)](){const _0x1c017d=a0_0xc10a22;return this[_0x1c017d(0x1cc)][_0x1c017d(0x217)];}[a0_0xc10a22(0x197)](){const _0x228805=a0_0xc10a22;if(!this[_0x228805(0x1cc)][_0x228805(0x22d)])return[];return this[_0x228805(0x1cc)]['allFields']['split'](',')['map'](_0x25e59a=>_0x25e59a['trim']())[_0x228805(0x18d)](Boolean);}[a0_0xc10a22(0x1b5)](){const _0x5b3d9e=a0_0xc10a22;return this[_0x5b3d9e(0x1cc)][_0x5b3d9e(0x22d)];}[a0_0xc10a22(0x201)](_0x1426bf){const _0x917b5a=a0_0xc10a22;return this[_0x917b5a(0x197)]()[_0x917b5a(0x214)](_0x1426bf);}[a0_0xc10a22(0x2d3)](){const _0x39fba7=a0_0xc10a22;return Boolean(this[_0x39fba7(0x1cc)]['tableName']);}[a0_0xc10a22(0x27a)](){const _0x43cae7=a0_0xc10a22;return Boolean(this[_0x43cae7(0x1cc)][_0x43cae7(0x217)]);}[a0_0xc10a22(0x22f)](){const _0x36f1bd=a0_0xc10a22;return Boolean(this[_0x36f1bd(0x1cc)]['logicField']?.[_0x36f1bd(0x118)]);}[a0_0xc10a22(0x1fe)](){const _0x587248=a0_0xc10a22;return Boolean(this['_raw'][_0x587248(0x23d)]?.[_0x587248(0x118)]);}['hasUpdateTimeField'](){const _0x4b9464=a0_0xc10a22;return Boolean(this['_raw'][_0x4b9464(0x113)]?.[_0x4b9464(0x118)]);}[a0_0xc10a22(0x2c0)](){const _0x431c44=a0_0xc10a22;return Boolean(this[_0x431c44(0x1cc)][_0x431c44(0x1b9)]?.[_0x431c44(0x118)]);}[a0_0xc10a22(0x136)](){const _0x17c2c7=a0_0xc10a22;return Boolean(this['_raw']['modifierIdField']?.[_0x17c2c7(0x118)]);}[a0_0xc10a22(0x179)](_0xfb265){const _0x369931=a0_0xc10a22;return this[_0x369931(0x1cc)][_0x369931(0x232)]===_0xfb265;}[a0_0xc10a22(0x25e)](_0x3ed86f){const _0x494eb0=a0_0xc10a22;return this['isPrimaryKeyField'](_0x3ed86f)||this['_raw'][_0x494eb0(0x272)]?.['fieldName']===_0x3ed86f||this[_0x494eb0(0x1cc)][_0x494eb0(0x23d)]?.[_0x494eb0(0x118)]===_0x3ed86f||this['_raw'][_0x494eb0(0x113)]?.['fieldName']===_0x3ed86f||this[_0x494eb0(0x1cc)][_0x494eb0(0x1b9)]?.[_0x494eb0(0x118)]===_0x3ed86f||this[_0x494eb0(0x1cc)][_0x494eb0(0x160)]?.[_0x494eb0(0x118)]===_0x3ed86f||this[_0x494eb0(0x1cc)][_0x494eb0(0x2bb)]?.[_0x494eb0(0x118)]===_0x3ed86f||this[_0x494eb0(0x1cc)]['modifierNameField']?.['fieldName']===_0x3ed86f;}[a0_0xc10a22(0x147)](){const _0x4ab687=a0_0xc10a22;return this['_raw'][_0x4ab687(0x217)]?.['dbName'];}[a0_0xc10a22(0x203)](){const _0x483816=a0_0xc10a22;return this[_0x483816(0x1cc)]['dblinkInfoDTO']?.[_0x483816(0x288)];}['getDatabaseVersion'](){const _0x3e6413=a0_0xc10a22;return this[_0x3e6413(0x1cc)]['dblinkInfoDTO']?.[_0x3e6413(0x2e6)];}[a0_0xc10a22(0x1a9)](){const _0x1cdd4e=a0_0xc10a22;return this[_0x1cdd4e(0x1cc)][_0x1cdd4e(0x217)]?.['tenantCode'];}['getAppCode'](){const _0x8f5c62=a0_0xc10a22;return this[_0x8f5c62(0x1cc)][_0x8f5c62(0x217)]?.[_0x8f5c62(0x242)];}[a0_0xc10a22(0xfc)](){const _0x5a8cf8=a0_0xc10a22;return this['_raw'][_0x5a8cf8(0x217)]?.['systemAnalysisResult'];}[a0_0xc10a22(0x226)](){const _0x39b87d=a0_0xc10a22;return{'hasTableName':this[_0x39b87d(0x2d3)](),'hasDblinkInfo':this[_0x39b87d(0x27a)](),'fieldCount':this[_0x39b87d(0x197)]()[_0x39b87d(0x196)],'systemFields':{'hasLogicField':this[_0x39b87d(0x22f)](),'hasCreateTimeField':this[_0x39b87d(0x1fe)](),'hasUpdateTimeField':this[_0x39b87d(0x1e3)](),'hasCreatorIdField':this[_0x39b87d(0x2c0)](),'hasModifierIdField':this[_0x39b87d(0x136)]()}};}[a0_0xc10a22(0x1b3)](){const _0x1fa0d4=a0_0xc10a22;return{'tableName':this[_0x1fa0d4(0xfb)],'pkField':this[_0x1fa0d4(0x232)],'datasetKey':this[_0x1fa0d4(0x16a)],'dbId':this[_0x1fa0d4(0x267)]};}[a0_0xc10a22(0x260)](){const _0x1c4710=a0_0xc10a22;return{...this[_0x1c4710(0x1cc)]};}[a0_0xc10a22(0x25d)](){const _0x96fe35=a0_0xc10a22;return{...this[_0x96fe35(0x1cc)]};}['toString'](){const _0x524eee=a0_0xc10a22,_0x271fd0=this['tableName']||_0x524eee(0xf9),_0x445077=this[_0x524eee(0x197)]()[_0x524eee(0x196)];return _0x524eee(0x1ec)+_0x271fd0+_0x524eee(0x11b)+_0x445077+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0xc10a22(0x1cc)];constructor(_0x3ad137){const _0xb909cb=a0_0xc10a22,_0x51c5f8=_0x3ad137[_0xb909cb(0x2b6)]||_0x3ad137[_0xb909cb(0x2da)]||_0x3ad137[_0xb909cb(0x231)];this[_0xb909cb(0x1cc)]={..._0x3ad137,'datasetCode':_0x51c5f8};}get['id'](){const _0x5f1d12=a0_0xc10a22;return this[_0x5f1d12(0x1cc)]['id'];}get[a0_0xc10a22(0x241)](){const _0x30ade8=a0_0xc10a22;return this[_0x30ade8(0x1cc)][_0x30ade8(0x241)];}['getName'](){return this['name'];}get[a0_0xc10a22(0x2b6)](){const _0x3c5191=a0_0xc10a22;return this[_0x3c5191(0x1cc)][_0x3c5191(0x2b6)]||'';}get['dbtableConfig'](){const _0x580e96=a0_0xc10a22;if(!this[_0x580e96(0x1cc)][_0x580e96(0x1bb)])return null;return new DbtableConfig(this[_0x580e96(0x1cc)][_0x580e96(0x1bb)]);}[a0_0xc10a22(0x1fa)](){const _0x583ede=a0_0xc10a22;return this['_raw'][_0x583ede(0x1bb)];}[a0_0xc10a22(0x120)](){const _0x349d51=a0_0xc10a22;return getTableName(this[_0x349d51(0x1cc)]);}['getTableKey'](){return getTableKey(this['getTableName']());}[a0_0xc10a22(0x198)](){const _0x2824e5=a0_0xc10a22;return isVirtualTableName(this[_0x2824e5(0x120)]());}[a0_0xc10a22(0x26e)](){const _0x218109=a0_0xc10a22;return toPascalCase(this[_0x218109(0x120)]());}['toConfig'](){const _0xdad6ee=a0_0xc10a22;return{'key':getTableKey(this[_0xdad6ee(0x120)]()),'tableName':this['getTableName'](),'datasetCode':this[_0xdad6ee(0x2b6)],'name':this[_0xdad6ee(0x241)]};}[a0_0xc10a22(0x260)](){const _0x2b32b8=a0_0xc10a22;return{...this[_0x2b32b8(0x1cc)],'datasetCode':this['datasetCode']};}[a0_0xc10a22(0x25d)](){const _0x1ee486=a0_0xc10a22;return{...this[_0x1ee486(0x1cc)]};}[a0_0xc10a22(0x26c)](){const _0x3f5f75=a0_0xc10a22,_0x33499b=this['dbtableConfig'];return _0x33499b!==null&&_0x33499b[_0x3f5f75(0x2d3)]();}['getExtendField'](_0x597795){return this['_raw'][_0x597795];}['hasExtendField'](_0x1dba60){const _0x5994be=a0_0xc10a22;return _0x1dba60 in this[_0x5994be(0x1cc)];}['toString'](){const _0x24666d=a0_0xc10a22;return _0x24666d(0xfa)+this[_0x24666d(0x241)]+',\x20'+this['datasetCode']+')';}}class Operation{[a0_0xc10a22(0x241)];[a0_0xc10a22(0x1cc)];[a0_0xc10a22(0x235)];constructor(_0x36cf12,_0x27900c,_0x2fbb59){const _0x7718e9=a0_0xc10a22;this[_0x7718e9(0x241)]=_0x36cf12,this['_raw']=_0x27900c,this['context']=_0x2fbb59;}[a0_0xc10a22(0x1b0)](){const _0x2c0b85=a0_0xc10a22;return this[_0x2c0b85(0x241)];}[a0_0xc10a22(0x124)](){const _0x22dd12=a0_0xc10a22,_0x3014f1=this[_0x22dd12(0x1a0)]();return _0x3014f1?OPERATION_TYPE_DISPLAY_NAME[_0x3014f1]:this[_0x22dd12(0x241)];}[a0_0xc10a22(0x1a0)](){const _0x2a93a8=a0_0xc10a22;return parseOperationType(this[_0x2a93a8(0x241)]);}[a0_0xc10a22(0x16b)](){const _0x57f3fe=a0_0xc10a22;return this[_0x57f3fe(0x1cc)]!=null&&this[_0x57f3fe(0x1cc)]!==![];}['getMethod'](){const _0xd9952c=a0_0xc10a22;if(!this[_0xd9952c(0x16b)]()||!this[_0xd9952c(0x1cc)])return'';const _0x3e24c5=this[_0xd9952c(0x1cc)][_0xd9952c(0x132)];return typeof _0x3e24c5===_0xd9952c(0x142)?_0x3e24c5:'POST';}[a0_0xc10a22(0x121)](){const _0x1d8425=a0_0xc10a22;if(!this[_0x1d8425(0x16b)]()||!this[_0x1d8425(0x1cc)])return'';const _0xa525ae=this[_0x1d8425(0x1cc)]['path'];return typeof _0xa525ae==='string'?_0xa525ae:'';}[a0_0xc10a22(0x161)](){const _0x233591=a0_0xc10a22;if(!this[_0x233591(0x16b)]()||!this[_0x233591(0x1cc)])return'';const {host:_0x170219,path:_0x2c61b5}=this['_raw'],_0x30c2c2=typeof _0x170219===_0x233591(0x142)?_0x170219:'',_0x4aab93=typeof _0x2c61b5===_0x233591(0x142)?_0x2c61b5:'';return _0x30c2c2&&_0x4aab93?''+_0x30c2c2+_0x4aab93:_0x4aab93;}[a0_0xc10a22(0x27e)](){const _0x45995b=a0_0xc10a22;return Object[_0x45995b(0x1c5)](this[_0x45995b(0x188)]());}[a0_0xc10a22(0x278)](){const _0x3ae39e=a0_0xc10a22;if(!this[_0x3ae39e(0x16b)]()||typeof this[_0x3ae39e(0x1cc)]==='boolean'||!this[_0x3ae39e(0x1cc)]?.['requestBody'])return{};const _0xfce5d6=this[_0x3ae39e(0x1cc)][_0x3ae39e(0x2b2)];if(typeof _0xfce5d6!=='string')return!![]&&console[_0x3ae39e(0x1b7)]('[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:',_0xfce5d6),{};return parseRequestBody(_0xfce5d6);}[a0_0xc10a22(0x13d)](){const _0x26acab=a0_0xc10a22;if(!this[_0x26acab(0x16b)]()||typeof this[_0x26acab(0x1cc)]===_0x26acab(0x1b6)||!this['_raw']?.[_0x26acab(0x193)])return null;const _0x2e642e=this[_0x26acab(0x1cc)][_0x26acab(0x193)];if(typeof _0x2e642e!==_0x26acab(0x142))return!![]&&console[_0x26acab(0x1b7)](_0x26acab(0x29d),_0x2e642e),null;return parseResponseBody(_0x2e642e);}[a0_0xc10a22(0x145)](_0x34db62,_0x56727d,_0x312a0c,_0x4080b9){const _0x557439=a0_0xc10a22;return generateExampleValue(_0x34db62,_0x56727d,_0x312a0c,{'isPrimaryKey':_0x4080b9?.[_0x557439(0x26a)],'description':_0x4080b9?.[_0x557439(0x236)],'dbtableConfig':this[_0x557439(0x235)][_0x557439(0x1bb)]});}[a0_0xc10a22(0x2cf)](_0x3a1139){const _0x5e12d7=a0_0xc10a22;if(!Array[_0x5e12d7(0x1e6)](this['context'][_0x5e12d7(0x1d5)])){!![]&&console[_0x5e12d7(0x1b7)](_0x5e12d7(0x258));return;}if(typeof _0x3a1139!==_0x5e12d7(0x142)){!![]&&console['warn'](_0x5e12d7(0x221),_0x3a1139);return;}return this['context'][_0x5e12d7(0x1d5)][_0x5e12d7(0x2a9)](_0x2c8445=>_0x2c8445&&_0x2c8445[_0x5e12d7(0x2da)]===_0x3a1139);}['toString'](){const _0x171ff4=a0_0xc10a22,_0x233d91=this['isEnabled']()?'启用':'禁用';return this[_0x171ff4(0x124)]()+'('+this[_0x171ff4(0x241)]+',\x20'+_0x233d91+')';}['getOperators'](){return[];}[a0_0xc10a22(0x293)](_0x59d54c){return[];}[a0_0xc10a22(0x262)](_0x3d0e10){const _0x28998b=a0_0xc10a22,_0x23c2be=this['getName'](),_0x1d4fbd='//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.'+_0x3d0e10+'.'+_0x23c2be+_0x28998b(0x268),_0x4388d3=_0x28998b(0x170)+_0x3d0e10+'.'+_0x23c2be+_0x28998b(0x178);return{'successCode':_0x1d4fbd,'errorCode':_0x4388d3};}[a0_0xc10a22(0x260)](){const _0x1f3fc9=a0_0xc10a22;return{'name':this['getName'](),'displayName':this[_0x1f3fc9(0x124)](),'type':this['getType'](),'enabled':this[_0x1f3fc9(0x16b)](),'method':this['getMethod'](),'path':this[_0x1f3fc9(0x121)](),'fullUrl':this[_0x1f3fc9(0x161)](),'requestFields':this[_0x1f3fc9(0x27e)](),'requestParams':this[_0x1f3fc9(0x188)](),'responseSchema':this[_0x1f3fc9(0x2ad)](),'requestExample':this[_0x1f3fc9(0x1d7)](),'responseExample':this[_0x1f3fc9(0x2ca)]()};}}class GenericOperation extends Operation{[a0_0xc10a22(0x188)](){const _0x3e644a=a0_0xc10a22;return this[_0x3e644a(0x278)]();}[a0_0xc10a22(0x2ad)](){const _0x1877b4=a0_0xc10a22;return this[_0x1877b4(0x13d)]();}['generateRequestExample'](){const _0x4a205f=a0_0xc10a22,_0x226172={},_0x4f2a07=this[_0x4a205f(0x188)](),_0x3d3eef=this[_0x4a205f(0x1a0)]();if(Object[_0x4a205f(0x1c5)](_0x4f2a07)[_0x4a205f(0x196)]===0x0&&_0x3d3eef){const _0x93b324=getFieldsForOperation(this[_0x4a205f(0x235)][_0x4a205f(0x1d5)],_0x3d3eef,this['context'][_0x4a205f(0x232)]);return _0x93b324['forEach'](_0x5f57fd=>{const _0x21739c=_0x4a205f,_0x59966e=this[_0x21739c(0x145)](_0x5f57fd['code'],_0x5f57fd[_0x21739c(0x165)],typeof _0x5f57fd[_0x21739c(0x288)]===_0x21739c(0x142)?_0x5f57fd[_0x21739c(0x288)]:undefined,{'isPrimaryKey':_0x5f57fd[_0x21739c(0x2da)]===this[_0x21739c(0x235)]['pkField'],'description':_0x5f57fd[_0x21739c(0x236)]||_0x5f57fd[_0x21739c(0x241)]});_0x226172[_0x5f57fd[_0x21739c(0x2da)]]=_0x59966e;}),_0x226172;}return Object['entries'](_0x4f2a07)['forEach'](([_0x2c91f9,_0x14a469])=>{const _0x226622=_0x4a205f,_0x5c7a08=_0x14a469;let _0x49e4ca;if(typeof _0x5c7a08[_0x226622(0x165)]==='string')_0x49e4ca=_0x5c7a08[_0x226622(0x165)];else _0x5c7a08[_0x226622(0x165)]&&typeof _0x5c7a08[_0x226622(0x165)]==='object'?_0x49e4ca=_0x5c7a08['type']['type']||'TEXT':_0x49e4ca=_0x226622(0x146);const _0x5909df=_0x5c7a08['description'],_0x48d91b=this[_0x226622(0x2cf)](_0x2c91f9);if(_0x2c91f9==='currentPage')_0x226172[_0x2c91f9]=0x1;else{if(_0x2c91f9===_0x226622(0x1c1))_0x226172[_0x2c91f9]=0xa;else _0x2c91f9==='id'?_0x226172[_0x2c91f9]=0x1:_0x226172[_0x2c91f9]=this[_0x226622(0x145)](_0x2c91f9,_0x49e4ca,typeof _0x48d91b?.[_0x226622(0x288)]===_0x226622(0x142)?_0x48d91b[_0x226622(0x288)]:undefined,{'isPrimaryKey':_0x2c91f9===this['context']['pkField']||_0x2c91f9==='id','description':_0x5909df||_0x48d91b?.['description']||_0x48d91b?.['name']});}}),_0x226172;}[a0_0xc10a22(0x2ca)](){const _0x4990f2=a0_0xc10a22,_0x4f3d76=this['getResponseSchema']();if(!_0x4f3d76)return{'success':!![],'msg':_0x4990f2(0x119),'errorMsg':'','errorCode':_0x4990f2(0x216),'data':null};return this[_0x4990f2(0x2db)](_0x4f3d76);}[a0_0xc10a22(0x2db)](_0x3c41ac){const _0x32c866=a0_0xc10a22;if(!_0x3c41ac||typeof _0x3c41ac!==_0x32c866(0x15e))return{};if(Array[_0x32c866(0x1e6)](_0x3c41ac)){if(_0x3c41ac['length']>0x0)return[this['generateFromSchema'](_0x3c41ac[0x0])];return[];}const _0x5b5f2e={};return Object[_0x32c866(0x1c5)](_0x3c41ac)['forEach'](_0x302836=>{const _0x50268f=_0x32c866,_0x44c689=_0x3c41ac[_0x302836];if(_0x44c689&&typeof _0x44c689==='object'&&!Array[_0x50268f(0x1e6)](_0x44c689)&&_0x44c689[_0x50268f(0x165)]){const _0x520c62=_0x44c689;let _0x3a6bf1;if(typeof _0x520c62[_0x50268f(0x165)]===_0x50268f(0x142))_0x3a6bf1=_0x520c62[_0x50268f(0x165)];else _0x520c62[_0x50268f(0x165)]&&typeof _0x520c62['type']===_0x50268f(0x15e)?_0x3a6bf1=_0x520c62[_0x50268f(0x165)][_0x50268f(0x165)]||'TEXT':_0x3a6bf1=_0x50268f(0x146);const _0x1ae6e5=_0x520c62['description'];_0x5b5f2e[_0x302836]=this[_0x50268f(0x145)](_0x302836,_0x3a6bf1,undefined,{'description':_0x1ae6e5});}else{if(Array[_0x50268f(0x1e6)](_0x44c689))_0x5b5f2e[_0x302836]=_0x44c689[_0x50268f(0x196)]>0x0?[this[_0x50268f(0x2db)](_0x44c689[0x0])]:[];else _0x44c689&&typeof _0x44c689===_0x50268f(0x15e)?_0x5b5f2e[_0x302836]=this[_0x50268f(0x2db)](_0x44c689):_0x5b5f2e[_0x302836]=_0x44c689;}}),_0x5b5f2e;}[a0_0xc10a22(0x266)](_0x216251,_0x3a8626){const _0x30f42f=a0_0xc10a22,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3a8626||{},_0x4e87af=this['getName'](),_0x56abc5=this[_0x30f42f(0x1a0)](),_0x1a9378=this[_0x30f42f(0x27e)](),_0xfd63a2=this[_0x30f42f(0x1d7)](),_0xc70de7=_0x2f9833=>{const _0x2ed7cb=_0x30f42f;if(Object[_0x2ed7cb(0x1c5)](_0x2f9833)['length']===0x0)return'{}';const _0x42b9bd=JSON[_0x2ed7cb(0x1db)](_0x2f9833,null,0x2)[_0x2ed7cb(0x16d)]('\x0a')[_0x2ed7cb(0x10a)]((_0x24ca6f,_0x31c480)=>_0x31c480===0x0?_0x24ca6f:indent+_0x24ca6f)['join']('\x0a');return _0x42b9bd;};switch(_0x56abc5){case _0x30f42f(0x2e8):case'delete':return _0x30f42f(0x29f)+_0x216251+'.'+_0x4e87af+_0x30f42f(0x279);case _0x30f42f(0x15a):if(useFullExample&&Object[_0x30f42f(0x1c5)](_0xfd63a2)['length']>0x0)return _0x30f42f(0x29f)+_0x216251+'.'+_0x4e87af+_0x30f42f(0x285)+_0xc70de7(_0xfd63a2)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x216251+'.'+_0x4e87af+_0x30f42f(0x19c);case _0x30f42f(0x20d):case _0x30f42f(0x2b1):case _0x30f42f(0x205):default:if(_0x1a9378[_0x30f42f(0x196)]>0x0){if(useFullExample&&Object[_0x30f42f(0x1c5)](_0xfd63a2)[_0x30f42f(0x196)]>0x0)return _0x30f42f(0x29f)+_0x216251+'.'+_0x4e87af+'('+_0xc70de7(_0xfd63a2)+');';else{const _0x55d707=Object[_0x30f42f(0x1c5)](_0xfd63a2);if(_0x55d707[_0x30f42f(0x196)]>0x0){const _0x5a52ee=_0x55d707[_0x30f42f(0x191)](0x0,0x2)[_0x30f42f(0x19e)](',\x20');return'const\x20result\x20=\x20await\x20client.models.'+_0x216251+'.'+_0x4e87af+_0x30f42f(0x286)+_0x5a52ee+_0x30f42f(0x2d0);}else return'const\x20result\x20=\x20await\x20client.models.'+_0x216251+'.'+_0x4e87af+_0x30f42f(0x130);}}else return'const\x20result\x20=\x20await\x20client.models.'+_0x216251+'.'+_0x4e87af+'();';}}[a0_0xc10a22(0x280)](){const _0x1f3056=a0_0xc10a22;return[{'title':_0x1f3056(0x195),'data':this[_0x1f3056(0x1d7)]()}];}}class GetSelectOptionsOperation extends GenericOperation{[a0_0xc10a22(0x188)](){const _0x971271=a0_0xc10a22,_0x4e657f=super[_0x971271(0x188)](),_0xe6263d=Object[_0x971271(0x1c5)](_0x4e657f);return(_0xe6263d['length']===0x0||_0xe6263d['length']===0x1&&_0xe6263d[0x0]===_0x971271(0x2da))&&(!_0x4e657f[_0x971271(0x2da)]&&(_0x4e657f[_0x971271(0x2da)]={'type':'String','description':_0x971271(0x22c)}),_0x4e657f[_0x971271(0x227)]={'type':'String','description':_0x971271(0x211)}),_0x4e657f;}[a0_0xc10a22(0x1d7)](){const _0x2677f3=a0_0xc10a22;return{'code':_0x2677f3(0x2a0),'label':_0x2677f3(0x2a0)};}['generateSDKCallCode'](_0x580dec){const _0x16088d=a0_0xc10a22,_0x53a50b=this[_0x16088d(0x1b0)]();return _0x16088d(0x29f)+_0x580dec+'.'+_0x53a50b+'({\x20code,\x20label\x20});';}}class GetListOperation extends GenericOperation{[a0_0xc10a22(0x188)](){const _0x211829=a0_0xc10a22,_0xef4527=super['getRequestParams'](),{currentPage:_0x18b21f,pageSize:_0x1e0e3f,..._0xb9aaa2}=_0xef4527,_0x22cdc9={};return Object['entries'](_0xb9aaa2)['forEach'](([_0x2a9cce,_0x46cb1a])=>{const _0x10977d=a0_0x2ad4;if(typeof _0x46cb1a===_0x10977d(0x15e)&&_0x46cb1a!==null){const _0x4f92c7=_0x46cb1a,_0x47bf02=_0x4f92c7[_0x10977d(0x236)]||'';_0x22cdc9[_0x2a9cce]={..._0x4f92c7,'description':_0x47bf02?_0x47bf02+'(支持单值或数组)':_0x10977d(0x1dc)};}else _0x22cdc9[_0x2a9cce]=_0x46cb1a;}),{..._0x22cdc9,'currentPage':{...typeof _0x18b21f==='object'?_0x18b21f:{},'type':_0x211829(0x1a4),'description':_0x211829(0x2dc)},'pageSize':{...typeof _0x1e0e3f==='object'?_0x1e0e3f:{},'type':_0x211829(0x1a4),'description':_0x211829(0x26d)}};}[a0_0xc10a22(0x1d7)](_0x3f5873){const _0x2e49c6=a0_0xc10a22,{useArrayValues:useArrayValues=!![]}=_0x3f5873||{},_0x3210d7=super[_0x2e49c6(0x1d7)](),{currentPage:_0x20e902,pageSize:_0x202841,..._0x111815}=_0x3210d7;if(!useArrayValues)return{..._0x111815,'currentPage':_0x20e902??0x1,'pageSize':_0x202841??0xa};const _0x573b19={},_0x2cd8bc=['id',_0x2e49c6(0x1ab),'code','type'];return Object[_0x2e49c6(0x107)](_0x111815)['forEach'](([_0x1fbbe8,_0x149a69],_0xe59862)=>{const _0x11a03e=_0x2e49c6,_0x5d6f80=_0x2cd8bc['some'](_0xc086f=>_0x1fbbe8[_0x11a03e(0x2b7)]()[_0x11a03e(0x214)](_0xc086f))||_0xe59862%0x3===0x0;if(_0x5d6f80&&_0x149a69!==null&&_0x149a69!==undefined){if(typeof _0x149a69==='number')_0x573b19[_0x1fbbe8]=[_0x149a69,_0x149a69+0x1,_0x149a69+0x2];else typeof _0x149a69===_0x11a03e(0x142)?_0x573b19[_0x1fbbe8]=[_0x149a69,_0x149a69+'_2',_0x149a69+'_3']:_0x573b19[_0x1fbbe8]=[_0x149a69];}else _0x573b19[_0x1fbbe8]=_0x149a69;}),{..._0x573b19,'currentPage':_0x20e902??0x1,'pageSize':_0x202841??0xa};}[a0_0xc10a22(0x15c)](){const _0x32a189=a0_0xc10a22;return this[_0x32a189(0x1d7)]({'useArrayValues':![]});}[a0_0xc10a22(0x280)](){const _0x2be344=a0_0xc10a22;return[{'title':_0x2be344(0x2b8),'description':_0x2be344(0x2c3),'data':this[_0x2be344(0x15c)]()},{'title':_0x2be344(0x1de),'description':_0x2be344(0x1ff),'data':this['generateRequestExample']()}];}[a0_0xc10a22(0x266)](_0x3631da,_0x36447e){const _0x46d22e=a0_0xc10a22,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x36447e||{},_0x5fe7c7=this[_0x46d22e(0x1b0)](),_0x2c31c4=this[_0x46d22e(0x1d7)]({'useArrayValues':!![]}),{currentPage:_0x4f6157,pageSize:_0x2e72fa,..._0x1822f7}=_0x2c31c4;if(useFullExample&&Object[_0x46d22e(0x1c5)](_0x2c31c4)[_0x46d22e(0x196)]>0x0){const _0x367f94=Object['keys'](_0x1822f7)['length']>0x0;if(_0x367f94){const _0x42c3a6=this['generateSingleValueExample'](),_0x350b02=_0x43a2d6=>{const _0x494e69=_0x46d22e;return JSON[_0x494e69(0x1db)](_0x43a2d6,null,0x2)[_0x494e69(0x16d)]('\x0a')['map']((_0x1925fb,_0x30f43c)=>_0x30f43c===0x0?_0x1925fb:indent+_0x1925fb)['join']('\x0a');};return _0x46d22e(0x20b)+_0x3631da+'.'+_0x5fe7c7+'('+_0x350b02(_0x42c3a6)+_0x46d22e(0x185)+_0x3631da+'.'+_0x5fe7c7+'('+_0x350b02(_0x2c31c4)+');';}else{const _0x30e9c1=JSON[_0x46d22e(0x1db)](_0x2c31c4,null,0x2)['split']('\x0a')['map']((_0x27eaca,_0x44ba2d)=>_0x44ba2d===0x0?_0x27eaca:indent+_0x27eaca)[_0x46d22e(0x19e)]('\x0a');return _0x46d22e(0x29f)+_0x3631da+'.'+_0x5fe7c7+'('+_0x30e9c1+');';}}if(Object[_0x46d22e(0x1c5)](_0x1822f7)[_0x46d22e(0x196)]>0x0){const _0x33f6cb=Object[_0x46d22e(0x1c5)](_0x1822f7)[0x0];return _0x46d22e(0x29f)+_0x3631da+'.'+_0x5fe7c7+_0x46d22e(0x286)+_0x33f6cb+_0x46d22e(0x24d);}return'const\x20result\x20=\x20await\x20client.models.'+_0x3631da+'.'+_0x5fe7c7+_0x46d22e(0x1da);}}var FILTER_OPERATORS=[a0_0xc10a22(0x1d8),a0_0xc10a22(0x1f9),a0_0xc10a22(0x218),a0_0xc10a22(0x14d),a0_0xc10a22(0x296),'$lteq',a0_0xc10a22(0x2a1),a0_0xc10a22(0x171),a0_0xc10a22(0x10b),a0_0xc10a22(0x1f3),a0_0xc10a22(0x219),a0_0xc10a22(0x2e1)];class FilterOperation extends GenericOperation{constructor(_0x20c59e,_0x467f6b,_0x4c6aca){super(_0x20c59e,_0x467f6b,_0x4c6aca);}['getOperators'](){return FILTER_OPERATORS;}[a0_0xc10a22(0x293)](_0x136985){const _0x2d4d2f=a0_0xc10a22,_0x1dd78d=this[_0x2d4d2f(0x2cf)](_0x136985);if(!_0x1dd78d)return[];return this[_0x2d4d2f(0x1be)](_0x1dd78d['type']);}[a0_0xc10a22(0x188)](){const _0x328452=a0_0xc10a22,_0x4129dd=super[_0x328452(0x188)]();return{..._0x4129dd,'where':{'type':_0x328452(0x16f),'description':'查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)','required':![]},'select':{'type':_0x328452(0x2c7),'description':'返回字段列表(字段投影)','required':![]},'orderBy':{'type':_0x328452(0x1fd),'description':'排序规则','required':![]},'currentPage':{'type':'Number','description':_0x328452(0x2dc),'required':![],'default':0x1},'pageSize':{'type':_0x328452(0x1a4),'description':_0x328452(0x26d),'required':![],'default':0xa}};}[a0_0xc10a22(0x1d7)](){const _0x21761f=a0_0xc10a22,_0x11c2c7=this['context'][_0x21761f(0x1d5)]||[];if(_0x11c2c7[_0x21761f(0x196)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x4cdb1f={},_0x5040ba=_0x11c2c7[_0x21761f(0x191)](0x0,Math[_0x21761f(0x23e)](0x3,_0x11c2c7[_0x21761f(0x196)]));_0x5040ba[_0x21761f(0x2df)](_0x26b4a2=>{const _0x5d3647=_0x21761f,_0x4bdd46=this[_0x5d3647(0x1be)](_0x26b4a2[_0x5d3647(0x165)]);if(_0x4bdd46[_0x5d3647(0x196)]===0x0)return;const _0x289c88=this[_0x5d3647(0x24a)](_0x26b4a2[_0x5d3647(0x165)],_0x4bdd46),_0x50fdba=this['generateExampleValue'](_0x26b4a2,_0x289c88);_0x4cdb1f[_0x26b4a2[_0x5d3647(0x2da)]]={[_0x289c88]:_0x50fdba};});const _0x3d9d6d=_0x11c2c7[_0x21761f(0x191)](0x0,Math[_0x21761f(0x23e)](0x5,_0x11c2c7[_0x21761f(0x196)]))[_0x21761f(0x10a)](_0x503bed=>_0x503bed[_0x21761f(0x2da)]),_0x42e04f=_0x11c2c7[0x0]?.[_0x21761f(0x2da)]||'id';return{'where':_0x4cdb1f,'select':_0x3d9d6d,'orderBy':[{[_0x42e04f]:_0x21761f(0x256)}],'currentPage':0x1,'pageSize':0x14};}[a0_0xc10a22(0x266)](_0x15665a,_0x46687a){const _0x3d046d=a0_0xc10a22,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x46687a||{},_0x4799ae=this[_0x3d046d(0x1b0)](),_0x245efa=this['generateRequestExample'](),_0x9f6629=_0x2d1712=>{const _0x347e36=_0x3d046d;return JSON[_0x347e36(0x1db)](_0x2d1712,null,0x2)[_0x347e36(0x16d)]('\x0a')['map']((_0x45e44e,_0x1e97cc)=>_0x1e97cc===0x0?_0x45e44e:indent+_0x45e44e)['join']('\x0a');};if(useFullExample){const _0x5c77c3=this[_0x3d046d(0x235)][_0x3d046d(0x1d5)]||[],_0x87d316={'where':_0x5c77c3[0x0]?{[_0x5c77c3[0x0][_0x3d046d(0x2da)]]:{'$eq':this[_0x3d046d(0x245)](_0x5c77c3[0x0],_0x3d046d(0x1d8))}}:{},'select':_0x5c77c3[_0x3d046d(0x191)](0x0,0x3)[_0x3d046d(0x10a)](_0x3bd180=>_0x3bd180[_0x3d046d(0x2da)]),'currentPage':0x1,'pageSize':0x14};let _0x3d43d9='';if(_0x5c77c3[_0x3d046d(0x196)]>=0x3){const _0x38e6e4={'$and':[]},_0x48198d=[];if(_0x5c77c3[_0x3d046d(0x196)]>0x0){const _0x1e2b82=_0x5c77c3[_0x3d046d(0x2a9)](_0x4971d4=>[_0x3d046d(0x15d),'INTEGER',_0x3d046d(0x12a)]['includes'](_0x4971d4['type']['toUpperCase']()));_0x1e2b82&&_0x48198d[_0x3d046d(0x1dd)]({[_0x1e2b82[_0x3d046d(0x2da)]]:{'$gte':0x0,'$lte':0x64}});}if(_0x5c77c3[_0x3d046d(0x196)]>0x1){const _0x16acb4=_0x5c77c3[_0x3d046d(0x2a9)](_0x37b89d=>[_0x3d046d(0xf7),_0x3d046d(0x146),_0x3d046d(0x1aa)][_0x3d046d(0x214)](_0x37b89d[_0x3d046d(0x165)][_0x3d046d(0x294)]()));_0x16acb4&&_0x48198d['push']({[_0x16acb4[_0x3d046d(0x2da)]]:{'$contain':_0x3d046d(0x168)}});}if(_0x48198d[_0x3d046d(0x196)]>0x0){_0x38e6e4[_0x3d046d(0x219)]=_0x48198d;const _0x417910={'where':_0x38e6e4,'select':_0x5c77c3['slice'](0x0,0x4)[_0x3d046d(0x10a)](_0x39fcd6=>_0x39fcd6[_0x3d046d(0x2da)]),'orderBy':[{[_0x5c77c3[0x0]['code']]:'DESC'}],'currentPage':0x1,'pageSize':0x14};_0x3d43d9=_0x3d046d(0x154)+_0x15665a+'.'+_0x4799ae+'('+_0x9f6629(_0x417910)+');';}}return _0x3d046d(0x1d6)+_0x15665a+'.'+_0x4799ae+'('+_0x9f6629(_0x87d316)+');'+_0x3d43d9;}const _0x3ed051=JSON[_0x3d046d(0x1db)](_0x245efa,null,0x2)[_0x3d046d(0x16d)]('\x0a')['map']((_0x4d8823,_0x574793)=>_0x574793===0x0?_0x4d8823:indent+_0x4d8823)[_0x3d046d(0x19e)]('\x0a');return _0x3d046d(0x29f)+_0x15665a+'.'+_0x4799ae+'('+_0x3ed051+');';}[a0_0xc10a22(0x1be)](_0x244bfb){const _0x36a289=a0_0xc10a22,_0x2cefa0=_0x244bfb[_0x36a289(0x294)](),_0xc1918c=[];if([_0x36a289(0x15d),_0x36a289(0x28c),_0x36a289(0x12a),'DECIMAL'][_0x36a289(0x214)](_0x2cefa0))_0xc1918c[_0x36a289(0x1dd)](_0x36a289(0x1d8),_0x36a289(0x1f9),_0x36a289(0x218),_0x36a289(0x296),_0x36a289(0x14d),'$lteq',_0x36a289(0x2a1));else{if([_0x36a289(0xf7),_0x36a289(0x146),'VARCHAR'][_0x36a289(0x214)](_0x2cefa0))_0xc1918c[_0x36a289(0x1dd)](_0x36a289(0x1d8),_0x36a289(0x1f9),_0x36a289(0x2a1),_0x36a289(0x171),_0x36a289(0x10b),'$endWith');else{if([_0x36a289(0x275),_0x36a289(0x240),_0x36a289(0x292)][_0x36a289(0x214)](_0x2cefa0))_0xc1918c[_0x36a289(0x1dd)](_0x36a289(0x1d8),_0x36a289(0x1f9),_0x36a289(0x218),_0x36a289(0x296),_0x36a289(0x14d),_0x36a289(0x228));else[_0x36a289(0x1f5),_0x36a289(0x1e8)][_0x36a289(0x214)](_0x2cefa0)?_0xc1918c[_0x36a289(0x1dd)](_0x36a289(0x1d8),_0x36a289(0x1f9)):_0xc1918c['push'](_0x36a289(0x1d8),_0x36a289(0x1f9));}}return _0xc1918c;}[a0_0xc10a22(0x24a)](_0x59375f,_0x59695d){const _0x128df1=a0_0xc10a22,_0x5c63a1=_0x59375f[_0x128df1(0x294)]();if(['NUMBER',_0x128df1(0x28c),_0x128df1(0x12a),'DECIMAL'][_0x128df1(0x214)](_0x5c63a1))return _0x59695d['includes'](_0x128df1(0x218))?_0x128df1(0x218):_0x128df1(0x1d8);if(['STRING',_0x128df1(0x146),_0x128df1(0x1aa)][_0x128df1(0x214)](_0x5c63a1))return _0x59695d['includes'](_0x128df1(0x171))?_0x128df1(0x171):'$eq';if([_0x128df1(0x275),_0x128df1(0x240),_0x128df1(0x292)][_0x128df1(0x214)](_0x5c63a1))return _0x59695d[_0x128df1(0x214)](_0x128df1(0x218))?_0x128df1(0x218):_0x128df1(0x1d8);return _0x128df1(0x1d8);}[a0_0xc10a22(0x245)](_0x39222,_0x328b94){const _0x2cc5d3=a0_0xc10a22,_0x65b2dd=String(_0x39222[_0x2cc5d3(0x165)]||'')[_0x2cc5d3(0x294)]();if(_0x39222[_0x2cc5d3(0x229)])try{const _0xfbec57=typeof _0x39222[_0x2cc5d3(0x229)]===_0x2cc5d3(0x142)?JSON[_0x2cc5d3(0x23a)](_0x39222[_0x2cc5d3(0x229)]):_0x39222[_0x2cc5d3(0x229)];if(_0xfbec57['options']&&Array[_0x2cc5d3(0x1e6)](_0xfbec57[_0x2cc5d3(0x10c)])&&_0xfbec57[_0x2cc5d3(0x10c)][_0x2cc5d3(0x196)]>0x0){if(_0x328b94===_0x2cc5d3(0x2a1))return _0xfbec57[_0x2cc5d3(0x10c)][_0x2cc5d3(0x191)](0x0,0x2)['map'](_0x3f882a=>_0x3f882a[_0x2cc5d3(0x2c5)]);return _0xfbec57['options'][0x0]['value'];}}catch{}if(['NUMBER',_0x2cc5d3(0x28c),_0x2cc5d3(0x12a),_0x2cc5d3(0x26b)][_0x2cc5d3(0x214)](_0x65b2dd)){if(_0x328b94==='$in')return[0x1,0x2,0x3];if(_0x328b94===_0x2cc5d3(0x218)||_0x328b94===_0x2cc5d3(0x14d))return 0x0;if(_0x328b94==='$lte'||_0x328b94==='$lteq')return 0x64;return 0x1;}if([_0x2cc5d3(0xf7),_0x2cc5d3(0x146),'VARCHAR'][_0x2cc5d3(0x214)](_0x65b2dd)){if(_0x328b94===_0x2cc5d3(0x2a1))return[_0x2cc5d3(0x249),_0x2cc5d3(0x1cd)];if(_0x328b94===_0x2cc5d3(0x171))return _0x2cc5d3(0x168);if(_0x328b94===_0x2cc5d3(0x10b))return _0x2cc5d3(0x2ed);if(_0x328b94===_0x2cc5d3(0x1f3))return _0x2cc5d3(0x264);return _0x2cc5d3(0x2c5);}if([_0x2cc5d3(0x275),_0x2cc5d3(0x240),_0x2cc5d3(0x292)]['includes'](_0x65b2dd)){if(_0x328b94===_0x2cc5d3(0x218)||_0x328b94===_0x2cc5d3(0x14d))return'2024-01-01';if(_0x328b94===_0x2cc5d3(0x296)||_0x328b94===_0x2cc5d3(0x228))return _0x2cc5d3(0xff);return _0x2cc5d3(0x23c);}if(['BOOLEAN',_0x2cc5d3(0x1e8)][_0x2cc5d3(0x214)](_0x65b2dd))return!![];return _0x328b94==='$in'?[_0x2cc5d3(0x249),_0x2cc5d3(0x1cd)]:_0x2cc5d3(0x2c5);}}class OperationFactory{[a0_0xc10a22(0x20d)](_0x14a229,_0x272d8d,_0xa67255){const _0x397c61=a0_0xc10a22;switch(_0x14a229){case _0x397c61(0x205):return new GetSelectOptionsOperation(_0x14a229,_0x272d8d,_0xa67255);case'getList':return new GetListOperation(_0x14a229,_0x272d8d,_0xa67255);case _0x397c61(0x18d):return new FilterOperation(_0x14a229,_0x272d8d,_0xa67255);default:return new GenericOperation(_0x14a229,_0x272d8d,_0xa67255);}}[a0_0xc10a22(0x1d0)](_0x28ce28,_0x6cdfc2){const _0x447145=a0_0xc10a22,_0x1e3faa=new Map();return Object[_0x447145(0x107)](_0x28ce28)[_0x447145(0x2df)](([_0x4c07be,_0xf9f540])=>{const _0x109c39=_0x447145;_0x1e3faa[_0x109c39(0x169)](_0x4c07be,this[_0x109c39(0x20d)](_0x4c07be,_0xf9f540,_0x6cdfc2));}),_0x1e3faa;}}class OperationList{[a0_0xc10a22(0x2b3)];constructor(_0x2163b3,_0x53c4c9){const _0x5ec32b=a0_0xc10a22,_0x5a8a30=new OperationFactory();this[_0x5ec32b(0x2b3)]=_0x5a8a30[_0x5ec32b(0x1d0)](_0x2163b3,_0x53c4c9);}[a0_0xc10a22(0x20f)](_0x196fe7){const _0x5b042e=a0_0xc10a22;return this[_0x5b042e(0x2b3)][_0x5b042e(0x20f)](_0x196fe7);}[a0_0xc10a22(0x13c)](_0x2521b4){const _0x283e10=a0_0xc10a22;return this[_0x283e10(0x2b3)][_0x283e10(0x13c)](_0x2521b4);}[a0_0xc10a22(0x2be)](){const _0x290604=a0_0xc10a22;return this[_0x290604(0x2b3)][_0x290604(0x2be)];}[a0_0xc10a22(0x1ca)](){const _0x2f8125=a0_0xc10a22;return Array[_0x2f8125(0x162)](this[_0x2f8125(0x2b3)][_0x2f8125(0x1c5)]());}['toArray'](){const _0x57db0b=a0_0xc10a22,_0x2fcf8d=Array[_0x57db0b(0x162)](this[_0x57db0b(0x2b3)][_0x57db0b(0x27d)]());return this[_0x57db0b(0x24e)](_0x2fcf8d);}[a0_0xc10a22(0x19d)](){const _0x1d8de4=a0_0xc10a22;return this[_0x1d8de4(0x244)]()['filter'](_0x17e8b8=>_0x17e8b8[_0x1d8de4(0x16b)]());}[a0_0xc10a22(0x1a3)](){const _0x34b038=a0_0xc10a22;return this[_0x34b038(0x244)]()['filter'](_0x5bb8a6=>!_0x5bb8a6[_0x34b038(0x16b)]());}[a0_0xc10a22(0x29b)](){const _0x129a80=a0_0xc10a22;return this['getEnabled']()['map'](_0x412dbd=>_0x412dbd[_0x129a80(0x1b0)]());}[a0_0xc10a22(0x180)](){const _0x222e0d=a0_0xc10a22;return this['getDisabled']()['map'](_0x5a1e3e=>_0x5a1e3e[_0x222e0d(0x1b0)]());}['getByType'](_0x526514){const _0x39a12e=a0_0xc10a22;return this[_0x39a12e(0x244)]()[_0x39a12e(0x18d)](_0x138a83=>_0x138a83[_0x39a12e(0x1a0)]()===_0x526514);}[a0_0xc10a22(0x18d)](_0x154f1d){const _0x106ab2=a0_0xc10a22;return this[_0x106ab2(0x244)]()[_0x106ab2(0x18d)](_0x154f1d);}['getFiltered'](_0x18c8e6={}){const _0x58a8aa=a0_0xc10a22;let _0x51421f=this[_0x58a8aa(0x244)]();!_0x18c8e6[_0x58a8aa(0x157)]&&(_0x51421f=_0x51421f[_0x58a8aa(0x18d)](_0xbff8f5=>_0xbff8f5[_0x58a8aa(0x16b)]()));if(_0x18c8e6[_0x58a8aa(0x1e1)]!==![]){const _0x16ff63=_0x51421f[_0x58a8aa(0x10a)](_0x146d97=>({'name':_0x146d97[_0x58a8aa(0x1b0)](),'operation':_0x146d97})),_0x115fbc=filterApiOperations(_0x16ff63);_0x51421f=_0x115fbc[_0x58a8aa(0x10a)](_0xe3e2e0=>_0xe3e2e0['operation']),_0x51421f=this[_0x58a8aa(0x24e)](_0x51421f);}return _0x18c8e6[_0x58a8aa(0x1a2)]&&(_0x51421f=_0x51421f[_0x58a8aa(0x18d)](_0x18c8e6[_0x58a8aa(0x1a2)])),_0x51421f;}['sortOperationsWithFilterFirst'](_0x581afd){const _0x1171c9=a0_0xc10a22,_0x316278=_0x581afd[_0x1171c9(0x2a9)](_0x13d6b2=>_0x13d6b2[_0x1171c9(0x1b0)]()===_0x1171c9(0x18d)),_0x2c5951=_0x581afd[_0x1171c9(0x18d)](_0x4fc9c6=>_0x4fc9c6[_0x1171c9(0x1b0)]()!==_0x1171c9(0x18d));return _0x316278?[_0x316278,..._0x2c5951]:_0x2c5951;}[a0_0xc10a22(0x226)](){const _0x7c9961=a0_0xc10a22,_0x4afa6a=this['getEnabled']();return{'total':this[_0x7c9961(0x2be)](),'enabled':_0x4afa6a[_0x7c9961(0x196)],'disabled':this[_0x7c9961(0x2be)]()-_0x4afa6a['length'],'byType':this[_0x7c9961(0x16c)](_0x4afa6a),'byMethod':this[_0x7c9961(0x11f)](_0x4afa6a)};}[a0_0xc10a22(0x16c)](_0x3b8f4b){const _0x92d55a=a0_0xc10a22,_0x30f103={};return _0x3b8f4b[_0x92d55a(0x2df)](_0x175051=>{const _0x4a7d5e=_0x92d55a,_0x2c2214=_0x175051[_0x4a7d5e(0x1a0)]();_0x2c2214&&(_0x30f103[_0x2c2214]=(_0x30f103[_0x2c2214]||0x0)+0x1);}),_0x30f103;}[a0_0xc10a22(0x11f)](_0x49975a){const _0x1a72d1=a0_0xc10a22,_0x380527={};return _0x49975a[_0x1a72d1(0x2df)](_0x48f77d=>{const _0x271413=_0x1a72d1,_0x5c5951=_0x48f77d[_0x271413(0x28b)]();_0x5c5951&&(_0x380527[_0x5c5951]=(_0x380527[_0x5c5951]||0x0)+0x1);}),_0x380527;}[Symbol[a0_0xc10a22(0x12f)]](){const _0x3bcfc6=a0_0xc10a22;return this['_operations'][_0x3bcfc6(0x27d)]();}[a0_0xc10a22(0x12d)](){const _0x9cfc66=a0_0xc10a22,_0x19b399=this[_0x9cfc66(0x226)]();return _0x9cfc66(0x1f2)+_0x19b399[_0x9cfc66(0x19a)]+'/'+_0x19b399[_0x9cfc66(0x21e)]+_0x9cfc66(0x163);}}class Field{[a0_0xc10a22(0x1cc)];['_extend']=null;constructor(_0x4610b1){const _0x373237=a0_0xc10a22;if(!_0x4610b1||typeof _0x4610b1!==_0x373237(0x15e))throw new Error('[Field]\x20Invalid\x20field\x20definition');this['_raw']=_0x4610b1;}get['raw'](){const _0x3cc720=a0_0xc10a22;return this[_0x3cc720(0x1cc)];}[a0_0xc10a22(0x233)](){const _0x3041c2=a0_0xc10a22;return this[_0x3041c2(0x1cc)];}get[a0_0xc10a22(0x241)](){const _0x27e9d9=a0_0xc10a22;return this['_raw'][_0x27e9d9(0x241)]||'';}get['code'](){const _0x3b1691=a0_0xc10a22;return this[_0x3b1691(0x1cc)][_0x3b1691(0x2da)]||'';}get[a0_0xc10a22(0x165)](){const _0x280823=a0_0xc10a22;return this[_0x280823(0x1cc)][_0x280823(0x165)]||'';}get[a0_0xc10a22(0x236)](){const _0x34d6a8=a0_0xc10a22;return this[_0x34d6a8(0x1cc)][_0x34d6a8(0x236)]||'';}get['deleted'](){const _0x181fbd=a0_0xc10a22;return Boolean(this[_0x181fbd(0x1cc)][_0x181fbd(0x21b)]);}get['extend'](){const _0x552d4f=a0_0xc10a22;if(this['_extend']!==null)return this[_0x552d4f(0x1c6)];const _0x51ebb0=this['_raw'][_0x552d4f(0x229)];if(!_0x51ebb0||typeof _0x51ebb0!==_0x552d4f(0x142))return this[_0x552d4f(0x1c6)]={},this[_0x552d4f(0x1c6)];try{return this[_0x552d4f(0x1c6)]=JSON[_0x552d4f(0x23a)](_0x51ebb0),this[_0x552d4f(0x1c6)];}catch(_0x2b162b){return!![]&&console[_0x552d4f(0x1b7)]('[Field.extend]\x20解析字段\x20'+this['code']+_0x552d4f(0x11a),_0x2b162b),this[_0x552d4f(0x1c6)]={},this[_0x552d4f(0x1c6)];}}['isRequired'](){const _0x1e9241=a0_0xc10a22;return Boolean(this[_0x1e9241(0x229)][_0x1e9241(0x194)]);}['isPrimaryKey'](){const _0x1314f0=a0_0xc10a22;return Boolean(this[_0x1314f0(0x229)][_0x1314f0(0x2a3)]);}[a0_0xc10a22(0x1f8)](){const _0x9446a3=a0_0xc10a22;return Boolean(this[_0x9446a3(0x229)][_0x9446a3(0x213)]);}[a0_0xc10a22(0x2b5)](){const _0x27fd86=a0_0xc10a22;return!this[_0x27fd86(0x1f8)]();}['isDeleted'](){const _0x177465=a0_0xc10a22;return this[_0x177465(0x21b)];}[a0_0xc10a22(0x111)](){const _0xcb9b03=a0_0xc10a22;return Boolean(this[_0xcb9b03(0x229)][_0xcb9b03(0x295)]);}[a0_0xc10a22(0x2cd)](){const _0x6893af=a0_0xc10a22;return Boolean(this[_0x6893af(0x229)][_0x6893af(0x159)]);}[a0_0xc10a22(0x14f)](){const _0x33cfd3=a0_0xc10a22;return Boolean(this[_0x33cfd3(0x229)][_0x33cfd3(0x2a6)]);}['isEnum'](){const _0x3b0b91=a0_0xc10a22,_0x1c3adf=['RADIO',_0x3b0b91(0x2d8),_0x3b0b91(0x174)];return _0x1c3adf[_0x3b0b91(0x214)](this[_0x3b0b91(0x165)]);}['isMultipleSelect'](){const _0x593603=a0_0xc10a22;return this[_0x593603(0x165)]===_0x593603(0x174);}[a0_0xc10a22(0x18f)](){const _0x3b26a5=a0_0xc10a22,_0x5c442e=this[_0x3b26a5(0x229)];if(_0x5c442e[_0x3b26a5(0x10c)]&&Array[_0x3b26a5(0x1e6)](_0x5c442e[_0x3b26a5(0x10c)]))return _0x5c442e[_0x3b26a5(0x10c)];return;}[a0_0xc10a22(0x24f)](){const _0x201508=a0_0xc10a22,_0xf74941=this[_0x201508(0x229)];if(_0xf74941[_0x201508(0x2a5)]&&typeof _0xf74941[_0x201508(0x2a5)]===_0x201508(0x15e))return _0xf74941[_0x201508(0x2a5)];return;}[a0_0xc10a22(0x17b)](){const _0x188092=a0_0xc10a22;if(!this[_0x188092(0x143)]())return;const _0x172f7e=this[_0x188092(0x18f)](),_0x3bca88=this['getSelectItemsSource'](),_0x2df30e=[],_0x397ed4={},_0x4efd37=_0x2f2da7=>{const _0x1eed94=_0x188092;_0x2f2da7[_0x1eed94(0x2df)](_0x25b7c5=>{const _0x899c52=_0x1eed94;_0x2df30e[_0x899c52(0x1dd)](_0x25b7c5[_0x899c52(0x2c5)]),_0x397ed4[String(_0x25b7c5[_0x899c52(0x2c5)])]=_0x25b7c5['label'],_0x25b7c5[_0x899c52(0x1a6)]&&_0x25b7c5[_0x899c52(0x1a6)][_0x899c52(0x196)]>0x0&&_0x4efd37(_0x25b7c5[_0x899c52(0x1a6)]);});};return _0x172f7e&&_0x172f7e['length']>0x0&&_0x4efd37(_0x172f7e),{'code':this[_0x188092(0x2da)],'name':this['name'],'type':this[_0x188092(0x165)],'multiple':this[_0x188092(0x257)](),'options':_0x172f7e,'selectItemsSource':_0x3bca88,'values':_0x2df30e,'valueLabels':_0x397ed4};}[a0_0xc10a22(0x1df)](){const _0x40563f=a0_0xc10a22;return this[_0x40563f(0x229)][_0x40563f(0x15b)];}[a0_0xc10a22(0x282)](){const _0x23a12a=a0_0xc10a22;return this['extend'][_0x23a12a(0x1b4)];}[a0_0xc10a22(0x260)](){const _0x5251bf=a0_0xc10a22;return{'name':this[_0x5251bf(0x241)],'code':this['code'],'type':this[_0x5251bf(0x165)],'description':this[_0x5251bf(0x236)],'required':this[_0x5251bf(0x1c9)](),'primaryKey':this[_0x5251bf(0x26a)](),'system':this['isSystem'](),'autoIncrement':this[_0x5251bf(0x111)](),'createTime':this[_0x5251bf(0x2cd)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x5251bf(0x143)](),'enumMeta':this[_0x5251bf(0x143)]()?this[_0x5251bf(0x17b)]():undefined};}}class FieldList{[a0_0xc10a22(0x175)];constructor(_0x15a0c5,_0x43e338){const _0x45ea71=a0_0xc10a22;if(!Array['isArray'](_0x15a0c5))throw new Error(_0x45ea71(0x263));const _0x5b90a2=_0x43e338?.[_0x45ea71(0x1ee)]??![],_0x20bab7=_0x5b90a2?_0x15a0c5:_0x15a0c5[_0x45ea71(0x18d)](_0x2128a1=>!_0x2128a1['deleted']);this['_fields']=_0x20bab7[_0x45ea71(0x10a)](_0x25ec1d=>new Field(_0x25ec1d));}get[a0_0xc10a22(0x196)](){const _0x35679a=a0_0xc10a22;return this[_0x35679a(0x175)][_0x35679a(0x196)];}[a0_0xc10a22(0x223)](){return[...this['_fields']];}[a0_0xc10a22(0x21f)](){const _0x1d6d5c=a0_0xc10a22;return this[_0x1d6d5c(0x175)][_0x1d6d5c(0x10a)](_0x1f095b=>_0x1f095b[_0x1d6d5c(0x21f)]);}['at'](_0x28154d){const _0x397138=a0_0xc10a22;return this[_0x397138(0x175)]['at'](_0x28154d);}[a0_0xc10a22(0x2a9)](_0x4d5322){const _0x3fb812=a0_0xc10a22;return this[_0x3fb812(0x175)][_0x3fb812(0x2a9)](_0x206113=>_0x206113[_0x3fb812(0x2da)]===_0x4d5322);}[a0_0xc10a22(0x2d5)](_0x2321bd){const _0x50f909=a0_0xc10a22;return this[_0x50f909(0x175)]['find'](_0x52fcb3=>_0x52fcb3[_0x50f909(0x241)]===_0x2321bd);}[a0_0xc10a22(0x13c)](_0x3073cb){const _0x2ff1c3=a0_0xc10a22;return this[_0x2ff1c3(0x175)][_0x2ff1c3(0x1bc)](_0x539514=>_0x539514[_0x2ff1c3(0x2da)]===_0x3073cb);}['forEach'](_0x2844ac){const _0x5020f7=a0_0xc10a22;this[_0x5020f7(0x175)][_0x5020f7(0x2df)](_0x2844ac);}[a0_0xc10a22(0x10a)](_0x32b101){const _0x55b8fb=a0_0xc10a22;return this[_0x55b8fb(0x175)][_0x55b8fb(0x10a)](_0x32b101);}[a0_0xc10a22(0x18d)](_0x1995f7){const _0x155f9a=a0_0xc10a22;return this[_0x155f9a(0x175)][_0x155f9a(0x18d)](_0x1995f7);}[a0_0xc10a22(0x21c)](_0x23c460){const _0x5d4e54=a0_0xc10a22;return this[_0x5d4e54(0x175)][_0x5d4e54(0x21c)](_0x23c460);}[a0_0xc10a22(0x1bc)](_0x189683){const _0x121431=a0_0xc10a22;return this[_0x121431(0x175)][_0x121431(0x1bc)](_0x189683);}[a0_0xc10a22(0x222)](){const _0x5bd463=a0_0xc10a22;return this[_0x5bd463(0x175)][_0x5bd463(0x18d)](_0x1f4184=>_0x1f4184[_0x5bd463(0x1c9)]());}[a0_0xc10a22(0x1d4)](){const _0xf72ebf=a0_0xc10a22;return this[_0xf72ebf(0x175)]['filter'](_0x37a8e1=>_0x37a8e1['isPrimaryKey']());}['getSystem'](){const _0x2a68e0=a0_0xc10a22;return this['_fields']['filter'](_0x5b1b8a=>_0x5b1b8a[_0x2a68e0(0x1f8)]());}[a0_0xc10a22(0x2ee)](){const _0x33731b=a0_0xc10a22;return this[_0x33731b(0x175)]['filter'](_0x276758=>_0x276758[_0x33731b(0x2b5)]());}[a0_0xc10a22(0x21a)](){const _0x1e3562=a0_0xc10a22;return this['_fields'][_0x1e3562(0x18d)](_0x163531=>_0x163531[_0x1e3562(0x143)]());}[a0_0xc10a22(0x2ba)](){const _0x5a2e17=a0_0xc10a22;return this[_0x5a2e17(0x175)]['filter'](_0x46f26e=>_0x46f26e[_0x5a2e17(0x111)]());}[a0_0xc10a22(0x2ce)](){const _0x18b79f=a0_0xc10a22;return this['_fields'][_0x18b79f(0x18d)](_0x8052f=>_0x8052f['isCreateTime']());}[a0_0xc10a22(0x18b)](){const _0x45ef72=a0_0xc10a22;return this['_fields']['filter'](_0xea214e=>_0xea214e[_0x45ef72(0x14f)]());}[a0_0xc10a22(0x2e2)](){const _0x59144b=a0_0xc10a22;return this[_0x59144b(0x175)][_0x59144b(0x18d)](_0x684c19=>_0x684c19[_0x59144b(0x1f1)]());}[a0_0xc10a22(0x210)](){const _0xdf357e=a0_0xc10a22;return this[_0xdf357e(0x175)]['filter'](_0x5cb1a5=>!_0x5cb1a5[_0xdf357e(0x1f1)]());}[a0_0xc10a22(0x1f0)](){const _0x5b225a=a0_0xc10a22,_0x1d3a19={};return this[_0x5b225a(0x175)][_0x5b225a(0x2df)](_0x54076d=>{const _0x59fda1=_0x5b225a,_0x242fae=_0x54076d['type'];!_0x1d3a19[_0x242fae]&&(_0x1d3a19[_0x242fae]=[]),_0x1d3a19[_0x242fae][_0x59fda1(0x1dd)](_0x54076d);}),_0x1d3a19;}[a0_0xc10a22(0x183)](){const _0x10c60a=a0_0xc10a22,_0xd3214a={};return this['_fields'][_0x10c60a(0x2df)](_0x26a84f=>{const _0x95a34e=_0x10c60a;if(_0x26a84f[_0x95a34e(0x143)]()){const _0x17793e=_0x26a84f[_0x95a34e(0x17b)]();_0x17793e&&(_0xd3214a[_0x26a84f[_0x95a34e(0x2da)]]=_0x17793e);}}),_0xd3214a;}[a0_0xc10a22(0x226)](){const _0x3bcb67=a0_0xc10a22;return{'total':this[_0x3bcb67(0x196)],'required':this[_0x3bcb67(0x222)]()['length'],'primaryKey':this[_0x3bcb67(0x1d4)]()[_0x3bcb67(0x196)],'system':this[_0x3bcb67(0x27c)]()[_0x3bcb67(0x196)],'business':this[_0x3bcb67(0x2ee)]()[_0x3bcb67(0x196)],'enum':this['getEnum']()['length'],'autoIncrement':this['getAutoIncrement']()[_0x3bcb67(0x196)]};}[a0_0xc10a22(0x260)](){const _0x597cdc=a0_0xc10a22;return this[_0x597cdc(0x175)][_0x597cdc(0x10a)](_0x5ebe31=>_0x5ebe31[_0x597cdc(0x260)]());}[a0_0xc10a22(0x1ac)](){const _0x4f99d4=a0_0xc10a22;return this[_0x4f99d4(0x175)][_0x4f99d4(0x10a)](_0x1b0c95=>_0x1b0c95[_0x4f99d4(0x2da)]);}['getNames'](){const _0x44f391=a0_0xc10a22;return this[_0x44f391(0x175)]['map'](_0x33c9bd=>_0x33c9bd[_0x44f391(0x241)]);}static[a0_0xc10a22(0x162)](_0x428f6a){const _0x578b24=a0_0xc10a22,_0x956495=_0x428f6a[_0x578b24(0x10a)](_0x1d5d93=>_0x1d5d93[_0x578b24(0x21f)]);return new FieldList(_0x956495);}static[a0_0xc10a22(0x2d2)](_0x4e83cc){return new FieldList(_0x4e83cc,{'includeDeleted':!![]});}}class DrivenDataDetail extends DatasetItem{[a0_0xc10a22(0x127)];[a0_0xc10a22(0x2cb)];[a0_0xc10a22(0x14a)];constructor(_0x23d91d){const _0x562da3=a0_0xc10a22;super({..._0x23d91d,'id':_0x23d91d[_0x562da3(0x14b)],'datasetCode':_0x23d91d[_0x562da3(0x231)]});}get['source'](){const _0x399be1=a0_0xc10a22;return this[_0x399be1(0x1cc)][_0x399be1(0x253)];}[a0_0xc10a22(0x234)](){return this['source'];}get[a0_0xc10a22(0x1a7)](){const _0x5d86c6=a0_0xc10a22;return this[_0x5d86c6(0x1cc)]['version'];}['getFieldList'](){const _0x26fdf0=a0_0xc10a22;return!this[_0x26fdf0(0x2cb)]&&(this[_0x26fdf0(0x2cb)]=new FieldList(this[_0x26fdf0(0x1cc)]['properties']||[])),this[_0x26fdf0(0x2cb)];}[a0_0xc10a22(0x17d)](){const _0x410294=a0_0xc10a22;return!this[_0x410294(0x14a)]&&(this[_0x410294(0x14a)]=FieldList[_0x410294(0x2d2)](this['_raw']['properties']||[])),this[_0x410294(0x14a)];}[a0_0xc10a22(0x2a2)](){const _0x99839d=a0_0xc10a22;return this[_0x99839d(0x1e9)]()[_0x99839d(0x21f)]();}[a0_0xc10a22(0x1e4)](){return this['_raw']['properties']||[];}[a0_0xc10a22(0x2d1)](){const _0x50b6b2=a0_0xc10a22;return this[_0x50b6b2(0x1e9)]()['length'];}[a0_0xc10a22(0x27f)](_0x1f20ea){const _0x1c474f=this['getFieldInstance'](_0x1f20ea);return _0x1c474f?_0x1c474f['raw']:undefined;}[a0_0xc10a22(0x2e9)](_0x3704da){const _0x4bc9a8=a0_0xc10a22;return this['getFieldList']()[_0x4bc9a8(0x2a9)](_0x3704da)?.[_0x4bc9a8(0x21f)]||undefined;}[a0_0xc10a22(0x13b)](_0x106614){const _0x42968e=a0_0xc10a22;if(typeof _0x106614!=='string'){!![]&&console[_0x42968e(0x1b7)](_0x42968e(0x103),_0x106614);return;}return this['getFieldList']()[_0x42968e(0x2a9)](_0x106614);}[a0_0xc10a22(0x201)](_0x305852){const _0x31f7d0=a0_0xc10a22;return this['getFieldList']()[_0x31f7d0(0x13c)](_0x305852);}[a0_0xc10a22(0x255)](_0xc14bc8){const _0x25a13a=a0_0xc10a22;if(!_0xc14bc8||typeof _0xc14bc8!==_0x25a13a(0x15e))return!![]&&console['warn'](_0x25a13a(0x1f7),_0xc14bc8),{};if(!_0xc14bc8[_0x25a13a(0x229)])return{};try{const _0x525c27=typeof _0xc14bc8['extend']===_0x25a13a(0x142)?JSON['parse'](_0xc14bc8['extend']):_0xc14bc8[_0x25a13a(0x229)];if(typeof _0x525c27!==_0x25a13a(0x15e)||_0x525c27===null)return!![]&&console[_0x25a13a(0x1b7)](_0x25a13a(0x106),_0x525c27),{};return _0x525c27;}catch(_0x5e9bb7){return!![]&&console['warn']('[DrivenDataDetail.parseFieldExtend]\x20解析字段\x20'+_0xc14bc8[_0x25a13a(0x2da)]+_0x25a13a(0x11a),_0x5e9bb7),{};}}[a0_0xc10a22(0x179)](_0x1c866e){const _0x4adb09=a0_0xc10a22;if(!_0x1c866e||typeof _0x1c866e!==_0x4adb09(0x15e))return![];const _0x20927b=this[_0x4adb09(0x1e9)]()['find'](_0x1c866e['code']);return _0x20927b?_0x20927b['isPrimaryKey']():![];}['isSystemField'](_0x13d565){const _0x2a1313=a0_0xc10a22;if(!_0x13d565||typeof _0x13d565!==_0x2a1313(0x15e))return![];const _0xc3987c=this[_0x2a1313(0x1e9)]()[_0x2a1313(0x2a9)](_0x13d565[_0x2a1313(0x2da)]);return _0xc3987c?_0xc3987c['isSystem']():![];}['isRequiredField'](_0x5401f5){const _0x3cb660=a0_0xc10a22;if(!_0x5401f5||typeof _0x5401f5!==_0x3cb660(0x15e))return![];const _0x3803f4=this['getFieldList']()[_0x3cb660(0x2a9)](_0x5401f5[_0x3cb660(0x2da)]);return _0x3803f4?_0x3803f4[_0x3cb660(0x1c9)]():![];}[a0_0xc10a22(0x12c)](){const _0x31e20f=a0_0xc10a22;return this['getFieldList']()[_0x31e20f(0x1d4)]()[_0x31e20f(0x10a)](_0x2573c4=>_0x2573c4[_0x31e20f(0x21f)]);}[a0_0xc10a22(0x270)](){const _0x5e732f=a0_0xc10a22;return this['getFieldList']()[_0x5e732f(0x27c)]()[_0x5e732f(0x10a)](_0x701d33=>_0x701d33[_0x5e732f(0x21f)]);}[a0_0xc10a22(0x122)](){const _0x54e1ad=a0_0xc10a22;return this[_0x54e1ad(0x1e9)]()[_0x54e1ad(0x2ee)]()[_0x54e1ad(0x10a)](_0x4b63ef=>_0x4b63ef[_0x54e1ad(0x21f)]);}[a0_0xc10a22(0x14c)](){const _0x1f09f7=a0_0xc10a22;return this['getFieldList']()[_0x1f09f7(0x222)]()[_0x1f09f7(0x10a)](_0x45d96b=>_0x45d96b[_0x1f09f7(0x21f)]);}['getFieldsByType'](){const _0x500eaf=a0_0xc10a22,_0x38a05c=this[_0x500eaf(0x1e9)]()['groupByType'](),_0x16d6d7={};for(const [_0x13c907,_0x544b33]of Object['entries'](_0x38a05c)){_0x16d6d7[_0x13c907]=_0x544b33[_0x500eaf(0x10a)](_0x15edad=>_0x15edad[_0x500eaf(0x21f)]);}return _0x16d6d7;}[a0_0xc10a22(0x1c7)](_0x30afac){const _0x390369=a0_0xc10a22;if(!_0x30afac||typeof _0x30afac!=='object')return![];const _0x2e3234=this['getFieldList']()['find'](_0x30afac[_0x390369(0x2da)]);return _0x2e3234?_0x2e3234[_0x390369(0x143)]():![];}[a0_0xc10a22(0x215)](_0x271d0b){const _0x218304=a0_0xc10a22;if(!_0x271d0b||typeof _0x271d0b!==_0x218304(0x15e))return![];const _0x39df60=this[_0x218304(0x1e9)]()[_0x218304(0x2a9)](_0x271d0b['code']);return _0x39df60?_0x39df60[_0x218304(0x257)]():![];}[a0_0xc10a22(0x187)](_0x33a82f){const _0x2d4f73=a0_0xc10a22;if(!_0x33a82f||typeof _0x33a82f!==_0x2d4f73(0x15e))return[];const _0x1ffb7e=this[_0x2d4f73(0x1e9)]()[_0x2d4f73(0x2a9)](_0x33a82f[_0x2d4f73(0x2da)]);if(!_0x1ffb7e||!_0x1ffb7e[_0x2d4f73(0x143)]())return[];return _0x1ffb7e[_0x2d4f73(0x18f)]()||[];}[a0_0xc10a22(0x2a7)](_0xf67c0f){const _0x117b35=a0_0xc10a22;if(!_0xf67c0f||typeof _0xf67c0f!==_0x117b35(0x15e))return;const _0x3f1cf5=this[_0x117b35(0x1e9)]()['find'](_0xf67c0f[_0x117b35(0x2da)]);if(!_0x3f1cf5||!_0x3f1cf5['isEnum']())return;return _0x3f1cf5['getSelectItemsSource']();}[a0_0xc10a22(0x1f6)](_0x4c743b){const _0x1a3a93=a0_0xc10a22;if(!_0x4c743b||typeof _0x4c743b!==_0x1a3a93(0x15e))return;const _0x4892a4=this[_0x1a3a93(0x1e9)]()[_0x1a3a93(0x2a9)](_0x4c743b['code']);if(!_0x4892a4||!_0x4892a4['isEnum']())return;return _0x4892a4[_0x1a3a93(0x17b)]();}[a0_0xc10a22(0x18c)](){const _0x366848=a0_0xc10a22;return this[_0x366848(0x1e9)]()[_0x366848(0x21a)]()[_0x366848(0x10a)](_0x189691=>_0x189691['raw']);}[a0_0xc10a22(0x110)](){const _0x59fc19=a0_0xc10a22,_0x51cf5a={};return this['getEnumFields']()[_0x59fc19(0x2df)](_0x4acfbc=>{const _0x3ca3b6=_0x59fc19,_0xf9e40a=this[_0x3ca3b6(0x1f6)](_0x4acfbc);_0xf9e40a&&(_0x51cf5a[_0x4acfbc[_0x3ca3b6(0x2da)]]=_0xf9e40a);}),_0x51cf5a;}[a0_0xc10a22(0x151)](_0x4b7590,_0x25824c){const _0x4ff4a2=a0_0xc10a22,_0x525ece=this[_0x4ff4a2(0x1f6)](_0x4b7590);if(!_0x525ece)return!![];if(_0x525ece['selectItemsSource']&&!_0x525ece[_0x4ff4a2(0x10c)])return!![];if(_0x525ece[_0x4ff4a2(0x152)]&&Array[_0x4ff4a2(0x1e6)](_0x25824c))return _0x25824c['every'](_0x2af173=>_0x525ece[_0x4ff4a2(0x27d)][_0x4ff4a2(0x214)](_0x2af173));return _0x525ece[_0x4ff4a2(0x27d)][_0x4ff4a2(0x214)](_0x25824c);}[a0_0xc10a22(0x2bc)](){const _0x34fe31=a0_0xc10a22;if(!this[_0x34fe31(0x127)]){const _0x739e52=this[_0x34fe31(0x204)](this[_0x34fe31(0x1cc)][_0x34fe31(0x199)]||{});this['_operationList']=new OperationList(_0x739e52,{'fields':this[_0x34fe31(0x2a2)](),'pkField':this[_0x34fe31(0x1cc)][_0x34fe31(0x1bb)]?.[_0x34fe31(0x232)],'dbtableConfig':this[_0x34fe31(0x1cc)][_0x34fe31(0x1bb)]});}return this[_0x34fe31(0x127)];}[a0_0xc10a22(0x204)](_0x31a37d){const _0x42dcf8=a0_0xc10a22;if(_0x31a37d[_0x42dcf8(0x18d)]!==undefined)return _0x31a37d;return{..._0x31a37d,'filter':this[_0x42dcf8(0x17f)]()};}[a0_0xc10a22(0x17f)](){const _0x4ce463=a0_0xc10a22,_0x438a54=this[_0x4ce463(0x1cc)]['operations']?.['getList'];let _0x413203=_0x438a54?.[_0x4ce463(0x2b9)],_0xb93298='';if(!_0x413203&&this[_0x4ce463(0x1cc)][_0x4ce463(0x199)]){const _0x34cd1d=Object[_0x4ce463(0x27d)](this[_0x4ce463(0x1cc)]['operations']);for(const _0x23624 of _0x34cd1d){if(_0x23624&&typeof _0x23624===_0x4ce463(0x15e)&&_0x4ce463(0x2b9)in _0x23624){_0x413203=_0x23624['host'];break;}}}if(_0x438a54?.[_0x4ce463(0x1b2)]){const _0x221c2f=_0x438a54['path'],_0x5bb762=_0x221c2f[_0x4ce463(0x141)]('/');_0x5bb762!==-0x1&&(_0xb93298=_0x221c2f[_0x4ce463(0x2ef)](0x0,_0x5bb762));}return{'name':_0x4ce463(0x18d),'type':_0x4ce463(0x2e5),'description':'Filter\x20API\x20-\x20高级查询接口','method':_0x4ce463(0x18e),'host':_0x413203,'path':_0xb93298?_0xb93298+_0x4ce463(0x289):_0x4ce463(0x289),'params':_0x438a54?.[_0x4ce463(0x2bd)]||[{'name':_0x4ce463(0x189),'type':_0x4ce463(0x15e),'required':![]},{'name':'select','type':'array','required':![]},{'name':'orderBy','type':_0x4ce463(0x28f),'required':![]},{'name':_0x4ce463(0x2a4),'type':_0x4ce463(0x1af),'required':![],'default':0x1},{'name':'pageSize','type':_0x4ce463(0x1af),'required':![],'default':0xa}],'_autoGenerated':!![]};}[a0_0xc10a22(0x155)](){const _0x519bb9=a0_0xc10a22;return this[_0x519bb9(0x2bc)]()[_0x519bb9(0x244)]();}[a0_0xc10a22(0x131)](){const _0x3e0d9e=a0_0xc10a22;return this[_0x3e0d9e(0x2bc)]()['size']();}[a0_0xc10a22(0x10f)](_0x57edd4){const _0x454085=a0_0xc10a22;if(typeof _0x57edd4!==_0x454085(0x142)){!![]&&console['warn'](_0x454085(0x254),_0x57edd4);return;}return this[_0x454085(0x2bc)]()['get'](_0x57edd4);}[a0_0xc10a22(0x273)](_0x5b89fe){const _0x59281a=a0_0xc10a22;if(typeof _0x5b89fe!==_0x59281a(0x142))return![];return this['getOperationList']()[_0x59281a(0x13c)](_0x5b89fe);}[a0_0xc10a22(0x2d4)](_0x4451fb){const _0x3a6558=a0_0xc10a22;if(typeof _0x4451fb!==_0x3a6558(0x142))return![];const _0x1051bc=this[_0x3a6558(0x10f)](_0x4451fb);return _0x1051bc?.['isEnabled']()||![];}[a0_0xc10a22(0x2e4)](){const _0x4210fa=a0_0xc10a22;return this['getOperationList']()[_0x4210fa(0x29b)]();}['getDisabledOperations'](){const _0x39a083=a0_0xc10a22;return this['getOperationList']()[_0x39a083(0x180)]();}['getEnabledOperationInstances'](){const _0x542aea=a0_0xc10a22;return this[_0x542aea(0x2bc)]()['getEnabled']();}[a0_0xc10a22(0x109)](){const _0x3e53e4=a0_0xc10a22;return this[_0x3e53e4(0x2bc)]()[_0x3e53e4(0x1a3)]();}[a0_0xc10a22(0x226)](){const _0x575a33=a0_0xc10a22;return{'fieldCount':this[_0x575a33(0x2d1)](),'systemFieldCount':this[_0x575a33(0x270)]()[_0x575a33(0x196)],'businessFieldCount':this['getBusinessFields']()[_0x575a33(0x196)],'requiredFieldCount':this[_0x575a33(0x14c)]()[_0x575a33(0x196)],'primaryKeyCount':this['getPrimaryKeyFields']()[_0x575a33(0x196)],'operationCount':this['getOperationCount'](),'enabledOperationCount':this['getEnabledOperations']()['length']};}[a0_0xc10a22(0x23f)](){const _0x2870a1=a0_0xc10a22;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x2870a1(0x2b6)],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0xc10a22(0x12d)](){const _0x51b165=a0_0xc10a22;return _0x51b165(0x27b)+this[_0x51b165(0x241)]+',\x20'+this[_0x51b165(0x2b6)]+',\x20'+this[_0x51b165(0x2d1)]()+_0x51b165(0x17e)+this[_0x51b165(0x131)]()+'\x20operations)';}[a0_0xc10a22(0x2bf)](){const _0x4b2139=a0_0xc10a22,_0x40c1cc=this[_0x4b2139(0x10f)](_0x4b2139(0x18d));return _0x40c1cc;}[a0_0xc10a22(0x28d)](){const _0x4f638f=a0_0xc10a22;return this[_0x4f638f(0x273)](_0x4f638f(0x18d));}[a0_0xc10a22(0x184)](_0x2709b4){const _0x44de57=a0_0xc10a22,_0x16b0ef=this[_0x44de57(0x10f)](_0x2709b4);return _0x16b0ef?_0x16b0ef['getOperators']():[];}[a0_0xc10a22(0x1bd)](_0x55f4b0,_0x3f54f5){const _0x386815=a0_0xc10a22,_0x19c2cf=this[_0x386815(0x10f)](_0x55f4b0);return _0x19c2cf?_0x19c2cf[_0x386815(0x293)](_0x3f54f5):[];}[a0_0xc10a22(0x166)](_0x4a6b10){const _0x1e4c5b=a0_0xc10a22,_0x3da03a={};return this[_0x1e4c5b(0x1e9)]()['forEach'](_0x10d956=>{const _0x46e900=_0x1e4c5b,_0x24afe6=this['getOperationFieldOperators'](_0x4a6b10,_0x10d956['code']);_0x24afe6[_0x46e900(0x196)]>0x0&&(_0x3da03a[_0x10d956[_0x46e900(0x2da)]]=_0x24afe6);}),_0x3da03a;}[a0_0xc10a22(0x2d7)](_0x3928b8,_0x485541,_0x43bc00){const _0x502385=a0_0xc10a22,_0x1f3a25=this['getOperationFieldOperators'](_0x3928b8,_0x485541);return _0x1f3a25[_0x502385(0x214)](_0x43bc00);}[a0_0xc10a22(0x164)](){const _0x1b3dfd=a0_0xc10a22;return this[_0x1b3dfd(0x184)](_0x1b3dfd(0x18d));}[a0_0xc10a22(0x1a8)](_0x44cca7){const _0xebff03=a0_0xc10a22;return this['getOperationFieldOperators'](_0xebff03(0x18d),_0x44cca7);}[a0_0xc10a22(0x14e)](){const _0x1649de=a0_0xc10a22;return this[_0x1649de(0x166)](_0x1649de(0x18d));}}class DatasetGroup{[a0_0xc10a22(0x1d2)];constructor(_0x4b393d){const _0x4770aa=a0_0xc10a22;this['items']=Array[_0x4770aa(0x1e6)](_0x4b393d)?[..._0x4b393d]:[_0x4b393d],this[_0x4770aa(0x1d2)][_0x4770aa(0x2e7)]((_0x5434b2,_0x16edce)=>{const _0x14fdd4=Number(_0x5434b2['id'])||0x0,_0x2a0906=Number(_0x16edce['id'])||0x0;return _0x2a0906-_0x14fdd4;});}[a0_0xc10a22(0x1e0)](){const _0x3f7f08=a0_0xc10a22;return this[_0x3f7f08(0x1d2)][_0x3f7f08(0x196)]>0x1;}[a0_0xc10a22(0x108)](){const _0x3d2536=a0_0xc10a22;return this[_0x3d2536(0x1d2)][0x0];}[a0_0xc10a22(0x230)](){const _0x1f1edd=a0_0xc10a22;return this[_0x1f1edd(0x1d2)][this[_0x1f1edd(0x1d2)]['length']-0x1];}[a0_0xc10a22(0x1f4)](){const _0x48385b=a0_0xc10a22;return[...this[_0x48385b(0x1d2)]];}[a0_0xc10a22(0x21d)](){const _0x3df79d=a0_0xc10a22;return this[_0x3df79d(0x1d2)]['length'];}[a0_0xc10a22(0x15f)](_0x183a06){const _0x273850=a0_0xc10a22;return this[_0x273850(0x1d2)][_0x183a06];}[a0_0xc10a22(0x1c4)](_0xb7adea){const _0x5c4d6e=a0_0xc10a22;return this[_0x5c4d6e(0x1d2)][_0x5c4d6e(0x2a9)](_0x2759a5=>_0x2759a5['id']===_0xb7adea);}[a0_0xc10a22(0x29a)](_0xeaa709){const _0x40530c=a0_0xc10a22;return this[_0x40530c(0x1d2)][_0x40530c(0x2a9)](_0x3274d1=>_0x3274d1['datasetCode']===_0xeaa709);}[a0_0xc10a22(0x13f)](){const _0x559901=a0_0xc10a22;return this[_0x559901(0x1d2)]['map'](_0x5acddc=>_0x5acddc['id'])[_0x559901(0x18d)](_0x2d2f18=>_0x2d2f18!==undefined);}['getCodes'](){const _0x1dc81f=a0_0xc10a22;return this[_0x1dc81f(0x1d2)][_0x1dc81f(0x10a)](_0x37328e=>_0x37328e[_0x1dc81f(0x2b6)]);}[a0_0xc10a22(0x12d)](){const _0x4918b3=a0_0xc10a22;if(this['hasConflict']())return'DatasetGroup('+this[_0x4918b3(0x1d2)]['length']+_0x4918b3(0x181)+this[_0x4918b3(0x108)]()[_0x4918b3(0x241)]+')';return _0x4918b3(0x125)+this[_0x4918b3(0x1d2)][0x0][_0x4918b3(0x241)]+')';}}class DatasetGroupMap{[a0_0xc10a22(0x2a8)];constructor(_0x13f4b5){const _0x131771=a0_0xc10a22;this[_0x131771(0x2a8)]=new Map();for(const _0x56f6fe of _0x13f4b5){const _0x28331e=getTableKey(_0x56f6fe);if(!this[_0x131771(0x2a8)][_0x131771(0x13c)](_0x28331e))this[_0x131771(0x2a8)]['set'](_0x28331e,new DatasetGroup(_0x56f6fe));else{const _0x1c698a=this[_0x131771(0x2a8)]['get'](_0x28331e),_0x291cdd=[..._0x1c698a[_0x131771(0x1f4)](),_0x56f6fe];this[_0x131771(0x2a8)][_0x131771(0x169)](_0x28331e,new DatasetGroup(_0x291cdd));}}}[a0_0xc10a22(0x20f)](_0x5bc93c){const _0x4894f0=a0_0xc10a22;return this[_0x4894f0(0x2a8)][_0x4894f0(0x20f)](_0x5bc93c);}[a0_0xc10a22(0x13c)](_0x1cd911){const _0x29833d=a0_0xc10a22;return this[_0x29833d(0x2a8)][_0x29833d(0x13c)](_0x1cd911);}get[a0_0xc10a22(0x2be)](){const _0x33b6c2=a0_0xc10a22;return this['groups'][_0x33b6c2(0x2be)];}[a0_0xc10a22(0x1c5)](){const _0x3cc0b9=a0_0xc10a22;return this[_0x3cc0b9(0x2a8)][_0x3cc0b9(0x1c5)]();}[a0_0xc10a22(0x27d)](){const _0x5d0173=a0_0xc10a22;return this[_0x5d0173(0x2a8)][_0x5d0173(0x27d)]();}[a0_0xc10a22(0x107)](){const _0x58af49=a0_0xc10a22;return this[_0x58af49(0x2a8)]['entries']();}[Symbol[a0_0xc10a22(0x12f)]](){const _0x4911a8=a0_0xc10a22;return this['groups'][_0x4911a8(0x107)]();}[a0_0xc10a22(0x2df)](_0x32fd70){const _0xa7bfcd=a0_0xc10a22;this[_0xa7bfcd(0x2a8)][_0xa7bfcd(0x2df)]((_0x4a5eae,_0x32c7d0)=>_0x32fd70(_0x4a5eae,_0x32c7d0,this));}[a0_0xc10a22(0x153)](){const _0x6e352d=a0_0xc10a22,_0x434cf3=new Map();for(const [_0x13ea1c,_0x10c96a]of this[_0x6e352d(0x2a8)]){_0x10c96a[_0x6e352d(0x1e0)]()&&_0x434cf3[_0x6e352d(0x169)](_0x13ea1c,_0x10c96a);}return _0x434cf3;}[a0_0xc10a22(0x150)](){const _0x1d92db=a0_0xc10a22;for(const _0x5e6317 of this['groups']['values']()){if(_0x5e6317[_0x1d92db(0x1e0)]())return!![];}return![];}['getConflictStats'](){const _0x5f187e=a0_0xc10a22;let _0x2f49d3=0x0,_0x394535=0x0;for(const _0x8eb2be of this['groups'][_0x5f187e(0x27d)]()){_0x8eb2be[_0x5f187e(0x1e0)]()&&(_0x2f49d3++,_0x394535+=_0x8eb2be[_0x5f187e(0x21d)]());}return{'conflictGroupCount':_0x2f49d3,'conflictItemCount':_0x394535,'totalGroups':this[_0x5f187e(0x2a8)][_0x5f187e(0x2be)]};}[a0_0xc10a22(0x2ae)](){const _0x5288fb=a0_0xc10a22,_0xc8e043=[];for(const _0x1cb2b2 of this['groups'][_0x5288fb(0x27d)]()){_0xc8e043['push'](..._0x1cb2b2['getAll']());}return _0xc8e043;}[a0_0xc10a22(0x10e)](){const _0x5251da=a0_0xc10a22,_0x5e9858=[];for(const _0x2ca26f of this[_0x5251da(0x2a8)]['values']()){_0x5e9858[_0x5251da(0x1dd)](_0x2ca26f['getLatest']());}return _0x5e9858;}[a0_0xc10a22(0x108)](_0x10ba7d){const _0x55e2be=a0_0xc10a22;return this['groups'][_0x55e2be(0x20f)](_0x10ba7d)?.[_0x55e2be(0x108)]();}[a0_0xc10a22(0x1f4)](_0x3690d7){const _0x4215d6=a0_0xc10a22;return this[_0x4215d6(0x2a8)][_0x4215d6(0x20f)](_0x3690d7)?.[_0x4215d6(0x1f4)]()||[];}['toConfig'](){const _0x5dc47f=a0_0xc10a22,_0x21245f=this[_0x5dc47f(0x10e)](),_0x1297ce=_0x21245f['map'](_0x729a79=>_0x729a79[_0x5dc47f(0x260)]());return generateDatasetsConfig(_0x1297ce,{'enableDeduplication':![]});}[a0_0xc10a22(0x2e3)](){const _0x261793=a0_0xc10a22,_0x4f3658=this[_0x261793(0x2ae)](),_0x56dbee=_0x4f3658['map'](_0x581a03=>_0x581a03[_0x261793(0x260)]());return generateFullDatasetsConfig(_0x56dbee);}['toObject'](){const _0x5c96c9=a0_0xc10a22,_0x47195e={};for(const [_0x49ed28,_0x357e21]of this[_0x5c96c9(0x2a8)]){_0x47195e[_0x49ed28]=_0x357e21;}return _0x47195e;}['toJSON'](){const _0x1af9fb=a0_0xc10a22,_0x1d4ad2={};for(const [_0x1c4ce9,_0x3fa949]of this['groups']){_0x1d4ad2[_0x1c4ce9]=_0x3fa949[_0x1af9fb(0x1f4)]()[_0x1af9fb(0x10a)](_0x388fc3=>_0x388fc3[_0x1af9fb(0x260)]());}return _0x1d4ad2;}[a0_0xc10a22(0x12d)](){const _0x2764ba=a0_0xc10a22;return'DatasetGroupMap('+this[_0x2764ba(0x2a8)][_0x2764ba(0x2be)]+_0x2764ba(0x1d1)+(this[_0x2764ba(0x150)]()?'has\x20conflicts':_0x2764ba(0x1ef))+')';}}class DatasetList{[a0_0xc10a22(0x156)];constructor(_0x4f71b4){const _0xb41be=a0_0xc10a22;let _0x59d797;if(Array[_0xb41be(0x1e6)](_0x4f71b4))_0x59d797=_0x4f71b4;else{if(_0xb41be(0x2af)in _0x4f71b4){if(!_0x4f71b4['success']||!_0x4f71b4[_0xb41be(0x220)]?.[_0xb41be(0x25a)])throw new Error('Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData');_0x59d797=_0x4f71b4[_0xb41be(0x220)][_0xb41be(0x25a)][_0xb41be(0x10a)](_0x51b4b6=>({..._0x51b4b6,'datasetCode':_0x51b4b6[_0xb41be(0x2da)]||_0x51b4b6[_0xb41be(0x2b6)]}));}else{if('tableData'in _0x4f71b4){if(!Array[_0xb41be(0x1e6)](_0x4f71b4[_0xb41be(0x25a)]))throw new Error(_0xb41be(0x207));_0x59d797=_0x4f71b4[_0xb41be(0x25a)][_0xb41be(0x10a)](_0x2fb11e=>({..._0x2fb11e,'datasetCode':_0x2fb11e[_0xb41be(0x2da)]||_0x2fb11e[_0xb41be(0x2b6)]}));}else throw new Error(_0xb41be(0x2d9));}}const _0x2c5653=_0x59d797[_0xb41be(0x10a)](_0x6ca423=>new DatasetItem(_0x6ca423));this[_0xb41be(0x156)]=new DatasetGroupMap(_0x2c5653);}get[a0_0xc10a22(0x2aa)](){return this['_datasetMap'];}['getItems'](){const _0x116e70=a0_0xc10a22;return this[_0x116e70(0x156)]['getAllDatasets']();}[a0_0xc10a22(0x21d)](){return this['getItems']()['length'];}[a0_0xc10a22(0x2b4)](){const _0x4fd969=a0_0xc10a22;return this[_0x4fd969(0x156)]['size']===0x0;}[a0_0xc10a22(0x15f)](_0xddda8a){const _0x73a057=a0_0xc10a22;return this[_0x73a057(0x225)]()[_0xddda8a];}[a0_0xc10a22(0x16e)](){const _0x51d8e5=a0_0xc10a22;return this[_0x51d8e5(0x225)]()[0x0];}[a0_0xc10a22(0x1c2)](){const _0xd7b989=a0_0xc10a22,_0x2ff8a7=this[_0xd7b989(0x225)]();return _0x2ff8a7[_0x2ff8a7[_0xd7b989(0x196)]-0x1];}[a0_0xc10a22(0x29a)](_0x20eef3){const _0x543c3f=a0_0xc10a22;for(const _0x17d8ae of this[_0x543c3f(0x156)][_0x543c3f(0x27d)]()){const _0x53e560=_0x17d8ae[_0x543c3f(0x29a)](_0x20eef3);if(_0x53e560)return _0x53e560;}return;}[a0_0xc10a22(0x2d5)](_0x13a97a){const _0x303e71=a0_0xc10a22;return this['getItems']()[_0x303e71(0x2a9)](_0x299a9f=>_0x299a9f[_0x303e71(0x241)]===_0x13a97a);}[a0_0xc10a22(0x1c4)](_0x4195b6){const _0x2682d2=a0_0xc10a22;for(const _0x5515af of this[_0x2682d2(0x156)][_0x2682d2(0x27d)]()){const _0x53370c=_0x5515af[_0x2682d2(0x1c4)](_0x4195b6);if(_0x53370c)return _0x53370c;}return;}['findByTableName'](_0x213eb3){const _0x14d746=a0_0xc10a22,_0x55dfce=getTableKey(_0x213eb3);return this['_datasetMap'][_0x14d746(0x108)](_0x55dfce);}[a0_0xc10a22(0x18d)](_0x24f573){const _0x2883f2=a0_0xc10a22,_0x3bf5ac=this[_0x2883f2(0x225)]()[_0x2883f2(0x18d)](_0x24f573);return new DatasetList(_0x3bf5ac['map'](_0x2b9c60=>_0x2b9c60['toJSON']()));}[a0_0xc10a22(0x298)](_0x35b186){const _0x13706c=a0_0xc10a22;return this['getItems']()[_0x13706c(0x18d)](_0x35b186);}['forEach'](_0x3b7a25){const _0x39b7d2=a0_0xc10a22;this[_0x39b7d2(0x225)]()['forEach'](_0x3b7a25);}[a0_0xc10a22(0x10a)](_0x2c5315){const _0x9e9bcf=a0_0xc10a22;return this[_0x9e9bcf(0x225)]()[_0x9e9bcf(0x10a)](_0x2c5315);}[Symbol['iterator']](){const _0x3249e5=a0_0xc10a22;return this[_0x3249e5(0x225)]()[Symbol[_0x3249e5(0x12f)]]();}['getVirtualTables'](){const _0x5af0b3=a0_0xc10a22;return this[_0x5af0b3(0x225)]()[_0x5af0b3(0x18d)](_0x4b44a6=>_0x4b44a6[_0x5af0b3(0x198)]());}['getRealTables'](){const _0x4c545d=a0_0xc10a22;return this[_0x4c545d(0x225)]()[_0x4c545d(0x18d)](_0x14e102=>!_0x14e102[_0x4c545d(0x198)]());}['groupByTableName'](){const _0x7c6696=a0_0xc10a22,_0x3c6617={};for(const _0x42fb38 of this[_0x7c6696(0x156)][_0x7c6696(0x27d)]()){const _0x328f14=_0x42fb38['getLatest']()[_0x7c6696(0x120)]();_0x3c6617[_0x328f14]=_0x42fb38[_0x7c6696(0x1f4)]();}return _0x3c6617;}[a0_0xc10a22(0x19b)](){const _0x5260c2=a0_0xc10a22,_0x2ba6a7={};for(const _0x146983 of this[_0x5260c2(0x156)][_0x5260c2(0x153)]()[_0x5260c2(0x27d)]()){const _0x3b77c9=_0x146983[_0x5260c2(0x108)]()['getTableName']();_0x2ba6a7[_0x3b77c9]=_0x146983['getAll']()[_0x5260c2(0x10a)](_0x10f5ce=>_0x10f5ce[_0x5260c2(0x260)]());}return{'hasConflicts':Object['keys'](_0x2ba6a7)[_0x5260c2(0x196)]>0x0,'conflicts':_0x2ba6a7};}[a0_0xc10a22(0x150)](){const _0x320717=a0_0xc10a22;return this[_0x320717(0x156)]['hasConflicts']();}[a0_0xc10a22(0xfe)](){const _0x3cad7f=a0_0xc10a22,_0x2e966a=[];for(const _0x2b89b5 of this[_0x3cad7f(0x156)][_0x3cad7f(0x153)]()[_0x3cad7f(0x27d)]()){_0x2e966a[_0x3cad7f(0x1dd)](..._0x2b89b5['getAll']());}return _0x2e966a;}[a0_0xc10a22(0x265)](_0x234c71){const _0x169271=a0_0xc10a22;if(!_0x234c71||Object[_0x169271(0x1c5)](_0x234c71)['length']===0x0)return this[_0x169271(0x2aa)]['toConfig']();const _0x1287ba=this[_0x169271(0x225)]()[_0x169271(0x10a)](_0x236fc7=>_0x236fc7[_0x169271(0x260)]());return generateDatasetsConfig(_0x1287ba,_0x234c71);}[a0_0xc10a22(0x25c)](_0x4728b2){const _0x19de7e=a0_0xc10a22,_0x31f17c=this[_0x19de7e(0x265)](_0x4728b2);return datasetsConfigToArray(_0x31f17c);}['toConfigArray'](){const _0x526868=a0_0xc10a22;return this[_0x526868(0x225)]()['map'](_0x4928bb=>_0x4928bb['toConfig']());}[a0_0xc10a22(0x226)](){const _0x404d97=a0_0xc10a22;return{'total':this[_0x404d97(0x21d)](),'virtualTables':this[_0x404d97(0x17a)]()[_0x404d97(0x196)],'realTables':this[_0x404d97(0x139)]()[_0x404d97(0x196)],'hasConflicts':this[_0x404d97(0x150)](),'conflictCount':this['getConflictingItems']()[_0x404d97(0x196)]};}[a0_0xc10a22(0x244)](){const _0x78bacb=a0_0xc10a22;return this[_0x78bacb(0x225)]()[_0x78bacb(0x10a)](_0x144986=>_0x144986[_0x78bacb(0x260)]());}['toJSON'](){const _0x3cbccf=a0_0xc10a22;return this[_0x3cbccf(0x244)]();}[a0_0xc10a22(0x12d)](){const _0x3406f6=a0_0xc10a22;return _0x3406f6(0x299)+this[_0x3406f6(0x21d)]()+_0x3406f6(0x24b)+this[_0x3406f6(0x156)][_0x3406f6(0x2be)]+_0x3406f6(0x28a);}static['fromApiResponse'](_0xf007be){return new DatasetList(_0xf007be);}static[a0_0xc10a22(0x29e)](_0x515ac3){return new DatasetList(_0x515ac3);}static['empty'](){return new DatasetList([]);}}function operationToAnalysis(_0x45d5b6){const _0x82fe6b=a0_0xc10a22;return{'name':_0x45d5b6[_0x82fe6b(0x1b0)](),'displayName':_0x45d5b6[_0x82fe6b(0x124)](),'type':_0x45d5b6[_0x82fe6b(0x1a0)](),'method':_0x45d5b6['getMethod'](),'path':_0x45d5b6['getPath'](),'fullUrl':_0x45d5b6[_0x82fe6b(0x161)](),'requestFields':_0x45d5b6[_0x82fe6b(0x27e)](),'requestParams':_0x45d5b6[_0x82fe6b(0x188)](),'responseSchema':_0x45d5b6[_0x82fe6b(0x2ad)](),'requestExample':_0x45d5b6[_0x82fe6b(0x1d7)](),'responseExample':_0x45d5b6[_0x82fe6b(0x2ca)](),'enabled':_0x45d5b6[_0x82fe6b(0x16b)]()};}function operationsToAnalyses(_0x1ff0b5){const _0x180ce7=a0_0xc10a22;return _0x1ff0b5[_0x180ce7(0x10a)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0xc10a22(0x114)];[a0_0xc10a22(0x115)](_0x1d9c6d=![]){const _0x3c9cd9=a0_0xc10a22;if(!_0x1d9c6d&&this[_0x3c9cd9(0x114)])return this['_operationAnalyses'];const _0x51f766=this['getOperations']();return this[_0x3c9cd9(0x114)]=operationsToAnalyses(_0x51f766),this['_operationAnalyses'];}[a0_0xc10a22(0x12e)](){const _0x222502=a0_0xc10a22;return this[_0x222502(0x237)]({'includeDisabled':![],'filterBlacklist':!![]});}['getFilteredOperationAnalyses'](_0x519434={}){const _0x18eeff=a0_0xc10a22;let _0x3e3ffb=this[_0x18eeff(0x115)]();return!_0x519434['includeDisabled']&&(_0x3e3ffb=_0x3e3ffb['filter'](_0x36699d=>_0x36699d[_0x18eeff(0x19a)])),_0x519434[_0x18eeff(0x1e1)]!==![]&&(_0x3e3ffb=filterApiOperations(_0x3e3ffb)),_0x519434[_0x18eeff(0x1a2)]&&(_0x3e3ffb=_0x3e3ffb[_0x18eeff(0x18d)](_0x519434[_0x18eeff(0x1a2)])),_0x3e3ffb=this[_0x18eeff(0x24e)](_0x3e3ffb),_0x3e3ffb;}[a0_0xc10a22(0x24e)](_0x15bcda){const _0x5ce999=a0_0xc10a22,_0x48fb59=_0x15bcda[_0x5ce999(0x2a9)](_0x9b2aeb=>_0x9b2aeb['name']==='filter'),_0x5a3460=_0x15bcda[_0x5ce999(0x18d)](_0x290ffd=>_0x290ffd['name']!==_0x5ce999(0x18d));return _0x48fb59?[_0x48fb59,..._0x5a3460]:_0x5a3460;}['getOperationAnalysis'](_0x7300a0){const _0x44d885=a0_0xc10a22,_0xd030eb=this[_0x44d885(0x115)]();return _0xd030eb[_0x44d885(0x2a9)](_0x2c85ff=>_0x2c85ff[_0x44d885(0x241)]===_0x7300a0);}[a0_0xc10a22(0x248)](_0x15fd71){const _0x3d349d=a0_0xc10a22,_0xc09e20=this[_0x3d349d(0x115)]();return _0xc09e20[_0x3d349d(0x18d)](_0x5d309c=>_0x5d309c[_0x3d349d(0x165)]===_0x15fd71);}['getOperationRequestFields'](_0x4aa679){const _0x1253e2=a0_0xc10a22,_0x199395=this[_0x1253e2(0x10f)](_0x4aa679);if(!_0x199395)return[];const _0xd4ad54=_0x199395['getRequestFields'](),_0x44fb20=this[_0x1253e2(0x2a2)]();return _0x44fb20[_0x1253e2(0x18d)](_0x3202ce=>_0xd4ad54[_0x1253e2(0x214)](_0x3202ce[_0x1253e2(0x2da)]));}[a0_0xc10a22(0x1cb)](_0x28dd25,_0x2dd21a){const _0x4e2558=a0_0xc10a22,_0x19aa8a=this[_0x4e2558(0x104)](_0x28dd25);if(!_0x19aa8a)return null;const _0x5815ac=this[_0x4e2558(0x10f)](_0x19aa8a[_0x4e2558(0x241)]);if(!_0x5815ac)throw new Error(_0x4e2558(0x100)+_0x19aa8a['name']);const _0x20c9a1=this[_0x4e2558(0x190)](),_0x3c941f=this[_0x4e2558(0x120)](),_0xe0df71=_0x5815ac[_0x4e2558(0x266)](_0x20c9a1,{'useFullExample':_0x2dd21a?.[_0x4e2558(0x123)]}),_0x5a4817=_0x5815ac[_0x4e2558(0x262)](_0x20c9a1);return{'operation':_0x19aa8a,'operationInstance':_0x5815ac,'basicInfo':{'name':_0x19aa8a[_0x4e2558(0x241)],'displayName':_0x19aa8a[_0x4e2558(0x243)],'method':_0x19aa8a[_0x4e2558(0x132)],'path':_0x19aa8a[_0x4e2558(0x1b2)],'fullUrl':_0x19aa8a['fullUrl'],'enabled':_0x19aa8a[_0x4e2558(0x19a)]},'sdkCall':{'datasetCode':this[_0x4e2558(0x2b6)],'modelName':_0x20c9a1,'tableName':_0x3c941f,'operationName':_0x19aa8a[_0x4e2558(0x241)],'params':_0x19aa8a['requestFields'],'code':_0xe0df71},'usageExample':_0x5a4817};}[a0_0xc10a22(0x1ba)](_0x42cc25={}){const _0x561180=a0_0xc10a22,_0x16761e=this['getFilteredOperationAnalyses'](_0x42cc25),_0x13d21e=this[_0x561180(0x226)](),_0x54a06b={'name':this[_0x561180(0x241)],'code':this['datasetCode'],'tableName':this[_0x561180(0x120)](),'tableKey':this['getTableKey'](),'source':this['source'],'fieldCount':_0x13d21e['fieldCount'],'businessFieldCount':_0x13d21e[_0x561180(0x116)],'systemFieldCount':_0x13d21e['systemFieldCount'],'operationCount':_0x13d21e[_0x561180(0x291)],'enabledOperationCount':_0x13d21e[_0x561180(0x133)]},_0x4230a4=_0x16761e[_0x561180(0x10a)](_0x14d283=>this['getOperationDocMeta'](_0x14d283['name']))[_0x561180(0x18d)](_0xae183c=>_0xae183c!==null);return{'title':this[_0x561180(0x241)]+_0x561180(0x186),'datasetInfo':_0x54a06b,'operations':_0x4230a4};}[a0_0xc10a22(0x1b1)](_0x2cbcdb){const _0x21a4c4=a0_0xc10a22;return{'appCode':_0x2cbcdb,'tableKey':this[_0x21a4c4(0x190)](),'tableName':this[_0x21a4c4(0x120)](),'datasetCode':this[_0x21a4c4(0x2b6)]};}['getOperationsOverviewData'](_0x10c835){const _0x3a5df9=a0_0xc10a22,_0x2f34d7=[{'index':_0x3a5df9(0x241),'label':_0x3a5df9(0x2c9)},{'index':_0x3a5df9(0x243),'label':_0x3a5df9(0x297)},{'index':_0x3a5df9(0x132),'label':'方法'},{'index':'sdkCall','label':_0x3a5df9(0x208)},{'index':_0x3a5df9(0x1b2),'label':'API路径'},{'index':'sdkCallCode','label':_0x3a5df9(0x22e)}],_0x13f019=_0x10c835[_0x3a5df9(0x10a)](_0x4a9d26=>{const _0x4b93e3=_0x3a5df9,{basicInfo:_0x4436de,sdkCall:_0x19b0f9}=_0x4a9d26,_0x429b33=_0x19b0f9[_0x4b93e3(0x2da)][_0x4b93e3(0x277)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x4b93e3(0x277)](/;$/,'');return{'displayName':_0x4436de[_0x4b93e3(0x243)],'name':_0x4436de['name'],'method':_0x4436de[_0x4b93e3(0x132)],'path':_0x4436de[_0x4b93e3(0x1b2)],'sdkCall':_0x429b33,'sdkCallCode':_0x19b0f9['code']};});return{'tableColumns':_0x2f34d7,'tableData':_0x13f019};}[a0_0xc10a22(0x112)](_0x41fc39){const _0x3e7ef0=a0_0xc10a22,_0x4c38eb=this[_0x3e7ef0(0x104)](_0x41fc39);if(!_0x4c38eb)return null;return{'name':_0x4c38eb['name'],'displayName':_0x4c38eb[_0x3e7ef0(0x243)],'type':_0x4c38eb['type'],'method':_0x4c38eb[_0x3e7ef0(0x132)],'path':_0x4c38eb['path'],'enabled':_0x4c38eb[_0x3e7ef0(0x19a)],'requestFieldCount':_0x4c38eb[_0x3e7ef0(0x202)][_0x3e7ef0(0x196)],'hasResponseSchema':_0x4c38eb['responseSchema']!==null};}['generateAllOperationsSummary'](_0x4ae840={}){const _0x3bfe55=a0_0xc10a22,_0x4e8d2e=this[_0x3bfe55(0x237)](_0x4ae840);return{'datasetName':this[_0x3bfe55(0x241)],'datasetCode':this[_0x3bfe55(0x2b6)],'tableName':this[_0x3bfe55(0x120)](),'totalOperations':_0x4e8d2e[_0x3bfe55(0x196)],'operations':_0x4e8d2e[_0x3bfe55(0x10a)](_0x2e1638=>({'name':_0x2e1638[_0x3bfe55(0x241)],'displayName':_0x2e1638['displayName'],'type':_0x2e1638[_0x3bfe55(0x165)],'method':_0x2e1638[_0x3bfe55(0x132)],'path':_0x2e1638[_0x3bfe55(0x1b2)],'requestFieldCount':_0x2e1638[_0x3bfe55(0x202)]['length']}))};}['generateSingleValueExample'](_0x2c2da2){const _0x295ba7=a0_0xc10a22,_0x1c0582={};return Object['entries'](_0x2c2da2)[_0x295ba7(0x2df)](([_0x1f315c,_0x12bd9f])=>{const _0x1aa30f=_0x295ba7;Array['isArray'](_0x12bd9f)&&_0x12bd9f[_0x1aa30f(0x196)]>0x0?_0x1c0582[_0x1f315c]=_0x12bd9f[0x0]:_0x1c0582[_0x1f315c]=_0x12bd9f;}),_0x1c0582;}[a0_0xc10a22(0x1a1)](){const _0x3712ed=a0_0xc10a22,_0x1ca9ac=this[_0x3712ed(0x115)](),_0x5723bf=_0x1ca9ac['filter'](_0x4c889f=>_0x4c889f[_0x3712ed(0x19a)]);return{'total':_0x1ca9ac[_0x3712ed(0x196)],'enabled':_0x5723bf['length'],'disabled':_0x1ca9ac[_0x3712ed(0x196)]-_0x5723bf[_0x3712ed(0x196)],'byType':this[_0x3712ed(0x25f)](_0x5723bf),'byMethod':this[_0x3712ed(0x17c)](_0x5723bf)};}[a0_0xc10a22(0x25f)](_0x3ae00a){const _0x5cfddd=a0_0xc10a22,_0x1c81bd={};return _0x3ae00a[_0x5cfddd(0x2df)](_0xb13702=>{const _0xb52c49=_0x5cfddd;_0xb13702['type']&&(_0x1c81bd[_0xb13702[_0xb52c49(0x165)]]=(_0x1c81bd[_0xb13702[_0xb52c49(0x165)]]||0x0)+0x1);}),_0x1c81bd;}[a0_0xc10a22(0x17c)](_0xbace){const _0x30da18={};return _0xbace['forEach'](_0x46a170=>{const _0x15b369=a0_0x2ad4;_0x30da18[_0x46a170[_0x15b369(0x132)]]=(_0x30da18[_0x46a170[_0x15b369(0x132)]]||0x0)+0x1;}),_0x30da18;}['supportsCRUD'](){const _0x43a443=a0_0xc10a22,_0xfb659b=this[_0x43a443(0x12e)](),_0x41ede0=new Set(_0xfb659b[_0x43a443(0x10a)](_0x3bcdcd=>_0x3bcdcd['type'])[_0x43a443(0x18d)](Boolean));return _0x41ede0[_0x43a443(0x13c)](_0x43a443(0x20d))&&_0x41ede0[_0x43a443(0x13c)]('getList')&&_0x41ede0['has'](_0x43a443(0x15a))&&_0x41ede0[_0x43a443(0x13c)]('delete');}['getMissingCRUDOperations'](){const _0x57aa46=a0_0xc10a22,_0x2b67e3=this[_0x57aa46(0x12e)](),_0x36e9bf=new Set(_0x2b67e3[_0x57aa46(0x10a)](_0x2a8eb5=>_0x2a8eb5[_0x57aa46(0x165)])['filter'](Boolean)),_0x350f9f=[_0x57aa46(0x20d),_0x57aa46(0x2b1),_0x57aa46(0x15a),_0x57aa46(0x252)];return _0x350f9f['filter'](_0x52243c=>!_0x36e9bf[_0x57aa46(0x13c)](_0x52243c));}[a0_0xc10a22(0x2dd)](_0x1daec9,_0x1161bd,_0x1d0d43){const _0x5d8faa=a0_0xc10a22,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=!![]}=_0x1d0d43||{},_0x3f5e48=this[_0x5d8faa(0x1cb)](_0x1daec9,{'useFullExample':includeRequestExample});if(!_0x3f5e48)return null;let _0x495042='';return _0x495042+=_0x5d8faa(0x102)+_0x3f5e48[_0x5d8faa(0x2cc)]['displayName']+_0x5d8faa(0x177)+_0x3f5e48[_0x5d8faa(0x2cc)][_0x5d8faa(0x241)]+_0x5d8faa(0x1fc)+_0x3f5e48[_0x5d8faa(0x2de)]['code'],includeUsageExample&&_0x3f5e48[_0x5d8faa(0x1e2)]&&(_0x495042+=_0x5d8faa(0x1ae)+_0x3f5e48[_0x5d8faa(0x1e2)]['successCode']+'\x0a\x0a'+_0x3f5e48['usageExample'][_0x5d8faa(0x261)]),_0x495042;}[a0_0xc10a22(0x274)](_0x1f13f8){const _0x9cb55c=a0_0xc10a22,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0x1f13f8||{},_0x524c3d=this['getEnabledOperationAnalyses']();return _0x524c3d[_0x9cb55c(0x10a)](_0x126a27=>this['generateFullSDKExample'](_0x126a27[_0x9cb55c(0x241)],this['datasetCode'],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x9cb55c(0x19e)]('\x0a');}['generateSDKInitCode'](_0x12cd5b,_0x544939='online',_0x12bb04=![]){const _0x3bca1d=a0_0xc10a22,_0x53ec5f=this[_0x3bca1d(0x190)](),_0x20e84e=this[_0x3bca1d(0x120)](),_0x46b5a1=this[_0x3bca1d(0x2b6)],_0x140700=_0x544939===_0x3bca1d(0x2d6)?_0x3bca1d(0x209)+_0x544939+'\x27,':'',_0x564a29=_0x12bb04?'\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,':'';return _0x3bca1d(0xf8)+_0x12cd5b+'\x27,'+_0x564a29+_0x140700+'\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20'+_0x53ec5f+_0x3bca1d(0x11c)+_0x20e84e+'\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27'+_0x46b5a1+_0x3bca1d(0x105);}['toString'](){const _0x34161d=a0_0xc10a22,_0xbd55b5=this[_0x34161d(0x1a1)]();return _0x34161d(0x144)+this['name']+',\x20'+this[_0x34161d(0x2b6)]+',\x20'+this[_0x34161d(0x2d1)]()+_0x34161d(0x17e)+_0xbd55b5[_0x34161d(0x19a)]+'/'+_0xbd55b5['total']+'\x20operations)';}}var VERSION=a0_0xc10a22(0x101);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_0x37e120=a0_0x4f3d;(function(_0xf67821,_0x5ad161){const _0x468b36=a0_0x4f3d,_0x54133d=_0xf67821();while(!![]){try{const _0x511cce=parseInt(_0x468b36(0x2df))/0x1+parseInt(_0x468b36(0x14e))/0x2*(-parseInt(_0x468b36(0x284))/0x3)+-parseInt(_0x468b36(0x2e9))/0x4+-parseInt(_0x468b36(0x2a7))/0x5*(-parseInt(_0x468b36(0x1b0))/0x6)+-parseInt(_0x468b36(0x166))/0x7+parseInt(_0x468b36(0x15e))/0x8+-parseInt(_0x468b36(0x100))/0x9;if(_0x511cce===_0x5ad161)break;else _0x54133d['push'](_0x54133d['shift']());}catch(_0x4c1e64){_0x54133d['push'](_0x54133d['shift']());}}}(a0_0x1dcb,0x353ff));function toCamelCase(_0xf4e39){const _0x28ffeb=a0_0x4f3d;if(!_0xf4e39)return'';return _0xf4e39['split'](/[_-]/)[_0x28ffeb(0x264)]((_0x1c208a,_0x4af82e)=>{const _0x58878b=_0x28ffeb;if(_0x4af82e===0x0)return _0x1c208a[_0x58878b(0x24e)]();return _0x1c208a[_0x58878b(0x231)](0x0)[_0x58878b(0x202)]()+_0x1c208a['slice'](0x1)[_0x58878b(0x24e)]();})['join']('');}function toPascalCase(_0xdd8923){const _0x37eaf0=a0_0x4f3d;if(!_0xdd8923)return'';const _0x1b7a09=toCamelCase(_0xdd8923);return _0x1b7a09['charAt'](0x0)[_0x37eaf0(0x202)]()+_0x1b7a09['slice'](0x1);}function toSnakeCase(_0x35170e){const _0x1b6d56=a0_0x4f3d;if(!_0x35170e)return'';return _0x35170e[_0x1b6d56(0x1d0)](/([A-Z])/g,_0x1b6d56(0x251))[_0x1b6d56(0x24e)]()['replace'](/^_/,'');}function toKebabCase(_0x10cc82){const _0x26819c=a0_0x4f3d;if(!_0x10cc82)return'';return _0x10cc82[_0x26819c(0x1d0)](/([A-Z])/g,_0x26819c(0x1c9))[_0x26819c(0x24e)]()[_0x26819c(0x1d0)](/^-/,'');}function normalizeFieldName(_0x54d644){const _0x1d6c97=a0_0x4f3d;if(!_0x54d644)return'';return _0x54d644['trim']()[_0x1d6c97(0x1d0)](/\s+/g,'_')[_0x1d6c97(0x1d0)](/[^a-zA-Z0-9_]/g,'_')['replace'](/_+/g,'_')['replace'](/^_|_$/g,'');}function a0_0x1dcb(){const _0x1b9324=['getRealTables','currentPage','entries','raw','isPrimaryKey','(id,\x20','({\x20currentPage,\x20pageSize\x20});','getOperation','findAll','every','示例文本','[Operation.getFieldDefinition]\x20context.fields\x20is\x20not\x20an\x20array','getConflictingItems','-$1','hasOperation','getCountByType','generateRequestAllExamples','[DrivenDataDetail.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','daily','\x20groups)','replace','orderBy','CREATE_EXPORT','SELECT','EXCEL_EXPORT','dbType','2024-12-31','getOperationOperators','isPrimaryKeyField','getOperations','isDeleted','min','\x0a\x0a//\x20Usage\x20examples:\x0a\x0a','getOperationDocMeta','operation','dblinkInfoDTO','$endWith','IMPORT_TEMPLATE','返回字段列表(字段投影)','BOOLEAN','errorMsg','getOperationFieldOperators','getSelectItemsSource','getEnumFieldMeta','getEnum','has\x20conflicts','getSystemFields','(支持单值或数组)','\x22,数据集:\x20','({\x20','\x27\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a});','dbId','dbtableConfig','getOperationAnalysesByType','操作名称','isSystem','DATE','groupByType','getEnabledOperationAnalyses','[Operation.getFieldDefinition]\x20fieldCode\x20is\x20not\x20a\x20string:','JSON','getOperationList','properties','appCode','createAll','isSystemField','$startWith','getOneUpdate','示例值','getEnabledOperations','toUpperCase','getUpdateTime','suffix','isRequired','online','getAutoIncrement','value1','modifierNameField','_operationList','[generateRequestExample]\x20Invalid\x20field:','getFieldDefinition','createExport','hasTableName','isCreateTime','hasModifierIdField','查询单个条件','GET_FILE_URL','prefix','parse','getOperationRequestFields','allFields','supportsCRUD','getOperators','sdkCall','generateDefaultFilterOperation','<p>富文本内容</p>','_fieldListWithDeleted','$in','modelId','generateFromSchema','responseSchema','$contain','keys','getFilterOperators','INTEGER','getRequestParams',':\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x27','field_name',',\x20...\x20});','isMultipleSelectField','isArray','\x20的\x20extend\x20配置失败:','BIGINT','getItems','Filter\x20API\x20-\x20高级查询接口','getFieldsWithDeleted','DatasetItem(','charAt','ensureFilterOperation','请求示例','generateFieldExample','getApplicableOperators','placeholder','getFieldList','GET_ONE_ORIGIN','`:\x20','iterator','excelExport','selectItemsSource','getAll','GET_LIST','msg','getExtendField','getSystemAnalysisResult','富文本','host','findByCode','toConfigArray','createTime','\x0a\x0a//\x20','getLatestDatasets','任务信息','DatasetGroup(','//\x20成功时\x20-\x20直接获取\x20data\x20字段内容\x0aconst\x20data\x20=\x20await\x20client.models.','primaryKey','filter','toLowerCase','generateConfigArray','getAt','_$1','UPDATE','valueLabels','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','updateTimeField','_fieldList','delete','getEnumOptions','generateSDKCallCode','children','toFieldDefinition','getModelName','toISOString','hasCreatorIdField','[DrivenDataDetail.parseFieldExtend]\x20Invalid\x20field:','getEnabledOperationInstances','getCountByMethod','pkField','getRaw','map','[Operation.parseRawRequestBody]\x20requestBody\x20is\x20not\x20a\x20string:','getCodes','getOperationStats','getSelectOptions','API路径','(id);','$gte','includeDisabled','push','parseRawRequestBody','\x20groups,\x20','trim','version','支持单值或数组','toObject','getAllFieldsArray','getDatasetDocMeta','split','tooltip','getByType','getTableKey','getOneOrigin','\x20API\x20文档','modifierIdField','name','deleted','(id,\x20data);','findById','getConflicts','\x20operations)','tableName','3oSJBgt','requestFields','getConflictStats','boolean','[Field]\x20Invalid\x20field\x20definition','SDK\x20调用','hasConflict',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','$ne','TIMESTAMP','DELETE','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','Object[]','\x0a\x20\x20env:\x20\x27','getName','usageExample','$gteq','getLatest','getCount','modelCode','modifyDate','systemRetain','hasDblinkInfo','_extend','datasetMap','toListItem','getEnumFields','hasField','GET_ONE_UPDATE','getDefaultValue','logicField','$and','完整的\x20SDK\x20调用代码','getTableName','groups','235420GdHGqH','generateExampleValue','getField','label','fromApiResponse','getRequestFields','创建导入','method','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','selectBestOperator','获取数据集列表失败:\x20','systemAnalysisResult','getFileUrl','系统自动生成','getResponseSchema','isEnum','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','isMultipleSelect','导入模板','fieldName','NUMBER','customFilter','createImport','2024-01-01','some','findByTableName','hasUpdateTimeField','items','String[]','getFieldsFilterOperatorsMap','查询列表','requestBody','labelField','value','autoIncrement','detectConflicts','getBusinessFields','generateConfig','$lteq','data','DECIMAL','getFieldOperators','generateRequestExample','getBusiness','context','tableData','[parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:',',\x20fields:\x20','hasConflicts','datasetCode','getOperationAnalyses','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','generateSingleValueExample','sort','_datasetMap','下拉选择','341921wIYbZo','useFullExample','getFieldsByType','getAllFieldsString','getEnumMeta','getVirtualTables','操作成功','getRawDbtableConfig','add','Invalid\x20API\x20response:\x20missing\x20success\x20or\x20data.tableData','1598824EXAHlc','updateTime','单值查询','_raw','getFilteredOperationAnalyses','parseRawResponseBody','path','toArray','getType','dataset_000000','1117134KPcMfa','source','generateUsageExample','toFullConfig','number','code','values','({\x20code,\x20label\x20});','getDisabled','[parseFieldExtend]\x20Invalid\x20field:','no\x20conflicts','sortOperationsWithFilterFirst','北京市朝阳区','CHECKBOX','required','获取上传脚本','getAllDatasets','STRING','get','getOperationFieldsOperatorsMap','_fields','creatorIdField','支持多个条件','generateAllOperationsSummary','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','_operationAnalyses','toString','\x20items,\x20','getMissingCRUDOperations','getIds','[DrivenDataDetail.parseFieldExtend]\x20Parsed\x20extend\x20data\x20is\x20not\x20an\x20object:','DrivenDataDetailPlus(','getRequiredFields','hasCreateTimeField','errorCode','update','displayName','isAutoIncrement','enabledOperationCount','DatasetGroupMap(','文件上传','getCreateTime','getFieldCount','getPrimaryKeyFields','getPrimaryKeys','getPath','getDeleted','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20DatasetApiResponse,\x20or\x20DatasetApiSimplifiedResponse','13800138000','https://example.com/file.pdf','systemFieldCount','taskInfo','set','from','getOperationAnalysis','获取数据集失败:\x20','query','parseFieldExtend','getDatabaseName','fields','DESC','generateFullSDKExample','keyword','empty','getTenantCode','slice','\x20fields,\x20','TEXT','字段名称','createDate','Excel导出','object','[Field.extend]\x20解析字段\x20','getOperationCountByType','getSource','getRequired','getEnabled','VARCHAR','287892QEkBCF','initDataset','RADIO','hasFilterOperation','Number','getSystem','findByName','withDeleted','join','getDisplayName','getFieldInstance','includes','isUpdateTime','解析\x20requestBody\x20失败:','forEach','generateAllOperationsFullSDKExample','1869352cEKSyb','getDatabaseVersion','getDisabledNames','getNames','array','stringify','options','\x27,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27','464611vmKsQg','operations','isEnabled','datasetKey','creatorNameField','getOne','getDatabaseType','getList','dataset_','BOOL','createTimeField','importTemplate','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','isVirtualTable','DATETIME','/filter','now','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','warn','user@example.com','0000','getMethod','toConfig','sdkCallCode','hasExtendField','generateResponseExample','getOperationCountByMethod','1.0.0-beta.8','查询单条(原始)','CREATE_IMPORT','[parseFieldExtend]\x20解析字段\x20','getAppCode','has','getEnumMetas','businessFieldCount','string','const\x20result\x20=\x20await\x20client.models.','String','isBusiness','getOperationCount','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','每页数量','create','\x0a//\x20Call\x20the\x20','getFullUrl','这是一段较长的文本内容示例','[dsparser]\x20跳过重复的表名\x20\x22','OperationList(','description','padStart','-\x20`','extend','responseBody','find','$lte','select','时间戳','type','接口名称','getStats','toJSON','GET_UPLOAD_FILE_SCRIPT','创建导出','_operations','size','Operation\x20instance\x20not\x20found:\x20','当前页码','value2','查询单条','();','success','includeDeleted','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','DrivenDataDetail(','48MBfUmc','getFieldListWithDeleted','pageSize','multiple','total','getUploadFileScript','enabled','repeat','getFilterOperation','hasLogicField','length','$eq'];a0_0x1dcb=function(){return _0x1b9324;};return a0_0x1dcb();}function getTableName(_0x51a155){const _0x155d55=a0_0x4f3d;if(!_0x51a155)return _0x155d55(0xff);if(_0x51a155[_0x155d55(0x1f0)]?.[_0x155d55(0x283)])return _0x51a155['dbtableConfig'][_0x155d55(0x283)];const _0x1dee7b=_0x51a155['datasetCode']||_0x51a155['code']||_0x51a155[_0x155d55(0x297)];if(_0x1dee7b)return generateTableNameFromCode(_0x1dee7b);return _0x155d55(0xff);}function getTableKey(_0x38157b){if(typeof _0x38157b==='string')return toCamelCase(_0x38157b);const _0x49cc8a=getTableName(_0x38157b);return toCamelCase(_0x49cc8a);}function generateTableNameFromCode(_0x870c8c){const _0x51beb5=a0_0x4f3d;if(!_0x870c8c)return'dataset_000000';const _0x43fe4b=_0x870c8c[_0x51beb5(0x141)](-0x6)[_0x51beb5(0x197)](0x6,'0');return _0x51beb5(0x16e)+_0x43fe4b;}function isVirtualTableName(_0x526f89){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x526f89);}function generateDatasetsConfig(_0xcfb9ee,_0x2e4f7a={}){const _0x3a5d3c=a0_0x4f3d,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x21ef2f,filter:_0x503e4c}=_0x2e4f7a,_0x494e27={},_0x299e5a=new Set();for(const _0x3ed65b of _0xcfb9ee){if(_0x503e4c&&!_0x503e4c(_0x3ed65b))continue;const _0x270bc2=getTableName(_0x3ed65b);if(enableDeduplication&&_0x299e5a['has'](_0x270bc2)){console[_0x3a5d3c(0x178)](_0x3a5d3c(0x194)+_0x270bc2+_0x3a5d3c(0x1ec)+_0x3ed65b['name']+'\x20('+_0x3ed65b[_0x3a5d3c(0x2d8)]+')');continue;}_0x299e5a[_0x3a5d3c(0x2e7)](_0x270bc2);const _0x54bb1c=_0x21ef2f?_0x21ef2f(_0x270bc2,_0x3ed65b):getTableKey(_0x270bc2);_0x494e27[_0x54bb1c]={'key':_0x54bb1c,'tableName':_0x270bc2,'datasetCode':_0x3ed65b[_0x3a5d3c(0x2d8)],'name':_0x3ed65b[_0x3a5d3c(0x27d)],'id':_0x3ed65b['id']};}return _0x494e27;}function generateFullDatasetsConfig(_0x1de9aa,_0x45f496={}){const _0x4b771e=a0_0x4f3d,{filter:_0x50196f,datasetNameGenerator:_0x354393}=_0x45f496,_0x311057=_0x50196f?_0x1de9aa['filter'](_0x50196f):_0x1de9aa,_0x512913=groupByTableName(_0x311057),_0x32b221={};for(const [_0x2aeb58,_0x3d5092]of Object[_0x4b771e(0x1be)](_0x512913)){if(_0x3d5092['length']===0x1){const _0x140760=_0x3d5092[0x0],_0x5cc89e=_0x354393?_0x354393(_0x2aeb58,_0x140760):getTableKey(_0x2aeb58);_0x32b221[_0x5cc89e]={'key':_0x5cc89e,'tableName':_0x2aeb58,'datasetCode':_0x140760[_0x4b771e(0x2d8)],'name':_0x140760[_0x4b771e(0x27d)],'id':_0x140760['id']};}else{const _0x5a2f65=[..._0x3d5092][_0x4b771e(0x2dc)]((_0x49a72d,_0x37ef6a)=>{const _0x5b3720=Number(_0x49a72d['id'])||0x0,_0x195ec3=Number(_0x37ef6a['id'])||0x0;return _0x195ec3-_0x5b3720;});_0x5a2f65[_0x4b771e(0x15c)]((_0x1a7899,_0x3c37cf)=>{const _0x177593=_0x4b771e,_0x45fb32=_0x354393?_0x354393(_0x2aeb58,_0x1a7899):getTableKey(_0x2aeb58),_0x13a326=_0x3c37cf===0x0?_0x45fb32:_0x45fb32+'_'+_0x3c37cf;_0x32b221[_0x13a326]={'key':_0x13a326,'tableName':_0x2aeb58,'datasetCode':_0x1a7899[_0x177593(0x2d8)],'name':_0x1a7899[_0x177593(0x27d)],'id':_0x1a7899['id']};});}}return _0x32b221;}function a0_0x4f3d(_0xf0721f,_0xbab99f){const _0x1dcb08=a0_0x1dcb();return a0_0x4f3d=function(_0x4f3d5c,_0x339060){_0x4f3d5c=_0x4f3d5c-0xfb;let _0x22ebdb=_0x1dcb08[_0x4f3d5c];return _0x22ebdb;},a0_0x4f3d(_0xf0721f,_0xbab99f);}function detectTableNameConflicts(_0x41c2db){const _0x382a5b=a0_0x4f3d,_0x4a4077={};for(const _0x15828c of _0x41c2db){const _0xa3cf10=getTableName(_0x15828c);!_0x4a4077[_0xa3cf10]&&(_0x4a4077[_0xa3cf10]=[]),_0x4a4077[_0xa3cf10][_0x382a5b(0x26d)](_0x15828c);}const _0x22c3b6={};for(const [_0x473ffb,_0x1452af]of Object[_0x382a5b(0x1be)](_0x4a4077)){_0x1452af['length']>0x1&&(_0x22c3b6[_0x473ffb]=_0x1452af);}return{'hasConflicts':Object[_0x382a5b(0x222)](_0x22c3b6)[_0x382a5b(0x1ba)]>0x0,'conflicts':_0x22c3b6};}function createDatasetNameMap(_0x38c157){const _0x3aebba=a0_0x4f3d,_0x1a04fc={};for(const [_0x1e06d4,_0x1115a6]of Object[_0x3aebba(0x1be)](_0x38c157)){_0x1a04fc[_0x1e06d4]=_0x1115a6[_0x3aebba(0x2d8)]||'';}return _0x1a04fc;}function groupByTableName(_0xf8b674){const _0x1cc67c=a0_0x4f3d,_0x4dbac6={};for(const _0x137563 of _0xf8b674){const _0x409501=getTableName(_0x137563);!_0x4dbac6[_0x409501]&&(_0x4dbac6[_0x409501]=[]),_0x4dbac6[_0x409501][_0x1cc67c(0x26d)](_0x137563);}return _0x4dbac6;}function datasetsConfigToArray(_0x8249e7){const _0x3454ab=a0_0x4f3d;return Object[_0x3454ab(0x106)](_0x8249e7);}function adaptDrivenDataDetail(_0xa4392){const _0x43336a=a0_0x4f3d;return{'id':_0xa4392[_0x43336a(0x21e)],'name':_0xa4392[_0x43336a(0x27d)],'datasetCode':_0xa4392[_0x43336a(0x297)],'dbtableConfig':_0xa4392['dbtableConfig'],'source':_0xa4392[_0x43336a(0x101)],'version':_0xa4392['version'],'extend':_0xa4392[_0x43336a(0x199)],'properties':_0xa4392[_0x43336a(0x1fa)],'operations':_0xa4392[_0x43336a(0x167)]};}function adaptDrivenDataDetails(_0x30d5fd){const _0x410fcc=a0_0x4f3d;return _0x30d5fd[_0x410fcc(0x264)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x3c6a1e){const _0x463669=a0_0x4f3d;if(!_0x3c6a1e[_0x463669(0x1ac)]||!_0x3c6a1e[_0x463669(0x2ce)])throw new Error(_0x463669(0x137)+(_0x3c6a1e[_0x463669(0x1e4)]||_0x3c6a1e[_0x463669(0x23f)]));return adaptDrivenDataDetail(_0x3c6a1e[_0x463669(0x2ce)]);}function extractDatasetsFromListResponse(_0x55f952){const _0x5edba1=a0_0x4f3d;if(!_0x55f952['success']||!_0x55f952[_0x5edba1(0x2ce)]?.[_0x5edba1(0x2d4)])throw new Error(_0x5edba1(0x2b1)+(_0x55f952[_0x5edba1(0x1e4)]||_0x55f952[_0x5edba1(0x23f)]));return _0x55f952[_0x5edba1(0x2ce)][_0x5edba1(0x2d4)]['map'](_0x5f386e=>({..._0x5f386e,'datasetCode':_0x5f386e[_0x5edba1(0x105)]||_0x5f386e[_0x5edba1(0x2d8)]}));}function isDrivenDataDetail(_0x34468a){const _0x46bc10=a0_0x4f3d;return Boolean(_0x34468a&&typeof _0x34468a[_0x46bc10(0x297)]==='string');}function smartAdapt(_0x5e03ae){const _0x1acf31=a0_0x4f3d;if(isDrivenDataDetail(_0x5e03ae))return adaptDrivenDataDetail(_0x5e03ae);if(_0x5e03ae['datasetCode'])return _0x5e03ae;if(_0x5e03ae[_0x1acf31(0x105)])return{..._0x5e03ae,'datasetCode':_0x5e03ae[_0x1acf31(0x105)]};return _0x5e03ae;}var DatasetOperationType;(_0x3bd0ab=>{const _0x5341f1=a0_0x4f3d;_0x3bd0ab[_0x5341f1(0x23e)]=_0x5341f1(0x16d),_0x3bd0ab['GET_ONE']='getOne',_0x3bd0ab[_0x5341f1(0x238)]=_0x5341f1(0x27a),_0x3bd0ab[_0x5341f1(0x2a0)]=_0x5341f1(0x1ff),_0x3bd0ab['CREATE']=_0x5341f1(0x190),_0x3bd0ab[_0x5341f1(0x252)]=_0x5341f1(0x123),_0x3bd0ab[_0x5341f1(0x28e)]=_0x5341f1(0x257),_0x3bd0ab['GET_SELECT_OPTIONS']=_0x5341f1(0x268),_0x3bd0ab[_0x5341f1(0x212)]='getFileUrl',_0x3bd0ab[_0x5341f1(0x1d4)]=_0x5341f1(0x23b),_0x3bd0ab[_0x5341f1(0x1a3)]=_0x5341f1(0x1b5),_0x3bd0ab[_0x5341f1(0x183)]='createImport',_0x3bd0ab[_0x5341f1(0x1d2)]=_0x5341f1(0x20d),_0x3bd0ab['TASK_INFO']=_0x5341f1(0x133),_0x3bd0ab[_0x5341f1(0x1e1)]=_0x5341f1(0x171);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={['getList']:a0_0x37e120(0x2c5),[a0_0x37e120(0x16b)]:a0_0x37e120(0x1aa),[a0_0x37e120(0x27a)]:a0_0x37e120(0x182),[a0_0x37e120(0x1ff)]:'查询单条(用于更新)',[a0_0x37e120(0x190)]:'创建',[a0_0x37e120(0x123)]:'更新',[a0_0x37e120(0x257)]:'删除',[a0_0x37e120(0x268)]:'获取下拉选项',['getFileUrl']:'获取文件URL',['excelExport']:a0_0x37e120(0x146),[a0_0x37e120(0x1b5)]:a0_0x37e120(0x10f),[a0_0x37e120(0x2bd)]:a0_0x37e120(0x2ad),['createExport']:a0_0x37e120(0x1a4),['taskInfo']:a0_0x37e120(0x249),['importTemplate']:a0_0x37e120(0x2b9)},API_BLACKLIST=['getOneOrigin',a0_0x37e120(0x1ff),a0_0x37e120(0x2b3)];function parseFieldExtend(_0x25aec5){const _0x21b40f=a0_0x37e120;if(!_0x25aec5||typeof _0x25aec5!=='object')return!![]&&console['warn'](_0x21b40f(0x109),_0x25aec5),{};if(!_0x25aec5[_0x21b40f(0x199)])return{};try{const _0x3d83d4=typeof _0x25aec5[_0x21b40f(0x199)]===_0x21b40f(0x189)?JSON['parse'](_0x25aec5[_0x21b40f(0x199)]):_0x25aec5[_0x21b40f(0x199)];if(typeof _0x3d83d4!==_0x21b40f(0x147)||_0x3d83d4===null)return!![]&&console['warn'](_0x21b40f(0x2d5),_0x3d83d4),{};return _0x3d83d4;}catch(_0x5ba3f6){return!![]&&console[_0x21b40f(0x178)](_0x21b40f(0x184)+_0x25aec5['code']+_0x21b40f(0x22b),_0x5ba3f6),{};}}function isPrimaryKeyField(_0x5e57e9,_0x3050d9){const _0x2c0ed8=a0_0x37e120;if(!_0x5e57e9||typeof _0x5e57e9!==_0x2c0ed8(0x147))return![];if(typeof _0x3050d9==='string'&&_0x5e57e9['code']===_0x3050d9)return!![];const _0x487f19=parseFieldExtend(_0x5e57e9);return Boolean(_0x487f19[_0x2c0ed8(0x24c)]||_0x487f19['pkField']);}function isSystemField(_0x44f6ce){const _0x206e3e=a0_0x37e120,_0x4f30ab=parseFieldExtend(_0x44f6ce);return Boolean(_0x4f30ab[_0x206e3e(0x299)]);}function isRequiredField(_0x3840ce){const _0xcd32fd=a0_0x37e120,_0x2a4671=parseFieldExtend(_0x3840ce);return Boolean(_0x2a4671[_0xcd32fd(0x10e)]);}function isAutoIncrementField(_0x4fa762){const _0x4051ee=a0_0x37e120,_0x47f589=parseFieldExtend(_0x4fa762);return Boolean(_0x47f589[_0x4051ee(0x2c9)]);}function isCreateTimeField(_0x4d5887){const _0x57b502=parseFieldExtend(_0x4d5887);return Boolean(_0x57b502['createDate']);}function isModifyTimeField(_0xc8de8e){const _0x2d6323=a0_0x37e120,_0x19ca10=parseFieldExtend(_0xc8de8e);return Boolean(_0x19ca10[_0x2d6323(0x298)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':'长文本','DATE':'日期','DATETIME':'日期时间','TIMESTAMP':a0_0x37e120(0x19e),'SELECT':a0_0x37e120(0x2de),'CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0x37e120(0x128),'IMAGE':'图片','RICH_TEXT':a0_0x37e120(0x242),'JSON':a0_0x37e120(0x1f8),'ARRAY':'数组'};function getDbTypeDisplay(_0xb93bc6){const _0x3640ad=a0_0x37e120;if(typeof _0xb93bc6!=='string')return!![]&&console[_0x3640ad(0x178)](_0x3640ad(0x254),_0xb93bc6),String(_0xb93bc6||'-');return DB_TYPE_DISPLAY_MAP[_0xb93bc6]||_0xb93bc6;}function formatDbType(_0x7439e1,_0x51a0e7){const _0x357009=a0_0x37e120;if(!_0x7439e1||typeof _0x7439e1!==_0x357009(0x189))return'-';if(!_0x51a0e7||typeof _0x51a0e7!==_0x357009(0x104))return _0x7439e1;const _0x4d6a1e=['TEXT',_0x357009(0x174),_0x357009(0x28d),_0x357009(0x1f4)];if(_0x4d6a1e[_0x357009(0x159)](_0x7439e1['toUpperCase']()))return _0x7439e1;return _0x7439e1+'('+_0x51a0e7+')';}function parseOperationType(_0x44fce1){const _0x2ed9de=a0_0x37e120;if(typeof _0x44fce1!==_0x2ed9de(0x189)){!![]&&console[_0x2ed9de(0x178)]('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x44fce1);return;}if(Object['values'](DatasetOperationType)[_0x2ed9de(0x159)](_0x44fce1))return _0x44fce1;const _0x3ec73e=Object[_0x2ed9de(0x1be)](OPERATION_TYPE_DISPLAY_NAME)[_0x2ed9de(0x19b)](([_0x45a95b,_0x39f115])=>_0x39f115===_0x44fce1);return _0x3ec73e?_0x3ec73e[0x0]:undefined;}function shouldIncludeField(_0x412cd8,_0x283fa9,_0x322859){const _0x395523=a0_0x37e120,_0x1fdcea=parseFieldExtend(_0x412cd8),_0x430399=isPrimaryKeyField(_0x412cd8,_0x322859),_0x2b5ea4=Boolean(_0x1fdcea['systemRetain']),_0x3afcd1=Boolean(_0x1fdcea[_0x395523(0x2c9)]),_0x27be9c=Boolean(_0x1fdcea[_0x395523(0x145)]),_0x59967f=Boolean(_0x1fdcea[_0x395523(0x298)]);switch(_0x283fa9){case'getList':return!![];case _0x395523(0x16b):case'getOneOrigin':case _0x395523(0x257):return _0x430399;case'create':if(_0x430399&&_0x3afcd1)return![];if(_0x2b5ea4)return![];if(_0x27be9c||_0x59967f)return![];return!![];case _0x395523(0x123):case _0x395523(0x1ff):if(_0x430399)return!![];if(_0x2b5ea4)return![];if(_0x27be9c||_0x59967f)return![];return!![];case _0x395523(0x268):return _0x412cd8[_0x395523(0x105)]===_0x395523(0x105);default:return!![];}}function getFieldsForOperation(_0x5052c2,_0x24e284,_0x298678){const _0x415a1d=a0_0x37e120;if(!Array[_0x415a1d(0x22a)](_0x5052c2))return!![]&&console[_0x415a1d(0x178)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x5052c2),[];return _0x5052c2[_0x415a1d(0x24d)](_0x372db1=>shouldIncludeField(_0x372db1,_0x24e284,_0x298678));}function isApiBlacklisted(_0xc1bb5d){const _0x1a447e=a0_0x37e120;if(typeof _0xc1bb5d!=='string')return!![]&&console[_0x1a447e(0x178)](_0x1a447e(0x2b7),_0xc1bb5d),![];return API_BLACKLIST[_0x1a447e(0x159)](_0xc1bb5d);}function filterApiOperations(_0x29707e){const _0x26406e=a0_0x37e120;if(!Array[_0x26406e(0x22a)](_0x29707e))return!![]&&console[_0x26406e(0x178)]('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x29707e),[];return _0x29707e[_0x26406e(0x24d)](_0x5c1b06=>_0x5c1b06&&typeof _0x5c1b06===_0x26406e(0x147)&&!isApiBlacklisted(_0x5c1b06[_0x26406e(0x27d)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x37e120(0x176)](),'DATE':()=>Date[a0_0x37e120(0x176)](),'SELECT':({fieldInfo:_0x173d46})=>{const _0x5288c6=a0_0x37e120;if(_0x173d46?.['options']&&Array[_0x5288c6(0x22a)](_0x173d46[_0x5288c6(0x164)])&&_0x173d46[_0x5288c6(0x164)][_0x5288c6(0x1ba)]>0x0)return _0x173d46['options'][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x3d752b})=>{const _0x1ea92d=a0_0x37e120;if(_0x3d752b===_0x1ea92d(0x1bd))return 0x1;if(_0x3d752b==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x51bb7f})=>{const _0x25ef81=a0_0x37e120;if(_0x51bb7f&&typeof _0x51bb7f===_0x25ef81(0x189)){const _0x53f80e=_0x51bb7f[_0x25ef81(0x24e)]();if(_0x53f80e[_0x25ef81(0x159)]('邮箱')||_0x53f80e[_0x25ef81(0x159)]('email'))return _0x25ef81(0x179);if(_0x53f80e[_0x25ef81(0x159)]('电话')||_0x53f80e[_0x25ef81(0x159)]('手机')||_0x53f80e[_0x25ef81(0x159)]('phone'))return _0x25ef81(0x130);if(_0x53f80e[_0x25ef81(0x159)]('地址')||_0x53f80e[_0x25ef81(0x159)]('address'))return _0x25ef81(0x10c);if(_0x53f80e[_0x25ef81(0x159)]('姓名')||_0x53f80e[_0x25ef81(0x159)](_0x25ef81(0x27d)))return'张三';}return _0x25ef81(0x1c6);},'VARCHAR':({description:_0xe2055a})=>TYPE_VALUE_GENERATORS[a0_0x37e120(0x143)]({'description':_0xe2055a}),'CHAR':({description:_0x136423})=>TYPE_VALUE_GENERATORS[a0_0x37e120(0x143)]({'description':_0x136423}),'STRING':({fieldInfo:_0x4e0688,description:_0x1718dd})=>{const _0x1d239c=a0_0x37e120;if(_0x4e0688?.[_0x1d239c(0x236)]&&typeof _0x4e0688[_0x1d239c(0x236)]==='string'&&_0x4e0688['placeholder']!==_0x1d239c(0x2b4))return _0x4e0688[_0x1d239c(0x236)]['replace'](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x1d239c(0x143)]({'description':_0x1718dd});},'TEXTAREA':()=>a0_0x37e120(0x193),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>['item1','item2'],'UPLOAD':()=>a0_0x37e120(0x131),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0x37e120(0x21b)};function generateExampleValue(_0x32d5c9,_0x4e8c12,_0x175c7d,_0x4d93fb={}){const _0x23ea67=a0_0x37e120;typeof _0x32d5c9!=='string'&&(!![]&&console[_0x23ea67(0x178)](_0x23ea67(0x18e),_0x32d5c9),_0x32d5c9=String(_0x32d5c9||''));if(typeof _0x4e8c12!=='string')return!![]&&console['warn']('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x4e8c12),_0x23ea67(0x200);const {isPrimaryKey:_0x3b1b51,dbtableConfig:_0x31bd62}=_0x4d93fb;if(_0x3b1b51)return 0x1;if(_0x31bd62&&typeof _0x31bd62==='object'){const _0x4ba076=_0x31bd62[_0x23ea67(0x170)]?.[_0x23ea67(0x2ba)]===_0x32d5c9,_0x4ba297=_0x31bd62['updateTimeField']?.[_0x23ea67(0x2ba)]===_0x32d5c9;if(_0x4ba076||_0x4ba297){if(_0x175c7d&&typeof _0x175c7d===_0x23ea67(0x189)&&_0x175c7d[_0x23ea67(0x202)]()[_0x23ea67(0x159)](_0x23ea67(0x28d)))return Date['now']();return new Date()[_0x23ea67(0x25d)]()[_0x23ea67(0x1d0)]('T','\x20')[_0x23ea67(0x276)]('.')[0x0];}}const _0x5e16b1={..._0x4d93fb,'fieldCode':_0x32d5c9};if(_0x175c7d&&typeof _0x175c7d===_0x23ea67(0x189)){const _0x28b4a4=_0x175c7d[_0x23ea67(0x202)](),_0x28d29f=TYPE_VALUE_GENERATORS[_0x28b4a4];if(_0x28d29f)return _0x28d29f(_0x5e16b1);}if(_0x4e8c12&&typeof _0x4e8c12===_0x23ea67(0x189)){const _0xd49066=_0x4e8c12[_0x23ea67(0x202)](),_0xa6290d=TYPE_VALUE_GENERATORS[_0xd49066];if(_0xa6290d)return _0xa6290d(_0x5e16b1);}return _0x23ea67(0x200);}function generateExampleFromSchema(_0x132311,_0x156268){const _0x44efed=a0_0x37e120;if(!_0x132311||typeof _0x132311!==_0x44efed(0x147))return{};if(Array[_0x44efed(0x22a)](_0x132311)){if(_0x132311[_0x44efed(0x1ba)]>0x0)return[generateExampleFromSchema(_0x132311[0x0],_0x156268)];return[];}const _0x9c4dbb={};return Object['keys'](_0x132311)[_0x44efed(0x15c)](_0x4a2ef7=>{const _0x14bb7a=_0x44efed,_0x24c0eb=_0x132311[_0x4a2ef7];if(_0x24c0eb&&typeof _0x24c0eb==='object'&&!Array[_0x14bb7a(0x22a)](_0x24c0eb)&&_0x24c0eb['type']){const _0x507fda=_0x24c0eb,_0x1cf510=_0x507fda[_0x14bb7a(0x19f)],_0x48a449=_0x507fda[_0x14bb7a(0x196)];typeof _0x1cf510===_0x14bb7a(0x189)?_0x9c4dbb[_0x4a2ef7]=generateExampleValue(_0x4a2ef7,_0x1cf510,undefined,{'description':_0x48a449,'dbtableConfig':_0x156268}):_0x9c4dbb[_0x4a2ef7]=_0x14bb7a(0x200);}else{if(Array['isArray'](_0x24c0eb))_0x9c4dbb[_0x4a2ef7]=_0x24c0eb[_0x14bb7a(0x1ba)]>0x0?[generateExampleFromSchema(_0x24c0eb[0x0],_0x156268)]:[];else _0x24c0eb&&typeof _0x24c0eb===_0x14bb7a(0x147)?_0x9c4dbb[_0x4a2ef7]=generateExampleFromSchema(_0x24c0eb,_0x156268):_0x9c4dbb[_0x4a2ef7]=_0x24c0eb;}}),_0x9c4dbb;}function parseRequestBody(_0xd7ee02){const _0x22f4a1=a0_0x37e120;if(!_0xd7ee02)return{};try{return JSON[_0x22f4a1(0x214)](_0xd7ee02);}catch(_0x503d15){return!![]&&console[_0x22f4a1(0x178)](_0x22f4a1(0x15b),_0x503d15),{};}}function parseResponseBody(_0x4069dd){const _0x53556b=a0_0x37e120;if(!_0x4069dd)return null;try{const _0x208821=JSON['parse'](_0x4069dd);return _0x208821['200']||_0x208821;}catch(_0x59c209){return!![]&&console[_0x53556b(0x178)]('解析\x20responseBody\x20失败:',_0x59c209),null;}}function generateRequestExample(_0x2e864c,_0x5a5137,_0x53ca6e,_0x3c1187){const _0x1ac08e=a0_0x37e120,_0x3ad472={};if(!Array[_0x1ac08e(0x22a)](_0x2e864c))return!![]&&console[_0x1ac08e(0x178)](_0x1ac08e(0x118),_0x2e864c),_0x3ad472;return _0x2e864c[_0x1ac08e(0x15c)](_0x5cafb9=>{const _0x435c06=_0x1ac08e;if(!_0x5cafb9||typeof _0x5cafb9!=='object'){!![]&&console[_0x435c06(0x178)](_0x435c06(0x20b),_0x5cafb9);return;}if(typeof _0x5cafb9[_0x435c06(0x105)]!==_0x435c06(0x189)||typeof _0x5cafb9[_0x435c06(0x19f)]!==_0x435c06(0x189)){!![]&&console['warn'](_0x435c06(0x1ae),_0x5cafb9);return;}const _0x15f5da=parseFieldExtend(_0x5cafb9),_0x1b3849=_0x5cafb9['code']===_0x53ca6e||Boolean(_0x15f5da?.[_0x435c06(0x24c)]),_0x390664=generateExampleValue(_0x5cafb9['code'],_0x5cafb9[_0x435c06(0x19f)],typeof _0x5cafb9[_0x435c06(0x1d5)]==='string'?_0x5cafb9[_0x435c06(0x1d5)]:undefined,{'fieldInfo':_0x15f5da,'isPrimaryKey':_0x1b3849,'description':_0x5cafb9[_0x435c06(0x196)]||_0x5cafb9[_0x435c06(0x27d)],'dbtableConfig':_0x3c1187});_0x3ad472[_0x5cafb9[_0x435c06(0x105)]]=_0x390664;}),_0x5a5137==='getList'&&(_0x3ad472[_0x1ac08e(0x1bd)]=0x1,_0x3ad472[_0x1ac08e(0x1b2)]=0xa),_0x3ad472;}function formatEnumValue(_0x29f4b6,_0xa0c291){const _0x2061ff=a0_0x37e120;if(_0x29f4b6[_0x2061ff(0x1b3)]&&Array['isArray'](_0xa0c291))return _0xa0c291[_0x2061ff(0x264)](_0x19ec35=>_0x29f4b6[_0x2061ff(0x253)][String(_0x19ec35)]||String(_0x19ec35))[_0x2061ff(0x156)](',\x20');return _0x29f4b6[_0x2061ff(0x253)][String(_0xa0c291)]||String(_0xa0c291);}function formatOptionsForDoc(_0x18bc5f){const _0x1ca4fd=a0_0x37e120;return _0x18bc5f[_0x1ca4fd(0x264)](_0x19bba8=>_0x19bba8[_0x1ca4fd(0x2c8)]+'('+_0x19bba8[_0x1ca4fd(0x2aa)]+')')[_0x1ca4fd(0x156)](',\x20');}function formatOptionsAsMarkdownList(_0x5d02f3,_0x4f1456=0x0){const _0x1bbe3e=a0_0x37e120,_0x26a548='\x20\x20'[_0x1bbe3e(0x1b7)](_0x4f1456),_0x3cf9f4=[];return _0x5d02f3[_0x1bbe3e(0x15c)](_0x1b1118=>{const _0x2413fb=_0x1bbe3e;_0x3cf9f4[_0x2413fb(0x26d)](_0x26a548+_0x2413fb(0x198)+_0x1b1118[_0x2413fb(0x2c8)]+_0x2413fb(0x239)+_0x1b1118['label']),_0x1b1118[_0x2413fb(0x25a)]&&_0x1b1118['children'][_0x2413fb(0x1ba)]>0x0&&_0x3cf9f4[_0x2413fb(0x26d)](formatOptionsAsMarkdownList(_0x1b1118[_0x2413fb(0x25a)],_0x4f1456+0x1));}),_0x3cf9f4[_0x1bbe3e(0x156)]('\x0a');}class DbtableConfig{['_raw'];constructor(_0x402d0b){const _0x52c7d4=a0_0x37e120;this[_0x52c7d4(0x2ec)]={..._0x402d0b};}get[a0_0x37e120(0x1ef)](){const _0x22fe6e=a0_0x37e120;return this[_0x22fe6e(0x2ec)][_0x22fe6e(0x1ef)];}get[a0_0x37e120(0x283)](){const _0x1d83d7=a0_0x37e120;return this[_0x1d83d7(0x2ec)]['tableName'];}get[a0_0x37e120(0x169)](){const _0x1b6a56=a0_0x37e120;return this[_0x1b6a56(0x2ec)][_0x1b6a56(0x169)];}get[a0_0x37e120(0x262)](){const _0x1bc1e7=a0_0x37e120;return this[_0x1bc1e7(0x2ec)]['pkField'];}get[a0_0x37e120(0x2c7)](){const _0xa17823=a0_0x37e120;return this['_raw'][_0xa17823(0x2c7)];}get[a0_0x37e120(0x2a2)](){const _0xc09128=a0_0x37e120;return this['_raw'][_0xc09128(0x2a2)];}get['createTimeField'](){const _0x30576a=a0_0x37e120;return this[_0x30576a(0x2ec)][_0x30576a(0x170)];}get[a0_0x37e120(0x255)](){const _0x5bb294=a0_0x37e120;return this[_0x5bb294(0x2ec)]['updateTimeField'];}get[a0_0x37e120(0x115)](){const _0x515c8d=a0_0x37e120;return this[_0x515c8d(0x2ec)][_0x515c8d(0x115)];}get['creatorNameField'](){const _0x57ee73=a0_0x37e120;return this['_raw'][_0x57ee73(0x16a)];}get[a0_0x37e120(0x27c)](){const _0x566c08=a0_0x37e120;return this[_0x566c08(0x2ec)][_0x566c08(0x27c)];}get[a0_0x37e120(0x209)](){const _0x30dc25=a0_0x37e120;return this[_0x30dc25(0x2ec)][_0x30dc25(0x209)];}get[a0_0x37e120(0x1df)](){const _0x45dcec=a0_0x37e120;return this[_0x45dcec(0x2ec)][_0x45dcec(0x1df)];}[a0_0x37e120(0x274)](){const _0x3326c4=a0_0x37e120;if(!this['_raw']['allFields'])return[];return this[_0x3326c4(0x2ec)][_0x3326c4(0x216)]['split'](',')['map'](_0x29a84d=>_0x29a84d[_0x3326c4(0x270)]())['filter'](Boolean);}[a0_0x37e120(0x2e2)](){const _0x1fb910=a0_0x37e120;return this[_0x1fb910(0x2ec)][_0x1fb910(0x216)];}[a0_0x37e120(0x29f)](_0x502bde){const _0x163126=a0_0x37e120;return this[_0x163126(0x274)]()[_0x163126(0x159)](_0x502bde);}['hasTableName'](){const _0x54e351=a0_0x37e120;return Boolean(this[_0x54e351(0x2ec)][_0x54e351(0x283)]);}[a0_0x37e120(0x29a)](){return Boolean(this['_raw']['dblinkInfoDTO']);}[a0_0x37e120(0x1b9)](){const _0x516e61=a0_0x37e120;return Boolean(this[_0x516e61(0x2ec)]['logicField']?.['fieldName']);}[a0_0x37e120(0x121)](){return Boolean(this['_raw']['createTimeField']?.['fieldName']);}[a0_0x37e120(0x2c1)](){const _0x523e94=a0_0x37e120;return Boolean(this['_raw'][_0x523e94(0x255)]?.[_0x523e94(0x2ba)]);}[a0_0x37e120(0x25e)](){const _0x271dc0=a0_0x37e120;return Boolean(this[_0x271dc0(0x2ec)][_0x271dc0(0x115)]?.['fieldName']);}[a0_0x37e120(0x210)](){const _0x27ff2f=a0_0x37e120;return Boolean(this[_0x27ff2f(0x2ec)]['modifierIdField']?.[_0x27ff2f(0x2ba)]);}['isPrimaryKeyField'](_0x3fc196){const _0x47667a=a0_0x37e120;return this[_0x47667a(0x2ec)]['pkField']===_0x3fc196;}[a0_0x37e120(0x1fd)](_0x5d09c9){const _0x10d296=a0_0x37e120;return this['isPrimaryKeyField'](_0x5d09c9)||this[_0x10d296(0x2ec)][_0x10d296(0x2a2)]?.['fieldName']===_0x5d09c9||this[_0x10d296(0x2ec)][_0x10d296(0x170)]?.[_0x10d296(0x2ba)]===_0x5d09c9||this[_0x10d296(0x2ec)][_0x10d296(0x255)]?.['fieldName']===_0x5d09c9||this[_0x10d296(0x2ec)]['creatorIdField']?.[_0x10d296(0x2ba)]===_0x5d09c9||this[_0x10d296(0x2ec)][_0x10d296(0x16a)]?.[_0x10d296(0x2ba)]===_0x5d09c9||this[_0x10d296(0x2ec)][_0x10d296(0x27c)]?.['fieldName']===_0x5d09c9||this[_0x10d296(0x2ec)][_0x10d296(0x209)]?.['fieldName']===_0x5d09c9;}[a0_0x37e120(0x13a)](){const _0x16b501=a0_0x37e120;return this[_0x16b501(0x2ec)][_0x16b501(0x1df)]?.['dbName'];}[a0_0x37e120(0x16c)](){const _0x4775ba=a0_0x37e120;return this[_0x4775ba(0x2ec)][_0x4775ba(0x1df)]?.[_0x4775ba(0x1d5)];}[a0_0x37e120(0x15f)](){const _0x3d2d70=a0_0x37e120;return this[_0x3d2d70(0x2ec)][_0x3d2d70(0x1df)]?.['dbVersion'];}[a0_0x37e120(0x140)](){const _0x2b9cfa=a0_0x37e120;return this['_raw'][_0x2b9cfa(0x1df)]?.['tenantCode'];}[a0_0x37e120(0x185)](){const _0x3085e8=a0_0x37e120;return this[_0x3085e8(0x2ec)][_0x3085e8(0x1df)]?.[_0x3085e8(0x1fb)];}[a0_0x37e120(0x241)](){const _0xb63217=a0_0x37e120;return this['_raw'][_0xb63217(0x1df)]?.[_0xb63217(0x2b2)];}[a0_0x37e120(0x1a1)](){const _0x478585=a0_0x37e120;return{'hasTableName':this[_0x478585(0x20e)](),'hasDblinkInfo':this[_0x478585(0x29a)](),'fieldCount':this[_0x478585(0x274)]()['length'],'systemFields':{'hasLogicField':this[_0x478585(0x1b9)](),'hasCreateTimeField':this['hasCreateTimeField'](),'hasUpdateTimeField':this[_0x478585(0x2c1)](),'hasCreatorIdField':this[_0x478585(0x25e)](),'hasModifierIdField':this[_0x478585(0x210)]()}};}[a0_0x37e120(0x17c)](){const _0x3bb907=a0_0x37e120;return{'tableName':this[_0x3bb907(0x283)],'pkField':this[_0x3bb907(0x262)],'datasetKey':this['datasetKey'],'dbId':this[_0x3bb907(0x1ef)]};}[a0_0x37e120(0x1a2)](){const _0x133fb8=a0_0x37e120;return{...this[_0x133fb8(0x2ec)]};}['getRaw'](){const _0x1b7e6d=a0_0x37e120;return{...this[_0x1b7e6d(0x2ec)]};}['toString'](){const _0x349e23=a0_0x37e120,_0x365d0e=this[_0x349e23(0x283)]||'N/A',_0x3e597a=this[_0x349e23(0x274)]()[_0x349e23(0x1ba)];return'DbtableConfig(table:\x20'+_0x365d0e+_0x349e23(0x2d6)+_0x3e597a+')';}static[a0_0x37e120(0x13f)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x37e120(0x2ec)];constructor(_0xd45d9f){const _0x46c73f=a0_0x37e120,_0x54d24e=_0xd45d9f[_0x46c73f(0x2d8)]||_0xd45d9f[_0x46c73f(0x105)]||_0xd45d9f[_0x46c73f(0x297)];this['_raw']={..._0xd45d9f,'datasetCode':_0x54d24e};}get['id'](){return this['_raw']['id'];}get[a0_0x37e120(0x27d)](){const _0x504dd4=a0_0x37e120;return this[_0x504dd4(0x2ec)][_0x504dd4(0x27d)];}[a0_0x37e120(0x292)](){const _0x23e00f=a0_0x37e120;return this[_0x23e00f(0x27d)];}get['datasetCode'](){const _0x29d130=a0_0x37e120;return this[_0x29d130(0x2ec)][_0x29d130(0x2d8)]||'';}get[a0_0x37e120(0x1f0)](){const _0xed3003=a0_0x37e120;if(!this[_0xed3003(0x2ec)][_0xed3003(0x1f0)])return null;return new DbtableConfig(this[_0xed3003(0x2ec)][_0xed3003(0x1f0)]);}[a0_0x37e120(0x2e6)](){const _0x5468d2=a0_0x37e120;return this[_0x5468d2(0x2ec)][_0x5468d2(0x1f0)];}[a0_0x37e120(0x2a5)](){return getTableName(this['_raw']);}[a0_0x37e120(0x279)](){const _0x5df934=a0_0x37e120;return getTableKey(this[_0x5df934(0x2a5)]());}[a0_0x37e120(0x173)](){const _0xb5c5ed=a0_0x37e120;return isVirtualTableName(this[_0xb5c5ed(0x2a5)]());}[a0_0x37e120(0x25c)](){const _0x36d3d0=a0_0x37e120;return toPascalCase(this[_0x36d3d0(0x2a5)]());}['toConfig'](){const _0x8dea75=a0_0x37e120;return{'key':getTableKey(this['getTableName']()),'tableName':this['getTableName'](),'datasetCode':this[_0x8dea75(0x2d8)],'name':this['name']};}[a0_0x37e120(0x1a2)](){const _0x5928ec=a0_0x37e120;return{...this[_0x5928ec(0x2ec)],'datasetCode':this[_0x5928ec(0x2d8)]};}[a0_0x37e120(0x263)](){const _0x422be9=a0_0x37e120;return{...this[_0x422be9(0x2ec)]};}['hasDbtableConfig'](){const _0x20ac6a=a0_0x37e120,_0x22d05e=this[_0x20ac6a(0x1f0)];return _0x22d05e!==null&&_0x22d05e[_0x20ac6a(0x20e)]();}[a0_0x37e120(0x240)](_0x2ce872){const _0xb29f27=a0_0x37e120;return this[_0xb29f27(0x2ec)][_0x2ce872];}[a0_0x37e120(0x17e)](_0x348c01){const _0xeea231=a0_0x37e120;return _0x348c01 in this[_0xeea231(0x2ec)];}[a0_0x37e120(0x11a)](){const _0x52feba=a0_0x37e120;return _0x52feba(0x230)+this[_0x52feba(0x27d)]+',\x20'+this['datasetCode']+')';}}class Operation{['name'];[a0_0x37e120(0x2ec)];['context'];constructor(_0x33c9aa,_0x41be90,_0x4c9569){const _0x218af9=a0_0x37e120;this[_0x218af9(0x27d)]=_0x33c9aa,this['_raw']=_0x41be90,this[_0x218af9(0x2d3)]=_0x4c9569;}[a0_0x37e120(0x292)](){const _0x59f4be=a0_0x37e120;return this[_0x59f4be(0x27d)];}['getDisplayName'](){const _0x32c3b3=a0_0x37e120,_0x11e31c=this[_0x32c3b3(0xfe)]();return _0x11e31c?OPERATION_TYPE_DISPLAY_NAME[_0x11e31c]:this[_0x32c3b3(0x27d)];}['getType'](){const _0xe7ce91=a0_0x37e120;return parseOperationType(this[_0xe7ce91(0x27d)]);}[a0_0x37e120(0x168)](){const _0x31b016=a0_0x37e120;return this[_0x31b016(0x2ec)]!=null&&this[_0x31b016(0x2ec)]!==![];}[a0_0x37e120(0x17b)](){const _0x59fe30=a0_0x37e120;if(!this['isEnabled']()||!this['_raw'])return'';const _0x1e1a26=this[_0x59fe30(0x2ec)][_0x59fe30(0x2ae)];return typeof _0x1e1a26==='string'?_0x1e1a26:'POST';}['getPath'](){const _0x451944=a0_0x37e120;if(!this[_0x451944(0x168)]()||!this[_0x451944(0x2ec)])return'';const _0x47748c=this[_0x451944(0x2ec)][_0x451944(0xfc)];return typeof _0x47748c===_0x451944(0x189)?_0x47748c:'';}[a0_0x37e120(0x192)](){const _0x2b7c15=a0_0x37e120;if(!this[_0x2b7c15(0x168)]()||!this[_0x2b7c15(0x2ec)])return'';const {host:_0x4c48c7,path:_0x460a45}=this[_0x2b7c15(0x2ec)],_0x1a0553=typeof _0x4c48c7===_0x2b7c15(0x189)?_0x4c48c7:'',_0x4fbc02=typeof _0x460a45===_0x2b7c15(0x189)?_0x460a45:'';return _0x1a0553&&_0x4fbc02?''+_0x1a0553+_0x4fbc02:_0x4fbc02;}[a0_0x37e120(0x2ac)](){const _0x387b5a=a0_0x37e120;return Object[_0x387b5a(0x222)](this[_0x387b5a(0x225)]());}[a0_0x37e120(0x26e)](){const _0x1e171c=a0_0x37e120;if(!this[_0x1e171c(0x168)]()||typeof this[_0x1e171c(0x2ec)]===_0x1e171c(0x287)||!this['_raw']?.[_0x1e171c(0x2c6)])return{};const _0x4668cb=this[_0x1e171c(0x2ec)][_0x1e171c(0x2c6)];if(typeof _0x4668cb!==_0x1e171c(0x189))return!![]&&console[_0x1e171c(0x178)](_0x1e171c(0x265),_0x4668cb),{};return parseRequestBody(_0x4668cb);}[a0_0x37e120(0xfb)](){const _0x335842=a0_0x37e120;if(!this[_0x335842(0x168)]()||typeof this[_0x335842(0x2ec)]==='boolean'||!this[_0x335842(0x2ec)]?.[_0x335842(0x19a)])return null;const _0x19ff04=this['_raw'][_0x335842(0x19a)];if(typeof _0x19ff04!==_0x335842(0x189))return!![]&&console[_0x335842(0x178)]('[Operation.parseRawResponseBody]\x20responseBody\x20is\x20not\x20a\x20string:',_0x19ff04),null;return parseResponseBody(_0x19ff04);}[a0_0x37e120(0x234)](_0x1f714d,_0x4a242f,_0x2afeca,_0x54ba0f){const _0x5c34bd=a0_0x37e120;return generateExampleValue(_0x1f714d,_0x4a242f,_0x2afeca,{'isPrimaryKey':_0x54ba0f?.['isPrimaryKey'],'description':_0x54ba0f?.[_0x5c34bd(0x196)],'dbtableConfig':this['context'][_0x5c34bd(0x1f0)]});}[a0_0x37e120(0x20c)](_0x1da525){const _0x2b3dcd=a0_0x37e120;if(!Array['isArray'](this[_0x2b3dcd(0x2d3)][_0x2b3dcd(0x13b)])){!![]&&console[_0x2b3dcd(0x178)](_0x2b3dcd(0x1c7));return;}if(typeof _0x1da525!==_0x2b3dcd(0x189)){!![]&&console[_0x2b3dcd(0x178)](_0x2b3dcd(0x1f7),_0x1da525);return;}return this[_0x2b3dcd(0x2d3)]['fields']['find'](_0x4c3545=>_0x4c3545&&_0x4c3545['code']===_0x1da525);}[a0_0x37e120(0x11a)](){const _0x10e6d6=a0_0x37e120,_0x512c32=this[_0x10e6d6(0x168)]()?'启用':'禁用';return this[_0x10e6d6(0x157)]()+'('+this[_0x10e6d6(0x27d)]+',\x20'+_0x512c32+')';}['getOperators'](){return[];}[a0_0x37e120(0x2d0)](_0x393ded){return[];}[a0_0x37e120(0x102)](_0x44129d){const _0x2d9ebf=a0_0x37e120,_0x346b34=this[_0x2d9ebf(0x292)](),_0x28f803=_0x2d9ebf(0x24b)+_0x44129d+'.'+_0x346b34+'(...);\x0aconsole.log(data);\x20//\x20输出上方\x20SDK\x20实际返回值的内容',_0x23b264=_0x2d9ebf(0x172)+_0x44129d+'.'+_0x346b34+'(...);\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}';return{'successCode':_0x28f803,'errorCode':_0x23b264};}[a0_0x37e120(0x1a2)](){const _0x4ea2a4=a0_0x37e120;return{'name':this[_0x4ea2a4(0x292)](),'displayName':this[_0x4ea2a4(0x157)](),'type':this[_0x4ea2a4(0xfe)](),'enabled':this[_0x4ea2a4(0x168)](),'method':this['getMethod'](),'path':this[_0x4ea2a4(0x12d)](),'fullUrl':this[_0x4ea2a4(0x192)](),'requestFields':this[_0x4ea2a4(0x2ac)](),'requestParams':this[_0x4ea2a4(0x225)](),'responseSchema':this[_0x4ea2a4(0x2b5)](),'requestExample':this[_0x4ea2a4(0x2d1)](),'responseExample':this[_0x4ea2a4(0x17f)]()};}}class GenericOperation extends Operation{[a0_0x37e120(0x225)](){const _0x196ec1=a0_0x37e120;return this[_0x196ec1(0x26e)]();}[a0_0x37e120(0x2b5)](){const _0x58bdbd=a0_0x37e120;return this[_0x58bdbd(0xfb)]();}[a0_0x37e120(0x2d1)](){const _0x2eb426=a0_0x37e120,_0x42eee9={},_0x39bd36=this['getRequestParams'](),_0x384dd7=this['getType']();if(Object[_0x2eb426(0x222)](_0x39bd36)[_0x2eb426(0x1ba)]===0x0&&_0x384dd7){const _0x5812cc=getFieldsForOperation(this['context']['fields'],_0x384dd7,this[_0x2eb426(0x2d3)][_0x2eb426(0x262)]);return _0x5812cc['forEach'](_0x1cfef7=>{const _0xba63d9=_0x2eb426,_0xde6506=this[_0xba63d9(0x234)](_0x1cfef7[_0xba63d9(0x105)],_0x1cfef7[_0xba63d9(0x19f)],typeof _0x1cfef7[_0xba63d9(0x1d5)]===_0xba63d9(0x189)?_0x1cfef7['dbType']:undefined,{'isPrimaryKey':_0x1cfef7['code']===this[_0xba63d9(0x2d3)][_0xba63d9(0x262)],'description':_0x1cfef7[_0xba63d9(0x196)]||_0x1cfef7[_0xba63d9(0x27d)]});_0x42eee9[_0x1cfef7['code']]=_0xde6506;}),_0x42eee9;}return Object[_0x2eb426(0x1be)](_0x39bd36)[_0x2eb426(0x15c)](([_0x2f7215,_0xa44a09])=>{const _0x55a101=_0x2eb426,_0x17ae37=_0xa44a09;let _0x2fbd19;if(typeof _0x17ae37[_0x55a101(0x19f)]===_0x55a101(0x189))_0x2fbd19=_0x17ae37['type'];else _0x17ae37[_0x55a101(0x19f)]&&typeof _0x17ae37['type']===_0x55a101(0x147)?_0x2fbd19=_0x17ae37['type'][_0x55a101(0x19f)]||_0x55a101(0x143):_0x2fbd19=_0x55a101(0x143);const _0x8d5b05=_0x17ae37[_0x55a101(0x196)],_0x282607=this[_0x55a101(0x20c)](_0x2f7215);if(_0x2f7215===_0x55a101(0x1bd))_0x42eee9[_0x2f7215]=0x1;else{if(_0x2f7215===_0x55a101(0x1b2))_0x42eee9[_0x2f7215]=0xa;else _0x2f7215==='id'?_0x42eee9[_0x2f7215]=0x1:_0x42eee9[_0x2f7215]=this['generateFieldExample'](_0x2f7215,_0x2fbd19,typeof _0x282607?.[_0x55a101(0x1d5)]===_0x55a101(0x189)?_0x282607[_0x55a101(0x1d5)]:undefined,{'isPrimaryKey':_0x2f7215===this['context'][_0x55a101(0x262)]||_0x2f7215==='id','description':_0x8d5b05||_0x282607?.[_0x55a101(0x196)]||_0x282607?.[_0x55a101(0x27d)]});}}),_0x42eee9;}[a0_0x37e120(0x17f)](){const _0x5ea539=a0_0x37e120,_0x2a9cb0=this[_0x5ea539(0x2b5)]();if(!_0x2a9cb0)return{'success':!![],'msg':_0x5ea539(0x2e5),'errorMsg':'','errorCode':_0x5ea539(0x17a),'data':null};return this[_0x5ea539(0x21f)](_0x2a9cb0);}['generateFromSchema'](_0xd6135a){const _0x54a2a6=a0_0x37e120;if(!_0xd6135a||typeof _0xd6135a!=='object')return{};if(Array['isArray'](_0xd6135a)){if(_0xd6135a[_0x54a2a6(0x1ba)]>0x0)return[this[_0x54a2a6(0x21f)](_0xd6135a[0x0])];return[];}const _0x23402d={};return Object[_0x54a2a6(0x222)](_0xd6135a)['forEach'](_0x44c3c3=>{const _0xba6a91=_0x54a2a6,_0x132426=_0xd6135a[_0x44c3c3];if(_0x132426&&typeof _0x132426===_0xba6a91(0x147)&&!Array[_0xba6a91(0x22a)](_0x132426)&&_0x132426['type']){const _0x1eb54a=_0x132426;let _0x1af71b;if(typeof _0x1eb54a[_0xba6a91(0x19f)]===_0xba6a91(0x189))_0x1af71b=_0x1eb54a[_0xba6a91(0x19f)];else _0x1eb54a[_0xba6a91(0x19f)]&&typeof _0x1eb54a[_0xba6a91(0x19f)]==='object'?_0x1af71b=_0x1eb54a[_0xba6a91(0x19f)][_0xba6a91(0x19f)]||_0xba6a91(0x143):_0x1af71b=_0xba6a91(0x143);const _0xfedcc2=_0x1eb54a[_0xba6a91(0x196)];_0x23402d[_0x44c3c3]=this[_0xba6a91(0x234)](_0x44c3c3,_0x1af71b,undefined,{'description':_0xfedcc2});}else{if(Array['isArray'](_0x132426))_0x23402d[_0x44c3c3]=_0x132426['length']>0x0?[this['generateFromSchema'](_0x132426[0x0])]:[];else _0x132426&&typeof _0x132426===_0xba6a91(0x147)?_0x23402d[_0x44c3c3]=this['generateFromSchema'](_0x132426):_0x23402d[_0x44c3c3]=_0x132426;}}),_0x23402d;}[a0_0x37e120(0x259)](_0x5754b6,_0x3e44e2){const _0x3e2528=a0_0x37e120,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3e44e2||{},_0x2cc851=this[_0x3e2528(0x292)](),_0x2b0342=this[_0x3e2528(0xfe)](),_0x14741b=this['getRequestFields'](),_0x40f92c=this[_0x3e2528(0x2d1)](),_0x4a5635=_0x5eac92=>{const _0x14b732=_0x3e2528;if(Object[_0x14b732(0x222)](_0x5eac92)[_0x14b732(0x1ba)]===0x0)return'{}';const _0x20d4a5=JSON[_0x14b732(0x163)](_0x5eac92,null,0x2)[_0x14b732(0x276)]('\x0a')[_0x14b732(0x264)]((_0x956b36,_0x572ba2)=>_0x572ba2===0x0?_0x956b36:indent+_0x956b36)['join']('\x0a');return _0x20d4a5;};switch(_0x2b0342){case _0x3e2528(0x16b):case'delete':return _0x3e2528(0x18a)+_0x5754b6+'.'+_0x2cc851+_0x3e2528(0x26a);case'update':if(useFullExample&&Object[_0x3e2528(0x222)](_0x40f92c)[_0x3e2528(0x1ba)]>0x0)return _0x3e2528(0x18a)+_0x5754b6+'.'+_0x2cc851+_0x3e2528(0x1c1)+_0x4a5635(_0x40f92c)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x5754b6+'.'+_0x2cc851+_0x3e2528(0x27f);case _0x3e2528(0x190):case _0x3e2528(0x16d):case _0x3e2528(0x268):default:if(_0x14741b['length']>0x0){if(useFullExample&&Object['keys'](_0x40f92c)[_0x3e2528(0x1ba)]>0x0)return _0x3e2528(0x18a)+_0x5754b6+'.'+_0x2cc851+'('+_0x4a5635(_0x40f92c)+');';else{const _0x7d22f6=Object['keys'](_0x40f92c);if(_0x7d22f6['length']>0x0){const _0x564f83=_0x7d22f6[_0x3e2528(0x141)](0x0,0x2)['join'](',\x20');return _0x3e2528(0x18a)+_0x5754b6+'.'+_0x2cc851+'({\x20'+_0x564f83+_0x3e2528(0x228);}else return _0x3e2528(0x18a)+_0x5754b6+'.'+_0x2cc851+'(params);';}}else return _0x3e2528(0x18a)+_0x5754b6+'.'+_0x2cc851+_0x3e2528(0x1ab);}}['generateRequestAllExamples'](){const _0x35abce=a0_0x37e120;return[{'title':_0x35abce(0x233),'data':this[_0x35abce(0x2d1)]()}];}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x37e120(0x225)](){const _0x26922d=a0_0x37e120,_0x535549=super[_0x26922d(0x225)](),_0x1e256d=Object[_0x26922d(0x222)](_0x535549);return(_0x1e256d[_0x26922d(0x1ba)]===0x0||_0x1e256d[_0x26922d(0x1ba)]===0x1&&_0x1e256d[0x0]===_0x26922d(0x105))&&(!_0x535549['code']&&(_0x535549['code']={'type':_0x26922d(0x18b),'description':'字段编码'}),_0x535549[_0x26922d(0x2aa)]={'type':_0x26922d(0x18b),'description':_0x26922d(0x144)}),_0x535549;}[a0_0x37e120(0x2d1)](){const _0x19a642=a0_0x37e120;return{'code':'field_name','label':_0x19a642(0x227)};}['generateSDKCallCode'](_0x262063){const _0x27f49e=a0_0x37e120,_0x40ca12=this[_0x27f49e(0x292)]();return _0x27f49e(0x18a)+_0x262063+'.'+_0x40ca12+_0x27f49e(0x107);}}class GetListOperation extends GenericOperation{[a0_0x37e120(0x225)](){const _0x400463=a0_0x37e120,_0x50dced=super[_0x400463(0x225)](),{currentPage:_0x5bf48e,pageSize:_0x520964,..._0xc94280}=_0x50dced,_0x43d4df={};return Object[_0x400463(0x1be)](_0xc94280)['forEach'](([_0x297dff,_0x37bb52])=>{const _0x5a8a47=_0x400463;if(typeof _0x37bb52===_0x5a8a47(0x147)&&_0x37bb52!==null){const _0x5a238a=_0x37bb52,_0x27833a=_0x5a238a[_0x5a8a47(0x196)]||'';_0x43d4df[_0x297dff]={..._0x5a238a,'description':_0x27833a?_0x27833a+_0x5a8a47(0x1eb):_0x5a8a47(0x272)};}else _0x43d4df[_0x297dff]=_0x37bb52;}),{..._0x43d4df,'currentPage':{...typeof _0x5bf48e===_0x400463(0x147)?_0x5bf48e:{},'type':_0x400463(0x152),'description':_0x400463(0x1a8)},'pageSize':{...typeof _0x520964===_0x400463(0x147)?_0x520964:{},'type':'Number','description':_0x400463(0x18f)}};}[a0_0x37e120(0x2d1)](_0x3c8980){const _0x2895e8=a0_0x37e120,{useArrayValues:useArrayValues=!![]}=_0x3c8980||{},_0x372f82=super[_0x2895e8(0x2d1)](),{currentPage:_0x3db7d2,pageSize:_0x230174,..._0x5a4fd9}=_0x372f82;if(!useArrayValues)return{..._0x5a4fd9,'currentPage':_0x3db7d2??0x1,'pageSize':_0x230174??0xa};const _0x3f8314={},_0x3240e1=['id','status',_0x2895e8(0x105),_0x2895e8(0x19f)];return Object[_0x2895e8(0x1be)](_0x5a4fd9)['forEach'](([_0x554f6a,_0x21fcf3],_0x515062)=>{const _0x49ebfb=_0x2895e8,_0x5f373b=_0x3240e1['some'](_0x50febf=>_0x554f6a[_0x49ebfb(0x24e)]()[_0x49ebfb(0x159)](_0x50febf))||_0x515062%0x3===0x0;if(_0x5f373b&&_0x21fcf3!==null&&_0x21fcf3!==undefined){if(typeof _0x21fcf3===_0x49ebfb(0x104))_0x3f8314[_0x554f6a]=[_0x21fcf3,_0x21fcf3+0x1,_0x21fcf3+0x2];else typeof _0x21fcf3===_0x49ebfb(0x189)?_0x3f8314[_0x554f6a]=[_0x21fcf3,_0x21fcf3+'_2',_0x21fcf3+'_3']:_0x3f8314[_0x554f6a]=[_0x21fcf3];}else _0x3f8314[_0x554f6a]=_0x21fcf3;}),{..._0x3f8314,'currentPage':_0x3db7d2??0x1,'pageSize':_0x230174??0xa};}[a0_0x37e120(0x2db)](){const _0x6dfd3a=a0_0x37e120;return this[_0x6dfd3a(0x2d1)]({'useArrayValues':![]});}[a0_0x37e120(0x1cc)](){const _0x15a495=a0_0x37e120;return[{'title':_0x15a495(0x2eb),'description':_0x15a495(0x211),'data':this[_0x15a495(0x2db)]()},{'title':'数组查询(支持多选)','description':_0x15a495(0x116),'data':this['generateRequestExample']()}];}['generateSDKCallCode'](_0x1e6dd2,_0x2051fe){const _0x44a4a8=a0_0x37e120,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2051fe||{},_0xc90f6c=this[_0x44a4a8(0x292)](),_0x2462f7=this[_0x44a4a8(0x2d1)]({'useArrayValues':!![]}),{currentPage:_0x2d6f96,pageSize:_0x4261d7,..._0x5e2986}=_0x2462f7;if(useFullExample&&Object[_0x44a4a8(0x222)](_0x2462f7)[_0x44a4a8(0x1ba)]>0x0){const _0x72fc81=Object['keys'](_0x5e2986)[_0x44a4a8(0x1ba)]>0x0;if(_0x72fc81){const _0x1ec096=this[_0x44a4a8(0x2db)](),_0x44549a=_0x251d23=>{const _0x25ae1a=_0x44a4a8;return JSON[_0x25ae1a(0x163)](_0x251d23,null,0x2)[_0x25ae1a(0x276)]('\x0a')['map']((_0x4ccf06,_0x3d4939)=>_0x3d4939===0x0?_0x4ccf06:indent+_0x4ccf06)[_0x25ae1a(0x156)]('\x0a');};return'//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x1e6dd2+'.'+_0xc90f6c+'('+_0x44549a(_0x1ec096)+_0x44a4a8(0x28b)+_0x1e6dd2+'.'+_0xc90f6c+'('+_0x44549a(_0x2462f7)+');';}else{const _0x366a44=JSON[_0x44a4a8(0x163)](_0x2462f7,null,0x2)[_0x44a4a8(0x276)]('\x0a')['map']((_0x2b3039,_0x47d41d)=>_0x47d41d===0x0?_0x2b3039:indent+_0x2b3039)['join']('\x0a');return _0x44a4a8(0x18a)+_0x1e6dd2+'.'+_0xc90f6c+'('+_0x366a44+');';}}if(Object[_0x44a4a8(0x222)](_0x5e2986)[_0x44a4a8(0x1ba)]>0x0){const _0x462ce6=Object['keys'](_0x5e2986)[0x0];return _0x44a4a8(0x18a)+_0x1e6dd2+'.'+_0xc90f6c+_0x44a4a8(0x1ed)+_0x462ce6+',\x20currentPage,\x20pageSize,\x20...\x20});';}return _0x44a4a8(0x18a)+_0x1e6dd2+'.'+_0xc90f6c+_0x44a4a8(0x1c2);}}var FILTER_OPERATORS=[a0_0x37e120(0x1bb),a0_0x37e120(0x28c),a0_0x37e120(0x26b),a0_0x37e120(0x294),a0_0x37e120(0x19c),a0_0x37e120(0x2cd),a0_0x37e120(0x21d),a0_0x37e120(0x221),a0_0x37e120(0x1fe),a0_0x37e120(0x1e0),a0_0x37e120(0x2a3),'$or'];class FilterOperation extends GenericOperation{constructor(_0x3df424,_0x143d57,_0x29b437){super(_0x3df424,_0x143d57,_0x29b437);}[a0_0x37e120(0x218)](){return FILTER_OPERATORS;}[a0_0x37e120(0x2d0)](_0x1250df){const _0x51cbf8=a0_0x37e120,_0x5563f2=this[_0x51cbf8(0x20c)](_0x1250df);if(!_0x5563f2)return[];return this[_0x51cbf8(0x235)](_0x5563f2[_0x51cbf8(0x19f)]);}['getRequestParams'](){const _0x3274b8=a0_0x37e120,_0x528c56=super[_0x3274b8(0x225)]();return{..._0x528c56,'where':{'type':'Object','description':'查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)','required':![]},'select':{'type':_0x3274b8(0x2c3),'description':_0x3274b8(0x1e2),'required':![]},'orderBy':{'type':_0x3274b8(0x290),'description':'排序规则','required':![]},'currentPage':{'type':_0x3274b8(0x152),'description':_0x3274b8(0x1a8),'required':![],'default':0x1},'pageSize':{'type':_0x3274b8(0x152),'description':_0x3274b8(0x18f),'required':![],'default':0xa}};}[a0_0x37e120(0x2d1)](){const _0x598c33=a0_0x37e120,_0x5be6a2=this[_0x598c33(0x2d3)][_0x598c33(0x13b)]||[];if(_0x5be6a2[_0x598c33(0x1ba)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x1bcb4c={},_0x5a9150=_0x5be6a2[_0x598c33(0x141)](0x0,Math['min'](0x3,_0x5be6a2[_0x598c33(0x1ba)]));_0x5a9150[_0x598c33(0x15c)](_0x5b643c=>{const _0x56cc68=_0x598c33,_0x1e38b8=this[_0x56cc68(0x235)](_0x5b643c[_0x56cc68(0x19f)]);if(_0x1e38b8[_0x56cc68(0x1ba)]===0x0)return;const _0x35c4b5=this[_0x56cc68(0x2b0)](_0x5b643c[_0x56cc68(0x19f)],_0x1e38b8),_0x5895ea=this[_0x56cc68(0x2a8)](_0x5b643c,_0x35c4b5);_0x1bcb4c[_0x5b643c[_0x56cc68(0x105)]]={[_0x35c4b5]:_0x5895ea};});const _0x48198a=_0x5be6a2[_0x598c33(0x141)](0x0,Math[_0x598c33(0x1db)](0x5,_0x5be6a2[_0x598c33(0x1ba)]))[_0x598c33(0x264)](_0x1e747f=>_0x1e747f[_0x598c33(0x105)]),_0x1ed8f5=_0x5be6a2[0x0]?.[_0x598c33(0x105)]||'id';return{'where':_0x1bcb4c,'select':_0x48198a,'orderBy':[{[_0x1ed8f5]:_0x598c33(0x13c)}],'currentPage':0x1,'pageSize':0x14};}[a0_0x37e120(0x259)](_0x1a9bcd,_0x12d6c3){const _0x449844=a0_0x37e120,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x12d6c3||{},_0x2b6eb0=this[_0x449844(0x292)](),_0x2b5a76=this['generateRequestExample'](),_0x5e7032=_0x91cf86=>{const _0x3c6ff9=_0x449844;return JSON[_0x3c6ff9(0x163)](_0x91cf86,null,0x2)[_0x3c6ff9(0x276)]('\x0a')[_0x3c6ff9(0x264)]((_0x3cf023,_0x387134)=>_0x387134===0x0?_0x3cf023:indent+_0x3cf023)[_0x3c6ff9(0x156)]('\x0a');};if(useFullExample){const _0x32d063=this['context']['fields']||[],_0x39bb20={'where':_0x32d063[0x0]?{[_0x32d063[0x0][_0x449844(0x105)]]:{'$eq':this[_0x449844(0x2a8)](_0x32d063[0x0],'$eq')}}:{},'select':_0x32d063[_0x449844(0x141)](0x0,0x3)[_0x449844(0x264)](_0x226a31=>_0x226a31['code']),'currentPage':0x1,'pageSize':0x14};let _0x506559='';if(_0x32d063[_0x449844(0x1ba)]>=0x3){const _0x117d76={'$and':[]},_0x4e54d1=[];if(_0x32d063[_0x449844(0x1ba)]>0x0){const _0x1d59a1=_0x32d063[_0x449844(0x19b)](_0x5b112a=>[_0x449844(0x2bb),'INTEGER',_0x449844(0x22c)][_0x449844(0x159)](_0x5b112a[_0x449844(0x19f)][_0x449844(0x202)]()));_0x1d59a1&&_0x4e54d1[_0x449844(0x26d)]({[_0x1d59a1[_0x449844(0x105)]]:{'$gte':0x0,'$lte':0x64}});}if(_0x32d063['length']>0x1){const _0x1fd6f8=_0x32d063[_0x449844(0x19b)](_0x5a0a37=>[_0x449844(0x111),_0x449844(0x143),'VARCHAR'][_0x449844(0x159)](_0x5a0a37[_0x449844(0x19f)][_0x449844(0x202)]()));_0x1fd6f8&&_0x4e54d1[_0x449844(0x26d)]({[_0x1fd6f8[_0x449844(0x105)]]:{'$contain':_0x449844(0x13e)}});}if(_0x4e54d1[_0x449844(0x1ba)]>0x0){_0x117d76[_0x449844(0x2a3)]=_0x4e54d1;const _0x3b152b={'where':_0x117d76,'select':_0x32d063[_0x449844(0x141)](0x0,0x4)['map'](_0x256a11=>_0x256a11[_0x449844(0x105)]),'orderBy':[{[_0x32d063[0x0][_0x449844(0x105)]]:_0x449844(0x13c)}],'currentPage':0x1,'pageSize':0x14};_0x506559=_0x449844(0x2da)+_0x1a9bcd+'.'+_0x2b6eb0+'('+_0x5e7032(_0x3b152b)+');';}}return _0x449844(0x28f)+_0x1a9bcd+'.'+_0x2b6eb0+'('+_0x5e7032(_0x39bb20)+');'+_0x506559;}const _0x4541bb=JSON[_0x449844(0x163)](_0x2b5a76,null,0x2)['split']('\x0a')[_0x449844(0x264)]((_0x51a5bc,_0x490f07)=>_0x490f07===0x0?_0x51a5bc:indent+_0x51a5bc)[_0x449844(0x156)]('\x0a');return _0x449844(0x18a)+_0x1a9bcd+'.'+_0x2b6eb0+'('+_0x4541bb+');';}[a0_0x37e120(0x235)](_0x197aa9){const _0xa6eaae=a0_0x37e120,_0x265b53=_0x197aa9['toUpperCase'](),_0x4ba909=[];if(['NUMBER',_0xa6eaae(0x224),_0xa6eaae(0x22c),'DECIMAL'][_0xa6eaae(0x159)](_0x265b53))_0x4ba909[_0xa6eaae(0x26d)](_0xa6eaae(0x1bb),'$ne','$gte','$lte','$gteq',_0xa6eaae(0x2cd),_0xa6eaae(0x21d));else{if(['STRING',_0xa6eaae(0x143),_0xa6eaae(0x14d)]['includes'](_0x265b53))_0x4ba909[_0xa6eaae(0x26d)](_0xa6eaae(0x1bb),'$ne','$in',_0xa6eaae(0x221),_0xa6eaae(0x1fe),_0xa6eaae(0x1e0));else{if(['DATE',_0xa6eaae(0x174),_0xa6eaae(0x28d)]['includes'](_0x265b53))_0x4ba909[_0xa6eaae(0x26d)](_0xa6eaae(0x1bb),_0xa6eaae(0x28c),_0xa6eaae(0x26b),_0xa6eaae(0x19c),'$gteq','$lteq');else[_0xa6eaae(0x1e3),_0xa6eaae(0x16f)]['includes'](_0x265b53)?_0x4ba909[_0xa6eaae(0x26d)](_0xa6eaae(0x1bb),_0xa6eaae(0x28c)):_0x4ba909['push'](_0xa6eaae(0x1bb),'$ne');}}return _0x4ba909;}[a0_0x37e120(0x2b0)](_0x3d0030,_0x594e3c){const _0x5863f6=a0_0x37e120,_0x51cd2f=_0x3d0030[_0x5863f6(0x202)]();if([_0x5863f6(0x2bb),'INTEGER',_0x5863f6(0x22c),_0x5863f6(0x2cf)]['includes'](_0x51cd2f))return _0x594e3c[_0x5863f6(0x159)](_0x5863f6(0x26b))?_0x5863f6(0x26b):_0x5863f6(0x1bb);if(['STRING',_0x5863f6(0x143),'VARCHAR'][_0x5863f6(0x159)](_0x51cd2f))return _0x594e3c[_0x5863f6(0x159)](_0x5863f6(0x221))?'$contain':_0x5863f6(0x1bb);if([_0x5863f6(0x1f4),_0x5863f6(0x174),_0x5863f6(0x28d)]['includes'](_0x51cd2f))return _0x594e3c[_0x5863f6(0x159)](_0x5863f6(0x26b))?_0x5863f6(0x26b):'$eq';return _0x5863f6(0x1bb);}['generateExampleValue'](_0x4b6e54,_0x58dc4f){const _0x52ebac=a0_0x37e120,_0x20c832=String(_0x4b6e54[_0x52ebac(0x19f)]||'')[_0x52ebac(0x202)]();if(_0x4b6e54['extend'])try{const _0x56800a=typeof _0x4b6e54[_0x52ebac(0x199)]===_0x52ebac(0x189)?JSON[_0x52ebac(0x214)](_0x4b6e54[_0x52ebac(0x199)]):_0x4b6e54['extend'];if(_0x56800a['options']&&Array[_0x52ebac(0x22a)](_0x56800a[_0x52ebac(0x164)])&&_0x56800a[_0x52ebac(0x164)][_0x52ebac(0x1ba)]>0x0){if(_0x58dc4f===_0x52ebac(0x21d))return _0x56800a[_0x52ebac(0x164)][_0x52ebac(0x141)](0x0,0x2)['map'](_0x4fb33e=>_0x4fb33e['value']);return _0x56800a[_0x52ebac(0x164)][0x0][_0x52ebac(0x2c8)];}}catch{}if(['NUMBER','INTEGER',_0x52ebac(0x22c),'DECIMAL'][_0x52ebac(0x159)](_0x20c832)){if(_0x58dc4f==='$in')return[0x1,0x2,0x3];if(_0x58dc4f===_0x52ebac(0x26b)||_0x58dc4f===_0x52ebac(0x294))return 0x0;if(_0x58dc4f==='$lte'||_0x58dc4f===_0x52ebac(0x2cd))return 0x64;return 0x1;}if([_0x52ebac(0x111),_0x52ebac(0x143),_0x52ebac(0x14d)][_0x52ebac(0x159)](_0x20c832)){if(_0x58dc4f===_0x52ebac(0x21d))return[_0x52ebac(0x208),_0x52ebac(0x1a9)];if(_0x58dc4f===_0x52ebac(0x221))return _0x52ebac(0x13e);if(_0x58dc4f===_0x52ebac(0x1fe))return _0x52ebac(0x213);if(_0x58dc4f===_0x52ebac(0x1e0))return _0x52ebac(0x204);return _0x52ebac(0x2c8);}if([_0x52ebac(0x1f4),_0x52ebac(0x174),'TIMESTAMP'][_0x52ebac(0x159)](_0x20c832)){if(_0x58dc4f===_0x52ebac(0x26b)||_0x58dc4f===_0x52ebac(0x294))return'2024-01-01';if(_0x58dc4f==='$lte'||_0x58dc4f===_0x52ebac(0x2cd))return _0x52ebac(0x1d6);return _0x52ebac(0x2be);}if(['BOOLEAN','BOOL']['includes'](_0x20c832))return!![];return _0x58dc4f===_0x52ebac(0x21d)?['value1','value2']:'value';}}class OperationFactory{['create'](_0x336307,_0x2e797c,_0xbc5618){const _0x17fbd2=a0_0x37e120;switch(_0x336307){case _0x17fbd2(0x268):return new GetSelectOptionsOperation(_0x336307,_0x2e797c,_0xbc5618);case _0x17fbd2(0x16d):return new GetListOperation(_0x336307,_0x2e797c,_0xbc5618);case'filter':return new FilterOperation(_0x336307,_0x2e797c,_0xbc5618);default:return new GenericOperation(_0x336307,_0x2e797c,_0xbc5618);}}[a0_0x37e120(0x1fc)](_0x59a829,_0x31659a){const _0x54f732=a0_0x37e120,_0x52c1ce=new Map();return Object[_0x54f732(0x1be)](_0x59a829)['forEach'](([_0x541757,_0x213687])=>{const _0x3cac48=_0x54f732;_0x52c1ce[_0x3cac48(0x134)](_0x541757,this[_0x3cac48(0x190)](_0x541757,_0x213687,_0x31659a));}),_0x52c1ce;}}class OperationList{[a0_0x37e120(0x1a5)];constructor(_0xb23c89,_0x315e7c){const _0x536207=a0_0x37e120,_0x39a72d=new OperationFactory();this['_operations']=_0x39a72d[_0x536207(0x1fc)](_0xb23c89,_0x315e7c);}[a0_0x37e120(0x112)](_0x1b623f){const _0x57e26f=a0_0x37e120;return this[_0x57e26f(0x1a5)][_0x57e26f(0x112)](_0x1b623f);}['has'](_0x445c76){return this['_operations']['has'](_0x445c76);}[a0_0x37e120(0x1a6)](){const _0x37aea1=a0_0x37e120;return this[_0x37aea1(0x1a5)][_0x37aea1(0x1a6)];}[a0_0x37e120(0x161)](){const _0x936e=a0_0x37e120;return Array[_0x936e(0x135)](this[_0x936e(0x1a5)][_0x936e(0x222)]());}[a0_0x37e120(0xfd)](){const _0x2df4b1=a0_0x37e120,_0x1682b3=Array[_0x2df4b1(0x135)](this[_0x2df4b1(0x1a5)][_0x2df4b1(0x106)]());return this[_0x2df4b1(0x10b)](_0x1682b3);}[a0_0x37e120(0x14c)](){const _0x173e3b=a0_0x37e120;return this[_0x173e3b(0xfd)]()[_0x173e3b(0x24d)](_0xde2030=>_0xde2030['isEnabled']());}[a0_0x37e120(0x108)](){const _0x2d3d96=a0_0x37e120;return this['toArray']()[_0x2d3d96(0x24d)](_0x4a08aa=>!_0x4a08aa[_0x2d3d96(0x168)]());}['getEnabledNames'](){const _0x1ab655=a0_0x37e120;return this[_0x1ab655(0x14c)]()['map'](_0x3a9c9e=>_0x3a9c9e['getName']());}[a0_0x37e120(0x160)](){const _0x3008c4=a0_0x37e120;return this[_0x3008c4(0x108)]()[_0x3008c4(0x264)](_0xbeaa44=>_0xbeaa44['getName']());}[a0_0x37e120(0x278)](_0x24e290){const _0x209328=a0_0x37e120;return this['toArray']()[_0x209328(0x24d)](_0x18f84e=>_0x18f84e[_0x209328(0xfe)]()===_0x24e290);}[a0_0x37e120(0x24d)](_0x5b0203){const _0x350f0d=a0_0x37e120;return this[_0x350f0d(0xfd)]()[_0x350f0d(0x24d)](_0x5b0203);}['getFiltered'](_0x50bfac={}){const _0x55bc94=a0_0x37e120;let _0x454c8d=this[_0x55bc94(0xfd)]();!_0x50bfac[_0x55bc94(0x26c)]&&(_0x454c8d=_0x454c8d[_0x55bc94(0x24d)](_0x5c76d0=>_0x5c76d0[_0x55bc94(0x168)]()));if(_0x50bfac['filterBlacklist']!==![]){const _0x1cec50=_0x454c8d[_0x55bc94(0x264)](_0x29cdfa=>({'name':_0x29cdfa[_0x55bc94(0x292)](),'operation':_0x29cdfa})),_0x55539d=filterApiOperations(_0x1cec50);_0x454c8d=_0x55539d['map'](_0x29d02c=>_0x29d02c[_0x55bc94(0x1de)]),_0x454c8d=this[_0x55bc94(0x10b)](_0x454c8d);}return _0x50bfac[_0x55bc94(0x2bc)]&&(_0x454c8d=_0x454c8d[_0x55bc94(0x24d)](_0x50bfac[_0x55bc94(0x2bc)])),_0x454c8d;}[a0_0x37e120(0x10b)](_0x3bc2d1){const _0x1ae56d=a0_0x37e120,_0x3d902f=_0x3bc2d1[_0x1ae56d(0x19b)](_0x2b9ae9=>_0x2b9ae9[_0x1ae56d(0x292)]()===_0x1ae56d(0x24d)),_0x36972d=_0x3bc2d1['filter'](_0x4c785d=>_0x4c785d[_0x1ae56d(0x292)]()!==_0x1ae56d(0x24d));return _0x3d902f?[_0x3d902f,..._0x36972d]:_0x36972d;}[a0_0x37e120(0x1a1)](){const _0x1adcf2=a0_0x37e120,_0x16f8fd=this[_0x1adcf2(0x14c)]();return{'total':this['size'](),'enabled':_0x16f8fd[_0x1adcf2(0x1ba)],'disabled':this[_0x1adcf2(0x1a6)]()-_0x16f8fd[_0x1adcf2(0x1ba)],'byType':this[_0x1adcf2(0x1cb)](_0x16f8fd),'byMethod':this[_0x1adcf2(0x261)](_0x16f8fd)};}[a0_0x37e120(0x1cb)](_0x243933){const _0x5f3dc0={};return _0x243933['forEach'](_0x4c487d=>{const _0x3c5883=a0_0x4f3d,_0x22897f=_0x4c487d[_0x3c5883(0xfe)]();_0x22897f&&(_0x5f3dc0[_0x22897f]=(_0x5f3dc0[_0x22897f]||0x0)+0x1);}),_0x5f3dc0;}[a0_0x37e120(0x261)](_0x24b48c){const _0x3ca1d2=a0_0x37e120,_0x2311b7={};return _0x24b48c[_0x3ca1d2(0x15c)](_0x2d9481=>{const _0x5bdd90=_0x3ca1d2,_0xaa2e6d=_0x2d9481[_0x5bdd90(0x17b)]();_0xaa2e6d&&(_0x2311b7[_0xaa2e6d]=(_0x2311b7[_0xaa2e6d]||0x0)+0x1);}),_0x2311b7;}[Symbol['iterator']](){const _0x34b152=a0_0x37e120;return this['_operations'][_0x34b152(0x106)]();}[a0_0x37e120(0x11a)](){const _0x5a75e5=a0_0x37e120,_0x135e25=this[_0x5a75e5(0x1a1)]();return _0x5a75e5(0x195)+_0x135e25[_0x5a75e5(0x1b6)]+'/'+_0x135e25[_0x5a75e5(0x1b4)]+_0x5a75e5(0x282);}}class Field{[a0_0x37e120(0x2ec)];[a0_0x37e120(0x29b)]=null;constructor(_0x8d86c){const _0x5c3b2f=a0_0x37e120;if(!_0x8d86c||typeof _0x8d86c!==_0x5c3b2f(0x147))throw new Error(_0x5c3b2f(0x288));this['_raw']=_0x8d86c;}get[a0_0x37e120(0x1bf)](){return this['_raw'];}[a0_0x37e120(0x25b)](){const _0x16531d=a0_0x37e120;return this[_0x16531d(0x2ec)];}get[a0_0x37e120(0x27d)](){const _0x4f17b2=a0_0x37e120;return this[_0x4f17b2(0x2ec)][_0x4f17b2(0x27d)]||'';}get[a0_0x37e120(0x105)](){return this['_raw']['code']||'';}get[a0_0x37e120(0x19f)](){const _0xb5c881=a0_0x37e120;return this[_0xb5c881(0x2ec)]['type']||'';}get[a0_0x37e120(0x196)](){const _0x4fac37=a0_0x37e120;return this[_0x4fac37(0x2ec)][_0x4fac37(0x196)]||'';}get[a0_0x37e120(0x27e)](){const _0x4bef51=a0_0x37e120;return Boolean(this[_0x4bef51(0x2ec)]['deleted']);}get[a0_0x37e120(0x199)](){const _0x19ef38=a0_0x37e120;if(this['_extend']!==null)return this['_extend'];const _0x1e7b9b=this[_0x19ef38(0x2ec)][_0x19ef38(0x199)];if(!_0x1e7b9b||typeof _0x1e7b9b!==_0x19ef38(0x189))return this[_0x19ef38(0x29b)]={},this['_extend'];try{return this[_0x19ef38(0x29b)]=JSON[_0x19ef38(0x214)](_0x1e7b9b),this[_0x19ef38(0x29b)];}catch(_0x4d2ac6){return!![]&&console[_0x19ef38(0x178)](_0x19ef38(0x148)+this[_0x19ef38(0x105)]+_0x19ef38(0x22b),_0x4d2ac6),this['_extend']={},this['_extend'];}}[a0_0x37e120(0x205)](){const _0x2b5a8f=a0_0x37e120;return Boolean(this[_0x2b5a8f(0x199)][_0x2b5a8f(0x10e)]);}[a0_0x37e120(0x1c0)](){const _0x503a12=a0_0x37e120;return Boolean(this[_0x503a12(0x199)]['primaryKey']);}[a0_0x37e120(0x1f3)](){const _0x3c375f=a0_0x37e120;return Boolean(this[_0x3c375f(0x199)][_0x3c375f(0x299)]);}[a0_0x37e120(0x18c)](){const _0x210da6=a0_0x37e120;return!this[_0x210da6(0x1f3)]();}[a0_0x37e120(0x1da)](){const _0x3d03af=a0_0x37e120;return this[_0x3d03af(0x27e)];}['isAutoIncrement'](){const _0x58d908=a0_0x37e120;return Boolean(this[_0x58d908(0x199)]['autoIncrement']);}[a0_0x37e120(0x20f)](){const _0x5e89c8=a0_0x37e120;return Boolean(this[_0x5e89c8(0x199)][_0x5e89c8(0x246)]);}[a0_0x37e120(0x15a)](){const _0x1b5a2b=a0_0x37e120;return Boolean(this['extend'][_0x1b5a2b(0x2ea)]);}[a0_0x37e120(0x2b6)](){const _0xcb06d2=a0_0x37e120,_0x2343e2=[_0xcb06d2(0x150),_0xcb06d2(0x1d3),_0xcb06d2(0x10d)];return _0x2343e2[_0xcb06d2(0x159)](this[_0xcb06d2(0x19f)]);}[a0_0x37e120(0x2b8)](){const _0x586fd9=a0_0x37e120;return this[_0x586fd9(0x19f)]==='CHECKBOX';}[a0_0x37e120(0x258)](){const _0xcf2c62=a0_0x37e120,_0x14117d=this['extend'];if(_0x14117d[_0xcf2c62(0x164)]&&Array[_0xcf2c62(0x22a)](_0x14117d[_0xcf2c62(0x164)]))return _0x14117d[_0xcf2c62(0x164)];return;}[a0_0x37e120(0x1e6)](){const _0x38606e=a0_0x37e120,_0x486876=this[_0x38606e(0x199)];if(_0x486876[_0x38606e(0x23c)]&&typeof _0x486876[_0x38606e(0x23c)]==='object')return _0x486876[_0x38606e(0x23c)];return;}[a0_0x37e120(0x2e3)](){const _0x3814c6=a0_0x37e120;if(!this['isEnum']())return;const _0x504226=this['getEnumOptions'](),_0x2626c5=this[_0x3814c6(0x1e6)](),_0x19bdaf=[],_0xec7897={},_0x592ef6=_0x55f855=>{_0x55f855['forEach'](_0x3a85e9=>{const _0x16ba8e=a0_0x4f3d;_0x19bdaf['push'](_0x3a85e9[_0x16ba8e(0x2c8)]),_0xec7897[String(_0x3a85e9[_0x16ba8e(0x2c8)])]=_0x3a85e9[_0x16ba8e(0x2aa)],_0x3a85e9[_0x16ba8e(0x25a)]&&_0x3a85e9[_0x16ba8e(0x25a)]['length']>0x0&&_0x592ef6(_0x3a85e9['children']);});};return _0x504226&&_0x504226[_0x3814c6(0x1ba)]>0x0&&_0x592ef6(_0x504226),{'code':this[_0x3814c6(0x105)],'name':this[_0x3814c6(0x27d)],'type':this[_0x3814c6(0x19f)],'multiple':this[_0x3814c6(0x2b8)](),'options':_0x504226,'selectItemsSource':_0x2626c5,'values':_0x19bdaf,'valueLabels':_0xec7897};}[a0_0x37e120(0x2a1)](){const _0x6fee5f=a0_0x37e120;return this[_0x6fee5f(0x199)]['defaultValue'];}['getTooltip'](){const _0x1f663d=a0_0x37e120;return this[_0x1f663d(0x199)][_0x1f663d(0x277)];}[a0_0x37e120(0x1a2)](){const _0x5b755b=a0_0x37e120;return{'name':this['name'],'code':this['code'],'type':this['type'],'description':this[_0x5b755b(0x196)],'required':this[_0x5b755b(0x205)](),'primaryKey':this[_0x5b755b(0x1c0)](),'system':this[_0x5b755b(0x1f3)](),'autoIncrement':this[_0x5b755b(0x125)](),'createTime':this[_0x5b755b(0x20f)](),'updateTime':this[_0x5b755b(0x15a)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x5b755b(0x2b6)]()?this[_0x5b755b(0x2e3)]():undefined};}}class FieldList{[a0_0x37e120(0x114)];constructor(_0x27e47d,_0x522738){const _0x103b38=a0_0x37e120;if(!Array[_0x103b38(0x22a)](_0x27e47d))throw new Error(_0x103b38(0x177));const _0xe73eb8=_0x522738?.[_0x103b38(0x1ad)]??![],_0x37556b=_0xe73eb8?_0x27e47d:_0x27e47d[_0x103b38(0x24d)](_0x242fc9=>!_0x242fc9[_0x103b38(0x27e)]);this[_0x103b38(0x114)]=_0x37556b[_0x103b38(0x264)](_0x53bfcf=>new Field(_0x53bfcf));}get[a0_0x37e120(0x1ba)](){const _0x2fc7e9=a0_0x37e120;return this[_0x2fc7e9(0x114)]['length'];}['all'](){const _0x58e140=a0_0x37e120;return[...this[_0x58e140(0x114)]];}[a0_0x37e120(0x1bf)](){const _0x3c93ec=a0_0x37e120;return this[_0x3c93ec(0x114)]['map'](_0x187a17=>_0x187a17['raw']);}['at'](_0x1f7167){const _0x1c8a9a=a0_0x37e120;return this[_0x1c8a9a(0x114)]['at'](_0x1f7167);}['find'](_0x5c1df8){const _0x51e70f=a0_0x37e120;return this[_0x51e70f(0x114)][_0x51e70f(0x19b)](_0xf01c28=>_0xf01c28[_0x51e70f(0x105)]===_0x5c1df8);}['findByName'](_0x10359c){const _0x3c5242=a0_0x37e120;return this[_0x3c5242(0x114)][_0x3c5242(0x19b)](_0x5a9970=>_0x5a9970[_0x3c5242(0x27d)]===_0x10359c);}[a0_0x37e120(0x186)](_0x5bd3c5){const _0x329a2c=a0_0x37e120;return this[_0x329a2c(0x114)][_0x329a2c(0x2bf)](_0x32f80b=>_0x32f80b[_0x329a2c(0x105)]===_0x5bd3c5);}[a0_0x37e120(0x15c)](_0x2cf237){const _0x2d2f36=a0_0x37e120;this[_0x2d2f36(0x114)][_0x2d2f36(0x15c)](_0x2cf237);}[a0_0x37e120(0x264)](_0x5f427a){const _0x3a164c=a0_0x37e120;return this['_fields'][_0x3a164c(0x264)](_0x5f427a);}['filter'](_0x2ded0c){const _0x441826=a0_0x37e120;return this['_fields'][_0x441826(0x24d)](_0x2ded0c);}[a0_0x37e120(0x1c5)](_0x26d74b){const _0x2cbbb5=a0_0x37e120;return this[_0x2cbbb5(0x114)]['every'](_0x26d74b);}[a0_0x37e120(0x2bf)](_0x1ee8ba){const _0x28fe3b=a0_0x37e120;return this['_fields'][_0x28fe3b(0x2bf)](_0x1ee8ba);}[a0_0x37e120(0x14b)](){const _0x5322b0=a0_0x37e120;return this[_0x5322b0(0x114)][_0x5322b0(0x24d)](_0x1844ce=>_0x1844ce[_0x5322b0(0x205)]());}[a0_0x37e120(0x12c)](){const _0x26d0c7=a0_0x37e120;return this[_0x26d0c7(0x114)][_0x26d0c7(0x24d)](_0x19a058=>_0x19a058[_0x26d0c7(0x1c0)]());}[a0_0x37e120(0x153)](){const _0x2bebe9=a0_0x37e120;return this[_0x2bebe9(0x114)][_0x2bebe9(0x24d)](_0x3c3b32=>_0x3c3b32[_0x2bebe9(0x1f3)]());}[a0_0x37e120(0x2d2)](){const _0x32b77e=a0_0x37e120;return this[_0x32b77e(0x114)][_0x32b77e(0x24d)](_0x2e536e=>_0x2e536e[_0x32b77e(0x18c)]());}[a0_0x37e120(0x1e8)](){const _0x5c6ab9=a0_0x37e120;return this['_fields'][_0x5c6ab9(0x24d)](_0xc95d14=>_0xc95d14[_0x5c6ab9(0x2b6)]());}[a0_0x37e120(0x207)](){const _0x1ccb46=a0_0x37e120;return this[_0x1ccb46(0x114)][_0x1ccb46(0x24d)](_0x459169=>_0x459169[_0x1ccb46(0x125)]());}[a0_0x37e120(0x129)](){const _0x73f723=a0_0x37e120;return this[_0x73f723(0x114)][_0x73f723(0x24d)](_0x3975a0=>_0x3975a0[_0x73f723(0x20f)]());}[a0_0x37e120(0x203)](){const _0x3db8e6=a0_0x37e120;return this['_fields'][_0x3db8e6(0x24d)](_0x1e5219=>_0x1e5219[_0x3db8e6(0x15a)]());}[a0_0x37e120(0x12e)](){const _0xb9851d=a0_0x37e120;return this[_0xb9851d(0x114)][_0xb9851d(0x24d)](_0xaedd3e=>_0xaedd3e[_0xb9851d(0x1da)]());}['getActive'](){const _0x8b5590=a0_0x37e120;return this[_0x8b5590(0x114)][_0x8b5590(0x24d)](_0x3a28fc=>!_0x3a28fc[_0x8b5590(0x1da)]());}[a0_0x37e120(0x1f5)](){const _0x55090e=a0_0x37e120,_0x15667d={};return this['_fields'][_0x55090e(0x15c)](_0x7106a8=>{const _0x47acf9=_0x55090e,_0xefffe9=_0x7106a8[_0x47acf9(0x19f)];!_0x15667d[_0xefffe9]&&(_0x15667d[_0xefffe9]=[]),_0x15667d[_0xefffe9]['push'](_0x7106a8);}),_0x15667d;}[a0_0x37e120(0x187)](){const _0x10454f=a0_0x37e120,_0x1c9443={};return this[_0x10454f(0x114)][_0x10454f(0x15c)](_0x535401=>{const _0x4607af=_0x10454f;if(_0x535401[_0x4607af(0x2b6)]()){const _0x57c27a=_0x535401[_0x4607af(0x2e3)]();_0x57c27a&&(_0x1c9443[_0x535401['code']]=_0x57c27a);}}),_0x1c9443;}[a0_0x37e120(0x1a1)](){const _0x2dcd71=a0_0x37e120;return{'total':this[_0x2dcd71(0x1ba)],'required':this['getRequired']()[_0x2dcd71(0x1ba)],'primaryKey':this[_0x2dcd71(0x12c)]()[_0x2dcd71(0x1ba)],'system':this[_0x2dcd71(0x153)]()['length'],'business':this['getBusiness']()['length'],'enum':this['getEnum']()['length'],'autoIncrement':this[_0x2dcd71(0x207)]()[_0x2dcd71(0x1ba)]};}[a0_0x37e120(0x1a2)](){const _0x370365=a0_0x37e120;return this[_0x370365(0x114)][_0x370365(0x264)](_0x36f80b=>_0x36f80b[_0x370365(0x1a2)]());}[a0_0x37e120(0x266)](){const _0x5ea525=a0_0x37e120;return this[_0x5ea525(0x114)][_0x5ea525(0x264)](_0x3fe249=>_0x3fe249['code']);}[a0_0x37e120(0x161)](){const _0x2426ce=a0_0x37e120;return this[_0x2426ce(0x114)][_0x2426ce(0x264)](_0x2c7456=>_0x2c7456['name']);}static[a0_0x37e120(0x135)](_0x4ffa6b){const _0x43ee3d=a0_0x37e120,_0x326fa1=_0x4ffa6b['map'](_0x3d7c8c=>_0x3d7c8c[_0x43ee3d(0x1bf)]);return new FieldList(_0x326fa1);}static[a0_0x37e120(0x155)](_0x277769){return new FieldList(_0x277769,{'includeDeleted':!![]});}}class DrivenDataDetail extends DatasetItem{[a0_0x37e120(0x20a)];[a0_0x37e120(0x256)];[a0_0x37e120(0x21c)];constructor(_0x5ee2cc){const _0x2ffa4a=a0_0x37e120;super({..._0x5ee2cc,'id':_0x5ee2cc[_0x2ffa4a(0x21e)],'datasetCode':_0x5ee2cc[_0x2ffa4a(0x297)]});}get[a0_0x37e120(0x101)](){const _0x14aafd=a0_0x37e120;return this[_0x14aafd(0x2ec)][_0x14aafd(0x101)];}[a0_0x37e120(0x14a)](){const _0x567448=a0_0x37e120;return this[_0x567448(0x101)];}get[a0_0x37e120(0x271)](){const _0x44ffb1=a0_0x37e120;return this[_0x44ffb1(0x2ec)][_0x44ffb1(0x271)];}[a0_0x37e120(0x237)](){const _0x5902d7=a0_0x37e120;return!this[_0x5902d7(0x256)]&&(this[_0x5902d7(0x256)]=new FieldList(this['_raw']['properties']||[])),this[_0x5902d7(0x256)];}[a0_0x37e120(0x1b1)](){const _0x10d495=a0_0x37e120;return!this[_0x10d495(0x21c)]&&(this[_0x10d495(0x21c)]=FieldList['withDeleted'](this[_0x10d495(0x2ec)]['properties']||[])),this[_0x10d495(0x21c)];}['getFields'](){const _0x1b9a4e=a0_0x37e120;return this['getFieldList']()[_0x1b9a4e(0x1bf)]();}[a0_0x37e120(0x22f)](){const _0x33ea2e=a0_0x37e120;return this[_0x33ea2e(0x2ec)][_0x33ea2e(0x1fa)]||[];}[a0_0x37e120(0x12a)](){const _0x15737d=a0_0x37e120;return this[_0x15737d(0x237)]()[_0x15737d(0x1ba)];}[a0_0x37e120(0x2a9)](_0x3d865c){const _0xb3e7e7=this['getFieldInstance'](_0x3d865c);return _0xb3e7e7?_0xb3e7e7['raw']:undefined;}['getFieldRaw'](_0x361e45){const _0x56504c=a0_0x37e120;return this[_0x56504c(0x237)]()[_0x56504c(0x19b)](_0x361e45)?.[_0x56504c(0x1bf)]||undefined;}[a0_0x37e120(0x158)](_0x263637){const _0x247dce=a0_0x37e120;if(typeof _0x263637!==_0x247dce(0x189)){!![]&&console[_0x247dce(0x178)]('[DrivenDataDetail.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x263637);return;}return this[_0x247dce(0x237)]()['find'](_0x263637);}[a0_0x37e120(0x29f)](_0x459255){const _0x523111=a0_0x37e120;return this[_0x523111(0x237)]()['has'](_0x459255);}[a0_0x37e120(0x139)](_0x3dc31b){const _0x96f21d=a0_0x37e120;if(!_0x3dc31b||typeof _0x3dc31b!==_0x96f21d(0x147))return!![]&&console[_0x96f21d(0x178)](_0x96f21d(0x25f),_0x3dc31b),{};if(!_0x3dc31b[_0x96f21d(0x199)])return{};try{const _0x5ce634=typeof _0x3dc31b[_0x96f21d(0x199)]===_0x96f21d(0x189)?JSON[_0x96f21d(0x214)](_0x3dc31b[_0x96f21d(0x199)]):_0x3dc31b['extend'];if(typeof _0x5ce634!==_0x96f21d(0x147)||_0x5ce634===null)return!![]&&console['warn'](_0x96f21d(0x11e),_0x5ce634),{};return _0x5ce634;}catch(_0x4bbd18){return!![]&&console[_0x96f21d(0x178)]('[DrivenDataDetail.parseFieldExtend]\x20解析字段\x20'+_0x3dc31b[_0x96f21d(0x105)]+'\x20的\x20extend\x20配置失败:',_0x4bbd18),{};}}[a0_0x37e120(0x1d8)](_0x5bace6){const _0x96af43=a0_0x37e120;if(!_0x5bace6||typeof _0x5bace6!==_0x96af43(0x147))return![];const _0xbd07db=this['getFieldList']()[_0x96af43(0x19b)](_0x5bace6[_0x96af43(0x105)]);return _0xbd07db?_0xbd07db[_0x96af43(0x1c0)]():![];}[a0_0x37e120(0x1fd)](_0x61a2cc){const _0x134139=a0_0x37e120;if(!_0x61a2cc||typeof _0x61a2cc!=='object')return![];const _0x33e1a0=this[_0x134139(0x237)]()['find'](_0x61a2cc[_0x134139(0x105)]);return _0x33e1a0?_0x33e1a0[_0x134139(0x1f3)]():![];}['isRequiredField'](_0x4c91f4){const _0x39cab4=a0_0x37e120;if(!_0x4c91f4||typeof _0x4c91f4!==_0x39cab4(0x147))return![];const _0x287113=this['getFieldList']()[_0x39cab4(0x19b)](_0x4c91f4[_0x39cab4(0x105)]);return _0x287113?_0x287113[_0x39cab4(0x205)]():![];}[a0_0x37e120(0x12b)](){const _0x1b7a41=a0_0x37e120;return this[_0x1b7a41(0x237)]()[_0x1b7a41(0x12c)]()[_0x1b7a41(0x264)](_0x4f0404=>_0x4f0404['raw']);}[a0_0x37e120(0x1ea)](){const _0x37d3f5=a0_0x37e120;return this[_0x37d3f5(0x237)]()[_0x37d3f5(0x153)]()[_0x37d3f5(0x264)](_0x18c2e2=>_0x18c2e2['raw']);}['getBusinessFields'](){const _0x3361ea=a0_0x37e120;return this[_0x3361ea(0x237)]()[_0x3361ea(0x2d2)]()['map'](_0x420a98=>_0x420a98['raw']);}['getRequiredFields'](){const _0x23a60d=a0_0x37e120;return this[_0x23a60d(0x237)]()['getRequired']()[_0x23a60d(0x264)](_0x1caef0=>_0x1caef0[_0x23a60d(0x1bf)]);}[a0_0x37e120(0x2e1)](){const _0x238fdf=a0_0x37e120,_0x7ede49=this[_0x238fdf(0x237)]()['groupByType'](),_0x4f642c={};for(const [_0x307321,_0x5301d6]of Object[_0x238fdf(0x1be)](_0x7ede49)){_0x4f642c[_0x307321]=_0x5301d6['map'](_0x963e6c=>_0x963e6c[_0x238fdf(0x1bf)]);}return _0x4f642c;}['isEnumField'](_0x37ef24){const _0xe9462d=a0_0x37e120;if(!_0x37ef24||typeof _0x37ef24!==_0xe9462d(0x147))return![];const _0x268bd1=this[_0xe9462d(0x237)]()[_0xe9462d(0x19b)](_0x37ef24[_0xe9462d(0x105)]);return _0x268bd1?_0x268bd1[_0xe9462d(0x2b6)]():![];}[a0_0x37e120(0x229)](_0x20f1e7){const _0x2a5c4a=a0_0x37e120;if(!_0x20f1e7||typeof _0x20f1e7!==_0x2a5c4a(0x147))return![];const _0x302c7e=this[_0x2a5c4a(0x237)]()[_0x2a5c4a(0x19b)](_0x20f1e7['code']);return _0x302c7e?_0x302c7e['isMultipleSelect']():![];}['getFieldOptions'](_0xc284f9){const _0x2f1c4c=a0_0x37e120;if(!_0xc284f9||typeof _0xc284f9!=='object')return[];const _0x5d7847=this[_0x2f1c4c(0x237)]()[_0x2f1c4c(0x19b)](_0xc284f9['code']);if(!_0x5d7847||!_0x5d7847[_0x2f1c4c(0x2b6)]())return[];return _0x5d7847[_0x2f1c4c(0x258)]()||[];}['getFieldSelectItemsSource'](_0x3912ed){const _0x44a26d=a0_0x37e120;if(!_0x3912ed||typeof _0x3912ed!==_0x44a26d(0x147))return;const _0x4c8044=this[_0x44a26d(0x237)]()['find'](_0x3912ed[_0x44a26d(0x105)]);if(!_0x4c8044||!_0x4c8044['isEnum']())return;return _0x4c8044['getSelectItemsSource']();}[a0_0x37e120(0x1e7)](_0x3efacc){const _0x330e1d=a0_0x37e120;if(!_0x3efacc||typeof _0x3efacc!==_0x330e1d(0x147))return;const _0x8bc05d=this[_0x330e1d(0x237)]()[_0x330e1d(0x19b)](_0x3efacc[_0x330e1d(0x105)]);if(!_0x8bc05d||!_0x8bc05d[_0x330e1d(0x2b6)]())return;return _0x8bc05d[_0x330e1d(0x2e3)]();}[a0_0x37e120(0x29e)](){const _0x2d2fa8=a0_0x37e120;return this[_0x2d2fa8(0x237)]()['getEnum']()['map'](_0x397ee8=>_0x397ee8['raw']);}['getEnumFieldsMeta'](){const _0x2fef59=a0_0x37e120,_0x20d6bc={};return this[_0x2fef59(0x29e)]()[_0x2fef59(0x15c)](_0x411c77=>{const _0x30d294=_0x2fef59,_0x5d348d=this[_0x30d294(0x1e7)](_0x411c77);_0x5d348d&&(_0x20d6bc[_0x411c77[_0x30d294(0x105)]]=_0x5d348d);}),_0x20d6bc;}['validateEnumValue'](_0x1c61d4,_0x44468b){const _0x9b04d7=a0_0x37e120,_0x4fff9a=this[_0x9b04d7(0x1e7)](_0x1c61d4);if(!_0x4fff9a)return!![];if(_0x4fff9a['selectItemsSource']&&!_0x4fff9a[_0x9b04d7(0x164)])return!![];if(_0x4fff9a[_0x9b04d7(0x1b3)]&&Array['isArray'](_0x44468b))return _0x44468b['every'](_0xd3e438=>_0x4fff9a['values']['includes'](_0xd3e438));return _0x4fff9a[_0x9b04d7(0x106)][_0x9b04d7(0x159)](_0x44468b);}[a0_0x37e120(0x1f9)](){const _0x324e72=a0_0x37e120;if(!this[_0x324e72(0x20a)]){const _0x4f4fb1=this['ensureFilterOperation'](this[_0x324e72(0x2ec)][_0x324e72(0x167)]||{});this[_0x324e72(0x20a)]=new OperationList(_0x4f4fb1,{'fields':this['getFields'](),'pkField':this[_0x324e72(0x2ec)]['dbtableConfig']?.[_0x324e72(0x262)],'dbtableConfig':this['_raw'][_0x324e72(0x1f0)]});}return this[_0x324e72(0x20a)];}[a0_0x37e120(0x232)](_0x1b36ca){const _0x2739b2=a0_0x37e120;if(_0x1b36ca[_0x2739b2(0x24d)]!==undefined)return _0x1b36ca;return{..._0x1b36ca,'filter':this[_0x2739b2(0x21a)]()};}[a0_0x37e120(0x21a)](){const _0x482810=a0_0x37e120,_0x130a6e=this[_0x482810(0x2ec)]['operations']?.[_0x482810(0x16d)];let _0x206963=_0x130a6e?.[_0x482810(0x243)],_0x4272ee='';if(!_0x206963&&this[_0x482810(0x2ec)]['operations']){const _0x1cdc61=Object[_0x482810(0x106)](this[_0x482810(0x2ec)]['operations']);for(const _0x59f2d3 of _0x1cdc61){if(_0x59f2d3&&typeof _0x59f2d3===_0x482810(0x147)&&'host'in _0x59f2d3){_0x206963=_0x59f2d3[_0x482810(0x243)];break;}}}if(_0x130a6e?.[_0x482810(0xfc)]){const _0x163911=_0x130a6e[_0x482810(0xfc)],_0x112b67=_0x163911['lastIndexOf']('/');_0x112b67!==-0x1&&(_0x4272ee=_0x163911['substring'](0x0,_0x112b67));}return{'name':_0x482810(0x24d),'type':_0x482810(0x138),'description':_0x482810(0x22e),'method':'POST','host':_0x206963,'path':_0x4272ee?_0x4272ee+_0x482810(0x175):_0x482810(0x175),'params':_0x130a6e?.['params']||[{'name':'where','type':_0x482810(0x147),'required':![]},{'name':_0x482810(0x19d),'type':_0x482810(0x162),'required':![]},{'name':_0x482810(0x1d1),'type':_0x482810(0x162),'required':![]},{'name':_0x482810(0x1bd),'type':'number','required':![],'default':0x1},{'name':'pageSize','type':_0x482810(0x104),'required':![],'default':0xa}],'_autoGenerated':!![]};}[a0_0x37e120(0x1d9)](){const _0x433e36=a0_0x37e120;return this['getOperationList']()[_0x433e36(0xfd)]();}[a0_0x37e120(0x18d)](){const _0x1e8996=a0_0x37e120;return this[_0x1e8996(0x1f9)]()[_0x1e8996(0x1a6)]();}[a0_0x37e120(0x1c3)](_0x16098e){const _0x300db1=a0_0x37e120;if(typeof _0x16098e!==_0x300db1(0x189)){!![]&&console[_0x300db1(0x178)](_0x300db1(0x1cd),_0x16098e);return;}return this[_0x300db1(0x1f9)]()[_0x300db1(0x112)](_0x16098e);}[a0_0x37e120(0x1ca)](_0x35f4d9){const _0x3d62a2=a0_0x37e120;if(typeof _0x35f4d9!==_0x3d62a2(0x189))return![];return this['getOperationList']()['has'](_0x35f4d9);}['isOperationEnabled'](_0x4ef9a0){const _0x2cfff1=a0_0x37e120;if(typeof _0x4ef9a0!==_0x2cfff1(0x189))return![];const _0x52062f=this[_0x2cfff1(0x1c3)](_0x4ef9a0);return _0x52062f?.['isEnabled']()||![];}[a0_0x37e120(0x201)](){const _0x486d8d=a0_0x37e120;return this[_0x486d8d(0x1f9)]()['getEnabledNames']();}['getDisabledOperations'](){const _0x16c3b2=a0_0x37e120;return this[_0x16c3b2(0x1f9)]()[_0x16c3b2(0x160)]();}[a0_0x37e120(0x260)](){const _0x15d97e=a0_0x37e120;return this[_0x15d97e(0x1f9)]()[_0x15d97e(0x14c)]();}['getDisabledOperationInstances'](){const _0x49db74=a0_0x37e120;return this[_0x49db74(0x1f9)]()[_0x49db74(0x108)]();}['getStats'](){const _0x31cb75=a0_0x37e120;return{'fieldCount':this[_0x31cb75(0x12a)](),'systemFieldCount':this[_0x31cb75(0x1ea)]()[_0x31cb75(0x1ba)],'businessFieldCount':this[_0x31cb75(0x2cb)]()[_0x31cb75(0x1ba)],'requiredFieldCount':this[_0x31cb75(0x120)]()['length'],'primaryKeyCount':this[_0x31cb75(0x12b)]()[_0x31cb75(0x1ba)],'operationCount':this[_0x31cb75(0x18d)](),'enabledOperationCount':this['getEnabledOperations']()[_0x31cb75(0x1ba)]};}[a0_0x37e120(0x29d)](){const _0x49242b=a0_0x37e120;return new DatasetItem({'id':this['id'],'name':this[_0x49242b(0x27d)],'datasetCode':this[_0x49242b(0x2d8)],'dbtableConfig':this[_0x49242b(0x2e6)]()});}[a0_0x37e120(0x11a)](){const _0x4680cd=a0_0x37e120;return _0x4680cd(0x1af)+this['name']+',\x20'+this['datasetCode']+',\x20'+this['getFieldCount']()+_0x4680cd(0x142)+this[_0x4680cd(0x18d)]()+_0x4680cd(0x282);}[a0_0x37e120(0x1b8)](){const _0x5619b4=this['getOperation']('filter');return _0x5619b4;}[a0_0x37e120(0x151)](){const _0x19256e=a0_0x37e120;return this[_0x19256e(0x1ca)](_0x19256e(0x24d));}[a0_0x37e120(0x1d7)](_0x24c476){const _0x1d317e=a0_0x37e120,_0xfde2c6=this['getOperation'](_0x24c476);return _0xfde2c6?_0xfde2c6[_0x1d317e(0x218)]():[];}['getOperationFieldOperators'](_0x3c9cb6,_0x46cd13){const _0x527f87=a0_0x37e120,_0x2704a3=this['getOperation'](_0x3c9cb6);return _0x2704a3?_0x2704a3[_0x527f87(0x2d0)](_0x46cd13):[];}[a0_0x37e120(0x113)](_0x44ac9c){const _0x3e8de2=a0_0x37e120,_0xcb7119={};return this[_0x3e8de2(0x237)]()[_0x3e8de2(0x15c)](_0x1de81b=>{const _0x1398bc=_0x3e8de2,_0x4eb9a7=this[_0x1398bc(0x1e5)](_0x44ac9c,_0x1de81b[_0x1398bc(0x105)]);_0x4eb9a7[_0x1398bc(0x1ba)]>0x0&&(_0xcb7119[_0x1de81b[_0x1398bc(0x105)]]=_0x4eb9a7);}),_0xcb7119;}['isOperatorApplicableToField'](_0x194220,_0x43a70d,_0x15bb48){const _0x19d22a=a0_0x37e120,_0x350303=this[_0x19d22a(0x1e5)](_0x194220,_0x43a70d);return _0x350303['includes'](_0x15bb48);}[a0_0x37e120(0x223)](){const _0x2fa69d=a0_0x37e120;return this['getOperationOperators'](_0x2fa69d(0x24d));}['getFieldFilterOperators'](_0x1f9a39){const _0x1d53ff=a0_0x37e120;return this[_0x1d53ff(0x1e5)](_0x1d53ff(0x24d),_0x1f9a39);}[a0_0x37e120(0x2c4)](){const _0x2f657d=a0_0x37e120;return this[_0x2f657d(0x113)](_0x2f657d(0x24d));}}class DatasetGroup{[a0_0x37e120(0x2c2)];constructor(_0x4d16c8){const _0xe4b051=a0_0x37e120;this[_0xe4b051(0x2c2)]=Array['isArray'](_0x4d16c8)?[..._0x4d16c8]:[_0x4d16c8],this[_0xe4b051(0x2c2)][_0xe4b051(0x2dc)]((_0x323c74,_0x4829f1)=>{const _0x259670=Number(_0x323c74['id'])||0x0,_0x2b5fff=Number(_0x4829f1['id'])||0x0;return _0x2b5fff-_0x259670;});}[a0_0x37e120(0x28a)](){const _0x5b992a=a0_0x37e120;return this[_0x5b992a(0x2c2)][_0x5b992a(0x1ba)]>0x1;}['getLatest'](){const _0x3976b3=a0_0x37e120;return this[_0x3976b3(0x2c2)][0x0];}['getOldest'](){const _0x36d06a=a0_0x37e120;return this['items'][this[_0x36d06a(0x2c2)]['length']-0x1];}[a0_0x37e120(0x23d)](){const _0x4ce351=a0_0x37e120;return[...this[_0x4ce351(0x2c2)]];}[a0_0x37e120(0x296)](){const _0x409ccf=a0_0x37e120;return this[_0x409ccf(0x2c2)][_0x409ccf(0x1ba)];}[a0_0x37e120(0x250)](_0x27c827){return this['items'][_0x27c827];}[a0_0x37e120(0x280)](_0x47563){const _0x6d790=a0_0x37e120;return this[_0x6d790(0x2c2)][_0x6d790(0x19b)](_0x53b2bb=>_0x53b2bb['id']===_0x47563);}[a0_0x37e120(0x244)](_0x32d142){const _0x2f711e=a0_0x37e120;return this[_0x2f711e(0x2c2)][_0x2f711e(0x19b)](_0x300123=>_0x300123['datasetCode']===_0x32d142);}[a0_0x37e120(0x11d)](){const _0x1db019=a0_0x37e120;return this[_0x1db019(0x2c2)][_0x1db019(0x264)](_0x36bb08=>_0x36bb08['id'])[_0x1db019(0x24d)](_0x596b50=>_0x596b50!==undefined);}['getCodes'](){const _0x32cf17=a0_0x37e120;return this['items'][_0x32cf17(0x264)](_0x4fa82e=>_0x4fa82e[_0x32cf17(0x2d8)]);}['toString'](){const _0x147638=a0_0x37e120;if(this[_0x147638(0x28a)]())return _0x147638(0x24a)+this[_0x147638(0x2c2)][_0x147638(0x1ba)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x147638(0x295)]()['name']+')';return _0x147638(0x24a)+this[_0x147638(0x2c2)][0x0][_0x147638(0x27d)]+')';}}class DatasetGroupMap{[a0_0x37e120(0x2a6)];constructor(_0x44de9b){const _0x18a3f5=a0_0x37e120;this[_0x18a3f5(0x2a6)]=new Map();for(const _0x4775b7 of _0x44de9b){const _0x459a23=getTableKey(_0x4775b7);if(!this[_0x18a3f5(0x2a6)][_0x18a3f5(0x186)](_0x459a23))this['groups'][_0x18a3f5(0x134)](_0x459a23,new DatasetGroup(_0x4775b7));else{const _0x18f20e=this[_0x18a3f5(0x2a6)]['get'](_0x459a23),_0x167cd3=[..._0x18f20e[_0x18a3f5(0x23d)](),_0x4775b7];this[_0x18a3f5(0x2a6)][_0x18a3f5(0x134)](_0x459a23,new DatasetGroup(_0x167cd3));}}}[a0_0x37e120(0x112)](_0x106dc3){const _0x4915a9=a0_0x37e120;return this[_0x4915a9(0x2a6)][_0x4915a9(0x112)](_0x106dc3);}[a0_0x37e120(0x186)](_0x3ac007){const _0x4e2d71=a0_0x37e120;return this[_0x4e2d71(0x2a6)][_0x4e2d71(0x186)](_0x3ac007);}get[a0_0x37e120(0x1a6)](){const _0x108f50=a0_0x37e120;return this['groups'][_0x108f50(0x1a6)];}['keys'](){const _0x3abecd=a0_0x37e120;return this[_0x3abecd(0x2a6)]['keys']();}['values'](){const _0x1286fa=a0_0x37e120;return this[_0x1286fa(0x2a6)][_0x1286fa(0x106)]();}[a0_0x37e120(0x1be)](){const _0x1159d6=a0_0x37e120;return this[_0x1159d6(0x2a6)][_0x1159d6(0x1be)]();}[Symbol[a0_0x37e120(0x23a)]](){const _0x3a21ca=a0_0x37e120;return this[_0x3a21ca(0x2a6)][_0x3a21ca(0x1be)]();}[a0_0x37e120(0x15c)](_0x503c47){const _0x48aea8=a0_0x37e120;this[_0x48aea8(0x2a6)][_0x48aea8(0x15c)]((_0x35c512,_0x5552a1)=>_0x503c47(_0x35c512,_0x5552a1,this));}[a0_0x37e120(0x281)](){const _0x54e6b6=a0_0x37e120,_0x11ad96=new Map();for(const [_0x4cef15,_0x407f81]of this['groups']){_0x407f81[_0x54e6b6(0x28a)]()&&_0x11ad96[_0x54e6b6(0x134)](_0x4cef15,_0x407f81);}return _0x11ad96;}[a0_0x37e120(0x2d7)](){const _0x71f49b=a0_0x37e120;for(const _0x55cc2b of this['groups']['values']()){if(_0x55cc2b[_0x71f49b(0x28a)]())return!![];}return![];}[a0_0x37e120(0x286)](){const _0x4e6470=a0_0x37e120;let _0x4dc004=0x0,_0x4a2809=0x0;for(const _0x40c8ba of this[_0x4e6470(0x2a6)][_0x4e6470(0x106)]()){_0x40c8ba[_0x4e6470(0x28a)]()&&(_0x4dc004++,_0x4a2809+=_0x40c8ba[_0x4e6470(0x296)]());}return{'conflictGroupCount':_0x4dc004,'conflictItemCount':_0x4a2809,'totalGroups':this['groups']['size']};}[a0_0x37e120(0x110)](){const _0x4f4dd0=a0_0x37e120,_0x4f3728=[];for(const _0x52689c of this['groups']['values']()){_0x4f3728['push'](..._0x52689c[_0x4f4dd0(0x23d)]());}return _0x4f3728;}[a0_0x37e120(0x248)](){const _0x1fcaa8=a0_0x37e120,_0x59ae66=[];for(const _0x42f82e of this['groups']['values']()){_0x59ae66[_0x1fcaa8(0x26d)](_0x42f82e['getLatest']());}return _0x59ae66;}[a0_0x37e120(0x295)](_0x364471){const _0x4b7e75=a0_0x37e120;return this[_0x4b7e75(0x2a6)]['get'](_0x364471)?.[_0x4b7e75(0x295)]();}[a0_0x37e120(0x23d)](_0x31b838){const _0x2b79d2=a0_0x37e120;return this[_0x2b79d2(0x2a6)][_0x2b79d2(0x112)](_0x31b838)?.['getAll']()||[];}[a0_0x37e120(0x17c)](){const _0x4d7238=a0_0x37e120,_0x50d891=this[_0x4d7238(0x248)](),_0x5484c2=_0x50d891[_0x4d7238(0x264)](_0x29513f=>_0x29513f[_0x4d7238(0x1a2)]());return generateDatasetsConfig(_0x5484c2,{'enableDeduplication':![]});}[a0_0x37e120(0x103)](){const _0x351fc1=a0_0x37e120,_0x10c17d=this[_0x351fc1(0x110)](),_0x114575=_0x10c17d['map'](_0x5dd7da=>_0x5dd7da[_0x351fc1(0x1a2)]());return generateFullDatasetsConfig(_0x114575);}[a0_0x37e120(0x273)](){const _0x5062fc=a0_0x37e120,_0x2fa65a={};for(const [_0x35dc6b,_0xbd2511]of this[_0x5062fc(0x2a6)]){_0x2fa65a[_0x35dc6b]=_0xbd2511;}return _0x2fa65a;}[a0_0x37e120(0x1a2)](){const _0x41e70e=a0_0x37e120,_0x56a5e8={};for(const [_0x29be21,_0x16b6f9]of this[_0x41e70e(0x2a6)]){_0x56a5e8[_0x29be21]=_0x16b6f9[_0x41e70e(0x23d)]()['map'](_0x283350=>_0x283350[_0x41e70e(0x1a2)]());}return _0x56a5e8;}[a0_0x37e120(0x11a)](){const _0x32b3c7=a0_0x37e120;return _0x32b3c7(0x127)+this[_0x32b3c7(0x2a6)][_0x32b3c7(0x1a6)]+_0x32b3c7(0x26f)+(this[_0x32b3c7(0x2d7)]()?_0x32b3c7(0x1e9):_0x32b3c7(0x10a))+')';}}class DatasetList{[a0_0x37e120(0x2dd)];constructor(_0xd4e321){const _0x55394a=a0_0x37e120;let _0x70630b;if(Array[_0x55394a(0x22a)](_0xd4e321))_0x70630b=_0xd4e321;else{if(_0x55394a(0x1ac)in _0xd4e321){if(!_0xd4e321[_0x55394a(0x1ac)]||!_0xd4e321[_0x55394a(0x2ce)]?.[_0x55394a(0x2d4)])throw new Error(_0x55394a(0x2e8));_0x70630b=_0xd4e321[_0x55394a(0x2ce)][_0x55394a(0x2d4)][_0x55394a(0x264)](_0x42801a=>({..._0x42801a,'datasetCode':_0x42801a[_0x55394a(0x105)]||_0x42801a[_0x55394a(0x2d8)]}));}else{if(_0x55394a(0x2d4)in _0xd4e321){if(!Array['isArray'](_0xd4e321[_0x55394a(0x2d4)]))throw new Error(_0x55394a(0x2af));_0x70630b=_0xd4e321['tableData'][_0x55394a(0x264)](_0x411527=>({..._0x411527,'datasetCode':_0x411527[_0x55394a(0x105)]||_0x411527[_0x55394a(0x2d8)]}));}else throw new Error(_0x55394a(0x12f));}}const _0x532090=_0x70630b['map'](_0x1daed3=>new DatasetItem(_0x1daed3));this[_0x55394a(0x2dd)]=new DatasetGroupMap(_0x532090);}get['datasetMap'](){return this['_datasetMap'];}['getItems'](){const _0x28ebe0=a0_0x37e120;return this['_datasetMap'][_0x28ebe0(0x110)]();}[a0_0x37e120(0x296)](){return this['getItems']()['length'];}['isEmpty'](){const _0x337fce=a0_0x37e120;return this[_0x337fce(0x2dd)]['size']===0x0;}[a0_0x37e120(0x250)](_0x5f3ab4){return this['getItems']()[_0x5f3ab4];}['getFirst'](){const _0x39e0b1=a0_0x37e120;return this[_0x39e0b1(0x22d)]()[0x0];}['getLast'](){const _0x34f7cf=a0_0x37e120,_0x1508d8=this[_0x34f7cf(0x22d)]();return _0x1508d8[_0x1508d8[_0x34f7cf(0x1ba)]-0x1];}[a0_0x37e120(0x244)](_0x23d633){const _0x2c30ae=a0_0x37e120;for(const _0x4be630 of this['_datasetMap'][_0x2c30ae(0x106)]()){const _0x16a9bd=_0x4be630[_0x2c30ae(0x244)](_0x23d633);if(_0x16a9bd)return _0x16a9bd;}return;}[a0_0x37e120(0x154)](_0x56b8bd){const _0x475735=a0_0x37e120;return this[_0x475735(0x22d)]()[_0x475735(0x19b)](_0x2b208d=>_0x2b208d['name']===_0x56b8bd);}[a0_0x37e120(0x280)](_0x4613c6){const _0x3494cb=a0_0x37e120;for(const _0x1eaa31 of this[_0x3494cb(0x2dd)][_0x3494cb(0x106)]()){const _0x4c0464=_0x1eaa31[_0x3494cb(0x280)](_0x4613c6);if(_0x4c0464)return _0x4c0464;}return;}[a0_0x37e120(0x2c0)](_0x121dbd){const _0x41163e=a0_0x37e120,_0x556e05=getTableKey(_0x121dbd);return this[_0x41163e(0x2dd)][_0x41163e(0x295)](_0x556e05);}['filter'](_0x468489){const _0x2c3363=a0_0x37e120,_0x275e53=this[_0x2c3363(0x22d)]()[_0x2c3363(0x24d)](_0x468489);return new DatasetList(_0x275e53['map'](_0x498785=>_0x498785['toJSON']()));}[a0_0x37e120(0x1c4)](_0x541e5c){const _0x17b53c=a0_0x37e120;return this[_0x17b53c(0x22d)]()['filter'](_0x541e5c);}['forEach'](_0x1ff8d7){const _0x81a810=a0_0x37e120;this[_0x81a810(0x22d)]()['forEach'](_0x1ff8d7);}[a0_0x37e120(0x264)](_0x4f69ac){const _0x3c730b=a0_0x37e120;return this[_0x3c730b(0x22d)]()['map'](_0x4f69ac);}[Symbol[a0_0x37e120(0x23a)]](){const _0x29c269=a0_0x37e120;return this[_0x29c269(0x22d)]()[Symbol[_0x29c269(0x23a)]]();}[a0_0x37e120(0x2e4)](){const _0x2a9860=a0_0x37e120;return this[_0x2a9860(0x22d)]()[_0x2a9860(0x24d)](_0x4bbff2=>_0x4bbff2[_0x2a9860(0x173)]());}[a0_0x37e120(0x1bc)](){const _0x46df16=a0_0x37e120;return this[_0x46df16(0x22d)]()[_0x46df16(0x24d)](_0x59792b=>!_0x59792b[_0x46df16(0x173)]());}['groupByTableName'](){const _0x2c0218=a0_0x37e120,_0x50901d={};for(const _0x149cad of this[_0x2c0218(0x2dd)][_0x2c0218(0x106)]()){const _0x1b7da3=_0x149cad[_0x2c0218(0x295)]()[_0x2c0218(0x2a5)]();_0x50901d[_0x1b7da3]=_0x149cad['getAll']();}return _0x50901d;}[a0_0x37e120(0x2ca)](){const _0x306edb=a0_0x37e120,_0x8bd901={};for(const _0x2ec467 of this[_0x306edb(0x2dd)]['getConflicts']()[_0x306edb(0x106)]()){const _0x18ecd3=_0x2ec467[_0x306edb(0x295)]()[_0x306edb(0x2a5)]();_0x8bd901[_0x18ecd3]=_0x2ec467[_0x306edb(0x23d)]()[_0x306edb(0x264)](_0x58a472=>_0x58a472[_0x306edb(0x1a2)]());}return{'hasConflicts':Object[_0x306edb(0x222)](_0x8bd901)[_0x306edb(0x1ba)]>0x0,'conflicts':_0x8bd901};}[a0_0x37e120(0x2d7)](){const _0x512d2f=a0_0x37e120;return this[_0x512d2f(0x2dd)][_0x512d2f(0x2d7)]();}[a0_0x37e120(0x1c8)](){const _0x227586=a0_0x37e120,_0xe80622=[];for(const _0x48628b of this['_datasetMap'][_0x227586(0x281)]()['values']()){_0xe80622['push'](..._0x48628b['getAll']());}return _0xe80622;}['generateConfig'](_0x3415a6){const _0x58a14d=a0_0x37e120;if(!_0x3415a6||Object[_0x58a14d(0x222)](_0x3415a6)[_0x58a14d(0x1ba)]===0x0)return this[_0x58a14d(0x29c)]['toConfig']();const _0x3812e3=this['getItems']()[_0x58a14d(0x264)](_0x42a60c=>_0x42a60c[_0x58a14d(0x1a2)]());return generateDatasetsConfig(_0x3812e3,_0x3415a6);}[a0_0x37e120(0x24f)](_0x5e0d18){const _0x38e378=a0_0x37e120,_0x35d042=this[_0x38e378(0x2cc)](_0x5e0d18);return datasetsConfigToArray(_0x35d042);}[a0_0x37e120(0x245)](){const _0x955bf2=a0_0x37e120;return this['getItems']()['map'](_0x1f8b94=>_0x1f8b94[_0x955bf2(0x17c)]());}[a0_0x37e120(0x1a1)](){const _0x554755=a0_0x37e120;return{'total':this[_0x554755(0x296)](),'virtualTables':this[_0x554755(0x2e4)]()[_0x554755(0x1ba)],'realTables':this[_0x554755(0x1bc)]()['length'],'hasConflicts':this[_0x554755(0x2d7)](),'conflictCount':this[_0x554755(0x1c8)]()['length']};}['toArray'](){const _0x105f9b=a0_0x37e120;return this[_0x105f9b(0x22d)]()[_0x105f9b(0x264)](_0x173c1e=>_0x173c1e['toJSON']());}[a0_0x37e120(0x1a2)](){return this['toArray']();}[a0_0x37e120(0x11a)](){const _0xfa7512=a0_0x37e120;return'DatasetList('+this[_0xfa7512(0x296)]()+_0xfa7512(0x11b)+this[_0xfa7512(0x2dd)][_0xfa7512(0x1a6)]+_0xfa7512(0x1cf);}static[a0_0x37e120(0x2ab)](_0x1cf5b3){return new DatasetList(_0x1cf5b3);}static[a0_0x37e120(0x14f)](_0x102195){return new DatasetList(_0x102195);}static[a0_0x37e120(0x13f)](){return new DatasetList([]);}}function operationToAnalysis(_0x22cf7b){const _0xcaa644=a0_0x37e120;return{'name':_0x22cf7b[_0xcaa644(0x292)](),'displayName':_0x22cf7b['getDisplayName'](),'type':_0x22cf7b[_0xcaa644(0xfe)](),'method':_0x22cf7b[_0xcaa644(0x17b)](),'path':_0x22cf7b['getPath'](),'fullUrl':_0x22cf7b['getFullUrl'](),'requestFields':_0x22cf7b[_0xcaa644(0x2ac)](),'requestParams':_0x22cf7b['getRequestParams'](),'responseSchema':_0x22cf7b[_0xcaa644(0x2b5)](),'requestExample':_0x22cf7b[_0xcaa644(0x2d1)](),'responseExample':_0x22cf7b['generateResponseExample'](),'enabled':_0x22cf7b[_0xcaa644(0x168)]()};}function operationsToAnalyses(_0x1cc1ea){const _0x52ede1=a0_0x37e120;return _0x1cc1ea[_0x52ede1(0x264)](operationToAnalysis);}class DrivenDataDetailPlus extends DrivenDataDetail{[a0_0x37e120(0x119)];[a0_0x37e120(0x2d9)](_0x3dfa87=![]){const _0xaa4aef=a0_0x37e120;if(!_0x3dfa87&&this[_0xaa4aef(0x119)])return this[_0xaa4aef(0x119)];const _0x762dd6=this['getOperations']();return this[_0xaa4aef(0x119)]=operationsToAnalyses(_0x762dd6),this[_0xaa4aef(0x119)];}[a0_0x37e120(0x1f6)](){const _0x1c1f62=a0_0x37e120;return this[_0x1c1f62(0x2ed)]({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x37e120(0x2ed)](_0x4a33e3={}){const _0x10d9a2=a0_0x37e120;let _0x48e301=this[_0x10d9a2(0x2d9)]();return!_0x4a33e3[_0x10d9a2(0x26c)]&&(_0x48e301=_0x48e301[_0x10d9a2(0x24d)](_0x42ec0f=>_0x42ec0f['enabled'])),_0x4a33e3['filterBlacklist']!==![]&&(_0x48e301=filterApiOperations(_0x48e301)),_0x4a33e3[_0x10d9a2(0x2bc)]&&(_0x48e301=_0x48e301[_0x10d9a2(0x24d)](_0x4a33e3[_0x10d9a2(0x2bc)])),_0x48e301=this[_0x10d9a2(0x10b)](_0x48e301),_0x48e301;}[a0_0x37e120(0x10b)](_0x3e05d5){const _0xe75f17=a0_0x37e120,_0x441b5e=_0x3e05d5[_0xe75f17(0x19b)](_0x347659=>_0x347659[_0xe75f17(0x27d)]===_0xe75f17(0x24d)),_0x2e118d=_0x3e05d5[_0xe75f17(0x24d)](_0x2a1df1=>_0x2a1df1[_0xe75f17(0x27d)]!==_0xe75f17(0x24d));return _0x441b5e?[_0x441b5e,..._0x2e118d]:_0x2e118d;}[a0_0x37e120(0x136)](_0x2f2611){const _0x2e6a56=a0_0x37e120,_0x4bb006=this[_0x2e6a56(0x2d9)]();return _0x4bb006[_0x2e6a56(0x19b)](_0x4a0862=>_0x4a0862[_0x2e6a56(0x27d)]===_0x2f2611);}[a0_0x37e120(0x1f1)](_0x584747){const _0x2102df=a0_0x37e120,_0x3372c3=this[_0x2102df(0x2d9)]();return _0x3372c3[_0x2102df(0x24d)](_0x2ca415=>_0x2ca415[_0x2102df(0x19f)]===_0x584747);}[a0_0x37e120(0x215)](_0x3800c6){const _0x510b7f=a0_0x37e120,_0x5045b6=this[_0x510b7f(0x1c3)](_0x3800c6);if(!_0x5045b6)return[];const _0x146e36=_0x5045b6[_0x510b7f(0x2ac)](),_0x271242=this['getFields']();return _0x271242[_0x510b7f(0x24d)](_0x30b49a=>_0x146e36[_0x510b7f(0x159)](_0x30b49a[_0x510b7f(0x105)]));}[a0_0x37e120(0x1dd)](_0x4f05a6,_0x1e8997){const _0x508e57=a0_0x37e120,_0xe9b115=this[_0x508e57(0x136)](_0x4f05a6);if(!_0xe9b115)return null;const _0x506ff1=this[_0x508e57(0x1c3)](_0xe9b115[_0x508e57(0x27d)]);if(!_0x506ff1)throw new Error(_0x508e57(0x1a7)+_0xe9b115['name']);const _0x9deb5d=this[_0x508e57(0x279)](),_0x18fc07=this[_0x508e57(0x2a5)](),_0x500165=_0x506ff1[_0x508e57(0x259)](_0x9deb5d,{'useFullExample':_0x1e8997?.[_0x508e57(0x2e0)]}),_0x5acb19=_0x506ff1[_0x508e57(0x102)](_0x9deb5d);return{'operation':_0xe9b115,'operationInstance':_0x506ff1,'basicInfo':{'name':_0xe9b115[_0x508e57(0x27d)],'displayName':_0xe9b115['displayName'],'method':_0xe9b115[_0x508e57(0x2ae)],'path':_0xe9b115['path'],'fullUrl':_0xe9b115['fullUrl'],'enabled':_0xe9b115[_0x508e57(0x1b6)]},'sdkCall':{'datasetCode':this[_0x508e57(0x2d8)],'modelName':_0x9deb5d,'tableName':_0x18fc07,'operationName':_0xe9b115[_0x508e57(0x27d)],'params':_0xe9b115['requestFields'],'code':_0x500165},'usageExample':_0x5acb19};}[a0_0x37e120(0x275)](_0x45781a={}){const _0x3161fe=a0_0x37e120,_0x452ab=this[_0x3161fe(0x2ed)](_0x45781a),_0x1bb90c=this[_0x3161fe(0x1a1)](),_0x4fc92d={'name':this[_0x3161fe(0x27d)],'code':this['datasetCode'],'tableName':this['getTableName'](),'tableKey':this['getTableKey'](),'source':this[_0x3161fe(0x101)],'fieldCount':_0x1bb90c['fieldCount'],'businessFieldCount':_0x1bb90c[_0x3161fe(0x188)],'systemFieldCount':_0x1bb90c[_0x3161fe(0x132)],'operationCount':_0x1bb90c['operationCount'],'enabledOperationCount':_0x1bb90c[_0x3161fe(0x126)]},_0x4f38bf=_0x452ab['map'](_0xd862ec=>this[_0x3161fe(0x1dd)](_0xd862ec['name']))[_0x3161fe(0x24d)](_0x3ef25c=>_0x3ef25c!==null);return{'title':this[_0x3161fe(0x27d)]+_0x3161fe(0x27b),'datasetInfo':_0x4fc92d,'operations':_0x4f38bf};}['getSDKInitData'](_0x4ec5a5){const _0x487998=a0_0x37e120;return{'appCode':_0x4ec5a5,'tableKey':this[_0x487998(0x279)](),'tableName':this[_0x487998(0x2a5)](),'datasetCode':this['datasetCode']};}['getOperationsOverviewData'](_0x5be0d1){const _0x251ecd=a0_0x37e120,_0x334719=[{'index':_0x251ecd(0x27d),'label':_0x251ecd(0x1a0)},{'index':_0x251ecd(0x124),'label':_0x251ecd(0x1f2)},{'index':_0x251ecd(0x2ae),'label':'方法'},{'index':_0x251ecd(0x219),'label':_0x251ecd(0x289)},{'index':'path','label':_0x251ecd(0x269)},{'index':_0x251ecd(0x17d),'label':_0x251ecd(0x2a4)}],_0x297cfd=_0x5be0d1[_0x251ecd(0x264)](_0x98199c=>{const _0x354b2e=_0x251ecd,{basicInfo:_0x236861,sdkCall:_0x5d15bd}=_0x98199c,_0x87d857=_0x5d15bd[_0x354b2e(0x105)][_0x354b2e(0x1d0)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x354b2e(0x1d0)](/;$/,'');return{'displayName':_0x236861[_0x354b2e(0x124)],'name':_0x236861['name'],'method':_0x236861[_0x354b2e(0x2ae)],'path':_0x236861[_0x354b2e(0xfc)],'sdkCall':_0x87d857,'sdkCallCode':_0x5d15bd['code']};});return{'tableColumns':_0x334719,'tableData':_0x297cfd};}['generateOperationSummary'](_0x4a6fb7){const _0x2c8074=a0_0x37e120,_0x466530=this[_0x2c8074(0x136)](_0x4a6fb7);if(!_0x466530)return null;return{'name':_0x466530[_0x2c8074(0x27d)],'displayName':_0x466530[_0x2c8074(0x124)],'type':_0x466530[_0x2c8074(0x19f)],'method':_0x466530[_0x2c8074(0x2ae)],'path':_0x466530['path'],'enabled':_0x466530['enabled'],'requestFieldCount':_0x466530[_0x2c8074(0x285)]['length'],'hasResponseSchema':_0x466530[_0x2c8074(0x220)]!==null};}[a0_0x37e120(0x117)](_0x5ea7c6={}){const _0x14607e=a0_0x37e120,_0x1ec3f9=this[_0x14607e(0x2ed)](_0x5ea7c6);return{'datasetName':this[_0x14607e(0x27d)],'datasetCode':this[_0x14607e(0x2d8)],'tableName':this['getTableName'](),'totalOperations':_0x1ec3f9['length'],'operations':_0x1ec3f9[_0x14607e(0x264)](_0x3bbf9f=>({'name':_0x3bbf9f[_0x14607e(0x27d)],'displayName':_0x3bbf9f['displayName'],'type':_0x3bbf9f[_0x14607e(0x19f)],'method':_0x3bbf9f[_0x14607e(0x2ae)],'path':_0x3bbf9f['path'],'requestFieldCount':_0x3bbf9f['requestFields'][_0x14607e(0x1ba)]}))};}[a0_0x37e120(0x2db)](_0x12e9d0){const _0x5f56c1=a0_0x37e120,_0x3599af={};return Object['entries'](_0x12e9d0)[_0x5f56c1(0x15c)](([_0x5455b0,_0x21e2ba])=>{const _0x29a871=_0x5f56c1;Array[_0x29a871(0x22a)](_0x21e2ba)&&_0x21e2ba[_0x29a871(0x1ba)]>0x0?_0x3599af[_0x5455b0]=_0x21e2ba[0x0]:_0x3599af[_0x5455b0]=_0x21e2ba;}),_0x3599af;}[a0_0x37e120(0x267)](){const _0x1edae9=a0_0x37e120,_0x392d5d=this[_0x1edae9(0x2d9)](),_0x5764fa=_0x392d5d[_0x1edae9(0x24d)](_0x8175fe=>_0x8175fe[_0x1edae9(0x1b6)]);return{'total':_0x392d5d['length'],'enabled':_0x5764fa[_0x1edae9(0x1ba)],'disabled':_0x392d5d[_0x1edae9(0x1ba)]-_0x5764fa[_0x1edae9(0x1ba)],'byType':this['getOperationCountByType'](_0x5764fa),'byMethod':this[_0x1edae9(0x180)](_0x5764fa)};}[a0_0x37e120(0x149)](_0x23e211){const _0x41b47d=a0_0x37e120,_0x3fd151={};return _0x23e211[_0x41b47d(0x15c)](_0x3f4c46=>{const _0x326b25=_0x41b47d;_0x3f4c46[_0x326b25(0x19f)]&&(_0x3fd151[_0x3f4c46['type']]=(_0x3fd151[_0x3f4c46[_0x326b25(0x19f)]]||0x0)+0x1);}),_0x3fd151;}[a0_0x37e120(0x180)](_0x4e474f){const _0xcc0330=a0_0x37e120,_0x3c73fd={};return _0x4e474f[_0xcc0330(0x15c)](_0x13a909=>{const _0x344419=_0xcc0330;_0x3c73fd[_0x13a909['method']]=(_0x3c73fd[_0x13a909[_0x344419(0x2ae)]]||0x0)+0x1;}),_0x3c73fd;}[a0_0x37e120(0x217)](){const _0x2c8219=a0_0x37e120,_0x512c13=this[_0x2c8219(0x1f6)](),_0x15488a=new Set(_0x512c13[_0x2c8219(0x264)](_0x4ae295=>_0x4ae295['type'])[_0x2c8219(0x24d)](Boolean));return _0x15488a[_0x2c8219(0x186)](_0x2c8219(0x190))&&_0x15488a[_0x2c8219(0x186)]('getList')&&_0x15488a[_0x2c8219(0x186)](_0x2c8219(0x123))&&_0x15488a[_0x2c8219(0x186)](_0x2c8219(0x257));}[a0_0x37e120(0x11c)](){const _0x2b1667=a0_0x37e120,_0xd0af89=this[_0x2b1667(0x1f6)](),_0x385fde=new Set(_0xd0af89[_0x2b1667(0x264)](_0x2357a1=>_0x2357a1['type'])['filter'](Boolean)),_0x5279ec=[_0x2b1667(0x190),_0x2b1667(0x16d),'update','delete'];return _0x5279ec[_0x2b1667(0x24d)](_0xe5a9d6=>!_0x385fde['has'](_0xe5a9d6));}[a0_0x37e120(0x13d)](_0x3f87b8,_0x282ebf,_0x369f1e){const _0x3c0ebf=a0_0x37e120,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=!![]}=_0x369f1e||{},_0x47a027=this[_0x3c0ebf(0x1dd)](_0x3f87b8,{'useFullExample':includeRequestExample});if(!_0x47a027)return null;let _0x5d5c37='';return _0x5d5c37+=_0x3c0ebf(0x247)+_0x47a027['operation'][_0x3c0ebf(0x124)]+_0x3c0ebf(0x191)+_0x47a027[_0x3c0ebf(0x1de)][_0x3c0ebf(0x27d)]+'\x20operation\x0a'+_0x47a027[_0x3c0ebf(0x219)][_0x3c0ebf(0x105)],includeUsageExample&&_0x47a027['usageExample']&&(_0x5d5c37+=_0x3c0ebf(0x1dc)+_0x47a027[_0x3c0ebf(0x293)]['successCode']+'\x0a\x0a'+_0x47a027[_0x3c0ebf(0x293)][_0x3c0ebf(0x122)]),_0x5d5c37;}[a0_0x37e120(0x15d)](_0xb9519d){const _0x5454a8=a0_0x37e120,{includeRequestExample:includeRequestExample=!![],includeUsageExample:includeUsageExample=![]}=_0xb9519d||{},_0x17886d=this[_0x5454a8(0x1f6)]();return _0x17886d['map'](_0x56d016=>this[_0x5454a8(0x13d)](_0x56d016['name'],this[_0x5454a8(0x2d8)],{'includeRequestExample':includeRequestExample,'includeUsageExample':includeUsageExample}))[_0x5454a8(0x156)]('\x0a');}['generateSDKInitCode'](_0x5b43cc,_0x54420b=a0_0x37e120(0x206),_0x427ab8=![]){const _0x581c8a=a0_0x37e120,_0x30fca1=this[_0x581c8a(0x279)](),_0x51b121=this[_0x581c8a(0x2a5)](),_0xcfcbe9=this[_0x581c8a(0x2d8)],_0x4e4412=_0x54420b===_0x581c8a(0x1ce)?_0x581c8a(0x291)+_0x54420b+'\x27,':'',_0x2e8dd0=_0x427ab8?'\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,':'';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'+_0x5b43cc+'\x27,'+_0x2e8dd0+_0x4e4412+'\x0a\x20\x20models:\x20{\x0a\x20\x20\x20\x20'+_0x30fca1+_0x581c8a(0x226)+_0x51b121+_0x581c8a(0x165)+_0xcfcbe9+_0x581c8a(0x1ee);}['toString'](){const _0xe6b000=a0_0x37e120,_0x58a968=this[_0xe6b000(0x267)]();return _0xe6b000(0x11f)+this[_0xe6b000(0x27d)]+',\x20'+this[_0xe6b000(0x2d8)]+',\x20'+this[_0xe6b000(0x12a)]()+_0xe6b000(0x142)+_0x58a968[_0xe6b000(0x1b6)]+'/'+_0x58a968[_0xe6b000(0x1b4)]+'\x20operations)';}}var VERSION=a0_0x37e120(0x181);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 +1 @@
1
- {"version":3,"file":"field-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/plus/field-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEzF;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,QAAQ,YAAY;IACpB,OAAO,WAAW;IAClB,cAAc,iBAAiB;IAC/B,cAAc,iBAAiB;IAC/B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,kBAAkB,qBAAqB;IACvC,YAAY,eAAe;IAC3B,YAAY,gBAAgB;IAC5B,sBAAsB,wBAAwB;IAC9C,aAAa,iBAAiB;IAC9B,aAAa,iBAAiB;IAC9B,SAAS,aAAa;IACtB,eAAe,mBAAmB;CACnC;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAgB5E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,UAUzB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,iBAAiB,CA+B1E;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAanF;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAG7D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAG/D;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGpE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGjE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGjE;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAgBtD,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQrD;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAgBxE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAmBlF;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,eAAe,EACtB,aAAa,EAAE,oBAAoB,EACnC,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAgDT;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,eAAe,EAAE,EACzB,aAAa,EAAE,oBAAoB,EACnC,OAAO,CAAC,EAAE,MAAM,GACf,eAAe,EAAE,CAQnB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAQ/D;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAQpF"}
1
+ {"version":3,"file":"field-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/plus/field-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEzF;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,QAAQ,YAAY;IACpB,OAAO,WAAW;IAClB,cAAc,iBAAiB;IAC/B,cAAc,iBAAiB;IAC/B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,kBAAkB,qBAAqB;IACvC,YAAY,eAAe;IAC3B,YAAY,gBAAgB;IAC5B,sBAAsB,wBAAwB;IAC9C,aAAa,iBAAiB;IAC9B,aAAa,iBAAiB;IAC9B,SAAS,aAAa;IACtB,eAAe,mBAAmB;CACnC;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAgB5E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,UAUzB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,iBAAiB,CA+B1E;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAanF;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAG7D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAG/D;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGpE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGjE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGjE;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAgBtD,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQrD;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAgBxE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAmBlF;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,eAAe,EACtB,aAAa,EAAE,oBAAoB,EACnC,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAsDT;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,eAAe,EAAE,EACzB,aAAa,EAAE,oBAAoB,EACnC,OAAO,CAAC,EAAE,MAAM,GACf,eAAe,EAAE,CAQnB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAQ/D;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAQpF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",