@arcgis/map-components 5.1.0-next.124 → 5.1.0-next.126

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.
Files changed (118) hide show
  1. package/dist/cdn/{TPIXZL2K.js → 43M5VJRC.js} +1 -1
  2. package/dist/cdn/{GD7MA2TO.js → AXN7G236.js} +1 -1
  3. package/dist/cdn/{3YM2QRWA.js → CE2RZQQW.js} +1 -1
  4. package/dist/cdn/{V4TZKP3Y.js → FEUJIJZD.js} +1 -1
  5. package/dist/cdn/FKUYUCZI.js +2 -0
  6. package/dist/cdn/GSSYRVP6.js +2 -0
  7. package/dist/cdn/K4QY44EL.js +2 -0
  8. package/dist/cdn/QDUGDBGL.js +2 -0
  9. package/dist/cdn/VF6XRFTD.js +2 -0
  10. package/dist/cdn/{XYM3N3G2.js → WL3M7M7U.js} +1 -1
  11. package/dist/cdn/{7SSL5FEN.js → XHF7LKTV.js} +1 -1
  12. package/dist/cdn/YJT2XNV5.js +2 -0
  13. package/dist/cdn/{HXG7STEU.js → YXFCBOAL.js} +1 -1
  14. package/dist/cdn/ZJINX5IW.js +2 -0
  15. package/dist/cdn/{7C32A3BK.js → ZJMD4XQE.js} +1 -1
  16. package/dist/cdn/ZRHYL7ZS.js +2 -0
  17. package/dist/cdn/assets/feature-templates/t9n/messages.ar.json +1 -1
  18. package/dist/cdn/assets/feature-templates/t9n/messages.bg.json +1 -1
  19. package/dist/cdn/assets/feature-templates/t9n/messages.bs.json +1 -1
  20. package/dist/cdn/assets/feature-templates/t9n/messages.ca.json +1 -1
  21. package/dist/cdn/assets/feature-templates/t9n/messages.cs.json +1 -1
  22. package/dist/cdn/assets/feature-templates/t9n/messages.da.json +1 -1
  23. package/dist/cdn/assets/feature-templates/t9n/messages.de.json +1 -1
  24. package/dist/cdn/assets/feature-templates/t9n/messages.el.json +1 -1
  25. package/dist/cdn/assets/feature-templates/t9n/messages.en.json +1 -1
  26. package/dist/cdn/assets/feature-templates/t9n/messages.es.json +1 -1
  27. package/dist/cdn/assets/feature-templates/t9n/messages.et.json +1 -1
  28. package/dist/cdn/assets/feature-templates/t9n/messages.fi.json +1 -1
  29. package/dist/cdn/assets/feature-templates/t9n/messages.fr.json +1 -1
  30. package/dist/cdn/assets/feature-templates/t9n/messages.he.json +1 -1
  31. package/dist/cdn/assets/feature-templates/t9n/messages.hr.json +1 -1
  32. package/dist/cdn/assets/feature-templates/t9n/messages.hu.json +1 -1
  33. package/dist/cdn/assets/feature-templates/t9n/messages.id.json +1 -1
  34. package/dist/cdn/assets/feature-templates/t9n/messages.it.json +1 -1
  35. package/dist/cdn/assets/feature-templates/t9n/messages.ja.json +1 -1
  36. package/dist/cdn/assets/feature-templates/t9n/messages.ko.json +1 -1
  37. package/dist/cdn/assets/feature-templates/t9n/messages.lt.json +1 -1
  38. package/dist/cdn/assets/feature-templates/t9n/messages.lv.json +1 -1
  39. package/dist/cdn/assets/feature-templates/t9n/messages.nl.json +1 -1
  40. package/dist/cdn/assets/feature-templates/t9n/messages.no.json +1 -1
  41. package/dist/cdn/assets/feature-templates/t9n/messages.pl.json +1 -1
  42. package/dist/cdn/assets/feature-templates/t9n/messages.pt-BR.json +1 -1
  43. package/dist/cdn/assets/feature-templates/t9n/messages.pt-PT.json +1 -1
  44. package/dist/cdn/assets/feature-templates/t9n/messages.ro.json +1 -1
  45. package/dist/cdn/assets/feature-templates/t9n/messages.ru.json +1 -1
  46. package/dist/cdn/assets/feature-templates/t9n/messages.sk.json +1 -1
  47. package/dist/cdn/assets/feature-templates/t9n/messages.sl.json +1 -1
  48. package/dist/cdn/assets/feature-templates/t9n/messages.sr.json +1 -1
  49. package/dist/cdn/assets/feature-templates/t9n/messages.sv.json +1 -1
  50. package/dist/cdn/assets/feature-templates/t9n/messages.th.json +1 -1
  51. package/dist/cdn/assets/feature-templates/t9n/messages.tr.json +1 -1
  52. package/dist/cdn/assets/feature-templates/t9n/messages.uk.json +1 -1
  53. package/dist/cdn/assets/feature-templates/t9n/messages.vi.json +1 -1
  54. package/dist/cdn/assets/feature-templates/t9n/messages.zh-CN.json +1 -1
  55. package/dist/cdn/assets/feature-templates/t9n/messages.zh-HK.json +1 -1
  56. package/dist/cdn/assets/feature-templates/t9n/messages.zh-TW.json +1 -1
  57. package/dist/cdn/index.js +1 -1
  58. package/dist/chunks/time-utils.js +14 -14
  59. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
  60. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
  61. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
  62. package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
  63. package/dist/components/arcgis-daylight/customElement.js +242 -203
  64. package/dist/components/arcgis-directions/customElement.d.ts +1 -1
  65. package/dist/components/arcgis-editor/customElement.d.ts +1 -1
  66. package/dist/components/arcgis-feature/customElement.d.ts +1 -1
  67. package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
  68. package/dist/components/arcgis-feature-table/customElement.d.ts +1 -0
  69. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  70. package/dist/components/arcgis-feature-templates/customElement.d.ts +10 -8
  71. package/dist/components/arcgis-feature-templates/customElement.js +198 -247
  72. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +1 -1
  73. package/dist/components/arcgis-features-next/customElement.d.ts +7 -1
  74. package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
  75. package/dist/components/arcgis-fullscreen/customElement.d.ts +2 -2
  76. package/dist/components/arcgis-layer-list/customElement.d.ts +3 -0
  77. package/dist/components/arcgis-layer-list-next/customElement.d.ts +319 -32
  78. package/dist/components/arcgis-layer-list-next/customElement.js +5 -1
  79. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  80. package/dist/components/arcgis-legend/customElement.js +6 -6
  81. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  82. package/dist/components/arcgis-legend-classic-view/customElement.js +16 -16
  83. package/dist/components/arcgis-link-chart/customElement.d.ts +2 -2
  84. package/dist/components/arcgis-locate/customElement.d.ts +1 -1
  85. package/dist/components/arcgis-map/customElement.d.ts +49 -6
  86. package/dist/components/arcgis-paste/PasteViewModel.d.ts +2 -2
  87. package/dist/components/arcgis-popup/customElement.d.ts +8 -2
  88. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  89. package/dist/components/arcgis-scene/customElement.d.ts +3 -3
  90. package/dist/components/arcgis-search/customElement.d.ts +1 -1
  91. package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
  92. package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
  93. package/dist/components/arcgis-template-image/customElement.d.ts +2 -2
  94. package/dist/components/arcgis-template-image/customElement.js +25 -22
  95. package/dist/components/arcgis-template-image/index.js +1 -0
  96. package/dist/components/arcgis-time-slider/customElement.d.ts +6 -6
  97. package/dist/components/arcgis-track/customElement.d.ts +2 -2
  98. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +1 -1
  99. package/dist/components/arcgis-version-management/customElement.d.ts +9 -1
  100. package/dist/components/arcgis-version-management/customElement.js +21 -20
  101. package/dist/components/arcgis-version-management/index.js +1 -0
  102. package/dist/components/arcgis-video/customElement.d.ts +1 -1
  103. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  104. package/dist/components/arcgis-weather/customElement.js +96 -94
  105. package/dist/docs/api.json +1 -1
  106. package/dist/docs/docs.json +1 -1
  107. package/dist/docs/vscode.html-custom-data.json +1 -1
  108. package/dist/docs/web-types.json +1 -1
  109. package/package.json +5 -5
  110. package/dist/cdn/CH6EZH77.js +0 -2
  111. package/dist/cdn/DZMN2UH5.js +0 -2
  112. package/dist/cdn/GMOWIPQL.js +0 -2
  113. package/dist/cdn/GQTLJGQ6.js +0 -2
  114. package/dist/cdn/IQPGSWSL.js +0 -2
  115. package/dist/cdn/OCMGQ4AF.js +0 -2
  116. package/dist/cdn/XYUG5M3W.js +0 -2
  117. package/dist/cdn/Y7X7TMXK.js +0 -2
  118. package/dist/components/arcgis-feature-templates/TemplateItem.d.ts +0 -33
