@mappedin/marker-cluster 6.0.1-beta.57 → 6.5.0-beta.0
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/esm/index.d.ts +105 -4
- package/lib/esm/index.js +1 -1
- package/package.json +2 -2
package/lib/esm/index.d.ts
CHANGED
|
@@ -797,6 +797,24 @@ declare class ModelStyleComponnet implements Partial<ModelStyle> {
|
|
|
797
797
|
clippingPlaneTopVisible: boolean;
|
|
798
798
|
constructor(init?: Partial<ModelStyle>);
|
|
799
799
|
}
|
|
800
|
+
declare class Mask {
|
|
801
|
+
type: "mask";
|
|
802
|
+
/**
|
|
803
|
+
* The ID of the mask, undefined means no mask
|
|
804
|
+
* min value is 0, max value is 255
|
|
805
|
+
*/
|
|
806
|
+
maskId: number;
|
|
807
|
+
enabled: boolean;
|
|
808
|
+
/**
|
|
809
|
+
* Whether the mask is a mask or a masked object
|
|
810
|
+
*/
|
|
811
|
+
mode: "mask" | "masked-object";
|
|
812
|
+
/**
|
|
813
|
+
* Whether the masked object should be hidden or revealed when the mask is applied
|
|
814
|
+
*/
|
|
815
|
+
effect: "hide" | "reveal";
|
|
816
|
+
dirty: boolean;
|
|
817
|
+
}
|
|
800
818
|
type GeometryGroupState = {
|
|
801
819
|
readonly id: string | number;
|
|
802
820
|
readonly type: "geometry-group";
|
|
@@ -832,12 +850,18 @@ type GeometryGroupState = {
|
|
|
832
850
|
* Bevel configuration for extruded shapes.
|
|
833
851
|
*/
|
|
834
852
|
bevel?: BevelState;
|
|
853
|
+
maskId?: number;
|
|
854
|
+
maskEnabled?: boolean;
|
|
855
|
+
maskEffect?: "hide" | "reveal";
|
|
856
|
+
maskMode?: "mask" | "masked-object";
|
|
835
857
|
};
|
|
836
858
|
declare class GeometryGroupObject3D extends Object3D {
|
|
837
859
|
visible: boolean;
|
|
838
860
|
readonly type: "geometry-group";
|
|
839
|
-
components:
|
|
840
|
-
|
|
861
|
+
components: [
|
|
862
|
+
Mask?
|
|
863
|
+
];
|
|
864
|
+
getComponent(type: "mask"): Mask | undefined;
|
|
841
865
|
userData: {
|
|
842
866
|
entityId: string | number;
|
|
843
867
|
entities3D: Set<string | number>;
|
|
@@ -973,7 +997,7 @@ type Whatever = {} | undefined | null;
|
|
|
973
997
|
type LoosePartial<T extends object> = InexactPartial<T> & {
|
|
974
998
|
[k: string]: unknown;
|
|
975
999
|
};
|
|
976
|
-
type Mask<Keys extends PropertyKey> = {
|
|
1000
|
+
type Mask$1<Keys extends PropertyKey> = {
|
|
977
1001
|
[K in Keys]?: true;
|
|
978
1002
|
};
|
|
979
1003
|
type Writeable<T> = {
|
|
@@ -4708,6 +4732,16 @@ type PathState = {
|
|
|
4708
4732
|
* @default 0.25
|
|
4709
4733
|
*/
|
|
4710
4734
|
xrayOpacity: number;
|
|
4735
|
+
/**
|
|
4736
|
+
* Controls the smoothness of path corners using CatmullRom curve tension. Higher values create smoother curves.
|
|
4737
|
+
* Values between 0.1-0.3 provide subtle smoothing suitable for most use cases.
|
|
4738
|
+
*/
|
|
4739
|
+
smoothingTension: number;
|
|
4740
|
+
/**
|
|
4741
|
+
* Distance in meters from corners where control points are inserted for smoothing. Higher values create smoother curves around corners.
|
|
4742
|
+
* Only applies when smoothingTension > 0.
|
|
4743
|
+
*/
|
|
4744
|
+
smoothingCornerRadius: number;
|
|
4711
4745
|
};
|
|
4712
4746
|
type AddPathOptions = {
|
|
4713
4747
|
/**
|
|
@@ -4767,6 +4801,18 @@ type AddPathOptions = {
|
|
|
4767
4801
|
* @default 0.25
|
|
4768
4802
|
*/
|
|
4769
4803
|
xrayOpacity?: number;
|
|
4804
|
+
/**
|
|
4805
|
+
* Controls the smoothness of path corners using CatmullRom curve tension. Higher values create smoother curves.
|
|
4806
|
+
* Values between 0.1-0.3 provide subtle smoothing suitable for most use cases.
|
|
4807
|
+
* @default 0.0
|
|
4808
|
+
*/
|
|
4809
|
+
smoothingTension?: number;
|
|
4810
|
+
/**
|
|
4811
|
+
* Distance in meters from corners where control points are inserted for smoothing. Higher values create smoother curves around corners.
|
|
4812
|
+
* Only applies when smoothingTension > 0. Typical values are 0.5-2.0 meters for subtle smoothing.
|
|
4813
|
+
* @default 0.0
|
|
4814
|
+
*/
|
|
4815
|
+
smoothingCornerRadius?: number;
|
|
4770
4816
|
};
|
|
4771
4817
|
declare class PathComponent {
|
|
4772
4818
|
#private;
|
|
@@ -4793,6 +4839,8 @@ declare class PathComponent {
|
|
|
4793
4839
|
highlightColor: string;
|
|
4794
4840
|
xrayOpacity: number;
|
|
4795
4841
|
dashed: boolean;
|
|
4842
|
+
smoothingTension: number;
|
|
4843
|
+
smoothingCornerRadius: number;
|
|
4796
4844
|
/**
|
|
4797
4845
|
* If the path is vertical it will be rebuilt whenever altitudeDirty = true. This will be set during the first render of the path.
|
|
4798
4846
|
*/
|
|
@@ -14250,6 +14298,15 @@ declare class RenderOrderSystem {
|
|
|
14250
14298
|
getOrder(object: object): number | undefined;
|
|
14251
14299
|
update(): void;
|
|
14252
14300
|
}
|
|
14301
|
+
declare class MaskingSystem {
|
|
14302
|
+
private state;
|
|
14303
|
+
constructor(state: RendererState);
|
|
14304
|
+
private applyMask;
|
|
14305
|
+
update(): void;
|
|
14306
|
+
private enableMaskProducer;
|
|
14307
|
+
private enableMaskReciever;
|
|
14308
|
+
private disableMask;
|
|
14309
|
+
}
|
|
14253
14310
|
declare class ClippingPlaneSystem {
|
|
14254
14311
|
rendererState: RendererState;
|
|
14255
14312
|
dirty: boolean;
|
|
@@ -14302,6 +14359,7 @@ type Systems = {
|
|
|
14302
14359
|
textureSystem: TextureSystem;
|
|
14303
14360
|
borderSystem: BorderSystem;
|
|
14304
14361
|
renderOrderSystem: RenderOrderSystem;
|
|
14362
|
+
maskingSystem: MaskingSystem;
|
|
14305
14363
|
clippingPlaneSystem: ClippingPlaneSystem;
|
|
14306
14364
|
pluginSystem: PluginSystem;
|
|
14307
14365
|
};
|
|
@@ -15003,6 +15061,27 @@ type PaintStyle = {
|
|
|
15003
15061
|
* Bevel configuration for extruded shapes.
|
|
15004
15062
|
*/
|
|
15005
15063
|
bevel?: BevelState;
|
|
15064
|
+
/**
|
|
15065
|
+
* @experimental
|
|
15066
|
+
* The ID of the mask
|
|
15067
|
+
* min value is 0, max value is 255
|
|
15068
|
+
*/
|
|
15069
|
+
__EXPERIMENTAL_maskId?: number;
|
|
15070
|
+
/**
|
|
15071
|
+
* Whether the masked object should be hidden or revealed when the mask is applied
|
|
15072
|
+
* @experimental
|
|
15073
|
+
*/
|
|
15074
|
+
__EXPERIMENTAL_maskEffect?: "hide" | "reveal";
|
|
15075
|
+
/**
|
|
15076
|
+
* Whether the mask is a mask or a masked object
|
|
15077
|
+
* @experimental
|
|
15078
|
+
*/
|
|
15079
|
+
__EXPERIMENTAL_maskMode?: "mask" | "masked-object";
|
|
15080
|
+
/**
|
|
15081
|
+
* Whether the mask is enabled
|
|
15082
|
+
* @experimental
|
|
15083
|
+
*/
|
|
15084
|
+
__EXPERIMENTAL_maskEnabled?: boolean;
|
|
15006
15085
|
};
|
|
15007
15086
|
type Shading = {
|
|
15008
15087
|
start?: number;
|
|
@@ -15023,6 +15102,10 @@ type LineStyle = {
|
|
|
15023
15102
|
outline?: boolean;
|
|
15024
15103
|
side?: MaterialSide;
|
|
15025
15104
|
renderOrder?: number;
|
|
15105
|
+
__EXPERIMENTAL_maskId?: number;
|
|
15106
|
+
__EXPERIMENTAL_maskEnabled?: boolean;
|
|
15107
|
+
__EXPERIMENTAL_maskEffect?: "hide" | "reveal";
|
|
15108
|
+
__EXPERIMENTAL_maskMode?: "mask" | "masked-object";
|
|
15026
15109
|
};
|
|
15027
15110
|
type ModelProperties = {
|
|
15028
15111
|
rotation?: [
|
|
@@ -18006,6 +18089,8 @@ declare const pathStateSchemaPartial: z.ZodObject<{
|
|
|
18006
18089
|
highlightWidthMultiplier: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
18007
18090
|
highlightCompleteFraction: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
18008
18091
|
xrayOpacity: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
18092
|
+
__EXPERIMENTAL_SMOOTHING_TENSION: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
18093
|
+
__EXPERIMENTAL_SMOOTHING_CORNER_RADIUS: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
18009
18094
|
}, z.core.$strip>;
|
|
18010
18095
|
declare const pathStateSchemaStrict: z.ZodObject<{
|
|
18011
18096
|
type: z.ZodDefault<z.ZodLiteral<"path">>;
|
|
@@ -18020,6 +18105,8 @@ declare const pathStateSchemaStrict: z.ZodObject<{
|
|
|
18020
18105
|
highlightWidthMultiplier: z.ZodDefault<z.ZodNumber>;
|
|
18021
18106
|
highlightCompleteFraction: z.ZodDefault<z.ZodNumber>;
|
|
18022
18107
|
xrayOpacity: z.ZodDefault<z.ZodNumber>;
|
|
18108
|
+
__EXPERIMENTAL_SMOOTHING_TENSION: z.ZodDefault<z.ZodNumber>;
|
|
18109
|
+
__EXPERIMENTAL_SMOOTHING_CORNER_RADIUS: z.ZodDefault<z.ZodNumber>;
|
|
18023
18110
|
}, z.core.$strict>;
|
|
18024
18111
|
type TPathState = z.infer<typeof pathStateSchemaStrict>;
|
|
18025
18112
|
type TPathUpdateState = z.infer<typeof pathStateSchemaPartial>;
|
|
@@ -19122,6 +19209,20 @@ type TAddPathOptions = {
|
|
|
19122
19209
|
* @defaultValue 0.25
|
|
19123
19210
|
*/
|
|
19124
19211
|
xrayOpacity?: number;
|
|
19212
|
+
/**
|
|
19213
|
+
* @experimental Controls the smoothness of path corners using CatmullRom curve tension. Higher values create smoother curves.
|
|
19214
|
+
* Values between 0.1-0.3 provide subtle smoothing suitable for most use cases.
|
|
19215
|
+
*
|
|
19216
|
+
* @defaultValue 0.0
|
|
19217
|
+
*/
|
|
19218
|
+
__EXPERIMENTAL_SMOOTHING_TENSION?: number;
|
|
19219
|
+
/**
|
|
19220
|
+
* @experimental Distance in meters from corners where control points are inserted for smoothing. Higher values create smoother curves around corners.
|
|
19221
|
+
* Only applies when __EXPERIMENTAL_SMOOTHING_TENSION > 0. Typical values are 0.5-2.0 meters for subtle smoothing.
|
|
19222
|
+
*
|
|
19223
|
+
* @defaultValue 0.5
|
|
19224
|
+
*/
|
|
19225
|
+
__EXPERIMENTAL_SMOOTHING_CORNER_RADIUS?: number;
|
|
19125
19226
|
};
|
|
19126
19227
|
type TCollisionRankingTier = "low" | "medium" | "high" | "always-visible";
|
|
19127
19228
|
type TMarkerPlacement = MarkerPlacement;
|
|
@@ -23073,7 +23174,7 @@ declare namespace schemas {
|
|
|
23073
23174
|
export { $InferEnumInput, $InferEnumOutput, $InferInnerFunctionType, $InferInnerFunctionTypeAsync, $InferObjectInput, $InferObjectOutput, $InferOuterFunctionType, $InferOuterFunctionTypeAsync, $InferTupleInputType, $InferTupleOutputType, $InferUnionInput, $InferUnionOutput, $InferZodRecordInput, $InferZodRecordOutput, $PartsToTemplateLiteral, $ZodAny, $ZodAnyDef, $ZodAnyInternals, $ZodArray, $ZodArrayDef, $ZodArrayInternals, $ZodBase64, $ZodBase64Def, $ZodBase64Internals, $ZodBase64URL, $ZodBase64URLDef, $ZodBase64URLInternals, $ZodBigInt, $ZodBigIntDef, $ZodBigIntFormat, $ZodBigIntFormatDef, $ZodBigIntFormatInternals, $ZodBigIntInternals, $ZodBoolean, $ZodBooleanDef, $ZodBooleanInternals, $ZodCIDRv4, $ZodCIDRv4Def, $ZodCIDRv4Internals, $ZodCIDRv6, $ZodCIDRv6Def, $ZodCIDRv6Internals, $ZodCUID, $ZodCUID2, $ZodCUID2Def, $ZodCUID2Internals, $ZodCUIDDef, $ZodCUIDInternals, $ZodCatch, $ZodCatchCtx, $ZodCatchDef, $ZodCatchInternals, $ZodCodec, $ZodCodecDef, $ZodCodecInternals, $ZodCustom, $ZodCustomDef, $ZodCustomInternals, $ZodCustomStringFormat, $ZodCustomStringFormatDef, $ZodCustomStringFormatInternals, $ZodDate, $ZodDateDef, $ZodDateInternals, $ZodDefault, $ZodDefaultDef, $ZodDefaultInternals, $ZodDiscriminatedUnion, $ZodDiscriminatedUnionDef, $ZodDiscriminatedUnionInternals, $ZodE164, $ZodE164Def, $ZodE164Internals, $ZodEmail, $ZodEmailDef, $ZodEmailInternals, $ZodEmoji, $ZodEmojiDef, $ZodEmojiInternals, $ZodEnum, $ZodEnumDef, $ZodEnumInternals, $ZodFile, $ZodFileDef, $ZodFileInternals, $ZodFunction, $ZodFunctionArgs, $ZodFunctionDef, $ZodFunctionIn, $ZodFunctionInternals, $ZodFunctionOut, $ZodFunctionParams, $ZodGUID, $ZodGUIDDef, $ZodGUIDInternals, $ZodIPv4, $ZodIPv4Def, $ZodIPv4Internals, $ZodIPv6, $ZodIPv6Def, $ZodIPv6Internals, $ZodISODate, $ZodISODateDef, $ZodISODateInternals, $ZodISODateTime, $ZodISODateTimeDef, $ZodISODateTimeInternals, $ZodISODuration, $ZodISODurationDef, $ZodISODurationInternals, $ZodISOTime, $ZodISOTimeDef, $ZodISOTimeInternals, $ZodIntersection, $ZodIntersectionDef, $ZodIntersectionInternals, $ZodJWT, $ZodJWTDef, $ZodJWTInternals, $ZodKSUID, $ZodKSUIDDef, $ZodKSUIDInternals, $ZodLazy, $ZodLazyDef, $ZodLazyInternals, $ZodLiteral, $ZodLiteralDef, $ZodLiteralInternals, $ZodLooseShape, $ZodMap, $ZodMapDef, $ZodMapInternals, $ZodNaN, $ZodNaNDef, $ZodNaNInternals, $ZodNanoID, $ZodNanoIDDef, $ZodNanoIDInternals, $ZodNever, $ZodNeverDef, $ZodNeverInternals, $ZodNonOptional, $ZodNonOptionalDef, $ZodNonOptionalInternals, $ZodNull, $ZodNullDef, $ZodNullInternals, $ZodNullable, $ZodNullableDef, $ZodNullableInternals, $ZodNumber, $ZodNumberDef, $ZodNumberFormat, $ZodNumberFormatDef, $ZodNumberFormatInternals, $ZodNumberInternals, $ZodObject, $ZodObjectConfig, $ZodObjectDef, $ZodObjectInternals, $ZodObjectJIT, $ZodOptional, $ZodOptionalDef, $ZodOptionalInternals, $ZodPipe, $ZodPipeDef, $ZodPipeInternals, $ZodPrefault, $ZodPrefaultDef, $ZodPrefaultInternals, $ZodPromise, $ZodPromiseDef, $ZodPromiseInternals, $ZodReadonly, $ZodReadonlyDef, $ZodReadonlyInternals, $ZodRecord, $ZodRecordDef, $ZodRecordInternals, $ZodRecordKey, $ZodSet, $ZodSetDef, $ZodSetInternals, $ZodShape, $ZodStandardSchema, $ZodString, $ZodStringDef, $ZodStringFormat, $ZodStringFormatDef, $ZodStringFormatInternals, $ZodStringFormatTypes, $ZodStringInternals, $ZodSuccess, $ZodSuccessDef, $ZodSuccessInternals, $ZodSymbol, $ZodSymbolDef, $ZodSymbolInternals, $ZodTemplateLiteral, $ZodTemplateLiteralDef, $ZodTemplateLiteralInternals, $ZodTemplateLiteralPart, $ZodTransform, $ZodTransformDef, $ZodTransformInternals, $ZodTuple, $ZodTupleDef, $ZodTupleInternals, $ZodType, $ZodTypeDef, $ZodTypeInternals, $ZodTypes, $ZodULID, $ZodULIDDef, $ZodULIDInternals, $ZodURL, $ZodURLDef, $ZodURLInternals, $ZodUUID, $ZodUUIDDef, $ZodUUIDInternals, $ZodUndefined, $ZodUndefinedDef, $ZodUndefinedInternals, $ZodUnion, $ZodUnionDef, $ZodUnionInternals, $ZodUnknown, $ZodUnknownDef, $ZodUnknownInternals, $ZodVoid, $ZodVoidDef, $ZodVoidInternals, $ZodXID, $ZodXIDDef, $ZodXIDInternals, $catchall, $loose, $partial, $strict, $strip, CheckFn, ConcatenateTupleOfStrings, ConvertPartsToStringTuple, File$1 as File, ParseContext, ParseContextInternal, ParsePayload, SomeType, ToTemplateLiteral, _$ZodType, _$ZodTypeInternals, clone, isValidBase64, isValidBase64URL, isValidJWT };
|
|
23074
23175
|
}
|
|
23075
23176
|
declare namespace util {
|
|
23076
|
-
export { AnyFunc, AssertEqual, AssertExtends, AssertNotEqual, BIGINT_FORMAT_RANGES, BuiltIn, Class, CleanKey, Constructor, EmptyObject, EmptyToNever, EnumLike, EnumValue, Exactly, Extend, ExtractIndexSignature, Flatten, FromCleanMap, HasLength, HasSize, HashAlgorithm, HashEncoding, HashFormat, IPVersion, Identity, InexactPartial, IsAny, IsProp, JSONType, JWTAlgorithm, KeyOf, Keys, KeysArray, KeysEnum, Literal, LiteralArray, LoosePartial, MakePartial, MakeReadonly, MakeRequired, Mapped, Mask, MaybeAsync, MimeTypes, NUMBER_FORMAT_RANGES, NoNever, NoNeverKeys, NoUndefined, Normalize, Numeric, Omit$1 as Omit, OmitIndexSignature, OmitKeys, ParsedTypes, Prettify, Primitive, PrimitiveArray, PrimitiveSet, PropValues, SafeParseError, SafeParseResult, SafeParseSuccess, SchemaClass, SomeObject, ToCleanMap, ToEnum, TupleItems, Whatever, Writeable, aborted, allowsEval, assert, assertEqual, assertIs, assertNever, assertNotEqual, assignProp, base64ToUint8Array, base64urlToUint8Array, cached, captureStackTrace, cleanEnum, cleanRegex, clone, cloneDef, createTransparentProxy, defineLazy, esc, escapeRegex, extend, finalizeIssue, floatSafeRemainder, getElementAtPath, getEnumValues, getLengthableOrigin, getParsedType, getSizableOrigin, hexToUint8Array, isObject, isPlainObject, issue, joinValues, jsonStringifyReplacer, merge, mergeDefs, normalizeParams, nullish, numKeys, objectClone, omit, optionalKeys, partial, pick, prefixIssues, primitiveTypes, promiseAllObject, propertyKeyTypes, randomString, required, safeExtend, shallowClone, stringifyPrimitive, uint8ArrayToBase64, uint8ArrayToBase64url, uint8ArrayToHex, unwrapMessage };
|
|
23177
|
+
export { AnyFunc, AssertEqual, AssertExtends, AssertNotEqual, BIGINT_FORMAT_RANGES, BuiltIn, Class, CleanKey, Constructor, EmptyObject, EmptyToNever, EnumLike, EnumValue, Exactly, Extend, ExtractIndexSignature, Flatten, FromCleanMap, HasLength, HasSize, HashAlgorithm, HashEncoding, HashFormat, IPVersion, Identity, InexactPartial, IsAny, IsProp, JSONType, JWTAlgorithm, KeyOf, Keys, KeysArray, KeysEnum, Literal, LiteralArray, LoosePartial, MakePartial, MakeReadonly, MakeRequired, Mapped, Mask$1 as Mask, MaybeAsync, MimeTypes, NUMBER_FORMAT_RANGES, NoNever, NoNeverKeys, NoUndefined, Normalize, Numeric, Omit$1 as Omit, OmitIndexSignature, OmitKeys, ParsedTypes, Prettify, Primitive, PrimitiveArray, PrimitiveSet, PropValues, SafeParseError, SafeParseResult, SafeParseSuccess, SchemaClass, SomeObject, ToCleanMap, ToEnum, TupleItems, Whatever, Writeable, aborted, allowsEval, assert, assertEqual, assertIs, assertNever, assertNotEqual, assignProp, base64ToUint8Array, base64urlToUint8Array, cached, captureStackTrace, cleanEnum, cleanRegex, clone, cloneDef, createTransparentProxy, defineLazy, esc, escapeRegex, extend, finalizeIssue, floatSafeRemainder, getElementAtPath, getEnumValues, getLengthableOrigin, getParsedType, getSizableOrigin, hexToUint8Array, isObject, isPlainObject, issue, joinValues, jsonStringifyReplacer, merge, mergeDefs, normalizeParams, nullish, numKeys, objectClone, omit, optionalKeys, partial, pick, prefixIssues, primitiveTypes, promiseAllObject, propertyKeyTypes, randomString, required, safeExtend, shallowClone, stringifyPrimitive, uint8ArrayToBase64, uint8ArrayToBase64url, uint8ArrayToHex, unwrapMessage };
|
|
23077
23178
|
}
|
|
23078
23179
|
declare namespace JSONSchema$1 {
|
|
23079
23180
|
export { ArraySchema, BaseSchema, BooleanSchema, IntegerSchema, JSONSchema, NullSchema, NumberSchema, ObjectSchema, Schema, StringSchema, _JSONSchema };
|