@lovrabet/dsparser 1.3.7-beta.1 → 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_0x783dd6=a0_0x5163;function a0_0x5e8f(){const _0x32bc5b=['primaryKey','getFieldDefinition','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','datasetName','getRequestParamsDocInfo','getFieldDescription','DrivenDataDetail(','multiple','getRequestFields','getOperationAnalysis','支持多个条件','isRequiredField','getFields','getFiltered','getVersion','fieldCount','dbTypeLen','successCode','getDisabled','createImport','DATETIME','modelCode','isEnabled','getSelectOptions','getOperationCount','\x20fields,\x20','field_name','dataset','isRequired','isBusiness','responseBody','fields','getVirtualTables','getTableName','DOUBLE','getFieldType','find','datasetInfo','2znIScv','sum','5862010FMNEtk','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','_min','empty','getConflictingItems','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','findAll','validateEnumValue','_operationList','_raw','item2','查询单条(用于更新)','generateConfig','operation','FILE','_operations','getCodes','isEmpty','isMultipleSelect','msg','getAllParams','taskInfo','$eq','SDK\x20调用时传递两个参数:\x0a','\x20items,\x20','BLOB','$gteq','\x20operation','getHTTPRequestParamsDocInfo','\x20的\x20extend\x20配置失败:','exampleWhere','GET_LIST','$lteq','autoIncrement','(id,\x20data);','数组查询(支持多选)','generateSDKCallCode','getCount','2024-01-01','generateFieldExample','withDeleted','allFields','_fieldListV1WithDeleted','total_count','getRequired','_fieldListV1','getEnumValues','every','getAt','_sum','totalCount','pkField','();\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}','map','trim','sort','conflictGroupCount','\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','null','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','getPrimaryKeys','查询单个条件','POST','getAllDatasets','主键ID(必填)','modifyDate','size','getSelectItemsSource','getModelName','sortOperationsWithFilterFirst','();','datasetSDKKey','createTimeField','30zBDOhO','generateRequestAllExamples','SMALLINT','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','isMultipleSelectField','EXCEL_EXPORT','initDataset','selectBestOperator','getDisabledOperationInstances','getEnumMeta','getStats','dbVersion','code','getPrimaryKeyFields','generateOperationSummary','-\x20`','add','type','getFilteredOperationAnalyses','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','yourModel','filterBlacklist','dataIndex','getOperationsOverviewData','2.0','getOperationList','GET_ONE','errorMsg','getSystemFields','generateAliasExplanation','set','tableColumns','requestBody','getEnumFieldMeta','请求示例','getTooltip','useArrayValues','getApplicableOperators','usageExample','[FieldV1.extend]\x20解析字段\x20','createAll','count','\x5c{\x5c{','getAppCode','$gte','default','createTime','dblinkInfoDTO','\x22,数据集:\x20','Array','getId','DATE','190393VptbAa','getForeignKeyFields','toFullConfig','index','$endWith','getOperationOperators','displayName','datasetId','(id);','context','indexes','_datasetMap','getEnabledOperations','getDisabledOperations','getOperationStats','keys','getRelatedDataset','isArray','`:\x20','getBusiness','_autoGenerated','precision','sdkCallCode','**可更新的字段列表:**','const\x20fileUrl\x20=\x20await\x20client.models.','toConfigArray','hasOperation','getSDKInitData','findByName','INT','(支持单值或数组)','ensureFilterOperation','getMissingCRUDOperations','options','hasConflicts','-\x20主键使用\x20`id`\x20字段\x0a','hasModifierIdField',',\x20...\x20});','每页数量(可选)','HTTP\x20直接调用时使用平铺格式:\x0a','get','每页数量','getFieldCode','任务信息','_operationAnalyses','分组字段列表','DrivenDataDetailPlus(','LONGBLOB','columnName','groupBy','const\x20data\x20=\x20await\x20client.models.','要更新的字段数据对象','toUpperCase','orderBy','[Field]\x20Invalid\x20field\x20definition','DESC','SWITCH','getSource','getLatest','_fieldList','operations','toField','排序规则(与\x20Filter\x20API\x20一致)','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getDBConfig','getResponseParamsDocInfo','getRequestParams','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','pageSize','raw','some','includes','logicField','split','systemAnalysisResult','_relations','DatasetGroupMap(','https://example.com/image.jpg','SELECT','时间戳','warn','modifierIdField','String','groupByTableName','getFilterOperation','\x20indexes)','isSystem','forceVersion','toArray','getField','操作成功','选项编码(可选)','value1','SDK\x20调用示例(两参数格式)','tableKey','2164064BWlODc','create','normalizeDbType','Integer','deleted','method','sdkCall','generateHTTPExample','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','获取下拉选项','getFieldOptions','查询列表','字段名称','getDbName','GET_UPLOAD_FILE_SCRIPT','prototype','每页条数','requestFields','这是一段较长的文本内容示例','tenantCode','slice','DatasetList(','解析\x20requestBody\x20失败:','stringify','\x20relations,\x20','获取数据集列表失败:\x20','fromField','parseRawResponseBody','getCountByType','N/A','filter','hasCreatorIdField','getOperationDocMeta','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getDatabaseType','mapDbTypeToType','isUpdateTime','getTenantCode','all','每页数量(默认:\x2020)','has','getPkField','hasResponseSchema','isVirtualTable','GET_FILE_URL','includeDisabled','[parseFieldExtend]\x20Invalid\x20field:','CREATE','$and','TEXTAREA','hasUpdateTimeField','object','getOne','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','\x20operations,\x20v2)','hasFilterOperation','string','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','getFieldListV2','STRING','VARCHAR','200','[FieldV2]\x20Invalid\x20field\x20definition','column','0000','//\x20Usage\x20examples','distinct','DatasetItem(','success','toDatasetId','DbtableConfig(table:\x20','enabledOperationCount','creatorIdField','excelExport','getEnabled','has\x20conflicts','datasetKey','UPLOAD','getBusinessFields','_requestExampleCache','getFieldRaw','[dsparser]\x20跳过重复的表名\x20\x22','generateSDKInitCode','TIMESTAMP','version','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getAllFieldsArray','children','LONGTEXT','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','enabled','includeDeleted','当前页码(可选)','Operation\x20not\x20found:\x20','isNumericField','total','FLOAT','getMethod','getFilterOperators','String[]','207PEpngA','description','getDefaultValue','FieldListV2(','\x5c}\x5c}','generateRequestExample','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','API路径','分组后的过滤条件(对聚合结果进行过滤)','const\x20result\x20=\x20await\x20client.models.','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','values','_datasetMeta','1726806qOLKyn','getFieldCount','UPDATE','日期时间','getOperationRequestFields','getOperation','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','hasDbtableConfig','北京市朝阳区','TINYINT','host','importTemplate','getFieldsWithDeleted','getDOType','dataset_','dbId','getCountByMethod','getDatasetSDKKey','dbName','1.0','delete','lastIndexOf','CHAR','Object[]','toConfig','tooltip','字段编码','getEnabledOperationAnalyses','round','getHTTPFields','getInternalInstance','findByCode','IMPORT_TEMPLATE','getEnumFields','_extend','TIME','getFileUrl','conflictItemCount','push','getAll','phone','required','-\x20主键ID,用于定位要更新的记录\x0a\x0a','getDatabaseVersion','CREATE_EXPORT','hasTableName','NUMBER','generateSingleValueExample','number','generateResponseExample','isPrimaryKeyField','TEXT','$in','操作名称','join','toListItem','responseSchema','avg','getEnabledOperationInstances','\x20items,\x20conflict,\x20latest:\x20','valueLabels','_fields','/filter','supportsCRUD','isOperatorApplicableToField','generateAllOperationsSummary','isCreateTime','value2','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','主键ID','keyword','customFilter','Object','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','labelField','dbtableConfig','parse','dataset_000000','prefix','(实际字段:','bind','68368qnOepp','getFieldSelectItemsSource','getRawDbtableConfig','getEnum','getExtendField','getFieldV2','getEnabledNames','getOneOrigin','isAutoIncrement','iterator','getLatestDatasets','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','query','alias','getRelationsByField','BIT','getConflictStats','systemFieldCount','replace','getModelAlias','array','isEnum','useFullExample','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','doVersion','getOneUpdate','createExport','title','address','hasLogicField','$ne','fromApiResponse','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','getOperationFieldOperators','datasetMap','generateFullSDKExample','creatorNameField','getFirst','ARRAY','isFieldPrimaryKey','max','getType','getNames','condition','getItems','主键,用于定位要更新的记录','fullUrl','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getUpdateFields','env','getConflicts','placeholder','from','toDatasetCode','getFieldsByType','getDisabledNames','daily','getRequiredFields','suffix','operationCount','-$1',',\x20currentPage,\x20pageSize,\x20...\x20});','getFieldDataSource','\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','properties','modelId','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','updateTime','//\x20Call\x20the\x20','fieldName','$startWith','generateAllOperationsFullSDKExample','示例值','isSystemField','updateTimeField','_max','hasCreateTimeField','({\x20currentPage,\x20pageSize\x20});','aggregate','BIGINT','now','1.0.0-beta.8','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','toDatasetName','createDate','hasField','generateConfigArray','getUploadFileScript','Excel导出','$or','getFullUrl','FieldV1(','getEnumFieldsMeta','getDbTypeForOperation','GET_ONE_ORIGIN','getFieldsFilterOperatorsMap','items','_fieldListWithDeleted','getOperationAnalyses','getSystemAnalysisResult','extend','getRelations','currentPage','getFieldOperators','path','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','_avg','getFieldName','dataset_unknown','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','RADIO','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','getDisplayName','random','parseRawRequestBody','getUpdateTime','getAggregates','groupByType','getFieldsV2','getPath','DrivenDataDetailV2(','完整的\x20SDK\x20调用代码','errorCode','tableName','hasDblinkInfo','enumValues','hasConflict','({\x20/*\x20可选:筛选条件\x20*/\x20});','name','Number','\x20operations,\x20','generateExampleValue','({\x20code,\x20label\x20});','Filter\x20API\x20-\x20高级查询接口','function','toJSON','entries','导入模板','<p>富文本内容</p>','HTTP\x20请求示例(平铺格式)','tableData','(params);','createFields','CHECKBOX','\x20groups,\x20','isPrimaryKey','dbType','getOldest','RICH_TEXT','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getIndexes','value','fieldCode','params','getDatasetMeta','<!--\x5cs*CONDITION:\x5cs*','当前页码(从\x201\x20开始,默认:\x201)','getTableKey','JSON','status','no\x20conflicts','user@example.com','selectItemsSource','datasetCode','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','generateUsageExample','demo-app','getOperationsData','findById','Invalid\x20API\x20response:\x20success\x20is\x20false','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getEnumMetas','获取文件URL','getResponseSchema','systemRetain','isDeleted','isOpenAPI','getList','创建导入','doType','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getByType','654753hNYTVM','$lte','getFieldList','modifierNameField','当前页码','toString','select','getCreateTime','where','长文本','getOperationFieldsOperatorsMap','getDatasetDocMeta','groups','substring','BOOL','source','appCode','getSystem','getFieldInstance','({\x20','DrivenDataDetailPlusV2(','GET_ONE_UPDATE','update','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','GET_SELECT_OPTIONS','length','INTEGER','系统自动生成','getDatabaseName','getFilteredOperations','getAllFieldsString','forEach','IMAGE','SDK\x20调用','isOperationEnabled','BOOLEAN','DECIMAL','charAt','getEnumOptions','getOperators','totalGroups','getName','解析\x20responseBody\x20失败:','getFieldListWithDeleted','_fieldListV2','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','getOperationAnalysesByType','93176fnYCtP','(id,\x20','generateHTTPRequestExample','generateFromSchema','getOperations','2024-12-31','接口名称','getRaw','$contain','_instance','getActive','sortNum','##\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','requestFieldCount','data','min','label','toLowerCase'];a0_0x5e8f=function(){return _0x32bc5b;};return a0_0x5e8f();}(function(_0x509ca7,_0x3a8877){const _0x2ee671=a0_0x5163,_0x58f818=_0x509ca7();while(!![]){try{const _0x2602d7=parseInt(_0x2ee671(0x314))/0x1*(parseInt(_0x2ee671(0x294))/0x2)+-parseInt(_0x2ee671(0x22c))/0x3+parseInt(_0x2ee671(0x175))/0x4*(-parseInt(_0x2ee671(0x2df))/0x5)+-parseInt(_0x2ee671(0x124))/0x6+parseInt(_0x2ee671(0x373))/0x7+-parseInt(_0x2ee671(0x25b))/0x8*(parseInt(_0x2ee671(0x117))/0x9)+parseInt(_0x2ee671(0x296))/0xa;if(_0x2602d7===_0x3a8877)break;else _0x58f818['push'](_0x58f818['shift']());}catch(_0x120845){_0x58f818['push'](_0x58f818['shift']());}}}(a0_0x5e8f,0x3316d));function toCamelCase(_0x3eb198){const _0x5eb9fa=a0_0x5163;if(!_0x3eb198)return'';return _0x3eb198[_0x5eb9fa(0x35d)](/[_-]/)[_0x5eb9fa(0x2cb)]((_0x511ff9,_0x97f77a)=>{const _0x4b7652=_0x5eb9fa;if(_0x97f77a===0x0)return _0x511ff9[_0x4b7652(0x26c)]();return _0x511ff9['charAt'](0x0)[_0x4b7652(0x348)]()+_0x511ff9[_0x4b7652(0x387)](0x1)[_0x4b7652(0x26c)]();})[_0x5eb9fa(0x15a)]('');}function toPascalCase(_0x36dba8){const _0x4d62c6=a0_0x5163;if(!_0x36dba8)return'';const _0xb533d=toCamelCase(_0x36dba8);return _0xb533d[_0x4d62c6(0x251)](0x0)[_0x4d62c6(0x348)]()+_0xb533d[_0x4d62c6(0x387)](0x1);}function toSnakeCase(_0x197b57){const _0x261b66=a0_0x5163;if(!_0x197b57)return'';return _0x197b57[_0x261b66(0x187)](/([A-Z])/g,'_$1')['toLowerCase']()['replace'](/^_/,'');}function toKebabCase(_0x4a50f0){const _0x27072f=a0_0x5163;if(!_0x4a50f0)return'';return _0x4a50f0['replace'](/([A-Z])/g,_0x27072f(0x1b2))[_0x27072f(0x26c)]()[_0x27072f(0x187)](/^-/,'');}function normalizeFieldName(_0x5ebab4){const _0x2c20d2=a0_0x5163;if(!_0x5ebab4)return'';return _0x5ebab4[_0x2c20d2(0x2cc)]()['replace'](/\s+/g,'_')[_0x2c20d2(0x187)](/[^a-zA-Z0-9_]/g,'_')[_0x2c20d2(0x187)](/_+/g,'_')[_0x2c20d2(0x187)](/^_|_$/g,'');}function getTableName(_0x35041b){const _0x9ce9e1=a0_0x5163;if(!_0x35041b)return _0x9ce9e1(0x171);if(_0x35041b['dbtableConfig']?.[_0x9ce9e1(0x1f1)])return _0x35041b[_0x9ce9e1(0x16f)][_0x9ce9e1(0x1f1)];const _0x32c8c3=_0x35041b[_0x9ce9e1(0x219)]||_0x35041b['code']||_0x35041b[_0x9ce9e1(0x283)];if(_0x32c8c3)return generateTableNameFromCode(_0x32c8c3);return'dataset_000000';}function getTableKey(_0x2d3d54){const _0x5af24a=a0_0x5163;if(typeof _0x2d3d54===_0x5af24a(0x3ab))return toCamelCase(_0x2d3d54);const _0x5d7bb7=getTableName(_0x2d3d54);return toCamelCase(_0x5d7bb7);}function generateTableNameFromCode(_0x544183){const _0x1f6f5e=a0_0x5163;if(!_0x544183)return _0x1f6f5e(0x171);const _0x475eff=_0x544183[_0x1f6f5e(0x387)](-0x6)['padStart'](0x6,'0');return'dataset_'+_0x475eff;}function isVirtualTableName(_0x1b2080){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x1b2080);}function generateModelKeyFromCode(_0x111992){const _0x3c38e3=a0_0x5163;if(!_0x111992)return _0x3c38e3(0x1e2);return'dataset_'+_0x111992;}function getDbName(_0xadbb13){const _0x3bfb6a=a0_0x5163;return _0xadbb13[_0x3bfb6a(0x16f)]?.['dbName']||_0xadbb13[_0x3bfb6a(0x16f)]?.[_0x3bfb6a(0x30f)]?.[_0x3bfb6a(0x136)]||'';}function generateDatasetsConfig(_0x19c51c,_0x35385d={}){const _0x4f61c7=a0_0x5163,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x2155cf,filter:_0x2fc25f}=_0x35385d,_0x5365dc=_0x2fc25f?_0x19c51c[_0x4f61c7(0x391)](_0x2fc25f):_0x19c51c,_0x1466cc=new Map();for(const _0x25419b of _0x5365dc){const _0x38ade2=getTableName(_0x25419b),_0x5dee0a=getDbName(_0x25419b);!_0x1466cc[_0x4f61c7(0x39b)](_0x38ade2)&&_0x1466cc['set'](_0x38ade2,new Set()),_0x1466cc['get'](_0x38ade2)['add'](_0x5dee0a);}const _0x20c948=new Set();for(const [_0x42d9ae,_0x72e785]of _0x1466cc){_0x72e785[_0x4f61c7(0x2d8)]>0x1&&_0x20c948[_0x4f61c7(0x2ef)](_0x42d9ae);}const _0x1c2524={},_0x245c2c=new Set();for(const _0x593934 of _0x5365dc){const _0x384d38=getTableName(_0x593934);if(enableDeduplication&&_0x245c2c[_0x4f61c7(0x39b)](_0x384d38)){console[_0x4f61c7(0x364)](_0x4f61c7(0x104)+_0x384d38+_0x4f61c7(0x310)+_0x593934['name']+'\x20('+_0x593934[_0x4f61c7(0x219)]+')');continue;}_0x245c2c['add'](_0x384d38);const _0x3a299c=_0x2155cf?_0x2155cf(_0x384d38,_0x593934):getTableKey(_0x384d38),_0x192676=getDbName(_0x593934),_0x42fb87=_0x20c948[_0x4f61c7(0x39b)](_0x384d38)&&_0x192676?getTableKey(_0x192676)+'_'+_0x3a299c:_0x3a299c;_0x1c2524[_0x3a299c]={'key':_0x3a299c,'alias':_0x42fb87,'tableName':_0x384d38,'datasetCode':_0x593934[_0x4f61c7(0x219)],'name':_0x593934[_0x4f61c7(0x1f6)],'id':_0x593934['id'],'dbName':_0x192676};}return _0x1c2524;}function generateFullDatasetsConfig(_0x2ebeca,_0x3c978f={}){const _0x247fb5=a0_0x5163,{filter:_0x46256f,datasetNameGenerator:_0x21095c}=_0x3c978f,_0x419ce7=_0x46256f?_0x2ebeca[_0x247fb5(0x391)](_0x46256f):_0x2ebeca,_0x52a276=new Map();for(const _0xa7a39c of _0x419ce7){const _0x55f2a7=getTableName(_0xa7a39c),_0x5e7c6a=getDbName(_0xa7a39c);!_0x52a276['has'](_0x55f2a7)&&_0x52a276[_0x247fb5(0x2fe)](_0x55f2a7,new Set()),_0x52a276[_0x247fb5(0x33c)](_0x55f2a7)[_0x247fb5(0x2ef)](_0x5e7c6a);}const _0x227bdd=new Set();for(const [_0x3fcf16,_0x41e712]of _0x52a276){_0x41e712[_0x247fb5(0x2d8)]>0x1&&_0x227bdd[_0x247fb5(0x2ef)](_0x3fcf16);}const _0x17c37f=groupByTableName(_0x419ce7),_0x1d5f03={};for(const [_0x1cd2e9,_0x1068b5]of Object[_0x247fb5(0x1fe)](_0x17c37f)){if(_0x1068b5[_0x247fb5(0x245)]===0x1){const _0x15087d=_0x1068b5[0x0],_0x807702=_0x21095c?_0x21095c(_0x1cd2e9,_0x15087d):getTableKey(_0x1cd2e9),_0xc04041=getDbName(_0x15087d),_0x11f7d2=_0x227bdd['has'](_0x1cd2e9)&&_0xc04041?getTableKey(_0xc04041)+'_'+_0x807702:_0x807702;_0x1d5f03[_0x807702]={'key':_0x807702,'alias':_0x11f7d2,'tableName':_0x1cd2e9,'datasetCode':_0x15087d[_0x247fb5(0x219)],'name':_0x15087d['name'],'id':_0x15087d['id'],'dbName':_0xc04041};}else{const _0x42c8c=[..._0x1068b5]['sort']((_0x3e340b,_0xd90e6b)=>{const _0x14d920=Number(_0x3e340b['id'])||0x0,_0x1896fb=Number(_0xd90e6b['id'])||0x0;return _0x1896fb-_0x14d920;});_0x42c8c['forEach']((_0x5c36d4,_0x15e298)=>{const _0xd1f1f6=_0x247fb5,_0x5c2363=_0x21095c?_0x21095c(_0x1cd2e9,_0x5c36d4):getTableKey(_0x1cd2e9),_0x53affc=_0x15e298===0x0?_0x5c2363:_0x5c2363+'_'+_0x15e298,_0x21b001=getDbName(_0x5c36d4),_0x34ab94=_0x227bdd[_0xd1f1f6(0x39b)](_0x1cd2e9)&&_0x21b001?getTableKey(_0x21b001)+'_'+_0x53affc:_0x53affc;_0x1d5f03[_0x53affc]={'key':_0x53affc,'alias':_0x34ab94,'tableName':_0x1cd2e9,'datasetCode':_0x5c36d4[_0xd1f1f6(0x219)],'name':_0x5c36d4[_0xd1f1f6(0x1f6)],'id':_0x5c36d4['id'],'dbName':_0x21b001};});}}return _0x1d5f03;}function detectTableNameConflicts(_0x221a27){const _0x48b2e2=a0_0x5163,_0x3b9082={};for(const _0x420a3f of _0x221a27){const _0x2f6a0f=getTableName(_0x420a3f);!_0x3b9082[_0x2f6a0f]&&(_0x3b9082[_0x2f6a0f]=[]),_0x3b9082[_0x2f6a0f][_0x48b2e2(0x14a)](_0x420a3f);}const _0x245107={};for(const [_0x4ee2a0,_0x607449]of Object[_0x48b2e2(0x1fe)](_0x3b9082)){_0x607449['length']>0x1&&(_0x245107[_0x4ee2a0]=_0x607449);}return{'hasConflicts':Object['keys'](_0x245107)[_0x48b2e2(0x245)]>0x0,'conflicts':_0x245107};}function createDatasetNameMap(_0x43ca49){const _0x175f26=a0_0x5163,_0x12f11={};for(const [_0x326817,_0x3b67db]of Object[_0x175f26(0x1fe)](_0x43ca49)){_0x12f11[_0x326817]=_0x3b67db[_0x175f26(0x219)]||'';}return _0x12f11;}function groupByTableName(_0x2115d3){const _0x54bda6=a0_0x5163,_0x590585={};for(const _0x28c0ef of _0x2115d3){const _0x4949d6=getTableName(_0x28c0ef);!_0x590585[_0x4949d6]&&(_0x590585[_0x4949d6]=[]),_0x590585[_0x4949d6][_0x54bda6(0x14a)](_0x28c0ef);}return _0x590585;}function datasetsConfigToArray(_0xfafa73){const _0x14e839=a0_0x5163;return Object[_0x14e839(0x122)](_0xfafa73);}function adaptDrivenDataDetail(_0x22a35c){const _0x6b1287=a0_0x5163,_0x2c2171={};return _0x2c2171['id']=_0x22a35c[_0x6b1287(0x1b7)],_0x2c2171['name']=_0x22a35c['name'],_0x2c2171[_0x6b1287(0x219)]=_0x22a35c['modelCode'],_0x2c2171[_0x6b1287(0x16f)]=_0x22a35c[_0x6b1287(0x16f)],_0x2c2171[_0x6b1287(0x23b)]=_0x22a35c[_0x6b1287(0x23b)],_0x2c2171['version']=_0x22a35c[_0x6b1287(0x107)],_0x2c2171['extend']=_0x22a35c[_0x6b1287(0x1da)],_0x2c2171[_0x6b1287(0x1b6)]=_0x22a35c[_0x6b1287(0x1b6)],_0x2c2171['operations']=_0x22a35c[_0x6b1287(0x350)],_0x2c2171;}function adaptDrivenDataDetails(_0x24e736){const _0x5458bc=a0_0x5163;return _0x24e736[_0x5458bc(0x2cb)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x820b4e){const _0x50727c=a0_0x5163;if(!_0x820b4e['success']||!_0x820b4e[_0x50727c(0x269)])throw new Error('获取数据集失败:\x20'+(_0x820b4e['errorMsg']||_0x820b4e[_0x50727c(0x2a9)]));return adaptDrivenDataDetail(_0x820b4e[_0x50727c(0x269)]);}function extractDatasetsFromListResponse(_0x5addd1){const _0x3555af=a0_0x5163;if(!_0x5addd1['success']||!_0x5addd1[_0x3555af(0x269)]?.[_0x3555af(0x202)])throw new Error(_0x3555af(0x38c)+(_0x5addd1[_0x3555af(0x2fb)]||_0x5addd1[_0x3555af(0x2a9)]));return _0x5addd1[_0x3555af(0x269)][_0x3555af(0x202)]['map'](_0x1d47e5=>({..._0x1d47e5,'datasetCode':_0x1d47e5[_0x3555af(0x2eb)]||_0x1d47e5[_0x3555af(0x219)]}));}function a0_0x5163(_0x2307d4,_0xc4c586){_0x2307d4=_0x2307d4-0x101;const _0x5e8f25=a0_0x5e8f();let _0x51635f=_0x5e8f25[_0x2307d4];return _0x51635f;}function isDrivenDataDetail(_0x4ad781){const _0x19d3d4=a0_0x5163;return Boolean(_0x4ad781&&typeof _0x4ad781['modelCode']===_0x19d3d4(0x3ab));}function smartAdapt(_0x200d5b){const _0xe67e99=a0_0x5163;if(isDrivenDataDetail(_0x200d5b))return adaptDrivenDataDetail(_0x200d5b);if(_0x200d5b[_0xe67e99(0x219)])return _0x200d5b;if(_0x200d5b[_0xe67e99(0x2eb)]){const _0x14d456={..._0x200d5b};return _0x14d456['datasetCode']=_0x200d5b[_0xe67e99(0x2eb)],_0x14d456;}return _0x200d5b;}function cleanNewlines(_0x50d345){const _0x1b667a=a0_0x5163;return _0x50d345[_0x1b667a(0x187)](/[\r\n]+/g,'\x20')['trim']();}function cleanDatasetName(_0x20c8cd){const _0x48e5dd=a0_0x5163;if(!_0x20c8cd[_0x48e5dd(0x1f6)])return _0x20c8cd;return{..._0x20c8cd,'name':cleanNewlines(_0x20c8cd[_0x48e5dd(0x1f6)])};}function cleanDatasetNames(_0x7d7682){const _0x4f52bb=a0_0x5163;return _0x7d7682[_0x4f52bb(0x2cb)](cleanDatasetName);}var DatasetOperationType;(_0x275414=>{const _0xcfb47e=a0_0x5163;_0x275414[_0xcfb47e(0x2b5)]=_0xcfb47e(0x227),_0x275414[_0xcfb47e(0x2fa)]=_0xcfb47e(0x3a7),_0x275414[_0xcfb47e(0x1d4)]=_0xcfb47e(0x17c),_0x275414[_0xcfb47e(0x241)]=_0xcfb47e(0x18f),_0x275414[_0xcfb47e(0x3a2)]=_0xcfb47e(0x374),_0x275414[_0xcfb47e(0x126)]=_0xcfb47e(0x242),_0x275414['DELETE']=_0xcfb47e(0x138),_0x275414[_0xcfb47e(0x244)]=_0xcfb47e(0x285),_0x275414[_0xcfb47e(0x39f)]='getFileUrl',_0x275414[_0xcfb47e(0x2e4)]='excelExport',_0x275414[_0xcfb47e(0x381)]=_0xcfb47e(0x1cd),_0x275414['CREATE_IMPORT']=_0xcfb47e(0x281),_0x275414[_0xcfb47e(0x150)]=_0xcfb47e(0x190),_0x275414['TASK_INFO']='taskInfo',_0x275414[_0xcfb47e(0x144)]=_0xcfb47e(0x12f);})(DatasetOperationType||={});const a0_0x45263d={};a0_0x45263d[a0_0x783dd6(0x227)]=a0_0x783dd6(0x37e),a0_0x45263d['getOne']='查询单条',a0_0x45263d['getOneOrigin']='查询单条(原始)',a0_0x45263d[a0_0x783dd6(0x18f)]=a0_0x783dd6(0x2a1),a0_0x45263d[a0_0x783dd6(0x374)]='创建',a0_0x45263d[a0_0x783dd6(0x242)]='更新',a0_0x45263d[a0_0x783dd6(0x138)]='删除',a0_0x45263d[a0_0x783dd6(0x285)]=a0_0x783dd6(0x37c),a0_0x45263d['getFileUrl']=a0_0x783dd6(0x222),a0_0x45263d[a0_0x783dd6(0x3bc)]=a0_0x783dd6(0x1ce),a0_0x45263d[a0_0x783dd6(0x1cd)]='获取上传脚本',a0_0x45263d['createImport']=a0_0x783dd6(0x228),a0_0x45263d['createExport']='创建导出',a0_0x45263d[a0_0x783dd6(0x2ab)]=a0_0x783dd6(0x33f),a0_0x45263d[a0_0x783dd6(0x12f)]=a0_0x783dd6(0x1ff);var OPERATION_TYPE_DISPLAY_NAME=a0_0x45263d,API_BLACKLIST=[a0_0x783dd6(0x227),a0_0x783dd6(0x17c),a0_0x783dd6(0x18f),a0_0x783dd6(0x148)];function parseFieldExtend(_0x520673){const _0x393a59=a0_0x783dd6;if(!_0x520673||typeof _0x520673!=='object')return!![]&&console[_0x393a59(0x364)](_0x393a59(0x3a1),_0x520673),{};if(!_0x520673[_0x393a59(0x1da)])return{};try{const _0x2b290f=typeof _0x520673[_0x393a59(0x1da)]===_0x393a59(0x3ab)?JSON[_0x393a59(0x170)](_0x520673['extend']):_0x520673['extend'];if(typeof _0x2b290f!==_0x393a59(0x3a6)||_0x2b290f===null)return{};return _0x2b290f;}catch{return{};}}function isPrimaryKeyField(_0x111af8,_0x553483){const _0x1f5ab0=a0_0x783dd6;if(!_0x111af8||typeof _0x111af8!==_0x1f5ab0(0x3a6))return![];if(typeof _0x553483==='string'&&_0x111af8['code']===_0x553483)return!![];const _0x2e5596=parseFieldExtend(_0x111af8);return Boolean(_0x2e5596[_0x1f5ab0(0x26d)]||_0x2e5596['pkField']);}function isSystemField(_0x2eba7b){const _0x5208a7=a0_0x783dd6,_0x377c88=parseFieldExtend(_0x2eba7b);return Boolean(_0x377c88[_0x5208a7(0x224)]);}function isRequiredField(_0x102c4c){const _0x2d152d=parseFieldExtend(_0x102c4c);return Boolean(_0x2d152d['required']);}function isAutoIncrementField(_0x2b5906){const _0x10aa19=parseFieldExtend(_0x2b5906);return Boolean(_0x10aa19['autoIncrement']);}function isCreateTimeField(_0x2653d6){const _0x173689=a0_0x783dd6,_0x36e4be=parseFieldExtend(_0x2653d6);return Boolean(_0x36e4be[_0x173689(0x1ca)]);}function isModifyTimeField(_0x13be2d){const _0x188a13=a0_0x783dd6,_0x4361cd=parseFieldExtend(_0x13be2d);return Boolean(_0x4361cd[_0x188a13(0x2d7)]);}const a0_0x15d414={};a0_0x15d414[a0_0x783dd6(0x152)]='数字',a0_0x15d414[a0_0x783dd6(0x157)]='文本',a0_0x15d414[a0_0x783dd6(0x3a4)]=a0_0x783dd6(0x235),a0_0x15d414['DATE']='日期',a0_0x15d414[a0_0x783dd6(0x282)]=a0_0x783dd6(0x127),a0_0x15d414['TIMESTAMP']=a0_0x783dd6(0x363),a0_0x15d414['SELECT']='下拉选择',a0_0x15d414[a0_0x783dd6(0x205)]='多选',a0_0x15d414[a0_0x783dd6(0x1e4)]='单选',a0_0x15d414[a0_0x783dd6(0x34c)]='开关',a0_0x15d414[a0_0x783dd6(0x3c0)]='文件上传',a0_0x15d414[a0_0x783dd6(0x24c)]='图片',a0_0x15d414[a0_0x783dd6(0x20a)]='富文本',a0_0x15d414[a0_0x783dd6(0x214)]=a0_0x783dd6(0x214),a0_0x15d414[a0_0x783dd6(0x19c)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x15d414;function getDbTypeDisplay(_0x4f8eb0){const _0x2c5c2e=a0_0x783dd6;if(typeof _0x4f8eb0!==_0x2c5c2e(0x3ab))return!![]&&console['warn']('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x4f8eb0),String(_0x4f8eb0||'-');return DB_TYPE_DISPLAY_MAP[_0x4f8eb0]||_0x4f8eb0;}function formatDbType(_0x349646,_0x32ab1e){const _0x20bdd4=a0_0x783dd6;if(!_0x349646||typeof _0x349646!==_0x20bdd4(0x3ab))return'-';if(!_0x32ab1e||typeof _0x32ab1e!==_0x20bdd4(0x154))return _0x349646;const _0x376c86=[_0x20bdd4(0x157),_0x20bdd4(0x282),_0x20bdd4(0x106),_0x20bdd4(0x313)];if(_0x376c86[_0x20bdd4(0x35b)](_0x349646['toUpperCase']()))return _0x349646;return _0x349646+'('+_0x32ab1e+')';}function parseOperationType(_0x34fa54){const _0xbc55b7=a0_0x783dd6;if(typeof _0x34fa54!==_0xbc55b7(0x3ab)){!![]&&console[_0xbc55b7(0x364)](_0xbc55b7(0x270),_0x34fa54);return;}if(Object[_0xbc55b7(0x122)](DatasetOperationType)['includes'](_0x34fa54))return _0x34fa54;const _0x1b6458=Object[_0xbc55b7(0x1fe)](OPERATION_TYPE_DISPLAY_NAME)[_0xbc55b7(0x292)](([_0xbd94c1,_0x4269f0])=>_0x4269f0===_0x34fa54);return _0x1b6458?_0x1b6458[0x0]:undefined;}function shouldIncludeField(_0x2d3ff8,_0x3639b7,_0x2426b5){const _0x3f1d27=a0_0x783dd6,_0x59bcc2=parseFieldExtend(_0x2d3ff8),_0x4b271d=isPrimaryKeyField(_0x2d3ff8,_0x2426b5),_0x5a122e=Boolean(_0x59bcc2[_0x3f1d27(0x224)]),_0x152daa=Boolean(_0x59bcc2['autoIncrement']),_0x476d03=Boolean(_0x59bcc2[_0x3f1d27(0x1ca)]),_0x5b8ce2=Boolean(_0x59bcc2[_0x3f1d27(0x2d7)]);switch(_0x3639b7){case'getList':return!![];case'getOne':case _0x3f1d27(0x17c):case _0x3f1d27(0x138):return _0x4b271d;case'create':if(_0x4b271d&&_0x152daa)return![];if(_0x5a122e)return![];if(_0x476d03||_0x5b8ce2)return![];return!![];case _0x3f1d27(0x242):case'getOneUpdate':if(_0x4b271d)return!![];if(_0x5a122e)return![];if(_0x476d03||_0x5b8ce2)return![];return!![];case'getSelectOptions':return _0x2d3ff8['code']===_0x3f1d27(0x2eb);default:return!![];}}function getFieldsForOperation(_0x293f51,_0x2a7424,_0x141b8c){const _0x2887c6=a0_0x783dd6;if(!Array['isArray'](_0x293f51))return!![]&&console[_0x2887c6(0x364)](_0x2887c6(0x1b8),_0x293f51),[];return _0x293f51[_0x2887c6(0x391)](_0x44b03d=>shouldIncludeField(_0x44b03d,_0x2a7424,_0x141b8c));}function isApiBlacklisted(_0x3e6621){const _0x524442=a0_0x783dd6;if(typeof _0x3e6621!==_0x524442(0x3ab))return!![]&&console['warn'](_0x524442(0x26f),_0x3e6621),![];return API_BLACKLIST[_0x524442(0x35b)](_0x3e6621);}function filterApiOperations(_0x2c5b4c){const _0xeacf24=a0_0x783dd6;if(!Array['isArray'](_0x2c5b4c))return!![]&&console[_0xeacf24(0x364)]('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x2c5b4c),[];return _0x2c5b4c[_0xeacf24(0x391)](_0x513e7d=>_0x513e7d&&typeof _0x513e7d==='object'&&!isApiBlacklisted(_0x513e7d['name']));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x783dd6(0x1c6)](),'DATE':()=>Date[a0_0x783dd6(0x1c6)](),'SELECT':({fieldInfo:_0x18f923})=>{const _0x16e1e1=a0_0x783dd6;if(_0x18f923?.[_0x16e1e1(0x335)]&&Array[_0x16e1e1(0x325)](_0x18f923[_0x16e1e1(0x335)])&&_0x18f923[_0x16e1e1(0x335)][_0x16e1e1(0x245)]>0x0)return _0x18f923[_0x16e1e1(0x335)][0x0][_0x16e1e1(0x20d)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0xcb7955})=>{const _0x1070cd=a0_0x783dd6;if(_0xcb7955===_0x1070cd(0x1dc))return 0x1;if(_0xcb7955===_0x1070cd(0x358))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x47ba1f})=>{const _0x1fc01a=a0_0x783dd6;if(_0x47ba1f&&typeof _0x47ba1f==='string'){const _0x18e334=_0x47ba1f[_0x1fc01a(0x26c)]();if(_0x18e334[_0x1fc01a(0x35b)]('邮箱')||_0x18e334[_0x1fc01a(0x35b)]('email'))return _0x1fc01a(0x217);if(_0x18e334[_0x1fc01a(0x35b)]('电话')||_0x18e334['includes']('手机')||_0x18e334['includes'](_0x1fc01a(0x14c)))return'13800138000';if(_0x18e334[_0x1fc01a(0x35b)]('地址')||_0x18e334[_0x1fc01a(0x35b)](_0x1fc01a(0x192)))return _0x1fc01a(0x12c);if(_0x18e334['includes']('姓名')||_0x18e334['includes'](_0x1fc01a(0x1f6)))return'张三';}return'示例文本';},'VARCHAR':({description:_0x2622c1})=>TYPE_VALUE_GENERATORS[a0_0x783dd6(0x157)]({'description':_0x2622c1}),'CHAR':({description:_0x5b6599})=>TYPE_VALUE_GENERATORS[a0_0x783dd6(0x157)]({'description':_0x5b6599}),'STRING':({fieldInfo:_0x31c819,description:_0x4ceb27})=>{const _0x129275=a0_0x783dd6;if(_0x31c819?.[_0x129275(0x1a9)]&&typeof _0x31c819['placeholder']===_0x129275(0x3ab)&&_0x31c819[_0x129275(0x1a9)]!==_0x129275(0x247))return _0x31c819[_0x129275(0x1a9)]['replace'](/^请输入|^请选择/,'');const _0x20e63a={};return _0x20e63a['description']=_0x4ceb27,TYPE_VALUE_GENERATORS[_0x129275(0x157)](_0x20e63a);},'TEXTAREA':()=>a0_0x783dd6(0x385),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x783dd6(0x20d)}),'ARRAY':()=>['item1',a0_0x783dd6(0x2a0)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x783dd6(0x361),'RICH_TEXT':()=>a0_0x783dd6(0x200)};function generateExampleValue(_0x188c71,_0x55d259,_0x3455bd,_0x1cba16={}){const _0xcf1e4e=a0_0x783dd6;typeof _0x188c71!==_0xcf1e4e(0x3ab)&&(!![]&&console[_0xcf1e4e(0x364)](_0xcf1e4e(0x18c),_0x188c71),_0x188c71=String(_0x188c71||''));if(typeof _0x55d259!==_0xcf1e4e(0x3ab))return!![]&&console[_0xcf1e4e(0x364)](_0xcf1e4e(0x1e5),_0x55d259),'示例值';const {isPrimaryKey:_0x5d6556,dbtableConfig:_0x33bc2e}=_0x1cba16;if(_0x5d6556)return 0x1;if(_0x33bc2e&&typeof _0x33bc2e==='object'){const _0x40b154=_0x33bc2e['createTimeField']?.['fieldName']===_0x188c71,_0x2cdf40=_0x33bc2e['updateTimeField']?.[_0xcf1e4e(0x1bb)]===_0x188c71;if(_0x40b154||_0x2cdf40){if(_0x3455bd&&typeof _0x3455bd===_0xcf1e4e(0x3ab)&&_0x3455bd['toUpperCase']()[_0xcf1e4e(0x35b)](_0xcf1e4e(0x106)))return Date[_0xcf1e4e(0x1c6)]();return new Date()['toISOString']()['replace']('T','\x20')[_0xcf1e4e(0x35d)]('.')[0x0];}}const _0x3434cb={..._0x1cba16};_0x3434cb[_0xcf1e4e(0x20e)]=_0x188c71;const _0x1b1ca5=_0x3434cb;if(_0x3455bd&&typeof _0x3455bd==='string'){const _0x2ea8d6=_0x3455bd['toUpperCase'](),_0x551f74=TYPE_VALUE_GENERATORS[_0x2ea8d6];if(_0x551f74)return _0x551f74(_0x1b1ca5);}if(_0x55d259&&typeof _0x55d259===_0xcf1e4e(0x3ab)){const _0x58a29b=_0x55d259['toUpperCase'](),_0x5bbbf9=TYPE_VALUE_GENERATORS[_0x58a29b];if(_0x5bbbf9)return _0x5bbbf9(_0x1b1ca5);}return _0xcf1e4e(0x1be);}function generateExampleFromSchema(_0x3e308a,_0x2ac383){const _0x5e10af=a0_0x783dd6;if(!_0x3e308a||typeof _0x3e308a!=='object')return{};if(Array[_0x5e10af(0x325)](_0x3e308a)){if(_0x3e308a[_0x5e10af(0x245)]>0x0)return[generateExampleFromSchema(_0x3e308a[0x0],_0x2ac383)];return[];}const _0x2e348b={};return Object[_0x5e10af(0x323)](_0x3e308a)['forEach'](_0x4d70eb=>{const _0x3d797a=_0x5e10af,_0xb1a759=_0x3e308a[_0x4d70eb];if(_0xb1a759&&typeof _0xb1a759===_0x3d797a(0x3a6)&&!Array['isArray'](_0xb1a759)&&_0xb1a759[_0x3d797a(0x2f0)]){const _0x58b06a=_0xb1a759,_0x50645a=_0x58b06a[_0x3d797a(0x2f0)],_0x3c48a8=_0x58b06a['description'];if(typeof _0x50645a===_0x3d797a(0x3ab)){const _0x2963ed={};_0x2963ed[_0x3d797a(0x118)]=_0x3c48a8,_0x2963ed['dbtableConfig']=_0x2ac383,_0x2e348b[_0x4d70eb]=generateExampleValue(_0x4d70eb,_0x50645a,undefined,_0x2963ed);}else _0x2e348b[_0x4d70eb]=_0x3d797a(0x1be);}else{if(Array[_0x3d797a(0x325)](_0xb1a759))_0x2e348b[_0x4d70eb]=_0xb1a759[_0x3d797a(0x245)]>0x0?[generateExampleFromSchema(_0xb1a759[0x0],_0x2ac383)]:[];else _0xb1a759&&typeof _0xb1a759==='object'?_0x2e348b[_0x4d70eb]=generateExampleFromSchema(_0xb1a759,_0x2ac383):_0x2e348b[_0x4d70eb]=_0xb1a759;}}),_0x2e348b;}function parseRequestBody(_0x588338){const _0x95932b=a0_0x783dd6;if(!_0x588338)return{};try{return JSON[_0x95932b(0x170)](_0x588338);}catch(_0xea6d1c){return!![]&&console['warn'](_0x95932b(0x389),_0xea6d1c),{};}}function parseResponseBody(_0x5b7b86){const _0x2723ab=a0_0x783dd6;if(!_0x5b7b86)return null;try{const _0x3acf2d=JSON['parse'](_0x5b7b86);return _0x3acf2d[_0x2723ab(0x3b0)]||_0x3acf2d;}catch(_0x178332){return!![]&&console[_0x2723ab(0x364)](_0x2723ab(0x256),_0x178332),null;}}function generateRequestExample(_0x47a906,_0x4bb06a,_0x50b7a1,_0x26595e){const _0x80190a=a0_0x783dd6,_0x5034fe={};if(!Array['isArray'](_0x47a906))return!![]&&console[_0x80190a(0x364)](_0x80190a(0x16d),_0x47a906),_0x5034fe;return _0x47a906['forEach'](_0x110ea3=>{const _0x28987b=_0x80190a;if(!_0x110ea3||typeof _0x110ea3!==_0x28987b(0x3a6)){!![]&&console[_0x28987b(0x364)]('[generateRequestExample]\x20Invalid\x20field:',_0x110ea3);return;}if(typeof _0x110ea3['code']!=='string'||typeof _0x110ea3['type']!==_0x28987b(0x3ab)){!![]&&console[_0x28987b(0x364)](_0x28987b(0x1df),_0x110ea3);return;}const _0x2b6d42=parseFieldExtend(_0x110ea3),_0x2a85cb=_0x110ea3[_0x28987b(0x2eb)]===_0x50b7a1||Boolean(_0x2b6d42?.[_0x28987b(0x26d)]),_0x1a9dca=generateExampleValue(_0x110ea3[_0x28987b(0x2eb)],_0x110ea3[_0x28987b(0x2f0)],typeof _0x110ea3[_0x28987b(0x208)]===_0x28987b(0x3ab)?_0x110ea3['dbType']:undefined,{'fieldInfo':_0x2b6d42,'isPrimaryKey':_0x2a85cb,'description':_0x110ea3['description']||_0x110ea3[_0x28987b(0x1f6)],'dbtableConfig':_0x26595e});_0x5034fe[_0x110ea3['code']]=_0x1a9dca;}),_0x4bb06a===_0x80190a(0x227)&&(_0x5034fe['currentPage']=0x1,_0x5034fe[_0x80190a(0x358)]=0xa),_0x5034fe;}function formatEnumValue(_0x86bad6,_0xad6227){const _0x500540=a0_0x783dd6;if(_0x86bad6[_0x500540(0x275)]&&Array['isArray'](_0xad6227))return _0xad6227['map'](_0x1bf1d1=>_0x86bad6[_0x500540(0x160)][String(_0x1bf1d1)]||String(_0x1bf1d1))[_0x500540(0x15a)](',\x20');return _0x86bad6[_0x500540(0x160)][String(_0xad6227)]||String(_0xad6227);}function formatOptionsForDoc(_0x228e6a){const _0x333ae5=a0_0x783dd6;return _0x228e6a['map'](_0x1958d3=>_0x1958d3[_0x333ae5(0x20d)]+'('+_0x1958d3['label']+')')[_0x333ae5(0x15a)](',\x20');}function formatOptionsAsMarkdownList(_0x14b46e,_0x19beb4=0x0){const _0x2b8f50=a0_0x783dd6,_0x303ec6='\x20\x20'['repeat'](_0x19beb4),_0x2811d5=[];return _0x14b46e[_0x2b8f50(0x24b)](_0x35934f=>{const _0x3bd224=_0x2b8f50;_0x2811d5[_0x3bd224(0x14a)](_0x303ec6+_0x3bd224(0x2ee)+_0x35934f['value']+_0x3bd224(0x326)+_0x35934f[_0x3bd224(0x26b)]),_0x35934f[_0x3bd224(0x10a)]&&_0x35934f[_0x3bd224(0x10a)]['length']>0x0&&_0x2811d5[_0x3bd224(0x14a)](formatOptionsAsMarkdownList(_0x35934f['children'],_0x19beb4+0x1));}),_0x2811d5[_0x2b8f50(0x15a)]('\x0a');}class DbtableConfig{[a0_0x783dd6(0x29f)];constructor(_0x10c016){const _0x53c6bc={..._0x10c016};this['_raw']=_0x53c6bc;}get[a0_0x783dd6(0x133)](){const _0x45541d=a0_0x783dd6;return this[_0x45541d(0x29f)][_0x45541d(0x133)];}get[a0_0x783dd6(0x136)](){const _0x3c9ad9=a0_0x783dd6;return this['_raw'][_0x3c9ad9(0x136)]??this[_0x3c9ad9(0x29f)][_0x3c9ad9(0x30f)]?.['dbName'];}get[a0_0x783dd6(0x1f1)](){const _0x4a5b0b=a0_0x783dd6;return this['_raw'][_0x4a5b0b(0x1f1)];}get[a0_0x783dd6(0x3bf)](){const _0xf4a3e8=a0_0x783dd6;return this[_0xf4a3e8(0x29f)][_0xf4a3e8(0x3bf)];}get[a0_0x783dd6(0x2c9)](){const _0x449503=a0_0x783dd6;return this[_0x449503(0x29f)][_0x449503(0x2c9)];}get[a0_0x783dd6(0x16e)](){const _0x719658=a0_0x783dd6;return this[_0x719658(0x29f)]['labelField'];}get[a0_0x783dd6(0x35c)](){const _0x4f5dc9=a0_0x783dd6;return this[_0x4f5dc9(0x29f)][_0x4f5dc9(0x35c)];}get[a0_0x783dd6(0x2de)](){const _0x218e9d=a0_0x783dd6;return this[_0x218e9d(0x29f)]['createTimeField'];}get['updateTimeField'](){const _0xcdf06e=a0_0x783dd6;return this[_0xcdf06e(0x29f)]['updateTimeField'];}get[a0_0x783dd6(0x3bb)](){const _0x4a6b0a=a0_0x783dd6;return this['_raw'][_0x4a6b0a(0x3bb)];}get[a0_0x783dd6(0x19a)](){const _0xbe5cb=a0_0x783dd6;return this['_raw'][_0xbe5cb(0x19a)];}get['modifierIdField'](){const _0x3e02aa=a0_0x783dd6;return this[_0x3e02aa(0x29f)]['modifierIdField'];}get[a0_0x783dd6(0x22f)](){const _0x2922c4=a0_0x783dd6;return this[_0x2922c4(0x29f)][_0x2922c4(0x22f)];}get[a0_0x783dd6(0x30f)](){return this['_raw']['dblinkInfoDTO'];}[a0_0x783dd6(0x109)](){const _0x21c772=a0_0x783dd6;if(!this['_raw'][_0x21c772(0x2bf)])return[];return this[_0x21c772(0x29f)][_0x21c772(0x2bf)]['split'](',')[_0x21c772(0x2cb)](_0x1af36d=>_0x1af36d[_0x21c772(0x2cc)]())['filter'](Boolean);}[a0_0x783dd6(0x24a)](){const _0xbdcf8b=a0_0x783dd6;return this[_0xbdcf8b(0x29f)][_0xbdcf8b(0x2bf)];}['hasField'](_0xf1d95a){const _0x582870=a0_0x783dd6;return this[_0x582870(0x109)]()[_0x582870(0x35b)](_0xf1d95a);}[a0_0x783dd6(0x151)](){const _0x4f9622=a0_0x783dd6;return Boolean(this[_0x4f9622(0x29f)][_0x4f9622(0x1f1)]);}[a0_0x783dd6(0x1f2)](){const _0x1be47d=a0_0x783dd6;return Boolean(this[_0x1be47d(0x29f)][_0x1be47d(0x30f)]);}[a0_0x783dd6(0x193)](){const _0x551902=a0_0x783dd6;return Boolean(this[_0x551902(0x29f)][_0x551902(0x35c)]?.[_0x551902(0x1bb)]);}[a0_0x783dd6(0x1c2)](){const _0x8f9d6b=a0_0x783dd6;return Boolean(this['_raw'][_0x8f9d6b(0x2de)]?.['fieldName']);}[a0_0x783dd6(0x3a5)](){const _0x4279e8=a0_0x783dd6;return Boolean(this[_0x4279e8(0x29f)][_0x4279e8(0x1c0)]?.['fieldName']);}[a0_0x783dd6(0x392)](){const _0x2f2459=a0_0x783dd6;return Boolean(this['_raw'][_0x2f2459(0x3bb)]?.[_0x2f2459(0x1bb)]);}['hasModifierIdField'](){const _0x2a17a0=a0_0x783dd6;return Boolean(this[_0x2a17a0(0x29f)][_0x2a17a0(0x365)]?.[_0x2a17a0(0x1bb)]);}['isPrimaryKeyField'](_0x4dd17f){const _0x17cbf8=a0_0x783dd6;return this[_0x17cbf8(0x29f)][_0x17cbf8(0x2c9)]===_0x4dd17f;}[a0_0x783dd6(0x1bf)](_0x4c65a3){const _0x2ebc64=a0_0x783dd6;return this[_0x2ebc64(0x156)](_0x4c65a3)||this[_0x2ebc64(0x29f)][_0x2ebc64(0x35c)]?.[_0x2ebc64(0x1bb)]===_0x4c65a3||this[_0x2ebc64(0x29f)][_0x2ebc64(0x2de)]?.['fieldName']===_0x4c65a3||this[_0x2ebc64(0x29f)][_0x2ebc64(0x1c0)]?.[_0x2ebc64(0x1bb)]===_0x4c65a3||this[_0x2ebc64(0x29f)][_0x2ebc64(0x3bb)]?.[_0x2ebc64(0x1bb)]===_0x4c65a3||this['_raw']['creatorNameField']?.[_0x2ebc64(0x1bb)]===_0x4c65a3||this['_raw'][_0x2ebc64(0x365)]?.[_0x2ebc64(0x1bb)]===_0x4c65a3||this[_0x2ebc64(0x29f)]['modifierNameField']?.['fieldName']===_0x4c65a3;}[a0_0x783dd6(0x248)](){const _0x424850=a0_0x783dd6;return this[_0x424850(0x29f)][_0x424850(0x30f)]?.[_0x424850(0x136)];}[a0_0x783dd6(0x395)](){const _0x2e5b64=a0_0x783dd6;return this[_0x2e5b64(0x29f)]['dblinkInfoDTO']?.[_0x2e5b64(0x208)];}[a0_0x783dd6(0x14f)](){const _0xd497c=a0_0x783dd6;return this[_0xd497c(0x29f)]['dblinkInfoDTO']?.[_0xd497c(0x2ea)];}[a0_0x783dd6(0x398)](){const _0x27eaee=a0_0x783dd6;return this[_0x27eaee(0x29f)][_0x27eaee(0x30f)]?.[_0x27eaee(0x386)];}[a0_0x783dd6(0x30b)](){const _0x36b99d=a0_0x783dd6;return this['_raw'][_0x36b99d(0x30f)]?.['appCode'];}[a0_0x783dd6(0x1d9)](){const _0x3d2847=a0_0x783dd6;return this[_0x3d2847(0x29f)][_0x3d2847(0x30f)]?.[_0x3d2847(0x35e)];}[a0_0x783dd6(0x2e9)](){const _0xeb2b7f=a0_0x783dd6;return{'hasTableName':this[_0xeb2b7f(0x151)](),'hasDblinkInfo':this['hasDblinkInfo'](),'fieldCount':this[_0xeb2b7f(0x109)]()[_0xeb2b7f(0x245)],'systemFields':{'hasLogicField':this[_0xeb2b7f(0x193)](),'hasCreateTimeField':this[_0xeb2b7f(0x1c2)](),'hasUpdateTimeField':this[_0xeb2b7f(0x3a5)](),'hasCreatorIdField':this[_0xeb2b7f(0x392)](),'hasModifierIdField':this[_0xeb2b7f(0x338)]()}};}['toConfig'](){const _0xfc8d69=a0_0x783dd6,_0x19ba43={};return _0x19ba43['tableName']=this[_0xfc8d69(0x1f1)],_0x19ba43[_0xfc8d69(0x2c9)]=this[_0xfc8d69(0x2c9)],_0x19ba43[_0xfc8d69(0x3bf)]=this[_0xfc8d69(0x3bf)],_0x19ba43['dbId']=this[_0xfc8d69(0x133)],_0x19ba43;}['toJSON'](){const _0x21ae56=a0_0x783dd6,_0x2092b9={...this[_0x21ae56(0x29f)]};return _0x2092b9;}[a0_0x783dd6(0x262)](){const _0x35a4f2=a0_0x783dd6,_0x3ef572={...this[_0x35a4f2(0x29f)]};return _0x3ef572;}[a0_0x783dd6(0x231)](){const _0x29f38e=a0_0x783dd6,_0x499967=this['tableName']||_0x29f38e(0x390),_0x4e96cf=this[_0x29f38e(0x109)]()['length'];return _0x29f38e(0x3b9)+_0x499967+',\x20fields:\x20'+_0x4e96cf+')';}static[a0_0x783dd6(0x299)](){return new DbtableConfig({});}}class DatasetItem{['_raw'];constructor(_0x48164d){const _0x4c926f=a0_0x783dd6,_0x415d80=_0x48164d[_0x4c926f(0x219)]||_0x48164d[_0x4c926f(0x2eb)]||_0x48164d['modelCode'],_0x17b2c6={..._0x48164d};_0x17b2c6[_0x4c926f(0x219)]=_0x415d80,this[_0x4c926f(0x29f)]=_0x17b2c6;}get['id'](){const _0x23fe04=a0_0x783dd6;return this[_0x23fe04(0x29f)]['id'];}get[a0_0x783dd6(0x1f6)](){const _0x248953=a0_0x783dd6;return this[_0x248953(0x29f)]['name'];}[a0_0x783dd6(0x255)](){return this['name'];}get[a0_0x783dd6(0x219)](){const _0x454964=a0_0x783dd6;return this[_0x454964(0x29f)][_0x454964(0x219)]||'';}get[a0_0x783dd6(0x16f)](){const _0x6ed19a=a0_0x783dd6;if(!this['_raw'][_0x6ed19a(0x16f)])return null;return new DbtableConfig(this['_raw'][_0x6ed19a(0x16f)]);}[a0_0x783dd6(0x177)](){const _0xb7bbeb=a0_0x783dd6;return this[_0xb7bbeb(0x29f)][_0xb7bbeb(0x16f)];}[a0_0x783dd6(0x380)](){const _0x1d0a2f=a0_0x783dd6;return this['dbtableConfig']?.[_0x1d0a2f(0x136)]||'';}['getTableName'](){return getTableName(this['_raw']);}[a0_0x783dd6(0x213)](){const _0x2b6904=a0_0x783dd6;return getTableKey(this[_0x2b6904(0x28f)]());}[a0_0x783dd6(0x135)](){const _0x5eb8e1=a0_0x783dd6;return generateModelKeyFromCode(this[_0x5eb8e1(0x219)]);}[a0_0x783dd6(0x39e)](){const _0x212075=a0_0x783dd6;return isVirtualTableName(this[_0x212075(0x28f)]());}[a0_0x783dd6(0x2da)](){const _0x4f6e3e=a0_0x783dd6;return getTableKey(this[_0x4f6e3e(0x28f)]());}[a0_0x783dd6(0x13c)](){const _0x45ada6=a0_0x783dd6,_0x2a06d8=getTableKey(this[_0x45ada6(0x28f)]());return{'key':_0x2a06d8,'alias':_0x2a06d8,'tableName':this[_0x45ada6(0x28f)](),'datasetCode':this[_0x45ada6(0x219)],'name':this[_0x45ada6(0x1f6)]};}['toJSON'](){const _0x4c49f9=a0_0x783dd6,_0x153de3={...this[_0x4c49f9(0x29f)]};return _0x153de3[_0x4c49f9(0x219)]=this['datasetCode'],_0x153de3;}['getRaw'](){const _0x113992=a0_0x783dd6,_0x48b71f={...this[_0x113992(0x29f)]};return _0x48b71f;}[a0_0x783dd6(0x12b)](){const _0x519811=this['dbtableConfig'];return _0x519811!==null&&_0x519811['hasTableName']();}[a0_0x783dd6(0x179)](_0x462ccc){const _0x14e9f8=a0_0x783dd6;return this[_0x14e9f8(0x29f)][_0x462ccc];}['hasExtendField'](_0x2f89b2){const _0x3936b1=a0_0x783dd6;return _0x2f89b2 in this[_0x3936b1(0x29f)];}[a0_0x783dd6(0x231)](){const _0x2d6a48=a0_0x783dd6;return _0x2d6a48(0x3b6)+this[_0x2d6a48(0x1f6)]+',\x20'+this['datasetCode']+')';}}class Operation{[a0_0x783dd6(0x1f6)];['_raw'];[a0_0x783dd6(0x31d)];constructor(_0x3899ed,_0x191b26,_0x212c9f){const _0x55998b=a0_0x783dd6;this[_0x55998b(0x1f6)]=_0x3899ed,this[_0x55998b(0x29f)]=_0x191b26,this[_0x55998b(0x31d)]=_0x212c9f;}['getName'](){const _0x31259d=a0_0x783dd6;return this[_0x31259d(0x1f6)];}[a0_0x783dd6(0x1e6)](){const _0x458dec=a0_0x783dd6;return OPERATION_TYPE_DISPLAY_NAME[this[_0x458dec(0x1f6)]]||this[_0x458dec(0x1f6)];}[a0_0x783dd6(0x19f)](){const _0x14ad89=a0_0x783dd6;return parseOperationType(this[_0x14ad89(0x1f6)]);}[a0_0x783dd6(0x284)](){const _0x257a14=a0_0x783dd6;return this[_0x257a14(0x29f)]!==null&&this['_raw']!==![];}['getMethod'](){const _0x398bcd=a0_0x783dd6,_0x4a37e0=this[_0x398bcd(0x29f)];if(_0x4a37e0===![]||_0x4a37e0===null)return'';return _0x4a37e0[_0x398bcd(0x378)]||'GET';}[a0_0x783dd6(0x1ed)](){const _0x122ebc=a0_0x783dd6,_0xd6e5eb=this[_0x122ebc(0x29f)];if(_0xd6e5eb===![]||_0xd6e5eb===null)return'';return _0xd6e5eb[_0x122ebc(0x1de)]||'';}[a0_0x783dd6(0x1d0)](){const _0x29e69a=a0_0x783dd6,_0x25a383=this[_0x29e69a(0x29f)];let _0xe9ead2='';_0x25a383!==![]&&_0x25a383!==null&&_0x25a383[_0x29e69a(0x12e)]&&(_0xe9ead2=_0x25a383[_0x29e69a(0x12e)]);const _0x589288=this[_0x29e69a(0x1ed)]();return _0xe9ead2&&_0x589288?''+_0xe9ead2+_0x589288:_0x589288;}[a0_0x783dd6(0x1e8)](){const _0x5c3a36=a0_0x783dd6,_0x5e4c00=this['_raw'];if(_0x5e4c00===![]||_0x5e4c00===null||!_0x5e4c00[_0x5c3a36(0x300)])return{};try{return JSON['parse'](_0x5e4c00[_0x5c3a36(0x300)]);}catch{return{};}}['parseRawResponseBody'](){const _0x393bd7=a0_0x783dd6,_0x4612f5=this[_0x393bd7(0x29f)];if(_0x4612f5===![]||_0x4612f5===null||!_0x4612f5[_0x393bd7(0x28c)])return null;return parseResponseBody(_0x4612f5[_0x393bd7(0x28c)]);}[a0_0x783dd6(0x356)](){const _0x53c917=a0_0x783dd6;return this[_0x53c917(0x1e8)]();}[a0_0x783dd6(0x223)](){const _0x220ca9=a0_0x783dd6;return this[_0x220ca9(0x38e)]();}[a0_0x783dd6(0x276)](){const _0x1fc198=a0_0x783dd6,_0x5030cf=this[_0x1fc198(0x356)]();return Object[_0x1fc198(0x323)](_0x5030cf);}[a0_0x783dd6(0x11c)](){const _0x4fef03=a0_0x783dd6,_0x4a80bf=this[_0x4fef03(0x356)](),_0x2adfde={};return Object[_0x4fef03(0x1fe)](_0x4a80bf)[_0x4fef03(0x24b)](([_0x18e338,_0x4460ec])=>{const _0x18a079=_0x4fef03,_0x5c86ec=_0x4460ec;_0x2adfde[_0x18e338]=generateExampleValue(_0x18e338,_0x5c86ec['type']||_0x18a079(0x366),undefined,{'description':_0x5c86ec[_0x18a079(0x118)]});}),_0x2adfde;}[a0_0x783dd6(0x37a)](){const _0x20e38f=a0_0x783dd6;return this[_0x20e38f(0x11c)]();}['generateResponseExample'](){const _0x40a787=a0_0x783dd6,_0x23205d=this[_0x40a787(0x38e)]();if(!_0x23205d){const _0x39b342={};return _0x39b342[_0x40a787(0x3b7)]=!![],_0x39b342[_0x40a787(0x2a9)]=_0x40a787(0x36e),_0x39b342[_0x40a787(0x2fb)]='',_0x39b342['errorCode']=_0x40a787(0x3b3),_0x39b342[_0x40a787(0x269)]=null,_0x39b342;}return this[_0x40a787(0x25e)](_0x23205d);}[a0_0x783dd6(0x25e)](_0x39feef){const _0xe70c07=a0_0x783dd6;if(!_0x39feef||typeof _0x39feef!=='object')return{};if(Array[_0xe70c07(0x325)](_0x39feef))return _0x39feef[_0xe70c07(0x245)]>0x0?[this[_0xe70c07(0x25e)](_0x39feef[0x0])]:[];const _0x448cbf={};for(const [_0x4f2c60,_0x102dec]of Object[_0xe70c07(0x1fe)](_0x39feef)){if(_0x102dec&&typeof _0x102dec===_0xe70c07(0x3a6)&&!Array[_0xe70c07(0x325)](_0x102dec)){const _0x203236=_0x102dec;_0x448cbf[_0x4f2c60]=generateExampleValue(_0x4f2c60,_0x203236[_0xe70c07(0x2f0)]||_0xe70c07(0x366),undefined,{'description':_0x203236['description']});}else Array['isArray'](_0x102dec)?_0x448cbf[_0x4f2c60]=_0x102dec[_0xe70c07(0x245)]>0x0?[this['generateFromSchema'](_0x102dec[0x0])]:[]:_0x448cbf[_0x4f2c60]=_0x102dec;}return _0x448cbf;}[a0_0x783dd6(0x2bd)](_0x130fb5,_0x1ad096,_0x2adbf8,_0x399cfa){return generateExampleValue(_0x130fb5,_0x1ad096,_0x2adbf8,_0x399cfa);}[a0_0x783dd6(0x2ba)](_0x43e246,_0x14d736){const _0x23e4e2=a0_0x783dd6,_0x40880f=this['getName']();return'const\x20result\x20=\x20await\x20client.models.'+_0x43e246+'.'+_0x40880f+_0x23e4e2(0x2dc);}[a0_0x783dd6(0x21b)](_0x50907f){const _0x2dfecc=a0_0x783dd6,_0x1a0d4b=this[_0x2dfecc(0x255)](),_0x47124d=_0x50907f||_0x2dfecc(0x2f4),_0xf4856a={};return _0xf4856a['successCode']=_0x2dfecc(0x346)+_0x47124d+'.'+_0x1a0d4b+_0x2dfecc(0x2dc),_0xf4856a[_0x2dfecc(0x1f0)]=_0x2dfecc(0x3a8)+_0x47124d+'.'+_0x1a0d4b+_0x2dfecc(0x3ac),_0xf4856a;}[a0_0x783dd6(0x272)](){const _0x602f52=a0_0x783dd6,_0xf575d1=this[_0x602f52(0x356)](),_0x171bef=Object[_0x602f52(0x1fe)](_0xf575d1)[_0x602f52(0x2cb)](([_0x46a407,_0x11ab60])=>{const _0x59d7d4=_0x602f52,_0x70c988=_0x11ab60,_0x1133e7={};return _0x1133e7[_0x59d7d4(0x1f6)]=_0x46a407,_0x1133e7[_0x59d7d4(0x2f0)]=_0x70c988['type']||_0x59d7d4(0x366),_0x1133e7[_0x59d7d4(0x118)]=_0x70c988[_0x59d7d4(0x118)]||'-',_0x1133e7[_0x59d7d4(0x14d)]=_0x70c988[_0x59d7d4(0x14d)],_0x1133e7;}),_0x280fa0={};return _0x280fa0[_0x602f52(0x20f)]=_0x171bef,_0x280fa0;}[a0_0x783dd6(0x355)](){const _0x4a314a=a0_0x783dd6,_0x5c2e78=this['parseRawResponseBody']();if(!_0x5c2e78){const _0x48a248={};return _0x48a248[_0x4a314a(0x20f)]=[],_0x48a248;}const _0x591509=Object[_0x4a314a(0x1fe)](_0x5c2e78)[_0x4a314a(0x2cb)](([_0x9acd86,_0x377f1c])=>{const _0x32380d=_0x4a314a,_0x230506=_0x377f1c,_0x5f0e94={};return _0x5f0e94['name']=_0x9acd86,_0x5f0e94['type']=_0x230506[_0x32380d(0x2f0)]||_0x32380d(0x366),_0x5f0e94[_0x32380d(0x118)]=_0x230506[_0x32380d(0x118)]||'-',_0x5f0e94;}),_0x2df521={};return _0x2df521[_0x4a314a(0x20f)]=_0x591509,_0x2df521;}[a0_0x783dd6(0x2fc)](){return[];}[a0_0x783dd6(0x101)](){const _0x40467c=a0_0x783dd6;return this[_0x40467c(0x31d)][_0x40467c(0x28d)]||[];}[a0_0x783dd6(0x2aa)](){const _0x11db65=a0_0x783dd6;return{'systemFields':this[_0x11db65(0x2fc)](),'businessFields':this[_0x11db65(0x101)]()};}['getFieldDefinition'](_0x431ce9){const _0x255a84=a0_0x783dd6;return this['context'][_0x255a84(0x28d)][_0x255a84(0x292)](_0x1e53e4=>_0x1e53e4?.[_0x255a84(0x2eb)]===_0x431ce9);}[a0_0x783dd6(0x33e)](_0xe6ebe1){return _0xe6ebe1['code'];}[a0_0x783dd6(0x291)](_0x35a6df){const _0x476ac0=a0_0x783dd6;return _0x35a6df[_0x476ac0(0x2f0)];}['getFieldDisplayName'](_0x4ed583){const _0x1f6285=a0_0x783dd6;return _0x4ed583[_0x1f6285(0x1f6)];}[a0_0x783dd6(0x273)](_0x176d1c){const _0x19f5f2=a0_0x783dd6;return _0x176d1c[_0x19f5f2(0x118)];}[a0_0x783dd6(0x37d)](_0x29c135){return _0x29c135['getEnumOptions']()||null;}[a0_0x783dd6(0x19d)](_0x3e8de5){const _0x49c4e4=a0_0x783dd6;return _0x3e8de5[_0x49c4e4(0x207)]();}[a0_0x783dd6(0x253)](){return[];}[a0_0x783dd6(0x1dd)](_0x514e1f){return[];}[a0_0x783dd6(0x1fd)](){const _0xdfb59d=a0_0x783dd6;return{'name':this['getName'](),'displayName':this[_0xdfb59d(0x1e6)](),'type':this[_0xdfb59d(0x19f)](),'enabled':this[_0xdfb59d(0x284)](),'method':this[_0xdfb59d(0x114)](),'path':this['getPath'](),'fullUrl':this[_0xdfb59d(0x1d0)](),'requestParams':this[_0xdfb59d(0x356)](),'requestExample':this[_0xdfb59d(0x11c)](),'responseExample':this[_0xdfb59d(0x155)]()};}[a0_0x783dd6(0x231)](){const _0x5e247f=a0_0x783dd6,_0x51eff4=this[_0x5e247f(0x284)]()?'启用':'禁用';return this['getDisplayName']()+'('+this[_0x5e247f(0x1f6)]+',\x20'+_0x51eff4+')';}}class GenericOperation extends Operation{[a0_0x783dd6(0x102)];[a0_0x783dd6(0x356)](){return this['parseRawRequestBody']();}[a0_0x783dd6(0x223)](){return this['parseRawResponseBody']();}[a0_0x783dd6(0x11c)](){const _0x210c8d=a0_0x783dd6;if(this['_requestExampleCache'])return this['_requestExampleCache'];const _0x4595be={},_0x3063df=this[_0x210c8d(0x356)](),_0x5ce98c=this[_0x210c8d(0x19f)]();if(Object[_0x210c8d(0x323)](_0x3063df)[_0x210c8d(0x245)]===0x0&&_0x5ce98c){const _0x344053=this[_0x210c8d(0x101)]();return _0x344053[_0x210c8d(0x24b)](_0x5ed1f6=>{const _0x356a61=_0x210c8d,_0x562e30=_0x5ed1f6[_0x356a61(0x2eb)],_0x44925c=_0x5ed1f6[_0x356a61(0x2f0)],_0xdf3176=this[_0x356a61(0x2bd)](_0x562e30,_0x44925c,_0x5ed1f6[_0x356a61(0x1d3)](),{'isPrimaryKey':_0x5ed1f6[_0x356a61(0x207)](),'description':_0x5ed1f6[_0x356a61(0x118)]||_0x5ed1f6[_0x356a61(0x1f6)]});_0x4595be[_0x562e30]=_0xdf3176;}),this[_0x210c8d(0x102)]=_0x4595be,_0x4595be;}return Object[_0x210c8d(0x1fe)](_0x3063df)[_0x210c8d(0x24b)](([_0x5bf8d8,_0xd923b8])=>{const _0x353903=_0x210c8d,_0x3501f7=_0xd923b8;let _0x3139dc;if(typeof _0x3501f7[_0x353903(0x2f0)]===_0x353903(0x3ab))_0x3139dc=_0x3501f7[_0x353903(0x2f0)];else _0x3501f7[_0x353903(0x2f0)]&&typeof _0x3501f7['type']==='object'?_0x3139dc=_0x3501f7[_0x353903(0x2f0)]['type']||_0x353903(0x157):_0x3139dc=_0x353903(0x157);const _0xde23ef=_0x3501f7['description'],_0x530e60=this['getFieldDefinition'](_0x5bf8d8);if(_0x5bf8d8===_0x353903(0x1dc))_0x4595be[_0x5bf8d8]=0x1;else{if(_0x5bf8d8===_0x353903(0x358))_0x4595be[_0x5bf8d8]=0xa;else{if(_0x5bf8d8==='id')_0x4595be[_0x5bf8d8]=0x1;else{const _0x2fd4f9=_0x530e60?_0x530e60[_0x353903(0x1d3)]():undefined,_0x406875=_0x530e60?_0x530e60[_0x353903(0x118)]:undefined,_0xfa779c=_0x530e60?_0x530e60[_0x353903(0x1f6)]:undefined;_0x4595be[_0x5bf8d8]=this['generateFieldExample'](_0x5bf8d8,_0x3139dc,_0x2fd4f9||undefined,{'isPrimaryKey':_0x5bf8d8===this[_0x353903(0x31d)]['pkField']||_0x5bf8d8==='id','description':_0xde23ef||_0x406875||_0xfa779c});}}}}),this[_0x210c8d(0x102)]=_0x4595be,_0x4595be;}[a0_0x783dd6(0x155)](){const _0x149ca2=a0_0x783dd6,_0x4dac9c=this[_0x149ca2(0x223)]();if(!_0x4dac9c){const _0xc733be={};return _0xc733be['success']=!![],_0xc733be['msg']=_0x149ca2(0x36e),_0xc733be[_0x149ca2(0x2fb)]='',_0xc733be['errorCode']=_0x149ca2(0x3b3),_0xc733be[_0x149ca2(0x269)]=null,_0xc733be;}return this[_0x149ca2(0x25e)](_0x4dac9c);}[a0_0x783dd6(0x25e)](_0x2bc310){const _0x5d7a4d=a0_0x783dd6;if(!_0x2bc310||typeof _0x2bc310!==_0x5d7a4d(0x3a6))return{};if(Array['isArray'](_0x2bc310)){if(_0x2bc310['length']>0x0)return[this[_0x5d7a4d(0x25e)](_0x2bc310[0x0])];return[];}const _0xb04aee={};return Object[_0x5d7a4d(0x323)](_0x2bc310)[_0x5d7a4d(0x24b)](_0x32769a=>{const _0x4ffa84=_0x5d7a4d,_0x47c0a9=_0x2bc310[_0x32769a];if(_0x47c0a9&&typeof _0x47c0a9===_0x4ffa84(0x3a6)&&!Array['isArray'](_0x47c0a9)&&_0x47c0a9['type']){const _0x1500b2=_0x47c0a9;let _0x5d8f9d;if(typeof _0x1500b2[_0x4ffa84(0x2f0)]===_0x4ffa84(0x3ab))_0x5d8f9d=_0x1500b2[_0x4ffa84(0x2f0)];else _0x1500b2[_0x4ffa84(0x2f0)]&&typeof _0x1500b2[_0x4ffa84(0x2f0)]==='object'?_0x5d8f9d=_0x1500b2[_0x4ffa84(0x2f0)]['type']||'TEXT':_0x5d8f9d='TEXT';const _0x4e5823=_0x1500b2[_0x4ffa84(0x118)],_0x16d92a={};_0x16d92a[_0x4ffa84(0x118)]=_0x4e5823,_0xb04aee[_0x32769a]=this['generateFieldExample'](_0x32769a,_0x5d8f9d,undefined,_0x16d92a);}else{if(Array[_0x4ffa84(0x325)](_0x47c0a9))_0xb04aee[_0x32769a]=_0x47c0a9[_0x4ffa84(0x245)]>0x0?[this[_0x4ffa84(0x25e)](_0x47c0a9[0x0])]:[];else _0x47c0a9&&typeof _0x47c0a9==='object'?_0xb04aee[_0x32769a]=this['generateFromSchema'](_0x47c0a9):_0xb04aee[_0x32769a]=_0x47c0a9;}}),_0xb04aee;}[a0_0x783dd6(0x2ba)](_0x540c0b,_0xc930d5){const _0x28c655=a0_0x783dd6,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0xc930d5||{},_0x19cdd6=this[_0x28c655(0x255)](),_0x781967=this[_0x28c655(0x19f)](),_0x54aa05=this[_0x28c655(0x276)](),_0xbf2bf6=this['generateRequestExample'](),_0x24b2b7=_0x12e3c9=>{const _0x3a2f52=_0x28c655;if(Object['keys'](_0x12e3c9)[_0x3a2f52(0x245)]===0x0)return'{}';const _0x259e81=JSON[_0x3a2f52(0x38a)](_0x12e3c9,null,0x2)[_0x3a2f52(0x35d)]('\x0a')['map']((_0x15ceb2,_0x2559ea)=>_0x2559ea===0x0?_0x15ceb2:indent+_0x15ceb2)[_0x3a2f52(0x15a)]('\x0a');return _0x259e81;};switch(_0x781967){case _0x28c655(0x3a7):case _0x28c655(0x138):return _0x28c655(0x120)+_0x540c0b+'.'+_0x19cdd6+_0x28c655(0x31c);case'update':if(useFullExample&&Object[_0x28c655(0x323)](_0xbf2bf6)[_0x28c655(0x245)]>0x0)return _0x28c655(0x120)+_0x540c0b+'.'+_0x19cdd6+_0x28c655(0x25c)+_0x24b2b7(_0xbf2bf6)+');';return _0x28c655(0x120)+_0x540c0b+'.'+_0x19cdd6+_0x28c655(0x2b8);case'create':case _0x28c655(0x227):case'getSelectOptions':default:if(_0x54aa05[_0x28c655(0x245)]>0x0){if(useFullExample&&Object['keys'](_0xbf2bf6)[_0x28c655(0x245)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x540c0b+'.'+_0x19cdd6+'('+_0x24b2b7(_0xbf2bf6)+');';else{const _0x1c037a=Object['keys'](_0xbf2bf6);if(_0x1c037a[_0x28c655(0x245)]>0x0){const _0x39c6bc=_0x1c037a[_0x28c655(0x387)](0x0,0x2)[_0x28c655(0x15a)](',\x20');return'const\x20result\x20=\x20await\x20client.models.'+_0x540c0b+'.'+_0x19cdd6+_0x28c655(0x23f)+_0x39c6bc+_0x28c655(0x339);}else return _0x28c655(0x120)+_0x540c0b+'.'+_0x19cdd6+_0x28c655(0x203);}}else return'const\x20result\x20=\x20await\x20client.models.'+_0x540c0b+'.'+_0x19cdd6+_0x28c655(0x2dc);}}[a0_0x783dd6(0x2e0)](){const _0x306b98=a0_0x783dd6;return[{'title':_0x306b98(0x302),'data':this[_0x306b98(0x11c)]()}];}[a0_0x783dd6(0x2fc)](){const _0x27eda9=a0_0x783dd6,_0x5c8467=this[_0x27eda9(0x19f)](),_0x4203a2=[];switch(_0x5c8467){case _0x27eda9(0x3a7):case _0x27eda9(0x138):const _0x4bf641={};_0x4bf641['code']='id',_0x4bf641[_0x27eda9(0x2f0)]=_0x27eda9(0x152),_0x4bf641[_0x27eda9(0x118)]=_0x27eda9(0x169),_0x4203a2[_0x27eda9(0x14a)](_0x4bf641);break;case _0x27eda9(0x227):const _0x3eaee2={};_0x3eaee2[_0x27eda9(0x2eb)]='currentPage',_0x3eaee2[_0x27eda9(0x2f0)]=_0x27eda9(0x152),_0x3eaee2[_0x27eda9(0x118)]=_0x27eda9(0x230);const _0x3ea49c={};_0x3ea49c[_0x27eda9(0x2eb)]=_0x27eda9(0x358),_0x3ea49c[_0x27eda9(0x2f0)]=_0x27eda9(0x152),_0x3ea49c[_0x27eda9(0x118)]=_0x27eda9(0x383),_0x4203a2[_0x27eda9(0x14a)](_0x3eaee2,_0x3ea49c);break;case _0x27eda9(0x285):const _0x243a85={};_0x243a85['code']=_0x27eda9(0x2eb),_0x243a85['type']=_0x27eda9(0x3ae),_0x243a85[_0x27eda9(0x118)]=_0x27eda9(0x36f),_0x4203a2['push'](_0x243a85);break;default:break;}return _0x4203a2;}[a0_0x783dd6(0x101)](){const _0x29ae56=a0_0x783dd6,_0x3d128b=this[_0x29ae56(0x19f)](),_0x68b948=this['context'][_0x29ae56(0x28d)]||[];switch(_0x3d128b){case _0x29ae56(0x3a7):case _0x29ae56(0x138):return[];case _0x29ae56(0x374):return _0x68b948['filter'](_0x94e064=>{const _0x3b6880=_0x29ae56;if(_0x94e064['deleted'])return![];if(_0x94e064[_0x3b6880(0x207)]()&&_0x94e064[_0x3b6880(0x17d)]())return![];if(_0x94e064[_0x3b6880(0x36a)]())return![];if(_0x94e064[_0x3b6880(0x166)]()||_0x94e064[_0x3b6880(0x397)]())return![];return!![];});case _0x29ae56(0x242):return _0x68b948[_0x29ae56(0x391)](_0xfb0e7d=>{const _0x556990=_0x29ae56;if(_0xfb0e7d[_0x556990(0x377)])return![];if(_0xfb0e7d[_0x556990(0x207)]())return![];if(_0xfb0e7d['isSystem']())return![];if(_0xfb0e7d[_0x556990(0x166)]()||_0xfb0e7d[_0x556990(0x397)]())return![];if(_0xfb0e7d[_0x556990(0x17d)]())return![];return!![];});case _0x29ae56(0x227):case _0x29ae56(0x285):return _0x68b948[_0x29ae56(0x391)](_0x273af7=>!_0x273af7[_0x29ae56(0x377)]&&_0x273af7[_0x29ae56(0x28b)]());default:return _0x68b948['filter'](_0x14f6f1=>!_0x14f6f1['deleted']&&_0x14f6f1[_0x29ae56(0x28b)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x783dd6(0x356)](){const _0x3c724a=a0_0x783dd6,_0xccddbf=super[_0x3c724a(0x356)](),_0x16afc1=Object[_0x3c724a(0x323)](_0xccddbf);if(_0x16afc1[_0x3c724a(0x245)]===0x0||_0x16afc1[_0x3c724a(0x245)]===0x1&&_0x16afc1[0x0]===_0x3c724a(0x2eb)){if(!_0xccddbf[_0x3c724a(0x2eb)]){const _0x248a26={};_0x248a26[_0x3c724a(0x2f0)]=_0x3c724a(0x366),_0x248a26[_0x3c724a(0x118)]='字段编码',_0xccddbf[_0x3c724a(0x2eb)]=_0x248a26;}const _0x4d4fac={};_0x4d4fac[_0x3c724a(0x2f0)]=_0x3c724a(0x366),_0x4d4fac[_0x3c724a(0x118)]=_0x3c724a(0x37f),_0xccddbf['label']=_0x4d4fac;}return _0xccddbf;}[a0_0x783dd6(0x101)](){return[];}[a0_0x783dd6(0x2fc)](){const _0x527131=a0_0x783dd6,_0x138252={};_0x138252[_0x527131(0x2eb)]=_0x527131(0x2eb),_0x138252['type']=_0x527131(0x366),_0x138252[_0x527131(0x118)]=_0x527131(0x13e);const _0x2ab6f6={};return _0x2ab6f6[_0x527131(0x2eb)]=_0x527131(0x26b),_0x2ab6f6['type']=_0x527131(0x366),_0x2ab6f6[_0x527131(0x118)]=_0x527131(0x37f),[_0x138252,_0x2ab6f6];}[a0_0x783dd6(0x11c)](){const _0x6245bf=a0_0x783dd6,_0x392fc3={};return _0x392fc3['code']=_0x6245bf(0x288),_0x392fc3['label']=_0x6245bf(0x288),_0x392fc3;}['generateSDKCallCode'](_0x1c6269){const _0x1dd982=a0_0x783dd6,_0x27a207=this[_0x1dd982(0x255)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x1c6269+'.'+_0x27a207+_0x1dd982(0x1fa);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x482cfb=a0_0x783dd6,_0x24d725=super[_0x482cfb(0x356)](),{currentPage:_0x3d603d,pageSize:_0x45a6a5,..._0xefa9ea}=_0x24d725,_0x2baec5={};Object[_0x482cfb(0x1fe)](_0xefa9ea)[_0x482cfb(0x24b)](([_0x3e4f3b,_0x39749a])=>{const _0x58e75b=_0x482cfb;if(typeof _0x39749a===_0x58e75b(0x3a6)&&_0x39749a!==null){const _0x46e861=_0x39749a,_0xf95d0=_0x46e861['description']||'',_0x1163d5={..._0x46e861};_0x1163d5[_0x58e75b(0x118)]=_0xf95d0?_0xf95d0+_0x58e75b(0x332):'支持单值或数组',_0x2baec5[_0x3e4f3b]=_0x1163d5;}else _0x2baec5[_0x3e4f3b]=_0x39749a;});const _0x404ad3={...typeof _0x3d603d===_0x482cfb(0x3a6)?_0x3d603d:{}};_0x404ad3[_0x482cfb(0x2f0)]=_0x482cfb(0x1f7),_0x404ad3[_0x482cfb(0x118)]=_0x482cfb(0x230);const _0x382df1={...typeof _0x45a6a5===_0x482cfb(0x3a6)?_0x45a6a5:{}};_0x382df1[_0x482cfb(0x2f0)]='Number',_0x382df1[_0x482cfb(0x118)]='每页数量';const _0x505ee8={..._0x2baec5};return _0x505ee8[_0x482cfb(0x1dc)]=_0x404ad3,_0x505ee8[_0x482cfb(0x358)]=_0x382df1,_0x505ee8;}[a0_0x783dd6(0x11c)](_0x4229fd){const _0x146455=a0_0x783dd6,{useArrayValues:useArrayValues=!![]}=_0x4229fd||{},_0x45a7bd=super[_0x146455(0x11c)](),{currentPage:_0x570177,pageSize:_0x2ba7bb,..._0x295338}=_0x45a7bd;if(!useArrayValues){const _0x2d3568={..._0x295338};return _0x2d3568[_0x146455(0x1dc)]=_0x570177??0x1,_0x2d3568[_0x146455(0x358)]=_0x2ba7bb??0xa,_0x2d3568;}const _0x446289={},_0x94deba=['id',_0x146455(0x215),'code','type'];Object[_0x146455(0x1fe)](_0x295338)[_0x146455(0x24b)](([_0x412e7c,_0x14b559],_0x11c934)=>{const _0x2d0e2d=_0x146455,_0x400635=_0x94deba[_0x2d0e2d(0x35a)](_0x5b805f=>_0x412e7c[_0x2d0e2d(0x26c)]()[_0x2d0e2d(0x35b)](_0x5b805f))||_0x11c934%0x3===0x0;if(_0x400635&&_0x14b559!==null&&_0x14b559!==undefined){if(typeof _0x14b559===_0x2d0e2d(0x154))_0x446289[_0x412e7c]=[_0x14b559,_0x14b559+0x1,_0x14b559+0x2];else typeof _0x14b559==='string'?_0x446289[_0x412e7c]=[_0x14b559,_0x14b559+'_2',_0x14b559+'_3']:_0x446289[_0x412e7c]=[_0x14b559];}else _0x446289[_0x412e7c]=_0x14b559;});const _0x555df6={..._0x446289};return _0x555df6[_0x146455(0x1dc)]=_0x570177??0x1,_0x555df6[_0x146455(0x358)]=_0x2ba7bb??0xa,_0x555df6;}[a0_0x783dd6(0x153)](){const _0x511efc=a0_0x783dd6,_0x1fdefb={};return _0x1fdefb[_0x511efc(0x304)]=![],this['generateRequestExample'](_0x1fdefb);}[a0_0x783dd6(0x2e0)](){const _0x5261bb=a0_0x783dd6;return[{'title':'单值查询','description':_0x5261bb(0x2d3),'data':this['generateSingleValueExample']()},{'title':_0x5261bb(0x2b9),'description':_0x5261bb(0x278),'data':this['generateRequestExample']()}];}[a0_0x783dd6(0x2ba)](_0x12505b,_0x1584f7){const _0x4fef2b=a0_0x783dd6,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1584f7||{},_0x50f490=this[_0x4fef2b(0x255)](),_0x44ee17={};_0x44ee17['useArrayValues']=!![];const _0x5ea473=this[_0x4fef2b(0x11c)](_0x44ee17),{currentPage:_0x3f850c,pageSize:_0x33d7c9,..._0xf6ddfa}=_0x5ea473;if(useFullExample&&Object[_0x4fef2b(0x323)](_0x5ea473)[_0x4fef2b(0x245)]>0x0){const _0x21e5d1=Object[_0x4fef2b(0x323)](_0xf6ddfa)[_0x4fef2b(0x245)]>0x0;if(_0x21e5d1){const _0x3e0e56=this[_0x4fef2b(0x153)](),_0x3c1fa0=_0x35dd4f=>{const _0x1a6885=_0x4fef2b;return JSON[_0x1a6885(0x38a)](_0x35dd4f,null,0x2)['split']('\x0a')[_0x1a6885(0x2cb)]((_0x545ced,_0x1a2f0a)=>_0x1a2f0a===0x0?_0x545ced:indent+_0x545ced)['join']('\x0a');};return _0x4fef2b(0x121)+_0x12505b+'.'+_0x50f490+'('+_0x3c1fa0(_0x3e0e56)+');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x12505b+'.'+_0x50f490+'('+_0x3c1fa0(_0x5ea473)+');';}else{const _0x445a92=JSON[_0x4fef2b(0x38a)](_0x5ea473,null,0x2)[_0x4fef2b(0x35d)]('\x0a')['map']((_0x351746,_0x123de9)=>_0x123de9===0x0?_0x351746:indent+_0x351746)['join']('\x0a');return _0x4fef2b(0x120)+_0x12505b+'.'+_0x50f490+'('+_0x445a92+');';}}if(Object[_0x4fef2b(0x323)](_0xf6ddfa)['length']>0x0){const _0x5a8c59=Object['keys'](_0xf6ddfa)[0x0];return _0x4fef2b(0x120)+_0x12505b+'.'+_0x50f490+_0x4fef2b(0x23f)+_0x5a8c59+_0x4fef2b(0x1b3);}return _0x4fef2b(0x120)+_0x12505b+'.'+_0x50f490+_0x4fef2b(0x1c3);}}var AGGREGATE_FUNCTIONS=[a0_0x783dd6(0x295),a0_0x783dd6(0x309),a0_0x783dd6(0x15d),a0_0x783dd6(0x19e),a0_0x783dd6(0x26a)],FILTER_OPERATORS=[a0_0x783dd6(0x2ac),'$ne',a0_0x783dd6(0x30c),a0_0x783dd6(0x2b0),a0_0x783dd6(0x22d),a0_0x783dd6(0x2b6),a0_0x783dd6(0x158),a0_0x783dd6(0x263),a0_0x783dd6(0x1bc),a0_0x783dd6(0x318),'$and',a0_0x783dd6(0x1cf)];class FilterOperation extends GenericOperation{constructor(_0x308569,_0x2092ca,_0x2bd03e){super(_0x308569,_0x2092ca,_0x2bd03e);}[a0_0x783dd6(0x253)](){return FILTER_OPERATORS;}[a0_0x783dd6(0x1dd)](_0x3d800e){const _0x1a3b29=a0_0x783dd6,_0x9138e7=this[_0x1a3b29(0x26e)](_0x3d800e);if(!_0x9138e7)return[];return this[_0x1a3b29(0x305)](_0x9138e7);}[a0_0x783dd6(0x356)](){const _0x3e28c2=a0_0x783dd6,_0x42dd10=super[_0x3e28c2(0x356)](),_0x15d37d={};_0x15d37d[_0x3e28c2(0x2f0)]='Object',_0x15d37d[_0x3e28c2(0x118)]='查询条件(支持\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)',_0x15d37d['required']=![];const _0x313d39={};_0x313d39[_0x3e28c2(0x2f0)]='String[]',_0x313d39[_0x3e28c2(0x118)]='返回字段列表(字段投影)',_0x313d39['required']=![];const _0x7f675b={};_0x7f675b[_0x3e28c2(0x2f0)]=_0x3e28c2(0x13b),_0x7f675b['description']='排序规则',_0x7f675b[_0x3e28c2(0x14d)]=![];const _0x2d319b={};_0x2d319b[_0x3e28c2(0x2f0)]=_0x3e28c2(0x1f7),_0x2d319b['description']='当前页码',_0x2d319b[_0x3e28c2(0x14d)]=![],_0x2d319b['default']=0x1;const _0xbaaabd={};_0xbaaabd[_0x3e28c2(0x2f0)]='Number',_0xbaaabd[_0x3e28c2(0x118)]=_0x3e28c2(0x33d),_0xbaaabd[_0x3e28c2(0x14d)]=![],_0xbaaabd[_0x3e28c2(0x30d)]=0xa;const _0x92a2fc={..._0x42dd10};return _0x92a2fc[_0x3e28c2(0x234)]=_0x15d37d,_0x92a2fc['select']=_0x313d39,_0x92a2fc['orderBy']=_0x7f675b,_0x92a2fc['currentPage']=_0x2d319b,_0x92a2fc['pageSize']=_0xbaaabd,_0x92a2fc;}[a0_0x783dd6(0x2fc)](){const _0x1550c6=a0_0x783dd6,_0x10be63=this[_0x1550c6(0x356)](),_0x5e7990=[],_0xd17b13=[_0x1550c6(0x234),_0x1550c6(0x232),'orderBy','currentPage',_0x1550c6(0x358)];return Object[_0x1550c6(0x1fe)](_0x10be63)['forEach'](([_0x11e48b,_0xa73de7])=>{const _0x3d64fc=_0x1550c6;if(_0xd17b13[_0x3d64fc(0x35b)](_0x11e48b)){const _0x332a12=_0xa73de7,_0x494a90={};_0x494a90[_0x3d64fc(0x2eb)]=_0x11e48b,_0x494a90['type']=_0x332a12[_0x3d64fc(0x2f0)]||_0x3d64fc(0x16c),_0x494a90[_0x3d64fc(0x118)]=_0x332a12['description']||'-',_0x5e7990['push'](_0x494a90);}}),_0x5e7990;}[a0_0x783dd6(0x101)](){const _0x38dc8a=a0_0x783dd6;return this[_0x38dc8a(0x31d)][_0x38dc8a(0x28d)]||[];}['getGroupedParams'](){const _0x386cf2=a0_0x783dd6;return{'systemParams':this['getSystemFields'](),'businessFields':this[_0x386cf2(0x101)]()};}[a0_0x783dd6(0x11c)](){const _0x24c5fd=a0_0x783dd6,_0x3efdcf=this[_0x24c5fd(0x31d)][_0x24c5fd(0x28d)]||[];if(_0x3efdcf[_0x24c5fd(0x245)]===0x0){const _0x46e3b6={};return _0x46e3b6['where']={},_0x46e3b6[_0x24c5fd(0x1dc)]=0x1,_0x46e3b6[_0x24c5fd(0x358)]=0x14,_0x46e3b6;}const _0x3d8288={},_0x10b639=_0x3efdcf[_0x24c5fd(0x387)](0x0,Math['min'](0x3,_0x3efdcf['length']));_0x10b639['forEach'](_0xd9322f=>{const _0x1b198e=_0x24c5fd,_0x49fb79=this[_0x1b198e(0x305)](_0xd9322f);if(_0x49fb79[_0x1b198e(0x245)]===0x0)return;const _0x40cf57=this[_0x1b198e(0x2e6)](_0xd9322f,_0x49fb79),_0x480097=this['generateExampleValue'](_0xd9322f,_0x40cf57),_0x27c873={};_0x27c873[_0x40cf57]=_0x480097,_0x3d8288[_0xd9322f['code']]=_0x27c873;});const _0x204e71=_0x3efdcf[_0x24c5fd(0x387)](0x0,Math['min'](0x5,_0x3efdcf['length']))[_0x24c5fd(0x2cb)](_0x161f33=>_0x161f33[_0x24c5fd(0x2eb)]),_0x25758f=_0x3efdcf[0x0]?_0x3efdcf[0x0][_0x24c5fd(0x2eb)]:'id',_0x34f1b6={};_0x34f1b6[_0x25758f]='DESC';const _0x4c87a9={};return _0x4c87a9['where']=_0x3d8288,_0x4c87a9[_0x24c5fd(0x232)]=_0x204e71,_0x4c87a9[_0x24c5fd(0x349)]=[_0x34f1b6],_0x4c87a9[_0x24c5fd(0x1dc)]=0x1,_0x4c87a9[_0x24c5fd(0x358)]=0x14,_0x4c87a9;}['generateSDKCallCode'](_0x49d833,_0x28beef){const _0x90bc74=a0_0x783dd6,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x28beef||{},_0x1c4457=this['getName'](),_0x41caa4=this['generateRequestExample'](),_0x1a0dc7=_0x657019=>{const _0x12f45d=a0_0x5163;return JSON[_0x12f45d(0x38a)](_0x657019,null,0x2)['split']('\x0a')[_0x12f45d(0x2cb)]((_0x36cdf5,_0x38e3d7)=>_0x38e3d7===0x0?_0x36cdf5:indent+_0x36cdf5)['join']('\x0a');};if(useFullExample){const _0x3c9363=this[_0x90bc74(0x31d)]['fields']||[],_0x5c4181={'where':_0x3c9363[0x0]?{[_0x3c9363[0x0][_0x90bc74(0x2eb)]]:{'$eq':this['generateExampleValue'](_0x3c9363[0x0],_0x90bc74(0x2ac))}}:{},'select':_0x3c9363[_0x90bc74(0x387)](0x0,0x3)[_0x90bc74(0x2cb)](_0x47f074=>_0x47f074[_0x90bc74(0x2eb)]),'currentPage':0x1,'pageSize':0x14};let _0x37bd0c='';if(_0x3c9363[_0x90bc74(0x245)]>=0x3){const _0x3ea608={};_0x3ea608[_0x90bc74(0x3a3)]=[];const _0x58151a=_0x3ea608,_0x38a8d5=[];if(_0x3c9363[_0x90bc74(0x245)]>0x0){const _0x32f3cd=_0x3c9363[_0x90bc74(0x292)](_0x16fbb2=>{const _0x5ddc49=_0x90bc74,_0xe89ede=_0x16fbb2[_0x5ddc49(0x1d3)]();return['NUMBER','INTEGER',_0x5ddc49(0x1c5),_0x5ddc49(0x331),_0x5ddc49(0x12d),'SMALLINT'][_0x5ddc49(0x35b)](_0xe89ede);});if(_0x32f3cd){const _0x190ec1={};_0x190ec1[_0x90bc74(0x30c)]=0x0,_0x190ec1['$lte']=0x64;const _0x7e8ffa={[_0x32f3cd['code']]:_0x190ec1};_0x38a8d5[_0x90bc74(0x14a)](_0x7e8ffa);}}if(_0x3c9363[_0x90bc74(0x245)]>0x1){const _0x27799f=_0x3c9363[_0x90bc74(0x292)](_0x2bbf54=>{const _0x8a7571=_0x90bc74,_0x59c3bf=_0x2bbf54[_0x8a7571(0x1d3)]();return['STRING',_0x8a7571(0x157),'VARCHAR',_0x8a7571(0x13a),_0x8a7571(0x10b)][_0x8a7571(0x35b)](_0x59c3bf);});if(_0x27799f){const _0xe1ed76={};_0xe1ed76[_0x90bc74(0x263)]=_0x90bc74(0x16a);const _0x5e5adb={[_0x27799f['code']]:_0xe1ed76};_0x38a8d5[_0x90bc74(0x14a)](_0x5e5adb);}}if(_0x38a8d5[_0x90bc74(0x245)]>0x0){_0x58151a[_0x90bc74(0x3a3)]=_0x38a8d5;const _0x3f0568={'where':_0x58151a,'select':_0x3c9363['slice'](0x0,0x4)['map'](_0x1c49f6=>_0x1c49f6[_0x90bc74(0x2eb)]),'orderBy':[{[_0x3c9363[0x0][_0x90bc74(0x2eb)]]:_0x90bc74(0x34b)}],'currentPage':0x1,'pageSize':0x14};_0x37bd0c=_0x90bc74(0x10c)+_0x49d833+'.'+_0x1c4457+'('+_0x1a0dc7(_0x3f0568)+');';}}return _0x90bc74(0x37b)+_0x49d833+'.'+_0x1c4457+'('+_0x1a0dc7(_0x5c4181)+');'+_0x37bd0c;}const _0x8815a0=JSON[_0x90bc74(0x38a)](_0x41caa4,null,0x2)[_0x90bc74(0x35d)]('\x0a')['map']((_0x27a6da,_0x20edae)=>_0x20edae===0x0?_0x27a6da:indent+_0x27a6da)[_0x90bc74(0x15a)]('\x0a');return _0x90bc74(0x120)+_0x49d833+'.'+_0x1c4457+'('+_0x8815a0+');';}[a0_0x783dd6(0x305)](_0x229a3f){const _0x55cc0b=a0_0x783dd6,_0x276ac0=_0x229a3f[_0x55cc0b(0x1d3)](),_0xed71ed=[];if(['NUMBER',_0x55cc0b(0x246),_0x55cc0b(0x1c5),'DECIMAL'][_0x55cc0b(0x35b)](_0x276ac0)||[_0x55cc0b(0x331),_0x55cc0b(0x12d),_0x55cc0b(0x2e1),'DOUBLE',_0x55cc0b(0x113)][_0x55cc0b(0x35b)](_0x276ac0))_0xed71ed[_0x55cc0b(0x14a)](_0x55cc0b(0x2ac),_0x55cc0b(0x194),'$gte','$lte',_0x55cc0b(0x2b0),_0x55cc0b(0x2b6),_0x55cc0b(0x158));else{if(['STRING',_0x55cc0b(0x157),_0x55cc0b(0x3af)][_0x55cc0b(0x35b)](_0x276ac0)||[_0x55cc0b(0x13a),'LONGTEXT'][_0x55cc0b(0x35b)](_0x276ac0))_0xed71ed[_0x55cc0b(0x14a)]('$eq',_0x55cc0b(0x194),_0x55cc0b(0x158),_0x55cc0b(0x263),_0x55cc0b(0x1bc),'$endWith');else{if(['DATE','DATETIME',_0x55cc0b(0x106)]['includes'](_0x276ac0)||[_0x55cc0b(0x147)][_0x55cc0b(0x35b)](_0x276ac0))_0xed71ed[_0x55cc0b(0x14a)](_0x55cc0b(0x2ac),_0x55cc0b(0x194),'$gte',_0x55cc0b(0x22d),_0x55cc0b(0x2b0),_0x55cc0b(0x2b6));else[_0x55cc0b(0x24f),_0x55cc0b(0x23a),'BIT']['includes'](_0x276ac0)?_0xed71ed['push'](_0x55cc0b(0x2ac),'$ne'):_0xed71ed['push'](_0x55cc0b(0x2ac),'$ne');}}return _0xed71ed;}[a0_0x783dd6(0x2e6)](_0x598d75,_0x1465ec){const _0x397533=a0_0x783dd6,_0x2b15a7=_0x598d75[_0x397533(0x1d3)]();if([_0x397533(0x152),_0x397533(0x246),_0x397533(0x1c5),'DECIMAL']['includes'](_0x2b15a7)||[_0x397533(0x331),_0x397533(0x12d),_0x397533(0x2e1),_0x397533(0x290),'FLOAT'][_0x397533(0x35b)](_0x2b15a7))return _0x1465ec[_0x397533(0x35b)](_0x397533(0x30c))?_0x397533(0x30c):'$eq';if([_0x397533(0x3ae),_0x397533(0x157),'VARCHAR'][_0x397533(0x35b)](_0x2b15a7)||[_0x397533(0x13a),'LONGTEXT'][_0x397533(0x35b)](_0x2b15a7))return _0x1465ec['includes']('$contain')?_0x397533(0x263):_0x397533(0x2ac);if([_0x397533(0x313),'DATETIME',_0x397533(0x106),_0x397533(0x147)][_0x397533(0x35b)](_0x2b15a7))return _0x1465ec[_0x397533(0x35b)](_0x397533(0x30c))?_0x397533(0x30c):_0x397533(0x2ac);return _0x397533(0x2ac);}[a0_0x783dd6(0x1f9)](_0x376364,_0x4201ca){const _0x2701d6=a0_0x783dd6,_0x3db6e6=_0x376364[_0x2701d6(0x1d3)](),_0x16e388=_0x376364[_0x2701d6(0x252)]();if(_0x16e388&&_0x16e388['length']>0x0){if(_0x4201ca===_0x2701d6(0x158))return _0x16e388[_0x2701d6(0x387)](0x0,0x2)['map'](_0x37a95c=>_0x37a95c['value']);return _0x16e388[0x0][_0x2701d6(0x20d)];}if([_0x2701d6(0x152),_0x2701d6(0x246),_0x2701d6(0x1c5),'DECIMAL'][_0x2701d6(0x35b)](_0x3db6e6)||[_0x2701d6(0x331),'TINYINT',_0x2701d6(0x2e1),'DOUBLE','FLOAT'][_0x2701d6(0x35b)](_0x3db6e6)){if(_0x4201ca===_0x2701d6(0x158))return[0x1,0x2,0x3];if(_0x4201ca===_0x2701d6(0x30c)||_0x4201ca===_0x2701d6(0x2b0))return 0x0;if(_0x4201ca===_0x2701d6(0x22d)||_0x4201ca===_0x2701d6(0x2b6))return 0x64;return 0x1;}if([_0x2701d6(0x3ae),_0x2701d6(0x157),_0x2701d6(0x3af)][_0x2701d6(0x35b)](_0x3db6e6)||[_0x2701d6(0x13a),_0x2701d6(0x10b)][_0x2701d6(0x35b)](_0x3db6e6)){if(_0x4201ca===_0x2701d6(0x158))return[_0x2701d6(0x370),_0x2701d6(0x167)];if(_0x4201ca===_0x2701d6(0x263))return'keyword';if(_0x4201ca===_0x2701d6(0x1bc))return _0x2701d6(0x172);if(_0x4201ca==='$endWith')return _0x2701d6(0x1b0);return _0x2701d6(0x20d);}if([_0x2701d6(0x313),_0x2701d6(0x282),_0x2701d6(0x106),_0x2701d6(0x147)][_0x2701d6(0x35b)](_0x3db6e6)){if(_0x4201ca==='$gte'||_0x4201ca===_0x2701d6(0x2b0))return _0x2701d6(0x2bc);if(_0x4201ca===_0x2701d6(0x22d)||_0x4201ca==='$lteq')return _0x2701d6(0x260);return _0x2701d6(0x2bc);}if([_0x2701d6(0x24f),'BOOL',_0x2701d6(0x184)][_0x2701d6(0x35b)](_0x3db6e6))return!![];return _0x4201ca===_0x2701d6(0x158)?[_0x2701d6(0x370),_0x2701d6(0x167)]:_0x2701d6(0x20d);}[a0_0x783dd6(0x272)](){const _0x3ea37b=a0_0x783dd6,_0x31d80c=super[_0x3ea37b(0x356)](),_0x5b322e=Object['entries'](_0x31d80c)[_0x3ea37b(0x391)](([_0x2b2418])=>_0x2b2418!==_0x3ea37b(0x1dc)&&_0x2b2418!==_0x3ea37b(0x358))['map'](([_0x4ee9cd,_0x4cfb5b])=>{const _0x45d2b9=_0x3ea37b,_0x3d0ba7=_0x4cfb5b,_0x3fc3c5={};return _0x3fc3c5[_0x45d2b9(0x1f6)]=_0x4ee9cd,_0x3fc3c5[_0x45d2b9(0x2f0)]=_0x3d0ba7[_0x45d2b9(0x2f0)]||'String',_0x3fc3c5[_0x45d2b9(0x118)]=_0x3d0ba7['description']||'-',_0x3fc3c5['required']=_0x3d0ba7[_0x45d2b9(0x14d)],_0x3fc3c5;}),_0x2e743e={};return _0x2e743e[_0x3ea37b(0x118)]=_0x3ea37b(0x2cf),_0x2e743e[_0x3ea37b(0x20f)]=_0x5b322e,_0x2e743e;}}class ExcelExportOperation extends GenericOperation{[a0_0x783dd6(0x356)](){const _0x59c401=a0_0x783dd6,_0x14c684=super[_0x59c401(0x356)]();if(Object[_0x59c401(0x323)](_0x14c684)['length']===0x0){const _0x269d08={};this[_0x59c401(0x31d)][_0x59c401(0x28d)][_0x59c401(0x24b)](_0xc1b888=>{const _0x1faef2=_0x59c401;if(_0xc1b888){const _0x58da40=_0xc1b888[_0x1faef2(0x2eb)],_0xb459dc=_0xc1b888[_0x1faef2(0x1d3)](),_0x576d7a={};_0x576d7a[_0x1faef2(0x2f0)]=_0xb459dc||_0x1faef2(0x157),_0x576d7a[_0x1faef2(0x266)]=_0xc1b888[_0x1faef2(0x266)],_0x576d7a['description']=_0xc1b888[_0x1faef2(0x118)]||_0xc1b888[_0x1faef2(0x1f6)],_0x269d08[_0x58da40]=_0x576d7a;}});const _0x4c7431={};_0x4c7431[_0x59c401(0x2f0)]=_0x59c401(0x376),_0x4c7431[_0x59c401(0x118)]=_0x59c401(0x10f),_0x269d08[_0x59c401(0x1dc)]=_0x4c7431;const _0x4b0465={};return _0x4b0465[_0x59c401(0x2f0)]=_0x59c401(0x376),_0x4b0465[_0x59c401(0x118)]=_0x59c401(0x33a),_0x269d08[_0x59c401(0x358)]=_0x4b0465,_0x269d08;}return _0x14c684;}['generateRequestExample'](){const _0x33daeb=a0_0x783dd6,_0x4aa9ff=super[_0x33daeb(0x11c)]();if(Object['keys'](_0x4aa9ff)[_0x33daeb(0x245)]===0x0){const _0x3c8ed5={};return _0x3c8ed5[_0x33daeb(0x1dc)]=0x1,_0x3c8ed5[_0x33daeb(0x358)]=0x64,_0x3c8ed5;}const _0x1101ea={..._0x4aa9ff};return _0x1101ea[_0x33daeb(0x1dc)]=_0x4aa9ff[_0x33daeb(0x1dc)]??0x1,_0x1101ea[_0x33daeb(0x358)]=_0x4aa9ff[_0x33daeb(0x358)]??0x64,_0x1101ea;}[a0_0x783dd6(0x155)](){const _0x1846de=a0_0x783dd6,_0x1517c5={};return _0x1517c5[_0x1846de(0x3b7)]=!![],_0x1517c5[_0x1846de(0x2a9)]='',_0x1517c5[_0x1846de(0x2fb)]='',_0x1517c5[_0x1846de(0x1f0)]='0000',_0x1517c5[_0x1846de(0x269)]=_0x1846de(0x2f2),_0x1517c5[_0x1846de(0x20f)]=null,_0x1517c5;}[a0_0x783dd6(0x2ba)](_0x5cbee4,_0x2b2964){const _0x479646=a0_0x783dd6,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2b2964||{},_0x4eb53f=this[_0x479646(0x255)]();if(useFullExample){const _0x170aaa=this[_0x479646(0x11c)](),{currentPage:_0x34618,pageSize:_0x2bec4a,..._0x5078bf}=_0x170aaa,_0x3b2b6f=Object[_0x479646(0x323)](_0x5078bf)[_0x479646(0x245)]>0x0;if(_0x3b2b6f){const _0x5e6205=_0x5bbd1b=>{const _0x2985eb=_0x479646;return JSON[_0x2985eb(0x38a)](_0x5bbd1b,null,0x2)[_0x2985eb(0x35d)]('\x0a')[_0x2985eb(0x2cb)]((_0x13af35,_0x8668ae)=>_0x8668ae===0x0?_0x13af35:indent+_0x13af35)[_0x2985eb(0x15a)]('\x0a');};return _0x479646(0x1a5)+_0x5cbee4+'.'+_0x4eb53f+_0x479646(0x220)+_0x5cbee4+'.'+_0x4eb53f+'('+_0x5e6205(_0x170aaa)+');';}else{const _0x695ef9=_0x45addb=>{const _0x5ed189=_0x479646;return JSON[_0x5ed189(0x38a)](_0x45addb,null,0x2)['split']('\x0a')[_0x5ed189(0x2cb)]((_0x4425ec,_0x2d4a17)=>_0x2d4a17===0x0?_0x4425ec:indent+_0x4425ec)['join']('\x0a');},_0x37df8c={};return _0x37df8c[_0x479646(0x1dc)]=0x1,_0x37df8c['pageSize']=0x64,_0x479646(0x1a5)+_0x5cbee4+'.'+_0x4eb53f+_0x479646(0x18d)+_0x5cbee4+'.'+_0x4eb53f+'('+_0x695ef9(_0x37df8c)+');';}}return _0x479646(0x32c)+_0x5cbee4+'.'+_0x4eb53f+_0x479646(0x1f5);}[a0_0x783dd6(0x21b)](_0x1818ae){const _0x3a0e8c=a0_0x783dd6,_0x219579=this[_0x3a0e8c(0x255)](),_0x5272b5=_0x1818ae||_0x3a0e8c(0x2f4),_0x15f12c=_0x3a0e8c(0x297)+_0x5272b5+'.'+_0x219579+_0x3a0e8c(0x2d1),_0x8b0d05='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x5272b5+'.'+_0x219579+_0x3a0e8c(0x2ca),_0x376011={};return _0x376011[_0x3a0e8c(0x27f)]=_0x15f12c,_0x376011[_0x3a0e8c(0x1f0)]=_0x8b0d05,_0x376011;}}class UpdateOperation extends GenericOperation{[a0_0x783dd6(0x1a6)](){const _0x4649b7=a0_0x783dd6;return this[_0x4649b7(0x1e8)]();}[a0_0x783dd6(0x356)](){const _0x21fa7f=a0_0x783dd6,_0x24c68a=this[_0x21fa7f(0x1a6)](),_0x315273={};_0x315273[_0x21fa7f(0x2f0)]=_0x21fa7f(0x152),_0x315273[_0x21fa7f(0x118)]=_0x21fa7f(0x2d6),_0x315273[_0x21fa7f(0x14d)]=!![];const _0x241c59={};_0x241c59[_0x21fa7f(0x2f0)]=_0x21fa7f(0x3a6),_0x241c59[_0x21fa7f(0x118)]=_0x21fa7f(0x347),_0x241c59[_0x21fa7f(0x14d)]=!![],_0x241c59['properties']=_0x24c68a;const _0x221207={};return _0x221207['id']=_0x315273,_0x221207[_0x21fa7f(0x269)]=_0x241c59,_0x221207;}['getUpdatableFields'](){const _0x6bd41=a0_0x783dd6;return this[_0x6bd41(0x1a6)]();}[a0_0x783dd6(0x141)](){const _0x3c6c85=a0_0x783dd6,_0x472404=this[_0x3c6c85(0x31d)]['fields']||[],_0x5e1489=this[_0x3c6c85(0x31d)][_0x3c6c85(0x2c9)],_0x213a3e=_0x472404[_0x3c6c85(0x292)](_0x30f0d2=>_0x30f0d2[_0x3c6c85(0x207)]()||_0x30f0d2['code']===_0x5e1489),_0x21eb9d=_0x472404[_0x3c6c85(0x391)](_0x53fe62=>{const _0x33891d=_0x3c6c85;if(_0x53fe62[_0x33891d(0x377)])return![];if(_0x53fe62===_0x213a3e||_0x53fe62[_0x33891d(0x207)]())return![];if(_0x53fe62[_0x33891d(0x166)]()||_0x53fe62[_0x33891d(0x397)]())return![];if(_0x53fe62['isAutoIncrement']())return![];return!![];});return _0x213a3e?[_0x213a3e,..._0x21eb9d]:_0x21eb9d;}[a0_0x783dd6(0x2b2)](){const _0xf2941f=a0_0x783dd6,_0x58918b=this[_0xf2941f(0x141)](),_0x15da58=this[_0xf2941f(0x31d)][_0xf2941f(0x2c9)],_0x14ace5=_0x58918b[_0xf2941f(0x2cb)](_0x438724=>{const _0x34cbd5=_0xf2941f,_0x161e83=_0x438724[_0x34cbd5(0x207)]()||_0x438724[_0x34cbd5(0x2eb)]===_0x15da58,_0x272b9f=_0x161e83?'id':_0x438724['code'],_0x282696={};return _0x282696[_0x34cbd5(0x1f6)]=_0x272b9f,_0x282696['type']=_0x438724[_0x34cbd5(0x2f0)],_0x282696['description']=_0x161e83?_0x34cbd5(0x1a3)+(_0x15da58&&_0x15da58!==_0x438724['code']?_0x34cbd5(0x173)+_0x438724['code']+')':''):_0x438724[_0x34cbd5(0x118)]||_0x438724['name'],_0x282696;}),_0x3e1fb5={};return _0x3e1fb5[_0xf2941f(0x118)]=_0xf2941f(0x21a),_0x3e1fb5[_0xf2941f(0x20f)]=_0x14ace5,_0x3e1fb5;}[a0_0x783dd6(0x272)](){const _0x2508d7=a0_0x783dd6,_0x57fb0b=this[_0x2508d7(0x1a6)](),_0x5085cc=Object[_0x2508d7(0x1fe)](_0x57fb0b)['map'](([_0x1851e5,_0x5e619a])=>{const _0x106d86=_0x2508d7,_0x16f765=_0x5e619a,_0x139563={};return _0x139563[_0x106d86(0x1f6)]=_0x1851e5,_0x139563['type']=_0x16f765[_0x106d86(0x2f0)]||_0x106d86(0x366),_0x139563[_0x106d86(0x118)]=_0x16f765[_0x106d86(0x118)]||'-',_0x139563;}),_0x5cbd1e={};return _0x5cbd1e[_0x2508d7(0x118)]='update\x20接口接受两个参数:\x0a\x0a'+'**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a'+_0x2508d7(0x14e)+'**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a'+_0x2508d7(0x180)+_0x2508d7(0x32b),_0x5cbd1e['params']=_0x5085cc,_0x5cbd1e;}[a0_0x783dd6(0x11c)](){const _0x1dbe7c=a0_0x783dd6,_0x4b81d3=this[_0x1dbe7c(0x1a6)](),_0x57b384={};Object['entries'](_0x4b81d3)[_0x1dbe7c(0x24b)](([_0x57e2bd,_0x42ba0f])=>{const _0x4da780=_0x1dbe7c,_0x377062=_0x42ba0f;let _0x50e064;if(typeof _0x377062['type']===_0x4da780(0x3ab))_0x50e064=_0x377062[_0x4da780(0x2f0)];else _0x377062['type']&&typeof _0x377062['type']===_0x4da780(0x3a6)?_0x50e064=_0x377062['type'][_0x4da780(0x2f0)]||_0x4da780(0x157):_0x50e064='TEXT';const _0x187881=_0x377062[_0x4da780(0x118)],_0x5560a4=this[_0x4da780(0x26e)](_0x57e2bd);_0x57b384[_0x57e2bd]=this[_0x4da780(0x2bd)](_0x57e2bd,_0x50e064,_0x5560a4?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x187881||_0x5560a4?.[_0x4da780(0x118)]||_0x5560a4?.[_0x4da780(0x1f6)]});});const _0x294c64={};return _0x294c64['id']=0x1,_0x294c64['data']=_0x57b384,_0x294c64;}['generateRequestAllExamples'](){const _0x40b3a5=a0_0x783dd6,_0x1b9cae=this[_0x40b3a5(0x11c)](),_0x366e08={};return _0x366e08[_0x40b3a5(0x191)]=_0x40b3a5(0x371),_0x366e08[_0x40b3a5(0x118)]=_0x40b3a5(0x2ad)+_0x40b3a5(0x1c8)+_0x40b3a5(0x2f3),_0x366e08[_0x40b3a5(0x269)]=_0x1b9cae,[_0x366e08,{'title':_0x40b3a5(0x201),'description':_0x40b3a5(0x33b)+_0x40b3a5(0x337)+'-\x20其他要更新的字段直接平铺在同一层级','data':this['generateHTTPRequestExample']()}];}[a0_0x783dd6(0x25d)](){const _0x5adea6=a0_0x783dd6,_0x2224cc=this[_0x5adea6(0x1a6)](),_0x2b9314={};_0x2b9314['id']=0x1;const _0x50e75e=_0x2b9314;return Object['entries'](_0x2224cc)[_0x5adea6(0x24b)](([_0x181046,_0x134a74])=>{const _0x28b3dd=_0x5adea6,_0x23a755=_0x134a74;let _0x3eec76;if(typeof _0x23a755[_0x28b3dd(0x2f0)]==='string')_0x3eec76=_0x23a755[_0x28b3dd(0x2f0)];else _0x23a755[_0x28b3dd(0x2f0)]&&typeof _0x23a755[_0x28b3dd(0x2f0)]===_0x28b3dd(0x3a6)?_0x3eec76=_0x23a755[_0x28b3dd(0x2f0)][_0x28b3dd(0x2f0)]||_0x28b3dd(0x157):_0x3eec76=_0x28b3dd(0x157);const _0x293681=_0x23a755['description'],_0x556cbf=this[_0x28b3dd(0x26e)](_0x181046);if(_0x556cbf?.[_0x28b3dd(0x207)]())return;_0x50e75e[_0x181046]=this[_0x28b3dd(0x2bd)](_0x181046,_0x3eec76,_0x556cbf?.[_0x28b3dd(0x1d3)](),{'isPrimaryKey':![],'description':_0x293681||_0x556cbf?.[_0x28b3dd(0x118)]||_0x556cbf?.[_0x28b3dd(0x1f6)]});}),_0x50e75e;}['generateHTTPExample'](){const _0x595fed=a0_0x783dd6;return this[_0x595fed(0x25d)]();}[a0_0x783dd6(0x2ba)](_0x321f51,_0x53edde){const _0x458f68=a0_0x783dd6,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x53edde||{},_0x2ecfd3=this[_0x458f68(0x255)]();if(useFullExample){const _0x50ab9c=this[_0x458f68(0x11c)](),_0x22e623=JSON[_0x458f68(0x38a)](_0x50ab9c[_0x458f68(0x269)],null,0x2)[_0x458f68(0x35d)]('\x0a')['map']((_0x3a1bf3,_0x27f00e)=>_0x27f00e===0x0?_0x3a1bf3:indent+_0x3a1bf3)[_0x458f68(0x15a)]('\x0a');return _0x458f68(0x120)+_0x321f51+'.'+_0x2ecfd3+'('+_0x50ab9c['id']+',\x20'+_0x22e623+');';}return _0x458f68(0x120)+_0x321f51+'.'+_0x2ecfd3+_0x458f68(0x2b8);}}class AggregateOperation extends GenericOperation{constructor(_0x39cff0,_0x5ebc7f,_0x13d53e){super(_0x39cff0,_0x5ebc7f,_0x13d53e);}[a0_0x783dd6(0x375)](_0x6baad7){const _0xf2be47=a0_0x783dd6;return _0x6baad7['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0xf2be47(0x2cc)]()[_0xf2be47(0x348)]();}[a0_0x783dd6(0x1ea)](){return AGGREGATE_FUNCTIONS;}['getRequestParams'](){const _0x42a706=a0_0x783dd6,_0x50384b=super[_0x42a706(0x356)](),_0x3a4e62={};_0x3a4e62['type']=_0x42a706(0x116),_0x3a4e62['description']=_0x42a706(0x394),_0x3a4e62[_0x42a706(0x14d)]=![];const _0x575c3c={};_0x575c3c['type']='Object',_0x575c3c[_0x42a706(0x118)]=_0x42a706(0x1e3),_0x575c3c['required']=![];const _0x4f540a={};_0x4f540a['type']=_0x42a706(0x116),_0x4f540a[_0x42a706(0x118)]=_0x42a706(0x341),_0x4f540a[_0x42a706(0x14d)]=![];const _0x343f9a={};_0x343f9a['type']='Array',_0x343f9a[_0x42a706(0x118)]='聚合函数配置数组',_0x343f9a[_0x42a706(0x14d)]=![];const _0x5ca504={};_0x5ca504[_0x42a706(0x2f0)]=_0x42a706(0x311),_0x5ca504[_0x42a706(0x118)]=_0x42a706(0x11f),_0x5ca504[_0x42a706(0x14d)]=![];const _0x3d4bf0={};_0x3d4bf0['type']='Array',_0x3d4bf0[_0x42a706(0x118)]='排序规则(与\x20Filter\x20API\x20一致)',_0x3d4bf0[_0x42a706(0x14d)]=![];const _0x39866d={};_0x39866d[_0x42a706(0x2f0)]=_0x42a706(0x1f7),_0x39866d[_0x42a706(0x118)]='当前页码(从\x201\x20开始,默认:\x201)',_0x39866d[_0x42a706(0x14d)]=![];const _0x4b3191={};_0x4b3191['type']=_0x42a706(0x1f7),_0x4b3191[_0x42a706(0x118)]=_0x42a706(0x39a),_0x4b3191[_0x42a706(0x14d)]=![];const _0x39ac92={..._0x50384b};return _0x39ac92[_0x42a706(0x232)]=_0x3a4e62,_0x39ac92[_0x42a706(0x234)]=_0x575c3c,_0x39ac92[_0x42a706(0x345)]=_0x4f540a,_0x39ac92[_0x42a706(0x1c4)]=_0x343f9a,_0x39ac92['having']=_0x5ca504,_0x39ac92[_0x42a706(0x349)]=_0x3d4bf0,_0x39ac92[_0x42a706(0x1dc)]=_0x39866d,_0x39ac92[_0x42a706(0x358)]=_0x4b3191,_0x39ac92;}[a0_0x783dd6(0x2fc)](){const _0x2c43e6=a0_0x783dd6,_0x47c438={};_0x47c438[_0x2c43e6(0x2eb)]=_0x2c43e6(0x232),_0x47c438[_0x2c43e6(0x2f0)]='String[]',_0x47c438[_0x2c43e6(0x118)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)';const _0x2a0da4={};_0x2a0da4['code']=_0x2c43e6(0x234),_0x2a0da4[_0x2c43e6(0x2f0)]=_0x2c43e6(0x16c),_0x2a0da4[_0x2c43e6(0x118)]=_0x2c43e6(0x1e3);const _0x42c4b0={};_0x42c4b0[_0x2c43e6(0x2eb)]=_0x2c43e6(0x345),_0x42c4b0[_0x2c43e6(0x2f0)]=_0x2c43e6(0x116),_0x42c4b0[_0x2c43e6(0x118)]=_0x2c43e6(0x341);const _0x50649a={};_0x50649a[_0x2c43e6(0x2eb)]='aggregate',_0x50649a[_0x2c43e6(0x2f0)]='Array',_0x50649a['description']='聚合函数配置数组(type:\x20sum/count/avg/max/min)';const _0x42ff59={};_0x42ff59[_0x2c43e6(0x2eb)]='having',_0x42ff59[_0x2c43e6(0x2f0)]=_0x2c43e6(0x311),_0x42ff59[_0x2c43e6(0x118)]=_0x2c43e6(0x11f);const _0x3862c9={};_0x3862c9[_0x2c43e6(0x2eb)]=_0x2c43e6(0x349),_0x3862c9[_0x2c43e6(0x2f0)]=_0x2c43e6(0x311),_0x3862c9[_0x2c43e6(0x118)]=_0x2c43e6(0x352);const _0x41cc43={};_0x41cc43[_0x2c43e6(0x2eb)]=_0x2c43e6(0x1dc),_0x41cc43[_0x2c43e6(0x2f0)]=_0x2c43e6(0x1f7),_0x41cc43[_0x2c43e6(0x118)]=_0x2c43e6(0x212);const _0x8a9bc5={};return _0x8a9bc5[_0x2c43e6(0x2eb)]='pageSize',_0x8a9bc5['type']='Number',_0x8a9bc5[_0x2c43e6(0x118)]='每页数量(默认:\x2020)',[_0x47c438,_0x2a0da4,_0x42c4b0,_0x50649a,_0x42ff59,_0x3862c9,_0x41cc43,_0x8a9bc5];}['generateRequestExample'](){const _0x34e132=a0_0x783dd6,_0xb5e312=this[_0x34e132(0x31d)]['fields']||[];if(_0xb5e312[_0x34e132(0x245)]===0x0){const _0x197f11={};return _0x197f11['where']={},_0x197f11[_0x34e132(0x345)]=[],_0x197f11['aggregate']=[],_0x197f11;}const _0x2530ba={},_0x5eb2b0=_0xb5e312[_0x34e132(0x387)](0x0,Math['min'](0x3,_0xb5e312[_0x34e132(0x245)]));_0x5eb2b0[_0x34e132(0x24b)](_0x19575e=>{const _0x490600=_0x34e132,_0x367d21=this[_0x490600(0x305)](_0x19575e);if(_0x367d21[_0x490600(0x245)]===0x0)return;const _0x284069=this[_0x490600(0x2e6)](_0x19575e,_0x367d21),_0x3af3a0=this[_0x490600(0x1f9)](_0x19575e,_0x284069),_0x5c8a96={};_0x5c8a96[_0x284069]=_0x3af3a0,_0x2530ba[_0x19575e['code']]=_0x5c8a96;});const _0x3e540b=_0xb5e312['slice'](0x0,Math[_0x34e132(0x26a)](0x2,_0xb5e312['length']))[_0x34e132(0x2cb)](_0x4b99d2=>_0x4b99d2[_0x34e132(0x2eb)]),_0x4ef2a0=[],_0x23629d=_0xb5e312[_0x34e132(0x391)](_0x47cb75=>this[_0x34e132(0x111)](_0x47cb75));if(_0x23629d[_0x34e132(0x245)]>0x0){const _0x2d0ccf=_0x23629d[0x0],_0x3182e1=_0x2d0ccf[_0x34e132(0x2eb)],_0x1bb2c6={};_0x1bb2c6[_0x34e132(0x2f0)]=_0x34e132(0x295),_0x1bb2c6['column']=_0x3182e1,_0x1bb2c6[_0x34e132(0x182)]=_0x3182e1+_0x34e132(0x2c7),_0x1bb2c6[_0x34e132(0x3b5)]=![],_0x1bb2c6['round']=!![],_0x1bb2c6['precision']=0x2,_0x4ef2a0['push'](_0x1bb2c6);const _0x44144d={};_0x44144d[_0x34e132(0x2f0)]=_0x34e132(0x15d),_0x44144d['column']=_0x3182e1,_0x44144d[_0x34e132(0x182)]=_0x3182e1+_0x34e132(0x1e0),_0x44144d[_0x34e132(0x3b5)]=![],_0x44144d[_0x34e132(0x140)]=!![],_0x44144d[_0x34e132(0x329)]=0x2,_0x4ef2a0['push'](_0x44144d);const _0x5c71cd={};_0x5c71cd[_0x34e132(0x2f0)]=_0x34e132(0x19e),_0x5c71cd['column']=_0x3182e1,_0x5c71cd['alias']=_0x3182e1+_0x34e132(0x1c1),_0x5c71cd['distinct']=![],_0x5c71cd[_0x34e132(0x140)]=!![],_0x5c71cd[_0x34e132(0x329)]=0x2,_0x4ef2a0[_0x34e132(0x14a)](_0x5c71cd);const _0x28f4f5={};_0x28f4f5[_0x34e132(0x2f0)]=_0x34e132(0x26a),_0x28f4f5[_0x34e132(0x3b2)]=_0x3182e1,_0x28f4f5[_0x34e132(0x182)]=_0x3182e1+_0x34e132(0x298),_0x28f4f5[_0x34e132(0x3b5)]=![],_0x28f4f5[_0x34e132(0x140)]=!![],_0x28f4f5[_0x34e132(0x329)]=0x2,_0x4ef2a0[_0x34e132(0x14a)](_0x28f4f5);}else{if(_0xb5e312[_0x34e132(0x245)]>0x0){const _0x5240fa=_0xb5e312[0x0],_0x4cb7c9=_0x5240fa[_0x34e132(0x2eb)],_0x6e04e4={};_0x6e04e4[_0x34e132(0x2f0)]=_0x34e132(0x309),_0x6e04e4['column']=_0x4cb7c9,_0x6e04e4[_0x34e132(0x182)]=_0x34e132(0x2c1),_0x6e04e4['distinct']=!![],_0x4ef2a0[_0x34e132(0x14a)](_0x6e04e4);}}const _0x4b5518=[];if(_0xb5e312[_0x34e132(0x245)]>0x0){const _0x186f17=_0xb5e312[0x0][_0x34e132(0x2eb)],_0x456160={};_0x456160[_0x186f17]='desc',_0x4b5518[_0x34e132(0x14a)](_0x456160);}const _0x5036f0=[..._0x3e540b,..._0x4ef2a0[_0x34e132(0x2cb)](_0x52fde1=>_0x52fde1[_0x34e132(0x182)])],_0x34b182=[];if(_0x4ef2a0[_0x34e132(0x245)]>0x0){const _0x53e41a={};_0x53e41a[_0x34e132(0x30c)]=0x0;const _0x23b992={};_0x23b992[_0x34e132(0x344)]=_0x4ef2a0[0x0]['alias'],_0x23b992[_0x34e132(0x1a1)]=_0x53e41a,_0x34b182['push'](_0x23b992);}const _0x5b3811={};return _0x5b3811[_0x34e132(0x232)]=_0x5036f0,_0x5b3811[_0x34e132(0x234)]=_0x2530ba,_0x5b3811[_0x34e132(0x345)]=_0x3e540b,_0x5b3811['aggregate']=_0x4ef2a0,_0x5b3811['having']=_0x34b182[_0x34e132(0x245)]>0x0?_0x34b182:undefined,_0x5b3811[_0x34e132(0x349)]=_0x4b5518,_0x5b3811['currentPage']=0x1,_0x5b3811[_0x34e132(0x358)]=0x14,_0x5b3811;}[a0_0x783dd6(0x2ba)](_0x2254fc,_0x3d6edb){const _0x35cafb=a0_0x783dd6,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3d6edb||{},_0x5c9e2c=this[_0x35cafb(0x255)](),_0x24918d=this[_0x35cafb(0x11c)](),_0x67c280=_0x48f7d7=>{const _0x368c4c=_0x35cafb;return JSON[_0x368c4c(0x38a)](_0x48f7d7,null,0x2)[_0x368c4c(0x35d)]('\x0a')[_0x368c4c(0x2cb)]((_0x33103a,_0x94b2e5)=>_0x94b2e5===0x0?_0x33103a:indent+_0x33103a)['join']('\x0a');};if(useFullExample){const _0xde61a4=this[_0x35cafb(0x31d)][_0x35cafb(0x28d)]||[],_0x4376a4=_0xde61a4['filter'](_0x335922=>this['isNumericField'](_0x335922)),_0x252ebd={'where':_0xde61a4[0x0]?{[_0xde61a4[0x0][_0x35cafb(0x2eb)]]:{'$eq':this['generateExampleValue'](_0xde61a4[0x0],_0x35cafb(0x2ac))}}:{},'aggregate':_0x4376a4[_0x35cafb(0x245)]>0x0?[{'type':_0x35cafb(0x295),'column':_0x4376a4[0x0][_0x35cafb(0x2eb)],'alias':_0x4376a4[0x0][_0x35cafb(0x2eb)]+_0x35cafb(0x2c7),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x35cafb(0x309),'column':_0xde61a4[0x0][_0x35cafb(0x2eb)],'alias':'total_count','distinct':!![]}],'orderBy':[{[_0xde61a4[0x0][_0x35cafb(0x2eb)]]:'desc'}]};let _0x3a5110='';return _0xde61a4['length']>=0x3&&(_0x3a5110='\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x2254fc+'.'+_0x5c9e2c+'('+_0x67c280(_0x24918d)+');'),_0x35cafb(0x108)+_0x2254fc+'.'+_0x5c9e2c+'('+_0x67c280(_0x252ebd)+');'+_0x3a5110;}const _0x341a0a=JSON['stringify'](_0x24918d,null,0x2)[_0x35cafb(0x35d)]('\x0a')[_0x35cafb(0x2cb)]((_0x2d7dc2,_0x3c5162)=>_0x3c5162===0x0?_0x2d7dc2:indent+_0x2d7dc2)[_0x35cafb(0x15a)]('\x0a');return _0x35cafb(0x120)+_0x2254fc+'.'+_0x5c9e2c+'('+_0x341a0a+');';}['isNumericField'](_0x25df2e){const _0x523ff8=a0_0x783dd6,_0x3cdba5=_0x25df2e['getDbTypeForOperation']();return[_0x523ff8(0x152),_0x523ff8(0x246),'BIGINT','DECIMAL'][_0x523ff8(0x35b)](_0x3cdba5)||[_0x523ff8(0x331),'TINYINT',_0x523ff8(0x2e1),_0x523ff8(0x290),_0x523ff8(0x113)][_0x523ff8(0x35b)](_0x3cdba5);}[a0_0x783dd6(0x305)](_0x29245b){const _0x11c660=a0_0x783dd6,_0x32ed53=_0x29245b[_0x11c660(0x1d3)](),_0x20439a=[];if(['NUMBER','INTEGER',_0x11c660(0x1c5),_0x11c660(0x250)][_0x11c660(0x35b)](_0x32ed53)||['INT','TINYINT','SMALLINT','DOUBLE','FLOAT'][_0x11c660(0x35b)](_0x32ed53))_0x20439a['push'](_0x11c660(0x2ac),'$ne',_0x11c660(0x30c),_0x11c660(0x22d),'$gteq',_0x11c660(0x2b6),_0x11c660(0x158));else{if([_0x11c660(0x3ae),_0x11c660(0x157),'VARCHAR'][_0x11c660(0x35b)](_0x32ed53)||['CHAR',_0x11c660(0x10b)][_0x11c660(0x35b)](_0x32ed53))_0x20439a[_0x11c660(0x14a)](_0x11c660(0x2ac),_0x11c660(0x194),_0x11c660(0x158),_0x11c660(0x263),_0x11c660(0x1bc),_0x11c660(0x318));else{if([_0x11c660(0x313),_0x11c660(0x282),_0x11c660(0x106)][_0x11c660(0x35b)](_0x32ed53)||['TIME'][_0x11c660(0x35b)](_0x32ed53))_0x20439a[_0x11c660(0x14a)](_0x11c660(0x2ac),'$ne',_0x11c660(0x30c),'$lte',_0x11c660(0x2b0),_0x11c660(0x2b6));else[_0x11c660(0x24f),_0x11c660(0x23a),_0x11c660(0x184)]['includes'](_0x32ed53)?_0x20439a[_0x11c660(0x14a)](_0x11c660(0x2ac),_0x11c660(0x194)):_0x20439a['push'](_0x11c660(0x2ac),'$ne');}}return _0x20439a;}['selectBestOperator'](_0x190491,_0x320356){const _0x348a65=a0_0x783dd6,_0x4b7ebe=_0x190491[_0x348a65(0x1d3)]();if([_0x348a65(0x152),_0x348a65(0x246),'BIGINT','DECIMAL'][_0x348a65(0x35b)](_0x4b7ebe)||[_0x348a65(0x331),'TINYINT',_0x348a65(0x2e1),_0x348a65(0x290),_0x348a65(0x113)][_0x348a65(0x35b)](_0x4b7ebe))return _0x320356[_0x348a65(0x35b)](_0x348a65(0x30c))?_0x348a65(0x30c):_0x348a65(0x2ac);if([_0x348a65(0x3ae),_0x348a65(0x157),_0x348a65(0x3af)]['includes'](_0x4b7ebe)||[_0x348a65(0x13a),'LONGTEXT'][_0x348a65(0x35b)](_0x4b7ebe))return _0x320356[_0x348a65(0x35b)]('$contain')?'$contain':'$eq';if(['DATE','DATETIME',_0x348a65(0x106),_0x348a65(0x147)][_0x348a65(0x35b)](_0x4b7ebe))return _0x320356['includes']('$gte')?_0x348a65(0x30c):'$eq';return _0x348a65(0x2ac);}['generateExampleValue'](_0x16d587,_0x557166){const _0x1695e4=a0_0x783dd6,_0x185342=_0x16d587[_0x1695e4(0x1d3)](),_0x39b5be=_0x16d587[_0x1695e4(0x252)]();if(_0x39b5be&&_0x39b5be['length']>0x0){if(_0x557166===_0x1695e4(0x158))return _0x39b5be[_0x1695e4(0x387)](0x0,0x2)['map'](_0x25ea4b=>_0x25ea4b['value']);return _0x39b5be[0x0][_0x1695e4(0x20d)];}if(['NUMBER',_0x1695e4(0x246),'BIGINT',_0x1695e4(0x250)][_0x1695e4(0x35b)](_0x185342)||[_0x1695e4(0x331),'TINYINT',_0x1695e4(0x2e1),_0x1695e4(0x290),_0x1695e4(0x113)][_0x1695e4(0x35b)](_0x185342)){if(_0x557166===_0x1695e4(0x158))return[0x1,0x2,0x3];if(_0x557166==='$gte'||_0x557166==='$gteq')return 0x0;if(_0x557166==='$lte'||_0x557166===_0x1695e4(0x2b6))return 0x64;return 0x1;}if([_0x1695e4(0x3ae),_0x1695e4(0x157),_0x1695e4(0x3af)][_0x1695e4(0x35b)](_0x185342)||[_0x1695e4(0x13a),_0x1695e4(0x10b)][_0x1695e4(0x35b)](_0x185342)){if(_0x557166==='$in')return['value1',_0x1695e4(0x167)];if(_0x557166==='$contain')return'keyword';if(_0x557166==='$startWith')return _0x1695e4(0x172);if(_0x557166===_0x1695e4(0x318))return'suffix';return _0x1695e4(0x20d);}if(['DATE',_0x1695e4(0x282),_0x1695e4(0x106),_0x1695e4(0x147)]['includes'](_0x185342)){if(_0x557166==='$gte'||_0x557166===_0x1695e4(0x2b0))return _0x1695e4(0x2bc);if(_0x557166===_0x1695e4(0x22d)||_0x557166===_0x1695e4(0x2b6))return'2024-12-31';return _0x1695e4(0x2bc);}if([_0x1695e4(0x24f),_0x1695e4(0x23a),'BIT'][_0x1695e4(0x35b)](_0x185342))return!![];return _0x557166===_0x1695e4(0x158)?[_0x1695e4(0x370),_0x1695e4(0x167)]:_0x1695e4(0x20d);}[a0_0x783dd6(0x272)](){const _0x5a8446=a0_0x783dd6,_0x2f2085=this[_0x5a8446(0x356)](),_0x5f20eb=Object[_0x5a8446(0x1fe)](_0x2f2085)[_0x5a8446(0x391)](([_0x46de80])=>_0x46de80!=='currentPage'&&_0x46de80!==_0x5a8446(0x358))[_0x5a8446(0x2cb)](([_0x3d17d3,_0x31690e])=>{const _0x434421=_0x5a8446,_0x596537=_0x31690e,_0x4339b1={};return _0x4339b1[_0x434421(0x1f6)]=_0x3d17d3,_0x4339b1[_0x434421(0x2f0)]=_0x596537[_0x434421(0x2f0)]||'String',_0x4339b1[_0x434421(0x118)]=_0x596537[_0x434421(0x118)]||'-',_0x4339b1[_0x434421(0x14d)]=_0x596537[_0x434421(0x14d)],_0x4339b1;}),_0x533883={};return _0x533883[_0x5a8446(0x118)]=_0x5a8446(0x1b5),_0x533883[_0x5a8446(0x20f)]=_0x5f20eb,_0x533883;}[a0_0x783dd6(0x155)](){const _0x4d8e70=a0_0x783dd6,_0x26306e=this[_0x4d8e70(0x11c)]()['aggregate'],_0x1f0539=[{}],_0x3e074c=[];_0x26306e?.[_0x4d8e70(0x24b)](_0x1453c2=>{const _0xd414a0=_0x4d8e70,_0x45e07f={};_0x45e07f[_0xd414a0(0x191)]=_0x1453c2[_0xd414a0(0x182)],_0x45e07f[_0xd414a0(0x2f6)]=_0x1453c2[_0xd414a0(0x182)],_0x3e074c['push'](_0x45e07f),_0x1f0539[0x0][_0x1453c2[_0xd414a0(0x182)]]=_0x1453c2['type']===_0xd414a0(0x309)?0x64:Math[_0xd414a0(0x140)](Math[_0xd414a0(0x1e7)]()*0x64*0x64)/0x64;});const _0x40625a={};_0x40625a[_0x4d8e70(0x358)]=0x1,_0x40625a[_0x4d8e70(0x2c8)]=0x64,_0x40625a[_0x4d8e70(0x1dc)]=0x1;const _0x7da424={};_0x7da424['paging']=_0x40625a,_0x7da424['tableData']=_0x1f0539,_0x7da424[_0x4d8e70(0x2ff)]=_0x3e074c;const _0x5ac20a={};return _0x5ac20a[_0x4d8e70(0x3b7)]=!![],_0x5ac20a[_0x4d8e70(0x2a9)]='',_0x5ac20a['errorMsg']='',_0x5ac20a[_0x4d8e70(0x1f0)]=_0x4d8e70(0x3b3),_0x5ac20a[_0x4d8e70(0x269)]=_0x7da424,_0x5ac20a[_0x4d8e70(0x20f)]=null,_0x5ac20a;}}class OperationFactory{[a0_0x783dd6(0x374)](_0x386c98,_0xa6954c,_0x43b2cb){const _0x10d72e=a0_0x783dd6;switch(_0x386c98){case _0x10d72e(0x285):return new GetSelectOptionsOperation(_0x386c98,_0xa6954c,_0x43b2cb);case _0x10d72e(0x227):return new GetListOperation(_0x386c98,_0xa6954c,_0x43b2cb);case _0x10d72e(0x391):return new FilterOperation(_0x386c98,_0xa6954c,_0x43b2cb);case _0x10d72e(0x3bc):return new ExcelExportOperation(_0x386c98,_0xa6954c,_0x43b2cb);case _0x10d72e(0x242):return new UpdateOperation(_0x386c98,_0xa6954c,_0x43b2cb);case _0x10d72e(0x1c4):return new AggregateOperation(_0x386c98,_0xa6954c,_0x43b2cb);default:return new GenericOperation(_0x386c98,_0xa6954c,_0x43b2cb);}}[a0_0x783dd6(0x308)](_0x36ecf6,_0x534e15){const _0x45e23b=a0_0x783dd6,_0x342056=new Map();return Object[_0x45e23b(0x1fe)](_0x36ecf6)[_0x45e23b(0x24b)](([_0x2ccaa6,_0x3339ec])=>{const _0x56efb0=_0x45e23b;_0x342056[_0x56efb0(0x2fe)](_0x2ccaa6,this['create'](_0x2ccaa6,_0x3339ec,_0x534e15));}),_0x342056;}}class OperationList{[a0_0x783dd6(0x2a5)];constructor(_0x31823d,_0x3befbf){const _0x357ce0=a0_0x783dd6,_0x472a3b=new OperationFactory();this['_operations']=_0x472a3b[_0x357ce0(0x308)](_0x31823d,_0x3befbf);}[a0_0x783dd6(0x33c)](_0x3abdf6){const _0x260ac3=a0_0x783dd6;return this[_0x260ac3(0x2a5)][_0x260ac3(0x33c)](_0x3abdf6);}[a0_0x783dd6(0x39b)](_0x38c3b6){const _0x157b5d=a0_0x783dd6;return this[_0x157b5d(0x2a5)][_0x157b5d(0x39b)](_0x38c3b6);}[a0_0x783dd6(0x2d8)](){const _0x37b7fa=a0_0x783dd6;return this[_0x37b7fa(0x2a5)][_0x37b7fa(0x2d8)];}[a0_0x783dd6(0x1a0)](){const _0x514654=a0_0x783dd6;return Array[_0x514654(0x1aa)](this['_operations']['keys']());}[a0_0x783dd6(0x36c)](){const _0x3a52a5=a0_0x783dd6,_0x353d3d=Array[_0x3a52a5(0x1aa)](this[_0x3a52a5(0x2a5)]['values']());return this[_0x3a52a5(0x2db)](_0x353d3d);}[a0_0x783dd6(0x3bd)](){const _0x224141=a0_0x783dd6;return this['toArray']()[_0x224141(0x391)](_0x1713bd=>_0x1713bd[_0x224141(0x284)]());}['getDisabled'](){const _0x5102a4=a0_0x783dd6;return this[_0x5102a4(0x36c)]()[_0x5102a4(0x391)](_0x391310=>!_0x391310['isEnabled']());}['getEnabledNames'](){const _0x21772a=a0_0x783dd6;return this[_0x21772a(0x3bd)]()['map'](_0x16da19=>_0x16da19[_0x21772a(0x255)]());}['getDisabledNames'](){const _0x139bf5=a0_0x783dd6;return this['getDisabled']()[_0x139bf5(0x2cb)](_0x84efc7=>_0x84efc7[_0x139bf5(0x255)]());}[a0_0x783dd6(0x22b)](_0x535929){const _0x36e0ed=a0_0x783dd6;return this[_0x36e0ed(0x36c)]()['filter'](_0x56e14d=>_0x56e14d[_0x36e0ed(0x19f)]()===_0x535929);}['filter'](_0x3f20a0){const _0x43c5e8=a0_0x783dd6;return this[_0x43c5e8(0x36c)]()[_0x43c5e8(0x391)](_0x3f20a0);}[a0_0x783dd6(0x27b)](_0x3b53cc={}){const _0x521cad=a0_0x783dd6;let _0x4a5105=this[_0x521cad(0x36c)]();!_0x3b53cc['includeDisabled']&&(_0x4a5105=_0x4a5105[_0x521cad(0x391)](_0x4cb6f0=>_0x4cb6f0[_0x521cad(0x284)]()));if(_0x3b53cc[_0x521cad(0x2f5)]!==![]){const _0x226e5c=_0x4a5105[_0x521cad(0x2cb)](_0x499b5e=>({'name':_0x499b5e[_0x521cad(0x255)](),'operation':_0x499b5e})),_0x250f85=filterApiOperations(_0x226e5c);_0x4a5105=_0x250f85['map'](_0x11c761=>_0x11c761[_0x521cad(0x2a3)]),_0x4a5105=this[_0x521cad(0x2db)](_0x4a5105);}return _0x3b53cc[_0x521cad(0x16b)]&&(_0x4a5105=_0x4a5105['filter'](_0x3b53cc[_0x521cad(0x16b)])),_0x4a5105;}[a0_0x783dd6(0x2db)](_0x34ad0e){const _0x36fa0b=a0_0x783dd6,_0x111acc=_0x34ad0e[_0x36fa0b(0x292)](_0x37c33d=>_0x37c33d[_0x36fa0b(0x255)]()===_0x36fa0b(0x391)),_0x1db772=_0x34ad0e[_0x36fa0b(0x391)](_0x3863a8=>_0x3863a8['getName']()!==_0x36fa0b(0x391));return _0x111acc?[_0x111acc,..._0x1db772]:_0x1db772;}[a0_0x783dd6(0x2e9)](){const _0x5ab31d=a0_0x783dd6,_0xf4a8cb=this[_0x5ab31d(0x3bd)]();return{'total':this[_0x5ab31d(0x2d8)](),'enabled':_0xf4a8cb[_0x5ab31d(0x245)],'disabled':this[_0x5ab31d(0x2d8)]()-_0xf4a8cb[_0x5ab31d(0x245)],'byType':this[_0x5ab31d(0x38f)](_0xf4a8cb),'byMethod':this[_0x5ab31d(0x134)](_0xf4a8cb)};}[a0_0x783dd6(0x38f)](_0x440acd){const _0x409e85=a0_0x783dd6,_0x238d5b={};return _0x440acd[_0x409e85(0x24b)](_0x47bcab=>{const _0x1db5a5=_0x409e85,_0x453074=_0x47bcab[_0x1db5a5(0x19f)]();_0x453074&&(_0x238d5b[_0x453074]=(_0x238d5b[_0x453074]||0x0)+0x1);}),_0x238d5b;}['getCountByMethod'](_0x418371){const _0x25b0b6=a0_0x783dd6,_0x56e3dc={};return _0x418371[_0x25b0b6(0x24b)](_0x1f7fd8=>{const _0x92c20c=_0x1f7fd8['getMethod']();_0x92c20c&&(_0x56e3dc[_0x92c20c]=(_0x56e3dc[_0x92c20c]||0x0)+0x1);}),_0x56e3dc;}[Symbol[a0_0x783dd6(0x17e)]](){const _0x45fd21=a0_0x783dd6;return this['_operations'][_0x45fd21(0x122)]();}['toString'](){const _0x2f0346=a0_0x783dd6,_0x3ec3d5=this[_0x2f0346(0x2e9)]();return'OperationList('+_0x3ec3d5['enabled']+'/'+_0x3ec3d5['total']+'\x20operations)';}}class DBConfig{[a0_0x783dd6(0x359)];[a0_0x783dd6(0x133)];[a0_0x783dd6(0x136)];['dbType'];[a0_0x783dd6(0x2ea)];['tableName'];[a0_0x783dd6(0x3bf)];[a0_0x783dd6(0x2c9)];[a0_0x783dd6(0x386)];[a0_0x783dd6(0x23c)];constructor(_0x51e730,_0x573437){const _0xeed37f=a0_0x783dd6;this[_0xeed37f(0x359)]=_0x573437,this['dbId']=_0x51e730[_0xeed37f(0x133)],this[_0xeed37f(0x136)]=_0x51e730['dbName'],this['dbType']=_0x51e730[_0xeed37f(0x208)],this[_0xeed37f(0x2ea)]=_0x51e730[_0xeed37f(0x2ea)],this[_0xeed37f(0x1f1)]=_0x51e730[_0xeed37f(0x1f1)],this[_0xeed37f(0x3bf)]=_0x51e730[_0xeed37f(0x3bf)],this['pkField']=_0x51e730[_0xeed37f(0x2c9)],this[_0xeed37f(0x386)]=_0x51e730[_0xeed37f(0x386)],this['appCode']=_0x51e730[_0xeed37f(0x23c)];}[a0_0x783dd6(0x262)](){return this['raw'];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x783dd6(0x29e)];[a0_0x783dd6(0x34f)];[a0_0x783dd6(0x1d7)];constructor(_0x449927){const _0x3e3dac=a0_0x783dd6,_0x11c67a={..._0x449927};_0x11c67a['id']=_0x449927[_0x3e3dac(0x1b7)]||_0x449927['id'],_0x11c67a[_0x3e3dac(0x219)]=_0x449927[_0x3e3dac(0x283)]||_0x449927[_0x3e3dac(0x219)]||_0x449927[_0x3e3dac(0x2eb)],super(_0x11c67a);}[a0_0x783dd6(0x210)](){return;}[a0_0x783dd6(0x1db)](){return[];}[a0_0x783dd6(0x20c)](){return[];}get[a0_0x783dd6(0x23b)](){const _0xc318c0=a0_0x783dd6;return this[_0xc318c0(0x34d)]();}['getFieldList'](){const _0x267fda=a0_0x783dd6;if(!this['_fieldList'])throw new Error(_0x267fda(0x243));return this[_0x267fda(0x34f)];}[a0_0x783dd6(0x257)](){const _0x3d792c=a0_0x783dd6;if(!this[_0x3d792c(0x1d7)])throw new Error(_0x3d792c(0x196));return this[_0x3d792c(0x1d7)];}[a0_0x783dd6(0x27a)](){return[];}['getFieldsWithDeleted'](){const _0x16212f=a0_0x783dd6,_0x32c04c=this[_0x16212f(0x1b4)]();return _0x32c04c['fields'];}[a0_0x783dd6(0x125)](){const _0xa2be61=a0_0x783dd6;return this[_0xa2be61(0x27a)]()[_0xa2be61(0x245)];}['getField'](_0x404fb9){const _0x218db9=a0_0x783dd6,_0x53338e=this[_0x218db9(0x23e)](_0x404fb9);return _0x53338e?_0x53338e['raw']:undefined;}[a0_0x783dd6(0x103)](_0x127b2c){return;}['parseFieldExtend'](_0x402de2){const _0x35caeb=a0_0x783dd6;if(!_0x402de2||typeof _0x402de2!==_0x35caeb(0x3a6))return!![]&&console[_0x35caeb(0x364)](_0x35caeb(0x11d),_0x402de2),{};if(_0x35caeb(0x2c9)in _0x402de2){const _0x1b84d5=_0x402de2;return{'primaryKey':typeof _0x1b84d5[_0x35caeb(0x2c9)]==='boolean'?_0x1b84d5[_0x35caeb(0x2c9)]:Boolean(_0x1b84d5[_0x35caeb(0x2c9)]),'required':_0x1b84d5[_0x35caeb(0x14d)],'systemRetain':Boolean(_0x1b84d5[_0x35caeb(0x224)]),'autoIncrement':_0x1b84d5[_0x35caeb(0x2b7)]??undefined};}if(!('extend'in _0x402de2)||!_0x402de2[_0x35caeb(0x1da)])return{};try{const _0x4068a1=typeof _0x402de2[_0x35caeb(0x1da)]===_0x35caeb(0x3ab)?JSON['parse'](_0x402de2['extend']):_0x402de2[_0x35caeb(0x1da)];if(typeof _0x4068a1!==_0x35caeb(0x3a6)||_0x4068a1===null)return{};return _0x4068a1;}catch{return{};}}[a0_0x783dd6(0x2f9)](){const _0x1cd9ff=a0_0x783dd6;if(!this[_0x1cd9ff(0x29e)]){const _0x3902ac=this['ensureFilterOperation'](this[_0x1cd9ff(0x21d)]()||{});this['_operationList']=new OperationList(_0x3902ac,{'fields':this['getFieldList']()[_0x1cd9ff(0x399)](),'pkField':this[_0x1cd9ff(0x29f)]['dbtableConfig']?.[_0x1cd9ff(0x2c9)],'dbtableConfig':this['_raw'][_0x1cd9ff(0x16f)]||null});}return this[_0x1cd9ff(0x29e)];}[a0_0x783dd6(0x333)](_0x50477b){const _0x4b93b0=a0_0x783dd6;if(_0x50477b[_0x4b93b0(0x391)]!==undefined)return _0x50477b;return{..._0x50477b,'filter':this['generateDefaultFilterOperation']()};}['generateDefaultFilterOperation'](){const _0x5d58d1=a0_0x783dd6,_0x2ff54f=this[_0x5d58d1(0x21d)]()?.[_0x5d58d1(0x227)];let _0x1ec822=_0x2ff54f?.[_0x5d58d1(0x12e)],_0x15581e='';if(!_0x1ec822&&this[_0x5d58d1(0x21d)]()){const _0xe37f63=Object['values'](this[_0x5d58d1(0x21d)]());for(const _0x4fbe5b of _0xe37f63){if(_0x4fbe5b&&typeof _0x4fbe5b==='object'&&_0x5d58d1(0x12e)in _0x4fbe5b){_0x1ec822=_0x4fbe5b[_0x5d58d1(0x12e)];break;}}}if(_0x2ff54f?.[_0x5d58d1(0x1de)]){const _0x4461d6=_0x2ff54f[_0x5d58d1(0x1de)],_0x50072c=_0x4461d6[_0x5d58d1(0x139)]('/');_0x50072c!==-0x1&&(_0x15581e=_0x4461d6[_0x5d58d1(0x239)](0x0,_0x50072c));}const _0x57395b={};_0x57395b['name']=_0x5d58d1(0x234),_0x57395b[_0x5d58d1(0x2f0)]=_0x5d58d1(0x3a6),_0x57395b[_0x5d58d1(0x14d)]=![];const _0x314461={};_0x314461[_0x5d58d1(0x1f6)]=_0x5d58d1(0x232),_0x314461[_0x5d58d1(0x2f0)]=_0x5d58d1(0x189),_0x314461[_0x5d58d1(0x14d)]=![];const _0x207e98={};_0x207e98['name']=_0x5d58d1(0x349),_0x207e98[_0x5d58d1(0x2f0)]=_0x5d58d1(0x189),_0x207e98[_0x5d58d1(0x14d)]=![];const _0x4d05dd={};_0x4d05dd[_0x5d58d1(0x1f6)]='currentPage',_0x4d05dd[_0x5d58d1(0x2f0)]=_0x5d58d1(0x154),_0x4d05dd[_0x5d58d1(0x14d)]=![],_0x4d05dd[_0x5d58d1(0x30d)]=0x1;const _0x36f480={};_0x36f480[_0x5d58d1(0x1f6)]='pageSize',_0x36f480[_0x5d58d1(0x2f0)]=_0x5d58d1(0x154),_0x36f480['required']=![],_0x36f480['default']=0xa;const _0x4c39a8={};return _0x4c39a8[_0x5d58d1(0x1f6)]=_0x5d58d1(0x391),_0x4c39a8[_0x5d58d1(0x2f0)]=_0x5d58d1(0x181),_0x4c39a8[_0x5d58d1(0x118)]=_0x5d58d1(0x1fb),_0x4c39a8[_0x5d58d1(0x378)]=_0x5d58d1(0x2d4),_0x4c39a8[_0x5d58d1(0x12e)]=_0x1ec822,_0x4c39a8[_0x5d58d1(0x1de)]=_0x15581e?_0x15581e+_0x5d58d1(0x162):'/filter',_0x4c39a8[_0x5d58d1(0x20f)]=_0x2ff54f?.[_0x5d58d1(0x20f)]||[_0x57395b,_0x314461,_0x207e98,_0x4d05dd,_0x36f480],_0x4c39a8[_0x5d58d1(0x328)]=!![],_0x4c39a8;}[a0_0x783dd6(0x25f)](){const _0x29a4a1=a0_0x783dd6;return this[_0x29a4a1(0x2f9)]()['toArray']();}[a0_0x783dd6(0x286)](){const _0x50a5d8=a0_0x783dd6;return this[_0x50a5d8(0x2f9)]()[_0x50a5d8(0x2d8)]();}['getOperation'](_0x20d9f9){const _0x3b490f=a0_0x783dd6;if(typeof _0x20d9f9!==_0x3b490f(0x3ab)){!![]&&console[_0x3b490f(0x364)](_0x3b490f(0x22a),_0x20d9f9);return;}return this[_0x3b490f(0x2f9)]()[_0x3b490f(0x33c)](_0x20d9f9);}['hasOperation'](_0xf917e4){const _0x5950e2=a0_0x783dd6;if(typeof _0xf917e4!==_0x5950e2(0x3ab))return![];return this[_0x5950e2(0x2f9)]()[_0x5950e2(0x39b)](_0xf917e4);}[a0_0x783dd6(0x24e)](_0x461527){const _0x383f1e=a0_0x783dd6;if(typeof _0x461527!=='string')return![];const _0x3df400=this['getOperation'](_0x461527);return _0x3df400?.[_0x383f1e(0x284)]()||![];}[a0_0x783dd6(0x320)](){const _0x53ab08=a0_0x783dd6;return this[_0x53ab08(0x2f9)]()[_0x53ab08(0x17b)]();}[a0_0x783dd6(0x321)](){const _0x1bba16=a0_0x783dd6;return this[_0x1bba16(0x2f9)]()[_0x1bba16(0x1ad)]();}[a0_0x783dd6(0x15e)](){const _0x56e401=a0_0x783dd6;return this['getOperationList']()[_0x56e401(0x3bd)]();}[a0_0x783dd6(0x2e7)](){const _0x17d407=a0_0x783dd6;return this[_0x17d407(0x2f9)]()[_0x17d407(0x280)]();}[a0_0x783dd6(0x249)](_0x459e79={}){const _0x5533b6=a0_0x783dd6;return this[_0x5533b6(0x2f9)]()[_0x5533b6(0x27b)](_0x459e79);}[a0_0x783dd6(0x2e9)](){const _0x591442=a0_0x783dd6;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this[_0x591442(0x2fc)]()[_0x591442(0x245)],'businessFieldCount':this[_0x591442(0x101)]()[_0x591442(0x245)],'requiredFieldCount':this[_0x591442(0x1af)]()[_0x591442(0x245)],'primaryKeyCount':this[_0x591442(0x2ec)]()[_0x591442(0x245)],'operationCount':this[_0x591442(0x286)](),'enabledOperationCount':this['getEnabledOperations']()[_0x591442(0x245)]};}[a0_0x783dd6(0x33e)](_0x234a04){const _0x24d496=a0_0x783dd6;if(!_0x234a04||typeof _0x234a04!==_0x24d496(0x3a6))return'';if(_0x24d496(0x2eb)in _0x234a04&&typeof _0x234a04[_0x24d496(0x2eb)]==='string')return _0x234a04[_0x24d496(0x2eb)];if(_0x24d496(0x1f6)in _0x234a04&&typeof _0x234a04[_0x24d496(0x1f6)]===_0x24d496(0x3ab))return _0x234a04[_0x24d496(0x1f6)];return'';}[a0_0x783dd6(0x1cb)](_0x1d1fe0){const _0x9dc65f=a0_0x783dd6;return this[_0x9dc65f(0x22e)]()[_0x9dc65f(0x39b)](_0x1d1fe0);}[a0_0x783dd6(0x156)](_0xec607d){const _0x3a3278=a0_0x783dd6;if(!_0xec607d||typeof _0xec607d!==_0x3a3278(0x3a6))return![];const _0x4722be=this[_0x3a3278(0x33e)](_0xec607d),_0x227fd9=this['getFieldInstance'](_0x4722be);return _0x227fd9?_0x227fd9[_0x3a3278(0x207)]():![];}['isSystemField'](_0x3a09a7){const _0x50ce97=a0_0x783dd6;if(!_0x3a09a7||typeof _0x3a09a7!=='object')return![];const _0x52ab39=this[_0x50ce97(0x33e)](_0x3a09a7),_0x4ab9e4=this[_0x50ce97(0x23e)](_0x52ab39);return _0x4ab9e4?_0x4ab9e4[_0x50ce97(0x36a)]():![];}[a0_0x783dd6(0x279)](_0x2e42bb){const _0x411ae8=a0_0x783dd6;if(!_0x2e42bb||typeof _0x2e42bb!==_0x411ae8(0x3a6))return![];const _0x427afb=this['getFieldCode'](_0x2e42bb),_0x165e9e=this[_0x411ae8(0x23e)](_0x427afb);return _0x165e9e?_0x165e9e[_0x411ae8(0x28a)]():![];}['isEnumField'](_0x19bc0a){const _0x5f2780=a0_0x783dd6;if(!_0x19bc0a||typeof _0x19bc0a!==_0x5f2780(0x3a6))return![];const _0x10cdc9=this[_0x5f2780(0x33e)](_0x19bc0a),_0x4d5679=this[_0x5f2780(0x23e)](_0x10cdc9);return _0x4d5679?_0x4d5679[_0x5f2780(0x18a)]():![];}[a0_0x783dd6(0x2e3)](_0x434f34){const _0x5b7160=a0_0x783dd6;if(!_0x434f34||typeof _0x434f34!=='object')return![];const _0x4f85f4=this[_0x5b7160(0x33e)](_0x434f34),_0x1c8e08=this[_0x5b7160(0x23e)](_0x4f85f4);return _0x1c8e08?_0x1c8e08['isMultipleSelect']():![];}['getFieldOptions'](_0x12ac1a){const _0x339132=a0_0x783dd6;if(!_0x12ac1a||typeof _0x12ac1a!==_0x339132(0x3a6))return[];const _0x54d802=this['getFieldCode'](_0x12ac1a),_0x5d3975=this[_0x339132(0x23e)](_0x54d802);if(!_0x5d3975||!_0x5d3975[_0x339132(0x18a)]())return[];return _0x5d3975['getEnumOptions']()||[];}[a0_0x783dd6(0x176)](_0x3c0e3b){const _0x9e910f=a0_0x783dd6;if(!_0x3c0e3b||typeof _0x3c0e3b!==_0x9e910f(0x3a6))return;const _0x533ddb=this[_0x9e910f(0x33e)](_0x3c0e3b),_0x3a6b32=this['getFieldInstance'](_0x533ddb);if(!_0x3a6b32||!_0x3a6b32[_0x9e910f(0x18a)]())return;return _0x3a6b32['getSelectItemsSource']();}[a0_0x783dd6(0x301)](_0x30c31e){const _0x5dacaf=a0_0x783dd6;if(!_0x30c31e||typeof _0x30c31e!=='object')return;const _0x32b8cc=this[_0x5dacaf(0x33e)](_0x30c31e),_0x267ed0=this[_0x5dacaf(0x23e)](_0x32b8cc);if(!_0x267ed0||!_0x267ed0['isEnum']())return;return _0x267ed0[_0x5dacaf(0x2e8)]();}[a0_0x783dd6(0x2ec)](){const _0x21573b=a0_0x783dd6;return this['getFieldList']()[_0x21573b(0x2d2)]()['map'](_0x38ac69=>_0x38ac69[_0x21573b(0x359)]);}[a0_0x783dd6(0x2fc)](){const _0x12dd7a=a0_0x783dd6;return this[_0x12dd7a(0x22e)]()[_0x12dd7a(0x23d)]()[_0x12dd7a(0x2cb)](_0x76911f=>_0x76911f[_0x12dd7a(0x359)]);}['getBusinessFields'](){const _0x4f9ce1=a0_0x783dd6;return this[_0x4f9ce1(0x22e)]()[_0x4f9ce1(0x327)]()[_0x4f9ce1(0x2cb)](_0x54b16d=>_0x54b16d[_0x4f9ce1(0x359)]);}[a0_0x783dd6(0x1af)](){const _0x18ca1f=a0_0x783dd6;return this[_0x18ca1f(0x22e)]()['getRequired']()[_0x18ca1f(0x2cb)](_0x7947a3=>_0x7947a3[_0x18ca1f(0x359)]);}[a0_0x783dd6(0x1ac)](){const _0x5448b0=a0_0x783dd6,_0x4a650b=this[_0x5448b0(0x22e)]()[_0x5448b0(0x1eb)](),_0x9df0c3={};for(const [_0x3e9479,_0xf387e]of Object[_0x5448b0(0x1fe)](_0x4a650b)){_0x9df0c3[_0x3e9479]=_0xf387e['map'](_0x13a289=>_0x13a289[_0x5448b0(0x359)]);}return _0x9df0c3;}[a0_0x783dd6(0x145)](){const _0x48e58d=a0_0x783dd6;return this[_0x48e58d(0x22e)]()[_0x48e58d(0x178)]()[_0x48e58d(0x2cb)](_0x1eabc1=>_0x1eabc1[_0x48e58d(0x359)]);}[a0_0x783dd6(0x1d2)](){const _0x1679f7=a0_0x783dd6,_0x4f0e2a={};return this[_0x1679f7(0x145)]()[_0x1679f7(0x24b)](_0x55a6cb=>{const _0x106dd2=this['getEnumFieldMeta'](_0x55a6cb);if(_0x106dd2){const _0x2f23da=this['getFieldCode'](_0x55a6cb);_0x4f0e2a[_0x2f23da]=_0x106dd2;}}),_0x4f0e2a;}['validateEnumValue'](_0x258b60,_0x486b6f){const _0x4e0416=a0_0x783dd6,_0x56fd3f=this[_0x4e0416(0x301)](_0x258b60);if(!_0x56fd3f)return!![];if(_0x56fd3f[_0x4e0416(0x218)]&&!_0x56fd3f[_0x4e0416(0x335)])return!![];const _0xc14750=this[_0x4e0416(0x33e)](_0x258b60),_0x1f3212=this['getFieldInstance'](_0xc14750),_0x1081dd=_0x1f3212?_0x1f3212[_0x4e0416(0x2a8)]():![];if(_0x1081dd&&Array[_0x4e0416(0x325)](_0x486b6f))return _0x486b6f[_0x4e0416(0x2c5)](_0x300cb3=>_0x56fd3f[_0x4e0416(0x122)][_0x4e0416(0x35b)](_0x300cb3));return _0x56fd3f[_0x4e0416(0x122)][_0x4e0416(0x35b)](_0x486b6f);}[a0_0x783dd6(0x15b)](){const _0x2eb5e6=a0_0x783dd6;return new DatasetItem({'id':this['id'],'name':this[_0x2eb5e6(0x1f6)],'datasetCode':this[_0x2eb5e6(0x219)],'dbtableConfig':this[_0x2eb5e6(0x177)]()});}[a0_0x783dd6(0x231)](){const _0x37bb72=a0_0x783dd6;return _0x37bb72(0x274)+this[_0x37bb72(0x1f6)]+',\x20'+this[_0x37bb72(0x219)]+',\x20'+this[_0x37bb72(0x125)]()+'\x20fields,\x20'+this[_0x37bb72(0x286)]()+'\x20operations,\x20'+this[_0x37bb72(0x27c)]()+')';}['getFilterOperators'](){const _0x4c5a66=a0_0x783dd6;return this[_0x4c5a66(0x319)](_0x4c5a66(0x391));}['getFieldFilterOperators'](_0x4e47f6){const _0x5d7245=a0_0x783dd6;return this[_0x5d7245(0x197)]('filter',_0x4e47f6);}['getFieldsFilterOperatorsMap'](){const _0x49232c=a0_0x783dd6;return this[_0x49232c(0x236)]('filter');}[a0_0x783dd6(0x319)](_0x29a784){const _0x3dee2e=a0_0x783dd6,_0x2409ed=this['getOperation'](_0x29a784);return _0x2409ed?_0x2409ed[_0x3dee2e(0x253)]():[];}[a0_0x783dd6(0x197)](_0x2cc91d,_0x5c7e2f){const _0x2fa8e9=a0_0x783dd6,_0x1eaa3c=this[_0x2fa8e9(0x129)](_0x2cc91d);return _0x1eaa3c?_0x1eaa3c['getFieldOperators'](_0x5c7e2f):[];}['getOperationFieldsOperatorsMap'](_0x3902c9){const _0x3d5264=a0_0x783dd6,_0x1c498b={};return this[_0x3d5264(0x22e)]()[_0x3d5264(0x24b)](_0x2165cb=>{const _0x45e301=_0x3d5264,_0x48a06e=this['getOperationFieldOperators'](_0x3902c9,_0x2165cb[_0x45e301(0x2eb)]);_0x48a06e[_0x45e301(0x245)]>0x0&&(_0x1c498b[_0x2165cb['code']]=_0x48a06e);}),_0x1c498b;}[a0_0x783dd6(0x164)](_0x5077ea,_0x2ecf90,_0x1ff08c){const _0x3d15c8=a0_0x783dd6,_0x4f56f8=this[_0x3d15c8(0x197)](_0x5077ea,_0x2ecf90);return _0x4f56f8['includes'](_0x1ff08c);}}class FieldBase{get[a0_0x783dd6(0x208)](){return;}get['dbTypeLen'](){return;}get['displayName'](){return;}get[a0_0x783dd6(0x229)](){return;}['isBusiness'](){const _0x38da49=a0_0x783dd6;return!this[_0x38da49(0x36a)]();}[a0_0x783dd6(0x225)](){const _0x49c0ad=a0_0x783dd6;return this[_0x49c0ad(0x377)];}[a0_0x783dd6(0x18a)](){const _0x26b412=a0_0x783dd6,_0x305f8f=['RADIO',_0x26b412(0x362),'CHECKBOX'];return _0x305f8f[_0x26b412(0x35b)](this[_0x26b412(0x2f0)]);}[a0_0x783dd6(0x2a8)](){const _0x3c4756=a0_0x783dd6;return this[_0x3c4756(0x2f0)]==='CHECKBOX';}[a0_0x783dd6(0x2c4)](){const _0x4cb99e=a0_0x783dd6,_0x7212b2=this['getEnumMeta']();return _0x7212b2?.[_0x4cb99e(0x122)]||[];}['getEnumMeta'](){const _0x16d0a8=a0_0x783dd6;if(!this[_0x16d0a8(0x18a)]())return;const _0x308a29=this['getEnumOptions'](),_0x4d34cf=this[_0x16d0a8(0x2d9)](),_0x25bbf0=[],_0x5986e5={},_0x1ccd35=_0x30b04c=>{const _0x42640e=_0x16d0a8;_0x30b04c[_0x42640e(0x24b)](_0x456762=>{const _0x595072=_0x42640e;_0x25bbf0[_0x595072(0x14a)](_0x456762[_0x595072(0x20d)]),_0x5986e5[String(_0x456762[_0x595072(0x20d)])]=_0x456762[_0x595072(0x26b)],_0x456762[_0x595072(0x10a)]&&_0x456762[_0x595072(0x10a)][_0x595072(0x245)]>0x0&&_0x1ccd35(_0x456762[_0x595072(0x10a)]);});};return _0x308a29&&_0x308a29['length']>0x0&&_0x1ccd35(_0x308a29),{'code':this[_0x16d0a8(0x2eb)],'name':this[_0x16d0a8(0x1f6)],'type':this[_0x16d0a8(0x2f0)],'multiple':this['isMultipleSelect'](),'options':_0x308a29,'selectItemsSource':_0x4d34cf,'values':_0x25bbf0,'valueLabels':_0x5986e5};}get[a0_0x783dd6(0x1f3)](){const _0x2bd5ef=a0_0x783dd6;return this[_0x2bd5ef(0x2c4)]();}['toString'](){const _0x28db77=a0_0x783dd6;return'Field('+this[_0x28db77(0x1f6)]+',\x20'+this[_0x28db77(0x2eb)]+',\x20'+this[_0x28db77(0x2f0)]+',\x20'+this[_0x28db77(0x27c)]()+')';}}class FieldV1 extends FieldBase{[a0_0x783dd6(0x29f)];[a0_0x783dd6(0x146)]=null;constructor(_0x333780){const _0x3bd03e=a0_0x783dd6;super();if(!_0x333780||typeof _0x333780!=='object')throw new Error(_0x3bd03e(0x34a));this[_0x3bd03e(0x29f)]=_0x333780;}['toFieldDefinition'](){return this['_raw'];}[a0_0x783dd6(0x27c)](){return'v1';}get[a0_0x783dd6(0x359)](){const _0x182ef4=a0_0x783dd6;return this[_0x182ef4(0x29f)];}get[a0_0x783dd6(0x1f6)](){return this['_raw']['name']||'';}get[a0_0x783dd6(0x2eb)](){const _0x46d52a=a0_0x783dd6;return this[_0x46d52a(0x29f)][_0x46d52a(0x2eb)]||'';}get['type'](){const _0x36ae8c=a0_0x783dd6;return this['_raw'][_0x36ae8c(0x2f0)]||'';}get[a0_0x783dd6(0x118)](){const _0x3cf712=a0_0x783dd6;return this[_0x3cf712(0x29f)]['description']||'';}get[a0_0x783dd6(0x377)](){const _0x3871dd=a0_0x783dd6;return Boolean(this[_0x3871dd(0x29f)]['deleted']);}get['dbType'](){const _0x25d014=a0_0x783dd6;return this[_0x25d014(0x29f)][_0x25d014(0x208)];}get[a0_0x783dd6(0x27e)](){const _0x5ef4bd=a0_0x783dd6;return this[_0x5ef4bd(0x29f)][_0x5ef4bd(0x27e)];}get[a0_0x783dd6(0x31a)](){const _0x208d25=a0_0x783dd6;return this[_0x208d25(0x29f)][_0x208d25(0x182)];}get[a0_0x783dd6(0x229)](){return;}get[a0_0x783dd6(0x1da)](){const _0x3505c2=a0_0x783dd6;if(this[_0x3505c2(0x146)]!==null&&typeof this[_0x3505c2(0x146)]===_0x3505c2(0x3a6))return this['_extend'];const _0x3e92f3=this[_0x3505c2(0x29f)][_0x3505c2(0x1da)];if(!_0x3e92f3||typeof _0x3e92f3!=='string')return this['_extend']={},this[_0x3505c2(0x146)];if(_0x3e92f3==='null'||_0x3e92f3[_0x3505c2(0x2cc)]()===_0x3505c2(0x2d0))return this['_extend']={},this[_0x3505c2(0x146)];try{const _0x49db1c=JSON['parse'](_0x3e92f3);return this[_0x3505c2(0x146)]=_0x49db1c!==null&&typeof _0x49db1c===_0x3505c2(0x3a6)&&!Array[_0x3505c2(0x325)](_0x49db1c)?_0x49db1c:{},this[_0x3505c2(0x146)];}catch(_0x1b2efc){return!![]&&console[_0x3505c2(0x364)](_0x3505c2(0x307)+this[_0x3505c2(0x2eb)]+_0x3505c2(0x2b3),_0x1b2efc),this[_0x3505c2(0x146)]={},this[_0x3505c2(0x146)];}}[a0_0x783dd6(0x28a)](){const _0x246207=a0_0x783dd6;return Boolean(this[_0x246207(0x1da)][_0x246207(0x14d)]);}[a0_0x783dd6(0x207)](){const _0x4303ba=a0_0x783dd6;return Boolean(this[_0x4303ba(0x1da)]['primaryKey']||this[_0x4303ba(0x1da)]['pkField']);}[a0_0x783dd6(0x36a)](){const _0x3af0be=a0_0x783dd6;return Boolean(this[_0x3af0be(0x1da)]['systemRetain']);}[a0_0x783dd6(0x17d)](){return Boolean(this['extend']['autoIncrement']);}[a0_0x783dd6(0x166)](){const _0x2652f4=a0_0x783dd6;return Boolean(this[_0x2652f4(0x1da)]['createTime']);}[a0_0x783dd6(0x397)](){const _0x1c0135=a0_0x783dd6;return Boolean(this[_0x1c0135(0x1da)]['updateTime']);}['getDisplayName'](){return this['name'];}[a0_0x783dd6(0x1e1)](){return this['code'];}[a0_0x783dd6(0x18a)](){const _0x5149da=a0_0x783dd6,_0x57c816=[_0x5149da(0x1e4),_0x5149da(0x362),_0x5149da(0x205)];if(_0x57c816[_0x5149da(0x35b)](this[_0x5149da(0x2f0)]))return!![];const _0x281609=this['extend'];return Boolean(_0x281609['options']&&Array[_0x5149da(0x325)](_0x281609[_0x5149da(0x335)])&&_0x281609[_0x5149da(0x335)][_0x5149da(0x245)]>0x0||_0x281609['selectItemsSource']);}['isMultipleSelect'](){const _0x4deec3=a0_0x783dd6;if(this[_0x4deec3(0x2f0)]===_0x4deec3(0x205))return!![];return Boolean(this['extend']['multiple']);}[a0_0x783dd6(0x252)](){const _0x2655ff=a0_0x783dd6,_0x255417=this[_0x2655ff(0x1da)];if(_0x255417[_0x2655ff(0x335)]&&Array['isArray'](_0x255417[_0x2655ff(0x335)]))return _0x255417[_0x2655ff(0x335)];return;}[a0_0x783dd6(0x2d9)](){const _0x539020=a0_0x783dd6,_0x1b238a=this['extend'];if(_0x1b238a[_0x539020(0x218)]&&typeof _0x1b238a[_0x539020(0x218)]==='object')return _0x1b238a[_0x539020(0x218)];return;}[a0_0x783dd6(0x1d3)](){const _0x391498=a0_0x783dd6;return this[_0x391498(0x2f0)]['toUpperCase']();}[a0_0x783dd6(0x119)](){const _0x3f52c2=a0_0x783dd6;return this[_0x3f52c2(0x1da)]['defaultValue'];}[a0_0x783dd6(0x303)](){const _0x4b2e8a=a0_0x783dd6;return this[_0x4b2e8a(0x1da)][_0x4b2e8a(0x13d)];}['toJSON'](){const _0x5464ac=a0_0x783dd6;return{'name':this[_0x5464ac(0x1f6)],'code':this[_0x5464ac(0x2eb)],'type':this[_0x5464ac(0x2f0)],'dbType':this[_0x5464ac(0x208)],'dbTypeLen':this[_0x5464ac(0x27e)],'description':this[_0x5464ac(0x118)],'required':this[_0x5464ac(0x28a)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x5464ac(0x36a)](),'autoIncrement':this[_0x5464ac(0x17d)](),'createTime':this[_0x5464ac(0x166)](),'updateTime':this[_0x5464ac(0x397)](),'isEnum':this[_0x5464ac(0x18a)](),'enumMeta':this[_0x5464ac(0x18a)]()?this[_0x5464ac(0x2e8)]():undefined};}['toString'](){const _0x1db501=a0_0x783dd6;return _0x1db501(0x1d1)+this[_0x1db501(0x1f6)]+',\x20'+this[_0x1db501(0x2eb)]+',\x20'+this[_0x1db501(0x2f0)]+')';}}class FieldListBase{[a0_0x783dd6(0x161)];constructor(_0x1b38ab,_0x100f47){const _0x53b6a8=a0_0x783dd6;if(!Array['isArray'](_0x1b38ab))throw new Error(_0x53b6a8(0x12a));const _0x1d0c3e=_0x100f47?.[_0x53b6a8(0x10e)]??![],_0x1ce400=_0x1d0c3e?_0x1b38ab:_0x1b38ab['filter'](_0x3b97c3=>{const _0x2e0975=_0x53b6a8,_0x4a7148=_0x3b97c3;return!_0x4a7148[_0x2e0975(0x377)];});this[_0x53b6a8(0x161)]=this[_0x53b6a8(0x204)](_0x1ce400);}get['length'](){const _0x5ab1c9=a0_0x783dd6;return this[_0x5ab1c9(0x161)][_0x5ab1c9(0x245)];}[a0_0x783dd6(0x399)](){const _0x372f2c=a0_0x783dd6;return[...this[_0x372f2c(0x161)]];}['at'](_0x5b5ce5){const _0x235e9c=a0_0x783dd6;return this[_0x235e9c(0x161)]['at'](_0x5b5ce5);}['find'](_0x12c50c){const _0x17f95b=a0_0x783dd6;return this['_fields'][_0x17f95b(0x292)](_0x4d7712=>_0x4d7712[_0x17f95b(0x2eb)]===_0x12c50c);}[a0_0x783dd6(0x330)](_0x32a568){const _0x2fd277=a0_0x783dd6;return this[_0x2fd277(0x161)][_0x2fd277(0x292)](_0x26344d=>_0x26344d['name']===_0x32a568);}[a0_0x783dd6(0x39b)](_0x15ffff){const _0x20d18b=a0_0x783dd6;return this[_0x20d18b(0x161)][_0x20d18b(0x35a)](_0x516544=>_0x516544[_0x20d18b(0x2eb)]===_0x15ffff);}['forEach'](_0xa0a69){const _0x15b6ca=a0_0x783dd6;this[_0x15b6ca(0x161)][_0x15b6ca(0x24b)](_0xa0a69);}[a0_0x783dd6(0x2cb)](_0x120501){const _0x626762=a0_0x783dd6;return this[_0x626762(0x161)][_0x626762(0x2cb)](_0x120501);}[a0_0x783dd6(0x391)](_0x3d4d2b){const _0x536f15=a0_0x783dd6;return this[_0x536f15(0x161)][_0x536f15(0x391)](_0x3d4d2b);}[a0_0x783dd6(0x2c5)](_0x4c1bce){const _0x2de35c=a0_0x783dd6;return this[_0x2de35c(0x161)]['every'](_0x4c1bce);}[a0_0x783dd6(0x35a)](_0x16e9cf){const _0x4685d9=a0_0x783dd6;return this['_fields'][_0x4685d9(0x35a)](_0x16e9cf);}[a0_0x783dd6(0x2c2)](){const _0x25c6e8=a0_0x783dd6;return this[_0x25c6e8(0x161)][_0x25c6e8(0x391)](_0x2b1bf6=>_0x2b1bf6[_0x25c6e8(0x28a)]());}[a0_0x783dd6(0x2d2)](){const _0x441e23=a0_0x783dd6;return this['_fields']['filter'](_0xc0877b=>_0xc0877b[_0x441e23(0x207)]());}[a0_0x783dd6(0x23d)](){const _0x25c2f9=a0_0x783dd6;return this[_0x25c2f9(0x161)][_0x25c2f9(0x391)](_0x59e27a=>_0x59e27a[_0x25c2f9(0x36a)]());}[a0_0x783dd6(0x327)](){const _0x32bdb7=a0_0x783dd6;return this[_0x32bdb7(0x161)]['filter'](_0x27a5a6=>_0x27a5a6[_0x32bdb7(0x28b)]());}[a0_0x783dd6(0x178)](){const _0x459896=a0_0x783dd6;return this[_0x459896(0x161)][_0x459896(0x391)](_0x32e180=>_0x32e180[_0x459896(0x18a)]());}['getAutoIncrement'](){const _0x4281f0=a0_0x783dd6;return this[_0x4281f0(0x161)]['filter'](_0x5e868f=>_0x5e868f[_0x4281f0(0x17d)]());}[a0_0x783dd6(0x233)](){const _0x4d9109=a0_0x783dd6;return this['_fields']['filter'](_0x42a122=>_0x42a122[_0x4d9109(0x166)]());}[a0_0x783dd6(0x1e9)](){const _0x57a798=a0_0x783dd6;return this[_0x57a798(0x161)]['filter'](_0x5b4889=>_0x5b4889[_0x57a798(0x397)]());}['getDeleted'](){const _0x59e93b=a0_0x783dd6;return this[_0x59e93b(0x161)][_0x59e93b(0x391)](_0x4a7229=>_0x4a7229[_0x59e93b(0x225)]());}[a0_0x783dd6(0x265)](){const _0x1555d3=a0_0x783dd6;return this[_0x1555d3(0x161)][_0x1555d3(0x391)](_0x39acef=>!_0x39acef[_0x1555d3(0x225)]());}[a0_0x783dd6(0x1eb)](){const _0x5601cd={};return this['_fields']['forEach'](_0x5e0f31=>{const _0x5ce645=a0_0x5163,_0x20ce7b=_0x5e0f31[_0x5ce645(0x2f0)];!_0x5601cd[_0x20ce7b]&&(_0x5601cd[_0x20ce7b]=[]),_0x5601cd[_0x20ce7b][_0x5ce645(0x14a)](_0x5e0f31);}),_0x5601cd;}[a0_0x783dd6(0x221)](){const _0x4f9d79=a0_0x783dd6,_0x5b042f={};return this[_0x4f9d79(0x161)][_0x4f9d79(0x24b)](_0x5e8dd0=>{const _0x927ea2=_0x4f9d79;if(_0x5e8dd0['isEnum']()){const _0x414ee1=_0x5e8dd0['getEnumMeta']();_0x414ee1&&(_0x5b042f[_0x5e8dd0[_0x927ea2(0x2eb)]]=_0x414ee1);}}),_0x5b042f;}['getStats'](){const _0x239880=a0_0x783dd6;return{'total':this[_0x239880(0x245)],'required':this['getRequired']()[_0x239880(0x245)],'primaryKey':this[_0x239880(0x2d2)]()[_0x239880(0x245)],'system':this[_0x239880(0x23d)]()[_0x239880(0x245)],'business':this[_0x239880(0x327)]()['length'],'enum':this[_0x239880(0x178)]()[_0x239880(0x245)],'autoIncrement':this['getAutoIncrement']()[_0x239880(0x245)]};}[a0_0x783dd6(0x2a6)](){const _0x424b08=a0_0x783dd6;return this[_0x424b08(0x161)][_0x424b08(0x2cb)](_0x381861=>_0x381861['code']);}[a0_0x783dd6(0x1a0)](){const _0x4d0f17=a0_0x783dd6;return this[_0x4d0f17(0x161)][_0x4d0f17(0x2cb)](_0x356e2c=>_0x356e2c['getDisplayName']());}['getFieldNames'](){const _0x3277e6=a0_0x783dd6;return this[_0x3277e6(0x161)][_0x3277e6(0x2cb)](_0x1dfff2=>_0x1dfff2[_0x3277e6(0x1e1)]());}['toJSON'](){const _0x5b7db2=a0_0x783dd6;return this['_fields']['map'](_0x1accba=>_0x1accba[_0x5b7db2(0x1fd)]());}[a0_0x783dd6(0x231)](){const _0x4a6627=a0_0x783dd6;return'FieldList('+this[_0x4a6627(0x245)]+'\x20fields)';}}class FieldListV1 extends FieldListBase{constructor(_0x4ec822,_0x5d8441){super(_0x4ec822,_0x5d8441);}[a0_0x783dd6(0x204)](_0x35d2cb){const _0x1892c5=a0_0x783dd6;return _0x35d2cb[_0x1892c5(0x2cb)](_0x580333=>new FieldV1(_0x580333));}[a0_0x783dd6(0x399)](){const _0x9855f7=a0_0x783dd6;return[...this[_0x9855f7(0x161)]];}['at'](_0x2c3eae){const _0x5428ec=a0_0x783dd6;return this[_0x5428ec(0x161)]['at'](_0x2c3eae);}[a0_0x783dd6(0x292)](_0x493626){const _0x15b838=a0_0x783dd6;return this[_0x15b838(0x161)][_0x15b838(0x292)](_0x38319c=>_0x38319c[_0x15b838(0x2eb)]===_0x493626);}[a0_0x783dd6(0x330)](_0x4698b8){const _0x549804=a0_0x783dd6;return this[_0x549804(0x161)][_0x549804(0x292)](_0x1e0e4c=>_0x1e0e4c[_0x549804(0x1f6)]===_0x4698b8);}[a0_0x783dd6(0x391)](_0x1fe182){const _0x407c0f=a0_0x783dd6;return this['_fields'][_0x407c0f(0x391)](_0x1fe182);}[a0_0x783dd6(0x2cb)](_0x302073){const _0x1c4d76=a0_0x783dd6;return this['_fields'][_0x1c4d76(0x2cb)](_0x302073);}[a0_0x783dd6(0x2c2)](){const _0x29d90d=a0_0x783dd6;return this[_0x29d90d(0x161)][_0x29d90d(0x391)](_0x3d7d85=>_0x3d7d85['isRequired']());}['getPrimaryKeys'](){const _0x6c0ee7=a0_0x783dd6;return this[_0x6c0ee7(0x161)]['filter'](_0x116c44=>_0x116c44[_0x6c0ee7(0x207)]());}[a0_0x783dd6(0x23d)](){const _0x162613=a0_0x783dd6;return this[_0x162613(0x161)][_0x162613(0x391)](_0x1b6a49=>_0x1b6a49['isSystem']());}[a0_0x783dd6(0x327)](){const _0x27d8fb=a0_0x783dd6;return this[_0x27d8fb(0x161)]['filter'](_0x36f208=>_0x36f208[_0x27d8fb(0x28b)]());}[a0_0x783dd6(0x178)](){const _0x310336=a0_0x783dd6;return this[_0x310336(0x161)][_0x310336(0x391)](_0x567022=>_0x567022[_0x310336(0x18a)]());}[a0_0x783dd6(0x1eb)](){const _0x3c5fe4=a0_0x783dd6,_0xe8a8ff={};return this[_0x3c5fe4(0x161)][_0x3c5fe4(0x24b)](_0x29b431=>{const _0x1c1386=_0x3c5fe4,_0x1640c2=_0x29b431[_0x1c1386(0x2f0)];!_0xe8a8ff[_0x1640c2]&&(_0xe8a8ff[_0x1640c2]=[]),_0xe8a8ff[_0x1640c2][_0x1c1386(0x14a)](_0x29b431);}),_0xe8a8ff;}[a0_0x783dd6(0x359)](){const _0x3d8405=a0_0x783dd6;return this['_fields'][_0x3d8405(0x2cb)](_0x4e44f1=>_0x4e44f1[_0x3d8405(0x359)]);}static[a0_0x783dd6(0x1aa)](_0x49126f){const _0x358461=a0_0x783dd6,_0x2b77db=_0x49126f[_0x358461(0x2cb)](_0x1f7628=>_0x1f7628[_0x358461(0x359)]);return new FieldListV1(_0x2b77db);}static['withDeleted'](_0x569c6b){const _0x78c853=a0_0x783dd6,_0x557b0f={};return _0x557b0f[_0x78c853(0x10e)]=!![],new FieldListV1(_0x569c6b,_0x557b0f);}}class FieldV2 extends FieldBase{[a0_0x783dd6(0x29f)];constructor(_0x54d65f){const _0xeae05f=a0_0x783dd6;super();if(!_0x54d65f||typeof _0x54d65f!==_0xeae05f(0x3a6))throw new Error(_0xeae05f(0x3b1));this['_raw']=_0x54d65f;}[a0_0x783dd6(0x27c)](){return'v2';}get['raw'](){return this['_raw'];}get[a0_0x783dd6(0x1f6)](){const _0x2954eb=a0_0x783dd6;return this[_0x2954eb(0x29f)][_0x2954eb(0x1f6)]||'';}get['code'](){const _0x401417=a0_0x783dd6;return this[_0x401417(0x29f)][_0x401417(0x1f6)]||'';}get[a0_0x783dd6(0x31a)](){const _0x2a8b3e=a0_0x783dd6;return this['_raw'][_0x2a8b3e(0x31a)]||'';}get[a0_0x783dd6(0x2f0)](){const _0x53d635=a0_0x783dd6;if(this[_0x53d635(0x29f)][_0x53d635(0x229)])return this[_0x53d635(0x29f)]['doType'];return this[_0x53d635(0x396)](this[_0x53d635(0x29f)][_0x53d635(0x208)]);}get[a0_0x783dd6(0x118)](){const _0x232641=a0_0x783dd6;return this[_0x232641(0x29f)]['description']||'';}get['deleted'](){const _0x4f845a=a0_0x783dd6;return Boolean(this[_0x4f845a(0x29f)][_0x4f845a(0x377)]);}[a0_0x783dd6(0x28a)](){const _0x4316cb=a0_0x783dd6;return Boolean(this[_0x4316cb(0x29f)][_0x4316cb(0x14d)]);}[a0_0x783dd6(0x207)](){const _0x378b1d=a0_0x783dd6;return Boolean(this[_0x378b1d(0x29f)]['pkField']);}[a0_0x783dd6(0x36a)](){const _0x474651=a0_0x783dd6;return Boolean(this[_0x474651(0x29f)][_0x474651(0x224)]);}['isAutoIncrement'](){const _0x3f9219=a0_0x783dd6;return Boolean(this[_0x3f9219(0x29f)][_0x3f9219(0x2b7)]);}['isCreateTime'](){const _0x17a6af=a0_0x783dd6;return this[_0x17a6af(0x29f)][_0x17a6af(0x224)]===_0x17a6af(0x30e);}[a0_0x783dd6(0x397)](){const _0x2f87d1=a0_0x783dd6;return this[_0x2f87d1(0x29f)]['systemRetain']===_0x2f87d1(0x1b9);}[a0_0x783dd6(0x1e6)](){const _0x45cc6d=a0_0x783dd6;return this['_raw'][_0x45cc6d(0x31a)]||'';}[a0_0x783dd6(0x1e1)](){const _0x428629=a0_0x783dd6;return this[_0x428629(0x29f)]['name']||'';}[a0_0x783dd6(0x18a)](){const _0x4f23dd=a0_0x783dd6;return Boolean(this[_0x4f23dd(0x29f)][_0x4f23dd(0x335)]&&Array[_0x4f23dd(0x325)](this[_0x4f23dd(0x29f)]['options'])&&this['_raw']['options'][_0x4f23dd(0x245)]>0x0);}['isMultipleSelect'](){const _0x831cf3=a0_0x783dd6,_0x36725c=this[_0x831cf3(0x29f)][_0x831cf3(0x1da)];if(!_0x36725c)return![];try{const _0x1c17de=JSON[_0x831cf3(0x170)](_0x36725c);if(_0x1c17de&&typeof _0x1c17de===_0x831cf3(0x3a6)&&_0x831cf3(0x275)in _0x1c17de)return Boolean(_0x1c17de[_0x831cf3(0x275)]);}catch{}return![];}[a0_0x783dd6(0x252)](){const _0x5d293a=a0_0x783dd6;if(this['_raw']['options']&&Array['isArray'](this[_0x5d293a(0x29f)]['options']))return this['_raw'][_0x5d293a(0x335)];return;}[a0_0x783dd6(0x2d9)](){const _0x1a59f8=a0_0x783dd6,_0x156cd7=this[_0x1a59f8(0x29f)]['extend'];if(!_0x156cd7)return;try{const _0x2710f3=JSON['parse'](_0x156cd7);if(_0x2710f3&&typeof _0x2710f3===_0x1a59f8(0x3a6)&&_0x1a59f8(0x218)in _0x2710f3)return _0x2710f3[_0x1a59f8(0x218)];}catch{}return;}['getDbTypeForOperation'](){const _0x23c824=a0_0x783dd6;if(!this[_0x23c824(0x29f)]['dbType'])return'';return this['_raw'][_0x23c824(0x208)][_0x23c824(0x187)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}['getDefaultValue'](){return;}[a0_0x783dd6(0x303)](){return;}get[a0_0x783dd6(0x208)](){const _0x2c61f8=a0_0x783dd6;return this[_0x2c61f8(0x29f)][_0x2c61f8(0x208)]??undefined;}get['dbTypeLen'](){const _0x2f5b67=a0_0x783dd6;return this[_0x2f5b67(0x29f)][_0x2f5b67(0x27e)];}['getDOType'](){const _0x407f64=a0_0x783dd6;return this['_raw'][_0x407f64(0x229)]??null;}get[a0_0x783dd6(0x229)](){const _0x13ae9e=a0_0x783dd6;return this['_raw'][_0x13ae9e(0x229)]??null;}[a0_0x783dd6(0x1fd)](){const _0x1812fb=a0_0x783dd6;return{'name':this['name'],'code':this[_0x1812fb(0x2eb)],'type':this[_0x1812fb(0x2f0)],'dbType':this[_0x1812fb(0x208)],'dbTypeLen':this[_0x1812fb(0x27e)],'doType':this[_0x1812fb(0x131)](),'displayName':this[_0x1812fb(0x31a)],'description':this[_0x1812fb(0x118)],'required':this[_0x1812fb(0x28a)](),'primaryKey':this[_0x1812fb(0x207)](),'system':this[_0x1812fb(0x36a)](),'autoIncrement':this[_0x1812fb(0x17d)](),'createTime':this[_0x1812fb(0x166)](),'updateTime':this['isUpdateTime'](),'isEnum':this['isEnum'](),'enumMeta':this['isEnum']()?this[_0x1812fb(0x2e8)]():undefined};}[a0_0x783dd6(0x231)](){const _0x32e9d5=a0_0x783dd6;return'FieldV2('+this[_0x32e9d5(0x1f6)]+',\x20'+this[_0x32e9d5(0x2eb)]+',\x20'+this[_0x32e9d5(0x208)]+',\x20doType='+this[_0x32e9d5(0x131)]()+')';}[a0_0x783dd6(0x396)](_0x3eede4){const _0x54f87b=a0_0x783dd6;if(!_0x3eede4)return _0x54f87b(0x157);const _0x56ec14={};_0x56ec14['VARCHAR']=_0x54f87b(0x157),_0x56ec14[_0x54f87b(0x13a)]='TEXT',_0x56ec14[_0x54f87b(0x157)]='TEXTAREA',_0x56ec14[_0x54f87b(0x10b)]=_0x54f87b(0x3a4),_0x56ec14['INT']=_0x54f87b(0x152),_0x56ec14[_0x54f87b(0x1c5)]='NUMBER',_0x56ec14[_0x54f87b(0x12d)]=_0x54f87b(0x152),_0x56ec14[_0x54f87b(0x2e1)]='NUMBER',_0x56ec14[_0x54f87b(0x250)]='NUMBER',_0x56ec14['DOUBLE']=_0x54f87b(0x152),_0x56ec14['FLOAT']='NUMBER',_0x56ec14[_0x54f87b(0x282)]=_0x54f87b(0x313),_0x56ec14[_0x54f87b(0x106)]=_0x54f87b(0x313),_0x56ec14[_0x54f87b(0x313)]=_0x54f87b(0x313),_0x56ec14[_0x54f87b(0x147)]=_0x54f87b(0x147),_0x56ec14[_0x54f87b(0x24f)]='SWITCH',_0x56ec14[_0x54f87b(0x184)]=_0x54f87b(0x34c),_0x56ec14[_0x54f87b(0x2af)]=_0x54f87b(0x2a4),_0x56ec14[_0x54f87b(0x343)]=_0x54f87b(0x2a4);const _0x3075c8=_0x56ec14,_0xf32e38=_0x3eede4[_0x54f87b(0x348)]();return _0x3075c8[_0xf32e38]||_0x54f87b(0x157);}}class FieldListV2 extends FieldListBase{constructor(_0x1b925a,_0x4533be){super(_0x1b925a,_0x4533be);}[a0_0x783dd6(0x204)](_0x38c3a9){const _0x3e677e=a0_0x783dd6;return _0x38c3a9[_0x3e677e(0x2cb)](_0x15e056=>new FieldV2(_0x15e056));}[a0_0x783dd6(0x399)](){const _0xf27f75=a0_0x783dd6;return[...this[_0xf27f75(0x161)]];}['at'](_0x4d3c0d){const _0x1faf1b=a0_0x783dd6;return this[_0x1faf1b(0x161)]['at'](_0x4d3c0d);}[a0_0x783dd6(0x292)](_0x46bf26){const _0x39f9c6=a0_0x783dd6;return this[_0x39f9c6(0x161)][_0x39f9c6(0x292)](_0xce9d94=>_0xce9d94['code']===_0x46bf26);}[a0_0x783dd6(0x330)](_0x34aca8){const _0x2de060=a0_0x783dd6;return this[_0x2de060(0x161)][_0x2de060(0x292)](_0x5804ed=>_0x5804ed[_0x2de060(0x1e6)]()===_0x34aca8);}[a0_0x783dd6(0x391)](_0xa82c80){const _0x117ef4=a0_0x783dd6;return this[_0x117ef4(0x161)][_0x117ef4(0x391)](_0xa82c80);}[a0_0x783dd6(0x2cb)](_0x472c13){const _0x3585ea=a0_0x783dd6;return this[_0x3585ea(0x161)]['map'](_0x472c13);}[a0_0x783dd6(0x2c2)](){const _0x45846f=a0_0x783dd6;return this[_0x45846f(0x161)][_0x45846f(0x391)](_0x16b893=>_0x16b893[_0x45846f(0x28a)]());}['getPrimaryKeys'](){const _0x216700=a0_0x783dd6;return this['_fields'][_0x216700(0x391)](_0x22eca4=>_0x22eca4['isPrimaryKey']());}['getSystem'](){const _0x33644a=a0_0x783dd6;return this[_0x33644a(0x161)][_0x33644a(0x391)](_0x5e81f7=>_0x5e81f7[_0x33644a(0x36a)]());}[a0_0x783dd6(0x327)](){const _0x52de49=a0_0x783dd6;return this[_0x52de49(0x161)][_0x52de49(0x391)](_0x3cb568=>_0x3cb568[_0x52de49(0x28b)]());}[a0_0x783dd6(0x178)](){const _0xa362f1=a0_0x783dd6;return this[_0xa362f1(0x161)][_0xa362f1(0x391)](_0x2675af=>_0x2675af['isEnum']());}[a0_0x783dd6(0x1eb)](){const _0x3d3daa=a0_0x783dd6,_0x2f7812={};return this['_fields'][_0x3d3daa(0x24b)](_0x404c2b=>{const _0xf55e54=_0x3d3daa,_0x3e61de=_0x404c2b['type'];!_0x2f7812[_0x3e61de]&&(_0x2f7812[_0x3e61de]=[]),_0x2f7812[_0x3e61de][_0xf55e54(0x14a)](_0x404c2b);}),_0x2f7812;}[a0_0x783dd6(0x359)](){const _0x58a5c5=a0_0x783dd6;return this[_0x58a5c5(0x161)]['map'](_0x798414=>_0x798414[_0x58a5c5(0x359)]);}static['from'](_0x364e2c){const _0xb0dd96=a0_0x783dd6,_0x5dabf0=_0x364e2c[_0xb0dd96(0x2cb)](_0xefa3e3=>_0xefa3e3[_0xb0dd96(0x359)]);return new FieldListV2(_0x5dabf0);}static[a0_0x783dd6(0x2be)](_0x2778d7){const _0xcf0441=a0_0x783dd6,_0x2f666e={};return _0x2f666e[_0xcf0441(0x10e)]=!![],new FieldListV2(_0x2778d7,_0x2f666e);}[a0_0x783dd6(0x231)](){const _0x3a12bd=a0_0x783dd6;return _0x3a12bd(0x11a)+this[_0x3a12bd(0x245)]+'\x20fields)';}}class DrivenDataDetailV1 extends DrivenDataDetailBase{['_fieldListV1'];['_fieldListV1WithDeleted'];constructor(_0x67390b){super(_0x67390b);}[a0_0x783dd6(0x22e)](){const _0x3ba243=a0_0x783dd6;if(!this[_0x3ba243(0x2c3)]){const _0x4a5798={};_0x4a5798[_0x3ba243(0x10e)]=![],this['_fieldListV1']=new FieldListV1(this['_raw'][_0x3ba243(0x1b6)]||[],_0x4a5798);}return this[_0x3ba243(0x2c3)];}[a0_0x783dd6(0x257)](){const _0x50a6d0=a0_0x783dd6;if(!this[_0x50a6d0(0x2c0)]){const _0x43108c={};_0x43108c['includeDeleted']=!![],this['_fieldListV1WithDeleted']=new FieldListV1(this[_0x50a6d0(0x29f)]['properties']||[],_0x43108c);}return this[_0x50a6d0(0x2c0)];}[a0_0x783dd6(0x27a)](){const _0x2b089b=a0_0x783dd6;return(this[_0x2b089b(0x29f)][_0x2b089b(0x1b6)]||[])[_0x2b089b(0x391)](_0x56e37f=>!_0x56e37f[_0x2b089b(0x377)]);}[a0_0x783dd6(0x125)](){const _0x486706=a0_0x783dd6;return this[_0x486706(0x22e)]()['length'];}[a0_0x783dd6(0x103)](_0x4bc5e4){const _0xfe8be0=a0_0x783dd6;return this['_raw'][_0xfe8be0(0x1b6)]?.[_0xfe8be0(0x292)](_0x13862f=>_0x13862f[_0xfe8be0(0x2eb)]===_0x4bc5e4);}[a0_0x783dd6(0x27c)](){return'v1';}['getFieldDataSource'](){const _0x32c4f5=a0_0x783dd6,_0xa832a0={};return _0xa832a0[_0x32c4f5(0x28d)]=this['_raw']['properties']||[],_0xa832a0[_0x32c4f5(0x10e)]=![],_0xa832a0;}[a0_0x783dd6(0x21d)](){const _0x3a4025=a0_0x783dd6;return this[_0x3a4025(0x29f)]['operations'];}[a0_0x783dd6(0x34d)](){const _0xcf4106=a0_0x783dd6;return this[_0xcf4106(0x29f)][_0xcf4106(0x23b)];}[a0_0x783dd6(0x354)](){const _0x542112=a0_0x783dd6,_0x42ba94=this[_0x542112(0x177)](),_0xac95d5=_0x42ba94?.['dblinkInfoDTO'],_0x4fb7a8={};return _0x4fb7a8['dbId']=_0x42ba94?.[_0x542112(0x133)],_0x4fb7a8[_0x542112(0x136)]=_0x42ba94?.[_0x542112(0x136)]??_0xac95d5?.['dbName'],_0x4fb7a8['dbType']=_0xac95d5?.[_0x542112(0x208)],_0x4fb7a8[_0x542112(0x2ea)]=_0xac95d5?.['dbVersion'],_0x4fb7a8[_0x542112(0x1f1)]=_0x42ba94?.[_0x542112(0x1f1)],_0x4fb7a8[_0x542112(0x3bf)]=_0x42ba94?.[_0x542112(0x3bf)],_0x4fb7a8[_0x542112(0x2c9)]=_0x42ba94?.[_0x542112(0x2c9)],_0x4fb7a8[_0x542112(0x386)]=_0xac95d5?.[_0x542112(0x386)],_0x4fb7a8['appCode']=_0xac95d5?.[_0x542112(0x23c)],new DBConfig(_0x4fb7a8,_0x42ba94);}get[a0_0x783dd6(0x107)](){const _0x24ffc0=a0_0x783dd6;return this['_raw'][_0x24ffc0(0x107)];}['getFieldInstance'](_0x2c0505){const _0x4c0321=a0_0x783dd6;if(typeof _0x2c0505!==_0x4c0321(0x3ab)){!![]&&console[_0x4c0321(0x364)]('[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x2c0505);return;}return this['getFieldList']()['find'](_0x2c0505);}['isMultipleSelectField'](_0x5ab14c){const _0x140e63=a0_0x783dd6;if(!_0x5ab14c||typeof _0x5ab14c!=='object')return![];const _0x4f666c=this[_0x140e63(0x23e)](_0x5ab14c[_0x140e63(0x2eb)]);return _0x4f666c?_0x4f666c[_0x140e63(0x2a8)]():![];}[a0_0x783dd6(0x368)](){const _0x331e64=a0_0x783dd6,_0x32cc37=this[_0x331e64(0x129)](_0x331e64(0x391));return _0x32cc37;}[a0_0x783dd6(0x3aa)](){const _0x3dfcba=a0_0x783dd6;return this['hasOperation'](_0x3dfcba(0x391));}['toListItem'](){const _0x45324d=a0_0x783dd6;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x45324d(0x219)],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x783dd6(0x258)];[a0_0x783dd6(0x123)];[a0_0x783dd6(0x35f)];constructor(_0x1a3048){const _0x17c4fc=a0_0x783dd6;super(_0x1a3048),this[_0x17c4fc(0x123)]=_0x1a3048[_0x17c4fc(0x289)],this[_0x17c4fc(0x35f)]=_0x1a3048['relations']||[];}[a0_0x783dd6(0x27c)](){return'v2';}[a0_0x783dd6(0x1b4)](){const _0x6bba23=a0_0x783dd6,_0x1a56ab={};return _0x1a56ab[_0x6bba23(0x28d)]=this[_0x6bba23(0x29f)][_0x6bba23(0x28d)],_0x1a56ab['includeDeleted']=![],_0x1a56ab;}[a0_0x783dd6(0x21d)](){const _0x1a8d35=a0_0x783dd6;return this[_0x1a8d35(0x29f)][_0x1a8d35(0x350)];}[a0_0x783dd6(0x34d)](){const _0x528ba6=a0_0x783dd6;return this[_0x528ba6(0x29f)]['source'];}[a0_0x783dd6(0x354)](){const _0x1e07de=a0_0x783dd6,_0x52b234=this[_0x1e07de(0x29f)][_0x1e07de(0x16f)],_0x42b66d=_0x52b234?.[_0x1e07de(0x30f)],_0x94c492={};return _0x94c492[_0x1e07de(0x133)]=_0x52b234?.[_0x1e07de(0x133)],_0x94c492[_0x1e07de(0x136)]=_0x52b234?.[_0x1e07de(0x136)]??_0x42b66d?.[_0x1e07de(0x136)],_0x94c492[_0x1e07de(0x208)]=_0x42b66d?.['dbType'],_0x94c492[_0x1e07de(0x2ea)]=_0x42b66d?.[_0x1e07de(0x2ea)],_0x94c492['tableName']=_0x52b234?.[_0x1e07de(0x1f1)],_0x94c492[_0x1e07de(0x3bf)]=_0x52b234?.['datasetKey'],_0x94c492[_0x1e07de(0x2c9)]=_0x52b234?.[_0x1e07de(0x2c9)],_0x94c492[_0x1e07de(0x386)]=_0x52b234?.['tenantCode']??_0x42b66d?.[_0x1e07de(0x386)],_0x94c492['appCode']=_0x52b234?.[_0x1e07de(0x23c)]??_0x42b66d?.['appCode'],new DBConfig(_0x94c492,_0x52b234);}[a0_0x783dd6(0x22e)](){const _0x17eacb=a0_0x783dd6;return this[_0x17eacb(0x3ad)]();}[a0_0x783dd6(0x27a)](){const _0x461553=a0_0x783dd6;return this[_0x461553(0x29f)][_0x461553(0x28d)];}[a0_0x783dd6(0x125)](){const _0x4de47e=a0_0x783dd6;return this[_0x4de47e(0x29f)][_0x4de47e(0x28d)]['length'];}[a0_0x783dd6(0x103)](_0x34d1aa){const _0x151cb2=a0_0x783dd6;return this[_0x151cb2(0x29f)][_0x151cb2(0x28d)][_0x151cb2(0x292)](_0x3b2172=>_0x3b2172[_0x151cb2(0x1f6)]===_0x34d1aa);}['getDatasetMeta'](){return this['_datasetMeta'];}['getRelations'](){return this['_relations'];}['getIndexes'](){const _0x4cabbf=a0_0x783dd6;return this[_0x4cabbf(0x123)][_0x4cabbf(0x31e)]||[];}[a0_0x783dd6(0x183)](_0x2f2361){const _0x21d95e=a0_0x783dd6;return this[_0x21d95e(0x35f)][_0x21d95e(0x391)](_0x25dbbf=>_0x25dbbf['fromField']===_0x2f2361);}['hasRelation'](_0x50abff){const _0x18a9f1=a0_0x783dd6;return this[_0x18a9f1(0x35f)][_0x18a9f1(0x35a)](_0x41226b=>_0x41226b[_0x18a9f1(0x38d)]===_0x50abff);}[a0_0x783dd6(0x324)](_0x51178b){const _0x47480d=a0_0x783dd6,_0x4aac80=this[_0x47480d(0x35f)][_0x47480d(0x292)](_0x1470a1=>_0x1470a1['fromField']===_0x51178b);if(!_0x4aac80)return;const _0x45069e={};return _0x45069e[_0x47480d(0x31b)]=_0x4aac80[_0x47480d(0x3b8)],_0x45069e[_0x47480d(0x219)]=_0x4aac80[_0x47480d(0x1ab)],_0x45069e[_0x47480d(0x271)]=_0x4aac80[_0x47480d(0x1c9)],_0x45069e['tableName']=_0x4aac80['toTableName'],_0x45069e[_0x47480d(0x351)]=_0x4aac80[_0x47480d(0x351)],_0x45069e;}[a0_0x783dd6(0x315)](){const _0xa473f5=a0_0x783dd6;return this[_0xa473f5(0x35f)]['map'](_0x22ee74=>_0x22ee74[_0xa473f5(0x38d)]);}[a0_0x783dd6(0x3ad)](){const _0x267005=a0_0x783dd6;if(!this[_0x267005(0x258)]){const _0x4749bd=this[_0x267005(0x29f)][_0x267005(0x28d)]||[];this[_0x267005(0x258)]=new FieldListV2(_0x4749bd);}return this[_0x267005(0x258)];}['getFieldInstance'](_0x438d92){const _0x96d2d3=a0_0x783dd6;if(typeof _0x438d92!=='string'){!![]&&console['warn'](_0x96d2d3(0x20b),_0x438d92);return;}return this[_0x96d2d3(0x3ad)]()[_0x96d2d3(0x292)](_0x438d92);}[a0_0x783dd6(0x2e3)](_0x3ab8ba){const _0x413ae0=a0_0x783dd6;if(!_0x3ab8ba||typeof _0x3ab8ba!==_0x413ae0(0x3a6))return![];const _0x45b556=_0x3ab8ba['name']||_0x3ab8ba[_0x413ae0(0x2eb)],_0x4123a3=this[_0x413ae0(0x23e)](_0x45b556);return _0x4123a3?_0x4123a3[_0x413ae0(0x2a8)]():![];}[a0_0x783dd6(0x2f9)](){const _0x1f327a=a0_0x783dd6;if(!this[_0x1f327a(0x29e)]){const _0x409fc1=this['ensureFilterOperation'](this[_0x1f327a(0x21d)]()||{});this[_0x1f327a(0x29e)]=new OperationList(_0x409fc1,{'fields':this[_0x1f327a(0x3ad)]()[_0x1f327a(0x399)](),'pkField':this['_raw']['dbtableConfig']?.['pkField'],'dbtableConfig':this['_raw'][_0x1f327a(0x16f)]||null});}return this[_0x1f327a(0x29e)];}[a0_0x783dd6(0x368)](){const _0x3a0ad7=a0_0x783dd6,_0x2056fd=this[_0x3a0ad7(0x129)]('filter');return _0x2056fd;}['hasFilterOperation'](){const _0x47a485=a0_0x783dd6;return this[_0x47a485(0x32e)]('filter');}[a0_0x783dd6(0x15b)](){const _0x26e5ed=a0_0x783dd6;return new DatasetItem({'id':this['id'],'name':this[_0x26e5ed(0x1f6)],'datasetCode':this[_0x26e5ed(0x219)],'dbtableConfig':this[_0x26e5ed(0x177)]()});}[a0_0x783dd6(0x231)](){const _0xcf3cf0=a0_0x783dd6,_0x2a433c=this['_relations'][_0xcf3cf0(0x245)],_0x41314b=this[_0xcf3cf0(0x20c)]()[_0xcf3cf0(0x245)];return _0xcf3cf0(0x1ee)+this[_0xcf3cf0(0x1f6)]+',\x20'+this[_0xcf3cf0(0x219)]+',\x20'+this['getFieldCount']()+_0xcf3cf0(0x287)+this[_0xcf3cf0(0x286)]()+_0xcf3cf0(0x1f8)+_0x2a433c+_0xcf3cf0(0x38b)+_0x41314b+_0xcf3cf0(0x369);}[a0_0x783dd6(0x1ec)](){const _0x1e1077=a0_0x783dd6;return this['_raw'][_0x1e1077(0x28d)];}[a0_0x783dd6(0x17a)](_0x2fe93c){const _0x344163=a0_0x783dd6;return this[_0x344163(0x29f)]['fields'][_0x344163(0x292)](_0x3b7fd6=>_0x3b7fd6[_0x344163(0x1f6)]===_0x2fe93c);}}function detectDatasetVersion(_0x4ebb85){const _0x20a22c=a0_0x783dd6;if(_0x4ebb85[_0x20a22c(0x18e)]==='v2'&&_0x20a22c(0x28d)in _0x4ebb85&&Array[_0x20a22c(0x325)](_0x4ebb85[_0x20a22c(0x28d)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{['_instance'];constructor(_0x170fac){const _0x260961=a0_0x783dd6;super(_0x170fac);const _0x23084d=detectDatasetVersion(_0x170fac);this[_0x260961(0x264)]=_0x23084d==='v2'?new DrivenDataDetailV2(_0x170fac):new DrivenDataDetailV1(_0x170fac);}get['id'](){const _0x106e58=a0_0x783dd6;return this[_0x106e58(0x264)]['id'];}get[a0_0x783dd6(0x1f6)](){const _0xdedbe5=a0_0x783dd6;return this['_instance'][_0xdedbe5(0x1f6)];}get[a0_0x783dd6(0x219)](){const _0x4b0892=a0_0x783dd6;return this['_instance'][_0x4b0892(0x219)];}get[a0_0x783dd6(0x107)](){const _0x572419=a0_0x783dd6;return this[_0x572419(0x264)][_0x572419(0x27c)]()==='v2'?_0x572419(0x2f8):_0x572419(0x137);}[a0_0x783dd6(0x27c)](){const _0x1dc7a9=a0_0x783dd6;return this[_0x1dc7a9(0x264)][_0x1dc7a9(0x27c)]();}[a0_0x783dd6(0x312)](){const _0x16b81e=a0_0x783dd6;return this[_0x16b81e(0x264)]['id'];}['getCode'](){const _0x99fae1=a0_0x783dd6;return this[_0x99fae1(0x264)]['datasetCode'];}['getName'](){const _0x4ccc25=a0_0x783dd6;return this[_0x4ccc25(0x264)][_0x4ccc25(0x1f6)];}[a0_0x783dd6(0x1b4)](){const _0x596e3e=a0_0x783dd6;return this[_0x596e3e(0x264)][_0x596e3e(0x1b4)]();}[a0_0x783dd6(0x21d)](){const _0x56602f=a0_0x783dd6;return this[_0x56602f(0x264)]['getOperationsData']();}['getSource'](){const _0x5be71f=a0_0x783dd6;return this[_0x5be71f(0x264)][_0x5be71f(0x34d)]();}[a0_0x783dd6(0x257)](){const _0x34dca8=a0_0x783dd6;return this[_0x34dca8(0x264)][_0x34dca8(0x257)]();}['getFieldList'](){const _0x3b62c3=a0_0x783dd6;return this['_instance'][_0x3b62c3(0x22e)]();}['getFieldsWithDeleted'](){const _0x4e82c3=a0_0x783dd6;return this[_0x4e82c3(0x264)][_0x4e82c3(0x130)]();}['getFields'](){return this['_instance']['getFields']();}[a0_0x783dd6(0x125)](){const _0x2ca19d=a0_0x783dd6;return this[_0x2ca19d(0x264)][_0x2ca19d(0x125)]();}[a0_0x783dd6(0x39c)](){const _0x3dc6ee=a0_0x783dd6,_0x314509=this['_instance'][_0x3dc6ee(0x177)]();return _0x314509?.[_0x3dc6ee(0x2c9)];}[a0_0x783dd6(0x354)](){const _0xd69325=a0_0x783dd6;return this[_0xd69325(0x264)]['getDBConfig']();}['getFieldInstance'](_0xf4f67f){const _0x106adf=a0_0x783dd6;return this[_0x106adf(0x264)][_0x106adf(0x23e)](_0xf4f67f);}[a0_0x783dd6(0x2ec)](){const _0x398a51=a0_0x783dd6;return this[_0x398a51(0x264)]['getPrimaryKeyFields']();}[a0_0x783dd6(0x2fc)](){const _0x597901=a0_0x783dd6;return this[_0x597901(0x264)][_0x597901(0x2fc)]();}[a0_0x783dd6(0x101)](){const _0x2c5635=a0_0x783dd6;return this[_0x2c5635(0x264)]['getBusinessFields']();}[a0_0x783dd6(0x1af)](){const _0x3cf626=a0_0x783dd6;return this[_0x3cf626(0x264)][_0x3cf626(0x1af)]();}[a0_0x783dd6(0x1ac)](){const _0x1e4e9d=a0_0x783dd6;return this[_0x1e4e9d(0x264)][_0x1e4e9d(0x1ac)]();}['getEnumFields'](){const _0x41da63=a0_0x783dd6;return this[_0x41da63(0x264)][_0x41da63(0x145)]();}['getEnumFieldsMeta'](){const _0x5ddb77=a0_0x783dd6;return this[_0x5ddb77(0x264)][_0x5ddb77(0x1d2)]();}['getOperations'](){const _0x25afb4=a0_0x783dd6;return this['_instance'][_0x25afb4(0x25f)]();}[a0_0x783dd6(0x286)](){return this['_instance']['getOperationCount']();}[a0_0x783dd6(0x320)](){const _0x2514de=a0_0x783dd6;return this[_0x2514de(0x264)][_0x2514de(0x320)]();}[a0_0x783dd6(0x321)](){const _0x3b832c=a0_0x783dd6;return this[_0x3b832c(0x264)][_0x3b832c(0x321)]();}['getEnabledOperationInstances'](){const _0x121170=a0_0x783dd6;return this['_instance'][_0x121170(0x15e)]();}['getDisabledOperationInstances'](){const _0x80f242=a0_0x783dd6;return this[_0x80f242(0x264)][_0x80f242(0x2e7)]();}[a0_0x783dd6(0x2e9)](){return this['_instance']['getStats']();}[a0_0x783dd6(0x210)](){const _0x364a39=a0_0x783dd6;return this[_0x364a39(0x264)][_0x364a39(0x210)]();}[a0_0x783dd6(0x1db)](){const _0x1323a1=a0_0x783dd6;return this[_0x1323a1(0x264)][_0x1323a1(0x1db)]();}[a0_0x783dd6(0x20c)](){const _0x3d0025=a0_0x783dd6;return this[_0x3d0025(0x264)]['getIndexes']();}[a0_0x783dd6(0x115)](){const _0x364e19=a0_0x783dd6;return this['_instance'][_0x364e19(0x115)]();}['getFieldsFilterOperatorsMap'](){const _0x27f29a=a0_0x783dd6;return this['_instance'][_0x27f29a(0x1d5)]();}[a0_0x783dd6(0x1fd)](){const _0x61a8c3=a0_0x783dd6;return this['_instance'][_0x61a8c3(0x1fd)]();}[a0_0x783dd6(0x368)](){const _0x35fe7b=a0_0x783dd6;return this[_0x35fe7b(0x264)][_0x35fe7b(0x368)]();}[a0_0x783dd6(0x3aa)](){const _0x3af9d6=a0_0x783dd6;return this[_0x3af9d6(0x264)][_0x3af9d6(0x3aa)]();}[a0_0x783dd6(0x15b)](){const _0x31178c=a0_0x783dd6;return this[_0x31178c(0x264)][_0x31178c(0x15b)]();}[a0_0x783dd6(0x231)](){const _0x1c3bbc=a0_0x783dd6;return this[_0x1c3bbc(0x264)]['toString']();}[a0_0x783dd6(0x142)](){const _0x4dcd2e=a0_0x783dd6;return this[_0x4dcd2e(0x264)];}}function detectDatasetVersion2(_0x338e2c){const _0x2c7669=a0_0x783dd6;if(_0x338e2c[_0x2c7669(0x18e)]==='v2'&&_0x2c7669(0x28d)in _0x338e2c&&Array[_0x2c7669(0x325)](_0x338e2c[_0x2c7669(0x28d)]))return'v2';return'v1';}function createDrivenDataDetail(_0x1a23b6,_0x6120eb={}){const {forceVersion:_0x2e6c89}=_0x6120eb;if(_0x2e6c89==='v2')return new DrivenDataDetailV2(_0x1a23b6);if(_0x2e6c89==='v1')return new DrivenDataDetailV1(_0x1a23b6);const _0x5606ea=detectDatasetVersion2(_0x1a23b6);if(_0x5606ea==='v2')return new DrivenDataDetailV2(_0x1a23b6);return new DrivenDataDetailV1(_0x1a23b6);}function isV2Data(_0x222d95){return detectDatasetVersion2(_0x222d95)==='v2';}function isV1Data(_0x23e0be){return detectDatasetVersion2(_0x23e0be)==='v1';}function isV2Instance(_0xf01b24){const _0x20b03b=a0_0x783dd6;return _0xf01b24[_0x20b03b(0x27c)]()==='v2';}function isV1Instance(_0x5f5950){const _0x1461c4=a0_0x783dd6;return _0x5f5950[_0x1461c4(0x27c)]()==='v1';}class DatasetGroup{['items'];constructor(_0x59327b){const _0x5534ac=a0_0x783dd6;this[_0x5534ac(0x1d6)]=Array['isArray'](_0x59327b)?[..._0x59327b]:[_0x59327b],this['items'][_0x5534ac(0x2cd)]((_0x42db06,_0x4a568f)=>{const _0x1489d4=Number(_0x42db06['id'])||0x0,_0x3b2edd=Number(_0x4a568f['id'])||0x0;return _0x3b2edd-_0x1489d4;});}[a0_0x783dd6(0x1f4)](){const _0x1ec864=a0_0x783dd6;return this['items'][_0x1ec864(0x245)]>0x1;}[a0_0x783dd6(0x34e)](){return this['items'][0x0];}[a0_0x783dd6(0x209)](){const _0x5908b1=a0_0x783dd6;return this[_0x5908b1(0x1d6)][this[_0x5908b1(0x1d6)]['length']-0x1];}[a0_0x783dd6(0x14b)](){const _0x548581=a0_0x783dd6;return[...this[_0x548581(0x1d6)]];}[a0_0x783dd6(0x2bb)](){return this['items']['length'];}['getAt'](_0x2c8359){return this['items'][_0x2c8359];}[a0_0x783dd6(0x21e)](_0x57a54a){const _0xd50b09=a0_0x783dd6;return this[_0xd50b09(0x1d6)][_0xd50b09(0x292)](_0x178529=>_0x178529['id']===_0x57a54a);}[a0_0x783dd6(0x143)](_0x2f0540){const _0x5c918d=a0_0x783dd6;return this['items'][_0x5c918d(0x292)](_0x36ce9b=>_0x36ce9b['datasetCode']===_0x2f0540);}['getIds'](){const _0x20c5f3=a0_0x783dd6;return this['items'][_0x20c5f3(0x2cb)](_0x1b3ac1=>_0x1b3ac1['id'])[_0x20c5f3(0x391)](_0x7b4ca4=>_0x7b4ca4!==undefined);}[a0_0x783dd6(0x2a6)](){const _0xce4501=a0_0x783dd6;return this[_0xce4501(0x1d6)][_0xce4501(0x2cb)](_0x29dcef=>_0x29dcef[_0xce4501(0x219)]);}[a0_0x783dd6(0x231)](){const _0x9a3484=a0_0x783dd6;if(this[_0x9a3484(0x1f4)]())return'DatasetGroup('+this[_0x9a3484(0x1d6)][_0x9a3484(0x245)]+_0x9a3484(0x15f)+this['getLatest']()['name']+')';return'DatasetGroup('+this[_0x9a3484(0x1d6)][0x0][_0x9a3484(0x1f6)]+')';}}class DatasetGroupMap{[a0_0x783dd6(0x238)];constructor(_0x33b37d){const _0x53a2ea=a0_0x783dd6;this[_0x53a2ea(0x238)]=new Map();for(const _0x4f27d7 of _0x33b37d){const _0xb610fc=getTableKey(_0x4f27d7);if(!this['groups']['has'](_0xb610fc))this[_0x53a2ea(0x238)][_0x53a2ea(0x2fe)](_0xb610fc,new DatasetGroup(_0x4f27d7));else{const _0x2c726e=this[_0x53a2ea(0x238)][_0x53a2ea(0x33c)](_0xb610fc),_0x15b05b=[..._0x2c726e[_0x53a2ea(0x14b)](),_0x4f27d7];this[_0x53a2ea(0x238)][_0x53a2ea(0x2fe)](_0xb610fc,new DatasetGroup(_0x15b05b));}}}[a0_0x783dd6(0x33c)](_0x1a5ebf){const _0x51f80a=a0_0x783dd6;return this[_0x51f80a(0x238)][_0x51f80a(0x33c)](_0x1a5ebf);}[a0_0x783dd6(0x39b)](_0x5b827c){const _0x2b050a=a0_0x783dd6;return this['groups'][_0x2b050a(0x39b)](_0x5b827c);}get[a0_0x783dd6(0x2d8)](){const _0x473c3=a0_0x783dd6;return this[_0x473c3(0x238)]['size'];}[a0_0x783dd6(0x323)](){const _0x5795da=a0_0x783dd6;return this[_0x5795da(0x238)][_0x5795da(0x323)]();}[a0_0x783dd6(0x122)](){const _0x26dda1=a0_0x783dd6;return this['groups'][_0x26dda1(0x122)]();}['entries'](){const _0x3314f1=a0_0x783dd6;return this[_0x3314f1(0x238)][_0x3314f1(0x1fe)]();}[Symbol[a0_0x783dd6(0x17e)]](){const _0x21eb0d=a0_0x783dd6;return this[_0x21eb0d(0x238)][_0x21eb0d(0x1fe)]();}[a0_0x783dd6(0x24b)](_0x5589db){const _0x1cffc2=a0_0x783dd6;this[_0x1cffc2(0x238)]['forEach']((_0x559a75,_0x51d982)=>_0x5589db(_0x559a75,_0x51d982,this));}['getConflicts'](){const _0x36f2ab=a0_0x783dd6,_0x307b0b=new Map();for(const [_0x570fe4,_0x3ffd77]of this['groups']){_0x3ffd77[_0x36f2ab(0x1f4)]()&&_0x307b0b[_0x36f2ab(0x2fe)](_0x570fe4,_0x3ffd77);}return _0x307b0b;}[a0_0x783dd6(0x336)](){const _0x3db4af=a0_0x783dd6;for(const _0x48c984 of this[_0x3db4af(0x238)][_0x3db4af(0x122)]()){if(_0x48c984[_0x3db4af(0x1f4)]())return!![];}return![];}[a0_0x783dd6(0x185)](){const _0x20dd1e=a0_0x783dd6;let _0x3eca88=0x0,_0x4d68e5=0x0;for(const _0x15d226 of this[_0x20dd1e(0x238)][_0x20dd1e(0x122)]()){_0x15d226[_0x20dd1e(0x1f4)]()&&(_0x3eca88++,_0x4d68e5+=_0x15d226[_0x20dd1e(0x2bb)]());}const _0x2fb965={};return _0x2fb965[_0x20dd1e(0x2ce)]=_0x3eca88,_0x2fb965[_0x20dd1e(0x149)]=_0x4d68e5,_0x2fb965[_0x20dd1e(0x254)]=this['groups']['size'],_0x2fb965;}[a0_0x783dd6(0x2d5)](){const _0xb00851=a0_0x783dd6,_0x426002=[];for(const _0x30abf4 of this[_0xb00851(0x238)][_0xb00851(0x122)]()){_0x426002[_0xb00851(0x14a)](..._0x30abf4[_0xb00851(0x14b)]());}return _0x426002;}[a0_0x783dd6(0x17f)](){const _0x33ceab=a0_0x783dd6,_0x5c0ba8=[];for(const _0x36e24e of this[_0x33ceab(0x238)]['values']()){_0x5c0ba8[_0x33ceab(0x14a)](_0x36e24e[_0x33ceab(0x34e)]());}return _0x5c0ba8;}[a0_0x783dd6(0x34e)](_0x1937a4){const _0x817a8d=a0_0x783dd6;return this[_0x817a8d(0x238)][_0x817a8d(0x33c)](_0x1937a4)?.['getLatest']();}[a0_0x783dd6(0x14b)](_0x53efb5){const _0x35c80e=a0_0x783dd6;return this[_0x35c80e(0x238)][_0x35c80e(0x33c)](_0x53efb5)?.[_0x35c80e(0x14b)]()||[];}[a0_0x783dd6(0x13c)](){const _0x3d4576=a0_0x783dd6,_0x3f84bf=this[_0x3d4576(0x17f)](),_0x36863b=_0x3f84bf[_0x3d4576(0x2cb)](_0x319761=>_0x319761[_0x3d4576(0x1fd)]()),_0x2bdd15={};return _0x2bdd15['enableDeduplication']=![],generateDatasetsConfig(_0x36863b,_0x2bdd15);}[a0_0x783dd6(0x316)](){const _0x581c94=a0_0x783dd6,_0x4ad79d=this[_0x581c94(0x2d5)](),_0x2f3040=_0x4ad79d[_0x581c94(0x2cb)](_0x32631d=>_0x32631d['toJSON']());return generateFullDatasetsConfig(_0x2f3040);}['toObject'](){const _0x4268b3=a0_0x783dd6,_0x257a4f={};for(const [_0x50034d,_0x37e3c3]of this[_0x4268b3(0x238)]){_0x257a4f[_0x50034d]=_0x37e3c3;}return _0x257a4f;}[a0_0x783dd6(0x1fd)](){const _0x4fba63=a0_0x783dd6,_0x3cd58a={};for(const [_0x2437f3,_0x1b8440]of this[_0x4fba63(0x238)]){_0x3cd58a[_0x2437f3]=_0x1b8440[_0x4fba63(0x14b)]()[_0x4fba63(0x2cb)](_0x2f39b4=>_0x2f39b4[_0x4fba63(0x1fd)]());}return _0x3cd58a;}[a0_0x783dd6(0x231)](){const _0x96df3a=a0_0x783dd6;return _0x96df3a(0x360)+this[_0x96df3a(0x238)][_0x96df3a(0x2d8)]+_0x96df3a(0x206)+(this[_0x96df3a(0x336)]()?_0x96df3a(0x3be):_0x96df3a(0x216))+')';}}class DatasetList{[a0_0x783dd6(0x31f)];constructor(_0x256bcf){const _0x292574=a0_0x783dd6;let _0x3278a4;if(Array[_0x292574(0x325)](_0x256bcf))_0x3278a4=_0x256bcf;else{if(_0x292574(0x3b7)in _0x256bcf){if(!_0x256bcf[_0x292574(0x3b7)])throw new Error(_0x292574(0x21f));if(Array['isArray'](_0x256bcf[_0x292574(0x269)]))_0x3278a4=_0x256bcf[_0x292574(0x269)][_0x292574(0x2cb)](_0x5e7d66=>({..._0x5e7d66,'datasetCode':_0x5e7d66['code']||_0x5e7d66['datasetCode']}));else{if(_0x256bcf[_0x292574(0x269)]?.[_0x292574(0x202)])_0x3278a4=_0x256bcf[_0x292574(0x269)][_0x292574(0x202)][_0x292574(0x2cb)](_0x574023=>({..._0x574023,'datasetCode':_0x574023[_0x292574(0x2eb)]||_0x574023['datasetCode']}));else throw new Error(_0x292574(0x259));}}else{if(_0x292574(0x202)in _0x256bcf){if(!Array['isArray'](_0x256bcf[_0x292574(0x202)]))throw new Error(_0x292574(0x168));_0x3278a4=_0x256bcf[_0x292574(0x202)][_0x292574(0x2cb)](_0x295ffb=>({..._0x295ffb,'datasetCode':_0x295ffb['code']||_0x295ffb['datasetCode']}));}else throw new Error(_0x292574(0x357));}}const _0x4d784e=cleanDatasetNames(_0x3278a4),_0x7a11f3=_0x4d784e[_0x292574(0x2cb)](_0x578598=>new DatasetItem(_0x578598));this[_0x292574(0x31f)]=new DatasetGroupMap(_0x7a11f3);}get[a0_0x783dd6(0x198)](){return this['_datasetMap'];}[a0_0x783dd6(0x1a2)](){const _0x23ab26=a0_0x783dd6;return this[_0x23ab26(0x31f)][_0x23ab26(0x2d5)]();}['getCount'](){const _0x270abf=a0_0x783dd6;return this[_0x270abf(0x1a2)]()['length'];}[a0_0x783dd6(0x2a7)](){const _0xa348fe=a0_0x783dd6;return this[_0xa348fe(0x31f)][_0xa348fe(0x2d8)]===0x0;}[a0_0x783dd6(0x2c6)](_0x3d812c){return this['getItems']()[_0x3d812c];}[a0_0x783dd6(0x19b)](){const _0x1a2d91=a0_0x783dd6;return this[_0x1a2d91(0x1a2)]()[0x0];}['getLast'](){const _0xfafbb6=a0_0x783dd6,_0x123cec=this['getItems']();return _0x123cec[_0x123cec[_0xfafbb6(0x245)]-0x1];}['findByCode'](_0x4ed628){const _0x414e79=a0_0x783dd6;for(const _0x318387 of this[_0x414e79(0x31f)]['values']()){const _0x31a0a3=_0x318387[_0x414e79(0x143)](_0x4ed628);if(_0x31a0a3)return _0x31a0a3;}return;}[a0_0x783dd6(0x330)](_0x36b7c3){const _0x1127f5=a0_0x783dd6;return this[_0x1127f5(0x1a2)]()[_0x1127f5(0x292)](_0x8c0195=>_0x8c0195[_0x1127f5(0x1f6)]===_0x36b7c3);}[a0_0x783dd6(0x21e)](_0x43d98e){const _0x77afda=a0_0x783dd6;for(const _0x1d868b of this['_datasetMap'][_0x77afda(0x122)]()){const _0x23b94f=_0x1d868b[_0x77afda(0x21e)](_0x43d98e);if(_0x23b94f)return _0x23b94f;}return;}['findByTableName'](_0x3e8c97){const _0x39eb7d=a0_0x783dd6,_0x405b7a=getTableKey(_0x3e8c97);return this['_datasetMap'][_0x39eb7d(0x34e)](_0x405b7a);}[a0_0x783dd6(0x391)](_0x32d3eb){const _0x375417=a0_0x783dd6,_0x3b8247=this['getItems']()[_0x375417(0x391)](_0x32d3eb);return new DatasetList(_0x3b8247[_0x375417(0x2cb)](_0x1119c8=>_0x1119c8[_0x375417(0x1fd)]()));}[a0_0x783dd6(0x29c)](_0x1fe07a){const _0x414f0e=a0_0x783dd6;return this[_0x414f0e(0x1a2)]()[_0x414f0e(0x391)](_0x1fe07a);}[a0_0x783dd6(0x24b)](_0x13afd3){this['getItems']()['forEach'](_0x13afd3);}['map'](_0x16d295){const _0x22ad4a=a0_0x783dd6;return this[_0x22ad4a(0x1a2)]()[_0x22ad4a(0x2cb)](_0x16d295);}[Symbol['iterator']](){const _0x151968=a0_0x783dd6;return this[_0x151968(0x1a2)]()[Symbol[_0x151968(0x17e)]]();}[a0_0x783dd6(0x28e)](){const _0x50c685=a0_0x783dd6;return this[_0x50c685(0x1a2)]()[_0x50c685(0x391)](_0x37a266=>_0x37a266[_0x50c685(0x39e)]());}['getRealTables'](){const _0x58efeb=a0_0x783dd6;return this[_0x58efeb(0x1a2)]()['filter'](_0xcd4627=>!_0xcd4627[_0x58efeb(0x39e)]());}[a0_0x783dd6(0x367)](){const _0x594541=a0_0x783dd6,_0x34aab5={};for(const _0x5eb34a of this[_0x594541(0x31f)][_0x594541(0x122)]()){const _0x2079cc=_0x5eb34a[_0x594541(0x34e)]()[_0x594541(0x28f)]();_0x34aab5[_0x2079cc]=_0x5eb34a[_0x594541(0x14b)]();}return _0x34aab5;}['detectConflicts'](){const _0x1cf8ed=a0_0x783dd6,_0x41472d={};for(const _0x2e31aa of this[_0x1cf8ed(0x31f)][_0x1cf8ed(0x1a8)]()[_0x1cf8ed(0x122)]()){const _0x2d055b=_0x2e31aa[_0x1cf8ed(0x34e)]()['getTableName']();_0x41472d[_0x2d055b]=_0x2e31aa[_0x1cf8ed(0x14b)]()['map'](_0x179e0d=>_0x179e0d[_0x1cf8ed(0x1fd)]());}return{'hasConflicts':Object[_0x1cf8ed(0x323)](_0x41472d)[_0x1cf8ed(0x245)]>0x0,'conflicts':_0x41472d};}['hasConflicts'](){const _0x4bcf0b=a0_0x783dd6;return this[_0x4bcf0b(0x31f)][_0x4bcf0b(0x336)]();}['getConflictingItems'](){const _0x35a893=a0_0x783dd6,_0x3f0d56=[];for(const _0x373e9b of this[_0x35a893(0x31f)][_0x35a893(0x1a8)]()[_0x35a893(0x122)]()){_0x3f0d56[_0x35a893(0x14a)](..._0x373e9b[_0x35a893(0x14b)]());}return _0x3f0d56;}[a0_0x783dd6(0x2a2)](_0x348a49){const _0x19b8bd=a0_0x783dd6;if(!_0x348a49||Object[_0x19b8bd(0x323)](_0x348a49)[_0x19b8bd(0x245)]===0x0)return this['datasetMap'][_0x19b8bd(0x13c)]();const _0x49aaed=this[_0x19b8bd(0x1a2)]()[_0x19b8bd(0x2cb)](_0x213095=>_0x213095['toJSON']());return generateDatasetsConfig(_0x49aaed,_0x348a49);}[a0_0x783dd6(0x1cc)](_0x180b93){const _0x1ffd37=a0_0x783dd6,_0x2a5948=this[_0x1ffd37(0x2a2)](_0x180b93);return datasetsConfigToArray(_0x2a5948);}[a0_0x783dd6(0x32d)](){const _0xb4f023=a0_0x783dd6;return this[_0xb4f023(0x1a2)]()['map'](_0x4f86e9=>_0x4f86e9['toConfig']());}[a0_0x783dd6(0x2e9)](){const _0x483cef=a0_0x783dd6;return{'total':this[_0x483cef(0x2bb)](),'virtualTables':this[_0x483cef(0x28e)]()['length'],'realTables':this['getRealTables']()[_0x483cef(0x245)],'hasConflicts':this['hasConflicts'](),'conflictCount':this[_0x483cef(0x29a)]()['length']};}[a0_0x783dd6(0x36c)](){const _0x210d17=a0_0x783dd6;return this[_0x210d17(0x1a2)]()['map'](_0x123d4e=>_0x123d4e['toJSON']());}['toJSON'](){const _0x3f0b6=a0_0x783dd6;return this[_0x3f0b6(0x36c)]();}[a0_0x783dd6(0x231)](){const _0x200e8e=a0_0x783dd6;return _0x200e8e(0x388)+this[_0x200e8e(0x2bb)]()+_0x200e8e(0x2ae)+this[_0x200e8e(0x31f)][_0x200e8e(0x2d8)]+'\x20groups)';}static[a0_0x783dd6(0x195)](_0x35c66f){return new DatasetList(_0x35c66f);}static[a0_0x783dd6(0x2e5)](_0x3c5bca){return new DatasetList(_0x3c5bca);}static[a0_0x783dd6(0x299)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x783dd6(0x29b);function renderTemplate(_0x270dbc,_0x1b1c0c,_0x264b07={}){const _0xf960e0=a0_0x783dd6;let _0x129296=_0x270dbc;return Object[_0xf960e0(0x1fe)](_0x264b07)[_0xf960e0(0x24b)](([_0x1540f5,_0x205176])=>{const _0x5817ae=_0xf960e0,_0x3250fe=new RegExp(_0x5817ae(0x211)+_0x1540f5+_0x5817ae(0x2e2),'g');_0x129296=_0x129296[_0x5817ae(0x187)](_0x3250fe,_0x205176?'$1':'');}),Object['entries'](_0x1b1c0c)[_0xf960e0(0x24b)](([_0x1ae194,_0x843859])=>{const _0x3ae044=_0xf960e0;if(_0x843859!==undefined){const _0x42b304=new RegExp(_0x3ae044(0x30a)+_0x1ae194+_0x3ae044(0x11b),'g');_0x129296=_0x129296[_0x3ae044(0x187)](_0x42b304,_0x843859);}}),_0x129296;}function generateSDKInitCode(_0xb802a8,_0x43fb14,_0x369bf6,_0xdadd25,_0x3c860f){const _0x6530f=a0_0x783dd6,_0x18ed46={};_0x18ed46['appCode']=_0xb802a8,_0x18ed46['datasetCode']=_0x43fb14,_0x18ed46['alias']=_0x369bf6,_0x18ed46[_0x6530f(0x1a7)]=_0xdadd25===_0x6530f(0x1ae)?_0x6530f(0x1ae):undefined;const _0x470cd4={};return _0x470cd4[_0x6530f(0x1a7)]=_0xdadd25!==undefined&&_0xdadd25!=='online',_0x470cd4[_0x6530f(0x226)]=_0x3c860f===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x18ed46,_0x470cd4);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x783dd6(0x267);function generateAliasExplanation(_0x418531,_0x532734,_0x5c6563,_0x3a19ce){const _0x496285=a0_0x783dd6,_0x4f5d3f=_0x496285(0x132)+_0x418531,_0x2436cb=_0x496285(0x353),_0x34fdf9={};return _0x34fdf9['datasetCode']=_0x418531,_0x34fdf9['datasetSDKKey']=_0x4f5d3f,_0x34fdf9['tableName']=_0x532734,_0x34fdf9[_0x496285(0x182)]=_0x5c6563,_0x34fdf9[_0x496285(0x23c)]=_0x3a19ce,_0x34fdf9[_0x496285(0x2b4)]=_0x2436cb,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x34fdf9,{});}function DrivenDataDetailPlusMixin(_0x267b82){const _0x97cfd2=a0_0x783dd6;return class _0x3732d1 extends _0x267b82{[_0x97cfd2(0x32f)](_0x2f362c){const _0x2be374=_0x97cfd2;return{'appCode':_0x2f362c,'datasetSDKKey':this[_0x2be374(0x135)](),'alias':this[_0x2be374(0x188)](),'tableName':this[_0x2be374(0x28f)](),'datasetCode':this[_0x2be374(0x219)]};}['generateSDKInitCode'](_0x2f4dd8,_0x318c66='online',_0x16af2c=![]){const _0xcc3635=_0x97cfd2;return generateSDKInitCode(_0x2f4dd8,this[_0xcc3635(0x219)],this['getModelAlias'](),_0x318c66===_0xcc3635(0x1ae)?_0x318c66:undefined,_0x16af2c);}['generateFullSDKExample'](_0xc8131,_0x144115,_0x282a85={}){const _0x347155=_0x97cfd2,_0x37060=this['getOperations']()[_0x347155(0x292)](_0x51ce27=>_0x51ce27[_0x347155(0x255)]()===_0xc8131);if(!_0x37060)return null;const _0x1210d8={};_0x1210d8['useFullExample']=_0x282a85['includeRequestExample']!==![];const _0x3585b2=this[_0x347155(0x393)](_0xc8131,_0x1210d8);if(!_0x3585b2)return null;const _0x14417f=[];return _0x14417f['push'](_0x347155(0x1ba)+_0x37060[_0x347155(0x255)]()+_0x347155(0x2b1)),_0x14417f[_0x347155(0x14a)](_0x3585b2[_0x347155(0x379)]['code']),_0x14417f[_0x347155(0x14a)](''),_0x282a85['includeUsageExample']!==![]&&(_0x14417f[_0x347155(0x14a)](_0x347155(0x3b4)),_0x14417f[_0x347155(0x14a)](_0x3585b2[_0x347155(0x306)][_0x347155(0x27f)]),_0x14417f[_0x347155(0x14a)](''),_0x14417f[_0x347155(0x14a)](_0x3585b2['usageExample'][_0x347155(0x1f0)])),_0x14417f['join']('\x0a');}['generateAllOperationsFullSDKExample'](_0x39f918={}){const _0x456e90=_0x97cfd2,_0x436fdd=this[_0x456e90(0x13f)](),_0x2596e9=[];return _0x436fdd['forEach']((_0x253094,_0x31e324)=>{const _0x31b077=_0x456e90,_0x113062=this[_0x31b077(0x199)](_0x253094[_0x31b077(0x1f6)],_0x31b077(0x21c),_0x39f918);_0x113062&&(_0x2596e9[_0x31b077(0x14a)]('//\x20'+(_0x31e324+0x1)+'.\x20'+_0x253094[_0x31b077(0x31a)]),_0x2596e9['push'](_0x113062),_0x2596e9[_0x31b077(0x14a)](''));}),_0x2596e9[_0x456e90(0x15a)]('\x0a');}['generateOperationSummary'](_0x230fda){const _0x31a352=_0x97cfd2,_0x1633af=this[_0x31a352(0x277)](_0x230fda);if(!_0x1633af)return null;const _0x1cbc1d={};return _0x1cbc1d[_0x31a352(0x1f6)]=_0x1633af[_0x31a352(0x1f6)],_0x1cbc1d[_0x31a352(0x31a)]=_0x1633af[_0x31a352(0x31a)],_0x1cbc1d['method']=_0x1633af['method'],_0x1cbc1d['path']=_0x1633af[_0x31a352(0x1de)],_0x1cbc1d['enabled']=_0x1633af[_0x31a352(0x10d)],_0x1cbc1d[_0x31a352(0x268)]=_0x1633af[_0x31a352(0x384)][_0x31a352(0x245)],_0x1cbc1d[_0x31a352(0x39d)]=_0x1633af[_0x31a352(0x15c)]!==null,_0x1cbc1d;}[_0x97cfd2(0x165)](_0x2d6bbf={}){const _0x4a282c=_0x97cfd2,_0x46a0ba=this[_0x4a282c(0x13f)]();return{'datasetName':this['name'],'datasetCode':this[_0x4a282c(0x219)],'tableName':this[_0x4a282c(0x28f)](),'totalOperations':_0x46a0ba['length'],'operations':_0x46a0ba[_0x4a282c(0x2cb)](_0x4ea465=>({'name':_0x4ea465[_0x4a282c(0x1f6)],'displayName':_0x4ea465[_0x4a282c(0x31a)],'method':_0x4ea465[_0x4a282c(0x378)],'enabled':_0x4ea465[_0x4a282c(0x10d)]}))};}[_0x97cfd2(0x128)](_0xa14134){const _0x2860af=_0x97cfd2,_0x5bcd1b=this[_0x2860af(0x277)](_0xa14134);if(!_0x5bcd1b)return[];return _0x5bcd1b[_0x2860af(0x384)][_0x2860af(0x2cb)](_0x2958ef=>{const _0x574618=_0x2860af,_0x146e39=this[_0x574618(0x23e)](_0x2958ef);if(!_0x146e39)return null;const _0x174a04={};return _0x174a04[_0x574618(0x2eb)]=_0x2958ef,_0x174a04[_0x574618(0x1f6)]=_0x146e39[_0x574618(0x1f6)]||_0x2958ef,_0x174a04;})[_0x2860af(0x391)](_0x1de87c=>_0x1de87c!==null);}[_0x97cfd2(0x334)](){const _0xcc3587=_0x97cfd2,_0x39d122=new Set(this[_0xcc3587(0x13f)]()[_0xcc3587(0x2cb)](_0x23bf8d=>String(_0x23bf8d[_0xcc3587(0x2f0)]))),_0x25b6dd=[_0xcc3587(0x374),_0xcc3587(0x227),'update','delete'];return _0x25b6dd['filter'](_0xc596bb=>!_0x39d122[_0xcc3587(0x39b)](String(_0xc596bb)));}[_0x97cfd2(0x2fd)](_0x11f387=_0x97cfd2(0x21c)){const _0x29b08b=_0x97cfd2;return generateAliasExplanation(this[_0x29b08b(0x219)],this[_0x29b08b(0x28f)](),this[_0x29b08b(0x188)](),_0x11f387);}};}function operationToAnalysis(_0x1a71b8){const _0x32a2e2=a0_0x783dd6;return{'name':_0x1a71b8['getName'](),'displayName':_0x1a71b8[_0x32a2e2(0x1e6)](),'type':_0x1a71b8['getType'](),'method':_0x1a71b8['getMethod'](),'path':_0x1a71b8['getPath'](),'fullUrl':_0x1a71b8[_0x32a2e2(0x1d0)](),'requestFields':_0x1a71b8[_0x32a2e2(0x276)](),'requestParams':_0x1a71b8[_0x32a2e2(0x356)](),'responseSchema':_0x1a71b8[_0x32a2e2(0x223)](),'requestExample':_0x1a71b8[_0x32a2e2(0x11c)](),'responseExample':_0x1a71b8['generateResponseExample'](),'enabled':_0x1a71b8[_0x32a2e2(0x284)]()};}function operationsToAnalyses(_0x588800){const _0x3c4cbd=a0_0x783dd6;if(!Array[_0x3c4cbd(0x325)](_0x588800))return!![]&&console[_0x3c4cbd(0x364)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0x588800),[];return _0x588800[_0x3c4cbd(0x2cb)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x1dc3f8){const _0xfa08be=a0_0x783dd6,_0x25161a=_0x1dc3f8[_0xfa08be(0x292)](_0x59503e=>_0x59503e[_0xfa08be(0x1f6)]===_0xfa08be(0x391)),_0x467fa0=_0x1dc3f8[_0xfa08be(0x391)](_0x3ff415=>_0x3ff415[_0xfa08be(0x1f6)]!==_0xfa08be(0x391));return _0x25161a?[_0x25161a,..._0x467fa0]:_0x467fa0;}function filterOperationAnalyses(_0x206615,_0x27d1cc={}){const _0x9c3f56=a0_0x783dd6;let _0x514fc9=_0x206615;return!_0x27d1cc[_0x9c3f56(0x3a0)]&&(_0x514fc9=_0x514fc9[_0x9c3f56(0x391)](_0x1105b5=>_0x1105b5[_0x9c3f56(0x10d)])),_0x27d1cc[_0x9c3f56(0x2f5)]!==![]&&(_0x514fc9=filterApiOperations(_0x514fc9)),_0x27d1cc[_0x9c3f56(0x16b)]&&(_0x514fc9=_0x514fc9['filter'](_0x27d1cc[_0x9c3f56(0x16b)])),sortOperationsWithFilterFirst(_0x514fc9);}function getOperationStats(_0x3c665b){const _0x51f470=a0_0x783dd6,_0x50ae26=_0x3c665b[_0x51f470(0x391)](_0x1c89c4=>_0x1c89c4['enabled']);return{'total':_0x3c665b[_0x51f470(0x245)],'enabled':_0x50ae26[_0x51f470(0x245)],'disabled':_0x3c665b[_0x51f470(0x245)]-_0x50ae26['length'],'byType':getCountByType(_0x50ae26),'byMethod':getCountByMethod(_0x50ae26)};}function getCountByType(_0xd0bc43){const _0x225622=a0_0x783dd6,_0x350800={};return _0xd0bc43[_0x225622(0x24b)](_0x1a6855=>{const _0x4cbd3c=_0x225622;if(_0x1a6855[_0x4cbd3c(0x2f0)])_0x350800[_0x1a6855[_0x4cbd3c(0x2f0)]]=(_0x350800[_0x1a6855[_0x4cbd3c(0x2f0)]]||0x0)+0x1;}),_0x350800;}function getCountByMethod(_0x38a16f){const _0x47b395=a0_0x783dd6,_0x122137={};return _0x38a16f[_0x47b395(0x24b)](_0x3666a5=>{const _0x4014a7=_0x47b395;_0x122137[_0x3666a5[_0x4014a7(0x378)]]=(_0x122137[_0x3666a5[_0x4014a7(0x378)]]||0x0)+0x1;}),_0x122137;}function supportsCRUD(_0x3a57c5){const _0x5860bf=a0_0x783dd6,_0x8c382b=new Set(_0x3a57c5[_0x5860bf(0x2cb)](_0x7230e9=>_0x7230e9[_0x5860bf(0x2f0)])[_0x5860bf(0x391)](Boolean));return _0x8c382b[_0x5860bf(0x39b)](_0x5860bf(0x374))&&_0x8c382b[_0x5860bf(0x39b)](_0x5860bf(0x227))&&_0x8c382b[_0x5860bf(0x39b)](_0x5860bf(0x242))&&_0x8c382b['has'](_0x5860bf(0x138));}function createOperationDocMeta(_0x1d64f1,_0x222880,_0x4b2aeb,_0x94531d,_0x24e19a,_0x4a74fc){const _0xa6e3e9=a0_0x783dd6,_0x3a37e2={};return _0x3a37e2[_0xa6e3e9(0x18b)]=_0x4a74fc?.['useFullExample'],{'operation':_0x1d64f1,'operationInstance':_0x222880,'basicInfo':{'name':_0x1d64f1[_0xa6e3e9(0x1f6)],'displayName':_0x1d64f1[_0xa6e3e9(0x31a)],'method':_0x1d64f1[_0xa6e3e9(0x378)],'path':_0x1d64f1['path'],'fullUrl':_0x1d64f1[_0xa6e3e9(0x1a4)],'enabled':_0x1d64f1[_0xa6e3e9(0x10d)]},'sdkCall':{'datasetCode':_0x4b2aeb,'datasetSDKKey':_0x94531d,'tableName':_0x24e19a,'operationName':_0x1d64f1[_0xa6e3e9(0x1f6)],'params':_0x1d64f1['requestFields'],'code':_0x222880[_0xa6e3e9(0x2ba)](_0x94531d,_0x3a37e2)},'usageExample':_0x222880[_0xa6e3e9(0x21b)](_0x94531d)};}function createOperationsOverviewData(_0x20e87c){const _0x4713ba=a0_0x783dd6,_0x2a4040={};_0x2a4040['index']='name',_0x2a4040['label']=_0x4713ba(0x261);const _0x2c0b9a={};_0x2c0b9a['index']=_0x4713ba(0x31a),_0x2c0b9a[_0x4713ba(0x26b)]=_0x4713ba(0x159);const _0x4fdd5b={};_0x4fdd5b[_0x4713ba(0x317)]='method',_0x4fdd5b[_0x4713ba(0x26b)]='方法';const _0x1601d8={};_0x1601d8[_0x4713ba(0x317)]=_0x4713ba(0x379),_0x1601d8[_0x4713ba(0x26b)]=_0x4713ba(0x24d);const _0x582be6={};_0x582be6[_0x4713ba(0x317)]=_0x4713ba(0x1de),_0x582be6[_0x4713ba(0x26b)]=_0x4713ba(0x11e);const _0xe7e1d1={};_0xe7e1d1[_0x4713ba(0x317)]=_0x4713ba(0x32a),_0xe7e1d1[_0x4713ba(0x26b)]=_0x4713ba(0x1ef);const _0x36fef6=[_0x2a4040,_0x2c0b9a,_0x4fdd5b,_0x1601d8,_0x582be6,_0xe7e1d1],_0x521c62=_0x20e87c[_0x4713ba(0x2cb)](_0xef60c5=>{const _0x5b1e6c=_0x4713ba,{basicInfo:_0x4f22c2,sdkCall:_0x46ae4a}=_0xef60c5,_0x5c8a64=_0x46ae4a['code'][_0x5b1e6c(0x187)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,''),_0x20a5e4={};return _0x20a5e4[_0x5b1e6c(0x31a)]=_0x4f22c2[_0x5b1e6c(0x31a)],_0x20a5e4['name']=_0x4f22c2[_0x5b1e6c(0x1f6)],_0x20a5e4['method']=_0x4f22c2[_0x5b1e6c(0x378)],_0x20a5e4[_0x5b1e6c(0x1de)]=_0x4f22c2[_0x5b1e6c(0x1de)],_0x20a5e4[_0x5b1e6c(0x379)]=_0x5c8a64,_0x20a5e4[_0x5b1e6c(0x32a)]=_0x46ae4a[_0x5b1e6c(0x2eb)],_0x20a5e4;}),_0x9281c5={};return _0x9281c5[_0x4713ba(0x2ff)]=_0x36fef6,_0x9281c5[_0x4713ba(0x202)]=_0x521c62,_0x9281c5;}function createDatasetDocMeta(_0x154758,_0x46f0e3,_0x2a918d,_0x4bf23c,_0x1db899,_0x11c609,_0x37bf99,_0x4f5734,_0x7b2dec){const _0x146353=a0_0x783dd6,_0x432165={};return _0x432165[_0x146353(0x191)]=_0x154758+'\x20API\x20文档',_0x432165[_0x146353(0x293)]={},_0x432165['operations']=_0x7b2dec,_0x432165[_0x146353(0x293)][_0x146353(0x1f6)]=_0x154758,_0x432165[_0x146353(0x293)][_0x146353(0x2eb)]=_0x46f0e3,_0x432165[_0x146353(0x293)][_0x146353(0x1f1)]=_0x2a918d,_0x432165[_0x146353(0x293)][_0x146353(0x2dd)]=_0x4bf23c,_0x432165[_0x146353(0x293)][_0x146353(0x372)]=_0x1db899,_0x432165[_0x146353(0x293)][_0x146353(0x23b)]=_0x11c609,_0x432165[_0x146353(0x293)][_0x146353(0x27d)]=_0x37bf99,_0x432165[_0x146353(0x293)]['businessFieldCount']=0x0,_0x432165[_0x146353(0x293)][_0x146353(0x186)]=0x0,_0x432165[_0x146353(0x293)][_0x146353(0x1b1)]=_0x4f5734,_0x432165[_0x146353(0x293)][_0x146353(0x3ba)]=_0x7b2dec[_0x146353(0x245)],_0x432165;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];[a0_0x783dd6(0x27c)](){return'v1';}[a0_0x783dd6(0x188)](){const _0x45e0ad=a0_0x783dd6;return this[_0x45e0ad(0x213)]();}[a0_0x783dd6(0x1d8)](_0x158f05=![]){const _0x181002=a0_0x783dd6;if(!_0x158f05&&this[_0x181002(0x340)])return this['_operationAnalyses'];const _0x3d9531=this[_0x181002(0x25f)]();return this['_operationAnalyses']=operationsToAnalyses(_0x3d9531),this[_0x181002(0x340)];}[a0_0x783dd6(0x13f)](){const _0x298f05=a0_0x783dd6,_0x2270ac={};return _0x2270ac[_0x298f05(0x3a0)]=![],_0x2270ac[_0x298f05(0x2f5)]=!![],this['getFilteredOperationAnalyses'](_0x2270ac);}[a0_0x783dd6(0x2f1)](_0x58dbeb={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x58dbeb);}[a0_0x783dd6(0x277)](_0x37cd31){const _0x1015ab=a0_0x783dd6;return this[_0x1015ab(0x1d8)]()[_0x1015ab(0x292)](_0x4db718=>_0x4db718[_0x1015ab(0x1f6)]===_0x37cd31);}[a0_0x783dd6(0x25a)](_0x43183e){const _0x41a9d2=a0_0x783dd6;return this[_0x41a9d2(0x1d8)]()[_0x41a9d2(0x391)](_0x450e80=>_0x450e80['type']===_0x43183e);}[a0_0x783dd6(0x393)](_0x31fe3c,_0xf93e62){const _0x5e85=a0_0x783dd6,_0x2de003=this[_0x5e85(0x277)](_0x31fe3c);if(!_0x2de003)return null;const _0x441b9d=this[_0x5e85(0x25f)]()[_0x5e85(0x292)](_0x12f148=>_0x12f148['getName']()===_0x2de003[_0x5e85(0x1f6)]);if(!_0x441b9d)throw new Error(_0x5e85(0x110)+_0x2de003['name']);return createOperationDocMeta(_0x2de003,_0x441b9d,this[_0x5e85(0x219)],this[_0x5e85(0x135)](),this['getTableName'](),_0xf93e62);}[a0_0x783dd6(0x237)](_0x295313={}){const _0x4a1fc3=a0_0x783dd6,_0x571a9e=this[_0x4a1fc3(0x2f1)](_0x295313),_0x1084be=_0x571a9e['map'](_0x3da031=>this[_0x4a1fc3(0x393)](_0x3da031['name']))[_0x4a1fc3(0x391)](_0x50821f=>_0x50821f!==null);return createDatasetDocMeta(this[_0x4a1fc3(0x1f6)],this[_0x4a1fc3(0x219)],this[_0x4a1fc3(0x28f)](),this['getDatasetSDKKey'](),this['getTableKey'](),this[_0x4a1fc3(0x23b)],this['getFieldCount'](),this['getOperationCount'](),_0x1084be);}['getOperationsOverviewData'](_0x449665){return createOperationsOverviewData(_0x449665);}['supportsCRUD'](){const _0x4a7bc4=a0_0x783dd6;return supportsCRUD(this[_0x4a7bc4(0x13f)]());}[a0_0x783dd6(0x322)](){const _0x1ed979=a0_0x783dd6;return getOperationStats(this[_0x1ed979(0x1d8)]());}[a0_0x783dd6(0x231)](){const _0x3201df=a0_0x783dd6,_0x2d6e72=this[_0x3201df(0x322)]();return _0x3201df(0x342)+this['name']+',\x20'+this[_0x3201df(0x219)]+',\x20'+this[_0x3201df(0x125)]()+_0x3201df(0x287)+_0x2d6e72[_0x3201df(0x10d)]+'/'+_0x2d6e72[_0x3201df(0x112)]+'\x20operations,\x20v1)';}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x783dd6(0x340)];[a0_0x783dd6(0x27c)](){return'v2';}[a0_0x783dd6(0x188)](){return this['getTableKey']();}['getOperationAnalyses'](_0x5316d9=![]){const _0xeb822f=a0_0x783dd6;if(!_0x5316d9&&this['_operationAnalyses'])return this[_0xeb822f(0x340)];const _0x1af0b9=this[_0xeb822f(0x25f)]();return this[_0xeb822f(0x340)]=operationsToAnalyses(_0x1af0b9),this[_0xeb822f(0x340)];}['getEnabledOperationAnalyses'](){const _0x251450=a0_0x783dd6,_0x49a896={};return _0x49a896[_0x251450(0x3a0)]=![],_0x49a896['filterBlacklist']=!![],this[_0x251450(0x2f1)](_0x49a896);}['getFilteredOperationAnalyses'](_0x4b711b={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x4b711b);}[a0_0x783dd6(0x277)](_0x2bf775){const _0x3dde9c=a0_0x783dd6;return this[_0x3dde9c(0x1d8)]()['find'](_0x1170d9=>_0x1170d9[_0x3dde9c(0x1f6)]===_0x2bf775);}['getOperationAnalysesByType'](_0x568c82){const _0x51dd49=a0_0x783dd6;return this[_0x51dd49(0x1d8)]()['filter'](_0x1ff6d9=>_0x1ff6d9[_0x51dd49(0x2f0)]===_0x568c82);}[a0_0x783dd6(0x393)](_0x36af53,_0x39fb05){const _0xd9475a=a0_0x783dd6,_0x1051b8=this[_0xd9475a(0x277)](_0x36af53);if(!_0x1051b8)return null;const _0x5a5e2b=this[_0xd9475a(0x25f)]()['find'](_0x440098=>_0x440098[_0xd9475a(0x255)]()===_0x1051b8[_0xd9475a(0x1f6)]);if(!_0x5a5e2b)throw new Error(_0xd9475a(0x110)+_0x1051b8[_0xd9475a(0x1f6)]);return createOperationDocMeta(_0x1051b8,_0x5a5e2b,this[_0xd9475a(0x219)],this[_0xd9475a(0x135)](),this['getTableName'](),_0x39fb05);}[a0_0x783dd6(0x237)](_0x46f9bd={}){const _0x2fc730=a0_0x783dd6,_0x57a96f=this[_0x2fc730(0x2f1)](_0x46f9bd),_0x17117f=_0x57a96f[_0x2fc730(0x2cb)](_0x4409c0=>this[_0x2fc730(0x393)](_0x4409c0['name']))[_0x2fc730(0x391)](_0x446f94=>_0x446f94!==null);return createDatasetDocMeta(this[_0x2fc730(0x1f6)],this['datasetCode'],this[_0x2fc730(0x28f)](),this[_0x2fc730(0x135)](),this[_0x2fc730(0x213)](),this[_0x2fc730(0x23b)],this[_0x2fc730(0x125)](),this[_0x2fc730(0x286)](),_0x17117f);}[a0_0x783dd6(0x2f7)](_0x3f079f){return createOperationsOverviewData(_0x3f079f);}[a0_0x783dd6(0x163)](){const _0x28fa34=a0_0x783dd6;return supportsCRUD(this[_0x28fa34(0x13f)]());}['getOperationStats'](){const _0x382311=a0_0x783dd6;return getOperationStats(this[_0x382311(0x1d8)]());}[a0_0x783dd6(0x231)](){const _0x548998=a0_0x783dd6,_0xf9b271=this[_0x548998(0x322)]();return _0x548998(0x240)+this[_0x548998(0x1f6)]+',\x20'+this['datasetCode']+',\x20'+this[_0x548998(0x125)]()+_0x548998(0x287)+_0xf9b271[_0x548998(0x10d)]+'/'+_0xf9b271[_0x548998(0x112)]+_0x548998(0x3a9);}}function detectDatasetVersion3(_0x504a69){const _0x1286ab=a0_0x783dd6;if(_0x504a69[_0x1286ab(0x18e)]==='v2'&&_0x1286ab(0x28d)in _0x504a69&&Array[_0x1286ab(0x325)](_0x504a69[_0x1286ab(0x28d)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x783dd6(0x264)];constructor(_0x5cf5a9){const _0xe35a89=a0_0x783dd6,_0x4c4668=detectDatasetVersion3(_0x5cf5a9);return this[_0xe35a89(0x264)]=_0x4c4668==='v2'?new DrivenDataDetailPlusV2(_0x5cf5a9):new DrivenDataDetailPlusV1(_0x5cf5a9),new Proxy(this,{'get'(_0x4774fc,_0xfa0ffc){const _0x227584=_0xe35a89;if(_0xfa0ffc in _0x4774fc){const _0x5f085f=_0x4774fc[_0xfa0ffc];return typeof _0x5f085f===_0x227584(0x1fc)?_0x5f085f[_0x227584(0x174)](_0x4774fc):_0x5f085f;}if(_0xfa0ffc in _0x4774fc[_0x227584(0x264)]){const _0x1db203=_0x4774fc['_instance'][_0xfa0ffc];return typeof _0x1db203===_0x227584(0x1fc)?_0x1db203[_0x227584(0x174)](_0x4774fc[_0x227584(0x264)]):_0x1db203;}return;},'set'(_0x28b773,_0x44c8fb,_0xd5dc5f){return _0x28b773[_0x44c8fb]=_0xd5dc5f,!![];},'getPrototypeOf'(_0x561e91){const _0x4a8752=_0xe35a89;return DrivenDataDetailPlus[_0x4a8752(0x382)];}});}get[a0_0x783dd6(0x1f6)](){return this['_instance']['name'];}get['id'](){return this['_instance']['id'];}get[a0_0x783dd6(0x219)](){const _0x54d9d3=a0_0x783dd6;return this[_0x54d9d3(0x264)][_0x54d9d3(0x219)];}get['source'](){const _0x1abcc6=a0_0x783dd6;return this['_instance'][_0x1abcc6(0x23b)];}get[a0_0x783dd6(0x16f)](){const _0x3b1e5f=a0_0x783dd6;return this[_0x3b1e5f(0x264)][_0x3b1e5f(0x354)]();}[a0_0x783dd6(0x27c)](){const _0x255794=a0_0x783dd6,_0x5b0406=this[_0x255794(0x264)][_0x255794(0x27c)]();return _0x5b0406==='v2'?'v2':'v1';}['getFieldCount'](){return this['_instance']['getFieldCount']();}[a0_0x783dd6(0x286)](){const _0x5331a2=a0_0x783dd6;return this[_0x5331a2(0x264)]['getOperationCount']();}[a0_0x783dd6(0x27a)](){const _0x1de131=a0_0x783dd6;return this[_0x1de131(0x264)][_0x1de131(0x27a)]();}[a0_0x783dd6(0x25f)](){const _0x59e052=a0_0x783dd6;return this[_0x59e052(0x264)][_0x59e052(0x25f)]();}['getFilteredOperations'](_0x685689){const _0x45b7aa=a0_0x783dd6;return this[_0x45b7aa(0x264)]['getFilteredOperations'](_0x685689);}[a0_0x783dd6(0x23e)](_0x59a7bc){const _0xa178fa=a0_0x783dd6;return this['_instance'][_0xa178fa(0x23e)](_0x59a7bc);}['getTableName'](){const _0x549aa0=a0_0x783dd6;return this[_0x549aa0(0x264)]['getTableName']();}[a0_0x783dd6(0x213)](){const _0x116216=a0_0x783dd6;return this[_0x116216(0x264)][_0x116216(0x213)]();}[a0_0x783dd6(0x135)](){const _0xd2606e=a0_0x783dd6;return this[_0xd2606e(0x264)]['getDatasetSDKKey']();}[a0_0x783dd6(0x22e)](){const _0x13ade0=a0_0x783dd6;return this['_instance'][_0x13ade0(0x22e)]();}[a0_0x783dd6(0x145)](){const _0x321da6=a0_0x783dd6;return this[_0x321da6(0x264)][_0x321da6(0x145)]();}[a0_0x783dd6(0x1d2)](){const _0xed52ce=a0_0x783dd6;return this[_0xed52ce(0x264)][_0xed52ce(0x1d2)]();}[a0_0x783dd6(0x2e3)](_0x18916f){const _0x1174f2=a0_0x783dd6;return this['_instance'][_0x1174f2(0x2e3)](_0x18916f);}[a0_0x783dd6(0x36d)](_0x2c719a){const _0x5d3881=a0_0x783dd6;return this[_0x5d3881(0x264)]['getField'](_0x2c719a);}['getFieldOptions'](_0x3a723e){const _0x4860ee=a0_0x783dd6;return this[_0x4860ee(0x264)][_0x4860ee(0x37d)](_0x3a723e);}[a0_0x783dd6(0x176)](_0x23de6f){const _0x241433=a0_0x783dd6;return this['_instance'][_0x241433(0x176)](_0x23de6f);}[a0_0x783dd6(0x301)](_0x466624){const _0x4d8e40=a0_0x783dd6;return this[_0x4d8e40(0x264)][_0x4d8e40(0x301)](_0x466624);}[a0_0x783dd6(0x29d)](_0x55bf89,_0x44fc79){return this['_instance']['validateEnumValue'](_0x55bf89,_0x44fc79);}[a0_0x783dd6(0x279)](_0x19c7ef){const _0x1ed5c0=a0_0x783dd6;return this[_0x1ed5c0(0x264)][_0x1ed5c0(0x279)](_0x19c7ef);}['getStats'](){const _0x2d5e4e=a0_0x783dd6;return this[_0x2d5e4e(0x264)][_0x2d5e4e(0x2e9)]();}[a0_0x783dd6(0x368)](){const _0x5740bd=a0_0x783dd6;return this['_instance'][_0x5740bd(0x368)]();}[a0_0x783dd6(0x3aa)](){const _0x1f89db=a0_0x783dd6;return this[_0x1f89db(0x264)][_0x1f89db(0x3aa)]();}[a0_0x783dd6(0x32e)](_0x27901a){const _0xfe0dda=a0_0x783dd6;return this['_instance'][_0xfe0dda(0x32e)](_0x27901a);}[a0_0x783dd6(0x354)](){const _0x425318=a0_0x783dd6;return this['_instance'][_0x425318(0x354)]();}[a0_0x783dd6(0x177)](){const _0x5ef97b=a0_0x783dd6;return this[_0x5ef97b(0x264)]['getRawDbtableConfig']();}[a0_0x783dd6(0x34d)](){const _0x463b48=a0_0x783dd6;return this[_0x463b48(0x264)][_0x463b48(0x34d)]();}[a0_0x783dd6(0x1d8)](_0x45e381){const _0x1dbf93=a0_0x783dd6;return this[_0x1dbf93(0x264)][_0x1dbf93(0x1d8)](_0x45e381);}['getEnabledOperationAnalyses'](){const _0x1336a1=a0_0x783dd6;return this[_0x1336a1(0x264)]['getEnabledOperationAnalyses']();}[a0_0x783dd6(0x2f1)](_0x11f507){return this['_instance']['getFilteredOperationAnalyses'](_0x11f507);}[a0_0x783dd6(0x277)](_0x2d65a7){const _0x260a8a=a0_0x783dd6;return this['_instance'][_0x260a8a(0x277)](_0x2d65a7);}[a0_0x783dd6(0x25a)](_0x68e964){const _0x2f6d7b=a0_0x783dd6;return this[_0x2f6d7b(0x264)][_0x2f6d7b(0x25a)](_0x68e964);}['getOperationDocMeta'](_0x1f2ad0,_0x47f348){const _0x2b0ed9=a0_0x783dd6;return this[_0x2b0ed9(0x264)][_0x2b0ed9(0x393)](_0x1f2ad0,_0x47f348);}[a0_0x783dd6(0x237)](_0x3b61ba){const _0xa26da5=a0_0x783dd6;return this[_0xa26da5(0x264)][_0xa26da5(0x237)](_0x3b61ba);}['getOperationsOverviewData'](_0x45bbd0){const _0x39a1f7=a0_0x783dd6;return this[_0x39a1f7(0x264)]['getOperationsOverviewData'](_0x45bbd0);}[a0_0x783dd6(0x188)](){const _0x22d176=a0_0x783dd6;return this[_0x22d176(0x264)][_0x22d176(0x188)]();}['supportsCRUD'](){const _0x3925e0=a0_0x783dd6;return this[_0x3925e0(0x264)][_0x3925e0(0x163)]();}[a0_0x783dd6(0x322)](){const _0x1d7f43=a0_0x783dd6;return this['_instance'][_0x1d7f43(0x322)]();}['toString'](){const _0x3798fd=a0_0x783dd6;return this[_0x3798fd(0x264)][_0x3798fd(0x231)]();}[a0_0x783dd6(0x129)](_0x249fb4){const _0x226e88=a0_0x783dd6;return this[_0x226e88(0x264)][_0x226e88(0x129)](_0x249fb4);}[a0_0x783dd6(0x32f)](_0x58aa5e){const _0xfaba40=a0_0x783dd6;return this[_0xfaba40(0x264)]['getSDKInitData'](_0x58aa5e);}[a0_0x783dd6(0x105)](_0x2e9bac,_0x1eee2d,_0x136499){const _0x5e2ac2=a0_0x783dd6;return this['_instance'][_0x5e2ac2(0x105)](_0x2e9bac,_0x1eee2d,_0x136499);}[a0_0x783dd6(0x199)](_0x2d8261,_0x5c67b1,_0x48f6f1){const _0x436f69=a0_0x783dd6;return this['_instance'][_0x436f69(0x199)](_0x2d8261,_0x5c67b1,_0x48f6f1);}['generateAllOperationsFullSDKExample'](_0x26497b){const _0x3e7c33=a0_0x783dd6;return this[_0x3e7c33(0x264)][_0x3e7c33(0x1bd)](_0x26497b);}[a0_0x783dd6(0x2ed)](_0x285c2b){const _0x5c2e75=a0_0x783dd6;return this[_0x5c2e75(0x264)][_0x5c2e75(0x2ed)](_0x285c2b);}[a0_0x783dd6(0x165)](_0x3ce938){const _0x3ecc7a=a0_0x783dd6;return this[_0x3ecc7a(0x264)][_0x3ecc7a(0x165)](_0x3ce938);}['getOperationRequestFields'](_0x2aa5f9){const _0x5ddef6=a0_0x783dd6;return this[_0x5ddef6(0x264)][_0x5ddef6(0x128)](_0x2aa5f9);}['getMissingCRUDOperations'](){const _0x25b8b4=a0_0x783dd6;return this['_instance'][_0x25b8b4(0x334)]();}[a0_0x783dd6(0x2fd)](){const _0x3ad2d8=a0_0x783dd6;return this[_0x3ad2d8(0x264)][_0x3ad2d8(0x2fd)]();}[a0_0x783dd6(0x142)](){const _0x174edd=a0_0x783dd6;return this[_0x174edd(0x264)];}}function createDrivenDataDetailPlus(_0xfde869,_0x13f502={}){const _0x42eeba=a0_0x783dd6;if(_0x13f502['forceVersion']==='v1')return new DrivenDataDetailPlusV1(_0xfde869);if(_0x13f502[_0x42eeba(0x36b)]==='v2')return new DrivenDataDetailPlusV2(_0xfde869);if(_0xfde869[_0x42eeba(0x18e)]==='v2'||'dataset'in _0xfde869)return new DrivenDataDetailPlusV2(_0xfde869);return new DrivenDataDetailPlusV1(_0xfde869);}function isPlusV2Instance(_0x3977d3){const _0x592d68=a0_0x783dd6;return _0x3977d3[_0x592d68(0x27c)]()==='v2';}function isPlusV1Instance(_0x2a58e9){const _0x2e397d=a0_0x783dd6;return _0x2a58e9[_0x2e397d(0x27c)]()==='v1';}var VERSION=a0_0x783dd6(0x1c7);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.1",
3
+ "version": "1.3.7",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",