@arcgis/map-components 5.1.0-next.120 → 5.1.0-next.122

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 (183) hide show
  1. package/dist/cdn/{ZZORY2UI.js → 2GDVOK6V.js} +1 -1
  2. package/dist/cdn/3M2OCTTN.js +2 -0
  3. package/dist/cdn/43B43AY2.js +2 -0
  4. package/dist/cdn/{A6P7RDWG.js → 4AQ43ENS.js} +1 -1
  5. package/dist/cdn/{BQDL5AKD.js → 6RUN7OSM.js} +1 -1
  6. package/dist/cdn/{6OHXFH4A.js → 6SY6H3FZ.js} +1 -1
  7. package/dist/cdn/{JA7RPLTP.js → 6WV5RHUP.js} +2 -2
  8. package/dist/cdn/{QZMJWS2B.js → ADWNNODV.js} +1 -1
  9. package/dist/cdn/CH6EZH77.js +2 -0
  10. package/dist/cdn/CNNVHQTZ.js +4 -0
  11. package/dist/cdn/CPQRCYUD.js +2 -0
  12. package/dist/cdn/CRJEQWDO.js +2 -0
  13. package/dist/cdn/DCNSXS23.js +2 -0
  14. package/dist/cdn/DZMN2UH5.js +2 -0
  15. package/dist/cdn/EJAWFQRM.js +2 -0
  16. package/dist/cdn/FKJU4SJG.js +2 -0
  17. package/dist/cdn/FWSLFWOH.js +2 -0
  18. package/dist/cdn/{Q4753YCY.js → GD7MA2TO.js} +1 -1
  19. package/dist/cdn/HBE3W2BQ.js +2 -0
  20. package/dist/cdn/IJYN5YEP.js +2 -0
  21. package/dist/cdn/JOOGE4FT.js +2 -0
  22. package/dist/cdn/{VRLY2I2M.js → MASUN7EL.js} +1 -1
  23. package/dist/cdn/{X5TD4KCW.js → MZBCMFYH.js} +1 -1
  24. package/dist/cdn/{FMTWGY6C.js → NJHOCKLL.js} +1 -1
  25. package/dist/cdn/OZJJULKI.js +2 -0
  26. package/dist/cdn/{J4TYGEI3.js → RIRETHHL.js} +1 -1
  27. package/dist/cdn/{PO3NMPKS.js → SXWQBHG3.js} +1 -1
  28. package/dist/cdn/TCUFYIIZ.js +2 -0
  29. package/dist/cdn/VHJSRDE4.js +2 -0
  30. package/dist/cdn/{7I7G7KRT.js → W4SQ3QCZ.js} +1 -1
  31. package/dist/cdn/WFL2WTJK.js +2 -0
  32. package/dist/cdn/X5UAYUNL.js +2 -0
  33. package/dist/cdn/{L77C4X4F.js → XYUG5M3W.js} +1 -1
  34. package/dist/cdn/assets/feature-templates/t9n/messages.ar.json +1 -0
  35. package/dist/cdn/assets/feature-templates/t9n/messages.bg.json +1 -0
  36. package/dist/cdn/assets/feature-templates/t9n/messages.bs.json +1 -0
  37. package/dist/cdn/assets/feature-templates/t9n/messages.ca.json +1 -0
  38. package/dist/cdn/assets/feature-templates/t9n/messages.cs.json +1 -0
  39. package/dist/cdn/assets/feature-templates/t9n/messages.da.json +1 -0
  40. package/dist/cdn/assets/feature-templates/t9n/messages.de.json +1 -0
  41. package/dist/cdn/assets/feature-templates/t9n/messages.el.json +1 -0
  42. package/dist/cdn/assets/feature-templates/t9n/messages.en.json +1 -0
  43. package/dist/cdn/assets/feature-templates/t9n/messages.es.json +1 -0
  44. package/dist/cdn/assets/feature-templates/t9n/messages.et.json +1 -0
  45. package/dist/cdn/assets/feature-templates/t9n/messages.fi.json +1 -0
  46. package/dist/cdn/assets/feature-templates/t9n/messages.fr.json +1 -0
  47. package/dist/cdn/assets/feature-templates/t9n/messages.he.json +1 -0
  48. package/dist/cdn/assets/feature-templates/t9n/messages.hr.json +1 -0
  49. package/dist/cdn/assets/feature-templates/t9n/messages.hu.json +1 -0
  50. package/dist/cdn/assets/feature-templates/t9n/messages.id.json +1 -0
  51. package/dist/cdn/assets/feature-templates/t9n/messages.it.json +1 -0
  52. package/dist/cdn/assets/feature-templates/t9n/messages.ja.json +1 -0
  53. package/dist/cdn/assets/feature-templates/t9n/messages.ko.json +1 -0
  54. package/dist/cdn/assets/feature-templates/t9n/messages.lt.json +1 -0
  55. package/dist/cdn/assets/feature-templates/t9n/messages.lv.json +1 -0
  56. package/dist/cdn/assets/feature-templates/t9n/messages.nl.json +1 -0
  57. package/dist/cdn/assets/feature-templates/t9n/messages.no.json +1 -0
  58. package/dist/cdn/assets/feature-templates/t9n/messages.pl.json +1 -0
  59. package/dist/cdn/assets/feature-templates/t9n/messages.pt-BR.json +1 -0
  60. package/dist/cdn/assets/feature-templates/t9n/messages.pt-PT.json +1 -0
  61. package/dist/cdn/assets/feature-templates/t9n/messages.ro.json +1 -0
  62. package/dist/cdn/assets/feature-templates/t9n/messages.ru.json +1 -0
  63. package/dist/cdn/assets/feature-templates/t9n/messages.sk.json +1 -0
  64. package/dist/cdn/assets/feature-templates/t9n/messages.sl.json +1 -0
  65. package/dist/cdn/assets/feature-templates/t9n/messages.sr.json +1 -0
  66. package/dist/cdn/assets/feature-templates/t9n/messages.sv.json +1 -0
  67. package/dist/cdn/assets/feature-templates/t9n/messages.th.json +1 -0
  68. package/dist/cdn/assets/feature-templates/t9n/messages.tr.json +1 -0
  69. package/dist/cdn/assets/feature-templates/t9n/messages.uk.json +1 -0
  70. package/dist/cdn/assets/feature-templates/t9n/messages.vi.json +1 -0
  71. package/dist/cdn/assets/feature-templates/t9n/messages.zh-CN.json +1 -0
  72. package/dist/cdn/assets/feature-templates/t9n/messages.zh-HK.json +1 -0
  73. package/dist/cdn/assets/feature-templates/t9n/messages.zh-TW.json +1 -0
  74. package/dist/cdn/index.js +1 -1
  75. package/dist/cdn/main.css +1 -1
  76. package/dist/chunks/useArcgisViewReadyError.js +60 -111
  77. package/dist/components/arcgis-daylight/customElement.d.ts +1 -0
  78. package/dist/components/arcgis-daylight/customElement.js +98 -112
  79. package/dist/components/arcgis-feature-table/customElement.d.ts +8 -0
  80. package/dist/components/arcgis-feature-table/customElement.js +28 -28
  81. package/dist/components/arcgis-feature-templates/TemplateItem.d.ts +33 -0
  82. package/dist/components/arcgis-feature-templates/customElement.d.ts +275 -0
  83. package/dist/components/arcgis-feature-templates/customElement.js +560 -0
  84. package/dist/components/arcgis-feature-templates/index.d.ts +1 -0
  85. package/dist/components/arcgis-feature-templates/index.js +13 -0
  86. package/dist/components/arcgis-features-next/customElement.d.ts +2 -0
  87. package/dist/components/arcgis-features-next/customElement.js +69 -63
  88. package/dist/components/arcgis-features-next/index.js +1 -0
  89. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +23 -23
  90. package/dist/components/arcgis-link-chart/customElement.d.ts +11 -4
  91. package/dist/components/arcgis-link-chart/customElement.js +11 -11
  92. package/dist/components/arcgis-map/customElement.d.ts +10 -3
  93. package/dist/components/arcgis-map/customElement.js +9 -9
  94. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +3 -3
  95. package/dist/components/arcgis-paste/PasteViewModel.d.ts +1 -1
  96. package/dist/components/arcgis-paste/customElement.js +27 -38
  97. package/dist/components/arcgis-paste/index.js +1 -1
  98. package/dist/components/arcgis-popup/customElement.d.ts +2 -0
  99. package/dist/components/arcgis-popup/customElement.js +9 -9
  100. package/dist/components/arcgis-scene/customElement.d.ts +10 -3
  101. package/dist/components/arcgis-scene/customElement.js +24 -24
  102. package/dist/components/arcgis-search/customElement.js +6 -6
  103. package/dist/components/arcgis-template-image/customElement.d.ts +14 -0
  104. package/dist/components/arcgis-template-image/customElement.js +119 -0
  105. package/dist/components/arcgis-template-image/index.d.ts +1 -0
  106. package/dist/components/arcgis-template-image/index.js +1 -0
  107. package/dist/components/arcgis-video/customElement.d.ts +15 -2
  108. package/dist/components/arcgis-video/customElement.js +5 -5
  109. package/dist/components/arcgis-video-player/customElement.d.ts +7 -0
  110. package/dist/components/arcgis-video-player/customElement.js +14 -11
  111. package/dist/components/arcgis-video-player-controls-group/customElement.js +19 -17
  112. package/dist/components/arcgis-video-player-settings/customElement.js +20 -18
  113. package/dist/components/arcgis-video-player-settings/index.js +1 -0
  114. package/dist/docs/api.json +1 -1
  115. package/dist/docs/docs.json +1 -1
  116. package/dist/docs/vscode.html-custom-data.json +1 -1
  117. package/dist/docs/web-types.json +1 -1
  118. package/dist/index.d.ts +14 -0
  119. package/dist/loader.js +10 -8
  120. package/dist/types/lumina.d.ts +18 -4
  121. package/dist/types/preact.d.ts +20 -4
  122. package/dist/types/react.d.ts +22 -4
  123. package/dist/types/stencil.d.ts +18 -4
  124. package/package.json +4 -4
  125. package/dist/cdn/3X33RWNO.js +0 -2
  126. package/dist/cdn/5QATVROE.js +0 -2
  127. package/dist/cdn/CLFGHCMB.js +0 -2
  128. package/dist/cdn/COKJF3EH.js +0 -2
  129. package/dist/cdn/E33LBHQA.js +0 -4
  130. package/dist/cdn/E6IL4F2M.js +0 -2
  131. package/dist/cdn/G56TPBPA.js +0 -2
  132. package/dist/cdn/GCFIJLPC.js +0 -2
  133. package/dist/cdn/JUIA2RF6.js +0 -2
  134. package/dist/cdn/L4RTHLN4.js +0 -2
  135. package/dist/cdn/OYP56BNC.js +0 -2
  136. package/dist/cdn/QKPKTEN4.js +0 -2
  137. package/dist/cdn/R45DWBFZ.js +0 -2
  138. package/dist/cdn/RPMEM4UV.js +0 -2
  139. package/dist/cdn/RZHHKFQG.js +0 -2
  140. package/dist/cdn/SM4Y3DFU.js +0 -2
  141. package/dist/cdn/ZVTOXQKI.js +0 -2
  142. /package/dist/cdn/{GJ5TOPT3.js → 2CZRXPMB.js} +0 -0
  143. /package/dist/cdn/{DPU3VHST.js → 2RIDZVJS.js} +0 -0
  144. /package/dist/cdn/{SUNN2JJ2.js → 3DVOY4BQ.js} +0 -0
  145. /package/dist/cdn/{NDMFLRTB.js → 3NSVHKCX.js} +0 -0
  146. /package/dist/cdn/{O6LYJEON.js → 3WCEFKJX.js} +0 -0
  147. /package/dist/cdn/{MC2YUGXZ.js → 3X2K6TOS.js} +0 -0
  148. /package/dist/cdn/{KCP3JSEI.js → 5U45EC5U.js} +0 -0
  149. /package/dist/cdn/{OKNXBCUX.js → 6TIWCGNI.js} +0 -0
  150. /package/dist/cdn/{U3TSRIEI.js → ACZBI3TS.js} +0 -0
  151. /package/dist/cdn/{L54L4XXE.js → BALE27RC.js} +0 -0
  152. /package/dist/cdn/{W52ULASU.js → CSLP3Y5Q.js} +0 -0
  153. /package/dist/cdn/{URTOVAT4.js → FVOWGP5P.js} +0 -0
  154. /package/dist/cdn/{772IZDK4.js → HHVQ6PZP.js} +0 -0
  155. /package/dist/cdn/{7LWMV5A2.js → IIQPDHOL.js} +0 -0
  156. /package/dist/cdn/{KDLK5QD5.js → KODINAEM.js} +0 -0
  157. /package/dist/cdn/{KRMRVJFP.js → KOSOMJZF.js} +0 -0
  158. /package/dist/cdn/{7IB6AI2V.js → LCL6A5WY.js} +0 -0
  159. /package/dist/cdn/{VUQCK6IF.js → M3RQA7LC.js} +0 -0
  160. /package/dist/cdn/{GNOAUTDK.js → NFC5RKO7.js} +0 -0
  161. /package/dist/cdn/{NRMPFAXY.js → NY56F774.js} +0 -0
  162. /package/dist/cdn/{IL63OQEZ.js → OKZBZTFG.js} +0 -0
  163. /package/dist/cdn/{XUZ43MBE.js → PFWDUC5T.js} +0 -0
  164. /package/dist/cdn/{KOZ67YXN.js → PS4ID2TE.js} +0 -0
  165. /package/dist/cdn/{AVFPVB7U.js → QBLPJW3F.js} +0 -0
  166. /package/dist/cdn/{UHA7OYN5.js → R6G7YQAK.js} +0 -0
  167. /package/dist/cdn/{TKKD4742.js → RT5PKDE3.js} +0 -0
  168. /package/dist/cdn/{H76ZEZDT.js → S372YWXF.js} +0 -0
  169. /package/dist/cdn/{3MSBRZSL.js → S6ARJLXF.js} +0 -0
  170. /package/dist/cdn/{GMSP2RYI.js → ST4PUEOI.js} +0 -0
  171. /package/dist/cdn/{ZRRRSIMH.js → SYVTOG2B.js} +0 -0
  172. /package/dist/cdn/{FV53P5VQ.js → U5WUAQYQ.js} +0 -0
  173. /package/dist/cdn/{F6ZBUVU3.js → UGILYDTR.js} +0 -0
  174. /package/dist/cdn/{NI4PVDRC.js → VOI7MTIP.js} +0 -0
  175. /package/dist/cdn/{QGYTLHWY.js → VZLSY2HC.js} +0 -0
  176. /package/dist/cdn/{KAJYVAAI.js → WDDHDMHF.js} +0 -0
  177. /package/dist/cdn/{HEP3BHHQ.js → XPGK3YXK.js} +0 -0
  178. /package/dist/cdn/{2KBFRAA3.js → XQ5DUVE2.js} +0 -0
  179. /package/dist/cdn/{LSPV526S.js → XVEQWFE4.js} +0 -0
  180. /package/dist/cdn/{CK5XEDZS.js → YDOV4SQ2.js} +0 -0
  181. /package/dist/cdn/{PZSA4K32.js → YGVTAUE6.js} +0 -0
  182. /package/dist/cdn/{7D5T777O.js → YSJ2NU2N.js} +0 -0
  183. /package/dist/cdn/{OWF5OCZY.js → ZHJBZYZ4.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as s } from "../../chunks/runtime.js";
