@octostar/map-component 0.8.1 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.mjs +2142 -92
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +6 -0
- package/dist/types/components/debug-sidebar.d.ts +3 -1
- package/dist/types/components/debug-sidebar.d.ts.map +1 -1
- package/dist/types/components/demos/poi-sample.d.ts +2 -0
- package/dist/types/components/demos/poi-sample.d.ts.map +1 -0
- package/dist/types/components/demos/standalone-demo.d.ts.map +1 -1
- package/dist/types/components/drawing-toolbar.d.ts +1 -1
- package/dist/types/components/icon-picker.d.ts +2 -1
- package/dist/types/components/icon-picker.d.ts.map +1 -1
- package/dist/types/components/ingest-progress-overlay.d.ts +1 -1
- package/dist/types/components/layers-panel.d.ts +20 -4
- package/dist/types/components/layers-panel.d.ts.map +1 -1
- package/dist/types/components/map-context-menu.d.ts +1 -1
- package/dist/types/components/map-editor-canvas.d.ts +1 -1
- package/dist/types/components/map-editor-canvas.d.ts.map +1 -1
- package/dist/types/components/point-icon-settings.d.ts +23 -0
- package/dist/types/components/point-icon-settings.d.ts.map +1 -0
- package/dist/types/components/properties-panel.d.ts +1 -1
- package/dist/types/components/status-indicator.d.ts +1 -1
- package/dist/types/components/timebar.d.ts +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/emoji-list.generated.d.ts +5 -0
- package/dist/types/lib/emoji-list.generated.d.ts.map +1 -0
- package/dist/types/lib/field-values.d.ts +9 -0
- package/dist/types/lib/field-values.d.ts.map +1 -0
- package/dist/types/lib/host-icon-scale.d.ts +1 -1
- package/dist/types/lib/host-owned-layers.d.ts +1 -1
- package/dist/types/lib/icon-by-field.d.ts +67 -0
- package/dist/types/lib/icon-by-field.d.ts.map +1 -0
- package/dist/types/lib/layer-colors.d.ts +1 -1
- package/dist/types/lib/map-editor-api.d.ts +8 -1
- package/dist/types/lib/map-editor-api.d.ts.map +1 -1
- package/dist/types/lib/map-labels.d.ts +62 -6
- package/dist/types/lib/map-labels.d.ts.map +1 -1
- package/dist/types/lib/paint-feature.d.ts +1 -1
- package/dist/types/lib/paint-feature.d.ts.map +1 -1
- package/dist/types/lib/portable-emoji.d.ts +9 -0
- package/dist/types/lib/portable-emoji.d.ts.map +1 -0
- package/dist/types/lib/shard-constants.d.ts +1 -1
- package/dist/types/lib/shard-fingerprint.d.ts +1 -1
- package/dist/types/lib/shard-pipeline.d.ts +1 -1
- package/package.json +4 -2
|
@@ -227,6 +227,20 @@ export declare const DEFAULT_MAP_LABELS: {
|
|
|
227
227
|
categories: string;
|
|
228
228
|
gradient: string;
|
|
229
229
|
pointIcon: string;
|
|
230
|
+
iconSameForAll: string;
|
|
231
|
+
iconByFieldValue: string;
|
|
232
|
+
icons: string;
|
|
233
|
+
iconsAssigning: string;
|
|
234
|
+
iconsAssignedByAi: string;
|
|
235
|
+
iconsAssignedByKeywords: string;
|
|
236
|
+
reassignIcons: string;
|
|
237
|
+
reassignIconsWithAi: string;
|
|
238
|
+
reassignIconsByKeywords: string;
|
|
239
|
+
iconAiUnavailable: (error: string) => string;
|
|
240
|
+
iconAiNoUsableIcon: string;
|
|
241
|
+
assignNewIcons: (count: number) => string;
|
|
242
|
+
iconOtherValues: string;
|
|
243
|
+
iconEmptyOrUnassigned: string;
|
|
230
244
|
legend: string;
|
|
231
245
|
legendTop: (count: number) => string;
|
|
232
246
|
legendSampled: string;
|
|
@@ -412,9 +426,23 @@ export declare const DEFAULT_MAP_LABELS: {
|
|
|
412
426
|
clearIcon: string;
|
|
413
427
|
cancel: string;
|
|
414
428
|
emptyTrigger: string;
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
429
|
+
anyEmojiHint: string;
|
|
430
|
+
useEmoji: (emoji: string) => string;
|
|
431
|
+
emojiNotEverywhere: string;
|
|
432
|
+
customEmoji: string;
|
|
433
|
+
emojiGroups: {
|
|
434
|
+
smileys: string;
|
|
435
|
+
people: string;
|
|
436
|
+
nature: string;
|
|
437
|
+
food: string;
|
|
438
|
+
travel: string;
|
|
439
|
+
activities: string;
|
|
440
|
+
objects: string;
|
|
441
|
+
symbols: string;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
iconCategories: Record<"time" | "people" | "nature" | "food" | "activities" | "symbols" | "places" | "transport" | "work" | "shopping" | "communication" | "maritime" | "security" | "shapes" | "arrows", string>;
|
|
445
|
+
iconNames: Record<"search" | "eye" | "baby" | "dog" | "cat" | "horse" | "bird" | "fish" | "hamburger" | "pizza" | "compass" | "mountain" | "volcano" | "stadium" | "hospital" | "school" | "factory" | "castle" | "church" | "mosque" | "tent" | "train" | "bus" | "taxi" | "motorcycle" | "construction" | "anchor" | "sailboat" | "ship" | "helicopter" | "satellite" | "rocket" | "sun" | "star" | "cloud" | "rainbow" | "umbrella" | "snowflake" | "fire" | "trophy" | "basketball" | "bell" | "radio" | "camera" | "bookmark" | "package" | "briefcase" | "calendar" | "pushpin" | "key" | "hammer" | "shield" | "wrench" | "gear" | "microscope" | "radioactive" | "biohazard" | "map-pin" | "home" | "building" | "store" | "graduation" | "library" | "landmark" | "car" | "plane" | "bike" | "fuel" | "truck" | "utensils" | "coffee" | "beer" | "wine" | "ice-cream" | "apple" | "cake" | "trees" | "waves" | "flower" | "leaf" | "heart" | "flag" | "alert" | "info" | "check" | "x-mark" | "zap" | "peace" | "recycle" | "music" | "film" | "gamepad" | "medal" | "sports" | "fishing" | "art" | "test-tube" | "computer" | "cart" | "gift" | "money" | "credit-card" | "phone" | "mail" | "globe" | "tv" | "user" | "users" | "lighthouse" | "lock" | "police" | "siren" | "clock" | "tag" | "red-circle" | "blue-circle" | "green-circle" | "yellow-circle" | "orange-circle" | "purple-circle" | "white-circle" | "black-circle" | "red-square" | "blue-square" | "diamond" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "target", string>;
|
|
418
446
|
timebar: {
|
|
419
447
|
play: string;
|
|
420
448
|
pause: string;
|
|
@@ -663,6 +691,20 @@ export declare const MapLabelsContext: import("react").Context<{
|
|
|
663
691
|
categories: string;
|
|
664
692
|
gradient: string;
|
|
665
693
|
pointIcon: string;
|
|
694
|
+
iconSameForAll: string;
|
|
695
|
+
iconByFieldValue: string;
|
|
696
|
+
icons: string;
|
|
697
|
+
iconsAssigning: string;
|
|
698
|
+
iconsAssignedByAi: string;
|
|
699
|
+
iconsAssignedByKeywords: string;
|
|
700
|
+
reassignIcons: string;
|
|
701
|
+
reassignIconsWithAi: string;
|
|
702
|
+
reassignIconsByKeywords: string;
|
|
703
|
+
iconAiUnavailable: (error: string) => string;
|
|
704
|
+
iconAiNoUsableIcon: string;
|
|
705
|
+
assignNewIcons: (count: number) => string;
|
|
706
|
+
iconOtherValues: string;
|
|
707
|
+
iconEmptyOrUnassigned: string;
|
|
666
708
|
legend: string;
|
|
667
709
|
legendTop: (count: number) => string;
|
|
668
710
|
legendSampled: string;
|
|
@@ -848,9 +890,23 @@ export declare const MapLabelsContext: import("react").Context<{
|
|
|
848
890
|
clearIcon: string;
|
|
849
891
|
cancel: string;
|
|
850
892
|
emptyTrigger: string;
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
893
|
+
anyEmojiHint: string;
|
|
894
|
+
useEmoji: (emoji: string) => string;
|
|
895
|
+
emojiNotEverywhere: string;
|
|
896
|
+
customEmoji: string;
|
|
897
|
+
emojiGroups: {
|
|
898
|
+
smileys: string;
|
|
899
|
+
people: string;
|
|
900
|
+
nature: string;
|
|
901
|
+
food: string;
|
|
902
|
+
travel: string;
|
|
903
|
+
activities: string;
|
|
904
|
+
objects: string;
|
|
905
|
+
symbols: string;
|
|
906
|
+
};
|
|
907
|
+
};
|
|
908
|
+
iconCategories: Record<"time" | "people" | "nature" | "food" | "activities" | "symbols" | "places" | "transport" | "work" | "shopping" | "communication" | "maritime" | "security" | "shapes" | "arrows", string>;
|
|
909
|
+
iconNames: Record<"search" | "eye" | "baby" | "dog" | "cat" | "horse" | "bird" | "fish" | "hamburger" | "pizza" | "compass" | "mountain" | "volcano" | "stadium" | "hospital" | "school" | "factory" | "castle" | "church" | "mosque" | "tent" | "train" | "bus" | "taxi" | "motorcycle" | "construction" | "anchor" | "sailboat" | "ship" | "helicopter" | "satellite" | "rocket" | "sun" | "star" | "cloud" | "rainbow" | "umbrella" | "snowflake" | "fire" | "trophy" | "basketball" | "bell" | "radio" | "camera" | "bookmark" | "package" | "briefcase" | "calendar" | "pushpin" | "key" | "hammer" | "shield" | "wrench" | "gear" | "microscope" | "radioactive" | "biohazard" | "map-pin" | "home" | "building" | "store" | "graduation" | "library" | "landmark" | "car" | "plane" | "bike" | "fuel" | "truck" | "utensils" | "coffee" | "beer" | "wine" | "ice-cream" | "apple" | "cake" | "trees" | "waves" | "flower" | "leaf" | "heart" | "flag" | "alert" | "info" | "check" | "x-mark" | "zap" | "peace" | "recycle" | "music" | "film" | "gamepad" | "medal" | "sports" | "fishing" | "art" | "test-tube" | "computer" | "cart" | "gift" | "money" | "credit-card" | "phone" | "mail" | "globe" | "tv" | "user" | "users" | "lighthouse" | "lock" | "police" | "siren" | "clock" | "tag" | "red-circle" | "blue-circle" | "green-circle" | "yellow-circle" | "orange-circle" | "purple-circle" | "white-circle" | "black-circle" | "red-square" | "blue-square" | "diamond" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "target", string>;
|
|
854
910
|
timebar: {
|
|
855
911
|
play: string;
|
|
856
912
|
pause: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-labels.d.ts","sourceRoot":"","sources":["../../../client/src/lib/map-labels.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"map-labels.d.ts","sourceRoot":"","sources":["../../../client/src/lib/map-labels.ts"],"names":[],"mappings":"AAQA;;;GAGG;AACH,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAC1C,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAsBlD;;;GAGG;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AAM;;;;;;;;;;;;;;;;;;;;;;8BAyBF,MAAM;6CACS;YAAE,QAAQ,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE;2BACrD,MAAM;sDACqB;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE;;;;;;;;;;;EAkBT,CAAC;AAE7E;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,GAAG,MAAM,CAEvG;AAED,wBAAgB,YAAY,IAAI,SAAS,CAExC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Layer } from '
|
|
1
|
+
import type { Layer } from '../components/layers-panel.js';
|
|
2
2
|
import { type GradientRange } from './color-utils';
|
|
3
3
|
import { HOST_OWNED_PROP } from './label-pinning';
|
|
4
4
|
/** Set by the styler on host-owned features; read by the label layout. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paint-feature.d.ts","sourceRoot":"","sources":["../../../client/src/lib/paint-feature.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,
|
|
1
|
+
{"version":3,"file":"paint-feature.d.ts","sourceRoot":"","sources":["../../../client/src/lib/paint-feature.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAA2D,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAS5G,OAAO,EAAyB,eAAe,EAAyB,MAAM,iBAAiB,CAAC;AAIhG,0EAA0E;AAC1E,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B,qFAAqF;AACrF,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAE1C,mFAAmF;AACnF,eAAO,MAAM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AAW,gBAAgB;IAC/B,IAAI,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC1C,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,KAAK,CAAC,cAAc,CAAC,EACnC,iBAAiB,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,iBAAiB,KAAK,IAAI,KAAK,IAAI,GAC7E,gBAAgB,CAiClB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One emoji that every supported computer can draw as a map icon: a single
|
|
3
|
+
* pictograph (optionally with its emoji-style selector) or a keycap, from
|
|
4
|
+
* Emoji 12.1 or earlier. Flags (Windows shows them as two letters), skin
|
|
5
|
+
* tones and joined sequences (drawn as several glyphs where the font lacks
|
|
6
|
+
* the sequence) are not portable.
|
|
7
|
+
*/
|
|
8
|
+
export declare function isPortableEmoji(value: unknown): value is string;
|
|
9
|
+
//# sourceMappingURL=portable-emoji.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portable-emoji.d.ts","sourceRoot":"","sources":["../../../client/src/lib/portable-emoji.ts"],"names":[],"mappings":"AAoCA;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAU/D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Layer } from '
|
|
1
|
+
import type { Layer } from '../components/layers-panel.js';
|
|
2
2
|
import { type CustomLayerRole } from './custom-layer-stack';
|
|
3
3
|
import { type PaintContext } from './paint-feature';
|
|
4
4
|
/** The MapLibre side of a pass, so the pass itself stays testable in node. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octostar/map-component",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "MapLibre-based map editor component",
|
|
@@ -143,6 +143,7 @@
|
|
|
143
143
|
"recharts": "^2.15.2",
|
|
144
144
|
"tailwindcss": "^3.4.17",
|
|
145
145
|
"tailwindcss-animate": "^1.0.7",
|
|
146
|
+
"tsc-alias": "1.9.10",
|
|
146
147
|
"tsx": "^4.20.5",
|
|
147
148
|
"tw-animate-css": "^1.2.5",
|
|
148
149
|
"typescript": "5.6.3",
|
|
@@ -177,7 +178,8 @@
|
|
|
177
178
|
"scripts": {
|
|
178
179
|
"dev": "NODE_ENV=development tsx server/index.ts",
|
|
179
180
|
"build": "tsx script/build.ts",
|
|
180
|
-
"build:lib": "vite build --config vite.config.lib.ts && tsc -p tsconfig.build.json",
|
|
181
|
+
"build:lib": "vite build --config vite.config.lib.ts && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
182
|
+
"check:host-types": "node scripts/check-host-types.mjs",
|
|
181
183
|
"start": "NODE_ENV=production node dist-app/index.cjs",
|
|
182
184
|
"check": "tsc",
|
|
183
185
|
"typecheck": "tsc --noEmit",
|