@arcgis/map-components 4.32.0-next.8 → 4.32.0-next.9

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 (212) hide show
  1. package/dist/arcgis-map-components/{GWM5YZJP.js → 26IYLFMW.js} +2 -2
  2. package/dist/arcgis-map-components/2NLVO2DQ.js +6 -0
  3. package/dist/arcgis-map-components/4DS67L3N.js +6 -0
  4. package/dist/arcgis-map-components/4U3MD2IE.js +6 -0
  5. package/dist/arcgis-map-components/5CG53WVB.js +6 -0
  6. package/dist/arcgis-map-components/5S45K6QF.js +6 -0
  7. package/dist/arcgis-map-components/5UPWC6GZ.js +6 -0
  8. package/dist/arcgis-map-components/5XDQP6JG.js +6 -0
  9. package/dist/arcgis-map-components/6B5KJD57.js +6 -0
  10. package/dist/arcgis-map-components/6I7U5UCS.js +6 -0
  11. package/dist/arcgis-map-components/A2A7Z4ID.js +6 -0
  12. package/dist/arcgis-map-components/AD7FBQ4W.js +6 -0
  13. package/dist/arcgis-map-components/AEPYAEVB.js +6 -0
  14. package/dist/arcgis-map-components/{QR3XASHQ.js → AJBMZJ46.js} +2 -2
  15. package/dist/arcgis-map-components/{FFBYYHGU.js → ASOVND72.js} +2 -2
  16. package/dist/arcgis-map-components/BDQRZM2Q.js +6 -0
  17. package/dist/arcgis-map-components/BW6XFJ64.js +6 -0
  18. package/dist/arcgis-map-components/BWSISUD3.js +6 -0
  19. package/dist/arcgis-map-components/CE427RF3.js +6 -0
  20. package/dist/arcgis-map-components/{IZYKFXP5.js → DR55OESP.js} +1 -1
  21. package/dist/arcgis-map-components/{43GCCQ4L.js → DZGDTHN3.js} +2 -2
  22. package/dist/arcgis-map-components/E5NA4STS.js +6 -0
  23. package/dist/arcgis-map-components/{WYLHKII6.js → ECNITWEN.js} +2 -2
  24. package/dist/arcgis-map-components/EP2NIALP.js +6 -0
  25. package/dist/arcgis-map-components/G6A2LTFS.js +6 -0
  26. package/dist/arcgis-map-components/GHMNH7PB.js +6 -0
  27. package/dist/arcgis-map-components/GOUTHFFW.js +6 -0
  28. package/dist/arcgis-map-components/H2SRIRSA.js +6 -0
  29. package/dist/arcgis-map-components/HHSIOPLT.js +6 -0
  30. package/dist/arcgis-map-components/I6MLF4MJ.js +6 -0
  31. package/dist/arcgis-map-components/IGEB3BAW.js +6 -0
  32. package/dist/arcgis-map-components/IWQWKCKH.js +6 -0
  33. package/dist/arcgis-map-components/{LNSQ32WQ.js → KJVDJ5OQ.js} +2 -2
  34. package/dist/arcgis-map-components/LDQ4VWNS.js +6 -0
  35. package/dist/arcgis-map-components/{5EP74C7X.js → LPX3CLLP.js} +2 -2
  36. package/dist/arcgis-map-components/LS5OI6R6.js +6 -0
  37. package/dist/arcgis-map-components/NJA3KSNJ.js +6 -0
  38. package/dist/arcgis-map-components/NYSPYER3.js +6 -0
  39. package/dist/arcgis-map-components/{FVFH5V4K.js → O37OVJBX.js} +2 -2
  40. package/dist/arcgis-map-components/OGAYYWBW.js +6 -0
  41. package/dist/arcgis-map-components/P3VFC5ZQ.js +6 -0
  42. package/dist/arcgis-map-components/PIXMMVWC.js +6 -0
  43. package/dist/arcgis-map-components/{EEZJ56IS.js → PPUMGJ6W.js} +1 -1
  44. package/dist/arcgis-map-components/PSV23ZT3.js +6 -0
  45. package/dist/arcgis-map-components/PUWJT4NL.js +6 -0
  46. package/dist/arcgis-map-components/Q5PZSLA2.js +6 -0
  47. package/dist/arcgis-map-components/QEXPZ2TP.js +6 -0
  48. package/dist/arcgis-map-components/{S2O4ZDWX.js → QLIW6OTC.js} +2 -2
  49. package/dist/arcgis-map-components/RBIF6BPB.js +6 -0
  50. package/dist/arcgis-map-components/RGW45NMO.js +6 -0
  51. package/dist/arcgis-map-components/{JNGQNCAL.js → RPGH4LB5.js} +2 -2
  52. package/dist/arcgis-map-components/{YBB23ALW.js → RW4HTOWG.js} +2 -2
  53. package/dist/arcgis-map-components/{HRNJIDAS.js → RYYEB6TZ.js} +2 -2
  54. package/dist/arcgis-map-components/S5FY5R2K.js +6 -0
  55. package/dist/arcgis-map-components/{Z6LBL5EZ.js → SB7AEVIC.js} +1 -1
  56. package/dist/arcgis-map-components/TQSVOK7C.js +6 -0
  57. package/dist/arcgis-map-components/{22TUFTJ3.js → TVJVBCTP.js} +2 -2
  58. package/dist/arcgis-map-components/UGW6Q5E5.js +6 -0
  59. package/dist/arcgis-map-components/{QZU4BCAM.js → UNA6PFSU.js} +2 -2
  60. package/dist/arcgis-map-components/V6CV3CBQ.js +6 -0
  61. package/dist/arcgis-map-components/{B4HPKENV.js → W2WPL3LZ.js} +2 -2
  62. package/dist/arcgis-map-components/{NNSDVBO7.js → WIFWKZMZ.js} +2 -2
  63. package/dist/arcgis-map-components/XDUFXVMY.js +6 -0
  64. package/dist/arcgis-map-components/{54YVOIIP.js → XQBJES6M.js} +1 -1
  65. package/dist/arcgis-map-components/XTHTIM4Q.js +6 -0
  66. package/dist/arcgis-map-components/XWWCB3F4.js +6 -0
  67. package/dist/arcgis-map-components/XXDM3O3A.js +6 -0
  68. package/dist/arcgis-map-components/{4XDOSD62.js → YONYTIVG.js} +2 -2
  69. package/dist/arcgis-map-components/{AJ64ANVX.js → Z4MFCZ54.js} +2 -2
  70. package/dist/arcgis-map-components/{HGVFIOAY.js → Z6SSMZQE.js} +2 -2
  71. package/dist/arcgis-map-components/ZLNOA2ME.js +6 -0
  72. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  73. package/dist/chunks/component-utils.js +1 -1
  74. package/dist/chunks/disconnected.js +1 -1
  75. package/dist/chunks/globalCss.js +1 -1
  76. package/dist/chunks/runtime.js +1 -1
  77. package/dist/chunks/useViewModel.js +1 -1
  78. package/dist/chunks/useWidget.js +1 -1
  79. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +7 -1
  80. package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -10
  81. package/dist/components/arcgis-area-measurement-3d/customElement.js +7 -3
  82. package/dist/components/arcgis-attachments/customElement.d.ts +7 -0
  83. package/dist/components/arcgis-attachments/customElement.js +11 -7
  84. package/dist/components/arcgis-basemap-gallery/customElement.js +10 -6
  85. package/dist/components/arcgis-basemap-layer-list/customElement.js +10 -6
  86. package/dist/components/arcgis-basemap-toggle/customElement.js +16 -12
  87. package/dist/components/arcgis-bookmarks/customElement.js +12 -8
  88. package/dist/components/arcgis-building-explorer/customElement.js +10 -6
  89. package/dist/components/arcgis-catalog-layer-list/customElement.js +10 -6
  90. package/dist/components/arcgis-compass/customElement.js +19 -12
  91. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -5
  92. package/dist/components/arcgis-coordinate-conversion/customElement.js +10 -6
  93. package/dist/components/arcgis-daylight/customElement.d.ts +7 -0
  94. package/dist/components/arcgis-daylight/customElement.js +12 -8
  95. package/dist/components/arcgis-directional-pad/customElement.js +12 -8
  96. package/dist/components/arcgis-directions/customElement.js +15 -11
  97. package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +7 -1
  98. package/dist/components/arcgis-directline-measurement-3d/customElement.js +10 -6
  99. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +0 -7
  100. package/dist/components/arcgis-distance-measurement-2d/customElement.js +14 -10
  101. package/dist/components/arcgis-editor/customElement.js +11 -7
  102. package/dist/components/arcgis-elevation-profile/customElement.js +10 -6
  103. package/dist/components/arcgis-expand/customElement.js +2 -2
  104. package/dist/components/arcgis-feature/customElement.js +18 -14
  105. package/dist/components/arcgis-feature-form/customElement.d.ts +7 -0
  106. package/dist/components/arcgis-feature-form/customElement.js +10 -6
  107. package/dist/components/arcgis-feature-table/customElement.js +5 -5
  108. package/dist/components/arcgis-feature-templates/customElement.d.ts +7 -0
  109. package/dist/components/arcgis-feature-templates/customElement.js +10 -6
  110. package/dist/components/arcgis-features/customElement.d.ts +7 -0
  111. package/dist/components/arcgis-features/customElement.js +10 -6
  112. package/dist/components/arcgis-floor-filter/customElement.d.ts +7 -0
  113. package/dist/components/arcgis-floor-filter/customElement.js +10 -6
  114. package/dist/components/arcgis-fullscreen/customElement.js +15 -11
  115. package/dist/components/arcgis-histogram/customElement.d.ts +7 -0
  116. package/dist/components/arcgis-histogram/customElement.js +10 -6
  117. package/dist/components/arcgis-histogram-range-slider/customElement.js +12 -8
  118. package/dist/components/arcgis-home/customElement.js +15 -11
  119. package/dist/components/arcgis-layer-list/customElement.js +10 -6
  120. package/dist/components/arcgis-legend/customElement.js +10 -6
  121. package/dist/components/arcgis-line-of-sight/customElement.js +12 -8
  122. package/dist/components/arcgis-locate/customElement.js +14 -10
  123. package/dist/components/arcgis-map/customElement.js +1 -1
  124. package/dist/components/arcgis-measurement/customElement.js +10 -6
  125. package/dist/components/arcgis-navigation-toggle/customElement.js +12 -8
  126. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +12 -8
  127. package/dist/components/arcgis-placement/customElement.js +1 -1
  128. package/dist/components/arcgis-print/customElement.js +10 -6
  129. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  130. package/dist/components/arcgis-scale-range-slider/customElement.js +10 -6
  131. package/dist/components/arcgis-scene/customElement.d.ts +18 -1
  132. package/dist/components/arcgis-scene/customElement.js +19 -2
  133. package/dist/components/arcgis-search/customElement.d.ts +7 -1
  134. package/dist/components/arcgis-search/customElement.js +10 -6
  135. package/dist/components/arcgis-shadow-cast/customElement.js +10 -6
  136. package/dist/components/arcgis-sketch/customElement.d.ts +7 -0
  137. package/dist/components/arcgis-sketch/customElement.js +12 -8
  138. package/dist/components/arcgis-slice/customElement.js +12 -8
  139. package/dist/components/arcgis-slider/customElement.js +1 -1
  140. package/dist/components/arcgis-swipe/customElement.js +1 -1
  141. package/dist/components/arcgis-table-list/customElement.js +14 -10
  142. package/dist/components/arcgis-time-slider/customElement.js +13 -9
  143. package/dist/components/arcgis-track/customElement.d.ts +1 -1
  144. package/dist/components/arcgis-track/customElement.js +13 -9
  145. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  146. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  147. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  148. package/dist/components/arcgis-value-picker/customElement.d.ts +0 -7
  149. package/dist/components/arcgis-value-picker/customElement.js +10 -6
  150. package/dist/components/arcgis-version-management/customElement.js +1 -1
  151. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  152. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  153. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  154. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  155. package/dist/components/arcgis-weather/customElement.js +12 -8
  156. package/dist/components/arcgis-zoom/customElement.js +7 -7
  157. package/dist/docs/docs.json +7 -7
  158. package/dist/docs/manifest.json +11 -11
  159. package/dist/docs/vscode.html-custom-data.json +4 -4
  160. package/dist/docs/web-types.json +9 -9
  161. package/dist/index.js +1 -1
  162. package/dist/loader.js +1 -1
  163. package/dist/types/components.d.ts +1 -5
  164. package/package.json +6 -6
  165. package/dist/arcgis-map-components/3QCCXS3H.js +0 -6
  166. package/dist/arcgis-map-components/3QPRNSBZ.js +0 -6
  167. package/dist/arcgis-map-components/4QUJJ2II.js +0 -6
  168. package/dist/arcgis-map-components/4TEHBDRX.js +0 -6
  169. package/dist/arcgis-map-components/4TQ6LVAO.js +0 -6
  170. package/dist/arcgis-map-components/57TW6U5N.js +0 -6
  171. package/dist/arcgis-map-components/74WRREWX.js +0 -6
  172. package/dist/arcgis-map-components/7ALDBQRZ.js +0 -6
  173. package/dist/arcgis-map-components/7MAUBIXS.js +0 -6
  174. package/dist/arcgis-map-components/7XINDKSI.js +0 -6
  175. package/dist/arcgis-map-components/B3CTFOJQ.js +0 -6
  176. package/dist/arcgis-map-components/B5BJ3LU3.js +0 -6
  177. package/dist/arcgis-map-components/BMOY4OXW.js +0 -6
  178. package/dist/arcgis-map-components/BZKJPHX5.js +0 -6
  179. package/dist/arcgis-map-components/CAXTP5IW.js +0 -6
  180. package/dist/arcgis-map-components/DGDEK5J4.js +0 -6
  181. package/dist/arcgis-map-components/FXYTJEWC.js +0 -6
  182. package/dist/arcgis-map-components/GAVVNSGK.js +0 -6
  183. package/dist/arcgis-map-components/GSXJTYIM.js +0 -6
  184. package/dist/arcgis-map-components/GUZOC3NU.js +0 -6
  185. package/dist/arcgis-map-components/IKBJQN6B.js +0 -6
  186. package/dist/arcgis-map-components/IVNTYVV6.js +0 -6
  187. package/dist/arcgis-map-components/JHJEXFRQ.js +0 -6
  188. package/dist/arcgis-map-components/JIS66VBD.js +0 -6
  189. package/dist/arcgis-map-components/KJYMAR7G.js +0 -6
  190. package/dist/arcgis-map-components/KLW55FLB.js +0 -6
  191. package/dist/arcgis-map-components/LAWFOVGI.js +0 -6
  192. package/dist/arcgis-map-components/LIIHMDYD.js +0 -6
  193. package/dist/arcgis-map-components/LJOXE4BX.js +0 -6
  194. package/dist/arcgis-map-components/LX3UECVC.js +0 -6
  195. package/dist/arcgis-map-components/MTJOGTKX.js +0 -6
  196. package/dist/arcgis-map-components/NAS3YJDX.js +0 -6
  197. package/dist/arcgis-map-components/NT4AWAXV.js +0 -6
  198. package/dist/arcgis-map-components/OJZQEYM5.js +0 -6
  199. package/dist/arcgis-map-components/RMWYYG25.js +0 -6
  200. package/dist/arcgis-map-components/SHHNWXJN.js +0 -6
  201. package/dist/arcgis-map-components/SXCBQQPX.js +0 -6
  202. package/dist/arcgis-map-components/T5Y7WYGJ.js +0 -6
  203. package/dist/arcgis-map-components/TE6YAHEH.js +0 -6
  204. package/dist/arcgis-map-components/U4Z5STVP.js +0 -6
  205. package/dist/arcgis-map-components/VOA22JK2.js +0 -6
  206. package/dist/arcgis-map-components/WNCBFKHY.js +0 -6
  207. package/dist/arcgis-map-components/WNUEJGKJ.js +0 -6
  208. package/dist/arcgis-map-components/YH24QDM4.js +0 -6
  209. package/dist/arcgis-map-components/ZD7SCHUX.js +0 -6
  210. package/dist/arcgis-map-components/ZDX7WO6G.js +0 -6
  211. package/dist/arcgis-map-components/ZG66MOWN.js +0 -6
  212. package/dist/arcgis-map-components/ZLIL7MJL.js +0 -6
