@esri/calcite-components 5.2.0-next.18 → 5.2.0-next.19
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/{NVC4Y7T4.js → 2226Z5ZB.js} +1 -1
- package/dist/cdn/{BDGDPDVV.js → 22VJGO2W.js} +1 -1
- package/dist/cdn/{VHZB2PB5.js → 26GLUYTI.js} +1 -1
- package/dist/cdn/{IYTRLXAB.js → 2HH4AZL6.js} +1 -1
- package/dist/cdn/{JDMI7L3B.js → 2ZKUU3W3.js} +1 -1
- package/dist/cdn/{U265VDQL.js → 3HAZBPYO.js} +1 -1
- package/dist/cdn/{U3PEALKM.js → 3VVQ3TAN.js} +1 -1
- package/dist/cdn/{MMDUIXCY.js → 46SHLGAV.js} +1 -1
- package/dist/cdn/{6XJIWEWK.js → 4CR3VEWN.js} +1 -1
- package/dist/cdn/{JPB6GI3D.js → 4CU3L2BK.js} +1 -1
- package/dist/cdn/{ZAFZW542.js → 4UQUK5H5.js} +1 -1
- package/dist/cdn/{UCKDHXO6.js → 4XYFLH5N.js} +1 -1
- package/dist/cdn/{CLN5CN37.js → 52DNX7M4.js} +1 -1
- package/dist/cdn/{WULCVVUT.js → 5EPVEXN5.js} +1 -1
- package/dist/cdn/{BWOA2R7K.js → 5HJV4C6I.js} +1 -1
- package/dist/cdn/{X4M2MAGB.js → 5KFGBD3L.js} +1 -1
- package/dist/cdn/{7E5TIEWW.js → 5SZHCJF3.js} +1 -1
- package/dist/cdn/{66TIXUKZ.js → 64STUBCR.js} +1 -1
- package/dist/cdn/{VK3JOH4A.js → 6535AJAP.js} +1 -1
- package/dist/cdn/{Y773K7JU.js → 6DS7DLTH.js} +1 -1
- package/dist/cdn/{AW2JNNR4.js → 6HH4OD3T.js} +1 -1
- package/dist/cdn/{4GP6TAXB.js → 6TCPVIXI.js} +1 -1
- package/dist/cdn/{BLY4R5W6.js → 6XLBBFPU.js} +1 -1
- package/dist/cdn/{DZNW7UTU.js → 7IIK2BRX.js} +1 -1
- package/dist/cdn/{7JNLY4HM.js → 7Q6QTORU.js} +1 -1
- package/dist/cdn/{WCB4MZTL.js → 7YBOKKSF.js} +1 -1
- package/dist/cdn/{DY3KKYRE.js → AB5OWHWA.js} +1 -1
- package/dist/cdn/{PTMNJ42P.js → ARYDNRIC.js} +1 -1
- package/dist/cdn/{WHX2PPLS.js → AYTK7UBJ.js} +1 -1
- package/dist/cdn/{OI345FLZ.js → B45Y5WLA.js} +1 -1
- package/dist/cdn/{WOI3236M.js → BASPJGCI.js} +1 -1
- package/dist/cdn/{WPEUWJKE.js → BCBMA7AM.js} +1 -1
- package/dist/cdn/{4ZCZK72Y.js → C2CBAIHF.js} +1 -1
- package/dist/cdn/{SIKK7UA5.js → CAZWRZQT.js} +1 -1
- package/dist/cdn/{4YS5YNKT.js → CGVHF7OV.js} +1 -1
- package/dist/cdn/{DXKRVRLN.js → CHHJL7YK.js} +1 -1
- package/dist/cdn/{D47KWV7W.js → CI2SSXL5.js} +1 -1
- package/dist/cdn/{2HWRKMAA.js → CXC5GOJG.js} +1 -1
- package/dist/cdn/{PMKHZKUN.js → CZSJEJGU.js} +1 -1
- package/dist/cdn/{W25HYUBT.js → D755LREJ.js} +1 -1
- package/dist/cdn/{WEEI6EKR.js → DAOCGZLW.js} +1 -1
- package/dist/cdn/{VHAVU7MI.js → DF4NQ4TU.js} +1 -1
- package/dist/cdn/{ZDGLUTPC.js → DTJ2YUAZ.js} +1 -1
- package/dist/cdn/{B4VQMW6S.js → E35DDE4U.js} +1 -1
- package/dist/cdn/{M723D5MX.js → E4WNKDJW.js} +1 -1
- package/dist/cdn/{KOH5XP44.js → ECBQFRDK.js} +1 -1
- package/dist/cdn/{X3DYPOR7.js → EL3ENUXK.js} +1 -1
- package/dist/cdn/{ROKJQZAL.js → EZCT4NMV.js} +1 -1
- package/dist/cdn/{CBBO5C4D.js → F2LXWJIR.js} +1 -1
- package/dist/cdn/{W3KZMB45.js → FDEXSXZR.js} +1 -1
- package/dist/cdn/{LLNBAA6Z.js → FV5W3TAQ.js} +1 -1
- package/dist/cdn/{FY4JRD6Z.js → G5BLLGJN.js} +1 -1
- package/dist/cdn/{Z2R7NG2Y.js → G6VDKMXK.js} +1 -1
- package/dist/cdn/{OLB32C3K.js → GEOTX77U.js} +1 -1
- package/dist/cdn/{HB4IMRSW.js → GL3PK7OW.js} +1 -1
- package/dist/cdn/{GSTSH45B.js → GL5TQY5X.js} +1 -1
- package/dist/cdn/{JZCYPF7M.js → GO654TCM.js} +1 -1
- package/dist/cdn/{OVNOBXYH.js → GW2PNYS5.js} +1 -1
- package/dist/cdn/{Z6SMBXYE.js → GYGZ2477.js} +1 -1
- package/dist/cdn/{MC36JUZR.js → GZMMX4RA.js} +1 -1
- package/dist/cdn/{WRB3PM5B.js → HNRD7JSV.js} +1 -1
- package/dist/cdn/{7VP33ZLQ.js → HVAK7IID.js} +1 -1
- package/dist/cdn/{J3PDNDDA.js → I2OZLOYY.js} +1 -1
- package/dist/cdn/{2KXWVK5R.js → IF7BD6AO.js} +1 -1
- package/dist/cdn/{X2VN4Z5V.js → IWAGZM55.js} +1 -1
- package/dist/cdn/{3AKXMU5G.js → JBYBCHEV.js} +1 -1
- package/dist/cdn/{HUEEU253.js → JPB6R5RM.js} +1 -1
- package/dist/cdn/{TYYIW6LT.js → JU3FPMQO.js} +1 -1
- package/dist/cdn/{6X2WSMZ5.js → JYMBEBDX.js} +1 -1
- package/dist/cdn/{AEZPF54J.js → JZBXBIZV.js} +1 -1
- package/dist/cdn/{E2BUHHZS.js → KBAI7S7A.js} +1 -1
- package/dist/cdn/{RBYGDWFZ.js → KEF67DIL.js} +1 -1
- package/dist/cdn/{WFNJV7IH.js → KI5BUV2W.js} +1 -1
- package/dist/cdn/KJSR54C2.js +2 -0
- package/dist/cdn/{GYJCECNX.js → KK2BPQ7C.js} +1 -1
- package/dist/cdn/{ZBURBVQW.js → KLTDMVPO.js} +1 -1
- package/dist/cdn/{FSQUOQNG.js → KMNTB5OF.js} +1 -1
- package/dist/cdn/{7PT2HEYK.js → KQ4SC5PI.js} +1 -1
- package/dist/cdn/{6R6GTKYT.js → KTULZQDQ.js} +1 -1
- package/dist/cdn/{FDSU3JQZ.js → KW4PFRD3.js} +1 -1
- package/dist/cdn/{PCKRHASB.js → KX4ILPBJ.js} +1 -1
- package/dist/cdn/{S3WZTYTS.js → L7JLFJC2.js} +1 -1
- package/dist/cdn/{D6GFNLFZ.js → LAJ362RH.js} +1 -1
- package/dist/cdn/{63ZJIDQB.js → LNXFC7CU.js} +1 -1
- package/dist/cdn/{AZFJU6IP.js → LS54U6QE.js} +1 -1
- package/dist/cdn/{NOJZLZ2S.js → LYTUCNOS.js} +1 -1
- package/dist/cdn/{NXLRHGGA.js → M3ARPOLW.js} +1 -1
- package/dist/cdn/{WYN26COG.js → M4IA2PKY.js} +1 -1
- package/dist/cdn/{7VKL5SMS.js → MBSET25S.js} +1 -1
- package/dist/cdn/{QXNE3FI6.js → MEKCDNIB.js} +1 -1
- package/dist/cdn/{NMYHYOYP.js → MI5XNTPV.js} +1 -1
- package/dist/cdn/{H6C2WKYJ.js → MIY66FBD.js} +1 -1
- package/dist/cdn/{PXYDK2MR.js → MJUPPO3D.js} +1 -1
- package/dist/cdn/{WJXOPH7K.js → MKTARVG2.js} +1 -1
- package/dist/cdn/{TL4SKOYR.js → N4HON3SA.js} +1 -1
- package/dist/cdn/{ZS4TG5RD.js → N6KJP35O.js} +1 -1
- package/dist/cdn/{NXL5U2GC.js → NGFHISGP.js} +1 -1
- package/dist/cdn/{GGG5VD7I.js → NOE7WR54.js} +1 -1
- package/dist/cdn/{ZV45INOM.js → NXQOUNHW.js} +1 -1
- package/dist/cdn/{WD6X4OSZ.js → OGNZJQ6R.js} +1 -1
- package/dist/cdn/{MC4RBKB4.js → OQ3DNWA3.js} +1 -1
- package/dist/cdn/{CF4EUVWG.js → OW753PE2.js} +1 -1
- package/dist/cdn/{S7MMMYVR.js → OYTXSHHU.js} +1 -1
- package/dist/cdn/{L5F3IADW.js → P5IPKDKY.js} +1 -1
- package/dist/cdn/{YOVWDJJ6.js → P7EV57GM.js} +1 -1
- package/dist/cdn/{LV77PJ5S.js → PBM6JCXW.js} +1 -1
- package/dist/cdn/{KFZUOOJM.js → PL7XLTLQ.js} +1 -1
- package/dist/cdn/{244JKBVF.js → PNIBP4XR.js} +1 -1
- package/dist/cdn/{HLOVDE25.js → PPHP5W2R.js} +1 -1
- package/dist/cdn/{EEXZCUXB.js → PRNB7SQ7.js} +1 -1
- package/dist/cdn/{OF5OJ6W2.js → R3IXJZ6W.js} +1 -1
- package/dist/cdn/{WVBJFYVZ.js → RH4GHXJC.js} +1 -1
- package/dist/cdn/{DNBT6WDR.js → RHARSTJK.js} +1 -1
- package/dist/cdn/{AXG3VSQ6.js → RLCPPZ3K.js} +1 -1
- package/dist/cdn/{Q47SQGAQ.js → S3EELLOI.js} +1 -1
- package/dist/cdn/{4JD3CHXN.js → TBA3VURN.js} +1 -1
- package/dist/cdn/{YIEYEQ3Z.js → TPVJLT4V.js} +1 -1
- package/dist/cdn/{7DKQWZLO.js → TTVVO25A.js} +1 -1
- package/dist/cdn/{SKDGAPNI.js → UFL32ZND.js} +1 -1
- package/dist/cdn/{K2W3MKF3.js → UIH2WDJO.js} +1 -1
- package/dist/cdn/{BUSQG554.js → UIOA2S5T.js} +1 -1
- package/dist/cdn/{FTIU6FYM.js → UKOJUR6F.js} +1 -1
- package/dist/cdn/{G7KAUO2G.js → V5FSH6ML.js} +1 -1
- package/dist/cdn/{IUPMMDTD.js → VALLFKTY.js} +1 -1
- package/dist/cdn/{SC4SRDST.js → VIGGAMGN.js} +1 -1
- package/dist/cdn/{DAYLBQID.js → VKE2D4SH.js} +1 -1
- package/dist/cdn/{P7FRWWUA.js → VMB4E6MY.js} +1 -1
- package/dist/cdn/{UKIH3ENO.js → WGSJDUKO.js} +1 -1
- package/dist/cdn/{IQXDPLHG.js → X5BHOA3P.js} +1 -1
- package/dist/cdn/{43UQRDUP.js → X5XO4MMT.js} +1 -1
- package/dist/cdn/{AK2BNXU5.js → XDAMIGLC.js} +1 -1
- package/dist/cdn/{ZHMODJZN.js → XRBMOY2C.js} +1 -1
- package/dist/cdn/{67C3XP73.js → XTPRX53U.js} +1 -1
- package/dist/cdn/{YM2XH3OQ.js → XTWCGKQF.js} +1 -1
- package/dist/cdn/{OPXBR7HS.js → XUL6WHPW.js} +1 -1
- package/dist/cdn/{2AGAJJIB.js → XVWJQ5LK.js} +1 -1
- package/dist/cdn/{7JOCL5OG.js → Y6XI63ZP.js} +1 -1
- package/dist/cdn/{4QJ6NOHG.js → YDWYZEE4.js} +1 -1
- package/dist/cdn/{32GEN77J.js → YELZFDKL.js} +1 -1
- package/dist/cdn/{CQMPIJ3E.js → YOJVFY2W.js} +1 -1
- package/dist/cdn/{RUUFFFOK.js → YSGRIPHM.js} +1 -1
- package/dist/cdn/{KV7LRXYH.js → ZJQFM5NW.js} +1 -1
- package/dist/cdn/{NS3N2EV5.js → ZJXKPPDQ.js} +1 -1
- package/dist/cdn/{KY6MSZKV.js → ZQ6FBHCB.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +3 -3
- package/dist/components/calcite-action/customElement.d.ts +1 -0
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +2 -2
- package/dist/cdn/RAFFL26S.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as N}from"./PCKRHASB.js";import{a as S}from"./X3DYPOR7.js";import{a as H,b as U}from"./GYJCECNX.js";import{a as z}from"./244JKBVF.js";import{c as m,d as F,e as O,f as $,g as L,h as T,i as v}from"./X4M2MAGB.js";import{a as D}from"./NVC4Y7T4.js";import{a as B}from"./QXNE3FI6.js";import"./BDGDPDVV.js";import{a as l}from"./WULCVVUT.js";import"./OIO5CL6R.js";import"./GZZYSINJ.js";import"./YP3AYJH3.js";import{a as k}from"./VI7SBYXT.js";import{a as E}from"./NOJZLZ2S.js";import{a as P}from"./Z2R7NG2Y.js";import"./ZWPNZ5XW.js";import{e as C}from"./63ZJIDQB.js";import"./VHAVU7MI.js";import"./S3WZTYTS.js";import{E as y,F as u,G as x,H as o,S as w,g as b,h as n,p as r}from"./GGG5VD7I.js";var i={positionContainer:"position-container",container:"container",closeButtonContainer:"close-button-container",closeButton:"close-button",content:"content",hasHeader:"has-header",header:"header",headerContainer:"header-container",heading:"heading"},A="auto",_=b`:host{display:contents}:host([top-layer-disabled]){--calcite-floating-ui-z-index: var(--calcite-z-index-popup)}.position-container{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}@starting-style{.position-container{opacity:0;inset-block-start:0;left:0}}.position-container{max-inline-size:var(--calcite-popover-max-size-x, 100vw)}.position-container[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.position-container:popover-open{display:block}.position-container .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.position-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.position-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.position-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.position-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}:host([scale=s]) .heading{padding:.5rem .75rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host(:is([scale=s],[scale=m])){--calcite-internal-popover-close-spacing: var(--calcite-spacing-xs)}:host([scale=m]) .heading{padding:.75rem 1rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]){--calcite-internal-popover-close-spacing: var(--calcite-spacing-sm)}:host([scale=l]) .heading{padding:1rem 1.25rem;font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-relative-snug)}.position-container .calcite-floating-ui-anim{border-width:1px;border-style:solid;box-shadow:var(--calcite-shadow-md);background-color:var(--calcite-popover-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-popover-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-popover-corner-radius, var(--calcite-corner-radius-round))}.calcite-floating-ui-arrow{fill:var(--calcite-popover-background-color, var(--calcite-color-foreground-1))}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-popover-border-color, var(--calcite-color-border-3))}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-bottom-width:1px;border-style:solid;border-block-end-color:var(--calcite-popover-border-color, var(--calcite-color-border-3))}.heading{margin:0;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;color:var(--calcite-popover-text-color, var(--calcite-color-text-1))}.header-container{position:relative;display:flex;height:100%;flex-direction:row;flex-wrap:nowrap;border-radius:.25rem;color:var(--calcite-popover-text-color, var(--calcite-color-text-1))}.header-container.has-header{flex-direction:column}.content{display:flex;height:100%;width:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button{margin:auto;margin-inline-end:var(--calcite-internal-popover-close-spacing)}.close-button-container{display:flex;flex:0 0 auto}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}:host([hidden]){display:none}[hidden]{display:none}`,I=U({click:!0}),g=class extends x{constructor(){super(...arguments),this.referenceElementType="click",this.referenceElementController=H({manager:I})(this),this.direction=C(),this.focusTrap=S({triggerProp:"open",focusTrapOptions:{allowOutsideClick:!0,escapeDeactivates:e=>(e.defaultPrevented||(this.open=!1,e.preventDefault()),!1)}})(this),this.mutationObserver=k("mutation",()=>this.focusTrap.updateContainerElements()),this.transitionProp="opacity",this.transitionRef=y(),this.messages=E(),this.focusSetter=P()(this),this.topLayer=z({disabledOverride:()=>this.open&&!this.referenceEl,target:()=>this.floatingEl})(this),this.floatingLayout="vertical",this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.offsetDistance=v,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement=A,this.pointerDisabled=!1,this.scale="m",this.topLayerDisabled=!1,this.triggerDisabled=!1,this.calcitePopoverBeforeClose=r({cancelable:!1}),this.calcitePopoverBeforeOpen=r({cancelable:!1}),this.calcitePopoverClose=r({cancelable:!1}),this.calcitePopoverOpen=r({cancelable:!1})}static{this.properties={floatingLayout:[16,{},{state:!0}],referenceEl:[16,{},{state:!0}],autoClose:[7,{},{reflect:!0,type:Boolean}],closable:[7,{},{reflect:!0,type:Boolean}],flipDisabled:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],focusTrapDisabled:[7,{},{reflect:!0,type:Boolean}],focusTrapOptions:[0,{},{attribute:!1}],heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],label:1,messageOverrides:[0,{},{attribute:!1}],offsetDistance:[11,{},{type:Number,reflect:!0}],offsetSkidding:[11,{},{reflect:!0,type:Number}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],pointerDisabled:[7,{},{reflect:!0,type:Boolean}],referenceElement:1,scale:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],triggerDisabled:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=_}async reposition(e=!1){let{referenceEl:t,placement:a,overlayPositioning:c,flipDisabled:p,filteredFlipPlacements:d,offsetDistance:s,offsetSkidding:f,arrowEl:h,floatingEl:R}=this;return O(this,{direction:this.direction,floatingEl:R,referenceEl:t,overlayPositioning:c,placement:a,flipDisabled:p,flipPlacements:d,offsetDistance:s,offsetSkidding:f,arrowEl:h,type:"popover"},e)}async setFocus(e){return this.focusSetter(()=>this.el,e)}async updateFocusTrapElements(e){this.focusTrap.setExtraContainers(e),this.focusTrap.updateContainerElements()}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements()}willUpdate(e){e.has("flipPlacements")&&this.flipPlacementsHandler(),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),(e.has("offsetDistance")&&(this.hasUpdated||this.offsetDistance!==v)||e.has("offsetSkidding")&&(this.hasUpdated||this.offsetSkidding!==0)||e.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||e.has("placement")&&(this.hasUpdated||this.placement!==A))&&this.reposition(!0),e.has("referenceElement")&&!this.referenceElement&&this.open&&this.topLayer.hide()}updated(e){e.has("referenceEl")&&L(this)}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),T(this)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}openHandler(){D(this),this.reposition(!0)}setFloatingEl(e){this.floatingEl=e}setFilteredPlacements(){let{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?F(t,e):void 0}hide(){this.open=!1}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit(),this.topLayer.show()}onOpen(){this.calcitePopoverOpen.emit(),this.focusTrap.activate()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),$(this),this.focusTrap.deactivate(),this.topLayer.hide()}setArrowEl(e){this.arrowEl=e,this.reposition(!0)}renderCloseButton(){let{messages:e,closable:t}=this;return t?l(i.closeButtonContainer,n`<div class=${o(i.closeButtonContainer)}><calcite-action class=${o(i.closeButton)} icon=x @click=${this.hide} .scale=${this.scale} .text=${e.close}></calcite-action></div>`):null}renderHeader(){let{heading:e,headingLevel:t}=this,a=e?B({class:i.heading,level:t,children:e}):null;return a?l(i.header,n`<div class=${o(i.header)}>${a}${this.renderCloseButton()}</div>`):null}render(){let{referenceEl:e,heading:t,label:a,open:c,pointerDisabled:p,floatingLayout:d}=this,s=e&&c,f=!s,h=p?null:l("floating-arrow",N({floatingLayout:d,ref:this.setArrowEl}));return this.el.inert=f,this.el.ariaLabel=a,this.el.ariaLive="polite",this.el.role="dialog",n`<div class=${o(i.positionContainer)} popover=manual ${u(this.setFloatingEl)}><div class=${o({[i.container]:!0,[m.animation]:!0,[m.animationActive]:s})} ${u(this.transitionRef)}>${h}<div class=${o({[i.hasHeader]:!!t,[i.headerContainer]:!0})}>${this.renderHeader()}<div class=${o(i.content)}><slot></slot></div>${t?null:this.renderCloseButton()}</div></div></div>`}};w("calcite-popover",g);export{g as Popover};
|
|
2
|
+
import{a as N}from"./KX4ILPBJ.js";import{a as S}from"./EL3ENUXK.js";import{a as H,b as U}from"./KK2BPQ7C.js";import{a as z}from"./PNIBP4XR.js";import{c as m,d as F,e as O,f as $,g as L,h as T,i as v}from"./5KFGBD3L.js";import{a as D}from"./2226Z5ZB.js";import{a as B}from"./MEKCDNIB.js";import"./22VJGO2W.js";import{a as l}from"./5EPVEXN5.js";import"./OIO5CL6R.js";import"./GZZYSINJ.js";import"./YP3AYJH3.js";import{a as k}from"./VI7SBYXT.js";import{a as E}from"./LYTUCNOS.js";import{a as P}from"./G6VDKMXK.js";import"./ZWPNZ5XW.js";import{e as C}from"./LNXFC7CU.js";import"./DF4NQ4TU.js";import"./L7JLFJC2.js";import{E as y,F as u,G as x,H as o,S as w,g as b,h as n,p as r}from"./NOE7WR54.js";var i={positionContainer:"position-container",container:"container",closeButtonContainer:"close-button-container",closeButton:"close-button",content:"content",hasHeader:"has-header",header:"header",headerContainer:"header-container",heading:"heading"},A="auto",_=b`:host{display:contents}:host([top-layer-disabled]){--calcite-floating-ui-z-index: var(--calcite-z-index-popup)}.position-container{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}@starting-style{.position-container{opacity:0;inset-block-start:0;left:0}}.position-container{max-inline-size:var(--calcite-popover-max-size-x, 100vw)}.position-container[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.position-container:popover-open{display:block}.position-container .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.position-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.position-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.position-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.position-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}:host([scale=s]) .heading{padding:.5rem .75rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host(:is([scale=s],[scale=m])){--calcite-internal-popover-close-spacing: var(--calcite-spacing-xs)}:host([scale=m]) .heading{padding:.75rem 1rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]){--calcite-internal-popover-close-spacing: var(--calcite-spacing-sm)}:host([scale=l]) .heading{padding:1rem 1.25rem;font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-relative-snug)}.position-container .calcite-floating-ui-anim{border-width:1px;border-style:solid;box-shadow:var(--calcite-shadow-md);background-color:var(--calcite-popover-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-popover-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-popover-corner-radius, var(--calcite-corner-radius-round))}.calcite-floating-ui-arrow{fill:var(--calcite-popover-background-color, var(--calcite-color-foreground-1))}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-popover-border-color, var(--calcite-color-border-3))}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-bottom-width:1px;border-style:solid;border-block-end-color:var(--calcite-popover-border-color, var(--calcite-color-border-3))}.heading{margin:0;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;color:var(--calcite-popover-text-color, var(--calcite-color-text-1))}.header-container{position:relative;display:flex;height:100%;flex-direction:row;flex-wrap:nowrap;border-radius:.25rem;color:var(--calcite-popover-text-color, var(--calcite-color-text-1))}.header-container.has-header{flex-direction:column}.content{display:flex;height:100%;width:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button{margin:auto;margin-inline-end:var(--calcite-internal-popover-close-spacing)}.close-button-container{display:flex;flex:0 0 auto}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}:host([hidden]){display:none}[hidden]{display:none}`,I=U({click:!0}),g=class extends x{constructor(){super(...arguments),this.referenceElementType="click",this.referenceElementController=H({manager:I})(this),this.direction=C(),this.focusTrap=S({triggerProp:"open",focusTrapOptions:{allowOutsideClick:!0,escapeDeactivates:e=>(e.defaultPrevented||(this.open=!1,e.preventDefault()),!1)}})(this),this.mutationObserver=k("mutation",()=>this.focusTrap.updateContainerElements()),this.transitionProp="opacity",this.transitionRef=y(),this.messages=E(),this.focusSetter=P()(this),this.topLayer=z({disabledOverride:()=>this.open&&!this.referenceEl,target:()=>this.floatingEl})(this),this.floatingLayout="vertical",this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.offsetDistance=v,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement=A,this.pointerDisabled=!1,this.scale="m",this.topLayerDisabled=!1,this.triggerDisabled=!1,this.calcitePopoverBeforeClose=r({cancelable:!1}),this.calcitePopoverBeforeOpen=r({cancelable:!1}),this.calcitePopoverClose=r({cancelable:!1}),this.calcitePopoverOpen=r({cancelable:!1})}static{this.properties={floatingLayout:[16,{},{state:!0}],referenceEl:[16,{},{state:!0}],autoClose:[7,{},{reflect:!0,type:Boolean}],closable:[7,{},{reflect:!0,type:Boolean}],flipDisabled:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],focusTrapDisabled:[7,{},{reflect:!0,type:Boolean}],focusTrapOptions:[0,{},{attribute:!1}],heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],label:1,messageOverrides:[0,{},{attribute:!1}],offsetDistance:[11,{},{type:Number,reflect:!0}],offsetSkidding:[11,{},{reflect:!0,type:Number}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],pointerDisabled:[7,{},{reflect:!0,type:Boolean}],referenceElement:1,scale:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],triggerDisabled:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=_}async reposition(e=!1){let{referenceEl:t,placement:a,overlayPositioning:c,flipDisabled:p,filteredFlipPlacements:d,offsetDistance:s,offsetSkidding:f,arrowEl:h,floatingEl:R}=this;return O(this,{direction:this.direction,floatingEl:R,referenceEl:t,overlayPositioning:c,placement:a,flipDisabled:p,flipPlacements:d,offsetDistance:s,offsetSkidding:f,arrowEl:h,type:"popover"},e)}async setFocus(e){return this.focusSetter(()=>this.el,e)}async updateFocusTrapElements(e){this.focusTrap.setExtraContainers(e),this.focusTrap.updateContainerElements()}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements()}willUpdate(e){e.has("flipPlacements")&&this.flipPlacementsHandler(),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),(e.has("offsetDistance")&&(this.hasUpdated||this.offsetDistance!==v)||e.has("offsetSkidding")&&(this.hasUpdated||this.offsetSkidding!==0)||e.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||e.has("placement")&&(this.hasUpdated||this.placement!==A))&&this.reposition(!0),e.has("referenceElement")&&!this.referenceElement&&this.open&&this.topLayer.hide()}updated(e){e.has("referenceEl")&&L(this)}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),T(this)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}openHandler(){D(this),this.reposition(!0)}setFloatingEl(e){this.floatingEl=e}setFilteredPlacements(){let{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?F(t,e):void 0}hide(){this.open=!1}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit(),this.topLayer.show()}onOpen(){this.calcitePopoverOpen.emit(),this.focusTrap.activate()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),$(this),this.focusTrap.deactivate(),this.topLayer.hide()}setArrowEl(e){this.arrowEl=e,this.reposition(!0)}renderCloseButton(){let{messages:e,closable:t}=this;return t?l(i.closeButtonContainer,n`<div class=${o(i.closeButtonContainer)}><calcite-action class=${o(i.closeButton)} icon=x @click=${this.hide} .scale=${this.scale} .text=${e.close}></calcite-action></div>`):null}renderHeader(){let{heading:e,headingLevel:t}=this,a=e?B({class:i.heading,level:t,children:e}):null;return a?l(i.header,n`<div class=${o(i.header)}>${a}${this.renderCloseButton()}</div>`):null}render(){let{referenceEl:e,heading:t,label:a,open:c,pointerDisabled:p,floatingLayout:d}=this,s=e&&c,f=!s,h=p?null:l("floating-arrow",N({floatingLayout:d,ref:this.setArrowEl}));return this.el.inert=f,this.el.ariaLabel=a,this.el.ariaLive="polite",this.el.role="dialog",n`<div class=${o(i.positionContainer)} popover=manual ${u(this.setFloatingEl)}><div class=${o({[i.container]:!0,[m.animation]:!0,[m.animationActive]:s})} ${u(this.transitionRef)}>${h}<div class=${o({[i.hasHeader]:!!t,[i.headerContainer]:!0})}>${this.renderHeader()}<div class=${o(i.content)}><slot></slot></div>${t?null:this.renderCloseButton()}</div></div></div>`}};w("calcite-popover",g);export{g as Popover};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as i,b as m,c as o}from"./
|
|
2
|
+
import{a as i,b as m,c as o}from"./22VJGO2W.js";import{a as r}from"./5EPVEXN5.js";import{H as t}from"./NOE7WR54.js";var p=({children:e,class:n,hidden:c=!1,key:f,level:a})=>{let s=a?i(`h${a}`):m`div`;return r(f,o`<${s} class=${t(n)} .hidden=${c}>${e}</${s}>`)};export{p as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{b as z}from"./GZZYSINJ.js";import{a as I}from"./
|
|
2
|
+
import{b as z}from"./GZZYSINJ.js";import{a as I}from"./B45Y5WLA.js";import{a as y}from"./VI7SBYXT.js";import{e as C}from"./LNXFC7CU.js";import"./DF4NQ4TU.js";import{G as b,H as g,S as v,T as x,g as u,h as m,i as p,l as h}from"./NOE7WR54.js";var $={flipRtl:"flip-rtl",svg:"svg"},D={},d={},k={s:16,m:24,l:32};function w({icon:e,scale:t}){let i=k[t],s=U(e),n=s.charAt(s.length-1)==="F";return`${n?s.substring(0,s.length-1):s}${i}${n?"F":""}`}async function O(e){let t=w(e),i=N(t);if(i)return i;d[t]||(d[t]=fetch(x(`./assets/icon/${t}.json`)).then(n=>n.json()).catch(()=>(I.error(`${e.icon} (${e.scale}) icon failed to load`),"")));let s=await d[t];return D[t]=s,s}function A(e){return N(w(e))}function N(e){return D[e]}function U(e){let t=!isNaN(Number(e.charAt(0))),i=e.split("-");if(i.length>0){let n=/[a-z]/i;e=i.map((o,a)=>o.replace(n,function(l,r){return a===0&&r===0?l:l.toUpperCase()})).join("")}return t?`i${e}`:e}var B=u`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`,f=class extends b{constructor(){super(...arguments),this.direction=C(),this.visible=!1,this.flipRtl=!1,this.icon=null,this.preload=!1,this.scale="m"}static{this.properties={pathData:[16,{},{state:!0}],visible:[16,{},{state:!0}],flipRtl:[7,{},{reflect:!0,type:Boolean}],icon:[3,{type:String},{reflect:!0}],preload:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],textLabel:1}}static{this.styles=B}connectedCallback(){if(super.connectedCallback(),this.preload){this.visible=!0,this.loadIconPathData();return}this.visible||this.waitUntilVisible(()=>{this.visible=!0,this.loadIconPathData()})}willUpdate(t){(t.has("icon")&&(this.hasUpdated||this.icon!==null)||t.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.loadIconPathData()}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver?.disconnect(),this.intersectionObserver=void 0}async loadIconPathData(){let{icon:t,scale:i,visible:s}=this;if(!t||!s)return;let n={icon:t,scale:i},o=A(n)||await O(n);t===this.icon&&(this.pathData=o)}waitUntilVisible(t){if(this.intersectionObserver=y("intersection",i=>{i.forEach(s=>{s.isIntersecting&&(this.intersectionObserver?.disconnect(),this.intersectionObserver=void 0,t())})},{rootMargin:"50px"}),!this.intersectionObserver){t();return}this.intersectionObserver.observe(this.el)}render(){let{flipRtl:t,pathData:i,scale:s,textLabel:n}=this,o=this.direction,a=k[s],c=!!n,l=Array.isArray(i)?i:[i??""];return this.el.ariaHidden=z(!c),this.el.ariaLabel=c?n:null,this.el.role=c?"img":null,m`<svg aria-hidden=true class=${g({[$.flipRtl]:o==="rtl"&&t,[$.svg]:!0})} fill=currentColor height=100% viewBox=${`0 0 ${a} ${a}`} width=100% xmlns=http://www.w3.org/2000/svg>${l.map(r=>typeof r=="string"?p`<path d=${r??h} />`:p`<path d=${r.d??h} opacity=${("opacity"in r?r.opacity:1)??h} />`)}</svg>`}};v("calcite-icon",f);export{f as Icon};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{A,B as D,C as y,k as P,v as k,w,x as V,y as m,z as h}from"./
|
|
2
|
+
import{A,B as D,C as y,k as P,v as k,w,x as V,y as m,z as h}from"./NOE7WR54.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
|