@arcgis/map-components 4.33.0-next.97 → 4.33.0-next.98
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/{2JRQVTXC.js → 2V5VWZ7H.js} +2 -2
- package/dist/arcgis-map-components/{2DIPB46I.js.LEGAL.txt → 2V5VWZ7H.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/3UB7QREU.js +5 -0
- package/dist/arcgis-map-components/{25VA6OQW.js.LEGAL.txt → 3UB7QREU.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{GVMUS7ZM.js → 3ZVJRKUT.js} +2 -2
- package/dist/arcgis-map-components/{2JRQVTXC.js.LEGAL.txt → 3ZVJRKUT.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/4G2IXHOL.js +5 -0
- package/dist/arcgis-map-components/{2DHRQGGX.js.LEGAL.txt → 4G2IXHOL.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{SIDAJRS4.js → 4JGD6VRM.js} +2 -2
- package/dist/arcgis-map-components/4JGD6VRM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{BTR6VJ5J.js → 4YWGV4VZ.js} +2 -2
- package/dist/arcgis-map-components/4YWGV4VZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{A5GLSMX7.js → 57ABHPZQ.js} +2 -2
- package/dist/arcgis-map-components/57ABHPZQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{FXKNGG4T.js → 5D5CFU6O.js} +2 -2
- package/dist/arcgis-map-components/5D5CFU6O.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OWYMDZVL.js → 5DVUA5SC.js} +2 -2
- package/dist/arcgis-map-components/5DVUA5SC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{RZSTKCFI.js → 5N73KRKS.js} +2 -2
- package/dist/arcgis-map-components/{RZSTKCFI.js.LEGAL.txt → 5N73KRKS.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/5NSWI6KI.js +5 -0
- package/dist/arcgis-map-components/5NSWI6KI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/6ASWJLM3.js +5 -0
- package/dist/arcgis-map-components/6ASWJLM3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{44W6UVT2.js → 6AUXQ2AM.js} +2 -2
- package/dist/arcgis-map-components/6AUXQ2AM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{T4J7WUMF.js → 6ZQQ4DXX.js} +2 -2
- package/dist/arcgis-map-components/6ZQQ4DXX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{DWU2YUYQ.js → 77BE7FDB.js} +2 -2
- package/dist/arcgis-map-components/77BE7FDB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{LW3E27EU.js → AKM5L4RJ.js} +2 -2
- package/dist/arcgis-map-components/AKM5L4RJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{DMG5FIJC.js → AL7MJMWC.js} +2 -2
- package/dist/arcgis-map-components/AL7MJMWC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{O2DG37KA.js → AVI4W2GK.js} +2 -2
- package/dist/arcgis-map-components/AVI4W2GK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YFB6U2BM.js → B5ADRK3P.js} +2 -2
- package/dist/arcgis-map-components/B5ADRK3P.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{F5XO6HF5.js → B6TG5QLT.js} +2 -2
- package/dist/arcgis-map-components/B6TG5QLT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7SR2WRZU.js → B7XGF5YD.js} +2 -2
- package/dist/arcgis-map-components/B7XGF5YD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/BSERRN3L.js +6 -0
- package/dist/arcgis-map-components/{5H5ITYDJ.js.LEGAL.txt → BSERRN3L.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{M5P5Y6SA.js → BYMGCTS6.js} +2 -2
- package/dist/arcgis-map-components/BYMGCTS6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{X7DLGETE.js → C3M6YSAR.js} +2 -2
- package/dist/arcgis-map-components/C3M6YSAR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{PTLHOZNB.js → CU3BZBXQ.js} +2 -2
- package/dist/arcgis-map-components/CU3BZBXQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/DBQMRKOV.js +4 -0
- package/dist/arcgis-map-components/{BUXSINZP.js → DCRGHYPQ.js} +2 -2
- package/dist/arcgis-map-components/DCRGHYPQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{25VA6OQW.js → DJMC3KZR.js} +2 -2
- package/dist/arcgis-map-components/DJMC3KZR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QJ6HRXHZ.js → E5LBF3XG.js} +2 -2
- package/dist/arcgis-map-components/E5LBF3XG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/EDZTOTF5.js +5 -0
- package/dist/arcgis-map-components/EDZTOTF5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QGO5K275.js → F7F76GX2.js} +2 -2
- package/dist/arcgis-map-components/F7F76GX2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XUTLS4VW.js → FLZHD273.js} +2 -2
- package/dist/arcgis-map-components/FLZHD273.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{NQKCZYEE.js → FO3EK3IV.js} +2 -2
- package/dist/arcgis-map-components/FO3EK3IV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{JFVGCVZU.js → FSIQMMGU.js} +2 -2
- package/dist/arcgis-map-components/{CNG5JMEI.js → FSJYJ43B.js} +2 -2
- package/dist/arcgis-map-components/{AWTCBFPE.js → FUORB3YM.js} +2 -2
- package/dist/arcgis-map-components/FUORB3YM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{DK2UENKC.js → FZQITOJE.js} +2 -2
- package/dist/arcgis-map-components/FZQITOJE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{BORKWVHK.js → G3BTQJK6.js} +2 -2
- package/dist/arcgis-map-components/G3BTQJK6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{77SDIIKQ.js → G4WA24NS.js} +2 -2
- package/dist/arcgis-map-components/G4WA24NS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{ZNWLHLQ2.js → GZ46KQY6.js} +2 -2
- package/dist/arcgis-map-components/GZ46KQY6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7P7QFGSY.js → HBLP2WGI.js} +2 -2
- package/dist/arcgis-map-components/HBLP2WGI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XFYGGUXJ.js → HNLR5KQY.js} +2 -2
- package/dist/arcgis-map-components/HNLR5KQY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QLNO5TOH.js → HOLUOHMN.js} +1 -1
- package/dist/arcgis-map-components/HOLUOHMN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/I2IKI2UB.js +5 -0
- package/dist/arcgis-map-components/{AXNTWOWB.js → IE2KS34C.js} +2 -2
- package/dist/arcgis-map-components/IE2KS34C.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{4ZTPRRAB.js → IHAMZXB4.js} +2 -2
- package/dist/arcgis-map-components/IHAMZXB4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{ENFPGACL.js → IHYM2GQK.js} +2 -2
- package/dist/arcgis-map-components/IHYM2GQK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{BPCSTZ75.js → INHMX3IT.js} +2 -2
- package/dist/arcgis-map-components/INHMX3IT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{VTKPQDTR.js → JULIXE3R.js} +2 -2
- package/dist/arcgis-map-components/JULIXE3R.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6GMKIHFI.js → JVYVLSSN.js} +2 -2
- package/dist/arcgis-map-components/JVYVLSSN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XRW7P7CN.js → K6KUJ4S4.js} +2 -2
- package/dist/arcgis-map-components/K6KUJ4S4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{O5XBFQTP.js → KEKNJXQD.js} +2 -2
- package/dist/arcgis-map-components/KEKNJXQD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{MZBEQLMM.js → KNP75WA2.js} +2 -2
- package/dist/arcgis-map-components/KNP75WA2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IRKMG4S4.js → LWIOJ3ZN.js} +2 -2
- package/dist/arcgis-map-components/LWIOJ3ZN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/M3PELCCJ.js +5 -0
- package/dist/arcgis-map-components/M3PELCCJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/MJJ4TDEB.js +4 -0
- package/dist/arcgis-map-components/{Y6GUJBYT.js → MMXFX7EL.js} +2 -2
- package/dist/arcgis-map-components/MMXFX7EL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QSWEUD4B.js → NDQHATPS.js} +2 -2
- package/dist/arcgis-map-components/NDQHATPS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{P7NQ35JH.js → NHGQDO6V.js} +2 -2
- package/dist/arcgis-map-components/NHGQDO6V.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{R7DQWHXM.js → NKEIH5PP.js} +1 -1
- package/dist/arcgis-map-components/NKEIH5PP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{MSO44UT3.js → NMFZE3UZ.js} +2 -2
- package/dist/arcgis-map-components/NMFZE3UZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YHQETCGT.js → NMPZDZ2S.js} +2 -2
- package/dist/arcgis-map-components/NMPZDZ2S.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7BJN5V4Z.js → NO6FTOD3.js} +2 -2
- package/dist/arcgis-map-components/NO6FTOD3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{S4YRUV7Q.js → O2XFFDLD.js} +2 -2
- package/dist/arcgis-map-components/O2XFFDLD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{ZAZMYWI7.js → OCYKQUUG.js} +2 -2
- package/dist/arcgis-map-components/OCYKQUUG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OAW7BYHT.js → OG4LVPEJ.js} +2 -2
- package/dist/arcgis-map-components/OG4LVPEJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HHYCRAOX.js → OU2HB3JM.js} +2 -2
- package/dist/arcgis-map-components/OU2HB3JM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HWVXKUTX.js → OUZJGBMS.js} +2 -2
- package/dist/arcgis-map-components/OUZJGBMS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IPCJPAUS.js → P5WHMLNY.js} +2 -2
- package/dist/arcgis-map-components/P5WHMLNY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{SCUWJKI4.js → RIVDZERJ.js} +4 -4
- package/dist/arcgis-map-components/{SCUWJKI4.js.LEGAL.txt → RIVDZERJ.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{4OH5ENRE.js → RZ2WH5D5.js} +2 -2
- package/dist/arcgis-map-components/RZ2WH5D5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OLARBR7H.js → S4W3R3U5.js} +2 -2
- package/dist/arcgis-map-components/S4W3R3U5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{KZ3DLGNV.js → SFER7VJF.js} +1 -1
- package/dist/arcgis-map-components/SFER7VJF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{UUC7NGSO.js → SQG2Y2ZJ.js} +2 -2
- package/dist/arcgis-map-components/SQG2Y2ZJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{NJCE2NKZ.js → TACSRGYT.js} +2 -2
- package/dist/arcgis-map-components/TACSRGYT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{CZVPBGYU.js → TGYBXA6T.js} +2 -2
- package/dist/arcgis-map-components/TGYBXA6T.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TDFW2V5G.js → TPNIAF54.js} +2 -2
- package/dist/arcgis-map-components/TPNIAF54.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{WOJE5X6J.js → UBLDJ7KC.js} +2 -2
- package/dist/arcgis-map-components/UBLDJ7KC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7NVK4SPW.js → UOEH2XW5.js} +1 -1
- package/dist/arcgis-map-components/UOEH2XW5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{RTKGRUBT.js → V75IK347.js} +2 -2
- package/dist/arcgis-map-components/V75IK347.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YHU5UAVT.js → WHHVMLND.js} +2 -2
- package/dist/arcgis-map-components/WHHVMLND.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IQNWQA6I.js → WIGHNSIA.js} +2 -2
- package/dist/arcgis-map-components/WIGHNSIA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{LA6JIKBF.js → WOR7F5KQ.js} +2 -2
- package/dist/arcgis-map-components/WOR7F5KQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2DHRQGGX.js → WR4PJQZS.js} +2 -2
- package/dist/arcgis-map-components/WR4PJQZS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/XDJTFF5G.js +5 -0
- package/dist/arcgis-map-components/XDJTFF5G.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/XEH2EAV7.js +5 -0
- package/dist/arcgis-map-components/XEH2EAV7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{JHCZ7OZS.js → XN5554S2.js} +2 -2
- package/dist/arcgis-map-components/XN5554S2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{5AT4UCTU.js → Y6ZLBB3G.js} +2 -2
- package/dist/arcgis-map-components/Y6ZLBB3G.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YGYMX7UT.js +5 -0
- package/dist/arcgis-map-components/YGYMX7UT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TF44EDA6.js → YH6EURPF.js} +2 -2
- package/dist/arcgis-map-components/YH6EURPF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{5F3RIGVF.js → YPXJQG5X.js} +2 -2
- package/dist/arcgis-map-components/YPXJQG5X.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IXNKTXQ2.js → ZAAVWBLU.js} +2 -2
- package/dist/arcgis-map-components/ZAAVWBLU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2DIPB46I.js → ZHBFSS4C.js} +2 -2
- package/dist/arcgis-map-components/ZHBFSS4C.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XXGE2GBZ.js → ZJ2BA6ZK.js} +2 -2
- package/dist/arcgis-map-components/ZJ2BA6ZK.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 +1 -1
- 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 +1 -1
- package/dist/chunks/useView.js +17 -22
- package/dist/chunks/useViewModel.js +4 -2
- package/dist/chunks/useWidget.js +66 -60
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +3 -6
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -6
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +3 -6
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +3 -6
- package/dist/components/arcgis-basemap-layer-list/customElement.js +6 -6
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -6
- package/dist/components/arcgis-bookmarks/customElement.js +6 -6
- package/dist/components/arcgis-building-explorer/customElement.d.ts +3 -6
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +3 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.js +6 -6
- package/dist/components/arcgis-compass/customElement.d.ts +1 -4
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +12 -7
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +3 -6
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -4
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +3 -6
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +3 -6
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +3 -6
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +3 -6
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +3 -6
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +3 -6
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +3 -6
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +3 -6
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +3 -6
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -6
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +3 -6
- package/dist/components/arcgis-features/customElement.js +6 -6
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -6
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +0 -2
- package/dist/components/arcgis-fullscreen/customElement.js +13 -18
- package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -4
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/interfaces.d.ts +2 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -4
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +3 -6
- package/dist/components/arcgis-layer-list/customElement.js +7 -7
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +3 -6
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -6
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +2 -8
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -4
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +2 -8
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -6
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +0 -10
- package/dist/components/arcgis-navigation-toggle/customElement.js +11 -18
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +3 -6
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +3 -6
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -4
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +3 -6
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +2 -8
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +1 -4
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -6
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -6
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +3 -6
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.d.ts +3 -6
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -4
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +13 -14
- package/dist/components/arcgis-table-list/customElement.js +6 -6
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -6
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +0 -10
- package/dist/components/arcgis-time-zone-label/customElement.js +16 -22
- package/dist/components/arcgis-track/customElement.d.ts +1 -4
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +3 -6
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +3 -6
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +3 -6
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -6
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -4
- 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 +1 -4
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +8 -9
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- 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 +1 -4
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +1 -4
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/createCloseEvent.d.ts +4 -9
- package/dist/controllers/useView.d.ts +5 -6
- package/dist/controllers/useViewModel.d.ts +2 -2
- package/dist/controllers/useWidget.d.ts +5 -4
- package/dist/docs/api.json +361 -509
- package/dist/docs/docs.json +11 -146
- package/dist/docs/vscode.html-custom-data.json +4 -18
- package/dist/docs/web-types.json +7 -44
- package/dist/index.js +1 -1
- package/dist/interfaces.d.ts +31 -0
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/component-utils.d.ts +1 -1
- package/package.json +4 -4
- package/dist/arcgis-map-components/44W6UVT2.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4C5TPRKS.js +0 -5
- package/dist/arcgis-map-components/4C5TPRKS.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4OH5ENRE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4ZTPRRAB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/5AT4UCTU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/5F3RIGVF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/5H5ITYDJ.js +0 -6
- package/dist/arcgis-map-components/66URWYMH.js +0 -5
- package/dist/arcgis-map-components/66URWYMH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6GMKIHFI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/77SDIIKQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7BJN5V4Z.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7NVK4SPW.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7P7QFGSY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7SR2WRZU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/A5GLSMX7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/AWTCBFPE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/AXNTWOWB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BORKWVHK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BPCSTZ75.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BSJDXZWJ.js +0 -5
- package/dist/arcgis-map-components/BTR6VJ5J.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BUXSINZP.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CZVPBGYU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DK2UENKC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DMG5FIJC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DWU2YUYQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ENFPGACL.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/F5XO6HF5.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/FXKNGG4T.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/G5JHSXT3.js +0 -5
- package/dist/arcgis-map-components/G5JHSXT3.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GVMUS7ZM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HHYCRAOX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HWVXKUTX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IGNGX4ON.js +0 -5
- package/dist/arcgis-map-components/IGNGX4ON.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IPCJPAUS.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IQNWQA6I.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IRKMG4S4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IXNKTXQ2.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JHCZ7OZS.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JN2KXRKA.js +0 -5
- package/dist/arcgis-map-components/JN2KXRKA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/KZ3DLGNV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LA6JIKBF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LW3E27EU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/M5P5Y6SA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MSO44UT3.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MZBEQLMM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/NJCE2NKZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/NQKCZYEE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/O2DG37KA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/O5XBFQTP.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OAW7BYHT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OLARBR7H.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OWYMDZVL.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/P7NQ35JH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PTLHOZNB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QGO5K275.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QJ6HRXHZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QLNO5TOH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QSWEUD4B.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/R7DQWHXM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/RTKGRUBT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/S4YRUV7Q.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SIDAJRS4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/T4J7WUMF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/T5WLV2PT.js +0 -5
- package/dist/arcgis-map-components/T5WLV2PT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TDFW2V5G.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TF44EDA6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/U72XH2QL.js +0 -4
- package/dist/arcgis-map-components/UGIETEQA.js +0 -5
- package/dist/arcgis-map-components/UGIETEQA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/UUC7NGSO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/VTKPQDTR.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WGHOJ6FT.js +0 -4
- package/dist/arcgis-map-components/WOJE5X6J.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/X7DLGETE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XEMTV7XM.js +0 -5
- package/dist/arcgis-map-components/XEMTV7XM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XFYGGUXJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XP37A6FD.js +0 -5
- package/dist/arcgis-map-components/XP37A6FD.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XRW7P7CN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XUTLS4VW.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XXGE2GBZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/Y6GUJBYT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YFB6U2BM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YHQETCGT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YHU5UAVT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZAZMYWI7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZNWLHLQ2.js.LEGAL.txt +0 -3
- package/dist/components/arcgis-compass/t9n-types.d.ts +0 -4
- package/dist/components/arcgis-track/t9n-types.d.ts +0 -8
- /package/dist/arcgis-map-components/{BSJDXZWJ.js.LEGAL.txt → DBQMRKOV.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{JFVGCVZU.js.LEGAL.txt → FSIQMMGU.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{CNG5JMEI.js.LEGAL.txt → FSJYJ43B.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{U72XH2QL.js.LEGAL.txt → I2IKI2UB.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{WGHOJ6FT.js.LEGAL.txt → MJJ4TDEB.js.LEGAL.txt} +0 -0
|
@@ -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.98 */
|
|
4
|
+
import{a as d,b as u}from"./FSJYJ43B.js";import{A as m,E as w,L as g,Q as $,j as b,k as n}from"./BSERRN3L.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};
|
|
@@ -1,5 +1,5 @@
|
|
|
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{$$ as _0,a as f}from"./
|
|
3
|
+
v4.33.0-next.98 */
|
|
4
|
+
import{$$ as _0,a as f}from"./O2XFFDLD.js";import{$$ as _1}from"./5NSWI6KI.js";import{a as w}from"./4JGD6VRM.js";import{a}from"./UOEH2XW5.js";import{$$ as _2,d as v}from"./I2IKI2UB.js";import{d as p}from"./MJJ4TDEB.js";import"./DBQMRKOV.js";import"./SFER7VJF.js";import{A as n,E as m,L as h,M as o,O as d,Q as g,b as l,j as c,k as i}from"./BSERRN3L.js";var _3,$$=$arcgis.t(([u])=>{var y=c`@layer{arcgis-home{display:block}}`,M={base:"esri-home"},$=f(u),r=class extends h{constructor(){super(...arguments),this.messages=w(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=v(()=>this.viewModel,"go"),this.arcgisPropertyChange=p()("state"),this.arcgisReady=n()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=m}static{this.styles=y}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){this.viewModel.go()}_go(){let{viewModel:e}=this;e.state==="going-home"?e.cancelGo():e.go()}render(){let{messages:e,icon:b}=this,t=this.viewModel?.state,s=t==="going-home";return i`<div class=${o(l(M.base,a.widget))}><calcite-button class=${o(a.widgetButton)} .disabled=${t==="disabled"} .iconStart=${s?void 0:b??void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${s?"s":"m"} title=${(t==="going-home"?e.cancel:e.title)??d}>${s?i`<calcite-loader inline label></calcite-loader>`:null}</calcite-button></div>`}};g("arcgis-home",r);_3=r},"widgets/Home/HomeViewModel",_0,_1,_2)
|
|
5
5
|
export{$$,_3 as ArcgisHome}
|
|
@@ -1,5 +1,5 @@
|
|
|
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{$$ as _0,a as A}from"./
|
|
3
|
+
v4.33.0-next.98 */
|
|
4
|
+
import{$$ as _0,a as A}from"./6ASWJLM3.js";import{$$ as _1}from"./I2IKI2UB.js";import"./MJJ4TDEB.js";import"./DBQMRKOV.js";import"./SFER7VJF.js";import{A as l,E as c,L as h,Q as r}from"./BSERRN3L.js";var _2,$$=$arcgis.t(([S])=>{var g=A(S),a=class extends h{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.autoRefreshAssociationsDisabled=this.widget.autoRefreshAssociations,this.connectivityAssociationsLineSymbol=this.widget.connectivityAssociationsLineSymbol,this.includeConnectivityAssociationsDisabled=this.widget.includeConnectivityAssociations,this.includeStructuralAttachmentAssociationsDisabled=this.widget.includeStructuralAttachmentAssociations,this.maxAllowableAssociations=this.widget.maxAllowableAssociations,this.maxAllowableAssociationsSliderMax=this.widget.maxAllowableAssociationsSliderMax,this.maxAllowableAssociationsSliderMin=this.widget.maxAllowableAssociationsSliderMin,this.maxAllowableAssociationsSliderStep=this.widget.maxAllowableAssociationsSliderStep,this.position="bottom-left",this.showArrowsConnectivity=this.widget.showArrowsConnectivity,this.showArrowsStructuralAttachment=this.widget.showArrowsStructuralAttachment,this.showAssociationsEnabled=this.widget.showAssociationsEnabled,this.structuralAttachmentAssociationsLineSymbol=this.widget.structuralAttachmentAssociationsLineSymbol,this.utilityNetwork=this.widget.utilityNetwork,this.showConnectivityAssociationsSettingsArrowsToggle=this.widget.visibleElements.connectivityAssociationsSettings.arrowsToggle,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!1,this.showConnectivityAssociationsSettingsCapSelect=this.widget.visibleElements.connectivityAssociationsSettings.capSelect,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!1,this.hideConnectivityAssociationsSettingsColorPicker=this.widget.visibleElements.connectivityAssociationsSettings.colorPicker,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.hideConnectivityAssociationsSettingsStylePicker=this.widget.visibleElements.connectivityAssociationsSettings.stylePicker,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.hideConnectivityAssociationsSettingsWidthInput=this.widget.visibleElements.connectivityAssociationsSettings.widthInput,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.showMaxAllowableAssociationsSlider=this.widget.visibleElements.maxAllowableAssociationsSlider,this.visibleElementsMaxAllowableAssociationsSlider=!1,this.showStructuralAttachmentAssociationsSettingsArrowsToggle=this.widget.visibleElements.structuralAttachmentAssociationsSettings.arrowsToggle,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!1,this.showStructuralAttachmentAssociationsSettingsCapSelect=this.widget.visibleElements.structuralAttachmentAssociationsSettings.capSelect,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!1,this.hideStructuralAttachmentAssociationsSettingsColorPicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.colorPicker,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.hideStructuralAttachmentAssociationsSettingsStylePicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.stylePicker,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.hideStructuralAttachmentAssociationsSettingsWidthInput=this.widget.visibleElements.structuralAttachmentAssociationsSettings.widthInput,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.icon=this.widget.icon,this.label=this.widget.label,this.arcgisReady=l()}static{this.properties={autoDestroyDisabled:5,autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,showConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,showConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,hideConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,hideConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,hideConnectivityAssociationsSettingsWidthInput:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,showMaxAllowableAssociationsSlider:5,visibleElementsMaxAllowableAssociationsSlider:5,showStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,showStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,hideStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,hideStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,hideStructuralAttachmentAssociationsSettingsWidthInput:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,icon:1,label:1}}static{this.shadowRootOptions=c}async destroy(){await this.manager.destroy()}async load(){if(this.el.view?.map&&this.el.view.map.portalItem){await this.el.view.map.load();let t=this.el.view.map.utilityNetworks?.getItemAt(0);await t?.load(),this.utilityNetwork=t}}willUpdate(t){this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsColorPicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsWidthInput"),this._handleVisibilityChange(t,"MaxAllowableAssociationsSlider"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsWidthInput")}_handleVisibilityChange(t,n){let s=`show${n}`,o=`hide${n}`,e=`visibleElements${n}`,i=this;t.has(s)?i[e]=!!i[s]:t.has(o)?i[e]=!i[o]:t.has(e)&&(console.warn(`${this.el.tagName.toLowerCase()}: The property ${e} is deprecated. Use ${s in i?s:o} instead.`),s in i?i[s]=!!i[e]:o in i&&(i[o]=!i[e]))}};r("arcgis-utility-network-associations",a);_2=a},"widgets/UtilityNetworkAssociations",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisUtilityNetworkAssociations}
|
|
@@ -1,5 +1,5 @@
|
|
|
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{$$ as _0,a as r}from"./
|
|
3
|
+
v4.33.0-next.98 */
|
|
4
|
+
import{$$ as _0,a as r}from"./6ASWJLM3.js";import{$$ as _1}from"./I2IKI2UB.js";import{d as n}from"./MJJ4TDEB.js";import"./DBQMRKOV.js";import"./SFER7VJF.js";import{A as s,E as o,L as a,Q as l,j as i}from"./BSERRN3L.js";var _2,$$=$arcgis.t(([g])=>{var d=i`@layer{arcgis-editor{display:block}}`,p=r(g),t=class extends a{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=n()("activeWorkflow","state"),this.arcgisReady=s()}static{this.properties={activeWorkflow:0,autoDestroyDisabled:5,headingLevel:9,hideCreateFeaturesSection:5,hideEditFeaturesSection:5,hideLabelsToggle:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,icon:1,label:1,labelOptions:0,layerInfos:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,supportingWidgetDefaults:0,tooltipOptions:0}}static{this.shadowRootOptions=o}static{this.styles=d}async cancelWorkflow(){await this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){await this.widget?.deleteFeatureFromWorkflow()}async destroy(){await this.manager.destroy()}async startCreateFeaturesWorkflowAtFeatureCreation(e){await this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(e)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(e){await this.widget?.startUpdateWorkflowAtFeatureEdit(e)}async startUpdateWorkflowAtFeatureSelection(){await this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(e){await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e)}};l("arcgis-editor",t);_2=t},"widgets/Editor",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisEditor}
|
|
@@ -1,5 +1,5 @@
|
|
|
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 l}from"./
|
|
3
|
+
v4.33.0-next.98 */
|
|
4
|
+
import{a as l}from"./B6TG5QLT.js";import{$$ as _0,a as d}from"./6ASWJLM3.js";import{$$ as _1,d as n}from"./I2IKI2UB.js";import{d as h}from"./MJJ4TDEB.js";import"./DBQMRKOV.js";import"./SFER7VJF.js";import{A as s,E as a,L as o,Q as r,j as i}from"./BSERRN3L.js";var _2,$$=$arcgis.t(([g])=>{var u=i`@layer{arcgis-features{display:flex;flex-direction:column;overflow:hidden;.esri-features{flex:1 1 auto;overflow:hidden}}}`,w=d(g),t=class extends o{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.featureNavigationTop=this.widget.featureNavigationTop,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featuresTitle=this.widget.title,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.headerActions=this.widget.headerActions,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.hideFeatureMenuHeading=this.widget.visibleElements.featureMenuHeading,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.icon=this.widget.icon,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.widget.initialDisplayMode,this.label=this.widget.label,this.map=this.widget.map,this.position="bottom-left",this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=h()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,collapsed:7,content:1,featureNavigationTop:5,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,headerActions:0,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,initialDisplayMode:1,label:1,map:0,position:1,promises:0,referenceElement:1,selectedFeature:0,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=u}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,c){return await this.widget?.fetchFeatures(e,c)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};r("arcgis-features",t);_2=t},"widgets/Features",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisFeatures}
|
|
@@ -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"./DWU2YUYQ.js";import{a as mo,b as Wt}from"./CNG5JMEI.js";import"./JFVGCVZU.js";import{a as go}from"./SIDAJRS4.js";import{d as fo}from"./WGHOJ6FT.js";import"./U72XH2QL.js";import{j as yo}from"./KZ3DLGNV.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"./5H5ITYDJ.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.98 */
|
|
4
|
+
import{a as bo}from"./77BE7FDB.js";import{a as mo,b as Wt}from"./FSJYJ43B.js";import"./FSIQMMGU.js";import{a as go}from"./4JGD6VRM.js";import{d as fo}from"./MJJ4TDEB.js";import"./DBQMRKOV.js";import{j as yo}from"./SFER7VJF.js";import{E as io,G as so,H as lo,I as co,L as uo,M as Ee,N as ho,O as be,Q as po,a as Se,b as st,i as no,k as ie,o as ao}from"./BSERRN3L.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(),co(s)){(a||!i.querySelector('[id="root-inner"]'))&&(i.innerHTML='<div id="root-inner"></div>');let u=i.querySelector('[id="root-inner"]');
|
|
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"]');ao(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 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")
|
|
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=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=${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,5 +1,5 @@
|
|
|
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{$$ as _0,a as r,c as l,d as t}from"./
|
|
3
|
+
v4.33.0-next.98 */
|
|
4
|
+
import{$$ as _0,a as r,c as l,d as t}from"./I2IKI2UB.js";import"./DBQMRKOV.js";import{d as h,e as d,f as n,g as o}from"./SFER7VJF.js";import{A as s,E as w,L as v,Q as p,j as m}from"./BSERRN3L.js";var _1,$$=$arcgis.t(([{watch:g},u,y])=>{var _=m`@layer{arcgis-scene{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,V=r(y,{}),f=r(u,{}),c=class extends v{constructor(){super(...arguments),this._camera=void 0,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._cameraFov=void 0,this._cameraHeading=void 0,this._cameraPosition=void 0,this._cameraTilt=void 0,this._map=V(this,{editConstructorProperties:this._editMapProperties}),this.view=f(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.clippingArea=this.view.clippingArea,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.environment=this.view.environment,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,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.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.visibleArea=this.view.visibleArea,this.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,alphaCompositingEnabled:5,analyses:0,autoDestroyDisabled:5,basemap:1,basemapView:0,camera:0,cameraFov:9,cameraHeading:9,cameraPosition:1,cameraTilt:9,center:1,clippingArea:0,constraints:0,displayFilterDisabled:5,environment:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,groundView:0,highlights:0,highlightOptions:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,performanceInfo:32,popup:0,popupDisabled:5,qualityProfile:1,ready:4,resolution:32,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,updating:7,viewingMode:1,viewpoint:0,visibleArea:0,zoom:9}}static{this.shadowRootOptions=w}static{this.styles=_}get camera(){return this.view.camera??this._camera}set camera(i){this._camera=i,this.ready&&!h(this.camera,i)&&(this.view.camera=i)}get cameraFov(){return this.view.camera?.fov??this._cameraFov}set cameraFov(i){this.ready&&i!=null&&this._mutateCamera(e=>{e.fov=i}),this._cameraFov=i}get cameraHeading(){return this.view.camera?.heading??this._cameraHeading}set cameraHeading(i){this.ready&&i!=null&&this._mutateCamera(e=>{e.heading=i}),this._cameraHeading=i}get cameraPosition(){return this.view.camera?.position??this._cameraPosition}set cameraPosition(i){if(this.ready){let e=o(this.view.camera?.position,i);e&&this._mutateCamera(a=>{a.position=e})}else this._cameraPosition=i}get cameraTilt(){return this.view.camera?.tilt??this._cameraTilt}set cameraTilt(i){this.ready&&i!=null&&this._mutateCamera(e=>{e.tilt=i}),this._cameraTilt=i}get center(){return this.view.center??this._center}set center(i){let e=n(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.ready&&i&&!this.extent?.equals(i)&&(this.view.extent=i),this._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?l.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error):this.view.ready!=null&&(this._map.destroy(),this._map=new y(this._editMapProperties({portalItem:{id:this._itemId}})),this.view.map=this._map)}get navigating(){return this.view.navigating}get performanceInfo(){return this.view.performanceInfo}get resolution(){return this.view.resolution}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,e){return this.view.toMap(i,e)}toScreen(i){return this.view.toScreen(i)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async viewOnReady(i,e){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(e)}async whenAnalysisView(i){return await this.view?.whenAnalysisView(i)}async whenLayerView(i){return await this.view?.whenLayerView(i)}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(()=>[g(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),g(()=>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,...a}=i;return e||(i=a),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=n(this.center,void 0);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.camera&&(i.camera=this.camera);let a=o(void 0,this.cameraPosition);return a&&(i.camera??={},i.camera.position=a),this.cameraHeading!=null&&(i.camera??={},i.camera.heading=this.cameraHeading),this.cameraTilt!=null&&(i.camera??={},i.camera.tilt=this.cameraTilt),this.cameraFov!=null&&(i.camera??={},i.camera.fov=this.cameraFov),this.zoom!==void 0&&(i.zoom=this.zoom),i}_mutateCamera(i){let e=this.view.camera.clone();i(e),h(this.view.camera,e)||(this.view.camera=e)}};p("arcgis-scene",c);_1=c},"core/reactiveUtils","views/SceneView","WebScene",_0)
|
|
5
5
|
export{$$,_1 as ArcgisScene}
|
|
@@ -1,5 +1,5 @@
|
|
|
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{$$ as _0,a as n}from"./
|
|
3
|
+
v4.33.0-next.98 */
|
|
4
|
+
import{$$ as _0,a as n}from"./6ASWJLM3.js";import{$$ as _1}from"./I2IKI2UB.js";import{d as r}from"./MJJ4TDEB.js";import"./DBQMRKOV.js";import"./SFER7VJF.js";import{A as i,E as e,L as a,Q as o,j as s}from"./BSERRN3L.js";var _2,$$=$arcgis.t(([h])=>{var l=s`@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=i()}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
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.
|
|
3
|
+
v4.33.0-next.98 */
|
|
4
4
|
function x(n){n.el.childElem&&(n.el.childElem.ownedBy=n.el);let e=m(n);if(!e){let t=g(n);if(!t){p(n);return}return u(t,n,!0),t}return y(e,n.el.parent)||(n.el.parent=e,e.tagName.toLowerCase()==="arcgis-expand"?v(e,n):e.tagName.toLowerCase()==="arcgis-placement"?h(e,n):u(e,n,!1)),e}function m({el:n}){for(let e=n.parentElement;e;e=e?.parentElement??null){if(d.has(e.tagName.toLowerCase()))return e;if("ownedBy"in e&&e.ownedBy instanceof HTMLElement&&d.has(e.ownedBy.tagName.toLowerCase()))return e.ownedBy}}var d=new Set(["arcgis-map","arcgis-scene","arcgis-link-chart","arcgis-expand","arcgis-placement"]);function y(n,e){if(n!==e)return!1;let t=n.tagName.toLowerCase();return t==="arcgis-expand"||t==="arcgis-placement"}function c(n,e,t="arcgisReady"){let o=n;if(typeof o.view?.ready=="boolean")e(o.view);else{let l=function(a){a.target===n&&(c(n,e,t),n.removeEventListener(t,l))};n.addEventListener(t,l)}}var v=(n,e)=>c(n,t=>{e.el.childElem&&n.content!=null&&n.content.append(e.el.childElem),n.expandIcon=e.icon||e.widget?.icon||n.expandIcon,e.position=n.position,e.el.view=t}),h=(n,e)=>c(n,t=>{e.el.childElem&&e.el.append(e.el.childElem),e.position=n.position,e.el.view=t}),u=(n,e,t)=>c(n,o=>{t?p(e):e.el.childElem&&E(n,e),e.el.view=o},"arcgisViewReadyChange");function E(n,e){let t=e.el.childElem??e.el,o=n?.childElem,l=[...n.children],a={};for(let r of l){if(r===o)continue;let s=r.position??"manual";a[s]??=[],a[s].push({child:r,position:s,index:l.indexOf(r)})}let w=a[e.position??"manual"]?.findIndex(({child:r})=>r===e.el),i=n.view.ui;i.remove(t),i.add(t,{position:e.position,index:w})}function L(n){let e=!1,t=n.el.view,o=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n.el),"view")??{get:()=>t,set:l=>t=l};Object.defineProperty(n.el,"view",{get:o.get.bind(n.el),set:l=>{o.set.call(n.el,l),l&&!e&&(e=!0,n.arcgisReady.emit())},configurable:!0,enumerable:!0}),t&&(n.el.view=t)}function C(n){return n==null||n===""}function N(n,e){return e!=null&&n?.position===e.position&&n?.heading===e.heading&&n?.tilt===e.tilt&&n?.fov===e.fov}function O(n,e){return e===void 0||n?.targetGeometry!==e?.targetGeometry||n?.rotation!==e?.rotation||n?.scale!==e?.scale}function B(n,e){return f(e?.center,n)}function f(n,e){if(typeof e=="string")return f(n,e.split(",").map(Number));if(!n)return e;if(Array.isArray(e)){let t=e[0],o=e[1],l=e.length>2?e[2]:void 0;if(t!==n.longitude||o!==n.latitude||l!==n.z)return e}else if(e&&!n?.equals(e))return e}async function R(n,e){e!=null&&(typeof e=="string"?n.el.view=await b(n,e):n.widget&&(n.el.view=e.view))}async function b(n,e){let t=g(n,e);return await new Promise(o=>{typeof t?.view?.ready=="boolean"?o(t.view):t&&t.addEventListener("arcgisViewReadyChange",()=>o(t.view),{once:!0})})}function p(n){n.el.childElem&&(n.el.shadowRoot??n.el).append(n.el.childElem)}function g(n,e){let t=e??n.referenceElement;if(typeof t!="string")return t??void 0;let o=t.includes("#")||t.includes(".")||t.includes("["),l=n.el.getRootNode();return(o?void 0:l.querySelector(`#${t}`))??l.querySelector(t)??void 0}var P=n=>n.el.childElem;async function F(n){let e=typeof n=="function"?n():n;e&&("setFocus"in e&&typeof e.setFocus=="function"?await e.setFocus():e instanceof HTMLElement&&e.focus())}export{x as a,L as b,C as c,N as d,O as e,B as f,f as g,R as h,P as i,F as j};
|
|
@@ -1,5 +1,5 @@
|
|
|
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{$$ as _0,a as h}from"./
|
|
3
|
+
v4.33.0-next.98 */
|
|
4
|
+
import{$$ as _0,a as h}from"./6ASWJLM3.js";import{$$ as _1,d as l}from"./I2IKI2UB.js";import{d as a}from"./MJJ4TDEB.js";import"./DBQMRKOV.js";import"./SFER7VJF.js";import{A as i,E as s,L as o,Q as r,j as e}from"./BSERRN3L.js";var _2,$$=$arcgis.t(([n])=>{var c=e`@layer{arcgis-feature-templates{display:block}}`,d=h(n),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=a()("state"),this.arcgisReady=i(),this.arcgisSelect=l(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-feature-templates",t);_2=t},"widgets/FeatureTemplates",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisFeatureTemplates}
|
|
@@ -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 c,b as h,h as d,i as s}from"./
|
|
3
|
+
v4.33.0-next.98 */
|
|
4
|
+
import{a as c,b as h,h as d,i as s}from"./SFER7VJF.js";import{A as n,E as r,L as a,Q as l,j as o}from"./BSERRN3L.js";var m=o`@layer{arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}}`,i=class extends a{constructor(){super(),this._observer=void 0,this._moveChildren=()=>{if(s(this).parentElement!==this.el)for(let t=this.el.firstElementChild;t!==null;t=this.el.firstElementChild)s(this).append(t)},this.position="bottom-left",this.arcgisReady=n();let e=this;e.el.childElem=document.createElement("div"),e.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=r}static{this.styles=m}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&d(this,this.referenceElement);let t=s(this);e.has("position")&&t&&this.position!==void 0&&this.el.view?.ui?.move(t,this.position)}loaded(){h(this),c(this)}disconnectedCallback(){super.disconnectedCallback();let e=s(this);e&&this.el.view?.ui?.remove(e),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};l("arcgis-placement",i);export{i as ArcgisPlacement};
|
|
@@ -1,5 +1,5 @@
|
|
|
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{$$ as _0,a as m}from"./
|
|
3
|
+
v4.33.0-next.98 */
|
|
4
|
+
import{$$ as _0,a as m}from"./6ASWJLM3.js";import{$$ as _1,d as i}from"./I2IKI2UB.js";import{d as a}from"./MJJ4TDEB.js";import"./DBQMRKOV.js";import{c as r,i as g}from"./SFER7VJF.js";import{A as s,E as n,L as h,Q as d,j as o}from"./BSERRN3L.js";var _2,$$=$arcgis.t(([c,w])=>{var b=o`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`,S=m(w),l=class extends h{constructor(){super(...arguments),this.widget=S(this),this.viewModel=this.widget.viewModel,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=a()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=s(),this.arcgisSelectionChange=s()}static{this.properties={attributeTableTemplate:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allRelatedTablesVisible:4,attachmentsEnabled:5,autoDestroyDisabled:5,autoRefreshDisabled:5,columnReorderingDisabled:5,columns:0,description:1,editingEnabled:5,effectiveSize:8,filterBySelectionEnabled:5,filterGeometry:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:4,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:8,showLayerDropdown:5,state:3,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1}}static{this.shadowRootOptions=n}static{this.styles=b}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(r(this.layerItemId)?this.layer=null:this.layerItemId&&c.fromPortalItem({portalItem:{id:this.layerItemId}}).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?c.fromArcGISServerUrl({url:t}).then(u=>{this.layer=u}).catch(console.error):this.layer=null}}loaded(){g(this)?.classList.add("arcgis-feature-table")}};d("arcgis-feature-table",l);_2=l},"layers/Layer","widgets/FeatureTable",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisFeatureTable}
|