@emuanalytics/flow-rdf-ui 4.0.0 → 4.0.2
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/custom-elements.json +1738 -1738
- package/dist/index.cjs +73 -5
- package/dist/index.d.cts +14 -12
- package/dist/index.d.mts +14 -12
- package/dist/index.d.ts +14 -12
- package/dist/index.mjs +74 -6
- package/dist/vscode.html-custom-data.json +151 -151
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -13712,7 +13712,7 @@ class FlowUiMap extends FlowRdfElement {
|
|
|
13712
13712
|
});
|
|
13713
13713
|
}
|
|
13714
13714
|
/**
|
|
13715
|
-
* The underlying core
|
|
13715
|
+
* The underlying core FlowCoreMap instance. Note that this is
|
|
13716
13716
|
* `undefined` until the map has been initialized.
|
|
13717
13717
|
*/
|
|
13718
13718
|
get map() {
|
|
@@ -13721,7 +13721,7 @@ class FlowUiMap extends FlowRdfElement {
|
|
|
13721
13721
|
/**
|
|
13722
13722
|
* A promise that resolves to a map instance when the map has been initialized.
|
|
13723
13723
|
*
|
|
13724
|
-
* This is the safest way to retrieve the underlying core
|
|
13724
|
+
* This is the safest way to retrieve the underlying core FlowCoreMap instance before
|
|
13725
13725
|
* using its API.
|
|
13726
13726
|
*/
|
|
13727
13727
|
get initialized() {
|
|
@@ -13763,7 +13763,7 @@ class FlowUiMap extends FlowRdfElement {
|
|
|
13763
13763
|
const mapContainer = document.createElement("div");
|
|
13764
13764
|
mapContainer.slot = "map";
|
|
13765
13765
|
this.appendChild(mapContainer);
|
|
13766
|
-
const map = new flowRdfCore.
|
|
13766
|
+
const map = new flowRdfCore.FlowCoreMap({
|
|
13767
13767
|
id: this.mapId ?? `flow-map-${mapIdCounter++}`,
|
|
13768
13768
|
container: mapContainer,
|
|
13769
13769
|
baseStyle: this.baseStyle,
|
|
@@ -24716,7 +24716,7 @@ class FlowUiVisuallyHidden extends FlowRdfElement {
|
|
|
24716
24716
|
}
|
|
24717
24717
|
FlowUiVisuallyHidden.styles = styles;
|
|
24718
24718
|
|
|
24719
|
-
function registerComponents() {
|
|
24719
|
+
async function registerComponents() {
|
|
24720
24720
|
FlowUiAlert.define("flow-ui-alert");
|
|
24721
24721
|
FlowUiAnimation.define("flow-ui-animation");
|
|
24722
24722
|
FlowUiAvatar.define("flow-ui-avatar");
|
|
@@ -24782,9 +24782,77 @@ function registerComponents() {
|
|
|
24782
24782
|
FlowUiTreeItem.define("flow-ui-tree-item");
|
|
24783
24783
|
FlowUiTree.define("flow-ui-tree");
|
|
24784
24784
|
FlowUiVisuallyHidden.define("flow-ui-visually-hidden");
|
|
24785
|
+
return Promise.all([
|
|
24786
|
+
window.customElements.whenDefined("flow-ui-alert"),
|
|
24787
|
+
window.customElements.whenDefined("flow-ui-animation"),
|
|
24788
|
+
window.customElements.whenDefined("flow-ui-avatar"),
|
|
24789
|
+
window.customElements.whenDefined("flow-ui-badge"),
|
|
24790
|
+
window.customElements.whenDefined("flow-ui-breadcrumb-item"),
|
|
24791
|
+
window.customElements.whenDefined("flow-ui-breadcrumb"),
|
|
24792
|
+
window.customElements.whenDefined("flow-ui-button-group"),
|
|
24793
|
+
window.customElements.whenDefined("flow-ui-button"),
|
|
24794
|
+
window.customElements.whenDefined("flow-ui-calendar"),
|
|
24795
|
+
window.customElements.whenDefined("flow-ui-card"),
|
|
24796
|
+
window.customElements.whenDefined("flow-ui-carousel-item"),
|
|
24797
|
+
window.customElements.whenDefined("flow-ui-carousel"),
|
|
24798
|
+
window.customElements.whenDefined("flow-ui-chart"),
|
|
24799
|
+
window.customElements.whenDefined("flow-ui-checkbox"),
|
|
24800
|
+
window.customElements.whenDefined("flow-ui-color-mapper"),
|
|
24801
|
+
window.customElements.whenDefined("flow-ui-color-picker"),
|
|
24802
|
+
window.customElements.whenDefined("flow-ui-color-stop"),
|
|
24803
|
+
window.customElements.whenDefined("flow-ui-date-time-picker"),
|
|
24804
|
+
window.customElements.whenDefined("flow-ui-details"),
|
|
24805
|
+
window.customElements.whenDefined("flow-ui-dialog"),
|
|
24806
|
+
window.customElements.whenDefined("flow-ui-divider"),
|
|
24807
|
+
window.customElements.whenDefined("flow-ui-drawer"),
|
|
24808
|
+
window.customElements.whenDefined("flow-ui-dropdown"),
|
|
24809
|
+
window.customElements.whenDefined("flow-ui-gauge"),
|
|
24810
|
+
window.customElements.whenDefined("flow-ui-icon-button"),
|
|
24811
|
+
window.customElements.whenDefined("flow-ui-icon"),
|
|
24812
|
+
window.customElements.whenDefined("flow-ui-input"),
|
|
24813
|
+
window.customElements.whenDefined("flow-ui-map"),
|
|
24814
|
+
window.customElements.whenDefined("flow-ui-menu-item"),
|
|
24815
|
+
window.customElements.whenDefined("flow-ui-menu-label"),
|
|
24816
|
+
window.customElements.whenDefined("flow-ui-menu"),
|
|
24817
|
+
window.customElements.whenDefined("flow-ui-mutation-observer"),
|
|
24818
|
+
window.customElements.whenDefined("flow-ui-option"),
|
|
24819
|
+
window.customElements.whenDefined("flow-ui-panel-header"),
|
|
24820
|
+
window.customElements.whenDefined("flow-ui-panel"),
|
|
24821
|
+
window.customElements.whenDefined("flow-ui-popup"),
|
|
24822
|
+
window.customElements.whenDefined("flow-ui-progress-bar"),
|
|
24823
|
+
window.customElements.whenDefined("flow-ui-progress-ring"),
|
|
24824
|
+
window.customElements.whenDefined("flow-ui-query-builder"),
|
|
24825
|
+
window.customElements.whenDefined("flow-ui-radio-group"),
|
|
24826
|
+
window.customElements.whenDefined("flow-ui-radio"),
|
|
24827
|
+
window.customElements.whenDefined("flow-ui-range"),
|
|
24828
|
+
window.customElements.whenDefined("flow-ui-resize-observer"),
|
|
24829
|
+
window.customElements.whenDefined("flow-ui-scroll-view"),
|
|
24830
|
+
window.customElements.whenDefined("flow-ui-select"),
|
|
24831
|
+
window.customElements.whenDefined("flow-ui-spinner"),
|
|
24832
|
+
window.customElements.whenDefined("flow-ui-split-view-divider"),
|
|
24833
|
+
window.customElements.whenDefined("flow-ui-split-view-pane"),
|
|
24834
|
+
window.customElements.whenDefined("flow-ui-split-view-toggle-button"),
|
|
24835
|
+
window.customElements.whenDefined("flow-ui-split-view"),
|
|
24836
|
+
window.customElements.whenDefined("flow-ui-stepper-panel"),
|
|
24837
|
+
window.customElements.whenDefined("flow-ui-stepper"),
|
|
24838
|
+
window.customElements.whenDefined("flow-ui-switch"),
|
|
24839
|
+
window.customElements.whenDefined("flow-ui-tab-group"),
|
|
24840
|
+
window.customElements.whenDefined("flow-ui-tab-panel"),
|
|
24841
|
+
window.customElements.whenDefined("flow-ui-tab"),
|
|
24842
|
+
window.customElements.whenDefined("flow-ui-tag"),
|
|
24843
|
+
window.customElements.whenDefined("flow-ui-textarea"),
|
|
24844
|
+
window.customElements.whenDefined("flow-ui-timer"),
|
|
24845
|
+
window.customElements.whenDefined("flow-ui-tool-button-group"),
|
|
24846
|
+
window.customElements.whenDefined("flow-ui-tool-button"),
|
|
24847
|
+
window.customElements.whenDefined("flow-ui-tooltip"),
|
|
24848
|
+
window.customElements.whenDefined("flow-ui-tree-item"),
|
|
24849
|
+
window.customElements.whenDefined("flow-ui-tree"),
|
|
24850
|
+
window.customElements.whenDefined("flow-ui-visually-hidden")
|
|
24851
|
+
]).then(() => {
|
|
24852
|
+
});
|
|
24785
24853
|
}
|
|
24786
24854
|
|
|
24787
|
-
const version = "4.0.
|
|
24855
|
+
const version = "4.0.2";
|
|
24788
24856
|
|
|
24789
24857
|
const CONSOLE_HIGHLIGHT_STYLE = `
|
|
24790
24858
|
padding: 2px 4px;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FlowCoreMap } from '@emuanalytics/flow-rdf-core';
|
|
2
2
|
import * as lit_html from 'lit-html';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { LitElement, CSSResultGroup, TemplateResult, ReactiveController, ReactiveControllerHost, PropertyValueMap } from 'lit';
|
|
@@ -191,7 +191,7 @@ declare global {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
type FlowMapLoadEvent = CustomEvent<{
|
|
194
|
-
map:
|
|
194
|
+
map: FlowCoreMap;
|
|
195
195
|
}>;
|
|
196
196
|
declare global {
|
|
197
197
|
interface GlobalEventHandlersEventMap {
|
|
@@ -1286,8 +1286,10 @@ declare const converter: FlowQueryBuilderConverter;
|
|
|
1286
1286
|
*
|
|
1287
1287
|
* This function is called automatically when using the `flow-rdf-angular`
|
|
1288
1288
|
* support library.
|
|
1289
|
+
*
|
|
1290
|
+
* @returns A promise that resolves when all custom elements have been defined.
|
|
1289
1291
|
*/
|
|
1290
|
-
declare function registerComponents(): void
|
|
1292
|
+
declare function registerComponents(): Promise<void>;
|
|
1291
1293
|
|
|
1292
1294
|
type FunctionParams<T> = T extends (...args: infer U) => string ? U : [];
|
|
1293
1295
|
interface Translation$1 {
|
|
@@ -3517,22 +3519,22 @@ declare global {
|
|
|
3517
3519
|
}
|
|
3518
3520
|
|
|
3519
3521
|
/**
|
|
3520
|
-
* This component wraps a `
|
|
3522
|
+
* This component wraps a `FlowCoreMap` instance from the flow-rdf-core library and
|
|
3521
3523
|
* provides access to its API.
|
|
3522
3524
|
*
|
|
3523
|
-
* The `map` property provides direct access to the underlying `
|
|
3525
|
+
* The `map` property provides direct access to the underlying `FlowCoreMap` instance.
|
|
3524
3526
|
*
|
|
3525
|
-
* The `initialized` property provides a promise that resolves to the `
|
|
3527
|
+
* The `initialized` property provides a promise that resolves to the `FlowCoreMap` once
|
|
3526
3528
|
* it has been initialized and is the safest way to access the map API.
|
|
3527
3529
|
*
|
|
3528
3530
|
* Convenience properties are provided for setting the base style, center, zoom, bearing, and pitch
|
|
3529
|
-
* of the map. These properties can be set to update the map or the `
|
|
3531
|
+
* of the map. These properties can be set to update the map or the `FlowCoreMap` API can be used directly.
|
|
3530
3532
|
*
|
|
3531
3533
|
*
|
|
3532
3534
|
* @tagname flow-ui-map
|
|
3533
3535
|
* @summary Display a Flo.w map.
|
|
3534
3536
|
*
|
|
3535
|
-
* @event {CustomEvent<{ map:
|
|
3537
|
+
* @event {CustomEvent<{ map: FlowCoreMap }>} flow-ui-map-load - Dispatched when the map is first initialized and has completed loading.
|
|
3536
3538
|
* The Flo.w Core map instance can be retrieved from the event `detail` property.
|
|
3537
3539
|
*
|
|
3538
3540
|
* @csspart base - The base element of the component.
|
|
@@ -3610,17 +3612,17 @@ declare class FlowUiMap extends FlowRdfElement {
|
|
|
3610
3612
|
*/
|
|
3611
3613
|
bearingSnap: number;
|
|
3612
3614
|
/**
|
|
3613
|
-
* The underlying core
|
|
3615
|
+
* The underlying core FlowCoreMap instance. Note that this is
|
|
3614
3616
|
* `undefined` until the map has been initialized.
|
|
3615
3617
|
*/
|
|
3616
|
-
get map():
|
|
3618
|
+
get map(): FlowCoreMap | undefined;
|
|
3617
3619
|
/**
|
|
3618
3620
|
* A promise that resolves to a map instance when the map has been initialized.
|
|
3619
3621
|
*
|
|
3620
|
-
* This is the safest way to retrieve the underlying core
|
|
3622
|
+
* This is the safest way to retrieve the underlying core FlowCoreMap instance before
|
|
3621
3623
|
* using its API.
|
|
3622
3624
|
*/
|
|
3623
|
-
get initialized(): Promise<
|
|
3625
|
+
get initialized(): Promise<FlowCoreMap>;
|
|
3624
3626
|
constructor();
|
|
3625
3627
|
/** @internal */
|
|
3626
3628
|
handleCenterChange(): void;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FlowCoreMap } from '@emuanalytics/flow-rdf-core';
|
|
2
2
|
import * as lit_html from 'lit-html';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { LitElement, CSSResultGroup, TemplateResult, ReactiveController, ReactiveControllerHost, PropertyValueMap } from 'lit';
|
|
@@ -191,7 +191,7 @@ declare global {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
type FlowMapLoadEvent = CustomEvent<{
|
|
194
|
-
map:
|
|
194
|
+
map: FlowCoreMap;
|
|
195
195
|
}>;
|
|
196
196
|
declare global {
|
|
197
197
|
interface GlobalEventHandlersEventMap {
|
|
@@ -1286,8 +1286,10 @@ declare const converter: FlowQueryBuilderConverter;
|
|
|
1286
1286
|
*
|
|
1287
1287
|
* This function is called automatically when using the `flow-rdf-angular`
|
|
1288
1288
|
* support library.
|
|
1289
|
+
*
|
|
1290
|
+
* @returns A promise that resolves when all custom elements have been defined.
|
|
1289
1291
|
*/
|
|
1290
|
-
declare function registerComponents(): void
|
|
1292
|
+
declare function registerComponents(): Promise<void>;
|
|
1291
1293
|
|
|
1292
1294
|
type FunctionParams<T> = T extends (...args: infer U) => string ? U : [];
|
|
1293
1295
|
interface Translation$1 {
|
|
@@ -3517,22 +3519,22 @@ declare global {
|
|
|
3517
3519
|
}
|
|
3518
3520
|
|
|
3519
3521
|
/**
|
|
3520
|
-
* This component wraps a `
|
|
3522
|
+
* This component wraps a `FlowCoreMap` instance from the flow-rdf-core library and
|
|
3521
3523
|
* provides access to its API.
|
|
3522
3524
|
*
|
|
3523
|
-
* The `map` property provides direct access to the underlying `
|
|
3525
|
+
* The `map` property provides direct access to the underlying `FlowCoreMap` instance.
|
|
3524
3526
|
*
|
|
3525
|
-
* The `initialized` property provides a promise that resolves to the `
|
|
3527
|
+
* The `initialized` property provides a promise that resolves to the `FlowCoreMap` once
|
|
3526
3528
|
* it has been initialized and is the safest way to access the map API.
|
|
3527
3529
|
*
|
|
3528
3530
|
* Convenience properties are provided for setting the base style, center, zoom, bearing, and pitch
|
|
3529
|
-
* of the map. These properties can be set to update the map or the `
|
|
3531
|
+
* of the map. These properties can be set to update the map or the `FlowCoreMap` API can be used directly.
|
|
3530
3532
|
*
|
|
3531
3533
|
*
|
|
3532
3534
|
* @tagname flow-ui-map
|
|
3533
3535
|
* @summary Display a Flo.w map.
|
|
3534
3536
|
*
|
|
3535
|
-
* @event {CustomEvent<{ map:
|
|
3537
|
+
* @event {CustomEvent<{ map: FlowCoreMap }>} flow-ui-map-load - Dispatched when the map is first initialized and has completed loading.
|
|
3536
3538
|
* The Flo.w Core map instance can be retrieved from the event `detail` property.
|
|
3537
3539
|
*
|
|
3538
3540
|
* @csspart base - The base element of the component.
|
|
@@ -3610,17 +3612,17 @@ declare class FlowUiMap extends FlowRdfElement {
|
|
|
3610
3612
|
*/
|
|
3611
3613
|
bearingSnap: number;
|
|
3612
3614
|
/**
|
|
3613
|
-
* The underlying core
|
|
3615
|
+
* The underlying core FlowCoreMap instance. Note that this is
|
|
3614
3616
|
* `undefined` until the map has been initialized.
|
|
3615
3617
|
*/
|
|
3616
|
-
get map():
|
|
3618
|
+
get map(): FlowCoreMap | undefined;
|
|
3617
3619
|
/**
|
|
3618
3620
|
* A promise that resolves to a map instance when the map has been initialized.
|
|
3619
3621
|
*
|
|
3620
|
-
* This is the safest way to retrieve the underlying core
|
|
3622
|
+
* This is the safest way to retrieve the underlying core FlowCoreMap instance before
|
|
3621
3623
|
* using its API.
|
|
3622
3624
|
*/
|
|
3623
|
-
get initialized(): Promise<
|
|
3625
|
+
get initialized(): Promise<FlowCoreMap>;
|
|
3624
3626
|
constructor();
|
|
3625
3627
|
/** @internal */
|
|
3626
3628
|
handleCenterChange(): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FlowCoreMap } from '@emuanalytics/flow-rdf-core';
|
|
2
2
|
import * as lit_html from 'lit-html';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { LitElement, CSSResultGroup, TemplateResult, ReactiveController, ReactiveControllerHost, PropertyValueMap } from 'lit';
|
|
@@ -191,7 +191,7 @@ declare global {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
type FlowMapLoadEvent = CustomEvent<{
|
|
194
|
-
map:
|
|
194
|
+
map: FlowCoreMap;
|
|
195
195
|
}>;
|
|
196
196
|
declare global {
|
|
197
197
|
interface GlobalEventHandlersEventMap {
|
|
@@ -1286,8 +1286,10 @@ declare const converter: FlowQueryBuilderConverter;
|
|
|
1286
1286
|
*
|
|
1287
1287
|
* This function is called automatically when using the `flow-rdf-angular`
|
|
1288
1288
|
* support library.
|
|
1289
|
+
*
|
|
1290
|
+
* @returns A promise that resolves when all custom elements have been defined.
|
|
1289
1291
|
*/
|
|
1290
|
-
declare function registerComponents(): void
|
|
1292
|
+
declare function registerComponents(): Promise<void>;
|
|
1291
1293
|
|
|
1292
1294
|
type FunctionParams<T> = T extends (...args: infer U) => string ? U : [];
|
|
1293
1295
|
interface Translation$1 {
|
|
@@ -3517,22 +3519,22 @@ declare global {
|
|
|
3517
3519
|
}
|
|
3518
3520
|
|
|
3519
3521
|
/**
|
|
3520
|
-
* This component wraps a `
|
|
3522
|
+
* This component wraps a `FlowCoreMap` instance from the flow-rdf-core library and
|
|
3521
3523
|
* provides access to its API.
|
|
3522
3524
|
*
|
|
3523
|
-
* The `map` property provides direct access to the underlying `
|
|
3525
|
+
* The `map` property provides direct access to the underlying `FlowCoreMap` instance.
|
|
3524
3526
|
*
|
|
3525
|
-
* The `initialized` property provides a promise that resolves to the `
|
|
3527
|
+
* The `initialized` property provides a promise that resolves to the `FlowCoreMap` once
|
|
3526
3528
|
* it has been initialized and is the safest way to access the map API.
|
|
3527
3529
|
*
|
|
3528
3530
|
* Convenience properties are provided for setting the base style, center, zoom, bearing, and pitch
|
|
3529
|
-
* of the map. These properties can be set to update the map or the `
|
|
3531
|
+
* of the map. These properties can be set to update the map or the `FlowCoreMap` API can be used directly.
|
|
3530
3532
|
*
|
|
3531
3533
|
*
|
|
3532
3534
|
* @tagname flow-ui-map
|
|
3533
3535
|
* @summary Display a Flo.w map.
|
|
3534
3536
|
*
|
|
3535
|
-
* @event {CustomEvent<{ map:
|
|
3537
|
+
* @event {CustomEvent<{ map: FlowCoreMap }>} flow-ui-map-load - Dispatched when the map is first initialized and has completed loading.
|
|
3536
3538
|
* The Flo.w Core map instance can be retrieved from the event `detail` property.
|
|
3537
3539
|
*
|
|
3538
3540
|
* @csspart base - The base element of the component.
|
|
@@ -3610,17 +3612,17 @@ declare class FlowUiMap extends FlowRdfElement {
|
|
|
3610
3612
|
*/
|
|
3611
3613
|
bearingSnap: number;
|
|
3612
3614
|
/**
|
|
3613
|
-
* The underlying core
|
|
3615
|
+
* The underlying core FlowCoreMap instance. Note that this is
|
|
3614
3616
|
* `undefined` until the map has been initialized.
|
|
3615
3617
|
*/
|
|
3616
|
-
get map():
|
|
3618
|
+
get map(): FlowCoreMap | undefined;
|
|
3617
3619
|
/**
|
|
3618
3620
|
* A promise that resolves to a map instance when the map has been initialized.
|
|
3619
3621
|
*
|
|
3620
|
-
* This is the safest way to retrieve the underlying core
|
|
3622
|
+
* This is the safest way to retrieve the underlying core FlowCoreMap instance before
|
|
3621
3623
|
* using its API.
|
|
3622
3624
|
*/
|
|
3623
|
-
get initialized(): Promise<
|
|
3625
|
+
get initialized(): Promise<FlowCoreMap>;
|
|
3624
3626
|
constructor();
|
|
3625
3627
|
/** @internal */
|
|
3626
3628
|
handleCenterChange(): void;
|
package/dist/index.mjs
CHANGED
|
@@ -19,7 +19,7 @@ import { choose } from 'lit/directives/choose.js';
|
|
|
19
19
|
import { autoUpdate, offset, size, flip as flip$1, shift, arrow, platform, computePosition } from '@floating-ui/dom';
|
|
20
20
|
import { offsetParent } from 'composed-offset-position';
|
|
21
21
|
import { formatLocale, format } from 'd3-format';
|
|
22
|
-
import {
|
|
22
|
+
import { FlowCoreMap } from '@emuanalytics/flow-rdf-core';
|
|
23
23
|
import cloneDeep from 'clone-deep';
|
|
24
24
|
import { OverlayScrollbars } from 'overlayscrollbars';
|
|
25
25
|
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
@@ -13706,7 +13706,7 @@ class FlowUiMap extends FlowRdfElement {
|
|
|
13706
13706
|
});
|
|
13707
13707
|
}
|
|
13708
13708
|
/**
|
|
13709
|
-
* The underlying core
|
|
13709
|
+
* The underlying core FlowCoreMap instance. Note that this is
|
|
13710
13710
|
* `undefined` until the map has been initialized.
|
|
13711
13711
|
*/
|
|
13712
13712
|
get map() {
|
|
@@ -13715,7 +13715,7 @@ class FlowUiMap extends FlowRdfElement {
|
|
|
13715
13715
|
/**
|
|
13716
13716
|
* A promise that resolves to a map instance when the map has been initialized.
|
|
13717
13717
|
*
|
|
13718
|
-
* This is the safest way to retrieve the underlying core
|
|
13718
|
+
* This is the safest way to retrieve the underlying core FlowCoreMap instance before
|
|
13719
13719
|
* using its API.
|
|
13720
13720
|
*/
|
|
13721
13721
|
get initialized() {
|
|
@@ -13757,7 +13757,7 @@ class FlowUiMap extends FlowRdfElement {
|
|
|
13757
13757
|
const mapContainer = document.createElement("div");
|
|
13758
13758
|
mapContainer.slot = "map";
|
|
13759
13759
|
this.appendChild(mapContainer);
|
|
13760
|
-
const map = new
|
|
13760
|
+
const map = new FlowCoreMap({
|
|
13761
13761
|
id: this.mapId ?? `flow-map-${mapIdCounter++}`,
|
|
13762
13762
|
container: mapContainer,
|
|
13763
13763
|
baseStyle: this.baseStyle,
|
|
@@ -24710,7 +24710,7 @@ class FlowUiVisuallyHidden extends FlowRdfElement {
|
|
|
24710
24710
|
}
|
|
24711
24711
|
FlowUiVisuallyHidden.styles = styles;
|
|
24712
24712
|
|
|
24713
|
-
function registerComponents() {
|
|
24713
|
+
async function registerComponents() {
|
|
24714
24714
|
FlowUiAlert.define("flow-ui-alert");
|
|
24715
24715
|
FlowUiAnimation.define("flow-ui-animation");
|
|
24716
24716
|
FlowUiAvatar.define("flow-ui-avatar");
|
|
@@ -24776,9 +24776,77 @@ function registerComponents() {
|
|
|
24776
24776
|
FlowUiTreeItem.define("flow-ui-tree-item");
|
|
24777
24777
|
FlowUiTree.define("flow-ui-tree");
|
|
24778
24778
|
FlowUiVisuallyHidden.define("flow-ui-visually-hidden");
|
|
24779
|
+
return Promise.all([
|
|
24780
|
+
window.customElements.whenDefined("flow-ui-alert"),
|
|
24781
|
+
window.customElements.whenDefined("flow-ui-animation"),
|
|
24782
|
+
window.customElements.whenDefined("flow-ui-avatar"),
|
|
24783
|
+
window.customElements.whenDefined("flow-ui-badge"),
|
|
24784
|
+
window.customElements.whenDefined("flow-ui-breadcrumb-item"),
|
|
24785
|
+
window.customElements.whenDefined("flow-ui-breadcrumb"),
|
|
24786
|
+
window.customElements.whenDefined("flow-ui-button-group"),
|
|
24787
|
+
window.customElements.whenDefined("flow-ui-button"),
|
|
24788
|
+
window.customElements.whenDefined("flow-ui-calendar"),
|
|
24789
|
+
window.customElements.whenDefined("flow-ui-card"),
|
|
24790
|
+
window.customElements.whenDefined("flow-ui-carousel-item"),
|
|
24791
|
+
window.customElements.whenDefined("flow-ui-carousel"),
|
|
24792
|
+
window.customElements.whenDefined("flow-ui-chart"),
|
|
24793
|
+
window.customElements.whenDefined("flow-ui-checkbox"),
|
|
24794
|
+
window.customElements.whenDefined("flow-ui-color-mapper"),
|
|
24795
|
+
window.customElements.whenDefined("flow-ui-color-picker"),
|
|
24796
|
+
window.customElements.whenDefined("flow-ui-color-stop"),
|
|
24797
|
+
window.customElements.whenDefined("flow-ui-date-time-picker"),
|
|
24798
|
+
window.customElements.whenDefined("flow-ui-details"),
|
|
24799
|
+
window.customElements.whenDefined("flow-ui-dialog"),
|
|
24800
|
+
window.customElements.whenDefined("flow-ui-divider"),
|
|
24801
|
+
window.customElements.whenDefined("flow-ui-drawer"),
|
|
24802
|
+
window.customElements.whenDefined("flow-ui-dropdown"),
|
|
24803
|
+
window.customElements.whenDefined("flow-ui-gauge"),
|
|
24804
|
+
window.customElements.whenDefined("flow-ui-icon-button"),
|
|
24805
|
+
window.customElements.whenDefined("flow-ui-icon"),
|
|
24806
|
+
window.customElements.whenDefined("flow-ui-input"),
|
|
24807
|
+
window.customElements.whenDefined("flow-ui-map"),
|
|
24808
|
+
window.customElements.whenDefined("flow-ui-menu-item"),
|
|
24809
|
+
window.customElements.whenDefined("flow-ui-menu-label"),
|
|
24810
|
+
window.customElements.whenDefined("flow-ui-menu"),
|
|
24811
|
+
window.customElements.whenDefined("flow-ui-mutation-observer"),
|
|
24812
|
+
window.customElements.whenDefined("flow-ui-option"),
|
|
24813
|
+
window.customElements.whenDefined("flow-ui-panel-header"),
|
|
24814
|
+
window.customElements.whenDefined("flow-ui-panel"),
|
|
24815
|
+
window.customElements.whenDefined("flow-ui-popup"),
|
|
24816
|
+
window.customElements.whenDefined("flow-ui-progress-bar"),
|
|
24817
|
+
window.customElements.whenDefined("flow-ui-progress-ring"),
|
|
24818
|
+
window.customElements.whenDefined("flow-ui-query-builder"),
|
|
24819
|
+
window.customElements.whenDefined("flow-ui-radio-group"),
|
|
24820
|
+
window.customElements.whenDefined("flow-ui-radio"),
|
|
24821
|
+
window.customElements.whenDefined("flow-ui-range"),
|
|
24822
|
+
window.customElements.whenDefined("flow-ui-resize-observer"),
|
|
24823
|
+
window.customElements.whenDefined("flow-ui-scroll-view"),
|
|
24824
|
+
window.customElements.whenDefined("flow-ui-select"),
|
|
24825
|
+
window.customElements.whenDefined("flow-ui-spinner"),
|
|
24826
|
+
window.customElements.whenDefined("flow-ui-split-view-divider"),
|
|
24827
|
+
window.customElements.whenDefined("flow-ui-split-view-pane"),
|
|
24828
|
+
window.customElements.whenDefined("flow-ui-split-view-toggle-button"),
|
|
24829
|
+
window.customElements.whenDefined("flow-ui-split-view"),
|
|
24830
|
+
window.customElements.whenDefined("flow-ui-stepper-panel"),
|
|
24831
|
+
window.customElements.whenDefined("flow-ui-stepper"),
|
|
24832
|
+
window.customElements.whenDefined("flow-ui-switch"),
|
|
24833
|
+
window.customElements.whenDefined("flow-ui-tab-group"),
|
|
24834
|
+
window.customElements.whenDefined("flow-ui-tab-panel"),
|
|
24835
|
+
window.customElements.whenDefined("flow-ui-tab"),
|
|
24836
|
+
window.customElements.whenDefined("flow-ui-tag"),
|
|
24837
|
+
window.customElements.whenDefined("flow-ui-textarea"),
|
|
24838
|
+
window.customElements.whenDefined("flow-ui-timer"),
|
|
24839
|
+
window.customElements.whenDefined("flow-ui-tool-button-group"),
|
|
24840
|
+
window.customElements.whenDefined("flow-ui-tool-button"),
|
|
24841
|
+
window.customElements.whenDefined("flow-ui-tooltip"),
|
|
24842
|
+
window.customElements.whenDefined("flow-ui-tree-item"),
|
|
24843
|
+
window.customElements.whenDefined("flow-ui-tree"),
|
|
24844
|
+
window.customElements.whenDefined("flow-ui-visually-hidden")
|
|
24845
|
+
]).then(() => {
|
|
24846
|
+
});
|
|
24779
24847
|
}
|
|
24780
24848
|
|
|
24781
|
-
const version = "4.0.
|
|
24849
|
+
const version = "4.0.2";
|
|
24782
24850
|
|
|
24783
24851
|
const CONSOLE_HIGHLIGHT_STYLE = `
|
|
24784
24852
|
padding: 2px 4px;
|