@lovrabet/dsparser 1.3.10 → 1.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const a0_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_0x302a2e=a0_0x14b3;(function(_0x200ad3,_0x41160f){const _0x1e3dcb=a0_0x14b3,_0x12a6ca=_0x200ad3();while(!![]){try{const _0x439f7f=-parseInt(_0x1e3dcb(0x2c5))/0x1*(parseInt(_0x1e3dcb(0x344))/0x2)+-parseInt(_0x1e3dcb(0x36f))/0x3+parseInt(_0x1e3dcb(0x19e))/0x4*(-parseInt(_0x1e3dcb(0x3ee))/0x5)+-parseInt(_0x1e3dcb(0x311))/0x6+parseInt(_0x1e3dcb(0x35d))/0x7*(-parseInt(_0x1e3dcb(0x3ce))/0x8)+-parseInt(_0x1e3dcb(0x1aa))/0x9*(parseInt(_0x1e3dcb(0x1d8))/0xa)+-parseInt(_0x1e3dcb(0x2a5))/0xb*(-parseInt(_0x1e3dcb(0x2fa))/0xc);if(_0x439f7f===_0x41160f)break;else _0x12a6ca['push'](_0x12a6ca['shift']());}catch(_0xd83b85){_0x12a6ca['push'](_0x12a6ca['shift']());}}}(a0_0x1c7a,0x57c21));function toCamelCase(_0x4c75c8){const _0x99d32a=a0_0x14b3;if(!_0x4c75c8)return'';return _0x4c75c8[_0x99d32a(0x26b)](/[_-]/)[_0x99d32a(0x29c)]((_0x400557,_0x584ffd)=>{const _0xc1cb5c=_0x99d32a;if(_0x584ffd===0x0)return _0x400557[_0xc1cb5c(0x298)]();return _0x400557[_0xc1cb5c(0x2bb)](0x0)[_0xc1cb5c(0x2b1)]()+_0x400557[_0xc1cb5c(0x252)](0x1)[_0xc1cb5c(0x298)]();})[_0x99d32a(0x35e)]('');}function toPascalCase(_0x143975){const _0x1d0fcb=a0_0x14b3;if(!_0x143975)return'';const _0x10571f=toCamelCase(_0x143975);return _0x10571f['charAt'](0x0)[_0x1d0fcb(0x2b1)]()+_0x10571f[_0x1d0fcb(0x252)](0x1);}function toSnakeCase(_0x2fdd51){const _0x8d930b=a0_0x14b3;if(!_0x2fdd51)return'';return _0x2fdd51[_0x8d930b(0x213)](/([A-Z])/g,_0x8d930b(0x3c0))[_0x8d930b(0x298)]()[_0x8d930b(0x213)](/^_/,'');}function toKebabCase(_0x1ce247){const _0x56bdb8=a0_0x14b3;if(!_0x1ce247)return'';return _0x1ce247[_0x56bdb8(0x213)](/([A-Z])/g,_0x56bdb8(0x217))[_0x56bdb8(0x298)]()[_0x56bdb8(0x213)](/^-/,'');}function normalizeFieldName(_0x41c0d3){const _0x3bb2b3=a0_0x14b3;if(!_0x41c0d3)return'';return _0x41c0d3[_0x3bb2b3(0x401)]()[_0x3bb2b3(0x213)](/\s+/g,'_')[_0x3bb2b3(0x213)](/[^a-zA-Z0-9_]/g,'_')[_0x3bb2b3(0x213)](/_+/g,'_')['replace'](/^_|_$/g,'');}function getTableName(_0x34fdcd){const _0x598022=a0_0x14b3;if(!_0x34fdcd)return _0x598022(0x303);if(_0x34fdcd[_0x598022(0x1e9)]?.[_0x598022(0x1b6)])return _0x34fdcd[_0x598022(0x1e9)][_0x598022(0x1b6)];const _0x5a8881=_0x34fdcd[_0x598022(0x357)]||_0x34fdcd[_0x598022(0x218)]||_0x34fdcd[_0x598022(0x22b)];if(_0x5a8881)return generateTableNameFromCode(_0x5a8881);return _0x598022(0x303);}function getTableKey(_0x39c242){const _0x51e32d=a0_0x14b3;if(typeof _0x39c242===_0x51e32d(0x28b))return toCamelCase(_0x39c242);const _0x29bc00=getTableName(_0x39c242);return toCamelCase(_0x29bc00);}function generateTableNameFromCode(_0x100b60){const _0x59c518=a0_0x14b3;if(!_0x100b60)return _0x59c518(0x303);const _0x34ea7f=_0x100b60[_0x59c518(0x252)](-0x6)['padStart'](0x6,'0');return _0x59c518(0x319)+_0x34ea7f;}function isVirtualTableName(_0x53958a){const _0x257d32=a0_0x14b3;return/^dataset_[a-zA-Z0-9]{6}$/[_0x257d32(0x2a8)](_0x53958a);}function generateModelKeyFromCode(_0x57986f){const _0x989586=a0_0x14b3;if(!_0x57986f)return _0x989586(0x152);return _0x989586(0x319)+_0x57986f;}function getDbName(_0x40c4db){const _0x36330d=a0_0x14b3;return _0x40c4db[_0x36330d(0x1e9)]?.[_0x36330d(0x37a)]||_0x40c4db[_0x36330d(0x1e9)]?.[_0x36330d(0x1d3)]?.['dbName']||'';}function generateDatasetsConfig(_0xe04961,_0x4a2767={}){const _0x114ae9=a0_0x14b3,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x5a577c,filter:_0x254a7c}=_0x4a2767,_0x591bbf=_0x254a7c?_0xe04961['filter'](_0x254a7c):_0xe04961,_0x2cedaf=new Map();for(const _0x172b5e of _0x591bbf){const _0x5e0332=getTableName(_0x172b5e),_0x42c427=getDbName(_0x172b5e);!_0x2cedaf[_0x114ae9(0x14c)](_0x5e0332)&&_0x2cedaf[_0x114ae9(0x2c3)](_0x5e0332,new Set()),_0x2cedaf['get'](_0x5e0332)['add'](_0x42c427);}const _0x44515b=new Set();for(const [_0x49940b,_0x15cbc4]of _0x2cedaf){_0x15cbc4[_0x114ae9(0x170)]>0x1&&_0x44515b[_0x114ae9(0x3e0)](_0x49940b);}const _0x490e3b={},_0x4fea2e=new Set();for(const _0x40f051 of _0x591bbf){const _0x4bbf04=getTableName(_0x40f051);if(enableDeduplication&&_0x4fea2e[_0x114ae9(0x14c)](_0x4bbf04)){console[_0x114ae9(0x3c9)](_0x114ae9(0x3e4)+_0x4bbf04+'\x22,数据集:\x20'+_0x40f051[_0x114ae9(0x3f0)]+'\x20('+_0x40f051[_0x114ae9(0x357)]+')');continue;}_0x4fea2e['add'](_0x4bbf04);const _0x506648=_0x5a577c?_0x5a577c(_0x4bbf04,_0x40f051):getTableKey(_0x4bbf04),_0x46399b=getDbName(_0x40f051),_0x54910d=_0x44515b[_0x114ae9(0x14c)](_0x4bbf04)&&_0x46399b?getTableKey(_0x46399b)+'_'+_0x506648:_0x506648;_0x490e3b[_0x506648]={'key':_0x506648,'alias':_0x54910d,'tableName':_0x4bbf04,'datasetCode':_0x40f051[_0x114ae9(0x357)],'name':_0x40f051[_0x114ae9(0x3f0)],'id':_0x40f051['id'],'dbName':_0x46399b};}return _0x490e3b;}function generateFullDatasetsConfig(_0x4a6a3c,_0x237366={}){const _0x5dd422=a0_0x14b3,{filter:_0x469751,datasetNameGenerator:_0x353662}=_0x237366,_0x206189=_0x469751?_0x4a6a3c[_0x5dd422(0x1a8)](_0x469751):_0x4a6a3c,_0x6aa34e=new Map();for(const _0x3feea9 of _0x206189){const _0x14c50f=getTableName(_0x3feea9),_0x1678ef=getDbName(_0x3feea9);!_0x6aa34e['has'](_0x14c50f)&&_0x6aa34e['set'](_0x14c50f,new Set()),_0x6aa34e['get'](_0x14c50f)[_0x5dd422(0x3e0)](_0x1678ef);}const _0x25f9bd=new Set();for(const [_0x28888f,_0x2409d1]of _0x6aa34e){_0x2409d1[_0x5dd422(0x170)]>0x1&&_0x25f9bd[_0x5dd422(0x3e0)](_0x28888f);}const _0x55eefd=groupByTableName(_0x206189),_0x213a93={};for(const [_0x46a946,_0x569585]of Object[_0x5dd422(0x323)](_0x55eefd)){if(_0x569585[_0x5dd422(0x356)]===0x1){const _0x14b727=_0x569585[0x0],_0x463091=_0x353662?_0x353662(_0x46a946,_0x14b727):getTableKey(_0x46a946),_0x55f9bc=getDbName(_0x14b727),_0x26d3ea=_0x25f9bd[_0x5dd422(0x14c)](_0x46a946)&&_0x55f9bc?getTableKey(_0x55f9bc)+'_'+_0x463091:_0x463091;_0x213a93[_0x463091]={'key':_0x463091,'alias':_0x26d3ea,'tableName':_0x46a946,'datasetCode':_0x14b727[_0x5dd422(0x357)],'name':_0x14b727[_0x5dd422(0x3f0)],'id':_0x14b727['id'],'dbName':_0x55f9bc};}else{const _0x137828=[..._0x569585][_0x5dd422(0x353)]((_0x440c3b,_0x4b7ad7)=>{const _0x38cf3f=Number(_0x440c3b['id'])||0x0,_0x5bfa22=Number(_0x4b7ad7['id'])||0x0;return _0x5bfa22-_0x38cf3f;});_0x137828[_0x5dd422(0x2ab)]((_0x315309,_0x4a2638)=>{const _0x4c2705=_0x5dd422,_0x194578=_0x353662?_0x353662(_0x46a946,_0x315309):getTableKey(_0x46a946),_0xf469e4=_0x4a2638===0x0?_0x194578:_0x194578+'_'+_0x4a2638,_0x43f5c9=getDbName(_0x315309),_0x262bb0=_0x25f9bd[_0x4c2705(0x14c)](_0x46a946)&&_0x43f5c9?getTableKey(_0x43f5c9)+'_'+_0xf469e4:_0xf469e4;_0x213a93[_0xf469e4]={'key':_0xf469e4,'alias':_0x262bb0,'tableName':_0x46a946,'datasetCode':_0x315309[_0x4c2705(0x357)],'name':_0x315309[_0x4c2705(0x3f0)],'id':_0x315309['id'],'dbName':_0x43f5c9};});}}return _0x213a93;}function detectTableNameConflicts(_0x57d206){const _0xc8ff3f=a0_0x14b3,_0x4d74ea={};for(const _0xdd7997 of _0x57d206){const _0x560fa3=getTableName(_0xdd7997);!_0x4d74ea[_0x560fa3]&&(_0x4d74ea[_0x560fa3]=[]),_0x4d74ea[_0x560fa3][_0xc8ff3f(0x3a6)](_0xdd7997);}const _0x4d4084={};for(const [_0x50ad21,_0xe13152]of Object[_0xc8ff3f(0x323)](_0x4d74ea)){_0xe13152[_0xc8ff3f(0x356)]>0x1&&(_0x4d4084[_0x50ad21]=_0xe13152);}return{'hasConflicts':Object[_0xc8ff3f(0x2b6)](_0x4d4084)[_0xc8ff3f(0x356)]>0x0,'conflicts':_0x4d4084};}function createDatasetNameMap(_0x5e48a4){const _0x17d0f2=a0_0x14b3,_0x35bdf1={};for(const [_0x1024d6,_0xbeeb7a]of Object[_0x17d0f2(0x323)](_0x5e48a4)){_0x35bdf1[_0x1024d6]=_0xbeeb7a[_0x17d0f2(0x357)]||'';}return _0x35bdf1;}function groupByTableName(_0x9c1820){const _0x40ce21=a0_0x14b3,_0x5a27a1={};for(const _0x1c5d4e of _0x9c1820){const _0x2cc515=getTableName(_0x1c5d4e);!_0x5a27a1[_0x2cc515]&&(_0x5a27a1[_0x2cc515]=[]),_0x5a27a1[_0x2cc515][_0x40ce21(0x3a6)](_0x1c5d4e);}return _0x5a27a1;}function datasetsConfigToArray(_0x78bd42){return Object['values'](_0x78bd42);}function adaptDrivenDataDetail(_0x4611fe){const _0x1a3446=a0_0x14b3,_0x2ab695={};return _0x2ab695['id']=_0x4611fe['modelId'],_0x2ab695[_0x1a3446(0x3f0)]=_0x4611fe[_0x1a3446(0x3f0)],_0x2ab695['datasetCode']=_0x4611fe['modelCode'],_0x2ab695[_0x1a3446(0x1e9)]=_0x4611fe[_0x1a3446(0x1e9)],_0x2ab695['source']=_0x4611fe[_0x1a3446(0x246)],_0x2ab695[_0x1a3446(0x227)]=_0x4611fe[_0x1a3446(0x227)],_0x2ab695[_0x1a3446(0x327)]=_0x4611fe['extend'],_0x2ab695[_0x1a3446(0x404)]=_0x4611fe[_0x1a3446(0x404)],_0x2ab695[_0x1a3446(0x1af)]=_0x4611fe[_0x1a3446(0x1af)],_0x2ab695;}function adaptDrivenDataDetails(_0x311c56){const _0x3f7986=a0_0x14b3;return _0x311c56[_0x3f7986(0x29c)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x3f9466){const _0x30c1ec=a0_0x14b3;if(!_0x3f9466[_0x30c1ec(0x263)]||!_0x3f9466[_0x30c1ec(0x179)])throw new Error(_0x30c1ec(0x2f8)+(_0x3f9466[_0x30c1ec(0x165)]||_0x3f9466[_0x30c1ec(0x2ca)]));return adaptDrivenDataDetail(_0x3f9466[_0x30c1ec(0x179)]);}function extractDatasetsFromListResponse(_0x3154ff){const _0x57a39c=a0_0x14b3;if(!_0x3154ff[_0x57a39c(0x263)]||!_0x3154ff['data']?.[_0x57a39c(0x38f)])throw new Error(_0x57a39c(0x295)+(_0x3154ff[_0x57a39c(0x165)]||_0x3154ff[_0x57a39c(0x2ca)]));return _0x3154ff['data']['tableData'][_0x57a39c(0x29c)](_0x59eaec=>({..._0x59eaec,'datasetCode':_0x59eaec[_0x57a39c(0x218)]||_0x59eaec['datasetCode']}));}function isDrivenDataDetail(_0x22eb61){const _0x1a3599=a0_0x14b3;return Boolean(_0x22eb61&&typeof _0x22eb61[_0x1a3599(0x22b)]===_0x1a3599(0x28b));}function smartAdapt(_0x1c4f7b){const _0x1cb2ba=a0_0x14b3;if(isDrivenDataDetail(_0x1c4f7b))return adaptDrivenDataDetail(_0x1c4f7b);if(_0x1c4f7b[_0x1cb2ba(0x357)])return _0x1c4f7b;if(_0x1c4f7b['code']){const _0x33d801={..._0x1c4f7b};return _0x33d801['datasetCode']=_0x1c4f7b['code'],_0x33d801;}return _0x1c4f7b;}function cleanNewlines(_0x1a49b6){const _0x3fc639=a0_0x14b3;return _0x1a49b6['replace'](/[\r\n]+/g,'\x20')[_0x3fc639(0x401)]();}function cleanDatasetName(_0x558071){const _0x34e0a8=a0_0x14b3;if(!_0x558071[_0x34e0a8(0x3f0)])return _0x558071;return{..._0x558071,'name':cleanNewlines(_0x558071[_0x34e0a8(0x3f0)])};}function cleanDatasetNames(_0x409e7b){const _0x571d09=a0_0x14b3;return _0x409e7b[_0x571d09(0x29c)](cleanDatasetName);}var DatasetOperationType;(_0x1b5bd4=>{const _0x3aa73a=a0_0x14b3;_0x1b5bd4['FILTER']=_0x3aa73a(0x1a8),_0x1b5bd4[_0x3aa73a(0x226)]=_0x3aa73a(0x2fd),_0x1b5bd4['GET_ONE']='getOne',_0x1b5bd4['GET_ONE_ORIGIN']=_0x3aa73a(0x31d),_0x1b5bd4['GET_ONE_UPDATE']='getOneUpdate',_0x1b5bd4[_0x3aa73a(0x387)]=_0x3aa73a(0x289),_0x1b5bd4['BATCH_CREATE']=_0x3aa73a(0x304),_0x1b5bd4[_0x3aa73a(0x1d6)]=_0x3aa73a(0x231),_0x1b5bd4[_0x3aa73a(0x1c0)]=_0x3aa73a(0x253),_0x1b5bd4[_0x3aa73a(0x245)]=_0x3aa73a(0x2d9),_0x1b5bd4[_0x3aa73a(0x2ea)]='getFileUrl',_0x1b5bd4['EXCEL_EXPORT']=_0x3aa73a(0x1ad),_0x1b5bd4[_0x3aa73a(0x236)]=_0x3aa73a(0x33d),_0x1b5bd4[_0x3aa73a(0x3db)]=_0x3aa73a(0x1ba),_0x1b5bd4['CREATE_EXPORT']=_0x3aa73a(0x267),_0x1b5bd4['AGGREGATE']='aggregate',_0x1b5bd4['TASK_INFO']=_0x3aa73a(0x1e4),_0x1b5bd4[_0x3aa73a(0x18f)]='importTemplate';})(DatasetOperationType||={});const a0_0xdead5d={};a0_0xdead5d[a0_0x302a2e(0x1a8)]=a0_0x302a2e(0x1dd),a0_0xdead5d[a0_0x302a2e(0x2fd)]='查询列表',a0_0xdead5d[a0_0x302a2e(0x287)]=a0_0x302a2e(0x25d),a0_0xdead5d[a0_0x302a2e(0x31d)]=a0_0x302a2e(0x3a0),a0_0xdead5d[a0_0x302a2e(0x1d0)]=a0_0x302a2e(0x1ab),a0_0xdead5d['create']='创建',a0_0xdead5d[a0_0x302a2e(0x304)]='批量创建',a0_0xdead5d[a0_0x302a2e(0x231)]='更新',a0_0xdead5d[a0_0x302a2e(0x253)]='删除',a0_0xdead5d[a0_0x302a2e(0x2d9)]=a0_0x302a2e(0x249),a0_0xdead5d[a0_0x302a2e(0x2e8)]=a0_0x302a2e(0x297),a0_0xdead5d[a0_0x302a2e(0x1ad)]=a0_0x302a2e(0x3e1),a0_0xdead5d[a0_0x302a2e(0x33d)]=a0_0x302a2e(0x324),a0_0xdead5d[a0_0x302a2e(0x1ba)]=a0_0x302a2e(0x3ac),a0_0xdead5d[a0_0x302a2e(0x267)]=a0_0x302a2e(0x189),a0_0xdead5d[a0_0x302a2e(0x3ff)]=a0_0x302a2e(0x21a),a0_0xdead5d[a0_0x302a2e(0x1e4)]=a0_0x302a2e(0x35b),a0_0xdead5d['importTemplate']='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0xdead5d,API_BLACKLIST=[a0_0x302a2e(0x2fd),a0_0x302a2e(0x31d),'getOneUpdate','getFileUrl'];function parseFieldExtend(_0x51d006){const _0x4ec144=a0_0x302a2e;if(!_0x51d006||typeof _0x51d006!==_0x4ec144(0x3d7))return!![]&&console[_0x4ec144(0x3c9)](_0x4ec144(0x39d),_0x51d006),{};if(!_0x51d006[_0x4ec144(0x327)])return{};try{const _0x9624b8=typeof _0x51d006[_0x4ec144(0x327)]===_0x4ec144(0x28b)?JSON[_0x4ec144(0x1d5)](_0x51d006[_0x4ec144(0x327)]):_0x51d006[_0x4ec144(0x327)];if(typeof _0x9624b8!=='object'||_0x9624b8===null)return{};return _0x9624b8;}catch{return{};}}function isPrimaryKeyField(_0x3f574b,_0x5c2233){const _0x2e2d04=a0_0x302a2e;if(!_0x3f574b||typeof _0x3f574b!==_0x2e2d04(0x3d7))return![];if(typeof _0x5c2233===_0x2e2d04(0x28b)&&_0x3f574b[_0x2e2d04(0x218)]===_0x5c2233)return!![];const _0x50d420=parseFieldExtend(_0x3f574b);return Boolean(_0x50d420[_0x2e2d04(0x1c4)]||_0x50d420[_0x2e2d04(0x2ce)]);}function isSystemField(_0x4a1cf8){const _0x335c25=a0_0x302a2e,_0x7602fc=parseFieldExtend(_0x4a1cf8);return Boolean(_0x7602fc[_0x335c25(0x23b)]);}function isRequiredField(_0x4b4ba7){const _0x594ffe=a0_0x302a2e,_0x4a7fcd=parseFieldExtend(_0x4b4ba7);return Boolean(_0x4a7fcd[_0x594ffe(0x2db)]);}function isAutoIncrementField(_0x1324df){const _0x40b595=a0_0x302a2e,_0x5b81d2=parseFieldExtend(_0x1324df);return Boolean(_0x5b81d2[_0x40b595(0x394)]);}function isCreateTimeField(_0x4e4e23){const _0x1ad792=a0_0x302a2e,_0x2c447e=parseFieldExtend(_0x4e4e23);return Boolean(_0x2c447e[_0x1ad792(0x3b3)]);}function isModifyTimeField(_0x69dddf){const _0x242075=a0_0x302a2e,_0x541e19=parseFieldExtend(_0x69dddf);return Boolean(_0x541e19[_0x242075(0x3fe)]);}const a0_0x104fa6={};a0_0x104fa6[a0_0x302a2e(0x24b)]='数字',a0_0x104fa6[a0_0x302a2e(0x3d3)]='文本',a0_0x104fa6[a0_0x302a2e(0x238)]=a0_0x302a2e(0x160),a0_0x104fa6[a0_0x302a2e(0x33f)]='日期',a0_0x104fa6[a0_0x302a2e(0x30a)]=a0_0x302a2e(0x3d9),a0_0x104fa6['TIMESTAMP']=a0_0x302a2e(0x328),a0_0x104fa6[a0_0x302a2e(0x1f4)]=a0_0x302a2e(0x199),a0_0x104fa6[a0_0x302a2e(0x202)]='多选',a0_0x104fa6[a0_0x302a2e(0x1e0)]='单选',a0_0x104fa6[a0_0x302a2e(0x2c2)]='开关',a0_0x104fa6[a0_0x302a2e(0x260)]=a0_0x302a2e(0x185),a0_0x104fa6[a0_0x302a2e(0x364)]='图片',a0_0x104fa6[a0_0x302a2e(0x24c)]=a0_0x302a2e(0x1c1),a0_0x104fa6[a0_0x302a2e(0x228)]=a0_0x302a2e(0x228),a0_0x104fa6[a0_0x302a2e(0x3a5)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x104fa6;function getDbTypeDisplay(_0x106caa){const _0xdfcd28=a0_0x302a2e;if(typeof _0x106caa!==_0xdfcd28(0x28b))return!![]&&console[_0xdfcd28(0x3c9)](_0xdfcd28(0x1b8),_0x106caa),String(_0x106caa||'-');return DB_TYPE_DISPLAY_MAP[_0x106caa]||_0x106caa;}function formatDbType(_0x13229b,_0x222ccb){const _0x525f01=a0_0x302a2e;if(!_0x13229b||typeof _0x13229b!=='string')return'-';if(!_0x222ccb||typeof _0x222ccb!==_0x525f01(0x3f1))return _0x13229b;const _0x4203b8=[_0x525f01(0x3d3),_0x525f01(0x30a),'TIMESTAMP','DATE'];if(_0x4203b8[_0x525f01(0x397)](_0x13229b[_0x525f01(0x2b1)]()))return _0x13229b;return _0x13229b+'('+_0x222ccb+')';}function a0_0x1c7a(){const _0x1d2f81=['generateSDKCallCode','toFieldDefinition','getPrimaryKeys','getFieldNames','includeUsageExample','200','SWITCH','set','示例值','16174ofwzus','SDK\x20调用示例(两参数格式)','Filter\x20API\x20-\x20高级查询接口','当前页码(从\x201\x20开始,默认:\x201)','isRequiredField','msg','logicField','支持单值或数组','having','pkField','includeRequestExample','DatasetGroup(','fields','getName','filterBlacklist','getOperationsData','label','getFieldOptions','_datasetMap','DESC','getSelectOptions','stringify','required','generateRequestAllExamples',',\x20fields:\x20','OperationList(','toISOString','每页条数','isOpenAPI','getEnabled','getLatest','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getFieldDataSource','**可更新的字段列表:**','getVirtualTables','getFileUrl','getOperationOperators','GET_FILE_URL','has\x20conflicts','getBusiness','_min','getDatabaseName','phone','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','options','sortNum','<p>富文本内容</p>','$ne','isCreateTime','allFields','groups','获取数据集失败:\x20','数组查询(支持多选)','228WkcCet','generateConfigArray',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getList','hasCreateTimeField','\x20operations,\x20v1)','forceVersion','完整的\x20SDK\x20调用代码','getCodes','dataset_000000','batchCreate','$startWith','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','$lteq','getEnumValues','DrivenDataDetailV2(','DATETIME','isFieldPrimaryKey','yourModel','getSDKInitData','getFieldType','now','getFilterOperation','2927940eWlSkK','parseFieldExtend','(id);','fullUrl','getFieldsFilterOperatorsMap','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','keyword','parseRawRequestBody','dataset_','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','generateDefaultFilterOperation','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getOneOrigin','({\x20currentPage,\x20pageSize\x20});','some','paging','distinct','_raw','entries','获取上传脚本','getFields','LONGBLOB','extend','时间戳','dbId','all','modelId','isUpdateTime','hasUpdateTimeField','排序规则(与\x20Filter\x20API\x20一致)','toConfig','no\x20conflicts','title','findByCode','toListItem','item2','getUpdateFields','column','isVirtualTable','解析\x20requestBody\x20失败:','getRawDbtableConfig','isArray','(实际字段:','getSystemFields','getUploadFileScript','raw','DATE','getFilteredOperationAnalyses','getEnumMetas','$lte','type','50GIrFyl','tooltip','0000','getFieldCode','getCountByMethod','getApplicableOperators','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','isMultipleSelectField','_fieldListV1','getFieldListWithDeleted','BLOB','toField','getFilterOperators','HTTP\x20直接调用时使用平铺格式:\x0a','getDBConfig','sort','LONGTEXT','getDeleted','length','datasetCode','lastIndexOf','getActive','toConfigArray','任务信息','getModelAlias','329wGdZrx','join','where','enumValues','generateAllOperationsFullSDKExample','\x5c{\x5c{','find','IMAGE','getFieldsV2','context','getRealTables','requestBody','getEnum','columnName','desc','https://example.com/image.jpg','hasFilterOperation','toArray','1242147mrAqks','//\x20Call\x20the\x20','isOperatorApplicableToField','getSelectItemsSource','method','isSystem','_operationList','getOperationAnalyses','doType','getDisabled','_fieldListV1WithDeleted','dbName','解析\x20responseBody\x20失败:','getByType','appCode','聚合函数配置数组(type:\x20sum/count/avg/max/min)','getRelatedDataset','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','TINYINT','sortOperationsWithFilterFirst','fieldName','displayName','sdkCall','CREATE','getDisplayName','min','getId','POST','demo-app','getOperationAnalysesByType','getSource','tableData','datasetKey','DOUBLE','validateEnumValue','total','autoIncrement','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','getTooltip','includes','responseBody','SMALLINT','getTableName','host','getLast','[parseFieldExtend]\x20Invalid\x20field:','BIT','Object','查询单条(原始)','\x20API\x20文档','orderBy','detectConflicts','systemFieldCount','ARRAY','push','findById','createTime','getAppCode','$contain','\x20fields)','创建导入','getAt','generateConfig','generateAllOperationsSummary','接口名称','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getDisabledOperationInstances','createDate','getModelName','getNames','isPrimaryKey','getOperators','GET','empty','1.0.0-beta.8','getStats','getDefaultValue','_datasetMeta','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','getAggregates','_$1','toFullConfig','FieldV2(','getEnabledNames','useFullExample','supportsCRUD','getEnumOptions','FieldV1(','聚合函数配置数组','warn','alias','getAutoIncrement','返回字段列表(字段投影)','$endWith','12992CGdFfz','排序规则','_fields','getBusinessFields','getAll','TEXT','getFieldRaw','getFieldsWithDeleted','getOperationsOverviewData','object','getOperationFieldOperators','日期时间','INTEGER','CREATE_IMPORT','操作成功','usageExample','null','children','add','Excel导出','select','getSystem','[dsparser]\x20跳过重复的表名\x20\x22','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','hasDbtableConfig','getAllDatasets','successCode','generateHTTPRequestExample','示例文本','createFields','getType','TIME','368205FEIGhR','getOperationDocMeta','name','number','DatasetGroupMap(','getFieldSelectItemsSource','default','DECIMAL','BOOLEAN','getRaw','status','\x20operations,\x20','_fieldListWithDeleted','field_name','value','isDeleted','modifyDate','aggregate','[FieldV2]\x20Invalid\x20field\x20definition','trim','operation','\x20items,\x20','properties','getPkField','updateTime','Number','toString','isEnum','value2','_fieldList','//\x20','isRequired','CHAR','INT','has','\x20operations)','字段编码','DrivenDataDetail(','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','$gte','dataset_unknown','customFilter','generateHTTPExample','getPrimaryKeyFields','\x20fields,\x20','每页数量','\x20groups,\x20','datasetSDKKey','mapDbTypeToType','dbTypeLen','getAllFieldsArray','doVersion','datasetId','total_count','长文本','({\x20code,\x20label\x20});','请求示例','from','query','errorMsg','getAllFieldsString','hasDblinkInfo','creatorNameField','分组后的过滤条件(对聚合结果进行过滤)','getMissingCRUDOperations','FieldListV2(','[generateRequestExample]\x20Invalid\x20field:','getRequestFields','\x20groups)','dataIndex','size','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getItems','isEnabled','conflictGroupCount','getExtendField','path','getRequiredFields','prefix','data','_operations','params','getFieldDefinition','DrivenDataDetailPlus(','-\x20主键使用\x20`id`\x20字段\x0a','_relations','hasOperation','getCountByType','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','sum','createTimeField','文件上传','bind','主键ID','datasetInfo','创建导出','这是一段较长的文本内容示例','hasTableName','getResponseSchema','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','generateResponseExample','IMPORT_TEMPLATE','getEnumMeta','toTableName','STRING','hasConflicts','Array','generateUsageExample','String','array','groupByType','下拉选择','requestFields','DatasetList(','$eq','当前页码','8DpOjSn','getEnabledOperationAnalyses',',\x20currentPage,\x20pageSize,\x20...\x20});','String[]','description','index','2024-01-01','fromField','generateAliasExplanation','getPath','filter','({\x20','584442yHOZqi','查询单条(用于更新)','findByTableName','excelExport','modifierNameField','operations','SDK\x20调用时传递两个参数:\x0a','isNumericField','操作名称','withDeleted','getField','datasetMap','tableName','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','FLOAT','createImport','13800138000','initDataset','Integer','getEnumFields','getConflictingItems','DELETE','富文本','[Field]\x20Invalid\x20field\x20definition','getOperationAnalysis','primaryKey','getFieldDisplayName','选项编码(可选)','getFieldV2','deleted','items','分组字段列表','getIndexes','getFieldName','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','SDK\x20调用','getOperationStats','getOneUpdate','getResponseParamsDocInfo','_requestExampleCache','dblinkInfoDTO','ensureFilterOperation','parse','UPDATE','includeDisabled','50rAVjdz','useArrayValues','precision','item1','getFieldListV2','筛选查询','getOperations','getFiltered','RADIO','getRelations','function','groupBy','taskInfo','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','hasCreatorIdField','address','toDatasetId','dbtableConfig','toObject','getDbName','generateFromSchema','tableColumns','currentPage','getOperationFieldsOperatorsMap','Operation\x20not\x20found:\x20','getCode','toJSON','dbType','SELECT','enabled','getEnabledOperationInstances','fieldCode','generateFieldExample','(id,\x20','每页数量(可选)','getInternalInstance','getFieldList','isSystemField','random','tableKey','placeholder','errorCode','CHECKBOX','getLatestDatasets','getDatasetMeta','-\x20其他要更新的字段直接平铺在同一层级','getEnabledOperations','labelField','_max','responseSchema','selectItemsSource','multiple','operationCount','getMethod','includeDeleted','value1','round','getEnumFieldsMeta','\x20operation','replace','online','getOperationRequestFields','/filter','-$1','code','getDatasetSDKKey','聚合查询','每页数量(默认:\x2020)','Object[]','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getTenantCode','isMultipleSelect','creatorIdField','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','modifierIdField','suffix','dbVersion','normalizeDbType','GET_LIST','version','JSON','findByName','every','modelCode','getDisabledOperations','##\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','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','getFullUrl','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','update','2024-12-31','generateOperationSummary','parseRawResponseBody','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','GET_UPLOAD_FILE_SCRIPT','daily','TEXTAREA','$in','createAll','systemRetain','updateTimeField','boolean','getDatasetDocMeta','TIMESTAMP','get','generateSingleValueExample','API路径','groupByTableName','_autoGenerated','GET_SELECT_OPTIONS','source','getRequestParamsDocInfo','tenantCode','获取下拉选项','getDOType','NUMBER','RICH_TEXT','getVersion','getRequired','getFieldsByType','toDatasetName','\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','slice','delete','查询单个条件','getConflicts','getRequestParams','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','getEnumFieldMeta','hasExtendField','(id,\x20data);','getDbTypeForOperation','getOperationCount','查询单条','dataset','_sum','UPLOAD','enabledOperationCount','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','success','getDatabaseVersion','hasLogicField','env','createExport','generateExampleValue','findAllByTableName','isEnumField','split','\x20indexes)','getCount','getUpdatableFields',',\x20...\x20});','datasetName','isBusiness','getOldest','();\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}','$gteq','getFieldCount','getRelationsByField','valueLabels','getOperation','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getUpdateTime','`:\x20','pageSize','getOperationList','isAutoIncrement','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','selectBestOperator','VARCHAR','getAllParams','();','2.0','hasModifierIdField','字段名称','getOne','values','create','generateFullSDKExample','string','hasConflict','FILE','getDisabledNames','const\x20fileUrl\x20=\x20await\x20client.models.','查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)','_fieldListV2','iterator','count','1.0','获取数据集列表失败:\x20','(params);','获取文件URL','toLowerCase','getForeignKeyFields','isPrimaryKeyField','主键ID(必填)','map','getFieldInstance','generateSDKInitCode','北京市朝阳区','_avg','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','getFilteredOperations','fieldCount','prototype','1281874YXWLhA','getTableKey','BIGINT','test','generateRequestExample','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','forEach','hasField','Invalid\x20API\x20response:\x20success\x20is\x20false','const\x20result\x20=\x20await\x20client.models.','({\x20/*\x20可选:筛选条件\x20*/\x20});','BOOL','toUpperCase','getFirst','findAll','max','_extend','keys','_operationAnalyses','_instance','$and','getFieldOperators','charAt'];a0_0x1c7a=function(){return _0x1d2f81;};return a0_0x1c7a();}function parseOperationType(_0x62e209){const _0x3eee38=a0_0x302a2e;if(typeof _0x62e209!==_0x3eee38(0x28b)){!![]&&console['warn']('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x62e209);return;}if(Object['values'](DatasetOperationType)[_0x3eee38(0x397)](_0x62e209))return _0x62e209;const _0x2d0f0a=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)[_0x3eee38(0x363)](([_0x35b65f,_0x3dea82])=>_0x3dea82===_0x62e209);return _0x2d0f0a?_0x2d0f0a[0x0]:undefined;}function shouldIncludeField(_0x29b26d,_0x48adcc,_0x5e6618){const _0x199b49=a0_0x302a2e,_0xc724f0=parseFieldExtend(_0x29b26d),_0x58b672=isPrimaryKeyField(_0x29b26d,_0x5e6618),_0xcc3283=Boolean(_0xc724f0['systemRetain']),_0x55e0fd=Boolean(_0xc724f0[_0x199b49(0x394)]),_0x1bdb9f=Boolean(_0xc724f0['createDate']),_0x228c67=Boolean(_0xc724f0[_0x199b49(0x3fe)]);switch(_0x48adcc){case _0x199b49(0x1a8):case _0x199b49(0x2fd):case _0x199b49(0x3ff):return!![];case'getOne':case'getOneOrigin':case _0x199b49(0x253):return _0x58b672;case _0x199b49(0x289):case _0x199b49(0x304):if(_0x58b672&&_0x55e0fd)return![];if(_0xcc3283)return![];if(_0x1bdb9f||_0x228c67)return![];return!![];case _0x199b49(0x231):case _0x199b49(0x1d0):if(_0x58b672)return!![];if(_0xcc3283)return![];if(_0x1bdb9f||_0x228c67)return![];return!![];case _0x199b49(0x2d9):return _0x29b26d[_0x199b49(0x218)]===_0x199b49(0x218);default:return!![];}}function getFieldsForOperation(_0x2919ec,_0x1c951a,_0x518698){const _0x3cca0f=a0_0x302a2e;if(!Array[_0x3cca0f(0x33a)](_0x2919ec))return!![]&&console[_0x3cca0f(0x3c9)](_0x3cca0f(0x3be),_0x2919ec),[];return _0x2919ec[_0x3cca0f(0x1a8)](_0x4c9684=>shouldIncludeField(_0x4c9684,_0x1c951a,_0x518698));}function isApiBlacklisted(_0x45324c){const _0x4b38e1=a0_0x302a2e;if(typeof _0x45324c!==_0x4b38e1(0x28b))return!![]&&console[_0x4b38e1(0x3c9)](_0x4b38e1(0x1b7),_0x45324c),![];return API_BLACKLIST['includes'](_0x45324c);}function filterApiOperations(_0x3ecf3f){const _0x2e4c30=a0_0x302a2e;if(!Array[_0x2e4c30(0x33a)](_0x3ecf3f))return!![]&&console[_0x2e4c30(0x3c9)](_0x2e4c30(0x2e4),_0x3ecf3f),[];return _0x3ecf3f['filter'](_0x2ed799=>_0x2ed799&&typeof _0x2ed799===_0x2e4c30(0x3d7)&&!isApiBlacklisted(_0x2ed799[_0x2e4c30(0x3f0)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x302a2e(0x30f)](),'DATE':()=>Date[a0_0x302a2e(0x30f)](),'SELECT':({fieldInfo:_0x592f38})=>{const _0x5f1b68=a0_0x302a2e;if(_0x592f38?.[_0x5f1b68(0x2f1)]&&Array[_0x5f1b68(0x33a)](_0x592f38['options'])&&_0x592f38['options']['length']>0x0)return _0x592f38['options'][0x0][_0x5f1b68(0x3fc)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x2e2b8a})=>{const _0x46dc97=a0_0x302a2e;if(_0x2e2b8a===_0x46dc97(0x1ee))return 0x1;if(_0x2e2b8a===_0x46dc97(0x27c))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x457ab2})=>{const _0x1c797e=a0_0x302a2e;if(_0x457ab2&&typeof _0x457ab2===_0x1c797e(0x28b)){const _0x850a7a=_0x457ab2[_0x1c797e(0x298)]();if(_0x850a7a[_0x1c797e(0x397)]('邮箱')||_0x850a7a['includes']('email'))return'user@example.com';if(_0x850a7a[_0x1c797e(0x397)]('电话')||_0x850a7a[_0x1c797e(0x397)]('手机')||_0x850a7a[_0x1c797e(0x397)](_0x1c797e(0x2ef)))return _0x1c797e(0x1bb);if(_0x850a7a[_0x1c797e(0x397)]('地址')||_0x850a7a[_0x1c797e(0x397)](_0x1c797e(0x1e7)))return _0x1c797e(0x29f);if(_0x850a7a[_0x1c797e(0x397)]('姓名')||_0x850a7a[_0x1c797e(0x397)](_0x1c797e(0x3f0)))return'张三';}return _0x1c797e(0x3ea);},'VARCHAR':({description:_0x1aa708})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x1aa708}),'CHAR':({description:_0x29fa07})=>TYPE_VALUE_GENERATORS[a0_0x302a2e(0x3d3)]({'description':_0x29fa07}),'STRING':({fieldInfo:_0x51f46d,description:_0xff1b20})=>{const _0xd1c027=a0_0x302a2e;if(_0x51f46d?.['placeholder']&&typeof _0x51f46d[_0xd1c027(0x200)]===_0xd1c027(0x28b)&&_0x51f46d[_0xd1c027(0x200)]!=='系统自动生成')return _0x51f46d[_0xd1c027(0x200)]['replace'](/^请输入|^请选择/,'');const _0x3c1a0f={};return _0x3c1a0f[_0xd1c027(0x1a2)]=_0xff1b20,TYPE_VALUE_GENERATORS['TEXT'](_0x3c1a0f);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x302a2e(0x18a),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x302a2e(0x3fc)}),'ARRAY':()=>[a0_0x302a2e(0x1db),a0_0x302a2e(0x334)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x302a2e(0x36c),'RICH_TEXT':()=>a0_0x302a2e(0x2f3)};function generateExampleValue(_0x347178,_0x19f55d,_0x403296,_0x5e5bf6={}){const _0x50ac23=a0_0x302a2e;typeof _0x347178!==_0x50ac23(0x28b)&&(!![]&&console[_0x50ac23(0x3c9)](_0x50ac23(0x18d),_0x347178),_0x347178=String(_0x347178||''));if(typeof _0x19f55d!=='string')return!![]&&console[_0x50ac23(0x3c9)]('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x19f55d),'示例值';const {isPrimaryKey:_0x2a5739,dbtableConfig:_0x3c13a4}=_0x5e5bf6;if(_0x2a5739)return 0x1;if(_0x3c13a4&&typeof _0x3c13a4==='object'){const _0x2154d2=_0x3c13a4[_0x50ac23(0x184)]?.[_0x50ac23(0x384)]===_0x347178,_0x1577a7=_0x3c13a4['updateTimeField']?.[_0x50ac23(0x384)]===_0x347178;if(_0x2154d2||_0x1577a7){if(_0x403296&&typeof _0x403296===_0x50ac23(0x28b)&&_0x403296[_0x50ac23(0x2b1)]()['includes'](_0x50ac23(0x23f)))return Date['now']();return new Date()[_0x50ac23(0x2df)]()['replace']('T','\x20')[_0x50ac23(0x26b)]('.')[0x0];}}const _0x5f72f={..._0x5e5bf6};_0x5f72f[_0x50ac23(0x1f7)]=_0x347178;const _0x3e2d36=_0x5f72f;if(_0x403296&&typeof _0x403296===_0x50ac23(0x28b)){const _0x389a32=_0x403296['toUpperCase'](),_0x5636c6=TYPE_VALUE_GENERATORS[_0x389a32];if(_0x5636c6)return _0x5636c6(_0x3e2d36);}if(_0x19f55d&&typeof _0x19f55d==='string'){const _0x375e6d=_0x19f55d[_0x50ac23(0x2b1)](),_0x338442=TYPE_VALUE_GENERATORS[_0x375e6d];if(_0x338442)return _0x338442(_0x3e2d36);}return _0x50ac23(0x2c4);}function generateExampleFromSchema(_0x4250b8,_0x1c6b4c){const _0x27abaf=a0_0x302a2e;if(!_0x4250b8||typeof _0x4250b8!==_0x27abaf(0x3d7))return{};if(Array['isArray'](_0x4250b8)){if(_0x4250b8[_0x27abaf(0x356)]>0x0)return[generateExampleFromSchema(_0x4250b8[0x0],_0x1c6b4c)];return[];}const _0x375c93={};return Object[_0x27abaf(0x2b6)](_0x4250b8)[_0x27abaf(0x2ab)](_0x19ad8e=>{const _0x1ab80f=_0x27abaf,_0x19b9e5=_0x4250b8[_0x19ad8e];if(_0x19b9e5&&typeof _0x19b9e5===_0x1ab80f(0x3d7)&&!Array[_0x1ab80f(0x33a)](_0x19b9e5)&&_0x19b9e5[_0x1ab80f(0x343)]){const _0x318139=_0x19b9e5,_0x5c191e=_0x318139[_0x1ab80f(0x343)],_0x22536c=_0x318139[_0x1ab80f(0x1a2)];if(typeof _0x5c191e==='string'){const _0x419157={};_0x419157[_0x1ab80f(0x1a2)]=_0x22536c,_0x419157['dbtableConfig']=_0x1c6b4c,_0x375c93[_0x19ad8e]=generateExampleValue(_0x19ad8e,_0x5c191e,undefined,_0x419157);}else _0x375c93[_0x19ad8e]=_0x1ab80f(0x2c4);}else{if(Array[_0x1ab80f(0x33a)](_0x19b9e5))_0x375c93[_0x19ad8e]=_0x19b9e5[_0x1ab80f(0x356)]>0x0?[generateExampleFromSchema(_0x19b9e5[0x0],_0x1c6b4c)]:[];else _0x19b9e5&&typeof _0x19b9e5==='object'?_0x375c93[_0x19ad8e]=generateExampleFromSchema(_0x19b9e5,_0x1c6b4c):_0x375c93[_0x19ad8e]=_0x19b9e5;}}),_0x375c93;}function parseRequestBody(_0x442c67){const _0x52d051=a0_0x302a2e;if(!_0x442c67)return{};try{return JSON[_0x52d051(0x1d5)](_0x442c67);}catch(_0x3564d0){return!![]&&console[_0x52d051(0x3c9)](_0x52d051(0x338),_0x3564d0),{};}}function parseResponseBody(_0x35de93){const _0xad4c25=a0_0x302a2e;if(!_0x35de93)return null;try{const _0x1ca0f1=JSON[_0xad4c25(0x1d5)](_0x35de93);return _0x1ca0f1[_0xad4c25(0x2c1)]||_0x1ca0f1;}catch(_0x3a0bac){return!![]&&console['warn'](_0xad4c25(0x37b),_0x3a0bac),null;}}function generateRequestExample(_0x18486f,_0x5ba10d,_0x4ba02,_0x4f7b37){const _0x267962=a0_0x302a2e,_0x44bdcf={};if(!Array[_0x267962(0x33a)](_0x18486f))return!![]&&console[_0x267962(0x3c9)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x18486f),_0x44bdcf;return _0x18486f['forEach'](_0x26ac4f=>{const _0xc87dfc=_0x267962;if(!_0x26ac4f||typeof _0x26ac4f!==_0xc87dfc(0x3d7)){!![]&&console[_0xc87dfc(0x3c9)](_0xc87dfc(0x16c),_0x26ac4f);return;}if(typeof _0x26ac4f[_0xc87dfc(0x218)]!==_0xc87dfc(0x28b)||typeof _0x26ac4f[_0xc87dfc(0x343)]!=='string'){!![]&&console[_0xc87dfc(0x3c9)](_0xc87dfc(0x34a),_0x26ac4f);return;}const _0x194d84=parseFieldExtend(_0x26ac4f),_0x5213d6=_0x26ac4f[_0xc87dfc(0x218)]===_0x4ba02||Boolean(_0x194d84?.[_0xc87dfc(0x1c4)]),_0x452b8e=generateExampleValue(_0x26ac4f[_0xc87dfc(0x218)],_0x26ac4f[_0xc87dfc(0x343)],typeof _0x26ac4f['dbType']===_0xc87dfc(0x28b)?_0x26ac4f[_0xc87dfc(0x1f3)]:undefined,{'fieldInfo':_0x194d84,'isPrimaryKey':_0x5213d6,'description':_0x26ac4f[_0xc87dfc(0x1a2)]||_0x26ac4f[_0xc87dfc(0x3f0)],'dbtableConfig':_0x4f7b37});_0x44bdcf[_0x26ac4f['code']]=_0x452b8e;}),_0x5ba10d==='getList'&&(_0x44bdcf[_0x267962(0x1ee)]=0x1,_0x44bdcf['pageSize']=0xa),_0x44bdcf;}function formatEnumValue(_0x30d9b5,_0x14b641){const _0x30c692=a0_0x302a2e;if(_0x30d9b5[_0x30c692(0x20b)]&&Array[_0x30c692(0x33a)](_0x14b641))return _0x14b641[_0x30c692(0x29c)](_0x3feddd=>_0x30d9b5[_0x30c692(0x277)][String(_0x3feddd)]||String(_0x3feddd))[_0x30c692(0x35e)](',\x20');return _0x30d9b5[_0x30c692(0x277)][String(_0x14b641)]||String(_0x14b641);}function formatOptionsForDoc(_0x478291){const _0x32816c=a0_0x302a2e;return _0x478291[_0x32816c(0x29c)](_0x3a5c5f=>_0x3a5c5f['value']+'('+_0x3a5c5f[_0x32816c(0x2d5)]+')')[_0x32816c(0x35e)](',\x20');}function formatOptionsAsMarkdownList(_0xcbc268,_0x5422ab=0x0){const _0x2edfcd=a0_0x302a2e,_0x1790ab='\x20\x20'['repeat'](_0x5422ab),_0x55e615=[];return _0xcbc268[_0x2edfcd(0x2ab)](_0x56378e=>{const _0x4d1777=_0x2edfcd;_0x55e615[_0x4d1777(0x3a6)](_0x1790ab+'-\x20`'+_0x56378e['value']+_0x4d1777(0x27b)+_0x56378e[_0x4d1777(0x2d5)]),_0x56378e[_0x4d1777(0x3df)]&&_0x56378e[_0x4d1777(0x3df)][_0x4d1777(0x356)]>0x0&&_0x55e615[_0x4d1777(0x3a6)](formatOptionsAsMarkdownList(_0x56378e[_0x4d1777(0x3df)],_0x5422ab+0x1));}),_0x55e615['join']('\x0a');}class DbtableConfig{[a0_0x302a2e(0x322)];constructor(_0x3550ce){const _0x293325=a0_0x302a2e,_0x10de55={..._0x3550ce};this[_0x293325(0x322)]=_0x10de55;}get[a0_0x302a2e(0x329)](){return this['_raw']['dbId'];}get[a0_0x302a2e(0x37a)](){const _0x302d81=a0_0x302a2e;return this[_0x302d81(0x322)][_0x302d81(0x37a)]??this[_0x302d81(0x322)]['dblinkInfoDTO']?.[_0x302d81(0x37a)];}get[a0_0x302a2e(0x1b6)](){const _0x4e7e93=a0_0x302a2e;return this[_0x4e7e93(0x322)][_0x4e7e93(0x1b6)];}get[a0_0x302a2e(0x390)](){const _0x52d0f0=a0_0x302a2e;return this[_0x52d0f0(0x322)][_0x52d0f0(0x390)];}get[a0_0x302a2e(0x2ce)](){const _0x305ae=a0_0x302a2e;return this['_raw'][_0x305ae(0x2ce)];}get[a0_0x302a2e(0x207)](){const _0x2b2784=a0_0x302a2e;return this['_raw'][_0x2b2784(0x207)];}get[a0_0x302a2e(0x2cb)](){const _0x2bec80=a0_0x302a2e;return this[_0x2bec80(0x322)][_0x2bec80(0x2cb)];}get[a0_0x302a2e(0x184)](){const _0x86a25f=a0_0x302a2e;return this[_0x86a25f(0x322)]['createTimeField'];}get[a0_0x302a2e(0x23c)](){const _0x2b31c6=a0_0x302a2e;return this[_0x2b31c6(0x322)]['updateTimeField'];}get[a0_0x302a2e(0x220)](){const _0x97908e=a0_0x302a2e;return this[_0x97908e(0x322)][_0x97908e(0x220)];}get[a0_0x302a2e(0x168)](){const _0x4d9823=a0_0x302a2e;return this[_0x4d9823(0x322)]['creatorNameField'];}get['modifierIdField'](){const _0x157369=a0_0x302a2e;return this[_0x157369(0x322)][_0x157369(0x222)];}get[a0_0x302a2e(0x1ae)](){const _0xb5e6de=a0_0x302a2e;return this[_0xb5e6de(0x322)][_0xb5e6de(0x1ae)];}get[a0_0x302a2e(0x1d3)](){return this['_raw']['dblinkInfoDTO'];}['getAllFieldsArray'](){const _0xa56354=a0_0x302a2e;if(!this[_0xa56354(0x322)][_0xa56354(0x2f6)])return[];return this['_raw'][_0xa56354(0x2f6)][_0xa56354(0x26b)](',')['map'](_0x464f8d=>_0x464f8d[_0xa56354(0x401)]())[_0xa56354(0x1a8)](Boolean);}[a0_0x302a2e(0x166)](){const _0x247773=a0_0x302a2e;return this[_0x247773(0x322)]['allFields'];}[a0_0x302a2e(0x2ac)](_0x57dcf1){const _0x3a3b73=a0_0x302a2e;return this[_0x3a3b73(0x15c)]()[_0x3a3b73(0x397)](_0x57dcf1);}['hasTableName'](){const _0x262575=a0_0x302a2e;return Boolean(this[_0x262575(0x322)]['tableName']);}[a0_0x302a2e(0x167)](){const _0x5eb247=a0_0x302a2e;return Boolean(this[_0x5eb247(0x322)][_0x5eb247(0x1d3)]);}[a0_0x302a2e(0x265)](){const _0x35f699=a0_0x302a2e;return Boolean(this[_0x35f699(0x322)][_0x35f699(0x2cb)]?.[_0x35f699(0x384)]);}[a0_0x302a2e(0x2fe)](){const _0x51a68d=a0_0x302a2e;return Boolean(this[_0x51a68d(0x322)][_0x51a68d(0x184)]?.[_0x51a68d(0x384)]);}[a0_0x302a2e(0x32d)](){const _0x438950=a0_0x302a2e;return Boolean(this['_raw']['updateTimeField']?.[_0x438950(0x384)]);}[a0_0x302a2e(0x1e6)](){const _0x1d6d62=a0_0x302a2e;return Boolean(this['_raw'][_0x1d6d62(0x220)]?.[_0x1d6d62(0x384)]);}[a0_0x302a2e(0x285)](){const _0x4a61ea=a0_0x302a2e;return Boolean(this[_0x4a61ea(0x322)][_0x4a61ea(0x222)]?.[_0x4a61ea(0x384)]);}[a0_0x302a2e(0x29a)](_0x405c51){const _0x1e1934=a0_0x302a2e;return this[_0x1e1934(0x322)][_0x1e1934(0x2ce)]===_0x405c51;}['isSystemField'](_0x30c74c){const _0x4566c0=a0_0x302a2e;return this[_0x4566c0(0x29a)](_0x30c74c)||this['_raw'][_0x4566c0(0x2cb)]?.['fieldName']===_0x30c74c||this[_0x4566c0(0x322)][_0x4566c0(0x184)]?.[_0x4566c0(0x384)]===_0x30c74c||this[_0x4566c0(0x322)]['updateTimeField']?.[_0x4566c0(0x384)]===_0x30c74c||this[_0x4566c0(0x322)]['creatorIdField']?.['fieldName']===_0x30c74c||this[_0x4566c0(0x322)]['creatorNameField']?.[_0x4566c0(0x384)]===_0x30c74c||this[_0x4566c0(0x322)][_0x4566c0(0x222)]?.[_0x4566c0(0x384)]===_0x30c74c||this[_0x4566c0(0x322)][_0x4566c0(0x1ae)]?.[_0x4566c0(0x384)]===_0x30c74c;}[a0_0x302a2e(0x2ee)](){const _0x472630=a0_0x302a2e;return this['_raw'][_0x472630(0x1d3)]?.[_0x472630(0x37a)];}['getDatabaseType'](){const _0x2cd78e=a0_0x302a2e;return this[_0x2cd78e(0x322)][_0x2cd78e(0x1d3)]?.[_0x2cd78e(0x1f3)];}[a0_0x302a2e(0x264)](){const _0x2b2425=a0_0x302a2e;return this['_raw'][_0x2b2425(0x1d3)]?.[_0x2b2425(0x224)];}[a0_0x302a2e(0x21e)](){const _0x37f518=a0_0x302a2e;return this[_0x37f518(0x322)][_0x37f518(0x1d3)]?.[_0x37f518(0x248)];}[a0_0x302a2e(0x3a9)](){const _0x47566a=a0_0x302a2e;return this[_0x47566a(0x322)][_0x47566a(0x1d3)]?.[_0x47566a(0x37d)];}['getSystemAnalysisResult'](){const _0x1dfe79=a0_0x302a2e;return this[_0x1dfe79(0x322)][_0x1dfe79(0x1d3)]?.['systemAnalysisResult'];}[a0_0x302a2e(0x3bb)](){const _0x1d2da7=a0_0x302a2e;return{'hasTableName':this[_0x1d2da7(0x18b)](),'hasDblinkInfo':this[_0x1d2da7(0x167)](),'fieldCount':this[_0x1d2da7(0x15c)]()[_0x1d2da7(0x356)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x1d2da7(0x2fe)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x1d2da7(0x285)]()}};}['toConfig'](){const _0xa9a50c=a0_0x302a2e,_0x3598ce={};return _0x3598ce[_0xa9a50c(0x1b6)]=this[_0xa9a50c(0x1b6)],_0x3598ce[_0xa9a50c(0x2ce)]=this['pkField'],_0x3598ce[_0xa9a50c(0x390)]=this[_0xa9a50c(0x390)],_0x3598ce[_0xa9a50c(0x329)]=this['dbId'],_0x3598ce;}[a0_0x302a2e(0x1f2)](){const _0x1ef51c=a0_0x302a2e,_0x18fb86={...this[_0x1ef51c(0x322)]};return _0x18fb86;}[a0_0x302a2e(0x3f7)](){const _0x115ce6=a0_0x302a2e,_0x420952={...this[_0x115ce6(0x322)]};return _0x420952;}[a0_0x302a2e(0x408)](){const _0x57e1a1=a0_0x302a2e,_0xf38c2d=this['tableName']||'N/A',_0x244c17=this[_0x57e1a1(0x15c)]()[_0x57e1a1(0x356)];return'DbtableConfig(table:\x20'+_0xf38c2d+_0x57e1a1(0x2dd)+_0x244c17+')';}static[a0_0x302a2e(0x3b9)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x302a2e(0x322)];constructor(_0x262f56){const _0x217bd4=a0_0x302a2e,_0xa4dcd1=_0x262f56[_0x217bd4(0x357)]||_0x262f56[_0x217bd4(0x218)]||_0x262f56[_0x217bd4(0x22b)],_0x3af9cd={..._0x262f56};_0x3af9cd[_0x217bd4(0x357)]=_0xa4dcd1,this[_0x217bd4(0x322)]=_0x3af9cd;}get['id'](){return this['_raw']['id'];}get['name'](){const _0x4869d3=a0_0x302a2e;return this['_raw'][_0x4869d3(0x3f0)];}[a0_0x302a2e(0x2d2)](){const _0x3a2ca9=a0_0x302a2e;return this[_0x3a2ca9(0x3f0)];}get[a0_0x302a2e(0x357)](){const _0x4dcd71=a0_0x302a2e;return this[_0x4dcd71(0x322)][_0x4dcd71(0x357)]||'';}get[a0_0x302a2e(0x1e9)](){const _0x1e2878=a0_0x302a2e;if(!this[_0x1e2878(0x322)][_0x1e2878(0x1e9)])return null;return new DbtableConfig(this[_0x1e2878(0x322)][_0x1e2878(0x1e9)]);}[a0_0x302a2e(0x339)](){return this['_raw']['dbtableConfig'];}[a0_0x302a2e(0x1eb)](){const _0x1b33c4=a0_0x302a2e;return this[_0x1b33c4(0x1e9)]?.[_0x1b33c4(0x37a)]||'';}[a0_0x302a2e(0x39a)](){const _0x1d0a7b=a0_0x302a2e;return getTableName(this[_0x1d0a7b(0x322)]);}[a0_0x302a2e(0x2a6)](){const _0x30ca44=a0_0x302a2e;return getTableKey(this[_0x30ca44(0x39a)]());}[a0_0x302a2e(0x219)](){const _0x2605de=a0_0x302a2e;return generateModelKeyFromCode(this[_0x2605de(0x357)]);}[a0_0x302a2e(0x337)](){const _0x4464c6=a0_0x302a2e;return isVirtualTableName(this[_0x4464c6(0x39a)]());}[a0_0x302a2e(0x3b4)](){const _0x18fc20=a0_0x302a2e;return getTableKey(this[_0x18fc20(0x39a)]());}[a0_0x302a2e(0x32f)](){const _0x328813=a0_0x302a2e,_0x2f678f=getTableKey(this['getTableName']());return{'key':_0x2f678f,'alias':_0x2f678f,'tableName':this['getTableName'](),'datasetCode':this['datasetCode'],'name':this[_0x328813(0x3f0)]};}[a0_0x302a2e(0x1f2)](){const _0x14b98f=a0_0x302a2e,_0x591bb8={...this[_0x14b98f(0x322)]};return _0x591bb8['datasetCode']=this[_0x14b98f(0x357)],_0x591bb8;}[a0_0x302a2e(0x3f7)](){const _0x5dd22f=a0_0x302a2e,_0x5762e7={...this[_0x5dd22f(0x322)]};return _0x5762e7;}[a0_0x302a2e(0x3e6)](){const _0x25091e=this['dbtableConfig'];return _0x25091e!==null&&_0x25091e['hasTableName']();}[a0_0x302a2e(0x175)](_0x1cd841){const _0x5d0fe9=a0_0x302a2e;return this[_0x5d0fe9(0x322)][_0x1cd841];}[a0_0x302a2e(0x259)](_0x20625){const _0x23aec8=a0_0x302a2e;return _0x20625 in this[_0x23aec8(0x322)];}[a0_0x302a2e(0x408)](){const _0xe22b9=a0_0x302a2e;return'DatasetItem('+this['name']+',\x20'+this[_0xe22b9(0x357)]+')';}}class Operation{[a0_0x302a2e(0x3f0)];[a0_0x302a2e(0x322)];[a0_0x302a2e(0x366)];constructor(_0x5c125e,_0x367992,_0x207871){const _0x37f7c4=a0_0x302a2e;this['name']=_0x5c125e,this[_0x37f7c4(0x322)]=_0x367992,this['context']=_0x207871;}[a0_0x302a2e(0x2d2)](){const _0x743b1=a0_0x302a2e;return this[_0x743b1(0x3f0)];}[a0_0x302a2e(0x388)](){const _0x58c5b8=a0_0x302a2e;return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this[_0x58c5b8(0x3f0)];}[a0_0x302a2e(0x3ec)](){const _0x6d396d=a0_0x302a2e;return parseOperationType(this[_0x6d396d(0x3f0)]);}[a0_0x302a2e(0x173)](){const _0x2765e8=a0_0x302a2e;return this[_0x2765e8(0x322)]!==null&&this[_0x2765e8(0x322)]!==![];}[a0_0x302a2e(0x20d)](){const _0x5ef695=a0_0x302a2e,_0x4002da=this[_0x5ef695(0x322)];if(_0x4002da===![]||_0x4002da===null)return'';return _0x4002da['method']||_0x5ef695(0x3b8);}[a0_0x302a2e(0x1a7)](){const _0x24f455=a0_0x302a2e,_0x450c8f=this[_0x24f455(0x322)];if(_0x450c8f===![]||_0x450c8f===null)return'';return _0x450c8f[_0x24f455(0x176)]||'';}[a0_0x302a2e(0x22f)](){const _0x5f1b47=a0_0x302a2e,_0x561c37=this[_0x5f1b47(0x322)];let _0x310fcf='';_0x561c37!==![]&&_0x561c37!==null&&_0x561c37[_0x5f1b47(0x39b)]&&(_0x310fcf=_0x561c37[_0x5f1b47(0x39b)]);const _0x2fbb7f=this['getPath']();return _0x310fcf&&_0x2fbb7f?''+_0x310fcf+_0x2fbb7f:_0x2fbb7f;}['parseRawRequestBody'](){const _0x251ac6=a0_0x302a2e,_0x4c64ad=this['_raw'];if(_0x4c64ad===![]||_0x4c64ad===null||!_0x4c64ad['requestBody'])return{};try{return JSON[_0x251ac6(0x1d5)](_0x4c64ad[_0x251ac6(0x368)]);}catch{return{};}}[a0_0x302a2e(0x234)](){const _0x18d40d=a0_0x302a2e,_0x2c84e6=this['_raw'];if(_0x2c84e6===![]||_0x2c84e6===null||!_0x2c84e6[_0x18d40d(0x398)])return null;return parseResponseBody(_0x2c84e6[_0x18d40d(0x398)]);}['getRequestParams'](){const _0x3d0a5d=a0_0x302a2e;return this[_0x3d0a5d(0x318)]();}[a0_0x302a2e(0x18c)](){const _0x292ec0=a0_0x302a2e;return this[_0x292ec0(0x234)]();}['getRequestFields'](){const _0xfe3e58=a0_0x302a2e,_0x5392ca=this['getRequestParams']();return Object[_0xfe3e58(0x2b6)](_0x5392ca);}[a0_0x302a2e(0x2a9)](){const _0x148a1c=a0_0x302a2e,_0x40368e=this['getRequestParams'](),_0x416c09={};return Object[_0x148a1c(0x323)](_0x40368e)[_0x148a1c(0x2ab)](([_0x215195,_0x18f5f2])=>{const _0x44f0d0=_0x148a1c,_0x48795d=_0x18f5f2;_0x416c09[_0x215195]=generateExampleValue(_0x215195,_0x48795d['type']||'String',undefined,{'description':_0x48795d[_0x44f0d0(0x1a2)]});}),_0x416c09;}[a0_0x302a2e(0x154)](){const _0x1fb960=a0_0x302a2e;return this[_0x1fb960(0x2a9)]();}[a0_0x302a2e(0x18e)](){const _0x1bb50c=a0_0x302a2e,_0x8f2307=this[_0x1bb50c(0x234)]();if(!_0x8f2307){const _0x133929={};return _0x133929['success']=!![],_0x133929['msg']=_0x1bb50c(0x3dc),_0x133929[_0x1bb50c(0x165)]='',_0x133929[_0x1bb50c(0x201)]=_0x1bb50c(0x346),_0x133929['data']=null,_0x133929;}return this[_0x1bb50c(0x1ec)](_0x8f2307);}[a0_0x302a2e(0x1ec)](_0x5c53ad){const _0x33bd18=a0_0x302a2e;if(!_0x5c53ad||typeof _0x5c53ad!==_0x33bd18(0x3d7))return{};if(Array[_0x33bd18(0x33a)](_0x5c53ad))return _0x5c53ad[_0x33bd18(0x356)]>0x0?[this[_0x33bd18(0x1ec)](_0x5c53ad[0x0])]:[];const _0xd35d4d={};for(const [_0x497939,_0x179bb2]of Object['entries'](_0x5c53ad)){if(_0x179bb2&&typeof _0x179bb2===_0x33bd18(0x3d7)&&!Array['isArray'](_0x179bb2)){const _0x363ac4=_0x179bb2;_0xd35d4d[_0x497939]=generateExampleValue(_0x497939,_0x363ac4[_0x33bd18(0x343)]||'String',undefined,{'description':_0x363ac4[_0x33bd18(0x1a2)]});}else Array[_0x33bd18(0x33a)](_0x179bb2)?_0xd35d4d[_0x497939]=_0x179bb2['length']>0x0?[this[_0x33bd18(0x1ec)](_0x179bb2[0x0])]:[]:_0xd35d4d[_0x497939]=_0x179bb2;}return _0xd35d4d;}[a0_0x302a2e(0x1f8)](_0x233401,_0x3bfdac,_0x2e881b,_0x2ee89e){return generateExampleValue(_0x233401,_0x3bfdac,_0x2e881b,_0x2ee89e);}[a0_0x302a2e(0x2bc)](_0x59275b,_0x1563f4){const _0xbe965f=a0_0x302a2e,_0x3e1cd0=this[_0xbe965f(0x2d2)]();return _0xbe965f(0x2ae)+_0x59275b+'.'+_0x3e1cd0+_0xbe965f(0x283);}['generateUsageExample'](_0x3b0cbd){const _0x348200=a0_0x302a2e,_0x430c57=this[_0x348200(0x2d2)](),_0x3aad63=_0x3b0cbd||_0x348200(0x30c),_0x80e7db={};return _0x80e7db[_0x348200(0x3e8)]='const\x20data\x20=\x20await\x20client.models.'+_0x3aad63+'.'+_0x430c57+_0x348200(0x283),_0x80e7db[_0x348200(0x201)]=_0x348200(0x230)+_0x3aad63+'.'+_0x430c57+_0x348200(0x257),_0x80e7db;}[a0_0x302a2e(0x247)](){const _0x5d7afb=a0_0x302a2e,_0x5a2af0=this['getRequestParams'](),_0x49725f=Object[_0x5d7afb(0x323)](_0x5a2af0)[_0x5d7afb(0x29c)](([_0x2144be,_0x338755])=>{const _0xf101c6=_0x5d7afb,_0x29369a=_0x338755,_0x5ea30a={};return _0x5ea30a[_0xf101c6(0x3f0)]=_0x2144be,_0x5ea30a[_0xf101c6(0x343)]=_0x29369a['type']||_0xf101c6(0x196),_0x5ea30a['description']=_0x29369a['description']||'-',_0x5ea30a[_0xf101c6(0x2db)]=_0x29369a[_0xf101c6(0x2db)],_0x5ea30a;}),_0xfa0f60={};return _0xfa0f60[_0x5d7afb(0x17b)]=_0x49725f,_0xfa0f60;}[a0_0x302a2e(0x1d1)](){const _0x5a576c=a0_0x302a2e,_0x5a4e9a=this[_0x5a576c(0x234)]();if(!_0x5a4e9a){const _0x24ed74={};return _0x24ed74['params']=[],_0x24ed74;}const _0x1d5723=Object[_0x5a576c(0x323)](_0x5a4e9a)['map'](([_0x4d309e,_0x37b8f7])=>{const _0x5b957f=_0x5a576c,_0x2a98e8=_0x37b8f7,_0x35a86b={};return _0x35a86b[_0x5b957f(0x3f0)]=_0x4d309e,_0x35a86b[_0x5b957f(0x343)]=_0x2a98e8[_0x5b957f(0x343)]||_0x5b957f(0x196),_0x35a86b[_0x5b957f(0x1a2)]=_0x2a98e8[_0x5b957f(0x1a2)]||'-',_0x35a86b;}),_0x5a642f={};return _0x5a642f[_0x5a576c(0x17b)]=_0x1d5723,_0x5a642f;}[a0_0x302a2e(0x33c)](){return[];}[a0_0x302a2e(0x3d1)](){const _0x52f8e4=a0_0x302a2e;return this[_0x52f8e4(0x366)][_0x52f8e4(0x2d1)]||[];}[a0_0x302a2e(0x282)](){const _0x5ead8b=a0_0x302a2e;return{'systemFields':this['getSystemFields'](),'businessFields':this[_0x5ead8b(0x3d1)]()};}[a0_0x302a2e(0x17c)](_0x288894){const _0x314e0d=a0_0x302a2e;return this[_0x314e0d(0x366)]['fields'][_0x314e0d(0x363)](_0x4f09cb=>_0x4f09cb?.['code']===_0x288894);}['getFieldCode'](_0x21ff3d){const _0x3de400=a0_0x302a2e;return _0x21ff3d[_0x3de400(0x218)];}[a0_0x302a2e(0x30e)](_0x9ff159){return _0x9ff159['type'];}[a0_0x302a2e(0x1c5)](_0x108f1e){const _0xb9bafc=a0_0x302a2e;return _0x108f1e[_0xb9bafc(0x3f0)];}['getFieldDescription'](_0x1d4cd6){const _0x4108e2=a0_0x302a2e;return _0x1d4cd6[_0x4108e2(0x1a2)];}[a0_0x302a2e(0x2d6)](_0x200ac7){const _0xa7b0d7=a0_0x302a2e;return _0x200ac7[_0xa7b0d7(0x3c6)]()||null;}[a0_0x302a2e(0x30b)](_0x31e38b){return _0x31e38b['isPrimaryKey']();}[a0_0x302a2e(0x3b7)](){return[];}['getFieldOperators'](_0x1a4281){return[];}['toJSON'](){const _0x46d7a1=a0_0x302a2e;return{'name':this[_0x46d7a1(0x2d2)](),'displayName':this[_0x46d7a1(0x388)](),'type':this[_0x46d7a1(0x3ec)](),'enabled':this[_0x46d7a1(0x173)](),'method':this[_0x46d7a1(0x20d)](),'path':this[_0x46d7a1(0x1a7)](),'fullUrl':this[_0x46d7a1(0x22f)](),'requestParams':this[_0x46d7a1(0x256)](),'requestExample':this[_0x46d7a1(0x2a9)](),'responseExample':this['generateResponseExample']()};}['toString'](){const _0x267f5b=a0_0x302a2e,_0x4ab8ab=this[_0x267f5b(0x173)]()?'启用':'禁用';return this['getDisplayName']()+'('+this[_0x267f5b(0x3f0)]+',\x20'+_0x4ab8ab+')';}}class GenericOperation extends Operation{['_requestExampleCache'];[a0_0x302a2e(0x256)](){const _0x628202=a0_0x302a2e;return this[_0x628202(0x318)]();}[a0_0x302a2e(0x18c)](){return this['parseRawResponseBody']();}[a0_0x302a2e(0x2a9)](){const _0x4c1150=a0_0x302a2e;if(this[_0x4c1150(0x1d2)])return this['_requestExampleCache'];const _0x181960={},_0x2b3eb9=this[_0x4c1150(0x256)](),_0x42d5aa=this[_0x4c1150(0x3ec)]();if(Object[_0x4c1150(0x2b6)](_0x2b3eb9)[_0x4c1150(0x356)]===0x0&&_0x42d5aa){const _0x52d7dc=this['getBusinessFields']();return _0x52d7dc['forEach'](_0x5a23ba=>{const _0x2fbed6=_0x4c1150,_0x4121f2=_0x5a23ba[_0x2fbed6(0x218)],_0x18acb1=_0x5a23ba[_0x2fbed6(0x343)],_0x4a57a9=this[_0x2fbed6(0x1f8)](_0x4121f2,_0x18acb1,_0x5a23ba[_0x2fbed6(0x25b)](),{'isPrimaryKey':_0x5a23ba[_0x2fbed6(0x3b6)](),'description':_0x5a23ba[_0x2fbed6(0x1a2)]||_0x5a23ba[_0x2fbed6(0x3f0)]});_0x181960[_0x4121f2]=_0x4a57a9;}),this[_0x4c1150(0x1d2)]=_0x181960,_0x181960;}return Object[_0x4c1150(0x323)](_0x2b3eb9)[_0x4c1150(0x2ab)](([_0x14023e,_0x2ec6c2])=>{const _0x420bb9=_0x4c1150,_0x52cd12=_0x2ec6c2;let _0x2059c4;if(typeof _0x52cd12[_0x420bb9(0x343)]===_0x420bb9(0x28b))_0x2059c4=_0x52cd12['type'];else _0x52cd12[_0x420bb9(0x343)]&&typeof _0x52cd12[_0x420bb9(0x343)]===_0x420bb9(0x3d7)?_0x2059c4=_0x52cd12[_0x420bb9(0x343)][_0x420bb9(0x343)]||'TEXT':_0x2059c4='TEXT';const _0x1a6303=_0x52cd12[_0x420bb9(0x1a2)],_0x5bab8b=this[_0x420bb9(0x17c)](_0x14023e);if(_0x14023e===_0x420bb9(0x1ee))_0x181960[_0x14023e]=0x1;else{if(_0x14023e===_0x420bb9(0x27c))_0x181960[_0x14023e]=0xa;else{if(_0x14023e==='id')_0x181960[_0x14023e]=0x1;else{const _0x2a9e90=_0x5bab8b?_0x5bab8b[_0x420bb9(0x25b)]():undefined,_0x40d52=_0x5bab8b?_0x5bab8b[_0x420bb9(0x1a2)]:undefined,_0x2a6b18=_0x5bab8b?_0x5bab8b['name']:undefined;_0x181960[_0x14023e]=this['generateFieldExample'](_0x14023e,_0x2059c4,_0x2a9e90||undefined,{'isPrimaryKey':_0x14023e===this[_0x420bb9(0x366)][_0x420bb9(0x2ce)]||_0x14023e==='id','description':_0x1a6303||_0x40d52||_0x2a6b18});}}}}),this[_0x4c1150(0x1d2)]=_0x181960,_0x181960;}[a0_0x302a2e(0x18e)](){const _0x306fb4=a0_0x302a2e,_0x48953a=this[_0x306fb4(0x18c)]();if(!_0x48953a){const _0x414d8c={};return _0x414d8c[_0x306fb4(0x263)]=!![],_0x414d8c['msg']=_0x306fb4(0x3dc),_0x414d8c[_0x306fb4(0x165)]='',_0x414d8c['errorCode']=_0x306fb4(0x346),_0x414d8c['data']=null,_0x414d8c;}return this[_0x306fb4(0x1ec)](_0x48953a);}[a0_0x302a2e(0x1ec)](_0x483891){const _0x38723d=a0_0x302a2e;if(!_0x483891||typeof _0x483891!=='object')return{};if(Array[_0x38723d(0x33a)](_0x483891)){if(_0x483891[_0x38723d(0x356)]>0x0)return[this['generateFromSchema'](_0x483891[0x0])];return[];}const _0x2998f2={};return Object[_0x38723d(0x2b6)](_0x483891)[_0x38723d(0x2ab)](_0x388608=>{const _0xb00a15=_0x38723d,_0x17eb61=_0x483891[_0x388608];if(_0x17eb61&&typeof _0x17eb61==='object'&&!Array[_0xb00a15(0x33a)](_0x17eb61)&&_0x17eb61[_0xb00a15(0x343)]){const _0x9fc747=_0x17eb61;let _0x10beea;if(typeof _0x9fc747[_0xb00a15(0x343)]==='string')_0x10beea=_0x9fc747[_0xb00a15(0x343)];else _0x9fc747[_0xb00a15(0x343)]&&typeof _0x9fc747['type']===_0xb00a15(0x3d7)?_0x10beea=_0x9fc747['type']['type']||_0xb00a15(0x3d3):_0x10beea=_0xb00a15(0x3d3);const _0x133728=_0x9fc747[_0xb00a15(0x1a2)],_0x525a46={};_0x525a46[_0xb00a15(0x1a2)]=_0x133728,_0x2998f2[_0x388608]=this['generateFieldExample'](_0x388608,_0x10beea,undefined,_0x525a46);}else{if(Array[_0xb00a15(0x33a)](_0x17eb61))_0x2998f2[_0x388608]=_0x17eb61[_0xb00a15(0x356)]>0x0?[this[_0xb00a15(0x1ec)](_0x17eb61[0x0])]:[];else _0x17eb61&&typeof _0x17eb61===_0xb00a15(0x3d7)?_0x2998f2[_0x388608]=this['generateFromSchema'](_0x17eb61):_0x2998f2[_0x388608]=_0x17eb61;}}),_0x2998f2;}[a0_0x302a2e(0x2bc)](_0x5e07ee,_0x2b0f7f){const _0x16c998=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2b0f7f||{},_0x10bb60=this['getName'](),_0x3295d8=this[_0x16c998(0x3ec)](),_0x353bed=this[_0x16c998(0x16d)](),_0x4d6e79=this['generateRequestExample'](),_0x2b76bd=_0x4fe13d=>{const _0x3511af=_0x16c998;if(Object[_0x3511af(0x2b6)](_0x4fe13d)['length']===0x0)return'{}';const _0x3d6632=JSON[_0x3511af(0x2da)](_0x4fe13d,null,0x2)[_0x3511af(0x26b)]('\x0a')[_0x3511af(0x29c)]((_0x4d0b88,_0x44daf9)=>_0x44daf9===0x0?_0x4d0b88:indent+_0x4d0b88)['join']('\x0a');return _0x3d6632;};switch(_0x3295d8){case'getOne':case _0x16c998(0x253):return _0x16c998(0x2ae)+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x313);case _0x16c998(0x231):if(useFullExample&&Object['keys'](_0x4d6e79)[_0x16c998(0x356)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x1f9)+_0x2b76bd(_0x4d6e79)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x25a);case'create':case'getList':case _0x16c998(0x2d9):default:if(_0x353bed[_0x16c998(0x356)]>0x0){if(useFullExample&&Object[_0x16c998(0x2b6)](_0x4d6e79)[_0x16c998(0x356)]>0x0)return _0x16c998(0x2ae)+_0x5e07ee+'.'+_0x10bb60+'('+_0x2b76bd(_0x4d6e79)+');';else{const _0x407173=Object[_0x16c998(0x2b6)](_0x4d6e79);if(_0x407173[_0x16c998(0x356)]>0x0){const _0x3da6a0=_0x407173['slice'](0x0,0x2)[_0x16c998(0x35e)](',\x20');return _0x16c998(0x2ae)+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x1a9)+_0x3da6a0+_0x16c998(0x26f);}else return _0x16c998(0x2ae)+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x296);}}else return _0x16c998(0x2ae)+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x283);}}[a0_0x302a2e(0x2dc)](){const _0x725d4=a0_0x302a2e;return[{'title':_0x725d4(0x162),'data':this['generateRequestExample']()}];}[a0_0x302a2e(0x33c)](){const _0x23dad4=a0_0x302a2e,_0x3f5df8=this['getType'](),_0x1c7cb9=[];switch(_0x3f5df8){case _0x23dad4(0x287):case _0x23dad4(0x253):const _0x10363c={};_0x10363c['code']='id',_0x10363c[_0x23dad4(0x343)]=_0x23dad4(0x24b),_0x10363c[_0x23dad4(0x1a2)]=_0x23dad4(0x187),_0x1c7cb9['push'](_0x10363c);break;case _0x23dad4(0x2fd):const _0x32f86c={};_0x32f86c[_0x23dad4(0x218)]='currentPage',_0x32f86c[_0x23dad4(0x343)]=_0x23dad4(0x24b),_0x32f86c[_0x23dad4(0x1a2)]=_0x23dad4(0x19d);const _0x21e46e={};_0x21e46e[_0x23dad4(0x218)]=_0x23dad4(0x27c),_0x21e46e[_0x23dad4(0x343)]=_0x23dad4(0x24b),_0x21e46e[_0x23dad4(0x1a2)]=_0x23dad4(0x2e0),_0x1c7cb9[_0x23dad4(0x3a6)](_0x32f86c,_0x21e46e);break;case'getSelectOptions':const _0x24d7a0={};_0x24d7a0['code']='code',_0x24d7a0['type']='STRING',_0x24d7a0[_0x23dad4(0x1a2)]=_0x23dad4(0x1c6),_0x1c7cb9[_0x23dad4(0x3a6)](_0x24d7a0);break;default:break;}return _0x1c7cb9;}[a0_0x302a2e(0x3d1)](){const _0xb35ac4=a0_0x302a2e,_0x134cf0=this[_0xb35ac4(0x3ec)](),_0x18ed3d=this['context'][_0xb35ac4(0x2d1)]||[];switch(_0x134cf0){case _0xb35ac4(0x287):case _0xb35ac4(0x253):return[];case _0xb35ac4(0x289):case'batchCreate':return _0x18ed3d[_0xb35ac4(0x1a8)](_0x46d9fd=>{const _0x53abc4=_0xb35ac4;if(_0x46d9fd[_0x53abc4(0x1c8)])return![];if(_0x46d9fd[_0x53abc4(0x3b6)]()&&_0x46d9fd[_0x53abc4(0x27e)]())return![];if(_0x46d9fd[_0x53abc4(0x374)]())return![];if(_0x46d9fd[_0x53abc4(0x2f5)]()||_0x46d9fd[_0x53abc4(0x32c)]())return![];return!![];});case _0xb35ac4(0x231):return _0x18ed3d['filter'](_0x3a246f=>{const _0x23401f=_0xb35ac4;if(_0x3a246f[_0x23401f(0x1c8)])return![];if(_0x3a246f[_0x23401f(0x3b6)]())return![];if(_0x3a246f[_0x23401f(0x374)]())return![];if(_0x3a246f[_0x23401f(0x2f5)]()||_0x3a246f[_0x23401f(0x32c)]())return![];if(_0x3a246f[_0x23401f(0x27e)]())return![];return!![];});case _0xb35ac4(0x2fd):case'getSelectOptions':return _0x18ed3d['filter'](_0x3896b1=>!_0x3896b1[_0xb35ac4(0x1c8)]&&_0x3896b1[_0xb35ac4(0x271)]());default:return _0x18ed3d['filter'](_0x2fcade=>!_0x2fcade[_0xb35ac4(0x1c8)]&&_0x2fcade[_0xb35ac4(0x271)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x2c1c68=a0_0x302a2e,_0x36b7b5=super[_0x2c1c68(0x256)](),_0x5dfa04=Object[_0x2c1c68(0x2b6)](_0x36b7b5);if(_0x5dfa04[_0x2c1c68(0x356)]===0x0||_0x5dfa04['length']===0x1&&_0x5dfa04[0x0]===_0x2c1c68(0x218)){if(!_0x36b7b5[_0x2c1c68(0x218)]){const _0x292f5e={};_0x292f5e['type']='String',_0x292f5e['description']=_0x2c1c68(0x14e),_0x36b7b5[_0x2c1c68(0x218)]=_0x292f5e;}const _0x4344ad={};_0x4344ad['type']=_0x2c1c68(0x196),_0x4344ad['description']=_0x2c1c68(0x286),_0x36b7b5[_0x2c1c68(0x2d5)]=_0x4344ad;}return _0x36b7b5;}[a0_0x302a2e(0x3d1)](){return[];}['getSystemFields'](){const _0x526a27=a0_0x302a2e,_0x4d0061={};_0x4d0061['code']='code',_0x4d0061['type']=_0x526a27(0x196),_0x4d0061['description']=_0x526a27(0x14e);const _0x1074b4={};return _0x1074b4['code']=_0x526a27(0x2d5),_0x1074b4[_0x526a27(0x343)]=_0x526a27(0x196),_0x1074b4[_0x526a27(0x1a2)]=_0x526a27(0x286),[_0x4d0061,_0x1074b4];}[a0_0x302a2e(0x2a9)](){const _0xbd3ea=a0_0x302a2e,_0x12cb86={};return _0x12cb86[_0xbd3ea(0x218)]=_0xbd3ea(0x3fb),_0x12cb86['label']=_0xbd3ea(0x3fb),_0x12cb86;}['generateSDKCallCode'](_0x421c83){const _0x16dc0d=a0_0x302a2e,_0x2bc0bc=this['getName']();return _0x16dc0d(0x2ae)+_0x421c83+'.'+_0x2bc0bc+_0x16dc0d(0x161);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x4910a8=a0_0x302a2e,_0x5247e6=super[_0x4910a8(0x256)](),{currentPage:_0x24ddde,pageSize:_0x221cd2,..._0x569375}=_0x5247e6,_0x5ee38d={};Object[_0x4910a8(0x323)](_0x569375)['forEach'](([_0x1cd070,_0x4752a5])=>{const _0x864a87=_0x4910a8;if(typeof _0x4752a5==='object'&&_0x4752a5!==null){const _0x510844=_0x4752a5,_0x314cb5=_0x510844[_0x864a87(0x1a2)]||'',_0x296247={..._0x510844};_0x296247[_0x864a87(0x1a2)]=_0x314cb5?_0x314cb5+'(支持单值或数组)':_0x864a87(0x2cc),_0x5ee38d[_0x1cd070]=_0x296247;}else _0x5ee38d[_0x1cd070]=_0x4752a5;});const _0x51285f={...typeof _0x24ddde==='object'?_0x24ddde:{}};_0x51285f[_0x4910a8(0x343)]=_0x4910a8(0x407),_0x51285f[_0x4910a8(0x1a2)]=_0x4910a8(0x19d);const _0x227bea={...typeof _0x221cd2===_0x4910a8(0x3d7)?_0x221cd2:{}};_0x227bea[_0x4910a8(0x343)]=_0x4910a8(0x407),_0x227bea[_0x4910a8(0x1a2)]=_0x4910a8(0x157);const _0x140712={..._0x5ee38d};return _0x140712['currentPage']=_0x51285f,_0x140712[_0x4910a8(0x27c)]=_0x227bea,_0x140712;}[a0_0x302a2e(0x2a9)](_0x30c852){const _0x5f58b4=a0_0x302a2e,{useArrayValues:useArrayValues=!![]}=_0x30c852||{},_0x2001d7=super['generateRequestExample'](),{currentPage:_0x5f3225,pageSize:_0x3fa9a8,..._0x211ad4}=_0x2001d7;if(!useArrayValues){const _0x1cb144={..._0x211ad4};return _0x1cb144[_0x5f58b4(0x1ee)]=_0x5f3225??0x1,_0x1cb144[_0x5f58b4(0x27c)]=_0x3fa9a8??0xa,_0x1cb144;}const _0x1028d0={},_0xd9b01a=['id',_0x5f58b4(0x3f8),_0x5f58b4(0x218),'type'];Object[_0x5f58b4(0x323)](_0x211ad4)[_0x5f58b4(0x2ab)](([_0x132d8c,_0x4f7331],_0x51d6fd)=>{const _0x42768b=_0x5f58b4,_0x3b68b0=_0xd9b01a[_0x42768b(0x31f)](_0x21ac20=>_0x132d8c[_0x42768b(0x298)]()[_0x42768b(0x397)](_0x21ac20))||_0x51d6fd%0x3===0x0;if(_0x3b68b0&&_0x4f7331!==null&&_0x4f7331!==undefined){if(typeof _0x4f7331===_0x42768b(0x3f1))_0x1028d0[_0x132d8c]=[_0x4f7331,_0x4f7331+0x1,_0x4f7331+0x2];else typeof _0x4f7331===_0x42768b(0x28b)?_0x1028d0[_0x132d8c]=[_0x4f7331,_0x4f7331+'_2',_0x4f7331+'_3']:_0x1028d0[_0x132d8c]=[_0x4f7331];}else _0x1028d0[_0x132d8c]=_0x4f7331;});const _0x513bf6={..._0x1028d0};return _0x513bf6['currentPage']=_0x5f3225??0x1,_0x513bf6[_0x5f58b4(0x27c)]=_0x3fa9a8??0xa,_0x513bf6;}[a0_0x302a2e(0x241)](){const _0xbaa45f=a0_0x302a2e,_0x31ff30={};return _0x31ff30[_0xbaa45f(0x1d9)]=![],this['generateRequestExample'](_0x31ff30);}[a0_0x302a2e(0x2dc)](){const _0x396670=a0_0x302a2e;return[{'title':'单值查询','description':_0x396670(0x254),'data':this['generateSingleValueExample']()},{'title':_0x396670(0x2f9),'description':'支持多个条件','data':this[_0x396670(0x2a9)]()}];}[a0_0x302a2e(0x2bc)](_0x210437,_0x1cd8cf){const _0x5dbb2a=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1cd8cf||{},_0x5da27b=this[_0x5dbb2a(0x2d2)](),_0x492630={};_0x492630['useArrayValues']=!![];const _0x43f327=this[_0x5dbb2a(0x2a9)](_0x492630),{currentPage:_0x1ef122,pageSize:_0x5b1149,..._0x5ac407}=_0x43f327;if(useFullExample&&Object[_0x5dbb2a(0x2b6)](_0x43f327)[_0x5dbb2a(0x356)]>0x0){const _0x4c4ebe=Object[_0x5dbb2a(0x2b6)](_0x5ac407)[_0x5dbb2a(0x356)]>0x0;if(_0x4c4ebe){const _0x3299e8=this[_0x5dbb2a(0x241)](),_0x2740e0=_0x5730fc=>{const _0x28a7fd=_0x5dbb2a;return JSON[_0x28a7fd(0x2da)](_0x5730fc,null,0x2)['split']('\x0a')[_0x28a7fd(0x29c)]((_0x57343c,_0x40bafc)=>_0x40bafc===0x0?_0x57343c:indent+_0x57343c)[_0x28a7fd(0x35e)]('\x0a');};return _0x5dbb2a(0x316)+_0x210437+'.'+_0x5da27b+'('+_0x2740e0(_0x3299e8)+_0x5dbb2a(0x2fc)+_0x210437+'.'+_0x5da27b+'('+_0x2740e0(_0x43f327)+');';}else{const _0x1453ea=JSON[_0x5dbb2a(0x2da)](_0x43f327,null,0x2)[_0x5dbb2a(0x26b)]('\x0a')[_0x5dbb2a(0x29c)]((_0x5bb3b9,_0x1f4d69)=>_0x1f4d69===0x0?_0x5bb3b9:indent+_0x5bb3b9)[_0x5dbb2a(0x35e)]('\x0a');return _0x5dbb2a(0x2ae)+_0x210437+'.'+_0x5da27b+'('+_0x1453ea+');';}}if(Object[_0x5dbb2a(0x2b6)](_0x5ac407)[_0x5dbb2a(0x356)]>0x0){const _0x4b0f11=Object[_0x5dbb2a(0x2b6)](_0x5ac407)[0x0];return _0x5dbb2a(0x2ae)+_0x210437+'.'+_0x5da27b+_0x5dbb2a(0x1a9)+_0x4b0f11+_0x5dbb2a(0x1a0);}return _0x5dbb2a(0x2ae)+_0x210437+'.'+_0x5da27b+_0x5dbb2a(0x31e);}}var AGGREGATE_FUNCTIONS=[a0_0x302a2e(0x183),'count','avg',a0_0x302a2e(0x2b4),'min'],FILTER_OPERATORS=[a0_0x302a2e(0x19c),a0_0x302a2e(0x2f4),a0_0x302a2e(0x151),a0_0x302a2e(0x274),a0_0x302a2e(0x342),a0_0x302a2e(0x307),a0_0x302a2e(0x239),a0_0x302a2e(0x3aa),a0_0x302a2e(0x305),a0_0x302a2e(0x3cd),a0_0x302a2e(0x2b9),'$or'];class FilterOperation extends GenericOperation{constructor(_0x5c8e58,_0x397a6e,_0x4ae1bc){super(_0x5c8e58,_0x397a6e,_0x4ae1bc);}['getOperators'](){return FILTER_OPERATORS;}[a0_0x302a2e(0x2ba)](_0x3f4ae1){const _0x1a40bb=a0_0x302a2e,_0xf7666b=this[_0x1a40bb(0x17c)](_0x3f4ae1);if(!_0xf7666b)return[];return this[_0x1a40bb(0x349)](_0xf7666b);}[a0_0x302a2e(0x256)](){const _0x13aa0a=a0_0x302a2e,_0x40d6f6=super[_0x13aa0a(0x256)](),_0x1e8fab={};_0x1e8fab['type']=_0x13aa0a(0x39f),_0x1e8fab[_0x13aa0a(0x1a2)]=_0x13aa0a(0x290),_0x1e8fab['required']=![];const _0x6a6598={};_0x6a6598[_0x13aa0a(0x343)]=_0x13aa0a(0x1a1),_0x6a6598['description']=_0x13aa0a(0x3cc),_0x6a6598[_0x13aa0a(0x2db)]=![];const _0x478bf2={};_0x478bf2[_0x13aa0a(0x343)]=_0x13aa0a(0x21c),_0x478bf2[_0x13aa0a(0x1a2)]=_0x13aa0a(0x3cf),_0x478bf2[_0x13aa0a(0x2db)]=![];const _0x42aae9={};_0x42aae9[_0x13aa0a(0x343)]=_0x13aa0a(0x407),_0x42aae9[_0x13aa0a(0x1a2)]='当前页码',_0x42aae9['required']=![],_0x42aae9[_0x13aa0a(0x3f4)]=0x1;const _0x57d71b={};_0x57d71b[_0x13aa0a(0x343)]=_0x13aa0a(0x407),_0x57d71b['description']=_0x13aa0a(0x157),_0x57d71b[_0x13aa0a(0x2db)]=![],_0x57d71b['default']=0xa;const _0x109439={..._0x40d6f6};return _0x109439['where']=_0x1e8fab,_0x109439[_0x13aa0a(0x3e2)]=_0x6a6598,_0x109439[_0x13aa0a(0x3a2)]=_0x478bf2,_0x109439[_0x13aa0a(0x1ee)]=_0x42aae9,_0x109439[_0x13aa0a(0x27c)]=_0x57d71b,_0x109439;}[a0_0x302a2e(0x33c)](){const _0x2d6e71=a0_0x302a2e,_0x2bc9bb=this[_0x2d6e71(0x256)](),_0x276a55=[],_0x332c51=[_0x2d6e71(0x35f),'select',_0x2d6e71(0x3a2),'currentPage',_0x2d6e71(0x27c)];return Object[_0x2d6e71(0x323)](_0x2bc9bb)[_0x2d6e71(0x2ab)](([_0x32ab36,_0x71dade])=>{const _0x1b9e05=_0x2d6e71;if(_0x332c51['includes'](_0x32ab36)){const _0xae3b51=_0x71dade,_0x405967={};_0x405967[_0x1b9e05(0x218)]=_0x32ab36,_0x405967[_0x1b9e05(0x343)]=_0xae3b51[_0x1b9e05(0x343)]||_0x1b9e05(0x39f),_0x405967[_0x1b9e05(0x1a2)]=_0xae3b51[_0x1b9e05(0x1a2)]||'-',_0x276a55['push'](_0x405967);}}),_0x276a55;}[a0_0x302a2e(0x3d1)](){const _0x44067e=a0_0x302a2e;return this['context'][_0x44067e(0x2d1)]||[];}['getGroupedParams'](){const _0x36e799=a0_0x302a2e;return{'systemParams':this[_0x36e799(0x33c)](),'businessFields':this[_0x36e799(0x3d1)]()};}[a0_0x302a2e(0x2a9)](){const _0x1084ca=a0_0x302a2e,_0x32816e=this[_0x1084ca(0x366)][_0x1084ca(0x2d1)]||[];if(_0x32816e[_0x1084ca(0x356)]===0x0){const _0x2632f7={};return _0x2632f7[_0x1084ca(0x35f)]={},_0x2632f7[_0x1084ca(0x1ee)]=0x1,_0x2632f7[_0x1084ca(0x27c)]=0x14,_0x2632f7;}const _0x141866={},_0x1a5db0=_0x32816e[_0x1084ca(0x252)](0x0,Math[_0x1084ca(0x389)](0x3,_0x32816e[_0x1084ca(0x356)]));_0x1a5db0[_0x1084ca(0x2ab)](_0x5b0333=>{const _0x278aec=_0x1084ca,_0x2bfa0d=this[_0x278aec(0x349)](_0x5b0333);if(_0x2bfa0d['length']===0x0)return;const _0x4ab651=this[_0x278aec(0x280)](_0x5b0333,_0x2bfa0d),_0x29112e=this['generateExampleValue'](_0x5b0333,_0x4ab651),_0x498488={};_0x498488[_0x4ab651]=_0x29112e,_0x141866[_0x5b0333[_0x278aec(0x218)]]=_0x498488;});const _0x3f3bbc=_0x32816e[_0x1084ca(0x252)](0x0,Math[_0x1084ca(0x389)](0x5,_0x32816e['length']))[_0x1084ca(0x29c)](_0xb50eaf=>_0xb50eaf['code']),_0x2c9052=_0x32816e[0x0]?_0x32816e[0x0][_0x1084ca(0x218)]:'id',_0xe0f2db={};_0xe0f2db[_0x2c9052]='DESC';const _0x1b0296={};return _0x1b0296[_0x1084ca(0x35f)]=_0x141866,_0x1b0296['select']=_0x3f3bbc,_0x1b0296['orderBy']=[_0xe0f2db],_0x1b0296['currentPage']=0x1,_0x1b0296[_0x1084ca(0x27c)]=0x14,_0x1b0296;}[a0_0x302a2e(0x2bc)](_0x3425cb,_0x1ae7e7){const _0x5de2b6=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1ae7e7||{},_0x13c16f=this[_0x5de2b6(0x2d2)](),_0x2015fa=this['generateRequestExample'](),_0x3a402d=_0x22a7bd=>{const _0x350f15=_0x5de2b6;return JSON[_0x350f15(0x2da)](_0x22a7bd,null,0x2)['split']('\x0a')[_0x350f15(0x29c)]((_0x342e8a,_0x5bbf18)=>_0x5bbf18===0x0?_0x342e8a:indent+_0x342e8a)['join']('\x0a');};if(useFullExample){const _0x5f5857=this[_0x5de2b6(0x366)][_0x5de2b6(0x2d1)]||[],_0xd1674f={'where':_0x5f5857[0x0]?{[_0x5f5857[0x0]['code']]:{'$eq':this['generateExampleValue'](_0x5f5857[0x0],_0x5de2b6(0x19c))}}:{},'select':_0x5f5857[_0x5de2b6(0x252)](0x0,0x3)[_0x5de2b6(0x29c)](_0x408ecb=>_0x408ecb[_0x5de2b6(0x218)]),'currentPage':0x1,'pageSize':0x14};let _0x45922c='';if(_0x5f5857[_0x5de2b6(0x356)]>=0x3){const _0x290d59={};_0x290d59[_0x5de2b6(0x2b9)]=[];const _0x56ca18=_0x290d59,_0x597dbd=[];if(_0x5f5857[_0x5de2b6(0x356)]>0x0){const _0x170591=_0x5f5857[_0x5de2b6(0x363)](_0x23b8bf=>{const _0xb27ef5=_0x5de2b6,_0xeecd79=_0x23b8bf['getDbTypeForOperation']();return[_0xb27ef5(0x24b),_0xb27ef5(0x3da),'BIGINT','INT',_0xb27ef5(0x382),_0xb27ef5(0x399)][_0xb27ef5(0x397)](_0xeecd79);});if(_0x170591){const _0x452511={};_0x452511[_0x5de2b6(0x151)]=0x0,_0x452511[_0x5de2b6(0x342)]=0x64;const _0x404d94={[_0x170591['code']]:_0x452511};_0x597dbd[_0x5de2b6(0x3a6)](_0x404d94);}}if(_0x5f5857['length']>0x1){const _0x392a7b=_0x5f5857['find'](_0x5c0909=>{const _0x2d8446=_0x5de2b6,_0x3ac855=_0x5c0909[_0x2d8446(0x25b)]();return[_0x2d8446(0x192),_0x2d8446(0x3d3),_0x2d8446(0x281),'CHAR','LONGTEXT'][_0x2d8446(0x397)](_0x3ac855);});if(_0x392a7b){const _0x34494b={};_0x34494b['$contain']='keyword';const _0x1c56db={[_0x392a7b[_0x5de2b6(0x218)]]:_0x34494b};_0x597dbd[_0x5de2b6(0x3a6)](_0x1c56db);}}if(_0x597dbd['length']>0x0){_0x56ca18['$and']=_0x597dbd;const _0x5ca966={'where':_0x56ca18,'select':_0x5f5857[_0x5de2b6(0x252)](0x0,0x4)[_0x5de2b6(0x29c)](_0x4cae5f=>_0x4cae5f[_0x5de2b6(0x218)]),'orderBy':[{[_0x5f5857[0x0][_0x5de2b6(0x218)]]:_0x5de2b6(0x2d8)}],'currentPage':0x1,'pageSize':0x14};_0x45922c='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x3425cb+'.'+_0x13c16f+'('+_0x3a402d(_0x5ca966)+');';}}return _0x5de2b6(0x21d)+_0x3425cb+'.'+_0x13c16f+'('+_0x3a402d(_0xd1674f)+');'+_0x45922c;}const _0x4e2bf8=JSON['stringify'](_0x2015fa,null,0x2)[_0x5de2b6(0x26b)]('\x0a')['map']((_0x53f7f3,_0x4d1190)=>_0x4d1190===0x0?_0x53f7f3:indent+_0x53f7f3)[_0x5de2b6(0x35e)]('\x0a');return _0x5de2b6(0x2ae)+_0x3425cb+'.'+_0x13c16f+'('+_0x4e2bf8+');';}[a0_0x302a2e(0x349)](_0x80cfaa){const _0x2c92f4=a0_0x302a2e,_0x527f5f=_0x80cfaa[_0x2c92f4(0x25b)](),_0x4d4ad5=[];if(['NUMBER','INTEGER',_0x2c92f4(0x2a7),_0x2c92f4(0x3f5)]['includes'](_0x527f5f)||[_0x2c92f4(0x14b),_0x2c92f4(0x382),_0x2c92f4(0x399),'DOUBLE',_0x2c92f4(0x1b9)]['includes'](_0x527f5f))_0x4d4ad5['push'](_0x2c92f4(0x19c),'$ne','$gte',_0x2c92f4(0x342),_0x2c92f4(0x274),'$lteq',_0x2c92f4(0x239));else{if([_0x2c92f4(0x192),'TEXT','VARCHAR'][_0x2c92f4(0x397)](_0x527f5f)||[_0x2c92f4(0x14a),_0x2c92f4(0x354)][_0x2c92f4(0x397)](_0x527f5f))_0x4d4ad5[_0x2c92f4(0x3a6)]('$eq',_0x2c92f4(0x2f4),'$in',_0x2c92f4(0x3aa),'$startWith',_0x2c92f4(0x3cd));else{if([_0x2c92f4(0x33f),_0x2c92f4(0x30a),_0x2c92f4(0x23f)][_0x2c92f4(0x397)](_0x527f5f)||['TIME'][_0x2c92f4(0x397)](_0x527f5f))_0x4d4ad5[_0x2c92f4(0x3a6)](_0x2c92f4(0x19c),_0x2c92f4(0x2f4),_0x2c92f4(0x151),'$lte',_0x2c92f4(0x274),_0x2c92f4(0x307));else['BOOLEAN',_0x2c92f4(0x2b0),_0x2c92f4(0x39e)][_0x2c92f4(0x397)](_0x527f5f)?_0x4d4ad5[_0x2c92f4(0x3a6)](_0x2c92f4(0x19c),'$ne'):_0x4d4ad5[_0x2c92f4(0x3a6)]('$eq',_0x2c92f4(0x2f4));}}return _0x4d4ad5;}[a0_0x302a2e(0x280)](_0x1cade1,_0x41763c){const _0x45afd1=a0_0x302a2e,_0x4e9170=_0x1cade1[_0x45afd1(0x25b)]();if(['NUMBER','INTEGER',_0x45afd1(0x2a7),_0x45afd1(0x3f5)][_0x45afd1(0x397)](_0x4e9170)||[_0x45afd1(0x14b),_0x45afd1(0x382),'SMALLINT',_0x45afd1(0x391),_0x45afd1(0x1b9)][_0x45afd1(0x397)](_0x4e9170))return _0x41763c[_0x45afd1(0x397)]('$gte')?'$gte':_0x45afd1(0x19c);if(['STRING','TEXT',_0x45afd1(0x281)]['includes'](_0x4e9170)||[_0x45afd1(0x14a),'LONGTEXT'][_0x45afd1(0x397)](_0x4e9170))return _0x41763c[_0x45afd1(0x397)](_0x45afd1(0x3aa))?'$contain':_0x45afd1(0x19c);if([_0x45afd1(0x33f),_0x45afd1(0x30a),_0x45afd1(0x23f),_0x45afd1(0x3ed)]['includes'](_0x4e9170))return _0x41763c['includes']('$gte')?_0x45afd1(0x151):_0x45afd1(0x19c);return _0x45afd1(0x19c);}['generateExampleValue'](_0x20904b,_0x4c79d3){const _0x41451b=a0_0x302a2e,_0x3e5c5b=_0x20904b[_0x41451b(0x25b)](),_0x535950=_0x20904b['getEnumOptions']();if(_0x535950&&_0x535950[_0x41451b(0x356)]>0x0){if(_0x4c79d3===_0x41451b(0x239))return _0x535950['slice'](0x0,0x2)[_0x41451b(0x29c)](_0x12413d=>_0x12413d[_0x41451b(0x3fc)]);return _0x535950[0x0]['value'];}if([_0x41451b(0x24b),'INTEGER',_0x41451b(0x2a7),_0x41451b(0x3f5)]['includes'](_0x3e5c5b)||['INT','TINYINT',_0x41451b(0x399),'DOUBLE','FLOAT']['includes'](_0x3e5c5b)){if(_0x4c79d3==='$in')return[0x1,0x2,0x3];if(_0x4c79d3===_0x41451b(0x151)||_0x4c79d3===_0x41451b(0x274))return 0x0;if(_0x4c79d3===_0x41451b(0x342)||_0x4c79d3===_0x41451b(0x307))return 0x64;return 0x1;}if([_0x41451b(0x192),_0x41451b(0x3d3),_0x41451b(0x281)]['includes'](_0x3e5c5b)||['CHAR',_0x41451b(0x354)][_0x41451b(0x397)](_0x3e5c5b)){if(_0x4c79d3===_0x41451b(0x239))return[_0x41451b(0x20f),_0x41451b(0x40a)];if(_0x4c79d3===_0x41451b(0x3aa))return _0x41451b(0x317);if(_0x4c79d3===_0x41451b(0x305))return _0x41451b(0x178);if(_0x4c79d3===_0x41451b(0x3cd))return _0x41451b(0x223);return _0x41451b(0x3fc);}if([_0x41451b(0x33f),'DATETIME',_0x41451b(0x23f),'TIME'][_0x41451b(0x397)](_0x3e5c5b)){if(_0x4c79d3===_0x41451b(0x151)||_0x4c79d3==='$gteq')return _0x41451b(0x1a4);if(_0x4c79d3===_0x41451b(0x342)||_0x4c79d3===_0x41451b(0x307))return _0x41451b(0x232);return _0x41451b(0x1a4);}if([_0x41451b(0x3f6),_0x41451b(0x2b0),_0x41451b(0x39e)][_0x41451b(0x397)](_0x3e5c5b))return!![];return _0x4c79d3===_0x41451b(0x239)?['value1','value2']:_0x41451b(0x3fc);}[a0_0x302a2e(0x247)](){const _0x31bcfd=a0_0x302a2e,_0x59d297=super[_0x31bcfd(0x256)](),_0x290df3=Object[_0x31bcfd(0x323)](_0x59d297)[_0x31bcfd(0x1a8)](([_0x20ca43])=>_0x20ca43!==_0x31bcfd(0x1ee)&&_0x20ca43!==_0x31bcfd(0x27c))[_0x31bcfd(0x29c)](([_0x26ae40,_0x5219eb])=>{const _0x183609=_0x31bcfd,_0x3ad820=_0x5219eb,_0x17c95a={};return _0x17c95a['name']=_0x26ae40,_0x17c95a[_0x183609(0x343)]=_0x3ad820[_0x183609(0x343)]||_0x183609(0x196),_0x17c95a[_0x183609(0x1a2)]=_0x3ad820[_0x183609(0x1a2)]||'-',_0x17c95a[_0x183609(0x2db)]=_0x3ad820[_0x183609(0x2db)],_0x17c95a;}),_0x2e4799={};return _0x2e4799['description']=_0x31bcfd(0x251),_0x2e4799['params']=_0x290df3,_0x2e4799;}}class ExcelExportOperation extends GenericOperation{[a0_0x302a2e(0x256)](){const _0x2c8c45=a0_0x302a2e,_0x1fb3ab=super['getRequestParams']();if(Object[_0x2c8c45(0x2b6)](_0x1fb3ab)[_0x2c8c45(0x356)]===0x0){const _0x8c7f6e={};this[_0x2c8c45(0x366)][_0x2c8c45(0x2d1)]['forEach'](_0x21e4f7=>{const _0x163736=_0x2c8c45;if(_0x21e4f7){const _0x2dab7c=_0x21e4f7[_0x163736(0x218)],_0x32a27d=_0x21e4f7[_0x163736(0x25b)](),_0x370cc3={};_0x370cc3[_0x163736(0x343)]=_0x32a27d||'TEXT',_0x370cc3['sortNum']=_0x21e4f7[_0x163736(0x2f2)],_0x370cc3[_0x163736(0x1a2)]=_0x21e4f7['description']||_0x21e4f7['name'],_0x8c7f6e[_0x2dab7c]=_0x370cc3;}});const _0x5be6e0={};_0x5be6e0[_0x2c8c45(0x343)]=_0x2c8c45(0x1bd),_0x5be6e0[_0x2c8c45(0x1a2)]='当前页码(可选)',_0x8c7f6e[_0x2c8c45(0x1ee)]=_0x5be6e0;const _0x35f0ca={};return _0x35f0ca[_0x2c8c45(0x343)]='Integer',_0x35f0ca['description']=_0x2c8c45(0x1fa),_0x8c7f6e['pageSize']=_0x35f0ca,_0x8c7f6e;}return _0x1fb3ab;}['generateRequestExample'](){const _0x5e07a7=a0_0x302a2e,_0x18b853=super[_0x5e07a7(0x2a9)]();if(Object[_0x5e07a7(0x2b6)](_0x18b853)[_0x5e07a7(0x356)]===0x0){const _0x3512d8={};return _0x3512d8['currentPage']=0x1,_0x3512d8[_0x5e07a7(0x27c)]=0x64,_0x3512d8;}const _0x5ee4bd={..._0x18b853};return _0x5ee4bd[_0x5e07a7(0x1ee)]=_0x18b853['currentPage']??0x1,_0x5ee4bd['pageSize']=_0x18b853['pageSize']??0x64,_0x5ee4bd;}[a0_0x302a2e(0x18e)](){const _0x4c0134=a0_0x302a2e,_0x517f5d={};return _0x517f5d[_0x4c0134(0x263)]=!![],_0x517f5d[_0x4c0134(0x2ca)]='',_0x517f5d['errorMsg']='',_0x517f5d[_0x4c0134(0x201)]=_0x4c0134(0x346),_0x517f5d[_0x4c0134(0x179)]=_0x4c0134(0x150),_0x517f5d[_0x4c0134(0x17b)]=null,_0x517f5d;}[a0_0x302a2e(0x2bc)](_0x49707f,_0x9f52b5){const _0x482872=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x9f52b5||{},_0x3795e9=this[_0x482872(0x2d2)]();if(useFullExample){const _0x5c730a=this['generateRequestExample'](),{currentPage:_0x204d7d,pageSize:_0xcdc219,..._0x4e9964}=_0x5c730a,_0x241f68=Object[_0x482872(0x2b6)](_0x4e9964)[_0x482872(0x356)]>0x0;if(_0x241f68){const _0x36316c=_0x55aebd=>{const _0x2d4771=_0x482872;return JSON[_0x2d4771(0x2da)](_0x55aebd,null,0x2)[_0x2d4771(0x26b)]('\x0a')[_0x2d4771(0x29c)]((_0x42b2ca,_0x36b388)=>_0x36b388===0x0?_0x42b2ca:indent+_0x42b2ca)[_0x2d4771(0x35e)]('\x0a');};return _0x482872(0x3b1)+_0x49707f+'.'+_0x3795e9+_0x482872(0x171)+_0x49707f+'.'+_0x3795e9+'('+_0x36316c(_0x5c730a)+');';}else{const _0x554c41=_0x55d047=>{const _0x28358f=_0x482872;return JSON['stringify'](_0x55d047,null,0x2)['split']('\x0a')[_0x28358f(0x29c)]((_0x19cfbd,_0x5ac605)=>_0x5ac605===0x0?_0x19cfbd:indent+_0x19cfbd)['join']('\x0a');},_0x19723d={};return _0x19723d[_0x482872(0x1ee)]=0x1,_0x19723d[_0x482872(0x27c)]=0x64,_0x482872(0x3b1)+_0x49707f+'.'+_0x3795e9+_0x482872(0x262)+_0x49707f+'.'+_0x3795e9+'('+_0x554c41(_0x19723d)+');';}}return _0x482872(0x28f)+_0x49707f+'.'+_0x3795e9+_0x482872(0x2af);}[a0_0x302a2e(0x195)](_0x49d158){const _0x1674d9=a0_0x302a2e,_0x57587e=this[_0x1674d9(0x2d2)](),_0x31048a=_0x49d158||'yourModel',_0x4fea34=_0x1674d9(0x31a)+_0x31048a+'.'+_0x57587e+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x392341=_0x1674d9(0x221)+_0x31048a+'.'+_0x57587e+_0x1674d9(0x273),_0xd31f1={};return _0xd31f1[_0x1674d9(0x3e8)]=_0x4fea34,_0xd31f1[_0x1674d9(0x201)]=_0x392341,_0xd31f1;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0xc252b2=a0_0x302a2e;return this[_0xc252b2(0x318)]();}[a0_0x302a2e(0x256)](){const _0x3a2aaa=a0_0x302a2e,_0x3e9077=this['getUpdateFields'](),_0x24526f={};_0x24526f[_0x3a2aaa(0x343)]=_0x3a2aaa(0x24b),_0x24526f['description']=_0x3a2aaa(0x29b),_0x24526f[_0x3a2aaa(0x2db)]=!![];const _0x505f9d={};_0x505f9d['type']=_0x3a2aaa(0x3d7),_0x505f9d[_0x3a2aaa(0x1a2)]='要更新的字段数据对象',_0x505f9d[_0x3a2aaa(0x2db)]=!![],_0x505f9d[_0x3a2aaa(0x404)]=_0x3e9077;const _0xc329d4={};return _0xc329d4['id']=_0x24526f,_0xc329d4[_0x3a2aaa(0x179)]=_0x505f9d,_0xc329d4;}[a0_0x302a2e(0x26e)](){const _0x19ad4c=a0_0x302a2e;return this[_0x19ad4c(0x335)]();}['getHTTPFields'](){const _0x240f97=a0_0x302a2e,_0x572f4f=this[_0x240f97(0x366)][_0x240f97(0x2d1)]||[],_0x21e397=this['context'][_0x240f97(0x2ce)],_0x597683=_0x572f4f[_0x240f97(0x363)](_0x3de4d1=>_0x3de4d1['isPrimaryKey']()||_0x3de4d1[_0x240f97(0x218)]===_0x21e397),_0x3ddc71=_0x572f4f[_0x240f97(0x1a8)](_0x130780=>{const _0x4f0a6d=_0x240f97;if(_0x130780['deleted'])return![];if(_0x130780===_0x597683||_0x130780[_0x4f0a6d(0x3b6)]())return![];if(_0x130780['isCreateTime']()||_0x130780[_0x4f0a6d(0x32c)]())return![];if(_0x130780[_0x4f0a6d(0x27e)]())return![];return!![];});return _0x597683?[_0x597683,..._0x3ddc71]:_0x3ddc71;}['getHTTPRequestParamsDocInfo'](){const _0x2c6082=a0_0x302a2e,_0x256bef=this['getHTTPFields'](),_0x286689=this[_0x2c6082(0x366)][_0x2c6082(0x2ce)],_0xf723cf=_0x256bef[_0x2c6082(0x29c)](_0x465cec=>{const _0x3d12a4=_0x2c6082,_0x2ee3bb=_0x465cec[_0x3d12a4(0x3b6)]()||_0x465cec[_0x3d12a4(0x218)]===_0x286689,_0x19a4fc=_0x2ee3bb?'id':_0x465cec[_0x3d12a4(0x218)],_0x39edaa={};return _0x39edaa[_0x3d12a4(0x3f0)]=_0x19a4fc,_0x39edaa['type']=_0x465cec['type'],_0x39edaa['description']=_0x2ee3bb?'主键,用于定位要更新的记录'+(_0x286689&&_0x286689!==_0x465cec[_0x3d12a4(0x218)]?_0x3d12a4(0x33b)+_0x465cec[_0x3d12a4(0x218)]+')':''):_0x465cec[_0x3d12a4(0x1a2)]||_0x465cec[_0x3d12a4(0x3f0)],_0x39edaa;}),_0x2812a5={};return _0x2812a5[_0x2c6082(0x1a2)]=_0x2c6082(0x2a1),_0x2812a5['params']=_0xf723cf,_0x2812a5;}[a0_0x302a2e(0x247)](){const _0x324f3f=a0_0x302a2e,_0xabd3f5=this[_0x324f3f(0x335)](),_0x4efe19=Object[_0x324f3f(0x323)](_0xabd3f5)['map'](([_0x22e1b8,_0x3d1b0e])=>{const _0x1a594a=_0x324f3f,_0x108212=_0x3d1b0e,_0x261008={};return _0x261008[_0x1a594a(0x3f0)]=_0x22e1b8,_0x261008['type']=_0x108212['type']||_0x1a594a(0x196),_0x261008[_0x1a594a(0x1a2)]=_0x108212['description']||'-',_0x261008;}),_0x125dbe={};return _0x125dbe[_0x324f3f(0x1a2)]='update\x20接口接受两个参数:\x0a\x0a'+'**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a'+'-\x20主键ID,用于定位要更新的记录\x0a\x0a'+'**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a'+_0x324f3f(0x1cd)+_0x324f3f(0x2e6),_0x125dbe[_0x324f3f(0x17b)]=_0x4efe19,_0x125dbe;}[a0_0x302a2e(0x2a9)](){const _0x4b604c=a0_0x302a2e,_0x2a0be9=this['getUpdateFields'](),_0x1342a3={};Object['entries'](_0x2a0be9)[_0x4b604c(0x2ab)](([_0x404119,_0x12c8b7])=>{const _0xea7edd=_0x4b604c,_0x24928e=_0x12c8b7;let _0x291500;if(typeof _0x24928e[_0xea7edd(0x343)]===_0xea7edd(0x28b))_0x291500=_0x24928e[_0xea7edd(0x343)];else _0x24928e[_0xea7edd(0x343)]&&typeof _0x24928e[_0xea7edd(0x343)]===_0xea7edd(0x3d7)?_0x291500=_0x24928e['type'][_0xea7edd(0x343)]||_0xea7edd(0x3d3):_0x291500='TEXT';const _0x197938=_0x24928e[_0xea7edd(0x1a2)],_0x24d7e7=this[_0xea7edd(0x17c)](_0x404119);_0x1342a3[_0x404119]=this[_0xea7edd(0x1f8)](_0x404119,_0x291500,_0x24d7e7?.[_0xea7edd(0x25b)](),{'isPrimaryKey':![],'description':_0x197938||_0x24d7e7?.['description']||_0x24d7e7?.[_0xea7edd(0x3f0)]});});const _0x2188fd={};return _0x2188fd['id']=0x1,_0x2188fd[_0x4b604c(0x179)]=_0x1342a3,_0x2188fd;}[a0_0x302a2e(0x2dc)](){const _0x695ca7=a0_0x302a2e,_0x9692cd=this[_0x695ca7(0x2a9)](),_0xb30829={};return _0xb30829[_0x695ca7(0x331)]=_0x695ca7(0x2c6),_0xb30829[_0x695ca7(0x1a2)]=_0x695ca7(0x1b0)+'-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a'+_0x695ca7(0x2f0),_0xb30829[_0x695ca7(0x179)]=_0x9692cd,[_0xb30829,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x695ca7(0x351)+_0x695ca7(0x17e)+_0x695ca7(0x205),'data':this[_0x695ca7(0x3e9)]()}];}[a0_0x302a2e(0x3e9)](){const _0x1d983a=a0_0x302a2e,_0x5d44bf=this[_0x1d983a(0x335)](),_0x3cc2e1={};_0x3cc2e1['id']=0x1;const _0x1ac3e0=_0x3cc2e1;return Object[_0x1d983a(0x323)](_0x5d44bf)[_0x1d983a(0x2ab)](([_0x1e3715,_0x92c659])=>{const _0x2e7ee2=_0x1d983a,_0x2f054c=_0x92c659;let _0x38195e;if(typeof _0x2f054c[_0x2e7ee2(0x343)]===_0x2e7ee2(0x28b))_0x38195e=_0x2f054c['type'];else _0x2f054c[_0x2e7ee2(0x343)]&&typeof _0x2f054c['type']==='object'?_0x38195e=_0x2f054c[_0x2e7ee2(0x343)][_0x2e7ee2(0x343)]||_0x2e7ee2(0x3d3):_0x38195e=_0x2e7ee2(0x3d3);const _0x562478=_0x2f054c['description'],_0x38feb6=this[_0x2e7ee2(0x17c)](_0x1e3715);if(_0x38feb6?.[_0x2e7ee2(0x3b6)]())return;_0x1ac3e0[_0x1e3715]=this[_0x2e7ee2(0x1f8)](_0x1e3715,_0x38195e,_0x38feb6?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x562478||_0x38feb6?.[_0x2e7ee2(0x1a2)]||_0x38feb6?.[_0x2e7ee2(0x3f0)]});}),_0x1ac3e0;}['generateHTTPExample'](){const _0x557184=a0_0x302a2e;return this[_0x557184(0x3e9)]();}[a0_0x302a2e(0x2bc)](_0xd1f388,_0x53adf9){const _0x5d3ba3=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x53adf9||{},_0x393d96=this[_0x5d3ba3(0x2d2)]();if(useFullExample){const _0x16de34=this[_0x5d3ba3(0x2a9)](),_0x14d883=JSON['stringify'](_0x16de34[_0x5d3ba3(0x179)],null,0x2)[_0x5d3ba3(0x26b)]('\x0a')['map']((_0x39412d,_0xe69f6a)=>_0xe69f6a===0x0?_0x39412d:indent+_0x39412d)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0xd1f388+'.'+_0x393d96+'('+_0x16de34['id']+',\x20'+_0x14d883+');';}return'const\x20result\x20=\x20await\x20client.models.'+_0xd1f388+'.'+_0x393d96+_0x5d3ba3(0x25a);}}class AggregateOperation extends GenericOperation{constructor(_0x576226,_0x1f34de,_0x5ef69b){super(_0x576226,_0x1f34de,_0x5ef69b);}[a0_0x302a2e(0x225)](_0x36a52c){const _0x272d8b=a0_0x302a2e;return _0x36a52c[_0x272d8b(0x213)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x272d8b(0x401)]()[_0x272d8b(0x2b1)]();}[a0_0x302a2e(0x3bf)](){return AGGREGATE_FUNCTIONS;}['getRequestParams'](){const _0x34f9b4=a0_0x302a2e,_0x2556d9=super[_0x34f9b4(0x256)](),_0x10d16b={};_0x10d16b[_0x34f9b4(0x343)]=_0x34f9b4(0x1a1),_0x10d16b[_0x34f9b4(0x1a2)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)',_0x10d16b['required']=![];const _0x561002={};_0x561002[_0x34f9b4(0x343)]=_0x34f9b4(0x39f),_0x561002[_0x34f9b4(0x1a2)]=_0x34f9b4(0x380),_0x561002['required']=![];const _0x3a1ed3={};_0x3a1ed3['type']=_0x34f9b4(0x1a1),_0x3a1ed3[_0x34f9b4(0x1a2)]='分组字段列表',_0x3a1ed3[_0x34f9b4(0x2db)]=![];const _0x55cb21={};_0x55cb21[_0x34f9b4(0x343)]=_0x34f9b4(0x194),_0x55cb21['description']=_0x34f9b4(0x3c8),_0x55cb21['required']=![];const _0x19f2e2={};_0x19f2e2['type']=_0x34f9b4(0x194),_0x19f2e2['description']=_0x34f9b4(0x169),_0x19f2e2[_0x34f9b4(0x2db)]=![];const _0x36eea5={};_0x36eea5['type']=_0x34f9b4(0x194),_0x36eea5[_0x34f9b4(0x1a2)]='排序规则(与\x20Filter\x20API\x20一致)',_0x36eea5['required']=![];const _0x4b83b6={};_0x4b83b6[_0x34f9b4(0x343)]='Number',_0x4b83b6[_0x34f9b4(0x1a2)]='当前页码(从\x201\x20开始,默认:\x201)',_0x4b83b6[_0x34f9b4(0x2db)]=![];const _0x41a033={};_0x41a033['type']=_0x34f9b4(0x407),_0x41a033[_0x34f9b4(0x1a2)]='每页数量(默认:\x2020)',_0x41a033[_0x34f9b4(0x2db)]=![];const _0x1abfcd={..._0x2556d9};return _0x1abfcd['select']=_0x10d16b,_0x1abfcd[_0x34f9b4(0x35f)]=_0x561002,_0x1abfcd['groupBy']=_0x3a1ed3,_0x1abfcd[_0x34f9b4(0x3ff)]=_0x55cb21,_0x1abfcd[_0x34f9b4(0x2cd)]=_0x19f2e2,_0x1abfcd[_0x34f9b4(0x3a2)]=_0x36eea5,_0x1abfcd[_0x34f9b4(0x1ee)]=_0x4b83b6,_0x1abfcd[_0x34f9b4(0x27c)]=_0x41a033,_0x1abfcd;}['getSystemFields'](){const _0x5e103f=a0_0x302a2e,_0x7fc1bc={};_0x7fc1bc['code']=_0x5e103f(0x3e2),_0x7fc1bc['type']=_0x5e103f(0x1a1),_0x7fc1bc['description']='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)';const _0x9a8c={};_0x9a8c[_0x5e103f(0x218)]='where',_0x9a8c[_0x5e103f(0x343)]=_0x5e103f(0x39f),_0x9a8c[_0x5e103f(0x1a2)]=_0x5e103f(0x380);const _0x4e6c3d={};_0x4e6c3d[_0x5e103f(0x218)]=_0x5e103f(0x1e3),_0x4e6c3d[_0x5e103f(0x343)]=_0x5e103f(0x1a1),_0x4e6c3d[_0x5e103f(0x1a2)]=_0x5e103f(0x1ca);const _0x82d072={};_0x82d072[_0x5e103f(0x218)]=_0x5e103f(0x3ff),_0x82d072[_0x5e103f(0x343)]=_0x5e103f(0x194),_0x82d072[_0x5e103f(0x1a2)]=_0x5e103f(0x37e);const _0x43efda={};_0x43efda[_0x5e103f(0x218)]=_0x5e103f(0x2cd),_0x43efda[_0x5e103f(0x343)]=_0x5e103f(0x194),_0x43efda[_0x5e103f(0x1a2)]=_0x5e103f(0x169);const _0x53c9d5={};_0x53c9d5[_0x5e103f(0x218)]=_0x5e103f(0x3a2),_0x53c9d5[_0x5e103f(0x343)]=_0x5e103f(0x194),_0x53c9d5[_0x5e103f(0x1a2)]=_0x5e103f(0x32e);const _0x32c027={};_0x32c027[_0x5e103f(0x218)]=_0x5e103f(0x1ee),_0x32c027[_0x5e103f(0x343)]=_0x5e103f(0x407),_0x32c027['description']=_0x5e103f(0x2c8);const _0xf59ecb={};return _0xf59ecb['code']=_0x5e103f(0x27c),_0xf59ecb[_0x5e103f(0x343)]='Number',_0xf59ecb[_0x5e103f(0x1a2)]=_0x5e103f(0x21b),[_0x7fc1bc,_0x9a8c,_0x4e6c3d,_0x82d072,_0x43efda,_0x53c9d5,_0x32c027,_0xf59ecb];}[a0_0x302a2e(0x2a9)](){const _0x320bb0=a0_0x302a2e,_0xa6ab54=this[_0x320bb0(0x366)]['fields']||[];if(_0xa6ab54['length']===0x0){const _0x2a493e={};return _0x2a493e[_0x320bb0(0x35f)]={},_0x2a493e['groupBy']=[],_0x2a493e[_0x320bb0(0x3ff)]=[],_0x2a493e;}const _0x1faaf9={},_0x503909=_0xa6ab54[_0x320bb0(0x252)](0x0,Math[_0x320bb0(0x389)](0x3,_0xa6ab54[_0x320bb0(0x356)]));_0x503909[_0x320bb0(0x2ab)](_0x2daeb7=>{const _0x2a3e16=_0x320bb0,_0x2d974b=this[_0x2a3e16(0x349)](_0x2daeb7);if(_0x2d974b[_0x2a3e16(0x356)]===0x0)return;const _0x491eb2=this[_0x2a3e16(0x280)](_0x2daeb7,_0x2d974b),_0x3dc888=this['generateExampleValue'](_0x2daeb7,_0x491eb2),_0xaea69a={};_0xaea69a[_0x491eb2]=_0x3dc888,_0x1faaf9[_0x2daeb7[_0x2a3e16(0x218)]]=_0xaea69a;});const _0x560183=_0xa6ab54[_0x320bb0(0x252)](0x0,Math[_0x320bb0(0x389)](0x2,_0xa6ab54[_0x320bb0(0x356)]))[_0x320bb0(0x29c)](_0x5f43f3=>_0x5f43f3[_0x320bb0(0x218)]),_0x4bdaa6=[],_0x38576d=_0xa6ab54[_0x320bb0(0x1a8)](_0x599be2=>this['isNumericField'](_0x599be2));if(_0x38576d['length']>0x0){const _0x371013=_0x38576d[0x0],_0x2ef628=_0x371013[_0x320bb0(0x218)],_0x378128={};_0x378128[_0x320bb0(0x343)]=_0x320bb0(0x183),_0x378128['column']=_0x2ef628,_0x378128[_0x320bb0(0x3ca)]=_0x2ef628+'_sum',_0x378128['distinct']=![],_0x378128[_0x320bb0(0x210)]=!![],_0x378128[_0x320bb0(0x1da)]=0x2,_0x4bdaa6['push'](_0x378128);const _0x122b2b={};_0x122b2b[_0x320bb0(0x343)]='avg',_0x122b2b[_0x320bb0(0x336)]=_0x2ef628,_0x122b2b['alias']=_0x2ef628+_0x320bb0(0x2a0),_0x122b2b['distinct']=![],_0x122b2b[_0x320bb0(0x210)]=!![],_0x122b2b[_0x320bb0(0x1da)]=0x2,_0x4bdaa6['push'](_0x122b2b);const _0x537aa1={};_0x537aa1['type']=_0x320bb0(0x2b4),_0x537aa1[_0x320bb0(0x336)]=_0x2ef628,_0x537aa1['alias']=_0x2ef628+_0x320bb0(0x208),_0x537aa1['distinct']=![],_0x537aa1['round']=!![],_0x537aa1[_0x320bb0(0x1da)]=0x2,_0x4bdaa6[_0x320bb0(0x3a6)](_0x537aa1);const _0x5698b2={};_0x5698b2[_0x320bb0(0x343)]=_0x320bb0(0x389),_0x5698b2[_0x320bb0(0x336)]=_0x2ef628,_0x5698b2[_0x320bb0(0x3ca)]=_0x2ef628+_0x320bb0(0x2ed),_0x5698b2[_0x320bb0(0x321)]=![],_0x5698b2[_0x320bb0(0x210)]=!![],_0x5698b2[_0x320bb0(0x1da)]=0x2,_0x4bdaa6['push'](_0x5698b2);}else{if(_0xa6ab54[_0x320bb0(0x356)]>0x0){const _0x150868=_0xa6ab54[0x0],_0x1d8bfc=_0x150868[_0x320bb0(0x218)],_0x10b2c2={};_0x10b2c2[_0x320bb0(0x343)]=_0x320bb0(0x293),_0x10b2c2[_0x320bb0(0x336)]=_0x1d8bfc,_0x10b2c2['alias']=_0x320bb0(0x15f),_0x10b2c2['distinct']=!![],_0x4bdaa6[_0x320bb0(0x3a6)](_0x10b2c2);}}const _0x8c1eda=[];if(_0xa6ab54['length']>0x0){const _0x10e70b=_0xa6ab54[0x0][_0x320bb0(0x218)],_0x55ae29={};_0x55ae29[_0x10e70b]=_0x320bb0(0x36b),_0x8c1eda[_0x320bb0(0x3a6)](_0x55ae29);}const _0x535db9=[..._0x560183,..._0x4bdaa6[_0x320bb0(0x29c)](_0x1350b1=>_0x1350b1[_0x320bb0(0x3ca)])],_0x35fbef=[];if(_0x4bdaa6['length']>0x0){const _0x4c97e4={};_0x4c97e4[_0x320bb0(0x151)]=0x0;const _0x458e4e={};_0x458e4e[_0x320bb0(0x36a)]=_0x4bdaa6[0x0][_0x320bb0(0x3ca)],_0x458e4e['condition']=_0x4c97e4,_0x35fbef['push'](_0x458e4e);}const _0xf4638b={};return _0xf4638b['select']=_0x535db9,_0xf4638b['where']=_0x1faaf9,_0xf4638b[_0x320bb0(0x1e3)]=_0x560183,_0xf4638b['aggregate']=_0x4bdaa6,_0xf4638b[_0x320bb0(0x2cd)]=_0x35fbef[_0x320bb0(0x356)]>0x0?_0x35fbef:undefined,_0xf4638b[_0x320bb0(0x3a2)]=_0x8c1eda,_0xf4638b[_0x320bb0(0x1ee)]=0x1,_0xf4638b[_0x320bb0(0x27c)]=0x14,_0xf4638b;}[a0_0x302a2e(0x2bc)](_0x1a14be,_0x450089){const _0x3f96ea=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x450089||{},_0x529ba1=this[_0x3f96ea(0x2d2)](),_0x3fc2e0=this['generateRequestExample'](),_0x28f49b=_0x153a13=>{const _0x214884=_0x3f96ea;return JSON[_0x214884(0x2da)](_0x153a13,null,0x2)[_0x214884(0x26b)]('\x0a')[_0x214884(0x29c)]((_0x3bc7c1,_0xba5431)=>_0xba5431===0x0?_0x3bc7c1:indent+_0x3bc7c1)[_0x214884(0x35e)]('\x0a');};if(useFullExample){const _0x65007f=this[_0x3f96ea(0x366)][_0x3f96ea(0x2d1)]||[],_0x3b0f8f=_0x65007f[_0x3f96ea(0x1a8)](_0x45dfbe=>this['isNumericField'](_0x45dfbe)),_0xbbb1cb={'where':_0x65007f[0x0]?{[_0x65007f[0x0][_0x3f96ea(0x218)]]:{'$eq':this[_0x3f96ea(0x268)](_0x65007f[0x0],_0x3f96ea(0x19c))}}:{},'aggregate':_0x3b0f8f[_0x3f96ea(0x356)]>0x0?[{'type':'sum','column':_0x3b0f8f[0x0][_0x3f96ea(0x218)],'alias':_0x3b0f8f[0x0]['code']+_0x3f96ea(0x25f),'distinct':![],'round':!![],'precision':0x2}]:[{'type':'count','column':_0x65007f[0x0][_0x3f96ea(0x218)],'alias':_0x3f96ea(0x15f),'distinct':!![]}],'orderBy':[{[_0x65007f[0x0][_0x3f96ea(0x218)]]:'desc'}]};let _0x977b8a='';return _0x65007f[_0x3f96ea(0x356)]>=0x3&&(_0x977b8a=_0x3f96ea(0x306)+_0x1a14be+'.'+_0x529ba1+'('+_0x28f49b(_0x3fc2e0)+');'),_0x3f96ea(0x279)+_0x1a14be+'.'+_0x529ba1+'('+_0x28f49b(_0xbbb1cb)+');'+_0x977b8a;}const _0x34fe43=JSON[_0x3f96ea(0x2da)](_0x3fc2e0,null,0x2)[_0x3f96ea(0x26b)]('\x0a')[_0x3f96ea(0x29c)]((_0x146b52,_0x2400ae)=>_0x2400ae===0x0?_0x146b52:indent+_0x146b52)[_0x3f96ea(0x35e)]('\x0a');return _0x3f96ea(0x2ae)+_0x1a14be+'.'+_0x529ba1+'('+_0x34fe43+');';}[a0_0x302a2e(0x1b1)](_0x13485b){const _0x401dab=a0_0x302a2e,_0x52d67f=_0x13485b[_0x401dab(0x25b)]();return[_0x401dab(0x24b),_0x401dab(0x3da),_0x401dab(0x2a7),_0x401dab(0x3f5)][_0x401dab(0x397)](_0x52d67f)||[_0x401dab(0x14b),'TINYINT','SMALLINT',_0x401dab(0x391),'FLOAT']['includes'](_0x52d67f);}[a0_0x302a2e(0x349)](_0x3ca865){const _0x54c401=a0_0x302a2e,_0x8cd62d=_0x3ca865[_0x54c401(0x25b)](),_0xaa346a=[];if([_0x54c401(0x24b),_0x54c401(0x3da),'BIGINT',_0x54c401(0x3f5)][_0x54c401(0x397)](_0x8cd62d)||[_0x54c401(0x14b),_0x54c401(0x382),_0x54c401(0x399),'DOUBLE','FLOAT'][_0x54c401(0x397)](_0x8cd62d))_0xaa346a[_0x54c401(0x3a6)](_0x54c401(0x19c),_0x54c401(0x2f4),_0x54c401(0x151),'$lte',_0x54c401(0x274),_0x54c401(0x307),_0x54c401(0x239));else{if(['STRING',_0x54c401(0x3d3),_0x54c401(0x281)]['includes'](_0x8cd62d)||[_0x54c401(0x14a),_0x54c401(0x354)][_0x54c401(0x397)](_0x8cd62d))_0xaa346a[_0x54c401(0x3a6)]('$eq','$ne','$in','$contain',_0x54c401(0x305),'$endWith');else{if(['DATE',_0x54c401(0x30a),_0x54c401(0x23f)][_0x54c401(0x397)](_0x8cd62d)||['TIME'][_0x54c401(0x397)](_0x8cd62d))_0xaa346a['push'](_0x54c401(0x19c),_0x54c401(0x2f4),_0x54c401(0x151),_0x54c401(0x342),_0x54c401(0x274),_0x54c401(0x307));else[_0x54c401(0x3f6),'BOOL',_0x54c401(0x39e)][_0x54c401(0x397)](_0x8cd62d)?_0xaa346a[_0x54c401(0x3a6)]('$eq',_0x54c401(0x2f4)):_0xaa346a[_0x54c401(0x3a6)](_0x54c401(0x19c),'$ne');}}return _0xaa346a;}[a0_0x302a2e(0x280)](_0x26791a,_0x5ae399){const _0x960ca4=a0_0x302a2e,_0x3a9f08=_0x26791a[_0x960ca4(0x25b)]();if([_0x960ca4(0x24b),_0x960ca4(0x3da),_0x960ca4(0x2a7),'DECIMAL'][_0x960ca4(0x397)](_0x3a9f08)||[_0x960ca4(0x14b),'TINYINT','SMALLINT',_0x960ca4(0x391),_0x960ca4(0x1b9)]['includes'](_0x3a9f08))return _0x5ae399['includes'](_0x960ca4(0x151))?_0x960ca4(0x151):_0x960ca4(0x19c);if([_0x960ca4(0x192),_0x960ca4(0x3d3),_0x960ca4(0x281)][_0x960ca4(0x397)](_0x3a9f08)||[_0x960ca4(0x14a),_0x960ca4(0x354)][_0x960ca4(0x397)](_0x3a9f08))return _0x5ae399[_0x960ca4(0x397)]('$contain')?'$contain':_0x960ca4(0x19c);if(['DATE',_0x960ca4(0x30a),_0x960ca4(0x23f),_0x960ca4(0x3ed)][_0x960ca4(0x397)](_0x3a9f08))return _0x5ae399[_0x960ca4(0x397)](_0x960ca4(0x151))?_0x960ca4(0x151):_0x960ca4(0x19c);return'$eq';}['generateExampleValue'](_0x15e67d,_0x4c2f37){const _0x1e1411=a0_0x302a2e,_0x14418b=_0x15e67d['getDbTypeForOperation'](),_0x55d0d5=_0x15e67d[_0x1e1411(0x3c6)]();if(_0x55d0d5&&_0x55d0d5[_0x1e1411(0x356)]>0x0){if(_0x4c2f37===_0x1e1411(0x239))return _0x55d0d5[_0x1e1411(0x252)](0x0,0x2)[_0x1e1411(0x29c)](_0x26045a=>_0x26045a[_0x1e1411(0x3fc)]);return _0x55d0d5[0x0][_0x1e1411(0x3fc)];}if([_0x1e1411(0x24b),_0x1e1411(0x3da),_0x1e1411(0x2a7),_0x1e1411(0x3f5)][_0x1e1411(0x397)](_0x14418b)||['INT',_0x1e1411(0x382),'SMALLINT',_0x1e1411(0x391),_0x1e1411(0x1b9)][_0x1e1411(0x397)](_0x14418b)){if(_0x4c2f37===_0x1e1411(0x239))return[0x1,0x2,0x3];if(_0x4c2f37==='$gte'||_0x4c2f37===_0x1e1411(0x274))return 0x0;if(_0x4c2f37==='$lte'||_0x4c2f37===_0x1e1411(0x307))return 0x64;return 0x1;}if([_0x1e1411(0x192),_0x1e1411(0x3d3),_0x1e1411(0x281)][_0x1e1411(0x397)](_0x14418b)||[_0x1e1411(0x14a),_0x1e1411(0x354)][_0x1e1411(0x397)](_0x14418b)){if(_0x4c2f37==='$in')return[_0x1e1411(0x20f),'value2'];if(_0x4c2f37===_0x1e1411(0x3aa))return'keyword';if(_0x4c2f37===_0x1e1411(0x305))return _0x1e1411(0x178);if(_0x4c2f37==='$endWith')return _0x1e1411(0x223);return _0x1e1411(0x3fc);}if(['DATE','DATETIME','TIMESTAMP',_0x1e1411(0x3ed)][_0x1e1411(0x397)](_0x14418b)){if(_0x4c2f37===_0x1e1411(0x151)||_0x4c2f37===_0x1e1411(0x274))return _0x1e1411(0x1a4);if(_0x4c2f37===_0x1e1411(0x342)||_0x4c2f37===_0x1e1411(0x307))return _0x1e1411(0x232);return _0x1e1411(0x1a4);}if([_0x1e1411(0x3f6),_0x1e1411(0x2b0),_0x1e1411(0x39e)][_0x1e1411(0x397)](_0x14418b))return!![];return _0x4c2f37==='$in'?['value1',_0x1e1411(0x40a)]:_0x1e1411(0x3fc);}['getRequestParamsDocInfo'](){const _0x53246e=a0_0x302a2e,_0x31880f=this[_0x53246e(0x256)](),_0xb6b910=Object[_0x53246e(0x323)](_0x31880f)[_0x53246e(0x1a8)](([_0x13eb4a])=>_0x13eb4a!=='currentPage'&&_0x13eb4a!==_0x53246e(0x27c))['map'](([_0x37ca83,_0x5b8947])=>{const _0x138eaf=_0x53246e,_0x3b6ec0=_0x5b8947,_0x584102={};return _0x584102['name']=_0x37ca83,_0x584102[_0x138eaf(0x343)]=_0x3b6ec0[_0x138eaf(0x343)]||_0x138eaf(0x196),_0x584102['description']=_0x3b6ec0['description']||'-',_0x584102['required']=_0x3b6ec0[_0x138eaf(0x2db)],_0x584102;}),_0x5b571b={};return _0x5b571b[_0x53246e(0x1a2)]='\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',_0x5b571b['params']=_0xb6b910,_0x5b571b;}[a0_0x302a2e(0x18e)](){const _0x4a9a1e=a0_0x302a2e,_0x2dd784=this[_0x4a9a1e(0x2a9)]()[_0x4a9a1e(0x3ff)],_0x4ab70e=[{}],_0x497ce2=[];_0x2dd784?.[_0x4a9a1e(0x2ab)](_0x5985d1=>{const _0x4e587c=_0x4a9a1e,_0x120b88={};_0x120b88[_0x4e587c(0x331)]=_0x5985d1[_0x4e587c(0x3ca)],_0x120b88[_0x4e587c(0x16f)]=_0x5985d1[_0x4e587c(0x3ca)],_0x497ce2[_0x4e587c(0x3a6)](_0x120b88),_0x4ab70e[0x0][_0x5985d1['alias']]=_0x5985d1[_0x4e587c(0x343)]===_0x4e587c(0x293)?0x64:Math[_0x4e587c(0x210)](Math[_0x4e587c(0x1fe)]()*0x64*0x64)/0x64;});const _0x2fe99a={};_0x2fe99a[_0x4a9a1e(0x27c)]=0x1,_0x2fe99a['totalCount']=0x64,_0x2fe99a[_0x4a9a1e(0x1ee)]=0x1;const _0x5b877a={};_0x5b877a[_0x4a9a1e(0x320)]=_0x2fe99a,_0x5b877a['tableData']=_0x4ab70e,_0x5b877a[_0x4a9a1e(0x1ed)]=_0x497ce2;const _0x1ec18f={};return _0x1ec18f[_0x4a9a1e(0x263)]=!![],_0x1ec18f['msg']='',_0x1ec18f[_0x4a9a1e(0x165)]='',_0x1ec18f[_0x4a9a1e(0x201)]=_0x4a9a1e(0x346),_0x1ec18f[_0x4a9a1e(0x179)]=_0x5b877a,_0x1ec18f[_0x4a9a1e(0x17b)]=null,_0x1ec18f;}}class OperationFactory{[a0_0x302a2e(0x289)](_0x3bd3cd,_0xefb866,_0x396f30){const _0x441322=a0_0x302a2e;switch(_0x3bd3cd){case _0x441322(0x2d9):return new GetSelectOptionsOperation(_0x3bd3cd,_0xefb866,_0x396f30);case _0x441322(0x2fd):return new GetListOperation(_0x3bd3cd,_0xefb866,_0x396f30);case _0x441322(0x1a8):return new FilterOperation(_0x3bd3cd,_0xefb866,_0x396f30);case _0x441322(0x1ad):return new ExcelExportOperation(_0x3bd3cd,_0xefb866,_0x396f30);case _0x441322(0x231):return new UpdateOperation(_0x3bd3cd,_0xefb866,_0x396f30);case _0x441322(0x3ff):return new AggregateOperation(_0x3bd3cd,_0xefb866,_0x396f30);default:return new GenericOperation(_0x3bd3cd,_0xefb866,_0x396f30);}}[a0_0x302a2e(0x23a)](_0x353dcd,_0x48d67b){const _0x52327d=a0_0x302a2e,_0x4092f9=new Map();return Object['entries'](_0x353dcd)[_0x52327d(0x2ab)](([_0x2e6760,_0x4ce8b])=>{const _0x6dbb99=_0x52327d;_0x4092f9[_0x6dbb99(0x2c3)](_0x2e6760,this[_0x6dbb99(0x289)](_0x2e6760,_0x4ce8b,_0x48d67b));}),_0x4092f9;}}class OperationList{[a0_0x302a2e(0x17a)];constructor(_0x89ca69,_0xa8e771){const _0x7f03bc=a0_0x302a2e,_0x4a6488=new OperationFactory();this[_0x7f03bc(0x17a)]=_0x4a6488[_0x7f03bc(0x23a)](_0x89ca69,_0xa8e771);}[a0_0x302a2e(0x240)](_0x1d2270){const _0x2a52ce=a0_0x302a2e;return this[_0x2a52ce(0x17a)]['get'](_0x1d2270);}[a0_0x302a2e(0x14c)](_0x45ca2e){const _0x2938ff=a0_0x302a2e;return this[_0x2938ff(0x17a)]['has'](_0x45ca2e);}[a0_0x302a2e(0x170)](){const _0x4ab88f=a0_0x302a2e;return this[_0x4ab88f(0x17a)][_0x4ab88f(0x170)];}[a0_0x302a2e(0x3b5)](){const _0x463f3e=a0_0x302a2e;return Array['from'](this[_0x463f3e(0x17a)]['keys']());}[a0_0x302a2e(0x36e)](){const _0x18160a=a0_0x302a2e,_0x37944f=Array[_0x18160a(0x163)](this[_0x18160a(0x17a)][_0x18160a(0x288)]());return this[_0x18160a(0x383)](_0x37944f);}[a0_0x302a2e(0x2e2)](){const _0x374cb=a0_0x302a2e;return this[_0x374cb(0x36e)]()[_0x374cb(0x1a8)](_0x23585c=>_0x23585c[_0x374cb(0x173)]());}[a0_0x302a2e(0x378)](){const _0x24594e=a0_0x302a2e;return this['toArray']()[_0x24594e(0x1a8)](_0xc353a4=>!_0xc353a4[_0x24594e(0x173)]());}[a0_0x302a2e(0x3c3)](){const _0x2ae800=a0_0x302a2e;return this['getEnabled']()['map'](_0x58a8b6=>_0x58a8b6[_0x2ae800(0x2d2)]());}[a0_0x302a2e(0x28e)](){const _0x592385=a0_0x302a2e;return this[_0x592385(0x378)]()[_0x592385(0x29c)](_0x8d2198=>_0x8d2198['getName']());}[a0_0x302a2e(0x37c)](_0x2fc0e1){const _0x29db4b=a0_0x302a2e;return this['toArray']()['filter'](_0x51d769=>_0x51d769[_0x29db4b(0x3ec)]()===_0x2fc0e1);}[a0_0x302a2e(0x1a8)](_0x4bffe3){const _0x2f6b54=a0_0x302a2e;return this[_0x2f6b54(0x36e)]()[_0x2f6b54(0x1a8)](_0x4bffe3);}[a0_0x302a2e(0x1df)](_0x280ed5={}){const _0x530360=a0_0x302a2e;let _0x24d590=this[_0x530360(0x36e)]();!_0x280ed5['includeDisabled']&&(_0x24d590=_0x24d590[_0x530360(0x1a8)](_0x1dd5c2=>_0x1dd5c2[_0x530360(0x173)]()));if(_0x280ed5[_0x530360(0x2d3)]!==![]){const _0xf19ce9=_0x24d590[_0x530360(0x29c)](_0xdf45e8=>({'name':_0xdf45e8['getName'](),'operation':_0xdf45e8})),_0x10087d=filterApiOperations(_0xf19ce9);_0x24d590=_0x10087d[_0x530360(0x29c)](_0x4c9268=>_0x4c9268[_0x530360(0x402)]),_0x24d590=this[_0x530360(0x383)](_0x24d590);}return _0x280ed5['customFilter']&&(_0x24d590=_0x24d590[_0x530360(0x1a8)](_0x280ed5[_0x530360(0x153)])),_0x24d590;}[a0_0x302a2e(0x383)](_0x58d8c0){const _0x474cdb=a0_0x302a2e,_0x150170=_0x58d8c0[_0x474cdb(0x363)](_0x527582=>_0x527582['getName']()===_0x474cdb(0x1a8)),_0xb50531=_0x58d8c0[_0x474cdb(0x1a8)](_0x425681=>_0x425681[_0x474cdb(0x2d2)]()!==_0x474cdb(0x1a8));return _0x150170?[_0x150170,..._0xb50531]:_0xb50531;}['getStats'](){const _0x2ebf21=a0_0x302a2e,_0x5664b1=this['getEnabled']();return{'total':this[_0x2ebf21(0x170)](),'enabled':_0x5664b1[_0x2ebf21(0x356)],'disabled':this[_0x2ebf21(0x170)]()-_0x5664b1[_0x2ebf21(0x356)],'byType':this[_0x2ebf21(0x181)](_0x5664b1),'byMethod':this[_0x2ebf21(0x348)](_0x5664b1)};}[a0_0x302a2e(0x181)](_0x575479){const _0x505db9={};return _0x575479['forEach'](_0x1df61e=>{const _0x5737b7=a0_0x14b3,_0x277955=_0x1df61e[_0x5737b7(0x3ec)]();_0x277955&&(_0x505db9[_0x277955]=(_0x505db9[_0x277955]||0x0)+0x1);}),_0x505db9;}['getCountByMethod'](_0x7f0fc5){const _0x4facac={};return _0x7f0fc5['forEach'](_0x52e53e=>{const _0x48d8fd=a0_0x14b3,_0x55022e=_0x52e53e[_0x48d8fd(0x20d)]();_0x55022e&&(_0x4facac[_0x55022e]=(_0x4facac[_0x55022e]||0x0)+0x1);}),_0x4facac;}[Symbol[a0_0x302a2e(0x292)]](){const _0x12f31e=a0_0x302a2e;return this[_0x12f31e(0x17a)]['values']();}[a0_0x302a2e(0x408)](){const _0x50d0b7=a0_0x302a2e,_0x229597=this[_0x50d0b7(0x3bb)]();return _0x50d0b7(0x2de)+_0x229597['enabled']+'/'+_0x229597[_0x50d0b7(0x393)]+_0x50d0b7(0x14d);}}class DBConfig{[a0_0x302a2e(0x33e)];[a0_0x302a2e(0x329)];['dbName'];[a0_0x302a2e(0x1f3)];[a0_0x302a2e(0x224)];[a0_0x302a2e(0x1b6)];[a0_0x302a2e(0x390)];[a0_0x302a2e(0x2ce)];[a0_0x302a2e(0x248)];[a0_0x302a2e(0x37d)];constructor(_0x3d001a,_0x271628){const _0x1cba38=a0_0x302a2e;this['raw']=_0x271628,this[_0x1cba38(0x329)]=_0x3d001a[_0x1cba38(0x329)],this[_0x1cba38(0x37a)]=_0x3d001a['dbName'],this[_0x1cba38(0x1f3)]=_0x3d001a[_0x1cba38(0x1f3)],this['dbVersion']=_0x3d001a['dbVersion'],this['tableName']=_0x3d001a[_0x1cba38(0x1b6)],this[_0x1cba38(0x390)]=_0x3d001a[_0x1cba38(0x390)],this['pkField']=_0x3d001a[_0x1cba38(0x2ce)],this[_0x1cba38(0x248)]=_0x3d001a[_0x1cba38(0x248)],this[_0x1cba38(0x37d)]=_0x3d001a[_0x1cba38(0x37d)];}[a0_0x302a2e(0x3f7)](){const _0x156a0d=a0_0x302a2e;return this[_0x156a0d(0x33e)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x302a2e(0x375)];[a0_0x302a2e(0x40b)];[a0_0x302a2e(0x3fa)];constructor(_0x21d151){const _0x3b4984=a0_0x302a2e,_0x31d59a={..._0x21d151};_0x31d59a['id']=_0x21d151[_0x3b4984(0x32b)]||_0x21d151['id'],_0x31d59a[_0x3b4984(0x357)]=_0x21d151[_0x3b4984(0x22b)]||_0x21d151['datasetCode']||_0x21d151['code'],super(_0x31d59a);}[a0_0x302a2e(0x204)](){return;}['getRelations'](){return[];}['getIndexes'](){return[];}get['source'](){return this['getSource']();}[a0_0x302a2e(0x1fc)](){const _0xf48865=a0_0x302a2e;if(!this[_0xf48865(0x40b)])throw new Error(_0xf48865(0x22e));return this['_fieldList'];}[a0_0x302a2e(0x34d)](){const _0x30daaf=a0_0x302a2e;if(!this[_0x30daaf(0x3fa)])throw new Error(_0x30daaf(0x235));return this[_0x30daaf(0x3fa)];}['getFields'](){return[];}[a0_0x302a2e(0x3d5)](){const _0x4c6600=a0_0x302a2e,_0x376786=this[_0x4c6600(0x2e5)]();return _0x376786[_0x4c6600(0x2d1)];}['getFieldCount'](){const _0x1ccc47=a0_0x302a2e;return this[_0x1ccc47(0x325)]()[_0x1ccc47(0x356)];}[a0_0x302a2e(0x1b4)](_0xf58221){const _0x3df725=a0_0x302a2e,_0x48e53f=this[_0x3df725(0x29d)](_0xf58221);return _0x48e53f?_0x48e53f[_0x3df725(0x33e)]:undefined;}[a0_0x302a2e(0x3d4)](_0x47415b){return;}[a0_0x302a2e(0x312)](_0xc296fa){const _0x42110e=a0_0x302a2e;if(!_0xc296fa||typeof _0xc296fa!==_0x42110e(0x3d7))return!![]&&console['warn'](_0x42110e(0x3e5),_0xc296fa),{};if(_0x42110e(0x2ce)in _0xc296fa){const _0x2df0c4=_0xc296fa;return{'primaryKey':typeof _0x2df0c4['pkField']===_0x42110e(0x23d)?_0x2df0c4[_0x42110e(0x2ce)]:Boolean(_0x2df0c4[_0x42110e(0x2ce)]),'required':_0x2df0c4[_0x42110e(0x2db)],'systemRetain':Boolean(_0x2df0c4['systemRetain']),'autoIncrement':_0x2df0c4['autoIncrement']??undefined};}if(!(_0x42110e(0x327)in _0xc296fa)||!_0xc296fa['extend'])return{};try{const _0x3b719d=typeof _0xc296fa[_0x42110e(0x327)]===_0x42110e(0x28b)?JSON[_0x42110e(0x1d5)](_0xc296fa['extend']):_0xc296fa[_0x42110e(0x327)];if(typeof _0x3b719d!=='object'||_0x3b719d===null)return{};return _0x3b719d;}catch{return{};}}[a0_0x302a2e(0x27d)](){const _0x3d2cef=a0_0x302a2e;if(!this['_operationList']){const _0xf488cd=this[_0x3d2cef(0x1d4)](this['getOperationsData']()||{});this[_0x3d2cef(0x375)]=new OperationList(_0xf488cd,{'fields':this['getFieldList']()[_0x3d2cef(0x32a)](),'pkField':this[_0x3d2cef(0x322)][_0x3d2cef(0x1e9)]?.[_0x3d2cef(0x2ce)],'dbtableConfig':this[_0x3d2cef(0x322)]['dbtableConfig']||null});}return this[_0x3d2cef(0x375)];}[a0_0x302a2e(0x1d4)](_0x41fcbc){const _0x640fea=a0_0x302a2e;if(_0x41fcbc['filter']!==undefined)return _0x41fcbc;return{..._0x41fcbc,'filter':this[_0x640fea(0x31b)]()};}['generateDefaultFilterOperation'](){const _0x6d143f=a0_0x302a2e,_0x48f4ca=this['getOperationsData']()?.[_0x6d143f(0x2fd)];let _0x454574=_0x48f4ca?.[_0x6d143f(0x39b)],_0x4161d8='';if(!_0x454574&&this[_0x6d143f(0x2d4)]()){const _0x42513f=Object[_0x6d143f(0x288)](this[_0x6d143f(0x2d4)]());for(const _0x121609 of _0x42513f){if(_0x121609&&typeof _0x121609===_0x6d143f(0x3d7)&&'host'in _0x121609){_0x454574=_0x121609[_0x6d143f(0x39b)];break;}}}if(_0x48f4ca?.[_0x6d143f(0x176)]){const _0x35dbed=_0x48f4ca[_0x6d143f(0x176)],_0x25dfe0=_0x35dbed[_0x6d143f(0x358)]('/');_0x25dfe0!==-0x1&&(_0x4161d8=_0x35dbed['substring'](0x0,_0x25dfe0));}const _0x3157a3={};_0x3157a3['name']=_0x6d143f(0x35f),_0x3157a3[_0x6d143f(0x343)]=_0x6d143f(0x3d7),_0x3157a3[_0x6d143f(0x2db)]=![];const _0x3713e8={};_0x3713e8['name']=_0x6d143f(0x3e2),_0x3713e8[_0x6d143f(0x343)]=_0x6d143f(0x197),_0x3713e8[_0x6d143f(0x2db)]=![];const _0x119c5e={};_0x119c5e[_0x6d143f(0x3f0)]=_0x6d143f(0x3a2),_0x119c5e[_0x6d143f(0x343)]=_0x6d143f(0x197),_0x119c5e[_0x6d143f(0x2db)]=![];const _0x5428b9={};_0x5428b9[_0x6d143f(0x3f0)]='currentPage',_0x5428b9[_0x6d143f(0x343)]=_0x6d143f(0x3f1),_0x5428b9[_0x6d143f(0x2db)]=![],_0x5428b9[_0x6d143f(0x3f4)]=0x1;const _0x57b88d={};_0x57b88d['name']=_0x6d143f(0x27c),_0x57b88d['type']=_0x6d143f(0x3f1),_0x57b88d[_0x6d143f(0x2db)]=![],_0x57b88d[_0x6d143f(0x3f4)]=0xa;const _0x3959cf={};return _0x3959cf['name']=_0x6d143f(0x1a8),_0x3959cf['type']=_0x6d143f(0x164),_0x3959cf[_0x6d143f(0x1a2)]=_0x6d143f(0x2c7),_0x3959cf[_0x6d143f(0x373)]=_0x6d143f(0x38b),_0x3959cf['host']=_0x454574,_0x3959cf['path']=_0x4161d8?_0x4161d8+_0x6d143f(0x216):_0x6d143f(0x216),_0x3959cf[_0x6d143f(0x17b)]=_0x48f4ca?.[_0x6d143f(0x17b)]||[_0x3157a3,_0x3713e8,_0x119c5e,_0x5428b9,_0x57b88d],_0x3959cf[_0x6d143f(0x244)]=!![],_0x3959cf;}['getOperations'](){const _0x9d9fa7=a0_0x302a2e;return this[_0x9d9fa7(0x27d)]()[_0x9d9fa7(0x36e)]();}[a0_0x302a2e(0x25c)](){const _0x3f5d30=a0_0x302a2e;return this[_0x3f5d30(0x27d)]()[_0x3f5d30(0x170)]();}[a0_0x302a2e(0x278)](_0x83746a){const _0x360577=a0_0x302a2e;if(typeof _0x83746a!=='string'){!![]&&console['warn']('[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:',_0x83746a);return;}return this[_0x360577(0x27d)]()[_0x360577(0x240)](_0x83746a);}[a0_0x302a2e(0x180)](_0x1ec903){const _0xe429cd=a0_0x302a2e;if(typeof _0x1ec903!==_0xe429cd(0x28b))return![];return this['getOperationList']()['has'](_0x1ec903);}['isOperationEnabled'](_0xa95805){const _0x54c1f2=a0_0x302a2e;if(typeof _0xa95805!==_0x54c1f2(0x28b))return![];const _0x451a10=this[_0x54c1f2(0x278)](_0xa95805);return _0x451a10?.[_0x54c1f2(0x173)]()||![];}[a0_0x302a2e(0x206)](){const _0x440022=a0_0x302a2e;return this[_0x440022(0x27d)]()[_0x440022(0x3c3)]();}[a0_0x302a2e(0x22c)](){const _0x461992=a0_0x302a2e;return this[_0x461992(0x27d)]()[_0x461992(0x28e)]();}[a0_0x302a2e(0x1f6)](){const _0x485ad3=a0_0x302a2e;return this[_0x485ad3(0x27d)]()[_0x485ad3(0x2e2)]();}[a0_0x302a2e(0x3b2)](){const _0x377dea=a0_0x302a2e;return this[_0x377dea(0x27d)]()[_0x377dea(0x378)]();}['getFilteredOperations'](_0x5e1cd4={}){const _0x1a2d89=a0_0x302a2e;return this[_0x1a2d89(0x27d)]()['getFiltered'](_0x5e1cd4);}[a0_0x302a2e(0x3bb)](){const _0x3a5856=a0_0x302a2e;return{'fieldCount':this[_0x3a5856(0x275)](),'systemFieldCount':this[_0x3a5856(0x33c)]()[_0x3a5856(0x356)],'businessFieldCount':this[_0x3a5856(0x3d1)]()['length'],'requiredFieldCount':this['getRequiredFields']()[_0x3a5856(0x356)],'primaryKeyCount':this[_0x3a5856(0x155)]()[_0x3a5856(0x356)],'operationCount':this['getOperationCount'](),'enabledOperationCount':this[_0x3a5856(0x206)]()[_0x3a5856(0x356)]};}[a0_0x302a2e(0x347)](_0x125f30){const _0x598a89=a0_0x302a2e;if(!_0x125f30||typeof _0x125f30!==_0x598a89(0x3d7))return'';if('code'in _0x125f30&&typeof _0x125f30[_0x598a89(0x218)]===_0x598a89(0x28b))return _0x125f30[_0x598a89(0x218)];if(_0x598a89(0x3f0)in _0x125f30&&typeof _0x125f30[_0x598a89(0x3f0)]===_0x598a89(0x28b))return _0x125f30[_0x598a89(0x3f0)];return'';}[a0_0x302a2e(0x2ac)](_0x5d30d2){const _0x338728=a0_0x302a2e;return this[_0x338728(0x1fc)]()[_0x338728(0x14c)](_0x5d30d2);}[a0_0x302a2e(0x29a)](_0x433fb1){const _0x315736=a0_0x302a2e;if(!_0x433fb1||typeof _0x433fb1!==_0x315736(0x3d7))return![];const _0x2b6628=this[_0x315736(0x347)](_0x433fb1),_0x4211d7=this[_0x315736(0x29d)](_0x2b6628);return _0x4211d7?_0x4211d7['isPrimaryKey']():![];}[a0_0x302a2e(0x1fd)](_0x5eff13){const _0x4d4288=a0_0x302a2e;if(!_0x5eff13||typeof _0x5eff13!==_0x4d4288(0x3d7))return![];const _0x410a19=this[_0x4d4288(0x347)](_0x5eff13),_0x18dcf7=this['getFieldInstance'](_0x410a19);return _0x18dcf7?_0x18dcf7[_0x4d4288(0x374)]():![];}['isRequiredField'](_0x3bc431){const _0x555b51=a0_0x302a2e;if(!_0x3bc431||typeof _0x3bc431!==_0x555b51(0x3d7))return![];const _0x708b1d=this[_0x555b51(0x347)](_0x3bc431),_0xf8f04c=this[_0x555b51(0x29d)](_0x708b1d);return _0xf8f04c?_0xf8f04c['isRequired']():![];}[a0_0x302a2e(0x26a)](_0x4f75bb){const _0x23f3fc=a0_0x302a2e;if(!_0x4f75bb||typeof _0x4f75bb!==_0x23f3fc(0x3d7))return![];const _0x561282=this[_0x23f3fc(0x347)](_0x4f75bb),_0x3df0b1=this[_0x23f3fc(0x29d)](_0x561282);return _0x3df0b1?_0x3df0b1[_0x23f3fc(0x409)]():![];}[a0_0x302a2e(0x34b)](_0x1a7630){const _0x2ebc4c=a0_0x302a2e;if(!_0x1a7630||typeof _0x1a7630!=='object')return![];const _0x243561=this[_0x2ebc4c(0x347)](_0x1a7630),_0x53c4e5=this['getFieldInstance'](_0x243561);return _0x53c4e5?_0x53c4e5[_0x2ebc4c(0x21f)]():![];}['getFieldOptions'](_0x5a1963){const _0x4ef7a7=a0_0x302a2e;if(!_0x5a1963||typeof _0x5a1963!==_0x4ef7a7(0x3d7))return[];const _0x3ac7f5=this[_0x4ef7a7(0x347)](_0x5a1963),_0x12daf4=this['getFieldInstance'](_0x3ac7f5);if(!_0x12daf4||!_0x12daf4['isEnum']())return[];return _0x12daf4['getEnumOptions']()||[];}[a0_0x302a2e(0x3f3)](_0x283eee){const _0xf41bb6=a0_0x302a2e;if(!_0x283eee||typeof _0x283eee!=='object')return;const _0xef5e3=this[_0xf41bb6(0x347)](_0x283eee),_0x463860=this[_0xf41bb6(0x29d)](_0xef5e3);if(!_0x463860||!_0x463860['isEnum']())return;return _0x463860[_0xf41bb6(0x372)]();}[a0_0x302a2e(0x258)](_0x46de5b){const _0x47cadb=a0_0x302a2e;if(!_0x46de5b||typeof _0x46de5b!==_0x47cadb(0x3d7))return;const _0x1d7402=this[_0x47cadb(0x347)](_0x46de5b),_0x441db2=this[_0x47cadb(0x29d)](_0x1d7402);if(!_0x441db2||!_0x441db2['isEnum']())return;return _0x441db2[_0x47cadb(0x190)]();}['getPrimaryKeyFields'](){const _0x1d3b04=a0_0x302a2e;return this[_0x1d3b04(0x1fc)]()[_0x1d3b04(0x2be)]()[_0x1d3b04(0x29c)](_0x13a69c=>_0x13a69c['raw']);}['getSystemFields'](){const _0x4f20c3=a0_0x302a2e;return this['getFieldList']()[_0x4f20c3(0x3e3)]()[_0x4f20c3(0x29c)](_0x4a3a50=>_0x4a3a50[_0x4f20c3(0x33e)]);}[a0_0x302a2e(0x3d1)](){const _0xcf1f51=a0_0x302a2e;return this[_0xcf1f51(0x1fc)]()[_0xcf1f51(0x2ec)]()[_0xcf1f51(0x29c)](_0x357786=>_0x357786[_0xcf1f51(0x33e)]);}[a0_0x302a2e(0x177)](){const _0x428d74=a0_0x302a2e;return this[_0x428d74(0x1fc)]()[_0x428d74(0x24e)]()[_0x428d74(0x29c)](_0x8fe00a=>_0x8fe00a[_0x428d74(0x33e)]);}['getFieldsByType'](){const _0x4d2a6c=a0_0x302a2e,_0x4f48c4=this[_0x4d2a6c(0x1fc)]()[_0x4d2a6c(0x198)](),_0xe76850={};for(const [_0x445dba,_0x289437]of Object['entries'](_0x4f48c4)){_0xe76850[_0x445dba]=_0x289437[_0x4d2a6c(0x29c)](_0x21c6f5=>_0x21c6f5[_0x4d2a6c(0x33e)]);}return _0xe76850;}[a0_0x302a2e(0x1be)](){const _0x58b552=a0_0x302a2e;return this[_0x58b552(0x1fc)]()[_0x58b552(0x369)]()[_0x58b552(0x29c)](_0xaa6c34=>_0xaa6c34[_0x58b552(0x33e)]);}['getEnumFieldsMeta'](){const _0x17eadb=a0_0x302a2e,_0x2dd7f2={};return this[_0x17eadb(0x1be)]()[_0x17eadb(0x2ab)](_0x57c741=>{const _0x58b27f=_0x17eadb,_0x366e46=this[_0x58b27f(0x258)](_0x57c741);if(_0x366e46){const _0x803f63=this[_0x58b27f(0x347)](_0x57c741);_0x2dd7f2[_0x803f63]=_0x366e46;}}),_0x2dd7f2;}['validateEnumValue'](_0x35893d,_0x4827e7){const _0x295014=a0_0x302a2e,_0x595e01=this[_0x295014(0x258)](_0x35893d);if(!_0x595e01)return!![];if(_0x595e01['selectItemsSource']&&!_0x595e01[_0x295014(0x2f1)])return!![];const _0x31d8ff=this[_0x295014(0x347)](_0x35893d),_0x467f30=this[_0x295014(0x29d)](_0x31d8ff),_0x421e3e=_0x467f30?_0x467f30['isMultipleSelect']():![];if(_0x421e3e&&Array[_0x295014(0x33a)](_0x4827e7))return _0x4827e7[_0x295014(0x22a)](_0x40b1ac=>_0x595e01[_0x295014(0x288)]['includes'](_0x40b1ac));return _0x595e01[_0x295014(0x288)][_0x295014(0x397)](_0x4827e7);}[a0_0x302a2e(0x333)](){const _0x28b208=a0_0x302a2e;return new DatasetItem({'id':this['id'],'name':this[_0x28b208(0x3f0)],'datasetCode':this[_0x28b208(0x357)],'dbtableConfig':this[_0x28b208(0x339)]()});}[a0_0x302a2e(0x408)](){const _0xf6627c=a0_0x302a2e;return _0xf6627c(0x14f)+this[_0xf6627c(0x3f0)]+',\x20'+this['datasetCode']+',\x20'+this[_0xf6627c(0x275)]()+_0xf6627c(0x156)+this[_0xf6627c(0x25c)]()+_0xf6627c(0x3f9)+this[_0xf6627c(0x24d)]()+')';}[a0_0x302a2e(0x350)](){const _0x22875e=a0_0x302a2e;return this[_0x22875e(0x2e9)](_0x22875e(0x1a8));}['getFieldFilterOperators'](_0x1cf51b){const _0x7d0c9=a0_0x302a2e;return this[_0x7d0c9(0x3d8)](_0x7d0c9(0x1a8),_0x1cf51b);}[a0_0x302a2e(0x315)](){return this['getOperationFieldsOperatorsMap']('filter');}['getOperationOperators'](_0x907ce0){const _0x13e0e5=a0_0x302a2e,_0x42a5aa=this[_0x13e0e5(0x278)](_0x907ce0);return _0x42a5aa?_0x42a5aa[_0x13e0e5(0x3b7)]():[];}[a0_0x302a2e(0x3d8)](_0x391c32,_0x447d13){const _0x1c62b2=a0_0x302a2e,_0x550dbd=this[_0x1c62b2(0x278)](_0x391c32);return _0x550dbd?_0x550dbd[_0x1c62b2(0x2ba)](_0x447d13):[];}[a0_0x302a2e(0x1ef)](_0x570a9d){const _0x2b1acb=a0_0x302a2e,_0x3e1df5={};return this['getFieldList']()[_0x2b1acb(0x2ab)](_0x4e6979=>{const _0x134557=_0x2b1acb,_0x1ec0b3=this['getOperationFieldOperators'](_0x570a9d,_0x4e6979[_0x134557(0x218)]);_0x1ec0b3['length']>0x0&&(_0x3e1df5[_0x4e6979[_0x134557(0x218)]]=_0x1ec0b3);}),_0x3e1df5;}[a0_0x302a2e(0x371)](_0x40f57b,_0xebe485,_0x15d2db){const _0x427bd7=a0_0x302a2e,_0x5a2e13=this[_0x427bd7(0x3d8)](_0x40f57b,_0xebe485);return _0x5a2e13[_0x427bd7(0x397)](_0x15d2db);}}class FieldBase{get[a0_0x302a2e(0x1f3)](){return;}get[a0_0x302a2e(0x15b)](){return;}get['displayName'](){return;}get['doType'](){return;}[a0_0x302a2e(0x271)](){const _0xf653ca=a0_0x302a2e;return!this[_0xf653ca(0x374)]();}[a0_0x302a2e(0x3fd)](){const _0x2fb943=a0_0x302a2e;return this[_0x2fb943(0x1c8)];}[a0_0x302a2e(0x409)](){const _0x4fa4a7=a0_0x302a2e,_0x1631f1=[_0x4fa4a7(0x1e0),'SELECT',_0x4fa4a7(0x202)];return _0x1631f1[_0x4fa4a7(0x397)](this['type']);}[a0_0x302a2e(0x21f)](){const _0x48206e=a0_0x302a2e;return this[_0x48206e(0x343)]===_0x48206e(0x202);}[a0_0x302a2e(0x308)](){const _0x5101d8=a0_0x302a2e,_0x409e58=this[_0x5101d8(0x190)]();return _0x409e58?.['values']||[];}['getEnumMeta'](){const _0x23215d=a0_0x302a2e;if(!this[_0x23215d(0x409)]())return;const _0x120d50=this['getEnumOptions'](),_0x4efce6=this[_0x23215d(0x372)](),_0x4f3361=[],_0x1d32df={},_0x413dfb=_0x5863a4=>{const _0xf1cf54=_0x23215d;_0x5863a4[_0xf1cf54(0x2ab)](_0x2e9c76=>{const _0x5ae32e=_0xf1cf54;if(!_0x2e9c76||typeof _0x2e9c76!==_0x5ae32e(0x3d7))return;_0x2e9c76[_0x5ae32e(0x3fc)]!==undefined&&_0x2e9c76['value']!==null&&(_0x4f3361[_0x5ae32e(0x3a6)](_0x2e9c76['value']),_0x1d32df[String(_0x2e9c76[_0x5ae32e(0x3fc)])]=_0x2e9c76['label']||''),_0x2e9c76['children']&&Array[_0x5ae32e(0x33a)](_0x2e9c76['children'])&&_0x2e9c76[_0x5ae32e(0x3df)][_0x5ae32e(0x356)]>0x0&&_0x413dfb(_0x2e9c76[_0x5ae32e(0x3df)]);});};return _0x120d50&&Array[_0x23215d(0x33a)](_0x120d50)&&_0x120d50[_0x23215d(0x356)]>0x0&&_0x413dfb(_0x120d50),{'code':this[_0x23215d(0x218)],'name':this['name'],'type':this[_0x23215d(0x343)],'multiple':this['isMultipleSelect'](),'options':_0x120d50,'selectItemsSource':_0x4efce6,'values':_0x4f3361,'valueLabels':_0x1d32df};}get[a0_0x302a2e(0x360)](){const _0x386795=a0_0x302a2e;return this[_0x386795(0x308)]();}[a0_0x302a2e(0x408)](){const _0x3d011e=a0_0x302a2e;return'Field('+this[_0x3d011e(0x3f0)]+',\x20'+this['code']+',\x20'+this[_0x3d011e(0x343)]+',\x20'+this[_0x3d011e(0x24d)]()+')';}}class FieldV1 extends FieldBase{['_raw'];[a0_0x302a2e(0x2b5)]=null;constructor(_0x1535b1){const _0x262d52=a0_0x302a2e;super();if(!_0x1535b1||typeof _0x1535b1!=='object')throw new Error(_0x262d52(0x1c2));this['_raw']=_0x1535b1;}[a0_0x302a2e(0x2bd)](){return this['_raw'];}[a0_0x302a2e(0x24d)](){return'v1';}get[a0_0x302a2e(0x33e)](){return this['_raw'];}get['name'](){const _0x5e8978=a0_0x302a2e;return this[_0x5e8978(0x322)][_0x5e8978(0x3f0)]||'';}get[a0_0x302a2e(0x218)](){const _0x1b83db=a0_0x302a2e;return this[_0x1b83db(0x322)][_0x1b83db(0x218)]||'';}get['type'](){const _0x58746d=a0_0x302a2e;return this['_raw'][_0x58746d(0x343)]||'';}get[a0_0x302a2e(0x1a2)](){const _0x185f30=a0_0x302a2e;return this[_0x185f30(0x322)]['description']||'';}get[a0_0x302a2e(0x1c8)](){const _0x96c985=a0_0x302a2e;return Boolean(this[_0x96c985(0x322)][_0x96c985(0x1c8)]);}get[a0_0x302a2e(0x1f3)](){const _0x4b7679=a0_0x302a2e;return this[_0x4b7679(0x322)][_0x4b7679(0x1f3)];}get[a0_0x302a2e(0x15b)](){const _0x583bc6=a0_0x302a2e;return this[_0x583bc6(0x322)]['dbTypeLen'];}get[a0_0x302a2e(0x385)](){const _0x4bee32=a0_0x302a2e;return this['_raw'][_0x4bee32(0x3ca)];}get[a0_0x302a2e(0x377)](){return;}get['extend'](){const _0x450455=a0_0x302a2e;if(this['_extend']!==null&&typeof this['_extend']===_0x450455(0x3d7))return this[_0x450455(0x2b5)];const _0x19d873=this['_raw'][_0x450455(0x327)];if(!_0x19d873||typeof _0x19d873!==_0x450455(0x28b))return this[_0x450455(0x2b5)]={},this[_0x450455(0x2b5)];if(_0x19d873==='null'||_0x19d873[_0x450455(0x401)]()===_0x450455(0x3de))return this[_0x450455(0x2b5)]={},this['_extend'];try{const _0x2dea32=JSON[_0x450455(0x1d5)](_0x19d873);return this[_0x450455(0x2b5)]=_0x2dea32!==null&&typeof _0x2dea32===_0x450455(0x3d7)&&!Array['isArray'](_0x2dea32)?_0x2dea32:{},this['_extend'];}catch(_0x4d9cc5){return!![]&&console['warn']('[FieldV1.extend]\x20解析字段\x20'+this[_0x450455(0x218)]+'\x20的\x20extend\x20配置失败:',_0x4d9cc5),this['_extend']={},this[_0x450455(0x2b5)];}}[a0_0x302a2e(0x149)](){const _0x383f79=a0_0x302a2e;return Boolean(this[_0x383f79(0x327)][_0x383f79(0x2db)]);}[a0_0x302a2e(0x3b6)](){const _0x5c33f1=a0_0x302a2e;return Boolean(this[_0x5c33f1(0x327)][_0x5c33f1(0x1c4)]||this[_0x5c33f1(0x327)]['pkField']);}[a0_0x302a2e(0x374)](){const _0x21d97a=a0_0x302a2e;return Boolean(this['extend'][_0x21d97a(0x23b)]);}[a0_0x302a2e(0x27e)](){const _0x2955fd=a0_0x302a2e;return Boolean(this['extend'][_0x2955fd(0x394)]);}['isCreateTime'](){const _0x2f90b9=a0_0x302a2e;return Boolean(this[_0x2f90b9(0x327)][_0x2f90b9(0x3a8)]);}[a0_0x302a2e(0x32c)](){const _0x35175c=a0_0x302a2e;return Boolean(this['extend'][_0x35175c(0x406)]);}[a0_0x302a2e(0x388)](){const _0x1aa0a9=a0_0x302a2e;return this[_0x1aa0a9(0x3f0)];}['getFieldName'](){const _0x371403=a0_0x302a2e;return this[_0x371403(0x218)];}['isEnum'](){const _0x2ec84a=a0_0x302a2e,_0x5dec35=[_0x2ec84a(0x1e0),_0x2ec84a(0x1f4),'CHECKBOX'];if(_0x5dec35[_0x2ec84a(0x397)](this[_0x2ec84a(0x343)]))return!![];const _0x26168d=this[_0x2ec84a(0x327)];return Boolean(_0x26168d[_0x2ec84a(0x2f1)]&&Array[_0x2ec84a(0x33a)](_0x26168d[_0x2ec84a(0x2f1)])&&_0x26168d[_0x2ec84a(0x2f1)]['length']>0x0||_0x26168d[_0x2ec84a(0x20a)]);}[a0_0x302a2e(0x21f)](){const _0x43c5c1=a0_0x302a2e;if(this[_0x43c5c1(0x343)]===_0x43c5c1(0x202))return!![];return Boolean(this[_0x43c5c1(0x327)]['multiple']);}[a0_0x302a2e(0x3c6)](){const _0x75fb64=a0_0x302a2e,_0xbed79e=this[_0x75fb64(0x327)];if(_0xbed79e[_0x75fb64(0x2f1)]&&Array[_0x75fb64(0x33a)](_0xbed79e[_0x75fb64(0x2f1)]))return _0xbed79e[_0x75fb64(0x2f1)];return;}['getSelectItemsSource'](){const _0x1bca10=a0_0x302a2e,_0x59b447=this[_0x1bca10(0x327)];if(_0x59b447['selectItemsSource']&&typeof _0x59b447[_0x1bca10(0x20a)]===_0x1bca10(0x3d7))return _0x59b447['selectItemsSource'];return;}[a0_0x302a2e(0x25b)](){const _0x423338=a0_0x302a2e;return this[_0x423338(0x343)][_0x423338(0x2b1)]();}[a0_0x302a2e(0x3bc)](){return this['extend']['defaultValue'];}[a0_0x302a2e(0x396)](){const _0x5724d1=a0_0x302a2e;return this[_0x5724d1(0x327)][_0x5724d1(0x345)];}['toJSON'](){const _0x531b7d=a0_0x302a2e;return{'name':this['name'],'code':this[_0x531b7d(0x218)],'type':this[_0x531b7d(0x343)],'dbType':this[_0x531b7d(0x1f3)],'dbTypeLen':this[_0x531b7d(0x15b)],'description':this[_0x531b7d(0x1a2)],'required':this[_0x531b7d(0x149)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x531b7d(0x374)](),'autoIncrement':this[_0x531b7d(0x27e)](),'createTime':this[_0x531b7d(0x2f5)](),'updateTime':this[_0x531b7d(0x32c)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x531b7d(0x409)]()?this['getEnumMeta']():undefined};}[a0_0x302a2e(0x408)](){const _0xea669d=a0_0x302a2e;return _0xea669d(0x3c7)+this['name']+',\x20'+this[_0xea669d(0x218)]+',\x20'+this[_0xea669d(0x343)]+')';}}class FieldListBase{[a0_0x302a2e(0x3d0)];constructor(_0x484ba8,_0x133bf1){const _0x345a21=a0_0x302a2e,_0x4c5f82=Array[_0x345a21(0x33a)](_0x484ba8)?_0x484ba8:[],_0x56d294=_0x133bf1?.[_0x345a21(0x20e)]??![],_0x5cda46=_0x56d294?_0x4c5f82:_0x4c5f82[_0x345a21(0x1a8)](_0x37f08a=>{const _0x3eb09c=_0x345a21;if(!_0x37f08a||typeof _0x37f08a!==_0x3eb09c(0x3d7))return![];const _0x1715ee=_0x37f08a;return!_0x1715ee['deleted'];});this['_fields']=this[_0x345a21(0x3eb)](_0x5cda46);}get[a0_0x302a2e(0x356)](){const _0x27940e=a0_0x302a2e;return this['_fields'][_0x27940e(0x356)];}[a0_0x302a2e(0x32a)](){const _0x32e0aa=a0_0x302a2e;return[...this[_0x32e0aa(0x3d0)]];}['at'](_0x22625b){return this['_fields']['at'](_0x22625b);}['find'](_0x313271){const _0x3b564a=a0_0x302a2e;return this[_0x3b564a(0x3d0)]['find'](_0x29bcff=>_0x29bcff[_0x3b564a(0x218)]===_0x313271);}[a0_0x302a2e(0x229)](_0x2c15cd){const _0x403859=a0_0x302a2e;return this[_0x403859(0x3d0)]['find'](_0x1e3aad=>_0x1e3aad[_0x403859(0x3f0)]===_0x2c15cd);}[a0_0x302a2e(0x14c)](_0x220027){const _0xfaa7af=a0_0x302a2e;return this[_0xfaa7af(0x3d0)][_0xfaa7af(0x31f)](_0x428818=>_0x428818[_0xfaa7af(0x218)]===_0x220027);}[a0_0x302a2e(0x2ab)](_0x512bcb){const _0x1602c2=a0_0x302a2e;this[_0x1602c2(0x3d0)][_0x1602c2(0x2ab)](_0x512bcb);}['map'](_0x506f3d){const _0x2d4d63=a0_0x302a2e;return this[_0x2d4d63(0x3d0)][_0x2d4d63(0x29c)](_0x506f3d);}[a0_0x302a2e(0x1a8)](_0x480113){return this['_fields']['filter'](_0x480113);}[a0_0x302a2e(0x22a)](_0x578c95){const _0x108c40=a0_0x302a2e;return this[_0x108c40(0x3d0)]['every'](_0x578c95);}[a0_0x302a2e(0x31f)](_0x3d041c){const _0x2312cd=a0_0x302a2e;return this[_0x2312cd(0x3d0)]['some'](_0x3d041c);}[a0_0x302a2e(0x24e)](){const _0x46eb93=a0_0x302a2e;return this[_0x46eb93(0x3d0)][_0x46eb93(0x1a8)](_0x55e64e=>_0x55e64e[_0x46eb93(0x149)]());}[a0_0x302a2e(0x2be)](){const _0xd02269=a0_0x302a2e;return this['_fields'][_0xd02269(0x1a8)](_0x5a568e=>_0x5a568e[_0xd02269(0x3b6)]());}['getSystem'](){const _0x1eb545=a0_0x302a2e;return this[_0x1eb545(0x3d0)]['filter'](_0x2c60b0=>_0x2c60b0[_0x1eb545(0x374)]());}[a0_0x302a2e(0x2ec)](){const _0x28d018=a0_0x302a2e;return this[_0x28d018(0x3d0)]['filter'](_0x7eefef=>_0x7eefef['isBusiness']());}[a0_0x302a2e(0x369)](){const _0x434b0f=a0_0x302a2e;return this[_0x434b0f(0x3d0)][_0x434b0f(0x1a8)](_0x5301ff=>_0x5301ff[_0x434b0f(0x409)]());}[a0_0x302a2e(0x3cb)](){const _0x4a09da=a0_0x302a2e;return this[_0x4a09da(0x3d0)][_0x4a09da(0x1a8)](_0x37e60e=>_0x37e60e[_0x4a09da(0x27e)]());}['getCreateTime'](){const _0x342fa1=a0_0x302a2e;return this[_0x342fa1(0x3d0)][_0x342fa1(0x1a8)](_0x2b1030=>_0x2b1030[_0x342fa1(0x2f5)]());}[a0_0x302a2e(0x27a)](){const _0x3fd8e8=a0_0x302a2e;return this[_0x3fd8e8(0x3d0)][_0x3fd8e8(0x1a8)](_0x4bbda3=>_0x4bbda3[_0x3fd8e8(0x32c)]());}[a0_0x302a2e(0x355)](){const _0x11ce17=a0_0x302a2e;return this[_0x11ce17(0x3d0)][_0x11ce17(0x1a8)](_0x45bb5c=>_0x45bb5c[_0x11ce17(0x3fd)]());}[a0_0x302a2e(0x359)](){const _0x45f56a=a0_0x302a2e;return this[_0x45f56a(0x3d0)]['filter'](_0x208d68=>!_0x208d68['isDeleted']());}[a0_0x302a2e(0x198)](){const _0x5ca952=a0_0x302a2e,_0x196b4e={};return this[_0x5ca952(0x3d0)][_0x5ca952(0x2ab)](_0x2f3087=>{const _0x28563b=_0x5ca952,_0x10aa5c=_0x2f3087['type'];!_0x196b4e[_0x10aa5c]&&(_0x196b4e[_0x10aa5c]=[]),_0x196b4e[_0x10aa5c][_0x28563b(0x3a6)](_0x2f3087);}),_0x196b4e;}[a0_0x302a2e(0x341)](){const _0xc0b4f2=a0_0x302a2e,_0x1a5ec1={};return this['_fields'][_0xc0b4f2(0x2ab)](_0x12bd07=>{const _0x29dd0e=_0xc0b4f2;if(_0x12bd07[_0x29dd0e(0x409)]()){const _0x4a98be=_0x12bd07[_0x29dd0e(0x190)]();_0x4a98be&&(_0x1a5ec1[_0x12bd07[_0x29dd0e(0x218)]]=_0x4a98be);}}),_0x1a5ec1;}[a0_0x302a2e(0x3bb)](){const _0x36e889=a0_0x302a2e;return{'total':this[_0x36e889(0x356)],'required':this[_0x36e889(0x24e)]()[_0x36e889(0x356)],'primaryKey':this[_0x36e889(0x2be)]()[_0x36e889(0x356)],'system':this[_0x36e889(0x3e3)]()[_0x36e889(0x356)],'business':this[_0x36e889(0x2ec)]()[_0x36e889(0x356)],'enum':this[_0x36e889(0x369)]()['length'],'autoIncrement':this['getAutoIncrement']()[_0x36e889(0x356)]};}[a0_0x302a2e(0x302)](){const _0x58391f=a0_0x302a2e;return this[_0x58391f(0x3d0)][_0x58391f(0x29c)](_0x4efbbc=>_0x4efbbc['code']);}[a0_0x302a2e(0x3b5)](){const _0x5ad5c4=a0_0x302a2e;return this[_0x5ad5c4(0x3d0)][_0x5ad5c4(0x29c)](_0x3b66e0=>_0x3b66e0['getDisplayName']());}[a0_0x302a2e(0x2bf)](){const _0x520f3b=a0_0x302a2e;return this[_0x520f3b(0x3d0)][_0x520f3b(0x29c)](_0x265dc1=>_0x265dc1[_0x520f3b(0x1cc)]());}[a0_0x302a2e(0x1f2)](){const _0x36c882=a0_0x302a2e;return this[_0x36c882(0x3d0)][_0x36c882(0x29c)](_0x3f518b=>_0x3f518b['toJSON']());}[a0_0x302a2e(0x408)](){const _0x3c3ecb=a0_0x302a2e;return'FieldList('+this[_0x3c3ecb(0x356)]+'\x20fields)';}}class FieldListV1 extends FieldListBase{constructor(_0x44156b,_0x1b393c){super(_0x44156b,_0x1b393c);}[a0_0x302a2e(0x3eb)](_0x3356f5){const _0x160fa1=a0_0x302a2e;return _0x3356f5[_0x160fa1(0x29c)](_0x5a134b=>new FieldV1(_0x5a134b));}[a0_0x302a2e(0x32a)](){const _0x5c0a37=a0_0x302a2e;return[...this[_0x5c0a37(0x3d0)]];}['at'](_0x304dd4){const _0x2e192e=a0_0x302a2e;return this[_0x2e192e(0x3d0)]['at'](_0x304dd4);}['find'](_0x5777ee){const _0x2b5018=a0_0x302a2e;return this[_0x2b5018(0x3d0)]['find'](_0x18338c=>_0x18338c[_0x2b5018(0x218)]===_0x5777ee);}[a0_0x302a2e(0x229)](_0x1b8188){const _0x3715f0=a0_0x302a2e;return this[_0x3715f0(0x3d0)][_0x3715f0(0x363)](_0x16dfe9=>_0x16dfe9['name']===_0x1b8188);}[a0_0x302a2e(0x1a8)](_0x54ac74){const _0x26d976=a0_0x302a2e;return this[_0x26d976(0x3d0)][_0x26d976(0x1a8)](_0x54ac74);}[a0_0x302a2e(0x29c)](_0xbdd32e){const _0x5ee3e3=a0_0x302a2e;return this[_0x5ee3e3(0x3d0)][_0x5ee3e3(0x29c)](_0xbdd32e);}[a0_0x302a2e(0x24e)](){const _0x2f9399=a0_0x302a2e;return this[_0x2f9399(0x3d0)][_0x2f9399(0x1a8)](_0x5119a7=>_0x5119a7[_0x2f9399(0x149)]());}[a0_0x302a2e(0x2be)](){const _0x2c9c54=a0_0x302a2e;return this[_0x2c9c54(0x3d0)][_0x2c9c54(0x1a8)](_0x233595=>_0x233595['isPrimaryKey']());}['getSystem'](){const _0x4b30a5=a0_0x302a2e;return this[_0x4b30a5(0x3d0)][_0x4b30a5(0x1a8)](_0x15706b=>_0x15706b[_0x4b30a5(0x374)]());}[a0_0x302a2e(0x2ec)](){const _0x589b86=a0_0x302a2e;return this[_0x589b86(0x3d0)]['filter'](_0x5f0123=>_0x5f0123[_0x589b86(0x271)]());}[a0_0x302a2e(0x369)](){const _0x3dc75f=a0_0x302a2e;return this[_0x3dc75f(0x3d0)][_0x3dc75f(0x1a8)](_0x20b9ac=>_0x20b9ac[_0x3dc75f(0x409)]());}['groupByType'](){const _0x3b16cf=a0_0x302a2e,_0x661de9={};return this[_0x3b16cf(0x3d0)]['forEach'](_0x2222c9=>{const _0x523b38=_0x3b16cf,_0x491af0=_0x2222c9[_0x523b38(0x343)];!_0x661de9[_0x491af0]&&(_0x661de9[_0x491af0]=[]),_0x661de9[_0x491af0]['push'](_0x2222c9);}),_0x661de9;}[a0_0x302a2e(0x33e)](){const _0x560a80=a0_0x302a2e;return this['_fields'][_0x560a80(0x29c)](_0x1de6c6=>_0x1de6c6[_0x560a80(0x33e)]);}static[a0_0x302a2e(0x163)](_0x2dd483){const _0x101add=a0_0x302a2e,_0x2f9042=_0x2dd483[_0x101add(0x29c)](_0x14199e=>_0x14199e[_0x101add(0x33e)]);return new FieldListV1(_0x2f9042);}static['withDeleted'](_0x3359cb){const _0x14fbdf=a0_0x302a2e,_0x22d28={};return _0x22d28[_0x14fbdf(0x20e)]=!![],new FieldListV1(_0x3359cb,_0x22d28);}}class FieldV2 extends FieldBase{[a0_0x302a2e(0x322)];constructor(_0x564e8e){const _0x3531ff=a0_0x302a2e;super();if(!_0x564e8e||typeof _0x564e8e!==_0x3531ff(0x3d7))throw new Error(_0x3531ff(0x400));this[_0x3531ff(0x322)]=_0x564e8e;}[a0_0x302a2e(0x24d)](){return'v2';}get[a0_0x302a2e(0x33e)](){const _0x481a7d=a0_0x302a2e;return this[_0x481a7d(0x322)];}get[a0_0x302a2e(0x3f0)](){const _0xb552ab=a0_0x302a2e;return this['_raw'][_0xb552ab(0x3f0)]||'';}get['code'](){const _0x2dfa7a=a0_0x302a2e;return this['_raw'][_0x2dfa7a(0x3f0)]||'';}get[a0_0x302a2e(0x385)](){const _0x4ece49=a0_0x302a2e;return this['_raw'][_0x4ece49(0x385)]||'';}get[a0_0x302a2e(0x343)](){const _0x1cdaa2=a0_0x302a2e;if(this[_0x1cdaa2(0x322)]['doType'])return this[_0x1cdaa2(0x322)]['doType'];return this[_0x1cdaa2(0x15a)](this['_raw'][_0x1cdaa2(0x1f3)]);}get['description'](){const _0x4598ab=a0_0x302a2e;return this[_0x4598ab(0x322)][_0x4598ab(0x1a2)]||'';}get['deleted'](){const _0x39565a=a0_0x302a2e;return Boolean(this[_0x39565a(0x322)]['deleted']);}['isRequired'](){const _0x129c74=a0_0x302a2e;return Boolean(this['_raw'][_0x129c74(0x2db)]);}['isPrimaryKey'](){const _0x56fdad=a0_0x302a2e;return Boolean(this[_0x56fdad(0x322)][_0x56fdad(0x2ce)]);}['isSystem'](){const _0x5ed1b7=a0_0x302a2e;return Boolean(this['_raw'][_0x5ed1b7(0x23b)]);}[a0_0x302a2e(0x27e)](){const _0x2efb29=a0_0x302a2e;return Boolean(this[_0x2efb29(0x322)][_0x2efb29(0x394)]);}['isCreateTime'](){const _0x1d919b=a0_0x302a2e;return this['_raw'][_0x1d919b(0x23b)]===_0x1d919b(0x3a8);}['isUpdateTime'](){const _0xcadf8f=a0_0x302a2e;return this[_0xcadf8f(0x322)]['systemRetain']==='updateTime';}['getDisplayName'](){const _0x19804e=a0_0x302a2e;return this[_0x19804e(0x322)][_0x19804e(0x385)]||'';}[a0_0x302a2e(0x1cc)](){const _0x2ce4e2=a0_0x302a2e;return this[_0x2ce4e2(0x322)][_0x2ce4e2(0x3f0)]||'';}[a0_0x302a2e(0x409)](){const _0xee9f27=a0_0x302a2e;return Boolean(this[_0xee9f27(0x322)][_0xee9f27(0x2f1)]&&Array[_0xee9f27(0x33a)](this[_0xee9f27(0x322)]['options'])&&this[_0xee9f27(0x322)]['options'][_0xee9f27(0x356)]>0x0);}[a0_0x302a2e(0x21f)](){const _0xe959b5=a0_0x302a2e,_0x11f4a5=this['_raw'][_0xe959b5(0x327)];if(!_0x11f4a5)return![];try{const _0x34bae1=JSON[_0xe959b5(0x1d5)](_0x11f4a5);if(_0x34bae1&&typeof _0x34bae1===_0xe959b5(0x3d7)&&_0xe959b5(0x20b)in _0x34bae1)return Boolean(_0x34bae1[_0xe959b5(0x20b)]);}catch{}return![];}[a0_0x302a2e(0x3c6)](){const _0x4644fb=a0_0x302a2e;if(this[_0x4644fb(0x322)]['options']&&Array['isArray'](this[_0x4644fb(0x322)][_0x4644fb(0x2f1)]))return this[_0x4644fb(0x322)][_0x4644fb(0x2f1)];return;}['getSelectItemsSource'](){const _0xc41db0=a0_0x302a2e,_0x24f456=this['_raw'][_0xc41db0(0x327)];if(!_0x24f456)return;try{const _0x3f1a9e=JSON['parse'](_0x24f456);if(_0x3f1a9e&&typeof _0x3f1a9e===_0xc41db0(0x3d7)&&'selectItemsSource'in _0x3f1a9e)return _0x3f1a9e[_0xc41db0(0x20a)];}catch{}return;}[a0_0x302a2e(0x25b)](){const _0x56b335=a0_0x302a2e;if(!this['_raw']['dbType'])return'';return this[_0x56b335(0x322)][_0x56b335(0x1f3)][_0x56b335(0x213)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x56b335(0x401)]()[_0x56b335(0x2b1)]();}[a0_0x302a2e(0x3bc)](){return;}['getTooltip'](){return;}get[a0_0x302a2e(0x1f3)](){const _0x3f93f4=a0_0x302a2e;return this[_0x3f93f4(0x322)][_0x3f93f4(0x1f3)]??undefined;}get[a0_0x302a2e(0x15b)](){const _0x2a9d6c=a0_0x302a2e;return this[_0x2a9d6c(0x322)][_0x2a9d6c(0x15b)];}[a0_0x302a2e(0x24a)](){const _0x3a2aa5=a0_0x302a2e;return this[_0x3a2aa5(0x322)][_0x3a2aa5(0x377)]??null;}get[a0_0x302a2e(0x377)](){return this['_raw']['doType']??null;}[a0_0x302a2e(0x1f2)](){const _0x16ac8b=a0_0x302a2e;return{'name':this[_0x16ac8b(0x3f0)],'code':this[_0x16ac8b(0x218)],'type':this['type'],'dbType':this[_0x16ac8b(0x1f3)],'dbTypeLen':this[_0x16ac8b(0x15b)],'doType':this['getDOType'](),'displayName':this['displayName'],'description':this['description'],'required':this[_0x16ac8b(0x149)](),'primaryKey':this[_0x16ac8b(0x3b6)](),'system':this[_0x16ac8b(0x374)](),'autoIncrement':this[_0x16ac8b(0x27e)](),'createTime':this[_0x16ac8b(0x2f5)](),'updateTime':this[_0x16ac8b(0x32c)](),'isEnum':this[_0x16ac8b(0x409)](),'enumMeta':this[_0x16ac8b(0x409)]()?this[_0x16ac8b(0x190)]():undefined};}[a0_0x302a2e(0x408)](){const _0x4a1671=a0_0x302a2e;return _0x4a1671(0x3c2)+this[_0x4a1671(0x3f0)]+',\x20'+this[_0x4a1671(0x218)]+',\x20'+this[_0x4a1671(0x1f3)]+',\x20doType='+this['getDOType']()+')';}[a0_0x302a2e(0x15a)](_0x575e5d){const _0x3a356f=a0_0x302a2e;if(!_0x575e5d)return _0x3a356f(0x3d3);const _0x2601b8={};_0x2601b8[_0x3a356f(0x281)]=_0x3a356f(0x3d3),_0x2601b8[_0x3a356f(0x14a)]=_0x3a356f(0x3d3),_0x2601b8['TEXT']=_0x3a356f(0x238),_0x2601b8['LONGTEXT']=_0x3a356f(0x238),_0x2601b8[_0x3a356f(0x14b)]='NUMBER',_0x2601b8[_0x3a356f(0x2a7)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x382)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x399)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x3f5)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x391)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x1b9)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x30a)]='DATE',_0x2601b8[_0x3a356f(0x23f)]=_0x3a356f(0x33f),_0x2601b8[_0x3a356f(0x33f)]=_0x3a356f(0x33f),_0x2601b8[_0x3a356f(0x3ed)]=_0x3a356f(0x3ed),_0x2601b8['BOOLEAN']='SWITCH',_0x2601b8[_0x3a356f(0x39e)]=_0x3a356f(0x2c2),_0x2601b8[_0x3a356f(0x34e)]=_0x3a356f(0x28d),_0x2601b8[_0x3a356f(0x326)]=_0x3a356f(0x28d);const _0xd8708a=_0x2601b8,_0x55faa5=_0x575e5d[_0x3a356f(0x2b1)]();return _0xd8708a[_0x55faa5]||_0x3a356f(0x3d3);}}class FieldListV2 extends FieldListBase{constructor(_0x37df5b,_0x3d38d5){super(_0x37df5b,_0x3d38d5);}[a0_0x302a2e(0x3eb)](_0x175022){const _0x4e5740=a0_0x302a2e;return _0x175022[_0x4e5740(0x29c)](_0x5e8f7e=>new FieldV2(_0x5e8f7e));}[a0_0x302a2e(0x32a)](){const _0x56dfb4=a0_0x302a2e;return[...this[_0x56dfb4(0x3d0)]];}['at'](_0x3ac224){const _0x4ea428=a0_0x302a2e;return this[_0x4ea428(0x3d0)]['at'](_0x3ac224);}['find'](_0x201ba0){const _0x408151=a0_0x302a2e;return this['_fields'][_0x408151(0x363)](_0x5c9a84=>_0x5c9a84['code']===_0x201ba0);}[a0_0x302a2e(0x229)](_0x26a7e6){const _0x2da925=a0_0x302a2e;return this['_fields'][_0x2da925(0x363)](_0x5b57b5=>_0x5b57b5['getDisplayName']()===_0x26a7e6);}[a0_0x302a2e(0x1a8)](_0x3ed374){const _0x579d6e=a0_0x302a2e;return this[_0x579d6e(0x3d0)][_0x579d6e(0x1a8)](_0x3ed374);}[a0_0x302a2e(0x29c)](_0x4bcaa9){const _0x3f2038=a0_0x302a2e;return this['_fields'][_0x3f2038(0x29c)](_0x4bcaa9);}['getRequired'](){const _0x117128=a0_0x302a2e;return this['_fields'][_0x117128(0x1a8)](_0x4c2639=>_0x4c2639['isRequired']());}[a0_0x302a2e(0x2be)](){const _0x19bde8=a0_0x302a2e;return this[_0x19bde8(0x3d0)][_0x19bde8(0x1a8)](_0x535b8c=>_0x535b8c[_0x19bde8(0x3b6)]());}[a0_0x302a2e(0x3e3)](){const _0x559e31=a0_0x302a2e;return this[_0x559e31(0x3d0)][_0x559e31(0x1a8)](_0x28222f=>_0x28222f['isSystem']());}[a0_0x302a2e(0x2ec)](){const _0x532735=a0_0x302a2e;return this[_0x532735(0x3d0)][_0x532735(0x1a8)](_0x319452=>_0x319452[_0x532735(0x271)]());}[a0_0x302a2e(0x369)](){const _0x566998=a0_0x302a2e;return this[_0x566998(0x3d0)]['filter'](_0x449605=>_0x449605['isEnum']());}[a0_0x302a2e(0x198)](){const _0x598b38=a0_0x302a2e,_0x2d272e={};return this[_0x598b38(0x3d0)][_0x598b38(0x2ab)](_0x16c4e4=>{const _0x172b71=_0x598b38,_0x2ca228=_0x16c4e4[_0x172b71(0x343)];!_0x2d272e[_0x2ca228]&&(_0x2d272e[_0x2ca228]=[]),_0x2d272e[_0x2ca228][_0x172b71(0x3a6)](_0x16c4e4);}),_0x2d272e;}[a0_0x302a2e(0x33e)](){const _0x3f7b53=a0_0x302a2e;return this[_0x3f7b53(0x3d0)][_0x3f7b53(0x29c)](_0x103473=>_0x103473['raw']);}static[a0_0x302a2e(0x163)](_0x82ffa){const _0x300336=a0_0x302a2e,_0x2dbecd=_0x82ffa[_0x300336(0x29c)](_0x269229=>_0x269229[_0x300336(0x33e)]);return new FieldListV2(_0x2dbecd);}static[a0_0x302a2e(0x1b3)](_0x47a321){const _0x2593ea=a0_0x302a2e,_0x5ca5b5={};return _0x5ca5b5[_0x2593ea(0x20e)]=!![],new FieldListV2(_0x47a321,_0x5ca5b5);}[a0_0x302a2e(0x408)](){const _0x57f192=a0_0x302a2e;return _0x57f192(0x16b)+this[_0x57f192(0x356)]+_0x57f192(0x3ab);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x302a2e(0x34c)];['_fieldListV1WithDeleted'];constructor(_0x58bd44){super(_0x58bd44);}['getFieldList'](){const _0x20a452=a0_0x302a2e;if(!this[_0x20a452(0x34c)]){const _0x4d77a8={};_0x4d77a8[_0x20a452(0x20e)]=![],this[_0x20a452(0x34c)]=new FieldListV1(this[_0x20a452(0x322)][_0x20a452(0x404)]||[],_0x4d77a8);}return this['_fieldListV1'];}[a0_0x302a2e(0x34d)](){const _0x591947=a0_0x302a2e;if(!this[_0x591947(0x379)]){const _0x243b20={};_0x243b20[_0x591947(0x20e)]=!![],this[_0x591947(0x379)]=new FieldListV1(this[_0x591947(0x322)][_0x591947(0x404)]||[],_0x243b20);}return this[_0x591947(0x379)];}[a0_0x302a2e(0x325)](){const _0x4876a6=a0_0x302a2e;return(this[_0x4876a6(0x322)][_0x4876a6(0x404)]||[])[_0x4876a6(0x1a8)](_0x1f0aed=>!_0x1f0aed[_0x4876a6(0x1c8)]);}['getFieldCount'](){const _0x3bb329=a0_0x302a2e;return this['getFieldList']()[_0x3bb329(0x356)];}[a0_0x302a2e(0x3d4)](_0x5d79a3){const _0x642bb9=a0_0x302a2e;return this['_raw'][_0x642bb9(0x404)]?.[_0x642bb9(0x363)](_0x50a5c2=>_0x50a5c2['code']===_0x5d79a3);}[a0_0x302a2e(0x24d)](){return'v1';}[a0_0x302a2e(0x2e5)](){const _0x4de8f5=a0_0x302a2e,_0x2d497f={};return _0x2d497f[_0x4de8f5(0x2d1)]=this[_0x4de8f5(0x322)][_0x4de8f5(0x404)]||[],_0x2d497f[_0x4de8f5(0x20e)]=![],_0x2d497f;}['getOperationsData'](){const _0x4ba8a4=a0_0x302a2e;return this['_raw'][_0x4ba8a4(0x1af)];}[a0_0x302a2e(0x38e)](){const _0x79c4fc=a0_0x302a2e;return this[_0x79c4fc(0x322)][_0x79c4fc(0x246)];}[a0_0x302a2e(0x352)](){const _0x1c5f29=a0_0x302a2e,_0xffaaf2=this['getRawDbtableConfig'](),_0xf79652=_0xffaaf2?.[_0x1c5f29(0x1d3)],_0x27241d={};return _0x27241d[_0x1c5f29(0x329)]=_0xffaaf2?.[_0x1c5f29(0x329)],_0x27241d['dbName']=_0xffaaf2?.[_0x1c5f29(0x37a)]??_0xf79652?.[_0x1c5f29(0x37a)],_0x27241d[_0x1c5f29(0x1f3)]=_0xf79652?.[_0x1c5f29(0x1f3)],_0x27241d[_0x1c5f29(0x224)]=_0xf79652?.[_0x1c5f29(0x224)],_0x27241d['tableName']=_0xffaaf2?.[_0x1c5f29(0x1b6)],_0x27241d[_0x1c5f29(0x390)]=_0xffaaf2?.[_0x1c5f29(0x390)],_0x27241d[_0x1c5f29(0x2ce)]=_0xffaaf2?.['pkField'],_0x27241d[_0x1c5f29(0x248)]=_0xf79652?.[_0x1c5f29(0x248)],_0x27241d[_0x1c5f29(0x37d)]=_0xf79652?.[_0x1c5f29(0x37d)],new DBConfig(_0x27241d,_0xffaaf2);}get[a0_0x302a2e(0x227)](){const _0x143371=a0_0x302a2e;return this[_0x143371(0x322)]['version'];}[a0_0x302a2e(0x29d)](_0x130fbf){const _0x699cbc=a0_0x302a2e;if(typeof _0x130fbf!=='string'){!![]&&console[_0x699cbc(0x3c9)](_0x699cbc(0x182),_0x130fbf);return;}return this[_0x699cbc(0x1fc)]()[_0x699cbc(0x363)](_0x130fbf);}[a0_0x302a2e(0x34b)](_0x46e555){const _0x3d0b59=a0_0x302a2e;if(!_0x46e555||typeof _0x46e555!==_0x3d0b59(0x3d7))return![];const _0x457cff=this[_0x3d0b59(0x29d)](_0x46e555[_0x3d0b59(0x218)]);return _0x457cff?_0x457cff['isMultipleSelect']():![];}['getFilterOperation'](){const _0x14ed87=a0_0x302a2e,_0x398bd0=this['getOperation'](_0x14ed87(0x1a8));return _0x398bd0;}[a0_0x302a2e(0x36d)](){const _0x485177=a0_0x302a2e;return this[_0x485177(0x180)](_0x485177(0x1a8));}['toListItem'](){const _0x291b08=a0_0x302a2e;return new DatasetItem({'id':this['id'],'name':this[_0x291b08(0x3f0)],'datasetCode':this[_0x291b08(0x357)],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x302a2e(0x291)];[a0_0x302a2e(0x3bd)];[a0_0x302a2e(0x17f)];constructor(_0x531da3){const _0x25d4ae=a0_0x302a2e;super(_0x531da3),this[_0x25d4ae(0x3bd)]=_0x531da3[_0x25d4ae(0x25e)],this[_0x25d4ae(0x17f)]=_0x531da3['relations']||[];}[a0_0x302a2e(0x24d)](){return'v2';}[a0_0x302a2e(0x2e5)](){const _0x5f55d9=a0_0x302a2e,_0xfcc3ad={};return _0xfcc3ad['fields']=this[_0x5f55d9(0x322)]['fields'],_0xfcc3ad[_0x5f55d9(0x20e)]=![],_0xfcc3ad;}[a0_0x302a2e(0x2d4)](){const _0x1a9b71=a0_0x302a2e;return this[_0x1a9b71(0x322)][_0x1a9b71(0x1af)];}[a0_0x302a2e(0x38e)](){const _0xdc1ebc=a0_0x302a2e;return this[_0xdc1ebc(0x322)][_0xdc1ebc(0x246)];}['getDBConfig'](){const _0x432779=a0_0x302a2e,_0x269e82=this['_raw']['dbtableConfig'],_0x50e43b=_0x269e82?.[_0x432779(0x1d3)],_0x585e3f={};return _0x585e3f[_0x432779(0x329)]=_0x269e82?.[_0x432779(0x329)],_0x585e3f[_0x432779(0x37a)]=_0x269e82?.[_0x432779(0x37a)]??_0x50e43b?.[_0x432779(0x37a)],_0x585e3f[_0x432779(0x1f3)]=_0x50e43b?.['dbType'],_0x585e3f[_0x432779(0x224)]=_0x50e43b?.[_0x432779(0x224)],_0x585e3f[_0x432779(0x1b6)]=_0x269e82?.[_0x432779(0x1b6)],_0x585e3f[_0x432779(0x390)]=_0x269e82?.['datasetKey'],_0x585e3f[_0x432779(0x2ce)]=_0x269e82?.[_0x432779(0x2ce)],_0x585e3f['tenantCode']=_0x269e82?.[_0x432779(0x248)]??_0x50e43b?.['tenantCode'],_0x585e3f[_0x432779(0x37d)]=_0x269e82?.[_0x432779(0x37d)]??_0x50e43b?.[_0x432779(0x37d)],new DBConfig(_0x585e3f,_0x269e82);}[a0_0x302a2e(0x1fc)](){const _0x25fe5f=a0_0x302a2e;return this[_0x25fe5f(0x1dc)]();}[a0_0x302a2e(0x325)](){const _0x5337ff=a0_0x302a2e;return this[_0x5337ff(0x322)][_0x5337ff(0x2d1)]||[];}[a0_0x302a2e(0x275)](){const _0x23908c=a0_0x302a2e;return(this[_0x23908c(0x322)][_0x23908c(0x2d1)]||[])[_0x23908c(0x356)];}[a0_0x302a2e(0x3d4)](_0x5624ee){const _0xe09266=a0_0x302a2e;return this[_0xe09266(0x322)]['fields']['find'](_0x74966e=>_0x74966e[_0xe09266(0x3f0)]===_0x5624ee);}[a0_0x302a2e(0x204)](){const _0x18b6c8=a0_0x302a2e;return this[_0x18b6c8(0x3bd)];}['getRelations'](){const _0x29f700=a0_0x302a2e;return this[_0x29f700(0x17f)];}[a0_0x302a2e(0x1cb)](){const _0x201ff3=a0_0x302a2e;return this[_0x201ff3(0x3bd)]['indexes']||[];}[a0_0x302a2e(0x276)](_0x55428b){const _0x94ec84=a0_0x302a2e;return this[_0x94ec84(0x17f)]['filter'](_0x2622f0=>_0x2622f0[_0x94ec84(0x1a5)]===_0x55428b);}['hasRelation'](_0x3b5f31){const _0x5a1646=a0_0x302a2e;return this[_0x5a1646(0x17f)][_0x5a1646(0x31f)](_0xf460cb=>_0xf460cb[_0x5a1646(0x1a5)]===_0x3b5f31);}[a0_0x302a2e(0x37f)](_0x4989de){const _0x59ede3=a0_0x302a2e,_0x174d6f=this['_relations'][_0x59ede3(0x363)](_0x200a67=>_0x200a67[_0x59ede3(0x1a5)]===_0x4989de);if(!_0x174d6f)return;const _0x1ce7e5={};return _0x1ce7e5[_0x59ede3(0x15e)]=_0x174d6f[_0x59ede3(0x1e8)],_0x1ce7e5[_0x59ede3(0x357)]=_0x174d6f['toDatasetCode'],_0x1ce7e5[_0x59ede3(0x270)]=_0x174d6f[_0x59ede3(0x250)],_0x1ce7e5['tableName']=_0x174d6f[_0x59ede3(0x191)],_0x1ce7e5[_0x59ede3(0x34f)]=_0x174d6f[_0x59ede3(0x34f)],_0x1ce7e5;}[a0_0x302a2e(0x299)](){const _0x3b290e=a0_0x302a2e;return this[_0x3b290e(0x17f)][_0x3b290e(0x29c)](_0x39de82=>_0x39de82[_0x3b290e(0x1a5)]);}[a0_0x302a2e(0x1dc)](){const _0x46a8a5=a0_0x302a2e;if(!this[_0x46a8a5(0x291)]){const _0x689314=this[_0x46a8a5(0x322)]['fields']||[];this[_0x46a8a5(0x291)]=new FieldListV2(_0x689314);}return this[_0x46a8a5(0x291)];}['getFieldInstance'](_0x1f028b){const _0x33c889=a0_0x302a2e;if(typeof _0x1f028b!=='string'){!![]&&console['warn'](_0x33c889(0x31c),_0x1f028b);return;}return this[_0x33c889(0x1dc)]()[_0x33c889(0x363)](_0x1f028b);}[a0_0x302a2e(0x34b)](_0x5a2362){const _0x1f3f2a=a0_0x302a2e;if(!_0x5a2362||typeof _0x5a2362!==_0x1f3f2a(0x3d7))return![];const _0x1809f3=_0x5a2362['name']||_0x5a2362['code'],_0x4e7bcb=this[_0x1f3f2a(0x29d)](_0x1809f3);return _0x4e7bcb?_0x4e7bcb[_0x1f3f2a(0x21f)]():![];}['getOperationList'](){const _0x45db4c=a0_0x302a2e;if(!this[_0x45db4c(0x375)]){const _0x5dff26=this[_0x45db4c(0x1d4)](this[_0x45db4c(0x2d4)]()||{});this[_0x45db4c(0x375)]=new OperationList(_0x5dff26,{'fields':this[_0x45db4c(0x1dc)]()[_0x45db4c(0x32a)](),'pkField':this[_0x45db4c(0x322)][_0x45db4c(0x1e9)]?.['pkField'],'dbtableConfig':this[_0x45db4c(0x322)][_0x45db4c(0x1e9)]||null});}return this[_0x45db4c(0x375)];}['getFilterOperation'](){const _0x1a17d9=a0_0x302a2e,_0x366f47=this['getOperation'](_0x1a17d9(0x1a8));return _0x366f47;}[a0_0x302a2e(0x36d)](){const _0xc73ca1=a0_0x302a2e;return this[_0xc73ca1(0x180)](_0xc73ca1(0x1a8));}[a0_0x302a2e(0x333)](){const _0x52fa70=a0_0x302a2e;return new DatasetItem({'id':this['id'],'name':this[_0x52fa70(0x3f0)],'datasetCode':this[_0x52fa70(0x357)],'dbtableConfig':this[_0x52fa70(0x339)]()});}['toString'](){const _0x5076bc=a0_0x302a2e,_0x43665a=this[_0x5076bc(0x17f)][_0x5076bc(0x356)],_0x39c47f=this[_0x5076bc(0x1cb)]()[_0x5076bc(0x356)];return _0x5076bc(0x309)+this[_0x5076bc(0x3f0)]+',\x20'+this[_0x5076bc(0x357)]+',\x20'+this[_0x5076bc(0x275)]()+'\x20fields,\x20'+this[_0x5076bc(0x25c)]()+_0x5076bc(0x3f9)+_0x43665a+'\x20relations,\x20'+_0x39c47f+_0x5076bc(0x26c);}[a0_0x302a2e(0x365)](){const _0x44b59a=a0_0x302a2e;return this[_0x44b59a(0x322)][_0x44b59a(0x2d1)];}[a0_0x302a2e(0x1c7)](_0xf2c84f){const _0x590a94=a0_0x302a2e;return this[_0x590a94(0x322)]['fields'][_0x590a94(0x363)](_0x48dc30=>_0x48dc30[_0x590a94(0x3f0)]===_0xf2c84f);}}function detectDatasetVersion(_0x4122b3){const _0x59e956=a0_0x302a2e;if(_0x4122b3[_0x59e956(0x15d)]==='v2'&&_0x59e956(0x2d1)in _0x4122b3&&Array[_0x59e956(0x33a)](_0x4122b3['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x302a2e(0x2b8)];constructor(_0x444bdc){super(_0x444bdc);const _0x27a0bc=detectDatasetVersion(_0x444bdc);this['_instance']=_0x27a0bc==='v2'?new DrivenDataDetailV2(_0x444bdc):new DrivenDataDetailV1(_0x444bdc);}get['id'](){const _0x2ac6a6=a0_0x302a2e;return this[_0x2ac6a6(0x2b8)]['id'];}get['name'](){const _0x2207df=a0_0x302a2e;return this[_0x2207df(0x2b8)]['name'];}get[a0_0x302a2e(0x357)](){const _0xfc1c51=a0_0x302a2e;return this[_0xfc1c51(0x2b8)][_0xfc1c51(0x357)];}get['version'](){const _0x4e9150=a0_0x302a2e;return this['_instance'][_0x4e9150(0x24d)]()==='v2'?_0x4e9150(0x284):_0x4e9150(0x294);}[a0_0x302a2e(0x24d)](){const _0x2c130b=a0_0x302a2e;return this[_0x2c130b(0x2b8)][_0x2c130b(0x24d)]();}[a0_0x302a2e(0x38a)](){const _0x376def=a0_0x302a2e;return this[_0x376def(0x2b8)]['id'];}[a0_0x302a2e(0x1f1)](){const _0x35fd45=a0_0x302a2e;return this[_0x35fd45(0x2b8)][_0x35fd45(0x357)];}[a0_0x302a2e(0x2d2)](){const _0x2af9a2=a0_0x302a2e;return this[_0x2af9a2(0x2b8)][_0x2af9a2(0x3f0)];}['getFieldDataSource'](){const _0x5746ba=a0_0x302a2e;return this[_0x5746ba(0x2b8)][_0x5746ba(0x2e5)]();}[a0_0x302a2e(0x2d4)](){const _0x209994=a0_0x302a2e;return this[_0x209994(0x2b8)][_0x209994(0x2d4)]();}[a0_0x302a2e(0x38e)](){const _0x550246=a0_0x302a2e;return this[_0x550246(0x2b8)][_0x550246(0x38e)]();}[a0_0x302a2e(0x34d)](){const _0x153306=a0_0x302a2e;return this[_0x153306(0x2b8)][_0x153306(0x34d)]();}['getFieldList'](){const _0x277b8f=a0_0x302a2e;return this[_0x277b8f(0x2b8)][_0x277b8f(0x1fc)]();}[a0_0x302a2e(0x3d5)](){const _0x12435c=a0_0x302a2e;return this[_0x12435c(0x2b8)][_0x12435c(0x3d5)]();}[a0_0x302a2e(0x325)](){const _0x259db5=a0_0x302a2e;return this[_0x259db5(0x2b8)][_0x259db5(0x325)]();}[a0_0x302a2e(0x275)](){const _0x5b514f=a0_0x302a2e;return this['_instance'][_0x5b514f(0x275)]();}[a0_0x302a2e(0x405)](){const _0x2dadde=a0_0x302a2e,_0x2feb67=this[_0x2dadde(0x2b8)][_0x2dadde(0x339)]();return _0x2feb67?.[_0x2dadde(0x2ce)];}['getDBConfig'](){const _0x2612c0=a0_0x302a2e;return this[_0x2612c0(0x2b8)][_0x2612c0(0x352)]();}[a0_0x302a2e(0x29d)](_0x312004){const _0x4fa334=a0_0x302a2e;return this[_0x4fa334(0x2b8)][_0x4fa334(0x29d)](_0x312004);}[a0_0x302a2e(0x155)](){const _0x5c081b=a0_0x302a2e;return this['_instance'][_0x5c081b(0x155)]();}[a0_0x302a2e(0x33c)](){const _0x189990=a0_0x302a2e;return this['_instance'][_0x189990(0x33c)]();}[a0_0x302a2e(0x3d1)](){const _0x5b518c=a0_0x302a2e;return this[_0x5b518c(0x2b8)][_0x5b518c(0x3d1)]();}[a0_0x302a2e(0x177)](){const _0x3b2d91=a0_0x302a2e;return this[_0x3b2d91(0x2b8)]['getRequiredFields']();}[a0_0x302a2e(0x24f)](){return this['_instance']['getFieldsByType']();}[a0_0x302a2e(0x1be)](){return this['_instance']['getEnumFields']();}[a0_0x302a2e(0x211)](){const _0x20ca60=a0_0x302a2e;return this[_0x20ca60(0x2b8)][_0x20ca60(0x211)]();}[a0_0x302a2e(0x1de)](){const _0x4bc79b=a0_0x302a2e;return this[_0x4bc79b(0x2b8)][_0x4bc79b(0x1de)]();}[a0_0x302a2e(0x25c)](){const _0x5eb81b=a0_0x302a2e;return this[_0x5eb81b(0x2b8)][_0x5eb81b(0x25c)]();}[a0_0x302a2e(0x206)](){const _0x24d1f1=a0_0x302a2e;return this[_0x24d1f1(0x2b8)][_0x24d1f1(0x206)]();}[a0_0x302a2e(0x22c)](){const _0x13671b=a0_0x302a2e;return this[_0x13671b(0x2b8)][_0x13671b(0x22c)]();}[a0_0x302a2e(0x1f6)](){const _0x2519d5=a0_0x302a2e;return this['_instance'][_0x2519d5(0x1f6)]();}[a0_0x302a2e(0x3b2)](){const _0x5bf0bb=a0_0x302a2e;return this[_0x5bf0bb(0x2b8)][_0x5bf0bb(0x3b2)]();}['getStats'](){const _0x474b1f=a0_0x302a2e;return this['_instance'][_0x474b1f(0x3bb)]();}[a0_0x302a2e(0x204)](){const _0x1b4b66=a0_0x302a2e;return this[_0x1b4b66(0x2b8)][_0x1b4b66(0x204)]();}[a0_0x302a2e(0x1e1)](){const _0x15cf40=a0_0x302a2e;return this[_0x15cf40(0x2b8)][_0x15cf40(0x1e1)]();}['getIndexes'](){const _0x4a7dde=a0_0x302a2e;return this[_0x4a7dde(0x2b8)]['getIndexes']();}[a0_0x302a2e(0x350)](){const _0x14c10d=a0_0x302a2e;return this[_0x14c10d(0x2b8)][_0x14c10d(0x350)]();}['getFieldsFilterOperatorsMap'](){const _0x538491=a0_0x302a2e;return this[_0x538491(0x2b8)][_0x538491(0x315)]();}['toJSON'](){const _0x3df0a8=a0_0x302a2e;return this[_0x3df0a8(0x2b8)][_0x3df0a8(0x1f2)]();}['getFilterOperation'](){const _0x53c164=a0_0x302a2e;return this[_0x53c164(0x2b8)][_0x53c164(0x310)]();}['hasFilterOperation'](){const _0x2809ad=a0_0x302a2e;return this['_instance'][_0x2809ad(0x36d)]();}['toListItem'](){const _0x44cef1=a0_0x302a2e;return this[_0x44cef1(0x2b8)][_0x44cef1(0x333)]();}[a0_0x302a2e(0x408)](){const _0x1a5b4d=a0_0x302a2e;return this[_0x1a5b4d(0x2b8)][_0x1a5b4d(0x408)]();}[a0_0x302a2e(0x1fb)](){const _0x3a34e8=a0_0x302a2e;return this[_0x3a34e8(0x2b8)];}}function detectDatasetVersion2(_0x382722){const _0x297dc4=a0_0x302a2e;if(_0x382722[_0x297dc4(0x15d)]==='v2'&&_0x297dc4(0x2d1)in _0x382722&&Array[_0x297dc4(0x33a)](_0x382722[_0x297dc4(0x2d1)]))return'v2';return'v1';}function createDrivenDataDetail(_0x312be9,_0x54a6a4={}){const {forceVersion:_0x172cbe}=_0x54a6a4;if(_0x172cbe==='v2')return new DrivenDataDetailV2(_0x312be9);if(_0x172cbe==='v1')return new DrivenDataDetailV1(_0x312be9);const _0x2236aa=detectDatasetVersion2(_0x312be9);if(_0x2236aa==='v2')return new DrivenDataDetailV2(_0x312be9);return new DrivenDataDetailV1(_0x312be9);}function isV2Data(_0x2f7a93){return detectDatasetVersion2(_0x2f7a93)==='v2';}function isV1Data(_0x240758){return detectDatasetVersion2(_0x240758)==='v1';}function isV2Instance(_0x4ea1b6){const _0x588ec3=a0_0x302a2e;return _0x4ea1b6[_0x588ec3(0x24d)]()==='v2';}function isV1Instance(_0xd2d655){const _0x264402=a0_0x302a2e;return _0xd2d655[_0x264402(0x24d)]()==='v1';}class DatasetGroup{[a0_0x302a2e(0x1c9)];constructor(_0x519877){const _0x180c5a=a0_0x302a2e;this['items']=Array[_0x180c5a(0x33a)](_0x519877)?[..._0x519877]:[_0x519877],this['items'][_0x180c5a(0x353)]((_0x308a6e,_0x187e4d)=>{const _0x14224f=Number(_0x308a6e['id'])||0x0,_0x1a7461=Number(_0x187e4d['id'])||0x0;return _0x1a7461-_0x14224f;});}[a0_0x302a2e(0x28c)](){const _0x3c638d=a0_0x302a2e;return this['items'][_0x3c638d(0x356)]>0x1;}[a0_0x302a2e(0x2e3)](){return this['items'][0x0];}[a0_0x302a2e(0x272)](){const _0x5501d8=a0_0x302a2e;return this[_0x5501d8(0x1c9)][this[_0x5501d8(0x1c9)]['length']-0x1];}[a0_0x302a2e(0x3d2)](){const _0x5b4822=a0_0x302a2e;return[...this[_0x5b4822(0x1c9)]];}[a0_0x302a2e(0x26d)](){const _0x2ff1fa=a0_0x302a2e;return this[_0x2ff1fa(0x1c9)][_0x2ff1fa(0x356)];}[a0_0x302a2e(0x3ad)](_0x586ead){return this['items'][_0x586ead];}[a0_0x302a2e(0x3a7)](_0xc7c803){const _0xbc5c84=a0_0x302a2e;return this['items'][_0xbc5c84(0x363)](_0x38dc3f=>_0x38dc3f['id']===_0xc7c803);}[a0_0x302a2e(0x332)](_0x4b2127){const _0x10d0b1=a0_0x302a2e;return this['items'][_0x10d0b1(0x363)](_0x114ae6=>_0x114ae6[_0x10d0b1(0x357)]===_0x4b2127);}['getIds'](){const _0xc73a96=a0_0x302a2e;return this[_0xc73a96(0x1c9)]['map'](_0x5c14a9=>_0x5c14a9['id'])['filter'](_0x4f81eb=>_0x4f81eb!==undefined);}[a0_0x302a2e(0x302)](){const _0x39f957=a0_0x302a2e;return this['items'][_0x39f957(0x29c)](_0x1ae8a3=>_0x1ae8a3[_0x39f957(0x357)]);}[a0_0x302a2e(0x408)](){const _0x2363f4=a0_0x302a2e;if(this[_0x2363f4(0x28c)]())return _0x2363f4(0x2d0)+this[_0x2363f4(0x1c9)][_0x2363f4(0x356)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x2363f4(0x2e3)]()[_0x2363f4(0x3f0)]+')';return _0x2363f4(0x2d0)+this[_0x2363f4(0x1c9)][0x0]['name']+')';}}class DatasetGroupMap{[a0_0x302a2e(0x2f7)];constructor(_0x3038ac){const _0x41e697=a0_0x302a2e;this[_0x41e697(0x2f7)]=new Map();for(const _0x4d365d of _0x3038ac){const _0x27131b=_0x4d365d[_0x41e697(0x39a)](),_0x5eaa7c=_0x4d365d[_0x41e697(0x1e9)]?.['dbId'],_0x342234=_0x4d365d['dbtableConfig']?.['dbName']||_0x4d365d[_0x41e697(0x1e9)]?.[_0x41e697(0x1d3)]?.[_0x41e697(0x37a)]||'',_0x1ee9b3=_0x5eaa7c!==undefined&&_0x5eaa7c!==null?'db'+_0x5eaa7c:_0x342234?getTableKey(_0x342234):'',_0x4d83e1=_0x1ee9b3?_0x1ee9b3+'_'+_0x27131b:_0x27131b,_0x4da063=getTableKey(_0x4d83e1);if(!this['groups'][_0x41e697(0x14c)](_0x4da063))this['groups'][_0x41e697(0x2c3)](_0x4da063,new DatasetGroup(_0x4d365d));else{const _0x22225e=this['groups'][_0x41e697(0x240)](_0x4da063),_0x16eeb0=[..._0x22225e[_0x41e697(0x3d2)](),_0x4d365d];this[_0x41e697(0x2f7)][_0x41e697(0x2c3)](_0x4da063,new DatasetGroup(_0x16eeb0));}}}['get'](_0x553004){const _0x13600c=a0_0x302a2e;return this[_0x13600c(0x2f7)]['get'](_0x553004);}[a0_0x302a2e(0x14c)](_0x170cbf){const _0x6d40d5=a0_0x302a2e;return this[_0x6d40d5(0x2f7)][_0x6d40d5(0x14c)](_0x170cbf);}get[a0_0x302a2e(0x170)](){const _0x23b7f0=a0_0x302a2e;return this['groups'][_0x23b7f0(0x170)];}['keys'](){return this['groups']['keys']();}[a0_0x302a2e(0x288)](){const _0xd6372d=a0_0x302a2e;return this[_0xd6372d(0x2f7)][_0xd6372d(0x288)]();}['entries'](){const _0x24f55a=a0_0x302a2e;return this[_0x24f55a(0x2f7)]['entries']();}[Symbol['iterator']](){const _0x289900=a0_0x302a2e;return this[_0x289900(0x2f7)]['entries']();}[a0_0x302a2e(0x2ab)](_0x3b4841){const _0xe97cf4=a0_0x302a2e;this['groups'][_0xe97cf4(0x2ab)]((_0x2c3c35,_0x4c2a4b)=>_0x3b4841(_0x2c3c35,_0x4c2a4b,this));}[a0_0x302a2e(0x255)](){const _0x203d4c=a0_0x302a2e,_0x2b67fd=new Map();for(const [_0x4e00d6,_0x55b330]of this[_0x203d4c(0x2f7)]){_0x55b330['hasConflict']()&&_0x2b67fd[_0x203d4c(0x2c3)](_0x4e00d6,_0x55b330);}return _0x2b67fd;}['hasConflicts'](){const _0x4c269b=a0_0x302a2e;for(const _0xae5070 of this[_0x4c269b(0x2f7)][_0x4c269b(0x288)]()){if(_0xae5070[_0x4c269b(0x28c)]())return!![];}return![];}['getConflictStats'](){const _0x45f308=a0_0x302a2e;let _0x35f711=0x0,_0x52e63a=0x0;for(const _0x4c300b of this['groups'][_0x45f308(0x288)]()){_0x4c300b['hasConflict']()&&(_0x35f711++,_0x52e63a+=_0x4c300b['getCount']());}const _0x432fd7={};return _0x432fd7[_0x45f308(0x174)]=_0x35f711,_0x432fd7['conflictItemCount']=_0x52e63a,_0x432fd7['totalGroups']=this[_0x45f308(0x2f7)][_0x45f308(0x170)],_0x432fd7;}[a0_0x302a2e(0x3e7)](){const _0x14f95c=a0_0x302a2e,_0x3a8696=[];for(const _0x438933 of this[_0x14f95c(0x2f7)]['values']()){_0x3a8696[_0x14f95c(0x3a6)](..._0x438933[_0x14f95c(0x3d2)]());}return _0x3a8696;}[a0_0x302a2e(0x203)](){const _0x2bedad=a0_0x302a2e,_0xe7688f=[];for(const _0x43febe of this[_0x2bedad(0x2f7)][_0x2bedad(0x288)]()){_0xe7688f[_0x2bedad(0x3a6)](_0x43febe[_0x2bedad(0x2e3)]());}return _0xe7688f;}[a0_0x302a2e(0x2e3)](_0x17c53b){const _0x1d60c9=a0_0x302a2e;return this[_0x1d60c9(0x2f7)]['get'](_0x17c53b)?.[_0x1d60c9(0x2e3)]();}['getAll'](_0x94b8ad){const _0x2f0838=a0_0x302a2e;return this[_0x2f0838(0x2f7)][_0x2f0838(0x240)](_0x94b8ad)?.[_0x2f0838(0x3d2)]()||[];}[a0_0x302a2e(0x32f)](){const _0x25aeab=a0_0x302a2e,_0x138052=this[_0x25aeab(0x203)](),_0x2ae378=new Map();for(const _0x31b8fd of _0x138052){const _0x42bd8=_0x31b8fd[_0x25aeab(0x39a)](),_0x34fc8b=_0x31b8fd[_0x25aeab(0x1e9)]?.[_0x25aeab(0x329)],_0x14b526=_0x31b8fd[_0x25aeab(0x1e9)]?.['dbName']||_0x31b8fd[_0x25aeab(0x1e9)]?.[_0x25aeab(0x1d3)]?.['dbName']||'',_0x3cf0b0=_0x34fc8b!==undefined&&_0x34fc8b!==null?'db'+_0x34fc8b:_0x14b526?getTableKey(_0x14b526):'';!_0x2ae378[_0x25aeab(0x14c)](_0x42bd8)&&_0x2ae378[_0x25aeab(0x2c3)](_0x42bd8,new Set()),_0x2ae378[_0x25aeab(0x240)](_0x42bd8)[_0x25aeab(0x3e0)](_0x3cf0b0);}const _0x42411a=new Set();for(const [_0x31a3aa,_0x3e980a]of _0x2ae378){_0x3e980a[_0x25aeab(0x170)]>0x1&&_0x42411a[_0x25aeab(0x3e0)](_0x31a3aa);}const _0x37ab51={},_0x1255c1=new Set();for(const _0x249d82 of _0x138052){const _0x564312=_0x249d82[_0x25aeab(0x39a)](),_0x1a5ed7=_0x249d82[_0x25aeab(0x1f2)](),_0x5b9d49=getTableKey(_0x564312);let _0x46683f=_0x5b9d49;const _0x3c46c2=_0x249d82['dbtableConfig']?.[_0x25aeab(0x37a)]||_0x249d82[_0x25aeab(0x1e9)]?.[_0x25aeab(0x1d3)]?.['dbName']||'';if(_0x42411a[_0x25aeab(0x14c)](_0x564312)&&_0x3c46c2){const _0x540bc0=getTableKey(_0x3c46c2);_0x46683f=''+_0x540bc0+_0x5b9d49[_0x25aeab(0x2bb)](0x0)[_0x25aeab(0x2b1)]()+_0x5b9d49[_0x25aeab(0x252)](0x1);}let _0x220fc7=_0x46683f,_0x4370b4=0x1;while(_0x1255c1[_0x25aeab(0x14c)](_0x220fc7)){_0x220fc7=_0x46683f+'_'+_0x4370b4,_0x4370b4++;}_0x1255c1[_0x25aeab(0x3e0)](_0x220fc7);const _0x5e72df=_0x220fc7;_0x37ab51[_0x220fc7]={'key':_0x220fc7,'alias':_0x5e72df,'tableName':_0x564312,'datasetCode':_0x1a5ed7[_0x25aeab(0x357)],'name':_0x1a5ed7[_0x25aeab(0x3f0)],'id':_0x1a5ed7['id'],'dbName':_0x3c46c2};}return _0x37ab51;}[a0_0x302a2e(0x3c1)](){const _0x4c0b59=a0_0x302a2e,_0x1e6743=this[_0x4c0b59(0x3e7)](),_0x1006ca=_0x1e6743[_0x4c0b59(0x29c)](_0x5a2d29=>_0x5a2d29[_0x4c0b59(0x1f2)]());return generateFullDatasetsConfig(_0x1006ca);}[a0_0x302a2e(0x1ea)](){const _0x41cb8b=a0_0x302a2e,_0x416c38={};for(const [_0x20e3f7,_0x7fc21e]of this[_0x41cb8b(0x2f7)]){_0x416c38[_0x20e3f7]=_0x7fc21e;}return _0x416c38;}[a0_0x302a2e(0x1f2)](){const _0x31c0c9=a0_0x302a2e,_0x34b49b={};for(const [_0x1340fa,_0x50f716]of this[_0x31c0c9(0x2f7)]){_0x34b49b[_0x1340fa]=_0x50f716[_0x31c0c9(0x3d2)]()[_0x31c0c9(0x29c)](_0x90b44=>_0x90b44[_0x31c0c9(0x1f2)]());}return _0x34b49b;}[a0_0x302a2e(0x408)](){const _0xce59ac=a0_0x302a2e;return _0xce59ac(0x3f2)+this[_0xce59ac(0x2f7)][_0xce59ac(0x170)]+_0xce59ac(0x158)+(this[_0xce59ac(0x193)]()?_0xce59ac(0x2eb):_0xce59ac(0x330))+')';}}class DatasetList{[a0_0x302a2e(0x2d7)];constructor(_0x39b9a7){const _0x28f7f1=a0_0x302a2e;let _0x5bf452;if(Array['isArray'](_0x39b9a7))_0x5bf452=_0x39b9a7;else{if('success'in _0x39b9a7){if(!_0x39b9a7[_0x28f7f1(0x263)])throw new Error(_0x28f7f1(0x2ad));if(Array[_0x28f7f1(0x33a)](_0x39b9a7['data']))_0x5bf452=_0x39b9a7['data'][_0x28f7f1(0x29c)](_0x1417e3=>({..._0x1417e3,'datasetCode':_0x1417e3[_0x28f7f1(0x218)]||_0x1417e3[_0x28f7f1(0x357)]}));else{if(_0x39b9a7['data']?.[_0x28f7f1(0x38f)])_0x5bf452=_0x39b9a7[_0x28f7f1(0x179)][_0x28f7f1(0x38f)][_0x28f7f1(0x29c)](_0x12fe01=>({..._0x12fe01,'datasetCode':_0x12fe01[_0x28f7f1(0x218)]||_0x12fe01[_0x28f7f1(0x357)]}));else throw new Error(_0x28f7f1(0x381));}}else{if('tableData'in _0x39b9a7){if(!Array[_0x28f7f1(0x33a)](_0x39b9a7[_0x28f7f1(0x38f)]))throw new Error(_0x28f7f1(0x2aa));_0x5bf452=_0x39b9a7[_0x28f7f1(0x38f)][_0x28f7f1(0x29c)](_0x2f152d=>({..._0x2f152d,'datasetCode':_0x2f152d[_0x28f7f1(0x218)]||_0x2f152d[_0x28f7f1(0x357)]}));}else throw new Error(_0x28f7f1(0x395));}}const _0x300029=cleanDatasetNames(_0x5bf452),_0x425df6=_0x300029[_0x28f7f1(0x29c)](_0x15d41c=>new DatasetItem(_0x15d41c));this[_0x28f7f1(0x2d7)]=new DatasetGroupMap(_0x425df6);}get[a0_0x302a2e(0x1b5)](){const _0x18effd=a0_0x302a2e;return this[_0x18effd(0x2d7)];}[a0_0x302a2e(0x172)](){const _0x23c031=a0_0x302a2e;return this[_0x23c031(0x2d7)][_0x23c031(0x3e7)]();}[a0_0x302a2e(0x26d)](){const _0x5c9e90=a0_0x302a2e;return this[_0x5c9e90(0x172)]()[_0x5c9e90(0x356)];}['isEmpty'](){const _0x2aa103=a0_0x302a2e;return this['_datasetMap'][_0x2aa103(0x170)]===0x0;}['getAt'](_0x37f529){const _0x4fe275=a0_0x302a2e;return this[_0x4fe275(0x172)]()[_0x37f529];}[a0_0x302a2e(0x2b2)](){return this['getItems']()[0x0];}[a0_0x302a2e(0x39c)](){const _0x391ef4=a0_0x302a2e,_0x33bc59=this[_0x391ef4(0x172)]();return _0x33bc59[_0x33bc59[_0x391ef4(0x356)]-0x1];}[a0_0x302a2e(0x332)](_0xe194c5){const _0x2b857b=a0_0x302a2e;for(const _0x5b4aa8 of this[_0x2b857b(0x2d7)][_0x2b857b(0x288)]()){const _0x5ee5cf=_0x5b4aa8[_0x2b857b(0x332)](_0xe194c5);if(_0x5ee5cf)return _0x5ee5cf;}return;}['findByName'](_0x4f5c3b){const _0x4cca9f=a0_0x302a2e;return this[_0x4cca9f(0x172)]()['find'](_0x58f3d7=>_0x58f3d7[_0x4cca9f(0x3f0)]===_0x4f5c3b);}[a0_0x302a2e(0x3a7)](_0x565503){const _0x1e4405=a0_0x302a2e;for(const _0xaf653f of this[_0x1e4405(0x2d7)][_0x1e4405(0x288)]()){const _0x7f7f79=_0xaf653f['findById'](_0x565503);if(_0x7f7f79)return _0x7f7f79;}return;}[a0_0x302a2e(0x1ac)](_0x5786cb){const _0x556521=a0_0x302a2e;for(const _0x1ac77a of this['_datasetMap'][_0x556521(0x288)]()){const _0x27ab41=_0x1ac77a['getLatest']();if(_0x27ab41[_0x556521(0x39a)]()===_0x5786cb)return _0x27ab41;}return;}[a0_0x302a2e(0x269)](_0x529f6b){const _0x48bd19=a0_0x302a2e,_0x3bcffe=[];for(const _0x37af29 of this[_0x48bd19(0x2d7)]['values']()){const _0x3278a3=_0x37af29[_0x48bd19(0x2e3)]();_0x3278a3['getTableName']()===_0x529f6b&&_0x3bcffe[_0x48bd19(0x3a6)](_0x3278a3);}return _0x3bcffe;}['filter'](_0x1326a8){const _0x3e00eb=a0_0x302a2e,_0x5b7395=this['getItems']()['filter'](_0x1326a8);return new DatasetList(_0x5b7395[_0x3e00eb(0x29c)](_0x5490ca=>_0x5490ca[_0x3e00eb(0x1f2)]()));}[a0_0x302a2e(0x2b3)](_0x6418fd){const _0x33225d=a0_0x302a2e;return this[_0x33225d(0x172)]()[_0x33225d(0x1a8)](_0x6418fd);}['forEach'](_0x19380a){const _0x4af17a=a0_0x302a2e;this[_0x4af17a(0x172)]()[_0x4af17a(0x2ab)](_0x19380a);}['map'](_0x256839){const _0x4ce197=a0_0x302a2e;return this[_0x4ce197(0x172)]()[_0x4ce197(0x29c)](_0x256839);}[Symbol[a0_0x302a2e(0x292)]](){const _0x5b27af=a0_0x302a2e;return this['getItems']()[Symbol[_0x5b27af(0x292)]]();}[a0_0x302a2e(0x2e7)](){const _0x3ad01c=a0_0x302a2e;return this[_0x3ad01c(0x172)]()[_0x3ad01c(0x1a8)](_0x1c5903=>_0x1c5903[_0x3ad01c(0x337)]());}[a0_0x302a2e(0x367)](){const _0x4ba854=a0_0x302a2e;return this[_0x4ba854(0x172)]()[_0x4ba854(0x1a8)](_0x45870e=>!_0x45870e[_0x4ba854(0x337)]());}[a0_0x302a2e(0x243)](){const _0x28277a=a0_0x302a2e,_0x1ebb23={};for(const _0x4532df of this[_0x28277a(0x2d7)]['values']()){const _0x30e18d=_0x4532df[_0x28277a(0x2e3)]()[_0x28277a(0x39a)]();_0x1ebb23[_0x30e18d]=_0x4532df[_0x28277a(0x3d2)]();}return _0x1ebb23;}[a0_0x302a2e(0x3a3)](){const _0x581066=a0_0x302a2e,_0x52a484={};for(const _0x426722 of this[_0x581066(0x2d7)][_0x581066(0x255)]()['values']()){const _0xa6ca44=_0x426722[_0x581066(0x2e3)]()['getTableName']();_0x52a484[_0xa6ca44]=_0x426722[_0x581066(0x3d2)]()['map'](_0x5b9fa3=>_0x5b9fa3[_0x581066(0x1f2)]());}return{'hasConflicts':Object[_0x581066(0x2b6)](_0x52a484)[_0x581066(0x356)]>0x0,'conflicts':_0x52a484};}['hasConflicts'](){const _0x306fb8=a0_0x302a2e;return this['_datasetMap'][_0x306fb8(0x193)]();}[a0_0x302a2e(0x1bf)](){const _0x48a968=a0_0x302a2e,_0xfe662=[];for(const _0x2f5b0d of this[_0x48a968(0x2d7)][_0x48a968(0x255)]()[_0x48a968(0x288)]()){_0xfe662[_0x48a968(0x3a6)](..._0x2f5b0d[_0x48a968(0x3d2)]());}return _0xfe662;}[a0_0x302a2e(0x3ae)](_0x133e21){const _0x1193ce=a0_0x302a2e;if(!_0x133e21||Object[_0x1193ce(0x2b6)](_0x133e21)['length']===0x0)return this[_0x1193ce(0x1b5)][_0x1193ce(0x32f)]();const _0x52bdf9=this['getItems']()[_0x1193ce(0x29c)](_0x3e614f=>_0x3e614f[_0x1193ce(0x1f2)]());return generateDatasetsConfig(_0x52bdf9,_0x133e21);}[a0_0x302a2e(0x2fb)](_0x25fa46){const _0x4366ca=this['generateConfig'](_0x25fa46);return datasetsConfigToArray(_0x4366ca);}[a0_0x302a2e(0x35a)](){const _0x14fa24=a0_0x302a2e;return this[_0x14fa24(0x172)]()[_0x14fa24(0x29c)](_0x22f033=>_0x22f033[_0x14fa24(0x32f)]());}['getStats'](){const _0x3901b2=a0_0x302a2e;return{'total':this['getCount'](),'virtualTables':this[_0x3901b2(0x2e7)]()[_0x3901b2(0x356)],'realTables':this[_0x3901b2(0x367)]()[_0x3901b2(0x356)],'hasConflicts':this['hasConflicts'](),'conflictCount':this['getConflictingItems']()['length']};}[a0_0x302a2e(0x36e)](){const _0x143472=a0_0x302a2e;return this[_0x143472(0x172)]()[_0x143472(0x29c)](_0x18480d=>_0x18480d[_0x143472(0x1f2)]());}['toJSON'](){return this['toArray']();}[a0_0x302a2e(0x408)](){const _0x480eaa=a0_0x302a2e;return _0x480eaa(0x19b)+this[_0x480eaa(0x26d)]()+_0x480eaa(0x403)+this[_0x480eaa(0x2d7)][_0x480eaa(0x170)]+_0x480eaa(0x16e);}static['fromApiResponse'](_0x58393c){return new DatasetList(_0x58393c);}static[a0_0x302a2e(0x1bc)](_0x590813){return new DatasetList(_0x590813);}static[a0_0x302a2e(0x3b9)](){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(_0x2ac7f9,_0x4aeb1e,_0x28f38d={}){const _0x1f7453=a0_0x302a2e;let _0x14c338=_0x2ac7f9;return Object[_0x1f7453(0x323)](_0x28f38d)['forEach'](([_0x478284,_0x5c2d4c])=>{const _0x2773e9=_0x1f7453,_0x3161f6=new RegExp('<!--\x5cs*CONDITION:\x5cs*'+_0x478284+_0x2773e9(0x1e5),'g');_0x14c338=_0x14c338['replace'](_0x3161f6,_0x5c2d4c?'$1':'');}),Object[_0x1f7453(0x323)](_0x4aeb1e)[_0x1f7453(0x2ab)](([_0x69517b,_0x3f6b70])=>{const _0x2fe0ad=_0x1f7453;if(_0x3f6b70!==undefined){const _0x3ee8d3=new RegExp(_0x2fe0ad(0x362)+_0x69517b+'\x5c}\x5c}','g');_0x14c338=_0x14c338[_0x2fe0ad(0x213)](_0x3ee8d3,_0x3f6b70);}}),_0x14c338;}function generateSDKInitCode(_0x3fc3d0,_0x31d7d4,_0x2f1edf,_0x5ec0e3,_0x2dbf3f){const _0x4feb91=a0_0x302a2e,_0xb0e263={};_0xb0e263['appCode']=_0x3fc3d0,_0xb0e263['datasetCode']=_0x31d7d4,_0xb0e263[_0x4feb91(0x3ca)]=_0x2f1edf,_0xb0e263[_0x4feb91(0x266)]=_0x5ec0e3===_0x4feb91(0x237)?'daily':undefined;const _0x412788={};return _0x412788[_0x4feb91(0x266)]=_0x5ec0e3!==undefined&&_0x5ec0e3!==_0x4feb91(0x214),_0x412788[_0x4feb91(0x2e1)]=_0x2dbf3f===!![],renderTemplate(SDK_INIT_TEMPLATE,_0xb0e263,_0x412788);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x302a2e(0x22d);function generateAliasExplanation(_0x5eff28,_0x565c3c,_0x4f0e2e,_0x3e7b8b){const _0x3638ae=a0_0x302a2e,_0xb7914b=_0x3638ae(0x319)+_0x5eff28,_0x27cd6d='{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}',_0x3f39be={};return _0x3f39be[_0x3638ae(0x357)]=_0x5eff28,_0x3f39be[_0x3638ae(0x159)]=_0xb7914b,_0x3f39be[_0x3638ae(0x1b6)]=_0x565c3c,_0x3f39be[_0x3638ae(0x3ca)]=_0x4f0e2e,_0x3f39be[_0x3638ae(0x37d)]=_0x3e7b8b,_0x3f39be['exampleWhere']=_0x27cd6d,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x3f39be,{});}function a0_0x14b3(_0x4c0fed,_0x48d8e2){_0x4c0fed=_0x4c0fed-0x148;const _0x1c7acb=a0_0x1c7a();let _0x14b307=_0x1c7acb[_0x4c0fed];return _0x14b307;}function DrivenDataDetailPlusMixin(_0x4123e3){const _0x878e53=a0_0x302a2e;return class _0x10564e extends _0x4123e3{[_0x878e53(0x30d)](_0x3449b3){const _0x2e1a35=_0x878e53;return{'appCode':_0x3449b3,'datasetSDKKey':this[_0x2e1a35(0x219)](),'alias':this[_0x2e1a35(0x35c)](),'tableName':this[_0x2e1a35(0x39a)](),'datasetCode':this[_0x2e1a35(0x357)]};}[_0x878e53(0x29e)](_0x372843,_0x4edd0f=_0x878e53(0x214),_0x1654c4=![]){const _0x44111a=_0x878e53;return generateSDKInitCode(_0x372843,this['datasetCode'],this[_0x44111a(0x35c)](),_0x4edd0f===_0x44111a(0x237)?_0x4edd0f:undefined,_0x1654c4);}[_0x878e53(0x28a)](_0x1fc292,_0x581070,_0xe4200={}){const _0xa60982=_0x878e53,_0x1b89a5=this[_0xa60982(0x1de)]()[_0xa60982(0x363)](_0x22cad3=>_0x22cad3['getName']()===_0x1fc292);if(!_0x1b89a5)return null;const _0xabd07f={};_0xabd07f[_0xa60982(0x3c4)]=_0xe4200[_0xa60982(0x2cf)]!==![];const _0x9cedeb=this[_0xa60982(0x3ef)](_0x1fc292,_0xabd07f);if(!_0x9cedeb)return null;const _0x104fc5=[];return _0x104fc5[_0xa60982(0x3a6)](_0xa60982(0x370)+_0x1b89a5[_0xa60982(0x2d2)]()+_0xa60982(0x212)),_0x104fc5[_0xa60982(0x3a6)](_0x9cedeb[_0xa60982(0x386)][_0xa60982(0x218)]),_0x104fc5['push'](''),_0xe4200[_0xa60982(0x2c0)]!==![]&&(_0x104fc5['push']('//\x20Usage\x20examples'),_0x104fc5['push'](_0x9cedeb[_0xa60982(0x3dd)]['successCode']),_0x104fc5['push'](''),_0x104fc5[_0xa60982(0x3a6)](_0x9cedeb[_0xa60982(0x3dd)][_0xa60982(0x201)])),_0x104fc5[_0xa60982(0x35e)]('\x0a');}[_0x878e53(0x361)](_0xe8cd4f={}){const _0x300345=_0x878e53,_0x4a7041=this[_0x300345(0x19f)](),_0x49bacb=[];return _0x4a7041[_0x300345(0x2ab)]((_0x14ffc1,_0x328eea)=>{const _0x2ffb08=_0x300345,_0x435b01=this[_0x2ffb08(0x28a)](_0x14ffc1[_0x2ffb08(0x3f0)],_0x2ffb08(0x38c),_0xe8cd4f);_0x435b01&&(_0x49bacb[_0x2ffb08(0x3a6)](_0x2ffb08(0x148)+(_0x328eea+0x1)+'.\x20'+_0x14ffc1[_0x2ffb08(0x385)]),_0x49bacb[_0x2ffb08(0x3a6)](_0x435b01),_0x49bacb[_0x2ffb08(0x3a6)](''));}),_0x49bacb[_0x300345(0x35e)]('\x0a');}[_0x878e53(0x233)](_0x279382){const _0x39083e=_0x878e53,_0x805417=this[_0x39083e(0x1c3)](_0x279382);if(!_0x805417)return null;const _0x316564={};return _0x316564[_0x39083e(0x3f0)]=_0x805417[_0x39083e(0x3f0)],_0x316564[_0x39083e(0x385)]=_0x805417[_0x39083e(0x385)],_0x316564[_0x39083e(0x373)]=_0x805417['method'],_0x316564[_0x39083e(0x176)]=_0x805417[_0x39083e(0x176)],_0x316564[_0x39083e(0x1f5)]=_0x805417[_0x39083e(0x1f5)],_0x316564['requestFieldCount']=_0x805417[_0x39083e(0x19a)][_0x39083e(0x356)],_0x316564['hasResponseSchema']=_0x805417[_0x39083e(0x209)]!==null,_0x316564;}[_0x878e53(0x3af)](_0x1139c2={}){const _0xd53447=_0x878e53,_0x14510d=this[_0xd53447(0x19f)]();return{'datasetName':this[_0xd53447(0x3f0)],'datasetCode':this[_0xd53447(0x357)],'tableName':this[_0xd53447(0x39a)](),'totalOperations':_0x14510d[_0xd53447(0x356)],'operations':_0x14510d['map'](_0x89b7aa=>({'name':_0x89b7aa['name'],'displayName':_0x89b7aa[_0xd53447(0x385)],'method':_0x89b7aa[_0xd53447(0x373)],'enabled':_0x89b7aa[_0xd53447(0x1f5)]}))};}[_0x878e53(0x215)](_0x20e9fa){const _0x290b38=_0x878e53,_0x489195=this[_0x290b38(0x1c3)](_0x20e9fa);if(!_0x489195)return[];return _0x489195[_0x290b38(0x19a)]['map'](_0x1dfde5=>{const _0x23b055=_0x290b38,_0x2add99=this[_0x23b055(0x29d)](_0x1dfde5);if(!_0x2add99)return null;const _0x379caf={};return _0x379caf[_0x23b055(0x218)]=_0x1dfde5,_0x379caf[_0x23b055(0x3f0)]=_0x2add99[_0x23b055(0x3f0)]||_0x1dfde5,_0x379caf;})[_0x290b38(0x1a8)](_0x3732a0=>_0x3732a0!==null);}['getMissingCRUDOperations'](){const _0x1cf593=_0x878e53,_0x1638f3=new Set(this['getEnabledOperationAnalyses']()['map'](_0x47f587=>String(_0x47f587[_0x1cf593(0x343)]))),_0x52bfc8=['create',_0x1cf593(0x2fd),_0x1cf593(0x231),_0x1cf593(0x253)];return _0x52bfc8[_0x1cf593(0x1a8)](_0x5cd1c2=>!_0x1638f3[_0x1cf593(0x14c)](String(_0x5cd1c2)));}[_0x878e53(0x1a6)](_0x46c992=_0x878e53(0x38c)){const _0x283c13=_0x878e53;return generateAliasExplanation(this[_0x283c13(0x357)],this[_0x283c13(0x39a)](),this[_0x283c13(0x35c)](),_0x46c992);}};}function operationToAnalysis(_0x421577){const _0x4b2f82=a0_0x302a2e;return{'name':_0x421577[_0x4b2f82(0x2d2)](),'displayName':_0x421577['getDisplayName'](),'type':_0x421577['getType'](),'method':_0x421577['getMethod'](),'path':_0x421577[_0x4b2f82(0x1a7)](),'fullUrl':_0x421577[_0x4b2f82(0x22f)](),'requestFields':_0x421577['getRequestFields'](),'requestParams':_0x421577[_0x4b2f82(0x256)](),'responseSchema':_0x421577[_0x4b2f82(0x18c)](),'requestExample':_0x421577[_0x4b2f82(0x2a9)](),'responseExample':_0x421577[_0x4b2f82(0x18e)](),'enabled':_0x421577['isEnabled']()};}function operationsToAnalyses(_0x40d2da){const _0x15d1ec=a0_0x302a2e;if(!Array[_0x15d1ec(0x33a)](_0x40d2da))return!![]&&console[_0x15d1ec(0x3c9)](_0x15d1ec(0x27f),_0x40d2da),[];return _0x40d2da[_0x15d1ec(0x29c)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x42f44f){const _0x5da266=a0_0x302a2e,_0xef7f41=_0x42f44f[_0x5da266(0x363)](_0x3b3991=>_0x3b3991[_0x5da266(0x3f0)]==='filter'),_0x279483=_0x42f44f[_0x5da266(0x1a8)](_0x4c93e9=>_0x4c93e9[_0x5da266(0x3f0)]!==_0x5da266(0x1a8));return _0xef7f41?[_0xef7f41,..._0x279483]:_0x279483;}function filterOperationAnalyses(_0x9735e3,_0x765150={}){const _0x846b3=a0_0x302a2e;let _0x2975ca=_0x9735e3;return!_0x765150[_0x846b3(0x1d7)]&&(_0x2975ca=_0x2975ca[_0x846b3(0x1a8)](_0x5908ba=>_0x5908ba[_0x846b3(0x1f5)])),_0x765150[_0x846b3(0x2d3)]!==![]&&(_0x2975ca=filterApiOperations(_0x2975ca)),_0x765150[_0x846b3(0x153)]&&(_0x2975ca=_0x2975ca[_0x846b3(0x1a8)](_0x765150[_0x846b3(0x153)])),sortOperationsWithFilterFirst(_0x2975ca);}function getOperationStats(_0x49fbfc){const _0x283e5a=a0_0x302a2e,_0x1422bc=_0x49fbfc[_0x283e5a(0x1a8)](_0x358895=>_0x358895['enabled']);return{'total':_0x49fbfc['length'],'enabled':_0x1422bc[_0x283e5a(0x356)],'disabled':_0x49fbfc[_0x283e5a(0x356)]-_0x1422bc[_0x283e5a(0x356)],'byType':getCountByType(_0x1422bc),'byMethod':getCountByMethod(_0x1422bc)};}function getCountByType(_0x15b2ab){const _0x5bdffb=a0_0x302a2e,_0x7b0363={};return _0x15b2ab[_0x5bdffb(0x2ab)](_0x44d7ab=>{const _0x5655e8=_0x5bdffb;if(_0x44d7ab[_0x5655e8(0x343)])_0x7b0363[_0x44d7ab[_0x5655e8(0x343)]]=(_0x7b0363[_0x44d7ab[_0x5655e8(0x343)]]||0x0)+0x1;}),_0x7b0363;}function getCountByMethod(_0x38d8dc){const _0xa6a520=a0_0x302a2e,_0x57329b={};return _0x38d8dc[_0xa6a520(0x2ab)](_0x433a95=>{const _0x4cee3e=_0xa6a520;_0x57329b[_0x433a95[_0x4cee3e(0x373)]]=(_0x57329b[_0x433a95['method']]||0x0)+0x1;}),_0x57329b;}function supportsCRUD(_0x21cee5){const _0x28389c=a0_0x302a2e,_0x248c3c=new Set(_0x21cee5['map'](_0x2a4029=>_0x2a4029['type'])[_0x28389c(0x1a8)](Boolean));return _0x248c3c['has']('create')&&_0x248c3c[_0x28389c(0x14c)]('getList')&&_0x248c3c[_0x28389c(0x14c)](_0x28389c(0x231))&&_0x248c3c[_0x28389c(0x14c)]('delete');}function createOperationDocMeta(_0x2ae629,_0x5cb929,_0x502c2b,_0x5ea7c5,_0x1a7d71,_0x1bfe4){const _0x55e7e8=a0_0x302a2e,_0x274570={};return _0x274570[_0x55e7e8(0x3c4)]=_0x1bfe4?.[_0x55e7e8(0x3c4)],{'operation':_0x2ae629,'operationInstance':_0x5cb929,'basicInfo':{'name':_0x2ae629[_0x55e7e8(0x3f0)],'displayName':_0x2ae629[_0x55e7e8(0x385)],'method':_0x2ae629[_0x55e7e8(0x373)],'path':_0x2ae629[_0x55e7e8(0x176)],'fullUrl':_0x2ae629[_0x55e7e8(0x314)],'enabled':_0x2ae629['enabled']},'sdkCall':{'datasetCode':_0x502c2b,'datasetSDKKey':_0x5ea7c5,'tableName':_0x1a7d71,'operationName':_0x2ae629[_0x55e7e8(0x3f0)],'params':_0x2ae629[_0x55e7e8(0x19a)],'code':_0x5cb929[_0x55e7e8(0x2bc)](_0x5ea7c5,_0x274570)},'usageExample':_0x5cb929[_0x55e7e8(0x195)](_0x5ea7c5)};}function createOperationsOverviewData(_0x40f018){const _0x35ad92=a0_0x302a2e,_0xbc2357={};_0xbc2357['index']=_0x35ad92(0x3f0),_0xbc2357['label']=_0x35ad92(0x3b0);const _0xc8a140={};_0xc8a140[_0x35ad92(0x1a3)]=_0x35ad92(0x385),_0xc8a140['label']=_0x35ad92(0x1b2);const _0x286db3={};_0x286db3[_0x35ad92(0x1a3)]=_0x35ad92(0x373),_0x286db3[_0x35ad92(0x2d5)]='方法';const _0x2300b5={};_0x2300b5[_0x35ad92(0x1a3)]=_0x35ad92(0x386),_0x2300b5[_0x35ad92(0x2d5)]=_0x35ad92(0x1ce);const _0x1fa9de={};_0x1fa9de[_0x35ad92(0x1a3)]=_0x35ad92(0x176),_0x1fa9de['label']=_0x35ad92(0x242);const _0x23400a={};_0x23400a[_0x35ad92(0x1a3)]='sdkCallCode',_0x23400a[_0x35ad92(0x2d5)]=_0x35ad92(0x301);const _0x506c00=[_0xbc2357,_0xc8a140,_0x286db3,_0x2300b5,_0x1fa9de,_0x23400a],_0x28ec54=_0x40f018[_0x35ad92(0x29c)](_0x33584d=>{const _0x53929e=_0x35ad92,{basicInfo:_0x12cf71,sdkCall:_0x48a633}=_0x33584d,_0x1c2157=_0x48a633[_0x53929e(0x218)][_0x53929e(0x213)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,''),_0x40e4bd={};return _0x40e4bd['displayName']=_0x12cf71[_0x53929e(0x385)],_0x40e4bd['name']=_0x12cf71[_0x53929e(0x3f0)],_0x40e4bd[_0x53929e(0x373)]=_0x12cf71[_0x53929e(0x373)],_0x40e4bd[_0x53929e(0x176)]=_0x12cf71[_0x53929e(0x176)],_0x40e4bd[_0x53929e(0x386)]=_0x1c2157,_0x40e4bd['sdkCallCode']=_0x48a633[_0x53929e(0x218)],_0x40e4bd;}),_0x134b35={};return _0x134b35[_0x35ad92(0x1ed)]=_0x506c00,_0x134b35['tableData']=_0x28ec54,_0x134b35;}function createDatasetDocMeta(_0x3343c4,_0xe9058f,_0x59bacf,_0x576836,_0x46f774,_0x47660c,_0x235af9,_0x61ee7c,_0x411120){const _0x1ac721=a0_0x302a2e,_0x13cc9a={};return _0x13cc9a[_0x1ac721(0x331)]=_0x3343c4+_0x1ac721(0x3a1),_0x13cc9a[_0x1ac721(0x188)]={},_0x13cc9a['operations']=_0x411120,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x3f0)]=_0x3343c4,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x218)]=_0xe9058f,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x1b6)]=_0x59bacf,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x159)]=_0x576836,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x1ff)]=_0x46f774,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x246)]=_0x47660c,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x2a3)]=_0x235af9,_0x13cc9a[_0x1ac721(0x188)]['businessFieldCount']=0x0,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x3a4)]=0x0,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x20c)]=_0x61ee7c,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x261)]=_0x411120[_0x1ac721(0x356)],_0x13cc9a;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x302a2e(0x2b7)];[a0_0x302a2e(0x24d)](){return'v1';}[a0_0x302a2e(0x35c)](){const _0x2210fe=a0_0x302a2e;return this[_0x2210fe(0x2a6)]();}[a0_0x302a2e(0x376)](_0x58ebcf=![]){const _0x1c529e=a0_0x302a2e;if(!_0x58ebcf&&this['_operationAnalyses'])return this[_0x1c529e(0x2b7)];const _0x5a262b=this['getOperations']();return this[_0x1c529e(0x2b7)]=operationsToAnalyses(_0x5a262b),this['_operationAnalyses'];}[a0_0x302a2e(0x19f)](){const _0x11afe9=a0_0x302a2e,_0x628731={};return _0x628731['includeDisabled']=![],_0x628731[_0x11afe9(0x2d3)]=!![],this[_0x11afe9(0x340)](_0x628731);}[a0_0x302a2e(0x340)](_0x1c7308={}){const _0x1ad007=a0_0x302a2e;return filterOperationAnalyses(this[_0x1ad007(0x376)](),_0x1c7308);}[a0_0x302a2e(0x1c3)](_0x100fdb){const _0xe14fec=a0_0x302a2e;return this[_0xe14fec(0x376)]()[_0xe14fec(0x363)](_0x2d1bee=>_0x2d1bee[_0xe14fec(0x3f0)]===_0x100fdb);}[a0_0x302a2e(0x38d)](_0x4ad94d){const _0x158484=a0_0x302a2e;return this[_0x158484(0x376)]()['filter'](_0x201b7d=>_0x201b7d[_0x158484(0x343)]===_0x4ad94d);}[a0_0x302a2e(0x3ef)](_0x17836c,_0x413b02){const _0x502b6e=a0_0x302a2e,_0x257744=this['getOperationAnalysis'](_0x17836c);if(!_0x257744)return null;const _0x435066=this[_0x502b6e(0x1de)]()[_0x502b6e(0x363)](_0x504b15=>_0x504b15['getName']()===_0x257744[_0x502b6e(0x3f0)]);if(!_0x435066)throw new Error('Operation\x20not\x20found:\x20'+_0x257744['name']);return createOperationDocMeta(_0x257744,_0x435066,this[_0x502b6e(0x357)],this['getDatasetSDKKey'](),this['getTableName'](),_0x413b02);}[a0_0x302a2e(0x23e)](_0x36f85c={}){const _0x5656b4=a0_0x302a2e,_0x549fa9=this['getFilteredOperationAnalyses'](_0x36f85c),_0x489121=_0x549fa9[_0x5656b4(0x29c)](_0x50478c=>this[_0x5656b4(0x3ef)](_0x50478c[_0x5656b4(0x3f0)]))[_0x5656b4(0x1a8)](_0x40a038=>_0x40a038!==null);return createDatasetDocMeta(this[_0x5656b4(0x3f0)],this[_0x5656b4(0x357)],this[_0x5656b4(0x39a)](),this[_0x5656b4(0x219)](),this[_0x5656b4(0x2a6)](),this[_0x5656b4(0x246)],this[_0x5656b4(0x275)](),this[_0x5656b4(0x25c)](),_0x489121);}[a0_0x302a2e(0x3d6)](_0x5bae26){return createOperationsOverviewData(_0x5bae26);}[a0_0x302a2e(0x3c5)](){const _0x4c889e=a0_0x302a2e;return supportsCRUD(this[_0x4c889e(0x19f)]());}['getOperationStats'](){const _0x1165ee=a0_0x302a2e;return getOperationStats(this[_0x1165ee(0x376)]());}[a0_0x302a2e(0x408)](){const _0x5dfe13=a0_0x302a2e,_0x12906c=this[_0x5dfe13(0x1cf)]();return _0x5dfe13(0x17d)+this[_0x5dfe13(0x3f0)]+',\x20'+this[_0x5dfe13(0x357)]+',\x20'+this['getFieldCount']()+_0x5dfe13(0x156)+_0x12906c['enabled']+'/'+_0x12906c[_0x5dfe13(0x393)]+_0x5dfe13(0x2ff);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x302a2e(0x2b7)];[a0_0x302a2e(0x24d)](){return'v2';}[a0_0x302a2e(0x35c)](){return this['getTableKey']();}[a0_0x302a2e(0x376)](_0x58d0ba=![]){const _0x484f70=a0_0x302a2e;if(!_0x58d0ba&&this[_0x484f70(0x2b7)])return this['_operationAnalyses'];const _0x4fed58=this[_0x484f70(0x1de)]();return this[_0x484f70(0x2b7)]=operationsToAnalyses(_0x4fed58),this[_0x484f70(0x2b7)];}[a0_0x302a2e(0x19f)](){const _0x3934d1=a0_0x302a2e,_0x3099a6={};return _0x3099a6[_0x3934d1(0x1d7)]=![],_0x3099a6[_0x3934d1(0x2d3)]=!![],this[_0x3934d1(0x340)](_0x3099a6);}[a0_0x302a2e(0x340)](_0x3f6f66={}){const _0x37f9b7=a0_0x302a2e;return filterOperationAnalyses(this[_0x37f9b7(0x376)](),_0x3f6f66);}[a0_0x302a2e(0x1c3)](_0x52833b){const _0x21a271=a0_0x302a2e;return this['getOperationAnalyses']()[_0x21a271(0x363)](_0x3b9f61=>_0x3b9f61[_0x21a271(0x3f0)]===_0x52833b);}['getOperationAnalysesByType'](_0x1a6df1){const _0x3bba12=a0_0x302a2e;return this[_0x3bba12(0x376)]()['filter'](_0x29d266=>_0x29d266['type']===_0x1a6df1);}['getOperationDocMeta'](_0x41238d,_0x255925){const _0x366ebb=a0_0x302a2e,_0x196492=this[_0x366ebb(0x1c3)](_0x41238d);if(!_0x196492)return null;const _0x64a826=this[_0x366ebb(0x1de)]()['find'](_0x2d5aaf=>_0x2d5aaf[_0x366ebb(0x2d2)]()===_0x196492[_0x366ebb(0x3f0)]);if(!_0x64a826)throw new Error(_0x366ebb(0x1f0)+_0x196492['name']);return createOperationDocMeta(_0x196492,_0x64a826,this[_0x366ebb(0x357)],this[_0x366ebb(0x219)](),this[_0x366ebb(0x39a)](),_0x255925);}['getDatasetDocMeta'](_0x517a89={}){const _0x15cf58=a0_0x302a2e,_0x27c335=this[_0x15cf58(0x340)](_0x517a89),_0x5148bd=_0x27c335['map'](_0x4e9d73=>this['getOperationDocMeta'](_0x4e9d73['name']))[_0x15cf58(0x1a8)](_0x26bc36=>_0x26bc36!==null);return createDatasetDocMeta(this[_0x15cf58(0x3f0)],this[_0x15cf58(0x357)],this[_0x15cf58(0x39a)](),this[_0x15cf58(0x219)](),this['getTableKey'](),this['source'],this[_0x15cf58(0x275)](),this[_0x15cf58(0x25c)](),_0x5148bd);}['getOperationsOverviewData'](_0x4fad1c){return createOperationsOverviewData(_0x4fad1c);}['supportsCRUD'](){const _0x261aaf=a0_0x302a2e;return supportsCRUD(this[_0x261aaf(0x19f)]());}['getOperationStats'](){const _0x55f9fe=a0_0x302a2e;return getOperationStats(this[_0x55f9fe(0x376)]());}[a0_0x302a2e(0x408)](){const _0x355699=a0_0x302a2e,_0x148c44=this[_0x355699(0x1cf)]();return'DrivenDataDetailPlusV2('+this[_0x355699(0x3f0)]+',\x20'+this[_0x355699(0x357)]+',\x20'+this[_0x355699(0x275)]()+_0x355699(0x156)+_0x148c44[_0x355699(0x1f5)]+'/'+_0x148c44[_0x355699(0x393)]+'\x20operations,\x20v2)';}}function detectDatasetVersion3(_0x2d7c41){const _0xaf4956=a0_0x302a2e;if(_0x2d7c41['doVersion']==='v2'&&'fields'in _0x2d7c41&&Array[_0xaf4956(0x33a)](_0x2d7c41[_0xaf4956(0x2d1)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x302a2e(0x2b8)];constructor(_0x1bf930){const _0x3edf3c=a0_0x302a2e,_0x5e55bf=detectDatasetVersion3(_0x1bf930);return this[_0x3edf3c(0x2b8)]=_0x5e55bf==='v2'?new DrivenDataDetailPlusV2(_0x1bf930):new DrivenDataDetailPlusV1(_0x1bf930),new Proxy(this,{'get'(_0x32b685,_0x17f64c){const _0x38656a=_0x3edf3c;if(_0x17f64c in _0x32b685){const _0x287356=_0x32b685[_0x17f64c];return typeof _0x287356===_0x38656a(0x1e2)?_0x287356[_0x38656a(0x186)](_0x32b685):_0x287356;}if(_0x17f64c in _0x32b685[_0x38656a(0x2b8)]){const _0x4e2e64=_0x32b685[_0x38656a(0x2b8)][_0x17f64c];return typeof _0x4e2e64===_0x38656a(0x1e2)?_0x4e2e64[_0x38656a(0x186)](_0x32b685[_0x38656a(0x2b8)]):_0x4e2e64;}return;},'set'(_0x427e91,_0x163c9a,_0xe00c48){return _0x427e91[_0x163c9a]=_0xe00c48,!![];},'getPrototypeOf'(_0x1ab147){const _0x50cb8d=_0x3edf3c;return DrivenDataDetailPlus[_0x50cb8d(0x2a4)];}});}get['name'](){const _0x10a50c=a0_0x302a2e;return this[_0x10a50c(0x2b8)][_0x10a50c(0x3f0)];}get['id'](){const _0x230957=a0_0x302a2e;return this[_0x230957(0x2b8)]['id'];}get[a0_0x302a2e(0x357)](){const _0x80adc1=a0_0x302a2e;return this[_0x80adc1(0x2b8)][_0x80adc1(0x357)];}get['source'](){const _0x5278d2=a0_0x302a2e;return this[_0x5278d2(0x2b8)][_0x5278d2(0x246)];}get[a0_0x302a2e(0x1e9)](){const _0x112669=a0_0x302a2e;return this[_0x112669(0x2b8)][_0x112669(0x352)]();}['getVersion'](){const _0x10f9f5=a0_0x302a2e,_0xa04e2=this[_0x10f9f5(0x2b8)][_0x10f9f5(0x24d)]();return _0xa04e2==='v2'?'v2':'v1';}['getFieldCount'](){const _0xd64503=a0_0x302a2e;return this[_0xd64503(0x2b8)][_0xd64503(0x275)]();}['getOperationCount'](){const _0x385d74=a0_0x302a2e;return this[_0x385d74(0x2b8)][_0x385d74(0x25c)]();}['getFields'](){const _0x5a026e=a0_0x302a2e;return this['_instance'][_0x5a026e(0x325)]();}[a0_0x302a2e(0x1de)](){const _0x4c1518=a0_0x302a2e;return this[_0x4c1518(0x2b8)][_0x4c1518(0x1de)]();}['getFilteredOperations'](_0x319729){const _0x3c21c5=a0_0x302a2e;return this['_instance'][_0x3c21c5(0x2a2)](_0x319729);}[a0_0x302a2e(0x29d)](_0x4693ac){const _0x914e62=a0_0x302a2e;return this[_0x914e62(0x2b8)][_0x914e62(0x29d)](_0x4693ac);}[a0_0x302a2e(0x39a)](){const _0x4cbf1b=a0_0x302a2e;return this[_0x4cbf1b(0x2b8)][_0x4cbf1b(0x39a)]();}[a0_0x302a2e(0x2a6)](){const _0x2b8a0f=a0_0x302a2e;return this[_0x2b8a0f(0x2b8)]['getTableKey']();}[a0_0x302a2e(0x219)](){const _0xebbe19=a0_0x302a2e;return this[_0xebbe19(0x2b8)][_0xebbe19(0x219)]();}[a0_0x302a2e(0x1fc)](){const _0x547cdd=a0_0x302a2e;return this[_0x547cdd(0x2b8)][_0x547cdd(0x1fc)]();}[a0_0x302a2e(0x1be)](){const _0x3f0fc1=a0_0x302a2e;return this[_0x3f0fc1(0x2b8)][_0x3f0fc1(0x1be)]();}['getEnumFieldsMeta'](){const _0x128d91=a0_0x302a2e;return this[_0x128d91(0x2b8)]['getEnumFieldsMeta']();}[a0_0x302a2e(0x34b)](_0x4cb4e1){const _0x9e4eca=a0_0x302a2e;return this['_instance'][_0x9e4eca(0x34b)](_0x4cb4e1);}['getField'](_0x31a17c){const _0x40f39a=a0_0x302a2e;return this[_0x40f39a(0x2b8)][_0x40f39a(0x1b4)](_0x31a17c);}[a0_0x302a2e(0x2d6)](_0xa39260){const _0x381814=a0_0x302a2e;return this[_0x381814(0x2b8)][_0x381814(0x2d6)](_0xa39260);}[a0_0x302a2e(0x3f3)](_0x4a95db){const _0x358e1a=a0_0x302a2e;return this[_0x358e1a(0x2b8)][_0x358e1a(0x3f3)](_0x4a95db);}[a0_0x302a2e(0x258)](_0x32eb72){const _0x4034d6=a0_0x302a2e;return this['_instance'][_0x4034d6(0x258)](_0x32eb72);}[a0_0x302a2e(0x392)](_0x5be5d6,_0x41e6ce){const _0x218d96=a0_0x302a2e;return this[_0x218d96(0x2b8)][_0x218d96(0x392)](_0x5be5d6,_0x41e6ce);}['isRequiredField'](_0x2bd093){const _0x242df1=a0_0x302a2e;return this['_instance'][_0x242df1(0x2c9)](_0x2bd093);}[a0_0x302a2e(0x3bb)](){const _0x4d4660=a0_0x302a2e;return this['_instance'][_0x4d4660(0x3bb)]();}[a0_0x302a2e(0x310)](){const _0xfef133=a0_0x302a2e;return this[_0xfef133(0x2b8)]['getFilterOperation']();}[a0_0x302a2e(0x36d)](){const _0x1a99d5=a0_0x302a2e;return this[_0x1a99d5(0x2b8)][_0x1a99d5(0x36d)]();}['hasOperation'](_0x27e6fc){const _0x501db9=a0_0x302a2e;return this['_instance'][_0x501db9(0x180)](_0x27e6fc);}[a0_0x302a2e(0x352)](){const _0xbfc491=a0_0x302a2e;return this[_0xbfc491(0x2b8)]['getDBConfig']();}['getRawDbtableConfig'](){const _0x1a1c48=a0_0x302a2e;return this[_0x1a1c48(0x2b8)]['getRawDbtableConfig']();}['getSource'](){const _0x3d61c5=a0_0x302a2e;return this[_0x3d61c5(0x2b8)][_0x3d61c5(0x38e)]();}[a0_0x302a2e(0x376)](_0x291574){const _0x431922=a0_0x302a2e;return this[_0x431922(0x2b8)]['getOperationAnalyses'](_0x291574);}[a0_0x302a2e(0x19f)](){const _0x5e93ea=a0_0x302a2e;return this[_0x5e93ea(0x2b8)]['getEnabledOperationAnalyses']();}[a0_0x302a2e(0x340)](_0x400dc9){const _0x286228=a0_0x302a2e;return this[_0x286228(0x2b8)][_0x286228(0x340)](_0x400dc9);}[a0_0x302a2e(0x1c3)](_0x5e3e67){const _0x54f12c=a0_0x302a2e;return this['_instance'][_0x54f12c(0x1c3)](_0x5e3e67);}[a0_0x302a2e(0x38d)](_0x5bba8d){const _0x3c40f6=a0_0x302a2e;return this[_0x3c40f6(0x2b8)]['getOperationAnalysesByType'](_0x5bba8d);}[a0_0x302a2e(0x3ef)](_0x1ef154,_0x5040c5){const _0x503d61=a0_0x302a2e;return this[_0x503d61(0x2b8)][_0x503d61(0x3ef)](_0x1ef154,_0x5040c5);}['getDatasetDocMeta'](_0x2badc8){const _0x22348a=a0_0x302a2e;return this[_0x22348a(0x2b8)][_0x22348a(0x23e)](_0x2badc8);}[a0_0x302a2e(0x3d6)](_0x543d5c){const _0xa97cd2=a0_0x302a2e;return this['_instance'][_0xa97cd2(0x3d6)](_0x543d5c);}[a0_0x302a2e(0x35c)](){const _0x1f01be=a0_0x302a2e;return this[_0x1f01be(0x2b8)][_0x1f01be(0x35c)]();}[a0_0x302a2e(0x3c5)](){const _0x258521=a0_0x302a2e;return this[_0x258521(0x2b8)][_0x258521(0x3c5)]();}['getOperationStats'](){const _0x460c44=a0_0x302a2e;return this[_0x460c44(0x2b8)][_0x460c44(0x1cf)]();}[a0_0x302a2e(0x408)](){const _0x1e55d4=a0_0x302a2e;return this[_0x1e55d4(0x2b8)][_0x1e55d4(0x408)]();}['getOperation'](_0x23bc40){const _0x39fc4d=a0_0x302a2e;return this[_0x39fc4d(0x2b8)]['getOperation'](_0x23bc40);}[a0_0x302a2e(0x30d)](_0x27ce64){const _0x49d929=a0_0x302a2e;return this[_0x49d929(0x2b8)]['getSDKInitData'](_0x27ce64);}['generateSDKInitCode'](_0x29502b,_0x4da0a8,_0x3cfce7){const _0x4fbe6c=a0_0x302a2e;return this[_0x4fbe6c(0x2b8)][_0x4fbe6c(0x29e)](_0x29502b,_0x4da0a8,_0x3cfce7);}[a0_0x302a2e(0x28a)](_0x5b3377,_0x28f8cf,_0x284c05){const _0x547147=a0_0x302a2e;return this[_0x547147(0x2b8)][_0x547147(0x28a)](_0x5b3377,_0x28f8cf,_0x284c05);}[a0_0x302a2e(0x361)](_0xdf5774){return this['_instance']['generateAllOperationsFullSDKExample'](_0xdf5774);}['generateOperationSummary'](_0x479d1e){const _0x1e2768=a0_0x302a2e;return this[_0x1e2768(0x2b8)][_0x1e2768(0x233)](_0x479d1e);}[a0_0x302a2e(0x3af)](_0xb8d075){const _0x31eab1=a0_0x302a2e;return this[_0x31eab1(0x2b8)]['generateAllOperationsSummary'](_0xb8d075);}[a0_0x302a2e(0x215)](_0x4bf027){const _0x3b3f5f=a0_0x302a2e;return this[_0x3b3f5f(0x2b8)][_0x3b3f5f(0x215)](_0x4bf027);}[a0_0x302a2e(0x16a)](){const _0x3b5346=a0_0x302a2e;return this[_0x3b5346(0x2b8)][_0x3b5346(0x16a)]();}['generateAliasExplanation'](){const _0x41ff53=a0_0x302a2e;return this['_instance'][_0x41ff53(0x1a6)]();}[a0_0x302a2e(0x1fb)](){const _0x39d769=a0_0x302a2e;return this[_0x39d769(0x2b8)];}}function createDrivenDataDetailPlus(_0x9a8e9a,_0x255e53={}){const _0x3774b9=a0_0x302a2e;if(_0x255e53[_0x3774b9(0x300)]==='v1')return new DrivenDataDetailPlusV1(_0x9a8e9a);if(_0x255e53[_0x3774b9(0x300)]==='v2')return new DrivenDataDetailPlusV2(_0x9a8e9a);if(_0x9a8e9a['doVersion']==='v2'||_0x3774b9(0x25e)in _0x9a8e9a)return new DrivenDataDetailPlusV2(_0x9a8e9a);return new DrivenDataDetailPlusV1(_0x9a8e9a);}function isPlusV2Instance(_0x179c26){const _0x2a2847=a0_0x302a2e;return _0x179c26[_0x2a2847(0x24d)]()==='v2';}function isPlusV1Instance(_0x12848e){return _0x12848e['getVersion']()==='v1';}var VERSION=a0_0x302a2e(0x3ba);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};
@@ -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,CAiB5E,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,CAuDT;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,eAAe,EAAE,EACzB,aAAa,EAAE,oBAAoB,EACnC,OAAO,CAAC,EAAE,MAAM,GACf,eAAe,EAAE,CAQnB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAQ/D;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAQpF"}
1
+ {"version":3,"file":"field-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/plus/field-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/dsparser",
3
- "version": "1.3.10",
3
+ "version": "1.3.11",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",