@arcgis/map-components 4.33.0-next.134 → 4.33.0-next.136
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/cdn/{RMKQMEMN.js → 24WBASSH.js} +2 -2
- package/dist/cdn/{7WOAOBKC.js → 25GIHOAR.js} +2 -2
- package/dist/cdn/{FG5EIWRX.js → 2BWNKFZW.js} +2 -2
- package/dist/cdn/{KSHH6GQR.js → 2ELONJFJ.js} +2 -2
- package/dist/cdn/{NHDQJEAG.js → 2OCYM3OK.js} +2 -2
- package/dist/cdn/{KDC2UV6B.js → 2U3NM53O.js} +2 -2
- package/dist/cdn/{I2FV7K5T.js → 34PJWM5S.js} +2 -2
- package/dist/cdn/{O4F7TKD5.js → 3G3LVX2U.js} +2 -2
- package/dist/cdn/{MEOLRNO4.js → 3XNP3PSG.js} +2 -2
- package/dist/cdn/{X4THXW4D.js → 3XXP6T6D.js} +1 -1
- package/dist/cdn/{3F6AK3P5.js → 47MNULJ4.js} +1 -1
- package/dist/cdn/{TU6KYP7T.js → 4OH6ZQSR.js} +3 -3
- package/dist/cdn/{FO5RUVE5.js → 4S3FYMV3.js} +2 -2
- package/dist/cdn/4XMFLJJI.js +4 -0
- package/dist/cdn/57J7ZHCC.js +4 -0
- package/dist/cdn/{AN3H7JBS.js → 5CTZNTHB.js} +2 -2
- package/dist/cdn/5OJGMLTM.js +4 -0
- package/dist/cdn/{2KQQLPTV.js → 5ZIN5VIU.js} +2 -2
- package/dist/cdn/62NRGBON.js +4 -0
- package/dist/cdn/{ZZELAEUC.js → 6E5B576C.js} +2 -2
- package/dist/cdn/{3MZXCEMA.js → 6J2EHGJB.js} +1 -1
- package/dist/cdn/{23OI722H.js → 6JC2Q2KY.js} +2 -2
- package/dist/cdn/{5N2TJIQ4.js → 7AMN2VPJ.js} +2 -2
- package/dist/cdn/{54KXWUSA.js → 7D6VNKHP.js} +2 -2
- package/dist/cdn/{AGFK64H6.js → 7HU7RIXG.js} +2 -2
- package/dist/cdn/7IV7MLK2.js +4 -0
- package/dist/cdn/{UU2NHRIZ.js → ADGC7BZI.js} +2 -2
- package/dist/cdn/{ENYG7LSB.js → AH2ZG75G.js} +2 -2
- package/dist/cdn/{2JS3KM3M.js → AKYPLUTO.js} +2 -2
- package/dist/cdn/{DZ2ITH6U.js → BA4MEMIO.js} +2 -2
- package/dist/cdn/{JCILC2QW.js → BLCGQIIG.js} +2 -2
- package/dist/cdn/BP57OBWN.js +4 -0
- package/dist/cdn/CHXEQ2UW.js +4 -0
- package/dist/cdn/{TCEQGQY3.js → CLSVAQ4G.js} +2 -2
- package/dist/cdn/{MEUPM4H2.js → CPTQQPY2.js} +2 -2
- package/dist/cdn/{ELMNGZ73.js → DTVBVHKG.js} +2 -2
- package/dist/cdn/{QQQO5OZJ.js → EQLVXNT2.js} +2 -2
- package/dist/cdn/{CJQB2FO7.js → ESYIRKJZ.js} +2 -2
- package/dist/cdn/ET44LS3A.js +4 -0
- package/dist/cdn/{TLVRAKDM.js → EUDGCLCR.js} +2 -2
- package/dist/cdn/EXVPDO2O.js +4 -0
- package/dist/cdn/EYI6GI7E.js +4 -0
- package/dist/cdn/{D2CQY52A.js → F5IQLE3G.js} +2 -2
- package/dist/cdn/{B6I4XC63.js → FC2AIUU4.js} +1 -1
- package/dist/cdn/{XATXT6JG.js → FWH2SDOO.js} +2 -2
- package/dist/cdn/{D2CS6QOI.js → FZW76KJQ.js} +2 -2
- package/dist/cdn/{CN3CYBER.js → GBCKXZW6.js} +2 -2
- package/dist/cdn/{O4UB67MY.js → GOBTKC4E.js} +2 -2
- package/dist/cdn/{ZBRPVKHV.js → GURL6AVS.js} +2 -2
- package/dist/cdn/{HJPTQKLW.js → HAKRJX2P.js} +2 -2
- package/dist/cdn/{Y5IGUQNB.js → HBIM6ODS.js} +2 -2
- package/dist/cdn/{PMSITYUX.js → HHQII7OF.js} +2 -2
- package/dist/cdn/{VLCH2QKH.js → I2HLEB6L.js} +2 -2
- package/dist/cdn/{ANO664MB.js → IBQZQ7NO.js} +2 -2
- package/dist/cdn/{GSUTCKJM.js → IGZF7C2L.js} +2 -2
- package/dist/cdn/IHGISFTT.js +4 -0
- package/dist/cdn/{4D4LC6GM.js → IMWUONNH.js} +2 -2
- package/dist/cdn/IPRFR6DT.js +4 -0
- package/dist/cdn/{TW7RP6MF.js → J3TOTWFC.js} +2 -2
- package/dist/cdn/{S3BYBKCY.js → JAN5HG3G.js} +2 -2
- package/dist/cdn/{H4DXHSX3.js → JM6NPZAW.js} +2 -2
- package/dist/cdn/{S35645EM.js → JRGKAE6F.js} +2 -2
- package/dist/cdn/JU5LW5WD.js +4 -0
- package/dist/cdn/{C2VY7NP6.js → JXRFEX3Q.js} +2 -2
- package/dist/cdn/{L7GS6JDE.js → K2ITHZ7S.js} +2 -2
- package/dist/cdn/{7HB5OUVY.js → KI5QKUMW.js} +2 -2
- package/dist/cdn/{3XUBNTNU.js → KVVOGNVV.js} +2 -2
- package/dist/cdn/{7QPHHW35.js → LEOKJPJQ.js} +2 -2
- package/dist/cdn/LOBFBGWD.js +4 -0
- package/dist/cdn/MAJRJT3G.js +4 -0
- package/dist/cdn/{NY5O73HR.js → MCMV52SD.js} +2 -2
- package/dist/cdn/{NYGTS4FB.js → MLGAD27T.js} +2 -2
- package/dist/cdn/{MOAZ5BVK.js → MUQ32RUE.js} +1 -1
- package/dist/cdn/{QEPNROB6.js → NJEGSU4S.js} +2 -2
- package/dist/cdn/{JU7KX43S.js → NWKOHTGA.js} +2 -2
- package/dist/cdn/{UN3V73KV.js → O374NYBD.js} +2 -2
- package/dist/cdn/{AW5OMYSA.js → OQPILQIR.js} +2 -2
- package/dist/cdn/{CJUGBP4K.js → OSJ6OFRU.js} +2 -2
- package/dist/cdn/{MXKIQRE5.js → PCRMIW56.js} +2 -2
- package/dist/cdn/{7WL5RBOQ.js → PE52DDMH.js} +2 -2
- package/dist/cdn/{KU35P7DM.js → PF6QUHKZ.js} +2 -2
- package/dist/cdn/PX235H7X.js +4 -0
- package/dist/cdn/{3AIONWJX.js → Q3IHR5JP.js} +2 -2
- package/dist/cdn/{IL66JGVD.js → Q6MBU3KQ.js} +2 -2
- package/dist/cdn/{XFNOPH5I.js → RDNLBAOK.js} +2 -2
- package/dist/cdn/{D2BYDBPC.js → RP2AVIBP.js} +1 -1
- package/dist/cdn/RRAN3GV5.js +4 -0
- package/dist/cdn/{IHIFYK7Y.js → SEORCENQ.js} +2 -2
- package/dist/cdn/{STT5NJIE.js → SQ7IRME2.js} +2 -2
- package/dist/cdn/{42MIJMX6.js → SYEDGBKA.js} +2 -2
- package/dist/cdn/{RTQSRI3K.js → TRTMNVI6.js} +2 -2
- package/dist/cdn/U6NUSLXQ.js +4 -0
- package/dist/cdn/{DGSOS5H2.js → U7BSTI4W.js} +2 -2
- package/dist/cdn/{YMHVHAZC.js → UCIYMFVJ.js} +2 -2
- package/dist/cdn/{Q53VL6PZ.js → URLKREBV.js} +2 -2
- package/dist/cdn/{EO4OBPKE.js → UZBOO73Z.js} +2 -2
- package/dist/cdn/{TS5TCITC.js → VIIEZ6AL.js} +2 -2
- package/dist/cdn/{UEK43EBB.js → VKJE37GQ.js} +2 -2
- package/dist/cdn/{4ANOYOHQ.js → VZVTX75Y.js} +2 -2
- package/dist/cdn/{QQIV3RDX.js → WIWG2LGN.js} +2 -2
- package/dist/cdn/WKVMC47S.js +4 -0
- package/dist/cdn/{7KQKKOYF.js → WNJVX6RI.js} +2 -2
- package/dist/cdn/{NRW2PQJX.js → WQ3BAHLE.js} +2 -2
- package/dist/cdn/{6KHOVKDB.js → WTYFC75N.js} +2 -2
- package/dist/cdn/X2X6B3YN.js +4 -0
- package/dist/cdn/{2YEFTDLZ.js → X3ZJJBIA.js} +2 -2
- package/dist/cdn/{AO3CAXWJ.js → X5H4BNWJ.js} +2 -2
- package/dist/cdn/{XTBGQE4C.js → XBHXC4AC.js} +2 -2
- package/dist/cdn/{ZC4CEK3E.js → XDT45WCB.js} +2 -2
- package/dist/cdn/{PZHATGI4.js → XGKSB2HZ.js} +2 -2
- package/dist/cdn/{OZYW7NDH.js → XKZ3QPCQ.js} +2 -2
- package/dist/cdn/{3WF2HDSN.js → Y4BGHULQ.js} +2 -2
- package/dist/cdn/YKYALGDF.js +4 -0
- package/dist/cdn/YMUJRFGB.js +4 -0
- package/dist/cdn/{5C4FFT2O.js → YW35NM5X.js} +2 -2
- package/dist/cdn/{E5EXNCBO.js → YXE7BY2K.js} +2 -2
- package/dist/cdn/{WDJETQ3C.js → YZGU7UEH.js} +2 -2
- package/dist/cdn/assets/search/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +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/maybe.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +2 -2
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +7 -8
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +6 -7
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +3 -9
- 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 +6 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +5 -11
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +7 -8
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +6 -7
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +6 -7
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +2 -3
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +7 -8
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +6 -7
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -4
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +7 -10
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +6 -7
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +6 -7
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +5 -6
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +5 -6
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +6 -7
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +6 -9
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +5 -6
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +5 -6
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -6
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +6 -9
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -6
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +4 -5
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +6 -6
- package/dist/components/arcgis-grid-controls/customElement.js +36 -36
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +4 -5
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +3 -3
- package/dist/components/arcgis-labeled-switch/customElement.js +12 -12
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -6
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +4 -5
- package/dist/components/arcgis-layer-list-item/customElement.js +2 -2
- package/dist/components/arcgis-legend/customElement.d.ts +6 -7
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -5
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -4
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +4 -4
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +1 -3
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -6
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +3 -4
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +6 -7
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +1 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +6 -7
- package/dist/components/arcgis-print/customElement.js +6 -6
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -4
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -3
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -3
- package/dist/components/arcgis-print-exports-panel/customElement.js +5 -8
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +0 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +11 -11
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -3
- package/dist/components/arcgis-print-layout-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -5
- package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -2
- package/dist/components/arcgis-print-map-only-panel/customElement.js +2 -2
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +0 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +13 -13
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.d.ts +0 -1
- package/dist/components/arcgis-print-template-select/customElement.js +10 -10
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -2
- package/dist/components/arcgis-print-template-selector/customElement.js +12 -12
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -4
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -7
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +2 -4
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +2 -2
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -3
- package/dist/components/arcgis-search-result-renderer/customElement.js +6 -6
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +11 -7
- package/dist/components/arcgis-shadow-cast/customElement.js +12 -6
- package/dist/components/arcgis-sketch/customElement.d.ts +6 -7
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +4 -5
- package/dist/components/arcgis-slice/customElement.js +14 -14
- package/dist/components/arcgis-slider/customElement.d.ts +5 -6
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +3 -4
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +5 -6
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -6
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +11 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +10 -10
- package/dist/components/arcgis-track/customElement.d.ts +4 -5
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +27 -0
- package/dist/components/arcgis-unit-select/customElement.js +39 -0
- package/dist/components/arcgis-unit-select/index.d.ts +4 -0
- package/dist/components/arcgis-unit-select/index.js +4 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +7 -8
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +7 -8
- package/dist/components/arcgis-utility-network-trace/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -8
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -6
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +5 -6
- 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.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +3 -4
- package/dist/components/arcgis-video-player/customElement.js +7 -7
- 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 +13 -13
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +2 -3
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +4 -5
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/useView.d.ts +1 -1
- package/dist/controllers/useViewModel.d.ts +2 -2
- package/dist/controllers/useWidget.d.ts +2 -2
- package/dist/docs/api.json +352 -698
- package/dist/docs/docs.json +92 -81
- package/dist/docs/vscode.html-custom-data.json +39 -40
- package/dist/docs/web-types.json +56 -56
- package/dist/index.js +1 -1
- package/dist/loader.js +4 -3
- package/dist/types/lumina.d.ts +8 -9
- package/dist/types/preact.d.ts +8 -9
- package/dist/types/react.d.ts +8 -9
- package/dist/types/stencil.d.ts +8 -9
- package/dist/utils/component-utils.d.ts +1 -1
- package/package.json +7 -7
- package/dist/cdn/5KR5KOIJ.js +0 -4
- package/dist/cdn/6PHGSWRE.js +0 -4
- package/dist/cdn/B2KI2FLP.js +0 -4
- package/dist/cdn/B3BTM3FD.js +0 -4
- package/dist/cdn/BBALY2OJ.js +0 -4
- package/dist/cdn/D6NYVSRC.js +0 -4
- package/dist/cdn/DBYXOKQO.js +0 -4
- package/dist/cdn/FLJ3KA75.js +0 -4
- package/dist/cdn/GAMS4ACG.js +0 -4
- package/dist/cdn/I2SCZLWX.js +0 -4
- package/dist/cdn/IOFGWJTY.js +0 -4
- package/dist/cdn/MP4TJF7K.js +0 -4
- package/dist/cdn/NDMIFFZY.js +0 -4
- package/dist/cdn/QWM3QOJC.js +0 -4
- package/dist/cdn/TBVYT2FT.js +0 -4
- package/dist/cdn/X3JNS46K.js +0 -4
- package/dist/cdn/XQISG42Y.js +0 -4
- package/dist/cdn/ZH5ZKMWE.js +0 -4
- package/dist/cdn/ZNMVPPYO.js +0 -4
- package/dist/cdn/ZSR3VQEM.js +0 -4
- package/dist/cdn/ZVOCBYMJ.js +0 -4
- /package/dist/{main.css → cdn/main.css} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as n } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as t } from "lit-html";
|
|
3
3
|
import { classes as c } from "@arcgis/components-utils";
|
|
4
|
-
import
|
|
5
|
-
import { LitElement as
|
|
4
|
+
import d from "@arcgis/core/widgets/Print/PrintViewModel.js";
|
|
5
|
+
import { LitElement as h, createEvent as l, noShadowRoot as p, safeClassMap as r } from "@arcgis/lumina";
|
|
6
6
|
import { usePropertyChange as m } from "@arcgis/lumina/controllers";
|
|
7
7
|
import { u as g } from "../../chunks/useT9n.js";
|
|
8
8
|
import { m as w } from "../../chunks/useViewModel.js";
|
|
@@ -10,17 +10,17 @@ import { g as o } from "../../chunks/globalCss.js";
|
|
|
10
10
|
import { css as v } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
13
|
-
v4.33.0-next.
|
|
13
|
+
v4.33.0-next.136 */
|
|
14
14
|
const u = v`@layer{:root{--panel-min-height--large: 240px;--side-spacing: var(--calcite-spacing-lg);--cap-spacing: var(--calcite-spacing-md)}.arcgis-print{display:flex;position:relative;flex-grow:1;padding:0;min-height:var(--panel-min-height--large)!important;overflow-y:auto}.arcgis-print section[aria-hidden=true]{display:none}.arcgis-print__panel-items--centered{display:flex;align-items:center}.arcgis-print__container{display:flex;flex-direction:column;flex-grow:1}.arcgis-print__header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.arcgis-print__panel--error{color:var(--calcite-color-status-danger)}arcgis-print-template-selector{overflow-y:hidden;display:flex}}`, i = "arcgis-print", s = {
|
|
15
15
|
base: i,
|
|
16
16
|
headerTitle: `${i}__header-title`,
|
|
17
17
|
panelItemsCentered: `${i}__panel-items--centered`,
|
|
18
18
|
printWidgetContainer: `${i}__container`,
|
|
19
19
|
panelError: `${i}__panel--error`
|
|
20
|
-
}, f = w(
|
|
21
|
-
class _ extends
|
|
20
|
+
}, f = w(d);
|
|
21
|
+
class _ extends h {
|
|
22
22
|
constructor() {
|
|
23
|
-
super(...arguments), this.messages = g({ blocking: !0 }), this.viewModel = f(this), this._showTemplates = !1, this.error = this.viewModel.error, this.hideHeader = !1, this.position = "top-left", this.icon = "print", this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.
|
|
23
|
+
super(...arguments), this.messages = g({ blocking: !0 }), this.viewModel = f(this), this._showTemplates = !1, this.error = this.viewModel.error, this.hideHeader = !1, this.position = "top-left", this.icon = "print", this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = m()("state"), this.arcgisReady = l(), this.arcgisComplete = l(), this.arcgisSubmit = l();
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
26
|
this.properties = { _showTemplates: 16, error: 16, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, allowedFormats: 1, allowedLayouts: 1, browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
@@ -4,7 +4,7 @@ import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as u, noShadowRoot as p } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.136 */
|
|
8
8
|
class d extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { viewModel: 0 };
|
|
@@ -4,7 +4,7 @@ import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as d, noShadowRoot as c } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.136 */
|
|
8
8
|
function l(s, i, t, e) {
|
|
9
9
|
if (t == null || e == null)
|
|
10
10
|
return { height: 0, width: 0 };
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import {
|
|
4
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent, EventEmitter } from '@arcgis/lumina';
|
|
5
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
6
|
-
import { EventEmitter } from '@arcgis/lumina/controllers';
|
|
7
5
|
|
|
8
6
|
/** @private */
|
|
9
7
|
export declare class PrintExportButton extends LitElement {
|
|
10
8
|
viewModel: __esri.PrintViewModel;
|
|
11
9
|
messages: ArcgisPrint["messages"];
|
|
12
|
-
fileName
|
|
10
|
+
fileName?: string;
|
|
13
11
|
selectExportsTab: () => void;
|
|
14
12
|
arcgisSubmit: EventEmitter<{
|
|
15
13
|
link: __esri.FileLink;
|
|
@@ -3,7 +3,7 @@ import { html as r } from "lit-html";
|
|
|
3
3
|
import { LitElement as l, noShadowRoot as n } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
6
|
-
v4.33.0-next.
|
|
6
|
+
v4.33.0-next.136 */
|
|
7
7
|
class c extends l {
|
|
8
8
|
static {
|
|
9
9
|
this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0, arcgisSubmit: 0, arcgisComplete: 0 };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { Nil } from '@arcgis/components-utils';
|
|
4
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
4
|
import { Formats } from '../arcgis-print/interfaces';
|
|
6
5
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
7
6
|
|
|
8
7
|
/** @private */
|
|
9
8
|
export declare class PrintExportedLink extends LitElement {
|
|
10
|
-
saveAsButtonCallback
|
|
11
|
-
allowedFormatsForSaving
|
|
9
|
+
saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem>;
|
|
10
|
+
allowedFormatsForSaving?: Formats;
|
|
12
11
|
exportedLink: __esri.FileLink;
|
|
13
12
|
viewModel: __esri.PrintViewModel;
|
|
14
13
|
messages: ArcgisPrint["messages"];
|
|
@@ -6,7 +6,7 @@ import { LitElement as $, noShadowRoot as b, nothing as u, safeClassMap as c } f
|
|
|
6
6
|
import { css as w } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.136 */
|
|
10
10
|
const x = w`@layer{.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}}`, d = "arcgis-print", m = {
|
|
11
11
|
exportedFile: `${d}__exported-file`,
|
|
12
12
|
exportedFileLinkTitle: `${d}__exported-file-link-title`,
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { Nil } from '@arcgis/components-utils';
|
|
4
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
4
|
import { Formats } from '../arcgis-print/interfaces';
|
|
6
5
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
7
6
|
|
|
8
7
|
/** @private */
|
|
9
8
|
export declare class PrintExportsPanel extends LitElement {
|
|
10
|
-
saveAsButtonCallback
|
|
9
|
+
saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem>;
|
|
11
10
|
viewModel: __esri.PrintViewModel;
|
|
12
11
|
messages: ArcgisPrint["messages"];
|
|
13
|
-
allowedFormatsForSaving
|
|
12
|
+
allowedFormatsForSaving?: Formats;
|
|
14
13
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as i } from "lit-html";
|
|
3
|
-
import { classes as
|
|
3
|
+
import { classes as r } from "@arcgis/components-utils";
|
|
4
4
|
import { LitElement as c, safeClassMap as o } from "@arcgis/lumina";
|
|
5
5
|
import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.136 */
|
|
9
9
|
const d = p`.arcgis-print__export-section--centered{text-align:center}.esri-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`, e = "arcgis-print", t = {
|
|
10
10
|
exportSection: `${e}__export-section`,
|
|
11
11
|
panelContainer: `${e}__panel-container`,
|
|
@@ -14,9 +14,6 @@ const d = p`.arcgis-print__export-section--centered{text-align:center}.esri-prin
|
|
|
14
14
|
exportSectionCentered: `${e}__export-section--centered`
|
|
15
15
|
};
|
|
16
16
|
class m extends c {
|
|
17
|
-
constructor() {
|
|
18
|
-
super(...arguments), this.allowedFormatsForSaving = null;
|
|
19
|
-
}
|
|
20
17
|
static {
|
|
21
18
|
this.properties = { saveAsButtonCallback: 0, viewModel: 0, messages: 0, allowedFormatsForSaving: 1 };
|
|
22
19
|
}
|
|
@@ -30,10 +27,10 @@ class m extends c {
|
|
|
30
27
|
const s = this.viewModel.exportedLinks, n = {
|
|
31
28
|
[t.exportSectionCentered]: !s.length
|
|
32
29
|
};
|
|
33
|
-
return i`<section class=${o(
|
|
30
|
+
return i`<section class=${o(r(t.exportSection, n))} role=tabpanel><div class=${o(t.panelContainer)}>${s.length === 0 ? i`<div class=${o(t.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${o(t.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>` : i`<calcite-list .filterEnabled=${s.length > 10} .label=${this.messages.exportedLinksList}>${s.map((a) => i`<arcgis-print-exported-link .exportedLink=${a} .viewModel=${this.viewModel} .messages=${this.messages} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exported-link>`)}</calcite-list>`}</div></section>`;
|
|
34
31
|
}
|
|
35
32
|
}
|
|
36
|
-
|
|
33
|
+
l("arcgis-print-exports-panel", m);
|
|
37
34
|
export {
|
|
38
35
|
m as PrintExportsPanel
|
|
39
36
|
};
|
|
@@ -6,7 +6,7 @@ import { LitElement as n, noShadowRoot as p } from "@arcgis/lumina";
|
|
|
6
6
|
import { f as c } from "../../chunks/utils.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.136 */
|
|
10
10
|
class d extends n {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this._formats = [];
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
|
-
import { Nil } from '@arcgis/components-utils';
|
|
6
5
|
|
|
7
6
|
/** @private */
|
|
8
7
|
export declare class PrintLayoutAdvancedOptions extends LitElement {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as a } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as t } from "lit-html";
|
|
3
3
|
import { keyed as i } from "lit-html/directives/keyed.js";
|
|
4
4
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { css as
|
|
7
|
-
import { u as
|
|
5
|
+
import { LitElement as n, safeClassMap as o } from "@arcgis/lumina";
|
|
6
|
+
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
|
+
import { u as l } from "../../chunks/useHandles.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
11
|
-
const c =
|
|
10
|
+
v4.33.0-next.136 */
|
|
11
|
+
const c = r`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, h = "arcgis-print", p = {
|
|
12
12
|
advancedOptionsContainer: `${h}__advanced-options-container`
|
|
13
13
|
};
|
|
14
|
-
class d extends
|
|
14
|
+
class d extends n {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this._handles =
|
|
16
|
+
super(...arguments), this._handles = l("disconnect");
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
19
|
this.properties = { _selectedTemplate: 16, _showAuthorInput: 16, _showCopyrightInput: 16, _showLegendInput: 16, _showNorthArrowInput: 16, _showScaleBarInput: 16, viewModel: 0, messages: 0 };
|
|
@@ -24,7 +24,7 @@ class d extends a {
|
|
|
24
24
|
loaded() {
|
|
25
25
|
this.manager.onLifecycle(() => [
|
|
26
26
|
s(() => this.viewModel.templateOptions.id, (e) => {
|
|
27
|
-
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) :
|
|
27
|
+
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(s(() => [
|
|
28
28
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,
|
|
29
29
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,
|
|
30
30
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,
|
|
@@ -37,7 +37,7 @@ class d extends a {
|
|
|
37
37
|
]);
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${
|
|
40
|
+
return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${o(p.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}</div>`;
|
|
41
41
|
}
|
|
42
42
|
_renderScaleSection() {
|
|
43
43
|
return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`;
|
|
@@ -67,7 +67,7 @@ class d extends a {
|
|
|
67
67
|
return this._showScaleBarInput ? t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${(e) => this.viewModel.templateOptions.scaleBarEnabled = e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label></div>` : null;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
|
|
70
|
+
a("arcgis-print-layout-advanced-options", d);
|
|
71
71
|
export {
|
|
72
72
|
d as PrintLayoutAdvancedOptions
|
|
73
73
|
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import {
|
|
4
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent, EventEmitter } from '@arcgis/lumina';
|
|
5
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
6
|
-
import { EventEmitter } from '@arcgis/lumina/controllers';
|
|
7
5
|
|
|
8
6
|
/** @private */
|
|
9
7
|
export declare class PrintLayoutPanel extends LitElement {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as n } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as e } from "lit-html";
|
|
3
3
|
import { classes as c } from "@arcgis/components-utils";
|
|
4
4
|
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
@@ -7,7 +7,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
import { u as m } from "../../chunks/useHandles.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.136 */
|
|
11
11
|
const h = d`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}`, a = "arcgis-print", s = {
|
|
12
12
|
advancedOptionsSection: `${a}__advanced-options-section`,
|
|
13
13
|
layoutSection: `${a}__layout-section`,
|
|
@@ -15,7 +15,7 @@ const h = d`.arcgis-print__advanced-options-section{border:1px solid var(--calci
|
|
|
15
15
|
};
|
|
16
16
|
class u extends p {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this._handles = m("disconnect")
|
|
18
|
+
super(...arguments), this._handles = m("disconnect");
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
21
|
this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0, arcgisSubmit: 0, arcgisComplete: 0 };
|
|
@@ -26,7 +26,7 @@ class u extends p {
|
|
|
26
26
|
loaded() {
|
|
27
27
|
this.manager.onLifecycle(() => [
|
|
28
28
|
l(() => this.viewModel.templateOptions.id, (t) => {
|
|
29
|
-
this._handles.removeHandles("template-handle"), this._selectedTemplate = t ? this.viewModel.getLayoutTemplateById(t) :
|
|
29
|
+
this._handles.removeHandles("template-handle"), this._selectedTemplate = t ? this.viewModel.getLayoutTemplateById(t) ?? void 0 : void 0, this._handles.addHandles(l(() => this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText, () => {
|
|
30
30
|
this._showSelectedTemplateTitleText = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText ?? !0;
|
|
31
31
|
}, { initial: !0 }), "template-handle");
|
|
32
32
|
}, { initial: !0 })
|
|
@@ -38,8 +38,8 @@ class u extends p {
|
|
|
38
38
|
_renderTitleInput() {
|
|
39
39
|
if (!this._showSelectedTemplateTitleText)
|
|
40
40
|
return null;
|
|
41
|
-
const { title: t, titlePlaceHolder:
|
|
42
|
-
return e`<calcite-label>${t}<calcite-input .placeholder=${
|
|
41
|
+
const { title: t, titlePlaceHolder: o } = this.messages;
|
|
42
|
+
return e`<calcite-label>${t}<calcite-input .placeholder=${o} .value=${this.viewModel.templateOptions.title ?? ""} @calciteInputInput=${(r) => {
|
|
43
43
|
this.viewModel.templateOptions.title = r.currentTarget.value;
|
|
44
44
|
}}></calcite-input></calcite-label>`;
|
|
45
45
|
}
|
|
@@ -53,10 +53,10 @@ class u extends p {
|
|
|
53
53
|
return e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(c(s.panelContainer, s.advancedOptionsSection))} collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
|
|
54
54
|
}
|
|
55
55
|
_renderExportButton() {
|
|
56
|
-
return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-export-button>`;
|
|
56
|
+
return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-export-button>`;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
n("arcgis-print-layout-panel", u);
|
|
60
60
|
export {
|
|
61
61
|
u as PrintLayoutPanel
|
|
62
62
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import {
|
|
4
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent, EventEmitter } from '@arcgis/lumina';
|
|
5
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
6
5
|
import { Formats } from '../arcgis-print/interfaces';
|
|
7
|
-
import { EventEmitter } from '@arcgis/lumina/controllers';
|
|
8
6
|
|
|
9
7
|
/** @private */
|
|
10
8
|
export declare class PrintMainPanel extends LitElement {
|
|
11
|
-
saveAsButtonCallback
|
|
9
|
+
saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem>;
|
|
12
10
|
viewModel: __esri.PrintViewModel;
|
|
13
11
|
messages: ArcgisPrint["messages"];
|
|
14
12
|
showTemplateSelector: () => void;
|
|
15
|
-
allowedFormatsForSaving
|
|
13
|
+
allowedFormatsForSaving?: Formats;
|
|
16
14
|
arcgisSubmit: EventEmitter<{
|
|
17
15
|
link: __esri.FileLink;
|
|
18
16
|
}>;
|
|
@@ -7,17 +7,17 @@ import { u as c } from "../../chunks/useHandles.js";
|
|
|
7
7
|
import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
11
|
-
const
|
|
12
|
-
class
|
|
10
|
+
v4.33.0-next.136 */
|
|
11
|
+
const p = o`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
|
|
12
|
+
class n extends i {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1
|
|
14
|
+
super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1;
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { _selectedTab: 16, _hasPendingExport: 16, saveAsButtonCallback: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1, arcgisSubmit: 0, arcgisComplete: 0 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.styles =
|
|
20
|
+
this.styles = p;
|
|
21
21
|
}
|
|
22
22
|
loaded() {
|
|
23
23
|
this.manager.onLifecycle(() => [
|
|
@@ -47,7 +47,7 @@ class p extends i {
|
|
|
47
47
|
return a`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this._selectExportsTab.bind(this)} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs></div>`;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
s("arcgis-print-main-panel",
|
|
50
|
+
s("arcgis-print-main-panel", n);
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
n as PrintMainPanel
|
|
53
53
|
};
|
|
@@ -4,7 +4,7 @@ import { LitElement as s, safeClassMap as n } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as a } from "@lit/reactive-element/css-tag.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.136 */
|
|
8
8
|
const r = a`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, c = "arcgis-print", o = {
|
|
9
9
|
advancedOptionsContainer: `${c}__advanced-options-container`
|
|
10
10
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent, EventEmitter } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
|
-
import { EventEmitter } from '@arcgis/lumina/controllers';
|
|
6
5
|
|
|
7
6
|
/** @private */
|
|
8
7
|
export declare class PrintMapOnlyPanel extends LitElement {
|
|
@@ -5,7 +5,7 @@ import { LitElement as o, safeClassMap as a } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.136 */
|
|
9
9
|
const d = p`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__map-only-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__size-container{--button-width: 32px;display:inline-grid;grid-template-columns:1fr 1fr var(--button-width);column-gap:var(--calcite-spacing-xs);width:100%}.arcgis-print__swap-button{flex:1 0 auto;border:none;color:var(--calcite-color-border-input);align-self:flex-end;margin-bottom:var(--calcite-spacing-md)}.arcgis-print__swap-button calcite-button{width:var(--button-width);height:var(--button-width)}`, s = "arcgis-print", t = {
|
|
10
10
|
advancedOptionsSection: `${s}__advanced-options-section`,
|
|
11
11
|
mapOnlySection: `${s}__map-only-section`,
|
|
@@ -47,7 +47,7 @@ class m extends o {
|
|
|
47
47
|
return e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${a(n(t.panelContainer, t.advancedOptionsSection))} collapsible .heading=${this.messages.advancedOptions}><arcgis-print-map-only-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-map-only-advanced-options></calcite-block>`;
|
|
48
48
|
}
|
|
49
49
|
_renderExportButton() {
|
|
50
|
-
return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.fileName} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-export-button>`;
|
|
50
|
+
return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.fileName ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-export-button>`;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
c("arcgis-print-map-only-panel", m);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { Nil } from '@arcgis/components-utils';
|
|
4
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
6
5
|
|
|
@@ -2,27 +2,27 @@ import { c as o } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { html as r } from "lit-html";
|
|
3
3
|
import { keyed as u } from "lit-html/directives/keyed.js";
|
|
4
4
|
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
-
import { LitElement as d, safeClassMap as
|
|
5
|
+
import { LitElement as d, safeClassMap as n } from "@arcgis/lumina";
|
|
6
6
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
10
|
-
const m = f`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`,
|
|
11
|
-
srLabel: `${
|
|
12
|
-
invalidWkidText: `${
|
|
9
|
+
v4.33.0-next.136 */
|
|
10
|
+
const m = f`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`, l = "arcgis-print", s = {
|
|
11
|
+
srLabel: `${l}__sr-label`,
|
|
12
|
+
invalidWkidText: `${l}__invalid-wkid-text`
|
|
13
13
|
};
|
|
14
|
-
function
|
|
14
|
+
function v(e) {
|
|
15
15
|
if (e == null)
|
|
16
16
|
return !1;
|
|
17
17
|
const t = e.wkid;
|
|
18
18
|
return t != null && t >= 2e3 ? !0 : e.wkt2 != null || e.wkt != null;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function _(e) {
|
|
21
21
|
return e == null ? e : Math.round(Number.parseFloat(e));
|
|
22
22
|
}
|
|
23
23
|
class g extends d {
|
|
24
24
|
constructor() {
|
|
25
|
-
super(...arguments), this._isValidSpatialReference = !0
|
|
25
|
+
super(...arguments), this._isValidSpatialReference = !0;
|
|
26
26
|
}
|
|
27
27
|
static {
|
|
28
28
|
this.properties = { _isValidSpatialReference: 16, _outSpatialReference: 16, templateOptions: 0, viewModel: 0, messages: 0 };
|
|
@@ -33,16 +33,16 @@ class g extends d {
|
|
|
33
33
|
loaded() {
|
|
34
34
|
this.manager.onLifecycle(() => [
|
|
35
35
|
p(() => this.viewModel.outSpatialReference, (t) => {
|
|
36
|
-
this._outSpatialReference = t;
|
|
36
|
+
this._outSpatialReference = t ?? void 0;
|
|
37
37
|
}, { initial: !0 })
|
|
38
38
|
]);
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const { messages: t, _outSpatialReference: i } = this;
|
|
42
|
-
return r`<div><calcite-label><div class=${
|
|
43
|
-
const a =
|
|
44
|
-
this.viewModel.outSpatialReference = Number.isNaN(a) || a == null ? null : new __esri.SpatialReference({ wkid: a }), this._isValidSpatialReference = !i ||
|
|
45
|
-
}}></calcite-input-number>${this._isValidSpatialReference ? null : u(`out-sr-${i?.wkid}`, r`<div class=${
|
|
42
|
+
return r`<div><calcite-label><div class=${n(s.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString() ?? ""} @calciteInputNumberInput=${({ currentTarget: c }) => {
|
|
43
|
+
const a = _(c.value);
|
|
44
|
+
this.viewModel.outSpatialReference = Number.isNaN(a) || a == null ? null : new __esri.SpatialReference({ wkid: a }), this._isValidSpatialReference = !i || v(i);
|
|
45
|
+
}}></calcite-input-number>${this._isValidSpatialReference ? null : u(`out-sr-${i?.wkid}`, r`<div class=${n(s.invalidWkidText)}>${t.invalidWkid}</div>`)}</calcite-label></div>`;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
o("arcgis-print-out-spatial-reference-input", g);
|
|
@@ -4,7 +4,7 @@ import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as s, noShadowRoot as a } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.136 */
|
|
8
8
|
class n extends s {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._showPrintAreaEnabled = !1;
|
|
@@ -5,7 +5,7 @@ import { LitElement as p, safeClassMap as i } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.136 */
|
|
9
9
|
const u = d`.arcgis-print__scale-input-container{display:flex;align-items:center;padding-bottom:var(--calcite-spacing-md)}.arcgis-print__scale-input-container .arcgis-print__scale-input{flex-grow:1}`, l = "arcgis-print", c = {
|
|
10
10
|
scaleInfoContainer: `${l}__scale-info-container`,
|
|
11
11
|
scaleInputContainer: `${l}__scale-input-container`,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { Nil } from '@arcgis/components-utils';
|
|
4
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
6
5
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as o } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as t } from "lit-html";
|
|
3
|
-
import { keyed as
|
|
3
|
+
import { keyed as a } from "lit-html/directives/keyed.js";
|
|
4
4
|
import { watch as i } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
-
import { LitElement as n, safeClassMap as
|
|
5
|
+
import { LitElement as n, safeClassMap as l } from "@arcgis/lumina";
|
|
6
6
|
import { u as m } from "../../chunks/useHandles.js";
|
|
7
7
|
import { g as p, a as d, b as h, c as _ } from "../../chunks/utils.js";
|
|
8
8
|
import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.136 */
|
|
12
12
|
const u = g`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`, s = "arcgis-print", c = {
|
|
13
13
|
templateSelectContainer: `${s}__template-select-container`,
|
|
14
14
|
templateSelectError: `${s}__template-select-error`,
|
|
15
15
|
templateSelectArrow: `${s}__template-select-arrow`
|
|
16
16
|
};
|
|
17
|
-
class
|
|
17
|
+
class $ extends n {
|
|
18
18
|
constructor() {
|
|
19
|
-
super(...arguments), this._handles = m("disconnect"), this.
|
|
19
|
+
super(...arguments), this._handles = m("disconnect"), this._templateState = "not-loaded";
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.properties = { _selectedTemplate: 16, _templateState: 16, viewModel: 0, messages: 0, showTemplateSelector: 0 };
|
|
@@ -27,17 +27,17 @@ class T extends n {
|
|
|
27
27
|
loaded() {
|
|
28
28
|
this.manager.onLifecycle(() => [
|
|
29
29
|
i(() => this.viewModel.templateOptions.id, (e) => {
|
|
30
|
-
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) :
|
|
30
|
+
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(i(() => this._selectedTemplate?.state, (r) => this._templateState = r ?? "not-loaded", { initial: !0 }), "template-handle");
|
|
31
31
|
}, { initial: !0 })
|
|
32
32
|
]);
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return t`<calcite-block class=${
|
|
35
|
+
return t`<calcite-block class=${l(c.templateSelectContainer)} .description=${p(this._selectedTemplate)} .heading=${this._selectedTemplate ? d(this._selectedTemplate, this.messages) : this.messages.selectTemplate} .loading=${this._templateState === "loading"} @click=${this.showTemplateSelector} @keydown=${(e) => {
|
|
36
36
|
(e.key === "Enter" || e.key === " ") && this.showTemplateSelector();
|
|
37
|
-
}} tabindex=0>${
|
|
37
|
+
}} tabindex=0>${a("template-select-icon", t`<calcite-icon .icon=${(this._selectedTemplate?.layout ? h(this._selectedTemplate.layout) : null) || "custom-print"} scale=l slot=content-start></calcite-icon>`)}${this._templateState === "error" ? a("template-select-error", t`<calcite-icon class=${l(c.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`) : null}${a("template-select-arrow", t`<calcite-icon class=${l(c.templateSelectArrow)} .icon=${_() ? "chevron-left" : "chevron-right"} scale=s slot=actions-end></calcite-icon>`)}</calcite-block>`;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
o("arcgis-print-template-select",
|
|
40
|
+
o("arcgis-print-template-select", $);
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
$ as PrintTemplateSelect
|
|
43
43
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { Nil } from '@arcgis/components-utils';
|
|
4
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
6
5
|
|
|
@@ -8,7 +7,7 @@ import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
|
8
7
|
export declare class PrintTemplateSelector extends LitElement {
|
|
9
8
|
/** @default false */
|
|
10
9
|
excludeOrganizationTemplates: boolean;
|
|
11
|
-
browseTemplateButtonOnClick
|
|
10
|
+
browseTemplateButtonOnClick?: () => void;
|
|
12
11
|
viewModel: __esri.PrintViewModel;
|
|
13
12
|
messages: ArcgisPrint["messages"];
|
|
14
13
|
hideTemplateSelector: () => void;
|