@lovrabet/dsparser 1.3.7-beta.0 → 1.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const a0_0x4986fd=a0_0x5c95;(function(_0x2ce3f5,_0x2fd46f){const _0x3aea2c=a0_0x5c95,_0x574cf6=_0x2ce3f5();while(!![]){try{const _0x1057fa=parseInt(_0x3aea2c(0x295))/0x1+parseInt(_0x3aea2c(0x2c5))/0x2+-parseInt(_0x3aea2c(0x363))/0x3*(-parseInt(_0x3aea2c(0x2c4))/0x4)+-parseInt(_0x3aea2c(0x379))/0x5*(parseInt(_0x3aea2c(0x308))/0x6)+parseInt(_0x3aea2c(0x20b))/0x7*(parseInt(_0x3aea2c(0x244))/0x8)+-parseInt(_0x3aea2c(0x307))/0x9+-parseInt(_0x3aea2c(0x277))/0xa*(-parseInt(_0x3aea2c(0x1f8))/0xb);if(_0x1057fa===_0x2fd46f)break;else _0x574cf6['push'](_0x574cf6['shift']());}catch(_0xc4b10a){_0x574cf6['push'](_0x574cf6['shift']());}}}(a0_0x57bd,0xcea65));function toCamelCase(_0x298944){const _0x2a25a9=a0_0x5c95;if(!_0x298944)return'';return _0x298944[_0x2a25a9(0x398)](/[_-]/)[_0x2a25a9(0x30d)]((_0x1feca1,_0x4d121b)=>{const _0x12c698=_0x2a25a9;if(_0x4d121b===0x0)return _0x1feca1[_0x12c698(0x258)]();return _0x1feca1[_0x12c698(0x272)](0x0)['toUpperCase']()+_0x1feca1['slice'](0x1)[_0x12c698(0x258)]();})[_0x2a25a9(0x348)]('');}function toPascalCase(_0x45445d){const _0x3f7a8e=a0_0x5c95;if(!_0x45445d)return'';const _0x34d1c3=toCamelCase(_0x45445d);return _0x34d1c3['charAt'](0x0)[_0x3f7a8e(0x39b)]()+_0x34d1c3[_0x3f7a8e(0x14d)](0x1);}function toSnakeCase(_0x58057c){const _0x34ef63=a0_0x5c95;if(!_0x58057c)return'';return _0x58057c[_0x34ef63(0x15c)](/([A-Z])/g,'_$1')[_0x34ef63(0x258)]()[_0x34ef63(0x15c)](/^_/,'');}function toKebabCase(_0x15db88){const _0x12bb8b=a0_0x5c95;if(!_0x15db88)return'';return _0x15db88['replace'](/([A-Z])/g,_0x12bb8b(0x3b1))[_0x12bb8b(0x258)]()['replace'](/^-/,'');}function normalizeFieldName(_0x4256f2){const _0x4c09ba=a0_0x5c95;if(!_0x4256f2)return'';return _0x4256f2['trim']()[_0x4c09ba(0x15c)](/\s+/g,'_')[_0x4c09ba(0x15c)](/[^a-zA-Z0-9_]/g,'_')[_0x4c09ba(0x15c)](/_+/g,'_')[_0x4c09ba(0x15c)](/^_|_$/g,'');}function getTableName(_0x2fce8b){const _0x50a966=a0_0x5c95;if(!_0x2fce8b)return'dataset_000000';if(_0x2fce8b[_0x50a966(0x128)]?.['tableName'])return _0x2fce8b[_0x50a966(0x128)][_0x50a966(0x1ca)];const _0x30ae98=_0x2fce8b[_0x50a966(0x2e2)]||_0x2fce8b[_0x50a966(0x3b7)]||_0x2fce8b[_0x50a966(0x395)];if(_0x30ae98)return generateTableNameFromCode(_0x30ae98);return'dataset_000000';}function getTableKey(_0x33b480){if(typeof _0x33b480==='string')return toCamelCase(_0x33b480);const _0x3bf0fd=getTableName(_0x33b480);return toCamelCase(_0x3bf0fd);}function generateTableNameFromCode(_0xf84bd0){const _0x29467a=a0_0x5c95;if(!_0xf84bd0)return'dataset_000000';const _0x38fe53=_0xf84bd0[_0x29467a(0x14d)](-0x6)[_0x29467a(0x153)](0x6,'0');return _0x29467a(0x10c)+_0x38fe53;}function isVirtualTableName(_0xc42abe){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0xc42abe);}function a0_0x57bd(){const _0x2a2081=['getFilteredOperations','1.0.0-beta.8','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','_avg','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','enableDeduplication','toArray','getDisplayName','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','useArrayValues','getConflictingItems','152gtsZWS','raw','parseFieldExtend','创建导出','datasetId','hasCreatorIdField','每页条数','$endWith','选项编码(可选)','_max','toFieldDefinition','getActive','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getFilterOperators','getType','isDeleted','getApplicableOperators','exampleWhere','GET_ONE_UPDATE','ARRAY','toLowerCase','getFiltered','getFieldNames','Number','2024-01-01','getItems','fieldCode','getRequestParamsDocInfo','\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','[FieldV2]\x20Invalid\x20field\x20definition','datasetMap','iterator','聚合函数配置数组','长文本','findAll','主键ID(必填)','createTime','getRelations','$contain','getFieldFilterOperators','getLatestDatasets','fields','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','createAll','delete','valueLabels','charAt','index','getFieldDataSource','groupBy','filter','972350JWMumi','13800138000','push','has','filterBlacklist','\x20API\x20文档','IMAGE','warn','currentPage','_operations','getRequestFields','isEnabled','_raw','labelField','sdkCallCode','generateHTTPRequestExample','hasConflicts','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','Excel导出','toString','getUpdatableFields','hasDbtableConfig','DELETE','alias','这是一段较长的文本内容示例','getOperationStats','字段名称','OperationList(','getFilteredOperationAnalyses','getVersion','380868vhAPqi','some','getFieldListWithDeleted','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','CREATE_EXPORT','GET','_autoGenerated','getModelAlias','/filter','getCountByMethod','要更新的字段数据对象','toField','getCodes','array','parse','items','getEnumOptions','GET_ONE','_datasetMap','TIME','dbName','<!--\x5cs*CONDITION:\x5cs*','_fieldList','findById','toISOString','generateAllOperationsSummary','all','getDatasetSDKKey','requestFieldCount','getOperationAnalysesByType','isSystem','find','round','getIds','getTableKey','datasetName','getFieldsWithDeleted','创建导入','getOperationFieldsOperatorsMap','isPrimaryKeyField','getEnumFieldsMeta','查询单条','getFieldRaw','getByType','hasUpdateTimeField','-\x20主键ID,用于定位要更新的记录\x0a\x0a','getOperationsData','8ivIMsK','1030792TAaMju','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getBusinessFields','getGroupedParams','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','query','\x5c}\x5c}','-\x20其他要更新的字段直接平铺在同一层级','FieldV2(','返回字段列表(字段投影)','isAutoIncrement','获取上传脚本','查询单个条件','add','https://example.com/image.jpg','values','getConflicts','total_count','set','getCount','DrivenDataDetailPlusV2(','hasResponseSchema','TASK_INFO','SDK\x20调用','toDatasetId',',\x20doType=','\x20groups,\x20','(id,\x20','UPLOAD','datasetCode','keyword','yourModel','errorCode','hasField','getResponseParamsDocInfo','getLatest','VARCHAR','_fieldListV1','isMultipleSelectField','getDatasetDocMeta','TINYINT','//\x20','示例值','N/A','modifierIdField','示例文本','update\x20接口接受两个参数:\x0a\x0a','source','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','isPrimaryKey','主键,用于定位要更新的记录','required','LONGBLOB','createImport','BIT','method','getFieldDefinition','字段编码','properties','_requestExampleCache','getTooltip','getEnumFields','getFieldList','INTEGER','includeRequestExample','getCountByType','1194192zHPvKY','4362gFXkeF','getHTTPFields','Filter\x20API\x20-\x20高级查询接口','field_name','appCode','map','name','BOOLEAN','//\x20Call\x20the\x20','ensureFilterOperation','has\x20conflicts','getInternalInstance','msg','GET_SELECT_OPTIONS','getFieldDisplayName','version','isEmpty','CHAR','forEach','\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','Field(','当前页码(从\x201\x20开始,默认:\x201)','value','totalGroups','CHECKBOX','getDisabledOperationInstances','DatasetGroupMap(','`:\x20','children','导入模板','getOperationsOverviewData','sdkCall','hasDblinkInfo','getPath','getEnumValues','address','支持单值或数组','DATE','\x20operations,\x20v2)','toConfig','condition','getOneUpdate','操作名称','supportsCRUD','DOUBLE','_fieldListV1WithDeleted','normalizeDbType','isUpdateTime','length','DatasetList(','_operationList','DrivenDataDetailV2(','200','$eq','getAutoIncrement','prefix','getCreateTime','getAllFieldsString','分组字段列表','getVirtualTables','getOne','getPrimaryKeyFields','hasLogicField','generateDefaultFilterOperation','join','dbId','HTTP\x20直接调用时使用平铺格式:\x0a','taskInfo','isCreateTime','params','getFullUrl','operationCount','generateSDKInitCode','isMultipleSelect','desc','entries','fieldName','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','trim','Integer','host','isOperationEnabled','\x20operation','groups','_operationAnalyses','responseBody','generateOperationSummary','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','dbVersion','String[]','getEnabledOperations','66273MXIPDx','mapDbTypeToType','doType','generateConfigArray','LONGTEXT','getRealTables','(支持单值或数组)','generateFromSchema','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getMissingCRUDOperations','const\x20fileUrl\x20=\x20await\x20client.models.','\x20operations,\x20','findByCode','selectItemsSource',',\x20fields:\x20','hasCreateTimeField','getAllDatasets','generateRequestExample','(id);','getRelatedDataset','detectConflicts','hasOperation','9015txkFfl','2024-12-31','avg','orderBy','deleted','Object','getRequired','const\x20result\x20=\x20await\x20client.models.','excelExport','$ne','getFieldV2','BLOB','-\x20`','请求示例','multiple','string','getOldest','create','getEnumMeta','BIGINT','size','distinct','({\x20','createTimeField','SWITCH','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getFieldsByType','usageExample','modelCode','$and','tableColumns','split','success','FLOAT','toUpperCase','now','({\x20/*\x20可选:筛选条件\x20*/\x20});','null',',\x20...\x20});','dblinkInfoDTO','groupByType','getSDKInitData','updateTime','[FieldV1.extend]\x20解析字段\x20','getFilterOperation','online','datasetInfo','getDbName','\x20fields)','操作成功','STRING','DATETIME','EXCEL_EXPORT','getOperationDocMeta','isNumericField','generateRequestAllExamples','-$1','getEnum','selectBestOperator','generateExampleValue','data','customFilter','code','[parseFieldExtend]\x20Invalid\x20field:','initDataset','datasetKey','getFieldName','单值查询','SELECT','(实际字段:','\x20indexes)','$lte','({\x20currentPage,\x20pageSize\x20});','getPrimaryKeys','min','createExport','$gteq','value2','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getDatasetMeta','fieldCount','max','HTTP\x20请求示例(平铺格式)','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','aggregate','tenantCode','dataset_','every','groupByTableName','getUpdateTime','TIMESTAMP','createFields','getAppCode','requestFields','no\x20conflicts','isRequired','getFieldOptions','getEnabled','getEnabledOperationInstances','getRawDbtableConfig','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','toDatasetCode','getIndexes','排序规则(与\x20Filter\x20API\x20一致)','env','getOperationAnalysis','当前页码','[generateRequestExample]\x20Invalid\x20field:','stringify','demo-app','getOneOrigin','$in','isFieldPrimaryKey','parseRawRequestBody','dbtableConfig','dataset_unknown','context','getMethod','获取文件URL','getRequestParams','getDOType','displayName','getDisabledNames','\x20items,\x20','**可更新的字段列表:**','forceVersion','hasConflict','status','Array','generateSDKCallCode','creatorNameField','TEXT','placeholder','getExtendField','getDefaultValue','_fields','getTableName','DatasetGroup(','获取下拉选项','_fieldListV2','extend','getResponseSchema','分组后的过滤条件(对聚合结果进行过滤)','CREATE_IMPORT','getSelectItemsSource','toDatasetName','tableData','getAllFieldsArray','findByTableName','parseRawResponseBody','getOperations','slice','获取数据集列表失败:\x20','getSource','JSON','getStats','isSystemField','padStart','\x22,数据集:\x20','$startWith','_datasetMeta','getOperationAnalyses','getOperationList','options','SDK\x20调用时传递两个参数:\x0a','operations','replace','文件上传','getOperationCount','generateFullSDKExample','[Field]\x20Invalid\x20field\x20definition','get','查询列表','$gte','北京市朝阳区','getSystemFields','(id,\x20data);','columnName','creatorIdField','label','item1','select','RADIO','Object[]','conflictGroupCount','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','toJSON','getUpdateFields','getFieldCount','systemRetain','查询单条(原始)','getFieldInstance','();','importTemplate','();\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}','getFieldsFilterOperatorsMap','日期时间','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','indexes','operation','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','getEnabledNames','datasetSDKKey','doVersion','modifyDate','每页数量','sortOperationsWithFilterFirst','type','substring','systemFieldCount','getEnabledOperationAnalyses','getRequiredFields','modelId','toObject','column','getRelationsByField','isArray','hasFilterOperation','FieldV1(','getAt','getOperationOperators','generateConfig','getDbTypeForOperation','generateAllOperationsFullSDKExample','toConfigArray','解析\x20responseBody\x20失败:','_relations','DECIMAL','FieldList(','conflictItemCount','getSystem','description','fromApiResponse','lastIndexOf','pkField','hasTableName','\x20operations,\x20v1)','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','includeDisabled','useFullExample','getAll','数组查询(支持多选)','isRequiredField',',\x20currentPage,\x20pageSize,\x20...\x20});','getHTTPRequestParamsDocInfo','enabled','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getLast','getFields','getField','keys','INT','String','getFieldListV2','autoIncrement','_instance','getBusiness','relations','每页数量(可选)','getDisabledOperations','isBusiness','pageSize','toListItem','_fieldListWithDeleted','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','POST','({\x20code,\x20label\x20});','0000','getNames','repeat','update','RICH_TEXT','generateAliasExplanation','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','successCode','tableName','withDeleted','SDK\x20调用示例(两参数格式)','enumValues','getEnumFieldMeta','getEnumMetas','getDisabled','sortNum','generateResponseExample','sort','BOOL','UPDATE','requestBody','getOperationFieldOperators','email','isVirtualTable','value1','errorMsg','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','getName','_extend','from','Operation\x20not\x20found:\x20','primaryKey','bind','//\x20Usage\x20examples','GET_LIST','getDBConfig','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','where','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','dataIndex','当前页码(可选)','generateSingleValueExample','tooltip','聚合函数配置数组(type:\x20sum/count/avg/max/min)','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','-\x20主键使用\x20`id`\x20字段\x0a','generateHTTPExample','path','suffix','fromField','DrivenDataDetail(','precision','tableKey','isEnum','143AUqWhj','NUMBER','getOperation','getFieldSelectItemsSource','allFields','getCode','getOperationRequestFields','default','having','\x20operations)','count','random','每页数量(默认:\x2020)','GET_ONE_ORIGIN','modifierNameField','TEXTAREA','getList','logicField','dbTypeLen','31465wjnbrG','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','createDate','getDeleted','findByName','updateTimeField','includeDeleted','Invalid\x20API\x20response:\x20success\x20is\x20false','getOperators','getAggregates','SMALLINT','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','\x20relations,\x20','dataset','解析\x20requestBody\x20失败:','<p>富文本内容</p>','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','generateFieldExample','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','getForeignKeyFields','\x20fields,\x20','DESC','$lteq','\x20的\x20extend\x20配置失败:','$or','getSelectOptions','hasModifierIdField','\x20items,\x20conflict,\x20latest:\x20','dbType','includes','boolean','getFieldCode','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','排序规则','getFieldsV2','title','number','getRaw','getFieldOperators','empty','_sum','接口名称','generateUsageExample','object','getUploadFileScript','total'];a0_0x57bd=function(){return _0x2a2081;};return a0_0x57bd();}function generateModelKeyFromCode(_0x4e37af){const _0x458b1a=a0_0x5c95;if(!_0x4e37af)return _0x458b1a(0x129);return _0x458b1a(0x10c)+_0x4e37af;}function getDbName(_0x265e26){const _0x3ca35d=a0_0x5c95;return _0x265e26[_0x3ca35d(0x128)]?.[_0x3ca35d(0x2a9)]||_0x265e26[_0x3ca35d(0x128)]?.[_0x3ca35d(0x3a0)]?.[_0x3ca35d(0x2a9)]||'';}function generateDatasetsConfig(_0x49ff89,_0x5277b3={}){const _0x409097=a0_0x5c95,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x3f516c,filter:_0x17d0b4}=_0x5277b3,_0x4b85e2=_0x17d0b4?_0x49ff89[_0x409097(0x276)](_0x17d0b4):_0x49ff89,_0x46f309=new Map();for(const _0x1ebd14 of _0x4b85e2){const _0x34f150=getTableName(_0x1ebd14),_0x3612e3=getDbName(_0x1ebd14);!_0x46f309[_0x409097(0x27a)](_0x34f150)&&_0x46f309[_0x409097(0x2d7)](_0x34f150,new Set()),_0x46f309[_0x409097(0x161)](_0x34f150)['add'](_0x3612e3);}const _0x24a456=new Set();for(const [_0x229ddc,_0x2862bc]of _0x46f309){_0x2862bc[_0x409097(0x38d)]>0x1&&_0x24a456[_0x409097(0x2d2)](_0x229ddc);}const _0x345935={},_0x4c8969=new Set();for(const _0x167826 of _0x4b85e2){const _0x2195fb=getTableName(_0x167826);if(enableDeduplication&&_0x4c8969['has'](_0x2195fb)){console[_0x409097(0x27e)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x2195fb+_0x409097(0x154)+_0x167826[_0x409097(0x30e)]+'\x20('+_0x167826[_0x409097(0x2e2)]+')');continue;}_0x4c8969[_0x409097(0x2d2)](_0x2195fb);const _0x360b96=_0x3f516c?_0x3f516c(_0x2195fb,_0x167826):getTableKey(_0x2195fb),_0x58435a=getDbName(_0x167826),_0x2e2fd8=_0x24a456[_0x409097(0x27a)](_0x2195fb)&&_0x58435a?getTableKey(_0x58435a)+'_'+_0x360b96:_0x360b96;_0x345935[_0x360b96]={'key':_0x360b96,'alias':_0x2e2fd8,'tableName':_0x2195fb,'datasetCode':_0x167826['datasetCode'],'name':_0x167826[_0x409097(0x30e)],'id':_0x167826['id'],'dbName':_0x58435a};}return _0x345935;}function generateFullDatasetsConfig(_0x530f8f,_0xa83116={}){const _0x4b0f6e=a0_0x5c95,{filter:_0x2fcba3,datasetNameGenerator:_0x5b72e6}=_0xa83116,_0x40f3d0=_0x2fcba3?_0x530f8f['filter'](_0x2fcba3):_0x530f8f,_0x5136d3=new Map();for(const _0x587ae0 of _0x40f3d0){const _0x3c2d9a=getTableName(_0x587ae0),_0x123e75=getDbName(_0x587ae0);!_0x5136d3[_0x4b0f6e(0x27a)](_0x3c2d9a)&&_0x5136d3[_0x4b0f6e(0x2d7)](_0x3c2d9a,new Set()),_0x5136d3['get'](_0x3c2d9a)[_0x4b0f6e(0x2d2)](_0x123e75);}const _0x845b6e=new Set();for(const [_0x17b4b9,_0xea1759]of _0x5136d3){_0xea1759[_0x4b0f6e(0x38d)]>0x1&&_0x845b6e[_0x4b0f6e(0x2d2)](_0x17b4b9);}const _0x123dc1=groupByTableName(_0x40f3d0),_0x52b516={};for(const [_0x3762f4,_0x5a0a4c]of Object[_0x4b0f6e(0x353)](_0x123dc1)){if(_0x5a0a4c['length']===0x1){const _0x262feb=_0x5a0a4c[0x0],_0x20e597=_0x5b72e6?_0x5b72e6(_0x3762f4,_0x262feb):getTableKey(_0x3762f4),_0x146faf=getDbName(_0x262feb),_0xa56a34=_0x845b6e[_0x4b0f6e(0x27a)](_0x3762f4)&&_0x146faf?getTableKey(_0x146faf)+'_'+_0x20e597:_0x20e597;_0x52b516[_0x20e597]={'key':_0x20e597,'alias':_0xa56a34,'tableName':_0x3762f4,'datasetCode':_0x262feb[_0x4b0f6e(0x2e2)],'name':_0x262feb['name'],'id':_0x262feb['id'],'dbName':_0x146faf};}else{const _0x56b5e6=[..._0x5a0a4c][_0x4b0f6e(0x1d3)]((_0x3558cd,_0x13b4b4)=>{const _0x347f7e=Number(_0x3558cd['id'])||0x0,_0x13c080=Number(_0x13b4b4['id'])||0x0;return _0x13c080-_0x347f7e;});_0x56b5e6[_0x4b0f6e(0x31a)]((_0x4adda1,_0x342c90)=>{const _0x2b272f=_0x4b0f6e,_0x359510=_0x5b72e6?_0x5b72e6(_0x3762f4,_0x4adda1):getTableKey(_0x3762f4),_0x542ef8=_0x342c90===0x0?_0x359510:_0x359510+'_'+_0x342c90,_0x5cdadb=getDbName(_0x4adda1),_0x43ddc1=_0x845b6e[_0x2b272f(0x27a)](_0x3762f4)&&_0x5cdadb?getTableKey(_0x5cdadb)+'_'+_0x542ef8:_0x542ef8;_0x52b516[_0x542ef8]={'key':_0x542ef8,'alias':_0x43ddc1,'tableName':_0x3762f4,'datasetCode':_0x4adda1[_0x2b272f(0x2e2)],'name':_0x4adda1['name'],'id':_0x4adda1['id'],'dbName':_0x5cdadb};});}}return _0x52b516;}function detectTableNameConflicts(_0x2128d7){const _0x4c5855=a0_0x5c95,_0x2753ba={};for(const _0x167c16 of _0x2128d7){const _0x3c70a8=getTableName(_0x167c16);!_0x2753ba[_0x3c70a8]&&(_0x2753ba[_0x3c70a8]=[]),_0x2753ba[_0x3c70a8]['push'](_0x167c16);}const _0x8a6fd3={};for(const [_0x35bae5,_0x1f6ab9]of Object[_0x4c5855(0x353)](_0x2753ba)){_0x1f6ab9[_0x4c5855(0x338)]>0x1&&(_0x8a6fd3[_0x35bae5]=_0x1f6ab9);}return{'hasConflicts':Object[_0x4c5855(0x1b1)](_0x8a6fd3)[_0x4c5855(0x338)]>0x0,'conflicts':_0x8a6fd3};}function createDatasetNameMap(_0xadc2eb){const _0x33647d=a0_0x5c95,_0x27b300={};for(const [_0x2bcd90,_0x1a45d3]of Object['entries'](_0xadc2eb)){_0x27b300[_0x2bcd90]=_0x1a45d3[_0x33647d(0x2e2)]||'';}return _0x27b300;}function groupByTableName(_0x396643){const _0x5ad9e4={};for(const _0x4c71d8 of _0x396643){const _0x32069f=getTableName(_0x4c71d8);!_0x5ad9e4[_0x32069f]&&(_0x5ad9e4[_0x32069f]=[]),_0x5ad9e4[_0x32069f]['push'](_0x4c71d8);}return _0x5ad9e4;}function datasetsConfigToArray(_0x1b2e23){const _0x5c1187=a0_0x5c95;return Object[_0x5c1187(0x2d4)](_0x1b2e23);}function adaptDrivenDataDetail(_0x3041eb){const _0x4d256d=a0_0x5c95,_0x8d3dfd={};return _0x8d3dfd['id']=_0x3041eb[_0x4d256d(0x18b)],_0x8d3dfd['name']=_0x3041eb[_0x4d256d(0x30e)],_0x8d3dfd[_0x4d256d(0x2e2)]=_0x3041eb[_0x4d256d(0x395)],_0x8d3dfd['dbtableConfig']=_0x3041eb[_0x4d256d(0x128)],_0x8d3dfd[_0x4d256d(0x2f4)]=_0x3041eb[_0x4d256d(0x2f4)],_0x8d3dfd['version']=_0x3041eb[_0x4d256d(0x317)],_0x8d3dfd[_0x4d256d(0x142)]=_0x3041eb[_0x4d256d(0x142)],_0x8d3dfd['properties']=_0x3041eb['properties'],_0x8d3dfd[_0x4d256d(0x15b)]=_0x3041eb[_0x4d256d(0x15b)],_0x8d3dfd;}function adaptDrivenDataDetails(_0x5d15fd){return _0x5d15fd['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x274940){const _0x2dbf71=a0_0x5c95;if(!_0x274940[_0x2dbf71(0x399)]||!_0x274940['data'])throw new Error('获取数据集失败:\x20'+(_0x274940[_0x2dbf71(0x1db)]||_0x274940[_0x2dbf71(0x314)]));return adaptDrivenDataDetail(_0x274940[_0x2dbf71(0x3b5)]);}function extractDatasetsFromListResponse(_0x133437){const _0x1e015f=a0_0x5c95;if(!_0x133437[_0x1e015f(0x399)]||!_0x133437['data']?.[_0x1e015f(0x148)])throw new Error(_0x1e015f(0x14e)+(_0x133437['errorMsg']||_0x133437[_0x1e015f(0x314)]));return _0x133437[_0x1e015f(0x3b5)][_0x1e015f(0x148)][_0x1e015f(0x30d)](_0x58415c=>({..._0x58415c,'datasetCode':_0x58415c[_0x1e015f(0x3b7)]||_0x58415c[_0x1e015f(0x2e2)]}));}function isDrivenDataDetail(_0x157285){const _0x4603fc=a0_0x5c95;return Boolean(_0x157285&&typeof _0x157285[_0x4603fc(0x395)]===_0x4603fc(0x388));}function smartAdapt(_0x26b02e){const _0xe00d9b=a0_0x5c95;if(isDrivenDataDetail(_0x26b02e))return adaptDrivenDataDetail(_0x26b02e);if(_0x26b02e[_0xe00d9b(0x2e2)])return _0x26b02e;if(_0x26b02e[_0xe00d9b(0x3b7)]){const _0x36f11e={..._0x26b02e};return _0x36f11e[_0xe00d9b(0x2e2)]=_0x26b02e[_0xe00d9b(0x3b7)],_0x36f11e;}return _0x26b02e;}function cleanNewlines(_0x10c584){const _0xc580d4=a0_0x5c95;return _0x10c584[_0xc580d4(0x15c)](/[\r\n]+/g,'\x20')['trim']();}function cleanDatasetName(_0x546805){const _0x35a2a3=a0_0x5c95;if(!_0x546805[_0x35a2a3(0x30e)])return _0x546805;return{..._0x546805,'name':cleanNewlines(_0x546805[_0x35a2a3(0x30e)])};}function cleanDatasetNames(_0x40f0d9){return _0x40f0d9['map'](cleanDatasetName);}var DatasetOperationType;(_0x3b5923=>{const _0x1256c8=a0_0x5c95;_0x3b5923[_0x1256c8(0x1e4)]='getList',_0x3b5923[_0x1256c8(0x2a6)]=_0x1256c8(0x344),_0x3b5923[_0x1256c8(0x205)]=_0x1256c8(0x124),_0x3b5923[_0x1256c8(0x256)]=_0x1256c8(0x331),_0x3b5923['CREATE']=_0x1256c8(0x38a),_0x3b5923[_0x1256c8(0x1d5)]=_0x1256c8(0x1c5),_0x3b5923[_0x1256c8(0x28d)]=_0x1256c8(0x270),_0x3b5923[_0x1256c8(0x315)]='getSelectOptions',_0x3b5923['GET_FILE_URL']='getFileUrl',_0x3b5923[_0x1256c8(0x3ad)]=_0x1256c8(0x381),_0x3b5923['GET_UPLOAD_FILE_SCRIPT']=_0x1256c8(0x237),_0x3b5923[_0x1256c8(0x145)]='createImport',_0x3b5923[_0x1256c8(0x299)]=_0x1256c8(0x3c4),_0x3b5923[_0x1256c8(0x2db)]=_0x1256c8(0x34b),_0x3b5923['IMPORT_TEMPLATE']=_0x1256c8(0x178);})(DatasetOperationType||={});const a0_0xa14466={};a0_0xa14466['getList']=a0_0x4986fd(0x162),a0_0xa14466[a0_0x4986fd(0x344)]=a0_0x4986fd(0x2be),a0_0xa14466[a0_0x4986fd(0x124)]=a0_0x4986fd(0x175),a0_0xa14466['getOneUpdate']='查询单条(用于更新)',a0_0xa14466[a0_0x4986fd(0x38a)]='创建',a0_0xa14466[a0_0x4986fd(0x1c5)]='更新',a0_0xa14466[a0_0x4986fd(0x270)]='删除',a0_0xa14466[a0_0x4986fd(0x224)]=a0_0x4986fd(0x140),a0_0xa14466['getFileUrl']=a0_0x4986fd(0x12c),a0_0xa14466[a0_0x4986fd(0x381)]=a0_0x4986fd(0x289),a0_0xa14466[a0_0x4986fd(0x237)]=a0_0x4986fd(0x2d0),a0_0xa14466[a0_0x4986fd(0x2fa)]=a0_0x4986fd(0x2ba),a0_0xa14466[a0_0x4986fd(0x3c4)]=a0_0x4986fd(0x247),a0_0xa14466[a0_0x4986fd(0x34b)]='任务信息',a0_0xa14466['importTemplate']=a0_0x4986fd(0x325);var OPERATION_TYPE_DISPLAY_NAME=a0_0xa14466,API_BLACKLIST=[a0_0x4986fd(0x208),a0_0x4986fd(0x124),a0_0x4986fd(0x331),'getFileUrl'];function parseFieldExtend(_0x4de958){const _0x4e2a63=a0_0x4986fd;if(!_0x4de958||typeof _0x4de958!==_0x4e2a63(0x236))return!![]&&console[_0x4e2a63(0x27e)](_0x4e2a63(0x3b8),_0x4de958),{};if(!_0x4de958[_0x4e2a63(0x142)])return{};try{const _0x98609a=typeof _0x4de958[_0x4e2a63(0x142)]==='string'?JSON[_0x4e2a63(0x2a3)](_0x4de958[_0x4e2a63(0x142)]):_0x4de958[_0x4e2a63(0x142)];if(typeof _0x98609a!=='object'||_0x98609a===null)return{};return _0x98609a;}catch{return{};}}function isPrimaryKeyField(_0x62067f,_0x406059){const _0x48af87=a0_0x4986fd;if(!_0x62067f||typeof _0x62067f!==_0x48af87(0x236))return![];if(typeof _0x406059===_0x48af87(0x388)&&_0x62067f['code']===_0x406059)return!![];const _0x41f974=parseFieldExtend(_0x62067f);return Boolean(_0x41f974[_0x48af87(0x1e1)]||_0x41f974['pkField']);}function isSystemField(_0x108b41){const _0x5b266e=a0_0x4986fd,_0x28204e=parseFieldExtend(_0x108b41);return Boolean(_0x28204e[_0x5b266e(0x174)]);}function isRequiredField(_0x9ff7f1){const _0x277798=a0_0x4986fd,_0x3e15f4=parseFieldExtend(_0x9ff7f1);return Boolean(_0x3e15f4[_0x277798(0x2f8)]);}function isAutoIncrementField(_0x113521){const _0x4053cc=a0_0x4986fd,_0x38a259=parseFieldExtend(_0x113521);return Boolean(_0x38a259[_0x4053cc(0x1b5)]);}function isCreateTimeField(_0x3a21a7){const _0x19982a=a0_0x4986fd,_0x2f5844=parseFieldExtend(_0x3a21a7);return Boolean(_0x2f5844[_0x19982a(0x20d)]);}function isModifyTimeField(_0x18cee0){const _0x58f31f=a0_0x4986fd,_0x1e18bb=parseFieldExtend(_0x18cee0);return Boolean(_0x1e18bb[_0x58f31f(0x183)]);}const a0_0x3b6c87={};a0_0x3b6c87['NUMBER']='数字',a0_0x3b6c87[a0_0x4986fd(0x139)]='文本',a0_0x3b6c87[a0_0x4986fd(0x207)]=a0_0x4986fd(0x265),a0_0x3b6c87[a0_0x4986fd(0x32d)]='日期',a0_0x3b6c87[a0_0x4986fd(0x3ac)]=a0_0x4986fd(0x17b),a0_0x3b6c87[a0_0x4986fd(0x110)]='时间戳',a0_0x3b6c87[a0_0x4986fd(0x3bd)]='下拉选择',a0_0x3b6c87[a0_0x4986fd(0x320)]='多选',a0_0x3b6c87[a0_0x4986fd(0x16c)]='单选',a0_0x3b6c87[a0_0x4986fd(0x391)]='开关',a0_0x3b6c87[a0_0x4986fd(0x2e1)]=a0_0x4986fd(0x15d),a0_0x3b6c87[a0_0x4986fd(0x27d)]='图片',a0_0x3b6c87[a0_0x4986fd(0x1c6)]='富文本',a0_0x3b6c87['JSON']=a0_0x4986fd(0x150),a0_0x3b6c87[a0_0x4986fd(0x257)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x3b6c87;function getDbTypeDisplay(_0x5a742c){const _0x137eb1=a0_0x4986fd;if(typeof _0x5a742c!==_0x137eb1(0x388))return!![]&&console[_0x137eb1(0x27e)](_0x137eb1(0x26e),_0x5a742c),String(_0x5a742c||'-');return DB_TYPE_DISPLAY_MAP[_0x5a742c]||_0x5a742c;}function formatDbType(_0x1a4e5a,_0x383733){const _0x555283=a0_0x4986fd;if(!_0x1a4e5a||typeof _0x1a4e5a!==_0x555283(0x388))return'-';if(!_0x383733||typeof _0x383733!==_0x555283(0x22f))return _0x1a4e5a;const _0xc804f2=[_0x555283(0x139),_0x555283(0x3ac),_0x555283(0x110),_0x555283(0x32d)];if(_0xc804f2[_0x555283(0x228)](_0x1a4e5a['toUpperCase']()))return _0x1a4e5a;return _0x1a4e5a+'('+_0x383733+')';}function parseOperationType(_0x2ff09c){const _0x18418d=a0_0x4986fd;if(typeof _0x2ff09c!=='string'){!![]&&console[_0x18418d(0x27e)](_0x18418d(0x216),_0x2ff09c);return;}if(Object[_0x18418d(0x2d4)](DatasetOperationType)['includes'](_0x2ff09c))return _0x2ff09c;const _0x1a5037=Object[_0x18418d(0x353)](OPERATION_TYPE_DISPLAY_NAME)[_0x18418d(0x2b4)](([_0x5d5efe,_0x1349a7])=>_0x1349a7===_0x2ff09c);return _0x1a5037?_0x1a5037[0x0]:undefined;}function shouldIncludeField(_0x41524e,_0x37bbca,_0x983316){const _0xf7b910=a0_0x4986fd,_0x5d26f3=parseFieldExtend(_0x41524e),_0x44304d=isPrimaryKeyField(_0x41524e,_0x983316),_0x313d2b=Boolean(_0x5d26f3[_0xf7b910(0x174)]),_0x58957d=Boolean(_0x5d26f3[_0xf7b910(0x1b5)]),_0x5e6f8a=Boolean(_0x5d26f3[_0xf7b910(0x20d)]),_0x40f765=Boolean(_0x5d26f3[_0xf7b910(0x183)]);switch(_0x37bbca){case'getList':return!![];case _0xf7b910(0x344):case'getOneOrigin':case _0xf7b910(0x270):return _0x44304d;case _0xf7b910(0x38a):if(_0x44304d&&_0x58957d)return![];if(_0x313d2b)return![];if(_0x5e6f8a||_0x40f765)return![];return!![];case _0xf7b910(0x1c5):case _0xf7b910(0x331):if(_0x44304d)return!![];if(_0x313d2b)return![];if(_0x5e6f8a||_0x40f765)return![];return!![];case'getSelectOptions':return _0x41524e[_0xf7b910(0x3b7)]===_0xf7b910(0x3b7);default:return!![];}}function getFieldsForOperation(_0x18b770,_0x3dc101,_0xc5f6d6){const _0x3c5417=a0_0x4986fd;if(!Array['isArray'](_0x18b770))return!![]&&console[_0x3c5417(0x27e)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x18b770),[];return _0x18b770[_0x3c5417(0x276)](_0x3a548d=>shouldIncludeField(_0x3a548d,_0x3dc101,_0xc5f6d6));}function isApiBlacklisted(_0x222b75){const _0x5c6656=a0_0x4986fd;if(typeof _0x222b75!==_0x5c6656(0x388))return!![]&&console[_0x5c6656(0x27e)](_0x5c6656(0x2f5),_0x222b75),![];return API_BLACKLIST[_0x5c6656(0x228)](_0x222b75);}function a0_0x5c95(_0xdae66f,_0x209759){_0xdae66f=_0xdae66f-0x103;const _0x57bd23=a0_0x57bd();let _0x5c9523=_0x57bd23[_0xdae66f];return _0x5c9523;}function filterApiOperations(_0xa3486a){const _0x2f64c1=a0_0x4986fd;if(!Array[_0x2f64c1(0x18f)](_0xa3486a))return!![]&&console['warn'](_0x2f64c1(0x36b),_0xa3486a),[];return _0xa3486a['filter'](_0x5ef722=>_0x5ef722&&typeof _0x5ef722===_0x2f64c1(0x236)&&!isApiBlacklisted(_0x5ef722[_0x2f64c1(0x30e)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x4986fd(0x39c)](),'SELECT':({fieldInfo:_0x4de5c2})=>{const _0x4ae731=a0_0x4986fd;if(_0x4de5c2?.[_0x4ae731(0x159)]&&Array['isArray'](_0x4de5c2['options'])&&_0x4de5c2[_0x4ae731(0x159)][_0x4ae731(0x338)]>0x0)return _0x4de5c2['options'][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x5c3fa2})=>{const _0x1d382d=a0_0x4986fd;if(_0x5c3fa2===_0x1d382d(0x27f))return 0x1;if(_0x5c3fa2===_0x1d382d(0x1bc))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x56b308})=>{const _0x3f0a97=a0_0x4986fd;if(_0x56b308&&typeof _0x56b308===_0x3f0a97(0x388)){const _0x319cfa=_0x56b308[_0x3f0a97(0x258)]();if(_0x319cfa[_0x3f0a97(0x228)]('邮箱')||_0x319cfa[_0x3f0a97(0x228)](_0x3f0a97(0x1d8)))return'user@example.com';if(_0x319cfa['includes']('电话')||_0x319cfa['includes']('手机')||_0x319cfa[_0x3f0a97(0x228)]('phone'))return _0x3f0a97(0x278);if(_0x319cfa[_0x3f0a97(0x228)]('地址')||_0x319cfa[_0x3f0a97(0x228)](_0x3f0a97(0x32b)))return _0x3f0a97(0x164);if(_0x319cfa[_0x3f0a97(0x228)]('姓名')||_0x319cfa['includes']('name'))return'张三';}return _0x3f0a97(0x2f2);},'VARCHAR':({description:_0x7a8cb9})=>TYPE_VALUE_GENERATORS[a0_0x4986fd(0x139)]({'description':_0x7a8cb9}),'CHAR':({description:_0x3a7128})=>TYPE_VALUE_GENERATORS[a0_0x4986fd(0x139)]({'description':_0x3a7128}),'STRING':({fieldInfo:_0x44ef5f,description:_0x7f4719})=>{const _0x305d5c=a0_0x4986fd;if(_0x44ef5f?.[_0x305d5c(0x13a)]&&typeof _0x44ef5f[_0x305d5c(0x13a)]===_0x305d5c(0x388)&&_0x44ef5f[_0x305d5c(0x13a)]!=='系统自动生成')return _0x44ef5f[_0x305d5c(0x13a)][_0x305d5c(0x15c)](/^请输入|^请选择/,'');const _0x4b6829={};return _0x4b6829[_0x305d5c(0x19e)]=_0x7f4719,TYPE_VALUE_GENERATORS[_0x305d5c(0x139)](_0x4b6829);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x4986fd(0x28f),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x4986fd(0x16a),'item2'],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x4986fd(0x2d3),'RICH_TEXT':()=>a0_0x4986fd(0x21a)};function generateExampleValue(_0x2bf921,_0x2b02e5,_0x4435c5,_0x150da3={}){const _0xabd26=a0_0x4986fd;typeof _0x2bf921!==_0xabd26(0x388)&&(!![]&&console[_0xabd26(0x27e)](_0xabd26(0x11a),_0x2bf921),_0x2bf921=String(_0x2bf921||''));if(typeof _0x2b02e5!==_0xabd26(0x388))return!![]&&console[_0xabd26(0x27e)](_0xabd26(0x103),_0x2b02e5),_0xabd26(0x2ef);const {isPrimaryKey:_0x26fbdd,dbtableConfig:_0x1b22dc}=_0x150da3;if(_0x26fbdd)return 0x1;if(_0x1b22dc&&typeof _0x1b22dc===_0xabd26(0x236)){const _0x5e1411=_0x1b22dc[_0xabd26(0x390)]?.[_0xabd26(0x354)]===_0x2bf921,_0x16ac58=_0x1b22dc[_0xabd26(0x210)]?.[_0xabd26(0x354)]===_0x2bf921;if(_0x5e1411||_0x16ac58){if(_0x4435c5&&typeof _0x4435c5===_0xabd26(0x388)&&_0x4435c5[_0xabd26(0x39b)]()[_0xabd26(0x228)](_0xabd26(0x110)))return Date[_0xabd26(0x39c)]();return new Date()[_0xabd26(0x2ad)]()[_0xabd26(0x15c)]('T','\x20')[_0xabd26(0x398)]('.')[0x0];}}const _0x3a8cb3={..._0x150da3};_0x3a8cb3[_0xabd26(0x25e)]=_0x2bf921;const _0x58799a=_0x3a8cb3;if(_0x4435c5&&typeof _0x4435c5==='string'){const _0x59bdb0=_0x4435c5[_0xabd26(0x39b)](),_0x29bb16=TYPE_VALUE_GENERATORS[_0x59bdb0];if(_0x29bb16)return _0x29bb16(_0x58799a);}if(_0x2b02e5&&typeof _0x2b02e5===_0xabd26(0x388)){const _0x5129f5=_0x2b02e5[_0xabd26(0x39b)](),_0xb20653=TYPE_VALUE_GENERATORS[_0x5129f5];if(_0xb20653)return _0xb20653(_0x58799a);}return _0xabd26(0x2ef);}function generateExampleFromSchema(_0x4f96f3,_0x5c2f1f){const _0x14c22f=a0_0x4986fd;if(!_0x4f96f3||typeof _0x4f96f3!==_0x14c22f(0x236))return{};if(Array['isArray'](_0x4f96f3)){if(_0x4f96f3[_0x14c22f(0x338)]>0x0)return[generateExampleFromSchema(_0x4f96f3[0x0],_0x5c2f1f)];return[];}const _0x26998c={};return Object['keys'](_0x4f96f3)['forEach'](_0x445d97=>{const _0x329e84=_0x14c22f,_0x3ee4e5=_0x4f96f3[_0x445d97];if(_0x3ee4e5&&typeof _0x3ee4e5===_0x329e84(0x236)&&!Array[_0x329e84(0x18f)](_0x3ee4e5)&&_0x3ee4e5[_0x329e84(0x186)]){const _0x67239a=_0x3ee4e5,_0x1ac1cd=_0x67239a['type'],_0x3ae49c=_0x67239a[_0x329e84(0x19e)];if(typeof _0x1ac1cd===_0x329e84(0x388)){const _0x4b9de2={};_0x4b9de2['description']=_0x3ae49c,_0x4b9de2[_0x329e84(0x128)]=_0x5c2f1f,_0x26998c[_0x445d97]=generateExampleValue(_0x445d97,_0x1ac1cd,undefined,_0x4b9de2);}else _0x26998c[_0x445d97]='示例值';}else{if(Array[_0x329e84(0x18f)](_0x3ee4e5))_0x26998c[_0x445d97]=_0x3ee4e5[_0x329e84(0x338)]>0x0?[generateExampleFromSchema(_0x3ee4e5[0x0],_0x5c2f1f)]:[];else _0x3ee4e5&&typeof _0x3ee4e5==='object'?_0x26998c[_0x445d97]=generateExampleFromSchema(_0x3ee4e5,_0x5c2f1f):_0x26998c[_0x445d97]=_0x3ee4e5;}}),_0x26998c;}function parseRequestBody(_0x50bd13){const _0x4aa4c1=a0_0x4986fd;if(!_0x50bd13)return{};try{return JSON[_0x4aa4c1(0x2a3)](_0x50bd13);}catch(_0x89b500){return!![]&&console[_0x4aa4c1(0x27e)](_0x4aa4c1(0x219),_0x89b500),{};}}function parseResponseBody(_0x5af419){const _0x42ec0f=a0_0x4986fd;if(!_0x5af419)return null;try{const _0x20438c=JSON[_0x42ec0f(0x2a3)](_0x5af419);return _0x20438c[_0x42ec0f(0x33c)]||_0x20438c;}catch(_0x42020c){return!![]&&console[_0x42ec0f(0x27e)](_0x42ec0f(0x198),_0x42020c),null;}}function generateRequestExample(_0x401854,_0x20e2e6,_0xb67e58,_0x3da408){const _0x5ad712=a0_0x4986fd,_0x44e741={};if(!Array[_0x5ad712(0x18f)](_0x401854))return!![]&&console[_0x5ad712(0x27e)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x401854),_0x44e741;return _0x401854[_0x5ad712(0x31a)](_0x3057d8=>{const _0x216e98=_0x5ad712;if(!_0x3057d8||typeof _0x3057d8!==_0x216e98(0x236)){!![]&&console[_0x216e98(0x27e)](_0x216e98(0x121),_0x3057d8);return;}if(typeof _0x3057d8[_0x216e98(0x3b7)]!==_0x216e98(0x388)||typeof _0x3057d8[_0x216e98(0x186)]!==_0x216e98(0x388)){!![]&&console[_0x216e98(0x27e)](_0x216e98(0x21b),_0x3057d8);return;}const _0x2b9a40=parseFieldExtend(_0x3057d8),_0x5093ba=_0x3057d8[_0x216e98(0x3b7)]===_0xb67e58||Boolean(_0x2b9a40?.['primaryKey']),_0x175ff4=generateExampleValue(_0x3057d8[_0x216e98(0x3b7)],_0x3057d8[_0x216e98(0x186)],typeof _0x3057d8[_0x216e98(0x227)]===_0x216e98(0x388)?_0x3057d8[_0x216e98(0x227)]:undefined,{'fieldInfo':_0x2b9a40,'isPrimaryKey':_0x5093ba,'description':_0x3057d8[_0x216e98(0x19e)]||_0x3057d8[_0x216e98(0x30e)],'dbtableConfig':_0x3da408});_0x44e741[_0x3057d8[_0x216e98(0x3b7)]]=_0x175ff4;}),_0x20e2e6==='getList'&&(_0x44e741['currentPage']=0x1,_0x44e741[_0x5ad712(0x1bc)]=0xa),_0x44e741;}function formatEnumValue(_0x24a53c,_0x1f5afb){const _0x2ac589=a0_0x4986fd;if(_0x24a53c[_0x2ac589(0x387)]&&Array[_0x2ac589(0x18f)](_0x1f5afb))return _0x1f5afb['map'](_0x4e0886=>_0x24a53c['valueLabels'][String(_0x4e0886)]||String(_0x4e0886))[_0x2ac589(0x348)](',\x20');return _0x24a53c[_0x2ac589(0x271)][String(_0x1f5afb)]||String(_0x1f5afb);}function formatOptionsForDoc(_0x4545b3){const _0xee527c=a0_0x4986fd;return _0x4545b3[_0xee527c(0x30d)](_0x7b3ab5=>_0x7b3ab5['value']+'('+_0x7b3ab5['label']+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x138152,_0x229e96=0x0){const _0x57c9dd=a0_0x4986fd,_0x34ad9b='\x20\x20'[_0x57c9dd(0x1c4)](_0x229e96),_0x29d87b=[];return _0x138152[_0x57c9dd(0x31a)](_0x70b4cf=>{const _0x690714=_0x57c9dd;_0x29d87b[_0x690714(0x279)](_0x34ad9b+_0x690714(0x385)+_0x70b4cf['value']+_0x690714(0x323)+_0x70b4cf[_0x690714(0x169)]),_0x70b4cf['children']&&_0x70b4cf['children']['length']>0x0&&_0x29d87b[_0x690714(0x279)](formatOptionsAsMarkdownList(_0x70b4cf[_0x690714(0x324)],_0x229e96+0x1));}),_0x29d87b[_0x57c9dd(0x348)]('\x0a');}class DbtableConfig{[a0_0x4986fd(0x283)];constructor(_0x2efede){const _0x31f920={..._0x2efede};this['_raw']=_0x31f920;}get[a0_0x4986fd(0x349)](){const _0x3b2a4d=a0_0x4986fd;return this[_0x3b2a4d(0x283)][_0x3b2a4d(0x349)];}get[a0_0x4986fd(0x2a9)](){const _0x975e7=a0_0x4986fd;return this['_raw'][_0x975e7(0x2a9)]??this['_raw'][_0x975e7(0x3a0)]?.[_0x975e7(0x2a9)];}get[a0_0x4986fd(0x1ca)](){return this['_raw']['tableName'];}get[a0_0x4986fd(0x3ba)](){const _0x4a4620=a0_0x4986fd;return this['_raw'][_0x4a4620(0x3ba)];}get[a0_0x4986fd(0x1a1)](){const _0x3bcd9b=a0_0x4986fd;return this[_0x3bcd9b(0x283)][_0x3bcd9b(0x1a1)];}get[a0_0x4986fd(0x284)](){const _0x32492d=a0_0x4986fd;return this[_0x32492d(0x283)][_0x32492d(0x284)];}get['logicField'](){return this['_raw']['logicField'];}get[a0_0x4986fd(0x390)](){const _0x558fb5=a0_0x4986fd;return this[_0x558fb5(0x283)][_0x558fb5(0x390)];}get[a0_0x4986fd(0x210)](){const _0x2a34e0=a0_0x4986fd;return this[_0x2a34e0(0x283)][_0x2a34e0(0x210)];}get[a0_0x4986fd(0x168)](){const _0x4420b7=a0_0x4986fd;return this[_0x4420b7(0x283)][_0x4420b7(0x168)];}get['creatorNameField'](){const _0x1b3ce2=a0_0x4986fd;return this['_raw'][_0x1b3ce2(0x138)];}get[a0_0x4986fd(0x2f1)](){const _0x517971=a0_0x4986fd;return this['_raw'][_0x517971(0x2f1)];}get[a0_0x4986fd(0x206)](){const _0x890ac0=a0_0x4986fd;return this[_0x890ac0(0x283)][_0x890ac0(0x206)];}get['dblinkInfoDTO'](){const _0x414613=a0_0x4986fd;return this['_raw'][_0x414613(0x3a0)];}[a0_0x4986fd(0x149)](){const _0x50883f=a0_0x4986fd;if(!this[_0x50883f(0x283)][_0x50883f(0x1fc)])return[];return this[_0x50883f(0x283)][_0x50883f(0x1fc)][_0x50883f(0x398)](',')[_0x50883f(0x30d)](_0x3ff079=>_0x3ff079[_0x50883f(0x356)]())[_0x50883f(0x276)](Boolean);}[a0_0x4986fd(0x341)](){const _0x50fa06=a0_0x4986fd;return this[_0x50fa06(0x283)][_0x50fa06(0x1fc)];}[a0_0x4986fd(0x2e6)](_0x2556e5){const _0x542ebf=a0_0x4986fd;return this['getAllFieldsArray']()[_0x542ebf(0x228)](_0x2556e5);}[a0_0x4986fd(0x1a2)](){const _0x45344a=a0_0x4986fd;return Boolean(this[_0x45344a(0x283)][_0x45344a(0x1ca)]);}[a0_0x4986fd(0x328)](){const _0x69a476=a0_0x4986fd;return Boolean(this['_raw'][_0x69a476(0x3a0)]);}['hasLogicField'](){const _0x445e62=a0_0x4986fd;return Boolean(this[_0x445e62(0x283)][_0x445e62(0x209)]?.['fieldName']);}[a0_0x4986fd(0x372)](){const _0x6abb06=a0_0x4986fd;return Boolean(this[_0x6abb06(0x283)]['createTimeField']?.[_0x6abb06(0x354)]);}[a0_0x4986fd(0x2c1)](){const _0x4e236e=a0_0x4986fd;return Boolean(this[_0x4e236e(0x283)][_0x4e236e(0x210)]?.[_0x4e236e(0x354)]);}[a0_0x4986fd(0x249)](){const _0x3ddabc=a0_0x4986fd;return Boolean(this[_0x3ddabc(0x283)][_0x3ddabc(0x168)]?.[_0x3ddabc(0x354)]);}['hasModifierIdField'](){const _0x5e8338=a0_0x4986fd;return Boolean(this[_0x5e8338(0x283)][_0x5e8338(0x2f1)]?.[_0x5e8338(0x354)]);}[a0_0x4986fd(0x2bc)](_0xf5891b){const _0x54e79f=a0_0x4986fd;return this[_0x54e79f(0x283)][_0x54e79f(0x1a1)]===_0xf5891b;}['isSystemField'](_0x5921f2){const _0x5204bf=a0_0x4986fd;return this[_0x5204bf(0x2bc)](_0x5921f2)||this[_0x5204bf(0x283)][_0x5204bf(0x209)]?.[_0x5204bf(0x354)]===_0x5921f2||this[_0x5204bf(0x283)][_0x5204bf(0x390)]?.[_0x5204bf(0x354)]===_0x5921f2||this['_raw'][_0x5204bf(0x210)]?.[_0x5204bf(0x354)]===_0x5921f2||this[_0x5204bf(0x283)]['creatorIdField']?.[_0x5204bf(0x354)]===_0x5921f2||this[_0x5204bf(0x283)][_0x5204bf(0x138)]?.['fieldName']===_0x5921f2||this['_raw'][_0x5204bf(0x2f1)]?.[_0x5204bf(0x354)]===_0x5921f2||this['_raw'][_0x5204bf(0x206)]?.[_0x5204bf(0x354)]===_0x5921f2;}['getDatabaseName'](){const _0x317231=a0_0x4986fd;return this[_0x317231(0x283)][_0x317231(0x3a0)]?.['dbName'];}['getDatabaseType'](){const _0x4168b0=a0_0x4986fd;return this[_0x4168b0(0x283)][_0x4168b0(0x3a0)]?.[_0x4168b0(0x227)];}['getDatabaseVersion'](){const _0x284d62=a0_0x4986fd;return this[_0x284d62(0x283)]['dblinkInfoDTO']?.[_0x284d62(0x360)];}['getTenantCode'](){const _0x3bed2a=a0_0x4986fd;return this[_0x3bed2a(0x283)][_0x3bed2a(0x3a0)]?.[_0x3bed2a(0x10b)];}[a0_0x4986fd(0x112)](){const _0x373fbc=a0_0x4986fd;return this[_0x373fbc(0x283)][_0x373fbc(0x3a0)]?.[_0x373fbc(0x30c)];}['getSystemAnalysisResult'](){const _0x514bd9=a0_0x4986fd;return this[_0x514bd9(0x283)][_0x514bd9(0x3a0)]?.['systemAnalysisResult'];}[a0_0x4986fd(0x151)](){const _0x1cada1=a0_0x4986fd;return{'hasTableName':this[_0x1cada1(0x1a2)](),'hasDblinkInfo':this[_0x1cada1(0x328)](),'fieldCount':this[_0x1cada1(0x149)]()[_0x1cada1(0x338)],'systemFields':{'hasLogicField':this[_0x1cada1(0x346)](),'hasCreateTimeField':this[_0x1cada1(0x372)](),'hasUpdateTimeField':this[_0x1cada1(0x2c1)](),'hasCreatorIdField':this[_0x1cada1(0x249)](),'hasModifierIdField':this[_0x1cada1(0x225)]()}};}[a0_0x4986fd(0x32f)](){const _0x491545=a0_0x4986fd,_0x202366={};return _0x202366[_0x491545(0x1ca)]=this[_0x491545(0x1ca)],_0x202366['pkField']=this[_0x491545(0x1a1)],_0x202366[_0x491545(0x3ba)]=this['datasetKey'],_0x202366['dbId']=this['dbId'],_0x202366;}[a0_0x4986fd(0x171)](){const _0x527680=a0_0x4986fd,_0x31cc55={...this[_0x527680(0x283)]};return _0x31cc55;}[a0_0x4986fd(0x230)](){const _0x135d0f={...this['_raw']};return _0x135d0f;}[a0_0x4986fd(0x28a)](){const _0x82e106=a0_0x4986fd,_0x587493=this[_0x82e106(0x1ca)]||_0x82e106(0x2f0),_0x287ab7=this[_0x82e106(0x149)]()[_0x82e106(0x338)];return'DbtableConfig(table:\x20'+_0x587493+_0x82e106(0x371)+_0x287ab7+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x4986fd(0x283)];constructor(_0x1c6e1a){const _0x831b43=a0_0x4986fd,_0x4ab55a=_0x1c6e1a[_0x831b43(0x2e2)]||_0x1c6e1a['code']||_0x1c6e1a[_0x831b43(0x395)],_0x12f960={..._0x1c6e1a};_0x12f960[_0x831b43(0x2e2)]=_0x4ab55a,this[_0x831b43(0x283)]=_0x12f960;}get['id'](){const _0x21a73e=a0_0x4986fd;return this[_0x21a73e(0x283)]['id'];}get['name'](){const _0x274315=a0_0x4986fd;return this[_0x274315(0x283)][_0x274315(0x30e)];}[a0_0x4986fd(0x1dd)](){const _0x233057=a0_0x4986fd;return this[_0x233057(0x30e)];}get[a0_0x4986fd(0x2e2)](){const _0x5b142b=a0_0x4986fd;return this[_0x5b142b(0x283)][_0x5b142b(0x2e2)]||'';}get['dbtableConfig'](){const _0x55001d=a0_0x4986fd;if(!this[_0x55001d(0x283)][_0x55001d(0x128)])return null;return new DbtableConfig(this[_0x55001d(0x283)][_0x55001d(0x128)]);}[a0_0x4986fd(0x119)](){const _0x4f775a=a0_0x4986fd;return this[_0x4f775a(0x283)]['dbtableConfig'];}[a0_0x4986fd(0x3a8)](){const _0x92fda3=a0_0x4986fd;return this[_0x92fda3(0x128)]?.[_0x92fda3(0x2a9)]||'';}[a0_0x4986fd(0x13e)](){return getTableName(this['_raw']);}[a0_0x4986fd(0x2b7)](){const _0x11afde=a0_0x4986fd;return getTableKey(this[_0x11afde(0x13e)]());}[a0_0x4986fd(0x2b0)](){const _0x339eb1=a0_0x4986fd;return generateModelKeyFromCode(this[_0x339eb1(0x2e2)]);}['isVirtualTable'](){const _0x7faed3=a0_0x4986fd;return isVirtualTableName(this[_0x7faed3(0x13e)]());}['getModelName'](){const _0x574781=a0_0x4986fd;return getTableKey(this[_0x574781(0x13e)]());}[a0_0x4986fd(0x32f)](){const _0x5d5b22=a0_0x4986fd,_0x2b5992=getTableKey(this[_0x5d5b22(0x13e)]());return{'key':_0x2b5992,'alias':_0x2b5992,'tableName':this[_0x5d5b22(0x13e)](),'datasetCode':this[_0x5d5b22(0x2e2)],'name':this[_0x5d5b22(0x30e)]};}[a0_0x4986fd(0x171)](){const _0x446b78=a0_0x4986fd,_0x2cf060={...this[_0x446b78(0x283)]};return _0x2cf060['datasetCode']=this[_0x446b78(0x2e2)],_0x2cf060;}[a0_0x4986fd(0x230)](){const _0x3e1a60=a0_0x4986fd,_0x207b37={...this[_0x3e1a60(0x283)]};return _0x207b37;}[a0_0x4986fd(0x28c)](){const _0x5b0562=a0_0x4986fd,_0x25d9a2=this[_0x5b0562(0x128)];return _0x25d9a2!==null&&_0x25d9a2[_0x5b0562(0x1a2)]();}[a0_0x4986fd(0x13b)](_0x4b4554){const _0x319cce=a0_0x4986fd;return this[_0x319cce(0x283)][_0x4b4554];}['hasExtendField'](_0x2fdb5e){const _0x329679=a0_0x4986fd;return _0x2fdb5e in this[_0x329679(0x283)];}[a0_0x4986fd(0x28a)](){const _0x4545f6=a0_0x4986fd;return'DatasetItem('+this[_0x4545f6(0x30e)]+',\x20'+this[_0x4545f6(0x2e2)]+')';}}class Operation{[a0_0x4986fd(0x30e)];['_raw'];['context'];constructor(_0x537920,_0x44735a,_0x4c924a){const _0x4026e5=a0_0x4986fd;this[_0x4026e5(0x30e)]=_0x537920,this[_0x4026e5(0x283)]=_0x44735a,this[_0x4026e5(0x12a)]=_0x4c924a;}[a0_0x4986fd(0x1dd)](){const _0x6dc436=a0_0x4986fd;return this[_0x6dc436(0x30e)];}[a0_0x4986fd(0x240)](){const _0x2c3674=a0_0x4986fd;return OPERATION_TYPE_DISPLAY_NAME[this[_0x2c3674(0x30e)]]||this[_0x2c3674(0x30e)];}[a0_0x4986fd(0x252)](){return parseOperationType(this['name']);}['isEnabled'](){return this['_raw']!==null&&this['_raw']!==![];}[a0_0x4986fd(0x12b)](){const _0x3d3a39=a0_0x4986fd,_0x91ba30=this[_0x3d3a39(0x283)];if(_0x91ba30===![]||_0x91ba30===null)return'';return _0x91ba30[_0x3d3a39(0x2fc)]||_0x3d3a39(0x29a);}['getPath'](){const _0x506aa1=a0_0x4986fd,_0x6826b9=this[_0x506aa1(0x283)];if(_0x6826b9===![]||_0x6826b9===null)return'';return _0x6826b9[_0x506aa1(0x1f1)]||'';}['getFullUrl'](){const _0x620933=a0_0x4986fd,_0x58610e=this[_0x620933(0x283)];let _0x1ea980='';_0x58610e!==![]&&_0x58610e!==null&&_0x58610e[_0x620933(0x358)]&&(_0x1ea980=_0x58610e['host']);const _0x752fd=this[_0x620933(0x329)]();return _0x1ea980&&_0x752fd?''+_0x1ea980+_0x752fd:_0x752fd;}['parseRawRequestBody'](){const _0x5e715f=a0_0x4986fd,_0x257a58=this[_0x5e715f(0x283)];if(_0x257a58===![]||_0x257a58===null||!_0x257a58['requestBody'])return{};try{return JSON[_0x5e715f(0x2a3)](_0x257a58[_0x5e715f(0x1d6)]);}catch{return{};}}['parseRawResponseBody'](){const _0x5b8603=a0_0x4986fd,_0x1bd872=this[_0x5b8603(0x283)];if(_0x1bd872===![]||_0x1bd872===null||!_0x1bd872['responseBody'])return null;return parseResponseBody(_0x1bd872[_0x5b8603(0x35d)]);}[a0_0x4986fd(0x12d)](){const _0x58577f=a0_0x4986fd;return this[_0x58577f(0x127)]();}[a0_0x4986fd(0x143)](){const _0x5e56a1=a0_0x4986fd;return this[_0x5e56a1(0x14b)]();}[a0_0x4986fd(0x281)](){const _0x5c3023=this['getRequestParams']();return Object['keys'](_0x5c3023);}['generateRequestExample'](){const _0x189293=a0_0x4986fd,_0x454537=this['getRequestParams'](),_0x5edc5c={};return Object[_0x189293(0x353)](_0x454537)['forEach'](([_0x211dc1,_0x399734])=>{const _0x42604a=_0x189293,_0x5c4591=_0x399734;_0x5edc5c[_0x211dc1]=generateExampleValue(_0x211dc1,_0x5c4591[_0x42604a(0x186)]||_0x42604a(0x1b3),undefined,{'description':_0x5c4591[_0x42604a(0x19e)]});}),_0x5edc5c;}[a0_0x4986fd(0x1f0)](){const _0x1ddf01=a0_0x4986fd;return this[_0x1ddf01(0x374)]();}[a0_0x4986fd(0x1d2)](){const _0x410b94=a0_0x4986fd,_0x2ad600=this[_0x410b94(0x14b)]();if(!_0x2ad600){const _0x924f27={};return _0x924f27[_0x410b94(0x399)]=!![],_0x924f27[_0x410b94(0x314)]=_0x410b94(0x3aa),_0x924f27[_0x410b94(0x1db)]='',_0x924f27[_0x410b94(0x2e5)]='0000',_0x924f27[_0x410b94(0x3b5)]=null,_0x924f27;}return this[_0x410b94(0x36a)](_0x2ad600);}['generateFromSchema'](_0x1159fa){const _0x4932d1=a0_0x4986fd;if(!_0x1159fa||typeof _0x1159fa!==_0x4932d1(0x236))return{};if(Array[_0x4932d1(0x18f)](_0x1159fa))return _0x1159fa[_0x4932d1(0x338)]>0x0?[this[_0x4932d1(0x36a)](_0x1159fa[0x0])]:[];const _0x437afb={};for(const [_0x50ca7f,_0x1823e8]of Object[_0x4932d1(0x353)](_0x1159fa)){if(_0x1823e8&&typeof _0x1823e8===_0x4932d1(0x236)&&!Array['isArray'](_0x1823e8)){const _0x527248=_0x1823e8;_0x437afb[_0x50ca7f]=generateExampleValue(_0x50ca7f,_0x527248['type']||_0x4932d1(0x1b3),undefined,{'description':_0x527248[_0x4932d1(0x19e)]});}else Array[_0x4932d1(0x18f)](_0x1823e8)?_0x437afb[_0x50ca7f]=_0x1823e8[_0x4932d1(0x338)]>0x0?[this[_0x4932d1(0x36a)](_0x1823e8[0x0])]:[]:_0x437afb[_0x50ca7f]=_0x1823e8;}return _0x437afb;}[a0_0x4986fd(0x21c)](_0xce2e7e,_0xdc63b6,_0x497406,_0x5f3035){return generateExampleValue(_0xce2e7e,_0xdc63b6,_0x497406,_0x5f3035);}[a0_0x4986fd(0x137)](_0x2a4442,_0x3607ed){const _0xecee5b=a0_0x4986fd,_0x2c7b35=this[_0xecee5b(0x1dd)]();return _0xecee5b(0x380)+_0x2a4442+'.'+_0x2c7b35+_0xecee5b(0x177);}[a0_0x4986fd(0x235)](_0x4451de){const _0x34b8a0=a0_0x4986fd,_0x1727a1=this['getName'](),_0x8c4724=_0x4451de||_0x34b8a0(0x2e4),_0x453d89={};return _0x453d89[_0x34b8a0(0x1c9)]='const\x20data\x20=\x20await\x20client.models.'+_0x8c4724+'.'+_0x1727a1+_0x34b8a0(0x177),_0x453d89[_0x34b8a0(0x2e5)]=_0x34b8a0(0x1a4)+_0x8c4724+'.'+_0x1727a1+_0x34b8a0(0x35f),_0x453d89;}[a0_0x4986fd(0x25f)](){const _0x2aac69=a0_0x4986fd,_0x22f58c=this[_0x2aac69(0x12d)](),_0x1d0b03=Object[_0x2aac69(0x353)](_0x22f58c)[_0x2aac69(0x30d)](([_0xe8e0fe,_0x213d03])=>{const _0x489bb1=_0x2aac69,_0xc51ab5=_0x213d03,_0x7f40c3={};return _0x7f40c3[_0x489bb1(0x30e)]=_0xe8e0fe,_0x7f40c3[_0x489bb1(0x186)]=_0xc51ab5[_0x489bb1(0x186)]||'String',_0x7f40c3[_0x489bb1(0x19e)]=_0xc51ab5[_0x489bb1(0x19e)]||'-',_0x7f40c3['required']=_0xc51ab5[_0x489bb1(0x2f8)],_0x7f40c3;}),_0x1fad77={};return _0x1fad77[_0x2aac69(0x34d)]=_0x1d0b03,_0x1fad77;}[a0_0x4986fd(0x2e7)](){const _0x771574=a0_0x4986fd,_0x19c568=this[_0x771574(0x14b)]();if(!_0x19c568){const _0x2eb161={};return _0x2eb161[_0x771574(0x34d)]=[],_0x2eb161;}const _0x2b8741=Object[_0x771574(0x353)](_0x19c568)[_0x771574(0x30d)](([_0x5b76a6,_0x1e8e5d])=>{const _0x2bd1b3=_0x771574,_0x595ad4=_0x1e8e5d,_0x3764e4={};return _0x3764e4[_0x2bd1b3(0x30e)]=_0x5b76a6,_0x3764e4[_0x2bd1b3(0x186)]=_0x595ad4[_0x2bd1b3(0x186)]||'String',_0x3764e4[_0x2bd1b3(0x19e)]=_0x595ad4[_0x2bd1b3(0x19e)]||'-',_0x3764e4;}),_0x3046bc={};return _0x3046bc[_0x771574(0x34d)]=_0x2b8741,_0x3046bc;}['getSystemFields'](){return[];}[a0_0x4986fd(0x2c7)](){const _0x1c6624=a0_0x4986fd;return this[_0x1c6624(0x12a)]['fields']||[];}['getAllParams'](){const _0x5d5b20=a0_0x4986fd;return{'systemFields':this[_0x5d5b20(0x165)](),'businessFields':this[_0x5d5b20(0x2c7)]()};}[a0_0x4986fd(0x2fd)](_0x124758){const _0x1ac50d=a0_0x4986fd;return this['context'][_0x1ac50d(0x26d)][_0x1ac50d(0x2b4)](_0x523776=>_0x523776?.[_0x1ac50d(0x3b7)]===_0x124758);}['getFieldCode'](_0x4489ea){const _0x42c86b=a0_0x4986fd;return _0x4489ea[_0x42c86b(0x3b7)];}['getFieldType'](_0x1fff4f){return _0x1fff4f['type'];}[a0_0x4986fd(0x316)](_0x47e834){const _0x5c1fd9=a0_0x4986fd;return _0x47e834[_0x5c1fd9(0x30e)];}['getFieldDescription'](_0x23da94){const _0x3e955f=a0_0x4986fd;return _0x23da94[_0x3e955f(0x19e)];}[a0_0x4986fd(0x116)](_0x5ecde4){const _0x58980c=a0_0x4986fd;return _0x5ecde4[_0x58980c(0x2a5)]()||null;}[a0_0x4986fd(0x126)](_0x385b61){const _0x48b2e1=a0_0x4986fd;return _0x385b61[_0x48b2e1(0x2f6)]();}['getOperators'](){return[];}[a0_0x4986fd(0x231)](_0xb98cb0){return[];}[a0_0x4986fd(0x171)](){const _0x34e27b=a0_0x4986fd;return{'name':this[_0x34e27b(0x1dd)](),'displayName':this[_0x34e27b(0x240)](),'type':this['getType'](),'enabled':this[_0x34e27b(0x282)](),'method':this[_0x34e27b(0x12b)](),'path':this[_0x34e27b(0x329)](),'fullUrl':this[_0x34e27b(0x34e)](),'requestParams':this[_0x34e27b(0x12d)](),'requestExample':this[_0x34e27b(0x374)](),'responseExample':this['generateResponseExample']()};}['toString'](){const _0x4da4be=a0_0x4986fd,_0x201430=this[_0x4da4be(0x282)]()?'启用':'禁用';return this[_0x4da4be(0x240)]()+'('+this['name']+',\x20'+_0x201430+')';}}class GenericOperation extends Operation{['_requestExampleCache'];[a0_0x4986fd(0x12d)](){const _0x396171=a0_0x4986fd;return this[_0x396171(0x127)]();}[a0_0x4986fd(0x143)](){const _0x3852ee=a0_0x4986fd;return this[_0x3852ee(0x14b)]();}[a0_0x4986fd(0x374)](){const _0x3368a7=a0_0x4986fd;if(this[_0x3368a7(0x300)])return this[_0x3368a7(0x300)];const _0x6e3fa={},_0x58c478=this[_0x3368a7(0x12d)](),_0x65691f=this[_0x3368a7(0x252)]();if(Object['keys'](_0x58c478)[_0x3368a7(0x338)]===0x0&&_0x65691f){const _0x539ea5=this['getBusinessFields']();return _0x539ea5[_0x3368a7(0x31a)](_0x5910a9=>{const _0x36596a=_0x3368a7,_0x1ed364=_0x5910a9[_0x36596a(0x3b7)],_0x4c55d9=_0x5910a9[_0x36596a(0x186)],_0x2b7e5f=this['generateFieldExample'](_0x1ed364,_0x4c55d9,_0x5910a9[_0x36596a(0x195)](),{'isPrimaryKey':_0x5910a9[_0x36596a(0x2f6)](),'description':_0x5910a9['description']||_0x5910a9[_0x36596a(0x30e)]});_0x6e3fa[_0x1ed364]=_0x2b7e5f;}),this[_0x3368a7(0x300)]=_0x6e3fa,_0x6e3fa;}return Object[_0x3368a7(0x353)](_0x58c478)[_0x3368a7(0x31a)](([_0x1758bd,_0x104b50])=>{const _0x98e929=_0x3368a7,_0x52d545=_0x104b50;let _0x3a67ad;if(typeof _0x52d545[_0x98e929(0x186)]===_0x98e929(0x388))_0x3a67ad=_0x52d545[_0x98e929(0x186)];else _0x52d545['type']&&typeof _0x52d545[_0x98e929(0x186)]===_0x98e929(0x236)?_0x3a67ad=_0x52d545[_0x98e929(0x186)][_0x98e929(0x186)]||_0x98e929(0x139):_0x3a67ad=_0x98e929(0x139);const _0x46472a=_0x52d545[_0x98e929(0x19e)],_0x3e7da9=this[_0x98e929(0x2fd)](_0x1758bd);if(_0x1758bd===_0x98e929(0x27f))_0x6e3fa[_0x1758bd]=0x1;else{if(_0x1758bd===_0x98e929(0x1bc))_0x6e3fa[_0x1758bd]=0xa;else{if(_0x1758bd==='id')_0x6e3fa[_0x1758bd]=0x1;else{const _0x564e78=_0x3e7da9?_0x3e7da9[_0x98e929(0x195)]():undefined,_0x1c3b9b=_0x3e7da9?_0x3e7da9['description']:undefined,_0x209eb2=_0x3e7da9?_0x3e7da9[_0x98e929(0x30e)]:undefined;_0x6e3fa[_0x1758bd]=this['generateFieldExample'](_0x1758bd,_0x3a67ad,_0x564e78||undefined,{'isPrimaryKey':_0x1758bd===this[_0x98e929(0x12a)][_0x98e929(0x1a1)]||_0x1758bd==='id','description':_0x46472a||_0x1c3b9b||_0x209eb2});}}}}),this['_requestExampleCache']=_0x6e3fa,_0x6e3fa;}[a0_0x4986fd(0x1d2)](){const _0x4173a9=a0_0x4986fd,_0x4fda0e=this['getResponseSchema']();if(!_0x4fda0e){const _0x2f0db4={};return _0x2f0db4['success']=!![],_0x2f0db4[_0x4173a9(0x314)]=_0x4173a9(0x3aa),_0x2f0db4['errorMsg']='',_0x2f0db4[_0x4173a9(0x2e5)]=_0x4173a9(0x1c2),_0x2f0db4[_0x4173a9(0x3b5)]=null,_0x2f0db4;}return this[_0x4173a9(0x36a)](_0x4fda0e);}[a0_0x4986fd(0x36a)](_0x17aabc){const _0x32c40f=a0_0x4986fd;if(!_0x17aabc||typeof _0x17aabc!==_0x32c40f(0x236))return{};if(Array[_0x32c40f(0x18f)](_0x17aabc)){if(_0x17aabc[_0x32c40f(0x338)]>0x0)return[this['generateFromSchema'](_0x17aabc[0x0])];return[];}const _0xcbd701={};return Object[_0x32c40f(0x1b1)](_0x17aabc)[_0x32c40f(0x31a)](_0x3f5f85=>{const _0x3f193e=_0x32c40f,_0x261b6c=_0x17aabc[_0x3f5f85];if(_0x261b6c&&typeof _0x261b6c==='object'&&!Array[_0x3f193e(0x18f)](_0x261b6c)&&_0x261b6c['type']){const _0x16722b=_0x261b6c;let _0x42d313;if(typeof _0x16722b[_0x3f193e(0x186)]===_0x3f193e(0x388))_0x42d313=_0x16722b['type'];else _0x16722b[_0x3f193e(0x186)]&&typeof _0x16722b[_0x3f193e(0x186)]===_0x3f193e(0x236)?_0x42d313=_0x16722b[_0x3f193e(0x186)]['type']||_0x3f193e(0x139):_0x42d313=_0x3f193e(0x139);const _0xcb84fb=_0x16722b['description'],_0x18ef7b={};_0x18ef7b['description']=_0xcb84fb,_0xcbd701[_0x3f5f85]=this['generateFieldExample'](_0x3f5f85,_0x42d313,undefined,_0x18ef7b);}else{if(Array[_0x3f193e(0x18f)](_0x261b6c))_0xcbd701[_0x3f5f85]=_0x261b6c['length']>0x0?[this[_0x3f193e(0x36a)](_0x261b6c[0x0])]:[];else _0x261b6c&&typeof _0x261b6c===_0x3f193e(0x236)?_0xcbd701[_0x3f5f85]=this[_0x3f193e(0x36a)](_0x261b6c):_0xcbd701[_0x3f5f85]=_0x261b6c;}}),_0xcbd701;}[a0_0x4986fd(0x137)](_0x19e5ce,_0x538de3){const _0x5eda79=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x538de3||{},_0x500ddc=this['getName'](),_0x2cb4e3=this[_0x5eda79(0x252)](),_0x5b4dfe=this[_0x5eda79(0x281)](),_0x47ddcc=this[_0x5eda79(0x374)](),_0x33a956=_0x30ed7b=>{const _0x511694=_0x5eda79;if(Object[_0x511694(0x1b1)](_0x30ed7b)['length']===0x0)return'{}';const _0x4b1b70=JSON[_0x511694(0x122)](_0x30ed7b,null,0x2)[_0x511694(0x398)]('\x0a')['map']((_0x29af77,_0x41af28)=>_0x41af28===0x0?_0x29af77:indent+_0x29af77)[_0x511694(0x348)]('\x0a');return _0x4b1b70;};switch(_0x2cb4e3){case _0x5eda79(0x344):case _0x5eda79(0x270):return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x375);case _0x5eda79(0x1c5):if(useFullExample&&Object[_0x5eda79(0x1b1)](_0x47ddcc)[_0x5eda79(0x338)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x2e0)+_0x33a956(_0x47ddcc)+');';return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x166);case _0x5eda79(0x38a):case _0x5eda79(0x208):case _0x5eda79(0x224):default:if(_0x5b4dfe[_0x5eda79(0x338)]>0x0){if(useFullExample&&Object[_0x5eda79(0x1b1)](_0x47ddcc)[_0x5eda79(0x338)]>0x0)return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+'('+_0x33a956(_0x47ddcc)+');';else{const _0x27ced9=Object[_0x5eda79(0x1b1)](_0x47ddcc);if(_0x27ced9[_0x5eda79(0x338)]>0x0){const _0x11ba07=_0x27ced9[_0x5eda79(0x14d)](0x0,0x2)['join'](',\x20');return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x38f)+_0x11ba07+_0x5eda79(0x39f);}else return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+'(params);';}}else return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x177);}}[a0_0x4986fd(0x3b0)](){const _0x234915=a0_0x4986fd;return[{'title':_0x234915(0x386),'data':this[_0x234915(0x374)]()}];}[a0_0x4986fd(0x165)](){const _0x1e1c46=a0_0x4986fd,_0x3df8bf=this[_0x1e1c46(0x252)](),_0x52af7d=[];switch(_0x3df8bf){case _0x1e1c46(0x344):case _0x1e1c46(0x270):const _0x3ba0b6={};_0x3ba0b6[_0x1e1c46(0x3b7)]='id',_0x3ba0b6[_0x1e1c46(0x186)]=_0x1e1c46(0x1f9),_0x3ba0b6[_0x1e1c46(0x19e)]='主键ID',_0x52af7d['push'](_0x3ba0b6);break;case _0x1e1c46(0x208):const _0x581c18={};_0x581c18[_0x1e1c46(0x3b7)]='currentPage',_0x581c18[_0x1e1c46(0x186)]='NUMBER',_0x581c18[_0x1e1c46(0x19e)]='当前页码';const _0x532be3={};_0x532be3[_0x1e1c46(0x3b7)]=_0x1e1c46(0x1bc),_0x532be3[_0x1e1c46(0x186)]=_0x1e1c46(0x1f9),_0x532be3['description']=_0x1e1c46(0x24a),_0x52af7d['push'](_0x581c18,_0x532be3);break;case'getSelectOptions':const _0x1df286={};_0x1df286[_0x1e1c46(0x3b7)]=_0x1e1c46(0x3b7),_0x1df286[_0x1e1c46(0x186)]='STRING',_0x1df286[_0x1e1c46(0x19e)]=_0x1e1c46(0x24c),_0x52af7d[_0x1e1c46(0x279)](_0x1df286);break;default:break;}return _0x52af7d;}[a0_0x4986fd(0x2c7)](){const _0x4a5704=a0_0x4986fd,_0x515435=this['getType'](),_0x1e6bcf=this[_0x4a5704(0x12a)][_0x4a5704(0x26d)]||[];switch(_0x515435){case'getOne':case _0x4a5704(0x270):return[];case _0x4a5704(0x38a):return _0x1e6bcf[_0x4a5704(0x276)](_0x4a9e9=>{const _0x2d2042=_0x4a5704;if(_0x4a9e9[_0x2d2042(0x37d)])return![];if(_0x4a9e9[_0x2d2042(0x2f6)]()&&_0x4a9e9[_0x2d2042(0x2cf)]())return![];if(_0x4a9e9[_0x2d2042(0x2b3)]())return![];if(_0x4a9e9[_0x2d2042(0x34c)]()||_0x4a9e9[_0x2d2042(0x337)]())return![];return!![];});case _0x4a5704(0x1c5):return _0x1e6bcf[_0x4a5704(0x276)](_0x519a7e=>{const _0x181567=_0x4a5704;if(_0x519a7e[_0x181567(0x37d)])return![];if(_0x519a7e[_0x181567(0x2f6)]())return![];if(_0x519a7e[_0x181567(0x2b3)]())return![];if(_0x519a7e[_0x181567(0x34c)]()||_0x519a7e[_0x181567(0x337)]())return![];if(_0x519a7e[_0x181567(0x2cf)]())return![];return!![];});case'getList':case _0x4a5704(0x224):return _0x1e6bcf[_0x4a5704(0x276)](_0xd87d7f=>!_0xd87d7f[_0x4a5704(0x37d)]&&_0xd87d7f[_0x4a5704(0x1bb)]());default:return _0x1e6bcf[_0x4a5704(0x276)](_0x16934b=>!_0x16934b[_0x4a5704(0x37d)]&&_0x16934b[_0x4a5704(0x1bb)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x58fd56=a0_0x4986fd,_0x5783cd=super['getRequestParams'](),_0x43898e=Object[_0x58fd56(0x1b1)](_0x5783cd);if(_0x43898e[_0x58fd56(0x338)]===0x0||_0x43898e[_0x58fd56(0x338)]===0x1&&_0x43898e[0x0]===_0x58fd56(0x3b7)){if(!_0x5783cd['code']){const _0x62ed3a={};_0x62ed3a[_0x58fd56(0x186)]=_0x58fd56(0x1b3),_0x62ed3a['description']=_0x58fd56(0x2fe),_0x5783cd[_0x58fd56(0x3b7)]=_0x62ed3a;}const _0x84357c={};_0x84357c[_0x58fd56(0x186)]=_0x58fd56(0x1b3),_0x84357c[_0x58fd56(0x19e)]=_0x58fd56(0x291),_0x5783cd[_0x58fd56(0x169)]=_0x84357c;}return _0x5783cd;}['getBusinessFields'](){return[];}[a0_0x4986fd(0x165)](){const _0x3f6827=a0_0x4986fd,_0x10985a={};_0x10985a[_0x3f6827(0x3b7)]='code',_0x10985a[_0x3f6827(0x186)]=_0x3f6827(0x1b3),_0x10985a[_0x3f6827(0x19e)]=_0x3f6827(0x2fe);const _0x1646a4={};return _0x1646a4['code']=_0x3f6827(0x169),_0x1646a4[_0x3f6827(0x186)]='String',_0x1646a4[_0x3f6827(0x19e)]='字段名称',[_0x10985a,_0x1646a4];}[a0_0x4986fd(0x374)](){const _0x479beb=a0_0x4986fd,_0x3080f4={};return _0x3080f4[_0x479beb(0x3b7)]=_0x479beb(0x30b),_0x3080f4[_0x479beb(0x169)]=_0x479beb(0x30b),_0x3080f4;}[a0_0x4986fd(0x137)](_0x5887ca){const _0x60b83c=a0_0x4986fd,_0x5aa80c=this['getName']();return'const\x20result\x20=\x20await\x20client.models.'+_0x5887ca+'.'+_0x5aa80c+_0x60b83c(0x1c1);}}class GetListOperation extends GenericOperation{[a0_0x4986fd(0x12d)](){const _0x2472f0=a0_0x4986fd,_0x2f9d3e=super[_0x2472f0(0x12d)](),{currentPage:_0x52b310,pageSize:_0x3cecab,..._0x7405f6}=_0x2f9d3e,_0x2eb11b={};Object[_0x2472f0(0x353)](_0x7405f6)[_0x2472f0(0x31a)](([_0x1f59f1,_0x484f9b])=>{const _0x3dd846=_0x2472f0;if(typeof _0x484f9b==='object'&&_0x484f9b!==null){const _0x41f9b5=_0x484f9b,_0x6efd76=_0x41f9b5[_0x3dd846(0x19e)]||'',_0x428eb1={..._0x41f9b5};_0x428eb1[_0x3dd846(0x19e)]=_0x6efd76?_0x6efd76+_0x3dd846(0x369):_0x3dd846(0x32c),_0x2eb11b[_0x1f59f1]=_0x428eb1;}else _0x2eb11b[_0x1f59f1]=_0x484f9b;});const _0x3456dc={...typeof _0x52b310===_0x2472f0(0x236)?_0x52b310:{}};_0x3456dc[_0x2472f0(0x186)]=_0x2472f0(0x25b),_0x3456dc['description']=_0x2472f0(0x120);const _0x4e2326={...typeof _0x3cecab===_0x2472f0(0x236)?_0x3cecab:{}};_0x4e2326['type']=_0x2472f0(0x25b),_0x4e2326[_0x2472f0(0x19e)]=_0x2472f0(0x184);const _0x293f92={..._0x2eb11b};return _0x293f92['currentPage']=_0x3456dc,_0x293f92[_0x2472f0(0x1bc)]=_0x4e2326,_0x293f92;}['generateRequestExample'](_0xc74371){const _0x4d251d=a0_0x4986fd,{useArrayValues:useArrayValues=!![]}=_0xc74371||{},_0x38e75f=super[_0x4d251d(0x374)](),{currentPage:_0x162b55,pageSize:_0x9a0b91,..._0x1f106c}=_0x38e75f;if(!useArrayValues){const _0x14193c={..._0x1f106c};return _0x14193c[_0x4d251d(0x27f)]=_0x162b55??0x1,_0x14193c[_0x4d251d(0x1bc)]=_0x9a0b91??0xa,_0x14193c;}const _0x25abb0={},_0x288346=['id',_0x4d251d(0x135),_0x4d251d(0x3b7),_0x4d251d(0x186)];Object['entries'](_0x1f106c)[_0x4d251d(0x31a)](([_0x2ac3b6,_0x3fdec2],_0x3e37d0)=>{const _0x2100d9=_0x4d251d,_0x1bd1c2=_0x288346['some'](_0x378264=>_0x2ac3b6[_0x2100d9(0x258)]()['includes'](_0x378264))||_0x3e37d0%0x3===0x0;if(_0x1bd1c2&&_0x3fdec2!==null&&_0x3fdec2!==undefined){if(typeof _0x3fdec2==='number')_0x25abb0[_0x2ac3b6]=[_0x3fdec2,_0x3fdec2+0x1,_0x3fdec2+0x2];else typeof _0x3fdec2===_0x2100d9(0x388)?_0x25abb0[_0x2ac3b6]=[_0x3fdec2,_0x3fdec2+'_2',_0x3fdec2+'_3']:_0x25abb0[_0x2ac3b6]=[_0x3fdec2];}else _0x25abb0[_0x2ac3b6]=_0x3fdec2;});const _0x1dc982={..._0x25abb0};return _0x1dc982['currentPage']=_0x162b55??0x1,_0x1dc982[_0x4d251d(0x1bc)]=_0x9a0b91??0xa,_0x1dc982;}['generateSingleValueExample'](){const _0x3a13d3=a0_0x4986fd,_0x488ce4={};return _0x488ce4['useArrayValues']=![],this[_0x3a13d3(0x374)](_0x488ce4);}[a0_0x4986fd(0x3b0)](){const _0xa040d5=a0_0x4986fd;return[{'title':_0xa040d5(0x3bc),'description':_0xa040d5(0x2d1),'data':this[_0xa040d5(0x1eb)]()},{'title':_0xa040d5(0x1a8),'description':'支持多个条件','data':this[_0xa040d5(0x374)]()}];}['generateSDKCallCode'](_0x3f5919,_0x39a374){const _0x2930db=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x39a374||{},_0xc19525=this[_0x2930db(0x1dd)](),_0x42e0a4={};_0x42e0a4[_0x2930db(0x242)]=!![];const _0x4a9373=this['generateRequestExample'](_0x42e0a4),{currentPage:_0x214883,pageSize:_0x492423,..._0x510889}=_0x4a9373;if(useFullExample&&Object['keys'](_0x4a9373)['length']>0x0){const _0x3e2e25=Object[_0x2930db(0x1b1)](_0x510889)[_0x2930db(0x338)]>0x0;if(_0x3e2e25){const _0x389426=this[_0x2930db(0x1eb)](),_0x182cd3=_0x4f9aac=>{const _0x118399=_0x2930db;return JSON[_0x118399(0x122)](_0x4f9aac,null,0x2)[_0x118399(0x398)]('\x0a')['map']((_0x39e575,_0x34ab18)=>_0x34ab18===0x0?_0x39e575:indent+_0x39e575)['join']('\x0a');};return _0x2930db(0x23b)+_0x3f5919+'.'+_0xc19525+'('+_0x182cd3(_0x389426)+');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x3f5919+'.'+_0xc19525+'('+_0x182cd3(_0x4a9373)+');';}else{const _0x4a43ca=JSON[_0x2930db(0x122)](_0x4a9373,null,0x2)[_0x2930db(0x398)]('\x0a')[_0x2930db(0x30d)]((_0x53a02e,_0x57bc58)=>_0x57bc58===0x0?_0x53a02e:indent+_0x53a02e)[_0x2930db(0x348)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x3f5919+'.'+_0xc19525+'('+_0x4a43ca+');';}}if(Object[_0x2930db(0x1b1)](_0x510889)['length']>0x0){const _0xc0d80e=Object['keys'](_0x510889)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x3f5919+'.'+_0xc19525+_0x2930db(0x38f)+_0xc0d80e+_0x2930db(0x1aa);}return _0x2930db(0x380)+_0x3f5919+'.'+_0xc19525+_0x2930db(0x3c1);}}var AGGREGATE_FUNCTIONS=['sum',a0_0x4986fd(0x202),a0_0x4986fd(0x37b),a0_0x4986fd(0x107),a0_0x4986fd(0x3c3)],FILTER_OPERATORS=[a0_0x4986fd(0x33d),a0_0x4986fd(0x382),a0_0x4986fd(0x163),a0_0x4986fd(0x3c5),a0_0x4986fd(0x3c0),a0_0x4986fd(0x221),a0_0x4986fd(0x125),a0_0x4986fd(0x26a),a0_0x4986fd(0x155),a0_0x4986fd(0x24b),a0_0x4986fd(0x396),a0_0x4986fd(0x223)];class FilterOperation extends GenericOperation{constructor(_0x5113ea,_0x4e883d,_0x313e6a){super(_0x5113ea,_0x4e883d,_0x313e6a);}[a0_0x4986fd(0x213)](){return FILTER_OPERATORS;}['getFieldOperators'](_0x19f93f){const _0x3d0dc9=a0_0x4986fd,_0x28a8ec=this[_0x3d0dc9(0x2fd)](_0x19f93f);if(!_0x28a8ec)return[];return this[_0x3d0dc9(0x254)](_0x28a8ec);}[a0_0x4986fd(0x12d)](){const _0x529cb2=a0_0x4986fd,_0x4d1e84=super[_0x529cb2(0x12d)](),_0x3f01ec={};_0x3f01ec[_0x529cb2(0x186)]=_0x529cb2(0x37e),_0x3f01ec[_0x529cb2(0x19e)]='查询条件(支持\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)',_0x3f01ec['required']=![];const _0x556b6b={};_0x556b6b[_0x529cb2(0x186)]=_0x529cb2(0x361),_0x556b6b['description']=_0x529cb2(0x2ce),_0x556b6b[_0x529cb2(0x2f8)]=![];const _0x29d967={};_0x29d967['type']=_0x529cb2(0x16d),_0x29d967[_0x529cb2(0x19e)]=_0x529cb2(0x22c),_0x29d967[_0x529cb2(0x2f8)]=![];const _0x4b3d2c={};_0x4b3d2c[_0x529cb2(0x186)]=_0x529cb2(0x25b),_0x4b3d2c[_0x529cb2(0x19e)]=_0x529cb2(0x120),_0x4b3d2c[_0x529cb2(0x2f8)]=![],_0x4b3d2c[_0x529cb2(0x1ff)]=0x1;const _0xe0bfde={};_0xe0bfde['type']=_0x529cb2(0x25b),_0xe0bfde[_0x529cb2(0x19e)]=_0x529cb2(0x184),_0xe0bfde['required']=![],_0xe0bfde[_0x529cb2(0x1ff)]=0xa;const _0xe29bbe={..._0x4d1e84};return _0xe29bbe[_0x529cb2(0x1e7)]=_0x3f01ec,_0xe29bbe[_0x529cb2(0x16b)]=_0x556b6b,_0xe29bbe['orderBy']=_0x29d967,_0xe29bbe[_0x529cb2(0x27f)]=_0x4b3d2c,_0xe29bbe[_0x529cb2(0x1bc)]=_0xe0bfde,_0xe29bbe;}[a0_0x4986fd(0x165)](){const _0x19ec29=a0_0x4986fd,_0x4e3274=this[_0x19ec29(0x12d)](),_0xaf8b8d=[],_0x24c61b=[_0x19ec29(0x1e7),_0x19ec29(0x16b),_0x19ec29(0x37c),_0x19ec29(0x27f),'pageSize'];return Object[_0x19ec29(0x353)](_0x4e3274)[_0x19ec29(0x31a)](([_0x5d56ca,_0x284b98])=>{const _0x2ac858=_0x19ec29;if(_0x24c61b[_0x2ac858(0x228)](_0x5d56ca)){const _0x2a3f3a=_0x284b98,_0x3bb522={};_0x3bb522[_0x2ac858(0x3b7)]=_0x5d56ca,_0x3bb522[_0x2ac858(0x186)]=_0x2a3f3a[_0x2ac858(0x186)]||'Object',_0x3bb522[_0x2ac858(0x19e)]=_0x2a3f3a[_0x2ac858(0x19e)]||'-',_0xaf8b8d['push'](_0x3bb522);}}),_0xaf8b8d;}[a0_0x4986fd(0x2c7)](){const _0x7d7d2=a0_0x4986fd;return this[_0x7d7d2(0x12a)][_0x7d7d2(0x26d)]||[];}[a0_0x4986fd(0x2c8)](){return{'systemParams':this['getSystemFields'](),'businessFields':this['getBusinessFields']()};}[a0_0x4986fd(0x374)](){const _0x42df96=a0_0x4986fd,_0x32be88=this[_0x42df96(0x12a)][_0x42df96(0x26d)]||[];if(_0x32be88['length']===0x0){const _0x35a63a={};return _0x35a63a[_0x42df96(0x1e7)]={},_0x35a63a[_0x42df96(0x27f)]=0x1,_0x35a63a['pageSize']=0x14,_0x35a63a;}const _0x1d9a03={},_0x352f78=_0x32be88[_0x42df96(0x14d)](0x0,Math['min'](0x3,_0x32be88[_0x42df96(0x338)]));_0x352f78['forEach'](_0x440694=>{const _0x1cc9b1=_0x42df96,_0x5a1911=this[_0x1cc9b1(0x254)](_0x440694);if(_0x5a1911[_0x1cc9b1(0x338)]===0x0)return;const _0x24f32f=this[_0x1cc9b1(0x3b3)](_0x440694,_0x5a1911),_0x1bca66=this[_0x1cc9b1(0x3b4)](_0x440694,_0x24f32f),_0x30351a={};_0x30351a[_0x24f32f]=_0x1bca66,_0x1d9a03[_0x440694[_0x1cc9b1(0x3b7)]]=_0x30351a;});const _0x19a0d4=_0x32be88['slice'](0x0,Math[_0x42df96(0x3c3)](0x5,_0x32be88[_0x42df96(0x338)]))['map'](_0x3ecd16=>_0x3ecd16['code']),_0x3bc124=_0x32be88[0x0]?_0x32be88[0x0][_0x42df96(0x3b7)]:'id',_0x385801={};_0x385801[_0x3bc124]='DESC';const _0x1836b5={};return _0x1836b5['where']=_0x1d9a03,_0x1836b5['select']=_0x19a0d4,_0x1836b5[_0x42df96(0x37c)]=[_0x385801],_0x1836b5['currentPage']=0x1,_0x1836b5[_0x42df96(0x1bc)]=0x14,_0x1836b5;}[a0_0x4986fd(0x137)](_0x5b5376,_0xcb62d2){const _0x3780c5=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0xcb62d2||{},_0x1c2d49=this[_0x3780c5(0x1dd)](),_0x14b02a=this[_0x3780c5(0x374)](),_0x832e2=_0x178e3c=>{const _0x5e5455=_0x3780c5;return JSON[_0x5e5455(0x122)](_0x178e3c,null,0x2)[_0x5e5455(0x398)]('\x0a')[_0x5e5455(0x30d)]((_0x1d0009,_0x460d10)=>_0x460d10===0x0?_0x1d0009:indent+_0x1d0009)[_0x5e5455(0x348)]('\x0a');};if(useFullExample){const _0x4b5cf8=this[_0x3780c5(0x12a)]['fields']||[],_0x5c4468={'where':_0x4b5cf8[0x0]?{[_0x4b5cf8[0x0][_0x3780c5(0x3b7)]]:{'$eq':this[_0x3780c5(0x3b4)](_0x4b5cf8[0x0],'$eq')}}:{},'select':_0x4b5cf8[_0x3780c5(0x14d)](0x0,0x3)[_0x3780c5(0x30d)](_0x203b78=>_0x203b78[_0x3780c5(0x3b7)]),'currentPage':0x1,'pageSize':0x14};let _0x4e18d3='';if(_0x4b5cf8[_0x3780c5(0x338)]>=0x3){const _0xf3bf20={};_0xf3bf20[_0x3780c5(0x396)]=[];const _0x49050b=_0xf3bf20,_0xdedf8c=[];if(_0x4b5cf8[_0x3780c5(0x338)]>0x0){const _0x5578fb=_0x4b5cf8[_0x3780c5(0x2b4)](_0x85d38a=>{const _0x3db14b=_0x3780c5,_0x2e22cd=_0x85d38a['getDbTypeForOperation']();return['NUMBER','INTEGER','BIGINT',_0x3db14b(0x1b2),_0x3db14b(0x2ed),'SMALLINT'][_0x3db14b(0x228)](_0x2e22cd);});if(_0x5578fb){const _0x3a54df={};_0x3a54df[_0x3780c5(0x163)]=0x0,_0x3a54df['$lte']=0x64;const _0x2c0b01={[_0x5578fb['code']]:_0x3a54df};_0xdedf8c[_0x3780c5(0x279)](_0x2c0b01);}}if(_0x4b5cf8['length']>0x1){const _0x582b94=_0x4b5cf8[_0x3780c5(0x2b4)](_0x5ba6a7=>{const _0x31a97d=_0x3780c5,_0xa0beae=_0x5ba6a7[_0x31a97d(0x195)]();return[_0x31a97d(0x3ab),'TEXT',_0x31a97d(0x2e9),_0x31a97d(0x319),_0x31a97d(0x367)][_0x31a97d(0x228)](_0xa0beae);});if(_0x582b94){const _0x1526eb={};_0x1526eb['$contain']=_0x3780c5(0x2e3);const _0x79580e={[_0x582b94[_0x3780c5(0x3b7)]]:_0x1526eb};_0xdedf8c[_0x3780c5(0x279)](_0x79580e);}}if(_0xdedf8c[_0x3780c5(0x338)]>0x0){_0x49050b[_0x3780c5(0x396)]=_0xdedf8c;const _0x55913d={'where':_0x49050b,'select':_0x4b5cf8[_0x3780c5(0x14d)](0x0,0x4)['map'](_0x5d15a9=>_0x5d15a9[_0x3780c5(0x3b7)]),'orderBy':[{[_0x4b5cf8[0x0][_0x3780c5(0x3b7)]]:_0x3780c5(0x220)}],'currentPage':0x1,'pageSize':0x14};_0x4e18d3='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x5b5376+'.'+_0x1c2d49+'('+_0x832e2(_0x55913d)+');';}}return _0x3780c5(0x20c)+_0x5b5376+'.'+_0x1c2d49+'('+_0x832e2(_0x5c4468)+');'+_0x4e18d3;}const _0x35b5de=JSON[_0x3780c5(0x122)](_0x14b02a,null,0x2)['split']('\x0a')[_0x3780c5(0x30d)]((_0x19f7cd,_0x207955)=>_0x207955===0x0?_0x19f7cd:indent+_0x19f7cd)[_0x3780c5(0x348)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x5b5376+'.'+_0x1c2d49+'('+_0x35b5de+');';}[a0_0x4986fd(0x254)](_0x200759){const _0x39ae3d=a0_0x4986fd,_0x6449f5=_0x200759[_0x39ae3d(0x195)](),_0x355df3=[];if([_0x39ae3d(0x1f9),'INTEGER',_0x39ae3d(0x38c),_0x39ae3d(0x19a)]['includes'](_0x6449f5)||[_0x39ae3d(0x1b2),'TINYINT',_0x39ae3d(0x215),_0x39ae3d(0x334),_0x39ae3d(0x39a)]['includes'](_0x6449f5))_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382),_0x39ae3d(0x163),_0x39ae3d(0x3c0),_0x39ae3d(0x3c5),_0x39ae3d(0x221),_0x39ae3d(0x125));else{if(['STRING',_0x39ae3d(0x139),_0x39ae3d(0x2e9)][_0x39ae3d(0x228)](_0x6449f5)||[_0x39ae3d(0x319),'LONGTEXT'][_0x39ae3d(0x228)](_0x6449f5))_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382),_0x39ae3d(0x125),_0x39ae3d(0x26a),_0x39ae3d(0x155),_0x39ae3d(0x24b));else{if([_0x39ae3d(0x32d),_0x39ae3d(0x3ac),'TIMESTAMP'][_0x39ae3d(0x228)](_0x6449f5)||[_0x39ae3d(0x2a8)]['includes'](_0x6449f5))_0x355df3['push'](_0x39ae3d(0x33d),_0x39ae3d(0x382),_0x39ae3d(0x163),'$lte','$gteq','$lteq');else[_0x39ae3d(0x30f),'BOOL',_0x39ae3d(0x2fb)][_0x39ae3d(0x228)](_0x6449f5)?_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382)):_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382));}}return _0x355df3;}[a0_0x4986fd(0x3b3)](_0x54f78b,_0x23c723){const _0x2432a6=a0_0x4986fd,_0x269c1c=_0x54f78b['getDbTypeForOperation']();if([_0x2432a6(0x1f9),_0x2432a6(0x304),'BIGINT','DECIMAL'][_0x2432a6(0x228)](_0x269c1c)||[_0x2432a6(0x1b2),'TINYINT',_0x2432a6(0x215),_0x2432a6(0x334),_0x2432a6(0x39a)][_0x2432a6(0x228)](_0x269c1c))return _0x23c723[_0x2432a6(0x228)]('$gte')?'$gte':_0x2432a6(0x33d);if(['STRING',_0x2432a6(0x139),_0x2432a6(0x2e9)]['includes'](_0x269c1c)||[_0x2432a6(0x319),'LONGTEXT'][_0x2432a6(0x228)](_0x269c1c))return _0x23c723[_0x2432a6(0x228)]('$contain')?'$contain':'$eq';if([_0x2432a6(0x32d),'DATETIME',_0x2432a6(0x110),_0x2432a6(0x2a8)][_0x2432a6(0x228)](_0x269c1c))return _0x23c723['includes'](_0x2432a6(0x163))?'$gte':_0x2432a6(0x33d);return _0x2432a6(0x33d);}[a0_0x4986fd(0x3b4)](_0x406e0f,_0x4b19a1){const _0x858cd5=a0_0x4986fd,_0x30f3a4=_0x406e0f['getDbTypeForOperation'](),_0x835da7=_0x406e0f[_0x858cd5(0x2a5)]();if(_0x835da7&&_0x835da7[_0x858cd5(0x338)]>0x0){if(_0x4b19a1==='$in')return _0x835da7[_0x858cd5(0x14d)](0x0,0x2)['map'](_0x3146f0=>_0x3146f0[_0x858cd5(0x31e)]);return _0x835da7[0x0][_0x858cd5(0x31e)];}if(['NUMBER',_0x858cd5(0x304),_0x858cd5(0x38c),_0x858cd5(0x19a)][_0x858cd5(0x228)](_0x30f3a4)||[_0x858cd5(0x1b2),_0x858cd5(0x2ed),_0x858cd5(0x215),'DOUBLE',_0x858cd5(0x39a)][_0x858cd5(0x228)](_0x30f3a4)){if(_0x4b19a1==='$in')return[0x1,0x2,0x3];if(_0x4b19a1===_0x858cd5(0x163)||_0x4b19a1===_0x858cd5(0x3c5))return 0x0;if(_0x4b19a1===_0x858cd5(0x3c0)||_0x4b19a1===_0x858cd5(0x221))return 0x64;return 0x1;}if([_0x858cd5(0x3ab),_0x858cd5(0x139),_0x858cd5(0x2e9)][_0x858cd5(0x228)](_0x30f3a4)||[_0x858cd5(0x319),_0x858cd5(0x367)][_0x858cd5(0x228)](_0x30f3a4)){if(_0x4b19a1===_0x858cd5(0x125))return['value1',_0x858cd5(0x3c6)];if(_0x4b19a1===_0x858cd5(0x26a))return'keyword';if(_0x4b19a1==='$startWith')return _0x858cd5(0x33f);if(_0x4b19a1===_0x858cd5(0x24b))return _0x858cd5(0x1f2);return _0x858cd5(0x31e);}if(['DATE','DATETIME',_0x858cd5(0x110),_0x858cd5(0x2a8)][_0x858cd5(0x228)](_0x30f3a4)){if(_0x4b19a1===_0x858cd5(0x163)||_0x4b19a1===_0x858cd5(0x3c5))return'2024-01-01';if(_0x4b19a1==='$lte'||_0x4b19a1===_0x858cd5(0x221))return _0x858cd5(0x37a);return'2024-01-01';}if(['BOOLEAN','BOOL',_0x858cd5(0x2fb)][_0x858cd5(0x228)](_0x30f3a4))return!![];return _0x4b19a1===_0x858cd5(0x125)?['value1',_0x858cd5(0x3c6)]:'value';}[a0_0x4986fd(0x25f)](){const _0x8896d9=a0_0x4986fd,_0x14bf6d=super[_0x8896d9(0x12d)](),_0x969a44=Object[_0x8896d9(0x353)](_0x14bf6d)[_0x8896d9(0x276)](([_0x33e08d])=>_0x33e08d!==_0x8896d9(0x27f)&&_0x33e08d!=='pageSize')['map'](([_0x28407d,_0x273e7d])=>{const _0x251f0c=_0x8896d9,_0x11e884=_0x273e7d,_0x53ca7a={};return _0x53ca7a['name']=_0x28407d,_0x53ca7a[_0x251f0c(0x186)]=_0x11e884[_0x251f0c(0x186)]||'String',_0x53ca7a[_0x251f0c(0x19e)]=_0x11e884[_0x251f0c(0x19e)]||'-',_0x53ca7a[_0x251f0c(0x2f8)]=_0x11e884['required'],_0x53ca7a;}),_0x402d5f={};return _0x402d5f[_0x8896d9(0x19e)]=_0x8896d9(0x260),_0x402d5f[_0x8896d9(0x34d)]=_0x969a44,_0x402d5f;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x257075=a0_0x4986fd,_0x1dcec9=super[_0x257075(0x12d)]();if(Object[_0x257075(0x1b1)](_0x1dcec9)[_0x257075(0x338)]===0x0){const _0x598b5a={};this[_0x257075(0x12a)][_0x257075(0x26d)][_0x257075(0x31a)](_0x3c218a=>{const _0x26b576=_0x257075;if(_0x3c218a){const _0x44a00b=_0x3c218a[_0x26b576(0x3b7)],_0x15933b=_0x3c218a['getDbTypeForOperation'](),_0x4e9f28={};_0x4e9f28[_0x26b576(0x186)]=_0x15933b||_0x26b576(0x139),_0x4e9f28[_0x26b576(0x1d1)]=_0x3c218a['sortNum'],_0x4e9f28['description']=_0x3c218a[_0x26b576(0x19e)]||_0x3c218a['name'],_0x598b5a[_0x44a00b]=_0x4e9f28;}});const _0x5a3f9c={};_0x5a3f9c[_0x257075(0x186)]=_0x257075(0x357),_0x5a3f9c[_0x257075(0x19e)]=_0x257075(0x1ea),_0x598b5a['currentPage']=_0x5a3f9c;const _0x4fcace={};return _0x4fcace['type']=_0x257075(0x357),_0x4fcace['description']=_0x257075(0x1b9),_0x598b5a[_0x257075(0x1bc)]=_0x4fcace,_0x598b5a;}return _0x1dcec9;}[a0_0x4986fd(0x374)](){const _0xbf2f2a=a0_0x4986fd,_0x7d6ee5=super[_0xbf2f2a(0x374)]();if(Object[_0xbf2f2a(0x1b1)](_0x7d6ee5)[_0xbf2f2a(0x338)]===0x0){const _0x5ad994={};return _0x5ad994[_0xbf2f2a(0x27f)]=0x1,_0x5ad994[_0xbf2f2a(0x1bc)]=0x64,_0x5ad994;}const _0x9662c1={..._0x7d6ee5};return _0x9662c1['currentPage']=_0x7d6ee5[_0xbf2f2a(0x27f)]??0x1,_0x9662c1[_0xbf2f2a(0x1bc)]=_0x7d6ee5[_0xbf2f2a(0x1bc)]??0x64,_0x9662c1;}[a0_0x4986fd(0x1d2)](){const _0x4fe86=a0_0x4986fd,_0x52d154={};return _0x52d154[_0x4fe86(0x399)]=!![],_0x52d154[_0x4fe86(0x314)]='',_0x52d154[_0x4fe86(0x1db)]='',_0x52d154['errorCode']=_0x4fe86(0x1c2),_0x52d154[_0x4fe86(0x3b5)]=_0x4fe86(0x1dc),_0x52d154[_0x4fe86(0x34d)]=null,_0x52d154;}[a0_0x4986fd(0x137)](_0x3b7810,_0x18838f){const _0x2bf8e8=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x18838f||{},_0x475c5c=this[_0x2bf8e8(0x1dd)]();if(useFullExample){const _0xbae615=this[_0x2bf8e8(0x374)](),{currentPage:_0x2ffded,pageSize:_0x5a1f64,..._0x8e2535}=_0xbae615,_0x9f77cc=Object[_0x2bf8e8(0x1b1)](_0x8e2535)[_0x2bf8e8(0x338)]>0x0;if(_0x9f77cc){const _0x3f607b=_0x2e1a3e=>{const _0xdf3898=_0x2bf8e8;return JSON[_0xdf3898(0x122)](_0x2e1a3e,null,0x2)[_0xdf3898(0x398)]('\x0a')['map']((_0xf79bf9,_0x5e598c)=>_0x5e598c===0x0?_0xf79bf9:indent+_0xf79bf9)['join']('\x0a');};return _0x2bf8e8(0x2c6)+_0x3b7810+'.'+_0x475c5c+_0x2bf8e8(0x392)+_0x3b7810+'.'+_0x475c5c+'('+_0x3f607b(_0xbae615)+');';}else{const _0x72651b=_0xdf0c42=>{const _0x1f42cd=_0x2bf8e8;return JSON['stringify'](_0xdf0c42,null,0x2)[_0x1f42cd(0x398)]('\x0a')[_0x1f42cd(0x30d)]((_0x32ed7b,_0x399322)=>_0x399322===0x0?_0x32ed7b:indent+_0x32ed7b)[_0x1f42cd(0x348)]('\x0a');},_0xaeb687={};return _0xaeb687[_0x2bf8e8(0x27f)]=0x1,_0xaeb687[_0x2bf8e8(0x1bc)]=0x64,_0x2bf8e8(0x2c6)+_0x3b7810+'.'+_0x475c5c+_0x2bf8e8(0x109)+_0x3b7810+'.'+_0x475c5c+'('+_0x72651b(_0xaeb687)+');';}}return _0x2bf8e8(0x36d)+_0x3b7810+'.'+_0x475c5c+_0x2bf8e8(0x39d);}[a0_0x4986fd(0x235)](_0x2667b0){const _0x2c57dd=a0_0x4986fd,_0x75dc82=this[_0x2c57dd(0x1dd)](),_0x4bb5f1=_0x2667b0||_0x2c57dd(0x2e4),_0x5541d2=_0x2c57dd(0x1e6)+_0x4bb5f1+'.'+_0x75dc82+_0x2c57dd(0x1ee),_0x2fe595='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x4bb5f1+'.'+_0x75dc82+_0x2c57dd(0x179),_0x5ff24d={};return _0x5ff24d[_0x2c57dd(0x1c9)]=_0x5541d2,_0x5ff24d['errorCode']=_0x2fe595,_0x5ff24d;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x14a422=a0_0x4986fd;return this[_0x14a422(0x127)]();}[a0_0x4986fd(0x12d)](){const _0x1593bd=a0_0x4986fd,_0x51f29f=this[_0x1593bd(0x172)](),_0x489bdf={};_0x489bdf[_0x1593bd(0x186)]='NUMBER',_0x489bdf[_0x1593bd(0x19e)]=_0x1593bd(0x267),_0x489bdf[_0x1593bd(0x2f8)]=!![];const _0x112621={};_0x112621[_0x1593bd(0x186)]=_0x1593bd(0x236),_0x112621[_0x1593bd(0x19e)]=_0x1593bd(0x29f),_0x112621[_0x1593bd(0x2f8)]=!![],_0x112621[_0x1593bd(0x2ff)]=_0x51f29f;const _0x4241d5={};return _0x4241d5['id']=_0x489bdf,_0x4241d5['data']=_0x112621,_0x4241d5;}[a0_0x4986fd(0x28b)](){const _0x42c338=a0_0x4986fd;return this[_0x42c338(0x172)]();}[a0_0x4986fd(0x309)](){const _0x565c74=a0_0x4986fd,_0x5db358=this[_0x565c74(0x12a)][_0x565c74(0x26d)]||[],_0x422f15=this[_0x565c74(0x12a)][_0x565c74(0x1a1)],_0x368119=_0x5db358['find'](_0x217cde=>_0x217cde['isPrimaryKey']()||_0x217cde[_0x565c74(0x3b7)]===_0x422f15),_0x5bd023=_0x5db358[_0x565c74(0x276)](_0x3efb62=>{const _0x2abb57=_0x565c74;if(_0x3efb62[_0x2abb57(0x37d)])return![];if(_0x3efb62===_0x368119||_0x3efb62[_0x2abb57(0x2f6)]())return![];if(_0x3efb62[_0x2abb57(0x34c)]()||_0x3efb62[_0x2abb57(0x337)]())return![];if(_0x3efb62[_0x2abb57(0x2cf)]())return![];return!![];});return _0x368119?[_0x368119,..._0x5bd023]:_0x5bd023;}[a0_0x4986fd(0x1ab)](){const _0x14191d=a0_0x4986fd,_0x542ed6=this[_0x14191d(0x309)](),_0x5a0453=this[_0x14191d(0x12a)][_0x14191d(0x1a1)],_0x6412df=_0x542ed6[_0x14191d(0x30d)](_0x291d85=>{const _0x22cc55=_0x14191d,_0x7a6572=_0x291d85[_0x22cc55(0x2f6)]()||_0x291d85['code']===_0x5a0453,_0x4704b5=_0x7a6572?'id':_0x291d85[_0x22cc55(0x3b7)],_0x2467f9={};return _0x2467f9[_0x22cc55(0x30e)]=_0x4704b5,_0x2467f9[_0x22cc55(0x186)]=_0x291d85[_0x22cc55(0x186)],_0x2467f9['description']=_0x7a6572?_0x22cc55(0x2f7)+(_0x5a0453&&_0x5a0453!==_0x291d85[_0x22cc55(0x3b7)]?_0x22cc55(0x3be)+_0x291d85[_0x22cc55(0x3b7)]+')':''):_0x291d85[_0x22cc55(0x19e)]||_0x291d85[_0x22cc55(0x30e)],_0x2467f9;}),_0x2ffb5e={};return _0x2ffb5e[_0x14191d(0x19e)]=_0x14191d(0x355),_0x2ffb5e[_0x14191d(0x34d)]=_0x6412df,_0x2ffb5e;}[a0_0x4986fd(0x25f)](){const _0x2d95c1=a0_0x4986fd,_0x1a8e03=this[_0x2d95c1(0x172)](),_0x2c8ab5=Object[_0x2d95c1(0x353)](_0x1a8e03)[_0x2d95c1(0x30d)](([_0xec20b8,_0x451d6b])=>{const _0x560abb=_0x2d95c1,_0xc8c47a=_0x451d6b,_0x455044={};return _0x455044[_0x560abb(0x30e)]=_0xec20b8,_0x455044[_0x560abb(0x186)]=_0xc8c47a[_0x560abb(0x186)]||_0x560abb(0x1b3),_0x455044[_0x560abb(0x19e)]=_0xc8c47a['description']||'-',_0x455044;}),_0x14ddff={};return _0x14ddff['description']=_0x2d95c1(0x2f3)+_0x2d95c1(0x1c8)+_0x2d95c1(0x2c2)+_0x2d95c1(0x16f)+_0x2d95c1(0x17c)+_0x2d95c1(0x132),_0x14ddff[_0x2d95c1(0x34d)]=_0x2c8ab5,_0x14ddff;}[a0_0x4986fd(0x374)](){const _0x353397=a0_0x4986fd,_0x709a1f=this['getUpdateFields'](),_0x498585={};Object[_0x353397(0x353)](_0x709a1f)[_0x353397(0x31a)](([_0x529a79,_0x5ef5ac])=>{const _0x502207=_0x353397,_0x57aa81=_0x5ef5ac;let _0x5c29b4;if(typeof _0x57aa81[_0x502207(0x186)]===_0x502207(0x388))_0x5c29b4=_0x57aa81[_0x502207(0x186)];else _0x57aa81['type']&&typeof _0x57aa81[_0x502207(0x186)]===_0x502207(0x236)?_0x5c29b4=_0x57aa81[_0x502207(0x186)]['type']||_0x502207(0x139):_0x5c29b4=_0x502207(0x139);const _0xaddac=_0x57aa81['description'],_0x1893f9=this['getFieldDefinition'](_0x529a79);_0x498585[_0x529a79]=this[_0x502207(0x21c)](_0x529a79,_0x5c29b4,_0x1893f9?.[_0x502207(0x195)](),{'isPrimaryKey':![],'description':_0xaddac||_0x1893f9?.['description']||_0x1893f9?.[_0x502207(0x30e)]});});const _0x2df90b={};return _0x2df90b['id']=0x1,_0x2df90b[_0x353397(0x3b5)]=_0x498585,_0x2df90b;}[a0_0x4986fd(0x3b0)](){const _0x5ad91d=a0_0x4986fd,_0xb1f567=this[_0x5ad91d(0x374)](),_0x38f0b6={};return _0x38f0b6['title']=_0x5ad91d(0x1cc),_0x38f0b6[_0x5ad91d(0x19e)]=_0x5ad91d(0x15a)+_0x5ad91d(0x21d)+'-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段',_0x38f0b6[_0x5ad91d(0x3b5)]=_0xb1f567,[_0x38f0b6,{'title':_0x5ad91d(0x108),'description':_0x5ad91d(0x34a)+_0x5ad91d(0x1ef)+_0x5ad91d(0x2cc),'data':this[_0x5ad91d(0x286)]()}];}[a0_0x4986fd(0x286)](){const _0xade2b2=a0_0x4986fd,_0x5f1eb8=this[_0xade2b2(0x172)](),_0x1d1f46={};_0x1d1f46['id']=0x1;const _0x39b4e1=_0x1d1f46;return Object['entries'](_0x5f1eb8)[_0xade2b2(0x31a)](([_0x5e1215,_0x141089])=>{const _0x2d392d=_0xade2b2,_0x2b00e9=_0x141089;let _0x11ccea;if(typeof _0x2b00e9[_0x2d392d(0x186)]===_0x2d392d(0x388))_0x11ccea=_0x2b00e9[_0x2d392d(0x186)];else _0x2b00e9['type']&&typeof _0x2b00e9[_0x2d392d(0x186)]==='object'?_0x11ccea=_0x2b00e9[_0x2d392d(0x186)][_0x2d392d(0x186)]||_0x2d392d(0x139):_0x11ccea=_0x2d392d(0x139);const _0x5868b6=_0x2b00e9[_0x2d392d(0x19e)],_0x3ae214=this['getFieldDefinition'](_0x5e1215);if(_0x3ae214?.[_0x2d392d(0x2f6)]())return;_0x39b4e1[_0x5e1215]=this[_0x2d392d(0x21c)](_0x5e1215,_0x11ccea,_0x3ae214?.[_0x2d392d(0x195)](),{'isPrimaryKey':![],'description':_0x5868b6||_0x3ae214?.[_0x2d392d(0x19e)]||_0x3ae214?.[_0x2d392d(0x30e)]});}),_0x39b4e1;}[a0_0x4986fd(0x1f0)](){const _0x296d3f=a0_0x4986fd;return this[_0x296d3f(0x286)]();}[a0_0x4986fd(0x137)](_0x4a7ea9,_0x3557c9){const _0x4f5bea=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3557c9||{},_0x53b9b2=this[_0x4f5bea(0x1dd)]();if(useFullExample){const _0x5855b6=this[_0x4f5bea(0x374)](),_0x5210f6=JSON[_0x4f5bea(0x122)](_0x5855b6[_0x4f5bea(0x3b5)],null,0x2)[_0x4f5bea(0x398)]('\x0a')[_0x4f5bea(0x30d)]((_0x5ade64,_0x2eb662)=>_0x2eb662===0x0?_0x5ade64:indent+_0x5ade64)[_0x4f5bea(0x348)]('\x0a');return _0x4f5bea(0x380)+_0x4a7ea9+'.'+_0x53b9b2+'('+_0x5855b6['id']+',\x20'+_0x5210f6+');';}return _0x4f5bea(0x380)+_0x4a7ea9+'.'+_0x53b9b2+_0x4f5bea(0x166);}}class AggregateOperation extends GenericOperation{constructor(_0x437224,_0x3ba89e,_0x3e4997){super(_0x437224,_0x3ba89e,_0x3e4997);}[a0_0x4986fd(0x336)](_0x4c7313){const _0xc5039=a0_0x4986fd;return _0x4c7313[_0xc5039(0x15c)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0xc5039(0x356)]()[_0xc5039(0x39b)]();}[a0_0x4986fd(0x214)](){return AGGREGATE_FUNCTIONS;}[a0_0x4986fd(0x12d)](){const _0x257ef6=a0_0x4986fd,_0x3faebe=super[_0x257ef6(0x12d)](),_0x5d57ff={};_0x5d57ff[_0x257ef6(0x186)]='String[]',_0x5d57ff[_0x257ef6(0x19e)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)',_0x5d57ff[_0x257ef6(0x2f8)]=![];const _0x115274={};_0x115274[_0x257ef6(0x186)]='Object',_0x115274[_0x257ef6(0x19e)]=_0x257ef6(0x22b),_0x115274[_0x257ef6(0x2f8)]=![];const _0x56745b={};_0x56745b[_0x257ef6(0x186)]=_0x257ef6(0x361),_0x56745b[_0x257ef6(0x19e)]=_0x257ef6(0x342),_0x56745b[_0x257ef6(0x2f8)]=![];const _0x51bfa6={};_0x51bfa6[_0x257ef6(0x186)]=_0x257ef6(0x136),_0x51bfa6['description']=_0x257ef6(0x264),_0x51bfa6[_0x257ef6(0x2f8)]=![];const _0x324fb7={};_0x324fb7[_0x257ef6(0x186)]='Array',_0x324fb7['description']=_0x257ef6(0x144),_0x324fb7[_0x257ef6(0x2f8)]=![];const _0x11c161={};_0x11c161[_0x257ef6(0x186)]='Array',_0x11c161[_0x257ef6(0x19e)]=_0x257ef6(0x11d),_0x11c161['required']=![];const _0x2aaf99={};_0x2aaf99[_0x257ef6(0x186)]=_0x257ef6(0x25b),_0x2aaf99[_0x257ef6(0x19e)]=_0x257ef6(0x31d),_0x2aaf99['required']=![];const _0x127d46={};_0x127d46[_0x257ef6(0x186)]=_0x257ef6(0x25b),_0x127d46[_0x257ef6(0x19e)]=_0x257ef6(0x204),_0x127d46['required']=![];const _0x530603={..._0x3faebe};return _0x530603[_0x257ef6(0x16b)]=_0x5d57ff,_0x530603[_0x257ef6(0x1e7)]=_0x115274,_0x530603[_0x257ef6(0x275)]=_0x56745b,_0x530603[_0x257ef6(0x10a)]=_0x51bfa6,_0x530603[_0x257ef6(0x200)]=_0x324fb7,_0x530603[_0x257ef6(0x37c)]=_0x11c161,_0x530603['currentPage']=_0x2aaf99,_0x530603[_0x257ef6(0x1bc)]=_0x127d46,_0x530603;}[a0_0x4986fd(0x165)](){const _0x2e467d=a0_0x4986fd,_0x117520={};_0x117520['code']=_0x2e467d(0x16b),_0x117520[_0x2e467d(0x186)]='String[]',_0x117520[_0x2e467d(0x19e)]=_0x2e467d(0x1ad);const _0x544a50={};_0x544a50[_0x2e467d(0x3b7)]=_0x2e467d(0x1e7),_0x544a50['type']=_0x2e467d(0x37e),_0x544a50['description']=_0x2e467d(0x22b);const _0x310f65={};_0x310f65[_0x2e467d(0x3b7)]='groupBy',_0x310f65[_0x2e467d(0x186)]='String[]',_0x310f65[_0x2e467d(0x19e)]=_0x2e467d(0x342);const _0x53875e={};_0x53875e[_0x2e467d(0x3b7)]=_0x2e467d(0x10a),_0x53875e[_0x2e467d(0x186)]=_0x2e467d(0x136),_0x53875e[_0x2e467d(0x19e)]=_0x2e467d(0x1ed);const _0x56104d={};_0x56104d[_0x2e467d(0x3b7)]=_0x2e467d(0x200),_0x56104d['type']=_0x2e467d(0x136),_0x56104d['description']='分组后的过滤条件(对聚合结果进行过滤)';const _0x5bf415={};_0x5bf415['code']=_0x2e467d(0x37c),_0x5bf415[_0x2e467d(0x186)]='Array',_0x5bf415[_0x2e467d(0x19e)]=_0x2e467d(0x11d);const _0x507308={};_0x507308[_0x2e467d(0x3b7)]='currentPage',_0x507308['type']=_0x2e467d(0x25b),_0x507308[_0x2e467d(0x19e)]=_0x2e467d(0x31d);const _0x2d4acd={};return _0x2d4acd[_0x2e467d(0x3b7)]=_0x2e467d(0x1bc),_0x2d4acd[_0x2e467d(0x186)]=_0x2e467d(0x25b),_0x2d4acd['description']=_0x2e467d(0x204),[_0x117520,_0x544a50,_0x310f65,_0x53875e,_0x56104d,_0x5bf415,_0x507308,_0x2d4acd];}[a0_0x4986fd(0x374)](){const _0x336254=a0_0x4986fd,_0x4a6983=this[_0x336254(0x12a)][_0x336254(0x26d)]||[];if(_0x4a6983[_0x336254(0x338)]===0x0){const _0x180b05={};return _0x180b05[_0x336254(0x1e7)]={},_0x180b05[_0x336254(0x275)]=[],_0x180b05[_0x336254(0x10a)]=[],_0x180b05;}const _0x8a5519={},_0x5b648d=_0x4a6983[_0x336254(0x14d)](0x0,Math[_0x336254(0x3c3)](0x3,_0x4a6983[_0x336254(0x338)]));_0x5b648d[_0x336254(0x31a)](_0x3b35aa=>{const _0x36e79b=_0x336254,_0x593a50=this[_0x36e79b(0x254)](_0x3b35aa);if(_0x593a50['length']===0x0)return;const _0x3b5842=this['selectBestOperator'](_0x3b35aa,_0x593a50),_0x5d81c9=this['generateExampleValue'](_0x3b35aa,_0x3b5842),_0x2d01d4={};_0x2d01d4[_0x3b5842]=_0x5d81c9,_0x8a5519[_0x3b35aa['code']]=_0x2d01d4;});const _0x172c94=_0x4a6983['slice'](0x0,Math[_0x336254(0x3c3)](0x2,_0x4a6983['length']))[_0x336254(0x30d)](_0x58134c=>_0x58134c[_0x336254(0x3b7)]),_0x27ea88=[],_0xb92ea7=_0x4a6983[_0x336254(0x276)](_0xd0be3=>this[_0x336254(0x3af)](_0xd0be3));if(_0xb92ea7[_0x336254(0x338)]>0x0){const _0x13d081=_0xb92ea7[0x0],_0x9dc65a=_0x13d081[_0x336254(0x3b7)],_0x1dd956={};_0x1dd956[_0x336254(0x186)]='sum',_0x1dd956[_0x336254(0x18d)]=_0x9dc65a,_0x1dd956[_0x336254(0x28e)]=_0x9dc65a+_0x336254(0x233),_0x1dd956[_0x336254(0x38e)]=![],_0x1dd956['round']=!![],_0x1dd956['precision']=0x2,_0x27ea88[_0x336254(0x279)](_0x1dd956);const _0x2ca1a1={};_0x2ca1a1[_0x336254(0x186)]=_0x336254(0x37b),_0x2ca1a1[_0x336254(0x18d)]=_0x9dc65a,_0x2ca1a1[_0x336254(0x28e)]=_0x9dc65a+_0x336254(0x23c),_0x2ca1a1[_0x336254(0x38e)]=![],_0x2ca1a1['round']=!![],_0x2ca1a1['precision']=0x2,_0x27ea88['push'](_0x2ca1a1);const _0x4b6889={};_0x4b6889[_0x336254(0x186)]='max',_0x4b6889[_0x336254(0x18d)]=_0x9dc65a,_0x4b6889[_0x336254(0x28e)]=_0x9dc65a+_0x336254(0x24d),_0x4b6889[_0x336254(0x38e)]=![],_0x4b6889['round']=!![],_0x4b6889[_0x336254(0x1f5)]=0x2,_0x27ea88[_0x336254(0x279)](_0x4b6889);const _0x5d448f={};_0x5d448f[_0x336254(0x186)]=_0x336254(0x3c3),_0x5d448f[_0x336254(0x18d)]=_0x9dc65a,_0x5d448f[_0x336254(0x28e)]=_0x9dc65a+'_min',_0x5d448f[_0x336254(0x38e)]=![],_0x5d448f[_0x336254(0x2b5)]=!![],_0x5d448f['precision']=0x2,_0x27ea88[_0x336254(0x279)](_0x5d448f);}else{if(_0x4a6983['length']>0x0){const _0x1532f9=_0x4a6983[0x0],_0x2e4bac=_0x1532f9[_0x336254(0x3b7)],_0x334cff={};_0x334cff[_0x336254(0x186)]=_0x336254(0x202),_0x334cff[_0x336254(0x18d)]=_0x2e4bac,_0x334cff['alias']=_0x336254(0x2d6),_0x334cff['distinct']=!![],_0x27ea88[_0x336254(0x279)](_0x334cff);}}const _0x17f2fd=[];if(_0x4a6983['length']>0x0){const _0x2994f1=_0x4a6983[0x0][_0x336254(0x3b7)],_0x543c0d={};_0x543c0d[_0x2994f1]='desc',_0x17f2fd[_0x336254(0x279)](_0x543c0d);}const _0x27a0e0=[..._0x172c94,..._0x27ea88[_0x336254(0x30d)](_0x2e431c=>_0x2e431c[_0x336254(0x28e)])],_0x1d8b6e=[];if(_0x27ea88[_0x336254(0x338)]>0x0){const _0x4b47dc={};_0x4b47dc[_0x336254(0x163)]=0x0;const _0x2d39ae={};_0x2d39ae[_0x336254(0x167)]=_0x27ea88[0x0][_0x336254(0x28e)],_0x2d39ae[_0x336254(0x330)]=_0x4b47dc,_0x1d8b6e['push'](_0x2d39ae);}const _0x3af158={};return _0x3af158[_0x336254(0x16b)]=_0x27a0e0,_0x3af158['where']=_0x8a5519,_0x3af158[_0x336254(0x275)]=_0x172c94,_0x3af158['aggregate']=_0x27ea88,_0x3af158[_0x336254(0x200)]=_0x1d8b6e[_0x336254(0x338)]>0x0?_0x1d8b6e:undefined,_0x3af158[_0x336254(0x37c)]=_0x17f2fd,_0x3af158['currentPage']=0x1,_0x3af158[_0x336254(0x1bc)]=0x14,_0x3af158;}[a0_0x4986fd(0x137)](_0x5a4de5,_0x3812d3){const _0x10c73e=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3812d3||{},_0x688ac=this[_0x10c73e(0x1dd)](),_0x56b77f=this[_0x10c73e(0x374)](),_0x127204=_0x127bd5=>{const _0x28b9c2=_0x10c73e;return JSON[_0x28b9c2(0x122)](_0x127bd5,null,0x2)['split']('\x0a')['map']((_0x419120,_0x3bb2c2)=>_0x3bb2c2===0x0?_0x419120:indent+_0x419120)['join']('\x0a');};if(useFullExample){const _0x1f6849=this[_0x10c73e(0x12a)][_0x10c73e(0x26d)]||[],_0x5c8a6d=_0x1f6849[_0x10c73e(0x276)](_0x1a58ec=>this['isNumericField'](_0x1a58ec)),_0x550520={'where':_0x1f6849[0x0]?{[_0x1f6849[0x0][_0x10c73e(0x3b7)]]:{'$eq':this[_0x10c73e(0x3b4)](_0x1f6849[0x0],'$eq')}}:{},'aggregate':_0x5c8a6d[_0x10c73e(0x338)]>0x0?[{'type':'sum','column':_0x5c8a6d[0x0][_0x10c73e(0x3b7)],'alias':_0x5c8a6d[0x0][_0x10c73e(0x3b7)]+_0x10c73e(0x233),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x10c73e(0x202),'column':_0x1f6849[0x0]['code'],'alias':_0x10c73e(0x2d6),'distinct':!![]}],'orderBy':[{[_0x1f6849[0x0]['code']]:_0x10c73e(0x352)}]};let _0x58a656='';return _0x1f6849[_0x10c73e(0x338)]>=0x3&&(_0x58a656=_0x10c73e(0x17f)+_0x5a4de5+'.'+_0x688ac+'('+_0x127204(_0x56b77f)+');'),_0x10c73e(0x170)+_0x5a4de5+'.'+_0x688ac+'('+_0x127204(_0x550520)+');'+_0x58a656;}const _0x58511e=JSON[_0x10c73e(0x122)](_0x56b77f,null,0x2)['split']('\x0a')[_0x10c73e(0x30d)]((_0x36a038,_0x3bad04)=>_0x3bad04===0x0?_0x36a038:indent+_0x36a038)[_0x10c73e(0x348)]('\x0a');return _0x10c73e(0x380)+_0x5a4de5+'.'+_0x688ac+'('+_0x58511e+');';}[a0_0x4986fd(0x3af)](_0xcffff8){const _0x329866=a0_0x4986fd,_0x4e509e=_0xcffff8['getDbTypeForOperation']();return[_0x329866(0x1f9),_0x329866(0x304),'BIGINT',_0x329866(0x19a)][_0x329866(0x228)](_0x4e509e)||[_0x329866(0x1b2),'TINYINT',_0x329866(0x215),_0x329866(0x334),_0x329866(0x39a)]['includes'](_0x4e509e);}['getApplicableOperators'](_0x318dde){const _0x5237db=a0_0x4986fd,_0x320b2e=_0x318dde['getDbTypeForOperation'](),_0x663a93=[];if(['NUMBER',_0x5237db(0x304),_0x5237db(0x38c),_0x5237db(0x19a)]['includes'](_0x320b2e)||['INT',_0x5237db(0x2ed),_0x5237db(0x215),_0x5237db(0x334),_0x5237db(0x39a)][_0x5237db(0x228)](_0x320b2e))_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382),_0x5237db(0x163),_0x5237db(0x3c0),_0x5237db(0x3c5),_0x5237db(0x221),_0x5237db(0x125));else{if([_0x5237db(0x3ab),_0x5237db(0x139),_0x5237db(0x2e9)]['includes'](_0x320b2e)||['CHAR',_0x5237db(0x367)][_0x5237db(0x228)](_0x320b2e))_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382),_0x5237db(0x125),'$contain','$startWith',_0x5237db(0x24b));else{if(['DATE',_0x5237db(0x3ac),_0x5237db(0x110)][_0x5237db(0x228)](_0x320b2e)||[_0x5237db(0x2a8)][_0x5237db(0x228)](_0x320b2e))_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382),'$gte',_0x5237db(0x3c0),_0x5237db(0x3c5),_0x5237db(0x221));else[_0x5237db(0x30f),_0x5237db(0x1d4),_0x5237db(0x2fb)][_0x5237db(0x228)](_0x320b2e)?_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382)):_0x663a93[_0x5237db(0x279)]('$eq',_0x5237db(0x382));}}return _0x663a93;}[a0_0x4986fd(0x3b3)](_0x54061c,_0x305b39){const _0x24b8a5=a0_0x4986fd,_0x31b0a6=_0x54061c['getDbTypeForOperation']();if([_0x24b8a5(0x1f9),_0x24b8a5(0x304),_0x24b8a5(0x38c),_0x24b8a5(0x19a)]['includes'](_0x31b0a6)||['INT',_0x24b8a5(0x2ed),_0x24b8a5(0x215),_0x24b8a5(0x334),_0x24b8a5(0x39a)]['includes'](_0x31b0a6))return _0x305b39['includes'](_0x24b8a5(0x163))?_0x24b8a5(0x163):_0x24b8a5(0x33d);if([_0x24b8a5(0x3ab),_0x24b8a5(0x139),_0x24b8a5(0x2e9)]['includes'](_0x31b0a6)||[_0x24b8a5(0x319),_0x24b8a5(0x367)][_0x24b8a5(0x228)](_0x31b0a6))return _0x305b39['includes'](_0x24b8a5(0x26a))?_0x24b8a5(0x26a):_0x24b8a5(0x33d);if([_0x24b8a5(0x32d),_0x24b8a5(0x3ac),'TIMESTAMP',_0x24b8a5(0x2a8)][_0x24b8a5(0x228)](_0x31b0a6))return _0x305b39[_0x24b8a5(0x228)](_0x24b8a5(0x163))?_0x24b8a5(0x163):_0x24b8a5(0x33d);return _0x24b8a5(0x33d);}['generateExampleValue'](_0x2e2652,_0x1bf465){const _0x5de230=a0_0x4986fd,_0x5dcd77=_0x2e2652['getDbTypeForOperation'](),_0x6916bf=_0x2e2652[_0x5de230(0x2a5)]();if(_0x6916bf&&_0x6916bf['length']>0x0){if(_0x1bf465===_0x5de230(0x125))return _0x6916bf[_0x5de230(0x14d)](0x0,0x2)[_0x5de230(0x30d)](_0x1df165=>_0x1df165[_0x5de230(0x31e)]);return _0x6916bf[0x0][_0x5de230(0x31e)];}if([_0x5de230(0x1f9),_0x5de230(0x304),_0x5de230(0x38c),_0x5de230(0x19a)]['includes'](_0x5dcd77)||[_0x5de230(0x1b2),'TINYINT',_0x5de230(0x215),_0x5de230(0x334),'FLOAT'][_0x5de230(0x228)](_0x5dcd77)){if(_0x1bf465===_0x5de230(0x125))return[0x1,0x2,0x3];if(_0x1bf465===_0x5de230(0x163)||_0x1bf465===_0x5de230(0x3c5))return 0x0;if(_0x1bf465===_0x5de230(0x3c0)||_0x1bf465===_0x5de230(0x221))return 0x64;return 0x1;}if([_0x5de230(0x3ab),_0x5de230(0x139),'VARCHAR']['includes'](_0x5dcd77)||[_0x5de230(0x319),_0x5de230(0x367)][_0x5de230(0x228)](_0x5dcd77)){if(_0x1bf465===_0x5de230(0x125))return[_0x5de230(0x1da),_0x5de230(0x3c6)];if(_0x1bf465===_0x5de230(0x26a))return _0x5de230(0x2e3);if(_0x1bf465==='$startWith')return _0x5de230(0x33f);if(_0x1bf465===_0x5de230(0x24b))return _0x5de230(0x1f2);return _0x5de230(0x31e);}if([_0x5de230(0x32d),_0x5de230(0x3ac),_0x5de230(0x110),_0x5de230(0x2a8)][_0x5de230(0x228)](_0x5dcd77)){if(_0x1bf465===_0x5de230(0x163)||_0x1bf465===_0x5de230(0x3c5))return _0x5de230(0x25c);if(_0x1bf465===_0x5de230(0x3c0)||_0x1bf465===_0x5de230(0x221))return _0x5de230(0x37a);return _0x5de230(0x25c);}if([_0x5de230(0x30f),_0x5de230(0x1d4),_0x5de230(0x2fb)][_0x5de230(0x228)](_0x5dcd77))return!![];return _0x1bf465==='$in'?['value1','value2']:_0x5de230(0x31e);}[a0_0x4986fd(0x25f)](){const _0x2254cb=a0_0x4986fd,_0x30db01=this['getRequestParams'](),_0x2a07ec=Object[_0x2254cb(0x353)](_0x30db01)[_0x2254cb(0x276)](([_0x5bae93])=>_0x5bae93!==_0x2254cb(0x27f)&&_0x5bae93!==_0x2254cb(0x1bc))[_0x2254cb(0x30d)](([_0x4f464f,_0x2642df])=>{const _0x1b873f=_0x2254cb,_0x4a8d8b=_0x2642df,_0x27da48={};return _0x27da48[_0x1b873f(0x30e)]=_0x4f464f,_0x27da48[_0x1b873f(0x186)]=_0x4a8d8b[_0x1b873f(0x186)]||_0x1b873f(0x1b3),_0x27da48[_0x1b873f(0x19e)]=_0x4a8d8b[_0x1b873f(0x19e)]||'-',_0x27da48['required']=_0x4a8d8b[_0x1b873f(0x2f8)],_0x27da48;}),_0x23ff2c={};return _0x23ff2c[_0x2254cb(0x19e)]=_0x2254cb(0x31b),_0x23ff2c[_0x2254cb(0x34d)]=_0x2a07ec,_0x23ff2c;}[a0_0x4986fd(0x1d2)](){const _0xd22833=a0_0x4986fd,_0x313cbe=this[_0xd22833(0x374)]()[_0xd22833(0x10a)],_0x11a7fb=[{}],_0x2eec4b=[];_0x313cbe?.[_0xd22833(0x31a)](_0x3a0bcd=>{const _0x6b5037=_0xd22833,_0xcaf57d={};_0xcaf57d[_0x6b5037(0x22e)]=_0x3a0bcd[_0x6b5037(0x28e)],_0xcaf57d[_0x6b5037(0x1e9)]=_0x3a0bcd[_0x6b5037(0x28e)],_0x2eec4b[_0x6b5037(0x279)](_0xcaf57d),_0x11a7fb[0x0][_0x3a0bcd[_0x6b5037(0x28e)]]=_0x3a0bcd['type']==='count'?0x64:Math[_0x6b5037(0x2b5)](Math[_0x6b5037(0x203)]()*0x64*0x64)/0x64;});const _0x32bdb9={};_0x32bdb9[_0xd22833(0x1bc)]=0x1,_0x32bdb9['totalCount']=0x64,_0x32bdb9[_0xd22833(0x27f)]=0x1;const _0xf74a93={};_0xf74a93['paging']=_0x32bdb9,_0xf74a93[_0xd22833(0x148)]=_0x11a7fb,_0xf74a93[_0xd22833(0x397)]=_0x2eec4b;const _0x409ecc={};return _0x409ecc[_0xd22833(0x399)]=!![],_0x409ecc['msg']='',_0x409ecc[_0xd22833(0x1db)]='',_0x409ecc[_0xd22833(0x2e5)]=_0xd22833(0x1c2),_0x409ecc[_0xd22833(0x3b5)]=_0xf74a93,_0x409ecc[_0xd22833(0x34d)]=null,_0x409ecc;}}class OperationFactory{['create'](_0x1bb368,_0x161fe3,_0x1d803f){const _0x5ae6e7=a0_0x4986fd;switch(_0x1bb368){case _0x5ae6e7(0x224):return new GetSelectOptionsOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x208):return new GetListOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x276):return new FilterOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x381):return new ExcelExportOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x1c5):return new UpdateOperation(_0x1bb368,_0x161fe3,_0x1d803f);case'aggregate':return new AggregateOperation(_0x1bb368,_0x161fe3,_0x1d803f);default:return new GenericOperation(_0x1bb368,_0x161fe3,_0x1d803f);}}[a0_0x4986fd(0x26f)](_0x3e402f,_0x12862a){const _0x1e2a21=a0_0x4986fd,_0x4db50f=new Map();return Object['entries'](_0x3e402f)[_0x1e2a21(0x31a)](([_0x437bfe,_0x259c2f])=>{const _0x57d605=_0x1e2a21;_0x4db50f[_0x57d605(0x2d7)](_0x437bfe,this['create'](_0x437bfe,_0x259c2f,_0x12862a));}),_0x4db50f;}}class OperationList{['_operations'];constructor(_0x16cab0,_0x5a703b){const _0x5e0dfd=a0_0x4986fd,_0x39a041=new OperationFactory();this[_0x5e0dfd(0x280)]=_0x39a041['createAll'](_0x16cab0,_0x5a703b);}[a0_0x4986fd(0x161)](_0x47e703){const _0x101035=a0_0x4986fd;return this[_0x101035(0x280)][_0x101035(0x161)](_0x47e703);}[a0_0x4986fd(0x27a)](_0x4c65e5){const _0x173baf=a0_0x4986fd;return this[_0x173baf(0x280)]['has'](_0x4c65e5);}[a0_0x4986fd(0x38d)](){const _0x4031a8=a0_0x4986fd;return this[_0x4031a8(0x280)][_0x4031a8(0x38d)];}[a0_0x4986fd(0x1c3)](){const _0x880942=a0_0x4986fd;return Array[_0x880942(0x1df)](this[_0x880942(0x280)][_0x880942(0x1b1)]());}[a0_0x4986fd(0x23f)](){const _0x532a1f=a0_0x4986fd,_0x5dbb86=Array[_0x532a1f(0x1df)](this[_0x532a1f(0x280)][_0x532a1f(0x2d4)]());return this[_0x532a1f(0x185)](_0x5dbb86);}[a0_0x4986fd(0x117)](){const _0x21f61d=a0_0x4986fd;return this[_0x21f61d(0x23f)]()[_0x21f61d(0x276)](_0x5b70af=>_0x5b70af[_0x21f61d(0x282)]());}[a0_0x4986fd(0x1d0)](){const _0x46b92d=a0_0x4986fd;return this[_0x46b92d(0x23f)]()[_0x46b92d(0x276)](_0x1c04ab=>!_0x1c04ab[_0x46b92d(0x282)]());}[a0_0x4986fd(0x180)](){const _0x3e2c78=a0_0x4986fd;return this[_0x3e2c78(0x117)]()['map'](_0xa110a1=>_0xa110a1[_0x3e2c78(0x1dd)]());}['getDisabledNames'](){const _0x107285=a0_0x4986fd;return this[_0x107285(0x1d0)]()['map'](_0x23db5e=>_0x23db5e[_0x107285(0x1dd)]());}[a0_0x4986fd(0x2c0)](_0x56224a){const _0x54842e=a0_0x4986fd;return this['toArray']()[_0x54842e(0x276)](_0x31742d=>_0x31742d[_0x54842e(0x252)]()===_0x56224a);}[a0_0x4986fd(0x276)](_0x3d7ff8){const _0x4d0286=a0_0x4986fd;return this[_0x4d0286(0x23f)]()[_0x4d0286(0x276)](_0x3d7ff8);}[a0_0x4986fd(0x259)](_0x32850f={}){const _0x4eb9d5=a0_0x4986fd;let _0x1f9fe5=this['toArray']();!_0x32850f['includeDisabled']&&(_0x1f9fe5=_0x1f9fe5[_0x4eb9d5(0x276)](_0x51256c=>_0x51256c[_0x4eb9d5(0x282)]()));if(_0x32850f[_0x4eb9d5(0x27b)]!==![]){const _0x672266=_0x1f9fe5['map'](_0x52d10c=>({'name':_0x52d10c[_0x4eb9d5(0x1dd)](),'operation':_0x52d10c})),_0x50fe99=filterApiOperations(_0x672266);_0x1f9fe5=_0x50fe99[_0x4eb9d5(0x30d)](_0x3fc383=>_0x3fc383[_0x4eb9d5(0x17e)]),_0x1f9fe5=this[_0x4eb9d5(0x185)](_0x1f9fe5);}return _0x32850f[_0x4eb9d5(0x3b6)]&&(_0x1f9fe5=_0x1f9fe5[_0x4eb9d5(0x276)](_0x32850f['customFilter'])),_0x1f9fe5;}[a0_0x4986fd(0x185)](_0x3bf815){const _0x2a3584=a0_0x4986fd,_0x29d3d4=_0x3bf815[_0x2a3584(0x2b4)](_0x28b4c2=>_0x28b4c2['getName']()===_0x2a3584(0x276)),_0x51ae5e=_0x3bf815[_0x2a3584(0x276)](_0x216cf2=>_0x216cf2[_0x2a3584(0x1dd)]()!=='filter');return _0x29d3d4?[_0x29d3d4,..._0x51ae5e]:_0x51ae5e;}[a0_0x4986fd(0x151)](){const _0x39797f=a0_0x4986fd,_0x2664e7=this[_0x39797f(0x117)]();return{'total':this['size'](),'enabled':_0x2664e7[_0x39797f(0x338)],'disabled':this['size']()-_0x2664e7[_0x39797f(0x338)],'byType':this[_0x39797f(0x306)](_0x2664e7),'byMethod':this[_0x39797f(0x29e)](_0x2664e7)};}[a0_0x4986fd(0x306)](_0x11ba56){const _0x2637df={};return _0x11ba56['forEach'](_0x2c120e=>{const _0x41044d=_0x2c120e['getType']();_0x41044d&&(_0x2637df[_0x41044d]=(_0x2637df[_0x41044d]||0x0)+0x1);}),_0x2637df;}[a0_0x4986fd(0x29e)](_0x392e46){const _0x3d6b22={};return _0x392e46['forEach'](_0x23bcc8=>{const _0x1847d9=a0_0x5c95,_0x4ed774=_0x23bcc8[_0x1847d9(0x12b)]();_0x4ed774&&(_0x3d6b22[_0x4ed774]=(_0x3d6b22[_0x4ed774]||0x0)+0x1);}),_0x3d6b22;}[Symbol[a0_0x4986fd(0x263)]](){const _0x207ba4=a0_0x4986fd;return this[_0x207ba4(0x280)][_0x207ba4(0x2d4)]();}['toString'](){const _0x5da13d=a0_0x4986fd,_0x7eb7d3=this[_0x5da13d(0x151)]();return _0x5da13d(0x292)+_0x7eb7d3[_0x5da13d(0x1ac)]+'/'+_0x7eb7d3[_0x5da13d(0x238)]+_0x5da13d(0x201);}}class DBConfig{[a0_0x4986fd(0x245)];[a0_0x4986fd(0x349)];[a0_0x4986fd(0x2a9)];[a0_0x4986fd(0x227)];[a0_0x4986fd(0x360)];[a0_0x4986fd(0x1ca)];[a0_0x4986fd(0x3ba)];[a0_0x4986fd(0x1a1)];['tenantCode'];[a0_0x4986fd(0x30c)];constructor(_0xb2c617,_0x1e0d58){const _0x2d1597=a0_0x4986fd;this[_0x2d1597(0x245)]=_0x1e0d58,this[_0x2d1597(0x349)]=_0xb2c617[_0x2d1597(0x349)],this[_0x2d1597(0x2a9)]=_0xb2c617[_0x2d1597(0x2a9)],this[_0x2d1597(0x227)]=_0xb2c617[_0x2d1597(0x227)],this[_0x2d1597(0x360)]=_0xb2c617[_0x2d1597(0x360)],this[_0x2d1597(0x1ca)]=_0xb2c617[_0x2d1597(0x1ca)],this[_0x2d1597(0x3ba)]=_0xb2c617[_0x2d1597(0x3ba)],this[_0x2d1597(0x1a1)]=_0xb2c617[_0x2d1597(0x1a1)],this[_0x2d1597(0x10b)]=_0xb2c617[_0x2d1597(0x10b)],this[_0x2d1597(0x30c)]=_0xb2c617[_0x2d1597(0x30c)];}[a0_0x4986fd(0x230)](){const _0x126dc1=a0_0x4986fd;return this[_0x126dc1(0x245)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x4986fd(0x33a)];[a0_0x4986fd(0x2ab)];[a0_0x4986fd(0x1be)];constructor(_0x3467ee){const _0x3a9bb8=a0_0x4986fd,_0x576c9c={..._0x3467ee};_0x576c9c['id']=_0x3467ee['modelId']||_0x3467ee['id'],_0x576c9c[_0x3a9bb8(0x2e2)]=_0x3467ee['modelCode']||_0x3467ee[_0x3a9bb8(0x2e2)]||_0x3467ee[_0x3a9bb8(0x3b7)],super(_0x576c9c);}[a0_0x4986fd(0x105)](){return;}[a0_0x4986fd(0x269)](){return[];}[a0_0x4986fd(0x11c)](){return[];}get[a0_0x4986fd(0x2f4)](){const _0x2f7640=a0_0x4986fd;return this[_0x2f7640(0x14f)]();}['getFieldList'](){if(!this['_fieldList'])throw new Error('getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass');return this['_fieldList'];}[a0_0x4986fd(0x297)](){const _0x592b08=a0_0x4986fd;if(!this['_fieldListWithDeleted'])throw new Error(_0x592b08(0x23d));return this['_fieldListWithDeleted'];}[a0_0x4986fd(0x1af)](){return[];}[a0_0x4986fd(0x2b9)](){const _0x551610=a0_0x4986fd,_0x2bf3a6=this[_0x551610(0x274)]();return _0x2bf3a6[_0x551610(0x26d)];}[a0_0x4986fd(0x173)](){const _0x9c542a=a0_0x4986fd;return this[_0x9c542a(0x1af)]()['length'];}[a0_0x4986fd(0x1b0)](_0x480150){const _0x3c2a2b=a0_0x4986fd,_0x1fbc4b=this[_0x3c2a2b(0x176)](_0x480150);return _0x1fbc4b?_0x1fbc4b[_0x3c2a2b(0x245)]:undefined;}[a0_0x4986fd(0x2bf)](_0x1e12e8){return;}[a0_0x4986fd(0x246)](_0x4ec054){const _0x3e794c=a0_0x4986fd;if(!_0x4ec054||typeof _0x4ec054!=='object')return!![]&&console[_0x3e794c(0x27e)]('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0x4ec054),{};if(_0x3e794c(0x1a1)in _0x4ec054){const _0x5c3efc=_0x4ec054;return{'primaryKey':typeof _0x5c3efc['pkField']===_0x3e794c(0x229)?_0x5c3efc[_0x3e794c(0x1a1)]:Boolean(_0x5c3efc['pkField']),'required':_0x5c3efc[_0x3e794c(0x2f8)],'systemRetain':Boolean(_0x5c3efc['systemRetain']),'autoIncrement':_0x5c3efc[_0x3e794c(0x1b5)]??undefined};}if(!('extend'in _0x4ec054)||!_0x4ec054[_0x3e794c(0x142)])return{};try{const _0x4935f8=typeof _0x4ec054['extend']==='string'?JSON[_0x3e794c(0x2a3)](_0x4ec054[_0x3e794c(0x142)]):_0x4ec054[_0x3e794c(0x142)];if(typeof _0x4935f8!==_0x3e794c(0x236)||_0x4935f8===null)return{};return _0x4935f8;}catch{return{};}}[a0_0x4986fd(0x158)](){const _0x211aee=a0_0x4986fd;if(!this[_0x211aee(0x33a)]){const _0x46dc9b=this[_0x211aee(0x311)](this['getOperationsData']()||{});this[_0x211aee(0x33a)]=new OperationList(_0x46dc9b,{'fields':this[_0x211aee(0x303)]()[_0x211aee(0x2af)](),'pkField':this['_raw'][_0x211aee(0x128)]?.[_0x211aee(0x1a1)],'dbtableConfig':this['_raw'][_0x211aee(0x128)]||null});}return this['_operationList'];}[a0_0x4986fd(0x311)](_0x297016){const _0x4ec277=a0_0x4986fd;if(_0x297016['filter']!==undefined)return _0x297016;return{..._0x297016,'filter':this[_0x4ec277(0x347)]()};}[a0_0x4986fd(0x347)](){const _0x503a08=a0_0x4986fd,_0x389390=this[_0x503a08(0x2c3)]()?.[_0x503a08(0x208)];let _0x236eb1=_0x389390?.[_0x503a08(0x358)],_0x5b266b='';if(!_0x236eb1&&this[_0x503a08(0x2c3)]()){const _0x4ca377=Object[_0x503a08(0x2d4)](this['getOperationsData']());for(const _0x44b97a of _0x4ca377){if(_0x44b97a&&typeof _0x44b97a===_0x503a08(0x236)&&_0x503a08(0x358)in _0x44b97a){_0x236eb1=_0x44b97a['host'];break;}}}if(_0x389390?.[_0x503a08(0x1f1)]){const _0x23b334=_0x389390[_0x503a08(0x1f1)],_0x2cff39=_0x23b334[_0x503a08(0x1a0)]('/');_0x2cff39!==-0x1&&(_0x5b266b=_0x23b334[_0x503a08(0x187)](0x0,_0x2cff39));}const _0x4e655c={};_0x4e655c[_0x503a08(0x30e)]=_0x503a08(0x1e7),_0x4e655c[_0x503a08(0x186)]=_0x503a08(0x236),_0x4e655c[_0x503a08(0x2f8)]=![];const _0x5c19d9={};_0x5c19d9[_0x503a08(0x30e)]=_0x503a08(0x16b),_0x5c19d9[_0x503a08(0x186)]=_0x503a08(0x2a2),_0x5c19d9[_0x503a08(0x2f8)]=![];const _0x1f3d54={};_0x1f3d54[_0x503a08(0x30e)]=_0x503a08(0x37c),_0x1f3d54['type']=_0x503a08(0x2a2),_0x1f3d54[_0x503a08(0x2f8)]=![];const _0x12453e={};_0x12453e['name']=_0x503a08(0x27f),_0x12453e['type']='number',_0x12453e[_0x503a08(0x2f8)]=![],_0x12453e[_0x503a08(0x1ff)]=0x1;const _0x3ddc64={};_0x3ddc64['name']=_0x503a08(0x1bc),_0x3ddc64[_0x503a08(0x186)]='number',_0x3ddc64[_0x503a08(0x2f8)]=![],_0x3ddc64[_0x503a08(0x1ff)]=0xa;const _0x26809f={};return _0x26809f[_0x503a08(0x30e)]='filter',_0x26809f[_0x503a08(0x186)]=_0x503a08(0x2ca),_0x26809f[_0x503a08(0x19e)]=_0x503a08(0x30a),_0x26809f[_0x503a08(0x2fc)]=_0x503a08(0x1c0),_0x26809f[_0x503a08(0x358)]=_0x236eb1,_0x26809f['path']=_0x5b266b?_0x5b266b+_0x503a08(0x29d):_0x503a08(0x29d),_0x26809f[_0x503a08(0x34d)]=_0x389390?.[_0x503a08(0x34d)]||[_0x4e655c,_0x5c19d9,_0x1f3d54,_0x12453e,_0x3ddc64],_0x26809f[_0x503a08(0x29b)]=!![],_0x26809f;}[a0_0x4986fd(0x14c)](){const _0x54cb9c=a0_0x4986fd;return this[_0x54cb9c(0x158)]()[_0x54cb9c(0x23f)]();}[a0_0x4986fd(0x15e)](){const _0x4349cf=a0_0x4986fd;return this[_0x4349cf(0x158)]()[_0x4349cf(0x38d)]();}[a0_0x4986fd(0x1fa)](_0x58364d){const _0x2f0324=a0_0x4986fd;if(typeof _0x58364d!=='string'){!![]&&console[_0x2f0324(0x27e)](_0x2f0324(0x250),_0x58364d);return;}return this[_0x2f0324(0x158)]()['get'](_0x58364d);}[a0_0x4986fd(0x378)](_0x1ebf17){const _0x1fe7df=a0_0x4986fd;if(typeof _0x1ebf17!==_0x1fe7df(0x388))return![];return this['getOperationList']()[_0x1fe7df(0x27a)](_0x1ebf17);}[a0_0x4986fd(0x359)](_0x1b93b1){const _0x45f36c=a0_0x4986fd;if(typeof _0x1b93b1!=='string')return![];const _0x50654a=this[_0x45f36c(0x1fa)](_0x1b93b1);return _0x50654a?.['isEnabled']()||![];}[a0_0x4986fd(0x362)](){const _0x4e4a25=a0_0x4986fd;return this['getOperationList']()[_0x4e4a25(0x180)]();}[a0_0x4986fd(0x1ba)](){const _0x3d7fa8=a0_0x4986fd;return this[_0x3d7fa8(0x158)]()[_0x3d7fa8(0x130)]();}['getEnabledOperationInstances'](){const _0x1d76c4=a0_0x4986fd;return this[_0x1d76c4(0x158)]()['getEnabled']();}[a0_0x4986fd(0x321)](){const _0x28c437=a0_0x4986fd;return this[_0x28c437(0x158)]()[_0x28c437(0x1d0)]();}[a0_0x4986fd(0x239)](_0x488f92={}){const _0x49a752=a0_0x4986fd;return this['getOperationList']()[_0x49a752(0x259)](_0x488f92);}[a0_0x4986fd(0x151)](){const _0x14cab3=a0_0x4986fd;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this[_0x14cab3(0x165)]()[_0x14cab3(0x338)],'businessFieldCount':this[_0x14cab3(0x2c7)]()['length'],'requiredFieldCount':this[_0x14cab3(0x18a)]()[_0x14cab3(0x338)],'primaryKeyCount':this[_0x14cab3(0x345)]()['length'],'operationCount':this['getOperationCount'](),'enabledOperationCount':this[_0x14cab3(0x362)]()[_0x14cab3(0x338)]};}[a0_0x4986fd(0x22a)](_0x426aad){const _0x1cac4e=a0_0x4986fd;if(!_0x426aad||typeof _0x426aad!==_0x1cac4e(0x236))return'';if(_0x1cac4e(0x3b7)in _0x426aad&&typeof _0x426aad[_0x1cac4e(0x3b7)]==='string')return _0x426aad[_0x1cac4e(0x3b7)];if('name'in _0x426aad&&typeof _0x426aad[_0x1cac4e(0x30e)]==='string')return _0x426aad[_0x1cac4e(0x30e)];return'';}['hasField'](_0x1fbb73){const _0x58ec8b=a0_0x4986fd;return this[_0x58ec8b(0x303)]()[_0x58ec8b(0x27a)](_0x1fbb73);}[a0_0x4986fd(0x2bc)](_0x34b97b){const _0x551581=a0_0x4986fd;if(!_0x34b97b||typeof _0x34b97b!==_0x551581(0x236))return![];const _0x3bacf9=this['getFieldCode'](_0x34b97b),_0x1ca9f9=this[_0x551581(0x176)](_0x3bacf9);return _0x1ca9f9?_0x1ca9f9[_0x551581(0x2f6)]():![];}[a0_0x4986fd(0x152)](_0x249053){const _0xaab4c2=a0_0x4986fd;if(!_0x249053||typeof _0x249053!==_0xaab4c2(0x236))return![];const _0xca4320=this[_0xaab4c2(0x22a)](_0x249053),_0x52dd70=this[_0xaab4c2(0x176)](_0xca4320);return _0x52dd70?_0x52dd70['isSystem']():![];}[a0_0x4986fd(0x1a9)](_0x3af3fa){const _0x53f30e=a0_0x4986fd;if(!_0x3af3fa||typeof _0x3af3fa!==_0x53f30e(0x236))return![];const _0x40425c=this['getFieldCode'](_0x3af3fa),_0x37a61d=this[_0x53f30e(0x176)](_0x40425c);return _0x37a61d?_0x37a61d[_0x53f30e(0x115)]():![];}['isEnumField'](_0x703386){const _0x9a074b=a0_0x4986fd;if(!_0x703386||typeof _0x703386!==_0x9a074b(0x236))return![];const _0x2dc7da=this[_0x9a074b(0x22a)](_0x703386),_0x213cc9=this[_0x9a074b(0x176)](_0x2dc7da);return _0x213cc9?_0x213cc9[_0x9a074b(0x1f7)]():![];}[a0_0x4986fd(0x2eb)](_0x4988d8){const _0x4c3339=a0_0x4986fd;if(!_0x4988d8||typeof _0x4988d8!=='object')return![];const _0x5d3954=this[_0x4c3339(0x22a)](_0x4988d8),_0x23a724=this['getFieldInstance'](_0x5d3954);return _0x23a724?_0x23a724[_0x4c3339(0x351)]():![];}[a0_0x4986fd(0x116)](_0x41844b){const _0x569377=a0_0x4986fd;if(!_0x41844b||typeof _0x41844b!==_0x569377(0x236))return[];const _0x39ca87=this['getFieldCode'](_0x41844b),_0x7863dc=this[_0x569377(0x176)](_0x39ca87);if(!_0x7863dc||!_0x7863dc[_0x569377(0x1f7)]())return[];return _0x7863dc[_0x569377(0x2a5)]()||[];}[a0_0x4986fd(0x1fb)](_0x262bfe){const _0x14eb48=a0_0x4986fd;if(!_0x262bfe||typeof _0x262bfe!==_0x14eb48(0x236))return;const _0x184eb6=this[_0x14eb48(0x22a)](_0x262bfe),_0x2a989c=this['getFieldInstance'](_0x184eb6);if(!_0x2a989c||!_0x2a989c[_0x14eb48(0x1f7)]())return;return _0x2a989c[_0x14eb48(0x146)]();}[a0_0x4986fd(0x1ce)](_0x5317fd){const _0x49267e=a0_0x4986fd;if(!_0x5317fd||typeof _0x5317fd!==_0x49267e(0x236))return;const _0x20cd15=this[_0x49267e(0x22a)](_0x5317fd),_0x29c918=this[_0x49267e(0x176)](_0x20cd15);if(!_0x29c918||!_0x29c918['isEnum']())return;return _0x29c918[_0x49267e(0x38b)]();}[a0_0x4986fd(0x345)](){const _0x53c3e6=a0_0x4986fd;return this[_0x53c3e6(0x303)]()[_0x53c3e6(0x3c2)]()[_0x53c3e6(0x30d)](_0x37226b=>_0x37226b[_0x53c3e6(0x245)]);}[a0_0x4986fd(0x165)](){const _0x2b52c7=a0_0x4986fd;return this[_0x2b52c7(0x303)]()['getSystem']()['map'](_0x2b292b=>_0x2b292b[_0x2b52c7(0x245)]);}[a0_0x4986fd(0x2c7)](){const _0x1710a5=a0_0x4986fd;return this[_0x1710a5(0x303)]()[_0x1710a5(0x1b7)]()[_0x1710a5(0x30d)](_0x3f6707=>_0x3f6707[_0x1710a5(0x245)]);}[a0_0x4986fd(0x18a)](){const _0x3859b0=a0_0x4986fd;return this[_0x3859b0(0x303)]()[_0x3859b0(0x37f)]()['map'](_0x27c2a7=>_0x27c2a7['raw']);}[a0_0x4986fd(0x393)](){const _0x104e39=a0_0x4986fd,_0x2f9751=this['getFieldList']()[_0x104e39(0x3a1)](),_0x43bbdc={};for(const [_0x1290c4,_0xbde429]of Object['entries'](_0x2f9751)){_0x43bbdc[_0x1290c4]=_0xbde429[_0x104e39(0x30d)](_0xc72832=>_0xc72832[_0x104e39(0x245)]);}return _0x43bbdc;}[a0_0x4986fd(0x302)](){const _0x5f4488=a0_0x4986fd;return this[_0x5f4488(0x303)]()[_0x5f4488(0x3b2)]()[_0x5f4488(0x30d)](_0x3359cf=>_0x3359cf['raw']);}[a0_0x4986fd(0x2bd)](){const _0x455f88=a0_0x4986fd,_0x1da2c9={};return this[_0x455f88(0x302)]()[_0x455f88(0x31a)](_0xd6126b=>{const _0x277139=this['getEnumFieldMeta'](_0xd6126b);if(_0x277139){const _0x617805=this['getFieldCode'](_0xd6126b);_0x1da2c9[_0x617805]=_0x277139;}}),_0x1da2c9;}['validateEnumValue'](_0x178a21,_0x4a3999){const _0x536ec0=a0_0x4986fd,_0x2d9dd2=this['getEnumFieldMeta'](_0x178a21);if(!_0x2d9dd2)return!![];if(_0x2d9dd2[_0x536ec0(0x370)]&&!_0x2d9dd2['options'])return!![];const _0x5178e2=this[_0x536ec0(0x22a)](_0x178a21),_0x3515d9=this['getFieldInstance'](_0x5178e2),_0x37918a=_0x3515d9?_0x3515d9[_0x536ec0(0x351)]():![];if(_0x37918a&&Array[_0x536ec0(0x18f)](_0x4a3999))return _0x4a3999[_0x536ec0(0x10d)](_0x4a16ad=>_0x2d9dd2['values'][_0x536ec0(0x228)](_0x4a16ad));return _0x2d9dd2[_0x536ec0(0x2d4)][_0x536ec0(0x228)](_0x4a3999);}[a0_0x4986fd(0x1bd)](){const _0x4e885c=a0_0x4986fd;return new DatasetItem({'id':this['id'],'name':this[_0x4e885c(0x30e)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x4e885c(0x119)]()});}['toString'](){const _0x26a363=a0_0x4986fd;return _0x26a363(0x1f4)+this[_0x26a363(0x30e)]+',\x20'+this[_0x26a363(0x2e2)]+',\x20'+this[_0x26a363(0x173)]()+_0x26a363(0x21f)+this[_0x26a363(0x15e)]()+_0x26a363(0x36e)+this['getVersion']()+')';}[a0_0x4986fd(0x251)](){const _0x23b3b1=a0_0x4986fd;return this[_0x23b3b1(0x193)]('filter');}[a0_0x4986fd(0x26b)](_0x25ab7e){const _0x3719bb=a0_0x4986fd;return this[_0x3719bb(0x1d7)](_0x3719bb(0x276),_0x25ab7e);}[a0_0x4986fd(0x17a)](){const _0x2042d5=a0_0x4986fd;return this[_0x2042d5(0x2bb)](_0x2042d5(0x276));}['getOperationOperators'](_0x34999b){const _0x194bc3=a0_0x4986fd,_0xddeed0=this[_0x194bc3(0x1fa)](_0x34999b);return _0xddeed0?_0xddeed0[_0x194bc3(0x213)]():[];}[a0_0x4986fd(0x1d7)](_0x4f2aa0,_0x1020fd){const _0x4420f2=a0_0x4986fd,_0x56e156=this['getOperation'](_0x4f2aa0);return _0x56e156?_0x56e156[_0x4420f2(0x231)](_0x1020fd):[];}[a0_0x4986fd(0x2bb)](_0x32d906){const _0x2bd706=a0_0x4986fd,_0x17d15b={};return this[_0x2bd706(0x303)]()[_0x2bd706(0x31a)](_0x1f6227=>{const _0x2da472=_0x2bd706,_0x5f3e75=this[_0x2da472(0x1d7)](_0x32d906,_0x1f6227['code']);_0x5f3e75[_0x2da472(0x338)]>0x0&&(_0x17d15b[_0x1f6227[_0x2da472(0x3b7)]]=_0x5f3e75);}),_0x17d15b;}['isOperatorApplicableToField'](_0x25327f,_0x4a4911,_0x380906){const _0x979458=a0_0x4986fd,_0x468f7c=this[_0x979458(0x1d7)](_0x25327f,_0x4a4911);return _0x468f7c[_0x979458(0x228)](_0x380906);}}class FieldBase{get[a0_0x4986fd(0x227)](){return;}get[a0_0x4986fd(0x20a)](){return;}get['displayName'](){return;}get[a0_0x4986fd(0x365)](){return;}[a0_0x4986fd(0x1bb)](){const _0x263e6b=a0_0x4986fd;return!this[_0x263e6b(0x2b3)]();}[a0_0x4986fd(0x253)](){return this['deleted'];}[a0_0x4986fd(0x1f7)](){const _0xbc4152=a0_0x4986fd,_0x421e24=[_0xbc4152(0x16c),_0xbc4152(0x3bd),'CHECKBOX'];return _0x421e24[_0xbc4152(0x228)](this['type']);}[a0_0x4986fd(0x351)](){const _0x719033=a0_0x4986fd;return this[_0x719033(0x186)]===_0x719033(0x320);}[a0_0x4986fd(0x32a)](){const _0x12864d=a0_0x4986fd,_0x182dae=this[_0x12864d(0x38b)]();return _0x182dae?.[_0x12864d(0x2d4)]||[];}[a0_0x4986fd(0x38b)](){const _0x22fb88=a0_0x4986fd;if(!this[_0x22fb88(0x1f7)]())return;const _0x2fce2d=this[_0x22fb88(0x2a5)](),_0x495054=this['getSelectItemsSource'](),_0x3d905a=[],_0xe3f16f={},_0x13bf92=_0xd71359=>{_0xd71359['forEach'](_0x357d4b=>{const _0x1821b4=a0_0x5c95;_0x3d905a[_0x1821b4(0x279)](_0x357d4b['value']),_0xe3f16f[String(_0x357d4b[_0x1821b4(0x31e)])]=_0x357d4b[_0x1821b4(0x169)],_0x357d4b['children']&&_0x357d4b[_0x1821b4(0x324)][_0x1821b4(0x338)]>0x0&&_0x13bf92(_0x357d4b[_0x1821b4(0x324)]);});};return _0x2fce2d&&_0x2fce2d[_0x22fb88(0x338)]>0x0&&_0x13bf92(_0x2fce2d),{'code':this['code'],'name':this[_0x22fb88(0x30e)],'type':this[_0x22fb88(0x186)],'multiple':this[_0x22fb88(0x351)](),'options':_0x2fce2d,'selectItemsSource':_0x495054,'values':_0x3d905a,'valueLabels':_0xe3f16f};}get[a0_0x4986fd(0x1cd)](){const _0x2d0fa9=a0_0x4986fd;return this[_0x2d0fa9(0x32a)]();}['toString'](){const _0x136028=a0_0x4986fd;return _0x136028(0x31c)+this[_0x136028(0x30e)]+',\x20'+this[_0x136028(0x3b7)]+',\x20'+this['type']+',\x20'+this[_0x136028(0x294)]()+')';}}class FieldV1 extends FieldBase{[a0_0x4986fd(0x283)];[a0_0x4986fd(0x1de)]=null;constructor(_0x1ae13a){const _0x19919b=a0_0x4986fd;super();if(!_0x1ae13a||typeof _0x1ae13a!=='object')throw new Error(_0x19919b(0x160));this[_0x19919b(0x283)]=_0x1ae13a;}[a0_0x4986fd(0x24e)](){const _0x2cba52=a0_0x4986fd;return this[_0x2cba52(0x283)];}['getVersion'](){return'v1';}get[a0_0x4986fd(0x245)](){const _0x154f73=a0_0x4986fd;return this[_0x154f73(0x283)];}get[a0_0x4986fd(0x30e)](){const _0x1e3b48=a0_0x4986fd;return this[_0x1e3b48(0x283)]['name']||'';}get[a0_0x4986fd(0x3b7)](){const _0x14cda7=a0_0x4986fd;return this[_0x14cda7(0x283)][_0x14cda7(0x3b7)]||'';}get[a0_0x4986fd(0x186)](){return this['_raw']['type']||'';}get['description'](){const _0x58650c=a0_0x4986fd;return this[_0x58650c(0x283)][_0x58650c(0x19e)]||'';}get[a0_0x4986fd(0x37d)](){const _0x2658d8=a0_0x4986fd;return Boolean(this['_raw'][_0x2658d8(0x37d)]);}get['dbType'](){const _0x11428b=a0_0x4986fd;return this[_0x11428b(0x283)][_0x11428b(0x227)];}get[a0_0x4986fd(0x20a)](){const _0x3cc999=a0_0x4986fd;return this['_raw'][_0x3cc999(0x20a)];}get[a0_0x4986fd(0x12f)](){const _0x40a0b6=a0_0x4986fd;return this['_raw'][_0x40a0b6(0x28e)];}get[a0_0x4986fd(0x365)](){return;}get[a0_0x4986fd(0x142)](){const _0x2f02f0=a0_0x4986fd;if(this['_extend']!==null&&typeof this['_extend']===_0x2f02f0(0x236))return this['_extend'];const _0x9207c9=this['_raw'][_0x2f02f0(0x142)];if(!_0x9207c9||typeof _0x9207c9!==_0x2f02f0(0x388))return this['_extend']={},this[_0x2f02f0(0x1de)];if(_0x9207c9===_0x2f02f0(0x39e)||_0x9207c9[_0x2f02f0(0x356)]()==='null')return this['_extend']={},this[_0x2f02f0(0x1de)];try{const _0x23dca3=JSON['parse'](_0x9207c9);return this[_0x2f02f0(0x1de)]=_0x23dca3!==null&&typeof _0x23dca3===_0x2f02f0(0x236)&&!Array[_0x2f02f0(0x18f)](_0x23dca3)?_0x23dca3:{},this[_0x2f02f0(0x1de)];}catch(_0x115c84){return!![]&&console['warn'](_0x2f02f0(0x3a4)+this['code']+_0x2f02f0(0x222),_0x115c84),this[_0x2f02f0(0x1de)]={},this[_0x2f02f0(0x1de)];}}['isRequired'](){const _0x1e3dd8=a0_0x4986fd;return Boolean(this[_0x1e3dd8(0x142)][_0x1e3dd8(0x2f8)]);}[a0_0x4986fd(0x2f6)](){const _0x44899b=a0_0x4986fd;return Boolean(this[_0x44899b(0x142)]['primaryKey']||this[_0x44899b(0x142)]['pkField']);}[a0_0x4986fd(0x2b3)](){const _0x12b049=a0_0x4986fd;return Boolean(this[_0x12b049(0x142)][_0x12b049(0x174)]);}['isAutoIncrement'](){const _0x3d177c=a0_0x4986fd;return Boolean(this[_0x3d177c(0x142)][_0x3d177c(0x1b5)]);}[a0_0x4986fd(0x34c)](){const _0x146b9a=a0_0x4986fd;return Boolean(this[_0x146b9a(0x142)][_0x146b9a(0x268)]);}[a0_0x4986fd(0x337)](){const _0x4a58bb=a0_0x4986fd;return Boolean(this['extend'][_0x4a58bb(0x3a3)]);}[a0_0x4986fd(0x240)](){return this['name'];}['getFieldName'](){const _0x177b78=a0_0x4986fd;return this[_0x177b78(0x3b7)];}['isEnum'](){const _0x41cc1c=a0_0x4986fd,_0x23b183=['RADIO',_0x41cc1c(0x3bd),_0x41cc1c(0x320)];if(_0x23b183[_0x41cc1c(0x228)](this[_0x41cc1c(0x186)]))return!![];const _0x3c36b8=this[_0x41cc1c(0x142)];return Boolean(_0x3c36b8['options']&&Array[_0x41cc1c(0x18f)](_0x3c36b8['options'])&&_0x3c36b8[_0x41cc1c(0x159)][_0x41cc1c(0x338)]>0x0||_0x3c36b8['selectItemsSource']);}[a0_0x4986fd(0x351)](){const _0x46ee7c=a0_0x4986fd;if(this[_0x46ee7c(0x186)]===_0x46ee7c(0x320))return!![];return Boolean(this['extend'][_0x46ee7c(0x387)]);}[a0_0x4986fd(0x2a5)](){const _0xb1d350=a0_0x4986fd,_0xb958c6=this[_0xb1d350(0x142)];if(_0xb958c6[_0xb1d350(0x159)]&&Array[_0xb1d350(0x18f)](_0xb958c6[_0xb1d350(0x159)]))return _0xb958c6[_0xb1d350(0x159)];return;}[a0_0x4986fd(0x146)](){const _0x161661=a0_0x4986fd,_0x5482da=this[_0x161661(0x142)];if(_0x5482da[_0x161661(0x370)]&&typeof _0x5482da['selectItemsSource']===_0x161661(0x236))return _0x5482da['selectItemsSource'];return;}[a0_0x4986fd(0x195)](){const _0x395173=a0_0x4986fd;return this[_0x395173(0x186)][_0x395173(0x39b)]();}[a0_0x4986fd(0x13c)](){const _0x563d2c=a0_0x4986fd;return this[_0x563d2c(0x142)]['defaultValue'];}['getTooltip'](){const _0xc95f9=a0_0x4986fd;return this[_0xc95f9(0x142)][_0xc95f9(0x1ec)];}[a0_0x4986fd(0x171)](){const _0x336246=a0_0x4986fd;return{'name':this[_0x336246(0x30e)],'code':this[_0x336246(0x3b7)],'type':this[_0x336246(0x186)],'dbType':this[_0x336246(0x227)],'dbTypeLen':this[_0x336246(0x20a)],'description':this[_0x336246(0x19e)],'required':this[_0x336246(0x115)](),'primaryKey':this[_0x336246(0x2f6)](),'system':this['isSystem'](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x336246(0x34c)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x336246(0x1f7)](),'enumMeta':this[_0x336246(0x1f7)]()?this[_0x336246(0x38b)]():undefined};}['toString'](){const _0x2c554b=a0_0x4986fd;return _0x2c554b(0x191)+this[_0x2c554b(0x30e)]+',\x20'+this[_0x2c554b(0x3b7)]+',\x20'+this[_0x2c554b(0x186)]+')';}}class FieldListBase{[a0_0x4986fd(0x13d)];constructor(_0x1fcfa1,_0x512507){const _0x56b8e9=a0_0x4986fd;if(!Array[_0x56b8e9(0x18f)](_0x1fcfa1))throw new Error(_0x56b8e9(0x1e8));const _0x98a276=_0x512507?.[_0x56b8e9(0x211)]??![],_0x53d960=_0x98a276?_0x1fcfa1:_0x1fcfa1[_0x56b8e9(0x276)](_0x8f7f7e=>{const _0xde11ed=_0x56b8e9,_0x1ba269=_0x8f7f7e;return!_0x1ba269[_0xde11ed(0x37d)];});this[_0x56b8e9(0x13d)]=this[_0x56b8e9(0x111)](_0x53d960);}get['length'](){const _0xfac983=a0_0x4986fd;return this[_0xfac983(0x13d)]['length'];}[a0_0x4986fd(0x2af)](){const _0x2549aa=a0_0x4986fd;return[...this[_0x2549aa(0x13d)]];}['at'](_0x5eb656){const _0x43095c=a0_0x4986fd;return this[_0x43095c(0x13d)]['at'](_0x5eb656);}[a0_0x4986fd(0x2b4)](_0x28b11a){const _0x4558cb=a0_0x4986fd;return this['_fields'][_0x4558cb(0x2b4)](_0x27c5c9=>_0x27c5c9[_0x4558cb(0x3b7)]===_0x28b11a);}[a0_0x4986fd(0x20f)](_0x1524a7){const _0x5a5a7f=a0_0x4986fd;return this[_0x5a5a7f(0x13d)]['find'](_0x3dccba=>_0x3dccba[_0x5a5a7f(0x30e)]===_0x1524a7);}[a0_0x4986fd(0x27a)](_0x1fcbf8){const _0x3b696e=a0_0x4986fd;return this[_0x3b696e(0x13d)]['some'](_0x336adb=>_0x336adb[_0x3b696e(0x3b7)]===_0x1fcbf8);}[a0_0x4986fd(0x31a)](_0x597a8a){const _0x3ca5fb=a0_0x4986fd;this[_0x3ca5fb(0x13d)][_0x3ca5fb(0x31a)](_0x597a8a);}[a0_0x4986fd(0x30d)](_0x239a9c){const _0x20db51=a0_0x4986fd;return this[_0x20db51(0x13d)]['map'](_0x239a9c);}[a0_0x4986fd(0x276)](_0x317771){const _0xe85a77=a0_0x4986fd;return this[_0xe85a77(0x13d)]['filter'](_0x317771);}[a0_0x4986fd(0x10d)](_0x411237){const _0x3e25e0=a0_0x4986fd;return this[_0x3e25e0(0x13d)][_0x3e25e0(0x10d)](_0x411237);}[a0_0x4986fd(0x296)](_0x5af862){const _0x226965=a0_0x4986fd;return this[_0x226965(0x13d)][_0x226965(0x296)](_0x5af862);}[a0_0x4986fd(0x37f)](){const _0x10ec04=a0_0x4986fd;return this['_fields'][_0x10ec04(0x276)](_0x197555=>_0x197555[_0x10ec04(0x115)]());}['getPrimaryKeys'](){const _0x1d9ce9=a0_0x4986fd;return this[_0x1d9ce9(0x13d)][_0x1d9ce9(0x276)](_0x38218e=>_0x38218e[_0x1d9ce9(0x2f6)]());}[a0_0x4986fd(0x19d)](){const _0x5408e8=a0_0x4986fd;return this['_fields'][_0x5408e8(0x276)](_0x261eb4=>_0x261eb4[_0x5408e8(0x2b3)]());}['getBusiness'](){const _0x5b9169=a0_0x4986fd;return this['_fields'][_0x5b9169(0x276)](_0xb34588=>_0xb34588[_0x5b9169(0x1bb)]());}[a0_0x4986fd(0x3b2)](){const _0xc0a328=a0_0x4986fd;return this[_0xc0a328(0x13d)][_0xc0a328(0x276)](_0x16ad93=>_0x16ad93[_0xc0a328(0x1f7)]());}[a0_0x4986fd(0x33e)](){const _0x4ac423=a0_0x4986fd;return this[_0x4ac423(0x13d)][_0x4ac423(0x276)](_0x5071c3=>_0x5071c3['isAutoIncrement']());}[a0_0x4986fd(0x340)](){const _0x56e2f3=a0_0x4986fd;return this['_fields'][_0x56e2f3(0x276)](_0x5a0451=>_0x5a0451[_0x56e2f3(0x34c)]());}[a0_0x4986fd(0x10f)](){const _0x191252=a0_0x4986fd;return this[_0x191252(0x13d)][_0x191252(0x276)](_0x2aa095=>_0x2aa095[_0x191252(0x337)]());}[a0_0x4986fd(0x20e)](){const _0x290382=a0_0x4986fd;return this[_0x290382(0x13d)]['filter'](_0x5445ba=>_0x5445ba[_0x290382(0x253)]());}[a0_0x4986fd(0x24f)](){const _0x3ae527=a0_0x4986fd;return this[_0x3ae527(0x13d)][_0x3ae527(0x276)](_0x4c60c0=>!_0x4c60c0[_0x3ae527(0x253)]());}['groupByType'](){const _0x805771=a0_0x4986fd,_0x8c375f={};return this[_0x805771(0x13d)][_0x805771(0x31a)](_0x3f950f=>{const _0x261530=_0x805771,_0x590c94=_0x3f950f[_0x261530(0x186)];!_0x8c375f[_0x590c94]&&(_0x8c375f[_0x590c94]=[]),_0x8c375f[_0x590c94][_0x261530(0x279)](_0x3f950f);}),_0x8c375f;}[a0_0x4986fd(0x1cf)](){const _0x3780ac=a0_0x4986fd,_0x46de44={};return this[_0x3780ac(0x13d)]['forEach'](_0x3098a8=>{const _0x3c4d64=_0x3780ac;if(_0x3098a8[_0x3c4d64(0x1f7)]()){const _0x10d5d6=_0x3098a8[_0x3c4d64(0x38b)]();_0x10d5d6&&(_0x46de44[_0x3098a8[_0x3c4d64(0x3b7)]]=_0x10d5d6);}}),_0x46de44;}[a0_0x4986fd(0x151)](){const _0x49dd67=a0_0x4986fd;return{'total':this[_0x49dd67(0x338)],'required':this[_0x49dd67(0x37f)]()['length'],'primaryKey':this[_0x49dd67(0x3c2)]()['length'],'system':this[_0x49dd67(0x19d)]()[_0x49dd67(0x338)],'business':this[_0x49dd67(0x1b7)]()['length'],'enum':this[_0x49dd67(0x3b2)]()['length'],'autoIncrement':this[_0x49dd67(0x33e)]()[_0x49dd67(0x338)]};}[a0_0x4986fd(0x2a1)](){const _0x5b0a20=a0_0x4986fd;return this[_0x5b0a20(0x13d)][_0x5b0a20(0x30d)](_0xed00c5=>_0xed00c5[_0x5b0a20(0x3b7)]);}['getNames'](){const _0xef046a=a0_0x4986fd;return this['_fields'][_0xef046a(0x30d)](_0x2bd5bc=>_0x2bd5bc[_0xef046a(0x240)]());}[a0_0x4986fd(0x25a)](){const _0x53eccb=a0_0x4986fd;return this[_0x53eccb(0x13d)]['map'](_0x43c616=>_0x43c616[_0x53eccb(0x3bb)]());}[a0_0x4986fd(0x171)](){const _0x4fe42c=a0_0x4986fd;return this[_0x4fe42c(0x13d)]['map'](_0x132773=>_0x132773['toJSON']());}[a0_0x4986fd(0x28a)](){const _0x495e22=a0_0x4986fd;return _0x495e22(0x19b)+this[_0x495e22(0x338)]+_0x495e22(0x3a9);}}class FieldListV1 extends FieldListBase{constructor(_0x38a169,_0x1b66c2){super(_0x38a169,_0x1b66c2);}[a0_0x4986fd(0x111)](_0x1150f5){const _0x2bdb72=a0_0x4986fd;return _0x1150f5[_0x2bdb72(0x30d)](_0x171fe9=>new FieldV1(_0x171fe9));}['all'](){const _0x3d84cc=a0_0x4986fd;return[...this[_0x3d84cc(0x13d)]];}['at'](_0x2586df){return this['_fields']['at'](_0x2586df);}[a0_0x4986fd(0x2b4)](_0x50a37d){const _0x13b54c=a0_0x4986fd;return this[_0x13b54c(0x13d)][_0x13b54c(0x2b4)](_0x41693b=>_0x41693b['code']===_0x50a37d);}[a0_0x4986fd(0x20f)](_0xa8702f){const _0x9c7261=a0_0x4986fd;return this[_0x9c7261(0x13d)][_0x9c7261(0x2b4)](_0x4ddf19=>_0x4ddf19[_0x9c7261(0x30e)]===_0xa8702f);}[a0_0x4986fd(0x276)](_0x14d744){const _0x130ab3=a0_0x4986fd;return this[_0x130ab3(0x13d)]['filter'](_0x14d744);}[a0_0x4986fd(0x30d)](_0x3adfdf){const _0x186398=a0_0x4986fd;return this[_0x186398(0x13d)]['map'](_0x3adfdf);}[a0_0x4986fd(0x37f)](){const _0x5891a1=a0_0x4986fd;return this[_0x5891a1(0x13d)][_0x5891a1(0x276)](_0x199ad9=>_0x199ad9[_0x5891a1(0x115)]());}[a0_0x4986fd(0x3c2)](){const _0xc7b6b1=a0_0x4986fd;return this[_0xc7b6b1(0x13d)][_0xc7b6b1(0x276)](_0x233b20=>_0x233b20['isPrimaryKey']());}[a0_0x4986fd(0x19d)](){const _0x466b4a=a0_0x4986fd;return this[_0x466b4a(0x13d)]['filter'](_0x750cbb=>_0x750cbb[_0x466b4a(0x2b3)]());}[a0_0x4986fd(0x1b7)](){const _0x47a2a9=a0_0x4986fd;return this[_0x47a2a9(0x13d)][_0x47a2a9(0x276)](_0x12dabc=>_0x12dabc[_0x47a2a9(0x1bb)]());}['getEnum'](){const _0x2f6919=a0_0x4986fd;return this[_0x2f6919(0x13d)][_0x2f6919(0x276)](_0x5a7e78=>_0x5a7e78[_0x2f6919(0x1f7)]());}[a0_0x4986fd(0x3a1)](){const _0x4d9159=a0_0x4986fd,_0x159a2a={};return this[_0x4d9159(0x13d)][_0x4d9159(0x31a)](_0x4e5e44=>{const _0x4e6dae=_0x4d9159,_0x4ba81a=_0x4e5e44[_0x4e6dae(0x186)];!_0x159a2a[_0x4ba81a]&&(_0x159a2a[_0x4ba81a]=[]),_0x159a2a[_0x4ba81a][_0x4e6dae(0x279)](_0x4e5e44);}),_0x159a2a;}[a0_0x4986fd(0x245)](){const _0x17e799=a0_0x4986fd;return this[_0x17e799(0x13d)][_0x17e799(0x30d)](_0x51515b=>_0x51515b[_0x17e799(0x245)]);}static[a0_0x4986fd(0x1df)](_0x57a010){const _0x5edc3f=a0_0x4986fd,_0x13bf78=_0x57a010[_0x5edc3f(0x30d)](_0x35e39b=>_0x35e39b[_0x5edc3f(0x245)]);return new FieldListV1(_0x13bf78);}static[a0_0x4986fd(0x1cb)](_0x20a61e){const _0x3ae280=a0_0x4986fd,_0x34d983={};return _0x34d983[_0x3ae280(0x211)]=!![],new FieldListV1(_0x20a61e,_0x34d983);}}class FieldV2 extends FieldBase{[a0_0x4986fd(0x283)];constructor(_0x4db0ec){const _0x50448b=a0_0x4986fd;super();if(!_0x4db0ec||typeof _0x4db0ec!=='object')throw new Error(_0x50448b(0x261));this[_0x50448b(0x283)]=_0x4db0ec;}['getVersion'](){return'v2';}get['raw'](){return this['_raw'];}get['name'](){const _0x4a4969=a0_0x4986fd;return this['_raw'][_0x4a4969(0x30e)]||'';}get[a0_0x4986fd(0x3b7)](){const _0x5a2e9b=a0_0x4986fd;return this[_0x5a2e9b(0x283)][_0x5a2e9b(0x30e)]||'';}get[a0_0x4986fd(0x12f)](){const _0x18c921=a0_0x4986fd;return this[_0x18c921(0x283)]['displayName']||'';}get[a0_0x4986fd(0x186)](){const _0x39af31=a0_0x4986fd;if(this[_0x39af31(0x283)][_0x39af31(0x365)])return this['_raw'][_0x39af31(0x365)];return this[_0x39af31(0x364)](this[_0x39af31(0x283)][_0x39af31(0x227)]);}get['description'](){const _0x3fcd02=a0_0x4986fd;return this[_0x3fcd02(0x283)][_0x3fcd02(0x19e)]||'';}get[a0_0x4986fd(0x37d)](){const _0x449f50=a0_0x4986fd;return Boolean(this[_0x449f50(0x283)][_0x449f50(0x37d)]);}['isRequired'](){const _0x3a5b96=a0_0x4986fd;return Boolean(this[_0x3a5b96(0x283)][_0x3a5b96(0x2f8)]);}[a0_0x4986fd(0x2f6)](){const _0x2bc035=a0_0x4986fd;return Boolean(this['_raw'][_0x2bc035(0x1a1)]);}[a0_0x4986fd(0x2b3)](){const _0x5c0c=a0_0x4986fd;return Boolean(this[_0x5c0c(0x283)][_0x5c0c(0x174)]);}[a0_0x4986fd(0x2cf)](){const _0x4fca37=a0_0x4986fd;return Boolean(this[_0x4fca37(0x283)][_0x4fca37(0x1b5)]);}[a0_0x4986fd(0x34c)](){const _0x2d6191=a0_0x4986fd;return this[_0x2d6191(0x283)][_0x2d6191(0x174)]===_0x2d6191(0x268);}[a0_0x4986fd(0x337)](){const _0x387488=a0_0x4986fd;return this[_0x387488(0x283)]['systemRetain']==='updateTime';}['getDisplayName'](){return this['_raw']['displayName']||'';}[a0_0x4986fd(0x3bb)](){const _0x4c66a7=a0_0x4986fd;return this[_0x4c66a7(0x283)][_0x4c66a7(0x30e)]||'';}[a0_0x4986fd(0x1f7)](){const _0x3d5306=a0_0x4986fd;return Boolean(this[_0x3d5306(0x283)]['options']&&Array[_0x3d5306(0x18f)](this[_0x3d5306(0x283)][_0x3d5306(0x159)])&&this[_0x3d5306(0x283)][_0x3d5306(0x159)][_0x3d5306(0x338)]>0x0);}[a0_0x4986fd(0x351)](){const _0x25cc97=a0_0x4986fd,_0x466271=this[_0x25cc97(0x283)][_0x25cc97(0x142)];if(!_0x466271)return![];try{const _0x913033=JSON['parse'](_0x466271);if(_0x913033&&typeof _0x913033===_0x25cc97(0x236)&&'multiple'in _0x913033)return Boolean(_0x913033[_0x25cc97(0x387)]);}catch{}return![];}[a0_0x4986fd(0x2a5)](){const _0x21ec83=a0_0x4986fd;if(this[_0x21ec83(0x283)][_0x21ec83(0x159)]&&Array[_0x21ec83(0x18f)](this[_0x21ec83(0x283)][_0x21ec83(0x159)]))return this['_raw']['options'];return;}[a0_0x4986fd(0x146)](){const _0x23d82d=a0_0x4986fd,_0x498812=this[_0x23d82d(0x283)][_0x23d82d(0x142)];if(!_0x498812)return;try{const _0x1c74fa=JSON['parse'](_0x498812);if(_0x1c74fa&&typeof _0x1c74fa===_0x23d82d(0x236)&&_0x23d82d(0x370)in _0x1c74fa)return _0x1c74fa[_0x23d82d(0x370)];}catch{}return;}[a0_0x4986fd(0x195)](){const _0x361198=a0_0x4986fd;if(!this['_raw']['dbType'])return'';return this[_0x361198(0x283)]['dbType'][_0x361198(0x15c)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x361198(0x356)]()['toUpperCase']();}['getDefaultValue'](){return;}[a0_0x4986fd(0x301)](){return;}get[a0_0x4986fd(0x227)](){const _0x4e5adf=a0_0x4986fd;return this[_0x4e5adf(0x283)][_0x4e5adf(0x227)]??undefined;}get['dbTypeLen'](){const _0x3acc09=a0_0x4986fd;return this[_0x3acc09(0x283)][_0x3acc09(0x20a)];}[a0_0x4986fd(0x12e)](){const _0x5bfd6e=a0_0x4986fd;return this[_0x5bfd6e(0x283)]['doType']??null;}get[a0_0x4986fd(0x365)](){return this['_raw']['doType']??null;}[a0_0x4986fd(0x171)](){const _0x14a50a=a0_0x4986fd;return{'name':this[_0x14a50a(0x30e)],'code':this['code'],'type':this[_0x14a50a(0x186)],'dbType':this[_0x14a50a(0x227)],'dbTypeLen':this[_0x14a50a(0x20a)],'doType':this[_0x14a50a(0x12e)](),'displayName':this['displayName'],'description':this[_0x14a50a(0x19e)],'required':this['isRequired'](),'primaryKey':this[_0x14a50a(0x2f6)](),'system':this[_0x14a50a(0x2b3)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x14a50a(0x34c)](),'updateTime':this[_0x14a50a(0x337)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x14a50a(0x1f7)]()?this[_0x14a50a(0x38b)]():undefined};}[a0_0x4986fd(0x28a)](){const _0x45ea78=a0_0x4986fd;return _0x45ea78(0x2cd)+this[_0x45ea78(0x30e)]+',\x20'+this[_0x45ea78(0x3b7)]+',\x20'+this[_0x45ea78(0x227)]+_0x45ea78(0x2de)+this[_0x45ea78(0x12e)]()+')';}[a0_0x4986fd(0x364)](_0x543580){const _0x1f673f=a0_0x4986fd;if(!_0x543580)return _0x1f673f(0x139);const _0x35f9c8={};_0x35f9c8[_0x1f673f(0x2e9)]=_0x1f673f(0x139),_0x35f9c8['CHAR']=_0x1f673f(0x139),_0x35f9c8['TEXT']='TEXTAREA',_0x35f9c8[_0x1f673f(0x367)]=_0x1f673f(0x207),_0x35f9c8[_0x1f673f(0x1b2)]=_0x1f673f(0x1f9),_0x35f9c8[_0x1f673f(0x38c)]=_0x1f673f(0x1f9),_0x35f9c8['TINYINT']='NUMBER',_0x35f9c8['SMALLINT']=_0x1f673f(0x1f9),_0x35f9c8[_0x1f673f(0x19a)]=_0x1f673f(0x1f9),_0x35f9c8['DOUBLE']='NUMBER',_0x35f9c8[_0x1f673f(0x39a)]='NUMBER',_0x35f9c8['DATETIME']=_0x1f673f(0x32d),_0x35f9c8['TIMESTAMP']=_0x1f673f(0x32d),_0x35f9c8[_0x1f673f(0x32d)]=_0x1f673f(0x32d),_0x35f9c8['TIME']=_0x1f673f(0x2a8),_0x35f9c8[_0x1f673f(0x30f)]=_0x1f673f(0x391),_0x35f9c8['BIT']=_0x1f673f(0x391),_0x35f9c8[_0x1f673f(0x384)]='FILE',_0x35f9c8[_0x1f673f(0x2f9)]='FILE';const _0x226b8e=_0x35f9c8,_0x5b38aa=_0x543580['toUpperCase']();return _0x226b8e[_0x5b38aa]||'TEXT';}}class FieldListV2 extends FieldListBase{constructor(_0x13ba21,_0x4a16f9){super(_0x13ba21,_0x4a16f9);}[a0_0x4986fd(0x111)](_0x21261e){return _0x21261e['map'](_0x353405=>new FieldV2(_0x353405));}[a0_0x4986fd(0x2af)](){const _0x416297=a0_0x4986fd;return[...this[_0x416297(0x13d)]];}['at'](_0x146a74){const _0x411d92=a0_0x4986fd;return this[_0x411d92(0x13d)]['at'](_0x146a74);}['find'](_0x2a05c4){const _0x5bb285=a0_0x4986fd;return this[_0x5bb285(0x13d)]['find'](_0x2f8eba=>_0x2f8eba[_0x5bb285(0x3b7)]===_0x2a05c4);}[a0_0x4986fd(0x20f)](_0x43f6dd){const _0x39920e=a0_0x4986fd;return this[_0x39920e(0x13d)][_0x39920e(0x2b4)](_0x1f1955=>_0x1f1955['getDisplayName']()===_0x43f6dd);}[a0_0x4986fd(0x276)](_0x28777b){const _0x5d10c5=a0_0x4986fd;return this['_fields'][_0x5d10c5(0x276)](_0x28777b);}['map'](_0x427b7a){const _0x130905=a0_0x4986fd;return this[_0x130905(0x13d)][_0x130905(0x30d)](_0x427b7a);}[a0_0x4986fd(0x37f)](){const _0x343afe=a0_0x4986fd;return this[_0x343afe(0x13d)][_0x343afe(0x276)](_0x34fd80=>_0x34fd80[_0x343afe(0x115)]());}[a0_0x4986fd(0x3c2)](){const _0x40a3d2=a0_0x4986fd;return this[_0x40a3d2(0x13d)]['filter'](_0x37f4d1=>_0x37f4d1[_0x40a3d2(0x2f6)]());}[a0_0x4986fd(0x19d)](){const _0x2abbdf=a0_0x4986fd;return this[_0x2abbdf(0x13d)][_0x2abbdf(0x276)](_0x1f03f9=>_0x1f03f9[_0x2abbdf(0x2b3)]());}[a0_0x4986fd(0x1b7)](){const _0x1d825c=a0_0x4986fd;return this[_0x1d825c(0x13d)][_0x1d825c(0x276)](_0x4110b4=>_0x4110b4['isBusiness']());}[a0_0x4986fd(0x3b2)](){const _0xbd21f9=a0_0x4986fd;return this['_fields'][_0xbd21f9(0x276)](_0x12133f=>_0x12133f[_0xbd21f9(0x1f7)]());}[a0_0x4986fd(0x3a1)](){const _0x3ad050=a0_0x4986fd,_0x3a4137={};return this['_fields'][_0x3ad050(0x31a)](_0x21cc70=>{const _0xbf0166=_0x3ad050,_0x3e2ac6=_0x21cc70[_0xbf0166(0x186)];!_0x3a4137[_0x3e2ac6]&&(_0x3a4137[_0x3e2ac6]=[]),_0x3a4137[_0x3e2ac6][_0xbf0166(0x279)](_0x21cc70);}),_0x3a4137;}['raw'](){const _0x72197c=a0_0x4986fd;return this[_0x72197c(0x13d)][_0x72197c(0x30d)](_0x14b9b8=>_0x14b9b8['raw']);}static[a0_0x4986fd(0x1df)](_0x5b358b){const _0x53e355=a0_0x4986fd,_0x44460c=_0x5b358b[_0x53e355(0x30d)](_0x4edae7=>_0x4edae7[_0x53e355(0x245)]);return new FieldListV2(_0x44460c);}static[a0_0x4986fd(0x1cb)](_0x3b3cbd){const _0x1664c5=a0_0x4986fd,_0x58d2ff={};return _0x58d2ff[_0x1664c5(0x211)]=!![],new FieldListV2(_0x3b3cbd,_0x58d2ff);}[a0_0x4986fd(0x28a)](){const _0x1a5fac=a0_0x4986fd;return'FieldListV2('+this[_0x1a5fac(0x338)]+_0x1a5fac(0x3a9);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x4986fd(0x2ea)];['_fieldListV1WithDeleted'];constructor(_0x2c5eb5){super(_0x2c5eb5);}[a0_0x4986fd(0x303)](){const _0x23b9f8=a0_0x4986fd;if(!this['_fieldListV1']){const _0x54ed87={};_0x54ed87[_0x23b9f8(0x211)]=![],this['_fieldListV1']=new FieldListV1(this[_0x23b9f8(0x283)][_0x23b9f8(0x2ff)]||[],_0x54ed87);}return this[_0x23b9f8(0x2ea)];}['getFieldListWithDeleted'](){const _0x34b4fc=a0_0x4986fd;if(!this[_0x34b4fc(0x335)]){const _0x33fbe8={};_0x33fbe8[_0x34b4fc(0x211)]=!![],this[_0x34b4fc(0x335)]=new FieldListV1(this[_0x34b4fc(0x283)][_0x34b4fc(0x2ff)]||[],_0x33fbe8);}return this[_0x34b4fc(0x335)];}[a0_0x4986fd(0x1af)](){const _0x124b73=a0_0x4986fd;return(this['_raw'][_0x124b73(0x2ff)]||[])[_0x124b73(0x276)](_0x615c8c=>!_0x615c8c[_0x124b73(0x37d)]);}[a0_0x4986fd(0x173)](){const _0x484049=a0_0x4986fd;return this[_0x484049(0x303)]()[_0x484049(0x338)];}[a0_0x4986fd(0x2bf)](_0x21609a){const _0x56ba42=a0_0x4986fd;return this['_raw']['properties']?.['find'](_0x167359=>_0x167359[_0x56ba42(0x3b7)]===_0x21609a);}['getVersion'](){return'v1';}[a0_0x4986fd(0x274)](){const _0x2bee4f=a0_0x4986fd,_0x405e67={};return _0x405e67[_0x2bee4f(0x26d)]=this['_raw'][_0x2bee4f(0x2ff)]||[],_0x405e67[_0x2bee4f(0x211)]=![],_0x405e67;}[a0_0x4986fd(0x2c3)](){const _0x4ace0f=a0_0x4986fd;return this['_raw'][_0x4ace0f(0x15b)];}[a0_0x4986fd(0x14f)](){const _0xd8d51d=a0_0x4986fd;return this['_raw'][_0xd8d51d(0x2f4)];}[a0_0x4986fd(0x1e5)](){const _0x12258d=a0_0x4986fd,_0x53ddf9=this[_0x12258d(0x119)](),_0x2724bf=_0x53ddf9?.[_0x12258d(0x3a0)],_0x25cad9={};return _0x25cad9[_0x12258d(0x349)]=_0x53ddf9?.[_0x12258d(0x349)],_0x25cad9['dbName']=_0x53ddf9?.[_0x12258d(0x2a9)]??_0x2724bf?.[_0x12258d(0x2a9)],_0x25cad9['dbType']=_0x2724bf?.[_0x12258d(0x227)],_0x25cad9[_0x12258d(0x360)]=_0x2724bf?.[_0x12258d(0x360)],_0x25cad9[_0x12258d(0x1ca)]=_0x53ddf9?.['tableName'],_0x25cad9[_0x12258d(0x3ba)]=_0x53ddf9?.['datasetKey'],_0x25cad9[_0x12258d(0x1a1)]=_0x53ddf9?.['pkField'],_0x25cad9[_0x12258d(0x10b)]=_0x2724bf?.['tenantCode'],_0x25cad9[_0x12258d(0x30c)]=_0x2724bf?.[_0x12258d(0x30c)],new DBConfig(_0x25cad9,_0x53ddf9);}get[a0_0x4986fd(0x317)](){const _0x46cb8f=a0_0x4986fd;return this[_0x46cb8f(0x283)][_0x46cb8f(0x317)];}[a0_0x4986fd(0x176)](_0x389aef){const _0x436e67=a0_0x4986fd;if(typeof _0x389aef!==_0x436e67(0x388)){!![]&&console['warn'](_0x436e67(0x298),_0x389aef);return;}return this[_0x436e67(0x303)]()['find'](_0x389aef);}[a0_0x4986fd(0x2eb)](_0x4cb054){const _0x3f0bc6=a0_0x4986fd;if(!_0x4cb054||typeof _0x4cb054!==_0x3f0bc6(0x236))return![];const _0x26b014=this[_0x3f0bc6(0x176)](_0x4cb054[_0x3f0bc6(0x3b7)]);return _0x26b014?_0x26b014['isMultipleSelect']():![];}[a0_0x4986fd(0x3a5)](){const _0x52492c=a0_0x4986fd,_0x3953e8=this['getOperation'](_0x52492c(0x276));return _0x3953e8;}[a0_0x4986fd(0x190)](){const _0x27b6ac=a0_0x4986fd;return this[_0x27b6ac(0x378)](_0x27b6ac(0x276));}[a0_0x4986fd(0x1bd)](){return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x4986fd(0x141)];['_datasetMeta'];[a0_0x4986fd(0x199)];constructor(_0x11ca89){const _0x4e1704=a0_0x4986fd;super(_0x11ca89),this[_0x4e1704(0x156)]=_0x11ca89[_0x4e1704(0x218)],this[_0x4e1704(0x199)]=_0x11ca89[_0x4e1704(0x1b8)]||[];}[a0_0x4986fd(0x294)](){return'v2';}[a0_0x4986fd(0x274)](){const _0x255e99=a0_0x4986fd,_0x3dc45c={};return _0x3dc45c[_0x255e99(0x26d)]=this[_0x255e99(0x283)][_0x255e99(0x26d)],_0x3dc45c[_0x255e99(0x211)]=![],_0x3dc45c;}[a0_0x4986fd(0x2c3)](){const _0x1ed685=a0_0x4986fd;return this[_0x1ed685(0x283)][_0x1ed685(0x15b)];}[a0_0x4986fd(0x14f)](){const _0x4a93ea=a0_0x4986fd;return this[_0x4a93ea(0x283)][_0x4a93ea(0x2f4)];}[a0_0x4986fd(0x1e5)](){const _0x5dd866=a0_0x4986fd,_0x4e43ac=this[_0x5dd866(0x283)][_0x5dd866(0x128)],_0x43263b=_0x4e43ac?.[_0x5dd866(0x3a0)],_0x6c95e9={};return _0x6c95e9['dbId']=_0x4e43ac?.[_0x5dd866(0x349)],_0x6c95e9[_0x5dd866(0x2a9)]=_0x4e43ac?.[_0x5dd866(0x2a9)]??_0x43263b?.[_0x5dd866(0x2a9)],_0x6c95e9['dbType']=_0x43263b?.['dbType'],_0x6c95e9[_0x5dd866(0x360)]=_0x43263b?.['dbVersion'],_0x6c95e9[_0x5dd866(0x1ca)]=_0x4e43ac?.[_0x5dd866(0x1ca)],_0x6c95e9[_0x5dd866(0x3ba)]=_0x4e43ac?.[_0x5dd866(0x3ba)],_0x6c95e9[_0x5dd866(0x1a1)]=_0x4e43ac?.['pkField'],_0x6c95e9[_0x5dd866(0x10b)]=_0x4e43ac?.[_0x5dd866(0x10b)]??_0x43263b?.[_0x5dd866(0x10b)],_0x6c95e9[_0x5dd866(0x30c)]=_0x4e43ac?.[_0x5dd866(0x30c)]??_0x43263b?.[_0x5dd866(0x30c)],new DBConfig(_0x6c95e9,_0x4e43ac);}[a0_0x4986fd(0x303)](){const _0xe16d21=a0_0x4986fd;return this[_0xe16d21(0x1b4)]();}['getFields'](){const _0x42155d=a0_0x4986fd;return this[_0x42155d(0x283)][_0x42155d(0x26d)];}['getFieldCount'](){const _0x5a97d9=a0_0x4986fd;return this['_raw'][_0x5a97d9(0x26d)][_0x5a97d9(0x338)];}['getFieldRaw'](_0x3370a4){const _0x501a5d=a0_0x4986fd;return this[_0x501a5d(0x283)][_0x501a5d(0x26d)]['find'](_0x3a3bce=>_0x3a3bce[_0x501a5d(0x30e)]===_0x3370a4);}[a0_0x4986fd(0x105)](){const _0x4c542c=a0_0x4986fd;return this[_0x4c542c(0x156)];}[a0_0x4986fd(0x269)](){const _0x3dea36=a0_0x4986fd;return this[_0x3dea36(0x199)];}[a0_0x4986fd(0x11c)](){const _0x36d8c5=a0_0x4986fd;return this[_0x36d8c5(0x156)][_0x36d8c5(0x17d)]||[];}[a0_0x4986fd(0x18e)](_0x1827f9){const _0x786cef=a0_0x4986fd;return this['_relations']['filter'](_0x4c45a1=>_0x4c45a1[_0x786cef(0x1f3)]===_0x1827f9);}['hasRelation'](_0x3346b8){const _0x16e66d=a0_0x4986fd;return this[_0x16e66d(0x199)][_0x16e66d(0x296)](_0x14d8d8=>_0x14d8d8[_0x16e66d(0x1f3)]===_0x3346b8);}[a0_0x4986fd(0x376)](_0x3ee487){const _0x40ca6b=a0_0x4986fd,_0x1042a6=this[_0x40ca6b(0x199)][_0x40ca6b(0x2b4)](_0x3c07b5=>_0x3c07b5[_0x40ca6b(0x1f3)]===_0x3ee487);if(!_0x1042a6)return;const _0x57fd5c={};return _0x57fd5c[_0x40ca6b(0x248)]=_0x1042a6[_0x40ca6b(0x2dd)],_0x57fd5c[_0x40ca6b(0x2e2)]=_0x1042a6[_0x40ca6b(0x11b)],_0x57fd5c[_0x40ca6b(0x2b8)]=_0x1042a6[_0x40ca6b(0x147)],_0x57fd5c[_0x40ca6b(0x1ca)]=_0x1042a6['toTableName'],_0x57fd5c[_0x40ca6b(0x2a0)]=_0x1042a6['toField'],_0x57fd5c;}[a0_0x4986fd(0x21e)](){const _0x584cd7=a0_0x4986fd;return this[_0x584cd7(0x199)]['map'](_0x242a2c=>_0x242a2c[_0x584cd7(0x1f3)]);}[a0_0x4986fd(0x1b4)](){const _0x580ae9=a0_0x4986fd;if(!this['_fieldListV2']){const _0x5de621=this[_0x580ae9(0x283)][_0x580ae9(0x26d)]||[];this['_fieldListV2']=new FieldListV2(_0x5de621);}return this[_0x580ae9(0x141)];}[a0_0x4986fd(0x176)](_0x48425c){const _0x584985=a0_0x4986fd;if(typeof _0x48425c!==_0x584985(0x388)){!![]&&console[_0x584985(0x27e)](_0x584985(0x104),_0x48425c);return;}return this[_0x584985(0x1b4)]()[_0x584985(0x2b4)](_0x48425c);}[a0_0x4986fd(0x2eb)](_0x55302d){const _0x2101d5=a0_0x4986fd;if(!_0x55302d||typeof _0x55302d!==_0x2101d5(0x236))return![];const _0x5c8701=_0x55302d[_0x2101d5(0x30e)]||_0x55302d['code'],_0x3cb52b=this[_0x2101d5(0x176)](_0x5c8701);return _0x3cb52b?_0x3cb52b[_0x2101d5(0x351)]():![];}[a0_0x4986fd(0x158)](){const _0x1256f0=a0_0x4986fd;if(!this[_0x1256f0(0x33a)]){const _0x5ebc63=this[_0x1256f0(0x311)](this[_0x1256f0(0x2c3)]()||{});this['_operationList']=new OperationList(_0x5ebc63,{'fields':this[_0x1256f0(0x1b4)]()[_0x1256f0(0x2af)](),'pkField':this[_0x1256f0(0x283)]['dbtableConfig']?.[_0x1256f0(0x1a1)],'dbtableConfig':this[_0x1256f0(0x283)][_0x1256f0(0x128)]||null});}return this['_operationList'];}[a0_0x4986fd(0x3a5)](){const _0x5ac0ed=a0_0x4986fd,_0xc48e17=this['getOperation'](_0x5ac0ed(0x276));return _0xc48e17;}[a0_0x4986fd(0x190)](){const _0x40b021=a0_0x4986fd;return this['hasOperation'](_0x40b021(0x276));}[a0_0x4986fd(0x1bd)](){const _0x5dc8e0=a0_0x4986fd;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x5dc8e0(0x119)]()});}[a0_0x4986fd(0x28a)](){const _0x5d65f7=a0_0x4986fd,_0xad5fe=this[_0x5d65f7(0x199)][_0x5d65f7(0x338)],_0x3904f0=this[_0x5d65f7(0x11c)]()[_0x5d65f7(0x338)];return _0x5d65f7(0x33b)+this[_0x5d65f7(0x30e)]+',\x20'+this[_0x5d65f7(0x2e2)]+',\x20'+this[_0x5d65f7(0x173)]()+_0x5d65f7(0x21f)+this['getOperationCount']()+_0x5d65f7(0x36e)+_0xad5fe+_0x5d65f7(0x217)+_0x3904f0+_0x5d65f7(0x3bf);}[a0_0x4986fd(0x22d)](){const _0x286eab=a0_0x4986fd;return this[_0x286eab(0x283)][_0x286eab(0x26d)];}[a0_0x4986fd(0x383)](_0x48831c){const _0x5891fd=a0_0x4986fd;return this[_0x5891fd(0x283)][_0x5891fd(0x26d)]['find'](_0x13d41e=>_0x13d41e[_0x5891fd(0x30e)]===_0x48831c);}}function detectDatasetVersion(_0x4126eb){const _0x50e71f=a0_0x4986fd;if(_0x4126eb[_0x50e71f(0x182)]==='v2'&&_0x50e71f(0x26d)in _0x4126eb&&Array[_0x50e71f(0x18f)](_0x4126eb['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x4986fd(0x1b6)];constructor(_0x734ba5){const _0xe773a3=a0_0x4986fd;super(_0x734ba5);const _0x4a1a2b=detectDatasetVersion(_0x734ba5);this[_0xe773a3(0x1b6)]=_0x4a1a2b==='v2'?new DrivenDataDetailV2(_0x734ba5):new DrivenDataDetailV1(_0x734ba5);}get['id'](){const _0xf14917=a0_0x4986fd;return this[_0xf14917(0x1b6)]['id'];}get[a0_0x4986fd(0x30e)](){const _0x4f1a4c=a0_0x4986fd;return this[_0x4f1a4c(0x1b6)][_0x4f1a4c(0x30e)];}get[a0_0x4986fd(0x2e2)](){const _0x20fd84=a0_0x4986fd;return this[_0x20fd84(0x1b6)][_0x20fd84(0x2e2)];}get[a0_0x4986fd(0x317)](){const _0x19109f=a0_0x4986fd;return this[_0x19109f(0x1b6)][_0x19109f(0x294)]()==='v2'?'2.0':'1.0';}['getVersion'](){const _0x14870f=a0_0x4986fd;return this[_0x14870f(0x1b6)]['getVersion']();}['getId'](){const _0x5c3895=a0_0x4986fd;return this[_0x5c3895(0x1b6)]['id'];}[a0_0x4986fd(0x1fd)](){const _0x5e2ec6=a0_0x4986fd;return this['_instance'][_0x5e2ec6(0x2e2)];}[a0_0x4986fd(0x1dd)](){return this['_instance']['name'];}[a0_0x4986fd(0x274)](){const _0x217bab=a0_0x4986fd;return this[_0x217bab(0x1b6)]['getFieldDataSource']();}[a0_0x4986fd(0x2c3)](){const _0x148717=a0_0x4986fd;return this[_0x148717(0x1b6)][_0x148717(0x2c3)]();}[a0_0x4986fd(0x14f)](){const _0xa5d44c=a0_0x4986fd;return this[_0xa5d44c(0x1b6)][_0xa5d44c(0x14f)]();}['getFieldListWithDeleted'](){const _0xb66abc=a0_0x4986fd;return this[_0xb66abc(0x1b6)]['getFieldListWithDeleted']();}[a0_0x4986fd(0x303)](){const _0x19f1d7=a0_0x4986fd;return this[_0x19f1d7(0x1b6)]['getFieldList']();}[a0_0x4986fd(0x2b9)](){const _0x56f200=a0_0x4986fd;return this[_0x56f200(0x1b6)][_0x56f200(0x2b9)]();}[a0_0x4986fd(0x1af)](){const _0x1762e4=a0_0x4986fd;return this[_0x1762e4(0x1b6)][_0x1762e4(0x1af)]();}[a0_0x4986fd(0x173)](){const _0x76b718=a0_0x4986fd;return this[_0x76b718(0x1b6)]['getFieldCount']();}['getPkField'](){const _0x3fac3a=a0_0x4986fd,_0x5d6589=this[_0x3fac3a(0x1b6)][_0x3fac3a(0x119)]();return _0x5d6589?.[_0x3fac3a(0x1a1)];}['getDBConfig'](){const _0x12b83b=a0_0x4986fd;return this[_0x12b83b(0x1b6)]['getDBConfig']();}[a0_0x4986fd(0x176)](_0x3f9e2b){const _0x5604ae=a0_0x4986fd;return this[_0x5604ae(0x1b6)]['getFieldInstance'](_0x3f9e2b);}[a0_0x4986fd(0x345)](){const _0x1d5b83=a0_0x4986fd;return this[_0x1d5b83(0x1b6)][_0x1d5b83(0x345)]();}[a0_0x4986fd(0x165)](){const _0x2398f3=a0_0x4986fd;return this[_0x2398f3(0x1b6)][_0x2398f3(0x165)]();}[a0_0x4986fd(0x2c7)](){const _0x130fe0=a0_0x4986fd;return this[_0x130fe0(0x1b6)][_0x130fe0(0x2c7)]();}[a0_0x4986fd(0x18a)](){const _0x4cee3a=a0_0x4986fd;return this[_0x4cee3a(0x1b6)]['getRequiredFields']();}[a0_0x4986fd(0x393)](){const _0x33ef0d=a0_0x4986fd;return this[_0x33ef0d(0x1b6)]['getFieldsByType']();}['getEnumFields'](){return this['_instance']['getEnumFields']();}[a0_0x4986fd(0x2bd)](){const _0x265f2a=a0_0x4986fd;return this[_0x265f2a(0x1b6)][_0x265f2a(0x2bd)]();}['getOperations'](){const _0x319d77=a0_0x4986fd;return this[_0x319d77(0x1b6)][_0x319d77(0x14c)]();}['getOperationCount'](){const _0x512f01=a0_0x4986fd;return this[_0x512f01(0x1b6)][_0x512f01(0x15e)]();}[a0_0x4986fd(0x362)](){const _0x3037b9=a0_0x4986fd;return this[_0x3037b9(0x1b6)][_0x3037b9(0x362)]();}[a0_0x4986fd(0x1ba)](){const _0x581fae=a0_0x4986fd;return this[_0x581fae(0x1b6)][_0x581fae(0x1ba)]();}[a0_0x4986fd(0x118)](){const _0x361660=a0_0x4986fd;return this[_0x361660(0x1b6)]['getEnabledOperationInstances']();}[a0_0x4986fd(0x321)](){return this['_instance']['getDisabledOperationInstances']();}[a0_0x4986fd(0x151)](){const _0x169278=a0_0x4986fd;return this[_0x169278(0x1b6)][_0x169278(0x151)]();}['getDatasetMeta'](){return this['_instance']['getDatasetMeta']();}['getRelations'](){const _0x2fc888=a0_0x4986fd;return this[_0x2fc888(0x1b6)]['getRelations']();}[a0_0x4986fd(0x11c)](){const _0xb8e6bf=a0_0x4986fd;return this[_0xb8e6bf(0x1b6)]['getIndexes']();}['getFilterOperators'](){const _0x1a914a=a0_0x4986fd;return this[_0x1a914a(0x1b6)][_0x1a914a(0x251)]();}['getFieldsFilterOperatorsMap'](){const _0x53e719=a0_0x4986fd;return this[_0x53e719(0x1b6)][_0x53e719(0x17a)]();}['toJSON'](){const _0x477974=a0_0x4986fd;return this[_0x477974(0x1b6)][_0x477974(0x171)]();}['getFilterOperation'](){const _0x5f4125=a0_0x4986fd;return this[_0x5f4125(0x1b6)]['getFilterOperation']();}[a0_0x4986fd(0x190)](){const _0x19c799=a0_0x4986fd;return this[_0x19c799(0x1b6)][_0x19c799(0x190)]();}[a0_0x4986fd(0x1bd)](){return this['_instance']['toListItem']();}[a0_0x4986fd(0x28a)](){const _0x20e6f2=a0_0x4986fd;return this[_0x20e6f2(0x1b6)][_0x20e6f2(0x28a)]();}[a0_0x4986fd(0x313)](){const _0x49a085=a0_0x4986fd;return this[_0x49a085(0x1b6)];}}function detectDatasetVersion2(_0x3b7add){const _0x3db174=a0_0x4986fd;if(_0x3b7add[_0x3db174(0x182)]==='v2'&&'fields'in _0x3b7add&&Array['isArray'](_0x3b7add[_0x3db174(0x26d)]))return'v2';return'v1';}function createDrivenDataDetail(_0x9cd481,_0xbb9e79={}){const {forceVersion:_0x45e107}=_0xbb9e79;if(_0x45e107==='v2')return new DrivenDataDetailV2(_0x9cd481);if(_0x45e107==='v1')return new DrivenDataDetailV1(_0x9cd481);const _0x437fac=detectDatasetVersion2(_0x9cd481);if(_0x437fac==='v2')return new DrivenDataDetailV2(_0x9cd481);return new DrivenDataDetailV1(_0x9cd481);}function isV2Data(_0x55fcfa){return detectDatasetVersion2(_0x55fcfa)==='v2';}function isV1Data(_0x21beff){return detectDatasetVersion2(_0x21beff)==='v1';}function isV2Instance(_0x2d59d5){return _0x2d59d5['getVersion']()==='v2';}function isV1Instance(_0x290ab8){return _0x290ab8['getVersion']()==='v1';}class DatasetGroup{['items'];constructor(_0x1cb3ee){const _0x100d52=a0_0x4986fd;this[_0x100d52(0x2a4)]=Array[_0x100d52(0x18f)](_0x1cb3ee)?[..._0x1cb3ee]:[_0x1cb3ee],this[_0x100d52(0x2a4)]['sort']((_0xf13757,_0x1d90f4)=>{const _0x138d41=Number(_0xf13757['id'])||0x0,_0x19bc0d=Number(_0x1d90f4['id'])||0x0;return _0x19bc0d-_0x138d41;});}[a0_0x4986fd(0x134)](){const _0x4a446a=a0_0x4986fd;return this[_0x4a446a(0x2a4)][_0x4a446a(0x338)]>0x1;}[a0_0x4986fd(0x2e8)](){const _0x2091be=a0_0x4986fd;return this[_0x2091be(0x2a4)][0x0];}[a0_0x4986fd(0x389)](){return this['items'][this['items']['length']-0x1];}[a0_0x4986fd(0x1a7)](){return[...this['items']];}[a0_0x4986fd(0x2d8)](){return this['items']['length'];}[a0_0x4986fd(0x192)](_0x567865){const _0x1467ce=a0_0x4986fd;return this[_0x1467ce(0x2a4)][_0x567865];}[a0_0x4986fd(0x2ac)](_0x1161ec){const _0x1bbf44=a0_0x4986fd;return this['items'][_0x1bbf44(0x2b4)](_0x4908c6=>_0x4908c6['id']===_0x1161ec);}[a0_0x4986fd(0x36f)](_0x5d8865){const _0x5f45b8=a0_0x4986fd;return this[_0x5f45b8(0x2a4)]['find'](_0x5d8421=>_0x5d8421[_0x5f45b8(0x2e2)]===_0x5d8865);}[a0_0x4986fd(0x2b6)](){const _0x5caf43=a0_0x4986fd;return this[_0x5caf43(0x2a4)][_0x5caf43(0x30d)](_0x3399cd=>_0x3399cd['id'])[_0x5caf43(0x276)](_0x1061ed=>_0x1061ed!==undefined);}[a0_0x4986fd(0x2a1)](){const _0x463371=a0_0x4986fd;return this['items'][_0x463371(0x30d)](_0x3a4a33=>_0x3a4a33[_0x463371(0x2e2)]);}[a0_0x4986fd(0x28a)](){const _0x4284cb=a0_0x4986fd;if(this[_0x4284cb(0x134)]())return _0x4284cb(0x13f)+this['items'][_0x4284cb(0x338)]+_0x4284cb(0x226)+this[_0x4284cb(0x2e8)]()[_0x4284cb(0x30e)]+')';return _0x4284cb(0x13f)+this[_0x4284cb(0x2a4)][0x0]['name']+')';}}class DatasetGroupMap{[a0_0x4986fd(0x35b)];constructor(_0x498b4c){const _0x2be2d6=a0_0x4986fd;this['groups']=new Map();for(const _0x22364d of _0x498b4c){const _0x3b12c0=getTableKey(_0x22364d);if(!this[_0x2be2d6(0x35b)][_0x2be2d6(0x27a)](_0x3b12c0))this['groups'][_0x2be2d6(0x2d7)](_0x3b12c0,new DatasetGroup(_0x22364d));else{const _0x4cb5c5=this[_0x2be2d6(0x35b)][_0x2be2d6(0x161)](_0x3b12c0),_0xbfbb1b=[..._0x4cb5c5[_0x2be2d6(0x1a7)](),_0x22364d];this[_0x2be2d6(0x35b)][_0x2be2d6(0x2d7)](_0x3b12c0,new DatasetGroup(_0xbfbb1b));}}}[a0_0x4986fd(0x161)](_0x333a77){const _0xaf723=a0_0x4986fd;return this['groups'][_0xaf723(0x161)](_0x333a77);}[a0_0x4986fd(0x27a)](_0x550b0e){const _0x53ab98=a0_0x4986fd;return this[_0x53ab98(0x35b)][_0x53ab98(0x27a)](_0x550b0e);}get['size'](){const _0xc8424e=a0_0x4986fd;return this[_0xc8424e(0x35b)][_0xc8424e(0x38d)];}[a0_0x4986fd(0x1b1)](){const _0x72e88c=a0_0x4986fd;return this[_0x72e88c(0x35b)][_0x72e88c(0x1b1)]();}[a0_0x4986fd(0x2d4)](){const _0xc8719b=a0_0x4986fd;return this[_0xc8719b(0x35b)][_0xc8719b(0x2d4)]();}[a0_0x4986fd(0x353)](){const _0x13217f=a0_0x4986fd;return this[_0x13217f(0x35b)][_0x13217f(0x353)]();}[Symbol['iterator']](){const _0x40853a=a0_0x4986fd;return this[_0x40853a(0x35b)]['entries']();}[a0_0x4986fd(0x31a)](_0x37120d){const _0x20d51d=a0_0x4986fd;this[_0x20d51d(0x35b)][_0x20d51d(0x31a)]((_0x3d153e,_0x15e2b0)=>_0x37120d(_0x3d153e,_0x15e2b0,this));}['getConflicts'](){const _0x4ae0e7=a0_0x4986fd,_0xb2260a=new Map();for(const [_0x5d708a,_0x285a15]of this[_0x4ae0e7(0x35b)]){_0x285a15[_0x4ae0e7(0x134)]()&&_0xb2260a['set'](_0x5d708a,_0x285a15);}return _0xb2260a;}[a0_0x4986fd(0x287)](){const _0x104d7=a0_0x4986fd;for(const _0x1b7950 of this[_0x104d7(0x35b)]['values']()){if(_0x1b7950[_0x104d7(0x134)]())return!![];}return![];}['getConflictStats'](){const _0x6c373f=a0_0x4986fd;let _0x589c99=0x0,_0x34ea20=0x0;for(const _0x8b09d2 of this[_0x6c373f(0x35b)][_0x6c373f(0x2d4)]()){_0x8b09d2[_0x6c373f(0x134)]()&&(_0x589c99++,_0x34ea20+=_0x8b09d2['getCount']());}const _0x252c74={};return _0x252c74[_0x6c373f(0x16e)]=_0x589c99,_0x252c74[_0x6c373f(0x19c)]=_0x34ea20,_0x252c74[_0x6c373f(0x31f)]=this[_0x6c373f(0x35b)]['size'],_0x252c74;}['getAllDatasets'](){const _0x13f212=a0_0x4986fd,_0x489caa=[];for(const _0x1eb069 of this[_0x13f212(0x35b)][_0x13f212(0x2d4)]()){_0x489caa[_0x13f212(0x279)](..._0x1eb069['getAll']());}return _0x489caa;}[a0_0x4986fd(0x26c)](){const _0x439336=a0_0x4986fd,_0x481723=[];for(const _0x3de161 of this[_0x439336(0x35b)][_0x439336(0x2d4)]()){_0x481723[_0x439336(0x279)](_0x3de161[_0x439336(0x2e8)]());}return _0x481723;}[a0_0x4986fd(0x2e8)](_0xdb68f5){const _0x3237d4=a0_0x4986fd;return this[_0x3237d4(0x35b)]['get'](_0xdb68f5)?.[_0x3237d4(0x2e8)]();}['getAll'](_0x2ea2cf){const _0x602dc3=a0_0x4986fd;return this[_0x602dc3(0x35b)][_0x602dc3(0x161)](_0x2ea2cf)?.[_0x602dc3(0x1a7)]()||[];}[a0_0x4986fd(0x32f)](){const _0x3f2a82=a0_0x4986fd,_0x1440e2=this[_0x3f2a82(0x26c)](),_0x2a762d=_0x1440e2[_0x3f2a82(0x30d)](_0x2519dc=>_0x2519dc[_0x3f2a82(0x171)]()),_0x4f6457={};return _0x4f6457[_0x3f2a82(0x23e)]=![],generateDatasetsConfig(_0x2a762d,_0x4f6457);}['toFullConfig'](){const _0x5538a7=a0_0x4986fd,_0x400f0f=this[_0x5538a7(0x373)](),_0x4e3af3=_0x400f0f[_0x5538a7(0x30d)](_0x3ea664=>_0x3ea664[_0x5538a7(0x171)]());return generateFullDatasetsConfig(_0x4e3af3);}[a0_0x4986fd(0x18c)](){const _0x411f78={};for(const [_0x35cc67,_0x3792d4]of this['groups']){_0x411f78[_0x35cc67]=_0x3792d4;}return _0x411f78;}[a0_0x4986fd(0x171)](){const _0x638882=a0_0x4986fd,_0xd41b7e={};for(const [_0x1ca16b,_0x23170d]of this['groups']){_0xd41b7e[_0x1ca16b]=_0x23170d[_0x638882(0x1a7)]()[_0x638882(0x30d)](_0x533e7d=>_0x533e7d[_0x638882(0x171)]());}return _0xd41b7e;}[a0_0x4986fd(0x28a)](){const _0x82bd9a=a0_0x4986fd;return _0x82bd9a(0x322)+this[_0x82bd9a(0x35b)][_0x82bd9a(0x38d)]+_0x82bd9a(0x2df)+(this['hasConflicts']()?_0x82bd9a(0x312):_0x82bd9a(0x114))+')';}}class DatasetList{[a0_0x4986fd(0x2a7)];constructor(_0x19d309){const _0xc36274=a0_0x4986fd;let _0x34fa1f;if(Array[_0xc36274(0x18f)](_0x19d309))_0x34fa1f=_0x19d309;else{if(_0xc36274(0x399)in _0x19d309){if(!_0x19d309['success'])throw new Error(_0xc36274(0x212));if(Array['isArray'](_0x19d309[_0xc36274(0x3b5)]))_0x34fa1f=_0x19d309[_0xc36274(0x3b5)][_0xc36274(0x30d)](_0xf49ad5=>({..._0xf49ad5,'datasetCode':_0xf49ad5[_0xc36274(0x3b7)]||_0xf49ad5[_0xc36274(0x2e2)]}));else{if(_0x19d309['data']?.[_0xc36274(0x148)])_0x34fa1f=_0x19d309['data'][_0xc36274(0x148)][_0xc36274(0x30d)](_0x7f6a2c=>({..._0x7f6a2c,'datasetCode':_0x7f6a2c['code']||_0x7f6a2c[_0xc36274(0x2e2)]}));else throw new Error(_0xc36274(0x288));}}else{if('tableData'in _0x19d309){if(!Array[_0xc36274(0x18f)](_0x19d309[_0xc36274(0x148)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0x34fa1f=_0x19d309['tableData'][_0xc36274(0x30d)](_0x33a718=>({..._0x33a718,'datasetCode':_0x33a718[_0xc36274(0x3b7)]||_0x33a718[_0xc36274(0x2e2)]}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse');}}const _0x329a07=cleanDatasetNames(_0x34fa1f),_0x17b3bb=_0x329a07[_0xc36274(0x30d)](_0x123987=>new DatasetItem(_0x123987));this[_0xc36274(0x2a7)]=new DatasetGroupMap(_0x17b3bb);}get['datasetMap'](){const _0x1f2da0=a0_0x4986fd;return this[_0x1f2da0(0x2a7)];}[a0_0x4986fd(0x25d)](){const _0x125002=a0_0x4986fd;return this[_0x125002(0x2a7)]['getAllDatasets']();}[a0_0x4986fd(0x2d8)](){const _0x365527=a0_0x4986fd;return this[_0x365527(0x25d)]()[_0x365527(0x338)];}[a0_0x4986fd(0x318)](){const _0x2a68c9=a0_0x4986fd;return this[_0x2a68c9(0x2a7)][_0x2a68c9(0x38d)]===0x0;}['getAt'](_0x2dc40f){const _0x4f42c9=a0_0x4986fd;return this[_0x4f42c9(0x25d)]()[_0x2dc40f];}['getFirst'](){const _0x2276a7=a0_0x4986fd;return this[_0x2276a7(0x25d)]()[0x0];}[a0_0x4986fd(0x1ae)](){const _0x1d4680=a0_0x4986fd,_0x3ad9d6=this[_0x1d4680(0x25d)]();return _0x3ad9d6[_0x3ad9d6[_0x1d4680(0x338)]-0x1];}[a0_0x4986fd(0x36f)](_0x503955){const _0x34095f=a0_0x4986fd;for(const _0x4dfa05 of this[_0x34095f(0x2a7)][_0x34095f(0x2d4)]()){const _0x3a2b5e=_0x4dfa05[_0x34095f(0x36f)](_0x503955);if(_0x3a2b5e)return _0x3a2b5e;}return;}[a0_0x4986fd(0x20f)](_0x52df3c){const _0x187018=a0_0x4986fd;return this['getItems']()[_0x187018(0x2b4)](_0x1e9594=>_0x1e9594[_0x187018(0x30e)]===_0x52df3c);}[a0_0x4986fd(0x2ac)](_0x1bf210){const _0x268bf1=a0_0x4986fd;for(const _0x19dfa2 of this[_0x268bf1(0x2a7)]['values']()){const _0x26faf4=_0x19dfa2[_0x268bf1(0x2ac)](_0x1bf210);if(_0x26faf4)return _0x26faf4;}return;}[a0_0x4986fd(0x14a)](_0x2fa42d){const _0x44f682=a0_0x4986fd,_0x541bde=getTableKey(_0x2fa42d);return this[_0x44f682(0x2a7)][_0x44f682(0x2e8)](_0x541bde);}['filter'](_0x4887de){const _0x30f51e=a0_0x4986fd,_0x421e00=this[_0x30f51e(0x25d)]()[_0x30f51e(0x276)](_0x4887de);return new DatasetList(_0x421e00[_0x30f51e(0x30d)](_0x3c379b=>_0x3c379b[_0x30f51e(0x171)]()));}[a0_0x4986fd(0x266)](_0x326fa9){const _0x682269=a0_0x4986fd;return this[_0x682269(0x25d)]()['filter'](_0x326fa9);}[a0_0x4986fd(0x31a)](_0x32ae5e){const _0x193b6d=a0_0x4986fd;this['getItems']()[_0x193b6d(0x31a)](_0x32ae5e);}[a0_0x4986fd(0x30d)](_0x25608e){const _0xe1374c=a0_0x4986fd;return this['getItems']()[_0xe1374c(0x30d)](_0x25608e);}[Symbol[a0_0x4986fd(0x263)]](){const _0x9857fd=a0_0x4986fd;return this['getItems']()[Symbol[_0x9857fd(0x263)]]();}[a0_0x4986fd(0x343)](){const _0x318114=a0_0x4986fd;return this[_0x318114(0x25d)]()['filter'](_0x465e86=>_0x465e86[_0x318114(0x1d9)]());}['getRealTables'](){const _0x15d757=a0_0x4986fd;return this[_0x15d757(0x25d)]()[_0x15d757(0x276)](_0x299a7=>!_0x299a7[_0x15d757(0x1d9)]());}[a0_0x4986fd(0x10e)](){const _0xf1c71a=a0_0x4986fd,_0x311f05={};for(const _0x528895 of this['_datasetMap']['values']()){const _0x4f00fd=_0x528895[_0xf1c71a(0x2e8)]()[_0xf1c71a(0x13e)]();_0x311f05[_0x4f00fd]=_0x528895[_0xf1c71a(0x1a7)]();}return _0x311f05;}[a0_0x4986fd(0x377)](){const _0x4f36b3=a0_0x4986fd,_0x20bf4b={};for(const _0x1e8ed2 of this[_0x4f36b3(0x2a7)][_0x4f36b3(0x2d5)]()[_0x4f36b3(0x2d4)]()){const _0x24d63d=_0x1e8ed2['getLatest']()['getTableName']();_0x20bf4b[_0x24d63d]=_0x1e8ed2[_0x4f36b3(0x1a7)]()[_0x4f36b3(0x30d)](_0x4a8208=>_0x4a8208[_0x4f36b3(0x171)]());}return{'hasConflicts':Object[_0x4f36b3(0x1b1)](_0x20bf4b)[_0x4f36b3(0x338)]>0x0,'conflicts':_0x20bf4b};}[a0_0x4986fd(0x287)](){const _0x38a82b=a0_0x4986fd;return this[_0x38a82b(0x2a7)][_0x38a82b(0x287)]();}['getConflictingItems'](){const _0x5dd6ed=a0_0x4986fd,_0x42dcf8=[];for(const _0x2c64bc of this[_0x5dd6ed(0x2a7)]['getConflicts']()[_0x5dd6ed(0x2d4)]()){_0x42dcf8[_0x5dd6ed(0x279)](..._0x2c64bc[_0x5dd6ed(0x1a7)]());}return _0x42dcf8;}[a0_0x4986fd(0x194)](_0x239ea5){const _0x12330f=a0_0x4986fd;if(!_0x239ea5||Object[_0x12330f(0x1b1)](_0x239ea5)[_0x12330f(0x338)]===0x0)return this[_0x12330f(0x262)][_0x12330f(0x32f)]();const _0x544ae9=this[_0x12330f(0x25d)]()['map'](_0x2dc92a=>_0x2dc92a[_0x12330f(0x171)]());return generateDatasetsConfig(_0x544ae9,_0x239ea5);}[a0_0x4986fd(0x366)](_0x18e9f4){const _0xace7ac=this['generateConfig'](_0x18e9f4);return datasetsConfigToArray(_0xace7ac);}[a0_0x4986fd(0x197)](){const _0x24a8de=a0_0x4986fd;return this['getItems']()[_0x24a8de(0x30d)](_0x5adc02=>_0x5adc02[_0x24a8de(0x32f)]());}[a0_0x4986fd(0x151)](){const _0xdfa085=a0_0x4986fd;return{'total':this['getCount'](),'virtualTables':this['getVirtualTables']()[_0xdfa085(0x338)],'realTables':this[_0xdfa085(0x368)]()['length'],'hasConflicts':this[_0xdfa085(0x287)](),'conflictCount':this[_0xdfa085(0x243)]()[_0xdfa085(0x338)]};}[a0_0x4986fd(0x23f)](){const _0x55041f=a0_0x4986fd;return this['getItems']()['map'](_0x2905dd=>_0x2905dd[_0x55041f(0x171)]());}['toJSON'](){return this['toArray']();}[a0_0x4986fd(0x28a)](){const _0xcddd9b=a0_0x4986fd;return _0xcddd9b(0x339)+this[_0xcddd9b(0x2d8)]()+_0xcddd9b(0x131)+this[_0xcddd9b(0x2a7)]['size']+'\x20groups)';}static[a0_0x4986fd(0x19f)](_0x42d2cc){return new DatasetList(_0x42d2cc);}static[a0_0x4986fd(0x3b9)](_0x12d03b){return new DatasetList(_0x12d03b);}static[a0_0x4986fd(0x232)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x4986fd(0x241);function renderTemplate(_0x229ded,_0x52cfd8,_0xddd68a={}){const _0x21ec98=a0_0x4986fd;let _0x112fbf=_0x229ded;return Object[_0x21ec98(0x353)](_0xddd68a)[_0x21ec98(0x31a)](([_0x1d5c45,_0x2bbec8])=>{const _0x513a24=_0x21ec98,_0x4cb511=new RegExp(_0x513a24(0x2aa)+_0x1d5c45+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x112fbf=_0x112fbf[_0x513a24(0x15c)](_0x4cb511,_0x2bbec8?'$1':'');}),Object[_0x21ec98(0x353)](_0x52cfd8)['forEach'](([_0x1db96b,_0x2be9e6])=>{const _0x1b9f0a=_0x21ec98;if(_0x2be9e6!==undefined){const _0xaf35cd=new RegExp('\x5c{\x5c{'+_0x1db96b+_0x1b9f0a(0x2cb),'g');_0x112fbf=_0x112fbf[_0x1b9f0a(0x15c)](_0xaf35cd,_0x2be9e6);}}),_0x112fbf;}function generateSDKInitCode(_0x410fa3,_0x465706,_0x5eff05,_0x1a8768,_0x588bd8){const _0x44e57a=a0_0x4986fd,_0x19f8ed={};_0x19f8ed[_0x44e57a(0x30c)]=_0x410fa3,_0x19f8ed[_0x44e57a(0x2e2)]=_0x465706,_0x19f8ed['alias']=_0x5eff05,_0x19f8ed[_0x44e57a(0x11e)]=_0x1a8768==='daily'?'daily':undefined;const _0x57ef85={};return _0x57ef85[_0x44e57a(0x11e)]=_0x1a8768!==undefined&&_0x1a8768!==_0x44e57a(0x3a6),_0x57ef85['isOpenAPI']=_0x588bd8===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x19f8ed,_0x57ef85);}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 generateAliasExplanation(_0x26160a,_0x15b825,_0x5eb2d5,_0x3776f8){const _0x7174a0=a0_0x4986fd,_0x47f491='dataset_'+_0x26160a,_0x22701f=_0x7174a0(0x1bf),_0x154460={};return _0x154460[_0x7174a0(0x2e2)]=_0x26160a,_0x154460['datasetSDKKey']=_0x47f491,_0x154460[_0x7174a0(0x1ca)]=_0x15b825,_0x154460[_0x7174a0(0x28e)]=_0x5eb2d5,_0x154460[_0x7174a0(0x30c)]=_0x3776f8,_0x154460[_0x7174a0(0x255)]=_0x22701f,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x154460,{});}function DrivenDataDetailPlusMixin(_0x144689){const _0x56ac75=a0_0x4986fd;return class _0x3738ef extends _0x144689{[_0x56ac75(0x3a2)](_0x33f206){const _0x2be04e=_0x56ac75;return{'appCode':_0x33f206,'datasetSDKKey':this['getDatasetSDKKey'](),'alias':this['getModelAlias'](),'tableName':this[_0x2be04e(0x13e)](),'datasetCode':this[_0x2be04e(0x2e2)]};}[_0x56ac75(0x350)](_0x4d0837,_0x51412b=_0x56ac75(0x3a6),_0x585bba=![]){const _0x19e789=_0x56ac75;return generateSDKInitCode(_0x4d0837,this[_0x19e789(0x2e2)],this[_0x19e789(0x29c)](),_0x51412b==='daily'?_0x51412b:undefined,_0x585bba);}['generateFullSDKExample'](_0x43abd6,_0x116496,_0x488d2f={}){const _0x1aafce=_0x56ac75,_0x4a2ad7=this[_0x1aafce(0x14c)]()[_0x1aafce(0x2b4)](_0x436e18=>_0x436e18[_0x1aafce(0x1dd)]()===_0x43abd6);if(!_0x4a2ad7)return null;const _0x2e7227={};_0x2e7227[_0x1aafce(0x1a6)]=_0x488d2f[_0x1aafce(0x305)]!==![];const _0x284aa2=this['getOperationDocMeta'](_0x43abd6,_0x2e7227);if(!_0x284aa2)return null;const _0x1036fc=[];return _0x1036fc[_0x1aafce(0x279)](_0x1aafce(0x310)+_0x4a2ad7['getName']()+_0x1aafce(0x35a)),_0x1036fc[_0x1aafce(0x279)](_0x284aa2[_0x1aafce(0x327)]['code']),_0x1036fc[_0x1aafce(0x279)](''),_0x488d2f['includeUsageExample']!==![]&&(_0x1036fc[_0x1aafce(0x279)](_0x1aafce(0x1e3)),_0x1036fc[_0x1aafce(0x279)](_0x284aa2[_0x1aafce(0x394)][_0x1aafce(0x1c9)]),_0x1036fc[_0x1aafce(0x279)](''),_0x1036fc[_0x1aafce(0x279)](_0x284aa2['usageExample'][_0x1aafce(0x2e5)])),_0x1036fc[_0x1aafce(0x348)]('\x0a');}[_0x56ac75(0x196)](_0x527926={}){const _0x3f4bb7=_0x56ac75,_0x256135=this[_0x3f4bb7(0x189)](),_0x3274c8=[];return _0x256135[_0x3f4bb7(0x31a)]((_0x219f69,_0x224125)=>{const _0x1b1b28=_0x3f4bb7,_0x5c316f=this['generateFullSDKExample'](_0x219f69[_0x1b1b28(0x30e)],'demo-app',_0x527926);_0x5c316f&&(_0x3274c8[_0x1b1b28(0x279)](_0x1b1b28(0x2ee)+(_0x224125+0x1)+'.\x20'+_0x219f69[_0x1b1b28(0x12f)]),_0x3274c8[_0x1b1b28(0x279)](_0x5c316f),_0x3274c8[_0x1b1b28(0x279)](''));}),_0x3274c8[_0x3f4bb7(0x348)]('\x0a');}[_0x56ac75(0x35e)](_0x47f671){const _0x888a69=_0x56ac75,_0x3da2d7=this['getOperationAnalysis'](_0x47f671);if(!_0x3da2d7)return null;const _0x22131d={};return _0x22131d[_0x888a69(0x30e)]=_0x3da2d7[_0x888a69(0x30e)],_0x22131d[_0x888a69(0x12f)]=_0x3da2d7['displayName'],_0x22131d['method']=_0x3da2d7['method'],_0x22131d[_0x888a69(0x1f1)]=_0x3da2d7[_0x888a69(0x1f1)],_0x22131d[_0x888a69(0x1ac)]=_0x3da2d7['enabled'],_0x22131d[_0x888a69(0x2b1)]=_0x3da2d7[_0x888a69(0x113)]['length'],_0x22131d[_0x888a69(0x2da)]=_0x3da2d7['responseSchema']!==null,_0x22131d;}[_0x56ac75(0x2ae)](_0x2a48fc={}){const _0x35e6ec=_0x56ac75,_0x299a3f=this[_0x35e6ec(0x189)]();return{'datasetName':this[_0x35e6ec(0x30e)],'datasetCode':this[_0x35e6ec(0x2e2)],'tableName':this['getTableName'](),'totalOperations':_0x299a3f[_0x35e6ec(0x338)],'operations':_0x299a3f[_0x35e6ec(0x30d)](_0x4428e9=>({'name':_0x4428e9[_0x35e6ec(0x30e)],'displayName':_0x4428e9[_0x35e6ec(0x12f)],'method':_0x4428e9[_0x35e6ec(0x2fc)],'enabled':_0x4428e9[_0x35e6ec(0x1ac)]}))};}[_0x56ac75(0x1fe)](_0x3c306a){const _0x3d503c=_0x56ac75,_0xf2fe05=this[_0x3d503c(0x11f)](_0x3c306a);if(!_0xf2fe05)return[];return _0xf2fe05[_0x3d503c(0x113)][_0x3d503c(0x30d)](_0x1c38c1=>{const _0x4607cb=_0x3d503c,_0x1a23ca=this[_0x4607cb(0x176)](_0x1c38c1);if(!_0x1a23ca)return null;const _0x13fbdf={};return _0x13fbdf[_0x4607cb(0x3b7)]=_0x1c38c1,_0x13fbdf[_0x4607cb(0x30e)]=_0x1a23ca[_0x4607cb(0x30e)]||_0x1c38c1,_0x13fbdf;})[_0x3d503c(0x276)](_0xac6425=>_0xac6425!==null);}[_0x56ac75(0x36c)](){const _0x596f9b=_0x56ac75,_0x1697ff=new Set(this['getEnabledOperationAnalyses']()['map'](_0x20f97c=>String(_0x20f97c[_0x596f9b(0x186)]))),_0x50b3d2=[_0x596f9b(0x38a),_0x596f9b(0x208),'update',_0x596f9b(0x270)];return _0x50b3d2[_0x596f9b(0x276)](_0x27f829=>!_0x1697ff['has'](String(_0x27f829)));}[_0x56ac75(0x1c7)](_0x5165a5=_0x56ac75(0x123)){const _0x45026a=_0x56ac75;return generateAliasExplanation(this[_0x45026a(0x2e2)],this['getTableName'](),this['getModelAlias'](),_0x5165a5);}};}function operationToAnalysis(_0x2fab36){const _0x1b0f74=a0_0x4986fd;return{'name':_0x2fab36[_0x1b0f74(0x1dd)](),'displayName':_0x2fab36[_0x1b0f74(0x240)](),'type':_0x2fab36[_0x1b0f74(0x252)](),'method':_0x2fab36['getMethod'](),'path':_0x2fab36['getPath'](),'fullUrl':_0x2fab36['getFullUrl'](),'requestFields':_0x2fab36[_0x1b0f74(0x281)](),'requestParams':_0x2fab36[_0x1b0f74(0x12d)](),'responseSchema':_0x2fab36['getResponseSchema'](),'requestExample':_0x2fab36['generateRequestExample'](),'responseExample':_0x2fab36[_0x1b0f74(0x1d2)](),'enabled':_0x2fab36[_0x1b0f74(0x282)]()};}function operationsToAnalyses(_0x364cb7){const _0x13b912=a0_0x4986fd;if(!Array[_0x13b912(0x18f)](_0x364cb7))return!![]&&console[_0x13b912(0x27e)](_0x13b912(0x2c9),_0x364cb7),[];return _0x364cb7['map'](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x2162b2){const _0x34ecc2=a0_0x4986fd,_0x5f21a0=_0x2162b2['find'](_0x15f089=>_0x15f089[_0x34ecc2(0x30e)]===_0x34ecc2(0x276)),_0x2ddb0b=_0x2162b2[_0x34ecc2(0x276)](_0xde52ba=>_0xde52ba[_0x34ecc2(0x30e)]!==_0x34ecc2(0x276));return _0x5f21a0?[_0x5f21a0,..._0x2ddb0b]:_0x2ddb0b;}function filterOperationAnalyses(_0x478f4e,_0x36db24={}){const _0x157fc3=a0_0x4986fd;let _0x18d79a=_0x478f4e;return!_0x36db24[_0x157fc3(0x1a5)]&&(_0x18d79a=_0x18d79a[_0x157fc3(0x276)](_0x1e1b09=>_0x1e1b09[_0x157fc3(0x1ac)])),_0x36db24['filterBlacklist']!==![]&&(_0x18d79a=filterApiOperations(_0x18d79a)),_0x36db24[_0x157fc3(0x3b6)]&&(_0x18d79a=_0x18d79a['filter'](_0x36db24[_0x157fc3(0x3b6)])),sortOperationsWithFilterFirst(_0x18d79a);}function getOperationStats(_0x29634e){const _0x4244d0=a0_0x4986fd,_0x1e758b=_0x29634e['filter'](_0x3a4457=>_0x3a4457[_0x4244d0(0x1ac)]);return{'total':_0x29634e[_0x4244d0(0x338)],'enabled':_0x1e758b['length'],'disabled':_0x29634e['length']-_0x1e758b[_0x4244d0(0x338)],'byType':getCountByType(_0x1e758b),'byMethod':getCountByMethod(_0x1e758b)};}function getCountByType(_0x81491f){const _0x13ec9b=a0_0x4986fd,_0x379138={};return _0x81491f[_0x13ec9b(0x31a)](_0x5c8bb8=>{const _0x326375=_0x13ec9b;if(_0x5c8bb8['type'])_0x379138[_0x5c8bb8[_0x326375(0x186)]]=(_0x379138[_0x5c8bb8['type']]||0x0)+0x1;}),_0x379138;}function getCountByMethod(_0x1b2fd5){const _0x1eec0d=a0_0x4986fd,_0x2c0f68={};return _0x1b2fd5[_0x1eec0d(0x31a)](_0x25235e=>{const _0xa37836=_0x1eec0d;_0x2c0f68[_0x25235e[_0xa37836(0x2fc)]]=(_0x2c0f68[_0x25235e[_0xa37836(0x2fc)]]||0x0)+0x1;}),_0x2c0f68;}function supportsCRUD(_0x5791f0){const _0x5a382c=a0_0x4986fd,_0x1550dc=new Set(_0x5791f0[_0x5a382c(0x30d)](_0x1c270d=>_0x1c270d[_0x5a382c(0x186)])[_0x5a382c(0x276)](Boolean));return _0x1550dc[_0x5a382c(0x27a)](_0x5a382c(0x38a))&&_0x1550dc[_0x5a382c(0x27a)]('getList')&&_0x1550dc['has'](_0x5a382c(0x1c5))&&_0x1550dc[_0x5a382c(0x27a)](_0x5a382c(0x270));}function createOperationDocMeta(_0x51845e,_0x172d61,_0x5b7c0e,_0x502da5,_0x44bdaf,_0x4c29e7){const _0x6cc899=a0_0x4986fd,_0x52c928={};return _0x52c928[_0x6cc899(0x1a6)]=_0x4c29e7?.[_0x6cc899(0x1a6)],{'operation':_0x51845e,'operationInstance':_0x172d61,'basicInfo':{'name':_0x51845e['name'],'displayName':_0x51845e[_0x6cc899(0x12f)],'method':_0x51845e['method'],'path':_0x51845e['path'],'fullUrl':_0x51845e['fullUrl'],'enabled':_0x51845e['enabled']},'sdkCall':{'datasetCode':_0x5b7c0e,'datasetSDKKey':_0x502da5,'tableName':_0x44bdaf,'operationName':_0x51845e[_0x6cc899(0x30e)],'params':_0x51845e[_0x6cc899(0x113)],'code':_0x172d61['generateSDKCallCode'](_0x502da5,_0x52c928)},'usageExample':_0x172d61[_0x6cc899(0x235)](_0x502da5)};}function createOperationsOverviewData(_0x4a1c9f){const _0x4cd9c5=a0_0x4986fd,_0x2b4919={};_0x2b4919[_0x4cd9c5(0x273)]='name',_0x2b4919[_0x4cd9c5(0x169)]=_0x4cd9c5(0x234);const _0x4125c8={};_0x4125c8['index']=_0x4cd9c5(0x12f),_0x4125c8[_0x4cd9c5(0x169)]=_0x4cd9c5(0x332);const _0x2e605a={};_0x2e605a[_0x4cd9c5(0x273)]=_0x4cd9c5(0x2fc),_0x2e605a[_0x4cd9c5(0x169)]='方法';const _0x1e6f0e={};_0x1e6f0e['index']=_0x4cd9c5(0x327),_0x1e6f0e['label']=_0x4cd9c5(0x2dc);const _0x3ed51b={};_0x3ed51b[_0x4cd9c5(0x273)]=_0x4cd9c5(0x1f1),_0x3ed51b[_0x4cd9c5(0x169)]='API路径';const _0x9629e7={};_0x9629e7[_0x4cd9c5(0x273)]=_0x4cd9c5(0x285),_0x9629e7[_0x4cd9c5(0x169)]='完整的\x20SDK\x20调用代码';const _0x68cd19=[_0x2b4919,_0x4125c8,_0x2e605a,_0x1e6f0e,_0x3ed51b,_0x9629e7],_0x22089b=_0x4a1c9f[_0x4cd9c5(0x30d)](_0x51a19b=>{const _0x53a5fa=_0x4cd9c5,{basicInfo:_0x2a3ef2,sdkCall:_0x4b5c54}=_0x51a19b,_0x1b5f38=_0x4b5c54[_0x53a5fa(0x3b7)][_0x53a5fa(0x15c)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x53a5fa(0x15c)](/;$/,''),_0x2de9c={};return _0x2de9c[_0x53a5fa(0x12f)]=_0x2a3ef2[_0x53a5fa(0x12f)],_0x2de9c[_0x53a5fa(0x30e)]=_0x2a3ef2['name'],_0x2de9c[_0x53a5fa(0x2fc)]=_0x2a3ef2[_0x53a5fa(0x2fc)],_0x2de9c[_0x53a5fa(0x1f1)]=_0x2a3ef2[_0x53a5fa(0x1f1)],_0x2de9c['sdkCall']=_0x1b5f38,_0x2de9c['sdkCallCode']=_0x4b5c54[_0x53a5fa(0x3b7)],_0x2de9c;}),_0x36105f={};return _0x36105f['tableColumns']=_0x68cd19,_0x36105f[_0x4cd9c5(0x148)]=_0x22089b,_0x36105f;}function createDatasetDocMeta(_0x3c97a2,_0xe25381,_0x2c3ede,_0x27e149,_0x51c63f,_0x3239ba,_0x3ec8f4,_0x28842a,_0x17d427){const _0xd86c62=a0_0x4986fd,_0xb10f8c={};return _0xb10f8c[_0xd86c62(0x22e)]=_0x3c97a2+_0xd86c62(0x27c),_0xb10f8c[_0xd86c62(0x3a7)]={},_0xb10f8c[_0xd86c62(0x15b)]=_0x17d427,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x30e)]=_0x3c97a2,_0xb10f8c[_0xd86c62(0x3a7)]['code']=_0xe25381,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x1ca)]=_0x2c3ede,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x181)]=_0x27e149,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x1f6)]=_0x51c63f,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x2f4)]=_0x3239ba,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x106)]=_0x3ec8f4,_0xb10f8c[_0xd86c62(0x3a7)]['businessFieldCount']=0x0,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x188)]=0x0,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x34f)]=_0x28842a,_0xb10f8c[_0xd86c62(0x3a7)]['enabledOperationCount']=_0x17d427[_0xd86c62(0x338)],_0xb10f8c;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}[a0_0x4986fd(0x29c)](){const _0x1fd6bb=a0_0x4986fd;return this[_0x1fd6bb(0x2b7)]();}[a0_0x4986fd(0x157)](_0x4b3619=![]){const _0x3df1b1=a0_0x4986fd;if(!_0x4b3619&&this[_0x3df1b1(0x35c)])return this[_0x3df1b1(0x35c)];const _0x5f4a70=this[_0x3df1b1(0x14c)]();return this['_operationAnalyses']=operationsToAnalyses(_0x5f4a70),this[_0x3df1b1(0x35c)];}[a0_0x4986fd(0x189)](){const _0x5a6e9e=a0_0x4986fd,_0x39531b={};return _0x39531b['includeDisabled']=![],_0x39531b[_0x5a6e9e(0x27b)]=!![],this[_0x5a6e9e(0x293)](_0x39531b);}['getFilteredOperationAnalyses'](_0x32bfcd={}){const _0x506fe2=a0_0x4986fd;return filterOperationAnalyses(this[_0x506fe2(0x157)](),_0x32bfcd);}[a0_0x4986fd(0x11f)](_0x1f2ed7){const _0x56b6d1=a0_0x4986fd;return this[_0x56b6d1(0x157)]()[_0x56b6d1(0x2b4)](_0x171642=>_0x171642[_0x56b6d1(0x30e)]===_0x1f2ed7);}['getOperationAnalysesByType'](_0x2133e9){const _0x411b1=a0_0x4986fd;return this['getOperationAnalyses']()[_0x411b1(0x276)](_0x1144c0=>_0x1144c0[_0x411b1(0x186)]===_0x2133e9);}[a0_0x4986fd(0x3ae)](_0xf7cd15,_0x413ea5){const _0x16c86c=a0_0x4986fd,_0x5ec90d=this[_0x16c86c(0x11f)](_0xf7cd15);if(!_0x5ec90d)return null;const _0x535704=this['getOperations']()['find'](_0xe1f87e=>_0xe1f87e['getName']()===_0x5ec90d['name']);if(!_0x535704)throw new Error(_0x16c86c(0x1e0)+_0x5ec90d[_0x16c86c(0x30e)]);return createOperationDocMeta(_0x5ec90d,_0x535704,this['datasetCode'],this[_0x16c86c(0x2b0)](),this[_0x16c86c(0x13e)](),_0x413ea5);}[a0_0x4986fd(0x2ec)](_0x46f49f={}){const _0x5bf26a=a0_0x4986fd,_0x234909=this[_0x5bf26a(0x293)](_0x46f49f),_0x315c9e=_0x234909['map'](_0x5d8aa0=>this['getOperationDocMeta'](_0x5d8aa0[_0x5bf26a(0x30e)]))[_0x5bf26a(0x276)](_0x5c161e=>_0x5c161e!==null);return createDatasetDocMeta(this[_0x5bf26a(0x30e)],this[_0x5bf26a(0x2e2)],this[_0x5bf26a(0x13e)](),this[_0x5bf26a(0x2b0)](),this[_0x5bf26a(0x2b7)](),this[_0x5bf26a(0x2f4)],this[_0x5bf26a(0x173)](),this['getOperationCount'](),_0x315c9e);}['getOperationsOverviewData'](_0x4e37d0){return createOperationsOverviewData(_0x4e37d0);}[a0_0x4986fd(0x333)](){const _0x54a72f=a0_0x4986fd;return supportsCRUD(this[_0x54a72f(0x189)]());}['getOperationStats'](){const _0x2b3527=a0_0x4986fd;return getOperationStats(this[_0x2b3527(0x157)]());}[a0_0x4986fd(0x28a)](){const _0x4c58b8=a0_0x4986fd,_0xe12987=this['getOperationStats']();return'DrivenDataDetailPlus('+this['name']+',\x20'+this[_0x4c58b8(0x2e2)]+',\x20'+this[_0x4c58b8(0x173)]()+_0x4c58b8(0x21f)+_0xe12987[_0x4c58b8(0x1ac)]+'/'+_0xe12987[_0x4c58b8(0x238)]+_0x4c58b8(0x1a3);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x4986fd(0x35c)];[a0_0x4986fd(0x294)](){return'v2';}[a0_0x4986fd(0x29c)](){const _0x28b460=a0_0x4986fd;return this[_0x28b460(0x2b7)]();}[a0_0x4986fd(0x157)](_0x26a98a=![]){const _0x8dd49d=a0_0x4986fd;if(!_0x26a98a&&this[_0x8dd49d(0x35c)])return this[_0x8dd49d(0x35c)];const _0x411f70=this[_0x8dd49d(0x14c)]();return this['_operationAnalyses']=operationsToAnalyses(_0x411f70),this[_0x8dd49d(0x35c)];}[a0_0x4986fd(0x189)](){const _0x127b69=a0_0x4986fd,_0x5e3c36={};return _0x5e3c36['includeDisabled']=![],_0x5e3c36['filterBlacklist']=!![],this[_0x127b69(0x293)](_0x5e3c36);}['getFilteredOperationAnalyses'](_0xc3bd78={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0xc3bd78);}[a0_0x4986fd(0x11f)](_0x3bbebf){const _0x18142f=a0_0x4986fd;return this[_0x18142f(0x157)]()[_0x18142f(0x2b4)](_0x3aa59c=>_0x3aa59c['name']===_0x3bbebf);}[a0_0x4986fd(0x2b2)](_0x500aea){const _0x5e3de6=a0_0x4986fd;return this[_0x5e3de6(0x157)]()[_0x5e3de6(0x276)](_0x279705=>_0x279705['type']===_0x500aea);}[a0_0x4986fd(0x3ae)](_0x401b47,_0x17a168){const _0x1310ab=a0_0x4986fd,_0x487d5d=this[_0x1310ab(0x11f)](_0x401b47);if(!_0x487d5d)return null;const _0x5af670=this[_0x1310ab(0x14c)]()[_0x1310ab(0x2b4)](_0x516e49=>_0x516e49['getName']()===_0x487d5d[_0x1310ab(0x30e)]);if(!_0x5af670)throw new Error(_0x1310ab(0x1e0)+_0x487d5d['name']);return createOperationDocMeta(_0x487d5d,_0x5af670,this[_0x1310ab(0x2e2)],this[_0x1310ab(0x2b0)](),this[_0x1310ab(0x13e)](),_0x17a168);}[a0_0x4986fd(0x2ec)](_0x275b89={}){const _0x4bc161=a0_0x4986fd,_0x2b0d17=this[_0x4bc161(0x293)](_0x275b89),_0x468dff=_0x2b0d17[_0x4bc161(0x30d)](_0x5dd849=>this[_0x4bc161(0x3ae)](_0x5dd849['name']))['filter'](_0x1228cd=>_0x1228cd!==null);return createDatasetDocMeta(this['name'],this['datasetCode'],this[_0x4bc161(0x13e)](),this[_0x4bc161(0x2b0)](),this['getTableKey'](),this[_0x4bc161(0x2f4)],this[_0x4bc161(0x173)](),this[_0x4bc161(0x15e)](),_0x468dff);}['getOperationsOverviewData'](_0xa97a92){return createOperationsOverviewData(_0xa97a92);}['supportsCRUD'](){const _0x11760c=a0_0x4986fd;return supportsCRUD(this[_0x11760c(0x189)]());}[a0_0x4986fd(0x290)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x4986fd(0x28a)](){const _0x2c9741=a0_0x4986fd,_0x4c8739=this[_0x2c9741(0x290)]();return _0x2c9741(0x2d9)+this[_0x2c9741(0x30e)]+',\x20'+this['datasetCode']+',\x20'+this[_0x2c9741(0x173)]()+_0x2c9741(0x21f)+_0x4c8739[_0x2c9741(0x1ac)]+'/'+_0x4c8739['total']+_0x2c9741(0x32e);}}function detectDatasetVersion3(_0x3128fa){const _0x5285e4=a0_0x4986fd;if(_0x3128fa[_0x5285e4(0x182)]==='v2'&&'fields'in _0x3128fa&&Array[_0x5285e4(0x18f)](_0x3128fa[_0x5285e4(0x26d)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x4986fd(0x1b6)];constructor(_0x2c0c12){const _0x407dfc=detectDatasetVersion3(_0x2c0c12);return this['_instance']=_0x407dfc==='v2'?new DrivenDataDetailPlusV2(_0x2c0c12):new DrivenDataDetailPlusV1(_0x2c0c12),new Proxy(this,{'get'(_0x10ba5c,_0x4f42ef){const _0x2fbe72=a0_0x5c95;if(_0x4f42ef in _0x10ba5c){const _0x590bd0=_0x10ba5c[_0x4f42ef];return typeof _0x590bd0==='function'?_0x590bd0[_0x2fbe72(0x1e2)](_0x10ba5c):_0x590bd0;}if(_0x4f42ef in _0x10ba5c[_0x2fbe72(0x1b6)]){const _0x53591b=_0x10ba5c[_0x2fbe72(0x1b6)][_0x4f42ef];return typeof _0x53591b==='function'?_0x53591b['bind'](_0x10ba5c[_0x2fbe72(0x1b6)]):_0x53591b;}return;},'set'(_0x578f91,_0x418f2e,_0x4b1a30){return _0x578f91[_0x418f2e]=_0x4b1a30,!![];},'getPrototypeOf'(_0x43b14f){return DrivenDataDetailPlus['prototype'];}});}get[a0_0x4986fd(0x30e)](){const _0x119c37=a0_0x4986fd;return this[_0x119c37(0x1b6)][_0x119c37(0x30e)];}get['id'](){const _0x2fb1c6=a0_0x4986fd;return this[_0x2fb1c6(0x1b6)]['id'];}get[a0_0x4986fd(0x2e2)](){const _0x423c5f=a0_0x4986fd;return this['_instance'][_0x423c5f(0x2e2)];}get[a0_0x4986fd(0x2f4)](){const _0x5c72cc=a0_0x4986fd;return this[_0x5c72cc(0x1b6)][_0x5c72cc(0x2f4)];}get[a0_0x4986fd(0x128)](){const _0x83218b=a0_0x4986fd;return this[_0x83218b(0x1b6)][_0x83218b(0x1e5)]();}[a0_0x4986fd(0x294)](){const _0xec189e=a0_0x4986fd,_0x98adb5=this['_instance'][_0xec189e(0x294)]();return _0x98adb5==='v2'?'v2':'v1';}[a0_0x4986fd(0x173)](){const _0x4577ca=a0_0x4986fd;return this[_0x4577ca(0x1b6)][_0x4577ca(0x173)]();}[a0_0x4986fd(0x15e)](){const _0x5c549e=a0_0x4986fd;return this[_0x5c549e(0x1b6)][_0x5c549e(0x15e)]();}['getFields'](){const _0x3fd237=a0_0x4986fd;return this[_0x3fd237(0x1b6)][_0x3fd237(0x1af)]();}[a0_0x4986fd(0x14c)](){const _0x399520=a0_0x4986fd;return this[_0x399520(0x1b6)][_0x399520(0x14c)]();}['getFilteredOperations'](_0x16972c){return this['_instance']['getFilteredOperations'](_0x16972c);}['getFieldInstance'](_0x3fa891){const _0x3661cf=a0_0x4986fd;return this['_instance'][_0x3661cf(0x176)](_0x3fa891);}['getTableName'](){return this['_instance']['getTableName']();}[a0_0x4986fd(0x2b7)](){const _0x45e72e=a0_0x4986fd;return this['_instance'][_0x45e72e(0x2b7)]();}['getDatasetSDKKey'](){const _0x1051e0=a0_0x4986fd;return this[_0x1051e0(0x1b6)][_0x1051e0(0x2b0)]();}[a0_0x4986fd(0x303)](){const _0x2531f1=a0_0x4986fd;return this[_0x2531f1(0x1b6)][_0x2531f1(0x303)]();}[a0_0x4986fd(0x302)](){const _0x4e7e3f=a0_0x4986fd;return this[_0x4e7e3f(0x1b6)][_0x4e7e3f(0x302)]();}[a0_0x4986fd(0x2bd)](){const _0x59221e=a0_0x4986fd;return this[_0x59221e(0x1b6)][_0x59221e(0x2bd)]();}[a0_0x4986fd(0x2eb)](_0x316397){const _0x462248=a0_0x4986fd;return this[_0x462248(0x1b6)]['isMultipleSelectField'](_0x316397);}[a0_0x4986fd(0x1b0)](_0x1df27c){const _0x520fd1=a0_0x4986fd;return this[_0x520fd1(0x1b6)]['getField'](_0x1df27c);}[a0_0x4986fd(0x116)](_0xd138c0){const _0x3c41e9=a0_0x4986fd;return this[_0x3c41e9(0x1b6)][_0x3c41e9(0x116)](_0xd138c0);}['getFieldSelectItemsSource'](_0x254a38){const _0x20d5e8=a0_0x4986fd;return this[_0x20d5e8(0x1b6)][_0x20d5e8(0x1fb)](_0x254a38);}[a0_0x4986fd(0x1ce)](_0x5d34bd){const _0x34a4f2=a0_0x4986fd;return this[_0x34a4f2(0x1b6)][_0x34a4f2(0x1ce)](_0x5d34bd);}['validateEnumValue'](_0x49385d,_0x2e389b){return this['_instance']['validateEnumValue'](_0x49385d,_0x2e389b);}['isRequiredField'](_0x2049e7){const _0x26ab28=a0_0x4986fd;return this[_0x26ab28(0x1b6)][_0x26ab28(0x1a9)](_0x2049e7);}['getStats'](){const _0x4fb109=a0_0x4986fd;return this[_0x4fb109(0x1b6)]['getStats']();}[a0_0x4986fd(0x3a5)](){const _0x2295c2=a0_0x4986fd;return this[_0x2295c2(0x1b6)][_0x2295c2(0x3a5)]();}[a0_0x4986fd(0x190)](){const _0x44f71a=a0_0x4986fd;return this[_0x44f71a(0x1b6)][_0x44f71a(0x190)]();}['hasOperation'](_0xe95bc6){const _0xcb8a1e=a0_0x4986fd;return this[_0xcb8a1e(0x1b6)]['hasOperation'](_0xe95bc6);}[a0_0x4986fd(0x1e5)](){const _0x5267fb=a0_0x4986fd;return this[_0x5267fb(0x1b6)][_0x5267fb(0x1e5)]();}['getRawDbtableConfig'](){const _0x29f7cc=a0_0x4986fd;return this[_0x29f7cc(0x1b6)]['getRawDbtableConfig']();}['getSource'](){const _0x39fa69=a0_0x4986fd;return this[_0x39fa69(0x1b6)][_0x39fa69(0x14f)]();}[a0_0x4986fd(0x157)](_0x277a65){const _0x3d4671=a0_0x4986fd;return this['_instance'][_0x3d4671(0x157)](_0x277a65);}['getEnabledOperationAnalyses'](){const _0x518904=a0_0x4986fd;return this[_0x518904(0x1b6)][_0x518904(0x189)]();}['getFilteredOperationAnalyses'](_0x2a33e9){const _0x26a8fe=a0_0x4986fd;return this['_instance'][_0x26a8fe(0x293)](_0x2a33e9);}[a0_0x4986fd(0x11f)](_0x3c7b2e){const _0x47e095=a0_0x4986fd;return this['_instance'][_0x47e095(0x11f)](_0x3c7b2e);}['getOperationAnalysesByType'](_0x39b328){const _0x3138d8=a0_0x4986fd;return this[_0x3138d8(0x1b6)][_0x3138d8(0x2b2)](_0x39b328);}['getOperationDocMeta'](_0x181888,_0x2ca670){return this['_instance']['getOperationDocMeta'](_0x181888,_0x2ca670);}[a0_0x4986fd(0x2ec)](_0x15fc52){const _0x2e02f1=a0_0x4986fd;return this[_0x2e02f1(0x1b6)]['getDatasetDocMeta'](_0x15fc52);}['getOperationsOverviewData'](_0x191d01){const _0x7dfd03=a0_0x4986fd;return this[_0x7dfd03(0x1b6)][_0x7dfd03(0x326)](_0x191d01);}[a0_0x4986fd(0x29c)](){const _0x15a961=a0_0x4986fd;return this['_instance'][_0x15a961(0x29c)]();}[a0_0x4986fd(0x333)](){const _0x484e4c=a0_0x4986fd;return this[_0x484e4c(0x1b6)]['supportsCRUD']();}[a0_0x4986fd(0x290)](){const _0x15959a=a0_0x4986fd;return this[_0x15959a(0x1b6)][_0x15959a(0x290)]();}[a0_0x4986fd(0x28a)](){const _0x13a642=a0_0x4986fd;return this[_0x13a642(0x1b6)][_0x13a642(0x28a)]();}[a0_0x4986fd(0x1fa)](_0x2b4c98){const _0x10c65b=a0_0x4986fd;return this['_instance'][_0x10c65b(0x1fa)](_0x2b4c98);}[a0_0x4986fd(0x3a2)](_0x3ac39a){const _0x1eef42=a0_0x4986fd;return this[_0x1eef42(0x1b6)]['getSDKInitData'](_0x3ac39a);}[a0_0x4986fd(0x350)](_0x4e1bf7,_0x15d8dc,_0xece430){const _0x16cb4c=a0_0x4986fd;return this['_instance'][_0x16cb4c(0x350)](_0x4e1bf7,_0x15d8dc,_0xece430);}[a0_0x4986fd(0x15f)](_0x5e703a,_0x1efcf2,_0x1e6a41){return this['_instance']['generateFullSDKExample'](_0x5e703a,_0x1efcf2,_0x1e6a41);}[a0_0x4986fd(0x196)](_0x3d7a20){const _0x5dd8f2=a0_0x4986fd;return this['_instance'][_0x5dd8f2(0x196)](_0x3d7a20);}['generateOperationSummary'](_0x2d8c26){const _0x179672=a0_0x4986fd;return this[_0x179672(0x1b6)]['generateOperationSummary'](_0x2d8c26);}[a0_0x4986fd(0x2ae)](_0x15a4d5){const _0x221577=a0_0x4986fd;return this[_0x221577(0x1b6)]['generateAllOperationsSummary'](_0x15a4d5);}['getOperationRequestFields'](_0x306f11){const _0x1756bd=a0_0x4986fd;return this[_0x1756bd(0x1b6)]['getOperationRequestFields'](_0x306f11);}[a0_0x4986fd(0x36c)](){const _0x42379c=a0_0x4986fd;return this[_0x42379c(0x1b6)][_0x42379c(0x36c)]();}['generateAliasExplanation'](){const _0x31a2ef=a0_0x4986fd;return this['_instance'][_0x31a2ef(0x1c7)]();}[a0_0x4986fd(0x313)](){return this['_instance'];}}function createDrivenDataDetailPlus(_0x398777,_0x4c0110={}){const _0x25cf48=a0_0x4986fd;if(_0x4c0110[_0x25cf48(0x133)]==='v1')return new DrivenDataDetailPlusV1(_0x398777);if(_0x4c0110[_0x25cf48(0x133)]==='v2')return new DrivenDataDetailPlusV2(_0x398777);if(_0x398777[_0x25cf48(0x182)]==='v2'||_0x25cf48(0x218)in _0x398777)return new DrivenDataDetailPlusV2(_0x398777);return new DrivenDataDetailPlusV1(_0x398777);}function isPlusV2Instance(_0x113f33){const _0x8023aa=a0_0x4986fd;return _0x113f33[_0x8023aa(0x294)]()==='v2';}function isPlusV1Instance(_0xe8d9a8){return _0xe8d9a8['getVersion']()==='v1';}var VERSION=a0_0x4986fd(0x23a);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
+ function a0_0x505f(_0x51fff3,_0xedd510){_0x51fff3=_0x51fff3-0x1cb;const _0x26713a=a0_0x2671();let _0x505f13=_0x26713a[_0x51fff3];return _0x505f13;}const a0_0x1fa0fa=a0_0x505f;(function(_0x5f0cb3,_0x5db262){const _0x3efc11=a0_0x505f,_0x2712ec=_0x5f0cb3();while(!![]){try{const _0x292f0a=parseInt(_0x3efc11(0x40e))/0x1+parseInt(_0x3efc11(0x2b8))/0x2+-parseInt(_0x3efc11(0x304))/0x3+parseInt(_0x3efc11(0x471))/0x4*(-parseInt(_0x3efc11(0x24d))/0x5)+parseInt(_0x3efc11(0x385))/0x6*(parseInt(_0x3efc11(0x200))/0x7)+-parseInt(_0x3efc11(0x2a9))/0x8+parseInt(_0x3efc11(0x321))/0x9*(parseInt(_0x3efc11(0x2cb))/0xa);if(_0x292f0a===_0x5db262)break;else _0x2712ec['push'](_0x2712ec['shift']());}catch(_0x31467b){_0x2712ec['push'](_0x2712ec['shift']());}}}(a0_0x2671,0x6a447));function toCamelCase(_0x5e783d){const _0x1c40c4=a0_0x505f;if(!_0x5e783d)return'';return _0x5e783d[_0x1c40c4(0x37c)](/[_-]/)['map']((_0x58bb1c,_0x216efa)=>{const _0x4d8913=_0x1c40c4;if(_0x216efa===0x0)return _0x58bb1c[_0x4d8913(0x28b)]();return _0x58bb1c['charAt'](0x0)[_0x4d8913(0x43d)]()+_0x58bb1c[_0x4d8913(0x3d1)](0x1)[_0x4d8913(0x28b)]();})[_0x1c40c4(0x476)]('');}function toPascalCase(_0x4905de){const _0x21c56b=a0_0x505f;if(!_0x4905de)return'';const _0x130304=toCamelCase(_0x4905de);return _0x130304[_0x21c56b(0x229)](0x0)[_0x21c56b(0x43d)]()+_0x130304[_0x21c56b(0x3d1)](0x1);}function toSnakeCase(_0x3b6f94){const _0x481004=a0_0x505f;if(!_0x3b6f94)return'';return _0x3b6f94[_0x481004(0x347)](/([A-Z])/g,_0x481004(0x3b4))[_0x481004(0x28b)]()[_0x481004(0x347)](/^_/,'');}function toKebabCase(_0xa7745b){const _0x2b0c49=a0_0x505f;if(!_0xa7745b)return'';return _0xa7745b[_0x2b0c49(0x347)](/([A-Z])/g,'-$1')[_0x2b0c49(0x28b)]()[_0x2b0c49(0x347)](/^-/,'');}function normalizeFieldName(_0x5086b5){const _0x44e255=a0_0x505f;if(!_0x5086b5)return'';return _0x5086b5['trim']()[_0x44e255(0x347)](/\s+/g,'_')['replace'](/[^a-zA-Z0-9_]/g,'_')[_0x44e255(0x347)](/_+/g,'_')[_0x44e255(0x347)](/^_|_$/g,'');}function getTableName(_0x53684e){const _0x4a538a=a0_0x505f;if(!_0x53684e)return _0x4a538a(0x3df);if(_0x53684e[_0x4a538a(0x2ca)]?.[_0x4a538a(0x23d)])return _0x53684e['dbtableConfig'][_0x4a538a(0x23d)];const _0x500b20=_0x53684e[_0x4a538a(0x318)]||_0x53684e[_0x4a538a(0x2d9)]||_0x53684e[_0x4a538a(0x29f)];if(_0x500b20)return generateTableNameFromCode(_0x500b20);return _0x4a538a(0x3df);}function getTableKey(_0x4de37b){if(typeof _0x4de37b==='string')return toCamelCase(_0x4de37b);const _0x488ee0=getTableName(_0x4de37b);return toCamelCase(_0x488ee0);}function generateTableNameFromCode(_0x210358){const _0x48b06e=a0_0x505f;if(!_0x210358)return'dataset_000000';const _0x6ef35e=_0x210358[_0x48b06e(0x3d1)](-0x6)[_0x48b06e(0x3f9)](0x6,'0');return _0x48b06e(0x47b)+_0x6ef35e;}function isVirtualTableName(_0x2283e5){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x2283e5);}function generateModelKeyFromCode(_0x6ae1b0){const _0x5bb7e1=a0_0x505f;if(!_0x6ae1b0)return'dataset_unknown';return _0x5bb7e1(0x47b)+_0x6ae1b0;}function getDbName(_0x3c5f6d){const _0xf0ae5d=a0_0x505f;return _0x3c5f6d[_0xf0ae5d(0x2ca)]?.[_0xf0ae5d(0x2bb)]||_0x3c5f6d[_0xf0ae5d(0x2ca)]?.['dblinkInfoDTO']?.[_0xf0ae5d(0x2bb)]||'';}function generateDatasetsConfig(_0x3287cf,_0x29630f={}){const _0x5647aa=a0_0x505f,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x4ff029,filter:_0x4b89e1}=_0x29630f,_0x170ca6=_0x4b89e1?_0x3287cf[_0x5647aa(0x3e1)](_0x4b89e1):_0x3287cf,_0x4f8d57=new Map();for(const _0x209168 of _0x170ca6){const _0x30fc60=getTableName(_0x209168),_0x2d1902=getDbName(_0x209168);!_0x4f8d57[_0x5647aa(0x3b1)](_0x30fc60)&&_0x4f8d57[_0x5647aa(0x388)](_0x30fc60,new Set()),_0x4f8d57[_0x5647aa(0x25e)](_0x30fc60)[_0x5647aa(0x1f3)](_0x2d1902);}const _0x20531d=new Set();for(const [_0x5bb0f6,_0x147785]of _0x4f8d57){_0x147785[_0x5647aa(0x21c)]>0x1&&_0x20531d['add'](_0x5bb0f6);}const _0x5f12c1={},_0x27ef1d=new Set();for(const _0x5883e3 of _0x170ca6){const _0x21a5b2=getTableName(_0x5883e3);if(enableDeduplication&&_0x27ef1d['has'](_0x21a5b2)){console[_0x5647aa(0x472)](_0x5647aa(0x350)+_0x21a5b2+'\x22,数据集:\x20'+_0x5883e3[_0x5647aa(0x1da)]+'\x20('+_0x5883e3[_0x5647aa(0x318)]+')');continue;}_0x27ef1d['add'](_0x21a5b2);const _0x5384cb=_0x4ff029?_0x4ff029(_0x21a5b2,_0x5883e3):getTableKey(_0x21a5b2),_0x2170ef=getDbName(_0x5883e3),_0x1fa844=_0x20531d[_0x5647aa(0x3b1)](_0x21a5b2)&&_0x2170ef?getTableKey(_0x2170ef)+'_'+_0x5384cb:_0x5384cb;_0x5f12c1[_0x5384cb]={'key':_0x5384cb,'alias':_0x1fa844,'tableName':_0x21a5b2,'datasetCode':_0x5883e3[_0x5647aa(0x318)],'name':_0x5883e3['name'],'id':_0x5883e3['id'],'dbName':_0x2170ef};}return _0x5f12c1;}function generateFullDatasetsConfig(_0x15a490,_0x1da8aa={}){const _0x5cf2e4=a0_0x505f,{filter:_0x2640ab,datasetNameGenerator:_0x393145}=_0x1da8aa,_0x527b59=_0x2640ab?_0x15a490[_0x5cf2e4(0x3e1)](_0x2640ab):_0x15a490,_0x2c3000=new Map();for(const _0x24a5c5 of _0x527b59){const _0x565462=getTableName(_0x24a5c5),_0x3ba461=getDbName(_0x24a5c5);!_0x2c3000[_0x5cf2e4(0x3b1)](_0x565462)&&_0x2c3000[_0x5cf2e4(0x388)](_0x565462,new Set()),_0x2c3000[_0x5cf2e4(0x25e)](_0x565462)[_0x5cf2e4(0x1f3)](_0x3ba461);}const _0x11a45a=new Set();for(const [_0xad64bd,_0x5a92e4]of _0x2c3000){_0x5a92e4[_0x5cf2e4(0x21c)]>0x1&&_0x11a45a['add'](_0xad64bd);}const _0x2b636d=groupByTableName(_0x527b59),_0x3fa990={};for(const [_0x5931c3,_0x27d147]of Object['entries'](_0x2b636d)){if(_0x27d147['length']===0x1){const _0x146d43=_0x27d147[0x0],_0x16e88c=_0x393145?_0x393145(_0x5931c3,_0x146d43):getTableKey(_0x5931c3),_0xb963b0=getDbName(_0x146d43),_0x3fbbfc=_0x11a45a[_0x5cf2e4(0x3b1)](_0x5931c3)&&_0xb963b0?getTableKey(_0xb963b0)+'_'+_0x16e88c:_0x16e88c;_0x3fa990[_0x16e88c]={'key':_0x16e88c,'alias':_0x3fbbfc,'tableName':_0x5931c3,'datasetCode':_0x146d43[_0x5cf2e4(0x318)],'name':_0x146d43[_0x5cf2e4(0x1da)],'id':_0x146d43['id'],'dbName':_0xb963b0};}else{const _0x8bc839=[..._0x27d147][_0x5cf2e4(0x44c)]((_0x38abf3,_0x41705b)=>{const _0x1fe040=Number(_0x38abf3['id'])||0x0,_0x1ce919=Number(_0x41705b['id'])||0x0;return _0x1ce919-_0x1fe040;});_0x8bc839[_0x5cf2e4(0x2fc)]((_0x1e1870,_0x415fb2)=>{const _0x492635=_0x5cf2e4,_0x20d9e1=_0x393145?_0x393145(_0x5931c3,_0x1e1870):getTableKey(_0x5931c3),_0x500579=_0x415fb2===0x0?_0x20d9e1:_0x20d9e1+'_'+_0x415fb2,_0x36c3f2=getDbName(_0x1e1870),_0x2d70b3=_0x11a45a[_0x492635(0x3b1)](_0x5931c3)&&_0x36c3f2?getTableKey(_0x36c3f2)+'_'+_0x500579:_0x500579;_0x3fa990[_0x500579]={'key':_0x500579,'alias':_0x2d70b3,'tableName':_0x5931c3,'datasetCode':_0x1e1870[_0x492635(0x318)],'name':_0x1e1870['name'],'id':_0x1e1870['id'],'dbName':_0x36c3f2};});}}return _0x3fa990;}function detectTableNameConflicts(_0x18e45b){const _0x46903f=a0_0x505f,_0x30c9c3={};for(const _0x2309cd of _0x18e45b){const _0x4641a5=getTableName(_0x2309cd);!_0x30c9c3[_0x4641a5]&&(_0x30c9c3[_0x4641a5]=[]),_0x30c9c3[_0x4641a5][_0x46903f(0x2ce)](_0x2309cd);}const _0x5dbf0d={};for(const [_0x24fb76,_0x5d4244]of Object[_0x46903f(0x1f2)](_0x30c9c3)){_0x5d4244[_0x46903f(0x340)]>0x1&&(_0x5dbf0d[_0x24fb76]=_0x5d4244);}return{'hasConflicts':Object[_0x46903f(0x316)](_0x5dbf0d)['length']>0x0,'conflicts':_0x5dbf0d};}function createDatasetNameMap(_0x12d2fb){const _0x25fa4a=a0_0x505f,_0x14a1fe={};for(const [_0xa5dad7,_0x4edae3]of Object[_0x25fa4a(0x1f2)](_0x12d2fb)){_0x14a1fe[_0xa5dad7]=_0x4edae3[_0x25fa4a(0x318)]||'';}return _0x14a1fe;}function groupByTableName(_0x9d693e){const _0x52af55=a0_0x505f,_0x4cdcf6={};for(const _0x299dcf of _0x9d693e){const _0x54a5f0=getTableName(_0x299dcf);!_0x4cdcf6[_0x54a5f0]&&(_0x4cdcf6[_0x54a5f0]=[]),_0x4cdcf6[_0x54a5f0][_0x52af55(0x2ce)](_0x299dcf);}return _0x4cdcf6;}function datasetsConfigToArray(_0x22d28f){const _0x1ee887=a0_0x505f;return Object[_0x1ee887(0x2da)](_0x22d28f);}function adaptDrivenDataDetail(_0xe0f372){const _0x3896cb=a0_0x505f,_0x3f3650={};return _0x3f3650['id']=_0xe0f372[_0x3896cb(0x297)],_0x3f3650[_0x3896cb(0x1da)]=_0xe0f372[_0x3896cb(0x1da)],_0x3f3650[_0x3896cb(0x318)]=_0xe0f372[_0x3896cb(0x29f)],_0x3f3650[_0x3896cb(0x2ca)]=_0xe0f372[_0x3896cb(0x2ca)],_0x3f3650[_0x3896cb(0x3a7)]=_0xe0f372[_0x3896cb(0x3a7)],_0x3f3650[_0x3896cb(0x1e1)]=_0xe0f372[_0x3896cb(0x1e1)],_0x3f3650['extend']=_0xe0f372[_0x3896cb(0x405)],_0x3f3650[_0x3896cb(0x441)]=_0xe0f372[_0x3896cb(0x441)],_0x3f3650['operations']=_0xe0f372['operations'],_0x3f3650;}function adaptDrivenDataDetails(_0x28e6a4){const _0x545965=a0_0x505f;return _0x28e6a4[_0x545965(0x330)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x4b2cd0){const _0x30da6d=a0_0x505f;if(!_0x4b2cd0[_0x30da6d(0x335)]||!_0x4b2cd0[_0x30da6d(0x28d)])throw new Error('获取数据集失败:\x20'+(_0x4b2cd0['errorMsg']||_0x4b2cd0[_0x30da6d(0x241)]));return adaptDrivenDataDetail(_0x4b2cd0['data']);}function extractDatasetsFromListResponse(_0x5a1497){const _0x3c8c14=a0_0x505f;if(!_0x5a1497[_0x3c8c14(0x335)]||!_0x5a1497['data']?.[_0x3c8c14(0x221)])throw new Error('获取数据集列表失败:\x20'+(_0x5a1497[_0x3c8c14(0x20e)]||_0x5a1497[_0x3c8c14(0x241)]));return _0x5a1497[_0x3c8c14(0x28d)]['tableData'][_0x3c8c14(0x330)](_0xfff89d=>({..._0xfff89d,'datasetCode':_0xfff89d[_0x3c8c14(0x2d9)]||_0xfff89d[_0x3c8c14(0x318)]}));}function isDrivenDataDetail(_0x390103){const _0x2a9973=a0_0x505f;return Boolean(_0x390103&&typeof _0x390103['modelCode']===_0x2a9973(0x30b));}function a0_0x2671(){const _0x494016=['extend','(id,\x20data);','raw','now','[Field]\x20Invalid\x20field\x20definition','VARCHAR','generateSDKCallCode','getDisabledOperationInstances','GET_ONE_UPDATE','765571CLMHgJ','all','responseBody','getOperationAnalysis','getModelAlias','total_count','round','HTTP\x20直接调用时使用平铺格式:\x0a','generateRequestAllExamples','orderBy','getDisabledNames','getRaw','查询单条','number','conflictItemCount','getFieldRaw','/filter','useArrayValues','0000','CHECKBOX','getUpdateFields','includeRequestExample','getFieldSelectItemsSource','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','_extend','getOperationAnalysesByType','getDatasetMeta','getFieldCode','聚合函数配置数组','getLast','BOOL','params','getCreateTime','getOperationCount','$lte','getAllDatasets','email','pkField','要更新的字段数据对象','2.0','getFieldsFilterOperatorsMap','获取上传脚本','getSelectOptions','creatorIdField','getOperationOperators','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','isArray','toUpperCase','const\x20result\x20=\x20await\x20client.models.','getOperationFieldsOperatorsMap','getOperationFieldOperators','properties','\x20items,\x20conflict,\x20latest:\x20','getOperation','createTimeField','getFieldListWithDeleted','operation',',\x20doType=','$contain','value','\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','relations','sort','[parseFieldExtend]\x20Invalid\x20field:','type','##\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','sdkCall','CHAR','getTableKey','Array','isPrimaryKey','isRequired','autoIncrement','SELECT','主键ID(必填)','isAutoIncrement','toString','random','getEnabledOperationInstances','N/A','getDisabled','title','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','item2','hasRelation','getSDKInitData','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','hasTableName','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','Field(','-\x20`','getRealTables','getRequestFields','聚合函数配置数组(type:\x20sum/count/avg/max/min)','creatorNameField','getEnumValues','getVersion','getEnumFields','getNames','3032bkUIXk','warn','getBusinessFields','getOneUpdate','DrivenDataDetailV2(','join','some','getLatest','dbType','_datasetMap','dataset_','String[]','主键ID','isVirtualTable','includeDeleted','字段名称','datasetInfo','parse','hasFilterOperation','toJSON','ensureFilterOperation','操作成功','getFileUrl','update\x20接口接受两个参数:\x0a\x0a','tooltip','generateDefaultFilterOperation','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getOperations','GET','当前页码(可选)','getDatasetSDKKey','name','导入模板','\x20groups,\x20','GET_SELECT_OPTIONS','CREATE_EXPORT','supportsCRUD','getAt','version','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','item1','updateTimeField','getFieldType','useFullExample','getAppCode','groupByType','valueLabels','selectItemsSource','CREATE_IMPORT','fieldCode','bind','items','$startWith','getConflictingItems','logicField','entries','add','NUMBER','isRequiredField','Invalid\x20API\x20response:\x20success\x20is\x20false','placeholder','prototype','DrivenDataDetailPlus(','min','stringify','\x20relations,\x20','responseSchema','返回字段列表(字段投影)','defaultValue','134309VBsMFk','系统自动生成','\x20groups)','hasDbtableConfig','_fieldListV1','createExport','generateFullSDKExample','lastIndexOf','dataset','EXCEL_EXPORT','({\x20currentPage,\x20pageSize\x20});','displayName','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','options','errorMsg','1.0.0-beta.8','getDatabaseName','getRequestParamsDocInfo','fieldName','getFieldName','toTableName','\x20operations,\x20','创建导入','查询列表','status','查询单个条件','enabled','getFieldsV2','size','DbtableConfig(table:\x20','toConfig','(支持单值或数组)','hasOperation','tableData','toDatasetName','isDeleted','(实际字段:','_operations','multiple','TASK_INFO','create','charAt','includes','trim','generateAliasExplanation','DrivenDataDetail(','getFieldDisplayName','withDeleted','INTEGER','generateExampleValue','API路径','getDisplayName','toConfigArray','\x20operation','method','完整的\x20SDK\x20调用代码','every','Excel导出','groupBy','getFieldDataSource','\x20indexes)','tableName','enabledOperationCount','String','createImport','msg','datasetName','_requestExampleCache','LONGBLOB','delete','field_name','//\x20','object','DrivenDataDetailPlusV2(','doType','getFieldListV2','groupByTableName','5530ePhrIe','getDefaultValue','toFieldDefinition','getDisabledOperations','parseRawResponseBody','$and','path','每页条数','//\x20Usage\x20examples','getFilterOperation','demo-app','富文本','generateUsageExample','address','getConflicts','parseFieldExtend','condition','get','getFilteredOperations','示例值','getHTTPRequestParamsDocInfo','\x20operations)','enumValues','hasConflict','getId','requestFields','isOperationEnabled','column','UPLOAD','\x5c{\x5c{','BOOLEAN','systemFieldCount','_operationList','$gte','getDeleted','SDK\x20调用时传递两个参数:\x0a','getDBConfig','select','from','hasModifierIdField','TIMESTAMP','下拉选择','findById','getOperationStats','排序规则(与\x20Filter\x20API\x20一致)','count','excelExport','_avg','getAutoIncrement','getSelectItemsSource','$gteq','$lteq','tableColumns','function','_relations','RADIO','groups','sum','获取下拉选项','(params);','primaryKey','boolean','toLowerCase','createAll','data','JSON','getEnumOptions','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','getEnabledOperations','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','toDatasetCode','getIndexes','appCode','suffix','modelId','当前页码(从\x201\x20开始,默认:\x201)','hasConflicts','getType','\x20fields,\x20','having','getPrimaryKeys','hasDblinkInfo','modelCode','getAllParams','getEnumMeta','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','getItems','generateFromSchema','getCount','\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','<!--\x5cs*CONDITION:\x5cs*','6038760Kekicn','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','customFilter','toDatasetId','getDbTypeForOperation','getBusiness','null','-\x20主键ID,用于定位要更新的记录\x0a\x0a','DatasetList(','value1','required','getUpdateTime','_fieldListV2','isPrimaryKeyField','getFieldsByType','1315006kCJOTL','getAllFieldsString','total','dbName','isBusiness','getAllFieldsArray','getFields','STRING','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','\x5c}\x5c}','DATE','children','generateHTTPExample','datasetMap','getOperationsOverviewData','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','BIGINT','Number','dbtableConfig','60NuOpYg','getLatestDatasets','isEnabled','push','prefix','当前页码','创建导出','datasetKey','isUpdateTime','Integer','getGroupedParams','getRelations','createTime','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','code','values','DatasetGroupMap(','_fieldList','getUploadFileScript','isOperatorApplicableToField','createFields','getOperationList','-\x20主键使用\x20`id`\x20字段\x0a','generateRequestExample','getEnum','getFieldCount','SWITCH','TEXTAREA','getFieldInstance','DELETE','labelField','FieldListV2(','getVirtualTables','getDatabaseType','hasCreatorIdField','getCountByType','getFieldNames','$ne','importTemplate','getOperators','TIME','getOperationDocMeta','datasetId','getUpdatableFields','findAll','INT','usageExample','单值查询','SDK\x20调用示例(两参数格式)','forEach','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','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','每页数量','hasResponseSchema','validateEnumValue','_fields','alias','1842375LcqgJQ','getFieldDescription','fromField','sortOperationsWithFilterFirst','getFilteredOperationAnalyses','index','daily','string','接口名称','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','getList','fields','deleted','请求示例','dbVersion','value2','createDate','查询条件(支持\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)','keys','modifierNameField','datasetCode','getEnumMetas','selectBestOperator','getEnumFieldsMeta','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','_sum','获取文件URL','getFieldOperators','exampleWhere','1742931ZscxSq','[FieldV1.extend]\x20解析字段\x20','GET_ONE_ORIGIN','isEmpty','getEnabled','isEnum','getEnabledNames','array','aggregate','GET_FILE_URL','getOneOrigin',',\x20fields:\x20','CREATE','dataIndex','//\x20Call\x20the\x20','map','generateOperationSummary','forceVersion','getStats','hasCreateTimeField','success','generateAllOperationsFullSDKExample','[generateRequestExample]\x20Invalid\x20field:','generateSDKInitCode','query','isMultipleSelect','_fieldListWithDeleted','getOperationRequestFields','env','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','getRawDbtableConfig','length','user@example.com','mapDbTypeToType','getTableName','hasField','dbId','totalCount','replace','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','doVersion','distinct','getMissingCRUDOperations','BLOB','支持多个条件','toArray','enableDeduplication','[dsparser]\x20跳过重复的表名\x20\x22','getFieldDefinition','iterator','getInternalInstance','isSystem','isMultipleSelectField','includeUsageExample','getPkField','DATETIME','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','getDOType','_instance','no\x20conflicts','SDK\x20调用','支持单值或数组','getFieldOptions','时间戳','getHTTPFields','getFieldsWithDeleted','generateConfig','$in','initDataset','generateFieldExample','getRelationsByField','2024-01-01','max','文件上传','successCode','dblinkInfoDTO','IMAGE','online','empty','getSystemFields','description','toListItem','getEnumFieldMeta','getMethod','getName','Object','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','_max','getCode','getRequired','context','split','tableKey','isEnumField','paging','tenantCode','每页数量(可选)','getFullUrl','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','dbTypeLen','18WaEmcq','RICH_TEXT','datasetSDKKey','set','isSystemField','systemRetain','getAll','LONGTEXT','getOne','keyword','getApplicableOperators','({\x20','TINYINT','where','getFiltered','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','DOUBLE','分组后的过滤条件(对聚合结果进行过滤)','getTooltip','toObject','isNumericField','getResponseSchema','parseRawRequestBody','find','precision','getRequestParams','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','allFields','_autoGenerated','每页数量(默认:\x2020)','2024-12-31','getField','sortNum','getFieldFilterOperators','source','FieldList(','字段编码','label','getPrimaryKeyFields','getSystem','systemAnalysisResult','Operation\x20not\x20found:\x20','getCountByMethod','taskInfo','has','$endWith','操作名称','_$1','getDatabaseVersion','getExtendField','generateResponseExample','();','findByName','getActive','getEnabledOperationAnalyses','hasLogicField','default','\x20的\x20extend\x20配置失败:','getFieldList','isOpenAPI','conflictGroupCount','pageSize','getSource','getRequiredFields','FieldV2(','desc','modifierIdField','DatasetGroup(','getSystemAnalysisResult','(id);','();\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}','<p>富文本内容</p>','TEXT','currentPage','**可更新的字段列表:**','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','slice','getDatasetDocMeta','分组字段列表','\x20fields)','SMALLINT','generateAllOperationsSummary','errorCode','这是一段较长的文本内容示例','operations','_datasetMeta','toField','ARRAY','requestBody','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','dataset_000000','getOperationsData','filter','findByCode',',\x20currentPage,\x20pageSize,\x20...\x20});','FLOAT','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getConflictStats','https://example.com/image.jpg','示例文本','isCreateTime','_fieldListV1WithDeleted','日期时间','getPath','host','DECIMAL','columnName','BIT','const\x20data\x20=\x20await\x20client.models.','$eq','解析\x20responseBody\x20失败:','generateHTTPRequestExample','includeDisabled','`:\x20','updateTime','getOperationAnalyses','padStart','generateSingleValueExample','modifyDate','hasExtendField','_operationAnalyses','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','_raw','filterBlacklist','长文本','update','北京市朝阳区','getFilterOperators'];a0_0x2671=function(){return _0x494016;};return a0_0x2671();}function smartAdapt(_0x43b2e4){const _0x3c64b5=a0_0x505f;if(isDrivenDataDetail(_0x43b2e4))return adaptDrivenDataDetail(_0x43b2e4);if(_0x43b2e4[_0x3c64b5(0x318)])return _0x43b2e4;if(_0x43b2e4[_0x3c64b5(0x2d9)]){const _0x5b53e5={..._0x43b2e4};return _0x5b53e5[_0x3c64b5(0x318)]=_0x43b2e4[_0x3c64b5(0x2d9)],_0x5b53e5;}return _0x43b2e4;}function cleanNewlines(_0x25c64c){return _0x25c64c['replace'](/[\r\n]+/g,'\x20')['trim']();}function cleanDatasetName(_0x5509af){const _0x1e3485=a0_0x505f;if(!_0x5509af[_0x1e3485(0x1da)])return _0x5509af;return{..._0x5509af,'name':cleanNewlines(_0x5509af[_0x1e3485(0x1da)])};}function cleanDatasetNames(_0x406d28){const _0x1ca76a=a0_0x505f;return _0x406d28[_0x1ca76a(0x330)](cleanDatasetName);}var DatasetOperationType;(_0x2aa2ad=>{const _0x5ec8e2=a0_0x505f;_0x2aa2ad['GET_LIST']=_0x5ec8e2(0x30e),_0x2aa2ad['GET_ONE']=_0x5ec8e2(0x38d),_0x2aa2ad[_0x5ec8e2(0x323)]='getOneOrigin',_0x2aa2ad[_0x5ec8e2(0x40d)]=_0x5ec8e2(0x474),_0x2aa2ad[_0x5ec8e2(0x32d)]=_0x5ec8e2(0x228),_0x2aa2ad['UPDATE']=_0x5ec8e2(0x402),_0x2aa2ad[_0x5ec8e2(0x2e8)]=_0x5ec8e2(0x245),_0x2aa2ad[_0x5ec8e2(0x1dd)]=_0x5ec8e2(0x438),_0x2aa2ad[_0x5ec8e2(0x32a)]=_0x5ec8e2(0x1d1),_0x2aa2ad[_0x5ec8e2(0x209)]=_0x5ec8e2(0x27b),_0x2aa2ad['GET_UPLOAD_FILE_SCRIPT']='getUploadFileScript',_0x2aa2ad[_0x5ec8e2(0x1eb)]=_0x5ec8e2(0x240),_0x2aa2ad[_0x5ec8e2(0x1de)]=_0x5ec8e2(0x205),_0x2aa2ad[_0x5ec8e2(0x227)]=_0x5ec8e2(0x3b0),_0x2aa2ad['IMPORT_TEMPLATE']=_0x5ec8e2(0x2f1);})(DatasetOperationType||={});const a0_0x5e71b8={};a0_0x5e71b8[a0_0x1fa0fa(0x30e)]=a0_0x1fa0fa(0x217),a0_0x5e71b8[a0_0x1fa0fa(0x38d)]=a0_0x1fa0fa(0x41a),a0_0x5e71b8[a0_0x1fa0fa(0x32b)]='查询单条(原始)',a0_0x5e71b8[a0_0x1fa0fa(0x474)]='查询单条(用于更新)',a0_0x5e71b8[a0_0x1fa0fa(0x228)]='创建',a0_0x5e71b8['update']='更新',a0_0x5e71b8[a0_0x1fa0fa(0x245)]='删除',a0_0x5e71b8[a0_0x1fa0fa(0x438)]=a0_0x1fa0fa(0x287),a0_0x5e71b8['getFileUrl']=a0_0x1fa0fa(0x31e),a0_0x5e71b8[a0_0x1fa0fa(0x27b)]=a0_0x1fa0fa(0x239),a0_0x5e71b8[a0_0x1fa0fa(0x2dd)]=a0_0x1fa0fa(0x437),a0_0x5e71b8[a0_0x1fa0fa(0x240)]=a0_0x1fa0fa(0x216),a0_0x5e71b8['createExport']=a0_0x1fa0fa(0x2d1),a0_0x5e71b8[a0_0x1fa0fa(0x3b0)]='任务信息',a0_0x5e71b8['importTemplate']=a0_0x1fa0fa(0x1db);var OPERATION_TYPE_DISPLAY_NAME=a0_0x5e71b8,API_BLACKLIST=[a0_0x1fa0fa(0x30e),a0_0x1fa0fa(0x32b),a0_0x1fa0fa(0x474),a0_0x1fa0fa(0x1d1)];function parseFieldExtend(_0x1f2af5){const _0x349b0d=a0_0x1fa0fa;if(!_0x1f2af5||typeof _0x1f2af5!==_0x349b0d(0x248))return!![]&&console[_0x349b0d(0x472)](_0x349b0d(0x44d),_0x1f2af5),{};if(!_0x1f2af5[_0x349b0d(0x405)])return{};try{const _0x5d8b2b=typeof _0x1f2af5[_0x349b0d(0x405)]===_0x349b0d(0x30b)?JSON[_0x349b0d(0x1cc)](_0x1f2af5[_0x349b0d(0x405)]):_0x1f2af5['extend'];if(typeof _0x5d8b2b!==_0x349b0d(0x248)||_0x5d8b2b===null)return{};return _0x5d8b2b;}catch{return{};}}function isPrimaryKeyField(_0x284ff0,_0x1131ec){const _0x38441a=a0_0x1fa0fa;if(!_0x284ff0||typeof _0x284ff0!==_0x38441a(0x248))return![];if(typeof _0x1131ec===_0x38441a(0x30b)&&_0x284ff0[_0x38441a(0x2d9)]===_0x1131ec)return!![];const _0x5269b1=parseFieldExtend(_0x284ff0);return Boolean(_0x5269b1[_0x38441a(0x289)]||_0x5269b1[_0x38441a(0x433)]);}function isSystemField(_0x31e8c5){const _0x5ceff4=a0_0x1fa0fa,_0x2cc6fc=parseFieldExtend(_0x31e8c5);return Boolean(_0x2cc6fc[_0x5ceff4(0x38a)]);}function isRequiredField(_0x5e417e){const _0x288f8f=a0_0x1fa0fa,_0x391402=parseFieldExtend(_0x5e417e);return Boolean(_0x391402[_0x288f8f(0x2b3)]);}function isAutoIncrementField(_0x5a0cdc){const _0x528d63=a0_0x1fa0fa,_0x7d524d=parseFieldExtend(_0x5a0cdc);return Boolean(_0x7d524d[_0x528d63(0x456)]);}function isCreateTimeField(_0x3765f0){const _0x2d8888=a0_0x1fa0fa,_0x789512=parseFieldExtend(_0x3765f0);return Boolean(_0x789512[_0x2d8888(0x314)]);}function isModifyTimeField(_0x191639){const _0x15ea97=a0_0x1fa0fa,_0x167717=parseFieldExtend(_0x191639);return Boolean(_0x167717[_0x15ea97(0x3fb)]);}const a0_0x354f3d={};a0_0x354f3d[a0_0x1fa0fa(0x1f4)]='数字',a0_0x354f3d[a0_0x1fa0fa(0x3cd)]='文本',a0_0x354f3d[a0_0x1fa0fa(0x2e6)]=a0_0x1fa0fa(0x401),a0_0x354f3d['DATE']='日期',a0_0x354f3d['DATETIME']=a0_0x1fa0fa(0x3eb),a0_0x354f3d[a0_0x1fa0fa(0x275)]=a0_0x1fa0fa(0x360),a0_0x354f3d[a0_0x1fa0fa(0x457)]=a0_0x1fa0fa(0x276),a0_0x354f3d[a0_0x1fa0fa(0x421)]='多选',a0_0x354f3d['RADIO']='单选',a0_0x354f3d[a0_0x1fa0fa(0x2e5)]='开关',a0_0x354f3d[a0_0x1fa0fa(0x269)]=a0_0x1fa0fa(0x36a),a0_0x354f3d[a0_0x1fa0fa(0x36d)]='图片',a0_0x354f3d[a0_0x1fa0fa(0x386)]=a0_0x1fa0fa(0x258),a0_0x354f3d[a0_0x1fa0fa(0x28e)]=a0_0x1fa0fa(0x28e),a0_0x354f3d[a0_0x1fa0fa(0x3dc)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x354f3d;function getDbTypeDisplay(_0x442e2a){const _0x1d6ee0=a0_0x1fa0fa;if(typeof _0x442e2a!=='string')return!![]&&console[_0x1d6ee0(0x472)](_0x1d6ee0(0x359),_0x442e2a),String(_0x442e2a||'-');return DB_TYPE_DISPLAY_MAP[_0x442e2a]||_0x442e2a;}function formatDbType(_0x24f407,_0x2b4dba){const _0x172089=a0_0x1fa0fa;if(!_0x24f407||typeof _0x24f407!=='string')return'-';if(!_0x2b4dba||typeof _0x2b4dba!=='number')return _0x24f407;const _0x3ff2f8=['TEXT',_0x172089(0x358),_0x172089(0x275),_0x172089(0x2c2)];if(_0x3ff2f8[_0x172089(0x22a)](_0x24f407[_0x172089(0x43d)]()))return _0x24f407;return _0x24f407+'('+_0x2b4dba+')';}function parseOperationType(_0x35bb8e){const _0x5f13a8=a0_0x1fa0fa;if(typeof _0x35bb8e!==_0x5f13a8(0x30b)){!![]&&console[_0x5f13a8(0x472)](_0x5f13a8(0x2fd),_0x35bb8e);return;}if(Object[_0x5f13a8(0x2da)](DatasetOperationType)['includes'](_0x35bb8e))return _0x35bb8e;const _0x38302b=Object[_0x5f13a8(0x1f2)](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x3181f7,_0x275a59])=>_0x275a59===_0x35bb8e);return _0x38302b?_0x38302b[0x0]:undefined;}function shouldIncludeField(_0x351e58,_0x25c4b7,_0x3ae561){const _0x276829=a0_0x1fa0fa,_0x23e9a3=parseFieldExtend(_0x351e58),_0x558933=isPrimaryKeyField(_0x351e58,_0x3ae561),_0x5ce0ca=Boolean(_0x23e9a3[_0x276829(0x38a)]),_0xb670c2=Boolean(_0x23e9a3[_0x276829(0x456)]),_0x31c25d=Boolean(_0x23e9a3[_0x276829(0x314)]),_0x45bb09=Boolean(_0x23e9a3[_0x276829(0x3fb)]);switch(_0x25c4b7){case _0x276829(0x30e):return!![];case _0x276829(0x38d):case'getOneOrigin':case _0x276829(0x245):return _0x558933;case _0x276829(0x228):if(_0x558933&&_0xb670c2)return![];if(_0x5ce0ca)return![];if(_0x31c25d||_0x45bb09)return![];return!![];case _0x276829(0x402):case _0x276829(0x474):if(_0x558933)return!![];if(_0x5ce0ca)return![];if(_0x31c25d||_0x45bb09)return![];return!![];case'getSelectOptions':return _0x351e58[_0x276829(0x2d9)]===_0x276829(0x2d9);default:return!![];}}function getFieldsForOperation(_0x2b06a8,_0x1464b8,_0x187427){const _0x5d1c1b=a0_0x1fa0fa;if(!Array[_0x5d1c1b(0x43c)](_0x2b06a8))return!![]&&console[_0x5d1c1b(0x472)](_0x5d1c1b(0x3d0),_0x2b06a8),[];return _0x2b06a8[_0x5d1c1b(0x3e1)](_0x11b13d=>shouldIncludeField(_0x11b13d,_0x1464b8,_0x187427));}function isApiBlacklisted(_0x56c657){const _0x51b820=a0_0x1fa0fa;if(typeof _0x56c657!==_0x51b820(0x30b))return!![]&&console[_0x51b820(0x472)](_0x51b820(0x43b),_0x56c657),![];return API_BLACKLIST[_0x51b820(0x22a)](_0x56c657);}function filterApiOperations(_0xdb488f){const _0x4df129=a0_0x1fa0fa;if(!Array[_0x4df129(0x43c)](_0xdb488f))return!![]&&console['warn'](_0x4df129(0x1d5),_0xdb488f),[];return _0xdb488f[_0x4df129(0x3e1)](_0x102f82=>_0x102f82&&typeof _0x102f82===_0x4df129(0x248)&&!isApiBlacklisted(_0x102f82[_0x4df129(0x1da)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x1fa0fa(0x408)](),'DATE':()=>Date[a0_0x1fa0fa(0x408)](),'SELECT':({fieldInfo:_0x171070})=>{const _0x35a438=a0_0x1fa0fa;if(_0x171070?.[_0x35a438(0x20d)]&&Array[_0x35a438(0x43c)](_0x171070[_0x35a438(0x20d)])&&_0x171070[_0x35a438(0x20d)][_0x35a438(0x340)]>0x0)return _0x171070[_0x35a438(0x20d)][0x0][_0x35a438(0x449)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x271a0b})=>{const _0x1e3e16=a0_0x1fa0fa;if(_0x271a0b===_0x1e3e16(0x3ce))return 0x1;if(_0x271a0b===_0x1e3e16(0x3c2))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x3fa30d})=>{const _0x297d1b=a0_0x1fa0fa;if(_0x3fa30d&&typeof _0x3fa30d===_0x297d1b(0x30b)){const _0xeb6f17=_0x3fa30d[_0x297d1b(0x28b)]();if(_0xeb6f17[_0x297d1b(0x22a)]('邮箱')||_0xeb6f17[_0x297d1b(0x22a)](_0x297d1b(0x432)))return _0x297d1b(0x341);if(_0xeb6f17[_0x297d1b(0x22a)]('电话')||_0xeb6f17[_0x297d1b(0x22a)]('手机')||_0xeb6f17[_0x297d1b(0x22a)]('phone'))return'13800138000';if(_0xeb6f17[_0x297d1b(0x22a)]('地址')||_0xeb6f17['includes'](_0x297d1b(0x25a)))return _0x297d1b(0x403);if(_0xeb6f17[_0x297d1b(0x22a)]('姓名')||_0xeb6f17[_0x297d1b(0x22a)](_0x297d1b(0x1da)))return'张三';}return _0x297d1b(0x3e8);},'VARCHAR':({description:_0x36ffbf})=>TYPE_VALUE_GENERATORS[a0_0x1fa0fa(0x3cd)]({'description':_0x36ffbf}),'CHAR':({description:_0x592823})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x592823}),'STRING':({fieldInfo:_0x10fbdb,description:_0x28417a})=>{const _0x29b445=a0_0x1fa0fa;if(_0x10fbdb?.[_0x29b445(0x1f7)]&&typeof _0x10fbdb['placeholder']==='string'&&_0x10fbdb['placeholder']!==_0x29b445(0x201))return _0x10fbdb['placeholder'][_0x29b445(0x347)](/^请输入|^请选择/,'');const _0x2c5089={};return _0x2c5089[_0x29b445(0x371)]=_0x28417a,TYPE_VALUE_GENERATORS[_0x29b445(0x3cd)](_0x2c5089);},'TEXTAREA':()=>a0_0x1fa0fa(0x3d8),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x1fa0fa(0x449)}),'ARRAY':()=>[a0_0x1fa0fa(0x1e3),a0_0x1fa0fa(0x461)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x1fa0fa(0x3e7),'RICH_TEXT':()=>a0_0x1fa0fa(0x3cc)};function generateExampleValue(_0x21b8b0,_0x8b3d4b,_0x88a6d4,_0x15d123={}){const _0x2dc276=a0_0x1fa0fa;typeof _0x21b8b0!==_0x2dc276(0x30b)&&(!![]&&console[_0x2dc276(0x472)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x21b8b0),_0x21b8b0=String(_0x21b8b0||''));if(typeof _0x8b3d4b!==_0x2dc276(0x30b))return!![]&&console[_0x2dc276(0x472)](_0x2dc276(0x290),_0x8b3d4b),_0x2dc276(0x260);const {isPrimaryKey:_0x58bdd8,dbtableConfig:_0x1d7a41}=_0x15d123;if(_0x58bdd8)return 0x1;if(_0x1d7a41&&typeof _0x1d7a41==='object'){const _0x19c80f=_0x1d7a41[_0x2dc276(0x444)]?.['fieldName']===_0x21b8b0,_0x13bb40=_0x1d7a41[_0x2dc276(0x1e4)]?.[_0x2dc276(0x212)]===_0x21b8b0;if(_0x19c80f||_0x13bb40){if(_0x88a6d4&&typeof _0x88a6d4===_0x2dc276(0x30b)&&_0x88a6d4[_0x2dc276(0x43d)]()['includes'](_0x2dc276(0x275)))return Date['now']();return new Date()['toISOString']()[_0x2dc276(0x347)]('T','\x20')[_0x2dc276(0x37c)]('.')[0x0];}}const _0x326e30={..._0x15d123};_0x326e30[_0x2dc276(0x1ec)]=_0x21b8b0;const _0x260aac=_0x326e30;if(_0x88a6d4&&typeof _0x88a6d4==='string'){const _0xe0a316=_0x88a6d4[_0x2dc276(0x43d)](),_0x49a30a=TYPE_VALUE_GENERATORS[_0xe0a316];if(_0x49a30a)return _0x49a30a(_0x260aac);}if(_0x8b3d4b&&typeof _0x8b3d4b===_0x2dc276(0x30b)){const _0x5ae019=_0x8b3d4b['toUpperCase'](),_0x1b2a42=TYPE_VALUE_GENERATORS[_0x5ae019];if(_0x1b2a42)return _0x1b2a42(_0x260aac);}return _0x2dc276(0x260);}function generateExampleFromSchema(_0x5cbd3a,_0x293eaa){const _0x29c2bf=a0_0x1fa0fa;if(!_0x5cbd3a||typeof _0x5cbd3a!==_0x29c2bf(0x248))return{};if(Array[_0x29c2bf(0x43c)](_0x5cbd3a)){if(_0x5cbd3a[_0x29c2bf(0x340)]>0x0)return[generateExampleFromSchema(_0x5cbd3a[0x0],_0x293eaa)];return[];}const _0x1d78d2={};return Object[_0x29c2bf(0x316)](_0x5cbd3a)[_0x29c2bf(0x2fc)](_0x4dce11=>{const _0x10b090=_0x29c2bf,_0x32e031=_0x5cbd3a[_0x4dce11];if(_0x32e031&&typeof _0x32e031===_0x10b090(0x248)&&!Array[_0x10b090(0x43c)](_0x32e031)&&_0x32e031[_0x10b090(0x44e)]){const _0x30d595=_0x32e031,_0x5eccb2=_0x30d595[_0x10b090(0x44e)],_0x3e9d8f=_0x30d595['description'];if(typeof _0x5eccb2===_0x10b090(0x30b)){const _0x57b784={};_0x57b784[_0x10b090(0x371)]=_0x3e9d8f,_0x57b784['dbtableConfig']=_0x293eaa,_0x1d78d2[_0x4dce11]=generateExampleValue(_0x4dce11,_0x5eccb2,undefined,_0x57b784);}else _0x1d78d2[_0x4dce11]=_0x10b090(0x260);}else{if(Array[_0x10b090(0x43c)](_0x32e031))_0x1d78d2[_0x4dce11]=_0x32e031[_0x10b090(0x340)]>0x0?[generateExampleFromSchema(_0x32e031[0x0],_0x293eaa)]:[];else _0x32e031&&typeof _0x32e031===_0x10b090(0x248)?_0x1d78d2[_0x4dce11]=generateExampleFromSchema(_0x32e031,_0x293eaa):_0x1d78d2[_0x4dce11]=_0x32e031;}}),_0x1d78d2;}function parseRequestBody(_0xfe4df6){const _0x1c8437=a0_0x1fa0fa;if(!_0xfe4df6)return{};try{return JSON[_0x1c8437(0x1cc)](_0xfe4df6);}catch(_0x82ffae){return!![]&&console['warn']('解析\x20requestBody\x20失败:',_0x82ffae),{};}}function parseResponseBody(_0x11432b){const _0x54e767=a0_0x1fa0fa;if(!_0x11432b)return null;try{const _0x96165b=JSON[_0x54e767(0x1cc)](_0x11432b);return _0x96165b['200']||_0x96165b;}catch(_0x259a09){return!![]&&console[_0x54e767(0x472)](_0x54e767(0x3f3),_0x259a09),null;}}function generateRequestExample(_0x5ec955,_0x36d346,_0x139216,_0x42a388){const _0x3d8be9=a0_0x1fa0fa,_0x56140b={};if(!Array[_0x3d8be9(0x43c)](_0x5ec955))return!![]&&console[_0x3d8be9(0x472)](_0x3d8be9(0x2a3),_0x5ec955),_0x56140b;return _0x5ec955[_0x3d8be9(0x2fc)](_0x3ef766=>{const _0x59bf1b=_0x3d8be9;if(!_0x3ef766||typeof _0x3ef766!==_0x59bf1b(0x248)){!![]&&console[_0x59bf1b(0x472)](_0x59bf1b(0x337),_0x3ef766);return;}if(typeof _0x3ef766[_0x59bf1b(0x2d9)]!==_0x59bf1b(0x30b)||typeof _0x3ef766['type']!==_0x59bf1b(0x30b)){!![]&&console[_0x59bf1b(0x472)](_0x59bf1b(0x383),_0x3ef766);return;}const _0x5d16a9=parseFieldExtend(_0x3ef766),_0x39caf6=_0x3ef766['code']===_0x139216||Boolean(_0x5d16a9?.[_0x59bf1b(0x289)]),_0x2cce09=generateExampleValue(_0x3ef766[_0x59bf1b(0x2d9)],_0x3ef766['type'],typeof _0x3ef766[_0x59bf1b(0x479)]===_0x59bf1b(0x30b)?_0x3ef766[_0x59bf1b(0x479)]:undefined,{'fieldInfo':_0x5d16a9,'isPrimaryKey':_0x39caf6,'description':_0x3ef766[_0x59bf1b(0x371)]||_0x3ef766[_0x59bf1b(0x1da)],'dbtableConfig':_0x42a388});_0x56140b[_0x3ef766[_0x59bf1b(0x2d9)]]=_0x2cce09;}),_0x36d346===_0x3d8be9(0x30e)&&(_0x56140b['currentPage']=0x1,_0x56140b[_0x3d8be9(0x3c2)]=0xa),_0x56140b;}function formatEnumValue(_0x3d6574,_0x1bc37f){const _0x56f607=a0_0x1fa0fa;if(_0x3d6574['multiple']&&Array['isArray'](_0x1bc37f))return _0x1bc37f[_0x56f607(0x330)](_0x20f092=>_0x3d6574[_0x56f607(0x1e9)][String(_0x20f092)]||String(_0x20f092))[_0x56f607(0x476)](',\x20');return _0x3d6574[_0x56f607(0x1e9)][String(_0x1bc37f)]||String(_0x1bc37f);}function formatOptionsForDoc(_0xdd471){const _0x57713b=a0_0x1fa0fa;return _0xdd471[_0x57713b(0x330)](_0x244f56=>_0x244f56[_0x57713b(0x449)]+'('+_0x244f56[_0x57713b(0x3aa)]+')')[_0x57713b(0x476)](',\x20');}function formatOptionsAsMarkdownList(_0x2fafd3,_0xf973e2=0x0){const _0x324e8a=a0_0x1fa0fa,_0x52829d='\x20\x20'['repeat'](_0xf973e2),_0x2e7cd9=[];return _0x2fafd3['forEach'](_0x139ba6=>{const _0x599f13=a0_0x505f;_0x2e7cd9[_0x599f13(0x2ce)](_0x52829d+_0x599f13(0x468)+_0x139ba6['value']+_0x599f13(0x3f6)+_0x139ba6[_0x599f13(0x3aa)]),_0x139ba6[_0x599f13(0x2c3)]&&_0x139ba6['children'][_0x599f13(0x340)]>0x0&&_0x2e7cd9[_0x599f13(0x2ce)](formatOptionsAsMarkdownList(_0x139ba6[_0x599f13(0x2c3)],_0xf973e2+0x1));}),_0x2e7cd9[_0x324e8a(0x476)]('\x0a');}class DbtableConfig{['_raw'];constructor(_0x5d1028){const _0x58d434={..._0x5d1028};this['_raw']=_0x58d434;}get[a0_0x1fa0fa(0x345)](){const _0x36e1a7=a0_0x1fa0fa;return this[_0x36e1a7(0x3ff)][_0x36e1a7(0x345)];}get[a0_0x1fa0fa(0x2bb)](){const _0x41f52e=a0_0x1fa0fa;return this[_0x41f52e(0x3ff)][_0x41f52e(0x2bb)]??this['_raw'][_0x41f52e(0x36c)]?.['dbName'];}get[a0_0x1fa0fa(0x23d)](){const _0x18ee5d=a0_0x1fa0fa;return this[_0x18ee5d(0x3ff)][_0x18ee5d(0x23d)];}get[a0_0x1fa0fa(0x2d2)](){return this['_raw']['datasetKey'];}get['pkField'](){const _0x3c0a47=a0_0x1fa0fa;return this[_0x3c0a47(0x3ff)][_0x3c0a47(0x433)];}get[a0_0x1fa0fa(0x2e9)](){const _0x123a7e=a0_0x1fa0fa;return this[_0x123a7e(0x3ff)]['labelField'];}get[a0_0x1fa0fa(0x1f1)](){const _0x220644=a0_0x1fa0fa;return this[_0x220644(0x3ff)][_0x220644(0x1f1)];}get['createTimeField'](){const _0x271114=a0_0x1fa0fa;return this['_raw'][_0x271114(0x444)];}get[a0_0x1fa0fa(0x1e4)](){const _0x56e34f=a0_0x1fa0fa;return this[_0x56e34f(0x3ff)]['updateTimeField'];}get[a0_0x1fa0fa(0x439)](){const _0x3b6758=a0_0x1fa0fa;return this['_raw'][_0x3b6758(0x439)];}get[a0_0x1fa0fa(0x46c)](){const _0x252721=a0_0x1fa0fa;return this[_0x252721(0x3ff)]['creatorNameField'];}get['modifierIdField'](){const _0x3972c1=a0_0x1fa0fa;return this[_0x3972c1(0x3ff)][_0x3972c1(0x3c7)];}get['modifierNameField'](){const _0x4fe69f=a0_0x1fa0fa;return this[_0x4fe69f(0x3ff)][_0x4fe69f(0x317)];}get[a0_0x1fa0fa(0x36c)](){const _0x1566bc=a0_0x1fa0fa;return this[_0x1566bc(0x3ff)][_0x1566bc(0x36c)];}[a0_0x1fa0fa(0x2bd)](){const _0x1e09ef=a0_0x1fa0fa;if(!this[_0x1e09ef(0x3ff)]['allFields'])return[];return this[_0x1e09ef(0x3ff)][_0x1e09ef(0x3a0)][_0x1e09ef(0x37c)](',')['map'](_0x1f8df9=>_0x1f8df9[_0x1e09ef(0x22b)]())[_0x1e09ef(0x3e1)](Boolean);}[a0_0x1fa0fa(0x2b9)](){const _0x4c696c=a0_0x1fa0fa;return this[_0x4c696c(0x3ff)]['allFields'];}[a0_0x1fa0fa(0x344)](_0x3d802c){const _0x36fa2a=a0_0x1fa0fa;return this[_0x36fa2a(0x2bd)]()[_0x36fa2a(0x22a)](_0x3d802c);}[a0_0x1fa0fa(0x465)](){const _0xb22c79=a0_0x1fa0fa;return Boolean(this[_0xb22c79(0x3ff)][_0xb22c79(0x23d)]);}[a0_0x1fa0fa(0x29e)](){const _0x1d88b5=a0_0x1fa0fa;return Boolean(this['_raw'][_0x1d88b5(0x36c)]);}[a0_0x1fa0fa(0x3bc)](){const _0x19f1f6=a0_0x1fa0fa;return Boolean(this[_0x19f1f6(0x3ff)][_0x19f1f6(0x1f1)]?.[_0x19f1f6(0x212)]);}['hasCreateTimeField'](){const _0x3e3254=a0_0x1fa0fa;return Boolean(this[_0x3e3254(0x3ff)][_0x3e3254(0x444)]?.[_0x3e3254(0x212)]);}['hasUpdateTimeField'](){const _0x219e14=a0_0x1fa0fa;return Boolean(this[_0x219e14(0x3ff)]['updateTimeField']?.[_0x219e14(0x212)]);}[a0_0x1fa0fa(0x2ed)](){const _0x378c4c=a0_0x1fa0fa;return Boolean(this['_raw'][_0x378c4c(0x439)]?.['fieldName']);}['hasModifierIdField'](){const _0x2c1015=a0_0x1fa0fa;return Boolean(this[_0x2c1015(0x3ff)]['modifierIdField']?.[_0x2c1015(0x212)]);}[a0_0x1fa0fa(0x2b6)](_0x3e84f2){const _0x52eff1=a0_0x1fa0fa;return this[_0x52eff1(0x3ff)][_0x52eff1(0x433)]===_0x3e84f2;}['isSystemField'](_0x2207a6){const _0x54c88b=a0_0x1fa0fa;return this[_0x54c88b(0x2b6)](_0x2207a6)||this['_raw'][_0x54c88b(0x1f1)]?.[_0x54c88b(0x212)]===_0x2207a6||this[_0x54c88b(0x3ff)][_0x54c88b(0x444)]?.[_0x54c88b(0x212)]===_0x2207a6||this[_0x54c88b(0x3ff)]['updateTimeField']?.[_0x54c88b(0x212)]===_0x2207a6||this[_0x54c88b(0x3ff)][_0x54c88b(0x439)]?.['fieldName']===_0x2207a6||this[_0x54c88b(0x3ff)]['creatorNameField']?.[_0x54c88b(0x212)]===_0x2207a6||this[_0x54c88b(0x3ff)][_0x54c88b(0x3c7)]?.['fieldName']===_0x2207a6||this[_0x54c88b(0x3ff)][_0x54c88b(0x317)]?.['fieldName']===_0x2207a6;}[a0_0x1fa0fa(0x210)](){const _0x30bfa2=a0_0x1fa0fa;return this['_raw'][_0x30bfa2(0x36c)]?.[_0x30bfa2(0x2bb)];}[a0_0x1fa0fa(0x2ec)](){const _0xe6ffe4=a0_0x1fa0fa;return this[_0xe6ffe4(0x3ff)][_0xe6ffe4(0x36c)]?.[_0xe6ffe4(0x479)];}[a0_0x1fa0fa(0x3b5)](){const _0x10cb9a=a0_0x1fa0fa;return this[_0x10cb9a(0x3ff)][_0x10cb9a(0x36c)]?.[_0x10cb9a(0x312)];}['getTenantCode'](){const _0x173b2e=a0_0x1fa0fa;return this[_0x173b2e(0x3ff)]['dblinkInfoDTO']?.[_0x173b2e(0x380)];}[a0_0x1fa0fa(0x1e7)](){const _0x523431=a0_0x1fa0fa;return this['_raw'][_0x523431(0x36c)]?.['appCode'];}[a0_0x1fa0fa(0x3c9)](){const _0x25b90b=a0_0x1fa0fa;return this[_0x25b90b(0x3ff)]['dblinkInfoDTO']?.[_0x25b90b(0x3ad)];}[a0_0x1fa0fa(0x333)](){const _0xb2953f=a0_0x1fa0fa;return{'hasTableName':this[_0xb2953f(0x465)](),'hasDblinkInfo':this[_0xb2953f(0x29e)](),'fieldCount':this[_0xb2953f(0x2bd)]()[_0xb2953f(0x340)],'systemFields':{'hasLogicField':this[_0xb2953f(0x3bc)](),'hasCreateTimeField':this[_0xb2953f(0x334)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this[_0xb2953f(0x2ed)](),'hasModifierIdField':this[_0xb2953f(0x274)]()}};}[a0_0x1fa0fa(0x21e)](){const _0x21f722=a0_0x1fa0fa,_0x386150={};return _0x386150[_0x21f722(0x23d)]=this[_0x21f722(0x23d)],_0x386150[_0x21f722(0x433)]=this[_0x21f722(0x433)],_0x386150[_0x21f722(0x2d2)]=this[_0x21f722(0x2d2)],_0x386150[_0x21f722(0x345)]=this['dbId'],_0x386150;}[a0_0x1fa0fa(0x1ce)](){const _0x4848a5=a0_0x1fa0fa,_0x4796d9={...this[_0x4848a5(0x3ff)]};return _0x4796d9;}[a0_0x1fa0fa(0x419)](){const _0x362e84={...this['_raw']};return _0x362e84;}[a0_0x1fa0fa(0x45a)](){const _0x1d8615=a0_0x1fa0fa,_0x348d56=this[_0x1d8615(0x23d)]||_0x1d8615(0x45d),_0x51a7b7=this[_0x1d8615(0x2bd)]()[_0x1d8615(0x340)];return _0x1d8615(0x21d)+_0x348d56+_0x1d8615(0x32c)+_0x51a7b7+')';}static[a0_0x1fa0fa(0x36f)](){return new DbtableConfig({});}}class DatasetItem{['_raw'];constructor(_0x5f1343){const _0x3c7382=a0_0x1fa0fa,_0xc9cdd7=_0x5f1343[_0x3c7382(0x318)]||_0x5f1343[_0x3c7382(0x2d9)]||_0x5f1343[_0x3c7382(0x29f)],_0x71d9ce={..._0x5f1343};_0x71d9ce[_0x3c7382(0x318)]=_0xc9cdd7,this[_0x3c7382(0x3ff)]=_0x71d9ce;}get['id'](){const _0x594f3e=a0_0x1fa0fa;return this[_0x594f3e(0x3ff)]['id'];}get['name'](){const _0x21b532=a0_0x1fa0fa;return this[_0x21b532(0x3ff)][_0x21b532(0x1da)];}[a0_0x1fa0fa(0x375)](){const _0x3a943e=a0_0x1fa0fa;return this[_0x3a943e(0x1da)];}get[a0_0x1fa0fa(0x318)](){const _0x3c627f=a0_0x1fa0fa;return this[_0x3c627f(0x3ff)][_0x3c627f(0x318)]||'';}get[a0_0x1fa0fa(0x2ca)](){const _0x2d17f3=a0_0x1fa0fa;if(!this['_raw'][_0x2d17f3(0x2ca)])return null;return new DbtableConfig(this['_raw'][_0x2d17f3(0x2ca)]);}[a0_0x1fa0fa(0x33f)](){const _0x30ab34=a0_0x1fa0fa;return this['_raw'][_0x30ab34(0x2ca)];}['getDbName'](){const _0x16b5c1=a0_0x1fa0fa;return this[_0x16b5c1(0x2ca)]?.[_0x16b5c1(0x2bb)]||'';}[a0_0x1fa0fa(0x343)](){return getTableName(this['_raw']);}[a0_0x1fa0fa(0x452)](){const _0x279bed=a0_0x1fa0fa;return getTableKey(this[_0x279bed(0x343)]());}[a0_0x1fa0fa(0x1d9)](){const _0x576f0c=a0_0x1fa0fa;return generateModelKeyFromCode(this[_0x576f0c(0x318)]);}['isVirtualTable'](){const _0x2e1564=a0_0x1fa0fa;return isVirtualTableName(this[_0x2e1564(0x343)]());}['getModelName'](){return getTableKey(this['getTableName']());}[a0_0x1fa0fa(0x21e)](){const _0x1f0f0f=a0_0x1fa0fa,_0x2e849c=getTableKey(this[_0x1f0f0f(0x343)]());return{'key':_0x2e849c,'alias':_0x2e849c,'tableName':this[_0x1f0f0f(0x343)](),'datasetCode':this[_0x1f0f0f(0x318)],'name':this[_0x1f0f0f(0x1da)]};}['toJSON'](){const _0x499034=a0_0x1fa0fa,_0xec0a80={...this[_0x499034(0x3ff)]};return _0xec0a80[_0x499034(0x318)]=this[_0x499034(0x318)],_0xec0a80;}[a0_0x1fa0fa(0x419)](){const _0x18b4ba=a0_0x1fa0fa,_0xf1a50f={...this[_0x18b4ba(0x3ff)]};return _0xf1a50f;}[a0_0x1fa0fa(0x203)](){const _0x169b95=a0_0x1fa0fa,_0x8ad56d=this[_0x169b95(0x2ca)];return _0x8ad56d!==null&&_0x8ad56d[_0x169b95(0x465)]();}[a0_0x1fa0fa(0x3b6)](_0x363016){return this['_raw'][_0x363016];}[a0_0x1fa0fa(0x3fc)](_0x2a4af7){const _0x3da420=a0_0x1fa0fa;return _0x2a4af7 in this[_0x3da420(0x3ff)];}[a0_0x1fa0fa(0x45a)](){const _0x49c9ba=a0_0x1fa0fa;return'DatasetItem('+this[_0x49c9ba(0x1da)]+',\x20'+this['datasetCode']+')';}}class Operation{['name'];[a0_0x1fa0fa(0x3ff)];[a0_0x1fa0fa(0x37b)];constructor(_0x3d60cc,_0x3919ef,_0x5dfd47){this['name']=_0x3d60cc,this['_raw']=_0x3919ef,this['context']=_0x5dfd47;}[a0_0x1fa0fa(0x375)](){const _0x368316=a0_0x1fa0fa;return this[_0x368316(0x1da)];}[a0_0x1fa0fa(0x233)](){const _0x524b96=a0_0x1fa0fa;return OPERATION_TYPE_DISPLAY_NAME[this[_0x524b96(0x1da)]]||this[_0x524b96(0x1da)];}[a0_0x1fa0fa(0x29a)](){const _0x23ef0b=a0_0x1fa0fa;return parseOperationType(this[_0x23ef0b(0x1da)]);}['isEnabled'](){const _0x1a3d08=a0_0x1fa0fa;return this[_0x1a3d08(0x3ff)]!==null&&this[_0x1a3d08(0x3ff)]!==![];}[a0_0x1fa0fa(0x374)](){const _0xfe544f=a0_0x1fa0fa,_0x5595d7=this['_raw'];if(_0x5595d7===![]||_0x5595d7===null)return'';return _0x5595d7['method']||_0xfe544f(0x1d7);}[a0_0x1fa0fa(0x3ec)](){const _0x442e59=this['_raw'];if(_0x442e59===![]||_0x442e59===null)return'';return _0x442e59['path']||'';}[a0_0x1fa0fa(0x382)](){const _0x928342=a0_0x1fa0fa,_0x4ab65f=this[_0x928342(0x3ff)];let _0x19e870='';_0x4ab65f!==![]&&_0x4ab65f!==null&&_0x4ab65f[_0x928342(0x3ed)]&&(_0x19e870=_0x4ab65f['host']);const _0xf983a2=this[_0x928342(0x3ec)]();return _0x19e870&&_0xf983a2?''+_0x19e870+_0xf983a2:_0xf983a2;}[a0_0x1fa0fa(0x39b)](){const _0x3b20cb=a0_0x1fa0fa,_0x36ff11=this['_raw'];if(_0x36ff11===![]||_0x36ff11===null||!_0x36ff11[_0x3b20cb(0x3dd)])return{};try{return JSON[_0x3b20cb(0x1cc)](_0x36ff11[_0x3b20cb(0x3dd)]);}catch{return{};}}['parseRawResponseBody'](){const _0x1c9090=a0_0x1fa0fa,_0x2dce3b=this[_0x1c9090(0x3ff)];if(_0x2dce3b===![]||_0x2dce3b===null||!_0x2dce3b['responseBody'])return null;return parseResponseBody(_0x2dce3b[_0x1c9090(0x410)]);}[a0_0x1fa0fa(0x39e)](){const _0x1aded6=a0_0x1fa0fa;return this[_0x1aded6(0x39b)]();}[a0_0x1fa0fa(0x39a)](){return this['parseRawResponseBody']();}['getRequestFields'](){const _0x27adb2=a0_0x1fa0fa,_0x5f341b=this['getRequestParams']();return Object[_0x27adb2(0x316)](_0x5f341b);}[a0_0x1fa0fa(0x2e2)](){const _0x44ea5e=a0_0x1fa0fa,_0x2d81ba=this[_0x44ea5e(0x39e)](),_0x544e96={};return Object[_0x44ea5e(0x1f2)](_0x2d81ba)[_0x44ea5e(0x2fc)](([_0x2e2eb1,_0x4e2bfa])=>{const _0x273449=_0x44ea5e,_0x3767f8=_0x4e2bfa;_0x544e96[_0x2e2eb1]=generateExampleValue(_0x2e2eb1,_0x3767f8[_0x273449(0x44e)]||_0x273449(0x23f),undefined,{'description':_0x3767f8[_0x273449(0x371)]});}),_0x544e96;}['generateHTTPExample'](){const _0xf4568c=a0_0x1fa0fa;return this[_0xf4568c(0x2e2)]();}[a0_0x1fa0fa(0x3b7)](){const _0x1b62af=a0_0x1fa0fa,_0x2ad2c5=this[_0x1b62af(0x251)]();if(!_0x2ad2c5){const _0xed1145={};return _0xed1145['success']=!![],_0xed1145['msg']=_0x1b62af(0x1d0),_0xed1145[_0x1b62af(0x20e)]='',_0xed1145[_0x1b62af(0x3d7)]=_0x1b62af(0x420),_0xed1145[_0x1b62af(0x28d)]=null,_0xed1145;}return this[_0x1b62af(0x2a5)](_0x2ad2c5);}[a0_0x1fa0fa(0x2a5)](_0x462286){const _0x37fffa=a0_0x1fa0fa;if(!_0x462286||typeof _0x462286!==_0x37fffa(0x248))return{};if(Array[_0x37fffa(0x43c)](_0x462286))return _0x462286[_0x37fffa(0x340)]>0x0?[this['generateFromSchema'](_0x462286[0x0])]:[];const _0x22ed48={};for(const [_0xc68598,_0x250eb0]of Object[_0x37fffa(0x1f2)](_0x462286)){if(_0x250eb0&&typeof _0x250eb0===_0x37fffa(0x248)&&!Array[_0x37fffa(0x43c)](_0x250eb0)){const _0x59e9ce=_0x250eb0;_0x22ed48[_0xc68598]=generateExampleValue(_0xc68598,_0x59e9ce['type']||_0x37fffa(0x23f),undefined,{'description':_0x59e9ce[_0x37fffa(0x371)]});}else Array[_0x37fffa(0x43c)](_0x250eb0)?_0x22ed48[_0xc68598]=_0x250eb0[_0x37fffa(0x340)]>0x0?[this[_0x37fffa(0x2a5)](_0x250eb0[0x0])]:[]:_0x22ed48[_0xc68598]=_0x250eb0;}return _0x22ed48;}[a0_0x1fa0fa(0x366)](_0x49e067,_0x50430b,_0x5f0e78,_0x5f0a91){return generateExampleValue(_0x49e067,_0x50430b,_0x5f0e78,_0x5f0a91);}[a0_0x1fa0fa(0x40b)](_0x59994c,_0x39bb55){const _0x461722=a0_0x1fa0fa,_0x2c75d1=this[_0x461722(0x375)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x59994c+'.'+_0x2c75d1+_0x461722(0x3b8);}[a0_0x1fa0fa(0x259)](_0x4da7e5){const _0x148965=a0_0x1fa0fa,_0x37e795=this['getName'](),_0x1f823f=_0x4da7e5||'yourModel',_0x2a01e2={};return _0x2a01e2['successCode']=_0x148965(0x3f1)+_0x1f823f+'.'+_0x37e795+'();',_0x2a01e2[_0x148965(0x3d7)]=_0x148965(0x292)+_0x1f823f+'.'+_0x37e795+_0x148965(0x464),_0x2a01e2;}['getRequestParamsDocInfo'](){const _0x77a7d8=a0_0x1fa0fa,_0xb4e12a=this[_0x77a7d8(0x39e)](),_0x180399=Object[_0x77a7d8(0x1f2)](_0xb4e12a)['map'](([_0x4b35b3,_0x334732])=>{const _0x196a00=_0x77a7d8,_0x5030c0=_0x334732,_0x321245={};return _0x321245[_0x196a00(0x1da)]=_0x4b35b3,_0x321245[_0x196a00(0x44e)]=_0x5030c0[_0x196a00(0x44e)]||'String',_0x321245['description']=_0x5030c0[_0x196a00(0x371)]||'-',_0x321245[_0x196a00(0x2b3)]=_0x5030c0[_0x196a00(0x2b3)],_0x321245;}),_0x2e06fe={};return _0x2e06fe[_0x77a7d8(0x42d)]=_0x180399,_0x2e06fe;}['getResponseParamsDocInfo'](){const _0x91734a=a0_0x1fa0fa,_0x11c28d=this[_0x91734a(0x251)]();if(!_0x11c28d){const _0x68a5ea={};return _0x68a5ea[_0x91734a(0x42d)]=[],_0x68a5ea;}const _0x3e53d6=Object[_0x91734a(0x1f2)](_0x11c28d)[_0x91734a(0x330)](([_0x3b6e63,_0x2a4b62])=>{const _0x405541=_0x91734a,_0x2d123b=_0x2a4b62,_0x8863ae={};return _0x8863ae[_0x405541(0x1da)]=_0x3b6e63,_0x8863ae['type']=_0x2d123b[_0x405541(0x44e)]||_0x405541(0x23f),_0x8863ae[_0x405541(0x371)]=_0x2d123b['description']||'-',_0x8863ae;}),_0x3f0984={};return _0x3f0984[_0x91734a(0x42d)]=_0x3e53d6,_0x3f0984;}['getSystemFields'](){return[];}[a0_0x1fa0fa(0x473)](){const _0x141de2=a0_0x1fa0fa;return this[_0x141de2(0x37b)][_0x141de2(0x30f)]||[];}[a0_0x1fa0fa(0x2a0)](){const _0xd1e5a4=a0_0x1fa0fa;return{'systemFields':this[_0xd1e5a4(0x370)](),'businessFields':this[_0xd1e5a4(0x473)]()};}[a0_0x1fa0fa(0x351)](_0x5c1c16){const _0x188a23=a0_0x1fa0fa;return this[_0x188a23(0x37b)]['fields'][_0x188a23(0x39c)](_0x1f6570=>_0x1f6570?.[_0x188a23(0x2d9)]===_0x5c1c16);}[a0_0x1fa0fa(0x429)](_0x1f3fbd){const _0x2474e3=a0_0x1fa0fa;return _0x1f3fbd[_0x2474e3(0x2d9)];}[a0_0x1fa0fa(0x1e5)](_0xcb1077){const _0x2a7389=a0_0x1fa0fa;return _0xcb1077[_0x2a7389(0x44e)];}[a0_0x1fa0fa(0x22e)](_0x2ec939){const _0x56a255=a0_0x1fa0fa;return _0x2ec939[_0x56a255(0x1da)];}[a0_0x1fa0fa(0x305)](_0x59ed91){const _0x5df441=a0_0x1fa0fa;return _0x59ed91[_0x5df441(0x371)];}[a0_0x1fa0fa(0x35f)](_0x41817d){const _0x2a699f=a0_0x1fa0fa;return _0x41817d[_0x2a699f(0x28f)]()||null;}['isFieldPrimaryKey'](_0x3708c3){const _0x2662e0=a0_0x1fa0fa;return _0x3708c3[_0x2662e0(0x454)]();}['getOperators'](){return[];}[a0_0x1fa0fa(0x31f)](_0x186dd1){return[];}[a0_0x1fa0fa(0x1ce)](){const _0x4d7beb=a0_0x1fa0fa;return{'name':this[_0x4d7beb(0x375)](),'displayName':this[_0x4d7beb(0x233)](),'type':this[_0x4d7beb(0x29a)](),'enabled':this[_0x4d7beb(0x2cd)](),'method':this[_0x4d7beb(0x374)](),'path':this['getPath'](),'fullUrl':this[_0x4d7beb(0x382)](),'requestParams':this[_0x4d7beb(0x39e)](),'requestExample':this[_0x4d7beb(0x2e2)](),'responseExample':this[_0x4d7beb(0x3b7)]()};}[a0_0x1fa0fa(0x45a)](){const _0x4b1861=a0_0x1fa0fa,_0xa8780f=this[_0x4b1861(0x2cd)]()?'启用':'禁用';return this[_0x4b1861(0x233)]()+'('+this[_0x4b1861(0x1da)]+',\x20'+_0xa8780f+')';}}class GenericOperation extends Operation{[a0_0x1fa0fa(0x243)];[a0_0x1fa0fa(0x39e)](){const _0xce84e4=a0_0x1fa0fa;return this[_0xce84e4(0x39b)]();}[a0_0x1fa0fa(0x39a)](){const _0x23c94d=a0_0x1fa0fa;return this[_0x23c94d(0x251)]();}[a0_0x1fa0fa(0x2e2)](){const _0x23bfa2=a0_0x1fa0fa;if(this[_0x23bfa2(0x243)])return this[_0x23bfa2(0x243)];const _0x5d7c23={},_0x358fcb=this[_0x23bfa2(0x39e)](),_0x13b604=this[_0x23bfa2(0x29a)]();if(Object[_0x23bfa2(0x316)](_0x358fcb)['length']===0x0&&_0x13b604){const _0x5dc83f=this['getBusinessFields']();return _0x5dc83f[_0x23bfa2(0x2fc)](_0x25897b=>{const _0x776e87=_0x23bfa2,_0x28508d=_0x25897b[_0x776e87(0x2d9)],_0x2538d5=_0x25897b[_0x776e87(0x44e)],_0x3d12e8=this[_0x776e87(0x366)](_0x28508d,_0x2538d5,_0x25897b[_0x776e87(0x2ad)](),{'isPrimaryKey':_0x25897b[_0x776e87(0x454)](),'description':_0x25897b['description']||_0x25897b[_0x776e87(0x1da)]});_0x5d7c23[_0x28508d]=_0x3d12e8;}),this[_0x23bfa2(0x243)]=_0x5d7c23,_0x5d7c23;}return Object[_0x23bfa2(0x1f2)](_0x358fcb)[_0x23bfa2(0x2fc)](([_0x120411,_0x8ccca2])=>{const _0x33cbec=_0x23bfa2,_0x44c4f2=_0x8ccca2;let _0x3b941d;if(typeof _0x44c4f2['type']===_0x33cbec(0x30b))_0x3b941d=_0x44c4f2[_0x33cbec(0x44e)];else _0x44c4f2['type']&&typeof _0x44c4f2[_0x33cbec(0x44e)]===_0x33cbec(0x248)?_0x3b941d=_0x44c4f2['type'][_0x33cbec(0x44e)]||_0x33cbec(0x3cd):_0x3b941d=_0x33cbec(0x3cd);const _0x4c3ea8=_0x44c4f2['description'],_0x38b550=this['getFieldDefinition'](_0x120411);if(_0x120411===_0x33cbec(0x3ce))_0x5d7c23[_0x120411]=0x1;else{if(_0x120411===_0x33cbec(0x3c2))_0x5d7c23[_0x120411]=0xa;else{if(_0x120411==='id')_0x5d7c23[_0x120411]=0x1;else{const _0x197bb7=_0x38b550?_0x38b550[_0x33cbec(0x2ad)]():undefined,_0xcce786=_0x38b550?_0x38b550[_0x33cbec(0x371)]:undefined,_0x564d51=_0x38b550?_0x38b550['name']:undefined;_0x5d7c23[_0x120411]=this[_0x33cbec(0x366)](_0x120411,_0x3b941d,_0x197bb7||undefined,{'isPrimaryKey':_0x120411===this[_0x33cbec(0x37b)]['pkField']||_0x120411==='id','description':_0x4c3ea8||_0xcce786||_0x564d51});}}}}),this[_0x23bfa2(0x243)]=_0x5d7c23,_0x5d7c23;}['generateResponseExample'](){const _0x5bc3ef=a0_0x1fa0fa,_0x35a4b4=this[_0x5bc3ef(0x39a)]();if(!_0x35a4b4){const _0x3433d9={};return _0x3433d9[_0x5bc3ef(0x335)]=!![],_0x3433d9[_0x5bc3ef(0x241)]=_0x5bc3ef(0x1d0),_0x3433d9['errorMsg']='',_0x3433d9[_0x5bc3ef(0x3d7)]=_0x5bc3ef(0x420),_0x3433d9[_0x5bc3ef(0x28d)]=null,_0x3433d9;}return this['generateFromSchema'](_0x35a4b4);}[a0_0x1fa0fa(0x2a5)](_0xea62bb){const _0x1b92b3=a0_0x1fa0fa;if(!_0xea62bb||typeof _0xea62bb!=='object')return{};if(Array[_0x1b92b3(0x43c)](_0xea62bb)){if(_0xea62bb[_0x1b92b3(0x340)]>0x0)return[this['generateFromSchema'](_0xea62bb[0x0])];return[];}const _0x1bedf0={};return Object['keys'](_0xea62bb)[_0x1b92b3(0x2fc)](_0x47749d=>{const _0x1384d0=_0x1b92b3,_0x4524ea=_0xea62bb[_0x47749d];if(_0x4524ea&&typeof _0x4524ea==='object'&&!Array[_0x1384d0(0x43c)](_0x4524ea)&&_0x4524ea[_0x1384d0(0x44e)]){const _0x46fb4d=_0x4524ea;let _0x4685c6;if(typeof _0x46fb4d[_0x1384d0(0x44e)]===_0x1384d0(0x30b))_0x4685c6=_0x46fb4d[_0x1384d0(0x44e)];else _0x46fb4d['type']&&typeof _0x46fb4d['type']==='object'?_0x4685c6=_0x46fb4d['type']['type']||_0x1384d0(0x3cd):_0x4685c6=_0x1384d0(0x3cd);const _0x2d6b6a=_0x46fb4d[_0x1384d0(0x371)],_0x59ac73={};_0x59ac73[_0x1384d0(0x371)]=_0x2d6b6a,_0x1bedf0[_0x47749d]=this[_0x1384d0(0x366)](_0x47749d,_0x4685c6,undefined,_0x59ac73);}else{if(Array[_0x1384d0(0x43c)](_0x4524ea))_0x1bedf0[_0x47749d]=_0x4524ea[_0x1384d0(0x340)]>0x0?[this[_0x1384d0(0x2a5)](_0x4524ea[0x0])]:[];else _0x4524ea&&typeof _0x4524ea===_0x1384d0(0x248)?_0x1bedf0[_0x47749d]=this['generateFromSchema'](_0x4524ea):_0x1bedf0[_0x47749d]=_0x4524ea;}}),_0x1bedf0;}[a0_0x1fa0fa(0x40b)](_0x4bd2ba,_0x1fd676){const _0xf83920=a0_0x1fa0fa,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1fd676||{},_0xd7dfba=this[_0xf83920(0x375)](),_0x37e79c=this[_0xf83920(0x29a)](),_0x4f65c4=this[_0xf83920(0x46a)](),_0x3cba31=this[_0xf83920(0x2e2)](),_0x34efaf=_0x1924ab=>{const _0x1187db=_0xf83920;if(Object['keys'](_0x1924ab)[_0x1187db(0x340)]===0x0)return'{}';const _0x24acf3=JSON[_0x1187db(0x1fb)](_0x1924ab,null,0x2)[_0x1187db(0x37c)]('\x0a')[_0x1187db(0x330)]((_0x59cd50,_0x2b8f0e)=>_0x2b8f0e===0x0?_0x59cd50:indent+_0x59cd50)[_0x1187db(0x476)]('\x0a');return _0x24acf3;};switch(_0x37e79c){case _0xf83920(0x38d):case _0xf83920(0x245):return _0xf83920(0x43e)+_0x4bd2ba+'.'+_0xd7dfba+_0xf83920(0x3ca);case _0xf83920(0x402):if(useFullExample&&Object[_0xf83920(0x316)](_0x3cba31)[_0xf83920(0x340)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x4bd2ba+'.'+_0xd7dfba+'(id,\x20'+_0x34efaf(_0x3cba31)+');';return _0xf83920(0x43e)+_0x4bd2ba+'.'+_0xd7dfba+_0xf83920(0x406);case'create':case'getList':case'getSelectOptions':default:if(_0x4f65c4[_0xf83920(0x340)]>0x0){if(useFullExample&&Object[_0xf83920(0x316)](_0x3cba31)[_0xf83920(0x340)]>0x0)return _0xf83920(0x43e)+_0x4bd2ba+'.'+_0xd7dfba+'('+_0x34efaf(_0x3cba31)+');';else{const _0x2aaf58=Object[_0xf83920(0x316)](_0x3cba31);if(_0x2aaf58[_0xf83920(0x340)]>0x0){const _0x175a1a=_0x2aaf58[_0xf83920(0x3d1)](0x0,0x2)[_0xf83920(0x476)](',\x20');return _0xf83920(0x43e)+_0x4bd2ba+'.'+_0xd7dfba+_0xf83920(0x390)+_0x175a1a+',\x20...\x20});';}else return _0xf83920(0x43e)+_0x4bd2ba+'.'+_0xd7dfba+_0xf83920(0x288);}}else return _0xf83920(0x43e)+_0x4bd2ba+'.'+_0xd7dfba+_0xf83920(0x3b8);}}[a0_0x1fa0fa(0x416)](){const _0xe4b42e=a0_0x1fa0fa;return[{'title':_0xe4b42e(0x311),'data':this[_0xe4b42e(0x2e2)]()}];}[a0_0x1fa0fa(0x370)](){const _0x15b86f=a0_0x1fa0fa,_0x191afd=this[_0x15b86f(0x29a)](),_0x22aebd=[];switch(_0x191afd){case _0x15b86f(0x38d):case _0x15b86f(0x245):const _0x3e5b05={};_0x3e5b05[_0x15b86f(0x2d9)]='id',_0x3e5b05[_0x15b86f(0x44e)]=_0x15b86f(0x1f4),_0x3e5b05[_0x15b86f(0x371)]=_0x15b86f(0x47d),_0x22aebd[_0x15b86f(0x2ce)](_0x3e5b05);break;case _0x15b86f(0x30e):const _0x3e8b5e={};_0x3e8b5e[_0x15b86f(0x2d9)]='currentPage',_0x3e8b5e[_0x15b86f(0x44e)]='NUMBER',_0x3e8b5e['description']=_0x15b86f(0x2d0);const _0x49d1c9={};_0x49d1c9[_0x15b86f(0x2d9)]=_0x15b86f(0x3c2),_0x49d1c9['type']=_0x15b86f(0x1f4),_0x49d1c9[_0x15b86f(0x371)]=_0x15b86f(0x254),_0x22aebd[_0x15b86f(0x2ce)](_0x3e8b5e,_0x49d1c9);break;case _0x15b86f(0x438):const _0x486f0c={};_0x486f0c['code']=_0x15b86f(0x2d9),_0x486f0c[_0x15b86f(0x44e)]=_0x15b86f(0x2bf),_0x486f0c[_0x15b86f(0x371)]='选项编码(可选)',_0x22aebd[_0x15b86f(0x2ce)](_0x486f0c);break;default:break;}return _0x22aebd;}['getBusinessFields'](){const _0x449025=a0_0x1fa0fa,_0xd88bac=this[_0x449025(0x29a)](),_0x1d6c8f=this[_0x449025(0x37b)][_0x449025(0x30f)]||[];switch(_0xd88bac){case'getOne':case _0x449025(0x245):return[];case _0x449025(0x228):return _0x1d6c8f[_0x449025(0x3e1)](_0x226e49=>{const _0x169d42=_0x449025;if(_0x226e49[_0x169d42(0x310)])return![];if(_0x226e49[_0x169d42(0x454)]()&&_0x226e49[_0x169d42(0x459)]())return![];if(_0x226e49['isSystem']())return![];if(_0x226e49[_0x169d42(0x3e9)]()||_0x226e49[_0x169d42(0x2d3)]())return![];return!![];});case _0x449025(0x402):return _0x1d6c8f[_0x449025(0x3e1)](_0x5c13dc=>{const _0x1282f1=_0x449025;if(_0x5c13dc['deleted'])return![];if(_0x5c13dc[_0x1282f1(0x454)]())return![];if(_0x5c13dc['isSystem']())return![];if(_0x5c13dc['isCreateTime']()||_0x5c13dc[_0x1282f1(0x2d3)]())return![];if(_0x5c13dc[_0x1282f1(0x459)]())return![];return!![];});case _0x449025(0x30e):case _0x449025(0x438):return _0x1d6c8f[_0x449025(0x3e1)](_0x22555f=>!_0x22555f['deleted']&&_0x22555f['isBusiness']());default:return _0x1d6c8f['filter'](_0x413020=>!_0x413020[_0x449025(0x310)]&&_0x413020[_0x449025(0x2bc)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0xc0d572=a0_0x1fa0fa,_0x410b94=super[_0xc0d572(0x39e)](),_0x322733=Object[_0xc0d572(0x316)](_0x410b94);if(_0x322733[_0xc0d572(0x340)]===0x0||_0x322733[_0xc0d572(0x340)]===0x1&&_0x322733[0x0]===_0xc0d572(0x2d9)){if(!_0x410b94[_0xc0d572(0x2d9)]){const _0x5080e5={};_0x5080e5[_0xc0d572(0x44e)]=_0xc0d572(0x23f),_0x5080e5[_0xc0d572(0x371)]=_0xc0d572(0x3a9),_0x410b94[_0xc0d572(0x2d9)]=_0x5080e5;}const _0x34afe9={};_0x34afe9[_0xc0d572(0x44e)]='String',_0x34afe9['description']=_0xc0d572(0x480),_0x410b94[_0xc0d572(0x3aa)]=_0x34afe9;}return _0x410b94;}[a0_0x1fa0fa(0x473)](){return[];}['getSystemFields'](){const _0x51c87f=a0_0x1fa0fa,_0x2bb37d={};_0x2bb37d['code']=_0x51c87f(0x2d9),_0x2bb37d['type']=_0x51c87f(0x23f),_0x2bb37d[_0x51c87f(0x371)]=_0x51c87f(0x3a9);const _0x1bcde9={};return _0x1bcde9['code']=_0x51c87f(0x3aa),_0x1bcde9[_0x51c87f(0x44e)]=_0x51c87f(0x23f),_0x1bcde9[_0x51c87f(0x371)]=_0x51c87f(0x480),[_0x2bb37d,_0x1bcde9];}[a0_0x1fa0fa(0x2e2)](){const _0xfc969=a0_0x1fa0fa,_0x33fcb7={};return _0x33fcb7[_0xfc969(0x2d9)]='field_name',_0x33fcb7[_0xfc969(0x3aa)]=_0xfc969(0x246),_0x33fcb7;}[a0_0x1fa0fa(0x40b)](_0x59a72f){const _0x2cb53f=a0_0x1fa0fa,_0x1f8125=this[_0x2cb53f(0x375)]();return _0x2cb53f(0x43e)+_0x59a72f+'.'+_0x1f8125+'({\x20code,\x20label\x20});';}}class GetListOperation extends GenericOperation{[a0_0x1fa0fa(0x39e)](){const _0x48d586=a0_0x1fa0fa,_0x2971cf=super[_0x48d586(0x39e)](),{currentPage:_0xfa4ed4,pageSize:_0x389406,..._0x238f93}=_0x2971cf,_0x3a0f1d={};Object['entries'](_0x238f93)[_0x48d586(0x2fc)](([_0x25bb4b,_0x5e21ca])=>{const _0x57c6b3=_0x48d586;if(typeof _0x5e21ca===_0x57c6b3(0x248)&&_0x5e21ca!==null){const _0x600bec=_0x5e21ca,_0x99972f=_0x600bec[_0x57c6b3(0x371)]||'',_0x181564={..._0x600bec};_0x181564[_0x57c6b3(0x371)]=_0x99972f?_0x99972f+_0x57c6b3(0x21f):_0x57c6b3(0x35e),_0x3a0f1d[_0x25bb4b]=_0x181564;}else _0x3a0f1d[_0x25bb4b]=_0x5e21ca;});const _0x147f59={...typeof _0xfa4ed4==='object'?_0xfa4ed4:{}};_0x147f59[_0x48d586(0x44e)]=_0x48d586(0x2c9),_0x147f59[_0x48d586(0x371)]=_0x48d586(0x2d0);const _0x13d1e8={...typeof _0x389406===_0x48d586(0x248)?_0x389406:{}};_0x13d1e8['type']='Number',_0x13d1e8['description']=_0x48d586(0x2ff);const _0x5349a7={..._0x3a0f1d};return _0x5349a7['currentPage']=_0x147f59,_0x5349a7[_0x48d586(0x3c2)]=_0x13d1e8,_0x5349a7;}[a0_0x1fa0fa(0x2e2)](_0x1d516a){const _0x49151e=a0_0x1fa0fa,{useArrayValues:useArrayValues=!![]}=_0x1d516a||{},_0xa123b1=super[_0x49151e(0x2e2)](),{currentPage:_0x5ca28c,pageSize:_0x380027,..._0x156fa6}=_0xa123b1;if(!useArrayValues){const _0x28820a={..._0x156fa6};return _0x28820a[_0x49151e(0x3ce)]=_0x5ca28c??0x1,_0x28820a['pageSize']=_0x380027??0xa,_0x28820a;}const _0x544794={},_0x2532e4=['id',_0x49151e(0x218),_0x49151e(0x2d9),_0x49151e(0x44e)];Object[_0x49151e(0x1f2)](_0x156fa6)[_0x49151e(0x2fc)](([_0x528135,_0x16dfef],_0x3057cc)=>{const _0x1a2fe8=_0x49151e,_0x21236f=_0x2532e4['some'](_0x35c03e=>_0x528135[_0x1a2fe8(0x28b)]()['includes'](_0x35c03e))||_0x3057cc%0x3===0x0;if(_0x21236f&&_0x16dfef!==null&&_0x16dfef!==undefined){if(typeof _0x16dfef===_0x1a2fe8(0x41b))_0x544794[_0x528135]=[_0x16dfef,_0x16dfef+0x1,_0x16dfef+0x2];else typeof _0x16dfef===_0x1a2fe8(0x30b)?_0x544794[_0x528135]=[_0x16dfef,_0x16dfef+'_2',_0x16dfef+'_3']:_0x544794[_0x528135]=[_0x16dfef];}else _0x544794[_0x528135]=_0x16dfef;});const _0x4cfc1b={..._0x544794};return _0x4cfc1b[_0x49151e(0x3ce)]=_0x5ca28c??0x1,_0x4cfc1b[_0x49151e(0x3c2)]=_0x380027??0xa,_0x4cfc1b;}['generateSingleValueExample'](){const _0x181c6f={};return _0x181c6f['useArrayValues']=![],this['generateRequestExample'](_0x181c6f);}[a0_0x1fa0fa(0x416)](){const _0x1b1b4b=a0_0x1fa0fa;return[{'title':_0x1b1b4b(0x2fa),'description':_0x1b1b4b(0x219),'data':this['generateSingleValueExample']()},{'title':'数组查询(支持多选)','description':_0x1b1b4b(0x34d),'data':this[_0x1b1b4b(0x2e2)]()}];}[a0_0x1fa0fa(0x40b)](_0x2ccb67,_0x30b436){const _0x1851bb=a0_0x1fa0fa,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x30b436||{},_0x2399a2=this['getName'](),_0x19f43f={};_0x19f43f[_0x1851bb(0x41f)]=!![];const _0x27ec43=this[_0x1851bb(0x2e2)](_0x19f43f),{currentPage:_0x139e33,pageSize:_0x10cde0,..._0x240a06}=_0x27ec43;if(useFullExample&&Object['keys'](_0x27ec43)[_0x1851bb(0x340)]>0x0){const _0x4f52b1=Object[_0x1851bb(0x316)](_0x240a06)[_0x1851bb(0x340)]>0x0;if(_0x4f52b1){const _0x1b1f3c=this[_0x1851bb(0x3fa)](),_0x115cf4=_0x80fc8b=>{const _0x529538=_0x1851bb;return JSON['stringify'](_0x80fc8b,null,0x2)[_0x529538(0x37c)]('\x0a')[_0x529538(0x330)]((_0x1b99f9,_0x388b81)=>_0x388b81===0x0?_0x1b99f9:indent+_0x1b99f9)[_0x529538(0x476)]('\x0a');};return'//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x2ccb67+'.'+_0x2399a2+'('+_0x115cf4(_0x1b1f3c)+');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x2ccb67+'.'+_0x2399a2+'('+_0x115cf4(_0x27ec43)+');';}else{const _0x4951b5=JSON[_0x1851bb(0x1fb)](_0x27ec43,null,0x2)[_0x1851bb(0x37c)]('\x0a')[_0x1851bb(0x330)]((_0x18b9ef,_0x5a228f)=>_0x5a228f===0x0?_0x18b9ef:indent+_0x18b9ef)['join']('\x0a');return _0x1851bb(0x43e)+_0x2ccb67+'.'+_0x2399a2+'('+_0x4951b5+');';}}if(Object[_0x1851bb(0x316)](_0x240a06)[_0x1851bb(0x340)]>0x0){const _0x106272=Object['keys'](_0x240a06)[0x0];return _0x1851bb(0x43e)+_0x2ccb67+'.'+_0x2399a2+_0x1851bb(0x390)+_0x106272+_0x1851bb(0x3e3);}return'const\x20result\x20=\x20await\x20client.models.'+_0x2ccb67+'.'+_0x2399a2+_0x1851bb(0x20a);}}var AGGREGATE_FUNCTIONS=[a0_0x1fa0fa(0x286),a0_0x1fa0fa(0x27a),'avg',a0_0x1fa0fa(0x369),a0_0x1fa0fa(0x1fa)],FILTER_OPERATORS=[a0_0x1fa0fa(0x3f2),a0_0x1fa0fa(0x2f0),a0_0x1fa0fa(0x26e),a0_0x1fa0fa(0x27f),a0_0x1fa0fa(0x430),'$lteq',a0_0x1fa0fa(0x364),'$contain',a0_0x1fa0fa(0x1ef),a0_0x1fa0fa(0x3b2),a0_0x1fa0fa(0x252),'$or'];class FilterOperation extends GenericOperation{constructor(_0x197842,_0x38cd63,_0x5a66ed){super(_0x197842,_0x38cd63,_0x5a66ed);}[a0_0x1fa0fa(0x2f2)](){return FILTER_OPERATORS;}['getFieldOperators'](_0x13e230){const _0x151053=a0_0x1fa0fa,_0xece92e=this[_0x151053(0x351)](_0x13e230);if(!_0xece92e)return[];return this[_0x151053(0x38f)](_0xece92e);}[a0_0x1fa0fa(0x39e)](){const _0x3638ae=a0_0x1fa0fa,_0x5a539e=super['getRequestParams'](),_0x2a73f0={};_0x2a73f0[_0x3638ae(0x44e)]=_0x3638ae(0x376),_0x2a73f0[_0x3638ae(0x371)]=_0x3638ae(0x315),_0x2a73f0[_0x3638ae(0x2b3)]=![];const _0x7d3eb5={};_0x7d3eb5[_0x3638ae(0x44e)]=_0x3638ae(0x47c),_0x7d3eb5['description']=_0x3638ae(0x1fe),_0x7d3eb5[_0x3638ae(0x2b3)]=![];const _0x5a96f8={};_0x5a96f8[_0x3638ae(0x44e)]='Object[]',_0x5a96f8[_0x3638ae(0x371)]='排序规则',_0x5a96f8[_0x3638ae(0x2b3)]=![];const _0x12135b={};_0x12135b[_0x3638ae(0x44e)]=_0x3638ae(0x2c9),_0x12135b[_0x3638ae(0x371)]=_0x3638ae(0x2d0),_0x12135b['required']=![],_0x12135b['default']=0x1;const _0x2f5a3f={};_0x2f5a3f['type']=_0x3638ae(0x2c9),_0x2f5a3f[_0x3638ae(0x371)]=_0x3638ae(0x2ff),_0x2f5a3f[_0x3638ae(0x2b3)]=![],_0x2f5a3f[_0x3638ae(0x3bd)]=0xa;const _0x262045={..._0x5a539e};return _0x262045['where']=_0x2a73f0,_0x262045[_0x3638ae(0x272)]=_0x7d3eb5,_0x262045['orderBy']=_0x5a96f8,_0x262045['currentPage']=_0x12135b,_0x262045[_0x3638ae(0x3c2)]=_0x2f5a3f,_0x262045;}[a0_0x1fa0fa(0x370)](){const _0x388a4c=a0_0x1fa0fa,_0x1f37d9=this['getRequestParams'](),_0x18ef2a=[],_0x223929=[_0x388a4c(0x392),_0x388a4c(0x272),_0x388a4c(0x417),_0x388a4c(0x3ce),_0x388a4c(0x3c2)];return Object[_0x388a4c(0x1f2)](_0x1f37d9)[_0x388a4c(0x2fc)](([_0x1a7298,_0x4ff5b0])=>{const _0x213b23=_0x388a4c;if(_0x223929['includes'](_0x1a7298)){const _0x352780=_0x4ff5b0,_0x5576b7={};_0x5576b7['code']=_0x1a7298,_0x5576b7[_0x213b23(0x44e)]=_0x352780[_0x213b23(0x44e)]||_0x213b23(0x376),_0x5576b7[_0x213b23(0x371)]=_0x352780[_0x213b23(0x371)]||'-',_0x18ef2a[_0x213b23(0x2ce)](_0x5576b7);}}),_0x18ef2a;}[a0_0x1fa0fa(0x473)](){const _0x57832c=a0_0x1fa0fa;return this[_0x57832c(0x37b)][_0x57832c(0x30f)]||[];}[a0_0x1fa0fa(0x2d5)](){const _0x258f4a=a0_0x1fa0fa;return{'systemParams':this[_0x258f4a(0x370)](),'businessFields':this['getBusinessFields']()};}[a0_0x1fa0fa(0x2e2)](){const _0xd3bd5=a0_0x1fa0fa,_0x558428=this[_0xd3bd5(0x37b)]['fields']||[];if(_0x558428['length']===0x0){const _0x52774e={};return _0x52774e[_0xd3bd5(0x392)]={},_0x52774e[_0xd3bd5(0x3ce)]=0x1,_0x52774e[_0xd3bd5(0x3c2)]=0x14,_0x52774e;}const _0x4d5bcd={},_0x393871=_0x558428[_0xd3bd5(0x3d1)](0x0,Math[_0xd3bd5(0x1fa)](0x3,_0x558428[_0xd3bd5(0x340)]));_0x393871[_0xd3bd5(0x2fc)](_0x1b375f=>{const _0x56cf5c=_0xd3bd5,_0x44e3a4=this[_0x56cf5c(0x38f)](_0x1b375f);if(_0x44e3a4[_0x56cf5c(0x340)]===0x0)return;const _0x438cd3=this['selectBestOperator'](_0x1b375f,_0x44e3a4),_0x17200a=this[_0x56cf5c(0x231)](_0x1b375f,_0x438cd3),_0x3064f8={};_0x3064f8[_0x438cd3]=_0x17200a,_0x4d5bcd[_0x1b375f[_0x56cf5c(0x2d9)]]=_0x3064f8;});const _0x513e13=_0x558428[_0xd3bd5(0x3d1)](0x0,Math[_0xd3bd5(0x1fa)](0x5,_0x558428[_0xd3bd5(0x340)]))[_0xd3bd5(0x330)](_0x2bcb4f=>_0x2bcb4f[_0xd3bd5(0x2d9)]),_0x40135b=_0x558428[0x0]?_0x558428[0x0][_0xd3bd5(0x2d9)]:'id',_0x578a07={};_0x578a07[_0x40135b]='DESC';const _0x24ff3b={};return _0x24ff3b[_0xd3bd5(0x392)]=_0x4d5bcd,_0x24ff3b[_0xd3bd5(0x272)]=_0x513e13,_0x24ff3b[_0xd3bd5(0x417)]=[_0x578a07],_0x24ff3b[_0xd3bd5(0x3ce)]=0x1,_0x24ff3b[_0xd3bd5(0x3c2)]=0x14,_0x24ff3b;}[a0_0x1fa0fa(0x40b)](_0x54b9ff,_0xb57754){const _0x17624e=a0_0x1fa0fa,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0xb57754||{},_0x1abd10=this[_0x17624e(0x375)](),_0x2c5746=this[_0x17624e(0x2e2)](),_0x5cb82a=_0x4e3ece=>{const _0x2296da=_0x17624e;return JSON[_0x2296da(0x1fb)](_0x4e3ece,null,0x2)[_0x2296da(0x37c)]('\x0a')[_0x2296da(0x330)]((_0x27ef5e,_0x1ade26)=>_0x1ade26===0x0?_0x27ef5e:indent+_0x27ef5e)['join']('\x0a');};if(useFullExample){const _0x4f1b46=this[_0x17624e(0x37b)][_0x17624e(0x30f)]||[],_0x33f838={'where':_0x4f1b46[0x0]?{[_0x4f1b46[0x0][_0x17624e(0x2d9)]]:{'$eq':this[_0x17624e(0x231)](_0x4f1b46[0x0],_0x17624e(0x3f2))}}:{},'select':_0x4f1b46['slice'](0x0,0x3)['map'](_0x2acee5=>_0x2acee5['code']),'currentPage':0x1,'pageSize':0x14};let _0x57b775='';if(_0x4f1b46[_0x17624e(0x340)]>=0x3){const _0x54cf29={};_0x54cf29[_0x17624e(0x252)]=[];const _0x2a41ca=_0x54cf29,_0x24a313=[];if(_0x4f1b46[_0x17624e(0x340)]>0x0){const _0x3ed069=_0x4f1b46[_0x17624e(0x39c)](_0x45efbe=>{const _0x1080f5=_0x17624e,_0x1d72cf=_0x45efbe[_0x1080f5(0x2ad)]();return[_0x1080f5(0x1f4),'INTEGER',_0x1080f5(0x2c8),_0x1080f5(0x2f8),'TINYINT','SMALLINT'][_0x1080f5(0x22a)](_0x1d72cf);});if(_0x3ed069){const _0x4867ea={};_0x4867ea['$gte']=0x0,_0x4867ea[_0x17624e(0x430)]=0x64;const _0x3902f4={[_0x3ed069[_0x17624e(0x2d9)]]:_0x4867ea};_0x24a313[_0x17624e(0x2ce)](_0x3902f4);}}if(_0x4f1b46[_0x17624e(0x340)]>0x1){const _0xcd984f=_0x4f1b46[_0x17624e(0x39c)](_0x15a606=>{const _0x528180=_0x17624e,_0x2abe9d=_0x15a606[_0x528180(0x2ad)]();return[_0x528180(0x2bf),_0x528180(0x3cd),_0x528180(0x40a),'CHAR','LONGTEXT'][_0x528180(0x22a)](_0x2abe9d);});if(_0xcd984f){const _0x1f7265={};_0x1f7265[_0x17624e(0x448)]=_0x17624e(0x38e);const _0x239dcb={[_0xcd984f[_0x17624e(0x2d9)]]:_0x1f7265};_0x24a313['push'](_0x239dcb);}}if(_0x24a313[_0x17624e(0x340)]>0x0){_0x2a41ca['$and']=_0x24a313;const _0x5be639={'where':_0x2a41ca,'select':_0x4f1b46[_0x17624e(0x3d1)](0x0,0x4)['map'](_0x844300=>_0x844300[_0x17624e(0x2d9)]),'orderBy':[{[_0x4f1b46[0x0][_0x17624e(0x2d9)]]:'DESC'}],'currentPage':0x1,'pageSize':0x14};_0x57b775=_0x17624e(0x3fe)+_0x54b9ff+'.'+_0x1abd10+'('+_0x5cb82a(_0x5be639)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x54b9ff+'.'+_0x1abd10+'('+_0x5cb82a(_0x33f838)+');'+_0x57b775;}const _0x4f5dbb=JSON[_0x17624e(0x1fb)](_0x2c5746,null,0x2)[_0x17624e(0x37c)]('\x0a')['map']((_0x27f831,_0x19a00d)=>_0x19a00d===0x0?_0x27f831:indent+_0x27f831)['join']('\x0a');return _0x17624e(0x43e)+_0x54b9ff+'.'+_0x1abd10+'('+_0x4f5dbb+');';}[a0_0x1fa0fa(0x38f)](_0x5cdb96){const _0x28a370=a0_0x1fa0fa,_0x231087=_0x5cdb96[_0x28a370(0x2ad)](),_0x3eec5d=[];if([_0x28a370(0x1f4),'INTEGER',_0x28a370(0x2c8),_0x28a370(0x3ee)]['includes'](_0x231087)||[_0x28a370(0x2f8),_0x28a370(0x391),_0x28a370(0x3d5),_0x28a370(0x395),'FLOAT']['includes'](_0x231087))_0x3eec5d[_0x28a370(0x2ce)]('$eq',_0x28a370(0x2f0),_0x28a370(0x26e),_0x28a370(0x430),'$gteq',_0x28a370(0x280),'$in');else{if([_0x28a370(0x2bf),_0x28a370(0x3cd),'VARCHAR'][_0x28a370(0x22a)](_0x231087)||[_0x28a370(0x451),_0x28a370(0x38c)][_0x28a370(0x22a)](_0x231087))_0x3eec5d[_0x28a370(0x2ce)](_0x28a370(0x3f2),'$ne',_0x28a370(0x364),_0x28a370(0x448),_0x28a370(0x1ef),'$endWith');else{if([_0x28a370(0x2c2),_0x28a370(0x358),_0x28a370(0x275)][_0x28a370(0x22a)](_0x231087)||[_0x28a370(0x2f3)][_0x28a370(0x22a)](_0x231087))_0x3eec5d[_0x28a370(0x2ce)](_0x28a370(0x3f2),'$ne',_0x28a370(0x26e),'$lte','$gteq',_0x28a370(0x280));else['BOOLEAN',_0x28a370(0x42c),_0x28a370(0x3f0)]['includes'](_0x231087)?_0x3eec5d[_0x28a370(0x2ce)]('$eq',_0x28a370(0x2f0)):_0x3eec5d[_0x28a370(0x2ce)](_0x28a370(0x3f2),'$ne');}}return _0x3eec5d;}[a0_0x1fa0fa(0x31a)](_0x3de097,_0x4fa3d5){const _0x3fc747=a0_0x1fa0fa,_0x48807d=_0x3de097[_0x3fc747(0x2ad)]();if([_0x3fc747(0x1f4),_0x3fc747(0x230),_0x3fc747(0x2c8),_0x3fc747(0x3ee)][_0x3fc747(0x22a)](_0x48807d)||[_0x3fc747(0x2f8),'TINYINT',_0x3fc747(0x3d5),_0x3fc747(0x395),_0x3fc747(0x3e4)]['includes'](_0x48807d))return _0x4fa3d5[_0x3fc747(0x22a)](_0x3fc747(0x26e))?'$gte':_0x3fc747(0x3f2);if([_0x3fc747(0x2bf),'TEXT',_0x3fc747(0x40a)]['includes'](_0x48807d)||['CHAR',_0x3fc747(0x38c)][_0x3fc747(0x22a)](_0x48807d))return _0x4fa3d5[_0x3fc747(0x22a)](_0x3fc747(0x448))?_0x3fc747(0x448):_0x3fc747(0x3f2);if(['DATE',_0x3fc747(0x358),_0x3fc747(0x275),_0x3fc747(0x2f3)][_0x3fc747(0x22a)](_0x48807d))return _0x4fa3d5['includes']('$gte')?'$gte':_0x3fc747(0x3f2);return _0x3fc747(0x3f2);}[a0_0x1fa0fa(0x231)](_0x2da15f,_0x386052){const _0x3d899b=a0_0x1fa0fa,_0x5cbc2e=_0x2da15f[_0x3d899b(0x2ad)](),_0xec7f6b=_0x2da15f[_0x3d899b(0x28f)]();if(_0xec7f6b&&_0xec7f6b[_0x3d899b(0x340)]>0x0){if(_0x386052===_0x3d899b(0x364))return _0xec7f6b[_0x3d899b(0x3d1)](0x0,0x2)[_0x3d899b(0x330)](_0x5c5286=>_0x5c5286[_0x3d899b(0x449)]);return _0xec7f6b[0x0][_0x3d899b(0x449)];}if([_0x3d899b(0x1f4),'INTEGER',_0x3d899b(0x2c8),'DECIMAL'][_0x3d899b(0x22a)](_0x5cbc2e)||['INT',_0x3d899b(0x391),_0x3d899b(0x3d5),_0x3d899b(0x395),_0x3d899b(0x3e4)]['includes'](_0x5cbc2e)){if(_0x386052===_0x3d899b(0x364))return[0x1,0x2,0x3];if(_0x386052===_0x3d899b(0x26e)||_0x386052===_0x3d899b(0x27f))return 0x0;if(_0x386052===_0x3d899b(0x430)||_0x386052===_0x3d899b(0x280))return 0x64;return 0x1;}if([_0x3d899b(0x2bf),'TEXT',_0x3d899b(0x40a)][_0x3d899b(0x22a)](_0x5cbc2e)||[_0x3d899b(0x451),_0x3d899b(0x38c)][_0x3d899b(0x22a)](_0x5cbc2e)){if(_0x386052===_0x3d899b(0x364))return[_0x3d899b(0x2b2),_0x3d899b(0x313)];if(_0x386052===_0x3d899b(0x448))return _0x3d899b(0x38e);if(_0x386052==='$startWith')return _0x3d899b(0x2cf);if(_0x386052==='$endWith')return'suffix';return _0x3d899b(0x449);}if([_0x3d899b(0x2c2),_0x3d899b(0x358),'TIMESTAMP',_0x3d899b(0x2f3)][_0x3d899b(0x22a)](_0x5cbc2e)){if(_0x386052==='$gte'||_0x386052===_0x3d899b(0x27f))return _0x3d899b(0x368);if(_0x386052===_0x3d899b(0x430)||_0x386052===_0x3d899b(0x280))return _0x3d899b(0x3a3);return _0x3d899b(0x368);}if([_0x3d899b(0x26b),_0x3d899b(0x42c),_0x3d899b(0x3f0)]['includes'](_0x5cbc2e))return!![];return _0x386052===_0x3d899b(0x364)?[_0x3d899b(0x2b2),_0x3d899b(0x313)]:_0x3d899b(0x449);}[a0_0x1fa0fa(0x211)](){const _0x19f69d=a0_0x1fa0fa,_0x160dac=super[_0x19f69d(0x39e)](),_0x318031=Object['entries'](_0x160dac)[_0x19f69d(0x3e1)](([_0x2ae9af])=>_0x2ae9af!==_0x19f69d(0x3ce)&&_0x2ae9af!==_0x19f69d(0x3c2))[_0x19f69d(0x330)](([_0x1d896e,_0x2d9435])=>{const _0x454759=_0x19f69d,_0x217fe7=_0x2d9435,_0x2e8869={};return _0x2e8869[_0x454759(0x1da)]=_0x1d896e,_0x2e8869['type']=_0x217fe7[_0x454759(0x44e)]||'String',_0x2e8869[_0x454759(0x371)]=_0x217fe7[_0x454759(0x371)]||'-',_0x2e8869[_0x454759(0x2b3)]=_0x217fe7[_0x454759(0x2b3)],_0x2e8869;}),_0x3e69a8={};return _0x3e69a8[_0x19f69d(0x371)]=_0x19f69d(0x44a),_0x3e69a8[_0x19f69d(0x42d)]=_0x318031,_0x3e69a8;}}class ExcelExportOperation extends GenericOperation{[a0_0x1fa0fa(0x39e)](){const _0x522a5c=a0_0x1fa0fa,_0x34fe87=super[_0x522a5c(0x39e)]();if(Object[_0x522a5c(0x316)](_0x34fe87)[_0x522a5c(0x340)]===0x0){const _0x1347ef={};this[_0x522a5c(0x37b)][_0x522a5c(0x30f)][_0x522a5c(0x2fc)](_0x3458d5=>{const _0x45fabe=_0x522a5c;if(_0x3458d5){const _0x151cb2=_0x3458d5['code'],_0x31a629=_0x3458d5[_0x45fabe(0x2ad)](),_0xdf4a48={};_0xdf4a48[_0x45fabe(0x44e)]=_0x31a629||_0x45fabe(0x3cd),_0xdf4a48[_0x45fabe(0x3a5)]=_0x3458d5['sortNum'],_0xdf4a48[_0x45fabe(0x371)]=_0x3458d5[_0x45fabe(0x371)]||_0x3458d5[_0x45fabe(0x1da)],_0x1347ef[_0x151cb2]=_0xdf4a48;}});const _0x5c11fd={};_0x5c11fd[_0x522a5c(0x44e)]=_0x522a5c(0x2d4),_0x5c11fd[_0x522a5c(0x371)]=_0x522a5c(0x1d8),_0x1347ef[_0x522a5c(0x3ce)]=_0x5c11fd;const _0x299b75={};return _0x299b75[_0x522a5c(0x44e)]=_0x522a5c(0x2d4),_0x299b75[_0x522a5c(0x371)]=_0x522a5c(0x381),_0x1347ef['pageSize']=_0x299b75,_0x1347ef;}return _0x34fe87;}['generateRequestExample'](){const _0xdabfac=a0_0x1fa0fa,_0x46b2d3=super[_0xdabfac(0x2e2)]();if(Object[_0xdabfac(0x316)](_0x46b2d3)[_0xdabfac(0x340)]===0x0){const _0x487291={};return _0x487291['currentPage']=0x1,_0x487291['pageSize']=0x64,_0x487291;}const _0x1e4d01={..._0x46b2d3};return _0x1e4d01[_0xdabfac(0x3ce)]=_0x46b2d3[_0xdabfac(0x3ce)]??0x1,_0x1e4d01[_0xdabfac(0x3c2)]=_0x46b2d3[_0xdabfac(0x3c2)]??0x64,_0x1e4d01;}[a0_0x1fa0fa(0x3b7)](){const _0x3ad508=a0_0x1fa0fa,_0xbceed={};return _0xbceed[_0x3ad508(0x335)]=!![],_0xbceed[_0x3ad508(0x241)]='',_0xbceed['errorMsg']='',_0xbceed['errorCode']=_0x3ad508(0x420),_0xbceed[_0x3ad508(0x28d)]=_0x3ad508(0x33e),_0xbceed['params']=null,_0xbceed;}['generateSDKCallCode'](_0x48f2f8,_0x2188ce){const _0xe8cc0b=a0_0x1fa0fa,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2188ce||{},_0x416d66=this[_0xe8cc0b(0x375)]();if(useFullExample){const _0x482ffd=this[_0xe8cc0b(0x2e2)](),{currentPage:_0x26111e,pageSize:_0x597df0,..._0x38172f}=_0x482ffd,_0x5e1adc=Object['keys'](_0x38172f)['length']>0x0;if(_0x5e1adc){const _0x5bec3a=_0x2f589e=>{const _0x3c4b2f=_0xe8cc0b;return JSON['stringify'](_0x2f589e,null,0x2)['split']('\x0a')['map']((_0x43189c,_0x3fbfbd)=>_0x3fbfbd===0x0?_0x43189c:indent+_0x43189c)[_0x3c4b2f(0x476)]('\x0a');};return'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x48f2f8+'.'+_0x416d66+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x48f2f8+'.'+_0x416d66+'('+_0x5bec3a(_0x482ffd)+');';}else{const _0x20d430=_0x3f19d1=>{const _0x3f5971=_0xe8cc0b;return JSON['stringify'](_0x3f19d1,null,0x2)[_0x3f5971(0x37c)]('\x0a')['map']((_0x2b5464,_0x5dbd0f)=>_0x5dbd0f===0x0?_0x2b5464:indent+_0x2b5464)['join']('\x0a');},_0x4644fd={};return _0x4644fd[_0xe8cc0b(0x3ce)]=0x1,_0x4644fd[_0xe8cc0b(0x3c2)]=0x64,_0xe8cc0b(0x39f)+_0x48f2f8+'.'+_0x416d66+_0xe8cc0b(0x1e2)+_0x48f2f8+'.'+_0x416d66+'('+_0x20d430(_0x4644fd)+');';}}return'const\x20fileUrl\x20=\x20await\x20client.models.'+_0x48f2f8+'.'+_0x416d66+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}[a0_0x1fa0fa(0x259)](_0x2c8b16){const _0x48cb66=a0_0x1fa0fa,_0x180cf4=this[_0x48cb66(0x375)](),_0x2c5264=_0x2c8b16||'yourModel',_0x2023e2=_0x48cb66(0x31c)+_0x2c5264+'.'+_0x180cf4+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x516f36=_0x48cb66(0x2a2)+_0x2c5264+'.'+_0x180cf4+_0x48cb66(0x3cb),_0x103ed5={};return _0x103ed5[_0x48cb66(0x36b)]=_0x2023e2,_0x103ed5['errorCode']=_0x516f36,_0x103ed5;}}class UpdateOperation extends GenericOperation{[a0_0x1fa0fa(0x422)](){const _0x4e0e2e=a0_0x1fa0fa;return this[_0x4e0e2e(0x39b)]();}[a0_0x1fa0fa(0x39e)](){const _0x38bc20=a0_0x1fa0fa,_0x5e457d=this[_0x38bc20(0x422)](),_0x180f9d={};_0x180f9d[_0x38bc20(0x44e)]=_0x38bc20(0x1f4),_0x180f9d[_0x38bc20(0x371)]=_0x38bc20(0x458),_0x180f9d[_0x38bc20(0x2b3)]=!![];const _0x1396f7={};_0x1396f7['type']=_0x38bc20(0x248),_0x1396f7[_0x38bc20(0x371)]=_0x38bc20(0x434),_0x1396f7[_0x38bc20(0x2b3)]=!![],_0x1396f7['properties']=_0x5e457d;const _0x3ee6a2={};return _0x3ee6a2['id']=_0x180f9d,_0x3ee6a2[_0x38bc20(0x28d)]=_0x1396f7,_0x3ee6a2;}[a0_0x1fa0fa(0x2f6)](){const _0x1eaf44=a0_0x1fa0fa;return this[_0x1eaf44(0x422)]();}[a0_0x1fa0fa(0x361)](){const _0xc396b=a0_0x1fa0fa,_0x4176e3=this[_0xc396b(0x37b)][_0xc396b(0x30f)]||[],_0x14f3be=this[_0xc396b(0x37b)][_0xc396b(0x433)],_0x2b5d1c=_0x4176e3['find'](_0x1e0d3e=>_0x1e0d3e[_0xc396b(0x454)]()||_0x1e0d3e[_0xc396b(0x2d9)]===_0x14f3be),_0x3a6727=_0x4176e3[_0xc396b(0x3e1)](_0x2246a5=>{const _0x4c720a=_0xc396b;if(_0x2246a5[_0x4c720a(0x310)])return![];if(_0x2246a5===_0x2b5d1c||_0x2246a5[_0x4c720a(0x454)]())return![];if(_0x2246a5['isCreateTime']()||_0x2246a5[_0x4c720a(0x2d3)]())return![];if(_0x2246a5['isAutoIncrement']())return![];return!![];});return _0x2b5d1c?[_0x2b5d1c,..._0x3a6727]:_0x3a6727;}[a0_0x1fa0fa(0x261)](){const _0x2db865=a0_0x1fa0fa,_0xb78d23=this[_0x2db865(0x361)](),_0x5d4a2d=this[_0x2db865(0x37b)][_0x2db865(0x433)],_0x272fee=_0xb78d23[_0x2db865(0x330)](_0x56d43d=>{const _0x51b0b=_0x2db865,_0x1696e3=_0x56d43d[_0x51b0b(0x454)]()||_0x56d43d[_0x51b0b(0x2d9)]===_0x5d4a2d,_0x1a4882=_0x1696e3?'id':_0x56d43d[_0x51b0b(0x2d9)],_0x5061b2={};return _0x5061b2['name']=_0x1a4882,_0x5061b2[_0x51b0b(0x44e)]=_0x56d43d[_0x51b0b(0x44e)],_0x5061b2[_0x51b0b(0x371)]=_0x1696e3?'主键,用于定位要更新的记录'+(_0x5d4a2d&&_0x5d4a2d!==_0x56d43d[_0x51b0b(0x2d9)]?_0x51b0b(0x224)+_0x56d43d[_0x51b0b(0x2d9)]+')':''):_0x56d43d[_0x51b0b(0x371)]||_0x56d43d[_0x51b0b(0x1da)],_0x5061b2;}),_0x247b15={};return _0x247b15[_0x2db865(0x371)]=_0x2db865(0x3de),_0x247b15[_0x2db865(0x42d)]=_0x272fee,_0x247b15;}[a0_0x1fa0fa(0x211)](){const _0x49086c=a0_0x1fa0fa,_0x2d2bb0=this[_0x49086c(0x422)](),_0xb871b1=Object[_0x49086c(0x1f2)](_0x2d2bb0)['map'](([_0x5dcb0a,_0x17ffa5])=>{const _0x54808c=_0x49086c,_0x2b88e1=_0x17ffa5,_0x18663c={};return _0x18663c[_0x54808c(0x1da)]=_0x5dcb0a,_0x18663c[_0x54808c(0x44e)]=_0x2b88e1[_0x54808c(0x44e)]||'String',_0x18663c[_0x54808c(0x371)]=_0x2b88e1[_0x54808c(0x371)]||'-',_0x18663c;}),_0x241801={};return _0x241801['description']=_0x49086c(0x1d2)+'**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a'+_0x49086c(0x2b0)+_0x49086c(0x2c7)+'-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a'+_0x49086c(0x3cf),_0x241801['params']=_0xb871b1,_0x241801;}[a0_0x1fa0fa(0x2e2)](){const _0x56fc58=a0_0x1fa0fa,_0x134417=this[_0x56fc58(0x422)](),_0x203a9f={};Object[_0x56fc58(0x1f2)](_0x134417)['forEach'](([_0x3d1440,_0x211b2b])=>{const _0x53e25e=_0x56fc58,_0x233807=_0x211b2b;let _0x211d57;if(typeof _0x233807['type']===_0x53e25e(0x30b))_0x211d57=_0x233807['type'];else _0x233807[_0x53e25e(0x44e)]&&typeof _0x233807[_0x53e25e(0x44e)]==='object'?_0x211d57=_0x233807['type']['type']||_0x53e25e(0x3cd):_0x211d57=_0x53e25e(0x3cd);const _0x390fee=_0x233807[_0x53e25e(0x371)],_0x1fe2d5=this['getFieldDefinition'](_0x3d1440);_0x203a9f[_0x3d1440]=this['generateFieldExample'](_0x3d1440,_0x211d57,_0x1fe2d5?.[_0x53e25e(0x2ad)](),{'isPrimaryKey':![],'description':_0x390fee||_0x1fe2d5?.[_0x53e25e(0x371)]||_0x1fe2d5?.[_0x53e25e(0x1da)]});});const _0x517932={};return _0x517932['id']=0x1,_0x517932['data']=_0x203a9f,_0x517932;}[a0_0x1fa0fa(0x416)](){const _0x267a2c=a0_0x1fa0fa,_0x1ab23d=this[_0x267a2c(0x2e2)](),_0x1b7ff0={};return _0x1b7ff0[_0x267a2c(0x45f)]=_0x267a2c(0x2fb),_0x1b7ff0[_0x267a2c(0x371)]=_0x267a2c(0x270)+_0x267a2c(0x2d8)+_0x267a2c(0x30d),_0x1b7ff0[_0x267a2c(0x28d)]=_0x1ab23d,[_0x1b7ff0,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x267a2c(0x415)+_0x267a2c(0x2e1)+'-\x20其他要更新的字段直接平铺在同一层级','data':this['generateHTTPRequestExample']()}];}[a0_0x1fa0fa(0x3f4)](){const _0x229eba=a0_0x1fa0fa,_0x5bccbd=this[_0x229eba(0x422)](),_0xfb093d={};_0xfb093d['id']=0x1;const _0x48f9f0=_0xfb093d;return Object[_0x229eba(0x1f2)](_0x5bccbd)[_0x229eba(0x2fc)](([_0x2c115c,_0x21abdd])=>{const _0xb39813=_0x229eba,_0x23e27c=_0x21abdd;let _0x2dd7b0;if(typeof _0x23e27c[_0xb39813(0x44e)]===_0xb39813(0x30b))_0x2dd7b0=_0x23e27c[_0xb39813(0x44e)];else _0x23e27c[_0xb39813(0x44e)]&&typeof _0x23e27c['type']===_0xb39813(0x248)?_0x2dd7b0=_0x23e27c[_0xb39813(0x44e)][_0xb39813(0x44e)]||_0xb39813(0x3cd):_0x2dd7b0=_0xb39813(0x3cd);const _0x5e5dfc=_0x23e27c[_0xb39813(0x371)],_0x44157b=this[_0xb39813(0x351)](_0x2c115c);if(_0x44157b?.[_0xb39813(0x454)]())return;_0x48f9f0[_0x2c115c]=this[_0xb39813(0x366)](_0x2c115c,_0x2dd7b0,_0x44157b?.[_0xb39813(0x2ad)](),{'isPrimaryKey':![],'description':_0x5e5dfc||_0x44157b?.[_0xb39813(0x371)]||_0x44157b?.[_0xb39813(0x1da)]});}),_0x48f9f0;}[a0_0x1fa0fa(0x2c4)](){const _0x86ef5b=a0_0x1fa0fa;return this[_0x86ef5b(0x3f4)]();}['generateSDKCallCode'](_0x5c92e5,_0x539bd3){const _0x1bbd0c=a0_0x1fa0fa,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x539bd3||{},_0x58ebf2=this['getName']();if(useFullExample){const _0x1a49d5=this[_0x1bbd0c(0x2e2)](),_0x3e0831=JSON[_0x1bbd0c(0x1fb)](_0x1a49d5['data'],null,0x2)[_0x1bbd0c(0x37c)]('\x0a')[_0x1bbd0c(0x330)]((_0x30be1d,_0x5a5ae5)=>_0x5a5ae5===0x0?_0x30be1d:indent+_0x30be1d)[_0x1bbd0c(0x476)]('\x0a');return _0x1bbd0c(0x43e)+_0x5c92e5+'.'+_0x58ebf2+'('+_0x1a49d5['id']+',\x20'+_0x3e0831+');';}return'const\x20result\x20=\x20await\x20client.models.'+_0x5c92e5+'.'+_0x58ebf2+_0x1bbd0c(0x406);}}class AggregateOperation extends GenericOperation{constructor(_0x496c98,_0x104706,_0xa20fec){super(_0x496c98,_0x104706,_0xa20fec);}['normalizeDbType'](_0x17db7f){const _0xcb8edf=a0_0x1fa0fa;return _0x17db7f[_0xcb8edf(0x347)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0xcb8edf(0x22b)]()[_0xcb8edf(0x43d)]();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}[a0_0x1fa0fa(0x39e)](){const _0xc092e1=a0_0x1fa0fa,_0x35758b=super[_0xc092e1(0x39e)](),_0x1f6d2a={};_0x1f6d2a['type']=_0xc092e1(0x47c),_0x1f6d2a[_0xc092e1(0x371)]=_0xc092e1(0x3e5),_0x1f6d2a['required']=![];const _0x29d096={};_0x29d096[_0xc092e1(0x44e)]=_0xc092e1(0x376),_0x29d096[_0xc092e1(0x371)]=_0xc092e1(0x460),_0x29d096[_0xc092e1(0x2b3)]=![];const _0x1e41e8={};_0x1e41e8['type']='String[]',_0x1e41e8[_0xc092e1(0x371)]=_0xc092e1(0x3d3),_0x1e41e8[_0xc092e1(0x2b3)]=![];const _0x37870f={};_0x37870f[_0xc092e1(0x44e)]=_0xc092e1(0x453),_0x37870f[_0xc092e1(0x371)]=_0xc092e1(0x42a),_0x37870f[_0xc092e1(0x2b3)]=![];const _0x3654db={};_0x3654db[_0xc092e1(0x44e)]=_0xc092e1(0x453),_0x3654db[_0xc092e1(0x371)]=_0xc092e1(0x396),_0x3654db['required']=![];const _0x154224={};_0x154224[_0xc092e1(0x44e)]=_0xc092e1(0x453),_0x154224[_0xc092e1(0x371)]=_0xc092e1(0x279),_0x154224[_0xc092e1(0x2b3)]=![];const _0x209f26={};_0x209f26['type']='Number',_0x209f26[_0xc092e1(0x371)]='当前页码(从\x201\x20开始,默认:\x201)',_0x209f26[_0xc092e1(0x2b3)]=![];const _0x19a8f5={};_0x19a8f5[_0xc092e1(0x44e)]=_0xc092e1(0x2c9),_0x19a8f5[_0xc092e1(0x371)]=_0xc092e1(0x3a2),_0x19a8f5[_0xc092e1(0x2b3)]=![];const _0x1bb7aa={..._0x35758b};return _0x1bb7aa[_0xc092e1(0x272)]=_0x1f6d2a,_0x1bb7aa[_0xc092e1(0x392)]=_0x29d096,_0x1bb7aa[_0xc092e1(0x23a)]=_0x1e41e8,_0x1bb7aa[_0xc092e1(0x329)]=_0x37870f,_0x1bb7aa[_0xc092e1(0x29c)]=_0x3654db,_0x1bb7aa[_0xc092e1(0x417)]=_0x154224,_0x1bb7aa[_0xc092e1(0x3ce)]=_0x209f26,_0x1bb7aa['pageSize']=_0x19a8f5,_0x1bb7aa;}[a0_0x1fa0fa(0x370)](){const _0x3208a8=a0_0x1fa0fa,_0x212882={};_0x212882['code']=_0x3208a8(0x272),_0x212882[_0x3208a8(0x44e)]=_0x3208a8(0x47c),_0x212882[_0x3208a8(0x371)]=_0x3208a8(0x3e5);const _0x3e7aac={};_0x3e7aac['code']=_0x3208a8(0x392),_0x3e7aac[_0x3208a8(0x44e)]='Object',_0x3e7aac['description']=_0x3208a8(0x460);const _0x19e51b={};_0x19e51b[_0x3208a8(0x2d9)]=_0x3208a8(0x23a),_0x19e51b[_0x3208a8(0x44e)]='String[]',_0x19e51b['description']='分组字段列表';const _0x10dc7d={};_0x10dc7d[_0x3208a8(0x2d9)]='aggregate',_0x10dc7d[_0x3208a8(0x44e)]=_0x3208a8(0x453),_0x10dc7d['description']=_0x3208a8(0x46b);const _0x325601={};_0x325601['code']=_0x3208a8(0x29c),_0x325601[_0x3208a8(0x44e)]=_0x3208a8(0x453),_0x325601['description']=_0x3208a8(0x396);const _0x2c9790={};_0x2c9790[_0x3208a8(0x2d9)]='orderBy',_0x2c9790[_0x3208a8(0x44e)]='Array',_0x2c9790[_0x3208a8(0x371)]=_0x3208a8(0x279);const _0x10d193={};_0x10d193[_0x3208a8(0x2d9)]=_0x3208a8(0x3ce),_0x10d193[_0x3208a8(0x44e)]=_0x3208a8(0x2c9),_0x10d193['description']=_0x3208a8(0x298);const _0x46bbda={};return _0x46bbda[_0x3208a8(0x2d9)]=_0x3208a8(0x3c2),_0x46bbda[_0x3208a8(0x44e)]='Number',_0x46bbda[_0x3208a8(0x371)]=_0x3208a8(0x3a2),[_0x212882,_0x3e7aac,_0x19e51b,_0x10dc7d,_0x325601,_0x2c9790,_0x10d193,_0x46bbda];}[a0_0x1fa0fa(0x2e2)](){const _0x50a018=a0_0x1fa0fa,_0x2d2aa7=this[_0x50a018(0x37b)]['fields']||[];if(_0x2d2aa7[_0x50a018(0x340)]===0x0){const _0x2f6acd={};return _0x2f6acd[_0x50a018(0x392)]={},_0x2f6acd['groupBy']=[],_0x2f6acd[_0x50a018(0x329)]=[],_0x2f6acd;}const _0x570b93={},_0x38f1a0=_0x2d2aa7[_0x50a018(0x3d1)](0x0,Math[_0x50a018(0x1fa)](0x3,_0x2d2aa7[_0x50a018(0x340)]));_0x38f1a0[_0x50a018(0x2fc)](_0x39826d=>{const _0x31e1b1=_0x50a018,_0x5af846=this['getApplicableOperators'](_0x39826d);if(_0x5af846[_0x31e1b1(0x340)]===0x0)return;const _0x347a77=this['selectBestOperator'](_0x39826d,_0x5af846),_0x500ddc=this['generateExampleValue'](_0x39826d,_0x347a77),_0x32c606={};_0x32c606[_0x347a77]=_0x500ddc,_0x570b93[_0x39826d[_0x31e1b1(0x2d9)]]=_0x32c606;});const _0x463c45=_0x2d2aa7[_0x50a018(0x3d1)](0x0,Math[_0x50a018(0x1fa)](0x2,_0x2d2aa7[_0x50a018(0x340)]))[_0x50a018(0x330)](_0x5b1657=>_0x5b1657[_0x50a018(0x2d9)]),_0x7857b5=[],_0x20b1cd=_0x2d2aa7[_0x50a018(0x3e1)](_0xc6c4e7=>this['isNumericField'](_0xc6c4e7));if(_0x20b1cd['length']>0x0){const _0xe9f83a=_0x20b1cd[0x0],_0x1380bd=_0xe9f83a[_0x50a018(0x2d9)],_0x42f879={};_0x42f879[_0x50a018(0x44e)]=_0x50a018(0x286),_0x42f879[_0x50a018(0x268)]=_0x1380bd,_0x42f879['alias']=_0x1380bd+'_sum',_0x42f879['distinct']=![],_0x42f879[_0x50a018(0x414)]=!![],_0x42f879[_0x50a018(0x39d)]=0x2,_0x7857b5['push'](_0x42f879);const _0xe3c749={};_0xe3c749[_0x50a018(0x44e)]='avg',_0xe3c749[_0x50a018(0x268)]=_0x1380bd,_0xe3c749[_0x50a018(0x303)]=_0x1380bd+_0x50a018(0x27c),_0xe3c749[_0x50a018(0x34a)]=![],_0xe3c749[_0x50a018(0x414)]=!![],_0xe3c749[_0x50a018(0x39d)]=0x2,_0x7857b5[_0x50a018(0x2ce)](_0xe3c749);const _0x288019={};_0x288019[_0x50a018(0x44e)]='max',_0x288019[_0x50a018(0x268)]=_0x1380bd,_0x288019[_0x50a018(0x303)]=_0x1380bd+_0x50a018(0x378),_0x288019[_0x50a018(0x34a)]=![],_0x288019['round']=!![],_0x288019[_0x50a018(0x39d)]=0x2,_0x7857b5[_0x50a018(0x2ce)](_0x288019);const _0x28c09e={};_0x28c09e[_0x50a018(0x44e)]=_0x50a018(0x1fa),_0x28c09e[_0x50a018(0x268)]=_0x1380bd,_0x28c09e[_0x50a018(0x303)]=_0x1380bd+'_min',_0x28c09e[_0x50a018(0x34a)]=![],_0x28c09e[_0x50a018(0x414)]=!![],_0x28c09e[_0x50a018(0x39d)]=0x2,_0x7857b5['push'](_0x28c09e);}else{if(_0x2d2aa7[_0x50a018(0x340)]>0x0){const _0x5aa118=_0x2d2aa7[0x0],_0x52dfce=_0x5aa118[_0x50a018(0x2d9)],_0x119b91={};_0x119b91['type']=_0x50a018(0x27a),_0x119b91[_0x50a018(0x268)]=_0x52dfce,_0x119b91[_0x50a018(0x303)]='total_count',_0x119b91[_0x50a018(0x34a)]=!![],_0x7857b5[_0x50a018(0x2ce)](_0x119b91);}}const _0x7bae43=[];if(_0x2d2aa7[_0x50a018(0x340)]>0x0){const _0x9b2f11=_0x2d2aa7[0x0][_0x50a018(0x2d9)],_0x4db619={};_0x4db619[_0x9b2f11]=_0x50a018(0x3c6),_0x7bae43[_0x50a018(0x2ce)](_0x4db619);}const _0x3d5851=[..._0x463c45,..._0x7857b5[_0x50a018(0x330)](_0x3cd7cc=>_0x3cd7cc[_0x50a018(0x303)])],_0x2ab3e6=[];if(_0x7857b5[_0x50a018(0x340)]>0x0){const _0x1fec5a={};_0x1fec5a['$gte']=0x0;const _0x52f1c0={};_0x52f1c0[_0x50a018(0x3ef)]=_0x7857b5[0x0][_0x50a018(0x303)],_0x52f1c0[_0x50a018(0x25d)]=_0x1fec5a,_0x2ab3e6[_0x50a018(0x2ce)](_0x52f1c0);}const _0x560132={};return _0x560132[_0x50a018(0x272)]=_0x3d5851,_0x560132[_0x50a018(0x392)]=_0x570b93,_0x560132['groupBy']=_0x463c45,_0x560132['aggregate']=_0x7857b5,_0x560132[_0x50a018(0x29c)]=_0x2ab3e6[_0x50a018(0x340)]>0x0?_0x2ab3e6:undefined,_0x560132[_0x50a018(0x417)]=_0x7bae43,_0x560132['currentPage']=0x1,_0x560132[_0x50a018(0x3c2)]=0x14,_0x560132;}[a0_0x1fa0fa(0x40b)](_0x48ebed,_0x431ce0){const _0x5d7254=a0_0x1fa0fa,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x431ce0||{},_0x2326e6=this[_0x5d7254(0x375)](),_0x2a96b4=this[_0x5d7254(0x2e2)](),_0x48253f=_0xe867b9=>{const _0x29fea7=_0x5d7254;return JSON['stringify'](_0xe867b9,null,0x2)[_0x29fea7(0x37c)]('\x0a')[_0x29fea7(0x330)]((_0x139474,_0xc80072)=>_0xc80072===0x0?_0x139474:indent+_0x139474)['join']('\x0a');};if(useFullExample){const _0x149df=this['context'][_0x5d7254(0x30f)]||[],_0x2960d8=_0x149df[_0x5d7254(0x3e1)](_0x44600d=>this[_0x5d7254(0x399)](_0x44600d)),_0x147f66={'where':_0x149df[0x0]?{[_0x149df[0x0]['code']]:{'$eq':this[_0x5d7254(0x231)](_0x149df[0x0],_0x5d7254(0x3f2))}}:{},'aggregate':_0x2960d8[_0x5d7254(0x340)]>0x0?[{'type':_0x5d7254(0x286),'column':_0x2960d8[0x0]['code'],'alias':_0x2960d8[0x0][_0x5d7254(0x2d9)]+_0x5d7254(0x31d),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x5d7254(0x27a),'column':_0x149df[0x0]['code'],'alias':_0x5d7254(0x413),'distinct':!![]}],'orderBy':[{[_0x149df[0x0][_0x5d7254(0x2d9)]]:'desc'}]};let _0x226083='';return _0x149df['length']>=0x3&&(_0x226083='\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x48ebed+'.'+_0x2326e6+'('+_0x48253f(_0x2a96b4)+');'),_0x5d7254(0x466)+_0x48ebed+'.'+_0x2326e6+'('+_0x48253f(_0x147f66)+');'+_0x226083;}const _0x56b84e=JSON[_0x5d7254(0x1fb)](_0x2a96b4,null,0x2)['split']('\x0a')[_0x5d7254(0x330)]((_0x23cd0f,_0x445cb1)=>_0x445cb1===0x0?_0x23cd0f:indent+_0x23cd0f)[_0x5d7254(0x476)]('\x0a');return _0x5d7254(0x43e)+_0x48ebed+'.'+_0x2326e6+'('+_0x56b84e+');';}['isNumericField'](_0x549fe7){const _0x125c68=a0_0x1fa0fa,_0xe1332e=_0x549fe7[_0x125c68(0x2ad)]();return[_0x125c68(0x1f4),'INTEGER',_0x125c68(0x2c8),_0x125c68(0x3ee)][_0x125c68(0x22a)](_0xe1332e)||[_0x125c68(0x2f8),_0x125c68(0x391),_0x125c68(0x3d5),_0x125c68(0x395),_0x125c68(0x3e4)][_0x125c68(0x22a)](_0xe1332e);}[a0_0x1fa0fa(0x38f)](_0x333110){const _0x144331=a0_0x1fa0fa,_0x22ded9=_0x333110[_0x144331(0x2ad)](),_0xf66dc3=[];if([_0x144331(0x1f4),_0x144331(0x230),_0x144331(0x2c8),_0x144331(0x3ee)][_0x144331(0x22a)](_0x22ded9)||[_0x144331(0x2f8),_0x144331(0x391),'SMALLINT','DOUBLE',_0x144331(0x3e4)][_0x144331(0x22a)](_0x22ded9))_0xf66dc3[_0x144331(0x2ce)](_0x144331(0x3f2),_0x144331(0x2f0),_0x144331(0x26e),_0x144331(0x430),'$gteq','$lteq',_0x144331(0x364));else{if([_0x144331(0x2bf),_0x144331(0x3cd),_0x144331(0x40a)][_0x144331(0x22a)](_0x22ded9)||[_0x144331(0x451),_0x144331(0x38c)]['includes'](_0x22ded9))_0xf66dc3['push'](_0x144331(0x3f2),_0x144331(0x2f0),_0x144331(0x364),_0x144331(0x448),_0x144331(0x1ef),_0x144331(0x3b2));else{if(['DATE','DATETIME',_0x144331(0x275)][_0x144331(0x22a)](_0x22ded9)||['TIME']['includes'](_0x22ded9))_0xf66dc3[_0x144331(0x2ce)](_0x144331(0x3f2),_0x144331(0x2f0),_0x144331(0x26e),_0x144331(0x430),_0x144331(0x27f),_0x144331(0x280));else[_0x144331(0x26b),_0x144331(0x42c),'BIT'][_0x144331(0x22a)](_0x22ded9)?_0xf66dc3[_0x144331(0x2ce)]('$eq',_0x144331(0x2f0)):_0xf66dc3[_0x144331(0x2ce)](_0x144331(0x3f2),_0x144331(0x2f0));}}return _0xf66dc3;}[a0_0x1fa0fa(0x31a)](_0x24e5fb,_0x251c13){const _0x7d78ac=a0_0x1fa0fa,_0x9a054a=_0x24e5fb[_0x7d78ac(0x2ad)]();if([_0x7d78ac(0x1f4),_0x7d78ac(0x230),_0x7d78ac(0x2c8),_0x7d78ac(0x3ee)]['includes'](_0x9a054a)||[_0x7d78ac(0x2f8),'TINYINT',_0x7d78ac(0x3d5),_0x7d78ac(0x395),_0x7d78ac(0x3e4)][_0x7d78ac(0x22a)](_0x9a054a))return _0x251c13[_0x7d78ac(0x22a)]('$gte')?_0x7d78ac(0x26e):_0x7d78ac(0x3f2);if(['STRING',_0x7d78ac(0x3cd),_0x7d78ac(0x40a)][_0x7d78ac(0x22a)](_0x9a054a)||[_0x7d78ac(0x451),_0x7d78ac(0x38c)]['includes'](_0x9a054a))return _0x251c13[_0x7d78ac(0x22a)](_0x7d78ac(0x448))?_0x7d78ac(0x448):'$eq';if([_0x7d78ac(0x2c2),'DATETIME',_0x7d78ac(0x275),_0x7d78ac(0x2f3)]['includes'](_0x9a054a))return _0x251c13[_0x7d78ac(0x22a)]('$gte')?_0x7d78ac(0x26e):_0x7d78ac(0x3f2);return'$eq';}['generateExampleValue'](_0x112d3b,_0x1c75d7){const _0x59efed=a0_0x1fa0fa,_0xb107ed=_0x112d3b['getDbTypeForOperation'](),_0x41c9e1=_0x112d3b[_0x59efed(0x28f)]();if(_0x41c9e1&&_0x41c9e1[_0x59efed(0x340)]>0x0){if(_0x1c75d7===_0x59efed(0x364))return _0x41c9e1[_0x59efed(0x3d1)](0x0,0x2)['map'](_0xd92db=>_0xd92db['value']);return _0x41c9e1[0x0][_0x59efed(0x449)];}if([_0x59efed(0x1f4),_0x59efed(0x230),_0x59efed(0x2c8),'DECIMAL'][_0x59efed(0x22a)](_0xb107ed)||[_0x59efed(0x2f8),_0x59efed(0x391),_0x59efed(0x3d5),'DOUBLE',_0x59efed(0x3e4)]['includes'](_0xb107ed)){if(_0x1c75d7==='$in')return[0x1,0x2,0x3];if(_0x1c75d7===_0x59efed(0x26e)||_0x1c75d7===_0x59efed(0x27f))return 0x0;if(_0x1c75d7===_0x59efed(0x430)||_0x1c75d7===_0x59efed(0x280))return 0x64;return 0x1;}if([_0x59efed(0x2bf),'TEXT',_0x59efed(0x40a)][_0x59efed(0x22a)](_0xb107ed)||[_0x59efed(0x451),_0x59efed(0x38c)][_0x59efed(0x22a)](_0xb107ed)){if(_0x1c75d7===_0x59efed(0x364))return[_0x59efed(0x2b2),_0x59efed(0x313)];if(_0x1c75d7==='$contain')return'keyword';if(_0x1c75d7===_0x59efed(0x1ef))return _0x59efed(0x2cf);if(_0x1c75d7===_0x59efed(0x3b2))return _0x59efed(0x296);return _0x59efed(0x449);}if([_0x59efed(0x2c2),'DATETIME',_0x59efed(0x275),'TIME']['includes'](_0xb107ed)){if(_0x1c75d7==='$gte'||_0x1c75d7==='$gteq')return'2024-01-01';if(_0x1c75d7==='$lte'||_0x1c75d7===_0x59efed(0x280))return _0x59efed(0x3a3);return _0x59efed(0x368);}if(['BOOLEAN','BOOL',_0x59efed(0x3f0)][_0x59efed(0x22a)](_0xb107ed))return!![];return _0x1c75d7===_0x59efed(0x364)?[_0x59efed(0x2b2),'value2']:_0x59efed(0x449);}[a0_0x1fa0fa(0x211)](){const _0x34261f=a0_0x1fa0fa,_0x4dc9bf=this[_0x34261f(0x39e)](),_0x4b798c=Object[_0x34261f(0x1f2)](_0x4dc9bf)['filter'](([_0x214fc2])=>_0x214fc2!==_0x34261f(0x3ce)&&_0x214fc2!==_0x34261f(0x3c2))['map'](([_0x516b0f,_0xc2f872])=>{const _0x245840=_0x34261f,_0x20fc55=_0xc2f872,_0x84dc73={};return _0x84dc73['name']=_0x516b0f,_0x84dc73[_0x245840(0x44e)]=_0x20fc55[_0x245840(0x44e)]||_0x245840(0x23f),_0x84dc73[_0x245840(0x371)]=_0x20fc55[_0x245840(0x371)]||'-',_0x84dc73[_0x245840(0x2b3)]=_0x20fc55[_0x245840(0x2b3)],_0x84dc73;}),_0x599490={};return _0x599490[_0x34261f(0x371)]=_0x34261f(0x2a7),_0x599490[_0x34261f(0x42d)]=_0x4b798c,_0x599490;}['generateResponseExample'](){const _0x5d867f=a0_0x1fa0fa,_0x591d1a=this['generateRequestExample']()['aggregate'],_0x5c364d=[{}],_0x54623d=[];_0x591d1a?.[_0x5d867f(0x2fc)](_0x358a8a=>{const _0x6594a1=_0x5d867f,_0x300038={};_0x300038[_0x6594a1(0x45f)]=_0x358a8a[_0x6594a1(0x303)],_0x300038[_0x6594a1(0x32e)]=_0x358a8a[_0x6594a1(0x303)],_0x54623d[_0x6594a1(0x2ce)](_0x300038),_0x5c364d[0x0][_0x358a8a['alias']]=_0x358a8a[_0x6594a1(0x44e)]===_0x6594a1(0x27a)?0x64:Math[_0x6594a1(0x414)](Math[_0x6594a1(0x45b)]()*0x64*0x64)/0x64;});const _0x246496={};_0x246496[_0x5d867f(0x3c2)]=0x1,_0x246496[_0x5d867f(0x346)]=0x64,_0x246496[_0x5d867f(0x3ce)]=0x1;const _0x59bee9={};_0x59bee9[_0x5d867f(0x37f)]=_0x246496,_0x59bee9['tableData']=_0x5c364d,_0x59bee9[_0x5d867f(0x281)]=_0x54623d;const _0x319ab1={};return _0x319ab1[_0x5d867f(0x335)]=!![],_0x319ab1[_0x5d867f(0x241)]='',_0x319ab1[_0x5d867f(0x20e)]='',_0x319ab1['errorCode']=_0x5d867f(0x420),_0x319ab1[_0x5d867f(0x28d)]=_0x59bee9,_0x319ab1[_0x5d867f(0x42d)]=null,_0x319ab1;}}class OperationFactory{['create'](_0x2cf88f,_0x30ff7f,_0x104fbc){const _0x196ccd=a0_0x1fa0fa;switch(_0x2cf88f){case _0x196ccd(0x438):return new GetSelectOptionsOperation(_0x2cf88f,_0x30ff7f,_0x104fbc);case _0x196ccd(0x30e):return new GetListOperation(_0x2cf88f,_0x30ff7f,_0x104fbc);case _0x196ccd(0x3e1):return new FilterOperation(_0x2cf88f,_0x30ff7f,_0x104fbc);case _0x196ccd(0x27b):return new ExcelExportOperation(_0x2cf88f,_0x30ff7f,_0x104fbc);case'update':return new UpdateOperation(_0x2cf88f,_0x30ff7f,_0x104fbc);case _0x196ccd(0x329):return new AggregateOperation(_0x2cf88f,_0x30ff7f,_0x104fbc);default:return new GenericOperation(_0x2cf88f,_0x30ff7f,_0x104fbc);}}[a0_0x1fa0fa(0x28c)](_0x232235,_0x14b7c4){const _0x3e21b8=new Map();return Object['entries'](_0x232235)['forEach'](([_0xe0a1bc,_0x118df6])=>{const _0x62f262=a0_0x505f;_0x3e21b8[_0x62f262(0x388)](_0xe0a1bc,this[_0x62f262(0x228)](_0xe0a1bc,_0x118df6,_0x14b7c4));}),_0x3e21b8;}}class OperationList{['_operations'];constructor(_0x19d32c,_0x26190b){const _0x115dfb=a0_0x1fa0fa,_0x498268=new OperationFactory();this[_0x115dfb(0x225)]=_0x498268[_0x115dfb(0x28c)](_0x19d32c,_0x26190b);}[a0_0x1fa0fa(0x25e)](_0x4a0f33){const _0x5c1e9f=a0_0x1fa0fa;return this[_0x5c1e9f(0x225)][_0x5c1e9f(0x25e)](_0x4a0f33);}[a0_0x1fa0fa(0x3b1)](_0x344ce8){const _0x30013a=a0_0x1fa0fa;return this['_operations'][_0x30013a(0x3b1)](_0x344ce8);}[a0_0x1fa0fa(0x21c)](){const _0x47473c=a0_0x1fa0fa;return this[_0x47473c(0x225)][_0x47473c(0x21c)];}[a0_0x1fa0fa(0x470)](){const _0x56fdf4=a0_0x1fa0fa;return Array[_0x56fdf4(0x273)](this[_0x56fdf4(0x225)][_0x56fdf4(0x316)]());}[a0_0x1fa0fa(0x34e)](){const _0x10e291=a0_0x1fa0fa,_0x58832a=Array[_0x10e291(0x273)](this[_0x10e291(0x225)][_0x10e291(0x2da)]());return this[_0x10e291(0x307)](_0x58832a);}[a0_0x1fa0fa(0x325)](){const _0x429542=a0_0x1fa0fa;return this[_0x429542(0x34e)]()[_0x429542(0x3e1)](_0x26b264=>_0x26b264[_0x429542(0x2cd)]());}[a0_0x1fa0fa(0x45e)](){const _0x414988=a0_0x1fa0fa;return this[_0x414988(0x34e)]()[_0x414988(0x3e1)](_0x4114c5=>!_0x4114c5[_0x414988(0x2cd)]());}['getEnabledNames'](){const _0x43e61e=a0_0x1fa0fa;return this[_0x43e61e(0x325)]()[_0x43e61e(0x330)](_0x2f82d0=>_0x2f82d0[_0x43e61e(0x375)]());}['getDisabledNames'](){const _0xc27604=a0_0x1fa0fa;return this[_0xc27604(0x45e)]()[_0xc27604(0x330)](_0x4ff653=>_0x4ff653[_0xc27604(0x375)]());}['getByType'](_0x5786f7){const _0x28e851=a0_0x1fa0fa;return this[_0x28e851(0x34e)]()[_0x28e851(0x3e1)](_0xcdbb05=>_0xcdbb05[_0x28e851(0x29a)]()===_0x5786f7);}[a0_0x1fa0fa(0x3e1)](_0x2228c8){const _0x3b0387=a0_0x1fa0fa;return this[_0x3b0387(0x34e)]()[_0x3b0387(0x3e1)](_0x2228c8);}[a0_0x1fa0fa(0x393)](_0x50159b={}){const _0x4eef91=a0_0x1fa0fa;let _0x99ee4a=this[_0x4eef91(0x34e)]();!_0x50159b[_0x4eef91(0x3f5)]&&(_0x99ee4a=_0x99ee4a[_0x4eef91(0x3e1)](_0x3a3886=>_0x3a3886[_0x4eef91(0x2cd)]()));if(_0x50159b[_0x4eef91(0x400)]!==![]){const _0x3294f8=_0x99ee4a[_0x4eef91(0x330)](_0x463782=>({'name':_0x463782[_0x4eef91(0x375)](),'operation':_0x463782})),_0x29452d=filterApiOperations(_0x3294f8);_0x99ee4a=_0x29452d[_0x4eef91(0x330)](_0x291c6d=>_0x291c6d[_0x4eef91(0x446)]),_0x99ee4a=this[_0x4eef91(0x307)](_0x99ee4a);}return _0x50159b[_0x4eef91(0x2ab)]&&(_0x99ee4a=_0x99ee4a[_0x4eef91(0x3e1)](_0x50159b[_0x4eef91(0x2ab)])),_0x99ee4a;}[a0_0x1fa0fa(0x307)](_0x4e3082){const _0x2ed0e1=a0_0x1fa0fa,_0x36992c=_0x4e3082[_0x2ed0e1(0x39c)](_0x4c8670=>_0x4c8670[_0x2ed0e1(0x375)]()===_0x2ed0e1(0x3e1)),_0x421c8c=_0x4e3082[_0x2ed0e1(0x3e1)](_0x13910c=>_0x13910c[_0x2ed0e1(0x375)]()!==_0x2ed0e1(0x3e1));return _0x36992c?[_0x36992c,..._0x421c8c]:_0x421c8c;}[a0_0x1fa0fa(0x333)](){const _0x144337=a0_0x1fa0fa,_0x3d5f5e=this[_0x144337(0x325)]();return{'total':this[_0x144337(0x21c)](),'enabled':_0x3d5f5e[_0x144337(0x340)],'disabled':this[_0x144337(0x21c)]()-_0x3d5f5e['length'],'byType':this[_0x144337(0x2ee)](_0x3d5f5e),'byMethod':this[_0x144337(0x3af)](_0x3d5f5e)};}['getCountByType'](_0x186f0b){const _0x25cae2=a0_0x1fa0fa,_0x121c72={};return _0x186f0b[_0x25cae2(0x2fc)](_0x13419=>{const _0x5a15f1=_0x25cae2,_0x108334=_0x13419[_0x5a15f1(0x29a)]();_0x108334&&(_0x121c72[_0x108334]=(_0x121c72[_0x108334]||0x0)+0x1);}),_0x121c72;}[a0_0x1fa0fa(0x3af)](_0x43fdd5){const _0x7ccfb6={};return _0x43fdd5['forEach'](_0x566fbc=>{const _0x3e7322=a0_0x505f,_0x381670=_0x566fbc[_0x3e7322(0x374)]();_0x381670&&(_0x7ccfb6[_0x381670]=(_0x7ccfb6[_0x381670]||0x0)+0x1);}),_0x7ccfb6;}[Symbol[a0_0x1fa0fa(0x352)]](){const _0x93b349=a0_0x1fa0fa;return this[_0x93b349(0x225)]['values']();}[a0_0x1fa0fa(0x45a)](){const _0x1129a9=a0_0x1fa0fa,_0x320293=this[_0x1129a9(0x333)]();return'OperationList('+_0x320293[_0x1129a9(0x21a)]+'/'+_0x320293['total']+_0x1129a9(0x262);}}class DBConfig{[a0_0x1fa0fa(0x407)];[a0_0x1fa0fa(0x345)];[a0_0x1fa0fa(0x2bb)];['dbType'];[a0_0x1fa0fa(0x312)];[a0_0x1fa0fa(0x23d)];[a0_0x1fa0fa(0x2d2)];['pkField'];[a0_0x1fa0fa(0x380)];[a0_0x1fa0fa(0x295)];constructor(_0xc48cf9,_0xa55353){const _0x5b6997=a0_0x1fa0fa;this[_0x5b6997(0x407)]=_0xa55353,this[_0x5b6997(0x345)]=_0xc48cf9['dbId'],this[_0x5b6997(0x2bb)]=_0xc48cf9[_0x5b6997(0x2bb)],this['dbType']=_0xc48cf9[_0x5b6997(0x479)],this[_0x5b6997(0x312)]=_0xc48cf9[_0x5b6997(0x312)],this[_0x5b6997(0x23d)]=_0xc48cf9[_0x5b6997(0x23d)],this[_0x5b6997(0x2d2)]=_0xc48cf9['datasetKey'],this['pkField']=_0xc48cf9[_0x5b6997(0x433)],this['tenantCode']=_0xc48cf9[_0x5b6997(0x380)],this[_0x5b6997(0x295)]=_0xc48cf9[_0x5b6997(0x295)];}['getRaw'](){const _0x196a45=a0_0x1fa0fa;return this[_0x196a45(0x407)];}}class DrivenDataDetailBase extends DatasetItem{['_operationList'];[a0_0x1fa0fa(0x2dc)];[a0_0x1fa0fa(0x33b)];constructor(_0x4e1bcc){const _0x5bb237=a0_0x1fa0fa,_0x824040={..._0x4e1bcc};_0x824040['id']=_0x4e1bcc[_0x5bb237(0x297)]||_0x4e1bcc['id'],_0x824040[_0x5bb237(0x318)]=_0x4e1bcc[_0x5bb237(0x29f)]||_0x4e1bcc[_0x5bb237(0x318)]||_0x4e1bcc[_0x5bb237(0x2d9)],super(_0x824040);}['getDatasetMeta'](){return;}[a0_0x1fa0fa(0x2d6)](){return[];}['getIndexes'](){return[];}get[a0_0x1fa0fa(0x3a7)](){const _0x1bf3ee=a0_0x1fa0fa;return this[_0x1bf3ee(0x3c3)]();}[a0_0x1fa0fa(0x3bf)](){const _0x25b5a0=a0_0x1fa0fa;if(!this[_0x25b5a0(0x2dc)])throw new Error(_0x25b5a0(0x2c0));return this[_0x25b5a0(0x2dc)];}['getFieldListWithDeleted'](){const _0x5b6e56=a0_0x1fa0fa;if(!this[_0x5b6e56(0x33b)])throw new Error(_0x5b6e56(0x348));return this[_0x5b6e56(0x33b)];}['getFields'](){return[];}['getFieldsWithDeleted'](){const _0xf1e42=a0_0x1fa0fa,_0x1743a3=this[_0xf1e42(0x23b)]();return _0x1743a3['fields'];}[a0_0x1fa0fa(0x2e4)](){const _0x3aee7b=a0_0x1fa0fa;return this[_0x3aee7b(0x2be)]()[_0x3aee7b(0x340)];}[a0_0x1fa0fa(0x3a4)](_0x46dfb5){const _0x490563=a0_0x1fa0fa,_0x2fcfc3=this[_0x490563(0x2e7)](_0x46dfb5);return _0x2fcfc3?_0x2fcfc3[_0x490563(0x407)]:undefined;}[a0_0x1fa0fa(0x41d)](_0x14f241){return;}[a0_0x1fa0fa(0x25c)](_0x4b56d4){const _0x7db1e2=a0_0x1fa0fa;if(!_0x4b56d4||typeof _0x4b56d4!==_0x7db1e2(0x248))return!![]&&console[_0x7db1e2(0x472)](_0x7db1e2(0x20c),_0x4b56d4),{};if('pkField'in _0x4b56d4){const _0x1cebfb=_0x4b56d4;return{'primaryKey':typeof _0x1cebfb['pkField']===_0x7db1e2(0x28a)?_0x1cebfb[_0x7db1e2(0x433)]:Boolean(_0x1cebfb[_0x7db1e2(0x433)]),'required':_0x1cebfb[_0x7db1e2(0x2b3)],'systemRetain':Boolean(_0x1cebfb['systemRetain']),'autoIncrement':_0x1cebfb['autoIncrement']??undefined};}if(!(_0x7db1e2(0x405)in _0x4b56d4)||!_0x4b56d4['extend'])return{};try{const _0x51a76b=typeof _0x4b56d4[_0x7db1e2(0x405)]===_0x7db1e2(0x30b)?JSON[_0x7db1e2(0x1cc)](_0x4b56d4[_0x7db1e2(0x405)]):_0x4b56d4[_0x7db1e2(0x405)];if(typeof _0x51a76b!==_0x7db1e2(0x248)||_0x51a76b===null)return{};return _0x51a76b;}catch{return{};}}[a0_0x1fa0fa(0x2e0)](){const _0x1a3571=a0_0x1fa0fa;if(!this[_0x1a3571(0x26d)]){const _0x56482e=this[_0x1a3571(0x1cf)](this[_0x1a3571(0x3e0)]()||{});this['_operationList']=new OperationList(_0x56482e,{'fields':this[_0x1a3571(0x3bf)]()[_0x1a3571(0x40f)](),'pkField':this[_0x1a3571(0x3ff)][_0x1a3571(0x2ca)]?.['pkField'],'dbtableConfig':this['_raw'][_0x1a3571(0x2ca)]||null});}return this['_operationList'];}[a0_0x1fa0fa(0x1cf)](_0x5c95c9){const _0x88b86d=a0_0x1fa0fa;if(_0x5c95c9[_0x88b86d(0x3e1)]!==undefined)return _0x5c95c9;return{..._0x5c95c9,'filter':this[_0x88b86d(0x1d4)]()};}[a0_0x1fa0fa(0x1d4)](){const _0x51e145=a0_0x1fa0fa,_0x5c9a2f=this[_0x51e145(0x3e0)]()?.[_0x51e145(0x30e)];let _0x4accec=_0x5c9a2f?.[_0x51e145(0x3ed)],_0x4fb85c='';if(!_0x4accec&&this[_0x51e145(0x3e0)]()){const _0x32d1c7=Object['values'](this[_0x51e145(0x3e0)]());for(const _0x4c8deb of _0x32d1c7){if(_0x4c8deb&&typeof _0x4c8deb===_0x51e145(0x248)&&'host'in _0x4c8deb){_0x4accec=_0x4c8deb[_0x51e145(0x3ed)];break;}}}if(_0x5c9a2f?.[_0x51e145(0x253)]){const _0x5f1b86=_0x5c9a2f[_0x51e145(0x253)],_0x4bdc17=_0x5f1b86[_0x51e145(0x207)]('/');_0x4bdc17!==-0x1&&(_0x4fb85c=_0x5f1b86['substring'](0x0,_0x4bdc17));}const _0x43ef3d={};_0x43ef3d[_0x51e145(0x1da)]='where',_0x43ef3d[_0x51e145(0x44e)]=_0x51e145(0x248),_0x43ef3d[_0x51e145(0x2b3)]=![];const _0x4656a4={};_0x4656a4['name']=_0x51e145(0x272),_0x4656a4[_0x51e145(0x44e)]='array',_0x4656a4[_0x51e145(0x2b3)]=![];const _0x39643e={};_0x39643e[_0x51e145(0x1da)]=_0x51e145(0x417),_0x39643e[_0x51e145(0x44e)]=_0x51e145(0x328),_0x39643e[_0x51e145(0x2b3)]=![];const _0x1e8d3f={};_0x1e8d3f['name']=_0x51e145(0x3ce),_0x1e8d3f[_0x51e145(0x44e)]=_0x51e145(0x41b),_0x1e8d3f['required']=![],_0x1e8d3f['default']=0x1;const _0x369a05={};_0x369a05[_0x51e145(0x1da)]=_0x51e145(0x3c2),_0x369a05[_0x51e145(0x44e)]='number',_0x369a05[_0x51e145(0x2b3)]=![],_0x369a05['default']=0xa;const _0x24f0f2={};return _0x24f0f2[_0x51e145(0x1da)]=_0x51e145(0x3e1),_0x24f0f2[_0x51e145(0x44e)]=_0x51e145(0x339),_0x24f0f2[_0x51e145(0x371)]='Filter\x20API\x20-\x20高级查询接口',_0x24f0f2[_0x51e145(0x236)]='POST',_0x24f0f2[_0x51e145(0x3ed)]=_0x4accec,_0x24f0f2[_0x51e145(0x253)]=_0x4fb85c?_0x4fb85c+'/filter':_0x51e145(0x41e),_0x24f0f2[_0x51e145(0x42d)]=_0x5c9a2f?.[_0x51e145(0x42d)]||[_0x43ef3d,_0x4656a4,_0x39643e,_0x1e8d3f,_0x369a05],_0x24f0f2[_0x51e145(0x3a1)]=!![],_0x24f0f2;}[a0_0x1fa0fa(0x1d6)](){const _0x17abb7=a0_0x1fa0fa;return this[_0x17abb7(0x2e0)]()[_0x17abb7(0x34e)]();}['getOperationCount'](){const _0x4a783e=a0_0x1fa0fa;return this[_0x4a783e(0x2e0)]()[_0x4a783e(0x21c)]();}[a0_0x1fa0fa(0x443)](_0x71f7bf){const _0x565241=a0_0x1fa0fa;if(typeof _0x71f7bf!==_0x565241(0x30b)){!![]&&console['warn']('[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:',_0x71f7bf);return;}return this[_0x565241(0x2e0)]()[_0x565241(0x25e)](_0x71f7bf);}[a0_0x1fa0fa(0x220)](_0x37efba){const _0x1840f2=a0_0x1fa0fa;if(typeof _0x37efba!==_0x1840f2(0x30b))return![];return this[_0x1840f2(0x2e0)]()[_0x1840f2(0x3b1)](_0x37efba);}[a0_0x1fa0fa(0x267)](_0x4f0dbf){const _0x97f042=a0_0x1fa0fa;if(typeof _0x4f0dbf!==_0x97f042(0x30b))return![];const _0x4fc89c=this[_0x97f042(0x443)](_0x4f0dbf);return _0x4fc89c?.['isEnabled']()||![];}[a0_0x1fa0fa(0x291)](){const _0x1e6e07=a0_0x1fa0fa;return this[_0x1e6e07(0x2e0)]()[_0x1e6e07(0x327)]();}[a0_0x1fa0fa(0x250)](){const _0x20f831=a0_0x1fa0fa;return this[_0x20f831(0x2e0)]()[_0x20f831(0x418)]();}[a0_0x1fa0fa(0x45c)](){return this['getOperationList']()['getEnabled']();}[a0_0x1fa0fa(0x40c)](){const _0x432232=a0_0x1fa0fa;return this[_0x432232(0x2e0)]()[_0x432232(0x45e)]();}['getFilteredOperations'](_0x58db0b={}){const _0x48d8e6=a0_0x1fa0fa;return this['getOperationList']()[_0x48d8e6(0x393)](_0x58db0b);}[a0_0x1fa0fa(0x333)](){const _0x4b0506=a0_0x1fa0fa;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this[_0x4b0506(0x370)]()[_0x4b0506(0x340)],'businessFieldCount':this['getBusinessFields']()[_0x4b0506(0x340)],'requiredFieldCount':this['getRequiredFields']()['length'],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this['getOperationCount'](),'enabledOperationCount':this[_0x4b0506(0x291)]()[_0x4b0506(0x340)]};}[a0_0x1fa0fa(0x429)](_0x23bf5e){const _0x5d9f38=a0_0x1fa0fa;if(!_0x23bf5e||typeof _0x23bf5e!=='object')return'';if(_0x5d9f38(0x2d9)in _0x23bf5e&&typeof _0x23bf5e[_0x5d9f38(0x2d9)]===_0x5d9f38(0x30b))return _0x23bf5e[_0x5d9f38(0x2d9)];if(_0x5d9f38(0x1da)in _0x23bf5e&&typeof _0x23bf5e['name']===_0x5d9f38(0x30b))return _0x23bf5e[_0x5d9f38(0x1da)];return'';}[a0_0x1fa0fa(0x344)](_0x38dfcb){const _0x2fbbde=a0_0x1fa0fa;return this[_0x2fbbde(0x3bf)]()[_0x2fbbde(0x3b1)](_0x38dfcb);}[a0_0x1fa0fa(0x2b6)](_0x4d161b){const _0x39f728=a0_0x1fa0fa;if(!_0x4d161b||typeof _0x4d161b!==_0x39f728(0x248))return![];const _0x4bee25=this[_0x39f728(0x429)](_0x4d161b),_0x5a2b60=this[_0x39f728(0x2e7)](_0x4bee25);return _0x5a2b60?_0x5a2b60['isPrimaryKey']():![];}[a0_0x1fa0fa(0x389)](_0x37b5ab){const _0x1b9fe9=a0_0x1fa0fa;if(!_0x37b5ab||typeof _0x37b5ab!==_0x1b9fe9(0x248))return![];const _0x5167db=this[_0x1b9fe9(0x429)](_0x37b5ab),_0x38b348=this[_0x1b9fe9(0x2e7)](_0x5167db);return _0x38b348?_0x38b348[_0x1b9fe9(0x354)]():![];}[a0_0x1fa0fa(0x1f5)](_0x4624be){const _0x4b2d23=a0_0x1fa0fa;if(!_0x4624be||typeof _0x4624be!==_0x4b2d23(0x248))return![];const _0x13c3e7=this[_0x4b2d23(0x429)](_0x4624be),_0x47d1bd=this['getFieldInstance'](_0x13c3e7);return _0x47d1bd?_0x47d1bd[_0x4b2d23(0x455)]():![];}[a0_0x1fa0fa(0x37e)](_0x4c2dbd){const _0x3cf9ec=a0_0x1fa0fa;if(!_0x4c2dbd||typeof _0x4c2dbd!==_0x3cf9ec(0x248))return![];const _0x5a3e32=this[_0x3cf9ec(0x429)](_0x4c2dbd),_0x3f7f71=this[_0x3cf9ec(0x2e7)](_0x5a3e32);return _0x3f7f71?_0x3f7f71[_0x3cf9ec(0x326)]():![];}[a0_0x1fa0fa(0x355)](_0x3bf6d2){const _0x117513=a0_0x1fa0fa;if(!_0x3bf6d2||typeof _0x3bf6d2!==_0x117513(0x248))return![];const _0x55d248=this['getFieldCode'](_0x3bf6d2),_0x2d717f=this[_0x117513(0x2e7)](_0x55d248);return _0x2d717f?_0x2d717f[_0x117513(0x33a)]():![];}['getFieldOptions'](_0xd331da){const _0x4d41d2=a0_0x1fa0fa;if(!_0xd331da||typeof _0xd331da!=='object')return[];const _0x4de4c9=this[_0x4d41d2(0x429)](_0xd331da),_0x35c5d6=this[_0x4d41d2(0x2e7)](_0x4de4c9);if(!_0x35c5d6||!_0x35c5d6[_0x4d41d2(0x326)]())return[];return _0x35c5d6[_0x4d41d2(0x28f)]()||[];}[a0_0x1fa0fa(0x424)](_0x286f4d){const _0x4e7b2f=a0_0x1fa0fa;if(!_0x286f4d||typeof _0x286f4d!=='object')return;const _0x56dee5=this[_0x4e7b2f(0x429)](_0x286f4d),_0x5ee3bd=this[_0x4e7b2f(0x2e7)](_0x56dee5);if(!_0x5ee3bd||!_0x5ee3bd['isEnum']())return;return _0x5ee3bd[_0x4e7b2f(0x27e)]();}['getEnumFieldMeta'](_0x286c54){const _0x3777dc=a0_0x1fa0fa;if(!_0x286c54||typeof _0x286c54!==_0x3777dc(0x248))return;const _0x43718c=this[_0x3777dc(0x429)](_0x286c54),_0x2ca1fc=this[_0x3777dc(0x2e7)](_0x43718c);if(!_0x2ca1fc||!_0x2ca1fc[_0x3777dc(0x326)]())return;return _0x2ca1fc[_0x3777dc(0x2a1)]();}[a0_0x1fa0fa(0x3ab)](){const _0x4265ff=a0_0x1fa0fa;return this[_0x4265ff(0x3bf)]()[_0x4265ff(0x29d)]()['map'](_0x4782dc=>_0x4782dc[_0x4265ff(0x407)]);}['getSystemFields'](){const _0x58d676=a0_0x1fa0fa;return this[_0x58d676(0x3bf)]()['getSystem']()[_0x58d676(0x330)](_0x51a7cd=>_0x51a7cd[_0x58d676(0x407)]);}[a0_0x1fa0fa(0x473)](){const _0x4b4dba=a0_0x1fa0fa;return this[_0x4b4dba(0x3bf)]()[_0x4b4dba(0x2ae)]()['map'](_0x9e2729=>_0x9e2729[_0x4b4dba(0x407)]);}[a0_0x1fa0fa(0x3c4)](){const _0x138627=a0_0x1fa0fa;return this[_0x138627(0x3bf)]()['getRequired']()[_0x138627(0x330)](_0x525aa1=>_0x525aa1[_0x138627(0x407)]);}[a0_0x1fa0fa(0x2b7)](){const _0x3838c5=a0_0x1fa0fa,_0xe45883=this['getFieldList']()[_0x3838c5(0x1e8)](),_0x2a06c5={};for(const [_0xa014e3,_0x2c132d]of Object[_0x3838c5(0x1f2)](_0xe45883)){_0x2a06c5[_0xa014e3]=_0x2c132d[_0x3838c5(0x330)](_0x4433ee=>_0x4433ee[_0x3838c5(0x407)]);}return _0x2a06c5;}[a0_0x1fa0fa(0x46f)](){const _0x336c60=a0_0x1fa0fa;return this[_0x336c60(0x3bf)]()['getEnum']()[_0x336c60(0x330)](_0x259497=>_0x259497[_0x336c60(0x407)]);}['getEnumFieldsMeta'](){const _0x386f66=a0_0x1fa0fa,_0x134770={};return this[_0x386f66(0x46f)]()[_0x386f66(0x2fc)](_0x275752=>{const _0xd79d44=_0x386f66,_0x516c61=this[_0xd79d44(0x373)](_0x275752);if(_0x516c61){const _0x3c24ae=this['getFieldCode'](_0x275752);_0x134770[_0x3c24ae]=_0x516c61;}}),_0x134770;}[a0_0x1fa0fa(0x301)](_0x58bd12,_0x3c584d){const _0x15b0c5=a0_0x1fa0fa,_0x5efbea=this[_0x15b0c5(0x373)](_0x58bd12);if(!_0x5efbea)return!![];if(_0x5efbea[_0x15b0c5(0x1ea)]&&!_0x5efbea[_0x15b0c5(0x20d)])return!![];const _0x1b1438=this[_0x15b0c5(0x429)](_0x58bd12),_0x5ebc05=this[_0x15b0c5(0x2e7)](_0x1b1438),_0x5b4b04=_0x5ebc05?_0x5ebc05[_0x15b0c5(0x33a)]():![];if(_0x5b4b04&&Array[_0x15b0c5(0x43c)](_0x3c584d))return _0x3c584d[_0x15b0c5(0x238)](_0x37cbf0=>_0x5efbea[_0x15b0c5(0x2da)]['includes'](_0x37cbf0));return _0x5efbea[_0x15b0c5(0x2da)][_0x15b0c5(0x22a)](_0x3c584d);}['toListItem'](){const _0xc458de=a0_0x1fa0fa;return new DatasetItem({'id':this['id'],'name':this[_0xc458de(0x1da)],'datasetCode':this[_0xc458de(0x318)],'dbtableConfig':this[_0xc458de(0x33f)]()});}[a0_0x1fa0fa(0x45a)](){const _0x5032f0=a0_0x1fa0fa;return _0x5032f0(0x22d)+this[_0x5032f0(0x1da)]+',\x20'+this[_0x5032f0(0x318)]+',\x20'+this[_0x5032f0(0x2e4)]()+'\x20fields,\x20'+this[_0x5032f0(0x42f)]()+_0x5032f0(0x215)+this[_0x5032f0(0x46e)]()+')';}[a0_0x1fa0fa(0x404)](){const _0x27d8d6=a0_0x1fa0fa;return this['getOperationOperators'](_0x27d8d6(0x3e1));}[a0_0x1fa0fa(0x3a6)](_0x3a1773){const _0x40333c=a0_0x1fa0fa;return this[_0x40333c(0x440)](_0x40333c(0x3e1),_0x3a1773);}['getFieldsFilterOperatorsMap'](){return this['getOperationFieldsOperatorsMap']('filter');}[a0_0x1fa0fa(0x43a)](_0x245b51){const _0x2ecf68=a0_0x1fa0fa,_0x48740a=this[_0x2ecf68(0x443)](_0x245b51);return _0x48740a?_0x48740a['getOperators']():[];}['getOperationFieldOperators'](_0x127b91,_0x320a49){const _0x32ad01=a0_0x1fa0fa,_0x112ebc=this['getOperation'](_0x127b91);return _0x112ebc?_0x112ebc[_0x32ad01(0x31f)](_0x320a49):[];}[a0_0x1fa0fa(0x43f)](_0x3b4d87){const _0x374595=a0_0x1fa0fa,_0x40788f={};return this[_0x374595(0x3bf)]()['forEach'](_0x58e688=>{const _0x189fd7=_0x374595,_0x538669=this[_0x189fd7(0x440)](_0x3b4d87,_0x58e688[_0x189fd7(0x2d9)]);_0x538669[_0x189fd7(0x340)]>0x0&&(_0x40788f[_0x58e688[_0x189fd7(0x2d9)]]=_0x538669);}),_0x40788f;}[a0_0x1fa0fa(0x2de)](_0x62f34d,_0x208c19,_0xe1ad0a){const _0x1d6561=a0_0x1fa0fa,_0x2fb396=this['getOperationFieldOperators'](_0x62f34d,_0x208c19);return _0x2fb396[_0x1d6561(0x22a)](_0xe1ad0a);}}class FieldBase{get['dbType'](){return;}get[a0_0x1fa0fa(0x384)](){return;}get[a0_0x1fa0fa(0x20b)](){return;}get[a0_0x1fa0fa(0x24a)](){return;}[a0_0x1fa0fa(0x2bc)](){const _0x3d8602=a0_0x1fa0fa;return!this[_0x3d8602(0x354)]();}[a0_0x1fa0fa(0x223)](){return this['deleted'];}[a0_0x1fa0fa(0x326)](){const _0x3f8bd3=a0_0x1fa0fa,_0x48ba85=[_0x3f8bd3(0x284),_0x3f8bd3(0x457),_0x3f8bd3(0x421)];return _0x48ba85[_0x3f8bd3(0x22a)](this[_0x3f8bd3(0x44e)]);}['isMultipleSelect'](){const _0x2ca97d=a0_0x1fa0fa;return this[_0x2ca97d(0x44e)]===_0x2ca97d(0x421);}[a0_0x1fa0fa(0x46d)](){const _0x5ebfd7=a0_0x1fa0fa,_0x150145=this[_0x5ebfd7(0x2a1)]();return _0x150145?.[_0x5ebfd7(0x2da)]||[];}[a0_0x1fa0fa(0x2a1)](){const _0x134f6a=a0_0x1fa0fa;if(!this[_0x134f6a(0x326)]())return;const _0x550234=this[_0x134f6a(0x28f)](),_0x3dc764=this['getSelectItemsSource'](),_0x2bcc32=[],_0x4f1860={},_0x3125bb=_0x77fa48=>{const _0x37c63f=_0x134f6a;_0x77fa48[_0x37c63f(0x2fc)](_0x332907=>{const _0x44a63b=_0x37c63f;_0x2bcc32[_0x44a63b(0x2ce)](_0x332907[_0x44a63b(0x449)]),_0x4f1860[String(_0x332907[_0x44a63b(0x449)])]=_0x332907[_0x44a63b(0x3aa)],_0x332907['children']&&_0x332907[_0x44a63b(0x2c3)][_0x44a63b(0x340)]>0x0&&_0x3125bb(_0x332907[_0x44a63b(0x2c3)]);});};return _0x550234&&_0x550234[_0x134f6a(0x340)]>0x0&&_0x3125bb(_0x550234),{'code':this[_0x134f6a(0x2d9)],'name':this[_0x134f6a(0x1da)],'type':this[_0x134f6a(0x44e)],'multiple':this[_0x134f6a(0x33a)](),'options':_0x550234,'selectItemsSource':_0x3dc764,'values':_0x2bcc32,'valueLabels':_0x4f1860};}get[a0_0x1fa0fa(0x263)](){const _0x208c48=a0_0x1fa0fa;return this[_0x208c48(0x46d)]();}[a0_0x1fa0fa(0x45a)](){const _0x861a57=a0_0x1fa0fa;return _0x861a57(0x467)+this[_0x861a57(0x1da)]+',\x20'+this[_0x861a57(0x2d9)]+',\x20'+this['type']+',\x20'+this[_0x861a57(0x46e)]()+')';}}class FieldV1 extends FieldBase{[a0_0x1fa0fa(0x3ff)];[a0_0x1fa0fa(0x426)]=null;constructor(_0x1d3029){const _0xa76b33=a0_0x1fa0fa;super();if(!_0x1d3029||typeof _0x1d3029!==_0xa76b33(0x248))throw new Error(_0xa76b33(0x409));this['_raw']=_0x1d3029;}[a0_0x1fa0fa(0x24f)](){const _0xffbb09=a0_0x1fa0fa;return this[_0xffbb09(0x3ff)];}[a0_0x1fa0fa(0x46e)](){return'v1';}get[a0_0x1fa0fa(0x407)](){return this['_raw'];}get[a0_0x1fa0fa(0x1da)](){const _0x5ee029=a0_0x1fa0fa;return this[_0x5ee029(0x3ff)]['name']||'';}get[a0_0x1fa0fa(0x2d9)](){const _0x1026ec=a0_0x1fa0fa;return this[_0x1026ec(0x3ff)][_0x1026ec(0x2d9)]||'';}get[a0_0x1fa0fa(0x44e)](){const _0x586818=a0_0x1fa0fa;return this['_raw'][_0x586818(0x44e)]||'';}get[a0_0x1fa0fa(0x371)](){const _0x5b1b2c=a0_0x1fa0fa;return this[_0x5b1b2c(0x3ff)][_0x5b1b2c(0x371)]||'';}get['deleted'](){const _0x22ac95=a0_0x1fa0fa;return Boolean(this[_0x22ac95(0x3ff)][_0x22ac95(0x310)]);}get['dbType'](){const _0x18ea3e=a0_0x1fa0fa;return this['_raw'][_0x18ea3e(0x479)];}get[a0_0x1fa0fa(0x384)](){const _0x2c31ed=a0_0x1fa0fa;return this[_0x2c31ed(0x3ff)][_0x2c31ed(0x384)];}get[a0_0x1fa0fa(0x20b)](){const _0x563ba6=a0_0x1fa0fa;return this['_raw'][_0x563ba6(0x303)];}get[a0_0x1fa0fa(0x24a)](){return;}get[a0_0x1fa0fa(0x405)](){const _0x359cf1=a0_0x1fa0fa;if(this['_extend']!==null&&typeof this[_0x359cf1(0x426)]===_0x359cf1(0x248))return this['_extend'];const _0x4c5f0c=this[_0x359cf1(0x3ff)][_0x359cf1(0x405)];if(!_0x4c5f0c||typeof _0x4c5f0c!==_0x359cf1(0x30b))return this['_extend']={},this[_0x359cf1(0x426)];if(_0x4c5f0c===_0x359cf1(0x2af)||_0x4c5f0c[_0x359cf1(0x22b)]()===_0x359cf1(0x2af))return this[_0x359cf1(0x426)]={},this[_0x359cf1(0x426)];try{const _0x4aa1b7=JSON[_0x359cf1(0x1cc)](_0x4c5f0c);return this[_0x359cf1(0x426)]=_0x4aa1b7!==null&&typeof _0x4aa1b7===_0x359cf1(0x248)&&!Array[_0x359cf1(0x43c)](_0x4aa1b7)?_0x4aa1b7:{},this[_0x359cf1(0x426)];}catch(_0x3fb40a){return!![]&&console[_0x359cf1(0x472)](_0x359cf1(0x322)+this[_0x359cf1(0x2d9)]+_0x359cf1(0x3be),_0x3fb40a),this[_0x359cf1(0x426)]={},this[_0x359cf1(0x426)];}}[a0_0x1fa0fa(0x455)](){const _0x1e8f45=a0_0x1fa0fa;return Boolean(this['extend'][_0x1e8f45(0x2b3)]);}[a0_0x1fa0fa(0x454)](){const _0x3f3e4a=a0_0x1fa0fa;return Boolean(this[_0x3f3e4a(0x405)][_0x3f3e4a(0x289)]||this[_0x3f3e4a(0x405)]['pkField']);}['isSystem'](){const _0x43ac84=a0_0x1fa0fa;return Boolean(this['extend'][_0x43ac84(0x38a)]);}[a0_0x1fa0fa(0x459)](){const _0x359a9f=a0_0x1fa0fa;return Boolean(this[_0x359a9f(0x405)][_0x359a9f(0x456)]);}[a0_0x1fa0fa(0x3e9)](){const _0x334e92=a0_0x1fa0fa;return Boolean(this[_0x334e92(0x405)][_0x334e92(0x2d7)]);}[a0_0x1fa0fa(0x2d3)](){const _0x710006=a0_0x1fa0fa;return Boolean(this[_0x710006(0x405)]['updateTime']);}[a0_0x1fa0fa(0x233)](){const _0x1c412f=a0_0x1fa0fa;return this[_0x1c412f(0x1da)];}[a0_0x1fa0fa(0x213)](){const _0xb26e7c=a0_0x1fa0fa;return this[_0xb26e7c(0x2d9)];}['isEnum'](){const _0xca59f4=a0_0x1fa0fa,_0x230fa5=[_0xca59f4(0x284),_0xca59f4(0x457),'CHECKBOX'];if(_0x230fa5['includes'](this[_0xca59f4(0x44e)]))return!![];const _0x2d0f29=this[_0xca59f4(0x405)];return Boolean(_0x2d0f29['options']&&Array[_0xca59f4(0x43c)](_0x2d0f29[_0xca59f4(0x20d)])&&_0x2d0f29[_0xca59f4(0x20d)]['length']>0x0||_0x2d0f29[_0xca59f4(0x1ea)]);}[a0_0x1fa0fa(0x33a)](){const _0x475d71=a0_0x1fa0fa;if(this['type']===_0x475d71(0x421))return!![];return Boolean(this['extend'][_0x475d71(0x226)]);}[a0_0x1fa0fa(0x28f)](){const _0x50a5e2=a0_0x1fa0fa,_0x343157=this['extend'];if(_0x343157['options']&&Array[_0x50a5e2(0x43c)](_0x343157[_0x50a5e2(0x20d)]))return _0x343157[_0x50a5e2(0x20d)];return;}['getSelectItemsSource'](){const _0x5c3ef9=a0_0x1fa0fa,_0x48d7e1=this[_0x5c3ef9(0x405)];if(_0x48d7e1[_0x5c3ef9(0x1ea)]&&typeof _0x48d7e1[_0x5c3ef9(0x1ea)]===_0x5c3ef9(0x248))return _0x48d7e1['selectItemsSource'];return;}['getDbTypeForOperation'](){const _0x3ed3f0=a0_0x1fa0fa;return this[_0x3ed3f0(0x44e)][_0x3ed3f0(0x43d)]();}['getDefaultValue'](){const _0x239b4c=a0_0x1fa0fa;return this['extend'][_0x239b4c(0x1ff)];}[a0_0x1fa0fa(0x397)](){const _0x2c2daf=a0_0x1fa0fa;return this['extend'][_0x2c2daf(0x1d3)];}['toJSON'](){const _0xbc43f2=a0_0x1fa0fa;return{'name':this[_0xbc43f2(0x1da)],'code':this[_0xbc43f2(0x2d9)],'type':this['type'],'dbType':this['dbType'],'dbTypeLen':this['dbTypeLen'],'description':this[_0xbc43f2(0x371)],'required':this[_0xbc43f2(0x455)](),'primaryKey':this[_0xbc43f2(0x454)](),'system':this[_0xbc43f2(0x354)](),'autoIncrement':this[_0xbc43f2(0x459)](),'createTime':this['isCreateTime'](),'updateTime':this[_0xbc43f2(0x2d3)](),'isEnum':this[_0xbc43f2(0x326)](),'enumMeta':this[_0xbc43f2(0x326)]()?this[_0xbc43f2(0x2a1)]():undefined};}[a0_0x1fa0fa(0x45a)](){const _0x531724=a0_0x1fa0fa;return'FieldV1('+this[_0x531724(0x1da)]+',\x20'+this[_0x531724(0x2d9)]+',\x20'+this[_0x531724(0x44e)]+')';}}class FieldListBase{[a0_0x1fa0fa(0x302)];constructor(_0x12a811,_0x1d123e){const _0x52db55=a0_0x1fa0fa;if(!Array[_0x52db55(0x43c)](_0x12a811))throw new Error('[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array');const _0x2a9906=_0x1d123e?.[_0x52db55(0x47f)]??![],_0xef0fc2=_0x2a9906?_0x12a811:_0x12a811[_0x52db55(0x3e1)](_0x2b98bb=>{const _0x38b017=_0x2b98bb;return!_0x38b017['deleted'];});this[_0x52db55(0x302)]=this[_0x52db55(0x2df)](_0xef0fc2);}get[a0_0x1fa0fa(0x340)](){const _0x4f5f68=a0_0x1fa0fa;return this[_0x4f5f68(0x302)]['length'];}['all'](){return[...this['_fields']];}['at'](_0x40889e){const _0x428fe7=a0_0x1fa0fa;return this[_0x428fe7(0x302)]['at'](_0x40889e);}[a0_0x1fa0fa(0x39c)](_0x2ea092){const _0x44f37b=a0_0x1fa0fa;return this[_0x44f37b(0x302)][_0x44f37b(0x39c)](_0x54c99d=>_0x54c99d[_0x44f37b(0x2d9)]===_0x2ea092);}[a0_0x1fa0fa(0x3b9)](_0x264a79){const _0x355a50=a0_0x1fa0fa;return this['_fields'][_0x355a50(0x39c)](_0x10ba6f=>_0x10ba6f['name']===_0x264a79);}['has'](_0x417177){const _0x1a3a3d=a0_0x1fa0fa;return this[_0x1a3a3d(0x302)][_0x1a3a3d(0x477)](_0x580b11=>_0x580b11['code']===_0x417177);}[a0_0x1fa0fa(0x2fc)](_0x417ae4){const _0x49e726=a0_0x1fa0fa;this[_0x49e726(0x302)][_0x49e726(0x2fc)](_0x417ae4);}['map'](_0x2bef37){const _0x5b4d38=a0_0x1fa0fa;return this[_0x5b4d38(0x302)][_0x5b4d38(0x330)](_0x2bef37);}[a0_0x1fa0fa(0x3e1)](_0xdd981d){const _0x1daab9=a0_0x1fa0fa;return this[_0x1daab9(0x302)][_0x1daab9(0x3e1)](_0xdd981d);}[a0_0x1fa0fa(0x238)](_0x4ae89b){const _0xeccc03=a0_0x1fa0fa;return this[_0xeccc03(0x302)]['every'](_0x4ae89b);}[a0_0x1fa0fa(0x477)](_0x2f239b){const _0x246a79=a0_0x1fa0fa;return this['_fields'][_0x246a79(0x477)](_0x2f239b);}[a0_0x1fa0fa(0x37a)](){const _0x213e4c=a0_0x1fa0fa;return this['_fields'][_0x213e4c(0x3e1)](_0x5aa2ef=>_0x5aa2ef[_0x213e4c(0x455)]());}[a0_0x1fa0fa(0x29d)](){const _0x4c7909=a0_0x1fa0fa;return this[_0x4c7909(0x302)]['filter'](_0x34aa91=>_0x34aa91[_0x4c7909(0x454)]());}[a0_0x1fa0fa(0x3ac)](){const _0x5d41e9=a0_0x1fa0fa;return this['_fields']['filter'](_0x18870c=>_0x18870c[_0x5d41e9(0x354)]());}[a0_0x1fa0fa(0x2ae)](){const _0xac2a0b=a0_0x1fa0fa;return this[_0xac2a0b(0x302)][_0xac2a0b(0x3e1)](_0x1cb797=>_0x1cb797[_0xac2a0b(0x2bc)]());}[a0_0x1fa0fa(0x2e3)](){const _0x2925cc=a0_0x1fa0fa;return this['_fields'][_0x2925cc(0x3e1)](_0x54f429=>_0x54f429[_0x2925cc(0x326)]());}[a0_0x1fa0fa(0x27d)](){const _0x9a04b3=a0_0x1fa0fa;return this[_0x9a04b3(0x302)][_0x9a04b3(0x3e1)](_0x1f7b64=>_0x1f7b64[_0x9a04b3(0x459)]());}[a0_0x1fa0fa(0x42e)](){const _0x2b0d56=a0_0x1fa0fa;return this[_0x2b0d56(0x302)][_0x2b0d56(0x3e1)](_0x465782=>_0x465782[_0x2b0d56(0x3e9)]());}[a0_0x1fa0fa(0x2b4)](){const _0x64a9ac=a0_0x1fa0fa;return this['_fields'][_0x64a9ac(0x3e1)](_0x27dcd6=>_0x27dcd6[_0x64a9ac(0x2d3)]());}[a0_0x1fa0fa(0x26f)](){const _0x5e940a=a0_0x1fa0fa;return this[_0x5e940a(0x302)][_0x5e940a(0x3e1)](_0x357084=>_0x357084[_0x5e940a(0x223)]());}[a0_0x1fa0fa(0x3ba)](){const _0x20ecde=a0_0x1fa0fa;return this['_fields'][_0x20ecde(0x3e1)](_0x20272d=>!_0x20272d[_0x20ecde(0x223)]());}[a0_0x1fa0fa(0x1e8)](){const _0x383432=a0_0x1fa0fa,_0x4f1264={};return this[_0x383432(0x302)][_0x383432(0x2fc)](_0x1abaa9=>{const _0x2e3590=_0x383432,_0x49bffb=_0x1abaa9[_0x2e3590(0x44e)];!_0x4f1264[_0x49bffb]&&(_0x4f1264[_0x49bffb]=[]),_0x4f1264[_0x49bffb][_0x2e3590(0x2ce)](_0x1abaa9);}),_0x4f1264;}[a0_0x1fa0fa(0x319)](){const _0xca5119=a0_0x1fa0fa,_0x3d7576={};return this[_0xca5119(0x302)]['forEach'](_0xd0454c=>{const _0x1ccd74=_0xca5119;if(_0xd0454c[_0x1ccd74(0x326)]()){const _0x227c6b=_0xd0454c[_0x1ccd74(0x2a1)]();_0x227c6b&&(_0x3d7576[_0xd0454c['code']]=_0x227c6b);}}),_0x3d7576;}[a0_0x1fa0fa(0x333)](){const _0x4a6903=a0_0x1fa0fa;return{'total':this[_0x4a6903(0x340)],'required':this['getRequired']()[_0x4a6903(0x340)],'primaryKey':this['getPrimaryKeys']()[_0x4a6903(0x340)],'system':this['getSystem']()[_0x4a6903(0x340)],'business':this[_0x4a6903(0x2ae)]()[_0x4a6903(0x340)],'enum':this['getEnum']()[_0x4a6903(0x340)],'autoIncrement':this[_0x4a6903(0x27d)]()[_0x4a6903(0x340)]};}['getCodes'](){const _0x396ea4=a0_0x1fa0fa;return this[_0x396ea4(0x302)][_0x396ea4(0x330)](_0x1f651e=>_0x1f651e[_0x396ea4(0x2d9)]);}[a0_0x1fa0fa(0x470)](){const _0x1a1059=a0_0x1fa0fa;return this['_fields']['map'](_0x1be116=>_0x1be116[_0x1a1059(0x233)]());}[a0_0x1fa0fa(0x2ef)](){const _0x226c40=a0_0x1fa0fa;return this[_0x226c40(0x302)][_0x226c40(0x330)](_0x2febc8=>_0x2febc8['getFieldName']());}[a0_0x1fa0fa(0x1ce)](){const _0x4dd8f1=a0_0x1fa0fa;return this[_0x4dd8f1(0x302)][_0x4dd8f1(0x330)](_0x41513f=>_0x41513f[_0x4dd8f1(0x1ce)]());}[a0_0x1fa0fa(0x45a)](){const _0x3ce6e2=a0_0x1fa0fa;return _0x3ce6e2(0x3a8)+this[_0x3ce6e2(0x340)]+'\x20fields)';}}class FieldListV1 extends FieldListBase{constructor(_0x4d3ca1,_0x3914a9){super(_0x4d3ca1,_0x3914a9);}[a0_0x1fa0fa(0x2df)](_0x3b14b1){return _0x3b14b1['map'](_0x1b3193=>new FieldV1(_0x1b3193));}[a0_0x1fa0fa(0x40f)](){return[...this['_fields']];}['at'](_0x4034b6){const _0x1023f0=a0_0x1fa0fa;return this[_0x1023f0(0x302)]['at'](_0x4034b6);}[a0_0x1fa0fa(0x39c)](_0x59fe6e){const _0x523715=a0_0x1fa0fa;return this[_0x523715(0x302)]['find'](_0x56e486=>_0x56e486[_0x523715(0x2d9)]===_0x59fe6e);}[a0_0x1fa0fa(0x3b9)](_0x3875d8){const _0x3cac91=a0_0x1fa0fa;return this[_0x3cac91(0x302)]['find'](_0x5261a9=>_0x5261a9[_0x3cac91(0x1da)]===_0x3875d8);}[a0_0x1fa0fa(0x3e1)](_0x3da343){const _0xa7e696=a0_0x1fa0fa;return this[_0xa7e696(0x302)][_0xa7e696(0x3e1)](_0x3da343);}['map'](_0x24f154){const _0x11851e=a0_0x1fa0fa;return this[_0x11851e(0x302)][_0x11851e(0x330)](_0x24f154);}[a0_0x1fa0fa(0x37a)](){const _0xfafea1=a0_0x1fa0fa;return this[_0xfafea1(0x302)][_0xfafea1(0x3e1)](_0xa2c25d=>_0xa2c25d['isRequired']());}[a0_0x1fa0fa(0x29d)](){const _0x3814e1=a0_0x1fa0fa;return this[_0x3814e1(0x302)][_0x3814e1(0x3e1)](_0xeecf05=>_0xeecf05[_0x3814e1(0x454)]());}[a0_0x1fa0fa(0x3ac)](){const _0x421cc2=a0_0x1fa0fa;return this['_fields']['filter'](_0x5f2da9=>_0x5f2da9[_0x421cc2(0x354)]());}[a0_0x1fa0fa(0x2ae)](){const _0x33a98f=a0_0x1fa0fa;return this[_0x33a98f(0x302)][_0x33a98f(0x3e1)](_0x1738d2=>_0x1738d2[_0x33a98f(0x2bc)]());}[a0_0x1fa0fa(0x2e3)](){const _0x2fdff3=a0_0x1fa0fa;return this[_0x2fdff3(0x302)][_0x2fdff3(0x3e1)](_0x32c880=>_0x32c880[_0x2fdff3(0x326)]());}['groupByType'](){const _0x16be8c=a0_0x1fa0fa,_0x372b6b={};return this[_0x16be8c(0x302)]['forEach'](_0xebfb4e=>{const _0x2cf83a=_0x16be8c,_0xc044bd=_0xebfb4e[_0x2cf83a(0x44e)];!_0x372b6b[_0xc044bd]&&(_0x372b6b[_0xc044bd]=[]),_0x372b6b[_0xc044bd]['push'](_0xebfb4e);}),_0x372b6b;}[a0_0x1fa0fa(0x407)](){const _0x30374d=a0_0x1fa0fa;return this['_fields']['map'](_0x226086=>_0x226086[_0x30374d(0x407)]);}static[a0_0x1fa0fa(0x273)](_0x38c107){const _0xe61a69=a0_0x1fa0fa,_0x185343=_0x38c107[_0xe61a69(0x330)](_0x2fc98a=>_0x2fc98a[_0xe61a69(0x407)]);return new FieldListV1(_0x185343);}static[a0_0x1fa0fa(0x22f)](_0x9b0bdd){const _0x23b74a={};return _0x23b74a['includeDeleted']=!![],new FieldListV1(_0x9b0bdd,_0x23b74a);}}class FieldV2 extends FieldBase{[a0_0x1fa0fa(0x3ff)];constructor(_0x15a646){const _0x47fa9f=a0_0x1fa0fa;super();if(!_0x15a646||typeof _0x15a646!==_0x47fa9f(0x248))throw new Error('[FieldV2]\x20Invalid\x20field\x20definition');this[_0x47fa9f(0x3ff)]=_0x15a646;}[a0_0x1fa0fa(0x46e)](){return'v2';}get['raw'](){const _0x5cda3c=a0_0x1fa0fa;return this[_0x5cda3c(0x3ff)];}get[a0_0x1fa0fa(0x1da)](){const _0x1b21f9=a0_0x1fa0fa;return this[_0x1b21f9(0x3ff)][_0x1b21f9(0x1da)]||'';}get['code'](){const _0x372c36=a0_0x1fa0fa;return this[_0x372c36(0x3ff)]['name']||'';}get['displayName'](){const _0x32c63b=a0_0x1fa0fa;return this['_raw'][_0x32c63b(0x20b)]||'';}get[a0_0x1fa0fa(0x44e)](){const _0x337041=a0_0x1fa0fa;if(this[_0x337041(0x3ff)]['doType'])return this[_0x337041(0x3ff)][_0x337041(0x24a)];return this[_0x337041(0x342)](this[_0x337041(0x3ff)][_0x337041(0x479)]);}get[a0_0x1fa0fa(0x371)](){const _0x388cb9=a0_0x1fa0fa;return this[_0x388cb9(0x3ff)]['description']||'';}get[a0_0x1fa0fa(0x310)](){const _0x26025d=a0_0x1fa0fa;return Boolean(this[_0x26025d(0x3ff)]['deleted']);}[a0_0x1fa0fa(0x455)](){const _0x14b5ee=a0_0x1fa0fa;return Boolean(this[_0x14b5ee(0x3ff)][_0x14b5ee(0x2b3)]);}['isPrimaryKey'](){const _0x504e8f=a0_0x1fa0fa;return Boolean(this[_0x504e8f(0x3ff)][_0x504e8f(0x433)]);}[a0_0x1fa0fa(0x354)](){const _0x36561a=a0_0x1fa0fa;return Boolean(this[_0x36561a(0x3ff)][_0x36561a(0x38a)]);}[a0_0x1fa0fa(0x459)](){const _0x4c21c7=a0_0x1fa0fa;return Boolean(this['_raw'][_0x4c21c7(0x456)]);}[a0_0x1fa0fa(0x3e9)](){const _0x3f7ae7=a0_0x1fa0fa;return this[_0x3f7ae7(0x3ff)][_0x3f7ae7(0x38a)]===_0x3f7ae7(0x2d7);}[a0_0x1fa0fa(0x2d3)](){const _0x536bf2=a0_0x1fa0fa;return this[_0x536bf2(0x3ff)]['systemRetain']===_0x536bf2(0x3f7);}[a0_0x1fa0fa(0x233)](){const _0x14f91c=a0_0x1fa0fa;return this['_raw'][_0x14f91c(0x20b)]||'';}[a0_0x1fa0fa(0x213)](){const _0x725c03=a0_0x1fa0fa;return this[_0x725c03(0x3ff)][_0x725c03(0x1da)]||'';}[a0_0x1fa0fa(0x326)](){const _0x1521b9=a0_0x1fa0fa;return Boolean(this[_0x1521b9(0x3ff)][_0x1521b9(0x20d)]&&Array['isArray'](this[_0x1521b9(0x3ff)][_0x1521b9(0x20d)])&&this[_0x1521b9(0x3ff)][_0x1521b9(0x20d)][_0x1521b9(0x340)]>0x0);}[a0_0x1fa0fa(0x33a)](){const _0x3c1751=a0_0x1fa0fa,_0x4e81b7=this[_0x3c1751(0x3ff)]['extend'];if(!_0x4e81b7)return![];try{const _0x558779=JSON[_0x3c1751(0x1cc)](_0x4e81b7);if(_0x558779&&typeof _0x558779==='object'&&'multiple'in _0x558779)return Boolean(_0x558779['multiple']);}catch{}return![];}[a0_0x1fa0fa(0x28f)](){const _0x44e5a1=a0_0x1fa0fa;if(this[_0x44e5a1(0x3ff)][_0x44e5a1(0x20d)]&&Array[_0x44e5a1(0x43c)](this[_0x44e5a1(0x3ff)]['options']))return this[_0x44e5a1(0x3ff)][_0x44e5a1(0x20d)];return;}[a0_0x1fa0fa(0x27e)](){const _0x52104d=a0_0x1fa0fa,_0x21fc81=this[_0x52104d(0x3ff)][_0x52104d(0x405)];if(!_0x21fc81)return;try{const _0x34d77a=JSON['parse'](_0x21fc81);if(_0x34d77a&&typeof _0x34d77a==='object'&&_0x52104d(0x1ea)in _0x34d77a)return _0x34d77a[_0x52104d(0x1ea)];}catch{}return;}[a0_0x1fa0fa(0x2ad)](){const _0x4a3269=a0_0x1fa0fa;if(!this[_0x4a3269(0x3ff)][_0x4a3269(0x479)])return'';return this['_raw'][_0x4a3269(0x479)][_0x4a3269(0x347)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}[a0_0x1fa0fa(0x24e)](){return;}[a0_0x1fa0fa(0x397)](){return;}get[a0_0x1fa0fa(0x479)](){const _0x5565cc=a0_0x1fa0fa;return this['_raw'][_0x5565cc(0x479)]??undefined;}get[a0_0x1fa0fa(0x384)](){const _0xc72974=a0_0x1fa0fa;return this[_0xc72974(0x3ff)][_0xc72974(0x384)];}[a0_0x1fa0fa(0x35a)](){const _0x181db7=a0_0x1fa0fa;return this['_raw'][_0x181db7(0x24a)]??null;}get[a0_0x1fa0fa(0x24a)](){const _0x57e9de=a0_0x1fa0fa;return this['_raw'][_0x57e9de(0x24a)]??null;}['toJSON'](){const _0x42420a=a0_0x1fa0fa;return{'name':this[_0x42420a(0x1da)],'code':this[_0x42420a(0x2d9)],'type':this[_0x42420a(0x44e)],'dbType':this['dbType'],'dbTypeLen':this[_0x42420a(0x384)],'doType':this[_0x42420a(0x35a)](),'displayName':this[_0x42420a(0x20b)],'description':this[_0x42420a(0x371)],'required':this['isRequired'](),'primaryKey':this['isPrimaryKey'](),'system':this['isSystem'](),'autoIncrement':this[_0x42420a(0x459)](),'createTime':this['isCreateTime'](),'updateTime':this['isUpdateTime'](),'isEnum':this['isEnum'](),'enumMeta':this[_0x42420a(0x326)]()?this[_0x42420a(0x2a1)]():undefined};}[a0_0x1fa0fa(0x45a)](){const _0x25405a=a0_0x1fa0fa;return _0x25405a(0x3c5)+this[_0x25405a(0x1da)]+',\x20'+this['code']+',\x20'+this['dbType']+_0x25405a(0x447)+this[_0x25405a(0x35a)]()+')';}[a0_0x1fa0fa(0x342)](_0x64268d){const _0x591cdc=a0_0x1fa0fa;if(!_0x64268d)return _0x591cdc(0x3cd);const _0x24e0a6={};_0x24e0a6[_0x591cdc(0x40a)]='TEXT',_0x24e0a6[_0x591cdc(0x451)]=_0x591cdc(0x3cd),_0x24e0a6['TEXT']='TEXTAREA',_0x24e0a6['LONGTEXT']=_0x591cdc(0x2e6),_0x24e0a6['INT']=_0x591cdc(0x1f4),_0x24e0a6[_0x591cdc(0x2c8)]=_0x591cdc(0x1f4),_0x24e0a6[_0x591cdc(0x391)]=_0x591cdc(0x1f4),_0x24e0a6[_0x591cdc(0x3d5)]=_0x591cdc(0x1f4),_0x24e0a6['DECIMAL']=_0x591cdc(0x1f4),_0x24e0a6['DOUBLE']='NUMBER',_0x24e0a6['FLOAT']='NUMBER',_0x24e0a6[_0x591cdc(0x358)]='DATE',_0x24e0a6['TIMESTAMP']=_0x591cdc(0x2c2),_0x24e0a6[_0x591cdc(0x2c2)]=_0x591cdc(0x2c2),_0x24e0a6[_0x591cdc(0x2f3)]=_0x591cdc(0x2f3),_0x24e0a6[_0x591cdc(0x26b)]=_0x591cdc(0x2e5),_0x24e0a6[_0x591cdc(0x3f0)]=_0x591cdc(0x2e5),_0x24e0a6[_0x591cdc(0x34c)]='FILE',_0x24e0a6[_0x591cdc(0x244)]='FILE';const _0x343489=_0x24e0a6,_0x40cc3d=_0x64268d[_0x591cdc(0x43d)]();return _0x343489[_0x40cc3d]||_0x591cdc(0x3cd);}}class FieldListV2 extends FieldListBase{constructor(_0x1a8f1a,_0x766c9a){super(_0x1a8f1a,_0x766c9a);}['createFields'](_0x199bca){const _0x469180=a0_0x1fa0fa;return _0x199bca[_0x469180(0x330)](_0x19eadd=>new FieldV2(_0x19eadd));}[a0_0x1fa0fa(0x40f)](){const _0x3cc48d=a0_0x1fa0fa;return[...this[_0x3cc48d(0x302)]];}['at'](_0x314227){const _0x259a72=a0_0x1fa0fa;return this[_0x259a72(0x302)]['at'](_0x314227);}[a0_0x1fa0fa(0x39c)](_0x475eac){const _0x529b69=a0_0x1fa0fa;return this[_0x529b69(0x302)][_0x529b69(0x39c)](_0x4d81fa=>_0x4d81fa['code']===_0x475eac);}['findByName'](_0xc54727){const _0x170730=a0_0x1fa0fa;return this[_0x170730(0x302)][_0x170730(0x39c)](_0x5846c6=>_0x5846c6[_0x170730(0x233)]()===_0xc54727);}[a0_0x1fa0fa(0x3e1)](_0x27d762){const _0x45aae2=a0_0x1fa0fa;return this[_0x45aae2(0x302)]['filter'](_0x27d762);}['map'](_0x236772){const _0x5b4613=a0_0x1fa0fa;return this[_0x5b4613(0x302)]['map'](_0x236772);}[a0_0x1fa0fa(0x37a)](){const _0x3aba70=a0_0x1fa0fa;return this[_0x3aba70(0x302)][_0x3aba70(0x3e1)](_0x244198=>_0x244198[_0x3aba70(0x455)]());}[a0_0x1fa0fa(0x29d)](){const _0x3a5a65=a0_0x1fa0fa;return this[_0x3a5a65(0x302)][_0x3a5a65(0x3e1)](_0x402073=>_0x402073[_0x3a5a65(0x454)]());}[a0_0x1fa0fa(0x3ac)](){const _0x517158=a0_0x1fa0fa;return this[_0x517158(0x302)][_0x517158(0x3e1)](_0x5738c7=>_0x5738c7[_0x517158(0x354)]());}['getBusiness'](){const _0x6da198=a0_0x1fa0fa;return this[_0x6da198(0x302)][_0x6da198(0x3e1)](_0x4a5399=>_0x4a5399[_0x6da198(0x2bc)]());}[a0_0x1fa0fa(0x2e3)](){const _0x2154f3=a0_0x1fa0fa;return this[_0x2154f3(0x302)][_0x2154f3(0x3e1)](_0x33a5a3=>_0x33a5a3[_0x2154f3(0x326)]());}[a0_0x1fa0fa(0x1e8)](){const _0x394b8d=a0_0x1fa0fa,_0x5817bb={};return this[_0x394b8d(0x302)][_0x394b8d(0x2fc)](_0xe72641=>{const _0x5050f4=_0x394b8d,_0x29489e=_0xe72641[_0x5050f4(0x44e)];!_0x5817bb[_0x29489e]&&(_0x5817bb[_0x29489e]=[]),_0x5817bb[_0x29489e][_0x5050f4(0x2ce)](_0xe72641);}),_0x5817bb;}[a0_0x1fa0fa(0x407)](){const _0xdb8c50=a0_0x1fa0fa;return this[_0xdb8c50(0x302)][_0xdb8c50(0x330)](_0x368032=>_0x368032[_0xdb8c50(0x407)]);}static['from'](_0x1fb064){const _0x57e7f8=_0x1fb064['map'](_0x49ddd6=>_0x49ddd6['raw']);return new FieldListV2(_0x57e7f8);}static[a0_0x1fa0fa(0x22f)](_0x57a062){const _0x5c6a38=a0_0x1fa0fa,_0x3d6410={};return _0x3d6410[_0x5c6a38(0x47f)]=!![],new FieldListV2(_0x57a062,_0x3d6410);}[a0_0x1fa0fa(0x45a)](){const _0x121c82=a0_0x1fa0fa;return _0x121c82(0x2ea)+this[_0x121c82(0x340)]+_0x121c82(0x3d4);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x1fa0fa(0x204)];[a0_0x1fa0fa(0x3ea)];constructor(_0x33a91f){super(_0x33a91f);}[a0_0x1fa0fa(0x3bf)](){const _0x2e2ccd=a0_0x1fa0fa;if(!this[_0x2e2ccd(0x204)]){const _0x572e14={};_0x572e14['includeDeleted']=![],this[_0x2e2ccd(0x204)]=new FieldListV1(this['_raw'][_0x2e2ccd(0x441)]||[],_0x572e14);}return this[_0x2e2ccd(0x204)];}[a0_0x1fa0fa(0x445)](){const _0x529ae0=a0_0x1fa0fa;if(!this['_fieldListV1WithDeleted']){const _0x34b329={};_0x34b329[_0x529ae0(0x47f)]=!![],this[_0x529ae0(0x3ea)]=new FieldListV1(this[_0x529ae0(0x3ff)][_0x529ae0(0x441)]||[],_0x34b329);}return this[_0x529ae0(0x3ea)];}['getFields'](){const _0x3ea83c=a0_0x1fa0fa;return(this['_raw'][_0x3ea83c(0x441)]||[])[_0x3ea83c(0x3e1)](_0x3b1eeb=>!_0x3b1eeb[_0x3ea83c(0x310)]);}[a0_0x1fa0fa(0x2e4)](){const _0x22e470=a0_0x1fa0fa;return this['getFieldList']()[_0x22e470(0x340)];}[a0_0x1fa0fa(0x41d)](_0x5adafb){const _0x52538b=a0_0x1fa0fa;return this[_0x52538b(0x3ff)][_0x52538b(0x441)]?.['find'](_0x1a4e94=>_0x1a4e94[_0x52538b(0x2d9)]===_0x5adafb);}['getVersion'](){return'v1';}[a0_0x1fa0fa(0x23b)](){const _0x18e7ae=a0_0x1fa0fa,_0x519b3={};return _0x519b3[_0x18e7ae(0x30f)]=this['_raw'][_0x18e7ae(0x441)]||[],_0x519b3[_0x18e7ae(0x47f)]=![],_0x519b3;}[a0_0x1fa0fa(0x3e0)](){const _0xab7407=a0_0x1fa0fa;return this[_0xab7407(0x3ff)][_0xab7407(0x3d9)];}[a0_0x1fa0fa(0x3c3)](){const _0x1d1d93=a0_0x1fa0fa;return this[_0x1d1d93(0x3ff)][_0x1d1d93(0x3a7)];}['getDBConfig'](){const _0x4dac8f=a0_0x1fa0fa,_0x5f50ec=this[_0x4dac8f(0x33f)](),_0x4ee5ad=_0x5f50ec?.[_0x4dac8f(0x36c)],_0x3bdae1={};return _0x3bdae1[_0x4dac8f(0x345)]=_0x5f50ec?.['dbId'],_0x3bdae1[_0x4dac8f(0x2bb)]=_0x5f50ec?.['dbName']??_0x4ee5ad?.[_0x4dac8f(0x2bb)],_0x3bdae1[_0x4dac8f(0x479)]=_0x4ee5ad?.[_0x4dac8f(0x479)],_0x3bdae1[_0x4dac8f(0x312)]=_0x4ee5ad?.[_0x4dac8f(0x312)],_0x3bdae1[_0x4dac8f(0x23d)]=_0x5f50ec?.['tableName'],_0x3bdae1[_0x4dac8f(0x2d2)]=_0x5f50ec?.[_0x4dac8f(0x2d2)],_0x3bdae1[_0x4dac8f(0x433)]=_0x5f50ec?.[_0x4dac8f(0x433)],_0x3bdae1[_0x4dac8f(0x380)]=_0x4ee5ad?.['tenantCode'],_0x3bdae1[_0x4dac8f(0x295)]=_0x4ee5ad?.['appCode'],new DBConfig(_0x3bdae1,_0x5f50ec);}get[a0_0x1fa0fa(0x1e1)](){const _0x3a1cc5=a0_0x1fa0fa;return this[_0x3a1cc5(0x3ff)][_0x3a1cc5(0x1e1)];}[a0_0x1fa0fa(0x2e7)](_0xa907ad){const _0x5e2166=a0_0x1fa0fa;if(typeof _0xa907ad!==_0x5e2166(0x30b)){!![]&&console[_0x5e2166(0x472)]('[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0xa907ad);return;}return this[_0x5e2166(0x3bf)]()[_0x5e2166(0x39c)](_0xa907ad);}['isMultipleSelectField'](_0x3d05c7){const _0x2da59a=a0_0x1fa0fa;if(!_0x3d05c7||typeof _0x3d05c7!==_0x2da59a(0x248))return![];const _0x5d5aa2=this[_0x2da59a(0x2e7)](_0x3d05c7['code']);return _0x5d5aa2?_0x5d5aa2['isMultipleSelect']():![];}[a0_0x1fa0fa(0x256)](){const _0x459ad9=a0_0x1fa0fa,_0x3a2273=this[_0x459ad9(0x443)](_0x459ad9(0x3e1));return _0x3a2273;}[a0_0x1fa0fa(0x1cd)](){const _0x25e83d=a0_0x1fa0fa;return this[_0x25e83d(0x220)](_0x25e83d(0x3e1));}[a0_0x1fa0fa(0x372)](){const _0x7ecfb1=a0_0x1fa0fa;return new DatasetItem({'id':this['id'],'name':this[_0x7ecfb1(0x1da)],'datasetCode':this[_0x7ecfb1(0x318)],'dbtableConfig':this[_0x7ecfb1(0x33f)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x1fa0fa(0x2b5)];[a0_0x1fa0fa(0x3da)];[a0_0x1fa0fa(0x283)];constructor(_0x202cbb){const _0x58aaff=a0_0x1fa0fa;super(_0x202cbb),this['_datasetMeta']=_0x202cbb['dataset'],this['_relations']=_0x202cbb[_0x58aaff(0x44b)]||[];}[a0_0x1fa0fa(0x46e)](){return'v2';}['getFieldDataSource'](){const _0x739dad=a0_0x1fa0fa,_0x54cae3={};return _0x54cae3[_0x739dad(0x30f)]=this[_0x739dad(0x3ff)][_0x739dad(0x30f)],_0x54cae3[_0x739dad(0x47f)]=![],_0x54cae3;}['getOperationsData'](){const _0x4227a4=a0_0x1fa0fa;return this['_raw'][_0x4227a4(0x3d9)];}[a0_0x1fa0fa(0x3c3)](){const _0x3bcc16=a0_0x1fa0fa;return this[_0x3bcc16(0x3ff)]['source'];}['getDBConfig'](){const _0x1773ad=a0_0x1fa0fa,_0xb350a7=this[_0x1773ad(0x3ff)][_0x1773ad(0x2ca)],_0x32f968=_0xb350a7?.[_0x1773ad(0x36c)],_0x13c5c6={};return _0x13c5c6[_0x1773ad(0x345)]=_0xb350a7?.[_0x1773ad(0x345)],_0x13c5c6[_0x1773ad(0x2bb)]=_0xb350a7?.[_0x1773ad(0x2bb)]??_0x32f968?.[_0x1773ad(0x2bb)],_0x13c5c6[_0x1773ad(0x479)]=_0x32f968?.[_0x1773ad(0x479)],_0x13c5c6['dbVersion']=_0x32f968?.[_0x1773ad(0x312)],_0x13c5c6[_0x1773ad(0x23d)]=_0xb350a7?.['tableName'],_0x13c5c6[_0x1773ad(0x2d2)]=_0xb350a7?.[_0x1773ad(0x2d2)],_0x13c5c6[_0x1773ad(0x433)]=_0xb350a7?.[_0x1773ad(0x433)],_0x13c5c6[_0x1773ad(0x380)]=_0xb350a7?.['tenantCode']??_0x32f968?.[_0x1773ad(0x380)],_0x13c5c6[_0x1773ad(0x295)]=_0xb350a7?.[_0x1773ad(0x295)]??_0x32f968?.['appCode'],new DBConfig(_0x13c5c6,_0xb350a7);}[a0_0x1fa0fa(0x3bf)](){const _0x5e389f=a0_0x1fa0fa;return this[_0x5e389f(0x24b)]();}[a0_0x1fa0fa(0x2be)](){const _0x427db3=a0_0x1fa0fa;return this['_raw'][_0x427db3(0x30f)];}[a0_0x1fa0fa(0x2e4)](){const _0x269754=a0_0x1fa0fa;return this[_0x269754(0x3ff)][_0x269754(0x30f)][_0x269754(0x340)];}[a0_0x1fa0fa(0x41d)](_0x52390f){const _0x4a0a66=a0_0x1fa0fa;return this['_raw'][_0x4a0a66(0x30f)][_0x4a0a66(0x39c)](_0x1d8ee4=>_0x1d8ee4['name']===_0x52390f);}[a0_0x1fa0fa(0x428)](){const _0x1e2083=a0_0x1fa0fa;return this[_0x1e2083(0x3da)];}[a0_0x1fa0fa(0x2d6)](){const _0x2ee189=a0_0x1fa0fa;return this[_0x2ee189(0x283)];}['getIndexes'](){return this['_datasetMeta']['indexes']||[];}[a0_0x1fa0fa(0x367)](_0x3adca6){const _0x474eca=a0_0x1fa0fa;return this[_0x474eca(0x283)][_0x474eca(0x3e1)](_0x1bc011=>_0x1bc011[_0x474eca(0x306)]===_0x3adca6);}[a0_0x1fa0fa(0x462)](_0x426bdd){const _0x259bda=a0_0x1fa0fa;return this['_relations'][_0x259bda(0x477)](_0x593630=>_0x593630[_0x259bda(0x306)]===_0x426bdd);}['getRelatedDataset'](_0x506065){const _0x3c2867=a0_0x1fa0fa,_0x588473=this[_0x3c2867(0x283)][_0x3c2867(0x39c)](_0xa4aa42=>_0xa4aa42[_0x3c2867(0x306)]===_0x506065);if(!_0x588473)return;const _0x5465a2={};return _0x5465a2[_0x3c2867(0x2f5)]=_0x588473[_0x3c2867(0x2ac)],_0x5465a2['datasetCode']=_0x588473[_0x3c2867(0x293)],_0x5465a2[_0x3c2867(0x242)]=_0x588473[_0x3c2867(0x222)],_0x5465a2[_0x3c2867(0x23d)]=_0x588473[_0x3c2867(0x214)],_0x5465a2[_0x3c2867(0x3db)]=_0x588473['toField'],_0x5465a2;}['getForeignKeyFields'](){const _0x3fadab=a0_0x1fa0fa;return this[_0x3fadab(0x283)][_0x3fadab(0x330)](_0x45af87=>_0x45af87[_0x3fadab(0x306)]);}['getFieldListV2'](){const _0x24ffaf=a0_0x1fa0fa;if(!this[_0x24ffaf(0x2b5)]){const _0x1e2ed8=this[_0x24ffaf(0x3ff)][_0x24ffaf(0x30f)]||[];this[_0x24ffaf(0x2b5)]=new FieldListV2(_0x1e2ed8);}return this['_fieldListV2'];}[a0_0x1fa0fa(0x2e7)](_0x1bea73){const _0x2d7a7b=a0_0x1fa0fa;if(typeof _0x1bea73!=='string'){!![]&&console[_0x2d7a7b(0x472)](_0x2d7a7b(0x394),_0x1bea73);return;}return this[_0x2d7a7b(0x24b)]()[_0x2d7a7b(0x39c)](_0x1bea73);}[a0_0x1fa0fa(0x355)](_0x244947){const _0x206e25=a0_0x1fa0fa;if(!_0x244947||typeof _0x244947!==_0x206e25(0x248))return![];const _0x3ed321=_0x244947[_0x206e25(0x1da)]||_0x244947['code'],_0x532891=this[_0x206e25(0x2e7)](_0x3ed321);return _0x532891?_0x532891[_0x206e25(0x33a)]():![];}['getOperationList'](){const _0x28f76a=a0_0x1fa0fa;if(!this[_0x28f76a(0x26d)]){const _0x252625=this[_0x28f76a(0x1cf)](this[_0x28f76a(0x3e0)]()||{});this['_operationList']=new OperationList(_0x252625,{'fields':this[_0x28f76a(0x24b)]()['all'](),'pkField':this[_0x28f76a(0x3ff)][_0x28f76a(0x2ca)]?.[_0x28f76a(0x433)],'dbtableConfig':this[_0x28f76a(0x3ff)]['dbtableConfig']||null});}return this['_operationList'];}[a0_0x1fa0fa(0x256)](){const _0x3e03e8=a0_0x1fa0fa,_0x5ad786=this['getOperation'](_0x3e03e8(0x3e1));return _0x5ad786;}[a0_0x1fa0fa(0x1cd)](){const _0x5f11f0=a0_0x1fa0fa;return this[_0x5f11f0(0x220)](_0x5f11f0(0x3e1));}[a0_0x1fa0fa(0x372)](){const _0x2c8871=a0_0x1fa0fa;return new DatasetItem({'id':this['id'],'name':this[_0x2c8871(0x1da)],'datasetCode':this['datasetCode'],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x1fa0fa(0x45a)](){const _0x250d04=a0_0x1fa0fa,_0x57e763=this[_0x250d04(0x283)][_0x250d04(0x340)],_0x40ef39=this[_0x250d04(0x294)]()[_0x250d04(0x340)];return _0x250d04(0x475)+this[_0x250d04(0x1da)]+',\x20'+this[_0x250d04(0x318)]+',\x20'+this['getFieldCount']()+_0x250d04(0x29b)+this[_0x250d04(0x42f)]()+_0x250d04(0x215)+_0x57e763+_0x250d04(0x1fc)+_0x40ef39+_0x250d04(0x23c);}[a0_0x1fa0fa(0x21b)](){const _0x12cf47=a0_0x1fa0fa;return this['_raw'][_0x12cf47(0x30f)];}['getFieldV2'](_0x1bf8ba){const _0x3deea1=a0_0x1fa0fa;return this[_0x3deea1(0x3ff)][_0x3deea1(0x30f)][_0x3deea1(0x39c)](_0x5d2ceb=>_0x5d2ceb[_0x3deea1(0x1da)]===_0x1bf8ba);}}function detectDatasetVersion(_0x426526){const _0x220662=a0_0x1fa0fa;if(_0x426526[_0x220662(0x349)]==='v2'&&_0x220662(0x30f)in _0x426526&&Array[_0x220662(0x43c)](_0x426526[_0x220662(0x30f)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x1fa0fa(0x35b)];constructor(_0x4930d3){const _0xe4816d=a0_0x1fa0fa;super(_0x4930d3);const _0x398f91=detectDatasetVersion(_0x4930d3);this[_0xe4816d(0x35b)]=_0x398f91==='v2'?new DrivenDataDetailV2(_0x4930d3):new DrivenDataDetailV1(_0x4930d3);}get['id'](){const _0x4c6829=a0_0x1fa0fa;return this[_0x4c6829(0x35b)]['id'];}get[a0_0x1fa0fa(0x1da)](){const _0x3587d7=a0_0x1fa0fa;return this[_0x3587d7(0x35b)][_0x3587d7(0x1da)];}get[a0_0x1fa0fa(0x318)](){const _0x3f254b=a0_0x1fa0fa;return this[_0x3f254b(0x35b)][_0x3f254b(0x318)];}get[a0_0x1fa0fa(0x1e1)](){const _0x30f16b=a0_0x1fa0fa;return this[_0x30f16b(0x35b)]['getVersion']()==='v2'?_0x30f16b(0x435):'1.0';}[a0_0x1fa0fa(0x46e)](){const _0x2d8729=a0_0x1fa0fa;return this[_0x2d8729(0x35b)][_0x2d8729(0x46e)]();}[a0_0x1fa0fa(0x265)](){const _0x3ec35b=a0_0x1fa0fa;return this[_0x3ec35b(0x35b)]['id'];}[a0_0x1fa0fa(0x379)](){const _0x3a6139=a0_0x1fa0fa;return this['_instance'][_0x3a6139(0x318)];}[a0_0x1fa0fa(0x375)](){const _0x11e570=a0_0x1fa0fa;return this[_0x11e570(0x35b)]['name'];}['getFieldDataSource'](){const _0x4add06=a0_0x1fa0fa;return this[_0x4add06(0x35b)][_0x4add06(0x23b)]();}['getOperationsData'](){return this['_instance']['getOperationsData']();}[a0_0x1fa0fa(0x3c3)](){const _0x22220d=a0_0x1fa0fa;return this[_0x22220d(0x35b)]['getSource']();}[a0_0x1fa0fa(0x445)](){const _0x28d3b7=a0_0x1fa0fa;return this['_instance'][_0x28d3b7(0x445)]();}['getFieldList'](){return this['_instance']['getFieldList']();}['getFieldsWithDeleted'](){const _0x5e95d9=a0_0x1fa0fa;return this[_0x5e95d9(0x35b)][_0x5e95d9(0x362)]();}['getFields'](){const _0x5c22b6=a0_0x1fa0fa;return this[_0x5c22b6(0x35b)][_0x5c22b6(0x2be)]();}[a0_0x1fa0fa(0x2e4)](){const _0xa1f55=a0_0x1fa0fa;return this[_0xa1f55(0x35b)]['getFieldCount']();}[a0_0x1fa0fa(0x357)](){const _0x3d6845=a0_0x1fa0fa,_0x5a4739=this[_0x3d6845(0x35b)][_0x3d6845(0x33f)]();return _0x5a4739?.['pkField'];}['getDBConfig'](){const _0x396834=a0_0x1fa0fa;return this[_0x396834(0x35b)][_0x396834(0x271)]();}[a0_0x1fa0fa(0x2e7)](_0x4d6d0b){const _0xd0cdd7=a0_0x1fa0fa;return this['_instance'][_0xd0cdd7(0x2e7)](_0x4d6d0b);}['getPrimaryKeyFields'](){const _0x988f77=a0_0x1fa0fa;return this['_instance'][_0x988f77(0x3ab)]();}[a0_0x1fa0fa(0x370)](){const _0x2d94ec=a0_0x1fa0fa;return this[_0x2d94ec(0x35b)]['getSystemFields']();}['getBusinessFields'](){const _0x457183=a0_0x1fa0fa;return this['_instance'][_0x457183(0x473)]();}[a0_0x1fa0fa(0x3c4)](){const _0x870b28=a0_0x1fa0fa;return this[_0x870b28(0x35b)][_0x870b28(0x3c4)]();}[a0_0x1fa0fa(0x2b7)](){const _0x51f83e=a0_0x1fa0fa;return this[_0x51f83e(0x35b)]['getFieldsByType']();}['getEnumFields'](){const _0x54f47f=a0_0x1fa0fa;return this['_instance'][_0x54f47f(0x46f)]();}[a0_0x1fa0fa(0x31b)](){const _0x51f19c=a0_0x1fa0fa;return this['_instance'][_0x51f19c(0x31b)]();}[a0_0x1fa0fa(0x1d6)](){const _0x493b95=a0_0x1fa0fa;return this[_0x493b95(0x35b)][_0x493b95(0x1d6)]();}[a0_0x1fa0fa(0x42f)](){const _0x503277=a0_0x1fa0fa;return this[_0x503277(0x35b)][_0x503277(0x42f)]();}['getEnabledOperations'](){const _0xcb45bf=a0_0x1fa0fa;return this[_0xcb45bf(0x35b)][_0xcb45bf(0x291)]();}['getDisabledOperations'](){const _0x3bcd8b=a0_0x1fa0fa;return this[_0x3bcd8b(0x35b)][_0x3bcd8b(0x250)]();}[a0_0x1fa0fa(0x45c)](){const _0x1d644f=a0_0x1fa0fa;return this[_0x1d644f(0x35b)][_0x1d644f(0x45c)]();}['getDisabledOperationInstances'](){const _0x2a850c=a0_0x1fa0fa;return this[_0x2a850c(0x35b)][_0x2a850c(0x40c)]();}[a0_0x1fa0fa(0x333)](){const _0x3e17fc=a0_0x1fa0fa;return this[_0x3e17fc(0x35b)][_0x3e17fc(0x333)]();}[a0_0x1fa0fa(0x428)](){const _0x1a767d=a0_0x1fa0fa;return this[_0x1a767d(0x35b)][_0x1a767d(0x428)]();}[a0_0x1fa0fa(0x2d6)](){const _0x557ad6=a0_0x1fa0fa;return this['_instance'][_0x557ad6(0x2d6)]();}[a0_0x1fa0fa(0x294)](){const _0x251897=a0_0x1fa0fa;return this['_instance'][_0x251897(0x294)]();}[a0_0x1fa0fa(0x404)](){const _0x58855b=a0_0x1fa0fa;return this['_instance'][_0x58855b(0x404)]();}[a0_0x1fa0fa(0x436)](){const _0x1e9267=a0_0x1fa0fa;return this[_0x1e9267(0x35b)][_0x1e9267(0x436)]();}[a0_0x1fa0fa(0x1ce)](){const _0x15b160=a0_0x1fa0fa;return this[_0x15b160(0x35b)]['toJSON']();}[a0_0x1fa0fa(0x256)](){const _0x5041a6=a0_0x1fa0fa;return this[_0x5041a6(0x35b)]['getFilterOperation']();}['hasFilterOperation'](){const _0x58b385=a0_0x1fa0fa;return this[_0x58b385(0x35b)][_0x58b385(0x1cd)]();}[a0_0x1fa0fa(0x372)](){return this['_instance']['toListItem']();}[a0_0x1fa0fa(0x45a)](){const _0x155627=a0_0x1fa0fa;return this[_0x155627(0x35b)][_0x155627(0x45a)]();}[a0_0x1fa0fa(0x353)](){const _0x22ac2c=a0_0x1fa0fa;return this[_0x22ac2c(0x35b)];}}function detectDatasetVersion2(_0x26a314){const _0x3eed42=a0_0x1fa0fa;if(_0x26a314[_0x3eed42(0x349)]==='v2'&&_0x3eed42(0x30f)in _0x26a314&&Array[_0x3eed42(0x43c)](_0x26a314[_0x3eed42(0x30f)]))return'v2';return'v1';}function createDrivenDataDetail(_0xb3785a,_0x5a7f25={}){const {forceVersion:_0x4a3521}=_0x5a7f25;if(_0x4a3521==='v2')return new DrivenDataDetailV2(_0xb3785a);if(_0x4a3521==='v1')return new DrivenDataDetailV1(_0xb3785a);const _0x43a3d2=detectDatasetVersion2(_0xb3785a);if(_0x43a3d2==='v2')return new DrivenDataDetailV2(_0xb3785a);return new DrivenDataDetailV1(_0xb3785a);}function isV2Data(_0x479aab){return detectDatasetVersion2(_0x479aab)==='v2';}function isV1Data(_0x3d69e1){return detectDatasetVersion2(_0x3d69e1)==='v1';}function isV2Instance(_0x208e62){const _0x569765=a0_0x1fa0fa;return _0x208e62[_0x569765(0x46e)]()==='v2';}function isV1Instance(_0x5256cc){const _0x569056=a0_0x1fa0fa;return _0x5256cc[_0x569056(0x46e)]()==='v1';}class DatasetGroup{[a0_0x1fa0fa(0x1ee)];constructor(_0x234cf1){const _0x6d5d9b=a0_0x1fa0fa;this[_0x6d5d9b(0x1ee)]=Array[_0x6d5d9b(0x43c)](_0x234cf1)?[..._0x234cf1]:[_0x234cf1],this[_0x6d5d9b(0x1ee)][_0x6d5d9b(0x44c)]((_0x59303e,_0x16e9a3)=>{const _0x3631b7=Number(_0x59303e['id'])||0x0,_0xa6840c=Number(_0x16e9a3['id'])||0x0;return _0xa6840c-_0x3631b7;});}[a0_0x1fa0fa(0x264)](){const _0x18d126=a0_0x1fa0fa;return this[_0x18d126(0x1ee)][_0x18d126(0x340)]>0x1;}['getLatest'](){const _0x3d058e=a0_0x1fa0fa;return this[_0x3d058e(0x1ee)][0x0];}['getOldest'](){const _0x58a175=a0_0x1fa0fa;return this[_0x58a175(0x1ee)][this['items'][_0x58a175(0x340)]-0x1];}[a0_0x1fa0fa(0x38b)](){return[...this['items']];}[a0_0x1fa0fa(0x2a6)](){const _0x78777d=a0_0x1fa0fa;return this['items'][_0x78777d(0x340)];}[a0_0x1fa0fa(0x1e0)](_0x58354e){const _0x5c0468=a0_0x1fa0fa;return this[_0x5c0468(0x1ee)][_0x58354e];}[a0_0x1fa0fa(0x277)](_0x4bae45){const _0x230e93=a0_0x1fa0fa;return this[_0x230e93(0x1ee)]['find'](_0x4a3a3c=>_0x4a3a3c['id']===_0x4bae45);}[a0_0x1fa0fa(0x3e2)](_0x578c16){const _0x3620a3=a0_0x1fa0fa;return this[_0x3620a3(0x1ee)][_0x3620a3(0x39c)](_0x251299=>_0x251299[_0x3620a3(0x318)]===_0x578c16);}['getIds'](){const _0x422a96=a0_0x1fa0fa;return this[_0x422a96(0x1ee)][_0x422a96(0x330)](_0x5965df=>_0x5965df['id'])[_0x422a96(0x3e1)](_0x3b37c6=>_0x3b37c6!==undefined);}['getCodes'](){const _0x47dc31=a0_0x1fa0fa;return this['items'][_0x47dc31(0x330)](_0x5a14af=>_0x5a14af[_0x47dc31(0x318)]);}[a0_0x1fa0fa(0x45a)](){const _0x57cedb=a0_0x1fa0fa;if(this[_0x57cedb(0x264)]())return _0x57cedb(0x3c8)+this[_0x57cedb(0x1ee)][_0x57cedb(0x340)]+_0x57cedb(0x442)+this[_0x57cedb(0x478)]()[_0x57cedb(0x1da)]+')';return _0x57cedb(0x3c8)+this[_0x57cedb(0x1ee)][0x0][_0x57cedb(0x1da)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x45328b){const _0x310325=a0_0x1fa0fa;this['groups']=new Map();for(const _0x246fdc of _0x45328b){const _0x1ad334=getTableKey(_0x246fdc);if(!this[_0x310325(0x285)][_0x310325(0x3b1)](_0x1ad334))this[_0x310325(0x285)][_0x310325(0x388)](_0x1ad334,new DatasetGroup(_0x246fdc));else{const _0x187500=this[_0x310325(0x285)][_0x310325(0x25e)](_0x1ad334),_0x2756e8=[..._0x187500[_0x310325(0x38b)](),_0x246fdc];this[_0x310325(0x285)][_0x310325(0x388)](_0x1ad334,new DatasetGroup(_0x2756e8));}}}[a0_0x1fa0fa(0x25e)](_0x13dd74){const _0x4950b6=a0_0x1fa0fa;return this[_0x4950b6(0x285)]['get'](_0x13dd74);}['has'](_0x4fd8ad){const _0x4e86e1=a0_0x1fa0fa;return this[_0x4e86e1(0x285)][_0x4e86e1(0x3b1)](_0x4fd8ad);}get[a0_0x1fa0fa(0x21c)](){const _0x15ab5a=a0_0x1fa0fa;return this[_0x15ab5a(0x285)]['size'];}['keys'](){const _0x26b2c1=a0_0x1fa0fa;return this[_0x26b2c1(0x285)][_0x26b2c1(0x316)]();}['values'](){const _0x1c508d=a0_0x1fa0fa;return this[_0x1c508d(0x285)][_0x1c508d(0x2da)]();}['entries'](){const _0x4672b0=a0_0x1fa0fa;return this[_0x4672b0(0x285)][_0x4672b0(0x1f2)]();}[Symbol[a0_0x1fa0fa(0x352)]](){const _0x22acda=a0_0x1fa0fa;return this[_0x22acda(0x285)][_0x22acda(0x1f2)]();}[a0_0x1fa0fa(0x2fc)](_0x4bdb8d){const _0x3ad0b8=a0_0x1fa0fa;this[_0x3ad0b8(0x285)][_0x3ad0b8(0x2fc)]((_0x3cfa3f,_0xabd66)=>_0x4bdb8d(_0x3cfa3f,_0xabd66,this));}[a0_0x1fa0fa(0x25b)](){const _0x157168=a0_0x1fa0fa,_0x3be1c6=new Map();for(const [_0x4001f5,_0x535bfc]of this[_0x157168(0x285)]){_0x535bfc[_0x157168(0x264)]()&&_0x3be1c6[_0x157168(0x388)](_0x4001f5,_0x535bfc);}return _0x3be1c6;}['hasConflicts'](){const _0x554cc7=a0_0x1fa0fa;for(const _0x423c35 of this[_0x554cc7(0x285)]['values']()){if(_0x423c35[_0x554cc7(0x264)]())return!![];}return![];}[a0_0x1fa0fa(0x3e6)](){const _0x518370=a0_0x1fa0fa;let _0x3d94ed=0x0,_0x52ed32=0x0;for(const _0x176907 of this[_0x518370(0x285)][_0x518370(0x2da)]()){_0x176907['hasConflict']()&&(_0x3d94ed++,_0x52ed32+=_0x176907[_0x518370(0x2a6)]());}const _0x264bb0={};return _0x264bb0[_0x518370(0x3c1)]=_0x3d94ed,_0x264bb0[_0x518370(0x41c)]=_0x52ed32,_0x264bb0['totalGroups']=this[_0x518370(0x285)][_0x518370(0x21c)],_0x264bb0;}[a0_0x1fa0fa(0x431)](){const _0x3320dd=a0_0x1fa0fa,_0x56f2fc=[];for(const _0x1cee54 of this[_0x3320dd(0x285)][_0x3320dd(0x2da)]()){_0x56f2fc['push'](..._0x1cee54['getAll']());}return _0x56f2fc;}['getLatestDatasets'](){const _0x22aa67=a0_0x1fa0fa,_0x252a87=[];for(const _0x5a830e of this[_0x22aa67(0x285)][_0x22aa67(0x2da)]()){_0x252a87['push'](_0x5a830e['getLatest']());}return _0x252a87;}[a0_0x1fa0fa(0x478)](_0x46c0b9){const _0x153d4b=a0_0x1fa0fa;return this[_0x153d4b(0x285)]['get'](_0x46c0b9)?.[_0x153d4b(0x478)]();}[a0_0x1fa0fa(0x38b)](_0x48a7c0){const _0x398196=a0_0x1fa0fa;return this[_0x398196(0x285)][_0x398196(0x25e)](_0x48a7c0)?.[_0x398196(0x38b)]()||[];}[a0_0x1fa0fa(0x21e)](){const _0xa0e949=a0_0x1fa0fa,_0x4463dd=this[_0xa0e949(0x2cc)](),_0x1823eb=_0x4463dd[_0xa0e949(0x330)](_0x587ca3=>_0x587ca3[_0xa0e949(0x1ce)]()),_0xe80b8={};return _0xe80b8[_0xa0e949(0x34f)]=![],generateDatasetsConfig(_0x1823eb,_0xe80b8);}['toFullConfig'](){const _0x2b4675=a0_0x1fa0fa,_0x1b3bdb=this[_0x2b4675(0x431)](),_0x29659e=_0x1b3bdb['map'](_0x143fdb=>_0x143fdb[_0x2b4675(0x1ce)]());return generateFullDatasetsConfig(_0x29659e);}[a0_0x1fa0fa(0x398)](){const _0x165f04=a0_0x1fa0fa,_0x1efaad={};for(const [_0x20bce2,_0x768442]of this[_0x165f04(0x285)]){_0x1efaad[_0x20bce2]=_0x768442;}return _0x1efaad;}['toJSON'](){const _0x23a38b=a0_0x1fa0fa,_0x442a30={};for(const [_0x2b9af6,_0x135f20]of this[_0x23a38b(0x285)]){_0x442a30[_0x2b9af6]=_0x135f20[_0x23a38b(0x38b)]()['map'](_0x17aa83=>_0x17aa83[_0x23a38b(0x1ce)]());}return _0x442a30;}['toString'](){const _0x501f30=a0_0x1fa0fa;return _0x501f30(0x2db)+this['groups']['size']+_0x501f30(0x1dc)+(this['hasConflicts']()?'has\x20conflicts':_0x501f30(0x35c))+')';}}class DatasetList{[a0_0x1fa0fa(0x47a)];constructor(_0x79dd86){const _0x3a84b5=a0_0x1fa0fa;let _0x5a9c1d;if(Array[_0x3a84b5(0x43c)](_0x79dd86))_0x5a9c1d=_0x79dd86;else{if('success'in _0x79dd86){if(!_0x79dd86[_0x3a84b5(0x335)])throw new Error(_0x3a84b5(0x1f6));if(Array['isArray'](_0x79dd86['data']))_0x5a9c1d=_0x79dd86['data']['map'](_0x6a91f0=>({..._0x6a91f0,'datasetCode':_0x6a91f0['code']||_0x6a91f0[_0x3a84b5(0x318)]}));else{if(_0x79dd86['data']?.[_0x3a84b5(0x221)])_0x5a9c1d=_0x79dd86[_0x3a84b5(0x28d)][_0x3a84b5(0x221)][_0x3a84b5(0x330)](_0x99d101=>({..._0x99d101,'datasetCode':_0x99d101[_0x3a84b5(0x2d9)]||_0x99d101['datasetCode']}));else throw new Error(_0x3a84b5(0x377));}}else{if(_0x3a84b5(0x221)in _0x79dd86){if(!Array[_0x3a84b5(0x43c)](_0x79dd86[_0x3a84b5(0x221)]))throw new Error(_0x3a84b5(0x425));_0x5a9c1d=_0x79dd86['tableData'][_0x3a84b5(0x330)](_0x53c84f=>({..._0x53c84f,'datasetCode':_0x53c84f[_0x3a84b5(0x2d9)]||_0x53c84f[_0x3a84b5(0x318)]}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse');}}const _0x18a1c5=cleanDatasetNames(_0x5a9c1d),_0x227ce4=_0x18a1c5[_0x3a84b5(0x330)](_0xf5b192=>new DatasetItem(_0xf5b192));this[_0x3a84b5(0x47a)]=new DatasetGroupMap(_0x227ce4);}get[a0_0x1fa0fa(0x2c5)](){const _0x1ca163=a0_0x1fa0fa;return this[_0x1ca163(0x47a)];}['getItems'](){const _0x4faa4b=a0_0x1fa0fa;return this[_0x4faa4b(0x47a)][_0x4faa4b(0x431)]();}[a0_0x1fa0fa(0x2a6)](){return this['getItems']()['length'];}[a0_0x1fa0fa(0x324)](){const _0xbc957f=a0_0x1fa0fa;return this[_0xbc957f(0x47a)]['size']===0x0;}[a0_0x1fa0fa(0x1e0)](_0x47c7bb){return this['getItems']()[_0x47c7bb];}['getFirst'](){const _0x25b192=a0_0x1fa0fa;return this[_0x25b192(0x2a4)]()[0x0];}[a0_0x1fa0fa(0x42b)](){const _0x22e813=a0_0x1fa0fa,_0x1e0230=this[_0x22e813(0x2a4)]();return _0x1e0230[_0x1e0230[_0x22e813(0x340)]-0x1];}[a0_0x1fa0fa(0x3e2)](_0x595a0c){const _0x5dca31=a0_0x1fa0fa;for(const _0x510cc6 of this['_datasetMap'][_0x5dca31(0x2da)]()){const _0x447471=_0x510cc6[_0x5dca31(0x3e2)](_0x595a0c);if(_0x447471)return _0x447471;}return;}[a0_0x1fa0fa(0x3b9)](_0x2dc44a){const _0x4706e2=a0_0x1fa0fa;return this[_0x4706e2(0x2a4)]()[_0x4706e2(0x39c)](_0x7c0927=>_0x7c0927['name']===_0x2dc44a);}[a0_0x1fa0fa(0x277)](_0x189d87){const _0x3b21a2=a0_0x1fa0fa;for(const _0x2b9961 of this[_0x3b21a2(0x47a)][_0x3b21a2(0x2da)]()){const _0x20f4bb=_0x2b9961[_0x3b21a2(0x277)](_0x189d87);if(_0x20f4bb)return _0x20f4bb;}return;}['findByTableName'](_0x29c4ba){const _0x1b0ceb=a0_0x1fa0fa,_0x278bc6=getTableKey(_0x29c4ba);return this[_0x1b0ceb(0x47a)][_0x1b0ceb(0x478)](_0x278bc6);}['filter'](_0x598634){const _0x305094=a0_0x1fa0fa,_0x1a94b1=this[_0x305094(0x2a4)]()[_0x305094(0x3e1)](_0x598634);return new DatasetList(_0x1a94b1[_0x305094(0x330)](_0x4e3dcc=>_0x4e3dcc[_0x305094(0x1ce)]()));}[a0_0x1fa0fa(0x2f7)](_0x47c083){const _0x5d4df5=a0_0x1fa0fa;return this[_0x5d4df5(0x2a4)]()[_0x5d4df5(0x3e1)](_0x47c083);}[a0_0x1fa0fa(0x2fc)](_0x24b231){const _0x44bfd6=a0_0x1fa0fa;this[_0x44bfd6(0x2a4)]()['forEach'](_0x24b231);}[a0_0x1fa0fa(0x330)](_0x54d12f){return this['getItems']()['map'](_0x54d12f);}[Symbol[a0_0x1fa0fa(0x352)]](){const _0x2c770b=a0_0x1fa0fa;return this[_0x2c770b(0x2a4)]()[Symbol[_0x2c770b(0x352)]]();}[a0_0x1fa0fa(0x2eb)](){const _0x3c30d3=a0_0x1fa0fa;return this[_0x3c30d3(0x2a4)]()[_0x3c30d3(0x3e1)](_0x292779=>_0x292779[_0x3c30d3(0x47e)]());}[a0_0x1fa0fa(0x469)](){const _0x357584=a0_0x1fa0fa;return this[_0x357584(0x2a4)]()[_0x357584(0x3e1)](_0x59a2c2=>!_0x59a2c2[_0x357584(0x47e)]());}[a0_0x1fa0fa(0x24c)](){const _0x18c490=a0_0x1fa0fa,_0x332cc7={};for(const _0x19e4a6 of this[_0x18c490(0x47a)][_0x18c490(0x2da)]()){const _0x4fe0b8=_0x19e4a6['getLatest']()['getTableName']();_0x332cc7[_0x4fe0b8]=_0x19e4a6[_0x18c490(0x38b)]();}return _0x332cc7;}['detectConflicts'](){const _0x3b91ae=a0_0x1fa0fa,_0x17e17c={};for(const _0x51517d of this[_0x3b91ae(0x47a)]['getConflicts']()[_0x3b91ae(0x2da)]()){const _0x27dbaf=_0x51517d[_0x3b91ae(0x478)]()[_0x3b91ae(0x343)]();_0x17e17c[_0x27dbaf]=_0x51517d['getAll']()[_0x3b91ae(0x330)](_0x4fa4b8=>_0x4fa4b8[_0x3b91ae(0x1ce)]());}return{'hasConflicts':Object[_0x3b91ae(0x316)](_0x17e17c)['length']>0x0,'conflicts':_0x17e17c};}[a0_0x1fa0fa(0x299)](){const _0x2ff65c=a0_0x1fa0fa;return this[_0x2ff65c(0x47a)]['hasConflicts']();}[a0_0x1fa0fa(0x1f0)](){const _0x1c1818=a0_0x1fa0fa,_0x6d8682=[];for(const _0x5ab532 of this[_0x1c1818(0x47a)][_0x1c1818(0x25b)]()[_0x1c1818(0x2da)]()){_0x6d8682['push'](..._0x5ab532[_0x1c1818(0x38b)]());}return _0x6d8682;}[a0_0x1fa0fa(0x363)](_0x3caf5f){const _0x5d6510=a0_0x1fa0fa;if(!_0x3caf5f||Object[_0x5d6510(0x316)](_0x3caf5f)[_0x5d6510(0x340)]===0x0)return this['datasetMap'][_0x5d6510(0x21e)]();const _0x38a05e=this[_0x5d6510(0x2a4)]()[_0x5d6510(0x330)](_0x2e456c=>_0x2e456c[_0x5d6510(0x1ce)]());return generateDatasetsConfig(_0x38a05e,_0x3caf5f);}['generateConfigArray'](_0x3e60ed){const _0x434f9b=a0_0x1fa0fa,_0x1144b2=this[_0x434f9b(0x363)](_0x3e60ed);return datasetsConfigToArray(_0x1144b2);}[a0_0x1fa0fa(0x234)](){return this['getItems']()['map'](_0x40c9ff=>_0x40c9ff['toConfig']());}[a0_0x1fa0fa(0x333)](){const _0x1a1b4f=a0_0x1fa0fa;return{'total':this[_0x1a1b4f(0x2a6)](),'virtualTables':this['getVirtualTables']()['length'],'realTables':this[_0x1a1b4f(0x469)]()[_0x1a1b4f(0x340)],'hasConflicts':this[_0x1a1b4f(0x299)](),'conflictCount':this[_0x1a1b4f(0x1f0)]()[_0x1a1b4f(0x340)]};}[a0_0x1fa0fa(0x34e)](){const _0xc126f0=a0_0x1fa0fa;return this['getItems']()[_0xc126f0(0x330)](_0x593215=>_0x593215[_0xc126f0(0x1ce)]());}[a0_0x1fa0fa(0x1ce)](){const _0x5526ca=a0_0x1fa0fa;return this[_0x5526ca(0x34e)]();}['toString'](){const _0x33141b=a0_0x1fa0fa;return _0x33141b(0x2b1)+this['getCount']()+'\x20items,\x20'+this[_0x33141b(0x47a)][_0x33141b(0x21c)]+_0x33141b(0x202);}static['fromApiResponse'](_0x284ff9){return new DatasetList(_0x284ff9);}static[a0_0x1fa0fa(0x365)](_0x43ebe3){return new DatasetList(_0x43ebe3);}static[a0_0x1fa0fa(0x36f)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x1fa0fa(0x2fe);function renderTemplate(_0x2c688e,_0x43148f,_0x3fb6a0={}){const _0x58c704=a0_0x1fa0fa;let _0x2d2096=_0x2c688e;return Object[_0x58c704(0x1f2)](_0x3fb6a0)[_0x58c704(0x2fc)](([_0x37d984,_0x200142])=>{const _0x5c8f76=_0x58c704,_0xeae8a8=new RegExp(_0x5c8f76(0x2a8)+_0x37d984+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x2d2096=_0x2d2096[_0x5c8f76(0x347)](_0xeae8a8,_0x200142?'$1':'');}),Object[_0x58c704(0x1f2)](_0x43148f)[_0x58c704(0x2fc)](([_0x4c87e5,_0x15646f])=>{const _0x16266c=_0x58c704;if(_0x15646f!==undefined){const _0x5dc1e8=new RegExp(_0x16266c(0x26a)+_0x4c87e5+_0x16266c(0x2c1),'g');_0x2d2096=_0x2d2096[_0x16266c(0x347)](_0x5dc1e8,_0x15646f);}}),_0x2d2096;}function generateSDKInitCode(_0x4946e2,_0x4ffd20,_0x2488eb,_0x507edf,_0x4ef99a){const _0x2cc97f=a0_0x1fa0fa,_0x5385ca={};_0x5385ca[_0x2cc97f(0x295)]=_0x4946e2,_0x5385ca[_0x2cc97f(0x318)]=_0x4ffd20,_0x5385ca[_0x2cc97f(0x303)]=_0x2488eb,_0x5385ca[_0x2cc97f(0x33d)]=_0x507edf==='daily'?_0x2cc97f(0x30a):undefined;const _0x292039={};return _0x292039[_0x2cc97f(0x33d)]=_0x507edf!==undefined&&_0x507edf!==_0x2cc97f(0x36e),_0x292039[_0x2cc97f(0x3c0)]=_0x4ef99a===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x5385ca,_0x292039);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x1fa0fa(0x44f);function generateAliasExplanation(_0x5b28c4,_0x473959,_0x427201,_0x77ebe9){const _0x1655a8=a0_0x1fa0fa,_0x5e4d99=_0x1655a8(0x47b)+_0x5b28c4,_0x3e3377='{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}',_0x433c48={};return _0x433c48[_0x1655a8(0x318)]=_0x5b28c4,_0x433c48[_0x1655a8(0x387)]=_0x5e4d99,_0x433c48[_0x1655a8(0x23d)]=_0x473959,_0x433c48[_0x1655a8(0x303)]=_0x427201,_0x433c48['appCode']=_0x77ebe9,_0x433c48[_0x1655a8(0x320)]=_0x3e3377,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x433c48,{});}function DrivenDataDetailPlusMixin(_0x338b1d){const _0x1b4ecb=a0_0x1fa0fa;return class _0x2f0f7e extends _0x338b1d{[_0x1b4ecb(0x463)](_0x576fd2){const _0xd48900=_0x1b4ecb;return{'appCode':_0x576fd2,'datasetSDKKey':this[_0xd48900(0x1d9)](),'alias':this[_0xd48900(0x412)](),'tableName':this[_0xd48900(0x343)](),'datasetCode':this['datasetCode']};}['generateSDKInitCode'](_0x58914e,_0x4fc619=_0x1b4ecb(0x36e),_0x19da76=![]){const _0x240235=_0x1b4ecb;return generateSDKInitCode(_0x58914e,this['datasetCode'],this[_0x240235(0x412)](),_0x4fc619==='daily'?_0x4fc619:undefined,_0x19da76);}['generateFullSDKExample'](_0x3914c1,_0x21f4f4,_0x36349d={}){const _0x1e20ab=_0x1b4ecb,_0x9498f9=this[_0x1e20ab(0x1d6)]()[_0x1e20ab(0x39c)](_0x5d23be=>_0x5d23be[_0x1e20ab(0x375)]()===_0x3914c1);if(!_0x9498f9)return null;const _0x284ffe={};_0x284ffe[_0x1e20ab(0x1e6)]=_0x36349d[_0x1e20ab(0x423)]!==![];const _0x11825c=this[_0x1e20ab(0x2f4)](_0x3914c1,_0x284ffe);if(!_0x11825c)return null;const _0x588f1a=[];return _0x588f1a[_0x1e20ab(0x2ce)](_0x1e20ab(0x32f)+_0x9498f9[_0x1e20ab(0x375)]()+_0x1e20ab(0x235)),_0x588f1a[_0x1e20ab(0x2ce)](_0x11825c[_0x1e20ab(0x450)]['code']),_0x588f1a[_0x1e20ab(0x2ce)](''),_0x36349d[_0x1e20ab(0x356)]!==![]&&(_0x588f1a['push'](_0x1e20ab(0x255)),_0x588f1a[_0x1e20ab(0x2ce)](_0x11825c[_0x1e20ab(0x2f9)][_0x1e20ab(0x36b)]),_0x588f1a[_0x1e20ab(0x2ce)](''),_0x588f1a[_0x1e20ab(0x2ce)](_0x11825c[_0x1e20ab(0x2f9)][_0x1e20ab(0x3d7)])),_0x588f1a['join']('\x0a');}[_0x1b4ecb(0x336)](_0x4017f5={}){const _0x519028=_0x1b4ecb,_0x503d6a=this[_0x519028(0x3bb)](),_0x1eadbe=[];return _0x503d6a[_0x519028(0x2fc)]((_0x318037,_0x566ad9)=>{const _0x19e19b=_0x519028,_0x3c5f95=this[_0x19e19b(0x206)](_0x318037[_0x19e19b(0x1da)],_0x19e19b(0x257),_0x4017f5);_0x3c5f95&&(_0x1eadbe['push'](_0x19e19b(0x247)+(_0x566ad9+0x1)+'.\x20'+_0x318037[_0x19e19b(0x20b)]),_0x1eadbe['push'](_0x3c5f95),_0x1eadbe['push'](''));}),_0x1eadbe['join']('\x0a');}[_0x1b4ecb(0x331)](_0x27dfa1){const _0x48f73d=_0x1b4ecb,_0x45eb06=this[_0x48f73d(0x411)](_0x27dfa1);if(!_0x45eb06)return null;const _0x479420={};return _0x479420[_0x48f73d(0x1da)]=_0x45eb06[_0x48f73d(0x1da)],_0x479420[_0x48f73d(0x20b)]=_0x45eb06['displayName'],_0x479420[_0x48f73d(0x236)]=_0x45eb06[_0x48f73d(0x236)],_0x479420[_0x48f73d(0x253)]=_0x45eb06[_0x48f73d(0x253)],_0x479420['enabled']=_0x45eb06[_0x48f73d(0x21a)],_0x479420['requestFieldCount']=_0x45eb06[_0x48f73d(0x266)][_0x48f73d(0x340)],_0x479420[_0x48f73d(0x300)]=_0x45eb06[_0x48f73d(0x1fd)]!==null,_0x479420;}['generateAllOperationsSummary'](_0xf4d70a={}){const _0x587e56=_0x1b4ecb,_0x2534d1=this['getEnabledOperationAnalyses']();return{'datasetName':this[_0x587e56(0x1da)],'datasetCode':this['datasetCode'],'tableName':this[_0x587e56(0x343)](),'totalOperations':_0x2534d1[_0x587e56(0x340)],'operations':_0x2534d1[_0x587e56(0x330)](_0x36a203=>({'name':_0x36a203[_0x587e56(0x1da)],'displayName':_0x36a203['displayName'],'method':_0x36a203[_0x587e56(0x236)],'enabled':_0x36a203[_0x587e56(0x21a)]}))};}['getOperationRequestFields'](_0x3efa40){const _0x2c6540=_0x1b4ecb,_0x288bbb=this[_0x2c6540(0x411)](_0x3efa40);if(!_0x288bbb)return[];return _0x288bbb[_0x2c6540(0x266)][_0x2c6540(0x330)](_0x553cc4=>{const _0x1a66bd=_0x2c6540,_0x1c52f3=this[_0x1a66bd(0x2e7)](_0x553cc4);if(!_0x1c52f3)return null;const _0x24950f={};return _0x24950f[_0x1a66bd(0x2d9)]=_0x553cc4,_0x24950f[_0x1a66bd(0x1da)]=_0x1c52f3[_0x1a66bd(0x1da)]||_0x553cc4,_0x24950f;})[_0x2c6540(0x3e1)](_0x3506e5=>_0x3506e5!==null);}[_0x1b4ecb(0x34b)](){const _0x1e0dd8=_0x1b4ecb,_0x2718a2=new Set(this[_0x1e0dd8(0x3bb)]()[_0x1e0dd8(0x330)](_0x301b23=>String(_0x301b23[_0x1e0dd8(0x44e)]))),_0x1717ca=['create','getList',_0x1e0dd8(0x402),'delete'];return _0x1717ca['filter'](_0x305417=>!_0x2718a2[_0x1e0dd8(0x3b1)](String(_0x305417)));}[_0x1b4ecb(0x22c)](_0x7540f2=_0x1b4ecb(0x257)){const _0x58db99=_0x1b4ecb;return generateAliasExplanation(this[_0x58db99(0x318)],this[_0x58db99(0x343)](),this[_0x58db99(0x412)](),_0x7540f2);}};}function operationToAnalysis(_0x56d49a){const _0x46d9ba=a0_0x1fa0fa;return{'name':_0x56d49a[_0x46d9ba(0x375)](),'displayName':_0x56d49a[_0x46d9ba(0x233)](),'type':_0x56d49a[_0x46d9ba(0x29a)](),'method':_0x56d49a[_0x46d9ba(0x374)](),'path':_0x56d49a[_0x46d9ba(0x3ec)](),'fullUrl':_0x56d49a[_0x46d9ba(0x382)](),'requestFields':_0x56d49a['getRequestFields'](),'requestParams':_0x56d49a['getRequestParams'](),'responseSchema':_0x56d49a[_0x46d9ba(0x39a)](),'requestExample':_0x56d49a[_0x46d9ba(0x2e2)](),'responseExample':_0x56d49a[_0x46d9ba(0x3b7)](),'enabled':_0x56d49a[_0x46d9ba(0x2cd)]()};}function operationsToAnalyses(_0x4288ed){const _0x5238c4=a0_0x1fa0fa;if(!Array[_0x5238c4(0x43c)](_0x4288ed))return!![]&&console[_0x5238c4(0x472)](_0x5238c4(0x2aa),_0x4288ed),[];return _0x4288ed[_0x5238c4(0x330)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0xe61ff3){const _0x17ef5d=a0_0x1fa0fa,_0x562edc=_0xe61ff3['find'](_0x290c8c=>_0x290c8c[_0x17ef5d(0x1da)]===_0x17ef5d(0x3e1)),_0x5c4e90=_0xe61ff3[_0x17ef5d(0x3e1)](_0x96f1a=>_0x96f1a['name']!==_0x17ef5d(0x3e1));return _0x562edc?[_0x562edc,..._0x5c4e90]:_0x5c4e90;}function filterOperationAnalyses(_0x5bd398,_0x4b59e1={}){const _0x5ce26c=a0_0x1fa0fa;let _0x3f8fb0=_0x5bd398;return!_0x4b59e1['includeDisabled']&&(_0x3f8fb0=_0x3f8fb0[_0x5ce26c(0x3e1)](_0x53fff8=>_0x53fff8[_0x5ce26c(0x21a)])),_0x4b59e1[_0x5ce26c(0x400)]!==![]&&(_0x3f8fb0=filterApiOperations(_0x3f8fb0)),_0x4b59e1[_0x5ce26c(0x2ab)]&&(_0x3f8fb0=_0x3f8fb0['filter'](_0x4b59e1[_0x5ce26c(0x2ab)])),sortOperationsWithFilterFirst(_0x3f8fb0);}function getOperationStats(_0x1941ff){const _0x59feea=a0_0x1fa0fa,_0x437886=_0x1941ff[_0x59feea(0x3e1)](_0x31446b=>_0x31446b[_0x59feea(0x21a)]);return{'total':_0x1941ff[_0x59feea(0x340)],'enabled':_0x437886[_0x59feea(0x340)],'disabled':_0x1941ff[_0x59feea(0x340)]-_0x437886[_0x59feea(0x340)],'byType':getCountByType(_0x437886),'byMethod':getCountByMethod(_0x437886)};}function getCountByType(_0x1bbe5b){const _0x3d044a={};return _0x1bbe5b['forEach'](_0x2853a2=>{const _0x3d903a=a0_0x505f;if(_0x2853a2[_0x3d903a(0x44e)])_0x3d044a[_0x2853a2[_0x3d903a(0x44e)]]=(_0x3d044a[_0x2853a2[_0x3d903a(0x44e)]]||0x0)+0x1;}),_0x3d044a;}function getCountByMethod(_0x205354){const _0x190374=a0_0x1fa0fa,_0xd2af16={};return _0x205354[_0x190374(0x2fc)](_0x309a6c=>{const _0xd431f8=_0x190374;_0xd2af16[_0x309a6c['method']]=(_0xd2af16[_0x309a6c[_0xd431f8(0x236)]]||0x0)+0x1;}),_0xd2af16;}function supportsCRUD(_0xbb76b0){const _0x5e0331=a0_0x1fa0fa,_0x20c2b3=new Set(_0xbb76b0[_0x5e0331(0x330)](_0x53e5bc=>_0x53e5bc[_0x5e0331(0x44e)])[_0x5e0331(0x3e1)](Boolean));return _0x20c2b3[_0x5e0331(0x3b1)](_0x5e0331(0x228))&&_0x20c2b3[_0x5e0331(0x3b1)](_0x5e0331(0x30e))&&_0x20c2b3[_0x5e0331(0x3b1)]('update')&&_0x20c2b3['has']('delete');}function createOperationDocMeta(_0x44f4b2,_0xd76911,_0x2978f7,_0x148dfc,_0x254bd6,_0x1ab9dc){const _0x2e08cf=a0_0x1fa0fa,_0xb349d3={};return _0xb349d3[_0x2e08cf(0x1e6)]=_0x1ab9dc?.[_0x2e08cf(0x1e6)],{'operation':_0x44f4b2,'operationInstance':_0xd76911,'basicInfo':{'name':_0x44f4b2['name'],'displayName':_0x44f4b2['displayName'],'method':_0x44f4b2[_0x2e08cf(0x236)],'path':_0x44f4b2[_0x2e08cf(0x253)],'fullUrl':_0x44f4b2['fullUrl'],'enabled':_0x44f4b2[_0x2e08cf(0x21a)]},'sdkCall':{'datasetCode':_0x2978f7,'datasetSDKKey':_0x148dfc,'tableName':_0x254bd6,'operationName':_0x44f4b2[_0x2e08cf(0x1da)],'params':_0x44f4b2[_0x2e08cf(0x266)],'code':_0xd76911[_0x2e08cf(0x40b)](_0x148dfc,_0xb349d3)},'usageExample':_0xd76911[_0x2e08cf(0x259)](_0x148dfc)};}function createOperationsOverviewData(_0x1259f4){const _0x5cf136=a0_0x1fa0fa,_0x213b16={};_0x213b16[_0x5cf136(0x309)]=_0x5cf136(0x1da),_0x213b16[_0x5cf136(0x3aa)]=_0x5cf136(0x30c);const _0xdb1838={};_0xdb1838[_0x5cf136(0x309)]='displayName',_0xdb1838[_0x5cf136(0x3aa)]=_0x5cf136(0x3b3);const _0x30ab99={};_0x30ab99[_0x5cf136(0x309)]='method',_0x30ab99[_0x5cf136(0x3aa)]='方法';const _0x423aa0={};_0x423aa0['index']=_0x5cf136(0x450),_0x423aa0[_0x5cf136(0x3aa)]=_0x5cf136(0x35d);const _0x27a7ab={};_0x27a7ab[_0x5cf136(0x309)]='path',_0x27a7ab[_0x5cf136(0x3aa)]=_0x5cf136(0x232);const _0x1e8650={};_0x1e8650['index']='sdkCallCode',_0x1e8650['label']=_0x5cf136(0x237);const _0x31ed4f=[_0x213b16,_0xdb1838,_0x30ab99,_0x423aa0,_0x27a7ab,_0x1e8650],_0x36567e=_0x1259f4[_0x5cf136(0x330)](_0x33d056=>{const _0x2c6216=_0x5cf136,{basicInfo:_0x3a901a,sdkCall:_0x24826b}=_0x33d056,_0x1667fb=_0x24826b[_0x2c6216(0x2d9)][_0x2c6216(0x347)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,''),_0xaa97a5={};return _0xaa97a5[_0x2c6216(0x20b)]=_0x3a901a[_0x2c6216(0x20b)],_0xaa97a5[_0x2c6216(0x1da)]=_0x3a901a[_0x2c6216(0x1da)],_0xaa97a5['method']=_0x3a901a['method'],_0xaa97a5[_0x2c6216(0x253)]=_0x3a901a['path'],_0xaa97a5[_0x2c6216(0x450)]=_0x1667fb,_0xaa97a5['sdkCallCode']=_0x24826b[_0x2c6216(0x2d9)],_0xaa97a5;}),_0x2ac062={};return _0x2ac062['tableColumns']=_0x31ed4f,_0x2ac062[_0x5cf136(0x221)]=_0x36567e,_0x2ac062;}function createDatasetDocMeta(_0x455417,_0x29e9d1,_0x56e8d2,_0x3e2862,_0x28cb0e,_0x5e725e,_0x1f583a,_0x480dee,_0x15e2e0){const _0x1d9dee=a0_0x1fa0fa,_0x251faf={};return _0x251faf['title']=_0x455417+'\x20API\x20文档',_0x251faf[_0x1d9dee(0x1cb)]={},_0x251faf[_0x1d9dee(0x3d9)]=_0x15e2e0,_0x251faf[_0x1d9dee(0x1cb)][_0x1d9dee(0x1da)]=_0x455417,_0x251faf[_0x1d9dee(0x1cb)][_0x1d9dee(0x2d9)]=_0x29e9d1,_0x251faf[_0x1d9dee(0x1cb)]['tableName']=_0x56e8d2,_0x251faf[_0x1d9dee(0x1cb)][_0x1d9dee(0x387)]=_0x3e2862,_0x251faf[_0x1d9dee(0x1cb)][_0x1d9dee(0x37d)]=_0x28cb0e,_0x251faf[_0x1d9dee(0x1cb)][_0x1d9dee(0x3a7)]=_0x5e725e,_0x251faf[_0x1d9dee(0x1cb)]['fieldCount']=_0x1f583a,_0x251faf[_0x1d9dee(0x1cb)]['businessFieldCount']=0x0,_0x251faf[_0x1d9dee(0x1cb)][_0x1d9dee(0x26c)]=0x0,_0x251faf[_0x1d9dee(0x1cb)]['operationCount']=_0x480dee,_0x251faf[_0x1d9dee(0x1cb)][_0x1d9dee(0x23e)]=_0x15e2e0[_0x1d9dee(0x340)],_0x251faf;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x1fa0fa(0x3fd)];[a0_0x1fa0fa(0x46e)](){return'v1';}['getModelAlias'](){const _0x66cf6e=a0_0x1fa0fa;return this[_0x66cf6e(0x452)]();}[a0_0x1fa0fa(0x3f8)](_0x12acce=![]){const _0x3c91dd=a0_0x1fa0fa;if(!_0x12acce&&this[_0x3c91dd(0x3fd)])return this[_0x3c91dd(0x3fd)];const _0x4b76d6=this[_0x3c91dd(0x1d6)]();return this[_0x3c91dd(0x3fd)]=operationsToAnalyses(_0x4b76d6),this[_0x3c91dd(0x3fd)];}[a0_0x1fa0fa(0x3bb)](){const _0x2a6592=a0_0x1fa0fa,_0x2c7dd8={};return _0x2c7dd8[_0x2a6592(0x3f5)]=![],_0x2c7dd8[_0x2a6592(0x400)]=!![],this[_0x2a6592(0x308)](_0x2c7dd8);}['getFilteredOperationAnalyses'](_0x25637f={}){const _0x4465b0=a0_0x1fa0fa;return filterOperationAnalyses(this[_0x4465b0(0x3f8)](),_0x25637f);}[a0_0x1fa0fa(0x411)](_0x5305be){const _0x333851=a0_0x1fa0fa;return this[_0x333851(0x3f8)]()['find'](_0x2968e6=>_0x2968e6[_0x333851(0x1da)]===_0x5305be);}[a0_0x1fa0fa(0x427)](_0x222c69){const _0x3e4bda=a0_0x1fa0fa;return this[_0x3e4bda(0x3f8)]()['filter'](_0x18c621=>_0x18c621['type']===_0x222c69);}[a0_0x1fa0fa(0x2f4)](_0x1efe53,_0x2c6e9e){const _0x3bf61e=a0_0x1fa0fa,_0xe36fc0=this['getOperationAnalysis'](_0x1efe53);if(!_0xe36fc0)return null;const _0x2098e4=this[_0x3bf61e(0x1d6)]()[_0x3bf61e(0x39c)](_0x40791e=>_0x40791e['getName']()===_0xe36fc0['name']);if(!_0x2098e4)throw new Error(_0x3bf61e(0x3ae)+_0xe36fc0[_0x3bf61e(0x1da)]);return createOperationDocMeta(_0xe36fc0,_0x2098e4,this[_0x3bf61e(0x318)],this['getDatasetSDKKey'](),this[_0x3bf61e(0x343)](),_0x2c6e9e);}['getDatasetDocMeta'](_0x2e3d45={}){const _0x2a234b=a0_0x1fa0fa,_0x4accdd=this[_0x2a234b(0x308)](_0x2e3d45),_0x45d338=_0x4accdd['map'](_0x228578=>this['getOperationDocMeta'](_0x228578[_0x2a234b(0x1da)]))[_0x2a234b(0x3e1)](_0x557128=>_0x557128!==null);return createDatasetDocMeta(this[_0x2a234b(0x1da)],this[_0x2a234b(0x318)],this[_0x2a234b(0x343)](),this[_0x2a234b(0x1d9)](),this[_0x2a234b(0x452)](),this[_0x2a234b(0x3a7)],this[_0x2a234b(0x2e4)](),this['getOperationCount'](),_0x45d338);}[a0_0x1fa0fa(0x2c6)](_0x118705){return createOperationsOverviewData(_0x118705);}[a0_0x1fa0fa(0x1df)](){const _0xa996b9=a0_0x1fa0fa;return supportsCRUD(this[_0xa996b9(0x3bb)]());}[a0_0x1fa0fa(0x278)](){const _0x2fd5a3=a0_0x1fa0fa;return getOperationStats(this[_0x2fd5a3(0x3f8)]());}['toString'](){const _0x4cfa87=a0_0x1fa0fa,_0x51be2b=this[_0x4cfa87(0x278)]();return _0x4cfa87(0x1f9)+this[_0x4cfa87(0x1da)]+',\x20'+this['datasetCode']+',\x20'+this[_0x4cfa87(0x2e4)]()+'\x20fields,\x20'+_0x51be2b[_0x4cfa87(0x21a)]+'/'+_0x51be2b[_0x4cfa87(0x2ba)]+'\x20operations,\x20v1)';}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x1fa0fa(0x3fd)];['getVersion'](){return'v2';}[a0_0x1fa0fa(0x412)](){const _0x91f54e=a0_0x1fa0fa;return this[_0x91f54e(0x452)]();}['getOperationAnalyses'](_0x991c1d=![]){const _0x57b95a=a0_0x1fa0fa;if(!_0x991c1d&&this['_operationAnalyses'])return this[_0x57b95a(0x3fd)];const _0x3e4cde=this[_0x57b95a(0x1d6)]();return this['_operationAnalyses']=operationsToAnalyses(_0x3e4cde),this['_operationAnalyses'];}['getEnabledOperationAnalyses'](){const _0x3c7de4=a0_0x1fa0fa,_0x4d1bec={};return _0x4d1bec[_0x3c7de4(0x3f5)]=![],_0x4d1bec[_0x3c7de4(0x400)]=!![],this[_0x3c7de4(0x308)](_0x4d1bec);}[a0_0x1fa0fa(0x308)](_0x4b1a6c={}){const _0x18577f=a0_0x1fa0fa;return filterOperationAnalyses(this[_0x18577f(0x3f8)](),_0x4b1a6c);}[a0_0x1fa0fa(0x411)](_0x18e9c3){const _0x3814be=a0_0x1fa0fa;return this[_0x3814be(0x3f8)]()[_0x3814be(0x39c)](_0x1086ac=>_0x1086ac[_0x3814be(0x1da)]===_0x18e9c3);}[a0_0x1fa0fa(0x427)](_0x47b0d4){const _0x27a805=a0_0x1fa0fa;return this[_0x27a805(0x3f8)]()[_0x27a805(0x3e1)](_0x1d176f=>_0x1d176f[_0x27a805(0x44e)]===_0x47b0d4);}[a0_0x1fa0fa(0x2f4)](_0x5bd6c7,_0x33f21c){const _0x4fa89e=a0_0x1fa0fa,_0x5714a7=this['getOperationAnalysis'](_0x5bd6c7);if(!_0x5714a7)return null;const _0x48d21f=this[_0x4fa89e(0x1d6)]()[_0x4fa89e(0x39c)](_0x490bf9=>_0x490bf9['getName']()===_0x5714a7[_0x4fa89e(0x1da)]);if(!_0x48d21f)throw new Error('Operation\x20not\x20found:\x20'+_0x5714a7['name']);return createOperationDocMeta(_0x5714a7,_0x48d21f,this['datasetCode'],this[_0x4fa89e(0x1d9)](),this[_0x4fa89e(0x343)](),_0x33f21c);}['getDatasetDocMeta'](_0x460c71={}){const _0x4486d6=a0_0x1fa0fa,_0x4f4f63=this[_0x4486d6(0x308)](_0x460c71),_0x2cb4de=_0x4f4f63[_0x4486d6(0x330)](_0x44eb12=>this['getOperationDocMeta'](_0x44eb12[_0x4486d6(0x1da)]))[_0x4486d6(0x3e1)](_0x4042a3=>_0x4042a3!==null);return createDatasetDocMeta(this[_0x4486d6(0x1da)],this[_0x4486d6(0x318)],this['getTableName'](),this['getDatasetSDKKey'](),this[_0x4486d6(0x452)](),this[_0x4486d6(0x3a7)],this['getFieldCount'](),this[_0x4486d6(0x42f)](),_0x2cb4de);}['getOperationsOverviewData'](_0x4c755b){return createOperationsOverviewData(_0x4c755b);}['supportsCRUD'](){const _0x3eeb95=a0_0x1fa0fa;return supportsCRUD(this[_0x3eeb95(0x3bb)]());}[a0_0x1fa0fa(0x278)](){const _0x1cb939=a0_0x1fa0fa;return getOperationStats(this[_0x1cb939(0x3f8)]());}['toString'](){const _0x394dc1=a0_0x1fa0fa,_0x1b491a=this[_0x394dc1(0x278)]();return _0x394dc1(0x249)+this[_0x394dc1(0x1da)]+',\x20'+this[_0x394dc1(0x318)]+',\x20'+this['getFieldCount']()+_0x394dc1(0x29b)+_0x1b491a[_0x394dc1(0x21a)]+'/'+_0x1b491a[_0x394dc1(0x2ba)]+'\x20operations,\x20v2)';}}function detectDatasetVersion3(_0x30f40b){const _0x465973=a0_0x1fa0fa;if(_0x30f40b[_0x465973(0x349)]==='v2'&&_0x465973(0x30f)in _0x30f40b&&Array[_0x465973(0x43c)](_0x30f40b['fields']))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x1fa0fa(0x35b)];constructor(_0x4fac6f){const _0x556481=a0_0x1fa0fa,_0xb34c40=detectDatasetVersion3(_0x4fac6f);return this[_0x556481(0x35b)]=_0xb34c40==='v2'?new DrivenDataDetailPlusV2(_0x4fac6f):new DrivenDataDetailPlusV1(_0x4fac6f),new Proxy(this,{'get'(_0x5a91a3,_0x435f6a){const _0x46ca3a=_0x556481;if(_0x435f6a in _0x5a91a3){const _0x4ea965=_0x5a91a3[_0x435f6a];return typeof _0x4ea965===_0x46ca3a(0x282)?_0x4ea965[_0x46ca3a(0x1ed)](_0x5a91a3):_0x4ea965;}if(_0x435f6a in _0x5a91a3[_0x46ca3a(0x35b)]){const _0x3344cc=_0x5a91a3[_0x46ca3a(0x35b)][_0x435f6a];return typeof _0x3344cc===_0x46ca3a(0x282)?_0x3344cc['bind'](_0x5a91a3[_0x46ca3a(0x35b)]):_0x3344cc;}return;},'set'(_0x4a52ef,_0x51c1a0,_0x2155c5){return _0x4a52ef[_0x51c1a0]=_0x2155c5,!![];},'getPrototypeOf'(_0x3613a8){const _0x452bbb=_0x556481;return DrivenDataDetailPlus[_0x452bbb(0x1f8)];}});}get[a0_0x1fa0fa(0x1da)](){return this['_instance']['name'];}get['id'](){return this['_instance']['id'];}get[a0_0x1fa0fa(0x318)](){return this['_instance']['datasetCode'];}get[a0_0x1fa0fa(0x3a7)](){const _0x4ed314=a0_0x1fa0fa;return this[_0x4ed314(0x35b)][_0x4ed314(0x3a7)];}get['dbtableConfig'](){const _0x21a31d=a0_0x1fa0fa;return this[_0x21a31d(0x35b)]['getDBConfig']();}['getVersion'](){const _0x2c43b0=a0_0x1fa0fa,_0x123089=this[_0x2c43b0(0x35b)]['getVersion']();return _0x123089==='v2'?'v2':'v1';}[a0_0x1fa0fa(0x2e4)](){const _0x47b730=a0_0x1fa0fa;return this['_instance'][_0x47b730(0x2e4)]();}[a0_0x1fa0fa(0x42f)](){const _0x58b20b=a0_0x1fa0fa;return this[_0x58b20b(0x35b)]['getOperationCount']();}['getFields'](){const _0x491dae=a0_0x1fa0fa;return this['_instance'][_0x491dae(0x2be)]();}[a0_0x1fa0fa(0x1d6)](){const _0x45783c=a0_0x1fa0fa;return this['_instance'][_0x45783c(0x1d6)]();}[a0_0x1fa0fa(0x25f)](_0x3a5e1a){const _0x2dddb2=a0_0x1fa0fa;return this[_0x2dddb2(0x35b)][_0x2dddb2(0x25f)](_0x3a5e1a);}[a0_0x1fa0fa(0x2e7)](_0x78dceb){const _0x40d416=a0_0x1fa0fa;return this[_0x40d416(0x35b)][_0x40d416(0x2e7)](_0x78dceb);}[a0_0x1fa0fa(0x343)](){const _0xea2c95=a0_0x1fa0fa;return this[_0xea2c95(0x35b)][_0xea2c95(0x343)]();}[a0_0x1fa0fa(0x452)](){const _0x54d131=a0_0x1fa0fa;return this[_0x54d131(0x35b)][_0x54d131(0x452)]();}['getDatasetSDKKey'](){const _0x2b5003=a0_0x1fa0fa;return this['_instance'][_0x2b5003(0x1d9)]();}[a0_0x1fa0fa(0x3bf)](){const _0x419166=a0_0x1fa0fa;return this['_instance'][_0x419166(0x3bf)]();}['getEnumFields'](){const _0x57bbc8=a0_0x1fa0fa;return this[_0x57bbc8(0x35b)]['getEnumFields']();}[a0_0x1fa0fa(0x31b)](){const _0x60c5c5=a0_0x1fa0fa;return this[_0x60c5c5(0x35b)]['getEnumFieldsMeta']();}[a0_0x1fa0fa(0x355)](_0x8d5888){const _0x4df2a1=a0_0x1fa0fa;return this[_0x4df2a1(0x35b)][_0x4df2a1(0x355)](_0x8d5888);}[a0_0x1fa0fa(0x3a4)](_0xeab723){const _0x1b42db=a0_0x1fa0fa;return this[_0x1b42db(0x35b)][_0x1b42db(0x3a4)](_0xeab723);}[a0_0x1fa0fa(0x35f)](_0x4fb7e2){const _0x5f2403=a0_0x1fa0fa;return this[_0x5f2403(0x35b)][_0x5f2403(0x35f)](_0x4fb7e2);}[a0_0x1fa0fa(0x424)](_0x43cae){const _0x891712=a0_0x1fa0fa;return this[_0x891712(0x35b)][_0x891712(0x424)](_0x43cae);}[a0_0x1fa0fa(0x373)](_0x3e87c4){const _0x3a6a33=a0_0x1fa0fa;return this[_0x3a6a33(0x35b)][_0x3a6a33(0x373)](_0x3e87c4);}[a0_0x1fa0fa(0x301)](_0x5714b3,_0x5a5a52){return this['_instance']['validateEnumValue'](_0x5714b3,_0x5a5a52);}[a0_0x1fa0fa(0x1f5)](_0x393448){const _0x1de779=a0_0x1fa0fa;return this['_instance'][_0x1de779(0x1f5)](_0x393448);}[a0_0x1fa0fa(0x333)](){const _0x4aaa69=a0_0x1fa0fa;return this[_0x4aaa69(0x35b)][_0x4aaa69(0x333)]();}[a0_0x1fa0fa(0x256)](){const _0x4b8a54=a0_0x1fa0fa;return this[_0x4b8a54(0x35b)][_0x4b8a54(0x256)]();}[a0_0x1fa0fa(0x1cd)](){const _0x4a621d=a0_0x1fa0fa;return this['_instance'][_0x4a621d(0x1cd)]();}['hasOperation'](_0x2fa448){const _0x5bf90d=a0_0x1fa0fa;return this[_0x5bf90d(0x35b)]['hasOperation'](_0x2fa448);}[a0_0x1fa0fa(0x271)](){const _0x440a57=a0_0x1fa0fa;return this['_instance'][_0x440a57(0x271)]();}[a0_0x1fa0fa(0x33f)](){const _0x433d64=a0_0x1fa0fa;return this[_0x433d64(0x35b)][_0x433d64(0x33f)]();}[a0_0x1fa0fa(0x3c3)](){const _0x142593=a0_0x1fa0fa;return this[_0x142593(0x35b)][_0x142593(0x3c3)]();}[a0_0x1fa0fa(0x3f8)](_0x11ede5){const _0x271609=a0_0x1fa0fa;return this[_0x271609(0x35b)][_0x271609(0x3f8)](_0x11ede5);}[a0_0x1fa0fa(0x3bb)](){const _0x549e5f=a0_0x1fa0fa;return this[_0x549e5f(0x35b)][_0x549e5f(0x3bb)]();}[a0_0x1fa0fa(0x308)](_0x32b1c2){const _0x22658e=a0_0x1fa0fa;return this[_0x22658e(0x35b)][_0x22658e(0x308)](_0x32b1c2);}[a0_0x1fa0fa(0x411)](_0x4a0a9f){return this['_instance']['getOperationAnalysis'](_0x4a0a9f);}[a0_0x1fa0fa(0x427)](_0x55e2d0){const _0x50ee98=a0_0x1fa0fa;return this[_0x50ee98(0x35b)][_0x50ee98(0x427)](_0x55e2d0);}[a0_0x1fa0fa(0x2f4)](_0x5a6a77,_0x569073){const _0x2bbf75=a0_0x1fa0fa;return this[_0x2bbf75(0x35b)]['getOperationDocMeta'](_0x5a6a77,_0x569073);}[a0_0x1fa0fa(0x3d2)](_0x2ad894){const _0x3433b0=a0_0x1fa0fa;return this[_0x3433b0(0x35b)]['getDatasetDocMeta'](_0x2ad894);}[a0_0x1fa0fa(0x2c6)](_0x21fa15){const _0x4afd3a=a0_0x1fa0fa;return this['_instance'][_0x4afd3a(0x2c6)](_0x21fa15);}[a0_0x1fa0fa(0x412)](){const _0x2487b3=a0_0x1fa0fa;return this[_0x2487b3(0x35b)][_0x2487b3(0x412)]();}['supportsCRUD'](){const _0x159afa=a0_0x1fa0fa;return this[_0x159afa(0x35b)][_0x159afa(0x1df)]();}[a0_0x1fa0fa(0x278)](){const _0xf771b9=a0_0x1fa0fa;return this[_0xf771b9(0x35b)][_0xf771b9(0x278)]();}[a0_0x1fa0fa(0x45a)](){const _0xb32d28=a0_0x1fa0fa;return this[_0xb32d28(0x35b)][_0xb32d28(0x45a)]();}[a0_0x1fa0fa(0x443)](_0x230a2e){const _0x17936a=a0_0x1fa0fa;return this[_0x17936a(0x35b)]['getOperation'](_0x230a2e);}['getSDKInitData'](_0x484f58){const _0x9027d8=a0_0x1fa0fa;return this[_0x9027d8(0x35b)]['getSDKInitData'](_0x484f58);}[a0_0x1fa0fa(0x338)](_0x9070fd,_0x220c6b,_0x9368ae){const _0xf46137=a0_0x1fa0fa;return this[_0xf46137(0x35b)][_0xf46137(0x338)](_0x9070fd,_0x220c6b,_0x9368ae);}[a0_0x1fa0fa(0x206)](_0x37038f,_0x20e702,_0x17c254){const _0x4de3ba=a0_0x1fa0fa;return this[_0x4de3ba(0x35b)][_0x4de3ba(0x206)](_0x37038f,_0x20e702,_0x17c254);}[a0_0x1fa0fa(0x336)](_0x450eca){const _0x49fd34=a0_0x1fa0fa;return this['_instance'][_0x49fd34(0x336)](_0x450eca);}[a0_0x1fa0fa(0x331)](_0x4e372c){const _0x5bdf3d=a0_0x1fa0fa;return this[_0x5bdf3d(0x35b)][_0x5bdf3d(0x331)](_0x4e372c);}[a0_0x1fa0fa(0x3d6)](_0x1a8bd4){const _0x2b1776=a0_0x1fa0fa;return this[_0x2b1776(0x35b)][_0x2b1776(0x3d6)](_0x1a8bd4);}[a0_0x1fa0fa(0x33c)](_0x516f0e){const _0x5de057=a0_0x1fa0fa;return this[_0x5de057(0x35b)][_0x5de057(0x33c)](_0x516f0e);}[a0_0x1fa0fa(0x34b)](){const _0x28767e=a0_0x1fa0fa;return this[_0x28767e(0x35b)][_0x28767e(0x34b)]();}[a0_0x1fa0fa(0x22c)](){const _0xa073a0=a0_0x1fa0fa;return this[_0xa073a0(0x35b)][_0xa073a0(0x22c)]();}[a0_0x1fa0fa(0x353)](){const _0xa4647e=a0_0x1fa0fa;return this[_0xa4647e(0x35b)];}}function createDrivenDataDetailPlus(_0x29e0ac,_0x225795={}){const _0x2dbb7d=a0_0x1fa0fa;if(_0x225795[_0x2dbb7d(0x332)]==='v1')return new DrivenDataDetailPlusV1(_0x29e0ac);if(_0x225795[_0x2dbb7d(0x332)]==='v2')return new DrivenDataDetailPlusV2(_0x29e0ac);if(_0x29e0ac['doVersion']==='v2'||_0x2dbb7d(0x208)in _0x29e0ac)return new DrivenDataDetailPlusV2(_0x29e0ac);return new DrivenDataDetailPlusV1(_0x29e0ac);}function isPlusV2Instance(_0x574444){const _0x390989=a0_0x1fa0fa;return _0x574444[_0x390989(0x46e)]()==='v2';}function isPlusV1Instance(_0x4f8cc7){const _0x30c839=a0_0x1fa0fa;return _0x4f8cc7[_0x30c839(0x46e)]()==='v1';}var VERSION=a0_0x1fa0fa(0x20f);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};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.3.7-beta.0",
3
+ "version": "1.3.7",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",