@@ -1,15 +1,16 @@
1
1
  import { c as B } from "../../chunks/runtime.js";
2
2
  import { html as l } from "lit-html";
3
3
  import { g as b } from "../../chunks/globalCss.js";
4
- import { u as f, m as S } from "../../chunks/useViewModel.js";
4
+ import { u as f, m as x } from "../../chunks/useViewModel.js";
5
5
  import { classes as r } from "@arcgis/components-utils";
6
- import { load as T, usePropertyChange as x } from "@arcgis/components-controllers";
6
+ import { load as S, usePropertyChange as T } from "@arcgis/components-controllers";
7
7
  import { importApplicationsComponentsBasemapUtils as M, newWidgetsBasemapToggleBasemapToggleViewModel as k } from "@arcgis/core-adapter";
8
- import { LitElement as C, createEvent as I, noShadowRoot as A, safeClassMap as a, nothing as m, safeStyleMap as u } from "@arcgis/lumina";
8
+ import { LitElement as C, createEvent as I, noShadowRoot as A, safeClassMap as a, nothing as c, safeStyleMap as u } from "@arcgis/lumina";
9
+ import { css as L } from "@lit/reactive-element/css-tag.js";
9
10
  /*!
10
11
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
12
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
12
- * v4.32.0-next.8
13
+ * v4.32.0-next.9
13
14
  */
