@itwin/ecschema-rpcinterface-tests 5.10.0-dev.12 → 5.10.0-dev.13
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/lib/dist/bundled-tests.js +1419 -1338
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -785,7 +785,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
785
785
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
786
786
|
/* harmony export */ AxiosRestClient: () => (/* binding */ AxiosRestClient)
|
|
787
787
|
/* harmony export */ });
|
|
788
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
788
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/axios.js");
|
|
789
789
|
/* harmony import */ var _internal___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../internal/ */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
790
790
|
/* harmony import */ var _types_RestClient__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types/RestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/types/RestClient.js");
|
|
791
791
|
/* harmony import */ var _AxiosResponseHeadersAdapter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AxiosResponseHeadersAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/axios/AxiosResponseHeadersAdapter.js");
|
|
@@ -887,7 +887,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
887
887
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
888
888
|
/* harmony export */ AxiosRetryPolicy: () => (/* binding */ AxiosRetryPolicy)
|
|
889
889
|
/* harmony export */ });
|
|
890
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
890
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/index.js");
|
|
891
891
|
/* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js");
|
|
892
892
|
/*---------------------------------------------------------------------------------------------
|
|
893
893
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -4435,7 +4435,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4435
4435
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4436
4436
|
/* harmony export */ BaseClient: () => (/* binding */ BaseClient)
|
|
4437
4437
|
/* harmony export */ });
|
|
4438
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
4438
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/axios.js");
|
|
4439
4439
|
|
|
4440
4440
|
class BaseClient {
|
|
4441
4441
|
constructor(url) {
|
|
@@ -67399,213 +67399,213 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
67399
67399
|
* WITH clauses are broken down into individual variables.
|
|
67400
67400
|
*/
|
|
67401
67401
|
const propertyType = (alias) => {
|
|
67402
|
-
return `
|
|
67403
|
-
CASE
|
|
67404
|
-
WHEN [${alias}].[Kind] = 0 THEN 'PrimitiveProperty'
|
|
67405
|
-
WHEN [${alias}].[Kind] = 1 THEN 'StructProperty'
|
|
67406
|
-
WHEN [${alias}].[Kind] = 2 THEN 'PrimitiveArrayProperty'
|
|
67407
|
-
WHEN [${alias}].[Kind] = 3 THEN 'StructArrayProperty'
|
|
67408
|
-
WHEN [${alias}].[Kind] = 4 THEN 'NavigationProperty'
|
|
67409
|
-
ELSE NULL
|
|
67410
|
-
END
|
|
67402
|
+
return `
|
|
67403
|
+
CASE
|
|
67404
|
+
WHEN [${alias}].[Kind] = 0 THEN 'PrimitiveProperty'
|
|
67405
|
+
WHEN [${alias}].[Kind] = 1 THEN 'StructProperty'
|
|
67406
|
+
WHEN [${alias}].[Kind] = 2 THEN 'PrimitiveArrayProperty'
|
|
67407
|
+
WHEN [${alias}].[Kind] = 3 THEN 'StructArrayProperty'
|
|
67408
|
+
WHEN [${alias}].[Kind] = 4 THEN 'NavigationProperty'
|
|
67409
|
+
ELSE NULL
|
|
67410
|
+
END
|
|
67411
67411
|
`;
|
|
67412
67412
|
};
|
|
67413
67413
|
const navigationDirection = (alias) => {
|
|
67414
|
-
return `
|
|
67415
|
-
CASE
|
|
67416
|
-
WHEN [${alias}].[NavigationDirection] = 1 THEN 'Forward'
|
|
67417
|
-
WHEN [${alias}].[NavigationDirection] = 2 THEN 'Backward'
|
|
67418
|
-
ELSE NULL
|
|
67419
|
-
END
|
|
67414
|
+
return `
|
|
67415
|
+
CASE
|
|
67416
|
+
WHEN [${alias}].[NavigationDirection] = 1 THEN 'Forward'
|
|
67417
|
+
WHEN [${alias}].[NavigationDirection] = 2 THEN 'Backward'
|
|
67418
|
+
ELSE NULL
|
|
67419
|
+
END
|
|
67420
67420
|
`;
|
|
67421
67421
|
};
|
|
67422
67422
|
const schemaCustomAttribute = (alias) => {
|
|
67423
|
-
return `
|
|
67424
|
-
SELECT
|
|
67425
|
-
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67426
|
-
FROM [meta].[CustomAttribute] [ca]
|
|
67427
|
-
WHERE [ca].[ContainerId] = [${alias}].[ECInstanceId] AND [ca].[ContainerType] = 1
|
|
67428
|
-
ORDER BY [ca].[Ordinal]
|
|
67423
|
+
return `
|
|
67424
|
+
SELECT
|
|
67425
|
+
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67426
|
+
FROM [meta].[CustomAttribute] [ca]
|
|
67427
|
+
WHERE [ca].[ContainerId] = [${alias}].[ECInstanceId] AND [ca].[ContainerType] = 1
|
|
67428
|
+
ORDER BY [ca].[Ordinal]
|
|
67429
67429
|
`;
|
|
67430
67430
|
};
|
|
67431
67431
|
/**
|
|
67432
67432
|
* Selects customAttribute data for each class type.
|
|
67433
67433
|
*/
|
|
67434
67434
|
const classCustomAttribute = (alias) => {
|
|
67435
|
-
return `
|
|
67436
|
-
SELECT
|
|
67437
|
-
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67438
|
-
FROM [meta].[CustomAttribute] [ca]
|
|
67439
|
-
WHERE [ca].[ContainerId] = [${alias}].[ECInstanceId] AND [ca].[ContainerType] = 30
|
|
67440
|
-
ORDER BY [ca].[Ordinal]
|
|
67435
|
+
return `
|
|
67436
|
+
SELECT
|
|
67437
|
+
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67438
|
+
FROM [meta].[CustomAttribute] [ca]
|
|
67439
|
+
WHERE [ca].[ContainerId] = [${alias}].[ECInstanceId] AND [ca].[ContainerType] = 30
|
|
67440
|
+
ORDER BY [ca].[Ordinal]
|
|
67441
67441
|
`;
|
|
67442
67442
|
};
|
|
67443
67443
|
const propertyCustomAttribute = (alias) => {
|
|
67444
|
-
return `
|
|
67445
|
-
SELECT
|
|
67446
|
-
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67447
|
-
FROM [meta].[CustomAttribute] [ca]
|
|
67448
|
-
WHERE [ca].[ContainerId] = [${alias}].[ECInstanceId] AND [ca].[ContainerType] = 992
|
|
67449
|
-
ORDER BY [ca].[Ordinal]
|
|
67444
|
+
return `
|
|
67445
|
+
SELECT
|
|
67446
|
+
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67447
|
+
FROM [meta].[CustomAttribute] [ca]
|
|
67448
|
+
WHERE [ca].[ContainerId] = [${alias}].[ECInstanceId] AND [ca].[ContainerType] = 992
|
|
67449
|
+
ORDER BY [ca].[Ordinal]
|
|
67450
67450
|
`;
|
|
67451
67451
|
};
|
|
67452
67452
|
/**
|
|
67453
67453
|
* Selects base class data for each class type.
|
|
67454
67454
|
*/
|
|
67455
|
-
const selectBaseClasses = `
|
|
67456
|
-
SELECT
|
|
67457
|
-
ec_classname([baseClass].[ECInstanceId], 's.c')
|
|
67458
|
-
FROM
|
|
67459
|
-
[meta].[ECClassDef] [baseClass]
|
|
67460
|
-
INNER JOIN [meta].[ClassHasBaseClasses] [baseClassMap]
|
|
67461
|
-
ON [baseClassMap].[TargetECInstanceId] = [baseClass].[ECInstanceId]
|
|
67462
|
-
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
67463
|
-
ORDER BY [baseClassMap].[Ordinal] ASC
|
|
67464
|
-
LIMIT 1
|
|
67455
|
+
const selectBaseClasses = `
|
|
67456
|
+
SELECT
|
|
67457
|
+
ec_classname([baseClass].[ECInstanceId], 's.c')
|
|
67458
|
+
FROM
|
|
67459
|
+
[meta].[ECClassDef] [baseClass]
|
|
67460
|
+
INNER JOIN [meta].[ClassHasBaseClasses] [baseClassMap]
|
|
67461
|
+
ON [baseClassMap].[TargetECInstanceId] = [baseClass].[ECInstanceId]
|
|
67462
|
+
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
67463
|
+
ORDER BY [baseClassMap].[Ordinal] ASC
|
|
67464
|
+
LIMIT 1
|
|
67465
67465
|
`;
|
|
67466
67466
|
/**
|
|
67467
67467
|
* Selects class property data for each class type. ClassProperties
|
|
67468
67468
|
* is a common table expression (CTE or WITH clause) defined below.
|
|
67469
67469
|
*/
|
|
67470
|
-
const selectProperties = `
|
|
67471
|
-
SELECT
|
|
67472
|
-
json_group_array(json([classProperties].[property]))
|
|
67473
|
-
FROM
|
|
67474
|
-
[ClassProperties] [classProperties]
|
|
67475
|
-
WHERE
|
|
67476
|
-
[classProperties].[ClassId] = [class].[ECInstanceId]
|
|
67470
|
+
const selectProperties = `
|
|
67471
|
+
SELECT
|
|
67472
|
+
json_group_array(json([classProperties].[property]))
|
|
67473
|
+
FROM
|
|
67474
|
+
[ClassProperties] [classProperties]
|
|
67475
|
+
WHERE
|
|
67476
|
+
[classProperties].[ClassId] = [class].[ECInstanceId]
|
|
67477
67477
|
`;
|
|
67478
67478
|
/**
|
|
67479
67479
|
* A CTE used to select AppliesTo from IsMixin CustomAttributes for a given Mixin.
|
|
67480
67480
|
*/
|
|
67481
|
-
const withAppliesTo = `
|
|
67482
|
-
AppliesToCTE AS (
|
|
67483
|
-
SELECT
|
|
67484
|
-
[mixinAppliesTo].[ECInstanceId] AS [AppliesToId],
|
|
67485
|
-
[appliesToSchema].[name] as [AppliesToSchema],
|
|
67486
|
-
json_extract(XmlCAToJson([ca].[Class].[Id], [ca].[Instance]), '$.IsMixin.AppliesToEntityClass') AS [AppliesTo]
|
|
67487
|
-
FROM [meta].[CustomAttribute] [ca]
|
|
67488
|
-
JOIN [meta].[ECClassDef] [mixinAppliesTo]
|
|
67489
|
-
ON [mixinAppliesTo].[ECInstanceId] = [ca].[ContainerId]
|
|
67490
|
-
JOIN [meta].[ECSchemaDef] [appliesToSchema]
|
|
67491
|
-
ON [appliesToSchema].[ECInstanceId] = [mixinAppliesTo].[Schema].[Id]
|
|
67492
|
-
WHERE [ca].[ContainerType] = 30
|
|
67493
|
-
AND json_extract(XmlCAToJson([ca].[Class].[Id], [ca].[Instance]), '$.ecClass') = 'IsMixin'
|
|
67494
|
-
)
|
|
67481
|
+
const withAppliesTo = `
|
|
67482
|
+
AppliesToCTE AS (
|
|
67483
|
+
SELECT
|
|
67484
|
+
[mixinAppliesTo].[ECInstanceId] AS [AppliesToId],
|
|
67485
|
+
[appliesToSchema].[name] as [AppliesToSchema],
|
|
67486
|
+
json_extract(XmlCAToJson([ca].[Class].[Id], [ca].[Instance]), '$.IsMixin.AppliesToEntityClass') AS [AppliesTo]
|
|
67487
|
+
FROM [meta].[CustomAttribute] [ca]
|
|
67488
|
+
JOIN [meta].[ECClassDef] [mixinAppliesTo]
|
|
67489
|
+
ON [mixinAppliesTo].[ECInstanceId] = [ca].[ContainerId]
|
|
67490
|
+
JOIN [meta].[ECSchemaDef] [appliesToSchema]
|
|
67491
|
+
ON [appliesToSchema].[ECInstanceId] = [mixinAppliesTo].[Schema].[Id]
|
|
67492
|
+
WHERE [ca].[ContainerType] = 30
|
|
67493
|
+
AND json_extract(XmlCAToJson([ca].[Class].[Id], [ca].[Instance]), '$.ecClass') = 'IsMixin'
|
|
67494
|
+
)
|
|
67495
67495
|
`;
|
|
67496
67496
|
/**
|
|
67497
67497
|
* A CTE used to select Schema reference data for a given Schema.
|
|
67498
67498
|
*/
|
|
67499
|
-
const withSchemaReferences = `
|
|
67500
|
-
SchemaReferences as (
|
|
67501
|
-
SELECT
|
|
67502
|
-
[ref].[SourceECInstanceId] as [SchemaId],
|
|
67503
|
-
json_object(
|
|
67504
|
-
'name', [Name],
|
|
67505
|
-
'version', CONCAT(printf('%02d', [VersionMajor]), '.', printf('%02d', [VersionWrite]), '.', printf('%02d', [VersionMinor]))
|
|
67506
|
-
) as [reference]
|
|
67507
|
-
FROM
|
|
67508
|
-
[meta].[ECSchemaDef] as [refSchema]
|
|
67509
|
-
INNER JOIN [meta].[SchemaHasSchemaReferences] [ref]
|
|
67510
|
-
ON [ref].[TargetECInstanceId] = [refSchema].[ECInstanceId]
|
|
67511
|
-
)
|
|
67499
|
+
const withSchemaReferences = `
|
|
67500
|
+
SchemaReferences as (
|
|
67501
|
+
SELECT
|
|
67502
|
+
[ref].[SourceECInstanceId] as [SchemaId],
|
|
67503
|
+
json_object(
|
|
67504
|
+
'name', [Name],
|
|
67505
|
+
'version', CONCAT(printf('%02d', [VersionMajor]), '.', printf('%02d', [VersionWrite]), '.', printf('%02d', [VersionMinor]))
|
|
67506
|
+
) as [reference]
|
|
67507
|
+
FROM
|
|
67508
|
+
[meta].[ECSchemaDef] as [refSchema]
|
|
67509
|
+
INNER JOIN [meta].[SchemaHasSchemaReferences] [ref]
|
|
67510
|
+
ON [ref].[TargetECInstanceId] = [refSchema].[ECInstanceId]
|
|
67511
|
+
)
|
|
67512
67512
|
`;
|
|
67513
67513
|
/**
|
|
67514
67514
|
* A CTE used to select Relationship constraints for a given RelationshipClass.
|
|
67515
67515
|
*/
|
|
67516
|
-
const withRelationshipConstraints = `
|
|
67517
|
-
ClassRelationshipConstraints as (
|
|
67518
|
-
SELECT
|
|
67519
|
-
[rhc].[SourceECInstanceId] as [ClassId],
|
|
67520
|
-
[constraintDef].[ECInstanceId] as [ConstraintId],
|
|
67521
|
-
[RelationshipEnd],
|
|
67522
|
-
CONCAT('(', [MultiplicityLowerLimit], '..', IIF([MultiplicityUpperLimit] IS NULL, '*', [MultiplicityUpperLimit]), ')') as [Multiplicity],
|
|
67523
|
-
[IsPolyMorphic],
|
|
67524
|
-
[RoleLabel],
|
|
67525
|
-
IIF([constraintDef].[AbstractConstraintClass] IS NOT NULL, ec_classname([constraintDef].[AbstractConstraintClass].[Id], 's.c'), null) as [AbstractConstraint],
|
|
67526
|
-
IIF ([rchc].[TargetECInstanceId] IS NOT NULL, JSON_GROUP_ARRAY(ec_classname([rchc].[TargetECInstanceId], 's.c')), null) as [ConstraintClasses]
|
|
67527
|
-
FROM
|
|
67528
|
-
[meta].[ECRelationshipConstraintDef] [constraintDef]
|
|
67529
|
-
JOIN [meta].[RelationshipHasConstraints] [rhc]
|
|
67530
|
-
ON [rhc].[TargetECInstanceId] = [constraintDef].[ECInstanceId]
|
|
67531
|
-
JOIN [meta].[RelationshipConstraintHasClasses] [rchc]
|
|
67532
|
-
ON [rchc].[SourceECInstanceId] = [constraintDef].[ECInstanceId]
|
|
67533
|
-
GROUP BY [constraintDef].[ECInstanceId]
|
|
67534
|
-
)
|
|
67516
|
+
const withRelationshipConstraints = `
|
|
67517
|
+
ClassRelationshipConstraints as (
|
|
67518
|
+
SELECT
|
|
67519
|
+
[rhc].[SourceECInstanceId] as [ClassId],
|
|
67520
|
+
[constraintDef].[ECInstanceId] as [ConstraintId],
|
|
67521
|
+
[RelationshipEnd],
|
|
67522
|
+
CONCAT('(', [MultiplicityLowerLimit], '..', IIF([MultiplicityUpperLimit] IS NULL, '*', [MultiplicityUpperLimit]), ')') as [Multiplicity],
|
|
67523
|
+
[IsPolyMorphic],
|
|
67524
|
+
[RoleLabel],
|
|
67525
|
+
IIF([constraintDef].[AbstractConstraintClass] IS NOT NULL, ec_classname([constraintDef].[AbstractConstraintClass].[Id], 's.c'), null) as [AbstractConstraint],
|
|
67526
|
+
IIF ([rchc].[TargetECInstanceId] IS NOT NULL, JSON_GROUP_ARRAY(ec_classname([rchc].[TargetECInstanceId], 's.c')), null) as [ConstraintClasses]
|
|
67527
|
+
FROM
|
|
67528
|
+
[meta].[ECRelationshipConstraintDef] [constraintDef]
|
|
67529
|
+
JOIN [meta].[RelationshipHasConstraints] [rhc]
|
|
67530
|
+
ON [rhc].[TargetECInstanceId] = [constraintDef].[ECInstanceId]
|
|
67531
|
+
JOIN [meta].[RelationshipConstraintHasClasses] [rchc]
|
|
67532
|
+
ON [rchc].[SourceECInstanceId] = [constraintDef].[ECInstanceId]
|
|
67533
|
+
GROUP BY [constraintDef].[ECInstanceId]
|
|
67534
|
+
)
|
|
67535
67535
|
`;
|
|
67536
67536
|
/**
|
|
67537
67537
|
* A CTE used to select Class property data for a given Class.
|
|
67538
67538
|
*/
|
|
67539
|
-
const withClassProperties = `
|
|
67540
|
-
ClassProperties as (
|
|
67541
|
-
SELECT
|
|
67542
|
-
[cop].[SourceECInstanceId] as [ClassId],
|
|
67543
|
-
json_object(
|
|
67544
|
-
'name', [pd].[Name],
|
|
67545
|
-
'label', [pd].[DisplayLabel],
|
|
67546
|
-
'description', [pd].[Description],
|
|
67547
|
-
'isReadOnly', IIF([pd].[IsReadOnly] = 1, json('true'), NULL),
|
|
67548
|
-
'priority', [pd].[Priority],
|
|
67549
|
-
'category', IIF([categoryDef].[Name] IS NULL, NULL, CONCAT([categorySchemaDef].[Name], '.', [categoryDef].[Name])),
|
|
67550
|
-
'kindOfQuantity', IIF([koqDef].[Name] IS NULL, NULL, CONCAT([koqSchemaDef].[Name], '.', [koqDef].[Name])),
|
|
67551
|
-
'typeName',
|
|
67552
|
-
CASE
|
|
67553
|
-
WHEN [pd].[Kind] = 0 OR [pd].[Kind] = 2 Then
|
|
67554
|
-
CASE
|
|
67555
|
-
WHEN [enumDef].[Name] IS NOT NULL Then CONCAT([enumSchemaDef].[Name], '.', [enumDef].[Name])
|
|
67556
|
-
WHEN [pd].[PrimitiveType] = 257 Then 'binary'
|
|
67557
|
-
WHEN [pd].[PrimitiveType] = 513 Then 'boolean'
|
|
67558
|
-
WHEN [pd].[PrimitiveType] = 769 Then 'dateTime'
|
|
67559
|
-
WHEN [pd].[PrimitiveType] = 1025 Then 'double'
|
|
67560
|
-
WHEN [pd].[PrimitiveType] = 1281 Then 'int'
|
|
67561
|
-
WHEN [pd].[PrimitiveType] = 1537 Then 'long'
|
|
67562
|
-
WHEN [pd].[PrimitiveType] = 1793 Then 'point2d'
|
|
67563
|
-
WHEN [pd].[PrimitiveType] = 2049 Then 'point3d'
|
|
67564
|
-
WHEN [pd].[PrimitiveType] = 2305 Then 'string'
|
|
67565
|
-
WHEN [pd].[PrimitiveType] = 2561 Then 'Bentley.Geometry.Common.IGeometry'
|
|
67566
|
-
ELSE null
|
|
67567
|
-
END
|
|
67568
|
-
WHEN [pd].[Kind] = 1 OR [pd].[Kind] = 3 Then
|
|
67569
|
-
CONCAT([structSchemaDef].[Name], '.', [structDef].[Name])
|
|
67570
|
-
ELSE null
|
|
67571
|
-
END,
|
|
67572
|
-
'type', ${propertyType("pd")},
|
|
67573
|
-
'minLength', [pd].[PrimitiveTypeMinLength],
|
|
67574
|
-
'maxLength', [pd].[PrimitiveTypeMaxLength],
|
|
67575
|
-
'minValue', [pd].[PrimitiveTypeMinValue],
|
|
67576
|
-
'maxValue', [pd].[PrimitiveTypeMaxValue],
|
|
67577
|
-
'extendedTypeName', [pd].[ExtendedTypeName],
|
|
67578
|
-
'minOccurs', [pd].[ArrayMinOccurs],
|
|
67579
|
-
'maxOccurs', [pd].[ArrayMaxOccurs],
|
|
67580
|
-
'direction', ${navigationDirection("pd")},
|
|
67581
|
-
'relationshipName', IIF([navRelDef].[Name] IS NULL, NULL, CONCAT([navSchemaDef].[Name], '.', [navRelDef].[Name])),
|
|
67582
|
-
'customAttributes', (${propertyCustomAttribute("pd")})
|
|
67583
|
-
) as [property]
|
|
67584
|
-
FROM
|
|
67585
|
-
[meta].[ECPropertyDef] as [pd]
|
|
67586
|
-
JOIN [meta].[ClassOwnsLocalProperties] [cop]
|
|
67587
|
-
ON cop.[TargetECInstanceId] = [pd].[ECInstanceId]
|
|
67588
|
-
LEFT JOIN [meta].[ECEnumerationDef] [enumDef]
|
|
67589
|
-
ON [enumDef].[ECInstanceId] = [pd].[Enumeration].[Id]
|
|
67590
|
-
LEFT JOIN [meta].[ECSchemaDef] enumSchemaDef
|
|
67591
|
-
ON [enumSchemaDef].[ECInstanceId] = [enumDef].[Schema].[Id]
|
|
67592
|
-
LEFT JOIN [meta].[PropertyCategoryDef] [categoryDef]
|
|
67593
|
-
ON [categoryDef].[ECInstanceId] = [pd].[Category].[Id]
|
|
67594
|
-
LEFT JOIN [meta].[ECSchemaDef] [categorySchemaDef]
|
|
67595
|
-
ON [categorySchemaDef].[ECInstanceId] = [categoryDef].[Schema].[Id]
|
|
67596
|
-
LEFT JOIN [meta].[KindOfQuantityDef] [koqDef]
|
|
67597
|
-
ON [koqDef].[ECInstanceId] = [pd].[KindOfQuantity].[Id]
|
|
67598
|
-
LEFT JOIN [meta].[ECSchemaDef] [koqSchemaDef]
|
|
67599
|
-
ON [koqSchemaDef].[ECInstanceId] = [koqDef].[Schema].[Id]
|
|
67600
|
-
LEFT JOIN [meta].[ECClassDef] [structDef]
|
|
67601
|
-
ON structDef.[ECInstanceId] = [pd].[StructClass].[Id]
|
|
67602
|
-
LEFT JOIN [meta].[ECSchemaDef] [structSchemaDef]
|
|
67603
|
-
ON [structSchemaDef].[ECInstanceId] = [structDef].[Schema].[Id]
|
|
67604
|
-
LEFT JOIN [meta].[ECClassDef] [navRelDef]
|
|
67605
|
-
ON [navRelDef].[ECInstanceId] = [pd].[NavigationRelationshipClass].[Id]
|
|
67606
|
-
LEFT JOIN [meta].[ECSchemaDef] [navSchemaDef]
|
|
67607
|
-
ON [navSchemaDef].[ECInstanceId] = [navRelDef].[Schema].[Id]
|
|
67608
|
-
)
|
|
67539
|
+
const withClassProperties = `
|
|
67540
|
+
ClassProperties as (
|
|
67541
|
+
SELECT
|
|
67542
|
+
[cop].[SourceECInstanceId] as [ClassId],
|
|
67543
|
+
json_object(
|
|
67544
|
+
'name', [pd].[Name],
|
|
67545
|
+
'label', [pd].[DisplayLabel],
|
|
67546
|
+
'description', [pd].[Description],
|
|
67547
|
+
'isReadOnly', IIF([pd].[IsReadOnly] = 1, json('true'), NULL),
|
|
67548
|
+
'priority', [pd].[Priority],
|
|
67549
|
+
'category', IIF([categoryDef].[Name] IS NULL, NULL, CONCAT([categorySchemaDef].[Name], '.', [categoryDef].[Name])),
|
|
67550
|
+
'kindOfQuantity', IIF([koqDef].[Name] IS NULL, NULL, CONCAT([koqSchemaDef].[Name], '.', [koqDef].[Name])),
|
|
67551
|
+
'typeName',
|
|
67552
|
+
CASE
|
|
67553
|
+
WHEN [pd].[Kind] = 0 OR [pd].[Kind] = 2 Then
|
|
67554
|
+
CASE
|
|
67555
|
+
WHEN [enumDef].[Name] IS NOT NULL Then CONCAT([enumSchemaDef].[Name], '.', [enumDef].[Name])
|
|
67556
|
+
WHEN [pd].[PrimitiveType] = 257 Then 'binary'
|
|
67557
|
+
WHEN [pd].[PrimitiveType] = 513 Then 'boolean'
|
|
67558
|
+
WHEN [pd].[PrimitiveType] = 769 Then 'dateTime'
|
|
67559
|
+
WHEN [pd].[PrimitiveType] = 1025 Then 'double'
|
|
67560
|
+
WHEN [pd].[PrimitiveType] = 1281 Then 'int'
|
|
67561
|
+
WHEN [pd].[PrimitiveType] = 1537 Then 'long'
|
|
67562
|
+
WHEN [pd].[PrimitiveType] = 1793 Then 'point2d'
|
|
67563
|
+
WHEN [pd].[PrimitiveType] = 2049 Then 'point3d'
|
|
67564
|
+
WHEN [pd].[PrimitiveType] = 2305 Then 'string'
|
|
67565
|
+
WHEN [pd].[PrimitiveType] = 2561 Then 'Bentley.Geometry.Common.IGeometry'
|
|
67566
|
+
ELSE null
|
|
67567
|
+
END
|
|
67568
|
+
WHEN [pd].[Kind] = 1 OR [pd].[Kind] = 3 Then
|
|
67569
|
+
CONCAT([structSchemaDef].[Name], '.', [structDef].[Name])
|
|
67570
|
+
ELSE null
|
|
67571
|
+
END,
|
|
67572
|
+
'type', ${propertyType("pd")},
|
|
67573
|
+
'minLength', [pd].[PrimitiveTypeMinLength],
|
|
67574
|
+
'maxLength', [pd].[PrimitiveTypeMaxLength],
|
|
67575
|
+
'minValue', [pd].[PrimitiveTypeMinValue],
|
|
67576
|
+
'maxValue', [pd].[PrimitiveTypeMaxValue],
|
|
67577
|
+
'extendedTypeName', [pd].[ExtendedTypeName],
|
|
67578
|
+
'minOccurs', [pd].[ArrayMinOccurs],
|
|
67579
|
+
'maxOccurs', [pd].[ArrayMaxOccurs],
|
|
67580
|
+
'direction', ${navigationDirection("pd")},
|
|
67581
|
+
'relationshipName', IIF([navRelDef].[Name] IS NULL, NULL, CONCAT([navSchemaDef].[Name], '.', [navRelDef].[Name])),
|
|
67582
|
+
'customAttributes', (${propertyCustomAttribute("pd")})
|
|
67583
|
+
) as [property]
|
|
67584
|
+
FROM
|
|
67585
|
+
[meta].[ECPropertyDef] as [pd]
|
|
67586
|
+
JOIN [meta].[ClassOwnsLocalProperties] [cop]
|
|
67587
|
+
ON cop.[TargetECInstanceId] = [pd].[ECInstanceId]
|
|
67588
|
+
LEFT JOIN [meta].[ECEnumerationDef] [enumDef]
|
|
67589
|
+
ON [enumDef].[ECInstanceId] = [pd].[Enumeration].[Id]
|
|
67590
|
+
LEFT JOIN [meta].[ECSchemaDef] enumSchemaDef
|
|
67591
|
+
ON [enumSchemaDef].[ECInstanceId] = [enumDef].[Schema].[Id]
|
|
67592
|
+
LEFT JOIN [meta].[PropertyCategoryDef] [categoryDef]
|
|
67593
|
+
ON [categoryDef].[ECInstanceId] = [pd].[Category].[Id]
|
|
67594
|
+
LEFT JOIN [meta].[ECSchemaDef] [categorySchemaDef]
|
|
67595
|
+
ON [categorySchemaDef].[ECInstanceId] = [categoryDef].[Schema].[Id]
|
|
67596
|
+
LEFT JOIN [meta].[KindOfQuantityDef] [koqDef]
|
|
67597
|
+
ON [koqDef].[ECInstanceId] = [pd].[KindOfQuantity].[Id]
|
|
67598
|
+
LEFT JOIN [meta].[ECSchemaDef] [koqSchemaDef]
|
|
67599
|
+
ON [koqSchemaDef].[ECInstanceId] = [koqDef].[Schema].[Id]
|
|
67600
|
+
LEFT JOIN [meta].[ECClassDef] [structDef]
|
|
67601
|
+
ON structDef.[ECInstanceId] = [pd].[StructClass].[Id]
|
|
67602
|
+
LEFT JOIN [meta].[ECSchemaDef] [structSchemaDef]
|
|
67603
|
+
ON [structSchemaDef].[ECInstanceId] = [structDef].[Schema].[Id]
|
|
67604
|
+
LEFT JOIN [meta].[ECClassDef] [navRelDef]
|
|
67605
|
+
ON [navRelDef].[ECInstanceId] = [pd].[NavigationRelationshipClass].[Id]
|
|
67606
|
+
LEFT JOIN [meta].[ECSchemaDef] [navSchemaDef]
|
|
67607
|
+
ON [navSchemaDef].[ECInstanceId] = [navRelDef].[Schema].[Id]
|
|
67608
|
+
)
|
|
67609
67609
|
`;
|
|
67610
67610
|
/**
|
|
67611
67611
|
* Query that provides EntityClass data and is shared by two cases:
|
|
@@ -67613,52 +67613,52 @@ LEFT JOIN [meta].[ECSchemaDef] [navSchemaDef]
|
|
|
67613
67613
|
* 2. When querying a full schema with multiple schema item queries or
|
|
67614
67614
|
* when just querying for Entity classes.
|
|
67615
67615
|
*/
|
|
67616
|
-
const baseEntityQuery = `
|
|
67617
|
-
SELECT
|
|
67618
|
-
[sd].[Name] as [schema],
|
|
67619
|
-
json_object (
|
|
67620
|
-
'schemaItemType', 'EntityClass',
|
|
67621
|
-
'name', [class].[Name],
|
|
67622
|
-
'label', [class].[DisplayLabel],
|
|
67623
|
-
'description', [class].[Description],
|
|
67624
|
-
'modifier', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.modifier)("class")},
|
|
67625
|
-
'baseClass', (
|
|
67626
|
-
${selectBaseClasses}
|
|
67627
|
-
),
|
|
67628
|
-
'mixins', (
|
|
67629
|
-
SELECT
|
|
67630
|
-
json_group_array(
|
|
67631
|
-
ec_classname([baseClass].[ECInstanceId], 's.c')
|
|
67632
|
-
)
|
|
67633
|
-
FROM
|
|
67634
|
-
[meta].[ECClassDef] [baseClass]
|
|
67635
|
-
INNER JOIN [meta].[ClassHasBaseClasses] [baseClassMap]
|
|
67636
|
-
ON [baseClassMap].[TargetECInstanceId] = [baseClass].[ECInstanceId]
|
|
67637
|
-
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
67638
|
-
AND EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [baseClass].[ECInstanceId] = [ca].[Class].[Id]
|
|
67639
|
-
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
67640
|
-
),
|
|
67641
|
-
'customAttributes', (${classCustomAttribute("class")}),
|
|
67642
|
-
'properties', (
|
|
67643
|
-
${selectProperties}
|
|
67644
|
-
)
|
|
67645
|
-
) AS [item]
|
|
67646
|
-
FROM [meta].[ECClassDef] [class]
|
|
67647
|
-
JOIN
|
|
67648
|
-
[meta].[ECSchemaDef] [sd] ON [sd].[ECInstanceId] = [class].[Schema].[Id]
|
|
67649
|
-
WHERE [class].[Type] = 0 AND
|
|
67650
|
-
[sd].[Name] = :schemaName
|
|
67651
|
-
AND NOT EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [class].[ECInstanceId] = [ca].[Class].[Id]
|
|
67652
|
-
AND [ca].[CustomAttributeClass].Id Is ([CoreCA].[IsMixin]))
|
|
67616
|
+
const baseEntityQuery = `
|
|
67617
|
+
SELECT
|
|
67618
|
+
[sd].[Name] as [schema],
|
|
67619
|
+
json_object (
|
|
67620
|
+
'schemaItemType', 'EntityClass',
|
|
67621
|
+
'name', [class].[Name],
|
|
67622
|
+
'label', [class].[DisplayLabel],
|
|
67623
|
+
'description', [class].[Description],
|
|
67624
|
+
'modifier', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.modifier)("class")},
|
|
67625
|
+
'baseClass', (
|
|
67626
|
+
${selectBaseClasses}
|
|
67627
|
+
),
|
|
67628
|
+
'mixins', (
|
|
67629
|
+
SELECT
|
|
67630
|
+
json_group_array(
|
|
67631
|
+
ec_classname([baseClass].[ECInstanceId], 's.c')
|
|
67632
|
+
)
|
|
67633
|
+
FROM
|
|
67634
|
+
[meta].[ECClassDef] [baseClass]
|
|
67635
|
+
INNER JOIN [meta].[ClassHasBaseClasses] [baseClassMap]
|
|
67636
|
+
ON [baseClassMap].[TargetECInstanceId] = [baseClass].[ECInstanceId]
|
|
67637
|
+
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
67638
|
+
AND EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [baseClass].[ECInstanceId] = [ca].[Class].[Id]
|
|
67639
|
+
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
67640
|
+
),
|
|
67641
|
+
'customAttributes', (${classCustomAttribute("class")}),
|
|
67642
|
+
'properties', (
|
|
67643
|
+
${selectProperties}
|
|
67644
|
+
)
|
|
67645
|
+
) AS [item]
|
|
67646
|
+
FROM [meta].[ECClassDef] [class]
|
|
67647
|
+
JOIN
|
|
67648
|
+
[meta].[ECSchemaDef] [sd] ON [sd].[ECInstanceId] = [class].[Schema].[Id]
|
|
67649
|
+
WHERE [class].[Type] = 0 AND
|
|
67650
|
+
[sd].[Name] = :schemaName
|
|
67651
|
+
AND NOT EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [class].[ECInstanceId] = [ca].[Class].[Id]
|
|
67652
|
+
AND [ca].[CustomAttributeClass].Id Is ([CoreCA].[IsMixin]))
|
|
67653
67653
|
`;
|
|
67654
67654
|
/**
|
|
67655
67655
|
* EntityClass query used to when querying for EntityClass data only. Not used
|
|
67656
67656
|
* for full Schema load via single query.
|
|
67657
67657
|
*/
|
|
67658
|
-
const entityQuery = `
|
|
67659
|
-
WITH
|
|
67660
|
-
${withClassProperties}
|
|
67661
|
-
${baseEntityQuery}
|
|
67658
|
+
const entityQuery = `
|
|
67659
|
+
WITH
|
|
67660
|
+
${withClassProperties}
|
|
67661
|
+
${baseEntityQuery}
|
|
67662
67662
|
`;
|
|
67663
67663
|
/**
|
|
67664
67664
|
* Query that provides Mixin data and is shared by two cases:
|
|
@@ -67666,56 +67666,56 @@ const entityQuery = `
|
|
|
67666
67666
|
* 2. When querying a full schema with multiple schema item queries or
|
|
67667
67667
|
* when just querying for Mixin classes.
|
|
67668
67668
|
*/
|
|
67669
|
-
const baseMixinQuery = `
|
|
67670
|
-
SELECT
|
|
67671
|
-
[sd].[Name] as [schema],
|
|
67672
|
-
json_object (
|
|
67673
|
-
'schemaItemType', 'Mixin',
|
|
67674
|
-
'name', [class].[Name],
|
|
67675
|
-
'label', [class].[DisplayLabel],
|
|
67676
|
-
'description', [class].[Description],
|
|
67677
|
-
'modifier', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.modifier)("class")},
|
|
67678
|
-
'baseClass', (
|
|
67679
|
-
${selectBaseClasses}
|
|
67680
|
-
),
|
|
67681
|
-
'appliesTo', (
|
|
67682
|
-
SELECT IIF(instr([atCTE].[AppliesTo], ':') > 1, ec_classname(ec_classId([atCTE].[AppliesTo]), 's.c'), CONCAT([atCTE].[AppliesToSchema], '.', [atCTE].[AppliesTo]))
|
|
67683
|
-
FROM [AppliesToCTE] [atCTE]
|
|
67684
|
-
WHERE [atCTE].[AppliesToId] = [class].[ECInstanceId]
|
|
67685
|
-
),
|
|
67686
|
-
'customAttributes', (
|
|
67687
|
-
SELECT
|
|
67688
|
-
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67689
|
-
FROM [meta].[CustomAttribute] [ca]
|
|
67690
|
-
WHERE [ca].[ContainerId] = [class].[ECInstanceId] AND [ca].[ContainerType] = 30
|
|
67691
|
-
AND json_extract(XmlCAToJson([ca].[Class].[Id], [ca].[Instance]), '$.ecClass') <> 'IsMixin'
|
|
67692
|
-
),
|
|
67693
|
-
'properties', (
|
|
67694
|
-
SELECT
|
|
67695
|
-
json_group_array(json([classProperties].[property]))
|
|
67696
|
-
FROM
|
|
67697
|
-
[ClassProperties] [classProperties]
|
|
67698
|
-
WHERE
|
|
67699
|
-
[classProperties].[ClassId] = [class].[ECInstanceId]
|
|
67700
|
-
)
|
|
67701
|
-
) AS [item]
|
|
67702
|
-
FROM [meta].[ECClassDef] [class]
|
|
67703
|
-
JOIN
|
|
67704
|
-
[meta].[ECSchemaDef] [sd] ON [sd].[ECInstanceId] = [class].[Schema].[Id]
|
|
67705
|
-
WHERE [class].[Type] = 0 AND
|
|
67706
|
-
[sd].[Name] = :schemaName
|
|
67707
|
-
AND EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [class].[ECInstanceId] = [ca].[Class].[Id]
|
|
67708
|
-
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
67669
|
+
const baseMixinQuery = `
|
|
67670
|
+
SELECT
|
|
67671
|
+
[sd].[Name] as [schema],
|
|
67672
|
+
json_object (
|
|
67673
|
+
'schemaItemType', 'Mixin',
|
|
67674
|
+
'name', [class].[Name],
|
|
67675
|
+
'label', [class].[DisplayLabel],
|
|
67676
|
+
'description', [class].[Description],
|
|
67677
|
+
'modifier', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.modifier)("class")},
|
|
67678
|
+
'baseClass', (
|
|
67679
|
+
${selectBaseClasses}
|
|
67680
|
+
),
|
|
67681
|
+
'appliesTo', (
|
|
67682
|
+
SELECT IIF(instr([atCTE].[AppliesTo], ':') > 1, ec_classname(ec_classId([atCTE].[AppliesTo]), 's.c'), CONCAT([atCTE].[AppliesToSchema], '.', [atCTE].[AppliesTo]))
|
|
67683
|
+
FROM [AppliesToCTE] [atCTE]
|
|
67684
|
+
WHERE [atCTE].[AppliesToId] = [class].[ECInstanceId]
|
|
67685
|
+
),
|
|
67686
|
+
'customAttributes', (
|
|
67687
|
+
SELECT
|
|
67688
|
+
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67689
|
+
FROM [meta].[CustomAttribute] [ca]
|
|
67690
|
+
WHERE [ca].[ContainerId] = [class].[ECInstanceId] AND [ca].[ContainerType] = 30
|
|
67691
|
+
AND json_extract(XmlCAToJson([ca].[Class].[Id], [ca].[Instance]), '$.ecClass') <> 'IsMixin'
|
|
67692
|
+
),
|
|
67693
|
+
'properties', (
|
|
67694
|
+
SELECT
|
|
67695
|
+
json_group_array(json([classProperties].[property]))
|
|
67696
|
+
FROM
|
|
67697
|
+
[ClassProperties] [classProperties]
|
|
67698
|
+
WHERE
|
|
67699
|
+
[classProperties].[ClassId] = [class].[ECInstanceId]
|
|
67700
|
+
)
|
|
67701
|
+
) AS [item]
|
|
67702
|
+
FROM [meta].[ECClassDef] [class]
|
|
67703
|
+
JOIN
|
|
67704
|
+
[meta].[ECSchemaDef] [sd] ON [sd].[ECInstanceId] = [class].[Schema].[Id]
|
|
67705
|
+
WHERE [class].[Type] = 0 AND
|
|
67706
|
+
[sd].[Name] = :schemaName
|
|
67707
|
+
AND EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [class].[ECInstanceId] = [ca].[Class].[Id]
|
|
67708
|
+
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
67709
67709
|
`;
|
|
67710
67710
|
/**
|
|
67711
67711
|
* Mixin query used to when querying for Mixin data only. Not used
|
|
67712
67712
|
* for full Schema load via single query.
|
|
67713
67713
|
*/
|
|
67714
|
-
const mixinQuery = `
|
|
67715
|
-
WITH
|
|
67716
|
-
${withAppliesTo},
|
|
67717
|
-
${withClassProperties}
|
|
67718
|
-
${baseMixinQuery}
|
|
67714
|
+
const mixinQuery = `
|
|
67715
|
+
WITH
|
|
67716
|
+
${withAppliesTo},
|
|
67717
|
+
${withClassProperties}
|
|
67718
|
+
${baseMixinQuery}
|
|
67719
67719
|
`;
|
|
67720
67720
|
/**
|
|
67721
67721
|
* Query that provides RelationshipClass data and is shared by two cases:
|
|
@@ -67723,82 +67723,82 @@ ${baseMixinQuery}
|
|
|
67723
67723
|
* 2. When querying a full schema with multiple schema item queries or
|
|
67724
67724
|
* when just querying for Relationship classes.
|
|
67725
67725
|
*/
|
|
67726
|
-
const baseRelationshipClassQuery = `
|
|
67727
|
-
SELECT
|
|
67728
|
-
[sd].Name as schema,
|
|
67729
|
-
json_object (
|
|
67730
|
-
'schemaItemType', 'RelationshipClass',
|
|
67731
|
-
'name', [class].[Name],
|
|
67732
|
-
'label', [class].[DisplayLabel],
|
|
67733
|
-
'description', [class].[Description],
|
|
67734
|
-
'strength', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.strength)("class")},
|
|
67735
|
-
'strengthDirection', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.strengthDirection)("class")},
|
|
67736
|
-
'modifier', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.modifier)("class")},
|
|
67737
|
-
'baseClass', (
|
|
67738
|
-
${selectBaseClasses}
|
|
67739
|
-
),
|
|
67740
|
-
'customAttributes', (${classCustomAttribute("class")}),
|
|
67741
|
-
'properties', (
|
|
67742
|
-
${selectProperties}
|
|
67743
|
-
),
|
|
67744
|
-
'source', (
|
|
67745
|
-
SELECT
|
|
67746
|
-
json_object (
|
|
67747
|
-
'multiplicity', [sourceConst].[Multiplicity],
|
|
67748
|
-
'roleLabel', [sourceConst].[RoleLabel],
|
|
67749
|
-
'polymorphic', IIF([sourceConst].[IsPolyMorphic] = 1, json('true'), json('false')),
|
|
67750
|
-
'abstractConstraint', [sourceConst].[AbstractConstraint],
|
|
67751
|
-
'constraintClasses', json([sourceConst].[ConstraintClasses]),
|
|
67752
|
-
'customAttributes', (
|
|
67753
|
-
SELECT
|
|
67754
|
-
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67755
|
-
FROM [meta].[CustomAttribute] [ca]
|
|
67756
|
-
WHERE [ca].[ContainerId] = [sourceConst].[ConstraintId] AND [ca].[ContainerType] = 1024
|
|
67757
|
-
ORDER BY [ca].[Ordinal]
|
|
67758
|
-
)
|
|
67759
|
-
)
|
|
67760
|
-
FROM
|
|
67761
|
-
[ClassRelationshipConstraints] [sourceConst]
|
|
67762
|
-
WHERE [sourceConst].[relationshipEnd] = 0
|
|
67763
|
-
AND [sourceConst].[ClassId] = [class].[ECInstanceId]
|
|
67764
|
-
),
|
|
67765
|
-
'target', (
|
|
67766
|
-
SELECT
|
|
67767
|
-
json_object (
|
|
67768
|
-
'multiplicity', [targetConst].[Multiplicity],
|
|
67769
|
-
'roleLabel', [targetConst].[RoleLabel],
|
|
67770
|
-
'polymorphic', IIF([targetConst].[IsPolyMorphic] = 1, json('true'), json('false')),
|
|
67771
|
-
'abstractConstraint', [targetConst].[AbstractConstraint],
|
|
67772
|
-
'constraintClasses', json([targetConst].[ConstraintClasses]),
|
|
67773
|
-
'customAttributes', (
|
|
67774
|
-
SELECT
|
|
67775
|
-
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67776
|
-
FROM [meta].[CustomAttribute] [ca]
|
|
67777
|
-
WHERE [ca].[ContainerId] = [targetConst].[ConstraintId] AND [ca].[ContainerType] = 2048
|
|
67778
|
-
ORDER BY [ca].[Ordinal]
|
|
67779
|
-
)
|
|
67780
|
-
)
|
|
67781
|
-
FROM
|
|
67782
|
-
[ClassRelationshipConstraints] [targetConst]
|
|
67783
|
-
WHERE [targetConst].[relationshipEnd] = 1
|
|
67784
|
-
AND [targetConst].[ClassId] = [class].[ECInstanceId]
|
|
67785
|
-
)
|
|
67786
|
-
) AS [item]
|
|
67787
|
-
FROM [meta].[ECClassDef] [class]
|
|
67788
|
-
JOIN
|
|
67789
|
-
[meta].[ECSchemaDef] [sd] ON [sd].[ECInstanceId] = [class].[Schema].[Id]
|
|
67790
|
-
WHERE [class].[Type] = 1 AND
|
|
67791
|
-
[sd].[Name] = :schemaName
|
|
67726
|
+
const baseRelationshipClassQuery = `
|
|
67727
|
+
SELECT
|
|
67728
|
+
[sd].Name as schema,
|
|
67729
|
+
json_object (
|
|
67730
|
+
'schemaItemType', 'RelationshipClass',
|
|
67731
|
+
'name', [class].[Name],
|
|
67732
|
+
'label', [class].[DisplayLabel],
|
|
67733
|
+
'description', [class].[Description],
|
|
67734
|
+
'strength', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.strength)("class")},
|
|
67735
|
+
'strengthDirection', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.strengthDirection)("class")},
|
|
67736
|
+
'modifier', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.modifier)("class")},
|
|
67737
|
+
'baseClass', (
|
|
67738
|
+
${selectBaseClasses}
|
|
67739
|
+
),
|
|
67740
|
+
'customAttributes', (${classCustomAttribute("class")}),
|
|
67741
|
+
'properties', (
|
|
67742
|
+
${selectProperties}
|
|
67743
|
+
),
|
|
67744
|
+
'source', (
|
|
67745
|
+
SELECT
|
|
67746
|
+
json_object (
|
|
67747
|
+
'multiplicity', [sourceConst].[Multiplicity],
|
|
67748
|
+
'roleLabel', [sourceConst].[RoleLabel],
|
|
67749
|
+
'polymorphic', IIF([sourceConst].[IsPolyMorphic] = 1, json('true'), json('false')),
|
|
67750
|
+
'abstractConstraint', [sourceConst].[AbstractConstraint],
|
|
67751
|
+
'constraintClasses', json([sourceConst].[ConstraintClasses]),
|
|
67752
|
+
'customAttributes', (
|
|
67753
|
+
SELECT
|
|
67754
|
+
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67755
|
+
FROM [meta].[CustomAttribute] [ca]
|
|
67756
|
+
WHERE [ca].[ContainerId] = [sourceConst].[ConstraintId] AND [ca].[ContainerType] = 1024
|
|
67757
|
+
ORDER BY [ca].[Ordinal]
|
|
67758
|
+
)
|
|
67759
|
+
)
|
|
67760
|
+
FROM
|
|
67761
|
+
[ClassRelationshipConstraints] [sourceConst]
|
|
67762
|
+
WHERE [sourceConst].[relationshipEnd] = 0
|
|
67763
|
+
AND [sourceConst].[ClassId] = [class].[ECInstanceId]
|
|
67764
|
+
),
|
|
67765
|
+
'target', (
|
|
67766
|
+
SELECT
|
|
67767
|
+
json_object (
|
|
67768
|
+
'multiplicity', [targetConst].[Multiplicity],
|
|
67769
|
+
'roleLabel', [targetConst].[RoleLabel],
|
|
67770
|
+
'polymorphic', IIF([targetConst].[IsPolyMorphic] = 1, json('true'), json('false')),
|
|
67771
|
+
'abstractConstraint', [targetConst].[AbstractConstraint],
|
|
67772
|
+
'constraintClasses', json([targetConst].[ConstraintClasses]),
|
|
67773
|
+
'customAttributes', (
|
|
67774
|
+
SELECT
|
|
67775
|
+
json_group_array(json(XmlCAToJson([ca].[Class].[Id], [ca].[Instance])))
|
|
67776
|
+
FROM [meta].[CustomAttribute] [ca]
|
|
67777
|
+
WHERE [ca].[ContainerId] = [targetConst].[ConstraintId] AND [ca].[ContainerType] = 2048
|
|
67778
|
+
ORDER BY [ca].[Ordinal]
|
|
67779
|
+
)
|
|
67780
|
+
)
|
|
67781
|
+
FROM
|
|
67782
|
+
[ClassRelationshipConstraints] [targetConst]
|
|
67783
|
+
WHERE [targetConst].[relationshipEnd] = 1
|
|
67784
|
+
AND [targetConst].[ClassId] = [class].[ECInstanceId]
|
|
67785
|
+
)
|
|
67786
|
+
) AS [item]
|
|
67787
|
+
FROM [meta].[ECClassDef] [class]
|
|
67788
|
+
JOIN
|
|
67789
|
+
[meta].[ECSchemaDef] [sd] ON [sd].[ECInstanceId] = [class].[Schema].[Id]
|
|
67790
|
+
WHERE [class].[Type] = 1 AND
|
|
67791
|
+
[sd].[Name] = :schemaName
|
|
67792
67792
|
`;
|
|
67793
67793
|
/**
|
|
67794
67794
|
* RelationshipClass query used to when querying for RelationshipClass data only. Not used
|
|
67795
67795
|
* for full Schema load via single query.
|
|
67796
67796
|
*/
|
|
67797
|
-
const relationshipClassQuery = `
|
|
67798
|
-
WITH
|
|
67799
|
-
${withClassProperties},
|
|
67800
|
-
${withRelationshipConstraints}
|
|
67801
|
-
${baseRelationshipClassQuery}
|
|
67797
|
+
const relationshipClassQuery = `
|
|
67798
|
+
WITH
|
|
67799
|
+
${withClassProperties},
|
|
67800
|
+
${withRelationshipConstraints}
|
|
67801
|
+
${baseRelationshipClassQuery}
|
|
67802
67802
|
`;
|
|
67803
67803
|
/**
|
|
67804
67804
|
* Query that provides StructClass data and is shared by two cases:
|
|
@@ -67806,37 +67806,37 @@ ${baseRelationshipClassQuery}
|
|
|
67806
67806
|
* 2. When querying a full schema with multiple schema item queries or
|
|
67807
67807
|
* when just querying for Struct classes.
|
|
67808
67808
|
*/
|
|
67809
|
-
const baseStructQuery = `
|
|
67810
|
-
SELECT
|
|
67811
|
-
[sd].Name as schema,
|
|
67812
|
-
json_object (
|
|
67813
|
-
'schemaItemType', 'StructClass',
|
|
67814
|
-
'name', [class].[Name],
|
|
67815
|
-
'label', [class].[DisplayLabel],
|
|
67816
|
-
'description', [class].[Description],
|
|
67817
|
-
'modifier', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.modifier)("class")},
|
|
67818
|
-
'baseClass', (
|
|
67819
|
-
${selectBaseClasses}
|
|
67820
|
-
),
|
|
67821
|
-
'customAttributes', (${classCustomAttribute("class")}),
|
|
67822
|
-
'properties', (
|
|
67823
|
-
${selectProperties}
|
|
67824
|
-
)
|
|
67825
|
-
) AS item
|
|
67826
|
-
FROM [meta].[ECClassDef] [class]
|
|
67827
|
-
JOIN
|
|
67828
|
-
[meta].[ECSchemaDef] [sd] ON [sd].[ECInstanceId] = [class].[Schema].[Id]
|
|
67829
|
-
WHERE [class].[Type] = 2 AND
|
|
67830
|
-
[sd].[Name] = :schemaName
|
|
67809
|
+
const baseStructQuery = `
|
|
67810
|
+
SELECT
|
|
67811
|
+
[sd].Name as schema,
|
|
67812
|
+
json_object (
|
|
67813
|
+
'schemaItemType', 'StructClass',
|
|
67814
|
+
'name', [class].[Name],
|
|
67815
|
+
'label', [class].[DisplayLabel],
|
|
67816
|
+
'description', [class].[Description],
|
|
67817
|
+
'modifier', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.modifier)("class")},
|
|
67818
|
+
'baseClass', (
|
|
67819
|
+
${selectBaseClasses}
|
|
67820
|
+
),
|
|
67821
|
+
'customAttributes', (${classCustomAttribute("class")}),
|
|
67822
|
+
'properties', (
|
|
67823
|
+
${selectProperties}
|
|
67824
|
+
)
|
|
67825
|
+
) AS item
|
|
67826
|
+
FROM [meta].[ECClassDef] [class]
|
|
67827
|
+
JOIN
|
|
67828
|
+
[meta].[ECSchemaDef] [sd] ON [sd].[ECInstanceId] = [class].[Schema].[Id]
|
|
67829
|
+
WHERE [class].[Type] = 2 AND
|
|
67830
|
+
[sd].[Name] = :schemaName
|
|
67831
67831
|
`;
|
|
67832
67832
|
/**
|
|
67833
67833
|
* StructClass query used to when querying for StructClass data only. Not used
|
|
67834
67834
|
* for full Schema load via single query.
|
|
67835
67835
|
*/
|
|
67836
|
-
const structQuery = `
|
|
67837
|
-
WITH
|
|
67838
|
-
${withClassProperties}
|
|
67839
|
-
${baseStructQuery}
|
|
67836
|
+
const structQuery = `
|
|
67837
|
+
WITH
|
|
67838
|
+
${withClassProperties}
|
|
67839
|
+
${baseStructQuery}
|
|
67840
67840
|
`;
|
|
67841
67841
|
/**
|
|
67842
67842
|
* Query that provides CustomAttributeClass data and is shared by two cases:
|
|
@@ -67844,141 +67844,141 @@ ${baseStructQuery}
|
|
|
67844
67844
|
* 2. When querying a full schema with multiple schema item queries or
|
|
67845
67845
|
* when just querying for CustomAttribute classes.
|
|
67846
67846
|
*/
|
|
67847
|
-
const baseCustomAttributeQuery = `
|
|
67848
|
-
SELECT
|
|
67849
|
-
[sd].Name as schema,
|
|
67850
|
-
json_object (
|
|
67851
|
-
'schemaItemType', 'CustomAttributeClass',
|
|
67852
|
-
'name', [class].[Name],
|
|
67853
|
-
'label', [class].[DisplayLabel],
|
|
67854
|
-
'description', [class].[Description],
|
|
67855
|
-
'appliesTo', [class].[CustomAttributeContainerType],
|
|
67856
|
-
'modifier', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.modifier)("class")},
|
|
67857
|
-
'baseClass', (
|
|
67858
|
-
${selectBaseClasses}
|
|
67859
|
-
),
|
|
67860
|
-
'customAttributes', (${classCustomAttribute("class")}),
|
|
67861
|
-
'properties', (
|
|
67862
|
-
${selectProperties}
|
|
67863
|
-
)
|
|
67864
|
-
) AS [item]
|
|
67865
|
-
FROM [meta].[ECClassDef] [class]
|
|
67866
|
-
JOIN
|
|
67867
|
-
[meta].[ECSchemaDef] sd ON [sd].[ECInstanceId] = [class].[Schema].[Id]
|
|
67868
|
-
WHERE [class].[Type] = 3 AND
|
|
67869
|
-
[sd].[Name] = :schemaName
|
|
67847
|
+
const baseCustomAttributeQuery = `
|
|
67848
|
+
SELECT
|
|
67849
|
+
[sd].Name as schema,
|
|
67850
|
+
json_object (
|
|
67851
|
+
'schemaItemType', 'CustomAttributeClass',
|
|
67852
|
+
'name', [class].[Name],
|
|
67853
|
+
'label', [class].[DisplayLabel],
|
|
67854
|
+
'description', [class].[Description],
|
|
67855
|
+
'appliesTo', [class].[CustomAttributeContainerType],
|
|
67856
|
+
'modifier', ${(0,_SchemaStubQueries__WEBPACK_IMPORTED_MODULE_1__.modifier)("class")},
|
|
67857
|
+
'baseClass', (
|
|
67858
|
+
${selectBaseClasses}
|
|
67859
|
+
),
|
|
67860
|
+
'customAttributes', (${classCustomAttribute("class")}),
|
|
67861
|
+
'properties', (
|
|
67862
|
+
${selectProperties}
|
|
67863
|
+
)
|
|
67864
|
+
) AS [item]
|
|
67865
|
+
FROM [meta].[ECClassDef] [class]
|
|
67866
|
+
JOIN
|
|
67867
|
+
[meta].[ECSchemaDef] sd ON [sd].[ECInstanceId] = [class].[Schema].[Id]
|
|
67868
|
+
WHERE [class].[Type] = 3 AND
|
|
67869
|
+
[sd].[Name] = :schemaName
|
|
67870
67870
|
`;
|
|
67871
67871
|
/**
|
|
67872
67872
|
* CustomAttributeClass query used to when querying for CustomAttributeClass data only. Not used
|
|
67873
67873
|
* for full Schema load via single query.
|
|
67874
67874
|
*/
|
|
67875
|
-
const customAttributeQuery = `
|
|
67876
|
-
WITH
|
|
67877
|
-
${withClassProperties}
|
|
67878
|
-
${baseCustomAttributeQuery}
|
|
67875
|
+
const customAttributeQuery = `
|
|
67876
|
+
WITH
|
|
67877
|
+
${withClassProperties}
|
|
67878
|
+
${baseCustomAttributeQuery}
|
|
67879
67879
|
`;
|
|
67880
67880
|
/**
|
|
67881
67881
|
* Used by full schema load query via single query. Allows
|
|
67882
67882
|
* all SchemaItemTypes to be queried at once.
|
|
67883
67883
|
*/
|
|
67884
|
-
const withSchemaItems = `
|
|
67885
|
-
SchemaItems AS (
|
|
67886
|
-
${baseEntityQuery}
|
|
67887
|
-
UNION ALL
|
|
67888
|
-
${baseRelationshipClassQuery}
|
|
67889
|
-
UNION ALL
|
|
67890
|
-
${baseStructQuery}
|
|
67891
|
-
UNION ALL
|
|
67892
|
-
${baseMixinQuery}
|
|
67893
|
-
UNION ALL
|
|
67894
|
-
${baseCustomAttributeQuery}
|
|
67895
|
-
UNION ALL
|
|
67896
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.kindOfQuantity(true)}
|
|
67897
|
-
UNION ALL
|
|
67898
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.enumeration(true)}
|
|
67899
|
-
UNION ALL
|
|
67900
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.propertyCategory(true)}
|
|
67901
|
-
UNION ALL
|
|
67902
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.unit(true)}
|
|
67903
|
-
UNION ALL
|
|
67904
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.invertedUnit(true)}
|
|
67905
|
-
UNION ALL
|
|
67906
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.unitSystem(true)}
|
|
67907
|
-
UNION ALL
|
|
67908
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.constant(true)}
|
|
67909
|
-
UNION ALL
|
|
67910
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.phenomenon(true)}
|
|
67911
|
-
UNION ALL
|
|
67912
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.format(true)}
|
|
67913
|
-
)
|
|
67884
|
+
const withSchemaItems = `
|
|
67885
|
+
SchemaItems AS (
|
|
67886
|
+
${baseEntityQuery}
|
|
67887
|
+
UNION ALL
|
|
67888
|
+
${baseRelationshipClassQuery}
|
|
67889
|
+
UNION ALL
|
|
67890
|
+
${baseStructQuery}
|
|
67891
|
+
UNION ALL
|
|
67892
|
+
${baseMixinQuery}
|
|
67893
|
+
UNION ALL
|
|
67894
|
+
${baseCustomAttributeQuery}
|
|
67895
|
+
UNION ALL
|
|
67896
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.kindOfQuantity(true)}
|
|
67897
|
+
UNION ALL
|
|
67898
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.enumeration(true)}
|
|
67899
|
+
UNION ALL
|
|
67900
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.propertyCategory(true)}
|
|
67901
|
+
UNION ALL
|
|
67902
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.unit(true)}
|
|
67903
|
+
UNION ALL
|
|
67904
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.invertedUnit(true)}
|
|
67905
|
+
UNION ALL
|
|
67906
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.unitSystem(true)}
|
|
67907
|
+
UNION ALL
|
|
67908
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.constant(true)}
|
|
67909
|
+
UNION ALL
|
|
67910
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.phenomenon(true)}
|
|
67911
|
+
UNION ALL
|
|
67912
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.format(true)}
|
|
67913
|
+
)
|
|
67914
67914
|
`;
|
|
67915
67915
|
/**
|
|
67916
67916
|
* Query for Schema data without SchemaItems
|
|
67917
67917
|
*/
|
|
67918
|
-
const schemaNoItemsQuery = `
|
|
67919
|
-
WITH
|
|
67920
|
-
${withSchemaReferences}
|
|
67921
|
-
SELECT
|
|
67922
|
-
json_object (
|
|
67923
|
-
'name', [schemaDef].[Name],
|
|
67924
|
-
'version', CONCAT(printf('%02d', [VersionMajor]), '.', printf('%02d', [VersionWrite]), '.', printf('%02d', [VersionMinor])),
|
|
67925
|
-
'alias', [schemaDef].[Alias],
|
|
67926
|
-
'label', [schemaDef].[DisplayLabel],
|
|
67927
|
-
'description', [schemaDef].[Description],
|
|
67928
|
-
'ecSpecMajorVersion', [schemaDef].[OriginalECXmlVersionMajor],
|
|
67929
|
-
'ecSpecMinorVersion', [schemaDef].[OriginalECXmlVersionMinor],
|
|
67930
|
-
'customAttributes', (${schemaCustomAttribute("schemaDef")}),
|
|
67931
|
-
'references', (
|
|
67932
|
-
SELECT
|
|
67933
|
-
json_group_array(json([schemaReferences].[reference]))
|
|
67934
|
-
FROM
|
|
67935
|
-
[SchemaReferences] [schemaReferences]
|
|
67936
|
-
WHERE
|
|
67937
|
-
[schemaReferences].[SchemaId] = [schemaDef].[ECInstanceId]
|
|
67938
|
-
)
|
|
67939
|
-
) as [schema]
|
|
67940
|
-
FROM
|
|
67941
|
-
[meta].[ECSchemaDef] [schemaDef] WHERE [Name] = :schemaName
|
|
67918
|
+
const schemaNoItemsQuery = `
|
|
67919
|
+
WITH
|
|
67920
|
+
${withSchemaReferences}
|
|
67921
|
+
SELECT
|
|
67922
|
+
json_object (
|
|
67923
|
+
'name', [schemaDef].[Name],
|
|
67924
|
+
'version', CONCAT(printf('%02d', [VersionMajor]), '.', printf('%02d', [VersionWrite]), '.', printf('%02d', [VersionMinor])),
|
|
67925
|
+
'alias', [schemaDef].[Alias],
|
|
67926
|
+
'label', [schemaDef].[DisplayLabel],
|
|
67927
|
+
'description', [schemaDef].[Description],
|
|
67928
|
+
'ecSpecMajorVersion', [schemaDef].[OriginalECXmlVersionMajor],
|
|
67929
|
+
'ecSpecMinorVersion', [schemaDef].[OriginalECXmlVersionMinor],
|
|
67930
|
+
'customAttributes', (${schemaCustomAttribute("schemaDef")}),
|
|
67931
|
+
'references', (
|
|
67932
|
+
SELECT
|
|
67933
|
+
json_group_array(json([schemaReferences].[reference]))
|
|
67934
|
+
FROM
|
|
67935
|
+
[SchemaReferences] [schemaReferences]
|
|
67936
|
+
WHERE
|
|
67937
|
+
[schemaReferences].[SchemaId] = [schemaDef].[ECInstanceId]
|
|
67938
|
+
)
|
|
67939
|
+
) as [schema]
|
|
67940
|
+
FROM
|
|
67941
|
+
[meta].[ECSchemaDef] [schemaDef] WHERE [Name] = :schemaName
|
|
67942
67942
|
`;
|
|
67943
67943
|
/**
|
|
67944
67944
|
* Query to load a full Schema via a single query.
|
|
67945
67945
|
*/
|
|
67946
|
-
const schemaQuery = `
|
|
67947
|
-
WITH
|
|
67948
|
-
${withAppliesTo},
|
|
67949
|
-
${withSchemaReferences},
|
|
67950
|
-
${withClassProperties},
|
|
67951
|
-
${withRelationshipConstraints},
|
|
67952
|
-
${withSchemaItems}
|
|
67953
|
-
SELECT
|
|
67954
|
-
json_object (
|
|
67955
|
-
'name', [schemaDef].[Name],
|
|
67956
|
-
'version', CONCAT(printf('%02d', [VersionMajor]), '.', printf('%02d', [VersionWrite]), '.', printf('%02d', [VersionMinor])),
|
|
67957
|
-
'alias', [schemaDef].[Alias],
|
|
67958
|
-
'label', [schemaDef].[DisplayLabel],
|
|
67959
|
-
'description', [schemaDef].[Description],
|
|
67960
|
-
'ecSpecMajorVersion', [schemaDef].[OriginalECXmlVersionMajor],
|
|
67961
|
-
'ecSpecMinorVersion', [schemaDef].[OriginalECXmlVersionMinor],
|
|
67962
|
-
'customAttributes', (${schemaCustomAttribute("schemaDef")}),
|
|
67963
|
-
'references', (
|
|
67964
|
-
SELECT
|
|
67965
|
-
json_group_array(json([schemaReferences].[reference]))
|
|
67966
|
-
FROM
|
|
67967
|
-
[SchemaReferences] [schemaReferences]
|
|
67968
|
-
WHERE
|
|
67969
|
-
[schemaReferences].[SchemaId] = [schemaDef].[ECInstanceId]
|
|
67970
|
-
),
|
|
67971
|
-
'items', (
|
|
67972
|
-
SELECT
|
|
67973
|
-
json_group_array(json(json_object(
|
|
67974
|
-
'item', json([items].[item])
|
|
67975
|
-
)))
|
|
67976
|
-
FROM
|
|
67977
|
-
[SchemaItems] [items]
|
|
67978
|
-
)
|
|
67979
|
-
) as [schema]
|
|
67980
|
-
FROM
|
|
67981
|
-
[meta].[ECSchemaDef] [schemaDef] WHERE [Name] = :schemaName
|
|
67946
|
+
const schemaQuery = `
|
|
67947
|
+
WITH
|
|
67948
|
+
${withAppliesTo},
|
|
67949
|
+
${withSchemaReferences},
|
|
67950
|
+
${withClassProperties},
|
|
67951
|
+
${withRelationshipConstraints},
|
|
67952
|
+
${withSchemaItems}
|
|
67953
|
+
SELECT
|
|
67954
|
+
json_object (
|
|
67955
|
+
'name', [schemaDef].[Name],
|
|
67956
|
+
'version', CONCAT(printf('%02d', [VersionMajor]), '.', printf('%02d', [VersionWrite]), '.', printf('%02d', [VersionMinor])),
|
|
67957
|
+
'alias', [schemaDef].[Alias],
|
|
67958
|
+
'label', [schemaDef].[DisplayLabel],
|
|
67959
|
+
'description', [schemaDef].[Description],
|
|
67960
|
+
'ecSpecMajorVersion', [schemaDef].[OriginalECXmlVersionMajor],
|
|
67961
|
+
'ecSpecMinorVersion', [schemaDef].[OriginalECXmlVersionMinor],
|
|
67962
|
+
'customAttributes', (${schemaCustomAttribute("schemaDef")}),
|
|
67963
|
+
'references', (
|
|
67964
|
+
SELECT
|
|
67965
|
+
json_group_array(json([schemaReferences].[reference]))
|
|
67966
|
+
FROM
|
|
67967
|
+
[SchemaReferences] [schemaReferences]
|
|
67968
|
+
WHERE
|
|
67969
|
+
[schemaReferences].[SchemaId] = [schemaDef].[ECInstanceId]
|
|
67970
|
+
),
|
|
67971
|
+
'items', (
|
|
67972
|
+
SELECT
|
|
67973
|
+
json_group_array(json(json_object(
|
|
67974
|
+
'item', json([items].[item])
|
|
67975
|
+
)))
|
|
67976
|
+
FROM
|
|
67977
|
+
[SchemaItems] [items]
|
|
67978
|
+
)
|
|
67979
|
+
) as [schema]
|
|
67980
|
+
FROM
|
|
67981
|
+
[meta].[ECSchemaDef] [schemaDef] WHERE [Name] = :schemaName
|
|
67982
67982
|
`;
|
|
67983
67983
|
/**
|
|
67984
67984
|
* Queries for loading full Schema JSON.
|
|
@@ -68484,281 +68484,281 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
68484
68484
|
* Query for SchemaItemType KindOfQuantity data.
|
|
68485
68485
|
* @param singleSchema Indicates if a filter and join for a single Schema should be applied.
|
|
68486
68486
|
*/
|
|
68487
|
-
const kindOfQuantity = (singleSchema) => `
|
|
68488
|
-
SELECT
|
|
68489
|
-
[koq].[Schema].[Id] AS [SchemaId],
|
|
68490
|
-
json_object (
|
|
68491
|
-
'schemaItemType', 'KindOfQuantity',
|
|
68492
|
-
'name', [koq].[Name],
|
|
68493
|
-
'label', [koq].[DisplayLabel],
|
|
68494
|
-
'description', [koq].[Description],
|
|
68495
|
-
'relativeError', [koq].[RelativeError],
|
|
68496
|
-
'persistenceUnit', [koq].[PersistenceUnit]
|
|
68497
|
-
${singleSchema ? `
|
|
68498
|
-
,'presentationUnits', (
|
|
68499
|
-
SELECT json_group_array(js."value")
|
|
68500
|
-
FROM [meta].[KindOfQuantityDef] [koq1], json1.json_each([PresentationUnits]) js
|
|
68501
|
-
WHERE [koq1].[ECInstanceId] = [koq].[ECInstanceId]
|
|
68502
|
-
) ` : ""}
|
|
68503
|
-
) as [item]
|
|
68504
|
-
FROM
|
|
68505
|
-
[meta].[KindOfQuantityDef] [koq]
|
|
68506
|
-
${singleSchema ? `
|
|
68507
|
-
JOIN
|
|
68508
|
-
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [koq].[Schema].[Id]
|
|
68509
|
-
WHERE [schema].[Name] = :schemaName
|
|
68510
|
-
` : ""}
|
|
68487
|
+
const kindOfQuantity = (singleSchema) => `
|
|
68488
|
+
SELECT
|
|
68489
|
+
[koq].[Schema].[Id] AS [SchemaId],
|
|
68490
|
+
json_object (
|
|
68491
|
+
'schemaItemType', 'KindOfQuantity',
|
|
68492
|
+
'name', [koq].[Name],
|
|
68493
|
+
'label', [koq].[DisplayLabel],
|
|
68494
|
+
'description', [koq].[Description],
|
|
68495
|
+
'relativeError', [koq].[RelativeError],
|
|
68496
|
+
'persistenceUnit', [koq].[PersistenceUnit]
|
|
68497
|
+
${singleSchema ? `
|
|
68498
|
+
,'presentationUnits', (
|
|
68499
|
+
SELECT json_group_array(js."value")
|
|
68500
|
+
FROM [meta].[KindOfQuantityDef] [koq1], json1.json_each([PresentationUnits]) js
|
|
68501
|
+
WHERE [koq1].[ECInstanceId] = [koq].[ECInstanceId]
|
|
68502
|
+
) ` : ""}
|
|
68503
|
+
) as [item]
|
|
68504
|
+
FROM
|
|
68505
|
+
[meta].[KindOfQuantityDef] [koq]
|
|
68506
|
+
${singleSchema ? `
|
|
68507
|
+
JOIN
|
|
68508
|
+
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [koq].[Schema].[Id]
|
|
68509
|
+
WHERE [schema].[Name] = :schemaName
|
|
68510
|
+
` : ""}
|
|
68511
68511
|
`;
|
|
68512
68512
|
/**
|
|
68513
68513
|
* Query for SchemaItemType PropertyCategory data.
|
|
68514
68514
|
* @param singleSchema Indicates if a filter and join for a single Schema should be applied.
|
|
68515
68515
|
*/
|
|
68516
|
-
const propertyCategory = (singleSchema) => `
|
|
68517
|
-
SELECT
|
|
68518
|
-
[pc].[Schema].[Id] AS [SchemaId],
|
|
68519
|
-
json_object (
|
|
68520
|
-
'schemaItemType', 'PropertyCategory',
|
|
68521
|
-
'name', [pc].[Name],
|
|
68522
|
-
'label', [pc].[DisplayLabel],
|
|
68523
|
-
'description', [pc].[Description],
|
|
68524
|
-
'priority', [pc].[Priority]
|
|
68525
|
-
) as [item]
|
|
68526
|
-
FROM
|
|
68527
|
-
[meta].[PropertyCategoryDef] [pc]
|
|
68528
|
-
${singleSchema ? `
|
|
68529
|
-
JOIN
|
|
68530
|
-
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [pc].[Schema].[Id]
|
|
68531
|
-
WHERE [schema].[Name] = :schemaName
|
|
68532
|
-
` : ""}
|
|
68516
|
+
const propertyCategory = (singleSchema) => `
|
|
68517
|
+
SELECT
|
|
68518
|
+
[pc].[Schema].[Id] AS [SchemaId],
|
|
68519
|
+
json_object (
|
|
68520
|
+
'schemaItemType', 'PropertyCategory',
|
|
68521
|
+
'name', [pc].[Name],
|
|
68522
|
+
'label', [pc].[DisplayLabel],
|
|
68523
|
+
'description', [pc].[Description],
|
|
68524
|
+
'priority', [pc].[Priority]
|
|
68525
|
+
) as [item]
|
|
68526
|
+
FROM
|
|
68527
|
+
[meta].[PropertyCategoryDef] [pc]
|
|
68528
|
+
${singleSchema ? `
|
|
68529
|
+
JOIN
|
|
68530
|
+
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [pc].[Schema].[Id]
|
|
68531
|
+
WHERE [schema].[Name] = :schemaName
|
|
68532
|
+
` : ""}
|
|
68533
68533
|
`;
|
|
68534
68534
|
/**
|
|
68535
68535
|
* Query for SchemaItemType Enumeration data.
|
|
68536
68536
|
* @param singleSchema Indicates if a filter and join for a single Schema should be applied.
|
|
68537
68537
|
*/
|
|
68538
|
-
const enumeration = (singleSchema) => `
|
|
68539
|
-
SELECT
|
|
68540
|
-
[ed].[Schema].[Id] AS [SchemaId],
|
|
68541
|
-
json_object (
|
|
68542
|
-
'schemaItemType', 'Enumeration',
|
|
68543
|
-
'name', [ed].[Name],
|
|
68544
|
-
'label', [ed].[DisplayLabel],
|
|
68545
|
-
'description', [ed].[Description],
|
|
68546
|
-
'type', IIF([ed].[Type] = 1281, 'int', IIF([ed].[Type] = 2305, 'string', null)),
|
|
68547
|
-
'isStrict', IIF([ed].[IsStrict] = 1, json('true'), json('false')),
|
|
68548
|
-
'enumerators', (
|
|
68549
|
-
SELECT json_group_array(json(json_object(
|
|
68550
|
-
'name', json_extract(js."value", '$.Name'),
|
|
68551
|
-
'value', IFNULL(json_extract(js."value", '$.StringValue'), (json_extract(js."value", '$.IntValue'))),
|
|
68552
|
-
'label', json_extract(js."value", '$.DisplayLabel'),
|
|
68553
|
-
'description', json_extract(js."value", '$.Description')
|
|
68554
|
-
)))
|
|
68555
|
-
FROM [meta].[ECEnumerationDef] [enumerationDef], json1.json_each([EnumValues]) js
|
|
68556
|
-
WHERE [enumerationDef].[ECInstanceId] = [ed].[ECInstanceId]
|
|
68557
|
-
)
|
|
68558
|
-
) as [item]
|
|
68559
|
-
FROM
|
|
68560
|
-
[meta].[ECEnumerationDef] [ed]
|
|
68561
|
-
${singleSchema ? `
|
|
68562
|
-
JOIN
|
|
68563
|
-
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [ed].[Schema].[Id]
|
|
68564
|
-
WHERE [schema].[Name] = :schemaName` : ""}
|
|
68538
|
+
const enumeration = (singleSchema) => `
|
|
68539
|
+
SELECT
|
|
68540
|
+
[ed].[Schema].[Id] AS [SchemaId],
|
|
68541
|
+
json_object (
|
|
68542
|
+
'schemaItemType', 'Enumeration',
|
|
68543
|
+
'name', [ed].[Name],
|
|
68544
|
+
'label', [ed].[DisplayLabel],
|
|
68545
|
+
'description', [ed].[Description],
|
|
68546
|
+
'type', IIF([ed].[Type] = 1281, 'int', IIF([ed].[Type] = 2305, 'string', null)),
|
|
68547
|
+
'isStrict', IIF([ed].[IsStrict] = 1, json('true'), json('false')),
|
|
68548
|
+
'enumerators', (
|
|
68549
|
+
SELECT json_group_array(json(json_object(
|
|
68550
|
+
'name', json_extract(js."value", '$.Name'),
|
|
68551
|
+
'value', IFNULL(json_extract(js."value", '$.StringValue'), (json_extract(js."value", '$.IntValue'))),
|
|
68552
|
+
'label', json_extract(js."value", '$.DisplayLabel'),
|
|
68553
|
+
'description', json_extract(js."value", '$.Description')
|
|
68554
|
+
)))
|
|
68555
|
+
FROM [meta].[ECEnumerationDef] [enumerationDef], json1.json_each([EnumValues]) js
|
|
68556
|
+
WHERE [enumerationDef].[ECInstanceId] = [ed].[ECInstanceId]
|
|
68557
|
+
)
|
|
68558
|
+
) as [item]
|
|
68559
|
+
FROM
|
|
68560
|
+
[meta].[ECEnumerationDef] [ed]
|
|
68561
|
+
${singleSchema ? `
|
|
68562
|
+
JOIN
|
|
68563
|
+
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [ed].[Schema].[Id]
|
|
68564
|
+
WHERE [schema].[Name] = :schemaName` : ""}
|
|
68565
68565
|
`;
|
|
68566
68566
|
/**
|
|
68567
68567
|
* Query for SchemaItemType Unit data.
|
|
68568
68568
|
* @param singleSchema Indicates if a filter and join for a single Schema should be applied.
|
|
68569
68569
|
*/
|
|
68570
|
-
const unit = (singleSchema) => `
|
|
68571
|
-
SELECT
|
|
68572
|
-
[ud].[Schema].[Id] AS [SchemaId],
|
|
68573
|
-
json_object (
|
|
68574
|
-
'schemaItemType', 'Unit',
|
|
68575
|
-
'name', [ud].[Name],
|
|
68576
|
-
'label', [ud].[DisplayLabel],
|
|
68577
|
-
'description', [ud].[Description],
|
|
68578
|
-
'definition', [ud].[Definition],
|
|
68579
|
-
'numerator', IIF([ud].[Numerator] IS NULL, NULL, json(format('%.16g', [ud].[Numerator]))),
|
|
68580
|
-
'denominator', IIF([ud].[Denominator] IS NULL, NULL, json(format('%.16g', [ud].[Denominator]))),
|
|
68581
|
-
'offset', IIF([ud].[Offset] IS NULL, NULL, json(format('%!.15f', [ud].[Offset]))),
|
|
68582
|
-
'unitSystem', CONCAT([uss].[Name],'.', [usd].[Name]),
|
|
68583
|
-
'phenomenon', CONCAT([ps].[Name],'.', [pd].[Name])
|
|
68584
|
-
) as item
|
|
68585
|
-
FROM
|
|
68586
|
-
[meta].[UnitDef] [ud]
|
|
68587
|
-
${singleSchema ? `
|
|
68588
|
-
JOIN
|
|
68589
|
-
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [ud].[Schema].[Id]` : ""}
|
|
68590
|
-
JOIN [meta].[UnitSystemDef] [usd]
|
|
68591
|
-
ON [usd].[ECInstanceId] = [ud].[UnitSystem].[Id]
|
|
68592
|
-
JOIN [meta].[ECSchemaDef] [uss]
|
|
68593
|
-
ON [uss].[ECInstanceId] = [usd].[Schema].[Id]
|
|
68594
|
-
JOIN [meta].[PhenomenonDef] [pd]
|
|
68595
|
-
ON [pd].[ECInstanceId] = [ud].[Phenomenon].[Id]
|
|
68596
|
-
JOIN [meta].[ECSchemaDef] [ps]
|
|
68597
|
-
ON [ps].[ECInstanceId] = [pd].[Schema].[Id]
|
|
68598
|
-
WHERE
|
|
68599
|
-
${singleSchema ? `
|
|
68600
|
-
[schema].[Name] = :schemaName AND` : ""}
|
|
68601
|
-
[ud].[IsConstant] = 0 AND
|
|
68602
|
-
[ud].[InvertingUnit] IS NULL
|
|
68570
|
+
const unit = (singleSchema) => `
|
|
68571
|
+
SELECT
|
|
68572
|
+
[ud].[Schema].[Id] AS [SchemaId],
|
|
68573
|
+
json_object (
|
|
68574
|
+
'schemaItemType', 'Unit',
|
|
68575
|
+
'name', [ud].[Name],
|
|
68576
|
+
'label', [ud].[DisplayLabel],
|
|
68577
|
+
'description', [ud].[Description],
|
|
68578
|
+
'definition', [ud].[Definition],
|
|
68579
|
+
'numerator', IIF([ud].[Numerator] IS NULL, NULL, json(format('%.16g', [ud].[Numerator]))),
|
|
68580
|
+
'denominator', IIF([ud].[Denominator] IS NULL, NULL, json(format('%.16g', [ud].[Denominator]))),
|
|
68581
|
+
'offset', IIF([ud].[Offset] IS NULL, NULL, json(format('%!.15f', [ud].[Offset]))),
|
|
68582
|
+
'unitSystem', CONCAT([uss].[Name],'.', [usd].[Name]),
|
|
68583
|
+
'phenomenon', CONCAT([ps].[Name],'.', [pd].[Name])
|
|
68584
|
+
) as item
|
|
68585
|
+
FROM
|
|
68586
|
+
[meta].[UnitDef] [ud]
|
|
68587
|
+
${singleSchema ? `
|
|
68588
|
+
JOIN
|
|
68589
|
+
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [ud].[Schema].[Id]` : ""}
|
|
68590
|
+
JOIN [meta].[UnitSystemDef] [usd]
|
|
68591
|
+
ON [usd].[ECInstanceId] = [ud].[UnitSystem].[Id]
|
|
68592
|
+
JOIN [meta].[ECSchemaDef] [uss]
|
|
68593
|
+
ON [uss].[ECInstanceId] = [usd].[Schema].[Id]
|
|
68594
|
+
JOIN [meta].[PhenomenonDef] [pd]
|
|
68595
|
+
ON [pd].[ECInstanceId] = [ud].[Phenomenon].[Id]
|
|
68596
|
+
JOIN [meta].[ECSchemaDef] [ps]
|
|
68597
|
+
ON [ps].[ECInstanceId] = [pd].[Schema].[Id]
|
|
68598
|
+
WHERE
|
|
68599
|
+
${singleSchema ? `
|
|
68600
|
+
[schema].[Name] = :schemaName AND` : ""}
|
|
68601
|
+
[ud].[IsConstant] = 0 AND
|
|
68602
|
+
[ud].[InvertingUnit] IS NULL
|
|
68603
68603
|
`;
|
|
68604
68604
|
/**
|
|
68605
68605
|
* Query for SchemaItemType InvertedUnit data.
|
|
68606
68606
|
* @param singleSchema Indicates if a filter and join for a single Schema should be applied.
|
|
68607
68607
|
*/
|
|
68608
|
-
const invertedUnit = (singleSchema) => `
|
|
68609
|
-
SELECT
|
|
68610
|
-
[ud].[Schema].[Id] AS [SchemaId],
|
|
68611
|
-
json_object (
|
|
68612
|
-
'schemaItemType', 'InvertedUnit',
|
|
68613
|
-
'name', [ud].[Name],
|
|
68614
|
-
'label', [ud].[DisplayLabel],
|
|
68615
|
-
'description', [ud].[Description],
|
|
68616
|
-
'unitSystem', CONCAT([systemSchema].[Name],'.', [usd].[Name]),
|
|
68617
|
-
'invertsUnit', IIF([iud].[Name] IS NULL, null, CONCAT([ius].[Name],'.', [iud].[Name]))
|
|
68618
|
-
) as [item]
|
|
68619
|
-
FROM
|
|
68620
|
-
[meta].[UnitDef] [ud]
|
|
68621
|
-
${singleSchema ? `
|
|
68622
|
-
JOIN
|
|
68623
|
-
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [ud].[Schema].[Id]` : ""}
|
|
68624
|
-
JOIN [meta].[UnitSystemDef] [usd]
|
|
68625
|
-
ON [usd].[ECInstanceId] = [ud].[UnitSystem].[Id]
|
|
68626
|
-
JOIN [meta].[ECSchemaDef] [systemSchema]
|
|
68627
|
-
ON [systemSchema].[ECInstanceId] = [usd].[Schema].[Id]
|
|
68628
|
-
LEFT JOIN [meta].[UnitDef] [iud]
|
|
68629
|
-
ON [iud].[ECInstanceId] = [ud].[InvertingUnit].[Id]
|
|
68630
|
-
LEFT JOIN [meta].[ECSchemaDef] [ius]
|
|
68631
|
-
ON [ius].[ECInstanceId] = [iud].[Schema].[Id]
|
|
68632
|
-
WHERE
|
|
68633
|
-
${singleSchema ? `
|
|
68634
|
-
[schema].[Name] = :schemaName AND` : ""}
|
|
68635
|
-
[ud].[IsConstant] = 0 AND
|
|
68636
|
-
[ud].[InvertingUnit] IS NOT NULL
|
|
68608
|
+
const invertedUnit = (singleSchema) => `
|
|
68609
|
+
SELECT
|
|
68610
|
+
[ud].[Schema].[Id] AS [SchemaId],
|
|
68611
|
+
json_object (
|
|
68612
|
+
'schemaItemType', 'InvertedUnit',
|
|
68613
|
+
'name', [ud].[Name],
|
|
68614
|
+
'label', [ud].[DisplayLabel],
|
|
68615
|
+
'description', [ud].[Description],
|
|
68616
|
+
'unitSystem', CONCAT([systemSchema].[Name],'.', [usd].[Name]),
|
|
68617
|
+
'invertsUnit', IIF([iud].[Name] IS NULL, null, CONCAT([ius].[Name],'.', [iud].[Name]))
|
|
68618
|
+
) as [item]
|
|
68619
|
+
FROM
|
|
68620
|
+
[meta].[UnitDef] [ud]
|
|
68621
|
+
${singleSchema ? `
|
|
68622
|
+
JOIN
|
|
68623
|
+
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [ud].[Schema].[Id]` : ""}
|
|
68624
|
+
JOIN [meta].[UnitSystemDef] [usd]
|
|
68625
|
+
ON [usd].[ECInstanceId] = [ud].[UnitSystem].[Id]
|
|
68626
|
+
JOIN [meta].[ECSchemaDef] [systemSchema]
|
|
68627
|
+
ON [systemSchema].[ECInstanceId] = [usd].[Schema].[Id]
|
|
68628
|
+
LEFT JOIN [meta].[UnitDef] [iud]
|
|
68629
|
+
ON [iud].[ECInstanceId] = [ud].[InvertingUnit].[Id]
|
|
68630
|
+
LEFT JOIN [meta].[ECSchemaDef] [ius]
|
|
68631
|
+
ON [ius].[ECInstanceId] = [iud].[Schema].[Id]
|
|
68632
|
+
WHERE
|
|
68633
|
+
${singleSchema ? `
|
|
68634
|
+
[schema].[Name] = :schemaName AND` : ""}
|
|
68635
|
+
[ud].[IsConstant] = 0 AND
|
|
68636
|
+
[ud].[InvertingUnit] IS NOT NULL
|
|
68637
68637
|
`;
|
|
68638
68638
|
/**
|
|
68639
68639
|
* Query for SchemaItemType Constant data.
|
|
68640
68640
|
* @param singleSchema Indicates if a filter and join for a single Schema should be applied.
|
|
68641
68641
|
*/
|
|
68642
|
-
const constant = (singleSchema) => `
|
|
68643
|
-
SELECT
|
|
68644
|
-
[cd].[Schema].[Id] AS [SchemaId],
|
|
68645
|
-
json_object(
|
|
68646
|
-
'schemaItemType', 'Constant',
|
|
68647
|
-
'name', [cd].[Name],
|
|
68648
|
-
'label', [cd].[DisplayLabel],
|
|
68649
|
-
'description', [cd].[Description],
|
|
68650
|
-
'definition', [cd].[Definition],
|
|
68651
|
-
'numerator', IIF([cd].[Numerator] IS NULL, NULL, json(format('%.16g', [cd].[Numerator]))),
|
|
68652
|
-
'denominator', IIF([cd].[Denominator] IS NULL, NULL, json(format('%.16g', [cd].[Denominator]))),
|
|
68653
|
-
'phenomenon', CONCAT([phenomSchema].[Name],'.', [phenomDef].[Name])
|
|
68654
|
-
) as item
|
|
68655
|
-
FROM
|
|
68656
|
-
[meta].[UnitDef] [cd]
|
|
68657
|
-
${singleSchema ? `
|
|
68658
|
-
JOIN
|
|
68659
|
-
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [cd].[Schema].[Id]` : ""}
|
|
68660
|
-
JOIN [meta].[PhenomenonDef] [phenomDef]
|
|
68661
|
-
ON [phenomDef].[ECInstanceId] = [cd].[Phenomenon].[Id]
|
|
68662
|
-
JOIN [meta].[ECSchemaDef] [phenomSchema]
|
|
68663
|
-
ON [phenomSchema].[ECInstanceId] = [phenomDef].[Schema].[Id]
|
|
68664
|
-
WHERE
|
|
68665
|
-
${singleSchema ? `
|
|
68666
|
-
[schema].[Name] = :schemaName AND` : ""}
|
|
68667
|
-
[cd].[IsConstant] = 1
|
|
68642
|
+
const constant = (singleSchema) => `
|
|
68643
|
+
SELECT
|
|
68644
|
+
[cd].[Schema].[Id] AS [SchemaId],
|
|
68645
|
+
json_object(
|
|
68646
|
+
'schemaItemType', 'Constant',
|
|
68647
|
+
'name', [cd].[Name],
|
|
68648
|
+
'label', [cd].[DisplayLabel],
|
|
68649
|
+
'description', [cd].[Description],
|
|
68650
|
+
'definition', [cd].[Definition],
|
|
68651
|
+
'numerator', IIF([cd].[Numerator] IS NULL, NULL, json(format('%.16g', [cd].[Numerator]))),
|
|
68652
|
+
'denominator', IIF([cd].[Denominator] IS NULL, NULL, json(format('%.16g', [cd].[Denominator]))),
|
|
68653
|
+
'phenomenon', CONCAT([phenomSchema].[Name],'.', [phenomDef].[Name])
|
|
68654
|
+
) as item
|
|
68655
|
+
FROM
|
|
68656
|
+
[meta].[UnitDef] [cd]
|
|
68657
|
+
${singleSchema ? `
|
|
68658
|
+
JOIN
|
|
68659
|
+
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [cd].[Schema].[Id]` : ""}
|
|
68660
|
+
JOIN [meta].[PhenomenonDef] [phenomDef]
|
|
68661
|
+
ON [phenomDef].[ECInstanceId] = [cd].[Phenomenon].[Id]
|
|
68662
|
+
JOIN [meta].[ECSchemaDef] [phenomSchema]
|
|
68663
|
+
ON [phenomSchema].[ECInstanceId] = [phenomDef].[Schema].[Id]
|
|
68664
|
+
WHERE
|
|
68665
|
+
${singleSchema ? `
|
|
68666
|
+
[schema].[Name] = :schemaName AND` : ""}
|
|
68667
|
+
[cd].[IsConstant] = 1
|
|
68668
68668
|
`;
|
|
68669
68669
|
/**
|
|
68670
68670
|
* Query for SchemaItemType UnitSystem data.
|
|
68671
68671
|
* @param singleSchema Indicates if a filter and join for a single Schema should be applied.
|
|
68672
68672
|
*/
|
|
68673
|
-
const unitSystem = (singleSchema) => `
|
|
68674
|
-
SELECT
|
|
68675
|
-
[us].[Schema].[Id] AS [SchemaId],
|
|
68676
|
-
json_object (
|
|
68677
|
-
'schemaItemType', 'UnitSystem',
|
|
68678
|
-
'name', [us].[Name],
|
|
68679
|
-
'label', [us].[DisplayLabel],
|
|
68680
|
-
'description', [us].[Description]
|
|
68681
|
-
) as [item]
|
|
68682
|
-
FROM
|
|
68683
|
-
[meta].[UnitSystemDef] [us]
|
|
68684
|
-
${singleSchema ? `
|
|
68685
|
-
JOIN
|
|
68686
|
-
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [us].[Schema].[Id]
|
|
68687
|
-
WHERE [schema].[Name] = :schemaName` : ""}
|
|
68673
|
+
const unitSystem = (singleSchema) => `
|
|
68674
|
+
SELECT
|
|
68675
|
+
[us].[Schema].[Id] AS [SchemaId],
|
|
68676
|
+
json_object (
|
|
68677
|
+
'schemaItemType', 'UnitSystem',
|
|
68678
|
+
'name', [us].[Name],
|
|
68679
|
+
'label', [us].[DisplayLabel],
|
|
68680
|
+
'description', [us].[Description]
|
|
68681
|
+
) as [item]
|
|
68682
|
+
FROM
|
|
68683
|
+
[meta].[UnitSystemDef] [us]
|
|
68684
|
+
${singleSchema ? `
|
|
68685
|
+
JOIN
|
|
68686
|
+
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [us].[Schema].[Id]
|
|
68687
|
+
WHERE [schema].[Name] = :schemaName` : ""}
|
|
68688
68688
|
`;
|
|
68689
68689
|
/**
|
|
68690
68690
|
* Query for SchemaItemType Phenomenon data.
|
|
68691
68691
|
* @param singleSchema Indicates if a filter and join for a single Schema should be applied.
|
|
68692
68692
|
*/
|
|
68693
|
-
const phenomenon = (singleSchema) => `
|
|
68694
|
-
SELECT
|
|
68695
|
-
[pd].[Schema].[Id] AS [SchemaId],
|
|
68696
|
-
json_object(
|
|
68697
|
-
'schemaItemType', 'Phenomenon',
|
|
68698
|
-
'name', [pd].[Name],
|
|
68699
|
-
'label', [pd].[DisplayLabel],
|
|
68700
|
-
'description', [pd].[Description],
|
|
68701
|
-
'definition', [pd].[Definition]
|
|
68702
|
-
) as [item]
|
|
68703
|
-
FROM
|
|
68704
|
-
[meta].[PhenomenonDef] [pd]
|
|
68705
|
-
${singleSchema ? `
|
|
68706
|
-
JOIN
|
|
68707
|
-
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [pd].[Schema].[Id]
|
|
68708
|
-
WHERE [schema].[Name] = :schemaName` : ""}
|
|
68693
|
+
const phenomenon = (singleSchema) => `
|
|
68694
|
+
SELECT
|
|
68695
|
+
[pd].[Schema].[Id] AS [SchemaId],
|
|
68696
|
+
json_object(
|
|
68697
|
+
'schemaItemType', 'Phenomenon',
|
|
68698
|
+
'name', [pd].[Name],
|
|
68699
|
+
'label', [pd].[DisplayLabel],
|
|
68700
|
+
'description', [pd].[Description],
|
|
68701
|
+
'definition', [pd].[Definition]
|
|
68702
|
+
) as [item]
|
|
68703
|
+
FROM
|
|
68704
|
+
[meta].[PhenomenonDef] [pd]
|
|
68705
|
+
${singleSchema ? `
|
|
68706
|
+
JOIN
|
|
68707
|
+
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [pd].[Schema].[Id]
|
|
68708
|
+
WHERE [schema].[Name] = :schemaName` : ""}
|
|
68709
68709
|
`;
|
|
68710
68710
|
/**
|
|
68711
68711
|
* Query for SchemaItemType Format data.
|
|
68712
68712
|
* @param singleSchema Indicates if a filter and join for a single Schema should be applied.
|
|
68713
68713
|
*/
|
|
68714
|
-
const format = (singleSchema) => `
|
|
68715
|
-
SELECT
|
|
68716
|
-
[fd].[Schema].[Id] AS [SchemaId],
|
|
68717
|
-
json_object(
|
|
68718
|
-
'schemaItemType', 'Format',
|
|
68719
|
-
'name', [fd].[Name],
|
|
68720
|
-
'label', [fd].[DisplayLabel],
|
|
68721
|
-
'description', [fd].[Description],
|
|
68722
|
-
'type', json_extract([fd].[NumericSpec], '$.type'),
|
|
68723
|
-
'precision', json_extract([fd].[NumericSpec], '$.precision'),
|
|
68724
|
-
'roundFactor', json_extract([fd].[NumericSpec], '$.roundFactor'),
|
|
68725
|
-
'minWidth', json_extract([fd].[NumericSpec], '$.minWidth'),
|
|
68726
|
-
'showSignOption', json_extract([fd].[NumericSpec], '$.showSignOption'),
|
|
68727
|
-
'decimalSeparator', json_extract([fd].[NumericSpec], '$.decimalSeparator'),
|
|
68728
|
-
'thousandSeparator', json_extract([fd].[NumericSpec], '$.thousandSeparator'),
|
|
68729
|
-
'uomSeparator', json_extract([fd].[NumericSpec], '$.uomSeparator'),
|
|
68730
|
-
'scientificType', json_extract([fd].[NumericSpec], '$.scientificType'),
|
|
68731
|
-
'stationOffsetSize', json_extract([fd].[NumericSpec], '$.stationOffsetSize'),
|
|
68732
|
-
'stationSeparator', json_extract([fd].[NumericSpec], '$.stationSeparator'),
|
|
68733
|
-
'formatTraits', json_extract([fd].[NumericSpec], '$.formatTraits')
|
|
68734
|
-
${singleSchema ? `
|
|
68735
|
-
,'composite', (
|
|
68736
|
-
SELECT
|
|
68737
|
-
json_object(
|
|
68738
|
-
'spacer', json_extract([fd1].[CompositeSpec], '$.spacer'),
|
|
68739
|
-
'includeZero', json(IIF(json_extract([fd1].[CompositeSpec], '$.includeZero') = 1, 'true', IIF(json_extract([fd1].[CompositeSpec], '$.includeZero') = 0, 'false', null))),
|
|
68740
|
-
'units', (
|
|
68741
|
-
SELECT json_group_array(json(json_object(
|
|
68742
|
-
'name', CONCAT([sd].[Name], '.', [ud].[Name]),
|
|
68743
|
-
'label', [fud].[Label]
|
|
68744
|
-
)))
|
|
68745
|
-
FROM [meta].[FormatDef] [fd2]
|
|
68746
|
-
LEFT JOIN [meta].[FormatCompositeUnitDef] [fud] ON [fud].[Format].[Id] = [fd2].[ECInstanceId]
|
|
68747
|
-
LEFT JOIN [meta].[UnitDef] [ud] ON [ud].[ECInstanceId] = [fud].[Unit].[Id]
|
|
68748
|
-
INNER JOIN [meta].[ECSchemaDef] [sd] ON [sd].[ECInstanceId] = [ud].[Schema].[Id]
|
|
68749
|
-
WHERE [fd2].[ECInstanceId] = [fd1].[ECInstanceId]
|
|
68750
|
-
)
|
|
68751
|
-
)
|
|
68752
|
-
FROM [meta].[FormatDef] [fd1]
|
|
68753
|
-
WHERE [fd1].[ECInstanceId]= [fd].[ECInstanceId] AND [fd1].[CompositeSpec] IS NOT NULL
|
|
68754
|
-
)` : ""}
|
|
68755
|
-
) AS item
|
|
68756
|
-
FROM
|
|
68757
|
-
[meta].[FormatDef] [fd]
|
|
68758
|
-
${singleSchema ? `
|
|
68759
|
-
JOIN
|
|
68760
|
-
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [fd].[Schema].[Id]
|
|
68761
|
-
WHERE [schema].[Name] = :schemaName` : ""}
|
|
68714
|
+
const format = (singleSchema) => `
|
|
68715
|
+
SELECT
|
|
68716
|
+
[fd].[Schema].[Id] AS [SchemaId],
|
|
68717
|
+
json_object(
|
|
68718
|
+
'schemaItemType', 'Format',
|
|
68719
|
+
'name', [fd].[Name],
|
|
68720
|
+
'label', [fd].[DisplayLabel],
|
|
68721
|
+
'description', [fd].[Description],
|
|
68722
|
+
'type', json_extract([fd].[NumericSpec], '$.type'),
|
|
68723
|
+
'precision', json_extract([fd].[NumericSpec], '$.precision'),
|
|
68724
|
+
'roundFactor', json_extract([fd].[NumericSpec], '$.roundFactor'),
|
|
68725
|
+
'minWidth', json_extract([fd].[NumericSpec], '$.minWidth'),
|
|
68726
|
+
'showSignOption', json_extract([fd].[NumericSpec], '$.showSignOption'),
|
|
68727
|
+
'decimalSeparator', json_extract([fd].[NumericSpec], '$.decimalSeparator'),
|
|
68728
|
+
'thousandSeparator', json_extract([fd].[NumericSpec], '$.thousandSeparator'),
|
|
68729
|
+
'uomSeparator', json_extract([fd].[NumericSpec], '$.uomSeparator'),
|
|
68730
|
+
'scientificType', json_extract([fd].[NumericSpec], '$.scientificType'),
|
|
68731
|
+
'stationOffsetSize', json_extract([fd].[NumericSpec], '$.stationOffsetSize'),
|
|
68732
|
+
'stationSeparator', json_extract([fd].[NumericSpec], '$.stationSeparator'),
|
|
68733
|
+
'formatTraits', json_extract([fd].[NumericSpec], '$.formatTraits')
|
|
68734
|
+
${singleSchema ? `
|
|
68735
|
+
,'composite', (
|
|
68736
|
+
SELECT
|
|
68737
|
+
json_object(
|
|
68738
|
+
'spacer', json_extract([fd1].[CompositeSpec], '$.spacer'),
|
|
68739
|
+
'includeZero', json(IIF(json_extract([fd1].[CompositeSpec], '$.includeZero') = 1, 'true', IIF(json_extract([fd1].[CompositeSpec], '$.includeZero') = 0, 'false', null))),
|
|
68740
|
+
'units', (
|
|
68741
|
+
SELECT json_group_array(json(json_object(
|
|
68742
|
+
'name', CONCAT([sd].[Name], '.', [ud].[Name]),
|
|
68743
|
+
'label', [fud].[Label]
|
|
68744
|
+
)))
|
|
68745
|
+
FROM [meta].[FormatDef] [fd2]
|
|
68746
|
+
LEFT JOIN [meta].[FormatCompositeUnitDef] [fud] ON [fud].[Format].[Id] = [fd2].[ECInstanceId]
|
|
68747
|
+
LEFT JOIN [meta].[UnitDef] [ud] ON [ud].[ECInstanceId] = [fud].[Unit].[Id]
|
|
68748
|
+
INNER JOIN [meta].[ECSchemaDef] [sd] ON [sd].[ECInstanceId] = [ud].[Schema].[Id]
|
|
68749
|
+
WHERE [fd2].[ECInstanceId] = [fd1].[ECInstanceId]
|
|
68750
|
+
)
|
|
68751
|
+
)
|
|
68752
|
+
FROM [meta].[FormatDef] [fd1]
|
|
68753
|
+
WHERE [fd1].[ECInstanceId]= [fd].[ECInstanceId] AND [fd1].[CompositeSpec] IS NOT NULL
|
|
68754
|
+
)` : ""}
|
|
68755
|
+
) AS item
|
|
68756
|
+
FROM
|
|
68757
|
+
[meta].[FormatDef] [fd]
|
|
68758
|
+
${singleSchema ? `
|
|
68759
|
+
JOIN
|
|
68760
|
+
[meta].[ECSchemaDef] [schema] ON [schema].[ECInstanceId] = [fd].[Schema].[Id]
|
|
68761
|
+
WHERE [schema].[Name] = :schemaName` : ""}
|
|
68762
68762
|
`;
|
|
68763
68763
|
/**
|
|
68764
68764
|
* Queries for each SchemaItemType
|
|
@@ -68924,332 +68924,332 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
68924
68924
|
*--------------------------------------------------------------------------------------------*/
|
|
68925
68925
|
|
|
68926
68926
|
const modifier = (alias) => {
|
|
68927
|
-
return `
|
|
68928
|
-
CASE
|
|
68929
|
-
WHEN [${alias}].[modifier] = 0 THEN 'None'
|
|
68930
|
-
WHEN [${alias}].[modifier] = 1 THEN 'Abstract'
|
|
68931
|
-
WHEN [${alias}].[modifier] = 2 THEN 'Sealed'
|
|
68932
|
-
ELSE NULL
|
|
68933
|
-
END
|
|
68927
|
+
return `
|
|
68928
|
+
CASE
|
|
68929
|
+
WHEN [${alias}].[modifier] = 0 THEN 'None'
|
|
68930
|
+
WHEN [${alias}].[modifier] = 1 THEN 'Abstract'
|
|
68931
|
+
WHEN [${alias}].[modifier] = 2 THEN 'Sealed'
|
|
68932
|
+
ELSE NULL
|
|
68933
|
+
END
|
|
68934
68934
|
`;
|
|
68935
68935
|
};
|
|
68936
68936
|
const strength = (alias) => {
|
|
68937
|
-
return `
|
|
68938
|
-
CASE
|
|
68939
|
-
WHEN [${alias}].[RelationshipStrength] = 0 THEN 'Referencing'
|
|
68940
|
-
WHEN [${alias}].[RelationshipStrength] = 1 THEN 'Holding'
|
|
68941
|
-
WHEN [${alias}].[RelationshipStrength] = 2 THEN 'Embedding'
|
|
68942
|
-
ELSE NULL
|
|
68943
|
-
END
|
|
68937
|
+
return `
|
|
68938
|
+
CASE
|
|
68939
|
+
WHEN [${alias}].[RelationshipStrength] = 0 THEN 'Referencing'
|
|
68940
|
+
WHEN [${alias}].[RelationshipStrength] = 1 THEN 'Holding'
|
|
68941
|
+
WHEN [${alias}].[RelationshipStrength] = 2 THEN 'Embedding'
|
|
68942
|
+
ELSE NULL
|
|
68943
|
+
END
|
|
68944
68944
|
`;
|
|
68945
68945
|
};
|
|
68946
68946
|
const strengthDirection = (alias) => {
|
|
68947
|
-
return `
|
|
68948
|
-
CASE
|
|
68949
|
-
WHEN [${alias}].[RelationshipStrengthDirection] = 1 THEN 'Forward'
|
|
68950
|
-
WHEN [${alias}].[RelationshipStrengthDirection] = 2 THEN 'Backward'
|
|
68951
|
-
ELSE NULL
|
|
68952
|
-
END
|
|
68947
|
+
return `
|
|
68948
|
+
CASE
|
|
68949
|
+
WHEN [${alias}].[RelationshipStrengthDirection] = 1 THEN 'Forward'
|
|
68950
|
+
WHEN [${alias}].[RelationshipStrengthDirection] = 2 THEN 'Backward'
|
|
68951
|
+
ELSE NULL
|
|
68952
|
+
END
|
|
68953
68953
|
`;
|
|
68954
68954
|
};
|
|
68955
|
-
const withAppliesTo = `
|
|
68956
|
-
AppliesToCTE AS (
|
|
68957
|
-
SELECT
|
|
68958
|
-
[mixinAppliesTo].[ECInstanceId] AS [AppliesToId],
|
|
68959
|
-
[appliesToSchema].[name] as [AppliesToSchema],
|
|
68960
|
-
json_extract(XmlCAToJson([ca].[Class].[Id], [ca].[Instance]), '$.IsMixin.AppliesToEntityClass') AS [AppliesTo]
|
|
68961
|
-
FROM [meta].[CustomAttribute] [ca]
|
|
68962
|
-
JOIN [meta].[ECClassDef] [mixinAppliesTo]
|
|
68963
|
-
ON [mixinAppliesTo].[ECInstanceId] = [ca].[ContainerId]
|
|
68964
|
-
JOIN [meta].[ECSchemaDef] [appliesToSchema]
|
|
68965
|
-
ON [appliesToSchema].[ECInstanceId] = [mixinAppliesTo].[Schema].[Id]
|
|
68966
|
-
WHERE [ca].[ContainerType] = 30
|
|
68967
|
-
AND json_extract(XmlCAToJson([ca].[Class].[Id], [ca].[Instance]), '$.ecClass') = 'IsMixin'
|
|
68968
|
-
)
|
|
68955
|
+
const withAppliesTo = `
|
|
68956
|
+
AppliesToCTE AS (
|
|
68957
|
+
SELECT
|
|
68958
|
+
[mixinAppliesTo].[ECInstanceId] AS [AppliesToId],
|
|
68959
|
+
[appliesToSchema].[name] as [AppliesToSchema],
|
|
68960
|
+
json_extract(XmlCAToJson([ca].[Class].[Id], [ca].[Instance]), '$.IsMixin.AppliesToEntityClass') AS [AppliesTo]
|
|
68961
|
+
FROM [meta].[CustomAttribute] [ca]
|
|
68962
|
+
JOIN [meta].[ECClassDef] [mixinAppliesTo]
|
|
68963
|
+
ON [mixinAppliesTo].[ECInstanceId] = [ca].[ContainerId]
|
|
68964
|
+
JOIN [meta].[ECSchemaDef] [appliesToSchema]
|
|
68965
|
+
ON [appliesToSchema].[ECInstanceId] = [mixinAppliesTo].[Schema].[Id]
|
|
68966
|
+
WHERE [ca].[ContainerType] = 30
|
|
68967
|
+
AND json_extract(XmlCAToJson([ca].[Class].[Id], [ca].[Instance]), '$.ecClass') = 'IsMixin'
|
|
68968
|
+
)
|
|
68969
68969
|
`;
|
|
68970
|
-
const withSchemaReferences = `
|
|
68971
|
-
SchemaReferences AS (
|
|
68972
|
-
SELECT
|
|
68973
|
-
[ref].[SourceECInstanceId] AS [SchemaId],
|
|
68974
|
-
CONCAT([Name],'.',[VersionMajor],'.',[VersionWrite],'.',[VersionMinor]) AS [fullName]
|
|
68975
|
-
FROM
|
|
68976
|
-
[meta].[ECSchemaDef] AS [refSchema]
|
|
68977
|
-
INNER JOIN [meta].[SchemaHasSchemaReferences] [ref]
|
|
68978
|
-
ON [ref].[TargetECInstanceId] = [refSchema].[ECInstanceId]
|
|
68979
|
-
)
|
|
68970
|
+
const withSchemaReferences = `
|
|
68971
|
+
SchemaReferences AS (
|
|
68972
|
+
SELECT
|
|
68973
|
+
[ref].[SourceECInstanceId] AS [SchemaId],
|
|
68974
|
+
CONCAT([Name],'.',[VersionMajor],'.',[VersionWrite],'.',[VersionMinor]) AS [fullName]
|
|
68975
|
+
FROM
|
|
68976
|
+
[meta].[ECSchemaDef] AS [refSchema]
|
|
68977
|
+
INNER JOIN [meta].[SchemaHasSchemaReferences] [ref]
|
|
68978
|
+
ON [ref].[TargetECInstanceId] = [refSchema].[ECInstanceId]
|
|
68979
|
+
)
|
|
68980
68980
|
`;
|
|
68981
|
-
const customAttributeQuery = `
|
|
68982
|
-
SELECT
|
|
68983
|
-
[Schema].[Id] AS [SchemaId],
|
|
68984
|
-
json_object(
|
|
68985
|
-
'name', [class].[Name],
|
|
68986
|
-
'schemaItemType', 'CustomAttributeClass',
|
|
68987
|
-
'modifier', ${modifier("class")},
|
|
68988
|
-
'label', [class].[DisplayLabel],
|
|
68989
|
-
'description', [class].[Description],
|
|
68990
|
-
'appliesTo', [class].[CustomAttributeContainerType],
|
|
68991
|
-
'baseClasses', (
|
|
68992
|
-
SELECT
|
|
68993
|
-
json_group_array(json(json_object(
|
|
68994
|
-
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
68995
|
-
'name', [baseClass].[Name],
|
|
68996
|
-
'schemaItemType', 'CustomAttributeClass',
|
|
68997
|
-
'modifier', ${modifier("baseClass")},
|
|
68998
|
-
'label', [baseClass].[DisplayLabel],
|
|
68999
|
-
'description', [baseClass].[Description],
|
|
69000
|
-
'appliesTo', [baseClass].[CustomAttributeContainerType]
|
|
69001
|
-
)))
|
|
69002
|
-
FROM
|
|
69003
|
-
[meta].[ECClassDef] [baseClass]
|
|
69004
|
-
INNER JOIN [meta].[ClassHasAllBaseClasses] [baseClassMap]
|
|
69005
|
-
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69006
|
-
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69007
|
-
)
|
|
69008
|
-
) AS [item]
|
|
69009
|
-
FROM [meta].[ECClassDef] [class]
|
|
69010
|
-
WHERE [class].[Type] = 3
|
|
68981
|
+
const customAttributeQuery = `
|
|
68982
|
+
SELECT
|
|
68983
|
+
[Schema].[Id] AS [SchemaId],
|
|
68984
|
+
json_object(
|
|
68985
|
+
'name', [class].[Name],
|
|
68986
|
+
'schemaItemType', 'CustomAttributeClass',
|
|
68987
|
+
'modifier', ${modifier("class")},
|
|
68988
|
+
'label', [class].[DisplayLabel],
|
|
68989
|
+
'description', [class].[Description],
|
|
68990
|
+
'appliesTo', [class].[CustomAttributeContainerType],
|
|
68991
|
+
'baseClasses', (
|
|
68992
|
+
SELECT
|
|
68993
|
+
json_group_array(json(json_object(
|
|
68994
|
+
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
68995
|
+
'name', [baseClass].[Name],
|
|
68996
|
+
'schemaItemType', 'CustomAttributeClass',
|
|
68997
|
+
'modifier', ${modifier("baseClass")},
|
|
68998
|
+
'label', [baseClass].[DisplayLabel],
|
|
68999
|
+
'description', [baseClass].[Description],
|
|
69000
|
+
'appliesTo', [baseClass].[CustomAttributeContainerType]
|
|
69001
|
+
)))
|
|
69002
|
+
FROM
|
|
69003
|
+
[meta].[ECClassDef] [baseClass]
|
|
69004
|
+
INNER JOIN [meta].[ClassHasAllBaseClasses] [baseClassMap]
|
|
69005
|
+
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69006
|
+
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69007
|
+
)
|
|
69008
|
+
) AS [item]
|
|
69009
|
+
FROM [meta].[ECClassDef] [class]
|
|
69010
|
+
WHERE [class].[Type] = 3
|
|
69011
69011
|
`;
|
|
69012
|
-
const structQuery = `
|
|
69013
|
-
SELECT
|
|
69014
|
-
[Schema].[Id] AS [SchemaId],
|
|
69015
|
-
json_object(
|
|
69016
|
-
'name', [class].[Name],
|
|
69017
|
-
'schemaItemType', 'StructClass',
|
|
69018
|
-
'modifier', ${modifier("class")},
|
|
69019
|
-
'label', [class].[DisplayLabel],
|
|
69020
|
-
'description', [class].[Description],
|
|
69021
|
-
'baseClasses', (
|
|
69022
|
-
SELECT
|
|
69023
|
-
json_group_array(json(json_object(
|
|
69024
|
-
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
69025
|
-
'name', [baseClass].[Name],
|
|
69026
|
-
'schemaItemType', 'StructClass',
|
|
69027
|
-
'modifier', ${modifier("baseClass")},
|
|
69028
|
-
'label', [baseClass].[DisplayLabel],
|
|
69029
|
-
'description', [baseClass].[Description]
|
|
69030
|
-
)))
|
|
69031
|
-
FROM
|
|
69032
|
-
[meta].[ECClassDef] [baseClass]
|
|
69033
|
-
INNER JOIN [meta].[ClassHasAllBaseClasses] [baseClassMap]
|
|
69034
|
-
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69035
|
-
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69036
|
-
)
|
|
69037
|
-
) AS [item]
|
|
69038
|
-
FROM [meta].[ECClassDef] [class]
|
|
69039
|
-
WHERE [class].[Type] = 2
|
|
69012
|
+
const structQuery = `
|
|
69013
|
+
SELECT
|
|
69014
|
+
[Schema].[Id] AS [SchemaId],
|
|
69015
|
+
json_object(
|
|
69016
|
+
'name', [class].[Name],
|
|
69017
|
+
'schemaItemType', 'StructClass',
|
|
69018
|
+
'modifier', ${modifier("class")},
|
|
69019
|
+
'label', [class].[DisplayLabel],
|
|
69020
|
+
'description', [class].[Description],
|
|
69021
|
+
'baseClasses', (
|
|
69022
|
+
SELECT
|
|
69023
|
+
json_group_array(json(json_object(
|
|
69024
|
+
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
69025
|
+
'name', [baseClass].[Name],
|
|
69026
|
+
'schemaItemType', 'StructClass',
|
|
69027
|
+
'modifier', ${modifier("baseClass")},
|
|
69028
|
+
'label', [baseClass].[DisplayLabel],
|
|
69029
|
+
'description', [baseClass].[Description]
|
|
69030
|
+
)))
|
|
69031
|
+
FROM
|
|
69032
|
+
[meta].[ECClassDef] [baseClass]
|
|
69033
|
+
INNER JOIN [meta].[ClassHasAllBaseClasses] [baseClassMap]
|
|
69034
|
+
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69035
|
+
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69036
|
+
)
|
|
69037
|
+
) AS [item]
|
|
69038
|
+
FROM [meta].[ECClassDef] [class]
|
|
69039
|
+
WHERE [class].[Type] = 2
|
|
69040
69040
|
`;
|
|
69041
|
-
const relationshipQuery = `
|
|
69042
|
-
SELECT
|
|
69043
|
-
[Schema].[Id] AS [SchemaId],
|
|
69044
|
-
json_object(
|
|
69045
|
-
'name', [class].[Name],
|
|
69046
|
-
'schemaItemType', 'RelationshipClass',
|
|
69047
|
-
'modifier', ${modifier("class")},
|
|
69048
|
-
'label', [class].[DisplayLabel],
|
|
69049
|
-
'description', [class].[Description],
|
|
69050
|
-
'strength', ${strength("class")},
|
|
69051
|
-
'strengthDirection', ${strengthDirection("class")},
|
|
69052
|
-
'baseClasses', (
|
|
69053
|
-
SELECT
|
|
69054
|
-
json_group_array(json(json_object(
|
|
69055
|
-
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
69056
|
-
'name', [baseClass].[Name],
|
|
69057
|
-
'schemaItemType', 'RelationshipClass',
|
|
69058
|
-
'modifier', ${modifier("baseClass")},
|
|
69059
|
-
'label', [baseClass].[DisplayLabel],
|
|
69060
|
-
'description', [baseClass].[Description],
|
|
69061
|
-
'strength', ${strength("baseClass")},
|
|
69062
|
-
'strengthDirection', ${strengthDirection("baseClass")}
|
|
69063
|
-
)))
|
|
69064
|
-
FROM
|
|
69065
|
-
[meta].[ECClassDef] [baseClass]
|
|
69066
|
-
INNER JOIN [meta].[ClassHasAllBaseClasses] [baseClassMap]
|
|
69067
|
-
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69068
|
-
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69069
|
-
)
|
|
69070
|
-
) AS [item]
|
|
69071
|
-
FROM [meta].[ECClassDef] [class]
|
|
69072
|
-
WHERE [class].[Type] = 1
|
|
69041
|
+
const relationshipQuery = `
|
|
69042
|
+
SELECT
|
|
69043
|
+
[Schema].[Id] AS [SchemaId],
|
|
69044
|
+
json_object(
|
|
69045
|
+
'name', [class].[Name],
|
|
69046
|
+
'schemaItemType', 'RelationshipClass',
|
|
69047
|
+
'modifier', ${modifier("class")},
|
|
69048
|
+
'label', [class].[DisplayLabel],
|
|
69049
|
+
'description', [class].[Description],
|
|
69050
|
+
'strength', ${strength("class")},
|
|
69051
|
+
'strengthDirection', ${strengthDirection("class")},
|
|
69052
|
+
'baseClasses', (
|
|
69053
|
+
SELECT
|
|
69054
|
+
json_group_array(json(json_object(
|
|
69055
|
+
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
69056
|
+
'name', [baseClass].[Name],
|
|
69057
|
+
'schemaItemType', 'RelationshipClass',
|
|
69058
|
+
'modifier', ${modifier("baseClass")},
|
|
69059
|
+
'label', [baseClass].[DisplayLabel],
|
|
69060
|
+
'description', [baseClass].[Description],
|
|
69061
|
+
'strength', ${strength("baseClass")},
|
|
69062
|
+
'strengthDirection', ${strengthDirection("baseClass")}
|
|
69063
|
+
)))
|
|
69064
|
+
FROM
|
|
69065
|
+
[meta].[ECClassDef] [baseClass]
|
|
69066
|
+
INNER JOIN [meta].[ClassHasAllBaseClasses] [baseClassMap]
|
|
69067
|
+
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69068
|
+
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69069
|
+
)
|
|
69070
|
+
) AS [item]
|
|
69071
|
+
FROM [meta].[ECClassDef] [class]
|
|
69072
|
+
WHERE [class].[Type] = 1
|
|
69073
69073
|
`;
|
|
69074
|
-
const entityQuery = `
|
|
69075
|
-
SELECT
|
|
69076
|
-
[Schema].[Id] AS [SchemaId],
|
|
69077
|
-
json_object(
|
|
69078
|
-
'name', [class].[Name],
|
|
69079
|
-
'schemaItemType', 'EntityClass',
|
|
69080
|
-
'modifier', ${modifier("class")},
|
|
69081
|
-
'label', [class].[DisplayLabel],
|
|
69082
|
-
'description', [class].[Description],
|
|
69083
|
-
'baseClasses', (
|
|
69084
|
-
SELECT
|
|
69085
|
-
json_group_array(json(json_object(
|
|
69086
|
-
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
69087
|
-
'name', [baseClass].[Name],
|
|
69088
|
-
'schemaItemType', 'EntityClass',
|
|
69089
|
-
'modifier', ${modifier("baseClass")},
|
|
69090
|
-
'label', [baseClass].[DisplayLabel],
|
|
69091
|
-
'description', [baseClass].[Description]
|
|
69092
|
-
)))
|
|
69093
|
-
FROM
|
|
69094
|
-
[meta].[ECClassDef] [baseClass]
|
|
69095
|
-
INNER JOIN [meta].[ClassHasAllBaseClasses] [baseClassMap]
|
|
69096
|
-
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69097
|
-
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69098
|
-
AND NOT EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [baseClass].[ECInstanceId] = [ca].[Class].[Id]
|
|
69099
|
-
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
69100
|
-
),
|
|
69101
|
-
'mixins', (
|
|
69102
|
-
SELECT
|
|
69103
|
-
json_group_array(json(json_object(
|
|
69104
|
-
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
69105
|
-
'name', [baseClass].[Name],
|
|
69106
|
-
'schemaItemType', 'Mixin',
|
|
69107
|
-
'modifier', ${modifier("baseClass")},
|
|
69108
|
-
'label', [baseClass].[DisplayLabel],
|
|
69109
|
-
'description', [baseClass].[Description],
|
|
69110
|
-
'appliesTo', (
|
|
69111
|
-
SELECT IIF(instr([atCTE].[AppliesTo], ':') > 1, ec_classname(ec_classId([atCTE].[AppliesTo]), 's.c'), CONCAT([atCTE].[AppliesToSchema], '.', [atCTE].[AppliesTo]))
|
|
69112
|
-
FROM [AppliesToCTE] [atCTE]
|
|
69113
|
-
WHERE [atCTE].[AppliesToId] = [baseClass].[ECInstanceId]
|
|
69114
|
-
),
|
|
69115
|
-
'baseClasses', (
|
|
69116
|
-
SELECT
|
|
69117
|
-
json_group_array(json(json_object(
|
|
69118
|
-
'schema', ec_classname([mixinBaseClass].[ECInstanceId], 's'),
|
|
69119
|
-
'name', [mixinBaseClass].[Name],
|
|
69120
|
-
'schemaItemType', 'Mixin',
|
|
69121
|
-
'modifier', ${modifier("mixinBaseClass")},
|
|
69122
|
-
'label', [mixinBaseClass].[DisplayLabel],
|
|
69123
|
-
'description', [mixinBaseClass].[Description],
|
|
69124
|
-
'appliesTo', (
|
|
69125
|
-
SELECT IIF(instr([atCTE].[AppliesTo], ':') > 1, ec_classname(ec_classId([atCTE].[AppliesTo]), 's.c'), CONCAT([atCTE].[AppliesToSchema], '.', [atCTE].[AppliesTo]))
|
|
69126
|
-
FROM [AppliesToCTE] [atCTE]
|
|
69127
|
-
WHERE [atCTE].[AppliesToId] = [mixinBaseClass].[ECInstanceId]
|
|
69128
|
-
)
|
|
69129
|
-
)))
|
|
69130
|
-
FROM
|
|
69131
|
-
[meta].[ECClassDef] [mixinBaseClass]
|
|
69132
|
-
INNER JOIN [meta].[ClassHasAllBaseClasses] [mixinBaseClassMap]
|
|
69133
|
-
ON [mixinBaseClassMap].[TargetECInstanceId] = [mixinBaseClass].[ECInstanceId]
|
|
69134
|
-
WHERE [mixinBaseClassMap].[SourceECInstanceId] = [baseClass].[ECInstanceId]
|
|
69135
|
-
)
|
|
69136
|
-
)))
|
|
69137
|
-
FROM
|
|
69138
|
-
[meta].[ECClassDef] [baseClass]
|
|
69139
|
-
INNER JOIN [meta].[ClassHasBaseClasses] [baseClassMap]
|
|
69140
|
-
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69141
|
-
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69142
|
-
AND EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [baseClass].[ECInstanceId] = [ca].[Class].[Id]
|
|
69143
|
-
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
69144
|
-
)
|
|
69145
|
-
) AS [item]
|
|
69146
|
-
FROM [meta].[ECClassDef] [class]
|
|
69147
|
-
WHERE [class].[Type] = 0
|
|
69148
|
-
AND NOT EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [class].[ECInstanceId] = [ca].[Class].[Id]
|
|
69149
|
-
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
69074
|
+
const entityQuery = `
|
|
69075
|
+
SELECT
|
|
69076
|
+
[Schema].[Id] AS [SchemaId],
|
|
69077
|
+
json_object(
|
|
69078
|
+
'name', [class].[Name],
|
|
69079
|
+
'schemaItemType', 'EntityClass',
|
|
69080
|
+
'modifier', ${modifier("class")},
|
|
69081
|
+
'label', [class].[DisplayLabel],
|
|
69082
|
+
'description', [class].[Description],
|
|
69083
|
+
'baseClasses', (
|
|
69084
|
+
SELECT
|
|
69085
|
+
json_group_array(json(json_object(
|
|
69086
|
+
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
69087
|
+
'name', [baseClass].[Name],
|
|
69088
|
+
'schemaItemType', 'EntityClass',
|
|
69089
|
+
'modifier', ${modifier("baseClass")},
|
|
69090
|
+
'label', [baseClass].[DisplayLabel],
|
|
69091
|
+
'description', [baseClass].[Description]
|
|
69092
|
+
)))
|
|
69093
|
+
FROM
|
|
69094
|
+
[meta].[ECClassDef] [baseClass]
|
|
69095
|
+
INNER JOIN [meta].[ClassHasAllBaseClasses] [baseClassMap]
|
|
69096
|
+
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69097
|
+
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69098
|
+
AND NOT EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [baseClass].[ECInstanceId] = [ca].[Class].[Id]
|
|
69099
|
+
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
69100
|
+
),
|
|
69101
|
+
'mixins', (
|
|
69102
|
+
SELECT
|
|
69103
|
+
json_group_array(json(json_object(
|
|
69104
|
+
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
69105
|
+
'name', [baseClass].[Name],
|
|
69106
|
+
'schemaItemType', 'Mixin',
|
|
69107
|
+
'modifier', ${modifier("baseClass")},
|
|
69108
|
+
'label', [baseClass].[DisplayLabel],
|
|
69109
|
+
'description', [baseClass].[Description],
|
|
69110
|
+
'appliesTo', (
|
|
69111
|
+
SELECT IIF(instr([atCTE].[AppliesTo], ':') > 1, ec_classname(ec_classId([atCTE].[AppliesTo]), 's.c'), CONCAT([atCTE].[AppliesToSchema], '.', [atCTE].[AppliesTo]))
|
|
69112
|
+
FROM [AppliesToCTE] [atCTE]
|
|
69113
|
+
WHERE [atCTE].[AppliesToId] = [baseClass].[ECInstanceId]
|
|
69114
|
+
),
|
|
69115
|
+
'baseClasses', (
|
|
69116
|
+
SELECT
|
|
69117
|
+
json_group_array(json(json_object(
|
|
69118
|
+
'schema', ec_classname([mixinBaseClass].[ECInstanceId], 's'),
|
|
69119
|
+
'name', [mixinBaseClass].[Name],
|
|
69120
|
+
'schemaItemType', 'Mixin',
|
|
69121
|
+
'modifier', ${modifier("mixinBaseClass")},
|
|
69122
|
+
'label', [mixinBaseClass].[DisplayLabel],
|
|
69123
|
+
'description', [mixinBaseClass].[Description],
|
|
69124
|
+
'appliesTo', (
|
|
69125
|
+
SELECT IIF(instr([atCTE].[AppliesTo], ':') > 1, ec_classname(ec_classId([atCTE].[AppliesTo]), 's.c'), CONCAT([atCTE].[AppliesToSchema], '.', [atCTE].[AppliesTo]))
|
|
69126
|
+
FROM [AppliesToCTE] [atCTE]
|
|
69127
|
+
WHERE [atCTE].[AppliesToId] = [mixinBaseClass].[ECInstanceId]
|
|
69128
|
+
)
|
|
69129
|
+
)))
|
|
69130
|
+
FROM
|
|
69131
|
+
[meta].[ECClassDef] [mixinBaseClass]
|
|
69132
|
+
INNER JOIN [meta].[ClassHasAllBaseClasses] [mixinBaseClassMap]
|
|
69133
|
+
ON [mixinBaseClassMap].[TargetECInstanceId] = [mixinBaseClass].[ECInstanceId]
|
|
69134
|
+
WHERE [mixinBaseClassMap].[SourceECInstanceId] = [baseClass].[ECInstanceId]
|
|
69135
|
+
)
|
|
69136
|
+
)))
|
|
69137
|
+
FROM
|
|
69138
|
+
[meta].[ECClassDef] [baseClass]
|
|
69139
|
+
INNER JOIN [meta].[ClassHasBaseClasses] [baseClassMap]
|
|
69140
|
+
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69141
|
+
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69142
|
+
AND EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [baseClass].[ECInstanceId] = [ca].[Class].[Id]
|
|
69143
|
+
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
69144
|
+
)
|
|
69145
|
+
) AS [item]
|
|
69146
|
+
FROM [meta].[ECClassDef] [class]
|
|
69147
|
+
WHERE [class].[Type] = 0
|
|
69148
|
+
AND NOT EXISTS(SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [class].[ECInstanceId] = [ca].[Class].[Id]
|
|
69149
|
+
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
69150
69150
|
`;
|
|
69151
|
-
const mixinQuery = `
|
|
69152
|
-
SELECT
|
|
69153
|
-
[Schema].[Id] AS [SchemaId],
|
|
69154
|
-
json_object(
|
|
69155
|
-
'name', [class].[Name],
|
|
69156
|
-
'schemaItemType', 'Mixin',
|
|
69157
|
-
'modifier', ${modifier("class")},
|
|
69158
|
-
'label', [class].[DisplayLabel],
|
|
69159
|
-
'description', [class].[Description],
|
|
69160
|
-
'appliesTo', (
|
|
69161
|
-
SELECT IIF(instr([atCTE].[AppliesTo], ':') > 1, ec_classname(ec_classId([atCTE].[AppliesTo]), 's.c'), CONCAT([atCTE].[AppliesToSchema], '.', [atCTE].[AppliesTo]))
|
|
69162
|
-
FROM [AppliesToCTE] [atCTE]
|
|
69163
|
-
WHERE [atCTE].[AppliesToId] = [class].[ECInstanceId]
|
|
69164
|
-
),
|
|
69165
|
-
'baseClasses', (
|
|
69166
|
-
SELECT
|
|
69167
|
-
json_group_array(json(json_object(
|
|
69168
|
-
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
69169
|
-
'name', [baseClass].[Name],
|
|
69170
|
-
'schemaItemType', 'Mixin',
|
|
69171
|
-
'modifier', ${modifier("baseClass")},
|
|
69172
|
-
'label', [baseClass].[DisplayLabel],
|
|
69173
|
-
'description', [baseClass].[Description],
|
|
69174
|
-
'appliesTo', (
|
|
69175
|
-
SELECT IIF(instr([atCTE].[AppliesTo], ':') > 1, ec_classname(ec_classId([atCTE].[AppliesTo]), 's.c'), CONCAT([atCTE].[AppliesToSchema], '.', [atCTE].[AppliesTo]))
|
|
69176
|
-
FROM [AppliesToCTE] [atCTE]
|
|
69177
|
-
WHERE [atCTE].[AppliesToId] = [baseClass].[ECInstanceId]
|
|
69178
|
-
)
|
|
69179
|
-
)))
|
|
69180
|
-
FROM
|
|
69181
|
-
[meta].[ECClassDef] [baseClass]
|
|
69182
|
-
INNER JOIN [meta].[ClassHasAllBaseClasses] [baseClassMap]
|
|
69183
|
-
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69184
|
-
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69185
|
-
)
|
|
69186
|
-
) AS [item]
|
|
69187
|
-
FROM [meta].[ECClassDef] [class]
|
|
69188
|
-
WHERE [class].[Type] = 0 AND EXISTS (SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [class].[ECInstanceId] = [ca].[Class].[Id]
|
|
69189
|
-
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
69151
|
+
const mixinQuery = `
|
|
69152
|
+
SELECT
|
|
69153
|
+
[Schema].[Id] AS [SchemaId],
|
|
69154
|
+
json_object(
|
|
69155
|
+
'name', [class].[Name],
|
|
69156
|
+
'schemaItemType', 'Mixin',
|
|
69157
|
+
'modifier', ${modifier("class")},
|
|
69158
|
+
'label', [class].[DisplayLabel],
|
|
69159
|
+
'description', [class].[Description],
|
|
69160
|
+
'appliesTo', (
|
|
69161
|
+
SELECT IIF(instr([atCTE].[AppliesTo], ':') > 1, ec_classname(ec_classId([atCTE].[AppliesTo]), 's.c'), CONCAT([atCTE].[AppliesToSchema], '.', [atCTE].[AppliesTo]))
|
|
69162
|
+
FROM [AppliesToCTE] [atCTE]
|
|
69163
|
+
WHERE [atCTE].[AppliesToId] = [class].[ECInstanceId]
|
|
69164
|
+
),
|
|
69165
|
+
'baseClasses', (
|
|
69166
|
+
SELECT
|
|
69167
|
+
json_group_array(json(json_object(
|
|
69168
|
+
'schema', ec_classname([baseClass].[ECInstanceId], 's'),
|
|
69169
|
+
'name', [baseClass].[Name],
|
|
69170
|
+
'schemaItemType', 'Mixin',
|
|
69171
|
+
'modifier', ${modifier("baseClass")},
|
|
69172
|
+
'label', [baseClass].[DisplayLabel],
|
|
69173
|
+
'description', [baseClass].[Description],
|
|
69174
|
+
'appliesTo', (
|
|
69175
|
+
SELECT IIF(instr([atCTE].[AppliesTo], ':') > 1, ec_classname(ec_classId([atCTE].[AppliesTo]), 's.c'), CONCAT([atCTE].[AppliesToSchema], '.', [atCTE].[AppliesTo]))
|
|
69176
|
+
FROM [AppliesToCTE] [atCTE]
|
|
69177
|
+
WHERE [atCTE].[AppliesToId] = [baseClass].[ECInstanceId]
|
|
69178
|
+
)
|
|
69179
|
+
)))
|
|
69180
|
+
FROM
|
|
69181
|
+
[meta].[ECClassDef] [baseClass]
|
|
69182
|
+
INNER JOIN [meta].[ClassHasAllBaseClasses] [baseClassMap]
|
|
69183
|
+
ON [baseClassMap].[TargetECInstanceId] = [baseclass].[ECInstanceId]
|
|
69184
|
+
WHERE [baseClassMap].[SourceECInstanceId] = [class].[ECInstanceId]
|
|
69185
|
+
)
|
|
69186
|
+
) AS [item]
|
|
69187
|
+
FROM [meta].[ECClassDef] [class]
|
|
69188
|
+
WHERE [class].[Type] = 0 AND EXISTS (SELECT 1 FROM [meta].[ClassCustomAttribute] [ca] WHERE [class].[ECInstanceId] = [ca].[Class].[Id]
|
|
69189
|
+
AND [ca].[CustomAttributeClass].[Id] Is ([CoreCA].[IsMixin]))
|
|
69190
69190
|
`;
|
|
69191
|
-
const withSchemaItems = `
|
|
69192
|
-
SchemaItems AS (
|
|
69193
|
-
${customAttributeQuery}
|
|
69194
|
-
UNION ALL
|
|
69195
|
-
${structQuery}
|
|
69196
|
-
UNION ALL
|
|
69197
|
-
${relationshipQuery}
|
|
69198
|
-
UNION ALL
|
|
69199
|
-
${entityQuery}
|
|
69200
|
-
UNION ALL
|
|
69201
|
-
${mixinQuery}
|
|
69202
|
-
UNION ALL
|
|
69203
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.enumeration()}
|
|
69204
|
-
UNION ALL
|
|
69205
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.kindOfQuantity()}
|
|
69206
|
-
UNION ALL
|
|
69207
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.propertyCategory()}
|
|
69208
|
-
UNION ALL
|
|
69209
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.unit()}
|
|
69210
|
-
UNION ALL
|
|
69211
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.invertedUnit()}
|
|
69212
|
-
UNION ALL
|
|
69213
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.constant()}
|
|
69214
|
-
UNION ALL
|
|
69215
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.phenomenon()}
|
|
69216
|
-
UNION ALL
|
|
69217
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.unitSystem()}
|
|
69218
|
-
UNION ALL
|
|
69219
|
-
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.format()}
|
|
69220
|
-
)
|
|
69191
|
+
const withSchemaItems = `
|
|
69192
|
+
SchemaItems AS (
|
|
69193
|
+
${customAttributeQuery}
|
|
69194
|
+
UNION ALL
|
|
69195
|
+
${structQuery}
|
|
69196
|
+
UNION ALL
|
|
69197
|
+
${relationshipQuery}
|
|
69198
|
+
UNION ALL
|
|
69199
|
+
${entityQuery}
|
|
69200
|
+
UNION ALL
|
|
69201
|
+
${mixinQuery}
|
|
69202
|
+
UNION ALL
|
|
69203
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.enumeration()}
|
|
69204
|
+
UNION ALL
|
|
69205
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.kindOfQuantity()}
|
|
69206
|
+
UNION ALL
|
|
69207
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.propertyCategory()}
|
|
69208
|
+
UNION ALL
|
|
69209
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.unit()}
|
|
69210
|
+
UNION ALL
|
|
69211
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.invertedUnit()}
|
|
69212
|
+
UNION ALL
|
|
69213
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.constant()}
|
|
69214
|
+
UNION ALL
|
|
69215
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.phenomenon()}
|
|
69216
|
+
UNION ALL
|
|
69217
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.unitSystem()}
|
|
69218
|
+
UNION ALL
|
|
69219
|
+
${_SchemaItemQueries__WEBPACK_IMPORTED_MODULE_0__.SchemaItemQueries.format()}
|
|
69220
|
+
)
|
|
69221
69221
|
`;
|
|
69222
|
-
const schemaStubQuery = `
|
|
69223
|
-
WITH
|
|
69224
|
-
${withAppliesTo},
|
|
69225
|
-
${withSchemaItems}
|
|
69226
|
-
SELECT
|
|
69227
|
-
[items].[item]
|
|
69228
|
-
FROM
|
|
69229
|
-
[SchemaItems] [items]
|
|
69230
|
-
JOIN [meta].[ECSchemaDef] [schemaDef]
|
|
69231
|
-
ON [schemaDef].[ECInstanceId] = [items].[SchemaId]
|
|
69232
|
-
WHERE [schemaDef].[Name] = :schemaName
|
|
69222
|
+
const schemaStubQuery = `
|
|
69223
|
+
WITH
|
|
69224
|
+
${withAppliesTo},
|
|
69225
|
+
${withSchemaItems}
|
|
69226
|
+
SELECT
|
|
69227
|
+
[items].[item]
|
|
69228
|
+
FROM
|
|
69229
|
+
[SchemaItems] [items]
|
|
69230
|
+
JOIN [meta].[ECSchemaDef] [schemaDef]
|
|
69231
|
+
ON [schemaDef].[ECInstanceId] = [items].[SchemaId]
|
|
69232
|
+
WHERE [schemaDef].[Name] = :schemaName
|
|
69233
69233
|
`;
|
|
69234
|
-
const schemaInfoQuery = `
|
|
69235
|
-
WITH
|
|
69236
|
-
${withSchemaReferences}
|
|
69237
|
-
SELECT
|
|
69238
|
-
[Name] as [name],
|
|
69239
|
-
CONCAT('',[VersionMajor],'.',[VersionWrite],'.',[VersionMinor]) AS [version],
|
|
69240
|
-
[Alias] as [alias],
|
|
69241
|
-
[DisplayLabel] as [label],
|
|
69242
|
-
[Description] as [description],
|
|
69243
|
-
(
|
|
69244
|
-
SELECT
|
|
69245
|
-
json_group_array([schemaReferences].[fullName])
|
|
69246
|
-
FROM
|
|
69247
|
-
[SchemaReferences] [schemaReferences]
|
|
69248
|
-
WHERE
|
|
69249
|
-
[schemaReferences].[SchemaId] = [schemaDef].[ECInstanceId]
|
|
69250
|
-
) AS [references]
|
|
69251
|
-
FROM
|
|
69252
|
-
[meta].[ECSchemaDef] [schemaDef]
|
|
69234
|
+
const schemaInfoQuery = `
|
|
69235
|
+
WITH
|
|
69236
|
+
${withSchemaReferences}
|
|
69237
|
+
SELECT
|
|
69238
|
+
[Name] as [name],
|
|
69239
|
+
CONCAT('',[VersionMajor],'.',[VersionWrite],'.',[VersionMinor]) AS [version],
|
|
69240
|
+
[Alias] as [alias],
|
|
69241
|
+
[DisplayLabel] as [label],
|
|
69242
|
+
[Description] as [description],
|
|
69243
|
+
(
|
|
69244
|
+
SELECT
|
|
69245
|
+
json_group_array([schemaReferences].[fullName])
|
|
69246
|
+
FROM
|
|
69247
|
+
[SchemaReferences] [schemaReferences]
|
|
69248
|
+
WHERE
|
|
69249
|
+
[schemaReferences].[SchemaId] = [schemaDef].[ECInstanceId]
|
|
69250
|
+
) AS [references]
|
|
69251
|
+
FROM
|
|
69252
|
+
[meta].[ECSchemaDef] [schemaDef]
|
|
69253
69253
|
`;
|
|
69254
69254
|
/**
|
|
69255
69255
|
* Partial Schema queries.
|
|
@@ -82164,7 +82164,14 @@ class BackgroundMapGeometry {
|
|
|
82164
82164
|
const eyePoint4d = eyePoint ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point4d.createFromPointAndWeight(eyePoint, 1) : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point4d.createFromPointAndWeight(viewZ, 0);
|
|
82165
82165
|
for (const radiusOffset of radiusOffsets) {
|
|
82166
82166
|
const ellipsoid = this.getEarthEllipsoid(radiusOffset);
|
|
82167
|
-
const
|
|
82167
|
+
const eyeLocal = eyePoint ? ellipsoid.worldToLocal(eyePoint) : undefined;
|
|
82168
|
+
if (eyePoint && undefined === eyeLocal) {
|
|
82169
|
+
// If the globe transform cannot map the eye point into ellipsoid-local
|
|
82170
|
+
// space, treat the globe as unavailable here and let the caller fall
|
|
82171
|
+
// back to its extents-based depth fitting.
|
|
82172
|
+
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range1d.createNull();
|
|
82173
|
+
}
|
|
82174
|
+
const isInside = eyeLocal !== undefined && eyeLocal.magnitude() < 1.0;
|
|
82168
82175
|
const center = ellipsoid.localToWorld(scratchZeroPoint, scratchCenterPoint);
|
|
82169
82176
|
const clipPlaneCount = clipPlanes.planes.length;
|
|
82170
82177
|
// Extrema...
|
|
@@ -82194,10 +82201,22 @@ class BackgroundMapGeometry {
|
|
|
82194
82201
|
if (_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createStartEnd(silhouette.center, bimRange.center).dotProduct(scratchSilhouetteNormal) < 0)
|
|
82195
82202
|
scratchSilhouetteNormal.negate(scratchSilhouetteNormal);
|
|
82196
82203
|
}
|
|
82197
|
-
|
|
82204
|
+
// The silhouette arc is the horizon between the visible and hidden
|
|
82205
|
+
// halves of the globe. Its perpendicular vector is the normal of the
|
|
82206
|
+
// clip plane that keeps us on the visible side. If that plane cannot
|
|
82207
|
+
// be constructed, fall back to a view-aligned plane through the
|
|
82208
|
+
// ellipsoid center instead of pushing an invalid entry.
|
|
82209
|
+
const silhouettePlane = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.ClipPlane.createNormalAndDistance(scratchSilhouetteNormal, scratchSilhouetteNormal.dotProduct(silhouette.center))
|
|
82210
|
+
?? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.ClipPlane.createNormalAndPoint(viewZ, center);
|
|
82211
|
+
if (undefined === silhouettePlane)
|
|
82212
|
+
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range1d.createNull();
|
|
82213
|
+
clipPlanes.planes.push(silhouettePlane);
|
|
82198
82214
|
}
|
|
82199
82215
|
else {
|
|
82200
|
-
|
|
82216
|
+
const centerPlane = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.ClipPlane.createNormalAndPoint(viewZ, center);
|
|
82217
|
+
if (undefined === centerPlane)
|
|
82218
|
+
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range1d.createNull();
|
|
82219
|
+
clipPlanes.planes.push(centerPlane);
|
|
82201
82220
|
}
|
|
82202
82221
|
}
|
|
82203
82222
|
if (!isInside || radiusOffset === radiusOffsets[0]) {
|
|
@@ -84673,9 +84692,12 @@ class DisplayStyleState extends _EntityState__WEBPACK_IMPORTED_MODULE_6__.Elemen
|
|
|
84673
84692
|
return true;
|
|
84674
84693
|
return false;
|
|
84675
84694
|
}
|
|
84695
|
+
get _hasEarthLocation() {
|
|
84696
|
+
return undefined !== this.iModel.ecefLocation;
|
|
84697
|
+
}
|
|
84676
84698
|
/** @internal */
|
|
84677
84699
|
getIsBackgroundMapVisible() {
|
|
84678
|
-
return
|
|
84700
|
+
return this._hasEarthLocation && (this.viewFlags.backgroundMap || this.anyMapLayersVisible(false));
|
|
84679
84701
|
}
|
|
84680
84702
|
/** @internal */
|
|
84681
84703
|
get backgroundMapElevationBias() {
|
|
@@ -84696,7 +84718,7 @@ class DisplayStyleState extends _EntityState__WEBPACK_IMPORTED_MODULE_6__.Elemen
|
|
|
84696
84718
|
}
|
|
84697
84719
|
/** @internal */
|
|
84698
84720
|
getBackgroundMapGeometry() {
|
|
84699
|
-
if (
|
|
84721
|
+
if (!this._hasEarthLocation)
|
|
84700
84722
|
return undefined;
|
|
84701
84723
|
const bimElevationBias = this.backgroundMapElevationBias;
|
|
84702
84724
|
if (undefined === bimElevationBias)
|
|
@@ -84719,7 +84741,7 @@ class DisplayStyleState extends _EntityState__WEBPACK_IMPORTED_MODULE_6__.Elemen
|
|
|
84719
84741
|
let geometry = this.getIsBackgroundMapVisible() ? this.getBackgroundMapGeometry() : undefined;
|
|
84720
84742
|
const terrainRange = _ApproximateTerrainHeights__WEBPACK_IMPORTED_MODULE_3__.ApproximateTerrainHeights.instance.globalHeightRange;
|
|
84721
84743
|
let heightRange = this.displayTerrain ? terrainRange : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range1d.createXX(-1, 1);
|
|
84722
|
-
if (this.globeMode === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GlobeMode.Ellipsoid && this.contextRealityModelStates.find((model) => model.isGlobal)) {
|
|
84744
|
+
if (this.globeMode === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GlobeMode.Ellipsoid && this._hasEarthLocation && this.contextRealityModelStates.find((model) => model.isGlobal)) {
|
|
84723
84745
|
if (!geometry) {
|
|
84724
84746
|
if (!this._ellipsoidMapGeometry)
|
|
84725
84747
|
this._ellipsoidMapGeometry = new _BackgroundMapGeometry__WEBPACK_IMPORTED_MODULE_4__.BackgroundMapGeometry(0, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GlobeMode.Ellipsoid, this.iModel);
|
|
@@ -318390,9 +318412,9 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
318390
318412
|
|
|
318391
318413
|
/***/ }),
|
|
318392
318414
|
|
|
318393
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318415
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/index.js":
|
|
318394
318416
|
/*!*************************************************************************************!*\
|
|
318395
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318417
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/index.js ***!
|
|
318396
318418
|
\*************************************************************************************/
|
|
318397
318419
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
318398
318420
|
|
|
@@ -318418,7 +318440,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
318418
318440
|
/* harmony export */ spread: () => (/* binding */ spread),
|
|
318419
318441
|
/* harmony export */ toFormData: () => (/* binding */ toFormData)
|
|
318420
318442
|
/* harmony export */ });
|
|
318421
|
-
/* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318443
|
+
/* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/axios.js");
|
|
318422
318444
|
|
|
318423
318445
|
|
|
318424
318446
|
// This module is intended to unwrap Axios default export as named.
|
|
@@ -318449,9 +318471,9 @@ const {
|
|
|
318449
318471
|
|
|
318450
318472
|
/***/ }),
|
|
318451
318473
|
|
|
318452
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318474
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/adapters.js":
|
|
318453
318475
|
/*!*****************************************************************************************************!*\
|
|
318454
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318476
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/adapters.js ***!
|
|
318455
318477
|
\*****************************************************************************************************/
|
|
318456
318478
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
318457
318479
|
|
|
@@ -318460,11 +318482,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
318460
318482
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
318461
318483
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
318462
318484
|
/* harmony export */ });
|
|
318463
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318464
|
-
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318465
|
-
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318466
|
-
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318467
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318485
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
318486
|
+
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/null.js");
|
|
318487
|
+
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/xhr.js");
|
|
318488
|
+
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/fetch.js");
|
|
318489
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js");
|
|
318468
318490
|
|
|
318469
318491
|
|
|
318470
318492
|
|
|
@@ -318601,9 +318623,9 @@ function getAdapter(adapters, config) {
|
|
|
318601
318623
|
|
|
318602
318624
|
/***/ }),
|
|
318603
318625
|
|
|
318604
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318626
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/fetch.js":
|
|
318605
318627
|
/*!**************************************************************************************************!*\
|
|
318606
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318628
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/fetch.js ***!
|
|
318607
318629
|
\**************************************************************************************************/
|
|
318608
318630
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
318609
318631
|
|
|
@@ -318613,17 +318635,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
318613
318635
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
318614
318636
|
/* harmony export */ getFetch: () => (/* binding */ getFetch)
|
|
318615
318637
|
/* harmony export */ });
|
|
318616
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318617
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318618
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318619
|
-
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318620
|
-
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318621
|
-
/* harmony import */ var
|
|
318622
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318623
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318624
|
-
/* harmony import */ var
|
|
318625
|
-
/* harmony import */ var _helpers_estimateDataURLDecodedBytes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/estimateDataURLDecodedBytes.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318626
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
318638
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/index.js");
|
|
318639
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
318640
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js");
|
|
318641
|
+
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/composeSignals.js");
|
|
318642
|
+
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/trackStream.js");
|
|
318643
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
318644
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
318645
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/resolveConfig.js");
|
|
318646
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/settle.js");
|
|
318647
|
+
/* harmony import */ var _helpers_estimateDataURLDecodedBytes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/estimateDataURLDecodedBytes.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js");
|
|
318648
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/env/data.js");
|
|
318649
|
+
/* harmony import */ var _helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../helpers/sanitizeHeaderValue.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js");
|
|
318650
|
+
|
|
318627
318651
|
|
|
318628
318652
|
|
|
318629
318653
|
|
|
@@ -318649,7 +318673,10 @@ const test = (fn, ...args) => {
|
|
|
318649
318673
|
};
|
|
318650
318674
|
|
|
318651
318675
|
const factory = (env) => {
|
|
318652
|
-
const globalObject =
|
|
318676
|
+
const globalObject =
|
|
318677
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global !== undefined && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global !== null
|
|
318678
|
+
? _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global
|
|
318679
|
+
: globalThis;
|
|
318653
318680
|
const { ReadableStream, TextEncoder } = globalObject;
|
|
318654
318681
|
|
|
318655
318682
|
env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call(
|
|
@@ -318906,7 +318933,7 @@ const factory = (env) => {
|
|
|
318906
318933
|
...fetchOptions,
|
|
318907
318934
|
signal: composedSignal,
|
|
318908
318935
|
method: method.toUpperCase(),
|
|
318909
|
-
headers: headers.normalize()
|
|
318936
|
+
headers: (0,_helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_9__.toByteStringHeaderObject)(headers.normalize()),
|
|
318910
318937
|
body: data,
|
|
318911
318938
|
duplex: 'half',
|
|
318912
318939
|
credentials: isCredentialsSupported ? withCredentials : undefined,
|
|
@@ -319018,9 +319045,9 @@ const factory = (env) => {
|
|
|
319018
319045
|
!isStreamResponse && unsubscribe && unsubscribe();
|
|
319019
319046
|
|
|
319020
319047
|
return await new Promise((resolve, reject) => {
|
|
319021
|
-
(0,
|
|
319048
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_10__["default"])(resolve, reject, {
|
|
319022
319049
|
data: responseData,
|
|
319023
|
-
headers:
|
|
319050
|
+
headers: _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_11__["default"].from(response.headers),
|
|
319024
319051
|
status: response.status,
|
|
319025
319052
|
statusText: response.statusText,
|
|
319026
319053
|
config,
|
|
@@ -319093,9 +319120,9 @@ const adapter = getFetch();
|
|
|
319093
319120
|
|
|
319094
319121
|
/***/ }),
|
|
319095
319122
|
|
|
319096
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319123
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/xhr.js":
|
|
319097
319124
|
/*!************************************************************************************************!*\
|
|
319098
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319125
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/xhr.js ***!
|
|
319099
319126
|
\************************************************************************************************/
|
|
319100
319127
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319101
319128
|
|
|
@@ -319104,16 +319131,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319104
319131
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319105
319132
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319106
319133
|
/* harmony export */ });
|
|
319107
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319108
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319109
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319110
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319111
|
-
/* harmony import */ var
|
|
319112
|
-
/* harmony import */ var
|
|
319113
|
-
/* harmony import */ var
|
|
319114
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319115
|
-
/* harmony import */ var
|
|
319116
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319134
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
319135
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/settle.js");
|
|
319136
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/transitional.js");
|
|
319137
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js");
|
|
319138
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CanceledError.js");
|
|
319139
|
+
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/parseProtocol.js");
|
|
319140
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/index.js");
|
|
319141
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
319142
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
319143
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/resolveConfig.js");
|
|
319144
|
+
/* harmony import */ var _helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/sanitizeHeaderValue.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js");
|
|
319145
|
+
|
|
319117
319146
|
|
|
319118
319147
|
|
|
319119
319148
|
|
|
@@ -319272,7 +319301,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
319272
319301
|
|
|
319273
319302
|
// Add headers to the request
|
|
319274
319303
|
if ('setRequestHeader' in request) {
|
|
319275
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].forEach(
|
|
319304
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].forEach((0,_helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_6__.toByteStringHeaderObject)(requestHeaders), function setRequestHeader(val, key) {
|
|
319276
319305
|
request.setRequestHeader(key, val);
|
|
319277
319306
|
});
|
|
319278
319307
|
}
|
|
@@ -319289,13 +319318,13 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
319289
319318
|
|
|
319290
319319
|
// Handle progress if needed
|
|
319291
319320
|
if (onDownloadProgress) {
|
|
319292
|
-
[downloadThrottled, flushDownload] = (0,
|
|
319321
|
+
[downloadThrottled, flushDownload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_7__.progressEventReducer)(onDownloadProgress, true);
|
|
319293
319322
|
request.addEventListener('progress', downloadThrottled);
|
|
319294
319323
|
}
|
|
319295
319324
|
|
|
319296
319325
|
// Not all browsers support upload events
|
|
319297
319326
|
if (onUploadProgress && request.upload) {
|
|
319298
|
-
[uploadThrottled, flushUpload] = (0,
|
|
319327
|
+
[uploadThrottled, flushUpload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_7__.progressEventReducer)(onUploadProgress);
|
|
319299
319328
|
|
|
319300
319329
|
request.upload.addEventListener('progress', uploadThrottled);
|
|
319301
319330
|
|
|
@@ -319309,7 +319338,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
319309
319338
|
if (!request) {
|
|
319310
319339
|
return;
|
|
319311
319340
|
}
|
|
319312
|
-
reject(!cancel || cancel.type ? new
|
|
319341
|
+
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_8__["default"](null, config, request) : cancel);
|
|
319313
319342
|
request.abort();
|
|
319314
319343
|
done();
|
|
319315
319344
|
request = null;
|
|
@@ -319323,9 +319352,9 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
319323
319352
|
}
|
|
319324
319353
|
}
|
|
319325
319354
|
|
|
319326
|
-
const protocol = (0,
|
|
319355
|
+
const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_9__["default"])(_config.url);
|
|
319327
319356
|
|
|
319328
|
-
if (protocol && !
|
|
319357
|
+
if (protocol && !_platform_index_js__WEBPACK_IMPORTED_MODULE_10__["default"].protocols.includes(protocol)) {
|
|
319329
319358
|
reject(
|
|
319330
319359
|
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
319331
319360
|
'Unsupported protocol ' + protocol + ':',
|
|
@@ -319344,9 +319373,9 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
319344
319373
|
|
|
319345
319374
|
/***/ }),
|
|
319346
319375
|
|
|
319347
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319376
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/axios.js":
|
|
319348
319377
|
/*!*****************************************************************************************!*\
|
|
319349
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319378
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/axios.js ***!
|
|
319350
319379
|
\*****************************************************************************************/
|
|
319351
319380
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319352
319381
|
|
|
@@ -319355,23 +319384,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319355
319384
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319356
319385
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319357
319386
|
/* harmony export */ });
|
|
319358
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319359
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319360
|
-
/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319361
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319362
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319363
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319364
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319365
|
-
/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319366
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319367
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319368
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319369
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319370
|
-
/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319371
|
-
/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319372
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319373
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319374
|
-
/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319387
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
319388
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/bind.js");
|
|
319389
|
+
/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/Axios.js");
|
|
319390
|
+
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/mergeConfig.js");
|
|
319391
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/index.js");
|
|
319392
|
+
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/formDataToJSON.js");
|
|
319393
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CanceledError.js");
|
|
319394
|
+
/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CancelToken.js");
|
|
319395
|
+
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/isCancel.js");
|
|
319396
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/env/data.js");
|
|
319397
|
+
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/toFormData.js");
|
|
319398
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js");
|
|
319399
|
+
/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/spread.js");
|
|
319400
|
+
/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isAxiosError.js");
|
|
319401
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
319402
|
+
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/adapters.js");
|
|
319403
|
+
/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/HttpStatusCode.js");
|
|
319375
319404
|
|
|
319376
319405
|
|
|
319377
319406
|
|
|
@@ -319465,9 +319494,9 @@ axios.default = axios;
|
|
|
319465
319494
|
|
|
319466
319495
|
/***/ }),
|
|
319467
319496
|
|
|
319468
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319497
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CancelToken.js":
|
|
319469
319498
|
/*!******************************************************************************************************!*\
|
|
319470
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319499
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CancelToken.js ***!
|
|
319471
319500
|
\******************************************************************************************************/
|
|
319472
319501
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319473
319502
|
|
|
@@ -319476,7 +319505,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319476
319505
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319477
319506
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319478
319507
|
/* harmony export */ });
|
|
319479
|
-
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319508
|
+
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CanceledError.js");
|
|
319480
319509
|
|
|
319481
319510
|
|
|
319482
319511
|
|
|
@@ -319616,9 +319645,9 @@ class CancelToken {
|
|
|
319616
319645
|
|
|
319617
319646
|
/***/ }),
|
|
319618
319647
|
|
|
319619
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319648
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CanceledError.js":
|
|
319620
319649
|
/*!********************************************************************************************************!*\
|
|
319621
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319650
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CanceledError.js ***!
|
|
319622
319651
|
\********************************************************************************************************/
|
|
319623
319652
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319624
319653
|
|
|
@@ -319627,7 +319656,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319627
319656
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319628
319657
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319629
319658
|
/* harmony export */ });
|
|
319630
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319659
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js");
|
|
319631
319660
|
|
|
319632
319661
|
|
|
319633
319662
|
|
|
@@ -319654,9 +319683,9 @@ class CanceledError extends _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["de
|
|
|
319654
319683
|
|
|
319655
319684
|
/***/ }),
|
|
319656
319685
|
|
|
319657
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319686
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/isCancel.js":
|
|
319658
319687
|
/*!***************************************************************************************************!*\
|
|
319659
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319688
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/isCancel.js ***!
|
|
319660
319689
|
\***************************************************************************************************/
|
|
319661
319690
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319662
319691
|
|
|
@@ -319674,9 +319703,9 @@ function isCancel(value) {
|
|
|
319674
319703
|
|
|
319675
319704
|
/***/ }),
|
|
319676
319705
|
|
|
319677
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319706
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/Axios.js":
|
|
319678
319707
|
/*!**********************************************************************************************!*\
|
|
319679
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319708
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/Axios.js ***!
|
|
319680
319709
|
\**********************************************************************************************/
|
|
319681
319710
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319682
319711
|
|
|
@@ -319685,15 +319714,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319685
319714
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319686
319715
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319687
319716
|
/* harmony export */ });
|
|
319688
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319689
|
-
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319690
|
-
/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319691
|
-
/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319692
|
-
/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319693
|
-
/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319694
|
-
/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319695
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319696
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319717
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
319718
|
+
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/buildURL.js");
|
|
319719
|
+
/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/InterceptorManager.js");
|
|
319720
|
+
/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/dispatchRequest.js");
|
|
319721
|
+
/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/mergeConfig.js");
|
|
319722
|
+
/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/buildFullPath.js");
|
|
319723
|
+
/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/validator.js");
|
|
319724
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
319725
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/transitional.js");
|
|
319697
319726
|
|
|
319698
319727
|
|
|
319699
319728
|
|
|
@@ -319979,9 +320008,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
319979
320008
|
|
|
319980
320009
|
/***/ }),
|
|
319981
320010
|
|
|
319982
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320011
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js":
|
|
319983
320012
|
/*!***************************************************************************************************!*\
|
|
319984
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320013
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js ***!
|
|
319985
320014
|
\***************************************************************************************************/
|
|
319986
320015
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319987
320016
|
|
|
@@ -319990,8 +320019,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319990
320019
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319991
320020
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319992
320021
|
/* harmony export */ });
|
|
319993
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
319994
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320022
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
320023
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
319995
320024
|
|
|
319996
320025
|
|
|
319997
320026
|
|
|
@@ -320172,9 +320201,9 @@ AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED';
|
|
|
320172
320201
|
|
|
320173
320202
|
/***/ }),
|
|
320174
320203
|
|
|
320175
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320204
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js":
|
|
320176
320205
|
/*!*****************************************************************************************************!*\
|
|
320177
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320206
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js ***!
|
|
320178
320207
|
\*****************************************************************************************************/
|
|
320179
320208
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320180
320209
|
|
|
@@ -320183,58 +320212,27 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320183
320212
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320184
320213
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
320185
320214
|
/* harmony export */ });
|
|
320186
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320187
|
-
/* harmony import */ var
|
|
320188
|
-
|
|
320215
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
320216
|
+
/* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/parseHeaders.js");
|
|
320217
|
+
/* harmony import */ var _helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/sanitizeHeaderValue.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js");
|
|
320189
320218
|
|
|
320190
320219
|
|
|
320191
320220
|
|
|
320192
320221
|
|
|
320193
|
-
const $internals = Symbol('internals');
|
|
320194
320222
|
|
|
320195
|
-
const INVALID_HEADER_VALUE_CHARS_RE = /[^\x09\x20-\x7E\x80-\xFF]/g;
|
|
320196
320223
|
|
|
320197
|
-
|
|
320198
|
-
let start = 0;
|
|
320199
|
-
let end = str.length;
|
|
320200
|
-
|
|
320201
|
-
while (start < end) {
|
|
320202
|
-
const code = str.charCodeAt(start);
|
|
320203
|
-
|
|
320204
|
-
if (code !== 0x09 && code !== 0x20) {
|
|
320205
|
-
break;
|
|
320206
|
-
}
|
|
320207
|
-
|
|
320208
|
-
start += 1;
|
|
320209
|
-
}
|
|
320210
|
-
|
|
320211
|
-
while (end > start) {
|
|
320212
|
-
const code = str.charCodeAt(end - 1);
|
|
320213
|
-
|
|
320214
|
-
if (code !== 0x09 && code !== 0x20) {
|
|
320215
|
-
break;
|
|
320216
|
-
}
|
|
320217
|
-
|
|
320218
|
-
end -= 1;
|
|
320219
|
-
}
|
|
320220
|
-
|
|
320221
|
-
return start === 0 && end === str.length ? str : str.slice(start, end);
|
|
320222
|
-
}
|
|
320224
|
+
const $internals = Symbol('internals');
|
|
320223
320225
|
|
|
320224
320226
|
function normalizeHeader(header) {
|
|
320225
320227
|
return header && String(header).trim().toLowerCase();
|
|
320226
320228
|
}
|
|
320227
320229
|
|
|
320228
|
-
function sanitizeHeaderValue(str) {
|
|
320229
|
-
return trimSPorHTAB(str.replace(INVALID_HEADER_VALUE_CHARS_RE, ''));
|
|
320230
|
-
}
|
|
320231
|
-
|
|
320232
320230
|
function normalizeValue(value) {
|
|
320233
320231
|
if (value === false || value == null) {
|
|
320234
320232
|
return value;
|
|
320235
320233
|
}
|
|
320236
320234
|
|
|
320237
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value));
|
|
320235
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value.map(normalizeValue) : (0,_helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_1__.sanitizeHeaderValue)(String(value));
|
|
320238
320236
|
}
|
|
320239
320237
|
|
|
320240
320238
|
function parseTokens(str) {
|
|
@@ -320329,7 +320327,7 @@ class AxiosHeaders {
|
|
|
320329
320327
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(header) || header instanceof this.constructor) {
|
|
320330
320328
|
setHeaders(header, valueOrRewrite);
|
|
320331
320329
|
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
320332
|
-
setHeaders((0,
|
|
320330
|
+
setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_2__["default"])(header), valueOrRewrite);
|
|
320333
320331
|
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(header) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isIterable(header)) {
|
|
320334
320332
|
let obj = {},
|
|
320335
320333
|
dest,
|
|
@@ -320569,9 +320567,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
|
|
|
320569
320567
|
|
|
320570
320568
|
/***/ }),
|
|
320571
320569
|
|
|
320572
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320570
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/InterceptorManager.js":
|
|
320573
320571
|
/*!***********************************************************************************************************!*\
|
|
320574
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320572
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/InterceptorManager.js ***!
|
|
320575
320573
|
\***********************************************************************************************************/
|
|
320576
320574
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320577
320575
|
|
|
@@ -320580,7 +320578,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320580
320578
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320581
320579
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
320582
320580
|
/* harmony export */ });
|
|
320583
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320581
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
320584
320582
|
|
|
320585
320583
|
|
|
320586
320584
|
|
|
@@ -320657,9 +320655,9 @@ class InterceptorManager {
|
|
|
320657
320655
|
|
|
320658
320656
|
/***/ }),
|
|
320659
320657
|
|
|
320660
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320658
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/buildFullPath.js":
|
|
320661
320659
|
/*!******************************************************************************************************!*\
|
|
320662
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320660
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/buildFullPath.js ***!
|
|
320663
320661
|
\******************************************************************************************************/
|
|
320664
320662
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320665
320663
|
|
|
@@ -320668,8 +320666,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320668
320666
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320669
320667
|
/* harmony export */ "default": () => (/* binding */ buildFullPath)
|
|
320670
320668
|
/* harmony export */ });
|
|
320671
|
-
/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320672
|
-
/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320669
|
+
/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isAbsoluteURL.js");
|
|
320670
|
+
/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/combineURLs.js");
|
|
320673
320671
|
|
|
320674
320672
|
|
|
320675
320673
|
|
|
@@ -320696,9 +320694,9 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
320696
320694
|
|
|
320697
320695
|
/***/ }),
|
|
320698
320696
|
|
|
320699
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320697
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/dispatchRequest.js":
|
|
320700
320698
|
/*!********************************************************************************************************!*\
|
|
320701
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320699
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/dispatchRequest.js ***!
|
|
320702
320700
|
\********************************************************************************************************/
|
|
320703
320701
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320704
320702
|
|
|
@@ -320707,12 +320705,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320707
320705
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320708
320706
|
/* harmony export */ "default": () => (/* binding */ dispatchRequest)
|
|
320709
320707
|
/* harmony export */ });
|
|
320710
|
-
/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320711
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320712
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320713
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320714
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320715
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320708
|
+
/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/transformData.js");
|
|
320709
|
+
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/isCancel.js");
|
|
320710
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/index.js");
|
|
320711
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CanceledError.js");
|
|
320712
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
320713
|
+
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/adapters.js");
|
|
320716
320714
|
|
|
320717
320715
|
|
|
320718
320716
|
|
|
@@ -320806,9 +320804,9 @@ function dispatchRequest(config) {
|
|
|
320806
320804
|
|
|
320807
320805
|
/***/ }),
|
|
320808
320806
|
|
|
320809
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320807
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/mergeConfig.js":
|
|
320810
320808
|
/*!****************************************************************************************************!*\
|
|
320811
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320809
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/mergeConfig.js ***!
|
|
320812
320810
|
\****************************************************************************************************/
|
|
320813
320811
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320814
320812
|
|
|
@@ -320817,8 +320815,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320817
320815
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320818
320816
|
/* harmony export */ "default": () => (/* binding */ mergeConfig)
|
|
320819
320817
|
/* harmony export */ });
|
|
320820
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320821
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320818
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
320819
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
320822
320820
|
|
|
320823
320821
|
|
|
320824
320822
|
|
|
@@ -320947,9 +320945,9 @@ function mergeConfig(config1, config2) {
|
|
|
320947
320945
|
|
|
320948
320946
|
/***/ }),
|
|
320949
320947
|
|
|
320950
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320948
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/settle.js":
|
|
320951
320949
|
/*!***********************************************************************************************!*\
|
|
320952
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320950
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/settle.js ***!
|
|
320953
320951
|
\***********************************************************************************************/
|
|
320954
320952
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320955
320953
|
|
|
@@ -320958,7 +320956,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320958
320956
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320959
320957
|
/* harmony export */ "default": () => (/* binding */ settle)
|
|
320960
320958
|
/* harmony export */ });
|
|
320961
|
-
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320959
|
+
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js");
|
|
320962
320960
|
|
|
320963
320961
|
|
|
320964
320962
|
|
|
@@ -320990,9 +320988,9 @@ function settle(resolve, reject, response) {
|
|
|
320990
320988
|
|
|
320991
320989
|
/***/ }),
|
|
320992
320990
|
|
|
320993
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320991
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/transformData.js":
|
|
320994
320992
|
/*!******************************************************************************************************!*\
|
|
320995
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
320993
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/transformData.js ***!
|
|
320996
320994
|
\******************************************************************************************************/
|
|
320997
320995
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320998
320996
|
|
|
@@ -321001,9 +320999,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321001
320999
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321002
321000
|
/* harmony export */ "default": () => (/* binding */ transformData)
|
|
321003
321001
|
/* harmony export */ });
|
|
321004
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321005
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321006
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321002
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
321003
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/index.js");
|
|
321004
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
321007
321005
|
|
|
321008
321006
|
|
|
321009
321007
|
|
|
@@ -321036,9 +321034,9 @@ function transformData(fns, response) {
|
|
|
321036
321034
|
|
|
321037
321035
|
/***/ }),
|
|
321038
321036
|
|
|
321039
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321037
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/index.js":
|
|
321040
321038
|
/*!**************************************************************************************************!*\
|
|
321041
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321039
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/index.js ***!
|
|
321042
321040
|
\**************************************************************************************************/
|
|
321043
321041
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321044
321042
|
|
|
@@ -321047,13 +321045,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321047
321045
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321048
321046
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
321049
321047
|
/* harmony export */ });
|
|
321050
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321051
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321052
|
-
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321053
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321054
|
-
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321055
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321056
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321048
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
321049
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js");
|
|
321050
|
+
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/transitional.js");
|
|
321051
|
+
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/toFormData.js");
|
|
321052
|
+
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/toURLEncodedForm.js");
|
|
321053
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/index.js");
|
|
321054
|
+
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/formDataToJSON.js");
|
|
321057
321055
|
|
|
321058
321056
|
|
|
321059
321057
|
|
|
@@ -321235,9 +321233,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
|
|
|
321235
321233
|
|
|
321236
321234
|
/***/ }),
|
|
321237
321235
|
|
|
321238
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321236
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/transitional.js":
|
|
321239
321237
|
/*!*********************************************************************************************************!*\
|
|
321240
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321238
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/transitional.js ***!
|
|
321241
321239
|
\*********************************************************************************************************/
|
|
321242
321240
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321243
321241
|
|
|
@@ -321258,9 +321256,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321258
321256
|
|
|
321259
321257
|
/***/ }),
|
|
321260
321258
|
|
|
321261
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321259
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/env/data.js":
|
|
321262
321260
|
/*!********************************************************************************************!*\
|
|
321263
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321261
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/env/data.js ***!
|
|
321264
321262
|
\********************************************************************************************/
|
|
321265
321263
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321266
321264
|
|
|
@@ -321269,13 +321267,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321269
321267
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321270
321268
|
/* harmony export */ VERSION: () => (/* binding */ VERSION)
|
|
321271
321269
|
/* harmony export */ });
|
|
321272
|
-
const VERSION = "1.16.
|
|
321270
|
+
const VERSION = "1.16.1";
|
|
321273
321271
|
|
|
321274
321272
|
/***/ }),
|
|
321275
321273
|
|
|
321276
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321274
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
|
|
321277
321275
|
/*!****************************************************************************************************************!*\
|
|
321278
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321276
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
|
|
321279
321277
|
\****************************************************************************************************************/
|
|
321280
321278
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321281
321279
|
|
|
@@ -321284,7 +321282,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321284
321282
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321285
321283
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
321286
321284
|
/* harmony export */ });
|
|
321287
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321285
|
+
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/toFormData.js");
|
|
321288
321286
|
|
|
321289
321287
|
|
|
321290
321288
|
|
|
@@ -321350,9 +321348,9 @@ prototype.toString = function toString(encoder) {
|
|
|
321350
321348
|
|
|
321351
321349
|
/***/ }),
|
|
321352
321350
|
|
|
321353
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321351
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/HttpStatusCode.js":
|
|
321354
321352
|
/*!**********************************************************************************************************!*\
|
|
321355
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321353
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
|
|
321356
321354
|
\**********************************************************************************************************/
|
|
321357
321355
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321358
321356
|
|
|
@@ -321442,9 +321440,9 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
321442
321440
|
|
|
321443
321441
|
/***/ }),
|
|
321444
321442
|
|
|
321445
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321443
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/bind.js":
|
|
321446
321444
|
/*!************************************************************************************************!*\
|
|
321447
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321445
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/bind.js ***!
|
|
321448
321446
|
\************************************************************************************************/
|
|
321449
321447
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321450
321448
|
|
|
@@ -321471,9 +321469,9 @@ function bind(fn, thisArg) {
|
|
|
321471
321469
|
|
|
321472
321470
|
/***/ }),
|
|
321473
321471
|
|
|
321474
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321472
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/buildURL.js":
|
|
321475
321473
|
/*!****************************************************************************************************!*\
|
|
321476
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321474
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/buildURL.js ***!
|
|
321477
321475
|
\****************************************************************************************************/
|
|
321478
321476
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321479
321477
|
|
|
@@ -321483,8 +321481,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321483
321481
|
/* harmony export */ "default": () => (/* binding */ buildURL),
|
|
321484
321482
|
/* harmony export */ encode: () => (/* binding */ encode)
|
|
321485
321483
|
/* harmony export */ });
|
|
321486
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321487
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321484
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
321485
|
+
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
|
|
321488
321486
|
|
|
321489
321487
|
|
|
321490
321488
|
|
|
@@ -321555,9 +321553,9 @@ function buildURL(url, params, options) {
|
|
|
321555
321553
|
|
|
321556
321554
|
/***/ }),
|
|
321557
321555
|
|
|
321558
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321556
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/combineURLs.js":
|
|
321559
321557
|
/*!*******************************************************************************************************!*\
|
|
321560
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321558
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/combineURLs.js ***!
|
|
321561
321559
|
\*******************************************************************************************************/
|
|
321562
321560
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321563
321561
|
|
|
@@ -321585,9 +321583,9 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
321585
321583
|
|
|
321586
321584
|
/***/ }),
|
|
321587
321585
|
|
|
321588
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321586
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/composeSignals.js":
|
|
321589
321587
|
/*!**********************************************************************************************************!*\
|
|
321590
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321588
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/composeSignals.js ***!
|
|
321591
321589
|
\**********************************************************************************************************/
|
|
321592
321590
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321593
321591
|
|
|
@@ -321596,62 +321594,63 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321596
321594
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321597
321595
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
321598
321596
|
/* harmony export */ });
|
|
321599
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321600
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321601
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321597
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CanceledError.js");
|
|
321598
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js");
|
|
321599
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
321602
321600
|
|
|
321603
321601
|
|
|
321604
321602
|
|
|
321605
321603
|
|
|
321606
321604
|
const composeSignals = (signals, timeout) => {
|
|
321607
|
-
|
|
321608
|
-
|
|
321609
|
-
if (timeout || length) {
|
|
321610
|
-
let controller = new AbortController();
|
|
321611
|
-
|
|
321612
|
-
let aborted;
|
|
321613
|
-
|
|
321614
|
-
const onabort = function (reason) {
|
|
321615
|
-
if (!aborted) {
|
|
321616
|
-
aborted = true;
|
|
321617
|
-
unsubscribe();
|
|
321618
|
-
const err = reason instanceof Error ? reason : this.reason;
|
|
321619
|
-
controller.abort(
|
|
321620
|
-
err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"]
|
|
321621
|
-
? err
|
|
321622
|
-
: new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err)
|
|
321623
|
-
);
|
|
321624
|
-
}
|
|
321625
|
-
};
|
|
321605
|
+
signals = signals ? signals.filter(Boolean) : [];
|
|
321626
321606
|
|
|
321627
|
-
|
|
321628
|
-
|
|
321629
|
-
|
|
321630
|
-
timer = null;
|
|
321631
|
-
onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout of ${timeout}ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT));
|
|
321632
|
-
}, timeout);
|
|
321633
|
-
|
|
321634
|
-
const unsubscribe = () => {
|
|
321635
|
-
if (signals) {
|
|
321636
|
-
timer && clearTimeout(timer);
|
|
321637
|
-
timer = null;
|
|
321638
|
-
signals.forEach((signal) => {
|
|
321639
|
-
signal.unsubscribe
|
|
321640
|
-
? signal.unsubscribe(onabort)
|
|
321641
|
-
: signal.removeEventListener('abort', onabort);
|
|
321642
|
-
});
|
|
321643
|
-
signals = null;
|
|
321644
|
-
}
|
|
321645
|
-
};
|
|
321607
|
+
if (!timeout && !signals.length) {
|
|
321608
|
+
return;
|
|
321609
|
+
}
|
|
321646
321610
|
|
|
321647
|
-
|
|
321611
|
+
const controller = new AbortController();
|
|
321648
321612
|
|
|
321649
|
-
|
|
321613
|
+
let aborted = false;
|
|
321650
321614
|
|
|
321651
|
-
|
|
321615
|
+
const onabort = function (reason) {
|
|
321616
|
+
if (!aborted) {
|
|
321617
|
+
aborted = true;
|
|
321618
|
+
unsubscribe();
|
|
321619
|
+
const err = reason instanceof Error ? reason : this.reason;
|
|
321620
|
+
controller.abort(
|
|
321621
|
+
err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"]
|
|
321622
|
+
? err
|
|
321623
|
+
: new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err)
|
|
321624
|
+
);
|
|
321625
|
+
}
|
|
321626
|
+
};
|
|
321652
321627
|
|
|
321653
|
-
|
|
321654
|
-
|
|
321628
|
+
let timer =
|
|
321629
|
+
timeout &&
|
|
321630
|
+
setTimeout(() => {
|
|
321631
|
+
timer = null;
|
|
321632
|
+
onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout of ${timeout}ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT));
|
|
321633
|
+
}, timeout);
|
|
321634
|
+
|
|
321635
|
+
const unsubscribe = () => {
|
|
321636
|
+
if (!signals) { return; }
|
|
321637
|
+
timer && clearTimeout(timer);
|
|
321638
|
+
timer = null;
|
|
321639
|
+
signals.forEach((signal) => {
|
|
321640
|
+
signal.unsubscribe
|
|
321641
|
+
? signal.unsubscribe(onabort)
|
|
321642
|
+
: signal.removeEventListener('abort', onabort);
|
|
321643
|
+
});
|
|
321644
|
+
signals = null;
|
|
321645
|
+
};
|
|
321646
|
+
|
|
321647
|
+
signals.forEach((signal) => signal.addEventListener('abort', onabort));
|
|
321648
|
+
|
|
321649
|
+
const { signal } = controller;
|
|
321650
|
+
|
|
321651
|
+
signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
|
|
321652
|
+
|
|
321653
|
+
return signal;
|
|
321655
321654
|
};
|
|
321656
321655
|
|
|
321657
321656
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
|
|
@@ -321659,9 +321658,9 @@ const composeSignals = (signals, timeout) => {
|
|
|
321659
321658
|
|
|
321660
321659
|
/***/ }),
|
|
321661
321660
|
|
|
321662
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321661
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/cookies.js":
|
|
321663
321662
|
/*!***************************************************************************************************!*\
|
|
321664
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321663
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/cookies.js ***!
|
|
321665
321664
|
\***************************************************************************************************/
|
|
321666
321665
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321667
321666
|
|
|
@@ -321670,8 +321669,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321670
321669
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321671
321670
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
321672
321671
|
/* harmony export */ });
|
|
321673
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321674
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321672
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
321673
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/index.js");
|
|
321675
321674
|
|
|
321676
321675
|
|
|
321677
321676
|
|
|
@@ -321736,9 +321735,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321736
321735
|
|
|
321737
321736
|
/***/ }),
|
|
321738
321737
|
|
|
321739
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321738
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js":
|
|
321740
321739
|
/*!***********************************************************************************************************************!*\
|
|
321741
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321740
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js ***!
|
|
321742
321741
|
\***********************************************************************************************************************/
|
|
321743
321742
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321744
321743
|
|
|
@@ -321851,9 +321850,9 @@ function estimateDataURLDecodedBytes(url) {
|
|
|
321851
321850
|
|
|
321852
321851
|
/***/ }),
|
|
321853
321852
|
|
|
321854
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321853
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/formDataToJSON.js":
|
|
321855
321854
|
/*!**********************************************************************************************************!*\
|
|
321856
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321855
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/formDataToJSON.js ***!
|
|
321857
321856
|
\**********************************************************************************************************/
|
|
321858
321857
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321859
321858
|
|
|
@@ -321862,7 +321861,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321862
321861
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321863
321862
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
321864
321863
|
/* harmony export */ });
|
|
321865
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321864
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
321866
321865
|
|
|
321867
321866
|
|
|
321868
321867
|
|
|
@@ -321933,7 +321932,7 @@ function formDataToJSON(formData) {
|
|
|
321933
321932
|
return !isNumericKey;
|
|
321934
321933
|
}
|
|
321935
321934
|
|
|
321936
|
-
if (!
|
|
321935
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(target, name) || !_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(target[name])) {
|
|
321937
321936
|
target[name] = [];
|
|
321938
321937
|
}
|
|
321939
321938
|
|
|
@@ -321964,9 +321963,9 @@ function formDataToJSON(formData) {
|
|
|
321964
321963
|
|
|
321965
321964
|
/***/ }),
|
|
321966
321965
|
|
|
321967
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321966
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isAbsoluteURL.js":
|
|
321968
321967
|
/*!*********************************************************************************************************!*\
|
|
321969
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
321968
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
|
|
321970
321969
|
\*********************************************************************************************************/
|
|
321971
321970
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321972
321971
|
|
|
@@ -321998,9 +321997,9 @@ function isAbsoluteURL(url) {
|
|
|
321998
321997
|
|
|
321999
321998
|
/***/ }),
|
|
322000
321999
|
|
|
322001
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322000
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isAxiosError.js":
|
|
322002
322001
|
/*!********************************************************************************************************!*\
|
|
322003
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322002
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isAxiosError.js ***!
|
|
322004
322003
|
\********************************************************************************************************/
|
|
322005
322004
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322006
322005
|
|
|
@@ -322009,7 +322008,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322009
322008
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322010
322009
|
/* harmony export */ "default": () => (/* binding */ isAxiosError)
|
|
322011
322010
|
/* harmony export */ });
|
|
322012
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322011
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
322013
322012
|
|
|
322014
322013
|
|
|
322015
322014
|
|
|
@@ -322028,9 +322027,9 @@ function isAxiosError(payload) {
|
|
|
322028
322027
|
|
|
322029
322028
|
/***/ }),
|
|
322030
322029
|
|
|
322031
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322030
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isURLSameOrigin.js":
|
|
322032
322031
|
/*!***********************************************************************************************************!*\
|
|
322033
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322032
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
|
|
322034
322033
|
\***********************************************************************************************************/
|
|
322035
322034
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322036
322035
|
|
|
@@ -322039,7 +322038,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322039
322038
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322040
322039
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
322041
322040
|
/* harmony export */ });
|
|
322042
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322041
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/index.js");
|
|
322043
322042
|
|
|
322044
322043
|
|
|
322045
322044
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
@@ -322060,9 +322059,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322060
322059
|
|
|
322061
322060
|
/***/ }),
|
|
322062
322061
|
|
|
322063
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322062
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/null.js":
|
|
322064
322063
|
/*!************************************************************************************************!*\
|
|
322065
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322064
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/null.js ***!
|
|
322066
322065
|
\************************************************************************************************/
|
|
322067
322066
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322068
322067
|
|
|
@@ -322077,9 +322076,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322077
322076
|
|
|
322078
322077
|
/***/ }),
|
|
322079
322078
|
|
|
322080
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322079
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/parseHeaders.js":
|
|
322081
322080
|
/*!********************************************************************************************************!*\
|
|
322082
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322081
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/parseHeaders.js ***!
|
|
322083
322082
|
\********************************************************************************************************/
|
|
322084
322083
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322085
322084
|
|
|
@@ -322088,7 +322087,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322088
322087
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322089
322088
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
322090
322089
|
/* harmony export */ });
|
|
322091
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322090
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
322092
322091
|
|
|
322093
322092
|
|
|
322094
322093
|
|
|
@@ -322162,9 +322161,9 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
|
|
|
322162
322161
|
|
|
322163
322162
|
/***/ }),
|
|
322164
322163
|
|
|
322165
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322164
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/parseProtocol.js":
|
|
322166
322165
|
/*!*********************************************************************************************************!*\
|
|
322167
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322166
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/parseProtocol.js ***!
|
|
322168
322167
|
\*********************************************************************************************************/
|
|
322169
322168
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322170
322169
|
|
|
@@ -322183,9 +322182,9 @@ function parseProtocol(url) {
|
|
|
322183
322182
|
|
|
322184
322183
|
/***/ }),
|
|
322185
322184
|
|
|
322186
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322185
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/progressEventReducer.js":
|
|
322187
322186
|
/*!****************************************************************************************************************!*\
|
|
322188
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322187
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/progressEventReducer.js ***!
|
|
322189
322188
|
\****************************************************************************************************************/
|
|
322190
322189
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322191
322190
|
|
|
@@ -322196,9 +322195,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322196
322195
|
/* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator),
|
|
322197
322196
|
/* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer)
|
|
322198
322197
|
/* harmony export */ });
|
|
322199
|
-
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322200
|
-
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322201
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322198
|
+
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/speedometer.js");
|
|
322199
|
+
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/throttle.js");
|
|
322200
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
322202
322201
|
|
|
322203
322202
|
|
|
322204
322203
|
|
|
@@ -322208,6 +322207,9 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
322208
322207
|
const _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
|
|
322209
322208
|
|
|
322210
322209
|
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])((e) => {
|
|
322210
|
+
if (!e || typeof e.loaded !== 'number') {
|
|
322211
|
+
return;
|
|
322212
|
+
}
|
|
322211
322213
|
const rawLoaded = e.loaded;
|
|
322212
322214
|
const total = e.lengthComputable ? e.total : undefined;
|
|
322213
322215
|
const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded;
|
|
@@ -322254,9 +322256,9 @@ const asyncDecorator =
|
|
|
322254
322256
|
|
|
322255
322257
|
/***/ }),
|
|
322256
322258
|
|
|
322257
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322259
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/resolveConfig.js":
|
|
322258
322260
|
/*!*********************************************************************************************************!*\
|
|
322259
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322261
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/resolveConfig.js ***!
|
|
322260
322262
|
\*********************************************************************************************************/
|
|
322261
322263
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322262
322264
|
|
|
@@ -322265,14 +322267,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322265
322267
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322266
322268
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
322267
322269
|
/* harmony export */ });
|
|
322268
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322269
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322270
|
-
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322271
|
-
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322272
|
-
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322273
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322274
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322275
|
-
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322270
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/index.js");
|
|
322271
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
322272
|
+
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isURLSameOrigin.js");
|
|
322273
|
+
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/cookies.js");
|
|
322274
|
+
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/buildFullPath.js");
|
|
322275
|
+
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/mergeConfig.js");
|
|
322276
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
322277
|
+
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/buildURL.js");
|
|
322276
322278
|
|
|
322277
322279
|
|
|
322278
322280
|
|
|
@@ -322383,9 +322385,87 @@ const encodeUTF8 = (str) =>
|
|
|
322383
322385
|
|
|
322384
322386
|
/***/ }),
|
|
322385
322387
|
|
|
322386
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322388
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js":
|
|
322389
|
+
/*!***************************************************************************************************************!*\
|
|
322390
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js ***!
|
|
322391
|
+
\***************************************************************************************************************/
|
|
322392
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322393
|
+
|
|
322394
|
+
"use strict";
|
|
322395
|
+
__webpack_require__.r(__webpack_exports__);
|
|
322396
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322397
|
+
/* harmony export */ sanitizeByteStringHeaderValue: () => (/* binding */ sanitizeByteStringHeaderValue),
|
|
322398
|
+
/* harmony export */ sanitizeHeaderValue: () => (/* binding */ sanitizeHeaderValue),
|
|
322399
|
+
/* harmony export */ toByteStringHeaderObject: () => (/* binding */ toByteStringHeaderObject)
|
|
322400
|
+
/* harmony export */ });
|
|
322401
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
322402
|
+
|
|
322403
|
+
|
|
322404
|
+
|
|
322405
|
+
|
|
322406
|
+
function trimSPorHTAB(str) {
|
|
322407
|
+
let start = 0;
|
|
322408
|
+
let end = str.length;
|
|
322409
|
+
|
|
322410
|
+
while (start < end) {
|
|
322411
|
+
const code = str.charCodeAt(start);
|
|
322412
|
+
|
|
322413
|
+
if (code !== 0x09 && code !== 0x20) {
|
|
322414
|
+
break;
|
|
322415
|
+
}
|
|
322416
|
+
|
|
322417
|
+
start += 1;
|
|
322418
|
+
}
|
|
322419
|
+
|
|
322420
|
+
while (end > start) {
|
|
322421
|
+
const code = str.charCodeAt(end - 1);
|
|
322422
|
+
|
|
322423
|
+
if (code !== 0x09 && code !== 0x20) {
|
|
322424
|
+
break;
|
|
322425
|
+
}
|
|
322426
|
+
|
|
322427
|
+
end -= 1;
|
|
322428
|
+
}
|
|
322429
|
+
|
|
322430
|
+
return start === 0 && end === str.length ? str : str.slice(start, end);
|
|
322431
|
+
}
|
|
322432
|
+
|
|
322433
|
+
// The control-code ranges are intentional: header sanitization strips C0/DEL bytes.
|
|
322434
|
+
// eslint-disable-next-line no-control-regex
|
|
322435
|
+
const INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+', 'g');
|
|
322436
|
+
// eslint-disable-next-line no-control-regex
|
|
322437
|
+
const INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+', 'g');
|
|
322438
|
+
|
|
322439
|
+
function sanitizeValue(value, invalidChars) {
|
|
322440
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value)) {
|
|
322441
|
+
return value.map((item) => sanitizeValue(item, invalidChars));
|
|
322442
|
+
}
|
|
322443
|
+
|
|
322444
|
+
return trimSPorHTAB(String(value).replace(invalidChars, ''));
|
|
322445
|
+
}
|
|
322446
|
+
|
|
322447
|
+
const sanitizeHeaderValue = (value) =>
|
|
322448
|
+
sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS);
|
|
322449
|
+
|
|
322450
|
+
const sanitizeByteStringHeaderValue = (value) =>
|
|
322451
|
+
sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);
|
|
322452
|
+
|
|
322453
|
+
function toByteStringHeaderObject(headers) {
|
|
322454
|
+
const byteStringHeaders = Object.create(null);
|
|
322455
|
+
|
|
322456
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(headers.toJSON(), (value, header) => {
|
|
322457
|
+
byteStringHeaders[header] = sanitizeByteStringHeaderValue(value);
|
|
322458
|
+
});
|
|
322459
|
+
|
|
322460
|
+
return byteStringHeaders;
|
|
322461
|
+
}
|
|
322462
|
+
|
|
322463
|
+
|
|
322464
|
+
/***/ }),
|
|
322465
|
+
|
|
322466
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/speedometer.js":
|
|
322387
322467
|
/*!*******************************************************************************************************!*\
|
|
322388
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322468
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/speedometer.js ***!
|
|
322389
322469
|
\*******************************************************************************************************/
|
|
322390
322470
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322391
322471
|
|
|
@@ -322453,9 +322533,9 @@ function speedometer(samplesCount, min) {
|
|
|
322453
322533
|
|
|
322454
322534
|
/***/ }),
|
|
322455
322535
|
|
|
322456
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322536
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/spread.js":
|
|
322457
322537
|
/*!**************************************************************************************************!*\
|
|
322458
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322538
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/spread.js ***!
|
|
322459
322539
|
\**************************************************************************************************/
|
|
322460
322540
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322461
322541
|
|
|
@@ -322496,9 +322576,9 @@ function spread(callback) {
|
|
|
322496
322576
|
|
|
322497
322577
|
/***/ }),
|
|
322498
322578
|
|
|
322499
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322579
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/throttle.js":
|
|
322500
322580
|
/*!****************************************************************************************************!*\
|
|
322501
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322581
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/throttle.js ***!
|
|
322502
322582
|
\****************************************************************************************************/
|
|
322503
322583
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322504
322584
|
|
|
@@ -322555,9 +322635,9 @@ function throttle(fn, freq) {
|
|
|
322555
322635
|
|
|
322556
322636
|
/***/ }),
|
|
322557
322637
|
|
|
322558
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322638
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/toFormData.js":
|
|
322559
322639
|
/*!******************************************************************************************************!*\
|
|
322560
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322640
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/toFormData.js ***!
|
|
322561
322641
|
\******************************************************************************************************/
|
|
322562
322642
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322563
322643
|
|
|
@@ -322566,9 +322646,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322566
322646
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322567
322647
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
322568
322648
|
/* harmony export */ });
|
|
322569
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322570
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322571
|
-
/* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322649
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
322650
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js");
|
|
322651
|
+
/* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/null.js");
|
|
322572
322652
|
|
|
322573
322653
|
|
|
322574
322654
|
|
|
@@ -322822,9 +322902,9 @@ function toFormData(obj, formData, options) {
|
|
|
322822
322902
|
|
|
322823
322903
|
/***/ }),
|
|
322824
322904
|
|
|
322825
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322905
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/toURLEncodedForm.js":
|
|
322826
322906
|
/*!************************************************************************************************************!*\
|
|
322827
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322907
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
|
|
322828
322908
|
\************************************************************************************************************/
|
|
322829
322909
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322830
322910
|
|
|
@@ -322833,9 +322913,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322833
322913
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322834
322914
|
/* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
|
|
322835
322915
|
/* harmony export */ });
|
|
322836
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322837
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322838
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322916
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js");
|
|
322917
|
+
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/toFormData.js");
|
|
322918
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/index.js");
|
|
322839
322919
|
|
|
322840
322920
|
|
|
322841
322921
|
|
|
@@ -322859,9 +322939,9 @@ function toURLEncodedForm(data, options) {
|
|
|
322859
322939
|
|
|
322860
322940
|
/***/ }),
|
|
322861
322941
|
|
|
322862
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322942
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/trackStream.js":
|
|
322863
322943
|
/*!*******************************************************************************************************!*\
|
|
322864
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322944
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/trackStream.js ***!
|
|
322865
322945
|
\*******************************************************************************************************/
|
|
322866
322946
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322867
322947
|
|
|
@@ -322965,9 +323045,9 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
322965
323045
|
|
|
322966
323046
|
/***/ }),
|
|
322967
323047
|
|
|
322968
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323048
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/validator.js":
|
|
322969
323049
|
/*!*****************************************************************************************************!*\
|
|
322970
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323050
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/validator.js ***!
|
|
322971
323051
|
\*****************************************************************************************************/
|
|
322972
323052
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322973
323053
|
|
|
@@ -322976,8 +323056,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322976
323056
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322977
323057
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
322978
323058
|
/* harmony export */ });
|
|
322979
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
322980
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323059
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/env/data.js");
|
|
323060
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js");
|
|
322981
323061
|
|
|
322982
323062
|
|
|
322983
323063
|
|
|
@@ -323094,9 +323174,9 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
323094
323174
|
|
|
323095
323175
|
/***/ }),
|
|
323096
323176
|
|
|
323097
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323177
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/Blob.js":
|
|
323098
323178
|
/*!*****************************************************************************************************************!*\
|
|
323099
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323179
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
|
|
323100
323180
|
\*****************************************************************************************************************/
|
|
323101
323181
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
323102
323182
|
|
|
@@ -323112,9 +323192,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
323112
323192
|
|
|
323113
323193
|
/***/ }),
|
|
323114
323194
|
|
|
323115
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323195
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/FormData.js":
|
|
323116
323196
|
/*!*********************************************************************************************************************!*\
|
|
323117
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323197
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
|
|
323118
323198
|
\*********************************************************************************************************************/
|
|
323119
323199
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
323120
323200
|
|
|
@@ -323130,9 +323210,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
323130
323210
|
|
|
323131
323211
|
/***/ }),
|
|
323132
323212
|
|
|
323133
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323213
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
|
|
323134
323214
|
/*!****************************************************************************************************************************!*\
|
|
323135
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323215
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
|
|
323136
323216
|
\****************************************************************************************************************************/
|
|
323137
323217
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
323138
323218
|
|
|
@@ -323141,7 +323221,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
323141
323221
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
323142
323222
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
323143
323223
|
/* harmony export */ });
|
|
323144
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323224
|
+
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
|
|
323145
323225
|
|
|
323146
323226
|
|
|
323147
323227
|
|
|
@@ -323150,9 +323230,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
323150
323230
|
|
|
323151
323231
|
/***/ }),
|
|
323152
323232
|
|
|
323153
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323233
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/index.js":
|
|
323154
323234
|
/*!**********************************************************************************************************!*\
|
|
323155
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323235
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/index.js ***!
|
|
323156
323236
|
\**********************************************************************************************************/
|
|
323157
323237
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
323158
323238
|
|
|
@@ -323161,9 +323241,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
323161
323241
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
323162
323242
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
323163
323243
|
/* harmony export */ });
|
|
323164
|
-
/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323165
|
-
/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323166
|
-
/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323244
|
+
/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
|
|
323245
|
+
/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/FormData.js");
|
|
323246
|
+
/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/Blob.js");
|
|
323167
323247
|
|
|
323168
323248
|
|
|
323169
323249
|
|
|
@@ -323181,9 +323261,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
323181
323261
|
|
|
323182
323262
|
/***/ }),
|
|
323183
323263
|
|
|
323184
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323264
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/common/utils.js":
|
|
323185
323265
|
/*!*********************************************************************************************************!*\
|
|
323186
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323266
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/common/utils.js ***!
|
|
323187
323267
|
\*********************************************************************************************************/
|
|
323188
323268
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
323189
323269
|
|
|
@@ -323246,9 +323326,9 @@ const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
|
|
|
323246
323326
|
|
|
323247
323327
|
/***/ }),
|
|
323248
323328
|
|
|
323249
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323329
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/index.js":
|
|
323250
323330
|
/*!**************************************************************************************************!*\
|
|
323251
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323331
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/index.js ***!
|
|
323252
323332
|
\**************************************************************************************************/
|
|
323253
323333
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
323254
323334
|
|
|
@@ -323257,8 +323337,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
323257
323337
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
323258
323338
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
323259
323339
|
/* harmony export */ });
|
|
323260
|
-
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323261
|
-
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323340
|
+
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/index.js");
|
|
323341
|
+
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/common/utils.js");
|
|
323262
323342
|
|
|
323263
323343
|
|
|
323264
323344
|
|
|
@@ -323270,9 +323350,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
323270
323350
|
|
|
323271
323351
|
/***/ }),
|
|
323272
323352
|
|
|
323273
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323353
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js":
|
|
323274
323354
|
/*!*****************************************************************************************!*\
|
|
323275
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323355
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js ***!
|
|
323276
323356
|
\*****************************************************************************************/
|
|
323277
323357
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
323278
323358
|
|
|
@@ -323281,7 +323361,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
323281
323361
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
323282
323362
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
323283
323363
|
/* harmony export */ });
|
|
323284
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.
|
|
323364
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/bind.js");
|
|
323285
323365
|
|
|
323286
323366
|
|
|
323287
323367
|
|
|
@@ -324047,11 +324127,11 @@ function isSpecCompliantForm(thing) {
|
|
|
324047
324127
|
* @returns {Object} The JSON-compatible object.
|
|
324048
324128
|
*/
|
|
324049
324129
|
const toJSONObject = (obj) => {
|
|
324050
|
-
const
|
|
324130
|
+
const visited = new WeakSet();
|
|
324051
324131
|
|
|
324052
|
-
const visit = (source
|
|
324132
|
+
const visit = (source) => {
|
|
324053
324133
|
if (isObject(source)) {
|
|
324054
|
-
if (
|
|
324134
|
+
if (visited.has(source)) {
|
|
324055
324135
|
return;
|
|
324056
324136
|
}
|
|
324057
324137
|
|
|
@@ -324061,15 +324141,16 @@ const toJSONObject = (obj) => {
|
|
|
324061
324141
|
}
|
|
324062
324142
|
|
|
324063
324143
|
if (!('toJSON' in source)) {
|
|
324064
|
-
|
|
324144
|
+
// add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230).
|
|
324145
|
+
visited.add(source);
|
|
324065
324146
|
const target = isArray(source) ? [] : {};
|
|
324066
324147
|
|
|
324067
324148
|
forEach(source, (value, key) => {
|
|
324068
|
-
const reducedValue = visit(value
|
|
324149
|
+
const reducedValue = visit(value);
|
|
324069
324150
|
!isUndefined(reducedValue) && (target[key] = reducedValue);
|
|
324070
324151
|
});
|
|
324071
324152
|
|
|
324072
|
-
|
|
324153
|
+
visited.delete(source);
|
|
324073
324154
|
|
|
324074
324155
|
return target;
|
|
324075
324156
|
}
|
|
@@ -324078,7 +324159,7 @@ const toJSONObject = (obj) => {
|
|
|
324078
324159
|
return source;
|
|
324079
324160
|
};
|
|
324080
324161
|
|
|
324081
|
-
return visit(obj
|
|
324162
|
+
return visit(obj);
|
|
324082
324163
|
};
|
|
324083
324164
|
|
|
324084
324165
|
/**
|
|
@@ -327491,7 +327572,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
327491
327572
|
/***/ ((module) => {
|
|
327492
327573
|
|
|
327493
327574
|
"use strict";
|
|
327494
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.10.0-dev.
|
|
327575
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.10.0-dev.13","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.9","@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"~4.3.4","@loaders.gl/draco":"~4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
327495
327576
|
|
|
327496
327577
|
/***/ })
|
|
327497
327578
|
|