3
- import { on as c } from "@arcgis/core/core/reactiveUtils.js";
2
+ import { c } from "../../chunks/runtime.js";
3
+ import { on as d } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import a from "@arcgis/core/layers/Layer.js";
5
- import d from "@arcgis/core/widgets/FeatureTable.js";
6
- import { LitElement as h, createEvent as o } from "@arcgis/lumina";
7
- import { usePropertyChange as g } from "@arcgis/lumina/controllers";
5
+ import h from "@arcgis/core/widgets/FeatureTable.js";
6
+ import { LitElement as g, createEvent as o } from "@arcgis/lumina";
7
+ import { usePropertyChange as m } from "@arcgis/lumina/controllers";
8
8
  import { reEmitEvent as t } from "@arcgis/lumina/controllers/accessor";
9
- import { unsafeGetCalciteModeName as m } from "@arcgis/toolkit/dom";
10
- import { m as u } from "../../chunks/useWidget.js";
11
- import { d as p, g as b } from "../../chunks/component-utils.js";
12
- import { css as _ } from "lit";
9
+ import { unsafeGetCalciteModeName as u } from "@arcgis/toolkit/dom";
10
+ import { m as p } from "../../chunks/useWidget.js";
11
+ import { d as b, g as _ } from "../../chunks/component-utils.js";
12
+ import { css as w } from "lit";
13
13
  import { rethrowError as l } from "@arcgis/toolkit/log";