14
15
  const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
15
16
  base: s,
@@ -20,10 +21,10 @@ const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
20
21
  overlay: `${o}__overlay ${s}__image-overlay`,
21
22
  title: `${o}__title ${s}__title`,
22
23
  overlayScrim: `${o}__overlay-scrim`
23
- }, L = S(k);
24
- class U extends C {
24
+ }, U = L`arcgis-basemap-toggle{display:flex}`, D = x(k);
25
+ class E extends C {
25
26
  constructor() {
26
- super(...arguments), this.basemapUtils = T(M), this.messages = f(), this.viewModel = L(this), this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.icon = "layer-basemap", this.nextBasemap = this.viewModel.nextBasemap, this.position = "top-left", this.showTitle = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = x()("nextBasemap", "state"), this.arcgisReady = I();
27
+ super(...arguments), this.basemapUtils = S(M), this.messages = f(), this.viewModel = D(this), this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.icon = "layer-basemap", this.nextBasemap = this.viewModel.nextBasemap, this.position = "top-left", this.showTitle = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = T()("nextBasemap", "state"), this.arcgisReady = I();
27
28
  }
28
29
  static {
29
30
  this.properties = { activeBasemap: 0, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, nextBasemap: 0, position: 3, referenceElement: 1, showTitle: 5, state: 3 };
@@ -31,6 +32,9 @@ class U extends C {
31
32
  static {
32
33
  this.shadowRootOptions = A;
33
34
  }
35
+ static {
36
+ this.styles = U;
37
+ }
34
38
  // #endregion
35
39
  // #region Public Methods
36
40
  /** Permanently destroy the component */
@@ -50,13 +54,13 @@ class U extends C {
50
54
  // #endregion
51
55
  // #region Rendering
52
56
  render() {
53
- const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading", p = t.state === "incompatible-next-basemap", c = i?.title ?? "", d = i && i.loadStatus !== "loaded";
57
+ const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading", p = t.state === "incompatible-next-basemap", m = i?.title ?? "", d = i && i.loadStatus !== "loaded";
54
58
  let g;
55
- const h = this.showTitle && c, v = p, y = h || v, w = this._getThumbnailStyles(n), _ = this._getThumbnailStyles(i);
56
- return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${c ?? m}>${c}</span>` : null}${v ? l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference ?? m}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>` : null}</div>`), l`<div class=${a(r(e.base, b.widget))}><calcite-button appearance=transparent data-basemap-id=${(i ? i.id : "") ?? m} .disabled=${p} kind=neutral .label=${(this.label ?? void 0) || ""} @click=${() => void this.toggle()} title=${((this.label ?? void 0) || "") ?? m}><div class=${a(r(e.container, e.secondaryBasemapImage))}><div class=${a(e.image)} style=${u(w)}></div></div><div class=${a(e.container)}><div class=${a(r(e.image, d ? e.imageLoading : null))} style=${u(_)}>${d || $ ? l`<calcite-scrim><span aria-hidden=true class=${a(b.loaderAnimation)} role=presentation></span></calcite-scrim>` : null}</div>${g}</div></calcite-button></div>`;
59
+ const h = this.showTitle && m, v = p, y = h || v, w = this._getThumbnailStyles(n), _ = this._getThumbnailStyles(i);
60
+ return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${m ?? c}>${m}</span>` : null}${v ? l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference ?? c}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>` : null}</div>`), l`<div class=${a(r(e.base, b.widget))}><calcite-button appearance=transparent data-basemap-id=${(i ? i.id : "") ?? c} .disabled=${p} kind=neutral .label=${(this.label ?? void 0) || ""} @click=${() => void this.toggle()} title=${((this.label ?? void 0) || "") ?? c}><div class=${a(r(e.container, e.secondaryBasemapImage))}><div class=${a(e.image)} style=${u(w)}></div></div><div class=${a(e.container)}><div class=${a(r(e.image, d ? e.imageLoading : null))} style=${u(_)}>${d || $ ? l`<calcite-scrim><span aria-hidden=true class=${a(b.loaderAnimation)} role=presentation></span></calcite-scrim>` : null}</div>${g}</div></calcite-button></div>`;
57
61
  }
58
62
  }
