@arcgis/map-components 5.0.0-next.161 → 5.0.0-next.163
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/{JAGDFQG6.js → 25HB2UBJ.js} +1 -1
- package/dist/cdn/{VFMEHZZD.js → 2AHY7O7C.js} +1 -1
- package/dist/cdn/{IJ55LHCM.js → 2FTXKTA4.js} +1 -1
- package/dist/cdn/{HRF5IALK.js → 3HYCJV4V.js} +1 -1
- package/dist/cdn/{GQVWDA6I.js → 42WUBROP.js} +1 -1
- package/dist/cdn/{SA36LNKO.js → 4WMWNIPN.js} +1 -1
- package/dist/cdn/522HNMQI.js +2 -0
- package/dist/cdn/55TRWAT7.js +2 -0
- package/dist/cdn/{5ZA7DJQS.js → 5LG4S2WV.js} +1 -1
- package/dist/cdn/{ZUNZDQUR.js → 6424II7L.js} +1 -1
- package/dist/cdn/{W3OOBNAC.js → 67DKLGTW.js} +1 -1
- package/dist/cdn/{YMUDLENL.js → 6IPVLMFQ.js} +1 -1
- package/dist/cdn/6IUQ5UHX.js +2 -0
- package/dist/cdn/{XC73PUXJ.js → 7AGJFQHK.js} +1 -1
- package/dist/cdn/{YK2QFDB6.js → 7NOD6U2Y.js} +1 -1
- package/dist/cdn/{VZERD7WA.js → 7OOAOM5T.js} +1 -1
- package/dist/cdn/{K2WVDLY4.js → AEMKZZZS.js} +1 -1
- package/dist/cdn/{QZPZSZPM.js → AJ64UYFM.js} +1 -1
- package/dist/cdn/{7SLLFJRR.js → AJIZTCGT.js} +1 -1
- package/dist/cdn/{OOUV2QP3.js → ANP7PYGJ.js} +1 -1
- package/dist/cdn/{LS7DJQ5K.js → AX23Q2XH.js} +1 -1
- package/dist/cdn/{IIMYW42S.js → B7SDETM6.js} +1 -1
- package/dist/cdn/{4JVUUWOR.js → BHPXKX47.js} +1 -1
- package/dist/cdn/{S74R5TS2.js → BKYII5LQ.js} +1 -1
- package/dist/cdn/{227PGZWD.js → CEB3VR24.js} +1 -1
- package/dist/cdn/{UUFU74F2.js → CO7UZYM2.js} +1 -1
- package/dist/cdn/{WR7YFN6J.js → CSU7GLED.js} +1 -1
- package/dist/cdn/{ZM4HRRLA.js → CXHSL2Y4.js} +1 -1
- package/dist/cdn/{PFYBNJ7Q.js → D4PJU376.js} +1 -1
- package/dist/cdn/{DNDFQB6M.js → DB2NOQ3D.js} +1 -1
- package/dist/cdn/{GPRLA5XG.js → E5SXPWDJ.js} +1 -1
- package/dist/cdn/{AELXLN3Z.js → EO66UQLI.js} +1 -1
- package/dist/cdn/{JM5UC74N.js → ESNK6MCY.js} +1 -1
- package/dist/cdn/{KLCFGWID.js → F2HPTFLQ.js} +1 -1
- package/dist/cdn/{APTCZIC5.js → F6QNNUIN.js} +1 -1
- package/dist/cdn/{PZEM6N6R.js → FA3Z6QOE.js} +1 -1
- package/dist/cdn/{USU73B2B.js → FD4A66OJ.js} +1 -1
- package/dist/cdn/{OYYIEGIF.js → FKQSJXNW.js} +1 -1
- package/dist/cdn/{7BVN4DHV.js → FRGWWVJK.js} +1 -1
- package/dist/cdn/{ZFIWGLC3.js → G4FP7GXM.js} +1 -1
- package/dist/cdn/{ND443SHN.js → GAH6OGQE.js} +1 -1
- package/dist/cdn/{YIMKE3ZS.js → GCFNRINR.js} +1 -1
- package/dist/cdn/{TWRNR5SM.js → GMR2QJNU.js} +1 -1
- package/dist/cdn/{VPFMRSZ6.js → H5RGMC7S.js} +1 -1
- package/dist/cdn/H7O5I4IF.js +2 -0
- package/dist/cdn/{ND6JN4YZ.js → HKVQWRPL.js} +1 -1
- package/dist/cdn/{ZEJQO6MG.js → HYBTGX3N.js} +1 -1
- package/dist/cdn/{CABYEVH5.js → I5M2Z7WS.js} +1 -1
- package/dist/cdn/{XOMA7SZS.js → IKOLSNGV.js} +1 -1
- package/dist/cdn/{WBIRVQFF.js → IL56ZRDO.js} +1 -1
- package/dist/cdn/{JBDUMA6A.js → ILFME5US.js} +1 -1
- package/dist/cdn/{ECEHRM4F.js → INYYRLED.js} +1 -1
- package/dist/cdn/{COSJIIOV.js → IQ7EVFBF.js} +1 -1
- package/dist/cdn/{HAGRUIX6.js → J4XU75P7.js} +1 -1
- package/dist/cdn/{XX7YW667.js → JCW65STL.js} +1 -1
- package/dist/cdn/{2VP56JYP.js → JUHCPSPF.js} +1 -1
- package/dist/cdn/{3PBCQSML.js → JZXMWXVD.js} +1 -1
- package/dist/cdn/K4PC3ILQ.js +2 -0
- package/dist/cdn/{S2OPU6EB.js → KAZBQ6OA.js} +1 -1
- package/dist/cdn/{TEZDBCLU.js → KGJGLAWM.js} +1 -1
- package/dist/cdn/{VXRHLDSF.js → KRVBBG4M.js} +1 -1
- package/dist/cdn/{FZJKT7BV.js → KWIBK4I5.js} +1 -1
- package/dist/cdn/{CNAGRWBY.js → L5JWLRD3.js} +1 -1
- package/dist/cdn/L6YZXUBB.js +2 -0
- package/dist/cdn/{VWFVE3N5.js → LT5ALQM5.js} +1 -1
- package/dist/cdn/{T6MNZWQJ.js → MAM7YHLA.js} +1 -1
- package/dist/cdn/{S2WF243X.js → MD36SH63.js} +1 -1
- package/dist/cdn/{YGRKF7FM.js → N7QKWBTM.js} +1 -1
- package/dist/cdn/{VU4FTMX6.js → NWXN5M4S.js} +1 -1
- package/dist/cdn/{GSULD3SQ.js → ODGGFBDK.js} +1 -1
- package/dist/cdn/{THO22RHZ.js → OFQNQF6N.js} +1 -1
- package/dist/cdn/{NYXESRIT.js → ONPN5M3Z.js} +1 -1
- package/dist/cdn/{N472QGAH.js → ORVYHFUJ.js} +1 -1
- package/dist/cdn/{CGXCY6GA.js → P76K34HQ.js} +1 -1
- package/dist/cdn/{SGG7SP3T.js → P7PWOUNZ.js} +1 -1
- package/dist/cdn/{6TBMOJWN.js → PQ5PGLJM.js} +1 -1
- package/dist/cdn/{RM2HMUW5.js → PYMUS3H4.js} +1 -1
- package/dist/cdn/{BFJ4VLH7.js → PZ2JPHRS.js} +1 -1
- package/dist/cdn/{FHDRIX57.js → Q4B4MXH4.js} +1 -1
- package/dist/cdn/{XLPNOCX2.js → QF7RABZH.js} +1 -1
- package/dist/cdn/{T3ZQTVDW.js → QKSSTPS3.js} +1 -1
- package/dist/cdn/{CFNAG4UQ.js → QUHJMEBB.js} +1 -1
- package/dist/cdn/{GIIC5RQS.js → R2FIOZIL.js} +1 -1
- package/dist/cdn/{ZA6HMKG3.js → RB7GCEEB.js} +1 -1
- package/dist/cdn/{U7UXBPOB.js → RE2BXNZ3.js} +1 -1
- package/dist/cdn/{OLRMETYO.js → RMFIN5AS.js} +1 -1
- package/dist/cdn/{Z2BF5ON2.js → RN57AN5P.js} +1 -1
- package/dist/cdn/{7DRCEN4I.js → RU5U2DVA.js} +1 -1
- package/dist/cdn/{AR4EHDQE.js → RYKRMJMK.js} +1 -1
- package/dist/cdn/{2WRZHA7I.js → RZ4T32PU.js} +1 -1
- package/dist/cdn/{K5TOSB65.js → SDWQW3ZX.js} +1 -1
- package/dist/cdn/{UBCQ3OXU.js → SK6O74LF.js} +1 -1
- package/dist/cdn/SKIP3GUP.js +2 -0
- package/dist/cdn/{FKFLM37F.js → T3JWZEB6.js} +1 -1
- package/dist/cdn/{WBEN5CWQ.js → TGUIWWDN.js} +1 -1
- package/dist/cdn/TQRR2FH6.js +2 -0
- package/dist/cdn/{W2Z72SWO.js → U3H7EVCU.js} +1 -1
- package/dist/cdn/{Y27IRNJL.js → U4TAMNG3.js} +1 -1
- package/dist/cdn/{OE3W5FEW.js → UBGE4QNR.js} +1 -1
- package/dist/cdn/{RAXYFKPT.js → UELD2T53.js} +1 -1
- package/dist/cdn/{JKBRLNJZ.js → UNLAUFXF.js} +1 -1
- package/dist/cdn/URUFNID2.js +2 -0
- package/dist/cdn/{H6TQCFMC.js → UW3G2BPO.js} +1 -1
- package/dist/cdn/{PTIYROPJ.js → WBGZAAEK.js} +1 -1
- package/dist/cdn/{ZX4R6K46.js → WDTFIXMM.js} +1 -1
- package/dist/cdn/{NS2J3AS6.js → WLNRPTCN.js} +1 -1
- package/dist/cdn/{ETJEFAUU.js → WTTBFFC2.js} +1 -1
- package/dist/cdn/{TRID34Q5.js → WV6XSMZW.js} +1 -1
- package/dist/cdn/X7QWBVC2.js +2 -0
- package/dist/cdn/{KEJZKHZZ.js → XCDPFMHG.js} +1 -1
- package/dist/cdn/{C45HGFAM.js → XIOIZK7A.js} +1 -1
- package/dist/cdn/{A724KY7J.js → Y4RMI55P.js} +1 -1
- package/dist/cdn/YLLIMNEW.js +2 -0
- package/dist/cdn/{DETI55RG.js → YXYCWJFF.js} +1 -1
- package/dist/cdn/{OE46TF5I.js → Z6LXLPK7.js} +1 -1
- package/dist/cdn/{WWASOGVO.js → ZOBY4YF2.js} +1 -1
- package/dist/cdn/{DHY6U2TQ.js → ZVTV4UKT.js} +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.fr.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +10 -10
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
- package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +14 -14
- package/dist/components/arcgis-daylight/customElement.js +2 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-directions/customElement.d.ts +4 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-editor/customElement.d.ts +2 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +9 -9
- package/dist/components/arcgis-feature/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-fields/customElement.js +7 -7
- package/dist/components/arcgis-feature-form/customElement.d.ts +3 -4
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-table/customElement.d.ts +16 -23
- package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-features/customElement.d.ts +41 -43
- package/dist/components/arcgis-features/customElement.js +48 -42
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -5
- package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
- package/dist/components/arcgis-legend/customElement.d.ts +4 -4
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
- package/dist/components/arcgis-link-chart/customElement.d.ts +21 -23
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +58 -60
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +8 -10
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
- package/dist/components/arcgis-paste/customElement.d.ts +4 -4
- package/dist/components/arcgis-popup/customElement.d.ts +50 -52
- package/dist/components/arcgis-popup/customElement.js +50 -55
- package/dist/components/arcgis-popup/types.d.ts +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -2
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +12 -13
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +54 -56
- package/dist/components/arcgis-search/customElement.d.ts +18 -20
- package/dist/components/arcgis-search/customElement.js +8 -9
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +29 -29
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -4
- package/dist/components/arcgis-slice/customElement.d.ts +12 -12
- package/dist/components/arcgis-slice/types.d.ts +2 -2
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +11 -11
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +13 -13
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +20 -20
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +14 -14
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -8
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +7 -30
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +17 -18
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -4
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +17 -17
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -5
- package/dist/components/types.d.ts +3 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -2
- package/dist/types/preact.d.ts +1 -2
- package/dist/types/react.d.ts +1 -2
- package/dist/types/stencil.d.ts +1 -2
- package/package.json +4 -4
- package/dist/cdn/2LQLX6UN.js +0 -2
- package/dist/cdn/43GVPQTY.js +0 -2
- package/dist/cdn/BVJCLI2O.js +0 -2
- package/dist/cdn/F6ZBZTSB.js +0 -2
- package/dist/cdn/JWX6Z3ZF.js +0 -2
- package/dist/cdn/LEJDJAPO.js +0 -2
- package/dist/cdn/LT6PKSRL.js +0 -2
- package/dist/cdn/MTTO5ISS.js +0 -2
- package/dist/cdn/QCAKPRXK.js +0 -2
- package/dist/cdn/RHWPLIDI.js +0 -2
- package/dist/cdn/T5J4CTR7.js +0 -2
|
@@ -50,7 +50,7 @@ class q extends P {
|
|
|
50
50
|
}, this._openRelatedFeatureAbortController = null, this.flowItems = new x(), this.viewModel = X(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new x(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = L()("active", "collapsed", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = C(), this.arcgisClose = C(), this.arcgisTriggerAction = C();
|
|
51
51
|
}
|
|
52
52
|
static {
|
|
53
|
-
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
53
|
+
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, visible: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
54
54
|
}
|
|
55
55
|
static {
|
|
56
56
|
this.styles = G;
|
|
@@ -70,6 +70,12 @@ class q extends P {
|
|
|
70
70
|
get _collapseEnabled() {
|
|
71
71
|
return this.showCollapseButton && (this.initialDisplayMode === "list" || !!(this.heading || this.viewModel.selectedFeatureViewModel?.title) && !!(this.content || this.viewModel.selectedFeatureViewModel?.content));
|
|
72
72
|
}
|
|
73
|
+
get visible() {
|
|
74
|
+
return this.viewModel.visible;
|
|
75
|
+
}
|
|
76
|
+
set visible(e) {
|
|
77
|
+
this.viewModel.visible = e;
|
|
78
|
+
}
|
|
73
79
|
get chartAnimationDisabled() {
|
|
74
80
|
return !(this.viewModel.featureViewModelAbilities?.chartAnimation ?? !0);
|
|
75
81
|
}
|
|
@@ -119,10 +125,10 @@ class q extends P {
|
|
|
119
125
|
this.viewModel.featureViewModelAbilities ??= {}, this.viewModel.featureViewModelAbilities.utilityNetworkAssociationsContent = !e;
|
|
120
126
|
}
|
|
121
127
|
get open() {
|
|
122
|
-
return this.
|
|
128
|
+
return this.visible;
|
|
123
129
|
}
|
|
124
130
|
set open(e) {
|
|
125
|
-
this.
|
|
131
|
+
this.visible = e;
|
|
126
132
|
}
|
|
127
133
|
get selectedDrillInFeature() {
|
|
128
134
|
const e = Array.from(this.flowItems).at(-1);
|
|
@@ -135,18 +141,18 @@ class q extends P {
|
|
|
135
141
|
return this.viewModel.clear();
|
|
136
142
|
}
|
|
137
143
|
async close() {
|
|
138
|
-
this.
|
|
144
|
+
this.visible = !1;
|
|
139
145
|
}
|
|
140
146
|
async destroy() {
|
|
141
147
|
await this.manager.destroy(), await this._destroySpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
|
|
142
148
|
}
|
|
143
149
|
async fetchFeatures(e, t) {
|
|
144
150
|
this._cancelFetchingFeatures();
|
|
145
|
-
const i = new AbortController(), { signal:
|
|
146
|
-
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal:
|
|
151
|
+
const i = new AbortController(), { signal: s } = i;
|
|
152
|
+
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal: s }), e = this.view.toScreen(this.location) ?? void 0), !e)
|
|
147
153
|
return;
|
|
148
|
-
const
|
|
149
|
-
this.location =
|
|
154
|
+
const n = await this.viewModel.fetchFeatures(e, { signal: s, ...t });
|
|
155
|
+
this.location = n.location, this.promises = n.pendingFeatures;
|
|
150
156
|
}
|
|
151
157
|
async next() {
|
|
152
158
|
return this.viewModel.next();
|
|
@@ -192,10 +198,10 @@ class q extends P {
|
|
|
192
198
|
_groupResultsByLayer() {
|
|
193
199
|
const { featureViewModels: e } = this.viewModel, t = /* @__PURE__ */ new Map();
|
|
194
200
|
return e.forEach((i) => {
|
|
195
|
-
const
|
|
196
|
-
if (!
|
|
201
|
+
const s = i?.graphic;
|
|
202
|
+
if (!s)
|
|
197
203
|
return;
|
|
198
|
-
const
|
|
204
|
+
const n = Z(s), a = W(n) ? n : null, l = t.get(a) ?? [];
|
|
199
205
|
t.set(a, [...l, i]);
|
|
200
206
|
}), t;
|
|
201
207
|
}
|
|
@@ -206,12 +212,12 @@ class q extends P {
|
|
|
206
212
|
this._cancelOpenRelatedFeature();
|
|
207
213
|
const t = new AbortController();
|
|
208
214
|
this._openRelatedFeatureAbortController = t, await e.updateGeometry();
|
|
209
|
-
const i = e.graphic,
|
|
210
|
-
if (
|
|
215
|
+
const i = e.graphic, s = i?.geometry;
|
|
216
|
+
if (s == null || i == null)
|
|
211
217
|
return;
|
|
212
|
-
this._removeFlowItems(), await this.viewModel.zoomTo({ target:
|
|
213
|
-
const
|
|
214
|
-
|
|
218
|
+
this._removeFlowItems(), await this.viewModel.zoomTo({ target: s });
|
|
219
|
+
const n = K(s);
|
|
220
|
+
n != null && (this.location = n), this.features = [i], this.open = !0, await this.setFocus(), this._openRelatedFeatureAbortController === t && (this._openRelatedFeatureAbortController = null);
|
|
215
221
|
}
|
|
216
222
|
_handlePaginationMenuButton() {
|
|
217
223
|
this._updateFeatureMenu();
|
|
@@ -254,8 +260,8 @@ class q extends P {
|
|
|
254
260
|
this._unobserveFeatureMenuObserver(), e && this._featureMenuIntersectionObserver.observe(e), this._featureMenuIntersectionObserverNode = e;
|
|
255
261
|
}
|
|
256
262
|
_getActionTitle(e) {
|
|
257
|
-
const { messages: t, selectedFeature: i } = this, { id:
|
|
258
|
-
return l &&
|
|
263
|
+
const { messages: t, selectedFeature: i } = this, { id: s } = e, n = i?.attributes, a = e.title ?? "", l = s === "zoom-to-feature" ? u(a, { messages: t }) : s === "remove-selected-feature" ? u(a, { messages: t }) : s === "zoom-to-clustered-features" ? u(a, { messages: t }) : s === "browse-clustered-features" ? u(a, { messages: t }) : e.title;
|
|
264
|
+
return l && n ? u(l, n) : l ?? "";
|
|
259
265
|
}
|
|
260
266
|
_onMainKeydown(e) {
|
|
261
267
|
const { key: t } = e;
|
|
@@ -265,14 +271,14 @@ class q extends P {
|
|
|
265
271
|
this._featureMenuViewportNode && this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
|
|
266
272
|
}
|
|
267
273
|
_selectedFeatureIndexUpdated(e, t) {
|
|
268
|
-
const { featureCount: i, waitingForResult:
|
|
269
|
-
|
|
274
|
+
const { featureCount: i, waitingForResult: s } = this.viewModel;
|
|
275
|
+
s || !i || e === t || e === -1 || (this._removeFlowItems(), this._rootFlowItemNode.value?.scrollContentTo({ top: 0 }));
|
|
270
276
|
}
|
|
271
277
|
_triggerAction(e) {
|
|
272
278
|
this.triggerAction(e), this.arcgisTriggerAction.emit({ action: e });
|
|
273
279
|
}
|
|
274
280
|
_viewChange() {
|
|
275
|
-
this.viewModel.clear(), this.
|
|
281
|
+
this.viewModel.clear(), this.visible = !1;
|
|
276
282
|
}
|
|
277
283
|
_closeOpenActionMenu() {
|
|
278
284
|
const { _actionBarMenuNode: e } = this;
|
|
@@ -322,16 +328,16 @@ class q extends P {
|
|
|
322
328
|
return !this.featureNavigationTop && this._featureNavigationVisible ? o`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
|
|
323
329
|
}
|
|
324
330
|
_renderFeaturePaginationText() {
|
|
325
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex:
|
|
331
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s } = t;
|
|
326
332
|
return o`<div class="pagination-text">${u(e.pageText ?? "", {
|
|
327
|
-
index: M(
|
|
333
|
+
index: M(s + 1),
|
|
328
334
|
total: M(i)
|
|
329
335
|
})}</div>`;
|
|
330
336
|
}
|
|
331
337
|
_renderFeatureMenuButton() {
|
|
332
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex:
|
|
333
|
-
return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${
|
|
334
|
-
index: M(
|
|
338
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s, pendingPromisesCount: n } = t;
|
|
339
|
+
return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${n > 0} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
|
|
340
|
+
index: M(s + 1),
|
|
335
341
|
total: M(i)
|
|
336
342
|
})} text-enabled title=${e.selectFeature ?? d}></calcite-action>`;
|
|
337
343
|
}
|
|
@@ -340,14 +346,14 @@ class q extends P {
|
|
|
340
346
|
return o`<calcite-action-bar class="pagination-action-bar" expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? d}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? d}></calcite-action></calcite-action-group></calcite-action-bar>`;
|
|
341
347
|
}
|
|
342
348
|
_renderFeatureMenuItem(e) {
|
|
343
|
-
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels:
|
|
344
|
-
return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${
|
|
349
|
+
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels: s } = this.viewModel, n = e === i, a = s.indexOf(e);
|
|
350
|
+
return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${n} @calciteListItemSelect=${() => this._selectFeature(a)}><span .innerHTML=${(y.sanitize(e.title) || this.messages.untitled) ?? ""} slot=content></span>${t === "list" ? o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
|
|
345
351
|
}
|
|
346
352
|
_renderFeatureMenu() {
|
|
347
|
-
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(),
|
|
348
|
-
return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${
|
|
349
|
-
const a = i.get(
|
|
350
|
-
return !this.hideFeatureListLayerTitle && l !== null ? F(
|
|
353
|
+
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s = this.initialDisplayMode === "list" ? "none" : "single";
|
|
354
|
+
return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i.keys(), (n) => {
|
|
355
|
+
const a = i.get(n)?.map((r) => this._renderFeatureMenuItem(r)), l = n ? n.title ?? this.messages.untitled : null;
|
|
356
|
+
return !this.hideFeatureListLayerTitle && l !== null ? F(n ?? "map-graphics", o`<calcite-list-item-group .heading=${l}>${a}</calcite-list-item-group>`) : a;
|
|
351
357
|
})}</calcite-list>` : null;
|
|
352
358
|
}
|
|
353
359
|
_renderHeaderAction(e) {
|
|
@@ -358,36 +364,36 @@ class q extends P {
|
|
|
358
364
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
359
365
|
}
|
|
360
366
|
_renderContentFeature() {
|
|
361
|
-
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled:
|
|
367
|
+
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, flowItems: a, initialDisplayMode: l, selectedFeature: r, featureMenuOpen: p } = this, { active: f } = this.viewModel, g = this._getHeading();
|
|
362
368
|
if (l === "list" && !r)
|
|
363
369
|
return null;
|
|
364
370
|
const _ = a.length === 0 && (l === "list" ? !!r : !p);
|
|
365
371
|
return o`<calcite-flow-item class=${$(b({
|
|
366
372
|
"content-feature": !0,
|
|
367
373
|
"flow-item-collapsed": i
|
|
368
|
-
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${
|
|
374
|
+
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(b("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
369
375
|
}
|
|
370
376
|
_renderFeatureMenuContainer() {
|
|
371
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages:
|
|
372
|
-
if (
|
|
377
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: n, featureMenuOpen: a, selectedFeature: l, _collapseEnabled: r, _isCollapsed: p, featureNavigationTop: f, headingLevel: g } = this, { active: _, featureViewModels: I, pendingPromisesCount: T } = e, k = i ?? s.selectFeature;
|
|
378
|
+
if (n === "feature" && !a)
|
|
373
379
|
return null;
|
|
374
|
-
const V =
|
|
380
|
+
const V = n === "list" ? !l : a;
|
|
375
381
|
return o`<calcite-flow-item class=${$(b({
|
|
376
382
|
"flow-item-collapsed": p
|
|
377
|
-
}))} .closable=${
|
|
383
|
+
}))} .closable=${n === "list" && !t} .closed=${!_} .collapsed=${n === "list" && p} .collapseDirection=${f ? "down" : "up"} .collapsible=${n === "list" && r} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
|
|
378
384
|
total: I.length
|
|
379
385
|
})} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${V} @calciteFlowItemBack=${(D) => {
|
|
380
386
|
D.preventDefault(), this._handleFeatureMenuBack();
|
|
381
|
-
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${
|
|
387
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${n === "list" ? this._renderHeaderActions() : null}${T > 0 ? o`<calcite-loader class="loader" inline .label=${s.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${n === "feature" ? o`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${s.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
382
388
|
}
|
|
383
389
|
_renderFlowItem(e, t) {
|
|
384
|
-
const { messages: i, hideCloseButton:
|
|
385
|
-
return o`<calcite-flow-item .closable=${!
|
|
390
|
+
const { messages: i, hideCloseButton: s, active: n } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = e.flowType === "feature-association", r = i.returnToInitialFeature ?? "", p = i?.selectFeature, f = this._getActionTitle(m);
|
|
391
|
+
return o`<calcite-flow-item .closable=${!s} .closed=${!n} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(g) => {
|
|
386
392
|
g.preventDefault(), this._handleDrillInBackClick();
|
|
387
393
|
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r ?? ""} title=${r ?? "" ?? d}></calcite-action>${a ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? d}></calcite-action>` : null}${l ? o`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${m.disabled} .icon=${m.icon ?? void 0} .loading=${m.active} scale=s text-enabled .text=${f} title=${f ?? d} @click=${() => U(this.viewModel, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
|
|
388
394
|
}
|
|
389
395
|
_renderContentContainer() {
|
|
390
|
-
const e = this.flowItems?.toArray(), t = e?.map((
|
|
396
|
+
const e = this.flowItems?.toArray(), t = e?.map((s, n) => this._renderFlowItem(s, this.initialDisplayMode === "list" || !this.featureMenuOpen && n === e.length - 1)), i = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
|
|
391
397
|
return o`<calcite-flow ${v(this._flowContainerNode)}>${i}</calcite-flow>`;
|
|
392
398
|
}
|
|
393
399
|
_renderActionBar() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type WebMap from "@arcgis/core/WebMap";
|
|
3
|
-
import type WebScene from "@arcgis/core/WebScene";
|
|
2
|
+
import type WebMap from "@arcgis/core/WebMap.js";
|
|
3
|
+
import type WebScene from "@arcgis/core/WebScene.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -10,10 +10,10 @@ import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* The Floor Filter component simplifies visualization of GIS data for a specific floor of a
|
|
12
12
|
* building in your application. It allows you to filter down the floor plan data displayed in your
|
|
13
|
-
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to a [site](
|
|
14
|
-
* or a [level](
|
|
13
|
+
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to a [site](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#site), a [facility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#facility) in the site,
|
|
14
|
+
* or a [level](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#level) in the facility.
|
|
15
15
|
*
|
|
16
|
-
* To visualize your data based on [site](
|
|
16
|
+
* To visualize your data based on [site](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#site), [facility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#facility), or [level](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#level), your map must contain the related
|
|
17
17
|
* floor plan layers, with features linked together in a floor plan hierarchy.
|
|
18
18
|
* Once you define your map as floor-aware in the map properties, the interactive, on-screen
|
|
19
19
|
* Floor Filter component appears and can be used to explore the floor-aware data based on the
|
|
@@ -102,7 +102,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
102
102
|
accessor customColor: Color | undefined;
|
|
103
103
|
/**
|
|
104
104
|
* Returns `true` if the grid is enabled for display.
|
|
105
|
-
* Use [trySetDisplayEnabled](
|
|
105
|
+
* Use [trySetDisplayEnabled()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#trySetDisplayEnabled) to enable or disable grid display.
|
|
106
106
|
*
|
|
107
107
|
* @default false
|
|
108
108
|
*/
|
|
@@ -110,7 +110,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
110
110
|
/**
|
|
111
111
|
* Returns `true` if the grid is set to scale dynamically. When dynamic scaling is enabled,
|
|
112
112
|
* grid cells are added or removed to ensure that grid cells are a reasonable size on screen as the user zooms.
|
|
113
|
-
* The way additional grid lines are shown is controlled by the [majorLineInterval](
|
|
113
|
+
* The way additional grid lines are shown is controlled by the [majorLineInterval](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#majorLineInterval) property.
|
|
114
114
|
*
|
|
115
115
|
* @default false
|
|
116
116
|
*/
|
|
@@ -127,7 +127,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
127
127
|
get gridControlsEnabled(): boolean;
|
|
128
128
|
/**
|
|
129
129
|
* True if the grid is currently not displayed (and therefore also not a valid snap target),
|
|
130
|
-
* because [dynamicScaling](
|
|
130
|
+
* because [dynamicScaling](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#dynamicScaling) is off and the grid cells are too small
|
|
131
131
|
* to render at the current scale.
|
|
132
132
|
*
|
|
133
133
|
* @default false
|
|
@@ -278,8 +278,8 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
278
278
|
/** Rotation of the grid in radians. NOTE: UI controls convert to and from degrees automatically. */
|
|
279
279
|
accessor rotation: number;
|
|
280
280
|
/**
|
|
281
|
-
* Controls snapping behavior if [snappingOptions](
|
|
282
|
-
* If [snappingOptions](
|
|
281
|
+
* Controls snapping behavior if [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#snappingOptions) has been defined.
|
|
282
|
+
* If [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#snappingOptions) have been defined, disabling or enabling grid snapping will
|
|
283
283
|
* also disable or enable grid display.
|
|
284
284
|
*
|
|
285
285
|
* @default false
|
|
@@ -292,20 +292,20 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
292
292
|
*/
|
|
293
293
|
accessor snappingOptions: SnappingOptions | null | undefined;
|
|
294
294
|
/**
|
|
295
|
-
* Length of a grid cell. Grid cells are always square. Defined in [unit](
|
|
295
|
+
* Length of a grid cell. Grid cells are always square. Defined in [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#unit).
|
|
296
296
|
*
|
|
297
297
|
* @default 1
|
|
298
298
|
*/
|
|
299
299
|
accessor spacing: number;
|
|
300
300
|
/**
|
|
301
301
|
* The color scheme used to display the grid. This will be light, dark, or custom. When theme is set to custom,
|
|
302
|
-
* the [customColor](
|
|
302
|
+
* the [customColor](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#customColor) is shown, otherwise a default light or dark theme color is used.
|
|
303
303
|
*
|
|
304
304
|
* @default "dark"
|
|
305
305
|
*/
|
|
306
306
|
accessor theme: GridTheme | null | undefined;
|
|
307
307
|
/**
|
|
308
|
-
* Unit of measure (foot, meter, etc) used when defining the [spacing](
|
|
308
|
+
* Unit of measure (foot, meter, etc) used when defining the [spacing](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#spacing) grid cell.
|
|
309
309
|
* Note that units are defined relatively to the map's spatial reference length unit,
|
|
310
310
|
* which will not correspond to geographic distance unless using a special-purpose basemap
|
|
311
311
|
* within a supported target area.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type Color from "@arcgis/core/Color.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
5
|
-
import type { ColorLike } from "@arcgis/core/Color";
|
|
5
|
+
import type { ColorLike } from "@arcgis/core/Color.js";
|
|
6
6
|
import type { BarCreatedFunction, DataLineCreatedFunction, DataLineInfos } from "@arcgis/core/widgets/Histogram/types.js";
|
|
7
7
|
import type { HistogramBin } from "@arcgis/core/smartMapping/statistics/types.js";
|
|
8
8
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Viewpoint from "@arcgis/core/Viewpoint.js";
|
|
3
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
4
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { ArcgisReferenceElement, IconName, GoToOverride } from "../types.js";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type ListItem from "@arcgis/core/widgets/LayerList/ListItem";
|
|
3
|
-
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle";
|
|
4
|
-
import type ActionButton from "@arcgis/core/support/actions/ActionButton";
|
|
5
|
-
import type TableList from "@arcgis/core/widgets/TableList";
|
|
6
|
-
import type Collection from "@arcgis/core/core/Collection";
|
|
7
|
-
import type CatalogLayerList from "@arcgis/core/widgets/CatalogLayerList";
|
|
8
|
-
import type Collection2 from "@arcgis/core/core/Collection.js";
|
|
9
|
-
import type ListItem2 from "@arcgis/core/widgets/LayerList/ListItem.js";
|
|
2
|
+
import type ListItem from "@arcgis/core/widgets/LayerList/ListItem.js";
|
|
3
|
+
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
|
|
4
|
+
import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
|
|
5
|
+
import type TableList from "@arcgis/core/widgets/TableList.js";
|
|
6
|
+
import type Collection from "@arcgis/core/core/Collection.js";
|
|
7
|
+
import type CatalogLayerList from "@arcgis/core/widgets/CatalogLayerList.js";
|
|
10
8
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
11
9
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
12
|
-
import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel";
|
|
10
|
+
import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel.js";
|
|
13
11
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
14
12
|
import type { CatalogLayerListProperties } from "@arcgis/core/widgets/CatalogLayerList.js";
|
|
15
13
|
import type { FilterPredicate, ListItemModifier, State, VisibilityAppearance } from "@arcgis/core/widgets/LayerList/types.js";
|
|
@@ -315,7 +313,7 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
315
313
|
* layerListElement.openedLayers.pop();
|
|
316
314
|
* ```
|
|
317
315
|
*/
|
|
318
|
-
get openedLayers():
|
|
316
|
+
get openedLayers(): Collection<FlowLayer>;
|
|
319
317
|
/** A collection of ListItems representing operational layers. */
|
|
320
318
|
get operationalItems(): Collection<ListItem>;
|
|
321
319
|
/**
|
|
@@ -330,7 +328,7 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
330
328
|
*
|
|
331
329
|
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#selectionMode)
|
|
332
330
|
*/
|
|
333
|
-
accessor selectedItems:
|
|
331
|
+
accessor selectedItems: Collection<ListItem>;
|
|
334
332
|
/**
|
|
335
333
|
* Specifies the selection mode.
|
|
336
334
|
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#selectedItems) property.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type ActiveLayerInfo from "@arcgis/core/widgets/Legend/support/ActiveLayerInfo.js";
|
|
3
|
+
import type Collection from "@arcgis/core/core/Collection.js";
|
|
2
4
|
import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
3
|
-
import type Collection2 from "@arcgis/core/core/Collection.js";
|
|
4
|
-
import type ActiveLayerInfo2 from "@arcgis/core/widgets/Legend/support/ActiveLayerInfo.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -10,7 +10,7 @@ import type { LayerInfo } from "@arcgis/core/widgets/types.js";
|
|
|
10
10
|
import type { LegendViewModelState } from "@arcgis/core/widgets/Legend/LegendViewModel.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* The Legend component displays the symbols and labels used to represent layers in
|
|
13
|
+
* The Legend component displays the symbols and labels used to represent layers in an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
14
14
|
* Only layers and sublayers visible in the view are shown, unless [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#ignoreLayerVisibility) is set to `true`.
|
|
15
15
|
*
|
|
16
16
|
* The legend automatically updates when:
|
|
@@ -93,7 +93,7 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
93
93
|
* display data in the legend. The legend component watches this property to hide or display the layer's legend when
|
|
94
94
|
* an [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/references/core/widgets/Legend/support/ActiveLayerInfo/) is removed from or added to this collection.
|
|
95
95
|
*/
|
|
96
|
-
accessor activeLayerInfos:
|
|
96
|
+
accessor activeLayerInfos: Collection<ActiveLayerInfo>;
|
|
97
97
|
/**
|
|
98
98
|
* If true, the component will not be destroyed automatically when it is
|
|
99
99
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
2
|
import { c as v } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as $, html as s } from "lit";
|
|
4
|
-
import { LitElement as u, safeClassMap as
|
|
5
|
-
import { classes as
|
|
6
|
-
import { b as
|
|
7
|
-
const L = $`.layer-table{display:
|
|
4
|
+
import { LitElement as u, safeClassMap as n, nothing as c, safeStyleMap as w } from "@arcgis/lumina";
|
|
5
|
+
import { classes as g } from "@arcgis/toolkit/dom";
|
|
6
|
+
import { b as E, s as p, i as f, c as d, g as y } from "../../chunks/utils.js";
|
|
7
|
+
const L = $`.layer-table{display:table;margin-bottom:var(--calcite-spacing-md);width:100%}.layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0;word-break:break-word}.layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.layer-row{display:table-row}.layer-cell{padding:var(--calcite-spacing-xxs) 0;vertical-align:middle;word-break:break-word;display:table-cell}.layer-cell-info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.imagery-layer-info-stretched{padding:0 2px;vertical-align:top}.layer-cell-symbols{text-align:center}.symbol{display:flex;justify-content:center}`;
|
|
8
8
|
class x extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { cssEffectFilter: 1, layer: 0, legendElement: 0, messages: 0 };
|
|
@@ -13,10 +13,8 @@ class x extends u {
|
|
|
13
13
|
this.styles = L;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
const e = this._renderLegendElement(), a =
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
return s`<section class=${c(d("layer-table", i))}>${l}${e}</section>`;
|
|
16
|
+
const e = this._renderLegendElement(), a = E(this.legendElement, this.messages), i = a ? s`<div class="layer-caption">${a}</div>` : null;
|
|
17
|
+
return s`<section class="layer-table">${i}${e}</section>`;
|
|
20
18
|
}
|
|
21
19
|
_renderLegendElement() {
|
|
22
20
|
switch (this.legendElement.type) {
|
|
@@ -44,38 +42,38 @@ class x extends u {
|
|
|
44
42
|
}
|
|
45
43
|
}
|
|
46
44
|
_renderSymbolTable(e) {
|
|
47
|
-
const a = e.infos.map((
|
|
45
|
+
const a = e.infos.map((i) => this._renderElementInfo(i, e.legendType)).filter(Boolean);
|
|
48
46
|
return a.length ? s`<div class="layer-body">${a}</div>` : null;
|
|
49
47
|
}
|
|
50
48
|
_renderElementInfo(e, a) {
|
|
51
|
-
const { layer:
|
|
49
|
+
const { layer: i } = this, l = "label" in e ? e.label : null;
|
|
52
50
|
if ("type" in e && e.type)
|
|
53
|
-
return e ? s`<arcgis-legend-classic-element .cssEffectFilter=${this.cssEffectFilter} .layer=${
|
|
51
|
+
return e ? s`<arcgis-legend-classic-element .cssEffectFilter=${this.cssEffectFilter} .layer=${i} .legendElement=${e} .messages=${this.messages}></arcgis-legend-classic-element>` : null;
|
|
54
52
|
if (!("preview" in e && e.preview) && !("src" in e && e.src))
|
|
55
53
|
return null;
|
|
56
|
-
const r =
|
|
54
|
+
const r = f(i, a), t = {
|
|
57
55
|
"imagery-layer-info-stretched": r
|
|
58
56
|
};
|
|
59
|
-
return s`<div class="layer-row"><div class=${
|
|
57
|
+
return s`<div class="layer-row"><div class=${n(g("layer-cell", "layer-cell-symbols", {
|
|
60
58
|
"imagery-layer-info-stretched": r
|
|
61
|
-
}))}>${this._renderPreview(e, r)}</div><div class=${
|
|
59
|
+
}))}>${this._renderPreview(e, r)}</div><div class=${n(g("layer-cell", "layer-cell-info", t))}>${d(this.messages, l, !1) || ""}</div></div>`;
|
|
62
60
|
}
|
|
63
61
|
_renderPreview(e, a) {
|
|
64
|
-
const { layer:
|
|
62
|
+
const { layer: i } = this;
|
|
65
63
|
if ("preview" in e && e.preview) {
|
|
66
|
-
const { preview:
|
|
67
|
-
return p(
|
|
64
|
+
const { preview: l } = e, r = "previewAriaLabel" in e ? e.previewAriaLabel : null, t = "label" in e ? d(this.messages, e.label, !1) : null;
|
|
65
|
+
return p(l, y(this.messages, r || t)), s`<div class="symbol">${l}</div>`;
|
|
68
66
|
}
|
|
69
|
-
return "src" in e && e.src ? this._renderImage(e,
|
|
67
|
+
return "src" in e && e.src ? this._renderImage(e, i, a) : null;
|
|
70
68
|
}
|
|
71
|
-
_renderImage(e, a,
|
|
72
|
-
const { previewAriaLabel:
|
|
73
|
-
"imagery-layer-stretched-image":
|
|
74
|
-
symbol: !
|
|
69
|
+
_renderImage(e, a, i) {
|
|
70
|
+
const { previewAriaLabel: l, src: r, opacity: t } = e, o = d(this.messages, e.label, !1), h = {
|
|
71
|
+
"imagery-layer-stretched-image": i,
|
|
72
|
+
symbol: !i
|
|
75
73
|
}, b = {
|
|
76
74
|
opacity: `${t ?? a.opacity}`
|
|
77
|
-
},
|
|
78
|
-
return s`<img alt=${
|
|
75
|
+
}, m = y(this.messages, l || o);
|
|
76
|
+
return s`<img alt=${m ?? c} .ariaLabel=${m} class=${n(g(h))} height=${e.height ?? void 0 ?? c} src=${r ?? c} style=${w(b)} width=${e.width ?? void 0 ?? c}>`;
|
|
79
77
|
}
|
|
80
78
|
}
|
|
81
79
|
v("arcgis-legend-classic-element", x);
|
|
@@ -9,7 +9,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
9
9
|
/**
|
|
10
10
|
* The Line Of Sight component is a 3D analysis tool that allows you to perform
|
|
11
11
|
* [line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
12
|
-
* in
|
|
12
|
+
* in an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/). Visibility between a given observer and multiple target points is calculated against the currently
|
|
13
13
|
* displayed content in the view, including the ground, integrated meshes, and 3D objects such as buildings or trees.
|
|
14
14
|
*
|
|
15
15
|
* 
|
|
@@ -26,7 +26,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
26
26
|
*
|
|
27
27
|
* **Known limitation**
|
|
28
28
|
*
|
|
29
|
-
* Line Of Sight is only supported in a 3D [
|
|
29
|
+
* Line Of Sight is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
30
30
|
*
|
|
31
31
|
* **See also**
|
|
32
32
|
*
|
|
@@ -57,9 +57,9 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
57
57
|
* The [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
58
58
|
* created or modified by the component.
|
|
59
59
|
*
|
|
60
|
-
* When connecting the Line Of Sight component to the [
|
|
60
|
+
* When connecting the Line Of Sight component to the [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
61
61
|
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
62
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
62
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
63
63
|
* You can then wait for the [LineOfSightAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/)
|
|
64
64
|
* to be created before accessing the analysis results.
|
|
65
65
|
*
|
|
@@ -207,7 +207,7 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
207
207
|
accessor view: SceneView | undefined;
|
|
208
208
|
/** Clear the current analysis results. After calling this method, the user can set a new observer and targets. */
|
|
209
209
|
clear(): Promise<void>;
|
|
210
|
-
/** After [stop()](
|
|
210
|
+
/** After [stop()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-line-of-sight/#stop) was called, this method allows to continue the line of sight analysis and add more targets. */
|
|
211
211
|
continue(): Promise<void>;
|
|
212
212
|
/** Permanently destroy the component. */
|
|
213
213
|
destroy(): Promise<void>;
|