@mosaicajs/components 0.1.0-rc.4 → 0.1.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/dist/artifact-card.d.ts +20 -26
- package/dist/artifact-card.js +20 -26
- package/dist/base.d.ts +21 -29
- package/dist/base.js +18 -26
- package/dist/basemap.d.ts +2 -2
- package/dist/cluster-filter.d.ts +19 -25
- package/dist/cluster-filter.js +19 -25
- package/dist/colour-editor.d.ts +16 -36
- package/dist/colour-editor.js +16 -36
- package/dist/context.d.ts +4 -4
- package/dist/context.js +4 -4
- package/dist/count.d.ts +16 -15
- package/dist/count.js +16 -15
- package/dist/events.d.ts +63 -68
- package/dist/explorer.d.ts +76 -119
- package/dist/explorer.js +76 -121
- package/dist/field-card.d.ts +24 -56
- package/dist/field-card.js +24 -56
- package/dist/filter-panel.d.ts +31 -45
- package/dist/filter-panel.js +31 -45
- package/dist/filter.d.ts +20 -28
- package/dist/filter.js +20 -28
- package/dist/hierarchy.d.ts +35 -36
- package/dist/hierarchy.js +35 -36
- package/dist/index.d.ts +5 -4
- package/dist/index.js +5 -4
- package/dist/item-card.d.ts +34 -55
- package/dist/item-card.js +34 -55
- package/dist/key-picker.d.ts +5 -5
- package/dist/key-picker.js +5 -5
- package/dist/layer-picker.d.ts +11 -9
- package/dist/layer-picker.js +11 -9
- package/dist/map.d.ts +134 -172
- package/dist/map.js +136 -188
- package/dist/mosaica-components.js +5599 -1594
- package/dist/mosaica-components.js.LICENSE.txt +80 -16
- package/dist/mosaica-components.js.sri +1 -1
- package/dist/mosaica-components.json +2 -2
- package/dist/parts.d.ts +3 -4
- package/dist/parts.js +3 -4
- package/dist/selection.d.ts +21 -27
- package/dist/selection.js +21 -27
- package/dist/states.d.ts +15 -20
- package/dist/status.d.ts +26 -38
- package/dist/status.js +26 -38
- package/dist/store-element.d.ts +8 -7
- package/dist/store-element.js +8 -7
- package/dist/tokens.d.ts +12 -13
- package/dist/tokens.js +12 -13
- package/dist/view-picker.d.ts +10 -6
- package/dist/view-picker.js +10 -6
- package/package.json +6 -6
package/dist/explorer.d.ts
CHANGED
|
@@ -37,70 +37,31 @@ type Pinned = {
|
|
|
37
37
|
};
|
|
38
38
|
});
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* or takes a `store` property, and provides it by
|
|
44
|
-
* context to everything inside it, including elements a host puts in its slots.
|
|
40
|
+
* Use the explorer when you want a working map page without arranging the elements yourself. It
|
|
41
|
+
* gives the viewer a map with the filter panel, the status strip and a Layers popover, and it opens
|
|
42
|
+
* a card when they pick an item or a cluster or select a region.
|
|
45
43
|
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* several views the view's name is the view choice.
|
|
44
|
+
* Most of these parts have a slot, so you can put your own element in place of one of them. For a
|
|
45
|
+
* different arrangement, lay out the separate elements yourself.
|
|
49
46
|
*
|
|
50
|
-
* The
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* the map; `layout="overlay"` puts them in a card over the map's top-left, which scrolls inside
|
|
54
|
-
* itself when tall. The map's tools sit at the top-left of the map, right of the card in the
|
|
55
|
-
* overlay layout, with a Layers button beneath them. The status strip sits in the map's
|
|
56
|
-
* bottom-right.
|
|
47
|
+
* The explorer builds its store from `viewer-url` and `token` or `authorise`, unless you give it
|
|
48
|
+
* one in its `store` property. Every element inside it uses that store, including the ones you put
|
|
49
|
+
* in its slots.
|
|
57
50
|
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* other cards beside points. Where no side beside the point is clear, the card goes to the clear
|
|
62
|
-
* place nearest it. The card shows the headline, the `subtitle-field` field, the `card-fields`
|
|
63
|
-
* fields (else the first three), "Show all N fields", and Open where `open-url` or `open` says what
|
|
64
|
-
* it does. Show all grows the card as far as the map's height and the same things allow; past that
|
|
65
|
-
* the card scrolls. Picking another point replaces it unless Pin was pressed, which keeps it open;
|
|
66
|
-
* Close or Escape closes it and drops the selection, and a click on the map that finds nothing does
|
|
67
|
-
* the same for the card that is not pinned. Tab from the map goes to the card, which is named by
|
|
68
|
-
* its item's title and gives focus back to the map as it closes. A picked cluster's card behaves
|
|
69
|
-
* the same way. While a region is selected its card stands in the map's top-right corner, and where
|
|
70
|
-
* the map holds no position for the selection, as after following an item into another view, the
|
|
71
|
-
* item's card goes there too.
|
|
51
|
+
* `layout="docked"` puts the heading and the filter panel in a sidebar beside the map, and
|
|
52
|
+
* `layout="overlay"` puts them in a card over it. When the bundle offers more than one view or
|
|
53
|
+
* group of views, the heading holds the view picker so that viewers can switch between them.
|
|
72
54
|
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* when it is let go (`Store.setBudget`); while a `nested` or `dag` layer is drawn, Most clusters,
|
|
76
|
-
* a slider from `cluster-budget-min` to `cluster-budget-max` on a log scale that sets the most
|
|
77
|
-
* clusters such a layer is cut to when it is let go (`Store.setClusterBudget`); what sizes the
|
|
78
|
-
* points; and their opacity. Size by lists
|
|
79
|
-
* None and the number columns the points arrive with. Under None one Size slider sets every
|
|
80
|
-
* point's radius, which `hide-size` leaves out; under a column two sliders set the radii of its
|
|
81
|
-
* smallest and largest value, and a Linear, Log or Rank choice places values between them. Colour:
|
|
82
|
-
* Colour by, which lists None, every layer that can colour (a levelled layer once per level) and
|
|
83
|
-
* the rendered category and number columns; then for a layer or a category the palette, and for a
|
|
84
|
-
* number the ramp, Linear or Log and Reverse, unless `hide-palettes` is set. A layer's palette is
|
|
85
|
-
* the store's (`Store.setPalette`), whose size the clusters' slots are served for. While the
|
|
86
|
-
* points are coloured by a category or a layer, Edit colours opens `<mosaica-colour-editor>` over
|
|
87
|
-
* the page, listing the values or the clusters drawn (at the level coloured, on a levelled layer)
|
|
88
|
-
* with their colours to choose and reset, in an order that holds through a pan or a filter. A field card's paint button chooses Colour by too. Density: how density is drawn, at what resolution, in which
|
|
89
|
-
* colours and how strongly. Layers: the layer picker. The display settings are the explorer's properties of
|
|
90
|
-
* the same names, passed to its map. `pinned-filters` names the columns whose cards are listed
|
|
91
|
-
* before they hold a clause.
|
|
55
|
+
* A picked item's card opens beside its point and follows the point as the map moves. Picking
|
|
56
|
+
* another point replaces the card unless the viewer has pinned it.
|
|
92
57
|
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* one open before; the tools move to the bottom-left and the strip shortens its figures. In a
|
|
96
|
-
* container 720 px wide or narrower, the heading sits in a bar above the map, the status strip
|
|
97
|
-
* runs full width above a tab bar (Fields, Layers, Item), and each tab opens its panel as a sheet:
|
|
98
|
-
* the filter panel, folded as in the compact form; the Layers popover's sections; and the item
|
|
99
|
-
* card. The cards over the map are not drawn there.
|
|
58
|
+
* Each setting in the Layers popover is also an attribute of the explorer, so you can set it from
|
|
59
|
+
* HTML.
|
|
100
60
|
*
|
|
101
|
-
*
|
|
61
|
+
* Below 1000 px the explorer uses the overlay layout whatever `layout` says. At 720 px or less it
|
|
62
|
+
* opens its panels as sheets from a tab bar.
|
|
102
63
|
*
|
|
103
|
-
* @summary
|
|
64
|
+
* @summary A complete map application in a single element.
|
|
104
65
|
* @tagname mosaica-explorer
|
|
105
66
|
* @category Elements
|
|
106
67
|
* @slot toolbar - Replaces the view picker and the key picker.
|
|
@@ -115,9 +76,9 @@ type Pinned = {
|
|
|
115
76
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-pick']>} mosaica-pick - A point was clicked.
|
|
116
77
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-itemopen']>} mosaica-itemopen - The selected item's record arrived.
|
|
117
78
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-basemapchange']>} mosaica-basemapchange - The map's basemap refusal or note changed.
|
|
118
|
-
* @fires {CustomEvent<MosaicaEventDetails['mosaica-miss']>} mosaica-miss - A click on the map found nothing
|
|
79
|
+
* @fires {CustomEvent<MosaicaEventDetails['mosaica-miss']>} mosaica-miss - A click on the map found nothing. The explorer closes the unpinned card.
|
|
119
80
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-hover']>} mosaica-hover - The pointer moved over a point.
|
|
120
|
-
* @fires {CustomEvent<MosaicaEventDetails['mosaica-artifactopen']>} mosaica-artifactopen - An artifact was opened and its
|
|
81
|
+
* @fires {CustomEvent<MosaicaEventDetails['mosaica-artifactopen']>} mosaica-artifactopen - An artifact was opened and its details arrived.
|
|
121
82
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-selectchange']>} mosaica-selectchange - A selection was drawn, changed or cleared, or its counts arrived.
|
|
122
83
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-layerchange']>} mosaica-layerchange - The layers chosen changed.
|
|
123
84
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-colourchange']>} mosaica-colourchange - Colour by changed, in the Layers popover or by a card's paint button.
|
|
@@ -137,7 +98,7 @@ type Pinned = {
|
|
|
137
98
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-clausechange']>} mosaica-clausechange - A `member_of` clause was put on or taken off.
|
|
138
99
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-artifactfit']>} mosaica-artifactfit - Fit was pressed on the artifact card; the explorer fits its map to the artifact.
|
|
139
100
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-open']>} mosaica-open - Open was pressed on the item card.
|
|
140
|
-
* @fires {CustomEvent<MosaicaEventDetails['mosaica-close']>} mosaica-close - A card's close button was pressed
|
|
101
|
+
* @fires {CustomEvent<MosaicaEventDetails['mosaica-close']>} mosaica-close - A card's close button was pressed. The explorer closes the card and clears its selection.
|
|
141
102
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-viewswitch']>} mosaica-viewswitch - The view changed through the view or key picker.
|
|
142
103
|
* @fires {CustomEvent<MosaicaEventDetails['mosaica-viewfollow']>} mosaica-viewfollow - A view chip on the item card was pressed; the explorer switches to that view and centres on the item.
|
|
143
104
|
* @csspart frame - The explorer's grid.
|
|
@@ -182,8 +143,7 @@ type Pinned = {
|
|
|
182
143
|
* @csspart colour-option - An entry in the Colour by menu, with `data-value` (empty for None,
|
|
183
144
|
* `cluster:<layer>@<level>` for one level of a levelled layer) and `aria-checked`.
|
|
184
145
|
* @csspart palette - The Palette button, while the points are coloured by a layer or a category.
|
|
185
|
-
* @csspart palette-menu - The Palette menu, while it is open
|
|
186
|
-
* colours, its name and a line saying how many it has.
|
|
146
|
+
* @csspart palette-menu - The Palette menu, while it is open.
|
|
187
147
|
* @csspart palette-option - A palette in that menu, with `data-value` and `aria-checked`.
|
|
188
148
|
* @csspart edit-colours - The Edit colours button, enabled while the points are coloured by a
|
|
189
149
|
* category or a layer.
|
|
@@ -195,16 +155,16 @@ type Pinned = {
|
|
|
195
155
|
* @csspart ramp-reverse - The Reverse button, with `aria-pressed`.
|
|
196
156
|
* @csspart density-mode - The Density choice: None, Smooth, Hex, Grid and Lines, each with
|
|
197
157
|
* `data-mode` and `aria-checked`.
|
|
198
|
-
* @csspart density-resolution - The Resolution slider
|
|
199
|
-
*
|
|
200
|
-
* struck through, and the slider stops at the last one it can count.
|
|
158
|
+
* @csspart density-resolution - The Resolution slider for density's cell size, while density is
|
|
159
|
+
* drawn. Sizes finer than the server allows for the view are struck through.
|
|
201
160
|
* @csspart density-scale - The Linear and Log choice of density's colour scale, while density is
|
|
202
161
|
* drawn, each with `data-scale` and `aria-checked`.
|
|
203
162
|
* @csspart density-colours - The button that opens the list of density colours, while density is
|
|
204
163
|
* drawn in colours.
|
|
205
164
|
* @csspart density-strength - The Strength slider, while density is drawn.
|
|
206
|
-
* @csspart detail - The item or artifact card in the map's top-right corner,
|
|
207
|
-
* position
|
|
165
|
+
* @csspart detail - The item or artifact card in the map's top-right corner, used when the picked
|
|
166
|
+
* item or artifact has no position on the map, such as after following an item into another
|
|
167
|
+
* view.
|
|
208
168
|
* @csspart sheet - The open sheet, in the narrow layout.
|
|
209
169
|
* @csspart strip-row - The full-width status strip, in the narrow layout.
|
|
210
170
|
* @csspart tabs - The tab bar, in the narrow layout.
|
|
@@ -229,110 +189,107 @@ export declare class MosaicaExplorer extends MosaicaElement {
|
|
|
229
189
|
static styles: import("lit").CSSResult[];
|
|
230
190
|
protected canBuildOwn: boolean;
|
|
231
191
|
/**
|
|
232
|
-
* `docked
|
|
233
|
-
*
|
|
192
|
+
* `docked` puts the panels in a sidebar beside the map. `overlay` makes the map fill the element
|
|
193
|
+
* and puts the panels in a card over it.
|
|
234
194
|
*/
|
|
235
195
|
accessor layout: 'docked' | 'overlay';
|
|
236
196
|
/**
|
|
237
|
-
*
|
|
238
|
-
* Layers button and
|
|
239
|
-
* item and artifact cards). Defaults to all five.
|
|
240
|
-
* nothing.
|
|
197
|
+
* The regions to show, separated by spaces or commas: `toolbar` (the heading), `legend` (the
|
|
198
|
+
* Layers button and popover), `filters` (the filter panel), `selection` (the selected region's
|
|
199
|
+
* card) and `detail` (the item and artifact cards). Defaults to all five. Other names are ignored.
|
|
241
200
|
*/
|
|
242
201
|
accessor panels: string;
|
|
243
|
-
/**
|
|
202
|
+
/** What colours the points, as for `<mosaica-map>`'s `colour-by`. */
|
|
244
203
|
accessor colourBy: string;
|
|
245
|
-
/**
|
|
204
|
+
/** The annotation layers to draw, as for `<mosaica-map>`'s `layers`. */
|
|
246
205
|
accessor layers: string;
|
|
247
|
-
/**
|
|
206
|
+
/** The columns the hover tooltip shows, as for `<mosaica-map>`'s `tooltip-fields`. */
|
|
248
207
|
accessor tooltipFields: string;
|
|
249
|
-
/** The field that titles a point
|
|
208
|
+
/** The field that titles a point in the hover tooltip and the item card. Unset, the title is the `mosaica_id`. */
|
|
250
209
|
accessor titleField: string;
|
|
251
|
-
/** The field the item card shows under its
|
|
210
|
+
/** The field the item card shows under its title. Unset, there is no subtitle. */
|
|
252
211
|
accessor subtitleField: string;
|
|
253
|
-
/**
|
|
212
|
+
/** The fields the item card shows before "Show all", in order, as for `<mosaica-item-card>`. Unset, the first three. */
|
|
254
213
|
accessor cardFields: string;
|
|
255
|
-
/**
|
|
214
|
+
/** The link template for the item card's Open button, as for `<mosaica-item-card>`. Without it or `open`, there is no Open button. */
|
|
256
215
|
accessor openUrl: string;
|
|
257
|
-
/**
|
|
216
|
+
/** A function the item card calls when Open is pressed, as for `<mosaica-item-card>`. Takes precedence over `open-url`. */
|
|
258
217
|
accessor open: MosaicaItemCard['open'];
|
|
259
218
|
/**
|
|
260
|
-
* How many marks to aim for on screen
|
|
261
|
-
*
|
|
262
|
-
* itself.
|
|
219
|
+
* How many marks to aim for on screen. `0` keeps the store's budget, which starts at 250000. Most
|
|
220
|
+
* points in the Layers popover changes the store's budget directly.
|
|
263
221
|
*/
|
|
264
222
|
accessor budget: number;
|
|
265
|
-
/** The
|
|
223
|
+
/** The lowest value of the Most points slider. */
|
|
266
224
|
accessor budgetMin: number;
|
|
267
|
-
/** The
|
|
225
|
+
/** The highest value of the Most points slider. */
|
|
268
226
|
accessor budgetMax: number;
|
|
269
227
|
/**
|
|
270
|
-
* The most clusters a `nested` or `dag` layer is cut to
|
|
271
|
-
*
|
|
228
|
+
* The most clusters a `nested` or `dag` layer is cut to; `0` removes the limit. Most clusters in
|
|
229
|
+
* the Layers popover changes it.
|
|
272
230
|
*/
|
|
273
231
|
accessor clusterBudget: number;
|
|
274
|
-
/** The
|
|
232
|
+
/** The lowest value of the Most clusters slider. */
|
|
275
233
|
accessor clusterBudgetMin: number;
|
|
276
|
-
/** The
|
|
234
|
+
/** The highest value of the Most clusters slider. */
|
|
277
235
|
accessor clusterBudgetMax: number;
|
|
278
236
|
/**
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
*
|
|
282
|
-
* with a map projection and nothing under one without.
|
|
237
|
+
* What is drawn under the points, as for `<mosaica-map>`'s `basemap`. The attribute takes `world`
|
|
238
|
+
* and `none`. Unset, a view with a map projection gets the world outline and any other view gets
|
|
239
|
+
* nothing.
|
|
283
240
|
*/
|
|
284
241
|
accessor basemap: BasemapChoice | null;
|
|
285
|
-
/**
|
|
242
|
+
/** Hides the points. The Points switch in the Layers popover changes it. */
|
|
286
243
|
accessor noPoints: boolean;
|
|
287
|
-
/**
|
|
244
|
+
/** A fixed point radius in pixels, as for `<mosaica-map>`. The Size slider in the Layers popover changes it. */
|
|
288
245
|
accessor radius: number | null;
|
|
289
|
-
/**
|
|
246
|
+
/** The number column that sizes the points, as for `<mosaica-map>`. Size by in the Layers popover changes it. */
|
|
290
247
|
accessor sizeBy: string;
|
|
291
|
-
/**
|
|
248
|
+
/** The radius of the smallest value under `size-by`. A slider in the Layers popover changes it. */
|
|
292
249
|
accessor sizeMin: number | null;
|
|
293
|
-
/**
|
|
250
|
+
/** The radius of the largest value under `size-by`. A slider in the Layers popover changes it. */
|
|
294
251
|
accessor sizeMax: number | null;
|
|
295
|
-
/**
|
|
252
|
+
/** How values are placed between the two sizes, as for `<mosaica-map>`. The Scale choice in the Layers popover changes it. */
|
|
296
253
|
accessor sizeScale: SizeScale | '';
|
|
297
|
-
/** Leaves the Size slider out of the Layers popover, for
|
|
254
|
+
/** Leaves the Size slider out of the Layers popover, for when you set `radius` yourself. */
|
|
298
255
|
accessor hideSize: boolean;
|
|
299
|
-
/**
|
|
256
|
+
/** A fixed point opacity from 0.1 to 1. The Opacity slider in the Layers popover changes it. */
|
|
300
257
|
accessor pointOpacity: number | null;
|
|
301
|
-
/**
|
|
258
|
+
/** How density is drawn, as for `<mosaica-map>`. The Density choice in the Layers popover changes it. */
|
|
302
259
|
accessor density: DensityMode;
|
|
303
|
-
/**
|
|
260
|
+
/** The colours density is drawn in, as for `<mosaica-map>`. The Colours choice in the Layers popover changes it. */
|
|
304
261
|
accessor densityColours: DensityColours | '';
|
|
305
|
-
/**
|
|
262
|
+
/** How strongly density is drawn, from 0.1 to 1. The Strength slider in the Layers popover changes it. */
|
|
306
263
|
accessor densityStrength: number;
|
|
307
264
|
/**
|
|
308
|
-
*
|
|
265
|
+
* The size of density's cells on screen, in CSS pixels, as for `<mosaica-map>`. The Resolution
|
|
309
266
|
* slider in the Layers popover changes it.
|
|
310
267
|
*/
|
|
311
268
|
accessor densityResolution: number;
|
|
312
|
-
/**
|
|
269
|
+
/** `linear` or `log` colouring of density counts. The Scale choice under Resolution in the Layers popover changes it. */
|
|
313
270
|
accessor densityScale: DensityScale;
|
|
314
271
|
/**
|
|
315
|
-
*
|
|
316
|
-
*
|
|
272
|
+
* The palette clusters are coloured from, as for `<mosaica-map>`. The Palette choice in the Colour
|
|
273
|
+
* section changes it while the points are coloured by a layer.
|
|
317
274
|
*/
|
|
318
275
|
accessor palette: PaletteName | '';
|
|
319
|
-
/**
|
|
276
|
+
/** The palette for colouring by a category column, as for `<mosaica-map>`. */
|
|
320
277
|
accessor categoryPalette: CategoryPaletteName | '';
|
|
321
|
-
/**
|
|
278
|
+
/** The colour ramp for colouring by a number column, as for `<mosaica-map>`. */
|
|
322
279
|
accessor ramp: RampName | '';
|
|
323
|
-
/**
|
|
280
|
+
/** How numbers are placed on the ramp, `linear` or `log`. */
|
|
324
281
|
accessor rampScale: RampScale | '';
|
|
325
|
-
/**
|
|
282
|
+
/** Runs the ramp from its high end to its low end. */
|
|
326
283
|
accessor rampReverse: boolean;
|
|
327
|
-
/**
|
|
284
|
+
/** Colours for individual category values, as for `<mosaica-map>`'s `valueColours`. */
|
|
328
285
|
accessor valueColours: Colouring['values'] | null;
|
|
329
|
-
/**
|
|
286
|
+
/** Colours for individual clusters, as for `<mosaica-map>`'s `clusterColours`. */
|
|
330
287
|
accessor clusterColours: Record<string, Record<string, string>> | null;
|
|
331
|
-
/** The dataset's title,
|
|
288
|
+
/** The dataset's title, shown as the heading above the view's name. Unset, the view's name is the heading. */
|
|
332
289
|
accessor datasetTitle: string;
|
|
333
|
-
/**
|
|
290
|
+
/** Columns whose field cards always show, even when they hold no filter, as for `<mosaica-filter-panel>`'s `pinned`. */
|
|
334
291
|
accessor pinnedFilters: string;
|
|
335
|
-
/** Leaves the palette and ramp choices out of the Colour section, for
|
|
292
|
+
/** Leaves the palette and ramp choices out of the Colour section, for when you set them yourself. */
|
|
336
293
|
accessor hidePalettes: boolean;
|
|
337
294
|
/** The menu open beside the Layers popover. @internal */
|
|
338
295
|
accessor menu: Menu | null;
|
|
@@ -394,7 +351,7 @@ export declare class MosaicaExplorer extends MosaicaElement {
|
|
|
394
351
|
disconnectedCallback(): void;
|
|
395
352
|
/** Dispose of the store the explorer built and of its map's GPU resources. */
|
|
396
353
|
dispose(): void;
|
|
397
|
-
/** The `<mosaica-map
|
|
354
|
+
/** The explorer's `<mosaica-map>`, for calling its methods such as `fit`, `fitTo` or `select`. */
|
|
398
355
|
get map(): MosaicaMap | null;
|
|
399
356
|
private has;
|
|
400
357
|
/** A press anywhere outside the Layers button, its popover and the Edit colours dialog it opens closes the popover. */
|