@arcgis/map-components 5.2.0-next.85 → 5.2.0-next.87

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 (113) hide show
  1. package/dist/cdn/3IY3D62Z.js +2 -0
  2. package/dist/cdn/{YXA3DG4H.js → 3W4IH5LQ.js} +1 -1
  3. package/dist/cdn/5L5UYV3H.js +2 -0
  4. package/dist/cdn/6NGRUK5C.js +2 -0
  5. package/dist/cdn/BPHJ4VBC.js +2 -0
  6. package/dist/cdn/CFB4ZR5F.js +2 -0
  7. package/dist/cdn/D6MRDGUC.js +2 -0
  8. package/dist/cdn/EFUTKX2O.js +2 -0
  9. package/dist/cdn/{PNSES5YC.js → EGUVICJF.js} +1 -1
  10. package/dist/cdn/FXK4G4VK.js +2 -0
  11. package/dist/cdn/GNVPXNTX.js +2 -0
  12. package/dist/cdn/HTEIMRY6.js +2 -0
  13. package/dist/cdn/I2D75Q7M.js +2 -0
  14. package/dist/cdn/IMG5GOJB.js +2 -0
  15. package/dist/cdn/IOZ5U2X7.js +2 -0
  16. package/dist/cdn/K3N6NHJW.js +2 -0
  17. package/dist/cdn/KN4PG54T.js +2 -0
  18. package/dist/cdn/{56NINR5L.js → KNMMVZVV.js} +1 -1
  19. package/dist/cdn/M66G67OC.js +2 -0
  20. package/dist/cdn/MQX2F54G.js +2 -0
  21. package/dist/cdn/NFWFRHUT.js +2 -0
  22. package/dist/cdn/PCEAIDCB.js +2 -0
  23. package/dist/cdn/PMU2DO3P.js +2 -0
  24. package/dist/cdn/{LTGPFC6N.js → PWEF6IKF.js} +1 -1
  25. package/dist/cdn/{HWLBIEGO.js → RS5BEGC5.js} +1 -1
  26. package/dist/cdn/{K4V76SMR.js → TAIZWQYU.js} +1 -1
  27. package/dist/cdn/TCMRGJTC.js +2 -0
  28. package/dist/cdn/TPG3TU6B.js +2 -0
  29. package/dist/cdn/TSZ26CSX.js +2 -0
  30. package/dist/cdn/V4W4ZP6M.js +2 -0
  31. package/dist/cdn/XM2OBGXW.js +2 -0
  32. package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -1
  33. package/dist/cdn/assets/utility-network-picker/t9n/messages.en.json +1 -0
  34. package/dist/cdn/index.js +1 -1
  35. package/dist/cdn/main.css +1 -1
  36. package/dist/chunks/constants2.js +6 -0
  37. package/dist/chunks/useArcgisViewReadyError.js +42 -27
  38. package/dist/components/arcgis-aggregated-features/customElement.js +0 -1
  39. package/dist/components/arcgis-bookmarks/customElement.js +0 -1
  40. package/dist/components/arcgis-feature-next/customElement.js +4 -4
  41. package/dist/components/arcgis-features/customElement.js +3 -3
  42. package/dist/components/arcgis-features-next/customElement.js +98 -86
  43. package/dist/components/arcgis-features-next/index.js +0 -1
  44. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  45. package/dist/components/arcgis-link-chart/customElement.d.ts +9 -5
  46. package/dist/components/arcgis-link-chart/customElement.js +24 -18
  47. package/dist/components/arcgis-map/customElement.d.ts +9 -5
  48. package/dist/components/arcgis-map/customElement.js +19 -13
  49. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +0 -2
  50. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +15 -16
  51. package/dist/components/arcgis-paste/customElement.js +0 -1
  52. package/dist/components/arcgis-popup/customElement.d.ts +7 -7
  53. package/dist/components/arcgis-popup/customElement.js +10 -13
  54. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +6 -0
  55. package/dist/components/arcgis-presentation/customElement.d.ts +8 -6
  56. package/dist/components/arcgis-presentation/customElement.js +206 -165
  57. package/dist/components/arcgis-presentation/index.js +2 -0
  58. package/dist/components/arcgis-presentation-captions/customElement.js +4 -4
  59. package/dist/components/arcgis-presentation-slide-list/customElement.js +49 -0
  60. package/dist/components/arcgis-presentation-slide-list/index.js +3 -0
  61. package/dist/components/arcgis-scene/customElement.d.ts +9 -5
  62. package/dist/components/arcgis-scene/customElement.js +21 -15
  63. package/dist/components/arcgis-template-image/customElement.js +0 -1
  64. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  65. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +56 -0
  66. package/dist/components/arcgis-utility-network-picker/customElement.js +91 -0
  67. package/dist/components/arcgis-utility-network-picker/index.d.ts +1 -0
  68. package/dist/components/arcgis-utility-network-picker/index.js +7 -0
  69. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +0 -1
  70. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +0 -1
  71. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +123 -140
  72. package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +2 -1
  73. package/dist/components/arcgis-utility-network-trace-results/customElement.js +0 -2
  74. package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +0 -2
  75. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +0 -2
  76. package/dist/components/arcgis-version-management-service-item/customElement.js +3 -4
  77. package/dist/components/arcgis-video/customElement.d.ts +5 -3
  78. package/dist/components/arcgis-video-player-actions-group/customElement.js +6 -6
  79. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  80. package/dist/docs/api.json +1 -1
  81. package/dist/docs/docs.json +1 -1
  82. package/dist/docs/vscode.html-custom-data.json +1 -1
  83. package/dist/docs/web-types.json +1 -1
  84. package/dist/index.d.ts +10 -0
  85. package/dist/loader.js +4 -2
  86. package/dist/types/lumina.d.ts +9 -2
  87. package/dist/types/preact.d.ts +10 -2
  88. package/dist/types/react.d.ts +11 -2
  89. package/dist/types/stencil.d.ts +9 -2
  90. package/package.json +7 -7
  91. package/dist/cdn/42TPQKQZ.js +0 -2
  92. package/dist/cdn/4T6ECCFH.js +0 -2
  93. package/dist/cdn/4UBDCXSK.js +0 -2
  94. package/dist/cdn/6MEC4BFN.js +0 -2
  95. package/dist/cdn/AJ7XRBWN.js +0 -2
  96. package/dist/cdn/ARVN7QLQ.js +0 -2
  97. package/dist/cdn/BVDQQOCR.js +0 -2
  98. package/dist/cdn/DKBC3UMW.js +0 -2
  99. package/dist/cdn/DSIL7TYR.js +0 -2
  100. package/dist/cdn/G2PAKIMS.js +0 -2
  101. package/dist/cdn/JOOHHKWH.js +0 -2
  102. package/dist/cdn/KS5TQB2A.js +0 -2
  103. package/dist/cdn/NAQYIBE5.js +0 -2
  104. package/dist/cdn/NBYN44GP.js +0 -2
  105. package/dist/cdn/NGB5WVIG.js +0 -2
  106. package/dist/cdn/PBNP6WFU.js +0 -2
  107. package/dist/cdn/RDARV7HC.js +0 -2
  108. package/dist/cdn/RXAUCQQC.js +0 -2
  109. package/dist/cdn/S22ZRUS7.js +0 -2
  110. package/dist/cdn/SVOAX4K6.js +0 -2
  111. package/dist/cdn/TI4BX367.js +0 -2
  112. package/dist/cdn/W5WXJT7N.js +0 -2
  113. package/dist/cdn/YTC3XBSZ.js +0 -2