@@ -97,7 +97,7 @@ export abstract class ArcgisDirections extends LitElement {
97
97
  *
98
98
  * @default 2
99
99
  * @since 4.20
100
- * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
100
+ * @see [Heading Elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
101
101
  * @example
102
102
  * // address text will render as an <h3>
103
103
  * directions.headingLevel = 3;
@@ -43,7 +43,7 @@ export abstract class ArcgisEditor extends LitElement {
43
43
  *
44
44
  * @default 4
45
45
  * @since 4.20
46
- * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
46
+ * @see [Heading Elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
47
47
  * @example
48
48
  * // "Editor" will render as an <h3>
49
49
  * editor.headingLevel = 3;
@@ -113,7 +113,7 @@ export abstract class ArcgisFeature extends LitElement {
113
113
  * important for meeting accessibility standards.
114
114
  *
115
115
  * @default 2
116
- * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
116
+ * @see [Heading Elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
117
117
  * @example
118
118
  * ```
119
119
  * // feature title will render as an <h3>
@@ -127,7 +127,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
127
127
  *
128
128
  * @default 2
129
129
  * @since 4.20
130
- * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
130
+ * @see [Heading Elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
131
131
  * @example
132
132
  * // form title will render as an <h3>
133
133
  * // group element labels will render as an <h4>
@@ -596,6 +596,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
596
596
  * Use with `layerUrl` when the service contains multiple layers and you want to specify which layer to use.
597
597
  *
598
598
  * @since 5.1
599
+ * @internal
599
600
  */
600
601
  accessor layerId: number | undefined;
601
602
  /**
@@ -117,7 +117,7 @@ class y extends g {
117
117
  const i = this.layerUrl;
118
118
  if (i) {
119
119
  let r = i;
120
- this.layerId && (r = `${i}/${this.layerId}`);
120
+ typeof this.layerId == "number" && (r = `${i}/${this.layerId}`);
121
121
  const n = {
122
122
  url: r
123
123
  };
@@ -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 TemplateItem from "./TemplateItem.js";
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: TemplateItem) => boolean) | undefined;
63
+ accessor applicationDisabledFunction: ((template: TemplateListItem) => boolean) | undefined;
62
64
  /** Provide a function to dynamically hide/remove templates from the component. */
63
- accessor applicationFilterFunction: ((template: TemplateItem) => boolean) | undefined;
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: TemplateItem) => string) | undefined;
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(): TemplateItem | undefined;
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: TemplateItem[]) => TemplateItem[]) | undefined;
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: TemplateItem; }>;
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: TemplateItem[];
276
+ templates: TemplateListItem[];
275
277
  };