@lovrabet/dsparser 1.3.10 → 1.3.11-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/src/core/operations/BatchCreateOperation.d.ts +19 -0
- package/dist/src/core/operations/BatchCreateOperation.d.ts.map +1 -0
- package/dist/src/core/operations/Operation.d.ts +9 -0
- package/dist/src/core/operations/Operation.d.ts.map +1 -1
- package/dist/src/core/operations/OperationFactory.d.ts.map +1 -1
- package/dist/src/utils/plus/field-utils.d.ts +2 -0
- package/dist/src/utils/plus/field-utils.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x3a67c7=a0_0x1599;(function(_0x5c8144,_0x51370a){const _0x1d7360=a0_0x1599,_0x3f0f55=_0x5c8144();while(!![]){try{const _0x4a4653=-parseInt(_0x1d7360(0x29e))/0x1+parseInt(_0x1d7360(0x190))/0x2+parseInt(_0x1d7360(0x3b5))/0x3+parseInt(_0x1d7360(0x290))/0x4+parseInt(_0x1d7360(0x285))/0x5+-parseInt(_0x1d7360(0x262))/0x6*(parseInt(_0x1d7360(0x2a6))/0x7)+parseInt(_0x1d7360(0x369))/0x8;if(_0x4a4653===_0x51370a)break;else _0x3f0f55['push'](_0x3f0f55['shift']());}catch(_0x4b4757){_0x3f0f55['push'](_0x3f0f55['shift']());}}}(a0_0x534f,0x45f2e));function toCamelCase(_0x70bfec){const _0x58423c=a0_0x1599;if(!_0x70bfec)return'';return _0x70bfec['split'](/[_-]/)['map']((_0x22256a,_0x3a075d)=>{const _0x1e0265=a0_0x1599;if(_0x3a075d===0x0)return _0x22256a[_0x1e0265(0x385)]();return _0x22256a[_0x1e0265(0x42f)](0x0)[_0x1e0265(0x186)]()+_0x22256a[_0x1e0265(0x3ec)](0x1)[_0x1e0265(0x385)]();})[_0x58423c(0x414)]('');}function toPascalCase(_0x489959){const _0x2a2e68=a0_0x1599;if(!_0x489959)return'';const _0x2d5d3c=toCamelCase(_0x489959);return _0x2d5d3c[_0x2a2e68(0x42f)](0x0)['toUpperCase']()+_0x2d5d3c[_0x2a2e68(0x3ec)](0x1);}function toSnakeCase(_0x29d9a9){const _0x2cd205=a0_0x1599;if(!_0x29d9a9)return'';return _0x29d9a9[_0x2cd205(0x396)](/([A-Z])/g,'_$1')[_0x2cd205(0x385)]()[_0x2cd205(0x396)](/^_/,'');}function toKebabCase(_0x3031f8){const _0x2ff1d5=a0_0x1599;if(!_0x3031f8)return'';return _0x3031f8['replace'](/([A-Z])/g,_0x2ff1d5(0x2e1))['toLowerCase']()[_0x2ff1d5(0x396)](/^-/,'');}function normalizeFieldName(_0x2cf059){const _0x1cb116=a0_0x1599;if(!_0x2cf059)return'';return _0x2cf059['trim']()[_0x1cb116(0x396)](/\s+/g,'_')[_0x1cb116(0x396)](/[^a-zA-Z0-9_]/g,'_')[_0x1cb116(0x396)](/_+/g,'_')[_0x1cb116(0x396)](/^_|_$/g,'');}function getTableName(_0x5df03a){const _0x5e3939=a0_0x1599;if(!_0x5df03a)return _0x5e3939(0x2c2);if(_0x5df03a[_0x5e3939(0x245)]?.[_0x5e3939(0x1a3)])return _0x5df03a['dbtableConfig'][_0x5e3939(0x1a3)];const _0x50332e=_0x5df03a[_0x5e3939(0x2f6)]||_0x5df03a[_0x5e3939(0x2f0)]||_0x5df03a[_0x5e3939(0x27e)];if(_0x50332e)return generateTableNameFromCode(_0x50332e);return _0x5e3939(0x2c2);}function getTableKey(_0x525811){if(typeof _0x525811==='string')return toCamelCase(_0x525811);const _0x3ba8ac=getTableName(_0x525811);return toCamelCase(_0x3ba8ac);}function generateTableNameFromCode(_0x25900c){const _0x18f5a2=a0_0x1599;if(!_0x25900c)return _0x18f5a2(0x2c2);const _0x281f38=_0x25900c[_0x18f5a2(0x3ec)](-0x6)[_0x18f5a2(0x261)](0x6,'0');return _0x18f5a2(0x2a8)+_0x281f38;}function isVirtualTableName(_0x53ac03){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x53ac03);}function generateModelKeyFromCode(_0x2d3c6b){const _0x5d896b=a0_0x1599;if(!_0x2d3c6b)return _0x5d896b(0x3c1);return _0x5d896b(0x2a8)+_0x2d3c6b;}function getDbName(_0x92fba2){const _0x182e6e=a0_0x1599;return _0x92fba2['dbtableConfig']?.[_0x182e6e(0x23f)]||_0x92fba2[_0x182e6e(0x245)]?.[_0x182e6e(0x273)]?.[_0x182e6e(0x23f)]||'';}function a0_0x534f(){const _0x2c4119=['getFieldListWithDeleted','getCountByType','alias','Integer','TIMESTAMP','200','getBusinessFields','getIndexes','操作名称','getRelations','SDK\x20调用示例(两参数格式)','update','requestFields','precision','getTableName','https://example.com/file.pdf','toConfig','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','appCode','toString','length','getApplicableOperators','size','value1','all','getType','每页条数','find','_datasetMeta','isPrimaryKeyField','https://example.com/image.jpg','1.0','Array','generateRequestAllExamples','当前页码(可选)','getLatest','查询条件(支持\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)','Filter\x20API\x20-\x20高级查询接口','isPrimaryKey','getAllFieldsArray','getOperationOperators','getTableKey','INT','groups','daily','sortOperationsWithFilterFirst','getEnum','groupByType','$gteq','raw','getCreateTime','conflictItemCount','getBusiness','分组后的过滤条件(对聚合结果进行过滤)','defaultValue','$startWith','getDisabledNames','get','batchCreate','extend','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getAppCode','tableData','getTooltip','values','hasConflicts','FieldList(','getEnabledOperations','getFullUrl','getOperationAnalysesByType','generateUsageExample','getTenantCode','getFieldOptions','GET_ONE_UPDATE','getList','getEnabledNames','some','sort','excelExport','getOne','responseBody','having','pageSize','接口名称','_fieldListWithDeleted',',\x20...\x20});','creatorNameField','generateResponseExample','查询单条','GET_ONE_ORIGIN','String[]','prefix','updateTime','getFieldsWithDeleted','系统自动生成','getOperationCount','prototype','4356184CqDjqp','errorCode','datasetKey','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','delete','generateAllOperationsSummary','totalGroups','$endWith','[parseFieldExtend]\x20Invalid\x20field:','getEnabledOperationAnalyses','allFields','getActive','getOperationFieldOperators','FieldListV2(','\x20operations,\x20v2)','_instance','getRequestFields','datasetSDKKey','getEnumFields','//\x20Call\x20the\x20','getOperationsData','const\x20data\x20=\x20await\x20client.models.','getLast','sortNum','toDatasetCode','createDate','getHTTPRequestParamsDocInfo','hasModifierIdField','toLowerCase','getFieldListV2','tenantCode','errorMsg','fields','selectItemsSource','getDbName','path','getAllDatasets','generateOperationSummary','generateAllOperationsFullSDKExample','getItems','示例值','创建导出','\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','2024-12-31','getByType','replace','datasetInfo','online',',\x20fields:\x20','DOUBLE','getFieldV2','isUpdateTime','RADIO','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','(id,\x20data);','getEnumMetas','_operationList','每页数量','getFilteredOperationAnalyses','generateHTTPExample','TIME','$contain','getAt','getDbTypeForOperation','getInternalInstance','hasExtendField','object','item1','valueLabels','requestBody','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','getPrimaryKeys','dataIndex','OperationList(','creatorIdField','DatasetItem(','700437NDigRs','TEXTAREA','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','\x20fields)','FILE','trim','total_count','_relations','_fields','modifierNameField','null','default','dataset_unknown','withDeleted','hasTableName','getFieldOperators','isEnabled','autoIncrement','VARCHAR','getHTTPFields','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','\x20API\x20文档','data','$lte','getDisabled','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','push','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','getOperationStats','getField','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','SWITCH','ARRAY','responseSchema','selectBestOperator','$or','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','getEnumFieldMeta','\x20relations,\x20','getMethod','warn','getExtendField','generateExampleValue','_sum','hasCreatorIdField','getSystem','SMALLINT','enabled','avg','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','DbtableConfig(table:\x20','generateAliasExplanation','getVirtualTables','<p>富文本内容</p>','createFields','slice','BATCH_CREATE','FieldV1(','getOperation','toConfigArray','getFieldsByType','fullUrl','dbTypeLen','getCode','generateHTTPRequestExample','STRING','getFilterOperators','getFieldDefinition',',\x20currentPage,\x20pageSize,\x20...\x20});','currentPage','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','$gte','suffix','required','分组字段列表','string','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','0000','_fieldListV1','POST','logicField','getVersion','isFieldPrimaryKey','fieldCount','isRequired','forEach','function','findById','fromApiResponse','\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','$and','主键,用于定位要更新的记录','getRequestParamsDocInfo','isSystemField','`:\x20','join','set','\x20indexes)','address','\x20operations,\x20v1)','getEnumOptions','({\x20/*\x20可选:筛选条件\x20*/\x20});','toJSON','_fieldListV1WithDeleted','_operations','日期时间','isRequiredField','getEnumMeta','dbVersion','options','value2','getNames','stringify','hasCreateTimeField','INTEGER','label','getOperationRequestFields','Object','_autoGenerated','getOperationList','查询列表','getRelatedDataset','charAt','getFilterOperation','lastIndexOf','max','_operationAnalyses','聚合函数配置数组(type:\x20sum/count/avg/max/min)','getDatabaseType','toUpperCase','forceVersion','getSystemAnalysisResult','status','getOperationAnalyses','toListItem','dataset','includeRequestExample','name','//\x20','112270eqejuj','createExport','title','hasRelation','enabledOperationCount','operations','useArrayValues','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','add','toArray','total','长文本','random','13800138000','getDisplayName','getFieldDataSource','round','value','getRawDbtableConfig','tableName','context','getFieldNames','查询单条(原始)','DrivenDataDetailPlusV2(','getCodes','deleted','distinct','解析\x20responseBody\x20失败:','placeholder','getStats','generateDefaultFilterOperation','isAutoIncrement','getEnumValues','Field(','getSelectItemsSource','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','\x20fields,\x20','Number','filter','generateSDKCallCode','hasDbtableConfig','getOperationsOverviewData','FLOAT','操作成功','generateFullSDKExample','getIds','relations','includeDisabled','getForeignKeyFields','$eq','hasFilterOperation','DatasetGroup(','type','email','useFullExample','split','getAllFieldsString','要更新的字段数据对象','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','排序规则','当前页码','isBusiness','getResponseSchema','createTimeField','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','displayName','BOOLEAN','includes','getFields','getFieldInstance','getConflicts','获取数据集失败:\x20','getName','\x20operations)','$ne','getOperationFieldsOperatorsMap','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','SELECT','getRaw','hasLogicField','multiple',',\x20doType=','JSON','hasConflict','createTime','getUpdateFields','customFilter','has\x20conflicts','select','2.0','pkField','getFieldName','这是一段较长的文本内容示例','isCreateTime','创建导入','properties','\x20operation','getCountByMethod','LONGTEXT','filterBlacklist','taskInfo','GET_UPLOAD_FILE_SCRIPT','findByCode','getSelectOptions','数组查询(支持多选)','successCode','generateSingleValueExample','GET_FILE_URL','getSystemFields','getFieldCount','每页数量(默认:\x2020)','item2','isMultipleSelectField','_extend','host','generateRequestExample','导入模板','isArray','datasetId','hasUpdateTimeField','has','每页数量(可选)','getRequired','_max','BIGINT','datasetName','GET_ONE','getEnabledOperationInstances','getDatasetDocMeta','findByTableName','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','array','const\x20result\x20=\x20await\x20client.models.','getDatasetSDKKey','parse','getSDKInitData','示例文本','getDatasetMeta','findAllByTableName','CHECKBOX','groupBy','demo-app','getFieldRaw','getOperationDocMeta','parseRawRequestBody','isOperatorApplicableToField','doType','columnName','getOperationAnalysis','({\x20code,\x20label\x20});','getUploadFileScript','getFieldDescription','exampleWhere','isSystem','isOperationEnabled','主键ID','getSource','北京市朝阳区','_fieldListV2','BIT','getFieldSelectItemsSource','_avg','字段名称','getOneUpdate','(实际字段:','aggregate','orderBy','getConflictStats','toISOString','children','RICH_TEXT','getDeleted','systemRetain','labelField','/filter','dbName','entries','DATETIME','({\x20','updateTimeField','-\x20主键ID,用于定位要更新的记录\x0a\x0a','dbtableConfig','();','env','count','generateFieldExample','getFieldDisplayName','tooltip','now','LONGBLOB','isNumericField','hasDblinkInfo','dbId','单值查询','getFieldCode','TASK_INFO','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','findByName','user@example.com','getFieldList','validateEnumValue','DrivenDataDetailV2(','desc','Operation\x20not\x20found:\x20','TEXT','modelId','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','isOpenAPI','CHAR','padStart','354MPeMMs','from','getEnumFieldsMeta','modifierIdField','description','column','includeUsageExample','query','DrivenDataDetail(','sdkCall','getLatestDatasets','_fieldList','getConflictingItems','文件上传','TINYINT','CREATE','parseRawResponseBody','dblinkInfoDTO','getOperators','msg','generateConfigArray','Invalid\x20API\x20response:\x20success\x20is\x20false','getDatabaseVersion','时间戳','FieldV2(','$in',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getId','modelCode','Excel导出','iterator','min','getOldest','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','repeat','239035AUaQyv','sum','IMAGE','_requestExampleCache','keys','paging','\x5c}\x5c}','success','getOneOrigin','下拉选择','[FieldV2]\x20Invalid\x20field\x20definition','619616hpLVHR','method','EXCEL_EXPORT','**可更新的字段列表:**','getDefaultValue','map','dbType','datasetMap','_min','getGroupedParams','主键ID(必填)','createAll','hasField','includeDeleted','233439ZIpKok','\x20items,\x20','getDBConfig','version','getModelAlias','keyword','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','importTemplate','61327ukeudl','DELETE','dataset_','getRequestParams','phone','no\x20conflicts','ensureFilterOperation','-\x20主键使用\x20`id`\x20字段\x0a','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','isEnum','isDeleted','detectConflicts','$lteq','getRequiredFields','number','items','toDatasetName','sdkCallCode','tableColumns','index','operation','2024-01-01','fieldCode','SDK\x20调用','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','批量创建','every','getMissingCRUDOperations','dataset_000000','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','String','获取数据集列表失败:\x20','getAll','getPath','supportsCRUD','hasOperation','getFilteredOperations','empty','GET_SELECT_OPTIONS','const\x20fileUrl\x20=\x20await\x20client.models.','getFieldsFilterOperatorsMap','_datasetMap','normalizeDbType','UPLOAD','doVersion','DECIMAL','HTTP\x20直接调用时使用平铺格式:\x0a','getDOType','source','支持多个条件','create','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','HTTP\x20请求示例(平铺格式)','<!--\x5cs*CONDITION:\x5cs*','fromField','1.0.0-beta.8','NUMBER','generateFromSchema','DatasetList(','-$1','getEnabled','聚合函数配置数组','isVirtualTable','//\x20Usage\x20examples','排序规则(与\x20Filter\x20API\x20一致)','(id);','DATE','getPrimaryKeyFields','getFileUrl','_raw','generateSDKInitCode','getAggregates','mapDbTypeToType','Object[]','code','primaryKey','getOperations','getCount','field_name','getRealTables','datasetCode','toFullConfig','params','tableKey','getFieldType','toField','BLOB','getFieldFilterOperators','isMultipleSelect','DatasetGroupMap(','DESC','usageExample','\x20的\x20extend\x20配置失败:','fieldName','BOOL','where','N/A','getDisabledOperations'];a0_0x534f=function(){return _0x2c4119;};return a0_0x534f();}function generateDatasetsConfig(_0x8808fc,_0xf23c31={}){const _0x2c93e7=a0_0x1599,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x13cabc,filter:_0x5315ea}=_0xf23c31,_0x346fd4=_0x5315ea?_0x8808fc['filter'](_0x5315ea):_0x8808fc,_0x4920b5=new Map();for(const _0x1fbe2b of _0x346fd4){const _0x38fef1=getTableName(_0x1fbe2b),_0x2256b4=getDbName(_0x1fbe2b);!_0x4920b5[_0x2c93e7(0x208)](_0x38fef1)&&_0x4920b5['set'](_0x38fef1,new Set()),_0x4920b5[_0x2c93e7(0x341)](_0x38fef1)['add'](_0x2256b4);}const _0x204052=new Set();for(const [_0x131297,_0x448a2e]of _0x4920b5){_0x448a2e['size']>0x1&&_0x204052[_0x2c93e7(0x198)](_0x131297);}const _0x3b308e={},_0xd4b35a=new Set();for(const _0x53c61f of _0x346fd4){const _0x10a373=getTableName(_0x53c61f);if(enableDeduplication&&_0xd4b35a['has'](_0x10a373)){console[_0x2c93e7(0x3dd)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x10a373+'\x22,数据集:\x20'+_0x53c61f[_0x2c93e7(0x18e)]+'\x20('+_0x53c61f['datasetCode']+')');continue;}_0xd4b35a[_0x2c93e7(0x198)](_0x10a373);const _0x27e43d=_0x13cabc?_0x13cabc(_0x10a373,_0x53c61f):getTableKey(_0x10a373),_0x18401e=getDbName(_0x53c61f),_0x376ec9=_0x204052[_0x2c93e7(0x208)](_0x10a373)&&_0x18401e?getTableKey(_0x18401e)+'_'+_0x27e43d:_0x27e43d;_0x3b308e[_0x27e43d]={'key':_0x27e43d,'alias':_0x376ec9,'tableName':_0x10a373,'datasetCode':_0x53c61f[_0x2c93e7(0x2f6)],'name':_0x53c61f['name'],'id':_0x53c61f['id'],'dbName':_0x18401e};}return _0x3b308e;}function generateFullDatasetsConfig(_0x1b40ac,_0xd68536={}){const _0x44e7f5=a0_0x1599,{filter:_0x146001,datasetNameGenerator:_0x2182a0}=_0xd68536,_0x3340a7=_0x146001?_0x1b40ac[_0x44e7f5(0x1b6)](_0x146001):_0x1b40ac,_0x1820a7=new Map();for(const _0x32fe34 of _0x3340a7){const _0x47ddbf=getTableName(_0x32fe34),_0x5c274f=getDbName(_0x32fe34);!_0x1820a7[_0x44e7f5(0x208)](_0x47ddbf)&&_0x1820a7['set'](_0x47ddbf,new Set()),_0x1820a7[_0x44e7f5(0x341)](_0x47ddbf)[_0x44e7f5(0x198)](_0x5c274f);}const _0x33ed03=new Set();for(const [_0x31914b,_0x218db0]of _0x1820a7){_0x218db0['size']>0x1&&_0x33ed03['add'](_0x31914b);}const _0x50e99b=groupByTableName(_0x3340a7),_0x56aaab={};for(const [_0xb71182,_0x4350aa]of Object[_0x44e7f5(0x240)](_0x50e99b)){if(_0x4350aa['length']===0x1){const _0x2d0e25=_0x4350aa[0x0],_0x22a84f=_0x2182a0?_0x2182a0(_0xb71182,_0x2d0e25):getTableKey(_0xb71182),_0x2426ca=getDbName(_0x2d0e25),_0x3759b6=_0x33ed03['has'](_0xb71182)&&_0x2426ca?getTableKey(_0x2426ca)+'_'+_0x22a84f:_0x22a84f;_0x56aaab[_0x22a84f]={'key':_0x22a84f,'alias':_0x3759b6,'tableName':_0xb71182,'datasetCode':_0x2d0e25['datasetCode'],'name':_0x2d0e25['name'],'id':_0x2d0e25['id'],'dbName':_0x2426ca};}else{const _0x516f7c=[..._0x4350aa]['sort']((_0xab4459,_0x3fba0d)=>{const _0x94ef75=Number(_0xab4459['id'])||0x0,_0x27d48e=Number(_0x3fba0d['id'])||0x0;return _0x27d48e-_0x94ef75;});_0x516f7c['forEach']((_0x2cfe5a,_0xd58b6b)=>{const _0x22b39b=_0x44e7f5,_0x50f12f=_0x2182a0?_0x2182a0(_0xb71182,_0x2cfe5a):getTableKey(_0xb71182),_0x35180a=_0xd58b6b===0x0?_0x50f12f:_0x50f12f+'_'+_0xd58b6b,_0x28c3de=getDbName(_0x2cfe5a),_0x1ea945=_0x33ed03[_0x22b39b(0x208)](_0xb71182)&&_0x28c3de?getTableKey(_0x28c3de)+'_'+_0x35180a:_0x35180a;_0x56aaab[_0x35180a]={'key':_0x35180a,'alias':_0x1ea945,'tableName':_0xb71182,'datasetCode':_0x2cfe5a[_0x22b39b(0x2f6)],'name':_0x2cfe5a[_0x22b39b(0x18e)],'id':_0x2cfe5a['id'],'dbName':_0x28c3de};});}}return _0x56aaab;}function detectTableNameConflicts(_0x466b72){const _0x508be0=a0_0x1599,_0x3994e3={};for(const _0xd16466 of _0x466b72){const _0x2bf082=getTableName(_0xd16466);!_0x3994e3[_0x2bf082]&&(_0x3994e3[_0x2bf082]=[]),_0x3994e3[_0x2bf082][_0x508be0(0x3cf)](_0xd16466);}const _0x5397d6={};for(const [_0x322763,_0x2d5d53]of Object[_0x508be0(0x240)](_0x3994e3)){_0x2d5d53[_0x508be0(0x31c)]>0x1&&(_0x5397d6[_0x322763]=_0x2d5d53);}return{'hasConflicts':Object[_0x508be0(0x289)](_0x5397d6)['length']>0x0,'conflicts':_0x5397d6};}function createDatasetNameMap(_0x35226f){const _0x4ecd11=a0_0x1599,_0x422309={};for(const [_0x390b16,_0x35a745]of Object['entries'](_0x35226f)){_0x422309[_0x390b16]=_0x35a745[_0x4ecd11(0x2f6)]||'';}return _0x422309;}function groupByTableName(_0x499baa){const _0x4e4456=a0_0x1599,_0x24e714={};for(const _0x5750c0 of _0x499baa){const _0x422132=getTableName(_0x5750c0);!_0x24e714[_0x422132]&&(_0x24e714[_0x422132]=[]),_0x24e714[_0x422132][_0x4e4456(0x3cf)](_0x5750c0);}return _0x24e714;}function datasetsConfigToArray(_0x3c6ead){const _0x311629=a0_0x1599;return Object[_0x311629(0x348)](_0x3c6ead);}function adaptDrivenDataDetail(_0x1ca730){const _0x186727=a0_0x1599,_0x1a9b38={};return _0x1a9b38['id']=_0x1ca730[_0x186727(0x25d)],_0x1a9b38[_0x186727(0x18e)]=_0x1ca730['name'],_0x1a9b38[_0x186727(0x2f6)]=_0x1ca730['modelCode'],_0x1a9b38[_0x186727(0x245)]=_0x1ca730[_0x186727(0x245)],_0x1a9b38[_0x186727(0x2d6)]=_0x1ca730[_0x186727(0x2d6)],_0x1a9b38[_0x186727(0x2a1)]=_0x1ca730['version'],_0x1a9b38[_0x186727(0x343)]=_0x1ca730['extend'],_0x1a9b38[_0x186727(0x1ef)]=_0x1ca730['properties'],_0x1a9b38[_0x186727(0x195)]=_0x1ca730[_0x186727(0x195)],_0x1a9b38;}function adaptDrivenDataDetails(_0x59c40c){const _0x1bc6ab=a0_0x1599;return _0x59c40c[_0x1bc6ab(0x295)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0xdb1cd4){const _0x46e748=a0_0x1599;if(!_0xdb1cd4[_0x46e748(0x28c)]||!_0xdb1cd4['data'])throw new Error(_0x46e748(0x1d7)+(_0xdb1cd4['errorMsg']||_0xdb1cd4[_0x46e748(0x275)]));return adaptDrivenDataDetail(_0xdb1cd4['data']);}function extractDatasetsFromListResponse(_0x1d97c1){const _0x4e397a=a0_0x1599;if(!_0x1d97c1[_0x4e397a(0x28c)]||!_0x1d97c1[_0x4e397a(0x3cb)]?.[_0x4e397a(0x346)])throw new Error(_0x4e397a(0x2c5)+(_0x1d97c1[_0x4e397a(0x388)]||_0x1d97c1[_0x4e397a(0x275)]));return _0x1d97c1[_0x4e397a(0x3cb)]['tableData'][_0x4e397a(0x295)](_0x3054f7=>({..._0x3054f7,'datasetCode':_0x3054f7[_0x4e397a(0x2f0)]||_0x3054f7['datasetCode']}));}function isDrivenDataDetail(_0x491c04){const _0x28c602=a0_0x1599;return Boolean(_0x491c04&&typeof _0x491c04[_0x28c602(0x27e)]===_0x28c602(0x400));}function smartAdapt(_0xb0a608){const _0x45facb=a0_0x1599;if(isDrivenDataDetail(_0xb0a608))return adaptDrivenDataDetail(_0xb0a608);if(_0xb0a608[_0x45facb(0x2f6)])return _0xb0a608;if(_0xb0a608[_0x45facb(0x2f0)]){const _0x36e994={..._0xb0a608};return _0x36e994['datasetCode']=_0xb0a608[_0x45facb(0x2f0)],_0x36e994;}return _0xb0a608;}function cleanNewlines(_0x4b5c05){return _0x4b5c05['replace'](/[\r\n]+/g,'\x20')['trim']();}function cleanDatasetName(_0x511c9b){const _0x23f3c6=a0_0x1599;if(!_0x511c9b['name'])return _0x511c9b;return{..._0x511c9b,'name':cleanNewlines(_0x511c9b[_0x23f3c6(0x18e)])};}function cleanDatasetNames(_0x3f6682){return _0x3f6682['map'](cleanDatasetName);}var DatasetOperationType;(_0x1ec2e6=>{const _0x2ead81=a0_0x1599;_0x1ec2e6['GET_LIST']=_0x2ead81(0x352),_0x1ec2e6[_0x2ead81(0x20e)]='getOne',_0x1ec2e6[_0x2ead81(0x361)]=_0x2ead81(0x28d),_0x1ec2e6[_0x2ead81(0x351)]=_0x2ead81(0x233),_0x1ec2e6[_0x2ead81(0x271)]=_0x2ead81(0x2d8),_0x1ec2e6[_0x2ead81(0x3ed)]=_0x2ead81(0x342),_0x1ec2e6['UPDATE']=_0x2ead81(0x313),_0x1ec2e6[_0x2ead81(0x2a7)]=_0x2ead81(0x36d),_0x1ec2e6[_0x2ead81(0x2cc)]='getSelectOptions',_0x1ec2e6[_0x2ead81(0x1fb)]=_0x2ead81(0x2ea),_0x1ec2e6[_0x2ead81(0x292)]='excelExport',_0x1ec2e6[_0x2ead81(0x1f5)]=_0x2ead81(0x226),_0x1ec2e6['CREATE_IMPORT']='createImport',_0x1ec2e6['CREATE_EXPORT']=_0x2ead81(0x191),_0x1ec2e6[_0x2ead81(0x253)]=_0x2ead81(0x1f4),_0x1ec2e6['IMPORT_TEMPLATE']=_0x2ead81(0x2a5);})(DatasetOperationType||={});const a0_0x2a5358={};a0_0x2a5358[a0_0x3a67c7(0x352)]=a0_0x3a67c7(0x42d),a0_0x2a5358['getOne']=a0_0x3a67c7(0x360),a0_0x2a5358[a0_0x3a67c7(0x28d)]=a0_0x3a67c7(0x1a6),a0_0x2a5358[a0_0x3a67c7(0x233)]='查询单条(用于更新)',a0_0x2a5358[a0_0x3a67c7(0x2d8)]='创建',a0_0x2a5358[a0_0x3a67c7(0x342)]=a0_0x3a67c7(0x2bf),a0_0x2a5358[a0_0x3a67c7(0x313)]='更新',a0_0x2a5358[a0_0x3a67c7(0x36d)]='删除',a0_0x2a5358[a0_0x3a67c7(0x1f7)]='获取下拉选项',a0_0x2a5358['getFileUrl']='获取文件URL',a0_0x2a5358['excelExport']=a0_0x3a67c7(0x27f),a0_0x2a5358[a0_0x3a67c7(0x226)]='获取上传脚本',a0_0x2a5358['createImport']=a0_0x3a67c7(0x1ee),a0_0x2a5358[a0_0x3a67c7(0x191)]=a0_0x3a67c7(0x392),a0_0x2a5358[a0_0x3a67c7(0x1f4)]='任务信息',a0_0x2a5358[a0_0x3a67c7(0x2a5)]=a0_0x3a67c7(0x204);var OPERATION_TYPE_DISPLAY_NAME=a0_0x2a5358,API_BLACKLIST=[a0_0x3a67c7(0x352),a0_0x3a67c7(0x28d),'getOneUpdate',a0_0x3a67c7(0x2ea)];function a0_0x1599(_0x74e026,_0x5eeccb){const _0x534fe2=a0_0x534f();return a0_0x1599=function(_0x159993,_0x3e9788){_0x159993=_0x159993-0x184;let _0x13d925=_0x534fe2[_0x159993];return _0x13d925;},a0_0x1599(_0x74e026,_0x5eeccb);}function parseFieldExtend(_0x506033){const _0x5637fb=a0_0x3a67c7;if(!_0x506033||typeof _0x506033!==_0x5637fb(0x3ab))return!![]&&console['warn'](_0x5637fb(0x371),_0x506033),{};if(!_0x506033['extend'])return{};try{const _0x18fffa=typeof _0x506033[_0x5637fb(0x343)]==='string'?JSON[_0x5637fb(0x216)](_0x506033['extend']):_0x506033[_0x5637fb(0x343)];if(typeof _0x18fffa!==_0x5637fb(0x3ab)||_0x18fffa===null)return{};return _0x18fffa;}catch{return{};}}function isPrimaryKeyField(_0x144769,_0x56c6e8){const _0x4027fb=a0_0x3a67c7;if(!_0x144769||typeof _0x144769!=='object')return![];if(typeof _0x56c6e8===_0x4027fb(0x400)&&_0x144769[_0x4027fb(0x2f0)]===_0x56c6e8)return!![];const _0x13bbf4=parseFieldExtend(_0x144769);return Boolean(_0x13bbf4[_0x4027fb(0x2f1)]||_0x13bbf4[_0x4027fb(0x1ea)]);}function isSystemField(_0x5c6db5){const _0x38fc25=parseFieldExtend(_0x5c6db5);return Boolean(_0x38fc25['systemRetain']);}function isRequiredField(_0x21fa7c){const _0x4ed6a0=parseFieldExtend(_0x21fa7c);return Boolean(_0x4ed6a0['required']);}function isAutoIncrementField(_0x56bc6d){const _0x3b4541=a0_0x3a67c7,_0x1e3144=parseFieldExtend(_0x56bc6d);return Boolean(_0x1e3144[_0x3b4541(0x3c6)]);}function isCreateTimeField(_0x2e806f){const _0x4a0115=a0_0x3a67c7,_0x5ef0e1=parseFieldExtend(_0x2e806f);return Boolean(_0x5ef0e1[_0x4a0115(0x382)]);}function isModifyTimeField(_0xdfcc73){const _0x2fe9e0=parseFieldExtend(_0xdfcc73);return Boolean(_0x2fe9e0['modifyDate']);}const a0_0x11b019={};a0_0x11b019[a0_0x3a67c7(0x2de)]='数字',a0_0x11b019[a0_0x3a67c7(0x25c)]='文本',a0_0x11b019[a0_0x3a67c7(0x3b6)]=a0_0x3a67c7(0x19b),a0_0x11b019[a0_0x3a67c7(0x2e8)]='日期',a0_0x11b019[a0_0x3a67c7(0x241)]=a0_0x3a67c7(0x41e),a0_0x11b019[a0_0x3a67c7(0x30c)]=a0_0x3a67c7(0x279),a0_0x11b019[a0_0x3a67c7(0x1dd)]=a0_0x3a67c7(0x28e),a0_0x11b019[a0_0x3a67c7(0x21b)]='多选',a0_0x11b019['RADIO']='单选',a0_0x11b019[a0_0x3a67c7(0x3d4)]='开关',a0_0x11b019[a0_0x3a67c7(0x2d1)]=a0_0x3a67c7(0x26f),a0_0x11b019[a0_0x3a67c7(0x287)]='图片',a0_0x11b019[a0_0x3a67c7(0x23a)]='富文本',a0_0x11b019[a0_0x3a67c7(0x1e2)]='JSON',a0_0x11b019[a0_0x3a67c7(0x3d5)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x11b019;function getDbTypeDisplay(_0x42311c){const _0x5d2a98=a0_0x3a67c7;if(typeof _0x42311c!==_0x5d2a98(0x400))return!![]&&console['warn']('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x42311c),String(_0x42311c||'-');return DB_TYPE_DISPLAY_MAP[_0x42311c]||_0x42311c;}function formatDbType(_0x2bf5fb,_0x5dd743){const _0x38fdfb=a0_0x3a67c7;if(!_0x2bf5fb||typeof _0x2bf5fb!==_0x38fdfb(0x400))return'-';if(!_0x5dd743||typeof _0x5dd743!==_0x38fdfb(0x2b4))return _0x2bf5fb;const _0x136db0=[_0x38fdfb(0x25c),'DATETIME',_0x38fdfb(0x30c),_0x38fdfb(0x2e8)];if(_0x136db0[_0x38fdfb(0x1d3)](_0x2bf5fb[_0x38fdfb(0x186)]()))return _0x2bf5fb;return _0x2bf5fb+'('+_0x5dd743+')';}function parseOperationType(_0x979233){const _0x29adea=a0_0x3a67c7;if(typeof _0x979233!=='string'){!![]&&console['warn']('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x979233);return;}if(Object[_0x29adea(0x348)](DatasetOperationType)[_0x29adea(0x1d3)](_0x979233))return _0x979233;const _0x514bd9=Object[_0x29adea(0x240)](OPERATION_TYPE_DISPLAY_NAME)[_0x29adea(0x323)](([_0x44c249,_0x26818a])=>_0x26818a===_0x979233);return _0x514bd9?_0x514bd9[0x0]:undefined;}function shouldIncludeField(_0x51f6d6,_0x789b11,_0x5067d4){const _0x40da33=a0_0x3a67c7,_0x50df86=parseFieldExtend(_0x51f6d6),_0x37300c=isPrimaryKeyField(_0x51f6d6,_0x5067d4),_0x254cf3=Boolean(_0x50df86[_0x40da33(0x23c)]),_0x2862af=Boolean(_0x50df86[_0x40da33(0x3c6)]),_0x5be798=Boolean(_0x50df86[_0x40da33(0x382)]),_0x3a9578=Boolean(_0x50df86['modifyDate']);switch(_0x789b11){case'getList':return!![];case _0x40da33(0x357):case'getOneOrigin':case _0x40da33(0x36d):return _0x37300c;case _0x40da33(0x2d8):case _0x40da33(0x342):if(_0x37300c&&_0x2862af)return![];if(_0x254cf3)return![];if(_0x5be798||_0x3a9578)return![];return!![];case _0x40da33(0x313):case _0x40da33(0x233):if(_0x37300c)return!![];if(_0x254cf3)return![];if(_0x5be798||_0x3a9578)return![];return!![];case _0x40da33(0x1f7):return _0x51f6d6[_0x40da33(0x2f0)]===_0x40da33(0x2f0);default:return!![];}}function getFieldsForOperation(_0x13805e,_0x55e335,_0x403324){const _0x25a136=a0_0x3a67c7;if(!Array[_0x25a136(0x205)](_0x13805e))return!![]&&console[_0x25a136(0x3dd)](_0x25a136(0x36c),_0x13805e),[];return _0x13805e[_0x25a136(0x1b6)](_0x28aa51=>shouldIncludeField(_0x28aa51,_0x55e335,_0x403324));}function isApiBlacklisted(_0x54f855){const _0x3b431a=a0_0x3a67c7;if(typeof _0x54f855!==_0x3b431a(0x400))return!![]&&console['warn'](_0x3b431a(0x3b7),_0x54f855),![];return API_BLACKLIST[_0x3b431a(0x1d3)](_0x54f855);}function filterApiOperations(_0x1146fe){const _0x9f2683=a0_0x3a67c7;if(!Array['isArray'](_0x1146fe))return!![]&&console['warn']('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x1146fe),[];return _0x1146fe[_0x9f2683(0x1b6)](_0x3a05c8=>_0x3a05c8&&typeof _0x3a05c8===_0x9f2683(0x3ab)&&!isApiBlacklisted(_0x3a05c8[_0x9f2683(0x18e)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x3a67c7(0x24c)](),'SELECT':({fieldInfo:_0x38e09a})=>{const _0x97466f=a0_0x3a67c7;if(_0x38e09a?.[_0x97466f(0x422)]&&Array['isArray'](_0x38e09a['options'])&&_0x38e09a[_0x97466f(0x422)][_0x97466f(0x31c)]>0x0)return _0x38e09a[_0x97466f(0x422)][0x0][_0x97466f(0x1a1)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x259bac})=>{const _0x470249=a0_0x3a67c7;if(_0x259bac==='currentPage')return 0x1;if(_0x259bac===_0x470249(0x35a))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x386e76})=>{const _0x152e93=a0_0x3a67c7;if(_0x386e76&&typeof _0x386e76===_0x152e93(0x400)){const _0x39f524=_0x386e76[_0x152e93(0x385)]();if(_0x39f524[_0x152e93(0x1d3)]('邮箱')||_0x39f524['includes'](_0x152e93(0x1c5)))return _0x152e93(0x256);if(_0x39f524['includes']('电话')||_0x39f524['includes']('手机')||_0x39f524[_0x152e93(0x1d3)](_0x152e93(0x2aa)))return _0x152e93(0x19d);if(_0x39f524[_0x152e93(0x1d3)]('地址')||_0x39f524[_0x152e93(0x1d3)](_0x152e93(0x417)))return _0x152e93(0x22d);if(_0x39f524['includes']('姓名')||_0x39f524[_0x152e93(0x1d3)](_0x152e93(0x18e)))return'张三';}return _0x152e93(0x218);},'VARCHAR':({description:_0x7efe30})=>TYPE_VALUE_GENERATORS[a0_0x3a67c7(0x25c)]({'description':_0x7efe30}),'CHAR':({description:_0x307bc1})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x307bc1}),'STRING':({fieldInfo:_0xa7e937,description:_0x3afd59})=>{const _0x6f56ce=a0_0x3a67c7;if(_0xa7e937?.[_0x6f56ce(0x1ac)]&&typeof _0xa7e937[_0x6f56ce(0x1ac)]===_0x6f56ce(0x400)&&_0xa7e937[_0x6f56ce(0x1ac)]!==_0x6f56ce(0x366))return _0xa7e937[_0x6f56ce(0x1ac)]['replace'](/^请输入|^请选择/,'');const _0x263971={};return _0x263971[_0x6f56ce(0x266)]=_0x3afd59,TYPE_VALUE_GENERATORS[_0x6f56ce(0x25c)](_0x263971);},'TEXTAREA':()=>a0_0x3a67c7(0x1ec),'LONGTEXT':()=>'这是一段较长的文本内容示例','BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x3a67c7(0x1a1)}),'ARRAY':()=>[a0_0x3a67c7(0x3ac),a0_0x3a67c7(0x1ff)],'UPLOAD':()=>a0_0x3a67c7(0x317),'IMAGE':()=>a0_0x3a67c7(0x326),'RICH_TEXT':()=>a0_0x3a67c7(0x3ea)};function generateExampleValue(_0x52a5bd,_0x40a827,_0x1c347e,_0x511913={}){const _0x31ccfc=a0_0x3a67c7;typeof _0x52a5bd!==_0x31ccfc(0x400)&&(!![]&&console[_0x31ccfc(0x3dd)](_0x31ccfc(0x3ce),_0x52a5bd),_0x52a5bd=String(_0x52a5bd||''));if(typeof _0x40a827!==_0x31ccfc(0x400))return!![]&&console['warn']('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x40a827),_0x31ccfc(0x391);const {isPrimaryKey:_0x313b87,dbtableConfig:_0x964a5b}=_0x511913;if(_0x313b87)return 0x1;if(_0x964a5b&&typeof _0x964a5b===_0x31ccfc(0x3ab)){const _0x2a573a=_0x964a5b[_0x31ccfc(0x1cf)]?.[_0x31ccfc(0x303)]===_0x52a5bd,_0x193cca=_0x964a5b[_0x31ccfc(0x243)]?.[_0x31ccfc(0x303)]===_0x52a5bd;if(_0x2a573a||_0x193cca){if(_0x1c347e&&typeof _0x1c347e===_0x31ccfc(0x400)&&_0x1c347e[_0x31ccfc(0x186)]()[_0x31ccfc(0x1d3)]('TIMESTAMP'))return Date[_0x31ccfc(0x24c)]();return new Date()[_0x31ccfc(0x238)]()['replace']('T','\x20')[_0x31ccfc(0x1c7)]('.')[0x0];}}const _0x14c3c0={..._0x511913};_0x14c3c0[_0x31ccfc(0x2bc)]=_0x52a5bd;const _0x1dfabd=_0x14c3c0;if(_0x1c347e&&typeof _0x1c347e==='string'){const _0x19d080=_0x1c347e['toUpperCase'](),_0x5b43ee=TYPE_VALUE_GENERATORS[_0x19d080];if(_0x5b43ee)return _0x5b43ee(_0x1dfabd);}if(_0x40a827&&typeof _0x40a827===_0x31ccfc(0x400)){const _0x5e0109=_0x40a827[_0x31ccfc(0x186)](),_0x48f29c=TYPE_VALUE_GENERATORS[_0x5e0109];if(_0x48f29c)return _0x48f29c(_0x1dfabd);}return _0x31ccfc(0x391);}function generateExampleFromSchema(_0x5ccab1,_0x505f80){const _0x21bdeb=a0_0x3a67c7;if(!_0x5ccab1||typeof _0x5ccab1!==_0x21bdeb(0x3ab))return{};if(Array['isArray'](_0x5ccab1)){if(_0x5ccab1['length']>0x0)return[generateExampleFromSchema(_0x5ccab1[0x0],_0x505f80)];return[];}const _0x2d3ade={};return Object[_0x21bdeb(0x289)](_0x5ccab1)['forEach'](_0x587b17=>{const _0x93813d=_0x21bdeb,_0x5b3470=_0x5ccab1[_0x587b17];if(_0x5b3470&&typeof _0x5b3470==='object'&&!Array['isArray'](_0x5b3470)&&_0x5b3470[_0x93813d(0x1c4)]){const _0x4fe9e9=_0x5b3470,_0x3596b4=_0x4fe9e9[_0x93813d(0x1c4)],_0xdf3baa=_0x4fe9e9[_0x93813d(0x266)];if(typeof _0x3596b4===_0x93813d(0x400)){const _0x1cf817={};_0x1cf817[_0x93813d(0x266)]=_0xdf3baa,_0x1cf817[_0x93813d(0x245)]=_0x505f80,_0x2d3ade[_0x587b17]=generateExampleValue(_0x587b17,_0x3596b4,undefined,_0x1cf817);}else _0x2d3ade[_0x587b17]=_0x93813d(0x391);}else{if(Array['isArray'](_0x5b3470))_0x2d3ade[_0x587b17]=_0x5b3470['length']>0x0?[generateExampleFromSchema(_0x5b3470[0x0],_0x505f80)]:[];else _0x5b3470&&typeof _0x5b3470==='object'?_0x2d3ade[_0x587b17]=generateExampleFromSchema(_0x5b3470,_0x505f80):_0x2d3ade[_0x587b17]=_0x5b3470;}}),_0x2d3ade;}function parseRequestBody(_0x5680d7){const _0x5981b8=a0_0x3a67c7;if(!_0x5680d7)return{};try{return JSON['parse'](_0x5680d7);}catch(_0xb7886){return!![]&&console[_0x5981b8(0x3dd)]('解析\x20requestBody\x20失败:',_0xb7886),{};}}function parseResponseBody(_0x4f04aa){const _0x4c89da=a0_0x3a67c7;if(!_0x4f04aa)return null;try{const _0x23acb5=JSON[_0x4c89da(0x216)](_0x4f04aa);return _0x23acb5[_0x4c89da(0x30d)]||_0x23acb5;}catch(_0x56c612){return!![]&&console[_0x4c89da(0x3dd)](_0x4c89da(0x1ab),_0x56c612),null;}}function generateRequestExample(_0x4e020d,_0x30d9cd,_0x4f5a3c,_0xcf66b7){const _0x5b954d=a0_0x3a67c7,_0x548c15={};if(!Array['isArray'](_0x4e020d))return!![]&&console[_0x5b954d(0x3dd)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x4e020d),_0x548c15;return _0x4e020d[_0x5b954d(0x40a)](_0x5968c8=>{const _0x4f84af=_0x5b954d;if(!_0x5968c8||typeof _0x5968c8!==_0x4f84af(0x3ab)){!![]&&console['warn']('[generateRequestExample]\x20Invalid\x20field:',_0x5968c8);return;}if(typeof _0x5968c8['code']!==_0x4f84af(0x400)||typeof _0x5968c8[_0x4f84af(0x1c4)]!==_0x4f84af(0x400)){!![]&&console['warn'](_0x4f84af(0x25e),_0x5968c8);return;}const _0x5a6772=parseFieldExtend(_0x5968c8),_0x349a49=_0x5968c8[_0x4f84af(0x2f0)]===_0x4f5a3c||Boolean(_0x5a6772?.[_0x4f84af(0x2f1)]),_0x9227c9=generateExampleValue(_0x5968c8[_0x4f84af(0x2f0)],_0x5968c8[_0x4f84af(0x1c4)],typeof _0x5968c8[_0x4f84af(0x296)]===_0x4f84af(0x400)?_0x5968c8[_0x4f84af(0x296)]:undefined,{'fieldInfo':_0x5a6772,'isPrimaryKey':_0x349a49,'description':_0x5968c8[_0x4f84af(0x266)]||_0x5968c8[_0x4f84af(0x18e)],'dbtableConfig':_0xcf66b7});_0x548c15[_0x5968c8[_0x4f84af(0x2f0)]]=_0x9227c9;}),_0x30d9cd===_0x5b954d(0x352)&&(_0x548c15[_0x5b954d(0x3fa)]=0x1,_0x548c15[_0x5b954d(0x35a)]=0xa),_0x548c15;}function formatEnumValue(_0x1fb5c4,_0x531442){const _0x42f73d=a0_0x3a67c7;if(_0x1fb5c4['multiple']&&Array['isArray'](_0x531442))return _0x531442[_0x42f73d(0x295)](_0x271b35=>_0x1fb5c4[_0x42f73d(0x3ad)][String(_0x271b35)]||String(_0x271b35))[_0x42f73d(0x414)](',\x20');return _0x1fb5c4['valueLabels'][String(_0x531442)]||String(_0x531442);}function formatOptionsForDoc(_0x2d1ace){const _0x128052=a0_0x3a67c7;return _0x2d1ace[_0x128052(0x295)](_0x2bf5d6=>_0x2bf5d6[_0x128052(0x1a1)]+'('+_0x2bf5d6[_0x128052(0x428)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x321a6b,_0x36272c=0x0){const _0x57d33c=a0_0x3a67c7,_0x51eb54='\x20\x20'[_0x57d33c(0x284)](_0x36272c),_0xc7490e=[];return _0x321a6b[_0x57d33c(0x40a)](_0x1ebce2=>{const _0x12aa0a=_0x57d33c;_0xc7490e[_0x12aa0a(0x3cf)](_0x51eb54+'-\x20`'+_0x1ebce2[_0x12aa0a(0x1a1)]+_0x12aa0a(0x413)+_0x1ebce2[_0x12aa0a(0x428)]),_0x1ebce2[_0x12aa0a(0x239)]&&_0x1ebce2[_0x12aa0a(0x239)]['length']>0x0&&_0xc7490e[_0x12aa0a(0x3cf)](formatOptionsAsMarkdownList(_0x1ebce2[_0x12aa0a(0x239)],_0x36272c+0x1));}),_0xc7490e[_0x57d33c(0x414)]('\x0a');}class DbtableConfig{[a0_0x3a67c7(0x2eb)];constructor(_0xf1eff1){const _0x52c415=a0_0x3a67c7,_0x4c07aa={..._0xf1eff1};this[_0x52c415(0x2eb)]=_0x4c07aa;}get[a0_0x3a67c7(0x250)](){const _0x59f791=a0_0x3a67c7;return this[_0x59f791(0x2eb)]['dbId'];}get['dbName'](){const _0x2629c7=a0_0x3a67c7;return this['_raw'][_0x2629c7(0x23f)]??this[_0x2629c7(0x2eb)]['dblinkInfoDTO']?.[_0x2629c7(0x23f)];}get[a0_0x3a67c7(0x1a3)](){const _0x3e3795=a0_0x3a67c7;return this[_0x3e3795(0x2eb)]['tableName'];}get[a0_0x3a67c7(0x36b)](){const _0x24bfa5=a0_0x3a67c7;return this['_raw'][_0x24bfa5(0x36b)];}get['pkField'](){const _0x34d3d0=a0_0x3a67c7;return this[_0x34d3d0(0x2eb)][_0x34d3d0(0x1ea)];}get[a0_0x3a67c7(0x23d)](){const _0x5d546e=a0_0x3a67c7;return this[_0x5d546e(0x2eb)][_0x5d546e(0x23d)];}get[a0_0x3a67c7(0x405)](){const _0x46af1e=a0_0x3a67c7;return this[_0x46af1e(0x2eb)]['logicField'];}get[a0_0x3a67c7(0x1cf)](){const _0x4986a9=a0_0x3a67c7;return this['_raw'][_0x4986a9(0x1cf)];}get['updateTimeField'](){const _0x391dd3=a0_0x3a67c7;return this['_raw'][_0x391dd3(0x243)];}get[a0_0x3a67c7(0x3b3)](){const _0x2d9f0d=a0_0x3a67c7;return this['_raw'][_0x2d9f0d(0x3b3)];}get[a0_0x3a67c7(0x35e)](){const _0x1bed29=a0_0x3a67c7;return this['_raw'][_0x1bed29(0x35e)];}get[a0_0x3a67c7(0x265)](){const _0xdb5abf=a0_0x3a67c7;return this['_raw'][_0xdb5abf(0x265)];}get[a0_0x3a67c7(0x3be)](){const _0x10345f=a0_0x3a67c7;return this[_0x10345f(0x2eb)]['modifierNameField'];}get[a0_0x3a67c7(0x273)](){const _0x95f6ee=a0_0x3a67c7;return this['_raw'][_0x95f6ee(0x273)];}[a0_0x3a67c7(0x32f)](){const _0x1913b4=a0_0x3a67c7;if(!this[_0x1913b4(0x2eb)][_0x1913b4(0x373)])return[];return this[_0x1913b4(0x2eb)][_0x1913b4(0x373)][_0x1913b4(0x1c7)](',')[_0x1913b4(0x295)](_0x145498=>_0x145498['trim']())['filter'](Boolean);}[a0_0x3a67c7(0x1c8)](){const _0x4d9019=a0_0x3a67c7;return this[_0x4d9019(0x2eb)][_0x4d9019(0x373)];}[a0_0x3a67c7(0x29c)](_0x20de28){const _0x3e82e7=a0_0x3a67c7;return this[_0x3e82e7(0x32f)]()['includes'](_0x20de28);}[a0_0x3a67c7(0x3c3)](){const _0xeb03ec=a0_0x3a67c7;return Boolean(this['_raw'][_0xeb03ec(0x1a3)]);}[a0_0x3a67c7(0x24f)](){const _0x3fcccc=a0_0x3a67c7;return Boolean(this[_0x3fcccc(0x2eb)][_0x3fcccc(0x273)]);}['hasLogicField'](){const _0x1830e2=a0_0x3a67c7;return Boolean(this[_0x1830e2(0x2eb)][_0x1830e2(0x405)]?.[_0x1830e2(0x303)]);}[a0_0x3a67c7(0x426)](){const _0xa12fee=a0_0x3a67c7;return Boolean(this['_raw']['createTimeField']?.[_0xa12fee(0x303)]);}[a0_0x3a67c7(0x207)](){const _0x39d1b3=a0_0x3a67c7;return Boolean(this['_raw']['updateTimeField']?.[_0x39d1b3(0x303)]);}[a0_0x3a67c7(0x3e1)](){const _0x391fa9=a0_0x3a67c7;return Boolean(this[_0x391fa9(0x2eb)]['creatorIdField']?.[_0x391fa9(0x303)]);}[a0_0x3a67c7(0x384)](){const _0xf88a20=a0_0x3a67c7;return Boolean(this[_0xf88a20(0x2eb)][_0xf88a20(0x265)]?.[_0xf88a20(0x303)]);}[a0_0x3a67c7(0x325)](_0x321883){const _0x415e41=a0_0x3a67c7;return this[_0x415e41(0x2eb)][_0x415e41(0x1ea)]===_0x321883;}[a0_0x3a67c7(0x412)](_0x54a7b0){const _0x23325e=a0_0x3a67c7;return this[_0x23325e(0x325)](_0x54a7b0)||this[_0x23325e(0x2eb)][_0x23325e(0x405)]?.[_0x23325e(0x303)]===_0x54a7b0||this[_0x23325e(0x2eb)]['createTimeField']?.[_0x23325e(0x303)]===_0x54a7b0||this[_0x23325e(0x2eb)][_0x23325e(0x243)]?.[_0x23325e(0x303)]===_0x54a7b0||this[_0x23325e(0x2eb)][_0x23325e(0x3b3)]?.[_0x23325e(0x303)]===_0x54a7b0||this[_0x23325e(0x2eb)][_0x23325e(0x35e)]?.['fieldName']===_0x54a7b0||this[_0x23325e(0x2eb)][_0x23325e(0x265)]?.[_0x23325e(0x303)]===_0x54a7b0||this['_raw'][_0x23325e(0x3be)]?.[_0x23325e(0x303)]===_0x54a7b0;}['getDatabaseName'](){const _0x2f7d0c=a0_0x3a67c7;return this[_0x2f7d0c(0x2eb)]['dblinkInfoDTO']?.[_0x2f7d0c(0x23f)];}[a0_0x3a67c7(0x185)](){const _0x35e649=a0_0x3a67c7;return this[_0x35e649(0x2eb)]['dblinkInfoDTO']?.[_0x35e649(0x296)];}[a0_0x3a67c7(0x278)](){const _0x419ba0=a0_0x3a67c7;return this[_0x419ba0(0x2eb)][_0x419ba0(0x273)]?.[_0x419ba0(0x421)];}[a0_0x3a67c7(0x34f)](){const _0x49cbb0=a0_0x3a67c7;return this[_0x49cbb0(0x2eb)]['dblinkInfoDTO']?.[_0x49cbb0(0x387)];}[a0_0x3a67c7(0x345)](){const _0x658227=a0_0x3a67c7;return this['_raw'][_0x658227(0x273)]?.[_0x658227(0x31a)];}[a0_0x3a67c7(0x188)](){const _0x554c16=a0_0x3a67c7;return this['_raw'][_0x554c16(0x273)]?.['systemAnalysisResult'];}['getStats'](){const _0x597fcd=a0_0x3a67c7;return{'hasTableName':this['hasTableName'](),'hasDblinkInfo':this[_0x597fcd(0x24f)](),'fieldCount':this['getAllFieldsArray']()['length'],'systemFields':{'hasLogicField':this[_0x597fcd(0x1df)](),'hasCreateTimeField':this[_0x597fcd(0x426)](),'hasUpdateTimeField':this[_0x597fcd(0x207)](),'hasCreatorIdField':this[_0x597fcd(0x3e1)](),'hasModifierIdField':this[_0x597fcd(0x384)]()}};}[a0_0x3a67c7(0x318)](){const _0x152d88=a0_0x3a67c7,_0x5d74e2={};return _0x5d74e2[_0x152d88(0x1a3)]=this[_0x152d88(0x1a3)],_0x5d74e2[_0x152d88(0x1ea)]=this[_0x152d88(0x1ea)],_0x5d74e2['datasetKey']=this[_0x152d88(0x36b)],_0x5d74e2['dbId']=this[_0x152d88(0x250)],_0x5d74e2;}[a0_0x3a67c7(0x41b)](){const _0x2ea3d4={...this['_raw']};return _0x2ea3d4;}[a0_0x3a67c7(0x1de)](){const _0x2c6d64=a0_0x3a67c7,_0x1e8af4={...this[_0x2c6d64(0x2eb)]};return _0x1e8af4;}[a0_0x3a67c7(0x31b)](){const _0x1b9f12=a0_0x3a67c7,_0x276935=this[_0x1b9f12(0x1a3)]||_0x1b9f12(0x306),_0x2e56e1=this[_0x1b9f12(0x32f)]()['length'];return _0x1b9f12(0x3e7)+_0x276935+_0x1b9f12(0x399)+_0x2e56e1+')';}static[a0_0x3a67c7(0x2cb)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x3a67c7(0x2eb)];constructor(_0x1be053){const _0x54bae3=a0_0x3a67c7,_0x4821e0=_0x1be053[_0x54bae3(0x2f6)]||_0x1be053['code']||_0x1be053[_0x54bae3(0x27e)],_0x89443f={..._0x1be053};_0x89443f[_0x54bae3(0x2f6)]=_0x4821e0,this[_0x54bae3(0x2eb)]=_0x89443f;}get['id'](){return this['_raw']['id'];}get[a0_0x3a67c7(0x18e)](){const _0x22c04=a0_0x3a67c7;return this[_0x22c04(0x2eb)][_0x22c04(0x18e)];}[a0_0x3a67c7(0x1d8)](){const _0xb5f64c=a0_0x3a67c7;return this[_0xb5f64c(0x18e)];}get[a0_0x3a67c7(0x2f6)](){const _0x30593e=a0_0x3a67c7;return this[_0x30593e(0x2eb)][_0x30593e(0x2f6)]||'';}get[a0_0x3a67c7(0x245)](){const _0x313b70=a0_0x3a67c7;if(!this['_raw']['dbtableConfig'])return null;return new DbtableConfig(this[_0x313b70(0x2eb)][_0x313b70(0x245)]);}[a0_0x3a67c7(0x1a2)](){const _0x20e8d7=a0_0x3a67c7;return this[_0x20e8d7(0x2eb)][_0x20e8d7(0x245)];}[a0_0x3a67c7(0x38b)](){const _0x48e7b9=a0_0x3a67c7;return this[_0x48e7b9(0x245)]?.[_0x48e7b9(0x23f)]||'';}[a0_0x3a67c7(0x316)](){const _0x14c73c=a0_0x3a67c7;return getTableName(this[_0x14c73c(0x2eb)]);}[a0_0x3a67c7(0x331)](){const _0x36c3b6=a0_0x3a67c7;return getTableKey(this[_0x36c3b6(0x316)]());}[a0_0x3a67c7(0x215)](){const _0x437c82=a0_0x3a67c7;return generateModelKeyFromCode(this[_0x437c82(0x2f6)]);}['isVirtualTable'](){const _0x4c6050=a0_0x3a67c7;return isVirtualTableName(this[_0x4c6050(0x316)]());}['getModelName'](){const _0x40be22=a0_0x3a67c7;return getTableKey(this[_0x40be22(0x316)]());}[a0_0x3a67c7(0x318)](){const _0x4a10eb=a0_0x3a67c7,_0x3a8a73=getTableKey(this[_0x4a10eb(0x316)]());return{'key':_0x3a8a73,'alias':_0x3a8a73,'tableName':this['getTableName'](),'datasetCode':this[_0x4a10eb(0x2f6)],'name':this[_0x4a10eb(0x18e)]};}[a0_0x3a67c7(0x41b)](){const _0x251759=a0_0x3a67c7,_0x50b919={...this['_raw']};return _0x50b919[_0x251759(0x2f6)]=this['datasetCode'],_0x50b919;}['getRaw'](){const _0x1d92f9=a0_0x3a67c7,_0x2862c9={...this[_0x1d92f9(0x2eb)]};return _0x2862c9;}[a0_0x3a67c7(0x1b8)](){const _0x2b3a7c=a0_0x3a67c7,_0x45308c=this[_0x2b3a7c(0x245)];return _0x45308c!==null&&_0x45308c[_0x2b3a7c(0x3c3)]();}[a0_0x3a67c7(0x3de)](_0x507db0){const _0x495832=a0_0x3a67c7;return this[_0x495832(0x2eb)][_0x507db0];}[a0_0x3a67c7(0x3aa)](_0x3956cc){const _0x2e9569=a0_0x3a67c7;return _0x3956cc in this[_0x2e9569(0x2eb)];}['toString'](){const _0x1711ab=a0_0x3a67c7;return _0x1711ab(0x3b4)+this['name']+',\x20'+this[_0x1711ab(0x2f6)]+')';}}class Operation{[a0_0x3a67c7(0x18e)];[a0_0x3a67c7(0x2eb)];[a0_0x3a67c7(0x1a4)];constructor(_0x281b37,_0x56ad5f,_0x3be566){const _0x624f3c=a0_0x3a67c7;this[_0x624f3c(0x18e)]=_0x281b37,this[_0x624f3c(0x2eb)]=_0x56ad5f,this[_0x624f3c(0x1a4)]=_0x3be566;}[a0_0x3a67c7(0x1d8)](){const _0x19d3c8=a0_0x3a67c7;return this[_0x19d3c8(0x18e)];}[a0_0x3a67c7(0x19e)](){const _0x5aeb37=a0_0x3a67c7;return OPERATION_TYPE_DISPLAY_NAME[this[_0x5aeb37(0x18e)]]||this[_0x5aeb37(0x18e)];}['getType'](){const _0x12d8a9=a0_0x3a67c7;return parseOperationType(this[_0x12d8a9(0x18e)]);}[a0_0x3a67c7(0x3c5)](){return this['_raw']!==null&&this['_raw']!==![];}[a0_0x3a67c7(0x3dc)](){const _0x57bfe8=a0_0x3a67c7,_0x5eda0e=this['_raw'];if(_0x5eda0e===![]||_0x5eda0e===null)return'';return _0x5eda0e[_0x57bfe8(0x291)]||'GET';}['getPath'](){const _0x55c9b4=a0_0x3a67c7,_0x3a8e1c=this[_0x55c9b4(0x2eb)];if(_0x3a8e1c===![]||_0x3a8e1c===null)return'';return _0x3a8e1c[_0x55c9b4(0x38c)]||'';}[a0_0x3a67c7(0x34c)](){const _0x21fe59=a0_0x3a67c7,_0x50f2b4=this[_0x21fe59(0x2eb)];let _0x1c546b='';_0x50f2b4!==![]&&_0x50f2b4!==null&&_0x50f2b4['host']&&(_0x1c546b=_0x50f2b4['host']);const _0x5884b0=this[_0x21fe59(0x2c7)]();return _0x1c546b&&_0x5884b0?''+_0x1c546b+_0x5884b0:_0x5884b0;}[a0_0x3a67c7(0x220)](){const _0x577590=a0_0x3a67c7,_0x5ec859=this['_raw'];if(_0x5ec859===![]||_0x5ec859===null||!_0x5ec859[_0x577590(0x3ae)])return{};try{return JSON[_0x577590(0x216)](_0x5ec859['requestBody']);}catch{return{};}}[a0_0x3a67c7(0x272)](){const _0x3388fe=a0_0x3a67c7,_0x421321=this[_0x3388fe(0x2eb)];if(_0x421321===![]||_0x421321===null||!_0x421321['responseBody'])return null;return parseResponseBody(_0x421321[_0x3388fe(0x358)]);}[a0_0x3a67c7(0x2a9)](){const _0x5bf5e0=a0_0x3a67c7;return this[_0x5bf5e0(0x220)]();}['getResponseSchema'](){const _0x29df32=a0_0x3a67c7;return this[_0x29df32(0x272)]();}[a0_0x3a67c7(0x379)](){const _0x3bafec=a0_0x3a67c7,_0x108afb=this['getRequestParams']();return Object[_0x3bafec(0x289)](_0x108afb);}[a0_0x3a67c7(0x203)](){const _0x549e14=a0_0x3a67c7,_0x265aea=this[_0x549e14(0x2a9)](),_0x5bad30={};return Object[_0x549e14(0x240)](_0x265aea)['forEach'](([_0x1a4f3e,_0x18b306])=>{const _0x3901b4=_0x549e14,_0x4d69f7=_0x18b306;_0x5bad30[_0x1a4f3e]=generateExampleValue(_0x1a4f3e,_0x4d69f7[_0x3901b4(0x1c4)]||_0x3901b4(0x2c4),undefined,{'description':_0x4d69f7['description']});}),_0x5bad30;}[a0_0x3a67c7(0x3a4)](){const _0x372104=a0_0x3a67c7;return this[_0x372104(0x203)]();}[a0_0x3a67c7(0x35f)](){const _0x4c4214=a0_0x3a67c7,_0xa1aa75=this[_0x4c4214(0x272)]();if(!_0xa1aa75){const _0x25b89b={};return _0x25b89b[_0x4c4214(0x28c)]=!![],_0x25b89b[_0x4c4214(0x275)]=_0x4c4214(0x1bb),_0x25b89b['errorMsg']='',_0x25b89b[_0x4c4214(0x36a)]='0000',_0x25b89b[_0x4c4214(0x3cb)]=null,_0x25b89b;}return this[_0x4c4214(0x2df)](_0xa1aa75);}['generateFromSchema'](_0x6e9388){const _0x1fe9f4=a0_0x3a67c7;if(!_0x6e9388||typeof _0x6e9388!==_0x1fe9f4(0x3ab))return{};if(Array['isArray'](_0x6e9388))return _0x6e9388['length']>0x0?[this[_0x1fe9f4(0x2df)](_0x6e9388[0x0])]:[];const _0x25c711={};for(const [_0x24389f,_0x3bbe37]of Object[_0x1fe9f4(0x240)](_0x6e9388)){if(_0x3bbe37&&typeof _0x3bbe37==='object'&&!Array[_0x1fe9f4(0x205)](_0x3bbe37)){const _0x51df49=_0x3bbe37;_0x25c711[_0x24389f]=generateExampleValue(_0x24389f,_0x51df49['type']||_0x1fe9f4(0x2c4),undefined,{'description':_0x51df49[_0x1fe9f4(0x266)]});}else Array[_0x1fe9f4(0x205)](_0x3bbe37)?_0x25c711[_0x24389f]=_0x3bbe37[_0x1fe9f4(0x31c)]>0x0?[this[_0x1fe9f4(0x2df)](_0x3bbe37[0x0])]:[]:_0x25c711[_0x24389f]=_0x3bbe37;}return _0x25c711;}[a0_0x3a67c7(0x249)](_0x230c33,_0x2c0b64,_0x2a7040,_0xae395d){return generateExampleValue(_0x230c33,_0x2c0b64,_0x2a7040,_0xae395d);}[a0_0x3a67c7(0x1b7)](_0x19f3bd,_0x17f2ce){const _0x430447=a0_0x3a67c7,_0x5b614a=this['getName']();return _0x430447(0x214)+_0x19f3bd+'.'+_0x5b614a+_0x430447(0x246);}[a0_0x3a67c7(0x34e)](_0x178ce1){const _0x59b089=a0_0x3a67c7,_0x4946eb=this[_0x59b089(0x1d8)](),_0x156293=_0x178ce1||'yourModel',_0x51b17b={};return _0x51b17b[_0x59b089(0x1f9)]=_0x59b089(0x37e)+_0x156293+'.'+_0x4946eb+_0x59b089(0x246),_0x51b17b['errorCode']='try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'+_0x156293+'.'+_0x4946eb+_0x59b089(0x1dc),_0x51b17b;}[a0_0x3a67c7(0x411)](){const _0x446a4c=a0_0x3a67c7,_0x1ed60c=this[_0x446a4c(0x2a9)](),_0x24e1ba=Object[_0x446a4c(0x240)](_0x1ed60c)['map'](([_0x1e0b84,_0x53c5b5])=>{const _0x43be33=_0x446a4c,_0x1b937f=_0x53c5b5,_0x31871a={};return _0x31871a[_0x43be33(0x18e)]=_0x1e0b84,_0x31871a[_0x43be33(0x1c4)]=_0x1b937f[_0x43be33(0x1c4)]||'String',_0x31871a['description']=_0x1b937f[_0x43be33(0x266)]||'-',_0x31871a[_0x43be33(0x3fe)]=_0x1b937f[_0x43be33(0x3fe)],_0x31871a;}),_0x5b9100={};return _0x5b9100[_0x446a4c(0x2f8)]=_0x24e1ba,_0x5b9100;}['getResponseParamsDocInfo'](){const _0x37893b=a0_0x3a67c7,_0x57ca1c=this[_0x37893b(0x272)]();if(!_0x57ca1c){const _0x2c2e32={};return _0x2c2e32[_0x37893b(0x2f8)]=[],_0x2c2e32;}const _0x1a0fc2=Object[_0x37893b(0x240)](_0x57ca1c)['map'](([_0xac61b5,_0x16e176])=>{const _0x4af5ca=_0x37893b,_0x360510=_0x16e176,_0x5220b4={};return _0x5220b4[_0x4af5ca(0x18e)]=_0xac61b5,_0x5220b4[_0x4af5ca(0x1c4)]=_0x360510[_0x4af5ca(0x1c4)]||'String',_0x5220b4[_0x4af5ca(0x266)]=_0x360510[_0x4af5ca(0x266)]||'-',_0x5220b4;}),_0x384c17={};return _0x384c17[_0x37893b(0x2f8)]=_0x1a0fc2,_0x384c17;}[a0_0x3a67c7(0x1fc)](){return[];}[a0_0x3a67c7(0x30e)](){const _0x24117c=a0_0x3a67c7;return this[_0x24117c(0x1a4)]['fields']||[];}['getAllParams'](){const _0x3d86b1=a0_0x3a67c7;return{'systemFields':this['getSystemFields'](),'businessFields':this[_0x3d86b1(0x30e)]()};}[a0_0x3a67c7(0x3f8)](_0x5d3d8d){const _0x1a4b5e=a0_0x3a67c7;return this['context'][_0x1a4b5e(0x389)][_0x1a4b5e(0x323)](_0x2c66ba=>_0x2c66ba?.['code']===_0x5d3d8d);}[a0_0x3a67c7(0x252)](_0x293c6b){const _0x54e1c3=a0_0x3a67c7;return _0x293c6b[_0x54e1c3(0x2f0)];}[a0_0x3a67c7(0x2fa)](_0x42b843){const _0x18a7b2=a0_0x3a67c7;return _0x42b843[_0x18a7b2(0x1c4)];}[a0_0x3a67c7(0x24a)](_0x5b0656){const _0x155663=a0_0x3a67c7;return _0x5b0656[_0x155663(0x18e)];}[a0_0x3a67c7(0x227)](_0x1147dc){const _0x3f0325=a0_0x3a67c7;return _0x1147dc[_0x3f0325(0x266)];}[a0_0x3a67c7(0x350)](_0x5f5296){const _0x55dc07=a0_0x3a67c7;return _0x5f5296[_0x55dc07(0x419)]()||null;}[a0_0x3a67c7(0x407)](_0x311a4b){return _0x311a4b['isPrimaryKey']();}[a0_0x3a67c7(0x274)](){return[];}[a0_0x3a67c7(0x3c4)](_0x51fb52){return[];}[a0_0x3a67c7(0x41b)](){const _0x139be2=a0_0x3a67c7;return{'name':this[_0x139be2(0x1d8)](),'displayName':this['getDisplayName'](),'type':this[_0x139be2(0x321)](),'enabled':this[_0x139be2(0x3c5)](),'method':this['getMethod'](),'path':this[_0x139be2(0x2c7)](),'fullUrl':this[_0x139be2(0x34c)](),'requestParams':this['getRequestParams'](),'requestExample':this[_0x139be2(0x203)](),'responseExample':this[_0x139be2(0x35f)]()};}[a0_0x3a67c7(0x31b)](){const _0x57e4d8=a0_0x3a67c7,_0x2606e9=this[_0x57e4d8(0x3c5)]()?'启用':'禁用';return this[_0x57e4d8(0x19e)]()+'('+this[_0x57e4d8(0x18e)]+',\x20'+_0x2606e9+')';}}class GenericOperation extends Operation{[a0_0x3a67c7(0x288)];['getRequestParams'](){const _0x1eecc1=a0_0x3a67c7;return this[_0x1eecc1(0x220)]();}[a0_0x3a67c7(0x1ce)](){const _0x361114=a0_0x3a67c7;return this[_0x361114(0x272)]();}[a0_0x3a67c7(0x203)](){const _0x5e98e=a0_0x3a67c7;if(this['_requestExampleCache'])return this['_requestExampleCache'];const _0x53d387={},_0x3e25ca=this[_0x5e98e(0x2a9)](),_0x11ba20=this[_0x5e98e(0x321)]();if(Object[_0x5e98e(0x289)](_0x3e25ca)['length']===0x0&&_0x11ba20){const _0x2dba1a=this['getBusinessFields']();return _0x2dba1a[_0x5e98e(0x40a)](_0x5c1d77=>{const _0x2c034e=_0x5e98e,_0x449fda=_0x5c1d77[_0x2c034e(0x2f0)],_0x2e9fda=_0x5c1d77[_0x2c034e(0x1c4)],_0x2ab296=this['generateFieldExample'](_0x449fda,_0x2e9fda,_0x5c1d77[_0x2c034e(0x3a8)](),{'isPrimaryKey':_0x5c1d77[_0x2c034e(0x32e)](),'description':_0x5c1d77[_0x2c034e(0x266)]||_0x5c1d77[_0x2c034e(0x18e)]});_0x53d387[_0x449fda]=_0x2ab296;}),this[_0x5e98e(0x288)]=_0x53d387,_0x53d387;}return Object['entries'](_0x3e25ca)['forEach'](([_0x11bc97,_0xc7f4e5])=>{const _0xcba007=_0x5e98e,_0x46f3d8=_0xc7f4e5;let _0x13b21a;if(typeof _0x46f3d8[_0xcba007(0x1c4)]===_0xcba007(0x400))_0x13b21a=_0x46f3d8[_0xcba007(0x1c4)];else _0x46f3d8[_0xcba007(0x1c4)]&&typeof _0x46f3d8[_0xcba007(0x1c4)]==='object'?_0x13b21a=_0x46f3d8['type'][_0xcba007(0x1c4)]||'TEXT':_0x13b21a=_0xcba007(0x25c);const _0x447059=_0x46f3d8[_0xcba007(0x266)],_0x591b2c=this['getFieldDefinition'](_0x11bc97);if(_0x11bc97===_0xcba007(0x3fa))_0x53d387[_0x11bc97]=0x1;else{if(_0x11bc97===_0xcba007(0x35a))_0x53d387[_0x11bc97]=0xa;else{if(_0x11bc97==='id')_0x53d387[_0x11bc97]=0x1;else{const _0x42f64c=_0x591b2c?_0x591b2c[_0xcba007(0x3a8)]():undefined,_0x10a737=_0x591b2c?_0x591b2c[_0xcba007(0x266)]:undefined,_0x3b894b=_0x591b2c?_0x591b2c[_0xcba007(0x18e)]:undefined;_0x53d387[_0x11bc97]=this['generateFieldExample'](_0x11bc97,_0x13b21a,_0x42f64c||undefined,{'isPrimaryKey':_0x11bc97===this[_0xcba007(0x1a4)][_0xcba007(0x1ea)]||_0x11bc97==='id','description':_0x447059||_0x10a737||_0x3b894b});}}}}),this[_0x5e98e(0x288)]=_0x53d387,_0x53d387;}['generateResponseExample'](){const _0x39f84f=a0_0x3a67c7,_0xd84947=this[_0x39f84f(0x1ce)]();if(!_0xd84947){const _0x4786aa={};return _0x4786aa[_0x39f84f(0x28c)]=!![],_0x4786aa[_0x39f84f(0x275)]=_0x39f84f(0x1bb),_0x4786aa[_0x39f84f(0x388)]='',_0x4786aa[_0x39f84f(0x36a)]='0000',_0x4786aa[_0x39f84f(0x3cb)]=null,_0x4786aa;}return this['generateFromSchema'](_0xd84947);}[a0_0x3a67c7(0x2df)](_0xf5305){const _0x325e04=a0_0x3a67c7;if(!_0xf5305||typeof _0xf5305!==_0x325e04(0x3ab))return{};if(Array[_0x325e04(0x205)](_0xf5305)){if(_0xf5305['length']>0x0)return[this['generateFromSchema'](_0xf5305[0x0])];return[];}const _0x59cc71={};return Object['keys'](_0xf5305)['forEach'](_0x3f2e22=>{const _0x46f87a=_0x325e04,_0x2cb72f=_0xf5305[_0x3f2e22];if(_0x2cb72f&&typeof _0x2cb72f===_0x46f87a(0x3ab)&&!Array[_0x46f87a(0x205)](_0x2cb72f)&&_0x2cb72f['type']){const _0x54f71b=_0x2cb72f;let _0x3a29cd;if(typeof _0x54f71b[_0x46f87a(0x1c4)]===_0x46f87a(0x400))_0x3a29cd=_0x54f71b[_0x46f87a(0x1c4)];else _0x54f71b[_0x46f87a(0x1c4)]&&typeof _0x54f71b['type']===_0x46f87a(0x3ab)?_0x3a29cd=_0x54f71b[_0x46f87a(0x1c4)][_0x46f87a(0x1c4)]||_0x46f87a(0x25c):_0x3a29cd=_0x46f87a(0x25c);const _0x17e16a=_0x54f71b[_0x46f87a(0x266)],_0x49f9d1={};_0x49f9d1[_0x46f87a(0x266)]=_0x17e16a,_0x59cc71[_0x3f2e22]=this[_0x46f87a(0x249)](_0x3f2e22,_0x3a29cd,undefined,_0x49f9d1);}else{if(Array[_0x46f87a(0x205)](_0x2cb72f))_0x59cc71[_0x3f2e22]=_0x2cb72f[_0x46f87a(0x31c)]>0x0?[this[_0x46f87a(0x2df)](_0x2cb72f[0x0])]:[];else _0x2cb72f&&typeof _0x2cb72f===_0x46f87a(0x3ab)?_0x59cc71[_0x3f2e22]=this[_0x46f87a(0x2df)](_0x2cb72f):_0x59cc71[_0x3f2e22]=_0x2cb72f;}}),_0x59cc71;}[a0_0x3a67c7(0x1b7)](_0x2206eb,_0x2507a3){const _0x15a523=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2507a3||{},_0x1653e5=this[_0x15a523(0x1d8)](),_0x4a6cd2=this['getType'](),_0xe2d3c2=this[_0x15a523(0x379)](),_0x189499=this[_0x15a523(0x203)](),_0xae0e23=_0x1a1e85=>{const _0x27d560=_0x15a523;if(Object['keys'](_0x1a1e85)['length']===0x0)return'{}';const _0xc406c0=JSON['stringify'](_0x1a1e85,null,0x2)[_0x27d560(0x1c7)]('\x0a')[_0x27d560(0x295)]((_0x29b0bb,_0x1e5b19)=>_0x1e5b19===0x0?_0x29b0bb:indent+_0x29b0bb)[_0x27d560(0x414)]('\x0a');return _0xc406c0;};switch(_0x4a6cd2){case'getOne':case _0x15a523(0x36d):return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+_0x15a523(0x2e7);case _0x15a523(0x313):if(useFullExample&&Object[_0x15a523(0x289)](_0x189499)['length']>0x0)return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+'(id,\x20'+_0xae0e23(_0x189499)+');';return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+_0x15a523(0x39f);case'create':case _0x15a523(0x352):case _0x15a523(0x1f7):default:if(_0xe2d3c2[_0x15a523(0x31c)]>0x0){if(useFullExample&&Object[_0x15a523(0x289)](_0x189499)['length']>0x0)return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+'('+_0xae0e23(_0x189499)+');';else{const _0x560744=Object[_0x15a523(0x289)](_0x189499);if(_0x560744[_0x15a523(0x31c)]>0x0){const _0x4a13b6=_0x560744['slice'](0x0,0x2)['join'](',\x20');return'const\x20result\x20=\x20await\x20client.models.'+_0x2206eb+'.'+_0x1653e5+_0x15a523(0x242)+_0x4a13b6+_0x15a523(0x35d);}else return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+'(params);';}}else return _0x15a523(0x214)+_0x2206eb+'.'+_0x1653e5+'();';}}[a0_0x3a67c7(0x329)](){return[{'title':'请求示例','data':this['generateRequestExample']()}];}[a0_0x3a67c7(0x1fc)](){const _0x44e042=a0_0x3a67c7,_0x39c872=this['getType'](),_0x5cf5c1=[];switch(_0x39c872){case _0x44e042(0x357):case _0x44e042(0x36d):const _0x590a14={};_0x590a14['code']='id',_0x590a14[_0x44e042(0x1c4)]=_0x44e042(0x2de),_0x590a14[_0x44e042(0x266)]=_0x44e042(0x22b),_0x5cf5c1[_0x44e042(0x3cf)](_0x590a14);break;case _0x44e042(0x352):const _0x4bc7cc={};_0x4bc7cc[_0x44e042(0x2f0)]=_0x44e042(0x3fa),_0x4bc7cc[_0x44e042(0x1c4)]=_0x44e042(0x2de),_0x4bc7cc[_0x44e042(0x266)]=_0x44e042(0x1cc);const _0xbdf98e={};_0xbdf98e[_0x44e042(0x2f0)]='pageSize',_0xbdf98e[_0x44e042(0x1c4)]='NUMBER',_0xbdf98e[_0x44e042(0x266)]=_0x44e042(0x322),_0x5cf5c1['push'](_0x4bc7cc,_0xbdf98e);break;case _0x44e042(0x1f7):const _0x35fdb5={};_0x35fdb5[_0x44e042(0x2f0)]=_0x44e042(0x2f0),_0x35fdb5[_0x44e042(0x1c4)]='STRING',_0x35fdb5['description']='选项编码(可选)',_0x5cf5c1['push'](_0x35fdb5);break;default:break;}return _0x5cf5c1;}[a0_0x3a67c7(0x30e)](){const _0x538e67=a0_0x3a67c7,_0x1a63c8=this[_0x538e67(0x321)](),_0x48a3af=this[_0x538e67(0x1a4)]['fields']||[];switch(_0x1a63c8){case'getOne':case _0x538e67(0x36d):return[];case _0x538e67(0x2d8):case _0x538e67(0x342):return _0x48a3af[_0x538e67(0x1b6)](_0x22463c=>{const _0x4b8d45=_0x538e67;if(_0x22463c[_0x4b8d45(0x1a9)])return![];if(_0x22463c['isPrimaryKey']()&&_0x22463c[_0x4b8d45(0x1af)]())return![];if(_0x22463c[_0x4b8d45(0x229)]())return![];if(_0x22463c[_0x4b8d45(0x1ed)]()||_0x22463c[_0x4b8d45(0x39c)]())return![];return!![];});case _0x538e67(0x313):return _0x48a3af[_0x538e67(0x1b6)](_0x215e05=>{const _0x12fe41=_0x538e67;if(_0x215e05[_0x12fe41(0x1a9)])return![];if(_0x215e05['isPrimaryKey']())return![];if(_0x215e05[_0x12fe41(0x229)]())return![];if(_0x215e05[_0x12fe41(0x1ed)]()||_0x215e05[_0x12fe41(0x39c)]())return![];if(_0x215e05[_0x12fe41(0x1af)]())return![];return!![];});case _0x538e67(0x352):case _0x538e67(0x1f7):return _0x48a3af[_0x538e67(0x1b6)](_0x4c0e52=>!_0x4c0e52[_0x538e67(0x1a9)]&&_0x4c0e52[_0x538e67(0x1cd)]());default:return _0x48a3af[_0x538e67(0x1b6)](_0x568d5e=>!_0x568d5e['deleted']&&_0x568d5e[_0x538e67(0x1cd)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x3a67c7(0x2a9)](){const _0x1ed568=a0_0x3a67c7,_0x27af53=super[_0x1ed568(0x2a9)](),_0x3f7c8c=Object['keys'](_0x27af53);if(_0x3f7c8c[_0x1ed568(0x31c)]===0x0||_0x3f7c8c[_0x1ed568(0x31c)]===0x1&&_0x3f7c8c[0x0]===_0x1ed568(0x2f0)){if(!_0x27af53['code']){const _0x1074e2={};_0x1074e2[_0x1ed568(0x1c4)]='String',_0x1074e2[_0x1ed568(0x266)]='字段编码',_0x27af53[_0x1ed568(0x2f0)]=_0x1074e2;}const _0x16ee8c={};_0x16ee8c[_0x1ed568(0x1c4)]='String',_0x16ee8c[_0x1ed568(0x266)]=_0x1ed568(0x232),_0x27af53['label']=_0x16ee8c;}return _0x27af53;}[a0_0x3a67c7(0x30e)](){return[];}['getSystemFields'](){const _0x5225d8=a0_0x3a67c7,_0x31072e={};_0x31072e[_0x5225d8(0x2f0)]=_0x5225d8(0x2f0),_0x31072e[_0x5225d8(0x1c4)]=_0x5225d8(0x2c4),_0x31072e['description']='字段编码';const _0x243992={};return _0x243992['code']=_0x5225d8(0x428),_0x243992['type']=_0x5225d8(0x2c4),_0x243992[_0x5225d8(0x266)]=_0x5225d8(0x232),[_0x31072e,_0x243992];}[a0_0x3a67c7(0x203)](){const _0x2e11cf=a0_0x3a67c7,_0x383e57={};return _0x383e57[_0x2e11cf(0x2f0)]=_0x2e11cf(0x2f4),_0x383e57[_0x2e11cf(0x428)]=_0x2e11cf(0x2f4),_0x383e57;}[a0_0x3a67c7(0x1b7)](_0x254c65){const _0xeb40f9=a0_0x3a67c7,_0x244572=this['getName']();return _0xeb40f9(0x214)+_0x254c65+'.'+_0x244572+_0xeb40f9(0x225);}}class GetListOperation extends GenericOperation{[a0_0x3a67c7(0x2a9)](){const _0xbe113e=a0_0x3a67c7,_0x41d57d=super[_0xbe113e(0x2a9)](),{currentPage:_0x4d01cc,pageSize:_0x4287c2,..._0xfd92ff}=_0x41d57d,_0x1a07d1={};Object[_0xbe113e(0x240)](_0xfd92ff)[_0xbe113e(0x40a)](([_0x2ad602,_0x2bb5ca])=>{const _0x1e5296=_0xbe113e;if(typeof _0x2bb5ca===_0x1e5296(0x3ab)&&_0x2bb5ca!==null){const _0x177a5d=_0x2bb5ca,_0x4f99a7=_0x177a5d['description']||'',_0x9a3a6e={..._0x177a5d};_0x9a3a6e[_0x1e5296(0x266)]=_0x4f99a7?_0x4f99a7+'(支持单值或数组)':'支持单值或数组',_0x1a07d1[_0x2ad602]=_0x9a3a6e;}else _0x1a07d1[_0x2ad602]=_0x2bb5ca;});const _0xe24d0c={...typeof _0x4d01cc==='object'?_0x4d01cc:{}};_0xe24d0c['type']=_0xbe113e(0x1b5),_0xe24d0c[_0xbe113e(0x266)]=_0xbe113e(0x1cc);const _0x331095={...typeof _0x4287c2==='object'?_0x4287c2:{}};_0x331095[_0xbe113e(0x1c4)]='Number',_0x331095[_0xbe113e(0x266)]=_0xbe113e(0x3a2);const _0x394883={..._0x1a07d1};return _0x394883[_0xbe113e(0x3fa)]=_0xe24d0c,_0x394883[_0xbe113e(0x35a)]=_0x331095,_0x394883;}[a0_0x3a67c7(0x203)](_0x5cf552){const _0x7b48fc=a0_0x3a67c7,{useArrayValues:useArrayValues=!![]}=_0x5cf552||{},_0x5f1132=super[_0x7b48fc(0x203)](),{currentPage:_0x194128,pageSize:_0x45f8d3,..._0x2e6fcb}=_0x5f1132;if(!useArrayValues){const _0x5fdf5c={..._0x2e6fcb};return _0x5fdf5c[_0x7b48fc(0x3fa)]=_0x194128??0x1,_0x5fdf5c[_0x7b48fc(0x35a)]=_0x45f8d3??0xa,_0x5fdf5c;}const _0x370420={},_0xc67e61=['id',_0x7b48fc(0x189),'code',_0x7b48fc(0x1c4)];Object[_0x7b48fc(0x240)](_0x2e6fcb)[_0x7b48fc(0x40a)](([_0x5dfce3,_0x373136],_0x41c67e)=>{const _0x2dfd8a=_0x7b48fc,_0x165a1c=_0xc67e61['some'](_0x5df9d7=>_0x5dfce3[_0x2dfd8a(0x385)]()['includes'](_0x5df9d7))||_0x41c67e%0x3===0x0;if(_0x165a1c&&_0x373136!==null&&_0x373136!==undefined){if(typeof _0x373136===_0x2dfd8a(0x2b4))_0x370420[_0x5dfce3]=[_0x373136,_0x373136+0x1,_0x373136+0x2];else typeof _0x373136===_0x2dfd8a(0x400)?_0x370420[_0x5dfce3]=[_0x373136,_0x373136+'_2',_0x373136+'_3']:_0x370420[_0x5dfce3]=[_0x373136];}else _0x370420[_0x5dfce3]=_0x373136;});const _0x4fc674={..._0x370420};return _0x4fc674['currentPage']=_0x194128??0x1,_0x4fc674[_0x7b48fc(0x35a)]=_0x45f8d3??0xa,_0x4fc674;}['generateSingleValueExample'](){const _0x1f02ae=a0_0x3a67c7,_0xe2d5b8={};return _0xe2d5b8[_0x1f02ae(0x196)]=![],this[_0x1f02ae(0x203)](_0xe2d5b8);}[a0_0x3a67c7(0x329)](){const _0x43fb5e=a0_0x3a67c7;return[{'title':_0x43fb5e(0x251),'description':'查询单个条件','data':this[_0x43fb5e(0x1fa)]()},{'title':_0x43fb5e(0x1f8),'description':_0x43fb5e(0x2d7),'data':this[_0x43fb5e(0x203)]()}];}['generateSDKCallCode'](_0x3f9d55,_0x5dcf10){const _0x376c20=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x5dcf10||{},_0x5bb98c=this[_0x376c20(0x1d8)](),_0x515f52={};_0x515f52[_0x376c20(0x196)]=!![];const _0x12224f=this['generateRequestExample'](_0x515f52),{currentPage:_0x464779,pageSize:_0x26ec26,..._0x37925b}=_0x12224f;if(useFullExample&&Object[_0x376c20(0x289)](_0x12224f)['length']>0x0){const _0x1a1751=Object[_0x376c20(0x289)](_0x37925b)[_0x376c20(0x31c)]>0x0;if(_0x1a1751){const _0x3571ab=this['generateSingleValueExample'](),_0x3f2a5e=_0x137399=>{const _0xe3d2f3=_0x376c20;return JSON[_0xe3d2f3(0x425)](_0x137399,null,0x2)['split']('\x0a')[_0xe3d2f3(0x295)]((_0x42532b,_0x27f0b0)=>_0x27f0b0===0x0?_0x42532b:indent+_0x42532b)['join']('\x0a');};return _0x376c20(0x3e6)+_0x3f9d55+'.'+_0x5bb98c+'('+_0x3f2a5e(_0x3571ab)+_0x376c20(0x27c)+_0x3f9d55+'.'+_0x5bb98c+'('+_0x3f2a5e(_0x12224f)+');';}else{const _0x347659=JSON[_0x376c20(0x425)](_0x12224f,null,0x2)[_0x376c20(0x1c7)]('\x0a')[_0x376c20(0x295)]((_0x8e9b1b,_0x39af75)=>_0x39af75===0x0?_0x8e9b1b:indent+_0x8e9b1b)[_0x376c20(0x414)]('\x0a');return _0x376c20(0x214)+_0x3f9d55+'.'+_0x5bb98c+'('+_0x347659+');';}}if(Object[_0x376c20(0x289)](_0x37925b)[_0x376c20(0x31c)]>0x0){const _0x45864c=Object[_0x376c20(0x289)](_0x37925b)[0x0];return _0x376c20(0x214)+_0x3f9d55+'.'+_0x5bb98c+_0x376c20(0x242)+_0x45864c+_0x376c20(0x3f9);}return _0x376c20(0x214)+_0x3f9d55+'.'+_0x5bb98c+'({\x20currentPage,\x20pageSize\x20});';}}var AGGREGATE_FUNCTIONS=[a0_0x3a67c7(0x286),a0_0x3a67c7(0x248),a0_0x3a67c7(0x3e5),a0_0x3a67c7(0x432),a0_0x3a67c7(0x281)],FILTER_OPERATORS=[a0_0x3a67c7(0x1c1),a0_0x3a67c7(0x1da),a0_0x3a67c7(0x3fc),'$gteq',a0_0x3a67c7(0x3cc),a0_0x3a67c7(0x2b2),a0_0x3a67c7(0x27b),'$contain',a0_0x3a67c7(0x33f),a0_0x3a67c7(0x370),a0_0x3a67c7(0x40f),a0_0x3a67c7(0x3d8)];class FilterOperation extends GenericOperation{constructor(_0x442a2c,_0x38f74e,_0x3323c7){super(_0x442a2c,_0x38f74e,_0x3323c7);}[a0_0x3a67c7(0x274)](){return FILTER_OPERATORS;}[a0_0x3a67c7(0x3c4)](_0x27fc38){const _0xdee9bb=a0_0x3a67c7,_0x51a911=this[_0xdee9bb(0x3f8)](_0x27fc38);if(!_0x51a911)return[];return this[_0xdee9bb(0x31d)](_0x51a911);}[a0_0x3a67c7(0x2a9)](){const _0x60524c=a0_0x3a67c7,_0x50dfd3=super[_0x60524c(0x2a9)](),_0x19a108={};_0x19a108[_0x60524c(0x1c4)]=_0x60524c(0x42a),_0x19a108[_0x60524c(0x266)]=_0x60524c(0x32c),_0x19a108[_0x60524c(0x3fe)]=![];const _0x5e771a={};_0x5e771a[_0x60524c(0x1c4)]=_0x60524c(0x362),_0x5e771a['description']='返回字段列表(字段投影)',_0x5e771a['required']=![];const _0x591c5a={};_0x591c5a['type']=_0x60524c(0x2ef),_0x591c5a[_0x60524c(0x266)]=_0x60524c(0x1cb),_0x591c5a[_0x60524c(0x3fe)]=![];const _0x376c00={};_0x376c00[_0x60524c(0x1c4)]=_0x60524c(0x1b5),_0x376c00[_0x60524c(0x266)]='当前页码',_0x376c00['required']=![],_0x376c00[_0x60524c(0x3c0)]=0x1;const _0x5d4311={};_0x5d4311[_0x60524c(0x1c4)]=_0x60524c(0x1b5),_0x5d4311[_0x60524c(0x266)]=_0x60524c(0x3a2),_0x5d4311[_0x60524c(0x3fe)]=![],_0x5d4311[_0x60524c(0x3c0)]=0xa;const _0x5a864c={..._0x50dfd3};return _0x5a864c['where']=_0x19a108,_0x5a864c[_0x60524c(0x1e8)]=_0x5e771a,_0x5a864c[_0x60524c(0x236)]=_0x591c5a,_0x5a864c['currentPage']=_0x376c00,_0x5a864c[_0x60524c(0x35a)]=_0x5d4311,_0x5a864c;}['getSystemFields'](){const _0x4cf2f5=a0_0x3a67c7,_0x1e116c=this['getRequestParams'](),_0x562250=[],_0x8aff1d=[_0x4cf2f5(0x305),_0x4cf2f5(0x1e8),_0x4cf2f5(0x236),_0x4cf2f5(0x3fa),_0x4cf2f5(0x35a)];return Object['entries'](_0x1e116c)['forEach'](([_0x40e170,_0x4fef3f])=>{const _0x4f83fd=_0x4cf2f5;if(_0x8aff1d['includes'](_0x40e170)){const _0x43af45=_0x4fef3f,_0x34d716={};_0x34d716[_0x4f83fd(0x2f0)]=_0x40e170,_0x34d716[_0x4f83fd(0x1c4)]=_0x43af45[_0x4f83fd(0x1c4)]||'Object',_0x34d716[_0x4f83fd(0x266)]=_0x43af45['description']||'-',_0x562250[_0x4f83fd(0x3cf)](_0x34d716);}}),_0x562250;}[a0_0x3a67c7(0x30e)](){const _0x137d00=a0_0x3a67c7;return this[_0x137d00(0x1a4)]['fields']||[];}[a0_0x3a67c7(0x299)](){const _0x236b49=a0_0x3a67c7;return{'systemParams':this[_0x236b49(0x1fc)](),'businessFields':this['getBusinessFields']()};}[a0_0x3a67c7(0x203)](){const _0x4bf7cc=a0_0x3a67c7,_0x3a27a0=this[_0x4bf7cc(0x1a4)][_0x4bf7cc(0x389)]||[];if(_0x3a27a0[_0x4bf7cc(0x31c)]===0x0){const _0x32fd44={};return _0x32fd44[_0x4bf7cc(0x305)]={},_0x32fd44[_0x4bf7cc(0x3fa)]=0x1,_0x32fd44['pageSize']=0x14,_0x32fd44;}const _0x2756d9={},_0x32edc0=_0x3a27a0['slice'](0x0,Math[_0x4bf7cc(0x281)](0x3,_0x3a27a0[_0x4bf7cc(0x31c)]));_0x32edc0[_0x4bf7cc(0x40a)](_0x3ceabf=>{const _0x2e6391=_0x4bf7cc,_0x314c8c=this[_0x2e6391(0x31d)](_0x3ceabf);if(_0x314c8c[_0x2e6391(0x31c)]===0x0)return;const _0x5be3e9=this[_0x2e6391(0x3d7)](_0x3ceabf,_0x314c8c),_0x4c66f8=this['generateExampleValue'](_0x3ceabf,_0x5be3e9),_0xa1e1d={};_0xa1e1d[_0x5be3e9]=_0x4c66f8,_0x2756d9[_0x3ceabf[_0x2e6391(0x2f0)]]=_0xa1e1d;});const _0x5600bb=_0x3a27a0[_0x4bf7cc(0x3ec)](0x0,Math[_0x4bf7cc(0x281)](0x5,_0x3a27a0[_0x4bf7cc(0x31c)]))[_0x4bf7cc(0x295)](_0x1d24eb=>_0x1d24eb[_0x4bf7cc(0x2f0)]),_0x1ae0ff=_0x3a27a0[0x0]?_0x3a27a0[0x0]['code']:'id',_0x486aa4={};_0x486aa4[_0x1ae0ff]='DESC';const _0x420e13={};return _0x420e13[_0x4bf7cc(0x305)]=_0x2756d9,_0x420e13[_0x4bf7cc(0x1e8)]=_0x5600bb,_0x420e13[_0x4bf7cc(0x236)]=[_0x486aa4],_0x420e13[_0x4bf7cc(0x3fa)]=0x1,_0x420e13[_0x4bf7cc(0x35a)]=0x14,_0x420e13;}['generateSDKCallCode'](_0x2d31ab,_0x337a03){const _0x4cdf75=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x337a03||{},_0x4e62a2=this[_0x4cdf75(0x1d8)](),_0x35a62c=this[_0x4cdf75(0x203)](),_0x5703c2=_0x40af7a=>{const _0x529656=_0x4cdf75;return JSON[_0x529656(0x425)](_0x40af7a,null,0x2)[_0x529656(0x1c7)]('\x0a')[_0x529656(0x295)]((_0x56414d,_0x1edbfe)=>_0x1edbfe===0x0?_0x56414d:indent+_0x56414d)['join']('\x0a');};if(useFullExample){const _0x594296=this['context'][_0x4cdf75(0x389)]||[],_0x376faf={'where':_0x594296[0x0]?{[_0x594296[0x0]['code']]:{'$eq':this[_0x4cdf75(0x3df)](_0x594296[0x0],_0x4cdf75(0x1c1))}}:{},'select':_0x594296[_0x4cdf75(0x3ec)](0x0,0x3)['map'](_0x14e744=>_0x14e744[_0x4cdf75(0x2f0)]),'currentPage':0x1,'pageSize':0x14};let _0x5df45b='';if(_0x594296[_0x4cdf75(0x31c)]>=0x3){const _0x325d4c={};_0x325d4c[_0x4cdf75(0x40f)]=[];const _0x2d24e0=_0x325d4c,_0x5abc49=[];if(_0x594296[_0x4cdf75(0x31c)]>0x0){const _0x14ab99=_0x594296['find'](_0x34607f=>{const _0x4baac6=_0x4cdf75,_0xb2ca1b=_0x34607f[_0x4baac6(0x3a8)]();return[_0x4baac6(0x2de),_0x4baac6(0x427),_0x4baac6(0x20c),_0x4baac6(0x332),_0x4baac6(0x270),_0x4baac6(0x3e3)][_0x4baac6(0x1d3)](_0xb2ca1b);});if(_0x14ab99){const _0x4b9827={};_0x4b9827['$gte']=0x0,_0x4b9827[_0x4cdf75(0x3cc)]=0x64;const _0x1cf4b2={[_0x14ab99[_0x4cdf75(0x2f0)]]:_0x4b9827};_0x5abc49[_0x4cdf75(0x3cf)](_0x1cf4b2);}}if(_0x594296[_0x4cdf75(0x31c)]>0x1){const _0x17bf8c=_0x594296['find'](_0x32e76e=>{const _0xc308d=_0x4cdf75,_0x2d27be=_0x32e76e['getDbTypeForOperation']();return[_0xc308d(0x3f6),_0xc308d(0x25c),'VARCHAR',_0xc308d(0x260),'LONGTEXT'][_0xc308d(0x1d3)](_0x2d27be);});if(_0x17bf8c){const _0x28e372={};_0x28e372['$contain']=_0x4cdf75(0x2a3);const _0x4ef995={[_0x17bf8c['code']]:_0x28e372};_0x5abc49[_0x4cdf75(0x3cf)](_0x4ef995);}}if(_0x5abc49[_0x4cdf75(0x31c)]>0x0){_0x2d24e0[_0x4cdf75(0x40f)]=_0x5abc49;const _0x39a79b={'where':_0x2d24e0,'select':_0x594296[_0x4cdf75(0x3ec)](0x0,0x4)[_0x4cdf75(0x295)](_0x3dc03a=>_0x3dc03a[_0x4cdf75(0x2f0)]),'orderBy':[{[_0x594296[0x0][_0x4cdf75(0x2f0)]]:_0x4cdf75(0x300)}],'currentPage':0x1,'pageSize':0x14};_0x5df45b=_0x4cdf75(0x212)+_0x2d31ab+'.'+_0x4e62a2+'('+_0x5703c2(_0x39a79b)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x2d31ab+'.'+_0x4e62a2+'('+_0x5703c2(_0x376faf)+');'+_0x5df45b;}const _0x1f9733=JSON[_0x4cdf75(0x425)](_0x35a62c,null,0x2)[_0x4cdf75(0x1c7)]('\x0a')[_0x4cdf75(0x295)]((_0x21d3a4,_0x283d76)=>_0x283d76===0x0?_0x21d3a4:indent+_0x21d3a4)[_0x4cdf75(0x414)]('\x0a');return _0x4cdf75(0x214)+_0x2d31ab+'.'+_0x4e62a2+'('+_0x1f9733+');';}[a0_0x3a67c7(0x31d)](_0x103603){const _0x1043ba=a0_0x3a67c7,_0x52d315=_0x103603['getDbTypeForOperation'](),_0x1ed166=[];if([_0x1043ba(0x2de),_0x1043ba(0x427),'BIGINT',_0x1043ba(0x2d3)][_0x1043ba(0x1d3)](_0x52d315)||[_0x1043ba(0x332),_0x1043ba(0x270),'SMALLINT','DOUBLE',_0x1043ba(0x1ba)][_0x1043ba(0x1d3)](_0x52d315))_0x1ed166[_0x1043ba(0x3cf)](_0x1043ba(0x1c1),_0x1043ba(0x1da),_0x1043ba(0x3fc),'$lte',_0x1043ba(0x338),'$lteq',_0x1043ba(0x27b));else{if([_0x1043ba(0x3f6),_0x1043ba(0x25c),_0x1043ba(0x3c7)][_0x1043ba(0x1d3)](_0x52d315)||[_0x1043ba(0x260),_0x1043ba(0x1f2)]['includes'](_0x52d315))_0x1ed166[_0x1043ba(0x3cf)](_0x1043ba(0x1c1),_0x1043ba(0x1da),_0x1043ba(0x27b),_0x1043ba(0x3a6),'$startWith',_0x1043ba(0x370));else{if(['DATE',_0x1043ba(0x241),_0x1043ba(0x30c)][_0x1043ba(0x1d3)](_0x52d315)||[_0x1043ba(0x3a5)][_0x1043ba(0x1d3)](_0x52d315))_0x1ed166['push']('$eq',_0x1043ba(0x1da),_0x1043ba(0x3fc),'$lte',_0x1043ba(0x338),_0x1043ba(0x2b2));else[_0x1043ba(0x1d2),_0x1043ba(0x304),_0x1043ba(0x22f)][_0x1043ba(0x1d3)](_0x52d315)?_0x1ed166[_0x1043ba(0x3cf)](_0x1043ba(0x1c1),_0x1043ba(0x1da)):_0x1ed166[_0x1043ba(0x3cf)](_0x1043ba(0x1c1),_0x1043ba(0x1da));}}return _0x1ed166;}[a0_0x3a67c7(0x3d7)](_0x53011a,_0x513373){const _0x2da55c=a0_0x3a67c7,_0x4ed0ee=_0x53011a[_0x2da55c(0x3a8)]();if([_0x2da55c(0x2de),_0x2da55c(0x427),_0x2da55c(0x20c),_0x2da55c(0x2d3)][_0x2da55c(0x1d3)](_0x4ed0ee)||[_0x2da55c(0x332),_0x2da55c(0x270),_0x2da55c(0x3e3),_0x2da55c(0x39a),_0x2da55c(0x1ba)][_0x2da55c(0x1d3)](_0x4ed0ee))return _0x513373[_0x2da55c(0x1d3)]('$gte')?_0x2da55c(0x3fc):'$eq';if([_0x2da55c(0x3f6),_0x2da55c(0x25c),_0x2da55c(0x3c7)][_0x2da55c(0x1d3)](_0x4ed0ee)||[_0x2da55c(0x260),_0x2da55c(0x1f2)]['includes'](_0x4ed0ee))return _0x513373[_0x2da55c(0x1d3)](_0x2da55c(0x3a6))?'$contain':'$eq';if(['DATE',_0x2da55c(0x241),_0x2da55c(0x30c),_0x2da55c(0x3a5)][_0x2da55c(0x1d3)](_0x4ed0ee))return _0x513373['includes'](_0x2da55c(0x3fc))?_0x2da55c(0x3fc):_0x2da55c(0x1c1);return'$eq';}[a0_0x3a67c7(0x3df)](_0x4b049e,_0x22de63){const _0x1b8c5d=a0_0x3a67c7,_0x36eb38=_0x4b049e[_0x1b8c5d(0x3a8)](),_0x26b3cd=_0x4b049e[_0x1b8c5d(0x419)]();if(_0x26b3cd&&_0x26b3cd[_0x1b8c5d(0x31c)]>0x0){if(_0x22de63===_0x1b8c5d(0x27b))return _0x26b3cd[_0x1b8c5d(0x3ec)](0x0,0x2)[_0x1b8c5d(0x295)](_0x34d238=>_0x34d238[_0x1b8c5d(0x1a1)]);return _0x26b3cd[0x0]['value'];}if([_0x1b8c5d(0x2de),'INTEGER',_0x1b8c5d(0x20c),_0x1b8c5d(0x2d3)][_0x1b8c5d(0x1d3)](_0x36eb38)||[_0x1b8c5d(0x332),_0x1b8c5d(0x270),_0x1b8c5d(0x3e3),_0x1b8c5d(0x39a),_0x1b8c5d(0x1ba)][_0x1b8c5d(0x1d3)](_0x36eb38)){if(_0x22de63===_0x1b8c5d(0x27b))return[0x1,0x2,0x3];if(_0x22de63===_0x1b8c5d(0x3fc)||_0x22de63==='$gteq')return 0x0;if(_0x22de63===_0x1b8c5d(0x3cc)||_0x22de63===_0x1b8c5d(0x2b2))return 0x64;return 0x1;}if(['STRING',_0x1b8c5d(0x25c),_0x1b8c5d(0x3c7)][_0x1b8c5d(0x1d3)](_0x36eb38)||['CHAR',_0x1b8c5d(0x1f2)][_0x1b8c5d(0x1d3)](_0x36eb38)){if(_0x22de63==='$in')return[_0x1b8c5d(0x31f),_0x1b8c5d(0x423)];if(_0x22de63===_0x1b8c5d(0x3a6))return _0x1b8c5d(0x2a3);if(_0x22de63===_0x1b8c5d(0x33f))return _0x1b8c5d(0x363);if(_0x22de63===_0x1b8c5d(0x370))return _0x1b8c5d(0x3fd);return'value';}if([_0x1b8c5d(0x2e8),_0x1b8c5d(0x241),'TIMESTAMP',_0x1b8c5d(0x3a5)][_0x1b8c5d(0x1d3)](_0x36eb38)){if(_0x22de63===_0x1b8c5d(0x3fc)||_0x22de63===_0x1b8c5d(0x338))return'2024-01-01';if(_0x22de63===_0x1b8c5d(0x3cc)||_0x22de63===_0x1b8c5d(0x2b2))return _0x1b8c5d(0x394);return _0x1b8c5d(0x2bb);}if([_0x1b8c5d(0x1d2),_0x1b8c5d(0x304),'BIT']['includes'](_0x36eb38))return!![];return _0x22de63===_0x1b8c5d(0x27b)?[_0x1b8c5d(0x31f),_0x1b8c5d(0x423)]:_0x1b8c5d(0x1a1);}[a0_0x3a67c7(0x411)](){const _0x1a4622=a0_0x3a67c7,_0x2ab402=super['getRequestParams'](),_0x1ac663=Object[_0x1a4622(0x240)](_0x2ab402)[_0x1a4622(0x1b6)](([_0x10dfbe])=>_0x10dfbe!==_0x1a4622(0x3fa)&&_0x10dfbe!=='pageSize')[_0x1a4622(0x295)](([_0x52c506,_0x453c07])=>{const _0xe209aa=_0x1a4622,_0x7a9144=_0x453c07,_0x5be0c9={};return _0x5be0c9[_0xe209aa(0x18e)]=_0x52c506,_0x5be0c9[_0xe209aa(0x1c4)]=_0x7a9144['type']||_0xe209aa(0x2c4),_0x5be0c9['description']=_0x7a9144[_0xe209aa(0x266)]||'-',_0x5be0c9[_0xe209aa(0x3fe)]=_0x7a9144['required'],_0x5be0c9;}),_0x6b7641={};return _0x6b7641[_0x1a4622(0x266)]=_0x1a4622(0x40e),_0x6b7641[_0x1a4622(0x2f8)]=_0x1ac663,_0x6b7641;}}class ExcelExportOperation extends GenericOperation{[a0_0x3a67c7(0x2a9)](){const _0x91be6f=a0_0x3a67c7,_0x19c4ba=super[_0x91be6f(0x2a9)]();if(Object[_0x91be6f(0x289)](_0x19c4ba)[_0x91be6f(0x31c)]===0x0){const _0x470cf9={};this[_0x91be6f(0x1a4)][_0x91be6f(0x389)][_0x91be6f(0x40a)](_0x1a79f8=>{const _0x57e65b=_0x91be6f;if(_0x1a79f8){const _0x14b2af=_0x1a79f8[_0x57e65b(0x2f0)],_0x573737=_0x1a79f8[_0x57e65b(0x3a8)](),_0x43f429={};_0x43f429[_0x57e65b(0x1c4)]=_0x573737||_0x57e65b(0x25c),_0x43f429[_0x57e65b(0x380)]=_0x1a79f8[_0x57e65b(0x380)],_0x43f429[_0x57e65b(0x266)]=_0x1a79f8[_0x57e65b(0x266)]||_0x1a79f8['name'],_0x470cf9[_0x14b2af]=_0x43f429;}});const _0x2af87c={};_0x2af87c['type']=_0x91be6f(0x30b),_0x2af87c['description']=_0x91be6f(0x32a),_0x470cf9[_0x91be6f(0x3fa)]=_0x2af87c;const _0x148c3b={};return _0x148c3b[_0x91be6f(0x1c4)]=_0x91be6f(0x30b),_0x148c3b['description']=_0x91be6f(0x209),_0x470cf9[_0x91be6f(0x35a)]=_0x148c3b,_0x470cf9;}return _0x19c4ba;}[a0_0x3a67c7(0x203)](){const _0xe8eb21=a0_0x3a67c7,_0x327e74=super[_0xe8eb21(0x203)]();if(Object[_0xe8eb21(0x289)](_0x327e74)[_0xe8eb21(0x31c)]===0x0){const _0x574747={};return _0x574747[_0xe8eb21(0x3fa)]=0x1,_0x574747[_0xe8eb21(0x35a)]=0x64,_0x574747;}const _0x3c65e6={..._0x327e74};return _0x3c65e6[_0xe8eb21(0x3fa)]=_0x327e74[_0xe8eb21(0x3fa)]??0x1,_0x3c65e6[_0xe8eb21(0x35a)]=_0x327e74[_0xe8eb21(0x35a)]??0x64,_0x3c65e6;}[a0_0x3a67c7(0x35f)](){const _0x173b6f=a0_0x3a67c7,_0x29c76f={};return _0x29c76f[_0x173b6f(0x28c)]=!![],_0x29c76f['msg']='',_0x29c76f['errorMsg']='',_0x29c76f[_0x173b6f(0x36a)]=_0x173b6f(0x402),_0x29c76f['data']=_0x173b6f(0x2c3),_0x29c76f[_0x173b6f(0x2f8)]=null,_0x29c76f;}[a0_0x3a67c7(0x1b7)](_0x39d51a,_0x1c0df7){const _0x51ec36=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1c0df7||{},_0x2954a6=this[_0x51ec36(0x1d8)]();if(useFullExample){const _0xda10b1=this[_0x51ec36(0x203)](),{currentPage:_0x372030,pageSize:_0x455dd7,..._0xf76a41}=_0xda10b1,_0x53aadc=Object[_0x51ec36(0x289)](_0xf76a41)[_0x51ec36(0x31c)]>0x0;if(_0x53aadc){const _0x478984=_0x1722e9=>{const _0xa6b1c8=_0x51ec36;return JSON[_0xa6b1c8(0x425)](_0x1722e9,null,0x2)[_0xa6b1c8(0x1c7)]('\x0a')[_0xa6b1c8(0x295)]((_0x3444ca,_0x4195dd)=>_0x4195dd===0x0?_0x3444ca:indent+_0x3444ca)[_0xa6b1c8(0x414)]('\x0a');};return _0x51ec36(0x344)+_0x39d51a+'.'+_0x2954a6+_0x51ec36(0x1ca)+_0x39d51a+'.'+_0x2954a6+'('+_0x478984(_0xda10b1)+');';}else{const _0x21e03f=_0x316162=>{const _0x3520f5=_0x51ec36;return JSON['stringify'](_0x316162,null,0x2)[_0x3520f5(0x1c7)]('\x0a')[_0x3520f5(0x295)]((_0x58e3bb,_0xb416bb)=>_0xb416bb===0x0?_0x58e3bb:indent+_0x58e3bb)[_0x3520f5(0x414)]('\x0a');},_0x4bdb9a={};return _0x4bdb9a['currentPage']=0x1,_0x4bdb9a[_0x51ec36(0x35a)]=0x64,_0x51ec36(0x344)+_0x39d51a+'.'+_0x2954a6+'();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x39d51a+'.'+_0x2954a6+'('+_0x21e03f(_0x4bdb9a)+');';}}return _0x51ec36(0x2cd)+_0x39d51a+'.'+_0x2954a6+_0x51ec36(0x41a);}['generateUsageExample'](_0x400236){const _0x39f94f=a0_0x3a67c7,_0x286f4e=this[_0x39f94f(0x1d8)](),_0x28edf1=_0x400236||'yourModel',_0x2fa607=_0x39f94f(0x2be)+_0x28edf1+'.'+_0x286f4e+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x1ff00c=_0x39f94f(0x1b3)+_0x28edf1+'.'+_0x286f4e+'();\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}',_0x262314={};return _0x262314[_0x39f94f(0x1f9)]=_0x2fa607,_0x262314[_0x39f94f(0x36a)]=_0x1ff00c,_0x262314;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x11595d=a0_0x3a67c7;return this[_0x11595d(0x220)]();}[a0_0x3a67c7(0x2a9)](){const _0x534171=a0_0x3a67c7,_0x1efbe4=this[_0x534171(0x1e5)](),_0x172420={};_0x172420[_0x534171(0x1c4)]='NUMBER',_0x172420['description']=_0x534171(0x29a),_0x172420[_0x534171(0x3fe)]=!![];const _0x49ef81={};_0x49ef81[_0x534171(0x1c4)]=_0x534171(0x3ab),_0x49ef81[_0x534171(0x266)]=_0x534171(0x1c9),_0x49ef81[_0x534171(0x3fe)]=!![],_0x49ef81[_0x534171(0x1ef)]=_0x1efbe4;const _0x8d2b28={};return _0x8d2b28['id']=_0x172420,_0x8d2b28['data']=_0x49ef81,_0x8d2b28;}['getUpdatableFields'](){const _0x2c3d91=a0_0x3a67c7;return this[_0x2c3d91(0x1e5)]();}[a0_0x3a67c7(0x3c8)](){const _0x3ceb7c=a0_0x3a67c7,_0x5219d0=this[_0x3ceb7c(0x1a4)][_0x3ceb7c(0x389)]||[],_0xdc6373=this[_0x3ceb7c(0x1a4)][_0x3ceb7c(0x1ea)],_0x173c0c=_0x5219d0[_0x3ceb7c(0x323)](_0x99c8d2=>_0x99c8d2[_0x3ceb7c(0x32e)]()||_0x99c8d2[_0x3ceb7c(0x2f0)]===_0xdc6373),_0x262c99=_0x5219d0['filter'](_0x2124f8=>{const _0x6fdc5=_0x3ceb7c;if(_0x2124f8['deleted'])return![];if(_0x2124f8===_0x173c0c||_0x2124f8[_0x6fdc5(0x32e)]())return![];if(_0x2124f8[_0x6fdc5(0x1ed)]()||_0x2124f8[_0x6fdc5(0x39c)]())return![];if(_0x2124f8[_0x6fdc5(0x1af)]())return![];return!![];});return _0x173c0c?[_0x173c0c,..._0x262c99]:_0x262c99;}[a0_0x3a67c7(0x383)](){const _0x5472ef=a0_0x3a67c7,_0x169a23=this[_0x5472ef(0x3c8)](),_0x255622=this[_0x5472ef(0x1a4)][_0x5472ef(0x1ea)],_0x50458c=_0x169a23[_0x5472ef(0x295)](_0xcb7f90=>{const _0x4fa9cf=_0x5472ef,_0x4383c3=_0xcb7f90[_0x4fa9cf(0x32e)]()||_0xcb7f90[_0x4fa9cf(0x2f0)]===_0x255622,_0x482fbd=_0x4383c3?'id':_0xcb7f90[_0x4fa9cf(0x2f0)],_0x392781={};return _0x392781[_0x4fa9cf(0x18e)]=_0x482fbd,_0x392781[_0x4fa9cf(0x1c4)]=_0xcb7f90[_0x4fa9cf(0x1c4)],_0x392781[_0x4fa9cf(0x266)]=_0x4383c3?_0x4fa9cf(0x410)+(_0x255622&&_0x255622!==_0xcb7f90[_0x4fa9cf(0x2f0)]?_0x4fa9cf(0x234)+_0xcb7f90[_0x4fa9cf(0x2f0)]+')':''):_0xcb7f90[_0x4fa9cf(0x266)]||_0xcb7f90[_0x4fa9cf(0x18e)],_0x392781;}),_0x3526d4={};return _0x3526d4[_0x5472ef(0x266)]='HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。',_0x3526d4[_0x5472ef(0x2f8)]=_0x50458c,_0x3526d4;}[a0_0x3a67c7(0x411)](){const _0x3db862=a0_0x3a67c7,_0x399803=this[_0x3db862(0x1e5)](),_0xde450b=Object[_0x3db862(0x240)](_0x399803)[_0x3db862(0x295)](([_0x2fdda9,_0x336308])=>{const _0x530094=_0x3db862,_0x14b430=_0x336308,_0x216489={};return _0x216489[_0x530094(0x18e)]=_0x2fdda9,_0x216489[_0x530094(0x1c4)]=_0x14b430[_0x530094(0x1c4)]||_0x530094(0x2c4),_0x216489['description']=_0x14b430['description']||'-',_0x216489;}),_0x59223c={};return _0x59223c[_0x3db862(0x266)]='update\x20接口接受两个参数:\x0a\x0a'+'**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a'+_0x3db862(0x244)+_0x3db862(0x401)+_0x3db862(0x1d0)+_0x3db862(0x293),_0x59223c[_0x3db862(0x2f8)]=_0xde450b,_0x59223c;}[a0_0x3a67c7(0x203)](){const _0x144b6c=a0_0x3a67c7,_0xeda527=this[_0x144b6c(0x1e5)](),_0x1ef9a2={};Object[_0x144b6c(0x240)](_0xeda527)[_0x144b6c(0x40a)](([_0x301945,_0x50d4e9])=>{const _0x52ca4f=_0x144b6c,_0x4b7ec1=_0x50d4e9;let _0x19c245;if(typeof _0x4b7ec1['type']==='string')_0x19c245=_0x4b7ec1[_0x52ca4f(0x1c4)];else _0x4b7ec1[_0x52ca4f(0x1c4)]&&typeof _0x4b7ec1['type']===_0x52ca4f(0x3ab)?_0x19c245=_0x4b7ec1[_0x52ca4f(0x1c4)]['type']||'TEXT':_0x19c245=_0x52ca4f(0x25c);const _0x2c1184=_0x4b7ec1[_0x52ca4f(0x266)],_0x4f0295=this[_0x52ca4f(0x3f8)](_0x301945);_0x1ef9a2[_0x301945]=this[_0x52ca4f(0x249)](_0x301945,_0x19c245,_0x4f0295?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x2c1184||_0x4f0295?.[_0x52ca4f(0x266)]||_0x4f0295?.['name']});});const _0x11c417={};return _0x11c417['id']=0x1,_0x11c417[_0x144b6c(0x3cb)]=_0x1ef9a2,_0x11c417;}[a0_0x3a67c7(0x329)](){const _0x4f689e=a0_0x3a67c7,_0x512f05=this['generateRequestExample'](),_0x3a387f={};return _0x3a387f[_0x4f689e(0x192)]=_0x4f689e(0x312),_0x3a387f[_0x4f689e(0x266)]='SDK\x20调用时传递两个参数:\x0a'+_0x4f689e(0x3af)+_0x4f689e(0x2d9),_0x3a387f[_0x4f689e(0x3cb)]=_0x512f05,[_0x3a387f,{'title':_0x4f689e(0x2da),'description':_0x4f689e(0x2d4)+_0x4f689e(0x2ad)+'-\x20其他要更新的字段直接平铺在同一层级','data':this['generateHTTPRequestExample']()}];}[a0_0x3a67c7(0x3f5)](){const _0xd649=a0_0x3a67c7,_0x182ffa=this['getUpdateFields'](),_0x25b6ed={};_0x25b6ed['id']=0x1;const _0x36cedb=_0x25b6ed;return Object[_0xd649(0x240)](_0x182ffa)['forEach'](([_0x26128b,_0x4c9d15])=>{const _0x2d1ff9=_0xd649,_0xd9bbaf=_0x4c9d15;let _0x554c9d;if(typeof _0xd9bbaf[_0x2d1ff9(0x1c4)]===_0x2d1ff9(0x400))_0x554c9d=_0xd9bbaf['type'];else _0xd9bbaf[_0x2d1ff9(0x1c4)]&&typeof _0xd9bbaf[_0x2d1ff9(0x1c4)]==='object'?_0x554c9d=_0xd9bbaf[_0x2d1ff9(0x1c4)][_0x2d1ff9(0x1c4)]||_0x2d1ff9(0x25c):_0x554c9d=_0x2d1ff9(0x25c);const _0x49816b=_0xd9bbaf[_0x2d1ff9(0x266)],_0x1ebc0b=this[_0x2d1ff9(0x3f8)](_0x26128b);if(_0x1ebc0b?.['isPrimaryKey']())return;_0x36cedb[_0x26128b]=this['generateFieldExample'](_0x26128b,_0x554c9d,_0x1ebc0b?.[_0x2d1ff9(0x3a8)](),{'isPrimaryKey':![],'description':_0x49816b||_0x1ebc0b?.['description']||_0x1ebc0b?.[_0x2d1ff9(0x18e)]});}),_0x36cedb;}[a0_0x3a67c7(0x3a4)](){const _0x4ccd25=a0_0x3a67c7;return this[_0x4ccd25(0x3f5)]();}[a0_0x3a67c7(0x1b7)](_0xb6ed5d,_0x548477){const _0x919c91=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x548477||{},_0x49b5b5=this[_0x919c91(0x1d8)]();if(useFullExample){const _0x43d711=this[_0x919c91(0x203)](),_0x384bf4=JSON['stringify'](_0x43d711[_0x919c91(0x3cb)],null,0x2)['split']('\x0a')[_0x919c91(0x295)]((_0x230f08,_0x3281ef)=>_0x3281ef===0x0?_0x230f08:indent+_0x230f08)[_0x919c91(0x414)]('\x0a');return _0x919c91(0x214)+_0xb6ed5d+'.'+_0x49b5b5+'('+_0x43d711['id']+',\x20'+_0x384bf4+');';}return _0x919c91(0x214)+_0xb6ed5d+'.'+_0x49b5b5+_0x919c91(0x39f);}}class AggregateOperation extends GenericOperation{constructor(_0x193f2a,_0x57f047,_0x93374c){super(_0x193f2a,_0x57f047,_0x93374c);}[a0_0x3a67c7(0x2d0)](_0x5e1ad6){const _0x34be3c=a0_0x3a67c7;return _0x5e1ad6[_0x34be3c(0x396)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x34be3c(0x3ba)]()[_0x34be3c(0x186)]();}[a0_0x3a67c7(0x2ed)](){return AGGREGATE_FUNCTIONS;}[a0_0x3a67c7(0x2a9)](){const _0x54d31c=a0_0x3a67c7,_0x36df98=super[_0x54d31c(0x2a9)](),_0x324627={};_0x324627['type']=_0x54d31c(0x362),_0x324627['description']=_0x54d31c(0x3c9),_0x324627[_0x54d31c(0x3fe)]=![];const _0x34b7d6={};_0x34b7d6[_0x54d31c(0x1c4)]=_0x54d31c(0x42a),_0x34b7d6[_0x54d31c(0x266)]=_0x54d31c(0x3d9),_0x34b7d6[_0x54d31c(0x3fe)]=![];const _0x32172b={};_0x32172b[_0x54d31c(0x1c4)]='String[]',_0x32172b[_0x54d31c(0x266)]=_0x54d31c(0x3ff),_0x32172b[_0x54d31c(0x3fe)]=![];const _0x1374b6={};_0x1374b6[_0x54d31c(0x1c4)]='Array',_0x1374b6[_0x54d31c(0x266)]=_0x54d31c(0x2e3),_0x1374b6[_0x54d31c(0x3fe)]=![];const _0xf78866={};_0xf78866['type']=_0x54d31c(0x328),_0xf78866['description']=_0x54d31c(0x33d),_0xf78866[_0x54d31c(0x3fe)]=![];const _0x15528c={};_0x15528c['type']=_0x54d31c(0x328),_0x15528c['description']=_0x54d31c(0x2e6),_0x15528c[_0x54d31c(0x3fe)]=![];const _0x3291ba={};_0x3291ba[_0x54d31c(0x1c4)]=_0x54d31c(0x1b5),_0x3291ba[_0x54d31c(0x266)]='当前页码(从\x201\x20开始,默认:\x201)',_0x3291ba['required']=![];const _0x57d67b={};_0x57d67b[_0x54d31c(0x1c4)]='Number',_0x57d67b[_0x54d31c(0x266)]='每页数量(默认:\x2020)',_0x57d67b[_0x54d31c(0x3fe)]=![];const _0x38c4d1={..._0x36df98};return _0x38c4d1[_0x54d31c(0x1e8)]=_0x324627,_0x38c4d1['where']=_0x34b7d6,_0x38c4d1['groupBy']=_0x32172b,_0x38c4d1['aggregate']=_0x1374b6,_0x38c4d1[_0x54d31c(0x359)]=_0xf78866,_0x38c4d1[_0x54d31c(0x236)]=_0x15528c,_0x38c4d1['currentPage']=_0x3291ba,_0x38c4d1[_0x54d31c(0x35a)]=_0x57d67b,_0x38c4d1;}[a0_0x3a67c7(0x1fc)](){const _0xf37d2d=a0_0x3a67c7,_0x504585={};_0x504585[_0xf37d2d(0x2f0)]='select',_0x504585[_0xf37d2d(0x1c4)]=_0xf37d2d(0x362),_0x504585[_0xf37d2d(0x266)]=_0xf37d2d(0x3c9);const _0x45f78f={};_0x45f78f['code']=_0xf37d2d(0x305),_0x45f78f[_0xf37d2d(0x1c4)]=_0xf37d2d(0x42a),_0x45f78f[_0xf37d2d(0x266)]=_0xf37d2d(0x3d9);const _0x3d2095={};_0x3d2095[_0xf37d2d(0x2f0)]=_0xf37d2d(0x21c),_0x3d2095[_0xf37d2d(0x1c4)]=_0xf37d2d(0x362),_0x3d2095[_0xf37d2d(0x266)]='分组字段列表';const _0x1ed146={};_0x1ed146['code']=_0xf37d2d(0x235),_0x1ed146[_0xf37d2d(0x1c4)]=_0xf37d2d(0x328),_0x1ed146[_0xf37d2d(0x266)]=_0xf37d2d(0x184);const _0x15f2fb={};_0x15f2fb[_0xf37d2d(0x2f0)]=_0xf37d2d(0x359),_0x15f2fb[_0xf37d2d(0x1c4)]='Array',_0x15f2fb[_0xf37d2d(0x266)]=_0xf37d2d(0x33d);const _0x4df377={};_0x4df377[_0xf37d2d(0x2f0)]='orderBy',_0x4df377[_0xf37d2d(0x1c4)]=_0xf37d2d(0x328),_0x4df377['description']=_0xf37d2d(0x2e6);const _0x153d18={};_0x153d18['code']=_0xf37d2d(0x3fa),_0x153d18[_0xf37d2d(0x1c4)]=_0xf37d2d(0x1b5),_0x153d18[_0xf37d2d(0x266)]='当前页码(从\x201\x20开始,默认:\x201)';const _0x4f03c7={};return _0x4f03c7[_0xf37d2d(0x2f0)]=_0xf37d2d(0x35a),_0x4f03c7['type']=_0xf37d2d(0x1b5),_0x4f03c7[_0xf37d2d(0x266)]=_0xf37d2d(0x1fe),[_0x504585,_0x45f78f,_0x3d2095,_0x1ed146,_0x15f2fb,_0x4df377,_0x153d18,_0x4f03c7];}['generateRequestExample'](){const _0x39afb2=a0_0x3a67c7,_0x3d10b5=this['context']['fields']||[];if(_0x3d10b5[_0x39afb2(0x31c)]===0x0){const _0x13b6b4={};return _0x13b6b4[_0x39afb2(0x305)]={},_0x13b6b4[_0x39afb2(0x21c)]=[],_0x13b6b4[_0x39afb2(0x235)]=[],_0x13b6b4;}const _0x1bb54f={},_0x55e615=_0x3d10b5[_0x39afb2(0x3ec)](0x0,Math['min'](0x3,_0x3d10b5[_0x39afb2(0x31c)]));_0x55e615['forEach'](_0xe0276=>{const _0x3222aa=_0x39afb2,_0x3f8af8=this[_0x3222aa(0x31d)](_0xe0276);if(_0x3f8af8[_0x3222aa(0x31c)]===0x0)return;const _0x260748=this[_0x3222aa(0x3d7)](_0xe0276,_0x3f8af8),_0x32fd01=this[_0x3222aa(0x3df)](_0xe0276,_0x260748),_0x3b7bb1={};_0x3b7bb1[_0x260748]=_0x32fd01,_0x1bb54f[_0xe0276[_0x3222aa(0x2f0)]]=_0x3b7bb1;});const _0x3f36cf=_0x3d10b5['slice'](0x0,Math['min'](0x2,_0x3d10b5[_0x39afb2(0x31c)]))[_0x39afb2(0x295)](_0x50798b=>_0x50798b[_0x39afb2(0x2f0)]),_0x30ed06=[],_0x813224=_0x3d10b5['filter'](_0x314fb9=>this['isNumericField'](_0x314fb9));if(_0x813224[_0x39afb2(0x31c)]>0x0){const _0x1842a3=_0x813224[0x0],_0x11036c=_0x1842a3[_0x39afb2(0x2f0)],_0x2622bf={};_0x2622bf[_0x39afb2(0x1c4)]=_0x39afb2(0x286),_0x2622bf['column']=_0x11036c,_0x2622bf[_0x39afb2(0x30a)]=_0x11036c+_0x39afb2(0x3e0),_0x2622bf[_0x39afb2(0x1aa)]=![],_0x2622bf[_0x39afb2(0x1a0)]=!![],_0x2622bf[_0x39afb2(0x315)]=0x2,_0x30ed06[_0x39afb2(0x3cf)](_0x2622bf);const _0x2265a4={};_0x2265a4[_0x39afb2(0x1c4)]=_0x39afb2(0x3e5),_0x2265a4[_0x39afb2(0x267)]=_0x11036c,_0x2265a4[_0x39afb2(0x30a)]=_0x11036c+_0x39afb2(0x231),_0x2265a4[_0x39afb2(0x1aa)]=![],_0x2265a4[_0x39afb2(0x1a0)]=!![],_0x2265a4[_0x39afb2(0x315)]=0x2,_0x30ed06['push'](_0x2265a4);const _0x1e043a={};_0x1e043a[_0x39afb2(0x1c4)]=_0x39afb2(0x432),_0x1e043a[_0x39afb2(0x267)]=_0x11036c,_0x1e043a[_0x39afb2(0x30a)]=_0x11036c+_0x39afb2(0x20b),_0x1e043a[_0x39afb2(0x1aa)]=![],_0x1e043a['round']=!![],_0x1e043a[_0x39afb2(0x315)]=0x2,_0x30ed06[_0x39afb2(0x3cf)](_0x1e043a);const _0x2b4731={};_0x2b4731['type']=_0x39afb2(0x281),_0x2b4731[_0x39afb2(0x267)]=_0x11036c,_0x2b4731[_0x39afb2(0x30a)]=_0x11036c+_0x39afb2(0x298),_0x2b4731['distinct']=![],_0x2b4731[_0x39afb2(0x1a0)]=!![],_0x2b4731[_0x39afb2(0x315)]=0x2,_0x30ed06[_0x39afb2(0x3cf)](_0x2b4731);}else{if(_0x3d10b5[_0x39afb2(0x31c)]>0x0){const _0x4559d9=_0x3d10b5[0x0],_0x458452=_0x4559d9[_0x39afb2(0x2f0)],_0x2a59d0={};_0x2a59d0[_0x39afb2(0x1c4)]='count',_0x2a59d0[_0x39afb2(0x267)]=_0x458452,_0x2a59d0[_0x39afb2(0x30a)]=_0x39afb2(0x3bb),_0x2a59d0[_0x39afb2(0x1aa)]=!![],_0x30ed06['push'](_0x2a59d0);}}const _0x3ebb43=[];if(_0x3d10b5[_0x39afb2(0x31c)]>0x0){const _0x3b8239=_0x3d10b5[0x0][_0x39afb2(0x2f0)],_0x50cb5c={};_0x50cb5c[_0x3b8239]=_0x39afb2(0x25a),_0x3ebb43[_0x39afb2(0x3cf)](_0x50cb5c);}const _0x2f8000=[..._0x3f36cf,..._0x30ed06[_0x39afb2(0x295)](_0x3f8e6d=>_0x3f8e6d['alias'])],_0x554b46=[];if(_0x30ed06['length']>0x0){const _0x42ee1b={};_0x42ee1b[_0x39afb2(0x3fc)]=0x0;const _0x29125f={};_0x29125f[_0x39afb2(0x223)]=_0x30ed06[0x0][_0x39afb2(0x30a)],_0x29125f['condition']=_0x42ee1b,_0x554b46[_0x39afb2(0x3cf)](_0x29125f);}const _0x4b1023={};return _0x4b1023[_0x39afb2(0x1e8)]=_0x2f8000,_0x4b1023[_0x39afb2(0x305)]=_0x1bb54f,_0x4b1023[_0x39afb2(0x21c)]=_0x3f36cf,_0x4b1023['aggregate']=_0x30ed06,_0x4b1023['having']=_0x554b46[_0x39afb2(0x31c)]>0x0?_0x554b46:undefined,_0x4b1023[_0x39afb2(0x236)]=_0x3ebb43,_0x4b1023['currentPage']=0x1,_0x4b1023[_0x39afb2(0x35a)]=0x14,_0x4b1023;}[a0_0x3a67c7(0x1b7)](_0xc75201,_0x56fdf8){const _0x155545=a0_0x3a67c7,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x56fdf8||{},_0x58ee4e=this[_0x155545(0x1d8)](),_0x5646b6=this[_0x155545(0x203)](),_0x55574c=_0xf63f13=>{const _0x169336=_0x155545;return JSON[_0x169336(0x425)](_0xf63f13,null,0x2)[_0x169336(0x1c7)]('\x0a')[_0x169336(0x295)]((_0x12b7bb,_0x1de61c)=>_0x1de61c===0x0?_0x12b7bb:indent+_0x12b7bb)['join']('\x0a');};if(useFullExample){const _0x511662=this['context'][_0x155545(0x389)]||[],_0x538a97=_0x511662[_0x155545(0x1b6)](_0x480fe0=>this['isNumericField'](_0x480fe0)),_0x441e7c={'where':_0x511662[0x0]?{[_0x511662[0x0][_0x155545(0x2f0)]]:{'$eq':this['generateExampleValue'](_0x511662[0x0],_0x155545(0x1c1))}}:{},'aggregate':_0x538a97[_0x155545(0x31c)]>0x0?[{'type':_0x155545(0x286),'column':_0x538a97[0x0][_0x155545(0x2f0)],'alias':_0x538a97[0x0][_0x155545(0x2f0)]+_0x155545(0x3e0),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x155545(0x248),'column':_0x511662[0x0][_0x155545(0x2f0)],'alias':_0x155545(0x3bb),'distinct':!![]}],'orderBy':[{[_0x511662[0x0]['code']]:_0x155545(0x25a)}]};let _0x248c21='';return _0x511662['length']>=0x3&&(_0x248c21=_0x155545(0x3fb)+_0xc75201+'.'+_0x58ee4e+'('+_0x55574c(_0x5646b6)+');'),_0x155545(0x39e)+_0xc75201+'.'+_0x58ee4e+'('+_0x55574c(_0x441e7c)+');'+_0x248c21;}const _0xed861f=JSON[_0x155545(0x425)](_0x5646b6,null,0x2)[_0x155545(0x1c7)]('\x0a')['map']((_0x181c1d,_0x8bab8c)=>_0x8bab8c===0x0?_0x181c1d:indent+_0x181c1d)['join']('\x0a');return _0x155545(0x214)+_0xc75201+'.'+_0x58ee4e+'('+_0xed861f+');';}[a0_0x3a67c7(0x24e)](_0x315ace){const _0x20ac30=a0_0x3a67c7,_0x17ee84=_0x315ace[_0x20ac30(0x3a8)]();return[_0x20ac30(0x2de),_0x20ac30(0x427),_0x20ac30(0x20c),_0x20ac30(0x2d3)][_0x20ac30(0x1d3)](_0x17ee84)||[_0x20ac30(0x332),_0x20ac30(0x270),_0x20ac30(0x3e3),_0x20ac30(0x39a),_0x20ac30(0x1ba)][_0x20ac30(0x1d3)](_0x17ee84);}[a0_0x3a67c7(0x31d)](_0x3a5c3d){const _0x446869=a0_0x3a67c7,_0x39ae00=_0x3a5c3d['getDbTypeForOperation'](),_0xa515d1=[];if([_0x446869(0x2de),'INTEGER',_0x446869(0x20c),_0x446869(0x2d3)][_0x446869(0x1d3)](_0x39ae00)||[_0x446869(0x332),_0x446869(0x270),_0x446869(0x3e3),_0x446869(0x39a),_0x446869(0x1ba)]['includes'](_0x39ae00))_0xa515d1[_0x446869(0x3cf)](_0x446869(0x1c1),_0x446869(0x1da),_0x446869(0x3fc),_0x446869(0x3cc),_0x446869(0x338),_0x446869(0x2b2),_0x446869(0x27b));else{if(['STRING',_0x446869(0x25c),'VARCHAR']['includes'](_0x39ae00)||[_0x446869(0x260),_0x446869(0x1f2)][_0x446869(0x1d3)](_0x39ae00))_0xa515d1['push']('$eq',_0x446869(0x1da),'$in',_0x446869(0x3a6),_0x446869(0x33f),_0x446869(0x370));else{if([_0x446869(0x2e8),'DATETIME',_0x446869(0x30c)][_0x446869(0x1d3)](_0x39ae00)||['TIME'][_0x446869(0x1d3)](_0x39ae00))_0xa515d1[_0x446869(0x3cf)](_0x446869(0x1c1),_0x446869(0x1da),_0x446869(0x3fc),'$lte',_0x446869(0x338),_0x446869(0x2b2));else['BOOLEAN','BOOL',_0x446869(0x22f)]['includes'](_0x39ae00)?_0xa515d1[_0x446869(0x3cf)](_0x446869(0x1c1),_0x446869(0x1da)):_0xa515d1['push']('$eq',_0x446869(0x1da));}}return _0xa515d1;}['selectBestOperator'](_0x4c54ac,_0x17dc69){const _0x2f6b4d=a0_0x3a67c7,_0x5bde24=_0x4c54ac[_0x2f6b4d(0x3a8)]();if([_0x2f6b4d(0x2de),_0x2f6b4d(0x427),_0x2f6b4d(0x20c),_0x2f6b4d(0x2d3)][_0x2f6b4d(0x1d3)](_0x5bde24)||['INT',_0x2f6b4d(0x270),_0x2f6b4d(0x3e3),_0x2f6b4d(0x39a),_0x2f6b4d(0x1ba)][_0x2f6b4d(0x1d3)](_0x5bde24))return _0x17dc69[_0x2f6b4d(0x1d3)]('$gte')?_0x2f6b4d(0x3fc):_0x2f6b4d(0x1c1);if(['STRING','TEXT','VARCHAR']['includes'](_0x5bde24)||[_0x2f6b4d(0x260),_0x2f6b4d(0x1f2)][_0x2f6b4d(0x1d3)](_0x5bde24))return _0x17dc69[_0x2f6b4d(0x1d3)](_0x2f6b4d(0x3a6))?_0x2f6b4d(0x3a6):'$eq';if([_0x2f6b4d(0x2e8),_0x2f6b4d(0x241),_0x2f6b4d(0x30c),_0x2f6b4d(0x3a5)]['includes'](_0x5bde24))return _0x17dc69[_0x2f6b4d(0x1d3)]('$gte')?_0x2f6b4d(0x3fc):_0x2f6b4d(0x1c1);return _0x2f6b4d(0x1c1);}[a0_0x3a67c7(0x3df)](_0x3b0567,_0x1c62e3){const _0x53a993=a0_0x3a67c7,_0xb10b46=_0x3b0567['getDbTypeForOperation'](),_0x13a629=_0x3b0567['getEnumOptions']();if(_0x13a629&&_0x13a629[_0x53a993(0x31c)]>0x0){if(_0x1c62e3===_0x53a993(0x27b))return _0x13a629[_0x53a993(0x3ec)](0x0,0x2)[_0x53a993(0x295)](_0x35625f=>_0x35625f['value']);return _0x13a629[0x0][_0x53a993(0x1a1)];}if([_0x53a993(0x2de),_0x53a993(0x427),_0x53a993(0x20c),_0x53a993(0x2d3)][_0x53a993(0x1d3)](_0xb10b46)||['INT',_0x53a993(0x270),_0x53a993(0x3e3),_0x53a993(0x39a),'FLOAT']['includes'](_0xb10b46)){if(_0x1c62e3===_0x53a993(0x27b))return[0x1,0x2,0x3];if(_0x1c62e3===_0x53a993(0x3fc)||_0x1c62e3===_0x53a993(0x338))return 0x0;if(_0x1c62e3==='$lte'||_0x1c62e3===_0x53a993(0x2b2))return 0x64;return 0x1;}if([_0x53a993(0x3f6),_0x53a993(0x25c),'VARCHAR']['includes'](_0xb10b46)||[_0x53a993(0x260),_0x53a993(0x1f2)][_0x53a993(0x1d3)](_0xb10b46)){if(_0x1c62e3===_0x53a993(0x27b))return[_0x53a993(0x31f),_0x53a993(0x423)];if(_0x1c62e3===_0x53a993(0x3a6))return _0x53a993(0x2a3);if(_0x1c62e3===_0x53a993(0x33f))return'prefix';if(_0x1c62e3===_0x53a993(0x370))return _0x53a993(0x3fd);return _0x53a993(0x1a1);}if(['DATE','DATETIME',_0x53a993(0x30c),'TIME'][_0x53a993(0x1d3)](_0xb10b46)){if(_0x1c62e3===_0x53a993(0x3fc)||_0x1c62e3===_0x53a993(0x338))return _0x53a993(0x2bb);if(_0x1c62e3===_0x53a993(0x3cc)||_0x1c62e3===_0x53a993(0x2b2))return'2024-12-31';return _0x53a993(0x2bb);}if([_0x53a993(0x1d2),'BOOL',_0x53a993(0x22f)][_0x53a993(0x1d3)](_0xb10b46))return!![];return _0x1c62e3===_0x53a993(0x27b)?[_0x53a993(0x31f),_0x53a993(0x423)]:'value';}[a0_0x3a67c7(0x411)](){const _0x58a9a5=a0_0x3a67c7,_0xfac085=this[_0x58a9a5(0x2a9)](),_0xea3aca=Object['entries'](_0xfac085)['filter'](([_0x46f8b6])=>_0x46f8b6!=='currentPage'&&_0x46f8b6!==_0x58a9a5(0x35a))[_0x58a9a5(0x295)](([_0x39c413,_0x3cbebc])=>{const _0x2af514=_0x58a9a5,_0x23eca3=_0x3cbebc,_0x3630d1={};return _0x3630d1['name']=_0x39c413,_0x3630d1[_0x2af514(0x1c4)]=_0x23eca3[_0x2af514(0x1c4)]||'String',_0x3630d1[_0x2af514(0x266)]=_0x23eca3[_0x2af514(0x266)]||'-',_0x3630d1['required']=_0x23eca3[_0x2af514(0x3fe)],_0x3630d1;}),_0x582ae1={};return _0x582ae1[_0x58a9a5(0x266)]=_0x58a9a5(0x393),_0x582ae1[_0x58a9a5(0x2f8)]=_0xea3aca,_0x582ae1;}[a0_0x3a67c7(0x35f)](){const _0x162702=a0_0x3a67c7,_0x2ac7ad=this[_0x162702(0x203)]()['aggregate'],_0x19c9fb=[{}],_0x149c56=[];_0x2ac7ad?.[_0x162702(0x40a)](_0x11f2f4=>{const _0x1748c4=_0x162702,_0x28c858={};_0x28c858[_0x1748c4(0x192)]=_0x11f2f4[_0x1748c4(0x30a)],_0x28c858[_0x1748c4(0x3b1)]=_0x11f2f4[_0x1748c4(0x30a)],_0x149c56[_0x1748c4(0x3cf)](_0x28c858),_0x19c9fb[0x0][_0x11f2f4['alias']]=_0x11f2f4[_0x1748c4(0x1c4)]===_0x1748c4(0x248)?0x64:Math['round'](Math[_0x1748c4(0x19c)]()*0x64*0x64)/0x64;});const _0x52c860={};_0x52c860['pageSize']=0x1,_0x52c860['totalCount']=0x64,_0x52c860[_0x162702(0x3fa)]=0x1;const _0x3c9dc6={};_0x3c9dc6[_0x162702(0x28a)]=_0x52c860,_0x3c9dc6[_0x162702(0x346)]=_0x19c9fb,_0x3c9dc6['tableColumns']=_0x149c56;const _0x353f57={};return _0x353f57[_0x162702(0x28c)]=!![],_0x353f57[_0x162702(0x275)]='',_0x353f57[_0x162702(0x388)]='',_0x353f57[_0x162702(0x36a)]=_0x162702(0x402),_0x353f57['data']=_0x3c9dc6,_0x353f57[_0x162702(0x2f8)]=null,_0x353f57;}}class OperationFactory{[a0_0x3a67c7(0x2d8)](_0x227749,_0x1d9613,_0x34ba3a){const _0x1e05d2=a0_0x3a67c7;switch(_0x227749){case'getSelectOptions':return new GetSelectOptionsOperation(_0x227749,_0x1d9613,_0x34ba3a);case _0x1e05d2(0x352):return new GetListOperation(_0x227749,_0x1d9613,_0x34ba3a);case'filter':return new FilterOperation(_0x227749,_0x1d9613,_0x34ba3a);case _0x1e05d2(0x356):return new ExcelExportOperation(_0x227749,_0x1d9613,_0x34ba3a);case'update':return new UpdateOperation(_0x227749,_0x1d9613,_0x34ba3a);case _0x1e05d2(0x235):return new AggregateOperation(_0x227749,_0x1d9613,_0x34ba3a);default:return new GenericOperation(_0x227749,_0x1d9613,_0x34ba3a);}}['createAll'](_0x3b893a,_0x1eb523){const _0xc267d8=a0_0x3a67c7,_0x4276ee=new Map();return Object[_0xc267d8(0x240)](_0x3b893a)[_0xc267d8(0x40a)](([_0x2de47b,_0x16c38c])=>{const _0xcc8320=_0xc267d8;_0x4276ee[_0xcc8320(0x415)](_0x2de47b,this[_0xcc8320(0x2d8)](_0x2de47b,_0x16c38c,_0x1eb523));}),_0x4276ee;}}class OperationList{[a0_0x3a67c7(0x41d)];constructor(_0x3df752,_0x51bf18){const _0x49d5d6=a0_0x3a67c7,_0xf10898=new OperationFactory();this[_0x49d5d6(0x41d)]=_0xf10898[_0x49d5d6(0x29b)](_0x3df752,_0x51bf18);}[a0_0x3a67c7(0x341)](_0x3ea58c){const _0x26ea94=a0_0x3a67c7;return this[_0x26ea94(0x41d)][_0x26ea94(0x341)](_0x3ea58c);}[a0_0x3a67c7(0x208)](_0x688bc3){const _0x120df3=a0_0x3a67c7;return this['_operations'][_0x120df3(0x208)](_0x688bc3);}[a0_0x3a67c7(0x31e)](){const _0xd92f14=a0_0x3a67c7;return this['_operations'][_0xd92f14(0x31e)];}[a0_0x3a67c7(0x424)](){const _0x463b3f=a0_0x3a67c7;return Array['from'](this[_0x463b3f(0x41d)][_0x463b3f(0x289)]());}[a0_0x3a67c7(0x199)](){const _0x154094=a0_0x3a67c7,_0x4d68e5=Array[_0x154094(0x263)](this[_0x154094(0x41d)][_0x154094(0x348)]());return this['sortOperationsWithFilterFirst'](_0x4d68e5);}[a0_0x3a67c7(0x2e2)](){const _0x3616e1=a0_0x3a67c7;return this[_0x3616e1(0x199)]()[_0x3616e1(0x1b6)](_0xf3ef64=>_0xf3ef64[_0x3616e1(0x3c5)]());}[a0_0x3a67c7(0x3cd)](){const _0x3253a2=a0_0x3a67c7;return this[_0x3253a2(0x199)]()[_0x3253a2(0x1b6)](_0x4d6b54=>!_0x4d6b54['isEnabled']());}[a0_0x3a67c7(0x353)](){const _0xcc25e8=a0_0x3a67c7;return this['getEnabled']()[_0xcc25e8(0x295)](_0x41a058=>_0x41a058['getName']());}[a0_0x3a67c7(0x340)](){const _0x401e8e=a0_0x3a67c7;return this[_0x401e8e(0x3cd)]()['map'](_0x426942=>_0x426942[_0x401e8e(0x1d8)]());}[a0_0x3a67c7(0x395)](_0x28a609){const _0xe2ec7c=a0_0x3a67c7;return this['toArray']()['filter'](_0x54bc5d=>_0x54bc5d[_0xe2ec7c(0x321)]()===_0x28a609);}[a0_0x3a67c7(0x1b6)](_0x159c54){const _0x44525c=a0_0x3a67c7;return this[_0x44525c(0x199)]()['filter'](_0x159c54);}['getFiltered'](_0x2720d8={}){const _0x2318d9=a0_0x3a67c7;let _0x280abf=this['toArray']();!_0x2720d8[_0x2318d9(0x1bf)]&&(_0x280abf=_0x280abf[_0x2318d9(0x1b6)](_0x52f176=>_0x52f176[_0x2318d9(0x3c5)]()));if(_0x2720d8[_0x2318d9(0x1f3)]!==![]){const _0x67db48=_0x280abf[_0x2318d9(0x295)](_0x37ad88=>({'name':_0x37ad88[_0x2318d9(0x1d8)](),'operation':_0x37ad88})),_0x202ccd=filterApiOperations(_0x67db48);_0x280abf=_0x202ccd[_0x2318d9(0x295)](_0x1dc104=>_0x1dc104[_0x2318d9(0x2ba)]),_0x280abf=this[_0x2318d9(0x335)](_0x280abf);}return _0x2720d8['customFilter']&&(_0x280abf=_0x280abf[_0x2318d9(0x1b6)](_0x2720d8[_0x2318d9(0x1e6)])),_0x280abf;}[a0_0x3a67c7(0x335)](_0x3e31a3){const _0x3406ed=a0_0x3a67c7,_0x389442=_0x3e31a3[_0x3406ed(0x323)](_0xbbae30=>_0xbbae30['getName']()===_0x3406ed(0x1b6)),_0x35739c=_0x3e31a3[_0x3406ed(0x1b6)](_0x4aa37e=>_0x4aa37e[_0x3406ed(0x1d8)]()!==_0x3406ed(0x1b6));return _0x389442?[_0x389442,..._0x35739c]:_0x35739c;}[a0_0x3a67c7(0x1ad)](){const _0x10e2d0=a0_0x3a67c7,_0x2e01e5=this[_0x10e2d0(0x2e2)]();return{'total':this['size'](),'enabled':_0x2e01e5[_0x10e2d0(0x31c)],'disabled':this[_0x10e2d0(0x31e)]()-_0x2e01e5[_0x10e2d0(0x31c)],'byType':this[_0x10e2d0(0x309)](_0x2e01e5),'byMethod':this[_0x10e2d0(0x1f1)](_0x2e01e5)};}[a0_0x3a67c7(0x309)](_0x5f07fd){const _0x3dcf4b={};return _0x5f07fd['forEach'](_0x1f1e4f=>{const _0x1cdf69=a0_0x1599,_0x4d7f8f=_0x1f1e4f[_0x1cdf69(0x321)]();_0x4d7f8f&&(_0x3dcf4b[_0x4d7f8f]=(_0x3dcf4b[_0x4d7f8f]||0x0)+0x1);}),_0x3dcf4b;}[a0_0x3a67c7(0x1f1)](_0x541bfa){const _0x19e18f=a0_0x3a67c7,_0x18ae07={};return _0x541bfa[_0x19e18f(0x40a)](_0x31af64=>{const _0x15577a=_0x19e18f,_0x4e3b2d=_0x31af64[_0x15577a(0x3dc)]();_0x4e3b2d&&(_0x18ae07[_0x4e3b2d]=(_0x18ae07[_0x4e3b2d]||0x0)+0x1);}),_0x18ae07;}[Symbol['iterator']](){const _0x28b059=a0_0x3a67c7;return this[_0x28b059(0x41d)][_0x28b059(0x348)]();}['toString'](){const _0x1e804a=a0_0x3a67c7,_0x5d911d=this[_0x1e804a(0x1ad)]();return _0x1e804a(0x3b2)+_0x5d911d[_0x1e804a(0x3e4)]+'/'+_0x5d911d[_0x1e804a(0x19a)]+_0x1e804a(0x1d9);}}class DBConfig{[a0_0x3a67c7(0x339)];[a0_0x3a67c7(0x250)];[a0_0x3a67c7(0x23f)];[a0_0x3a67c7(0x296)];[a0_0x3a67c7(0x421)];[a0_0x3a67c7(0x1a3)];[a0_0x3a67c7(0x36b)];['pkField'];[a0_0x3a67c7(0x387)];[a0_0x3a67c7(0x31a)];constructor(_0x3883e4,_0x10bb21){const _0x135c6c=a0_0x3a67c7;this[_0x135c6c(0x339)]=_0x10bb21,this[_0x135c6c(0x250)]=_0x3883e4[_0x135c6c(0x250)],this[_0x135c6c(0x23f)]=_0x3883e4[_0x135c6c(0x23f)],this['dbType']=_0x3883e4[_0x135c6c(0x296)],this[_0x135c6c(0x421)]=_0x3883e4[_0x135c6c(0x421)],this[_0x135c6c(0x1a3)]=_0x3883e4[_0x135c6c(0x1a3)],this[_0x135c6c(0x36b)]=_0x3883e4[_0x135c6c(0x36b)],this[_0x135c6c(0x1ea)]=_0x3883e4[_0x135c6c(0x1ea)],this[_0x135c6c(0x387)]=_0x3883e4['tenantCode'],this[_0x135c6c(0x31a)]=_0x3883e4['appCode'];}[a0_0x3a67c7(0x1de)](){return this['raw'];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x3a67c7(0x3a1)];[a0_0x3a67c7(0x26d)];[a0_0x3a67c7(0x35c)];constructor(_0xa6319c){const _0x2cea1e=a0_0x3a67c7,_0x5c3d71={..._0xa6319c};_0x5c3d71['id']=_0xa6319c['modelId']||_0xa6319c['id'],_0x5c3d71['datasetCode']=_0xa6319c[_0x2cea1e(0x27e)]||_0xa6319c[_0x2cea1e(0x2f6)]||_0xa6319c[_0x2cea1e(0x2f0)],super(_0x5c3d71);}[a0_0x3a67c7(0x219)](){return;}['getRelations'](){return[];}['getIndexes'](){return[];}get[a0_0x3a67c7(0x2d6)](){const _0xa74e25=a0_0x3a67c7;return this[_0xa74e25(0x22c)]();}[a0_0x3a67c7(0x257)](){if(!this['_fieldList'])throw new Error('getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass');return this['_fieldList'];}[a0_0x3a67c7(0x308)](){const _0x9200fa=a0_0x3a67c7;if(!this[_0x9200fa(0x35c)])throw new Error(_0x9200fa(0x2a4));return this[_0x9200fa(0x35c)];}['getFields'](){return[];}['getFieldsWithDeleted'](){const _0x4e6f9a=a0_0x3a67c7,_0x56d363=this[_0x4e6f9a(0x19f)]();return _0x56d363[_0x4e6f9a(0x389)];}['getFieldCount'](){const _0x595610=a0_0x3a67c7;return this[_0x595610(0x1d4)]()[_0x595610(0x31c)];}[a0_0x3a67c7(0x3d2)](_0x493c07){const _0x3317a9=a0_0x3a67c7,_0x2087ce=this[_0x3317a9(0x1d5)](_0x493c07);return _0x2087ce?_0x2087ce[_0x3317a9(0x339)]:undefined;}[a0_0x3a67c7(0x21e)](_0x401203){return;}['parseFieldExtend'](_0x54bb60){const _0x148cde=a0_0x3a67c7;if(!_0x54bb60||typeof _0x54bb60!==_0x148cde(0x3ab))return!![]&&console[_0x148cde(0x3dd)](_0x148cde(0x283),_0x54bb60),{};if(_0x148cde(0x1ea)in _0x54bb60){const _0xce239b=_0x54bb60;return{'primaryKey':typeof _0xce239b[_0x148cde(0x1ea)]==='boolean'?_0xce239b['pkField']:Boolean(_0xce239b[_0x148cde(0x1ea)]),'required':_0xce239b[_0x148cde(0x3fe)],'systemRetain':Boolean(_0xce239b[_0x148cde(0x23c)]),'autoIncrement':_0xce239b[_0x148cde(0x3c6)]??undefined};}if(!('extend'in _0x54bb60)||!_0x54bb60[_0x148cde(0x343)])return{};try{const _0x57ddf2=typeof _0x54bb60[_0x148cde(0x343)]===_0x148cde(0x400)?JSON['parse'](_0x54bb60[_0x148cde(0x343)]):_0x54bb60['extend'];if(typeof _0x57ddf2!=='object'||_0x57ddf2===null)return{};return _0x57ddf2;}catch{return{};}}['getOperationList'](){const _0x2162c2=a0_0x3a67c7;if(!this[_0x2162c2(0x3a1)]){const _0x169eda=this[_0x2162c2(0x2ac)](this[_0x2162c2(0x37d)]()||{});this[_0x2162c2(0x3a1)]=new OperationList(_0x169eda,{'fields':this[_0x2162c2(0x257)]()['all'](),'pkField':this[_0x2162c2(0x2eb)][_0x2162c2(0x245)]?.[_0x2162c2(0x1ea)],'dbtableConfig':this[_0x2162c2(0x2eb)][_0x2162c2(0x245)]||null});}return this[_0x2162c2(0x3a1)];}[a0_0x3a67c7(0x2ac)](_0x5343bb){const _0x53ba24=a0_0x3a67c7;if(_0x5343bb[_0x53ba24(0x1b6)]!==undefined)return _0x5343bb;return{..._0x5343bb,'filter':this[_0x53ba24(0x1ae)]()};}[a0_0x3a67c7(0x1ae)](){const _0x3b0f63=a0_0x3a67c7,_0x41b032=this[_0x3b0f63(0x37d)]()?.[_0x3b0f63(0x352)];let _0x2dd6fd=_0x41b032?.['host'],_0x52518d='';if(!_0x2dd6fd&&this[_0x3b0f63(0x37d)]()){const _0x1b38bc=Object[_0x3b0f63(0x348)](this[_0x3b0f63(0x37d)]());for(const _0x2fc12b of _0x1b38bc){if(_0x2fc12b&&typeof _0x2fc12b===_0x3b0f63(0x3ab)&&'host'in _0x2fc12b){_0x2dd6fd=_0x2fc12b[_0x3b0f63(0x202)];break;}}}if(_0x41b032?.[_0x3b0f63(0x38c)]){const _0x42e34a=_0x41b032[_0x3b0f63(0x38c)],_0x4a21b0=_0x42e34a[_0x3b0f63(0x431)]('/');_0x4a21b0!==-0x1&&(_0x52518d=_0x42e34a['substring'](0x0,_0x4a21b0));}const _0x4c2cdc={};_0x4c2cdc[_0x3b0f63(0x18e)]='where',_0x4c2cdc[_0x3b0f63(0x1c4)]=_0x3b0f63(0x3ab),_0x4c2cdc['required']=![];const _0x2952cf={};_0x2952cf['name']=_0x3b0f63(0x1e8),_0x2952cf[_0x3b0f63(0x1c4)]=_0x3b0f63(0x213),_0x2952cf[_0x3b0f63(0x3fe)]=![];const _0x286ca3={};_0x286ca3[_0x3b0f63(0x18e)]=_0x3b0f63(0x236),_0x286ca3['type']=_0x3b0f63(0x213),_0x286ca3[_0x3b0f63(0x3fe)]=![];const _0x1383fc={};_0x1383fc['name']='currentPage',_0x1383fc[_0x3b0f63(0x1c4)]='number',_0x1383fc[_0x3b0f63(0x3fe)]=![],_0x1383fc['default']=0x1;const _0x5ae93c={};_0x5ae93c[_0x3b0f63(0x18e)]=_0x3b0f63(0x35a),_0x5ae93c[_0x3b0f63(0x1c4)]='number',_0x5ae93c[_0x3b0f63(0x3fe)]=![],_0x5ae93c['default']=0xa;const _0x4b2212={};return _0x4b2212[_0x3b0f63(0x18e)]=_0x3b0f63(0x1b6),_0x4b2212['type']=_0x3b0f63(0x269),_0x4b2212['description']=_0x3b0f63(0x32d),_0x4b2212[_0x3b0f63(0x291)]=_0x3b0f63(0x404),_0x4b2212[_0x3b0f63(0x202)]=_0x2dd6fd,_0x4b2212[_0x3b0f63(0x38c)]=_0x52518d?_0x52518d+_0x3b0f63(0x23e):_0x3b0f63(0x23e),_0x4b2212[_0x3b0f63(0x2f8)]=_0x41b032?.[_0x3b0f63(0x2f8)]||[_0x4c2cdc,_0x2952cf,_0x286ca3,_0x1383fc,_0x5ae93c],_0x4b2212[_0x3b0f63(0x42b)]=!![],_0x4b2212;}['getOperations'](){const _0x32099d=a0_0x3a67c7;return this[_0x32099d(0x42c)]()['toArray']();}['getOperationCount'](){const _0x3d460b=a0_0x3a67c7;return this[_0x3d460b(0x42c)]()['size']();}['getOperation'](_0x5a2a8b){const _0xad023b=a0_0x3a67c7;if(typeof _0x5a2a8b!==_0xad023b(0x400)){!![]&&console[_0xad023b(0x3dd)](_0xad023b(0x319),_0x5a2a8b);return;}return this['getOperationList']()[_0xad023b(0x341)](_0x5a2a8b);}[a0_0x3a67c7(0x2c9)](_0x2bf851){const _0x2a7c0e=a0_0x3a67c7;if(typeof _0x2bf851!==_0x2a7c0e(0x400))return![];return this[_0x2a7c0e(0x42c)]()[_0x2a7c0e(0x208)](_0x2bf851);}[a0_0x3a67c7(0x22a)](_0x7a2623){const _0x5c6bf5=a0_0x3a67c7;if(typeof _0x7a2623!==_0x5c6bf5(0x400))return![];const _0x487b2e=this[_0x5c6bf5(0x3ef)](_0x7a2623);return _0x487b2e?.[_0x5c6bf5(0x3c5)]()||![];}[a0_0x3a67c7(0x34b)](){const _0x47bae8=a0_0x3a67c7;return this[_0x47bae8(0x42c)]()['getEnabledNames']();}[a0_0x3a67c7(0x307)](){const _0x3fe852=a0_0x3a67c7;return this[_0x3fe852(0x42c)]()[_0x3fe852(0x340)]();}['getEnabledOperationInstances'](){const _0x1d7b9b=a0_0x3a67c7;return this['getOperationList']()[_0x1d7b9b(0x2e2)]();}['getDisabledOperationInstances'](){const _0x1fdeb5=a0_0x3a67c7;return this[_0x1fdeb5(0x42c)]()[_0x1fdeb5(0x3cd)]();}['getFilteredOperations'](_0x186d62={}){const _0x2dfffd=a0_0x3a67c7;return this[_0x2dfffd(0x42c)]()['getFiltered'](_0x186d62);}[a0_0x3a67c7(0x1ad)](){const _0x5b0ea9=a0_0x3a67c7;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this[_0x5b0ea9(0x1fc)]()[_0x5b0ea9(0x31c)],'businessFieldCount':this[_0x5b0ea9(0x30e)]()[_0x5b0ea9(0x31c)],'requiredFieldCount':this[_0x5b0ea9(0x2b3)]()[_0x5b0ea9(0x31c)],'primaryKeyCount':this['getPrimaryKeyFields']()['length'],'operationCount':this[_0x5b0ea9(0x367)](),'enabledOperationCount':this[_0x5b0ea9(0x34b)]()['length']};}['getFieldCode'](_0x3ac927){const _0x1defb8=a0_0x3a67c7;if(!_0x3ac927||typeof _0x3ac927!==_0x1defb8(0x3ab))return'';if(_0x1defb8(0x2f0)in _0x3ac927&&typeof _0x3ac927[_0x1defb8(0x2f0)]===_0x1defb8(0x400))return _0x3ac927[_0x1defb8(0x2f0)];if('name'in _0x3ac927&&typeof _0x3ac927[_0x1defb8(0x18e)]===_0x1defb8(0x400))return _0x3ac927['name'];return'';}[a0_0x3a67c7(0x29c)](_0x237b68){const _0x2ba1f9=a0_0x3a67c7;return this[_0x2ba1f9(0x257)]()[_0x2ba1f9(0x208)](_0x237b68);}[a0_0x3a67c7(0x325)](_0x55f02a){const _0x11c090=a0_0x3a67c7;if(!_0x55f02a||typeof _0x55f02a!==_0x11c090(0x3ab))return![];const _0x40ba5b=this['getFieldCode'](_0x55f02a),_0xcbd32=this[_0x11c090(0x1d5)](_0x40ba5b);return _0xcbd32?_0xcbd32[_0x11c090(0x32e)]():![];}[a0_0x3a67c7(0x412)](_0x41a43e){const _0x2e5f66=a0_0x3a67c7;if(!_0x41a43e||typeof _0x41a43e!==_0x2e5f66(0x3ab))return![];const _0x167c03=this[_0x2e5f66(0x252)](_0x41a43e),_0x25aa06=this[_0x2e5f66(0x1d5)](_0x167c03);return _0x25aa06?_0x25aa06[_0x2e5f66(0x229)]():![];}[a0_0x3a67c7(0x41f)](_0x10a5b){const _0x5ad16d=a0_0x3a67c7;if(!_0x10a5b||typeof _0x10a5b!==_0x5ad16d(0x3ab))return![];const _0x165d7d=this[_0x5ad16d(0x252)](_0x10a5b),_0xd392a1=this[_0x5ad16d(0x1d5)](_0x165d7d);return _0xd392a1?_0xd392a1[_0x5ad16d(0x409)]():![];}['isEnumField'](_0x4a9842){const _0x560478=a0_0x3a67c7;if(!_0x4a9842||typeof _0x4a9842!==_0x560478(0x3ab))return![];const _0x479a41=this['getFieldCode'](_0x4a9842),_0x4d43f8=this[_0x560478(0x1d5)](_0x479a41);return _0x4d43f8?_0x4d43f8[_0x560478(0x2af)]():![];}['isMultipleSelectField'](_0x123298){const _0x4ef07d=a0_0x3a67c7;if(!_0x123298||typeof _0x123298!==_0x4ef07d(0x3ab))return![];const _0x458ed4=this['getFieldCode'](_0x123298),_0xfb8e74=this[_0x4ef07d(0x1d5)](_0x458ed4);return _0xfb8e74?_0xfb8e74[_0x4ef07d(0x2fe)]():![];}[a0_0x3a67c7(0x350)](_0x41f232){const _0x447c11=a0_0x3a67c7;if(!_0x41f232||typeof _0x41f232!=='object')return[];const _0x3c9a93=this[_0x447c11(0x252)](_0x41f232),_0x354e96=this[_0x447c11(0x1d5)](_0x3c9a93);if(!_0x354e96||!_0x354e96[_0x447c11(0x2af)]())return[];return _0x354e96['getEnumOptions']()||[];}[a0_0x3a67c7(0x230)](_0x23a2b0){const _0x3d8862=a0_0x3a67c7;if(!_0x23a2b0||typeof _0x23a2b0!==_0x3d8862(0x3ab))return;const _0x54b9e4=this[_0x3d8862(0x252)](_0x23a2b0),_0x252591=this[_0x3d8862(0x1d5)](_0x54b9e4);if(!_0x252591||!_0x252591['isEnum']())return;return _0x252591['getSelectItemsSource']();}[a0_0x3a67c7(0x3da)](_0x4359ea){const _0x11e464=a0_0x3a67c7;if(!_0x4359ea||typeof _0x4359ea!==_0x11e464(0x3ab))return;const _0x3cf7c3=this[_0x11e464(0x252)](_0x4359ea),_0x4a22fb=this[_0x11e464(0x1d5)](_0x3cf7c3);if(!_0x4a22fb||!_0x4a22fb['isEnum']())return;return _0x4a22fb[_0x11e464(0x420)]();}[a0_0x3a67c7(0x2e9)](){const _0x3f9537=a0_0x3a67c7;return this[_0x3f9537(0x257)]()['getPrimaryKeys']()[_0x3f9537(0x295)](_0x519912=>_0x519912['raw']);}['getSystemFields'](){const _0x3e873f=a0_0x3a67c7;return this['getFieldList']()['getSystem']()['map'](_0x2085d0=>_0x2085d0[_0x3e873f(0x339)]);}[a0_0x3a67c7(0x30e)](){const _0xd8f674=a0_0x3a67c7;return this[_0xd8f674(0x257)]()['getBusiness']()[_0xd8f674(0x295)](_0xb4e57d=>_0xb4e57d['raw']);}[a0_0x3a67c7(0x2b3)](){const _0x559585=a0_0x3a67c7;return this[_0x559585(0x257)]()[_0x559585(0x20a)]()['map'](_0x42ae8b=>_0x42ae8b['raw']);}[a0_0x3a67c7(0x3f1)](){const _0x1c2a57=a0_0x3a67c7,_0x43030f=this[_0x1c2a57(0x257)]()[_0x1c2a57(0x337)](),_0x29e294={};for(const [_0x4fd567,_0x59ae68]of Object[_0x1c2a57(0x240)](_0x43030f)){_0x29e294[_0x4fd567]=_0x59ae68[_0x1c2a57(0x295)](_0x2c6a44=>_0x2c6a44[_0x1c2a57(0x339)]);}return _0x29e294;}[a0_0x3a67c7(0x37b)](){const _0xc5a222=a0_0x3a67c7;return this[_0xc5a222(0x257)]()[_0xc5a222(0x336)]()['map'](_0x3341de=>_0x3341de[_0xc5a222(0x339)]);}['getEnumFieldsMeta'](){const _0x5c4565=a0_0x3a67c7,_0x1e6285={};return this[_0x5c4565(0x37b)]()[_0x5c4565(0x40a)](_0x1c08a0=>{const _0x127603=_0x5c4565,_0x407849=this[_0x127603(0x3da)](_0x1c08a0);if(_0x407849){const _0x542de9=this[_0x127603(0x252)](_0x1c08a0);_0x1e6285[_0x542de9]=_0x407849;}}),_0x1e6285;}[a0_0x3a67c7(0x258)](_0x3d23a1,_0x1bbf1c){const _0x12163c=a0_0x3a67c7,_0x5f2379=this[_0x12163c(0x3da)](_0x3d23a1);if(!_0x5f2379)return!![];if(_0x5f2379[_0x12163c(0x38a)]&&!_0x5f2379[_0x12163c(0x422)])return!![];const _0x34dd66=this[_0x12163c(0x252)](_0x3d23a1),_0x46401c=this[_0x12163c(0x1d5)](_0x34dd66),_0x5e74eb=_0x46401c?_0x46401c[_0x12163c(0x2fe)]():![];if(_0x5e74eb&&Array[_0x12163c(0x205)](_0x1bbf1c))return _0x1bbf1c[_0x12163c(0x2c0)](_0x2ce1bc=>_0x5f2379[_0x12163c(0x348)][_0x12163c(0x1d3)](_0x2ce1bc));return _0x5f2379[_0x12163c(0x348)]['includes'](_0x1bbf1c);}['toListItem'](){const _0xd742b3=a0_0x3a67c7;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0xd742b3(0x1a2)]()});}[a0_0x3a67c7(0x31b)](){const _0x4b44c8=a0_0x3a67c7;return _0x4b44c8(0x26a)+this[_0x4b44c8(0x18e)]+',\x20'+this[_0x4b44c8(0x2f6)]+',\x20'+this[_0x4b44c8(0x1fd)]()+_0x4b44c8(0x1b4)+this[_0x4b44c8(0x367)]()+'\x20operations,\x20'+this[_0x4b44c8(0x406)]()+')';}['getFilterOperators'](){const _0x2b3df2=a0_0x3a67c7;return this[_0x2b3df2(0x330)]('filter');}[a0_0x3a67c7(0x2fd)](_0x2a8597){const _0x261662=a0_0x3a67c7;return this[_0x261662(0x375)]('filter',_0x2a8597);}['getFieldsFilterOperatorsMap'](){const _0xb6f6cc=a0_0x3a67c7;return this[_0xb6f6cc(0x1db)](_0xb6f6cc(0x1b6));}[a0_0x3a67c7(0x330)](_0x2b97fc){const _0x2bf787=a0_0x3a67c7,_0x5ba1be=this[_0x2bf787(0x3ef)](_0x2b97fc);return _0x5ba1be?_0x5ba1be[_0x2bf787(0x274)]():[];}[a0_0x3a67c7(0x375)](_0x5b1d32,_0x45769d){const _0x39e565=a0_0x3a67c7,_0x222f5b=this[_0x39e565(0x3ef)](_0x5b1d32);return _0x222f5b?_0x222f5b[_0x39e565(0x3c4)](_0x45769d):[];}[a0_0x3a67c7(0x1db)](_0x374d13){const _0x25e85a=a0_0x3a67c7,_0xbed95a={};return this[_0x25e85a(0x257)]()[_0x25e85a(0x40a)](_0x29cba8=>{const _0x1d9704=_0x25e85a,_0x2ff130=this[_0x1d9704(0x375)](_0x374d13,_0x29cba8['code']);_0x2ff130[_0x1d9704(0x31c)]>0x0&&(_0xbed95a[_0x29cba8[_0x1d9704(0x2f0)]]=_0x2ff130);}),_0xbed95a;}[a0_0x3a67c7(0x221)](_0x39ec4d,_0x4b2b75,_0x362aa0){const _0x39b2e0=a0_0x3a67c7,_0xa2d434=this[_0x39b2e0(0x375)](_0x39ec4d,_0x4b2b75);return _0xa2d434[_0x39b2e0(0x1d3)](_0x362aa0);}}class FieldBase{get[a0_0x3a67c7(0x296)](){return;}get[a0_0x3a67c7(0x3f3)](){return;}get[a0_0x3a67c7(0x1d1)](){return;}get[a0_0x3a67c7(0x222)](){return;}[a0_0x3a67c7(0x1cd)](){const _0x53fc5d=a0_0x3a67c7;return!this[_0x53fc5d(0x229)]();}[a0_0x3a67c7(0x2b0)](){const _0x342bd8=a0_0x3a67c7;return this[_0x342bd8(0x1a9)];}[a0_0x3a67c7(0x2af)](){const _0x7b18cc=a0_0x3a67c7,_0x5d3790=[_0x7b18cc(0x39d),_0x7b18cc(0x1dd),_0x7b18cc(0x21b)];return _0x5d3790[_0x7b18cc(0x1d3)](this[_0x7b18cc(0x1c4)]);}[a0_0x3a67c7(0x2fe)](){return this['type']==='CHECKBOX';}[a0_0x3a67c7(0x1b0)](){const _0x45ce02=a0_0x3a67c7,_0x312706=this[_0x45ce02(0x420)]();return _0x312706?.['values']||[];}[a0_0x3a67c7(0x420)](){const _0x16b32a=a0_0x3a67c7;if(!this[_0x16b32a(0x2af)]())return;const _0x3dcabf=this[_0x16b32a(0x419)](),_0x20b9eb=this['getSelectItemsSource'](),_0x3e472d=[],_0x3058a8={},_0x525c4c=_0x3207b5=>{_0x3207b5['forEach'](_0x479b34=>{const _0x54974a=a0_0x1599;if(!_0x479b34||typeof _0x479b34!==_0x54974a(0x3ab))return;_0x479b34['value']!==undefined&&_0x479b34[_0x54974a(0x1a1)]!==null&&(_0x3e472d['push'](_0x479b34[_0x54974a(0x1a1)]),_0x3058a8[String(_0x479b34[_0x54974a(0x1a1)])]=_0x479b34[_0x54974a(0x428)]||''),_0x479b34['children']&&Array[_0x54974a(0x205)](_0x479b34[_0x54974a(0x239)])&&_0x479b34[_0x54974a(0x239)][_0x54974a(0x31c)]>0x0&&_0x525c4c(_0x479b34['children']);});};return _0x3dcabf&&Array['isArray'](_0x3dcabf)&&_0x3dcabf[_0x16b32a(0x31c)]>0x0&&_0x525c4c(_0x3dcabf),{'code':this['code'],'name':this[_0x16b32a(0x18e)],'type':this[_0x16b32a(0x1c4)],'multiple':this[_0x16b32a(0x2fe)](),'options':_0x3dcabf,'selectItemsSource':_0x20b9eb,'values':_0x3e472d,'valueLabels':_0x3058a8};}get['enumValues'](){const _0x5044e1=a0_0x3a67c7;return this[_0x5044e1(0x1b0)]();}['toString'](){const _0x400893=a0_0x3a67c7;return _0x400893(0x1b1)+this['name']+',\x20'+this['code']+',\x20'+this[_0x400893(0x1c4)]+',\x20'+this[_0x400893(0x406)]()+')';}}class FieldV1 extends FieldBase{[a0_0x3a67c7(0x2eb)];[a0_0x3a67c7(0x201)]=null;constructor(_0x1490f2){const _0x523690=a0_0x3a67c7;super();if(!_0x1490f2||typeof _0x1490f2!==_0x523690(0x3ab))throw new Error('[Field]\x20Invalid\x20field\x20definition');this['_raw']=_0x1490f2;}['toFieldDefinition'](){const _0x2422f5=a0_0x3a67c7;return this[_0x2422f5(0x2eb)];}[a0_0x3a67c7(0x406)](){return'v1';}get[a0_0x3a67c7(0x339)](){const _0x137152=a0_0x3a67c7;return this[_0x137152(0x2eb)];}get[a0_0x3a67c7(0x18e)](){const _0x2eba45=a0_0x3a67c7;return this[_0x2eba45(0x2eb)][_0x2eba45(0x18e)]||'';}get['code'](){const _0x2463f4=a0_0x3a67c7;return this[_0x2463f4(0x2eb)]['code']||'';}get[a0_0x3a67c7(0x1c4)](){const _0x2e70e2=a0_0x3a67c7;return this[_0x2e70e2(0x2eb)][_0x2e70e2(0x1c4)]||'';}get[a0_0x3a67c7(0x266)](){const _0x410882=a0_0x3a67c7;return this[_0x410882(0x2eb)][_0x410882(0x266)]||'';}get[a0_0x3a67c7(0x1a9)](){const _0x30d0e3=a0_0x3a67c7;return Boolean(this[_0x30d0e3(0x2eb)]['deleted']);}get[a0_0x3a67c7(0x296)](){const _0x43b336=a0_0x3a67c7;return this[_0x43b336(0x2eb)][_0x43b336(0x296)];}get[a0_0x3a67c7(0x3f3)](){const _0x49a63a=a0_0x3a67c7;return this[_0x49a63a(0x2eb)]['dbTypeLen'];}get['displayName'](){const _0xfea47d=a0_0x3a67c7;return this[_0xfea47d(0x2eb)]['alias'];}get[a0_0x3a67c7(0x222)](){return;}get[a0_0x3a67c7(0x343)](){const _0x15744e=a0_0x3a67c7;if(this[_0x15744e(0x201)]!==null&&typeof this[_0x15744e(0x201)]===_0x15744e(0x3ab))return this[_0x15744e(0x201)];const _0xe3c3ed=this[_0x15744e(0x2eb)][_0x15744e(0x343)];if(!_0xe3c3ed||typeof _0xe3c3ed!=='string')return this[_0x15744e(0x201)]={},this[_0x15744e(0x201)];if(_0xe3c3ed==='null'||_0xe3c3ed[_0x15744e(0x3ba)]()===_0x15744e(0x3bf))return this['_extend']={},this['_extend'];try{const _0x3ccf51=JSON[_0x15744e(0x216)](_0xe3c3ed);return this[_0x15744e(0x201)]=_0x3ccf51!==null&&typeof _0x3ccf51==='object'&&!Array[_0x15744e(0x205)](_0x3ccf51)?_0x3ccf51:{},this[_0x15744e(0x201)];}catch(_0xf5c405){return!![]&&console[_0x15744e(0x3dd)]('[FieldV1.extend]\x20解析字段\x20'+this[_0x15744e(0x2f0)]+_0x15744e(0x302),_0xf5c405),this['_extend']={},this[_0x15744e(0x201)];}}[a0_0x3a67c7(0x409)](){const _0x4a6eb0=a0_0x3a67c7;return Boolean(this[_0x4a6eb0(0x343)]['required']);}[a0_0x3a67c7(0x32e)](){const _0x24b570=a0_0x3a67c7;return Boolean(this['extend'][_0x24b570(0x2f1)]||this[_0x24b570(0x343)][_0x24b570(0x1ea)]);}[a0_0x3a67c7(0x229)](){const _0x2c0a17=a0_0x3a67c7;return Boolean(this[_0x2c0a17(0x343)][_0x2c0a17(0x23c)]);}[a0_0x3a67c7(0x1af)](){return Boolean(this['extend']['autoIncrement']);}[a0_0x3a67c7(0x1ed)](){const _0xa871e4=a0_0x3a67c7;return Boolean(this[_0xa871e4(0x343)][_0xa871e4(0x1e4)]);}[a0_0x3a67c7(0x39c)](){const _0x2ab8df=a0_0x3a67c7;return Boolean(this[_0x2ab8df(0x343)][_0x2ab8df(0x364)]);}[a0_0x3a67c7(0x19e)](){const _0x1980dc=a0_0x3a67c7;return this[_0x1980dc(0x18e)];}[a0_0x3a67c7(0x1eb)](){const _0x52e7fa=a0_0x3a67c7;return this[_0x52e7fa(0x2f0)];}[a0_0x3a67c7(0x2af)](){const _0x3ca28c=a0_0x3a67c7,_0x1e6078=['RADIO',_0x3ca28c(0x1dd),_0x3ca28c(0x21b)];if(_0x1e6078[_0x3ca28c(0x1d3)](this[_0x3ca28c(0x1c4)]))return!![];const _0x4215ed=this[_0x3ca28c(0x343)];return Boolean(_0x4215ed[_0x3ca28c(0x422)]&&Array[_0x3ca28c(0x205)](_0x4215ed[_0x3ca28c(0x422)])&&_0x4215ed[_0x3ca28c(0x422)][_0x3ca28c(0x31c)]>0x0||_0x4215ed[_0x3ca28c(0x38a)]);}[a0_0x3a67c7(0x2fe)](){const _0x11894e=a0_0x3a67c7;if(this[_0x11894e(0x1c4)]===_0x11894e(0x21b))return!![];return Boolean(this[_0x11894e(0x343)][_0x11894e(0x1e0)]);}[a0_0x3a67c7(0x419)](){const _0x53013a=a0_0x3a67c7,_0x364fea=this['extend'];if(_0x364fea['options']&&Array['isArray'](_0x364fea['options']))return _0x364fea[_0x53013a(0x422)];return;}[a0_0x3a67c7(0x1b2)](){const _0x220d0c=a0_0x3a67c7,_0x590063=this[_0x220d0c(0x343)];if(_0x590063[_0x220d0c(0x38a)]&&typeof _0x590063[_0x220d0c(0x38a)]==='object')return _0x590063[_0x220d0c(0x38a)];return;}[a0_0x3a67c7(0x3a8)](){const _0x36b2bc=a0_0x3a67c7;return this['type'][_0x36b2bc(0x186)]();}[a0_0x3a67c7(0x294)](){const _0x78e271=a0_0x3a67c7;return this[_0x78e271(0x343)][_0x78e271(0x33e)];}[a0_0x3a67c7(0x347)](){const _0xa1cf5=a0_0x3a67c7;return this['extend'][_0xa1cf5(0x24b)];}[a0_0x3a67c7(0x41b)](){const _0x1a8a4e=a0_0x3a67c7;return{'name':this['name'],'code':this['code'],'type':this[_0x1a8a4e(0x1c4)],'dbType':this[_0x1a8a4e(0x296)],'dbTypeLen':this[_0x1a8a4e(0x3f3)],'description':this[_0x1a8a4e(0x266)],'required':this[_0x1a8a4e(0x409)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x1a8a4e(0x229)](),'autoIncrement':this[_0x1a8a4e(0x1af)](),'createTime':this[_0x1a8a4e(0x1ed)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x1a8a4e(0x2af)](),'enumMeta':this[_0x1a8a4e(0x2af)]()?this[_0x1a8a4e(0x420)]():undefined};}[a0_0x3a67c7(0x31b)](){const _0x4e128c=a0_0x3a67c7;return _0x4e128c(0x3ee)+this[_0x4e128c(0x18e)]+',\x20'+this[_0x4e128c(0x2f0)]+',\x20'+this[_0x4e128c(0x1c4)]+')';}}class FieldListBase{['_fields'];constructor(_0xb2ebe9,_0x37b5be){const _0x2fe144=a0_0x3a67c7,_0x50b52f=Array[_0x2fe144(0x205)](_0xb2ebe9)?_0xb2ebe9:[],_0x56d6d7=_0x37b5be?.[_0x2fe144(0x29d)]??![],_0x4b83f0=_0x56d6d7?_0x50b52f:_0x50b52f[_0x2fe144(0x1b6)](_0x2d8261=>{const _0x123f73=_0x2fe144;if(!_0x2d8261||typeof _0x2d8261!==_0x123f73(0x3ab))return![];const _0x2aea3b=_0x2d8261;return!_0x2aea3b['deleted'];});this[_0x2fe144(0x3bd)]=this['createFields'](_0x4b83f0);}get[a0_0x3a67c7(0x31c)](){const _0x212dd8=a0_0x3a67c7;return this[_0x212dd8(0x3bd)][_0x212dd8(0x31c)];}[a0_0x3a67c7(0x320)](){const _0x455a5f=a0_0x3a67c7;return[...this[_0x455a5f(0x3bd)]];}['at'](_0x45b661){const _0x167978=a0_0x3a67c7;return this[_0x167978(0x3bd)]['at'](_0x45b661);}[a0_0x3a67c7(0x323)](_0x1995a1){const _0x4f9398=a0_0x3a67c7;return this[_0x4f9398(0x3bd)]['find'](_0x418184=>_0x418184[_0x4f9398(0x2f0)]===_0x1995a1);}[a0_0x3a67c7(0x255)](_0x95d6de){const _0x5c3cae=a0_0x3a67c7;return this['_fields'][_0x5c3cae(0x323)](_0x23782a=>_0x23782a[_0x5c3cae(0x18e)]===_0x95d6de);}['has'](_0xb34173){const _0x3c50e0=a0_0x3a67c7;return this[_0x3c50e0(0x3bd)]['some'](_0x32d0ba=>_0x32d0ba[_0x3c50e0(0x2f0)]===_0xb34173);}[a0_0x3a67c7(0x40a)](_0x3dc549){const _0x510e0b=a0_0x3a67c7;this[_0x510e0b(0x3bd)][_0x510e0b(0x40a)](_0x3dc549);}[a0_0x3a67c7(0x295)](_0x275a34){const _0x1952af=a0_0x3a67c7;return this[_0x1952af(0x3bd)][_0x1952af(0x295)](_0x275a34);}[a0_0x3a67c7(0x1b6)](_0x10846e){const _0x3af847=a0_0x3a67c7;return this[_0x3af847(0x3bd)][_0x3af847(0x1b6)](_0x10846e);}[a0_0x3a67c7(0x2c0)](_0x4fc975){const _0x1c5940=a0_0x3a67c7;return this[_0x1c5940(0x3bd)][_0x1c5940(0x2c0)](_0x4fc975);}[a0_0x3a67c7(0x354)](_0x4aa8c3){const _0x2d1d1a=a0_0x3a67c7;return this[_0x2d1d1a(0x3bd)]['some'](_0x4aa8c3);}[a0_0x3a67c7(0x20a)](){const _0x1b8609=a0_0x3a67c7;return this[_0x1b8609(0x3bd)][_0x1b8609(0x1b6)](_0xb659e7=>_0xb659e7['isRequired']());}['getPrimaryKeys'](){const _0x28edbd=a0_0x3a67c7;return this['_fields'][_0x28edbd(0x1b6)](_0x1ad332=>_0x1ad332[_0x28edbd(0x32e)]());}[a0_0x3a67c7(0x3e2)](){const _0x3dd88a=a0_0x3a67c7;return this[_0x3dd88a(0x3bd)]['filter'](_0x15ae7e=>_0x15ae7e[_0x3dd88a(0x229)]());}['getBusiness'](){const _0x10f8d5=a0_0x3a67c7;return this['_fields'][_0x10f8d5(0x1b6)](_0x475fcc=>_0x475fcc[_0x10f8d5(0x1cd)]());}['getEnum'](){const _0x316dde=a0_0x3a67c7;return this[_0x316dde(0x3bd)][_0x316dde(0x1b6)](_0x3ca688=>_0x3ca688[_0x316dde(0x2af)]());}['getAutoIncrement'](){const _0x41207e=a0_0x3a67c7;return this[_0x41207e(0x3bd)][_0x41207e(0x1b6)](_0x485b01=>_0x485b01['isAutoIncrement']());}[a0_0x3a67c7(0x33a)](){const _0x5248ec=a0_0x3a67c7;return this[_0x5248ec(0x3bd)][_0x5248ec(0x1b6)](_0xc20976=>_0xc20976[_0x5248ec(0x1ed)]());}['getUpdateTime'](){const _0x16a43a=a0_0x3a67c7;return this[_0x16a43a(0x3bd)][_0x16a43a(0x1b6)](_0x18df73=>_0x18df73[_0x16a43a(0x39c)]());}[a0_0x3a67c7(0x23b)](){const _0x536f44=a0_0x3a67c7;return this[_0x536f44(0x3bd)]['filter'](_0x3504e7=>_0x3504e7[_0x536f44(0x2b0)]());}[a0_0x3a67c7(0x374)](){const _0x1984cd=a0_0x3a67c7;return this[_0x1984cd(0x3bd)][_0x1984cd(0x1b6)](_0x42c385=>!_0x42c385['isDeleted']());}[a0_0x3a67c7(0x337)](){const _0xad1ef=a0_0x3a67c7,_0xd74c3b={};return this[_0xad1ef(0x3bd)][_0xad1ef(0x40a)](_0x5a641d=>{const _0x148e4b=_0xad1ef,_0x4e09b4=_0x5a641d[_0x148e4b(0x1c4)];!_0xd74c3b[_0x4e09b4]&&(_0xd74c3b[_0x4e09b4]=[]),_0xd74c3b[_0x4e09b4][_0x148e4b(0x3cf)](_0x5a641d);}),_0xd74c3b;}[a0_0x3a67c7(0x3a0)](){const _0x4109e1=a0_0x3a67c7,_0x2dc19c={};return this[_0x4109e1(0x3bd)]['forEach'](_0x246500=>{const _0x3943d7=_0x4109e1;if(_0x246500[_0x3943d7(0x2af)]()){const _0x3186cc=_0x246500['getEnumMeta']();_0x3186cc&&(_0x2dc19c[_0x246500[_0x3943d7(0x2f0)]]=_0x3186cc);}}),_0x2dc19c;}[a0_0x3a67c7(0x1ad)](){const _0x58bd41=a0_0x3a67c7;return{'total':this[_0x58bd41(0x31c)],'required':this[_0x58bd41(0x20a)]()[_0x58bd41(0x31c)],'primaryKey':this[_0x58bd41(0x3b0)]()[_0x58bd41(0x31c)],'system':this[_0x58bd41(0x3e2)]()['length'],'business':this[_0x58bd41(0x33c)]()[_0x58bd41(0x31c)],'enum':this[_0x58bd41(0x336)]()[_0x58bd41(0x31c)],'autoIncrement':this['getAutoIncrement']()[_0x58bd41(0x31c)]};}[a0_0x3a67c7(0x1a8)](){const _0x259297=a0_0x3a67c7;return this[_0x259297(0x3bd)][_0x259297(0x295)](_0x33cd94=>_0x33cd94[_0x259297(0x2f0)]);}[a0_0x3a67c7(0x424)](){const _0x2d0865=a0_0x3a67c7;return this[_0x2d0865(0x3bd)][_0x2d0865(0x295)](_0x578dcf=>_0x578dcf[_0x2d0865(0x19e)]());}[a0_0x3a67c7(0x1a5)](){const _0x3c556a=a0_0x3a67c7;return this['_fields'][_0x3c556a(0x295)](_0x3930e7=>_0x3930e7[_0x3c556a(0x1eb)]());}['toJSON'](){const _0x108a9b=a0_0x3a67c7;return this['_fields'][_0x108a9b(0x295)](_0x13b481=>_0x13b481[_0x108a9b(0x41b)]());}[a0_0x3a67c7(0x31b)](){const _0x4c49f8=a0_0x3a67c7;return _0x4c49f8(0x34a)+this['length']+_0x4c49f8(0x3b8);}}class FieldListV1 extends FieldListBase{constructor(_0x117c31,_0xb78442){super(_0x117c31,_0xb78442);}[a0_0x3a67c7(0x3eb)](_0x3adcf7){const _0x43aafc=a0_0x3a67c7;return _0x3adcf7[_0x43aafc(0x295)](_0x9645b0=>new FieldV1(_0x9645b0));}[a0_0x3a67c7(0x320)](){const _0x7d15a7=a0_0x3a67c7;return[...this[_0x7d15a7(0x3bd)]];}['at'](_0x36a69a){return this['_fields']['at'](_0x36a69a);}['find'](_0x122f72){const _0x127729=a0_0x3a67c7;return this['_fields'][_0x127729(0x323)](_0x1f3c53=>_0x1f3c53[_0x127729(0x2f0)]===_0x122f72);}[a0_0x3a67c7(0x255)](_0x378e2a){const _0x5b2ad0=a0_0x3a67c7;return this[_0x5b2ad0(0x3bd)]['find'](_0x3c6def=>_0x3c6def[_0x5b2ad0(0x18e)]===_0x378e2a);}['filter'](_0x3dc339){return this['_fields']['filter'](_0x3dc339);}[a0_0x3a67c7(0x295)](_0x270b2b){const _0x55668f=a0_0x3a67c7;return this['_fields'][_0x55668f(0x295)](_0x270b2b);}[a0_0x3a67c7(0x20a)](){const _0x4bfb82=a0_0x3a67c7;return this[_0x4bfb82(0x3bd)]['filter'](_0x3c3e62=>_0x3c3e62[_0x4bfb82(0x409)]());}[a0_0x3a67c7(0x3b0)](){const _0xa4f2d4=a0_0x3a67c7;return this[_0xa4f2d4(0x3bd)][_0xa4f2d4(0x1b6)](_0xd9466f=>_0xd9466f['isPrimaryKey']());}[a0_0x3a67c7(0x3e2)](){const _0x5868b4=a0_0x3a67c7;return this[_0x5868b4(0x3bd)][_0x5868b4(0x1b6)](_0x3448f2=>_0x3448f2[_0x5868b4(0x229)]());}['getBusiness'](){const _0x2be10b=a0_0x3a67c7;return this[_0x2be10b(0x3bd)]['filter'](_0x5cd531=>_0x5cd531[_0x2be10b(0x1cd)]());}[a0_0x3a67c7(0x336)](){const _0x4b6315=a0_0x3a67c7;return this['_fields'][_0x4b6315(0x1b6)](_0x4b81a1=>_0x4b81a1[_0x4b6315(0x2af)]());}['groupByType'](){const _0x3ae57a=a0_0x3a67c7,_0x18eec6={};return this[_0x3ae57a(0x3bd)][_0x3ae57a(0x40a)](_0x1129e2=>{const _0x35702e=_0x3ae57a,_0x1e3e9e=_0x1129e2['type'];!_0x18eec6[_0x1e3e9e]&&(_0x18eec6[_0x1e3e9e]=[]),_0x18eec6[_0x1e3e9e][_0x35702e(0x3cf)](_0x1129e2);}),_0x18eec6;}['raw'](){const _0x19520d=a0_0x3a67c7;return this[_0x19520d(0x3bd)][_0x19520d(0x295)](_0x253aca=>_0x253aca['raw']);}static[a0_0x3a67c7(0x263)](_0x5a2ccb){const _0x33a0d9=a0_0x3a67c7,_0x1280fd=_0x5a2ccb[_0x33a0d9(0x295)](_0x355d5=>_0x355d5[_0x33a0d9(0x339)]);return new FieldListV1(_0x1280fd);}static[a0_0x3a67c7(0x3c2)](_0xf23aab){const _0x2cb16e=a0_0x3a67c7,_0x181985={};return _0x181985[_0x2cb16e(0x29d)]=!![],new FieldListV1(_0xf23aab,_0x181985);}}class FieldV2 extends FieldBase{[a0_0x3a67c7(0x2eb)];constructor(_0x5decee){const _0xf0ea95=a0_0x3a67c7;super();if(!_0x5decee||typeof _0x5decee!=='object')throw new Error(_0xf0ea95(0x28f));this[_0xf0ea95(0x2eb)]=_0x5decee;}[a0_0x3a67c7(0x406)](){return'v2';}get['raw'](){const _0xe45b0c=a0_0x3a67c7;return this[_0xe45b0c(0x2eb)];}get[a0_0x3a67c7(0x18e)](){return this['_raw']['name']||'';}get['code'](){const _0x2854c2=a0_0x3a67c7;return this['_raw'][_0x2854c2(0x18e)]||'';}get[a0_0x3a67c7(0x1d1)](){const _0x3776eb=a0_0x3a67c7;return this[_0x3776eb(0x2eb)][_0x3776eb(0x1d1)]||'';}get['type'](){const _0x1a4068=a0_0x3a67c7;if(this[_0x1a4068(0x2eb)][_0x1a4068(0x222)])return this[_0x1a4068(0x2eb)]['doType'];return this['mapDbTypeToType'](this[_0x1a4068(0x2eb)][_0x1a4068(0x296)]);}get[a0_0x3a67c7(0x266)](){const _0x1b4e75=a0_0x3a67c7;return this[_0x1b4e75(0x2eb)]['description']||'';}get[a0_0x3a67c7(0x1a9)](){const _0x2aa308=a0_0x3a67c7;return Boolean(this[_0x2aa308(0x2eb)][_0x2aa308(0x1a9)]);}[a0_0x3a67c7(0x409)](){const _0xfe88df=a0_0x3a67c7;return Boolean(this[_0xfe88df(0x2eb)][_0xfe88df(0x3fe)]);}[a0_0x3a67c7(0x32e)](){const _0x369a57=a0_0x3a67c7;return Boolean(this[_0x369a57(0x2eb)][_0x369a57(0x1ea)]);}['isSystem'](){const _0x3390a9=a0_0x3a67c7;return Boolean(this[_0x3390a9(0x2eb)][_0x3390a9(0x23c)]);}['isAutoIncrement'](){const _0x2ab2a5=a0_0x3a67c7;return Boolean(this[_0x2ab2a5(0x2eb)][_0x2ab2a5(0x3c6)]);}[a0_0x3a67c7(0x1ed)](){const _0x5e5c1c=a0_0x3a67c7;return this['_raw']['systemRetain']===_0x5e5c1c(0x1e4);}['isUpdateTime'](){const _0x59ddbd=a0_0x3a67c7;return this[_0x59ddbd(0x2eb)]['systemRetain']===_0x59ddbd(0x364);}[a0_0x3a67c7(0x19e)](){const _0x4e70bd=a0_0x3a67c7;return this[_0x4e70bd(0x2eb)]['displayName']||'';}[a0_0x3a67c7(0x1eb)](){const _0x18b493=a0_0x3a67c7;return this[_0x18b493(0x2eb)][_0x18b493(0x18e)]||'';}[a0_0x3a67c7(0x2af)](){const _0x5f3cf7=a0_0x3a67c7;return Boolean(this[_0x5f3cf7(0x2eb)][_0x5f3cf7(0x422)]&&Array[_0x5f3cf7(0x205)](this['_raw'][_0x5f3cf7(0x422)])&&this[_0x5f3cf7(0x2eb)]['options']['length']>0x0);}[a0_0x3a67c7(0x2fe)](){const _0x6677c8=a0_0x3a67c7,_0x2465c9=this[_0x6677c8(0x2eb)]['extend'];if(!_0x2465c9)return![];try{const _0x3fab50=JSON[_0x6677c8(0x216)](_0x2465c9);if(_0x3fab50&&typeof _0x3fab50===_0x6677c8(0x3ab)&&'multiple'in _0x3fab50)return Boolean(_0x3fab50['multiple']);}catch{}return![];}[a0_0x3a67c7(0x419)](){const _0x25d0b5=a0_0x3a67c7;if(this[_0x25d0b5(0x2eb)]['options']&&Array[_0x25d0b5(0x205)](this[_0x25d0b5(0x2eb)][_0x25d0b5(0x422)]))return this[_0x25d0b5(0x2eb)]['options'];return;}[a0_0x3a67c7(0x1b2)](){const _0x20566a=a0_0x3a67c7,_0x8ef4c2=this['_raw'][_0x20566a(0x343)];if(!_0x8ef4c2)return;try{const _0x4f3743=JSON[_0x20566a(0x216)](_0x8ef4c2);if(_0x4f3743&&typeof _0x4f3743===_0x20566a(0x3ab)&&'selectItemsSource'in _0x4f3743)return _0x4f3743['selectItemsSource'];}catch{}return;}[a0_0x3a67c7(0x3a8)](){const _0x5b6881=a0_0x3a67c7;if(!this[_0x5b6881(0x2eb)][_0x5b6881(0x296)])return'';return this[_0x5b6881(0x2eb)]['dbType']['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x5b6881(0x3ba)]()[_0x5b6881(0x186)]();}[a0_0x3a67c7(0x294)](){return;}[a0_0x3a67c7(0x347)](){return;}get['dbType'](){const _0x270bc0=a0_0x3a67c7;return this['_raw'][_0x270bc0(0x296)]??undefined;}get[a0_0x3a67c7(0x3f3)](){const _0x3caf6a=a0_0x3a67c7;return this[_0x3caf6a(0x2eb)][_0x3caf6a(0x3f3)];}[a0_0x3a67c7(0x2d5)](){const _0x4666b4=a0_0x3a67c7;return this['_raw'][_0x4666b4(0x222)]??null;}get['doType'](){const _0x3ee09e=a0_0x3a67c7;return this[_0x3ee09e(0x2eb)]['doType']??null;}[a0_0x3a67c7(0x41b)](){const _0x2511fd=a0_0x3a67c7;return{'name':this[_0x2511fd(0x18e)],'code':this[_0x2511fd(0x2f0)],'type':this[_0x2511fd(0x1c4)],'dbType':this[_0x2511fd(0x296)],'dbTypeLen':this[_0x2511fd(0x3f3)],'doType':this['getDOType'](),'displayName':this[_0x2511fd(0x1d1)],'description':this['description'],'required':this[_0x2511fd(0x409)](),'primaryKey':this[_0x2511fd(0x32e)](),'system':this[_0x2511fd(0x229)](),'autoIncrement':this[_0x2511fd(0x1af)](),'createTime':this['isCreateTime'](),'updateTime':this[_0x2511fd(0x39c)](),'isEnum':this[_0x2511fd(0x2af)](),'enumMeta':this[_0x2511fd(0x2af)]()?this['getEnumMeta']():undefined};}[a0_0x3a67c7(0x31b)](){const _0x505cbf=a0_0x3a67c7;return _0x505cbf(0x27a)+this[_0x505cbf(0x18e)]+',\x20'+this[_0x505cbf(0x2f0)]+',\x20'+this['dbType']+_0x505cbf(0x1e1)+this[_0x505cbf(0x2d5)]()+')';}[a0_0x3a67c7(0x2ee)](_0x4acbb8){const _0x599956=a0_0x3a67c7;if(!_0x4acbb8)return'TEXT';const _0xf5f890={};_0xf5f890['VARCHAR']=_0x599956(0x25c),_0xf5f890[_0x599956(0x260)]=_0x599956(0x25c),_0xf5f890[_0x599956(0x25c)]=_0x599956(0x3b6),_0xf5f890[_0x599956(0x1f2)]=_0x599956(0x3b6),_0xf5f890[_0x599956(0x332)]='NUMBER',_0xf5f890[_0x599956(0x20c)]=_0x599956(0x2de),_0xf5f890[_0x599956(0x270)]=_0x599956(0x2de),_0xf5f890[_0x599956(0x3e3)]='NUMBER',_0xf5f890['DECIMAL']=_0x599956(0x2de),_0xf5f890['DOUBLE']=_0x599956(0x2de),_0xf5f890[_0x599956(0x1ba)]=_0x599956(0x2de),_0xf5f890[_0x599956(0x241)]='DATE',_0xf5f890[_0x599956(0x30c)]='DATE',_0xf5f890[_0x599956(0x2e8)]=_0x599956(0x2e8),_0xf5f890[_0x599956(0x3a5)]=_0x599956(0x3a5),_0xf5f890['BOOLEAN']=_0x599956(0x3d4),_0xf5f890[_0x599956(0x22f)]=_0x599956(0x3d4),_0xf5f890[_0x599956(0x2fc)]=_0x599956(0x3b9),_0xf5f890[_0x599956(0x24d)]='FILE';const _0x3481a6=_0xf5f890,_0x294be9=_0x4acbb8[_0x599956(0x186)]();return _0x3481a6[_0x294be9]||_0x599956(0x25c);}}class FieldListV2 extends FieldListBase{constructor(_0x2cc2af,_0x1464eb){super(_0x2cc2af,_0x1464eb);}[a0_0x3a67c7(0x3eb)](_0x149882){const _0x2bba68=a0_0x3a67c7;return _0x149882[_0x2bba68(0x295)](_0x47530f=>new FieldV2(_0x47530f));}['all'](){const _0x4cc2e0=a0_0x3a67c7;return[...this[_0x4cc2e0(0x3bd)]];}['at'](_0x2bb985){const _0x2eb9c3=a0_0x3a67c7;return this[_0x2eb9c3(0x3bd)]['at'](_0x2bb985);}[a0_0x3a67c7(0x323)](_0x5bc6c4){const _0x51d625=a0_0x3a67c7;return this[_0x51d625(0x3bd)][_0x51d625(0x323)](_0x1dfaab=>_0x1dfaab[_0x51d625(0x2f0)]===_0x5bc6c4);}[a0_0x3a67c7(0x255)](_0x4431b2){const _0x4b35b4=a0_0x3a67c7;return this['_fields'][_0x4b35b4(0x323)](_0x3cbbfa=>_0x3cbbfa['getDisplayName']()===_0x4431b2);}[a0_0x3a67c7(0x1b6)](_0x2592d4){const _0x59ae75=a0_0x3a67c7;return this[_0x59ae75(0x3bd)][_0x59ae75(0x1b6)](_0x2592d4);}[a0_0x3a67c7(0x295)](_0x334721){const _0x2deac9=a0_0x3a67c7;return this['_fields'][_0x2deac9(0x295)](_0x334721);}['getRequired'](){const _0x2a7eb9=a0_0x3a67c7;return this[_0x2a7eb9(0x3bd)][_0x2a7eb9(0x1b6)](_0x43829a=>_0x43829a['isRequired']());}['getPrimaryKeys'](){const _0x42a338=a0_0x3a67c7;return this[_0x42a338(0x3bd)]['filter'](_0x366a1d=>_0x366a1d[_0x42a338(0x32e)]());}[a0_0x3a67c7(0x3e2)](){const _0x26bc2c=a0_0x3a67c7;return this[_0x26bc2c(0x3bd)][_0x26bc2c(0x1b6)](_0x2dec08=>_0x2dec08['isSystem']());}[a0_0x3a67c7(0x33c)](){const _0x17a43d=a0_0x3a67c7;return this[_0x17a43d(0x3bd)][_0x17a43d(0x1b6)](_0x4c66b0=>_0x4c66b0['isBusiness']());}[a0_0x3a67c7(0x336)](){const _0x285247=a0_0x3a67c7;return this[_0x285247(0x3bd)]['filter'](_0x3801df=>_0x3801df[_0x285247(0x2af)]());}[a0_0x3a67c7(0x337)](){const _0x328fc6=a0_0x3a67c7,_0x191742={};return this[_0x328fc6(0x3bd)][_0x328fc6(0x40a)](_0x5cd842=>{const _0x29840a=_0x328fc6,_0x4cc254=_0x5cd842[_0x29840a(0x1c4)];!_0x191742[_0x4cc254]&&(_0x191742[_0x4cc254]=[]),_0x191742[_0x4cc254][_0x29840a(0x3cf)](_0x5cd842);}),_0x191742;}['raw'](){const _0x2e25c1=a0_0x3a67c7;return this[_0x2e25c1(0x3bd)][_0x2e25c1(0x295)](_0x4f7bab=>_0x4f7bab['raw']);}static[a0_0x3a67c7(0x263)](_0x125684){const _0x206047=a0_0x3a67c7,_0x1e80b2=_0x125684[_0x206047(0x295)](_0x580439=>_0x580439[_0x206047(0x339)]);return new FieldListV2(_0x1e80b2);}static[a0_0x3a67c7(0x3c2)](_0x4c80ce){const _0x57e1f1={};return _0x57e1f1['includeDeleted']=!![],new FieldListV2(_0x4c80ce,_0x57e1f1);}[a0_0x3a67c7(0x31b)](){const _0x3aa128=a0_0x3a67c7;return _0x3aa128(0x376)+this[_0x3aa128(0x31c)]+_0x3aa128(0x3b8);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x3a67c7(0x403)];[a0_0x3a67c7(0x41c)];constructor(_0x30e37b){super(_0x30e37b);}[a0_0x3a67c7(0x257)](){const _0x2e1652=a0_0x3a67c7;if(!this[_0x2e1652(0x403)]){const _0x52264f={};_0x52264f['includeDeleted']=![],this[_0x2e1652(0x403)]=new FieldListV1(this[_0x2e1652(0x2eb)][_0x2e1652(0x1ef)]||[],_0x52264f);}return this['_fieldListV1'];}['getFieldListWithDeleted'](){const _0x253d36=a0_0x3a67c7;if(!this[_0x253d36(0x41c)]){const _0x18acf0={};_0x18acf0['includeDeleted']=!![],this[_0x253d36(0x41c)]=new FieldListV1(this[_0x253d36(0x2eb)][_0x253d36(0x1ef)]||[],_0x18acf0);}return this['_fieldListV1WithDeleted'];}[a0_0x3a67c7(0x1d4)](){const _0x6eea6c=a0_0x3a67c7;return(this[_0x6eea6c(0x2eb)][_0x6eea6c(0x1ef)]||[])['filter'](_0x1de1e5=>!_0x1de1e5[_0x6eea6c(0x1a9)]);}[a0_0x3a67c7(0x1fd)](){const _0x1422fb=a0_0x3a67c7;return this[_0x1422fb(0x257)]()[_0x1422fb(0x31c)];}[a0_0x3a67c7(0x21e)](_0x229527){const _0xac47ca=a0_0x3a67c7;return this['_raw'][_0xac47ca(0x1ef)]?.['find'](_0x46aeed=>_0x46aeed[_0xac47ca(0x2f0)]===_0x229527);}[a0_0x3a67c7(0x406)](){return'v1';}[a0_0x3a67c7(0x19f)](){const _0x4feaa6=a0_0x3a67c7,_0x2bdda0={};return _0x2bdda0[_0x4feaa6(0x389)]=this[_0x4feaa6(0x2eb)]['properties']||[],_0x2bdda0[_0x4feaa6(0x29d)]=![],_0x2bdda0;}[a0_0x3a67c7(0x37d)](){const _0x27ded5=a0_0x3a67c7;return this['_raw'][_0x27ded5(0x195)];}['getSource'](){return this['_raw']['source'];}[a0_0x3a67c7(0x2a0)](){const _0x3c1704=a0_0x3a67c7,_0x2d5a70=this[_0x3c1704(0x1a2)](),_0x57a497=_0x2d5a70?.[_0x3c1704(0x273)],_0x5a3d27={};return _0x5a3d27['dbId']=_0x2d5a70?.[_0x3c1704(0x250)],_0x5a3d27[_0x3c1704(0x23f)]=_0x2d5a70?.['dbName']??_0x57a497?.['dbName'],_0x5a3d27['dbType']=_0x57a497?.[_0x3c1704(0x296)],_0x5a3d27[_0x3c1704(0x421)]=_0x57a497?.['dbVersion'],_0x5a3d27['tableName']=_0x2d5a70?.['tableName'],_0x5a3d27[_0x3c1704(0x36b)]=_0x2d5a70?.['datasetKey'],_0x5a3d27[_0x3c1704(0x1ea)]=_0x2d5a70?.[_0x3c1704(0x1ea)],_0x5a3d27[_0x3c1704(0x387)]=_0x57a497?.[_0x3c1704(0x387)],_0x5a3d27[_0x3c1704(0x31a)]=_0x57a497?.[_0x3c1704(0x31a)],new DBConfig(_0x5a3d27,_0x2d5a70);}get['version'](){return this['_raw']['version'];}[a0_0x3a67c7(0x1d5)](_0x1256e6){const _0xaea920=a0_0x3a67c7;if(typeof _0x1256e6!==_0xaea920(0x400)){!![]&&console[_0xaea920(0x3dd)]('[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x1256e6);return;}return this['getFieldList']()['find'](_0x1256e6);}[a0_0x3a67c7(0x200)](_0x15bed8){const _0x2c63cb=a0_0x3a67c7;if(!_0x15bed8||typeof _0x15bed8!=='object')return![];const _0x2e9d33=this[_0x2c63cb(0x1d5)](_0x15bed8['code']);return _0x2e9d33?_0x2e9d33['isMultipleSelect']():![];}[a0_0x3a67c7(0x430)](){const _0x28b94f=a0_0x3a67c7,_0x2c6f4f=this['getOperation'](_0x28b94f(0x1b6));return _0x2c6f4f;}[a0_0x3a67c7(0x1c2)](){const _0x464398=a0_0x3a67c7;return this[_0x464398(0x2c9)](_0x464398(0x1b6));}['toListItem'](){const _0x3b0fed=a0_0x3a67c7;return new DatasetItem({'id':this['id'],'name':this[_0x3b0fed(0x18e)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x3b0fed(0x1a2)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x3a67c7(0x22e)];['_datasetMeta'];[a0_0x3a67c7(0x3bc)];constructor(_0x145ada){const _0xfe97e6=a0_0x3a67c7;super(_0x145ada),this[_0xfe97e6(0x324)]=_0x145ada[_0xfe97e6(0x18c)],this['_relations']=_0x145ada[_0xfe97e6(0x1be)]||[];}[a0_0x3a67c7(0x406)](){return'v2';}[a0_0x3a67c7(0x19f)](){const _0x1b525b=a0_0x3a67c7,_0x9cd553={};return _0x9cd553[_0x1b525b(0x389)]=this[_0x1b525b(0x2eb)][_0x1b525b(0x389)],_0x9cd553['includeDeleted']=![],_0x9cd553;}['getOperationsData'](){const _0xa24059=a0_0x3a67c7;return this[_0xa24059(0x2eb)][_0xa24059(0x195)];}['getSource'](){const _0x128f6e=a0_0x3a67c7;return this[_0x128f6e(0x2eb)][_0x128f6e(0x2d6)];}[a0_0x3a67c7(0x2a0)](){const _0xeb513f=a0_0x3a67c7,_0x10a7bf=this['_raw'][_0xeb513f(0x245)],_0x429b9a=_0x10a7bf?.[_0xeb513f(0x273)],_0x48acf8={};return _0x48acf8[_0xeb513f(0x250)]=_0x10a7bf?.['dbId'],_0x48acf8[_0xeb513f(0x23f)]=_0x10a7bf?.[_0xeb513f(0x23f)]??_0x429b9a?.[_0xeb513f(0x23f)],_0x48acf8[_0xeb513f(0x296)]=_0x429b9a?.[_0xeb513f(0x296)],_0x48acf8[_0xeb513f(0x421)]=_0x429b9a?.[_0xeb513f(0x421)],_0x48acf8[_0xeb513f(0x1a3)]=_0x10a7bf?.[_0xeb513f(0x1a3)],_0x48acf8[_0xeb513f(0x36b)]=_0x10a7bf?.[_0xeb513f(0x36b)],_0x48acf8['pkField']=_0x10a7bf?.[_0xeb513f(0x1ea)],_0x48acf8[_0xeb513f(0x387)]=_0x10a7bf?.[_0xeb513f(0x387)]??_0x429b9a?.[_0xeb513f(0x387)],_0x48acf8[_0xeb513f(0x31a)]=_0x10a7bf?.[_0xeb513f(0x31a)]??_0x429b9a?.[_0xeb513f(0x31a)],new DBConfig(_0x48acf8,_0x10a7bf);}[a0_0x3a67c7(0x257)](){const _0x1c556e=a0_0x3a67c7;return this[_0x1c556e(0x386)]();}[a0_0x3a67c7(0x1d4)](){return this['_raw']['fields']||[];}['getFieldCount'](){const _0x5e541b=a0_0x3a67c7;return(this[_0x5e541b(0x2eb)][_0x5e541b(0x389)]||[])[_0x5e541b(0x31c)];}[a0_0x3a67c7(0x21e)](_0x264a13){const _0x693ed1=a0_0x3a67c7;return this[_0x693ed1(0x2eb)][_0x693ed1(0x389)]['find'](_0x5dcfe8=>_0x5dcfe8[_0x693ed1(0x18e)]===_0x264a13);}[a0_0x3a67c7(0x219)](){const _0xf09926=a0_0x3a67c7;return this[_0xf09926(0x324)];}['getRelations'](){const _0x507227=a0_0x3a67c7;return this[_0x507227(0x3bc)];}[a0_0x3a67c7(0x30f)](){const _0x4b3dd1=a0_0x3a67c7;return this[_0x4b3dd1(0x324)]['indexes']||[];}['getRelationsByField'](_0xdbf680){const _0x4a68a6=a0_0x3a67c7;return this['_relations']['filter'](_0x1379a4=>_0x1379a4[_0x4a68a6(0x2dc)]===_0xdbf680);}[a0_0x3a67c7(0x193)](_0x201b4b){const _0x5e9e25=a0_0x3a67c7;return this[_0x5e9e25(0x3bc)]['some'](_0x54b01d=>_0x54b01d['fromField']===_0x201b4b);}[a0_0x3a67c7(0x42e)](_0x219c6a){const _0xcf3123=a0_0x3a67c7,_0x349e5f=this[_0xcf3123(0x3bc)]['find'](_0x575018=>_0x575018['fromField']===_0x219c6a);if(!_0x349e5f)return;const _0x10bf6f={};return _0x10bf6f[_0xcf3123(0x206)]=_0x349e5f['toDatasetId'],_0x10bf6f['datasetCode']=_0x349e5f[_0xcf3123(0x381)],_0x10bf6f[_0xcf3123(0x20d)]=_0x349e5f[_0xcf3123(0x2b6)],_0x10bf6f['tableName']=_0x349e5f['toTableName'],_0x10bf6f['toField']=_0x349e5f[_0xcf3123(0x2fb)],_0x10bf6f;}[a0_0x3a67c7(0x1c0)](){const _0x5308e8=a0_0x3a67c7;return this['_relations'][_0x5308e8(0x295)](_0x81b4ea=>_0x81b4ea[_0x5308e8(0x2dc)]);}[a0_0x3a67c7(0x386)](){const _0x29848f=a0_0x3a67c7;if(!this['_fieldListV2']){const _0x34488b=this[_0x29848f(0x2eb)]['fields']||[];this[_0x29848f(0x22e)]=new FieldListV2(_0x34488b);}return this[_0x29848f(0x22e)];}[a0_0x3a67c7(0x1d5)](_0x378f77){const _0x10d2ff=a0_0x3a67c7;if(typeof _0x378f77!==_0x10d2ff(0x400)){!![]&&console['warn'](_0x10d2ff(0x3d3),_0x378f77);return;}return this[_0x10d2ff(0x386)]()[_0x10d2ff(0x323)](_0x378f77);}[a0_0x3a67c7(0x200)](_0x4ae86e){const _0x39e90c=a0_0x3a67c7;if(!_0x4ae86e||typeof _0x4ae86e!=='object')return![];const _0x1673dd=_0x4ae86e['name']||_0x4ae86e[_0x39e90c(0x2f0)],_0x185c1c=this[_0x39e90c(0x1d5)](_0x1673dd);return _0x185c1c?_0x185c1c['isMultipleSelect']():![];}[a0_0x3a67c7(0x42c)](){const _0x15f06e=a0_0x3a67c7;if(!this[_0x15f06e(0x3a1)]){const _0x5dc80f=this[_0x15f06e(0x2ac)](this[_0x15f06e(0x37d)]()||{});this[_0x15f06e(0x3a1)]=new OperationList(_0x5dc80f,{'fields':this[_0x15f06e(0x386)]()['all'](),'pkField':this[_0x15f06e(0x2eb)]['dbtableConfig']?.[_0x15f06e(0x1ea)],'dbtableConfig':this[_0x15f06e(0x2eb)][_0x15f06e(0x245)]||null});}return this[_0x15f06e(0x3a1)];}[a0_0x3a67c7(0x430)](){const _0x1adc7e=a0_0x3a67c7,_0x2d597a=this['getOperation'](_0x1adc7e(0x1b6));return _0x2d597a;}['hasFilterOperation'](){const _0xfaafa1=a0_0x3a67c7;return this[_0xfaafa1(0x2c9)](_0xfaafa1(0x1b6));}['toListItem'](){const _0x3de67a=a0_0x3a67c7;return new DatasetItem({'id':this['id'],'name':this[_0x3de67a(0x18e)],'datasetCode':this[_0x3de67a(0x2f6)],'dbtableConfig':this[_0x3de67a(0x1a2)]()});}[a0_0x3a67c7(0x31b)](){const _0xc38ba2=a0_0x3a67c7,_0x329d51=this[_0xc38ba2(0x3bc)][_0xc38ba2(0x31c)],_0x61aa93=this[_0xc38ba2(0x30f)]()[_0xc38ba2(0x31c)];return _0xc38ba2(0x259)+this[_0xc38ba2(0x18e)]+',\x20'+this[_0xc38ba2(0x2f6)]+',\x20'+this[_0xc38ba2(0x1fd)]()+_0xc38ba2(0x1b4)+this['getOperationCount']()+'\x20operations,\x20'+_0x329d51+_0xc38ba2(0x3db)+_0x61aa93+_0xc38ba2(0x416);}['getFieldsV2'](){const _0x412a86=a0_0x3a67c7;return this['_raw'][_0x412a86(0x389)];}[a0_0x3a67c7(0x39b)](_0xfa2423){const _0x4516d1=a0_0x3a67c7;return this['_raw'][_0x4516d1(0x389)]['find'](_0x3c9b35=>_0x3c9b35[_0x4516d1(0x18e)]===_0xfa2423);}}function detectDatasetVersion(_0x2996b1){const _0x5f3db7=a0_0x3a67c7;if(_0x2996b1[_0x5f3db7(0x2d2)]==='v2'&&_0x5f3db7(0x389)in _0x2996b1&&Array[_0x5f3db7(0x205)](_0x2996b1[_0x5f3db7(0x389)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{['_instance'];constructor(_0x53cbbb){super(_0x53cbbb);const _0x21074d=detectDatasetVersion(_0x53cbbb);this['_instance']=_0x21074d==='v2'?new DrivenDataDetailV2(_0x53cbbb):new DrivenDataDetailV1(_0x53cbbb);}get['id'](){const _0x37fa2e=a0_0x3a67c7;return this[_0x37fa2e(0x378)]['id'];}get['name'](){const _0x165fd7=a0_0x3a67c7;return this[_0x165fd7(0x378)]['name'];}get[a0_0x3a67c7(0x2f6)](){const _0x467876=a0_0x3a67c7;return this[_0x467876(0x378)][_0x467876(0x2f6)];}get[a0_0x3a67c7(0x2a1)](){const _0x3513e1=a0_0x3a67c7;return this['_instance']['getVersion']()==='v2'?_0x3513e1(0x1e9):_0x3513e1(0x327);}[a0_0x3a67c7(0x406)](){const _0x2e4b53=a0_0x3a67c7;return this[_0x2e4b53(0x378)][_0x2e4b53(0x406)]();}[a0_0x3a67c7(0x27d)](){const _0x274ab6=a0_0x3a67c7;return this[_0x274ab6(0x378)]['id'];}[a0_0x3a67c7(0x3f4)](){const _0x2b1fb7=a0_0x3a67c7;return this[_0x2b1fb7(0x378)][_0x2b1fb7(0x2f6)];}[a0_0x3a67c7(0x1d8)](){const _0x30f453=a0_0x3a67c7;return this['_instance'][_0x30f453(0x18e)];}[a0_0x3a67c7(0x19f)](){const _0xb0f8d6=a0_0x3a67c7;return this[_0xb0f8d6(0x378)]['getFieldDataSource']();}[a0_0x3a67c7(0x37d)](){const _0x518977=a0_0x3a67c7;return this[_0x518977(0x378)][_0x518977(0x37d)]();}[a0_0x3a67c7(0x22c)](){const _0x4d9b33=a0_0x3a67c7;return this[_0x4d9b33(0x378)][_0x4d9b33(0x22c)]();}[a0_0x3a67c7(0x308)](){return this['_instance']['getFieldListWithDeleted']();}[a0_0x3a67c7(0x257)](){const _0x5f5d13=a0_0x3a67c7;return this[_0x5f5d13(0x378)][_0x5f5d13(0x257)]();}[a0_0x3a67c7(0x365)](){const _0x40bad2=a0_0x3a67c7;return this[_0x40bad2(0x378)][_0x40bad2(0x365)]();}[a0_0x3a67c7(0x1d4)](){const _0x5aa197=a0_0x3a67c7;return this[_0x5aa197(0x378)]['getFields']();}[a0_0x3a67c7(0x1fd)](){const _0x1dfab9=a0_0x3a67c7;return this[_0x1dfab9(0x378)]['getFieldCount']();}['getPkField'](){const _0x3e1f68=a0_0x3a67c7,_0x4dbcd9=this[_0x3e1f68(0x378)]['getRawDbtableConfig']();return _0x4dbcd9?.[_0x3e1f68(0x1ea)];}['getDBConfig'](){const _0x537ae1=a0_0x3a67c7;return this[_0x537ae1(0x378)][_0x537ae1(0x2a0)]();}['getFieldInstance'](_0x2992b7){const _0x2b2f2b=a0_0x3a67c7;return this[_0x2b2f2b(0x378)][_0x2b2f2b(0x1d5)](_0x2992b7);}[a0_0x3a67c7(0x2e9)](){const _0x2fcc88=a0_0x3a67c7;return this[_0x2fcc88(0x378)][_0x2fcc88(0x2e9)]();}[a0_0x3a67c7(0x1fc)](){const _0x38db15=a0_0x3a67c7;return this['_instance'][_0x38db15(0x1fc)]();}['getBusinessFields'](){const _0xb5f0e4=a0_0x3a67c7;return this[_0xb5f0e4(0x378)][_0xb5f0e4(0x30e)]();}['getRequiredFields'](){const _0x5605c8=a0_0x3a67c7;return this[_0x5605c8(0x378)][_0x5605c8(0x2b3)]();}['getFieldsByType'](){const _0x1983b7=a0_0x3a67c7;return this[_0x1983b7(0x378)][_0x1983b7(0x3f1)]();}[a0_0x3a67c7(0x37b)](){const _0x485f00=a0_0x3a67c7;return this[_0x485f00(0x378)][_0x485f00(0x37b)]();}['getEnumFieldsMeta'](){const _0x48bff9=a0_0x3a67c7;return this[_0x48bff9(0x378)][_0x48bff9(0x264)]();}[a0_0x3a67c7(0x2f2)](){const _0x49eb7b=a0_0x3a67c7;return this[_0x49eb7b(0x378)][_0x49eb7b(0x2f2)]();}[a0_0x3a67c7(0x367)](){return this['_instance']['getOperationCount']();}[a0_0x3a67c7(0x34b)](){return this['_instance']['getEnabledOperations']();}['getDisabledOperations'](){const _0x348eda=a0_0x3a67c7;return this[_0x348eda(0x378)][_0x348eda(0x307)]();}[a0_0x3a67c7(0x20f)](){return this['_instance']['getEnabledOperationInstances']();}['getDisabledOperationInstances'](){const _0x4a370a=a0_0x3a67c7;return this[_0x4a370a(0x378)]['getDisabledOperationInstances']();}[a0_0x3a67c7(0x1ad)](){const _0x3b14e4=a0_0x3a67c7;return this[_0x3b14e4(0x378)][_0x3b14e4(0x1ad)]();}[a0_0x3a67c7(0x219)](){const _0x59631b=a0_0x3a67c7;return this['_instance'][_0x59631b(0x219)]();}[a0_0x3a67c7(0x311)](){const _0x178c44=a0_0x3a67c7;return this['_instance'][_0x178c44(0x311)]();}['getIndexes'](){const _0x5d6e25=a0_0x3a67c7;return this['_instance'][_0x5d6e25(0x30f)]();}[a0_0x3a67c7(0x3f7)](){const _0x54b4a7=a0_0x3a67c7;return this['_instance'][_0x54b4a7(0x3f7)]();}['getFieldsFilterOperatorsMap'](){const _0x515b17=a0_0x3a67c7;return this[_0x515b17(0x378)][_0x515b17(0x2ce)]();}[a0_0x3a67c7(0x41b)](){const _0x4b9c92=a0_0x3a67c7;return this[_0x4b9c92(0x378)]['toJSON']();}[a0_0x3a67c7(0x430)](){const _0x4da834=a0_0x3a67c7;return this['_instance'][_0x4da834(0x430)]();}[a0_0x3a67c7(0x1c2)](){return this['_instance']['hasFilterOperation']();}['toListItem'](){const _0x34f760=a0_0x3a67c7;return this[_0x34f760(0x378)][_0x34f760(0x18b)]();}[a0_0x3a67c7(0x31b)](){const _0x4e6679=a0_0x3a67c7;return this[_0x4e6679(0x378)][_0x4e6679(0x31b)]();}[a0_0x3a67c7(0x3a9)](){const _0x9a957b=a0_0x3a67c7;return this[_0x9a957b(0x378)];}}function detectDatasetVersion2(_0x1d7ac2){const _0x4c7670=a0_0x3a67c7;if(_0x1d7ac2[_0x4c7670(0x2d2)]==='v2'&&_0x4c7670(0x389)in _0x1d7ac2&&Array[_0x4c7670(0x205)](_0x1d7ac2[_0x4c7670(0x389)]))return'v2';return'v1';}function createDrivenDataDetail(_0x3e2fbf,_0xfef516={}){const {forceVersion:_0xd560c2}=_0xfef516;if(_0xd560c2==='v2')return new DrivenDataDetailV2(_0x3e2fbf);if(_0xd560c2==='v1')return new DrivenDataDetailV1(_0x3e2fbf);const _0x3de00b=detectDatasetVersion2(_0x3e2fbf);if(_0x3de00b==='v2')return new DrivenDataDetailV2(_0x3e2fbf);return new DrivenDataDetailV1(_0x3e2fbf);}function isV2Data(_0x150d0b){return detectDatasetVersion2(_0x150d0b)==='v2';}function isV1Data(_0x15da69){return detectDatasetVersion2(_0x15da69)==='v1';}function isV2Instance(_0x5178ba){return _0x5178ba['getVersion']()==='v2';}function isV1Instance(_0x161286){const _0x6ee525=a0_0x3a67c7;return _0x161286[_0x6ee525(0x406)]()==='v1';}class DatasetGroup{[a0_0x3a67c7(0x2b5)];constructor(_0x1343a2){const _0x24cd5d=a0_0x3a67c7;this['items']=Array[_0x24cd5d(0x205)](_0x1343a2)?[..._0x1343a2]:[_0x1343a2],this[_0x24cd5d(0x2b5)][_0x24cd5d(0x355)]((_0xd8a9c9,_0xd0da4c)=>{const _0x245c8b=Number(_0xd8a9c9['id'])||0x0,_0x359cd3=Number(_0xd0da4c['id'])||0x0;return _0x359cd3-_0x245c8b;});}[a0_0x3a67c7(0x1e3)](){const _0x1257f2=a0_0x3a67c7;return this[_0x1257f2(0x2b5)][_0x1257f2(0x31c)]>0x1;}[a0_0x3a67c7(0x32b)](){return this['items'][0x0];}[a0_0x3a67c7(0x282)](){const _0x2f3ade=a0_0x3a67c7;return this[_0x2f3ade(0x2b5)][this['items'][_0x2f3ade(0x31c)]-0x1];}[a0_0x3a67c7(0x2c6)](){return[...this['items']];}['getCount'](){const _0x184e13=a0_0x3a67c7;return this['items'][_0x184e13(0x31c)];}['getAt'](_0x271aee){const _0x281b09=a0_0x3a67c7;return this[_0x281b09(0x2b5)][_0x271aee];}[a0_0x3a67c7(0x40c)](_0x309526){const _0x2804b9=a0_0x3a67c7;return this[_0x2804b9(0x2b5)][_0x2804b9(0x323)](_0x33f712=>_0x33f712['id']===_0x309526);}[a0_0x3a67c7(0x1f6)](_0x4dea43){const _0x49b98b=a0_0x3a67c7;return this['items'][_0x49b98b(0x323)](_0x44715c=>_0x44715c[_0x49b98b(0x2f6)]===_0x4dea43);}[a0_0x3a67c7(0x1bd)](){const _0x2490d8=a0_0x3a67c7;return this[_0x2490d8(0x2b5)]['map'](_0x34ab79=>_0x34ab79['id'])['filter'](_0x4367f9=>_0x4367f9!==undefined);}[a0_0x3a67c7(0x1a8)](){const _0xa64f7d=a0_0x3a67c7;return this['items'][_0xa64f7d(0x295)](_0x131342=>_0x131342[_0xa64f7d(0x2f6)]);}[a0_0x3a67c7(0x31b)](){const _0x3e21ed=a0_0x3a67c7;if(this[_0x3e21ed(0x1e3)]())return _0x3e21ed(0x1c3)+this[_0x3e21ed(0x2b5)][_0x3e21ed(0x31c)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x3e21ed(0x32b)]()[_0x3e21ed(0x18e)]+')';return _0x3e21ed(0x1c3)+this['items'][0x0][_0x3e21ed(0x18e)]+')';}}class DatasetGroupMap{[a0_0x3a67c7(0x333)];constructor(_0x4bef22){const _0x20b904=a0_0x3a67c7;this[_0x20b904(0x333)]=new Map();for(const _0xaff7b7 of _0x4bef22){const _0x51e431=_0xaff7b7[_0x20b904(0x316)](),_0x26959e=_0xaff7b7['dbtableConfig']?.['dbId'],_0x1279b2=_0xaff7b7[_0x20b904(0x245)]?.[_0x20b904(0x23f)]||_0xaff7b7[_0x20b904(0x245)]?.[_0x20b904(0x273)]?.[_0x20b904(0x23f)]||'',_0x1cc7b1=_0x26959e!==undefined&&_0x26959e!==null?'db'+_0x26959e:_0x1279b2?getTableKey(_0x1279b2):'',_0x5e96ea=_0x1cc7b1?_0x1cc7b1+'_'+_0x51e431:_0x51e431,_0x359a35=getTableKey(_0x5e96ea);if(!this[_0x20b904(0x333)][_0x20b904(0x208)](_0x359a35))this[_0x20b904(0x333)][_0x20b904(0x415)](_0x359a35,new DatasetGroup(_0xaff7b7));else{const _0xcbbc88=this['groups'][_0x20b904(0x341)](_0x359a35),_0x106623=[..._0xcbbc88[_0x20b904(0x2c6)](),_0xaff7b7];this['groups']['set'](_0x359a35,new DatasetGroup(_0x106623));}}}[a0_0x3a67c7(0x341)](_0x42b667){const _0x40c889=a0_0x3a67c7;return this[_0x40c889(0x333)][_0x40c889(0x341)](_0x42b667);}[a0_0x3a67c7(0x208)](_0x50f777){const _0x96d1af=a0_0x3a67c7;return this[_0x96d1af(0x333)][_0x96d1af(0x208)](_0x50f777);}get[a0_0x3a67c7(0x31e)](){const _0x525daa=a0_0x3a67c7;return this[_0x525daa(0x333)][_0x525daa(0x31e)];}[a0_0x3a67c7(0x289)](){const _0x7ce3f=a0_0x3a67c7;return this[_0x7ce3f(0x333)][_0x7ce3f(0x289)]();}[a0_0x3a67c7(0x348)](){const _0x56b5be=a0_0x3a67c7;return this[_0x56b5be(0x333)]['values']();}['entries'](){const _0x19fa11=a0_0x3a67c7;return this['groups'][_0x19fa11(0x240)]();}[Symbol[a0_0x3a67c7(0x280)]](){const _0x50b1c3=a0_0x3a67c7;return this['groups'][_0x50b1c3(0x240)]();}[a0_0x3a67c7(0x40a)](_0xb0dc27){this['groups']['forEach']((_0x33334b,_0x4e4cdc)=>_0xb0dc27(_0x33334b,_0x4e4cdc,this));}[a0_0x3a67c7(0x1d6)](){const _0x58e6dc=a0_0x3a67c7,_0x36d443=new Map();for(const [_0x5e6092,_0x2a34ce]of this['groups']){_0x2a34ce[_0x58e6dc(0x1e3)]()&&_0x36d443['set'](_0x5e6092,_0x2a34ce);}return _0x36d443;}['hasConflicts'](){const _0x11f5f3=a0_0x3a67c7;for(const _0x3fbc1e of this[_0x11f5f3(0x333)][_0x11f5f3(0x348)]()){if(_0x3fbc1e[_0x11f5f3(0x1e3)]())return!![];}return![];}[a0_0x3a67c7(0x237)](){const _0x5c4853=a0_0x3a67c7;let _0x2d851d=0x0,_0x2bd18b=0x0;for(const _0x360f3c of this[_0x5c4853(0x333)][_0x5c4853(0x348)]()){_0x360f3c[_0x5c4853(0x1e3)]()&&(_0x2d851d++,_0x2bd18b+=_0x360f3c[_0x5c4853(0x2f3)]());}const _0x29c27a={};return _0x29c27a['conflictGroupCount']=_0x2d851d,_0x29c27a[_0x5c4853(0x33b)]=_0x2bd18b,_0x29c27a[_0x5c4853(0x36f)]=this[_0x5c4853(0x333)]['size'],_0x29c27a;}['getAllDatasets'](){const _0x5616c4=a0_0x3a67c7,_0x276664=[];for(const _0x4cfee4 of this['groups'][_0x5616c4(0x348)]()){_0x276664['push'](..._0x4cfee4[_0x5616c4(0x2c6)]());}return _0x276664;}[a0_0x3a67c7(0x26c)](){const _0x4c10f5=a0_0x3a67c7,_0x4bb7c6=[];for(const _0x7269de of this['groups'][_0x4c10f5(0x348)]()){_0x4bb7c6[_0x4c10f5(0x3cf)](_0x7269de[_0x4c10f5(0x32b)]());}return _0x4bb7c6;}[a0_0x3a67c7(0x32b)](_0x93b042){const _0x256928=a0_0x3a67c7;return this[_0x256928(0x333)][_0x256928(0x341)](_0x93b042)?.[_0x256928(0x32b)]();}[a0_0x3a67c7(0x2c6)](_0xa15a02){const _0x818c1f=a0_0x3a67c7;return this[_0x818c1f(0x333)][_0x818c1f(0x341)](_0xa15a02)?.[_0x818c1f(0x2c6)]()||[];}[a0_0x3a67c7(0x318)](){const _0x48c2fb=a0_0x3a67c7,_0x464ba5=this['getLatestDatasets'](),_0x5539ee=new Map();for(const _0x26ddf8 of _0x464ba5){const _0x1401a2=_0x26ddf8[_0x48c2fb(0x316)](),_0x5f2f96=_0x26ddf8[_0x48c2fb(0x245)]?.[_0x48c2fb(0x250)],_0x19ff53=_0x26ddf8[_0x48c2fb(0x245)]?.['dbName']||_0x26ddf8[_0x48c2fb(0x245)]?.['dblinkInfoDTO']?.[_0x48c2fb(0x23f)]||'',_0x38d1a7=_0x5f2f96!==undefined&&_0x5f2f96!==null?'db'+_0x5f2f96:_0x19ff53?getTableKey(_0x19ff53):'';!_0x5539ee['has'](_0x1401a2)&&_0x5539ee[_0x48c2fb(0x415)](_0x1401a2,new Set()),_0x5539ee[_0x48c2fb(0x341)](_0x1401a2)[_0x48c2fb(0x198)](_0x38d1a7);}const _0x4b3a6b=new Set();for(const [_0x521d7b,_0x45de39]of _0x5539ee){_0x45de39[_0x48c2fb(0x31e)]>0x1&&_0x4b3a6b[_0x48c2fb(0x198)](_0x521d7b);}const _0x1356d6={},_0x9c0ce8=new Set();for(const _0x3c370f of _0x464ba5){const _0x15fe53=_0x3c370f[_0x48c2fb(0x316)](),_0xd6ac6=_0x3c370f[_0x48c2fb(0x41b)](),_0x38c074=getTableKey(_0x15fe53);let _0x228f3c=_0x38c074;const _0x162eb0=_0x3c370f[_0x48c2fb(0x245)]?.[_0x48c2fb(0x23f)]||_0x3c370f[_0x48c2fb(0x245)]?.[_0x48c2fb(0x273)]?.[_0x48c2fb(0x23f)]||'';if(_0x4b3a6b[_0x48c2fb(0x208)](_0x15fe53)&&_0x162eb0){const _0x5c1128=getTableKey(_0x162eb0);_0x228f3c=''+_0x5c1128+_0x38c074[_0x48c2fb(0x42f)](0x0)[_0x48c2fb(0x186)]()+_0x38c074[_0x48c2fb(0x3ec)](0x1);}let _0x513e01=_0x228f3c,_0x22dea7=0x1;while(_0x9c0ce8['has'](_0x513e01)){_0x513e01=_0x228f3c+'_'+_0x22dea7,_0x22dea7++;}_0x9c0ce8['add'](_0x513e01);const _0x5b9154=_0x513e01;_0x1356d6[_0x513e01]={'key':_0x513e01,'alias':_0x5b9154,'tableName':_0x15fe53,'datasetCode':_0xd6ac6['datasetCode'],'name':_0xd6ac6[_0x48c2fb(0x18e)],'id':_0xd6ac6['id'],'dbName':_0x162eb0};}return _0x1356d6;}[a0_0x3a67c7(0x2f7)](){const _0xfabd92=a0_0x3a67c7,_0x47db6a=this[_0xfabd92(0x38d)](),_0x3f1824=_0x47db6a['map'](_0x3d8dd5=>_0x3d8dd5['toJSON']());return generateFullDatasetsConfig(_0x3f1824);}['toObject'](){const _0x4f81aa=a0_0x3a67c7,_0x3fee15={};for(const [_0x545694,_0x4dd31a]of this[_0x4f81aa(0x333)]){_0x3fee15[_0x545694]=_0x4dd31a;}return _0x3fee15;}[a0_0x3a67c7(0x41b)](){const _0x56b4e6=a0_0x3a67c7,_0x25a708={};for(const [_0x163c98,_0x3dc1f7]of this[_0x56b4e6(0x333)]){_0x25a708[_0x163c98]=_0x3dc1f7[_0x56b4e6(0x2c6)]()[_0x56b4e6(0x295)](_0x2e03e5=>_0x2e03e5[_0x56b4e6(0x41b)]());}return _0x25a708;}[a0_0x3a67c7(0x31b)](){const _0x1d88f7=a0_0x3a67c7;return _0x1d88f7(0x2ff)+this[_0x1d88f7(0x333)]['size']+'\x20groups,\x20'+(this[_0x1d88f7(0x349)]()?_0x1d88f7(0x1e7):_0x1d88f7(0x2ab))+')';}}class DatasetList{[a0_0x3a67c7(0x2cf)];constructor(_0x5e241f){const _0x438258=a0_0x3a67c7;let _0xd1146d;if(Array['isArray'](_0x5e241f))_0xd1146d=_0x5e241f;else{if(_0x438258(0x28c)in _0x5e241f){if(!_0x5e241f['success'])throw new Error(_0x438258(0x277));if(Array[_0x438258(0x205)](_0x5e241f[_0x438258(0x3cb)]))_0xd1146d=_0x5e241f['data'][_0x438258(0x295)](_0xba7355=>({..._0xba7355,'datasetCode':_0xba7355[_0x438258(0x2f0)]||_0xba7355[_0x438258(0x2f6)]}));else{if(_0x5e241f[_0x438258(0x3cb)]?.[_0x438258(0x346)])_0xd1146d=_0x5e241f[_0x438258(0x3cb)]['tableData'][_0x438258(0x295)](_0x8f0881=>({..._0x8f0881,'datasetCode':_0x8f0881[_0x438258(0x2f0)]||_0x8f0881[_0x438258(0x2f6)]}));else throw new Error(_0x438258(0x2ae));}}else{if(_0x438258(0x346)in _0x5e241f){if(!Array['isArray'](_0x5e241f[_0x438258(0x346)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0xd1146d=_0x5e241f[_0x438258(0x346)][_0x438258(0x295)](_0x302004=>({..._0x302004,'datasetCode':_0x302004[_0x438258(0x2f0)]||_0x302004['datasetCode']}));}else throw new Error(_0x438258(0x254));}}const _0x4bbd86=cleanDatasetNames(_0xd1146d),_0x72a0eb=_0x4bbd86[_0x438258(0x295)](_0x596958=>new DatasetItem(_0x596958));this[_0x438258(0x2cf)]=new DatasetGroupMap(_0x72a0eb);}get[a0_0x3a67c7(0x297)](){const _0x46c777=a0_0x3a67c7;return this[_0x46c777(0x2cf)];}[a0_0x3a67c7(0x390)](){const _0x25afea=a0_0x3a67c7;return this[_0x25afea(0x2cf)][_0x25afea(0x38d)]();}['getCount'](){const _0x4549ac=a0_0x3a67c7;return this['getItems']()[_0x4549ac(0x31c)];}['isEmpty'](){const _0x3b80b1=a0_0x3a67c7;return this['_datasetMap'][_0x3b80b1(0x31e)]===0x0;}[a0_0x3a67c7(0x3a7)](_0x349c87){return this['getItems']()[_0x349c87];}['getFirst'](){const _0x516a56=a0_0x3a67c7;return this[_0x516a56(0x390)]()[0x0];}[a0_0x3a67c7(0x37f)](){const _0x1468f1=a0_0x3a67c7,_0x3d2141=this[_0x1468f1(0x390)]();return _0x3d2141[_0x3d2141[_0x1468f1(0x31c)]-0x1];}[a0_0x3a67c7(0x1f6)](_0x449529){const _0x1b22df=a0_0x3a67c7;for(const _0x277c5b of this[_0x1b22df(0x2cf)][_0x1b22df(0x348)]()){const _0x2d84f2=_0x277c5b[_0x1b22df(0x1f6)](_0x449529);if(_0x2d84f2)return _0x2d84f2;}return;}[a0_0x3a67c7(0x255)](_0x992b9b){const _0x1fc701=a0_0x3a67c7;return this[_0x1fc701(0x390)]()[_0x1fc701(0x323)](_0x164890=>_0x164890[_0x1fc701(0x18e)]===_0x992b9b);}[a0_0x3a67c7(0x40c)](_0x582c10){const _0x3d8a7d=a0_0x3a67c7;for(const _0x31558c of this[_0x3d8a7d(0x2cf)][_0x3d8a7d(0x348)]()){const _0x31ce4d=_0x31558c['findById'](_0x582c10);if(_0x31ce4d)return _0x31ce4d;}return;}[a0_0x3a67c7(0x211)](_0x1930ac){const _0x5ed39f=a0_0x3a67c7;for(const _0xd3f09b of this[_0x5ed39f(0x2cf)][_0x5ed39f(0x348)]()){const _0x7d963a=_0xd3f09b[_0x5ed39f(0x32b)]();if(_0x7d963a['getTableName']()===_0x1930ac)return _0x7d963a;}return;}[a0_0x3a67c7(0x21a)](_0x226551){const _0x52e62e=a0_0x3a67c7,_0x196fc3=[];for(const _0xe96802 of this[_0x52e62e(0x2cf)]['values']()){const _0x304c89=_0xe96802[_0x52e62e(0x32b)]();_0x304c89['getTableName']()===_0x226551&&_0x196fc3[_0x52e62e(0x3cf)](_0x304c89);}return _0x196fc3;}[a0_0x3a67c7(0x1b6)](_0x2a923c){const _0x4fecd6=a0_0x3a67c7,_0x36c0c7=this[_0x4fecd6(0x390)]()[_0x4fecd6(0x1b6)](_0x2a923c);return new DatasetList(_0x36c0c7[_0x4fecd6(0x295)](_0x1c41b7=>_0x1c41b7[_0x4fecd6(0x41b)]()));}['findAll'](_0x1c49c4){const _0x42af2a=a0_0x3a67c7;return this[_0x42af2a(0x390)]()[_0x42af2a(0x1b6)](_0x1c49c4);}['forEach'](_0x1d522f){const _0x46b7fc=a0_0x3a67c7;this[_0x46b7fc(0x390)]()[_0x46b7fc(0x40a)](_0x1d522f);}[a0_0x3a67c7(0x295)](_0x217c56){const _0x3b7987=a0_0x3a67c7;return this[_0x3b7987(0x390)]()['map'](_0x217c56);}[Symbol['iterator']](){const _0x55318b=a0_0x3a67c7;return this[_0x55318b(0x390)]()[Symbol[_0x55318b(0x280)]]();}[a0_0x3a67c7(0x3e9)](){const _0x3ce9e0=a0_0x3a67c7;return this[_0x3ce9e0(0x390)]()[_0x3ce9e0(0x1b6)](_0x1f5a40=>_0x1f5a40[_0x3ce9e0(0x2e4)]());}[a0_0x3a67c7(0x2f5)](){const _0xa79011=a0_0x3a67c7;return this['getItems']()['filter'](_0x8e0e3=>!_0x8e0e3[_0xa79011(0x2e4)]());}['groupByTableName'](){const _0x4d5c89=a0_0x3a67c7,_0x287eaa={};for(const _0x459ca9 of this['_datasetMap']['values']()){const _0x539f66=_0x459ca9[_0x4d5c89(0x32b)]()[_0x4d5c89(0x316)]();_0x287eaa[_0x539f66]=_0x459ca9[_0x4d5c89(0x2c6)]();}return _0x287eaa;}[a0_0x3a67c7(0x2b1)](){const _0x1e4c1f=a0_0x3a67c7,_0x4a0cb1={};for(const _0x4fd599 of this[_0x1e4c1f(0x2cf)]['getConflicts']()[_0x1e4c1f(0x348)]()){const _0x2963ed=_0x4fd599[_0x1e4c1f(0x32b)]()[_0x1e4c1f(0x316)]();_0x4a0cb1[_0x2963ed]=_0x4fd599[_0x1e4c1f(0x2c6)]()['map'](_0x36d110=>_0x36d110[_0x1e4c1f(0x41b)]());}return{'hasConflicts':Object[_0x1e4c1f(0x289)](_0x4a0cb1)['length']>0x0,'conflicts':_0x4a0cb1};}[a0_0x3a67c7(0x349)](){const _0x55afeb=a0_0x3a67c7;return this[_0x55afeb(0x2cf)]['hasConflicts']();}[a0_0x3a67c7(0x26e)](){const _0x27be8b=a0_0x3a67c7,_0x48a80c=[];for(const _0xa455cb of this[_0x27be8b(0x2cf)][_0x27be8b(0x1d6)]()[_0x27be8b(0x348)]()){_0x48a80c[_0x27be8b(0x3cf)](..._0xa455cb[_0x27be8b(0x2c6)]());}return _0x48a80c;}['generateConfig'](_0x366128){const _0x341572=a0_0x3a67c7;if(!_0x366128||Object[_0x341572(0x289)](_0x366128)[_0x341572(0x31c)]===0x0)return this[_0x341572(0x297)]['toConfig']();const _0x619fe9=this['getItems']()[_0x341572(0x295)](_0x4273ba=>_0x4273ba['toJSON']());return generateDatasetsConfig(_0x619fe9,_0x366128);}[a0_0x3a67c7(0x276)](_0x455b45){const _0x179b5d=this['generateConfig'](_0x455b45);return datasetsConfigToArray(_0x179b5d);}[a0_0x3a67c7(0x3f0)](){const _0x28ff0d=a0_0x3a67c7;return this[_0x28ff0d(0x390)]()['map'](_0x594a26=>_0x594a26[_0x28ff0d(0x318)]());}['getStats'](){const _0xee1192=a0_0x3a67c7;return{'total':this[_0xee1192(0x2f3)](),'virtualTables':this[_0xee1192(0x3e9)]()[_0xee1192(0x31c)],'realTables':this['getRealTables']()[_0xee1192(0x31c)],'hasConflicts':this[_0xee1192(0x349)](),'conflictCount':this[_0xee1192(0x26e)]()['length']};}[a0_0x3a67c7(0x199)](){const _0x111de5=a0_0x3a67c7;return this[_0x111de5(0x390)]()[_0x111de5(0x295)](_0xb270b1=>_0xb270b1[_0x111de5(0x41b)]());}[a0_0x3a67c7(0x41b)](){return this['toArray']();}[a0_0x3a67c7(0x31b)](){const _0x1fb514=a0_0x3a67c7;return _0x1fb514(0x2e0)+this[_0x1fb514(0x2f3)]()+_0x1fb514(0x29f)+this['_datasetMap'][_0x1fb514(0x31e)]+'\x20groups)';}static[a0_0x3a67c7(0x40d)](_0xa7ddd){return new DatasetList(_0xa7ddd);}static['initDataset'](_0xda573b){return new DatasetList(_0xda573b);}static[a0_0x3a67c7(0x2cb)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE='import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/node-sdk\x27;\x0a\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27{{appCode}}\x27,\x0a<!--\x20CONDITION:\x20env\x20-->\x0a\x20\x20env:\x20\x27{{env}}\x27,\x0a<!--\x20/CONDITION\x20-->\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27{{datasetCode}}\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27{{alias}}\x27,\x0a\x20\x20\x20\x20}\x0a\x20\x20],\x0a<!--\x20CONDITION:\x20isOpenAPI\x20-->\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,\x0a<!--\x20/CONDITION\x20-->\x0a});\x0a\x0aexport\x20default\x20client;\x0a';function renderTemplate(_0x5cc6cc,_0x25db33,_0x68c643={}){const _0x22e6b2=a0_0x3a67c7;let _0x1ab8dc=_0x5cc6cc;return Object[_0x22e6b2(0x240)](_0x68c643)[_0x22e6b2(0x40a)](([_0x18bf71,_0x3161e7])=>{const _0x5c8c3f=_0x22e6b2,_0x1ba9a3=new RegExp(_0x5c8c3f(0x2db)+_0x18bf71+_0x5c8c3f(0x197),'g');_0x1ab8dc=_0x1ab8dc[_0x5c8c3f(0x396)](_0x1ba9a3,_0x3161e7?'$1':'');}),Object[_0x22e6b2(0x240)](_0x25db33)[_0x22e6b2(0x40a)](([_0x1ff520,_0x5583c5])=>{const _0x212814=_0x22e6b2;if(_0x5583c5!==undefined){const _0x3bdffb=new RegExp('\x5c{\x5c{'+_0x1ff520+_0x212814(0x28b),'g');_0x1ab8dc=_0x1ab8dc[_0x212814(0x396)](_0x3bdffb,_0x5583c5);}}),_0x1ab8dc;}function generateSDKInitCode(_0x435c6f,_0xdf261f,_0x66d6e0,_0x406bfd,_0x25749c){const _0x5a54fe=a0_0x3a67c7,_0x1e4f79={};_0x1e4f79[_0x5a54fe(0x31a)]=_0x435c6f,_0x1e4f79[_0x5a54fe(0x2f6)]=_0xdf261f,_0x1e4f79[_0x5a54fe(0x30a)]=_0x66d6e0,_0x1e4f79[_0x5a54fe(0x247)]=_0x406bfd===_0x5a54fe(0x334)?_0x5a54fe(0x334):undefined;const _0x386dd9={};return _0x386dd9[_0x5a54fe(0x247)]=_0x406bfd!==undefined&&_0x406bfd!==_0x5a54fe(0x398),_0x386dd9[_0x5a54fe(0x25f)]=_0x25749c===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x1e4f79,_0x386dd9);}var ALIAS_EXPLANATION_TEMPLATE='##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a';function generateAliasExplanation(_0x1a0679,_0x5b573b,_0x1d65a6,_0x184859){const _0x4fdfec=a0_0x3a67c7,_0x40b47e=_0x4fdfec(0x2a8)+_0x1a0679,_0x18abb8='{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}',_0xd2b26b={};return _0xd2b26b[_0x4fdfec(0x2f6)]=_0x1a0679,_0xd2b26b[_0x4fdfec(0x37a)]=_0x40b47e,_0xd2b26b[_0x4fdfec(0x1a3)]=_0x5b573b,_0xd2b26b['alias']=_0x1d65a6,_0xd2b26b[_0x4fdfec(0x31a)]=_0x184859,_0xd2b26b[_0x4fdfec(0x228)]=_0x18abb8,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0xd2b26b,{});}function DrivenDataDetailPlusMixin(_0x28fc32){const _0x5ea570=a0_0x3a67c7;return class _0x543d35 extends _0x28fc32{[_0x5ea570(0x217)](_0xba70e3){const _0x214809=_0x5ea570;return{'appCode':_0xba70e3,'datasetSDKKey':this[_0x214809(0x215)](),'alias':this['getModelAlias'](),'tableName':this[_0x214809(0x316)](),'datasetCode':this['datasetCode']};}['generateSDKInitCode'](_0x4e9038,_0x4949f4='online',_0x59bd85=![]){const _0xe543fb=_0x5ea570;return generateSDKInitCode(_0x4e9038,this['datasetCode'],this[_0xe543fb(0x2a2)](),_0x4949f4==='daily'?_0x4949f4:undefined,_0x59bd85);}['generateFullSDKExample'](_0x3d62bc,_0x3b9ffe,_0x39b08d={}){const _0x1e64c7=_0x5ea570,_0x3db1d9=this[_0x1e64c7(0x2f2)]()[_0x1e64c7(0x323)](_0x502e75=>_0x502e75['getName']()===_0x3d62bc);if(!_0x3db1d9)return null;const _0x12cff8={};_0x12cff8[_0x1e64c7(0x1c6)]=_0x39b08d[_0x1e64c7(0x18d)]!==![];const _0x335b1c=this[_0x1e64c7(0x21f)](_0x3d62bc,_0x12cff8);if(!_0x335b1c)return null;const _0x4a405d=[];return _0x4a405d[_0x1e64c7(0x3cf)](_0x1e64c7(0x37c)+_0x3db1d9[_0x1e64c7(0x1d8)]()+_0x1e64c7(0x1f0)),_0x4a405d['push'](_0x335b1c['sdkCall'][_0x1e64c7(0x2f0)]),_0x4a405d['push'](''),_0x39b08d[_0x1e64c7(0x268)]!==![]&&(_0x4a405d[_0x1e64c7(0x3cf)](_0x1e64c7(0x2e5)),_0x4a405d[_0x1e64c7(0x3cf)](_0x335b1c['usageExample'][_0x1e64c7(0x1f9)]),_0x4a405d[_0x1e64c7(0x3cf)](''),_0x4a405d[_0x1e64c7(0x3cf)](_0x335b1c[_0x1e64c7(0x301)][_0x1e64c7(0x36a)])),_0x4a405d['join']('\x0a');}[_0x5ea570(0x38f)](_0x55c059={}){const _0xa214d8=_0x5ea570,_0x444f22=this[_0xa214d8(0x372)](),_0x62e88=[];return _0x444f22[_0xa214d8(0x40a)]((_0x15310d,_0x2d91e1)=>{const _0x33fd3e=_0xa214d8,_0x2293e6=this['generateFullSDKExample'](_0x15310d[_0x33fd3e(0x18e)],_0x33fd3e(0x21d),_0x55c059);_0x2293e6&&(_0x62e88[_0x33fd3e(0x3cf)](_0x33fd3e(0x18f)+(_0x2d91e1+0x1)+'.\x20'+_0x15310d[_0x33fd3e(0x1d1)]),_0x62e88[_0x33fd3e(0x3cf)](_0x2293e6),_0x62e88[_0x33fd3e(0x3cf)](''));}),_0x62e88[_0xa214d8(0x414)]('\x0a');}[_0x5ea570(0x38e)](_0x59120d){const _0x4c234a=_0x5ea570,_0x5e7cec=this[_0x4c234a(0x224)](_0x59120d);if(!_0x5e7cec)return null;const _0x30293c={};return _0x30293c[_0x4c234a(0x18e)]=_0x5e7cec[_0x4c234a(0x18e)],_0x30293c[_0x4c234a(0x1d1)]=_0x5e7cec[_0x4c234a(0x1d1)],_0x30293c['method']=_0x5e7cec['method'],_0x30293c[_0x4c234a(0x38c)]=_0x5e7cec[_0x4c234a(0x38c)],_0x30293c['enabled']=_0x5e7cec['enabled'],_0x30293c['requestFieldCount']=_0x5e7cec[_0x4c234a(0x314)][_0x4c234a(0x31c)],_0x30293c['hasResponseSchema']=_0x5e7cec[_0x4c234a(0x3d6)]!==null,_0x30293c;}[_0x5ea570(0x36e)](_0x2dc766={}){const _0x7e1c31=_0x5ea570,_0x3488da=this[_0x7e1c31(0x372)]();return{'datasetName':this[_0x7e1c31(0x18e)],'datasetCode':this[_0x7e1c31(0x2f6)],'tableName':this['getTableName'](),'totalOperations':_0x3488da[_0x7e1c31(0x31c)],'operations':_0x3488da['map'](_0x27ff51=>({'name':_0x27ff51[_0x7e1c31(0x18e)],'displayName':_0x27ff51[_0x7e1c31(0x1d1)],'method':_0x27ff51[_0x7e1c31(0x291)],'enabled':_0x27ff51['enabled']}))};}[_0x5ea570(0x429)](_0x2966d0){const _0x5eb0d1=_0x5ea570,_0x472c66=this[_0x5eb0d1(0x224)](_0x2966d0);if(!_0x472c66)return[];return _0x472c66[_0x5eb0d1(0x314)][_0x5eb0d1(0x295)](_0x5035c9=>{const _0x3161e0=_0x5eb0d1,_0x179cd1=this[_0x3161e0(0x1d5)](_0x5035c9);if(!_0x179cd1)return null;const _0x441ac9={};return _0x441ac9['code']=_0x5035c9,_0x441ac9[_0x3161e0(0x18e)]=_0x179cd1[_0x3161e0(0x18e)]||_0x5035c9,_0x441ac9;})[_0x5eb0d1(0x1b6)](_0x84aebc=>_0x84aebc!==null);}[_0x5ea570(0x2c1)](){const _0x2bd9eb=_0x5ea570,_0x54ff2a=new Set(this[_0x2bd9eb(0x372)]()[_0x2bd9eb(0x295)](_0x3ec7dd=>String(_0x3ec7dd[_0x2bd9eb(0x1c4)]))),_0x1e1350=[_0x2bd9eb(0x2d8),'getList','update',_0x2bd9eb(0x36d)];return _0x1e1350[_0x2bd9eb(0x1b6)](_0x44a4ee=>!_0x54ff2a[_0x2bd9eb(0x208)](String(_0x44a4ee)));}[_0x5ea570(0x3e8)](_0x438e28=_0x5ea570(0x21d)){const _0x14b536=_0x5ea570;return generateAliasExplanation(this['datasetCode'],this['getTableName'](),this[_0x14b536(0x2a2)](),_0x438e28);}};}function operationToAnalysis(_0x2b4efa){const _0x92893c=a0_0x3a67c7;return{'name':_0x2b4efa[_0x92893c(0x1d8)](),'displayName':_0x2b4efa[_0x92893c(0x19e)](),'type':_0x2b4efa[_0x92893c(0x321)](),'method':_0x2b4efa[_0x92893c(0x3dc)](),'path':_0x2b4efa['getPath'](),'fullUrl':_0x2b4efa[_0x92893c(0x34c)](),'requestFields':_0x2b4efa[_0x92893c(0x379)](),'requestParams':_0x2b4efa[_0x92893c(0x2a9)](),'responseSchema':_0x2b4efa['getResponseSchema'](),'requestExample':_0x2b4efa[_0x92893c(0x203)](),'responseExample':_0x2b4efa[_0x92893c(0x35f)](),'enabled':_0x2b4efa[_0x92893c(0x3c5)]()};}function operationsToAnalyses(_0x246b68){const _0x3e5905=a0_0x3a67c7;if(!Array[_0x3e5905(0x205)](_0x246b68))return!![]&&console[_0x3e5905(0x3dd)](_0x3e5905(0x3d0),_0x246b68),[];return _0x246b68[_0x3e5905(0x295)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x5a0477){const _0x3cec59=a0_0x3a67c7,_0x3bca04=_0x5a0477[_0x3cec59(0x323)](_0x5b63ba=>_0x5b63ba[_0x3cec59(0x18e)]==='filter'),_0x121edc=_0x5a0477[_0x3cec59(0x1b6)](_0x38ed4e=>_0x38ed4e[_0x3cec59(0x18e)]!==_0x3cec59(0x1b6));return _0x3bca04?[_0x3bca04,..._0x121edc]:_0x121edc;}function filterOperationAnalyses(_0x36a03f,_0x4993ca={}){const _0x5ba7ec=a0_0x3a67c7;let _0x90eb5a=_0x36a03f;return!_0x4993ca[_0x5ba7ec(0x1bf)]&&(_0x90eb5a=_0x90eb5a[_0x5ba7ec(0x1b6)](_0x564019=>_0x564019['enabled'])),_0x4993ca[_0x5ba7ec(0x1f3)]!==![]&&(_0x90eb5a=filterApiOperations(_0x90eb5a)),_0x4993ca[_0x5ba7ec(0x1e6)]&&(_0x90eb5a=_0x90eb5a[_0x5ba7ec(0x1b6)](_0x4993ca[_0x5ba7ec(0x1e6)])),sortOperationsWithFilterFirst(_0x90eb5a);}function getOperationStats(_0x26fd9b){const _0x8b3b21=a0_0x3a67c7,_0x546287=_0x26fd9b[_0x8b3b21(0x1b6)](_0x7556a9=>_0x7556a9[_0x8b3b21(0x3e4)]);return{'total':_0x26fd9b['length'],'enabled':_0x546287[_0x8b3b21(0x31c)],'disabled':_0x26fd9b[_0x8b3b21(0x31c)]-_0x546287[_0x8b3b21(0x31c)],'byType':getCountByType(_0x546287),'byMethod':getCountByMethod(_0x546287)};}function getCountByType(_0x2b18cb){const _0x342e5b=a0_0x3a67c7,_0x12f464={};return _0x2b18cb[_0x342e5b(0x40a)](_0x2f0674=>{const _0x3b32f0=_0x342e5b;if(_0x2f0674[_0x3b32f0(0x1c4)])_0x12f464[_0x2f0674['type']]=(_0x12f464[_0x2f0674[_0x3b32f0(0x1c4)]]||0x0)+0x1;}),_0x12f464;}function getCountByMethod(_0x921dc){const _0x44f5ea=a0_0x3a67c7,_0x11aea9={};return _0x921dc[_0x44f5ea(0x40a)](_0x421506=>{const _0x2ff824=_0x44f5ea;_0x11aea9[_0x421506['method']]=(_0x11aea9[_0x421506[_0x2ff824(0x291)]]||0x0)+0x1;}),_0x11aea9;}function supportsCRUD(_0xc8dead){const _0x362200=a0_0x3a67c7,_0x113870=new Set(_0xc8dead[_0x362200(0x295)](_0x3577a6=>_0x3577a6[_0x362200(0x1c4)])[_0x362200(0x1b6)](Boolean));return _0x113870[_0x362200(0x208)](_0x362200(0x2d8))&&_0x113870['has']('getList')&&_0x113870[_0x362200(0x208)]('update')&&_0x113870[_0x362200(0x208)](_0x362200(0x36d));}function createOperationDocMeta(_0xc389fe,_0x65486c,_0x359dda,_0xab1bf6,_0x565875,_0x1ba4e0){const _0x261d17=a0_0x3a67c7,_0x2abdea={};return _0x2abdea[_0x261d17(0x1c6)]=_0x1ba4e0?.[_0x261d17(0x1c6)],{'operation':_0xc389fe,'operationInstance':_0x65486c,'basicInfo':{'name':_0xc389fe[_0x261d17(0x18e)],'displayName':_0xc389fe[_0x261d17(0x1d1)],'method':_0xc389fe[_0x261d17(0x291)],'path':_0xc389fe[_0x261d17(0x38c)],'fullUrl':_0xc389fe[_0x261d17(0x3f2)],'enabled':_0xc389fe[_0x261d17(0x3e4)]},'sdkCall':{'datasetCode':_0x359dda,'datasetSDKKey':_0xab1bf6,'tableName':_0x565875,'operationName':_0xc389fe['name'],'params':_0xc389fe[_0x261d17(0x314)],'code':_0x65486c['generateSDKCallCode'](_0xab1bf6,_0x2abdea)},'usageExample':_0x65486c['generateUsageExample'](_0xab1bf6)};}function createOperationsOverviewData(_0x4153e3){const _0x1d75d9=a0_0x3a67c7,_0x481608={};_0x481608[_0x1d75d9(0x2b9)]=_0x1d75d9(0x18e),_0x481608[_0x1d75d9(0x428)]=_0x1d75d9(0x35b);const _0x4016ee={};_0x4016ee[_0x1d75d9(0x2b9)]='displayName',_0x4016ee['label']=_0x1d75d9(0x310);const _0xb0348d={};_0xb0348d['index']=_0x1d75d9(0x291),_0xb0348d[_0x1d75d9(0x428)]='方法';const _0x2ba54e={};_0x2ba54e[_0x1d75d9(0x2b9)]=_0x1d75d9(0x26b),_0x2ba54e[_0x1d75d9(0x428)]=_0x1d75d9(0x2bd);const _0x3880ca={};_0x3880ca[_0x1d75d9(0x2b9)]=_0x1d75d9(0x38c),_0x3880ca[_0x1d75d9(0x428)]='API路径';const _0x4a0914={};_0x4a0914[_0x1d75d9(0x2b9)]=_0x1d75d9(0x2b7),_0x4a0914[_0x1d75d9(0x428)]='完整的\x20SDK\x20调用代码';const _0x35fa97=[_0x481608,_0x4016ee,_0xb0348d,_0x2ba54e,_0x3880ca,_0x4a0914],_0x149de7=_0x4153e3[_0x1d75d9(0x295)](_0x5a1c1a=>{const _0x54d72f=_0x1d75d9,{basicInfo:_0x10a8a2,sdkCall:_0x40b6c9}=_0x5a1c1a,_0x318552=_0x40b6c9[_0x54d72f(0x2f0)][_0x54d72f(0x396)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x54d72f(0x396)](/;$/,''),_0xac43dc={};return _0xac43dc['displayName']=_0x10a8a2[_0x54d72f(0x1d1)],_0xac43dc['name']=_0x10a8a2[_0x54d72f(0x18e)],_0xac43dc[_0x54d72f(0x291)]=_0x10a8a2[_0x54d72f(0x291)],_0xac43dc[_0x54d72f(0x38c)]=_0x10a8a2['path'],_0xac43dc[_0x54d72f(0x26b)]=_0x318552,_0xac43dc[_0x54d72f(0x2b7)]=_0x40b6c9[_0x54d72f(0x2f0)],_0xac43dc;}),_0x41d1a6={};return _0x41d1a6[_0x1d75d9(0x2b8)]=_0x35fa97,_0x41d1a6['tableData']=_0x149de7,_0x41d1a6;}function createDatasetDocMeta(_0x4cc695,_0x4749a8,_0x1f234c,_0x546dd5,_0xaa9984,_0x495454,_0x53e0b0,_0x439b35,_0x169654){const _0x4708de=a0_0x3a67c7,_0x514bca={};return _0x514bca[_0x4708de(0x192)]=_0x4cc695+_0x4708de(0x3ca),_0x514bca[_0x4708de(0x397)]={},_0x514bca[_0x4708de(0x195)]=_0x169654,_0x514bca[_0x4708de(0x397)][_0x4708de(0x18e)]=_0x4cc695,_0x514bca[_0x4708de(0x397)]['code']=_0x4749a8,_0x514bca[_0x4708de(0x397)][_0x4708de(0x1a3)]=_0x1f234c,_0x514bca[_0x4708de(0x397)][_0x4708de(0x37a)]=_0x546dd5,_0x514bca[_0x4708de(0x397)][_0x4708de(0x2f9)]=_0xaa9984,_0x514bca[_0x4708de(0x397)][_0x4708de(0x2d6)]=_0x495454,_0x514bca[_0x4708de(0x397)][_0x4708de(0x408)]=_0x53e0b0,_0x514bca[_0x4708de(0x397)]['businessFieldCount']=0x0,_0x514bca[_0x4708de(0x397)]['systemFieldCount']=0x0,_0x514bca[_0x4708de(0x397)]['operationCount']=_0x439b35,_0x514bca[_0x4708de(0x397)][_0x4708de(0x194)]=_0x169654[_0x4708de(0x31c)],_0x514bca;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x3a67c7(0x433)];[a0_0x3a67c7(0x406)](){return'v1';}[a0_0x3a67c7(0x2a2)](){return this['getTableKey']();}['getOperationAnalyses'](_0x23628e=![]){const _0x1221fc=a0_0x3a67c7;if(!_0x23628e&&this['_operationAnalyses'])return this[_0x1221fc(0x433)];const _0x4157ae=this[_0x1221fc(0x2f2)]();return this[_0x1221fc(0x433)]=operationsToAnalyses(_0x4157ae),this[_0x1221fc(0x433)];}[a0_0x3a67c7(0x372)](){const _0x240c45=a0_0x3a67c7,_0x1dd313={};return _0x1dd313[_0x240c45(0x1bf)]=![],_0x1dd313[_0x240c45(0x1f3)]=!![],this[_0x240c45(0x3a3)](_0x1dd313);}['getFilteredOperationAnalyses'](_0x3c68b7={}){const _0x46cf26=a0_0x3a67c7;return filterOperationAnalyses(this[_0x46cf26(0x18a)](),_0x3c68b7);}[a0_0x3a67c7(0x224)](_0x11428d){const _0x11c098=a0_0x3a67c7;return this['getOperationAnalyses']()['find'](_0x1501d0=>_0x1501d0[_0x11c098(0x18e)]===_0x11428d);}[a0_0x3a67c7(0x34d)](_0x521726){const _0x2603de=a0_0x3a67c7;return this[_0x2603de(0x18a)]()[_0x2603de(0x1b6)](_0x5565b1=>_0x5565b1[_0x2603de(0x1c4)]===_0x521726);}[a0_0x3a67c7(0x21f)](_0x24ce53,_0x325c7b){const _0x513182=a0_0x3a67c7,_0x254a90=this[_0x513182(0x224)](_0x24ce53);if(!_0x254a90)return null;const _0x13f912=this[_0x513182(0x2f2)]()[_0x513182(0x323)](_0x3f3a97=>_0x3f3a97[_0x513182(0x1d8)]()===_0x254a90[_0x513182(0x18e)]);if(!_0x13f912)throw new Error(_0x513182(0x25b)+_0x254a90['name']);return createOperationDocMeta(_0x254a90,_0x13f912,this[_0x513182(0x2f6)],this[_0x513182(0x215)](),this[_0x513182(0x316)](),_0x325c7b);}['getDatasetDocMeta'](_0x4e82c8={}){const _0x49a8b8=a0_0x3a67c7,_0x1a4349=this[_0x49a8b8(0x3a3)](_0x4e82c8),_0x972226=_0x1a4349[_0x49a8b8(0x295)](_0x43529e=>this[_0x49a8b8(0x21f)](_0x43529e[_0x49a8b8(0x18e)]))['filter'](_0x5b1e9d=>_0x5b1e9d!==null);return createDatasetDocMeta(this['name'],this[_0x49a8b8(0x2f6)],this[_0x49a8b8(0x316)](),this[_0x49a8b8(0x215)](),this[_0x49a8b8(0x331)](),this[_0x49a8b8(0x2d6)],this[_0x49a8b8(0x1fd)](),this[_0x49a8b8(0x367)](),_0x972226);}['getOperationsOverviewData'](_0x5aee38){return createOperationsOverviewData(_0x5aee38);}[a0_0x3a67c7(0x2c8)](){const _0x2b6bed=a0_0x3a67c7;return supportsCRUD(this[_0x2b6bed(0x372)]());}[a0_0x3a67c7(0x3d1)](){const _0x70c10e=a0_0x3a67c7;return getOperationStats(this[_0x70c10e(0x18a)]());}['toString'](){const _0xaa53f0=a0_0x3a67c7,_0x23d2f3=this[_0xaa53f0(0x3d1)]();return'DrivenDataDetailPlus('+this[_0xaa53f0(0x18e)]+',\x20'+this[_0xaa53f0(0x2f6)]+',\x20'+this[_0xaa53f0(0x1fd)]()+_0xaa53f0(0x1b4)+_0x23d2f3[_0xaa53f0(0x3e4)]+'/'+_0x23d2f3[_0xaa53f0(0x19a)]+_0xaa53f0(0x418);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x3a67c7(0x433)];[a0_0x3a67c7(0x406)](){return'v2';}[a0_0x3a67c7(0x2a2)](){const _0x275f79=a0_0x3a67c7;return this[_0x275f79(0x331)]();}[a0_0x3a67c7(0x18a)](_0x43382c=![]){const _0x1bafbe=a0_0x3a67c7;if(!_0x43382c&&this[_0x1bafbe(0x433)])return this['_operationAnalyses'];const _0x2719a0=this[_0x1bafbe(0x2f2)]();return this[_0x1bafbe(0x433)]=operationsToAnalyses(_0x2719a0),this[_0x1bafbe(0x433)];}[a0_0x3a67c7(0x372)](){const _0x49f073=a0_0x3a67c7,_0x15cb99={};return _0x15cb99[_0x49f073(0x1bf)]=![],_0x15cb99[_0x49f073(0x1f3)]=!![],this[_0x49f073(0x3a3)](_0x15cb99);}[a0_0x3a67c7(0x3a3)](_0x5acdbf={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x5acdbf);}[a0_0x3a67c7(0x224)](_0x29a854){const _0x3e4e12=a0_0x3a67c7;return this[_0x3e4e12(0x18a)]()[_0x3e4e12(0x323)](_0x35974c=>_0x35974c[_0x3e4e12(0x18e)]===_0x29a854);}[a0_0x3a67c7(0x34d)](_0x265564){const _0x14bcd6=a0_0x3a67c7;return this[_0x14bcd6(0x18a)]()['filter'](_0x182ff1=>_0x182ff1['type']===_0x265564);}[a0_0x3a67c7(0x21f)](_0xd8d9ff,_0x54bae9){const _0x17af97=a0_0x3a67c7,_0x3b05a4=this[_0x17af97(0x224)](_0xd8d9ff);if(!_0x3b05a4)return null;const _0x38e8c4=this[_0x17af97(0x2f2)]()[_0x17af97(0x323)](_0x2107f4=>_0x2107f4[_0x17af97(0x1d8)]()===_0x3b05a4['name']);if(!_0x38e8c4)throw new Error(_0x17af97(0x25b)+_0x3b05a4[_0x17af97(0x18e)]);return createOperationDocMeta(_0x3b05a4,_0x38e8c4,this[_0x17af97(0x2f6)],this['getDatasetSDKKey'](),this['getTableName'](),_0x54bae9);}['getDatasetDocMeta'](_0x65c458={}){const _0x142dd5=a0_0x3a67c7,_0x2ed43e=this[_0x142dd5(0x3a3)](_0x65c458),_0x4ef0f5=_0x2ed43e['map'](_0x245c94=>this[_0x142dd5(0x21f)](_0x245c94[_0x142dd5(0x18e)]))['filter'](_0x387992=>_0x387992!==null);return createDatasetDocMeta(this['name'],this[_0x142dd5(0x2f6)],this[_0x142dd5(0x316)](),this[_0x142dd5(0x215)](),this[_0x142dd5(0x331)](),this[_0x142dd5(0x2d6)],this[_0x142dd5(0x1fd)](),this[_0x142dd5(0x367)](),_0x4ef0f5);}[a0_0x3a67c7(0x1b9)](_0x1ad515){return createOperationsOverviewData(_0x1ad515);}['supportsCRUD'](){const _0x94d161=a0_0x3a67c7;return supportsCRUD(this[_0x94d161(0x372)]());}[a0_0x3a67c7(0x3d1)](){const _0x8d66ba=a0_0x3a67c7;return getOperationStats(this[_0x8d66ba(0x18a)]());}[a0_0x3a67c7(0x31b)](){const _0x5d830e=a0_0x3a67c7,_0x1a0175=this[_0x5d830e(0x3d1)]();return _0x5d830e(0x1a7)+this[_0x5d830e(0x18e)]+',\x20'+this[_0x5d830e(0x2f6)]+',\x20'+this[_0x5d830e(0x1fd)]()+_0x5d830e(0x1b4)+_0x1a0175[_0x5d830e(0x3e4)]+'/'+_0x1a0175[_0x5d830e(0x19a)]+_0x5d830e(0x377);}}function detectDatasetVersion3(_0x112410){const _0x3aa80c=a0_0x3a67c7;if(_0x112410[_0x3aa80c(0x2d2)]==='v2'&&_0x3aa80c(0x389)in _0x112410&&Array[_0x3aa80c(0x205)](_0x112410[_0x3aa80c(0x389)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x3a67c7(0x378)];constructor(_0xedd3c9){const _0x405eab=detectDatasetVersion3(_0xedd3c9);return this['_instance']=_0x405eab==='v2'?new DrivenDataDetailPlusV2(_0xedd3c9):new DrivenDataDetailPlusV1(_0xedd3c9),new Proxy(this,{'get'(_0x52a736,_0x2bc2fe){const _0x4f0c8d=a0_0x1599;if(_0x2bc2fe in _0x52a736){const _0x50e36a=_0x52a736[_0x2bc2fe];return typeof _0x50e36a===_0x4f0c8d(0x40b)?_0x50e36a['bind'](_0x52a736):_0x50e36a;}if(_0x2bc2fe in _0x52a736[_0x4f0c8d(0x378)]){const _0x170081=_0x52a736[_0x4f0c8d(0x378)][_0x2bc2fe];return typeof _0x170081===_0x4f0c8d(0x40b)?_0x170081['bind'](_0x52a736[_0x4f0c8d(0x378)]):_0x170081;}return;},'set'(_0x5a42a0,_0x259a8d,_0x3947b9){return _0x5a42a0[_0x259a8d]=_0x3947b9,!![];},'getPrototypeOf'(_0x53af46){const _0x49add1=a0_0x1599;return DrivenDataDetailPlus[_0x49add1(0x368)];}});}get[a0_0x3a67c7(0x18e)](){const _0x1dcfd8=a0_0x3a67c7;return this[_0x1dcfd8(0x378)][_0x1dcfd8(0x18e)];}get['id'](){const _0x8b904b=a0_0x3a67c7;return this[_0x8b904b(0x378)]['id'];}get[a0_0x3a67c7(0x2f6)](){const _0x93a5ff=a0_0x3a67c7;return this[_0x93a5ff(0x378)][_0x93a5ff(0x2f6)];}get[a0_0x3a67c7(0x2d6)](){const _0x229812=a0_0x3a67c7;return this['_instance'][_0x229812(0x2d6)];}get[a0_0x3a67c7(0x245)](){const _0x379fe3=a0_0x3a67c7;return this[_0x379fe3(0x378)][_0x379fe3(0x2a0)]();}['getVersion'](){const _0x304b19=a0_0x3a67c7,_0x427e09=this['_instance'][_0x304b19(0x406)]();return _0x427e09==='v2'?'v2':'v1';}[a0_0x3a67c7(0x1fd)](){return this['_instance']['getFieldCount']();}[a0_0x3a67c7(0x367)](){const _0x28700d=a0_0x3a67c7;return this['_instance'][_0x28700d(0x367)]();}[a0_0x3a67c7(0x1d4)](){return this['_instance']['getFields']();}[a0_0x3a67c7(0x2f2)](){const _0x56dfc1=a0_0x3a67c7;return this[_0x56dfc1(0x378)][_0x56dfc1(0x2f2)]();}[a0_0x3a67c7(0x2ca)](_0x5700a7){const _0x4c7e30=a0_0x3a67c7;return this[_0x4c7e30(0x378)][_0x4c7e30(0x2ca)](_0x5700a7);}[a0_0x3a67c7(0x1d5)](_0x4c9848){const _0x2f2647=a0_0x3a67c7;return this[_0x2f2647(0x378)]['getFieldInstance'](_0x4c9848);}[a0_0x3a67c7(0x316)](){const _0x325e6c=a0_0x3a67c7;return this[_0x325e6c(0x378)][_0x325e6c(0x316)]();}[a0_0x3a67c7(0x331)](){const _0xe46b88=a0_0x3a67c7;return this[_0xe46b88(0x378)][_0xe46b88(0x331)]();}['getDatasetSDKKey'](){const _0x3faa45=a0_0x3a67c7;return this[_0x3faa45(0x378)][_0x3faa45(0x215)]();}[a0_0x3a67c7(0x257)](){const _0x2ceefd=a0_0x3a67c7;return this[_0x2ceefd(0x378)]['getFieldList']();}[a0_0x3a67c7(0x37b)](){const _0x1bb86b=a0_0x3a67c7;return this['_instance'][_0x1bb86b(0x37b)]();}[a0_0x3a67c7(0x264)](){const _0x4b8306=a0_0x3a67c7;return this[_0x4b8306(0x378)]['getEnumFieldsMeta']();}[a0_0x3a67c7(0x200)](_0x3580ed){const _0x414fac=a0_0x3a67c7;return this[_0x414fac(0x378)][_0x414fac(0x200)](_0x3580ed);}['getField'](_0xb2afe8){const _0x39011b=a0_0x3a67c7;return this[_0x39011b(0x378)][_0x39011b(0x3d2)](_0xb2afe8);}['getFieldOptions'](_0x190510){const _0x292441=a0_0x3a67c7;return this[_0x292441(0x378)][_0x292441(0x350)](_0x190510);}[a0_0x3a67c7(0x230)](_0x1b09f8){const _0x31e097=a0_0x3a67c7;return this[_0x31e097(0x378)][_0x31e097(0x230)](_0x1b09f8);}[a0_0x3a67c7(0x3da)](_0x5135e0){const _0x3518ce=a0_0x3a67c7;return this[_0x3518ce(0x378)][_0x3518ce(0x3da)](_0x5135e0);}[a0_0x3a67c7(0x258)](_0x320041,_0x3b20e6){const _0x352a11=a0_0x3a67c7;return this[_0x352a11(0x378)][_0x352a11(0x258)](_0x320041,_0x3b20e6);}['isRequiredField'](_0x24cc25){const _0x208a5a=a0_0x3a67c7;return this[_0x208a5a(0x378)][_0x208a5a(0x41f)](_0x24cc25);}['getStats'](){const _0x4cb74b=a0_0x3a67c7;return this[_0x4cb74b(0x378)][_0x4cb74b(0x1ad)]();}[a0_0x3a67c7(0x430)](){const _0x32eddc=a0_0x3a67c7;return this[_0x32eddc(0x378)]['getFilterOperation']();}[a0_0x3a67c7(0x1c2)](){const _0x480d0f=a0_0x3a67c7;return this[_0x480d0f(0x378)][_0x480d0f(0x1c2)]();}['hasOperation'](_0x4d281b){const _0x10b6c5=a0_0x3a67c7;return this[_0x10b6c5(0x378)]['hasOperation'](_0x4d281b);}[a0_0x3a67c7(0x2a0)](){const _0x4cb043=a0_0x3a67c7;return this[_0x4cb043(0x378)][_0x4cb043(0x2a0)]();}[a0_0x3a67c7(0x1a2)](){const _0x186b55=a0_0x3a67c7;return this[_0x186b55(0x378)][_0x186b55(0x1a2)]();}[a0_0x3a67c7(0x22c)](){const _0x365fdf=a0_0x3a67c7;return this[_0x365fdf(0x378)][_0x365fdf(0x22c)]();}[a0_0x3a67c7(0x18a)](_0x40737f){const _0x2a3102=a0_0x3a67c7;return this[_0x2a3102(0x378)]['getOperationAnalyses'](_0x40737f);}[a0_0x3a67c7(0x372)](){const _0x1609fd=a0_0x3a67c7;return this[_0x1609fd(0x378)]['getEnabledOperationAnalyses']();}[a0_0x3a67c7(0x3a3)](_0x1b6bfa){const _0xfe3853=a0_0x3a67c7;return this[_0xfe3853(0x378)][_0xfe3853(0x3a3)](_0x1b6bfa);}[a0_0x3a67c7(0x224)](_0x242f3d){const _0x499941=a0_0x3a67c7;return this[_0x499941(0x378)][_0x499941(0x224)](_0x242f3d);}[a0_0x3a67c7(0x34d)](_0x561433){const _0x4ed93e=a0_0x3a67c7;return this[_0x4ed93e(0x378)]['getOperationAnalysesByType'](_0x561433);}['getOperationDocMeta'](_0x327f12,_0x466e42){const _0x4395f5=a0_0x3a67c7;return this[_0x4395f5(0x378)]['getOperationDocMeta'](_0x327f12,_0x466e42);}[a0_0x3a67c7(0x210)](_0x9191bb){const _0x307d96=a0_0x3a67c7;return this[_0x307d96(0x378)][_0x307d96(0x210)](_0x9191bb);}[a0_0x3a67c7(0x1b9)](_0x831d3e){const _0x46772f=a0_0x3a67c7;return this[_0x46772f(0x378)][_0x46772f(0x1b9)](_0x831d3e);}[a0_0x3a67c7(0x2a2)](){const _0x4f92bc=a0_0x3a67c7;return this[_0x4f92bc(0x378)][_0x4f92bc(0x2a2)]();}['supportsCRUD'](){const _0x2298c2=a0_0x3a67c7;return this[_0x2298c2(0x378)][_0x2298c2(0x2c8)]();}[a0_0x3a67c7(0x3d1)](){const _0x398098=a0_0x3a67c7;return this[_0x398098(0x378)][_0x398098(0x3d1)]();}[a0_0x3a67c7(0x31b)](){const _0x324c04=a0_0x3a67c7;return this[_0x324c04(0x378)]['toString']();}[a0_0x3a67c7(0x3ef)](_0x520ae1){const _0x46ff9d=a0_0x3a67c7;return this[_0x46ff9d(0x378)][_0x46ff9d(0x3ef)](_0x520ae1);}[a0_0x3a67c7(0x217)](_0x31a062){const _0x212620=a0_0x3a67c7;return this[_0x212620(0x378)][_0x212620(0x217)](_0x31a062);}[a0_0x3a67c7(0x2ec)](_0x57f325,_0x314040,_0x5ec0d0){const _0x2393a9=a0_0x3a67c7;return this[_0x2393a9(0x378)][_0x2393a9(0x2ec)](_0x57f325,_0x314040,_0x5ec0d0);}['generateFullSDKExample'](_0x1fc5a2,_0x321531,_0x26af97){const _0x16cc52=a0_0x3a67c7;return this[_0x16cc52(0x378)][_0x16cc52(0x1bc)](_0x1fc5a2,_0x321531,_0x26af97);}[a0_0x3a67c7(0x38f)](_0x52b137){const _0x5da9fa=a0_0x3a67c7;return this['_instance'][_0x5da9fa(0x38f)](_0x52b137);}[a0_0x3a67c7(0x38e)](_0x254573){const _0x5de307=a0_0x3a67c7;return this[_0x5de307(0x378)][_0x5de307(0x38e)](_0x254573);}[a0_0x3a67c7(0x36e)](_0x41e010){const _0x43d7de=a0_0x3a67c7;return this[_0x43d7de(0x378)][_0x43d7de(0x36e)](_0x41e010);}['getOperationRequestFields'](_0x50f67a){const _0x7fd606=a0_0x3a67c7;return this[_0x7fd606(0x378)][_0x7fd606(0x429)](_0x50f67a);}[a0_0x3a67c7(0x2c1)](){const _0x28fa46=a0_0x3a67c7;return this[_0x28fa46(0x378)][_0x28fa46(0x2c1)]();}[a0_0x3a67c7(0x3e8)](){const _0x100e79=a0_0x3a67c7;return this['_instance'][_0x100e79(0x3e8)]();}[a0_0x3a67c7(0x3a9)](){return this['_instance'];}}function createDrivenDataDetailPlus(_0x30290f,_0x58fa08={}){const _0x839d38=a0_0x3a67c7;if(_0x58fa08[_0x839d38(0x187)]==='v1')return new DrivenDataDetailPlusV1(_0x30290f);if(_0x58fa08['forceVersion']==='v2')return new DrivenDataDetailPlusV2(_0x30290f);if(_0x30290f[_0x839d38(0x2d2)]==='v2'||_0x839d38(0x18c)in _0x30290f)return new DrivenDataDetailPlusV2(_0x30290f);return new DrivenDataDetailPlusV1(_0x30290f);}function isPlusV2Instance(_0x4021da){const _0x2d0975=a0_0x3a67c7;return _0x4021da[_0x2d0975(0x406)]()==='v2';}function isPlusV1Instance(_0x464c28){const _0x1fd10a=a0_0x3a67c7;return _0x464c28[_0x1fd10a(0x406)]()==='v1';}var VERSION=a0_0x3a67c7(0x2dd);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
1
|
+
const a0_0x3e48cd=a0_0x23f8;(function(_0x212c7e,_0x476f06){const _0x477240=a0_0x23f8,_0xe88c0=_0x212c7e();while(!![]){try{const _0x44861a=-parseInt(_0x477240(0x31b))/0x1*(parseInt(_0x477240(0x1fb))/0x2)+-parseInt(_0x477240(0x272))/0x3*(parseInt(_0x477240(0xc2))/0x4)+-parseInt(_0x477240(0x1b2))/0x5+parseInt(_0x477240(0x111))/0x6+parseInt(_0x477240(0x244))/0x7*(-parseInt(_0x477240(0x1ff))/0x8)+-parseInt(_0x477240(0x121))/0x9*(-parseInt(_0x477240(0x1e3))/0xa)+parseInt(_0x477240(0x11d))/0xb;if(_0x44861a===_0x476f06)break;else _0xe88c0['push'](_0xe88c0['shift']());}catch(_0x52ebaa){_0xe88c0['push'](_0xe88c0['shift']());}}}(a0_0x2176,0xdb15b));function toCamelCase(_0x330a92){const _0x42c2d8=a0_0x23f8;if(!_0x330a92)return'';return _0x330a92[_0x42c2d8(0x182)](/[_-]/)[_0x42c2d8(0xac)]((_0x597a0f,_0x54b3ba)=>{const _0x25b299=_0x42c2d8;if(_0x54b3ba===0x0)return _0x597a0f[_0x25b299(0xc3)]();return _0x597a0f[_0x25b299(0x126)](0x0)[_0x25b299(0x279)]()+_0x597a0f[_0x25b299(0x1f9)](0x1)[_0x25b299(0xc3)]();})['join']('');}function toPascalCase(_0x3417fa){if(!_0x3417fa)return'';const _0x144179=toCamelCase(_0x3417fa);return _0x144179['charAt'](0x0)['toUpperCase']()+_0x144179['slice'](0x1);}function toSnakeCase(_0x1638ae){const _0x20aee3=a0_0x23f8;if(!_0x1638ae)return'';return _0x1638ae['replace'](/([A-Z])/g,_0x20aee3(0x223))[_0x20aee3(0xc3)]()[_0x20aee3(0x15d)](/^_/,'');}function toKebabCase(_0x1080ef){const _0x357105=a0_0x23f8;if(!_0x1080ef)return'';return _0x1080ef['replace'](/([A-Z])/g,_0x357105(0xe5))[_0x357105(0xc3)]()[_0x357105(0x15d)](/^-/,'');}function normalizeFieldName(_0x4b1a92){const _0x419f9d=a0_0x23f8;if(!_0x4b1a92)return'';return _0x4b1a92['trim']()['replace'](/\s+/g,'_')[_0x419f9d(0x15d)](/[^a-zA-Z0-9_]/g,'_')[_0x419f9d(0x15d)](/_+/g,'_')[_0x419f9d(0x15d)](/^_|_$/g,'');}function getTableName(_0x30cd35){const _0x44be68=a0_0x23f8;if(!_0x30cd35)return _0x44be68(0x2b3);if(_0x30cd35[_0x44be68(0x2aa)]?.[_0x44be68(0x1fa)])return _0x30cd35[_0x44be68(0x2aa)][_0x44be68(0x1fa)];const _0x3d82eb=_0x30cd35[_0x44be68(0x14c)]||_0x30cd35[_0x44be68(0x22c)]||_0x30cd35[_0x44be68(0x92)];if(_0x3d82eb)return generateTableNameFromCode(_0x3d82eb);return _0x44be68(0x2b3);}function getTableKey(_0x3dac41){const _0x18a96d=a0_0x23f8;if(typeof _0x3dac41===_0x18a96d(0x278))return toCamelCase(_0x3dac41);const _0x1d4855=getTableName(_0x3dac41);return toCamelCase(_0x1d4855);}function generateTableNameFromCode(_0x1c4bb5){const _0x5c5837=a0_0x23f8;if(!_0x1c4bb5)return _0x5c5837(0x2b3);const _0x9355e1=_0x1c4bb5['slice'](-0x6)[_0x5c5837(0x240)](0x6,'0');return _0x5c5837(0x107)+_0x9355e1;}function isVirtualTableName(_0x3e9cba){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x3e9cba);}function generateModelKeyFromCode(_0x2711ff){const _0x403570=a0_0x23f8;if(!_0x2711ff)return _0x403570(0xdb);return'dataset_'+_0x2711ff;}function getDbName(_0x12d509){const _0x2d562b=a0_0x23f8;return _0x12d509[_0x2d562b(0x2aa)]?.[_0x2d562b(0x187)]||_0x12d509[_0x2d562b(0x2aa)]?.['dblinkInfoDTO']?.[_0x2d562b(0x187)]||'';}function generateDatasetsConfig(_0xb564a0,_0x58b636={}){const _0x50adcf=a0_0x23f8,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x975cd1,filter:_0x6b6a3f}=_0x58b636,_0x52c6bb=_0x6b6a3f?_0xb564a0[_0x50adcf(0x2af)](_0x6b6a3f):_0xb564a0,_0x508f96=new Map();for(const _0x2b486d of _0x52c6bb){const _0x48c42a=getTableName(_0x2b486d),_0x59944f=getDbName(_0x2b486d);!_0x508f96[_0x50adcf(0x2b9)](_0x48c42a)&&_0x508f96[_0x50adcf(0x317)](_0x48c42a,new Set()),_0x508f96[_0x50adcf(0x32d)](_0x48c42a)[_0x50adcf(0x136)](_0x59944f);}const _0x545310=new Set();for(const [_0x1a1aba,_0x4f2e92]of _0x508f96){_0x4f2e92[_0x50adcf(0x13b)]>0x1&&_0x545310['add'](_0x1a1aba);}const _0x99e6b={},_0x533672=new Set();for(const _0x340fde of _0x52c6bb){const _0x5e0ab8=getTableName(_0x340fde);if(enableDeduplication&&_0x533672[_0x50adcf(0x2b9)](_0x5e0ab8)){console[_0x50adcf(0x98)](_0x50adcf(0xf1)+_0x5e0ab8+_0x50adcf(0x154)+_0x340fde[_0x50adcf(0x246)]+'\x20('+_0x340fde[_0x50adcf(0x14c)]+')');continue;}_0x533672['add'](_0x5e0ab8);const _0x127579=_0x975cd1?_0x975cd1(_0x5e0ab8,_0x340fde):getTableKey(_0x5e0ab8),_0x168963=getDbName(_0x340fde),_0xfcc8c=_0x545310[_0x50adcf(0x2b9)](_0x5e0ab8)&&_0x168963?getTableKey(_0x168963)+'_'+_0x127579:_0x127579;_0x99e6b[_0x127579]={'key':_0x127579,'alias':_0xfcc8c,'tableName':_0x5e0ab8,'datasetCode':_0x340fde['datasetCode'],'name':_0x340fde[_0x50adcf(0x246)],'id':_0x340fde['id'],'dbName':_0x168963};}return _0x99e6b;}function generateFullDatasetsConfig(_0x16f8c5,_0x1ab4ed={}){const _0x2bfc82=a0_0x23f8,{filter:_0x292ece,datasetNameGenerator:_0x2b699d}=_0x1ab4ed,_0x5b8f33=_0x292ece?_0x16f8c5[_0x2bfc82(0x2af)](_0x292ece):_0x16f8c5,_0x52e33e=new Map();for(const _0x89911a of _0x5b8f33){const _0x447b98=getTableName(_0x89911a),_0x2ffb34=getDbName(_0x89911a);!_0x52e33e[_0x2bfc82(0x2b9)](_0x447b98)&&_0x52e33e[_0x2bfc82(0x317)](_0x447b98,new Set()),_0x52e33e[_0x2bfc82(0x32d)](_0x447b98)[_0x2bfc82(0x136)](_0x2ffb34);}const _0x5c4a4b=new Set();for(const [_0x395b79,_0x44bc83]of _0x52e33e){_0x44bc83[_0x2bfc82(0x13b)]>0x1&&_0x5c4a4b['add'](_0x395b79);}const _0x16eb44=groupByTableName(_0x5b8f33),_0x37a1cb={};for(const [_0x4ebd20,_0x5bffe2]of Object[_0x2bfc82(0x256)](_0x16eb44)){if(_0x5bffe2[_0x2bfc82(0x1f8)]===0x1){const _0xb99697=_0x5bffe2[0x0],_0x186e88=_0x2b699d?_0x2b699d(_0x4ebd20,_0xb99697):getTableKey(_0x4ebd20),_0x13eb05=getDbName(_0xb99697),_0x4dfc0=_0x5c4a4b[_0x2bfc82(0x2b9)](_0x4ebd20)&&_0x13eb05?getTableKey(_0x13eb05)+'_'+_0x186e88:_0x186e88;_0x37a1cb[_0x186e88]={'key':_0x186e88,'alias':_0x4dfc0,'tableName':_0x4ebd20,'datasetCode':_0xb99697[_0x2bfc82(0x14c)],'name':_0xb99697[_0x2bfc82(0x246)],'id':_0xb99697['id'],'dbName':_0x13eb05};}else{const _0x4cad88=[..._0x5bffe2]['sort']((_0x517332,_0x408c89)=>{const _0x2a380d=Number(_0x517332['id'])||0x0,_0x4b7d7e=Number(_0x408c89['id'])||0x0;return _0x4b7d7e-_0x2a380d;});_0x4cad88[_0x2bfc82(0x194)]((_0x2de799,_0x4cda5d)=>{const _0x5218d4=_0x2bfc82,_0x5cba67=_0x2b699d?_0x2b699d(_0x4ebd20,_0x2de799):getTableKey(_0x4ebd20),_0xe46026=_0x4cda5d===0x0?_0x5cba67:_0x5cba67+'_'+_0x4cda5d,_0xb7b830=getDbName(_0x2de799),_0x40fcbf=_0x5c4a4b[_0x5218d4(0x2b9)](_0x4ebd20)&&_0xb7b830?getTableKey(_0xb7b830)+'_'+_0xe46026:_0xe46026;_0x37a1cb[_0xe46026]={'key':_0xe46026,'alias':_0x40fcbf,'tableName':_0x4ebd20,'datasetCode':_0x2de799['datasetCode'],'name':_0x2de799[_0x5218d4(0x246)],'id':_0x2de799['id'],'dbName':_0xb7b830};});}}return _0x37a1cb;}function detectTableNameConflicts(_0x454a93){const _0x225932=a0_0x23f8,_0x290a1f={};for(const _0x29f986 of _0x454a93){const _0xbf19b5=getTableName(_0x29f986);!_0x290a1f[_0xbf19b5]&&(_0x290a1f[_0xbf19b5]=[]),_0x290a1f[_0xbf19b5][_0x225932(0x2d5)](_0x29f986);}const _0x3dc6aa={};for(const [_0x29806f,_0x32179a]of Object[_0x225932(0x256)](_0x290a1f)){_0x32179a['length']>0x1&&(_0x3dc6aa[_0x29806f]=_0x32179a);}return{'hasConflicts':Object[_0x225932(0x326)](_0x3dc6aa)['length']>0x0,'conflicts':_0x3dc6aa};}function createDatasetNameMap(_0x5d7d36){const _0xb80976=a0_0x23f8,_0x2877c9={};for(const [_0x500b39,_0x2258dd]of Object[_0xb80976(0x256)](_0x5d7d36)){_0x2877c9[_0x500b39]=_0x2258dd[_0xb80976(0x14c)]||'';}return _0x2877c9;}function groupByTableName(_0x104229){const _0xfb55c6=a0_0x23f8,_0x2a9edb={};for(const _0x1bd0e4 of _0x104229){const _0x3c5e95=getTableName(_0x1bd0e4);!_0x2a9edb[_0x3c5e95]&&(_0x2a9edb[_0x3c5e95]=[]),_0x2a9edb[_0x3c5e95][_0xfb55c6(0x2d5)](_0x1bd0e4);}return _0x2a9edb;}function datasetsConfigToArray(_0x40e2a2){const _0x571d93=a0_0x23f8;return Object[_0x571d93(0x94)](_0x40e2a2);}function adaptDrivenDataDetail(_0x5caa51){const _0x3ae7a6=a0_0x23f8,_0x45e181={};return _0x45e181['id']=_0x5caa51[_0x3ae7a6(0x173)],_0x45e181['name']=_0x5caa51['name'],_0x45e181[_0x3ae7a6(0x14c)]=_0x5caa51['modelCode'],_0x45e181[_0x3ae7a6(0x2aa)]=_0x5caa51[_0x3ae7a6(0x2aa)],_0x45e181[_0x3ae7a6(0xeb)]=_0x5caa51[_0x3ae7a6(0xeb)],_0x45e181[_0x3ae7a6(0x2a0)]=_0x5caa51[_0x3ae7a6(0x2a0)],_0x45e181['extend']=_0x5caa51['extend'],_0x45e181[_0x3ae7a6(0x21b)]=_0x5caa51[_0x3ae7a6(0x21b)],_0x45e181[_0x3ae7a6(0x2a1)]=_0x5caa51[_0x3ae7a6(0x2a1)],_0x45e181;}function adaptDrivenDataDetails(_0x5557a0){return _0x5557a0['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x390486){const _0x61a99e=a0_0x23f8;if(!_0x390486['success']||!_0x390486[_0x61a99e(0x32f)])throw new Error(_0x61a99e(0x1e8)+(_0x390486[_0x61a99e(0x2d1)]||_0x390486[_0x61a99e(0x1ab)]));return adaptDrivenDataDetail(_0x390486[_0x61a99e(0x32f)]);}function extractDatasetsFromListResponse(_0x5b32ab){const _0x1cd95b=a0_0x23f8;if(!_0x5b32ab[_0x1cd95b(0x2c3)]||!_0x5b32ab['data']?.['tableData'])throw new Error(_0x1cd95b(0x2f9)+(_0x5b32ab['errorMsg']||_0x5b32ab[_0x1cd95b(0x1ab)]));return _0x5b32ab[_0x1cd95b(0x32f)]['tableData'][_0x1cd95b(0xac)](_0x5f0c79=>({..._0x5f0c79,'datasetCode':_0x5f0c79['code']||_0x5f0c79[_0x1cd95b(0x14c)]}));}function isDrivenDataDetail(_0x221ba8){const _0x50a581=a0_0x23f8;return Boolean(_0x221ba8&&typeof _0x221ba8[_0x50a581(0x92)]===_0x50a581(0x278));}function smartAdapt(_0x4f5e38){const _0x3f89b2=a0_0x23f8;if(isDrivenDataDetail(_0x4f5e38))return adaptDrivenDataDetail(_0x4f5e38);if(_0x4f5e38[_0x3f89b2(0x14c)])return _0x4f5e38;if(_0x4f5e38[_0x3f89b2(0x22c)]){const _0xedb1e={..._0x4f5e38};return _0xedb1e[_0x3f89b2(0x14c)]=_0x4f5e38['code'],_0xedb1e;}return _0x4f5e38;}function cleanNewlines(_0x1483f7){const _0x121ca2=a0_0x23f8;return _0x1483f7['replace'](/[\r\n]+/g,'\x20')[_0x121ca2(0x199)]();}function cleanDatasetName(_0x947d5e){const _0x511d0c=a0_0x23f8;if(!_0x947d5e['name'])return _0x947d5e;return{..._0x947d5e,'name':cleanNewlines(_0x947d5e[_0x511d0c(0x246)])};}function cleanDatasetNames(_0x16ed51){return _0x16ed51['map'](cleanDatasetName);}var DatasetOperationType;(_0x2aa027=>{const _0x3a70a8=a0_0x23f8;_0x2aa027['FILTER']=_0x3a70a8(0x2af),_0x2aa027[_0x3a70a8(0x276)]=_0x3a70a8(0x286),_0x2aa027[_0x3a70a8(0x274)]=_0x3a70a8(0x2ca),_0x2aa027[_0x3a70a8(0xd8)]='getOneOrigin',_0x2aa027['GET_ONE_UPDATE']=_0x3a70a8(0xfc),_0x2aa027['CREATE']=_0x3a70a8(0x25c),_0x2aa027[_0x3a70a8(0x13a)]=_0x3a70a8(0x17d),_0x2aa027[_0x3a70a8(0x10b)]=_0x3a70a8(0x18c),_0x2aa027[_0x3a70a8(0x1f2)]='delete',_0x2aa027[_0x3a70a8(0x9f)]='getSelectOptions',_0x2aa027['GET_FILE_URL']=_0x3a70a8(0x18b),_0x2aa027[_0x3a70a8(0x1d9)]=_0x3a70a8(0x119),_0x2aa027[_0x3a70a8(0x2be)]='getUploadFileScript',_0x2aa027[_0x3a70a8(0x228)]=_0x3a70a8(0x2e5),_0x2aa027[_0x3a70a8(0x89)]=_0x3a70a8(0x144),_0x2aa027[_0x3a70a8(0x157)]=_0x3a70a8(0x17c),_0x2aa027[_0x3a70a8(0x220)]='taskInfo',_0x2aa027[_0x3a70a8(0x321)]=_0x3a70a8(0x33a);})(DatasetOperationType||={});const a0_0x2ed37d={};a0_0x2ed37d[a0_0x3e48cd(0x2af)]=a0_0x3e48cd(0xa5),a0_0x2ed37d[a0_0x3e48cd(0x286)]=a0_0x3e48cd(0xe3),a0_0x2ed37d['getOne']='查询单条',a0_0x2ed37d[a0_0x3e48cd(0xa8)]=a0_0x3e48cd(0x24e),a0_0x2ed37d[a0_0x3e48cd(0xfc)]=a0_0x3e48cd(0x2f0),a0_0x2ed37d['create']='创建',a0_0x2ed37d[a0_0x3e48cd(0x17d)]=a0_0x3e48cd(0x301),a0_0x2ed37d[a0_0x3e48cd(0x18c)]='更新',a0_0x2ed37d[a0_0x3e48cd(0x293)]='删除',a0_0x2ed37d['getSelectOptions']='获取下拉选项',a0_0x2ed37d['getFileUrl']='获取文件URL',a0_0x2ed37d[a0_0x3e48cd(0x119)]=a0_0x3e48cd(0x2d4),a0_0x2ed37d[a0_0x3e48cd(0x104)]=a0_0x3e48cd(0xe9),a0_0x2ed37d['createImport']=a0_0x3e48cd(0x218),a0_0x2ed37d['createExport']=a0_0x3e48cd(0x116),a0_0x2ed37d[a0_0x3e48cd(0x17c)]=a0_0x3e48cd(0x2ed),a0_0x2ed37d[a0_0x3e48cd(0xea)]=a0_0x3e48cd(0x145),a0_0x2ed37d[a0_0x3e48cd(0x33a)]='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0x2ed37d,API_BLACKLIST=[a0_0x3e48cd(0x286),a0_0x3e48cd(0xa8),a0_0x3e48cd(0xfc),a0_0x3e48cd(0x18b)];function parseFieldExtend(_0x44a5c7){const _0x17257b=a0_0x3e48cd;if(!_0x44a5c7||typeof _0x44a5c7!==_0x17257b(0x335))return!![]&&console['warn'](_0x17257b(0x109),_0x44a5c7),{};if(!_0x44a5c7[_0x17257b(0x20a)])return{};try{const _0x2cf75e=typeof _0x44a5c7[_0x17257b(0x20a)]===_0x17257b(0x278)?JSON[_0x17257b(0x312)](_0x44a5c7[_0x17257b(0x20a)]):_0x44a5c7[_0x17257b(0x20a)];if(typeof _0x2cf75e!==_0x17257b(0x335)||_0x2cf75e===null)return{};return _0x2cf75e;}catch{return{};}}function isPrimaryKeyField(_0x2bf7af,_0x15a109){const _0x8d8abe=a0_0x3e48cd;if(!_0x2bf7af||typeof _0x2bf7af!==_0x8d8abe(0x335))return![];if(typeof _0x15a109===_0x8d8abe(0x278)&&_0x2bf7af[_0x8d8abe(0x22c)]===_0x15a109)return!![];const _0x4017b8=parseFieldExtend(_0x2bf7af);return Boolean(_0x4017b8[_0x8d8abe(0x14d)]||_0x4017b8[_0x8d8abe(0x33b)]);}function isSystemField(_0x6dcb9d){const _0x7f883f=a0_0x3e48cd,_0xcf7e2e=parseFieldExtend(_0x6dcb9d);return Boolean(_0xcf7e2e[_0x7f883f(0x149)]);}function isRequiredField(_0x2ac409){const _0xc1c529=parseFieldExtend(_0x2ac409);return Boolean(_0xc1c529['required']);}function isAutoIncrementField(_0x2f7f37){const _0x54c9e3=parseFieldExtend(_0x2f7f37);return Boolean(_0x54c9e3['autoIncrement']);}function isCreateTimeField(_0x419690){const _0x358cbb=a0_0x3e48cd,_0x433db7=parseFieldExtend(_0x419690);return Boolean(_0x433db7[_0x358cbb(0x285)]);}function isModifyTimeField(_0x36c675){const _0x5f51e0=a0_0x3e48cd,_0x54efe6=parseFieldExtend(_0x36c675);return Boolean(_0x54efe6[_0x5f51e0(0x2cd)]);}const a0_0x24321e={};a0_0x24321e[a0_0x3e48cd(0x1dd)]='数字',a0_0x24321e[a0_0x3e48cd(0x1b1)]='文本',a0_0x24321e['TEXTAREA']=a0_0x3e48cd(0x19f),a0_0x24321e[a0_0x3e48cd(0x303)]='日期',a0_0x24321e[a0_0x3e48cd(0x100)]=a0_0x3e48cd(0x32b),a0_0x24321e['TIMESTAMP']='时间戳',a0_0x24321e['SELECT']=a0_0x3e48cd(0x313),a0_0x24321e[a0_0x3e48cd(0x24f)]='多选',a0_0x24321e['RADIO']='单选',a0_0x24321e[a0_0x3e48cd(0xc8)]='开关',a0_0x24321e['UPLOAD']=a0_0x3e48cd(0x28f),a0_0x24321e[a0_0x3e48cd(0x243)]='图片',a0_0x24321e[a0_0x3e48cd(0x12f)]=a0_0x3e48cd(0x1c3),a0_0x24321e[a0_0x3e48cd(0x2c8)]=a0_0x3e48cd(0x2c8),a0_0x24321e[a0_0x3e48cd(0x95)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x24321e;function getDbTypeDisplay(_0x427903){const _0x3bc5e7=a0_0x3e48cd;if(typeof _0x427903!==_0x3bc5e7(0x278))return!![]&&console[_0x3bc5e7(0x98)](_0x3bc5e7(0x26f),_0x427903),String(_0x427903||'-');return DB_TYPE_DISPLAY_MAP[_0x427903]||_0x427903;}function a0_0x23f8(_0x5cec2b,_0x1ee428){_0x5cec2b=_0x5cec2b-0x83;const _0x217667=a0_0x2176();let _0x23f830=_0x217667[_0x5cec2b];return _0x23f830;}function formatDbType(_0xf3a583,_0x357050){const _0x362538=a0_0x3e48cd;if(!_0xf3a583||typeof _0xf3a583!==_0x362538(0x278))return'-';if(!_0x357050||typeof _0x357050!==_0x362538(0x231))return _0xf3a583;const _0x24f8b5=[_0x362538(0x1b1),_0x362538(0x100),_0x362538(0x33d),_0x362538(0x303)];if(_0x24f8b5['includes'](_0xf3a583['toUpperCase']()))return _0xf3a583;return _0xf3a583+'('+_0x357050+')';}function parseOperationType(_0x1bb9d4){const _0x5b474b=a0_0x3e48cd;if(typeof _0x1bb9d4!=='string'){!![]&&console[_0x5b474b(0x98)](_0x5b474b(0x12b),_0x1bb9d4);return;}if(Object[_0x5b474b(0x94)](DatasetOperationType)[_0x5b474b(0x128)](_0x1bb9d4))return _0x1bb9d4;const _0x4a6ca7=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x19f4e4,_0x3a29f9])=>_0x3a29f9===_0x1bb9d4);return _0x4a6ca7?_0x4a6ca7[0x0]:undefined;}function shouldIncludeField(_0x53e01e,_0x49431a,_0x291922){const _0x4b0831=a0_0x3e48cd,_0x23cb42=parseFieldExtend(_0x53e01e),_0x553e19=isPrimaryKeyField(_0x53e01e,_0x291922),_0xb8c893=Boolean(_0x23cb42[_0x4b0831(0x149)]),_0x567292=Boolean(_0x23cb42[_0x4b0831(0x8a)]),_0x3ca85a=Boolean(_0x23cb42[_0x4b0831(0x285)]),_0x44db2d=Boolean(_0x23cb42[_0x4b0831(0x2cd)]);switch(_0x49431a){case'filter':case _0x4b0831(0x286):case _0x4b0831(0x17c):return!![];case'getOne':case'getOneOrigin':case _0x4b0831(0x293):return _0x553e19;case _0x4b0831(0x25c):case _0x4b0831(0x17d):if(_0x553e19&&_0x567292)return![];if(_0xb8c893)return![];if(_0x3ca85a||_0x44db2d)return![];return!![];case _0x4b0831(0x18c):case'getOneUpdate':if(_0x553e19)return!![];if(_0xb8c893)return![];if(_0x3ca85a||_0x44db2d)return![];return!![];case _0x4b0831(0x346):return _0x53e01e[_0x4b0831(0x22c)]===_0x4b0831(0x22c);default:return!![];}}function getFieldsForOperation(_0x4b32ac,_0xdeda8e,_0x1c069e){const _0x31fb1d=a0_0x3e48cd;if(!Array['isArray'](_0x4b32ac))return!![]&&console[_0x31fb1d(0x98)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x4b32ac),[];return _0x4b32ac[_0x31fb1d(0x2af)](_0x53a0a3=>shouldIncludeField(_0x53a0a3,_0xdeda8e,_0x1c069e));}function isApiBlacklisted(_0x29d859){const _0x586a1f=a0_0x3e48cd;if(typeof _0x29d859!==_0x586a1f(0x278))return!![]&&console[_0x586a1f(0x98)](_0x586a1f(0x2c6),_0x29d859),![];return API_BLACKLIST[_0x586a1f(0x128)](_0x29d859);}function filterApiOperations(_0x2d45e4){const _0x3a47d5=a0_0x3e48cd;if(!Array[_0x3a47d5(0x133)](_0x2d45e4))return!![]&&console[_0x3a47d5(0x98)](_0x3a47d5(0x22f),_0x2d45e4),[];return _0x2d45e4[_0x3a47d5(0x2af)](_0x2bfdc4=>_0x2bfdc4&&typeof _0x2bfdc4===_0x3a47d5(0x335)&&!isApiBlacklisted(_0x2bfdc4[_0x3a47d5(0x246)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x3e48cd(0x124)](),'SELECT':({fieldInfo:_0x158548})=>{const _0x20dfb0=a0_0x3e48cd;if(_0x158548?.[_0x20dfb0(0xb2)]&&Array[_0x20dfb0(0x133)](_0x158548[_0x20dfb0(0xb2)])&&_0x158548[_0x20dfb0(0xb2)][_0x20dfb0(0x1f8)]>0x0)return _0x158548[_0x20dfb0(0xb2)][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x2ff3a2})=>{const _0x5ee382=a0_0x3e48cd;if(_0x2ff3a2===_0x5ee382(0xcf))return 0x1;if(_0x2ff3a2===_0x5ee382(0x1e0))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x1ed381})=>{const _0x2926ad=a0_0x3e48cd;if(_0x1ed381&&typeof _0x1ed381==='string'){const _0x49565e=_0x1ed381['toLowerCase']();if(_0x49565e['includes']('邮箱')||_0x49565e[_0x2926ad(0x128)](_0x2926ad(0x226)))return _0x2926ad(0xe8);if(_0x49565e['includes']('电话')||_0x49565e['includes']('手机')||_0x49565e[_0x2926ad(0x128)](_0x2926ad(0x1dc)))return _0x2926ad(0x30b);if(_0x49565e['includes']('地址')||_0x49565e[_0x2926ad(0x128)]('address'))return _0x2926ad(0x2a5);if(_0x49565e[_0x2926ad(0x128)]('姓名')||_0x49565e[_0x2926ad(0x128)]('name'))return'张三';}return'示例文本';},'VARCHAR':({description:_0x24a212})=>TYPE_VALUE_GENERATORS[a0_0x3e48cd(0x1b1)]({'description':_0x24a212}),'CHAR':({description:_0x7d54cc})=>TYPE_VALUE_GENERATORS[a0_0x3e48cd(0x1b1)]({'description':_0x7d54cc}),'STRING':({fieldInfo:_0x4c7258,description:_0x518d90})=>{const _0x129477=a0_0x3e48cd;if(_0x4c7258?.[_0x129477(0x87)]&&typeof _0x4c7258[_0x129477(0x87)]===_0x129477(0x278)&&_0x4c7258[_0x129477(0x87)]!==_0x129477(0xdd))return _0x4c7258['placeholder']['replace'](/^请输入|^请选择/,'');const _0x52cdc6={};return _0x52cdc6['description']=_0x518d90,TYPE_VALUE_GENERATORS[_0x129477(0x1b1)](_0x52cdc6);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x3e48cd(0xc6),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x3e48cd(0x2d3)}),'ARRAY':()=>[a0_0x3e48cd(0x25f),a0_0x3e48cd(0x224)],'UPLOAD':()=>a0_0x3e48cd(0x1c9),'IMAGE':()=>a0_0x3e48cd(0x30f),'RICH_TEXT':()=>a0_0x3e48cd(0x8f)};function generateExampleValue(_0x3cb4f5,_0x58b39e,_0x3300a3,_0x4dde53={}){const _0x201a5b=a0_0x3e48cd;typeof _0x3cb4f5!==_0x201a5b(0x278)&&(!![]&&console['warn']('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x3cb4f5),_0x3cb4f5=String(_0x3cb4f5||''));if(typeof _0x58b39e!==_0x201a5b(0x278))return!![]&&console[_0x201a5b(0x98)]('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x58b39e),'示例值';const {isPrimaryKey:_0x189f4b,dbtableConfig:_0x4541d3}=_0x4dde53;if(_0x189f4b)return 0x1;if(_0x4541d3&&typeof _0x4541d3===_0x201a5b(0x335)){const _0x26e01a=_0x4541d3[_0x201a5b(0x2a8)]?.[_0x201a5b(0x204)]===_0x3cb4f5,_0x145629=_0x4541d3[_0x201a5b(0x196)]?.['fieldName']===_0x3cb4f5;if(_0x26e01a||_0x145629){if(_0x3300a3&&typeof _0x3300a3===_0x201a5b(0x278)&&_0x3300a3['toUpperCase']()['includes'](_0x201a5b(0x33d)))return Date[_0x201a5b(0x124)]();return new Date()[_0x201a5b(0x29e)]()[_0x201a5b(0x15d)]('T','\x20')[_0x201a5b(0x182)]('.')[0x0];}}const _0x5a1434={..._0x4dde53};_0x5a1434[_0x201a5b(0x311)]=_0x3cb4f5;const _0xcc569d=_0x5a1434;if(_0x3300a3&&typeof _0x3300a3==='string'){const _0x473f22=_0x3300a3[_0x201a5b(0x279)](),_0x59d0b9=TYPE_VALUE_GENERATORS[_0x473f22];if(_0x59d0b9)return _0x59d0b9(_0xcc569d);}if(_0x58b39e&&typeof _0x58b39e===_0x201a5b(0x278)){const _0xd08291=_0x58b39e[_0x201a5b(0x279)](),_0x597c1e=TYPE_VALUE_GENERATORS[_0xd08291];if(_0x597c1e)return _0x597c1e(_0xcc569d);}return'示例值';}function generateExampleFromSchema(_0x451b06,_0x823f99){const _0x38bed2=a0_0x3e48cd;if(!_0x451b06||typeof _0x451b06!=='object')return{};if(Array[_0x38bed2(0x133)](_0x451b06)){if(_0x451b06['length']>0x0)return[generateExampleFromSchema(_0x451b06[0x0],_0x823f99)];return[];}const _0x538cb1={};return Object[_0x38bed2(0x326)](_0x451b06)[_0x38bed2(0x194)](_0x2f4144=>{const _0x4a6c75=_0x38bed2,_0x3fc0c0=_0x451b06[_0x2f4144];if(_0x3fc0c0&&typeof _0x3fc0c0===_0x4a6c75(0x335)&&!Array[_0x4a6c75(0x133)](_0x3fc0c0)&&_0x3fc0c0[_0x4a6c75(0x299)]){const _0x102c31=_0x3fc0c0,_0x2ef980=_0x102c31[_0x4a6c75(0x299)],_0x1acf76=_0x102c31[_0x4a6c75(0x2b7)];if(typeof _0x2ef980==='string'){const _0x59230a={};_0x59230a[_0x4a6c75(0x2b7)]=_0x1acf76,_0x59230a[_0x4a6c75(0x2aa)]=_0x823f99,_0x538cb1[_0x2f4144]=generateExampleValue(_0x2f4144,_0x2ef980,undefined,_0x59230a);}else _0x538cb1[_0x2f4144]=_0x4a6c75(0x11c);}else{if(Array[_0x4a6c75(0x133)](_0x3fc0c0))_0x538cb1[_0x2f4144]=_0x3fc0c0[_0x4a6c75(0x1f8)]>0x0?[generateExampleFromSchema(_0x3fc0c0[0x0],_0x823f99)]:[];else _0x3fc0c0&&typeof _0x3fc0c0===_0x4a6c75(0x335)?_0x538cb1[_0x2f4144]=generateExampleFromSchema(_0x3fc0c0,_0x823f99):_0x538cb1[_0x2f4144]=_0x3fc0c0;}}),_0x538cb1;}function parseRequestBody(_0x34f2ab){const _0x32bde0=a0_0x3e48cd;if(!_0x34f2ab)return{};try{return JSON[_0x32bde0(0x312)](_0x34f2ab);}catch(_0x353fe7){return!![]&&console[_0x32bde0(0x98)](_0x32bde0(0x309),_0x353fe7),{};}}function parseResponseBody(_0x574a22){const _0x1d615c=a0_0x3e48cd;if(!_0x574a22)return null;try{const _0x4cc349=JSON[_0x1d615c(0x312)](_0x574a22);return _0x4cc349[_0x1d615c(0x351)]||_0x4cc349;}catch(_0x4e4bc3){return!![]&&console[_0x1d615c(0x98)]('解析\x20responseBody\x20失败:',_0x4e4bc3),null;}}function generateRequestExample(_0x1ad8a1,_0x507d25,_0x281260,_0x362d34){const _0x39a997=a0_0x3e48cd,_0x2d2f58={};if(!Array[_0x39a997(0x133)](_0x1ad8a1))return!![]&&console[_0x39a997(0x98)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x1ad8a1),_0x2d2f58;return _0x1ad8a1[_0x39a997(0x194)](_0x29c13d=>{const _0x5a7e4d=_0x39a997;if(!_0x29c13d||typeof _0x29c13d!=='object'){!![]&&console[_0x5a7e4d(0x98)](_0x5a7e4d(0x17a),_0x29c13d);return;}if(typeof _0x29c13d[_0x5a7e4d(0x22c)]!==_0x5a7e4d(0x278)||typeof _0x29c13d[_0x5a7e4d(0x299)]!==_0x5a7e4d(0x278)){!![]&&console[_0x5a7e4d(0x98)]('[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:',_0x29c13d);return;}const _0x1f8942=parseFieldExtend(_0x29c13d),_0x164c20=_0x29c13d[_0x5a7e4d(0x22c)]===_0x281260||Boolean(_0x1f8942?.[_0x5a7e4d(0x14d)]),_0x2cb17a=generateExampleValue(_0x29c13d[_0x5a7e4d(0x22c)],_0x29c13d[_0x5a7e4d(0x299)],typeof _0x29c13d[_0x5a7e4d(0xde)]===_0x5a7e4d(0x278)?_0x29c13d[_0x5a7e4d(0xde)]:undefined,{'fieldInfo':_0x1f8942,'isPrimaryKey':_0x164c20,'description':_0x29c13d[_0x5a7e4d(0x2b7)]||_0x29c13d[_0x5a7e4d(0x246)],'dbtableConfig':_0x362d34});_0x2d2f58[_0x29c13d['code']]=_0x2cb17a;}),_0x507d25===_0x39a997(0x286)&&(_0x2d2f58[_0x39a997(0xcf)]=0x1,_0x2d2f58['pageSize']=0xa),_0x2d2f58;}function formatEnumValue(_0x3d1bdc,_0x4e4212){const _0x15eb2b=a0_0x3e48cd;if(_0x3d1bdc['multiple']&&Array[_0x15eb2b(0x133)](_0x4e4212))return _0x4e4212[_0x15eb2b(0xac)](_0x5a7cbb=>_0x3d1bdc[_0x15eb2b(0x28c)][String(_0x5a7cbb)]||String(_0x5a7cbb))[_0x15eb2b(0x103)](',\x20');return _0x3d1bdc[_0x15eb2b(0x28c)][String(_0x4e4212)]||String(_0x4e4212);}function a0_0x2176(){const _0x3008e9=['findByCode','description','doVersion','has','\x20relations,\x20','select','getFirst','getFieldCount','GET_UPLOAD_FILE_SCRIPT','getSystemFields','validateEnumValue','isPrimaryKeyField','getLast','success','toField','from','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','dataIndex','JSON','conflictGroupCount','getOne','(id,\x20data);','isMultipleSelect','modifyDate','getOperationAnalysis','getResponseSchema','getOperationFieldsOperatorsMap','errorMsg','getMissingCRUDOperations','value','Excel导出','push','$or','getFieldSelectItemsSource','getFilteredOperationAnalyses','getHTTPFields','分组字段列表','max','getConflicts','hasOperation','INTEGER','toJSON','toConfig','generateOperationSummary','_datasetMeta','getConflictingItems','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','createImport','tenantCode','getRawDbtableConfig','parseFieldExtend','_min','getBusinessFields','method','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','聚合查询','\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','getDisplayName','查询单条(用于更新)','generateHTTPRequestExample','[FieldV1.extend]\x20解析字段\x20','_fieldListV1','getEnumFieldsMeta','getOperationCount','createFields','responseBody','Array','获取数据集列表失败:\x20','getAllFieldsArray','daily','getCountByMethod','_sum','generateExampleValue','dbVersion','_operationAnalyses','批量创建','sdkCall','DATE',',\x20currentPage,\x20pageSize,\x20...\x20});','isAutoIncrement','generateArrayHTTPExample','index','hasUpdateTimeField','解析\x20requestBody\x20失败:','getUpdateFields','13800138000','_fieldListV1WithDeleted','({\x20','children','https://example.com/image.jpg','toFieldDefinition','fieldCode','parse','下拉选择','API路径','DrivenDataDetailV2(','alias','set','_fieldList','对象参数格式','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','295KwvEQN','getDbName','\x20items,\x20conflict,\x20latest:\x20','isDeleted','modifierNameField','iterator','IMPORT_TEMPLATE','Object[]','$gte','getAll','getDatasetSDKKey','keys','getFieldsWithDeleted','getFieldOptions','\x20fields,\x20','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','日期时间','groupByType','get','getEnumFieldMeta','data','requestBody','const\x20result\x20=\x20await\x20client.models.','suffix','generateRequestAllExamples','labelField','object','tableColumns','forceVersion','每页数量(默认:\x2020)','RADIO','importTemplate','pkField','BIGINT','TIMESTAMP','normalizeDbType','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getFilteredOperations','Filter\x20API\x20-\x20高级查询接口','getForeignKeyFields','getApplicableOperators','$lteq','selectItemsSource','getSelectOptions','getUpdateTime','updateTime','$and','raw','getRaw','({\x20code,\x20label\x20});','datasetSDKKey','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','聚合函数配置数组','getBusiness','200','hasCreateTimeField','getPrimaryKeyFields','useArrayValues','操作成功','placeholder','getField','CREATE_EXPORT','autoIncrement','find','generateAliasExplanation','$in','getInternalInstance','<p>富文本内容</p>','();\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}','DESC','modelCode','({\x20/*\x20可选:筛选条件\x20*/\x20});','values','ARRAY','relations','getOperationDocMeta','warn','avg','[Field]\x20Invalid\x20field\x20definition','\x20operations)','getEnum','BOOLEAN','\x20operation','GET_SELECT_OPTIONS','每页条数','getFieldList','DatasetGroupMap(','round','选项编码(可选)','筛选查询','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','selectBestOperator','getOneOrigin','enumValues','getFiltered','$eq','map','findByTableName','responseSchema','all','聚合函数配置数组(type:\x20sum/count/avg/max/min)','mapDbTypeToType','options','multiple','creatorIdField','(id,\x20','GET','getCountByType','isPrimaryKey','findAllByTableName','getDatasetDocMeta','title','getFieldDisplayName','1.0','toTableName','\x20的\x20extend\x20配置失败:','ensureFilterOperation','initDataset','2346572GjDsXX','toLowerCase','generateFromSchema','context','这是一段较长的文本内容示例','\x5c{\x5c{','SWITCH','condition','random','getResponseParamsDocInfo','isOpenAPI','getCount','fromApiResponse','currentPage','includeRequestExample','dbId',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getCodes','DatasetGroup(','generateResponseExample','数组参数格式','getSDKInitData','GET_ONE_ORIGIN','getName','toObject','dataset_unknown','hasConflict','系统自动生成','dbType','hasCreatorIdField','hasDbtableConfig','STRING','getVirtualTables','查询列表','isUpdateTime','-$1','getItems','getRelatedDataset','user@example.com','获取上传脚本','taskInfo','source','paging','POST','sum','getLatest','当前页码(从\x201\x20开始,默认:\x201)','[dsparser]\x20跳过重复的表名\x20\x22','hasConflicts','isNumericField','fromField','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','usageExample','getOperationRequestFields','has\x20conflicts','-\x20其他要更新的字段直接平铺在同一层级','hasField','isSystemField','getOneUpdate','将批量创建数据数组放在\x20items\x20字段中','getRequestFields','FLOAT','DATETIME','bind','字段编码','join','getUploadFileScript','generateFullSDKExample','VARCHAR','dataset_','getRequired','[parseFieldExtend]\x20Invalid\x20field:','stringify','UPDATE','//\x20Call\x20the\x20','getEnabled','getRealTables','_fieldListV2','getExtendField','4257594eQTwJv','toDatasetName','isEnum','getRequestParams','sortOperationsWithFilterFirst','创建导出','tooltip','getEnumOptions','excelExport','getDatabaseVersion','接口名称','示例值','37029454jDUWAL','requestFields','dblinkInfoDTO','SELECT','267921vPZWUj','1.0.0-beta.8','主键ID','now','getOperationsData','charAt','findByName','includes','toString','getOperationFieldOperators','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getModelAlias','enabled','getSource','RICH_TEXT','online','enabledOperationCount','getDatasetMeta','isArray','每页数量(可选)','$gteq','add','boolean','getUpdatableFields','getFieldFilterOperators','BATCH_CREATE','size','undefined','\x20API\x20文档','getFieldsV2','N/A','label','datasetInfo','getPrimaryKeys','isBusiness','createExport','任务信息','generateConfigArray','orderBy','hasRelation','systemRetain','no\x20conflicts','businessFieldCount','datasetCode','primaryKey','getFieldDescription','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','2024-12-31','getEnabledOperationAnalyses','getFieldDataSource','getAt','\x22,数据集:\x20','creatorNameField','getDisabledNames','AGGREGATE','getFilterOperators','getFieldsByType','value1','min','const\x20fileUrl\x20=\x20await\x20client.models.','replace','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getDBConfig','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','String[]','CHAR','每页数量','findAll','every','();','getOperations','prototype','fields','toConfigArray','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','getTableName','getOperationStats','getDatabaseName','Field(','_operations','lastIndexOf','modelId','isRequiredField','字段名称','getSelectItemsSource','_requestExampleCache','getDbTypeForOperation','getFieldTypeFromDefinition','[generateRequestExample]\x20Invalid\x20field:','\x20items,\x20','aggregate','batchCreate','generateUsageExample','getOperationsOverviewData','required','toArray','split','supportsCRUD','BOOL','getTenantCode','Number','dbName','prefix','isEnabled','\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','getFileUrl','update','getNames','getId','getSystemAnalysisResult','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','tableData','includeUsageExample','keyword','forEach','toListItem','updateTimeField','generateHTTPExample','getTableKey','trim','parseRawRequestBody','getDisabledOperations','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','host','SDK\x20调用时传递两个参数:\x0a','长文本',',\x20doType=','errorCode','generateItemExample','\x20operations,\x20v2)','分组后的过滤条件(对聚合结果进行过滤)','TINYINT','getOperators','env','getEnabledNames','SDK\x20调用','generateAllOperationsSummary','msg','totalCount','value2','generateItemsWrapperExample','getCode','//\x20数组参数格式','TEXT','3245795AsvWMk','getDisabled','DatasetItem(','_max','dbTypeLen','LONGBLOB','filterBlacklist','getDefaultValue','path','getModelName','isCreateTime','\x20operations,\x20v1)','-\x20主键使用\x20`id`\x20字段\x0a','desc','isVirtualTable','getTooltip','LONGTEXT','富文本','$startWith','total_count','items','getFieldRaw','generateConfig','https://example.com/file.pdf','HTTP\x20请求示例(平铺格式)','generateSDKInitCode','_instance','fullUrl','createTime','demo-app','hasLogicField','FieldList(','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','default','\x20operations,\x20','datasetName','column','$contain','doType','EXCEL_EXPORT','getOperationAnalyses','//\x20','phone','NUMBER','successCode','getOperation','pageSize','field_name','status','150bvFRHp','getEnumValues',',\x20...\x20});','排序规则(与\x20Filter\x20API\x20一致)','getEnumMeta','获取数据集失败:\x20','单值查询','groupBy','having','getRelationsByField','getFieldInstance','getFullUrl','getStats','请求示例','$lte','DELETE','要更新的字段数据对象','_fieldListWithDeleted','getFieldListWithDeleted','isSystem','SMALLINT','length','slice','tableName','5570EtHKEG','hasFilterOperation','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','getOperationList','16BGHuwl','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','DatasetList(','getByType','$ne','fieldName','exampleWhere','/filter','getAllDatasets','getFieldNames','generateRequestExample','extend','totalGroups','_fields','排序规则','**可更新的字段列表:**','getFilterOperation','getAutoIncrement','getRequiredFields','$endWith','FieldV2(','_operationList','hasModifierIdField','_extend','requestFieldCount','创建导入','getIndexes','operation','properties','[FieldV2]\x20Invalid\x20field\x20definition','datasetKey','SDK\x20调用示例(两参数格式)','_datasetMap','TASK_INFO','(params);','sdkCallCode','_$1','item2','isEnumField','email','generateAllOperationsFullSDKExample','CREATE_IMPORT','customFilter','getType','\x20fields)','code','groupByTableName','getFieldV2','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','distinct','number','getPath','sortNum','DOUBLE','isOperatorApplicableToField','function','isRequired','getFieldOperators','_raw','getAllFieldsString','includeDeleted','(id);','getLatestDatasets','0000','当前页码','padStart','allFields','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','IMAGE','1380449EurRSt','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','name','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','getRequestParamsDocInfo','支持单值或数组','deleted','//\x20对象参数格式','getMethod','查询单条(原始)','CHECKBOX','INT','getEnumFields','displayName','getOldest','modifierIdField','2024-01-01','entries','getSystem','TIME','toFullConfig','HTTP\x20直接调用时使用平铺格式:\x0a','FILE','create','getEnabledOperations','getDatabaseType','item1','appCode','toDatasetId','getDisabledOperationInstances','-\x20主键ID,用于定位要更新的记录\x0a\x0a','({\x20currentPage,\x20pageSize\x20});','_avg','withDeleted','parseRawResponseBody','getOperationOperators','Operation\x20not\x20found:\x20','total','params','count','getFieldListV2','array','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','getAggregates','\x5c}\x5c}','9JZhFgK','logicField','GET_ONE','getCreateTime','GET_LIST','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','string','toUpperCase','generateSDKCallCode','hasTableName','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','Integer','getEnabledOperationInstances','_relations','dataset','getFieldsFilterOperatorsMap','isMultipleSelectField','generateSingleValueExample','includeDisabled','createDate','getList','getRelations','Object','findById','getFieldDefinition','getFieldCode','valueLabels','createAll','DECIMAL','文件上传','String','generateFieldExample','sort','delete','some','const\x20resultByItems\x20=\x20await\x20client.models.',',\x20fields:\x20','groups','null','type','DrivenDataDetailPlus(','2.0','precision','getFieldName','toISOString','columnName','version','operations','返回字段列表(字段投影)','BIT','\x20indexes)','北京市朝阳区','FieldListV2(','getFields','createTimeField','getConflictStats','dbtableConfig','toDatasetCode','数组查询(支持多选)','useFullExample','update\x20接口接受两个参数:\x0a\x0a','filter','where','getOperationAnalysesByType','DrivenDataDetailPlusV2(','dataset_000000','getDOType','getVersion'];a0_0x2176=function(){return _0x3008e9;};return a0_0x2176();}function formatOptionsForDoc(_0x374f0e){const _0x4b52d2=a0_0x3e48cd;return _0x374f0e['map'](_0x22605c=>_0x22605c[_0x4b52d2(0x2d3)]+'('+_0x22605c[_0x4b52d2(0x140)]+')')[_0x4b52d2(0x103)](',\x20');}function formatOptionsAsMarkdownList(_0x45d03e,_0x4ebde4=0x0){const _0x5372a4=a0_0x3e48cd,_0x45296e='\x20\x20'['repeat'](_0x4ebde4),_0x5673fe=[];return _0x45d03e[_0x5372a4(0x194)](_0x354a90=>{const _0x31f8af=_0x5372a4;_0x5673fe[_0x31f8af(0x2d5)](_0x45296e+'-\x20`'+_0x354a90[_0x31f8af(0x2d3)]+'`:\x20'+_0x354a90['label']),_0x354a90[_0x31f8af(0x30e)]&&_0x354a90[_0x31f8af(0x30e)][_0x31f8af(0x1f8)]>0x0&&_0x5673fe[_0x31f8af(0x2d5)](formatOptionsAsMarkdownList(_0x354a90['children'],_0x4ebde4+0x1));}),_0x5673fe[_0x5372a4(0x103)]('\x0a');}class DbtableConfig{[a0_0x3e48cd(0x239)];constructor(_0x4b28a0){const _0x2a5670=a0_0x3e48cd,_0x62b9b0={..._0x4b28a0};this[_0x2a5670(0x239)]=_0x62b9b0;}get[a0_0x3e48cd(0xd1)](){const _0x440d51=a0_0x3e48cd;return this['_raw'][_0x440d51(0xd1)];}get[a0_0x3e48cd(0x187)](){const _0x54ba2e=a0_0x3e48cd;return this[_0x54ba2e(0x239)]['dbName']??this[_0x54ba2e(0x239)][_0x54ba2e(0x11f)]?.[_0x54ba2e(0x187)];}get[a0_0x3e48cd(0x1fa)](){const _0x557106=a0_0x3e48cd;return this[_0x557106(0x239)]['tableName'];}get[a0_0x3e48cd(0x21d)](){return this['_raw']['datasetKey'];}get['pkField'](){const _0x3f0400=a0_0x3e48cd;return this[_0x3f0400(0x239)]['pkField'];}get['labelField'](){const _0x4af00c=a0_0x3e48cd;return this[_0x4af00c(0x239)][_0x4af00c(0x334)];}get['logicField'](){const _0x1162a7=a0_0x3e48cd;return this['_raw'][_0x1162a7(0x273)];}get[a0_0x3e48cd(0x2a8)](){const _0x109465=a0_0x3e48cd;return this[_0x109465(0x239)]['createTimeField'];}get[a0_0x3e48cd(0x196)](){const _0x14c145=a0_0x3e48cd;return this[_0x14c145(0x239)][_0x14c145(0x196)];}get[a0_0x3e48cd(0xb4)](){const _0x276659=a0_0x3e48cd;return this['_raw'][_0x276659(0xb4)];}get['creatorNameField'](){const _0x53a841=a0_0x3e48cd;return this[_0x53a841(0x239)][_0x53a841(0x155)];}get[a0_0x3e48cd(0x254)](){const _0xe69184=a0_0x3e48cd;return this[_0xe69184(0x239)][_0xe69184(0x254)];}get[a0_0x3e48cd(0x31f)](){const _0x47415b=a0_0x3e48cd;return this[_0x47415b(0x239)][_0x47415b(0x31f)];}get[a0_0x3e48cd(0x11f)](){const _0x534a28=a0_0x3e48cd;return this[_0x534a28(0x239)][_0x534a28(0x11f)];}['getAllFieldsArray'](){const _0x4789ca=a0_0x3e48cd;if(!this[_0x4789ca(0x239)]['allFields'])return[];return this[_0x4789ca(0x239)][_0x4789ca(0x241)]['split'](',')['map'](_0x4fb8a7=>_0x4fb8a7['trim']())[_0x4789ca(0x2af)](Boolean);}[a0_0x3e48cd(0x23a)](){const _0x4d0cf3=a0_0x3e48cd;return this[_0x4d0cf3(0x239)][_0x4d0cf3(0x241)];}[a0_0x3e48cd(0xfa)](_0x5ecafd){const _0x4a93f3=a0_0x3e48cd;return this[_0x4a93f3(0x2fa)]()[_0x4a93f3(0x128)](_0x5ecafd);}['hasTableName'](){const _0x5de7ce=a0_0x3e48cd;return Boolean(this[_0x5de7ce(0x239)][_0x5de7ce(0x1fa)]);}['hasDblinkInfo'](){const _0x2a8f51=a0_0x3e48cd;return Boolean(this[_0x2a8f51(0x239)][_0x2a8f51(0x11f)]);}[a0_0x3e48cd(0x1d0)](){const _0x2e5f95=a0_0x3e48cd;return Boolean(this[_0x2e5f95(0x239)][_0x2e5f95(0x273)]?.[_0x2e5f95(0x204)]);}[a0_0x3e48cd(0x83)](){const _0x38c396=a0_0x3e48cd;return Boolean(this[_0x38c396(0x239)][_0x38c396(0x2a8)]?.[_0x38c396(0x204)]);}[a0_0x3e48cd(0x308)](){const _0x623e63=a0_0x3e48cd;return Boolean(this[_0x623e63(0x239)]['updateTimeField']?.[_0x623e63(0x204)]);}[a0_0x3e48cd(0xdf)](){const _0x433c73=a0_0x3e48cd;return Boolean(this[_0x433c73(0x239)][_0x433c73(0xb4)]?.[_0x433c73(0x204)]);}['hasModifierIdField'](){return Boolean(this['_raw']['modifierIdField']?.['fieldName']);}[a0_0x3e48cd(0x2c1)](_0x48dd5e){const _0x38f443=a0_0x3e48cd;return this[_0x38f443(0x239)][_0x38f443(0x33b)]===_0x48dd5e;}[a0_0x3e48cd(0xfb)](_0x2c0e77){const _0x13f64a=a0_0x3e48cd;return this['isPrimaryKeyField'](_0x2c0e77)||this[_0x13f64a(0x239)][_0x13f64a(0x273)]?.[_0x13f64a(0x204)]===_0x2c0e77||this['_raw'][_0x13f64a(0x2a8)]?.['fieldName']===_0x2c0e77||this[_0x13f64a(0x239)][_0x13f64a(0x196)]?.[_0x13f64a(0x204)]===_0x2c0e77||this[_0x13f64a(0x239)]['creatorIdField']?.[_0x13f64a(0x204)]===_0x2c0e77||this['_raw'][_0x13f64a(0x155)]?.['fieldName']===_0x2c0e77||this[_0x13f64a(0x239)][_0x13f64a(0x254)]?.[_0x13f64a(0x204)]===_0x2c0e77||this[_0x13f64a(0x239)][_0x13f64a(0x31f)]?.[_0x13f64a(0x204)]===_0x2c0e77;}[a0_0x3e48cd(0x16f)](){const _0x307ef8=a0_0x3e48cd;return this[_0x307ef8(0x239)][_0x307ef8(0x11f)]?.[_0x307ef8(0x187)];}[a0_0x3e48cd(0x25e)](){const _0x143714=a0_0x3e48cd;return this[_0x143714(0x239)][_0x143714(0x11f)]?.['dbType'];}[a0_0x3e48cd(0x11a)](){const _0x30a94b=a0_0x3e48cd;return this['_raw'][_0x30a94b(0x11f)]?.[_0x30a94b(0x2ff)];}[a0_0x3e48cd(0x185)](){const _0x947071=a0_0x3e48cd;return this['_raw'][_0x947071(0x11f)]?.[_0x947071(0x2e6)];}['getAppCode'](){const _0x4714c6=a0_0x3e48cd;return this[_0x4714c6(0x239)]['dblinkInfoDTO']?.[_0x4714c6(0x260)];}[a0_0x3e48cd(0x18f)](){const _0xd3413=a0_0x3e48cd;return this[_0xd3413(0x239)][_0xd3413(0x11f)]?.['systemAnalysisResult'];}[a0_0x3e48cd(0x1ef)](){const _0x15bfbd=a0_0x3e48cd;return{'hasTableName':this['hasTableName'](),'hasDblinkInfo':this['hasDblinkInfo'](),'fieldCount':this[_0x15bfbd(0x2fa)]()[_0x15bfbd(0x1f8)],'systemFields':{'hasLogicField':this[_0x15bfbd(0x1d0)](),'hasCreateTimeField':this[_0x15bfbd(0x83)](),'hasUpdateTimeField':this[_0x15bfbd(0x308)](),'hasCreatorIdField':this[_0x15bfbd(0xdf)](),'hasModifierIdField':this[_0x15bfbd(0x215)]()}};}[a0_0x3e48cd(0x2e0)](){const _0x461292=a0_0x3e48cd,_0x517cde={};return _0x517cde[_0x461292(0x1fa)]=this['tableName'],_0x517cde[_0x461292(0x33b)]=this[_0x461292(0x33b)],_0x517cde[_0x461292(0x21d)]=this[_0x461292(0x21d)],_0x517cde[_0x461292(0xd1)]=this['dbId'],_0x517cde;}[a0_0x3e48cd(0x2df)](){const _0x36a48f=a0_0x3e48cd,_0x52df75={...this[_0x36a48f(0x239)]};return _0x52df75;}[a0_0x3e48cd(0x34b)](){const _0x38643d=a0_0x3e48cd,_0xa89470={...this[_0x38643d(0x239)]};return _0xa89470;}['toString'](){const _0x5f304b=a0_0x3e48cd,_0x1c198b=this['tableName']||_0x5f304b(0x13f),_0x37a7b3=this['getAllFieldsArray']()[_0x5f304b(0x1f8)];return'DbtableConfig(table:\x20'+_0x1c198b+_0x5f304b(0x296)+_0x37a7b3+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x3e48cd(0x239)];constructor(_0x5d8bf6){const _0x52045d=a0_0x3e48cd,_0x166909=_0x5d8bf6[_0x52045d(0x14c)]||_0x5d8bf6['code']||_0x5d8bf6[_0x52045d(0x92)],_0x372a66={..._0x5d8bf6};_0x372a66['datasetCode']=_0x166909,this['_raw']=_0x372a66;}get['id'](){return this['_raw']['id'];}get[a0_0x3e48cd(0x246)](){const _0x3a3690=a0_0x3e48cd;return this[_0x3a3690(0x239)][_0x3a3690(0x246)];}[a0_0x3e48cd(0xd9)](){const _0x26f4ce=a0_0x3e48cd;return this[_0x26f4ce(0x246)];}get[a0_0x3e48cd(0x14c)](){return this['_raw']['datasetCode']||'';}get['dbtableConfig'](){const _0xf670f2=a0_0x3e48cd;if(!this[_0xf670f2(0x239)][_0xf670f2(0x2aa)])return null;return new DbtableConfig(this[_0xf670f2(0x239)][_0xf670f2(0x2aa)]);}[a0_0x3e48cd(0x2e7)](){const _0x3aa665=a0_0x3e48cd;return this[_0x3aa665(0x239)]['dbtableConfig'];}[a0_0x3e48cd(0x31c)](){const _0x31243d=a0_0x3e48cd;return this[_0x31243d(0x2aa)]?.['dbName']||'';}[a0_0x3e48cd(0x16d)](){return getTableName(this['_raw']);}['getTableKey'](){const _0xd8c34e=a0_0x3e48cd;return getTableKey(this[_0xd8c34e(0x16d)]());}[a0_0x3e48cd(0x325)](){const _0x434134=a0_0x3e48cd;return generateModelKeyFromCode(this[_0x434134(0x14c)]);}[a0_0x3e48cd(0x1c0)](){const _0x3ecda5=a0_0x3e48cd;return isVirtualTableName(this[_0x3ecda5(0x16d)]());}[a0_0x3e48cd(0x1bb)](){return getTableKey(this['getTableName']());}[a0_0x3e48cd(0x2e0)](){const _0x1709ec=a0_0x3e48cd,_0x460cde=getTableKey(this[_0x1709ec(0x16d)]());return{'key':_0x460cde,'alias':_0x460cde,'tableName':this[_0x1709ec(0x16d)](),'datasetCode':this[_0x1709ec(0x14c)],'name':this[_0x1709ec(0x246)]};}['toJSON'](){const _0x4525d6=a0_0x3e48cd,_0x1d0e7e={...this['_raw']};return _0x1d0e7e[_0x4525d6(0x14c)]=this['datasetCode'],_0x1d0e7e;}[a0_0x3e48cd(0x34b)](){const _0x495c98=a0_0x3e48cd,_0x469c55={...this[_0x495c98(0x239)]};return _0x469c55;}[a0_0x3e48cd(0xe0)](){const _0x3994bd=a0_0x3e48cd,_0x18228b=this[_0x3994bd(0x2aa)];return _0x18228b!==null&&_0x18228b[_0x3994bd(0x27b)]();}[a0_0x3e48cd(0x110)](_0x43178c){return this['_raw'][_0x43178c];}['hasExtendField'](_0x43ebe7){const _0x4c98e8=a0_0x3e48cd;return _0x43ebe7 in this[_0x4c98e8(0x239)];}[a0_0x3e48cd(0x129)](){const _0xd11b7d=a0_0x3e48cd;return _0xd11b7d(0x1b4)+this[_0xd11b7d(0x246)]+',\x20'+this['datasetCode']+')';}}class Operation{['name'];[a0_0x3e48cd(0x239)];[a0_0x3e48cd(0xc5)];constructor(_0x50781c,_0xcabe0e,_0x4ed718){const _0x55e592=a0_0x3e48cd;this['name']=_0x50781c,this[_0x55e592(0x239)]=_0xcabe0e,this['context']=_0x4ed718;}[a0_0x3e48cd(0xd9)](){return this['name'];}[a0_0x3e48cd(0x2ef)](){return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this['name'];}[a0_0x3e48cd(0x22a)](){return parseOperationType(this['name']);}[a0_0x3e48cd(0x189)](){const _0x548db4=a0_0x3e48cd;return this[_0x548db4(0x239)]!==null&&this[_0x548db4(0x239)]!==![];}[a0_0x3e48cd(0x24d)](){const _0x40c315=a0_0x3e48cd,_0x927e1c=this[_0x40c315(0x239)];if(_0x927e1c===![]||_0x927e1c===null)return'';return _0x927e1c[_0x40c315(0x2eb)]||_0x40c315(0xb6);}[a0_0x3e48cd(0x232)](){const _0x5d7bf0=this['_raw'];if(_0x5d7bf0===![]||_0x5d7bf0===null)return'';return _0x5d7bf0['path']||'';}[a0_0x3e48cd(0x1ee)](){const _0x3ad01f=a0_0x3e48cd,_0x188b47=this[_0x3ad01f(0x239)];let _0x340a98='';_0x188b47!==![]&&_0x188b47!==null&&_0x188b47[_0x3ad01f(0x19d)]&&(_0x340a98=_0x188b47[_0x3ad01f(0x19d)]);const _0x3358c6=this[_0x3ad01f(0x232)]();return _0x340a98&&_0x3358c6?''+_0x340a98+_0x3358c6:_0x3358c6;}[a0_0x3e48cd(0x19a)](){const _0x2a8bd5=a0_0x3e48cd,_0x1b7ccb=this[_0x2a8bd5(0x239)];if(_0x1b7ccb===![]||_0x1b7ccb===null||!_0x1b7ccb[_0x2a8bd5(0x330)])return{};try{return JSON[_0x2a8bd5(0x312)](_0x1b7ccb[_0x2a8bd5(0x330)]);}catch{return{};}}[a0_0x3e48cd(0x267)](){const _0x1ebc14=a0_0x3e48cd,_0x2e1d7f=this[_0x1ebc14(0x239)];if(_0x2e1d7f===![]||_0x2e1d7f===null||!_0x2e1d7f[_0x1ebc14(0x2f7)])return null;return parseResponseBody(_0x2e1d7f[_0x1ebc14(0x2f7)]);}['getRequestParams'](){const _0x2fe22d=a0_0x3e48cd;return this[_0x2fe22d(0x19a)]();}[a0_0x3e48cd(0x2cf)](){return this['parseRawResponseBody']();}[a0_0x3e48cd(0xfe)](){const _0x293fc5=a0_0x3e48cd,_0x5743c4=this[_0x293fc5(0x114)]();return Object['keys'](_0x5743c4);}[a0_0x3e48cd(0x209)](){const _0x558cbd=a0_0x3e48cd,_0xa58731=this['getRequestParams'](),_0x19f0db={};return Object['entries'](_0xa58731)[_0x558cbd(0x194)](([_0x5a3484,_0x4d85a7])=>{const _0x1dc3e6=_0x558cbd,_0x2527ea=_0x4d85a7;_0x19f0db[_0x5a3484]=generateExampleValue(_0x5a3484,_0x2527ea[_0x1dc3e6(0x299)]||_0x1dc3e6(0x290),undefined,{'description':_0x2527ea[_0x1dc3e6(0x2b7)]});}),_0x19f0db;}[a0_0x3e48cd(0x197)](){return this['generateRequestExample']();}[a0_0x3e48cd(0x333)](){const _0x27495d=a0_0x3e48cd;return[{'title':_0x27495d(0x1f0),'data':this[_0x27495d(0x209)]()}];}[a0_0x3e48cd(0xd5)](){const _0x2a3b2d=a0_0x3e48cd,_0x16e559=this['parseRawResponseBody']();if(!_0x16e559){const _0x3b612e={};return _0x3b612e[_0x2a3b2d(0x2c3)]=!![],_0x3b612e[_0x2a3b2d(0x1ab)]=_0x2a3b2d(0x86),_0x3b612e[_0x2a3b2d(0x2d1)]='',_0x3b612e[_0x2a3b2d(0x1a1)]=_0x2a3b2d(0x23e),_0x3b612e[_0x2a3b2d(0x32f)]=null,_0x3b612e;}return this['generateFromSchema'](_0x16e559);}[a0_0x3e48cd(0xc4)](_0x1d9393){const _0x522ca4=a0_0x3e48cd;if(!_0x1d9393||typeof _0x1d9393!==_0x522ca4(0x335))return{};if(Array[_0x522ca4(0x133)](_0x1d9393))return _0x1d9393[_0x522ca4(0x1f8)]>0x0?[this[_0x522ca4(0xc4)](_0x1d9393[0x0])]:[];const _0x3024bf={};for(const [_0x35de06,_0x4c98f5]of Object[_0x522ca4(0x256)](_0x1d9393)){if(_0x4c98f5&&typeof _0x4c98f5==='object'&&!Array[_0x522ca4(0x133)](_0x4c98f5)){const _0x113281=_0x4c98f5;_0x3024bf[_0x35de06]=generateExampleValue(_0x35de06,_0x113281[_0x522ca4(0x299)]||'String',undefined,{'description':_0x113281[_0x522ca4(0x2b7)]});}else Array[_0x522ca4(0x133)](_0x4c98f5)?_0x3024bf[_0x35de06]=_0x4c98f5[_0x522ca4(0x1f8)]>0x0?[this[_0x522ca4(0xc4)](_0x4c98f5[0x0])]:[]:_0x3024bf[_0x35de06]=_0x4c98f5;}return _0x3024bf;}[a0_0x3e48cd(0x291)](_0x5ed015,_0x12b067,_0x30a49c,_0x249c47){return generateExampleValue(_0x5ed015,_0x12b067,_0x30a49c,_0x249c47);}['generateSDKCallCode'](_0x4bd97f,_0x15f1bc){const _0x3551c5=a0_0x3e48cd,_0x9cc196=this[_0x3551c5(0xd9)]();return _0x3551c5(0x331)+_0x4bd97f+'.'+_0x9cc196+_0x3551c5(0x167);}[a0_0x3e48cd(0x17e)](_0x4499db){const _0x396a86=a0_0x3e48cd,_0x500e01=this[_0x396a86(0xd9)](),_0x317fd7=_0x4499db||'yourModel',_0x4b8f77={};return _0x4b8f77[_0x396a86(0x1de)]='const\x20data\x20=\x20await\x20client.models.'+_0x317fd7+'.'+_0x500e01+_0x396a86(0x167),_0x4b8f77[_0x396a86(0x1a1)]='try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'+_0x317fd7+'.'+_0x500e01+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x4b8f77;}['getRequestParamsDocInfo'](){const _0xa609e2=a0_0x3e48cd,_0x3d6797=this[_0xa609e2(0x114)](),_0x547355=Object[_0xa609e2(0x256)](_0x3d6797)['map'](([_0x231814,_0x1ca31d])=>{const _0x327250=_0xa609e2,_0xc02142=_0x1ca31d,_0x318866={};return _0x318866['name']=_0x231814,_0x318866[_0x327250(0x299)]=_0xc02142['type']||'String',_0x318866['description']=_0xc02142[_0x327250(0x2b7)]||'-',_0x318866[_0x327250(0x180)]=_0xc02142[_0x327250(0x180)],_0x318866;}),_0x34a64f={};return _0x34a64f['params']=_0x547355,_0x34a64f;}[a0_0x3e48cd(0xcb)](){const _0x14c038=a0_0x3e48cd,_0x436171=this[_0x14c038(0x267)]();if(!_0x436171){const _0x10a117={};return _0x10a117[_0x14c038(0x26b)]=[],_0x10a117;}const _0x541f52=Object[_0x14c038(0x256)](_0x436171)[_0x14c038(0xac)](([_0x4a96f8,_0xe3594b])=>{const _0x5e4091=_0x14c038,_0x738a60=_0xe3594b,_0x10f192={};return _0x10f192[_0x5e4091(0x246)]=_0x4a96f8,_0x10f192[_0x5e4091(0x299)]=_0x738a60[_0x5e4091(0x299)]||_0x5e4091(0x290),_0x10f192['description']=_0x738a60['description']||'-',_0x10f192;}),_0x4eda5d={};return _0x4eda5d[_0x14c038(0x26b)]=_0x541f52,_0x4eda5d;}[a0_0x3e48cd(0x2bf)](){return[];}['getBusinessFields'](){return this['context']['fields']||[];}['getAllParams'](){const _0x2750f0=a0_0x3e48cd;return{'systemFields':this[_0x2750f0(0x2bf)](),'businessFields':this[_0x2750f0(0x2ea)]()};}[a0_0x3e48cd(0x28a)](_0x56ef74){const _0x1822a6=a0_0x3e48cd;return this[_0x1822a6(0xc5)][_0x1822a6(0x16a)][_0x1822a6(0x8b)](_0x2d7c99=>_0x2d7c99?.[_0x1822a6(0x22c)]===_0x56ef74);}[a0_0x3e48cd(0x28b)](_0x16c898){const _0x34be04=a0_0x3e48cd;return _0x16c898[_0x34be04(0x22c)];}['getFieldType'](_0x34407d){return _0x34407d['type'];}[a0_0x3e48cd(0xbc)](_0x538cbd){return _0x538cbd['name'];}[a0_0x3e48cd(0x14e)](_0x31dcb7){return _0x31dcb7['description'];}[a0_0x3e48cd(0x328)](_0x26cd09){return _0x26cd09['getEnumOptions']()||null;}['isFieldPrimaryKey'](_0x4a09d9){const _0x32eff0=a0_0x3e48cd;return _0x4a09d9[_0x32eff0(0xb8)]();}['getOperators'](){return[];}[a0_0x3e48cd(0x238)](_0x2582e4){return[];}[a0_0x3e48cd(0x2df)](){const _0x444945=a0_0x3e48cd;return{'name':this[_0x444945(0xd9)](),'displayName':this[_0x444945(0x2ef)](),'type':this[_0x444945(0x22a)](),'enabled':this[_0x444945(0x189)](),'method':this[_0x444945(0x24d)](),'path':this['getPath'](),'fullUrl':this[_0x444945(0x1ee)](),'requestParams':this[_0x444945(0x114)](),'requestExample':this[_0x444945(0x209)](),'responseExample':this['generateResponseExample']()};}[a0_0x3e48cd(0x129)](){const _0x11e164=a0_0x3e48cd,_0x143a41=this[_0x11e164(0x189)]()?'启用':'禁用';return this[_0x11e164(0x2ef)]()+'('+this['name']+',\x20'+_0x143a41+')';}}class GenericOperation extends Operation{[a0_0x3e48cd(0x177)];[a0_0x3e48cd(0x114)](){const _0x1ca942=a0_0x3e48cd;return this[_0x1ca942(0x19a)]();}[a0_0x3e48cd(0x2cf)](){const _0x3b0c84=a0_0x3e48cd;return this[_0x3b0c84(0x267)]();}[a0_0x3e48cd(0x209)](){const _0xb6d2f6=a0_0x3e48cd;if(this[_0xb6d2f6(0x177)])return this[_0xb6d2f6(0x177)];const _0x17647c={},_0x21df02=this[_0xb6d2f6(0x114)](),_0x13dc3b=this[_0xb6d2f6(0x22a)]();if(Object['keys'](_0x21df02)['length']===0x0&&_0x13dc3b){const _0x2eb990=this[_0xb6d2f6(0x2ea)]();return _0x2eb990[_0xb6d2f6(0x194)](_0x38386e=>{const _0x6b1365=_0xb6d2f6,_0x1a8281=_0x38386e[_0x6b1365(0x22c)],_0x3ec933=_0x38386e[_0x6b1365(0x299)],_0x2b7c6c=this[_0x6b1365(0x291)](_0x1a8281,_0x3ec933,_0x38386e[_0x6b1365(0x178)](),{'isPrimaryKey':_0x38386e['isPrimaryKey'](),'description':_0x38386e['description']||_0x38386e[_0x6b1365(0x246)]});_0x17647c[_0x1a8281]=_0x2b7c6c;}),this[_0xb6d2f6(0x177)]=_0x17647c,_0x17647c;}return Object[_0xb6d2f6(0x256)](_0x21df02)[_0xb6d2f6(0x194)](([_0x5ba4e5,_0x342333])=>{const _0x24d937=_0xb6d2f6,_0x25ac3a=_0x342333;let _0x3c2c80;if(typeof _0x25ac3a[_0x24d937(0x299)]==='string')_0x3c2c80=_0x25ac3a[_0x24d937(0x299)];else _0x25ac3a['type']&&typeof _0x25ac3a[_0x24d937(0x299)]===_0x24d937(0x335)?_0x3c2c80=_0x25ac3a[_0x24d937(0x299)][_0x24d937(0x299)]||'TEXT':_0x3c2c80=_0x24d937(0x1b1);const _0x348f78=_0x25ac3a[_0x24d937(0x2b7)],_0x5ae425=this[_0x24d937(0x28a)](_0x5ba4e5);if(_0x5ba4e5==='currentPage')_0x17647c[_0x5ba4e5]=0x1;else{if(_0x5ba4e5===_0x24d937(0x1e0))_0x17647c[_0x5ba4e5]=0xa;else{if(_0x5ba4e5==='id')_0x17647c[_0x5ba4e5]=0x1;else{const _0x2daf73=_0x5ae425?_0x5ae425[_0x24d937(0x178)]():undefined,_0x239040=_0x5ae425?_0x5ae425[_0x24d937(0x2b7)]:undefined,_0x1c3447=_0x5ae425?_0x5ae425[_0x24d937(0x246)]:undefined;_0x17647c[_0x5ba4e5]=this[_0x24d937(0x291)](_0x5ba4e5,_0x3c2c80,_0x2daf73||undefined,{'isPrimaryKey':_0x5ba4e5===this[_0x24d937(0xc5)][_0x24d937(0x33b)]||_0x5ba4e5==='id','description':_0x348f78||_0x239040||_0x1c3447});}}}}),this['_requestExampleCache']=_0x17647c,_0x17647c;}['generateResponseExample'](){const _0x5cac36=a0_0x3e48cd,_0x4a4c21=this[_0x5cac36(0x2cf)]();if(!_0x4a4c21){const _0x14e3c1={};return _0x14e3c1[_0x5cac36(0x2c3)]=!![],_0x14e3c1[_0x5cac36(0x1ab)]='操作成功',_0x14e3c1['errorMsg']='',_0x14e3c1[_0x5cac36(0x1a1)]=_0x5cac36(0x23e),_0x14e3c1[_0x5cac36(0x32f)]=null,_0x14e3c1;}return this[_0x5cac36(0xc4)](_0x4a4c21);}[a0_0x3e48cd(0xc4)](_0xd4d93b){const _0x2da6e0=a0_0x3e48cd;if(!_0xd4d93b||typeof _0xd4d93b!=='object')return{};if(Array[_0x2da6e0(0x133)](_0xd4d93b)){if(_0xd4d93b[_0x2da6e0(0x1f8)]>0x0)return[this['generateFromSchema'](_0xd4d93b[0x0])];return[];}const _0x413bb9={};return Object['keys'](_0xd4d93b)[_0x2da6e0(0x194)](_0x2d1873=>{const _0x249a6f=_0x2da6e0,_0x208c2d=_0xd4d93b[_0x2d1873];if(_0x208c2d&&typeof _0x208c2d===_0x249a6f(0x335)&&!Array[_0x249a6f(0x133)](_0x208c2d)&&_0x208c2d[_0x249a6f(0x299)]){const _0x4695d6=_0x208c2d;let _0x5139b4;if(typeof _0x4695d6[_0x249a6f(0x299)]==='string')_0x5139b4=_0x4695d6[_0x249a6f(0x299)];else _0x4695d6[_0x249a6f(0x299)]&&typeof _0x4695d6['type']===_0x249a6f(0x335)?_0x5139b4=_0x4695d6['type']['type']||_0x249a6f(0x1b1):_0x5139b4=_0x249a6f(0x1b1);const _0x3919d4=_0x4695d6['description'],_0x3bbf9f={};_0x3bbf9f['description']=_0x3919d4,_0x413bb9[_0x2d1873]=this[_0x249a6f(0x291)](_0x2d1873,_0x5139b4,undefined,_0x3bbf9f);}else{if(Array['isArray'](_0x208c2d))_0x413bb9[_0x2d1873]=_0x208c2d[_0x249a6f(0x1f8)]>0x0?[this[_0x249a6f(0xc4)](_0x208c2d[0x0])]:[];else _0x208c2d&&typeof _0x208c2d===_0x249a6f(0x335)?_0x413bb9[_0x2d1873]=this[_0x249a6f(0xc4)](_0x208c2d):_0x413bb9[_0x2d1873]=_0x208c2d;}}),_0x413bb9;}[a0_0x3e48cd(0x27a)](_0xef221f,_0x615ea3){const _0x3814d0=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x615ea3||{},_0x4eff18=this[_0x3814d0(0xd9)](),_0x8e6533=this[_0x3814d0(0x22a)](),_0x212db4=this['getRequestFields'](),_0x6b589f=this[_0x3814d0(0x209)](),_0x5ce0ff=_0x5d93f3=>{const _0x54dfac=_0x3814d0;if(Object['keys'](_0x5d93f3)[_0x54dfac(0x1f8)]===0x0)return'{}';const _0x2a96bb=JSON[_0x54dfac(0x10a)](_0x5d93f3,null,0x2)['split']('\x0a')['map']((_0x5c3e9b,_0x7b38e)=>_0x7b38e===0x0?_0x5c3e9b:indent+_0x5c3e9b)['join']('\x0a');return _0x2a96bb;};switch(_0x8e6533){case _0x3814d0(0x2ca):case _0x3814d0(0x293):return'const\x20result\x20=\x20await\x20client.models.'+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x23c);case _0x3814d0(0x18c):if(useFullExample&&Object[_0x3814d0(0x326)](_0x6b589f)[_0x3814d0(0x1f8)]>0x0)return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+_0x3814d0(0xb5)+_0x5ce0ff(_0x6b589f)+');';return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+'(id,\x20data);';case'create':case'getList':case _0x3814d0(0x346):default:if(_0x212db4[_0x3814d0(0x1f8)]>0x0){if(useFullExample&&Object[_0x3814d0(0x326)](_0x6b589f)[_0x3814d0(0x1f8)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0xef221f+'.'+_0x4eff18+'('+_0x5ce0ff(_0x6b589f)+');';else{const _0x599524=Object[_0x3814d0(0x326)](_0x6b589f);if(_0x599524[_0x3814d0(0x1f8)]>0x0){const _0x134eed=_0x599524[_0x3814d0(0x1f9)](0x0,0x2)[_0x3814d0(0x103)](',\x20');return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x30d)+_0x134eed+_0x3814d0(0x1e5);}else return'const\x20result\x20=\x20await\x20client.models.'+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x221);}}else return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x167);}}['generateRequestAllExamples'](){const _0x1aa198=a0_0x3e48cd;return[{'title':_0x1aa198(0x1f0),'data':this[_0x1aa198(0x209)]()}];}[a0_0x3e48cd(0x2bf)](){const _0x5b982f=a0_0x3e48cd,_0x50a3db=this['getType'](),_0x33e798=[];switch(_0x50a3db){case _0x5b982f(0x2ca):case'delete':const _0x4c739b={};_0x4c739b[_0x5b982f(0x22c)]='id',_0x4c739b[_0x5b982f(0x299)]=_0x5b982f(0x1dd),_0x4c739b[_0x5b982f(0x2b7)]=_0x5b982f(0x123),_0x33e798[_0x5b982f(0x2d5)](_0x4c739b);break;case _0x5b982f(0x286):const _0x52677e={};_0x52677e[_0x5b982f(0x22c)]=_0x5b982f(0xcf),_0x52677e[_0x5b982f(0x299)]='NUMBER',_0x52677e[_0x5b982f(0x2b7)]='当前页码';const _0x328bc2={};_0x328bc2[_0x5b982f(0x22c)]=_0x5b982f(0x1e0),_0x328bc2[_0x5b982f(0x299)]='NUMBER',_0x328bc2[_0x5b982f(0x2b7)]=_0x5b982f(0xa0),_0x33e798[_0x5b982f(0x2d5)](_0x52677e,_0x328bc2);break;case _0x5b982f(0x346):const _0x3267fb={};_0x3267fb[_0x5b982f(0x22c)]=_0x5b982f(0x22c),_0x3267fb[_0x5b982f(0x299)]=_0x5b982f(0xe1),_0x3267fb[_0x5b982f(0x2b7)]=_0x5b982f(0xa4),_0x33e798[_0x5b982f(0x2d5)](_0x3267fb);break;default:break;}return _0x33e798;}[a0_0x3e48cd(0x2ea)](){const _0x370ea6=a0_0x3e48cd,_0x47028d=this[_0x370ea6(0x22a)](),_0x431265=this['context'][_0x370ea6(0x16a)]||[];switch(_0x47028d){case _0x370ea6(0x2ca):case _0x370ea6(0x293):return[];case'create':case _0x370ea6(0x17d):return _0x431265[_0x370ea6(0x2af)](_0x1d1efa=>{const _0x21cb28=_0x370ea6;if(_0x1d1efa[_0x21cb28(0x24b)])return![];if(_0x1d1efa[_0x21cb28(0xb8)]()&&_0x1d1efa[_0x21cb28(0x305)]())return![];if(_0x1d1efa[_0x21cb28(0x1f6)]())return![];if(_0x1d1efa[_0x21cb28(0x1bc)]()||_0x1d1efa[_0x21cb28(0xe4)]())return![];return!![];});case _0x370ea6(0x18c):return _0x431265[_0x370ea6(0x2af)](_0x107db0=>{const _0x2bcc7d=_0x370ea6;if(_0x107db0[_0x2bcc7d(0x24b)])return![];if(_0x107db0[_0x2bcc7d(0xb8)]())return![];if(_0x107db0['isSystem']())return![];if(_0x107db0['isCreateTime']()||_0x107db0[_0x2bcc7d(0xe4)]())return![];if(_0x107db0[_0x2bcc7d(0x305)]())return![];return!![];});case'getList':case _0x370ea6(0x346):return _0x431265[_0x370ea6(0x2af)](_0x3e0bd0=>!_0x3e0bd0[_0x370ea6(0x24b)]&&_0x3e0bd0[_0x370ea6(0x143)]());default:return _0x431265[_0x370ea6(0x2af)](_0x283e5a=>!_0x283e5a[_0x370ea6(0x24b)]&&_0x283e5a['isBusiness']());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x474404=a0_0x3e48cd,_0x339305=super[_0x474404(0x114)](),_0x1ca20d=Object[_0x474404(0x326)](_0x339305);if(_0x1ca20d[_0x474404(0x1f8)]===0x0||_0x1ca20d['length']===0x1&&_0x1ca20d[0x0]===_0x474404(0x22c)){if(!_0x339305[_0x474404(0x22c)]){const _0x1c72ea={};_0x1c72ea[_0x474404(0x299)]=_0x474404(0x290),_0x1c72ea[_0x474404(0x2b7)]=_0x474404(0x102),_0x339305[_0x474404(0x22c)]=_0x1c72ea;}const _0x1bc8be={};_0x1bc8be[_0x474404(0x299)]=_0x474404(0x290),_0x1bc8be[_0x474404(0x2b7)]='字段名称',_0x339305[_0x474404(0x140)]=_0x1bc8be;}return _0x339305;}[a0_0x3e48cd(0x2ea)](){return[];}['getSystemFields'](){const _0x350534=a0_0x3e48cd,_0x236819={};_0x236819[_0x350534(0x22c)]=_0x350534(0x22c),_0x236819[_0x350534(0x299)]=_0x350534(0x290),_0x236819['description']=_0x350534(0x102);const _0xbfe3ed={};return _0xbfe3ed[_0x350534(0x22c)]=_0x350534(0x140),_0xbfe3ed[_0x350534(0x299)]='String',_0xbfe3ed[_0x350534(0x2b7)]=_0x350534(0x175),[_0x236819,_0xbfe3ed];}[a0_0x3e48cd(0x209)](){const _0x1c2b13=a0_0x3e48cd,_0x22ab6e={};return _0x22ab6e[_0x1c2b13(0x22c)]=_0x1c2b13(0x1e1),_0x22ab6e[_0x1c2b13(0x140)]=_0x1c2b13(0x1e1),_0x22ab6e;}[a0_0x3e48cd(0x27a)](_0x3dd111){const _0x1b2e06=a0_0x3e48cd,_0x3bbfc3=this[_0x1b2e06(0xd9)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x3dd111+'.'+_0x3bbfc3+_0x1b2e06(0x34c);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x4ffe15=a0_0x3e48cd,_0x249f41=super['getRequestParams'](),{currentPage:_0x3e5f1d,pageSize:_0x16a72f,..._0x3607ab}=_0x249f41,_0xcc78d6={};Object[_0x4ffe15(0x256)](_0x3607ab)[_0x4ffe15(0x194)](([_0x55b379,_0xfe6a0a])=>{const _0x557e2b=_0x4ffe15;if(typeof _0xfe6a0a===_0x557e2b(0x335)&&_0xfe6a0a!==null){const _0x38f2e2=_0xfe6a0a,_0x1167b1=_0x38f2e2[_0x557e2b(0x2b7)]||'',_0x48402a={..._0x38f2e2};_0x48402a[_0x557e2b(0x2b7)]=_0x1167b1?_0x1167b1+'(支持单值或数组)':_0x557e2b(0x24a),_0xcc78d6[_0x55b379]=_0x48402a;}else _0xcc78d6[_0x55b379]=_0xfe6a0a;});const _0x1a253e={...typeof _0x3e5f1d===_0x4ffe15(0x335)?_0x3e5f1d:{}};_0x1a253e['type']=_0x4ffe15(0x186),_0x1a253e[_0x4ffe15(0x2b7)]=_0x4ffe15(0x23f);const _0xa13eb6={...typeof _0x16a72f===_0x4ffe15(0x335)?_0x16a72f:{}};_0xa13eb6[_0x4ffe15(0x299)]='Number',_0xa13eb6[_0x4ffe15(0x2b7)]=_0x4ffe15(0x164);const _0xa08b90={..._0xcc78d6};return _0xa08b90[_0x4ffe15(0xcf)]=_0x1a253e,_0xa08b90[_0x4ffe15(0x1e0)]=_0xa13eb6,_0xa08b90;}['generateRequestExample'](_0x4097e9){const _0x1e5763=a0_0x3e48cd,{useArrayValues:useArrayValues=!![]}=_0x4097e9||{},_0x523651=super[_0x1e5763(0x209)](),{currentPage:_0x503599,pageSize:_0xda8807,..._0x35029f}=_0x523651;if(!useArrayValues){const _0x55d6d3={..._0x35029f};return _0x55d6d3[_0x1e5763(0xcf)]=_0x503599??0x1,_0x55d6d3[_0x1e5763(0x1e0)]=_0xda8807??0xa,_0x55d6d3;}const _0xad7387={},_0x5b5c9a=['id',_0x1e5763(0x1e2),'code',_0x1e5763(0x299)];Object[_0x1e5763(0x256)](_0x35029f)[_0x1e5763(0x194)](([_0x5788d2,_0x386f7b],_0x371c4b)=>{const _0x204c87=_0x1e5763,_0x5bd570=_0x5b5c9a[_0x204c87(0x294)](_0x245e90=>_0x5788d2[_0x204c87(0xc3)]()['includes'](_0x245e90))||_0x371c4b%0x3===0x0;if(_0x5bd570&&_0x386f7b!==null&&_0x386f7b!==undefined){if(typeof _0x386f7b===_0x204c87(0x231))_0xad7387[_0x5788d2]=[_0x386f7b,_0x386f7b+0x1,_0x386f7b+0x2];else typeof _0x386f7b==='string'?_0xad7387[_0x5788d2]=[_0x386f7b,_0x386f7b+'_2',_0x386f7b+'_3']:_0xad7387[_0x5788d2]=[_0x386f7b];}else _0xad7387[_0x5788d2]=_0x386f7b;});const _0x1eb17e={..._0xad7387};return _0x1eb17e[_0x1e5763(0xcf)]=_0x503599??0x1,_0x1eb17e[_0x1e5763(0x1e0)]=_0xda8807??0xa,_0x1eb17e;}[a0_0x3e48cd(0x283)](){const _0x2bfa5f=a0_0x3e48cd,_0x36fbb1={};return _0x36fbb1[_0x2bfa5f(0x85)]=![],this[_0x2bfa5f(0x209)](_0x36fbb1);}['generateRequestAllExamples'](){const _0x3d0234=a0_0x3e48cd;return[{'title':_0x3d0234(0x1e9),'description':'查询单个条件','data':this['generateSingleValueExample']()},{'title':_0x3d0234(0x2ac),'description':'支持多个条件','data':this[_0x3d0234(0x209)]()}];}[a0_0x3e48cd(0x27a)](_0xa4cc87,_0x2ef05e){const _0x2ab010=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2ef05e||{},_0x2c1dce=this[_0x2ab010(0xd9)](),_0x2f3d13={};_0x2f3d13['useArrayValues']=!![];const _0x390539=this['generateRequestExample'](_0x2f3d13),{currentPage:_0x4dfe4f,pageSize:_0x4cd57e,..._0xbd840c}=_0x390539;if(useFullExample&&Object[_0x2ab010(0x326)](_0x390539)['length']>0x0){const _0x39a001=Object[_0x2ab010(0x326)](_0xbd840c)['length']>0x0;if(_0x39a001){const _0x1fa3b1=this['generateSingleValueExample'](),_0x2f383c=_0x416b6d=>{const _0x2f75f0=_0x2ab010;return JSON[_0x2f75f0(0x10a)](_0x416b6d,null,0x2)[_0x2f75f0(0x182)]('\x0a')[_0x2f75f0(0xac)]((_0x3bc70e,_0x3edbd7)=>_0x3edbd7===0x0?_0x3bc70e:indent+_0x3bc70e)[_0x2f75f0(0x103)]('\x0a');};return _0x2ab010(0xf5)+_0xa4cc87+'.'+_0x2c1dce+'('+_0x2f383c(_0x1fa3b1)+_0x2ab010(0xd2)+_0xa4cc87+'.'+_0x2c1dce+'('+_0x2f383c(_0x390539)+');';}else{const _0x2260ea=JSON['stringify'](_0x390539,null,0x2)[_0x2ab010(0x182)]('\x0a')[_0x2ab010(0xac)]((_0x1dc406,_0x5bec5a)=>_0x5bec5a===0x0?_0x1dc406:indent+_0x1dc406)[_0x2ab010(0x103)]('\x0a');return _0x2ab010(0x331)+_0xa4cc87+'.'+_0x2c1dce+'('+_0x2260ea+');';}}if(Object[_0x2ab010(0x326)](_0xbd840c)[_0x2ab010(0x1f8)]>0x0){const _0x9f4925=Object[_0x2ab010(0x326)](_0xbd840c)[0x0];return _0x2ab010(0x331)+_0xa4cc87+'.'+_0x2c1dce+_0x2ab010(0x30d)+_0x9f4925+_0x2ab010(0x304);}return'const\x20result\x20=\x20await\x20client.models.'+_0xa4cc87+'.'+_0x2c1dce+_0x2ab010(0x264);}}var AGGREGATE_FUNCTIONS=[a0_0x3e48cd(0xee),a0_0x3e48cd(0x26c),a0_0x3e48cd(0x99),'max',a0_0x3e48cd(0x15b)],FILTER_OPERATORS=[a0_0x3e48cd(0xab),'$ne',a0_0x3e48cd(0x323),a0_0x3e48cd(0x135),a0_0x3e48cd(0x1f1),'$lteq',a0_0x3e48cd(0x8d),a0_0x3e48cd(0x1d7),a0_0x3e48cd(0x1c4),a0_0x3e48cd(0x212),a0_0x3e48cd(0x349),a0_0x3e48cd(0x2d6)];class FilterOperation extends GenericOperation{constructor(_0x24698e,_0x44be82,_0x2a3614){super(_0x24698e,_0x44be82,_0x2a3614);}[a0_0x3e48cd(0x1a6)](){return FILTER_OPERATORS;}[a0_0x3e48cd(0x238)](_0x1f24a6){const _0x48e2d8=a0_0x3e48cd,_0xb1e4b2=this[_0x48e2d8(0x28a)](_0x1f24a6);if(!_0xb1e4b2)return[];return this[_0x48e2d8(0x343)](_0xb1e4b2);}[a0_0x3e48cd(0x114)](){const _0x21ee6a=a0_0x3e48cd,_0x127139=super[_0x21ee6a(0x114)](),_0x5bd5b2={};_0x5bd5b2[_0x21ee6a(0x299)]=_0x21ee6a(0x288),_0x5bd5b2[_0x21ee6a(0x2b7)]='查询条件(支持\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)',_0x5bd5b2['required']=![];const _0x54e1ab={};_0x54e1ab[_0x21ee6a(0x299)]='String[]',_0x54e1ab['description']=_0x21ee6a(0x2a2),_0x54e1ab[_0x21ee6a(0x180)]=![];const _0x3ab70d={};_0x3ab70d[_0x21ee6a(0x299)]=_0x21ee6a(0x322),_0x3ab70d['description']=_0x21ee6a(0x20d),_0x3ab70d['required']=![];const _0x195fd0={};_0x195fd0[_0x21ee6a(0x299)]='Number',_0x195fd0['description']=_0x21ee6a(0x23f),_0x195fd0[_0x21ee6a(0x180)]=![],_0x195fd0['default']=0x1;const _0x3e0e7a={};_0x3e0e7a[_0x21ee6a(0x299)]='Number',_0x3e0e7a['description']=_0x21ee6a(0x164),_0x3e0e7a[_0x21ee6a(0x180)]=![],_0x3e0e7a[_0x21ee6a(0x1d3)]=0xa;const _0x2f3936={..._0x127139};return _0x2f3936[_0x21ee6a(0x2b0)]=_0x5bd5b2,_0x2f3936[_0x21ee6a(0x2bb)]=_0x54e1ab,_0x2f3936[_0x21ee6a(0x147)]=_0x3ab70d,_0x2f3936[_0x21ee6a(0xcf)]=_0x195fd0,_0x2f3936['pageSize']=_0x3e0e7a,_0x2f3936;}['getSystemFields'](){const _0x515d7d=a0_0x3e48cd,_0x7bc649=this['getRequestParams'](),_0x5d620d=[],_0x1cee77=['where','select',_0x515d7d(0x147),'currentPage',_0x515d7d(0x1e0)];return Object['entries'](_0x7bc649)[_0x515d7d(0x194)](([_0x39de8d,_0x487467])=>{const _0xdee5e9=_0x515d7d;if(_0x1cee77['includes'](_0x39de8d)){const _0x509bbc=_0x487467,_0x132bd3={};_0x132bd3[_0xdee5e9(0x22c)]=_0x39de8d,_0x132bd3['type']=_0x509bbc['type']||_0xdee5e9(0x288),_0x132bd3[_0xdee5e9(0x2b7)]=_0x509bbc[_0xdee5e9(0x2b7)]||'-',_0x5d620d['push'](_0x132bd3);}}),_0x5d620d;}['getBusinessFields'](){const _0x5713f2=a0_0x3e48cd;return this[_0x5713f2(0xc5)][_0x5713f2(0x16a)]||[];}['getGroupedParams'](){return{'systemParams':this['getSystemFields'](),'businessFields':this['getBusinessFields']()};}[a0_0x3e48cd(0x209)](){const _0x4f382d=a0_0x3e48cd,_0x20e641=this['context']['fields']||[];if(_0x20e641[_0x4f382d(0x1f8)]===0x0){const _0x13a156={};return _0x13a156[_0x4f382d(0x2b0)]={},_0x13a156[_0x4f382d(0xcf)]=0x1,_0x13a156[_0x4f382d(0x1e0)]=0x14,_0x13a156;}const _0x1a7284={},_0x54694e=_0x20e641[_0x4f382d(0x1f9)](0x0,Math[_0x4f382d(0x15b)](0x3,_0x20e641[_0x4f382d(0x1f8)]));_0x54694e[_0x4f382d(0x194)](_0x4f8926=>{const _0x22393a=_0x4f382d,_0x53af83=this[_0x22393a(0x343)](_0x4f8926);if(_0x53af83[_0x22393a(0x1f8)]===0x0)return;const _0x20ef85=this['selectBestOperator'](_0x4f8926,_0x53af83),_0x416e9d=this[_0x22393a(0x2fe)](_0x4f8926,_0x20ef85),_0x2841d0={};_0x2841d0[_0x20ef85]=_0x416e9d,_0x1a7284[_0x4f8926['code']]=_0x2841d0;});const _0x4d7e81=_0x20e641['slice'](0x0,Math[_0x4f382d(0x15b)](0x5,_0x20e641[_0x4f382d(0x1f8)]))[_0x4f382d(0xac)](_0x3118c5=>_0x3118c5['code']),_0x45ffac=_0x20e641[0x0]?_0x20e641[0x0][_0x4f382d(0x22c)]:'id',_0x5b9f64={};_0x5b9f64[_0x45ffac]='DESC';const _0x25d107={};return _0x25d107[_0x4f382d(0x2b0)]=_0x1a7284,_0x25d107[_0x4f382d(0x2bb)]=_0x4d7e81,_0x25d107[_0x4f382d(0x147)]=[_0x5b9f64],_0x25d107[_0x4f382d(0xcf)]=0x1,_0x25d107['pageSize']=0x14,_0x25d107;}['generateSDKCallCode'](_0x540f93,_0x384a12){const _0x18753d=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x384a12||{},_0x729921=this[_0x18753d(0xd9)](),_0x13fd8d=this['generateRequestExample'](),_0x72e526=_0x5d6167=>{const _0x1e2450=_0x18753d;return JSON[_0x1e2450(0x10a)](_0x5d6167,null,0x2)[_0x1e2450(0x182)]('\x0a')[_0x1e2450(0xac)]((_0x4d6021,_0x22eea9)=>_0x22eea9===0x0?_0x4d6021:indent+_0x4d6021)['join']('\x0a');};if(useFullExample){const _0x547f3d=this[_0x18753d(0xc5)][_0x18753d(0x16a)]||[],_0x13a4bf={'where':_0x547f3d[0x0]?{[_0x547f3d[0x0]['code']]:{'$eq':this[_0x18753d(0x2fe)](_0x547f3d[0x0],'$eq')}}:{},'select':_0x547f3d[_0x18753d(0x1f9)](0x0,0x3)[_0x18753d(0xac)](_0x1bfb8a=>_0x1bfb8a['code']),'currentPage':0x1,'pageSize':0x14};let _0x455f76='';if(_0x547f3d[_0x18753d(0x1f8)]>=0x3){const _0x251377={};_0x251377[_0x18753d(0x349)]=[];const _0x3d1d68=_0x251377,_0x118a18=[];if(_0x547f3d[_0x18753d(0x1f8)]>0x0){const _0x4f78d8=_0x547f3d[_0x18753d(0x8b)](_0x45b655=>{const _0x48e813=_0x18753d,_0x7ccd8d=_0x45b655[_0x48e813(0x178)]();return['NUMBER',_0x48e813(0x2de),_0x48e813(0x33c),_0x48e813(0x250),'TINYINT',_0x48e813(0x1f7)][_0x48e813(0x128)](_0x7ccd8d);});if(_0x4f78d8){const _0x515d98={};_0x515d98[_0x18753d(0x323)]=0x0,_0x515d98[_0x18753d(0x1f1)]=0x64;const _0xc61026={[_0x4f78d8[_0x18753d(0x22c)]]:_0x515d98};_0x118a18[_0x18753d(0x2d5)](_0xc61026);}}if(_0x547f3d['length']>0x1){const _0x1f9836=_0x547f3d[_0x18753d(0x8b)](_0x28c040=>{const _0x56ef12=_0x18753d,_0x5b271c=_0x28c040['getDbTypeForOperation']();return[_0x56ef12(0xe1),_0x56ef12(0x1b1),_0x56ef12(0x106),'CHAR',_0x56ef12(0x1c2)][_0x56ef12(0x128)](_0x5b271c);});if(_0x1f9836){const _0x2b787d={};_0x2b787d[_0x18753d(0x1d7)]='keyword';const _0x494875={[_0x1f9836[_0x18753d(0x22c)]]:_0x2b787d};_0x118a18['push'](_0x494875);}}if(_0x118a18[_0x18753d(0x1f8)]>0x0){_0x3d1d68[_0x18753d(0x349)]=_0x118a18;const _0x1ea426={'where':_0x3d1d68,'select':_0x547f3d[_0x18753d(0x1f9)](0x0,0x4)[_0x18753d(0xac)](_0x10722a=>_0x10722a['code']),'orderBy':[{[_0x547f3d[0x0]['code']]:_0x18753d(0x91)}],'currentPage':0x1,'pageSize':0x14};_0x455f76='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x540f93+'.'+_0x729921+'('+_0x72e526(_0x1ea426)+');';}}return _0x18753d(0x15f)+_0x540f93+'.'+_0x729921+'('+_0x72e526(_0x13a4bf)+');'+_0x455f76;}const _0x1aac88=JSON[_0x18753d(0x10a)](_0x13fd8d,null,0x2)['split']('\x0a')['map']((_0x185404,_0x3a68a6)=>_0x3a68a6===0x0?_0x185404:indent+_0x185404)[_0x18753d(0x103)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x540f93+'.'+_0x729921+'('+_0x1aac88+');';}[a0_0x3e48cd(0x343)](_0x63d177){const _0x3e7db5=a0_0x3e48cd,_0x138049=_0x63d177[_0x3e7db5(0x178)](),_0x2cd2e4=[];if([_0x3e7db5(0x1dd),_0x3e7db5(0x2de),_0x3e7db5(0x33c),_0x3e7db5(0x28e)][_0x3e7db5(0x128)](_0x138049)||[_0x3e7db5(0x250),_0x3e7db5(0x1a5),'SMALLINT','DOUBLE','FLOAT'][_0x3e7db5(0x128)](_0x138049))_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),'$ne',_0x3e7db5(0x323),'$lte',_0x3e7db5(0x135),_0x3e7db5(0x344),_0x3e7db5(0x8d));else{if([_0x3e7db5(0xe1),_0x3e7db5(0x1b1),_0x3e7db5(0x106)]['includes'](_0x138049)||[_0x3e7db5(0x163),_0x3e7db5(0x1c2)][_0x3e7db5(0x128)](_0x138049))_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),'$ne','$in',_0x3e7db5(0x1d7),_0x3e7db5(0x1c4),'$endWith');else{if([_0x3e7db5(0x303),'DATETIME','TIMESTAMP'][_0x3e7db5(0x128)](_0x138049)||[_0x3e7db5(0x258)]['includes'](_0x138049))_0x2cd2e4[_0x3e7db5(0x2d5)]('$eq',_0x3e7db5(0x203),_0x3e7db5(0x323),_0x3e7db5(0x1f1),_0x3e7db5(0x135),'$lteq');else[_0x3e7db5(0x9d),_0x3e7db5(0x184),_0x3e7db5(0x2a3)][_0x3e7db5(0x128)](_0x138049)?_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),_0x3e7db5(0x203)):_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),_0x3e7db5(0x203));}}return _0x2cd2e4;}[a0_0x3e48cd(0xa7)](_0x2d3492,_0x22fcda){const _0x400c71=a0_0x3e48cd,_0x3161c2=_0x2d3492[_0x400c71(0x178)]();if(['NUMBER',_0x400c71(0x2de),'BIGINT',_0x400c71(0x28e)][_0x400c71(0x128)](_0x3161c2)||[_0x400c71(0x250),'TINYINT','SMALLINT',_0x400c71(0x234),_0x400c71(0xff)][_0x400c71(0x128)](_0x3161c2))return _0x22fcda[_0x400c71(0x128)](_0x400c71(0x323))?'$gte':'$eq';if([_0x400c71(0xe1),'TEXT',_0x400c71(0x106)][_0x400c71(0x128)](_0x3161c2)||[_0x400c71(0x163),_0x400c71(0x1c2)]['includes'](_0x3161c2))return _0x22fcda[_0x400c71(0x128)](_0x400c71(0x1d7))?'$contain':_0x400c71(0xab);if([_0x400c71(0x303),_0x400c71(0x100),_0x400c71(0x33d),_0x400c71(0x258)][_0x400c71(0x128)](_0x3161c2))return _0x22fcda[_0x400c71(0x128)](_0x400c71(0x323))?'$gte':_0x400c71(0xab);return'$eq';}[a0_0x3e48cd(0x2fe)](_0x11c2a3,_0x591e1b){const _0x5493ff=a0_0x3e48cd,_0x4bdce4=_0x11c2a3[_0x5493ff(0x178)](),_0x56b615=_0x11c2a3[_0x5493ff(0x118)]();if(_0x56b615&&_0x56b615[_0x5493ff(0x1f8)]>0x0){if(_0x591e1b===_0x5493ff(0x8d))return _0x56b615[_0x5493ff(0x1f9)](0x0,0x2)[_0x5493ff(0xac)](_0x126d48=>_0x126d48['value']);return _0x56b615[0x0]['value'];}if([_0x5493ff(0x1dd),_0x5493ff(0x2de),_0x5493ff(0x33c),_0x5493ff(0x28e)][_0x5493ff(0x128)](_0x4bdce4)||[_0x5493ff(0x250),_0x5493ff(0x1a5),_0x5493ff(0x1f7),_0x5493ff(0x234),_0x5493ff(0xff)][_0x5493ff(0x128)](_0x4bdce4)){if(_0x591e1b===_0x5493ff(0x8d))return[0x1,0x2,0x3];if(_0x591e1b===_0x5493ff(0x323)||_0x591e1b===_0x5493ff(0x135))return 0x0;if(_0x591e1b===_0x5493ff(0x1f1)||_0x591e1b==='$lteq')return 0x64;return 0x1;}if([_0x5493ff(0xe1),_0x5493ff(0x1b1),_0x5493ff(0x106)][_0x5493ff(0x128)](_0x4bdce4)||[_0x5493ff(0x163),_0x5493ff(0x1c2)][_0x5493ff(0x128)](_0x4bdce4)){if(_0x591e1b===_0x5493ff(0x8d))return['value1',_0x5493ff(0x1ad)];if(_0x591e1b===_0x5493ff(0x1d7))return'keyword';if(_0x591e1b===_0x5493ff(0x1c4))return'prefix';if(_0x591e1b==='$endWith')return'suffix';return _0x5493ff(0x2d3);}if([_0x5493ff(0x303),_0x5493ff(0x100),'TIMESTAMP',_0x5493ff(0x258)][_0x5493ff(0x128)](_0x4bdce4)){if(_0x591e1b===_0x5493ff(0x323)||_0x591e1b===_0x5493ff(0x135))return'2024-01-01';if(_0x591e1b==='$lte'||_0x591e1b==='$lteq')return'2024-12-31';return'2024-01-01';}if([_0x5493ff(0x9d),'BOOL','BIT'][_0x5493ff(0x128)](_0x4bdce4))return!![];return _0x591e1b===_0x5493ff(0x8d)?[_0x5493ff(0x15a),_0x5493ff(0x1ad)]:_0x5493ff(0x2d3);}[a0_0x3e48cd(0x249)](){const _0x59476a=a0_0x3e48cd,_0x4f4f8c=super['getRequestParams'](),_0x217e8c=Object['entries'](_0x4f4f8c)[_0x59476a(0x2af)](([_0x17ac40])=>_0x17ac40!=='currentPage'&&_0x17ac40!==_0x59476a(0x1e0))[_0x59476a(0xac)](([_0x1d87f0,_0x213101])=>{const _0x12dae3=_0x59476a,_0x55ff3e=_0x213101,_0x1a7101={};return _0x1a7101['name']=_0x1d87f0,_0x1a7101[_0x12dae3(0x299)]=_0x55ff3e[_0x12dae3(0x299)]||'String',_0x1a7101['description']=_0x55ff3e[_0x12dae3(0x2b7)]||'-',_0x1a7101[_0x12dae3(0x180)]=_0x55ff3e[_0x12dae3(0x180)],_0x1a7101;}),_0x284456={};return _0x284456[_0x59476a(0x2b7)]=_0x59476a(0x2ee),_0x284456[_0x59476a(0x26b)]=_0x217e8c,_0x284456;}}class ExcelExportOperation extends GenericOperation{[a0_0x3e48cd(0x114)](){const _0x5ad906=a0_0x3e48cd,_0x29ec84=super[_0x5ad906(0x114)]();if(Object[_0x5ad906(0x326)](_0x29ec84)[_0x5ad906(0x1f8)]===0x0){const _0x578df3={};this['context']['fields'][_0x5ad906(0x194)](_0x543e25=>{const _0x3a1d59=_0x5ad906;if(_0x543e25){const _0x5a800a=_0x543e25['code'],_0xb0eb41=_0x543e25[_0x3a1d59(0x178)](),_0x390ea1={};_0x390ea1[_0x3a1d59(0x299)]=_0xb0eb41||_0x3a1d59(0x1b1),_0x390ea1[_0x3a1d59(0x233)]=_0x543e25['sortNum'],_0x390ea1[_0x3a1d59(0x2b7)]=_0x543e25['description']||_0x543e25[_0x3a1d59(0x246)],_0x578df3[_0x5a800a]=_0x390ea1;}});const _0xc6b57b={};_0xc6b57b['type']='Integer',_0xc6b57b[_0x5ad906(0x2b7)]='当前页码(可选)',_0x578df3[_0x5ad906(0xcf)]=_0xc6b57b;const _0x2fb016={};return _0x2fb016[_0x5ad906(0x299)]=_0x5ad906(0x27d),_0x2fb016['description']=_0x5ad906(0x134),_0x578df3[_0x5ad906(0x1e0)]=_0x2fb016,_0x578df3;}return _0x29ec84;}[a0_0x3e48cd(0x209)](){const _0x5db4d4=a0_0x3e48cd,_0x1131a9=super[_0x5db4d4(0x209)]();if(Object['keys'](_0x1131a9)[_0x5db4d4(0x1f8)]===0x0){const _0x58d19d={};return _0x58d19d[_0x5db4d4(0xcf)]=0x1,_0x58d19d[_0x5db4d4(0x1e0)]=0x64,_0x58d19d;}const _0x3529c4={..._0x1131a9};return _0x3529c4['currentPage']=_0x1131a9[_0x5db4d4(0xcf)]??0x1,_0x3529c4['pageSize']=_0x1131a9[_0x5db4d4(0x1e0)]??0x64,_0x3529c4;}[a0_0x3e48cd(0xd5)](){const _0x1117c5=a0_0x3e48cd,_0x270365={};return _0x270365[_0x1117c5(0x2c3)]=!![],_0x270365[_0x1117c5(0x1ab)]='',_0x270365['errorMsg']='',_0x270365['errorCode']=_0x1117c5(0x23e),_0x270365[_0x1117c5(0x32f)]=_0x1117c5(0x14f),_0x270365[_0x1117c5(0x26b)]=null,_0x270365;}[a0_0x3e48cd(0x27a)](_0x5eeddc,_0x10c62b){const _0x5265e4=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x10c62b||{},_0x3de353=this[_0x5265e4(0xd9)]();if(useFullExample){const _0xa7483f=this['generateRequestExample'](),{currentPage:_0x201bd4,pageSize:_0x4e8d76,..._0xd1db74}=_0xa7483f,_0xba52dc=Object[_0x5265e4(0x326)](_0xd1db74)[_0x5265e4(0x1f8)]>0x0;if(_0xba52dc){const _0x1ca2ea=_0x368175=>{const _0x22265c=_0x5265e4;return JSON['stringify'](_0x368175,null,0x2)[_0x22265c(0x182)]('\x0a')['map']((_0x2489b7,_0x306140)=>_0x306140===0x0?_0x2489b7:indent+_0x2489b7)[_0x22265c(0x103)]('\x0a');};return'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5eeddc+'.'+_0x3de353+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5eeddc+'.'+_0x3de353+'('+_0x1ca2ea(_0xa7483f)+');';}else{const _0x41385f=_0x440e96=>{const _0x3260cd=_0x5265e4;return JSON[_0x3260cd(0x10a)](_0x440e96,null,0x2)['split']('\x0a')[_0x3260cd(0xac)]((_0x4419d5,_0x327cce)=>_0x327cce===0x0?_0x4419d5:indent+_0x4419d5)[_0x3260cd(0x103)]('\x0a');},_0x4899e6={};return _0x4899e6['currentPage']=0x1,_0x4899e6[_0x5265e4(0x1e0)]=0x64,_0x5265e4(0x190)+_0x5eeddc+'.'+_0x3de353+_0x5265e4(0x2e4)+_0x5eeddc+'.'+_0x3de353+'('+_0x41385f(_0x4899e6)+');';}}return _0x5265e4(0x15c)+_0x5eeddc+'.'+_0x3de353+_0x5265e4(0x93);}[a0_0x3e48cd(0x17e)](_0x3da0da){const _0x701cde=a0_0x3e48cd,_0x5608b1=this[_0x701cde(0xd9)](),_0x210edd=_0x3da0da||'yourModel',_0x512453='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x210edd+'.'+_0x5608b1+_0x701cde(0x31a),_0xd79040=_0x701cde(0x242)+_0x210edd+'.'+_0x5608b1+_0x701cde(0x90),_0x33bba3={};return _0x33bba3[_0x701cde(0x1de)]=_0x512453,_0x33bba3[_0x701cde(0x1a1)]=_0xd79040,_0x33bba3;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){return this['parseRawRequestBody']();}[a0_0x3e48cd(0x114)](){const _0x192540=a0_0x3e48cd,_0x131edd=this['getUpdateFields'](),_0x37a404={};_0x37a404[_0x192540(0x299)]=_0x192540(0x1dd),_0x37a404[_0x192540(0x2b7)]='主键ID(必填)',_0x37a404[_0x192540(0x180)]=!![];const _0x1aac7e={};_0x1aac7e[_0x192540(0x299)]=_0x192540(0x335),_0x1aac7e[_0x192540(0x2b7)]=_0x192540(0x1f3),_0x1aac7e[_0x192540(0x180)]=!![],_0x1aac7e['properties']=_0x131edd;const _0x5712d3={};return _0x5712d3['id']=_0x37a404,_0x5712d3[_0x192540(0x32f)]=_0x1aac7e,_0x5712d3;}[a0_0x3e48cd(0x138)](){return this['getUpdateFields']();}[a0_0x3e48cd(0x2d9)](){const _0x2f2363=a0_0x3e48cd,_0x247c75=this['context'][_0x2f2363(0x16a)]||[],_0x1b00ee=this['context'][_0x2f2363(0x33b)],_0x3b6f00=_0x247c75[_0x2f2363(0x8b)](_0x1590f7=>_0x1590f7[_0x2f2363(0xb8)]()||_0x1590f7[_0x2f2363(0x22c)]===_0x1b00ee),_0x28117d=_0x247c75[_0x2f2363(0x2af)](_0x26f42b=>{const _0x2598c2=_0x2f2363;if(_0x26f42b[_0x2598c2(0x24b)])return![];if(_0x26f42b===_0x3b6f00||_0x26f42b[_0x2598c2(0xb8)]())return![];if(_0x26f42b['isCreateTime']()||_0x26f42b[_0x2598c2(0xe4)]())return![];if(_0x26f42b[_0x2598c2(0x305)]())return![];return!![];});return _0x3b6f00?[_0x3b6f00,..._0x28117d]:_0x28117d;}['getHTTPRequestParamsDocInfo'](){const _0x4757d4=a0_0x3e48cd,_0x377f52=this['getHTTPFields'](),_0x4a6d5b=this[_0x4757d4(0xc5)][_0x4757d4(0x33b)],_0x5e2167=_0x377f52[_0x4757d4(0xac)](_0x1c0040=>{const _0x2e9cf5=_0x4757d4,_0x4dfa5b=_0x1c0040[_0x2e9cf5(0xb8)]()||_0x1c0040[_0x2e9cf5(0x22c)]===_0x4a6d5b,_0x4158fe=_0x4dfa5b?'id':_0x1c0040[_0x2e9cf5(0x22c)],_0x229cee={};return _0x229cee['name']=_0x4158fe,_0x229cee[_0x2e9cf5(0x299)]=_0x1c0040['type'],_0x229cee[_0x2e9cf5(0x2b7)]=_0x4dfa5b?'主键,用于定位要更新的记录'+(_0x4a6d5b&&_0x4a6d5b!==_0x1c0040[_0x2e9cf5(0x22c)]?'(实际字段:'+_0x1c0040[_0x2e9cf5(0x22c)]+')':''):_0x1c0040['description']||_0x1c0040['name'],_0x229cee;}),_0x364473={};return _0x364473[_0x4757d4(0x2b7)]='HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。',_0x364473['params']=_0x5e2167,_0x364473;}['getRequestParamsDocInfo'](){const _0x1ee183=a0_0x3e48cd,_0x5369c0=this[_0x1ee183(0x30a)](),_0x56aa75=Object[_0x1ee183(0x256)](_0x5369c0)['map'](([_0x1a4b38,_0x2bf702])=>{const _0xe3e6dc=_0x1ee183,_0x403c72=_0x2bf702,_0x2898b9={};return _0x2898b9['name']=_0x1a4b38,_0x2898b9[_0xe3e6dc(0x299)]=_0x403c72[_0xe3e6dc(0x299)]||_0xe3e6dc(0x290),_0x2898b9[_0xe3e6dc(0x2b7)]=_0x403c72[_0xe3e6dc(0x2b7)]||'-',_0x2898b9;}),_0x53444a={};return _0x53444a['description']=_0x1ee183(0x2ae)+_0x1ee183(0x27c)+_0x1ee183(0x263)+_0x1ee183(0x200)+_0x1ee183(0x19c)+_0x1ee183(0x20e),_0x53444a['params']=_0x56aa75,_0x53444a;}[a0_0x3e48cd(0x209)](){const _0x1528a0=a0_0x3e48cd,_0xbac11f=this['getUpdateFields'](),_0x587ce8={};Object[_0x1528a0(0x256)](_0xbac11f)['forEach'](([_0x1e12ea,_0x1982ea])=>{const _0x516621=_0x1528a0,_0xac452a=_0x1982ea;let _0x2b29fc;if(typeof _0xac452a[_0x516621(0x299)]==='string')_0x2b29fc=_0xac452a[_0x516621(0x299)];else _0xac452a[_0x516621(0x299)]&&typeof _0xac452a[_0x516621(0x299)]===_0x516621(0x335)?_0x2b29fc=_0xac452a[_0x516621(0x299)]['type']||_0x516621(0x1b1):_0x2b29fc=_0x516621(0x1b1);const _0x24c2f3=_0xac452a['description'],_0x2796b7=this[_0x516621(0x28a)](_0x1e12ea);_0x587ce8[_0x1e12ea]=this[_0x516621(0x291)](_0x1e12ea,_0x2b29fc,_0x2796b7?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x24c2f3||_0x2796b7?.['description']||_0x2796b7?.['name']});});const _0x36c834={};return _0x36c834['id']=0x1,_0x36c834[_0x1528a0(0x32f)]=_0x587ce8,_0x36c834;}[a0_0x3e48cd(0x333)](){const _0x2aa422=a0_0x3e48cd,_0x4f86bf=this[_0x2aa422(0x209)](),_0x14e559={};return _0x14e559[_0x2aa422(0xbb)]=_0x2aa422(0x21e),_0x14e559['description']=_0x2aa422(0x19e)+_0x2aa422(0x248)+_0x2aa422(0x1fd),_0x14e559[_0x2aa422(0x32f)]=_0x4f86bf,[_0x14e559,{'title':_0x2aa422(0x1ca),'description':_0x2aa422(0x25a)+_0x2aa422(0x1be)+_0x2aa422(0xf9),'data':this[_0x2aa422(0x2f1)]()}];}[a0_0x3e48cd(0x2f1)](){const _0x304e60=a0_0x3e48cd,_0x41fbe1=this[_0x304e60(0x30a)](),_0x2cca9a={};_0x2cca9a['id']=0x1;const _0x5ed943=_0x2cca9a;return Object[_0x304e60(0x256)](_0x41fbe1)[_0x304e60(0x194)](([_0x56e976,_0x278c5b])=>{const _0x190506=_0x304e60,_0xda3b9b=_0x278c5b;let _0x5b2d93;if(typeof _0xda3b9b[_0x190506(0x299)]===_0x190506(0x278))_0x5b2d93=_0xda3b9b[_0x190506(0x299)];else _0xda3b9b['type']&&typeof _0xda3b9b[_0x190506(0x299)]===_0x190506(0x335)?_0x5b2d93=_0xda3b9b[_0x190506(0x299)][_0x190506(0x299)]||_0x190506(0x1b1):_0x5b2d93=_0x190506(0x1b1);const _0xd4a696=_0xda3b9b[_0x190506(0x2b7)],_0x47178b=this[_0x190506(0x28a)](_0x56e976);if(_0x47178b?.[_0x190506(0xb8)]())return;_0x5ed943[_0x56e976]=this['generateFieldExample'](_0x56e976,_0x5b2d93,_0x47178b?.[_0x190506(0x178)](),{'isPrimaryKey':![],'description':_0xd4a696||_0x47178b?.[_0x190506(0x2b7)]||_0x47178b?.[_0x190506(0x246)]});}),_0x5ed943;}[a0_0x3e48cd(0x197)](){const _0x54faa6=a0_0x3e48cd;return this[_0x54faa6(0x2f1)]();}['generateSDKCallCode'](_0x5c5022,_0x2dd7bc){const _0x5d7372=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2dd7bc||{},_0xe8f38d=this[_0x5d7372(0xd9)]();if(useFullExample){const _0xf295a1=this[_0x5d7372(0x209)](),_0x25381b=JSON[_0x5d7372(0x10a)](_0xf295a1['data'],null,0x2)[_0x5d7372(0x182)]('\x0a')[_0x5d7372(0xac)]((_0x5e611c,_0x42ca70)=>_0x42ca70===0x0?_0x5e611c:indent+_0x5e611c)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x5c5022+'.'+_0xe8f38d+'('+_0xf295a1['id']+',\x20'+_0x25381b+');';}return _0x5d7372(0x331)+_0x5c5022+'.'+_0xe8f38d+_0x5d7372(0x2cb);}}class AggregateOperation extends GenericOperation{constructor(_0x53278c,_0x3fccd1,_0x3e9700){super(_0x53278c,_0x3fccd1,_0x3e9700);}[a0_0x3e48cd(0x33e)](_0x22e571){const _0x344aab=a0_0x3e48cd;return _0x22e571[_0x344aab(0x15d)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x344aab(0x199)]()[_0x344aab(0x279)]();}[a0_0x3e48cd(0x270)](){return AGGREGATE_FUNCTIONS;}[a0_0x3e48cd(0x114)](){const _0x3a179e=a0_0x3e48cd,_0x2f16f2=super[_0x3a179e(0x114)](),_0xe08c72={};_0xe08c72[_0x3a179e(0x299)]='String[]',_0xe08c72[_0x3a179e(0x2b7)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)',_0xe08c72['required']=![];const _0x3692a6={};_0x3692a6[_0x3a179e(0x299)]=_0x3a179e(0x288),_0x3692a6[_0x3a179e(0x2b7)]='查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)',_0x3692a6['required']=![];const _0x52cb88={};_0x52cb88[_0x3a179e(0x299)]=_0x3a179e(0x162),_0x52cb88[_0x3a179e(0x2b7)]='分组字段列表',_0x52cb88[_0x3a179e(0x180)]=![];const _0x57c6f9={};_0x57c6f9[_0x3a179e(0x299)]='Array',_0x57c6f9[_0x3a179e(0x2b7)]=_0x3a179e(0x34f),_0x57c6f9[_0x3a179e(0x180)]=![];const _0x5a548e={};_0x5a548e[_0x3a179e(0x299)]=_0x3a179e(0x2f8),_0x5a548e['description']='分组后的过滤条件(对聚合结果进行过滤)',_0x5a548e['required']=![];const _0x22dcd5={};_0x22dcd5[_0x3a179e(0x299)]=_0x3a179e(0x2f8),_0x22dcd5['description']=_0x3a179e(0x1e6),_0x22dcd5[_0x3a179e(0x180)]=![];const _0x5ee8da={};_0x5ee8da[_0x3a179e(0x299)]='Number',_0x5ee8da[_0x3a179e(0x2b7)]=_0x3a179e(0xf0),_0x5ee8da[_0x3a179e(0x180)]=![];const _0x16c27c={};_0x16c27c[_0x3a179e(0x299)]=_0x3a179e(0x186),_0x16c27c[_0x3a179e(0x2b7)]=_0x3a179e(0x338),_0x16c27c[_0x3a179e(0x180)]=![];const _0x2c1690={..._0x2f16f2};return _0x2c1690[_0x3a179e(0x2bb)]=_0xe08c72,_0x2c1690[_0x3a179e(0x2b0)]=_0x3692a6,_0x2c1690['groupBy']=_0x52cb88,_0x2c1690['aggregate']=_0x57c6f9,_0x2c1690[_0x3a179e(0x1eb)]=_0x5a548e,_0x2c1690[_0x3a179e(0x147)]=_0x22dcd5,_0x2c1690[_0x3a179e(0xcf)]=_0x5ee8da,_0x2c1690['pageSize']=_0x16c27c,_0x2c1690;}['getSystemFields'](){const _0x5b498f=a0_0x3e48cd,_0xba0caa={};_0xba0caa['code']=_0x5b498f(0x2bb),_0xba0caa[_0x5b498f(0x299)]=_0x5b498f(0x162),_0xba0caa[_0x5b498f(0x2b7)]=_0x5b498f(0x33f);const _0x18c48f={};_0x18c48f[_0x5b498f(0x22c)]=_0x5b498f(0x2b0),_0x18c48f[_0x5b498f(0x299)]='Object',_0x18c48f[_0x5b498f(0x2b7)]=_0x5b498f(0x277);const _0x4ad2af={};_0x4ad2af[_0x5b498f(0x22c)]=_0x5b498f(0x1ea),_0x4ad2af[_0x5b498f(0x299)]=_0x5b498f(0x162),_0x4ad2af[_0x5b498f(0x2b7)]=_0x5b498f(0x2da);const _0x29438e={};_0x29438e[_0x5b498f(0x22c)]='aggregate',_0x29438e[_0x5b498f(0x299)]=_0x5b498f(0x2f8),_0x29438e[_0x5b498f(0x2b7)]=_0x5b498f(0xb0);const _0x4aa7d2={};_0x4aa7d2[_0x5b498f(0x22c)]='having',_0x4aa7d2[_0x5b498f(0x299)]='Array',_0x4aa7d2['description']=_0x5b498f(0x1a4);const _0x345764={};_0x345764[_0x5b498f(0x22c)]=_0x5b498f(0x147),_0x345764[_0x5b498f(0x299)]=_0x5b498f(0x2f8),_0x345764['description']=_0x5b498f(0x1e6);const _0x1821d={};_0x1821d['code']=_0x5b498f(0xcf),_0x1821d[_0x5b498f(0x299)]=_0x5b498f(0x186),_0x1821d[_0x5b498f(0x2b7)]=_0x5b498f(0xf0);const _0x374ab7={};return _0x374ab7[_0x5b498f(0x22c)]='pageSize',_0x374ab7[_0x5b498f(0x299)]=_0x5b498f(0x186),_0x374ab7[_0x5b498f(0x2b7)]=_0x5b498f(0x338),[_0xba0caa,_0x18c48f,_0x4ad2af,_0x29438e,_0x4aa7d2,_0x345764,_0x1821d,_0x374ab7];}[a0_0x3e48cd(0x209)](){const _0x4d892b=a0_0x3e48cd,_0x2b22a4=this[_0x4d892b(0xc5)][_0x4d892b(0x16a)]||[];if(_0x2b22a4[_0x4d892b(0x1f8)]===0x0){const _0x32e91c={};return _0x32e91c[_0x4d892b(0x2b0)]={},_0x32e91c['groupBy']=[],_0x32e91c[_0x4d892b(0x17c)]=[],_0x32e91c;}const _0x3ac72b={},_0x580ba1=_0x2b22a4[_0x4d892b(0x1f9)](0x0,Math[_0x4d892b(0x15b)](0x3,_0x2b22a4['length']));_0x580ba1[_0x4d892b(0x194)](_0x39d43e=>{const _0x2aeb69=_0x4d892b,_0x4a6b04=this['getApplicableOperators'](_0x39d43e);if(_0x4a6b04[_0x2aeb69(0x1f8)]===0x0)return;const _0x5dce87=this[_0x2aeb69(0xa7)](_0x39d43e,_0x4a6b04),_0x44d331=this[_0x2aeb69(0x2fe)](_0x39d43e,_0x5dce87),_0x5eb09e={};_0x5eb09e[_0x5dce87]=_0x44d331,_0x3ac72b[_0x39d43e[_0x2aeb69(0x22c)]]=_0x5eb09e;});const _0x4b1b72=_0x2b22a4[_0x4d892b(0x1f9)](0x0,Math[_0x4d892b(0x15b)](0x2,_0x2b22a4[_0x4d892b(0x1f8)]))[_0x4d892b(0xac)](_0xabdcee=>_0xabdcee[_0x4d892b(0x22c)]),_0x1c1452=[],_0x5864aa=_0x2b22a4[_0x4d892b(0x2af)](_0x5b83d0=>this[_0x4d892b(0xf3)](_0x5b83d0));if(_0x5864aa[_0x4d892b(0x1f8)]>0x0){const _0x152774=_0x5864aa[0x0],_0x1dd47d=_0x152774[_0x4d892b(0x22c)],_0x535796={};_0x535796['type']=_0x4d892b(0xee),_0x535796[_0x4d892b(0x1d6)]=_0x1dd47d,_0x535796[_0x4d892b(0x316)]=_0x1dd47d+_0x4d892b(0x2fd),_0x535796[_0x4d892b(0x230)]=![],_0x535796[_0x4d892b(0xa3)]=!![],_0x535796[_0x4d892b(0x29c)]=0x2,_0x1c1452['push'](_0x535796);const _0x429ab2={};_0x429ab2[_0x4d892b(0x299)]=_0x4d892b(0x99),_0x429ab2[_0x4d892b(0x1d6)]=_0x1dd47d,_0x429ab2[_0x4d892b(0x316)]=_0x1dd47d+_0x4d892b(0x265),_0x429ab2[_0x4d892b(0x230)]=![],_0x429ab2[_0x4d892b(0xa3)]=!![],_0x429ab2[_0x4d892b(0x29c)]=0x2,_0x1c1452[_0x4d892b(0x2d5)](_0x429ab2);const _0x4c0e9c={};_0x4c0e9c[_0x4d892b(0x299)]=_0x4d892b(0x2db),_0x4c0e9c[_0x4d892b(0x1d6)]=_0x1dd47d,_0x4c0e9c['alias']=_0x1dd47d+_0x4d892b(0x1b5),_0x4c0e9c[_0x4d892b(0x230)]=![],_0x4c0e9c[_0x4d892b(0xa3)]=!![],_0x4c0e9c[_0x4d892b(0x29c)]=0x2,_0x1c1452[_0x4d892b(0x2d5)](_0x4c0e9c);const _0x362950={};_0x362950[_0x4d892b(0x299)]='min',_0x362950[_0x4d892b(0x1d6)]=_0x1dd47d,_0x362950[_0x4d892b(0x316)]=_0x1dd47d+_0x4d892b(0x2e9),_0x362950[_0x4d892b(0x230)]=![],_0x362950[_0x4d892b(0xa3)]=!![],_0x362950[_0x4d892b(0x29c)]=0x2,_0x1c1452[_0x4d892b(0x2d5)](_0x362950);}else{if(_0x2b22a4[_0x4d892b(0x1f8)]>0x0){const _0x1715cc=_0x2b22a4[0x0],_0x27c72d=_0x1715cc[_0x4d892b(0x22c)],_0x318b14={};_0x318b14[_0x4d892b(0x299)]='count',_0x318b14[_0x4d892b(0x1d6)]=_0x27c72d,_0x318b14[_0x4d892b(0x316)]='total_count',_0x318b14[_0x4d892b(0x230)]=!![],_0x1c1452[_0x4d892b(0x2d5)](_0x318b14);}}const _0x5f349a=[];if(_0x2b22a4[_0x4d892b(0x1f8)]>0x0){const _0x57af4b=_0x2b22a4[0x0][_0x4d892b(0x22c)],_0x5a505d={};_0x5a505d[_0x57af4b]=_0x4d892b(0x1bf),_0x5f349a[_0x4d892b(0x2d5)](_0x5a505d);}const _0x84f534=[..._0x4b1b72,..._0x1c1452[_0x4d892b(0xac)](_0x32df2b=>_0x32df2b[_0x4d892b(0x316)])],_0xf2eb88=[];if(_0x1c1452[_0x4d892b(0x1f8)]>0x0){const _0x16b48f={};_0x16b48f[_0x4d892b(0x323)]=0x0;const _0xb0b447={};_0xb0b447[_0x4d892b(0x29f)]=_0x1c1452[0x0][_0x4d892b(0x316)],_0xb0b447[_0x4d892b(0xc9)]=_0x16b48f,_0xf2eb88[_0x4d892b(0x2d5)](_0xb0b447);}const _0x34fce8={};return _0x34fce8[_0x4d892b(0x2bb)]=_0x84f534,_0x34fce8[_0x4d892b(0x2b0)]=_0x3ac72b,_0x34fce8[_0x4d892b(0x1ea)]=_0x4b1b72,_0x34fce8['aggregate']=_0x1c1452,_0x34fce8[_0x4d892b(0x1eb)]=_0xf2eb88[_0x4d892b(0x1f8)]>0x0?_0xf2eb88:undefined,_0x34fce8['orderBy']=_0x5f349a,_0x34fce8[_0x4d892b(0xcf)]=0x1,_0x34fce8[_0x4d892b(0x1e0)]=0x14,_0x34fce8;}['generateSDKCallCode'](_0x19f94d,_0x41cb46){const _0x14064a=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x41cb46||{},_0x5485ad=this['getName'](),_0x5bc4b5=this[_0x14064a(0x209)](),_0x166e18=_0x44a2af=>{const _0x38a096=_0x14064a;return JSON[_0x38a096(0x10a)](_0x44a2af,null,0x2)[_0x38a096(0x182)]('\x0a')[_0x38a096(0xac)]((_0x3f703f,_0x2588f4)=>_0x2588f4===0x0?_0x3f703f:indent+_0x3f703f)['join']('\x0a');};if(useFullExample){const _0x91d098=this[_0x14064a(0xc5)]['fields']||[],_0x35f703=_0x91d098[_0x14064a(0x2af)](_0x2a5e58=>this['isNumericField'](_0x2a5e58)),_0x2e3192={'where':_0x91d098[0x0]?{[_0x91d098[0x0][_0x14064a(0x22c)]]:{'$eq':this['generateExampleValue'](_0x91d098[0x0],_0x14064a(0xab))}}:{},'aggregate':_0x35f703[_0x14064a(0x1f8)]>0x0?[{'type':_0x14064a(0xee),'column':_0x35f703[0x0][_0x14064a(0x22c)],'alias':_0x35f703[0x0][_0x14064a(0x22c)]+_0x14064a(0x2fd),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x14064a(0x26c),'column':_0x91d098[0x0][_0x14064a(0x22c)],'alias':_0x14064a(0x1c5),'distinct':!![]}],'orderBy':[{[_0x91d098[0x0][_0x14064a(0x22c)]]:_0x14064a(0x1bf)}]};let _0x8a9776='';return _0x91d098[_0x14064a(0x1f8)]>=0x3&&(_0x8a9776='\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x19f94d+'.'+_0x5485ad+'('+_0x166e18(_0x5bc4b5)+');'),'//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x19f94d+'.'+_0x5485ad+'('+_0x166e18(_0x2e3192)+');'+_0x8a9776;}const _0xcd5573=JSON[_0x14064a(0x10a)](_0x5bc4b5,null,0x2)[_0x14064a(0x182)]('\x0a')['map']((_0xcc835b,_0x4a3439)=>_0x4a3439===0x0?_0xcc835b:indent+_0xcc835b)[_0x14064a(0x103)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x19f94d+'.'+_0x5485ad+'('+_0xcd5573+');';}['isNumericField'](_0x1415ee){const _0x4573b1=a0_0x3e48cd,_0x46691a=_0x1415ee[_0x4573b1(0x178)]();return[_0x4573b1(0x1dd),_0x4573b1(0x2de),_0x4573b1(0x33c),_0x4573b1(0x28e)][_0x4573b1(0x128)](_0x46691a)||[_0x4573b1(0x250),_0x4573b1(0x1a5),_0x4573b1(0x1f7),_0x4573b1(0x234),_0x4573b1(0xff)][_0x4573b1(0x128)](_0x46691a);}[a0_0x3e48cd(0x343)](_0x3abe93){const _0x5e760b=a0_0x3e48cd,_0x15b356=_0x3abe93[_0x5e760b(0x178)](),_0x496a31=[];if([_0x5e760b(0x1dd),'INTEGER',_0x5e760b(0x33c),_0x5e760b(0x28e)][_0x5e760b(0x128)](_0x15b356)||[_0x5e760b(0x250),'TINYINT',_0x5e760b(0x1f7),'DOUBLE',_0x5e760b(0xff)][_0x5e760b(0x128)](_0x15b356))_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),_0x5e760b(0x203),_0x5e760b(0x323),_0x5e760b(0x1f1),'$gteq',_0x5e760b(0x344),'$in');else{if([_0x5e760b(0xe1),'TEXT','VARCHAR'][_0x5e760b(0x128)](_0x15b356)||[_0x5e760b(0x163),_0x5e760b(0x1c2)][_0x5e760b(0x128)](_0x15b356))_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),_0x5e760b(0x203),'$in','$contain',_0x5e760b(0x1c4),_0x5e760b(0x212));else{if([_0x5e760b(0x303),_0x5e760b(0x100),_0x5e760b(0x33d)][_0x5e760b(0x128)](_0x15b356)||[_0x5e760b(0x258)][_0x5e760b(0x128)](_0x15b356))_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),_0x5e760b(0x203),'$gte',_0x5e760b(0x1f1),_0x5e760b(0x135),_0x5e760b(0x344));else[_0x5e760b(0x9d),_0x5e760b(0x184),_0x5e760b(0x2a3)][_0x5e760b(0x128)](_0x15b356)?_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),'$ne'):_0x496a31['push']('$eq',_0x5e760b(0x203));}}return _0x496a31;}[a0_0x3e48cd(0xa7)](_0x462824,_0x1ac0f4){const _0x5e0e7b=a0_0x3e48cd,_0x311d4f=_0x462824['getDbTypeForOperation']();if([_0x5e0e7b(0x1dd),_0x5e0e7b(0x2de),_0x5e0e7b(0x33c),_0x5e0e7b(0x28e)]['includes'](_0x311d4f)||[_0x5e0e7b(0x250),_0x5e0e7b(0x1a5),_0x5e0e7b(0x1f7),_0x5e0e7b(0x234),'FLOAT'][_0x5e0e7b(0x128)](_0x311d4f))return _0x1ac0f4[_0x5e0e7b(0x128)](_0x5e0e7b(0x323))?_0x5e0e7b(0x323):_0x5e0e7b(0xab);if([_0x5e0e7b(0xe1),_0x5e0e7b(0x1b1),_0x5e0e7b(0x106)][_0x5e0e7b(0x128)](_0x311d4f)||[_0x5e0e7b(0x163),_0x5e0e7b(0x1c2)]['includes'](_0x311d4f))return _0x1ac0f4[_0x5e0e7b(0x128)](_0x5e0e7b(0x1d7))?_0x5e0e7b(0x1d7):_0x5e0e7b(0xab);if([_0x5e0e7b(0x303),_0x5e0e7b(0x100),_0x5e0e7b(0x33d),_0x5e0e7b(0x258)]['includes'](_0x311d4f))return _0x1ac0f4[_0x5e0e7b(0x128)]('$gte')?_0x5e0e7b(0x323):_0x5e0e7b(0xab);return _0x5e0e7b(0xab);}['generateExampleValue'](_0xd5aeb1,_0x38944d){const _0x4519da=a0_0x3e48cd,_0x5f4e87=_0xd5aeb1[_0x4519da(0x178)](),_0x32682b=_0xd5aeb1[_0x4519da(0x118)]();if(_0x32682b&&_0x32682b[_0x4519da(0x1f8)]>0x0){if(_0x38944d===_0x4519da(0x8d))return _0x32682b[_0x4519da(0x1f9)](0x0,0x2)[_0x4519da(0xac)](_0x36b52f=>_0x36b52f[_0x4519da(0x2d3)]);return _0x32682b[0x0][_0x4519da(0x2d3)];}if([_0x4519da(0x1dd),_0x4519da(0x2de),_0x4519da(0x33c),'DECIMAL']['includes'](_0x5f4e87)||[_0x4519da(0x250),_0x4519da(0x1a5),'SMALLINT',_0x4519da(0x234),_0x4519da(0xff)][_0x4519da(0x128)](_0x5f4e87)){if(_0x38944d===_0x4519da(0x8d))return[0x1,0x2,0x3];if(_0x38944d===_0x4519da(0x323)||_0x38944d===_0x4519da(0x135))return 0x0;if(_0x38944d===_0x4519da(0x1f1)||_0x38944d==='$lteq')return 0x64;return 0x1;}if([_0x4519da(0xe1),_0x4519da(0x1b1),_0x4519da(0x106)]['includes'](_0x5f4e87)||['CHAR',_0x4519da(0x1c2)][_0x4519da(0x128)](_0x5f4e87)){if(_0x38944d===_0x4519da(0x8d))return[_0x4519da(0x15a),_0x4519da(0x1ad)];if(_0x38944d===_0x4519da(0x1d7))return _0x4519da(0x193);if(_0x38944d===_0x4519da(0x1c4))return _0x4519da(0x188);if(_0x38944d==='$endWith')return _0x4519da(0x332);return'value';}if([_0x4519da(0x303),_0x4519da(0x100),_0x4519da(0x33d),'TIME'][_0x4519da(0x128)](_0x5f4e87)){if(_0x38944d===_0x4519da(0x323)||_0x38944d===_0x4519da(0x135))return _0x4519da(0x255);if(_0x38944d===_0x4519da(0x1f1)||_0x38944d===_0x4519da(0x344))return _0x4519da(0x150);return _0x4519da(0x255);}if([_0x4519da(0x9d),_0x4519da(0x184),_0x4519da(0x2a3)][_0x4519da(0x128)](_0x5f4e87))return!![];return _0x38944d===_0x4519da(0x8d)?[_0x4519da(0x15a),_0x4519da(0x1ad)]:_0x4519da(0x2d3);}[a0_0x3e48cd(0x249)](){const _0x5ca841=a0_0x3e48cd,_0x1da721=this['getRequestParams'](),_0x2d92b9=Object[_0x5ca841(0x256)](_0x1da721)['filter'](([_0x251e35])=>_0x251e35!==_0x5ca841(0xcf)&&_0x251e35!==_0x5ca841(0x1e0))['map'](([_0x27b182,_0x1b8102])=>{const _0x46eb94=_0x5ca841,_0x4ccad5=_0x1b8102,_0x5149c0={};return _0x5149c0[_0x46eb94(0x246)]=_0x27b182,_0x5149c0[_0x46eb94(0x299)]=_0x4ccad5[_0x46eb94(0x299)]||'String',_0x5149c0[_0x46eb94(0x2b7)]=_0x4ccad5[_0x46eb94(0x2b7)]||'-',_0x5149c0['required']=_0x4ccad5['required'],_0x5149c0;}),_0x4c0a2c={};return _0x4c0a2c[_0x5ca841(0x2b7)]=_0x5ca841(0x18a),_0x4c0a2c[_0x5ca841(0x26b)]=_0x2d92b9,_0x4c0a2c;}[a0_0x3e48cd(0xd5)](){const _0x461982=a0_0x3e48cd,_0x43f7ac=this[_0x461982(0x209)]()[_0x461982(0x17c)],_0x369a12=[{}],_0x40fd62=[];_0x43f7ac?.[_0x461982(0x194)](_0x26421f=>{const _0x1e240a=_0x461982,_0x427fe9={};_0x427fe9[_0x1e240a(0xbb)]=_0x26421f['alias'],_0x427fe9[_0x1e240a(0x2c7)]=_0x26421f[_0x1e240a(0x316)],_0x40fd62['push'](_0x427fe9),_0x369a12[0x0][_0x26421f['alias']]=_0x26421f['type']===_0x1e240a(0x26c)?0x64:Math['round'](Math[_0x1e240a(0xca)]()*0x64*0x64)/0x64;});const _0x40bec0={};_0x40bec0['pageSize']=0x1,_0x40bec0[_0x461982(0x1ac)]=0x64,_0x40bec0['currentPage']=0x1;const _0x27964f={};_0x27964f[_0x461982(0xec)]=_0x40bec0,_0x27964f['tableData']=_0x369a12,_0x27964f[_0x461982(0x336)]=_0x40fd62;const _0x96d5c4={};return _0x96d5c4[_0x461982(0x2c3)]=!![],_0x96d5c4[_0x461982(0x1ab)]='',_0x96d5c4[_0x461982(0x2d1)]='',_0x96d5c4[_0x461982(0x1a1)]=_0x461982(0x23e),_0x96d5c4[_0x461982(0x32f)]=_0x27964f,_0x96d5c4[_0x461982(0x26b)]=null,_0x96d5c4;}}class BatchCreateOperation extends GenericOperation{['generateRequestExample'](){const _0x171834=a0_0x3e48cd,_0x367c80=super[_0x171834(0x209)]();return Object['entries'](this[_0x171834(0x114)]())[_0x171834(0x194)](([_0x35b1cb,_0x3c983d])=>{const _0x3d7a36=_0x171834,_0x15f28a=_0x3c983d;if(this[_0x3d7a36(0x179)](_0x15f28a)[_0x3d7a36(0x279)]()!==_0x3d7a36(0x95))return;const _0x13441c=_0x15f28a[_0x3d7a36(0x1c6)];_0x13441c&&typeof _0x13441c===_0x3d7a36(0x335)&&!Array[_0x3d7a36(0x133)](_0x13441c)&&(_0x367c80[_0x35b1cb]=[this[_0x3d7a36(0x1a2)](_0x13441c)]);}),_0x367c80;}[a0_0x3e48cd(0x306)](){const _0xa4c0d7=a0_0x3e48cd,_0x2794ea=this[_0xa4c0d7(0x209)]();return Object[_0xa4c0d7(0x94)](_0x2794ea)[_0xa4c0d7(0x294)](Array[_0xa4c0d7(0x133)])?_0x2794ea:[_0x2794ea];}[a0_0x3e48cd(0x1ae)](){const _0x34d012=a0_0x3e48cd,_0x36d46a=this[_0x34d012(0x306)]();if(Array['isArray'](_0x36d46a)){const _0x16e562={};return _0x16e562['items']=_0x36d46a,_0x16e562;}if(!_0x36d46a||typeof _0x36d46a!==_0x34d012(0x335)){const _0x35d18f={};return _0x35d18f[_0x34d012(0x1c6)]=[_0x36d46a],_0x35d18f;}const _0x1c2ac1={};let _0x4c675a=![];Object['entries'](_0x36d46a)[_0x34d012(0x194)](([_0x477f31,_0x4b48cf])=>{const _0x3fae48=_0x34d012;if(Array[_0x3fae48(0x133)](_0x4b48cf)){const _0xf7f16f={};_0xf7f16f[_0x3fae48(0x1c6)]=_0x4b48cf,_0x1c2ac1[_0x477f31]=_0xf7f16f,_0x4c675a=!![];}else _0x1c2ac1[_0x477f31]=_0x4b48cf;});const _0x4a9150={};return _0x4a9150[_0x34d012(0x1c6)]=[_0x36d46a],_0x4c675a?_0x1c2ac1:_0x4a9150;}[a0_0x3e48cd(0x197)](){const _0xb82940=a0_0x3e48cd;return{'array':this[_0xb82940(0x306)](),'object':this[_0xb82940(0x1ae)]()};}[a0_0x3e48cd(0x333)](){const _0x48792a=a0_0x3e48cd;return[{'title':_0x48792a(0xd6),'description':'直接传入批量创建数据数组','data':this[_0x48792a(0x306)]()},{'title':_0x48792a(0x319),'description':_0x48792a(0xfd),'data':this[_0x48792a(0x1ae)]()}];}[a0_0x3e48cd(0x27a)](_0x86161e,_0x475f61){const _0x1758df=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x475f61||{},_0x18598a=this[_0x1758df(0xd9)]();if(!useFullExample)return _0x1758df(0x331)+_0x86161e+'.'+_0x18598a+_0x1758df(0x221);const _0x15f871=_0x572648=>{const _0x3e6876=_0x1758df;return(JSON[_0x3e6876(0x10a)](_0x572648,null,0x2)||_0x3e6876(0x13c))[_0x3e6876(0x182)]('\x0a')[_0x3e6876(0xac)]((_0x29b013,_0x4d4129)=>_0x4d4129===0x0?_0x29b013:indent+_0x29b013)['join']('\x0a');},_0x5127c0=_0x15f871(this[_0x1758df(0x306)]()),_0x35cded=_0x15f871(this['generateItemsWrapperExample']());return[_0x1758df(0x1b0),_0x1758df(0x331)+_0x86161e+'.'+_0x18598a+'('+_0x5127c0+');','',_0x1758df(0x24c),_0x1758df(0x295)+_0x86161e+'.'+_0x18598a+'('+_0x35cded+');']['join']('\x0a');}[a0_0x3e48cd(0x1a2)](_0x12d809){const _0x4bed2a=a0_0x3e48cd,_0x215456={};return Object[_0x4bed2a(0x256)](_0x12d809)[_0x4bed2a(0x194)](([_0x53dc58,_0x177c6a])=>{const _0x2424df=_0x4bed2a,_0x29be5a=_0x177c6a,_0x47b562=this[_0x2424df(0x28a)](_0x53dc58);_0x215456[_0x53dc58]=this[_0x2424df(0x291)](_0x53dc58,this[_0x2424df(0x179)](_0x29be5a),_0x47b562?.['getDbTypeForOperation'](),{'isPrimaryKey':_0x47b562?.[_0x2424df(0xb8)](),'description':_0x29be5a[_0x2424df(0x2b7)]||_0x47b562?.[_0x2424df(0x2b7)]||_0x47b562?.['name']});}),_0x215456;}[a0_0x3e48cd(0x179)](_0xbfe92b){const _0x504922=a0_0x3e48cd,_0x223be1=_0xbfe92b['type'];if(typeof _0x223be1==='string')return _0x223be1;if(_0x223be1&&typeof _0x223be1===_0x504922(0x335)&&!Array[_0x504922(0x133)](_0x223be1))return _0x223be1[_0x504922(0x299)]||_0x504922(0x1b1);return _0x504922(0x1b1);}}class OperationFactory{[a0_0x3e48cd(0x25c)](_0x68431c,_0x7afc21,_0x131094){const _0x1e6b5c=a0_0x3e48cd;switch(_0x68431c){case _0x1e6b5c(0x346):return new GetSelectOptionsOperation(_0x68431c,_0x7afc21,_0x131094);case'getList':return new GetListOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x2af):return new FilterOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x119):return new ExcelExportOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x18c):return new UpdateOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x17c):return new AggregateOperation(_0x68431c,_0x7afc21,_0x131094);case'batchCreate':return new BatchCreateOperation(_0x68431c,_0x7afc21,_0x131094);default:return new GenericOperation(_0x68431c,_0x7afc21,_0x131094);}}[a0_0x3e48cd(0x28d)](_0x9151b7,_0x75b929){const _0x485de8=a0_0x3e48cd,_0x287aad=new Map();return Object[_0x485de8(0x256)](_0x9151b7)[_0x485de8(0x194)](([_0x16924f,_0x57a41b])=>{const _0x2d4250=_0x485de8;_0x287aad[_0x2d4250(0x317)](_0x16924f,this[_0x2d4250(0x25c)](_0x16924f,_0x57a41b,_0x75b929));}),_0x287aad;}}class OperationList{['_operations'];constructor(_0x2cdac3,_0x7f97eb){const _0x3fc3ea=a0_0x3e48cd,_0x140a1a=new OperationFactory();this[_0x3fc3ea(0x171)]=_0x140a1a[_0x3fc3ea(0x28d)](_0x2cdac3,_0x7f97eb);}[a0_0x3e48cd(0x32d)](_0x4a0446){const _0x518631=a0_0x3e48cd;return this[_0x518631(0x171)][_0x518631(0x32d)](_0x4a0446);}[a0_0x3e48cd(0x2b9)](_0x36f015){const _0x3c660b=a0_0x3e48cd;return this[_0x3c660b(0x171)][_0x3c660b(0x2b9)](_0x36f015);}[a0_0x3e48cd(0x13b)](){const _0x17019d=a0_0x3e48cd;return this['_operations'][_0x17019d(0x13b)];}[a0_0x3e48cd(0x18d)](){const _0x101c06=a0_0x3e48cd;return Array[_0x101c06(0x2c5)](this[_0x101c06(0x171)][_0x101c06(0x326)]());}[a0_0x3e48cd(0x181)](){const _0x1bed0d=a0_0x3e48cd,_0x564bd1=Array[_0x1bed0d(0x2c5)](this[_0x1bed0d(0x171)][_0x1bed0d(0x94)]());return this[_0x1bed0d(0x115)](_0x564bd1);}['getEnabled'](){const _0x425587=a0_0x3e48cd;return this[_0x425587(0x181)]()[_0x425587(0x2af)](_0x32ff72=>_0x32ff72[_0x425587(0x189)]());}[a0_0x3e48cd(0x1b3)](){const _0x391a8b=a0_0x3e48cd;return this['toArray']()[_0x391a8b(0x2af)](_0x4c6c45=>!_0x4c6c45['isEnabled']());}[a0_0x3e48cd(0x1a8)](){const _0x44124d=a0_0x3e48cd;return this[_0x44124d(0x10d)]()[_0x44124d(0xac)](_0xe46df7=>_0xe46df7[_0x44124d(0xd9)]());}[a0_0x3e48cd(0x156)](){const _0x846cad=a0_0x3e48cd;return this['getDisabled']()[_0x846cad(0xac)](_0x38656f=>_0x38656f['getName']());}[a0_0x3e48cd(0x202)](_0x590843){const _0x52138a=a0_0x3e48cd;return this[_0x52138a(0x181)]()[_0x52138a(0x2af)](_0x19942b=>_0x19942b['getType']()===_0x590843);}[a0_0x3e48cd(0x2af)](_0x137f69){const _0x5616c9=a0_0x3e48cd;return this[_0x5616c9(0x181)]()['filter'](_0x137f69);}[a0_0x3e48cd(0xaa)](_0x3b487c={}){const _0x587a84=a0_0x3e48cd;let _0x1b39ac=this['toArray']();!_0x3b487c['includeDisabled']&&(_0x1b39ac=_0x1b39ac[_0x587a84(0x2af)](_0x16fc6d=>_0x16fc6d['isEnabled']()));if(_0x3b487c['filterBlacklist']!==![]){const _0x3ebb77=_0x1b39ac[_0x587a84(0xac)](_0x261d3a=>({'name':_0x261d3a[_0x587a84(0xd9)](),'operation':_0x261d3a})),_0x18e8f6=filterApiOperations(_0x3ebb77);_0x1b39ac=_0x18e8f6[_0x587a84(0xac)](_0x57003d=>_0x57003d[_0x587a84(0x21a)]),_0x1b39ac=this['sortOperationsWithFilterFirst'](_0x1b39ac);}return _0x3b487c[_0x587a84(0x229)]&&(_0x1b39ac=_0x1b39ac[_0x587a84(0x2af)](_0x3b487c[_0x587a84(0x229)])),_0x1b39ac;}[a0_0x3e48cd(0x115)](_0x1de7b4){const _0x1fd3ef=a0_0x3e48cd,_0x25924b=_0x1de7b4[_0x1fd3ef(0x8b)](_0x30f552=>_0x30f552['getName']()===_0x1fd3ef(0x2af)),_0x493d3f=_0x1de7b4['filter'](_0x45b777=>_0x45b777[_0x1fd3ef(0xd9)]()!==_0x1fd3ef(0x2af));return _0x25924b?[_0x25924b,..._0x493d3f]:_0x493d3f;}[a0_0x3e48cd(0x1ef)](){const _0x3cb182=a0_0x3e48cd,_0x4b0606=this['getEnabled']();return{'total':this['size'](),'enabled':_0x4b0606['length'],'disabled':this[_0x3cb182(0x13b)]()-_0x4b0606['length'],'byType':this[_0x3cb182(0xb7)](_0x4b0606),'byMethod':this[_0x3cb182(0x2fc)](_0x4b0606)};}['getCountByType'](_0x4eacb5){const _0x1d1c93=a0_0x3e48cd,_0x1ee0e={};return _0x4eacb5[_0x1d1c93(0x194)](_0x41ad52=>{const _0x2cc325=_0x1d1c93,_0xbce8d0=_0x41ad52[_0x2cc325(0x22a)]();_0xbce8d0&&(_0x1ee0e[_0xbce8d0]=(_0x1ee0e[_0xbce8d0]||0x0)+0x1);}),_0x1ee0e;}[a0_0x3e48cd(0x2fc)](_0x1205ac){const _0x41c034=a0_0x3e48cd,_0x784735={};return _0x1205ac[_0x41c034(0x194)](_0x465308=>{const _0x263fff=_0x465308['getMethod']();_0x263fff&&(_0x784735[_0x263fff]=(_0x784735[_0x263fff]||0x0)+0x1);}),_0x784735;}[Symbol[a0_0x3e48cd(0x320)]](){const _0x26b82d=a0_0x3e48cd;return this[_0x26b82d(0x171)][_0x26b82d(0x94)]();}[a0_0x3e48cd(0x129)](){const _0x319a18=a0_0x3e48cd,_0x298355=this['getStats']();return'OperationList('+_0x298355[_0x319a18(0x12d)]+'/'+_0x298355['total']+_0x319a18(0x9b);}}class DBConfig{['raw'];['dbId'];[a0_0x3e48cd(0x187)];['dbType'];[a0_0x3e48cd(0x2ff)];['tableName'];[a0_0x3e48cd(0x21d)];['pkField'];[a0_0x3e48cd(0x2e6)];[a0_0x3e48cd(0x260)];constructor(_0x54138e,_0x37f975){const _0x4a5153=a0_0x3e48cd;this[_0x4a5153(0x34a)]=_0x37f975,this[_0x4a5153(0xd1)]=_0x54138e[_0x4a5153(0xd1)],this[_0x4a5153(0x187)]=_0x54138e[_0x4a5153(0x187)],this['dbType']=_0x54138e[_0x4a5153(0xde)],this[_0x4a5153(0x2ff)]=_0x54138e['dbVersion'],this[_0x4a5153(0x1fa)]=_0x54138e['tableName'],this['datasetKey']=_0x54138e[_0x4a5153(0x21d)],this['pkField']=_0x54138e['pkField'],this[_0x4a5153(0x2e6)]=_0x54138e[_0x4a5153(0x2e6)],this[_0x4a5153(0x260)]=_0x54138e[_0x4a5153(0x260)];}[a0_0x3e48cd(0x34b)](){const _0xe100e5=a0_0x3e48cd;return this[_0xe100e5(0x34a)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x3e48cd(0x214)];[a0_0x3e48cd(0x318)];[a0_0x3e48cd(0x1f4)];constructor(_0x5da8f8){const _0x9eda46=a0_0x3e48cd,_0x30ae2d={..._0x5da8f8};_0x30ae2d['id']=_0x5da8f8['modelId']||_0x5da8f8['id'],_0x30ae2d[_0x9eda46(0x14c)]=_0x5da8f8[_0x9eda46(0x92)]||_0x5da8f8[_0x9eda46(0x14c)]||_0x5da8f8[_0x9eda46(0x22c)],super(_0x30ae2d);}[a0_0x3e48cd(0x132)](){return;}[a0_0x3e48cd(0x287)](){return[];}[a0_0x3e48cd(0x219)](){return[];}get[a0_0x3e48cd(0xeb)](){const _0xb53c62=a0_0x3e48cd;return this[_0xb53c62(0x12e)]();}[a0_0x3e48cd(0xa1)](){const _0x49c93a=a0_0x3e48cd;if(!this[_0x49c93a(0x318)])throw new Error(_0x49c93a(0x247));return this[_0x49c93a(0x318)];}[a0_0x3e48cd(0x1f5)](){const _0x36398a=a0_0x3e48cd;if(!this[_0x36398a(0x1f4)])throw new Error('getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass');return this[_0x36398a(0x1f4)];}[a0_0x3e48cd(0x2a7)](){return[];}[a0_0x3e48cd(0x327)](){const _0xc32e22=a0_0x3e48cd,_0x3ccca9=this[_0xc32e22(0x152)]();return _0x3ccca9['fields'];}[a0_0x3e48cd(0x2bd)](){const _0x368d47=a0_0x3e48cd;return this[_0x368d47(0x2a7)]()[_0x368d47(0x1f8)];}['getField'](_0x57f036){const _0x7c8ec3=this['getFieldInstance'](_0x57f036);return _0x7c8ec3?_0x7c8ec3['raw']:undefined;}[a0_0x3e48cd(0x1c7)](_0x305524){return;}[a0_0x3e48cd(0x2e8)](_0x53cd2f){const _0x342d85=a0_0x3e48cd;if(!_0x53cd2f||typeof _0x53cd2f!=='object')return!![]&&console[_0x342d85(0x98)](_0x342d85(0x245),_0x53cd2f),{};if(_0x342d85(0x33b)in _0x53cd2f){const _0x96f5e7=_0x53cd2f;return{'primaryKey':typeof _0x96f5e7[_0x342d85(0x33b)]===_0x342d85(0x137)?_0x96f5e7[_0x342d85(0x33b)]:Boolean(_0x96f5e7[_0x342d85(0x33b)]),'required':_0x96f5e7[_0x342d85(0x180)],'systemRetain':Boolean(_0x96f5e7[_0x342d85(0x149)]),'autoIncrement':_0x96f5e7[_0x342d85(0x8a)]??undefined};}if(!(_0x342d85(0x20a)in _0x53cd2f)||!_0x53cd2f['extend'])return{};try{const _0x4559ce=typeof _0x53cd2f[_0x342d85(0x20a)]==='string'?JSON[_0x342d85(0x312)](_0x53cd2f[_0x342d85(0x20a)]):_0x53cd2f['extend'];if(typeof _0x4559ce!==_0x342d85(0x335)||_0x4559ce===null)return{};return _0x4559ce;}catch{return{};}}[a0_0x3e48cd(0x1fe)](){const _0x3a76ff=a0_0x3e48cd;if(!this[_0x3a76ff(0x214)]){const _0x642c6e=this[_0x3a76ff(0xc0)](this[_0x3a76ff(0x125)]()||{});this['_operationList']=new OperationList(_0x642c6e,{'fields':this[_0x3a76ff(0xa1)]()[_0x3a76ff(0xaf)](),'pkField':this[_0x3a76ff(0x239)][_0x3a76ff(0x2aa)]?.[_0x3a76ff(0x33b)],'dbtableConfig':this[_0x3a76ff(0x239)][_0x3a76ff(0x2aa)]||null});}return this['_operationList'];}[a0_0x3e48cd(0xc0)](_0x211cd2){const _0x17f3af=a0_0x3e48cd;if(_0x211cd2[_0x17f3af(0x2af)]!==undefined)return _0x211cd2;return{..._0x211cd2,'filter':this['generateDefaultFilterOperation']()};}['generateDefaultFilterOperation'](){const _0x30f8dd=a0_0x3e48cd,_0x3957c4=this['getOperationsData']()?.[_0x30f8dd(0x286)];let _0x32793a=_0x3957c4?.[_0x30f8dd(0x19d)],_0x2adffd='';if(!_0x32793a&&this[_0x30f8dd(0x125)]()){const _0x5b43c3=Object[_0x30f8dd(0x94)](this[_0x30f8dd(0x125)]());for(const _0x14ec9b of _0x5b43c3){if(_0x14ec9b&&typeof _0x14ec9b===_0x30f8dd(0x335)&&_0x30f8dd(0x19d)in _0x14ec9b){_0x32793a=_0x14ec9b[_0x30f8dd(0x19d)];break;}}}if(_0x3957c4?.[_0x30f8dd(0x1ba)]){const _0xe28005=_0x3957c4[_0x30f8dd(0x1ba)],_0x380b6a=_0xe28005[_0x30f8dd(0x172)]('/');_0x380b6a!==-0x1&&(_0x2adffd=_0xe28005['substring'](0x0,_0x380b6a));}const _0x1d8670={};_0x1d8670[_0x30f8dd(0x246)]=_0x30f8dd(0x2b0),_0x1d8670[_0x30f8dd(0x299)]='object',_0x1d8670[_0x30f8dd(0x180)]=![];const _0x493fa8={};_0x493fa8[_0x30f8dd(0x246)]='select',_0x493fa8[_0x30f8dd(0x299)]=_0x30f8dd(0x26e),_0x493fa8[_0x30f8dd(0x180)]=![];const _0x2f668a={};_0x2f668a[_0x30f8dd(0x246)]=_0x30f8dd(0x147),_0x2f668a[_0x30f8dd(0x299)]='array',_0x2f668a['required']=![];const _0x1f6011={};_0x1f6011[_0x30f8dd(0x246)]=_0x30f8dd(0xcf),_0x1f6011[_0x30f8dd(0x299)]='number',_0x1f6011[_0x30f8dd(0x180)]=![],_0x1f6011[_0x30f8dd(0x1d3)]=0x1;const _0x4f0fcd={};_0x4f0fcd[_0x30f8dd(0x246)]=_0x30f8dd(0x1e0),_0x4f0fcd[_0x30f8dd(0x299)]=_0x30f8dd(0x231),_0x4f0fcd[_0x30f8dd(0x180)]=![],_0x4f0fcd[_0x30f8dd(0x1d3)]=0xa;const _0x185815={};return _0x185815[_0x30f8dd(0x246)]=_0x30f8dd(0x2af),_0x185815[_0x30f8dd(0x299)]='query',_0x185815[_0x30f8dd(0x2b7)]=_0x30f8dd(0x341),_0x185815[_0x30f8dd(0x2eb)]=_0x30f8dd(0xed),_0x185815['host']=_0x32793a,_0x185815['path']=_0x2adffd?_0x2adffd+_0x30f8dd(0x206):'/filter',_0x185815[_0x30f8dd(0x26b)]=_0x3957c4?.['params']||[_0x1d8670,_0x493fa8,_0x2f668a,_0x1f6011,_0x4f0fcd],_0x185815['_autoGenerated']=!![],_0x185815;}['getOperations'](){const _0x3ce8db=a0_0x3e48cd;return this[_0x3ce8db(0x1fe)]()[_0x3ce8db(0x181)]();}[a0_0x3e48cd(0x2f5)](){const _0x59f4b6=a0_0x3e48cd;return this[_0x59f4b6(0x1fe)]()[_0x59f4b6(0x13b)]();}['getOperation'](_0x421463){const _0x2a9d90=a0_0x3e48cd;if(typeof _0x421463!==_0x2a9d90(0x278)){!![]&&console[_0x2a9d90(0x98)](_0x2a9d90(0x1d2),_0x421463);return;}return this['getOperationList']()[_0x2a9d90(0x32d)](_0x421463);}[a0_0x3e48cd(0x2dd)](_0xd33b42){const _0x5d0958=a0_0x3e48cd;if(typeof _0xd33b42!=='string')return![];return this[_0x5d0958(0x1fe)]()[_0x5d0958(0x2b9)](_0xd33b42);}['isOperationEnabled'](_0x50212e){const _0x5b3824=a0_0x3e48cd;if(typeof _0x50212e!=='string')return![];const _0x2d4db7=this[_0x5b3824(0x1df)](_0x50212e);return _0x2d4db7?.['isEnabled']()||![];}[a0_0x3e48cd(0x25d)](){const _0x406f55=a0_0x3e48cd;return this['getOperationList']()[_0x406f55(0x1a8)]();}['getDisabledOperations'](){return this['getOperationList']()['getDisabledNames']();}[a0_0x3e48cd(0x27e)](){const _0x3d03e6=a0_0x3e48cd;return this[_0x3d03e6(0x1fe)]()[_0x3d03e6(0x10d)]();}['getDisabledOperationInstances'](){const _0x4ea497=a0_0x3e48cd;return this[_0x4ea497(0x1fe)]()['getDisabled']();}[a0_0x3e48cd(0x340)](_0x33785b={}){const _0x476cf3=a0_0x3e48cd;return this[_0x476cf3(0x1fe)]()['getFiltered'](_0x33785b);}['getStats'](){const _0x30bced=a0_0x3e48cd;return{'fieldCount':this[_0x30bced(0x2bd)](),'systemFieldCount':this[_0x30bced(0x2bf)]()[_0x30bced(0x1f8)],'businessFieldCount':this['getBusinessFields']()[_0x30bced(0x1f8)],'requiredFieldCount':this[_0x30bced(0x211)]()[_0x30bced(0x1f8)],'primaryKeyCount':this[_0x30bced(0x84)]()[_0x30bced(0x1f8)],'operationCount':this[_0x30bced(0x2f5)](),'enabledOperationCount':this[_0x30bced(0x25d)]()['length']};}[a0_0x3e48cd(0x28b)](_0x590011){const _0x15ffaa=a0_0x3e48cd;if(!_0x590011||typeof _0x590011!==_0x15ffaa(0x335))return'';if('code'in _0x590011&&typeof _0x590011[_0x15ffaa(0x22c)]===_0x15ffaa(0x278))return _0x590011[_0x15ffaa(0x22c)];if(_0x15ffaa(0x246)in _0x590011&&typeof _0x590011['name']===_0x15ffaa(0x278))return _0x590011['name'];return'';}[a0_0x3e48cd(0xfa)](_0x49ff08){const _0x45ab37=a0_0x3e48cd;return this[_0x45ab37(0xa1)]()[_0x45ab37(0x2b9)](_0x49ff08);}[a0_0x3e48cd(0x2c1)](_0x3a5d9e){const _0x331b8d=a0_0x3e48cd;if(!_0x3a5d9e||typeof _0x3a5d9e!==_0x331b8d(0x335))return![];const _0x497e20=this[_0x331b8d(0x28b)](_0x3a5d9e),_0x150078=this[_0x331b8d(0x1ed)](_0x497e20);return _0x150078?_0x150078[_0x331b8d(0xb8)]():![];}['isSystemField'](_0x3934c2){const _0x31a9cb=a0_0x3e48cd;if(!_0x3934c2||typeof _0x3934c2!=='object')return![];const _0x33979b=this['getFieldCode'](_0x3934c2),_0x3032e3=this[_0x31a9cb(0x1ed)](_0x33979b);return _0x3032e3?_0x3032e3['isSystem']():![];}['isRequiredField'](_0x5966e1){const _0xf9d0a3=a0_0x3e48cd;if(!_0x5966e1||typeof _0x5966e1!==_0xf9d0a3(0x335))return![];const _0x2db0d8=this['getFieldCode'](_0x5966e1),_0xa50f06=this['getFieldInstance'](_0x2db0d8);return _0xa50f06?_0xa50f06[_0xf9d0a3(0x237)]():![];}[a0_0x3e48cd(0x225)](_0x2735ce){const _0x185298=a0_0x3e48cd;if(!_0x2735ce||typeof _0x2735ce!==_0x185298(0x335))return![];const _0x192a36=this['getFieldCode'](_0x2735ce),_0x195bd8=this['getFieldInstance'](_0x192a36);return _0x195bd8?_0x195bd8['isEnum']():![];}[a0_0x3e48cd(0x282)](_0xf85897){const _0x7f1958=a0_0x3e48cd;if(!_0xf85897||typeof _0xf85897!==_0x7f1958(0x335))return![];const _0x3f39df=this['getFieldCode'](_0xf85897),_0x3dfeba=this[_0x7f1958(0x1ed)](_0x3f39df);return _0x3dfeba?_0x3dfeba[_0x7f1958(0x2cc)]():![];}[a0_0x3e48cd(0x328)](_0x4078a4){const _0x39ef1f=a0_0x3e48cd;if(!_0x4078a4||typeof _0x4078a4!==_0x39ef1f(0x335))return[];const _0x196b5e=this['getFieldCode'](_0x4078a4),_0x387821=this[_0x39ef1f(0x1ed)](_0x196b5e);if(!_0x387821||!_0x387821[_0x39ef1f(0x113)]())return[];return _0x387821[_0x39ef1f(0x118)]()||[];}[a0_0x3e48cd(0x2d7)](_0x3c4b33){const _0x46b331=a0_0x3e48cd;if(!_0x3c4b33||typeof _0x3c4b33!==_0x46b331(0x335))return;const _0x1932ce=this[_0x46b331(0x28b)](_0x3c4b33),_0x3c9241=this[_0x46b331(0x1ed)](_0x1932ce);if(!_0x3c9241||!_0x3c9241['isEnum']())return;return _0x3c9241[_0x46b331(0x176)]();}['getEnumFieldMeta'](_0x4eb2e4){const _0x1620af=a0_0x3e48cd;if(!_0x4eb2e4||typeof _0x4eb2e4!==_0x1620af(0x335))return;const _0x43987e=this[_0x1620af(0x28b)](_0x4eb2e4),_0x39c743=this[_0x1620af(0x1ed)](_0x43987e);if(!_0x39c743||!_0x39c743[_0x1620af(0x113)]())return;return _0x39c743['getEnumMeta']();}[a0_0x3e48cd(0x84)](){const _0x33c67b=a0_0x3e48cd;return this[_0x33c67b(0xa1)]()[_0x33c67b(0x142)]()[_0x33c67b(0xac)](_0xea1a74=>_0xea1a74[_0x33c67b(0x34a)]);}['getSystemFields'](){const _0x4c85a0=a0_0x3e48cd;return this[_0x4c85a0(0xa1)]()['getSystem']()[_0x4c85a0(0xac)](_0x3e536e=>_0x3e536e[_0x4c85a0(0x34a)]);}[a0_0x3e48cd(0x2ea)](){const _0x5689aa=a0_0x3e48cd;return this['getFieldList']()[_0x5689aa(0x350)]()[_0x5689aa(0xac)](_0x2743b3=>_0x2743b3['raw']);}[a0_0x3e48cd(0x211)](){const _0x3ffc54=a0_0x3e48cd;return this[_0x3ffc54(0xa1)]()['getRequired']()['map'](_0x3f0709=>_0x3f0709['raw']);}[a0_0x3e48cd(0x159)](){const _0x49ae4f=a0_0x3e48cd,_0x2bc381=this['getFieldList']()[_0x49ae4f(0x32c)](),_0x33efe7={};for(const [_0x1bd6df,_0xe93779]of Object[_0x49ae4f(0x256)](_0x2bc381)){_0x33efe7[_0x1bd6df]=_0xe93779[_0x49ae4f(0xac)](_0x2b2b02=>_0x2b2b02[_0x49ae4f(0x34a)]);}return _0x33efe7;}[a0_0x3e48cd(0x251)](){const _0x3c40d2=a0_0x3e48cd;return this[_0x3c40d2(0xa1)]()[_0x3c40d2(0x9c)]()[_0x3c40d2(0xac)](_0x974a40=>_0x974a40['raw']);}[a0_0x3e48cd(0x2f4)](){const _0x233cff={};return this['getEnumFields']()['forEach'](_0xf9bac1=>{const _0x257106=a0_0x23f8,_0x108ee9=this[_0x257106(0x32e)](_0xf9bac1);if(_0x108ee9){const _0x364c91=this['getFieldCode'](_0xf9bac1);_0x233cff[_0x364c91]=_0x108ee9;}}),_0x233cff;}['validateEnumValue'](_0x525edd,_0x26f103){const _0x390b11=a0_0x3e48cd,_0x3dcf6a=this[_0x390b11(0x32e)](_0x525edd);if(!_0x3dcf6a)return!![];if(_0x3dcf6a[_0x390b11(0x345)]&&!_0x3dcf6a[_0x390b11(0xb2)])return!![];const _0x2bdf38=this[_0x390b11(0x28b)](_0x525edd),_0x1dd271=this[_0x390b11(0x1ed)](_0x2bdf38),_0x55ebc9=_0x1dd271?_0x1dd271[_0x390b11(0x2cc)]():![];if(_0x55ebc9&&Array['isArray'](_0x26f103))return _0x26f103[_0x390b11(0x166)](_0x19e380=>_0x3dcf6a[_0x390b11(0x94)]['includes'](_0x19e380));return _0x3dcf6a[_0x390b11(0x94)][_0x390b11(0x128)](_0x26f103);}[a0_0x3e48cd(0x195)](){const _0x1a21dd=a0_0x3e48cd;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x1a21dd(0x14c)],'dbtableConfig':this[_0x1a21dd(0x2e7)]()});}[a0_0x3e48cd(0x129)](){const _0x14a9b9=a0_0x3e48cd;return'DrivenDataDetail('+this[_0x14a9b9(0x246)]+',\x20'+this[_0x14a9b9(0x14c)]+',\x20'+this[_0x14a9b9(0x2bd)]()+_0x14a9b9(0x329)+this[_0x14a9b9(0x2f5)]()+'\x20operations,\x20'+this[_0x14a9b9(0x2b5)]()+')';}[a0_0x3e48cd(0x158)](){const _0x3b88b8=a0_0x3e48cd;return this[_0x3b88b8(0x268)](_0x3b88b8(0x2af));}[a0_0x3e48cd(0x139)](_0x314049){const _0x28ffd9=a0_0x3e48cd;return this['getOperationFieldOperators'](_0x28ffd9(0x2af),_0x314049);}[a0_0x3e48cd(0x281)](){const _0x558156=a0_0x3e48cd;return this[_0x558156(0x2d0)](_0x558156(0x2af));}[a0_0x3e48cd(0x268)](_0xa60d4d){const _0x2e02ce=this['getOperation'](_0xa60d4d);return _0x2e02ce?_0x2e02ce['getOperators']():[];}['getOperationFieldOperators'](_0x43c9d2,_0x3dd42a){const _0x2091fb=a0_0x3e48cd,_0x25d1fc=this[_0x2091fb(0x1df)](_0x43c9d2);return _0x25d1fc?_0x25d1fc[_0x2091fb(0x238)](_0x3dd42a):[];}[a0_0x3e48cd(0x2d0)](_0x278243){const _0x383f4f=a0_0x3e48cd,_0x1b0cb5={};return this[_0x383f4f(0xa1)]()[_0x383f4f(0x194)](_0x5606ca=>{const _0x4be48e=_0x383f4f,_0x45a87a=this[_0x4be48e(0x12a)](_0x278243,_0x5606ca[_0x4be48e(0x22c)]);_0x45a87a[_0x4be48e(0x1f8)]>0x0&&(_0x1b0cb5[_0x5606ca[_0x4be48e(0x22c)]]=_0x45a87a);}),_0x1b0cb5;}[a0_0x3e48cd(0x235)](_0x59a927,_0xee8185,_0x9ae9f0){const _0x273df9=a0_0x3e48cd,_0xfa8fde=this[_0x273df9(0x12a)](_0x59a927,_0xee8185);return _0xfa8fde[_0x273df9(0x128)](_0x9ae9f0);}}class FieldBase{get[a0_0x3e48cd(0xde)](){return;}get[a0_0x3e48cd(0x1b6)](){return;}get[a0_0x3e48cd(0x252)](){return;}get[a0_0x3e48cd(0x1d8)](){return;}['isBusiness'](){const _0x54b436=a0_0x3e48cd;return!this[_0x54b436(0x1f6)]();}[a0_0x3e48cd(0x31e)](){return this['deleted'];}['isEnum'](){const _0x32ba1a=a0_0x3e48cd,_0x5e85a3=[_0x32ba1a(0x339),'SELECT',_0x32ba1a(0x24f)];return _0x5e85a3['includes'](this['type']);}[a0_0x3e48cd(0x2cc)](){const _0x824664=a0_0x3e48cd;return this[_0x824664(0x299)]===_0x824664(0x24f);}[a0_0x3e48cd(0x1e4)](){const _0x5b6bee=a0_0x3e48cd,_0x48720b=this[_0x5b6bee(0x1e7)]();return _0x48720b?.[_0x5b6bee(0x94)]||[];}[a0_0x3e48cd(0x1e7)](){const _0x4818c3=a0_0x3e48cd;if(!this[_0x4818c3(0x113)]())return;const _0x421495=this[_0x4818c3(0x118)](),_0x15caac=this[_0x4818c3(0x176)](),_0x549622=[],_0x3524b7={},_0x41e980=_0x678a1a=>{_0x678a1a['forEach'](_0x46d413=>{const _0x1dd51b=a0_0x23f8;if(!_0x46d413||typeof _0x46d413!==_0x1dd51b(0x335))return;_0x46d413[_0x1dd51b(0x2d3)]!==undefined&&_0x46d413[_0x1dd51b(0x2d3)]!==null&&(_0x549622[_0x1dd51b(0x2d5)](_0x46d413[_0x1dd51b(0x2d3)]),_0x3524b7[String(_0x46d413[_0x1dd51b(0x2d3)])]=_0x46d413[_0x1dd51b(0x140)]||''),_0x46d413[_0x1dd51b(0x30e)]&&Array[_0x1dd51b(0x133)](_0x46d413['children'])&&_0x46d413[_0x1dd51b(0x30e)][_0x1dd51b(0x1f8)]>0x0&&_0x41e980(_0x46d413['children']);});};return _0x421495&&Array['isArray'](_0x421495)&&_0x421495[_0x4818c3(0x1f8)]>0x0&&_0x41e980(_0x421495),{'code':this['code'],'name':this[_0x4818c3(0x246)],'type':this[_0x4818c3(0x299)],'multiple':this[_0x4818c3(0x2cc)](),'options':_0x421495,'selectItemsSource':_0x15caac,'values':_0x549622,'valueLabels':_0x3524b7};}get[a0_0x3e48cd(0xa9)](){return this['getEnumValues']();}[a0_0x3e48cd(0x129)](){const _0x29abc3=a0_0x3e48cd;return _0x29abc3(0x170)+this[_0x29abc3(0x246)]+',\x20'+this[_0x29abc3(0x22c)]+',\x20'+this[_0x29abc3(0x299)]+',\x20'+this[_0x29abc3(0x2b5)]()+')';}}class FieldV1 extends FieldBase{[a0_0x3e48cd(0x239)];['_extend']=null;constructor(_0x3f95b9){const _0x538fe7=a0_0x3e48cd;super();if(!_0x3f95b9||typeof _0x3f95b9!=='object')throw new Error(_0x538fe7(0x9a));this[_0x538fe7(0x239)]=_0x3f95b9;}[a0_0x3e48cd(0x310)](){const _0x39e0e1=a0_0x3e48cd;return this[_0x39e0e1(0x239)];}[a0_0x3e48cd(0x2b5)](){return'v1';}get[a0_0x3e48cd(0x34a)](){const _0x822108=a0_0x3e48cd;return this[_0x822108(0x239)];}get[a0_0x3e48cd(0x246)](){const _0x3c0721=a0_0x3e48cd;return this[_0x3c0721(0x239)][_0x3c0721(0x246)]||'';}get[a0_0x3e48cd(0x22c)](){const _0x3824d2=a0_0x3e48cd;return this[_0x3824d2(0x239)][_0x3824d2(0x22c)]||'';}get['type'](){const _0xc94450=a0_0x3e48cd;return this[_0xc94450(0x239)][_0xc94450(0x299)]||'';}get[a0_0x3e48cd(0x2b7)](){const _0xaacc90=a0_0x3e48cd;return this['_raw'][_0xaacc90(0x2b7)]||'';}get[a0_0x3e48cd(0x24b)](){const _0x4fbc23=a0_0x3e48cd;return Boolean(this[_0x4fbc23(0x239)][_0x4fbc23(0x24b)]);}get['dbType'](){const _0x587759=a0_0x3e48cd;return this['_raw'][_0x587759(0xde)];}get[a0_0x3e48cd(0x1b6)](){const _0x232109=a0_0x3e48cd;return this[_0x232109(0x239)][_0x232109(0x1b6)];}get[a0_0x3e48cd(0x252)](){return this['_raw']['alias'];}get['doType'](){return;}get[a0_0x3e48cd(0x20a)](){const _0x2b10ee=a0_0x3e48cd;if(this[_0x2b10ee(0x216)]!==null&&typeof this[_0x2b10ee(0x216)]===_0x2b10ee(0x335))return this['_extend'];const _0x25a85e=this['_raw']['extend'];if(!_0x25a85e||typeof _0x25a85e!==_0x2b10ee(0x278))return this[_0x2b10ee(0x216)]={},this['_extend'];if(_0x25a85e===_0x2b10ee(0x298)||_0x25a85e[_0x2b10ee(0x199)]()===_0x2b10ee(0x298))return this[_0x2b10ee(0x216)]={},this[_0x2b10ee(0x216)];try{const _0x5ecc41=JSON['parse'](_0x25a85e);return this[_0x2b10ee(0x216)]=_0x5ecc41!==null&&typeof _0x5ecc41===_0x2b10ee(0x335)&&!Array['isArray'](_0x5ecc41)?_0x5ecc41:{},this[_0x2b10ee(0x216)];}catch(_0x45e8b0){return!![]&&console[_0x2b10ee(0x98)](_0x2b10ee(0x2f2)+this['code']+_0x2b10ee(0xbf),_0x45e8b0),this[_0x2b10ee(0x216)]={},this[_0x2b10ee(0x216)];}}[a0_0x3e48cd(0x237)](){const _0x4976cb=a0_0x3e48cd;return Boolean(this[_0x4976cb(0x20a)][_0x4976cb(0x180)]);}['isPrimaryKey'](){const _0x5a2ee8=a0_0x3e48cd;return Boolean(this[_0x5a2ee8(0x20a)][_0x5a2ee8(0x14d)]||this[_0x5a2ee8(0x20a)]['pkField']);}[a0_0x3e48cd(0x1f6)](){const _0x110ee6=a0_0x3e48cd;return Boolean(this[_0x110ee6(0x20a)][_0x110ee6(0x149)]);}[a0_0x3e48cd(0x305)](){const _0x5d5363=a0_0x3e48cd;return Boolean(this[_0x5d5363(0x20a)][_0x5d5363(0x8a)]);}[a0_0x3e48cd(0x1bc)](){const _0x5d4712=a0_0x3e48cd;return Boolean(this['extend'][_0x5d4712(0x1ce)]);}[a0_0x3e48cd(0xe4)](){return Boolean(this['extend']['updateTime']);}['getDisplayName'](){const _0xf68a6f=a0_0x3e48cd;return this[_0xf68a6f(0x246)];}[a0_0x3e48cd(0x29d)](){return this['code'];}[a0_0x3e48cd(0x113)](){const _0x4d9efc=a0_0x3e48cd,_0x3c7d0c=[_0x4d9efc(0x339),_0x4d9efc(0x120),_0x4d9efc(0x24f)];if(_0x3c7d0c['includes'](this[_0x4d9efc(0x299)]))return!![];const _0x3cd2e8=this['extend'];return Boolean(_0x3cd2e8['options']&&Array[_0x4d9efc(0x133)](_0x3cd2e8[_0x4d9efc(0xb2)])&&_0x3cd2e8['options'][_0x4d9efc(0x1f8)]>0x0||_0x3cd2e8[_0x4d9efc(0x345)]);}[a0_0x3e48cd(0x2cc)](){const _0x5b22e5=a0_0x3e48cd;if(this[_0x5b22e5(0x299)]===_0x5b22e5(0x24f))return!![];return Boolean(this[_0x5b22e5(0x20a)][_0x5b22e5(0xb3)]);}[a0_0x3e48cd(0x118)](){const _0x174f58=a0_0x3e48cd,_0x22e643=this[_0x174f58(0x20a)];if(_0x22e643['options']&&Array['isArray'](_0x22e643[_0x174f58(0xb2)]))return _0x22e643['options'];return;}[a0_0x3e48cd(0x176)](){const _0x40fb20=a0_0x3e48cd,_0x2ea57b=this[_0x40fb20(0x20a)];if(_0x2ea57b[_0x40fb20(0x345)]&&typeof _0x2ea57b[_0x40fb20(0x345)]===_0x40fb20(0x335))return _0x2ea57b[_0x40fb20(0x345)];return;}[a0_0x3e48cd(0x178)](){return this['type']['toUpperCase']();}['getDefaultValue'](){const _0x51f6b6=a0_0x3e48cd;return this[_0x51f6b6(0x20a)]['defaultValue'];}[a0_0x3e48cd(0x1c1)](){const _0x4bc10a=a0_0x3e48cd;return this[_0x4bc10a(0x20a)][_0x4bc10a(0x117)];}[a0_0x3e48cd(0x2df)](){const _0x4ab371=a0_0x3e48cd;return{'name':this[_0x4ab371(0x246)],'code':this[_0x4ab371(0x22c)],'type':this[_0x4ab371(0x299)],'dbType':this[_0x4ab371(0xde)],'dbTypeLen':this['dbTypeLen'],'description':this[_0x4ab371(0x2b7)],'required':this[_0x4ab371(0x237)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x4ab371(0x1f6)](),'autoIncrement':this[_0x4ab371(0x305)](),'createTime':this[_0x4ab371(0x1bc)](),'updateTime':this[_0x4ab371(0xe4)](),'isEnum':this[_0x4ab371(0x113)](),'enumMeta':this['isEnum']()?this[_0x4ab371(0x1e7)]():undefined};}['toString'](){const _0x509841=a0_0x3e48cd;return'FieldV1('+this['name']+',\x20'+this[_0x509841(0x22c)]+',\x20'+this['type']+')';}}class FieldListBase{[a0_0x3e48cd(0x20c)];constructor(_0x58e925,_0x39e6a0){const _0x14fea0=a0_0x3e48cd,_0x47d025=Array[_0x14fea0(0x133)](_0x58e925)?_0x58e925:[],_0x240236=_0x39e6a0?.['includeDeleted']??![],_0x2584ed=_0x240236?_0x47d025:_0x47d025['filter'](_0x254791=>{const _0x32fd86=_0x14fea0;if(!_0x254791||typeof _0x254791!==_0x32fd86(0x335))return![];const _0x2dde5d=_0x254791;return!_0x2dde5d['deleted'];});this['_fields']=this[_0x14fea0(0x2f6)](_0x2584ed);}get[a0_0x3e48cd(0x1f8)](){const _0x257ac6=a0_0x3e48cd;return this[_0x257ac6(0x20c)][_0x257ac6(0x1f8)];}['all'](){const _0x423597=a0_0x3e48cd;return[...this[_0x423597(0x20c)]];}['at'](_0x49c0b8){const _0x8034c4=a0_0x3e48cd;return this[_0x8034c4(0x20c)]['at'](_0x49c0b8);}['find'](_0x747296){const _0xb14db9=a0_0x3e48cd;return this[_0xb14db9(0x20c)][_0xb14db9(0x8b)](_0x4a5ced=>_0x4a5ced[_0xb14db9(0x22c)]===_0x747296);}[a0_0x3e48cd(0x127)](_0x25ff36){const _0x4aae4f=a0_0x3e48cd;return this[_0x4aae4f(0x20c)]['find'](_0x5976b2=>_0x5976b2[_0x4aae4f(0x246)]===_0x25ff36);}[a0_0x3e48cd(0x2b9)](_0x49cb9d){const _0x1a63dd=a0_0x3e48cd;return this[_0x1a63dd(0x20c)]['some'](_0x1d3b6b=>_0x1d3b6b[_0x1a63dd(0x22c)]===_0x49cb9d);}[a0_0x3e48cd(0x194)](_0x49300){const _0x528c66=a0_0x3e48cd;this[_0x528c66(0x20c)][_0x528c66(0x194)](_0x49300);}[a0_0x3e48cd(0xac)](_0x5eafdf){const _0x4b2ce0=a0_0x3e48cd;return this[_0x4b2ce0(0x20c)]['map'](_0x5eafdf);}['filter'](_0x4074f2){const _0x564c01=a0_0x3e48cd;return this[_0x564c01(0x20c)][_0x564c01(0x2af)](_0x4074f2);}[a0_0x3e48cd(0x166)](_0x404804){const _0xa51906=a0_0x3e48cd;return this[_0xa51906(0x20c)][_0xa51906(0x166)](_0x404804);}[a0_0x3e48cd(0x294)](_0x4a4d05){const _0x5c9a1f=a0_0x3e48cd;return this[_0x5c9a1f(0x20c)][_0x5c9a1f(0x294)](_0x4a4d05);}[a0_0x3e48cd(0x108)](){const _0x3c7f12=a0_0x3e48cd;return this[_0x3c7f12(0x20c)][_0x3c7f12(0x2af)](_0x1d5c7e=>_0x1d5c7e[_0x3c7f12(0x237)]());}[a0_0x3e48cd(0x142)](){const _0x85893f=a0_0x3e48cd;return this[_0x85893f(0x20c)]['filter'](_0x5338ba=>_0x5338ba[_0x85893f(0xb8)]());}[a0_0x3e48cd(0x257)](){const _0x3b02db=a0_0x3e48cd;return this[_0x3b02db(0x20c)]['filter'](_0x1e94fb=>_0x1e94fb[_0x3b02db(0x1f6)]());}[a0_0x3e48cd(0x350)](){const _0x2d16e8=a0_0x3e48cd;return this[_0x2d16e8(0x20c)][_0x2d16e8(0x2af)](_0x5d0098=>_0x5d0098[_0x2d16e8(0x143)]());}['getEnum'](){const _0x3e9bcb=a0_0x3e48cd;return this[_0x3e9bcb(0x20c)][_0x3e9bcb(0x2af)](_0x68c43c=>_0x68c43c[_0x3e9bcb(0x113)]());}[a0_0x3e48cd(0x210)](){const _0x2efd30=a0_0x3e48cd;return this[_0x2efd30(0x20c)][_0x2efd30(0x2af)](_0x136824=>_0x136824[_0x2efd30(0x305)]());}[a0_0x3e48cd(0x275)](){const _0x2c40ae=a0_0x3e48cd;return this['_fields'][_0x2c40ae(0x2af)](_0x138fdf=>_0x138fdf[_0x2c40ae(0x1bc)]());}[a0_0x3e48cd(0x347)](){const _0x3ddc98=a0_0x3e48cd;return this[_0x3ddc98(0x20c)][_0x3ddc98(0x2af)](_0x30f59c=>_0x30f59c[_0x3ddc98(0xe4)]());}['getDeleted'](){const _0x56d36c=a0_0x3e48cd;return this[_0x56d36c(0x20c)][_0x56d36c(0x2af)](_0x2b7e5a=>_0x2b7e5a[_0x56d36c(0x31e)]());}['getActive'](){const _0x835261=a0_0x3e48cd;return this[_0x835261(0x20c)][_0x835261(0x2af)](_0x153855=>!_0x153855[_0x835261(0x31e)]());}[a0_0x3e48cd(0x32c)](){const _0x2c9c3d=a0_0x3e48cd,_0x36c8ef={};return this[_0x2c9c3d(0x20c)]['forEach'](_0xd212fa=>{const _0x3eb712=_0x2c9c3d,_0x24838c=_0xd212fa['type'];!_0x36c8ef[_0x24838c]&&(_0x36c8ef[_0x24838c]=[]),_0x36c8ef[_0x24838c][_0x3eb712(0x2d5)](_0xd212fa);}),_0x36c8ef;}['getEnumMetas'](){const _0xc06b70=a0_0x3e48cd,_0x304100={};return this[_0xc06b70(0x20c)][_0xc06b70(0x194)](_0x2ad187=>{const _0x35a0cd=_0xc06b70;if(_0x2ad187[_0x35a0cd(0x113)]()){const _0x25e49b=_0x2ad187[_0x35a0cd(0x1e7)]();_0x25e49b&&(_0x304100[_0x2ad187[_0x35a0cd(0x22c)]]=_0x25e49b);}}),_0x304100;}[a0_0x3e48cd(0x1ef)](){const _0x284f06=a0_0x3e48cd;return{'total':this[_0x284f06(0x1f8)],'required':this['getRequired']()[_0x284f06(0x1f8)],'primaryKey':this[_0x284f06(0x142)]()[_0x284f06(0x1f8)],'system':this[_0x284f06(0x257)]()['length'],'business':this[_0x284f06(0x350)]()['length'],'enum':this[_0x284f06(0x9c)]()[_0x284f06(0x1f8)],'autoIncrement':this['getAutoIncrement']()[_0x284f06(0x1f8)]};}[a0_0x3e48cd(0xd3)](){const _0x5ad9a9=a0_0x3e48cd;return this[_0x5ad9a9(0x20c)]['map'](_0xe6c3c6=>_0xe6c3c6[_0x5ad9a9(0x22c)]);}[a0_0x3e48cd(0x18d)](){const _0x3f57c5=a0_0x3e48cd;return this[_0x3f57c5(0x20c)][_0x3f57c5(0xac)](_0x1ceca0=>_0x1ceca0['getDisplayName']());}[a0_0x3e48cd(0x208)](){const _0x15e42d=a0_0x3e48cd;return this[_0x15e42d(0x20c)][_0x15e42d(0xac)](_0x16c955=>_0x16c955['getFieldName']());}[a0_0x3e48cd(0x2df)](){const _0x391bac=a0_0x3e48cd;return this[_0x391bac(0x20c)][_0x391bac(0xac)](_0x225285=>_0x225285[_0x391bac(0x2df)]());}['toString'](){const _0x20a413=a0_0x3e48cd;return _0x20a413(0x1d1)+this[_0x20a413(0x1f8)]+_0x20a413(0x22b);}}class FieldListV1 extends FieldListBase{constructor(_0x4dc00c,_0x57814e){super(_0x4dc00c,_0x57814e);}[a0_0x3e48cd(0x2f6)](_0x3b66e8){const _0x23fa01=a0_0x3e48cd;return _0x3b66e8[_0x23fa01(0xac)](_0x31b1c8=>new FieldV1(_0x31b1c8));}[a0_0x3e48cd(0xaf)](){const _0x2c9f20=a0_0x3e48cd;return[...this[_0x2c9f20(0x20c)]];}['at'](_0x1fc027){const _0x337167=a0_0x3e48cd;return this[_0x337167(0x20c)]['at'](_0x1fc027);}['find'](_0x1543e8){const _0x3be660=a0_0x3e48cd;return this[_0x3be660(0x20c)][_0x3be660(0x8b)](_0x3b8ef3=>_0x3b8ef3[_0x3be660(0x22c)]===_0x1543e8);}[a0_0x3e48cd(0x127)](_0x1e918f){const _0x5bd917=a0_0x3e48cd;return this['_fields']['find'](_0x33faf4=>_0x33faf4[_0x5bd917(0x246)]===_0x1e918f);}[a0_0x3e48cd(0x2af)](_0x2fc675){const _0x21d5ba=a0_0x3e48cd;return this[_0x21d5ba(0x20c)][_0x21d5ba(0x2af)](_0x2fc675);}[a0_0x3e48cd(0xac)](_0xc7368){const _0x4495fc=a0_0x3e48cd;return this[_0x4495fc(0x20c)][_0x4495fc(0xac)](_0xc7368);}['getRequired'](){const _0x227d3e=a0_0x3e48cd;return this['_fields'][_0x227d3e(0x2af)](_0x29362c=>_0x29362c[_0x227d3e(0x237)]());}[a0_0x3e48cd(0x142)](){const _0x8355c2=a0_0x3e48cd;return this[_0x8355c2(0x20c)]['filter'](_0x25e086=>_0x25e086[_0x8355c2(0xb8)]());}[a0_0x3e48cd(0x257)](){const _0x592d62=a0_0x3e48cd;return this['_fields'][_0x592d62(0x2af)](_0x2eb2f4=>_0x2eb2f4[_0x592d62(0x1f6)]());}[a0_0x3e48cd(0x350)](){const _0x3743d0=a0_0x3e48cd;return this['_fields'][_0x3743d0(0x2af)](_0x2492ce=>_0x2492ce[_0x3743d0(0x143)]());}[a0_0x3e48cd(0x9c)](){const _0x19cdbf=a0_0x3e48cd;return this[_0x19cdbf(0x20c)]['filter'](_0x38151a=>_0x38151a[_0x19cdbf(0x113)]());}[a0_0x3e48cd(0x32c)](){const _0x3e6192={};return this['_fields']['forEach'](_0x2f901b=>{const _0x26d754=a0_0x23f8,_0x1a6b26=_0x2f901b['type'];!_0x3e6192[_0x1a6b26]&&(_0x3e6192[_0x1a6b26]=[]),_0x3e6192[_0x1a6b26][_0x26d754(0x2d5)](_0x2f901b);}),_0x3e6192;}[a0_0x3e48cd(0x34a)](){const _0x162160=a0_0x3e48cd;return this[_0x162160(0x20c)][_0x162160(0xac)](_0x12795a=>_0x12795a['raw']);}static[a0_0x3e48cd(0x2c5)](_0x6be275){const _0x24b324=a0_0x3e48cd,_0x2da6a9=_0x6be275[_0x24b324(0xac)](_0x2bc75b=>_0x2bc75b[_0x24b324(0x34a)]);return new FieldListV1(_0x2da6a9);}static[a0_0x3e48cd(0x266)](_0x386e04){const _0x1460d4=a0_0x3e48cd,_0x2f88bc={};return _0x2f88bc[_0x1460d4(0x23b)]=!![],new FieldListV1(_0x386e04,_0x2f88bc);}}class FieldV2 extends FieldBase{[a0_0x3e48cd(0x239)];constructor(_0xcd1f26){const _0x5c1502=a0_0x3e48cd;super();if(!_0xcd1f26||typeof _0xcd1f26!=='object')throw new Error(_0x5c1502(0x21c));this[_0x5c1502(0x239)]=_0xcd1f26;}[a0_0x3e48cd(0x2b5)](){return'v2';}get['raw'](){const _0x193f5e=a0_0x3e48cd;return this[_0x193f5e(0x239)];}get[a0_0x3e48cd(0x246)](){const _0x2ed8eb=a0_0x3e48cd;return this['_raw'][_0x2ed8eb(0x246)]||'';}get[a0_0x3e48cd(0x22c)](){const _0x3fa5e2=a0_0x3e48cd;return this['_raw'][_0x3fa5e2(0x246)]||'';}get[a0_0x3e48cd(0x252)](){const _0x35b319=a0_0x3e48cd;return this[_0x35b319(0x239)][_0x35b319(0x252)]||'';}get['type'](){const _0x47b0b2=a0_0x3e48cd;if(this[_0x47b0b2(0x239)]['doType'])return this['_raw'][_0x47b0b2(0x1d8)];return this[_0x47b0b2(0xb1)](this['_raw'][_0x47b0b2(0xde)]);}get[a0_0x3e48cd(0x2b7)](){const _0x5cea04=a0_0x3e48cd;return this[_0x5cea04(0x239)]['description']||'';}get[a0_0x3e48cd(0x24b)](){const _0x5f10e4=a0_0x3e48cd;return Boolean(this[_0x5f10e4(0x239)][_0x5f10e4(0x24b)]);}['isRequired'](){const _0x194175=a0_0x3e48cd;return Boolean(this[_0x194175(0x239)][_0x194175(0x180)]);}[a0_0x3e48cd(0xb8)](){const _0x5e8d99=a0_0x3e48cd;return Boolean(this[_0x5e8d99(0x239)][_0x5e8d99(0x33b)]);}[a0_0x3e48cd(0x1f6)](){const _0x560e64=a0_0x3e48cd;return Boolean(this[_0x560e64(0x239)][_0x560e64(0x149)]);}[a0_0x3e48cd(0x305)](){const _0x280e7b=a0_0x3e48cd;return Boolean(this[_0x280e7b(0x239)][_0x280e7b(0x8a)]);}[a0_0x3e48cd(0x1bc)](){const _0x247a3d=a0_0x3e48cd;return this['_raw'][_0x247a3d(0x149)]===_0x247a3d(0x1ce);}[a0_0x3e48cd(0xe4)](){const _0x2459c9=a0_0x3e48cd;return this['_raw']['systemRetain']===_0x2459c9(0x348);}[a0_0x3e48cd(0x2ef)](){const _0x2b907d=a0_0x3e48cd;return this[_0x2b907d(0x239)][_0x2b907d(0x252)]||'';}[a0_0x3e48cd(0x29d)](){const _0x1e2ef8=a0_0x3e48cd;return this[_0x1e2ef8(0x239)][_0x1e2ef8(0x246)]||'';}[a0_0x3e48cd(0x113)](){const _0x1fd83b=a0_0x3e48cd;return Boolean(this['_raw'][_0x1fd83b(0xb2)]&&Array[_0x1fd83b(0x133)](this[_0x1fd83b(0x239)][_0x1fd83b(0xb2)])&&this[_0x1fd83b(0x239)][_0x1fd83b(0xb2)][_0x1fd83b(0x1f8)]>0x0);}[a0_0x3e48cd(0x2cc)](){const _0x497c84=a0_0x3e48cd,_0x19cc93=this[_0x497c84(0x239)][_0x497c84(0x20a)];if(!_0x19cc93)return![];try{const _0x34759=JSON[_0x497c84(0x312)](_0x19cc93);if(_0x34759&&typeof _0x34759===_0x497c84(0x335)&&'multiple'in _0x34759)return Boolean(_0x34759[_0x497c84(0xb3)]);}catch{}return![];}[a0_0x3e48cd(0x118)](){const _0x3cee1f=a0_0x3e48cd;if(this['_raw'][_0x3cee1f(0xb2)]&&Array[_0x3cee1f(0x133)](this[_0x3cee1f(0x239)][_0x3cee1f(0xb2)]))return this['_raw'][_0x3cee1f(0xb2)];return;}[a0_0x3e48cd(0x176)](){const _0x279a7c=a0_0x3e48cd,_0x4ad3b6=this['_raw'][_0x279a7c(0x20a)];if(!_0x4ad3b6)return;try{const _0x769e5=JSON[_0x279a7c(0x312)](_0x4ad3b6);if(_0x769e5&&typeof _0x769e5==='object'&&_0x279a7c(0x345)in _0x769e5)return _0x769e5[_0x279a7c(0x345)];}catch{}return;}[a0_0x3e48cd(0x178)](){const _0x28ef01=a0_0x3e48cd;if(!this['_raw']['dbType'])return'';return this[_0x28ef01(0x239)]['dbType']['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}[a0_0x3e48cd(0x1b9)](){return;}[a0_0x3e48cd(0x1c1)](){return;}get[a0_0x3e48cd(0xde)](){const _0x5e33ae=a0_0x3e48cd;return this[_0x5e33ae(0x239)][_0x5e33ae(0xde)]??undefined;}get[a0_0x3e48cd(0x1b6)](){return this['_raw']['dbTypeLen'];}['getDOType'](){const _0x55c553=a0_0x3e48cd;return this[_0x55c553(0x239)][_0x55c553(0x1d8)]??null;}get[a0_0x3e48cd(0x1d8)](){return this['_raw']['doType']??null;}[a0_0x3e48cd(0x2df)](){const _0x438216=a0_0x3e48cd;return{'name':this[_0x438216(0x246)],'code':this[_0x438216(0x22c)],'type':this[_0x438216(0x299)],'dbType':this[_0x438216(0xde)],'dbTypeLen':this[_0x438216(0x1b6)],'doType':this[_0x438216(0x2b4)](),'displayName':this[_0x438216(0x252)],'description':this[_0x438216(0x2b7)],'required':this[_0x438216(0x237)](),'primaryKey':this[_0x438216(0xb8)](),'system':this[_0x438216(0x1f6)](),'autoIncrement':this[_0x438216(0x305)](),'createTime':this[_0x438216(0x1bc)](),'updateTime':this[_0x438216(0xe4)](),'isEnum':this['isEnum'](),'enumMeta':this['isEnum']()?this[_0x438216(0x1e7)]():undefined};}['toString'](){const _0x342b70=a0_0x3e48cd;return _0x342b70(0x213)+this[_0x342b70(0x246)]+',\x20'+this[_0x342b70(0x22c)]+',\x20'+this['dbType']+_0x342b70(0x1a0)+this[_0x342b70(0x2b4)]()+')';}[a0_0x3e48cd(0xb1)](_0x1ea498){const _0x3af0ab=a0_0x3e48cd;if(!_0x1ea498)return _0x3af0ab(0x1b1);const _0x4d0bab={};_0x4d0bab[_0x3af0ab(0x106)]=_0x3af0ab(0x1b1),_0x4d0bab[_0x3af0ab(0x163)]=_0x3af0ab(0x1b1),_0x4d0bab[_0x3af0ab(0x1b1)]='TEXTAREA',_0x4d0bab[_0x3af0ab(0x1c2)]='TEXTAREA',_0x4d0bab[_0x3af0ab(0x250)]=_0x3af0ab(0x1dd),_0x4d0bab[_0x3af0ab(0x33c)]='NUMBER',_0x4d0bab[_0x3af0ab(0x1a5)]=_0x3af0ab(0x1dd),_0x4d0bab[_0x3af0ab(0x1f7)]=_0x3af0ab(0x1dd),_0x4d0bab['DECIMAL']='NUMBER',_0x4d0bab['DOUBLE']='NUMBER',_0x4d0bab[_0x3af0ab(0xff)]=_0x3af0ab(0x1dd),_0x4d0bab[_0x3af0ab(0x100)]='DATE',_0x4d0bab[_0x3af0ab(0x33d)]=_0x3af0ab(0x303),_0x4d0bab[_0x3af0ab(0x303)]='DATE',_0x4d0bab['TIME']=_0x3af0ab(0x258),_0x4d0bab[_0x3af0ab(0x9d)]=_0x3af0ab(0xc8),_0x4d0bab['BIT']='SWITCH',_0x4d0bab['BLOB']=_0x3af0ab(0x25b),_0x4d0bab[_0x3af0ab(0x1b7)]='FILE';const _0x13fc54=_0x4d0bab,_0x4ba83c=_0x1ea498['toUpperCase']();return _0x13fc54[_0x4ba83c]||_0x3af0ab(0x1b1);}}class FieldListV2 extends FieldListBase{constructor(_0x34b995,_0x4fec54){super(_0x34b995,_0x4fec54);}[a0_0x3e48cd(0x2f6)](_0x4c3841){const _0x4489f4=a0_0x3e48cd;return _0x4c3841[_0x4489f4(0xac)](_0x1a74b0=>new FieldV2(_0x1a74b0));}[a0_0x3e48cd(0xaf)](){const _0x1d9dfb=a0_0x3e48cd;return[...this[_0x1d9dfb(0x20c)]];}['at'](_0xa5f8a1){const _0x8b829=a0_0x3e48cd;return this[_0x8b829(0x20c)]['at'](_0xa5f8a1);}['find'](_0x36b79e){const _0x3e556a=a0_0x3e48cd;return this[_0x3e556a(0x20c)][_0x3e556a(0x8b)](_0x36a657=>_0x36a657[_0x3e556a(0x22c)]===_0x36b79e);}[a0_0x3e48cd(0x127)](_0x5a432e){const _0x57e4e1=a0_0x3e48cd;return this[_0x57e4e1(0x20c)][_0x57e4e1(0x8b)](_0x587f22=>_0x587f22['getDisplayName']()===_0x5a432e);}[a0_0x3e48cd(0x2af)](_0xdec515){const _0x4f6517=a0_0x3e48cd;return this['_fields'][_0x4f6517(0x2af)](_0xdec515);}[a0_0x3e48cd(0xac)](_0x54cd1f){const _0x1ee197=a0_0x3e48cd;return this[_0x1ee197(0x20c)][_0x1ee197(0xac)](_0x54cd1f);}[a0_0x3e48cd(0x108)](){const _0x4585fc=a0_0x3e48cd;return this[_0x4585fc(0x20c)][_0x4585fc(0x2af)](_0x2dbdd9=>_0x2dbdd9[_0x4585fc(0x237)]());}[a0_0x3e48cd(0x142)](){const _0x34ba1f=a0_0x3e48cd;return this[_0x34ba1f(0x20c)][_0x34ba1f(0x2af)](_0x29393d=>_0x29393d[_0x34ba1f(0xb8)]());}[a0_0x3e48cd(0x257)](){const _0x21fa8e=a0_0x3e48cd;return this[_0x21fa8e(0x20c)][_0x21fa8e(0x2af)](_0x403403=>_0x403403['isSystem']());}[a0_0x3e48cd(0x350)](){const _0x1f03f7=a0_0x3e48cd;return this[_0x1f03f7(0x20c)][_0x1f03f7(0x2af)](_0x4a01f5=>_0x4a01f5[_0x1f03f7(0x143)]());}[a0_0x3e48cd(0x9c)](){const _0x10c0d3=a0_0x3e48cd;return this[_0x10c0d3(0x20c)][_0x10c0d3(0x2af)](_0x134078=>_0x134078['isEnum']());}[a0_0x3e48cd(0x32c)](){const _0x3426bb=a0_0x3e48cd,_0x31a2a5={};return this[_0x3426bb(0x20c)][_0x3426bb(0x194)](_0x43564f=>{const _0x3778b5=_0x3426bb,_0x361edc=_0x43564f['type'];!_0x31a2a5[_0x361edc]&&(_0x31a2a5[_0x361edc]=[]),_0x31a2a5[_0x361edc][_0x3778b5(0x2d5)](_0x43564f);}),_0x31a2a5;}[a0_0x3e48cd(0x34a)](){const _0x1ef2c9=a0_0x3e48cd;return this['_fields'][_0x1ef2c9(0xac)](_0x519483=>_0x519483[_0x1ef2c9(0x34a)]);}static[a0_0x3e48cd(0x2c5)](_0x2df893){const _0x680566=a0_0x3e48cd,_0x17e786=_0x2df893[_0x680566(0xac)](_0x4c643a=>_0x4c643a[_0x680566(0x34a)]);return new FieldListV2(_0x17e786);}static[a0_0x3e48cd(0x266)](_0x4d90ae){const _0x243909={};return _0x243909['includeDeleted']=!![],new FieldListV2(_0x4d90ae,_0x243909);}[a0_0x3e48cd(0x129)](){const _0x3dc16a=a0_0x3e48cd;return _0x3dc16a(0x2a6)+this[_0x3dc16a(0x1f8)]+_0x3dc16a(0x22b);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{['_fieldListV1'];[a0_0x3e48cd(0x30c)];constructor(_0x5da5ca){super(_0x5da5ca);}['getFieldList'](){const _0x2fc064=a0_0x3e48cd;if(!this[_0x2fc064(0x2f3)]){const _0x1a0555={};_0x1a0555[_0x2fc064(0x23b)]=![],this[_0x2fc064(0x2f3)]=new FieldListV1(this['_raw'][_0x2fc064(0x21b)]||[],_0x1a0555);}return this[_0x2fc064(0x2f3)];}[a0_0x3e48cd(0x1f5)](){const _0x4bee79=a0_0x3e48cd;if(!this[_0x4bee79(0x30c)]){const _0x12e994={};_0x12e994[_0x4bee79(0x23b)]=!![],this[_0x4bee79(0x30c)]=new FieldListV1(this[_0x4bee79(0x239)]['properties']||[],_0x12e994);}return this[_0x4bee79(0x30c)];}['getFields'](){const _0x12cd25=a0_0x3e48cd;return(this[_0x12cd25(0x239)][_0x12cd25(0x21b)]||[])[_0x12cd25(0x2af)](_0x3d0d8a=>!_0x3d0d8a['deleted']);}[a0_0x3e48cd(0x2bd)](){const _0x30ba4e=a0_0x3e48cd;return this[_0x30ba4e(0xa1)]()[_0x30ba4e(0x1f8)];}['getFieldRaw'](_0x3144ab){const _0x4d7ae3=a0_0x3e48cd;return this[_0x4d7ae3(0x239)]['properties']?.[_0x4d7ae3(0x8b)](_0x3b57c4=>_0x3b57c4[_0x4d7ae3(0x22c)]===_0x3144ab);}[a0_0x3e48cd(0x2b5)](){return'v1';}[a0_0x3e48cd(0x152)](){const _0x425658=a0_0x3e48cd,_0x636fda={};return _0x636fda[_0x425658(0x16a)]=this[_0x425658(0x239)][_0x425658(0x21b)]||[],_0x636fda[_0x425658(0x23b)]=![],_0x636fda;}[a0_0x3e48cd(0x125)](){const _0x58c79e=a0_0x3e48cd;return this[_0x58c79e(0x239)][_0x58c79e(0x2a1)];}[a0_0x3e48cd(0x12e)](){const _0x370105=a0_0x3e48cd;return this[_0x370105(0x239)][_0x370105(0xeb)];}[a0_0x3e48cd(0x160)](){const _0x2169f3=a0_0x3e48cd,_0x4e9046=this[_0x2169f3(0x2e7)](),_0x1a26af=_0x4e9046?.[_0x2169f3(0x11f)],_0x535ff2={};return _0x535ff2['dbId']=_0x4e9046?.['dbId'],_0x535ff2['dbName']=_0x4e9046?.[_0x2169f3(0x187)]??_0x1a26af?.[_0x2169f3(0x187)],_0x535ff2[_0x2169f3(0xde)]=_0x1a26af?.[_0x2169f3(0xde)],_0x535ff2[_0x2169f3(0x2ff)]=_0x1a26af?.[_0x2169f3(0x2ff)],_0x535ff2[_0x2169f3(0x1fa)]=_0x4e9046?.['tableName'],_0x535ff2[_0x2169f3(0x21d)]=_0x4e9046?.[_0x2169f3(0x21d)],_0x535ff2['pkField']=_0x4e9046?.[_0x2169f3(0x33b)],_0x535ff2[_0x2169f3(0x2e6)]=_0x1a26af?.['tenantCode'],_0x535ff2['appCode']=_0x1a26af?.[_0x2169f3(0x260)],new DBConfig(_0x535ff2,_0x4e9046);}get['version'](){const _0x9d6c88=a0_0x3e48cd;return this[_0x9d6c88(0x239)][_0x9d6c88(0x2a0)];}[a0_0x3e48cd(0x1ed)](_0x360824){const _0x227c38=a0_0x3e48cd;if(typeof _0x360824!=='string'){!![]&&console[_0x227c38(0x98)](_0x227c38(0x34e),_0x360824);return;}return this[_0x227c38(0xa1)]()[_0x227c38(0x8b)](_0x360824);}[a0_0x3e48cd(0x282)](_0x868d3b){const _0x5853d0=a0_0x3e48cd;if(!_0x868d3b||typeof _0x868d3b!=='object')return![];const _0x194a6c=this[_0x5853d0(0x1ed)](_0x868d3b[_0x5853d0(0x22c)]);return _0x194a6c?_0x194a6c[_0x5853d0(0x2cc)]():![];}[a0_0x3e48cd(0x20f)](){const _0x59d682=a0_0x3e48cd,_0x517fe8=this['getOperation'](_0x59d682(0x2af));return _0x517fe8;}[a0_0x3e48cd(0x1fc)](){const _0x48f19d=a0_0x3e48cd;return this[_0x48f19d(0x2dd)]('filter');}[a0_0x3e48cd(0x195)](){const _0x5d4b36=a0_0x3e48cd;return new DatasetItem({'id':this['id'],'name':this[_0x5d4b36(0x246)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x5d4b36(0x2e7)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];[a0_0x3e48cd(0x2e2)];[a0_0x3e48cd(0x27f)];constructor(_0x2ecece){const _0xeffcb2=a0_0x3e48cd;super(_0x2ecece),this[_0xeffcb2(0x2e2)]=_0x2ecece['dataset'],this[_0xeffcb2(0x27f)]=_0x2ecece[_0xeffcb2(0x96)]||[];}[a0_0x3e48cd(0x2b5)](){return'v2';}[a0_0x3e48cd(0x152)](){const _0xc4f51f=a0_0x3e48cd,_0x14bc86={};return _0x14bc86[_0xc4f51f(0x16a)]=this[_0xc4f51f(0x239)][_0xc4f51f(0x16a)],_0x14bc86['includeDeleted']=![],_0x14bc86;}[a0_0x3e48cd(0x125)](){const _0x5d2d4f=a0_0x3e48cd;return this[_0x5d2d4f(0x239)][_0x5d2d4f(0x2a1)];}['getSource'](){const _0x4ed30a=a0_0x3e48cd;return this[_0x4ed30a(0x239)][_0x4ed30a(0xeb)];}['getDBConfig'](){const _0xc509b9=a0_0x3e48cd,_0x1a07dd=this['_raw']['dbtableConfig'],_0x215732=_0x1a07dd?.[_0xc509b9(0x11f)],_0x3b491f={};return _0x3b491f[_0xc509b9(0xd1)]=_0x1a07dd?.[_0xc509b9(0xd1)],_0x3b491f['dbName']=_0x1a07dd?.[_0xc509b9(0x187)]??_0x215732?.['dbName'],_0x3b491f[_0xc509b9(0xde)]=_0x215732?.['dbType'],_0x3b491f['dbVersion']=_0x215732?.[_0xc509b9(0x2ff)],_0x3b491f[_0xc509b9(0x1fa)]=_0x1a07dd?.[_0xc509b9(0x1fa)],_0x3b491f[_0xc509b9(0x21d)]=_0x1a07dd?.['datasetKey'],_0x3b491f[_0xc509b9(0x33b)]=_0x1a07dd?.['pkField'],_0x3b491f['tenantCode']=_0x1a07dd?.['tenantCode']??_0x215732?.[_0xc509b9(0x2e6)],_0x3b491f[_0xc509b9(0x260)]=_0x1a07dd?.[_0xc509b9(0x260)]??_0x215732?.[_0xc509b9(0x260)],new DBConfig(_0x3b491f,_0x1a07dd);}[a0_0x3e48cd(0xa1)](){const _0x330b85=a0_0x3e48cd;return this[_0x330b85(0x26d)]();}[a0_0x3e48cd(0x2a7)](){const _0x306223=a0_0x3e48cd;return this['_raw'][_0x306223(0x16a)]||[];}[a0_0x3e48cd(0x2bd)](){const _0x2a440b=a0_0x3e48cd;return(this[_0x2a440b(0x239)][_0x2a440b(0x16a)]||[])[_0x2a440b(0x1f8)];}[a0_0x3e48cd(0x1c7)](_0x4a05fb){const _0x547430=a0_0x3e48cd;return this[_0x547430(0x239)]['fields'][_0x547430(0x8b)](_0x2e99ec=>_0x2e99ec[_0x547430(0x246)]===_0x4a05fb);}[a0_0x3e48cd(0x132)](){const _0x2c7255=a0_0x3e48cd;return this[_0x2c7255(0x2e2)];}[a0_0x3e48cd(0x287)](){const _0x41a684=a0_0x3e48cd;return this[_0x41a684(0x27f)];}[a0_0x3e48cd(0x219)](){const _0x4132a4=a0_0x3e48cd;return this[_0x4132a4(0x2e2)]['indexes']||[];}[a0_0x3e48cd(0x1ec)](_0x4bf134){const _0x6c50b3=a0_0x3e48cd;return this[_0x6c50b3(0x27f)][_0x6c50b3(0x2af)](_0x302380=>_0x302380[_0x6c50b3(0xf4)]===_0x4bf134);}[a0_0x3e48cd(0x148)](_0x4d17df){const _0x34a3b3=a0_0x3e48cd;return this[_0x34a3b3(0x27f)]['some'](_0x321bcf=>_0x321bcf[_0x34a3b3(0xf4)]===_0x4d17df);}[a0_0x3e48cd(0xe7)](_0x3750e0){const _0x27436e=a0_0x3e48cd,_0xf78c60=this['_relations'][_0x27436e(0x8b)](_0x8b51f=>_0x8b51f[_0x27436e(0xf4)]===_0x3750e0);if(!_0xf78c60)return;const _0x46d440={};return _0x46d440['datasetId']=_0xf78c60[_0x27436e(0x261)],_0x46d440['datasetCode']=_0xf78c60[_0x27436e(0x2ab)],_0x46d440[_0x27436e(0x1d5)]=_0xf78c60[_0x27436e(0x112)],_0x46d440['tableName']=_0xf78c60[_0x27436e(0xbe)],_0x46d440[_0x27436e(0x2c4)]=_0xf78c60['toField'],_0x46d440;}[a0_0x3e48cd(0x342)](){const _0x3de393=a0_0x3e48cd;return this[_0x3de393(0x27f)][_0x3de393(0xac)](_0x31174b=>_0x31174b[_0x3de393(0xf4)]);}['getFieldListV2'](){const _0x41400e=a0_0x3e48cd;if(!this['_fieldListV2']){const _0x52a4af=this[_0x41400e(0x239)][_0x41400e(0x16a)]||[];this[_0x41400e(0x10f)]=new FieldListV2(_0x52a4af);}return this[_0x41400e(0x10f)];}[a0_0x3e48cd(0x1ed)](_0x328e87){const _0x4a6cdf=a0_0x3e48cd;if(typeof _0x328e87!=='string'){!![]&&console[_0x4a6cdf(0x98)](_0x4a6cdf(0x2ec),_0x328e87);return;}return this['getFieldListV2']()[_0x4a6cdf(0x8b)](_0x328e87);}[a0_0x3e48cd(0x282)](_0x18d4f6){const _0x53cda8=a0_0x3e48cd;if(!_0x18d4f6||typeof _0x18d4f6!==_0x53cda8(0x335))return![];const _0x51ce0d=_0x18d4f6['name']||_0x18d4f6['code'],_0x15c8b6=this[_0x53cda8(0x1ed)](_0x51ce0d);return _0x15c8b6?_0x15c8b6[_0x53cda8(0x2cc)]():![];}[a0_0x3e48cd(0x1fe)](){const _0x36c794=a0_0x3e48cd;if(!this[_0x36c794(0x214)]){const _0x200912=this['ensureFilterOperation'](this[_0x36c794(0x125)]()||{});this[_0x36c794(0x214)]=new OperationList(_0x200912,{'fields':this[_0x36c794(0x26d)]()[_0x36c794(0xaf)](),'pkField':this[_0x36c794(0x239)][_0x36c794(0x2aa)]?.['pkField'],'dbtableConfig':this[_0x36c794(0x239)][_0x36c794(0x2aa)]||null});}return this[_0x36c794(0x214)];}[a0_0x3e48cd(0x20f)](){const _0x3d34bd=a0_0x3e48cd,_0x426899=this['getOperation'](_0x3d34bd(0x2af));return _0x426899;}['hasFilterOperation'](){const _0x547c6f=a0_0x3e48cd;return this[_0x547c6f(0x2dd)]('filter');}[a0_0x3e48cd(0x195)](){const _0x3db578=a0_0x3e48cd;return new DatasetItem({'id':this['id'],'name':this[_0x3db578(0x246)],'datasetCode':this[_0x3db578(0x14c)],'dbtableConfig':this[_0x3db578(0x2e7)]()});}[a0_0x3e48cd(0x129)](){const _0x127da8=a0_0x3e48cd,_0x5bd0f5=this[_0x127da8(0x27f)]['length'],_0x5ebd6f=this[_0x127da8(0x219)]()['length'];return _0x127da8(0x315)+this['name']+',\x20'+this['datasetCode']+',\x20'+this[_0x127da8(0x2bd)]()+_0x127da8(0x329)+this[_0x127da8(0x2f5)]()+_0x127da8(0x1d4)+_0x5bd0f5+_0x127da8(0x2ba)+_0x5ebd6f+_0x127da8(0x2a4);}[a0_0x3e48cd(0x13e)](){const _0x1698fe=a0_0x3e48cd;return this[_0x1698fe(0x239)][_0x1698fe(0x16a)];}[a0_0x3e48cd(0x22e)](_0x4788a7){const _0x5c4196=a0_0x3e48cd;return this['_raw'][_0x5c4196(0x16a)][_0x5c4196(0x8b)](_0x3c8a99=>_0x3c8a99[_0x5c4196(0x246)]===_0x4788a7);}}function detectDatasetVersion(_0x288d4a){const _0x29acec=a0_0x3e48cd;if(_0x288d4a[_0x29acec(0x2b8)]==='v2'&&_0x29acec(0x16a)in _0x288d4a&&Array[_0x29acec(0x133)](_0x288d4a['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{['_instance'];constructor(_0xffaee6){super(_0xffaee6);const _0x2e3175=detectDatasetVersion(_0xffaee6);this['_instance']=_0x2e3175==='v2'?new DrivenDataDetailV2(_0xffaee6):new DrivenDataDetailV1(_0xffaee6);}get['id'](){return this['_instance']['id'];}get[a0_0x3e48cd(0x246)](){const _0x576add=a0_0x3e48cd;return this[_0x576add(0x1cc)][_0x576add(0x246)];}get[a0_0x3e48cd(0x14c)](){const _0x29459f=a0_0x3e48cd;return this['_instance'][_0x29459f(0x14c)];}get[a0_0x3e48cd(0x2a0)](){const _0x4c8f54=a0_0x3e48cd;return this[_0x4c8f54(0x1cc)][_0x4c8f54(0x2b5)]()==='v2'?_0x4c8f54(0x29b):_0x4c8f54(0xbd);}[a0_0x3e48cd(0x2b5)](){const _0x183a50=a0_0x3e48cd;return this[_0x183a50(0x1cc)][_0x183a50(0x2b5)]();}[a0_0x3e48cd(0x18e)](){const _0x27ae06=a0_0x3e48cd;return this[_0x27ae06(0x1cc)]['id'];}[a0_0x3e48cd(0x1af)](){const _0x4646e1=a0_0x3e48cd;return this['_instance'][_0x4646e1(0x14c)];}[a0_0x3e48cd(0xd9)](){const _0x148591=a0_0x3e48cd;return this[_0x148591(0x1cc)]['name'];}[a0_0x3e48cd(0x152)](){return this['_instance']['getFieldDataSource']();}[a0_0x3e48cd(0x125)](){const _0x153694=a0_0x3e48cd;return this[_0x153694(0x1cc)]['getOperationsData']();}['getSource'](){const _0x279e99=a0_0x3e48cd;return this[_0x279e99(0x1cc)]['getSource']();}[a0_0x3e48cd(0x1f5)](){return this['_instance']['getFieldListWithDeleted']();}[a0_0x3e48cd(0xa1)](){const _0x9e0094=a0_0x3e48cd;return this[_0x9e0094(0x1cc)][_0x9e0094(0xa1)]();}[a0_0x3e48cd(0x327)](){const _0x2964b8=a0_0x3e48cd;return this[_0x2964b8(0x1cc)]['getFieldsWithDeleted']();}[a0_0x3e48cd(0x2a7)](){const _0x3850d4=a0_0x3e48cd;return this[_0x3850d4(0x1cc)]['getFields']();}['getFieldCount'](){const _0x59d37d=a0_0x3e48cd;return this['_instance'][_0x59d37d(0x2bd)]();}['getPkField'](){const _0x10fe0f=a0_0x3e48cd,_0x1784af=this[_0x10fe0f(0x1cc)][_0x10fe0f(0x2e7)]();return _0x1784af?.[_0x10fe0f(0x33b)];}[a0_0x3e48cd(0x160)](){const _0x7cc2c0=a0_0x3e48cd;return this['_instance'][_0x7cc2c0(0x160)]();}[a0_0x3e48cd(0x1ed)](_0x521beb){return this['_instance']['getFieldInstance'](_0x521beb);}[a0_0x3e48cd(0x84)](){const _0x45287c=a0_0x3e48cd;return this[_0x45287c(0x1cc)][_0x45287c(0x84)]();}[a0_0x3e48cd(0x2bf)](){const _0x39d393=a0_0x3e48cd;return this[_0x39d393(0x1cc)][_0x39d393(0x2bf)]();}[a0_0x3e48cd(0x2ea)](){const _0x5e3df4=a0_0x3e48cd;return this[_0x5e3df4(0x1cc)][_0x5e3df4(0x2ea)]();}['getRequiredFields'](){const _0x4b9dba=a0_0x3e48cd;return this[_0x4b9dba(0x1cc)][_0x4b9dba(0x211)]();}[a0_0x3e48cd(0x159)](){return this['_instance']['getFieldsByType']();}[a0_0x3e48cd(0x251)](){const _0x5ed836=a0_0x3e48cd;return this[_0x5ed836(0x1cc)][_0x5ed836(0x251)]();}[a0_0x3e48cd(0x2f4)](){const _0x18c087=a0_0x3e48cd;return this[_0x18c087(0x1cc)][_0x18c087(0x2f4)]();}[a0_0x3e48cd(0x168)](){const _0x3de088=a0_0x3e48cd;return this['_instance'][_0x3de088(0x168)]();}[a0_0x3e48cd(0x2f5)](){const _0x2a381b=a0_0x3e48cd;return this['_instance'][_0x2a381b(0x2f5)]();}[a0_0x3e48cd(0x25d)](){const _0x13e267=a0_0x3e48cd;return this[_0x13e267(0x1cc)][_0x13e267(0x25d)]();}[a0_0x3e48cd(0x19b)](){const _0x57af8e=a0_0x3e48cd;return this[_0x57af8e(0x1cc)][_0x57af8e(0x19b)]();}['getEnabledOperationInstances'](){const _0xf32998=a0_0x3e48cd;return this[_0xf32998(0x1cc)][_0xf32998(0x27e)]();}[a0_0x3e48cd(0x262)](){const _0x5494c4=a0_0x3e48cd;return this[_0x5494c4(0x1cc)][_0x5494c4(0x262)]();}['getStats'](){const _0x167299=a0_0x3e48cd;return this[_0x167299(0x1cc)]['getStats']();}['getDatasetMeta'](){const _0x277bb9=a0_0x3e48cd;return this[_0x277bb9(0x1cc)]['getDatasetMeta']();}['getRelations'](){const _0xbb226c=a0_0x3e48cd;return this['_instance'][_0xbb226c(0x287)]();}['getIndexes'](){const _0x189642=a0_0x3e48cd;return this[_0x189642(0x1cc)]['getIndexes']();}[a0_0x3e48cd(0x158)](){const _0x6d2e7b=a0_0x3e48cd;return this['_instance'][_0x6d2e7b(0x158)]();}[a0_0x3e48cd(0x281)](){const _0xe40ebf=a0_0x3e48cd;return this['_instance'][_0xe40ebf(0x281)]();}[a0_0x3e48cd(0x2df)](){const _0x31fd7a=a0_0x3e48cd;return this[_0x31fd7a(0x1cc)][_0x31fd7a(0x2df)]();}[a0_0x3e48cd(0x20f)](){return this['_instance']['getFilterOperation']();}[a0_0x3e48cd(0x1fc)](){const _0x1d28ab=a0_0x3e48cd;return this[_0x1d28ab(0x1cc)][_0x1d28ab(0x1fc)]();}['toListItem'](){const _0x236995=a0_0x3e48cd;return this[_0x236995(0x1cc)]['toListItem']();}['toString'](){const _0x43724b=a0_0x3e48cd;return this['_instance'][_0x43724b(0x129)]();}['getInternalInstance'](){const _0x28b489=a0_0x3e48cd;return this[_0x28b489(0x1cc)];}}function detectDatasetVersion2(_0x36793d){const _0x195e6c=a0_0x3e48cd;if(_0x36793d['doVersion']==='v2'&&_0x195e6c(0x16a)in _0x36793d&&Array['isArray'](_0x36793d['fields']))return'v2';return'v1';}function createDrivenDataDetail(_0xdec191,_0x1f1d49={}){const {forceVersion:_0x114516}=_0x1f1d49;if(_0x114516==='v2')return new DrivenDataDetailV2(_0xdec191);if(_0x114516==='v1')return new DrivenDataDetailV1(_0xdec191);const _0x2c1e1a=detectDatasetVersion2(_0xdec191);if(_0x2c1e1a==='v2')return new DrivenDataDetailV2(_0xdec191);return new DrivenDataDetailV1(_0xdec191);}function isV2Data(_0x3e12ab){return detectDatasetVersion2(_0x3e12ab)==='v2';}function isV1Data(_0x33dea7){return detectDatasetVersion2(_0x33dea7)==='v1';}function isV2Instance(_0x2f56fb){const _0x11e84d=a0_0x3e48cd;return _0x2f56fb[_0x11e84d(0x2b5)]()==='v2';}function isV1Instance(_0x29b6a0){return _0x29b6a0['getVersion']()==='v1';}class DatasetGroup{['items'];constructor(_0x49054a){const _0x28cb58=a0_0x3e48cd;this['items']=Array['isArray'](_0x49054a)?[..._0x49054a]:[_0x49054a],this[_0x28cb58(0x1c6)][_0x28cb58(0x292)]((_0x59b683,_0x415a46)=>{const _0xa3cc3c=Number(_0x59b683['id'])||0x0,_0x386ff7=Number(_0x415a46['id'])||0x0;return _0x386ff7-_0xa3cc3c;});}[a0_0x3e48cd(0xdc)](){const _0x39cf33=a0_0x3e48cd;return this[_0x39cf33(0x1c6)]['length']>0x1;}[a0_0x3e48cd(0xef)](){return this['items'][0x0];}[a0_0x3e48cd(0x253)](){const _0x1895c6=a0_0x3e48cd;return this[_0x1895c6(0x1c6)][this['items']['length']-0x1];}[a0_0x3e48cd(0x324)](){return[...this['items']];}[a0_0x3e48cd(0xcd)](){const _0x104a94=a0_0x3e48cd;return this[_0x104a94(0x1c6)][_0x104a94(0x1f8)];}[a0_0x3e48cd(0x153)](_0xede472){const _0x361dac=a0_0x3e48cd;return this[_0x361dac(0x1c6)][_0xede472];}[a0_0x3e48cd(0x289)](_0x51b000){const _0x29fc2a=a0_0x3e48cd;return this[_0x29fc2a(0x1c6)]['find'](_0x35aa9c=>_0x35aa9c['id']===_0x51b000);}['findByCode'](_0xa76f22){const _0x457e88=a0_0x3e48cd;return this['items'][_0x457e88(0x8b)](_0x417a2a=>_0x417a2a['datasetCode']===_0xa76f22);}['getIds'](){const _0xb57a30=a0_0x3e48cd;return this[_0xb57a30(0x1c6)]['map'](_0x366664=>_0x366664['id'])[_0xb57a30(0x2af)](_0x102de8=>_0x102de8!==undefined);}[a0_0x3e48cd(0xd3)](){const _0x2bf9f4=a0_0x3e48cd;return this['items'][_0x2bf9f4(0xac)](_0x14bdaf=>_0x14bdaf[_0x2bf9f4(0x14c)]);}[a0_0x3e48cd(0x129)](){const _0x51da6f=a0_0x3e48cd;if(this[_0x51da6f(0xdc)]())return'DatasetGroup('+this[_0x51da6f(0x1c6)][_0x51da6f(0x1f8)]+_0x51da6f(0x31d)+this[_0x51da6f(0xef)]()[_0x51da6f(0x246)]+')';return _0x51da6f(0xd4)+this[_0x51da6f(0x1c6)][0x0][_0x51da6f(0x246)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x4a0de3){const _0xb5295f=a0_0x3e48cd;this[_0xb5295f(0x297)]=new Map();for(const _0x1f12ef of _0x4a0de3){const _0x53e680=_0x1f12ef[_0xb5295f(0x16d)](),_0x13f1a9=_0x1f12ef[_0xb5295f(0x2aa)]?.[_0xb5295f(0xd1)],_0x343d63=_0x1f12ef['dbtableConfig']?.[_0xb5295f(0x187)]||_0x1f12ef['dbtableConfig']?.[_0xb5295f(0x11f)]?.[_0xb5295f(0x187)]||'',_0x28ec09=_0x13f1a9!==undefined&&_0x13f1a9!==null?'db'+_0x13f1a9:_0x343d63?getTableKey(_0x343d63):'',_0xb4d9c9=_0x28ec09?_0x28ec09+'_'+_0x53e680:_0x53e680,_0x47e390=getTableKey(_0xb4d9c9);if(!this[_0xb5295f(0x297)][_0xb5295f(0x2b9)](_0x47e390))this[_0xb5295f(0x297)][_0xb5295f(0x317)](_0x47e390,new DatasetGroup(_0x1f12ef));else{const _0x346bdc=this[_0xb5295f(0x297)][_0xb5295f(0x32d)](_0x47e390),_0xe4ea45=[..._0x346bdc[_0xb5295f(0x324)](),_0x1f12ef];this['groups'][_0xb5295f(0x317)](_0x47e390,new DatasetGroup(_0xe4ea45));}}}[a0_0x3e48cd(0x32d)](_0x5337cb){const _0x27dc7f=a0_0x3e48cd;return this['groups'][_0x27dc7f(0x32d)](_0x5337cb);}[a0_0x3e48cd(0x2b9)](_0x5eda48){const _0x127d48=a0_0x3e48cd;return this[_0x127d48(0x297)]['has'](_0x5eda48);}get[a0_0x3e48cd(0x13b)](){const _0x1fcd78=a0_0x3e48cd;return this['groups'][_0x1fcd78(0x13b)];}[a0_0x3e48cd(0x326)](){const _0x123229=a0_0x3e48cd;return this[_0x123229(0x297)]['keys']();}[a0_0x3e48cd(0x94)](){const _0x5c2374=a0_0x3e48cd;return this['groups'][_0x5c2374(0x94)]();}[a0_0x3e48cd(0x256)](){const _0x7885a9=a0_0x3e48cd;return this['groups'][_0x7885a9(0x256)]();}[Symbol[a0_0x3e48cd(0x320)]](){const _0x412703=a0_0x3e48cd;return this['groups'][_0x412703(0x256)]();}['forEach'](_0x3a6775){const _0x5afa70=a0_0x3e48cd;this[_0x5afa70(0x297)][_0x5afa70(0x194)]((_0x138561,_0x5a025a)=>_0x3a6775(_0x138561,_0x5a025a,this));}['getConflicts'](){const _0x442cc3=a0_0x3e48cd,_0x314dc0=new Map();for(const [_0x534df6,_0xd8215b]of this[_0x442cc3(0x297)]){_0xd8215b[_0x442cc3(0xdc)]()&&_0x314dc0['set'](_0x534df6,_0xd8215b);}return _0x314dc0;}[a0_0x3e48cd(0xf2)](){const _0x10e8eb=a0_0x3e48cd;for(const _0x1ad02a of this[_0x10e8eb(0x297)][_0x10e8eb(0x94)]()){if(_0x1ad02a[_0x10e8eb(0xdc)]())return!![];}return![];}[a0_0x3e48cd(0x2a9)](){const _0x18ce37=a0_0x3e48cd;let _0x3593d1=0x0,_0x2a005f=0x0;for(const _0x2158f9 of this['groups']['values']()){_0x2158f9[_0x18ce37(0xdc)]()&&(_0x3593d1++,_0x2a005f+=_0x2158f9[_0x18ce37(0xcd)]());}const _0x20786f={};return _0x20786f[_0x18ce37(0x2c9)]=_0x3593d1,_0x20786f['conflictItemCount']=_0x2a005f,_0x20786f[_0x18ce37(0x20b)]=this['groups']['size'],_0x20786f;}[a0_0x3e48cd(0x207)](){const _0x150e27=a0_0x3e48cd,_0x294f05=[];for(const _0x3b42fb of this[_0x150e27(0x297)][_0x150e27(0x94)]()){_0x294f05[_0x150e27(0x2d5)](..._0x3b42fb['getAll']());}return _0x294f05;}[a0_0x3e48cd(0x23d)](){const _0x553059=a0_0x3e48cd,_0x49fb62=[];for(const _0x1f46bf of this[_0x553059(0x297)][_0x553059(0x94)]()){_0x49fb62[_0x553059(0x2d5)](_0x1f46bf['getLatest']());}return _0x49fb62;}[a0_0x3e48cd(0xef)](_0x54283d){const _0x450a83=a0_0x3e48cd;return this['groups'][_0x450a83(0x32d)](_0x54283d)?.[_0x450a83(0xef)]();}['getAll'](_0x54f9d6){const _0x110d1e=a0_0x3e48cd;return this[_0x110d1e(0x297)][_0x110d1e(0x32d)](_0x54f9d6)?.[_0x110d1e(0x324)]()||[];}[a0_0x3e48cd(0x2e0)](){const _0x3526f9=a0_0x3e48cd,_0x11ec85=this[_0x3526f9(0x23d)](),_0x507a0f=new Map();for(const _0x552b83 of _0x11ec85){const _0xb377c7=_0x552b83[_0x3526f9(0x16d)](),_0x1bcfd7=_0x552b83[_0x3526f9(0x2aa)]?.[_0x3526f9(0xd1)],_0x45ad8f=_0x552b83[_0x3526f9(0x2aa)]?.[_0x3526f9(0x187)]||_0x552b83['dbtableConfig']?.[_0x3526f9(0x11f)]?.['dbName']||'',_0x19cfb2=_0x1bcfd7!==undefined&&_0x1bcfd7!==null?'db'+_0x1bcfd7:_0x45ad8f?getTableKey(_0x45ad8f):'';!_0x507a0f[_0x3526f9(0x2b9)](_0xb377c7)&&_0x507a0f['set'](_0xb377c7,new Set()),_0x507a0f['get'](_0xb377c7)['add'](_0x19cfb2);}const _0x2b29e1=new Set();for(const [_0x48d612,_0x5a7ca9]of _0x507a0f){_0x5a7ca9['size']>0x1&&_0x2b29e1[_0x3526f9(0x136)](_0x48d612);}const _0x5117ed={},_0xe4d330=new Set();for(const _0x7092bd of _0x11ec85){const _0xc5ea5c=_0x7092bd[_0x3526f9(0x16d)](),_0x240233=_0x7092bd[_0x3526f9(0x2df)](),_0x5a9711=getTableKey(_0xc5ea5c);let _0x135232=_0x5a9711;const _0x4bea0e=_0x7092bd[_0x3526f9(0x2aa)]?.[_0x3526f9(0x187)]||_0x7092bd[_0x3526f9(0x2aa)]?.[_0x3526f9(0x11f)]?.[_0x3526f9(0x187)]||'';if(_0x2b29e1[_0x3526f9(0x2b9)](_0xc5ea5c)&&_0x4bea0e){const _0x124467=getTableKey(_0x4bea0e);_0x135232=''+_0x124467+_0x5a9711[_0x3526f9(0x126)](0x0)[_0x3526f9(0x279)]()+_0x5a9711[_0x3526f9(0x1f9)](0x1);}let _0x4df9e4=_0x135232,_0x22d0d1=0x1;while(_0xe4d330[_0x3526f9(0x2b9)](_0x4df9e4)){_0x4df9e4=_0x135232+'_'+_0x22d0d1,_0x22d0d1++;}_0xe4d330[_0x3526f9(0x136)](_0x4df9e4);const _0x1f85ee=_0x4df9e4;_0x5117ed[_0x4df9e4]={'key':_0x4df9e4,'alias':_0x1f85ee,'tableName':_0xc5ea5c,'datasetCode':_0x240233[_0x3526f9(0x14c)],'name':_0x240233[_0x3526f9(0x246)],'id':_0x240233['id'],'dbName':_0x4bea0e};}return _0x5117ed;}[a0_0x3e48cd(0x259)](){const _0x3ace20=a0_0x3e48cd,_0x293b03=this[_0x3ace20(0x207)](),_0x462def=_0x293b03[_0x3ace20(0xac)](_0x700c01=>_0x700c01[_0x3ace20(0x2df)]());return generateFullDatasetsConfig(_0x462def);}[a0_0x3e48cd(0xda)](){const _0x1523c7={};for(const [_0x2effb5,_0x4c64ca]of this['groups']){_0x1523c7[_0x2effb5]=_0x4c64ca;}return _0x1523c7;}[a0_0x3e48cd(0x2df)](){const _0x3e4119=a0_0x3e48cd,_0x544d59={};for(const [_0x3f3ca7,_0xffbef7]of this[_0x3e4119(0x297)]){_0x544d59[_0x3f3ca7]=_0xffbef7['getAll']()[_0x3e4119(0xac)](_0x70578f=>_0x70578f[_0x3e4119(0x2df)]());}return _0x544d59;}[a0_0x3e48cd(0x129)](){const _0x263131=a0_0x3e48cd;return _0x263131(0xa2)+this[_0x263131(0x297)][_0x263131(0x13b)]+'\x20groups,\x20'+(this[_0x263131(0xf2)]()?_0x263131(0xf8):_0x263131(0x14a))+')';}}class DatasetList{[a0_0x3e48cd(0x21f)];constructor(_0x480bd3){const _0x44098d=a0_0x3e48cd;let _0x2f5bc6;if(Array[_0x44098d(0x133)](_0x480bd3))_0x2f5bc6=_0x480bd3;else{if(_0x44098d(0x2c3)in _0x480bd3){if(!_0x480bd3['success'])throw new Error('Invalid\x20API\x20response:\x20success\x20is\x20false');if(Array[_0x44098d(0x133)](_0x480bd3[_0x44098d(0x32f)]))_0x2f5bc6=_0x480bd3[_0x44098d(0x32f)][_0x44098d(0xac)](_0x2db739=>({..._0x2db739,'datasetCode':_0x2db739['code']||_0x2db739[_0x44098d(0x14c)]}));else{if(_0x480bd3[_0x44098d(0x32f)]?.[_0x44098d(0x191)])_0x2f5bc6=_0x480bd3[_0x44098d(0x32f)][_0x44098d(0x191)]['map'](_0xa3686a=>({..._0xa3686a,'datasetCode':_0xa3686a[_0x44098d(0x22c)]||_0xa3686a['datasetCode']}));else throw new Error('Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)');}}else{if(_0x44098d(0x191)in _0x480bd3){if(!Array[_0x44098d(0x133)](_0x480bd3['tableData']))throw new Error(_0x44098d(0x16c));_0x2f5bc6=_0x480bd3[_0x44098d(0x191)]['map'](_0x1984bd=>({..._0x1984bd,'datasetCode':_0x1984bd[_0x44098d(0x22c)]||_0x1984bd['datasetCode']}));}else throw new Error(_0x44098d(0x15e));}}const _0x44fde4=cleanDatasetNames(_0x2f5bc6),_0x2e861d=_0x44fde4['map'](_0x273d5e=>new DatasetItem(_0x273d5e));this[_0x44098d(0x21f)]=new DatasetGroupMap(_0x2e861d);}get['datasetMap'](){const _0x430ffe=a0_0x3e48cd;return this[_0x430ffe(0x21f)];}['getItems'](){const _0x145039=a0_0x3e48cd;return this['_datasetMap'][_0x145039(0x207)]();}['getCount'](){const _0x3285d0=a0_0x3e48cd;return this['getItems']()[_0x3285d0(0x1f8)];}['isEmpty'](){const _0x5656a8=a0_0x3e48cd;return this[_0x5656a8(0x21f)][_0x5656a8(0x13b)]===0x0;}['getAt'](_0x2093c4){return this['getItems']()[_0x2093c4];}[a0_0x3e48cd(0x2bc)](){const _0x174c7f=a0_0x3e48cd;return this[_0x174c7f(0xe6)]()[0x0];}[a0_0x3e48cd(0x2c2)](){const _0x51c976=a0_0x3e48cd,_0x565f74=this[_0x51c976(0xe6)]();return _0x565f74[_0x565f74[_0x51c976(0x1f8)]-0x1];}[a0_0x3e48cd(0x2b6)](_0x47af4e){const _0x5d4263=a0_0x3e48cd;for(const _0x140e30 of this[_0x5d4263(0x21f)][_0x5d4263(0x94)]()){const _0x5e4a3b=_0x140e30['findByCode'](_0x47af4e);if(_0x5e4a3b)return _0x5e4a3b;}return;}[a0_0x3e48cd(0x127)](_0x4dba2b){const _0x3e7bcf=a0_0x3e48cd;return this[_0x3e7bcf(0xe6)]()[_0x3e7bcf(0x8b)](_0x519679=>_0x519679[_0x3e7bcf(0x246)]===_0x4dba2b);}['findById'](_0x2b624b){const _0x1670de=a0_0x3e48cd;for(const _0x5e51d9 of this[_0x1670de(0x21f)][_0x1670de(0x94)]()){const _0x363392=_0x5e51d9[_0x1670de(0x289)](_0x2b624b);if(_0x363392)return _0x363392;}return;}[a0_0x3e48cd(0xad)](_0x2eacf0){const _0x1d65c3=a0_0x3e48cd;for(const _0xae052b of this['_datasetMap'][_0x1d65c3(0x94)]()){const _0xa14c11=_0xae052b[_0x1d65c3(0xef)]();if(_0xa14c11[_0x1d65c3(0x16d)]()===_0x2eacf0)return _0xa14c11;}return;}[a0_0x3e48cd(0xb9)](_0x1d3243){const _0x1da7e9=a0_0x3e48cd,_0x3204a1=[];for(const _0x28928d of this[_0x1da7e9(0x21f)][_0x1da7e9(0x94)]()){const _0x21fb66=_0x28928d[_0x1da7e9(0xef)]();_0x21fb66['getTableName']()===_0x1d3243&&_0x3204a1[_0x1da7e9(0x2d5)](_0x21fb66);}return _0x3204a1;}['filter'](_0x275009){const _0x1fe06d=a0_0x3e48cd,_0x1419f5=this[_0x1fe06d(0xe6)]()['filter'](_0x275009);return new DatasetList(_0x1419f5[_0x1fe06d(0xac)](_0x5c61eb=>_0x5c61eb[_0x1fe06d(0x2df)]()));}[a0_0x3e48cd(0x165)](_0x4e9780){const _0x3732b1=a0_0x3e48cd;return this[_0x3732b1(0xe6)]()[_0x3732b1(0x2af)](_0x4e9780);}[a0_0x3e48cd(0x194)](_0x3623b3){const _0x33321c=a0_0x3e48cd;this[_0x33321c(0xe6)]()[_0x33321c(0x194)](_0x3623b3);}[a0_0x3e48cd(0xac)](_0x38cfe2){return this['getItems']()['map'](_0x38cfe2);}[Symbol[a0_0x3e48cd(0x320)]](){const _0x6a2305=a0_0x3e48cd;return this['getItems']()[Symbol[_0x6a2305(0x320)]]();}['getVirtualTables'](){const _0x10b9e7=a0_0x3e48cd;return this[_0x10b9e7(0xe6)]()[_0x10b9e7(0x2af)](_0x3ff33a=>_0x3ff33a[_0x10b9e7(0x1c0)]());}['getRealTables'](){const _0x3065eb=a0_0x3e48cd;return this[_0x3065eb(0xe6)]()[_0x3065eb(0x2af)](_0xa36ab5=>!_0xa36ab5['isVirtualTable']());}[a0_0x3e48cd(0x22d)](){const _0x170645=a0_0x3e48cd,_0x784507={};for(const _0x564cd8 of this[_0x170645(0x21f)][_0x170645(0x94)]()){const _0x44c563=_0x564cd8[_0x170645(0xef)]()['getTableName']();_0x784507[_0x44c563]=_0x564cd8[_0x170645(0x324)]();}return _0x784507;}['detectConflicts'](){const _0x2b26d1=a0_0x3e48cd,_0x13c990={};for(const _0xdb3892 of this[_0x2b26d1(0x21f)]['getConflicts']()[_0x2b26d1(0x94)]()){const _0x440f05=_0xdb3892[_0x2b26d1(0xef)]()['getTableName']();_0x13c990[_0x440f05]=_0xdb3892['getAll']()[_0x2b26d1(0xac)](_0x44939e=>_0x44939e[_0x2b26d1(0x2df)]());}return{'hasConflicts':Object[_0x2b26d1(0x326)](_0x13c990)[_0x2b26d1(0x1f8)]>0x0,'conflicts':_0x13c990};}[a0_0x3e48cd(0xf2)](){const _0x17ad80=a0_0x3e48cd;return this['_datasetMap'][_0x17ad80(0xf2)]();}[a0_0x3e48cd(0x2e3)](){const _0x4a5791=a0_0x3e48cd,_0x44dd52=[];for(const _0x3fe6aa of this['_datasetMap'][_0x4a5791(0x2dc)]()[_0x4a5791(0x94)]()){_0x44dd52[_0x4a5791(0x2d5)](..._0x3fe6aa[_0x4a5791(0x324)]());}return _0x44dd52;}['generateConfig'](_0x445765){const _0x4df19d=a0_0x3e48cd;if(!_0x445765||Object[_0x4df19d(0x326)](_0x445765)['length']===0x0)return this['datasetMap']['toConfig']();const _0x4cd03a=this[_0x4df19d(0xe6)]()[_0x4df19d(0xac)](_0x1cc7b6=>_0x1cc7b6[_0x4df19d(0x2df)]());return generateDatasetsConfig(_0x4cd03a,_0x445765);}[a0_0x3e48cd(0x146)](_0x5a090f){const _0x5e7f43=a0_0x3e48cd,_0x2c0bc5=this[_0x5e7f43(0x1c8)](_0x5a090f);return datasetsConfigToArray(_0x2c0bc5);}[a0_0x3e48cd(0x16b)](){const _0x167050=a0_0x3e48cd;return this[_0x167050(0xe6)]()[_0x167050(0xac)](_0x3b7b4c=>_0x3b7b4c[_0x167050(0x2e0)]());}[a0_0x3e48cd(0x1ef)](){const _0x329339=a0_0x3e48cd;return{'total':this[_0x329339(0xcd)](),'virtualTables':this[_0x329339(0xe2)]()[_0x329339(0x1f8)],'realTables':this[_0x329339(0x10e)]()[_0x329339(0x1f8)],'hasConflicts':this[_0x329339(0xf2)](),'conflictCount':this[_0x329339(0x2e3)]()[_0x329339(0x1f8)]};}['toArray'](){const _0x57e7a1=a0_0x3e48cd;return this[_0x57e7a1(0xe6)]()[_0x57e7a1(0xac)](_0x4b8de3=>_0x4b8de3[_0x57e7a1(0x2df)]());}['toJSON'](){return this['toArray']();}[a0_0x3e48cd(0x129)](){const _0x505e16=a0_0x3e48cd;return _0x505e16(0x201)+this[_0x505e16(0xcd)]()+_0x505e16(0x17b)+this[_0x505e16(0x21f)][_0x505e16(0x13b)]+'\x20groups)';}static[a0_0x3e48cd(0xce)](_0x4f6e24){return new DatasetList(_0x4f6e24);}static[a0_0x3e48cd(0xc1)](_0x5b9c65){return new DatasetList(_0x5b9c65);}static['empty'](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x3e48cd(0xa6);function renderTemplate(_0x3042b5,_0x5223db,_0x31a12c={}){const _0x500dc5=a0_0x3e48cd;let _0x42ba3c=_0x3042b5;return Object['entries'](_0x31a12c)[_0x500dc5(0x194)](([_0x44d828,_0x35e18])=>{const _0x1cfb71=_0x500dc5,_0x4332f1=new RegExp('<!--\x5cs*CONDITION:\x5cs*'+_0x44d828+_0x1cfb71(0x32a),'g');_0x42ba3c=_0x42ba3c[_0x1cfb71(0x15d)](_0x4332f1,_0x35e18?'$1':'');}),Object['entries'](_0x5223db)[_0x500dc5(0x194)](([_0x4edb33,_0x23511c])=>{const _0x258d07=_0x500dc5;if(_0x23511c!==undefined){const _0x58cd2f=new RegExp(_0x258d07(0xc7)+_0x4edb33+_0x258d07(0x271),'g');_0x42ba3c=_0x42ba3c['replace'](_0x58cd2f,_0x23511c);}}),_0x42ba3c;}function generateSDKInitCode(_0x39a968,_0x4f70a4,_0x45b77e,_0x45f5fd,_0x170126){const _0x5f4ee7=a0_0x3e48cd,_0x3344a9={};_0x3344a9[_0x5f4ee7(0x260)]=_0x39a968,_0x3344a9[_0x5f4ee7(0x14c)]=_0x4f70a4,_0x3344a9[_0x5f4ee7(0x316)]=_0x45b77e,_0x3344a9[_0x5f4ee7(0x1a7)]=_0x45f5fd==='daily'?_0x5f4ee7(0x2fb):undefined;const _0x19218b={};return _0x19218b[_0x5f4ee7(0x1a7)]=_0x45f5fd!==undefined&&_0x45f5fd!=='online',_0x19218b[_0x5f4ee7(0xcc)]=_0x170126===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x3344a9,_0x19218b);}var ALIAS_EXPLANATION_TEMPLATE='##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a';function generateAliasExplanation(_0x16eb65,_0x3d2cd3,_0x4a4352,_0x5016a4){const _0x2f7148=a0_0x3e48cd,_0x13871f=_0x2f7148(0x107)+_0x16eb65,_0x3995db=_0x2f7148(0x161),_0x358d3a={};return _0x358d3a[_0x2f7148(0x14c)]=_0x16eb65,_0x358d3a['datasetSDKKey']=_0x13871f,_0x358d3a[_0x2f7148(0x1fa)]=_0x3d2cd3,_0x358d3a[_0x2f7148(0x316)]=_0x4a4352,_0x358d3a[_0x2f7148(0x260)]=_0x5016a4,_0x358d3a[_0x2f7148(0x205)]=_0x3995db,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x358d3a,{});}function DrivenDataDetailPlusMixin(_0x10f58a){const _0x45a435=a0_0x3e48cd;return class _0x2bb0f9 extends _0x10f58a{[_0x45a435(0xd7)](_0x37d695){const _0x5e9a11=_0x45a435;return{'appCode':_0x37d695,'datasetSDKKey':this[_0x5e9a11(0x325)](),'alias':this[_0x5e9a11(0x12c)](),'tableName':this[_0x5e9a11(0x16d)](),'datasetCode':this['datasetCode']};}['generateSDKInitCode'](_0x2b43dd,_0x1cfde=_0x45a435(0x130),_0x5853d9=![]){const _0x21b7db=_0x45a435;return generateSDKInitCode(_0x2b43dd,this['datasetCode'],this[_0x21b7db(0x12c)](),_0x1cfde==='daily'?_0x1cfde:undefined,_0x5853d9);}[_0x45a435(0x105)](_0x64012c,_0x359b88,_0x58de3d={}){const _0x4d435f=_0x45a435,_0x3031ae=this['getOperations']()[_0x4d435f(0x8b)](_0x2ffc69=>_0x2ffc69[_0x4d435f(0xd9)]()===_0x64012c);if(!_0x3031ae)return null;const _0x569c00={};_0x569c00[_0x4d435f(0x2ad)]=_0x58de3d[_0x4d435f(0xd0)]!==![];const _0x4f3bbe=this[_0x4d435f(0x97)](_0x64012c,_0x569c00);if(!_0x4f3bbe)return null;const _0x1d34eb=[];return _0x1d34eb[_0x4d435f(0x2d5)](_0x4d435f(0x10c)+_0x3031ae[_0x4d435f(0xd9)]()+_0x4d435f(0x9e)),_0x1d34eb[_0x4d435f(0x2d5)](_0x4f3bbe[_0x4d435f(0x302)]['code']),_0x1d34eb['push'](''),_0x58de3d[_0x4d435f(0x192)]!==![]&&(_0x1d34eb[_0x4d435f(0x2d5)]('//\x20Usage\x20examples'),_0x1d34eb[_0x4d435f(0x2d5)](_0x4f3bbe[_0x4d435f(0xf6)]['successCode']),_0x1d34eb['push'](''),_0x1d34eb['push'](_0x4f3bbe[_0x4d435f(0xf6)][_0x4d435f(0x1a1)])),_0x1d34eb[_0x4d435f(0x103)]('\x0a');}[_0x45a435(0x227)](_0x222fb5={}){const _0x5eeacd=_0x45a435,_0x2126d6=this['getEnabledOperationAnalyses'](),_0x3b1b64=[];return _0x2126d6['forEach']((_0x2ee68d,_0x48cd7d)=>{const _0x3d7b4f=a0_0x23f8,_0xc19b70=this['generateFullSDKExample'](_0x2ee68d['name'],_0x3d7b4f(0x1cf),_0x222fb5);_0xc19b70&&(_0x3b1b64[_0x3d7b4f(0x2d5)](_0x3d7b4f(0x1db)+(_0x48cd7d+0x1)+'.\x20'+_0x2ee68d['displayName']),_0x3b1b64[_0x3d7b4f(0x2d5)](_0xc19b70),_0x3b1b64[_0x3d7b4f(0x2d5)](''));}),_0x3b1b64[_0x5eeacd(0x103)]('\x0a');}[_0x45a435(0x2e1)](_0x1c773f){const _0x3ed53a=_0x45a435,_0x24f450=this[_0x3ed53a(0x2ce)](_0x1c773f);if(!_0x24f450)return null;const _0xc26cf8={};return _0xc26cf8[_0x3ed53a(0x246)]=_0x24f450[_0x3ed53a(0x246)],_0xc26cf8[_0x3ed53a(0x252)]=_0x24f450[_0x3ed53a(0x252)],_0xc26cf8['method']=_0x24f450[_0x3ed53a(0x2eb)],_0xc26cf8['path']=_0x24f450['path'],_0xc26cf8[_0x3ed53a(0x12d)]=_0x24f450[_0x3ed53a(0x12d)],_0xc26cf8[_0x3ed53a(0x217)]=_0x24f450[_0x3ed53a(0x11e)][_0x3ed53a(0x1f8)],_0xc26cf8['hasResponseSchema']=_0x24f450[_0x3ed53a(0xae)]!==null,_0xc26cf8;}[_0x45a435(0x1aa)](_0x5d32b2={}){const _0xf85213=_0x45a435,_0x445da1=this[_0xf85213(0x151)]();return{'datasetName':this[_0xf85213(0x246)],'datasetCode':this[_0xf85213(0x14c)],'tableName':this[_0xf85213(0x16d)](),'totalOperations':_0x445da1['length'],'operations':_0x445da1[_0xf85213(0xac)](_0x17818e=>({'name':_0x17818e[_0xf85213(0x246)],'displayName':_0x17818e[_0xf85213(0x252)],'method':_0x17818e[_0xf85213(0x2eb)],'enabled':_0x17818e[_0xf85213(0x12d)]}))};}[_0x45a435(0xf7)](_0x308945){const _0x50ce2f=_0x45a435,_0x52e4bc=this['getOperationAnalysis'](_0x308945);if(!_0x52e4bc)return[];return _0x52e4bc[_0x50ce2f(0x11e)][_0x50ce2f(0xac)](_0x1b9b57=>{const _0xfc5830=_0x50ce2f,_0x16fa41=this[_0xfc5830(0x1ed)](_0x1b9b57);if(!_0x16fa41)return null;const _0x13c636={};return _0x13c636[_0xfc5830(0x22c)]=_0x1b9b57,_0x13c636['name']=_0x16fa41['name']||_0x1b9b57,_0x13c636;})[_0x50ce2f(0x2af)](_0x51594e=>_0x51594e!==null);}[_0x45a435(0x2d2)](){const _0x146958=_0x45a435,_0x401003=new Set(this['getEnabledOperationAnalyses']()['map'](_0x2892ce=>String(_0x2892ce[_0x146958(0x299)]))),_0x1aa2ce=[_0x146958(0x25c),_0x146958(0x286),'update',_0x146958(0x293)];return _0x1aa2ce[_0x146958(0x2af)](_0x33a120=>!_0x401003[_0x146958(0x2b9)](String(_0x33a120)));}['generateAliasExplanation'](_0x402f5a=_0x45a435(0x1cf)){const _0x4e0b29=_0x45a435;return generateAliasExplanation(this[_0x4e0b29(0x14c)],this[_0x4e0b29(0x16d)](),this['getModelAlias'](),_0x402f5a);}};}function operationToAnalysis(_0x29d10f){const _0x2064da=a0_0x3e48cd;return{'name':_0x29d10f[_0x2064da(0xd9)](),'displayName':_0x29d10f[_0x2064da(0x2ef)](),'type':_0x29d10f[_0x2064da(0x22a)](),'method':_0x29d10f[_0x2064da(0x24d)](),'path':_0x29d10f[_0x2064da(0x232)](),'fullUrl':_0x29d10f[_0x2064da(0x1ee)](),'requestFields':_0x29d10f[_0x2064da(0xfe)](),'requestParams':_0x29d10f['getRequestParams'](),'responseSchema':_0x29d10f[_0x2064da(0x2cf)](),'requestExample':_0x29d10f[_0x2064da(0x209)](),'responseExample':_0x29d10f['generateResponseExample'](),'enabled':_0x29d10f[_0x2064da(0x189)]()};}function operationsToAnalyses(_0x1187aa){const _0x16ae03=a0_0x3e48cd;if(!Array[_0x16ae03(0x133)](_0x1187aa))return!![]&&console[_0x16ae03(0x98)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0x1187aa),[];return _0x1187aa[_0x16ae03(0xac)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x4de4cf){const _0x1f7aef=a0_0x3e48cd,_0x164310=_0x4de4cf['find'](_0x2417b7=>_0x2417b7[_0x1f7aef(0x246)]===_0x1f7aef(0x2af)),_0x22794a=_0x4de4cf[_0x1f7aef(0x2af)](_0x4fb5dc=>_0x4fb5dc[_0x1f7aef(0x246)]!==_0x1f7aef(0x2af));return _0x164310?[_0x164310,..._0x22794a]:_0x22794a;}function filterOperationAnalyses(_0x41f2b1,_0x560687={}){const _0x411fc0=a0_0x3e48cd;let _0x44a04a=_0x41f2b1;return!_0x560687[_0x411fc0(0x284)]&&(_0x44a04a=_0x44a04a[_0x411fc0(0x2af)](_0x589a88=>_0x589a88[_0x411fc0(0x12d)])),_0x560687[_0x411fc0(0x1b8)]!==![]&&(_0x44a04a=filterApiOperations(_0x44a04a)),_0x560687[_0x411fc0(0x229)]&&(_0x44a04a=_0x44a04a[_0x411fc0(0x2af)](_0x560687[_0x411fc0(0x229)])),sortOperationsWithFilterFirst(_0x44a04a);}function getOperationStats(_0x347ef1){const _0x5d23ff=a0_0x3e48cd,_0x26ee8d=_0x347ef1['filter'](_0x11e8e8=>_0x11e8e8['enabled']);return{'total':_0x347ef1[_0x5d23ff(0x1f8)],'enabled':_0x26ee8d[_0x5d23ff(0x1f8)],'disabled':_0x347ef1['length']-_0x26ee8d[_0x5d23ff(0x1f8)],'byType':getCountByType(_0x26ee8d),'byMethod':getCountByMethod(_0x26ee8d)};}function getCountByType(_0x1ba694){const _0x316fed={};return _0x1ba694['forEach'](_0x379c5d=>{const _0x41462c=a0_0x23f8;if(_0x379c5d[_0x41462c(0x299)])_0x316fed[_0x379c5d[_0x41462c(0x299)]]=(_0x316fed[_0x379c5d[_0x41462c(0x299)]]||0x0)+0x1;}),_0x316fed;}function getCountByMethod(_0x5b422d){const _0x5f2a08=a0_0x3e48cd,_0x554aa3={};return _0x5b422d[_0x5f2a08(0x194)](_0x13607c=>{const _0x4baf41=_0x5f2a08;_0x554aa3[_0x13607c[_0x4baf41(0x2eb)]]=(_0x554aa3[_0x13607c['method']]||0x0)+0x1;}),_0x554aa3;}function supportsCRUD(_0xe8ea19){const _0xcf0f5d=a0_0x3e48cd,_0x352a28=new Set(_0xe8ea19['map'](_0x247d1a=>_0x247d1a['type'])[_0xcf0f5d(0x2af)](Boolean));return _0x352a28[_0xcf0f5d(0x2b9)](_0xcf0f5d(0x25c))&&_0x352a28['has'](_0xcf0f5d(0x286))&&_0x352a28[_0xcf0f5d(0x2b9)](_0xcf0f5d(0x18c))&&_0x352a28[_0xcf0f5d(0x2b9)]('delete');}function createOperationDocMeta(_0x204a64,_0x24f28f,_0x11a134,_0x49d76d,_0x5453fe,_0xa8f4b7){const _0x4cc6f3=a0_0x3e48cd,_0x51ca98={};return _0x51ca98['useFullExample']=_0xa8f4b7?.[_0x4cc6f3(0x2ad)],{'operation':_0x204a64,'operationInstance':_0x24f28f,'basicInfo':{'name':_0x204a64['name'],'displayName':_0x204a64[_0x4cc6f3(0x252)],'method':_0x204a64[_0x4cc6f3(0x2eb)],'path':_0x204a64['path'],'fullUrl':_0x204a64[_0x4cc6f3(0x1cd)],'enabled':_0x204a64[_0x4cc6f3(0x12d)]},'sdkCall':{'datasetCode':_0x11a134,'datasetSDKKey':_0x49d76d,'tableName':_0x5453fe,'operationName':_0x204a64[_0x4cc6f3(0x246)],'params':_0x204a64[_0x4cc6f3(0x11e)],'code':_0x24f28f[_0x4cc6f3(0x27a)](_0x49d76d,_0x51ca98)},'usageExample':_0x24f28f['generateUsageExample'](_0x49d76d)};}function createOperationsOverviewData(_0x4abec8){const _0x13d41f=a0_0x3e48cd,_0x53feb4={};_0x53feb4[_0x13d41f(0x307)]=_0x13d41f(0x246),_0x53feb4[_0x13d41f(0x140)]=_0x13d41f(0x11b);const _0x1ce6af={};_0x1ce6af['index']='displayName',_0x1ce6af[_0x13d41f(0x140)]='操作名称';const _0x9c17de={};_0x9c17de[_0x13d41f(0x307)]='method',_0x9c17de[_0x13d41f(0x140)]='方法';const _0x25bd15={};_0x25bd15['index']=_0x13d41f(0x302),_0x25bd15[_0x13d41f(0x140)]=_0x13d41f(0x1a9);const _0x271b81={};_0x271b81[_0x13d41f(0x307)]=_0x13d41f(0x1ba),_0x271b81[_0x13d41f(0x140)]=_0x13d41f(0x314);const _0x3d7edc={};_0x3d7edc['index']=_0x13d41f(0x222),_0x3d7edc['label']='完整的\x20SDK\x20调用代码';const _0x12ef40=[_0x53feb4,_0x1ce6af,_0x9c17de,_0x25bd15,_0x271b81,_0x3d7edc],_0x5c5542=_0x4abec8[_0x13d41f(0xac)](_0x37a425=>{const _0x2a7536=_0x13d41f,{basicInfo:_0x299f1e,sdkCall:_0x515a68}=_0x37a425,_0xc7a893=_0x515a68[_0x2a7536(0x22c)][_0x2a7536(0x15d)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,''),_0x4f53f3={};return _0x4f53f3['displayName']=_0x299f1e[_0x2a7536(0x252)],_0x4f53f3['name']=_0x299f1e[_0x2a7536(0x246)],_0x4f53f3[_0x2a7536(0x2eb)]=_0x299f1e[_0x2a7536(0x2eb)],_0x4f53f3['path']=_0x299f1e[_0x2a7536(0x1ba)],_0x4f53f3[_0x2a7536(0x302)]=_0xc7a893,_0x4f53f3[_0x2a7536(0x222)]=_0x515a68['code'],_0x4f53f3;}),_0x26cb98={};return _0x26cb98[_0x13d41f(0x336)]=_0x12ef40,_0x26cb98[_0x13d41f(0x191)]=_0x5c5542,_0x26cb98;}function createDatasetDocMeta(_0x5a1ef0,_0x53afc7,_0x37156e,_0x11fd5a,_0x2e29ac,_0x3fb959,_0xab3646,_0x44abc9,_0x20e155){const _0x100f53=a0_0x3e48cd,_0xe2ef51={};return _0xe2ef51[_0x100f53(0xbb)]=_0x5a1ef0+_0x100f53(0x13d),_0xe2ef51[_0x100f53(0x141)]={},_0xe2ef51[_0x100f53(0x2a1)]=_0x20e155,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x246)]=_0x5a1ef0,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x22c)]=_0x53afc7,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x1fa)]=_0x37156e,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x34d)]=_0x11fd5a,_0xe2ef51[_0x100f53(0x141)]['tableKey']=_0x2e29ac,_0xe2ef51[_0x100f53(0x141)]['source']=_0x3fb959,_0xe2ef51[_0x100f53(0x141)]['fieldCount']=_0xab3646,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x14b)]=0x0,_0xe2ef51[_0x100f53(0x141)]['systemFieldCount']=0x0,_0xe2ef51[_0x100f53(0x141)]['operationCount']=_0x44abc9,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x131)]=_0x20e155[_0x100f53(0x1f8)],_0xe2ef51;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x3e48cd(0x300)];[a0_0x3e48cd(0x2b5)](){return'v1';}[a0_0x3e48cd(0x12c)](){const _0x5e7c25=a0_0x3e48cd;return this[_0x5e7c25(0x198)]();}['getOperationAnalyses'](_0x37efbd=![]){const _0x541ba7=a0_0x3e48cd;if(!_0x37efbd&&this['_operationAnalyses'])return this['_operationAnalyses'];const _0x2edb10=this[_0x541ba7(0x168)]();return this[_0x541ba7(0x300)]=operationsToAnalyses(_0x2edb10),this[_0x541ba7(0x300)];}[a0_0x3e48cd(0x151)](){const _0x5c4c52=a0_0x3e48cd,_0x50dcc4={};return _0x50dcc4['includeDisabled']=![],_0x50dcc4[_0x5c4c52(0x1b8)]=!![],this[_0x5c4c52(0x2d8)](_0x50dcc4);}[a0_0x3e48cd(0x2d8)](_0x27fb9d={}){const _0x237d0d=a0_0x3e48cd;return filterOperationAnalyses(this[_0x237d0d(0x1da)](),_0x27fb9d);}[a0_0x3e48cd(0x2ce)](_0x1f19b1){const _0x58c07e=a0_0x3e48cd;return this[_0x58c07e(0x1da)]()[_0x58c07e(0x8b)](_0x4a32b4=>_0x4a32b4[_0x58c07e(0x246)]===_0x1f19b1);}[a0_0x3e48cd(0x2b1)](_0x2430c0){const _0x35985a=a0_0x3e48cd;return this['getOperationAnalyses']()['filter'](_0x10a7be=>_0x10a7be[_0x35985a(0x299)]===_0x2430c0);}[a0_0x3e48cd(0x97)](_0x468ea8,_0x1d9ee1){const _0x10a4a1=a0_0x3e48cd,_0x205175=this[_0x10a4a1(0x2ce)](_0x468ea8);if(!_0x205175)return null;const _0x45495a=this[_0x10a4a1(0x168)]()[_0x10a4a1(0x8b)](_0x18e9b3=>_0x18e9b3[_0x10a4a1(0xd9)]()===_0x205175[_0x10a4a1(0x246)]);if(!_0x45495a)throw new Error(_0x10a4a1(0x269)+_0x205175[_0x10a4a1(0x246)]);return createOperationDocMeta(_0x205175,_0x45495a,this[_0x10a4a1(0x14c)],this['getDatasetSDKKey'](),this[_0x10a4a1(0x16d)](),_0x1d9ee1);}[a0_0x3e48cd(0xba)](_0x1909ac={}){const _0x44aff5=a0_0x3e48cd,_0x34165d=this[_0x44aff5(0x2d8)](_0x1909ac),_0x566f99=_0x34165d[_0x44aff5(0xac)](_0xe811c8=>this[_0x44aff5(0x97)](_0xe811c8['name']))['filter'](_0x391693=>_0x391693!==null);return createDatasetDocMeta(this['name'],this['datasetCode'],this[_0x44aff5(0x16d)](),this[_0x44aff5(0x325)](),this[_0x44aff5(0x198)](),this['source'],this[_0x44aff5(0x2bd)](),this[_0x44aff5(0x2f5)](),_0x566f99);}[a0_0x3e48cd(0x17f)](_0x283b59){return createOperationsOverviewData(_0x283b59);}['supportsCRUD'](){const _0x215382=a0_0x3e48cd;return supportsCRUD(this[_0x215382(0x151)]());}[a0_0x3e48cd(0x16e)](){const _0x292004=a0_0x3e48cd;return getOperationStats(this[_0x292004(0x1da)]());}[a0_0x3e48cd(0x129)](){const _0x338583=a0_0x3e48cd,_0x3682f2=this[_0x338583(0x16e)]();return _0x338583(0x29a)+this[_0x338583(0x246)]+',\x20'+this['datasetCode']+',\x20'+this['getFieldCount']()+_0x338583(0x329)+_0x3682f2['enabled']+'/'+_0x3682f2['total']+_0x338583(0x1bd);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x3e48cd(0x300)];[a0_0x3e48cd(0x2b5)](){return'v2';}['getModelAlias'](){const _0x258ab8=a0_0x3e48cd;return this[_0x258ab8(0x198)]();}[a0_0x3e48cd(0x1da)](_0xc49440=![]){const _0x3ef418=a0_0x3e48cd;if(!_0xc49440&&this['_operationAnalyses'])return this[_0x3ef418(0x300)];const _0x229595=this[_0x3ef418(0x168)]();return this[_0x3ef418(0x300)]=operationsToAnalyses(_0x229595),this[_0x3ef418(0x300)];}['getEnabledOperationAnalyses'](){const _0x51b727=a0_0x3e48cd,_0x4b4f08={};return _0x4b4f08[_0x51b727(0x284)]=![],_0x4b4f08[_0x51b727(0x1b8)]=!![],this['getFilteredOperationAnalyses'](_0x4b4f08);}[a0_0x3e48cd(0x2d8)](_0x4f4b18={}){const _0x2cd295=a0_0x3e48cd;return filterOperationAnalyses(this[_0x2cd295(0x1da)](),_0x4f4b18);}[a0_0x3e48cd(0x2ce)](_0x46532c){const _0x4e36e0=a0_0x3e48cd;return this[_0x4e36e0(0x1da)]()[_0x4e36e0(0x8b)](_0x4db686=>_0x4db686[_0x4e36e0(0x246)]===_0x46532c);}[a0_0x3e48cd(0x2b1)](_0x30c5fc){const _0xa24bdf=a0_0x3e48cd;return this['getOperationAnalyses']()[_0xa24bdf(0x2af)](_0x59ba65=>_0x59ba65['type']===_0x30c5fc);}[a0_0x3e48cd(0x97)](_0x2c5710,_0x479aab){const _0x119c2a=a0_0x3e48cd,_0x178d85=this[_0x119c2a(0x2ce)](_0x2c5710);if(!_0x178d85)return null;const _0x2db5c3=this[_0x119c2a(0x168)]()[_0x119c2a(0x8b)](_0x29ece5=>_0x29ece5['getName']()===_0x178d85[_0x119c2a(0x246)]);if(!_0x2db5c3)throw new Error(_0x119c2a(0x269)+_0x178d85[_0x119c2a(0x246)]);return createOperationDocMeta(_0x178d85,_0x2db5c3,this[_0x119c2a(0x14c)],this[_0x119c2a(0x325)](),this[_0x119c2a(0x16d)](),_0x479aab);}['getDatasetDocMeta'](_0x368a02={}){const _0x249dcc=a0_0x3e48cd,_0x467ba2=this[_0x249dcc(0x2d8)](_0x368a02),_0x8f1b21=_0x467ba2[_0x249dcc(0xac)](_0x6660c2=>this[_0x249dcc(0x97)](_0x6660c2[_0x249dcc(0x246)]))[_0x249dcc(0x2af)](_0x5b50d4=>_0x5b50d4!==null);return createDatasetDocMeta(this[_0x249dcc(0x246)],this[_0x249dcc(0x14c)],this[_0x249dcc(0x16d)](),this[_0x249dcc(0x325)](),this[_0x249dcc(0x198)](),this[_0x249dcc(0xeb)],this[_0x249dcc(0x2bd)](),this['getOperationCount'](),_0x8f1b21);}[a0_0x3e48cd(0x17f)](_0x4cab41){return createOperationsOverviewData(_0x4cab41);}['supportsCRUD'](){return supportsCRUD(this['getEnabledOperationAnalyses']());}[a0_0x3e48cd(0x16e)](){const _0x1d9cf6=a0_0x3e48cd;return getOperationStats(this[_0x1d9cf6(0x1da)]());}['toString'](){const _0x1c29a7=a0_0x3e48cd,_0x2d397e=this[_0x1c29a7(0x16e)]();return _0x1c29a7(0x2b2)+this[_0x1c29a7(0x246)]+',\x20'+this[_0x1c29a7(0x14c)]+',\x20'+this[_0x1c29a7(0x2bd)]()+_0x1c29a7(0x329)+_0x2d397e[_0x1c29a7(0x12d)]+'/'+_0x2d397e[_0x1c29a7(0x26a)]+_0x1c29a7(0x1a3);}}function detectDatasetVersion3(_0x4b9542){const _0x56904a=a0_0x3e48cd;if(_0x4b9542[_0x56904a(0x2b8)]==='v2'&&_0x56904a(0x16a)in _0x4b9542&&Array[_0x56904a(0x133)](_0x4b9542[_0x56904a(0x16a)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x3e48cd(0x1cc)];constructor(_0x53c3eb){const _0x5d2917=a0_0x3e48cd,_0x2ff1e1=detectDatasetVersion3(_0x53c3eb);return this[_0x5d2917(0x1cc)]=_0x2ff1e1==='v2'?new DrivenDataDetailPlusV2(_0x53c3eb):new DrivenDataDetailPlusV1(_0x53c3eb),new Proxy(this,{'get'(_0x59f062,_0x25280e){const _0xd7b874=_0x5d2917;if(_0x25280e in _0x59f062){const _0x4cdfcf=_0x59f062[_0x25280e];return typeof _0x4cdfcf===_0xd7b874(0x236)?_0x4cdfcf[_0xd7b874(0x101)](_0x59f062):_0x4cdfcf;}if(_0x25280e in _0x59f062[_0xd7b874(0x1cc)]){const _0x3f2153=_0x59f062[_0xd7b874(0x1cc)][_0x25280e];return typeof _0x3f2153===_0xd7b874(0x236)?_0x3f2153['bind'](_0x59f062['_instance']):_0x3f2153;}return;},'set'(_0x14d6b7,_0xda31f5,_0x33c085){return _0x14d6b7[_0xda31f5]=_0x33c085,!![];},'getPrototypeOf'(_0x1668a7){const _0x340583=_0x5d2917;return DrivenDataDetailPlus[_0x340583(0x169)];}});}get[a0_0x3e48cd(0x246)](){const _0x317bdd=a0_0x3e48cd;return this[_0x317bdd(0x1cc)][_0x317bdd(0x246)];}get['id'](){return this['_instance']['id'];}get['datasetCode'](){const _0x2750df=a0_0x3e48cd;return this[_0x2750df(0x1cc)][_0x2750df(0x14c)];}get[a0_0x3e48cd(0xeb)](){const _0x50da21=a0_0x3e48cd;return this[_0x50da21(0x1cc)][_0x50da21(0xeb)];}get[a0_0x3e48cd(0x2aa)](){const _0x22b44c=a0_0x3e48cd;return this[_0x22b44c(0x1cc)]['getDBConfig']();}[a0_0x3e48cd(0x2b5)](){const _0x4c5b3f=a0_0x3e48cd,_0x484cd0=this[_0x4c5b3f(0x1cc)][_0x4c5b3f(0x2b5)]();return _0x484cd0==='v2'?'v2':'v1';}[a0_0x3e48cd(0x2bd)](){const _0xc26ada=a0_0x3e48cd;return this[_0xc26ada(0x1cc)][_0xc26ada(0x2bd)]();}[a0_0x3e48cd(0x2f5)](){const _0x3b6f31=a0_0x3e48cd;return this[_0x3b6f31(0x1cc)][_0x3b6f31(0x2f5)]();}[a0_0x3e48cd(0x2a7)](){const _0x281ebd=a0_0x3e48cd;return this[_0x281ebd(0x1cc)][_0x281ebd(0x2a7)]();}['getOperations'](){const _0x12c49b=a0_0x3e48cd;return this[_0x12c49b(0x1cc)]['getOperations']();}[a0_0x3e48cd(0x340)](_0x2fc3c4){return this['_instance']['getFilteredOperations'](_0x2fc3c4);}[a0_0x3e48cd(0x1ed)](_0x432e5f){const _0x3fafb1=a0_0x3e48cd;return this[_0x3fafb1(0x1cc)][_0x3fafb1(0x1ed)](_0x432e5f);}[a0_0x3e48cd(0x16d)](){const _0x18771d=a0_0x3e48cd;return this[_0x18771d(0x1cc)][_0x18771d(0x16d)]();}[a0_0x3e48cd(0x198)](){const _0x201b33=a0_0x3e48cd;return this[_0x201b33(0x1cc)][_0x201b33(0x198)]();}[a0_0x3e48cd(0x325)](){const _0x384c2b=a0_0x3e48cd;return this['_instance'][_0x384c2b(0x325)]();}['getFieldList'](){const _0x580396=a0_0x3e48cd;return this[_0x580396(0x1cc)][_0x580396(0xa1)]();}[a0_0x3e48cd(0x251)](){const _0x39448e=a0_0x3e48cd;return this[_0x39448e(0x1cc)][_0x39448e(0x251)]();}[a0_0x3e48cd(0x2f4)](){const _0x4ffce2=a0_0x3e48cd;return this[_0x4ffce2(0x1cc)][_0x4ffce2(0x2f4)]();}['isMultipleSelectField'](_0x75ee3b){const _0x152cc9=a0_0x3e48cd;return this[_0x152cc9(0x1cc)]['isMultipleSelectField'](_0x75ee3b);}[a0_0x3e48cd(0x88)](_0x49115){const _0x314fad=a0_0x3e48cd;return this[_0x314fad(0x1cc)][_0x314fad(0x88)](_0x49115);}[a0_0x3e48cd(0x328)](_0x1a91f8){const _0x5cad4b=a0_0x3e48cd;return this[_0x5cad4b(0x1cc)][_0x5cad4b(0x328)](_0x1a91f8);}[a0_0x3e48cd(0x2d7)](_0xf09351){const _0x5d6371=a0_0x3e48cd;return this[_0x5d6371(0x1cc)][_0x5d6371(0x2d7)](_0xf09351);}[a0_0x3e48cd(0x32e)](_0x30a760){const _0xef747f=a0_0x3e48cd;return this[_0xef747f(0x1cc)][_0xef747f(0x32e)](_0x30a760);}[a0_0x3e48cd(0x2c0)](_0x1d4c5d,_0x27c793){const _0x4de62=a0_0x3e48cd;return this[_0x4de62(0x1cc)]['validateEnumValue'](_0x1d4c5d,_0x27c793);}['isRequiredField'](_0x11afe1){const _0x2a6aad=a0_0x3e48cd;return this['_instance'][_0x2a6aad(0x174)](_0x11afe1);}['getStats'](){return this['_instance']['getStats']();}[a0_0x3e48cd(0x20f)](){const _0x3e9b7c=a0_0x3e48cd;return this['_instance'][_0x3e9b7c(0x20f)]();}[a0_0x3e48cd(0x1fc)](){const _0x1c3209=a0_0x3e48cd;return this[_0x1c3209(0x1cc)][_0x1c3209(0x1fc)]();}[a0_0x3e48cd(0x2dd)](_0xe0dd62){const _0x507a83=a0_0x3e48cd;return this[_0x507a83(0x1cc)][_0x507a83(0x2dd)](_0xe0dd62);}['getDBConfig'](){const _0x38ebea=a0_0x3e48cd;return this[_0x38ebea(0x1cc)][_0x38ebea(0x160)]();}[a0_0x3e48cd(0x2e7)](){const _0x4902e0=a0_0x3e48cd;return this[_0x4902e0(0x1cc)]['getRawDbtableConfig']();}[a0_0x3e48cd(0x12e)](){const _0x133557=a0_0x3e48cd;return this[_0x133557(0x1cc)][_0x133557(0x12e)]();}['getOperationAnalyses'](_0x31e04d){const _0x52f54b=a0_0x3e48cd;return this[_0x52f54b(0x1cc)][_0x52f54b(0x1da)](_0x31e04d);}[a0_0x3e48cd(0x151)](){const _0x3022fe=a0_0x3e48cd;return this[_0x3022fe(0x1cc)][_0x3022fe(0x151)]();}[a0_0x3e48cd(0x2d8)](_0x8f388c){return this['_instance']['getFilteredOperationAnalyses'](_0x8f388c);}[a0_0x3e48cd(0x2ce)](_0x487198){const _0x1072f9=a0_0x3e48cd;return this[_0x1072f9(0x1cc)]['getOperationAnalysis'](_0x487198);}[a0_0x3e48cd(0x2b1)](_0x11b596){const _0x172a62=a0_0x3e48cd;return this[_0x172a62(0x1cc)][_0x172a62(0x2b1)](_0x11b596);}[a0_0x3e48cd(0x97)](_0x6fa064,_0xe78bc){const _0x1f06f3=a0_0x3e48cd;return this[_0x1f06f3(0x1cc)][_0x1f06f3(0x97)](_0x6fa064,_0xe78bc);}[a0_0x3e48cd(0xba)](_0x3f00b2){const _0x14c5cf=a0_0x3e48cd;return this['_instance'][_0x14c5cf(0xba)](_0x3f00b2);}['getOperationsOverviewData'](_0x5922f5){const _0x4152ff=a0_0x3e48cd;return this[_0x4152ff(0x1cc)]['getOperationsOverviewData'](_0x5922f5);}[a0_0x3e48cd(0x12c)](){const _0x33524b=a0_0x3e48cd;return this[_0x33524b(0x1cc)]['getModelAlias']();}[a0_0x3e48cd(0x183)](){const _0x51c77b=a0_0x3e48cd;return this[_0x51c77b(0x1cc)][_0x51c77b(0x183)]();}[a0_0x3e48cd(0x16e)](){const _0x21df31=a0_0x3e48cd;return this[_0x21df31(0x1cc)][_0x21df31(0x16e)]();}[a0_0x3e48cd(0x129)](){const _0x29c4ec=a0_0x3e48cd;return this[_0x29c4ec(0x1cc)][_0x29c4ec(0x129)]();}['getOperation'](_0x252aef){const _0x53e597=a0_0x3e48cd;return this[_0x53e597(0x1cc)][_0x53e597(0x1df)](_0x252aef);}['getSDKInitData'](_0x563309){const _0x3cbaa7=a0_0x3e48cd;return this[_0x3cbaa7(0x1cc)][_0x3cbaa7(0xd7)](_0x563309);}['generateSDKInitCode'](_0x6df121,_0x4b57a9,_0x11937f){const _0x1339d4=a0_0x3e48cd;return this[_0x1339d4(0x1cc)][_0x1339d4(0x1cb)](_0x6df121,_0x4b57a9,_0x11937f);}['generateFullSDKExample'](_0x364769,_0x4d971d,_0x3edf57){const _0x828d27=a0_0x3e48cd;return this[_0x828d27(0x1cc)]['generateFullSDKExample'](_0x364769,_0x4d971d,_0x3edf57);}[a0_0x3e48cd(0x227)](_0x305dd6){const _0x43cbab=a0_0x3e48cd;return this[_0x43cbab(0x1cc)]['generateAllOperationsFullSDKExample'](_0x305dd6);}[a0_0x3e48cd(0x2e1)](_0x5c5e62){const _0xaaf5ab=a0_0x3e48cd;return this[_0xaaf5ab(0x1cc)][_0xaaf5ab(0x2e1)](_0x5c5e62);}[a0_0x3e48cd(0x1aa)](_0x480547){const _0x1c4915=a0_0x3e48cd;return this[_0x1c4915(0x1cc)]['generateAllOperationsSummary'](_0x480547);}[a0_0x3e48cd(0xf7)](_0x56caa4){const _0x7fb17c=a0_0x3e48cd;return this[_0x7fb17c(0x1cc)][_0x7fb17c(0xf7)](_0x56caa4);}['getMissingCRUDOperations'](){const _0xae1925=a0_0x3e48cd;return this[_0xae1925(0x1cc)][_0xae1925(0x2d2)]();}[a0_0x3e48cd(0x8c)](){const _0x244b6d=a0_0x3e48cd;return this[_0x244b6d(0x1cc)][_0x244b6d(0x8c)]();}[a0_0x3e48cd(0x8e)](){const _0x14dddd=a0_0x3e48cd;return this[_0x14dddd(0x1cc)];}}function createDrivenDataDetailPlus(_0x4a8a4e,_0x84516b={}){const _0x47bbec=a0_0x3e48cd;if(_0x84516b['forceVersion']==='v1')return new DrivenDataDetailPlusV1(_0x4a8a4e);if(_0x84516b[_0x47bbec(0x337)]==='v2')return new DrivenDataDetailPlusV2(_0x4a8a4e);if(_0x4a8a4e[_0x47bbec(0x2b8)]==='v2'||_0x47bbec(0x280)in _0x4a8a4e)return new DrivenDataDetailPlusV2(_0x4a8a4e);return new DrivenDataDetailPlusV1(_0x4a8a4e);}function isPlusV2Instance(_0x454caa){return _0x454caa['getVersion']()==='v2';}function isPlusV1Instance(_0xc9c598){return _0xc9c598['getVersion']()==='v1';}var VERSION=a0_0x3e48cd(0x122);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};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { GenericOperation } from './GenericOperation.js';
|
|
2
|
+
export declare class BatchCreateOperation extends GenericOperation {
|
|
3
|
+
generateRequestExample(): Record<string, unknown>;
|
|
4
|
+
private generateArrayHTTPExample;
|
|
5
|
+
private generateItemsWrapperExample;
|
|
6
|
+
generateHTTPExample(): Record<string, unknown>;
|
|
7
|
+
generateRequestAllExamples(): Array<{
|
|
8
|
+
title: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
data: Record<string, unknown>;
|
|
11
|
+
}>;
|
|
12
|
+
generateSDKCallCode(modelKey: string, options?: {
|
|
13
|
+
useFullExample?: boolean;
|
|
14
|
+
indent?: string;
|
|
15
|
+
}): string;
|
|
16
|
+
private generateItemExample;
|
|
17
|
+
private getFieldTypeFromDefinition;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=BatchCreateOperation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/BatchCreateOperation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,qBAAa,oBAAqB,SAAQ,gBAAgB;IAE/C,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAoB1D,OAAO,CAAC,wBAAwB;IAMhC,OAAO,CAAC,2BAA2B;IA2B1B,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAQ9C,0BAA0B,IAAI,KAAK,CAAC;QAC3C,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC;IAgBO,mBAAmB,CAC1B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GACA,MAAM;IA4BT,OAAO,CAAC,mBAAmB;IAyB3B,OAAO,CAAC,0BAA0B;CAanC"}
|
|
@@ -58,6 +58,15 @@ export declare abstract class Operation {
|
|
|
58
58
|
* 子类可以 override 以提供 HTTP 平铺格式(如 UpdateOperation)
|
|
59
59
|
*/
|
|
60
60
|
generateHTTPExample(): Record<string, unknown>;
|
|
61
|
+
/**
|
|
62
|
+
* 生成所有请求示例列表
|
|
63
|
+
* 默认返回单个示例,子类可以重写返回多个示例
|
|
64
|
+
*/
|
|
65
|
+
generateRequestAllExamples(): Array<{
|
|
66
|
+
title: string;
|
|
67
|
+
description?: string;
|
|
68
|
+
data: Record<string, unknown>;
|
|
69
|
+
}>;
|
|
61
70
|
/**
|
|
62
71
|
* 生成响应示例数据
|
|
63
72
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/Operation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,iCAAiC,CAAC;AAKzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EACV,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,8BAAsB,SAAS;IAC7B,WAAW;IACX,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAChC,WAAW;IACX,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,GAAG,KAAK,CAAC;IACzD,UAAU;IACV,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;gBAEjC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB;IAQrE,aAAa;IACb,OAAO,IAAI,MAAM;IAIjB,aAAa;IACb,cAAc,IAAI,MAAM;IAIxB,aAAa;IACb,OAAO,IAAI,oBAAoB,GAAG,SAAS;IAI3C,WAAW;IACX,SAAS,IAAI,OAAO;IAMpB,aAAa;IACb,SAAS,IAAI,MAAM;IAQnB,gBAAgB;IAChB,OAAO,IAAI,MAAM;IAQjB,eAAe;IACf,UAAU,IAAI,MAAM;IAYpB,cAAc;IACd,SAAS,CAAC,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAYxD,cAAc;IACd,SAAS,CAAC,oBAAoB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAUhE;;OAEG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI3C;;OAEG;IACH,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAInD;;OAEG;IACH,gBAAgB,IAAI,MAAM,EAAE;IAO5B;;;OAGG;IACH,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAcjD;;;;OAIG;IACH,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI9C;;OAEG;IACH,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAgBlD;;OAEG;IACH,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO;IA6BtE;;OAEG;IACH,SAAS,CAAC,oBAAoB,CAC5B,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,OAAO,CAAA;KAAE,GACzD,OAAO;IAMV;;OAEG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GACvD,MAAM;IAKT;;OAEG;IACH,oBAAoB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE;IAgBnF;;OAEG;IACH,uBAAuB,IAAI,oBAAoB;IAiB/C;;OAEG;IACH,wBAAwB,IAAI,oBAAoB;IAsBhD;;;;;;OAMG;IACH,eAAe,IAAI,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAI7E;;;;;;OAMG;IACH,iBAAiB,IAAI,cAAc,EAAE;IAIrC;;;;;OAKG;IACH,YAAY,IAAI;QACd,YAAY,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QACzE,cAAc,EAAE,cAAc,EAAE,CAAC;KAClC;IASD;;OAEG;IACH,SAAS,CAAC,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAI3E;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAIrD;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAIrD;;OAEG;IACH,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAI5D;;OAEG;IACH,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAI5D;;OAEG;IACH,SAAS,CAAC,eAAe,CACvB,KAAK,EAAE,cAAc,GACpB,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI;IAI1D;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO;IAI3D;;;OAGG;IACH,YAAY,IAAI,SAAS,MAAM,EAAE;IAIjC;;OAEG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE;IAI/C;;OAEG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAejC;;OAEG;IACH,QAAQ,IAAI,MAAM;CAInB"}
|
|
1
|
+
{"version":3,"file":"Operation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/Operation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,iCAAiC,CAAC;AAKzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EACV,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,8BAAsB,SAAS;IAC7B,WAAW;IACX,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAChC,WAAW;IACX,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,GAAG,KAAK,CAAC;IACzD,UAAU;IACV,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;gBAEjC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB;IAQrE,aAAa;IACb,OAAO,IAAI,MAAM;IAIjB,aAAa;IACb,cAAc,IAAI,MAAM;IAIxB,aAAa;IACb,OAAO,IAAI,oBAAoB,GAAG,SAAS;IAI3C,WAAW;IACX,SAAS,IAAI,OAAO;IAMpB,aAAa;IACb,SAAS,IAAI,MAAM;IAQnB,gBAAgB;IAChB,OAAO,IAAI,MAAM;IAQjB,eAAe;IACf,UAAU,IAAI,MAAM;IAYpB,cAAc;IACd,SAAS,CAAC,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAYxD,cAAc;IACd,SAAS,CAAC,oBAAoB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAUhE;;OAEG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI3C;;OAEG;IACH,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAInD;;OAEG;IACH,gBAAgB,IAAI,MAAM,EAAE;IAO5B;;;OAGG;IACH,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAcjD;;;;OAIG;IACH,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI9C;;;OAGG;IACH,0BAA0B,IAAI,KAAK,CAAC;QAClC,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC;IASF;;OAEG;IACH,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAgBlD;;OAEG;IACH,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO;IA6BtE;;OAEG;IACH,SAAS,CAAC,oBAAoB,CAC5B,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,OAAO,CAAA;KAAE,GACzD,OAAO;IAMV;;OAEG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GACvD,MAAM;IAKT;;OAEG;IACH,oBAAoB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE;IAgBnF;;OAEG;IACH,uBAAuB,IAAI,oBAAoB;IAiB/C;;OAEG;IACH,wBAAwB,IAAI,oBAAoB;IAsBhD;;;;;;OAMG;IACH,eAAe,IAAI,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAI7E;;;;;;OAMG;IACH,iBAAiB,IAAI,cAAc,EAAE;IAIrC;;;;;OAKG;IACH,YAAY,IAAI;QACd,YAAY,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QACzE,cAAc,EAAE,cAAc,EAAE,CAAC;KAClC;IASD;;OAEG;IACH,SAAS,CAAC,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAI3E;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAIrD;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAIrD;;OAEG;IACH,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAI5D;;OAEG;IACH,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAI5D;;OAEG;IACH,SAAS,CAAC,eAAe,CACvB,KAAK,EAAE,cAAc,GACpB,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI;IAI1D;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO;IAI3D;;;OAGG;IACH,YAAY,IAAI,SAAS,MAAM,EAAE;IAIjC;;OAEG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE;IAI/C;;OAEG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAejC;;OAEG;IACH,QAAQ,IAAI,MAAM;CAInB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationFactory.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/OperationFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"OperationFactory.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/OperationFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAUlE;;;GAGG;AACH,qBAAa,gBAAgB;IAC3B;;;;;;OAMG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB,GAAG,SAAS;IAsC5E;;;;;OAKG;IACH,SAAS,CACP,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACvC,OAAO,EAAE,gBAAgB,GACxB,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC;CAS1B"}
|
|
@@ -7,6 +7,7 @@ import type { FieldDefinition, FieldExtendConfig } from '../../types/index.js';
|
|
|
7
7
|
* 数据集操作类型枚举
|
|
8
8
|
*/
|
|
9
9
|
export declare enum DatasetOperationType {
|
|
10
|
+
FILTER = "filter",
|
|
10
11
|
GET_LIST = "getList",
|
|
11
12
|
GET_ONE = "getOne",
|
|
12
13
|
GET_ONE_ORIGIN = "getOneOrigin",
|
|
@@ -21,6 +22,7 @@ export declare enum DatasetOperationType {
|
|
|
21
22
|
GET_UPLOAD_FILE_SCRIPT = "getUploadFileScript",
|
|
22
23
|
CREATE_IMPORT = "createImport",
|
|
23
24
|
CREATE_EXPORT = "createExport",
|
|
25
|
+
AGGREGATE = "aggregate",
|
|
24
26
|
TASK_INFO = "taskInfo",
|
|
25
27
|
IMPORT_TEMPLATE = "importTemplate"
|
|
26
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/plus/field-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE/E;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,QAAQ,YAAY;IACpB,OAAO,WAAW;IAClB,cAAc,iBAAiB;IAC/B,cAAc,iBAAiB;IAC/B,MAAM,WAAW;IACjB,YAAY,gBAAgB;IAC5B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,kBAAkB,qBAAqB;IACvC,YAAY,eAAe;IAC3B,YAAY,gBAAgB;IAC5B,sBAAsB,wBAAwB;IAC9C,aAAa,iBAAiB;IAC9B,aAAa,iBAAiB;IAC9B,SAAS,aAAa;IACtB,eAAe,mBAAmB;CACnC;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"field-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/plus/field-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE/E;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,MAAM,WAAW;IACjB,QAAQ,YAAY;IACpB,OAAO,WAAW;IAClB,cAAc,iBAAiB;IAC/B,cAAc,iBAAiB;IAC/B,MAAM,WAAW;IACjB,YAAY,gBAAgB;IAC5B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,kBAAkB,qBAAqB;IACvC,YAAY,eAAe;IAC3B,YAAY,gBAAgB;IAC5B,sBAAsB,wBAAwB;IAC9C,aAAa,iBAAiB;IAC9B,aAAa,iBAAiB;IAC9B,SAAS,cAAc;IACvB,SAAS,aAAa;IACtB,eAAe,mBAAmB;CACnC;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAmB5E,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,UAWzB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,iBAAiB,CA0B1E;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAanF;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAG7D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAG/D;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGpE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGjE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGjE;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAgBtD,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQrD;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAgBxE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAmBlF;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,eAAe,EACtB,aAAa,EAAE,oBAAoB,EACnC,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAyDT;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,eAAe,EAAE,EACzB,aAAa,EAAE,oBAAoB,EACnC,OAAO,CAAC,EAAE,MAAM,GACf,eAAe,EAAE,CAQnB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAQ/D;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAQpF"}
|