59
- B("arcgis-basemap-toggle", U);
63
+ B("arcgis-basemap-toggle", E);
60
64
  export {
61
- U as ArcgisBasemapToggle
65
+ E as ArcgisBasemapToggle
62
66
  };
@@ -2,23 +2,27 @@ import { c as i } from "../../chunks/runtime.js";
2
2
  import { newWidgetsBookmarks as e } from "@arcgis/core-adapter";
3
3
  import { usePropertyChange as s } from "@arcgis/components-controllers";
4
4
  import { m as o } from "../../chunks/useWidget.js";
5
- import { LitElement as h, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
5
+ import { LitElement as a, createEvent as l, noShadowRoot as h } from "@arcgis/lumina";
6
6
  import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
7
+ import { css as d } from "@lit/reactive-element/css-tag.js";
7
8
  /*!
8
9
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
10
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- * v4.32.0-next.8
11
+ * v4.32.0-next.9
11
12
  */
12
- const d = o(e);
13
- class r extends h {
13
+ const r = d`arcgis-bookmarks{display:flex}`, n = o(e);
14
+ class m extends a {
14
15
  constructor() {
15
- super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.bookmarks = this.widget.bookmarks, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultEditOptions = this.widget.defaultEditOptions, this.disabled = this.widget.disabled, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.hideFlow = this.widget.visibleElements.flow, this.hideThumbnail = this.widget.visibleElements.thumbnail, this.hideTime = this.widget.visibleElements.time, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.showAddBookmarkButton = this.widget.visibleElements.addBookmarkButton, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditBookmarkButton = this.widget.visibleElements.editBookmarkButton, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.state = this.viewModel.state, this.arcgisEdit = t(() => this.widget, "bookmark-edit"), this.arcgisPropertyChange = s()("state"), this.arcgisReady = a(), this.arcgisSelect = t(() => this.widget, "bookmark-select");
16
+ super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.bookmarks = this.widget.bookmarks, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultEditOptions = this.widget.defaultEditOptions, this.disabled = this.widget.disabled, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.hideFlow = this.widget.visibleElements.flow, this.hideThumbnail = this.widget.visibleElements.thumbnail, this.hideTime = this.widget.visibleElements.time, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.showAddBookmarkButton = this.widget.visibleElements.addBookmarkButton, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditBookmarkButton = this.widget.visibleElements.editBookmarkButton, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.state = this.viewModel.state, this.arcgisEdit = t(() => this.widget, "bookmark-edit"), this.arcgisPropertyChange = s()("state"), this.arcgisReady = l(), this.arcgisSelect = t(() => this.widget, "bookmark-select");
16
17
  }
17
18
  static {
18
19
  this.properties = { autoDestroyDisabled: 5, bookmarks: 0, defaultCreateOptions: 0, defaultEditOptions: 0, disabled: 7, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, hideFlow: 5, hideThumbnail: 5, hideTime: 5, icon: 1, label: 1, position: 1, referenceElement: 1, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, showHeading: 5, state: 3 };
19
20
  }
20
21
  static {
21
- this.shadowRootOptions = l;
22
+ this.shadowRootOptions = h;
23
+ }
24
+ static {
25
+ this.styles = r;
22
26
  }
23
27
  // #endregion
24
28
  // #region Public Methods
@@ -27,7 +31,7 @@ class r extends h {
27
31
  await this.manager.destroy();
28
32
  }
29
33
  }
30
- i("arcgis-bookmarks", r);
34
+ i("arcgis-bookmarks", m);
31
35
  export {
32
- r as ArcgisBookmarks
36
+ m as ArcgisBookmarks
33
37
  };
@@ -3,15 +3,16 @@ import { newWidgetsBuildingExplorer as i } from "@arcgis/core-adapter";
3
3
  import { m as s } from "../../chunks/useWidget.js";
4
4
  import { usePropertyChange as t } from "@arcgis/components-controllers";
5
5
  import { LitElement as l, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
6
+ import { css as r } from "@lit/reactive-element/css-tag.js";
6
7
  /*!
7
8
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
9
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- * v4.32.0-next.8
10
+ * v4.32.0-next.9
10
11
  */
11
- const a = s(i);
12
- class r extends l {
12
+ const a = r`arcgis-building-explorer{display:flex}`, d = s(i);
13
+ class n extends l {
13
14
  constructor() {
14
- super(...arguments), this.widget = a(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideDisciplines = this.widget.visibleElements.disciplines, this.hideLevels = this.widget.visibleElements.levels, this.hidePhases = this.widget.visibleElements.phases, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.level = this.viewModel.level, this.phase = this.viewModel.phase, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = t()("level", "phase", "state"), this.arcgisReady = o();
15
+ super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideDisciplines = this.widget.visibleElements.disciplines, this.hideLevels = this.widget.visibleElements.levels, this.hidePhases = this.widget.visibleElements.phases, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.level = this.viewModel.level, this.phase = this.viewModel.phase, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = t()("level", "phase", "state"), this.arcgisReady = o();
15
16
  }
16
17
  static {
17
18
  this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideDisciplines: 5, hideLevels: 5, hidePhases: 5, icon: 1, label: 1, layers: 0, level: 0, phase: 0, position: 1, referenceElement: 1, state: 3 };
@@ -19,6 +20,9 @@ class r extends l {
19
20
  static {
20
21
  this.shadowRootOptions = h;
21
22
  }
23
+ static {
24
+ this.styles = a;
25
+ }
22
26
  // #endregion
23
27
  // #region Public Methods
24
28
  /** Permanently destroy the component */
@@ -26,7 +30,7 @@ class r extends l {
26
30
  await this.manager.destroy();
27
31
  }
28
32
  }
29
- e("arcgis-building-explorer", r);
33
+ e("arcgis-building-explorer", n);
30
34
  export {
31
- r as ArcgisBuildingExplorer
35
+ n as ArcgisBuildingExplorer
32
36
  };
@@ -4,15 +4,16 @@ import { newWidgetsCatalogLayerList as i } from "@arcgis/core-adapter";
4
4
  import { m as s } from "../../chunks/useWidget.js";
5
5
  import { LitElement as o, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
6
6
  import { reEmitEvent as r } from "@arcgis/components-controllers/accessor";
7
+ import { css as h } from "@lit/reactive-element/css-tag.js";
7
8
  /*!
8
9
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
10
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- * v4.32.0-next.8
11
+ * v4.32.0-next.9
11
12
  */
12
- const h = s(i);
13
- class d extends o {
13
+ const d = h`arcgis-catalog-layer-list{display:flex}`, n = s(i);
14
+ class c extends o {
14
15
  constructor() {
15
- super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.catalogLayer = this.widget.catalogLayer, this.collapsed = this.widget.collapsed, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = e()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = r(() => this.widget, "trigger-action");
16
+ super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.catalogLayer = this.widget.catalogLayer, this.collapsed = this.widget.collapsed, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = e()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = r(() => this.widget, "trigger-action");
16
17
  }
17
18
  static {
18
19
  this.properties = { autoDestroyDisabled: 5, catalogItems: 32, catalogLayer: 0, collapsed: 7, filterPlaceholder: 1, filterText: 1, headingLevel: 9, hideFlow: 5, hideStatusIndicators: 5, icon: 1, label: 1, listItemCreatedFunction: 0, minFilterItems: 9, position: 1, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 3, visibilityAppearance: 1 };
@@ -20,6 +21,9 @@ class d extends o {
20
21
  static {
21
22
  this.shadowRootOptions = l;
22
23
  }
24
+ static {
25
+ this.styles = d;
26
+ }
23
27
  /** A collection of ListItems representing the catalogLayers dynamicGroupLayer. */
24
28
  get catalogItems() {
25
29
  return this.widget.catalogItems;
@@ -31,7 +35,7 @@ class d extends o {
31
35
  await this.manager.destroy();
32
36
  }
33
37
  }
34
- t("arcgis-catalog-layer-list", d);
38
+ t("arcgis-catalog-layer-list", c);
35
39
  export {
36
- d as ArcgisCatalogLayerList
40
+ c as ArcgisCatalogLayerList
37
41
  };
@@ -3,25 +3,32 @@ import { html as l } from "lit-html";
3
3
  import { usePropertyChange as m } from "@arcgis/components-controllers";
4
4
  import { classes as d } from "@arcgis/components-utils";
5
5
  import { newWidgetsCompassCompassViewModel as h } from "@arcgis/core-adapter";
6
- import { u as p, m as u } from "../../chunks/useViewModel.js";
6
+ import { u as p, m as g } from "../../chunks/useViewModel.js";
7
7
  import { g as i } from "../../chunks/globalCss.js";
8
- import { LitElement as g, createEvent as f, safeClassMap as e, nothing as o, safeStyleMap as w } from "@arcgis/lumina";
8
+ import { LitElement as u, createEvent as f, noShadowRoot as w, safeClassMap as s, nothing as o, safeStyleMap as y } from "@arcgis/lumina";
9
+ import { css as $ } from "@lit/reactive-element/css-tag.js";
9
10
  /*!
10
11
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
12
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
12
- * v4.32.0-next.8
13
+ * v4.32.0-next.9
13
14
  */
14
- const a = "esri-compass", r = {
15
+ const b = $`arcgis-compass{display:flex}`, a = "esri-compass", r = {
15
16
  base: a,
16
17
  iconContainer: `${a}__icon-container`
17
- }, $ = u(h);
18
- class b extends g {
18
+ }, v = g(h);
19
+ class C extends u {
19
20
  constructor() {
20
- super(...arguments), this.messages = p(), this.viewModel = $(this), this.autoDestroyDisabled = !1, this.orientation = this.viewModel.orientation, this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = m()("state", "orientation"), this.arcgisReady = f();
21
+ super(...arguments), this.messages = p(), this.viewModel = v(this), this.autoDestroyDisabled = !1, this.orientation = this.viewModel.orientation, this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = m()("state", "orientation"), this.arcgisReady = f();
21
22
  }
22
23
  static {
23
24
  this.properties = { autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, orientation: 0, position: 3, referenceElement: 1, state: 3 };
24
25
  }
26
+ static {
27
+ this.shadowRootOptions = w;
28
+ }
29
+ static {
30
+ this.styles = b;
31
+ }
25
32
  get icon() {
26
33
  return this._icon ?? (this.state === "rotation" ? "arrow-up" : "compass-needle");
27
34
  }
@@ -45,13 +52,13 @@ class b extends g {
45
52
  // #region Rendering
46
53
  render() {
47
54
  const { messages: t, icon: n } = this;
48
- return l`<div class=${e(d(r.base, i.widget))}><calcite-button class=${e(i.widgetButton)} .disabled=${this.state === "disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset ?? o}><div aria-hidden=true class=${e(r.iconContainer)} title=${t.reset ?? o}><calcite-icon .icon=${n} style=${w(v(this.orientation))}></calcite-icon></div></calcite-button></div>`;
55
+ return l`<div class=${s(d(r.base, i.widget))}><calcite-button class=${s(i.widgetButton)} .disabled=${this.state === "disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset ?? o}><div aria-hidden=true class=${s(r.iconContainer)} title=${t.reset ?? o}><calcite-icon .icon=${n} style=${y(M(this.orientation))}></calcite-icon></div></calcite-button></div>`;
49
56
  }
50
57
  }
51
- const v = (s) => ({
52
- transform: `rotateZ(${s.z}deg)`
58
+ const M = (e) => ({
59
+ transform: `rotateZ(${e.z}deg)`
53
60
  });
54
- c("arcgis-compass", b);
61
+ c("arcgis-compass", C);
55
62
  export {
56
- b as ArcgisCompass
63
+ C as ArcgisCompass
57
64
  };
@@ -12,17 +12,16 @@ declare const useCoordinateConversionWidget: (component: import('@arcgis/compone
12
12
  } & Pick<__esri.CoordinateConversion, "orientation" | "label" | "viewModel" | "icon" | "mode" | "headingLevel" | "conversions" | "formats" | "locationSymbol" | "storageType"> & {
13
13
  reactiveUtils?: __esri.reactiveUtils | undefined;
14
14
  state?: unknown;
15
- /**
15
+ viewModel?: __esri.CoordinateConversionViewModel | undefined;
16
+ icon: string | Nil;
17
+ label: string | Nil;
18
+ referenceElement: string | Nil | ArcgisReferenceElement; /**
16
19
  * If true, the component will not be destroyed automatically when it is
17
20
  * disconnected from the document. This is useful when you want to move the
18
21
  * component to a different place on the page, or temporary hide it. If this
19
22
  * is set, make sure to call the \`destroy\` method when you are done to prevent
20
23
  * memory leaks.
21
24
  */
22
- viewModel?: __esri.CoordinateConversionViewModel | undefined;
23
- icon: string | Nil;
24
- label: string | Nil;
25
- referenceElement: string | Nil | ArcgisReferenceElement;
26
25
  position: __esri.UIPosition;
27
26
  arcgisReady: import('@arcgis/components-controllers').EventEmitter;
28
27
  arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
@@ -3,15 +3,16 @@ import { newWidgetsCoordinateConversion as s } from "@arcgis/core-adapter";
3
3
  import { usePropertyChange as o } from "@arcgis/components-controllers";
4
4
  import { m as n } from "../../chunks/useWidget.js";
5
5
  import { LitElement as r, createEvent as a, noShadowRoot as d } from "@arcgis/lumina";
6
+ import { css as h } from "@lit/reactive-element/css-tag.js";
6
7
  /*!
7
8
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
9
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- * v4.32.0-next.8
10
+ * v4.32.0-next.9
10
11
  */
11
- const h = n(s);
12
- class l extends r {
12
+ const l = h`arcgis-coordinate-conversion{display:flex}`, g = n(s);
13
+ class c extends r {
13
14
  constructor() {
14
- super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.conversions = this.widget.conversions, this.currentLocation = this.widget.currentLocation, this.formats = this.widget.formats, this.headingLevel = this.widget.headingLevel, this.hideCaptureButton = this.widget.visibleElements.captureButton, this.hideEditButton = this.widget.visibleElements.editButton, this.hideExpandButton = this.widget.visibleElements.expandButton, this.hideSettingsButton = this.widget.visibleElements.settingsButton, this.icon = this.widget.icon, this.label = this.widget.label, this.locationSymbol = this.widget.locationSymbol, this.mode = this.widget.mode, this.multipleConversionsDisabled = this.widget.multipleConversions, this.orientation = this.widget.orientation, this.position = "bottom-left", this.state = this.viewModel.state, this.storageDisabled = this.widget.storageEnabled, this.storageType = this.widget.storageType, this.arcgisPropertyChange = o()("currentLocation", "state"), this.arcgisReady = a();
15
+ super(...arguments), this.widget = g(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.conversions = this.widget.conversions, this.currentLocation = this.widget.currentLocation, this.formats = this.widget.formats, this.headingLevel = this.widget.headingLevel, this.hideCaptureButton = this.widget.visibleElements.captureButton, this.hideEditButton = this.widget.visibleElements.editButton, this.hideExpandButton = this.widget.visibleElements.expandButton, this.hideSettingsButton = this.widget.visibleElements.settingsButton, this.icon = this.widget.icon, this.label = this.widget.label, this.locationSymbol = this.widget.locationSymbol, this.mode = this.widget.mode, this.multipleConversionsDisabled = this.widget.multipleConversions, this.orientation = this.widget.orientation, this.position = "bottom-left", this.state = this.viewModel.state, this.storageDisabled = this.widget.storageEnabled, this.storageType = this.widget.storageType, this.arcgisPropertyChange = o()("currentLocation", "state"), this.arcgisReady = a();
15
16
  }
16
17
  static {
17
18
  this.properties = { autoDestroyDisabled: 5, conversions: 0, currentLocation: 0, formats: 0, headingLevel: 9, hideCaptureButton: 5, hideEditButton: 5, hideExpandButton: 5, hideSettingsButton: 5, icon: 1, label: 1, locationSymbol: 0, mode: 1, multipleConversionsDisabled: 5, orientation: 1, position: 1, referenceElement: 1, state: 3, storageDisabled: 5, storageType: 1 };
@@ -19,6 +20,9 @@ class l extends r {
19
20
  static {
20
21
  this.shadowRootOptions = d;
21
22
  }
23
+ static {
24
+ this.styles = l;
25
+ }
22
26
  // #endregion
23
27
  // #region Public Methods
24
28
  /** Permanently destroy the component */
@@ -29,7 +33,7 @@ class l extends r {
29
33
  return await this.widget?.reverseConvert(t, e);
30
34
  }
31
35
  }
32
- i("arcgis-coordinate-conversion", l);
36
+ i("arcgis-coordinate-conversion", c);
33
37
  export {
34
- l as ArcgisCoordinateConversion
38
+ c as ArcgisCoordinateConversion
35
39
  };
@@ -10,6 +10,13 @@ declare const useDaylightWidget: (component: import('@arcgis/components-controll
10
10
  autoDestroyDisabled?: boolean | undefined;
11
11
  destroy?: (() => Promise<void>) | undefined;
12
12
  } & Pick<__esri.Daylight, "label" | "viewModel" | "icon" | "headingLevel" | "dateOrSeason" | "playSpeedMultiplier" | "timeSliderSteps"> & {
13
+ /**
14
+ * If true, the component will not be destroyed automatically when it is
15
+ * disconnected from the document. This is useful when you want to move the
16
+ * component to a different place on the page, or temporary hide it. If this
17
+ * is set, make sure to call the \`destroy\` method when you are done to prevent
18
+ * memory leaks.
19
+ */
13
20
  reactiveUtils?: __esri.reactiveUtils | undefined;
14
21
  state?: unknown;
15
22
  viewModel?: __esri.DaylightViewModel | undefined;
@@ -1,22 +1,26 @@
1
1
  import { c as e } from "../../chunks/runtime.js";
2
2
  import { newWidgetsDaylight as i } from "@arcgis/core-adapter";
3
3
  import { m as t } from "../../chunks/useWidget.js";
4
- import { LitElement as s, createEvent as a, noShadowRoot as h } from "@arcgis/lumina";
4
+ import { LitElement as s, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
5
+ import { css as h } from "@lit/reactive-element/css-tag.js";
5
6
  /*!
6
7
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
8
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
8
- * v4.32.0-next.8
9
+ * v4.32.0-next.9
9
10
  */
10
- const l = t(i);
11
- class d extends s {
11
+ const o = h`arcgis-daylight{display:flex}`, d = t(i);
12
+ class n extends s {
12
13
  constructor() {
13
- super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.currentSeason = this.viewModel.currentSeason, this.dateOrSeason = this.widget.dateOrSeason, this.dayPlaying = this.viewModel.dayPlaying, this.headingLevel = this.widget.headingLevel, this.hideDatePicker = this.widget.visibleElements.datePicker, this.hideHeader = this.widget.visibleElements.header, this.hidePlayButtons = this.widget.visibleElements.playButtons, this.hideShadowsToggle = this.widget.visibleElements.shadowsToggle, this.hideSunLightingToggle = this.widget.visibleElements.sunLightingToggle, this.hideTimezone = this.widget.visibleElements.timezone, this.icon = this.widget.icon, this.label = this.widget.label, this.playSpeedMultiplier = this.widget.playSpeedMultiplier, this.position = "bottom-left", this.timeSliderSteps = this.widget.timeSliderSteps, this.yearPlaying = this.viewModel.yearPlaying, this.arcgisReady = a();
14
+ super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.currentSeason = this.viewModel.currentSeason, this.dateOrSeason = this.widget.dateOrSeason, this.dayPlaying = this.viewModel.dayPlaying, this.headingLevel = this.widget.headingLevel, this.hideDatePicker = this.widget.visibleElements.datePicker, this.hideHeader = this.widget.visibleElements.header, this.hidePlayButtons = this.widget.visibleElements.playButtons, this.hideShadowsToggle = this.widget.visibleElements.shadowsToggle, this.hideSunLightingToggle = this.widget.visibleElements.sunLightingToggle, this.hideTimezone = this.widget.visibleElements.timezone, this.icon = this.widget.icon, this.label = this.widget.label, this.playSpeedMultiplier = this.widget.playSpeedMultiplier, this.position = "bottom-left", this.timeSliderSteps = this.widget.timeSliderSteps, this.yearPlaying = this.viewModel.yearPlaying, this.arcgisReady = a();
14
15
  }
15
16
  static {
16
17
  this.properties = { autoDestroyDisabled: 5, currentSeason: 1, dateOrSeason: 1, dayPlaying: 5, headingLevel: 9, hideDatePicker: 5, hideHeader: 5, hidePlayButtons: 5, hideShadowsToggle: 5, hideSunLightingToggle: 5, hideTimezone: 5, icon: 1, label: 1, playSpeedMultiplier: 9, position: 1, referenceElement: 1, timeSliderSteps: 9, yearPlaying: 5 };
17
18
  }
18
19
  static {
19
- this.shadowRootOptions = h;
20
+ this.shadowRootOptions = l;
21
+ }
22
+ static {
23
+ this.styles = o;
20
24
  }
21
25
  // #endregion
22
26
  // #region Public Methods
@@ -25,7 +29,7 @@ class d extends s {
25
29
  await this.manager.destroy();
26
30
  }
27
31
  }
28
- e("arcgis-daylight", d);
32
+ e("arcgis-daylight", n);
29
33
  export {
30
- d as ArcgisDaylight
34
+ n as ArcgisDaylight
31
35
  };
@@ -1,17 +1,18 @@
1
1
  import { c as t } from "../../chunks/runtime.js";
2
- import { newWidgetsDirectionalPad as e } from "@arcgis/core-adapter";
3
- import { usePropertyChange as i } from "@arcgis/components-controllers";
2
+ import { newWidgetsDirectionalPad as i } from "@arcgis/core-adapter";
3
+ import { usePropertyChange as e } from "@arcgis/components-controllers";
4
4
  import { m as s } from "../../chunks/useWidget.js";
5
5
  import { LitElement as a, createEvent as o, noShadowRoot as r } from "@arcgis/lumina";
6
+ import { css as l } from "@lit/reactive-element/css-tag.js";
6
7
  /*!
7
8
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
9
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- * v4.32.0-next.8
10
+ * v4.32.0-next.9
10
11
  */
11
- const l = s(e);
12
- class d extends a {
12
+ const d = l`arcgis-directional-pad{display:flex}`, c = s(i);
13
+ class n extends a {
13
14
  constructor() {
14
- super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.visualScale = this.widget.visualScale, this.arcgisPropertyChange = i()("state"), this.arcgisReady = o();
15
+ super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.visualScale = this.widget.visualScale, this.arcgisPropertyChange = e()("state"), this.arcgisReady = o();
15
16
  }
16
17
  static {
17
18
  this.properties = { autoDestroyDisabled: 5, disabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, visualScale: 1 };
@@ -19,6 +20,9 @@ class d extends a {
19
20
  static {
20
21
  this.shadowRootOptions = r;
21
22
  }
23
+ static {
24
+ this.styles = d;
25
+ }
22
26
  // #endregion
23
27
  // #region Public Methods
24
28
  /** Permanently destroy the component */
@@ -26,7 +30,7 @@ class d extends a {
26
30
  await this.manager.destroy();
27
31
  }
28
32
  }
29
- t("arcgis-directional-pad", d);
33
+ t("arcgis-directional-pad", n);
30
34
  export {
31
- d as ArcgisDirectionalPad
35
+ n as ArcgisDirectionalPad
32
36
  };
@@ -1,24 +1,28 @@
1
- import { c as o } from "../../chunks/runtime.js";
1
+ import { c as a } from "../../chunks/runtime.js";
2
2
  import { newLayersRouteLayer as s, newWidgetsDirections as r } from "@arcgis/core-adapter";
3
3
  import { f as h } from "../../chunks/component-utils.js";
4
4
  import { usePropertyChange as n } from "@arcgis/components-controllers";
5
5
  import { m as d } from "../../chunks/useWidget.js";
6
- import { LitElement as l, createEvent as w, noShadowRoot as u } from "@arcgis/lumina";
6
+ import { LitElement as l, createEvent as c, noShadowRoot as w } from "@arcgis/lumina";
7
+ import { css as u } from "@lit/reactive-element/css-tag.js";
7
8
  /*!
8
9
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
10
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- * v4.32.0-next.8
11
+ * v4.32.0-next.9
11
12
  */
12
- const y = d(r), i = "map-components:arcgis-directions";
13
- class c extends l {
13
+ const y = u`arcgis-directions{display:flex}`, m = d(r), i = "map-components:arcgis-directions";
14
+ class g extends l {
14
15
  constructor() {
15
- super(...arguments), this.widget = y(this), this.viewModel = this.widget.viewModel, this.apiKey = this.widget.apiKey, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideLayerDetails = this.widget.visibleElements.layerDetails, this.hideSaveAsButton = this.widget.visibleElements.saveAsButton, this.hideSaveButton = this.widget.visibleElements.saveButton, this.icon = this.widget.icon, this.label = this.widget.label, this.lastRoute = this.widget.lastRoute, this.layer = this.widget.layer, this.maxStops = this.widget.maxStops, this.position = "bottom-left", this.searchProperties = this.widget.searchProperties, this.state = this.viewModel.state, this.unit = this.widget.unit, this.useDefaultRouteLayer = !1, this.arcgisPropertyChange = n()("lastRoute", "state"), this.arcgisReady = w();
16
+ super(...arguments), this.widget = m(this), this.viewModel = this.widget.viewModel, this.apiKey = this.widget.apiKey, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideLayerDetails = this.widget.visibleElements.layerDetails, this.hideSaveAsButton = this.widget.visibleElements.saveAsButton, this.hideSaveButton = this.widget.visibleElements.saveButton, this.icon = this.widget.icon, this.label = this.widget.label, this.lastRoute = this.widget.lastRoute, this.layer = this.widget.layer, this.maxStops = this.widget.maxStops, this.position = "bottom-left", this.searchProperties = this.widget.searchProperties, this.state = this.viewModel.state, this.unit = this.widget.unit, this.useDefaultRouteLayer = !1, this.arcgisPropertyChange = n()("lastRoute", "state"), this.arcgisReady = c();
16
17
  }
17
18
  static {
18
19
  this.properties = { apiKey: 1, autoDestroyDisabled: 5, headingLevel: 9, hideLayerDetails: 5, hideSaveAsButton: 5, hideSaveButton: 5, icon: 1, label: 1, lastRoute: 0, layer: 0, maxStops: 9, position: 1, referenceElement: 1, routeLayerItemId: 1, searchProperties: 0, state: 0, unit: 1, useDefaultRouteLayer: 5 };
19
20
  }
20
21
  static {
21
- this.shadowRootOptions = u;
22
+ this.shadowRootOptions = w;
23
+ }
24
+ static {
25
+ this.styles = y;
22
26
  }
23
27
  // #endregion
24
28
  // #region Public Methods
@@ -55,8 +59,8 @@ class c extends l {
55
59
  portalItem: {
56
60
  id: e
57
61
  }
58
- }).then((a) => {
59
- this.layer = a, this.widget.view?.map.add(this.layer);
62
+ }).then((o) => {
63
+ this.layer = o, this.widget.view?.map.add(this.layer);
60
64
  }).catch(console.error);
61
65
  }
62
66
  t.has("useDefaultRouteLayer") && this._setDefaultLayer();
@@ -70,7 +74,7 @@ class c extends l {
70
74
  }).catch(console.error);
71
75
  }
72
76
  }
73
- o("arcgis-directions", c);
77
+ a("arcgis-directions", g);
74
78
  export {
75
- c as ArcgisDirections
79
+ g as ArcgisDirections
76
80
  };
@@ -15,7 +15,13 @@ declare const useDirectLineMeasurement3dWidget: (component: import('@arcgis/comp
15
15
  viewModel?: __esri.DirectLineMeasurement3DViewModel | undefined;
16
16
  icon: string | Nil;
17
17
  label: string | Nil;
18
- referenceElement: string | Nil | ArcgisReferenceElement;
18
+ referenceElement: string | Nil | ArcgisReferenceElement; /**
19
+ * If true, the component will not be destroyed automatically when it is
20
+ * disconnected from the document. This is useful when you want to move the
21
+ * component to a different place on the page, or temporary hide it. If this
22
+ * is set, make sure to call the \`destroy\` method when you are done to prevent
23
+ * memory leaks.
24
+ */
19
25
  position: __esri.UIPosition;
20
26
  arcgisReady: import('@arcgis/components-controllers').EventEmitter;
21
27
  arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
@@ -3,15 +3,16 @@ import { newWidgetsDirectLineMeasurement3D as e } from "@arcgis/core-adapter";
3
3
  import { usePropertyChange as i } from "@arcgis/components-controllers";
4
4
  import { m as s } from "../../chunks/useWidget.js";
5
5
  import { LitElement as a, createEvent as o, noShadowRoot as r } from "@arcgis/lumina";
6
+ import { css as n } from "@lit/reactive-element/css-tag.js";
6
7
  /*!
7
8
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
9
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- * v4.32.0-next.8
10
+ * v4.32.0-next.9
10
11
  */
11
- const n = s(e);
12
- class d extends a {
12
+ const l = n`arcgis-directline-measurement-3d{display:flex}`, d = s(e);
13
+ class c extends a {
13
14
  constructor() {
14
- super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = i()("analysis", "state"), this.arcgisReady = o();
15
+ super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = i()("analysis", "state"), this.arcgisReady = o();
15
16
  }
16
17
  static {
17
18
  this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, unit: 1, unitOptions: 0 };
@@ -19,6 +20,9 @@ class d extends a {
19
20
  static {
20
21
  this.shadowRootOptions = r;
21
22
  }
23
+ static {
24
+ this.styles = l;
25
+ }
22
26
  // #endregion
23
27
  // #region Public Methods
24
28
  async clear() {
@@ -32,7 +36,7 @@ class d extends a {
32
36
  this.widget?.viewModel.start();
33
37
  }
34
38
  }
35
- t("arcgis-directline-measurement-3d", d);
39
+ t("arcgis-directline-measurement-3d", c);
36
40
  export {
37
- d as ArcgisDirectLineMeasurement3d
41
+ c as ArcgisDirectLineMeasurement3d
38
42
  };
@@ -11,13 +11,6 @@ declare const useDistanceMeasurement2dWidget: (component: import('@arcgis/compon
11
11
  destroy?: (() => Promise<void>) | undefined;
12
12
  } & Pick<__esri.DistanceMeasurement2D, "label" | "viewModel" | "icon" | "unit" | "unitOptions"> & {
13
13
  reactiveUtils?: __esri.reactiveUtils | undefined;
14
- /**
15
- * If true, the component will not be destroyed automatically when it is
16
- * disconnected from the document. This is useful when you want to move the
17
- * component to a different place on the page, or temporary hide it. If this
18
- * is set, make sure to call the \`destroy\` method when you are done to prevent
19
- * memory leaks.
20
- */
21
14
  state?: unknown;
22
15
  viewModel?: __esri.DistanceMeasurement2DViewModel | undefined;
23
16
  icon: string | Nil;
@@ -1,23 +1,27 @@
1
1
  import { c as t } from "../../chunks/runtime.js";
2
2
  import { newWidgetsDistanceMeasurement2D as e } from "@arcgis/core-adapter";
3
- import { usePropertyChange as i } from "@arcgis/components-controllers";
4
- import { m as s } from "../../chunks/useWidget.js";
5
- import { LitElement as o, createEvent as a, noShadowRoot as n } from "@arcgis/lumina";
3
+ import { usePropertyChange as s } from "@arcgis/components-controllers";
4
+ import { m as i } from "../../chunks/useWidget.js";
5
+ import { LitElement as o, createEvent as a, noShadowRoot as r } from "@arcgis/lumina";
6
+ import { css as n } from "@lit/reactive-element/css-tag.js";
6
7
  /*!
7
8
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
9
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- * v4.32.0-next.8
10
+ * v4.32.0-next.9
10
11
  */
11
- const r = s(e);
12
- class h extends o {
12
+ const m = n`arcgis-distance-measurement-2d{display:flex}`, c = i(e);
13
+ class d extends o {
13
14
  constructor() {
14
- super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = i()("state"), this.arcgisReady = a();
15
+ super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = s()("state"), this.arcgisReady = a();
15
16
  }
16
17
  static {
17
18
  this.properties = { autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, unit: 1, unitOptions: 0 };
18
19
  }
19
20
  static {
20
- this.shadowRootOptions = n;
21
+ this.shadowRootOptions = r;
22
+ }
23
+ static {
24
+ this.styles = m;
21
25
  }
22
26
  // #endregion
23
27
  // #region Public Methods
@@ -26,7 +30,7 @@ class h extends o {
26
30
  await this.manager.destroy();
27
31
  }
28
32
  }
29
- t("arcgis-distance-measurement-2d", h);
33
+ t("arcgis-distance-measurement-2d", d);
30
34
  export {
31
- h as ArcgisDistanceMeasurement2d
35
+ d as ArcgisDistanceMeasurement2d
32
36
  };