@arcgis/map-components 4.33.0-next.94 → 4.33.0-next.96
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.
- package/dist/arcgis-map-components/{UNDBFTAX.js → 2254XMRV.js} +2 -2
- package/dist/arcgis-map-components/{35OYOKW7.js.LEGAL.txt → 2254XMRV.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/2M7NQTWD.js +5 -0
- package/dist/arcgis-map-components/{3AWRLOIK.js.LEGAL.txt → 2M7NQTWD.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/2NRQMV3A.js +6 -0
- package/dist/arcgis-map-components/{XZQDSCUM.js.LEGAL.txt → 2NRQMV3A.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/2OSIN6NN.js +5 -0
- package/dist/arcgis-map-components/{3VYTDBN7.js.LEGAL.txt → 2OSIN6NN.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/2ZQZNQ3O.js +5 -0
- package/dist/arcgis-map-components/{2PAT54UU.js.LEGAL.txt → 2ZQZNQ3O.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{MLJHSNMB.js → 3CJCAXVF.js} +1 -1
- package/dist/arcgis-map-components/3CJCAXVF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{WHKIMYEO.js → 4GBGRONW.js} +1 -1
- package/dist/arcgis-map-components/4GBGRONW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{FT6L5IAQ.js → 4KDGV4NL.js} +2 -2
- package/dist/arcgis-map-components/4KDGV4NL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/4X4GXO2M.js +5 -0
- package/dist/arcgis-map-components/4X4GXO2M.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/5IO2DRNT.js +5 -0
- package/dist/arcgis-map-components/5IO2DRNT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TESTC2J4.js → 5V5GY2DW.js} +2 -2
- package/dist/arcgis-map-components/5V5GY2DW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/5WABIPJM.js +5 -0
- package/dist/arcgis-map-components/5WABIPJM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/6ATIGI2D.js +5 -0
- package/dist/arcgis-map-components/6ATIGI2D.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/6VN77BAA.js +5 -0
- package/dist/arcgis-map-components/6VN77BAA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/777QX2UP.js +5 -0
- package/dist/arcgis-map-components/777QX2UP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/7RDJKVJQ.js +5 -0
- package/dist/arcgis-map-components/7RDJKVJQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2PAT54UU.js → A5XLJG67.js} +2 -2
- package/dist/arcgis-map-components/A5XLJG67.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ACTOXLGG.js +5 -0
- package/dist/arcgis-map-components/ACTOXLGG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HL325AGP.js → ADJ5RCNS.js} +4 -4
- package/dist/arcgis-map-components/{HL325AGP.js.LEGAL.txt → ADJ5RCNS.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{ZN3BK6LI.js → AMPPBEY5.js} +2 -2
- package/dist/arcgis-map-components/AMPPBEY5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/AYWSOZ7D.js +5 -0
- package/dist/arcgis-map-components/AYWSOZ7D.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{3FLJQ4GU.js → B53DRKXY.js} +2 -2
- package/dist/arcgis-map-components/{3FLJQ4GU.js.LEGAL.txt → B53DRKXY.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/BC65FHQW.js +5 -0
- package/dist/arcgis-map-components/BC65FHQW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/BFDEIU7K.js +5 -0
- package/dist/arcgis-map-components/BFDEIU7K.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/BRY5M73Z.js +5 -0
- package/dist/arcgis-map-components/BRY5M73Z.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/C45LRGT3.js +5 -0
- package/dist/arcgis-map-components/C45LRGT3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/CNYLNIE5.js +5 -0
- package/dist/arcgis-map-components/CNYLNIE5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/DQ6Z3X3J.js +5 -0
- package/dist/arcgis-map-components/DQ6Z3X3J.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/DTNWWFDB.js +5 -0
- package/dist/arcgis-map-components/DTNWWFDB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ERSGO7IL.js +5 -0
- package/dist/arcgis-map-components/ERSGO7IL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/FB3A7MFK.js +5 -0
- package/dist/arcgis-map-components/FB3A7MFK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{RTLOIGRI.js → FBPML66I.js} +2 -2
- package/dist/arcgis-map-components/FBPML66I.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/FGMN2KXD.js +5 -0
- package/dist/arcgis-map-components/FGMN2KXD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/GCQTO2HP.js +5 -0
- package/dist/arcgis-map-components/GCQTO2HP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/GHUDFIVW.js +5 -0
- package/dist/arcgis-map-components/GHUDFIVW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{MJXJN6VX.js → HAZBKL65.js} +2 -2
- package/dist/arcgis-map-components/HAZBKL65.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/HO2SBT4S.js +5 -0
- package/dist/arcgis-map-components/HO2SBT4S.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TAGHQEOB.js → IX5XNRLV.js} +1 -1
- package/dist/arcgis-map-components/IX5XNRLV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/J22MUL42.js +5 -0
- package/dist/arcgis-map-components/J22MUL42.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XDTV4WVL.js → JCY3IWAK.js} +1 -1
- package/dist/arcgis-map-components/JCY3IWAK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{W7YBERR6.js → JG4FCFIT.js} +2 -2
- package/dist/arcgis-map-components/JG4FCFIT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/JH2LAQNR.js +4 -0
- package/dist/arcgis-map-components/JH2LAQNR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7STL2S65.js → K5RLAVOE.js} +2 -2
- package/dist/arcgis-map-components/K5RLAVOE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/KVBJKG34.js +5 -0
- package/dist/arcgis-map-components/LC54NAV6.js +5 -0
- package/dist/arcgis-map-components/LC54NAV6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LECDZTTM.js +5 -0
- package/dist/arcgis-map-components/LECDZTTM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LWXY3NOM.js +5 -0
- package/dist/arcgis-map-components/LWXY3NOM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LXFKEO5B.js +5 -0
- package/dist/arcgis-map-components/LXFKEO5B.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/MI3RIU2Q.js +5 -0
- package/dist/arcgis-map-components/MI3RIU2Q.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/MIN7QZ4F.js +5 -0
- package/dist/arcgis-map-components/MIN7QZ4F.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/MWDEG6HZ.js +5 -0
- package/dist/arcgis-map-components/MWDEG6HZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/N2FZPAH5.js +5 -0
- package/dist/arcgis-map-components/N2FZPAH5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/NGVCQEU2.js +5 -0
- package/dist/arcgis-map-components/NGVCQEU2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{LDO5JZVV.js → NLGF5THC.js} +2 -2
- package/dist/arcgis-map-components/NLGF5THC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/NQ6G2QIV.js +5 -0
- package/dist/arcgis-map-components/NQ6G2QIV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/NRBXL3KS.js +5 -0
- package/dist/arcgis-map-components/NRBXL3KS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/O6DIAJ7Z.js +5 -0
- package/dist/arcgis-map-components/O6DIAJ7Z.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OR6VGTFE.js +5 -0
- package/dist/arcgis-map-components/OR6VGTFE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2EFS2JCJ.js → PETAVLUH.js} +2 -2
- package/dist/arcgis-map-components/PIIRBQXD.js +5 -0
- package/dist/arcgis-map-components/PIIRBQXD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/PUSN3HFI.js +4 -0
- package/dist/arcgis-map-components/PUSN3HFI.js.LEGAL.txt +0 -0
- package/dist/arcgis-map-components/QMPN3IOR.js +5 -0
- package/dist/arcgis-map-components/QMPN3IOR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/QMRYAN3N.js +5 -0
- package/dist/arcgis-map-components/QMRYAN3N.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/RA4XVZ3J.js +4 -0
- package/dist/arcgis-map-components/RA4XVZ3J.js.LEGAL.txt +0 -0
- package/dist/arcgis-map-components/RAUZT2CQ.js +5 -0
- package/dist/arcgis-map-components/RAUZT2CQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/RN7N3QEF.js +5 -0
- package/dist/arcgis-map-components/RN7N3QEF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ROTPXLNJ.js +5 -0
- package/dist/arcgis-map-components/ROTPXLNJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/RUTKQSRS.js +5 -0
- package/dist/arcgis-map-components/RUTKQSRS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/S3UU4JK4.js +5 -0
- package/dist/arcgis-map-components/S3UU4JK4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{FRLHGR44.js → SFFVO6IW.js} +2 -2
- package/dist/arcgis-map-components/SFFVO6IW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/SMM2ZM3Z.js +5 -0
- package/dist/arcgis-map-components/SMM2ZM3Z.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/TJ3ZIYCU.js +5 -0
- package/dist/arcgis-map-components/TJ3ZIYCU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{PNBCOIZU.js → TOGGQ7TQ.js} +2 -2
- package/dist/arcgis-map-components/U4XIKRFQ.js +5 -0
- package/dist/arcgis-map-components/U4XIKRFQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/U6BMUXG5.js +5 -0
- package/dist/arcgis-map-components/U6BMUXG5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/U7FSOZRJ.js +5 -0
- package/dist/arcgis-map-components/U7FSOZRJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/UA5LBQYQ.js +5 -0
- package/dist/arcgis-map-components/UA5LBQYQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/UR6UHE2M.js +5 -0
- package/dist/arcgis-map-components/UR6UHE2M.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QYDHRWWR.js → UZOLMKYV.js} +2 -2
- package/dist/arcgis-map-components/UZOLMKYV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/V623UBZL.js +5 -0
- package/dist/arcgis-map-components/V623UBZL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/V7D652TQ.js +5 -0
- package/dist/arcgis-map-components/V7D652TQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/V7RL2V6X.js +5 -0
- package/dist/arcgis-map-components/V7RL2V6X.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{LJER3Y2J.js → VFBLEEUY.js} +2 -2
- package/dist/arcgis-map-components/VFBLEEUY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/VGIITJ6Q.js +5 -0
- package/dist/arcgis-map-components/VGIITJ6Q.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/VU3DXNZN.js +5 -0
- package/dist/arcgis-map-components/VU3DXNZN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/W57EDUYU.js +5 -0
- package/dist/arcgis-map-components/W57EDUYU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/WECHDKFE.js +5 -0
- package/dist/arcgis-map-components/WECHDKFE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7FZ5JHSE.js → Y3OBNLWU.js} +2 -2
- package/dist/arcgis-map-components/Y3OBNLWU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YECWNGZ7.js +5 -0
- package/dist/arcgis-map-components/YECWNGZ7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YWCZ4YSY.js +5 -0
- package/dist/arcgis-map-components/YWCZ4YSY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ZDLI2WAT.js +4 -0
- package/dist/arcgis-map-components/ZDLI2WAT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ZFP5MBFV.js +5 -0
- package/dist/arcgis-map-components/ZFP5MBFV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ZRKAKRSP.js +5 -0
- package/dist/arcgis-map-components/ZRKAKRSP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ZUZC5RC7.js +5 -0
- package/dist/arcgis-map-components/ZUZC5RC7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js.LEGAL.txt +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +2 -2
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useT9n.js +2 -2
- package/dist/chunks/useView.js +2 -2
- package/dist/chunks/useViewModel.js +11 -10
- package/dist/chunks/useWidget.js +10 -9
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +4 -7
- package/dist/components/arcgis-area-measurement-3d/customElement.js +2 -2
- package/dist/components/arcgis-attachments/customElement.d.ts +4 -7
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +4 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +2 -2
- package/dist/components/arcgis-bookmarks/customElement.d.ts +4 -7
- package/dist/components/arcgis-bookmarks/customElement.js +3 -3
- package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -7
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -7
- package/dist/components/arcgis-catalog-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-compass/customElement.d.ts +2 -4
- package/dist/components/arcgis-compass/customElement.js +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -7
- package/dist/components/arcgis-coordinate-conversion/customElement.js +2 -2
- package/dist/components/arcgis-daylight/customElement.d.ts +4 -7
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +4 -7
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +4 -7
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +4 -7
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +4 -7
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +4 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +4 -7
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +5 -14
- package/dist/components/arcgis-feature/customElement.js +2 -2
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -7
- package/dist/components/arcgis-feature-form/customElement.js +3 -3
- package/dist/components/arcgis-feature-table/customElement.d.ts +4 -7
- package/dist/components/arcgis-feature-table/customElement.js +3 -3
- package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -7
- package/dist/components/arcgis-feature-templates/customElement.js +3 -3
- package/dist/components/arcgis-features/customElement.d.ts +4 -7
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -7
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +5 -6
- package/dist/components/arcgis-grid-controls/customElement.js +14 -14
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +4 -7
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +2 -4
- package/dist/components/arcgis-home/customElement.js +3 -3
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -16
- package/dist/components/arcgis-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +2 -2
- package/dist/components/arcgis-legend/customElement.d.ts +4 -7
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -7
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.d.ts +3 -9
- package/dist/components/arcgis-link-chart/customElement.js +2 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +3 -3
- package/dist/components/arcgis-locate/customElement.d.ts +2 -4
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +3 -9
- package/dist/components/arcgis-map/customElement.js +2 -2
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -7
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +4 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +6 -9
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +4 -7
- package/dist/components/arcgis-print/customElement.js +3 -3
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -4
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +4 -7
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +3 -9
- package/dist/components/arcgis-scene/customElement.js +2 -2
- package/dist/components/arcgis-search/customElement.d.ts +2 -4
- package/dist/components/arcgis-search/customElement.js +3 -3
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +4 -7
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +4 -7
- package/dist/components/arcgis-sketch/customElement.js +3 -3
- package/dist/components/arcgis-slice/customElement.d.ts +4 -7
- package/dist/components/arcgis-slice/customElement.js +2 -2
- package/dist/components/arcgis-slider/customElement.d.ts +4 -7
- package/dist/components/arcgis-slider/customElement.js +3 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +2 -4
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +11 -8
- package/dist/components/arcgis-table-list/customElement.js +3 -3
- package/dist/components/arcgis-time-slider/customElement.d.ts +4 -7
- package/dist/components/arcgis-time-slider/customElement.js +3 -3
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +2 -2
- package/dist/components/arcgis-track/customElement.d.ts +3 -5
- package/dist/components/arcgis-track/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +4 -7
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +4 -7
- package/dist/components/arcgis-utility-network-trace/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +4 -7
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +4 -7
- package/dist/components/arcgis-value-picker/customElement.js +3 -3
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -5
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +2 -5
- package/dist/components/arcgis-video/customElement.js +2 -2
- package/dist/components/arcgis-video-player/customElement.d.ts +5 -6
- package/dist/components/arcgis-video-player/customElement.js +3 -3
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +2 -4
- package/dist/components/arcgis-weather/customElement.js +3 -3
- package/dist/components/arcgis-zoom/customElement.d.ts +3 -5
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/controllers/createCloseEvent.d.ts +2 -4
- package/dist/controllers/useHandles.d.ts +3 -3
- package/dist/controllers/useT9n.d.ts +1 -1
- package/dist/controllers/useView.d.ts +1 -1
- package/dist/controllers/useViewModel.d.ts +2 -2
- package/dist/controllers/useWidget.d.ts +2 -3
- package/dist/docs/api.json +4 -4
- package/dist/docs/docs.json +8 -8
- package/dist/docs/web-types.json +3 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/utils/component-utils.d.ts +1 -1
- package/package.json +4 -5
- package/dist/arcgis-map-components/35OYOKW7.js +0 -5
- package/dist/arcgis-map-components/3AWRLOIK.js +0 -5
- package/dist/arcgis-map-components/3VYTDBN7.js +0 -5
- package/dist/arcgis-map-components/4EUBDJBY.js +0 -4
- package/dist/arcgis-map-components/4EUBDJBY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4HJJGDVC.js +0 -5
- package/dist/arcgis-map-components/4HJJGDVC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4HTEMHQK.js +0 -5
- package/dist/arcgis-map-components/4HTEMHQK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4PWSAZQ2.js +0 -5
- package/dist/arcgis-map-components/4PWSAZQ2.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7FZ5JHSE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7GJN2SD6.js +0 -5
- package/dist/arcgis-map-components/7GJN2SD6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7STL2S65.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/AAGVAGRV.js +0 -5
- package/dist/arcgis-map-components/AAGVAGRV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/AISYGOI3.js +0 -5
- package/dist/arcgis-map-components/AISYGOI3.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BHLDCJEQ.js +0 -5
- package/dist/arcgis-map-components/BHLDCJEQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BIKSA235.js +0 -5
- package/dist/arcgis-map-components/BIKSA235.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BT4B25EF.js +0 -5
- package/dist/arcgis-map-components/BT4B25EF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BUFC6JAA.js +0 -5
- package/dist/arcgis-map-components/BUFC6JAA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/C4LXTUP3.js +0 -4
- package/dist/arcgis-map-components/C65OTACE.js +0 -5
- package/dist/arcgis-map-components/C65OTACE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CBBGQFGB.js +0 -5
- package/dist/arcgis-map-components/CBBGQFGB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CUWDHCCQ.js +0 -5
- package/dist/arcgis-map-components/CUWDHCCQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DHHFKSKB.js +0 -5
- package/dist/arcgis-map-components/DHHFKSKB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DQITLN5D.js +0 -5
- package/dist/arcgis-map-components/DQITLN5D.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DTCLSRDZ.js +0 -5
- package/dist/arcgis-map-components/DTCLSRDZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DWIVRCAE.js +0 -5
- package/dist/arcgis-map-components/DWIVRCAE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ECXWXN7F.js +0 -5
- package/dist/arcgis-map-components/ECXWXN7F.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ESRVXSMT.js +0 -5
- package/dist/arcgis-map-components/ESRVXSMT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ETKMUROC.js +0 -5
- package/dist/arcgis-map-components/ETKMUROC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/FRLHGR44.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/FT6L5IAQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/G4WK6JB6.js +0 -5
- package/dist/arcgis-map-components/G4WK6JB6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/G6IVFUZF.js +0 -5
- package/dist/arcgis-map-components/G6IVFUZF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GMMIH7C7.js +0 -5
- package/dist/arcgis-map-components/GMMIH7C7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HBMYSZEV.js +0 -5
- package/dist/arcgis-map-components/HBMYSZEV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HWJG4ATU.js +0 -5
- package/dist/arcgis-map-components/HWJG4ATU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IB7N5RMC.js +0 -5
- package/dist/arcgis-map-components/IB7N5RMC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IGXZG2A3.js +0 -5
- package/dist/arcgis-map-components/IGXZG2A3.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IJ6PGYNM.js +0 -5
- package/dist/arcgis-map-components/IJ6PGYNM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IT5VQJGO.js +0 -5
- package/dist/arcgis-map-components/IT5VQJGO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/J7DILXEJ.js +0 -4
- package/dist/arcgis-map-components/J7DILXEJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JC2EA6DD.js +0 -5
- package/dist/arcgis-map-components/JC2EA6DD.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/L57SOSHN.js +0 -5
- package/dist/arcgis-map-components/L57SOSHN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LDAUFGYH.js +0 -5
- package/dist/arcgis-map-components/LDAUFGYH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LDO5JZVV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LJER3Y2J.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MIRJ2CEI.js +0 -5
- package/dist/arcgis-map-components/MIRJ2CEI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MJXJN6VX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MLJHSNMB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MMBZLG2P.js +0 -4
- package/dist/arcgis-map-components/MMBZLG2P.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MNWI6EMD.js +0 -5
- package/dist/arcgis-map-components/MNWI6EMD.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/NYZSUSSH.js +0 -5
- package/dist/arcgis-map-components/NYZSUSSH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/O3632AR5.js +0 -5
- package/dist/arcgis-map-components/O3632AR5.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OZTRIXFV.js +0 -5
- package/dist/arcgis-map-components/OZTRIXFV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/P2D5ITVT.js +0 -5
- package/dist/arcgis-map-components/P2D5ITVT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PA5TLHDQ.js +0 -5
- package/dist/arcgis-map-components/PA5TLHDQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PSIA7D5B.js +0 -5
- package/dist/arcgis-map-components/PSIA7D5B.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PTPHF4IZ.js +0 -5
- package/dist/arcgis-map-components/PTPHF4IZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QYDHRWWR.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ROH65LCN.js +0 -5
- package/dist/arcgis-map-components/ROH65LCN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/RTLOIGRI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/RUCRDFZ7.js +0 -5
- package/dist/arcgis-map-components/RUCRDFZ7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SOQDCRHK.js +0 -5
- package/dist/arcgis-map-components/SOQDCRHK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SRIEL622.js +0 -5
- package/dist/arcgis-map-components/SRIEL622.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SXKU5XKA.js +0 -5
- package/dist/arcgis-map-components/SXKU5XKA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TAGHQEOB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TESTC2J4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TQUQ3PO2.js +0 -5
- package/dist/arcgis-map-components/TQUQ3PO2.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/UFA4E4OY.js +0 -5
- package/dist/arcgis-map-components/UFA4E4OY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/UGGBUJJ5.js +0 -5
- package/dist/arcgis-map-components/UGGBUJJ5.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/UII2Z24Q.js +0 -5
- package/dist/arcgis-map-components/UII2Z24Q.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/UNDBFTAX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/UO57Z2DI.js +0 -5
- package/dist/arcgis-map-components/UO57Z2DI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/V2CAXCLO.js +0 -5
- package/dist/arcgis-map-components/V2CAXCLO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/VHRAM2BN.js +0 -5
- package/dist/arcgis-map-components/VHRAM2BN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/VK52U277.js +0 -5
- package/dist/arcgis-map-components/VK52U277.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/W7YBERR6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WHKIMYEO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WKPHQRWD.js +0 -5
- package/dist/arcgis-map-components/WKPHQRWD.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WUNFYBDO.js +0 -5
- package/dist/arcgis-map-components/WUNFYBDO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XDTV4WVL.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XMAORW3J.js +0 -5
- package/dist/arcgis-map-components/XMAORW3J.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XPVCTCQ6.js +0 -5
- package/dist/arcgis-map-components/XPVCTCQ6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XZQDSCUM.js +0 -6
- package/dist/arcgis-map-components/ZIP3RGSV.js +0 -5
- package/dist/arcgis-map-components/ZIP3RGSV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZL7A2CQE.js +0 -5
- package/dist/arcgis-map-components/ZL7A2CQE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZN3BK6LI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZNPHN2IR.js +0 -5
- package/dist/arcgis-map-components/ZNPHN2IR.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZPES7B3M.js +0 -5
- package/dist/arcgis-map-components/ZPES7B3M.js.LEGAL.txt +0 -3
- /package/dist/arcgis-map-components/{C4LXTUP3.js.LEGAL.txt → KVBJKG34.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{2EFS2JCJ.js.LEGAL.txt → PETAVLUH.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{PNBCOIZU.js.LEGAL.txt → TOGGQ7TQ.js.LEGAL.txt} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as bo}from"./FT6L5IAQ.js";import{a as mo,b as Wt}from"./2EFS2JCJ.js";import"./PNBCOIZU.js";import{a as go}from"./4EUBDJBY.js";import{j as yo}from"./TAGHQEOB.js";import{B as lo,C as co,D as uo,H as ho,I as Ee,J as po,K as be,M as fo,a as Se,b as st,e as no,r as ao,u as io,v as ie,z as so}from"./XZQDSCUM.js";var _0,$$=$arcgis.t(([{isLayerFromCatalog:Ki}])=>{var Xi={hideChildren:"hide-children"};function Ji({exclusive:e,visible:t,visibilityAppearance:r}){let o=r==="checkbox";return t?e?"circle-f":o?"check-square-f":"view-visible":e?"circle":o?"square":"view-hide"}function Qi({connectionStatus:e,publishing:t}){return e?e==="connected"?"beacon":"offline":t?"square":"bullet-point"}function Zi(e){return e?.listMode===Xi.hideChildren}function es(e){let t=(e?.layer&&ts(e.layer)?e.layer.layer:void 0)??e?.layer;return t?t.type==="catalog"?!1:rs(t)??!0:!1}function ts(e){return e!=null&&"layer"in e&&e.layer!=null}function rs(e){let t=os(e);return t!=null&&"supportsDynamicLayers"in t?t.supportsDynamicLayers:void 0}function os(e){return e&&"capabilities"in e&&e.capabilities!=null&&"exportMap"in e.capabilities?e.capabilities.exportMap:void 0}function ns(e){return e?.getAttribute("data-item")}function as(e){let{children:t,error:r}=e,o="incompatible"in e?e.incompatible:!1;return!!t?.filter(n=>!n.hidden).length&&!r&&!o}function is(e){for(let t of e)for(let r of t)if(r.type==="button"||r.type==="toggle")return r}function vo(e,t){let r=e.parent,o=e.layer;if(o?.type!=="map-image"||!o.sourceJSON||!r)return!1;let n=o.sourceJSON.layers;if(!n)return!1;let a=n.find(s=>e.id===s.id),i=t==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return a?.type!==i?!1:n.find(s=>s.id===r.id)?.type==="Catalog Layer"}var z={};var Eo;function ss(){if(Eo)return z;Eo=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),d=Symbol.iterator;function p(y){return y===null||typeof y!="object"?null:(y=d&&y[d]||y["@@iterator"],typeof y=="function"?y:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,T={};function x(y,w,P){this.props=y,this.context=w,this.refs=T,this.updater=P||b}x.prototype.isReactComponent={},x.prototype.setState=function(y,w){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,w,"setState")},x.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function _(){}_.prototype=x.prototype;function v(y,w,P){this.props=y,this.context=w,this.refs=T,this.updater=P||b}var O=v.prototype=new _;O.constructor=v,C(O,x.prototype),O.isPureReactComponent=!0;var k=Array.isArray,X=Object.prototype.hasOwnProperty,L={current:null},Y={key:!0,ref:!0,__self:!0,__source:!0};function W(y,w,P){var H,U={},Q=null,G=null;if(w!=null)for(H in w.ref!==void 0&&(G=w.ref),w.key!==void 0&&(Q=""+w.key),w)X.call(w,H)&&!Y.hasOwnProperty(H)&&(U[H]=w[H]);var Z=arguments.length-2;if(Z===1)U.children=P;else if(1<Z){for(var ee=Array(Z),ce=0;ce<Z;ce++)ee[ce]=arguments[ce+2];U.children=ee}if(y&&y.defaultProps)for(H in Z=y.defaultProps,Z)U[H]===void 0&&(U[H]=Z[H]);return{$$typeof:e,type:y,key:Q,ref:G,props:U,_owner:L.current}}function K(y,w){return{$$typeof:e,type:y.type,key:w,ref:y.ref,props:y.props,_owner:y._owner}}function V(y){return typeof y=="object"&&y!==null&&y.$$typeof===e}function M(y){var w={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(P){return w[P]})}var D=/\/+/g;function q(y,w){return typeof y=="object"&&y!==null&&y.key!=null?M(""+y.key):w.toString(36)}function h(y,w,P,H,U){var Q=typeof y;(Q==="undefined"||Q==="boolean")&&(y=null);var G=!1;if(y===null)G=!0;else switch(Q){case"string":case"number":G=!0;break;case"object":switch(y.$$typeof){case e:case t:G=!0}}if(G)return G=y,U=U(G),y=H===""?"."+q(G,0):H,k(U)?(P="",y!=null&&(P=y.replace(D,"$&/")+"/"),h(U,w,P,"",function(ce){return ce})):U!=null&&(V(U)&&(U=K(U,P+(!U.key||G&&G.key===U.key?"":(""+U.key).replace(D,"$&/")+"/")+y)),w.push(U)),1;if(G=0,H=H===""?".":H+":",k(y))for(var Z=0;Z<y.length;Z++){Q=y[Z];var ee=H+q(Q,Z);G+=h(Q,w,P,ee,U)}else if(ee=p(y),typeof ee=="function")for(y=ee.call(y),Z=0;!(Q=y.next()).done;)Q=Q.value,ee=H+q(Q,Z++),G+=h(Q,w,P,ee,U);else if(Q==="object")throw w=String(y),Error("Objects are not valid as a React child (found: "+(w==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.");return G}function m(y,w,P){if(y==null)return y;var H=[],U=0;return h(y,H,"","",function(Q){return w.call(P,Q,U++)}),H}function S(y){if(y._status===-1){var w=y._result;w=w(),w.then(function(P){(y._status===0||y._status===-1)&&(y._status=1,y._result=P)},function(P){(y._status===0||y._status===-1)&&(y._status=2,y._result=P)}),y._status===-1&&(y._status=0,y._result=w)}if(y._status===1)return y._result.default;throw y._result}var R={current:null},$={transition:null},J={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:$,ReactCurrentOwner:L};function te(){throw Error("act(...) is not supported in production builds of React.")}return z.Children={map:m,forEach:function(y,w,P){m(y,function(){w.apply(this,arguments)},P)},count:function(y){var w=0;return m(y,function(){w++}),w},toArray:function(y){return m(y,function(w){return w})||[]},only:function(y){if(!V(y))throw Error("React.Children.only expected to receive a single React element child.");return y}},z.Component=x,z.Fragment=r,z.Profiler=n,z.PureComponent=v,z.StrictMode=o,z.Suspense=u,z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J,z.act=te,z.cloneElement=function(y,w,P){if(y==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var H=C({},y.props),U=y.key,Q=y.ref,G=y._owner;if(w!=null){if(w.ref!==void 0&&(Q=w.ref,G=L.current),w.key!==void 0&&(U=""+w.key),y.type&&y.type.defaultProps)var Z=y.type.defaultProps;for(ee in w)X.call(w,ee)&&!Y.hasOwnProperty(ee)&&(H[ee]=w[ee]===void 0&&Z!==void 0?Z[ee]:w[ee])}var ee=arguments.length-2;if(ee===1)H.children=P;else if(1<ee){Z=Array(ee);for(var ce=0;ce<ee;ce++)Z[ce]=arguments[ce+2];H.children=Z}return{$$typeof:e,type:y.type,key:U,ref:Q,props:H,_owner:G}},z.createContext=function(y){return y={$$typeof:i,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},y.Provider={$$typeof:a,_context:y},y.Consumer=y},z.createElement=W,z.createFactory=function(y){var w=W.bind(null,y);return w.type=y,w},z.createRef=function(){return{current:null}},z.forwardRef=function(y){return{$$typeof:s,render:y}},z.isValidElement=V,z.lazy=function(y){return{$$typeof:g,_payload:{_status:-1,_result:y},_init:S}},z.memo=function(y,w){return{$$typeof:c,type:y,compare:w===void 0?null:w}},z.startTransition=function(y){var w=$.transition;$.transition={};try{y()}finally{$.transition=w}},z.unstable_act=te,z.useCallback=function(y,w){return R.current.useCallback(y,w)},z.useContext=function(y){return R.current.useContext(y)},z.useDebugValue=function(){},z.useDeferredValue=function(y){return R.current.useDeferredValue(y)},z.useEffect=function(y,w){return R.current.useEffect(y,w)},z.useId=function(){return R.current.useId()},z.useImperativeHandle=function(y,w,P){return R.current.useImperativeHandle(y,w,P)},z.useInsertionEffect=function(y,w){return R.current.useInsertionEffect(y,w)},z.useLayoutEffect=function(y,w){return R.current.useLayoutEffect(y,w)},z.useMemo=function(y,w){return R.current.useMemo(y,w)},z.useReducer=function(y,w,P){return R.current.useReducer(y,w,P)},z.useRef=function(y){return R.current.useRef(y)},z.useState=function(y){return R.current.useState(y)},z.useSyncExternalStore=function(y,w,P){return R.current.useSyncExternalStore(y,w,P)},z.useTransition=function(){return R.current.useTransition()},z.version="18.3.1",z}var _t={exports:{}};_t.exports;var So;function Iy(){return So||(So=1,_t.exports),_t.exports}ss();var ls=Object.defineProperty,Le=(e,t)=>ls(e,"name",{value:t,configurable:!0}),cs=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),{LOGLEVEL:us}=cs,De={trace:1,debug:2,info:3,warn:4,error:5,silent:10},ds=us,Qe=De[ds]||De.info,ne={trace:Le((e,...t)=>{Qe<=De.trace&&console.trace(e,...t)},"trace"),debug:Le((e,...t)=>{Qe<=De.debug&&console.debug(e,...t)},"debug"),info:Le((e,...t)=>{Qe<=De.info&&console.info(e,...t)},"info"),warn:Le((e,...t)=>{Qe<=De.warn&&console.warn(e,...t)},"warn"),error:Le((e,...t)=>{Qe<=De.error&&console.error(e,...t)},"error"),log:Le((e,...t)=>{Qe<De.silent&&console.log(e,...t)},"log")},or=new Set,ue=Le(e=>(t,...r)=>{if(!or.has(t))return or.add(t),ne[e](t,...r)},"once");ue.clear=()=>or.clear();ue.trace=ue("trace");ue.debug=ue("debug");ue.info=ue("info");ue.warn=ue("warn");ue.error=ue("error");ue.log=ue("log");var dt=ue("warn"),Re=Le(e=>(...t)=>{let r=[];if(t.length){let o=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,n=/<\/span>/gi,a;for(r.push(t[0].replace(o,"%c").replace(n,"%c"));a=o.exec(t[0]);)r.push(a[2]),r.push("");for(let i=1;i<t.length;i++)r.push(t[i])}ne[e].apply(ne,r)},"pretty");Re.trace=Re("trace");Re.debug=Re("debug");Re.info=Re("info");Re.warn=Re("warn");Re.error=Re("error");var _r=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",e.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",e.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",e.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",e))(_r||{}),hs=_r,{CHANNEL_WS_DISCONNECT:Ko,CHANNEL_CREATED:ps,CONFIG_ERROR:Xo,CREATE_NEW_STORYFILE_REQUEST:fs,CREATE_NEW_STORYFILE_RESPONSE:ys,CURRENT_STORY_WAS_SET:nr,DOCS_PREPARED:Jo,DOCS_RENDERED:Ir,FILE_COMPONENT_SEARCH_REQUEST:gs,FILE_COMPONENT_SEARCH_RESPONSE:ms,FORCE_RE_RENDER:Rr,FORCE_REMOUNT:Qo,GLOBALS_UPDATED:ht,NAVIGATE_URL:bs,PLAY_FUNCTION_THREW_EXCEPTION:Zo,UNHANDLED_ERRORS_WHILE_PLAYING:en,PRELOAD_ENTRIES:tn,PREVIEW_BUILDER_PROGRESS:vs,PREVIEW_KEYDOWN:rn,REGISTER_SUBSCRIPTION:Es,RESET_STORY_ARGS:Ar,SELECT_STORY:Ss,SET_CONFIG:ws,SET_CURRENT_STORY:on,SET_FILTER:Cs,SET_GLOBALS:nn,SET_INDEX:Ts,SET_STORIES:_s,SHARED_STATE_CHANGED:Is,SHARED_STATE_SET:Rs,STORIES_COLLAPSE_ALL:As,STORIES_EXPAND_ALL:Os,STORY_ARGS_UPDATED:an,STORY_CHANGED:sn,STORY_ERRORED:ln,STORY_INDEX_INVALIDATED:cn,STORY_MISSING:ar,STORY_PREPARED:un,STORY_RENDER_PHASE_CHANGED:pt,STORY_RENDERED:At,STORY_FINISHED:ir,STORY_SPECIFIED:dn,STORY_THREW_EXCEPTION:hn,STORY_UNCHANGED:pn,UPDATE_GLOBALS:Or,UPDATE_QUERY_PARAMS:fn,UPDATE_STORY_ARGS:xr,REQUEST_WHATS_NEW_DATA:xs,RESULT_WHATS_NEW_DATA:$s,SET_WHATS_NEW_CACHE:Ns,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ps,TELEMETRY_ERROR:Ls,SAVE_STORY_REQUEST:Ds,SAVE_STORY_RESPONSE:ks,ARGTYPES_INFO_REQUEST:yn,ARGTYPES_INFO_RESPONSE:sr,TESTING_MODULE_CRASH_REPORT:Ms,TESTING_MODULE_PROGRESS_REPORT:Fs,TESTING_MODULE_RUN_REQUEST:js,TESTING_MODULE_RUN_ALL_REQUEST:qs,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Us,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Gs}=_r,Hs=Object.freeze(Object.defineProperty({__proto__:null,ARGTYPES_INFO_REQUEST:yn,ARGTYPES_INFO_RESPONSE:sr,CHANNEL_CREATED:ps,CHANNEL_WS_DISCONNECT:Ko,CONFIG_ERROR:Xo,CREATE_NEW_STORYFILE_REQUEST:fs,CREATE_NEW_STORYFILE_RESPONSE:ys,CURRENT_STORY_WAS_SET:nr,DOCS_PREPARED:Jo,DOCS_RENDERED:Ir,FILE_COMPONENT_SEARCH_REQUEST:gs,FILE_COMPONENT_SEARCH_RESPONSE:ms,FORCE_REMOUNT:Qo,FORCE_RE_RENDER:Rr,GLOBALS_UPDATED:ht,NAVIGATE_URL:bs,PLAY_FUNCTION_THREW_EXCEPTION:Zo,PRELOAD_ENTRIES:tn,PREVIEW_BUILDER_PROGRESS:vs,PREVIEW_KEYDOWN:rn,REGISTER_SUBSCRIPTION:Es,REQUEST_WHATS_NEW_DATA:xs,RESET_STORY_ARGS:Ar,RESULT_WHATS_NEW_DATA:$s,SAVE_STORY_REQUEST:Ds,SAVE_STORY_RESPONSE:ks,SELECT_STORY:Ss,SET_CONFIG:ws,SET_CURRENT_STORY:on,SET_FILTER:Cs,SET_GLOBALS:nn,SET_INDEX:Ts,SET_STORIES:_s,SET_WHATS_NEW_CACHE:Ns,SHARED_STATE_CHANGED:Is,SHARED_STATE_SET:Rs,STORIES_COLLAPSE_ALL:As,STORIES_EXPAND_ALL:Os,STORY_ARGS_UPDATED:an,STORY_CHANGED:sn,STORY_ERRORED:ln,STORY_FINISHED:ir,STORY_INDEX_INVALIDATED:cn,STORY_MISSING:ar,STORY_PREPARED:un,STORY_RENDERED:At,STORY_RENDER_PHASE_CHANGED:pt,STORY_SPECIFIED:dn,STORY_THREW_EXCEPTION:hn,STORY_UNCHANGED:pn,TELEMETRY_ERROR:Ls,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Us,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Gs,TESTING_MODULE_CRASH_REPORT:Ms,TESTING_MODULE_PROGRESS_REPORT:Fs,TESTING_MODULE_RUN_ALL_REQUEST:qs,TESTING_MODULE_RUN_REQUEST:js,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ps,UNHANDLED_ERRORS_WHILE_PLAYING:en,UPDATE_GLOBALS:Or,UPDATE_QUERY_PARAMS:fn,UPDATE_STORY_ARGS:xr,default:hs},Symbol.toStringTag,{value:"Module"})),Vs=Object.create,$r=Object.defineProperty,zs=Object.getOwnPropertyDescriptor,Ws=Object.getOwnPropertyNames,Bs=Object.getPrototypeOf,Ys=Object.prototype.hasOwnProperty,E=(e,t)=>$r(e,"name",{value:t,configurable:!0}),St=(e=>typeof Se<"u"?Se:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Se<"u"?Se:t)[r]}):e)(function(e){if(typeof Se<"u")return Se.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ks=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Xs=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ws(t))!Ys.call(e,n)&&n!==r&&$r(e,n,{get:()=>t[n],enumerable:!(o=zs(t,n))||o.enumerable});return e},Js=(e,t,r)=>(r=e!=null?Vs(Bs(e)):{},Xs($r(r,"default",{value:e,enumerable:!0}),e)),Qs=Ks((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var o;typeof window<"u"?o=window:typeof global<"u"?o=global:typeof self<"u"?o=self:o=this,o.memoizerific=r()}})(function(){return E(function r(o,n,a){function i(c,g){if(!n[c]){if(!o[c]){var d=typeof St=="function"&&St;if(!g&&d)return d(c,!0);if(s)return s(c,!0);var p=new Error("Cannot find module '"+c+"'");throw p.code="MODULE_NOT_FOUND",p}var b=n[c]={exports:{}};o[c][0].call(b.exports,function(C){var T=o[c][1][C];return i(T||C)},b,b.exports,r,o,n,a)}return n[c].exports}E(i,"s");for(var s=typeof St=="function"&&St,u=0;u<a.length;u++)i(a[u]);return i},"e")({1:[function(r,o,n){o.exports=function(a){if(typeof Map!="function"||a){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,o,n){function a(){return this.list=[],this.lastItem=void 0,this.size=0,this}E(a,"Similar"),a.prototype.get=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(s=this.indexOf(i),s>=0)return this.lastItem=this.list[s],this.list[s].val},a.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},a.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},a.prototype.forEach=function(i,s){var u;for(u=0;u<this.size;u++)i.call(s||this,this.list[u].val,this.list[u].key,this)},a.prototype.indexOf=function(i){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,i))return s;return-1},a.prototype.isEqual=function(i,s){return i===s||i!==i&&s!==s},o.exports=a},{}],3:[function(r,o,n){var a=r("map-or-similar");o.exports=function(c){var g=new a(!1),d=[];return function(p){var b=E(function(){var C=g,T,x,_=arguments.length-1,v=Array(_+1),O=!0,k;if((b.numArgs||b.numArgs===0)&&b.numArgs!==_+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(k=0;k<_;k++){if(v[k]={cacheItem:C,arg:arguments[k]},C.has(arguments[k])){C=C.get(arguments[k]);continue}O=!1,T=new a(!1),C.set(arguments[k],T),C=T}return O&&(C.has(arguments[_])?x=C.get(arguments[_]):O=!1),O||(x=p.apply(null,arguments),C.set(arguments[_],x)),c>0&&(v[_]={cacheItem:C,arg:arguments[_]},O?i(d,v):d.push(v),d.length>c&&s(d.shift())),b.wasMemoized=O,b.numArgs=_+1,x},"memoizerific");return b.limit=c,b.wasMemoized=!1,b.cache=g,b.lru=d,b}};function i(c,g){var d=c.length,p=g.length,b,C,T;for(C=0;C<d;C++){for(b=!0,T=0;T<p;T++)if(!u(c[C][T].arg,g[T].arg)){b=!1;break}if(b)break}c.push(c.splice(C,1)[0])}E(i,"moveToMostRecentLru");function s(c){var g=c.length,d=c[g-1],p,b;for(d.cacheItem.delete(d.arg),b=g-2;b>=0&&(d=c[b],p=d.cacheItem.get(d.arg),!p||!p.size);b--)d.cacheItem.delete(d.arg)}E(s,"removeCachedResult");function u(c,g){return c===g||c!==c&&g!==g}E(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),se=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();function qe(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var o=Array.from(typeof e=="string"?[e]:e);o[o.length-1]=o[o.length-1].replace(/\r?\n([\t ]*)$/,"");var n=o.reduce(function(s,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(g){var d,p;return(p=(d=g.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&p!==void 0?p:0})):s},[]);if(n.length){var a=new RegExp(`
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{a as bo}from"./4KDGV4NL.js";import{a as mo,b as Wt}from"./PETAVLUH.js";import"./TOGGQ7TQ.js";import{a as go}from"./ZDLI2WAT.js";import{d as fo}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import{j as yo}from"./IX5XNRLV.js";import{A as ao,B as ie,F as io,H as so,I as lo,J as co,M as uo,N as Ee,O as ho,P as be,R as po,a as Se,b as st,i as no}from"./2NRQMV3A.js";var _0,$$=$arcgis.t(([{isLayerFromCatalog:Ki}])=>{var Xi={hideChildren:"hide-children"};function Ji({exclusive:e,visible:t,visibilityAppearance:r}){let o=r==="checkbox";return t?e?"circle-f":o?"check-square-f":"view-visible":e?"circle":o?"square":"view-hide"}function Qi({connectionStatus:e,publishing:t}){return e?e==="connected"?"beacon":"offline":t?"square":"bullet-point"}function Zi(e){return e?.listMode===Xi.hideChildren}function es(e){let t=(e?.layer&&ts(e.layer)?e.layer.layer:void 0)??e?.layer;return t?t.type==="catalog"?!1:rs(t)??!0:!1}function ts(e){return e!=null&&"layer"in e&&e.layer!=null}function rs(e){let t=os(e);return t!=null&&"supportsDynamicLayers"in t?t.supportsDynamicLayers:void 0}function os(e){return e&&"capabilities"in e&&e.capabilities!=null&&"exportMap"in e.capabilities?e.capabilities.exportMap:void 0}function ns(e){return e?.getAttribute("data-item")}function as(e){let{children:t,error:r}=e,o="incompatible"in e?e.incompatible:!1;return!!t?.filter(n=>!n.hidden).length&&!r&&!o}function is(e){for(let t of e)for(let r of t)if(r.type==="button"||r.type==="toggle")return r}function vo(e,t){let r=e.parent,o=e.layer;if(o?.type!=="map-image"||!o.sourceJSON||!r)return!1;let n=o.sourceJSON.layers;if(!n)return!1;let a=n.find(s=>e.id===s.id),i=t==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return a?.type!==i?!1:n.find(s=>s.id===r.id)?.type==="Catalog Layer"}var z={};var Eo;function ss(){if(Eo)return z;Eo=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),d=Symbol.iterator;function p(y){return y===null||typeof y!="object"?null:(y=d&&y[d]||y["@@iterator"],typeof y=="function"?y:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,T={};function x(y,w,P){this.props=y,this.context=w,this.refs=T,this.updater=P||b}x.prototype.isReactComponent={},x.prototype.setState=function(y,w){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,w,"setState")},x.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function _(){}_.prototype=x.prototype;function v(y,w,P){this.props=y,this.context=w,this.refs=T,this.updater=P||b}var O=v.prototype=new _;O.constructor=v,C(O,x.prototype),O.isPureReactComponent=!0;var k=Array.isArray,X=Object.prototype.hasOwnProperty,L={current:null},Y={key:!0,ref:!0,__self:!0,__source:!0};function W(y,w,P){var H,U={},Q=null,G=null;if(w!=null)for(H in w.ref!==void 0&&(G=w.ref),w.key!==void 0&&(Q=""+w.key),w)X.call(w,H)&&!Y.hasOwnProperty(H)&&(U[H]=w[H]);var Z=arguments.length-2;if(Z===1)U.children=P;else if(1<Z){for(var ee=Array(Z),ce=0;ce<Z;ce++)ee[ce]=arguments[ce+2];U.children=ee}if(y&&y.defaultProps)for(H in Z=y.defaultProps,Z)U[H]===void 0&&(U[H]=Z[H]);return{$$typeof:e,type:y,key:Q,ref:G,props:U,_owner:L.current}}function K(y,w){return{$$typeof:e,type:y.type,key:w,ref:y.ref,props:y.props,_owner:y._owner}}function V(y){return typeof y=="object"&&y!==null&&y.$$typeof===e}function M(y){var w={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(P){return w[P]})}var D=/\/+/g;function q(y,w){return typeof y=="object"&&y!==null&&y.key!=null?M(""+y.key):w.toString(36)}function h(y,w,P,H,U){var Q=typeof y;(Q==="undefined"||Q==="boolean")&&(y=null);var G=!1;if(y===null)G=!0;else switch(Q){case"string":case"number":G=!0;break;case"object":switch(y.$$typeof){case e:case t:G=!0}}if(G)return G=y,U=U(G),y=H===""?"."+q(G,0):H,k(U)?(P="",y!=null&&(P=y.replace(D,"$&/")+"/"),h(U,w,P,"",function(ce){return ce})):U!=null&&(V(U)&&(U=K(U,P+(!U.key||G&&G.key===U.key?"":(""+U.key).replace(D,"$&/")+"/")+y)),w.push(U)),1;if(G=0,H=H===""?".":H+":",k(y))for(var Z=0;Z<y.length;Z++){Q=y[Z];var ee=H+q(Q,Z);G+=h(Q,w,P,ee,U)}else if(ee=p(y),typeof ee=="function")for(y=ee.call(y),Z=0;!(Q=y.next()).done;)Q=Q.value,ee=H+q(Q,Z++),G+=h(Q,w,P,ee,U);else if(Q==="object")throw w=String(y),Error("Objects are not valid as a React child (found: "+(w==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.");return G}function m(y,w,P){if(y==null)return y;var H=[],U=0;return h(y,H,"","",function(Q){return w.call(P,Q,U++)}),H}function S(y){if(y._status===-1){var w=y._result;w=w(),w.then(function(P){(y._status===0||y._status===-1)&&(y._status=1,y._result=P)},function(P){(y._status===0||y._status===-1)&&(y._status=2,y._result=P)}),y._status===-1&&(y._status=0,y._result=w)}if(y._status===1)return y._result.default;throw y._result}var R={current:null},$={transition:null},J={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:$,ReactCurrentOwner:L};function te(){throw Error("act(...) is not supported in production builds of React.")}return z.Children={map:m,forEach:function(y,w,P){m(y,function(){w.apply(this,arguments)},P)},count:function(y){var w=0;return m(y,function(){w++}),w},toArray:function(y){return m(y,function(w){return w})||[]},only:function(y){if(!V(y))throw Error("React.Children.only expected to receive a single React element child.");return y}},z.Component=x,z.Fragment=r,z.Profiler=n,z.PureComponent=v,z.StrictMode=o,z.Suspense=u,z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J,z.act=te,z.cloneElement=function(y,w,P){if(y==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var H=C({},y.props),U=y.key,Q=y.ref,G=y._owner;if(w!=null){if(w.ref!==void 0&&(Q=w.ref,G=L.current),w.key!==void 0&&(U=""+w.key),y.type&&y.type.defaultProps)var Z=y.type.defaultProps;for(ee in w)X.call(w,ee)&&!Y.hasOwnProperty(ee)&&(H[ee]=w[ee]===void 0&&Z!==void 0?Z[ee]:w[ee])}var ee=arguments.length-2;if(ee===1)H.children=P;else if(1<ee){Z=Array(ee);for(var ce=0;ce<ee;ce++)Z[ce]=arguments[ce+2];H.children=Z}return{$$typeof:e,type:y.type,key:U,ref:Q,props:H,_owner:G}},z.createContext=function(y){return y={$$typeof:i,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},y.Provider={$$typeof:a,_context:y},y.Consumer=y},z.createElement=W,z.createFactory=function(y){var w=W.bind(null,y);return w.type=y,w},z.createRef=function(){return{current:null}},z.forwardRef=function(y){return{$$typeof:s,render:y}},z.isValidElement=V,z.lazy=function(y){return{$$typeof:g,_payload:{_status:-1,_result:y},_init:S}},z.memo=function(y,w){return{$$typeof:c,type:y,compare:w===void 0?null:w}},z.startTransition=function(y){var w=$.transition;$.transition={};try{y()}finally{$.transition=w}},z.unstable_act=te,z.useCallback=function(y,w){return R.current.useCallback(y,w)},z.useContext=function(y){return R.current.useContext(y)},z.useDebugValue=function(){},z.useDeferredValue=function(y){return R.current.useDeferredValue(y)},z.useEffect=function(y,w){return R.current.useEffect(y,w)},z.useId=function(){return R.current.useId()},z.useImperativeHandle=function(y,w,P){return R.current.useImperativeHandle(y,w,P)},z.useInsertionEffect=function(y,w){return R.current.useInsertionEffect(y,w)},z.useLayoutEffect=function(y,w){return R.current.useLayoutEffect(y,w)},z.useMemo=function(y,w){return R.current.useMemo(y,w)},z.useReducer=function(y,w,P){return R.current.useReducer(y,w,P)},z.useRef=function(y){return R.current.useRef(y)},z.useState=function(y){return R.current.useState(y)},z.useSyncExternalStore=function(y,w,P){return R.current.useSyncExternalStore(y,w,P)},z.useTransition=function(){return R.current.useTransition()},z.version="18.3.1",z}var _t={exports:{}};_t.exports;var So;function Iy(){return So||(So=1,_t.exports),_t.exports}ss();var ls=Object.defineProperty,Le=(e,t)=>ls(e,"name",{value:t,configurable:!0}),cs=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),{LOGLEVEL:us}=cs,De={trace:1,debug:2,info:3,warn:4,error:5,silent:10},ds=us,Qe=De[ds]||De.info,ne={trace:Le((e,...t)=>{Qe<=De.trace&&console.trace(e,...t)},"trace"),debug:Le((e,...t)=>{Qe<=De.debug&&console.debug(e,...t)},"debug"),info:Le((e,...t)=>{Qe<=De.info&&console.info(e,...t)},"info"),warn:Le((e,...t)=>{Qe<=De.warn&&console.warn(e,...t)},"warn"),error:Le((e,...t)=>{Qe<=De.error&&console.error(e,...t)},"error"),log:Le((e,...t)=>{Qe<De.silent&&console.log(e,...t)},"log")},or=new Set,ue=Le(e=>(t,...r)=>{if(!or.has(t))return or.add(t),ne[e](t,...r)},"once");ue.clear=()=>or.clear();ue.trace=ue("trace");ue.debug=ue("debug");ue.info=ue("info");ue.warn=ue("warn");ue.error=ue("error");ue.log=ue("log");var dt=ue("warn"),Re=Le(e=>(...t)=>{let r=[];if(t.length){let o=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,n=/<\/span>/gi,a;for(r.push(t[0].replace(o,"%c").replace(n,"%c"));a=o.exec(t[0]);)r.push(a[2]),r.push("");for(let i=1;i<t.length;i++)r.push(t[i])}ne[e].apply(ne,r)},"pretty");Re.trace=Re("trace");Re.debug=Re("debug");Re.info=Re("info");Re.warn=Re("warn");Re.error=Re("error");var _r=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",e.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",e.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",e.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",e))(_r||{}),hs=_r,{CHANNEL_WS_DISCONNECT:Ko,CHANNEL_CREATED:ps,CONFIG_ERROR:Xo,CREATE_NEW_STORYFILE_REQUEST:fs,CREATE_NEW_STORYFILE_RESPONSE:ys,CURRENT_STORY_WAS_SET:nr,DOCS_PREPARED:Jo,DOCS_RENDERED:Ir,FILE_COMPONENT_SEARCH_REQUEST:gs,FILE_COMPONENT_SEARCH_RESPONSE:ms,FORCE_RE_RENDER:Rr,FORCE_REMOUNT:Qo,GLOBALS_UPDATED:ht,NAVIGATE_URL:bs,PLAY_FUNCTION_THREW_EXCEPTION:Zo,UNHANDLED_ERRORS_WHILE_PLAYING:en,PRELOAD_ENTRIES:tn,PREVIEW_BUILDER_PROGRESS:vs,PREVIEW_KEYDOWN:rn,REGISTER_SUBSCRIPTION:Es,RESET_STORY_ARGS:Ar,SELECT_STORY:Ss,SET_CONFIG:ws,SET_CURRENT_STORY:on,SET_FILTER:Cs,SET_GLOBALS:nn,SET_INDEX:Ts,SET_STORIES:_s,SHARED_STATE_CHANGED:Is,SHARED_STATE_SET:Rs,STORIES_COLLAPSE_ALL:As,STORIES_EXPAND_ALL:Os,STORY_ARGS_UPDATED:an,STORY_CHANGED:sn,STORY_ERRORED:ln,STORY_INDEX_INVALIDATED:cn,STORY_MISSING:ar,STORY_PREPARED:un,STORY_RENDER_PHASE_CHANGED:pt,STORY_RENDERED:At,STORY_FINISHED:ir,STORY_SPECIFIED:dn,STORY_THREW_EXCEPTION:hn,STORY_UNCHANGED:pn,UPDATE_GLOBALS:Or,UPDATE_QUERY_PARAMS:fn,UPDATE_STORY_ARGS:xr,REQUEST_WHATS_NEW_DATA:xs,RESULT_WHATS_NEW_DATA:$s,SET_WHATS_NEW_CACHE:Ns,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ps,TELEMETRY_ERROR:Ls,SAVE_STORY_REQUEST:Ds,SAVE_STORY_RESPONSE:ks,ARGTYPES_INFO_REQUEST:yn,ARGTYPES_INFO_RESPONSE:sr,TESTING_MODULE_CRASH_REPORT:Ms,TESTING_MODULE_PROGRESS_REPORT:Fs,TESTING_MODULE_RUN_REQUEST:js,TESTING_MODULE_RUN_ALL_REQUEST:qs,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Us,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Gs}=_r,Hs=Object.freeze(Object.defineProperty({__proto__:null,ARGTYPES_INFO_REQUEST:yn,ARGTYPES_INFO_RESPONSE:sr,CHANNEL_CREATED:ps,CHANNEL_WS_DISCONNECT:Ko,CONFIG_ERROR:Xo,CREATE_NEW_STORYFILE_REQUEST:fs,CREATE_NEW_STORYFILE_RESPONSE:ys,CURRENT_STORY_WAS_SET:nr,DOCS_PREPARED:Jo,DOCS_RENDERED:Ir,FILE_COMPONENT_SEARCH_REQUEST:gs,FILE_COMPONENT_SEARCH_RESPONSE:ms,FORCE_REMOUNT:Qo,FORCE_RE_RENDER:Rr,GLOBALS_UPDATED:ht,NAVIGATE_URL:bs,PLAY_FUNCTION_THREW_EXCEPTION:Zo,PRELOAD_ENTRIES:tn,PREVIEW_BUILDER_PROGRESS:vs,PREVIEW_KEYDOWN:rn,REGISTER_SUBSCRIPTION:Es,REQUEST_WHATS_NEW_DATA:xs,RESET_STORY_ARGS:Ar,RESULT_WHATS_NEW_DATA:$s,SAVE_STORY_REQUEST:Ds,SAVE_STORY_RESPONSE:ks,SELECT_STORY:Ss,SET_CONFIG:ws,SET_CURRENT_STORY:on,SET_FILTER:Cs,SET_GLOBALS:nn,SET_INDEX:Ts,SET_STORIES:_s,SET_WHATS_NEW_CACHE:Ns,SHARED_STATE_CHANGED:Is,SHARED_STATE_SET:Rs,STORIES_COLLAPSE_ALL:As,STORIES_EXPAND_ALL:Os,STORY_ARGS_UPDATED:an,STORY_CHANGED:sn,STORY_ERRORED:ln,STORY_FINISHED:ir,STORY_INDEX_INVALIDATED:cn,STORY_MISSING:ar,STORY_PREPARED:un,STORY_RENDERED:At,STORY_RENDER_PHASE_CHANGED:pt,STORY_SPECIFIED:dn,STORY_THREW_EXCEPTION:hn,STORY_UNCHANGED:pn,TELEMETRY_ERROR:Ls,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Us,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Gs,TESTING_MODULE_CRASH_REPORT:Ms,TESTING_MODULE_PROGRESS_REPORT:Fs,TESTING_MODULE_RUN_ALL_REQUEST:qs,TESTING_MODULE_RUN_REQUEST:js,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ps,UNHANDLED_ERRORS_WHILE_PLAYING:en,UPDATE_GLOBALS:Or,UPDATE_QUERY_PARAMS:fn,UPDATE_STORY_ARGS:xr,default:hs},Symbol.toStringTag,{value:"Module"})),Vs=Object.create,$r=Object.defineProperty,zs=Object.getOwnPropertyDescriptor,Ws=Object.getOwnPropertyNames,Bs=Object.getPrototypeOf,Ys=Object.prototype.hasOwnProperty,E=(e,t)=>$r(e,"name",{value:t,configurable:!0}),St=(e=>typeof Se<"u"?Se:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Se<"u"?Se:t)[r]}):e)(function(e){if(typeof Se<"u")return Se.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ks=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Xs=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ws(t))!Ys.call(e,n)&&n!==r&&$r(e,n,{get:()=>t[n],enumerable:!(o=zs(t,n))||o.enumerable});return e},Js=(e,t,r)=>(r=e!=null?Vs(Bs(e)):{},Xs($r(r,"default",{value:e,enumerable:!0}),e)),Qs=Ks((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var o;typeof window<"u"?o=window:typeof global<"u"?o=global:typeof self<"u"?o=self:o=this,o.memoizerific=r()}})(function(){return E(function r(o,n,a){function i(c,g){if(!n[c]){if(!o[c]){var d=typeof St=="function"&&St;if(!g&&d)return d(c,!0);if(s)return s(c,!0);var p=new Error("Cannot find module '"+c+"'");throw p.code="MODULE_NOT_FOUND",p}var b=n[c]={exports:{}};o[c][0].call(b.exports,function(C){var T=o[c][1][C];return i(T||C)},b,b.exports,r,o,n,a)}return n[c].exports}E(i,"s");for(var s=typeof St=="function"&&St,u=0;u<a.length;u++)i(a[u]);return i},"e")({1:[function(r,o,n){o.exports=function(a){if(typeof Map!="function"||a){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,o,n){function a(){return this.list=[],this.lastItem=void 0,this.size=0,this}E(a,"Similar"),a.prototype.get=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(s=this.indexOf(i),s>=0)return this.lastItem=this.list[s],this.list[s].val},a.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},a.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},a.prototype.forEach=function(i,s){var u;for(u=0;u<this.size;u++)i.call(s||this,this.list[u].val,this.list[u].key,this)},a.prototype.indexOf=function(i){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,i))return s;return-1},a.prototype.isEqual=function(i,s){return i===s||i!==i&&s!==s},o.exports=a},{}],3:[function(r,o,n){var a=r("map-or-similar");o.exports=function(c){var g=new a(!1),d=[];return function(p){var b=E(function(){var C=g,T,x,_=arguments.length-1,v=Array(_+1),O=!0,k;if((b.numArgs||b.numArgs===0)&&b.numArgs!==_+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(k=0;k<_;k++){if(v[k]={cacheItem:C,arg:arguments[k]},C.has(arguments[k])){C=C.get(arguments[k]);continue}O=!1,T=new a(!1),C.set(arguments[k],T),C=T}return O&&(C.has(arguments[_])?x=C.get(arguments[_]):O=!1),O||(x=p.apply(null,arguments),C.set(arguments[_],x)),c>0&&(v[_]={cacheItem:C,arg:arguments[_]},O?i(d,v):d.push(v),d.length>c&&s(d.shift())),b.wasMemoized=O,b.numArgs=_+1,x},"memoizerific");return b.limit=c,b.wasMemoized=!1,b.cache=g,b.lru=d,b}};function i(c,g){var d=c.length,p=g.length,b,C,T;for(C=0;C<d;C++){for(b=!0,T=0;T<p;T++)if(!u(c[C][T].arg,g[T].arg)){b=!1;break}if(b)break}c.push(c.splice(C,1)[0])}E(i,"moveToMostRecentLru");function s(c){var g=c.length,d=c[g-1],p,b;for(d.cacheItem.delete(d.arg),b=g-2;b>=0&&(d=c[b],p=d.cacheItem.get(d.arg),!p||!p.size);b--)d.cacheItem.delete(d.arg)}E(s,"removeCachedResult");function u(c,g){return c===g||c!==c&&g!==g}E(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),se=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();function qe(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var o=Array.from(typeof e=="string"?[e]:e);o[o.length-1]=o[o.length-1].replace(/\r?\n([\t ]*)$/,"");var n=o.reduce(function(s,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(g){var d,p;return(p=(d=g.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&p!==void 0?p:0})):s},[]);if(n.length){var a=new RegExp(`
|
|
5
5
|
[ ]{`+Math.min.apply(Math,n)+"}","g");o=o.map(function(s){return s.replace(a,`
|
|
6
6
|
`)})}o[0]=o[0].replace(/^\r?\n/,"");var i=o[0];return t.forEach(function(s,u){var c=i.match(/(?:^|\n)( *)$/),g=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
|
7
7
|
`)&&(d=String(s).split(`
|
|
@@ -223,8 +223,8 @@ ${O.description}`)},"showError"),showException:l(O=>{throw O},"showException"),f
|
|
|
223
223
|
`)})}o[0]=o[0].replace(/^\r?\n/,"");var i=o[0];return t.forEach(function(s,u){var c=i.match(/(?:^|\n)( *)$/),g=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
|
224
224
|
`)&&(d=String(s).split(`
|
|
225
225
|
`).map(function(p,b){return b===0?p:""+g+p}).join(`
|
|
226
|
-
`)),i+=d+o[u+1]}),i}var Fh=Object.defineProperty,jh=(e,t)=>{for(var r in t)Fh(e,r,{get:t[r],enumerable:!0})},qh={};jh(qh,{parameters:()=>Vh,render:()=>Gh,renderToCanvas:()=>Hh});var{Node:Uh}=Zr,Gh=(e,t)=>{let{id:r,component:o}=t;if(!o)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);let n=document.createElement(o);return Object.entries(e).forEach(([a,i])=>{n[a]=i}),n};function Hh({storyFn:e,kind:t,name:r,showMain:o,showError:n,forceRemount:a},i){let s=e();if(o(),
|
|
226
|
+
`)),i+=d+o[u+1]}),i}var Fh=Object.defineProperty,jh=(e,t)=>{for(var r in t)Fh(e,r,{get:t[r],enumerable:!0})},qh={};jh(qh,{parameters:()=>Vh,render:()=>Gh,renderToCanvas:()=>Hh});var{Node:Uh}=Zr,Gh=(e,t)=>{let{id:r,component:o}=t;if(!o)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);let n=document.createElement(o);return Object.entries(e).forEach(([a,i])=>{n[a]=i}),n};function Hh({storyFn:e,kind:t,name:r,showMain:o,showError:n,forceRemount:a},i){let s=e();if(o(),co(s)){(a||!i.querySelector('[id="root-inner"]'))&&(i.innerHTML='<div id="root-inner"></div>');let u=i.querySelector('[id="root-inner"]');io(s,u),Sr(i)}else if(typeof s=="string")i.innerHTML=s,Sr(i);else if(s instanceof Uh){if(i.firstChild===s&&!a)return;i.innerHTML="",i.appendChild(s),Dt()}else n({title:`Expecting an HTML snippet or DOM node from the story: "${r}" of "${t}".`,description:Mh`
|
|
227
227
|
Did you forget to return the HTML snippet from the story?
|
|
228
228
|
Use "() => <your snippet or node>" or when defining the story.
|
|
229
|
-
`})}var Vh={renderer:"web-components"},{window:zh}=Zr;zh.STORYBOOK_ENV="web-components";var{window:Wh,EventSource:Bh}=Zr;typeof module<"u"&&module?.hot?.decline&&(module.hot.decline(),new Bh("__webpack_hmr").addEventListener("message",function(e){try{let{action:t}=JSON.parse(e.data);t==="built"&&Wh.location.reload()}catch{}}));var Yh=new Set(["componentName","view","itemId","mapItemId","sceneItemId"]),Cr=class extends co{update(t,r){let[o]=r,n=t;Object.entries(o).forEach(([a,i])=>{if(Yh.has(a))return;let s=no(a);i==="false"||i===!1?n.element.removeAttribute(s):n.element.setAttribute(s,String(i))})}};lo(Cr);var Bo=mo;function Yo(e){if(e.icon)return e.icon;if(!("image"in e&&e.image)&&!e.className)return"question"}function Kh(e){return e?{backgroundImage:`url(${e})`}:{}}var Tr=class extends ho{constructor(){super(...arguments),this._itemRef=Bo(),this._noticeRef=Bo(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.messages=go({}),this.parent=null,this.parentTitles=null,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=ao()("autoDestroyDisabled","messageOverrides")}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,messages:0,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5,messageOverrides:0}}static{this.styles=bo}static{this.shadowRootOptions=io}get _title(){let{messages:t}=this;return this.item.title||("untitledTable"in t?t.untitledTable:t.untitledLayer)}get _renderedItemStatus(){let{item:t,parent:r,hideStatusIndicators:o,css:n}=this;if(!o)return null;let{publishing:a}=t,i="updating"in t&&t.updating&&!r,s="connectionStatus"in t?t.connectionStatus:void 0,u=!!s;return ie`<calcite-icon class=${Ee(st(n.statusIndicator,{[n.publishing]:a},"updating"in n&&{[n.updating]:i},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&s==="connected"}))} .icon=${Qi({connectionStatus:s,publishing:a})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:t,showTemporaryLayerIndicators:r,showTemporaryTableIndicators:o,css:n}=this,{layer:a}=t,i=a&&"persistenceEnabled"in a&&(Ki(a)||!a.persistenceEnabled);return(r||o)&&i?ie`<calcite-icon class=${Ee(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??be}></calcite-icon>`:null}get _renderedItemToggle(){let{item:t,parent:r,messages:o,visibilityAppearance:n,css:a}=this;if(!("visible"in t)||!("layerVisibility"in o)||!("visibleToggle"in a)||!n)return null;let{visible:i}=t,s=this._getParentVisibilityMode(r);if(s==="inherited")return null;let u=Ji({visible:i,exclusive:s==="exclusive",visibilityAppearance:n}),c=n==="checkbox",g=o.layerVisibility;return ie`<calcite-action appearance=transparent class=${Ee(a.visibleToggle)} .icon=${c?u:void 0} @click=${()=>this._toggleVisibility(t,r)} scale=s .slot=${c?"actions-start":"actions-end"} .text=${g} title=${g??be}>${c?null:ie`<calcite-icon class=${Ee(st({[a.visibleIcon]:s!=="exclusive"&&i}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:t}=this.item;return t?.open&&!t.disabled&&!t.flowEnabled?ie`<div class=${Ee(this.css.itemContentBottom)} slot=content-bottom>${t.render()}</div>`:null}get _renderedPanelAction(){let{panel:t}=this.item;if(!t?.visible)return null;let{open:r,title:o,disabled:n}=t,a={icon:t.icon,image:t.image,indicator:!1};return ie`<calcite-action .active=${r} appearance=transparent .disabled=${n} .icon=${Yo(a)} @click=${()=>this._togglePanel(t)} scale=s slot=actions-end .text=${o??""} title=${o??void 0??be}>${this._renderFallbackIcon(t)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:t,messages:r}=this,o=r.options;return ie`<calcite-action-menu appearance=transparent .label=${r.menu} .open=${t.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${o} title=${o??be}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(t=>ie`<calcite-action-group>${t.toArray().map(r=>this._renderAction({action:r,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:t}=this,r=this.item.layer,o=r?.type==="catalog-footprint",n=r?.type==="sublayer"&&vo(r,"footprints");return"itemCatalogIcon"in t&&(o||n)?ie`<calcite-icon class=${Ee(t.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:t}=this,r=this.item.layer,o=r?.type==="catalog-dynamic-group",n=r?.type==="sublayer"&&vo(r,"layers-in-view");return"itemCatalogIcon"in t&&(o||n)?ie`<calcite-icon class=${Ee(t.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:t,item:r,hideCatalogLayerList:o}=this;if(!("visible"in r))return;let{layer:n}=r,a=n?.type==="catalog-dynamic-group";return o&&a?ie`<calcite-action appearance=transparent .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(r)} scale=s slot=actions-end .text=${t}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:t,item:r,rootGroupUid:o,listModeDisabled:n,selectionMode:a,displayMode:i}=this;if(!("children"in r))return;let s=[...this.parentTitles??[],r.title],{children:u,layer:c}=r,g=c?.type!=="catalog-dynamic-group"&&as(r),d=n?!1:Zi(c),p=c?.type==="group",b=!d&&!g&&t&&p,C=t?"childrenSortable"in r&&r.childrenSortable&&es(r):!1;return g||b?ie`<calcite-list .canPull=${T=>this.canMove?this.canMove(T,"pull"):!1} .canPut=${T=>this.canMove?this.canMove(T,"put"):!1} data-item=${r??be} data-layer-type=${o??be} .displayMode=${i} .dragEnabled=${C} .group=${p?o:`${o}-${c?.uid}`} .label=${r.title} selection-appearance=border .selectionMode=${a}>${u?.filter(T=>!T.hidden&&(this.showErrors||!T.error)).toArray().map(T=>this._renderItem(T,r,s))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:t}=this,r=this.item.layer;if(!t||!r)return!1;switch(r.type){case"knowledge-graph":return t.includes(r.type)&&"tables"in r&&!!r.tables?.length;case"map-image":case"tile":return t.includes(r.type)&&"subtables"in r&&!!r.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:t,messages:r,css:o}=this,{layer:n}=t;return"itemTableIcon"in o&&"visible"in t&&"tables"in r&&this._hasTables?ie`<calcite-list-item class=${Ee(o.item)} data-layer-id=${n?.id??be} drag-disabled .label=${r.tables} title=${r.tables??be} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(t)}><calcite-icon class=${Ee(o.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:t,messages:r,css:o}=this;return t.error?ie`<div class=${Ee(o.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in r?r.tableError:r.layerError}</div></calcite-notice></div>`:"incompatible"in t&&t.incompatible&&"layerIncompatible"in r?ie`<div class=${Ee(o.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${Wt(this._noticeRef)}><div slot=message>${r.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:is(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(t=>t.filter(r=>r.visible))}get _actionsCount(){return this.item.actionsSections.reduce((t,r)=>t+r.length,0)}async destroy(){await this.manager.destroy()}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}_onActionMenuOpen(t){this.item.actionsOpen=t.currentTarget.open}_setTooltipReference(t){this.handleTooltipReferenceChange?.(this.item.layer?.uid,t)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(t,r){!r||!t||(r.type==="toggle"&&(r.value=!r.value),this.handleAction(r,t))}_triggerOnTablesOpen(t){!t||!this.handleTablesOpen||this.handleTablesOpen(t)}_triggerOnCatalogOpen(t){t&&this.handleCatalogOpen?.(t)}_focusSelectedDragEl(t,r){this.selectedDragItemLayerUid===r.layer?.uid&&(yo(t),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(t,r){t.stopPropagation(),r.open=t.target.open}_getParentVisibilityMode(t){return t&&"visibilityMode"in t?t.visibilityMode:null}_handleCalciteListItemSelect(t,r,o){if(ns(t.target)!==r)return;let n=this._getParentVisibilityMode(o);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(r,o)}_togglePanel(t){t.open=!t.open,t.open&&this.handlePanelOpen()}_toggleVisibility(t,r){!t||!("visible"in t)||this._getParentVisibilityMode(r)==="exclusive"&&t.visible||(t.visible=!t.visible)}render(){let t=this.parentTitles??[],{_title:r,item:o,activeItem:n,selectionMode:a,selectedItems:i,messages:s,parent:u,css:c}=this,g="visibleAtCurrentTimeExtent"in o&&"layerInvisibleAtTime"in s&&!o.visibleAtCurrentTimeExtent?`${r} (${s.layerInvisibleAtTime})`:"visibleAtCurrentScale"in o&&"layerInvisibleAtScale"in s&&!o.visibleAtCurrentScale?`${r} (${s.layerInvisibleAtScale})`:r,d="parent"in o&&o.parent?.layer?.type==="catalog",{layer:p}=o,b="visibleAtCurrentScale"in o&&!o.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in o&&!o.visibleAtCurrentTimeExtent;return ie`<calcite-list-item class=${Ee(st(c.item,"itemActive"in c&&{[c.itemActive]:n===o}))} data-item=${o??be} data-layer-id=${p?.id??be} .dragDisabled=${!("sortable"in o&&o.sortable)||d} id=${p?.uid??be} .label=${r} .metadata=${{parentTitles:t,_title:r}} .open=${"open"in o&&o.open} .selected=${a!=="none"?i.includes(o):!1} title=${g??be} .unavailable=${b} .value=${p?.uid} @calciteListItemSelect=${C=>"visible"in o&&this._handleCalciteListItemSelect(C,o,u)} @calciteListItemToggle=${C=>"open"in o&&this._handleCalciteListItemToggle(C,o)} ${Wt(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(t){let{item:r}=this,{action:o,textEnabled:n}=t;if(!o)return null;let{active:a,disabled:i,title:s,type:u,indicator:c}=o;return ie`<calcite-action .active=${u==="toggle"?o.value:!1} appearance=transparent data-action-id=${o.id??be} .disabled=${i} .icon=${Yo(o)} .indicator=${c} .loading=${a} @click=${()=>this._triggerAction(r,o)} scale=s slot=${(n?void 0:"actions-end")??be} .text=${s??""} .textEnabled=${n} title=${s??void 0??be}>${this._renderFallbackIcon(o)}</calcite-action>`}_renderFallbackIcon(t){let{css:r}=this,{className:o,icon:n}=t;if(n)return null;let a="image"in t?t.image:void 0,i={[r.itemActionIcon]:!!o,[r.itemActionImage]:!!a};return o&&(i[o]=!0),a||o?ie`<span aria-hidden=true class=${Ee(st(r.itemActionIcon,i))} style=${po(Kh(a))}></span>`:null}_renderItem(t,r,o=[]){return ie`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${t} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .messages=${this.messages} .parent=${r} .parentTitles=${o} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};fo("arcgis-layer-list-item",Tr);_0=Tr},"layers/catalog/catalogUtils")
|
|
229
|
+
`})}var Vh={renderer:"web-components"},{window:zh}=Zr;zh.STORYBOOK_ENV="web-components";var{window:Wh,EventSource:Bh}=Zr;typeof module<"u"&&module?.hot?.decline&&(module.hot.decline(),new Bh("__webpack_hmr").addEventListener("message",function(e){try{let{action:t}=JSON.parse(e.data);t==="built"&&Wh.location.reload()}catch{}}));var Yh=new Set(["componentName","view","itemId","mapItemId","sceneItemId"]),Cr=class extends lo{update(t,r){let[o]=r,n=t;Object.entries(o).forEach(([a,i])=>{if(Yh.has(a))return;let s=no(a);i==="false"||i===!1?n.element.removeAttribute(s):n.element.setAttribute(s,String(i))})}};so(Cr);var Bo=mo;function Yo(e){if(e.icon)return e.icon;if(!("image"in e&&e.image)&&!e.className)return"question"}function Kh(e){return e?{backgroundImage:`url(${e})`}:{}}var Tr=class extends uo{constructor(){super(...arguments),this._itemRef=Bo(),this._noticeRef=Bo(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.messages=go({}),this.parent=null,this.parentTitles=null,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=fo()("autoDestroyDisabled","messageOverrides")}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,messages:0,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5,messageOverrides:0}}static{this.styles=bo}static{this.shadowRootOptions=ao}get _title(){let{messages:t}=this;return this.item.title||("untitledTable"in t?t.untitledTable:t.untitledLayer)}get _renderedItemStatus(){let{item:t,parent:r,hideStatusIndicators:o,css:n}=this;if(!o)return null;let{publishing:a}=t,i="updating"in t&&t.updating&&!r,s="connectionStatus"in t?t.connectionStatus:void 0,u=!!s;return ie`<calcite-icon class=${Ee(st(n.statusIndicator,{[n.publishing]:a},"updating"in n&&{[n.updating]:i},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&s==="connected"}))} .icon=${Qi({connectionStatus:s,publishing:a})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:t,showTemporaryLayerIndicators:r,showTemporaryTableIndicators:o,css:n}=this,{layer:a}=t,i=a&&"persistenceEnabled"in a&&(Ki(a)||!a.persistenceEnabled);return(r||o)&&i?ie`<calcite-icon class=${Ee(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??be}></calcite-icon>`:null}get _renderedItemToggle(){let{item:t,parent:r,messages:o,visibilityAppearance:n,css:a}=this;if(!("visible"in t)||!("layerVisibility"in o)||!("visibleToggle"in a)||!n)return null;let{visible:i}=t,s=this._getParentVisibilityMode(r);if(s==="inherited")return null;let u=Ji({visible:i,exclusive:s==="exclusive",visibilityAppearance:n}),c=n==="checkbox",g=o.layerVisibility;return ie`<calcite-action appearance=transparent class=${Ee(a.visibleToggle)} .icon=${c?u:void 0} @click=${()=>this._toggleVisibility(t,r)} scale=s .slot=${c?"actions-start":"actions-end"} .text=${g} title=${g??be}>${c?null:ie`<calcite-icon class=${Ee(st({[a.visibleIcon]:s!=="exclusive"&&i}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:t}=this.item;return t?.open&&!t.disabled&&!t.flowEnabled?ie`<div class=${Ee(this.css.itemContentBottom)} slot=content-bottom>${t.render()}</div>`:null}get _renderedPanelAction(){let{panel:t}=this.item;if(!t?.visible)return null;let{open:r,title:o,disabled:n}=t,a={icon:t.icon,image:t.image,indicator:!1};return ie`<calcite-action .active=${r} appearance=transparent .disabled=${n} .icon=${Yo(a)} @click=${()=>this._togglePanel(t)} scale=s slot=actions-end .text=${o??""} title=${o??void 0??be}>${this._renderFallbackIcon(t)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:t,messages:r}=this,o=r.options;return ie`<calcite-action-menu appearance=transparent .label=${r.menu} .open=${t.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${o} title=${o??be}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(t=>ie`<calcite-action-group>${t.toArray().map(r=>this._renderAction({action:r,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:t}=this,r=this.item.layer,o=r?.type==="catalog-footprint",n=r?.type==="sublayer"&&vo(r,"footprints");return"itemCatalogIcon"in t&&(o||n)?ie`<calcite-icon class=${Ee(t.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:t}=this,r=this.item.layer,o=r?.type==="catalog-dynamic-group",n=r?.type==="sublayer"&&vo(r,"layers-in-view");return"itemCatalogIcon"in t&&(o||n)?ie`<calcite-icon class=${Ee(t.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:t,item:r,hideCatalogLayerList:o}=this;if(!("visible"in r))return;let{layer:n}=r,a=n?.type==="catalog-dynamic-group";return o&&a?ie`<calcite-action appearance=transparent .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(r)} scale=s slot=actions-end .text=${t}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:t,item:r,rootGroupUid:o,listModeDisabled:n,selectionMode:a,displayMode:i}=this;if(!("children"in r))return;let s=[...this.parentTitles??[],r.title],{children:u,layer:c}=r,g=c?.type!=="catalog-dynamic-group"&&as(r),d=n?!1:Zi(c),p=c?.type==="group",b=!d&&!g&&t&&p,C=t?"childrenSortable"in r&&r.childrenSortable&&es(r):!1;return g||b?ie`<calcite-list .canPull=${T=>this.canMove?this.canMove(T,"pull"):!1} .canPut=${T=>this.canMove?this.canMove(T,"put"):!1} data-item=${r??be} data-layer-type=${o??be} .displayMode=${i} .dragEnabled=${C} .group=${p?o:`${o}-${c?.uid}`} .label=${r.title} selection-appearance=border .selectionMode=${a}>${u?.filter(T=>!T.hidden&&(this.showErrors||!T.error)).toArray().map(T=>this._renderItem(T,r,s))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:t}=this,r=this.item.layer;if(!t||!r)return!1;switch(r.type){case"knowledge-graph":return t.includes(r.type)&&"tables"in r&&!!r.tables?.length;case"map-image":case"tile":return t.includes(r.type)&&"subtables"in r&&!!r.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:t,messages:r,css:o}=this,{layer:n}=t;return"itemTableIcon"in o&&"visible"in t&&"tables"in r&&this._hasTables?ie`<calcite-list-item class=${Ee(o.item)} data-layer-id=${n?.id??be} drag-disabled .label=${r.tables} title=${r.tables??be} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(t)}><calcite-icon class=${Ee(o.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:t,messages:r,css:o}=this;return t.error?ie`<div class=${Ee(o.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in r?r.tableError:r.layerError}</div></calcite-notice></div>`:"incompatible"in t&&t.incompatible&&"layerIncompatible"in r?ie`<div class=${Ee(o.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${Wt(this._noticeRef)}><div slot=message>${r.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:is(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(t=>t.filter(r=>r.visible))}get _actionsCount(){return this.item.actionsSections.reduce((t,r)=>t+r.length,0)}async destroy(){await this.manager.destroy()}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}_onActionMenuOpen(t){this.item.actionsOpen=t.currentTarget.open}_setTooltipReference(t){this.handleTooltipReferenceChange?.(this.item.layer?.uid,t)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(t,r){!r||!t||(r.type==="toggle"&&(r.value=!r.value),this.handleAction(r,t))}_triggerOnTablesOpen(t){!t||!this.handleTablesOpen||this.handleTablesOpen(t)}_triggerOnCatalogOpen(t){t&&this.handleCatalogOpen?.(t)}_focusSelectedDragEl(t,r){this.selectedDragItemLayerUid===r.layer?.uid&&(yo(t),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(t,r){t.stopPropagation(),r.open=t.target.open}_getParentVisibilityMode(t){return t&&"visibilityMode"in t?t.visibilityMode:null}_handleCalciteListItemSelect(t,r,o){if(ns(t.target)!==r)return;let n=this._getParentVisibilityMode(o);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(r,o)}_togglePanel(t){t.open=!t.open,t.open&&this.handlePanelOpen()}_toggleVisibility(t,r){!t||!("visible"in t)||this._getParentVisibilityMode(r)==="exclusive"&&t.visible||(t.visible=!t.visible)}render(){let t=this.parentTitles??[],{_title:r,item:o,activeItem:n,selectionMode:a,selectedItems:i,messages:s,parent:u,css:c}=this,g="visibleAtCurrentTimeExtent"in o&&"layerInvisibleAtTime"in s&&!o.visibleAtCurrentTimeExtent?`${r} (${s.layerInvisibleAtTime})`:"visibleAtCurrentScale"in o&&"layerInvisibleAtScale"in s&&!o.visibleAtCurrentScale?`${r} (${s.layerInvisibleAtScale})`:r,d="parent"in o&&o.parent?.layer?.type==="catalog",{layer:p}=o,b="visibleAtCurrentScale"in o&&!o.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in o&&!o.visibleAtCurrentTimeExtent;return ie`<calcite-list-item class=${Ee(st(c.item,"itemActive"in c&&{[c.itemActive]:n===o}))} data-item=${o??be} data-layer-id=${p?.id??be} .dragDisabled=${!("sortable"in o&&o.sortable)||d} id=${p?.uid??be} .label=${r} .metadata=${{parentTitles:t,_title:r}} .open=${"open"in o&&o.open} .selected=${a!=="none"?i.includes(o):!1} title=${g??be} .unavailable=${b} .value=${p?.uid} @calciteListItemSelect=${C=>"visible"in o&&this._handleCalciteListItemSelect(C,o,u)} @calciteListItemToggle=${C=>"open"in o&&this._handleCalciteListItemToggle(C,o)} ${Wt(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(t){let{item:r}=this,{action:o,textEnabled:n}=t;if(!o)return null;let{active:a,disabled:i,title:s,type:u,indicator:c}=o;return ie`<calcite-action .active=${u==="toggle"?o.value:!1} appearance=transparent data-action-id=${o.id??be} .disabled=${i} .icon=${Yo(o)} .indicator=${c} .loading=${a} @click=${()=>this._triggerAction(r,o)} scale=s slot=${(n?void 0:"actions-end")??be} .text=${s??""} .textEnabled=${n} title=${s??void 0??be}>${this._renderFallbackIcon(o)}</calcite-action>`}_renderFallbackIcon(t){let{css:r}=this,{className:o,icon:n}=t;if(n)return null;let a="image"in t?t.image:void 0,i={[r.itemActionIcon]:!!o,[r.itemActionImage]:!!a};return o&&(i[o]=!0),a||o?ie`<span aria-hidden=true class=${Ee(st(r.itemActionIcon,i))} style=${ho(Kh(a))}></span>`:null}_renderItem(t,r,o=[]){return ie`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${t} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .messages=${this.messages} .parent=${r} .parentTitles=${o} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};po("arcgis-layer-list-item",Tr);_0=Tr},"layers/catalog/catalogUtils")
|
|
230
230
|
export{$$,_0 as ArcgisLayerListItem}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as d,b as u}from"./
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{a as d,b as u}from"./PETAVLUH.js";import{A as w,B as n,M as g,R as $,u as m,y as b}from"./2NRQMV3A.js";var k=b`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`,_=class extends g{constructor(){super(...arguments),this._flowItemElement=d(),this._switchToVersion=!0,this._switchToVersionCheckboxElement=d(),this._versionNameInputElement=d(),this.selected=!1,this.showBackButton=!1,this.arcgisAlterVersion=m(),this.arcgisCreateVersion=m(),this.arcgisFlowItemBack=m(),this.arcgisFlowItemClose=m()}static{this.properties={selected:7,showBackButton:7,versionPropertiesElementProps:0}}static{this.shadowRootOptions=w}static{this.styles=k}load(){let{versionPropertiesElementProps:{versionInfo:t}}=this;t?(this._mode="edit",this._fullVersionName=t.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(t){let{_mode:s,_ownerName:l,_versionName:h,versionPropertiesElementProps:{currentUser:p,isVersionAdministrator:v,serviceUrl:i,versionInfo:c}}=this,{_alterVersionParameters:e,_createVersionParameters:a}=this;switch(s==="create"&&(a||(a={access:"public",description:"",featureServerUrl:i,ownerName:p,versionName:""})),s==="edit"&&(e||(e={featureServerUrl:i,versionIdentifier:c.versionIdentifier,ownerName:l,versionName:h,access:c.access,description:c.description})),t.type){case"calciteChipGroupSelect":{let r=t.target.label,o=t.target.selectedItems[0].label;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteInputTextInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteTextAreaInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}}s==="create"&&(a.access!=="public"&&p.toUpperCase()!==a.ownerName?.toUpperCase()&&!v?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=a),s==="edit"&&(this._alterVersionParameters=e)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:t,_createVersionParameters:s,_mode:l,_switchToVersion:h}=this;l==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:s,switchToVersion:h}),l==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:t})}_handleSwitchToVersionChange(t){this._switchToVersion=t.target.checked}render(){let{selected:t,showBackButton:s,versionPropertiesElementProps:{closable:l,currentUser:h,hasAdvEditingUte:p,state:v,strings:i,versionInfo:c},_mode:e,_ownerName:a,_versionName:r}=this,o=n`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${i.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${i.actions.saveVersion}</calcite-button></div>`,V=n`<calcite-label>${i.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${e==="edit"&&c.access==="public"||e==="create"} label=public>${i.accessLevels.public}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="protected"} label=protected>${i.accessLevels.protected}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="private"} label=private>${i.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,f=n`<calcite-label>${i.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${e==="edit"?c.description:""}></calcite-text-area></calcite-label>`,I=n`<calcite-label>${i.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${e==="edit"?r:""} ${u(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,x=n`<calcite-label>${i.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!p} .value=${e==="edit"?a:h}></calcite-input-text></calcite-label>`,C=e==="create"?n`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${u(this._switchToVersionCheckboxElement)}></calcite-checkbox>${i.actions.switchToVersion}</calcite-label>`:void 0;return n`<calcite-flow-item .closable=${l} .description=${c?c.versionIdentifier.name:""} .heading=${c?i.actions.editVersion:i.actions.newVersion} .selected=${t} .showBackButton=${s} @calciteFlowItemClose=${this._handleClose} ${u(this._flowItemElement)}><calcite-panel .loading=${v==="executing"}><calcite-block .label=${i.headers.versionProperties} open>${I}${f}${V}${x}${C}${o}</calcite-block></calcite-panel></calcite-flow-item>`}};$("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{b as C}from"./PETAVLUH.js";import{$$ as _0,a as R}from"./ZRKAKRSP.js";import{$$ as _1}from"./S3UU4JK4.js";import{a as w}from"./ZDLI2WAT.js";import{a as d}from"./3CJCAXVF.js";import{$$ as _2}from"./KVBJKG34.js";import{d as $}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import{i as f}from"./IX5XNRLV.js";import{A as g,B as o,M as b,N as a,O as v,P as c,R as _,e as u,u as p,y as m}from"./2NRQMV3A.js";var _3,$$=$arcgis.t(([{watch:y},M])=>{var x=[-45,0,45,-90,90,-135,180,135],S={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},B=m`@layer{.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background:transparent;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}}`;function E(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function D(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var k=R(M),h=class extends b{constructor(){super(...arguments),this.messages=w({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=k(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.position="bottom-left",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=$()("state"),this.arcgisReady=p()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.shadowRootOptions=g}static{this.styles=B}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[y(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?f(this)?.focus():u(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=E(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.view==null||this.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return o`<calcite-action-pad expand-disabled layout=grid><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${C(this._setButtonContainerRef)}>${x.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${x.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-pad>`}_renderButton(t){let{label:e,iconName:i}=S[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||D(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${v(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return o`<calcite-action-pad expand-disabled layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-pad>`}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};_("arcgis-directional-pad",h);_3=h},"core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel",_0,_1,_2)
|
|
5
|
+
export{$$,_3 as ArcgisDirectionalPad}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{b as f}from"./
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{b as f}from"./PETAVLUH.js";import{B as s,E as h,H as d,I as p,L as m,M as b,N as e,R as g,u as o,y as r}from"./2NRQMV3A.js";var u=d(class extends p{constructor(){super(...arguments),this.key=h}render(a,t){return this.key=a,t}update(a,[t,c]){return t!==this.key&&(m(a),this.key=t),c}});var y=r`.label{--calcite-label-margin-bottom: 0}.label-content{display:flex;flex:1;gap:var(--calcite-spacing-sm);align-items:center;text-wrap:balance}.label-content>div{flex-grow:1}.icon{margin-top:-1px;&.info{color:var(--calcite-color-status-info)}&.warning{color:var(--calcite-color-status-warning)}}.tooltip{text-wrap:wrap}`,i={label:"label",labelContent:"label-content",iconInfo:"icon info",iconWarning:"icon warning",tooltip:"tooltip"},l=class extends b{constructor(){super(...arguments),this._icon=null,this.checked=!1,this.disabled=!1,this.label=null,this.hint=null,this.hintIcon=null,this.hintKind="info",this.arcgisCheckedChanged=o()}static{this.properties={_icon:16,checked:7,disabled:7,label:1,hint:1,hintIcon:1,hintKind:1}}static{this.styles=y}async destroy(){await this.manager.destroy()}_setIconRef(t){this._icon=t??null}render(){let{label:t,hint:c,hintKind:k,hintIcon:w,checked:$,disabled:v}=this;return s`<calcite-label class=${e(i.label)} layout=inline-space-between scale=s>${c?u("label-content",s`<div class=${e(i.labelContent)}><div>${t}</div><calcite-icon class=${e(k!=="warning"?i.iconInfo:i.iconWarning)} .icon=${w??"information"} @click=${n=>n.stopPropagation()} scale=s tabindex=0 ${f(this._setIconRef)}></calcite-icon><calcite-tooltip class=${e(i.tooltip)} overlay-positioning=fixed .referenceElement=${this._icon??void 0}>${c}</calcite-tooltip></div>`):t}<calcite-switch .checked=${$} .disabled=${v} scale=s @calciteSwitchChange=${n=>{this.checked=n.target.checked,this.arcgisCheckedChanged.emit(n.target.checked)}}></calcite-switch></calcite-label>`}};g("arcgis-labeled-switch",l);export{l as LabeledSwitch};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{$$ as _0,a as n}from"./5IO2DRNT.js";import{$$ as _1}from"./KVBJKG34.js";import{d as r}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import"./IX5XNRLV.js";import{A as e,M as a,R as o,u as s,y as i}from"./2NRQMV3A.js";var _2,$$=$arcgis.t(([h])=>{var l=i`@layer{arcgis-area-measurement-3d{display:block}}`,c=n(h),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=r()("analysis","state"),this.arcgisReady=s()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-area-measurement-3d",t);_2=t},"widgets/AreaMeasurement3D",_0,_1)
|
|
5
|
+
export{$$,_2 as ArcgisAreaMeasurement3d}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{a as S}from"./NLGF5THC.js";import"./TOGGQ7TQ.js";import{$$ as _0,a as B}from"./ZRKAKRSP.js";import{$$ as _1}from"./S3UU4JK4.js";import{a as T}from"./ZDLI2WAT.js";import{a as w}from"./3CJCAXVF.js";import{$$ as _2}from"./KVBJKG34.js";import{d as O}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import"./IX5XNRLV.js";import{A as $,B as a,M as C,N as u,O as M,P as y,R as x,b as v,u as _,y as f}from"./2NRQMV3A.js";var _3,$$=$arcgis.t(([{watch:W},j,{property:h,subclass:A},E,k,L,H,D])=>{var c="arcgis-weather",d={base:c,content:`${c}__content`,hasError:`${c}__content--has-error`,selector:`${c}__selector`,options:`${c}__options`,optionsHidden:`${c}__options--hidden`,error:`${c}__error`,warning:`${c}__warning`},P=f`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`,z=Object.defineProperty,F=Object.getOwnPropertyDescriptor,o=(t,e,i,s)=>{for(var r=s>1?void 0:s?F(e,i):e,p=t.length-1,l;p>=0;p--)(l=t[p])&&(r=(s?l(e,i,r):l(r))||r);return s&&r&&z(e,i,r),r},I={sunny:D,cloudy:E,rainy:L,snowy:H,foggy:k},R=Object.keys(I),n=class extends j{constructor(t){super(t),this.view=null,this._settingWeather=!1,this._weatherByType={sunny:new D,cloudy:new E,rainy:new L,snowy:new H,foggy:new k}}initialize(){this.addHandles([W(()=>this.current,t=>{this._settingWeather||t==null||(this._weatherByType={...this._weatherByType,[t.type]:t})},{sync:!0,initial:!0})])}get state(){if(!this.view?.ready)return"disabled";if(this.error!=null)switch(this.error){case"not-visible":return"ready";default:return"error"}return"ready"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let t=this.view;return t?.ready?t.type!=="3d"?"unsupported-view":t.viewingMode==="local"?"local-scene":t.environment.atmosphereEnabled?t.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(t){let e=this._environment;e&&(e.weather=t)}get _environment(){let t=this.view;return t!=null&&t.type==="3d"?t.environment:null}setWeatherByType(t){if(!R.includes(t)){console.warn(`arcgis-weather - "${t}" is not a valid weather type`);return}let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[t],this._settingWeather=!1)}setSnowCoverEnabled(t){let e=this.current;"snowCover"in e&&(e.snowCover=t?"enabled":"disabled")}};o([h()],n.prototype,"view",2);o([h()],n.prototype,"state",1);o([h()],n.prototype,"disabled",1);o([h()],n.prototype,"weatherByType",1);o([h()],n.prototype,"error",1);o([h()],n.prototype,"current",1);o([h()],n.prototype,"_weatherByType",2);o([h()],n.prototype,"_environment",1);n=o([A("components.weather.WeatherViewModel")],n);function g({label:t,value:e,disabled:i,onChange:s}){let r=p=>{let l=p.currentTarget.value;s?.(l)};return a`<calcite-label scale=s>${t}<calcite-slider aria-label=${t??y} .disabled=${i} style=${M({marginInline:"-7px",marginBottom:"-7px"})} max=1 min=0 step=0.01 .value=${e??0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`}var V=B(n),U={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},m=class extends C{constructor(){super(...arguments),this.viewModel=V(this),this.messages=T(),this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=O()("state"),this.arcgisReady=_()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=$}static{this.styles=P}async destroy(){await this.manager.destroy()}load(){this.manager.onLifecycle(()=>[W(()=>this._renderContent(),()=>this.requestUpdate())])}_getWarningMessage(){switch(this.viewModel.error){case"not-visible":{let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}default:return}}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return a`<div aria-label=${this.messages.componentLabelAccessible??y} class=${u(v(d.base,w.widget,this.viewModel.disabled&&w.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:i,viewModel:s}=this,r=this._getWarningMessage(),p=s.current,l=s.state==="error";return a`${this.hideHeader?void 0:S({level:e,children:i.componentLabel})}${l?a`<div class=${u(d.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${u(v({[d.content]:!0,[d.hasError]:l}))}><div aria-label=${i.weatherType??y} class=${u(d.selector)} role=radiogroup>${R.map(this._renderWeatherTypeButton,this)}</div>${Object.values(s.weatherByType).map(b=>a`<div class=${u(v({[d.options]:!0,[d.optionsHidden]:b.type!==p?.type}))}>${this._renderOptions(b)}</div>`)}${r?this._renderWarning(r):void 0}</div>`}_renderWeatherTypeButton(e){let i=this.messages[e]?.label??"",{disabled:s}=this.viewModel,r=!s&&this.viewModel.current.type===e;return a`<calcite-button .appearance=${r?"solid":"outline"} aria-checked=${r?"true":"false"} .disabled=${s} .iconStart=${U[e]} .kind=${r?"brand":"neutral"} .label=${i} @click=${()=>{r||this.viewModel.setWeatherByType(e)}} scale=l title=${i??y}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.sunny?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderCloudyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.cloudy?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderRainyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.rainy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}`}_renderSnowyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.snowy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}<calcite-label layout=inline scale=s title=${s?.snowCoverTooltip??y}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${i} @calciteCheckboxChange=${r=>{this.viewModel.setSnowCoverEnabled(r.currentTarget.checked)}}></calcite-checkbox>${s?.snowCover}</calcite-label>`}_renderFoggyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.foggy?.fogStrength,value:e.fogStrength,onChange:i=>{e.fogStrength=i}})}_renderWarning(e){return a`<div class=${u(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`}};x("arcgis-weather",m);_3=m},"core/reactiveUtils","core/Accessor","core/accessorSupport/decorators","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",_0,_1,_2)
|
|
5
|
+
export{$$,_3 as ArcgisWeather}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{a as d}from"./4KDGV4NL.js";import{a as h}from"./JH2LAQNR.js";import{$$ as _0,a as l}from"./5IO2DRNT.js";import{$$ as _1,d as r}from"./KVBJKG34.js";import{d as o}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import"./IX5XNRLV.js";import{A as i,M as s,R as a,u as e}from"./2NRQMV3A.js";var _2,$$=$arcgis.t(([c])=>{var w=l(c),t=class extends s{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.arcgisClose=h(this),this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=o()("state"),this.arcgisReady=e(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideFlow:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:0,operationalItems:32,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,tableList:32,visibilityAppearance:1}}static{this.shadowRootOptions=i}static{this.styles=d}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(n,g){this.widget?.triggerAction(n,g)}};a("arcgis-layer-list",t);_2=t},"widgets/LayerList",_0,_1)
|
|
5
|
+
export{$$,_2 as ArcgisLayerList}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{b as d}from"./PETAVLUH.js";import{$$ as _0,a as R}from"./ZRKAKRSP.js";import{$$ as _1}from"./S3UU4JK4.js";import{a as b}from"./ZDLI2WAT.js";import{a as x}from"./3CJCAXVF.js";import{$$ as _2,d as a}from"./KVBJKG34.js";import{d as C}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import"./IX5XNRLV.js";import{A as w,B as r,F as S,M,N as l,P as f,R as $,b as m,u as _,y as v}from"./2NRQMV3A.js";var _3,$$=$arcgis.t(([A,{isAbortError:T},{substitute:I},{watch:N}])=>{function y(p){return p?.abort(),null}var h="arcgis-search",u={base:h,autocomplete:`${h}__autocomplete`,dropdown:`${h}__dropdown`,container:`${h}__container`,form:`${h}__form`},L=v`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}}`,D=R(A),g=class extends M{constructor(){super(...arguments),this.viewModel=D(this),this._currentLocationValue="search-use-current-location",this._searchResultRendererContainerEl=document.createElement("div"),this._suggestController=null,this._searchController=null,this._lastSearchTerm="",this.messages=b({}),this._setSearchResultRendererRef=e=>{this._searchResultRendererEl=e},this._locateFailed=!1,this._showNoResults=!1,this.position="top-left",this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigate=this.viewModel.autoNavigate,this.autoSelect=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSources=this.viewModel.includeDefaultSources,this.locationEnabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupEnabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicEnabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllEnabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsEnabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=C()("state"),this.arcgisReady=_(),this.arcgisSearchClear=a(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=a(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=a(()=>this.viewModel,"search-start"),this.arcgisSelectResult=a(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=a(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=a(()=>this.viewModel,"suggest-start"),this._renderSearchResultsContent=()=>this._searchResultRendererEl}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,referenceElement:1,position:3,goToOverride:0,icon:3,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigate:5,autoSelect:5,defaultSources:0,disabled:5,includeDefaultSources:5,locationEnabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupEnabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicEnabled:5,results:0,searchAllEnabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsEnabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=L}static{this.shadowRootOptions=w}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return this.locationEnabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this._addSearchResultRenderer(),this.manager.onLifecycle(()=>N(()=>this.viewModel?.defaultPopupTemplate,e=>{e&&(e.content=this._renderSearchResultsContent)},{initial:!0}))}clear(){this._locateFailed=!1,this.viewModel.clear()}async search(e){this._cancelQueries();let t=new AbortController,{signal:s}=t;this._searchController=t;try{let i=await this.viewModel.search(e,{signal:s});return this._searchController!==t?void 0:(i?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=null,i)}catch{if(this._searchController!==t)return;this._searchController=null;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:s}=t;this._suggestController=t;try{let i=await this.viewModel.suggest(e,null,{signal:s});return this._suggestController!==t?void 0:(this._suggestController=null,i?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),i)}catch{return this._suggestController!==t||(this._suggestController=null),null}}_addSearchResultRenderer(){S(r`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel} ${d(this._setSearchResultRendererRef)}></arcgis-search-result-renderer>`,this._searchResultRendererContainerEl)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let s=JSON.parse(t),i=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===s.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${s.key}`);i&&this.search(i)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(s){T(s)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=null}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=y(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=y(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:s}=this.viewModel,i=s.at(e);return(e===-1?t.all:i?.name||t.untitledSource)||""}render(){return r`<div class=${l(m(u.base,x.widget))}><div class=${l(u.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:s}=this,{allSources:i,searchAllEnabled:o}=this.viewModel;return i.length>1?r`<calcite-dropdown class=${l(u.dropdown)} .disabled=${t} .open=${s==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${i.map((n,c)=>this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return r`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:s}=this,{maxInputLength:i,placeholder:o,searchTerm:n,state:c}=this.viewModel,E=this.label??t.searchButtonTitle??"";return r`<calcite-autocomplete .autocomplete=${"off"} class=${l(u.autocomplete)} .disabled=${s} .icon=${this.icon} .inputValue=${n} .label=${E} .loading=${c==="searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(n?"":o)??f} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return r`<form class=${l(u.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}</form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:s}=this.viewModel,{sourceIndex:i}=e,o=e.results?.length,n=t.length>1&&s===-1,c=this._getSourceName(i);return o&&n?r`<calcite-autocomplete-item-group .heading=${c}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:s}){let i={key:e,sourceIndex:t};return r`<calcite-autocomplete-item .heading=${s??this.messages.untitledResult??""} .value=${JSON.stringify(i)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return r`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,s=e?I(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return r`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${s}</div></calcite-notice>`}_renderLocateError(){return r`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};$("arcgis-search",g);_3=g},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",_0,_1,_2)
|
|
5
|
+
export{$$,_3 as ArcgisSearch}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{a as u}from"./4GBGRONW.js";import{$$ as _0,a as M}from"./ZRKAKRSP.js";import{$$ as _1}from"./S3UU4JK4.js";import{a as C}from"./ZDLI2WAT.js";import{a as _}from"./3CJCAXVF.js";import{$$ as _2}from"./KVBJKG34.js";import{d as P}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import"./IX5XNRLV.js";import{A as x,B as g,M as $,N as p,O as w,P as y,R as D,b as v,u as f,y as b}from"./2NRQMV3A.js";var _3,$$=$arcgis.t(([L])=>{var H=b`@layer{arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none!important}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`,l="arcgis-swipe",n={base:l,baseDisabled:`${l}--disabled`,vertical:`${l}--vertical`,horizontal:`${l}--horizontal`,container:`${l}__container`,divider:`${l}__divider`,handle:`${l}__handle`,handleHidden:`${l}__handle--hidden`,handleIcon:`${l}__handle-icon`},O=M(L),m=class extends ${constructor(){super(...arguments),this._container=null,this._swiping=!1,this.messages=C({}),this._pointerOffset=0,this.viewModel=O(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.leadingLayers=this.viewModel.leadingLayers,this.position="manual",this.swipePosition=this.viewModel.position,this.state=this.viewModel.state,this.trailingLayers=this.viewModel.trailingLayers,this.arcgisPropertyChange=P()("state"),this.arcgisReady=f()}static{this.properties={autoDestroyDisabled:5,direction:3,disabled:7,hideDivider:7,hideHandle:7,icon:3,label:1,leadingLayers:0,messageOverrides:0,position:3,swipePosition:9,referenceElement:1,state:3,trailingLayers:0}}static{this.shadowRootOptions=x}static{this.styles=H}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=e.target,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,a=t.getBoundingClientRect(),o=e.clientX-a.left,d=e.clientY-a.top;this._pointerOffset=i==="vertical"?d-r:o-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:a,clientY:o}=e,{top:d,left:s,width:c,height:h}=t.getBoundingClientRect(),z=r==="vertical"?h:c,A=(r==="vertical"?o-d-i:a-s-i)/z*100;this.swipePosition=A}_getKeyPosition(e){let{key:i}=e,{swipePosition:t}=this,{max:r,min:a,step:o,stepMultiplier:d,direction:s}=this.viewModel,c=o*d;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),s==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let h=e.shiftKey?c:o;return t+h}if(s==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let h=e.shiftKey?c:o;return t-h}return i==="Home"?a:i==="End"?r:(s==="vertical"?i==="PageDown":i==="PageUp")?t+c:(s==="vertical"?i==="PageUp":i==="PageDown")?t-c:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&(this.swipePosition=i)}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[_.disabled]:t,[n.baseDisabled]:t,[n.vertical]:i==="vertical",[n.horizontal]:i==="horizontal"};return g`<div class=${p(v(n.base,_.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[u.dragHorizontal]:e==="vertical",[u.dragVertical]:e==="horizontal"},r=v(n.handle,!!i&&n.handleHidden);return g`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(v(n.handleIcon,t))}></span></div>`}_renderDivider(){return this.hideDivider?null:g`<div class=${p(n.divider)} role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:a,position:o}=i,d=this.label??this.messages.dragLabel??"",s=`${o}%`,c={top:a==="vertical"?s:void 0,left:a==="vertical"?void 0:s},h=this._renderContent();return e?g`<div class=${p(n.container)} role=presentation style=${w(c)}>${h}</div>`:g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${a} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${o}`} .ariaValueText=${s} class=${p(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${w(c)} tabindex=0 title=${d??y} touch-action=none>${h}</div>`}};D("arcgis-swipe",m);_3=m},"widgets/Swipe/SwipeViewModel",_0,_1,_2)
|
|
5
|
+
export{$$,_3 as ArcgisSwipe}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{a as d}from"./JH2LAQNR.js";import{$$ as _0,a as h}from"./5IO2DRNT.js";import{$$ as _1,d as a}from"./KVBJKG34.js";import{d as r}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import"./IX5XNRLV.js";import{A as s,M as o,R as l,u as e,y as i}from"./2NRQMV3A.js";var _2,$$=$arcgis.t(([n])=>{var m=i`@layer{arcgis-table-list{display:block}}`,c=h(n),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.arcgisPropertyChange=r()("state"),this.arcgisReady=e(),this.arcgisTriggerAction=a(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5}}static{this.shadowRootOptions=s}static{this.styles=m}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};l("arcgis-table-list",t);_2=t},"widgets/TableList",_0,_1)
|
|
5
|
+
export{$$,_2 as ArcgisTableList}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{a as g,b as p}from"./PETAVLUH.js";import{$$ as _0,a as m}from"./ZRKAKRSP.js";import{$$ as _1}from"./S3UU4JK4.js";import{a as u}from"./ZDLI2WAT.js";import{a as v}from"./3CJCAXVF.js";import{$$ as _2}from"./KVBJKG34.js";import{d as h}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import"./IX5XNRLV.js";import{A as l,B as e,M as n,N as t,R as c,b as o,u as r,y as d}from"./2NRQMV3A.js";var _3,$$=$arcgis.t(([V,{watch:$}])=>{var b=d`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,f="arcgis-video-player",_={base:f,videoView:`${f}__video-view`},M=m(V),a=class extends n{constructor(){super(...arguments),this.messages=u({blocking:!0}),this.viewModel=M(this),this._videoViewRef=g(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this.position="top-left",this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=h()("state","layer"),this.arcgisReady=r(),this.arcgisVideoReady=r()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,referenceElement:1,position:3,icon:3,state:0,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3}}static{this.styles=b}static{this.shadowRootOptions=l}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[$(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:y,currentTime:s,duration:i,ended:w}=this.viewModel;this._duration=i,this._currentTime=s,this._bufferedValue=y/(i||1),this._currentValue=s/(i||1),this._isBuffering=!w&&this._bufferedValue<this._currentValue})])}render(){return e`<div class=${t(o(_.base,v.widget))}><calcite-panel .heading=${this.layer?.title||"Video Player"}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewRef?.value?.ready?null:e`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?e`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return e`<div class=${t(_.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${p(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return e`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};c("arcgis-video-player",a);_3=a},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",_0,_1,_2)
|
|
5
|
+
export{$$,_3 as ArcgisVideoPlayer}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{$$ as _0,a,c,d as t}from"./KVBJKG34.js";import"./PUSN3HFI.js";import{e as d,f as r}from"./IX5XNRLV.js";import{A as n,M as w,R as p,u as s,y as o}from"./2NRQMV3A.js";var _1,$$=$arcgis.t(([{watch:v},u,l])=>{var _=o`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,V=a(l,{}),b=a(u,{}),h=class extends w{constructor(){super(...arguments),this._center=void 0,this._extent=void 0,this._itemId=void 0,this._scale=void 0,this._viewpoint=void 0,this._zoom=void 0,this._map=V(this,{editConstructorProperties:this._editMapProperties}),this.view=b(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,this.ipsInfo=this._map.ipsInfo,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.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.visibleArea=this.view.visibleArea,this.arcgisViewChange=s(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),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=s()}static{this.properties={_map:16,view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,highlights:0,highlightOptions:0,interacting:32,ipsInfo:0,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:7,viewpoint:0,visibleArea:0,zoom:9}}static{this.shadowRootOptions=n}static{this.styles=_}get center(){return this.view.center??this._center}set center(i){let e=r(i,this.ready?this.view:void 0);e&&(this.ready&&(this.view.center=e),this._center=e)}get extent(){return this.view.extent??this._extent}set extent(i){this.view.ready||(this._extent=i),i&&!this.extent?.equals(i)&&(this.view.extent=i)}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready?c.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error):this.view.ready!=null&&(this._map.destroy(),this._map=new l(this._editMapProperties({portalItem:{id:this._itemId}})),this.view.map=this._map)}get navigating(){return this.view.navigating}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){this.ready&&d(this.viewpoint,i)&&(this.view.viewpoint=i),this._viewpoint=i}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,e){this.map?.add(i,e)}async addLayers(i,e){this.map?.addMany(i,e)}async addTable(i){this.map?.tables.add(i)}async addTables(i,e){this.map?.tables.addMany(i,e)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view?.goTo(i,e)}async hitTest(i,e){return await this.view?.hitTest(i,e)}async openPopup(i){await this.view?.openPopup(i)}async takeScreenshot(i){return await this.view?.takeScreenshot(i)}toMap(i){return this.view.toMap(i)}toScreen(i,e){return this.view.toScreen(i,e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view?.whenLayerView(i)}async viewOnReady(i,e){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(e)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container??=i.el.childElem}loaded(){this.manager.onLifecycle(()=>[v(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),v(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId&&(i.portalItem={id:this.itemId});let{basemap:e,...m}=i;e||(i=m);let{ground:g,...y}=i;return g||(i=y),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=r(this.center,void 0);return e&&(i.center=e),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.zoom!==void 0&&(i.zoom=this.zoom),i}};p("arcgis-map",h);_1=h},"core/reactiveUtils","views/MapView","WebMap",_0)
|
|
5
|
+
export{$$,_1 as ArcgisMap}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{$$ as _0,a as n}from"./5IO2DRNT.js";import{$$ as _1}from"./KVBJKG34.js";import{d as r}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import"./IX5XNRLV.js";import{A as e,M as a,R as o,u as s,y as i}from"./2NRQMV3A.js";var _2,$$=$arcgis.t(([h])=>{var l=i`@layer{arcgis-line-of-sight{display:block}}`,c=n(h),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=r()("analysis","state"),this.arcgisReady=s()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=e}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async continue(){this.widget?.viewModel.continue()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};o("arcgis-line-of-sight",t);_2=t},"widgets/LineOfSight",_0,_1)
|
|
5
|
+
export{$$,_2 as ArcgisLineOfSight}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{A as p,B as a,M as g,P as v,R as h,u as m}from"./2NRQMV3A.js";var c=class extends g{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=p}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersionAdministrator:b,isVersioningApiAvailable:u,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,I=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,o=r.toUpperCase()===$.toUpperCase()&&u&&f||b,i=V.guid===e.versionIdentifier.guid,x=a`<calcite-action appearance=transparent .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,U=i?void 0:a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return a`<calcite-list-item .description=${r} .label=${I} .value=${l}>${x}${U}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||o&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{a as d}from"./JH2LAQNR.js";import{$$ as _0,a as h}from"./5IO2DRNT.js";import{$$ as _1,d as l}from"./KVBJKG34.js";import{d as r}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import"./IX5XNRLV.js";import{A as s,M as o,R as a,u as e,y as i}from"./2NRQMV3A.js";var _2,$$=$arcgis.t(([n])=>{var c=i`@layer{arcgis-catalog-layer-list{display:block}}`,g=h(n),t=class extends o{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=r()("state"),this.arcgisReady=e(),this.arcgisTriggerAction=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}static{this.styles=c}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};a("arcgis-catalog-layer-list",t);_2=t},"widgets/CatalogLayerList",_0,_1)
|
|
5
|
+
export{$$,_2 as ArcgisCatalogLayerList}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{$$ as _0,a as n}from"./5IO2DRNT.js";import{$$ as _1}from"./KVBJKG34.js";import{d as r}from"./RA4XVZ3J.js";import"./PUSN3HFI.js";import"./IX5XNRLV.js";import{A as e,M as a,R as o,u as s,y as i}from"./2NRQMV3A.js";var _2,$$=$arcgis.t(([c])=>{var h=i`@layer{arcgis-distance-measurement-2d{display:block}}`,d=n(c),t=class extends a{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=r()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}static{this.styles=h}async clear(){this.viewModel?.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel?.start()}};o("arcgis-distance-measurement-2d",t);_2=t},"widgets/DistanceMeasurement2D",_0,_1)
|
|
5
|
+
export{$$,_2 as ArcgisDistanceMeasurement2d}
|