@arcgis/map-components 5.2.0-next.160 → 5.2.0-next.161
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/cdn/{N2HG34QB.js → GPZIOLOS.js} +1 -1
- package/dist/cdn/{SBIOND5K.js → HLHQ2ITC.js} +1 -1
- package/dist/cdn/{YPNJ5V4R.js → PP6ZNQKD.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
- package/dist/components/arcgis-floor-filter/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
- package/dist/components/arcgis-search/customElement.d.ts +1 -2
- package/dist/components/arcgis-selection-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +100 -20
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +0 -1
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +117 -29
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +10 -10
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +56 -9
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +6 -6
package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts
CHANGED
|
@@ -5,10 +5,48 @@ import type { UtilityNetworkTraceResultItemState } from "../arcgis-utility-netwo
|
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* The Utility Network Trace Functions Result Item component displays the
|
|
9
|
+
* [function results](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#globalFunctionResults)
|
|
10
|
+
* returned by a utility network trace. It displays function results in a table with the function
|
|
11
|
+
* [name](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/FunctionResult/#functionName)
|
|
12
|
+
* and [value](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/FunctionResult/#result).
|
|
13
|
+
* If a function name is unavailable, the component displays the function result's
|
|
14
|
+
* [network attribute name](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/FunctionResult/#networkAttributeName)
|
|
15
|
+
* and [function type](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/FunctionResult/#functionType).
|
|
16
|
+
* Function results without a network attribute name, function type, or result value are not displayed.
|
|
17
|
+
*
|
|
18
|
+
* Add this component directly to the default slot of [arcgis-utility-network-trace-results](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/).
|
|
19
|
+
* The parent supplies the required read-only
|
|
20
|
+
* [trace result](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-functions-result-item/#traceResult) property.
|
|
21
|
+
*
|
|
22
|
+
* By default, the [arcgis-utility-network-trace-results](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/) component displays the
|
|
23
|
+
* [aggregated geometry](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-aggregated-geometry-result-item/),
|
|
24
|
+
* [elements](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/), and
|
|
25
|
+
* [functions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-functions-result-item/) result items for the result types
|
|
26
|
+
* returned by the trace. Adding content to its default slot replaces all default result items. Add each result item
|
|
27
|
+
* that the custom configuration should display.
|
|
9
28
|
*
|
|
10
29
|
* @since 5.2
|
|
30
|
+
* @example
|
|
31
|
+
* The following example displays function results in a custom set of trace result items.
|
|
32
|
+
* Providing result items in the default slot replaces the parent's default result items.
|
|
33
|
+
* This example displays only function results.
|
|
34
|
+
* ```html
|
|
35
|
+
* <arcgis-map item-id="471eb0bf37074b1fbb972b1da70fb310">
|
|
36
|
+
* <arcgis-utility-network-trace-analysis slot="bottom-left">
|
|
37
|
+
* <arcgis-utility-network-trace-results slot="results">
|
|
38
|
+
* <arcgis-utility-network-trace-functions-result-item
|
|
39
|
+
* heading="Function summary"
|
|
40
|
+
* ></arcgis-utility-network-trace-functions-result-item>
|
|
41
|
+
* </arcgis-utility-network-trace-results>
|
|
42
|
+
* </arcgis-utility-network-trace-analysis>
|
|
43
|
+
* </arcgis-map>
|
|
44
|
+
* ```
|
|
11
45
|
* @see [Set up functions](https://doc.esri.com/en/arcgis-pro/latest/help/data/utility-network/configure-a-trace.html#CBB)
|
|
46
|
+
* @see [arcgis-utility-network-trace-results](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/)
|
|
47
|
+
* @see [arcgis-utility-network-trace-analysis](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/)
|
|
48
|
+
* @see [arcgis-utility-network-trace-aggregated-geometry-result-item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-aggregated-geometry-result-item/)
|
|
49
|
+
* @see [arcgis-utility-network-trace-elements-result-item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/)
|
|
12
50
|
*/
|
|
13
51
|
export abstract class ArcgisUtilityNetworkTraceFunctionsResultItem extends LitElement {
|
|
14
52
|
/** @internal */
|
|
@@ -47,7 +85,10 @@ export abstract class ArcgisUtilityNetworkTraceFunctionsResultItem extends LitEl
|
|
|
47
85
|
* @default false
|
|
48
86
|
*/
|
|
49
87
|
get emitsArcgisResultReady(): true;
|
|
50
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* The heading displayed above the function results table.
|
|
90
|
+
* If not specified or empty, the component uses its localized default heading.
|
|
91
|
+
*/
|
|
51
92
|
accessor heading: string | undefined;
|
|
52
93
|
/**
|
|
53
94
|
* Replace localized message strings with your own strings.
|
|
@@ -60,24 +101,30 @@ export abstract class ArcgisUtilityNetworkTraceFunctionsResultItem extends LitEl
|
|
|
60
101
|
labels?: { functionResults?: string | undefined; } | undefined;
|
|
61
102
|
};
|
|
62
103
|
/**
|
|
104
|
+
* The processing state of the functions result item.
|
|
105
|
+
* This property is always `"ready"` because function results require no processing.
|
|
106
|
+
*
|
|
63
107
|
* @default "ready"
|
|
64
|
-
* @internal
|
|
65
108
|
*/
|
|
66
109
|
get state(): UtilityNetworkTraceResultItemState;
|
|
67
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* The trace result containing the function results to display.
|
|
112
|
+
* The parent [arcgis-utility-network-trace-results](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/) component supplies this property.
|
|
113
|
+
*/
|
|
68
114
|
get traceResult(): TraceResult | undefined;
|
|
69
115
|
/**
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* @internal
|
|
116
|
+
* This method has no effect because the component creates no side effects while processing function results.
|
|
117
|
+
* Does not emit [@arcgisResultReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-functions-result-item/#event-arcgisResultReady).
|
|
74
118
|
*/
|
|
75
119
|
clearResult(): void;
|
|
76
120
|
/** Permanently destroy the component. */
|
|
77
121
|
destroy(): Promise<void>;
|
|
78
122
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
79
123
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
80
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* Fires when the component finishes processing the current trace result, including when the result contains no function results.
|
|
126
|
+
* Calling [clearResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-functions-result-item/#clearResult) does not emit this event.
|
|
127
|
+
*/
|
|
81
128
|
readonly arcgisResultReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
82
129
|
readonly "@eventTypes": {
|
|
83
130
|
arcgisPropertyChange: ArcgisUtilityNetworkTraceFunctionsResultItem["arcgisPropertyChange"]["detail"];
|