@lovrabet/dsparser 1.3.1-beta.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/src/core/adapter/FieldAdapter.d.ts +3 -7
- package/dist/src/core/adapter/FieldAdapter.d.ts.map +1 -1
- package/dist/src/core/field/FieldBase.d.ts +25 -7
- package/dist/src/core/field/FieldBase.d.ts.map +1 -1
- package/dist/src/core/field/FieldListBase.d.ts +9 -1
- package/dist/src/core/field/FieldListBase.d.ts.map +1 -1
- package/dist/src/core/field/FieldListV2.d.ts +4 -1
- package/dist/src/core/field/FieldListV2.d.ts.map +1 -1
- package/dist/src/core/field/FieldV1.d.ts +10 -0
- package/dist/src/core/field/FieldV1.d.ts.map +1 -1
- package/dist/src/core/field/FieldV2.d.ts +24 -4
- package/dist/src/core/field/FieldV2.d.ts.map +1 -1
- package/dist/src/core/operations/AggregateOperation.d.ts +0 -15
- package/dist/src/core/operations/AggregateOperation.d.ts.map +1 -1
- package/dist/src/core/operations/FilterOperation.d.ts +1 -7
- package/dist/src/core/operations/FilterOperation.d.ts.map +1 -1
- package/dist/src/core/operations/Operation.d.ts +2 -57
- package/dist/src/core/operations/Operation.d.ts.map +1 -1
- package/dist/src/core/operations/UpdateOperation.d.ts +1 -19
- package/dist/src/core/operations/UpdateOperation.d.ts.map +1 -1
- package/dist/src/core/operations/index.d.ts +7 -2
- package/dist/src/core/operations/index.d.ts.map +1 -1
- package/dist/src/core/version/DrivenDataDetailBase.d.ts +2 -4
- package/dist/src/core/version/DrivenDataDetailBase.d.ts.map +1 -1
- package/dist/src/plus/DrivenDataDetailPlus.d.ts +25 -56
- package/dist/src/plus/DrivenDataDetailPlus.d.ts.map +1 -1
- package/dist/src/plus/DrivenDataDetailPlusBase.d.ts +6 -0
- package/dist/src/plus/DrivenDataDetailPlusBase.d.ts.map +1 -1
- package/dist/src/plus/DrivenDataDetailPlusV1.d.ts +1 -0
- package/dist/src/plus/DrivenDataDetailPlusV1.d.ts.map +1 -1
- package/dist/src/plus/DrivenDataDetailPlusV2.d.ts +1 -0
- package/dist/src/plus/DrivenDataDetailPlusV2.d.ts.map +1 -1
- package/dist/src/plus/plus-types.d.ts +77 -16
- package/dist/src/plus/plus-types.d.ts.map +1 -1
- package/dist/src/plus/template-utils.d.ts +10 -0
- package/dist/src/plus/template-utils.d.ts.map +1 -1
- package/dist/src/types/adapter.d.ts +135 -0
- package/dist/src/types/adapter.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +20 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/types/operation.d.ts +124 -0
- package/dist/src/types/operation.d.ts.map +1 -0
- package/dist/src/types/plus.d.ts +484 -0
- package/dist/src/types/plus.d.ts.map +1 -0
- package/dist/src/types/utils.d.ts +188 -0
- package/dist/src/types/utils.d.ts.map +1 -0
- package/dist/src/types/version.d.ts +49 -0
- package/dist/src/types/version.d.ts.map +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x4e0ba7=a0_0x42d0;(function(_0x36df24,_0x326df2){const _0x34de7d=a0_0x42d0,_0x481b75=_0x36df24();while(!![]){try{const _0x565172=parseInt(_0x34de7d(0x30b))/0x1*(-parseInt(_0x34de7d(0x2f6))/0x2)+-parseInt(_0x34de7d(0x1be))/0x3*(-parseInt(_0x34de7d(0x220))/0x4)+-parseInt(_0x34de7d(0x1da))/0x5*(-parseInt(_0x34de7d(0x191))/0x6)+-parseInt(_0x34de7d(0x280))/0x7+parseInt(_0x34de7d(0x334))/0x8*(parseInt(_0x34de7d(0xca))/0x9)+-parseInt(_0x34de7d(0x144))/0xa+parseInt(_0x34de7d(0x28b))/0xb;if(_0x565172===_0x326df2)break;else _0x481b75['push'](_0x481b75['shift']());}catch(_0x314021){_0x481b75['push'](_0x481b75['shift']());}}}(a0_0x450e,0xa0898));function toCamelCase(_0x43ec4f){const _0x5f121c=a0_0x42d0;if(!_0x43ec4f)return'';return _0x43ec4f['split'](/[_-]/)['map']((_0x2c1584,_0x4db6d9)=>{const _0x2bb125=a0_0x42d0;if(_0x4db6d9===0x0)return _0x2c1584[_0x2bb125(0x1cc)]();return _0x2c1584['charAt'](0x0)[_0x2bb125(0x1fb)]()+_0x2c1584[_0x2bb125(0x1f0)](0x1)['toLowerCase']();})[_0x5f121c(0x198)]('');}function toPascalCase(_0x533b57){const _0x26b247=a0_0x42d0;if(!_0x533b57)return'';const _0x152a79=toCamelCase(_0x533b57);return _0x152a79[_0x26b247(0x1f4)](0x0)[_0x26b247(0x1fb)]()+_0x152a79[_0x26b247(0x1f0)](0x1);}function toSnakeCase(_0x37b88a){const _0x36bd5e=a0_0x42d0;if(!_0x37b88a)return'';return _0x37b88a[_0x36bd5e(0x203)](/([A-Z])/g,'_$1')[_0x36bd5e(0x1cc)]()[_0x36bd5e(0x203)](/^_/,'');}function toKebabCase(_0x4c655e){const _0x576424=a0_0x42d0;if(!_0x4c655e)return'';return _0x4c655e[_0x576424(0x203)](/([A-Z])/g,_0x576424(0x110))[_0x576424(0x1cc)]()[_0x576424(0x203)](/^-/,'');}function normalizeFieldName(_0xa09eca){const _0x4b81f4=a0_0x42d0;if(!_0xa09eca)return'';return _0xa09eca[_0x4b81f4(0xdb)]()['replace'](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')[_0x4b81f4(0x203)](/_+/g,'_')[_0x4b81f4(0x203)](/^_|_$/g,'');}function getTableName(_0x3f8e23){const _0x35babd=a0_0x42d0;if(!_0x3f8e23)return'dataset_000000';if(_0x3f8e23['dbtableConfig']?.[_0x35babd(0x2f1)])return _0x3f8e23[_0x35babd(0x2df)][_0x35babd(0x2f1)];const _0x32e998=_0x3f8e23[_0x35babd(0x192)]||_0x3f8e23[_0x35babd(0x297)]||_0x3f8e23[_0x35babd(0x252)];if(_0x32e998)return generateTableNameFromCode(_0x32e998);return _0x35babd(0x121);}function getTableKey(_0x3bb4fe){const _0xd88b75=a0_0x42d0;if(typeof _0x3bb4fe===_0xd88b75(0x208))return toCamelCase(_0x3bb4fe);const _0x115412=getTableName(_0x3bb4fe);return toCamelCase(_0x115412);}function generateTableNameFromCode(_0x37bb8e){const _0x3ac0ce=a0_0x42d0;if(!_0x37bb8e)return _0x3ac0ce(0x121);const _0x25b74b=_0x37bb8e[_0x3ac0ce(0x1f0)](-0x6)['padStart'](0x6,'0');return _0x3ac0ce(0x1fc)+_0x25b74b;}function isVirtualTableName(_0x4d130a){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x4d130a);}function generateModelKeyFromCode(_0x27e52e){if(!_0x27e52e)return'dataset_unknown';return'dataset_'+_0x27e52e;}function getDbName(_0x2fa23f){const _0x55b841=a0_0x42d0;return _0x2fa23f[_0x55b841(0x2df)]?.[_0x55b841(0x2ac)]||_0x2fa23f[_0x55b841(0x2df)]?.['dblinkInfoDTO']?.[_0x55b841(0x2ac)]||'';}function generateDatasetsConfig(_0xbfd6c7,_0x593e2d={}){const _0x406118=a0_0x42d0,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x588a1f,filter:_0xd1e162}=_0x593e2d,_0x166f24=_0xd1e162?_0xbfd6c7['filter'](_0xd1e162):_0xbfd6c7,_0x451532=new Map();for(const _0x53d3df of _0x166f24){const _0x40bced=getTableName(_0x53d3df),_0x4b873f=getDbName(_0x53d3df);!_0x451532['has'](_0x40bced)&&_0x451532[_0x406118(0x27e)](_0x40bced,new Set()),_0x451532[_0x406118(0xb7)](_0x40bced)[_0x406118(0x1a0)](_0x4b873f);}const _0x104df2=new Set();for(const [_0x2f4fc0,_0x1a7f23]of _0x451532){_0x1a7f23[_0x406118(0x291)]>0x1&&_0x104df2[_0x406118(0x1a0)](_0x2f4fc0);}const _0x5162ac={},_0x258044=new Set();for(const _0x49d4b1 of _0x166f24){const _0x3e3d9d=getTableName(_0x49d4b1);if(enableDeduplication&&_0x258044[_0x406118(0x17e)](_0x3e3d9d)){console[_0x406118(0xec)](_0x406118(0xda)+_0x3e3d9d+_0x406118(0x1c3)+_0x49d4b1['name']+'\x20('+_0x49d4b1['datasetCode']+')');continue;}_0x258044[_0x406118(0x1a0)](_0x3e3d9d);const _0x53adcc=_0x588a1f?_0x588a1f(_0x3e3d9d,_0x49d4b1):getTableKey(_0x3e3d9d),_0x3f3545=getDbName(_0x49d4b1),_0x463255=_0x104df2['has'](_0x3e3d9d)&&_0x3f3545?getTableKey(_0x3f3545)+'_'+_0x53adcc:_0x53adcc;_0x5162ac[_0x53adcc]={'key':_0x53adcc,'alias':_0x463255,'tableName':_0x3e3d9d,'datasetCode':_0x49d4b1['datasetCode'],'name':_0x49d4b1[_0x406118(0x2bd)],'id':_0x49d4b1['id'],'dbName':_0x3f3545};}return _0x5162ac;}function generateFullDatasetsConfig(_0x807c65,_0x44863e={}){const _0x5e3858=a0_0x42d0,{filter:_0x1d11e9,datasetNameGenerator:_0x350c5a}=_0x44863e,_0x54911e=_0x1d11e9?_0x807c65[_0x5e3858(0x24b)](_0x1d11e9):_0x807c65,_0x1f91cd=new Map();for(const _0x52ae19 of _0x54911e){const _0x2dda36=getTableName(_0x52ae19),_0x17209d=getDbName(_0x52ae19);!_0x1f91cd[_0x5e3858(0x17e)](_0x2dda36)&&_0x1f91cd['set'](_0x2dda36,new Set()),_0x1f91cd[_0x5e3858(0xb7)](_0x2dda36)[_0x5e3858(0x1a0)](_0x17209d);}const _0x3cbfb9=new Set();for(const [_0x483c18,_0xd9cd46]of _0x1f91cd){_0xd9cd46[_0x5e3858(0x291)]>0x1&&_0x3cbfb9['add'](_0x483c18);}const _0x3a6025=groupByTableName(_0x54911e),_0x67bfaa={};for(const [_0x2a350f,_0x51778c]of Object['entries'](_0x3a6025)){if(_0x51778c[_0x5e3858(0x2f3)]===0x1){const _0x4f382f=_0x51778c[0x0],_0x59dc51=_0x350c5a?_0x350c5a(_0x2a350f,_0x4f382f):getTableKey(_0x2a350f),_0x243dac=getDbName(_0x4f382f),_0x16f9b5=_0x3cbfb9[_0x5e3858(0x17e)](_0x2a350f)&&_0x243dac?getTableKey(_0x243dac)+'_'+_0x59dc51:_0x59dc51;_0x67bfaa[_0x59dc51]={'key':_0x59dc51,'alias':_0x16f9b5,'tableName':_0x2a350f,'datasetCode':_0x4f382f['datasetCode'],'name':_0x4f382f['name'],'id':_0x4f382f['id'],'dbName':_0x243dac};}else{const _0x2512d2=[..._0x51778c]['sort']((_0x3c743c,_0x211adb)=>{const _0x6ec25d=Number(_0x3c743c['id'])||0x0,_0x39d5d4=Number(_0x211adb['id'])||0x0;return _0x39d5d4-_0x6ec25d;});_0x2512d2[_0x5e3858(0x31e)]((_0x4d328a,_0x378ea3)=>{const _0x11db8f=_0x5e3858,_0x51e423=_0x350c5a?_0x350c5a(_0x2a350f,_0x4d328a):getTableKey(_0x2a350f),_0x13cc34=_0x378ea3===0x0?_0x51e423:_0x51e423+'_'+_0x378ea3,_0xe9471c=getDbName(_0x4d328a),_0x5ee580=_0x3cbfb9['has'](_0x2a350f)&&_0xe9471c?getTableKey(_0xe9471c)+'_'+_0x13cc34:_0x13cc34;_0x67bfaa[_0x13cc34]={'key':_0x13cc34,'alias':_0x5ee580,'tableName':_0x2a350f,'datasetCode':_0x4d328a[_0x11db8f(0x192)],'name':_0x4d328a[_0x11db8f(0x2bd)],'id':_0x4d328a['id'],'dbName':_0xe9471c};});}}return _0x67bfaa;}function detectTableNameConflicts(_0x311b90){const _0xec1404=a0_0x42d0,_0x29740d={};for(const _0xc34c3f of _0x311b90){const _0x494ef5=getTableName(_0xc34c3f);!_0x29740d[_0x494ef5]&&(_0x29740d[_0x494ef5]=[]),_0x29740d[_0x494ef5][_0xec1404(0x1ac)](_0xc34c3f);}const _0x3d78e0={};for(const [_0x447683,_0x89c6cc]of Object[_0xec1404(0x1e5)](_0x29740d)){_0x89c6cc[_0xec1404(0x2f3)]>0x1&&(_0x3d78e0[_0x447683]=_0x89c6cc);}return{'hasConflicts':Object[_0xec1404(0x2f9)](_0x3d78e0)['length']>0x0,'conflicts':_0x3d78e0};}function createDatasetNameMap(_0x5e7fc2){const _0x4e70e4=a0_0x42d0,_0x3a332a={};for(const [_0x43acd9,_0x390e8a]of Object[_0x4e70e4(0x1e5)](_0x5e7fc2)){_0x3a332a[_0x43acd9]=_0x390e8a['datasetCode']||'';}return _0x3a332a;}function groupByTableName(_0x3ed277){const _0xaa7ebf=a0_0x42d0,_0x3d337d={};for(const _0x19e4aa of _0x3ed277){const _0x1abe41=getTableName(_0x19e4aa);!_0x3d337d[_0x1abe41]&&(_0x3d337d[_0x1abe41]=[]),_0x3d337d[_0x1abe41][_0xaa7ebf(0x1ac)](_0x19e4aa);}return _0x3d337d;}function datasetsConfigToArray(_0x232152){const _0x1e1a75=a0_0x42d0;return Object[_0x1e1a75(0x2a7)](_0x232152);}function adaptDrivenDataDetail(_0x190550){const _0x5ae2e7=a0_0x42d0;return{'id':_0x190550['modelId'],'name':_0x190550['name'],'datasetCode':_0x190550[_0x5ae2e7(0x252)],'dbtableConfig':_0x190550['dbtableConfig'],'source':_0x190550['source'],'version':_0x190550['version'],'extend':_0x190550['extend'],'properties':_0x190550[_0x5ae2e7(0x223)],'operations':_0x190550['operations']};}function a0_0x42d0(_0x301835,_0x4d9422){const _0x450e54=a0_0x450e();return a0_0x42d0=function(_0x42d0ba,_0x18a692){_0x42d0ba=_0x42d0ba-0xb7;let _0x52c5e5=_0x450e54[_0x42d0ba];return _0x52c5e5;},a0_0x42d0(_0x301835,_0x4d9422);}function adaptDrivenDataDetails(_0x1b3d5a){const _0x3551ff=a0_0x42d0;return _0x1b3d5a[_0x3551ff(0x248)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x1688c8){const _0x9d659b=a0_0x42d0;if(!_0x1688c8[_0x9d659b(0x1b6)]||!_0x1688c8[_0x9d659b(0x2c9)])throw new Error(_0x9d659b(0x287)+(_0x1688c8[_0x9d659b(0x114)]||_0x1688c8['msg']));return adaptDrivenDataDetail(_0x1688c8['data']);}function extractDatasetsFromListResponse(_0x426030){const _0x3a93b2=a0_0x42d0;if(!_0x426030['success']||!_0x426030[_0x3a93b2(0x2c9)]?.[_0x3a93b2(0x1fe)])throw new Error(_0x3a93b2(0x10a)+(_0x426030['errorMsg']||_0x426030['msg']));return _0x426030[_0x3a93b2(0x2c9)]['tableData'][_0x3a93b2(0x248)](_0x53f0af=>({..._0x53f0af,'datasetCode':_0x53f0af[_0x3a93b2(0x297)]||_0x53f0af[_0x3a93b2(0x192)]}));}function isDrivenDataDetail(_0x5aebc9){return Boolean(_0x5aebc9&&typeof _0x5aebc9['modelCode']==='string');}function smartAdapt(_0xb1b99e){const _0x4665d8=a0_0x42d0;if(isDrivenDataDetail(_0xb1b99e))return adaptDrivenDataDetail(_0xb1b99e);if(_0xb1b99e['datasetCode'])return _0xb1b99e;if(_0xb1b99e[_0x4665d8(0x297)])return{..._0xb1b99e,'datasetCode':_0xb1b99e['code']};return _0xb1b99e;}var DatasetOperationType;(_0x130899=>{const _0x276001=a0_0x42d0;_0x130899[_0x276001(0x2c3)]=_0x276001(0x253),_0x130899[_0x276001(0xe3)]=_0x276001(0x118),_0x130899[_0x276001(0x206)]=_0x276001(0x14b),_0x130899[_0x276001(0x21e)]=_0x276001(0xed),_0x130899[_0x276001(0x193)]=_0x276001(0x166),_0x130899[_0x276001(0x1e1)]=_0x276001(0x1c4),_0x130899[_0x276001(0x141)]='delete',_0x130899[_0x276001(0x2aa)]=_0x276001(0x2b8),_0x130899['GET_FILE_URL']=_0x276001(0x2ca),_0x130899[_0x276001(0xdf)]=_0x276001(0x1a9),_0x130899[_0x276001(0x176)]=_0x276001(0x16b),_0x130899[_0x276001(0x305)]=_0x276001(0x2e6),_0x130899['CREATE_EXPORT']='createExport',_0x130899['TASK_INFO']=_0x276001(0x2d8),_0x130899[_0x276001(0x102)]=_0x276001(0x30e);})(DatasetOperationType||={});var OPERATION_TYPE_DISPLAY_NAME={[a0_0x4e0ba7(0x253)]:a0_0x4e0ba7(0x27c),[a0_0x4e0ba7(0x118)]:a0_0x4e0ba7(0x140),[a0_0x4e0ba7(0x14b)]:'查询单条(原始)',[a0_0x4e0ba7(0xed)]:'查询单条(用于更新)',[a0_0x4e0ba7(0x166)]:'创建',[a0_0x4e0ba7(0x1c4)]:'更新',[a0_0x4e0ba7(0x2af)]:'删除',[a0_0x4e0ba7(0x2b8)]:a0_0x4e0ba7(0x2bf),['getFileUrl']:'获取文件URL',['excelExport']:a0_0x4e0ba7(0x14f),[a0_0x4e0ba7(0x16b)]:'获取上传脚本',[a0_0x4e0ba7(0x2e6)]:a0_0x4e0ba7(0x13d),[a0_0x4e0ba7(0x25c)]:a0_0x4e0ba7(0x19c),[a0_0x4e0ba7(0x2d8)]:'任务信息',[a0_0x4e0ba7(0x30e)]:a0_0x4e0ba7(0x17c)},API_BLACKLIST=[a0_0x4e0ba7(0x253),a0_0x4e0ba7(0x14b),a0_0x4e0ba7(0xed),'getFileUrl'];function parseFieldExtend(_0x29a933){const _0x13504e=a0_0x4e0ba7;if(!_0x29a933||typeof _0x29a933!==_0x13504e(0x286))return!![]&&console['warn'](_0x13504e(0x1b5),_0x29a933),{};if(!_0x29a933['extend'])return{};try{const _0x1bcd98=typeof _0x29a933[_0x13504e(0x1d8)]===_0x13504e(0x208)?JSON[_0x13504e(0x135)](_0x29a933[_0x13504e(0x1d8)]):_0x29a933[_0x13504e(0x1d8)];if(typeof _0x1bcd98!=='object'||_0x1bcd98===null)return{};return _0x1bcd98;}catch{return{};}}function isPrimaryKeyField(_0x34b65f,_0x8eb6be){const _0x13ec27=a0_0x4e0ba7;if(!_0x34b65f||typeof _0x34b65f!==_0x13ec27(0x286))return![];if(typeof _0x8eb6be===_0x13ec27(0x208)&&_0x34b65f['code']===_0x8eb6be)return!![];const _0x50a6b7=parseFieldExtend(_0x34b65f);return Boolean(_0x50a6b7[_0x13ec27(0x235)]||_0x50a6b7[_0x13ec27(0x26a)]);}function isSystemField(_0xf7f0d){const _0x165c3d=parseFieldExtend(_0xf7f0d);return Boolean(_0x165c3d['systemRetain']);}function isRequiredField(_0x20f7fd){const _0x35d623=a0_0x4e0ba7,_0x1219ab=parseFieldExtend(_0x20f7fd);return Boolean(_0x1219ab[_0x35d623(0x2db)]);}function isAutoIncrementField(_0x257eaf){const _0xd76ee8=a0_0x4e0ba7,_0x184947=parseFieldExtend(_0x257eaf);return Boolean(_0x184947[_0xd76ee8(0xe6)]);}function isCreateTimeField(_0x5491a3){const _0x2d152b=a0_0x4e0ba7,_0x59c103=parseFieldExtend(_0x5491a3);return Boolean(_0x59c103[_0x2d152b(0x270)]);}function isModifyTimeField(_0x2e21ca){const _0x40bf9e=a0_0x4e0ba7,_0x1b6347=parseFieldExtend(_0x2e21ca);return Boolean(_0x1b6347[_0x40bf9e(0x2ce)]);}var DB_TYPE_DISPLAY_MAP={'NUMBER':'数字','TEXT':'文本','TEXTAREA':a0_0x4e0ba7(0xd6),'DATE':'日期','DATETIME':a0_0x4e0ba7(0x169),'TIMESTAMP':a0_0x4e0ba7(0xc6),'SELECT':'下拉选择','CHECKBOX':'多选','RADIO':'单选','SWITCH':'开关','UPLOAD':a0_0x4e0ba7(0xbd),'IMAGE':'图片','RICH_TEXT':a0_0x4e0ba7(0x323),'JSON':'JSON','ARRAY':'数组'};function getDbTypeDisplay(_0x192857){const _0x994fdf=a0_0x4e0ba7;if(typeof _0x192857!==_0x994fdf(0x208))return!![]&&console[_0x994fdf(0xec)](_0x994fdf(0x2d2),_0x192857),String(_0x192857||'-');return DB_TYPE_DISPLAY_MAP[_0x192857]||_0x192857;}function formatDbType(_0x253deb,_0x47ddb0){const _0x1b0c8d=a0_0x4e0ba7;if(!_0x253deb||typeof _0x253deb!=='string')return'-';if(!_0x47ddb0||typeof _0x47ddb0!==_0x1b0c8d(0x2c8))return _0x253deb;const _0x1bd6ee=[_0x1b0c8d(0x271),_0x1b0c8d(0xf5),_0x1b0c8d(0x1d9),_0x1b0c8d(0xfa)];if(_0x1bd6ee[_0x1b0c8d(0x201)](_0x253deb[_0x1b0c8d(0x1fb)]()))return _0x253deb;return _0x253deb+'('+_0x47ddb0+')';}function parseOperationType(_0x1b3387){const _0x54d5e7=a0_0x4e0ba7;if(typeof _0x1b3387!==_0x54d5e7(0x208)){!![]&&console[_0x54d5e7(0xec)]('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x1b3387);return;}if(Object[_0x54d5e7(0x2a7)](DatasetOperationType)[_0x54d5e7(0x201)](_0x1b3387))return _0x1b3387;const _0x4757ef=Object[_0x54d5e7(0x1e5)](OPERATION_TYPE_DISPLAY_NAME)[_0x54d5e7(0x2a2)](([_0x3b0f30,_0x1acd62])=>_0x1acd62===_0x1b3387);return _0x4757ef?_0x4757ef[0x0]:undefined;}function shouldIncludeField(_0x3ff5f9,_0x496983,_0x591f72){const _0x31ec5a=a0_0x4e0ba7,_0x1c5f77=parseFieldExtend(_0x3ff5f9),_0x126e8e=isPrimaryKeyField(_0x3ff5f9,_0x591f72),_0x117a00=Boolean(_0x1c5f77[_0x31ec5a(0x228)]),_0x1638ac=Boolean(_0x1c5f77['autoIncrement']),_0x4e44e7=Boolean(_0x1c5f77[_0x31ec5a(0x270)]),_0x518b6a=Boolean(_0x1c5f77[_0x31ec5a(0x2ce)]);switch(_0x496983){case _0x31ec5a(0x253):return!![];case _0x31ec5a(0x118):case _0x31ec5a(0x14b):case'delete':return _0x126e8e;case _0x31ec5a(0x166):if(_0x126e8e&&_0x1638ac)return![];if(_0x117a00)return![];if(_0x4e44e7||_0x518b6a)return![];return!![];case _0x31ec5a(0x1c4):case _0x31ec5a(0xed):if(_0x126e8e)return!![];if(_0x117a00)return![];if(_0x4e44e7||_0x518b6a)return![];return!![];case _0x31ec5a(0x2b8):return _0x3ff5f9[_0x31ec5a(0x297)]===_0x31ec5a(0x297);default:return!![];}}function getFieldsForOperation(_0x209673,_0xd7303b,_0x244e34){const _0x413506=a0_0x4e0ba7;if(!Array['isArray'](_0x209673))return!![]&&console['warn'](_0x413506(0x172),_0x209673),[];return _0x209673[_0x413506(0x24b)](_0x37eec4=>shouldIncludeField(_0x37eec4,_0xd7303b,_0x244e34));}function isApiBlacklisted(_0xe05f95){const _0x32ea6e=a0_0x4e0ba7;if(typeof _0xe05f95!==_0x32ea6e(0x208))return!![]&&console[_0x32ea6e(0xec)]('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0xe05f95),![];return API_BLACKLIST['includes'](_0xe05f95);}function filterApiOperations(_0x5c2137){const _0x343967=a0_0x4e0ba7;if(!Array[_0x343967(0x25f)](_0x5c2137))return!![]&&console[_0x343967(0xec)](_0x343967(0x2fe),_0x5c2137),[];return _0x5c2137[_0x343967(0x24b)](_0x1c61c3=>_0x1c61c3&&typeof _0x1c61c3===_0x343967(0x286)&&!isApiBlacklisted(_0x1c61c3[_0x343967(0x2bd)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x4e0ba7(0x304)](),'DATE':()=>Date[a0_0x4e0ba7(0x304)](),'SELECT':({fieldInfo:_0x2072df})=>{const _0x29e0e4=a0_0x4e0ba7;if(_0x2072df?.[_0x29e0e4(0x18f)]&&Array[_0x29e0e4(0x25f)](_0x2072df[_0x29e0e4(0x18f)])&&_0x2072df[_0x29e0e4(0x18f)][_0x29e0e4(0x2f3)]>0x0)return _0x2072df[_0x29e0e4(0x18f)][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x777dfa})=>{const _0x291aa3=a0_0x4e0ba7;if(_0x777dfa===_0x291aa3(0x1db))return 0x1;if(_0x777dfa==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x4fd67a})=>{const _0x155165=a0_0x4e0ba7;if(_0x4fd67a&&typeof _0x4fd67a==='string'){const _0x237972=_0x4fd67a[_0x155165(0x1cc)]();if(_0x237972['includes']('邮箱')||_0x237972[_0x155165(0x201)](_0x155165(0x195)))return'user@example.com';if(_0x237972[_0x155165(0x201)]('电话')||_0x237972[_0x155165(0x201)]('手机')||_0x237972[_0x155165(0x201)](_0x155165(0x300)))return'13800138000';if(_0x237972['includes']('地址')||_0x237972[_0x155165(0x201)](_0x155165(0xf2)))return'北京市朝阳区';if(_0x237972[_0x155165(0x201)]('姓名')||_0x237972[_0x155165(0x201)](_0x155165(0x2bd)))return'张三';}return _0x155165(0x1e6);},'VARCHAR':({description:_0x46774d})=>TYPE_VALUE_GENERATORS[a0_0x4e0ba7(0x271)]({'description':_0x46774d}),'CHAR':({description:_0x3b2fdc})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x3b2fdc}),'STRING':({fieldInfo:_0x1d59ae,description:_0x1c9752})=>{const _0x327a07=a0_0x4e0ba7;if(_0x1d59ae?.['placeholder']&&typeof _0x1d59ae[_0x327a07(0x2ae)]===_0x327a07(0x208)&&_0x1d59ae[_0x327a07(0x2ae)]!==_0x327a07(0x129))return _0x1d59ae[_0x327a07(0x2ae)][_0x327a07(0x203)](/^请输入|^请选择/,'');return TYPE_VALUE_GENERATORS[_0x327a07(0x271)]({'description':_0x1c9752});},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x4e0ba7(0x2e4),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x4e0ba7(0x2b4)}),'ARRAY':()=>[a0_0x4e0ba7(0x142),a0_0x4e0ba7(0x24a)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x4e0ba7(0x32e),'RICH_TEXT':()=>a0_0x4e0ba7(0x261)};function generateExampleValue(_0xa7f44e,_0x36ee18,_0x3c6340,_0x21dbbb={}){const _0x16bb79=a0_0x4e0ba7;typeof _0xa7f44e!==_0x16bb79(0x208)&&(!![]&&console[_0x16bb79(0xec)](_0x16bb79(0x2f0),_0xa7f44e),_0xa7f44e=String(_0xa7f44e||''));if(typeof _0x36ee18!==_0x16bb79(0x208))return!![]&&console[_0x16bb79(0xec)](_0x16bb79(0x199),_0x36ee18),'示例值';const {isPrimaryKey:_0x237ecb,dbtableConfig:_0x426f5f}=_0x21dbbb;if(_0x237ecb)return 0x1;if(_0x426f5f&&typeof _0x426f5f===_0x16bb79(0x286)){const _0x4102c5=_0x426f5f['createTimeField']?.['fieldName']===_0xa7f44e,_0x4c72c2=_0x426f5f['updateTimeField']?.['fieldName']===_0xa7f44e;if(_0x4102c5||_0x4c72c2){if(_0x3c6340&&typeof _0x3c6340===_0x16bb79(0x208)&&_0x3c6340[_0x16bb79(0x1fb)]()['includes']('TIMESTAMP'))return Date['now']();return new Date()['toISOString']()[_0x16bb79(0x203)]('T','\x20')['split']('.')[0x0];}}const _0x20356e={..._0x21dbbb,'fieldCode':_0xa7f44e};if(_0x3c6340&&typeof _0x3c6340===_0x16bb79(0x208)){const _0xa51f83=_0x3c6340[_0x16bb79(0x1fb)](),_0x266cc5=TYPE_VALUE_GENERATORS[_0xa51f83];if(_0x266cc5)return _0x266cc5(_0x20356e);}if(_0x36ee18&&typeof _0x36ee18===_0x16bb79(0x208)){const _0x47e6d8=_0x36ee18['toUpperCase'](),_0x31d714=TYPE_VALUE_GENERATORS[_0x47e6d8];if(_0x31d714)return _0x31d714(_0x20356e);}return _0x16bb79(0x187);}function generateExampleFromSchema(_0x286350,_0x51f91b){const _0x11a040=a0_0x4e0ba7;if(!_0x286350||typeof _0x286350!==_0x11a040(0x286))return{};if(Array[_0x11a040(0x25f)](_0x286350)){if(_0x286350[_0x11a040(0x2f3)]>0x0)return[generateExampleFromSchema(_0x286350[0x0],_0x51f91b)];return[];}const _0x1f6fa3={};return Object[_0x11a040(0x2f9)](_0x286350)['forEach'](_0x134ea6=>{const _0x5bf901=_0x11a040,_0x37b273=_0x286350[_0x134ea6];if(_0x37b273&&typeof _0x37b273===_0x5bf901(0x286)&&!Array['isArray'](_0x37b273)&&_0x37b273[_0x5bf901(0x14a)]){const _0xd02c69=_0x37b273,_0xfd3e9e=_0xd02c69[_0x5bf901(0x14a)],_0x4d1533=_0xd02c69['description'];typeof _0xfd3e9e===_0x5bf901(0x208)?_0x1f6fa3[_0x134ea6]=generateExampleValue(_0x134ea6,_0xfd3e9e,undefined,{'description':_0x4d1533,'dbtableConfig':_0x51f91b}):_0x1f6fa3[_0x134ea6]=_0x5bf901(0x187);}else{if(Array[_0x5bf901(0x25f)](_0x37b273))_0x1f6fa3[_0x134ea6]=_0x37b273[_0x5bf901(0x2f3)]>0x0?[generateExampleFromSchema(_0x37b273[0x0],_0x51f91b)]:[];else _0x37b273&&typeof _0x37b273===_0x5bf901(0x286)?_0x1f6fa3[_0x134ea6]=generateExampleFromSchema(_0x37b273,_0x51f91b):_0x1f6fa3[_0x134ea6]=_0x37b273;}}),_0x1f6fa3;}function parseRequestBody(_0x83e6c3){const _0x5527f5=a0_0x4e0ba7;if(!_0x83e6c3)return{};try{return JSON[_0x5527f5(0x135)](_0x83e6c3);}catch(_0x3f6f5d){return!![]&&console[_0x5527f5(0xec)](_0x5527f5(0x168),_0x3f6f5d),{};}}function parseResponseBody(_0x48ce44){const _0x2724e9=a0_0x4e0ba7;if(!_0x48ce44)return null;try{const _0x1f898b=JSON[_0x2724e9(0x135)](_0x48ce44);return _0x1f898b[_0x2724e9(0xd4)]||_0x1f898b;}catch(_0x4692a3){return!![]&&console[_0x2724e9(0xec)](_0x2724e9(0x2ad),_0x4692a3),null;}}function generateRequestExample(_0x4b5de2,_0x3a992c,_0x125185,_0x2d9d4d){const _0x153d6e=a0_0x4e0ba7,_0x1b8031={};if(!Array[_0x153d6e(0x25f)](_0x4b5de2))return!![]&&console[_0x153d6e(0xec)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x4b5de2),_0x1b8031;return _0x4b5de2[_0x153d6e(0x31e)](_0x35c5e8=>{const _0x287125=_0x153d6e;if(!_0x35c5e8||typeof _0x35c5e8!==_0x287125(0x286)){!![]&&console[_0x287125(0xec)]('[generateRequestExample]\x20Invalid\x20field:',_0x35c5e8);return;}if(typeof _0x35c5e8[_0x287125(0x297)]!==_0x287125(0x208)||typeof _0x35c5e8[_0x287125(0x14a)]!==_0x287125(0x208)){!![]&&console['warn'](_0x287125(0x277),_0x35c5e8);return;}const _0x2fca0d=parseFieldExtend(_0x35c5e8),_0x5c2c5f=_0x35c5e8['code']===_0x125185||Boolean(_0x2fca0d?.[_0x287125(0x235)]),_0x418063=generateExampleValue(_0x35c5e8[_0x287125(0x297)],_0x35c5e8['type'],typeof _0x35c5e8[_0x287125(0xff)]==='string'?_0x35c5e8[_0x287125(0xff)]:undefined,{'fieldInfo':_0x2fca0d,'isPrimaryKey':_0x5c2c5f,'description':_0x35c5e8[_0x287125(0x27d)]||_0x35c5e8['name'],'dbtableConfig':_0x2d9d4d});_0x1b8031[_0x35c5e8['code']]=_0x418063;}),_0x3a992c===_0x153d6e(0x253)&&(_0x1b8031[_0x153d6e(0x1db)]=0x1,_0x1b8031[_0x153d6e(0x11e)]=0xa),_0x1b8031;}function formatEnumValue(_0x5bb25e,_0x3ee5c2){const _0x1338ac=a0_0x4e0ba7;if(_0x5bb25e[_0x1338ac(0x20f)]&&Array[_0x1338ac(0x25f)](_0x3ee5c2))return _0x3ee5c2[_0x1338ac(0x248)](_0x32cbf0=>_0x5bb25e['valueLabels'][String(_0x32cbf0)]||String(_0x32cbf0))[_0x1338ac(0x198)](',\x20');return _0x5bb25e['valueLabels'][String(_0x3ee5c2)]||String(_0x3ee5c2);}function formatOptionsForDoc(_0x80f31f){const _0x3460e3=a0_0x4e0ba7;return _0x80f31f[_0x3460e3(0x248)](_0x5948df=>_0x5948df[_0x3460e3(0x2b4)]+'('+_0x5948df['label']+')')[_0x3460e3(0x198)](',\x20');}function formatOptionsAsMarkdownList(_0x5ee92d,_0x232c29=0x0){const _0x54a7f0=a0_0x4e0ba7,_0x4c23ee='\x20\x20'[_0x54a7f0(0x244)](_0x232c29),_0x3cb1b9=[];return _0x5ee92d[_0x54a7f0(0x31e)](_0xc6b4e3=>{const _0x36f660=_0x54a7f0;_0x3cb1b9[_0x36f660(0x1ac)](_0x4c23ee+_0x36f660(0x137)+_0xc6b4e3[_0x36f660(0x2b4)]+_0x36f660(0x13f)+_0xc6b4e3[_0x36f660(0x1e8)]),_0xc6b4e3[_0x36f660(0x315)]&&_0xc6b4e3[_0x36f660(0x315)][_0x36f660(0x2f3)]>0x0&&_0x3cb1b9[_0x36f660(0x1ac)](formatOptionsAsMarkdownList(_0xc6b4e3['children'],_0x232c29+0x1));}),_0x3cb1b9[_0x54a7f0(0x198)]('\x0a');}class DbtableConfig{[a0_0x4e0ba7(0x2a1)];constructor(_0x443c75){const _0x4b89cd=a0_0x4e0ba7;this[_0x4b89cd(0x2a1)]={..._0x443c75};}get['dbId'](){const _0x1aab73=a0_0x4e0ba7;return this[_0x1aab73(0x2a1)]['dbId'];}get['dbName'](){const _0x41214b=a0_0x4e0ba7;return this['_raw'][_0x41214b(0x2ac)]??this[_0x41214b(0x2a1)][_0x41214b(0x295)]?.['dbName'];}get[a0_0x4e0ba7(0x2f1)](){const _0x2db560=a0_0x4e0ba7;return this[_0x2db560(0x2a1)][_0x2db560(0x2f1)];}get[a0_0x4e0ba7(0x18a)](){const _0x3a1673=a0_0x4e0ba7;return this[_0x3a1673(0x2a1)][_0x3a1673(0x18a)];}get[a0_0x4e0ba7(0x26a)](){const _0x5867ec=a0_0x4e0ba7;return this[_0x5867ec(0x2a1)][_0x5867ec(0x26a)];}get[a0_0x4e0ba7(0x14d)](){const _0x1a5ecb=a0_0x4e0ba7;return this[_0x1a5ecb(0x2a1)][_0x1a5ecb(0x14d)];}get[a0_0x4e0ba7(0x272)](){const _0x23ac40=a0_0x4e0ba7;return this[_0x23ac40(0x2a1)][_0x23ac40(0x272)];}get[a0_0x4e0ba7(0x281)](){const _0x4d075f=a0_0x4e0ba7;return this[_0x4d075f(0x2a1)][_0x4d075f(0x281)];}get[a0_0x4e0ba7(0x19b)](){const _0x2ce43a=a0_0x4e0ba7;return this[_0x2ce43a(0x2a1)][_0x2ce43a(0x19b)];}get[a0_0x4e0ba7(0x293)](){const _0x2dddfb=a0_0x4e0ba7;return this[_0x2dddfb(0x2a1)][_0x2dddfb(0x293)];}get[a0_0x4e0ba7(0x27f)](){const _0x1bced8=a0_0x4e0ba7;return this[_0x1bced8(0x2a1)]['creatorNameField'];}get[a0_0x4e0ba7(0x28a)](){const _0x1987ae=a0_0x4e0ba7;return this['_raw'][_0x1987ae(0x28a)];}get[a0_0x4e0ba7(0x104)](){const _0x45834c=a0_0x4e0ba7;return this[_0x45834c(0x2a1)][_0x45834c(0x104)];}get['dblinkInfoDTO'](){const _0x5bed29=a0_0x4e0ba7;return this[_0x5bed29(0x2a1)][_0x5bed29(0x295)];}[a0_0x4e0ba7(0x15c)](){const _0x335607=a0_0x4e0ba7;if(!this['_raw']['allFields'])return[];return this['_raw']['allFields'][_0x335607(0x2e9)](',')['map'](_0x258383=>_0x258383[_0x335607(0xdb)]())['filter'](Boolean);}[a0_0x4e0ba7(0x1e3)](){const _0x4ccc5e=a0_0x4e0ba7;return this[_0x4ccc5e(0x2a1)]['allFields'];}[a0_0x4e0ba7(0x17d)](_0xc1f0e1){const _0x251c1d=a0_0x4e0ba7;return this[_0x251c1d(0x15c)]()[_0x251c1d(0x201)](_0xc1f0e1);}[a0_0x4e0ba7(0x2d3)](){const _0x40ca56=a0_0x4e0ba7;return Boolean(this[_0x40ca56(0x2a1)][_0x40ca56(0x2f1)]);}[a0_0x4e0ba7(0x2e7)](){const _0xb2c454=a0_0x4e0ba7;return Boolean(this[_0xb2c454(0x2a1)][_0xb2c454(0x295)]);}['hasLogicField'](){const _0x1e4279=a0_0x4e0ba7;return Boolean(this['_raw']['logicField']?.[_0x1e4279(0x32f)]);}[a0_0x4e0ba7(0x171)](){const _0x4750d6=a0_0x4e0ba7;return Boolean(this['_raw'][_0x4750d6(0x281)]?.[_0x4750d6(0x32f)]);}[a0_0x4e0ba7(0x160)](){const _0x1f5fa7=a0_0x4e0ba7;return Boolean(this['_raw'][_0x1f5fa7(0x19b)]?.['fieldName']);}['hasCreatorIdField'](){const _0x439e19=a0_0x4e0ba7;return Boolean(this[_0x439e19(0x2a1)][_0x439e19(0x293)]?.['fieldName']);}[a0_0x4e0ba7(0x15f)](){const _0x12262a=a0_0x4e0ba7;return Boolean(this[_0x12262a(0x2a1)][_0x12262a(0x28a)]?.['fieldName']);}[a0_0x4e0ba7(0xd0)](_0x9ea980){const _0x15bdfc=a0_0x4e0ba7;return this[_0x15bdfc(0x2a1)]['pkField']===_0x9ea980;}[a0_0x4e0ba7(0x16e)](_0x206383){const _0x5a9ddb=a0_0x4e0ba7;return this[_0x5a9ddb(0xd0)](_0x206383)||this[_0x5a9ddb(0x2a1)][_0x5a9ddb(0x272)]?.[_0x5a9ddb(0x32f)]===_0x206383||this[_0x5a9ddb(0x2a1)][_0x5a9ddb(0x281)]?.[_0x5a9ddb(0x32f)]===_0x206383||this['_raw'][_0x5a9ddb(0x19b)]?.[_0x5a9ddb(0x32f)]===_0x206383||this[_0x5a9ddb(0x2a1)][_0x5a9ddb(0x293)]?.['fieldName']===_0x206383||this[_0x5a9ddb(0x2a1)][_0x5a9ddb(0x27f)]?.['fieldName']===_0x206383||this[_0x5a9ddb(0x2a1)][_0x5a9ddb(0x28a)]?.['fieldName']===_0x206383||this[_0x5a9ddb(0x2a1)][_0x5a9ddb(0x104)]?.['fieldName']===_0x206383;}[a0_0x4e0ba7(0x202)](){const _0x4c8ec2=a0_0x4e0ba7;return this['_raw'][_0x4c8ec2(0x295)]?.[_0x4c8ec2(0x2ac)];}['getDatabaseType'](){const _0x2ce954=a0_0x4e0ba7;return this[_0x2ce954(0x2a1)][_0x2ce954(0x295)]?.[_0x2ce954(0xff)];}[a0_0x4e0ba7(0xd9)](){const _0xfe2b60=a0_0x4e0ba7;return this[_0xfe2b60(0x2a1)]['dblinkInfoDTO']?.[_0xfe2b60(0xc4)];}['getTenantCode'](){const _0x3b0d14=a0_0x4e0ba7;return this[_0x3b0d14(0x2a1)][_0x3b0d14(0x295)]?.[_0x3b0d14(0xce)];}[a0_0x4e0ba7(0x312)](){const _0x8fd627=a0_0x4e0ba7;return this[_0x8fd627(0x2a1)]['dblinkInfoDTO']?.[_0x8fd627(0x28c)];}[a0_0x4e0ba7(0x11d)](){const _0x3226d9=a0_0x4e0ba7;return this[_0x3226d9(0x2a1)][_0x3226d9(0x295)]?.['systemAnalysisResult'];}['getStats'](){const _0x35226d=a0_0x4e0ba7;return{'hasTableName':this[_0x35226d(0x2d3)](),'hasDblinkInfo':this[_0x35226d(0x2e7)](),'fieldCount':this[_0x35226d(0x15c)]()[_0x35226d(0x2f3)],'systemFields':{'hasLogicField':this[_0x35226d(0x1dd)](),'hasCreateTimeField':this[_0x35226d(0x171)](),'hasUpdateTimeField':this[_0x35226d(0x160)](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x35226d(0x15f)]()}};}[a0_0x4e0ba7(0x289)](){const _0x2bcb44=a0_0x4e0ba7;return{'tableName':this['tableName'],'pkField':this[_0x2bcb44(0x26a)],'datasetKey':this[_0x2bcb44(0x18a)],'dbId':this['dbId']};}['toJSON'](){const _0x5bb26f=a0_0x4e0ba7;return{...this[_0x5bb26f(0x2a1)]};}[a0_0x4e0ba7(0x13a)](){const _0x46fc3f=a0_0x4e0ba7;return{...this[_0x46fc3f(0x2a1)]};}[a0_0x4e0ba7(0x227)](){const _0x31d8a2=a0_0x4e0ba7,_0x5f2b56=this[_0x31d8a2(0x2f1)]||'N/A',_0x45d638=this['getAllFieldsArray']()['length'];return _0x31d8a2(0x27b)+_0x5f2b56+_0x31d8a2(0x22f)+_0x45d638+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x4e0ba7(0x2a1)];constructor(_0x4f9965){const _0x2056eb=a0_0x4e0ba7,_0x250874=_0x4f9965['datasetCode']||_0x4f9965['code']||_0x4f9965[_0x2056eb(0x252)];this[_0x2056eb(0x2a1)]={..._0x4f9965,'datasetCode':_0x250874};}get['id'](){const _0x7053bc=a0_0x4e0ba7;return this[_0x7053bc(0x2a1)]['id'];}get[a0_0x4e0ba7(0x2bd)](){const _0x59b729=a0_0x4e0ba7;return this[_0x59b729(0x2a1)][_0x59b729(0x2bd)];}[a0_0x4e0ba7(0xf8)](){return this['name'];}get[a0_0x4e0ba7(0x192)](){const _0x336ea8=a0_0x4e0ba7;return this[_0x336ea8(0x2a1)][_0x336ea8(0x192)]||'';}get['dbtableConfig'](){const _0x4c1e6b=a0_0x4e0ba7;if(!this['_raw'][_0x4c1e6b(0x2df)])return null;return new DbtableConfig(this[_0x4c1e6b(0x2a1)][_0x4c1e6b(0x2df)]);}[a0_0x4e0ba7(0x2d6)](){const _0x1bd3c1=a0_0x4e0ba7;return this[_0x1bd3c1(0x2a1)][_0x1bd3c1(0x2df)];}[a0_0x4e0ba7(0x2cc)](){const _0x2f7f35=a0_0x4e0ba7;return this[_0x2f7f35(0x2df)]?.[_0x2f7f35(0x2ac)]||'';}['getTableName'](){const _0x300942=a0_0x4e0ba7;return getTableName(this[_0x300942(0x2a1)]);}[a0_0x4e0ba7(0x232)](){const _0x5ce7a9=a0_0x4e0ba7;return getTableKey(this[_0x5ce7a9(0x1b1)]());}[a0_0x4e0ba7(0x165)](){const _0x239233=a0_0x4e0ba7;return generateModelKeyFromCode(this[_0x239233(0x192)]);}[a0_0x4e0ba7(0x2be)](){const _0x770bc5=a0_0x4e0ba7;return isVirtualTableName(this[_0x770bc5(0x1b1)]());}[a0_0x4e0ba7(0x1a7)](){return getTableKey(this['getTableName']());}[a0_0x4e0ba7(0x289)](){const _0x5ace5b=a0_0x4e0ba7,_0x47c55d=getTableKey(this[_0x5ace5b(0x1b1)]());return{'key':_0x47c55d,'alias':_0x47c55d,'tableName':this[_0x5ace5b(0x1b1)](),'datasetCode':this[_0x5ace5b(0x192)],'name':this['name']};}['toJSON'](){const _0x2ad1d3=a0_0x4e0ba7;return{...this[_0x2ad1d3(0x2a1)],'datasetCode':this[_0x2ad1d3(0x192)]};}[a0_0x4e0ba7(0x13a)](){const _0x59c052=a0_0x4e0ba7;return{...this[_0x59c052(0x2a1)]};}[a0_0x4e0ba7(0x16a)](){const _0x557f9c=a0_0x4e0ba7,_0x147b1f=this['dbtableConfig'];return _0x147b1f!==null&&_0x147b1f[_0x557f9c(0x2d3)]();}[a0_0x4e0ba7(0xcd)](_0x2a61cb){const _0xd00e1a=a0_0x4e0ba7;return this[_0xd00e1a(0x2a1)][_0x2a61cb];}['hasExtendField'](_0x5d7dec){const _0x3fc2cc=a0_0x4e0ba7;return _0x5d7dec in this[_0x3fc2cc(0x2a1)];}[a0_0x4e0ba7(0x227)](){const _0x24450c=a0_0x4e0ba7;return _0x24450c(0x2b3)+this[_0x24450c(0x2bd)]+',\x20'+this[_0x24450c(0x192)]+')';}}class Operation{['name'];[a0_0x4e0ba7(0x2a1)];['context'];constructor(_0x14f107,_0x472818,_0x1473e6){const _0x576567=a0_0x4e0ba7;this[_0x576567(0x2bd)]=_0x14f107,this[_0x576567(0x2a1)]=_0x472818,this[_0x576567(0xee)]=_0x1473e6;}[a0_0x4e0ba7(0xf8)](){const _0x24ffa7=a0_0x4e0ba7;return this[_0x24ffa7(0x2bd)];}['getDisplayName'](){const _0x30deac=a0_0x4e0ba7;return OPERATION_TYPE_DISPLAY_NAME[this[_0x30deac(0x2bd)]]||this[_0x30deac(0x2bd)];}['getType'](){const _0x4ae2b4=a0_0x4e0ba7;return parseOperationType(this[_0x4ae2b4(0x2bd)]);}['isEnabled'](){const _0x3564f1=a0_0x4e0ba7;return this[_0x3564f1(0x2a1)]!==null&&this[_0x3564f1(0x2a1)]!==![];}[a0_0x4e0ba7(0x148)](){const _0x4b2d6d=a0_0x4e0ba7,_0x54faff=this[_0x4b2d6d(0x2a1)];if(_0x54faff===![]||_0x54faff===null)return'';return _0x54faff[_0x4b2d6d(0x157)]||_0x4b2d6d(0x2f4);}[a0_0x4e0ba7(0x1a1)](){const _0x1d794f=a0_0x4e0ba7,_0x25be9f=this[_0x1d794f(0x2a1)];if(_0x25be9f===![]||_0x25be9f===null)return'';return _0x25be9f[_0x1d794f(0x217)]||'';}['getFullUrl'](){const _0x568fe8=a0_0x4e0ba7,_0x3c066b=this['_raw'];let _0x231fc1='';_0x3c066b!==![]&&_0x3c066b!==null&&_0x3c066b[_0x568fe8(0x2dd)]&&(_0x231fc1=_0x3c066b[_0x568fe8(0x2dd)]);const _0xd68f7=this['getPath']();return _0x231fc1&&_0xd68f7?''+_0x231fc1+_0xd68f7:_0xd68f7;}[a0_0x4e0ba7(0x245)](){const _0x13587c=a0_0x4e0ba7,_0x113fb1=this[_0x13587c(0x2a1)];if(_0x113fb1===![]||_0x113fb1===null||!_0x113fb1[_0x13587c(0x216)])return{};try{return JSON['parse'](_0x113fb1[_0x13587c(0x216)]);}catch{return{};}}['parseRawResponseBody'](){const _0x578c7b=a0_0x4e0ba7,_0x18bb47=this[_0x578c7b(0x2a1)];if(_0x18bb47===![]||_0x18bb47===null||!_0x18bb47[_0x578c7b(0x212)])return null;try{return JSON[_0x578c7b(0x135)](_0x18bb47[_0x578c7b(0x212)]);}catch{return null;}}[a0_0x4e0ba7(0x260)](){const _0x6e8501=a0_0x4e0ba7;return this[_0x6e8501(0x245)]();}[a0_0x4e0ba7(0xe7)](){const _0x5aab16=a0_0x4e0ba7;return this[_0x5aab16(0x1c1)]();}[a0_0x4e0ba7(0x256)](){const _0x1d7a8f=a0_0x4e0ba7,_0x29a017=this[_0x1d7a8f(0x260)]();return Object[_0x1d7a8f(0x2f9)](_0x29a017);}['generateRequestExample'](){const _0x391190=a0_0x4e0ba7,_0x5ec615=this['getRequestParams'](),_0x1f41df={};return Object[_0x391190(0x1e5)](_0x5ec615)[_0x391190(0x31e)](([_0x14476d,_0x166acd])=>{const _0x366274=_0x391190,_0x43475f=_0x166acd;_0x1f41df[_0x14476d]=generateExampleValue(_0x14476d,_0x43475f[_0x366274(0x14a)]||'String',undefined,{'description':_0x43475f[_0x366274(0x27d)]});}),_0x1f41df;}[a0_0x4e0ba7(0x2ea)](){return this['generateRequestExample']();}['generateResponseExample'](){const _0x1642e6=a0_0x4e0ba7,_0x4502ac=this[_0x1642e6(0x1c1)]();if(!_0x4502ac)return{'success':!![],'msg':_0x1642e6(0x15a),'errorMsg':'','errorCode':_0x1642e6(0x2e3),'data':null};return this['generateFromSchema'](_0x4502ac);}['generateFromSchema'](_0x5813ad){const _0x4ca561=a0_0x4e0ba7;if(!_0x5813ad||typeof _0x5813ad!==_0x4ca561(0x286))return{};if(Array[_0x4ca561(0x25f)](_0x5813ad))return _0x5813ad[_0x4ca561(0x2f3)]>0x0?[this[_0x4ca561(0x215)](_0x5813ad[0x0])]:[];const _0x3c51a6={};for(const [_0x5eeb6f,_0x1fef3c]of Object['entries'](_0x5813ad)){if(_0x1fef3c&&typeof _0x1fef3c===_0x4ca561(0x286)&&!Array['isArray'](_0x1fef3c)){const _0x1bd140=_0x1fef3c;_0x3c51a6[_0x5eeb6f]=generateExampleValue(_0x5eeb6f,_0x1bd140[_0x4ca561(0x14a)]||'String',undefined,{'description':_0x1bd140[_0x4ca561(0x27d)]});}else Array['isArray'](_0x1fef3c)?_0x3c51a6[_0x5eeb6f]=_0x1fef3c[_0x4ca561(0x2f3)]>0x0?[this[_0x4ca561(0x215)](_0x1fef3c[0x0])]:[]:_0x3c51a6[_0x5eeb6f]=_0x1fef3c;}return _0x3c51a6;}[a0_0x4e0ba7(0x14c)](_0x3cb646,_0x155b41,_0x5c0e1a,_0xda1e81){return generateExampleValue(_0x3cb646,_0x155b41,_0x5c0e1a,_0xda1e81);}['generateSDKCallCode'](_0x38b90c,_0x2b03b0){const _0xec80f2=a0_0x4e0ba7,_0x226c18=this[_0xec80f2(0xf8)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x38b90c+'.'+_0x226c18+_0xec80f2(0xf0);}['generateUsageExample'](_0x1dd02b){const _0x8043fa=a0_0x4e0ba7,_0x5037ce=this['getName'](),_0x3485fd=_0x1dd02b||_0x8043fa(0x2e5);return{'successCode':_0x8043fa(0x108)+_0x3485fd+'.'+_0x5037ce+'();','errorCode':_0x8043fa(0x13c)+_0x3485fd+'.'+_0x5037ce+_0x8043fa(0x128)};}[a0_0x4e0ba7(0x2b9)](){const _0x45717e=a0_0x4e0ba7,_0x432c0e=this[_0x45717e(0x260)](),_0x223abe=Object['entries'](_0x432c0e)[_0x45717e(0x248)](([_0xf7e120,_0x44505b])=>{const _0xf8abb2=_0x45717e,_0x219faf=_0x44505b;return{'name':_0xf7e120,'type':_0x219faf[_0xf8abb2(0x14a)]||_0xf8abb2(0x209),'description':_0x219faf['description']||'-','required':_0x219faf[_0xf8abb2(0x2db)]};});return{'params':_0x223abe};}['getResponseParamsDocInfo'](){const _0x4ad2a5=a0_0x4e0ba7,_0x131fe8=this[_0x4ad2a5(0x1c1)]();if(!_0x131fe8)return{'params':[]};const _0x42cfb9=Object['entries'](_0x131fe8)[_0x4ad2a5(0x248)](([_0x1d18c1,_0x2dae24])=>{const _0x3257c7=_0x4ad2a5,_0x1e56b6=_0x2dae24;return{'name':_0x1d18c1,'type':_0x1e56b6[_0x3257c7(0x14a)]||_0x3257c7(0x209),'description':_0x1e56b6[_0x3257c7(0x27d)]||'-'};});return{'params':_0x42cfb9};}[a0_0x4e0ba7(0x19d)](){return[];}[a0_0x4e0ba7(0x21a)](){const _0x4ec9fe=a0_0x4e0ba7;return this['context'][_0x4ec9fe(0x2c7)]||[];}[a0_0x4e0ba7(0x255)](){const _0x5490e5=a0_0x4e0ba7;return{'systemFields':this[_0x5490e5(0x19d)](),'businessFields':this[_0x5490e5(0x21a)]()};}[a0_0x4e0ba7(0x126)](_0x2aa54d){const _0x4d8404=a0_0x4e0ba7;return this[_0x4d8404(0xee)][_0x4d8404(0x2c7)][_0x4d8404(0x2a2)](_0x217973=>_0x217973?.['code']===_0x2aa54d);}[a0_0x4e0ba7(0x1bc)](_0x5f134e){const _0x16cc81=a0_0x4e0ba7;return _0x5f134e[_0x16cc81(0x297)];}[a0_0x4e0ba7(0x311)](_0x57dc7c){const _0x19e3d0=a0_0x4e0ba7;return _0x57dc7c[_0x19e3d0(0x14a)];}[a0_0x4e0ba7(0x22d)](_0x2c4a11){const _0x44ec99=a0_0x4e0ba7;return _0x2c4a11[_0x44ec99(0x2bd)];}['getFieldDescription'](_0x1360e2){const _0x52f57e=a0_0x4e0ba7;return _0x1360e2[_0x52f57e(0x27d)];}[a0_0x4e0ba7(0x21b)](_0x2f0888){const _0x24b60a=a0_0x4e0ba7;return _0x2f0888[_0x24b60a(0x249)]()||null;}['isFieldPrimaryKey'](_0x386b80){const _0x478906=a0_0x4e0ba7;return _0x386b80[_0x478906(0x1e4)]();}[a0_0x4e0ba7(0x11b)](){return[];}[a0_0x4e0ba7(0x306)](_0x423573){return[];}['toJSON'](){const _0x53da5d=a0_0x4e0ba7;return{'name':this[_0x53da5d(0xf8)](),'displayName':this[_0x53da5d(0x24d)](),'type':this[_0x53da5d(0x1e0)](),'enabled':this['isEnabled'](),'method':this[_0x53da5d(0x148)](),'path':this[_0x53da5d(0x1a1)](),'fullUrl':this['getFullUrl'](),'requestParams':this[_0x53da5d(0x260)](),'requestExample':this[_0x53da5d(0x15d)](),'responseExample':this[_0x53da5d(0x164)]()};}['toString'](){const _0x5d6302=a0_0x4e0ba7,_0x3a9123=this[_0x5d6302(0xc9)]()?'启用':'禁用';return this['getDisplayName']()+'('+this[_0x5d6302(0x2bd)]+',\x20'+_0x3a9123+')';}}class GenericOperation extends Operation{[a0_0x4e0ba7(0x319)];[a0_0x4e0ba7(0x260)](){const _0x5dbd2e=a0_0x4e0ba7;return this[_0x5dbd2e(0x245)]();}[a0_0x4e0ba7(0xe7)](){const _0x12b1fc=a0_0x4e0ba7;return this[_0x12b1fc(0x1c1)]();}[a0_0x4e0ba7(0x15d)](){const _0x5caebd=a0_0x4e0ba7;if(this[_0x5caebd(0x319)])return this[_0x5caebd(0x319)];const _0x20e4fe={},_0x1016ee=this[_0x5caebd(0x260)](),_0x4cf12a=this[_0x5caebd(0x1e0)]();if(Object[_0x5caebd(0x2f9)](_0x1016ee)[_0x5caebd(0x2f3)]===0x0&&_0x4cf12a){const _0x3436e3=this[_0x5caebd(0x21a)]();return _0x3436e3[_0x5caebd(0x31e)](_0x170c5f=>{const _0x14fa4e=_0x5caebd,_0xba431d=_0x170c5f[_0x14fa4e(0x297)],_0x42e105=_0x170c5f[_0x14fa4e(0x14a)],_0x4baa97=this['generateFieldExample'](_0xba431d,_0x42e105,_0x170c5f[_0x14fa4e(0x214)](),{'isPrimaryKey':_0x170c5f[_0x14fa4e(0x1e4)](),'description':_0x170c5f[_0x14fa4e(0x27d)]||_0x170c5f[_0x14fa4e(0x2bd)]});_0x20e4fe[_0xba431d]=_0x4baa97;}),this[_0x5caebd(0x319)]=_0x20e4fe,_0x20e4fe;}return Object['entries'](_0x1016ee)['forEach'](([_0x2e6117,_0x259202])=>{const _0x31103c=_0x5caebd,_0x248ebd=_0x259202;let _0x2b3c69;if(typeof _0x248ebd[_0x31103c(0x14a)]===_0x31103c(0x208))_0x2b3c69=_0x248ebd[_0x31103c(0x14a)];else _0x248ebd[_0x31103c(0x14a)]&&typeof _0x248ebd['type']===_0x31103c(0x286)?_0x2b3c69=_0x248ebd[_0x31103c(0x14a)][_0x31103c(0x14a)]||_0x31103c(0x271):_0x2b3c69=_0x31103c(0x271);const _0x265afc=_0x248ebd['description'],_0x4bbcba=this[_0x31103c(0x126)](_0x2e6117);if(_0x2e6117===_0x31103c(0x1db))_0x20e4fe[_0x2e6117]=0x1;else{if(_0x2e6117===_0x31103c(0x11e))_0x20e4fe[_0x2e6117]=0xa;else{if(_0x2e6117==='id')_0x20e4fe[_0x2e6117]=0x1;else{const _0x47273a=_0x4bbcba?_0x4bbcba[_0x31103c(0x214)]():undefined,_0xa28d78=_0x4bbcba?_0x4bbcba[_0x31103c(0x27d)]:undefined,_0x2294fb=_0x4bbcba?_0x4bbcba[_0x31103c(0x2bd)]:undefined;_0x20e4fe[_0x2e6117]=this[_0x31103c(0x14c)](_0x2e6117,_0x2b3c69,_0x47273a||undefined,{'isPrimaryKey':_0x2e6117===this['context'][_0x31103c(0x26a)]||_0x2e6117==='id','description':_0x265afc||_0xa28d78||_0x2294fb});}}}}),this[_0x5caebd(0x319)]=_0x20e4fe,_0x20e4fe;}[a0_0x4e0ba7(0x164)](){const _0x217555=a0_0x4e0ba7,_0x2e8888=this['getResponseSchema']();if(!_0x2e8888)return{'success':!![],'msg':'操作成功','errorMsg':'','errorCode':_0x217555(0x2e3),'data':null};return this[_0x217555(0x215)](_0x2e8888);}[a0_0x4e0ba7(0x215)](_0x2e7892){const _0x512c02=a0_0x4e0ba7;if(!_0x2e7892||typeof _0x2e7892!=='object')return{};if(Array['isArray'](_0x2e7892)){if(_0x2e7892[_0x512c02(0x2f3)]>0x0)return[this['generateFromSchema'](_0x2e7892[0x0])];return[];}const _0x4234fb={};return Object[_0x512c02(0x2f9)](_0x2e7892)[_0x512c02(0x31e)](_0x369a51=>{const _0x247670=_0x512c02,_0x5cb073=_0x2e7892[_0x369a51];if(_0x5cb073&&typeof _0x5cb073===_0x247670(0x286)&&!Array['isArray'](_0x5cb073)&&_0x5cb073['type']){const _0x1c101a=_0x5cb073;let _0x8accbd;if(typeof _0x1c101a[_0x247670(0x14a)]===_0x247670(0x208))_0x8accbd=_0x1c101a[_0x247670(0x14a)];else _0x1c101a[_0x247670(0x14a)]&&typeof _0x1c101a[_0x247670(0x14a)]===_0x247670(0x286)?_0x8accbd=_0x1c101a[_0x247670(0x14a)]['type']||_0x247670(0x271):_0x8accbd='TEXT';const _0x45b4b9=_0x1c101a[_0x247670(0x27d)];_0x4234fb[_0x369a51]=this[_0x247670(0x14c)](_0x369a51,_0x8accbd,undefined,{'description':_0x45b4b9});}else{if(Array[_0x247670(0x25f)](_0x5cb073))_0x4234fb[_0x369a51]=_0x5cb073['length']>0x0?[this[_0x247670(0x215)](_0x5cb073[0x0])]:[];else _0x5cb073&&typeof _0x5cb073==='object'?_0x4234fb[_0x369a51]=this[_0x247670(0x215)](_0x5cb073):_0x4234fb[_0x369a51]=_0x5cb073;}}),_0x4234fb;}[a0_0x4e0ba7(0x2a5)](_0x1290c5,_0x27e1fc){const _0x16003c=a0_0x4e0ba7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x27e1fc||{},_0x4e727e=this[_0x16003c(0xf8)](),_0xcb4386=this[_0x16003c(0x1e0)](),_0x1d98fa=this[_0x16003c(0x256)](),_0x1dde43=this[_0x16003c(0x15d)](),_0x40dda1=_0x48db3d=>{const _0x52464e=_0x16003c;if(Object[_0x52464e(0x2f9)](_0x48db3d)[_0x52464e(0x2f3)]===0x0)return'{}';const _0x5c9274=JSON['stringify'](_0x48db3d,null,0x2)['split']('\x0a')['map']((_0x5ac790,_0x39d051)=>_0x39d051===0x0?_0x5ac790:indent+_0x5ac790)['join']('\x0a');return _0x5c9274;};switch(_0xcb4386){case _0x16003c(0x118):case'delete':return'const\x20result\x20=\x20await\x20client.models.'+_0x1290c5+'.'+_0x4e727e+_0x16003c(0x328);case _0x16003c(0x1c4):if(useFullExample&&Object[_0x16003c(0x2f9)](_0x1dde43)[_0x16003c(0x2f3)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x1290c5+'.'+_0x4e727e+_0x16003c(0x1c6)+_0x40dda1(_0x1dde43)+');';return _0x16003c(0x241)+_0x1290c5+'.'+_0x4e727e+'(id,\x20data);';case _0x16003c(0x166):case _0x16003c(0x253):case _0x16003c(0x2b8):default:if(_0x1d98fa[_0x16003c(0x2f3)]>0x0){if(useFullExample&&Object[_0x16003c(0x2f9)](_0x1dde43)[_0x16003c(0x2f3)]>0x0)return _0x16003c(0x241)+_0x1290c5+'.'+_0x4e727e+'('+_0x40dda1(_0x1dde43)+');';else{const _0x518193=Object['keys'](_0x1dde43);if(_0x518193['length']>0x0){const _0xaf5c6=_0x518193[_0x16003c(0x1f0)](0x0,0x2)['join'](',\x20');return _0x16003c(0x241)+_0x1290c5+'.'+_0x4e727e+_0x16003c(0x301)+_0xaf5c6+',\x20...\x20});';}else return _0x16003c(0x241)+_0x1290c5+'.'+_0x4e727e+_0x16003c(0x16c);}}else return _0x16003c(0x241)+_0x1290c5+'.'+_0x4e727e+_0x16003c(0xf0);}}[a0_0x4e0ba7(0xf4)](){const _0x228f18=a0_0x4e0ba7;return[{'title':_0x228f18(0x136),'data':this[_0x228f18(0x15d)]()}];}[a0_0x4e0ba7(0x19d)](){const _0x567cce=a0_0x4e0ba7,_0xe3f71a=this[_0x567cce(0x1e0)](),_0x4e0064=[];switch(_0xe3f71a){case _0x567cce(0x118):case'delete':_0x4e0064[_0x567cce(0x1ac)]({'code':'id','type':_0x567cce(0x31f),'description':_0x567cce(0x28f)});break;case _0x567cce(0x253):_0x4e0064[_0x567cce(0x1ac)]({'code':_0x567cce(0x1db),'type':_0x567cce(0x31f),'description':_0x567cce(0x113)},{'code':_0x567cce(0x11e),'type':_0x567cce(0x31f),'description':'每页条数'});break;case _0x567cce(0x2b8):_0x4e0064[_0x567cce(0x1ac)]({'code':_0x567cce(0x297),'type':'STRING','description':_0x567cce(0x2d5)});break;default:break;}return _0x4e0064;}['getBusinessFields'](){const _0x411f5e=a0_0x4e0ba7,_0x2f7896=this[_0x411f5e(0x1e0)](),_0x38c2cf=this[_0x411f5e(0xee)][_0x411f5e(0x2c7)]||[];switch(_0x2f7896){case'getOne':case _0x411f5e(0x2af):return[];case _0x411f5e(0x166):return _0x38c2cf[_0x411f5e(0x24b)](_0x440b7c=>{const _0x5a91aa=_0x411f5e;if(_0x440b7c[_0x5a91aa(0x12f)])return![];if(_0x440b7c[_0x5a91aa(0x1e4)]()&&_0x440b7c['isAutoIncrement']())return![];if(_0x440b7c[_0x5a91aa(0x26e)]())return![];if(_0x440b7c[_0x5a91aa(0x321)]()||_0x440b7c[_0x5a91aa(0x1ae)]())return![];return!![];});case _0x411f5e(0x1c4):return _0x38c2cf[_0x411f5e(0x24b)](_0x4acbcf=>{const _0x298b57=_0x411f5e;if(_0x4acbcf[_0x298b57(0x12f)])return![];if(_0x4acbcf[_0x298b57(0x1e4)]())return![];if(_0x4acbcf[_0x298b57(0x26e)]())return![];if(_0x4acbcf[_0x298b57(0x321)]()||_0x4acbcf[_0x298b57(0x1ae)]())return![];if(_0x4acbcf[_0x298b57(0xfd)]())return![];return!![];});case _0x411f5e(0x253):case _0x411f5e(0x2b8):return _0x38c2cf[_0x411f5e(0x24b)](_0x1a6dc7=>!_0x1a6dc7[_0x411f5e(0x12f)]&&_0x1a6dc7[_0x411f5e(0x17b)]());default:return _0x38c2cf['filter'](_0x192d01=>!_0x192d01[_0x411f5e(0x12f)]&&_0x192d01['isBusiness']());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x4e0ba7(0x260)](){const _0x2a96f0=a0_0x4e0ba7,_0xf3a8e6=super[_0x2a96f0(0x260)](),_0x3194f6=Object[_0x2a96f0(0x2f9)](_0xf3a8e6);return(_0x3194f6['length']===0x0||_0x3194f6['length']===0x1&&_0x3194f6[0x0]===_0x2a96f0(0x297))&&(!_0xf3a8e6[_0x2a96f0(0x297)]&&(_0xf3a8e6[_0x2a96f0(0x297)]={'type':_0x2a96f0(0x209),'description':_0x2a96f0(0x221)}),_0xf3a8e6[_0x2a96f0(0x1e8)]={'type':_0x2a96f0(0x209),'description':'字段名称'}),_0xf3a8e6;}['getBusinessFields'](){return[];}['getSystemFields'](){const _0x26cfd5=a0_0x4e0ba7;return[{'code':_0x26cfd5(0x297),'type':_0x26cfd5(0x209),'description':_0x26cfd5(0x221)},{'code':_0x26cfd5(0x1e8),'type':_0x26cfd5(0x209),'description':_0x26cfd5(0x115)}];}[a0_0x4e0ba7(0x15d)](){const _0x299130=a0_0x4e0ba7;return{'code':_0x299130(0x1dc),'label':_0x299130(0x1dc)};}[a0_0x4e0ba7(0x2a5)](_0x4260bc){const _0xbac94b=a0_0x4e0ba7,_0x3889d5=this[_0xbac94b(0xf8)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x4260bc+'.'+_0x3889d5+_0xbac94b(0x14e);}}class GetListOperation extends GenericOperation{[a0_0x4e0ba7(0x260)](){const _0x323125=a0_0x4e0ba7,_0x1b1c72=super[_0x323125(0x260)](),{currentPage:_0x4da974,pageSize:_0x3e05b1,..._0x223cbb}=_0x1b1c72,_0x173ba3={};return Object['entries'](_0x223cbb)['forEach'](([_0x1d5bb3,_0x81f1b9])=>{const _0x28bd8c=_0x323125;if(typeof _0x81f1b9==='object'&&_0x81f1b9!==null){const _0x5529d2=_0x81f1b9,_0x28ec8a=_0x5529d2[_0x28bd8c(0x27d)]||'';_0x173ba3[_0x1d5bb3]={..._0x5529d2,'description':_0x28ec8a?_0x28ec8a+'(支持单值或数组)':'支持单值或数组'};}else _0x173ba3[_0x1d5bb3]=_0x81f1b9;}),{..._0x173ba3,'currentPage':{...typeof _0x4da974===_0x323125(0x286)?_0x4da974:{},'type':_0x323125(0x11c),'description':_0x323125(0x113)},'pageSize':{...typeof _0x3e05b1===_0x323125(0x286)?_0x3e05b1:{},'type':_0x323125(0x11c),'description':_0x323125(0x197)}};}['generateRequestExample'](_0x5afcac){const _0x1dec2e=a0_0x4e0ba7,{useArrayValues:useArrayValues=!![]}=_0x5afcac||{},_0x56d19e=super[_0x1dec2e(0x15d)](),{currentPage:_0xe87d90,pageSize:_0x447d4e,..._0x332282}=_0x56d19e;if(!useArrayValues)return{..._0x332282,'currentPage':_0xe87d90??0x1,'pageSize':_0x447d4e??0xa};const _0x1248d8={},_0x22a6da=['id',_0x1dec2e(0x269),'code',_0x1dec2e(0x14a)];return Object['entries'](_0x332282)['forEach'](([_0x205863,_0x52ea9b],_0x5b1f34)=>{const _0x664e9e=_0x1dec2e,_0x2aa3ed=_0x22a6da['some'](_0x3dc37b=>_0x205863['toLowerCase']()[_0x664e9e(0x201)](_0x3dc37b))||_0x5b1f34%0x3===0x0;if(_0x2aa3ed&&_0x52ea9b!==null&&_0x52ea9b!==undefined){if(typeof _0x52ea9b===_0x664e9e(0x2c8))_0x1248d8[_0x205863]=[_0x52ea9b,_0x52ea9b+0x1,_0x52ea9b+0x2];else typeof _0x52ea9b===_0x664e9e(0x208)?_0x1248d8[_0x205863]=[_0x52ea9b,_0x52ea9b+'_2',_0x52ea9b+'_3']:_0x1248d8[_0x205863]=[_0x52ea9b];}else _0x1248d8[_0x205863]=_0x52ea9b;}),{..._0x1248d8,'currentPage':_0xe87d90??0x1,'pageSize':_0x447d4e??0xa};}[a0_0x4e0ba7(0x2b7)](){const _0x2d2024=a0_0x4e0ba7;return this[_0x2d2024(0x15d)]({'useArrayValues':![]});}[a0_0x4e0ba7(0xf4)](){const _0x31ce49=a0_0x4e0ba7;return[{'title':_0x31ce49(0x2f7),'description':_0x31ce49(0xc5),'data':this['generateSingleValueExample']()},{'title':_0x31ce49(0x154),'description':'支持多个条件','data':this[_0x31ce49(0x15d)]()}];}[a0_0x4e0ba7(0x2a5)](_0x2ed2c5,_0x4f23e9){const _0x360ec2=a0_0x4e0ba7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x4f23e9||{},_0x3b5548=this[_0x360ec2(0xf8)](),_0x38cb26=this['generateRequestExample']({'useArrayValues':!![]}),{currentPage:_0x32f65b,pageSize:_0x29f7b7,..._0x3be2b4}=_0x38cb26;if(useFullExample&&Object[_0x360ec2(0x2f9)](_0x38cb26)[_0x360ec2(0x2f3)]>0x0){const _0x8600d4=Object['keys'](_0x3be2b4)[_0x360ec2(0x2f3)]>0x0;if(_0x8600d4){const _0x335ae8=this[_0x360ec2(0x2b7)](),_0x52db51=_0x19843f=>{const _0x325c06=_0x360ec2;return JSON['stringify'](_0x19843f,null,0x2)[_0x325c06(0x2e9)]('\x0a')[_0x325c06(0x248)]((_0x598388,_0x126790)=>_0x126790===0x0?_0x598388:indent+_0x598388)[_0x325c06(0x198)]('\x0a');};return _0x360ec2(0x284)+_0x2ed2c5+'.'+_0x3b5548+'('+_0x52db51(_0x335ae8)+');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x2ed2c5+'.'+_0x3b5548+'('+_0x52db51(_0x38cb26)+');';}else{const _0x23c1de=JSON[_0x360ec2(0x1a5)](_0x38cb26,null,0x2)[_0x360ec2(0x2e9)]('\x0a')[_0x360ec2(0x248)]((_0x522f4a,_0x462a3f)=>_0x462a3f===0x0?_0x522f4a:indent+_0x522f4a)[_0x360ec2(0x198)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x2ed2c5+'.'+_0x3b5548+'('+_0x23c1de+');';}}if(Object['keys'](_0x3be2b4)[_0x360ec2(0x2f3)]>0x0){const _0x656507=Object[_0x360ec2(0x2f9)](_0x3be2b4)[0x0];return _0x360ec2(0x241)+_0x2ed2c5+'.'+_0x3b5548+_0x360ec2(0x301)+_0x656507+_0x360ec2(0x100);}return _0x360ec2(0x241)+_0x2ed2c5+'.'+_0x3b5548+'({\x20currentPage,\x20pageSize\x20});';}}var FILTER_OPERATORS=['$eq',a0_0x4e0ba7(0x23f),a0_0x4e0ba7(0x153),a0_0x4e0ba7(0x16d),a0_0x4e0ba7(0x116),a0_0x4e0ba7(0x147),a0_0x4e0ba7(0x288),a0_0x4e0ba7(0x18c),'$startWith',a0_0x4e0ba7(0x2fd),'$and',a0_0x4e0ba7(0x2e1)];class FilterOperation extends GenericOperation{constructor(_0x328cef,_0x41ec5b,_0x2c9d6a){super(_0x328cef,_0x41ec5b,_0x2c9d6a);}['getOperators'](){return FILTER_OPERATORS;}[a0_0x4e0ba7(0x306)](_0x5369fe){const _0x4691d1=a0_0x4e0ba7,_0x1e3329=this[_0x4691d1(0x126)](_0x5369fe);if(!_0x1e3329)return[];return this[_0x4691d1(0x24f)](_0x1e3329);}[a0_0x4e0ba7(0x260)](){const _0xabf9b8=a0_0x4e0ba7,_0xfc1db5=super[_0xabf9b8(0x260)]();return{..._0xfc1db5,'where':{'type':_0xabf9b8(0x20e),'description':_0xabf9b8(0x120),'required':![]},'select':{'type':'String[]','description':_0xabf9b8(0xb8),'required':![]},'orderBy':{'type':_0xabf9b8(0x1c2),'description':_0xabf9b8(0x213),'required':![]},'currentPage':{'type':_0xabf9b8(0x11c),'description':'当前页码','required':![],'default':0x1},'pageSize':{'type':_0xabf9b8(0x11c),'description':_0xabf9b8(0x197),'required':![],'default':0xa}};}['getSystemFields'](){const _0x2d2ee8=a0_0x4e0ba7,_0x2e5b92=this['getRequestParams'](),_0x13706d=[],_0x195153=[_0x2d2ee8(0x139),_0x2d2ee8(0x2c2),'orderBy','currentPage',_0x2d2ee8(0x11e)];return Object[_0x2d2ee8(0x1e5)](_0x2e5b92)['forEach'](([_0x422036,_0x562b9c])=>{const _0x56e3df=_0x2d2ee8;if(_0x195153['includes'](_0x422036)){const _0x161983=_0x562b9c;_0x13706d[_0x56e3df(0x1ac)]({'code':_0x422036,'type':_0x161983[_0x56e3df(0x14a)]||_0x56e3df(0x20e),'description':_0x161983['description']||'-'});}}),_0x13706d;}[a0_0x4e0ba7(0x21a)](){const _0x362d9c=a0_0x4e0ba7;return this[_0x362d9c(0xee)]['fields']||[];}[a0_0x4e0ba7(0x2ec)](){const _0x2f4eac=a0_0x4e0ba7;return{'systemParams':this[_0x2f4eac(0x19d)](),'businessFields':this[_0x2f4eac(0x21a)]()};}[a0_0x4e0ba7(0x15d)](){const _0x1659f5=a0_0x4e0ba7,_0x454803=this[_0x1659f5(0xee)]['fields']||[];if(_0x454803[_0x1659f5(0x2f3)]===0x0)return{'where':{},'currentPage':0x1,'pageSize':0x14};const _0x3d318c={},_0x412f6d=_0x454803[_0x1659f5(0x1f0)](0x0,Math[_0x1659f5(0x150)](0x3,_0x454803[_0x1659f5(0x2f3)]));_0x412f6d[_0x1659f5(0x31e)](_0x3ab970=>{const _0x341c93=_0x1659f5,_0x31f805=this['getApplicableOperators'](_0x3ab970);if(_0x31f805[_0x341c93(0x2f3)]===0x0)return;const _0x3f8104=this[_0x341c93(0x1f1)](_0x3ab970,_0x31f805),_0x33dda0=this['generateExampleValue'](_0x3ab970,_0x3f8104);_0x3d318c[_0x3ab970[_0x341c93(0x297)]]={[_0x3f8104]:_0x33dda0};});const _0x2b6693=_0x454803[_0x1659f5(0x1f0)](0x0,Math[_0x1659f5(0x150)](0x5,_0x454803[_0x1659f5(0x2f3)]))[_0x1659f5(0x248)](_0x4883f6=>_0x4883f6[_0x1659f5(0x297)]),_0x4c69f7=_0x454803[0x0]?_0x454803[0x0][_0x1659f5(0x297)]:'id';return{'where':_0x3d318c,'select':_0x2b6693,'orderBy':[{[_0x4c69f7]:_0x1659f5(0x10d)}],'currentPage':0x1,'pageSize':0x14};}[a0_0x4e0ba7(0x2a5)](_0x4d602f,_0x39d2c7){const _0x24bf19=a0_0x4e0ba7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x39d2c7||{},_0x2fef1b=this[_0x24bf19(0xf8)](),_0x4f97e6=this['generateRequestExample'](),_0x548b5f=_0x54b1be=>{const _0x101281=_0x24bf19;return JSON[_0x101281(0x1a5)](_0x54b1be,null,0x2)[_0x101281(0x2e9)]('\x0a')[_0x101281(0x248)]((_0x373e0e,_0x57511e)=>_0x57511e===0x0?_0x373e0e:indent+_0x373e0e)[_0x101281(0x198)]('\x0a');};if(useFullExample){const _0x3eb854=this[_0x24bf19(0xee)][_0x24bf19(0x2c7)]||[],_0x20a3b9={'where':_0x3eb854[0x0]?{[_0x3eb854[0x0][_0x24bf19(0x297)]]:{'$eq':this[_0x24bf19(0x29f)](_0x3eb854[0x0],_0x24bf19(0x112))}}:{},'select':_0x3eb854[_0x24bf19(0x1f0)](0x0,0x3)[_0x24bf19(0x248)](_0x2278e5=>_0x2278e5['code']),'currentPage':0x1,'pageSize':0x14};let _0x572e75='';if(_0x3eb854['length']>=0x3){const _0x483a61={'$and':[]},_0x4b28da=[];if(_0x3eb854[_0x24bf19(0x2f3)]>0x0){const _0x375ac6=_0x3eb854[_0x24bf19(0x2a2)](_0x4f6896=>{const _0x2a4197=_0x24bf19,_0x50f440=_0x4f6896[_0x2a4197(0x214)]();return[_0x2a4197(0x31f),_0x2a4197(0x218),'BIGINT',_0x2a4197(0xd5),_0x2a4197(0x12e),_0x2a4197(0x330)]['includes'](_0x50f440);});_0x375ac6&&_0x4b28da['push']({[_0x375ac6[_0x24bf19(0x297)]]:{'$gte':0x0,'$lte':0x64}});}if(_0x3eb854[_0x24bf19(0x2f3)]>0x1){const _0x5b920e=_0x3eb854[_0x24bf19(0x2a2)](_0x3e80f5=>{const _0x27fbc2=_0x24bf19,_0x443bbd=_0x3e80f5[_0x27fbc2(0x214)]();return[_0x27fbc2(0x262),_0x27fbc2(0x271),_0x27fbc2(0x324),'CHAR',_0x27fbc2(0x12a)]['includes'](_0x443bbd);});_0x5b920e&&_0x4b28da['push']({[_0x5b920e[_0x24bf19(0x297)]]:{'$contain':_0x24bf19(0x240)}});}if(_0x4b28da['length']>0x0){_0x483a61[_0x24bf19(0x1d5)]=_0x4b28da;const _0xed5c24={'where':_0x483a61,'select':_0x3eb854[_0x24bf19(0x1f0)](0x0,0x4)[_0x24bf19(0x248)](_0x1c402b=>_0x1c402b[_0x24bf19(0x297)]),'orderBy':[{[_0x3eb854[0x0][_0x24bf19(0x297)]]:_0x24bf19(0x10d)}],'currentPage':0x1,'pageSize':0x14};_0x572e75='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x4d602f+'.'+_0x2fef1b+'('+_0x548b5f(_0xed5c24)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x4d602f+'.'+_0x2fef1b+'('+_0x548b5f(_0x20a3b9)+');'+_0x572e75;}const _0x5448c5=JSON['stringify'](_0x4f97e6,null,0x2)[_0x24bf19(0x2e9)]('\x0a')[_0x24bf19(0x248)]((_0x478ec6,_0x3d8147)=>_0x3d8147===0x0?_0x478ec6:indent+_0x478ec6)['join']('\x0a');return _0x24bf19(0x241)+_0x4d602f+'.'+_0x2fef1b+'('+_0x5448c5+');';}[a0_0x4e0ba7(0x24f)](_0x1912cb){const _0x2608f6=a0_0x4e0ba7,_0x3010e9=_0x1912cb[_0x2608f6(0x214)](),_0x1bee12=[];if([_0x2608f6(0x31f),_0x2608f6(0x218),_0x2608f6(0x1cd),_0x2608f6(0x33a)][_0x2608f6(0x201)](_0x3010e9)||[_0x2608f6(0xd5),_0x2608f6(0x12e),'SMALLINT',_0x2608f6(0x190),'FLOAT'][_0x2608f6(0x201)](_0x3010e9))_0x1bee12[_0x2608f6(0x1ac)](_0x2608f6(0x112),_0x2608f6(0x23f),'$gte',_0x2608f6(0x116),'$gteq',_0x2608f6(0x147),_0x2608f6(0x288));else{if([_0x2608f6(0x262),'TEXT',_0x2608f6(0x324)][_0x2608f6(0x201)](_0x3010e9)||[_0x2608f6(0x222),'LONGTEXT'][_0x2608f6(0x201)](_0x3010e9))_0x1bee12['push'](_0x2608f6(0x112),_0x2608f6(0x23f),'$in',_0x2608f6(0x18c),'$startWith',_0x2608f6(0x2fd));else{if([_0x2608f6(0xfa),_0x2608f6(0xf5),_0x2608f6(0x1d9)]['includes'](_0x3010e9)||[_0x2608f6(0x1c5)][_0x2608f6(0x201)](_0x3010e9))_0x1bee12[_0x2608f6(0x1ac)](_0x2608f6(0x112),_0x2608f6(0x23f),_0x2608f6(0x153),_0x2608f6(0x116),_0x2608f6(0x16d),_0x2608f6(0x147));else[_0x2608f6(0x130),'BOOL','BIT'][_0x2608f6(0x201)](_0x3010e9)?_0x1bee12['push'](_0x2608f6(0x112),'$ne'):_0x1bee12['push'](_0x2608f6(0x112),_0x2608f6(0x23f));}}return _0x1bee12;}[a0_0x4e0ba7(0x1f1)](_0x19414e,_0x1ed0a9){const _0xc12b5d=a0_0x4e0ba7,_0x27871d=_0x19414e[_0xc12b5d(0x214)]();if(['NUMBER','INTEGER',_0xc12b5d(0x1cd),_0xc12b5d(0x33a)][_0xc12b5d(0x201)](_0x27871d)||[_0xc12b5d(0xd5),_0xc12b5d(0x12e),_0xc12b5d(0x330),_0xc12b5d(0x190),'FLOAT'][_0xc12b5d(0x201)](_0x27871d))return _0x1ed0a9[_0xc12b5d(0x201)](_0xc12b5d(0x153))?_0xc12b5d(0x153):'$eq';if([_0xc12b5d(0x262),_0xc12b5d(0x271),'VARCHAR']['includes'](_0x27871d)||['CHAR',_0xc12b5d(0x12a)]['includes'](_0x27871d))return _0x1ed0a9[_0xc12b5d(0x201)](_0xc12b5d(0x18c))?_0xc12b5d(0x18c):_0xc12b5d(0x112);if(['DATE',_0xc12b5d(0xf5),_0xc12b5d(0x1d9),_0xc12b5d(0x1c5)][_0xc12b5d(0x201)](_0x27871d))return _0x1ed0a9[_0xc12b5d(0x201)](_0xc12b5d(0x153))?_0xc12b5d(0x153):'$eq';return _0xc12b5d(0x112);}['generateExampleValue'](_0x1d5c39,_0x22850b){const _0xce10d9=a0_0x4e0ba7,_0x284524=_0x1d5c39['getDbTypeForOperation'](),_0x2f4411=_0x1d5c39['getEnumOptions']();if(_0x2f4411&&_0x2f4411[_0xce10d9(0x2f3)]>0x0){if(_0x22850b==='$in')return _0x2f4411[_0xce10d9(0x1f0)](0x0,0x2)[_0xce10d9(0x248)](_0x3482df=>_0x3482df['value']);return _0x2f4411[0x0][_0xce10d9(0x2b4)];}if(['NUMBER',_0xce10d9(0x218),'BIGINT','DECIMAL']['includes'](_0x284524)||[_0xce10d9(0xd5),_0xce10d9(0x12e),_0xce10d9(0x330),_0xce10d9(0x190),_0xce10d9(0x22b)][_0xce10d9(0x201)](_0x284524)){if(_0x22850b===_0xce10d9(0x288))return[0x1,0x2,0x3];if(_0x22850b==='$gte'||_0x22850b==='$gteq')return 0x0;if(_0x22850b==='$lte'||_0x22850b==='$lteq')return 0x64;return 0x1;}if([_0xce10d9(0x262),_0xce10d9(0x271),_0xce10d9(0x324)][_0xce10d9(0x201)](_0x284524)||[_0xce10d9(0x222),_0xce10d9(0x12a)][_0xce10d9(0x201)](_0x284524)){if(_0x22850b===_0xce10d9(0x288))return['value1','value2'];if(_0x22850b===_0xce10d9(0x18c))return _0xce10d9(0x240);if(_0x22850b===_0xce10d9(0x119))return _0xce10d9(0x21f);if(_0x22850b==='$endWith')return'suffix';return'value';}if(['DATE',_0xce10d9(0xf5),_0xce10d9(0x1d9),'TIME'][_0xce10d9(0x201)](_0x284524)){if(_0x22850b===_0xce10d9(0x153)||_0x22850b===_0xce10d9(0x16d))return _0xce10d9(0x15e);if(_0x22850b===_0xce10d9(0x116)||_0x22850b===_0xce10d9(0x147))return'2024-12-31';return'2024-01-01';}if(['BOOLEAN',_0xce10d9(0x268),_0xce10d9(0x23a)]['includes'](_0x284524))return!![];return _0x22850b===_0xce10d9(0x288)?['value1','value2']:'value';}[a0_0x4e0ba7(0x2b9)](){const _0x509197=a0_0x4e0ba7,_0x3cce46=super[_0x509197(0x260)](),_0x5b6163=Object[_0x509197(0x1e5)](_0x3cce46)['filter'](([_0x1c99f4])=>_0x1c99f4!==_0x509197(0x1db)&&_0x1c99f4!==_0x509197(0x11e))[_0x509197(0x248)](([_0x405cb7,_0x5e8862])=>{const _0x11560d=_0x509197,_0x5cc8f3=_0x5e8862;return{'name':_0x405cb7,'type':_0x5cc8f3[_0x11560d(0x14a)]||_0x11560d(0x209),'description':_0x5cc8f3[_0x11560d(0x27d)]||'-','required':_0x5cc8f3[_0x11560d(0x2db)]};});return{'description':_0x509197(0x1df),'params':_0x5b6163};}}class ExcelExportOperation extends GenericOperation{[a0_0x4e0ba7(0x260)](){const _0x4648a0=a0_0x4e0ba7,_0x2d051c=super[_0x4648a0(0x260)]();if(Object[_0x4648a0(0x2f9)](_0x2d051c)[_0x4648a0(0x2f3)]===0x0){const _0x567a56={};return this[_0x4648a0(0xee)][_0x4648a0(0x2c7)]['forEach'](_0x3c2f55=>{const _0x310129=_0x4648a0;if(_0x3c2f55){const _0xa86ba3=_0x3c2f55[_0x310129(0x297)],_0x358ea0=_0x3c2f55[_0x310129(0x214)]();_0x567a56[_0xa86ba3]={'type':_0x358ea0||_0x310129(0x271),'sortNum':_0x3c2f55[_0x310129(0xc3)],'description':_0x3c2f55['description']||_0x3c2f55[_0x310129(0x2bd)]};}}),_0x567a56['currentPage']={'type':_0x4648a0(0xbe),'description':_0x4648a0(0x28e)},_0x567a56[_0x4648a0(0x11e)]={'type':_0x4648a0(0xbe),'description':_0x4648a0(0x2e2)},_0x567a56;}return _0x2d051c;}[a0_0x4e0ba7(0x15d)](){const _0x529bf8=a0_0x4e0ba7,_0x2e1154=super['generateRequestExample']();if(Object[_0x529bf8(0x2f9)](_0x2e1154)['length']===0x0)return{'currentPage':0x1,'pageSize':0x64};return{..._0x2e1154,'currentPage':_0x2e1154[_0x529bf8(0x1db)]??0x1,'pageSize':_0x2e1154[_0x529bf8(0x11e)]??0x64};}['generateResponseExample'](){const _0x177e68=a0_0x4e0ba7;return{'success':!![],'msg':'','errorMsg':'','errorCode':_0x177e68(0x2e3),'data':_0x177e68(0x2cf),'params':null};}[a0_0x4e0ba7(0x2a5)](_0x391550,_0x1e8331){const _0x428f49=a0_0x4e0ba7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1e8331||{},_0x3cd0ed=this[_0x428f49(0xf8)]();if(useFullExample){const _0x38dd40=this[_0x428f49(0x15d)](),{currentPage:_0xbc8c9c,pageSize:_0x18f427,..._0x5a4e97}=_0x38dd40,_0x4303c8=Object[_0x428f49(0x2f9)](_0x5a4e97)[_0x428f49(0x2f3)]>0x0;if(_0x4303c8){const _0x3234ee=_0x2a6621=>{const _0x3f18f1=_0x428f49;return JSON[_0x3f18f1(0x1a5)](_0x2a6621,null,0x2)['split']('\x0a')[_0x3f18f1(0x248)]((_0x1a8230,_0x4351d4)=>_0x4351d4===0x0?_0x1a8230:indent+_0x1a8230)[_0x3f18f1(0x198)]('\x0a');};return _0x428f49(0x11f)+_0x391550+'.'+_0x3cd0ed+_0x428f49(0x1a2)+_0x391550+'.'+_0x3cd0ed+'('+_0x3234ee(_0x38dd40)+');';}else{const _0x4771e3=_0x1cff06=>{const _0xf59fb7=_0x428f49;return JSON['stringify'](_0x1cff06,null,0x2)[_0xf59fb7(0x2e9)]('\x0a')[_0xf59fb7(0x248)]((_0x547f4b,_0x3242c3)=>_0x3242c3===0x0?_0x547f4b:indent+_0x547f4b)[_0xf59fb7(0x198)]('\x0a');};return _0x428f49(0x11f)+_0x391550+'.'+_0x3cd0ed+_0x428f49(0x1c0)+_0x391550+'.'+_0x3cd0ed+'('+_0x4771e3({'currentPage':0x1,'pageSize':0x64})+');';}}return _0x428f49(0x204)+_0x391550+'.'+_0x3cd0ed+_0x428f49(0x338);}[a0_0x4e0ba7(0x156)](_0x3ae28a){const _0x164ad1=a0_0x4e0ba7,_0xbee054=this[_0x164ad1(0xf8)](),_0x2dcc7f=_0x3ae28a||_0x164ad1(0x2e5),_0x289f42=_0x164ad1(0x32a)+_0x2dcc7f+'.'+_0xbee054+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x509f0f=_0x164ad1(0x317)+_0x2dcc7f+'.'+_0xbee054+_0x164ad1(0x2d1);return{'successCode':_0x289f42,'errorCode':_0x509f0f};}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){return this['parseRawRequestBody']();}[a0_0x4e0ba7(0x260)](){const _0xdebb44=a0_0x4e0ba7,_0x3af0c2=this[_0xdebb44(0x25d)]();return{'id':{'type':'NUMBER','description':_0xdebb44(0x26c),'required':!![]},'data':{'type':_0xdebb44(0x286),'description':_0xdebb44(0x335),'required':!![],'properties':_0x3af0c2}};}[a0_0x4e0ba7(0x265)](){return this['getUpdateFields']();}[a0_0x4e0ba7(0x274)](){const _0x101eae=a0_0x4e0ba7,_0x25e3ca=this['context']['fields']||[],_0x483911=this[_0x101eae(0xee)][_0x101eae(0x26a)],_0x579aed=_0x25e3ca[_0x101eae(0x2a2)](_0x221e99=>_0x221e99[_0x101eae(0x1e4)]()||_0x221e99['code']===_0x483911),_0x632c9c=_0x25e3ca[_0x101eae(0x24b)](_0x16686f=>{const _0x5e9b6d=_0x101eae;if(_0x16686f['deleted'])return![];if(_0x16686f===_0x579aed||_0x16686f[_0x5e9b6d(0x1e4)]())return![];if(_0x16686f['isCreateTime']()||_0x16686f[_0x5e9b6d(0x1ae)]())return![];if(_0x16686f[_0x5e9b6d(0xfd)]())return![];return!![];});return _0x579aed?[_0x579aed,..._0x632c9c]:_0x632c9c;}[a0_0x4e0ba7(0x32d)](){const _0x3d9e7b=a0_0x4e0ba7,_0x3b15d6=this[_0x3d9e7b(0x274)](),_0x2aa97f=this[_0x3d9e7b(0xee)][_0x3d9e7b(0x26a)],_0x2c6f00=_0x3b15d6[_0x3d9e7b(0x248)](_0x4e7e5f=>{const _0x2b5236=_0x3d9e7b,_0x45616e=_0x4e7e5f[_0x2b5236(0x1e4)]()||_0x4e7e5f['code']===_0x2aa97f,_0x598638=_0x45616e?'id':_0x4e7e5f['code'];return{'name':_0x598638,'type':_0x4e7e5f[_0x2b5236(0x14a)],'description':_0x45616e?_0x2b5236(0x23d)+(_0x2aa97f&&_0x2aa97f!==_0x4e7e5f['code']?_0x2b5236(0x133)+_0x4e7e5f[_0x2b5236(0x297)]+')':''):_0x4e7e5f['description']||_0x4e7e5f[_0x2b5236(0x2bd)]};});return{'description':'HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','params':_0x2c6f00};}[a0_0x4e0ba7(0x2b9)](){const _0x23b6be=a0_0x4e0ba7,_0x459346=this[_0x23b6be(0x25d)](),_0x549e30=Object[_0x23b6be(0x1e5)](_0x459346)[_0x23b6be(0x248)](([_0xf6963e,_0x4d4113])=>{const _0x128f98=_0x23b6be,_0x393530=_0x4d4113;return{'name':_0xf6963e,'type':_0x393530['type']||_0x128f98(0x209),'description':_0x393530[_0x128f98(0x27d)]||'-'};});return{'description':'update\x20接口接受两个参数:\x0a\x0a'+'**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a'+_0x23b6be(0x2c4)+_0x23b6be(0xe9)+'-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a'+'**可更新的字段列表:**','params':_0x549e30};}[a0_0x4e0ba7(0x15d)](){const _0x3038c9=a0_0x4e0ba7,_0x5f13cc=this[_0x3038c9(0x25d)](),_0x1faea8={};return Object[_0x3038c9(0x1e5)](_0x5f13cc)[_0x3038c9(0x31e)](([_0x48177a,_0x18a01d])=>{const _0x544794=_0x3038c9,_0x13dc75=_0x18a01d;let _0x535f1d;if(typeof _0x13dc75[_0x544794(0x14a)]===_0x544794(0x208))_0x535f1d=_0x13dc75[_0x544794(0x14a)];else _0x13dc75[_0x544794(0x14a)]&&typeof _0x13dc75[_0x544794(0x14a)]===_0x544794(0x286)?_0x535f1d=_0x13dc75[_0x544794(0x14a)][_0x544794(0x14a)]||_0x544794(0x271):_0x535f1d=_0x544794(0x271);const _0x2eabcc=_0x13dc75[_0x544794(0x27d)],_0x338c2b=this['getFieldDefinition'](_0x48177a);_0x1faea8[_0x48177a]=this[_0x544794(0x14c)](_0x48177a,_0x535f1d,_0x338c2b?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x2eabcc||_0x338c2b?.[_0x544794(0x27d)]||_0x338c2b?.[_0x544794(0x2bd)]});}),{'id':0x1,'data':_0x1faea8};}[a0_0x4e0ba7(0xf4)](){const _0x161f5b=a0_0x4e0ba7,_0x4f1382=this[_0x161f5b(0x15d)]();return[{'title':'SDK\x20调用示例(两参数格式)','description':_0x161f5b(0x242)+'-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a'+_0x161f5b(0xe8),'data':_0x4f1382},{'title':_0x161f5b(0x24e),'description':_0x161f5b(0x175)+_0x161f5b(0x226)+_0x161f5b(0x127),'data':this['generateHTTPRequestExample']()}];}['generateHTTPRequestExample'](){const _0x3e698c=a0_0x4e0ba7,_0x9813e9=this[_0x3e698c(0x25d)](),_0x32c3dd={'id':0x1};return Object[_0x3e698c(0x1e5)](_0x9813e9)[_0x3e698c(0x31e)](([_0x517ed2,_0xfb365c])=>{const _0x567ccf=_0x3e698c,_0x53bbca=_0xfb365c;let _0xcff480;if(typeof _0x53bbca[_0x567ccf(0x14a)]==='string')_0xcff480=_0x53bbca[_0x567ccf(0x14a)];else _0x53bbca[_0x567ccf(0x14a)]&&typeof _0x53bbca['type']===_0x567ccf(0x286)?_0xcff480=_0x53bbca[_0x567ccf(0x14a)]['type']||_0x567ccf(0x271):_0xcff480=_0x567ccf(0x271);const _0x5cbd5e=_0x53bbca[_0x567ccf(0x27d)],_0x5f26f8=this['getFieldDefinition'](_0x517ed2);if(_0x5f26f8?.[_0x567ccf(0x1e4)]())return;_0x32c3dd[_0x517ed2]=this['generateFieldExample'](_0x517ed2,_0xcff480,_0x5f26f8?.[_0x567ccf(0x214)](),{'isPrimaryKey':![],'description':_0x5cbd5e||_0x5f26f8?.[_0x567ccf(0x27d)]||_0x5f26f8?.[_0x567ccf(0x2bd)]});}),_0x32c3dd;}[a0_0x4e0ba7(0x2ea)](){const _0x34c42f=a0_0x4e0ba7;return this[_0x34c42f(0x326)]();}[a0_0x4e0ba7(0x2a5)](_0x3f0806,_0x20a664){const _0x497a68=a0_0x4e0ba7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x20a664||{},_0x5c563e=this[_0x497a68(0xf8)]();if(useFullExample){const _0x2e2a5e=this[_0x497a68(0x15d)](),_0xbb39b1=JSON['stringify'](_0x2e2a5e[_0x497a68(0x2c9)],null,0x2)['split']('\x0a')['map']((_0x3b4f3b,_0x573168)=>_0x573168===0x0?_0x3b4f3b:indent+_0x3b4f3b)[_0x497a68(0x198)]('\x0a');return _0x497a68(0x241)+_0x3f0806+'.'+_0x5c563e+'('+_0x2e2a5e['id']+',\x20'+_0xbb39b1+');';}return _0x497a68(0x241)+_0x3f0806+'.'+_0x5c563e+'(id,\x20data);';}}var AGGREGATE_FUNCTIONS=[a0_0x4e0ba7(0x2ed),a0_0x4e0ba7(0x32c),a0_0x4e0ba7(0x22a),a0_0x4e0ba7(0x31a),a0_0x4e0ba7(0x150)];class AggregateOperation extends GenericOperation{constructor(_0x118bce,_0x104716,_0x2b8b01){super(_0x118bce,_0x104716,_0x2b8b01);}[a0_0x4e0ba7(0x320)](_0x412e44){const _0x4612bc=a0_0x4e0ba7;return _0x412e44[_0x4612bc(0x203)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}[a0_0x4e0ba7(0x260)](){const _0x11fcf2=a0_0x4e0ba7,_0x3d29fd=super['getRequestParams']();return{..._0x3d29fd,'select':{'type':_0x11fcf2(0x10e),'description':_0x11fcf2(0x1fa),'required':![]},'where':{'type':'Object','description':_0x11fcf2(0x1b3),'required':![]},'groupBy':{'type':'String[]','description':_0x11fcf2(0x329),'required':![]},'aggregate':{'type':_0x11fcf2(0x299),'description':'聚合函数配置数组','required':![]},'having':{'type':_0x11fcf2(0x299),'description':_0x11fcf2(0xfc),'required':![]},'orderBy':{'type':_0x11fcf2(0x299),'description':'排序规则(与\x20Filter\x20API\x20一致)','required':![]},'currentPage':{'type':_0x11fcf2(0x11c),'description':'当前页码(从\x201\x20开始,默认:\x201)','required':![]},'pageSize':{'type':'Number','description':'每页数量(默认:\x2020)','required':![]}};}[a0_0x4e0ba7(0x19d)](){const _0x47319f=a0_0x4e0ba7;return[{'code':_0x47319f(0x2c2),'type':'String[]','description':_0x47319f(0x1fa)},{'code':_0x47319f(0x139),'type':_0x47319f(0x20e),'description':_0x47319f(0x1b3)},{'code':_0x47319f(0x20a),'type':_0x47319f(0x10e),'description':'分组字段列表'},{'code':_0x47319f(0x2da),'type':_0x47319f(0x299),'description':_0x47319f(0x307)},{'code':'having','type':'Array','description':'分组后的过滤条件(对聚合结果进行过滤)'},{'code':_0x47319f(0x107),'type':'Array','description':_0x47319f(0x29d)},{'code':'currentPage','type':_0x47319f(0x11c),'description':_0x47319f(0x2c1)},{'code':_0x47319f(0x11e),'type':_0x47319f(0x11c),'description':_0x47319f(0x2c5)}];}[a0_0x4e0ba7(0x15d)](){const _0x7870ba=a0_0x4e0ba7,_0x54a14=this[_0x7870ba(0xee)][_0x7870ba(0x2c7)]||[];if(_0x54a14[_0x7870ba(0x2f3)]===0x0)return{'where':{},'groupBy':[],'aggregate':[]};const _0x4ec1a1={},_0x2d96de=_0x54a14[_0x7870ba(0x1f0)](0x0,Math[_0x7870ba(0x150)](0x3,_0x54a14[_0x7870ba(0x2f3)]));_0x2d96de['forEach'](_0x8526e=>{const _0x41c00b=_0x7870ba,_0x308363=this[_0x41c00b(0x24f)](_0x8526e);if(_0x308363[_0x41c00b(0x2f3)]===0x0)return;const _0x2b4a00=this['selectBestOperator'](_0x8526e,_0x308363),_0x295142=this['generateExampleValue'](_0x8526e,_0x2b4a00);_0x4ec1a1[_0x8526e[_0x41c00b(0x297)]]={[_0x2b4a00]:_0x295142};});const _0x33d94e=_0x54a14['slice'](0x0,Math[_0x7870ba(0x150)](0x2,_0x54a14[_0x7870ba(0x2f3)]))['map'](_0x26e7fa=>_0x26e7fa[_0x7870ba(0x297)]),_0x1f551d=[],_0x5a3da1=_0x54a14['filter'](_0x3fd3ed=>this[_0x7870ba(0xcb)](_0x3fd3ed));if(_0x5a3da1[_0x7870ba(0x2f3)]>0x0){const _0x154ea9=_0x5a3da1[0x0],_0x408c94=_0x154ea9[_0x7870ba(0x297)];_0x1f551d[_0x7870ba(0x1ac)]({'type':_0x7870ba(0x2ed),'column':_0x408c94,'alias':_0x408c94+_0x7870ba(0x267),'distinct':![],'round':!![],'precision':0x2}),_0x1f551d[_0x7870ba(0x1ac)]({'type':'avg','column':_0x408c94,'alias':_0x408c94+_0x7870ba(0x231),'distinct':![],'round':!![],'precision':0x2}),_0x1f551d[_0x7870ba(0x1ac)]({'type':_0x7870ba(0x31a),'column':_0x408c94,'alias':_0x408c94+'_max','distinct':![],'round':!![],'precision':0x2}),_0x1f551d['push']({'type':'min','column':_0x408c94,'alias':_0x408c94+_0x7870ba(0x2e0),'distinct':![],'round':!![],'precision':0x2});}else{if(_0x54a14[_0x7870ba(0x2f3)]>0x0){const _0x1db340=_0x54a14[0x0],_0x44e3ff=_0x1db340[_0x7870ba(0x297)];_0x1f551d[_0x7870ba(0x1ac)]({'type':_0x7870ba(0x32c),'column':_0x44e3ff,'alias':_0x7870ba(0xea),'distinct':!![]});}}const _0x4d2137=[];if(_0x54a14['length']>0x0){const _0x1aeec7=_0x54a14[0x0]['code'];_0x4d2137[_0x7870ba(0x1ac)]({[_0x1aeec7]:_0x7870ba(0x152)});}const _0x49b3e9=[..._0x33d94e,..._0x1f551d[_0x7870ba(0x248)](_0xb3079e=>_0xb3079e[_0x7870ba(0xbc)])],_0xfa7e47=[];return _0x1f551d['length']>0x0&&_0xfa7e47['push']({'columnName':_0x1f551d[0x0]['alias'],'condition':{'$gte':0x0}}),{'select':_0x49b3e9,'where':_0x4ec1a1,'groupBy':_0x33d94e,'aggregate':_0x1f551d,'having':_0xfa7e47[_0x7870ba(0x2f3)]>0x0?_0xfa7e47:undefined,'orderBy':_0x4d2137,'currentPage':0x1,'pageSize':0x14};}[a0_0x4e0ba7(0x2a5)](_0x26e412,_0xe4ae8b){const _0x18da65=a0_0x4e0ba7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0xe4ae8b||{},_0x5bab2e=this[_0x18da65(0xf8)](),_0x474940=this[_0x18da65(0x15d)](),_0x458237=_0xab2dd1=>{const _0x1fa504=_0x18da65;return JSON[_0x1fa504(0x1a5)](_0xab2dd1,null,0x2)[_0x1fa504(0x2e9)]('\x0a')[_0x1fa504(0x248)]((_0x10cffa,_0x76cd04)=>_0x76cd04===0x0?_0x10cffa:indent+_0x10cffa)[_0x1fa504(0x198)]('\x0a');};if(useFullExample){const _0x306dc5=this['context'][_0x18da65(0x2c7)]||[],_0x2ef55c=_0x306dc5['filter'](_0x1c2b16=>this[_0x18da65(0xcb)](_0x1c2b16)),_0x3c0af9={'where':_0x306dc5[0x0]?{[_0x306dc5[0x0][_0x18da65(0x297)]]:{'$eq':this[_0x18da65(0x29f)](_0x306dc5[0x0],_0x18da65(0x112))}}:{},'aggregate':_0x2ef55c[_0x18da65(0x2f3)]>0x0?[{'type':_0x18da65(0x2ed),'column':_0x2ef55c[0x0]['code'],'alias':_0x2ef55c[0x0]['code']+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x18da65(0x32c),'column':_0x306dc5[0x0][_0x18da65(0x297)],'alias':'total_count','distinct':!![]}],'orderBy':[{[_0x306dc5[0x0][_0x18da65(0x297)]]:_0x18da65(0x152)}]};let _0x25a662='';return _0x306dc5[_0x18da65(0x2f3)]>=0x3&&(_0x25a662=_0x18da65(0x225)+_0x26e412+'.'+_0x5bab2e+'('+_0x458237(_0x474940)+');'),_0x18da65(0x124)+_0x26e412+'.'+_0x5bab2e+'('+_0x458237(_0x3c0af9)+');'+_0x25a662;}const _0x3cf760=JSON[_0x18da65(0x1a5)](_0x474940,null,0x2)[_0x18da65(0x2e9)]('\x0a')['map']((_0x26f319,_0x4d29e8)=>_0x4d29e8===0x0?_0x26f319:indent+_0x26f319)[_0x18da65(0x198)]('\x0a');return _0x18da65(0x241)+_0x26e412+'.'+_0x5bab2e+'('+_0x3cf760+');';}[a0_0x4e0ba7(0xcb)](_0xa60f6a){const _0xb39967=a0_0x4e0ba7,_0x1eec07=_0xa60f6a[_0xb39967(0x214)]();return[_0xb39967(0x31f),'INTEGER',_0xb39967(0x1cd),_0xb39967(0x33a)]['includes'](_0x1eec07)||[_0xb39967(0xd5),'TINYINT','SMALLINT',_0xb39967(0x190),_0xb39967(0x22b)][_0xb39967(0x201)](_0x1eec07);}[a0_0x4e0ba7(0x24f)](_0xb0e555){const _0x3837ef=a0_0x4e0ba7,_0x579239=_0xb0e555['getDbTypeForOperation'](),_0x5392b0=[];if([_0x3837ef(0x31f),_0x3837ef(0x218),_0x3837ef(0x1cd),_0x3837ef(0x33a)][_0x3837ef(0x201)](_0x579239)||[_0x3837ef(0xd5),_0x3837ef(0x12e),_0x3837ef(0x330),_0x3837ef(0x190),'FLOAT']['includes'](_0x579239))_0x5392b0[_0x3837ef(0x1ac)](_0x3837ef(0x112),_0x3837ef(0x23f),_0x3837ef(0x153),_0x3837ef(0x116),_0x3837ef(0x16d),_0x3837ef(0x147),_0x3837ef(0x288));else{if([_0x3837ef(0x262),'TEXT',_0x3837ef(0x324)][_0x3837ef(0x201)](_0x579239)||[_0x3837ef(0x222),_0x3837ef(0x12a)]['includes'](_0x579239))_0x5392b0[_0x3837ef(0x1ac)]('$eq','$ne','$in',_0x3837ef(0x18c),'$startWith','$endWith');else{if([_0x3837ef(0xfa),_0x3837ef(0xf5),_0x3837ef(0x1d9)][_0x3837ef(0x201)](_0x579239)||[_0x3837ef(0x1c5)][_0x3837ef(0x201)](_0x579239))_0x5392b0[_0x3837ef(0x1ac)](_0x3837ef(0x112),_0x3837ef(0x23f),_0x3837ef(0x153),'$lte',_0x3837ef(0x16d),_0x3837ef(0x147));else[_0x3837ef(0x130),_0x3837ef(0x268),'BIT'][_0x3837ef(0x201)](_0x579239)?_0x5392b0[_0x3837ef(0x1ac)](_0x3837ef(0x112),'$ne'):_0x5392b0[_0x3837ef(0x1ac)](_0x3837ef(0x112),_0x3837ef(0x23f));}}return _0x5392b0;}['selectBestOperator'](_0x37911f,_0x2e4d94){const _0x496fc3=a0_0x4e0ba7,_0x5db9bf=_0x37911f[_0x496fc3(0x214)]();if([_0x496fc3(0x31f),_0x496fc3(0x218),_0x496fc3(0x1cd),_0x496fc3(0x33a)][_0x496fc3(0x201)](_0x5db9bf)||['INT',_0x496fc3(0x12e),_0x496fc3(0x330),'DOUBLE','FLOAT'][_0x496fc3(0x201)](_0x5db9bf))return _0x2e4d94[_0x496fc3(0x201)]('$gte')?_0x496fc3(0x153):_0x496fc3(0x112);if([_0x496fc3(0x262),_0x496fc3(0x271),'VARCHAR'][_0x496fc3(0x201)](_0x5db9bf)||[_0x496fc3(0x222),_0x496fc3(0x12a)][_0x496fc3(0x201)](_0x5db9bf))return _0x2e4d94[_0x496fc3(0x201)](_0x496fc3(0x18c))?_0x496fc3(0x18c):'$eq';if([_0x496fc3(0xfa),_0x496fc3(0xf5),_0x496fc3(0x1d9),'TIME'][_0x496fc3(0x201)](_0x5db9bf))return _0x2e4d94[_0x496fc3(0x201)](_0x496fc3(0x153))?_0x496fc3(0x153):_0x496fc3(0x112);return _0x496fc3(0x112);}[a0_0x4e0ba7(0x29f)](_0x58e6fb,_0x55fce8){const _0x2e59a2=a0_0x4e0ba7,_0x36e9f2=_0x58e6fb[_0x2e59a2(0x214)](),_0x1a679c=_0x58e6fb['getEnumOptions']();if(_0x1a679c&&_0x1a679c['length']>0x0){if(_0x55fce8===_0x2e59a2(0x288))return _0x1a679c[_0x2e59a2(0x1f0)](0x0,0x2)[_0x2e59a2(0x248)](_0x5cd074=>_0x5cd074[_0x2e59a2(0x2b4)]);return _0x1a679c[0x0][_0x2e59a2(0x2b4)];}if(['NUMBER',_0x2e59a2(0x218),_0x2e59a2(0x1cd),_0x2e59a2(0x33a)][_0x2e59a2(0x201)](_0x36e9f2)||[_0x2e59a2(0xd5),'TINYINT',_0x2e59a2(0x330),_0x2e59a2(0x190),_0x2e59a2(0x22b)]['includes'](_0x36e9f2)){if(_0x55fce8===_0x2e59a2(0x288))return[0x1,0x2,0x3];if(_0x55fce8===_0x2e59a2(0x153)||_0x55fce8===_0x2e59a2(0x16d))return 0x0;if(_0x55fce8===_0x2e59a2(0x116)||_0x55fce8===_0x2e59a2(0x147))return 0x64;return 0x1;}if([_0x2e59a2(0x262),_0x2e59a2(0x271),_0x2e59a2(0x324)]['includes'](_0x36e9f2)||['CHAR','LONGTEXT']['includes'](_0x36e9f2)){if(_0x55fce8===_0x2e59a2(0x288))return['value1',_0x2e59a2(0xc1)];if(_0x55fce8===_0x2e59a2(0x18c))return _0x2e59a2(0x240);if(_0x55fce8===_0x2e59a2(0x119))return _0x2e59a2(0x21f);if(_0x55fce8===_0x2e59a2(0x2fd))return'suffix';return'value';}if([_0x2e59a2(0xfa),'DATETIME',_0x2e59a2(0x1d9),_0x2e59a2(0x1c5)][_0x2e59a2(0x201)](_0x36e9f2)){if(_0x55fce8===_0x2e59a2(0x153)||_0x55fce8===_0x2e59a2(0x16d))return'2024-01-01';if(_0x55fce8==='$lte'||_0x55fce8===_0x2e59a2(0x147))return'2024-12-31';return _0x2e59a2(0x15e);}if([_0x2e59a2(0x130),'BOOL','BIT'][_0x2e59a2(0x201)](_0x36e9f2))return!![];return _0x55fce8==='$in'?[_0x2e59a2(0x234),'value2']:'value';}[a0_0x4e0ba7(0x2b9)](){const _0x5a24c9=a0_0x4e0ba7,_0x38ec7f=this['getRequestParams'](),_0x15692d=Object[_0x5a24c9(0x1e5)](_0x38ec7f)[_0x5a24c9(0x24b)](([_0x37819c])=>_0x37819c!==_0x5a24c9(0x1db)&&_0x37819c!==_0x5a24c9(0x11e))[_0x5a24c9(0x248)](([_0x148251,_0x19af4f])=>{const _0x3185bc=_0x5a24c9,_0x58d2a8=_0x19af4f;return{'name':_0x148251,'type':_0x58d2a8[_0x3185bc(0x14a)]||_0x3185bc(0x209),'description':_0x58d2a8['description']||'-','required':_0x58d2a8[_0x3185bc(0x2db)]};});return{'description':_0x5a24c9(0x294),'params':_0x15692d};}[a0_0x4e0ba7(0x164)](){const _0x59859f=a0_0x4e0ba7,_0x46ea25=this[_0x59859f(0x15d)]()['aggregate'],_0x5e5f08=[{}],_0xb60655=[];return _0x46ea25?.[_0x59859f(0x31e)](_0x45c6cd=>{const _0x107b41=_0x59859f;_0xb60655[_0x107b41(0x1ac)]({'title':_0x45c6cd[_0x107b41(0xbc)],'dataIndex':_0x45c6cd[_0x107b41(0xbc)]}),_0x5e5f08[0x0][_0x45c6cd[_0x107b41(0xbc)]]=_0x45c6cd[_0x107b41(0x14a)]===_0x107b41(0x32c)?0x64:Math['round'](Math[_0x107b41(0x308)]()*0x64*0x64)/0x64;}),{'success':!![],'msg':'','errorMsg':'','errorCode':'0000','data':{'paging':{'pageSize':0x1,'totalCount':0x64,'currentPage':0x1},'tableData':_0x5e5f08,'tableColumns':_0xb60655},'params':null};}}class OperationFactory{[a0_0x4e0ba7(0x166)](_0x3926d0,_0x4b3f73,_0x2341e5){const _0x1841e5=a0_0x4e0ba7;switch(_0x3926d0){case _0x1841e5(0x2b8):return new GetSelectOptionsOperation(_0x3926d0,_0x4b3f73,_0x2341e5);case _0x1841e5(0x253):return new GetListOperation(_0x3926d0,_0x4b3f73,_0x2341e5);case _0x1841e5(0x24b):return new FilterOperation(_0x3926d0,_0x4b3f73,_0x2341e5);case'excelExport':return new ExcelExportOperation(_0x3926d0,_0x4b3f73,_0x2341e5);case'update':return new UpdateOperation(_0x3926d0,_0x4b3f73,_0x2341e5);case _0x1841e5(0x2da):return new AggregateOperation(_0x3926d0,_0x4b3f73,_0x2341e5);default:return new GenericOperation(_0x3926d0,_0x4b3f73,_0x2341e5);}}['createAll'](_0x2bd343,_0xff30de){const _0x32ee56=a0_0x4e0ba7,_0x106d8d=new Map();return Object[_0x32ee56(0x1e5)](_0x2bd343)['forEach'](([_0x375a9a,_0xea8413])=>{const _0x2254b7=_0x32ee56;_0x106d8d['set'](_0x375a9a,this[_0x2254b7(0x166)](_0x375a9a,_0xea8413,_0xff30de));}),_0x106d8d;}}class OperationList{['_operations'];constructor(_0x44d631,_0x459dcf){const _0x1d74ed=a0_0x4e0ba7,_0xeac3e5=new OperationFactory();this[_0x1d74ed(0x1ce)]=_0xeac3e5['createAll'](_0x44d631,_0x459dcf);}['get'](_0x1780bd){const _0x79cd36=a0_0x4e0ba7;return this[_0x79cd36(0x1ce)]['get'](_0x1780bd);}[a0_0x4e0ba7(0x17e)](_0x14837a){const _0x140a37=a0_0x4e0ba7;return this[_0x140a37(0x1ce)][_0x140a37(0x17e)](_0x14837a);}[a0_0x4e0ba7(0x291)](){const _0x2ce36a=a0_0x4e0ba7;return this[_0x2ce36a(0x1ce)][_0x2ce36a(0x291)];}['getNames'](){const _0x21ec96=a0_0x4e0ba7;return Array[_0x21ec96(0x1f5)](this[_0x21ec96(0x1ce)]['keys']());}[a0_0x4e0ba7(0xeb)](){const _0x226c88=a0_0x4e0ba7,_0x4b6d7f=Array[_0x226c88(0x1f5)](this[_0x226c88(0x1ce)][_0x226c88(0x2a7)]());return this[_0x226c88(0x2de)](_0x4b6d7f);}[a0_0x4e0ba7(0x1a6)](){const _0x4a35bd=a0_0x4e0ba7;return this['toArray']()[_0x4a35bd(0x24b)](_0x3ebabe=>_0x3ebabe[_0x4a35bd(0xc9)]());}[a0_0x4e0ba7(0x2b6)](){const _0x4568ef=a0_0x4e0ba7;return this[_0x4568ef(0xeb)]()[_0x4568ef(0x24b)](_0x565fb7=>!_0x565fb7[_0x4568ef(0xc9)]());}[a0_0x4e0ba7(0x179)](){const _0x4f8c35=a0_0x4e0ba7;return this[_0x4f8c35(0x1a6)]()['map'](_0x22b599=>_0x22b599['getName']());}[a0_0x4e0ba7(0x219)](){const _0x47bb3e=a0_0x4e0ba7;return this[_0x47bb3e(0x2b6)]()[_0x47bb3e(0x248)](_0x1d9441=>_0x1d9441['getName']());}['getByType'](_0x40ed99){return this['toArray']()['filter'](_0x24439e=>_0x24439e['getType']()===_0x40ed99);}[a0_0x4e0ba7(0x24b)](_0x2a0296){const _0x2472f2=a0_0x4e0ba7;return this[_0x2472f2(0xeb)]()[_0x2472f2(0x24b)](_0x2a0296);}[a0_0x4e0ba7(0x1fd)](_0x29de30={}){const _0x1bf550=a0_0x4e0ba7;let _0x31a2ef=this['toArray']();!_0x29de30[_0x1bf550(0x18d)]&&(_0x31a2ef=_0x31a2ef[_0x1bf550(0x24b)](_0x5d9253=>_0x5d9253[_0x1bf550(0xc9)]()));if(_0x29de30[_0x1bf550(0x210)]!==![]){const _0x1132bd=_0x31a2ef['map'](_0x51fc47=>({'name':_0x51fc47[_0x1bf550(0xf8)](),'operation':_0x51fc47})),_0xa37b56=filterApiOperations(_0x1132bd);_0x31a2ef=_0xa37b56['map'](_0x39a9b7=>_0x39a9b7[_0x1bf550(0x1b8)]),_0x31a2ef=this[_0x1bf550(0x2de)](_0x31a2ef);}return _0x29de30['customFilter']&&(_0x31a2ef=_0x31a2ef['filter'](_0x29de30[_0x1bf550(0x2bc)])),_0x31a2ef;}[a0_0x4e0ba7(0x2de)](_0x3a2167){const _0x308b6e=a0_0x4e0ba7,_0x250d33=_0x3a2167[_0x308b6e(0x2a2)](_0x1c784f=>_0x1c784f[_0x308b6e(0xf8)]()===_0x308b6e(0x24b)),_0x598591=_0x3a2167[_0x308b6e(0x24b)](_0x3b8f4d=>_0x3b8f4d['getName']()!=='filter');return _0x250d33?[_0x250d33,..._0x598591]:_0x598591;}[a0_0x4e0ba7(0x318)](){const _0x3e365f=a0_0x4e0ba7,_0x544c7a=this[_0x3e365f(0x1a6)]();return{'total':this['size'](),'enabled':_0x544c7a['length'],'disabled':this[_0x3e365f(0x291)]()-_0x544c7a[_0x3e365f(0x2f3)],'byType':this[_0x3e365f(0x26d)](_0x544c7a),'byMethod':this['getCountByMethod'](_0x544c7a)};}[a0_0x4e0ba7(0x26d)](_0x1c6014){const _0x17e894={};return _0x1c6014['forEach'](_0x396874=>{const _0x382c16=a0_0x42d0,_0x137033=_0x396874[_0x382c16(0x1e0)]();_0x137033&&(_0x17e894[_0x137033]=(_0x17e894[_0x137033]||0x0)+0x1);}),_0x17e894;}[a0_0x4e0ba7(0x122)](_0x11bc8d){const _0x8e53e2=a0_0x4e0ba7,_0x5bd731={};return _0x11bc8d[_0x8e53e2(0x31e)](_0x57f3af=>{const _0x47315d=_0x8e53e2,_0x2e47f0=_0x57f3af[_0x47315d(0x148)]();_0x2e47f0&&(_0x5bd731[_0x2e47f0]=(_0x5bd731[_0x2e47f0]||0x0)+0x1);}),_0x5bd731;}[Symbol[a0_0x4e0ba7(0x19a)]](){const _0xb86079=a0_0x4e0ba7;return this[_0xb86079(0x1ce)][_0xb86079(0x2a7)]();}[a0_0x4e0ba7(0x227)](){const _0x3989bf=a0_0x4e0ba7,_0x1ba75e=this['getStats']();return _0x3989bf(0x2b1)+_0x1ba75e[_0x3989bf(0x1b2)]+'/'+_0x1ba75e[_0x3989bf(0xcc)]+_0x3989bf(0x1d7);}}class DBConfig{['raw'];[a0_0x4e0ba7(0x17a)];[a0_0x4e0ba7(0x2ac)];[a0_0x4e0ba7(0xff)];[a0_0x4e0ba7(0xc4)];[a0_0x4e0ba7(0x2f1)];['datasetKey'];[a0_0x4e0ba7(0x26a)];constructor(_0x4099c4,_0x475c04){const _0x249c27=a0_0x4e0ba7;this[_0x249c27(0x325)]=_0x475c04,this[_0x249c27(0x17a)]=_0x4099c4['dbId'],this[_0x249c27(0x2ac)]=_0x4099c4[_0x249c27(0x2ac)],this[_0x249c27(0xff)]=_0x4099c4['dbType'],this['dbVersion']=_0x4099c4[_0x249c27(0xc4)],this['tableName']=_0x4099c4[_0x249c27(0x2f1)],this[_0x249c27(0x18a)]=_0x4099c4['datasetKey'],this[_0x249c27(0x26a)]=_0x4099c4[_0x249c27(0x26a)];}[a0_0x4e0ba7(0x13a)](){const _0x2481b5=a0_0x4e0ba7;return this[_0x2481b5(0x325)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x4e0ba7(0x1b9)];[a0_0x4e0ba7(0x2b5)];[a0_0x4e0ba7(0x258)];constructor(_0x97c437){const _0x3e718b=a0_0x4e0ba7;super({..._0x97c437,'id':_0x97c437[_0x3e718b(0x1e7)]||_0x97c437['id'],'datasetCode':_0x97c437[_0x3e718b(0x252)]||_0x97c437[_0x3e718b(0x192)]||_0x97c437[_0x3e718b(0x297)]});}[a0_0x4e0ba7(0x254)](){return;}[a0_0x4e0ba7(0x183)](){return[];}[a0_0x4e0ba7(0x283)](){return[];}get[a0_0x4e0ba7(0x239)](){const _0x8c6304=a0_0x4e0ba7;return this[_0x8c6304(0x134)]();}[a0_0x4e0ba7(0x327)](){const _0x4c8f7a=a0_0x4e0ba7;if(!this[_0x4c8f7a(0x2b5)]){const _0x68eba6=this[_0x4c8f7a(0x21d)]();throw new Error('getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass');}return this[_0x4c8f7a(0x2b5)];}[a0_0x4e0ba7(0x13b)](){const _0x46a254=a0_0x4e0ba7;if(!this[_0x46a254(0x258)]){const _0x101684=this[_0x46a254(0x21d)]();throw new Error(_0x46a254(0xf7));}return this[_0x46a254(0x258)];}[a0_0x4e0ba7(0x298)](){return[];}[a0_0x4e0ba7(0x1c7)](){const _0x247ddd=a0_0x4e0ba7,_0x29840c=this['getFieldDataSource']();return _0x29840c[_0x247ddd(0x2c7)];}[a0_0x4e0ba7(0x2fc)](){const _0x5184bd=a0_0x4e0ba7;return this['getFields']()[_0x5184bd(0x2f3)];}[a0_0x4e0ba7(0x266)](_0x5daa62){const _0x7ccbd9=a0_0x4e0ba7,_0x3c2465=this[_0x7ccbd9(0x243)](_0x5daa62);return _0x3c2465?_0x3c2465['raw']:undefined;}[a0_0x4e0ba7(0xcf)](_0x371078){return;}['parseFieldExtend'](_0x447155){const _0x2d42b4=a0_0x4e0ba7;if(!_0x447155||typeof _0x447155!=='object')return!![]&&console['warn'](_0x2d42b4(0x2d0),_0x447155),{};if(_0x2d42b4(0x26a)in _0x447155){const _0x7a5893=_0x447155;return{'primaryKey':_0x7a5893[_0x2d42b4(0x26a)],'required':_0x7a5893[_0x2d42b4(0x2db)],'systemRetain':Boolean(_0x7a5893[_0x2d42b4(0x228)]),'autoIncrement':_0x7a5893['autoIncrement']??undefined};}if(!(_0x2d42b4(0x1d8)in _0x447155)||!_0x447155['extend'])return{};try{const _0x23da17=typeof _0x447155[_0x2d42b4(0x1d8)]===_0x2d42b4(0x208)?JSON[_0x2d42b4(0x135)](_0x447155[_0x2d42b4(0x1d8)]):_0x447155[_0x2d42b4(0x1d8)];if(typeof _0x23da17!=='object'||_0x23da17===null)return{};return _0x23da17;}catch{return{};}}[a0_0x4e0ba7(0x2b0)](){const _0x1a7c8c=a0_0x4e0ba7;if(!this[_0x1a7c8c(0x1b9)]){const _0x459af5=this[_0x1a7c8c(0x177)](this[_0x1a7c8c(0xfe)]()||{});this[_0x1a7c8c(0x1b9)]=new OperationList(_0x459af5,{'fields':this['getFieldList']()['all'](),'pkField':this[_0x1a7c8c(0x2a1)][_0x1a7c8c(0x2df)]?.[_0x1a7c8c(0x26a)],'dbtableConfig':this['_raw'][_0x1a7c8c(0x2df)]||null});}return this[_0x1a7c8c(0x1b9)];}[a0_0x4e0ba7(0x177)](_0x33d8a8){const _0x254d4b=a0_0x4e0ba7;if(_0x33d8a8['filter']!==undefined)return _0x33d8a8;return{..._0x33d8a8,'filter':this[_0x254d4b(0x132)]()};}[a0_0x4e0ba7(0x132)](){const _0x2a10a2=a0_0x4e0ba7,_0x269af2=this[_0x2a10a2(0xfe)]()?.[_0x2a10a2(0x253)];let _0x92d338=_0x269af2?.['host'],_0x5ecf0e='';if(!_0x92d338&&this[_0x2a10a2(0xfe)]()){const _0x1facbe=Object[_0x2a10a2(0x2a7)](this[_0x2a10a2(0xfe)]());for(const _0x287e13 of _0x1facbe){if(_0x287e13&&typeof _0x287e13===_0x2a10a2(0x286)&&_0x2a10a2(0x2dd)in _0x287e13){_0x92d338=_0x287e13[_0x2a10a2(0x2dd)];break;}}}if(_0x269af2?.[_0x2a10a2(0x217)]){const _0x1807fb=_0x269af2[_0x2a10a2(0x217)],_0x1aeb09=_0x1807fb['lastIndexOf']('/');_0x1aeb09!==-0x1&&(_0x5ecf0e=_0x1807fb[_0x2a10a2(0xc2)](0x0,_0x1aeb09));}return{'name':_0x2a10a2(0x24b),'type':_0x2a10a2(0x146),'description':_0x2a10a2(0x264),'method':_0x2a10a2(0x20d),'host':_0x92d338,'path':_0x5ecf0e?_0x5ecf0e+_0x2a10a2(0x316):_0x2a10a2(0x316),'params':_0x269af2?.[_0x2a10a2(0x10c)]||[{'name':_0x2a10a2(0x139),'type':_0x2a10a2(0x286),'required':![]},{'name':'select','type':_0x2a10a2(0xf3),'required':![]},{'name':_0x2a10a2(0x107),'type':'array','required':![]},{'name':_0x2a10a2(0x1db),'type':_0x2a10a2(0x2c8),'required':![],'default':0x1},{'name':_0x2a10a2(0x11e),'type':_0x2a10a2(0x2c8),'required':![],'default':0xa}],'_autoGenerated':!![]};}[a0_0x4e0ba7(0x145)](){const _0x507d52=a0_0x4e0ba7;return this[_0x507d52(0x2b0)]()[_0x507d52(0xeb)]();}['getOperationCount'](){const _0x1d4108=a0_0x4e0ba7;return this['getOperationList']()[_0x1d4108(0x291)]();}['getOperation'](_0x495b06){const _0x5c8cf2=a0_0x4e0ba7;if(typeof _0x495b06!==_0x5c8cf2(0x208)){!![]&&console[_0x5c8cf2(0xec)](_0x5c8cf2(0x2ee),_0x495b06);return;}return this[_0x5c8cf2(0x2b0)]()['get'](_0x495b06);}[a0_0x4e0ba7(0xd2)](_0x5395f0){const _0x12eae9=a0_0x4e0ba7;if(typeof _0x5395f0!==_0x12eae9(0x208))return![];return this[_0x12eae9(0x2b0)]()[_0x12eae9(0x17e)](_0x5395f0);}['isOperationEnabled'](_0x343a31){const _0xc39c3b=a0_0x4e0ba7;if(typeof _0x343a31!==_0xc39c3b(0x208))return![];const _0x375035=this[_0xc39c3b(0x2a4)](_0x343a31);return _0x375035?.[_0xc39c3b(0xc9)]()||![];}[a0_0x4e0ba7(0x2a3)](){const _0x3007f9=a0_0x4e0ba7;return this[_0x3007f9(0x2b0)]()['getEnabledNames']();}[a0_0x4e0ba7(0x24c)](){const _0x5b46bc=a0_0x4e0ba7;return this[_0x5b46bc(0x2b0)]()['getDisabledNames']();}['getEnabledOperationInstances'](){const _0x4be48d=a0_0x4e0ba7;return this['getOperationList']()[_0x4be48d(0x1a6)]();}[a0_0x4e0ba7(0x273)](){const _0x1c1c88=a0_0x4e0ba7;return this[_0x1c1c88(0x2b0)]()[_0x1c1c88(0x2b6)]();}[a0_0x4e0ba7(0x318)](){const _0x522da4=a0_0x4e0ba7;return{'fieldCount':this[_0x522da4(0x2fc)](),'systemFieldCount':this[_0x522da4(0x19d)]()[_0x522da4(0x2f3)],'businessFieldCount':this[_0x522da4(0x21a)]()[_0x522da4(0x2f3)],'requiredFieldCount':this[_0x522da4(0x1bf)]()[_0x522da4(0x2f3)],'primaryKeyCount':this[_0x522da4(0x26b)]()[_0x522da4(0x2f3)],'operationCount':this[_0x522da4(0x12d)](),'enabledOperationCount':this[_0x522da4(0x2a3)]()['length']};}[a0_0x4e0ba7(0x1bc)](_0x4db360){const _0x52139b=a0_0x4e0ba7;if(!_0x4db360||typeof _0x4db360!==_0x52139b(0x286))return'';if('code'in _0x4db360&&typeof _0x4db360[_0x52139b(0x297)]===_0x52139b(0x208))return _0x4db360[_0x52139b(0x297)];if(_0x52139b(0x2bd)in _0x4db360&&typeof _0x4db360[_0x52139b(0x2bd)]==='string')return _0x4db360['name'];return'';}['hasField'](_0x149de2){const _0x5aa121=a0_0x4e0ba7;return this[_0x5aa121(0x327)]()[_0x5aa121(0x17e)](_0x149de2);}[a0_0x4e0ba7(0xd0)](_0x902dcd){const _0x40e329=a0_0x4e0ba7;if(!_0x902dcd||typeof _0x902dcd!==_0x40e329(0x286))return![];const _0x3ab472=this[_0x40e329(0x1bc)](_0x902dcd),_0x1ba656=this[_0x40e329(0x243)](_0x3ab472);return _0x1ba656?_0x1ba656[_0x40e329(0x1e4)]():![];}['isSystemField'](_0x5c045b){const _0x2bc522=a0_0x4e0ba7;if(!_0x5c045b||typeof _0x5c045b!==_0x2bc522(0x286))return![];const _0x24b0bf=this[_0x2bc522(0x1bc)](_0x5c045b),_0x8e9afa=this[_0x2bc522(0x243)](_0x24b0bf);return _0x8e9afa?_0x8e9afa[_0x2bc522(0x26e)]():![];}['isRequiredField'](_0x4ec4fe){const _0x1035eb=a0_0x4e0ba7;if(!_0x4ec4fe||typeof _0x4ec4fe!==_0x1035eb(0x286))return![];const _0x5129bf=this['getFieldCode'](_0x4ec4fe),_0x4fe83e=this[_0x1035eb(0x243)](_0x5129bf);return _0x4fe83e?_0x4fe83e[_0x1035eb(0x19e)]():![];}[a0_0x4e0ba7(0x188)](_0x32157a){const _0x59e92f=a0_0x4e0ba7;if(!_0x32157a||typeof _0x32157a!==_0x59e92f(0x286))return![];const _0x1ca868=this['getFieldCode'](_0x32157a),_0x28fe30=this['getFieldInstance'](_0x1ca868);return _0x28fe30?_0x28fe30[_0x59e92f(0x279)]():![];}[a0_0x4e0ba7(0x2ef)](_0x40973b){const _0xae7dd9=a0_0x4e0ba7;if(!_0x40973b||typeof _0x40973b!==_0xae7dd9(0x286))return![];const _0x11d82d=this['getFieldCode'](_0x40973b),_0x8f9a15=this[_0xae7dd9(0x243)](_0x11d82d);return _0x8f9a15?_0x8f9a15[_0xae7dd9(0x19f)]():![];}[a0_0x4e0ba7(0x21b)](_0x12c96c){const _0x23e670=a0_0x4e0ba7;if(!_0x12c96c||typeof _0x12c96c!==_0x23e670(0x286))return[];const _0x12daed=this[_0x23e670(0x1bc)](_0x12c96c),_0x21011a=this['getFieldInstance'](_0x12daed);if(!_0x21011a||!_0x21011a['isEnum']())return[];return _0x21011a['getEnumOptions']()||[];}[a0_0x4e0ba7(0x15b)](_0x521c7c){const _0x1fc893=a0_0x4e0ba7;if(!_0x521c7c||typeof _0x521c7c!=='object')return;const _0x9d9a87=this[_0x1fc893(0x1bc)](_0x521c7c),_0x335543=this[_0x1fc893(0x243)](_0x9d9a87);if(!_0x335543||!_0x335543[_0x1fc893(0x279)]())return;return _0x335543[_0x1fc893(0x2cb)]();}[a0_0x4e0ba7(0x2cd)](_0x46b8ec){const _0x2fed68=a0_0x4e0ba7;if(!_0x46b8ec||typeof _0x46b8ec!==_0x2fed68(0x286))return;const _0x41c5a0=this[_0x2fed68(0x1bc)](_0x46b8ec),_0x16ab27=this[_0x2fed68(0x243)](_0x41c5a0);if(!_0x16ab27||!_0x16ab27[_0x2fed68(0x279)]())return;return _0x16ab27[_0x2fed68(0x109)]();}[a0_0x4e0ba7(0x26b)](){const _0x3223a6=a0_0x4e0ba7;return this['getFieldList']()[_0x3223a6(0x25b)]()[_0x3223a6(0x248)](_0x45a1a0=>_0x45a1a0['raw']);}['getSystemFields'](){const _0x57fbc4=a0_0x4e0ba7;return this['getFieldList']()[_0x57fbc4(0x2a8)]()[_0x57fbc4(0x248)](_0x1e5202=>_0x1e5202['raw']);}[a0_0x4e0ba7(0x21a)](){const _0x79ed08=a0_0x4e0ba7;return this[_0x79ed08(0x327)]()['getBusiness']()['map'](_0x1b0450=>_0x1b0450[_0x79ed08(0x325)]);}[a0_0x4e0ba7(0x1bf)](){const _0x125fb5=a0_0x4e0ba7;return this[_0x125fb5(0x327)]()[_0x125fb5(0x106)]()[_0x125fb5(0x248)](_0x412116=>_0x412116[_0x125fb5(0x325)]);}['getFieldsByType'](){const _0x3f4895=a0_0x4e0ba7,_0x226394=this[_0x3f4895(0x327)]()[_0x3f4895(0x173)](),_0x229445={};for(const [_0x52771c,_0xf1013a]of Object['entries'](_0x226394)){_0x229445[_0x52771c]=_0xf1013a[_0x3f4895(0x248)](_0x1259d2=>_0x1259d2[_0x3f4895(0x325)]);}return _0x229445;}[a0_0x4e0ba7(0x30a)](){const _0x9823f8=a0_0x4e0ba7;return this['getFieldList']()[_0x9823f8(0x1a3)]()['map'](_0x9ac50f=>_0x9ac50f[_0x9823f8(0x325)]);}[a0_0x4e0ba7(0x1e2)](){const _0x422a27=a0_0x4e0ba7,_0x19c57f={};return this[_0x422a27(0x30a)]()[_0x422a27(0x31e)](_0x97f2dd=>{const _0x2c5503=_0x422a27,_0x12391d=this[_0x2c5503(0x2cd)](_0x97f2dd);if(_0x12391d){const _0x340aa1=this[_0x2c5503(0x1bc)](_0x97f2dd);_0x19c57f[_0x340aa1]=_0x12391d;}}),_0x19c57f;}['validateEnumValue'](_0x2d403f,_0x334abf){const _0x32a3ff=a0_0x4e0ba7,_0x568971=this[_0x32a3ff(0x2cd)](_0x2d403f);if(!_0x568971)return!![];if(_0x568971[_0x32a3ff(0xd7)]&&!_0x568971[_0x32a3ff(0x18f)])return!![];const _0x13ec3d=this[_0x32a3ff(0x1bc)](_0x2d403f),_0x3dd4ad=this['getFieldInstance'](_0x13ec3d),_0x6d9ed1=_0x3dd4ad?_0x3dd4ad[_0x32a3ff(0x19f)]():![];if(_0x6d9ed1&&Array['isArray'](_0x334abf))return _0x334abf[_0x32a3ff(0x18e)](_0x249a1c=>_0x568971[_0x32a3ff(0x2a7)][_0x32a3ff(0x201)](_0x249a1c));return _0x568971[_0x32a3ff(0x2a7)][_0x32a3ff(0x201)](_0x334abf);}[a0_0x4e0ba7(0x101)](){const _0x407492=a0_0x4e0ba7;return new DatasetItem({'id':this['id'],'name':this[_0x407492(0x2bd)],'datasetCode':this[_0x407492(0x192)],'dbtableConfig':this[_0x407492(0x2d6)]()});}['toString'](){const _0x583076=a0_0x4e0ba7;return'DrivenDataDetail('+this[_0x583076(0x2bd)]+',\x20'+this[_0x583076(0x192)]+',\x20'+this[_0x583076(0x2fc)]()+_0x583076(0x1ca)+this[_0x583076(0x12d)]()+_0x583076(0xb9)+this[_0x583076(0x27a)]()+')';}[a0_0x4e0ba7(0x1ba)](){const _0x59f729=a0_0x4e0ba7;return this['getOperationOperators'](_0x59f729(0x24b));}[a0_0x4e0ba7(0x186)](_0x3c0ce0){const _0x5a4805=a0_0x4e0ba7;return this['getOperationFieldOperators'](_0x5a4805(0x24b),_0x3c0ce0);}[a0_0x4e0ba7(0x1ec)](){const _0x36eb5a=a0_0x4e0ba7;return this[_0x36eb5a(0x151)]('filter');}['getOperationOperators'](_0x486c58){const _0x378e83=a0_0x4e0ba7,_0x5ec9d0=this[_0x378e83(0x2a4)](_0x486c58);return _0x5ec9d0?_0x5ec9d0[_0x378e83(0x11b)]():[];}[a0_0x4e0ba7(0x1ef)](_0x546997,_0x4917aa){const _0x42c92c=a0_0x4e0ba7,_0x2f28c2=this[_0x42c92c(0x2a4)](_0x546997);return _0x2f28c2?_0x2f28c2[_0x42c92c(0x306)](_0x4917aa):[];}['getOperationFieldsOperatorsMap'](_0x6e6e3b){const _0x6de43b=a0_0x4e0ba7,_0x2011be={};return this[_0x6de43b(0x327)]()[_0x6de43b(0x31e)](_0x4700ac=>{const _0x5e35b3=_0x6de43b,_0x500e54=this[_0x5e35b3(0x1ef)](_0x6e6e3b,_0x4700ac[_0x5e35b3(0x297)]);_0x500e54[_0x5e35b3(0x2f3)]>0x0&&(_0x2011be[_0x4700ac[_0x5e35b3(0x297)]]=_0x500e54);}),_0x2011be;}[a0_0x4e0ba7(0x1ad)](_0x477681,_0x3caa4a,_0x1f21fd){const _0x3055fb=a0_0x4e0ba7,_0x2e28e5=this[_0x3055fb(0x1ef)](_0x477681,_0x3caa4a);return _0x2e28e5[_0x3055fb(0x201)](_0x1f21fd);}}class FieldBase{get['dbType'](){return;}get['dbTypeLen'](){return;}get['displayName'](){return;}get[a0_0x4e0ba7(0xd8)](){return;}['isBusiness'](){const _0x2f2d72=a0_0x4e0ba7;return!this[_0x2f2d72(0x26e)]();}[a0_0x4e0ba7(0xf1)](){const _0x49f1f5=a0_0x4e0ba7;return this[_0x49f1f5(0x12f)];}[a0_0x4e0ba7(0x279)](){const _0x19b6ac=a0_0x4e0ba7,_0x3c67f2=['RADIO','SELECT',_0x19b6ac(0xd3)];return _0x3c67f2[_0x19b6ac(0x201)](this['type']);}[a0_0x4e0ba7(0x19f)](){const _0x9cd146=a0_0x4e0ba7;return this[_0x9cd146(0x14a)]===_0x9cd146(0xd3);}[a0_0x4e0ba7(0x285)](){const _0x254999=a0_0x4e0ba7,_0x46f6ce=this[_0x254999(0x109)]();return _0x46f6ce?.[_0x254999(0x2a7)]||[];}[a0_0x4e0ba7(0x109)](){const _0x41ae4a=a0_0x4e0ba7;if(!this[_0x41ae4a(0x279)]())return;const _0x150171=this[_0x41ae4a(0x249)](),_0x269052=this['getSelectItemsSource'](),_0xa8a631=[],_0x2d1ba7={},_0x5013d4=_0x3a5b5c=>{const _0x1a054c=_0x41ae4a;_0x3a5b5c[_0x1a054c(0x31e)](_0x57348d=>{const _0x3a859a=_0x1a054c;_0xa8a631['push'](_0x57348d[_0x3a859a(0x2b4)]),_0x2d1ba7[String(_0x57348d[_0x3a859a(0x2b4)])]=_0x57348d[_0x3a859a(0x1e8)],_0x57348d[_0x3a859a(0x315)]&&_0x57348d[_0x3a859a(0x315)][_0x3a859a(0x2f3)]>0x0&&_0x5013d4(_0x57348d[_0x3a859a(0x315)]);});};return _0x150171&&_0x150171[_0x41ae4a(0x2f3)]>0x0&&_0x5013d4(_0x150171),{'code':this[_0x41ae4a(0x297)],'name':this[_0x41ae4a(0x2bd)],'type':this['type'],'multiple':this[_0x41ae4a(0x19f)](),'options':_0x150171,'selectItemsSource':_0x269052,'values':_0xa8a631,'valueLabels':_0x2d1ba7};}[a0_0x4e0ba7(0x227)](){const _0xc31119=a0_0x4e0ba7;return _0xc31119(0x22e)+this[_0xc31119(0x2bd)]+',\x20'+this[_0xc31119(0x297)]+',\x20'+this[_0xc31119(0x14a)]+',\x20'+this['getVersion']()+')';}}class FieldV1 extends FieldBase{['_raw'];[a0_0x4e0ba7(0x200)]=null;constructor(_0x269b54){const _0x5d8e40=a0_0x4e0ba7;super();if(!_0x269b54||typeof _0x269b54!==_0x5d8e40(0x286))throw new Error(_0x5d8e40(0x322));this[_0x5d8e40(0x2a1)]=_0x269b54;}[a0_0x4e0ba7(0x111)](){return this['_raw'];}[a0_0x4e0ba7(0x27a)](){return'v1';}get[a0_0x4e0ba7(0x325)](){const _0x1c4edb=a0_0x4e0ba7;return this[_0x1c4edb(0x2a1)];}get[a0_0x4e0ba7(0x2bd)](){const _0x69879f=a0_0x4e0ba7;return this[_0x69879f(0x2a1)][_0x69879f(0x2bd)]||'';}get[a0_0x4e0ba7(0x297)](){return this['_raw']['code']||'';}get[a0_0x4e0ba7(0x14a)](){const _0x530096=a0_0x4e0ba7;return this[_0x530096(0x2a1)][_0x530096(0x14a)]||'';}get[a0_0x4e0ba7(0x27d)](){const _0xaabb06=a0_0x4e0ba7;return this['_raw'][_0xaabb06(0x27d)]||'';}get[a0_0x4e0ba7(0x12f)](){const _0x2f1f3e=a0_0x4e0ba7;return Boolean(this[_0x2f1f3e(0x2a1)][_0x2f1f3e(0x12f)]);}get[a0_0x4e0ba7(0xff)](){const _0x4530ae=a0_0x4e0ba7;return this[_0x4530ae(0x2a1)][_0x4530ae(0xff)];}get[a0_0x4e0ba7(0x138)](){const _0x213e6c=a0_0x4e0ba7;return this[_0x213e6c(0x2a1)][_0x213e6c(0x138)];}get[a0_0x4e0ba7(0xf6)](){const _0x1b6852=a0_0x4e0ba7;return this['_raw'][_0x1b6852(0xbc)];}get[a0_0x4e0ba7(0xd8)](){return;}get[a0_0x4e0ba7(0x1d8)](){const _0x2be89e=a0_0x4e0ba7;if(this[_0x2be89e(0x200)]!==null&&typeof this[_0x2be89e(0x200)]===_0x2be89e(0x286))return this[_0x2be89e(0x200)];const _0x303e99=this[_0x2be89e(0x2a1)][_0x2be89e(0x1d8)];if(!_0x303e99||typeof _0x303e99!=='string')return this[_0x2be89e(0x200)]={},this[_0x2be89e(0x200)];if(_0x303e99===_0x2be89e(0x296)||_0x303e99['trim']()===_0x2be89e(0x296))return this[_0x2be89e(0x200)]={},this['_extend'];try{const _0x201716=JSON[_0x2be89e(0x135)](_0x303e99);return this[_0x2be89e(0x200)]=_0x201716!==null&&typeof _0x201716===_0x2be89e(0x286)&&!Array[_0x2be89e(0x25f)](_0x201716)?_0x201716:{},this[_0x2be89e(0x200)];}catch(_0x4b53ea){return!![]&&console[_0x2be89e(0xec)]('[FieldV1.extend]\x20解析字段\x20'+this[_0x2be89e(0x297)]+_0x2be89e(0x2dc),_0x4b53ea),this[_0x2be89e(0x200)]={},this['_extend'];}}[a0_0x4e0ba7(0x19e)](){const _0x2d92a0=a0_0x4e0ba7;return Boolean(this[_0x2d92a0(0x1d8)][_0x2d92a0(0x2db)]);}['isPrimaryKey'](){const _0x43900c=a0_0x4e0ba7;return Boolean(this[_0x43900c(0x1d8)][_0x43900c(0x235)]||this[_0x43900c(0x1d8)]['pkField']);}['isSystem'](){const _0x21a088=a0_0x4e0ba7;return Boolean(this['extend'][_0x21a088(0x228)]);}['isAutoIncrement'](){const _0x24cb1d=a0_0x4e0ba7;return Boolean(this[_0x24cb1d(0x1d8)]['autoIncrement']);}[a0_0x4e0ba7(0x321)](){const _0x10e500=a0_0x4e0ba7;return Boolean(this[_0x10e500(0x1d8)][_0x10e500(0xef)]);}[a0_0x4e0ba7(0x1ae)](){const _0x48a418=a0_0x4e0ba7;return Boolean(this[_0x48a418(0x1d8)][_0x48a418(0x185)]);}['isEnum'](){const _0x46d3ea=a0_0x4e0ba7,_0x4b0572=[_0x46d3ea(0x250),_0x46d3ea(0x143),_0x46d3ea(0xd3)];if(_0x4b0572['includes'](this['type']))return!![];const _0x51a19e=this[_0x46d3ea(0x1d8)];return Boolean(_0x51a19e['options']&&Array[_0x46d3ea(0x25f)](_0x51a19e[_0x46d3ea(0x18f)])&&_0x51a19e[_0x46d3ea(0x18f)][_0x46d3ea(0x2f3)]>0x0||_0x51a19e[_0x46d3ea(0xd7)]);}[a0_0x4e0ba7(0x19f)](){const _0x2ea798=a0_0x4e0ba7;if(this[_0x2ea798(0x14a)]===_0x2ea798(0xd3))return!![];return Boolean(this['extend']['multiple']);}[a0_0x4e0ba7(0x249)](){const _0x361155=a0_0x4e0ba7,_0x2816a2=this[_0x361155(0x1d8)];if(_0x2816a2[_0x361155(0x18f)]&&Array[_0x361155(0x25f)](_0x2816a2[_0x361155(0x18f)]))return _0x2816a2[_0x361155(0x18f)];return;}[a0_0x4e0ba7(0x2cb)](){const _0x5a391f=a0_0x4e0ba7,_0x432271=this[_0x5a391f(0x1d8)];if(_0x432271['selectItemsSource']&&typeof _0x432271['selectItemsSource']===_0x5a391f(0x286))return _0x432271[_0x5a391f(0xd7)];return;}[a0_0x4e0ba7(0x214)](){const _0x463675=a0_0x4e0ba7;return this[_0x463675(0x14a)]['toUpperCase']();}[a0_0x4e0ba7(0x29e)](){const _0xd9b63e=a0_0x4e0ba7;return this[_0xd9b63e(0x1d8)][_0xd9b63e(0x149)];}['getTooltip'](){const _0x40f1bd=a0_0x4e0ba7;return this[_0x40f1bd(0x1d8)][_0x40f1bd(0xe2)];}[a0_0x4e0ba7(0x1cf)](){const _0xa7887=a0_0x4e0ba7;return{'name':this[_0xa7887(0x2bd)],'code':this[_0xa7887(0x297)],'type':this[_0xa7887(0x14a)],'description':this[_0xa7887(0x27d)],'required':this[_0xa7887(0x19e)](),'primaryKey':this[_0xa7887(0x1e4)](),'system':this[_0xa7887(0x26e)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0xa7887(0x321)](),'updateTime':this[_0xa7887(0x1ae)](),'isEnum':this[_0xa7887(0x279)](),'enumMeta':this['isEnum']()?this['getEnumMeta']():undefined};}[a0_0x4e0ba7(0x227)](){const _0x3708f2=a0_0x4e0ba7;return _0x3708f2(0x103)+this[_0x3708f2(0x2bd)]+',\x20'+this[_0x3708f2(0x297)]+',\x20'+this[_0x3708f2(0x14a)]+')';}}class FieldListBase{[a0_0x4e0ba7(0x246)];constructor(_0x4dbcc4,_0x3f9a20){const _0x4f77e6=a0_0x4e0ba7;if(!Array[_0x4f77e6(0x25f)](_0x4dbcc4))throw new Error(_0x4f77e6(0x182));const _0x25b250=_0x3f9a20?.[_0x4f77e6(0x207)]??![],_0x2ff68d=_0x25b250?_0x4dbcc4:_0x4dbcc4[_0x4f77e6(0x24b)](_0x83ae95=>{const _0x1465a7=_0x4f77e6,_0x1b40c7=_0x83ae95;return!_0x1b40c7[_0x1465a7(0x12f)];});this[_0x4f77e6(0x246)]=this[_0x4f77e6(0x163)](_0x2ff68d);}get['length'](){const _0x219a2=a0_0x4e0ba7;return this['_fields'][_0x219a2(0x2f3)];}[a0_0x4e0ba7(0x33b)](){const _0x560d83=a0_0x4e0ba7;return[...this[_0x560d83(0x246)]];}['at'](_0x5280a3){const _0x698e9a=a0_0x4e0ba7;return this[_0x698e9a(0x246)]['at'](_0x5280a3);}['find'](_0x50d4b0){const _0x8a29dd=a0_0x4e0ba7;return this[_0x8a29dd(0x246)][_0x8a29dd(0x2a2)](_0x3ba7a=>_0x3ba7a[_0x8a29dd(0x297)]===_0x50d4b0);}[a0_0x4e0ba7(0x26f)](_0x8a4bf){const _0x230880=a0_0x4e0ba7;return this[_0x230880(0x246)][_0x230880(0x2a2)](_0x7fffee=>_0x7fffee[_0x230880(0x2bd)]===_0x8a4bf);}['has'](_0x14cd13){return this['_fields']['some'](_0x2792d5=>_0x2792d5['code']===_0x14cd13);}[a0_0x4e0ba7(0x31e)](_0x32d94f){const _0x542651=a0_0x4e0ba7;this[_0x542651(0x246)][_0x542651(0x31e)](_0x32d94f);}[a0_0x4e0ba7(0x248)](_0x261cd2){const _0x43686a=a0_0x4e0ba7;return this[_0x43686a(0x246)][_0x43686a(0x248)](_0x261cd2);}[a0_0x4e0ba7(0x24b)](_0x5dfa7f){const _0x20756c=a0_0x4e0ba7;return this['_fields'][_0x20756c(0x24b)](_0x5dfa7f);}[a0_0x4e0ba7(0x18e)](_0x21317a){const _0x4ab861=a0_0x4e0ba7;return this[_0x4ab861(0x246)][_0x4ab861(0x18e)](_0x21317a);}[a0_0x4e0ba7(0x2d9)](_0x179281){const _0x31705f=a0_0x4e0ba7;return this['_fields'][_0x31705f(0x2d9)](_0x179281);}[a0_0x4e0ba7(0x106)](){const _0x2ccbec=a0_0x4e0ba7;return this[_0x2ccbec(0x246)]['filter'](_0x58c4fe=>_0x58c4fe['isRequired']());}['getPrimaryKeys'](){const _0x168aa6=a0_0x4e0ba7;return this[_0x168aa6(0x246)][_0x168aa6(0x24b)](_0xcf2c83=>_0xcf2c83[_0x168aa6(0x1e4)]());}[a0_0x4e0ba7(0x2a8)](){const _0x38e9db=a0_0x4e0ba7;return this[_0x38e9db(0x246)][_0x38e9db(0x24b)](_0x5a021e=>_0x5a021e[_0x38e9db(0x26e)]());}[a0_0x4e0ba7(0x30c)](){const _0x15ddfa=a0_0x4e0ba7;return this['_fields'][_0x15ddfa(0x24b)](_0x1abb94=>_0x1abb94['isBusiness']());}[a0_0x4e0ba7(0x1a3)](){const _0xf4d5c=a0_0x4e0ba7;return this['_fields'][_0xf4d5c(0x24b)](_0x1bf03d=>_0x1bf03d[_0xf4d5c(0x279)]());}[a0_0x4e0ba7(0x180)](){const _0x2209f5=a0_0x4e0ba7;return this[_0x2209f5(0x246)][_0x2209f5(0x24b)](_0x3bba9e=>_0x3bba9e[_0x2209f5(0xfd)]());}[a0_0x4e0ba7(0x1f6)](){const _0x5dfbbb=a0_0x4e0ba7;return this['_fields'][_0x5dfbbb(0x24b)](_0x57f337=>_0x57f337[_0x5dfbbb(0x321)]());}[a0_0x4e0ba7(0x292)](){const _0x19ee9f=a0_0x4e0ba7;return this[_0x19ee9f(0x246)][_0x19ee9f(0x24b)](_0x3deed5=>_0x3deed5[_0x19ee9f(0x1ae)]());}[a0_0x4e0ba7(0xba)](){const _0x1b6f1b=a0_0x4e0ba7;return this[_0x1b6f1b(0x246)][_0x1b6f1b(0x24b)](_0x22924b=>_0x22924b[_0x1b6f1b(0xf1)]());}['getActive'](){const _0x4ab6d0=a0_0x4e0ba7;return this['_fields'][_0x4ab6d0(0x24b)](_0x4a131c=>!_0x4a131c['isDeleted']());}['groupByType'](){const _0x3cb9ff=a0_0x4e0ba7,_0x3f4537={};return this[_0x3cb9ff(0x246)][_0x3cb9ff(0x31e)](_0x4cf992=>{const _0x516738=_0x3cb9ff,_0x22da8d=_0x4cf992[_0x516738(0x14a)];!_0x3f4537[_0x22da8d]&&(_0x3f4537[_0x22da8d]=[]),_0x3f4537[_0x22da8d]['push'](_0x4cf992);}),_0x3f4537;}[a0_0x4e0ba7(0x2ff)](){const _0x2a989=a0_0x4e0ba7,_0xabaa99={};return this['_fields'][_0x2a989(0x31e)](_0x44c46a=>{const _0x45a74b=_0x2a989;if(_0x44c46a[_0x45a74b(0x279)]()){const _0x367631=_0x44c46a[_0x45a74b(0x109)]();_0x367631&&(_0xabaa99[_0x44c46a[_0x45a74b(0x297)]]=_0x367631);}}),_0xabaa99;}['getStats'](){const _0x12e02d=a0_0x4e0ba7;return{'total':this[_0x12e02d(0x2f3)],'required':this['getRequired']()[_0x12e02d(0x2f3)],'primaryKey':this[_0x12e02d(0x25b)]()[_0x12e02d(0x2f3)],'system':this[_0x12e02d(0x2a8)]()[_0x12e02d(0x2f3)],'business':this[_0x12e02d(0x30c)]()['length'],'enum':this[_0x12e02d(0x1a3)]()[_0x12e02d(0x2f3)],'autoIncrement':this[_0x12e02d(0x180)]()[_0x12e02d(0x2f3)]};}[a0_0x4e0ba7(0x309)](){const _0x4d1cbe=a0_0x4e0ba7;return this[_0x4d1cbe(0x246)]['map'](_0x5d4a90=>_0x5d4a90[_0x4d1cbe(0x297)]);}['getNames'](){const _0x124d1e=a0_0x4e0ba7;return this[_0x124d1e(0x246)][_0x124d1e(0x248)](_0x430a2c=>_0x430a2c[_0x124d1e(0x2bd)]);}[a0_0x4e0ba7(0x1cf)](){const _0x5d3943=a0_0x4e0ba7;return this[_0x5d3943(0x246)][_0x5d3943(0x248)](_0x259d46=>_0x259d46[_0x5d3943(0x1cf)]());}[a0_0x4e0ba7(0x227)](){const _0x1fec9a=a0_0x4e0ba7;return _0x1fec9a(0x11a)+this[_0x1fec9a(0x2f3)]+_0x1fec9a(0x30f);}}class FieldListV1 extends FieldListBase{constructor(_0x7184b,_0x4d952b){super(_0x7184b,_0x4d952b);}[a0_0x4e0ba7(0x163)](_0x2c1d59){const _0x22e76d=a0_0x4e0ba7;return _0x2c1d59[_0x22e76d(0x248)](_0x113acd=>new FieldV1(_0x113acd));}['all'](){const _0x2549f7=a0_0x4e0ba7;return[...this[_0x2549f7(0x246)]];}['at'](_0x440a8d){const _0x241759=a0_0x4e0ba7;return this[_0x241759(0x246)]['at'](_0x440a8d);}[a0_0x4e0ba7(0x2a2)](_0x10a2c2){const _0x17342a=a0_0x4e0ba7;return this[_0x17342a(0x246)][_0x17342a(0x2a2)](_0x215464=>_0x215464[_0x17342a(0x297)]===_0x10a2c2);}[a0_0x4e0ba7(0x26f)](_0x551746){const _0x2e8dce=a0_0x4e0ba7;return this[_0x2e8dce(0x246)][_0x2e8dce(0x2a2)](_0x3786c4=>_0x3786c4[_0x2e8dce(0x2bd)]===_0x551746);}[a0_0x4e0ba7(0x24b)](_0x40b357){const _0x250668=a0_0x4e0ba7;return this[_0x250668(0x246)][_0x250668(0x24b)](_0x40b357);}[a0_0x4e0ba7(0x248)](_0x437e7d){const _0x34ad8e=a0_0x4e0ba7;return this[_0x34ad8e(0x246)][_0x34ad8e(0x248)](_0x437e7d);}[a0_0x4e0ba7(0x106)](){return this['_fields']['filter'](_0x490cd8=>_0x490cd8['isRequired']());}[a0_0x4e0ba7(0x25b)](){const _0xf4b6ef=a0_0x4e0ba7;return this[_0xf4b6ef(0x246)][_0xf4b6ef(0x24b)](_0x56babd=>_0x56babd[_0xf4b6ef(0x1e4)]());}['getSystem'](){const _0x4cdc99=a0_0x4e0ba7;return this['_fields'][_0x4cdc99(0x24b)](_0x5c7948=>_0x5c7948['isSystem']());}[a0_0x4e0ba7(0x30c)](){const _0x5cd0fe=a0_0x4e0ba7;return this[_0x5cd0fe(0x246)]['filter'](_0x462c7e=>_0x462c7e[_0x5cd0fe(0x17b)]());}['getEnum'](){const _0x5de1a5=a0_0x4e0ba7;return this[_0x5de1a5(0x246)][_0x5de1a5(0x24b)](_0x28ea68=>_0x28ea68[_0x5de1a5(0x279)]());}[a0_0x4e0ba7(0x173)](){const _0x1c7128=a0_0x4e0ba7,_0x1f3f33={};return this[_0x1c7128(0x246)][_0x1c7128(0x31e)](_0x418605=>{const _0x1f1847=_0x1c7128,_0x207c5f=_0x418605[_0x1f1847(0x14a)];!_0x1f3f33[_0x207c5f]&&(_0x1f3f33[_0x207c5f]=[]),_0x1f3f33[_0x207c5f][_0x1f1847(0x1ac)](_0x418605);}),_0x1f3f33;}[a0_0x4e0ba7(0x325)](){const _0x94b6db=a0_0x4e0ba7;return this[_0x94b6db(0x246)]['map'](_0x2d945e=>_0x2d945e[_0x94b6db(0x325)]);}static[a0_0x4e0ba7(0x1f5)](_0xedc447){const _0x48ee10=_0xedc447['map'](_0x37b639=>_0x37b639['raw']);return new FieldListV1(_0x48ee10);}static[a0_0x4e0ba7(0x333)](_0x1da4a8){return new FieldListV1(_0x1da4a8,{'includeDeleted':!![]});}}class FieldV2 extends FieldBase{[a0_0x4e0ba7(0x2a1)];constructor(_0x4c17cc){const _0x3954ff=a0_0x4e0ba7;super();if(!_0x4c17cc||typeof _0x4c17cc!==_0x3954ff(0x286))throw new Error(_0x3954ff(0x275));this[_0x3954ff(0x2a1)]=_0x4c17cc;}['getVersion'](){return'v2';}get[a0_0x4e0ba7(0x325)](){return this['_raw'];}get[a0_0x4e0ba7(0x2bd)](){const _0x526dd6=a0_0x4e0ba7;return this[_0x526dd6(0x2a1)][_0x526dd6(0xf6)]||this['_raw'][_0x526dd6(0x2bd)]||'';}get[a0_0x4e0ba7(0x297)](){const _0x41b609=a0_0x4e0ba7;return this[_0x41b609(0x2a1)][_0x41b609(0x2bd)]||'';}get[a0_0x4e0ba7(0x14a)](){const _0x261a76=a0_0x4e0ba7;return this['mapDbTypeToType'](this[_0x261a76(0x2a1)][_0x261a76(0xff)]);}get[a0_0x4e0ba7(0x27d)](){return this['_raw']['description']||'';}get[a0_0x4e0ba7(0x12f)](){const _0xc5effb=a0_0x4e0ba7;return Boolean(this[_0xc5effb(0x2a1)][_0xc5effb(0x12f)]);}['isRequired'](){const _0x1ceaa2=a0_0x4e0ba7;return Boolean(this['_raw'][_0x1ceaa2(0x2db)]);}[a0_0x4e0ba7(0x1e4)](){const _0x499b05=a0_0x4e0ba7;return Boolean(this[_0x499b05(0x2a1)][_0x499b05(0x26a)]);}[a0_0x4e0ba7(0x26e)](){const _0x1163ae=a0_0x4e0ba7;return Boolean(this[_0x1163ae(0x2a1)][_0x1163ae(0x228)]);}[a0_0x4e0ba7(0xfd)](){const _0x137022=a0_0x4e0ba7;return Boolean(this['_raw'][_0x137022(0xe6)]);}[a0_0x4e0ba7(0x321)](){const _0x59873f=a0_0x4e0ba7;return this[_0x59873f(0x2a1)][_0x59873f(0x228)]==='createTime';}[a0_0x4e0ba7(0x1ae)](){const _0x4da66e=a0_0x4e0ba7;return this[_0x4da66e(0x2a1)][_0x4da66e(0x228)]==='updateTime';}[a0_0x4e0ba7(0x279)](){const _0x2b0b6a=a0_0x4e0ba7;return Boolean(this[_0x2b0b6a(0x2a1)][_0x2b0b6a(0x18f)]&&Array[_0x2b0b6a(0x25f)](this[_0x2b0b6a(0x2a1)][_0x2b0b6a(0x18f)])&&this['_raw'][_0x2b0b6a(0x18f)]['length']>0x0);}[a0_0x4e0ba7(0x19f)](){const _0x5a338d=a0_0x4e0ba7,_0xc6d4aa=this['_raw']['extend'];if(!_0xc6d4aa)return![];try{const _0x5a38a5=JSON[_0x5a338d(0x135)](_0xc6d4aa);if(_0x5a38a5&&typeof _0x5a38a5===_0x5a338d(0x286)&&_0x5a338d(0x20f)in _0x5a38a5)return Boolean(_0x5a38a5[_0x5a338d(0x20f)]);}catch{}return![];}[a0_0x4e0ba7(0x249)](){const _0x154140=a0_0x4e0ba7;if(this['_raw'][_0x154140(0x18f)]&&Array['isArray'](this[_0x154140(0x2a1)][_0x154140(0x18f)]))return this[_0x154140(0x2a1)][_0x154140(0x18f)];return;}[a0_0x4e0ba7(0x2cb)](){const _0x17d516=a0_0x4e0ba7,_0x12d043=this['_raw'][_0x17d516(0x1d8)];if(!_0x12d043)return;try{const _0x33e826=JSON[_0x17d516(0x135)](_0x12d043);if(_0x33e826&&typeof _0x33e826==='object'&&_0x17d516(0xd7)in _0x33e826)return _0x33e826[_0x17d516(0xd7)];}catch{}return;}[a0_0x4e0ba7(0x214)](){const _0x268c6c=a0_0x4e0ba7;return this[_0x268c6c(0x2a1)][_0x268c6c(0xff)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x268c6c(0xdb)]()[_0x268c6c(0x1fb)]();}[a0_0x4e0ba7(0x29e)](){return;}[a0_0x4e0ba7(0x196)](){return;}get[a0_0x4e0ba7(0xff)](){const _0x3e85d1=a0_0x4e0ba7;return this['_raw'][_0x3e85d1(0xff)];}get[a0_0x4e0ba7(0x138)](){const _0x3748bd=a0_0x4e0ba7;return this[_0x3748bd(0x2a1)][_0x3748bd(0x138)];}get[a0_0x4e0ba7(0xf6)](){const _0x3a9a97=a0_0x4e0ba7;return this['_raw'][_0x3a9a97(0xf6)];}[a0_0x4e0ba7(0x332)](){const _0x32727d=a0_0x4e0ba7;return this[_0x32727d(0x2a1)][_0x32727d(0xd8)]??null;}get[a0_0x4e0ba7(0xd8)](){return this['_raw']['doType']??null;}['toJSON'](){const _0x3f5ccf=a0_0x4e0ba7;return{'name':this[_0x3f5ccf(0x2bd)],'code':this[_0x3f5ccf(0x297)],'type':this['type'],'dbType':this['dbType'],'dbTypeLen':this[_0x3f5ccf(0x138)],'doType':this['getDOType'](),'displayName':this[_0x3f5ccf(0xf6)],'description':this[_0x3f5ccf(0x27d)],'required':this[_0x3f5ccf(0x19e)](),'primaryKey':this[_0x3f5ccf(0x1e4)](),'system':this[_0x3f5ccf(0x26e)](),'autoIncrement':this[_0x3f5ccf(0xfd)](),'isEnum':this[_0x3f5ccf(0x279)](),'enumMeta':this['isEnum']()?this[_0x3f5ccf(0x109)]():undefined};}[a0_0x4e0ba7(0x227)](){const _0x1aff90=a0_0x4e0ba7;return _0x1aff90(0x1b0)+this[_0x1aff90(0x2bd)]+',\x20'+this[_0x1aff90(0x297)]+',\x20'+this[_0x1aff90(0xff)]+_0x1aff90(0x2eb)+this['getDOType']()+')';}['mapDbTypeToType'](_0x13b5ce){const _0x5bcb20=a0_0x4e0ba7,_0xf12297={'VARCHAR':_0x5bcb20(0x271),'CHAR':'TEXT','TEXT':_0x5bcb20(0x290),'LONGTEXT':'TEXTAREA','INT':'NUMBER','BIGINT':_0x5bcb20(0x31f),'TINYINT':_0x5bcb20(0x31f),'SMALLINT':_0x5bcb20(0x31f),'DECIMAL':_0x5bcb20(0x31f),'DOUBLE':_0x5bcb20(0x31f),'FLOAT':'NUMBER','DATETIME':'DATE','TIMESTAMP':'DATE','DATE':'DATE','TIME':'TIME','BOOLEAN':_0x5bcb20(0x2fa),'BIT':_0x5bcb20(0x2fa),'BLOB':_0x5bcb20(0x1ea),'LONGBLOB':_0x5bcb20(0x1ea)},_0x2e0441=_0x13b5ce[_0x5bcb20(0x1fb)]();return _0xf12297[_0x2e0441]||_0x5bcb20(0x271);}}class FieldListV2 extends FieldListBase{constructor(_0x2b9325,_0x2e735b){super(_0x2b9325,_0x2e735b);}[a0_0x4e0ba7(0x163)](_0x482f8b){return _0x482f8b['map'](_0x2f5e5c=>new FieldV2(_0x2f5e5c));}['all'](){return[...this['_fields']];}['at'](_0x390e0c){const _0x412139=a0_0x4e0ba7;return this[_0x412139(0x246)]['at'](_0x390e0c);}['find'](_0x2d6455){const _0x2affa1=a0_0x4e0ba7;return this[_0x2affa1(0x246)][_0x2affa1(0x2a2)](_0xa739f9=>_0xa739f9['code']===_0x2d6455);}[a0_0x4e0ba7(0x26f)](_0x32c132){const _0x2f2ff0=a0_0x4e0ba7;return this[_0x2f2ff0(0x246)][_0x2f2ff0(0x2a2)](_0x209034=>_0x209034[_0x2f2ff0(0x2bd)]===_0x32c132);}[a0_0x4e0ba7(0x24b)](_0x1303e4){const _0x4d492e=a0_0x4e0ba7;return this[_0x4d492e(0x246)]['filter'](_0x1303e4);}[a0_0x4e0ba7(0x248)](_0x55f1f3){const _0x35a122=a0_0x4e0ba7;return this[_0x35a122(0x246)][_0x35a122(0x248)](_0x55f1f3);}[a0_0x4e0ba7(0x106)](){const _0x152d23=a0_0x4e0ba7;return this['_fields']['filter'](_0x5d3498=>_0x5d3498[_0x152d23(0x19e)]());}[a0_0x4e0ba7(0x25b)](){const _0x2b6951=a0_0x4e0ba7;return this[_0x2b6951(0x246)][_0x2b6951(0x24b)](_0x237eaf=>_0x237eaf[_0x2b6951(0x1e4)]());}[a0_0x4e0ba7(0x2a8)](){const _0x4ecaf3=a0_0x4e0ba7;return this[_0x4ecaf3(0x246)][_0x4ecaf3(0x24b)](_0x42b6d7=>_0x42b6d7[_0x4ecaf3(0x26e)]());}[a0_0x4e0ba7(0x30c)](){const _0xbc72fe=a0_0x4e0ba7;return this[_0xbc72fe(0x246)][_0xbc72fe(0x24b)](_0x8c20ac=>_0x8c20ac['isBusiness']());}[a0_0x4e0ba7(0x1a3)](){const _0x1a5141=a0_0x4e0ba7;return this[_0x1a5141(0x246)][_0x1a5141(0x24b)](_0xcc779c=>_0xcc779c[_0x1a5141(0x279)]());}[a0_0x4e0ba7(0x173)](){const _0x27f25d=a0_0x4e0ba7,_0x4d03ee={};return this[_0x27f25d(0x246)]['forEach'](_0x2e0630=>{const _0xdc9064=_0x27f25d,_0x2e3402=_0x2e0630[_0xdc9064(0x14a)];!_0x4d03ee[_0x2e3402]&&(_0x4d03ee[_0x2e3402]=[]),_0x4d03ee[_0x2e3402][_0xdc9064(0x1ac)](_0x2e0630);}),_0x4d03ee;}[a0_0x4e0ba7(0x325)](){const _0x5711cc=a0_0x4e0ba7;return this[_0x5711cc(0x246)][_0x5711cc(0x248)](_0x2a919c=>_0x2a919c[_0x5711cc(0x325)]);}static[a0_0x4e0ba7(0x1f5)](_0x46979d){const _0x15bbc7=a0_0x4e0ba7,_0x2b00c2=_0x46979d[_0x15bbc7(0x248)](_0x2c59c0=>_0x2c59c0[_0x15bbc7(0x325)]);return new FieldListV2(_0x2b00c2);}static['withDeleted'](_0x45f30c){return new FieldListV2(_0x45f30c,{'includeDeleted':!![]});}[a0_0x4e0ba7(0x227)](){const _0x39dac1=a0_0x4e0ba7;return _0x39dac1(0x33d)+this[_0x39dac1(0x2f3)]+_0x39dac1(0x30f);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x4e0ba7(0xbf)];[a0_0x4e0ba7(0x1d4)];constructor(_0x443dab){super(_0x443dab);}[a0_0x4e0ba7(0x327)](){const _0x3c131c=a0_0x4e0ba7;return!this[_0x3c131c(0xbf)]&&(this[_0x3c131c(0xbf)]=new FieldListV1(this[_0x3c131c(0x2a1)][_0x3c131c(0x223)]||[],{'includeDeleted':![]})),this[_0x3c131c(0xbf)];}[a0_0x4e0ba7(0x13b)](){const _0xf0ed78=a0_0x4e0ba7;return!this[_0xf0ed78(0x1d4)]&&(this[_0xf0ed78(0x1d4)]=new FieldListV1(this[_0xf0ed78(0x2a1)]['properties']||[],{'includeDeleted':!![]})),this[_0xf0ed78(0x1d4)];}[a0_0x4e0ba7(0x298)](){const _0xa331fe=a0_0x4e0ba7;return(this[_0xa331fe(0x2a1)]['properties']||[])[_0xa331fe(0x24b)](_0x2e5d33=>!_0x2e5d33[_0xa331fe(0x12f)]);}['getFieldCount'](){const _0x1af0af=a0_0x4e0ba7;return this[_0x1af0af(0x327)]()['length'];}[a0_0x4e0ba7(0xcf)](_0x158e4d){const _0x418378=a0_0x4e0ba7;return this[_0x418378(0x2a1)][_0x418378(0x223)]?.['find'](_0x39c4e0=>_0x39c4e0[_0x418378(0x297)]===_0x158e4d);}[a0_0x4e0ba7(0x27a)](){return'v1';}[a0_0x4e0ba7(0x21d)](){const _0x190ffb=a0_0x4e0ba7;return{'fields':this['_raw'][_0x190ffb(0x223)]||[],'includeDeleted':![]};}['getOperationsData'](){const _0x175428=a0_0x4e0ba7;return this[_0x175428(0x2a1)][_0x175428(0x331)];}[a0_0x4e0ba7(0x134)](){const _0x138a7e=a0_0x4e0ba7;return this['_raw'][_0x138a7e(0x239)];}[a0_0x4e0ba7(0x1bb)](){const _0x3cfc2a=a0_0x4e0ba7,_0xcb33f7=this[_0x3cfc2a(0x2d6)](),_0x4d1f39=_0xcb33f7?.['dblinkInfoDTO'];return new DBConfig({'dbId':_0xcb33f7?.[_0x3cfc2a(0x17a)],'dbName':_0xcb33f7?.['dbName']??_0x4d1f39?.[_0x3cfc2a(0x2ac)],'dbType':_0x4d1f39?.['dbType'],'dbVersion':_0x4d1f39?.[_0x3cfc2a(0xc4)],'tableName':_0xcb33f7?.[_0x3cfc2a(0x2f1)],'datasetKey':_0xcb33f7?.[_0x3cfc2a(0x18a)],'pkField':_0xcb33f7?.[_0x3cfc2a(0x26a)]},_0xcb33f7);}get[a0_0x4e0ba7(0xfb)](){const _0x5e58c4=a0_0x4e0ba7;return this[_0x5e58c4(0x2a1)][_0x5e58c4(0xfb)];}[a0_0x4e0ba7(0x243)](_0x5d5f96){const _0x43ef23=a0_0x4e0ba7;if(typeof _0x5d5f96!==_0x43ef23(0x208)){!![]&&console[_0x43ef23(0xec)](_0x43ef23(0x31b),_0x5d5f96);return;}return this['getFieldList']()[_0x43ef23(0x2a2)](_0x5d5f96);}[a0_0x4e0ba7(0x2ef)](_0x587b5a){const _0x2d18a2=a0_0x4e0ba7;if(!_0x587b5a||typeof _0x587b5a!==_0x2d18a2(0x286))return![];const _0x2c1448=this['getFieldInstance'](_0x587b5a[_0x2d18a2(0x297)]);return _0x2c1448?_0x2c1448[_0x2d18a2(0x19f)]():![];}['getFilterOperation'](){const _0x5431fc=a0_0x4e0ba7,_0x1f9b3e=this['getOperation'](_0x5431fc(0x24b));return _0x1f9b3e;}[a0_0x4e0ba7(0x1d1)](){const _0x2ed8bd=a0_0x4e0ba7;return this[_0x2ed8bd(0xd2)](_0x2ed8bd(0x24b));}['toListItem'](){const _0x40ec54=a0_0x4e0ba7;return new DatasetItem({'id':this['id'],'name':this[_0x40ec54(0x2bd)],'datasetCode':this[_0x40ec54(0x192)],'dbtableConfig':this[_0x40ec54(0x2d6)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x4e0ba7(0x22c)];[a0_0x4e0ba7(0x1b7)];[a0_0x4e0ba7(0x1d0)];constructor(_0x35e891){const _0x3f4b33=a0_0x4e0ba7;super(_0x35e891),this['_datasetMeta']=_0x35e891[_0x3f4b33(0x184)],this[_0x3f4b33(0x1d0)]=_0x35e891[_0x3f4b33(0x10f)]||[];}[a0_0x4e0ba7(0x27a)](){return'v2';}[a0_0x4e0ba7(0x21d)](){const _0x5c17c7=a0_0x4e0ba7;return{'fields':this[_0x5c17c7(0x2a1)][_0x5c17c7(0x2c7)],'includeDeleted':![]};}[a0_0x4e0ba7(0xfe)](){const _0x173fc7=a0_0x4e0ba7;return this['_raw'][_0x173fc7(0x331)];}[a0_0x4e0ba7(0x134)](){const _0x2474a4=a0_0x4e0ba7;return this[_0x2474a4(0x2a1)][_0x2474a4(0x239)];}[a0_0x4e0ba7(0x1bb)](){const _0x179aa2=a0_0x4e0ba7,_0x3c3f48=this[_0x179aa2(0x2a1)][_0x179aa2(0x2df)];return new DBConfig({'dbId':_0x3c3f48?.['dbId'],'dbName':_0x3c3f48?.['dbName'],'dbType':undefined,'dbVersion':undefined,'tableName':_0x3c3f48?.['tableName'],'datasetKey':_0x3c3f48?.[_0x179aa2(0x18a)],'pkField':_0x3c3f48?.[_0x179aa2(0x26a)]},_0x3c3f48);}['getFieldList'](){const _0x1f715a=a0_0x4e0ba7;return this[_0x1f715a(0x178)]();}[a0_0x4e0ba7(0x298)](){const _0x2460ee=a0_0x4e0ba7;return this[_0x2460ee(0x2a1)][_0x2460ee(0x2c7)];}[a0_0x4e0ba7(0x2fc)](){const _0x4f2f0f=a0_0x4e0ba7;return this[_0x4f2f0f(0x2a1)][_0x4f2f0f(0x2c7)][_0x4f2f0f(0x2f3)];}['getFieldRaw'](_0xa949b){const _0x51dce8=a0_0x4e0ba7;return this[_0x51dce8(0x2a1)][_0x51dce8(0x2c7)][_0x51dce8(0x2a2)](_0x5e6dcf=>_0x5e6dcf[_0x51dce8(0x2bd)]===_0xa949b);}[a0_0x4e0ba7(0x254)](){const _0x3cc9b3=a0_0x4e0ba7;return this[_0x3cc9b3(0x1b7)];}[a0_0x4e0ba7(0x183)](){const _0x27124f=a0_0x4e0ba7;return this[_0x27124f(0x1d0)];}[a0_0x4e0ba7(0x283)](){const _0x11fb20=a0_0x4e0ba7;return this[_0x11fb20(0x1b7)][_0x11fb20(0x155)]||[];}[a0_0x4e0ba7(0x1f3)](_0x8fbe42){const _0x36bef1=a0_0x4e0ba7;return this[_0x36bef1(0x1d0)][_0x36bef1(0x24b)](_0xddc726=>_0xddc726[_0x36bef1(0x33c)]===_0x8fbe42);}['hasRelation'](_0x10ac4b){const _0x47a68f=a0_0x4e0ba7;return this[_0x47a68f(0x1d0)]['some'](_0x3c7d8f=>_0x3c7d8f[_0x47a68f(0x33c)]===_0x10ac4b);}[a0_0x4e0ba7(0x1cb)](_0x7cc1e3){const _0x35b48f=a0_0x4e0ba7,_0x4a9f18=this[_0x35b48f(0x1d0)][_0x35b48f(0x2a2)](_0x69c130=>_0x69c130[_0x35b48f(0x33c)]===_0x7cc1e3);if(!_0x4a9f18)return;return{'datasetId':_0x4a9f18[_0x35b48f(0x2c0)],'datasetCode':_0x4a9f18[_0x35b48f(0x2d7)],'datasetName':_0x4a9f18['toDatasetName'],'tableName':_0x4a9f18['toTableName'],'toField':_0x4a9f18[_0x35b48f(0x159)]};}[a0_0x4e0ba7(0x247)](){const _0xa59610=a0_0x4e0ba7;return this[_0xa59610(0x1d0)][_0xa59610(0x248)](_0x3eed05=>_0x3eed05['fromField']);}[a0_0x4e0ba7(0x178)](){const _0x2d59ca=a0_0x4e0ba7;return!this[_0x2d59ca(0x22c)]&&(this[_0x2d59ca(0x22c)]=new FieldListV2(this[_0x2d59ca(0x2a1)][_0x2d59ca(0x2c7)])),this[_0x2d59ca(0x22c)];}[a0_0x4e0ba7(0x243)](_0x4d22d6){const _0x2a2412=a0_0x4e0ba7;if(typeof _0x4d22d6!=='string'){!![]&&console[_0x2a2412(0xec)]('[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x4d22d6);return;}return this[_0x2a2412(0x178)]()['find'](_0x4d22d6);}[a0_0x4e0ba7(0x2ef)](_0x204f9b){const _0x32eaec=a0_0x4e0ba7;if(!_0x204f9b||typeof _0x204f9b!==_0x32eaec(0x286))return![];const _0x3c07ab=_0x204f9b[_0x32eaec(0x2bd)]||_0x204f9b[_0x32eaec(0x297)],_0x38adcf=this[_0x32eaec(0x243)](_0x3c07ab);return _0x38adcf?_0x38adcf[_0x32eaec(0x19f)]():![];}[a0_0x4e0ba7(0x2b0)](){const _0x30d7c7=a0_0x4e0ba7;if(!this[_0x30d7c7(0x1b9)]){const _0x485bfe=this[_0x30d7c7(0x177)](this[_0x30d7c7(0xfe)]()||{});this[_0x30d7c7(0x1b9)]=new OperationList(_0x485bfe,{'fields':this[_0x30d7c7(0x178)]()[_0x30d7c7(0x33b)](),'pkField':this[_0x30d7c7(0x2a1)]['dbtableConfig']?.[_0x30d7c7(0x26a)],'dbtableConfig':this[_0x30d7c7(0x2a1)]['dbtableConfig']||null});}return this['_operationList'];}['getFilterOperation'](){const _0x535a4e=a0_0x4e0ba7,_0x2c2f7f=this[_0x535a4e(0x2a4)]('filter');return _0x2c2f7f;}[a0_0x4e0ba7(0x1d1)](){const _0x2b4fbe=a0_0x4e0ba7;return this[_0x2b4fbe(0xd2)](_0x2b4fbe(0x24b));}[a0_0x4e0ba7(0x101)](){const _0x35142e=a0_0x4e0ba7;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x35142e(0x192)],'dbtableConfig':this[_0x35142e(0x2d6)]()});}[a0_0x4e0ba7(0x227)](){const _0x2cb9ab=a0_0x4e0ba7,_0x253f3c=this[_0x2cb9ab(0x1d0)]['length'],_0x494cb0=this[_0x2cb9ab(0x283)]()['length'];return _0x2cb9ab(0x1eb)+this['name']+',\x20'+this[_0x2cb9ab(0x192)]+',\x20'+this[_0x2cb9ab(0x2fc)]()+_0x2cb9ab(0x1ca)+this[_0x2cb9ab(0x12d)]()+'\x20operations,\x20'+_0x253f3c+_0x2cb9ab(0x1af)+_0x494cb0+_0x2cb9ab(0x23b);}[a0_0x4e0ba7(0x313)](){const _0x3ba459=a0_0x4e0ba7;return this[_0x3ba459(0x2a1)]['fields'];}['getFieldV2'](_0x142798){const _0xcb0b79=a0_0x4e0ba7;return this[_0xcb0b79(0x2a1)][_0xcb0b79(0x2c7)][_0xcb0b79(0x2a2)](_0x31e21e=>_0x31e21e[_0xcb0b79(0x2bd)]===_0x142798);}}function detectDatasetVersion(_0xdf7866){const _0x49c628=a0_0x4e0ba7;if(_0xdf7866[_0x49c628(0x23c)]==='v2'&&_0x49c628(0x2c7)in _0xdf7866&&Array['isArray'](_0xdf7866['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{['_instance'];constructor(_0x55e1b8){const _0x33956c=a0_0x4e0ba7;super(_0x55e1b8);const _0x3271b0=detectDatasetVersion(_0x55e1b8);this[_0x33956c(0x1bd)]=_0x3271b0==='v2'?new DrivenDataDetailV2(_0x55e1b8):new DrivenDataDetailV1(_0x55e1b8);}get['id'](){const _0x503cb9=a0_0x4e0ba7;return this[_0x503cb9(0x1bd)]['id'];}get[a0_0x4e0ba7(0x2bd)](){const _0x2a5522=a0_0x4e0ba7;return this[_0x2a5522(0x1bd)]['name'];}get['datasetCode'](){const _0x530d61=a0_0x4e0ba7;return this['_instance'][_0x530d61(0x192)];}get[a0_0x4e0ba7(0xfb)](){const _0x3d7332=a0_0x4e0ba7;return this['_instance'][_0x3d7332(0x27a)]()==='v2'?_0x3d7332(0x2c6):'1.0';}[a0_0x4e0ba7(0x27a)](){const _0x43cb19=a0_0x4e0ba7;return this[_0x43cb19(0x1bd)][_0x43cb19(0x27a)]();}['getId'](){return this['_instance']['id'];}[a0_0x4e0ba7(0x32b)](){const _0x5b8da7=a0_0x4e0ba7;return this[_0x5b8da7(0x1bd)][_0x5b8da7(0x192)];}['getName'](){const _0x347a4f=a0_0x4e0ba7;return this[_0x347a4f(0x1bd)][_0x347a4f(0x2bd)];}[a0_0x4e0ba7(0x21d)](){const _0x22d5c4=a0_0x4e0ba7;return this[_0x22d5c4(0x1bd)][_0x22d5c4(0x21d)]();}[a0_0x4e0ba7(0xfe)](){const _0x36d93f=a0_0x4e0ba7;return this[_0x36d93f(0x1bd)][_0x36d93f(0xfe)]();}['getSource'](){const _0x7486c0=a0_0x4e0ba7;return this['_instance'][_0x7486c0(0x134)]();}[a0_0x4e0ba7(0x13b)](){const _0xf0381=a0_0x4e0ba7;return this[_0xf0381(0x1bd)][_0xf0381(0x13b)]();}[a0_0x4e0ba7(0x327)](){return this['_instance']['getFieldList']();}[a0_0x4e0ba7(0x1c7)](){const _0x5c18ad=a0_0x4e0ba7;return this[_0x5c18ad(0x1bd)][_0x5c18ad(0x1c7)]();}[a0_0x4e0ba7(0x298)](){const _0x2bb89e=a0_0x4e0ba7;return this[_0x2bb89e(0x1bd)][_0x2bb89e(0x298)]();}['getFieldCount'](){const _0x147dcc=a0_0x4e0ba7;return this[_0x147dcc(0x1bd)][_0x147dcc(0x2fc)]();}[a0_0x4e0ba7(0x2a0)](){const _0x5b1d6a=a0_0x4e0ba7,_0x1b46f0=this['_instance'][_0x5b1d6a(0x2d6)]();return _0x1b46f0?.[_0x5b1d6a(0x26a)];}[a0_0x4e0ba7(0x1bb)](){const _0x4e4b6c=a0_0x4e0ba7;return this[_0x4e4b6c(0x1bd)][_0x4e4b6c(0x1bb)]();}['getFieldInstance'](_0x374e90){const _0x4f6fe8=a0_0x4e0ba7;return this['_instance'][_0x4f6fe8(0x243)](_0x374e90);}[a0_0x4e0ba7(0x26b)](){const _0x2fec5c=a0_0x4e0ba7;return this['_instance'][_0x2fec5c(0x26b)]();}[a0_0x4e0ba7(0x19d)](){const _0x18a4f2=a0_0x4e0ba7;return this[_0x18a4f2(0x1bd)]['getSystemFields']();}[a0_0x4e0ba7(0x21a)](){const _0x13a53e=a0_0x4e0ba7;return this[_0x13a53e(0x1bd)][_0x13a53e(0x21a)]();}[a0_0x4e0ba7(0x1bf)](){const _0x503661=a0_0x4e0ba7;return this[_0x503661(0x1bd)][_0x503661(0x1bf)]();}[a0_0x4e0ba7(0x339)](){const _0x812284=a0_0x4e0ba7;return this['_instance'][_0x812284(0x339)]();}[a0_0x4e0ba7(0x30a)](){const _0x19ae29=a0_0x4e0ba7;return this['_instance'][_0x19ae29(0x30a)]();}[a0_0x4e0ba7(0x1e2)](){const _0x1ed0ca=a0_0x4e0ba7;return this[_0x1ed0ca(0x1bd)][_0x1ed0ca(0x1e2)]();}[a0_0x4e0ba7(0x145)](){return this['_instance']['getOperations']();}['getOperationCount'](){const _0x195a53=a0_0x4e0ba7;return this['_instance'][_0x195a53(0x12d)]();}[a0_0x4e0ba7(0x2a3)](){const _0x368e6a=a0_0x4e0ba7;return this[_0x368e6a(0x1bd)][_0x368e6a(0x2a3)]();}[a0_0x4e0ba7(0x24c)](){const _0x41b889=a0_0x4e0ba7;return this[_0x41b889(0x1bd)][_0x41b889(0x24c)]();}[a0_0x4e0ba7(0x12c)](){const _0x43fce6=a0_0x4e0ba7;return this[_0x43fce6(0x1bd)][_0x43fce6(0x12c)]();}['getDisabledOperationInstances'](){const _0x28e502=a0_0x4e0ba7;return this[_0x28e502(0x1bd)][_0x28e502(0x273)]();}['getStats'](){const _0x105481=a0_0x4e0ba7;return this[_0x105481(0x1bd)][_0x105481(0x318)]();}[a0_0x4e0ba7(0x254)](){const _0x449057=a0_0x4e0ba7;return this[_0x449057(0x1bd)]['getDatasetMeta']();}[a0_0x4e0ba7(0x183)](){const _0x22d2f3=a0_0x4e0ba7;return this[_0x22d2f3(0x1bd)][_0x22d2f3(0x183)]();}[a0_0x4e0ba7(0x283)](){const _0x51c659=a0_0x4e0ba7;return this[_0x51c659(0x1bd)][_0x51c659(0x283)]();}[a0_0x4e0ba7(0x1ba)](){const _0x2b6a5f=a0_0x4e0ba7;return this['_instance'][_0x2b6a5f(0x1ba)]();}['getFieldsFilterOperatorsMap'](){const _0x3bb3ca=a0_0x4e0ba7;return this[_0x3bb3ca(0x1bd)][_0x3bb3ca(0x1ec)]();}[a0_0x4e0ba7(0x1cf)](){const _0x21dd38=a0_0x4e0ba7;return this[_0x21dd38(0x1bd)]['toJSON']();}['getFilterOperation'](){const _0x7f8df0=a0_0x4e0ba7;return this[_0x7f8df0(0x1bd)][_0x7f8df0(0x2f5)]();}['hasFilterOperation'](){const _0x561a47=a0_0x4e0ba7;return this['_instance'][_0x561a47(0x1d1)]();}['toListItem'](){const _0x506e9d=a0_0x4e0ba7;return this['_instance'][_0x506e9d(0x101)]();}[a0_0x4e0ba7(0x227)](){const _0x27960c=a0_0x4e0ba7;return this[_0x27960c(0x1bd)]['toString']();}[a0_0x4e0ba7(0xe1)](){return this['_instance'];}}function detectDatasetVersion2(_0x45215d){const _0x44a5c5=a0_0x4e0ba7;if(_0x45215d[_0x44a5c5(0x23c)]==='v2'&&_0x44a5c5(0x2c7)in _0x45215d&&Array['isArray'](_0x45215d['fields']))return'v2';return'v1';}function createDrivenDataDetail(_0x4787ee,_0x441ff5={}){const {forceVersion:_0x468937}=_0x441ff5;if(_0x468937==='v2')return new DrivenDataDetailV2(_0x4787ee);if(_0x468937==='v1')return new DrivenDataDetailV1(_0x4787ee);const _0x3dd029=detectDatasetVersion2(_0x4787ee);if(_0x3dd029==='v2')return new DrivenDataDetailV2(_0x4787ee);return new DrivenDataDetailV1(_0x4787ee);}function isV2Data(_0x51d477){return detectDatasetVersion2(_0x51d477)==='v2';}function isV1Data(_0x1e776e){return detectDatasetVersion2(_0x1e776e)==='v1';}function isV2Instance(_0x5f05f9){const _0x347a5e=a0_0x4e0ba7;return _0x5f05f9[_0x347a5e(0x27a)]()==='v2';}function isV1Instance(_0x1eed65){const _0x1e5e71=a0_0x4e0ba7;return _0x1eed65[_0x1e5e71(0x27a)]()==='v1';}class DatasetGroup{[a0_0x4e0ba7(0xe4)];constructor(_0x95b21a){const _0x3568c7=a0_0x4e0ba7;this['items']=Array[_0x3568c7(0x25f)](_0x95b21a)?[..._0x95b21a]:[_0x95b21a],this[_0x3568c7(0xe4)][_0x3568c7(0x1d2)]((_0x24a1d0,_0x53279f)=>{const _0xc4fd=Number(_0x24a1d0['id'])||0x0,_0x1a2418=Number(_0x53279f['id'])||0x0;return _0x1a2418-_0xc4fd;});}['hasConflict'](){const _0x20ea47=a0_0x4e0ba7;return this[_0x20ea47(0xe4)][_0x20ea47(0x2f3)]>0x1;}[a0_0x4e0ba7(0x336)](){return this['items'][0x0];}[a0_0x4e0ba7(0xd1)](){const _0x5167f0=a0_0x4e0ba7;return this[_0x5167f0(0xe4)][this[_0x5167f0(0xe4)]['length']-0x1];}[a0_0x4e0ba7(0x238)](){const _0x468371=a0_0x4e0ba7;return[...this[_0x468371(0xe4)]];}[a0_0x4e0ba7(0x28d)](){const _0x3c2435=a0_0x4e0ba7;return this['items'][_0x3c2435(0x2f3)];}[a0_0x4e0ba7(0x1ed)](_0x1ea807){const _0x7c926a=a0_0x4e0ba7;return this[_0x7c926a(0xe4)][_0x1ea807];}[a0_0x4e0ba7(0x303)](_0x10e474){const _0x434e5f=a0_0x4e0ba7;return this['items'][_0x434e5f(0x2a2)](_0xadb64b=>_0xadb64b['id']===_0x10e474);}['findByCode'](_0x38a4a8){const _0x4d1cad=a0_0x4e0ba7;return this[_0x4d1cad(0xe4)]['find'](_0x5ed3ec=>_0x5ed3ec[_0x4d1cad(0x192)]===_0x38a4a8);}[a0_0x4e0ba7(0xe0)](){const _0x4ff22b=a0_0x4e0ba7;return this['items'][_0x4ff22b(0x248)](_0x399a6b=>_0x399a6b['id'])[_0x4ff22b(0x24b)](_0x3dc30c=>_0x3dc30c!==undefined);}['getCodes'](){const _0x2790cb=a0_0x4e0ba7;return this[_0x2790cb(0xe4)][_0x2790cb(0x248)](_0x563d22=>_0x563d22[_0x2790cb(0x192)]);}[a0_0x4e0ba7(0x227)](){const _0x574f06=a0_0x4e0ba7;if(this[_0x574f06(0x337)]())return'DatasetGroup('+this[_0x574f06(0xe4)]['length']+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x574f06(0x336)]()[_0x574f06(0x2bd)]+')';return _0x574f06(0x189)+this['items'][0x0][_0x574f06(0x2bd)]+')';}}function a0_0x450e(){const _0x1100f1=['properties','generateConfig','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','-\x20主键使用\x20`id`\x20字段\x0a','toString','systemRetain','generateAllOperationsSummary','avg','FLOAT','_fieldListV2','getFieldDisplayName','Field(',',\x20fields:\x20','DrivenDataDetailPlusV2(','_avg','getTableKey','no\x20conflicts','value1','primaryKey','isRequiredField','groups','getAll','source','BIT','\x20indexes)','doVersion','主键,用于定位要更新的记录','findAll','$ne','keyword','const\x20result\x20=\x20await\x20client.models.','SDK\x20调用时传递两个参数:\x0a','getFieldInstance','repeat','parseRawRequestBody','_fields','getForeignKeyFields','map','getEnumOptions','item2','filter','getDisabledOperations','getDisplayName','HTTP\x20请求示例(平铺格式)','getApplicableOperators','RADIO','getOperationsOverviewData','modelCode','getList','getDatasetMeta','getAllParams','getRequestFields','forceVersion','_fieldListWithDeleted','generateFullSDKExample','getConflictStats','getPrimaryKeys','createExport','getUpdateFields','initDataset','isArray','getRequestParams','<p>富文本内容</p>','STRING','sdkCall','Filter\x20API\x20-\x20高级查询接口','getUpdatableFields','getField','_sum','BOOL','status','pkField','getPrimaryKeyFields','主键ID(必填)','getCountByType','isSystem','findByName','createDate','TEXT','logicField','getDisabledOperationInstances','getHTTPFields','[FieldV2]\x20Invalid\x20field\x20definition','getOperationAnalysesByType','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','supportsCRUD','isEnum','getVersion','DbtableConfig(table:\x20','查询列表','description','set','creatorNameField','2735593mcYkpo','createTimeField','getItems','getIndexes','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','getEnumValues','object','获取数据集失败:\x20','$in','toConfig','modifierIdField','16856818OqVQVa','appCode','getCount','当前页码(可选)','主键ID','TEXTAREA','size','getUpdateTime','creatorIdField','\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregate`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20HavingCondition[];\x20//\x20分组后的过滤条件(可选,对聚合结果进行过滤)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20column:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a\x0ainterface\x20HavingCondition\x20{\x0a\x20\x20columnName:\x20string;\x20//\x20聚合字段的别名(alias)\x0a\x20\x20condition:\x20WhereCondition;\x20//\x20聚合字段的过滤条件(支持与\x20where\x20相同的操作符)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**HavingCondition\x20使用示例**\x0a\x0a```ts\x0ahaving:\x20[\x0a\x20\x20{\x20columnName:\x20\x22total_amount\x22,\x20condition:\x20{\x20$gte:\x2010000\x20}\x20},\x0a\x20\x20{\x20columnName:\x20\x22count\x22,\x20condition:\x20{\x20$lte:\x20100\x20}\x20}\x0a]\x0a```\x0a\x0a**可用聚合字段**\x0a','dblinkInfoDTO','null','code','getFields','Array','\x20groups,\x20','has\x20conflicts','toConfigArray','排序规则(与\x20Filter\x20API\x20一致)','getDefaultValue','generateExampleValue','getPkField','_raw','find','getEnabledOperations','getOperation','generateSDKCallCode','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','values','getSystem','getOperationAnalysis','GET_SELECT_OPTIONS','操作名称','dbName','解析\x20responseBody\x20失败:','placeholder','delete','getOperationList','OperationList(','getEnabledOperationAnalyses','DatasetItem(','value','_fieldList','getDisabled','generateSingleValueExample','getSelectOptions','getRequestParamsDocInfo','getRealTables','fullUrl','customFilter','name','isVirtualTable','获取下拉选项','toDatasetId','当前页码(从\x201\x20开始,默认:\x201)','select','GET_LIST','-\x20主键ID,用于定位要更新的记录\x0a\x0a','每页数量(默认:\x2020)','2.0','fields','number','data','getFileUrl','getSelectItemsSource','getDbName','getEnumFieldMeta','modifyDate','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','hasTableName','requestFields','选项编码(可选)','getRawDbtableConfig','toDatasetCode','taskInfo','some','aggregate','required','\x20的\x20extend\x20配置失败:','host','sortOperationsWithFilterFirst','dbtableConfig','_min','$or','每页数量(可选)','0000','这是一段较长的文本内容示例','yourModel','createImport','hasDblinkInfo','getOperationRequestFields','split','generateHTTPExample',',\x20doType=','getGroupedParams','sum','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','isMultipleSelectField','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','tableName','toFullConfig','length','GET','getFilterOperation','1322onLmxy','单值查询','getLatestDatasets','keys','SWITCH','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','getFieldCount','$endWith','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getEnumMetas','phone','({\x20','getFilteredOperationAnalyses','findById','now','CREATE_IMPORT','getFieldOperators','聚合函数配置数组(type:\x20sum/count/avg/max/min)','random','getCodes','getEnumFields','1987OdtAUb','getBusiness','getOperationStats','importTemplate','\x20fields)','SDK\x20调用','getFieldType','getAppCode','getFieldsV2','findByTableName','children','/filter','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','getStats','_requestExampleCache','max','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getModelAlias','\x20operations,\x20v2)','forEach','NUMBER','normalizeDbType','isCreateTime','[Field]\x20Invalid\x20field\x20definition','富文本','VARCHAR','raw','generateHTTPRequestExample','getFieldList','(id);','分组字段列表','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getCode','count','getHTTPRequestParamsDocInfo','https://example.com/image.jpg','fieldName','SMALLINT','operations','getDOType','withDeleted','16lgeCWh','要更新的字段数据对象','getLatest','hasConflict','({\x20/*\x20可选:筛选条件\x20*/\x20});','getFieldsByType','DECIMAL','all','fromField','FieldListV2(','get','返回字段列表(字段投影)','\x20operations,\x20','getDeleted','\x20groups)','alias','文件上传','Integer','_fieldListV1','getAllDatasets','value2','substring','sortNum','dbVersion','查询单个条件','时间戳','getMissingCRUDOperations','generateOperationSummary','isEnabled','2249730cAciTL','isNumericField','total','getExtendField','tenantCode','getFieldRaw','isPrimaryKeyField','getOldest','hasOperation','CHECKBOX','200','INT','长文本','selectItemsSource','doType','getDatabaseVersion','[dsparser]\x20跳过重复的表名\x20\x22','trim','responseSchema','online','API路径','EXCEL_EXPORT','getIds','getInternalInstance','tooltip','GET_ONE','items','getConflicts','autoIncrement','getResponseSchema','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','total_count','toArray','warn','getOneUpdate','context','createTime','();','isDeleted','address','array','generateRequestAllExamples','DATETIME','displayName','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','getName','getOperationAnalyses','DATE','version','分组后的过滤条件(对聚合结果进行过滤)','isAutoIncrement','getOperationsData','dbType',',\x20currentPage,\x20pageSize,\x20...\x20});','toListItem','IMPORT_TEMPLATE','FieldV1(','modifierNameField','getFirst','getRequired','orderBy','const\x20data\x20=\x20await\x20client.models.','getEnumMeta','获取数据集列表失败:\x20','generateSDKInitCode','params','DESC','String[]','relations','-$1','toFieldDefinition','$eq','当前页码','errorMsg','字段名称','$lte','<!--\x5cs*CONDITION:\x5cs*','getOne','$startWith','FieldList(','getOperators','Number','getSystemAnalysisResult','pageSize','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','查询条件(支持\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)','dataset_000000','getCountByMethod','generateConfigArray','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','\x20operations,\x20v1)','getFieldDefinition','-\x20其他要更新的字段直接平铺在同一层级','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','系统自动生成','LONGTEXT','\x20operation','getEnabledOperationInstances','getOperationCount','TINYINT','deleted','BOOLEAN','detectConflicts','generateDefaultFilterOperation','(实际字段:','getSource','parse','请求示例','-\x20`','dbTypeLen','where','getRaw','getFieldListWithDeleted','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','创建导入','validateEnumValue','`:\x20','查询单条','DELETE','item1','SELECT','2470340EGaNYw','getOperations','query','$lteq','getMethod','defaultValue','type','getOneOrigin','generateFieldExample','labelField','({\x20code,\x20label\x20});','Excel导出','min','getOperationFieldsOperatorsMap','desc','$gte','数组查询(支持多选)','indexes','generateUsageExample','method','getVirtualTables','toField','操作成功','getFieldSelectItemsSource','getAllFieldsArray','generateRequestExample','2024-01-01','hasModifierIdField','hasUpdateTimeField','includeRequestExample','接口名称','createFields','generateResponseExample','getDatasetSDKKey','create','useFullExample','解析\x20requestBody\x20失败:','日期时间','hasDbtableConfig','getUploadFileScript','(params);','$gteq','isSystemField','\x20items,\x20','\x20API\x20文档','hasCreateTimeField','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','groupByType','Invalid\x20API\x20response:\x20success\x20is\x20false','HTTP\x20直接调用时使用平铺格式:\x0a','GET_UPLOAD_FILE_SCRIPT','ensureFilterOperation','getFieldListV2','getEnabledNames','dbId','isBusiness','导入模板','hasField','has','getConflictingItems','getAutoIncrement','getOperationDocMeta','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','getRelations','dataset','updateTime','getFieldFilterOperators','示例值','isEnumField','DatasetGroup(','datasetKey','getDatasetDocMeta','$contain','includeDisabled','every','options','DOUBLE','1784862gDxFFc','datasetCode','CREATE','empty','email','getTooltip','每页数量','join','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','iterator','updateTimeField','创建导出','getSystemFields','isRequired','isMultipleSelect','add','getPath','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getEnum','daily','stringify','getEnabled','getModelName','fromApiResponse','excelExport','usageExample','generateAllOperationsFullSDKExample','push','isOperatorApplicableToField','isUpdateTime','\x20relations,\x20','FieldV2(','getTableName','enabled','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','完整的\x20SDK\x20调用代码','[parseFieldExtend]\x20Invalid\x20field:','success','_datasetMeta','operation','_operationList','getFilterOperators','getDBConfig','getFieldCode','_instance','141JVKtMt','getRequiredFields','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','parseRawResponseBody','Object[]','\x22,数据集:\x20','update','TIME','(id,\x20','getFieldsWithDeleted','groupByTableName','_operationAnalyses','\x20fields,\x20','getRelatedDataset','toLowerCase','BIGINT','_operations','toJSON','_relations','hasFilterOperation','sort','hasConflicts','_fieldListV1WithDeleted','$and','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','\x20operations)','extend','TIMESTAMP','5KQCMuW','currentPage','field_name','hasLogicField','//\x20Call\x20the\x20','\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a','getType','UPDATE','getEnumFieldsMeta','getAllFieldsString','isPrimaryKey','entries','示例文本','modelId','label','getSDKInitData','FILE','DrivenDataDetailV2(','getFieldsFilterOperatorsMap','getAt','1.0.0-beta.8','getOperationFieldOperators','slice','selectBestOperator','datasetMap','getRelationsByField','charAt','from','getCreateTime','\x5c}\x5c}','errorCode','Operation\x20not\x20found:\x20','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','toUpperCase','dataset_','getFiltered','tableData','_datasetMap','_extend','includes','getDatabaseName','replace','const\x20fileUrl\x20=\x20await\x20client.models.','getFullUrl','GET_ONE_ORIGIN','includeDeleted','string','String','groupBy','findByCode','isEmpty','POST','Object','multiple','filterBlacklist','\x5c{\x5c{','responseBody','排序规则','getDbTypeForOperation','generateFromSchema','requestBody','path','INTEGER','getDisabledNames','getBusinessFields','getFieldOptions','DatasetList(','getFieldDataSource','GET_ONE_UPDATE','prefix','23740UrZwmb','字段编码','CHAR'];a0_0x450e=function(){return _0x1100f1;};return a0_0x450e();}class DatasetGroupMap{['groups'];constructor(_0x2f5638){const _0x132577=a0_0x4e0ba7;this[_0x132577(0x237)]=new Map();for(const _0x9722ed of _0x2f5638){const _0x461c63=getTableKey(_0x9722ed);if(!this[_0x132577(0x237)][_0x132577(0x17e)](_0x461c63))this[_0x132577(0x237)][_0x132577(0x27e)](_0x461c63,new DatasetGroup(_0x9722ed));else{const _0x30aa2c=this[_0x132577(0x237)]['get'](_0x461c63),_0x142079=[..._0x30aa2c['getAll'](),_0x9722ed];this[_0x132577(0x237)][_0x132577(0x27e)](_0x461c63,new DatasetGroup(_0x142079));}}}[a0_0x4e0ba7(0xb7)](_0x34fb20){const _0x578b54=a0_0x4e0ba7;return this[_0x578b54(0x237)][_0x578b54(0xb7)](_0x34fb20);}[a0_0x4e0ba7(0x17e)](_0x1262a4){const _0x486b26=a0_0x4e0ba7;return this[_0x486b26(0x237)][_0x486b26(0x17e)](_0x1262a4);}get[a0_0x4e0ba7(0x291)](){const _0x13d048=a0_0x4e0ba7;return this[_0x13d048(0x237)][_0x13d048(0x291)];}[a0_0x4e0ba7(0x2f9)](){const _0x21b627=a0_0x4e0ba7;return this[_0x21b627(0x237)][_0x21b627(0x2f9)]();}['values'](){const _0x3598c5=a0_0x4e0ba7;return this['groups'][_0x3598c5(0x2a7)]();}['entries'](){const _0xbd2202=a0_0x4e0ba7;return this[_0xbd2202(0x237)][_0xbd2202(0x1e5)]();}[Symbol[a0_0x4e0ba7(0x19a)]](){const _0x2ff43d=a0_0x4e0ba7;return this['groups'][_0x2ff43d(0x1e5)]();}[a0_0x4e0ba7(0x31e)](_0x1967a8){const _0x3587bb=a0_0x4e0ba7;this[_0x3587bb(0x237)][_0x3587bb(0x31e)]((_0x3bad51,_0x54880f)=>_0x1967a8(_0x3bad51,_0x54880f,this));}['getConflicts'](){const _0x332627=a0_0x4e0ba7,_0x4991ec=new Map();for(const [_0x266e12,_0x1e71c6]of this[_0x332627(0x237)]){_0x1e71c6[_0x332627(0x337)]()&&_0x4991ec[_0x332627(0x27e)](_0x266e12,_0x1e71c6);}return _0x4991ec;}[a0_0x4e0ba7(0x1d3)](){const _0x186ba4=a0_0x4e0ba7;for(const _0x296ce6 of this[_0x186ba4(0x237)]['values']()){if(_0x296ce6['hasConflict']())return!![];}return![];}[a0_0x4e0ba7(0x25a)](){const _0x53424d=a0_0x4e0ba7;let _0x5af650=0x0,_0x43da31=0x0;for(const _0x10b39b of this[_0x53424d(0x237)][_0x53424d(0x2a7)]()){_0x10b39b[_0x53424d(0x337)]()&&(_0x5af650++,_0x43da31+=_0x10b39b['getCount']());}return{'conflictGroupCount':_0x5af650,'conflictItemCount':_0x43da31,'totalGroups':this[_0x53424d(0x237)]['size']};}[a0_0x4e0ba7(0xc0)](){const _0x52e23b=a0_0x4e0ba7,_0x25de89=[];for(const _0x4e8f32 of this[_0x52e23b(0x237)]['values']()){_0x25de89['push'](..._0x4e8f32['getAll']());}return _0x25de89;}[a0_0x4e0ba7(0x2f8)](){const _0x1412b2=a0_0x4e0ba7,_0x24bf84=[];for(const _0x58b333 of this['groups'][_0x1412b2(0x2a7)]()){_0x24bf84[_0x1412b2(0x1ac)](_0x58b333[_0x1412b2(0x336)]());}return _0x24bf84;}[a0_0x4e0ba7(0x336)](_0x59a37d){const _0x4088ca=a0_0x4e0ba7;return this['groups']['get'](_0x59a37d)?.[_0x4088ca(0x336)]();}[a0_0x4e0ba7(0x238)](_0x53ebd4){const _0x5e2f53=a0_0x4e0ba7;return this[_0x5e2f53(0x237)][_0x5e2f53(0xb7)](_0x53ebd4)?.[_0x5e2f53(0x238)]()||[];}['toConfig'](){const _0x33a31c=a0_0x4e0ba7,_0xe15ee6=this[_0x33a31c(0x2f8)](),_0x197b24=_0xe15ee6[_0x33a31c(0x248)](_0x3681a2=>_0x3681a2[_0x33a31c(0x1cf)]());return generateDatasetsConfig(_0x197b24,{'enableDeduplication':![]});}[a0_0x4e0ba7(0x2f2)](){const _0x59dd28=a0_0x4e0ba7,_0x1c81ea=this[_0x59dd28(0xc0)](),_0x3fe209=_0x1c81ea[_0x59dd28(0x248)](_0x4f5a23=>_0x4f5a23['toJSON']());return generateFullDatasetsConfig(_0x3fe209);}['toObject'](){const _0x9bf916={};for(const [_0xf21b27,_0x458416]of this['groups']){_0x9bf916[_0xf21b27]=_0x458416;}return _0x9bf916;}[a0_0x4e0ba7(0x1cf)](){const _0x101176=a0_0x4e0ba7,_0x5bbb7c={};for(const [_0x3890cb,_0x539165]of this['groups']){_0x5bbb7c[_0x3890cb]=_0x539165[_0x101176(0x238)]()['map'](_0x44af23=>_0x44af23['toJSON']());}return _0x5bbb7c;}['toString'](){const _0x3a176e=a0_0x4e0ba7;return'DatasetGroupMap('+this['groups']['size']+_0x3a176e(0x29a)+(this[_0x3a176e(0x1d3)]()?_0x3a176e(0x29b):_0x3a176e(0x233))+')';}}class DatasetList{[a0_0x4e0ba7(0x1ff)];constructor(_0x32f688){const _0x405348=a0_0x4e0ba7;let _0x2b0c8f;if(Array[_0x405348(0x25f)](_0x32f688))_0x2b0c8f=_0x32f688;else{if(_0x405348(0x1b6)in _0x32f688){if(!_0x32f688[_0x405348(0x1b6)])throw new Error(_0x405348(0x174));if(Array[_0x405348(0x25f)](_0x32f688[_0x405348(0x2c9)]))_0x2b0c8f=_0x32f688['data'][_0x405348(0x248)](_0xf397a2=>({..._0xf397a2,'datasetCode':_0xf397a2[_0x405348(0x297)]||_0xf397a2[_0x405348(0x192)]}));else{if(_0x32f688[_0x405348(0x2c9)]?.[_0x405348(0x1fe)])_0x2b0c8f=_0x32f688[_0x405348(0x2c9)][_0x405348(0x1fe)][_0x405348(0x248)](_0x20c38c=>({..._0x20c38c,'datasetCode':_0x20c38c['code']||_0x20c38c[_0x405348(0x192)]}));else throw new Error(_0x405348(0x1d6));}}else{if(_0x405348(0x1fe)in _0x32f688){if(!Array[_0x405348(0x25f)](_0x32f688[_0x405348(0x1fe)]))throw new Error(_0x405348(0x2a6));_0x2b0c8f=_0x32f688[_0x405348(0x1fe)]['map'](_0x420832=>({..._0x420832,'datasetCode':_0x420832[_0x405348(0x297)]||_0x420832[_0x405348(0x192)]}));}else throw new Error(_0x405348(0x2fb));}}const _0x5c3ede=_0x2b0c8f[_0x405348(0x248)](_0x268809=>new DatasetItem(_0x268809));this[_0x405348(0x1ff)]=new DatasetGroupMap(_0x5c3ede);}get[a0_0x4e0ba7(0x1f2)](){const _0xe8a835=a0_0x4e0ba7;return this[_0xe8a835(0x1ff)];}[a0_0x4e0ba7(0x282)](){const _0x3a26ba=a0_0x4e0ba7;return this[_0x3a26ba(0x1ff)]['getAllDatasets']();}[a0_0x4e0ba7(0x28d)](){const _0x133cfc=a0_0x4e0ba7;return this[_0x133cfc(0x282)]()['length'];}[a0_0x4e0ba7(0x20c)](){const _0x491516=a0_0x4e0ba7;return this[_0x491516(0x1ff)][_0x491516(0x291)]===0x0;}[a0_0x4e0ba7(0x1ed)](_0x15af0e){const _0x731e53=a0_0x4e0ba7;return this[_0x731e53(0x282)]()[_0x15af0e];}[a0_0x4e0ba7(0x105)](){const _0x1cf963=a0_0x4e0ba7;return this[_0x1cf963(0x282)]()[0x0];}['getLast'](){const _0x3c32f7=a0_0x4e0ba7,_0x2f10cc=this[_0x3c32f7(0x282)]();return _0x2f10cc[_0x2f10cc[_0x3c32f7(0x2f3)]-0x1];}[a0_0x4e0ba7(0x20b)](_0x36700f){const _0x52b855=a0_0x4e0ba7;for(const _0x4b00a8 of this[_0x52b855(0x1ff)]['values']()){const _0x13b082=_0x4b00a8[_0x52b855(0x20b)](_0x36700f);if(_0x13b082)return _0x13b082;}return;}[a0_0x4e0ba7(0x26f)](_0x145e68){const _0x9ada08=a0_0x4e0ba7;return this['getItems']()[_0x9ada08(0x2a2)](_0x29c6e6=>_0x29c6e6[_0x9ada08(0x2bd)]===_0x145e68);}[a0_0x4e0ba7(0x303)](_0x1b984e){const _0x3f53fe=a0_0x4e0ba7;for(const _0x9cf9b3 of this[_0x3f53fe(0x1ff)][_0x3f53fe(0x2a7)]()){const _0x547a80=_0x9cf9b3['findById'](_0x1b984e);if(_0x547a80)return _0x547a80;}return;}[a0_0x4e0ba7(0x314)](_0x19bf1d){const _0x5c2e6a=a0_0x4e0ba7,_0x535abd=getTableKey(_0x19bf1d);return this['_datasetMap'][_0x5c2e6a(0x336)](_0x535abd);}[a0_0x4e0ba7(0x24b)](_0x4b2016){const _0x4bebbe=a0_0x4e0ba7,_0xbb6445=this[_0x4bebbe(0x282)]()['filter'](_0x4b2016);return new DatasetList(_0xbb6445['map'](_0x80ac1d=>_0x80ac1d[_0x4bebbe(0x1cf)]()));}[a0_0x4e0ba7(0x23e)](_0x382ac5){const _0x584abe=a0_0x4e0ba7;return this['getItems']()[_0x584abe(0x24b)](_0x382ac5);}[a0_0x4e0ba7(0x31e)](_0x1ee250){const _0x373b1e=a0_0x4e0ba7;this[_0x373b1e(0x282)]()['forEach'](_0x1ee250);}[a0_0x4e0ba7(0x248)](_0x46b279){const _0x445694=a0_0x4e0ba7;return this[_0x445694(0x282)]()[_0x445694(0x248)](_0x46b279);}[Symbol[a0_0x4e0ba7(0x19a)]](){const _0x2592fb=a0_0x4e0ba7;return this['getItems']()[Symbol[_0x2592fb(0x19a)]]();}[a0_0x4e0ba7(0x158)](){const _0x5de6b3=a0_0x4e0ba7;return this[_0x5de6b3(0x282)]()[_0x5de6b3(0x24b)](_0x57ec3d=>_0x57ec3d[_0x5de6b3(0x2be)]());}[a0_0x4e0ba7(0x2ba)](){const _0x103e80=a0_0x4e0ba7;return this[_0x103e80(0x282)]()[_0x103e80(0x24b)](_0x1f1fad=>!_0x1f1fad['isVirtualTable']());}[a0_0x4e0ba7(0x1c8)](){const _0x2afb88=a0_0x4e0ba7,_0x332491={};for(const _0x25086f of this[_0x2afb88(0x1ff)][_0x2afb88(0x2a7)]()){const _0x1779ca=_0x25086f[_0x2afb88(0x336)]()['getTableName']();_0x332491[_0x1779ca]=_0x25086f['getAll']();}return _0x332491;}[a0_0x4e0ba7(0x131)](){const _0x10b03b=a0_0x4e0ba7,_0x36e6f2={};for(const _0x12e107 of this['_datasetMap']['getConflicts']()[_0x10b03b(0x2a7)]()){const _0xf3636b=_0x12e107[_0x10b03b(0x336)]()[_0x10b03b(0x1b1)]();_0x36e6f2[_0xf3636b]=_0x12e107[_0x10b03b(0x238)]()[_0x10b03b(0x248)](_0x1e82c6=>_0x1e82c6[_0x10b03b(0x1cf)]());}return{'hasConflicts':Object[_0x10b03b(0x2f9)](_0x36e6f2)[_0x10b03b(0x2f3)]>0x0,'conflicts':_0x36e6f2};}[a0_0x4e0ba7(0x1d3)](){const _0x132885=a0_0x4e0ba7;return this['_datasetMap'][_0x132885(0x1d3)]();}[a0_0x4e0ba7(0x17f)](){const _0x36190b=a0_0x4e0ba7,_0x3331e0=[];for(const _0x8c7d0b of this['_datasetMap'][_0x36190b(0xe5)]()['values']()){_0x3331e0[_0x36190b(0x1ac)](..._0x8c7d0b['getAll']());}return _0x3331e0;}[a0_0x4e0ba7(0x224)](_0x405f32){const _0x1514e9=a0_0x4e0ba7;if(!_0x405f32||Object[_0x1514e9(0x2f9)](_0x405f32)[_0x1514e9(0x2f3)]===0x0)return this[_0x1514e9(0x1f2)][_0x1514e9(0x289)]();const _0x47ecfa=this[_0x1514e9(0x282)]()[_0x1514e9(0x248)](_0x59c416=>_0x59c416[_0x1514e9(0x1cf)]());return generateDatasetsConfig(_0x47ecfa,_0x405f32);}[a0_0x4e0ba7(0x123)](_0x51057e){const _0x4eabd4=a0_0x4e0ba7,_0x570715=this[_0x4eabd4(0x224)](_0x51057e);return datasetsConfigToArray(_0x570715);}[a0_0x4e0ba7(0x29c)](){const _0x3ac402=a0_0x4e0ba7;return this[_0x3ac402(0x282)]()[_0x3ac402(0x248)](_0x16d9f7=>_0x16d9f7[_0x3ac402(0x289)]());}[a0_0x4e0ba7(0x318)](){const _0x56fd4b=a0_0x4e0ba7;return{'total':this[_0x56fd4b(0x28d)](),'virtualTables':this[_0x56fd4b(0x158)]()['length'],'realTables':this[_0x56fd4b(0x2ba)]()[_0x56fd4b(0x2f3)],'hasConflicts':this[_0x56fd4b(0x1d3)](),'conflictCount':this[_0x56fd4b(0x17f)]()[_0x56fd4b(0x2f3)]};}['toArray'](){const _0x158de1=a0_0x4e0ba7;return this[_0x158de1(0x282)]()['map'](_0x20c03b=>_0x20c03b['toJSON']());}['toJSON'](){const _0x3ec223=a0_0x4e0ba7;return this[_0x3ec223(0xeb)]();}[a0_0x4e0ba7(0x227)](){const _0x54b5d8=a0_0x4e0ba7;return _0x54b5d8(0x21c)+this[_0x54b5d8(0x28d)]()+_0x54b5d8(0x16f)+this[_0x54b5d8(0x1ff)][_0x54b5d8(0x291)]+_0x54b5d8(0xbb);}static[a0_0x4e0ba7(0x1a8)](_0x10965e){return new DatasetList(_0x10965e);}static[a0_0x4e0ba7(0x25e)](_0x17906a){return new DatasetList(_0x17906a);}static[a0_0x4e0ba7(0x194)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE='import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/node-sdk\x27;\x0a\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27{{appCode}}\x27,\x0a<!--\x20CONDITION:\x20env\x20-->\x0a\x20\x20env:\x20\x27{{env}}\x27,\x0a<!--\x20/CONDITION\x20-->\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27{{datasetCode}}\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27{{alias}}\x27,\x0a\x20\x20\x20\x20}\x0a\x20\x20],\x0a<!--\x20CONDITION:\x20isOpenAPI\x20-->\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,\x0a<!--\x20/CONDITION\x20-->\x0a});\x0a\x0aexport\x20default\x20client;\x0a';function renderTemplate(_0x5bb994,_0x19c0ee,_0x938754={}){const _0x38086b=a0_0x4e0ba7;let _0x565279=_0x5bb994;return Object[_0x38086b(0x1e5)](_0x938754)[_0x38086b(0x31e)](([_0xd3e4fd,_0x5583a0])=>{const _0x10c4de=_0x38086b,_0x235edb=new RegExp(_0x10c4de(0x117)+_0xd3e4fd+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x565279=_0x565279[_0x10c4de(0x203)](_0x235edb,_0x5583a0?'$1':'');}),Object[_0x38086b(0x1e5)](_0x19c0ee)['forEach'](([_0x134865,_0x30c95b])=>{const _0x3ea5ad=_0x38086b;if(_0x30c95b!==undefined){const _0x392047=new RegExp(_0x3ea5ad(0x211)+_0x134865+_0x3ea5ad(0x1f7),'g');_0x565279=_0x565279[_0x3ea5ad(0x203)](_0x392047,_0x30c95b);}}),_0x565279;}function generateSDKInitCode(_0x1b3fcc,_0x324857,_0x34331c,_0x367a09,_0x9874ba){const _0x2dc972=a0_0x4e0ba7;return renderTemplate(SDK_INIT_TEMPLATE,{'appCode':_0x1b3fcc,'datasetCode':_0x324857,'alias':_0x34331c,'env':_0x367a09==='daily'?_0x2dc972(0x1a4):undefined},{'env':_0x367a09!==undefined&&_0x367a09!==_0x2dc972(0xdd),'isOpenAPI':_0x9874ba===!![]});}function DrivenDataDetailPlusMixin(_0x361924){const _0x25d5b1=a0_0x4e0ba7;return class extends _0x361924{[_0x25d5b1(0x1e9)](_0x384996){const _0x2c784a=_0x25d5b1,_0x427cde=this;return{'appCode':_0x384996,'datasetSDKKey':_0x427cde[_0x2c784a(0x165)](),'alias':_0x427cde['getModelAlias'](),'tableName':_0x427cde['getTableName'](),'datasetCode':_0x427cde[_0x2c784a(0x192)]};}[_0x25d5b1(0x10b)](_0x329f47,_0x5a8625=_0x25d5b1(0xdd),_0x36cd0f=![]){const _0x5be74b=_0x25d5b1,_0x272eb7=this;return generateSDKInitCode(_0x329f47,_0x272eb7[_0x5be74b(0x192)],_0x272eb7[_0x5be74b(0x31c)](),_0x5a8625===_0x5be74b(0x1a4)?_0x5a8625:undefined,_0x36cd0f);}['generateFullSDKExample'](_0x27c005,_0x11f9f4,_0x57b046={}){const _0x11ba76=_0x25d5b1,_0x389c96=this,_0x1be89b=_0x389c96[_0x11ba76(0x145)]()[_0x11ba76(0x2a2)](_0x2ebbef=>_0x2ebbef[_0x11ba76(0xf8)]()===_0x27c005);if(!_0x1be89b)return null;const _0x3d9c4d=_0x389c96[_0x11ba76(0x181)](_0x27c005,{'useFullExample':_0x57b046[_0x11ba76(0x161)]!==![]});if(!_0x3d9c4d)return null;const _0xb50b41=[];return _0xb50b41[_0x11ba76(0x1ac)](_0x11ba76(0x1de)+_0x1be89b[_0x11ba76(0xf8)]()+_0x11ba76(0x12b)),_0xb50b41[_0x11ba76(0x1ac)](_0x3d9c4d['sdkCall'][_0x11ba76(0x297)]),_0xb50b41[_0x11ba76(0x1ac)](''),_0x57b046['includeUsageExample']!==![]&&(_0xb50b41['push']('//\x20Usage\x20examples'),_0xb50b41[_0x11ba76(0x1ac)](_0x3d9c4d[_0x11ba76(0x1aa)]['successCode']),_0xb50b41[_0x11ba76(0x1ac)](''),_0xb50b41[_0x11ba76(0x1ac)](_0x3d9c4d[_0x11ba76(0x1aa)][_0x11ba76(0x1f8)])),_0xb50b41[_0x11ba76(0x198)]('\x0a');}[_0x25d5b1(0x1ab)](_0x3c9bc2={}){const _0x102a6a=_0x25d5b1,_0x7d7551=this,_0xd00d2d=_0x7d7551[_0x102a6a(0x2b2)](),_0x2328bd=[];return _0xd00d2d[_0x102a6a(0x31e)]((_0x116636,_0x27e45f)=>{const _0x5dfe7e=_0x102a6a,_0x596bed=this[_0x5dfe7e(0x259)](_0x116636[_0x5dfe7e(0x2bd)],'demo-app',_0x3c9bc2);_0x596bed&&(_0x2328bd['push']('//\x20'+(_0x27e45f+0x1)+'.\x20'+_0x116636['displayName']),_0x2328bd[_0x5dfe7e(0x1ac)](_0x596bed),_0x2328bd['push'](''));}),_0x2328bd['join']('\x0a');}[_0x25d5b1(0xc8)](_0x57bbcf){const _0x403eb6=_0x25d5b1,_0x1f1008=this,_0x3b84e8=_0x1f1008['getOperationAnalysis'](_0x57bbcf);if(!_0x3b84e8)return null;return{'name':_0x3b84e8[_0x403eb6(0x2bd)],'displayName':_0x3b84e8[_0x403eb6(0xf6)],'method':_0x3b84e8[_0x403eb6(0x157)],'path':_0x3b84e8['path'],'enabled':_0x3b84e8[_0x403eb6(0x1b2)],'requestFieldCount':_0x3b84e8[_0x403eb6(0x2d4)][_0x403eb6(0x2f3)],'hasResponseSchema':_0x3b84e8[_0x403eb6(0xdc)]!==null};}[_0x25d5b1(0x229)](_0x5a1b29={}){const _0x1b89f3=_0x25d5b1,_0x2c99e3=this,_0x1e2b3e=_0x2c99e3[_0x1b89f3(0x2b2)]();return{'datasetName':_0x2c99e3['name'],'datasetCode':_0x2c99e3[_0x1b89f3(0x192)],'tableName':_0x2c99e3[_0x1b89f3(0x1b1)](),'totalOperations':_0x1e2b3e['length'],'operations':_0x1e2b3e[_0x1b89f3(0x248)](_0x4accac=>({'name':_0x4accac[_0x1b89f3(0x2bd)],'displayName':_0x4accac[_0x1b89f3(0xf6)],'method':_0x4accac[_0x1b89f3(0x157)],'enabled':_0x4accac['enabled']}))};}[_0x25d5b1(0x2e8)](_0x25ca59){const _0x567172=_0x25d5b1,_0x2fb0bf=this,_0x454109=_0x2fb0bf[_0x567172(0x2a9)](_0x25ca59);if(!_0x454109)return[];return _0x454109[_0x567172(0x2d4)][_0x567172(0x248)](_0x35359a=>{const _0x2b4cab=_0x567172,_0x111ba9=_0x2fb0bf[_0x2b4cab(0x243)](_0x35359a);if(!_0x111ba9)return null;return{'code':_0x35359a,'name':_0x111ba9[_0x2b4cab(0x2bd)]||_0x35359a};})[_0x567172(0x24b)](_0x2ee5d9=>_0x2ee5d9!==null);}[_0x25d5b1(0xc7)](){const _0x353448=_0x25d5b1,_0x3c6eed=this,_0x5b47c8=new Set(_0x3c6eed['getEnabledOperationAnalyses']()[_0x353448(0x248)](_0x43a436=>String(_0x43a436[_0x353448(0x14a)]))),_0x1d3b84=['create',_0x353448(0x253),_0x353448(0x1c4),'delete'];return _0x1d3b84['filter'](_0x28e7b2=>!_0x5b47c8['has'](String(_0x28e7b2)));}};}function operationToAnalysis(_0x556742){const _0x59ecd9=a0_0x4e0ba7;return{'name':_0x556742[_0x59ecd9(0xf8)](),'displayName':_0x556742[_0x59ecd9(0x24d)](),'type':_0x556742['getType'](),'method':_0x556742[_0x59ecd9(0x148)](),'path':_0x556742[_0x59ecd9(0x1a1)](),'fullUrl':_0x556742[_0x59ecd9(0x205)](),'requestFields':_0x556742[_0x59ecd9(0x256)](),'requestParams':_0x556742['getRequestParams'](),'responseSchema':_0x556742[_0x59ecd9(0xe7)](),'requestExample':_0x556742[_0x59ecd9(0x15d)](),'responseExample':_0x556742[_0x59ecd9(0x164)](),'enabled':_0x556742[_0x59ecd9(0xc9)]()};}function operationsToAnalyses(_0x3c86b4){const _0x5d1e79=a0_0x4e0ba7;return _0x3c86b4[_0x5d1e79(0x248)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x345310){const _0x2c3556=a0_0x4e0ba7,_0x2b8540=_0x345310['find'](_0x3747f7=>_0x3747f7['name']==='filter'),_0x2fcc89=_0x345310[_0x2c3556(0x24b)](_0x2ce509=>_0x2ce509['name']!=='filter');return _0x2b8540?[_0x2b8540,..._0x2fcc89]:_0x2fcc89;}function filterOperationAnalyses(_0x4beeeb,_0x2e8be6={}){const _0x29accc=a0_0x4e0ba7;let _0x41116e=_0x4beeeb;return!_0x2e8be6[_0x29accc(0x18d)]&&(_0x41116e=_0x41116e[_0x29accc(0x24b)](_0x5c2228=>_0x5c2228[_0x29accc(0x1b2)])),_0x2e8be6[_0x29accc(0x210)]!==![]&&(_0x41116e=filterApiOperations(_0x41116e)),_0x2e8be6[_0x29accc(0x2bc)]&&(_0x41116e=_0x41116e[_0x29accc(0x24b)](_0x2e8be6[_0x29accc(0x2bc)])),sortOperationsWithFilterFirst(_0x41116e);}function getOperationStats(_0x25e72e){const _0x358ec1=a0_0x4e0ba7,_0x2a4450=_0x25e72e[_0x358ec1(0x24b)](_0x450029=>_0x450029[_0x358ec1(0x1b2)]);return{'total':_0x25e72e['length'],'enabled':_0x2a4450['length'],'disabled':_0x25e72e[_0x358ec1(0x2f3)]-_0x2a4450[_0x358ec1(0x2f3)],'byType':getCountByType(_0x2a4450),'byMethod':getCountByMethod(_0x2a4450)};}function getCountByType(_0x5b0218){const _0x2ff594=a0_0x4e0ba7,_0x5f1538={};return _0x5b0218[_0x2ff594(0x31e)](_0x805ddc=>{const _0x4de2ff=_0x2ff594;if(_0x805ddc[_0x4de2ff(0x14a)])_0x5f1538[_0x805ddc[_0x4de2ff(0x14a)]]=(_0x5f1538[_0x805ddc[_0x4de2ff(0x14a)]]||0x0)+0x1;}),_0x5f1538;}function getCountByMethod(_0x2af0f0){const _0x2d6057={};return _0x2af0f0['forEach'](_0x5a19df=>{const _0x89d7e=a0_0x42d0;_0x2d6057[_0x5a19df[_0x89d7e(0x157)]]=(_0x2d6057[_0x5a19df[_0x89d7e(0x157)]]||0x0)+0x1;}),_0x2d6057;}function supportsCRUD(_0x482f34){const _0x2b77f5=a0_0x4e0ba7,_0x5b3e30=new Set(_0x482f34[_0x2b77f5(0x248)](_0x2abd2e=>_0x2abd2e[_0x2b77f5(0x14a)])[_0x2b77f5(0x24b)](Boolean));return _0x5b3e30['has'](_0x2b77f5(0x166))&&_0x5b3e30[_0x2b77f5(0x17e)]('getList')&&_0x5b3e30[_0x2b77f5(0x17e)]('update')&&_0x5b3e30[_0x2b77f5(0x17e)](_0x2b77f5(0x2af));}function createOperationDocMeta(_0x400af8,_0x152ad3,_0x118207,_0x242748,_0x23d699,_0x5871dc){const _0x4a597c=a0_0x4e0ba7;return{'operation':_0x400af8,'operationInstance':_0x152ad3,'basicInfo':{'name':_0x400af8['name'],'displayName':_0x400af8['displayName'],'method':_0x400af8[_0x4a597c(0x157)],'path':_0x400af8[_0x4a597c(0x217)],'fullUrl':_0x400af8[_0x4a597c(0x2bb)],'enabled':_0x400af8[_0x4a597c(0x1b2)]},'sdkCall':{'datasetCode':_0x118207,'datasetSDKKey':_0x242748,'tableName':_0x23d699,'operationName':_0x400af8[_0x4a597c(0x2bd)],'params':_0x400af8['requestFields'],'code':_0x152ad3[_0x4a597c(0x2a5)](_0x242748,{'useFullExample':_0x5871dc?.[_0x4a597c(0x167)]})},'usageExample':_0x152ad3[_0x4a597c(0x156)](_0x242748)};}function createOperationsOverviewData(_0x18be2a){const _0xf7e719=a0_0x4e0ba7,_0x2da3d1=[{'index':_0xf7e719(0x2bd),'label':_0xf7e719(0x162)},{'index':_0xf7e719(0xf6),'label':_0xf7e719(0x2ab)},{'index':'method','label':'方法'},{'index':_0xf7e719(0x263),'label':_0xf7e719(0x310)},{'index':'path','label':_0xf7e719(0xde)},{'index':'sdkCallCode','label':_0xf7e719(0x1b4)}],_0x1f24d3=_0x18be2a[_0xf7e719(0x248)](_0x229c16=>{const _0x1bd074=_0xf7e719,{basicInfo:_0x5c8b25,sdkCall:_0x2d1046}=_0x229c16,_0x403238=_0x2d1046['code'][_0x1bd074(0x203)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,'');return{'displayName':_0x5c8b25[_0x1bd074(0xf6)],'name':_0x5c8b25[_0x1bd074(0x2bd)],'method':_0x5c8b25[_0x1bd074(0x157)],'path':_0x5c8b25[_0x1bd074(0x217)],'sdkCall':_0x403238,'sdkCallCode':_0x2d1046[_0x1bd074(0x297)]};});return{'tableColumns':_0x2da3d1,'tableData':_0x1f24d3};}function createDatasetDocMeta(_0xc38cde,_0x4227bf,_0x397d51,_0x4b972c,_0xf29ebb,_0x33d8ab,_0x25edc5,_0x9594da,_0x57ea65){const _0x2d54c6=a0_0x4e0ba7;return{'title':_0xc38cde+_0x2d54c6(0x170),'datasetInfo':{'name':_0xc38cde,'code':_0x4227bf,'tableName':_0x397d51,'datasetSDKKey':_0x4b972c,'tableKey':_0xf29ebb,'source':_0x33d8ab,'fieldCount':_0x25edc5,'businessFieldCount':0x0,'systemFieldCount':0x0,'operationCount':_0x9594da,'enabledOperationCount':_0x57ea65[_0x2d54c6(0x2f3)]},'operations':_0x57ea65};}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x4e0ba7(0x1c9)];[a0_0x4e0ba7(0x27a)](){return'v1';}[a0_0x4e0ba7(0x31c)](){const _0x254e14=a0_0x4e0ba7;return this[_0x254e14(0x232)]();}[a0_0x4e0ba7(0xf9)](_0x12ea79=![]){const _0x134acd=a0_0x4e0ba7;if(!_0x12ea79&&this[_0x134acd(0x1c9)])return this[_0x134acd(0x1c9)];const _0x2590af=this['getOperations']();return this[_0x134acd(0x1c9)]=operationsToAnalyses(_0x2590af),this['_operationAnalyses'];}[a0_0x4e0ba7(0x2b2)](){return this['getFilteredOperationAnalyses']({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x4e0ba7(0x302)](_0x3b3248={}){const _0x2e4061=a0_0x4e0ba7;return filterOperationAnalyses(this[_0x2e4061(0xf9)](),_0x3b3248);}['getOperationAnalysis'](_0x542269){const _0x1dc7b0=a0_0x4e0ba7;return this[_0x1dc7b0(0xf9)]()[_0x1dc7b0(0x2a2)](_0x5ec13b=>_0x5ec13b[_0x1dc7b0(0x2bd)]===_0x542269);}[a0_0x4e0ba7(0x276)](_0x25409d){const _0x22c7d7=a0_0x4e0ba7;return this['getOperationAnalyses']()[_0x22c7d7(0x24b)](_0x3098f7=>_0x3098f7[_0x22c7d7(0x14a)]===_0x25409d);}[a0_0x4e0ba7(0x181)](_0xed4c07,_0x2f1958){const _0x2f84d5=a0_0x4e0ba7,_0x264194=this['getOperationAnalysis'](_0xed4c07);if(!_0x264194)return null;const _0x3d074c=this['getOperations']()[_0x2f84d5(0x2a2)](_0x66a2e7=>_0x66a2e7[_0x2f84d5(0xf8)]()===_0x264194['name']);if(!_0x3d074c)throw new Error(_0x2f84d5(0x1f9)+_0x264194['name']);return createOperationDocMeta(_0x264194,_0x3d074c,this[_0x2f84d5(0x192)],this['getDatasetSDKKey'](),this['getTableName'](),_0x2f1958);}[a0_0x4e0ba7(0x18b)](_0x1fc3d2={}){const _0x4883f9=a0_0x4e0ba7,_0x15ca04=this[_0x4883f9(0x302)](_0x1fc3d2),_0x3b497e=_0x15ca04['map'](_0x58e3a2=>this[_0x4883f9(0x181)](_0x58e3a2[_0x4883f9(0x2bd)]))[_0x4883f9(0x24b)](_0x3dfe7e=>_0x3dfe7e!==null);return createDatasetDocMeta(this['name'],this['datasetCode'],this[_0x4883f9(0x1b1)](),this[_0x4883f9(0x165)](),this[_0x4883f9(0x232)](),this[_0x4883f9(0x239)],this[_0x4883f9(0x2fc)](),this[_0x4883f9(0x12d)](),_0x3b497e);}[a0_0x4e0ba7(0x251)](_0x2ae752){return createOperationsOverviewData(_0x2ae752);}['supportsCRUD'](){const _0x1dde2d=a0_0x4e0ba7;return supportsCRUD(this[_0x1dde2d(0x2b2)]());}[a0_0x4e0ba7(0x30d)](){const _0x1af5ab=a0_0x4e0ba7;return getOperationStats(this[_0x1af5ab(0xf9)]());}[a0_0x4e0ba7(0x227)](){const _0x376f62=a0_0x4e0ba7,_0x165075=this[_0x376f62(0x30d)]();return'DrivenDataDetailPlus('+this[_0x376f62(0x2bd)]+',\x20'+this[_0x376f62(0x192)]+',\x20'+this[_0x376f62(0x2fc)]()+_0x376f62(0x1ca)+_0x165075[_0x376f62(0x1b2)]+'/'+_0x165075[_0x376f62(0xcc)]+_0x376f62(0x125);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x4e0ba7(0x1c9)];[a0_0x4e0ba7(0x27a)](){return'v2';}['getModelAlias'](){const _0x401692=a0_0x4e0ba7;return this[_0x401692(0x232)]();}['getOperationAnalyses'](_0x1bd9bd=![]){const _0x4d938e=a0_0x4e0ba7;if(!_0x1bd9bd&&this['_operationAnalyses'])return this[_0x4d938e(0x1c9)];const _0x2fddf9=this['getOperations']();return this[_0x4d938e(0x1c9)]=operationsToAnalyses(_0x2fddf9),this[_0x4d938e(0x1c9)];}[a0_0x4e0ba7(0x2b2)](){return this['getFilteredOperationAnalyses']({'includeDisabled':![],'filterBlacklist':!![]});}[a0_0x4e0ba7(0x302)](_0x574e11={}){const _0x470c65=a0_0x4e0ba7;return filterOperationAnalyses(this[_0x470c65(0xf9)](),_0x574e11);}['getOperationAnalysis'](_0x48796d){const _0x39fa67=a0_0x4e0ba7;return this[_0x39fa67(0xf9)]()['find'](_0x329181=>_0x329181[_0x39fa67(0x2bd)]===_0x48796d);}[a0_0x4e0ba7(0x276)](_0xaaad7e){const _0x439f42=a0_0x4e0ba7;return this['getOperationAnalyses']()[_0x439f42(0x24b)](_0x2ad20b=>_0x2ad20b[_0x439f42(0x14a)]===_0xaaad7e);}[a0_0x4e0ba7(0x181)](_0x1d4cfc,_0x3ebbb0){const _0x5612b1=a0_0x4e0ba7,_0x2ef999=this[_0x5612b1(0x2a9)](_0x1d4cfc);if(!_0x2ef999)return null;const _0x42f11f=this[_0x5612b1(0x145)]()[_0x5612b1(0x2a2)](_0x3e794a=>_0x3e794a[_0x5612b1(0xf8)]()===_0x2ef999[_0x5612b1(0x2bd)]);if(!_0x42f11f)throw new Error(_0x5612b1(0x1f9)+_0x2ef999[_0x5612b1(0x2bd)]);return createOperationDocMeta(_0x2ef999,_0x42f11f,this[_0x5612b1(0x192)],this[_0x5612b1(0x165)](),this[_0x5612b1(0x1b1)](),_0x3ebbb0);}[a0_0x4e0ba7(0x18b)](_0x471852={}){const _0x28f6c7=a0_0x4e0ba7,_0x52ef64=this[_0x28f6c7(0x302)](_0x471852),_0x2f5b64=_0x52ef64['map'](_0x2b2328=>this[_0x28f6c7(0x181)](_0x2b2328['name']))[_0x28f6c7(0x24b)](_0x17f788=>_0x17f788!==null);return createDatasetDocMeta(this['name'],this['datasetCode'],this[_0x28f6c7(0x1b1)](),this[_0x28f6c7(0x165)](),this[_0x28f6c7(0x232)](),this['source'],this[_0x28f6c7(0x2fc)](),this[_0x28f6c7(0x12d)](),_0x2f5b64);}[a0_0x4e0ba7(0x251)](_0x54d909){return createOperationsOverviewData(_0x54d909);}[a0_0x4e0ba7(0x278)](){const _0x197c3b=a0_0x4e0ba7;return supportsCRUD(this[_0x197c3b(0x2b2)]());}[a0_0x4e0ba7(0x30d)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x4e0ba7(0x227)](){const _0x4eb812=a0_0x4e0ba7,_0xa0c43e=this['getOperationStats']();return _0x4eb812(0x230)+this['name']+',\x20'+this[_0x4eb812(0x192)]+',\x20'+this['getFieldCount']()+_0x4eb812(0x1ca)+_0xa0c43e[_0x4eb812(0x1b2)]+'/'+_0xa0c43e[_0x4eb812(0xcc)]+_0x4eb812(0x31d);}}function detectDatasetVersion3(_0x800428){const _0xf358d7=a0_0x4e0ba7;if(_0x800428[_0xf358d7(0x23c)]==='v2'&&_0xf358d7(0x2c7)in _0x800428&&Array[_0xf358d7(0x25f)](_0x800428[_0xf358d7(0x2c7)]))return'v2';return'v1';}class DrivenDataDetailPlus{['_instance'];constructor(_0x1786cd){const _0xe4bb45=a0_0x4e0ba7,_0x3640da=detectDatasetVersion3(_0x1786cd);this[_0xe4bb45(0x1bd)]=_0x3640da==='v2'?new DrivenDataDetailPlusV2(_0x1786cd):new DrivenDataDetailPlusV1(_0x1786cd);}get['name'](){const _0xe15aa8=a0_0x4e0ba7;return this[_0xe15aa8(0x1bd)][_0xe15aa8(0x2bd)];}get['id'](){const _0x384dba=a0_0x4e0ba7;return this[_0x384dba(0x1bd)]['id'];}get[a0_0x4e0ba7(0x192)](){const _0x50efd2=a0_0x4e0ba7;return this['_instance'][_0x50efd2(0x192)];}get['source'](){return this['_instance']['source'];}['getVersion'](){const _0x3cef09=a0_0x4e0ba7,_0x5976d4=this[_0x3cef09(0x1bd)]['getVersion']();return _0x5976d4==='v2'?'v2':'v1';}[a0_0x4e0ba7(0x2fc)](){const _0x477e40=a0_0x4e0ba7;return this['_instance'][_0x477e40(0x2fc)]();}[a0_0x4e0ba7(0x12d)](){const _0x9d3028=a0_0x4e0ba7;return this[_0x9d3028(0x1bd)][_0x9d3028(0x12d)]();}['getFields'](){const _0x59ba83=a0_0x4e0ba7;return this['_instance'][_0x59ba83(0x298)]();}[a0_0x4e0ba7(0x145)](){const _0x1c2c3a=a0_0x4e0ba7;return this[_0x1c2c3a(0x1bd)][_0x1c2c3a(0x145)]();}[a0_0x4e0ba7(0x243)](_0x46e67e){const _0x575e3a=a0_0x4e0ba7;return this[_0x575e3a(0x1bd)][_0x575e3a(0x243)](_0x46e67e);}[a0_0x4e0ba7(0x1b1)](){const _0x79e5ed=a0_0x4e0ba7;return this[_0x79e5ed(0x1bd)][_0x79e5ed(0x1b1)]();}[a0_0x4e0ba7(0x232)](){const _0x4e6cf7=a0_0x4e0ba7;return this[_0x4e6cf7(0x1bd)][_0x4e6cf7(0x232)]();}[a0_0x4e0ba7(0x165)](){const _0x1aecbb=a0_0x4e0ba7;return this[_0x1aecbb(0x1bd)]['getDatasetSDKKey']();}[a0_0x4e0ba7(0xf9)](_0x156afa){const _0x383be0=a0_0x4e0ba7;return this[_0x383be0(0x1bd)][_0x383be0(0xf9)](_0x156afa);}[a0_0x4e0ba7(0x2b2)](){const _0xdee52=a0_0x4e0ba7;return this[_0xdee52(0x1bd)][_0xdee52(0x2b2)]();}['getFilteredOperationAnalyses'](_0xf460a0){const _0xef9a36=a0_0x4e0ba7;return this[_0xef9a36(0x1bd)][_0xef9a36(0x302)](_0xf460a0);}[a0_0x4e0ba7(0x2a9)](_0x18568c){return this['_instance']['getOperationAnalysis'](_0x18568c);}[a0_0x4e0ba7(0x276)](_0x1ec801){const _0x16805d=a0_0x4e0ba7;return this[_0x16805d(0x1bd)][_0x16805d(0x276)](_0x1ec801);}['getOperationDocMeta'](_0x48d5db,_0x20d3ce){return this['_instance']['getOperationDocMeta'](_0x48d5db,_0x20d3ce);}[a0_0x4e0ba7(0x18b)](_0x5b3034){const _0x611868=a0_0x4e0ba7;return this[_0x611868(0x1bd)][_0x611868(0x18b)](_0x5b3034);}[a0_0x4e0ba7(0x251)](_0x160183){const _0x4b8ab4=a0_0x4e0ba7;return this[_0x4b8ab4(0x1bd)][_0x4b8ab4(0x251)](_0x160183);}[a0_0x4e0ba7(0x31c)](){const _0x4299da=a0_0x4e0ba7;return this['_instance'][_0x4299da(0x31c)]();}[a0_0x4e0ba7(0x278)](){const _0x22f08d=a0_0x4e0ba7;return this['_instance'][_0x22f08d(0x278)]();}[a0_0x4e0ba7(0x30d)](){const _0x4f0e5f=a0_0x4e0ba7;return this[_0x4f0e5f(0x1bd)][_0x4f0e5f(0x30d)]();}['toString'](){const _0x3479df=a0_0x4e0ba7;return this[_0x3479df(0x1bd)][_0x3479df(0x227)]();}[a0_0x4e0ba7(0x2a4)](_0x398751){const _0x30e6c5=a0_0x4e0ba7;return this[_0x30e6c5(0x1bd)][_0x30e6c5(0x2a4)](_0x398751);}['getSDKInitData'](_0x52ac84){return this['_instance']['getSDKInitData'](_0x52ac84);}[a0_0x4e0ba7(0x10b)](_0x4c3fea,_0x5ec93f,_0x10767f){const _0x402895=a0_0x4e0ba7;return this[_0x402895(0x1bd)][_0x402895(0x10b)](_0x4c3fea,_0x5ec93f,_0x10767f);}[a0_0x4e0ba7(0x259)](_0x314d50,_0x2f02c7,_0x4feda6){const _0x538959=a0_0x4e0ba7;return this[_0x538959(0x1bd)][_0x538959(0x259)](_0x314d50,_0x2f02c7,_0x4feda6);}['generateAllOperationsFullSDKExample'](_0xbcf577){const _0x578ab7=a0_0x4e0ba7;return this[_0x578ab7(0x1bd)][_0x578ab7(0x1ab)](_0xbcf577);}['generateOperationSummary'](_0x4a6f5b){const _0x20b5a8=a0_0x4e0ba7;return this[_0x20b5a8(0x1bd)][_0x20b5a8(0xc8)](_0x4a6f5b);}[a0_0x4e0ba7(0x229)](_0x25c34c){const _0x3b353e=a0_0x4e0ba7;return this[_0x3b353e(0x1bd)]['generateAllOperationsSummary'](_0x25c34c);}[a0_0x4e0ba7(0x2e8)](_0x5a9a72){const _0x56ba47=a0_0x4e0ba7;return this[_0x56ba47(0x1bd)][_0x56ba47(0x2e8)](_0x5a9a72);}[a0_0x4e0ba7(0xc7)](){const _0x444390=a0_0x4e0ba7;return this[_0x444390(0x1bd)][_0x444390(0xc7)]();}[a0_0x4e0ba7(0xe1)](){const _0x34399c=a0_0x4e0ba7;return this[_0x34399c(0x1bd)];}[a0_0x4e0ba7(0x327)](){const _0x297c81=a0_0x4e0ba7;return this[_0x297c81(0x1bd)][_0x297c81(0x327)]?this[_0x297c81(0x1bd)][_0x297c81(0x327)]():null;}['getEnumFields'](){const _0x2e43f0=a0_0x4e0ba7;return this[_0x2e43f0(0x1bd)][_0x2e43f0(0x30a)]?this[_0x2e43f0(0x1bd)][_0x2e43f0(0x30a)]():[];}[a0_0x4e0ba7(0x2ef)](_0x36334d){const _0x2ac318=a0_0x4e0ba7;return this['_instance'][_0x2ac318(0x2ef)]?this[_0x2ac318(0x1bd)][_0x2ac318(0x2ef)](_0x36334d):![];}[a0_0x4e0ba7(0x266)](_0x4ec3c4){const _0x40ea4d=a0_0x4e0ba7;return this['_instance'][_0x40ea4d(0x266)]?this[_0x40ea4d(0x1bd)][_0x40ea4d(0x266)](_0x4ec3c4):undefined;}[a0_0x4e0ba7(0x21b)](_0x2b2300){const _0x4412b2=a0_0x4e0ba7;return this['_instance'][_0x4412b2(0x21b)]?this[_0x4412b2(0x1bd)][_0x4412b2(0x21b)](_0x2b2300):[];}[a0_0x4e0ba7(0x15b)](_0x2e2bdc){const _0x4b4e65=a0_0x4e0ba7;return this[_0x4b4e65(0x1bd)][_0x4b4e65(0x15b)]?this[_0x4b4e65(0x1bd)]['getFieldSelectItemsSource'](_0x2e2bdc):undefined;}['getEnumFieldMeta'](_0x50d343){const _0x668d7f=a0_0x4e0ba7;return this[_0x668d7f(0x1bd)][_0x668d7f(0x2cd)]?this[_0x668d7f(0x1bd)][_0x668d7f(0x2cd)](_0x50d343):undefined;}[a0_0x4e0ba7(0x1e2)](){const _0xa665f8=a0_0x4e0ba7;return this[_0xa665f8(0x1bd)][_0xa665f8(0x1e2)]?this[_0xa665f8(0x1bd)][_0xa665f8(0x1e2)]():{};}[a0_0x4e0ba7(0x13e)](_0xf6952e,_0x41bfc6){const _0x569bdb=a0_0x4e0ba7;return this[_0x569bdb(0x1bd)][_0x569bdb(0x13e)]?this[_0x569bdb(0x1bd)][_0x569bdb(0x13e)](_0xf6952e,_0x41bfc6):![];}[a0_0x4e0ba7(0x236)](_0x5adcfe){const _0x3cfb69=a0_0x4e0ba7;return this[_0x3cfb69(0x1bd)][_0x3cfb69(0x236)]?this['_instance'][_0x3cfb69(0x236)](_0x5adcfe):![];}[a0_0x4e0ba7(0x318)](){const _0xfc3fac=a0_0x4e0ba7;return this[_0xfc3fac(0x1bd)][_0xfc3fac(0x318)]?this[_0xfc3fac(0x1bd)][_0xfc3fac(0x318)]():{};}[a0_0x4e0ba7(0x2f5)](){const _0x176200=a0_0x4e0ba7;return this[_0x176200(0x1bd)][_0x176200(0x2f5)]?this['_instance'][_0x176200(0x2f5)]():undefined;}[a0_0x4e0ba7(0x1d1)](){const _0x3e058d=a0_0x4e0ba7;return this['_instance']['hasFilterOperation']?this[_0x3e058d(0x1bd)]['hasFilterOperation']():![];}['hasOperation'](_0x37403e){const _0x3b7a75=a0_0x4e0ba7;return this[_0x3b7a75(0x1bd)]['hasOperation']?this[_0x3b7a75(0x1bd)][_0x3b7a75(0xd2)](_0x37403e):![];}}function createDrivenDataDetailPlus(_0x50fdc8,_0x5d9be7={}){const _0x1e03a0=a0_0x4e0ba7;if(_0x5d9be7['forceVersion']==='v1')return new DrivenDataDetailPlusV1(_0x50fdc8);if(_0x5d9be7[_0x1e03a0(0x257)]==='v2')return new DrivenDataDetailPlusV2(_0x50fdc8);if(_0x50fdc8[_0x1e03a0(0x23c)]==='v2'||_0x1e03a0(0x184)in _0x50fdc8)return new DrivenDataDetailPlusV2(_0x50fdc8);return new DrivenDataDetailPlusV1(_0x50fdc8);}function isPlusV2Instance(_0x4e3a04){return _0x4e3a04['getVersion']()==='v2';}function isPlusV1Instance(_0x5e693a){const _0x3f63e5=a0_0x4e0ba7;return _0x5e693a[_0x3f63e5(0x27a)]()==='v1';}var VERSION=a0_0x4e0ba7(0x1ee);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
1
|
+
const a0_0x54060a=a0_0x3c25;(function(_0x2ba6ab,_0x5ee6e1){const _0x35d910=a0_0x3c25,_0x117c01=_0x2ba6ab();while(!![]){try{const _0x1e4483=parseInt(_0x35d910(0x18f))/0x1*(-parseInt(_0x35d910(0x2c3))/0x2)+-parseInt(_0x35d910(0x1ab))/0x3*(parseInt(_0x35d910(0x17c))/0x4)+-parseInt(_0x35d910(0x2d0))/0x5*(-parseInt(_0x35d910(0x17a))/0x6)+parseInt(_0x35d910(0x19d))/0x7+parseInt(_0x35d910(0x154))/0x8*(-parseInt(_0x35d910(0x26d))/0x9)+parseInt(_0x35d910(0x37a))/0xa+-parseInt(_0x35d910(0x198))/0xb*(-parseInt(_0x35d910(0x26a))/0xc);if(_0x1e4483===_0x5ee6e1)break;else _0x117c01['push'](_0x117c01['shift']());}catch(_0x3ffc6f){_0x117c01['push'](_0x117c01['shift']());}}}(a0_0x53c2,0x7b7bb));function toCamelCase(_0x41beab){const _0x212956=a0_0x3c25;if(!_0x41beab)return'';return _0x41beab['split'](/[_-]/)[_0x212956(0x12b)]((_0x283a8d,_0x593d81)=>{const _0x451056=_0x212956;if(_0x593d81===0x0)return _0x283a8d[_0x451056(0x347)]();return _0x283a8d[_0x451056(0x193)](0x0)[_0x451056(0x2f5)]()+_0x283a8d[_0x451056(0x1a3)](0x1)[_0x451056(0x347)]();})[_0x212956(0x204)]('');}function toPascalCase(_0x8bda29){const _0x39d650=a0_0x3c25;if(!_0x8bda29)return'';const _0x2b2a58=toCamelCase(_0x8bda29);return _0x2b2a58[_0x39d650(0x193)](0x0)[_0x39d650(0x2f5)]()+_0x2b2a58[_0x39d650(0x1a3)](0x1);}function toSnakeCase(_0x2fc2ba){const _0x4dd94c=a0_0x3c25;if(!_0x2fc2ba)return'';return _0x2fc2ba['replace'](/([A-Z])/g,_0x4dd94c(0x348))[_0x4dd94c(0x347)]()[_0x4dd94c(0x12f)](/^_/,'');}function toKebabCase(_0x2990ec){const _0x4a088c=a0_0x3c25;if(!_0x2990ec)return'';return _0x2990ec[_0x4a088c(0x12f)](/([A-Z])/g,_0x4a088c(0x1b3))[_0x4a088c(0x347)]()['replace'](/^-/,'');}function normalizeFieldName(_0x31c519){const _0x98c56a=a0_0x3c25;if(!_0x31c519)return'';return _0x31c519['trim']()['replace'](/\s+/g,'_')[_0x98c56a(0x12f)](/[^a-zA-Z0-9_]/g,'_')['replace'](/_+/g,'_')[_0x98c56a(0x12f)](/^_|_$/g,'');}function getTableName(_0x5cbdf6){const _0x2e5429=a0_0x3c25;if(!_0x5cbdf6)return _0x2e5429(0x2b3);if(_0x5cbdf6['dbtableConfig']?.[_0x2e5429(0x2f4)])return _0x5cbdf6[_0x2e5429(0x263)][_0x2e5429(0x2f4)];const _0x534e04=_0x5cbdf6[_0x2e5429(0x355)]||_0x5cbdf6[_0x2e5429(0x280)]||_0x5cbdf6['modelCode'];if(_0x534e04)return generateTableNameFromCode(_0x534e04);return _0x2e5429(0x2b3);}function getTableKey(_0x440fd5){const _0x10981a=a0_0x3c25;if(typeof _0x440fd5===_0x10981a(0x264))return toCamelCase(_0x440fd5);const _0xfa11ab=getTableName(_0x440fd5);return toCamelCase(_0xfa11ab);}function generateTableNameFromCode(_0x93b243){const _0x27630f=a0_0x3c25;if(!_0x93b243)return _0x27630f(0x2b3);const _0x29544c=_0x93b243[_0x27630f(0x1a3)](-0x6)[_0x27630f(0x279)](0x6,'0');return _0x27630f(0x297)+_0x29544c;}function isVirtualTableName(_0x3193d8){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x3193d8);}function generateModelKeyFromCode(_0x39cd54){const _0x4abe19=a0_0x3c25;if(!_0x39cd54)return _0x4abe19(0x3ba);return _0x4abe19(0x297)+_0x39cd54;}function getDbName(_0x2db820){const _0x202c61=a0_0x3c25;return _0x2db820[_0x202c61(0x263)]?.[_0x202c61(0x29a)]||_0x2db820[_0x202c61(0x263)]?.[_0x202c61(0x13a)]?.[_0x202c61(0x29a)]||'';}function generateDatasetsConfig(_0xbc07db,_0x18cfb6={}){const _0x9322d5=a0_0x3c25,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x5cc97b,filter:_0x224e66}=_0x18cfb6,_0x104b3e=_0x224e66?_0xbc07db[_0x9322d5(0x132)](_0x224e66):_0xbc07db,_0x5cb317=new Map();for(const _0x18fb88 of _0x104b3e){const _0x16eeb0=getTableName(_0x18fb88),_0x42c3ea=getDbName(_0x18fb88);!_0x5cb317[_0x9322d5(0x19e)](_0x16eeb0)&&_0x5cb317[_0x9322d5(0x1c9)](_0x16eeb0,new Set()),_0x5cb317[_0x9322d5(0x333)](_0x16eeb0)['add'](_0x42c3ea);}const _0x504d1a=new Set();for(const [_0x5eef04,_0x30d703]of _0x5cb317){_0x30d703['size']>0x1&&_0x504d1a[_0x9322d5(0x1ac)](_0x5eef04);}const _0x3e0690={},_0x4f796f=new Set();for(const _0x4ba44c of _0x104b3e){const _0x56e544=getTableName(_0x4ba44c);if(enableDeduplication&&_0x4f796f[_0x9322d5(0x19e)](_0x56e544)){console[_0x9322d5(0x178)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x56e544+_0x9322d5(0x2fc)+_0x4ba44c[_0x9322d5(0x175)]+'\x20('+_0x4ba44c[_0x9322d5(0x355)]+')');continue;}_0x4f796f[_0x9322d5(0x1ac)](_0x56e544);const _0x167f41=_0x5cc97b?_0x5cc97b(_0x56e544,_0x4ba44c):getTableKey(_0x56e544),_0x517981=getDbName(_0x4ba44c),_0x54d164=_0x504d1a['has'](_0x56e544)&&_0x517981?getTableKey(_0x517981)+'_'+_0x167f41:_0x167f41;_0x3e0690[_0x167f41]={'key':_0x167f41,'alias':_0x54d164,'tableName':_0x56e544,'datasetCode':_0x4ba44c['datasetCode'],'name':_0x4ba44c[_0x9322d5(0x175)],'id':_0x4ba44c['id'],'dbName':_0x517981};}return _0x3e0690;}function generateFullDatasetsConfig(_0x416616,_0x49e1c6={}){const _0x42201e=a0_0x3c25,{filter:_0x3cb1cb,datasetNameGenerator:_0x262608}=_0x49e1c6,_0x50cca4=_0x3cb1cb?_0x416616[_0x42201e(0x132)](_0x3cb1cb):_0x416616,_0xc7a747=new Map();for(const _0x571c24 of _0x50cca4){const _0x40c58a=getTableName(_0x571c24),_0x5b7fc6=getDbName(_0x571c24);!_0xc7a747[_0x42201e(0x19e)](_0x40c58a)&&_0xc7a747[_0x42201e(0x1c9)](_0x40c58a,new Set()),_0xc7a747['get'](_0x40c58a)[_0x42201e(0x1ac)](_0x5b7fc6);}const _0x13a5f8=new Set();for(const [_0x42450b,_0x88909e]of _0xc7a747){_0x88909e[_0x42201e(0x337)]>0x1&&_0x13a5f8[_0x42201e(0x1ac)](_0x42450b);}const _0x58a0f6=groupByTableName(_0x50cca4),_0x1f9a7c={};for(const [_0x17197f,_0x76d414]of Object[_0x42201e(0x2aa)](_0x58a0f6)){if(_0x76d414[_0x42201e(0x17f)]===0x1){const _0x503be7=_0x76d414[0x0],_0x250c7f=_0x262608?_0x262608(_0x17197f,_0x503be7):getTableKey(_0x17197f),_0x411fd0=getDbName(_0x503be7),_0x2c3458=_0x13a5f8[_0x42201e(0x19e)](_0x17197f)&&_0x411fd0?getTableKey(_0x411fd0)+'_'+_0x250c7f:_0x250c7f;_0x1f9a7c[_0x250c7f]={'key':_0x250c7f,'alias':_0x2c3458,'tableName':_0x17197f,'datasetCode':_0x503be7['datasetCode'],'name':_0x503be7['name'],'id':_0x503be7['id'],'dbName':_0x411fd0};}else{const _0x59466b=[..._0x76d414][_0x42201e(0x335)]((_0x4bc0d7,_0x3b3bcd)=>{const _0x2f4cec=Number(_0x4bc0d7['id'])||0x0,_0x5aceee=Number(_0x3b3bcd['id'])||0x0;return _0x5aceee-_0x2f4cec;});_0x59466b[_0x42201e(0x290)]((_0x474200,_0x4c3102)=>{const _0x2e93c2=_0x42201e,_0x36b2e0=_0x262608?_0x262608(_0x17197f,_0x474200):getTableKey(_0x17197f),_0x2d3fc5=_0x4c3102===0x0?_0x36b2e0:_0x36b2e0+'_'+_0x4c3102,_0xd9bdac=getDbName(_0x474200),_0x288ac0=_0x13a5f8['has'](_0x17197f)&&_0xd9bdac?getTableKey(_0xd9bdac)+'_'+_0x2d3fc5:_0x2d3fc5;_0x1f9a7c[_0x2d3fc5]={'key':_0x2d3fc5,'alias':_0x288ac0,'tableName':_0x17197f,'datasetCode':_0x474200['datasetCode'],'name':_0x474200[_0x2e93c2(0x175)],'id':_0x474200['id'],'dbName':_0xd9bdac};});}}return _0x1f9a7c;}function detectTableNameConflicts(_0x390a54){const _0x4b1fec=a0_0x3c25,_0x32230b={};for(const _0x5c4ca5 of _0x390a54){const _0x3fe604=getTableName(_0x5c4ca5);!_0x32230b[_0x3fe604]&&(_0x32230b[_0x3fe604]=[]),_0x32230b[_0x3fe604][_0x4b1fec(0x30d)](_0x5c4ca5);}const _0x5e9ddc={};for(const [_0x56aa0d,_0x19250d]of Object[_0x4b1fec(0x2aa)](_0x32230b)){_0x19250d[_0x4b1fec(0x17f)]>0x1&&(_0x5e9ddc[_0x56aa0d]=_0x19250d);}return{'hasConflicts':Object[_0x4b1fec(0x2e3)](_0x5e9ddc)[_0x4b1fec(0x17f)]>0x0,'conflicts':_0x5e9ddc};}function createDatasetNameMap(_0xa97d09){const _0x3c9c51=a0_0x3c25,_0x1d3689={};for(const [_0x31cb89,_0x2bb2da]of Object[_0x3c9c51(0x2aa)](_0xa97d09)){_0x1d3689[_0x31cb89]=_0x2bb2da['datasetCode']||'';}return _0x1d3689;}function groupByTableName(_0x2ef56b){const _0xe82c8b={};for(const _0xb9c558 of _0x2ef56b){const _0x2d8958=getTableName(_0xb9c558);!_0xe82c8b[_0x2d8958]&&(_0xe82c8b[_0x2d8958]=[]),_0xe82c8b[_0x2d8958]['push'](_0xb9c558);}return _0xe82c8b;}function datasetsConfigToArray(_0x4c3d55){return Object['values'](_0x4c3d55);}function adaptDrivenDataDetail(_0x368f25){const _0x3f5f9e=a0_0x3c25,_0xd21441={};return _0xd21441['id']=_0x368f25[_0x3f5f9e(0x2c8)],_0xd21441[_0x3f5f9e(0x175)]=_0x368f25[_0x3f5f9e(0x175)],_0xd21441[_0x3f5f9e(0x355)]=_0x368f25[_0x3f5f9e(0x2a2)],_0xd21441[_0x3f5f9e(0x263)]=_0x368f25[_0x3f5f9e(0x263)],_0xd21441['source']=_0x368f25['source'],_0xd21441[_0x3f5f9e(0x3c9)]=_0x368f25['version'],_0xd21441[_0x3f5f9e(0x330)]=_0x368f25[_0x3f5f9e(0x330)],_0xd21441[_0x3f5f9e(0x315)]=_0x368f25[_0x3f5f9e(0x315)],_0xd21441[_0x3f5f9e(0x3c4)]=_0x368f25[_0x3f5f9e(0x3c4)],_0xd21441;}function adaptDrivenDataDetails(_0x18a06e){const _0x25f165=a0_0x3c25;return _0x18a06e[_0x25f165(0x12b)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x71935f){const _0x374377=a0_0x3c25;if(!_0x71935f[_0x374377(0x1f2)]||!_0x71935f[_0x374377(0x1e0)])throw new Error(_0x374377(0x24a)+(_0x71935f[_0x374377(0x2b6)]||_0x71935f['msg']));return adaptDrivenDataDetail(_0x71935f[_0x374377(0x1e0)]);}function extractDatasetsFromListResponse(_0x49056a){const _0x148cd9=a0_0x3c25;if(!_0x49056a[_0x148cd9(0x1f2)]||!_0x49056a[_0x148cd9(0x1e0)]?.[_0x148cd9(0x166)])throw new Error(_0x148cd9(0x1b2)+(_0x49056a['errorMsg']||_0x49056a[_0x148cd9(0x1f1)]));return _0x49056a[_0x148cd9(0x1e0)][_0x148cd9(0x166)][_0x148cd9(0x12b)](_0x2f1e9a=>({..._0x2f1e9a,'datasetCode':_0x2f1e9a[_0x148cd9(0x280)]||_0x2f1e9a[_0x148cd9(0x355)]}));}function isDrivenDataDetail(_0x40814f){const _0x3c36b1=a0_0x3c25;return Boolean(_0x40814f&&typeof _0x40814f['modelCode']===_0x3c36b1(0x264));}function smartAdapt(_0x388bf1){if(isDrivenDataDetail(_0x388bf1))return adaptDrivenDataDetail(_0x388bf1);if(_0x388bf1['datasetCode'])return _0x388bf1;if(_0x388bf1['code']){const _0x6aec29={..._0x388bf1};return _0x6aec29['datasetCode']=_0x388bf1['code'],_0x6aec29;}return _0x388bf1;}var DatasetOperationType;(_0xa49907=>{const _0x3b70d0=a0_0x3c25;_0xa49907[_0x3b70d0(0x248)]=_0x3b70d0(0x13b),_0xa49907[_0x3b70d0(0x17d)]=_0x3b70d0(0x15f),_0xa49907[_0x3b70d0(0x32e)]=_0x3b70d0(0x1df),_0xa49907[_0x3b70d0(0x271)]=_0x3b70d0(0x2eb),_0xa49907[_0x3b70d0(0x266)]=_0x3b70d0(0x239),_0xa49907[_0x3b70d0(0x1a5)]=_0x3b70d0(0x1aa),_0xa49907['DELETE']=_0x3b70d0(0x253),_0xa49907['GET_SELECT_OPTIONS']=_0x3b70d0(0x3ac),_0xa49907[_0x3b70d0(0x22f)]=_0x3b70d0(0x3b0),_0xa49907[_0x3b70d0(0x39b)]='excelExport',_0xa49907[_0x3b70d0(0x13e)]='getUploadFileScript',_0xa49907[_0x3b70d0(0x1bd)]='createImport',_0xa49907[_0x3b70d0(0x369)]='createExport',_0xa49907[_0x3b70d0(0x222)]=_0x3b70d0(0x192),_0xa49907['IMPORT_TEMPLATE']='importTemplate';})(DatasetOperationType||={});const a0_0x1fb3ab={};a0_0x1fb3ab[a0_0x54060a(0x13b)]=a0_0x54060a(0x230),a0_0x1fb3ab[a0_0x54060a(0x15f)]=a0_0x54060a(0x291),a0_0x1fb3ab['getOneOrigin']='查询单条(原始)',a0_0x1fb3ab[a0_0x54060a(0x2eb)]=a0_0x54060a(0x2d9),a0_0x1fb3ab[a0_0x54060a(0x239)]='创建',a0_0x1fb3ab['update']='更新',a0_0x1fb3ab[a0_0x54060a(0x253)]='删除',a0_0x1fb3ab['getSelectOptions']=a0_0x54060a(0x30c),a0_0x1fb3ab[a0_0x54060a(0x3b0)]=a0_0x54060a(0x1a7),a0_0x1fb3ab[a0_0x54060a(0x3ca)]=a0_0x54060a(0x3bd),a0_0x1fb3ab['getUploadFileScript']=a0_0x54060a(0x225),a0_0x1fb3ab['createImport']=a0_0x54060a(0x3cb),a0_0x1fb3ab[a0_0x54060a(0x3cf)]=a0_0x54060a(0x309),a0_0x1fb3ab[a0_0x54060a(0x192)]=a0_0x54060a(0x241),a0_0x1fb3ab[a0_0x54060a(0x184)]=a0_0x54060a(0x316);var OPERATION_TYPE_DISPLAY_NAME=a0_0x1fb3ab,API_BLACKLIST=[a0_0x54060a(0x13b),a0_0x54060a(0x1df),a0_0x54060a(0x2eb),'getFileUrl'];function parseFieldExtend(_0x4152ed){const _0x53b872=a0_0x54060a;if(!_0x4152ed||typeof _0x4152ed!==_0x53b872(0x1ef))return!![]&&console['warn'](_0x53b872(0x27e),_0x4152ed),{};if(!_0x4152ed[_0x53b872(0x330)])return{};try{const _0x1b10ba=typeof _0x4152ed[_0x53b872(0x330)]==='string'?JSON[_0x53b872(0x359)](_0x4152ed[_0x53b872(0x330)]):_0x4152ed['extend'];if(typeof _0x1b10ba!==_0x53b872(0x1ef)||_0x1b10ba===null)return{};return _0x1b10ba;}catch{return{};}}function isPrimaryKeyField(_0x15af2a,_0x242e29){const _0x1a5fba=a0_0x54060a;if(!_0x15af2a||typeof _0x15af2a!==_0x1a5fba(0x1ef))return![];if(typeof _0x242e29===_0x1a5fba(0x264)&&_0x15af2a[_0x1a5fba(0x280)]===_0x242e29)return!![];const _0x1be694=parseFieldExtend(_0x15af2a);return Boolean(_0x1be694['primaryKey']||_0x1be694['pkField']);}function isSystemField(_0x4f6274){const _0x2e4e6e=parseFieldExtend(_0x4f6274);return Boolean(_0x2e4e6e['systemRetain']);}function isRequiredField(_0x3318de){const _0x23f286=a0_0x54060a,_0x3e0ebb=parseFieldExtend(_0x3318de);return Boolean(_0x3e0ebb[_0x23f286(0x17b)]);}function isAutoIncrementField(_0x1dff34){const _0x3085b1=a0_0x54060a,_0x1ae412=parseFieldExtend(_0x1dff34);return Boolean(_0x1ae412[_0x3085b1(0x214)]);}function isCreateTimeField(_0x5b62a0){const _0x47b646=a0_0x54060a,_0x1a15d5=parseFieldExtend(_0x5b62a0);return Boolean(_0x1a15d5[_0x47b646(0x2b2)]);}function isModifyTimeField(_0x5d7cfd){const _0x2c5c83=parseFieldExtend(_0x5d7cfd);return Boolean(_0x2c5c83['modifyDate']);}const a0_0x2b473a={};a0_0x2b473a[a0_0x54060a(0x313)]='数字',a0_0x2b473a['TEXT']='文本',a0_0x2b473a['TEXTAREA']='长文本',a0_0x2b473a[a0_0x54060a(0x354)]='日期',a0_0x2b473a[a0_0x54060a(0x1c5)]=a0_0x54060a(0x237),a0_0x2b473a['TIMESTAMP']=a0_0x54060a(0x288),a0_0x2b473a['SELECT']=a0_0x54060a(0x302),a0_0x2b473a['CHECKBOX']='多选',a0_0x2b473a[a0_0x54060a(0x2d4)]='单选',a0_0x2b473a['SWITCH']='开关',a0_0x2b473a[a0_0x54060a(0x343)]=a0_0x54060a(0x31f),a0_0x2b473a[a0_0x54060a(0x3b5)]='图片',a0_0x2b473a[a0_0x54060a(0x1d4)]=a0_0x54060a(0x38e),a0_0x2b473a[a0_0x54060a(0x1d9)]=a0_0x54060a(0x1d9),a0_0x2b473a[a0_0x54060a(0x151)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x2b473a;function getDbTypeDisplay(_0x1f9ca9){const _0x28974d=a0_0x54060a;if(typeof _0x1f9ca9!==_0x28974d(0x264))return!![]&&console[_0x28974d(0x178)](_0x28974d(0x36c),_0x1f9ca9),String(_0x1f9ca9||'-');return DB_TYPE_DISPLAY_MAP[_0x1f9ca9]||_0x1f9ca9;}function formatDbType(_0x4071dd,_0x210cdc){const _0xf14048=a0_0x54060a;if(!_0x4071dd||typeof _0x4071dd!==_0xf14048(0x264))return'-';if(!_0x210cdc||typeof _0x210cdc!=='number')return _0x4071dd;const _0x47a9dd=[_0xf14048(0x384),_0xf14048(0x1c5),'TIMESTAMP','DATE'];if(_0x47a9dd['includes'](_0x4071dd[_0xf14048(0x2f5)]()))return _0x4071dd;return _0x4071dd+'('+_0x210cdc+')';}function parseOperationType(_0x5978b1){const _0x4c4a42=a0_0x54060a;if(typeof _0x5978b1!==_0x4c4a42(0x264)){!![]&&console[_0x4c4a42(0x178)](_0x4c4a42(0x1e9),_0x5978b1);return;}if(Object['values'](DatasetOperationType)['includes'](_0x5978b1))return _0x5978b1;const _0x4e5cb9=Object[_0x4c4a42(0x2aa)](OPERATION_TYPE_DISPLAY_NAME)[_0x4c4a42(0x283)](([_0x5400d3,_0x3bf3fb])=>_0x3bf3fb===_0x5978b1);return _0x4e5cb9?_0x4e5cb9[0x0]:undefined;}function shouldIncludeField(_0x254107,_0x54ebce,_0x4f7898){const _0x275292=a0_0x54060a,_0x172624=parseFieldExtend(_0x254107),_0x57995a=isPrimaryKeyField(_0x254107,_0x4f7898),_0x47448e=Boolean(_0x172624[_0x275292(0x1d3)]),_0x5a2877=Boolean(_0x172624[_0x275292(0x214)]),_0x5207de=Boolean(_0x172624[_0x275292(0x2b2)]),_0x4da5fe=Boolean(_0x172624['modifyDate']);switch(_0x54ebce){case _0x275292(0x13b):return!![];case _0x275292(0x15f):case _0x275292(0x1df):case'delete':return _0x57995a;case _0x275292(0x239):if(_0x57995a&&_0x5a2877)return![];if(_0x47448e)return![];if(_0x5207de||_0x4da5fe)return![];return!![];case _0x275292(0x1aa):case _0x275292(0x2eb):if(_0x57995a)return!![];if(_0x47448e)return![];if(_0x5207de||_0x4da5fe)return![];return!![];case _0x275292(0x3ac):return _0x254107['code']===_0x275292(0x280);default:return!![];}}function getFieldsForOperation(_0x529968,_0x1df6dd,_0x3e60d3){const _0x2d0385=a0_0x54060a;if(!Array[_0x2d0385(0x1bf)](_0x529968))return!![]&&console[_0x2d0385(0x178)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x529968),[];return _0x529968[_0x2d0385(0x132)](_0x30695b=>shouldIncludeField(_0x30695b,_0x1df6dd,_0x3e60d3));}function isApiBlacklisted(_0x4bce2a){const _0xfbe269=a0_0x54060a;if(typeof _0x4bce2a!==_0xfbe269(0x264))return!![]&&console['warn'](_0xfbe269(0x2cf),_0x4bce2a),![];return API_BLACKLIST['includes'](_0x4bce2a);}function filterApiOperations(_0x316717){const _0x3d23c5=a0_0x54060a;if(!Array[_0x3d23c5(0x1bf)](_0x316717))return!![]&&console['warn']('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x316717),[];return _0x316717[_0x3d23c5(0x132)](_0x3c739a=>_0x3c739a&&typeof _0x3c739a===_0x3d23c5(0x1ef)&&!isApiBlacklisted(_0x3c739a[_0x3d23c5(0x175)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x54060a(0x1fb)](),'DATE':()=>Date[a0_0x54060a(0x1fb)](),'SELECT':({fieldInfo:_0x1cd2c9})=>{const _0x29eb2b=a0_0x54060a;if(_0x1cd2c9?.[_0x29eb2b(0x12c)]&&Array[_0x29eb2b(0x1bf)](_0x1cd2c9[_0x29eb2b(0x12c)])&&_0x1cd2c9[_0x29eb2b(0x12c)][_0x29eb2b(0x17f)]>0x0)return _0x1cd2c9['options'][0x0][_0x29eb2b(0x130)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x52eb5f})=>{const _0x26b8bb=a0_0x54060a;if(_0x52eb5f===_0x26b8bb(0x1ee))return 0x1;if(_0x52eb5f===_0x26b8bb(0x3a5))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x55aa40})=>{const _0xdf7126=a0_0x54060a;if(_0x55aa40&&typeof _0x55aa40===_0xdf7126(0x264)){const _0x43a4df=_0x55aa40[_0xdf7126(0x347)]();if(_0x43a4df[_0xdf7126(0x19f)]('邮箱')||_0x43a4df[_0xdf7126(0x19f)](_0xdf7126(0x20b)))return _0xdf7126(0x358);if(_0x43a4df[_0xdf7126(0x19f)]('电话')||_0x43a4df[_0xdf7126(0x19f)]('手机')||_0x43a4df[_0xdf7126(0x19f)]('phone'))return _0xdf7126(0x18c);if(_0x43a4df[_0xdf7126(0x19f)]('地址')||_0x43a4df[_0xdf7126(0x19f)](_0xdf7126(0x207)))return _0xdf7126(0x28e);if(_0x43a4df[_0xdf7126(0x19f)]('姓名')||_0x43a4df['includes'](_0xdf7126(0x175)))return'张三';}return _0xdf7126(0x3d3);},'VARCHAR':({description:_0x1d8cbb})=>TYPE_VALUE_GENERATORS[a0_0x54060a(0x384)]({'description':_0x1d8cbb}),'CHAR':({description:_0x1f2096})=>TYPE_VALUE_GENERATORS[a0_0x54060a(0x384)]({'description':_0x1f2096}),'STRING':({fieldInfo:_0x1b0e41,description:_0x24da30})=>{const _0xec0579=a0_0x54060a;if(_0x1b0e41?.['placeholder']&&typeof _0x1b0e41[_0xec0579(0x1de)]===_0xec0579(0x264)&&_0x1b0e41[_0xec0579(0x1de)]!==_0xec0579(0x346))return _0x1b0e41['placeholder'][_0xec0579(0x12f)](/^请输入|^请选择/,'');const _0x472bf6={};return _0x472bf6[_0xec0579(0x1ce)]=_0x24da30,TYPE_VALUE_GENERATORS['TEXT'](_0x472bf6);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x54060a(0x269),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x54060a(0x27d),'item2'],'UPLOAD':()=>a0_0x54060a(0x365),'IMAGE':()=>'https://example.com/image.jpg','RICH_TEXT':()=>a0_0x54060a(0x35d)};function generateExampleValue(_0x3acde6,_0x1267ea,_0xe7001c,_0x22007d={}){const _0x1ca51e=a0_0x54060a;typeof _0x3acde6!==_0x1ca51e(0x264)&&(!![]&&console[_0x1ca51e(0x178)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x3acde6),_0x3acde6=String(_0x3acde6||''));if(typeof _0x1267ea!=='string')return!![]&&console[_0x1ca51e(0x178)](_0x1ca51e(0x1f6),_0x1267ea),_0x1ca51e(0x289);const {isPrimaryKey:_0x198872,dbtableConfig:_0x4f80cf}=_0x22007d;if(_0x198872)return 0x1;if(_0x4f80cf&&typeof _0x4f80cf===_0x1ca51e(0x1ef)){const _0x45242c=_0x4f80cf['createTimeField']?.[_0x1ca51e(0x1dc)]===_0x3acde6,_0x2a4383=_0x4f80cf[_0x1ca51e(0x320)]?.[_0x1ca51e(0x1dc)]===_0x3acde6;if(_0x45242c||_0x2a4383){if(_0xe7001c&&typeof _0xe7001c===_0x1ca51e(0x264)&&_0xe7001c[_0x1ca51e(0x2f5)]()[_0x1ca51e(0x19f)](_0x1ca51e(0x1c6)))return Date['now']();return new Date()['toISOString']()['replace']('T','\x20')['split']('.')[0x0];}}const _0x308d6b={..._0x22007d};_0x308d6b['fieldCode']=_0x3acde6;const _0x149d33=_0x308d6b;if(_0xe7001c&&typeof _0xe7001c===_0x1ca51e(0x264)){const _0x564f28=_0xe7001c[_0x1ca51e(0x2f5)](),_0x5d5a9e=TYPE_VALUE_GENERATORS[_0x564f28];if(_0x5d5a9e)return _0x5d5a9e(_0x149d33);}if(_0x1267ea&&typeof _0x1267ea===_0x1ca51e(0x264)){const _0x56ed22=_0x1267ea['toUpperCase'](),_0x47ef51=TYPE_VALUE_GENERATORS[_0x56ed22];if(_0x47ef51)return _0x47ef51(_0x149d33);}return _0x1ca51e(0x289);}function generateExampleFromSchema(_0x186dc8,_0x505a4c){const _0x485690=a0_0x54060a;if(!_0x186dc8||typeof _0x186dc8!=='object')return{};if(Array[_0x485690(0x1bf)](_0x186dc8)){if(_0x186dc8[_0x485690(0x17f)]>0x0)return[generateExampleFromSchema(_0x186dc8[0x0],_0x505a4c)];return[];}const _0x2d730f={};return Object[_0x485690(0x2e3)](_0x186dc8)[_0x485690(0x290)](_0x6ece4d=>{const _0x9d8db1=_0x485690,_0x11ce2f=_0x186dc8[_0x6ece4d];if(_0x11ce2f&&typeof _0x11ce2f===_0x9d8db1(0x1ef)&&!Array[_0x9d8db1(0x1bf)](_0x11ce2f)&&_0x11ce2f[_0x9d8db1(0x1a2)]){const _0xc8e4b9=_0x11ce2f,_0x22514f=_0xc8e4b9['type'],_0x30c515=_0xc8e4b9[_0x9d8db1(0x1ce)];if(typeof _0x22514f===_0x9d8db1(0x264)){const _0x1af7b9={};_0x1af7b9[_0x9d8db1(0x1ce)]=_0x30c515,_0x1af7b9[_0x9d8db1(0x263)]=_0x505a4c,_0x2d730f[_0x6ece4d]=generateExampleValue(_0x6ece4d,_0x22514f,undefined,_0x1af7b9);}else _0x2d730f[_0x6ece4d]='示例值';}else{if(Array['isArray'](_0x11ce2f))_0x2d730f[_0x6ece4d]=_0x11ce2f[_0x9d8db1(0x17f)]>0x0?[generateExampleFromSchema(_0x11ce2f[0x0],_0x505a4c)]:[];else _0x11ce2f&&typeof _0x11ce2f===_0x9d8db1(0x1ef)?_0x2d730f[_0x6ece4d]=generateExampleFromSchema(_0x11ce2f,_0x505a4c):_0x2d730f[_0x6ece4d]=_0x11ce2f;}}),_0x2d730f;}function parseRequestBody(_0xc7b2a3){const _0x52b180=a0_0x54060a;if(!_0xc7b2a3)return{};try{return JSON[_0x52b180(0x359)](_0xc7b2a3);}catch(_0x537c2a){return!![]&&console[_0x52b180(0x178)]('解析\x20requestBody\x20失败:',_0x537c2a),{};}}function parseResponseBody(_0x19c67d){const _0x32c5ca=a0_0x54060a;if(!_0x19c67d)return null;try{const _0x3f593e=JSON[_0x32c5ca(0x359)](_0x19c67d);return _0x3f593e[_0x32c5ca(0x262)]||_0x3f593e;}catch(_0x16d3cd){return!![]&&console[_0x32c5ca(0x178)](_0x32c5ca(0x148),_0x16d3cd),null;}}function generateRequestExample(_0x1e1995,_0x4b1ff8,_0x47221a,_0x29cf9c){const _0x4ec7a2=a0_0x54060a,_0x314d74={};if(!Array[_0x4ec7a2(0x1bf)](_0x1e1995))return!![]&&console['warn']('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x1e1995),_0x314d74;return _0x1e1995[_0x4ec7a2(0x290)](_0x42ebdd=>{const _0x26e181=_0x4ec7a2;if(!_0x42ebdd||typeof _0x42ebdd!==_0x26e181(0x1ef)){!![]&&console[_0x26e181(0x178)](_0x26e181(0x341),_0x42ebdd);return;}if(typeof _0x42ebdd[_0x26e181(0x280)]!==_0x26e181(0x264)||typeof _0x42ebdd[_0x26e181(0x1a2)]!=='string'){!![]&&console[_0x26e181(0x178)](_0x26e181(0x258),_0x42ebdd);return;}const _0x304557=parseFieldExtend(_0x42ebdd),_0x368186=_0x42ebdd[_0x26e181(0x280)]===_0x47221a||Boolean(_0x304557?.[_0x26e181(0x217)]),_0x549f63=generateExampleValue(_0x42ebdd[_0x26e181(0x280)],_0x42ebdd[_0x26e181(0x1a2)],typeof _0x42ebdd[_0x26e181(0x2cb)]==='string'?_0x42ebdd[_0x26e181(0x2cb)]:undefined,{'fieldInfo':_0x304557,'isPrimaryKey':_0x368186,'description':_0x42ebdd['description']||_0x42ebdd['name'],'dbtableConfig':_0x29cf9c});_0x314d74[_0x42ebdd[_0x26e181(0x280)]]=_0x549f63;}),_0x4b1ff8===_0x4ec7a2(0x13b)&&(_0x314d74[_0x4ec7a2(0x1ee)]=0x1,_0x314d74[_0x4ec7a2(0x3a5)]=0xa),_0x314d74;}function formatEnumValue(_0x4fc64b,_0xa6b06b){const _0x3baf80=a0_0x54060a;if(_0x4fc64b[_0x3baf80(0x3ab)]&&Array[_0x3baf80(0x1bf)](_0xa6b06b))return _0xa6b06b[_0x3baf80(0x12b)](_0x6bd0bf=>_0x4fc64b[_0x3baf80(0x1f8)][String(_0x6bd0bf)]||String(_0x6bd0bf))[_0x3baf80(0x204)](',\x20');return _0x4fc64b[_0x3baf80(0x1f8)][String(_0xa6b06b)]||String(_0xa6b06b);}function formatOptionsForDoc(_0xce76bf){const _0x1648de=a0_0x54060a;return _0xce76bf[_0x1648de(0x12b)](_0x22fc8b=>_0x22fc8b[_0x1648de(0x130)]+'('+_0x22fc8b[_0x1648de(0x28a)]+')')[_0x1648de(0x204)](',\x20');}function formatOptionsAsMarkdownList(_0x556f71,_0x24e6ae=0x0){const _0x2df4c7=a0_0x54060a,_0x3f53aa='\x20\x20'[_0x2df4c7(0x2e4)](_0x24e6ae),_0x3da2b3=[];return _0x556f71[_0x2df4c7(0x290)](_0x385204=>{const _0x22f30c=_0x2df4c7;_0x3da2b3[_0x22f30c(0x30d)](_0x3f53aa+_0x22f30c(0x119)+_0x385204['value']+_0x22f30c(0x284)+_0x385204[_0x22f30c(0x28a)]),_0x385204[_0x22f30c(0x2a3)]&&_0x385204[_0x22f30c(0x2a3)]['length']>0x0&&_0x3da2b3['push'](formatOptionsAsMarkdownList(_0x385204[_0x22f30c(0x2a3)],_0x24e6ae+0x1));}),_0x3da2b3['join']('\x0a');}class DbtableConfig{[a0_0x54060a(0x394)];constructor(_0x1f547a){const _0x56d8be=a0_0x54060a,_0x1a9ccf={..._0x1f547a};this[_0x56d8be(0x394)]=_0x1a9ccf;}get['dbId'](){const _0x55e42e=a0_0x54060a;return this[_0x55e42e(0x394)][_0x55e42e(0x185)];}get['dbName'](){const _0x3eac4e=a0_0x54060a;return this[_0x3eac4e(0x394)]['dbName']??this['_raw'][_0x3eac4e(0x13a)]?.[_0x3eac4e(0x29a)];}get[a0_0x54060a(0x2f4)](){const _0x2a7ce6=a0_0x54060a;return this[_0x2a7ce6(0x394)][_0x2a7ce6(0x2f4)];}get[a0_0x54060a(0x1e7)](){const _0x597d9c=a0_0x54060a;return this['_raw'][_0x597d9c(0x1e7)];}get[a0_0x54060a(0x194)](){const _0x21e290=a0_0x54060a;return this[_0x21e290(0x394)][_0x21e290(0x194)];}get[a0_0x54060a(0x2da)](){const _0x471f17=a0_0x54060a;return this[_0x471f17(0x394)][_0x471f17(0x2da)];}get[a0_0x54060a(0x2e5)](){const _0x241ac8=a0_0x54060a;return this[_0x241ac8(0x394)][_0x241ac8(0x2e5)];}get[a0_0x54060a(0x376)](){const _0x553c36=a0_0x54060a;return this[_0x553c36(0x394)][_0x553c36(0x376)];}get['updateTimeField'](){const _0x55e8ef=a0_0x54060a;return this[_0x55e8ef(0x394)][_0x55e8ef(0x320)];}get[a0_0x54060a(0x2dd)](){const _0x23ca32=a0_0x54060a;return this[_0x23ca32(0x394)][_0x23ca32(0x2dd)];}get['creatorNameField'](){const _0x565869=a0_0x54060a;return this[_0x565869(0x394)][_0x565869(0x205)];}get[a0_0x54060a(0x1cc)](){const _0xb5bd00=a0_0x54060a;return this[_0xb5bd00(0x394)][_0xb5bd00(0x1cc)];}get[a0_0x54060a(0x127)](){const _0x5aba0d=a0_0x54060a;return this['_raw'][_0x5aba0d(0x127)];}get['dblinkInfoDTO'](){const _0x36b629=a0_0x54060a;return this[_0x36b629(0x394)][_0x36b629(0x13a)];}['getAllFieldsArray'](){const _0x179ea4=a0_0x54060a;if(!this[_0x179ea4(0x394)]['allFields'])return[];return this[_0x179ea4(0x394)][_0x179ea4(0x13f)][_0x179ea4(0x362)](',')[_0x179ea4(0x12b)](_0x36ac33=>_0x36ac33['trim']())[_0x179ea4(0x132)](Boolean);}[a0_0x54060a(0x163)](){const _0x6ad84b=a0_0x54060a;return this[_0x6ad84b(0x394)]['allFields'];}[a0_0x54060a(0x142)](_0x404e24){return this['getAllFieldsArray']()['includes'](_0x404e24);}[a0_0x54060a(0x38b)](){const _0x2ee544=a0_0x54060a;return Boolean(this[_0x2ee544(0x394)]['tableName']);}['hasDblinkInfo'](){const _0x9a3da0=a0_0x54060a;return Boolean(this['_raw'][_0x9a3da0(0x13a)]);}[a0_0x54060a(0x39e)](){const _0x27cb7d=a0_0x54060a;return Boolean(this[_0x27cb7d(0x394)]['logicField']?.[_0x27cb7d(0x1dc)]);}['hasCreateTimeField'](){const _0x352eab=a0_0x54060a;return Boolean(this[_0x352eab(0x394)]['createTimeField']?.[_0x352eab(0x1dc)]);}[a0_0x54060a(0x2be)](){const _0x3b33fc=a0_0x54060a;return Boolean(this[_0x3b33fc(0x394)][_0x3b33fc(0x320)]?.[_0x3b33fc(0x1dc)]);}[a0_0x54060a(0x38f)](){const _0x116cf4=a0_0x54060a;return Boolean(this[_0x116cf4(0x394)][_0x116cf4(0x2dd)]?.[_0x116cf4(0x1dc)]);}['hasModifierIdField'](){const _0xff94d7=a0_0x54060a;return Boolean(this[_0xff94d7(0x394)]['modifierIdField']?.[_0xff94d7(0x1dc)]);}[a0_0x54060a(0x2ed)](_0x59aafb){const _0x4b4df6=a0_0x54060a;return this[_0x4b4df6(0x394)][_0x4b4df6(0x194)]===_0x59aafb;}['isSystemField'](_0x2c3701){const _0x32f8ea=a0_0x54060a;return this[_0x32f8ea(0x2ed)](_0x2c3701)||this[_0x32f8ea(0x394)][_0x32f8ea(0x2e5)]?.[_0x32f8ea(0x1dc)]===_0x2c3701||this[_0x32f8ea(0x394)][_0x32f8ea(0x376)]?.[_0x32f8ea(0x1dc)]===_0x2c3701||this[_0x32f8ea(0x394)][_0x32f8ea(0x320)]?.['fieldName']===_0x2c3701||this['_raw']['creatorIdField']?.[_0x32f8ea(0x1dc)]===_0x2c3701||this['_raw']['creatorNameField']?.[_0x32f8ea(0x1dc)]===_0x2c3701||this['_raw'][_0x32f8ea(0x1cc)]?.[_0x32f8ea(0x1dc)]===_0x2c3701||this[_0x32f8ea(0x394)][_0x32f8ea(0x127)]?.[_0x32f8ea(0x1dc)]===_0x2c3701;}['getDatabaseName'](){const _0x33b1f1=a0_0x54060a;return this['_raw']['dblinkInfoDTO']?.[_0x33b1f1(0x29a)];}[a0_0x54060a(0x209)](){const _0x1af7a2=a0_0x54060a;return this[_0x1af7a2(0x394)][_0x1af7a2(0x13a)]?.[_0x1af7a2(0x2cb)];}[a0_0x54060a(0x31b)](){const _0x3767bd=a0_0x54060a;return this[_0x3767bd(0x394)][_0x3767bd(0x13a)]?.[_0x3767bd(0x1fe)];}[a0_0x54060a(0x176)](){const _0x27fdd5=a0_0x54060a;return this['_raw'][_0x27fdd5(0x13a)]?.[_0x27fdd5(0x133)];}[a0_0x54060a(0x223)](){const _0x151e11=a0_0x54060a;return this[_0x151e11(0x394)][_0x151e11(0x13a)]?.[_0x151e11(0x1d7)];}[a0_0x54060a(0x140)](){const _0x197821=a0_0x54060a;return this[_0x197821(0x394)][_0x197821(0x13a)]?.[_0x197821(0x1eb)];}[a0_0x54060a(0x277)](){const _0x3145ba=a0_0x54060a;return{'hasTableName':this[_0x3145ba(0x38b)](),'hasDblinkInfo':this[_0x3145ba(0x23c)](),'fieldCount':this[_0x3145ba(0x203)]()[_0x3145ba(0x17f)],'systemFields':{'hasLogicField':this[_0x3145ba(0x39e)](),'hasCreateTimeField':this[_0x3145ba(0x1fd)](),'hasUpdateTimeField':this[_0x3145ba(0x2be)](),'hasCreatorIdField':this[_0x3145ba(0x38f)](),'hasModifierIdField':this[_0x3145ba(0x286)]()}};}[a0_0x54060a(0x231)](){const _0x29178f=a0_0x54060a,_0x5af47c={};return _0x5af47c[_0x29178f(0x2f4)]=this[_0x29178f(0x2f4)],_0x5af47c['pkField']=this[_0x29178f(0x194)],_0x5af47c[_0x29178f(0x1e7)]=this[_0x29178f(0x1e7)],_0x5af47c[_0x29178f(0x185)]=this[_0x29178f(0x185)],_0x5af47c;}[a0_0x54060a(0x252)](){const _0x7d89e=a0_0x54060a,_0x1ff006={...this[_0x7d89e(0x394)]};return _0x1ff006;}[a0_0x54060a(0x126)](){const _0x4207ab={...this['_raw']};return _0x4207ab;}[a0_0x54060a(0x16e)](){const _0x1c7e2e=a0_0x54060a,_0x15340f=this[_0x1c7e2e(0x2f4)]||_0x1c7e2e(0x137),_0x33f747=this['getAllFieldsArray']()[_0x1c7e2e(0x17f)];return _0x1c7e2e(0x261)+_0x15340f+_0x1c7e2e(0x3b3)+_0x33f747+')';}static[a0_0x54060a(0x2a0)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x54060a(0x394)];constructor(_0x267705){const _0x40059b=a0_0x54060a,_0x59f344=_0x267705[_0x40059b(0x355)]||_0x267705['code']||_0x267705[_0x40059b(0x2a2)],_0x344d0b={..._0x267705};_0x344d0b[_0x40059b(0x355)]=_0x59f344,this[_0x40059b(0x394)]=_0x344d0b;}get['id'](){const _0x461f7b=a0_0x54060a;return this[_0x461f7b(0x394)]['id'];}get[a0_0x54060a(0x175)](){const _0x352c97=a0_0x54060a;return this[_0x352c97(0x394)][_0x352c97(0x175)];}[a0_0x54060a(0x247)](){return this['name'];}get[a0_0x54060a(0x355)](){const _0x522324=a0_0x54060a;return this[_0x522324(0x394)]['datasetCode']||'';}get[a0_0x54060a(0x263)](){const _0x377364=a0_0x54060a;if(!this['_raw']['dbtableConfig'])return null;return new DbtableConfig(this['_raw'][_0x377364(0x263)]);}['getRawDbtableConfig'](){const _0x42941a=a0_0x54060a;return this['_raw'][_0x42941a(0x263)];}[a0_0x54060a(0x2ff)](){const _0x2dfe05=a0_0x54060a;return this[_0x2dfe05(0x263)]?.[_0x2dfe05(0x29a)]||'';}[a0_0x54060a(0x2f2)](){const _0x2f9d92=a0_0x54060a;return getTableName(this[_0x2f9d92(0x394)]);}['getTableKey'](){const _0x120199=a0_0x54060a;return getTableKey(this[_0x120199(0x2f2)]());}[a0_0x54060a(0x1e8)](){return generateModelKeyFromCode(this['datasetCode']);}['isVirtualTable'](){const _0x1aebca=a0_0x54060a;return isVirtualTableName(this[_0x1aebca(0x2f2)]());}[a0_0x54060a(0x259)](){const _0x547340=a0_0x54060a;return getTableKey(this[_0x547340(0x2f2)]());}[a0_0x54060a(0x231)](){const _0x8eb17d=a0_0x54060a,_0xf8aaa=getTableKey(this[_0x8eb17d(0x2f2)]());return{'key':_0xf8aaa,'alias':_0xf8aaa,'tableName':this[_0x8eb17d(0x2f2)](),'datasetCode':this[_0x8eb17d(0x355)],'name':this[_0x8eb17d(0x175)]};}[a0_0x54060a(0x252)](){const _0x25fd4f=a0_0x54060a,_0x51009e={...this[_0x25fd4f(0x394)]};return _0x51009e['datasetCode']=this[_0x25fd4f(0x355)],_0x51009e;}['getRaw'](){const _0x52ef91={...this['_raw']};return _0x52ef91;}[a0_0x54060a(0x282)](){const _0x1c19d5=a0_0x54060a,_0xa34732=this['dbtableConfig'];return _0xa34732!==null&&_0xa34732[_0x1c19d5(0x38b)]();}[a0_0x54060a(0x19c)](_0x27d269){const _0x4e6925=a0_0x54060a;return this[_0x4e6925(0x394)][_0x27d269];}['hasExtendField'](_0x4712d6){const _0x22e1d2=a0_0x54060a;return _0x4712d6 in this[_0x22e1d2(0x394)];}['toString'](){const _0x564fcc=a0_0x54060a;return _0x564fcc(0x1d6)+this[_0x564fcc(0x175)]+',\x20'+this[_0x564fcc(0x355)]+')';}}class Operation{['name'];[a0_0x54060a(0x394)];[a0_0x54060a(0x2ee)];constructor(_0x15dd8a,_0x453e0b,_0x147c12){const _0x43b13a=a0_0x54060a;this[_0x43b13a(0x175)]=_0x15dd8a,this[_0x43b13a(0x394)]=_0x453e0b,this[_0x43b13a(0x2ee)]=_0x147c12;}['getName'](){const _0x343d58=a0_0x54060a;return this[_0x343d58(0x175)];}[a0_0x54060a(0x390)](){const _0x967d14=a0_0x54060a;return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this[_0x967d14(0x175)];}[a0_0x54060a(0x1c2)](){return parseOperationType(this['name']);}['isEnabled'](){const _0x3ad911=a0_0x54060a;return this[_0x3ad911(0x394)]!==null&&this[_0x3ad911(0x394)]!==![];}[a0_0x54060a(0x2de)](){const _0x5d3cbd=a0_0x54060a,_0x4f4fd8=this[_0x5d3cbd(0x394)];if(_0x4f4fd8===![]||_0x4f4fd8===null)return'';return _0x4f4fd8[_0x5d3cbd(0x375)]||_0x5d3cbd(0x182);}[a0_0x54060a(0x25b)](){const _0x2d7316=a0_0x54060a,_0x31f50b=this[_0x2d7316(0x394)];if(_0x31f50b===![]||_0x31f50b===null)return'';return _0x31f50b[_0x2d7316(0x15d)]||'';}['getFullUrl'](){const _0x280025=a0_0x54060a,_0x9fdbfe=this[_0x280025(0x394)];let _0x1c0180='';_0x9fdbfe!==![]&&_0x9fdbfe!==null&&_0x9fdbfe[_0x280025(0x201)]&&(_0x1c0180=_0x9fdbfe[_0x280025(0x201)]);const _0x58cb76=this[_0x280025(0x25b)]();return _0x1c0180&&_0x58cb76?''+_0x1c0180+_0x58cb76:_0x58cb76;}['parseRawRequestBody'](){const _0x34a98a=a0_0x54060a,_0xb205ca=this[_0x34a98a(0x394)];if(_0xb205ca===![]||_0xb205ca===null||!_0xb205ca[_0x34a98a(0x360)])return{};try{return JSON[_0x34a98a(0x359)](_0xb205ca[_0x34a98a(0x360)]);}catch{return{};}}['parseRawResponseBody'](){const _0x427bf0=a0_0x54060a,_0x33456d=this['_raw'];if(_0x33456d===![]||_0x33456d===null||!_0x33456d['responseBody'])return null;try{return JSON[_0x427bf0(0x359)](_0x33456d[_0x427bf0(0x1be)]);}catch{return null;}}[a0_0x54060a(0x171)](){const _0x226d62=a0_0x54060a;return this[_0x226d62(0x2d8)]();}['getResponseSchema'](){const _0xe88fa2=a0_0x54060a;return this[_0xe88fa2(0x339)]();}[a0_0x54060a(0x388)](){const _0x53a72a=a0_0x54060a,_0x4e88fb=this[_0x53a72a(0x171)]();return Object[_0x53a72a(0x2e3)](_0x4e88fb);}['generateRequestExample'](){const _0x43b024=a0_0x54060a,_0x9fbcc6=this[_0x43b024(0x171)](),_0x271529={};return Object[_0x43b024(0x2aa)](_0x9fbcc6)[_0x43b024(0x290)](([_0x57af93,_0x213160])=>{const _0x57f61=_0x43b024,_0x547c72=_0x213160;_0x271529[_0x57af93]=generateExampleValue(_0x57af93,_0x547c72[_0x57f61(0x1a2)]||_0x57f61(0x243),undefined,{'description':_0x547c72[_0x57f61(0x1ce)]});}),_0x271529;}['generateHTTPExample'](){const _0x21469a=a0_0x54060a;return this[_0x21469a(0x3cc)]();}[a0_0x54060a(0x379)](){const _0x29874b=a0_0x54060a,_0x45759b=this['parseRawResponseBody']();if(!_0x45759b){const _0x486225={};return _0x486225['success']=!![],_0x486225[_0x29874b(0x1f1)]=_0x29874b(0x2c2),_0x486225[_0x29874b(0x2b6)]='',_0x486225[_0x29874b(0x2b5)]=_0x29874b(0x227),_0x486225[_0x29874b(0x1e0)]=null,_0x486225;}return this[_0x29874b(0x196)](_0x45759b);}[a0_0x54060a(0x196)](_0x76836c){const _0x75d7cc=a0_0x54060a;if(!_0x76836c||typeof _0x76836c!==_0x75d7cc(0x1ef))return{};if(Array[_0x75d7cc(0x1bf)](_0x76836c))return _0x76836c[_0x75d7cc(0x17f)]>0x0?[this[_0x75d7cc(0x196)](_0x76836c[0x0])]:[];const _0x2ca224={};for(const [_0x349456,_0x367235]of Object[_0x75d7cc(0x2aa)](_0x76836c)){if(_0x367235&&typeof _0x367235===_0x75d7cc(0x1ef)&&!Array['isArray'](_0x367235)){const _0x15f2ee=_0x367235;_0x2ca224[_0x349456]=generateExampleValue(_0x349456,_0x15f2ee[_0x75d7cc(0x1a2)]||'String',undefined,{'description':_0x15f2ee['description']});}else Array[_0x75d7cc(0x1bf)](_0x367235)?_0x2ca224[_0x349456]=_0x367235[_0x75d7cc(0x17f)]>0x0?[this[_0x75d7cc(0x196)](_0x367235[0x0])]:[]:_0x2ca224[_0x349456]=_0x367235;}return _0x2ca224;}[a0_0x54060a(0x16f)](_0x14d854,_0x187d8b,_0x3fa975,_0x2afb22){return generateExampleValue(_0x14d854,_0x187d8b,_0x3fa975,_0x2afb22);}[a0_0x54060a(0x177)](_0x260d5d,_0x17efc9){const _0x222bb3=a0_0x54060a,_0x55bb97=this[_0x222bb3(0x247)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x260d5d+'.'+_0x55bb97+_0x222bb3(0x30e);}['generateUsageExample'](_0x100995){const _0x28ec9f=a0_0x54060a,_0x2e3ad2=this[_0x28ec9f(0x247)](),_0x43fd18=_0x100995||_0x28ec9f(0x32d),_0x111370={};return _0x111370[_0x28ec9f(0x281)]=_0x28ec9f(0x2bf)+_0x43fd18+'.'+_0x2e3ad2+_0x28ec9f(0x30e),_0x111370['errorCode']=_0x28ec9f(0x23b)+_0x43fd18+'.'+_0x2e3ad2+_0x28ec9f(0x1c8),_0x111370;}[a0_0x54060a(0x21f)](){const _0x517a92=a0_0x54060a,_0xd13ce2=this['getRequestParams'](),_0x38f6c9=Object[_0x517a92(0x2aa)](_0xd13ce2)[_0x517a92(0x12b)](([_0x4984fa,_0x4bc34])=>{const _0x3ae77d=_0x517a92,_0x43a741=_0x4bc34,_0x3b819f={};return _0x3b819f[_0x3ae77d(0x175)]=_0x4984fa,_0x3b819f[_0x3ae77d(0x1a2)]=_0x43a741[_0x3ae77d(0x1a2)]||_0x3ae77d(0x243),_0x3b819f[_0x3ae77d(0x1ce)]=_0x43a741[_0x3ae77d(0x1ce)]||'-',_0x3b819f[_0x3ae77d(0x17b)]=_0x43a741[_0x3ae77d(0x17b)],_0x3b819f;}),_0x3708be={};return _0x3708be['params']=_0x38f6c9,_0x3708be;}[a0_0x54060a(0x1cd)](){const _0x9fcd7c=a0_0x54060a,_0x4f5951=this['parseRawResponseBody']();if(!_0x4f5951){const _0x5a7101={};return _0x5a7101[_0x9fcd7c(0x33a)]=[],_0x5a7101;}const _0x2e983b=Object[_0x9fcd7c(0x2aa)](_0x4f5951)[_0x9fcd7c(0x12b)](([_0x24a867,_0x26e917])=>{const _0x368bae=_0x9fcd7c,_0x4bf7f9=_0x26e917,_0x4cc315={};return _0x4cc315[_0x368bae(0x175)]=_0x24a867,_0x4cc315['type']=_0x4bf7f9[_0x368bae(0x1a2)]||_0x368bae(0x243),_0x4cc315[_0x368bae(0x1ce)]=_0x4bf7f9[_0x368bae(0x1ce)]||'-',_0x4cc315;}),_0x3e7f0f={};return _0x3e7f0f['params']=_0x2e983b,_0x3e7f0f;}[a0_0x54060a(0x336)](){return[];}[a0_0x54060a(0x324)](){const _0x3533fb=a0_0x54060a;return this[_0x3533fb(0x2ee)][_0x3533fb(0x2ae)]||[];}[a0_0x54060a(0x38d)](){return{'systemFields':this['getSystemFields'](),'businessFields':this['getBusinessFields']()};}[a0_0x54060a(0x39f)](_0x2f8bb4){const _0x4dd211=a0_0x54060a;return this[_0x4dd211(0x2ee)][_0x4dd211(0x2ae)]['find'](_0x259589=>_0x259589?.[_0x4dd211(0x280)]===_0x2f8bb4);}[a0_0x54060a(0x135)](_0x3e4b02){const _0x234b32=a0_0x54060a;return _0x3e4b02[_0x234b32(0x280)];}[a0_0x54060a(0x3c2)](_0x5ec7e9){const _0x42ee1b=a0_0x54060a;return _0x5ec7e9[_0x42ee1b(0x1a2)];}['getFieldDisplayName'](_0x38b957){const _0x32b9f5=a0_0x54060a;return _0x38b957[_0x32b9f5(0x175)];}[a0_0x54060a(0x164)](_0x3fad40){const _0x4fa495=a0_0x54060a;return _0x3fad40[_0x4fa495(0x1ce)];}[a0_0x54060a(0x181)](_0x187b00){const _0x4b6228=a0_0x54060a;return _0x187b00[_0x4b6228(0x342)]()||null;}[a0_0x54060a(0x28b)](_0x1423ad){const _0x54ec05=a0_0x54060a;return _0x1423ad[_0x54ec05(0x350)]();}[a0_0x54060a(0x13d)](){return[];}['getFieldOperators'](_0x1d480f){return[];}[a0_0x54060a(0x252)](){const _0x429f61=a0_0x54060a;return{'name':this[_0x429f61(0x247)](),'displayName':this[_0x429f61(0x390)](),'type':this[_0x429f61(0x1c2)](),'enabled':this[_0x429f61(0x352)](),'method':this['getMethod'](),'path':this[_0x429f61(0x25b)](),'fullUrl':this[_0x429f61(0x33f)](),'requestParams':this['getRequestParams'](),'requestExample':this[_0x429f61(0x3cc)](),'responseExample':this[_0x429f61(0x379)]()};}['toString'](){const _0x32aa61=a0_0x54060a,_0x17674c=this[_0x32aa61(0x352)]()?'启用':'禁用';return this[_0x32aa61(0x390)]()+'('+this[_0x32aa61(0x175)]+',\x20'+_0x17674c+')';}}class GenericOperation extends Operation{[a0_0x54060a(0x26b)];[a0_0x54060a(0x171)](){const _0x50b7cb=a0_0x54060a;return this[_0x50b7cb(0x2d8)]();}[a0_0x54060a(0x2ef)](){const _0x37aeb8=a0_0x54060a;return this[_0x37aeb8(0x339)]();}[a0_0x54060a(0x3cc)](){const _0x125b05=a0_0x54060a;if(this['_requestExampleCache'])return this[_0x125b05(0x26b)];const _0xb8947a={},_0x2fc7ce=this[_0x125b05(0x171)](),_0x33e56f=this[_0x125b05(0x1c2)]();if(Object[_0x125b05(0x2e3)](_0x2fc7ce)[_0x125b05(0x17f)]===0x0&&_0x33e56f){const _0x2b41e8=this['getBusinessFields']();return _0x2b41e8[_0x125b05(0x290)](_0x260fa5=>{const _0x1c7acd=_0x125b05,_0x355311=_0x260fa5[_0x1c7acd(0x280)],_0x5a4c78=_0x260fa5['type'],_0x4a509e=this[_0x1c7acd(0x16f)](_0x355311,_0x5a4c78,_0x260fa5[_0x1c7acd(0x238)](),{'isPrimaryKey':_0x260fa5['isPrimaryKey'](),'description':_0x260fa5['description']||_0x260fa5[_0x1c7acd(0x175)]});_0xb8947a[_0x355311]=_0x4a509e;}),this[_0x125b05(0x26b)]=_0xb8947a,_0xb8947a;}return Object[_0x125b05(0x2aa)](_0x2fc7ce)['forEach'](([_0x236c09,_0x4c2184])=>{const _0x352a73=_0x125b05,_0x17e7a9=_0x4c2184;let _0x4be101;if(typeof _0x17e7a9[_0x352a73(0x1a2)]===_0x352a73(0x264))_0x4be101=_0x17e7a9[_0x352a73(0x1a2)];else _0x17e7a9[_0x352a73(0x1a2)]&&typeof _0x17e7a9[_0x352a73(0x1a2)]===_0x352a73(0x1ef)?_0x4be101=_0x17e7a9[_0x352a73(0x1a2)][_0x352a73(0x1a2)]||_0x352a73(0x384):_0x4be101='TEXT';const _0xb167a7=_0x17e7a9['description'],_0x3217a9=this[_0x352a73(0x39f)](_0x236c09);if(_0x236c09===_0x352a73(0x1ee))_0xb8947a[_0x236c09]=0x1;else{if(_0x236c09==='pageSize')_0xb8947a[_0x236c09]=0xa;else{if(_0x236c09==='id')_0xb8947a[_0x236c09]=0x1;else{const _0x3ac6b6=_0x3217a9?_0x3217a9[_0x352a73(0x238)]():undefined,_0x4a7dee=_0x3217a9?_0x3217a9['description']:undefined,_0x3aabc5=_0x3217a9?_0x3217a9[_0x352a73(0x175)]:undefined;_0xb8947a[_0x236c09]=this['generateFieldExample'](_0x236c09,_0x4be101,_0x3ac6b6||undefined,{'isPrimaryKey':_0x236c09===this[_0x352a73(0x2ee)][_0x352a73(0x194)]||_0x236c09==='id','description':_0xb167a7||_0x4a7dee||_0x3aabc5});}}}}),this[_0x125b05(0x26b)]=_0xb8947a,_0xb8947a;}[a0_0x54060a(0x379)](){const _0x3d96c4=a0_0x54060a,_0x171df0=this[_0x3d96c4(0x2ef)]();if(!_0x171df0){const _0xce1e58={};return _0xce1e58[_0x3d96c4(0x1f2)]=!![],_0xce1e58['msg']=_0x3d96c4(0x2c2),_0xce1e58['errorMsg']='',_0xce1e58[_0x3d96c4(0x2b5)]=_0x3d96c4(0x227),_0xce1e58[_0x3d96c4(0x1e0)]=null,_0xce1e58;}return this[_0x3d96c4(0x196)](_0x171df0);}[a0_0x54060a(0x196)](_0x4b51a2){const _0x291654=a0_0x54060a;if(!_0x4b51a2||typeof _0x4b51a2!==_0x291654(0x1ef))return{};if(Array[_0x291654(0x1bf)](_0x4b51a2)){if(_0x4b51a2['length']>0x0)return[this['generateFromSchema'](_0x4b51a2[0x0])];return[];}const _0x1302ff={};return Object['keys'](_0x4b51a2)[_0x291654(0x290)](_0x4da5bf=>{const _0x43277f=_0x291654,_0x13c163=_0x4b51a2[_0x4da5bf];if(_0x13c163&&typeof _0x13c163===_0x43277f(0x1ef)&&!Array['isArray'](_0x13c163)&&_0x13c163[_0x43277f(0x1a2)]){const _0x295b24=_0x13c163;let _0x350ddd;if(typeof _0x295b24[_0x43277f(0x1a2)]===_0x43277f(0x264))_0x350ddd=_0x295b24[_0x43277f(0x1a2)];else _0x295b24['type']&&typeof _0x295b24[_0x43277f(0x1a2)]==='object'?_0x350ddd=_0x295b24['type'][_0x43277f(0x1a2)]||'TEXT':_0x350ddd='TEXT';const _0x19813c=_0x295b24['description'],_0x781a54={};_0x781a54[_0x43277f(0x1ce)]=_0x19813c,_0x1302ff[_0x4da5bf]=this['generateFieldExample'](_0x4da5bf,_0x350ddd,undefined,_0x781a54);}else{if(Array['isArray'](_0x13c163))_0x1302ff[_0x4da5bf]=_0x13c163[_0x43277f(0x17f)]>0x0?[this[_0x43277f(0x196)](_0x13c163[0x0])]:[];else _0x13c163&&typeof _0x13c163==='object'?_0x1302ff[_0x4da5bf]=this['generateFromSchema'](_0x13c163):_0x1302ff[_0x4da5bf]=_0x13c163;}}),_0x1302ff;}[a0_0x54060a(0x177)](_0x5b82f6,_0x3543a3){const _0x52ef4a=a0_0x54060a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3543a3||{},_0x5a11c8=this[_0x52ef4a(0x247)](),_0xdb571=this[_0x52ef4a(0x1c2)](),_0x62f785=this[_0x52ef4a(0x388)](),_0xf7519a=this[_0x52ef4a(0x3cc)](),_0x1ea314=_0x523b2c=>{const _0xb537ed=_0x52ef4a;if(Object[_0xb537ed(0x2e3)](_0x523b2c)[_0xb537ed(0x17f)]===0x0)return'{}';const _0xb9251c=JSON[_0xb537ed(0x14a)](_0x523b2c,null,0x2)[_0xb537ed(0x362)]('\x0a')[_0xb537ed(0x12b)]((_0x145233,_0x4301b3)=>_0x4301b3===0x0?_0x145233:indent+_0x145233)[_0xb537ed(0x204)]('\x0a');return _0xb9251c;};switch(_0xdb571){case _0x52ef4a(0x15f):case _0x52ef4a(0x253):return _0x52ef4a(0x21a)+_0x5b82f6+'.'+_0x5a11c8+_0x52ef4a(0x276);case _0x52ef4a(0x1aa):if(useFullExample&&Object[_0x52ef4a(0x2e3)](_0xf7519a)[_0x52ef4a(0x17f)]>0x0)return _0x52ef4a(0x21a)+_0x5b82f6+'.'+_0x5a11c8+_0x52ef4a(0x245)+_0x1ea314(_0xf7519a)+');';return _0x52ef4a(0x21a)+_0x5b82f6+'.'+_0x5a11c8+_0x52ef4a(0x249);case _0x52ef4a(0x239):case _0x52ef4a(0x13b):case _0x52ef4a(0x3ac):default:if(_0x62f785['length']>0x0){if(useFullExample&&Object[_0x52ef4a(0x2e3)](_0xf7519a)[_0x52ef4a(0x17f)]>0x0)return _0x52ef4a(0x21a)+_0x5b82f6+'.'+_0x5a11c8+'('+_0x1ea314(_0xf7519a)+');';else{const _0x1fc2f7=Object[_0x52ef4a(0x2e3)](_0xf7519a);if(_0x1fc2f7['length']>0x0){const _0x305226=_0x1fc2f7['slice'](0x0,0x2)['join'](',\x20');return'const\x20result\x20=\x20await\x20client.models.'+_0x5b82f6+'.'+_0x5a11c8+_0x52ef4a(0x327)+_0x305226+_0x52ef4a(0x1d0);}else return'const\x20result\x20=\x20await\x20client.models.'+_0x5b82f6+'.'+_0x5a11c8+_0x52ef4a(0x392);}}else return _0x52ef4a(0x21a)+_0x5b82f6+'.'+_0x5a11c8+_0x52ef4a(0x30e);}}[a0_0x54060a(0x16d)](){const _0x1f3656=a0_0x54060a;return[{'title':_0x1f3656(0x3ae),'data':this[_0x1f3656(0x3cc)]()}];}[a0_0x54060a(0x336)](){const _0xbfec8b=a0_0x54060a,_0x549d3e=this[_0xbfec8b(0x1c2)](),_0x28f66a=[];switch(_0x549d3e){case _0xbfec8b(0x15f):case _0xbfec8b(0x253):const _0x3da486={};_0x3da486[_0xbfec8b(0x280)]='id',_0x3da486[_0xbfec8b(0x1a2)]='NUMBER',_0x3da486[_0xbfec8b(0x1ce)]=_0xbfec8b(0x328),_0x28f66a[_0xbfec8b(0x30d)](_0x3da486);break;case _0xbfec8b(0x13b):const _0xb94f1a={};_0xb94f1a[_0xbfec8b(0x280)]=_0xbfec8b(0x1ee),_0xb94f1a[_0xbfec8b(0x1a2)]=_0xbfec8b(0x313),_0xb94f1a[_0xbfec8b(0x1ce)]=_0xbfec8b(0x1b9);const _0x5b7272={};_0x5b7272[_0xbfec8b(0x280)]='pageSize',_0x5b7272[_0xbfec8b(0x1a2)]=_0xbfec8b(0x313),_0x5b7272[_0xbfec8b(0x1ce)]=_0xbfec8b(0x361),_0x28f66a[_0xbfec8b(0x30d)](_0xb94f1a,_0x5b7272);break;case'getSelectOptions':const _0x222134={};_0x222134['code']=_0xbfec8b(0x280),_0x222134[_0xbfec8b(0x1a2)]=_0xbfec8b(0x3b8),_0x222134[_0xbfec8b(0x1ce)]=_0xbfec8b(0x1a9),_0x28f66a[_0xbfec8b(0x30d)](_0x222134);break;default:break;}return _0x28f66a;}[a0_0x54060a(0x324)](){const _0x551f03=a0_0x54060a,_0x2d9f72=this['getType'](),_0x4be2b8=this[_0x551f03(0x2ee)][_0x551f03(0x2ae)]||[];switch(_0x2d9f72){case _0x551f03(0x15f):case _0x551f03(0x253):return[];case _0x551f03(0x239):return _0x4be2b8[_0x551f03(0x132)](_0x1c01e0=>{const _0x5f5dea=_0x551f03;if(_0x1c01e0[_0x5f5dea(0x391)])return![];if(_0x1c01e0['isPrimaryKey']()&&_0x1c01e0['isAutoIncrement']())return![];if(_0x1c01e0[_0x5f5dea(0x22c)]())return![];if(_0x1c01e0[_0x5f5dea(0x1f4)]()||_0x1c01e0[_0x5f5dea(0x195)]())return![];return!![];});case _0x551f03(0x1aa):return _0x4be2b8[_0x551f03(0x132)](_0x1cfe00=>{const _0x4f6a46=_0x551f03;if(_0x1cfe00[_0x4f6a46(0x391)])return![];if(_0x1cfe00['isPrimaryKey']())return![];if(_0x1cfe00[_0x4f6a46(0x22c)]())return![];if(_0x1cfe00[_0x4f6a46(0x1f4)]()||_0x1cfe00['isUpdateTime']())return![];if(_0x1cfe00[_0x4f6a46(0x331)]())return![];return!![];});case _0x551f03(0x13b):case _0x551f03(0x3ac):return _0x4be2b8['filter'](_0x573332=>!_0x573332[_0x551f03(0x391)]&&_0x573332['isBusiness']());default:return _0x4be2b8['filter'](_0x2e7baa=>!_0x2e7baa[_0x551f03(0x391)]&&_0x2e7baa['isBusiness']());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x54060a(0x171)](){const _0x1253f0=a0_0x54060a,_0x749bac=super[_0x1253f0(0x171)](),_0x4fa1ae=Object['keys'](_0x749bac);if(_0x4fa1ae[_0x1253f0(0x17f)]===0x0||_0x4fa1ae[_0x1253f0(0x17f)]===0x1&&_0x4fa1ae[0x0]===_0x1253f0(0x280)){if(!_0x749bac[_0x1253f0(0x280)]){const _0x33badc={};_0x33badc['type']=_0x1253f0(0x243),_0x33badc[_0x1253f0(0x1ce)]='字段编码',_0x749bac[_0x1253f0(0x280)]=_0x33badc;}const _0x1d9c6e={};_0x1d9c6e['type']=_0x1253f0(0x243),_0x1d9c6e['description']=_0x1253f0(0x1e5),_0x749bac['label']=_0x1d9c6e;}return _0x749bac;}[a0_0x54060a(0x324)](){return[];}[a0_0x54060a(0x336)](){const _0x524bd2=a0_0x54060a,_0xa11c8e={};_0xa11c8e[_0x524bd2(0x280)]='code',_0xa11c8e[_0x524bd2(0x1a2)]=_0x524bd2(0x243),_0xa11c8e[_0x524bd2(0x1ce)]=_0x524bd2(0x396);const _0xdd02d5={};return _0xdd02d5[_0x524bd2(0x280)]='label',_0xdd02d5[_0x524bd2(0x1a2)]='String',_0xdd02d5[_0x524bd2(0x1ce)]=_0x524bd2(0x1e5),[_0xa11c8e,_0xdd02d5];}['generateRequestExample'](){const _0x5128ea=a0_0x54060a,_0x3ca4c1={};return _0x3ca4c1[_0x5128ea(0x280)]=_0x5128ea(0x1af),_0x3ca4c1[_0x5128ea(0x28a)]=_0x5128ea(0x1af),_0x3ca4c1;}[a0_0x54060a(0x177)](_0x50ee8e){const _0x2f794c=a0_0x54060a,_0x5e3af0=this['getName']();return _0x2f794c(0x21a)+_0x50ee8e+'.'+_0x5e3af0+_0x2f794c(0x202);}}class GetListOperation extends GenericOperation{[a0_0x54060a(0x171)](){const _0x530ecb=a0_0x54060a,_0x3ca46f=super[_0x530ecb(0x171)](),{currentPage:_0x3c92a6,pageSize:_0x4c9da8,..._0x37fc4b}=_0x3ca46f,_0x1f766f={};Object['entries'](_0x37fc4b)['forEach'](([_0x3fa002,_0x31e3f5])=>{const _0x330666=_0x530ecb;if(typeof _0x31e3f5==='object'&&_0x31e3f5!==null){const _0x1edca1=_0x31e3f5,_0x3329ec=_0x1edca1[_0x330666(0x1ce)]||'',_0x19e485={..._0x1edca1};_0x19e485[_0x330666(0x1ce)]=_0x3329ec?_0x3329ec+_0x330666(0x15e):_0x330666(0x232),_0x1f766f[_0x3fa002]=_0x19e485;}else _0x1f766f[_0x3fa002]=_0x31e3f5;});const _0xea223={...typeof _0x3c92a6===_0x530ecb(0x1ef)?_0x3c92a6:{}};_0xea223[_0x530ecb(0x1a2)]='Number',_0xea223[_0x530ecb(0x1ce)]=_0x530ecb(0x1b9);const _0xf9c45b={...typeof _0x4c9da8==='object'?_0x4c9da8:{}};_0xf9c45b[_0x530ecb(0x1a2)]=_0x530ecb(0x30a),_0xf9c45b['description']='每页数量';const _0x3159c4={..._0x1f766f};return _0x3159c4[_0x530ecb(0x1ee)]=_0xea223,_0x3159c4[_0x530ecb(0x3a5)]=_0xf9c45b,_0x3159c4;}['generateRequestExample'](_0x185232){const _0x20e946=a0_0x54060a,{useArrayValues:useArrayValues=!![]}=_0x185232||{},_0x2cf027=super[_0x20e946(0x3cc)](),{currentPage:_0xe925c0,pageSize:_0x3b4cff,..._0x332d6f}=_0x2cf027;if(!useArrayValues){const _0x5e1cee={..._0x332d6f};return _0x5e1cee['currentPage']=_0xe925c0??0x1,_0x5e1cee[_0x20e946(0x3a5)]=_0x3b4cff??0xa,_0x5e1cee;}const _0x2e69ae={},_0x1aee5a=['id','status','code','type'];Object['entries'](_0x332d6f)[_0x20e946(0x290)](([_0x3b95fb,_0x4348a5],_0x381249)=>{const _0x9aa171=_0x20e946,_0x2e7401=_0x1aee5a[_0x9aa171(0x1ae)](_0x25e227=>_0x3b95fb[_0x9aa171(0x347)]()['includes'](_0x25e227))||_0x381249%0x3===0x0;if(_0x2e7401&&_0x4348a5!==null&&_0x4348a5!==undefined){if(typeof _0x4348a5==='number')_0x2e69ae[_0x3b95fb]=[_0x4348a5,_0x4348a5+0x1,_0x4348a5+0x2];else typeof _0x4348a5===_0x9aa171(0x264)?_0x2e69ae[_0x3b95fb]=[_0x4348a5,_0x4348a5+'_2',_0x4348a5+'_3']:_0x2e69ae[_0x3b95fb]=[_0x4348a5];}else _0x2e69ae[_0x3b95fb]=_0x4348a5;});const _0x5c4694={..._0x2e69ae};return _0x5c4694['currentPage']=_0xe925c0??0x1,_0x5c4694[_0x20e946(0x3a5)]=_0x3b4cff??0xa,_0x5c4694;}['generateSingleValueExample'](){const _0x57e525=a0_0x54060a,_0x5a8bd1={};return _0x5a8bd1['useArrayValues']=![],this[_0x57e525(0x3cc)](_0x5a8bd1);}[a0_0x54060a(0x16d)](){const _0x5ae886=a0_0x54060a;return[{'title':_0x5ae886(0x3a3),'description':'查询单个条件','data':this['generateSingleValueExample']()},{'title':'数组查询(支持多选)','description':'支持多个条件','data':this[_0x5ae886(0x3cc)]()}];}[a0_0x54060a(0x177)](_0x289a67,_0x39fbdb){const _0x227833=a0_0x54060a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x39fbdb||{},_0x51bcea=this[_0x227833(0x247)](),_0x3e7dd0={};_0x3e7dd0[_0x227833(0x167)]=!![];const _0x22aff8=this['generateRequestExample'](_0x3e7dd0),{currentPage:_0xf10205,pageSize:_0x4ea231,..._0x572251}=_0x22aff8;if(useFullExample&&Object['keys'](_0x22aff8)[_0x227833(0x17f)]>0x0){const _0xb3e95f=Object[_0x227833(0x2e3)](_0x572251)[_0x227833(0x17f)]>0x0;if(_0xb3e95f){const _0xcf43ed=this['generateSingleValueExample'](),_0x3eae5c=_0x471150=>{const _0xed83df=_0x227833;return JSON[_0xed83df(0x14a)](_0x471150,null,0x2)[_0xed83df(0x362)]('\x0a')[_0xed83df(0x12b)]((_0x309efb,_0x158729)=>_0x158729===0x0?_0x309efb:indent+_0x309efb)[_0xed83df(0x204)]('\x0a');};return _0x227833(0x216)+_0x289a67+'.'+_0x51bcea+'('+_0x3eae5c(_0xcf43ed)+');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x289a67+'.'+_0x51bcea+'('+_0x3eae5c(_0x22aff8)+');';}else{const _0x906e5c=JSON[_0x227833(0x14a)](_0x22aff8,null,0x2)[_0x227833(0x362)]('\x0a')[_0x227833(0x12b)]((_0x57f552,_0x5a4f1b)=>_0x5a4f1b===0x0?_0x57f552:indent+_0x57f552)[_0x227833(0x204)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x289a67+'.'+_0x51bcea+'('+_0x906e5c+');';}}if(Object[_0x227833(0x2e3)](_0x572251)[_0x227833(0x17f)]>0x0){const _0x5178ab=Object[_0x227833(0x2e3)](_0x572251)[0x0];return _0x227833(0x21a)+_0x289a67+'.'+_0x51bcea+_0x227833(0x327)+_0x5178ab+_0x227833(0x168);}return'const\x20result\x20=\x20await\x20client.models.'+_0x289a67+'.'+_0x51bcea+_0x227833(0x321);}}var AGGREGATE_FUNCTIONS=[a0_0x54060a(0x29b),a0_0x54060a(0x292),a0_0x54060a(0x3b1),a0_0x54060a(0x380),'min'],FILTER_OPERATORS=[a0_0x54060a(0x28d),a0_0x54060a(0x145),a0_0x54060a(0x191),'$gteq',a0_0x54060a(0x25d),a0_0x54060a(0x270),a0_0x54060a(0x272),a0_0x54060a(0x303),a0_0x54060a(0x3c6),'$endWith',a0_0x54060a(0x2a5),'$or'];class FilterOperation extends GenericOperation{constructor(_0x175ee9,_0x391bc7,_0x26ef38){super(_0x175ee9,_0x391bc7,_0x26ef38);}['getOperators'](){return FILTER_OPERATORS;}['getFieldOperators'](_0x378f75){const _0x2fd1d8=a0_0x54060a,_0x27e064=this[_0x2fd1d8(0x39f)](_0x378f75);if(!_0x27e064)return[];return this[_0x2fd1d8(0x2ca)](_0x27e064);}[a0_0x54060a(0x171)](){const _0x1b8a37=a0_0x54060a,_0x34cc8d=super['getRequestParams'](),_0x9ba25c={};_0x9ba25c[_0x1b8a37(0x1a2)]=_0x1b8a37(0x3c7),_0x9ba25c['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)',_0x9ba25c[_0x1b8a37(0x17b)]=![];const _0x54afb3={};_0x54afb3['type']=_0x1b8a37(0x383),_0x54afb3[_0x1b8a37(0x1ce)]='返回字段列表(字段投影)',_0x54afb3['required']=![];const _0x293d76={};_0x293d76['type']=_0x1b8a37(0x17e),_0x293d76[_0x1b8a37(0x1ce)]=_0x1b8a37(0x3c0),_0x293d76[_0x1b8a37(0x17b)]=![];const _0x2fe719={};_0x2fe719[_0x1b8a37(0x1a2)]=_0x1b8a37(0x30a),_0x2fe719['description']=_0x1b8a37(0x1b9),_0x2fe719[_0x1b8a37(0x17b)]=![],_0x2fe719['default']=0x1;const _0xc17624={};_0xc17624[_0x1b8a37(0x1a2)]=_0x1b8a37(0x30a),_0xc17624[_0x1b8a37(0x1ce)]=_0x1b8a37(0x190),_0xc17624['required']=![],_0xc17624[_0x1b8a37(0x1a4)]=0xa;const _0x536389={..._0x34cc8d};return _0x536389[_0x1b8a37(0x1c1)]=_0x9ba25c,_0x536389[_0x1b8a37(0x23a)]=_0x54afb3,_0x536389[_0x1b8a37(0x255)]=_0x293d76,_0x536389['currentPage']=_0x2fe719,_0x536389[_0x1b8a37(0x3a5)]=_0xc17624,_0x536389;}[a0_0x54060a(0x336)](){const _0x11e292=a0_0x54060a,_0x377644=this[_0x11e292(0x171)](),_0x575f37=[],_0x4344ab=[_0x11e292(0x1c1),_0x11e292(0x23a),_0x11e292(0x255),_0x11e292(0x1ee),_0x11e292(0x3a5)];return Object['entries'](_0x377644)[_0x11e292(0x290)](([_0x4bd019,_0x17344f])=>{const _0x1772da=_0x11e292;if(_0x4344ab[_0x1772da(0x19f)](_0x4bd019)){const _0x10cc11=_0x17344f,_0x266d2f={};_0x266d2f['code']=_0x4bd019,_0x266d2f[_0x1772da(0x1a2)]=_0x10cc11['type']||_0x1772da(0x3c7),_0x266d2f[_0x1772da(0x1ce)]=_0x10cc11[_0x1772da(0x1ce)]||'-',_0x575f37['push'](_0x266d2f);}}),_0x575f37;}['getBusinessFields'](){const _0x2eb341=a0_0x54060a;return this[_0x2eb341(0x2ee)][_0x2eb341(0x2ae)]||[];}[a0_0x54060a(0x3a8)](){const _0x4f4512=a0_0x54060a;return{'systemParams':this[_0x4f4512(0x336)](),'businessFields':this['getBusinessFields']()};}[a0_0x54060a(0x3cc)](){const _0x3b7bb6=a0_0x54060a,_0x3d58a0=this['context'][_0x3b7bb6(0x2ae)]||[];if(_0x3d58a0['length']===0x0){const _0x5d1dcf={};return _0x5d1dcf[_0x3b7bb6(0x1c1)]={},_0x5d1dcf[_0x3b7bb6(0x1ee)]=0x1,_0x5d1dcf['pageSize']=0x14,_0x5d1dcf;}const _0x15c1e5={},_0x44d3d8=_0x3d58a0[_0x3b7bb6(0x1a3)](0x0,Math['min'](0x3,_0x3d58a0[_0x3b7bb6(0x17f)]));_0x44d3d8['forEach'](_0x33472a=>{const _0x623118=_0x3b7bb6,_0x2fcdc6=this[_0x623118(0x2ca)](_0x33472a);if(_0x2fcdc6[_0x623118(0x17f)]===0x0)return;const _0x2b8a24=this[_0x623118(0x3d6)](_0x33472a,_0x2fcdc6),_0x88b73e=this[_0x623118(0x34f)](_0x33472a,_0x2b8a24),_0x23b041={};_0x23b041[_0x2b8a24]=_0x88b73e,_0x15c1e5[_0x33472a[_0x623118(0x280)]]=_0x23b041;});const _0x513f72=_0x3d58a0[_0x3b7bb6(0x1a3)](0x0,Math[_0x3b7bb6(0x136)](0x5,_0x3d58a0[_0x3b7bb6(0x17f)]))[_0x3b7bb6(0x12b)](_0x3f5a7a=>_0x3f5a7a[_0x3b7bb6(0x280)]),_0x26cc6b=_0x3d58a0[0x0]?_0x3d58a0[0x0]['code']:'id',_0x312f27={};_0x312f27[_0x26cc6b]='DESC';const _0x2b49d4={};return _0x2b49d4[_0x3b7bb6(0x1c1)]=_0x15c1e5,_0x2b49d4['select']=_0x513f72,_0x2b49d4[_0x3b7bb6(0x255)]=[_0x312f27],_0x2b49d4['currentPage']=0x1,_0x2b49d4['pageSize']=0x14,_0x2b49d4;}['generateSDKCallCode'](_0x54bd17,_0x24d78e){const _0x106998=a0_0x54060a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x24d78e||{},_0x1489d6=this[_0x106998(0x247)](),_0x426601=this[_0x106998(0x3cc)](),_0xcb04c8=_0x4d6f48=>{const _0x10631d=_0x106998;return JSON['stringify'](_0x4d6f48,null,0x2)[_0x10631d(0x362)]('\x0a')[_0x10631d(0x12b)]((_0x4cac88,_0x2af6e1)=>_0x2af6e1===0x0?_0x4cac88:indent+_0x4cac88)[_0x10631d(0x204)]('\x0a');};if(useFullExample){const _0x524834=this[_0x106998(0x2ee)][_0x106998(0x2ae)]||[],_0x1244da={'where':_0x524834[0x0]?{[_0x524834[0x0][_0x106998(0x280)]]:{'$eq':this[_0x106998(0x34f)](_0x524834[0x0],'$eq')}}:{},'select':_0x524834[_0x106998(0x1a3)](0x0,0x3)['map'](_0x288e34=>_0x288e34[_0x106998(0x280)]),'currentPage':0x1,'pageSize':0x14};let _0x96795='';if(_0x524834[_0x106998(0x17f)]>=0x3){const _0x11b77f={};_0x11b77f[_0x106998(0x2a5)]=[];const _0xca0cd5=_0x11b77f,_0x4c23a6=[];if(_0x524834[_0x106998(0x17f)]>0x0){const _0xb39cfe=_0x524834['find'](_0x3e4da2=>{const _0x15b6f7=_0x106998,_0x5a79d7=_0x3e4da2[_0x15b6f7(0x238)]();return[_0x15b6f7(0x313),_0x15b6f7(0x39c),_0x15b6f7(0x2b8),_0x15b6f7(0x122),'TINYINT',_0x15b6f7(0x304)][_0x15b6f7(0x19f)](_0x5a79d7);});if(_0xb39cfe){const _0x452542={};_0x452542[_0x106998(0x191)]=0x0,_0x452542[_0x106998(0x25d)]=0x64;const _0x259819={[_0xb39cfe['code']]:_0x452542};_0x4c23a6[_0x106998(0x30d)](_0x259819);}}if(_0x524834[_0x106998(0x17f)]>0x1){const _0x1f2411=_0x524834[_0x106998(0x283)](_0x28eb12=>{const _0x2eee13=_0x106998,_0x41ff5c=_0x28eb12[_0x2eee13(0x238)]();return['STRING','TEXT','VARCHAR',_0x2eee13(0x146),_0x2eee13(0x139)][_0x2eee13(0x19f)](_0x41ff5c);});if(_0x1f2411){const _0x3fdd00={};_0x3fdd00[_0x106998(0x303)]='keyword';const _0x21b287={[_0x1f2411['code']]:_0x3fdd00};_0x4c23a6['push'](_0x21b287);}}if(_0x4c23a6[_0x106998(0x17f)]>0x0){_0xca0cd5[_0x106998(0x2a5)]=_0x4c23a6;const _0x3c0294={'where':_0xca0cd5,'select':_0x524834[_0x106998(0x1a3)](0x0,0x4)[_0x106998(0x12b)](_0x489922=>_0x489922['code']),'orderBy':[{[_0x524834[0x0][_0x106998(0x280)]]:_0x106998(0x35f)}],'currentPage':0x1,'pageSize':0x14};_0x96795='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x54bd17+'.'+_0x1489d6+'('+_0xcb04c8(_0x3c0294)+');';}}return _0x106998(0x2c4)+_0x54bd17+'.'+_0x1489d6+'('+_0xcb04c8(_0x1244da)+');'+_0x96795;}const _0xf75d19=JSON['stringify'](_0x426601,null,0x2)['split']('\x0a')[_0x106998(0x12b)]((_0x990cff,_0x1181a8)=>_0x1181a8===0x0?_0x990cff:indent+_0x990cff)['join']('\x0a');return _0x106998(0x21a)+_0x54bd17+'.'+_0x1489d6+'('+_0xf75d19+');';}[a0_0x54060a(0x2ca)](_0x3caeab){const _0x1eb6cb=a0_0x54060a,_0x104a38=_0x3caeab[_0x1eb6cb(0x238)](),_0x261657=[];if(['NUMBER',_0x1eb6cb(0x39c),_0x1eb6cb(0x2b8),'DECIMAL']['includes'](_0x104a38)||[_0x1eb6cb(0x122),_0x1eb6cb(0x1ff),_0x1eb6cb(0x304),_0x1eb6cb(0x2f7),'FLOAT'][_0x1eb6cb(0x19f)](_0x104a38))_0x261657[_0x1eb6cb(0x30d)](_0x1eb6cb(0x28d),'$ne',_0x1eb6cb(0x191),_0x1eb6cb(0x25d),_0x1eb6cb(0x3a4),_0x1eb6cb(0x270),_0x1eb6cb(0x272));else{if([_0x1eb6cb(0x3b8),_0x1eb6cb(0x384),'VARCHAR'][_0x1eb6cb(0x19f)](_0x104a38)||[_0x1eb6cb(0x146),_0x1eb6cb(0x139)][_0x1eb6cb(0x19f)](_0x104a38))_0x261657[_0x1eb6cb(0x30d)](_0x1eb6cb(0x28d),_0x1eb6cb(0x145),'$in',_0x1eb6cb(0x303),_0x1eb6cb(0x3c6),'$endWith');else{if(['DATE',_0x1eb6cb(0x1c5),_0x1eb6cb(0x1c6)][_0x1eb6cb(0x19f)](_0x104a38)||[_0x1eb6cb(0x293)][_0x1eb6cb(0x19f)](_0x104a38))_0x261657[_0x1eb6cb(0x30d)](_0x1eb6cb(0x28d),_0x1eb6cb(0x145),_0x1eb6cb(0x191),_0x1eb6cb(0x25d),_0x1eb6cb(0x3a4),_0x1eb6cb(0x270));else['BOOLEAN','BOOL',_0x1eb6cb(0x18a)][_0x1eb6cb(0x19f)](_0x104a38)?_0x261657[_0x1eb6cb(0x30d)]('$eq','$ne'):_0x261657[_0x1eb6cb(0x30d)](_0x1eb6cb(0x28d),_0x1eb6cb(0x145));}}return _0x261657;}[a0_0x54060a(0x3d6)](_0x292b29,_0x28ac71){const _0x4b8097=a0_0x54060a,_0x54ff88=_0x292b29[_0x4b8097(0x238)]();if([_0x4b8097(0x313),_0x4b8097(0x39c),_0x4b8097(0x2b8),_0x4b8097(0x226)][_0x4b8097(0x19f)](_0x54ff88)||[_0x4b8097(0x122),_0x4b8097(0x1ff),_0x4b8097(0x304),_0x4b8097(0x2f7),_0x4b8097(0x14c)][_0x4b8097(0x19f)](_0x54ff88))return _0x28ac71[_0x4b8097(0x19f)](_0x4b8097(0x191))?_0x4b8097(0x191):_0x4b8097(0x28d);if([_0x4b8097(0x3b8),_0x4b8097(0x384),_0x4b8097(0x143)][_0x4b8097(0x19f)](_0x54ff88)||['CHAR',_0x4b8097(0x139)]['includes'](_0x54ff88))return _0x28ac71[_0x4b8097(0x19f)](_0x4b8097(0x303))?_0x4b8097(0x303):_0x4b8097(0x28d);if([_0x4b8097(0x354),'DATETIME',_0x4b8097(0x1c6),_0x4b8097(0x293)][_0x4b8097(0x19f)](_0x54ff88))return _0x28ac71['includes']('$gte')?'$gte':_0x4b8097(0x28d);return _0x4b8097(0x28d);}[a0_0x54060a(0x34f)](_0x3c9c7d,_0x27c603){const _0x130b93=a0_0x54060a,_0x6974ca=_0x3c9c7d[_0x130b93(0x238)](),_0x4b4b68=_0x3c9c7d[_0x130b93(0x342)]();if(_0x4b4b68&&_0x4b4b68['length']>0x0){if(_0x27c603==='$in')return _0x4b4b68['slice'](0x0,0x2)[_0x130b93(0x12b)](_0x1690d0=>_0x1690d0[_0x130b93(0x130)]);return _0x4b4b68[0x0][_0x130b93(0x130)];}if([_0x130b93(0x313),_0x130b93(0x39c),_0x130b93(0x2b8),_0x130b93(0x226)][_0x130b93(0x19f)](_0x6974ca)||[_0x130b93(0x122),_0x130b93(0x1ff),_0x130b93(0x304),_0x130b93(0x2f7),_0x130b93(0x14c)]['includes'](_0x6974ca)){if(_0x27c603===_0x130b93(0x272))return[0x1,0x2,0x3];if(_0x27c603===_0x130b93(0x191)||_0x27c603==='$gteq')return 0x0;if(_0x27c603==='$lte'||_0x27c603===_0x130b93(0x270))return 0x64;return 0x1;}if(['STRING',_0x130b93(0x384),'VARCHAR'][_0x130b93(0x19f)](_0x6974ca)||['CHAR',_0x130b93(0x139)][_0x130b93(0x19f)](_0x6974ca)){if(_0x27c603===_0x130b93(0x272))return[_0x130b93(0x2ac),_0x130b93(0x351)];if(_0x27c603===_0x130b93(0x303))return _0x130b93(0x34b);if(_0x27c603===_0x130b93(0x3c6))return _0x130b93(0x268);if(_0x27c603===_0x130b93(0x220))return _0x130b93(0x1c0);return _0x130b93(0x130);}if(['DATE','DATETIME',_0x130b93(0x1c6),_0x130b93(0x293)]['includes'](_0x6974ca)){if(_0x27c603===_0x130b93(0x191)||_0x27c603===_0x130b93(0x3a4))return _0x130b93(0x345);if(_0x27c603==='$lte'||_0x27c603===_0x130b93(0x270))return'2024-12-31';return _0x130b93(0x345);}if([_0x130b93(0x229),_0x130b93(0x39a),'BIT'][_0x130b93(0x19f)](_0x6974ca))return!![];return _0x27c603==='$in'?[_0x130b93(0x2ac),_0x130b93(0x351)]:_0x130b93(0x130);}[a0_0x54060a(0x21f)](){const _0x4b9f23=a0_0x54060a,_0x37b224=super[_0x4b9f23(0x171)](),_0x43a69b=Object[_0x4b9f23(0x2aa)](_0x37b224)[_0x4b9f23(0x132)](([_0xb37bd0])=>_0xb37bd0!==_0x4b9f23(0x1ee)&&_0xb37bd0!==_0x4b9f23(0x3a5))[_0x4b9f23(0x12b)](([_0x23ef6f,_0x3d92fe])=>{const _0x3967db=_0x4b9f23,_0x3df73b=_0x3d92fe,_0x5184a9={};return _0x5184a9['name']=_0x23ef6f,_0x5184a9[_0x3967db(0x1a2)]=_0x3df73b[_0x3967db(0x1a2)]||'String',_0x5184a9[_0x3967db(0x1ce)]=_0x3df73b[_0x3967db(0x1ce)]||'-',_0x5184a9[_0x3967db(0x17b)]=_0x3df73b[_0x3967db(0x17b)],_0x5184a9;}),_0x59f7dd={};return _0x59f7dd[_0x4b9f23(0x1ce)]='\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a',_0x59f7dd['params']=_0x43a69b,_0x59f7dd;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x2ac3ca=a0_0x54060a,_0x541685=super[_0x2ac3ca(0x171)]();if(Object[_0x2ac3ca(0x2e3)](_0x541685)[_0x2ac3ca(0x17f)]===0x0){const _0x442e7={};this['context'][_0x2ac3ca(0x2ae)][_0x2ac3ca(0x290)](_0x3a6ed6=>{const _0x3f4322=_0x2ac3ca;if(_0x3a6ed6){const _0x2b2063=_0x3a6ed6[_0x3f4322(0x280)],_0x35474a=_0x3a6ed6[_0x3f4322(0x238)](),_0x346a3e={};_0x346a3e[_0x3f4322(0x1a2)]=_0x35474a||_0x3f4322(0x384),_0x346a3e['sortNum']=_0x3a6ed6['sortNum'],_0x346a3e[_0x3f4322(0x1ce)]=_0x3a6ed6[_0x3f4322(0x1ce)]||_0x3a6ed6['name'],_0x442e7[_0x2b2063]=_0x346a3e;}});const _0x1ac107={};_0x1ac107['type']=_0x2ac3ca(0x2b1),_0x1ac107[_0x2ac3ca(0x1ce)]=_0x2ac3ca(0x37c),_0x442e7[_0x2ac3ca(0x1ee)]=_0x1ac107;const _0x46bb0f={};return _0x46bb0f['type']=_0x2ac3ca(0x2b1),_0x46bb0f[_0x2ac3ca(0x1ce)]='每页数量(可选)',_0x442e7['pageSize']=_0x46bb0f,_0x442e7;}return _0x541685;}[a0_0x54060a(0x3cc)](){const _0x4f8921=a0_0x54060a,_0x4a35a6=super[_0x4f8921(0x3cc)]();if(Object[_0x4f8921(0x2e3)](_0x4a35a6)['length']===0x0){const _0x347031={};return _0x347031[_0x4f8921(0x1ee)]=0x1,_0x347031['pageSize']=0x64,_0x347031;}const _0x2d41a5={..._0x4a35a6};return _0x2d41a5[_0x4f8921(0x1ee)]=_0x4a35a6[_0x4f8921(0x1ee)]??0x1,_0x2d41a5[_0x4f8921(0x3a5)]=_0x4a35a6[_0x4f8921(0x3a5)]??0x64,_0x2d41a5;}[a0_0x54060a(0x379)](){const _0x3c9c45=a0_0x54060a,_0x27dc0c={};return _0x27dc0c[_0x3c9c45(0x1f2)]=!![],_0x27dc0c[_0x3c9c45(0x1f1)]='',_0x27dc0c['errorMsg']='',_0x27dc0c[_0x3c9c45(0x2b5)]=_0x3c9c45(0x227),_0x27dc0c[_0x3c9c45(0x1e0)]=_0x3c9c45(0x2d6),_0x27dc0c[_0x3c9c45(0x33a)]=null,_0x27dc0c;}[a0_0x54060a(0x177)](_0x365eb3,_0x39b03f){const _0x3c9f9d=a0_0x54060a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x39b03f||{},_0x30b5ad=this[_0x3c9f9d(0x247)]();if(useFullExample){const _0x46c032=this[_0x3c9f9d(0x3cc)](),{currentPage:_0x315ba2,pageSize:_0x26984e,..._0x2bb110}=_0x46c032,_0x4250ae=Object[_0x3c9f9d(0x2e3)](_0x2bb110)[_0x3c9f9d(0x17f)]>0x0;if(_0x4250ae){const _0x3eccab=_0x48a568=>{const _0x7e5f4a=_0x3c9f9d;return JSON[_0x7e5f4a(0x14a)](_0x48a568,null,0x2)['split']('\x0a')[_0x7e5f4a(0x12b)]((_0x35a013,_0x3a1f9e)=>_0x3a1f9e===0x0?_0x35a013:indent+_0x35a013)[_0x7e5f4a(0x204)]('\x0a');};return _0x3c9f9d(0x16c)+_0x365eb3+'.'+_0x30b5ad+_0x3c9f9d(0x187)+_0x365eb3+'.'+_0x30b5ad+'('+_0x3eccab(_0x46c032)+');';}else{const _0x5cd741=_0x8dde4c=>{const _0x15807e=_0x3c9f9d;return JSON[_0x15807e(0x14a)](_0x8dde4c,null,0x2)[_0x15807e(0x362)]('\x0a')[_0x15807e(0x12b)]((_0x4f19ea,_0x472140)=>_0x472140===0x0?_0x4f19ea:indent+_0x4f19ea)[_0x15807e(0x204)]('\x0a');},_0x16f400={};return _0x16f400['currentPage']=0x1,_0x16f400[_0x3c9f9d(0x3a5)]=0x64,_0x3c9f9d(0x16c)+_0x365eb3+'.'+_0x30b5ad+_0x3c9f9d(0x1cf)+_0x365eb3+'.'+_0x30b5ad+'('+_0x5cd741(_0x16f400)+');';}}return _0x3c9f9d(0x134)+_0x365eb3+'.'+_0x30b5ad+_0x3c9f9d(0x186);}[a0_0x54060a(0x3b4)](_0x174008){const _0x2ac378=a0_0x54060a,_0x1d2363=this[_0x2ac378(0x247)](),_0x482094=_0x174008||_0x2ac378(0x32d),_0x3f9241='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x482094+'.'+_0x1d2363+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x181bcc=_0x2ac378(0x397)+_0x482094+'.'+_0x1d2363+_0x2ac378(0x1c7),_0x23d0d3={};return _0x23d0d3[_0x2ac378(0x281)]=_0x3f9241,_0x23d0d3[_0x2ac378(0x2b5)]=_0x181bcc,_0x23d0d3;}}class UpdateOperation extends GenericOperation{[a0_0x54060a(0x34d)](){const _0x1b5d04=a0_0x54060a;return this[_0x1b5d04(0x2d8)]();}[a0_0x54060a(0x171)](){const _0x6e5284=a0_0x54060a,_0x466f88=this[_0x6e5284(0x34d)](),_0x2e6cd9={};_0x2e6cd9[_0x6e5284(0x1a2)]=_0x6e5284(0x313),_0x2e6cd9[_0x6e5284(0x1ce)]=_0x6e5284(0x2f1),_0x2e6cd9[_0x6e5284(0x17b)]=!![];const _0x5aaceb={};_0x5aaceb[_0x6e5284(0x1a2)]=_0x6e5284(0x1ef),_0x5aaceb[_0x6e5284(0x1ce)]=_0x6e5284(0x211),_0x5aaceb[_0x6e5284(0x17b)]=!![],_0x5aaceb[_0x6e5284(0x315)]=_0x466f88;const _0x5e0da9={};return _0x5e0da9['id']=_0x2e6cd9,_0x5e0da9[_0x6e5284(0x1e0)]=_0x5aaceb,_0x5e0da9;}[a0_0x54060a(0x13c)](){return this['getUpdateFields']();}[a0_0x54060a(0x28f)](){const _0x5b46e0=a0_0x54060a,_0x4897a5=this[_0x5b46e0(0x2ee)][_0x5b46e0(0x2ae)]||[],_0x25b195=this[_0x5b46e0(0x2ee)][_0x5b46e0(0x194)],_0x527bf1=_0x4897a5[_0x5b46e0(0x283)](_0x54e347=>_0x54e347['isPrimaryKey']()||_0x54e347['code']===_0x25b195),_0x14fd32=_0x4897a5[_0x5b46e0(0x132)](_0x1b775c=>{const _0x2d7a17=_0x5b46e0;if(_0x1b775c[_0x2d7a17(0x391)])return![];if(_0x1b775c===_0x527bf1||_0x1b775c['isPrimaryKey']())return![];if(_0x1b775c[_0x2d7a17(0x1f4)]()||_0x1b775c[_0x2d7a17(0x195)]())return![];if(_0x1b775c['isAutoIncrement']())return![];return!![];});return _0x527bf1?[_0x527bf1,..._0x14fd32]:_0x14fd32;}[a0_0x54060a(0x373)](){const _0xbd81db=a0_0x54060a,_0x38d20c=this[_0xbd81db(0x28f)](),_0x4f4945=this[_0xbd81db(0x2ee)][_0xbd81db(0x194)],_0x51c157=_0x38d20c[_0xbd81db(0x12b)](_0x26f0b1=>{const _0x99c156=_0xbd81db,_0x2d85bc=_0x26f0b1[_0x99c156(0x350)]()||_0x26f0b1[_0x99c156(0x280)]===_0x4f4945,_0x4e1b9c=_0x2d85bc?'id':_0x26f0b1[_0x99c156(0x280)],_0x56e472={};return _0x56e472['name']=_0x4e1b9c,_0x56e472['type']=_0x26f0b1['type'],_0x56e472[_0x99c156(0x1ce)]=_0x2d85bc?_0x99c156(0x19a)+(_0x4f4945&&_0x4f4945!==_0x26f0b1[_0x99c156(0x280)]?_0x99c156(0x21e)+_0x26f0b1[_0x99c156(0x280)]+')':''):_0x26f0b1[_0x99c156(0x1ce)]||_0x26f0b1['name'],_0x56e472;}),_0x2dfa78={};return _0x2dfa78[_0xbd81db(0x1ce)]=_0xbd81db(0x18e),_0x2dfa78[_0xbd81db(0x33a)]=_0x51c157,_0x2dfa78;}[a0_0x54060a(0x21f)](){const _0x3211cb=a0_0x54060a,_0x135735=this[_0x3211cb(0x34d)](),_0x2d0887=Object[_0x3211cb(0x2aa)](_0x135735)[_0x3211cb(0x12b)](([_0x164252,_0x48b771])=>{const _0x85f200=_0x3211cb,_0xcee1af=_0x48b771,_0x177901={};return _0x177901[_0x85f200(0x175)]=_0x164252,_0x177901[_0x85f200(0x1a2)]=_0xcee1af[_0x85f200(0x1a2)]||'String',_0x177901[_0x85f200(0x1ce)]=_0xcee1af['description']||'-',_0x177901;}),_0x218aff={};return _0x218aff[_0x3211cb(0x1ce)]=_0x3211cb(0x2d5)+'**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a'+_0x3211cb(0x23d)+_0x3211cb(0x1fc)+_0x3211cb(0x295)+_0x3211cb(0x34e),_0x218aff[_0x3211cb(0x33a)]=_0x2d0887,_0x218aff;}[a0_0x54060a(0x3cc)](){const _0x23569d=a0_0x54060a,_0x25cecd=this[_0x23569d(0x34d)](),_0x5461c4={};Object['entries'](_0x25cecd)[_0x23569d(0x290)](([_0xf6d179,_0x1933f3])=>{const _0x22033e=_0x23569d,_0x224cc5=_0x1933f3;let _0x321f8e;if(typeof _0x224cc5[_0x22033e(0x1a2)]===_0x22033e(0x264))_0x321f8e=_0x224cc5[_0x22033e(0x1a2)];else _0x224cc5[_0x22033e(0x1a2)]&&typeof _0x224cc5[_0x22033e(0x1a2)]===_0x22033e(0x1ef)?_0x321f8e=_0x224cc5[_0x22033e(0x1a2)]['type']||_0x22033e(0x384):_0x321f8e=_0x22033e(0x384);const _0x1ef1c6=_0x224cc5[_0x22033e(0x1ce)],_0x1172a5=this[_0x22033e(0x39f)](_0xf6d179);_0x5461c4[_0xf6d179]=this['generateFieldExample'](_0xf6d179,_0x321f8e,_0x1172a5?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x1ef1c6||_0x1172a5?.[_0x22033e(0x1ce)]||_0x1172a5?.[_0x22033e(0x175)]});});const _0xf739a4={};return _0xf739a4['id']=0x1,_0xf739a4[_0x23569d(0x1e0)]=_0x5461c4,_0xf739a4;}[a0_0x54060a(0x16d)](){const _0x10adf7=a0_0x54060a,_0x154403=this['generateRequestExample'](),_0x20844f={};return _0x20844f[_0x10adf7(0x260)]=_0x10adf7(0x1dd),_0x20844f['description']=_0x10adf7(0x2d1)+_0x10adf7(0x306)+'-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段',_0x20844f[_0x10adf7(0x1e0)]=_0x154403,[_0x20844f,{'title':_0x10adf7(0x208),'description':_0x10adf7(0x32f)+_0x10adf7(0x3a7)+'-\x20其他要更新的字段直接平铺在同一层级','data':this[_0x10adf7(0x25f)]()}];}[a0_0x54060a(0x25f)](){const _0x2946bc=a0_0x54060a,_0x1b32ef=this[_0x2946bc(0x34d)](),_0x2cece9={};_0x2cece9['id']=0x1;const _0x377fd8=_0x2cece9;return Object['entries'](_0x1b32ef)[_0x2946bc(0x290)](([_0x4f65a8,_0x37d662])=>{const _0xf1c144=_0x2946bc,_0x47505b=_0x37d662;let _0x5252e2;if(typeof _0x47505b[_0xf1c144(0x1a2)]==='string')_0x5252e2=_0x47505b[_0xf1c144(0x1a2)];else _0x47505b[_0xf1c144(0x1a2)]&&typeof _0x47505b[_0xf1c144(0x1a2)]==='object'?_0x5252e2=_0x47505b[_0xf1c144(0x1a2)][_0xf1c144(0x1a2)]||'TEXT':_0x5252e2=_0xf1c144(0x384);const _0x36cfcf=_0x47505b[_0xf1c144(0x1ce)],_0x243293=this['getFieldDefinition'](_0x4f65a8);if(_0x243293?.['isPrimaryKey']())return;_0x377fd8[_0x4f65a8]=this[_0xf1c144(0x16f)](_0x4f65a8,_0x5252e2,_0x243293?.[_0xf1c144(0x238)](),{'isPrimaryKey':![],'description':_0x36cfcf||_0x243293?.[_0xf1c144(0x1ce)]||_0x243293?.[_0xf1c144(0x175)]});}),_0x377fd8;}[a0_0x54060a(0x317)](){const _0x1bea0e=a0_0x54060a;return this[_0x1bea0e(0x25f)]();}[a0_0x54060a(0x177)](_0x1d52af,_0x561dca){const _0xf89ef3=a0_0x54060a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x561dca||{},_0x33dfb0=this[_0xf89ef3(0x247)]();if(useFullExample){const _0x3bdbd4=this[_0xf89ef3(0x3cc)](),_0x4d0bab=JSON[_0xf89ef3(0x14a)](_0x3bdbd4[_0xf89ef3(0x1e0)],null,0x2)['split']('\x0a')[_0xf89ef3(0x12b)]((_0x43eef8,_0x4f625c)=>_0x4f625c===0x0?_0x43eef8:indent+_0x43eef8)['join']('\x0a');return _0xf89ef3(0x21a)+_0x1d52af+'.'+_0x33dfb0+'('+_0x3bdbd4['id']+',\x20'+_0x4d0bab+');';}return _0xf89ef3(0x21a)+_0x1d52af+'.'+_0x33dfb0+_0xf89ef3(0x249);}}class AggregateOperation extends GenericOperation{constructor(_0x421b70,_0x332228,_0x9858c1){super(_0x421b70,_0x332228,_0x9858c1);}['normalizeDbType'](_0x249d82){const _0x32504d=a0_0x54060a;return _0x249d82['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()[_0x32504d(0x2f5)]();}[a0_0x54060a(0x367)](){return AGGREGATE_FUNCTIONS;}[a0_0x54060a(0x171)](){const _0x2558b0=a0_0x54060a,_0x300ae1=super[_0x2558b0(0x171)](),_0x1a621c={};_0x1a621c[_0x2558b0(0x1a2)]=_0x2558b0(0x383),_0x1a621c['description']=_0x2558b0(0x363),_0x1a621c[_0x2558b0(0x17b)]=![];const _0x57bbbd={};_0x57bbbd[_0x2558b0(0x1a2)]=_0x2558b0(0x3c7),_0x57bbbd['description']=_0x2558b0(0x3d1),_0x57bbbd[_0x2558b0(0x17b)]=![];const _0x11d874={};_0x11d874[_0x2558b0(0x1a2)]='String[]',_0x11d874[_0x2558b0(0x1ce)]=_0x2558b0(0x2c7),_0x11d874['required']=![];const _0x36d22c={};_0x36d22c[_0x2558b0(0x1a2)]='Array',_0x36d22c[_0x2558b0(0x1ce)]='聚合函数配置数组',_0x36d22c[_0x2558b0(0x17b)]=![];const _0x3aec55={};_0x3aec55[_0x2558b0(0x1a2)]='Array',_0x3aec55[_0x2558b0(0x1ce)]=_0x2558b0(0x381),_0x3aec55[_0x2558b0(0x17b)]=![];const _0x5f2a27={};_0x5f2a27[_0x2558b0(0x1a2)]=_0x2558b0(0x386),_0x5f2a27[_0x2558b0(0x1ce)]=_0x2558b0(0x1ec),_0x5f2a27[_0x2558b0(0x17b)]=![];const _0x51aa9d={};_0x51aa9d[_0x2558b0(0x1a2)]=_0x2558b0(0x30a),_0x51aa9d['description']=_0x2558b0(0x14b),_0x51aa9d[_0x2558b0(0x17b)]=![];const _0x1d1bc0={};_0x1d1bc0[_0x2558b0(0x1a2)]=_0x2558b0(0x30a),_0x1d1bc0[_0x2558b0(0x1ce)]=_0x2558b0(0x2fa),_0x1d1bc0['required']=![];const _0x4adab6={..._0x300ae1};return _0x4adab6[_0x2558b0(0x23a)]=_0x1a621c,_0x4adab6[_0x2558b0(0x1c1)]=_0x57bbbd,_0x4adab6[_0x2558b0(0x2a6)]=_0x11d874,_0x4adab6['aggregate']=_0x36d22c,_0x4adab6[_0x2558b0(0x3ce)]=_0x3aec55,_0x4adab6[_0x2558b0(0x255)]=_0x5f2a27,_0x4adab6[_0x2558b0(0x1ee)]=_0x51aa9d,_0x4adab6[_0x2558b0(0x3a5)]=_0x1d1bc0,_0x4adab6;}[a0_0x54060a(0x336)](){const _0x4bb6d5=a0_0x54060a,_0x414482={};_0x414482[_0x4bb6d5(0x280)]='select',_0x414482[_0x4bb6d5(0x1a2)]=_0x4bb6d5(0x383),_0x414482[_0x4bb6d5(0x1ce)]=_0x4bb6d5(0x363);const _0x33753e={};_0x33753e[_0x4bb6d5(0x280)]=_0x4bb6d5(0x1c1),_0x33753e[_0x4bb6d5(0x1a2)]='Object',_0x33753e[_0x4bb6d5(0x1ce)]=_0x4bb6d5(0x3d1);const _0x19dac5={};_0x19dac5['code']=_0x4bb6d5(0x2a6),_0x19dac5[_0x4bb6d5(0x1a2)]=_0x4bb6d5(0x383),_0x19dac5[_0x4bb6d5(0x1ce)]='分组字段列表';const _0x4ff7b3={};_0x4ff7b3['code']=_0x4bb6d5(0x2b0),_0x4ff7b3[_0x4bb6d5(0x1a2)]=_0x4bb6d5(0x386),_0x4ff7b3['description']=_0x4bb6d5(0x120);const _0x1a1b2f={};_0x1a1b2f['code']=_0x4bb6d5(0x3ce),_0x1a1b2f[_0x4bb6d5(0x1a2)]=_0x4bb6d5(0x386),_0x1a1b2f[_0x4bb6d5(0x1ce)]=_0x4bb6d5(0x381);const _0x194f7a={};_0x194f7a[_0x4bb6d5(0x280)]=_0x4bb6d5(0x255),_0x194f7a[_0x4bb6d5(0x1a2)]='Array',_0x194f7a['description']='排序规则(与\x20Filter\x20API\x20一致)';const _0xd814b6={};_0xd814b6[_0x4bb6d5(0x280)]='currentPage',_0xd814b6[_0x4bb6d5(0x1a2)]=_0x4bb6d5(0x30a),_0xd814b6['description']=_0x4bb6d5(0x14b);const _0x831898={};return _0x831898['code']=_0x4bb6d5(0x3a5),_0x831898[_0x4bb6d5(0x1a2)]=_0x4bb6d5(0x30a),_0x831898[_0x4bb6d5(0x1ce)]=_0x4bb6d5(0x2fa),[_0x414482,_0x33753e,_0x19dac5,_0x4ff7b3,_0x1a1b2f,_0x194f7a,_0xd814b6,_0x831898];}[a0_0x54060a(0x3cc)](){const _0x3eca49=a0_0x54060a,_0x594a83=this[_0x3eca49(0x2ee)][_0x3eca49(0x2ae)]||[];if(_0x594a83[_0x3eca49(0x17f)]===0x0){const _0x827c64={};return _0x827c64['where']={},_0x827c64[_0x3eca49(0x2a6)]=[],_0x827c64['aggregate']=[],_0x827c64;}const _0x15a800={},_0x33322c=_0x594a83[_0x3eca49(0x1a3)](0x0,Math[_0x3eca49(0x136)](0x3,_0x594a83[_0x3eca49(0x17f)]));_0x33322c[_0x3eca49(0x290)](_0xb24d2d=>{const _0x2e3335=_0x3eca49,_0xc930a8=this[_0x2e3335(0x2ca)](_0xb24d2d);if(_0xc930a8[_0x2e3335(0x17f)]===0x0)return;const _0x1fe334=this[_0x2e3335(0x3d6)](_0xb24d2d,_0xc930a8),_0x46e93f=this['generateExampleValue'](_0xb24d2d,_0x1fe334),_0x2b7e54={};_0x2b7e54[_0x1fe334]=_0x46e93f,_0x15a800[_0xb24d2d[_0x2e3335(0x280)]]=_0x2b7e54;});const _0x556be3=_0x594a83['slice'](0x0,Math['min'](0x2,_0x594a83[_0x3eca49(0x17f)]))['map'](_0xf1a452=>_0xf1a452[_0x3eca49(0x280)]),_0x214306=[],_0x12e00f=_0x594a83[_0x3eca49(0x132)](_0xc4f658=>this[_0x3eca49(0x24f)](_0xc4f658));if(_0x12e00f[_0x3eca49(0x17f)]>0x0){const _0x30e3f8=_0x12e00f[0x0],_0x4f0a06=_0x30e3f8[_0x3eca49(0x280)],_0x2020db={};_0x2020db['type']='sum',_0x2020db['column']=_0x4f0a06,_0x2020db[_0x3eca49(0x246)]=_0x4f0a06+_0x3eca49(0x385),_0x2020db[_0x3eca49(0x325)]=![],_0x2020db[_0x3eca49(0x1d2)]=!![],_0x2020db[_0x3eca49(0x33b)]=0x2,_0x214306[_0x3eca49(0x30d)](_0x2020db);const _0x4787c9={};_0x4787c9[_0x3eca49(0x1a2)]=_0x3eca49(0x3b1),_0x4787c9[_0x3eca49(0x3d2)]=_0x4f0a06,_0x4787c9[_0x3eca49(0x246)]=_0x4f0a06+_0x3eca49(0x38a),_0x4787c9[_0x3eca49(0x325)]=![],_0x4787c9[_0x3eca49(0x1d2)]=!![],_0x4787c9['precision']=0x2,_0x214306[_0x3eca49(0x30d)](_0x4787c9);const _0x9223ca={};_0x9223ca[_0x3eca49(0x1a2)]=_0x3eca49(0x380),_0x9223ca[_0x3eca49(0x3d2)]=_0x4f0a06,_0x9223ca[_0x3eca49(0x246)]=_0x4f0a06+_0x3eca49(0x22d),_0x9223ca[_0x3eca49(0x325)]=![],_0x9223ca[_0x3eca49(0x1d2)]=!![],_0x9223ca['precision']=0x2,_0x214306['push'](_0x9223ca);const _0x24ee57={};_0x24ee57[_0x3eca49(0x1a2)]=_0x3eca49(0x136),_0x24ee57[_0x3eca49(0x3d2)]=_0x4f0a06,_0x24ee57[_0x3eca49(0x246)]=_0x4f0a06+_0x3eca49(0x32b),_0x24ee57[_0x3eca49(0x325)]=![],_0x24ee57[_0x3eca49(0x1d2)]=!![],_0x24ee57[_0x3eca49(0x33b)]=0x2,_0x214306['push'](_0x24ee57);}else{if(_0x594a83[_0x3eca49(0x17f)]>0x0){const _0x1c8d12=_0x594a83[0x0],_0x556a0b=_0x1c8d12[_0x3eca49(0x280)],_0x10ed5c={};_0x10ed5c['type']=_0x3eca49(0x292),_0x10ed5c['column']=_0x556a0b,_0x10ed5c[_0x3eca49(0x246)]=_0x3eca49(0x197),_0x10ed5c[_0x3eca49(0x325)]=!![],_0x214306[_0x3eca49(0x30d)](_0x10ed5c);}}const _0x474d05=[];if(_0x594a83[_0x3eca49(0x17f)]>0x0){const _0xa307f5=_0x594a83[0x0]['code'],_0x349a94={};_0x349a94[_0xa307f5]=_0x3eca49(0x20d),_0x474d05[_0x3eca49(0x30d)](_0x349a94);}const _0x3e35c3=[..._0x556be3,..._0x214306[_0x3eca49(0x12b)](_0xf6ab8c=>_0xf6ab8c['alias'])],_0x35c5c7=[];if(_0x214306[_0x3eca49(0x17f)]>0x0){const _0x3ddb4d={};_0x3ddb4d[_0x3eca49(0x191)]=0x0;const _0x479798={};_0x479798['columnName']=_0x214306[0x0]['alias'],_0x479798[_0x3eca49(0x26f)]=_0x3ddb4d,_0x35c5c7['push'](_0x479798);}const _0x7ef967={};return _0x7ef967[_0x3eca49(0x23a)]=_0x3e35c3,_0x7ef967[_0x3eca49(0x1c1)]=_0x15a800,_0x7ef967[_0x3eca49(0x2a6)]=_0x556be3,_0x7ef967[_0x3eca49(0x2b0)]=_0x214306,_0x7ef967['having']=_0x35c5c7[_0x3eca49(0x17f)]>0x0?_0x35c5c7:undefined,_0x7ef967[_0x3eca49(0x255)]=_0x474d05,_0x7ef967['currentPage']=0x1,_0x7ef967[_0x3eca49(0x3a5)]=0x14,_0x7ef967;}[a0_0x54060a(0x177)](_0x899238,_0x1b1d02){const _0x5aa0bd=a0_0x54060a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1b1d02||{},_0x369469=this[_0x5aa0bd(0x247)](),_0x2e625e=this[_0x5aa0bd(0x3cc)](),_0x3e8945=_0x35f217=>{const _0x34cdb3=_0x5aa0bd;return JSON[_0x34cdb3(0x14a)](_0x35f217,null,0x2)[_0x34cdb3(0x362)]('\x0a')[_0x34cdb3(0x12b)]((_0x38a599,_0x396024)=>_0x396024===0x0?_0x38a599:indent+_0x38a599)[_0x34cdb3(0x204)]('\x0a');};if(useFullExample){const _0x1a9ced=this[_0x5aa0bd(0x2ee)]['fields']||[],_0x2137c1=_0x1a9ced[_0x5aa0bd(0x132)](_0x52257e=>this[_0x5aa0bd(0x24f)](_0x52257e)),_0x3edd93={'where':_0x1a9ced[0x0]?{[_0x1a9ced[0x0][_0x5aa0bd(0x280)]]:{'$eq':this[_0x5aa0bd(0x34f)](_0x1a9ced[0x0],_0x5aa0bd(0x28d))}}:{},'aggregate':_0x2137c1[_0x5aa0bd(0x17f)]>0x0?[{'type':'sum','column':_0x2137c1[0x0][_0x5aa0bd(0x280)],'alias':_0x2137c1[0x0]['code']+_0x5aa0bd(0x385),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x5aa0bd(0x292),'column':_0x1a9ced[0x0][_0x5aa0bd(0x280)],'alias':'total_count','distinct':!![]}],'orderBy':[{[_0x1a9ced[0x0][_0x5aa0bd(0x280)]]:_0x5aa0bd(0x20d)}]};let _0x553ad8='';return _0x1a9ced[_0x5aa0bd(0x17f)]>=0x3&&(_0x553ad8=_0x5aa0bd(0x273)+_0x899238+'.'+_0x369469+'('+_0x3e8945(_0x2e625e)+');'),_0x5aa0bd(0x3d8)+_0x899238+'.'+_0x369469+'('+_0x3e8945(_0x3edd93)+');'+_0x553ad8;}const _0x1551af=JSON[_0x5aa0bd(0x14a)](_0x2e625e,null,0x2)[_0x5aa0bd(0x362)]('\x0a')[_0x5aa0bd(0x12b)]((_0x122dc5,_0x8194f7)=>_0x8194f7===0x0?_0x122dc5:indent+_0x122dc5)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x899238+'.'+_0x369469+'('+_0x1551af+');';}[a0_0x54060a(0x24f)](_0xeb013a){const _0x5e3754=a0_0x54060a,_0x278bab=_0xeb013a[_0x5e3754(0x238)]();return[_0x5e3754(0x313),_0x5e3754(0x39c),_0x5e3754(0x2b8),_0x5e3754(0x226)][_0x5e3754(0x19f)](_0x278bab)||[_0x5e3754(0x122),_0x5e3754(0x1ff),'SMALLINT',_0x5e3754(0x2f7),'FLOAT'][_0x5e3754(0x19f)](_0x278bab);}[a0_0x54060a(0x2ca)](_0x213cab){const _0x4da519=a0_0x54060a,_0x4d494e=_0x213cab['getDbTypeForOperation'](),_0x2d82b1=[];if([_0x4da519(0x313),_0x4da519(0x39c),_0x4da519(0x2b8),'DECIMAL']['includes'](_0x4d494e)||[_0x4da519(0x122),'TINYINT',_0x4da519(0x304),_0x4da519(0x2f7),_0x4da519(0x14c)]['includes'](_0x4d494e))_0x2d82b1['push'](_0x4da519(0x28d),'$ne',_0x4da519(0x191),_0x4da519(0x25d),_0x4da519(0x3a4),'$lteq',_0x4da519(0x272));else{if([_0x4da519(0x3b8),_0x4da519(0x384),'VARCHAR'][_0x4da519(0x19f)](_0x4d494e)||[_0x4da519(0x146),_0x4da519(0x139)][_0x4da519(0x19f)](_0x4d494e))_0x2d82b1[_0x4da519(0x30d)](_0x4da519(0x28d),_0x4da519(0x145),'$in','$contain',_0x4da519(0x3c6),_0x4da519(0x220));else{if([_0x4da519(0x354),_0x4da519(0x1c5),_0x4da519(0x1c6)][_0x4da519(0x19f)](_0x4d494e)||[_0x4da519(0x293)][_0x4da519(0x19f)](_0x4d494e))_0x2d82b1[_0x4da519(0x30d)]('$eq',_0x4da519(0x145),'$gte',_0x4da519(0x25d),_0x4da519(0x3a4),_0x4da519(0x270));else[_0x4da519(0x229),_0x4da519(0x39a),_0x4da519(0x18a)][_0x4da519(0x19f)](_0x4d494e)?_0x2d82b1['push'](_0x4da519(0x28d),_0x4da519(0x145)):_0x2d82b1[_0x4da519(0x30d)](_0x4da519(0x28d),_0x4da519(0x145));}}return _0x2d82b1;}[a0_0x54060a(0x3d6)](_0x4faeaa,_0x761c59){const _0x354d21=a0_0x54060a,_0x1dbf6b=_0x4faeaa[_0x354d21(0x238)]();if([_0x354d21(0x313),_0x354d21(0x39c),_0x354d21(0x2b8),_0x354d21(0x226)]['includes'](_0x1dbf6b)||[_0x354d21(0x122),_0x354d21(0x1ff),_0x354d21(0x304),_0x354d21(0x2f7),_0x354d21(0x14c)][_0x354d21(0x19f)](_0x1dbf6b))return _0x761c59[_0x354d21(0x19f)](_0x354d21(0x191))?_0x354d21(0x191):_0x354d21(0x28d);if([_0x354d21(0x3b8),_0x354d21(0x384),_0x354d21(0x143)][_0x354d21(0x19f)](_0x1dbf6b)||[_0x354d21(0x146),_0x354d21(0x139)][_0x354d21(0x19f)](_0x1dbf6b))return _0x761c59[_0x354d21(0x19f)]('$contain')?_0x354d21(0x303):_0x354d21(0x28d);if([_0x354d21(0x354),_0x354d21(0x1c5),_0x354d21(0x1c6),'TIME']['includes'](_0x1dbf6b))return _0x761c59[_0x354d21(0x19f)](_0x354d21(0x191))?_0x354d21(0x191):_0x354d21(0x28d);return _0x354d21(0x28d);}['generateExampleValue'](_0x4c68e8,_0x5ddc46){const _0x42723b=a0_0x54060a,_0x22af1e=_0x4c68e8[_0x42723b(0x238)](),_0x30cb26=_0x4c68e8[_0x42723b(0x342)]();if(_0x30cb26&&_0x30cb26[_0x42723b(0x17f)]>0x0){if(_0x5ddc46===_0x42723b(0x272))return _0x30cb26[_0x42723b(0x1a3)](0x0,0x2)[_0x42723b(0x12b)](_0x20e1e0=>_0x20e1e0[_0x42723b(0x130)]);return _0x30cb26[0x0][_0x42723b(0x130)];}if([_0x42723b(0x313),_0x42723b(0x39c),'BIGINT',_0x42723b(0x226)][_0x42723b(0x19f)](_0x22af1e)||[_0x42723b(0x122),_0x42723b(0x1ff),_0x42723b(0x304),_0x42723b(0x2f7),'FLOAT'][_0x42723b(0x19f)](_0x22af1e)){if(_0x5ddc46===_0x42723b(0x272))return[0x1,0x2,0x3];if(_0x5ddc46===_0x42723b(0x191)||_0x5ddc46===_0x42723b(0x3a4))return 0x0;if(_0x5ddc46===_0x42723b(0x25d)||_0x5ddc46===_0x42723b(0x270))return 0x64;return 0x1;}if([_0x42723b(0x3b8),_0x42723b(0x384),_0x42723b(0x143)][_0x42723b(0x19f)](_0x22af1e)||[_0x42723b(0x146),_0x42723b(0x139)][_0x42723b(0x19f)](_0x22af1e)){if(_0x5ddc46===_0x42723b(0x272))return[_0x42723b(0x2ac),_0x42723b(0x351)];if(_0x5ddc46===_0x42723b(0x303))return _0x42723b(0x34b);if(_0x5ddc46===_0x42723b(0x3c6))return'prefix';if(_0x5ddc46===_0x42723b(0x220))return _0x42723b(0x1c0);return _0x42723b(0x130);}if([_0x42723b(0x354),_0x42723b(0x1c5),'TIMESTAMP',_0x42723b(0x293)][_0x42723b(0x19f)](_0x22af1e)){if(_0x5ddc46===_0x42723b(0x191)||_0x5ddc46===_0x42723b(0x3a4))return'2024-01-01';if(_0x5ddc46===_0x42723b(0x25d)||_0x5ddc46===_0x42723b(0x270))return _0x42723b(0x180);return'2024-01-01';}if(['BOOLEAN',_0x42723b(0x39a),'BIT'][_0x42723b(0x19f)](_0x22af1e))return!![];return _0x5ddc46===_0x42723b(0x272)?[_0x42723b(0x2ac),_0x42723b(0x351)]:_0x42723b(0x130);}['getRequestParamsDocInfo'](){const _0x527f2c=a0_0x54060a,_0x45f4bd=this[_0x527f2c(0x171)](),_0x218beb=Object[_0x527f2c(0x2aa)](_0x45f4bd)[_0x527f2c(0x132)](([_0x51b431])=>_0x51b431!==_0x527f2c(0x1ee)&&_0x51b431!=='pageSize')[_0x527f2c(0x12b)](([_0x4ef79d,_0x1c92d3])=>{const _0x5a8a80=_0x527f2c,_0x216e22=_0x1c92d3,_0x26a775={};return _0x26a775[_0x5a8a80(0x175)]=_0x4ef79d,_0x26a775[_0x5a8a80(0x1a2)]=_0x216e22[_0x5a8a80(0x1a2)]||_0x5a8a80(0x243),_0x26a775[_0x5a8a80(0x1ce)]=_0x216e22['description']||'-',_0x26a775[_0x5a8a80(0x17b)]=_0x216e22[_0x5a8a80(0x17b)],_0x26a775;}),_0x5ea4e8={};return _0x5ea4e8[_0x527f2c(0x1ce)]='\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregate`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20HavingCondition[];\x20//\x20分组后的过滤条件(可选,对聚合结果进行过滤)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20column:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a\x0ainterface\x20HavingCondition\x20{\x0a\x20\x20columnName:\x20string;\x20//\x20聚合字段的别名(alias)\x0a\x20\x20condition:\x20WhereCondition;\x20//\x20聚合字段的过滤条件(支持与\x20where\x20相同的操作符)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**HavingCondition\x20使用示例**\x0a\x0a```ts\x0ahaving:\x20[\x0a\x20\x20{\x20columnName:\x20\x22total_amount\x22,\x20condition:\x20{\x20$gte:\x2010000\x20}\x20},\x0a\x20\x20{\x20columnName:\x20\x22count\x22,\x20condition:\x20{\x20$lte:\x20100\x20}\x20}\x0a]\x0a```\x0a\x0a**可用聚合字段**\x0a',_0x5ea4e8['params']=_0x218beb,_0x5ea4e8;}[a0_0x54060a(0x379)](){const _0x1c95b6=a0_0x54060a,_0x10c4bb=this[_0x1c95b6(0x3cc)]()[_0x1c95b6(0x2b0)],_0x395b18=[{}],_0x3a61f8=[];_0x10c4bb?.[_0x1c95b6(0x290)](_0x134ec9=>{const _0x15fef8=_0x1c95b6,_0x3d9019={};_0x3d9019[_0x15fef8(0x260)]=_0x134ec9[_0x15fef8(0x246)],_0x3d9019[_0x15fef8(0x3be)]=_0x134ec9[_0x15fef8(0x246)],_0x3a61f8[_0x15fef8(0x30d)](_0x3d9019),_0x395b18[0x0][_0x134ec9['alias']]=_0x134ec9['type']===_0x15fef8(0x292)?0x64:Math[_0x15fef8(0x1d2)](Math[_0x15fef8(0x1d1)]()*0x64*0x64)/0x64;});const _0x5e456f={};_0x5e456f[_0x1c95b6(0x3a5)]=0x1,_0x5e456f[_0x1c95b6(0x1da)]=0x64,_0x5e456f['currentPage']=0x1;const _0x40022d={};_0x40022d['paging']=_0x5e456f,_0x40022d[_0x1c95b6(0x166)]=_0x395b18,_0x40022d['tableColumns']=_0x3a61f8;const _0x33b1a2={};return _0x33b1a2['success']=!![],_0x33b1a2[_0x1c95b6(0x1f1)]='',_0x33b1a2['errorMsg']='',_0x33b1a2[_0x1c95b6(0x2b5)]=_0x1c95b6(0x227),_0x33b1a2[_0x1c95b6(0x1e0)]=_0x40022d,_0x33b1a2[_0x1c95b6(0x33a)]=null,_0x33b1a2;}}class OperationFactory{[a0_0x54060a(0x239)](_0x2e94f0,_0x1cbf84,_0x2cf897){const _0x265ff6=a0_0x54060a;switch(_0x2e94f0){case _0x265ff6(0x3ac):return new GetSelectOptionsOperation(_0x2e94f0,_0x1cbf84,_0x2cf897);case _0x265ff6(0x13b):return new GetListOperation(_0x2e94f0,_0x1cbf84,_0x2cf897);case'filter':return new FilterOperation(_0x2e94f0,_0x1cbf84,_0x2cf897);case'excelExport':return new ExcelExportOperation(_0x2e94f0,_0x1cbf84,_0x2cf897);case'update':return new UpdateOperation(_0x2e94f0,_0x1cbf84,_0x2cf897);case _0x265ff6(0x2b0):return new AggregateOperation(_0x2e94f0,_0x1cbf84,_0x2cf897);default:return new GenericOperation(_0x2e94f0,_0x1cbf84,_0x2cf897);}}[a0_0x54060a(0x372)](_0x127475,_0x476e76){const _0x356edf=a0_0x54060a,_0x4381fc=new Map();return Object['entries'](_0x127475)[_0x356edf(0x290)](([_0x2b8403,_0xc74321])=>{_0x4381fc['set'](_0x2b8403,this['create'](_0x2b8403,_0xc74321,_0x476e76));}),_0x4381fc;}}class OperationList{[a0_0x54060a(0x30b)];constructor(_0x250454,_0x219cd4){const _0x22579e=a0_0x54060a,_0x36436b=new OperationFactory();this['_operations']=_0x36436b[_0x22579e(0x372)](_0x250454,_0x219cd4);}[a0_0x54060a(0x333)](_0x26547e){const _0x3cf9e0=a0_0x54060a;return this['_operations'][_0x3cf9e0(0x333)](_0x26547e);}['has'](_0x4a5561){const _0x144a9b=a0_0x54060a;return this[_0x144a9b(0x30b)][_0x144a9b(0x19e)](_0x4a5561);}['size'](){const _0x26b43a=a0_0x54060a;return this[_0x26b43a(0x30b)][_0x26b43a(0x337)];}[a0_0x54060a(0x349)](){const _0x3c17a8=a0_0x54060a;return Array['from'](this[_0x3c17a8(0x30b)]['keys']());}[a0_0x54060a(0x36f)](){const _0x33db2a=a0_0x54060a,_0x4600d2=Array[_0x33db2a(0x15c)](this[_0x33db2a(0x30b)]['values']());return this[_0x33db2a(0x157)](_0x4600d2);}[a0_0x54060a(0x118)](){const _0x3bf0ef=a0_0x54060a;return this[_0x3bf0ef(0x36f)]()[_0x3bf0ef(0x132)](_0xe9d43d=>_0xe9d43d[_0x3bf0ef(0x352)]());}[a0_0x54060a(0x35c)](){return this['toArray']()['filter'](_0x315a24=>!_0x315a24['isEnabled']());}['getEnabledNames'](){const _0x10c861=a0_0x54060a;return this[_0x10c861(0x118)]()['map'](_0x5eb639=>_0x5eb639['getName']());}['getDisabledNames'](){const _0x265478=a0_0x54060a;return this['getDisabled']()['map'](_0x28a256=>_0x28a256[_0x265478(0x247)]());}['getByType'](_0x341e48){const _0x54816e=a0_0x54060a;return this[_0x54816e(0x36f)]()[_0x54816e(0x132)](_0x4c1799=>_0x4c1799[_0x54816e(0x1c2)]()===_0x341e48);}[a0_0x54060a(0x132)](_0x18b762){const _0x57a55d=a0_0x54060a;return this[_0x57a55d(0x36f)]()[_0x57a55d(0x132)](_0x18b762);}[a0_0x54060a(0x28c)](_0x2b5b3d={}){const _0x112933=a0_0x54060a;let _0x59d028=this['toArray']();!_0x2b5b3d[_0x112933(0x1d8)]&&(_0x59d028=_0x59d028[_0x112933(0x132)](_0x1d23f9=>_0x1d23f9[_0x112933(0x352)]()));if(_0x2b5b3d['filterBlacklist']!==![]){const _0x34f958=_0x59d028[_0x112933(0x12b)](_0x4edb3e=>({'name':_0x4edb3e[_0x112933(0x247)](),'operation':_0x4edb3e})),_0x3bfbb9=filterApiOperations(_0x34f958);_0x59d028=_0x3bfbb9['map'](_0x419c88=>_0x419c88['operation']),_0x59d028=this['sortOperationsWithFilterFirst'](_0x59d028);}return _0x2b5b3d[_0x112933(0x382)]&&(_0x59d028=_0x59d028['filter'](_0x2b5b3d[_0x112933(0x382)])),_0x59d028;}[a0_0x54060a(0x157)](_0x137f78){const _0x55e299=a0_0x54060a,_0x4ed2e4=_0x137f78[_0x55e299(0x283)](_0x11a62b=>_0x11a62b['getName']()===_0x55e299(0x132)),_0x1ae774=_0x137f78[_0x55e299(0x132)](_0x40d276=>_0x40d276['getName']()!==_0x55e299(0x132));return _0x4ed2e4?[_0x4ed2e4,..._0x1ae774]:_0x1ae774;}[a0_0x54060a(0x277)](){const _0xfe977a=a0_0x54060a,_0x8d0dba=this[_0xfe977a(0x118)]();return{'total':this[_0xfe977a(0x337)](),'enabled':_0x8d0dba['length'],'disabled':this[_0xfe977a(0x337)]()-_0x8d0dba[_0xfe977a(0x17f)],'byType':this[_0xfe977a(0x250)](_0x8d0dba),'byMethod':this[_0xfe977a(0x35e)](_0x8d0dba)};}[a0_0x54060a(0x250)](_0x5d4e66){const _0x5321df={};return _0x5d4e66['forEach'](_0x10412f=>{const _0x54eab8=a0_0x3c25,_0x3abcfc=_0x10412f[_0x54eab8(0x1c2)]();_0x3abcfc&&(_0x5321df[_0x3abcfc]=(_0x5321df[_0x3abcfc]||0x0)+0x1);}),_0x5321df;}[a0_0x54060a(0x35e)](_0x39b031){const _0x212e68=a0_0x54060a,_0x38d215={};return _0x39b031[_0x212e68(0x290)](_0x5c433=>{const _0x32da10=_0x212e68,_0x3893c0=_0x5c433[_0x32da10(0x2de)]();_0x3893c0&&(_0x38d215[_0x3893c0]=(_0x38d215[_0x3893c0]||0x0)+0x1);}),_0x38d215;}[Symbol[a0_0x54060a(0x2fe)]](){const _0x238f5b=a0_0x54060a;return this[_0x238f5b(0x30b)][_0x238f5b(0x256)]();}[a0_0x54060a(0x16e)](){const _0x5b9661=a0_0x54060a,_0x248960=this[_0x5b9661(0x277)]();return _0x5b9661(0x393)+_0x248960['enabled']+'/'+_0x248960[_0x5b9661(0x329)]+'\x20operations)';}}class DBConfig{[a0_0x54060a(0x2a9)];['dbId'];[a0_0x54060a(0x29a)];[a0_0x54060a(0x2cb)];['dbVersion'];[a0_0x54060a(0x2f4)];[a0_0x54060a(0x1e7)];[a0_0x54060a(0x194)];constructor(_0x1d9bfe,_0x3a90af){const _0x1b790c=a0_0x54060a;this[_0x1b790c(0x2a9)]=_0x3a90af,this[_0x1b790c(0x185)]=_0x1d9bfe[_0x1b790c(0x185)],this[_0x1b790c(0x29a)]=_0x1d9bfe[_0x1b790c(0x29a)],this[_0x1b790c(0x2cb)]=_0x1d9bfe['dbType'],this[_0x1b790c(0x1fe)]=_0x1d9bfe['dbVersion'],this[_0x1b790c(0x2f4)]=_0x1d9bfe[_0x1b790c(0x2f4)],this['datasetKey']=_0x1d9bfe[_0x1b790c(0x1e7)],this[_0x1b790c(0x194)]=_0x1d9bfe[_0x1b790c(0x194)];}[a0_0x54060a(0x126)](){const _0xaea6a0=a0_0x54060a;return this[_0xaea6a0(0x2a9)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x54060a(0x2b7)];[a0_0x54060a(0x23e)];[a0_0x54060a(0x2e9)];constructor(_0x3a3d49){const _0x5a7784=a0_0x54060a,_0x28eabd={..._0x3a3d49};_0x28eabd['id']=_0x3a3d49[_0x5a7784(0x2c8)]||_0x3a3d49['id'],_0x28eabd['datasetCode']=_0x3a3d49[_0x5a7784(0x2a2)]||_0x3a3d49['datasetCode']||_0x3a3d49[_0x5a7784(0x280)],super(_0x28eabd);}[a0_0x54060a(0x1db)](){return;}[a0_0x54060a(0x3c3)](){return[];}[a0_0x54060a(0x131)](){return[];}get[a0_0x54060a(0x3c1)](){const _0x357d88=a0_0x54060a;return this[_0x357d88(0x310)]();}[a0_0x54060a(0x326)](){const _0x5eb3bc=a0_0x54060a;if(!this[_0x5eb3bc(0x23e)]){const _0x20edf9=this[_0x5eb3bc(0x2b9)]();throw new Error('getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass');}return this[_0x5eb3bc(0x23e)];}[a0_0x54060a(0x2ba)](){const _0x5e9ac7=a0_0x54060a;if(!this[_0x5e9ac7(0x2e9)]){const _0xfa63bb=this[_0x5e9ac7(0x2b9)]();throw new Error(_0x5e9ac7(0x37f));}return this[_0x5e9ac7(0x2e9)];}['getFields'](){return[];}[a0_0x54060a(0x1ea)](){const _0x2f95e2=a0_0x54060a,_0x8efe19=this[_0x2f95e2(0x2b9)]();return _0x8efe19[_0x2f95e2(0x2ae)];}[a0_0x54060a(0x2c9)](){const _0x130c2a=a0_0x54060a;return this['getFields']()[_0x130c2a(0x17f)];}['getField'](_0x5347ad){const _0x103112=this['getFieldInstance'](_0x5347ad);return _0x103112?_0x103112['raw']:undefined;}[a0_0x54060a(0x1b1)](_0x1eaf16){return;}[a0_0x54060a(0x1f9)](_0xce8f5d){const _0x57de16=a0_0x54060a;if(!_0xce8f5d||typeof _0xce8f5d!=='object')return!![]&&console['warn'](_0x57de16(0x1a0),_0xce8f5d),{};if(_0x57de16(0x194)in _0xce8f5d){const _0x10fe7d=_0xce8f5d;return{'primaryKey':_0x10fe7d[_0x57de16(0x194)],'required':_0x10fe7d[_0x57de16(0x17b)],'systemRetain':Boolean(_0x10fe7d['systemRetain']),'autoIncrement':_0x10fe7d['autoIncrement']??undefined};}if(!(_0x57de16(0x330)in _0xce8f5d)||!_0xce8f5d[_0x57de16(0x330)])return{};try{const _0x539f40=typeof _0xce8f5d[_0x57de16(0x330)]===_0x57de16(0x264)?JSON['parse'](_0xce8f5d['extend']):_0xce8f5d[_0x57de16(0x330)];if(typeof _0x539f40!==_0x57de16(0x1ef)||_0x539f40===null)return{};return _0x539f40;}catch{return{};}}[a0_0x54060a(0x37e)](){const _0x43581b=a0_0x54060a;if(!this[_0x43581b(0x2b7)]){const _0x2a7976=this[_0x43581b(0x224)](this[_0x43581b(0x37b)]()||{});this[_0x43581b(0x2b7)]=new OperationList(_0x2a7976,{'fields':this['getFieldList']()['all'](),'pkField':this[_0x43581b(0x394)][_0x43581b(0x263)]?.[_0x43581b(0x194)],'dbtableConfig':this[_0x43581b(0x394)]['dbtableConfig']||null});}return this[_0x43581b(0x2b7)];}[a0_0x54060a(0x224)](_0x437121){const _0x25e8f1=a0_0x54060a;if(_0x437121['filter']!==undefined)return _0x437121;return{..._0x437121,'filter':this[_0x25e8f1(0x27f)]()};}['generateDefaultFilterOperation'](){const _0x15c5d6=a0_0x54060a,_0x3c9508=this['getOperationsData']()?.[_0x15c5d6(0x13b)];let _0x2d2aae=_0x3c9508?.[_0x15c5d6(0x201)],_0x5dd76f='';if(!_0x2d2aae&&this[_0x15c5d6(0x37b)]()){const _0x48f9aa=Object['values'](this[_0x15c5d6(0x37b)]());for(const _0x140dcc of _0x48f9aa){if(_0x140dcc&&typeof _0x140dcc===_0x15c5d6(0x1ef)&&_0x15c5d6(0x201)in _0x140dcc){_0x2d2aae=_0x140dcc['host'];break;}}}if(_0x3c9508?.['path']){const _0x17b082=_0x3c9508[_0x15c5d6(0x15d)],_0x4d4990=_0x17b082['lastIndexOf']('/');_0x4d4990!==-0x1&&(_0x5dd76f=_0x17b082[_0x15c5d6(0x296)](0x0,_0x4d4990));}const _0x164acc={};_0x164acc[_0x15c5d6(0x175)]='where',_0x164acc[_0x15c5d6(0x1a2)]=_0x15c5d6(0x1ef),_0x164acc[_0x15c5d6(0x17b)]=![];const _0x25d160={};_0x25d160['name']=_0x15c5d6(0x23a),_0x25d160[_0x15c5d6(0x1a2)]='array',_0x25d160[_0x15c5d6(0x17b)]=![];const _0x5aeb09={};_0x5aeb09[_0x15c5d6(0x175)]=_0x15c5d6(0x255),_0x5aeb09[_0x15c5d6(0x1a2)]=_0x15c5d6(0x34a),_0x5aeb09[_0x15c5d6(0x17b)]=![];const _0xd452f1={};_0xd452f1[_0x15c5d6(0x175)]=_0x15c5d6(0x1ee),_0xd452f1[_0x15c5d6(0x1a2)]=_0x15c5d6(0x23f),_0xd452f1[_0x15c5d6(0x17b)]=![],_0xd452f1[_0x15c5d6(0x1a4)]=0x1;const _0x271f40={};_0x271f40[_0x15c5d6(0x175)]=_0x15c5d6(0x3a5),_0x271f40[_0x15c5d6(0x1a2)]=_0x15c5d6(0x23f),_0x271f40[_0x15c5d6(0x17b)]=![],_0x271f40['default']=0xa;const _0x3eb401={};return _0x3eb401['name']=_0x15c5d6(0x132),_0x3eb401['type']='query',_0x3eb401[_0x15c5d6(0x1ce)]=_0x15c5d6(0x35b),_0x3eb401['method']=_0x15c5d6(0x188),_0x3eb401[_0x15c5d6(0x201)]=_0x2d2aae,_0x3eb401[_0x15c5d6(0x15d)]=_0x5dd76f?_0x5dd76f+_0x15c5d6(0x1b7):'/filter',_0x3eb401[_0x15c5d6(0x33a)]=_0x3c9508?.[_0x15c5d6(0x33a)]||[_0x164acc,_0x25d160,_0x5aeb09,_0xd452f1,_0x271f40],_0x3eb401[_0x15c5d6(0x29c)]=!![],_0x3eb401;}['getOperations'](){const _0x293136=a0_0x54060a;return this[_0x293136(0x37e)]()[_0x293136(0x36f)]();}[a0_0x54060a(0x33e)](){const _0x117027=a0_0x54060a;return this[_0x117027(0x37e)]()[_0x117027(0x337)]();}[a0_0x54060a(0x2e1)](_0x115b5e){const _0x346769=a0_0x54060a;if(typeof _0x115b5e!=='string'){!![]&&console[_0x346769(0x178)](_0x346769(0x15a),_0x115b5e);return;}return this[_0x346769(0x37e)]()['get'](_0x115b5e);}[a0_0x54060a(0x2ea)](_0x17be6e){const _0xe1dd81=a0_0x54060a;if(typeof _0x17be6e!==_0xe1dd81(0x264))return![];return this['getOperationList']()[_0xe1dd81(0x19e)](_0x17be6e);}[a0_0x54060a(0x356)](_0x11b886){const _0x5252b4=a0_0x54060a;if(typeof _0x11b886!=='string')return![];const _0x3e9c88=this[_0x5252b4(0x2e1)](_0x11b886);return _0x3e9c88?.['isEnabled']()||![];}[a0_0x54060a(0x14f)](){const _0x3d722b=a0_0x54060a;return this[_0x3d722b(0x37e)]()['getEnabledNames']();}[a0_0x54060a(0x2a4)](){const _0x5cda60=a0_0x54060a;return this[_0x5cda60(0x37e)]()[_0x5cda60(0x319)]();}[a0_0x54060a(0x2bc)](){const _0x9e1a92=a0_0x54060a;return this[_0x9e1a92(0x37e)]()[_0x9e1a92(0x118)]();}[a0_0x54060a(0x25c)](){const _0x86a734=a0_0x54060a;return this[_0x86a734(0x37e)]()[_0x86a734(0x35c)]();}['getStats'](){const _0x14323d=a0_0x54060a;return{'fieldCount':this[_0x14323d(0x2c9)](),'systemFieldCount':this['getSystemFields']()['length'],'businessFieldCount':this['getBusinessFields']()[_0x14323d(0x17f)],'requiredFieldCount':this['getRequiredFields']()[_0x14323d(0x17f)],'primaryKeyCount':this[_0x14323d(0x257)]()[_0x14323d(0x17f)],'operationCount':this['getOperationCount'](),'enabledOperationCount':this[_0x14323d(0x14f)]()[_0x14323d(0x17f)]};}[a0_0x54060a(0x135)](_0x4a75de){const _0x518887=a0_0x54060a;if(!_0x4a75de||typeof _0x4a75de!==_0x518887(0x1ef))return'';if(_0x518887(0x280)in _0x4a75de&&typeof _0x4a75de[_0x518887(0x280)]==='string')return _0x4a75de[_0x518887(0x280)];if('name'in _0x4a75de&&typeof _0x4a75de[_0x518887(0x175)]===_0x518887(0x264))return _0x4a75de[_0x518887(0x175)];return'';}[a0_0x54060a(0x142)](_0x46d5f3){const _0x57e308=a0_0x54060a;return this[_0x57e308(0x326)]()['has'](_0x46d5f3);}[a0_0x54060a(0x2ed)](_0x13c3e0){const _0x6921fd=a0_0x54060a;if(!_0x13c3e0||typeof _0x13c3e0!==_0x6921fd(0x1ef))return![];const _0x307c08=this[_0x6921fd(0x135)](_0x13c3e0),_0x9c2f1=this[_0x6921fd(0x20f)](_0x307c08);return _0x9c2f1?_0x9c2f1[_0x6921fd(0x350)]():![];}[a0_0x54060a(0x32a)](_0x564611){const _0x491417=a0_0x54060a;if(!_0x564611||typeof _0x564611!==_0x491417(0x1ef))return![];const _0x4d1874=this['getFieldCode'](_0x564611),_0x51372d=this[_0x491417(0x20f)](_0x4d1874);return _0x51372d?_0x51372d['isSystem']():![];}['isRequiredField'](_0x15a771){const _0x293a35=a0_0x54060a;if(!_0x15a771||typeof _0x15a771!==_0x293a35(0x1ef))return![];const _0x35194b=this[_0x293a35(0x135)](_0x15a771),_0x55417f=this[_0x293a35(0x20f)](_0x35194b);return _0x55417f?_0x55417f[_0x293a35(0x158)]():![];}[a0_0x54060a(0x294)](_0x463c26){const _0x36ef85=a0_0x54060a;if(!_0x463c26||typeof _0x463c26!==_0x36ef85(0x1ef))return![];const _0x98a22a=this[_0x36ef85(0x135)](_0x463c26),_0x1661df=this[_0x36ef85(0x20f)](_0x98a22a);return _0x1661df?_0x1661df[_0x36ef85(0x1a6)]():![];}['isMultipleSelectField'](_0x27b6e6){const _0x4dec39=a0_0x54060a;if(!_0x27b6e6||typeof _0x27b6e6!==_0x4dec39(0x1ef))return![];const _0xbd34cd=this[_0x4dec39(0x135)](_0x27b6e6),_0x3f0f0d=this[_0x4dec39(0x20f)](_0xbd34cd);return _0x3f0f0d?_0x3f0f0d['isMultipleSelect']():![];}['getFieldOptions'](_0x53f62b){const _0x2a7b09=a0_0x54060a;if(!_0x53f62b||typeof _0x53f62b!==_0x2a7b09(0x1ef))return[];const _0x23db9e=this[_0x2a7b09(0x135)](_0x53f62b),_0xb89adc=this[_0x2a7b09(0x20f)](_0x23db9e);if(!_0xb89adc||!_0xb89adc[_0x2a7b09(0x1a6)]())return[];return _0xb89adc[_0x2a7b09(0x342)]()||[];}[a0_0x54060a(0x189)](_0x57903e){const _0x4ec5d8=a0_0x54060a;if(!_0x57903e||typeof _0x57903e!==_0x4ec5d8(0x1ef))return;const _0x4e12d9=this[_0x4ec5d8(0x135)](_0x57903e),_0x290efc=this[_0x4ec5d8(0x20f)](_0x4e12d9);if(!_0x290efc||!_0x290efc[_0x4ec5d8(0x1a6)]())return;return _0x290efc[_0x4ec5d8(0x3bb)]();}[a0_0x54060a(0x218)](_0x4ae2a0){const _0x1f0501=a0_0x54060a;if(!_0x4ae2a0||typeof _0x4ae2a0!==_0x1f0501(0x1ef))return;const _0x150ce2=this[_0x1f0501(0x135)](_0x4ae2a0),_0x5cb866=this['getFieldInstance'](_0x150ce2);if(!_0x5cb866||!_0x5cb866['isEnum']())return;return _0x5cb866[_0x1f0501(0x371)]();}[a0_0x54060a(0x257)](){const _0x2a1d46=a0_0x54060a;return this[_0x2a1d46(0x326)]()[_0x2a1d46(0x11c)]()[_0x2a1d46(0x12b)](_0x3eb1bb=>_0x3eb1bb[_0x2a1d46(0x2a9)]);}['getSystemFields'](){const _0x28b8f5=a0_0x54060a;return this['getFieldList']()[_0x28b8f5(0x2a8)]()[_0x28b8f5(0x12b)](_0x36c873=>_0x36c873[_0x28b8f5(0x2a9)]);}['getBusinessFields'](){const _0x5c21c4=a0_0x54060a;return this[_0x5c21c4(0x326)]()[_0x5c21c4(0x3cd)]()['map'](_0x389696=>_0x389696[_0x5c21c4(0x2a9)]);}['getRequiredFields'](){const _0x111b57=a0_0x54060a;return this['getFieldList']()[_0x111b57(0x27b)]()[_0x111b57(0x12b)](_0x423cc7=>_0x423cc7[_0x111b57(0x2a9)]);}[a0_0x54060a(0x2d3)](){const _0x410364=a0_0x54060a,_0x5af600=this[_0x410364(0x326)]()[_0x410364(0x162)](),_0x59b2c0={};for(const [_0xf677e2,_0x16fa62]of Object[_0x410364(0x2aa)](_0x5af600)){_0x59b2c0[_0xf677e2]=_0x16fa62['map'](_0x4a8bf1=>_0x4a8bf1[_0x410364(0x2a9)]);}return _0x59b2c0;}[a0_0x54060a(0x31e)](){const _0x2e6f1d=a0_0x54060a;return this[_0x2e6f1d(0x326)]()[_0x2e6f1d(0x3b2)]()[_0x2e6f1d(0x12b)](_0x4ba060=>_0x4ba060[_0x2e6f1d(0x2a9)]);}[a0_0x54060a(0x36d)](){const _0x1b9be2=a0_0x54060a,_0x1a2026={};return this[_0x1b9be2(0x31e)]()['forEach'](_0x1d2554=>{const _0x22684b=_0x1b9be2,_0x513ae7=this[_0x22684b(0x218)](_0x1d2554);if(_0x513ae7){const _0x3ab9ff=this['getFieldCode'](_0x1d2554);_0x1a2026[_0x3ab9ff]=_0x513ae7;}}),_0x1a2026;}[a0_0x54060a(0x1c3)](_0xd33d00,_0x3a1a93){const _0x1d64eb=a0_0x54060a,_0x1ae3bf=this[_0x1d64eb(0x218)](_0xd33d00);if(!_0x1ae3bf)return!![];if(_0x1ae3bf[_0x1d64eb(0x3a2)]&&!_0x1ae3bf[_0x1d64eb(0x12c)])return!![];const _0x1ce3f2=this[_0x1d64eb(0x135)](_0xd33d00),_0x3d3324=this[_0x1d64eb(0x20f)](_0x1ce3f2),_0x458d64=_0x3d3324?_0x3d3324[_0x1d64eb(0x334)]():![];if(_0x458d64&&Array['isArray'](_0x3a1a93))return _0x3a1a93['every'](_0x1204ed=>_0x1ae3bf[_0x1d64eb(0x256)][_0x1d64eb(0x19f)](_0x1204ed));return _0x1ae3bf[_0x1d64eb(0x256)]['includes'](_0x3a1a93);}['toListItem'](){const _0x3b3df9=a0_0x54060a;return new DatasetItem({'id':this['id'],'name':this[_0x3b3df9(0x175)],'datasetCode':this[_0x3b3df9(0x355)],'dbtableConfig':this[_0x3b3df9(0x29d)]()});}[a0_0x54060a(0x16e)](){const _0xc0393a=a0_0x54060a;return _0xc0393a(0x2e7)+this['name']+',\x20'+this['datasetCode']+',\x20'+this[_0xc0393a(0x2c9)]()+_0xc0393a(0x219)+this['getOperationCount']()+'\x20operations,\x20'+this[_0xc0393a(0x387)]()+')';}[a0_0x54060a(0x124)](){const _0x135821=a0_0x54060a;return this[_0x135821(0x244)](_0x135821(0x132));}[a0_0x54060a(0x213)](_0x4fa8bc){const _0x42cada=a0_0x54060a;return this[_0x42cada(0x299)]('filter',_0x4fa8bc);}['getFieldsFilterOperatorsMap'](){const _0x3383d9=a0_0x54060a;return this[_0x3383d9(0x32c)](_0x3383d9(0x132));}[a0_0x54060a(0x244)](_0x15d39d){const _0x56b47f=a0_0x54060a,_0x4a8bf3=this[_0x56b47f(0x2e1)](_0x15d39d);return _0x4a8bf3?_0x4a8bf3[_0x56b47f(0x13d)]():[];}[a0_0x54060a(0x299)](_0x330976,_0x1c5124){const _0x3ef165=a0_0x54060a,_0x211d39=this[_0x3ef165(0x2e1)](_0x330976);return _0x211d39?_0x211d39[_0x3ef165(0x12e)](_0x1c5124):[];}[a0_0x54060a(0x32c)](_0x741d1){const _0x27c2da=a0_0x54060a,_0x7a9af8={};return this[_0x27c2da(0x326)]()[_0x27c2da(0x290)](_0x4c9ceb=>{const _0x745495=_0x27c2da,_0x3ea5fa=this[_0x745495(0x299)](_0x741d1,_0x4c9ceb[_0x745495(0x280)]);_0x3ea5fa[_0x745495(0x17f)]>0x0&&(_0x7a9af8[_0x4c9ceb[_0x745495(0x280)]]=_0x3ea5fa);}),_0x7a9af8;}[a0_0x54060a(0x18b)](_0x330eec,_0x3db744,_0x13096f){const _0x3ec6df=this['getOperationFieldOperators'](_0x330eec,_0x3db744);return _0x3ec6df['includes'](_0x13096f);}}class FieldBase{get[a0_0x54060a(0x2cb)](){return;}get[a0_0x54060a(0x3d7)](){return;}get[a0_0x54060a(0x368)](){return;}get[a0_0x54060a(0x278)](){return;}[a0_0x54060a(0x370)](){const _0x3e91e0=a0_0x54060a;return!this[_0x3e91e0(0x22c)]();}[a0_0x54060a(0x274)](){const _0x3c5064=a0_0x54060a;return this[_0x3c5064(0x391)];}['isEnum'](){const _0x25ba41=a0_0x54060a,_0x53438d=[_0x25ba41(0x2d4),_0x25ba41(0x121),_0x25ba41(0x11d)];return _0x53438d[_0x25ba41(0x19f)](this['type']);}[a0_0x54060a(0x334)](){const _0x17f304=a0_0x54060a;return this[_0x17f304(0x1a2)]==='CHECKBOX';}[a0_0x54060a(0x1f5)](){const _0x102552=a0_0x54060a,_0x38ba08=this[_0x102552(0x371)]();return _0x38ba08?.['values']||[];}[a0_0x54060a(0x371)](){const _0x376740=a0_0x54060a;if(!this[_0x376740(0x1a6)]())return;const _0x41c5e0=this['getEnumOptions'](),_0x439cb2=this[_0x376740(0x3bb)](),_0xfff7a1=[],_0x4e51ea={},_0x3eb91b=_0x5ef93c=>{_0x5ef93c['forEach'](_0x35c438=>{const _0x4c8c1f=a0_0x3c25;_0xfff7a1[_0x4c8c1f(0x30d)](_0x35c438[_0x4c8c1f(0x130)]),_0x4e51ea[String(_0x35c438['value'])]=_0x35c438['label'],_0x35c438[_0x4c8c1f(0x2a3)]&&_0x35c438['children'][_0x4c8c1f(0x17f)]>0x0&&_0x3eb91b(_0x35c438[_0x4c8c1f(0x2a3)]);});};return _0x41c5e0&&_0x41c5e0['length']>0x0&&_0x3eb91b(_0x41c5e0),{'code':this[_0x376740(0x280)],'name':this[_0x376740(0x175)],'type':this[_0x376740(0x1a2)],'multiple':this[_0x376740(0x334)](),'options':_0x41c5e0,'selectItemsSource':_0x439cb2,'values':_0xfff7a1,'valueLabels':_0x4e51ea};}[a0_0x54060a(0x16e)](){const _0x1954b9=a0_0x54060a;return'Field('+this[_0x1954b9(0x175)]+',\x20'+this[_0x1954b9(0x280)]+',\x20'+this[_0x1954b9(0x1a2)]+',\x20'+this['getVersion']()+')';}}class FieldV1 extends FieldBase{[a0_0x54060a(0x394)];[a0_0x54060a(0x26e)]=null;constructor(_0x3044b5){const _0x3441f0=a0_0x54060a;super();if(!_0x3044b5||typeof _0x3044b5!==_0x3441f0(0x1ef))throw new Error(_0x3441f0(0x2d2));this[_0x3441f0(0x394)]=_0x3044b5;}[a0_0x54060a(0x18d)](){const _0x353862=a0_0x54060a;return this[_0x353862(0x394)];}[a0_0x54060a(0x387)](){return'v1';}get[a0_0x54060a(0x2a9)](){const _0x333f2d=a0_0x54060a;return this[_0x333f2d(0x394)];}get[a0_0x54060a(0x175)](){const _0x48ab3b=a0_0x54060a;return this[_0x48ab3b(0x394)]['name']||'';}get[a0_0x54060a(0x280)](){const _0x45e44c=a0_0x54060a;return this[_0x45e44c(0x394)]['code']||'';}get[a0_0x54060a(0x1a2)](){const _0x8e8894=a0_0x54060a;return this[_0x8e8894(0x394)][_0x8e8894(0x1a2)]||'';}get[a0_0x54060a(0x1ce)](){const _0x1b91af=a0_0x54060a;return this[_0x1b91af(0x394)]['description']||'';}get[a0_0x54060a(0x391)](){const _0x11d4f7=a0_0x54060a;return Boolean(this[_0x11d4f7(0x394)]['deleted']);}get[a0_0x54060a(0x2cb)](){return this['_raw']['dbType'];}get[a0_0x54060a(0x3d7)](){return this['_raw']['dbTypeLen'];}get[a0_0x54060a(0x368)](){const _0x24441f=a0_0x54060a;return this[_0x24441f(0x394)][_0x24441f(0x246)];}get['doType'](){return;}get['extend'](){const _0x349f31=a0_0x54060a;if(this['_extend']!==null&&typeof this[_0x349f31(0x26e)]==='object')return this[_0x349f31(0x26e)];const _0x30ce21=this[_0x349f31(0x394)][_0x349f31(0x330)];if(!_0x30ce21||typeof _0x30ce21!==_0x349f31(0x264))return this[_0x349f31(0x26e)]={},this['_extend'];if(_0x30ce21===_0x349f31(0x2cd)||_0x30ce21['trim']()==='null')return this[_0x349f31(0x26e)]={},this['_extend'];try{const _0x2a29f3=JSON[_0x349f31(0x359)](_0x30ce21);return this['_extend']=_0x2a29f3!==null&&typeof _0x2a29f3===_0x349f31(0x1ef)&&!Array['isArray'](_0x2a29f3)?_0x2a29f3:{},this[_0x349f31(0x26e)];}catch(_0x168254){return!![]&&console['warn'](_0x349f31(0x2a1)+this['code']+_0x349f31(0x31d),_0x168254),this['_extend']={},this[_0x349f31(0x26e)];}}[a0_0x54060a(0x158)](){const _0x3a507b=a0_0x54060a;return Boolean(this[_0x3a507b(0x330)][_0x3a507b(0x17b)]);}[a0_0x54060a(0x350)](){const _0xf9e1f2=a0_0x54060a;return Boolean(this[_0xf9e1f2(0x330)][_0xf9e1f2(0x217)]||this[_0xf9e1f2(0x330)]['pkField']);}[a0_0x54060a(0x22c)](){const _0x3b04d3=a0_0x54060a;return Boolean(this['extend'][_0x3b04d3(0x1d3)]);}[a0_0x54060a(0x331)](){const _0x5592d6=a0_0x54060a;return Boolean(this[_0x5592d6(0x330)][_0x5592d6(0x214)]);}[a0_0x54060a(0x1f4)](){const _0x4923ec=a0_0x54060a;return Boolean(this[_0x4923ec(0x330)]['createTime']);}[a0_0x54060a(0x195)](){const _0x5ef468=a0_0x54060a;return Boolean(this[_0x5ef468(0x330)][_0x5ef468(0x311)]);}[a0_0x54060a(0x390)](){const _0x4ddc27=a0_0x54060a;return this[_0x4ddc27(0x175)];}['getFieldName'](){const _0x1818b4=a0_0x54060a;return this[_0x1818b4(0x280)];}['isEnum'](){const _0x2ce00d=a0_0x54060a,_0x1e4e34=['RADIO',_0x2ce00d(0x121),'CHECKBOX'];if(_0x1e4e34[_0x2ce00d(0x19f)](this[_0x2ce00d(0x1a2)]))return!![];const _0x1a200f=this['extend'];return Boolean(_0x1a200f[_0x2ce00d(0x12c)]&&Array[_0x2ce00d(0x1bf)](_0x1a200f[_0x2ce00d(0x12c)])&&_0x1a200f['options'][_0x2ce00d(0x17f)]>0x0||_0x1a200f[_0x2ce00d(0x3a2)]);}[a0_0x54060a(0x334)](){const _0x252e19=a0_0x54060a;if(this[_0x252e19(0x1a2)]==='CHECKBOX')return!![];return Boolean(this[_0x252e19(0x330)]['multiple']);}[a0_0x54060a(0x342)](){const _0xa132e=a0_0x54060a,_0x91fe55=this[_0xa132e(0x330)];if(_0x91fe55[_0xa132e(0x12c)]&&Array[_0xa132e(0x1bf)](_0x91fe55['options']))return _0x91fe55[_0xa132e(0x12c)];return;}['getSelectItemsSource'](){const _0x163f49=a0_0x54060a,_0x3f232f=this['extend'];if(_0x3f232f[_0x163f49(0x3a2)]&&typeof _0x3f232f[_0x163f49(0x3a2)]===_0x163f49(0x1ef))return _0x3f232f[_0x163f49(0x3a2)];return;}['getDbTypeForOperation'](){const _0x587d28=a0_0x54060a;return this[_0x587d28(0x1a2)]['toUpperCase']();}[a0_0x54060a(0x1c4)](){const _0x4be829=a0_0x54060a;return this[_0x4be829(0x330)]['defaultValue'];}[a0_0x54060a(0x398)](){const _0x31999b=a0_0x54060a;return this[_0x31999b(0x330)][_0x31999b(0x374)];}[a0_0x54060a(0x252)](){const _0x412ce7=a0_0x54060a;return{'name':this[_0x412ce7(0x175)],'code':this[_0x412ce7(0x280)],'type':this[_0x412ce7(0x1a2)],'description':this[_0x412ce7(0x1ce)],'required':this[_0x412ce7(0x158)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x412ce7(0x22c)](),'autoIncrement':this[_0x412ce7(0x331)](),'createTime':this[_0x412ce7(0x1f4)](),'updateTime':this[_0x412ce7(0x195)](),'isEnum':this[_0x412ce7(0x1a6)](),'enumMeta':this[_0x412ce7(0x1a6)]()?this[_0x412ce7(0x371)]():undefined};}['toString'](){const _0x2cce0a=a0_0x54060a;return'FieldV1('+this[_0x2cce0a(0x175)]+',\x20'+this[_0x2cce0a(0x280)]+',\x20'+this[_0x2cce0a(0x1a2)]+')';}}class FieldListBase{[a0_0x54060a(0x2cc)];constructor(_0x55aa31,_0x58fdc1){const _0x4d3c3e=a0_0x54060a;if(!Array[_0x4d3c3e(0x1bf)](_0x55aa31))throw new Error(_0x4d3c3e(0x1bb));const _0x54d279=_0x58fdc1?.[_0x4d3c3e(0x36e)]??![],_0x9d5983=_0x54d279?_0x55aa31:_0x55aa31['filter'](_0x1e8d6a=>{const _0x29c361=_0x1e8d6a;return!_0x29c361['deleted'];});this[_0x4d3c3e(0x2cc)]=this['createFields'](_0x9d5983);}get['length'](){const _0x37a8de=a0_0x54060a;return this[_0x37a8de(0x2cc)][_0x37a8de(0x17f)];}[a0_0x54060a(0x170)](){const _0x33b18c=a0_0x54060a;return[...this[_0x33b18c(0x2cc)]];}['at'](_0x216531){const _0x33577a=a0_0x54060a;return this[_0x33577a(0x2cc)]['at'](_0x216531);}[a0_0x54060a(0x283)](_0x14a8aa){const _0x555a3d=a0_0x54060a;return this['_fields'][_0x555a3d(0x283)](_0x5d12bb=>_0x5d12bb[_0x555a3d(0x280)]===_0x14a8aa);}[a0_0x54060a(0x287)](_0x3ce567){const _0x100afd=a0_0x54060a;return this[_0x100afd(0x2cc)]['find'](_0x3d64a6=>_0x3d64a6[_0x100afd(0x175)]===_0x3ce567);}[a0_0x54060a(0x19e)](_0x39f8e9){const _0x1921b8=a0_0x54060a;return this[_0x1921b8(0x2cc)]['some'](_0xc0659=>_0xc0659[_0x1921b8(0x280)]===_0x39f8e9);}['forEach'](_0x1b7e33){const _0x150de9=a0_0x54060a;this[_0x150de9(0x2cc)][_0x150de9(0x290)](_0x1b7e33);}[a0_0x54060a(0x12b)](_0x505a65){const _0x41efaf=a0_0x54060a;return this[_0x41efaf(0x2cc)][_0x41efaf(0x12b)](_0x505a65);}[a0_0x54060a(0x132)](_0x1058e5){const _0x4b97d9=a0_0x54060a;return this['_fields'][_0x4b97d9(0x132)](_0x1058e5);}[a0_0x54060a(0x179)](_0x1fab9e){const _0x4b5731=a0_0x54060a;return this['_fields'][_0x4b5731(0x179)](_0x1fab9e);}[a0_0x54060a(0x1ae)](_0x5d1661){const _0x4d5875=a0_0x54060a;return this['_fields'][_0x4d5875(0x1ae)](_0x5d1661);}[a0_0x54060a(0x27b)](){const _0x34e30f=a0_0x54060a;return this['_fields']['filter'](_0x2f96f5=>_0x2f96f5[_0x34e30f(0x158)]());}[a0_0x54060a(0x11c)](){const _0x25c208=a0_0x54060a;return this[_0x25c208(0x2cc)][_0x25c208(0x132)](_0x6ee294=>_0x6ee294[_0x25c208(0x350)]());}[a0_0x54060a(0x2a8)](){const _0xf009b=a0_0x54060a;return this[_0xf009b(0x2cc)][_0xf009b(0x132)](_0x1fff34=>_0x1fff34['isSystem']());}[a0_0x54060a(0x3cd)](){const _0x30167b=a0_0x54060a;return this[_0x30167b(0x2cc)][_0x30167b(0x132)](_0x50dd85=>_0x50dd85[_0x30167b(0x370)]());}[a0_0x54060a(0x3b2)](){const _0x40a178=a0_0x54060a;return this['_fields'][_0x40a178(0x132)](_0xdd8b58=>_0xdd8b58[_0x40a178(0x1a6)]());}[a0_0x54060a(0x39d)](){const _0xedf11e=a0_0x54060a;return this[_0xedf11e(0x2cc)][_0xedf11e(0x132)](_0x511d90=>_0x511d90['isAutoIncrement']());}[a0_0x54060a(0x1ca)](){const _0x33af65=a0_0x54060a;return this[_0x33af65(0x2cc)][_0x33af65(0x132)](_0x32d953=>_0x32d953['isCreateTime']());}[a0_0x54060a(0x332)](){return this['_fields']['filter'](_0x4f19eb=>_0x4f19eb['isUpdateTime']());}[a0_0x54060a(0x377)](){const _0x273e2b=a0_0x54060a;return this[_0x273e2b(0x2cc)]['filter'](_0x5a89b3=>_0x5a89b3[_0x273e2b(0x274)]());}['getActive'](){const _0x3f4971=a0_0x54060a;return this['_fields'][_0x3f4971(0x132)](_0x17c6d8=>!_0x17c6d8[_0x3f4971(0x274)]());}[a0_0x54060a(0x162)](){const _0x43b242=a0_0x54060a,_0x1b6b71={};return this[_0x43b242(0x2cc)]['forEach'](_0x13fe7a=>{const _0x1aecde=_0x43b242,_0x6d172f=_0x13fe7a[_0x1aecde(0x1a2)];!_0x1b6b71[_0x6d172f]&&(_0x1b6b71[_0x6d172f]=[]),_0x1b6b71[_0x6d172f][_0x1aecde(0x30d)](_0x13fe7a);}),_0x1b6b71;}[a0_0x54060a(0x340)](){const _0x2a5b10=a0_0x54060a,_0x55e5b9={};return this[_0x2a5b10(0x2cc)][_0x2a5b10(0x290)](_0x29416f=>{const _0x138f3b=_0x2a5b10;if(_0x29416f[_0x138f3b(0x1a6)]()){const _0x29d8e6=_0x29416f[_0x138f3b(0x371)]();_0x29d8e6&&(_0x55e5b9[_0x29416f[_0x138f3b(0x280)]]=_0x29d8e6);}}),_0x55e5b9;}['getStats'](){const _0x273c74=a0_0x54060a;return{'total':this[_0x273c74(0x17f)],'required':this[_0x273c74(0x27b)]()[_0x273c74(0x17f)],'primaryKey':this['getPrimaryKeys']()[_0x273c74(0x17f)],'system':this[_0x273c74(0x2a8)]()['length'],'business':this[_0x273c74(0x3cd)]()['length'],'enum':this[_0x273c74(0x3b2)]()[_0x273c74(0x17f)],'autoIncrement':this[_0x273c74(0x39d)]()[_0x273c74(0x17f)]};}['getCodes'](){const _0x227dd5=a0_0x54060a;return this['_fields']['map'](_0x18367a=>_0x18367a[_0x227dd5(0x280)]);}[a0_0x54060a(0x349)](){const _0x7de2=a0_0x54060a;return this['_fields'][_0x7de2(0x12b)](_0x9d51ee=>_0x9d51ee[_0x7de2(0x390)]());}['getFieldNames'](){const _0x3d8b4f=a0_0x54060a;return this['_fields']['map'](_0x176126=>_0x176126[_0x3d8b4f(0x1ad)]());}[a0_0x54060a(0x252)](){const _0x5a0f84=a0_0x54060a;return this[_0x5a0f84(0x2cc)][_0x5a0f84(0x12b)](_0x51d46c=>_0x51d46c['toJSON']());}[a0_0x54060a(0x16e)](){const _0x4c871c=a0_0x54060a;return _0x4c871c(0x366)+this[_0x4c871c(0x17f)]+'\x20fields)';}}class FieldListV1 extends FieldListBase{constructor(_0x11130b,_0x571ae1){super(_0x11130b,_0x571ae1);}[a0_0x54060a(0x1e3)](_0x495495){const _0x266a12=a0_0x54060a;return _0x495495[_0x266a12(0x12b)](_0x1fae79=>new FieldV1(_0x1fae79));}[a0_0x54060a(0x170)](){const _0x1392bc=a0_0x54060a;return[...this[_0x1392bc(0x2cc)]];}['at'](_0x3cf405){return this['_fields']['at'](_0x3cf405);}[a0_0x54060a(0x283)](_0x57453c){const _0x530b2c=a0_0x54060a;return this[_0x530b2c(0x2cc)][_0x530b2c(0x283)](_0x170ca2=>_0x170ca2[_0x530b2c(0x280)]===_0x57453c);}[a0_0x54060a(0x287)](_0x1e06f4){const _0x57c48d=a0_0x54060a;return this[_0x57c48d(0x2cc)]['find'](_0x5138b1=>_0x5138b1['name']===_0x1e06f4);}[a0_0x54060a(0x132)](_0x2648e6){const _0x599267=a0_0x54060a;return this[_0x599267(0x2cc)][_0x599267(0x132)](_0x2648e6);}['map'](_0xefe7c9){const _0x46edc0=a0_0x54060a;return this[_0x46edc0(0x2cc)][_0x46edc0(0x12b)](_0xefe7c9);}[a0_0x54060a(0x27b)](){const _0x19e03e=a0_0x54060a;return this[_0x19e03e(0x2cc)][_0x19e03e(0x132)](_0x494c61=>_0x494c61[_0x19e03e(0x158)]());}[a0_0x54060a(0x11c)](){const _0x482c54=a0_0x54060a;return this[_0x482c54(0x2cc)][_0x482c54(0x132)](_0x23a58f=>_0x23a58f['isPrimaryKey']());}[a0_0x54060a(0x2a8)](){const _0x87e1c1=a0_0x54060a;return this[_0x87e1c1(0x2cc)][_0x87e1c1(0x132)](_0xf8bfe0=>_0xf8bfe0[_0x87e1c1(0x22c)]());}[a0_0x54060a(0x3cd)](){return this['_fields']['filter'](_0x29769c=>_0x29769c['isBusiness']());}[a0_0x54060a(0x3b2)](){const _0x404b3c=a0_0x54060a;return this[_0x404b3c(0x2cc)][_0x404b3c(0x132)](_0x144227=>_0x144227['isEnum']());}[a0_0x54060a(0x162)](){const _0x256ce4=a0_0x54060a,_0x3e5472={};return this[_0x256ce4(0x2cc)][_0x256ce4(0x290)](_0x37cb5b=>{const _0xdd49cf=_0x256ce4,_0x45d6e6=_0x37cb5b['type'];!_0x3e5472[_0x45d6e6]&&(_0x3e5472[_0x45d6e6]=[]),_0x3e5472[_0x45d6e6][_0xdd49cf(0x30d)](_0x37cb5b);}),_0x3e5472;}[a0_0x54060a(0x2a9)](){const _0x431fde=a0_0x54060a;return this[_0x431fde(0x2cc)]['map'](_0x6add3=>_0x6add3['raw']);}static[a0_0x54060a(0x15c)](_0x51a564){const _0x35221c=a0_0x54060a,_0x14c0f1=_0x51a564[_0x35221c(0x12b)](_0x6a3628=>_0x6a3628[_0x35221c(0x2a9)]);return new FieldListV1(_0x14c0f1);}static['withDeleted'](_0xc07a4a){const _0x1f18b9={};return _0x1f18b9['includeDeleted']=!![],new FieldListV1(_0xc07a4a,_0x1f18b9);}}class FieldV2 extends FieldBase{[a0_0x54060a(0x394)];constructor(_0x3447b6){const _0x5c0878=a0_0x54060a;super();if(!_0x3447b6||typeof _0x3447b6!=='object')throw new Error(_0x5c0878(0x298));this['_raw']=_0x3447b6;}[a0_0x54060a(0x387)](){return'v2';}get[a0_0x54060a(0x2a9)](){const _0x1b9fab=a0_0x54060a;return this[_0x1b9fab(0x394)];}get[a0_0x54060a(0x175)](){const _0x520b32=a0_0x54060a;return this[_0x520b32(0x394)][_0x520b32(0x175)]||'';}get['code'](){const _0xf54a00=a0_0x54060a;return this['_raw'][_0xf54a00(0x175)]||'';}get[a0_0x54060a(0x368)](){const _0x5dd376=a0_0x54060a;return this[_0x5dd376(0x394)][_0x5dd376(0x368)]||'';}get[a0_0x54060a(0x1a2)](){const _0x148af8=a0_0x54060a;return this['mapDbTypeToType'](this[_0x148af8(0x394)][_0x148af8(0x2cb)]);}get[a0_0x54060a(0x1ce)](){const _0x63dc96=a0_0x54060a;return this[_0x63dc96(0x394)][_0x63dc96(0x1ce)]||'';}get[a0_0x54060a(0x391)](){const _0x41762c=a0_0x54060a;return Boolean(this[_0x41762c(0x394)][_0x41762c(0x391)]);}[a0_0x54060a(0x158)](){const _0x20a463=a0_0x54060a;return Boolean(this[_0x20a463(0x394)][_0x20a463(0x17b)]);}[a0_0x54060a(0x350)](){const _0x47c32f=a0_0x54060a;return Boolean(this[_0x47c32f(0x394)][_0x47c32f(0x194)]);}[a0_0x54060a(0x22c)](){const _0x5a62a6=a0_0x54060a;return Boolean(this[_0x5a62a6(0x394)][_0x5a62a6(0x1d3)]);}[a0_0x54060a(0x331)](){const _0x4206f5=a0_0x54060a;return Boolean(this[_0x4206f5(0x394)][_0x4206f5(0x214)]);}['isCreateTime'](){const _0x5a0197=a0_0x54060a;return this['_raw']['systemRetain']===_0x5a0197(0x1a1);}['isUpdateTime'](){const _0x3fa55f=a0_0x54060a;return this[_0x3fa55f(0x394)][_0x3fa55f(0x1d3)]===_0x3fa55f(0x311);}['getDisplayName'](){const _0xe9046a=a0_0x54060a;return this[_0xe9046a(0x394)][_0xe9046a(0x368)]||'';}[a0_0x54060a(0x1ad)](){const _0x26f4a3=a0_0x54060a;return this[_0x26f4a3(0x394)][_0x26f4a3(0x175)]||'';}['isEnum'](){const _0x175fa6=a0_0x54060a;return Boolean(this[_0x175fa6(0x394)]['options']&&Array['isArray'](this[_0x175fa6(0x394)][_0x175fa6(0x12c)])&&this[_0x175fa6(0x394)]['options']['length']>0x0);}[a0_0x54060a(0x334)](){const _0x594856=a0_0x54060a,_0x52b297=this[_0x594856(0x394)][_0x594856(0x330)];if(!_0x52b297)return![];try{const _0x442270=JSON[_0x594856(0x359)](_0x52b297);if(_0x442270&&typeof _0x442270==='object'&&'multiple'in _0x442270)return Boolean(_0x442270[_0x594856(0x3ab)]);}catch{}return![];}[a0_0x54060a(0x342)](){const _0x3ebc4c=a0_0x54060a;if(this[_0x3ebc4c(0x394)][_0x3ebc4c(0x12c)]&&Array[_0x3ebc4c(0x1bf)](this[_0x3ebc4c(0x394)][_0x3ebc4c(0x12c)]))return this[_0x3ebc4c(0x394)][_0x3ebc4c(0x12c)];return;}[a0_0x54060a(0x3bb)](){const _0x9d1453=a0_0x54060a,_0x346f09=this['_raw'][_0x9d1453(0x330)];if(!_0x346f09)return;try{const _0x23bd45=JSON[_0x9d1453(0x359)](_0x346f09);if(_0x23bd45&&typeof _0x23bd45===_0x9d1453(0x1ef)&&_0x9d1453(0x3a2)in _0x23bd45)return _0x23bd45[_0x9d1453(0x3a2)];}catch{}return;}[a0_0x54060a(0x238)](){const _0x218838=a0_0x54060a;return this[_0x218838(0x394)][_0x218838(0x2cb)][_0x218838(0x12f)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x218838(0x2bd)]()[_0x218838(0x2f5)]();}['getDefaultValue'](){return;}[a0_0x54060a(0x398)](){return;}get[a0_0x54060a(0x2cb)](){const _0x4b4ea0=a0_0x54060a;return this[_0x4b4ea0(0x394)][_0x4b4ea0(0x2cb)];}get[a0_0x54060a(0x3d7)](){const _0x5292f2=a0_0x54060a;return this[_0x5292f2(0x394)][_0x5292f2(0x3d7)];}[a0_0x54060a(0x3d0)](){const _0x2013db=a0_0x54060a;return this[_0x2013db(0x394)]['doType']??null;}get[a0_0x54060a(0x278)](){const _0x50b059=a0_0x54060a;return this['_raw'][_0x50b059(0x278)]??null;}['toJSON'](){const _0x4357da=a0_0x54060a;return{'name':this[_0x4357da(0x175)],'code':this['code'],'type':this['type'],'dbType':this[_0x4357da(0x2cb)],'dbTypeLen':this[_0x4357da(0x3d7)],'doType':this['getDOType'](),'displayName':this['displayName'],'description':this['description'],'required':this[_0x4357da(0x158)](),'primaryKey':this[_0x4357da(0x350)](),'system':this[_0x4357da(0x22c)](),'autoIncrement':this[_0x4357da(0x331)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x4357da(0x1a6)]()?this['getEnumMeta']():undefined};}[a0_0x54060a(0x16e)](){const _0x296eec=a0_0x54060a;return _0x296eec(0x2ab)+this['name']+',\x20'+this[_0x296eec(0x280)]+',\x20'+this['dbType']+_0x296eec(0x305)+this['getDOType']()+')';}['mapDbTypeToType'](_0x31490e){const _0x10aae1=a0_0x54060a,_0x323ca7={};_0x323ca7[_0x10aae1(0x143)]=_0x10aae1(0x384),_0x323ca7['CHAR']='TEXT',_0x323ca7[_0x10aae1(0x384)]=_0x10aae1(0x2a7),_0x323ca7[_0x10aae1(0x139)]=_0x10aae1(0x2a7),_0x323ca7[_0x10aae1(0x122)]='NUMBER',_0x323ca7[_0x10aae1(0x2b8)]=_0x10aae1(0x313),_0x323ca7[_0x10aae1(0x1ff)]='NUMBER',_0x323ca7['SMALLINT']=_0x10aae1(0x313),_0x323ca7[_0x10aae1(0x226)]=_0x10aae1(0x313),_0x323ca7['DOUBLE']=_0x10aae1(0x313),_0x323ca7['FLOAT']=_0x10aae1(0x313),_0x323ca7[_0x10aae1(0x1c5)]='DATE',_0x323ca7['TIMESTAMP']=_0x10aae1(0x354),_0x323ca7[_0x10aae1(0x354)]='DATE',_0x323ca7[_0x10aae1(0x293)]=_0x10aae1(0x293),_0x323ca7[_0x10aae1(0x229)]=_0x10aae1(0x395),_0x323ca7[_0x10aae1(0x18a)]='SWITCH',_0x323ca7[_0x10aae1(0x153)]=_0x10aae1(0x22b),_0x323ca7[_0x10aae1(0x242)]=_0x10aae1(0x22b);const _0x2731df=_0x323ca7,_0xc48828=_0x31490e[_0x10aae1(0x2f5)]();return _0x2731df[_0xc48828]||_0x10aae1(0x384);}}class FieldListV2 extends FieldListBase{constructor(_0x48ad46,_0x45bb2a){super(_0x48ad46,_0x45bb2a);}[a0_0x54060a(0x1e3)](_0x3cec4e){const _0x2a0e31=a0_0x54060a;return _0x3cec4e[_0x2a0e31(0x12b)](_0x3b9107=>new FieldV2(_0x3b9107));}[a0_0x54060a(0x170)](){const _0x2ea6f1=a0_0x54060a;return[...this[_0x2ea6f1(0x2cc)]];}['at'](_0x548652){const _0x2b338c=a0_0x54060a;return this[_0x2b338c(0x2cc)]['at'](_0x548652);}['find'](_0x3c8494){const _0x23d692=a0_0x54060a;return this['_fields']['find'](_0x2e60f3=>_0x2e60f3[_0x23d692(0x280)]===_0x3c8494);}[a0_0x54060a(0x287)](_0x809e2b){const _0x215c04=a0_0x54060a;return this['_fields'][_0x215c04(0x283)](_0x245e8a=>_0x245e8a[_0x215c04(0x390)]()===_0x809e2b);}[a0_0x54060a(0x132)](_0x1da449){const _0xfb70bf=a0_0x54060a;return this[_0xfb70bf(0x2cc)][_0xfb70bf(0x132)](_0x1da449);}[a0_0x54060a(0x12b)](_0x568cff){const _0x5a3b9a=a0_0x54060a;return this[_0x5a3b9a(0x2cc)][_0x5a3b9a(0x12b)](_0x568cff);}[a0_0x54060a(0x27b)](){const _0x2d5351=a0_0x54060a;return this['_fields'][_0x2d5351(0x132)](_0x3c7bea=>_0x3c7bea[_0x2d5351(0x158)]());}[a0_0x54060a(0x11c)](){const _0x33d153=a0_0x54060a;return this[_0x33d153(0x2cc)][_0x33d153(0x132)](_0x4df9f9=>_0x4df9f9[_0x33d153(0x350)]());}['getSystem'](){const _0x67b113=a0_0x54060a;return this['_fields']['filter'](_0x1c840b=>_0x1c840b[_0x67b113(0x22c)]());}[a0_0x54060a(0x3cd)](){return this['_fields']['filter'](_0x2bcade=>_0x2bcade['isBusiness']());}['getEnum'](){const _0x46f928=a0_0x54060a;return this[_0x46f928(0x2cc)][_0x46f928(0x132)](_0x5e31b4=>_0x5e31b4[_0x46f928(0x1a6)]());}[a0_0x54060a(0x162)](){const _0x6c4017=a0_0x54060a,_0x2541ce={};return this[_0x6c4017(0x2cc)][_0x6c4017(0x290)](_0x35c516=>{const _0x1f8d27=_0x6c4017,_0x14c156=_0x35c516[_0x1f8d27(0x1a2)];!_0x2541ce[_0x14c156]&&(_0x2541ce[_0x14c156]=[]),_0x2541ce[_0x14c156][_0x1f8d27(0x30d)](_0x35c516);}),_0x2541ce;}[a0_0x54060a(0x2a9)](){const _0x1285a0=a0_0x54060a;return this[_0x1285a0(0x2cc)][_0x1285a0(0x12b)](_0x23a9fc=>_0x23a9fc[_0x1285a0(0x2a9)]);}static[a0_0x54060a(0x15c)](_0x2eb488){const _0x65b56b=a0_0x54060a,_0x158061=_0x2eb488[_0x65b56b(0x12b)](_0x2886e4=>_0x2886e4[_0x65b56b(0x2a9)]);return new FieldListV2(_0x158061);}static[a0_0x54060a(0x1ed)](_0x124565){const _0x4a8a2c=a0_0x54060a,_0x3e3dca={};return _0x3e3dca[_0x4a8a2c(0x36e)]=!![],new FieldListV2(_0x124565,_0x3e3dca);}[a0_0x54060a(0x16e)](){const _0x10799a=a0_0x54060a;return _0x10799a(0x200)+this[_0x10799a(0x17f)]+'\x20fields)';}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x54060a(0x2d7)];[a0_0x54060a(0x21d)];constructor(_0x4b7c4e){super(_0x4b7c4e);}[a0_0x54060a(0x326)](){const _0x55c968=a0_0x54060a;if(!this[_0x55c968(0x2d7)]){const _0x2ea187={};_0x2ea187[_0x55c968(0x36e)]=![],this[_0x55c968(0x2d7)]=new FieldListV1(this[_0x55c968(0x394)][_0x55c968(0x315)]||[],_0x2ea187);}return this[_0x55c968(0x2d7)];}['getFieldListWithDeleted'](){const _0x58c7a4=a0_0x54060a;if(!this[_0x58c7a4(0x21d)]){const _0x2636a8={};_0x2636a8['includeDeleted']=!![],this[_0x58c7a4(0x21d)]=new FieldListV1(this[_0x58c7a4(0x394)][_0x58c7a4(0x315)]||[],_0x2636a8);}return this[_0x58c7a4(0x21d)];}[a0_0x54060a(0x173)](){const _0x192553=a0_0x54060a;return(this[_0x192553(0x394)][_0x192553(0x315)]||[])[_0x192553(0x132)](_0x5de76f=>!_0x5de76f['deleted']);}[a0_0x54060a(0x2c9)](){const _0x4124b4=a0_0x54060a;return this['getFieldList']()[_0x4124b4(0x17f)];}[a0_0x54060a(0x1b1)](_0x616a9b){const _0x91a741=a0_0x54060a;return this['_raw'][_0x91a741(0x315)]?.[_0x91a741(0x283)](_0xea927f=>_0xea927f['code']===_0x616a9b);}['getVersion'](){return'v1';}[a0_0x54060a(0x2b9)](){const _0x2fe131=a0_0x54060a,_0x1dcaa7={};return _0x1dcaa7[_0x2fe131(0x2ae)]=this[_0x2fe131(0x394)]['properties']||[],_0x1dcaa7[_0x2fe131(0x36e)]=![],_0x1dcaa7;}[a0_0x54060a(0x37b)](){const _0x231fab=a0_0x54060a;return this[_0x231fab(0x394)]['operations'];}[a0_0x54060a(0x310)](){const _0x4c7e90=a0_0x54060a;return this[_0x4c7e90(0x394)][_0x4c7e90(0x3c1)];}[a0_0x54060a(0x129)](){const _0x2d120a=a0_0x54060a,_0xc3f897=this['getRawDbtableConfig'](),_0x515c51=_0xc3f897?.[_0x2d120a(0x13a)],_0x30bf94={};return _0x30bf94[_0x2d120a(0x185)]=_0xc3f897?.[_0x2d120a(0x185)],_0x30bf94[_0x2d120a(0x29a)]=_0xc3f897?.[_0x2d120a(0x29a)]??_0x515c51?.[_0x2d120a(0x29a)],_0x30bf94[_0x2d120a(0x2cb)]=_0x515c51?.[_0x2d120a(0x2cb)],_0x30bf94['dbVersion']=_0x515c51?.[_0x2d120a(0x1fe)],_0x30bf94['tableName']=_0xc3f897?.[_0x2d120a(0x2f4)],_0x30bf94[_0x2d120a(0x1e7)]=_0xc3f897?.[_0x2d120a(0x1e7)],_0x30bf94[_0x2d120a(0x194)]=_0xc3f897?.[_0x2d120a(0x194)],new DBConfig(_0x30bf94,_0xc3f897);}get[a0_0x54060a(0x3c9)](){const _0x3b358b=a0_0x54060a;return this[_0x3b358b(0x394)]['version'];}['getFieldInstance'](_0x119c03){const _0x54f1c6=a0_0x54060a;if(typeof _0x119c03!==_0x54f1c6(0x264)){!![]&&console[_0x54f1c6(0x178)](_0x54f1c6(0x156),_0x119c03);return;}return this[_0x54f1c6(0x326)]()[_0x54f1c6(0x283)](_0x119c03);}[a0_0x54060a(0x19b)](_0x110829){const _0x5e84b3=a0_0x54060a;if(!_0x110829||typeof _0x110829!=='object')return![];const _0x25cca8=this[_0x5e84b3(0x20f)](_0x110829[_0x5e84b3(0x280)]);return _0x25cca8?_0x25cca8[_0x5e84b3(0x334)]():![];}[a0_0x54060a(0x275)](){const _0x1c58fc=a0_0x54060a,_0x5bdac9=this[_0x1c58fc(0x2e1)](_0x1c58fc(0x132));return _0x5bdac9;}[a0_0x54060a(0x314)](){const _0x7ddf06=a0_0x54060a;return this[_0x7ddf06(0x2ea)](_0x7ddf06(0x132));}[a0_0x54060a(0x12d)](){const _0x51f0b2=a0_0x54060a;return new DatasetItem({'id':this['id'],'name':this[_0x51f0b2(0x175)],'datasetCode':this[_0x51f0b2(0x355)],'dbtableConfig':this[_0x51f0b2(0x29d)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x54060a(0x24e)];['_datasetMeta'];[a0_0x54060a(0x2db)];constructor(_0x4389d0){const _0x4d6725=a0_0x54060a;super(_0x4389d0),this[_0x4d6725(0x3ad)]=_0x4389d0['dataset'],this[_0x4d6725(0x2db)]=_0x4389d0[_0x4d6725(0x37d)]||[];}['getVersion'](){return'v2';}[a0_0x54060a(0x2b9)](){const _0x2fa8fb=a0_0x54060a,_0x232483={};return _0x232483[_0x2fa8fb(0x2ae)]=this[_0x2fa8fb(0x394)]['fields'],_0x232483[_0x2fa8fb(0x36e)]=![],_0x232483;}['getOperationsData'](){const _0x51c656=a0_0x54060a;return this[_0x51c656(0x394)]['operations'];}[a0_0x54060a(0x310)](){const _0x4820ff=a0_0x54060a;return this[_0x4820ff(0x394)][_0x4820ff(0x3c1)];}[a0_0x54060a(0x129)](){const _0x4bc53b=a0_0x54060a,_0x3e8f37=this[_0x4bc53b(0x394)][_0x4bc53b(0x263)],_0x5ae699={};return _0x5ae699[_0x4bc53b(0x185)]=_0x3e8f37?.['dbId'],_0x5ae699[_0x4bc53b(0x29a)]=_0x3e8f37?.['dbName'],_0x5ae699['dbType']=undefined,_0x5ae699[_0x4bc53b(0x1fe)]=undefined,_0x5ae699[_0x4bc53b(0x2f4)]=_0x3e8f37?.[_0x4bc53b(0x2f4)],_0x5ae699['datasetKey']=_0x3e8f37?.[_0x4bc53b(0x1e7)],_0x5ae699[_0x4bc53b(0x194)]=_0x3e8f37?.['pkField'],new DBConfig(_0x5ae699,_0x3e8f37);}[a0_0x54060a(0x326)](){const _0x573e2b=a0_0x54060a;return this[_0x573e2b(0x183)]();}[a0_0x54060a(0x173)](){const _0xe9fb25=a0_0x54060a;return this[_0xe9fb25(0x394)][_0xe9fb25(0x2ae)];}['getFieldCount'](){const _0x5cad58=a0_0x54060a;return this[_0x5cad58(0x394)][_0x5cad58(0x2ae)]['length'];}['getFieldRaw'](_0x586646){const _0x84746c=a0_0x54060a;return this[_0x84746c(0x394)][_0x84746c(0x2ae)][_0x84746c(0x283)](_0x39d6e9=>_0x39d6e9[_0x84746c(0x175)]===_0x586646);}[a0_0x54060a(0x1db)](){return this['_datasetMeta'];}[a0_0x54060a(0x3c3)](){const _0x42ff16=a0_0x54060a;return this[_0x42ff16(0x2db)];}[a0_0x54060a(0x131)](){const _0x4b751a=a0_0x54060a;return this['_datasetMeta'][_0x4b751a(0x2e2)]||[];}[a0_0x54060a(0x254)](_0x4b8a89){const _0x5044ea=a0_0x54060a;return this[_0x5044ea(0x2db)][_0x5044ea(0x132)](_0x3867e5=>_0x3867e5[_0x5044ea(0x36a)]===_0x4b8a89);}[a0_0x54060a(0x165)](_0xd736e){const _0xd994de=a0_0x54060a;return this[_0xd994de(0x2db)][_0xd994de(0x1ae)](_0x19a7ec=>_0x19a7ec[_0xd994de(0x36a)]===_0xd736e);}[a0_0x54060a(0x3c8)](_0x2cba24){const _0x3c0df4=a0_0x54060a,_0x3ec59f=this[_0x3c0df4(0x2db)]['find'](_0x25afe3=>_0x25afe3[_0x3c0df4(0x36a)]===_0x2cba24);if(!_0x3ec59f)return;const _0x5db10a={};return _0x5db10a[_0x3c0df4(0x20e)]=_0x3ec59f[_0x3c0df4(0x160)],_0x5db10a['datasetCode']=_0x3ec59f[_0x3c0df4(0x125)],_0x5db10a['datasetName']=_0x3ec59f[_0x3c0df4(0x33c)],_0x5db10a['tableName']=_0x3ec59f[_0x3c0df4(0x221)],_0x5db10a['toField']=_0x3ec59f[_0x3c0df4(0x35a)],_0x5db10a;}[a0_0x54060a(0x141)](){const _0x113816=a0_0x54060a;return this['_relations'][_0x113816(0x12b)](_0x6705fc=>_0x6705fc[_0x113816(0x36a)]);}[a0_0x54060a(0x183)](){const _0x248dde=a0_0x54060a;return!this[_0x248dde(0x24e)]&&(this[_0x248dde(0x24e)]=new FieldListV2(this[_0x248dde(0x394)][_0x248dde(0x2ae)])),this[_0x248dde(0x24e)];}[a0_0x54060a(0x20f)](_0x20fa55){const _0x57bd1a=a0_0x54060a;if(typeof _0x20fa55!==_0x57bd1a(0x264)){!![]&&console[_0x57bd1a(0x178)]('[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x20fa55);return;}return this[_0x57bd1a(0x183)]()[_0x57bd1a(0x283)](_0x20fa55);}[a0_0x54060a(0x19b)](_0xf61fb3){const _0x29ff0d=a0_0x54060a;if(!_0xf61fb3||typeof _0xf61fb3!==_0x29ff0d(0x1ef))return![];const _0x470ca0=_0xf61fb3[_0x29ff0d(0x175)]||_0xf61fb3[_0x29ff0d(0x280)],_0x479ffb=this[_0x29ff0d(0x20f)](_0x470ca0);return _0x479ffb?_0x479ffb[_0x29ff0d(0x334)]():![];}['getOperationList'](){const _0x59e77a=a0_0x54060a;if(!this[_0x59e77a(0x2b7)]){const _0x5b871e=this[_0x59e77a(0x224)](this[_0x59e77a(0x37b)]()||{});this[_0x59e77a(0x2b7)]=new OperationList(_0x5b871e,{'fields':this[_0x59e77a(0x183)]()[_0x59e77a(0x170)](),'pkField':this[_0x59e77a(0x394)][_0x59e77a(0x263)]?.[_0x59e77a(0x194)],'dbtableConfig':this[_0x59e77a(0x394)][_0x59e77a(0x263)]||null});}return this[_0x59e77a(0x2b7)];}[a0_0x54060a(0x275)](){const _0x44724c=a0_0x54060a,_0x5889b0=this[_0x44724c(0x2e1)](_0x44724c(0x132));return _0x5889b0;}['hasFilterOperation'](){const _0x4967a4=a0_0x54060a;return this[_0x4967a4(0x2ea)](_0x4967a4(0x132));}[a0_0x54060a(0x12d)](){const _0x21e34f=a0_0x54060a;return new DatasetItem({'id':this['id'],'name':this[_0x21e34f(0x175)],'datasetCode':this[_0x21e34f(0x355)],'dbtableConfig':this[_0x21e34f(0x29d)]()});}[a0_0x54060a(0x16e)](){const _0x4c30bc=a0_0x54060a,_0x2ede67=this[_0x4c30bc(0x2db)][_0x4c30bc(0x17f)],_0x66846e=this[_0x4c30bc(0x131)]()[_0x4c30bc(0x17f)];return _0x4c30bc(0x22a)+this[_0x4c30bc(0x175)]+',\x20'+this[_0x4c30bc(0x355)]+',\x20'+this[_0x4c30bc(0x2c9)]()+_0x4c30bc(0x219)+this['getOperationCount']()+_0x4c30bc(0x308)+_0x2ede67+'\x20relations,\x20'+_0x66846e+'\x20indexes)';}[a0_0x54060a(0x2e0)](){const _0x14428b=a0_0x54060a;return this[_0x14428b(0x394)]['fields'];}[a0_0x54060a(0x1fa)](_0x244aa2){const _0x4d81b2=a0_0x54060a;return this[_0x4d81b2(0x394)][_0x4d81b2(0x2ae)][_0x4d81b2(0x283)](_0x2c61c6=>_0x2c61c6[_0x4d81b2(0x175)]===_0x244aa2);}}function detectDatasetVersion(_0x1ffcc0){const _0x1df6f9=a0_0x54060a;if(_0x1ffcc0[_0x1df6f9(0x128)]==='v2'&&_0x1df6f9(0x2ae)in _0x1ffcc0&&Array[_0x1df6f9(0x1bf)](_0x1ffcc0[_0x1df6f9(0x2ae)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x54060a(0x3bf)];constructor(_0x3c9c93){const _0x479832=a0_0x54060a;super(_0x3c9c93);const _0x3b7781=detectDatasetVersion(_0x3c9c93);this[_0x479832(0x3bf)]=_0x3b7781==='v2'?new DrivenDataDetailV2(_0x3c9c93):new DrivenDataDetailV1(_0x3c9c93);}get['id'](){const _0x56f6c8=a0_0x54060a;return this[_0x56f6c8(0x3bf)]['id'];}get['name'](){const _0x4ba474=a0_0x54060a;return this[_0x4ba474(0x3bf)]['name'];}get['datasetCode'](){const _0x135b52=a0_0x54060a;return this['_instance'][_0x135b52(0x355)];}get[a0_0x54060a(0x3c9)](){const _0x5ee800=a0_0x54060a;return this[_0x5ee800(0x3bf)][_0x5ee800(0x387)]()==='v2'?_0x5ee800(0x399):'1.0';}[a0_0x54060a(0x387)](){const _0x4bccb9=a0_0x54060a;return this[_0x4bccb9(0x3bf)][_0x4bccb9(0x387)]();}[a0_0x54060a(0x21b)](){const _0x959e99=a0_0x54060a;return this[_0x959e99(0x3bf)]['id'];}[a0_0x54060a(0x1cb)](){const _0x365229=a0_0x54060a;return this[_0x365229(0x3bf)][_0x365229(0x355)];}[a0_0x54060a(0x247)](){return this['_instance']['name'];}[a0_0x54060a(0x2b9)](){const _0x259168=a0_0x54060a;return this[_0x259168(0x3bf)][_0x259168(0x2b9)]();}[a0_0x54060a(0x37b)](){const _0x50f8fa=a0_0x54060a;return this[_0x50f8fa(0x3bf)][_0x50f8fa(0x37b)]();}[a0_0x54060a(0x310)](){const _0x5756ce=a0_0x54060a;return this[_0x5756ce(0x3bf)][_0x5756ce(0x310)]();}[a0_0x54060a(0x2ba)](){const _0x2ead98=a0_0x54060a;return this[_0x2ead98(0x3bf)]['getFieldListWithDeleted']();}[a0_0x54060a(0x326)](){const _0x5d41c9=a0_0x54060a;return this[_0x5d41c9(0x3bf)][_0x5d41c9(0x326)]();}[a0_0x54060a(0x1ea)](){const _0x462aac=a0_0x54060a;return this['_instance'][_0x462aac(0x1ea)]();}[a0_0x54060a(0x173)](){const _0x4fcb25=a0_0x54060a;return this['_instance'][_0x4fcb25(0x173)]();}[a0_0x54060a(0x2c9)](){const _0x1f1cd7=a0_0x54060a;return this[_0x1f1cd7(0x3bf)]['getFieldCount']();}[a0_0x54060a(0x3d9)](){const _0x1a49e4=a0_0x54060a,_0x1238fb=this['_instance'][_0x1a49e4(0x29d)]();return _0x1238fb?.[_0x1a49e4(0x194)];}[a0_0x54060a(0x129)](){const _0x6116eb=a0_0x54060a;return this[_0x6116eb(0x3bf)][_0x6116eb(0x129)]();}[a0_0x54060a(0x20f)](_0x162bd4){const _0x4c3df0=a0_0x54060a;return this['_instance'][_0x4c3df0(0x20f)](_0x162bd4);}[a0_0x54060a(0x257)](){const _0x5da7ba=a0_0x54060a;return this[_0x5da7ba(0x3bf)]['getPrimaryKeyFields']();}[a0_0x54060a(0x336)](){const _0x3e521a=a0_0x54060a;return this[_0x3e521a(0x3bf)][_0x3e521a(0x336)]();}['getBusinessFields'](){const _0x10b142=a0_0x54060a;return this[_0x10b142(0x3bf)][_0x10b142(0x324)]();}['getRequiredFields'](){const _0x69eade=a0_0x54060a;return this[_0x69eade(0x3bf)][_0x69eade(0x20c)]();}[a0_0x54060a(0x2d3)](){const _0x1f28a4=a0_0x54060a;return this[_0x1f28a4(0x3bf)][_0x1f28a4(0x2d3)]();}[a0_0x54060a(0x31e)](){const _0x40f1d8=a0_0x54060a;return this[_0x40f1d8(0x3bf)]['getEnumFields']();}[a0_0x54060a(0x36d)](){const _0x5f4a61=a0_0x54060a;return this[_0x5f4a61(0x3bf)][_0x5f4a61(0x36d)]();}[a0_0x54060a(0x12a)](){const _0x581ec1=a0_0x54060a;return this['_instance'][_0x581ec1(0x12a)]();}['getOperationCount'](){const _0x5ad518=a0_0x54060a;return this[_0x5ad518(0x3bf)][_0x5ad518(0x33e)]();}[a0_0x54060a(0x14f)](){const _0x3d03a2=a0_0x54060a;return this[_0x3d03a2(0x3bf)]['getEnabledOperations']();}[a0_0x54060a(0x2a4)](){const _0x3a3af6=a0_0x54060a;return this[_0x3a3af6(0x3bf)][_0x3a3af6(0x2a4)]();}[a0_0x54060a(0x2bc)](){const _0x2126c9=a0_0x54060a;return this['_instance'][_0x2126c9(0x2bc)]();}[a0_0x54060a(0x25c)](){return this['_instance']['getDisabledOperationInstances']();}[a0_0x54060a(0x277)](){const _0x45e923=a0_0x54060a;return this[_0x45e923(0x3bf)][_0x45e923(0x277)]();}[a0_0x54060a(0x1db)](){const _0x4780f6=a0_0x54060a;return this[_0x4780f6(0x3bf)][_0x4780f6(0x1db)]();}[a0_0x54060a(0x3c3)](){const _0x23a31a=a0_0x54060a;return this[_0x23a31a(0x3bf)][_0x23a31a(0x3c3)]();}['getIndexes'](){const _0x406fed=a0_0x54060a;return this[_0x406fed(0x3bf)][_0x406fed(0x131)]();}[a0_0x54060a(0x124)](){const _0x512211=a0_0x54060a;return this['_instance'][_0x512211(0x124)]();}[a0_0x54060a(0x2c1)](){const _0x11d903=a0_0x54060a;return this[_0x11d903(0x3bf)][_0x11d903(0x2c1)]();}[a0_0x54060a(0x252)](){const _0x42c6fa=a0_0x54060a;return this[_0x42c6fa(0x3bf)][_0x42c6fa(0x252)]();}[a0_0x54060a(0x275)](){const _0x261462=a0_0x54060a;return this[_0x261462(0x3bf)][_0x261462(0x275)]();}['hasFilterOperation'](){const _0x4fecf5=a0_0x54060a;return this[_0x4fecf5(0x3bf)][_0x4fecf5(0x314)]();}[a0_0x54060a(0x12d)](){const _0x1cb6c6=a0_0x54060a;return this['_instance'][_0x1cb6c6(0x12d)]();}[a0_0x54060a(0x16e)](){const _0x527e3e=a0_0x54060a;return this[_0x527e3e(0x3bf)][_0x527e3e(0x16e)]();}[a0_0x54060a(0x3a0)](){return this['_instance'];}}function detectDatasetVersion2(_0x92c547){const _0x3c3806=a0_0x54060a;if(_0x92c547['doVersion']==='v2'&&_0x3c3806(0x2ae)in _0x92c547&&Array['isArray'](_0x92c547['fields']))return'v2';return'v1';}function createDrivenDataDetail(_0x598f6e,_0x1050c2={}){const {forceVersion:_0x479dac}=_0x1050c2;if(_0x479dac==='v2')return new DrivenDataDetailV2(_0x598f6e);if(_0x479dac==='v1')return new DrivenDataDetailV1(_0x598f6e);const _0x43d50a=detectDatasetVersion2(_0x598f6e);if(_0x43d50a==='v2')return new DrivenDataDetailV2(_0x598f6e);return new DrivenDataDetailV1(_0x598f6e);}function isV2Data(_0x2317ba){return detectDatasetVersion2(_0x2317ba)==='v2';}function isV1Data(_0x42ce03){return detectDatasetVersion2(_0x42ce03)==='v1';}function isV2Instance(_0x27e48b){const _0x76dc46=a0_0x54060a;return _0x27e48b[_0x76dc46(0x387)]()==='v2';}function isV1Instance(_0x289f8d){const _0x284b62=a0_0x54060a;return _0x289f8d[_0x284b62(0x387)]()==='v1';}class DatasetGroup{['items'];constructor(_0x2f47fd){const _0x3c692e=a0_0x54060a;this['items']=Array[_0x3c692e(0x1bf)](_0x2f47fd)?[..._0x2f47fd]:[_0x2f47fd],this[_0x3c692e(0x236)][_0x3c692e(0x335)]((_0x4a1cfe,_0x1a9924)=>{const _0x30b617=Number(_0x4a1cfe['id'])||0x0,_0x2c1a41=Number(_0x1a9924['id'])||0x0;return _0x2c1a41-_0x30b617;});}[a0_0x54060a(0x344)](){const _0x363f08=a0_0x54060a;return this[_0x363f08(0x236)]['length']>0x1;}['getLatest'](){return this['items'][0x0];}[a0_0x54060a(0x1b0)](){const _0x485f48=a0_0x54060a;return this[_0x485f48(0x236)][this['items'][_0x485f48(0x17f)]-0x1];}[a0_0x54060a(0x234)](){const _0x1adb58=a0_0x54060a;return[...this[_0x1adb58(0x236)]];}[a0_0x54060a(0x240)](){const _0xea25a0=a0_0x54060a;return this[_0xea25a0(0x236)][_0xea25a0(0x17f)];}[a0_0x54060a(0x338)](_0x4390fc){return this['items'][_0x4390fc];}[a0_0x54060a(0x155)](_0x35d5e5){const _0x1e48fe=a0_0x54060a;return this['items'][_0x1e48fe(0x283)](_0x1f60ab=>_0x1f60ab['id']===_0x35d5e5);}[a0_0x54060a(0x3aa)](_0x36c432){const _0x3f5db2=a0_0x54060a;return this[_0x3f5db2(0x236)][_0x3f5db2(0x283)](_0x41595b=>_0x41595b[_0x3f5db2(0x355)]===_0x36c432);}['getIds'](){const _0x1db700=a0_0x54060a;return this['items'][_0x1db700(0x12b)](_0x27ca1e=>_0x27ca1e['id'])[_0x1db700(0x132)](_0x365f22=>_0x365f22!==undefined);}[a0_0x54060a(0x267)](){return this['items']['map'](_0xe18f5d=>_0xe18f5d['datasetCode']);}[a0_0x54060a(0x16e)](){const _0x557144=a0_0x54060a;if(this[_0x557144(0x344)]())return _0x557144(0x150)+this[_0x557144(0x236)][_0x557144(0x17f)]+_0x557144(0x3c5)+this[_0x557144(0x174)]()['name']+')';return _0x557144(0x150)+this[_0x557144(0x236)][0x0][_0x557144(0x175)]+')';}}function a0_0x53c2(){const _0x1cd534=['getCodes','prefix','这是一段较长的文本内容示例','1452ZtAKJt','_requestExampleCache','getDatasetDocMeta','639nmGEgC','_extend','condition','$lteq','GET_ONE_UPDATE','$in','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','isDeleted','getFilterOperation','(id);','getStats','doType','padStart','getLast','getRequired','generateConfigArray','item1','[parseFieldExtend]\x20Invalid\x20field:','generateDefaultFilterOperation','code','successCode','hasDbtableConfig','find','`:\x20','getSDKInitData','hasModifierIdField','findByName','时间戳','示例值','label','isFieldPrimaryKey','getFiltered','$eq','北京市朝阳区','getHTTPFields','forEach','查询单条','count','TIME','isEnumField','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','substring','dataset_','[FieldV2]\x20Invalid\x20field\x20definition','getOperationFieldOperators','dbName','sum','_autoGenerated','getRawDbtableConfig','useFullExample','hasResponseSchema','empty','[FieldV1.extend]\x20解析字段\x20','modelCode','children','getDisabledOperations','$and','groupBy','TEXTAREA','getSystem','raw','entries','FieldV2(','value1','daily','fields','tableColumns','aggregate','Integer','createDate','dataset_000000','getFilteredOperationAnalyses','errorCode','errorMsg','_operationList','BIGINT','getFieldDataSource','getFieldListWithDeleted','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','getEnabledOperationInstances','trim','hasUpdateTimeField','const\x20data\x20=\x20await\x20client.models.','fullUrl','getFieldsFilterOperatorsMap','操作成功','4CTIhOa','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','requestFieldCount','fieldCount','分组字段列表','modelId','getFieldCount','getApplicableOperators','dbType','_fields','null','//\x20Usage\x20examples','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','2059035UQRLXD','SDK\x20调用时传递两个参数:\x0a','[Field]\x20Invalid\x20field\x20definition','getFieldsByType','RADIO','update\x20接口接受两个参数:\x0a\x0a','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','_fieldListV1','parseRawRequestBody','查询单条(用于更新)','labelField','_relations','generateOperationSummary','creatorIdField','getMethod','supportsCRUD','getFieldsV2','getOperation','indexes','keys','repeat','logicField','conflictGroupCount','DrivenDataDetail(','\x20API\x20文档','_fieldListWithDeleted','hasOperation','getOneUpdate','generateSDKInitCode','isPrimaryKeyField','context','getResponseSchema','DatasetList(','主键ID(必填)','getTableName','SDK\x20调用','tableName','toUpperCase','groups','DOUBLE','1.0.0-beta.8','操作名称','每页数量(默认:\x2020)','getFirst','\x22,数据集:\x20','getVirtualTables','iterator','getDbName','\x20operation','\x20groups)','下拉选择','$contain','SMALLINT',',\x20doType=','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','完整的\x20SDK\x20调用代码','\x20operations,\x20','创建导出','Number','_operations','获取下拉选项','push','();','exampleWhere','getSource','updateTime','findAll','NUMBER','hasFilterOperation','properties','导入模板','generateHTTPExample','DatasetGroupMap(','getDisabledNames','generateAllOperationsSummary','getDatabaseVersion','detectConflicts','\x20的\x20extend\x20配置失败:','getEnumFields','文件上传','updateTimeField','({\x20currentPage,\x20pageSize\x20});','\x5c}\x5c}','enabledOperationCount','getBusinessFields','distinct','getFieldList','({\x20','主键ID','total','isSystemField','_min','getOperationFieldsOperatorsMap','yourModel','GET_ONE_ORIGIN','HTTP\x20直接调用时使用平铺格式:\x0a','extend','isAutoIncrement','getUpdateTime','get','isMultipleSelect','sort','getSystemFields','size','getAt','parseRawResponseBody','params','precision','toDatasetName','getOperationAnalysesByType','getOperationCount','getFullUrl','getEnumMetas','[generateRequestExample]\x20Invalid\x20field:','getEnumOptions','UPLOAD','hasConflict','2024-01-01','系统自动生成','toLowerCase','_$1','getNames','array','keyword','demo-app','getUpdateFields','**可更新的字段列表:**','generateExampleValue','isPrimaryKey','value2','isEnabled','online','DATE','datasetCode','isOperationEnabled','getOperationRequestFields','user@example.com','parse','toField','Filter\x20API\x20-\x20高级查询接口','getDisabled','<p>富文本内容</p>','getCountByMethod','DESC','requestBody','每页条数','split','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','index','https://example.com/file.pdf','FieldList(','getAggregates','displayName','CREATE_EXPORT','fromField','Operation\x20not\x20found:\x20','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','getEnumFieldsMeta','includeDeleted','toArray','isBusiness','getEnumMeta','createAll','getHTTPRequestParamsDocInfo','tooltip','method','createTimeField','getDeleted','getField','generateResponseExample','6055760IAFbLV','getOperationsData','当前页码(可选)','relations','getOperationList','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','max','分组后的过滤条件(对聚合结果进行过滤)','customFilter','String[]','TEXT','_sum','Array','getVersion','getRequestFields','getLatestDatasets','_avg','hasTableName','hasConflicts','getAllParams','富文本','hasCreatorIdField','getDisplayName','deleted','(params);','OperationList(','_raw','SWITCH','字段编码','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','getTooltip','2.0','BOOL','EXCEL_EXPORT','INTEGER','getAutoIncrement','hasLogicField','getFieldDefinition','getInternalInstance','fromApiResponse','selectItemsSource','单值查询','$gteq','pageSize','DrivenDataDetailPlusV2(','-\x20主键使用\x20`id`\x20字段\x0a','getGroupedParams','Invalid\x20API\x20response:\x20success\x20is\x20false','findByCode','multiple','getSelectOptions','_datasetMeta','请求示例','requestFields','getFileUrl','avg','getEnum',',\x20fields:\x20','generateUsageExample','IMAGE','_datasetMap','forceVersion','STRING','DrivenDataDetailPlus(','dataset_unknown','getSelectItemsSource','sdkCallCode','Excel导出','dataIndex','_instance','排序规则','source','getFieldType','getRelations','operations','\x20items,\x20conflict,\x20latest:\x20','$startWith','Object','getRelatedDataset','version','excelExport','创建导入','generateRequestExample','getBusiness','having','createExport','getDOType','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','column','示例文本','_operationAnalyses','getOperationsOverviewData','selectBestOperator','dbTypeLen','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getPkField','getEnabled','-\x20`','getAllDatasets','getOperationAnalysis','getPrimaryKeys','CHECKBOX','\x20operations,\x20v2)','has\x20conflicts','聚合函数配置数组(type:\x20sum/count/avg/max/min)','SELECT','INT','\x20operations,\x20v1)','getFilterOperators','toDatasetCode','getRaw','modifierNameField','doVersion','getDBConfig','getOperations','map','options','toListItem','getFieldOperators','replace','value','getIndexes','filter','tenantCode','const\x20fileUrl\x20=\x20await\x20client.models.','getFieldCode','min','N/A','datasetMap','LONGTEXT','dblinkInfoDTO','getList','getUpdatableFields','getOperators','GET_UPLOAD_FILE_SCRIPT','allFields','getSystemAnalysisResult','getForeignKeyFields','hasField','VARCHAR','getOperationStats','$ne','CHAR','includeRequestExample','解析\x20responseBody\x20失败:','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/node-sdk\x27;\x0a\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27{{appCode}}\x27,\x0a<!--\x20CONDITION:\x20env\x20-->\x0a\x20\x20env:\x20\x27{{env}}\x27,\x0a<!--\x20/CONDITION\x20-->\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27{{datasetCode}}\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27{{alias}}\x27,\x0a\x20\x20\x20\x20}\x0a\x20\x20],\x0a<!--\x20CONDITION:\x20isOpenAPI\x20-->\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,\x0a<!--\x20/CONDITION\x20-->\x0a});\x0a\x0aexport\x20default\x20client;\x0a','stringify','当前页码(从\x201\x20开始,默认:\x201)','FLOAT','//\x20Call\x20the\x20','isEmpty','getEnabledOperations','DatasetGroup(','ARRAY','operationCount','BLOB','95224OWrzsp','findById','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','sortOperationsWithFilterFirst','isRequired','sdkCall','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','//\x20','from','path','(支持单值或数组)','getOne','toDatasetId','getConflictingItems','groupByType','getAllFieldsString','getFieldDescription','hasRelation','tableData','useArrayValues',',\x20currentPage,\x20pageSize,\x20...\x20});','接口名称','generateAliasExplanation','getOperationAnalyses','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','generateRequestAllExamples','toString','generateFieldExample','all','getRequestParams','initDataset','getFields','getLatest','name','getTenantCode','generateSDKCallCode','warn','every','12GQaeBu','required','4kyDBFo','GET_ONE','Object[]','length','2024-12-31','getFieldOptions','GET','getFieldListV2','importTemplate','dbId','({\x20/*\x20可选:筛选条件\x20*/\x20});','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','POST','getFieldSelectItemsSource','BIT','isOperatorApplicableToField','13800138000','toFieldDefinition','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','503707YokGEH','每页数量','$gte','taskInfo','charAt','pkField','isUpdateTime','generateFromSchema','total_count','130911dnIpIv','tableKey','主键,用于定位要更新的记录','isMultipleSelectField','getExtendField','2739079qoyKNT','has','includes','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','createTime','type','slice','default','UPDATE','isEnum','获取文件URL','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','选项编码(可选)','update','2706582iPWPeP','add','getFieldName','some','field_name','getOldest','getFieldRaw','获取数据集列表失败:\x20','-$1','getConflicts','generateAllOperationsFullSDKExample','\x5c{\x5c{','/filter','datasetInfo','当前页码','totalGroups','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','includeUsageExample','CREATE_IMPORT','responseBody','isArray','suffix','where','getType','validateEnumValue','getDefaultValue','DATETIME','TIMESTAMP','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','set','getCreateTime','getCode','modifierIdField','getResponseParamsDocInfo','description','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.',',\x20...\x20});','random','round','systemRetain','RICH_TEXT','findByTableName','DatasetItem(','appCode','includeDisabled','JSON','totalCount','getDatasetMeta','fieldName','SDK\x20调用示例(两参数格式)','placeholder','getOneOrigin','data','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','datasetSDKKey','createFields','toFullConfig','字段名称','filterBlacklist','datasetKey','getDatasetSDKKey','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getFieldsWithDeleted','systemAnalysisResult','排序规则(与\x20Filter\x20API\x20一致)','withDeleted','currentPage','object','toConfigArray','msg','success','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','isCreateTime','getEnumValues','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','enabled','valueLabels','parseFieldExtend','getFieldV2','now','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','hasCreateTimeField','dbVersion','TINYINT','FieldListV2(','host','({\x20code,\x20label\x20});','getAllFieldsArray','join','creatorNameField','enableDeduplication','address','HTTP\x20请求示例(平铺格式)','getDatabaseType','getRealTables','email','getRequiredFields','desc','datasetId','getFieldInstance','isRequiredField','要更新的字段数据对象','businessFieldCount','getFieldFilterOperators','autoIncrement','\x20groups,\x20','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','primaryKey','getEnumFieldMeta','\x20fields,\x20','const\x20result\x20=\x20await\x20client.models.','getId','getMissingCRUDOperations','_fieldListV1WithDeleted','(实际字段:','getRequestParamsDocInfo','$endWith','toTableName','TASK_INFO','getAppCode','ensureFilterOperation','获取上传脚本','DECIMAL','0000','groupByTableName','BOOLEAN','DrivenDataDetailV2(','FILE','isSystem','_max','getModelAlias','GET_FILE_URL','查询列表','toConfig','支持单值或数组','isVirtualTable','getAll','generateConfig','items','日期时间','getDbTypeForOperation','create','select','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','hasDblinkInfo','-\x20主键ID,用于定位要更新的记录\x0a\x0a','_fieldList','number','getCount','任务信息','LONGBLOB','String','getOperationOperators','(id,\x20','alias','getName','GET_LIST','(id,\x20data);','获取数据集失败:\x20','API路径','getEnabledOperationAnalyses','usageExample','_fieldListV2','isNumericField','getCountByType','getTableKey','toJSON','delete','getRelationsByField','orderBy','values','getPrimaryKeyFields','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','getModelName','getOperationDocMeta','getPath','getDisabledOperationInstances','$lte','getItems','generateHTTPRequestExample','title','DbtableConfig(table:\x20','200','dbtableConfig','string','generateFullSDKExample','CREATE'];a0_0x53c2=function(){return _0x1cd534;};return a0_0x53c2();}class DatasetGroupMap{[a0_0x54060a(0x2f6)];constructor(_0x42b975){const _0x5f21d4=a0_0x54060a;this['groups']=new Map();for(const _0x8cf9ea of _0x42b975){const _0x1acb8a=getTableKey(_0x8cf9ea);if(!this[_0x5f21d4(0x2f6)][_0x5f21d4(0x19e)](_0x1acb8a))this[_0x5f21d4(0x2f6)]['set'](_0x1acb8a,new DatasetGroup(_0x8cf9ea));else{const _0x5f1b6a=this[_0x5f21d4(0x2f6)][_0x5f21d4(0x333)](_0x1acb8a),_0x22c822=[..._0x5f1b6a['getAll'](),_0x8cf9ea];this['groups'][_0x5f21d4(0x1c9)](_0x1acb8a,new DatasetGroup(_0x22c822));}}}[a0_0x54060a(0x333)](_0x48d4d3){const _0x4273e8=a0_0x54060a;return this[_0x4273e8(0x2f6)][_0x4273e8(0x333)](_0x48d4d3);}[a0_0x54060a(0x19e)](_0xd0acd3){const _0x137e8f=a0_0x54060a;return this[_0x137e8f(0x2f6)][_0x137e8f(0x19e)](_0xd0acd3);}get['size'](){const _0x4aae3f=a0_0x54060a;return this[_0x4aae3f(0x2f6)]['size'];}[a0_0x54060a(0x2e3)](){const _0x39fee7=a0_0x54060a;return this[_0x39fee7(0x2f6)][_0x39fee7(0x2e3)]();}[a0_0x54060a(0x256)](){const _0x19d00c=a0_0x54060a;return this[_0x19d00c(0x2f6)][_0x19d00c(0x256)]();}[a0_0x54060a(0x2aa)](){const _0x4f8d70=a0_0x54060a;return this[_0x4f8d70(0x2f6)]['entries']();}[Symbol[a0_0x54060a(0x2fe)]](){const _0x2c955d=a0_0x54060a;return this[_0x2c955d(0x2f6)]['entries']();}[a0_0x54060a(0x290)](_0x1b61f8){const _0x16022b=a0_0x54060a;this['groups'][_0x16022b(0x290)]((_0x19efed,_0x559118)=>_0x1b61f8(_0x19efed,_0x559118,this));}['getConflicts'](){const _0x2b950b=a0_0x54060a,_0x3b3ed7=new Map();for(const [_0x1aeeab,_0x49e451]of this['groups']){_0x49e451[_0x2b950b(0x344)]()&&_0x3b3ed7[_0x2b950b(0x1c9)](_0x1aeeab,_0x49e451);}return _0x3b3ed7;}['hasConflicts'](){const _0x7086e5=a0_0x54060a;for(const _0x2fd22f of this[_0x7086e5(0x2f6)]['values']()){if(_0x2fd22f[_0x7086e5(0x344)]())return!![];}return![];}['getConflictStats'](){const _0x59d37b=a0_0x54060a;let _0x45b25a=0x0,_0x51a64b=0x0;for(const _0x2adb23 of this[_0x59d37b(0x2f6)][_0x59d37b(0x256)]()){_0x2adb23['hasConflict']()&&(_0x45b25a++,_0x51a64b+=_0x2adb23[_0x59d37b(0x240)]());}const _0x4afcee={};return _0x4afcee[_0x59d37b(0x2e6)]=_0x45b25a,_0x4afcee['conflictItemCount']=_0x51a64b,_0x4afcee[_0x59d37b(0x1ba)]=this[_0x59d37b(0x2f6)][_0x59d37b(0x337)],_0x4afcee;}[a0_0x54060a(0x11a)](){const _0x561ef5=a0_0x54060a,_0xd4fb62=[];for(const _0x21c224 of this[_0x561ef5(0x2f6)]['values']()){_0xd4fb62['push'](..._0x21c224[_0x561ef5(0x234)]());}return _0xd4fb62;}['getLatestDatasets'](){const _0x3d3303=a0_0x54060a,_0x3a8add=[];for(const _0x1f55f0 of this[_0x3d3303(0x2f6)][_0x3d3303(0x256)]()){_0x3a8add['push'](_0x1f55f0[_0x3d3303(0x174)]());}return _0x3a8add;}['getLatest'](_0x1d9c38){const _0x63d72b=a0_0x54060a;return this[_0x63d72b(0x2f6)][_0x63d72b(0x333)](_0x1d9c38)?.['getLatest']();}[a0_0x54060a(0x234)](_0x447488){const _0x352b90=a0_0x54060a;return this[_0x352b90(0x2f6)][_0x352b90(0x333)](_0x447488)?.['getAll']()||[];}['toConfig'](){const _0x32fc0a=a0_0x54060a,_0x3ab3ba=this[_0x32fc0a(0x389)](),_0x20e10c=_0x3ab3ba[_0x32fc0a(0x12b)](_0x386dfb=>_0x386dfb[_0x32fc0a(0x252)]()),_0x389821={};return _0x389821[_0x32fc0a(0x206)]=![],generateDatasetsConfig(_0x20e10c,_0x389821);}[a0_0x54060a(0x1e4)](){const _0x20013e=a0_0x54060a,_0x5cf855=this[_0x20013e(0x11a)](),_0x18f727=_0x5cf855[_0x20013e(0x12b)](_0x5a995d=>_0x5a995d[_0x20013e(0x252)]());return generateFullDatasetsConfig(_0x18f727);}['toObject'](){const _0x20a8f7=a0_0x54060a,_0x2fab21={};for(const [_0x2c253c,_0x9fb23d]of this[_0x20a8f7(0x2f6)]){_0x2fab21[_0x2c253c]=_0x9fb23d;}return _0x2fab21;}['toJSON'](){const _0x4da415=a0_0x54060a,_0x369680={};for(const [_0x5504fe,_0x34243a]of this[_0x4da415(0x2f6)]){_0x369680[_0x5504fe]=_0x34243a[_0x4da415(0x234)]()[_0x4da415(0x12b)](_0x5a21c0=>_0x5a21c0[_0x4da415(0x252)]());}return _0x369680;}[a0_0x54060a(0x16e)](){const _0x305bba=a0_0x54060a;return _0x305bba(0x318)+this[_0x305bba(0x2f6)][_0x305bba(0x337)]+_0x305bba(0x215)+(this['hasConflicts']()?_0x305bba(0x11f):'no\x20conflicts')+')';}}class DatasetList{[a0_0x54060a(0x3b6)];constructor(_0x3e8529){const _0x4c449d=a0_0x54060a;let _0x2e6dfa;if(Array[_0x4c449d(0x1bf)](_0x3e8529))_0x2e6dfa=_0x3e8529;else{if('success'in _0x3e8529){if(!_0x3e8529[_0x4c449d(0x1f2)])throw new Error(_0x4c449d(0x3a9));if(Array['isArray'](_0x3e8529[_0x4c449d(0x1e0)]))_0x2e6dfa=_0x3e8529[_0x4c449d(0x1e0)][_0x4c449d(0x12b)](_0x3e0b9d=>({..._0x3e0b9d,'datasetCode':_0x3e0b9d[_0x4c449d(0x280)]||_0x3e0b9d[_0x4c449d(0x355)]}));else{if(_0x3e8529['data']?.[_0x4c449d(0x166)])_0x2e6dfa=_0x3e8529[_0x4c449d(0x1e0)]['tableData'][_0x4c449d(0x12b)](_0x402779=>({..._0x402779,'datasetCode':_0x402779[_0x4c449d(0x280)]||_0x402779[_0x4c449d(0x355)]}));else throw new Error(_0x4c449d(0x2bb));}}else{if(_0x4c449d(0x166)in _0x3e8529){if(!Array[_0x4c449d(0x1bf)](_0x3e8529[_0x4c449d(0x166)]))throw new Error(_0x4c449d(0x1a8));_0x2e6dfa=_0x3e8529[_0x4c449d(0x166)][_0x4c449d(0x12b)](_0x3e28a4=>({..._0x3e28a4,'datasetCode':_0x3e28a4[_0x4c449d(0x280)]||_0x3e28a4[_0x4c449d(0x355)]}));}else throw new Error(_0x4c449d(0x1f3));}}const _0xbdad43=_0x2e6dfa['map'](_0x508b06=>new DatasetItem(_0x508b06));this[_0x4c449d(0x3b6)]=new DatasetGroupMap(_0xbdad43);}get[a0_0x54060a(0x138)](){const _0x39e947=a0_0x54060a;return this[_0x39e947(0x3b6)];}[a0_0x54060a(0x25e)](){const _0xaae286=a0_0x54060a;return this[_0xaae286(0x3b6)][_0xaae286(0x11a)]();}[a0_0x54060a(0x240)](){const _0x5397f3=a0_0x54060a;return this[_0x5397f3(0x25e)]()[_0x5397f3(0x17f)];}[a0_0x54060a(0x14e)](){return this['_datasetMap']['size']===0x0;}[a0_0x54060a(0x338)](_0x24908e){const _0x4993a8=a0_0x54060a;return this[_0x4993a8(0x25e)]()[_0x24908e];}[a0_0x54060a(0x2fb)](){const _0xc27b8d=a0_0x54060a;return this[_0xc27b8d(0x25e)]()[0x0];}[a0_0x54060a(0x27a)](){const _0x2811b7=a0_0x54060a,_0x2e3a93=this[_0x2811b7(0x25e)]();return _0x2e3a93[_0x2e3a93[_0x2811b7(0x17f)]-0x1];}[a0_0x54060a(0x3aa)](_0x3c9e73){const _0x4f9194=a0_0x54060a;for(const _0x4696df of this[_0x4f9194(0x3b6)][_0x4f9194(0x256)]()){const _0x3b7d9a=_0x4696df[_0x4f9194(0x3aa)](_0x3c9e73);if(_0x3b7d9a)return _0x3b7d9a;}return;}['findByName'](_0x45098d){const _0x49ded5=a0_0x54060a;return this[_0x49ded5(0x25e)]()[_0x49ded5(0x283)](_0x3a45d6=>_0x3a45d6[_0x49ded5(0x175)]===_0x45098d);}['findById'](_0xbaa724){const _0x1c9a4e=a0_0x54060a;for(const _0x479e17 of this[_0x1c9a4e(0x3b6)][_0x1c9a4e(0x256)]()){const _0x4c7839=_0x479e17['findById'](_0xbaa724);if(_0x4c7839)return _0x4c7839;}return;}[a0_0x54060a(0x1d5)](_0x314c65){const _0x361a58=getTableKey(_0x314c65);return this['_datasetMap']['getLatest'](_0x361a58);}[a0_0x54060a(0x132)](_0x2212cc){const _0x7ca2bc=a0_0x54060a,_0x1e521d=this['getItems']()[_0x7ca2bc(0x132)](_0x2212cc);return new DatasetList(_0x1e521d[_0x7ca2bc(0x12b)](_0x23c240=>_0x23c240[_0x7ca2bc(0x252)]()));}[a0_0x54060a(0x312)](_0x4eaa5c){const _0x5d0115=a0_0x54060a;return this[_0x5d0115(0x25e)]()['filter'](_0x4eaa5c);}[a0_0x54060a(0x290)](_0x1cb6a9){const _0x4daf50=a0_0x54060a;this['getItems']()[_0x4daf50(0x290)](_0x1cb6a9);}[a0_0x54060a(0x12b)](_0x57a771){const _0x4535de=a0_0x54060a;return this[_0x4535de(0x25e)]()[_0x4535de(0x12b)](_0x57a771);}[Symbol['iterator']](){const _0x394a9b=a0_0x54060a;return this[_0x394a9b(0x25e)]()[Symbol[_0x394a9b(0x2fe)]]();}[a0_0x54060a(0x2fd)](){const _0x335a53=a0_0x54060a;return this[_0x335a53(0x25e)]()[_0x335a53(0x132)](_0x57721d=>_0x57721d[_0x335a53(0x233)]());}[a0_0x54060a(0x20a)](){const _0x4a30bd=a0_0x54060a;return this[_0x4a30bd(0x25e)]()[_0x4a30bd(0x132)](_0x52a5ed=>!_0x52a5ed[_0x4a30bd(0x233)]());}[a0_0x54060a(0x228)](){const _0xc2732c=a0_0x54060a,_0x2f212d={};for(const _0xdd4e45 of this[_0xc2732c(0x3b6)][_0xc2732c(0x256)]()){const _0x118935=_0xdd4e45[_0xc2732c(0x174)]()[_0xc2732c(0x2f2)]();_0x2f212d[_0x118935]=_0xdd4e45[_0xc2732c(0x234)]();}return _0x2f212d;}[a0_0x54060a(0x31c)](){const _0x3f76d0=a0_0x54060a,_0x135df6={};for(const _0x582365 of this[_0x3f76d0(0x3b6)][_0x3f76d0(0x1b4)]()[_0x3f76d0(0x256)]()){const _0x72c36b=_0x582365[_0x3f76d0(0x174)]()[_0x3f76d0(0x2f2)]();_0x135df6[_0x72c36b]=_0x582365[_0x3f76d0(0x234)]()['map'](_0x4d9172=>_0x4d9172[_0x3f76d0(0x252)]());}return{'hasConflicts':Object[_0x3f76d0(0x2e3)](_0x135df6)[_0x3f76d0(0x17f)]>0x0,'conflicts':_0x135df6};}[a0_0x54060a(0x38c)](){const _0x4f5641=a0_0x54060a;return this[_0x4f5641(0x3b6)][_0x4f5641(0x38c)]();}[a0_0x54060a(0x161)](){const _0x4f2429=a0_0x54060a,_0x1a0738=[];for(const _0xcd9857 of this[_0x4f2429(0x3b6)][_0x4f2429(0x1b4)]()[_0x4f2429(0x256)]()){_0x1a0738[_0x4f2429(0x30d)](..._0xcd9857['getAll']());}return _0x1a0738;}[a0_0x54060a(0x235)](_0x46e5d8){const _0x2a70a2=a0_0x54060a;if(!_0x46e5d8||Object['keys'](_0x46e5d8)[_0x2a70a2(0x17f)]===0x0)return this[_0x2a70a2(0x138)][_0x2a70a2(0x231)]();const _0x105511=this[_0x2a70a2(0x25e)]()[_0x2a70a2(0x12b)](_0x4d3426=>_0x4d3426[_0x2a70a2(0x252)]());return generateDatasetsConfig(_0x105511,_0x46e5d8);}[a0_0x54060a(0x27c)](_0x167d05){const _0x20854d=a0_0x54060a,_0x16c53a=this[_0x20854d(0x235)](_0x167d05);return datasetsConfigToArray(_0x16c53a);}[a0_0x54060a(0x1f0)](){const _0x347e74=a0_0x54060a;return this[_0x347e74(0x25e)]()[_0x347e74(0x12b)](_0x88f6e=>_0x88f6e[_0x347e74(0x231)]());}[a0_0x54060a(0x277)](){const _0x2775ef=a0_0x54060a;return{'total':this['getCount'](),'virtualTables':this[_0x2775ef(0x2fd)]()[_0x2775ef(0x17f)],'realTables':this[_0x2775ef(0x20a)]()[_0x2775ef(0x17f)],'hasConflicts':this[_0x2775ef(0x38c)](),'conflictCount':this[_0x2775ef(0x161)]()[_0x2775ef(0x17f)]};}[a0_0x54060a(0x36f)](){const _0xf52227=a0_0x54060a;return this['getItems']()[_0xf52227(0x12b)](_0x40b681=>_0x40b681[_0xf52227(0x252)]());}[a0_0x54060a(0x252)](){const _0x636cc8=a0_0x54060a;return this[_0x636cc8(0x36f)]();}[a0_0x54060a(0x16e)](){const _0x393935=a0_0x54060a;return _0x393935(0x2f0)+this[_0x393935(0x240)]()+'\x20items,\x20'+this[_0x393935(0x3b6)][_0x393935(0x337)]+_0x393935(0x301);}static[a0_0x54060a(0x3a1)](_0x564d50){return new DatasetList(_0x564d50);}static[a0_0x54060a(0x172)](_0x50374d){return new DatasetList(_0x50374d);}static[a0_0x54060a(0x2a0)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x54060a(0x149);function renderTemplate(_0x6eedc0,_0x2c9fe7,_0x2c4d92={}){const _0x589662=a0_0x54060a;let _0x2422ee=_0x6eedc0;return Object['entries'](_0x2c4d92)[_0x589662(0x290)](([_0x25c74b,_0x359b7b])=>{const _0x19ea57=_0x589662,_0x49f260=new RegExp('<!--\x5cs*CONDITION:\x5cs*'+_0x25c74b+_0x19ea57(0x1e1),'g');_0x2422ee=_0x2422ee['replace'](_0x49f260,_0x359b7b?'$1':'');}),Object[_0x589662(0x2aa)](_0x2c9fe7)['forEach'](([_0x5830b7,_0x2bcffb])=>{const _0x11d30c=_0x589662;if(_0x2bcffb!==undefined){const _0x116b2a=new RegExp(_0x11d30c(0x1b6)+_0x5830b7+_0x11d30c(0x322),'g');_0x2422ee=_0x2422ee[_0x11d30c(0x12f)](_0x116b2a,_0x2bcffb);}}),_0x2422ee;}function generateSDKInitCode(_0x5a0310,_0x1ec370,_0x48686d,_0x45adaa,_0x3890e0){const _0x41ed2e=a0_0x54060a,_0x5e0d82={};_0x5e0d82[_0x41ed2e(0x1d7)]=_0x5a0310,_0x5e0d82['datasetCode']=_0x1ec370,_0x5e0d82[_0x41ed2e(0x246)]=_0x48686d,_0x5e0d82['env']=_0x45adaa==='daily'?'daily':undefined;const _0x335704={};return _0x335704['env']=_0x45adaa!==undefined&&_0x45adaa!=='online',_0x335704['isOpenAPI']=_0x3890e0===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x5e0d82,_0x335704);}var ALIAS_EXPLANATION_TEMPLATE='##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a';function a0_0x3c25(_0x4d912d,_0x479619){const _0x53c2a9=a0_0x53c2();return a0_0x3c25=function(_0x3c253c,_0x4526d2){_0x3c253c=_0x3c253c-0x118;let _0x47c3a3=_0x53c2a9[_0x3c253c];return _0x47c3a3;},a0_0x3c25(_0x4d912d,_0x479619);}function generateAliasExplanation(_0x74a547,_0xb5d601,_0xef82d,_0x50b950){const _0x557bcf=a0_0x54060a,_0x2cb498=_0x557bcf(0x297)+_0x74a547,_0xf79e48='{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}',_0x3f01c4={};return _0x3f01c4['datasetCode']=_0x74a547,_0x3f01c4['datasetSDKKey']=_0x2cb498,_0x3f01c4[_0x557bcf(0x2f4)]=_0xb5d601,_0x3f01c4[_0x557bcf(0x246)]=_0xef82d,_0x3f01c4['appCode']=_0x50b950,_0x3f01c4[_0x557bcf(0x30f)]=_0xf79e48,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x3f01c4,{});}function DrivenDataDetailPlusMixin(_0x1e4705){const _0x6eda31=a0_0x54060a;return class extends _0x1e4705{[_0x6eda31(0x285)](_0x5bb22f){const _0x33074d=_0x6eda31,_0x3c6274=this;return{'appCode':_0x5bb22f,'datasetSDKKey':_0x3c6274[_0x33074d(0x1e8)](),'alias':_0x3c6274['getModelAlias'](),'tableName':_0x3c6274[_0x33074d(0x2f2)](),'datasetCode':_0x3c6274[_0x33074d(0x355)]};}['generateSDKInitCode'](_0x47d78d,_0x174cf9=_0x6eda31(0x353),_0x1d9827=![]){const _0x3b5c0e=_0x6eda31,_0x15f306=this;return generateSDKInitCode(_0x47d78d,_0x15f306['datasetCode'],_0x15f306[_0x3b5c0e(0x22e)](),_0x174cf9===_0x3b5c0e(0x2ad)?_0x174cf9:undefined,_0x1d9827);}['generateFullSDKExample'](_0x42ccbb,_0x1ce815,_0x405ecb={}){const _0x165feb=_0x6eda31,_0x32cc3d=this,_0x294383=_0x32cc3d['getOperations']()[_0x165feb(0x283)](_0x4fd960=>_0x4fd960[_0x165feb(0x247)]()===_0x42ccbb);if(!_0x294383)return null;const _0x4dfc61={};_0x4dfc61[_0x165feb(0x29e)]=_0x405ecb[_0x165feb(0x147)]!==![];const _0x5e16e3=_0x32cc3d[_0x165feb(0x25a)](_0x42ccbb,_0x4dfc61);if(!_0x5e16e3)return null;const _0x40ab40=[];return _0x40ab40[_0x165feb(0x30d)](_0x165feb(0x14d)+_0x294383[_0x165feb(0x247)]()+_0x165feb(0x300)),_0x40ab40[_0x165feb(0x30d)](_0x5e16e3[_0x165feb(0x159)][_0x165feb(0x280)]),_0x40ab40[_0x165feb(0x30d)](''),_0x405ecb[_0x165feb(0x1bc)]!==![]&&(_0x40ab40[_0x165feb(0x30d)](_0x165feb(0x2ce)),_0x40ab40[_0x165feb(0x30d)](_0x5e16e3['usageExample'][_0x165feb(0x281)]),_0x40ab40[_0x165feb(0x30d)](''),_0x40ab40[_0x165feb(0x30d)](_0x5e16e3[_0x165feb(0x24d)][_0x165feb(0x2b5)])),_0x40ab40[_0x165feb(0x204)]('\x0a');}['generateAllOperationsFullSDKExample'](_0x4bc675={}){const _0x486e3c=_0x6eda31,_0x46b599=this,_0x3a296f=_0x46b599[_0x486e3c(0x24c)](),_0x53a466=[];return _0x3a296f[_0x486e3c(0x290)]((_0x7d279e,_0x1df45d)=>{const _0x8d07f6=_0x486e3c,_0x2808b4=this[_0x8d07f6(0x265)](_0x7d279e[_0x8d07f6(0x175)],_0x8d07f6(0x34c),_0x4bc675);_0x2808b4&&(_0x53a466['push'](_0x8d07f6(0x15b)+(_0x1df45d+0x1)+'.\x20'+_0x7d279e['displayName']),_0x53a466['push'](_0x2808b4),_0x53a466[_0x8d07f6(0x30d)](''));}),_0x53a466[_0x486e3c(0x204)]('\x0a');}['generateOperationSummary'](_0x4d82d8){const _0x4ffb20=_0x6eda31,_0x3f9711=this,_0x32e3fb=_0x3f9711[_0x4ffb20(0x11b)](_0x4d82d8);if(!_0x32e3fb)return null;const _0x4c12e2={};return _0x4c12e2[_0x4ffb20(0x175)]=_0x32e3fb['name'],_0x4c12e2[_0x4ffb20(0x368)]=_0x32e3fb[_0x4ffb20(0x368)],_0x4c12e2[_0x4ffb20(0x375)]=_0x32e3fb['method'],_0x4c12e2[_0x4ffb20(0x15d)]=_0x32e3fb[_0x4ffb20(0x15d)],_0x4c12e2[_0x4ffb20(0x1f7)]=_0x32e3fb[_0x4ffb20(0x1f7)],_0x4c12e2[_0x4ffb20(0x2c5)]=_0x32e3fb[_0x4ffb20(0x3af)][_0x4ffb20(0x17f)],_0x4c12e2[_0x4ffb20(0x29f)]=_0x32e3fb['responseSchema']!==null,_0x4c12e2;}[_0x6eda31(0x31a)](_0x5831c6={}){const _0x577e0a=_0x6eda31,_0x4e447a=this,_0x4a5ebc=_0x4e447a['getEnabledOperationAnalyses']();return{'datasetName':_0x4e447a[_0x577e0a(0x175)],'datasetCode':_0x4e447a[_0x577e0a(0x355)],'tableName':_0x4e447a[_0x577e0a(0x2f2)](),'totalOperations':_0x4a5ebc[_0x577e0a(0x17f)],'operations':_0x4a5ebc[_0x577e0a(0x12b)](_0x67bcd0=>({'name':_0x67bcd0[_0x577e0a(0x175)],'displayName':_0x67bcd0['displayName'],'method':_0x67bcd0[_0x577e0a(0x375)],'enabled':_0x67bcd0['enabled']}))};}[_0x6eda31(0x357)](_0x1a4a9a){const _0x2ce8dc=_0x6eda31,_0x293075=this,_0x8453a3=_0x293075['getOperationAnalysis'](_0x1a4a9a);if(!_0x8453a3)return[];return _0x8453a3['requestFields'][_0x2ce8dc(0x12b)](_0x86cb80=>{const _0x323bed=_0x2ce8dc,_0x358d5a=_0x293075[_0x323bed(0x20f)](_0x86cb80);if(!_0x358d5a)return null;const _0x466257={};return _0x466257[_0x323bed(0x280)]=_0x86cb80,_0x466257[_0x323bed(0x175)]=_0x358d5a[_0x323bed(0x175)]||_0x86cb80,_0x466257;})['filter'](_0x5e80bb=>_0x5e80bb!==null);}[_0x6eda31(0x21c)](){const _0x4a5926=_0x6eda31,_0x38a670=this,_0x3a737c=new Set(_0x38a670[_0x4a5926(0x24c)]()['map'](_0x2d68f9=>String(_0x2d68f9[_0x4a5926(0x1a2)]))),_0x3222a2=[_0x4a5926(0x239),_0x4a5926(0x13b),_0x4a5926(0x1aa),'delete'];return _0x3222a2['filter'](_0x297d76=>!_0x3a737c['has'](String(_0x297d76)));}[_0x6eda31(0x16a)](_0x514b2f=_0x6eda31(0x34c)){const _0x1b9b5e=_0x6eda31,_0x5bdd48=this;return generateAliasExplanation(_0x5bdd48[_0x1b9b5e(0x355)],_0x5bdd48[_0x1b9b5e(0x2f2)](),_0x5bdd48[_0x1b9b5e(0x22e)](),_0x514b2f);}};}function operationToAnalysis(_0x4c3c2d){const _0x3d07aa=a0_0x54060a;return{'name':_0x4c3c2d[_0x3d07aa(0x247)](),'displayName':_0x4c3c2d[_0x3d07aa(0x390)](),'type':_0x4c3c2d['getType'](),'method':_0x4c3c2d[_0x3d07aa(0x2de)](),'path':_0x4c3c2d[_0x3d07aa(0x25b)](),'fullUrl':_0x4c3c2d['getFullUrl'](),'requestFields':_0x4c3c2d[_0x3d07aa(0x388)](),'requestParams':_0x4c3c2d[_0x3d07aa(0x171)](),'responseSchema':_0x4c3c2d[_0x3d07aa(0x2ef)](),'requestExample':_0x4c3c2d['generateRequestExample'](),'responseExample':_0x4c3c2d['generateResponseExample'](),'enabled':_0x4c3c2d[_0x3d07aa(0x352)]()};}function operationsToAnalyses(_0x2e0304){return _0x2e0304['map'](operationToAnalysis);}function sortOperationsWithFilterFirst(_0xa2f447){const _0x32bd00=a0_0x54060a,_0x288d9c=_0xa2f447[_0x32bd00(0x283)](_0x4540ca=>_0x4540ca[_0x32bd00(0x175)]===_0x32bd00(0x132)),_0x4408a3=_0xa2f447[_0x32bd00(0x132)](_0xbaae39=>_0xbaae39[_0x32bd00(0x175)]!==_0x32bd00(0x132));return _0x288d9c?[_0x288d9c,..._0x4408a3]:_0x4408a3;}function filterOperationAnalyses(_0x1dac50,_0x4fe78a={}){const _0x353f04=a0_0x54060a;let _0x1e3194=_0x1dac50;return!_0x4fe78a['includeDisabled']&&(_0x1e3194=_0x1e3194[_0x353f04(0x132)](_0x2ee98b=>_0x2ee98b[_0x353f04(0x1f7)])),_0x4fe78a[_0x353f04(0x1e6)]!==![]&&(_0x1e3194=filterApiOperations(_0x1e3194)),_0x4fe78a['customFilter']&&(_0x1e3194=_0x1e3194[_0x353f04(0x132)](_0x4fe78a[_0x353f04(0x382)])),sortOperationsWithFilterFirst(_0x1e3194);}function getOperationStats(_0xec353e){const _0x29e823=a0_0x54060a,_0x23639f=_0xec353e[_0x29e823(0x132)](_0x44a6b5=>_0x44a6b5['enabled']);return{'total':_0xec353e['length'],'enabled':_0x23639f['length'],'disabled':_0xec353e[_0x29e823(0x17f)]-_0x23639f[_0x29e823(0x17f)],'byType':getCountByType(_0x23639f),'byMethod':getCountByMethod(_0x23639f)};}function getCountByType(_0x1fd129){const _0x3d762c={};return _0x1fd129['forEach'](_0x2f3ece=>{const _0x49f98c=a0_0x3c25;if(_0x2f3ece['type'])_0x3d762c[_0x2f3ece[_0x49f98c(0x1a2)]]=(_0x3d762c[_0x2f3ece['type']]||0x0)+0x1;}),_0x3d762c;}function getCountByMethod(_0x43e81f){const _0x2d8bbe=a0_0x54060a,_0x3e52f7={};return _0x43e81f[_0x2d8bbe(0x290)](_0xdcde78=>{const _0x2560cf=_0x2d8bbe;_0x3e52f7[_0xdcde78[_0x2560cf(0x375)]]=(_0x3e52f7[_0xdcde78['method']]||0x0)+0x1;}),_0x3e52f7;}function supportsCRUD(_0x57f210){const _0x4af961=a0_0x54060a,_0x39fb1f=new Set(_0x57f210[_0x4af961(0x12b)](_0x165bfd=>_0x165bfd[_0x4af961(0x1a2)])[_0x4af961(0x132)](Boolean));return _0x39fb1f[_0x4af961(0x19e)](_0x4af961(0x239))&&_0x39fb1f[_0x4af961(0x19e)](_0x4af961(0x13b))&&_0x39fb1f[_0x4af961(0x19e)](_0x4af961(0x1aa))&&_0x39fb1f[_0x4af961(0x19e)](_0x4af961(0x253));}function createOperationDocMeta(_0x2fbc9b,_0x29c320,_0x12139c,_0x42dff0,_0x3f5245,_0x1e2d1a){const _0x3602a8=a0_0x54060a,_0x429cef={};return _0x429cef[_0x3602a8(0x29e)]=_0x1e2d1a?.['useFullExample'],{'operation':_0x2fbc9b,'operationInstance':_0x29c320,'basicInfo':{'name':_0x2fbc9b[_0x3602a8(0x175)],'displayName':_0x2fbc9b[_0x3602a8(0x368)],'method':_0x2fbc9b[_0x3602a8(0x375)],'path':_0x2fbc9b[_0x3602a8(0x15d)],'fullUrl':_0x2fbc9b[_0x3602a8(0x2c0)],'enabled':_0x2fbc9b[_0x3602a8(0x1f7)]},'sdkCall':{'datasetCode':_0x12139c,'datasetSDKKey':_0x42dff0,'tableName':_0x3f5245,'operationName':_0x2fbc9b[_0x3602a8(0x175)],'params':_0x2fbc9b[_0x3602a8(0x3af)],'code':_0x29c320['generateSDKCallCode'](_0x42dff0,_0x429cef)},'usageExample':_0x29c320[_0x3602a8(0x3b4)](_0x42dff0)};}function createOperationsOverviewData(_0xb6318b){const _0x31d56d=a0_0x54060a,_0x4f29e8={};_0x4f29e8['index']='name',_0x4f29e8['label']=_0x31d56d(0x169);const _0x30bdaa={};_0x30bdaa[_0x31d56d(0x364)]=_0x31d56d(0x368),_0x30bdaa[_0x31d56d(0x28a)]=_0x31d56d(0x2f9);const _0x3cc48d={};_0x3cc48d[_0x31d56d(0x364)]=_0x31d56d(0x375),_0x3cc48d['label']='方法';const _0x20c703={};_0x20c703['index']=_0x31d56d(0x159),_0x20c703[_0x31d56d(0x28a)]=_0x31d56d(0x2f3);const _0x27ec74={};_0x27ec74[_0x31d56d(0x364)]=_0x31d56d(0x15d),_0x27ec74[_0x31d56d(0x28a)]=_0x31d56d(0x24b);const _0x4d5285={};_0x4d5285[_0x31d56d(0x364)]=_0x31d56d(0x3bc),_0x4d5285[_0x31d56d(0x28a)]=_0x31d56d(0x307);const _0x31b17f=[_0x4f29e8,_0x30bdaa,_0x3cc48d,_0x20c703,_0x27ec74,_0x4d5285],_0x239d25=_0xb6318b[_0x31d56d(0x12b)](_0x1426f6=>{const _0x3aa7e0=_0x31d56d,{basicInfo:_0x531662,sdkCall:_0x27f20b}=_0x1426f6,_0x262514=_0x27f20b[_0x3aa7e0(0x280)]['replace'](/^const\s+\w+\s*=\s*await\s+/,'')[_0x3aa7e0(0x12f)](/;$/,''),_0x215985={};return _0x215985['displayName']=_0x531662['displayName'],_0x215985[_0x3aa7e0(0x175)]=_0x531662['name'],_0x215985[_0x3aa7e0(0x375)]=_0x531662[_0x3aa7e0(0x375)],_0x215985[_0x3aa7e0(0x15d)]=_0x531662[_0x3aa7e0(0x15d)],_0x215985[_0x3aa7e0(0x159)]=_0x262514,_0x215985[_0x3aa7e0(0x3bc)]=_0x27f20b['code'],_0x215985;}),_0x3a1c5e={};return _0x3a1c5e[_0x31d56d(0x2af)]=_0x31b17f,_0x3a1c5e[_0x31d56d(0x166)]=_0x239d25,_0x3a1c5e;}function createDatasetDocMeta(_0x5ec5cf,_0x10eae9,_0x300fac,_0x2ca519,_0x43895d,_0x75b596,_0x521262,_0x5d6883,_0x47885c){const _0x2fa377=a0_0x54060a,_0x496537={};return _0x496537[_0x2fa377(0x260)]=_0x5ec5cf+_0x2fa377(0x2e8),_0x496537[_0x2fa377(0x1b8)]={},_0x496537['operations']=_0x47885c,_0x496537[_0x2fa377(0x1b8)][_0x2fa377(0x175)]=_0x5ec5cf,_0x496537[_0x2fa377(0x1b8)]['code']=_0x10eae9,_0x496537[_0x2fa377(0x1b8)][_0x2fa377(0x2f4)]=_0x300fac,_0x496537[_0x2fa377(0x1b8)][_0x2fa377(0x1e2)]=_0x2ca519,_0x496537[_0x2fa377(0x1b8)][_0x2fa377(0x199)]=_0x43895d,_0x496537[_0x2fa377(0x1b8)][_0x2fa377(0x3c1)]=_0x75b596,_0x496537[_0x2fa377(0x1b8)][_0x2fa377(0x2c6)]=_0x521262,_0x496537[_0x2fa377(0x1b8)][_0x2fa377(0x212)]=0x0,_0x496537[_0x2fa377(0x1b8)]['systemFieldCount']=0x0,_0x496537[_0x2fa377(0x1b8)][_0x2fa377(0x152)]=_0x5d6883,_0x496537[_0x2fa377(0x1b8)][_0x2fa377(0x323)]=_0x47885c['length'],_0x496537;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x54060a(0x3d4)];[a0_0x54060a(0x387)](){return'v1';}[a0_0x54060a(0x22e)](){const _0x36fe9a=a0_0x54060a;return this[_0x36fe9a(0x251)]();}['getOperationAnalyses'](_0x422a0e=![]){const _0x186a09=a0_0x54060a;if(!_0x422a0e&&this[_0x186a09(0x3d4)])return this[_0x186a09(0x3d4)];const _0x39acf7=this[_0x186a09(0x12a)]();return this[_0x186a09(0x3d4)]=operationsToAnalyses(_0x39acf7),this['_operationAnalyses'];}[a0_0x54060a(0x24c)](){const _0x3c23a6=a0_0x54060a,_0xf3c544={};return _0xf3c544['includeDisabled']=![],_0xf3c544[_0x3c23a6(0x1e6)]=!![],this[_0x3c23a6(0x2b4)](_0xf3c544);}[a0_0x54060a(0x2b4)](_0x2319ef={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x2319ef);}[a0_0x54060a(0x11b)](_0x57e9b6){const _0x506f69=a0_0x54060a;return this[_0x506f69(0x16b)]()['find'](_0x480522=>_0x480522[_0x506f69(0x175)]===_0x57e9b6);}[a0_0x54060a(0x33d)](_0x198a3c){const _0x3d4bcc=a0_0x54060a;return this['getOperationAnalyses']()[_0x3d4bcc(0x132)](_0x3bef43=>_0x3bef43[_0x3d4bcc(0x1a2)]===_0x198a3c);}['getOperationDocMeta'](_0x1abdd2,_0x34ecc3){const _0x180030=a0_0x54060a,_0x516887=this[_0x180030(0x11b)](_0x1abdd2);if(!_0x516887)return null;const _0x4f230c=this[_0x180030(0x12a)]()[_0x180030(0x283)](_0x4978b4=>_0x4978b4[_0x180030(0x247)]()===_0x516887[_0x180030(0x175)]);if(!_0x4f230c)throw new Error(_0x180030(0x36b)+_0x516887[_0x180030(0x175)]);return createOperationDocMeta(_0x516887,_0x4f230c,this[_0x180030(0x355)],this['getDatasetSDKKey'](),this[_0x180030(0x2f2)](),_0x34ecc3);}[a0_0x54060a(0x26c)](_0xe084d7={}){const _0xf3cb73=a0_0x54060a,_0x42803b=this[_0xf3cb73(0x2b4)](_0xe084d7),_0x1022cd=_0x42803b[_0xf3cb73(0x12b)](_0x4b9d5b=>this[_0xf3cb73(0x25a)](_0x4b9d5b['name']))[_0xf3cb73(0x132)](_0x488191=>_0x488191!==null);return createDatasetDocMeta(this[_0xf3cb73(0x175)],this[_0xf3cb73(0x355)],this[_0xf3cb73(0x2f2)](),this[_0xf3cb73(0x1e8)](),this[_0xf3cb73(0x251)](),this[_0xf3cb73(0x3c1)],this[_0xf3cb73(0x2c9)](),this[_0xf3cb73(0x33e)](),_0x1022cd);}[a0_0x54060a(0x3d5)](_0x5b2ca2){return createOperationsOverviewData(_0x5b2ca2);}[a0_0x54060a(0x2df)](){const _0x374019=a0_0x54060a;return supportsCRUD(this[_0x374019(0x24c)]());}[a0_0x54060a(0x144)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x54060a(0x16e)](){const _0x3bfe4f=a0_0x54060a,_0x3823be=this['getOperationStats']();return _0x3bfe4f(0x3b9)+this[_0x3bfe4f(0x175)]+',\x20'+this[_0x3bfe4f(0x355)]+',\x20'+this[_0x3bfe4f(0x2c9)]()+'\x20fields,\x20'+_0x3823be['enabled']+'/'+_0x3823be['total']+_0x3bfe4f(0x123);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x54060a(0x3d4)];[a0_0x54060a(0x387)](){return'v2';}[a0_0x54060a(0x22e)](){const _0xdec18=a0_0x54060a;return this[_0xdec18(0x251)]();}['getOperationAnalyses'](_0x2c709f=![]){const _0x1899da=a0_0x54060a;if(!_0x2c709f&&this[_0x1899da(0x3d4)])return this['_operationAnalyses'];const _0x4b2d03=this[_0x1899da(0x12a)]();return this[_0x1899da(0x3d4)]=operationsToAnalyses(_0x4b2d03),this[_0x1899da(0x3d4)];}[a0_0x54060a(0x24c)](){const _0x30e069=a0_0x54060a,_0x407ebc={};return _0x407ebc['includeDisabled']=![],_0x407ebc[_0x30e069(0x1e6)]=!![],this['getFilteredOperationAnalyses'](_0x407ebc);}[a0_0x54060a(0x2b4)](_0x2fce5d={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x2fce5d);}['getOperationAnalysis'](_0x3c751f){const _0x2369ab=a0_0x54060a;return this[_0x2369ab(0x16b)]()[_0x2369ab(0x283)](_0x505237=>_0x505237[_0x2369ab(0x175)]===_0x3c751f);}[a0_0x54060a(0x33d)](_0x1ca3c0){const _0x25eff4=a0_0x54060a;return this['getOperationAnalyses']()['filter'](_0x290078=>_0x290078[_0x25eff4(0x1a2)]===_0x1ca3c0);}[a0_0x54060a(0x25a)](_0x579dcd,_0x110d62){const _0xc30224=a0_0x54060a,_0x297a15=this[_0xc30224(0x11b)](_0x579dcd);if(!_0x297a15)return null;const _0x488008=this[_0xc30224(0x12a)]()[_0xc30224(0x283)](_0x57518b=>_0x57518b[_0xc30224(0x247)]()===_0x297a15[_0xc30224(0x175)]);if(!_0x488008)throw new Error(_0xc30224(0x36b)+_0x297a15['name']);return createOperationDocMeta(_0x297a15,_0x488008,this[_0xc30224(0x355)],this[_0xc30224(0x1e8)](),this[_0xc30224(0x2f2)](),_0x110d62);}[a0_0x54060a(0x26c)](_0x430ed5={}){const _0x4092a8=a0_0x54060a,_0x1b3d15=this['getFilteredOperationAnalyses'](_0x430ed5),_0x3c7708=_0x1b3d15[_0x4092a8(0x12b)](_0x2f15ba=>this[_0x4092a8(0x25a)](_0x2f15ba[_0x4092a8(0x175)]))[_0x4092a8(0x132)](_0x2b77f3=>_0x2b77f3!==null);return createDatasetDocMeta(this[_0x4092a8(0x175)],this[_0x4092a8(0x355)],this[_0x4092a8(0x2f2)](),this[_0x4092a8(0x1e8)](),this[_0x4092a8(0x251)](),this[_0x4092a8(0x3c1)],this[_0x4092a8(0x2c9)](),this['getOperationCount'](),_0x3c7708);}['getOperationsOverviewData'](_0x2b1e9e){return createOperationsOverviewData(_0x2b1e9e);}[a0_0x54060a(0x2df)](){return supportsCRUD(this['getEnabledOperationAnalyses']());}[a0_0x54060a(0x144)](){const _0x279d07=a0_0x54060a;return getOperationStats(this[_0x279d07(0x16b)]());}[a0_0x54060a(0x16e)](){const _0x38e80f=a0_0x54060a,_0x234222=this[_0x38e80f(0x144)]();return _0x38e80f(0x3a6)+this[_0x38e80f(0x175)]+',\x20'+this[_0x38e80f(0x355)]+',\x20'+this['getFieldCount']()+_0x38e80f(0x219)+_0x234222[_0x38e80f(0x1f7)]+'/'+_0x234222['total']+_0x38e80f(0x11e);}}function detectDatasetVersion3(_0x367454){const _0x294c4e=a0_0x54060a;if(_0x367454[_0x294c4e(0x128)]==='v2'&&_0x294c4e(0x2ae)in _0x367454&&Array[_0x294c4e(0x1bf)](_0x367454[_0x294c4e(0x2ae)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x54060a(0x3bf)];constructor(_0x4b7892){const _0x52b631=a0_0x54060a,_0x3d827a=detectDatasetVersion3(_0x4b7892);this[_0x52b631(0x3bf)]=_0x3d827a==='v2'?new DrivenDataDetailPlusV2(_0x4b7892):new DrivenDataDetailPlusV1(_0x4b7892);}get['name'](){const _0x2471dc=a0_0x54060a;return this[_0x2471dc(0x3bf)][_0x2471dc(0x175)];}get['id'](){return this['_instance']['id'];}get[a0_0x54060a(0x355)](){const _0x5545c4=a0_0x54060a;return this[_0x5545c4(0x3bf)]['datasetCode'];}get[a0_0x54060a(0x3c1)](){const _0x26cef5=a0_0x54060a;return this[_0x26cef5(0x3bf)][_0x26cef5(0x3c1)];}[a0_0x54060a(0x387)](){const _0x1b7aad=a0_0x54060a,_0x42aaf4=this['_instance'][_0x1b7aad(0x387)]();return _0x42aaf4==='v2'?'v2':'v1';}[a0_0x54060a(0x2c9)](){const _0x15e14b=a0_0x54060a;return this[_0x15e14b(0x3bf)][_0x15e14b(0x2c9)]();}[a0_0x54060a(0x33e)](){const _0x46acae=a0_0x54060a;return this[_0x46acae(0x3bf)][_0x46acae(0x33e)]();}[a0_0x54060a(0x173)](){const _0x328d46=a0_0x54060a;return this[_0x328d46(0x3bf)][_0x328d46(0x173)]();}[a0_0x54060a(0x12a)](){return this['_instance']['getOperations']();}[a0_0x54060a(0x20f)](_0x20c72a){const _0x19d8e2=a0_0x54060a;return this[_0x19d8e2(0x3bf)][_0x19d8e2(0x20f)](_0x20c72a);}['getTableName'](){const _0x3d9c69=a0_0x54060a;return this[_0x3d9c69(0x3bf)]['getTableName']();}[a0_0x54060a(0x251)](){const _0x170c55=a0_0x54060a;return this[_0x170c55(0x3bf)]['getTableKey']();}[a0_0x54060a(0x1e8)](){const _0x5659e0=a0_0x54060a;return this['_instance'][_0x5659e0(0x1e8)]();}['getFieldList'](){const _0x324925=a0_0x54060a;return this[_0x324925(0x3bf)][_0x324925(0x326)]();}[a0_0x54060a(0x31e)](){const _0x5a3b9d=a0_0x54060a;return this[_0x5a3b9d(0x3bf)][_0x5a3b9d(0x31e)]();}['getEnumFieldsMeta'](){const _0x19b8bd=a0_0x54060a;return this['_instance'][_0x19b8bd(0x36d)]();}['isMultipleSelectField'](_0x57ef96){const _0x1016bd=a0_0x54060a;return this[_0x1016bd(0x3bf)][_0x1016bd(0x19b)](_0x57ef96);}[a0_0x54060a(0x378)](_0x527daf){return this['_instance']['getField'](_0x527daf);}['getFieldOptions'](_0x368bf8){const _0x25ed8d=a0_0x54060a;return this['_instance'][_0x25ed8d(0x181)](_0x368bf8);}[a0_0x54060a(0x189)](_0x2cc1db){const _0x2daf76=a0_0x54060a;return this['_instance'][_0x2daf76(0x189)](_0x2cc1db);}[a0_0x54060a(0x218)](_0x15e068){return this['_instance']['getEnumFieldMeta'](_0x15e068);}[a0_0x54060a(0x1c3)](_0x31e70b,_0x246f86){const _0x4cb015=a0_0x54060a;return this[_0x4cb015(0x3bf)][_0x4cb015(0x1c3)](_0x31e70b,_0x246f86);}[a0_0x54060a(0x210)](_0xe42f1e){const _0x227fd5=a0_0x54060a;return this[_0x227fd5(0x3bf)]['isRequiredField'](_0xe42f1e);}[a0_0x54060a(0x277)](){const _0x147583=a0_0x54060a;return this[_0x147583(0x3bf)][_0x147583(0x277)]();}[a0_0x54060a(0x275)](){const _0x203b84=a0_0x54060a;return this[_0x203b84(0x3bf)][_0x203b84(0x275)]();}[a0_0x54060a(0x314)](){const _0x1ac0c5=a0_0x54060a;return this[_0x1ac0c5(0x3bf)]['hasFilterOperation']();}[a0_0x54060a(0x2ea)](_0x34dfac){const _0x4adc5d=a0_0x54060a;return this[_0x4adc5d(0x3bf)][_0x4adc5d(0x2ea)](_0x34dfac);}['getDBConfig'](){const _0x46150b=a0_0x54060a;return this['_instance'][_0x46150b(0x129)]();}[a0_0x54060a(0x29d)](){const _0x25cf7a=a0_0x54060a;return this[_0x25cf7a(0x3bf)]['getRawDbtableConfig']();}[a0_0x54060a(0x310)](){const _0x80de43=a0_0x54060a;return this[_0x80de43(0x3bf)][_0x80de43(0x310)]();}[a0_0x54060a(0x16b)](_0x391706){const _0x5a58bf=a0_0x54060a;return this[_0x5a58bf(0x3bf)]['getOperationAnalyses'](_0x391706);}['getEnabledOperationAnalyses'](){const _0x29bc01=a0_0x54060a;return this['_instance'][_0x29bc01(0x24c)]();}['getFilteredOperationAnalyses'](_0x4d8958){const _0x278f2a=a0_0x54060a;return this[_0x278f2a(0x3bf)]['getFilteredOperationAnalyses'](_0x4d8958);}[a0_0x54060a(0x11b)](_0x490dc8){const _0x50686d=a0_0x54060a;return this['_instance'][_0x50686d(0x11b)](_0x490dc8);}[a0_0x54060a(0x33d)](_0x1da056){const _0x3620ab=a0_0x54060a;return this[_0x3620ab(0x3bf)][_0x3620ab(0x33d)](_0x1da056);}[a0_0x54060a(0x25a)](_0x33ce3b,_0x19e30a){const _0x4cf082=a0_0x54060a;return this[_0x4cf082(0x3bf)][_0x4cf082(0x25a)](_0x33ce3b,_0x19e30a);}[a0_0x54060a(0x26c)](_0x153a5b){const _0xae0557=a0_0x54060a;return this[_0xae0557(0x3bf)][_0xae0557(0x26c)](_0x153a5b);}[a0_0x54060a(0x3d5)](_0x3f911f){const _0x13733c=a0_0x54060a;return this[_0x13733c(0x3bf)][_0x13733c(0x3d5)](_0x3f911f);}['getModelAlias'](){const _0x19cc88=a0_0x54060a;return this[_0x19cc88(0x3bf)][_0x19cc88(0x22e)]();}[a0_0x54060a(0x2df)](){return this['_instance']['supportsCRUD']();}[a0_0x54060a(0x144)](){const _0x295d89=a0_0x54060a;return this[_0x295d89(0x3bf)][_0x295d89(0x144)]();}['toString'](){const _0xd350ec=a0_0x54060a;return this[_0xd350ec(0x3bf)][_0xd350ec(0x16e)]();}['generateAliasExplanation'](){const _0x3dedc3=a0_0x54060a;return this['_instance'][_0x3dedc3(0x16a)]();}['getOperation'](_0xb34e55){const _0x13f318=a0_0x54060a;return this[_0x13f318(0x3bf)][_0x13f318(0x2e1)](_0xb34e55);}['getSDKInitData'](_0x488910){const _0x18ab24=a0_0x54060a;return this[_0x18ab24(0x3bf)][_0x18ab24(0x285)](_0x488910);}[a0_0x54060a(0x2ec)](_0x1b267e,_0x28e54b,_0x47f0b7){const _0x14a4cb=a0_0x54060a;return this['_instance'][_0x14a4cb(0x2ec)](_0x1b267e,_0x28e54b,_0x47f0b7);}[a0_0x54060a(0x265)](_0x4ed9db,_0x1e89f3,_0x2ef46c){const _0x2bb4c8=a0_0x54060a;return this[_0x2bb4c8(0x3bf)][_0x2bb4c8(0x265)](_0x4ed9db,_0x1e89f3,_0x2ef46c);}['generateAllOperationsFullSDKExample'](_0x59f94e){const _0x586efd=a0_0x54060a;return this[_0x586efd(0x3bf)][_0x586efd(0x1b5)](_0x59f94e);}[a0_0x54060a(0x2dc)](_0x47b070){const _0x13f30c=a0_0x54060a;return this[_0x13f30c(0x3bf)][_0x13f30c(0x2dc)](_0x47b070);}[a0_0x54060a(0x31a)](_0x2a6c9f){const _0x589740=a0_0x54060a;return this[_0x589740(0x3bf)][_0x589740(0x31a)](_0x2a6c9f);}[a0_0x54060a(0x357)](_0x41089b){const _0x312891=a0_0x54060a;return this[_0x312891(0x3bf)][_0x312891(0x357)](_0x41089b);}[a0_0x54060a(0x21c)](){const _0x21e1c5=a0_0x54060a;return this[_0x21e1c5(0x3bf)]['getMissingCRUDOperations']();}['getInternalInstance'](){const _0x52148a=a0_0x54060a;return this[_0x52148a(0x3bf)];}}function createDrivenDataDetailPlus(_0x49bdf6,_0x254385={}){const _0xd18259=a0_0x54060a;if(_0x254385['forceVersion']==='v1')return new DrivenDataDetailPlusV1(_0x49bdf6);if(_0x254385[_0xd18259(0x3b7)]==='v2')return new DrivenDataDetailPlusV2(_0x49bdf6);if(_0x49bdf6[_0xd18259(0x128)]==='v2'||'dataset'in _0x49bdf6)return new DrivenDataDetailPlusV2(_0x49bdf6);return new DrivenDataDetailPlusV1(_0x49bdf6);}function isPlusV2Instance(_0x440cb3){const _0x3ac314=a0_0x54060a;return _0x440cb3[_0x3ac314(0x387)]()==='v2';}function isPlusV1Instance(_0x248ae6){const _0x4ed02b=a0_0x54060a;return _0x248ae6[_0x4ed02b(0x387)]()==='v1';}var VERSION=a0_0x54060a(0x2f8);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|