@octostar/map-component 0.1.20 → 0.1.22
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/README.md +20 -0
- package/dist/index.cjs +38 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +38 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/property-utils.d.ts +15 -0
- package/dist/types/lib/property-utils.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9897,7 +9897,7 @@ const MapEditorCanvas = forwardRef(function MapEditorCanvas2({
|
|
|
9897
9897
|
filterSvgPoints && /* @__PURE__ */ jsx(
|
|
9898
9898
|
"svg",
|
|
9899
9899
|
{
|
|
9900
|
-
className: "absolute inset-0 w-full h-full pointer-events-none z-[
|
|
9900
|
+
className: "absolute inset-0 w-full h-full pointer-events-none z-[10]",
|
|
9901
9901
|
"data-testid": "filter-overlay",
|
|
9902
9902
|
children: /* @__PURE__ */ jsx(
|
|
9903
9903
|
"polygon",
|
|
@@ -11377,12 +11377,48 @@ function DebugSidebar({ onAddRandomPoints, onImportKML, canAddFeatures = true, c
|
|
|
11377
11377
|
}
|
|
11378
11378
|
);
|
|
11379
11379
|
}
|
|
11380
|
+
const INTERNAL_PROPERTY_KEYS = /* @__PURE__ */ new Set([
|
|
11381
|
+
"fill",
|
|
11382
|
+
"fill-opacity",
|
|
11383
|
+
"pointRadius",
|
|
11384
|
+
"pointIcon",
|
|
11385
|
+
"pointIconSize",
|
|
11386
|
+
"circleCenter",
|
|
11387
|
+
"circleRadius",
|
|
11388
|
+
"icon",
|
|
11389
|
+
"iconSize",
|
|
11390
|
+
"fontSize",
|
|
11391
|
+
"fontColor",
|
|
11392
|
+
"fontWeight",
|
|
11393
|
+
"arrowSize",
|
|
11394
|
+
"label",
|
|
11395
|
+
"entityType",
|
|
11396
|
+
"kind",
|
|
11397
|
+
"meta:type",
|
|
11398
|
+
"stroke",
|
|
11399
|
+
"stroke-width",
|
|
11400
|
+
"stroke-opacity"
|
|
11401
|
+
]);
|
|
11402
|
+
const INTERNAL_PROPERTY_PREFIXES = [
|
|
11403
|
+
"IsHiddenBy",
|
|
11404
|
+
"isHidden",
|
|
11405
|
+
"isSelected",
|
|
11406
|
+
"isTrace",
|
|
11407
|
+
"isTimeline",
|
|
11408
|
+
"trace"
|
|
11409
|
+
];
|
|
11410
|
+
function isInternalProperty(key) {
|
|
11411
|
+
if (INTERNAL_PROPERTY_KEYS.has(key)) return true;
|
|
11412
|
+
return INTERNAL_PROPERTY_PREFIXES.some((prefix) => key.startsWith(prefix));
|
|
11413
|
+
}
|
|
11380
11414
|
export {
|
|
11381
11415
|
ActionPanel,
|
|
11382
11416
|
ClusterPieManager,
|
|
11383
11417
|
ColorPickerPopover,
|
|
11384
11418
|
DebugSidebar,
|
|
11385
11419
|
DrawingToolbar,
|
|
11420
|
+
INTERNAL_PROPERTY_KEYS,
|
|
11421
|
+
INTERNAL_PROPERTY_PREFIXES,
|
|
11386
11422
|
IconPicker,
|
|
11387
11423
|
LayersPanel,
|
|
11388
11424
|
MAP_STYLES,
|
|
@@ -11399,6 +11435,7 @@ export {
|
|
|
11399
11435
|
createClusterPieManager,
|
|
11400
11436
|
getIconComponent,
|
|
11401
11437
|
isFeatureInRange,
|
|
11438
|
+
isInternalProperty,
|
|
11402
11439
|
isValidIconId,
|
|
11403
11440
|
normalizeTemporalProperties,
|
|
11404
11441
|
parseKMLToGeoJSON,
|