@@ -1,10 +1,10 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as l } from "../../chunks/runtime.js";
3
- import { css as g, html as c } from "lit";
2
+ import { c as g } from "../../chunks/runtime.js";
3
+ import { css as l, html as c } from "lit";
4
4
  import { LitElement as s, createEvent as b } from "@arcgis/lumina";
5
5
  import "@arcgis/core/core/accessorSupport/decorators.js";
6
6
  import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
7
- const d = g`.captions-container{width:100%;height:100%;padding-inline-start:var(--arcgis-internal-presentation-padding-start);padding-inline-end:var(--arcgis-internal-presentation-padding-end)}.captions{height:auto;position:relative;box-sizing:border-box;transition:padding .05s ease-in 0s;min-height:48px;max-width:max(400px,40%);padding:12px 16px;&:before{content:"";position:absolute;inset-block:-16px -144px;inset-inline:calc(-64px - var(--arcgis-internal-presentation-padding-start)) calc(0px - max(360px,32vw));background:var(--caption-gradient);mask:var(--caption-gradient-mask-before);opacity:var(--calcite-opacity-half);z-index:-1}&:after{content:"";position:absolute;inset:-32px;z-index:-2;background-color:#fff0;mask:var(--caption-gradient-mask-after);mask-mode:luminance;mask-composite:intersect;background-size:cover;backdrop-filter:blur(2px);opacity:var(--calcite-opacity-dark)}}:dir(rtl) .captions{&:before{mask:var(--caption-gradient-mask-before-RTL)}}.title{text-wrap:pretty;text-align:start;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;text-shadow:var(--title-text-shadow);font-size:var(--caption-title-font-size);font-family:Avenir Next World,sans-serif;font-style:normal;font-weight:var(--calcite-font-weight-bold);line-height:var(--calcite-font-line-height-relative-snug);margin-bottom:2px;color:var(--calcite-color-text-1)}.captions-description{text-wrap:pretty;text-align:start;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;text-shadow:var(--description-text-shadow);font-size:var(--caption-description-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1)}.cover-container{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;padding-block-start:calc(var(--arcgis-internal-presentation-cover-padding-top) + var(--calcite-space-lg));padding-block-end:calc(var(--arcgis-internal-presentation-cover-padding-bottom) + var(--calcite-space-lg))}.cover{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:8px;min-height:88px;min-width:200px;position:relative;padding-inline-start:calc(var(--arcgis-internal-presentation-cover-padding-start) + 16px);padding-inline-end:calc(var(--arcgis-internal-presentation-cover-padding-end) + 16px);opacity:1;transition:opacity .25s,color .25s;&:before{content:"";position:absolute;inset:calc(0vw - max(320px,12vw,18vh)) calc(0vw - max(320px,24vw));border-radius:120px;background:var(--cover-gradient-before);mask:var(--cover-mask-before);opacity:var(--calcite-opacity-half);z-index:-1}&:after{content:"";position:absolute;inset:-32px;z-index:-2;background-color:#fff0;mask:var(--cover-mask-after);mask-mode:luminance;mask-composite:intersect;background-size:cover;backdrop-filter:blur(2px);opacity:var(--calcite-opacity-dark)}}.cover-description{text-wrap:pretty;text-align:center;text-shadow:var(--description-text-shadow);font-size:var(--cover-description-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-snug);display:-webkit-box;max-width:75ch;overflow-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;color:var(--calcite-color-text-1)}:host{width:100%;height:100%;position:absolute;top:0;left:0;display:flex;align-items:flex-start;box-sizing:border-box;--caption-gradient: linear-gradient( 180deg, rgb(255 255 255 / 100%) 0%, rgb(255 255 255 / 98.3%) 8.1%, rgb(255 255 255 / 95%) 15.5%, rgb(255 255 255 / 90%) 22.5%, rgb(255 255 255 / 83.3%) 29%, rgb(255 255 255 / 73.3%) 35%, rgb(255 255 255 / 65%) 41%, rgb(255 255 255 / 55%) 47%, rgb(255 255 255 / 45%) 53%, rgb(255 255 255 / 35%) 59%, rgb(255 255 255 / 26.7%) 65%, rgb(255 255 255 / 18.3%) 71%, rgb(255 255 255 / 10%) 77%, rgb(255 255 255 / 4%) 84.5%, rgb(255 255 255 / 1%) 91%, rgb(255 255 255 / 0%) 100% );--title-text-shadow: 0 1px 1px #fff3, 0 0 3px #fff2, 0 0 6px #fff2;--caption-gradient-mask-before: linear-gradient( 90deg, rgb(255 255 255 / 100%) 30%, rgb(255 255 255 / 98.3%) 35.6%, rgb(255 255 255 / 95%) 41%, rgb(255 255 255 / 90%) 46%, rgb(255 255 255 / 83.3%) 50.3%, rgb(255 255 255 / 73.3%) 54.5%, rgb(255 255 255 / 65%) 58.7%, rgb(255 255 255 / 55%) 62.9%, rgb(255 255 255 / 45%) 67%, rgb(255 255 255 / 35%) 71%, rgb(255 255 255 / 26.7%) 75.5%, rgb(255 255 255 / 18.3%) 80%, rgb(255 255 255 / 10%) 84%, rgb(255 255 255 / 4%) 89%, rgb(255 255 255 / 1%) 94%, rgb(255 255 255 / 0%) 100% );--caption-gradient-mask-before-RTL: linear-gradient( 270deg, rgb(255 255 255 / 100%) 30%, rgb(255 255 255 / 98.3%) 35.6%, rgb(255 255 255 / 95%) 41%, rgb(255 255 255 / 90%) 46%, rgb(255 255 255 / 83.3%) 50.3%, rgb(255 255 255 / 73.3%) 54.5%, rgb(255 255 255 / 65%) 58.7%, rgb(255 255 255 / 55%) 62.9%, rgb(255 255 255 / 45%) 67%, rgb(255 255 255 / 35%) 71%, rgb(255 255 255 / 26.7%) 75.5%, rgb(255 255 255 / 18.3%) 80%, rgb(255 255 255 / 10%) 84%, rgb(255 255 255 / 4%) 89%, rgb(255 255 255 / 1%) 94%, rgb(255 255 255 / 0%) 100% );--caption-gradient-mask-after: linear-gradient( 90deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 180deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 270deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 0deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% );--description-text-shadow: 0 .5px .5px #fff2, 0 1px 1px #fff2, 0 0 8px #fff2;--caption-title-font-size: max(var(--calcite-font-size-xxl), calc(18px + .64vw) );--caption-description-font-size: max(var(--calcite-font-size), calc(10px + .4vw) );--cover-description-font-size: max(var(--calcite-font-size-md), calc(10px + .5vw) );--cover-gradient-before: linear-gradient( 0deg, rgb(255 255 255 / 0%) 0, rgb(255 255 255 / 1%) 4%, rgb(255 255 255 / 4%) 7.7%, rgb(255 255 255 / 10%) 11.2%, rgb(255 255 255 / 18.3%) 14.5%, rgb(255 255 255 / 26.7%) 17.5%, rgb(255 255 255 / 35%) 20.5%, rgb(255 255 255 / 45%) 23.5%, rgb(255 255 255 / 55%) 26.5%, rgb(255 255 255 / 65%) 29.5%, rgb(255 255 255 / 73.3%) 32.5%, rgb(255 255 255 / 83.3%) 35.5%, rgb(255 255 255 / 90%) 38.5%, rgb(255 255 255 / 95%) 42.2%, rgb(255 255 255 / 98.3%) 46%, rgb(255 255 255 / 100%) 50%, rgb(255 255 255 / 98.3%) 54%, rgb(255 255 255 / 95%) 57.8%, rgb(255 255 255 / 90%) 61.5%, rgb(255 255 255 / 83.3%) 64.5%, rgb(255 255 255 / 73.3%) 67.5%, rgb(255 255 255 / 65%) 70.5%, rgb(255 255 255 / 55%) 73.5%, rgb(255 255 255 / 45%) 76.5%, rgb(255 255 255 / 35%) 79.5%, rgb(255 255 255 / 26.7%) 82.5%, rgb(255 255 255 / 18.3%) 85.5%, rgb(255 255 255 / 10%) 88.8%, rgb(255 255 255 / 4%) 92.3%, rgb(255 255 255 / 1%) 96%, rgb(255 255 255 / 0%) 100% );--cover-mask-before: linear-gradient( 90deg, rgb(255 255 255 / 0%) 0, rgb(255 255 255 / 1%) 3.2%, rgb(255 255 255 / 4%) 6.2%, rgb(255 255 255 / 10%) 9%, rgb(255 255 255 / 18.3%) 11.6%, rgb(255 255 255 / 26.7%) 14%, rgb(255 255 255 / 35%) 16.4%, rgb(255 255 255 / 45%) 18.8%, rgb(255 255 255 / 55%) 21.2%, rgb(255 255 255 / 65%) 23.6%, rgb(255 255 255 / 73.3%) 26%, rgb(255 255 255 / 83.3%) 28.4%, rgb(255 255 255 / 90%) 30.8%, rgb(255 255 255 / 95%) 33.8%, rgb(255 255 255 / 98.3%) 36.8%, rgb(255 255 255 / 100%) 40%, rgb(255 255 255 / 100%) 60%, rgb(255 255 255 / 98.3%) 63.2%, rgb(255 255 255 / 95%) 66.2%, rgb(255 255 255 / 90%) 69.2%, rgb(255 255 255 / 83.3%) 71.6%, rgb(255 255 255 / 73.3%) 74%, rgb(255 255 255 / 65%) 76.4%, rgb(255 255 255 / 55%) 78.8%, rgb(255 255 255 / 45%) 81.2%, rgb(255 255 255 / 35%) 83.6%, rgb(255 255 255 / 26.7%) 86%, rgb(255 255 255 / 18.3%) 88.4%, rgb(255 255 255 / 10%) 91%, rgb(255 255 255 / 4%) 93.9%, rgb(255 255 255 / 1%) 96.8%, rgb(255 255 255 / 0%) 100% );--cover-mask-after: linear-gradient( 90deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 180deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 270deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 0deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% );--cover-gradient-phone: linear-gradient( 0deg, rgb(255 255 255 / 0%) .59%, rgb(255 255 255 / 4%) 4.94%, rgb(255 255 255 / 50%) 25.87%, rgb(255 255 255 / 70%) 37.02%, rgb(255 255 255 / 80%) 48.43%, rgb(255 255 255 / 70%) 60.34%, rgb(255 255 255 / 30%) 80.55%, rgb(255 255 255 / 4%) 93.22%, rgb(255 255 255 / 0%) 99.74% );.fadeOut{opacity:1!important}}`, n = 50, o = 256;
7
+ const d = l`:host{--arcgis-internal-presentation-background-opacity: .6}.captions-container{width:100%;height:100%;padding-inline-start:var(--arcgis-internal-presentation-padding-start);padding-inline-end:var(--arcgis-internal-presentation-padding-end)}.captions{height:auto;position:relative;box-sizing:border-box;transition:padding .05s ease-in 0s;min-height:48px;max-width:max(400px,40%);padding:12px 16px;&:before{content:"";position:absolute;inset-block:-16px -144px;inset-inline:calc(-64px - var(--arcgis-internal-presentation-padding-start)) calc(0px - max(360px,32vw));background:var(--caption-gradient);mask:var(--caption-gradient-mask-before);opacity:var(--arcgis-internal-presentation-background-opacity);z-index:-1}&:after{content:"";position:absolute;inset:-32px;z-index:-2;background-color:#fff0;mask:var(--caption-gradient-mask-after);mask-mode:luminance;mask-composite:intersect;background-size:cover;backdrop-filter:blur(2px);opacity:var(--calcite-opacity-dark)}}:dir(rtl) .captions{&:before{mask:var(--caption-gradient-mask-before-RTL)}}.title{text-wrap:pretty;text-align:start;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;text-shadow:var(--title-text-shadow);font-size:var(--caption-title-font-size);font-family:Avenir Next World,sans-serif;font-style:normal;font-weight:var(--calcite-font-weight-bold);line-height:var(--calcite-font-line-height-relative-snug);margin-bottom:2px;color:var(--calcite-color-text-1)}.captions-description{text-wrap:pretty;text-align:start;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;text-shadow:var(--description-text-shadow);font-size:var(--caption-description-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1)}.cover-container{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;padding-block-start:calc(var(--arcgis-internal-presentation-cover-padding-top) + var(--calcite-space-lg));padding-block-end:calc(var(--arcgis-internal-presentation-cover-padding-bottom) + var(--calcite-space-lg))}.cover{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:8px;min-height:88px;min-width:200px;position:relative;padding-inline-start:16px;padding-inline-end:16px;opacity:1;transition:opacity .25s,color .25s;&:before{content:"";position:absolute;inset:calc(0vw - max(320px,12vw,18vh)) calc(0vw - max(320px,24vw));border-radius:120px;background:var(--cover-gradient-before);mask:var(--cover-mask-before);opacity:var(--arcgis-internal-presentation-background-opacity);z-index:-1}&:after{content:"";position:absolute;inset:-32px;z-index:-2;background-color:#fff0;mask:var(--cover-mask-after);mask-mode:luminance;mask-composite:intersect;background-size:cover;backdrop-filter:blur(2px);opacity:var(--calcite-opacity-dark)}}.cover-description{text-wrap:pretty;text-align:center;text-shadow:var(--description-text-shadow);font-size:var(--cover-description-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-snug);display:-webkit-box;max-width:75ch;overflow-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;color:var(--calcite-color-text-1)}:host{width:100%;height:100%;position:absolute;top:0;left:0;display:flex;align-items:flex-start;box-sizing:border-box;--caption-gradient: linear-gradient( 180deg, rgb(255 255 255 / 100%) 0%, rgb(255 255 255 / 98.3%) 8.1%, rgb(255 255 255 / 95%) 15.5%, rgb(255 255 255 / 90%) 22.5%, rgb(255 255 255 / 83.3%) 29%, rgb(255 255 255 / 73.3%) 35%, rgb(255 255 255 / 65%) 41%, rgb(255 255 255 / 55%) 47%, rgb(255 255 255 / 45%) 53%, rgb(255 255 255 / 35%) 59%, rgb(255 255 255 / 26.7%) 65%, rgb(255 255 255 / 18.3%) 71%, rgb(255 255 255 / 10%) 77%, rgb(255 255 255 / 4%) 84.5%, rgb(255 255 255 / 1%) 91%, rgb(255 255 255 / 0%) 100% );--title-text-shadow: 0 1px 1px #fff3, 0 0 3px #fff2, 0 0 6px #fff2;--caption-gradient-mask-before: linear-gradient( 90deg, rgb(255 255 255 / 100%) 30%, rgb(255 255 255 / 98.3%) 35.6%, rgb(255 255 255 / 95%) 41%, rgb(255 255 255 / 90%) 46%, rgb(255 255 255 / 83.3%) 50.3%, rgb(255 255 255 / 73.3%) 54.5%, rgb(255 255 255 / 65%) 58.7%, rgb(255 255 255 / 55%) 62.9%, rgb(255 255 255 / 45%) 67%, rgb(255 255 255 / 35%) 71%, rgb(255 255 255 / 26.7%) 75.5%, rgb(255 255 255 / 18.3%) 80%, rgb(255 255 255 / 10%) 84%, rgb(255 255 255 / 4%) 89%, rgb(255 255 255 / 1%) 94%, rgb(255 255 255 / 0%) 100% );--caption-gradient-mask-before-RTL: linear-gradient( 270deg, rgb(255 255 255 / 100%) 30%, rgb(255 255 255 / 98.3%) 35.6%, rgb(255 255 255 / 95%) 41%, rgb(255 255 255 / 90%) 46%, rgb(255 255 255 / 83.3%) 50.3%, rgb(255 255 255 / 73.3%) 54.5%, rgb(255 255 255 / 65%) 58.7%, rgb(255 255 255 / 55%) 62.9%, rgb(255 255 255 / 45%) 67%, rgb(255 255 255 / 35%) 71%, rgb(255 255 255 / 26.7%) 75.5%, rgb(255 255 255 / 18.3%) 80%, rgb(255 255 255 / 10%) 84%, rgb(255 255 255 / 4%) 89%, rgb(255 255 255 / 1%) 94%, rgb(255 255 255 / 0%) 100% );--caption-gradient-mask-after: linear-gradient( 90deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 180deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 270deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 0deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% );--description-text-shadow: 0 .5px .5px #fff2, 0 1px 1px #fff2, 0 0 8px #fff2;--caption-title-font-size: max(var(--calcite-font-size-2xl), calc(18px + .64vw) );--caption-description-font-size: max(var(--calcite-font-size), calc(10px + .4vw) );--cover-description-font-size: max(var(--calcite-font-size-md), calc(10px + .5vw) );--cover-gradient-before: linear-gradient( 0deg, rgb(255 255 255 / 0%) 0, rgb(255 255 255 / 1%) 4%, rgb(255 255 255 / 4%) 7.7%, rgb(255 255 255 / 10%) 11.2%, rgb(255 255 255 / 18.3%) 14.5%, rgb(255 255 255 / 26.7%) 17.5%, rgb(255 255 255 / 35%) 20.5%, rgb(255 255 255 / 45%) 23.5%, rgb(255 255 255 / 55%) 26.5%, rgb(255 255 255 / 65%) 29.5%, rgb(255 255 255 / 73.3%) 32.5%, rgb(255 255 255 / 83.3%) 35.5%, rgb(255 255 255 / 90%) 38.5%, rgb(255 255 255 / 95%) 42.2%, rgb(255 255 255 / 98.3%) 46%, rgb(255 255 255 / 100%) 50%, rgb(255 255 255 / 98.3%) 54%, rgb(255 255 255 / 95%) 57.8%, rgb(255 255 255 / 90%) 61.5%, rgb(255 255 255 / 83.3%) 64.5%, rgb(255 255 255 / 73.3%) 67.5%, rgb(255 255 255 / 65%) 70.5%, rgb(255 255 255 / 55%) 73.5%, rgb(255 255 255 / 45%) 76.5%, rgb(255 255 255 / 35%) 79.5%, rgb(255 255 255 / 26.7%) 82.5%, rgb(255 255 255 / 18.3%) 85.5%, rgb(255 255 255 / 10%) 88.8%, rgb(255 255 255 / 4%) 92.3%, rgb(255 255 255 / 1%) 96%, rgb(255 255 255 / 0%) 100% );--cover-mask-before: linear-gradient( 90deg, rgb(255 255 255 / 0%) 0, rgb(255 255 255 / 1%) 3.2%, rgb(255 255 255 / 4%) 6.2%, rgb(255 255 255 / 10%) 9%, rgb(255 255 255 / 18.3%) 11.6%, rgb(255 255 255 / 26.7%) 14%, rgb(255 255 255 / 35%) 16.4%, rgb(255 255 255 / 45%) 18.8%, rgb(255 255 255 / 55%) 21.2%, rgb(255 255 255 / 65%) 23.6%, rgb(255 255 255 / 73.3%) 26%, rgb(255 255 255 / 83.3%) 28.4%, rgb(255 255 255 / 90%) 30.8%, rgb(255 255 255 / 95%) 33.8%, rgb(255 255 255 / 98.3%) 36.8%, rgb(255 255 255 / 100%) 40%, rgb(255 255 255 / 100%) 60%, rgb(255 255 255 / 98.3%) 63.2%, rgb(255 255 255 / 95%) 66.2%, rgb(255 255 255 / 90%) 69.2%, rgb(255 255 255 / 83.3%) 71.6%, rgb(255 255 255 / 73.3%) 74%, rgb(255 255 255 / 65%) 76.4%, rgb(255 255 255 / 55%) 78.8%, rgb(255 255 255 / 45%) 81.2%, rgb(255 255 255 / 35%) 83.6%, rgb(255 255 255 / 26.7%) 86%, rgb(255 255 255 / 18.3%) 88.4%, rgb(255 255 255 / 10%) 91%, rgb(255 255 255 / 4%) 93.9%, rgb(255 255 255 / 1%) 96.8%, rgb(255 255 255 / 0%) 100% );--cover-mask-after: linear-gradient( 90deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 180deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 270deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 0deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% );--cover-gradient-phone: linear-gradient( 0deg, rgb(255 255 255 / 0%) .59%, rgb(255 255 255 / 4%) 4.94%, rgb(255 255 255 / 50%) 25.87%, rgb(255 255 255 / 70%) 37.02%, rgb(255 255 255 / 80%) 48.43%, rgb(255 255 255 / 70%) 60.34%, rgb(255 255 255 / 30%) 80.55%, rgb(255 255 255 / 4%) 93.22%, rgb(255 255 255 / 0%) 99.74% );.fadeOut{opacity:1!important}}`, n = 50, o = 256;
8
8
  class x extends s {
9
9
  constructor() {
10
10
  super(...arguments), this.transitionActive = !1, this.autoDestroyDisabled = !1, this.arcgisReady = b();
@@ -37,7 +37,7 @@ class x extends s {
37
37
  return c`<div class="captions-container"><div class="captions"><div class="title">${e}</div><div class="captions-description">${r}</div></div></div>`;
38
38
  }
39
39
  }
40
- l("arcgis-presentation-captions", x);
40
+ g("arcgis-presentation-captions", x);
41
41
  export {
42
42
  x as ArcgisPresentationCaptions
43
43
  };
@@ -0,0 +1,49 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import { c as o } from "../../chunks/runtime.js";
3
+ import { css as n, html as s } from "lit";
4
+ import { LitElement as r, createEvent as c, nothing as a, safeClassMap as d } from "@arcgis/lumina";
5
+ import "@arcgis/core/core/accessorSupport/decorators.js";
6
+ import { classes as m } from "@arcgis/toolkit/dom";
7
+ import { p } from "../../chunks/constants2.js";
8
+ const h = n`:host{--calcite-list-background-color: var(--calcite-color-transparent);position:absolute;inset-block-end:0;display:flex;flex-direction:column;justify-content:flex-end;height:100%}.presentation-slide-list-container{overflow-x:hidden;overflow-y:auto;pointer-events:auto;background-color:var(--calcite-color-surface-2);box-shadow:var(--arcgis-internal-box-shadow)}.presentation-slide-list{position:relative;display:block;width:300px;box-sizing:border-box}.slide-list-item-content{position:relative;display:flex;height:100%;justify-content:flex-start;box-sizing:border-box}.slide-list-item-selected{border:1px solid var(--calcite-color-surface-2);background:var(--calcite-color-surface-highlight)}.card-slide-title{margin-inline-start:var(--calcite-space-md);padding-inline-end:var(--calcite-space-xs);min-inline-size:0;align-content:center;font-size:var(--calcite-font-size--1)}.card-slide-title-text{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}@supports (line-clamp: 2){.card-slide-title-text{line-clamp:2}}.card-image{width:114px;height:62px}`;
9
+ class u extends r {
10
+ constructor() {
11
+ super(...arguments), this.visualScale = "m", this.arcgisSlideListItemSelected = c(), this.arcgisSlideListOutsideClick = c();
12
+ }
13
+ static {
14
+ this.properties = { slides: 0, slideId: 1, label: 1, visualScale: 1 };
15
+ }
16
+ static {
17
+ this.styles = h;
18
+ }
19
+ loaded() {
20
+ this.manager.onLifecycle(() => {
21
+ this.listenOn(window, "mouseup", this.#t), this.#i();
22
+ });
23
+ }
24
+ #e(e) {
25
+ requestAnimationFrame(() => {
26
+ this.arcgisSlideListItemSelected.emit({ selectedSlide: e });
27
+ });
28
+ }
29
+ #t(e) {
30
+ const t = e.composedPath();
31
+ t.includes(this.el) || t.some((i) => i instanceof HTMLElement && i.id === p) || this.arcgisSlideListOutsideClick.emit();
32
+ }
33
+ #i() {
34
+ const e = this.renderRoot.querySelector("calcite-list-item[selected]");
35
+ e && e.setFocus();
36
+ }
37
+ render() {
38
+ return !this.slides || this.slides?.length === 0 ? s`<div></div>` : s`<div class="presentation-slide-list-container"><calcite-list .label=${this.label ?? ""} class="presentation-slide-list" .scale=${this.visualScale}>${this.slides.toArray().map((e) => {
39
+ const t = e.id === this.slideId, { thumbnail: l, title: i } = e;
40
+ return s`<calcite-list-item .selected=${t} class=${d(m({
41
+ "slide-list-item-selected": t
42
+ }))} @calciteListItemSelect=${() => this.#e(e)}><div slot=content class="slide-list-item-content"><img class="card-image" src=${l.url ?? a} alt=${i?.text ?? a}><div class="card-slide-title"><span class="card-slide-title-text">${i?.text}</span></div></div></calcite-list-item>`;
43
+ })}</calcite-list></div>`;
44
+ }
45
+ }
46
+ o("arcgis-presentation-slide-list", u);
47
+ export {
48
+ u as ArcgisPresentationSlideList
49
+ };
@@ -0,0 +1,3 @@
1
+ import "@esri/calcite-components/components/calcite-list";
2
+ import "@esri/calcite-components/components/calcite-list-item";
3
+ export * from "./customElement.js";
@@ -182,13 +182,15 @@ export abstract class ArcgisScene extends LitElement {
182
182
  */
183
183
  get attributionItems(): SceneView["attributionItems"];
184
184
  /**
185
- * The light or dark mode used to display the attribution.
186
- * By default, the mode is inherited from the [Calcite's mode](https://developers.arcgis.com/calcite-design-system/core-concepts/#modes).
187
- * You can override the value to style the attribution alongside the map or scene content.
185
+ * The display mode used for the attribution. Defaults to null.
186
+ *
187
+ * Set this property to "auto" to automatically synchronize the attribution with the nearest [Calcite mode](https://developers.arcgis.com/calcite-design-system/core-concepts/#modes). If no Calcite mode is detected, the attribution defaults to light mode. **The "auto" mode was added in version 5.2.**
188
+ *
189
+ * Set this property to "light" or "dark" to explicitly use that mode without synchronization.
188
190
  *
189
191
  * @since 5.0
190
192
  */
191
- accessor attributionMode: "dark" | "light" | null | undefined;
193
+ accessor attributionMode: AttributionMode;
192
194
  /**
193
195
  * If true, the component will not be destroyed automatically when it is
194
196
  * disconnected from the document. This is useful when you want to move the
@@ -1268,4 +1270,6 @@ export abstract class ArcgisScene extends LitElement {
1268
1270
  arcgisViewReadyError: ArcgisScene["arcgisViewReadyError"]["detail"];
1269
1271
  arcgisViewVerticalTwoFingerDrag: ArcgisScene["arcgisViewVerticalTwoFingerDrag"]["detail"];
1270
1272
  };
1271
- }
1273
+ }
1274
+
1275
+ export type AttributionMode = SceneView["attributionMode"] | "auto";
@@ -6,18 +6,18 @@ import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
6
6
  import v from "@arcgis/core/geometry/Point.js";
7
7
  import u from "@arcgis/core/views/SceneView.js";
8
8
  import g from "@arcgis/core/WebScene.js";
9
- import { LitElement as d, createEvent as r, safeClassMap as n } from "@arcgis/lumina";
9
+ import { LitElement as d, createEvent as r, safeClassMap as o } from "@arcgis/lumina";
10
10
  import { makeAccessorController as w, reEmitEvent as t, reCreateAccessor as y } from "@arcgis/lumina/controllers/accessor";
11
- import { createRef as o, ref as h } from "lit/directives/ref.js";
12
- import { U as f, u as b, a as V } from "../../chunks/useArcgisViewReadyError.js";
13
- import { s as C } from "../../chunks/esri-main.js";
11
+ import { createRef as n, ref as h } from "lit/directives/ref.js";
12
+ import { U as f, u as b, a as V, b as C } from "../../chunks/useArcgisViewReadyError.js";
13
+ import { s as _ } from "../../chunks/esri-main.js";
14
14
  import { s as E } from "../../chunks/slots.js";
15
15
  import { C as c } from "../../chunks/resources.js";
16
- import { b as _, c as P, p as A, i as R } from "../../chunks/component-utils.js";
16
+ import { b as P, c as A, p as M, i as R } from "../../chunks/component-utils.js";
17
17
  const D = w(g, {}), I = w(u, {});
18
- class M extends d {
18
+ class k extends d {
19
19
  constructor() {
20
- super(), this._containerRef = o(), this._mapRef = o(), this._uiController = new f(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = D(this), this.view = I(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.updating = this.view.updating, this.viewingMode = this.view.viewingMode, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = t(() => this.view, "double-tap-drag"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = t(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
20
+ super(), this._attributionMode = null, this._containerRef = n(), this._mapRef = n(), this._uiController = new f(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = D(this), this.view = I(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.updating = this.view.updating, this.viewingMode = this.view.viewingMode, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = t(() => this.view, "double-tap-drag"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = t(() => this.view, "vertical-two-finger-drag"), C(this), this.view.ui = {
21
21
  components: []
22
22
  };
23
23
  }
@@ -25,7 +25,7 @@ class M extends d {
25
25
  this.properties = { _map: 16, aria: 0, view: 32, allLayerViews: 32, alphaCompositingEnabled: 5, analyses: 0, animationsDisabled: 5, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, canZoomIn: 36, canZoomOut: 36, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, groundView: 32, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, qualityProfile: 1, ready: 36, resolution: 32, selectionManager: 32, scale: 9, slotGroupRefs: 32, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, updating: 36, viewingMode: 1, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
26
26
  }
27
27
  static {
28
- this.styles = [C, E];
28
+ this.styles = [_, E];
29
29
  }
30
30
  get aria() {
31
31
  return this.view?.aria ?? null;
@@ -36,11 +36,17 @@ class M extends d {
36
36
  get attributionItems() {
37
37
  return this.view?.attributionItems ?? [];
38
38
  }
39
+ get attributionMode() {
40
+ return this._attributionMode;
41
+ }
42
+ set attributionMode(i) {
43
+ this._attributionMode = i, i !== "auto" && (this.view.attributionMode = i);
44
+ }
39
45
  get camera() {
40
46
  return this.view.camera;
41
47
  }
42
48
  set camera(i) {
43
- _(this.camera, i) || (this.view.camera = i);
49
+ P(this.camera, i) || (this.view.camera = i);
44
50
  }
45
51
  get cameraFov() {
46
52
  const { view: i } = this;
@@ -68,7 +74,7 @@ class M extends d {
68
74
  return e ? new v(e) : void 0;
69
75
  }
70
76
  set cameraPosition(i) {
71
- const e = P(this.view.camera?.position, i);
77
+ const e = A(this.view.camera?.position, i);
72
78
  e && this._mutateCamera((m) => {
73
79
  m.position = e;
74
80
  });
@@ -86,7 +92,7 @@ class M extends d {
86
92
  return this.view.center;
87
93
  }
88
94
  set center(i) {
89
- const e = A(i, this.view);
95
+ const e = M(i, this.view);
90
96
  e && (this.view.center = e);
91
97
  }
92
98
  get extent() {
@@ -224,13 +230,13 @@ class M extends d {
224
230
  i(e), this.camera = e;
225
231
  }
226
232
  renderMain() {
227
- return a`<div class=${n(c.base)} ${h(this._mapRef)}></div>`;
233
+ return a`<div class=${o(c.base)} ${h(this._mapRef)}></div>`;
228
234
  }
229
235
  render() {
230
- return a`${this.renderMain()}<section class=${n(c.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}</section>`;
236
+ return a`${this.renderMain()}<section class=${o(c.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}</section>`;
231
237
  }
232
238
  }
233
- p("arcgis-scene", M);
239
+ p("arcgis-scene", k);
234
240
  export {
235
- M as ArcgisScene
241
+ k as ArcgisScene
236
242
  };
@@ -7,7 +7,6 @@ import { unsafeHTML as b } from "lit/directives/unsafe-html.js";
7
7
  import { LitElement as _, safeStyleMap as y } from "@arcgis/lumina";
8
8
  import * as l from "@arcgis/toolkit/log";
9
9
  import { isSharedTemplateMetadata as c, isStandardFeatureTemplate as v } from "@arcgis/core/applications/Components/templateUtils.js";
10
- import "@arcgis/core/editing/sharedTemplates/SharedTemplateMetadata.js";
11
10
  import { renderPreviewHTML as w } from "@arcgis/core/symbols/support/symbolUtils.js";
12
11
  import { isTable as I } from "@arcgis/core/applications/Components/layerUtils.js";
13
12
  const D = g`.esri-thumbnail-preview{width:22px;height:22px;background-position:50% 50%;background-repeat:no-repeat}.template-image-container{width:32px;height:32px;display:flex;align-items:center;justify-content:center}`;
@@ -1,8 +1,8 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as W } from "../../chunks/runtime.js";
3
- import x from "@arcgis/core/time/TimeExtent.js";
4
3
  import { css as V, html as v } from "lit";
5
4
  import z from "@arcgis/core/core/Accessor.js";
5
+ import x from "@arcgis/core/time/TimeExtent.js";
6
6
  import q from "@arcgis/core/webdoc/widgets/TimeSlider.js";
7
7
  import H from "@arcgis/core/webdoc/Widgets.js";
8
8
  import { b as G, d as L, a as U } from "../../chunks/async-utils.js";
@@ -0,0 +1,56 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
3
+ import type MapView from "@arcgis/core/views/MapView.js";
4
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
+ import type { T9nMeta } from "@arcgis/lumina/controllers";
6
+
7
+ /**
8
+ * This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
9
+ * It allows users to select utility networks from the map.
10
+ *
11
+ * @since 5.2
12
+ * @internal
13
+ */
14
+ export abstract class ArcgisUtilityNetworkPicker extends LitElement {
15
+ /** @internal */
16
+ protected _messages: {
17
+ componentLabel: string;
18
+ errors: {
19
+ mapLoadFailed: string;
20
+ noUtilityNetwork: string;
21
+ noView: string;
22
+ utilityNetworkLoadFailed: string;
23
+ };
24
+ labels: { utilityNetwork: string; };
25
+ } & T9nMeta<{
26
+ componentLabel: string;
27
+ errors: {
28
+ mapLoadFailed: string;
29
+ noUtilityNetwork: string;
30
+ noView: string;
31
+ utilityNetworkLoadFailed: string;
32
+ };
33
+ labels: { utilityNetwork: string; };
34
+ }>;
35
+ accessor error: string | undefined;
36
+ accessor heading: string | undefined;
37
+ /** @default false */
38
+ accessor hideErrors: boolean;
39
+ /** @default false */
40
+ accessor hideLoader: boolean;
41
+ accessor selectedUtilityNetwork: UtilityNetwork | undefined;
42
+ /** @default "loading" */
43
+ accessor state: "error" | "loading" | "ready";
44
+ /**
45
+ * The view associated with the component.
46
+ * > **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-utility-network-picker component will be associated with a map or scene component rather than using the `view` property.
47
+ */
48
+ accessor view: MapView | undefined;
49
+ /** Fires when an error occurs while loading the utility networks from the map. */
50
+ readonly arcgisError: import("@arcgis/lumina").TargetedEvent<this, void>;
51
+ readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "selectedUtilityNetwork" | "state"; }>;
52
+ readonly "@eventTypes": {
53
+ arcgisError: ArcgisUtilityNetworkPicker["arcgisError"]["detail"];
54
+ arcgisPropertyChange: ArcgisUtilityNetworkPicker["arcgisPropertyChange"]["detail"];
55
+ };
56
+ }
@@ -0,0 +1,91 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import { c } from "../../chunks/runtime.js";
3
+ import h from "@arcgis/core/core/Collection.js";
4
+ import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
5
+ import { LitElement as n, createEvent as m } from "@arcgis/lumina";
6
+ import { usePropertyChange as w } from "@arcgis/lumina/controllers";
7
+ import { log as o } from "@arcgis/toolkit/log";
8
+ import { css as y, html as s } from "lit";
9
+ import { l } from "../../chunks/async-utils.js";
10
+ import { u as g } from "../../chunks/useT9n.js";
11
+ const k = y`:host{height:100%;flex-grow:1}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-combobox,calcite-label{margin:0 var(--calcite-space-md)}calcite-block calcite-notice{margin:var(--calcite-space-md) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}`;
12
+ class u extends n {
13
+ constructor() {
14
+ super(...arguments), this._messages = g({ blocking: !0 }), this.hideErrors = !1, this.hideLoader = !1, this.state = "loading", this.arcgisPropertyChange = w()("selectedUtilityNetwork", "state"), this.arcgisError = m();
15
+ }
16
+ static {
17
+ this.properties = { _utilityNetworks: 16, view: 0, hideErrors: 5, hideLoader: 5, state: 1, error: 1, selectedUtilityNetwork: 0, heading: 1 };
18
+ }
19
+ static {
20
+ this.styles = k;
21
+ }
22
+ load() {
23
+ this.#e(), this.manager.onLifecycle(() => [
24
+ d(() => this.view?.map, () => this.#e())
25
+ ]);
26
+ }
27
+ willUpdate(t) {
28
+ t.has("_utilityNetworks") && this.#r(), t.has("selectedUtilityNetwork") && this.#s();
29
+ }
30
+ #t(t) {
31
+ this.error = t, this.state = "error", this.arcgisError.emit();
32
+ }
33
+ #e() {
34
+ if (this.error = void 0, this.state = "loading", !this.view?.map) {
35
+ o("error", this, this._messages.errors.noView), this._utilityNetworks = void 0, this.#t(this._messages.errors.noView);
36
+ return;
37
+ }
38
+ const t = this.view.map;
39
+ this.#i(t);
40
+ }
41
+ async #i(t) {
42
+ try {
43
+ t.loaded || await t.load();
44
+ } catch (e) {
45
+ this.#t(this._messages.errors.mapLoadFailed), l(e, this, this._messages.errors.mapLoadFailed);
46
+ } finally {
47
+ this._utilityNetworks = t.utilityNetworks || new h();
48
+ }
49
+ }
50
+ #r() {
51
+ const { selectedUtilityNetwork: t, _utilityNetworks: e } = this;
52
+ e?.length ? (!t || !e.includes(t)) && (this.selectedUtilityNetwork = e.at(0)) : (this.#t(this._messages.errors.noUtilityNetwork), o("error", this, this._messages.errors.noUtilityNetwork), this.selectedUtilityNetwork = void 0);
53
+ }
54
+ async #s() {
55
+ const { selectedUtilityNetwork: t } = this;
56
+ try {
57
+ t && !t.loaded && await t.load(), this.state = "ready";
58
+ } catch (e) {
59
+ l(e, this, this._messages.errors.utilityNetworkLoadFailed), this.#t(this._messages.errors.utilityNetworkLoadFailed);
60
+ }
61
+ }
62
+ #o() {
63
+ return this.hideLoader ? null : s`<calcite-loader label=loading></calcite-loader>`;
64
+ }
65
+ #l(t, e = !1, i) {
66
+ return this.hideErrors ? null : s`<calcite-notice .closable=${e} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${t}</div></calcite-notice>`;
67
+ }
68
+ #a() {
69
+ const t = this._messages.labels.utilityNetwork, e = this._utilityNetworks?.map((i) => s`<calcite-combobox-item .value=${i.id} .heading=${i.title || i.id} .selected=${i.id === this.selectedUtilityNetwork?.id}></calcite-combobox-item>`);
70
+ return s`<calcite-combobox .label=${t} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: i }) => {
71
+ const r = i.selectedItems[0]?.value;
72
+ this.selectedUtilityNetwork?.id !== r && (this.selectedUtilityNetwork = this._utilityNetworks?.find((a) => a.id === r));
73
+ }}>${e}</calcite-combobox>`;
74
+ }
75
+ #c() {
76
+ const { selectedUtilityNetwork: t } = this;
77
+ return s`<calcite-label>${t?.title}</calcite-label>`;
78
+ }
79
+ #h(t) {
80
+ const e = this._messages.labels.utilityNetwork, i = this.heading || e, r = this._utilityNetworks?.length ? this._utilityNetworks?.length === 1 ? this.#c() : this.#a() : void 0;
81
+ return s`<calcite-block .heading=${i} .label=${e} expanded>${r}${t}</calcite-block>`;
82
+ }
83
+ render() {
84
+ const { error: t, state: e, selectedUtilityNetwork: i } = this, r = e === "error" && t ? this.#l(t, !1, "exclamation-mark-triangle") : void 0;
85
+ return !r && !i?.loaded && !i?.loadError ? this.#o() : e === "error" && r && !this._utilityNetworks?.length ? r : this.#h(r);
86
+ }
87
+ }
88
+ c("arcgis-utility-network-picker", u);
89
+ export {
90
+ u as ArcgisUtilityNetworkPicker
91
+ };
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1,7 @@
1
+ import "@esri/calcite-components/components/calcite-loader";
2
+ import "@esri/calcite-components/components/calcite-notice";
3
+ import "@esri/calcite-components/components/calcite-combobox-item";
4
+ import "@esri/calcite-components/components/calcite-combobox";
5
+ import "@esri/calcite-components/components/calcite-label";
6
+ import "@esri/calcite-components/components/calcite-block";
7
+ export * from "./customElement.js";
@@ -4,7 +4,6 @@ import { css as y, html as a } from "lit";
4
4
  import { ref as g } from "lit/directives/ref.js";
5
5
  import { keyed as u } from "lit/directives/keyed.js";
6
6
  import d from "@arcgis/core/Color.js";
7
- import "@arcgis/core/core/Error.js";
8
7
  import { when as f } from "@arcgis/core/core/reactiveUtils.js";
9
8
  import b from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
10
9
  import { LitElement as w, createEvent as o } from "@arcgis/lumina";
@@ -4,7 +4,6 @@ import { css as m, html as a } from "lit";
4
4
  import { ref as g } from "lit/directives/ref.js";
5
5
  import { keyed as u } from "lit/directives/keyed.js";
6
6
  import y from "@arcgis/core/Color.js";
7
- import "@arcgis/core/core/Error.js";
8
7
  import { when as f } from "@arcgis/core/core/reactiveUtils.js";
9
8
  import b from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
10
9
  import { LitElement as w, createEvent as o } from "@arcgis/lumina";