@arcgis/map-components 5.1.0-next.124 → 5.1.0-next.125
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/K4QY44EL.js +2 -0
- package/dist/cdn/{XYUG5M3W.js → T6JFYEP2.js} +1 -1
- package/dist/cdn/YJT2XNV5.js +2 -0
- package/dist/cdn/ZJINX5IW.js +2 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
- package/dist/components/arcgis-daylight/customElement.js +34 -27
- package/dist/components/arcgis-feature-templates/customElement.d.ts +10 -8
- package/dist/components/arcgis-feature-templates/customElement.js +198 -247
- package/dist/components/arcgis-layer-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +319 -32
- package/dist/components/arcgis-layer-list-next/customElement.js +5 -1
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +2 -2
- package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
- package/dist/components/arcgis-template-image/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +21 -20
- package/dist/components/arcgis-version-management/index.js +1 -0
- 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/package.json +5 -5
- package/dist/cdn/DZMN2UH5.js +0 -2
- package/dist/cdn/GMOWIPQL.js +0 -2
- package/dist/cdn/OCMGQ4AF.js +0 -2
- package/dist/components/arcgis-feature-templates/TemplateItem.d.ts +0 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
4
|
-
import type
|
|
4
|
+
import type TemplateListItem from "@arcgis/core/editing/templates/TemplateListItem.js";
|
|
5
5
|
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
6
6
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
7
7
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
@@ -28,6 +28,7 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
28
28
|
polygon: string;
|
|
29
29
|
extent: string;
|
|
30
30
|
mesh: string;
|
|
31
|
+
filterPlaceholder: string;
|
|
31
32
|
noneSpecified: string;
|
|
32
33
|
removeFavorite: string;
|
|
33
34
|
removeRecent: string;
|
|
@@ -48,6 +49,7 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
48
49
|
polygon: string;
|
|
49
50
|
extent: string;
|
|
50
51
|
mesh: string;
|
|
52
|
+
filterPlaceholder: string;
|
|
51
53
|
noneSpecified: string;
|
|
52
54
|
removeFavorite: string;
|
|
53
55
|
removeRecent: string;
|
|
@@ -58,9 +60,9 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
58
60
|
noMatchingTemplates: string;
|
|
59
61
|
}>;
|
|
60
62
|
/** Provide a function to dynamically enable or disable templates in the component. */
|
|
61
|
-
accessor applicationDisabledFunction: ((template:
|
|
63
|
+
accessor applicationDisabledFunction: ((template: TemplateListItem) => boolean) | undefined;
|
|
62
64
|
/** Provide a function to dynamically hide/remove templates from the component. */
|
|
63
|
-
accessor applicationFilterFunction: ((template:
|
|
65
|
+
accessor applicationFilterFunction: ((template: TemplateListItem) => boolean) | undefined;
|
|
64
66
|
/** Provide a list of sections and templates. If not supplied, the component will load the templates from the layers in the view. */
|
|
65
67
|
accessor applicationTemplates: Array<ITemplateSection> | undefined;
|
|
66
68
|
/**
|
|
@@ -132,7 +134,7 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
132
134
|
*/
|
|
133
135
|
accessor groupBy: "geometry" | "layer";
|
|
134
136
|
/** If a group by function is supplied, then the templates will be grouped by this function. */
|
|
135
|
-
accessor groupByFunction: ((template:
|
|
137
|
+
accessor groupByFunction: ((template: TemplateListItem) => string) | undefined;
|
|
136
138
|
/**
|
|
137
139
|
* Determine if the template description should be displayed
|
|
138
140
|
*
|
|
@@ -194,7 +196,7 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
194
196
|
/** If provided, this function can be used to re-order the sections. */
|
|
195
197
|
accessor sectionSortByFunction: ((sections: ITemplateSection[]) => ITemplateSection[]) | undefined;
|
|
196
198
|
/** Currently selected template */
|
|
197
|
-
get selectedTemplate():
|
|
199
|
+
get selectedTemplate(): TemplateListItem | undefined;
|
|
198
200
|
/** Currently selected template id */
|
|
199
201
|
accessor selectedTemplateId: string | undefined;
|
|
200
202
|
/**
|
|
@@ -226,7 +228,7 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
226
228
|
*/
|
|
227
229
|
accessor templateSortBy: "alphabetical" | "system";
|
|
228
230
|
/** If provided, this function can be used to re-order the templates. */
|
|
229
|
-
accessor templateSortByFunction: ((templates:
|
|
231
|
+
accessor templateSortByFunction: ((templates: TemplateListItem[]) => TemplateListItem[]) | undefined;
|
|
230
232
|
/**
|
|
231
233
|
* Determine if the templates list is updating.
|
|
232
234
|
*
|
|
@@ -245,7 +247,7 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
245
247
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
246
248
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
247
249
|
/** The user has selected a template */
|
|
248
|
-
readonly arcgisSelectTemplate: import("@arcgis/lumina").TargetedEvent<this, { template:
|
|
250
|
+
readonly arcgisSelectTemplate: import("@arcgis/lumina").TargetedEvent<this, { template: TemplateListItem; }>;
|
|
249
251
|
/** The source of templates has changed. */
|
|
250
252
|
readonly arcgisTemplatesChanged: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
251
253
|
readonly "@eventTypes": {
|
|
@@ -271,5 +273,5 @@ export type ITemplateSection = {
|
|
|
271
273
|
*/
|
|
272
274
|
autoTranslate?: boolean;
|
|
273
275
|
/** List of Template items in the section */
|
|
274
|
-
templates:
|
|
276
|
+
templates: TemplateListItem[];
|
|
275
277
|
};
|