14
- import { u as w } from "../../chunks/useLayerById.js";
15
- const f = _`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-feature-table{--icon-size: 64px;flex-direction:column;width:100%;height:100%;display:flex}.esri-feature-table__content{overflow:hidden}.esri-feature-table__content calcite-pagination{justify-content:center}.esri-feature-table calcite-scrim>div:first-child{min-width:300px;max-width:400px;max-height:100%;position:relative}.esri-feature-table__collapsed{min-width:500px}.esri-feature-table__collapsed:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px;max-width:300px}.esri-feature-table__expanded{min-width:300px;display:flex}.esri-feature-table__expanded:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2)}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel{min-width:fit-content}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel>div:first-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child .esri-feature-table__collapsed{max-width:inherit}.esri-feature-table__table-container{flex:1 1 0;min-height:0;margin:0;padding:0;display:flex;width:100%;height:100%}.esri-feature-table__table-container calcite-panel>div{overflow-y:auto}.esri-feature-table__table-container calcite-panel div{flex:1 1 0;display:flex}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);flex:1 1 0;min-width:480px;overflow-y:auto}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list__filesize{cursor:default;align-items:center;height:100%;margin-inline-end:var(--calcite-spacing-md);display:flex}.esri-feature-table__table-navigation{--calcite-label-margin-bottom: 0;background-color:var(--calcite-color-foreground-1);width:100%;line-height:initial;align-items:center;padding-block-start:var(--calcite-spacing-base);display:flex}.esri-feature-table__table-navigation calcite-action:first-child{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);transform:scaleX(-1)}.esri-feature-table__table-navigation calcite-chip{--calcite-chip-close-icon-color: var(--calcite-color-text-inverse);margin-inline-end:var(--calcite-spacing-md)}.esri-feature-table__table-navigation calcite-label{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding-inline:var(--calcite-spacing-md);height:100%}.esri-feature-table__table-navigation calcite-action{display:flex;overflow:hidden}.esri-feature-table__table-navigation div:last-child{float:inline-end;align-items:center;height:100%;margin-inline:auto 0;display:flex}.esri-feature-table__table-navigation calcite-action:last-child{float:inline-end;margin-inline:auto 0;display:flex}.esri-feature-table__attachments-view{background-color:var(--calcite-color-foreground-1);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px}.esri-feature-table__attachments-view__content{background-color:var(--calcite-color-background);padding:var(--calcite-spacing-md);flex-direction:column;justify-content:center;align-items:center;width:100%;max-height:100%;overflow-y:auto}.esri-feature-table__attachments-view__details,.esri-feature-table__attachments-view__drop-area{flex-direction:column;justify-content:center;align-items:center;width:100%}.esri-feature-table__attachments-view__details{padding:var(--calcite-spacing-xl);max-height:100%}.esri-feature-table__attachments-view__details img{display:block;padding:var(--calcite-spacing-sm);max-width:100%;max-height:100%}.esri-feature-table__attachments-view__details caclite-action{--calcite-action-text-color: var(--calcite-color-brand);position:sticky}.esri-feature-table__attachments-view__drop-area{border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-round);text-align:center}.esri-feature-table__attachments-view__drop-area form{justify-content:center;display:flex}.esri-feature-table__attachments-view__drop-area form fieldset{border:none;display:flex;flex-direction:column;align-items:center}.esri-feature-table__attachments-view__drop-area form fieldset calcite-button,.esri-feature-table__attachments-view__drop-area form fieldset span{margin-bottom:var(--calcite-spacing-sm)}.esri-feature-table__attachments-view__drop-area__label{margin-bottom:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md)}.esri-feature-table__attachments-view__drop-area__message{margin-bottom:var(--calcite-spacing-md);word-break:break-all}.esri-feature-table__attachments-view__icon{margin-bottom:var(--calcite-spacing-md);block-size:var(--icon-size);inline-size:var(--icon-size)}.esri-feature-table__attachments-view__information{padding:var(--calcite-spacing-md);flex-direction:column;max-width:200px;overflow-y:auto}.esri-feature-table__attachments-view__information calcite-button,.esri-feature-table__attachments-view__information calcite-icon,.esri-feature-table__attachments-view__information img{margin-block-end:var(--calcite-spacing-md)}.esri-feature-table__attachments-view__information__data{margin-block-end:var(--calcite-spacing-md);word-wrap:break-word;color:var(--calcite-color-text-1)}.esri-feature-table__attachments-view__information__label{color:var(--calcite-color-text-3);font-weight:var(--calcite-font-weight-normal)}.esri-feature-table__attachments-view__list-item--delete{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-feature-table__attachments-view__list__thumbnail{margin-block:var(--calcite-spacing-sm);justify-content:center;align-items:center}.esri-feature-table__attachments-view__list__thumbnail span{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);width:var(--icon-size);height:var(--icon-size);color:var(--calcite-color-text-3);justify-content:center;align-items:center;display:flex;overflow:hidden}.esri-feature-table__menu-popover calcite-list{max-width:300px;max-height:260px;overflow-y:auto}.esri-feature-table__dialog{--calcite-dialog-content-space: 0}.esri-feature-table__dialog calcite-progress{position:sticky;top:0;margin-bottom:var(--calcite-spacing-sm)}.esri-feature-table__dialog calcite-pagination{justify-content:center;width:100%}.esri-feature-table__dialog img{width:auto;max-width:100%}.esri-feature-table__dialog__content{display:flex;flex-direction:column;flex-grow:1;align-items:center;justify-content:center}.esri-feature-table__dialog__header{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);justify-content:space-between;width:100%}.esri-feature-table__dialog__header span{align-self:center;word-break:break-all}.esri-feature-table__footer__message{gap:var(--calcite-spacing-sm);margin:0 var(--calcite-spacing-md);align-items:center;display:flex}.esri-feature-table__footer__icon--danger{color:var(--calcite-color-status-danger)}.esri-feature-table__footer__icon--success{color:var(--calcite-color-status-success)}.esri-feature-table__layer-switcher-menu{align-items:center;display:flex}.esri-attachments-column__button,.esri-column__show-related-records-button{--calcite-offset-invert-focus: 2}.esri-column__show-related-records-button{height:100%;display:flex}.esri-attachments-column__button{overflow:hidden}.esri-attachments-column__button>div{display:flex;overflow:hidden}.esri-attachments-column__button>div>div:first-child{text-overflow:ellipsis;width:100%;margin-inline-end:var(--calcite-spacing-xxl);overflow:hidden}.esri-attachments-column__button>div span{align-self:center;position:absolute;inset-inline-end:var(--calcite-spacing-xxxl)}.esri-attachments-column__content{flex-direction:row;justify-content:space-between;width:100%;height:100%;display:flex;overflow:hidden}.esri-attachments-column__content>div:first-child{text-overflow:ellipsis;line-height:0;overflow:hidden}.esri-attachments-column__button calcite-icon,.esri-attachments-column__button img,.esri-attachments-column__content calcite-icon,.esri-attachments-column__content img{max-width:var(--calcite-spacing-xxl);max-height:var(--calcite-spacing-xxl);vertical-align:middle;margin-inline-end:var(--calcite-spacing-xxs);display:inline-flex}.esri-grid{background-color:var(--calcite-color-foreground-1);width:100%;height:100%}.esri-grid vaadin-grid{border-block-end:none;border-inline:none;background-color:inherit;color:inherit;font-family:inherit;font-size:var(--calcite-font-size);overflow:visible}.esri-grid vaadin-grid[reordering]::part(cell):after{content:normal}.esri-grid vaadin-grid[reordering]::part(frozen-cell),.esri-grid vaadin-grid[reordering]::part(frozen-to-end-cell),.esri-grid vaadin-grid[reordering]::part(reorder-allowed-cell){filter:brightness(.9) contrast(1.1)}.esri-grid vaadin-grid::part(empty-state){border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);color:var(--calcite-color-text-1)}.esri-grid vaadin-grid::part(cell editing){z-index:2}.esri-grid vaadin-grid::part(frozen-cell),.esri-grid vaadin-grid::part(frozen-to-end-cell){z-index:4}.esri-grid vaadin-grid::part(cell last-frozen-cell){overflow:visible}.esri-grid vaadin-grid::part(cell text-wrap){text-wrap:wrap}.esri-grid vaadin-grid-cell-content{box-sizing:border-box!important;align-items:center;padding:var(--calcite-spacing-xxs) var(--calcite-spacing-sm);height:100%;min-height:var(--calcite-font-line-height-fixed-3xl)}.esri-grid vaadin-grid::part(cell){border-inline-end:var(--calcite-border-width-sm) solid;border-color:var(--calcite-color-foreground-3);line-height:28px;color:var(--calcite-color-text-1)}.esri-grid vaadin-grid::part(cell):focus:after{outline-color:var(--calcite-color-brand)}.esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(body-cell){background-color:var(--calcite-color-foreground-1)}.esri-grid vaadin-grid::part(body-cell):hover{background-color:var(--calcite-color-foreground-2)}.esri-grid vaadin-grid::part(body-cell invalid){color:var(--calcite-color-text-3);font-style:italic}.esri-grid vaadin-grid::part(header-cell){background-color:var(--calcite-color-background)}.esri-grid vaadin-grid::part(header-cell invalid){font-weight:var(--calcite-font-weight-bold)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand)}.esri-grid vaadin-grid::part(body-cell highlight){background-color:var(--calcite-color-foreground-3)}.esri-grid vaadin-grid::part(body-cell pending-edit){border:var(--calcite-border-width-md) solid var(--calcite-color-status-success);background-color:color-mix(in sRGB,var(--calcite-color-status-success) 20%,var(--calcite-color-foreground-1));&:hover{background-color:color-mix(in sRGB,var(--calcite-color-status-success-hover) 20%,var(--calcite-color-foreground-1))}}.esri-grid vaadin-grid::part(body-cell pending-edit-invalid){border:var(--calcite-border-width-md) dashed var(--calcite-color-status-danger);background-color:color-mix(in sRGB,var(--calcite-color-status-danger) 20%,var(--calcite-color-foreground-1));font-weight:var(--calcite-font-weight-bold);&:hover{background-color:color-mix(in sRGB,var(--calcite-color-status-danger-hover) 20%,var(--calcite-color-foreground-1))}}.esri-grid vaadin-grid::part(body-cell pending-edit-other){cursor:not-allowed;color:var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(selected-row-cell){background-color:color-mix(in sRGB,var(--calcite-color-brand) 10%,var(--calcite-color-foreground-1))}.esri-grid vaadin-grid::part(selected-row-cell):hover{background-color:color-mix(in sRGB,var(--calcite-color-brand) 20%,var(--calcite-color-foreground-1))}.esri-grid vaadin-checkbox{line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox::part(checkbox){background-color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox[checked]::part(checkbox){background-color:var(--calcite-color-brand)}.esri-grid vaadin-grid-sorter[direction]::part(indicators),.esri-grid vaadin-grid-sorter[direction]::part(order){color:var(--calcite-color-text-1)}.esri-grid .esri-grid__content{background-color:inherit;width:100%;height:100%}.esri-grid .esri-grid__grid{width:100%;height:100%}.esri-grid a{color:var(--calcite-color-text-link);text-decoration:underline}.esri-grid a:hover,.esri-grid a:focus{color:var(--calcite-color-text-highlight)}.esri-grid .esri-column__content--full{width:100%;height:100%;position:absolute;top:0;left:0}.esri-grid .esri-column__header-content{text-align:start;align-items:flex-start;width:100%;height:100%;font-weight:var(--calcite-font-weight-normal);display:flex;overflow:hidden}.esri-grid .esri-column__header-content:has(calcite-icon:only-child){justify-content:center;align-items:center}.esri-grid .esri-column__header-content div{width:100%;flex-flow:column wrap;display:flex;overflow:hidden}.esri-grid .esri-column__header-content div span{text-overflow:ellipsis;width:100%;line-height:var(--calcite-font-line-height-fixed-xl);overflow:hidden}.esri-grid .esri-column__header-content calcite-icon{height:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxs)}.esri-grid .esri-column__header-content calcite-dropdown{float:inline-end;max-height:180px}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group{max-width:200px;overflow-x:auto}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group:only-of-type{max-height:180px;overflow:visible}.esri-grid .esri-column__header-content calcite-dropdown[open] calcite-dropdown-item{display:flex}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item,.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item[hidden]{display:none}.esri-grid .esri-column__header-description{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.esri-grid .esri-column__sorter:hover{cursor:pointer}.esri-grid .esri-column__sorter,.esri-grid .esri-column__header-label{color:var(--calcite-color-text-1);flex-grow:1;align-items:center;display:flex;overflow:hidden}.esri-column__header-menu-icon{margin-inline-end:15px}.esri-column__cell-input{border:none;flex:1 1 0;width:100%;height:100%}.esri-column__cell__input-container{flex-direction:column;align-items:center;width:100%;display:flex}.esri-column__cell__input-container input,.esri-column__cell__input-container select{padding:0;position:absolute;top:0;left:0}.esri-column__cell__input-container div,.esri-column__cell__input-container input,.esri-column__cell__input-container select{width:100%;display:flex}.esri-column__cell__input-container calcite-action-bar{background-color:var(--calcite-color-foreground-1)}.esri-column__cell__input-container div:first-child{flex-direction:column}.esri-column__cell__input-container calcite-input-time-zone{--calcite-dropdown-width: 200px}.esri-column__cell__input-container calcite-input-time-picker:last-child,.esri-column__cell__input-container calcite-input-time-picker:nth-child(2),.esri-column__cell__input-container calcite-input-time-zone{margin-top:-1px}.esri-feature-table .esri-editor__prompt--danger{border-top:solid 3px var(--calcite-color-status-danger);background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);flex-flow:column;max-height:85%;padding-block:var(--calcite-spacing-md);padding-inline:15px;animation:.25s ease-in-out esri-fade-in-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 1px 2px #0000004d}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header{color:var(--calcite-color-status-danger);flex:none;align-items:center;gap:7px;margin-bottom:var(--calcite-spacing-md);display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header__heading{color:var(--calcite-color-text-1);margin:0 3px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__message{word-break:break-word;color:inherit;flex:auto;padding:0 0 12px;font-weight:var(--calcite-font-weight-normal);overflow:hidden auto}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__divider{color:inherit;border-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:1px;flex:none;margin:0 0 12px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__actions{flex-direction:row;display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__half-width-button{width:50%}`, v = u(d);
16
- class x extends h {
14
+ import { u as f } from "../../chunks/useLayerById.js";
15
+ const v = w`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-feature-table{--icon-size: 64px;flex-direction:column;width:100%;height:100%;display:flex}.esri-feature-table__content{overflow:hidden}.esri-feature-table__content calcite-pagination{justify-content:center}.esri-feature-table calcite-scrim>div:first-child{min-width:300px;max-width:400px;max-height:100%;position:relative}.esri-feature-table__collapsed{min-width:500px}.esri-feature-table__collapsed:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px;max-width:300px}.esri-feature-table__expanded{min-width:300px;display:flex}.esri-feature-table__expanded:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2)}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel{min-width:fit-content}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel>div:first-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child .esri-feature-table__collapsed{max-width:inherit}.esri-feature-table__table-container{flex:1 1 0;min-height:0;margin:0;padding:0;display:flex;width:100%;height:100%}.esri-feature-table__table-container calcite-panel>div{overflow-y:auto}.esri-feature-table__table-container calcite-panel div{flex:1 1 0;display:flex}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);flex:1 1 0;min-width:480px;overflow-y:auto}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list__filesize{cursor:default;align-items:center;height:100%;margin-inline-end:var(--calcite-spacing-md);display:flex}.esri-feature-table__table-navigation{--calcite-label-margin-bottom: 0;background-color:var(--calcite-color-foreground-1);width:100%;line-height:initial;align-items:center;padding-block-start:var(--calcite-spacing-base);display:flex}.esri-feature-table__table-navigation calcite-action:first-child{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);transform:scaleX(-1)}.esri-feature-table__table-navigation calcite-chip{--calcite-chip-close-icon-color: var(--calcite-color-text-inverse);margin-inline-end:var(--calcite-spacing-md)}.esri-feature-table__table-navigation calcite-label{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding-inline:var(--calcite-spacing-md);height:100%}.esri-feature-table__table-navigation calcite-action{display:flex;overflow:hidden}.esri-feature-table__table-navigation div:last-child{float:inline-end;align-items:center;height:100%;margin-inline:auto 0;display:flex}.esri-feature-table__table-navigation calcite-action:last-child{float:inline-end;margin-inline:auto 0;display:flex}.esri-feature-table__attachments-view{background-color:var(--calcite-color-foreground-1);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px}.esri-feature-table__attachments-view__content{background-color:var(--calcite-color-background);padding:var(--calcite-spacing-md);flex-direction:column;justify-content:center;align-items:center;width:100%;max-height:100%;overflow-y:auto}.esri-feature-table__attachments-view__details,.esri-feature-table__attachments-view__drop-area{flex-direction:column;justify-content:center;align-items:center;width:100%}.esri-feature-table__attachments-view__details{padding:var(--calcite-spacing-xl);max-height:100%}.esri-feature-table__attachments-view__details img{display:block;padding:var(--calcite-spacing-sm);max-width:100%;max-height:100%}.esri-feature-table__attachments-view__details caclite-action{--calcite-action-text-color: var(--calcite-color-brand);position:sticky}.esri-feature-table__attachments-view__drop-area{border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-round);text-align:center}.esri-feature-table__attachments-view__drop-area form{justify-content:center;display:flex}.esri-feature-table__attachments-view__drop-area form fieldset{border:none;display:flex;flex-direction:column;align-items:center}.esri-feature-table__attachments-view__drop-area form fieldset calcite-button,.esri-feature-table__attachments-view__drop-area form fieldset span{margin-bottom:var(--calcite-spacing-sm)}.esri-feature-table__attachments-view__drop-area__label{margin-bottom:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md)}.esri-feature-table__attachments-view__drop-area__message{margin-bottom:var(--calcite-spacing-md);word-break:break-all}.esri-feature-table__attachments-view__icon{margin-bottom:var(--calcite-spacing-md);block-size:var(--icon-size);inline-size:var(--icon-size)}.esri-feature-table__attachments-view__information{padding:var(--calcite-spacing-md);flex-direction:column;max-width:200px;overflow-y:auto}.esri-feature-table__attachments-view__information calcite-button,.esri-feature-table__attachments-view__information calcite-icon,.esri-feature-table__attachments-view__information img{margin-block-end:var(--calcite-spacing-md)}.esri-feature-table__attachments-view__information__data{margin-block-end:var(--calcite-spacing-md);word-wrap:break-word;color:var(--calcite-color-text-1)}.esri-feature-table__attachments-view__information__label{color:var(--calcite-color-text-3);font-weight:var(--calcite-font-weight-normal)}.esri-feature-table__attachments-view__list-item--delete{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-feature-table__attachments-view__list__thumbnail{margin-block:var(--calcite-spacing-sm);justify-content:center;align-items:center}.esri-feature-table__attachments-view__list__thumbnail span{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);width:var(--icon-size);height:var(--icon-size);color:var(--calcite-color-text-3);justify-content:center;align-items:center;display:flex;overflow:hidden}.esri-feature-table__menu-popover calcite-list{max-width:300px;max-height:260px;overflow-y:auto}.esri-feature-table__dialog{--calcite-dialog-content-space: 0}.esri-feature-table__dialog calcite-progress{position:sticky;top:0;margin-bottom:var(--calcite-spacing-sm)}.esri-feature-table__dialog calcite-pagination{justify-content:center;width:100%}.esri-feature-table__dialog img{width:auto;max-width:100%}.esri-feature-table__dialog__content{display:flex;flex-direction:column;flex-grow:1;align-items:center;justify-content:center}.esri-feature-table__dialog__header{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);justify-content:space-between;width:100%}.esri-feature-table__dialog__header span{align-self:center;word-break:break-all}.esri-feature-table__footer__message{gap:var(--calcite-spacing-sm);margin:0 var(--calcite-spacing-md);align-items:center;display:flex}.esri-feature-table__footer__icon--danger{color:var(--calcite-color-status-danger)}.esri-feature-table__footer__icon--success{color:var(--calcite-color-status-success)}.esri-feature-table__layer-switcher-menu{align-items:center;display:flex}.esri-attachments-column__button,.esri-column__show-related-records-button{--calcite-offset-invert-focus: 2}.esri-column__show-related-records-button{height:100%;display:flex}.esri-attachments-column__button{overflow:hidden}.esri-attachments-column__button>div{display:flex;overflow:hidden}.esri-attachments-column__button>div>div:first-child{text-overflow:ellipsis;width:100%;margin-inline-end:var(--calcite-spacing-xxl);overflow:hidden}.esri-attachments-column__button>div span{align-self:center;position:absolute;inset-inline-end:var(--calcite-spacing-xxxl)}.esri-attachments-column__content{flex-direction:row;justify-content:space-between;width:100%;height:100%;display:flex;overflow:hidden}.esri-attachments-column__content>div:first-child{text-overflow:ellipsis;line-height:0;overflow:hidden}.esri-attachments-column__button calcite-icon,.esri-attachments-column__button img,.esri-attachments-column__content calcite-icon,.esri-attachments-column__content img{max-width:var(--calcite-spacing-xxl);max-height:var(--calcite-spacing-xxl);vertical-align:middle;margin-inline-end:var(--calcite-spacing-xxs);display:inline-flex}.esri-grid{background-color:var(--calcite-color-foreground-1);width:100%;height:100%}.esri-grid vaadin-grid{border-block-end:none;border-inline:none;background-color:inherit;color:inherit;font-family:inherit;font-size:var(--calcite-font-size);overflow:visible}.esri-grid vaadin-grid[reordering]::part(cell):after{content:normal}.esri-grid vaadin-grid[reordering]::part(frozen-cell),.esri-grid vaadin-grid[reordering]::part(frozen-to-end-cell),.esri-grid vaadin-grid[reordering]::part(reorder-allowed-cell){filter:brightness(.9) contrast(1.1)}.esri-grid vaadin-grid::part(empty-state){border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);color:var(--calcite-color-text-1)}.esri-grid vaadin-grid::part(cell editing){z-index:2}.esri-grid vaadin-grid::part(frozen-cell),.esri-grid vaadin-grid::part(frozen-to-end-cell){z-index:4}.esri-grid vaadin-grid::part(cell last-frozen-cell){overflow:visible}.esri-grid vaadin-grid::part(cell text-wrap){text-wrap:wrap}.esri-grid vaadin-grid-cell-content{box-sizing:border-box!important;align-items:center;padding:var(--calcite-spacing-xxs) var(--calcite-spacing-sm);height:100%;min-height:var(--calcite-font-line-height-fixed-3xl)}.esri-grid vaadin-grid::part(cell){border-inline-end:var(--calcite-border-width-sm) solid;border-color:var(--calcite-color-foreground-3);line-height:28px;color:var(--calcite-color-text-1)}.esri-grid vaadin-grid::part(cell):focus:after{outline-color:var(--calcite-color-brand)}.esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(body-cell){background-color:var(--calcite-color-foreground-1)}.esri-grid vaadin-grid::part(body-cell):hover{background-color:var(--calcite-color-foreground-2)}.esri-grid vaadin-grid::part(body-cell invalid){color:var(--calcite-color-text-3);font-style:italic}.esri-grid vaadin-grid::part(header-cell){background-color:var(--calcite-color-background)}.esri-grid vaadin-grid::part(header-cell invalid){font-weight:var(--calcite-font-weight-bold)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand)}.esri-grid vaadin-grid::part(body-cell highlight){background-color:var(--calcite-color-foreground-3)}.esri-grid vaadin-grid::part(body-cell pending-edit){border:var(--calcite-border-width-md) solid var(--calcite-color-status-success);background-color:color-mix(in sRGB,var(--calcite-color-status-success) 20%,var(--calcite-color-foreground-1));&:hover{background-color:color-mix(in sRGB,var(--calcite-color-status-success-hover) 20%,var(--calcite-color-foreground-1))}}.esri-grid vaadin-grid::part(body-cell pending-edit-invalid){border:var(--calcite-border-width-md) dashed var(--calcite-color-status-danger);background-color:color-mix(in sRGB,var(--calcite-color-status-danger) 20%,var(--calcite-color-foreground-1));font-weight:var(--calcite-font-weight-bold);&:hover{background-color:color-mix(in sRGB,var(--calcite-color-status-danger-hover) 20%,var(--calcite-color-foreground-1))}}.esri-grid vaadin-grid::part(body-cell pending-edit-other){cursor:not-allowed;color:var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(selected-row-cell){background-color:color-mix(in sRGB,var(--calcite-color-brand) 10%,var(--calcite-color-foreground-1))}.esri-grid vaadin-grid::part(selected-row-cell):hover{background-color:color-mix(in sRGB,var(--calcite-color-brand) 20%,var(--calcite-color-foreground-1))}.esri-grid vaadin-checkbox{line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox::part(checkbox){background-color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox[checked]::part(checkbox){background-color:var(--calcite-color-brand)}.esri-grid vaadin-grid-sorter[direction]::part(indicators),.esri-grid vaadin-grid-sorter[direction]::part(order){color:var(--calcite-color-text-1)}.esri-grid .esri-grid__content{background-color:inherit;width:100%;height:100%}.esri-grid .esri-grid__grid{width:100%;height:100%}.esri-grid a{color:var(--calcite-color-text-link);text-decoration:underline}.esri-grid a:hover,.esri-grid a:focus{color:var(--calcite-color-text-highlight)}.esri-grid .esri-column__content--full{width:100%;height:100%;position:absolute;top:0;left:0}.esri-grid .esri-column__header-content{text-align:start;align-items:flex-start;width:100%;height:100%;font-weight:var(--calcite-font-weight-normal);display:flex;overflow:hidden}.esri-grid .esri-column__header-content:has(calcite-icon:only-child){justify-content:center;align-items:center}.esri-grid .esri-column__header-content div{width:100%;flex-flow:column wrap;display:flex;overflow:hidden}.esri-grid .esri-column__header-content div span{text-overflow:ellipsis;width:100%;line-height:var(--calcite-font-line-height-fixed-xl);overflow:hidden}.esri-grid .esri-column__header-content calcite-icon{height:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxs)}.esri-grid .esri-column__header-content calcite-dropdown{float:inline-end;max-height:180px}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group{max-width:200px;overflow-x:auto}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group:only-of-type{max-height:180px;overflow:visible}.esri-grid .esri-column__header-content calcite-dropdown[open] calcite-dropdown-item{display:flex}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item,.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item[hidden]{display:none}.esri-grid .esri-column__header-description{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.esri-grid .esri-column__sorter:hover{cursor:pointer}.esri-grid .esri-column__sorter,.esri-grid .esri-column__header-label{color:var(--calcite-color-text-1);flex-grow:1;align-items:center;display:flex;overflow:hidden}.esri-column__header-menu-icon{margin-inline-end:15px}.esri-column__cell-input{border:none;flex:1 1 0;width:100%;height:100%}.esri-column__cell__input-container{flex-direction:column;align-items:center;width:100%;display:flex}.esri-column__cell__input-container input,.esri-column__cell__input-container select{padding:0;position:absolute;top:0;left:0}.esri-column__cell__input-container div,.esri-column__cell__input-container input,.esri-column__cell__input-container select{width:100%;display:flex}.esri-column__cell__input-container calcite-action-bar{background-color:var(--calcite-color-foreground-1)}.esri-column__cell__input-container div:first-child{flex-direction:column}.esri-column__cell__input-container calcite-input-time-zone{--calcite-dropdown-width: 200px}.esri-column__cell__input-container calcite-input-time-picker:last-child,.esri-column__cell__input-container calcite-input-time-picker:nth-child(2),.esri-column__cell__input-container calcite-input-time-zone{margin-top:-1px}.esri-feature-table .esri-editor__prompt--danger{border-top:solid 3px var(--calcite-color-status-danger);background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);flex-flow:column;max-height:85%;padding-block:var(--calcite-spacing-md);padding-inline:15px;animation:.25s ease-in-out esri-fade-in-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 1px 2px #0000004d}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header{color:var(--calcite-color-status-danger);flex:none;align-items:center;gap:7px;margin-bottom:var(--calcite-spacing-md);display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header__heading{color:var(--calcite-color-text-1);margin:0 3px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__message{word-break:break-word;color:inherit;flex:auto;padding:0 0 12px;font-weight:var(--calcite-font-weight-normal);overflow:hidden auto}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__divider{color:inherit;border-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:1px;flex:none;margin:0 0 12px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__actions{flex-direction:row;display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__half-width-button{width:50%}`, x = p(h);
16
+ class y extends g {
17
17
  constructor() {
18
- super(...arguments), this.widget = v(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.attachmentsColumns = this.widget.attachmentsColumns, this.attributeTableTemplate = this.widget.attributeTableTemplate, this.actionColumn = this.widget.actionColumn, this.actionColumnConfig = this.widget.actionColumnConfig, this.activeFilters = this.widget.activeFilters, this.activeSortOrders = this.widget.activeSortOrders, this.allColumns = this.widget.allColumns, this.allRelatedTablesVisible = this.widget.allRelatedTablesVisible, this.allVisibleColumns = this.widget.allVisibleColumns, this.attachmentsEnabled = this.widget.attachmentsEnabled, this.attachmentsViewOptions = this.widget.attachmentsViewOptions, this.autoDestroyDisabled = !1, this.autoRefreshDisabled = this.widget.autoRefreshEnabled, this.autoSaveDisabled = this.widget.autoSaveEnabled, this.canAddRelatedFeature = this.widget.canAddRelatedFeature, this.closed = this.widget.closed, this.collapsed = this.widget.collapsed, this.columnPerformanceModeDisabled = this.widget.columnPerformanceModeEnabled, this.columnReorderingDisabled = this.widget.columnReorderingEnabled, this.columns = this.widget.columns, this.definitionExpression = this.widget.definitionExpression, this.description = this.widget.description, this.disabled = this.widget.disabled, this.editingEnabled = this.widget.editingEnabled, this.effectiveSize = this.widget.effectiveSize, this.fieldColumns = this.widget.fieldColumns, this.filterBySelectionEnabled = this.widget.filterBySelectionEnabled, this.filterByViewExtent = this.widget.filterByViewExtent, this.filterGeometry = this.widget.filterGeometry, this.groupColumns = this.widget.groupColumns, this.hasContingentValues = this.widget.hasContingentValues, this.hasInvalidPendingEdits = this.widget.hasInvalidPendingEdits, this.hasPendingEdits = this.widget.hasPendingEdits, this.hiddenFields = this.widget.hiddenFields, this.hideColumnDescriptions = this.widget.visibleElements.columnDescriptions, this.hideColumnMenuItemsSortAscending = this.widget.visibleElements.columnMenuItems.sortAscending, this.hideColumnMenuItemsSortDescending = this.widget.visibleElements.columnMenuItems.sortDescending, this.hideColumnMenus = this.widget.visibleElements.columnMenus, this.hideColumnVisibilityMenu = this.widget.visibleElements.columnVisibilityMenu, this.hideColumnVisibilityMenuItemsFilter = this.widget.visibleElements.columnVisibilityMenuItems.filter, this.hideColumnVisibilityMenuItemsHeader = this.widget.visibleElements.columnVisibilityMenuItems.header, this.hideColumnVisibilityMenuItemsToggleAll = this.widget.visibleElements.columnVisibilityMenuItems.toggleAll, this.hideHeader = this.widget.visibleElements.header, this.hideLayerDropdownIcons = this.widget.visibleElements.layerDropdownIcons, this.hideMenu = this.widget.visibleElements.menu, this.hideMenuItemsClearSelection = this.widget.visibleElements.menuItems.clearSelection, this.hideMenuItemsDeleteSelection = this.widget.visibleElements.menuItems.deleteSelection, this.hideMenuItemsExportSelectionToCsv = this.widget.visibleElements.menuItems.exportSelectionToCSV, this.hideMenuItemsRefreshData = this.widget.visibleElements.menuItems.refreshData, this.hideMenuItemsSelectedRecordsShowAllToggle = this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle, this.hideMenuItemsSelectedRecordsShowSelectedToggle = this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle, this.hideMenuItemsToggleColumns = this.widget.visibleElements.menuItems.toggleColumns, this.hideMenuItemsZoomToSelection = this.widget.visibleElements.menuItems.zoomToSelection, this.hideProgress = this.widget.visibleElements.progress, this.hideSelectionColumn = this.widget.visibleElements.selectionColumn, this.hideTooltips = this.widget.visibleElements.tooltips, this.highlightDisabled = this.widget.highlightEnabled, this.highlightIds = this.widget.highlightIds, this.initialSize = this.widget.initialSize, this.icon = this.widget.icon, this.isQueryingOrSyncing = this.widget.isQueryingOrSyncing, this.isSyncingAttachments = this.widget.isSyncingAttachments, this.label = this.widget.label, this.layer = this.widget.layer, this.mapLayerId = w(this, (e) => {
18
+ super(...arguments), this.widget = x(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.attachmentsColumns = this.widget.attachmentsColumns, this.attributeTableTemplate = this.widget.attributeTableTemplate, this.actionColumn = this.widget.actionColumn, this.actionColumnConfig = this.widget.actionColumnConfig, this.activeFilters = this.widget.activeFilters, this.activeSortOrders = this.widget.activeSortOrders, this.allColumns = this.widget.allColumns, this.allRelatedTablesVisible = this.widget.allRelatedTablesVisible, this.allVisibleColumns = this.widget.allVisibleColumns, this.attachmentsEnabled = this.widget.attachmentsEnabled, this.attachmentsViewOptions = this.widget.attachmentsViewOptions, this.autoDestroyDisabled = !1, this.autoRefreshDisabled = this.widget.autoRefreshEnabled, this.autoSaveDisabled = this.widget.autoSaveEnabled, this.canAddRelatedFeature = this.widget.canAddRelatedFeature, this.closed = this.widget.closed, this.collapsed = this.widget.collapsed, this.columnPerformanceModeDisabled = this.widget.columnPerformanceModeEnabled, this.columnReorderingDisabled = this.widget.columnReorderingEnabled, this.columns = this.widget.columns, this.definitionExpression = this.widget.definitionExpression, this.description = this.widget.description, this.disabled = this.widget.disabled, this.editingEnabled = this.widget.editingEnabled, this.effectiveSize = this.widget.effectiveSize, this.fieldColumns = this.widget.fieldColumns, this.filterByLayerScaleRange = this.widget.filterByLayerScaleRange, this.filterBySelectionEnabled = this.widget.filterBySelectionEnabled, this.filterByViewExtent = this.widget.filterByViewExtent, this.filterGeometry = this.widget.filterGeometry, this.groupColumns = this.widget.groupColumns, this.hasContingentValues = this.widget.hasContingentValues, this.hasInvalidPendingEdits = this.widget.hasInvalidPendingEdits, this.hasPendingEdits = this.widget.hasPendingEdits, this.hiddenFields = this.widget.hiddenFields, this.hideColumnDescriptions = this.widget.visibleElements.columnDescriptions, this.hideColumnMenuItemsSortAscending = this.widget.visibleElements.columnMenuItems.sortAscending, this.hideColumnMenuItemsSortDescending = this.widget.visibleElements.columnMenuItems.sortDescending, this.hideColumnMenus = this.widget.visibleElements.columnMenus, this.hideColumnVisibilityMenu = this.widget.visibleElements.columnVisibilityMenu, this.hideColumnVisibilityMenuItemsFilter = this.widget.visibleElements.columnVisibilityMenuItems.filter, this.hideColumnVisibilityMenuItemsHeader = this.widget.visibleElements.columnVisibilityMenuItems.header, this.hideColumnVisibilityMenuItemsToggleAll = this.widget.visibleElements.columnVisibilityMenuItems.toggleAll, this.hideHeader = this.widget.visibleElements.header, this.hideLayerDropdownIcons = this.widget.visibleElements.layerDropdownIcons, this.hideMenu = this.widget.visibleElements.menu, this.hideMenuItemsClearSelection = this.widget.visibleElements.menuItems.clearSelection, this.hideMenuItemsDeleteSelection = this.widget.visibleElements.menuItems.deleteSelection, this.hideMenuItemsExportSelectionToCsv = this.widget.visibleElements.menuItems.exportSelectionToCSV, this.hideMenuItemsRefreshData = this.widget.visibleElements.menuItems.refreshData, this.hideMenuItemsSelectedRecordsShowAllToggle = this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle, this.hideMenuItemsSelectedRecordsShowSelectedToggle = this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle, this.hideMenuItemsToggleColumns = this.widget.visibleElements.menuItems.toggleColumns, this.hideMenuItemsZoomToSelection = this.widget.visibleElements.menuItems.zoomToSelection, this.hideProgress = this.widget.visibleElements.progress, this.hideSelectionColumn = this.widget.visibleElements.selectionColumn, this.hideTooltips = this.widget.visibleElements.tooltips, this.highlightDisabled = this.widget.highlightEnabled, this.highlightIds = this.widget.highlightIds, this.initialSize = this.widget.initialSize, this.icon = this.widget.icon, this.isQueryingOrSyncing = this.widget.isQueryingOrSyncing, this.isSyncingAttachments = this.widget.isSyncingAttachments, this.label = this.widget.label, this.layer = this.widget.layer, this.mapLayerId = f(this, (e) => {
19
19
  e && (this.layer = e);
20
- }), this.layerView = this.widget.layerView, this.layers = this.widget.layers, this.maxSize = this.widget.maxSize, this.menuConfig = this.widget.menuConfig, this.multipleSelectionDisabled = this.widget.multipleSelectionEnabled, this.multipleSortEnabled = this.widget.multiSortEnabled, this.multipleSortPriority = this.widget.multipleSortPriority, this.navigationScale = this.widget.navigationScale, this.noDataMessage = this.widget.noDataMessage, this.objectIds = this.widget.objectIds, this.outFields = this.widget.outFields, this.pageCount = this.widget.pageCount, this.pageIndex = this.widget.pageIndex, this.pageSize = this.widget.pageSize, this.paginationEnabled = this.widget.paginationEnabled, this.relatedRecordsEnabled = this.widget.relatedRecordsEnabled, this.relatedTable = this.widget.relatedTable, this.relatedTables = this.widget.relatedTables, this.relationship = this.widget.relationship, this.relationshipColumns = this.widget.relationshipColumns, this.returnGeometryEnabled = this.widget.returnGeometryEnabled, this.returnMEnabled = this.widget.returnMEnabled, this.returnZEnabled = this.widget.returnZEnabled, this.rowHighlightIds = this.widget.rowHighlightIds, this.selectionManager = this.widget.selectionManager, this.showCollapse = this.widget.visibleElements.collapse, this.showClose = this.widget.visibleElements.close, this.showLayerDropdown = this.widget.visibleElements.layerDropdown, this.size = this.widget.size, this.state = this.widget.state, this.supportsAddAttachments = this.widget.supportsAddAttachments, this.supportsAttachments = this.widget.supportsAttachments, this.supportsDeleteAttachments = this.widget.supportsDeleteAttachments, this.supportsResizeAttachments = this.widget.supportsResizeAttachments, this.supportsUpdateAttachments = this.widget.supportsUpdateAttachments, this.syncTemplateOnChangesDisabled = this.widget.syncTemplateOnChangesEnabled, this.syncViewSelection = this.widget.syncViewSelection, this.tableController = this.widget.tableController, this.tableParent = this.widget.tableParent, this.tableTemplate = this.widget.tableTemplate, this.tableTitle = this.widget.title, this.timeExtent = this.widget.timeExtent, this.timeZone = this.widget.timeZone, this.visibleColumns = this.widget.visibleColumns, this.arcgisCellClick = t(() => this.widget, "cell-click"), this.arcgisCellDblClick = t(() => this.widget, "cell-dblclick"), this.arcgisCellKeydown = t(() => this.widget, "cell-keydown"), this.arcgisCellPointerout = t(() => this.widget, "cell-pointerout"), this.arcgisCellPointerover = t(() => this.widget, "cell-pointerover"), this.arcgisColumnReorder = t(() => this.widget, "column-reorder"), this.arcgisPropertyChange = g()("effectiveSize", "isQueryingOrSyncing", "layerView", "size", "state"), this.arcgisReady = o(), this.arcgisSelectionChange = o();
20
+ }), this.layerView = this.widget.layerView, this.layers = this.widget.layers, this.maxSize = this.widget.maxSize, this.menuConfig = this.widget.menuConfig, this.multipleSelectionDisabled = this.widget.multipleSelectionEnabled, this.multipleSortEnabled = this.widget.multiSortEnabled, this.multipleSortPriority = this.widget.multipleSortPriority, this.navigationScale = this.widget.navigationScale, this.noDataMessage = this.widget.noDataMessage, this.objectIds = this.widget.objectIds, this.outFields = this.widget.outFields, this.pageCount = this.widget.pageCount, this.pageIndex = this.widget.pageIndex, this.pageSize = this.widget.pageSize, this.paginationEnabled = this.widget.paginationEnabled, this.relatedRecordsEnabled = this.widget.relatedRecordsEnabled, this.relatedTable = this.widget.relatedTable, this.relatedTables = this.widget.relatedTables, this.relationship = this.widget.relationship, this.relationshipColumns = this.widget.relationshipColumns, this.returnGeometryEnabled = this.widget.returnGeometryEnabled, this.returnMEnabled = this.widget.returnMEnabled, this.returnZEnabled = this.widget.returnZEnabled, this.rowHighlightIds = this.widget.rowHighlightIds, this.selectionManager = this.widget.selectionManager, this.showCollapse = this.widget.visibleElements.collapse, this.showClose = this.widget.visibleElements.close, this.showLayerDropdown = this.widget.visibleElements.layerDropdown, this.size = this.widget.size, this.state = this.widget.state, this.supportsAddAttachments = this.widget.supportsAddAttachments, this.supportsAttachments = this.widget.supportsAttachments, this.supportsDeleteAttachments = this.widget.supportsDeleteAttachments, this.supportsResizeAttachments = this.widget.supportsResizeAttachments, this.supportsUpdateAttachments = this.widget.supportsUpdateAttachments, this.syncTemplateOnChangesDisabled = this.widget.syncTemplateOnChangesEnabled, this.syncViewSelection = this.widget.syncViewSelection, this.tableController = this.widget.tableController, this.tableParent = this.widget.tableParent, this.tableTemplate = this.widget.tableTemplate, this.tableTitle = this.widget.title, this.timeExtent = this.widget.timeExtent, this.timeZone = this.widget.timeZone, this.visibleColumns = this.widget.visibleColumns, this.arcgisCellClick = t(() => this.widget, "cell-click"), this.arcgisCellDblClick = t(() => this.widget, "cell-dblclick"), this.arcgisCellKeydown = t(() => this.widget, "cell-keydown"), this.arcgisCellPointerout = t(() => this.widget, "cell-pointerout"), this.arcgisCellPointerover = t(() => this.widget, "cell-pointerover"), this.arcgisColumnReorder = t(() => this.widget, "column-reorder"), this.arcgisPropertyChange = m()("effectiveSize", "isQueryingOrSyncing", "layerView", "size", "state"), this.arcgisReady = o(), this.arcgisSelectionChange = o();
21
21
  }
22
22
  static {
23
- this.properties = { view: 0, attachmentsColumns: 32, attributeTableTemplate: 0, actionColumn: 32, actionColumnConfig: 0, activeFilters: 32, activeSortOrders: 32, allColumns: 32, allRelatedTablesVisible: 36, allVisibleColumns: 32, attachmentsEnabled: 5, attachmentsViewOptions: 0, autoDestroyDisabled: 5, autoRefreshDisabled: 5, autoSaveDisabled: 5, canAddRelatedFeature: 36, closed: 5, collapsed: 5, columnPerformanceModeDisabled: 5, columnReorderingDisabled: 5, columns: 32, definitionExpression: 1, description: 1, disabled: 7, editingEnabled: 5, effectiveSize: 40, fieldColumns: 32, filterBySelectionEnabled: 5, filterByViewExtent: 5, filterGeometry: 0, groupColumns: 32, hasContingentValues: 36, hasInvalidPendingEdits: 36, hasPendingEdits: 36, hiddenFields: 0, hideColumnDescriptions: 5, hideColumnMenuItemsSortAscending: 5, hideColumnMenuItemsSortDescending: 5, hideColumnMenus: 5, hideColumnVisibilityMenu: 5, hideColumnVisibilityMenuItemsFilter: 5, hideColumnVisibilityMenuItemsHeader: 5, hideColumnVisibilityMenuItemsToggleAll: 5, hideHeader: 5, hideLayerDropdownIcons: 5, hideMenu: 5, hideMenuItemsClearSelection: 5, hideMenuItemsDeleteSelection: 5, hideMenuItemsExportSelectionToCsv: 5, hideMenuItemsRefreshData: 5, hideMenuItemsSelectedRecordsShowAllToggle: 5, hideMenuItemsSelectedRecordsShowSelectedToggle: 5, hideMenuItemsToggleColumns: 5, hideMenuItemsZoomToSelection: 5, hideProgress: 5, hideSelectionColumn: 5, hideTooltips: 5, highlightDisabled: 5, highlightIds: 0, initialSize: 9, icon: 1, isQueryingOrSyncing: 36, isSyncingAttachments: 36, label: 1, layer: 0, mapLayerId: 1, layerItemId: 1, layerUrl: 1, layerId: 9, layerView: 32, layers: 0, maxSize: 9, menuConfig: 0, multipleSelectionDisabled: 5, multipleSortEnabled: 5, multipleSortPriority: 1, navigationScale: 1, noDataMessage: 1, objectIds: 0, outFields: 0, pageCount: 40, pageIndex: 9, pageSize: 9, paginationEnabled: 5, referenceElement: 1, relatedRecordsEnabled: 5, relatedTable: 32, relatedTables: 0, relationship: 32, relationshipColumns: 32, returnGeometryEnabled: 5, returnMEnabled: 5, returnZEnabled: 5, rowHighlightIds: 0, selectionManager: 0, showCollapse: 5, showClose: 5, showLayerDropdown: 5, size: 40, state: 32, supportsAddAttachments: 36, supportsAttachments: 36, supportsDeleteAttachments: 36, supportsResizeAttachments: 36, supportsUpdateAttachments: 36, syncTemplateOnChangesDisabled: 5, syncViewSelection: 5, tableController: 32, tableDisabled: 5, tableParent: 32, tableTemplate: 0, tableTitle: 1, timeExtent: 0, timeZone: 1, visibleColumns: 32 };
23
+ this.properties = { view: 0, attachmentsColumns: 32, attributeTableTemplate: 0, actionColumn: 32, actionColumnConfig: 0, activeFilters: 32, activeSortOrders: 32, allColumns: 32, allRelatedTablesVisible: 36, allVisibleColumns: 32, attachmentsEnabled: 5, attachmentsViewOptions: 0, autoDestroyDisabled: 5, autoRefreshDisabled: 5, autoSaveDisabled: 5, canAddRelatedFeature: 36, closed: 5, collapsed: 5, columnPerformanceModeDisabled: 5, columnReorderingDisabled: 5, columns: 32, definitionExpression: 1, description: 1, disabled: 7, editingEnabled: 5, effectiveSize: 40, fieldColumns: 32, filterByLayerScaleRange: 5, filterBySelectionEnabled: 5, filterByViewExtent: 5, filterGeometry: 0, groupColumns: 32, hasContingentValues: 36, hasInvalidPendingEdits: 36, hasPendingEdits: 36, hiddenFields: 0, hideColumnDescriptions: 5, hideColumnMenuItemsSortAscending: 5, hideColumnMenuItemsSortDescending: 5, hideColumnMenus: 5, hideColumnVisibilityMenu: 5, hideColumnVisibilityMenuItemsFilter: 5, hideColumnVisibilityMenuItemsHeader: 5, hideColumnVisibilityMenuItemsToggleAll: 5, hideHeader: 5, hideLayerDropdownIcons: 5, hideMenu: 5, hideMenuItemsClearSelection: 5, hideMenuItemsDeleteSelection: 5, hideMenuItemsExportSelectionToCsv: 5, hideMenuItemsRefreshData: 5, hideMenuItemsSelectedRecordsShowAllToggle: 5, hideMenuItemsSelectedRecordsShowSelectedToggle: 5, hideMenuItemsToggleColumns: 5, hideMenuItemsZoomToSelection: 5, hideProgress: 5, hideSelectionColumn: 5, hideTooltips: 5, highlightDisabled: 5, highlightIds: 0, initialSize: 9, icon: 1, isQueryingOrSyncing: 36, isSyncingAttachments: 36, label: 1, layer: 0, mapLayerId: 1, layerItemId: 1, layerUrl: 1, layerId: 9, layerView: 32, layers: 0, maxSize: 9, menuConfig: 0, multipleSelectionDisabled: 5, multipleSortEnabled: 5, multipleSortPriority: 1, navigationScale: 1, noDataMessage: 1, objectIds: 0, outFields: 0, pageCount: 40, pageIndex: 9, pageSize: 9, paginationEnabled: 5, referenceElement: 1, relatedRecordsEnabled: 5, relatedTable: 32, relatedTables: 0, relationship: 32, relationshipColumns: 32, returnGeometryEnabled: 5, returnMEnabled: 5, returnZEnabled: 5, rowHighlightIds: 0, selectionManager: 0, showCollapse: 5, showClose: 5, showLayerDropdown: 5, size: 40, state: 32, supportsAddAttachments: 36, supportsAttachments: 36, supportsDeleteAttachments: 36, supportsResizeAttachments: 36, supportsUpdateAttachments: 36, syncTemplateOnChangesDisabled: 5, syncViewSelection: 5, tableController: 32, tableDisabled: 5, tableParent: 32, tableTemplate: 0, tableTitle: 1, timeExtent: 0, timeZone: 1, visibleColumns: 32 };
24
24
  }
25
25
  static {
26
- this.styles = f;
26
+ this.styles = v;
27
27
  }
28
28
  get tableDisabled() {
29
29
  return this.widget.disabled;
@@ -104,10 +104,10 @@ class x extends h {
104
104
  this.widget.zoomToSelection();
105
105
  }
106
106
  load() {
107
- this.manager.onLifecycle(() => [c(() => this.widget.highlightIds, "change", this.arcgisSelectionChange.emit)]);
107
+ this.manager.onLifecycle(() => [d(() => this.widget.highlightIds, "change", this.arcgisSelectionChange.emit)]);
108
108
  }
109
109
  willUpdate(e) {
110
- if (e.has("layerItemId") && (p(this.layerItemId) ? this.layer = null : this.layerItemId && a.fromPortalItem({
110
+ if (e.has("layerItemId") && (b(this.layerItemId) ? this.layer = null : this.layerItemId && a.fromPortalItem({
111
111
  portalItem: {
112
112
  id: this.layerItemId
113
113
  }
@@ -116,25 +116,25 @@ class x extends h {
116
116
  }).catch(l(this))), e.has("layerUrl")) {
117
117
  const i = this.layerUrl;
118
118
  if (i) {
119
- const r = {
120
- url: i
119
+ let r = i;
120
+ this.layerId && (r = `${i}/${this.layerId}`);
121
+ const n = {
122
+ url: r
121
123
  };
122
- this.layerId && (r.properties = {
123
- layerId: this.layerId
124
- }), a.fromArcGISServerUrl(r).then((n) => {
125
- this.layer = n;
124
+ a.fromArcGISServerUrl(n).then((s) => {
125
+ this.layer = s;
126
126
  }).catch(l(this));
127
127
  } else
128
128
  this.layer = null;
129
129
  }
130
130
  }
131
131
  loaded() {
132
- b(this)?.classList.add("arcgis-feature-table");
133
- const e = m(this.el);
132
+ _(this)?.classList.add("arcgis-feature-table");
133
+ const e = u(this.el);
134
134
  this.setAttribute("calcite-mode", e);
135
135
  }
136
136
  }
137
- s("arcgis-feature-table", x);
137
+ c("arcgis-feature-table", y);
138
138
  export {
139
- x as ArcgisFeatureTable
139
+ y as ArcgisFeatureTable
140
140
  };
@@ -0,0 +1,33 @@
1
+ import type Accessor from "@arcgis/core/core/Accessor.js";
2
+ import type SharedTemplateMetadata from "@arcgis/core/editing/sharedTemplates/SharedTemplateMetadata.js";
3
+ import type FeatureTemplate from "@arcgis/core/layers/support/FeatureTemplate.js";
4
+ import type { LayerWithFeatureTemplatesUnion } from "@arcgis/core/layers/types.js";
5
+
6
+ export interface TemplateItemProperties extends Partial<Pick<TemplateItem, "layer" | "template" | "thumbnail">> {}
7
+
8
+ /**
9
+ * The item displayed within the FeatureTemplates component.
10
+ *
11
+ * @since 5.1
12
+ */
13
+ export default class TemplateItem extends Accessor {
14
+ constructor(properties?: TemplateItemProperties);
15
+ /**
16
+ * The description that is displayed for the template item.
17
+ * This is similar to the description provided in layers/support/FeatureTemplate#description.
18
+ */
19
+ get description(): string;
20
+ get id(): string;
21
+ /** The label that is displayed for the template item. */
22
+ get label(): string;
23
+ /** The layer associated with the template item. */
24
+ accessor layer: LayerWithFeatureTemplatesUnion;
25
+ get supportsUpload(): boolean;
26
+ /** The associated FeatureTemplate for the item. */
27
+ accessor template: FeatureTemplate | SharedTemplateMetadata;
28
+ /**
29
+ * An object used to create a thumbnail image that represents a feature type in the feature template.
30
+ * This is similar to layers/support/FeatureTemplate#thumbnail.
31
+ */
32
+ accessor thumbnail: HTMLElement | undefined;
33
+ }
@@ -0,0 +1,275 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import type MapView from "@arcgis/core/views/MapView.js";
3
+ import type SceneView from "@arcgis/core/views/SceneView.js";
4
+ import type TemplateItem from "./TemplateItem.js";
5
+ import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
6
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
7
+ import type { ArcgisReferenceElement } from "../types.js";
8
+ import type { LayerWithFeatureTemplatesUnion } from "@arcgis/core/layers/types.js";
9
+ import type { T9nMeta } from "@arcgis/lumina/controllers";
10
+
11
+ /**
12
+ * The FeatureTemplates component is part of an editing workflow. Its main purpose is to display [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) templates from one or more feature layers.
13
+ *
14
+ * @since 5.1
15
+ * @internal
16
+ */
17
+ export abstract class ArcgisFeatureTemplates extends LitElement {
18
+ /** @internal */
19
+ protected _messages: Partial<{
20
+ componentLabel: string;
21
+ templates: string;
22
+ recent: string;
23
+ favorites: string;
24
+ updating: string;
25
+ point: string;
26
+ multipoint: string;
27
+ polyline: string;
28
+ polygon: string;
29
+ extent: string;
30
+ mesh: string;
31
+ noneSpecified: string;
32
+ removeFavorite: string;
33
+ removeRecent: string;
34
+ addFavorite: string;
35
+ noFavorites: string;
36
+ noTemplates: string;
37
+ noRecent: string;
38
+ noMatchingTemplates: string;
39
+ }> & T9nMeta<{
40
+ componentLabel: string;
41
+ templates: string;
42
+ recent: string;
43
+ favorites: string;
44
+ updating: string;
45
+ point: string;
46
+ multipoint: string;
47
+ polyline: string;
48
+ polygon: string;
49
+ extent: string;
50
+ mesh: string;
51
+ noneSpecified: string;
52
+ removeFavorite: string;
53
+ removeRecent: string;
54
+ addFavorite: string;
55
+ noFavorites: string;
56
+ noTemplates: string;
57
+ noRecent: string;
58
+ noMatchingTemplates: string;
59
+ }>;
60
+ /** Provide a function to dynamically enable or disable templates in the component. */
61
+ accessor applicationDisabledFunction: ((template: TemplateItem) => boolean) | undefined;
62
+ /** Provide a function to dynamically hide/remove templates from the component. */
63
+ accessor applicationFilterFunction: ((template: TemplateItem) => boolean) | undefined;
64
+ /** Provide a list of sections and templates. If not supplied, the component will load the templates from the layers in the view. */
65
+ accessor applicationTemplates: Array<ITemplateSection> | undefined;
66
+ /**
67
+ * If true, the component will not be destroyed automatically when it is
68
+ * disconnected from the document. This is useful when you want to move the
69
+ * component to a different place on the page, or temporarily hide it. If this
70
+ * is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-templates/#destroy) method when you are done to
71
+ * prevent memory leaks.
72
+ *
73
+ * @default false
74
+ */
75
+ accessor autoDestroyDisabled: boolean;
76
+ /**
77
+ * When true, the component is visually withdrawn and cannot receive user interaction.
78
+ *
79
+ * @default false
80
+ */
81
+ accessor disabled: boolean;
82
+ /**
83
+ * Decide if templates should be disabled when the layer is not visible, or not visible at the current scale.
84
+ *
85
+ * @default "never"
86
+ */
87
+ accessor disableTemplatesMode: "never" | "scale" | "visible";
88
+ /**
89
+ * Determine if templates should be shown grouped, or in a single flat list
90
+ *
91
+ * @default "grouped"
92
+ */
93
+ accessor display: "flat" | "grouped";
94
+ /** The list of templates in the component */
95
+ get effectiveTemplates(): Array<ITemplateSection>;
96
+ /**
97
+ * Determines if feature templates for tables should be shown
98
+ *
99
+ * @default false
100
+ */
101
+ accessor excludeTables: boolean;
102
+ /**
103
+ * The list of templates in the component
104
+ *
105
+ * @interface
106
+ */
107
+ get favorites(): Set<string>;
108
+ /**
109
+ * Include a favorites used tab
110
+ *
111
+ * @default false
112
+ * @internal
113
+ */
114
+ accessor favoritesEnabled: boolean;
115
+ /**
116
+ * The text the user has entered to filter the list on the favorites tab
117
+ *
118
+ * @default ""
119
+ * @internal
120
+ */
121
+ accessor favoritesFilterText: string;
122
+ /**
123
+ * The text the user has entered to filter the list
124
+ *
125
+ * @default ""
126
+ */
127
+ accessor filterText: string;
128
+ /**
129
+ * When templates are grouped, determine the group by policy. Note: if the component has been supplied with applicationTemplates, the templates will keep the supplied groupings.
130
+ *
131
+ * @default "layer"
132
+ */
133
+ accessor groupBy: "geometry" | "layer";
134
+ /** If a group by function is supplied, then the templates will be grouped by this function. */
135
+ accessor groupByFunction: ((template: TemplateItem) => string) | undefined;
136
+ /**
137
+ * Determine if the template description should be displayed
138
+ *
139
+ * @default false
140
+ */
141
+ accessor hideTemplateDescription: boolean;
142
+ /**
143
+ * Decide if templates should be hidden when the layer is not visible, or not visible at the current scale.
144
+ *
145
+ * @default "never"
146
+ */
147
+ accessor hideTemplatesMode: "never" | "scale" | "visible";
148
+ /** List of layers for which to show Templates. If not provided, the layers will be derived from the View. */
149
+ accessor layers: (LayerWithFeatureTemplatesUnion | SubtypeGroupLayer)[] | undefined;
150
+ /**
151
+ * The text the user has entered to filter the list on the recent tab
152
+ *
153
+ * @default ""
154
+ * @internal
155
+ */
156
+ accessor recentFilterText: string;
157
+ /**
158
+ * The list of recently used template ids.
159
+ *
160
+ * @interface
161
+ */
162
+ get recentlyUsed(): Array<string>;
163
+ /**
164
+ * Include a recently used tab
165
+ *
166
+ * @default false
167
+ * @internal
168
+ */
169
+ accessor recentlyUsedEnabled: boolean;
170
+ /**
171
+ * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
172
+ *
173
+ * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
174
+ */
175
+ accessor referenceElement: ArcgisReferenceElement | string | undefined;
176
+ /**
177
+ * Function which restores the list of favorites from a previous session
178
+ *
179
+ * @internal
180
+ */
181
+ accessor restoreFavorites: (() => Promise<Array<string>>) | undefined;
182
+ /**
183
+ * Function which restores the list of recently used templates from a previous session
184
+ *
185
+ * @internal
186
+ */
187
+ accessor restoreRecentlyUsed: (() => Promise<Array<string>>) | undefined;
188
+ /**
189
+ * When templates are grouped, determine how the groups are sorted. If the component has been supplied with a sectionSortByFunction then this will be used instead.
190
+ *
191
+ * @default "system"
192
+ */
193
+ accessor sectionSortBy: "alphabetical" | "system";
194
+ /** If provided, this function can be used to re-order the sections. */
195
+ accessor sectionSortByFunction: ((sections: ITemplateSection[]) => ITemplateSection[]) | undefined;
196
+ /** Currently selected template */
197
+ get selectedTemplate(): TemplateItem | undefined;
198
+ /** Currently selected template id */
199
+ accessor selectedTemplateId: string | undefined;
200
+ /**
201
+ * Fetch shared templates, if the layer's in the view have shared Templates.
202
+ *
203
+ * @default false
204
+ * @internal
205
+ */
206
+ accessor sharedTemplatesDisabled: boolean;
207
+ /**
208
+ * Indicates whether to display the collapse button.
209
+ *
210
+ * @default false
211
+ * @since 5.1
212
+ */
213
+ accessor showCollapseButton: boolean;
214
+ /**
215
+ * Indicates whether to show the templates filter
216
+ *
217
+ * @default false
218
+ * @since 5.1
219
+ */
220
+ accessor showFilter: boolean;
221
+ /**
222
+ * Determines how templates are ordered. This will either be in alphabetical order
223
+ * or the order they are defined in the layer schema.
224
+ *
225
+ * @default "alphabetical"
226
+ */
227
+ accessor templateSortBy: "alphabetical" | "system";
228
+ /** If provided, this function can be used to re-order the templates. */
229
+ accessor templateSortByFunction: ((templates: TemplateItem[]) => TemplateItem[]) | undefined;
230
+ /**
231
+ * Determine if the templates list is updating.
232
+ *
233
+ * @default false
234
+ */
235
+ get updating(): boolean;
236
+ /**
237
+ * The view associated with the component.
238
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-feature-templates component will be associated with a map or scene component rather than using the `view` property.
239
+ */
240
+ accessor view: MapView | SceneView | undefined;
241
+ /** Permanently destroy the component */
242
+ destroy(): Promise<void>;
243
+ /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
244
+ readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "effectiveTemplates" | "filterText" | "recentlyUsed" | "favorites"; }>;
245
+ /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
246
+ readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
247
+ /** The user has selected a template */
248
+ readonly arcgisSelectTemplate: import("@arcgis/lumina").TargetedEvent<this, { template: TemplateItem; }>;
249
+ /** The source of templates has changed. */
250
+ readonly arcgisTemplatesChanged: import("@arcgis/lumina").TargetedEvent<this, void>;
251
+ readonly "@eventTypes": {
252
+ arcgisPropertyChange: ArcgisFeatureTemplates["arcgisPropertyChange"]["detail"];
253
+ arcgisReady: ArcgisFeatureTemplates["arcgisReady"]["detail"];
254
+ arcgisSelectTemplate: ArcgisFeatureTemplates["arcgisSelectTemplate"]["detail"];
255
+ arcgisTemplatesChanged: ArcgisFeatureTemplates["arcgisTemplatesChanged"]["detail"];
256
+ };
257
+ }
258
+
259
+ /**
260
+ * Template section
261
+ *
262
+ * @internal
263
+ */
264
+ export type ITemplateSection = {
265
+ /** Name of the section */
266
+ sectionName: string;
267
+ /**
268
+ * Whether to translate the section name
269
+ *
270
+ * @internal
271
+ */
272
+ autoTranslate?: boolean;
273
+ /** List of Template items in the section */
274
+ templates: TemplateItem[];
275
+ };