@arcgis/map-components 4.32.0-next.7 → 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 (224) hide show
  1. package/dist/arcgis-map-components/{YAKDNQDU.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/{TCHQQ6YP.js → AJBMZJ46.js} +2 -2
  15. package/dist/arcgis-map-components/ASOVND72.js +6 -0
  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/{4ZMBY532.js → DR55OESP.js} +1 -1
  21. package/dist/arcgis-map-components/{UX4JJY2U.js → DZGDTHN3.js} +2 -2
  22. package/dist/arcgis-map-components/E5NA4STS.js +6 -0
  23. package/dist/arcgis-map-components/{JGBTUFPL.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/KJVDJ5OQ.js +6 -0
  34. package/dist/arcgis-map-components/LDQ4VWNS.js +6 -0
  35. package/dist/arcgis-map-components/{LX73HFSX.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/{UZQHNANU.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/{ZIY4VYAM.js → PPUMGJ6W.js} +4 -4
  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/{WD4FY5PW.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/RPGH4LB5.js +6 -0
  52. package/dist/arcgis-map-components/{JYJ4UHNH.js → RW4HTOWG.js} +2 -2
  53. package/dist/arcgis-map-components/{WVG2XL45.js → RYYEB6TZ.js} +2 -2
  54. package/dist/arcgis-map-components/S5FY5R2K.js +6 -0
  55. package/dist/arcgis-map-components/{XDSXW32X.js → SB7AEVIC.js} +2 -2
  56. package/dist/arcgis-map-components/TQSVOK7C.js +6 -0
  57. package/dist/arcgis-map-components/{O5XG46EP.js → TVJVBCTP.js} +2 -2
  58. package/dist/arcgis-map-components/UGW6Q5E5.js +6 -0
  59. package/dist/arcgis-map-components/{ZIVFGNA3.js → UNA6PFSU.js} +2 -2
  60. package/dist/arcgis-map-components/V6CV3CBQ.js +6 -0
  61. package/dist/arcgis-map-components/{6SG2OALL.js → W2WPL3LZ.js} +2 -2
  62. package/dist/arcgis-map-components/{DR6IOA6M.js → WIFWKZMZ.js} +2 -2
  63. package/dist/arcgis-map-components/XDUFXVMY.js +6 -0
  64. package/dist/arcgis-map-components/{EF72I5WZ.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/{V6UWCX5S.js → YONYTIVG.js} +2 -2
  69. package/dist/arcgis-map-components/{XOXPFGC5.js → Z4MFCZ54.js} +2 -2
  70. package/dist/arcgis-map-components/{WPNJSRZ6.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 +3 -3
  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 +16 -12
  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.d.ts +3 -1
  108. package/dist/components/arcgis-feature-table/customElement.js +8 -8
  109. package/dist/components/arcgis-feature-templates/customElement.d.ts +7 -0
  110. package/dist/components/arcgis-feature-templates/customElement.js +10 -6
  111. package/dist/components/arcgis-features/customElement.d.ts +7 -0
  112. package/dist/components/arcgis-features/customElement.js +10 -6
  113. package/dist/components/arcgis-floor-filter/customElement.d.ts +7 -0
  114. package/dist/components/arcgis-floor-filter/customElement.js +10 -6
  115. package/dist/components/arcgis-fullscreen/customElement.js +15 -11
  116. package/dist/components/arcgis-histogram/customElement.d.ts +7 -0
  117. package/dist/components/arcgis-histogram/customElement.js +10 -6
  118. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +0 -4
  119. package/dist/components/arcgis-histogram-range-slider/customElement.js +12 -8
  120. package/dist/components/arcgis-home/customElement.js +15 -11
  121. package/dist/components/arcgis-layer-list/customElement.js +10 -6
  122. package/dist/components/arcgis-legend/customElement.js +10 -6
  123. package/dist/components/arcgis-line-of-sight/customElement.js +12 -8
  124. package/dist/components/arcgis-locate/customElement.js +14 -10
  125. package/dist/components/arcgis-map/customElement.js +32 -32
  126. package/dist/components/arcgis-measurement/customElement.js +10 -6
  127. package/dist/components/arcgis-navigation-toggle/customElement.js +12 -8
  128. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +12 -8
  129. package/dist/components/arcgis-placement/customElement.js +1 -1
  130. package/dist/components/arcgis-print/customElement.js +10 -6
  131. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  132. package/dist/components/arcgis-scale-range-slider/customElement.js +10 -6
  133. package/dist/components/arcgis-scene/customElement.d.ts +18 -1
  134. package/dist/components/arcgis-scene/customElement.js +30 -13
  135. package/dist/components/arcgis-search/customElement.d.ts +7 -1
  136. package/dist/components/arcgis-search/customElement.js +10 -6
  137. package/dist/components/arcgis-shadow-cast/customElement.js +10 -6
  138. package/dist/components/arcgis-sketch/customElement.d.ts +7 -0
  139. package/dist/components/arcgis-sketch/customElement.js +12 -8
  140. package/dist/components/arcgis-slice/customElement.js +12 -8
  141. package/dist/components/arcgis-slider/customElement.js +7 -7
  142. package/dist/components/arcgis-swipe/customElement.js +1 -1
  143. package/dist/components/arcgis-table-list/customElement.js +15 -11
  144. package/dist/components/arcgis-time-slider/customElement.js +13 -9
  145. package/dist/components/arcgis-track/customElement.d.ts +1 -1
  146. package/dist/components/arcgis-track/customElement.js +13 -9
  147. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  148. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  149. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  150. package/dist/components/arcgis-value-picker/customElement.d.ts +0 -7
  151. package/dist/components/arcgis-value-picker/customElement.js +10 -6
  152. package/dist/components/arcgis-version-management/customElement.js +1 -1
  153. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  154. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  155. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  156. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  157. package/dist/components/arcgis-weather/customElement.js +12 -8
  158. package/dist/components/arcgis-zoom/customElement.js +7 -7
  159. package/dist/controllers/useViewModel.d.ts +3 -1
  160. package/dist/controllers/useWidget.d.ts +1 -1
  161. package/dist/docs/docs.json +48 -7
  162. package/dist/docs/manifest.json +59 -11
  163. package/dist/docs/vscode.html-custom-data.json +10 -5
  164. package/dist/docs/web-types.json +30 -10
  165. package/dist/index.d.ts +8 -3
  166. package/dist/index.js +7 -4
  167. package/dist/loader.js +2 -2
  168. package/dist/types/components.d.ts +1 -5
  169. package/dist/types/lumina.d.ts +2 -1
  170. package/dist/types/preact.d.ts +2 -1
  171. package/dist/types/react.d.ts +2 -1
  172. package/dist/types/stencil.d.ts +2 -1
  173. package/package.json +7 -7
  174. package/dist/arcgis-map-components/2A25TYG6.js +0 -6
  175. package/dist/arcgis-map-components/2N55O26O.js +0 -6
  176. package/dist/arcgis-map-components/2QSFHBVG.js +0 -6
  177. package/dist/arcgis-map-components/2TOMY7TD.js +0 -6
  178. package/dist/arcgis-map-components/52PFU3FG.js +0 -6
  179. package/dist/arcgis-map-components/5X4OBSHN.js +0 -6
  180. package/dist/arcgis-map-components/64YWLPOV.js +0 -6
  181. package/dist/arcgis-map-components/6ATH4SYH.js +0 -6
  182. package/dist/arcgis-map-components/7BUGSZRT.js +0 -6
  183. package/dist/arcgis-map-components/7JXHFKEX.js +0 -6
  184. package/dist/arcgis-map-components/7KTLQHJ5.js +0 -6
  185. package/dist/arcgis-map-components/AK3FXQDM.js +0 -6
  186. package/dist/arcgis-map-components/AWVMMDFK.js +0 -6
  187. package/dist/arcgis-map-components/B7OXFC7J.js +0 -6
  188. package/dist/arcgis-map-components/BRXQ33AJ.js +0 -6
  189. package/dist/arcgis-map-components/DAKYQPUS.js +0 -6
  190. package/dist/arcgis-map-components/DEGQKFZW.js +0 -6
  191. package/dist/arcgis-map-components/DSXTSZOH.js +0 -6
  192. package/dist/arcgis-map-components/E2EPRMSI.js +0 -6
  193. package/dist/arcgis-map-components/F63CZB7R.js +0 -6
  194. package/dist/arcgis-map-components/FJB34PJD.js +0 -6
  195. package/dist/arcgis-map-components/FLLDDWNY.js +0 -6
  196. package/dist/arcgis-map-components/FTOXJ6Y2.js +0 -6
  197. package/dist/arcgis-map-components/H6WFGH37.js +0 -6
  198. package/dist/arcgis-map-components/HVSLLIFX.js +0 -6
  199. package/dist/arcgis-map-components/IBQQAJNR.js +0 -6
  200. package/dist/arcgis-map-components/J4YWDWCW.js +0 -6
  201. package/dist/arcgis-map-components/J6RZCZEJ.js +0 -6
  202. package/dist/arcgis-map-components/KFWR3743.js +0 -6
  203. package/dist/arcgis-map-components/KT7V76Z5.js +0 -6
  204. package/dist/arcgis-map-components/LEYT65FJ.js +0 -6
  205. package/dist/arcgis-map-components/LNUEJ2YO.js +0 -6
  206. package/dist/arcgis-map-components/MNBV2LVQ.js +0 -6
  207. package/dist/arcgis-map-components/MRUGEIEN.js +0 -6
  208. package/dist/arcgis-map-components/O5F6WGV3.js +0 -6
  209. package/dist/arcgis-map-components/OL46KGZ3.js +0 -6
  210. package/dist/arcgis-map-components/ONF42IHH.js +0 -6
  211. package/dist/arcgis-map-components/ORBUFGQZ.js +0 -6
  212. package/dist/arcgis-map-components/P7R7WEZQ.js +0 -6
  213. package/dist/arcgis-map-components/PGZJFOZB.js +0 -6
  214. package/dist/arcgis-map-components/Q73GCMNG.js +0 -6
  215. package/dist/arcgis-map-components/QELGYUUG.js +0 -6
  216. package/dist/arcgis-map-components/QLGVLJYK.js +0 -6
  217. package/dist/arcgis-map-components/R3IRKDGV.js +0 -6
  218. package/dist/arcgis-map-components/RVVU7ACX.js +0 -6
  219. package/dist/arcgis-map-components/S6IT5W3C.js +0 -6
  220. package/dist/arcgis-map-components/SC2UR5WA.js +0 -6
  221. package/dist/arcgis-map-components/TPKPZQWV.js +0 -6
  222. package/dist/arcgis-map-components/WQEUM47V.js +0 -6
  223. package/dist/arcgis-map-components/XU7RHRB6.js +0 -6
  224. package/dist/arcgis-map-components/ZZDXJBNG.js +0 -6
@@ -10,6 +10,13 @@ declare const useFloorFilterWidget: (component: import('@arcgis/components-contr
10
10
  autoDestroyDisabled?: boolean | undefined;
11
11
  destroy?: (() => Promise<void>) | undefined;
12
12
  } & Pick<__esri.FloorFilter, "label" | "viewModel" | "icon" | "headingLevel" | "facility" | "level" | "longNames" | "site"> & {
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.FloorFilterViewModel | undefined;
@@ -2,15 +2,16 @@ import { c as e } from "../../chunks/runtime.js";
2
2
  import { newWidgetsFloorFilter as i } from "@arcgis/core-adapter";
3
3
  import { m as s } from "../../chunks/useWidget.js";
4
4
  import { LitElement as o, createEvent as l, noShadowRoot as a } from "@arcgis/lumina";
5
+ import { css as r } 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.7
9
+ * v4.32.0-next.9
9
10
  */
10
- const r = s(i);
11
- class h extends o {
11
+ const h = r`arcgis-floor-filter{display:flex}`, n = s(i);
12
+ class d extends o {
12
13
  constructor() {
13
- super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.facility = this.widget.facility, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.level = this.widget.level, this.longNames = this.widget.longNames, this.position = "bottom-left", this.site = this.widget.site, this.arcgisReady = l();
14
+ super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.facility = this.widget.facility, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.level = this.widget.level, this.longNames = this.widget.longNames, this.position = "bottom-left", this.site = this.widget.site, this.arcgisReady = l();
14
15
  }
15
16
  static {
16
17
  this.properties = { autoDestroyDisabled: 5, facility: 3, headingLevel: 9, icon: 1, label: 1, level: 3, longNames: 5, position: 1, referenceElement: 1, site: 3 };
@@ -18,6 +19,9 @@ class h extends o {
18
19
  static {
19
20
  this.shadowRootOptions = a;
20
21
  }
22
+ static {
23
+ this.styles = h;
24
+ }
21
25
  // #endregion
22
26
  // #region Public Methods
23
27
  /** Permanently destroy the component */
@@ -28,7 +32,7 @@ class h extends o {
28
32
  this.widget?.updateWebDocument(t);
29
33
  }
30
34
  }
31
- e("arcgis-floor-filter", h);
35
+ e("arcgis-floor-filter", d);
32
36
  export {
33
- h as ArcgisFloorFilter
37
+ d as ArcgisFloorFilter
34
38
  };
@@ -5,24 +5,28 @@ import { classes as d } from "@arcgis/components-utils";
5
5
  import { newWidgetsFullscreenFullscreenViewModel as m } from "@arcgis/core-adapter";
6
6
  import { u, m as h } from "../../chunks/useViewModel.js";
7
7
  import { g as i } from "../../chunks/globalCss.js";
8
- import { LitElement as g, createEvent as p, noShadowRoot as f, safeClassMap as o, nothing as w } from "@arcgis/lumina";
8
+ import { LitElement as g, createEvent as f, noShadowRoot as p, safeClassMap as o, nothing as w } from "@arcgis/lumina";
9
+ import { css as y } 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.7
13
+ * v4.32.0-next.9
13
14
  */
14
- const b = {
15
+ const b = y`arcgis-fullscreen{display:flex}`, v = {
15
16
  base: "esri-fullscreen"
16
- }, v = h(m);
17
- class y extends g {
17
+ }, M = h(m);
18
+ class $ extends g {
18
19
  constructor() {
19
- super(...arguments), this.messages = u(), this.viewModel = v(this), this.autoDestroyDisabled = !1, this.element = this.viewModel.element, this.icon = "zoom-out-fixed", this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = c()("state"), this.arcgisReady = p();
20
+ super(...arguments), this.messages = u(), this.viewModel = M(this), this.autoDestroyDisabled = !1, this.element = this.viewModel.element, this.icon = "zoom-out-fixed", this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = c()("state"), this.arcgisReady = f();
20
21
  }
21
22
  static {
22
23
  this.properties = { autoDestroyDisabled: 5, element: 0, icon: 3, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, state: 3 };
23
24
  }
24
25
  static {
25
- this.shadowRootOptions = f;
26
+ this.shadowRootOptions = p;
27
+ }
28
+ static {
29
+ this.styles = b;
26
30
  }
27
31
  // #endregion
28
32
  // #region Private Properties
@@ -43,11 +47,11 @@ class y extends g {
43
47
  // #endregion
44
48
  // #region Rendering
45
49
  render() {
46
- const { fullscreenTitle: e, icon: r } = this, t = this.viewModel?.state, a = t === "feature-unsupported", l = t === "ready" || t === "disabled" || t === "feature-unsupported" ? "zoom-out-fixed" : "zoom-in-fixed";
47
- return s`<div class=${o(d(b.base, i.widget))}>${!a && s`<calcite-button class=${o(i.widgetButton)} .disabled=${t === "disabled"} .iconStart=${(r ?? l) || ""} kind=neutral .label=${e} @click=${this._toggle} title=${e ?? w}></calcite-button>` || ""}</div>`;
50
+ const { fullscreenTitle: e, icon: r } = this, t = this.viewModel?.state, l = t === "feature-unsupported", a = t === "ready" || t === "disabled" || t === "feature-unsupported" ? "zoom-out-fixed" : "zoom-in-fixed";
51
+ return s`<div class=${o(d(v.base, i.widget))}>${!l && s`<calcite-button class=${o(i.widgetButton)} .disabled=${t === "disabled"} .iconStart=${(r ?? a) || ""} kind=neutral .label=${e} @click=${this._toggle} title=${e ?? w}></calcite-button>` || ""}</div>`;
48
52
  }
49
53
  }
50
- n("arcgis-fullscreen", y);
54
+ n("arcgis-fullscreen", $);
51
55
  export {
52
- y as ArcgisFullscreen
56
+ $ as ArcgisFullscreen
53
57
  };
@@ -11,6 +11,13 @@ declare const useHistogramWidget: (component: import('@arcgis/components-control
11
11
  destroy?: (() => Promise<void>) | undefined;
12
12
  } & Pick<__esri.Histogram, "label" | "viewModel" | "icon" | "layout" | "max" | "min" | "average" | "barCreatedFunction" | "bins" | "dataLineCreatedFunction" | "dataLines" | "labelFormatFunction"> & {
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
+ */
14
21
  state?: "ready" | "disabled" | undefined;
15
22
  viewModel?: __esri.HistogramViewModel | undefined;
16
23
  icon: string | Nil;
@@ -3,15 +3,16 @@ import { newWidgetsHistogram as i } from "@arcgis/core-adapter";
3
3
  import { m as e } from "../../chunks/useWidget.js";
4
4
  import { usePropertyChange as s } from "@arcgis/components-controllers";
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.7
10
+ * v4.32.0-next.9
10
11
  */
11
- const n = e(i);
12
- class h extends a {
12
+ const h = n`arcgis-histogram{display:flex}`, d = e(i);
13
+ class m extends a {
13
14
  constructor() {
14
- super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.average = this.widget.average, this.barCreatedFunction = this.widget.barCreatedFunction, this.bins = this.widget.bins, this.dataLineCreatedFunction = this.widget.dataLineCreatedFunction, this.dataLines = this.widget.dataLines, this.icon = this.widget.icon, this.label = this.widget.label, this.labelFormatFunction = this.widget.labelFormatFunction, this.layout = this.widget.layout, this.max = this.widget.max, this.min = this.widget.min, this.position = "bottom-left", this.state = this.widget.state, this.arcgisPropertyChange = s()("state"), this.arcgisReady = o();
15
+ super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.average = this.widget.average, this.barCreatedFunction = this.widget.barCreatedFunction, this.bins = this.widget.bins, this.dataLineCreatedFunction = this.widget.dataLineCreatedFunction, this.dataLines = this.widget.dataLines, this.icon = this.widget.icon, this.label = this.widget.label, this.labelFormatFunction = this.widget.labelFormatFunction, this.layout = this.widget.layout, this.max = this.widget.max, this.min = this.widget.min, this.position = "bottom-left", this.state = this.widget.state, this.arcgisPropertyChange = s()("state"), this.arcgisReady = o();
15
16
  }
16
17
  static {
17
18
  this.properties = { autoDestroyDisabled: 5, average: 9, barCreatedFunction: 0, bins: 0, dataLineCreatedFunction: 0, dataLines: 0, icon: 1, label: 1, labelFormatFunction: 0, layout: 1, max: 9, min: 9, position: 1, referenceElement: 1, state: 3 };
@@ -19,6 +20,9 @@ class h extends a {
19
20
  static {
20
21
  this.shadowRootOptions = r;
21
22
  }
23
+ static {
24
+ this.styles = h;
25
+ }
22
26
  // #endregion
23
27
  // #region Public Methods
24
28
  /** Permanently destroy the component */
@@ -26,7 +30,7 @@ class h extends a {
26
30
  await this.manager.destroy();
27
31
  }
28
32
  }
29
- t("arcgis-histogram", h);
33
+ t("arcgis-histogram", m);
30
34
  export {
31
- h as ArcgisHistogram
35
+ m as ArcgisHistogram
32
36
  };
@@ -30,10 +30,6 @@ declare const useHistogramRangeSliderWidget: (component: import('@arcgis/compone
30
30
  autoDestroyDisabled: boolean;
31
31
  destroy: () => Promise<void>;
32
32
  }, options?: {
33
- /**
34
- * Generates a SQL where clause based on a given field and the slider's
35
- * rangeType
36
- */
37
33
  editConstructorProperties(props: __esri.HistogramRangeSliderProperties): __esri.HistogramRangeSliderProperties | Promise<__esri.HistogramRangeSliderProperties>;
38
34
  } | undefined) => __esri.HistogramRangeSlider;
39
35
  export declare class ArcgisHistogramRangeSlider extends LitElement implements Use<typeof useHistogramRangeSliderWidget> {
@@ -1,17 +1,18 @@
1
1
  import { c as e } from "../../chunks/runtime.js";
2
2
  import { newWidgetsHistogramRangeSlider as i } from "@arcgis/core-adapter";
3
- import { usePropertyChange as a } from "@arcgis/components-controllers";
4
- import { m as s } from "../../chunks/useWidget.js";
3
+ import { usePropertyChange as s } from "@arcgis/components-controllers";
4
+ import { m as a } from "../../chunks/useWidget.js";
5
5
  import { LitElement as r, createEvent as o, noShadowRoot as n } from "@arcgis/lumina";
6
+ import { css as d } 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.7
10
+ * v4.32.0-next.9
10
11
  */
11
- const d = s(i);
12
- class h extends r {
12
+ const h = d`arcgis-histogram-range-slider{display:flex}`, l = a(i);
13
+ class g extends r {
13
14
  constructor() {
14
- super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.average = this.widget.average, this.barCreatedFunction = this.widget.barCreatedFunction, this.bins = this.widget.bins, this.dataLineCreatedFunction = this.widget.dataLineCreatedFunction, this.dataLines = this.widget.dataLines, this.excludedBarColor = this.widget.excludedBarColor, this.icon = this.widget.icon, this.includedBarColor = this.widget.includedBarColor, this.label = this.widget.label, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.position = "bottom-left", this.precision = this.widget.precision, this.rangeType = this.widget.rangeType, this.standardDeviation = this.widget.standardDeviation, this.standardDeviationCount = this.widget.standardDeviationCount, this.state = this.viewModel.state, this.values = this.widget.values, this.arcgisPropertyChange = a()("state"), this.arcgisReady = o();
15
+ super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.average = this.widget.average, this.barCreatedFunction = this.widget.barCreatedFunction, this.bins = this.widget.bins, this.dataLineCreatedFunction = this.widget.dataLineCreatedFunction, this.dataLines = this.widget.dataLines, this.excludedBarColor = this.widget.excludedBarColor, this.icon = this.widget.icon, this.includedBarColor = this.widget.includedBarColor, this.label = this.widget.label, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.position = "bottom-left", this.precision = this.widget.precision, this.rangeType = this.widget.rangeType, this.standardDeviation = this.widget.standardDeviation, this.standardDeviationCount = this.widget.standardDeviationCount, this.state = this.viewModel.state, this.values = this.widget.values, this.arcgisPropertyChange = s()("state"), this.arcgisReady = o();
15
16
  }
16
17
  static {
17
18
  this.properties = { autoDestroyDisabled: 5, average: 9, barCreatedFunction: 0, bins: 0, dataLineCreatedFunction: 0, dataLines: 0, excludedBarColor: 0, icon: 1, includedBarColor: 0, label: 1, labelFormatFunction: 0, max: 9, min: 9, position: 1, precision: 9, rangeType: 1, referenceElement: 1, standardDeviation: 9, standardDeviationCount: 9, state: 3, values: 0 };
@@ -19,6 +20,9 @@ class h extends r {
19
20
  static {
20
21
  this.shadowRootOptions = n;
21
22
  }
23
+ static {
24
+ this.styles = h;
25
+ }
22
26
  // #endregion
23
27
  // #region Public Methods
24
28
  /** Permanently destroy the component */
@@ -33,7 +37,7 @@ class h extends r {
33
37
  return this.widget.generateWhereClause(t);
34
38
  }
35
39
  }
36
- e("arcgis-histogram-range-slider", h);
40
+ e("arcgis-histogram-range-slider", g);
37
41
  export {
38
- h as ArcgisHistogramRangeSlider
42
+ g as ArcgisHistogramRangeSlider
39
43
  };
@@ -10,10 +10,11 @@ import { LitElement as Yr, createEvent as Br, noShadowRoot as zr, safeClassMap a
10
10
  import { reEmitEvent as Gr } from "@arcgis/components-controllers/accessor";
11
11
  import "lit";
12
12
  import "lit-html/static.js";
13
+ import { css as qr } from "@lit/reactive-element/css-tag.js";
13
14
  /*!
14
15
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
15
16
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
16
- * v4.32.0-next.7
17
+ * v4.32.0-next.9
17
18
  */
18
19
  var d = {};
19
20
  /**
@@ -26,7 +27,7 @@ var d = {};
26
27
  * LICENSE file in the root directory of this source tree.
27
28
  */
28
29
  var Tt;
29
- function qr() {
30
+ function Kr() {
30
31
  if (Tt) return d;
31
32
  Tt = 1;
32
33
  var D = Symbol.for("react.element"), l = Symbol.for("react.portal"), H = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), V = Symbol.for("react.profiler"), G = Symbol.for("react.provider"), re = Symbol.for("react.context"), ne = Symbol.for("react.forward_ref"), ae = Symbol.for("react.suspense"), q = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), W = Symbol.iterator;
@@ -232,7 +233,7 @@ var fe = { exports: {} };
232
233
  */
233
234
  fe.exports;
234
235
  var kt;
235
- function Kr() {
236
+ function Qr() {
236
237
  return kt || (kt = 1, function(D, l) {
237
238
  process.env.NODE_ENV !== "production" && function() {
238
239
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
@@ -1490,15 +1491,15 @@ Check the top-level render call using <` + n + ">.");
1490
1491
  }();
1491
1492
  }(fe, fe.exports)), fe.exports;
1492
1493
  }
1493
- process.env.NODE_ENV === "production" ? qr() : Kr();
1494
+ process.env.NODE_ENV === "production" ? Kr() : Qr();
1494
1495
  Ue();
1495
1496
  Ue();
1496
- const Qr = {
1497
+ const Xr = qr`arcgis-home{display:flex}`, Jr = {
1497
1498
  base: "esri-home"
1498
- }, Xr = Wr(Vr);
1499
- class Jr extends Yr {
1499
+ }, Zr = Wr(Vr);
1500
+ class en extends Yr {
1500
1501
  constructor() {
1501
- super(...arguments), this.messages = Ur(), this.viewModel = Xr(this), this._calciteButton = Ue(), this.autoDestroyDisabled = !1, this.goToOverride = this.viewModel.goToOverride, this.icon = "home", this.position = "top-left", this.state = this.viewModel.state, this.viewpoint = this.viewModel.viewpoint, this.arcgisGo = Gr(() => this.viewModel, "go"), this.arcgisPropertyChange = Nr()("state"), this.arcgisReady = Br();
1502
+ super(...arguments), this.messages = Ur(), this.viewModel = Zr(this), this._calciteButton = Ue(), this.autoDestroyDisabled = !1, this.goToOverride = this.viewModel.goToOverride, this.icon = "home", this.position = "top-left", this.state = this.viewModel.state, this.viewpoint = this.viewModel.viewpoint, this.arcgisGo = Gr(() => this.viewModel, "go"), this.arcgisPropertyChange = Nr()("state"), this.arcgisReady = Br();
1502
1503
  }
1503
1504
  static {
1504
1505
  this.properties = { autoDestroyDisabled: 5, goToOverride: 0, icon: 3, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, state: 3, viewpoint: 0 };
@@ -1506,6 +1507,9 @@ class Jr extends Yr {
1506
1507
  static {
1507
1508
  this.shadowRootOptions = zr;
1508
1509
  }
1510
+ static {
1511
+ this.styles = Xr;
1512
+ }
1509
1513
  // #endregion
1510
1514
  // #region Public Methods
1511
1515
  /**
@@ -1554,10 +1558,10 @@ class Jr extends Yr {
1554
1558
  // #region Rendering
1555
1559
  render() {
1556
1560
  const { messages: l, icon: H } = this, A = this.viewModel?.state, V = A === "going-home";
1557
- return Fr`<div class=${Ot(xr(Qr.base, St.widget))}><calcite-button class=${Ot(St.widgetButton)} .disabled=${A === "disabled"} .iconStart=${V ? void 0 : H ?? void 0} kind=neutral .label=${l.componentLabel} @click=${this._go} .scale=${V ? "s" : "m"} title=${(A === "going-home" ? l.cancel : l.title) ?? Hr} ${Lr(this._calciteButton)}></calcite-button></div>`;
1561
+ return Fr`<div class=${Ot(xr(Jr.base, St.widget))}><calcite-button class=${Ot(St.widgetButton)} .disabled=${A === "disabled"} .iconStart=${V ? void 0 : H ?? void 0} kind=neutral .label=${l.componentLabel} @click=${this._go} .scale=${V ? "s" : "m"} title=${(A === "going-home" ? l.cancel : l.title) ?? Hr} ${Lr(this._calciteButton)}></calcite-button></div>`;
1558
1562
  }
1559
1563
  }
1560
- Mr("arcgis-home", Jr);
1564
+ Mr("arcgis-home", en);
1561
1565
  export {
1562
- Jr as ArcgisHome
1566
+ en as ArcgisHome
1563
1567
  };
@@ -4,15 +4,16 @@ import { usePropertyChange as o } from "@arcgis/components-controllers";
4
4
  import { m as a } from "../../chunks/useWidget.js";
5
5
  import { LitElement as r, createEvent as l, noShadowRoot as h } from "@arcgis/lumina";
6
6
  import { reEmitEvent as n } 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.7
11
+ * v4.32.0-next.9
11
12
  */
12
- const d = a(s);
13
- class g extends r {
13
+ const g = d`arcgis-layer-list{display:flex}`, c = a(s);
14
+ class m extends r {
14
15
  constructor() {
15
- super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideCatalogLayerList = this.widget.visibleElements.catalogLayerList, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.knowledgeGraphOptions = this.widget.knowledgeGraphOptions, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minDragEnabledItems = this.widget.minDragEnabledItems, this.minFilterItems = this.widget.minFilterItems, this.openedLayers = this.widget.openedLayers, 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 = o()("state"), this.arcgisReady = l(), this.arcgisTriggerAction = n(() => this.widget, "triggerAction");
16
+ super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideCatalogLayerList = this.widget.visibleElements.catalogLayerList, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.knowledgeGraphOptions = this.widget.knowledgeGraphOptions, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minDragEnabledItems = this.widget.minDragEnabledItems, this.minFilterItems = this.widget.minFilterItems, this.openedLayers = this.widget.openedLayers, 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 = o()("state"), this.arcgisReady = l(), this.arcgisTriggerAction = n(() => this.widget, "trigger-action");
16
17
  }
17
18
  static {
18
19
  this.properties = { autoDestroyDisabled: 5, catalogLayerList: 32, catalogOptions: 0, collapsed: 7, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, headingLevel: 9, hideCatalogLayerList: 5, hideFlow: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, listItemCreatedFunction: 0, minDragEnabledItems: 9, minFilterItems: 9, openedLayers: 0, operationalItems: 32, position: 1, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 3, tableList: 32, visibilityAppearance: 1 };
@@ -20,6 +21,9 @@ class g extends r {
20
21
  static {
21
22
  this.shadowRootOptions = h;
22
23
  }
24
+ static {
25
+ this.styles = g;
26
+ }
23
27
  /** The CatalogLayerList that displays a catalog layer's dynamic group layer. */
24
28
  get catalogLayerList() {
25
29
  return this.widget.catalogLayerList;
@@ -42,7 +46,7 @@ class g extends r {
42
46
  this.widget?.triggerAction(t, e);
43
47
  }
44
48
  }
45
- i("arcgis-layer-list", g);
49
+ i("arcgis-layer-list", m);
46
50
  export {
47
- g as ArcgisLayerList
51
+ m as ArcgisLayerList
48
52
  };
@@ -3,15 +3,16 @@ import { newWidgetsLegend as t } 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 r, createEvent as a, noShadowRoot as o } 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.7
10
+ * v4.32.0-next.9
10
11
  */
11
- const n = s(t);
12
- class d extends r {
12
+ const d = n`arcgis-legend{display:flex}`, h = s(t);
13
+ class l extends r {
13
14
  constructor() {
14
- super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.activeLayerInfos = this.widget.activeLayerInfos, this.autoDestroyDisabled = !1, this.basemapLegendVisible = this.widget.basemapLegendVisible, this.headingLevel = this.widget.headingLevel, this.hideLayersNotInCurrentView = this.widget.hideLayersNotInCurrentView, this.icon = this.widget.icon, this.label = this.widget.label, this.layerInfos = this.widget.layerInfos, this.legendStyle = this.widget.style, this.position = "bottom-left", this.respectLayerDefinitionExpression = this.widget.respectLayerDefinitionExpression, this.respectLayerVisibilityDisabled = this.widget.respectLayerVisibility, this.state = this.viewModel.state, this.arcgisPropertyChange = i()("state"), this.arcgisReady = a();
15
+ super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.activeLayerInfos = this.widget.activeLayerInfos, this.autoDestroyDisabled = !1, this.basemapLegendVisible = this.widget.basemapLegendVisible, this.headingLevel = this.widget.headingLevel, this.hideLayersNotInCurrentView = this.widget.hideLayersNotInCurrentView, this.icon = this.widget.icon, this.label = this.widget.label, this.layerInfos = this.widget.layerInfos, this.legendStyle = this.widget.style, this.position = "bottom-left", this.respectLayerDefinitionExpression = this.widget.respectLayerDefinitionExpression, this.respectLayerVisibilityDisabled = this.widget.respectLayerVisibility, this.state = this.viewModel.state, this.arcgisPropertyChange = i()("state"), this.arcgisReady = a();
15
16
  }
16
17
  static {
17
18
  this.properties = { activeLayerInfos: 0, autoDestroyDisabled: 5, basemapLegendVisible: 5, headingLevel: 9, hideLayersNotInCurrentView: 5, icon: 1, label: 1, layerInfos: 0, legendStyle: 1, position: 1, referenceElement: 1, respectLayerDefinitionExpression: 5, respectLayerVisibilityDisabled: 5, state: 3 };
@@ -19,6 +20,9 @@ class d extends r {
19
20
  static {
20
21
  this.shadowRootOptions = o;
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 r {
26
30
  await this.manager.destroy();
27
31
  }
28
32
  }
29
- e("arcgis-legend", d);
33
+ e("arcgis-legend", l);
30
34
  export {
31
- d as ArcgisLegend
35
+ l as ArcgisLegend
32
36
  };
@@ -1,17 +1,18 @@
1
1
  import { c as t } from "../../chunks/runtime.js";
2
- import { newWidgetsLineOfSight as e } from "@arcgis/core-adapter";
2
+ import { newWidgetsLineOfSight as s } from "@arcgis/core-adapter";
3
3
  import { usePropertyChange as i } from "@arcgis/components-controllers";
4
- import { m as s } from "../../chunks/useWidget.js";
4
+ import { m as e } from "../../chunks/useWidget.js";
5
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.7
10
+ * v4.32.0-next.9
10
11
  */
11
- const n = s(e);
12
- class h extends o {
12
+ const l = n`arcgis-line-of-sight{display:flex}`, h = e(s);
13
+ class c extends o {
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.arcgisPropertyChange = i()("analysis", "state"), this.arcgisReady = a();
15
+ super(...arguments), this.widget = h(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.arcgisPropertyChange = i()("analysis", "state"), this.arcgisReady = a();
15
16
  }
16
17
  static {
17
18
  this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3 };
@@ -19,6 +20,9 @@ class h extends o {
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() {
@@ -38,7 +42,7 @@ class h extends o {
38
42
  this.widget?.viewModel.stop();
39
43
  }
40
44
  }
41
- t("arcgis-line-of-sight", h);
45
+ t("arcgis-line-of-sight", c);
42
46
  export {
43
- h as ArcgisLineOfSight
47
+ c as ArcgisLineOfSight
44
48
  };
@@ -8,12 +8,13 @@ import { newWidgetsLocateLocateViewModel as v } from "@arcgis/core-adapter";
8
8
  import { LitElement as k, createEvent as b, noShadowRoot as y, safeClassMap as a, nothing as E } from "@arcgis/lumina";
9
9
  import { reEmitEvent as l } from "@arcgis/components-controllers/accessor";
10
10
  import { createRef as M, ref as z } from "lit-html/directives/ref.js";
11
+ import { css as x } from "@lit/reactive-element/css-tag.js";
11
12
  /*!
12
13
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
14
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
14
- * v4.32.0-next.7
15
+ * v4.32.0-next.9
15
16
  */
16
- const x = {
17
+ const L = {
17
18
  arrowDown: "esri-icon-arrow-down",
18
19
  arrowUp: "esri-icon-arrow-up",
19
20
  basemap: "esri-icon-basemap",
@@ -112,12 +113,12 @@ const x = {
112
113
  zoomInMagnifyingGlass: "esri-icon-zoom-in-magnifying-glass",
113
114
  zoomOutFixed: "esri-icon-zoom-out-fixed",
114
115
  zoomToObject: "esri-icon-zoom-to-object"
115
- }, L = {
116
+ }, T = x`arcgis-locate{display:flex}`, O = {
116
117
  base: "esri-locate"
117
- }, d = "gps-off", T = u(v);
118
- class O extends k {
118
+ }, d = "gps-off", $ = u(v);
119
+ class D extends k {
119
120
  constructor() {
120
- super(...arguments), this.messages = g(), this.viewModel = T(this), this._calciteButton = M(), this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = d, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = l(() => this.viewModel, "locateError"), this.arcgisPropertyChange = f()("state"), this.arcgisReady = b(), this.arcgisSuccess = l(() => this.viewModel, "locate");
121
+ super(...arguments), this.messages = g(), this.viewModel = $(this), this._calciteButton = M(), this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = d, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = l(() => this.viewModel, "locate-error"), this.arcgisPropertyChange = f()("state"), this.arcgisReady = b(), this.arcgisSuccess = l(() => this.viewModel, "locate");
121
122
  }
122
123
  static {
123
124
  this.properties = { autoDestroyDisabled: 5, geolocationOptions: 0, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon: 3, label: 1, messageOverrides: 0, popupDisabled: 5, position: 3, referenceElement: 1, scale: 9, state: 3 };
@@ -125,6 +126,9 @@ class O extends k {
125
126
  static {
126
127
  this.shadowRootOptions = y;
127
128
  }
129
+ static {
130
+ this.styles = T;
131
+ }
128
132
  // #endregion
129
133
  // #region Public Methods
130
134
  /**
@@ -173,11 +177,11 @@ class O extends k {
173
177
  // #endregion
174
178
  // #region Rendering
175
179
  render() {
176
- const { viewModel: i, icon: e } = this, { state: o } = i, s = o === "locating", n = s ? this.messages.cancel : this.messages.title, h = o === "feature-unsupported", p = x === void 0 ? d : void 0, t = this._localizeError(this.viewModel?.error);
177
- return r`<div class=${a(w(L.base, c.widget))}>${!h && r`<calcite-button class=${a(c.widgetButton)} .disabled=${o === "disabled"} .iconStart=${s ? void 0 : e ?? p} kind=neutral .label=${n} @click=${this._locate} title=${n ?? E} ${z(this._calciteButton)}></calcite-button>` || ""}${t ? r`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${t}</calcite-tooltip>` : null}</div>`;
180
+ const { viewModel: i, icon: e } = this, { state: o } = i, s = o === "locating", t = s ? this.messages.cancel : this.messages.title, h = o === "feature-unsupported", p = L === void 0 ? d : void 0, n = this._localizeError(this.viewModel?.error);
181
+ return r`<div class=${a(w(O.base, c.widget))}>${!h && r`<calcite-button class=${a(c.widgetButton)} .disabled=${o === "disabled"} .iconStart=${s ? void 0 : e ?? p} kind=neutral .label=${t} @click=${this._locate} title=${t ?? E} ${z(this._calciteButton)}></calcite-button>` || ""}${n ? r`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${n}</calcite-tooltip>` : null}</div>`;
178
182
  }
179
183
  }
180
- m("arcgis-locate", O);
184
+ m("arcgis-locate", D);
181
185
  export {
182
- O as ArcgisLocate
186
+ D as ArcgisLocate
183
187
  };